myrta-ui 1.0.78 → 1.0.80
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/esm2020/lib/components/alert/alert.component.mjs +45 -0
- package/esm2020/lib/components/alert/alert.enum.mjs +15 -0
- package/esm2020/lib/components/alert/alert.module.mjs +19 -0
- package/esm2020/lib/components/badges/badge.enum.mjs +32 -0
- package/esm2020/lib/components/badges/badges.module.mjs +32 -0
- package/esm2020/lib/components/badges/components/badge/badge.component.mjs +61 -0
- package/esm2020/lib/components/badges/components/badge-group/badge-group.component.mjs +11 -0
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.component.mjs +29 -0
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.enum.mjs +6 -0
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.module.mjs +27 -0
- package/esm2020/lib/components/button/button.component.mjs +102 -0
- package/esm2020/lib/components/button/button.enum.mjs +29 -0
- package/esm2020/lib/components/button/button.module.mjs +21 -0
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +28 -0
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +95 -0
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +21 -0
- package/esm2020/lib/components/cdk-tooltip/constants/index.mjs +70 -0
- package/esm2020/lib/components/cdk-tooltip/models/tooltip-data.mjs +2 -0
- package/esm2020/lib/components/chars-left/chars-left.component.mjs +26 -0
- package/esm2020/lib/components/chars-left/chars-left.module.mjs +19 -0
- package/esm2020/lib/components/context-menu/components/context-menu/context-menu.component.mjs +121 -0
- package/esm2020/lib/components/context-menu/components/context-menu-content/context-menu-content.component.mjs +343 -0
- package/esm2020/lib/components/context-menu/context-menu.module.mjs +51 -0
- package/esm2020/lib/components/context-menu/context-menu.options.mjs +2 -0
- package/esm2020/lib/components/context-menu/context-menu.tokens.mjs +3 -0
- package/esm2020/lib/components/context-menu/directives/context-menu/context-menu.directive.mjs +36 -0
- package/esm2020/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.mjs +61 -0
- package/esm2020/lib/components/context-menu/models/context-menu.enum.mjs +2 -0
- package/esm2020/lib/components/context-menu/services/context-menu/context-menu-fixed.service.mjs +103 -0
- package/esm2020/lib/components/context-menu/services/context-menu/context-menu.service.mjs +223 -0
- package/esm2020/lib/components/dropdown/directives/hide-after-click.directive.mjs +23 -0
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +104 -0
- package/esm2020/lib/components/dropdown/dropdown.module.mjs +21 -0
- package/esm2020/lib/components/error-message/error-message.component.mjs +34 -0
- package/esm2020/lib/components/error-message/error-message.module.mjs +19 -0
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +150 -0
- package/esm2020/lib/components/form/checkbox/checkbox.enum.mjs +5 -0
- package/esm2020/lib/components/form/checkbox/checkbox.module.mjs +22 -0
- package/esm2020/lib/components/form/checkbox-group/checkbox-group.component.mjs +178 -0
- package/esm2020/lib/components/form/checkbox-group/checkbox-group.module.mjs +49 -0
- package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +49 -0
- package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +103 -0
- package/esm2020/lib/components/form/checkbox-group/helpers/change-group-value.mjs +20 -0
- package/esm2020/lib/components/form/checkbox-group/helpers/change-item-value.mjs +15 -0
- package/esm2020/lib/components/form/checkbox-group/helpers/filter-search-group.mjs +27 -0
- package/esm2020/lib/components/form/checkbox-group/helpers/get-checked-items.mjs +20 -0
- package/esm2020/lib/components/form/checkbox-group/helpers/get-item-by-id.mjs +11 -0
- package/esm2020/lib/components/form/checkbox-group/helpers/get-sorted-list.mjs +50 -0
- package/esm2020/lib/components/form/checkbox-group/models/checkbox-group.model.mjs +2 -0
- package/esm2020/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.mjs +33 -0
- package/esm2020/lib/components/form/document-editor/document-editor.component.mjs +105 -0
- package/esm2020/lib/components/form/document-editor/document-editor.module.mjs +44 -0
- package/esm2020/lib/components/form/document-editor/helpers/transform-sysname.mjs +41 -0
- package/esm2020/lib/components/form/document-editor/models/document-editor-short-codes.enum.mjs +2 -0
- package/esm2020/lib/components/form/editor/config/default-inline-style.mjs +6 -0
- package/esm2020/lib/components/form/editor/config/index.mjs +2 -0
- package/esm2020/lib/components/form/editor/config/popups-toolbar.mjs +9 -0
- package/esm2020/lib/components/form/editor/config/toolbar.mjs +72 -0
- package/esm2020/lib/components/form/editor/editor.component.mjs +253 -0
- package/esm2020/lib/components/form/editor/editor.enum.mjs +2 -0
- package/esm2020/lib/components/form/editor/editor.module.mjs +47 -0
- package/esm2020/lib/components/form/editor/models/toolbar.model.mjs +2 -0
- package/esm2020/lib/components/form/editor/modules/change-icon-module.mjs +92 -0
- package/esm2020/lib/components/form/input-date-time/constants/value-models.mjs +14 -0
- package/esm2020/lib/components/form/input-date-time/enum/timezone.mjs +7 -0
- package/esm2020/lib/components/form/input-date-time/helpers/clean-date.mjs +5 -0
- package/esm2020/lib/components/form/input-date-time/helpers/cursor-position.mjs +23 -0
- package/esm2020/lib/components/form/input-date-time/helpers/formatting-from-models.mjs +10 -0
- package/esm2020/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +10 -0
- package/esm2020/lib/components/form/input-date-time/helpers/validate-value-models.mjs +60 -0
- package/esm2020/lib/components/form/input-date-time/helpers/value-parser.mjs +39 -0
- package/esm2020/lib/components/form/input-date-time/input-date-time.component.mjs +381 -0
- package/esm2020/lib/components/form/input-date-time/input-date-time.enum.mjs +7 -0
- package/esm2020/lib/components/form/input-date-time/input-date-time.module.mjs +48 -0
- package/esm2020/lib/components/form/input-datepicker/constants/value-models.mjs +15 -0
- package/esm2020/lib/components/form/input-datepicker/helpers/clean-date.mjs +5 -0
- package/esm2020/lib/components/form/input-datepicker/helpers/cursor-position.mjs +23 -0
- package/esm2020/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.mjs +10 -0
- package/esm2020/lib/components/form/input-datepicker/helpers/get-date-object.mjs +10 -0
- package/esm2020/lib/components/form/input-datepicker/helpers/validate-value-models.mjs +74 -0
- package/esm2020/lib/components/form/input-datepicker/helpers/value-parser.mjs +47 -0
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.component.mjs +354 -0
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.enum.mjs +7 -0
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.module.mjs +48 -0
- package/esm2020/lib/components/form/input-file/enums/error-messages.enum.mjs +8 -0
- package/esm2020/lib/components/form/input-file/input-file.component.mjs +363 -0
- package/esm2020/lib/components/form/input-file/input-file.enum.mjs +8 -0
- package/esm2020/lib/components/form/input-file/input-file.module.mjs +26 -0
- package/esm2020/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +66 -0
- package/esm2020/lib/components/form/input-file-image/input-file-image.component.mjs +354 -0
- package/esm2020/lib/components/form/input-file-image/input-file-image.enum.mjs +10 -0
- package/esm2020/lib/components/form/input-file-image/input-file-image.module.mjs +60 -0
- package/esm2020/lib/components/form/input-number/input-number.component.mjs +258 -0
- package/esm2020/lib/components/form/input-number/input-number.enum.mjs +7 -0
- package/esm2020/lib/components/form/input-number/input-number.module.mjs +57 -0
- package/esm2020/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +361 -0
- package/esm2020/lib/components/form/input-opt/components/input-opt/input-opt.enum.mjs +8 -0
- package/esm2020/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +44 -0
- package/esm2020/lib/components/form/input-opt/input-opt.module.mjs +40 -0
- package/esm2020/lib/components/form/input-opt/models/input-opt.model.mjs +6 -0
- package/esm2020/lib/components/form/input-opt/services/input-opt.service.mjs +33 -0
- package/esm2020/lib/components/form/input-password/input-password.component.mjs +119 -0
- package/esm2020/lib/components/form/input-password/input-password.enum.mjs +7 -0
- package/esm2020/lib/components/form/input-password/input-password.module.mjs +38 -0
- package/esm2020/lib/components/form/input-phone/data/country-code.mjs +1333 -0
- package/esm2020/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +33 -0
- package/esm2020/lib/components/form/input-phone/enums/country-iso.enum.mjs +247 -0
- package/esm2020/lib/components/form/input-phone/enums/input-phone.enum.mjs +7 -0
- package/esm2020/lib/components/form/input-phone/enums/mask.enum.mjs +139 -0
- package/esm2020/lib/components/form/input-phone/enums/phone-number-format.enum.mjs +6 -0
- package/esm2020/lib/components/form/input-phone/enums/search-country-field.enum.mjs +8 -0
- package/esm2020/lib/components/form/input-phone/input-phone.component.mjs +671 -0
- package/esm2020/lib/components/form/input-phone/input-phone.module.mjs +52 -0
- package/esm2020/lib/components/form/input-phone/input-phone.validator.mjs +61 -0
- package/esm2020/lib/components/form/input-phone/interfaces/change-data.mjs +2 -0
- package/esm2020/lib/components/form/input-phone/models/country.model.mjs +2 -0
- package/esm2020/lib/components/form/input-search/input-search.component.mjs +166 -0
- package/esm2020/lib/components/form/input-search/input-search.enum.mjs +7 -0
- package/esm2020/lib/components/form/input-search/input-search.module.mjs +43 -0
- package/esm2020/lib/components/form/input-select/input-select.component.mjs +249 -0
- package/esm2020/lib/components/form/input-select/input-select.enum.mjs +6 -0
- package/esm2020/lib/components/form/input-select/input-select.module.mjs +47 -0
- package/esm2020/lib/components/form/input-tel/assets/base64.mjs +4 -0
- package/esm2020/lib/components/form/input-tel/data/all-countries.mjs +1323 -0
- package/esm2020/lib/components/form/input-tel/data/country-iso.enum.mjs +247 -0
- package/esm2020/lib/components/form/input-tel/data/phone-number-format.enum.mjs +6 -0
- package/esm2020/lib/components/form/input-tel/data/search-country-field.enum.mjs +8 -0
- package/esm2020/lib/components/form/input-tel/directives/input-tel.directive.mjs +62 -0
- package/esm2020/lib/components/form/input-tel/enums/input-phone.enum.mjs +7 -0
- package/esm2020/lib/components/form/input-tel/input-tel.component.mjs +389 -0
- package/esm2020/lib/components/form/input-tel/input-tel.module.mjs +49 -0
- package/esm2020/lib/components/form/input-tel/models/country.model.mjs +2 -0
- package/esm2020/lib/components/form/input-text/input-text.component.mjs +188 -0
- package/esm2020/lib/components/form/input-text/input-text.enum.mjs +15 -0
- package/esm2020/lib/components/form/input-text/input-text.module.mjs +51 -0
- package/esm2020/lib/components/form/input-textarea/input-textarea.component.mjs +186 -0
- package/esm2020/lib/components/form/input-textarea/input-textarea.enum.mjs +7 -0
- package/esm2020/lib/components/form/input-textarea/input-textarea.module.mjs +50 -0
- package/esm2020/lib/components/form/input-timepicker/constants/value-models.mjs +8 -0
- package/esm2020/lib/components/form/input-timepicker/helpers/clean-date.mjs +5 -0
- package/esm2020/lib/components/form/input-timepicker/helpers/cursor-position.mjs +14 -0
- package/esm2020/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.mjs +5 -0
- package/esm2020/lib/components/form/input-timepicker/helpers/get-date-object.mjs +5 -0
- package/esm2020/lib/components/form/input-timepicker/helpers/validate-value-models.mjs +29 -0
- package/esm2020/lib/components/form/input-timepicker/helpers/value-parser.mjs +18 -0
- package/esm2020/lib/components/form/input-timepicker/input-timepicker.component.mjs +290 -0
- package/esm2020/lib/components/form/input-timepicker/input-timepicker.enum.mjs +7 -0
- package/esm2020/lib/components/form/input-timepicker/input-timepicker.module.mjs +48 -0
- package/esm2020/lib/components/form/radio/radio.component.mjs +91 -0
- package/esm2020/lib/components/form/radio/radio.enum.mjs +5 -0
- package/esm2020/lib/components/form/radio/radio.module.mjs +20 -0
- package/esm2020/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +49 -0
- package/esm2020/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +63 -0
- package/esm2020/lib/components/form/radio-group/helpers/filter-search-group.mjs +27 -0
- package/esm2020/lib/components/form/radio-group/helpers/get-item-by-id.mjs +11 -0
- package/esm2020/lib/components/form/radio-group/helpers/move-selected-to-first.mjs +27 -0
- package/esm2020/lib/components/form/radio-group/models/radio-group.model.mjs +2 -0
- package/esm2020/lib/components/form/radio-group/radio-group.component.mjs +178 -0
- package/esm2020/lib/components/form/radio-group/radio-group.module.mjs +26 -0
- package/esm2020/lib/components/form/rating/rating.component.mjs +217 -0
- package/esm2020/lib/components/form/rating/rating.enum.mjs +16 -0
- package/esm2020/lib/components/form/rating/rating.module.mjs +27 -0
- package/esm2020/lib/components/form/switch/switch.component.mjs +97 -0
- package/esm2020/lib/components/form/switch/switch.enum.mjs +11 -0
- package/esm2020/lib/components/form/switch/switch.module.mjs +21 -0
- package/esm2020/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +22 -0
- package/esm2020/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +102 -0
- package/esm2020/lib/components/gallery/constants/custom-buttons-default.mjs +7 -0
- package/esm2020/lib/components/gallery/constants/thumbs-config-default.mjs +5 -0
- package/esm2020/lib/components/gallery/gallery.component.mjs +197 -0
- package/esm2020/lib/components/gallery/gallery.module.mjs +56 -0
- package/esm2020/lib/components/gallery/models/gallery-item.model.mjs +2 -0
- package/esm2020/lib/components/gallery/services/gallery.service.mjs +31 -0
- package/esm2020/lib/components/hint-error-message/hint-error-message.component.mjs +123 -0
- package/esm2020/lib/components/hint-error-message/hint-error-message.module.mjs +19 -0
- package/esm2020/lib/components/icon-button/icon-button.component.mjs +51 -0
- package/esm2020/lib/components/icon-button/icon-button.enum.mjs +16 -0
- package/esm2020/lib/components/icon-button/icon-button.module.mjs +19 -0
- package/esm2020/lib/components/label/label.component.mjs +141 -0
- package/esm2020/lib/components/label/label.module.mjs +25 -0
- package/esm2020/lib/components/link/link.component.mjs +50 -0
- package/esm2020/lib/components/link/link.enum.mjs +20 -0
- package/esm2020/lib/components/link/link.module.mjs +19 -0
- package/esm2020/lib/components/loader/loader.component.mjs +26 -0
- package/esm2020/lib/components/loader/loader.enum.mjs +20 -0
- package/esm2020/lib/components/loader/loader.module.mjs +19 -0
- package/esm2020/lib/components/modal/modal.component.mjs +146 -0
- package/esm2020/lib/components/modal/modal.emun.mjs +21 -0
- package/esm2020/lib/components/modal/modal.module.mjs +20 -0
- package/esm2020/lib/components/pages-nav/pages-nav.component.mjs +33 -0
- package/esm2020/lib/components/pages-nav/pages-nav.enum.mjs +6 -0
- package/esm2020/lib/components/pages-nav/pages-nav.module.mjs +26 -0
- package/esm2020/lib/components/paginator/paginator.component.mjs +150 -0
- package/esm2020/lib/components/paginator/paginator.enum.mjs +6 -0
- package/esm2020/lib/components/paginator/paginator.module.mjs +33 -0
- package/esm2020/lib/components/progress/progress.component.mjs +26 -0
- package/esm2020/lib/components/progress/progress.enum.mjs +8 -0
- package/esm2020/lib/components/progress/progress.module.mjs +19 -0
- package/esm2020/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +15 -0
- package/esm2020/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +15 -0
- package/esm2020/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +15 -0
- package/esm2020/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +15 -0
- package/esm2020/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +15 -0
- package/esm2020/lib/components/save-state/save-state.component.mjs +39 -0
- package/esm2020/lib/components/save-state/save-state.enum.mjs +2 -0
- package/esm2020/lib/components/save-state/save-state.module.mjs +39 -0
- package/esm2020/lib/components/stepper/stepper.component.mjs +54 -0
- package/esm2020/lib/components/stepper/stepper.enum.mjs +6 -0
- package/esm2020/lib/components/stepper/stepper.module.mjs +20 -0
- package/esm2020/lib/components/table/components/column/column.component.mjs +40 -0
- package/esm2020/lib/components/table/default/default-pager-settings.mjs +7 -0
- package/esm2020/lib/components/table/models/data-state-change.event.mjs +2 -0
- package/esm2020/lib/components/table/models/index.mjs +4 -0
- package/esm2020/lib/components/table/models/pager-settings.mjs +2 -0
- package/esm2020/lib/components/table/table.component.mjs +274 -0
- package/esm2020/lib/components/table/table.enum.mjs +8 -0
- package/esm2020/lib/components/table/table.module.mjs +52 -0
- package/esm2020/lib/components/tabs/tab/tab.component.mjs +31 -0
- package/esm2020/lib/components/tabs/tabs-group/tabs-group.component.mjs +29 -0
- package/esm2020/lib/components/tabs/tabs.enum.mjs +14 -0
- package/esm2020/lib/components/tabs/tabs.module.mjs +20 -0
- package/esm2020/lib/components/tooltip/services/tooltip.service.mjs +67 -0
- package/esm2020/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +38 -0
- package/esm2020/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.mjs +11 -0
- package/esm2020/lib/components/tooltip/tooltip.component.mjs +60 -0
- package/esm2020/lib/components/tooltip/tooltip.enum.mjs +6 -0
- package/esm2020/lib/components/tooltip/tooltip.module.mjs +21 -0
- package/esm2020/lib/components/truncate-text/directives/truncate-text.directive.mjs +139 -0
- package/esm2020/lib/components/truncate-text/truncate-text.component.mjs +30 -0
- package/esm2020/lib/components/truncate-text/truncate-text.enum.mjs +2 -0
- package/esm2020/lib/components/truncate-text/truncate-text.module.mjs +21 -0
- package/esm2020/lib/components/warning-message/warning-message.component.mjs +31 -0
- package/esm2020/lib/components/warning-message/warning-message.module.mjs +19 -0
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +26 -0
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.enum.mjs +6 -0
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +19 -0
- package/esm2020/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +17 -0
- package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +24 -0
- package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.mjs +7 -0
- package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +20 -0
- package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +96 -0
- package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.mjs +17 -0
- package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +26 -0
- package/esm2020/lib/directives/autosize/autosize.directive.mjs +55 -0
- package/esm2020/lib/directives/autosize/autosize.module.mjs +26 -0
- package/esm2020/lib/directives/truncate/truncate.directive.mjs +32 -0
- package/esm2020/lib/directives/truncate/truncate.module.mjs +18 -0
- package/esm2020/lib/enums/typed.input.state.mjs +8 -0
- package/esm2020/lib/helpers/extension/input-file.extension.mjs +39 -0
- package/esm2020/lib/helpers/formatting-date.mjs +51 -0
- package/esm2020/lib/helpers/formatting-dates-from-array.mjs +18 -0
- package/esm2020/lib/helpers/formatting-iso-to-string.mjs +13 -0
- package/esm2020/lib/helpers/index.mjs +8 -0
- package/esm2020/lib/helpers/number-format.mjs +9 -0
- package/esm2020/lib/helpers/string-hash-code.mjs +17 -0
- package/esm2020/lib/helpers/word-form.mjs +11 -0
- package/esm2020/lib/models/index.mjs +3 -0
- package/esm2020/lib/models/input-file/input-file.model.mjs +2 -0
- package/esm2020/lib/models/typed-input-model.mjs +2 -0
- package/esm2020/lib/pipes/currency/currency.module.mjs +22 -0
- package/esm2020/lib/pipes/currency/currency.pipe.mjs +22 -0
- package/esm2020/lib/pipes/date/date-format.module.mjs +19 -0
- package/esm2020/lib/pipes/date/date-format.pipe.mjs +21 -0
- package/esm2020/lib/pipes/date/date-time-format.pipe.mjs +21 -0
- package/esm2020/lib/pipes/date/enums/timezone.mjs +10 -0
- package/esm2020/lib/pipes/date/helpers/change-timezone.mjs +23 -0
- package/esm2020/lib/pipes/phone/phone-format.module.mjs +18 -0
- package/esm2020/lib/pipes/phone/phone-format.pipe.mjs +23 -0
- package/esm2020/lib/pipes/safe/safe.module.mjs +22 -0
- package/esm2020/lib/pipes/safe/safe.pipe.mjs +20 -0
- package/esm2020/lib/pipes/truncate/truncate.module.mjs +22 -0
- package/esm2020/lib/pipes/truncate/truncate.pipe.mjs +23 -0
- package/esm2020/lib/services/file-upload/file-upload.service.mjs +26 -0
- package/esm2020/lib/services/index.mjs +7 -0
- package/esm2020/lib/services/mrx-autosave/mrx-autosave.service.mjs +44 -0
- package/esm2020/lib/services/mrx-form-validator/mrx-form-validator.mjs +283 -0
- package/esm2020/lib/services/save-store/constants/constants.mjs +2 -0
- package/esm2020/lib/services/save-store/models/save-store.model.mjs +2 -0
- package/esm2020/lib/services/save-store/save-store.module.mjs +31 -0
- package/esm2020/lib/services/save-store/store/actions.mjs +23 -0
- package/esm2020/lib/services/save-store/store/effect.mjs +31 -0
- package/esm2020/lib/services/save-store/store/reducer.mjs +79 -0
- package/esm2020/lib/services/save-store/store/selectors.mjs +5 -0
- package/esm2020/lib/services/save-store/store/state.mjs +4 -0
- package/esm2020/myrta-ui.mjs +5 -0
- package/esm2020/public-api.mjs +185 -0
- package/fesm2015/myrta-ui.mjs +16198 -0
- package/fesm2015/myrta-ui.mjs.map +1 -0
- package/fesm2020/myrta-ui.mjs +16237 -0
- package/fesm2020/myrta-ui.mjs.map +1 -0
- package/lib/components/alert/alert.component.d.ts +17 -0
- package/lib/components/alert/alert.enum.d.ts +13 -0
- package/lib/components/alert/alert.module.d.ts +8 -0
- package/lib/components/badges/badge.enum.d.ts +38 -0
- package/lib/components/badges/badges.module.d.ts +9 -0
- package/lib/components/badges/components/badge/badge.component.d.ts +21 -0
- package/lib/components/badges/components/badge-group/badge-group.component.d.ts +5 -0
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +11 -0
- package/lib/components/breadcrumbs/breadcrumbs.enum.d.ts +11 -0
- package/lib/components/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/lib/components/button/button.component.d.ts +31 -0
- package/lib/components/button/button.enum.d.ts +29 -0
- package/lib/components/button/button.module.d.ts +10 -0
- package/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.d.ts +13 -0
- package/lib/components/cdk-tooltip/cdk-tooltip.directive.d.ts +24 -0
- package/lib/components/cdk-tooltip/cdk-tooltip.module.d.ts +10 -0
- package/lib/components/cdk-tooltip/constants/index.d.ts +7 -0
- package/lib/components/cdk-tooltip/models/tooltip-data.d.ts +6 -0
- package/lib/components/chars-left/chars-left.component.d.ts +9 -0
- package/lib/components/chars-left/chars-left.module.d.ts +8 -0
- package/lib/components/context-menu/components/context-menu/context-menu.component.d.ts +34 -0
- package/lib/components/context-menu/components/context-menu-content/context-menu-content.component.d.ts +62 -0
- package/lib/components/context-menu/context-menu.module.d.ts +15 -0
- package/lib/components/context-menu/context-menu.options.d.ts +4 -0
- package/lib/components/context-menu/context-menu.tokens.d.ts +2 -0
- package/lib/components/context-menu/directives/context-menu/context-menu.directive.d.ts +12 -0
- package/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.d.ts +30 -0
- package/lib/components/context-menu/models/context-menu.enum.d.ts +11 -0
- package/lib/components/context-menu/services/context-menu/context-menu-fixed.service.d.ts +11 -0
- package/lib/components/context-menu/services/context-menu/context-menu.service.d.ts +56 -0
- package/lib/components/dropdown/directives/hide-after-click.directive.d.ts +9 -0
- package/lib/components/dropdown/dropdown.component.d.ts +26 -0
- package/lib/components/dropdown/dropdown.module.d.ts +10 -0
- package/lib/components/error-message/error-message.component.d.ts +10 -0
- package/lib/components/error-message/error-message.module.d.ts +8 -0
- package/lib/components/form/checkbox/checkbox.component.d.ts +48 -0
- package/lib/components/form/checkbox/checkbox.enum.d.ts +14 -0
- package/lib/components/form/checkbox/checkbox.module.d.ts +11 -0
- package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +54 -0
- package/lib/components/form/checkbox-group/checkbox-group.module.d.ts +16 -0
- package/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.d.ts +19 -0
- package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +26 -0
- package/lib/components/form/checkbox-group/helpers/change-group-value.d.ts +3 -0
- package/lib/components/form/checkbox-group/helpers/change-item-value.d.ts +3 -0
- package/lib/components/form/checkbox-group/helpers/filter-search-group.d.ts +2 -0
- package/lib/components/form/checkbox-group/helpers/get-checked-items.d.ts +2 -0
- package/lib/components/form/checkbox-group/helpers/get-item-by-id.d.ts +2 -0
- package/lib/components/form/checkbox-group/helpers/get-sorted-list.d.ts +2 -0
- package/lib/components/form/checkbox-group/models/checkbox-group.model.d.ts +15 -0
- package/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.d.ts +22 -0
- package/lib/components/form/document-editor/document-editor.component.d.ts +37 -0
- package/lib/components/form/document-editor/document-editor.module.d.ts +13 -0
- package/lib/components/form/document-editor/helpers/transform-sysname.d.ts +5 -0
- package/lib/components/form/document-editor/models/document-editor-short-codes.enum.d.ts +6 -0
- package/lib/components/form/editor/config/default-inline-style.d.ts +11 -0
- package/lib/components/form/editor/config/index.d.ts +1 -0
- package/lib/components/form/editor/config/popups-toolbar.d.ts +15 -0
- package/lib/components/form/editor/config/toolbar.d.ts +2 -0
- package/lib/components/form/editor/editor.component.d.ts +54 -0
- package/lib/components/form/editor/editor.enum.d.ts +5 -0
- package/lib/components/form/editor/editor.module.d.ts +14 -0
- package/lib/components/form/editor/models/toolbar.model.d.ts +6 -0
- package/lib/components/form/editor/modules/change-icon-module.d.ts +1 -0
- package/lib/components/form/input-date-time/constants/value-models.d.ts +3 -0
- package/lib/components/form/input-date-time/enum/timezone.d.ts +6 -0
- package/lib/components/form/input-date-time/helpers/clean-date.d.ts +1 -0
- package/lib/components/form/input-date-time/helpers/cursor-position.d.ts +1 -0
- package/lib/components/form/input-date-time/helpers/formatting-from-models.d.ts +3 -0
- package/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.d.ts +2 -0
- package/lib/components/form/input-date-time/helpers/validate-value-models.d.ts +19 -0
- package/lib/components/form/input-date-time/helpers/value-parser.d.ts +4 -0
- package/lib/components/form/input-date-time/input-date-time.component.d.ts +72 -0
- package/lib/components/form/input-date-time/input-date-time.enum.d.ts +21 -0
- package/lib/components/form/input-date-time/input-date-time.module.d.ts +13 -0
- package/lib/components/form/input-datepicker/constants/value-models.d.ts +3 -0
- package/lib/components/form/input-datepicker/helpers/clean-date.d.ts +1 -0
- package/lib/components/form/input-datepicker/helpers/cursor-position.d.ts +1 -0
- package/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.d.ts +3 -0
- package/lib/components/form/input-datepicker/helpers/get-date-object.d.ts +2 -0
- package/lib/components/form/input-datepicker/helpers/validate-value-models.d.ts +20 -0
- package/lib/components/form/input-datepicker/helpers/value-parser.d.ts +3 -0
- package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +69 -0
- package/lib/components/form/input-datepicker/input-datepicker.enum.d.ts +12 -0
- package/lib/components/form/input-datepicker/input-datepicker.module.d.ts +13 -0
- package/lib/components/form/input-file/enums/error-messages.enum.d.ts +6 -0
- package/lib/components/form/input-file/input-file.component.d.ts +72 -0
- package/lib/components/form/input-file/input-file.enum.d.ts +7 -0
- package/lib/components/form/input-file/input-file.module.d.ts +13 -0
- package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +39 -0
- package/lib/components/form/input-file-image/input-file-image.component.d.ts +62 -0
- package/lib/components/form/input-file-image/input-file-image.enum.d.ts +8 -0
- package/lib/components/form/input-file-image/input-file-image.module.d.ts +16 -0
- package/lib/components/form/input-number/input-number.component.d.ts +64 -0
- package/lib/components/form/input-number/input-number.enum.d.ts +12 -0
- package/lib/components/form/input-number/input-number.module.d.ts +13 -0
- package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +77 -0
- package/lib/components/form/input-opt/components/input-opt/input-opt.enum.d.ts +7 -0
- package/lib/components/form/input-opt/directives/opt-pattern.directive.d.ts +8 -0
- package/lib/components/form/input-opt/input-opt.module.d.ts +11 -0
- package/lib/components/form/input-opt/models/input-opt.model.d.ts +26 -0
- package/lib/components/form/input-opt/services/input-opt.service.d.ts +11 -0
- package/lib/components/form/input-password/input-password.component.d.ts +38 -0
- package/lib/components/form/input-password/input-password.enum.d.ts +7 -0
- package/lib/components/form/input-password/input-password.module.d.ts +11 -0
- package/lib/components/form/input-phone/data/country-code.d.ts +6 -0
- package/lib/components/form/input-phone/directives/native-element-injector.directive.d.ts +11 -0
- package/lib/components/form/input-phone/enums/country-iso.enum.d.ts +245 -0
- package/lib/components/form/input-phone/enums/input-phone.enum.d.ts +11 -0
- package/lib/components/form/input-phone/enums/mask.enum.d.ts +8 -0
- package/lib/components/form/input-phone/enums/phone-number-format.enum.d.ts +4 -0
- package/lib/components/form/input-phone/enums/search-country-field.enum.d.ts +6 -0
- package/lib/components/form/input-phone/input-phone.component.d.ts +132 -0
- package/lib/components/form/input-phone/input-phone.module.d.ts +14 -0
- package/lib/components/form/input-phone/input-phone.validator.d.ts +5 -0
- package/lib/components/form/input-phone/interfaces/change-data.d.ts +9 -0
- package/lib/components/form/input-phone/models/country.model.d.ts +13 -0
- package/lib/components/form/input-search/input-search.component.d.ts +48 -0
- package/lib/components/form/input-search/input-search.enum.d.ts +6 -0
- package/lib/components/form/input-search/input-search.module.d.ts +12 -0
- package/lib/components/form/input-select/input-select.component.d.ts +86 -0
- package/lib/components/form/input-select/input-select.enum.d.ts +10 -0
- package/lib/components/form/input-select/input-select.module.d.ts +14 -0
- 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 +14 -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 -0
- package/lib/components/form/input-text/input-text.enum.d.ts +19 -0
- package/lib/components/form/input-text/input-text.module.d.ts +14 -0
- package/lib/components/form/input-textarea/input-textarea.component.d.ts +51 -0
- package/lib/components/form/input-textarea/input-textarea.enum.d.ts +11 -0
- package/lib/components/form/input-textarea/input-textarea.module.d.ts +14 -0
- package/lib/components/form/input-timepicker/constants/value-models.d.ts +2 -0
- package/lib/components/form/input-timepicker/helpers/clean-date.d.ts +1 -0
- package/lib/components/form/input-timepicker/helpers/cursor-position.d.ts +1 -0
- package/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.d.ts +3 -0
- package/lib/components/form/input-timepicker/helpers/get-date-object.d.ts +2 -0
- package/lib/components/form/input-timepicker/helpers/validate-value-models.d.ts +10 -0
- package/lib/components/form/input-timepicker/helpers/value-parser.d.ts +2 -0
- package/lib/components/form/input-timepicker/input-timepicker.component.d.ts +60 -0
- package/lib/components/form/input-timepicker/input-timepicker.enum.d.ts +11 -0
- package/lib/components/form/input-timepicker/input-timepicker.module.d.ts +13 -0
- package/lib/components/form/radio/radio.component.d.ts +29 -0
- package/lib/components/form/radio/radio.enum.d.ts +4 -0
- package/lib/components/form/radio/radio.module.d.ts +9 -0
- package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +20 -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 +59 -0
- package/lib/components/form/radio-group/radio-group.module.d.ts +15 -0
- package/lib/components/form/rating/rating.component.d.ts +51 -0
- package/lib/components/form/rating/rating.enum.d.ts +27 -0
- package/lib/components/form/rating/rating.module.d.ts +9 -0
- package/lib/components/form/switch/switch.component.d.ts +32 -0
- package/lib/components/form/switch/switch.enum.d.ts +15 -0
- package/lib/components/form/switch/switch.module.d.ts +10 -0
- package/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.d.ts +17 -0
- package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +38 -0
- package/lib/components/gallery/constants/custom-buttons-default.d.ts +3 -0
- package/lib/components/gallery/constants/thumbs-config-default.d.ts +2 -0
- package/lib/components/gallery/gallery.component.d.ts +38 -0
- package/lib/components/gallery/gallery.module.d.ts +16 -0
- package/lib/components/gallery/models/gallery-item.model.d.ts +24 -0
- package/lib/components/gallery/services/gallery.service.d.ts +14 -0
- package/lib/components/hint-error-message/hint-error-message.component.d.ts +21 -0
- package/lib/components/hint-error-message/hint-error-message.module.d.ts +8 -0
- package/lib/components/icon-button/icon-button.component.d.ts +19 -0
- package/lib/components/icon-button/icon-button.enum.d.ts +15 -0
- package/lib/components/icon-button/icon-button.module.d.ts +9 -0
- package/lib/components/label/label.component.d.ts +44 -0
- package/lib/components/label/label.module.d.ts +14 -0
- package/lib/components/link/link.component.d.ts +18 -0
- package/lib/components/link/link.enum.d.ts +19 -0
- package/lib/components/link/link.module.d.ts +8 -0
- package/lib/components/loader/loader.component.d.ts +10 -0
- package/lib/components/loader/loader.enum.d.ts +19 -0
- package/lib/components/loader/loader.module.d.ts +8 -0
- package/lib/components/modal/modal.component.d.ts +37 -0
- package/lib/components/modal/modal.emun.d.ts +20 -0
- package/lib/components/modal/modal.module.d.ts +9 -0
- package/lib/components/pages-nav/pages-nav.component.d.ts +12 -0
- package/lib/components/pages-nav/pages-nav.enum.d.ts +5 -0
- package/lib/components/pages-nav/pages-nav.module.d.ts +8 -0
- package/lib/components/paginator/paginator.component.d.ts +31 -0
- package/lib/components/paginator/paginator.enum.d.ts +10 -0
- package/lib/components/paginator/paginator.module.d.ts +10 -0
- package/lib/components/progress/progress.component.d.ts +10 -0
- package/lib/components/progress/progress.enum.d.ts +7 -0
- package/lib/components/progress/progress.module.d.ts +8 -0
- package/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.d.ts +8 -0
- package/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.d.ts +8 -0
- package/lib/components/save-state/components/save-state-editor/save-state-editor.component.d.ts +8 -0
- package/lib/components/save-state/components/save-state-input/save-state-input.component.d.ts +8 -0
- package/lib/components/save-state/components/save-state-switch/save-state-switch.component.d.ts +8 -0
- package/lib/components/save-state/save-state.component.d.ts +13 -0
- package/lib/components/save-state/save-state.enum.d.ts +1 -0
- package/lib/components/save-state/save-state.module.d.ts +13 -0
- package/lib/components/stepper/stepper.component.d.ts +17 -0
- package/lib/components/stepper/stepper.enum.d.ts +5 -0
- package/lib/components/stepper/stepper.module.d.ts +9 -0
- package/lib/components/table/components/column/column.component.d.ts +14 -0
- package/lib/components/table/default/default-pager-settings.d.ts +2 -0
- package/lib/components/table/models/data-state-change.event.d.ts +15 -0
- package/lib/components/table/models/index.d.ts +3 -0
- package/lib/components/table/models/pager-settings.d.ts +22 -0
- package/lib/components/table/table.component.d.ts +55 -0
- package/lib/components/table/table.enum.d.ts +32 -0
- package/lib/components/table/table.module.d.ts +14 -0
- package/lib/components/tabs/tab/tab.component.d.ts +13 -0
- package/lib/components/tabs/tabs-group/tabs-group.component.d.ts +11 -0
- package/lib/components/tabs/tabs.enum.d.ts +11 -0
- package/lib/components/tabs/tabs.module.d.ts +9 -0
- package/lib/components/tooltip/services/tooltip.service.d.ts +18 -0
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +15 -0
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.d.ts +10 -0
- package/lib/components/tooltip/tooltip.component.d.ts +18 -0
- package/lib/components/tooltip/tooltip.enum.d.ts +4 -0
- package/lib/components/tooltip/tooltip.module.d.ts +10 -0
- package/lib/components/truncate-text/directives/truncate-text.directive.d.ts +37 -0
- package/lib/components/truncate-text/truncate-text.component.d.ts +12 -0
- package/lib/components/truncate-text/truncate-text.enum.d.ts +2 -0
- package/lib/components/truncate-text/truncate-text.module.d.ts +10 -0
- package/lib/components/warning-message/warning-message.component.d.ts +9 -0
- package/lib/components/warning-message/warning-message.module.d.ts +8 -0
- package/lib/components/wrappers/content-wrapper/content-wrapper.component.d.ts +10 -0
- package/lib/components/wrappers/content-wrapper/content-wrapper.enum.d.ts +5 -0
- package/lib/components/wrappers/content-wrapper/content-wrapper.module.d.ts +8 -0
- package/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.d.ts +6 -0
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.component.d.ts +10 -0
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.d.ts +6 -0
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.module.d.ts +9 -0
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.component.d.ts +26 -0
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.d.ts +15 -0
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.module.d.ts +8 -0
- package/lib/directives/autosize/autosize.directive.d.ts +16 -0
- package/lib/directives/autosize/autosize.module.d.ts +8 -0
- package/lib/directives/truncate/truncate.directive.d.ts +12 -0
- package/lib/directives/truncate/truncate.module.d.ts +8 -0
- package/lib/enums/typed.input.state.d.ts +6 -0
- package/lib/helpers/extension/input-file.extension.d.ts +4 -0
- package/lib/helpers/formatting-date.d.ts +9 -0
- package/lib/helpers/formatting-dates-from-array.d.ts +2 -0
- package/lib/helpers/formatting-iso-to-string.d.ts +2 -0
- package/lib/helpers/index.d.ts +7 -0
- package/lib/helpers/number-format.d.ts +6 -0
- package/lib/helpers/string-hash-code.d.ts +2 -0
- package/lib/helpers/word-form.d.ts +7 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/input-file/input-file.model.d.ts +22 -0
- package/lib/models/typed-input-model.d.ts +16 -0
- package/lib/pipes/currency/currency.module.d.ts +8 -0
- package/lib/pipes/currency/currency.pipe.d.ts +7 -0
- package/lib/pipes/date/date-format.module.d.ts +9 -0
- package/lib/pipes/date/date-format.pipe.d.ts +9 -0
- package/lib/pipes/date/date-time-format.pipe.d.ts +9 -0
- package/lib/pipes/date/enums/timezone.d.ts +8 -0
- package/lib/pipes/date/helpers/change-timezone.d.ts +2 -0
- package/lib/pipes/phone/phone-format.module.d.ts +8 -0
- package/lib/pipes/phone/phone-format.pipe.d.ts +8 -0
- package/lib/pipes/safe/safe.module.d.ts +8 -0
- package/lib/pipes/safe/safe.pipe.d.ts +10 -0
- package/lib/pipes/truncate/truncate.module.d.ts +8 -0
- package/lib/pipes/truncate/truncate.pipe.d.ts +7 -0
- package/lib/services/file-upload/file-upload.service.d.ts +12 -0
- package/lib/services/index.d.ts +6 -0
- package/lib/services/mrx-autosave/mrx-autosave.service.d.ts +19 -0
- package/lib/services/mrx-form-validator/mrx-form-validator.d.ts +51 -0
- package/lib/services/save-store/constants/constants.d.ts +1 -0
- package/lib/services/save-store/models/save-store.model.d.ts +4 -0
- package/lib/services/save-store/save-store.module.d.ts +9 -0
- package/lib/services/save-store/store/actions.d.ts +21 -0
- package/lib/services/save-store/store/effect.d.ts +16 -0
- package/lib/services/save-store/store/reducer.d.ts +3 -0
- package/lib/services/save-store/store/selectors.d.ts +3 -0
- package/lib/services/save-store/store/state.d.ts +11 -0
- package/myrta-ui.d.ts +5 -0
- package/package.json +22 -6
- package/public-api.d.ts +175 -0
- package/.browserslistrc +0 -16
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -26
- package/src/lib/components/alert/alert.component.html +0 -17
- package/src/lib/components/alert/alert.component.less +0 -2
- package/src/lib/components/alert/alert.component.ts +0 -30
- package/src/lib/components/alert/alert.enum.ts +0 -15
- package/src/lib/components/alert/alert.module.ts +0 -11
- package/src/lib/components/alert/assets/alert-colors.less +0 -29
- package/src/lib/components/alert/assets/alert.less +0 -32
- package/src/lib/components/badges/badge.enum.ts +0 -45
- package/src/lib/components/badges/badges.module.ts +0 -21
- package/src/lib/components/badges/components/badge/assets/badge-colors.less +0 -62
- package/src/lib/components/badges/components/badge/assets/badge-tag.less +0 -12
- package/src/lib/components/badges/components/badge/assets/badge-types.less +0 -26
- package/src/lib/components/badges/components/badge/assets/badge.less +0 -7
- package/src/lib/components/badges/components/badge/badge.component.html +0 -28
- package/src/lib/components/badges/components/badge/badge.component.less +0 -4
- package/src/lib/components/badges/components/badge/badge.component.ts +0 -55
- package/src/lib/components/badges/components/badge-group/badge-group.component.html +0 -3
- package/src/lib/components/badges/components/badge-group/badge-group.component.less +0 -5
- package/src/lib/components/badges/components/badge-group/badge-group.component.ts +0 -11
- package/src/lib/components/breadcrumbs/assets/breadcrumbs.less +0 -50
- package/src/lib/components/breadcrumbs/breadcrumbs.component.html +0 -25
- package/src/lib/components/breadcrumbs/breadcrumbs.component.less +0 -1
- package/src/lib/components/breadcrumbs/breadcrumbs.component.ts +0 -19
- package/src/lib/components/breadcrumbs/breadcrumbs.enum.ts +0 -12
- package/src/lib/components/breadcrumbs/breadcrumbs.module.ts +0 -19
- package/src/lib/components/button/assets/button-colors.less +0 -309
- package/src/lib/components/button/assets/button-disabled.less +0 -96
- package/src/lib/components/button/assets/button-icon-loading.less +0 -21
- package/src/lib/components/button/assets/button-primary.less +0 -56
- package/src/lib/components/button/assets/button-secondary.less +0 -169
- package/src/lib/components/button/assets/button-sizes.less +0 -71
- package/src/lib/components/button/assets/button-tertiary.less +0 -166
- package/src/lib/components/button/assets/button-with-icon.less +0 -64
- package/src/lib/components/button/assets/button.less +0 -12
- package/src/lib/components/button/button.component.html +0 -81
- package/src/lib/components/button/button.component.less +0 -9
- package/src/lib/components/button/button.component.ts +0 -87
- package/src/lib/components/button/button.enum.ts +0 -37
- package/src/lib/components/button/button.module.ts +0 -13
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.html +0 -10
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.less +0 -128
- package/src/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.ts +0 -26
- package/src/lib/components/cdk-tooltip/cdk-tooltip.directive.ts +0 -82
- package/src/lib/components/cdk-tooltip/cdk-tooltip.module.ts +0 -14
- package/src/lib/components/cdk-tooltip/constants/index.ts +0 -94
- package/src/lib/components/cdk-tooltip/models/tooltip-data.ts +0 -8
- package/src/lib/components/chars-left/chars-left.component.html +0 -3
- package/src/lib/components/chars-left/chars-left.component.less +0 -11
- package/src/lib/components/chars-left/chars-left.component.ts +0 -17
- package/src/lib/components/chars-left/chars-left.module.ts +0 -11
- package/src/lib/components/context-menu/components/context-menu/context-menu.component.ts +0 -143
- package/src/lib/components/context-menu/components/context-menu-content/context-menu-content.component.ts +0 -336
- package/src/lib/components/context-menu/context-menu.module.ts +0 -46
- package/src/lib/components/context-menu/context-menu.options.ts +0 -4
- package/src/lib/components/context-menu/context-menu.tokens.ts +0 -3
- package/src/lib/components/context-menu/directives/context-menu/context-menu.directive.ts +0 -30
- package/src/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.ts +0 -73
- package/src/lib/components/context-menu/models/context-menu.enum.ts +0 -12
- package/src/lib/components/context-menu/readme.txt +0 -1
- package/src/lib/components/context-menu/services/context-menu/context-menu-fixed.service.ts +0 -97
- package/src/lib/components/context-menu/services/context-menu/context-menu.service.ts +0 -308
- package/src/lib/components/dropdown/assets/dropdown-menu.less +0 -44
- package/src/lib/components/dropdown/assets/dropdown-toggle.less +0 -3
- package/src/lib/components/dropdown/assets/dropdown.less +0 -13
- package/src/lib/components/dropdown/directives/hide-after-click.directive.ts +0 -14
- package/src/lib/components/dropdown/dropdown.component.html +0 -14
- package/src/lib/components/dropdown/dropdown.component.less +0 -3
- package/src/lib/components/dropdown/dropdown.component.ts +0 -112
- package/src/lib/components/dropdown/dropdown.module.ts +0 -15
- package/src/lib/components/error-message/error-message.component.html +0 -9
- package/src/lib/components/error-message/error-message.component.less +0 -20
- package/src/lib/components/error-message/error-message.component.ts +0 -26
- package/src/lib/components/error-message/error-message.module.ts +0 -11
- package/src/lib/components/form/checkbox/assets/checkbox-error.less +0 -25
- package/src/lib/components/form/checkbox/assets/checkbox-indeterminate.less +0 -60
- package/src/lib/components/form/checkbox/assets/checkbox-input.less +0 -14
- package/src/lib/components/form/checkbox/assets/checkbox-label.less +0 -26
- package/src/lib/components/form/checkbox/assets/checkbox-mark.less +0 -77
- package/src/lib/components/form/checkbox/assets/checkbox-wrapper.less +0 -7
- package/src/lib/components/form/checkbox/assets/checkbox.less +0 -5
- package/src/lib/components/form/checkbox/checkbox.component.html +0 -48
- package/src/lib/components/form/checkbox/checkbox.component.less +0 -7
- package/src/lib/components/form/checkbox/checkbox.component.ts +0 -174
- package/src/lib/components/form/checkbox/checkbox.enum.ts +0 -20
- package/src/lib/components/form/checkbox/checkbox.module.ts +0 -14
- package/src/lib/components/form/checkbox-group/checkbox-group.component.html +0 -36
- package/src/lib/components/form/checkbox-group/checkbox-group.component.less +0 -26
- package/src/lib/components/form/checkbox-group/checkbox-group.component.ts +0 -167
- package/src/lib/components/form/checkbox-group/checkbox-group.module.ts +0 -27
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.html +0 -16
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.less +0 -5
- package/src/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.ts +0 -34
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.html +0 -40
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.less +0 -23
- package/src/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.ts +0 -93
- package/src/lib/components/form/checkbox-group/helpers/change-group-value.ts +0 -26
- package/src/lib/components/form/checkbox-group/helpers/change-item-value.ts +0 -18
- package/src/lib/components/form/checkbox-group/helpers/filter-search-group.ts +0 -29
- package/src/lib/components/form/checkbox-group/helpers/get-checked-items.ts +0 -23
- package/src/lib/components/form/checkbox-group/helpers/get-item-by-id.ts +0 -11
- package/src/lib/components/form/checkbox-group/helpers/get-sorted-list.ts +0 -45
- package/src/lib/components/form/checkbox-group/models/checkbox-group.model.ts +0 -19
- package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.html +0 -20
- package/src/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.ts +0 -42
- package/src/lib/components/form/document-editor/document-editor.component.html +0 -41
- package/src/lib/components/form/document-editor/document-editor.component.less +0 -7
- package/src/lib/components/form/document-editor/document-editor.component.ts +0 -110
- package/src/lib/components/form/document-editor/document-editor.module.ts +0 -29
- package/src/lib/components/form/document-editor/helpers/transform-sysname.ts +0 -57
- package/src/lib/components/form/document-editor/models/document-editor-short-codes.enum.ts +0 -6
- package/src/lib/components/form/editor/assets/editor-borders.less +0 -29
- package/src/lib/components/form/editor/assets/editor-clear-elements.less +0 -5
- package/src/lib/components/form/editor/assets/editor-clear-out-elements.less +0 -46
- package/src/lib/components/form/editor/assets/editor-error.less +0 -33
- package/src/lib/components/form/editor/assets/editor-popups.less +0 -11
- package/src/lib/components/form/editor/assets/editor-table.less +0 -5
- package/src/lib/components/form/editor/assets/editor-toolbar.less +0 -53
- package/src/lib/components/form/editor/assets/editor-wysiwyg.less +0 -21
- package/src/lib/components/form/editor/assets/editor.less +0 -9
- package/src/lib/components/form/editor/config/default-inline-style.ts +0 -5
- package/src/lib/components/form/editor/config/index.ts +0 -1
- package/src/lib/components/form/editor/config/popups-toolbar.ts +0 -9
- package/src/lib/components/form/editor/config/toolbar.ts +0 -73
- package/src/lib/components/form/editor/editor.component.html +0 -24
- package/src/lib/components/form/editor/editor.component.less +0 -13
- package/src/lib/components/form/editor/editor.component.ts +0 -237
- package/src/lib/components/form/editor/editor.enum.ts +0 -6
- package/src/lib/components/form/editor/editor.module.ts +0 -25
- package/src/lib/components/form/editor/models/toolbar.model.ts +0 -6
- package/src/lib/components/form/editor/modules/change-icon-module.ts +0 -91
- package/src/lib/components/form/input-date-time/assets/input-date-error.less +0 -21
- package/src/lib/components/form/input-date-time/assets/input-date-icons.less +0 -36
- package/src/lib/components/form/input-date-time/assets/input-date-sizes.less +0 -31
- package/src/lib/components/form/input-date-time/assets/input-date.less +0 -27
- package/src/lib/components/form/input-date-time/constants/value-models.ts +0 -16
- package/src/lib/components/form/input-date-time/enum/timezone.ts +0 -7
- package/src/lib/components/form/input-date-time/helpers/clean-date.ts +0 -5
- package/src/lib/components/form/input-date-time/helpers/cursor-position.ts +0 -18
- package/src/lib/components/form/input-date-time/helpers/formatting-from-models.ts +0 -10
- package/src/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.ts +0 -12
- package/src/lib/components/form/input-date-time/helpers/validate-value-models.ts +0 -84
- package/src/lib/components/form/input-date-time/helpers/value-parser.ts +0 -46
- package/src/lib/components/form/input-date-time/input-date-time.component.html +0 -60
- package/src/lib/components/form/input-date-time/input-date-time.component.ts +0 -378
- package/src/lib/components/form/input-date-time/input-date-time.components.less +0 -4
- package/src/lib/components/form/input-date-time/input-date-time.enum.ts +0 -25
- package/src/lib/components/form/input-date-time/input-date-time.module.ts +0 -29
- package/src/lib/components/form/input-datepicker/assets/input-date-disabled.less +0 -17
- package/src/lib/components/form/input-datepicker/assets/input-date-error.less +0 -21
- package/src/lib/components/form/input-datepicker/assets/input-date-icons.less +0 -36
- package/src/lib/components/form/input-datepicker/assets/input-date-sizes.less +0 -31
- package/src/lib/components/form/input-datepicker/assets/input-date.less +0 -23
- package/src/lib/components/form/input-datepicker/constants/value-models.ts +0 -17
- package/src/lib/components/form/input-datepicker/helpers/clean-date.ts +0 -5
- package/src/lib/components/form/input-datepicker/helpers/cursor-position.ts +0 -18
- package/src/lib/components/form/input-datepicker/helpers/get-date-dayjs-object.ts +0 -10
- package/src/lib/components/form/input-datepicker/helpers/get-date-object.ts +0 -10
- package/src/lib/components/form/input-datepicker/helpers/validate-value-models.ts +0 -100
- package/src/lib/components/form/input-datepicker/helpers/value-parser.ts +0 -54
- package/src/lib/components/form/input-datepicker/input-datepicker.component.html +0 -60
- package/src/lib/components/form/input-datepicker/input-datepicker.component.ts +0 -342
- package/src/lib/components/form/input-datepicker/input-datepicker.components.less +0 -5
- package/src/lib/components/form/input-datepicker/input-datepicker.enum.ts +0 -16
- package/src/lib/components/form/input-datepicker/input-datepicker.module.ts +0 -29
- package/src/lib/components/form/input-editor/assets/style.less +0 -321
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.html +0 -252
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.less +0 -1
- package/src/lib/components/form/input-editor/components/editor-toolbar/editor-toolbar.component.ts +0 -391
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.html +0 -12
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.less +0 -13
- package/src/lib/components/form/input-editor/components/editor-toolbar-button/editor-toolbar-button.component.ts +0 -22
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.html +0 -18
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.less +0 -131
- package/src/lib/components/form/input-editor/components/editor-toolbar-select/editor-toolbar-select.component.ts +0 -205
- package/src/lib/components/form/input-editor/config/index.ts +0 -77
- package/src/lib/components/form/input-editor/helpers/is-defined.ts +0 -3
- package/src/lib/components/form/input-editor/input-editor.component.html +0 -68
- package/src/lib/components/form/input-editor/input-editor.component.less +0 -64
- package/src/lib/components/form/input-editor/input-editor.component.ts +0 -430
- package/src/lib/components/form/input-editor/input-editor.module.ts +0 -24
- package/src/lib/components/form/input-editor/models/editor-select.model.ts +0 -4
- package/src/lib/components/form/input-editor/services/editor.service.ts +0 -307
- package/src/lib/components/form/input-file/assets/input-file-controls.less +0 -8
- package/src/lib/components/form/input-file/assets/input-file-drop-placeholder.less +0 -28
- package/src/lib/components/form/input-file/assets/input-file-drop.less +0 -31
- package/src/lib/components/form/input-file/assets/input-file-error.less +0 -48
- package/src/lib/components/form/input-file/assets/input-file-list-item.less +0 -26
- package/src/lib/components/form/input-file/assets/input-file.less +0 -16
- package/src/lib/components/form/input-file/enums/error-messages.enum.ts +0 -6
- package/src/lib/components/form/input-file/input-file.component.html +0 -134
- package/src/lib/components/form/input-file/input-file.component.less +0 -6
- package/src/lib/components/form/input-file/input-file.component.ts +0 -329
- package/src/lib/components/form/input-file/input-file.enum.ts +0 -8
- package/src/lib/components/form/input-file/input-file.module.ts +0 -18
- package/src/lib/components/form/input-file-image/assets/input-file-image-avatar.less +0 -85
- package/src/lib/components/form/input-file-image/assets/input-file-image-controls.less +0 -35
- package/src/lib/components/form/input-file-image/assets/input-file-image-drop.less +0 -34
- package/src/lib/components/form/input-file-image/assets/input-file-image-preview.less +0 -93
- package/src/lib/components/form/input-file-image/assets/input-file-image.less +0 -15
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/assets/input-image-cropper.less +0 -25
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.html +0 -65
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.less +0 -1
- package/src/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.ts +0 -99
- package/src/lib/components/form/input-file-image/input-file-image.component.html +0 -143
- package/src/lib/components/form/input-file-image/input-file-image.component.less +0 -5
- package/src/lib/components/form/input-file-image/input-file-image.component.ts +0 -354
- package/src/lib/components/form/input-file-image/input-file-image.enum.ts +0 -10
- package/src/lib/components/form/input-file-image/input-file-image.module.ts +0 -34
- package/src/lib/components/form/input-number/assets/input-number-disabled.less +0 -17
- package/src/lib/components/form/input-number/assets/input-number-error.less +0 -21
- package/src/lib/components/form/input-number/assets/input-number-sizes.less +0 -61
- package/src/lib/components/form/input-number/assets/input-number.less +0 -45
- package/src/lib/components/form/input-number/input-number.component.html +0 -35
- package/src/lib/components/form/input-number/input-number.component.less +0 -4
- package/src/lib/components/form/input-number/input-number.component.ts +0 -284
- package/src/lib/components/form/input-number/input-number.enum.ts +0 -16
- package/src/lib/components/form/input-number/input-number.module.ts +0 -39
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-error.less +0 -23
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt-sizes.less +0 -73
- package/src/lib/components/form/input-opt/components/input-opt/assets/input-opt.less +0 -20
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.html +0 -39
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.less +0 -3
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.component.ts +0 -415
- package/src/lib/components/form/input-opt/components/input-opt/input-opt.enum.ts +0 -8
- package/src/lib/components/form/input-opt/directives/opt-pattern.directive.ts +0 -34
- package/src/lib/components/form/input-opt/input-opt.module.ts +0 -25
- package/src/lib/components/form/input-opt/models/input-opt.model.ts +0 -30
- package/src/lib/components/form/input-opt/services/input-opt.service.ts +0 -40
- package/src/lib/components/form/input-password/assets/input-password-bullets.less +0 -12
- package/src/lib/components/form/input-password/assets/input-password-error.less +0 -21
- package/src/lib/components/form/input-password/assets/input-password-icons.less +0 -16
- package/src/lib/components/form/input-password/assets/input-password-sizes.less +0 -31
- package/src/lib/components/form/input-password/assets/input-password.less +0 -43
- package/src/lib/components/form/input-password/input-password.component.html +0 -41
- package/src/lib/components/form/input-password/input-password.component.less +0 -5
- package/src/lib/components/form/input-password/input-password.component.ts +0 -106
- package/src/lib/components/form/input-password/input-password.enum.ts +0 -9
- package/src/lib/components/form/input-password/input-password.module.ts +0 -24
- package/src/lib/components/form/input-phone/assets/input-phone-country-flags.less +0 -271
- package/src/lib/components/form/input-phone/assets/input-phone-dropdown.less +0 -46
- package/src/lib/components/form/input-phone/assets/input-phone-error.less +0 -21
- package/src/lib/components/form/input-phone/assets/input-phone-flags-icon.less +0 -28
- package/src/lib/components/form/input-phone/assets/input-phone-search.less +0 -17
- package/src/lib/components/form/input-phone/assets/input-phone-sizes.less +0 -31
- package/src/lib/components/form/input-phone/assets/input-phone-sprite.less +0 -1297
- package/src/lib/components/form/input-phone/assets/input-phone.less +0 -85
- package/src/lib/components/form/input-phone/data/country-code.ts +0 -1326
- package/src/lib/components/form/input-phone/directives/native-element-injector.directive.ts +0 -27
- package/src/lib/components/form/input-phone/enums/country-iso.enum.ts +0 -245
- package/src/lib/components/form/input-phone/enums/input-phone.enum.ts +0 -14
- package/src/lib/components/form/input-phone/enums/mask.enum.ts +0 -147
- package/src/lib/components/form/input-phone/enums/phone-number-format.enum.ts +0 -4
- package/src/lib/components/form/input-phone/enums/search-country-field.enum.ts +0 -6
- package/src/lib/components/form/input-phone/input-phone.component.html +0 -86
- package/src/lib/components/form/input-phone/input-phone.component.less +0 -9
- package/src/lib/components/form/input-phone/input-phone.component.ts +0 -693
- package/src/lib/components/form/input-phone/input-phone.module.ts +0 -33
- package/src/lib/components/form/input-phone/input-phone.validator.ts +0 -70
- package/src/lib/components/form/input-phone/interfaces/change-data.ts +0 -9
- package/src/lib/components/form/input-phone/models/country.model.ts +0 -15
- package/src/lib/components/form/input-search/assets/input-search-error.less +0 -21
- package/src/lib/components/form/input-search/assets/input-search-icons.less +0 -16
- package/src/lib/components/form/input-search/assets/input-search-sizes.less +0 -31
- package/src/lib/components/form/input-search/assets/input-search.less +0 -45
- package/src/lib/components/form/input-search/input-search.component.html +0 -44
- package/src/lib/components/form/input-search/input-search.component.less +0 -4
- package/src/lib/components/form/input-search/input-search.component.ts +0 -160
- package/src/lib/components/form/input-search/input-search.enum.ts +0 -7
- package/src/lib/components/form/input-search/input-search.module.ts +0 -26
- package/src/lib/components/form/input-select/assets/input-select-checked.less +0 -18
- package/src/lib/components/form/input-select/assets/input-select-dropdown.less +0 -92
- package/src/lib/components/form/input-select/assets/input-select-error.less +0 -43
- package/src/lib/components/form/input-select/assets/input-select-sizes.less +0 -135
- package/src/lib/components/form/input-select/assets/input-select-types.less +0 -85
- package/src/lib/components/form/input-select/assets/input-select.less +0 -191
- package/src/lib/components/form/input-select/input-select.component.html +0 -84
- package/src/lib/components/form/input-select/input-select.component.less +0 -6
- package/src/lib/components/form/input-select/input-select.component.ts +0 -182
- package/src/lib/components/form/input-select/input-select.enum.ts +0 -13
- package/src/lib/components/form/input-select/input-select.module.ts +0 -25
- package/src/lib/components/form/input-select/input-select.test.html +0 -13
- package/src/lib/components/form/input-tel/assets/base64.ts +0 -5
- package/src/lib/components/form/input-tel/assets/flags.png +0 -0
- package/src/lib/components/form/input-tel/assets/input-tel-country-flags.less +0 -986
- package/src/lib/components/form/input-tel/assets/input-tel-dropdown.less +0 -52
- package/src/lib/components/form/input-tel/assets/input-tel-error.less +0 -21
- package/src/lib/components/form/input-tel/assets/input-tel-flags-icon.less +0 -29
- package/src/lib/components/form/input-tel/assets/input-tel-sizes.less +0 -39
- package/src/lib/components/form/input-tel/assets/input-tel.less +0 -85
- package/src/lib/components/form/input-tel/data/all-countries.ts +0 -1323
- package/src/lib/components/form/input-tel/data/country-iso.enum.ts +0 -245
- package/src/lib/components/form/input-tel/data/phone-number-format.enum.ts +0 -6
- package/src/lib/components/form/input-tel/data/search-country-field.enum.ts +0 -6
- package/src/lib/components/form/input-tel/directives/input-tel.directive.ts +0 -59
- package/src/lib/components/form/input-tel/enums/input-phone.enum.ts +0 -14
- package/src/lib/components/form/input-tel/input-tel.component.html +0 -88
- package/src/lib/components/form/input-tel/input-tel.component.less +0 -6
- package/src/lib/components/form/input-tel/input-tel.component.ts +0 -374
- package/src/lib/components/form/input-tel/input-tel.module.ts +0 -30
- package/src/lib/components/form/input-tel/models/country.model.ts +0 -19
- package/src/lib/components/form/input-text/assets/input-text-disabled.less +0 -17
- package/src/lib/components/form/input-text/assets/input-text-error.less +0 -33
- package/src/lib/components/form/input-text/assets/input-text-icon.less +0 -25
- package/src/lib/components/form/input-text/assets/input-text-sizes.less +0 -61
- package/src/lib/components/form/input-text/assets/input-text.less +0 -25
- package/src/lib/components/form/input-text/input-text.component.html +0 -46
- package/src/lib/components/form/input-text/input-text.component.less +0 -5
- package/src/lib/components/form/input-text/input-text.component.ts +0 -176
- package/src/lib/components/form/input-text/input-text.enum.ts +0 -24
- package/src/lib/components/form/input-text/input-text.module.ts +0 -30
- package/src/lib/components/form/input-textarea/assets/input-textarea-disabled-block.less +0 -23
- package/src/lib/components/form/input-textarea/assets/input-textarea-disabled.less +0 -17
- package/src/lib/components/form/input-textarea/assets/input-textarea-error.less +0 -21
- package/src/lib/components/form/input-textarea/assets/input-textarea-sizes.less +0 -34
- package/src/lib/components/form/input-textarea/assets/input-textarea.less +0 -24
- package/src/lib/components/form/input-textarea/input-textarea.component.html +0 -38
- package/src/lib/components/form/input-textarea/input-textarea.component.less +0 -5
- package/src/lib/components/form/input-textarea/input-textarea.component.ts +0 -179
- package/src/lib/components/form/input-textarea/input-textarea.enum.ts +0 -14
- package/src/lib/components/form/input-textarea/input-textarea.module.ts +0 -30
- package/src/lib/components/form/input-timepicker/constants/value-models.ts +0 -9
- package/src/lib/components/form/input-timepicker/helpers/clean-date.ts +0 -5
- package/src/lib/components/form/input-timepicker/helpers/cursor-position.ts +0 -12
- package/src/lib/components/form/input-timepicker/helpers/get-date-dayjs-object.ts +0 -6
- package/src/lib/components/form/input-timepicker/helpers/get-date-object.ts +0 -6
- package/src/lib/components/form/input-timepicker/helpers/validate-value-models.ts +0 -42
- package/src/lib/components/form/input-timepicker/helpers/value-parser.ts +0 -21
- package/src/lib/components/form/input-timepicker/input-timepicker.component.html +0 -57
- package/src/lib/components/form/input-timepicker/input-timepicker.component.ts +0 -293
- package/src/lib/components/form/input-timepicker/input-timepicker.components.scss +0 -1
- package/src/lib/components/form/input-timepicker/input-timepicker.enum.ts +0 -14
- package/src/lib/components/form/input-timepicker/input-timepicker.module.ts +0 -29
- package/src/lib/components/form/radio/assets/radio-error.less +0 -9
- package/src/lib/components/form/radio/assets/radio-input.less +0 -10
- package/src/lib/components/form/radio/assets/radio-label.less +0 -26
- package/src/lib/components/form/radio/assets/radio-mark.less +0 -62
- package/src/lib/components/form/radio/assets/radio-wrapper.less +0 -5
- package/src/lib/components/form/radio/assets/radio.less +0 -11
- package/src/lib/components/form/radio/radio.component.html +0 -25
- package/src/lib/components/form/radio/radio.component.less +0 -6
- package/src/lib/components/form/radio/radio.component.ts +0 -74
- package/src/lib/components/form/radio/radio.enum.ts +0 -5
- package/src/lib/components/form/radio/radio.module.ts +0 -14
- package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.html +0 -14
- package/src/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.ts +0 -32
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.html +0 -49
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.less +0 -17
- package/src/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.ts +0 -53
- package/src/lib/components/form/radio-group/helpers/filter-search-group.ts +0 -29
- package/src/lib/components/form/radio-group/helpers/get-item-by-id.ts +0 -11
- package/src/lib/components/form/radio-group/helpers/move-selected-to-first.ts +0 -33
- package/src/lib/components/form/radio-group/models/radio-group.model.ts +0 -10
- package/src/lib/components/form/radio-group/radio-group.component.html +0 -45
- package/src/lib/components/form/radio-group/radio-group.component.less +0 -21
- package/src/lib/components/form/radio-group/radio-group.component.ts +0 -154
- package/src/lib/components/form/radio-group/radio-group.module.ts +0 -20
- package/src/lib/components/form/rating/assets/rating-disabled.less +0 -5
- package/src/lib/components/form/rating/assets/rating-item.less +0 -44
- package/src/lib/components/form/rating/assets/rating-size.less +0 -24
- package/src/lib/components/form/rating/assets/rating.less +0 -17
- package/src/lib/components/form/rating/rating.component.html +0 -75
- package/src/lib/components/form/rating/rating.component.less +0 -4
- package/src/lib/components/form/rating/rating.component.ts +0 -213
- package/src/lib/components/form/rating/rating.enum.ts +0 -36
- package/src/lib/components/form/rating/rating.module.ts +0 -15
- package/src/lib/components/form/switch/assets/switch-label.less +0 -26
- package/src/lib/components/form/switch/assets/switch-sizes.less +0 -50
- package/src/lib/components/form/switch/assets/switch-types.less +0 -18
- package/src/lib/components/form/switch/assets/switch.less +0 -73
- package/src/lib/components/form/switch/switch.component.html +0 -53
- package/src/lib/components/form/switch/switch.component.less +0 -4
- package/src/lib/components/form/switch/switch.component.ts +0 -85
- package/src/lib/components/form/switch/switch.enum.ts +0 -20
- package/src/lib/components/form/switch/switch.module.ts +0 -13
- package/src/lib/components/gallery/assets/fancybox.less +0 -1319
- package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.html +0 -30
- package/src/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.ts +0 -31
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.html +0 -58
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.less +0 -85
- package/src/lib/components/gallery/components/gallery-item/gallery-item.component.ts +0 -104
- package/src/lib/components/gallery/constants/custom-buttons-default.ts +0 -15
- package/src/lib/components/gallery/constants/thumbs-config-default.ts +0 -6
- package/src/lib/components/gallery/gallery.component.html +0 -32
- package/src/lib/components/gallery/gallery.component.less +0 -14
- package/src/lib/components/gallery/gallery.component.ts +0 -202
- package/src/lib/components/gallery/gallery.module.ts +0 -32
- package/src/lib/components/gallery/helpers/rotate-image.ts +0 -33
- package/src/lib/components/gallery/models/gallery-item.model.ts +0 -26
- package/src/lib/components/gallery/services/gallery.service.ts +0 -33
- package/src/lib/components/hint-error-message/hint-error-message.component.html +0 -5
- package/src/lib/components/hint-error-message/hint-error-message.component.less +0 -11
- package/src/lib/components/hint-error-message/hint-error-message.component.ts +0 -125
- package/src/lib/components/hint-error-message/hint-error-message.module.ts +0 -11
- package/src/lib/components/icon-button/icon-button.component.html +0 -9
- package/src/lib/components/icon-button/icon-button.component.less +0 -84
- package/src/lib/components/icon-button/icon-button.component.ts +0 -41
- package/src/lib/components/icon-button/icon-button.enum.ts +0 -20
- package/src/lib/components/icon-button/icon-button.module.ts +0 -11
- package/src/lib/components/label/label.component.html +0 -57
- package/src/lib/components/label/label.component.less +0 -49
- package/src/lib/components/label/label.component.ts +0 -103
- package/src/lib/components/label/label.module.ts +0 -19
- package/src/lib/components/link/assets/link-monochrome.less +0 -21
- package/src/lib/components/link/assets/link.less +0 -54
- package/src/lib/components/link/link.component.html +0 -9
- package/src/lib/components/link/link.component.less +0 -2
- package/src/lib/components/link/link.component.ts +0 -42
- package/src/lib/components/link/link.enum.ts +0 -24
- package/src/lib/components/link/link.module.ts +0 -13
- package/src/lib/components/loader/assets/loader-color.less +0 -60
- package/src/lib/components/loader/assets/loader-sizes.less +0 -21
- package/src/lib/components/loader/assets/loader.less +0 -25
- package/src/lib/components/loader/loader.component.html +0 -13
- package/src/lib/components/loader/loader.component.less +0 -3
- package/src/lib/components/loader/loader.component.ts +0 -17
- package/src/lib/components/loader/loader.enum.ts +0 -22
- package/src/lib/components/loader/loader.module.ts +0 -11
- package/src/lib/components/modal/assets/modal-animations.less +0 -13
- package/src/lib/components/modal/assets/modal-body.less +0 -19
- package/src/lib/components/modal/assets/modal-colors.less +0 -62
- package/src/lib/components/modal/assets/modal-footer.less +0 -5
- package/src/lib/components/modal/assets/modal-header.less +0 -47
- package/src/lib/components/modal/assets/modal-sizes.less +0 -17
- package/src/lib/components/modal/assets/modal.less +0 -49
- package/src/lib/components/modal/modal.component.html +0 -55
- package/src/lib/components/modal/modal.component.less +0 -7
- package/src/lib/components/modal/modal.component.ts +0 -118
- package/src/lib/components/modal/modal.emun.ts +0 -25
- package/src/lib/components/modal/modal.module.ts +0 -12
- package/src/lib/components/pages-nav/pages-nav.component.html +0 -20
- package/src/lib/components/pages-nav/pages-nav.component.less +0 -40
- package/src/lib/components/pages-nav/pages-nav.component.ts +0 -22
- package/src/lib/components/pages-nav/pages-nav.enum.ts +0 -6
- package/src/lib/components/pages-nav/pages-nav.module.ts +0 -18
- package/src/lib/components/paginator/assets/paginator-select.less +0 -20
- package/src/lib/components/paginator/assets/paginator-types.less +0 -13
- package/src/lib/components/paginator/assets/paginator.less +0 -66
- package/src/lib/components/paginator/paginator.component.html +0 -55
- package/src/lib/components/paginator/paginator.component.less +0 -3
- package/src/lib/components/paginator/paginator.component.ts +0 -129
- package/src/lib/components/paginator/paginator.enum.ts +0 -18
- package/src/lib/components/paginator/paginator.module.ts +0 -20
- package/src/lib/components/progress/assets/progress-color.less +0 -26
- package/src/lib/components/progress/assets/progress.less +0 -12
- package/src/lib/components/progress/progress.component.html +0 -3
- package/src/lib/components/progress/progress.component.less +0 -2
- package/src/lib/components/progress/progress.component.ts +0 -19
- package/src/lib/components/progress/progress.enum.ts +0 -7
- package/src/lib/components/progress/progress.module.ts +0 -11
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.html +0 -66
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.less +0 -32
- package/src/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.ts +0 -14
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.html +0 -66
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.less +0 -32
- package/src/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.ts +0 -14
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.html +0 -66
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.less +0 -32
- package/src/lib/components/save-state/components/save-state-editor/save-state-editor.component.ts +0 -14
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.html +0 -66
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.less +0 -34
- package/src/lib/components/save-state/components/save-state-input/save-state-input.component.ts +0 -14
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.html +0 -66
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.less +0 -32
- package/src/lib/components/save-state/components/save-state-switch/save-state-switch.component.ts +0 -14
- package/src/lib/components/save-state/save-state.component.html +0 -9
- package/src/lib/components/save-state/save-state.component.less +0 -0
- package/src/lib/components/save-state/save-state.component.ts +0 -32
- package/src/lib/components/save-state/save-state.enum.ts +0 -1
- package/src/lib/components/save-state/save-state.module.ts +0 -28
- package/src/lib/components/stepper/stepper.component.html +0 -30
- package/src/lib/components/stepper/stepper.component.less +0 -27
- package/src/lib/components/stepper/stepper.component.ts +0 -38
- package/src/lib/components/stepper/stepper.enum.ts +0 -5
- package/src/lib/components/stepper/stepper.module.ts +0 -12
- package/src/lib/components/table/assets/table-counter.less +0 -8
- package/src/lib/components/table/assets/table-download.less +0 -19
- package/src/lib/components/table/assets/table-empty-message.less +0 -27
- package/src/lib/components/table/assets/table-overlay.less +0 -17
- package/src/lib/components/table/assets/table-paginator.less +0 -9
- package/src/lib/components/table/assets/table-sort-select.less +0 -70
- package/src/lib/components/table/assets/table-striped.less +0 -42
- package/src/lib/components/table/assets/table-toggle.less +0 -22
- package/src/lib/components/table/assets/table-types.less +0 -118
- package/src/lib/components/table/assets/table.less +0 -30
- package/src/lib/components/table/components/column/column.component.ts +0 -17
- package/src/lib/components/table/default/default-pager-settings.ts +0 -8
- package/src/lib/components/table/models/data-state-change.event.ts +0 -16
- package/src/lib/components/table/models/index.ts +0 -3
- package/src/lib/components/table/models/pager-settings.ts +0 -26
- package/src/lib/components/table/table.component.html +0 -220
- package/src/lib/components/table/table.component.less +0 -10
- package/src/lib/components/table/table.component.ts +0 -260
- package/src/lib/components/table/table.enum.ts +0 -41
- package/src/lib/components/table/table.module.ts +0 -30
- package/src/lib/components/tabs/tab/tab.component.html +0 -4
- package/src/lib/components/tabs/tab/tab.component.less +0 -15
- package/src/lib/components/tabs/tab/tab.component.ts +0 -22
- package/src/lib/components/tabs/tabs-group/assets/tabs-button.less +0 -43
- package/src/lib/components/tabs/tabs-group/assets/tabs-group.less +0 -9
- package/src/lib/components/tabs/tabs-group/assets/tabs-size.less +0 -50
- package/src/lib/components/tabs/tabs-group/assets/tabs-types.less +0 -63
- package/src/lib/components/tabs/tabs-group/tabs-group.component.html +0 -5
- package/src/lib/components/tabs/tabs-group/tabs-group.component.less +0 -4
- package/src/lib/components/tabs/tabs-group/tabs-group.component.ts +0 -23
- package/src/lib/components/tabs/tabs.enum.ts +0 -15
- package/src/lib/components/tabs/tabs.module.ts +0 -12
- package/src/lib/components/tooltip/services/tooltip.service.ts +0 -74
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-right.less +0 -39
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger-top.less +0 -41
- package/src/lib/components/tooltip/tooltip-trigger/assets/tooltip-trigger.less +0 -29
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.html +0 -11
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.less +0 -3
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.ts +0 -29
- package/src/lib/components/tooltip/tooltip-trigger/tooltip-trigger.enum.ts +0 -13
- package/src/lib/components/tooltip/tooltip.component.html +0 -4
- package/src/lib/components/tooltip/tooltip.component.less +0 -19
- package/src/lib/components/tooltip/tooltip.component.ts +0 -51
- package/src/lib/components/tooltip/tooltip.enum.ts +0 -4
- package/src/lib/components/tooltip/tooltip.module.ts +0 -13
- package/src/lib/components/truncate-text/directives/truncate-text.directive.ts +0 -158
- package/src/lib/components/truncate-text/truncate-text.component.html +0 -21
- package/src/lib/components/truncate-text/truncate-text.component.ts +0 -19
- package/src/lib/components/truncate-text/truncate-text.enum.ts +0 -2
- package/src/lib/components/truncate-text/truncate-text.module.ts +0 -13
- package/src/lib/components/warning-message/warning-message.component.html +0 -8
- package/src/lib/components/warning-message/warning-message.component.less +0 -12
- package/src/lib/components/warning-message/warning-message.component.ts +0 -24
- package/src/lib/components/warning-message/warning-message.module.ts +0 -11
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.html +0 -9
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.less +0 -13
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.component.ts +0 -18
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.enum.ts +0 -6
- package/src/lib/components/wrappers/content-wrapper/content-wrapper.module.ts +0 -13
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.html +0 -6
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.less +0 -39
- package/src/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.ts +0 -11
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.html +0 -7
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.less +0 -30
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.component.ts +0 -18
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.enum.ts +0 -7
- package/src/lib/components/wrappers/controls-wrapper/controls-wrapper.module.ts +0 -14
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.html +0 -50
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.less +0 -88
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.component.ts +0 -82
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.enum.ts +0 -17
- package/src/lib/components/wrappers/widget-wrapper/widget-wrapper.module.ts +0 -18
- package/src/lib/directives/autosize/autosize.directive.ts +0 -55
- package/src/lib/directives/autosize/autosize.module.ts +0 -16
- package/src/lib/directives/delayed-value/delayed-value.directive.ts +0 -37
- package/src/lib/directives/delayed-value/delayed-value.module.ts +0 -16
- package/src/lib/directives/truncate/truncate.directive.ts +0 -26
- package/src/lib/directives/truncate/truncate.module.ts +0 -10
- package/src/lib/enums/typed.input.state.ts +0 -6
- package/src/lib/helpers/extension/input-file.extension.ts +0 -47
- package/src/lib/helpers/formatting-date.ts +0 -65
- package/src/lib/helpers/formatting-dates-from-array.ts +0 -21
- package/src/lib/helpers/formatting-iso-to-string.ts +0 -20
- package/src/lib/helpers/index.ts +0 -8
- package/src/lib/helpers/number-format.ts +0 -8
- package/src/lib/helpers/string-hash-code.ts +0 -16
- package/src/lib/helpers/word-form.ts +0 -11
- package/src/lib/models/index.ts +0 -2
- package/src/lib/models/input-file/input-file.model.ts +0 -25
- package/src/lib/models/typed-input-model.ts +0 -17
- package/src/lib/myrta-ui.module.ts +0 -146
- package/src/lib/pipes/currency/currency.module.ts +0 -14
- package/src/lib/pipes/currency/currency.pipe.ts +0 -19
- package/src/lib/pipes/date/date-format.module.ts +0 -11
- package/src/lib/pipes/date/date-format.pipe.ts +0 -17
- package/src/lib/pipes/date/date-time-format.pipe.ts +0 -17
- package/src/lib/pipes/date/enums/timezone.ts +0 -10
- package/src/lib/pipes/date/helpers/change-timezone.ts +0 -25
- package/src/lib/pipes/phone/phone-format.module.ts +0 -10
- package/src/lib/pipes/phone/phone-format.pipe.ts +0 -16
- package/src/lib/pipes/safe/safe.module.ts +0 -14
- package/src/lib/pipes/safe/safe.pipe.ts +0 -14
- package/src/lib/pipes/truncate/truncate.module.ts +0 -14
- package/src/lib/pipes/truncate/truncate.pipe.ts +0 -19
- package/src/lib/services/file-upload/file-upload.service.ts +0 -24
- package/src/lib/services/index.ts +0 -7
- package/src/lib/services/mrx-autosave/mrx-autosave.service.ts +0 -58
- package/src/lib/services/mrx-form-validator/mrx-form-validator.ts +0 -346
- package/src/lib/services/save-store/constants/constants.ts +0 -1
- package/src/lib/services/save-store/models/save-store.model.ts +0 -4
- package/src/lib/services/save-store/save-store.module.ts +0 -17
- package/src/lib/services/save-store/store/actions.ts +0 -56
- package/src/lib/services/save-store/store/effect.ts +0 -61
- package/src/lib/services/save-store/store/reducer.ts +0 -91
- package/src/lib/services/save-store/store/selectors.ts +0 -10
- package/src/lib/services/save-store/store/state.ts +0 -16
- package/src/public-api.ts +0 -246
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { AlertColorClasses, AlertIconClasses } from './alert.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class AlertComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.customClasses = '';
|
|
8
|
+
this.color = 'info';
|
|
9
|
+
this.customColor = '';
|
|
10
|
+
this.message = '';
|
|
11
|
+
this.title = '';
|
|
12
|
+
this.closable = false;
|
|
13
|
+
this.close = new EventEmitter();
|
|
14
|
+
}
|
|
15
|
+
get getClasses() {
|
|
16
|
+
return `${AlertColorClasses[this.color] ?? ''} ${this.customClasses}`;
|
|
17
|
+
}
|
|
18
|
+
get getIconClass() {
|
|
19
|
+
return `${AlertIconClasses[this.color]}`;
|
|
20
|
+
}
|
|
21
|
+
onCloseClick() {
|
|
22
|
+
this.close.emit(null);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
AlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
AlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: AlertComponent, selector: "mrx-alert", inputs: { customClasses: "customClasses", color: "color", customColor: "customColor", message: "message", title: "title", closable: "closable" }, outputs: { close: "close" }, ngImport: i0, template: "<div class=\"mrx-alert\" [class]=\"getClasses\" [style]=\"{backgroundColor: customColor}\">\n <span\n *ngIf=\"closable\"\n class=\"mrx-icon icon-close icon-font-16\"\n (click)=\"onCloseClick()\"\n ></span>\n <span\n *ngIf=\"title || message\"\n [class]=\"getIconClass\"\n style=\"margin-top: 1px\"\n class=\"mrx-icon icon-alert icon-font-16 mr-2\"\n ></span>\n <div *ngIf=\"title\" class=\"mrx-alert-title mb-1\" [class.ml-4]=\"getIconClass\" [innerHTML]=\"title\"></div>\n <div *ngIf=\"message\" class=\"mrx-alert-message\" [class.ml-4]=\"getIconClass\" [innerHTML]=\"message\"></div>\n\n <ng-content></ng-content>\n</div>\n", styles: [".mrx-alert.mrx-alert{border-radius:var(--border-radius-1);padding:var(--spacing-3) var(--spacing-4);position:relative;color:var(--neutral-text-primary);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-alert.mrx-alert .mrx-alert-title{display:flex;align-items:center;font-family:var(--body-lg-bold-font-family);font-size:var(--body-lg-bold-font-size);font-weight:var(--body-lg-bold-font-weight);line-height:var(--body-lg-bold-line-height)}.mrx-alert.mrx-alert .icon-close{position:absolute;top:calc(var(--spacing-module) * 2);right:calc(var(--spacing-module) * 2);cursor:pointer}.mrx-alert.mrx-alert .icon-alert{position:absolute;top:13px;left:16px}.mrx-alert.mrx-alert.color-info{background-color:var(--brand-bg-secondary-default)}.mrx-alert.mrx-alert.color-success{background-color:var(--system-bg-positive-secondary)}.mrx-alert.mrx-alert.color-success .mrx-icon{color:var(--system-icon-positive)}.mrx-alert.mrx-alert.color-warning{background-color:var(--system-bg-attention-secondary)}.mrx-alert.mrx-alert.color-warning .mrx-icon{color:var(--system-icon-attention)}.mrx-alert.mrx-alert.color-danger{background-color:var(--system-bg-negative-secondary)}.mrx-alert.mrx-alert.color-danger .mrx-icon{color:var(--system-icon-negative)}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AlertComponent, decorators: [{
|
|
28
|
+
type: Component,
|
|
29
|
+
args: [{ selector: 'mrx-alert', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mrx-alert\" [class]=\"getClasses\" [style]=\"{backgroundColor: customColor}\">\n <span\n *ngIf=\"closable\"\n class=\"mrx-icon icon-close icon-font-16\"\n (click)=\"onCloseClick()\"\n ></span>\n <span\n *ngIf=\"title || message\"\n [class]=\"getIconClass\"\n style=\"margin-top: 1px\"\n class=\"mrx-icon icon-alert icon-font-16 mr-2\"\n ></span>\n <div *ngIf=\"title\" class=\"mrx-alert-title mb-1\" [class.ml-4]=\"getIconClass\" [innerHTML]=\"title\"></div>\n <div *ngIf=\"message\" class=\"mrx-alert-message\" [class.ml-4]=\"getIconClass\" [innerHTML]=\"message\"></div>\n\n <ng-content></ng-content>\n</div>\n", styles: [".mrx-alert.mrx-alert{border-radius:var(--border-radius-1);padding:var(--spacing-3) var(--spacing-4);position:relative;color:var(--neutral-text-primary);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-alert.mrx-alert .mrx-alert-title{display:flex;align-items:center;font-family:var(--body-lg-bold-font-family);font-size:var(--body-lg-bold-font-size);font-weight:var(--body-lg-bold-font-weight);line-height:var(--body-lg-bold-line-height)}.mrx-alert.mrx-alert .icon-close{position:absolute;top:calc(var(--spacing-module) * 2);right:calc(var(--spacing-module) * 2);cursor:pointer}.mrx-alert.mrx-alert .icon-alert{position:absolute;top:13px;left:16px}.mrx-alert.mrx-alert.color-info{background-color:var(--brand-bg-secondary-default)}.mrx-alert.mrx-alert.color-success{background-color:var(--system-bg-positive-secondary)}.mrx-alert.mrx-alert.color-success .mrx-icon{color:var(--system-icon-positive)}.mrx-alert.mrx-alert.color-warning{background-color:var(--system-bg-attention-secondary)}.mrx-alert.mrx-alert.color-warning .mrx-icon{color:var(--system-icon-attention)}.mrx-alert.mrx-alert.color-danger{background-color:var(--system-bg-negative-secondary)}.mrx-alert.mrx-alert.color-danger .mrx-icon{color:var(--system-icon-negative)}\n"] }]
|
|
30
|
+
}], propDecorators: { customClasses: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], color: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}], customColor: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], message: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], title: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], closable: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}], close: [{
|
|
43
|
+
type: Output
|
|
44
|
+
}] } });
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2FsZXJ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iAqbmdJZj1cInRpdGxlXCIgY2xhc3M9XCJtcngtYWxlcnQtdGl0bGUgbWItMVwiIFtjbGFzcy5tbC00XT1cImdldEljb25DbGFzc1wiIFtpbm5lckhUTUxdPVwidGl0bGVcIj48L2Rpdj5cbiAgICA8ZGl2ICpuZ0lmPVwibWVzc2FnZVwiIGNsYXNzPVwibXJ4LWFsZXJ0LW1lc3NhZ2VcIiBbY2xhc3MubWwtNF09XCJnZXRJY29uQ2xhc3NcIiBbaW5uZXJIVE1MXT1cIm1lc3NhZ2VcIj48L2Rpdj5cblxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export var AlertColorClasses;
|
|
2
|
+
(function (AlertColorClasses) {
|
|
3
|
+
AlertColorClasses["info"] = "color-info";
|
|
4
|
+
AlertColorClasses["success"] = "color-success";
|
|
5
|
+
AlertColorClasses["warning"] = "color-warning";
|
|
6
|
+
AlertColorClasses["danger"] = "color-danger";
|
|
7
|
+
})(AlertColorClasses || (AlertColorClasses = {}));
|
|
8
|
+
export var AlertIconClasses;
|
|
9
|
+
(function (AlertIconClasses) {
|
|
10
|
+
AlertIconClasses["info"] = "icon-info";
|
|
11
|
+
AlertIconClasses["success"] = "icon-check-task";
|
|
12
|
+
AlertIconClasses["warning"] = "icon-attention";
|
|
13
|
+
AlertIconClasses["danger"] = "icon-attention";
|
|
14
|
+
})(AlertIconClasses || (AlertIconClasses = {}));
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9hbGVydC9hbGVydC5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBTixJQUFZLGlCQUtYO0FBTEQsV0FBWSxpQkFBaUI7SUFDM0Isd0NBQXFCLENBQUE7SUFDckIsOENBQTJCLENBQUE7SUFDM0IsOENBQTJCLENBQUE7SUFDM0IsNENBQXlCLENBQUE7QUFDM0IsQ0FBQyxFQUxXLGlCQUFpQixLQUFqQixpQkFBaUIsUUFLNUI7QUFFRCxNQUFNLENBQU4sSUFBWSxnQkFLWDtBQUxELFdBQVksZ0JBQWdCO0lBQzFCLHNDQUFvQixDQUFBO0lBQ3BCLCtDQUE2QixDQUFBO0lBQzdCLDhDQUE0QixDQUFBO0lBQzVCLDZDQUEyQixDQUFBO0FBQzdCLENBQUMsRUFMVyxnQkFBZ0IsS0FBaEIsZ0JBQWdCLFFBSzNCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgQWxlcnRDb2xvcnMgPSAnZGFuZ2VyJyB8ICd3YXJuaW5nJyB8ICdzdWNjZXNzJyB8ICdpbmZvJztcblxuZXhwb3J0IGVudW0gQWxlcnRDb2xvckNsYXNzZXMge1xuICAnaW5mbycgPSAnY29sb3ItaW5mbycsXG4gICdzdWNjZXNzJyA9ICdjb2xvci1zdWNjZXNzJyxcbiAgJ3dhcm5pbmcnID0gJ2NvbG9yLXdhcm5pbmcnLFxuICAnZGFuZ2VyJyA9ICdjb2xvci1kYW5nZXInLFxufVxuXG5leHBvcnQgZW51bSBBbGVydEljb25DbGFzc2VzIHtcbiAgJ2luZm8nID0gJ2ljb24taW5mbycsXG4gICdzdWNjZXNzJyA9ICdpY29uLWNoZWNrLXRhc2snLFxuICAnd2FybmluZycgPSAnaWNvbi1hdHRlbnRpb24nLFxuICAnZGFuZ2VyJyA9ICdpY29uLWF0dGVudGlvbicsXG59XG4iXX0=
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AlertComponent } from './alert.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class AlertModule {
|
|
6
|
+
}
|
|
7
|
+
AlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
AlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AlertModule, declarations: [AlertComponent], imports: [CommonModule], exports: [AlertComponent] });
|
|
9
|
+
AlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AlertModule, imports: [[CommonModule]] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AlertModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
declarations: [AlertComponent],
|
|
14
|
+
imports: [CommonModule],
|
|
15
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
16
|
+
exports: [AlertComponent],
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2FsZXJ0L2FsZXJ0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsY0FBYyxFQUFFLE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BadgeTypeEnum = {}));
|
|
6
|
+
export var BadgeSizeEnum;
|
|
7
|
+
(function (BadgeSizeEnum) {
|
|
8
|
+
BadgeSizeEnum["default"] = "mrx-size-default";
|
|
9
|
+
BadgeSizeEnum["small"] = "mrx-size-small";
|
|
10
|
+
})(BadgeSizeEnum || (BadgeSizeEnum = {}));
|
|
11
|
+
export var BadgeTagTypeClassesEnum;
|
|
12
|
+
(function (BadgeTagTypeClassesEnum) {
|
|
13
|
+
BadgeTagTypeClassesEnum["tag"] = "mrx-badge-tag";
|
|
14
|
+
BadgeTagTypeClassesEnum["link"] = "mrx-badge-link";
|
|
15
|
+
BadgeTagTypeClassesEnum["button"] = "mrx-badge-button";
|
|
16
|
+
})(BadgeTagTypeClassesEnum || (BadgeTagTypeClassesEnum = {}));
|
|
17
|
+
export var BadgeColorClassesEnum;
|
|
18
|
+
(function (BadgeColorClassesEnum) {
|
|
19
|
+
BadgeColorClassesEnum["positive"] = "mrx-badge-color-positive";
|
|
20
|
+
BadgeColorClassesEnum["negative"] = "mrx-badge-color-negative";
|
|
21
|
+
BadgeColorClassesEnum["attention"] = "mrx-badge-color-attention";
|
|
22
|
+
BadgeColorClassesEnum["neutral"] = "mrx-badge-color-neutral";
|
|
23
|
+
BadgeColorClassesEnum["brand"] = "mrx-badge-color-brand";
|
|
24
|
+
})(BadgeColorClassesEnum || (BadgeColorClassesEnum = {}));
|
|
25
|
+
export var BadgeTargetTypesEnum;
|
|
26
|
+
(function (BadgeTargetTypesEnum) {
|
|
27
|
+
BadgeTargetTypesEnum["_self"] = "_self";
|
|
28
|
+
BadgeTargetTypesEnum["_blank"] = "_blank";
|
|
29
|
+
BadgeTargetTypesEnum["_parent"] = "_parent";
|
|
30
|
+
BadgeTargetTypesEnum["_top"] = "_top";
|
|
31
|
+
})(BadgeTargetTypesEnum || (BadgeTargetTypesEnum = {}));
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2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59XG5cbmV4cG9ydCB0eXBlIEJhZGdlQ29sb3JUeXBlID0gJ3Bvc2l0aXZlJyB8ICduZWdhdGl2ZScgfCAnYXR0ZW50aW9uJyB8ICduZXV0cmFsJyB8ICdicmFuZCdcblxuZXhwb3J0IGludGVyZmFjZSBCYWRnZUkge1xuICB0eXBlPzogQmFkZ2VUeXBlLFxuICB0YWc/OiBCYWRnZVRhZ1R5cGUsXG4gIGNvbG9yPzogQmFkZ2VDb2xvclR5cGUsXG4gIHBhdGg/OiBzdHJpbmcsXG4gIHRleHQ6IHN0cmluZ1xufVxuXG5leHBvcnQgZW51bSBCYWRnZVRhcmdldFR5cGVzRW51bSB7XG4gICdfc2VsZicgPSAnX3NlbGYnLFxuICAnX2JsYW5rJyA9ICdfYmxhbmsnLFxuICAnX3BhcmVudCcgPSAnX3BhcmVudCcsXG4gICdfdG9wJyA9ICdfdG9wJyxcbn1cblxuZXhwb3J0IHR5cGUgQmFkZ2VUYXJnZXRUeXBlcyA9ICdfc2VsZicgfCAnX2JsYW5rJyB8ICdfcGFyZW50JyB8ICdfdG9wJ1xuIl19
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { BadgeComponent } from './components/badge/badge.component';
|
|
4
|
+
import { BadgeGroupComponent } from './components/badge-group/badge-group.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class BadgesModule {
|
|
7
|
+
}
|
|
8
|
+
BadgesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BadgesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
BadgesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BadgesModule, declarations: [BadgeComponent,
|
|
10
|
+
BadgeGroupComponent], imports: [CommonModule], exports: [BadgeComponent,
|
|
11
|
+
BadgeGroupComponent] });
|
|
12
|
+
BadgesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BadgesModule, imports: [[
|
|
13
|
+
CommonModule
|
|
14
|
+
]] });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BadgesModule, decorators: [{
|
|
16
|
+
type: NgModule,
|
|
17
|
+
args: [{
|
|
18
|
+
declarations: [
|
|
19
|
+
BadgeComponent,
|
|
20
|
+
BadgeGroupComponent
|
|
21
|
+
],
|
|
22
|
+
imports: [
|
|
23
|
+
CommonModule
|
|
24
|
+
],
|
|
25
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
26
|
+
exports: [
|
|
27
|
+
BadgeComponent,
|
|
28
|
+
BadgeGroupComponent
|
|
29
|
+
]
|
|
30
|
+
}]
|
|
31
|
+
}] });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2VzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9iYWRnZXMvYmFkZ2VzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDcEUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0RBQWdELENBQUM7O0FBaUJyRixNQUFNLE9BQU8s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tcG9uZW50LFxuICAgIEJhZGdlR3JvdXBDb21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBCYWRnZXNNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { BadgeColorClassesEnum, BadgeSizeEnum, BadgeTagTypeClassesEnum, BadgeTypeEnum, } from '../../badge.enum';
|
|
3
|
+
import { LinkTargetTypesEnum } from '../../../link/link.enum';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
export class BadgeComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.type = 'default';
|
|
9
|
+
this.tag = 'tag';
|
|
10
|
+
this.size = 'default';
|
|
11
|
+
this.color = 'brand';
|
|
12
|
+
this.text = '';
|
|
13
|
+
this.customClasses = '';
|
|
14
|
+
this.target = '_self';
|
|
15
|
+
this.clicked = new EventEmitter();
|
|
16
|
+
}
|
|
17
|
+
get getCustomColor() {
|
|
18
|
+
return this.customColor ? this.customColor : null;
|
|
19
|
+
}
|
|
20
|
+
get getClasses() {
|
|
21
|
+
return `${this.customClasses} ${BadgeTagTypeClassesEnum[this.tag]} ${BadgeTypeEnum[this.type]} ${this.customColor ? '' : BadgeColorClassesEnum[this.color]} ${BadgeSizeEnum[this.size]}`;
|
|
22
|
+
}
|
|
23
|
+
get getTarget() {
|
|
24
|
+
return LinkTargetTypesEnum[this.target];
|
|
25
|
+
}
|
|
26
|
+
onClick($event) {
|
|
27
|
+
this.clicked.emit({
|
|
28
|
+
type: this.type,
|
|
29
|
+
color: this.color,
|
|
30
|
+
text: this.text,
|
|
31
|
+
path: this.path
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
BadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
BadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: BadgeComponent, selector: "mrx-badge", inputs: { type: "type", tag: "tag", size: "size", color: "color", customColor: "customColor", text: "text", path: "path", customClasses: "customClasses", target: "target" }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"tag\">\n <ng-container *ngSwitchCase=\"'button'\">\n <button\n class=\"mrx-badge\"\n [class]=\"getClasses\"\n [style]=\"{ backgroundColor: getCustomColor }\"\n (click)=\"onClick($event)\"\n >\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>{{text}}\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'link'\">\n <a [href]=\"path\" class=\"mrx-badge\" [class]=\"getClasses\" [style]=\"{ backgroundColor: getCustomColor }\" [target]=\"getTarget\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>{{text}}\n </a>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <span class=\"mrx-badge\" [class]=\"getClasses\" [style]=\"{ backgroundColor: getCustomColor }\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>{{text}}\n </span>\n </ng-container>\n</ng-container>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", styles: [".mrx-badge.mrx-badge{display:block;font-family:var(--body-sm-font-famil);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-badge.mrx-badge.mrx-badge-color-positive{background-color:var(--system-bg-positive-primary);color:var(--neutral-text-primary)}.mrx-badge.mrx-badge.mrx-badge-color-positive.mrx-badge-button,.mrx-badge.mrx-badge.mrx-badge-color-positive.mrx-badge-link{transition:background-color .2s}.mrx-badge.mrx-badge.mrx-badge-color-positive.mrx-badge-button:hover,.mrx-badge.mrx-badge.mrx-badge-color-positive.mrx-badge-link:hover{background-color:var(--system-bg-positive-primary-hover)}.mrx-badge.mrx-badge.mrx-badge-color-negative{background-color:var(--system-bg-negative-primary);color:var(--neutral-text-primary)!important}.mrx-badge.mrx-badge.mrx-badge-color-negative.mrx-badge-button,.mrx-badge.mrx-badge.mrx-badge-color-negative.mrx-badge-link{transition:background-color .2s}.mrx-badge.mrx-badge.mrx-badge-color-negative.mrx-badge-button:hover,.mrx-badge.mrx-badge.mrx-badge-color-negative.mrx-badge-link:hover{background-color:var(--system-bg-negative-primary-hover)}.mrx-badge.mrx-badge.mrx-badge-color-attention{background-color:var(--system-bg-attention-primary);color:var(--neutral-text-primary)}.mrx-badge.mrx-badge.mrx-badge-color-attention.mrx-badge-button,.mrx-badge.mrx-badge.mrx-badge-color-attention.mrx-badge-link{transition:background-color .2s}.mrx-badge.mrx-badge.mrx-badge-color-attention.mrx-badge-button:hover,.mrx-badge.mrx-badge.mrx-badge-color-attention.mrx-badge-link:hover{background-color:var(--system-bg-attention-primary-hover)}.mrx-badge.mrx-badge.mrx-badge-color-neutral{background-color:var(--neutral-bg-island-default);color:var(--neutral-text-primary)}.mrx-badge.mrx-badge.mrx-badge-color-neutral.mrx-badge-button,.mrx-badge.mrx-badge.mrx-badge-color-neutral.mrx-badge-link{transition:background-color .2s}.mrx-badge.mrx-badge.mrx-badge-color-neutral.mrx-badge-button:hover,.mrx-badge.mrx-badge.mrx-badge-color-neutral.mrx-badge-link:hover{background-color:var(--neutral-bg-island-hover)}.mrx-badge.mrx-badge.mrx-badge-color-brand{background-color:var(--brand-bg-secondary-default);color:var(--brand-text-accent)}.mrx-badge.mrx-badge.mrx-badge-color-brand.mrx-badge-button,.mrx-badge.mrx-badge.mrx-badge-color-brand.mrx-badge-link{transition:background-color .2s}.mrx-badge.mrx-badge.mrx-badge-color-brand.mrx-badge-button:hover,.mrx-badge.mrx-badge.mrx-badge-color-brand.mrx-badge-link:hover{background-color:var(--brand-bg-secondary-hover)}.mrx-badge.mrx-badge.mrx-badge-button{border:none;outline:none;cursor:pointer}.mrx-badge.mrx-badge.mrx-badge-link{text-decoration:none;cursor:pointer}.mrx-badge.mrx-badge.mrx-type-default{border-radius:var(--border-radius-1)}.mrx-badge.mrx-badge.mrx-type-default.mrx-size-default{padding:var(--spacing-1) var(--spacing-3)}.mrx-badge.mrx-badge.mrx-type-default.mrx-size-small{padding:1px var(--spacing-2)}.mrx-badge.mrx-badge.mrx-type-circle{border-radius:var(--border-radius-3);text-align:center}.mrx-badge.mrx-badge.mrx-type-circle.mrx-size-default{padding:var(--spacing-1) var(--spacing-2);min-width:var(--sizing-6)}.mrx-badge.mrx-badge.mrx-type-circle.mrx-size-small{padding:var(--sizing-helf) var(--spacing-1);min-width:var(--sizing-5)}\n"], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BadgeComponent, decorators: [{
|
|
38
|
+
type: Component,
|
|
39
|
+
args: [{ selector: 'mrx-badge', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngSwitch]=\"tag\">\n <ng-container *ngSwitchCase=\"'button'\">\n <button\n class=\"mrx-badge\"\n [class]=\"getClasses\"\n [style]=\"{ backgroundColor: getCustomColor }\"\n (click)=\"onClick($event)\"\n >\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>{{text}}\n </button>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'link'\">\n <a [href]=\"path\" class=\"mrx-badge\" [class]=\"getClasses\" [style]=\"{ backgroundColor: getCustomColor }\" [target]=\"getTarget\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>{{text}}\n </a>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <span class=\"mrx-badge\" [class]=\"getClasses\" [style]=\"{ backgroundColor: getCustomColor }\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>{{text}}\n </span>\n </ng-container>\n</ng-container>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", styles: [".mrx-badge.mrx-badge{display:block;font-family:var(--body-sm-font-famil);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-badge.mrx-badge.mrx-badge-color-positive{background-color:var(--system-bg-positive-primary);color:var(--neutral-text-primary)}.mrx-badge.mrx-badge.mrx-badge-color-positive.mrx-badge-button,.mrx-badge.mrx-badge.mrx-badge-color-positive.mrx-badge-link{transition:background-color .2s}.mrx-badge.mrx-badge.mrx-badge-color-positive.mrx-badge-button:hover,.mrx-badge.mrx-badge.mrx-badge-color-positive.mrx-badge-link:hover{background-color:var(--system-bg-positive-primary-hover)}.mrx-badge.mrx-badge.mrx-badge-color-negative{background-color:var(--system-bg-negative-primary);color:var(--neutral-text-primary)!important}.mrx-badge.mrx-badge.mrx-badge-color-negative.mrx-badge-button,.mrx-badge.mrx-badge.mrx-badge-color-negative.mrx-badge-link{transition:background-color .2s}.mrx-badge.mrx-badge.mrx-badge-color-negative.mrx-badge-button:hover,.mrx-badge.mrx-badge.mrx-badge-color-negative.mrx-badge-link:hover{background-color:var(--system-bg-negative-primary-hover)}.mrx-badge.mrx-badge.mrx-badge-color-attention{background-color:var(--system-bg-attention-primary);color:var(--neutral-text-primary)}.mrx-badge.mrx-badge.mrx-badge-color-attention.mrx-badge-button,.mrx-badge.mrx-badge.mrx-badge-color-attention.mrx-badge-link{transition:background-color .2s}.mrx-badge.mrx-badge.mrx-badge-color-attention.mrx-badge-button:hover,.mrx-badge.mrx-badge.mrx-badge-color-attention.mrx-badge-link:hover{background-color:var(--system-bg-attention-primary-hover)}.mrx-badge.mrx-badge.mrx-badge-color-neutral{background-color:var(--neutral-bg-island-default);color:var(--neutral-text-primary)}.mrx-badge.mrx-badge.mrx-badge-color-neutral.mrx-badge-button,.mrx-badge.mrx-badge.mrx-badge-color-neutral.mrx-badge-link{transition:background-color .2s}.mrx-badge.mrx-badge.mrx-badge-color-neutral.mrx-badge-button:hover,.mrx-badge.mrx-badge.mrx-badge-color-neutral.mrx-badge-link:hover{background-color:var(--neutral-bg-island-hover)}.mrx-badge.mrx-badge.mrx-badge-color-brand{background-color:var(--brand-bg-secondary-default);color:var(--brand-text-accent)}.mrx-badge.mrx-badge.mrx-badge-color-brand.mrx-badge-button,.mrx-badge.mrx-badge.mrx-badge-color-brand.mrx-badge-link{transition:background-color .2s}.mrx-badge.mrx-badge.mrx-badge-color-brand.mrx-badge-button:hover,.mrx-badge.mrx-badge.mrx-badge-color-brand.mrx-badge-link:hover{background-color:var(--brand-bg-secondary-hover)}.mrx-badge.mrx-badge.mrx-badge-button{border:none;outline:none;cursor:pointer}.mrx-badge.mrx-badge.mrx-badge-link{text-decoration:none;cursor:pointer}.mrx-badge.mrx-badge.mrx-type-default{border-radius:var(--border-radius-1)}.mrx-badge.mrx-badge.mrx-type-default.mrx-size-default{padding:var(--spacing-1) var(--spacing-3)}.mrx-badge.mrx-badge.mrx-type-default.mrx-size-small{padding:1px var(--spacing-2)}.mrx-badge.mrx-badge.mrx-type-circle{border-radius:var(--border-radius-3);text-align:center}.mrx-badge.mrx-badge.mrx-type-circle.mrx-size-default{padding:var(--spacing-1) var(--spacing-2);min-width:var(--sizing-6)}.mrx-badge.mrx-badge.mrx-type-circle.mrx-size-small{padding:var(--sizing-helf) var(--spacing-1);min-width:var(--sizing-5)}\n"] }]
|
|
40
|
+
}], propDecorators: { type: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}], tag: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}], size: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], color: [{
|
|
47
|
+
type: Input
|
|
48
|
+
}], customColor: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], text: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], path: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], customClasses: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], target: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], clicked: [{
|
|
59
|
+
type: Output
|
|
60
|
+
}] } });
|
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2JhZGdlcy9jb21wb25lbnRzL2JhZGdlL2JhZGdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9iYWRnZXMvY29tcG9uZW50cy9iYWRnZS9iYWRnZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hHLE9BQU8sRUFDTCxxQkFBcUIsRUFHckIsYUFBYSxFQUdiLHVCQUF1QixFQUd2QixhQUFhLEdBQ2QsTUFBTSxrQkFBa0IsQ0FBQztBQUMxQixPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7O0FBUTlELE1BQU0sT0FBTyxjQUFjO0lBTjNCO1FBT1csU0FBSSxHQUFjLFNBQVMsQ0FBQTtRQUMzQixRQUFHLEdBQWlCLEtBQUssQ0FBQTtRQUN6QixTQUFJLEdBQWtCLFNBQVMsQ0FBQTtRQUMvQixVQ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kZ2VcIiBbY2xhc3NdPVwiZ2V0Q2xhc3Nlc1wiIFtzdHlsZV09XCJ7IGJhY2tncm91bmRDb2xvcjogZ2V0Q3VzdG9tQ29sb3IgfVwiIFt0YXJnZXRdPVwiZ2V0VGFyZ2V0XCI+XG4gICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiY29udGVudFwiPjwvbmctY29udGFpbmVyPnt7dGV4dH19XG4gICAgPC9hPlxuICA8L25nLWNvbnRhaW5lcj5cblxuICA8bmctY29udGFpbmVyICpuZ1N3aXRjaERlZmF1bHQ+XG4gICAgPHNwYW4gY2xhc3M9XCJtcngtYmFkZ2VcIiBbY2xhc3NdPVwiZ2V0Q2xhc3Nlc1wiIFtzdHlsZV09XCJ7IGJhY2tncm91bmRDb2xvcjogZ2V0Q3VzdG9tQ29sb3IgfVwiPlxuICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cImNvbnRlbnRcIj48L25nLWNvbnRhaW5lcj57e3RleHR9fVxuICAgIDwvc3Bhbj5cbiAgPC9uZy1jb250YWluZXI+XG48L25nLWNvbnRhaW5lcj5cblxuPG5nLXRlbXBsYXRlICNjb250ZW50PlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class BadgeGroupComponent {
|
|
4
|
+
}
|
|
5
|
+
BadgeGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BadgeGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
BadgeGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: BadgeGroupComponent, selector: "mrx-badge-group", ngImport: i0, template: "<div class=\"mrx-badge-group\">\n <ng-content></ng-content>\n</div>\n", styles: [".mrx-badge-group.mrx-badge-group{display:flex;flex-wrap:wrap;gap:var(--sizing-1)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BadgeGroupComponent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{ selector: 'mrx-badge-group', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mrx-badge-group\">\n <ng-content></ng-content>\n</div>\n", styles: [".mrx-badge-group.mrx-badge-group{display:flex;flex-wrap:wrap;gap:var(--sizing-1)}\n"] }]
|
|
10
|
+
}] });
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UtZ3JvdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2JhZGdlcy9jb21wb25lbnRzL2JhZGdlLWdyb3VwL2JhZGdlLWdyb3VwLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9iYWRnZXMvY29tcG9uZW50cy9iYWRnZS1ncm91cC9iYWRnZS1ncm91cC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVFuRSxNQUFNLE9BQU8sbUJBQW1COztnSEFBbkIsbUJBQW1CO29HQUFuQixtQkFBbUIsdURDUmhDLHdFQUdBOzJGREthLG1CQUFtQjtrQkFOL0IsU0FBUzsrQkFDRSxpQkFBaUIsbUJBR1YsdUJBQXVCLENBQUMsTUFBTSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnbXJ4LWJhZGdlLWdyb3VwJyxcbiAgdGVtcGxhdGVVcmw6ICcuL2JhZGdlLWdyb3VwLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vYmFkZ2UtZ3JvdXAuY29tcG9uZW50Lmxlc3MnXSxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG59KVxuZXhwb3J0IGNsYXNzIEJhZGdlR3JvdXBDb21wb25lbnQge1xuXG59XG4iLCI8ZGl2IGNsYXNzPVwibXJ4LWJhZGdlLWdyb3VwXCI+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
+
import { BreadcrumbsTypeEnum } from './breadcrumbs.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class BreadcrumbsComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.type = 'default';
|
|
8
|
+
this.items = [];
|
|
9
|
+
this.customClasses = '';
|
|
10
|
+
}
|
|
11
|
+
get getClasses() {
|
|
12
|
+
return `${this.customClasses} ${BreadcrumbsTypeEnum[this.type]}`;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
BreadcrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
BreadcrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: BreadcrumbsComponent, selector: "mrx-breadcrumbs", inputs: { type: "type", items: "items", item: "item", customClasses: "customClasses" }, ngImport: i0, template: "<div class=\"mrx-breadcrumbs\" [class]=\"getClasses\">\n <ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'link'\">\n <a class=\"mrx-breadcrumbs__link\" *ngIf=\"item\" [href]=\"item.path\">\n <span class=\"mrx-icon icon-arrow-left icon-font-16 mr-1\" *ngIf=\"item.isShowArrow\"></span>\n {{item.text}}\n </a>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <ul class=\"mrx-breadcrumbs__list\">\n <li *ngFor=\"let item of items\" class=\"mrx-breadcrumbs__list-item\">\n <ng-container *ngIf=\"item.isLink; else span\">\n <a class=\"mrx-breadcrumbs__link mr-1\" [href]=\"item.path\">{{item.text}}</a>\n <span class=\"mrx-icon icon-chevron-right icon-font-16 mr-1\"></span>\n </ng-container>\n\n <ng-template #span>\n <span class=\"mrx-breadcrumbs__tag\">{{item.text}}</span>\n </ng-template>\n </li>\n </ul>\n </ng-container>\n </ng-container>\n</div>\n\n", styles: [".mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__link{display:flex;align-items:center;color:var(--brand-bg-primary-default);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__link .mrx-icon{color:var(--brand-bg-primary-default)!important}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__link:hover{color:var(--brand-text-controls-hover)}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__link:hover .mrx-icon{color:var(--brand-text-controls-hover)!important}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__tag{color:var(--neutral-text-tertiary);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__list{display:flex;align-items:center;justify-content:flex-start;list-style:none;padding-left:0;margin-top:0;margin-bottom:0;flex-wrap:wrap}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__list-item{display:flex}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__list-item .mrx-icon{color:var(--neutral-icon-default)!important}\n"], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BreadcrumbsComponent, decorators: [{
|
|
18
|
+
type: Component,
|
|
19
|
+
args: [{ selector: 'mrx-breadcrumbs', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mrx-breadcrumbs\" [class]=\"getClasses\">\n <ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'link'\">\n <a class=\"mrx-breadcrumbs__link\" *ngIf=\"item\" [href]=\"item.path\">\n <span class=\"mrx-icon icon-arrow-left icon-font-16 mr-1\" *ngIf=\"item.isShowArrow\"></span>\n {{item.text}}\n </a>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <ul class=\"mrx-breadcrumbs__list\">\n <li *ngFor=\"let item of items\" class=\"mrx-breadcrumbs__list-item\">\n <ng-container *ngIf=\"item.isLink; else span\">\n <a class=\"mrx-breadcrumbs__link mr-1\" [href]=\"item.path\">{{item.text}}</a>\n <span class=\"mrx-icon icon-chevron-right icon-font-16 mr-1\"></span>\n </ng-container>\n\n <ng-template #span>\n <span class=\"mrx-breadcrumbs__tag\">{{item.text}}</span>\n </ng-template>\n </li>\n </ul>\n </ng-container>\n </ng-container>\n</div>\n\n", styles: [".mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__link{display:flex;align-items:center;color:var(--brand-bg-primary-default);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__link .mrx-icon{color:var(--brand-bg-primary-default)!important}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__link:hover{color:var(--brand-text-controls-hover)}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__link:hover .mrx-icon{color:var(--brand-text-controls-hover)!important}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__tag{color:var(--neutral-text-tertiary);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__list{display:flex;align-items:center;justify-content:flex-start;list-style:none;padding-left:0;margin-top:0;margin-bottom:0;flex-wrap:wrap}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__list-item{display:flex}.mrx-breadcrumbs.mrx-breadcrumbs .mrx-breadcrumbs__list-item .mrx-icon{color:var(--neutral-icon-default)!important}\n"] }]
|
|
20
|
+
}], propDecorators: { type: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}], items: [{
|
|
23
|
+
type: Input
|
|
24
|
+
}], item: [{
|
|
25
|
+
type: Input
|
|
26
|
+
}], customClasses: [{
|
|
27
|
+
type: Input
|
|
28
|
+
}] } });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJ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ICAgIDwvbGk+XG4gICAgICA8L3VsPlxuICAgIDwvbmctY29udGFpbmVyPlxuICA8L25nLWNvbnRhaW5lcj5cbjwvZGl2PlxuXG4iXX0=
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var BreadcrumbsTypeEnum;
|
|
2
|
+
(function (BreadcrumbsTypeEnum) {
|
|
3
|
+
BreadcrumbsTypeEnum["default"] = "mrx-breadcrumbs-default";
|
|
4
|
+
BreadcrumbsTypeEnum["link"] = "mrx-breadcrumbs-link";
|
|
5
|
+
})(BreadcrumbsTypeEnum || (BreadcrumbsTypeEnum = {}));
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9icmVhZGNydW1icy9icmVhZGNydW1icy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLG1CQUdYO0FBSEQsV0FBWSxtQkFBbUI7SUFDN0IsMERBQXFDLENBQUE7SUFDckMsb0RBQStCLENBQUE7QUFDakMsQ0FBQyxFQUhXLG1CQUFtQixLQUFuQixtQkFBbUIsUUFHOUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBCcmVhZGNydW1ic1R5cGVFbnVtIHtcbiAgJ2RlZmF1bHQnID0gJ21yeC1icmVhZGNydW1icy1kZWZhdWx0JyxcbiAgJ2xpbmsnID0gJ21yeC1icmVhZGNydW1icy1saW5rJ1xufVxuZXhwb3J0IHR5cGUgQnJlYWRjcnVtYnNUeXBlID0gJ2RlZmF1bHQnIHwgJ2xpbmsnXG5cbmV4cG9ydCBpbnRlcmZhY2UgQnJlYWRjcnVtYnNJdGVtSSB7XG4gIHRleHQ6IHN0cmluZyxcbiAgcGF0aD86IHN0cmluZyxcbiAgaXNMaW5rPzogYm9vbGVhbixcbiAgaXNTaG93QXJyb3c/OiBib29sZWFuXG59XG4iXX0=
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { BreadcrumbsComponent } from './breadcrumbs.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class BreadcrumbsModule {
|
|
6
|
+
}
|
|
7
|
+
BreadcrumbsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
BreadcrumbsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BreadcrumbsModule, declarations: [BreadcrumbsComponent], imports: [CommonModule], exports: [BreadcrumbsComponent] });
|
|
9
|
+
BreadcrumbsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BreadcrumbsModule, imports: [[
|
|
10
|
+
CommonModule
|
|
11
|
+
]] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BreadcrumbsModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
declarations: [
|
|
16
|
+
BreadcrumbsComponent
|
|
17
|
+
],
|
|
18
|
+
imports: [
|
|
19
|
+
CommonModule
|
|
20
|
+
],
|
|
21
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
22
|
+
exports: [
|
|
23
|
+
BreadcrumbsComponent
|
|
24
|
+
]
|
|
25
|
+
}]
|
|
26
|
+
}] });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZX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