@evotor-dev/ui-kit 7.2.9 → 8.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/common/evo-base-control.mjs +3 -3
- package/esm2020/lib/common/form-helper/form-helper.mjs +6 -6
- package/esm2020/lib/components/evo-accordion/evo-accordion-content/evo-accordion-content.component.mjs +3 -3
- package/esm2020/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.mjs +3 -3
- package/esm2020/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.mjs +6 -6
- package/esm2020/lib/components/evo-accordion/evo-accordion.component.mjs +3 -3
- package/esm2020/lib/components/evo-accordion/evo-accordion.module.mjs +14 -16
- package/esm2020/lib/components/evo-alert/evo-alert.component.mjs +5 -5
- package/esm2020/lib/components/evo-alert/evo-alert.module.mjs +6 -8
- package/esm2020/lib/components/evo-autocomplete/components/evo-autocomplete.component.mjs +8 -8
- package/esm2020/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.mjs +6 -6
- package/esm2020/lib/components/evo-autocomplete/evo-autocomplete.module.mjs +12 -14
- package/esm2020/lib/components/evo-badge/evo-badge.component.mjs +3 -3
- package/esm2020/lib/components/evo-badge/evo-badge.module.mjs +6 -8
- package/esm2020/lib/components/evo-banner/evo-banner.component.mjs +5 -5
- package/esm2020/lib/components/evo-banner/evo-banner.module.mjs +5 -5
- package/esm2020/lib/components/evo-button/components/evo-button/evo-button.component.mjs +5 -5
- package/esm2020/lib/components/evo-button/components/evo-button-old/evo-button-old.component.mjs +5 -5
- package/esm2020/lib/components/evo-button/evo-button.module.mjs +5 -5
- package/esm2020/lib/components/evo-checkbox/evo-checkbox.component.mjs +7 -7
- package/esm2020/lib/components/evo-checkbox/evo-checkbox.module.mjs +8 -10
- package/esm2020/lib/components/evo-chip/evo-chip.component.mjs +8 -8
- package/esm2020/lib/components/evo-chip/evo-chip.module.mjs +13 -15
- package/esm2020/lib/components/evo-control-error/evo-control-error.component.mjs +3 -3
- package/esm2020/lib/components/evo-control-error/evo-control-error.module.mjs +7 -9
- package/esm2020/lib/components/evo-control-label/evo-control-label.component.mjs +3 -3
- package/esm2020/lib/components/evo-control-label/evo-control-label.module.mjs +5 -7
- package/esm2020/lib/components/evo-counter/evo-counter.component.mjs +3 -3
- package/esm2020/lib/components/evo-counter/evo-counter.module.mjs +6 -8
- package/esm2020/lib/components/evo-datepicker/evo-datepicker.component.mjs +7 -7
- package/esm2020/lib/components/evo-datepicker/evo-datepicker.module.mjs +8 -10
- package/esm2020/lib/components/evo-dropdown/evo-dropdown-origin.directive.mjs +3 -3
- package/esm2020/lib/components/evo-dropdown/evo-dropdown.component.mjs +3 -3
- package/esm2020/lib/components/evo-dropdown/evo-dropdown.module.mjs +5 -5
- package/esm2020/lib/components/evo-icon/evo-icon.component.mjs +3 -3
- package/esm2020/lib/components/evo-icon/evo-icon.module.mjs +5 -7
- package/esm2020/lib/components/evo-icon-button/evo-icon-button.component.mjs +3 -3
- package/esm2020/lib/components/evo-icon-button/evo-icon-button.module.mjs +5 -7
- package/esm2020/lib/components/evo-icon-number/components/evo-icon-number/evo-icon-number.component.mjs +3 -3
- package/esm2020/lib/components/evo-icon-number/evo-icon-number.module.mjs +5 -5
- package/esm2020/lib/components/evo-input/evo-input-icon/evo-input-icon.directive.mjs +3 -3
- package/esm2020/lib/components/evo-input/evo-input.component.mjs +9 -9
- package/esm2020/lib/components/evo-input/evo-input.module.mjs +16 -18
- package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.mjs +6 -6
- package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.module.mjs +7 -9
- package/esm2020/lib/components/evo-loader/evo-circular-loader.component.mjs +3 -3
- package/esm2020/lib/components/evo-loader/evo-loader.component.mjs +3 -3
- package/esm2020/lib/components/evo-loader/evo-loader.module.mjs +6 -8
- package/esm2020/lib/components/evo-modal/evo-modal.component.mjs +5 -5
- package/esm2020/lib/components/evo-modal/evo-modal.module.mjs +7 -9
- package/esm2020/lib/components/evo-modal/evo-modal.service.mjs +3 -3
- package/esm2020/lib/components/evo-navbar/evo-navbar-item/evo-navbar-item.component.mjs +8 -8
- package/esm2020/lib/components/evo-navbar/evo-navbar.component.mjs +5 -5
- package/esm2020/lib/components/evo-navbar/evo-navbar.module.mjs +5 -5
- package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.component.mjs +3 -3
- package/esm2020/lib/components/evo-navigation-button/evo-navigation-button.module.mjs +12 -14
- package/esm2020/lib/components/evo-note/evo-note.component.mjs +5 -5
- package/esm2020/lib/components/evo-note/evo-note.module.mjs +13 -15
- package/esm2020/lib/components/evo-paginator/evo-paginator.component.mjs +3 -3
- package/esm2020/lib/components/evo-paginator/evo-paginator.module.mjs +5 -7
- package/esm2020/lib/components/evo-plus-minus/evo-plus-minus.component.mjs +3 -3
- package/esm2020/lib/components/evo-plus-minus/evo-plus-minus.module.mjs +5 -7
- package/esm2020/lib/components/evo-popover/evo-popover.component.mjs +6 -6
- package/esm2020/lib/components/evo-popover/evo-popover.module.mjs +6 -8
- package/esm2020/lib/components/evo-portal/evo-portal-outlet.directive.mjs +3 -3
- package/esm2020/lib/components/evo-portal/evo-portal.module.mjs +6 -8
- package/esm2020/lib/components/evo-portal/evo-portal.service.mjs +3 -3
- package/esm2020/lib/components/evo-radio/evo-radio.component.mjs +3 -3
- package/esm2020/lib/components/evo-radio/evo-radio.module.mjs +6 -8
- package/esm2020/lib/components/evo-radio-group/evo-radio-group.component.mjs +8 -8
- package/esm2020/lib/components/evo-radio-group/evo-radio-group.module.mjs +8 -10
- package/esm2020/lib/components/evo-radioshape/components/evo-radioshape.component.mjs +4 -4
- package/esm2020/lib/components/evo-radioshape/evo-radioshape.module.mjs +7 -9
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.mjs +3 -3
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.mjs +4 -4
- package/esm2020/lib/components/evo-segmented-bar/evo-segmented-bar.module.mjs +5 -5
- package/esm2020/lib/components/evo-select/evo-select.component.mjs +9 -9
- package/esm2020/lib/components/evo-select/evo-select.module.mjs +8 -10
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-content/evo-sidebar-content.component.mjs +3 -3
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.mjs +3 -3
- package/esm2020/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.mjs +5 -5
- package/esm2020/lib/components/evo-sidebar/evo-sidebar.component.mjs +8 -8
- package/esm2020/lib/components/evo-sidebar/evo-sidebar.module.mjs +14 -16
- package/esm2020/lib/components/evo-sidebar/evo-sidebar.service.mjs +3 -3
- package/esm2020/lib/components/evo-stepper/evo-stepper-events.mjs +3 -3
- package/esm2020/lib/components/evo-stepper/evo-stepper-item/evo-stepper-item.component.mjs +4 -4
- package/esm2020/lib/components/evo-stepper/evo-stepper.component.mjs +4 -4
- package/esm2020/lib/components/evo-stepper/evo-stepper.module.mjs +6 -8
- package/esm2020/lib/components/evo-submenu/evo-submenu.component.mjs +7 -7
- package/esm2020/lib/components/evo-submenu/evo-submenu.module.mjs +5 -5
- package/esm2020/lib/components/evo-switcher/components/evo-switcher-item/evo-switcher-item.component.mjs +4 -4
- package/esm2020/lib/components/evo-switcher/evo-switcher.component.mjs +3 -3
- package/esm2020/lib/components/evo-switcher/evo-switcher.module.mjs +6 -8
- package/esm2020/lib/components/evo-table/evo-table/evo-table.component.mjs +3 -3
- package/esm2020/lib/components/evo-table/evo-table-column/evo-table-column.component.mjs +4 -4
- package/esm2020/lib/components/evo-table/evo-table.module.mjs +5 -7
- package/esm2020/lib/components/evo-tabs/evo-tab/evo-tab.component.mjs +3 -3
- package/esm2020/lib/components/evo-tabs/evo-tab-content/evo-tab-content.component.mjs +3 -3
- package/esm2020/lib/components/evo-tabs/evo-tabs-size.service.mjs +3 -3
- package/esm2020/lib/components/evo-tabs/evo-tabs.component.mjs +3 -3
- package/esm2020/lib/components/evo-tabs/evo-tabs.module.mjs +6 -8
- package/esm2020/lib/components/evo-tabs/evo-tabs.service.mjs +3 -3
- package/esm2020/lib/components/evo-textarea/evo-textarea.component.mjs +7 -7
- package/esm2020/lib/components/evo-textarea/evo-textarea.module.mjs +9 -11
- package/esm2020/lib/components/evo-toast/evo-toast.component.mjs +7 -7
- package/esm2020/lib/components/evo-toast/evo-toast.module.mjs +14 -16
- package/esm2020/lib/components/evo-toast/evo-toast.service.mjs +3 -3
- package/esm2020/lib/components/evo-toggle/evo-toggle.component.mjs +6 -6
- package/esm2020/lib/components/evo-toggle/evo-toggle.module.mjs +7 -9
- package/esm2020/lib/components/evo-upload/evo-upload.component.mjs +14 -14
- package/esm2020/lib/components/evo-upload/evo-upload.module.mjs +18 -20
- package/esm2020/lib/directives/evo-click-outside.directive.mjs +3 -3
- package/esm2020/lib/directives/evo-is-expanded.directive.mjs +3 -3
- package/esm2020/lib/directives/evo-let/evo-let.directive.mjs +3 -3
- package/esm2020/lib/directives/evo-ui-class.directive.mjs +3 -3
- package/esm2020/lib/evo-ui-kit.module.mjs +10 -12
- package/esm2020/lib/pipes/declination.pipe.mjs +3 -3
- package/esm2020/lib/pipes/evo-pipes.module.mjs +4 -4
- package/esm2020/lib/pipes/safe-html.pipe.mjs +3 -3
- package/esm2020/lib/services/evo-expanded.service.mjs +3 -3
- package/esm2020/lib/services/window.service.mjs +3 -3
- package/fesm2015/evotor-dev-ui-kit.mjs +564 -636
- package/fesm2015/evotor-dev-ui-kit.mjs.map +1 -1
- package/fesm2020/evotor-dev-ui-kit.mjs +564 -636
- package/fesm2020/evotor-dev-ui-kit.mjs.map +1 -1
- package/lib/common/evo-base-control.d.ts +1 -1
- package/lib/components/evo-accordion/evo-accordion-content/evo-accordion-content.component.d.ts +1 -1
- package/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.d.ts +1 -1
- package/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.d.ts +1 -1
- package/lib/components/evo-accordion/evo-accordion.component.d.ts +1 -1
- package/lib/components/evo-alert/evo-alert.component.d.ts +1 -1
- package/lib/components/evo-autocomplete/components/evo-autocomplete.component.d.ts +1 -1
- package/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.d.ts +1 -1
- package/lib/components/evo-badge/evo-badge.component.d.ts +1 -1
- package/lib/components/evo-banner/evo-banner.component.d.ts +1 -1
- package/lib/components/evo-button/components/evo-button/evo-button.component.d.ts +1 -1
- package/lib/components/evo-button/components/evo-button-old/evo-button-old.component.d.ts +1 -1
- package/lib/components/evo-checkbox/evo-checkbox.component.d.ts +1 -1
- package/lib/components/evo-chip/evo-chip.component.d.ts +1 -1
- package/lib/components/evo-control-error/evo-control-error.component.d.ts +1 -1
- package/lib/components/evo-control-label/evo-control-label.component.d.ts +1 -1
- package/lib/components/evo-counter/evo-counter.component.d.ts +1 -1
- package/lib/components/evo-datepicker/evo-datepicker.component.d.ts +1 -1
- package/lib/components/evo-dropdown/evo-dropdown-origin.directive.d.ts +1 -1
- package/lib/components/evo-dropdown/evo-dropdown.component.d.ts +1 -1
- package/lib/components/evo-icon/evo-icon.component.d.ts +1 -1
- package/lib/components/evo-icon-button/evo-icon-button.component.d.ts +1 -1
- package/lib/components/evo-icon-number/components/evo-icon-number/evo-icon-number.component.d.ts +1 -1
- package/lib/components/evo-input/evo-input-icon/evo-input-icon.directive.d.ts +1 -1
- package/lib/components/evo-input/evo-input.component.d.ts +1 -1
- package/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.d.ts +1 -1
- package/lib/components/evo-loader/evo-circular-loader.component.d.ts +1 -1
- package/lib/components/evo-loader/evo-loader.component.d.ts +1 -1
- package/lib/components/evo-modal/evo-modal.component.d.ts +1 -1
- package/lib/components/evo-navbar/evo-navbar-item/evo-navbar-item.component.d.ts +1 -1
- package/lib/components/evo-navbar/evo-navbar.component.d.ts +1 -1
- package/lib/components/evo-navigation-button/evo-navigation-button.component.d.ts +1 -1
- package/lib/components/evo-note/evo-note.component.d.ts +1 -1
- package/lib/components/evo-paginator/evo-paginator.component.d.ts +1 -1
- package/lib/components/evo-plus-minus/evo-plus-minus.component.d.ts +1 -1
- package/lib/components/evo-popover/evo-popover.component.d.ts +2 -2
- package/lib/components/evo-portal/evo-portal-outlet.directive.d.ts +1 -1
- package/lib/components/evo-radio/evo-radio.component.d.ts +1 -1
- package/lib/components/evo-radio-group/evo-radio-group.component.d.ts +3 -3
- package/lib/components/evo-radioshape/components/evo-radioshape.component.d.ts +1 -1
- package/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.d.ts +1 -1
- package/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.d.ts +1 -1
- package/lib/components/evo-select/evo-select.component.d.ts +1 -1
- package/lib/components/evo-sidebar/evo-sidebar-content/evo-sidebar-content.component.d.ts +1 -1
- package/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.d.ts +1 -1
- package/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.d.ts +1 -1
- package/lib/components/evo-sidebar/evo-sidebar.component.d.ts +1 -1
- package/lib/components/evo-stepper/evo-stepper-item/evo-stepper-item.component.d.ts +1 -1
- package/lib/components/evo-stepper/evo-stepper.component.d.ts +1 -1
- package/lib/components/evo-submenu/evo-submenu.component.d.ts +1 -1
- package/lib/components/evo-switcher/components/evo-switcher-item/evo-switcher-item.component.d.ts +1 -1
- package/lib/components/evo-switcher/evo-switcher.component.d.ts +1 -1
- package/lib/components/evo-table/evo-table/evo-table.component.d.ts +1 -1
- package/lib/components/evo-table/evo-table-column/evo-table-column.component.d.ts +1 -1
- package/lib/components/evo-tabs/evo-tab/evo-tab.component.d.ts +1 -1
- package/lib/components/evo-tabs/evo-tab-content/evo-tab-content.component.d.ts +1 -1
- package/lib/components/evo-tabs/evo-tabs.component.d.ts +1 -1
- package/lib/components/evo-textarea/evo-textarea.component.d.ts +1 -1
- package/lib/components/evo-toast/evo-toast.component.d.ts +1 -1
- package/lib/components/evo-toggle/evo-toggle.component.d.ts +1 -1
- package/lib/components/evo-upload/evo-upload.component.d.ts +4 -4
- package/lib/directives/evo-click-outside.directive.d.ts +1 -1
- package/lib/directives/evo-is-expanded.directive.d.ts +1 -1
- package/lib/directives/evo-let/evo-let.directive.d.ts +1 -1
- package/lib/directives/evo-ui-class.directive.d.ts +1 -1
- package/lib/pipes/declination.pipe.d.ts +1 -1
- package/lib/pipes/safe-html.pipe.d.ts +1 -1
- package/package.json +22 -22
- package/icons/category/evotor-dev-ui-kit-icons-category.d.ts +0 -5
- package/icons/category/package.json +0 -10
- package/icons/emotions/evotor-dev-ui-kit-icons-emotions.d.ts +0 -5
- package/icons/emotions/package.json +0 -10
- package/icons/evotor-dev-ui-kit-icons.d.ts +0 -5
- package/icons/header/evotor-dev-ui-kit-icons-header.d.ts +0 -5
- package/icons/header/package.json +0 -10
- package/icons/info/evotor-dev-ui-kit-icons-info.d.ts +0 -5
- package/icons/info/package.json +0 -10
- package/icons/navigation/evotor-dev-ui-kit-icons-navigation.d.ts +0 -5
- package/icons/navigation/package.json +0 -10
- package/icons/package.json +0 -10
- package/icons/side-menu/evotor-dev-ui-kit-icons-side-menu.d.ts +0 -5
- package/icons/side-menu/package.json +0 -10
- package/icons/system/evotor-dev-ui-kit-icons-system.d.ts +0 -5
- package/icons/system/package.json +0 -10
- /package/{evotor-dev-ui-kit.d.ts → index.d.ts} +0 -0
package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.mjs
CHANGED
|
@@ -4,9 +4,9 @@ import { EvoBaseControl } from '../../common/evo-base-control';
|
|
|
4
4
|
import { EvoControlStates } from '../../common/evo-control-state-manager/evo-control-states.enum';
|
|
5
5
|
import { clearMultiline } from './utils/clear-multiline';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
8
|
import * as i2 from "../../directives/evo-ui-class.directive";
|
|
9
|
-
import * as i3 from "
|
|
9
|
+
import * as i3 from "../evo-control-error/evo-control-error.component";
|
|
10
10
|
export class EvoInputContenteditableComponent extends EvoBaseControl {
|
|
11
11
|
constructor(cd, injector) {
|
|
12
12
|
super(injector);
|
|
@@ -100,8 +100,8 @@ EvoInputContenteditableComponent.STYLE_KEYCODES = [
|
|
|
100
100
|
73,
|
|
101
101
|
85, // U u
|
|
102
102
|
];
|
|
103
|
-
EvoInputContenteditableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
104
|
-
EvoInputContenteditableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
103
|
+
EvoInputContenteditableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoInputContenteditableComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
+
EvoInputContenteditableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoInputContenteditableComponent, selector: "evo-input-contenteditable", inputs: { multiline: "multiline", placeholder: "placeholder", autoFocus: "autoFocus", maxLines: "maxLines", minLines: "minLines", disabled: "disabled", preventStylingHotkeys: "preventStylingHotkeys" }, outputs: { blur: "blur" }, providers: [
|
|
105
105
|
{
|
|
106
106
|
provide: NG_VALUE_ACCESSOR,
|
|
107
107
|
useExisting: forwardRef(() => EvoInputContenteditableComponent),
|
|
@@ -112,8 +112,8 @@ EvoInputContenteditableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
112
112
|
useExisting: forwardRef(() => EvoInputContenteditableComponent),
|
|
113
113
|
multi: true,
|
|
114
114
|
},
|
|
115
|
-
], viewQueries: [{ propertyName: "contenteditable", first: true, predicate: ["contenteditable"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"evo-contenteditable-input\"\n [evoUiClass]=\"inputClass\"\n [style.--evo-contenteditable-lines]=\"multiline ? maxLines : 0\"\n>\n\t<span\n #contenteditable\n class=\"evo-contenteditable-input__content\"\n (blur)=\"onBlur($event)\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (dragover)=\"$event.preventDefault()\"\n (keydown)=\"onKeydown($event)\"\n [evoUiClass]=\"{'open-lines': minLines > 0}\"\n [attr.contenteditable]=\"!isDisabled\"\n [attr.placeholder]=\"placeholder\"\n [style.--evo-contenteditable-min-lines]=\"multiline ? minLines : 0\"\n ></span>\n</div>\n<evo-control-error\n *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"\n></evo-control-error>\n", styles: [".evo-contenteditable-input{--evo-input-height: 48px;--evo-input-border-radius: 4px;--evo-input-font-size: 16px;display:flex;align-items:center;height:var(--evo-input-height);color:#212121;font-weight:400;font-size:var(--evo-input-font-size);font-family:var(--evo-font);white-space:nowrap;background-color:#fff;border:1px solid #C6C6C6;border-radius:var(--evo-input-border-radius);outline:none;transition:color .3s,box-shadow .3s,background .3s,border .3s;display:block;flex-basis:100%;height:auto;min-height:48px;max-height:calc(24px * var(--evo-contenteditable-lines) + 24px);padding:11px 16px;overflow:auto;line-height:24px}.evo-contenteditable-input_focused{border:solid 1px #74706F}.evo-contenteditable-input_invalid{border-color:#ff1817!important}.evo-contenteditable-input_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-contenteditable-input_disabled .evo-contenteditable-input__content{display:block}.evo-contenteditable-input_single{display:flex;overflow:hidden}.evo-contenteditable-input_single .evo-contenteditable-input__content{-ms-overflow-style:none;scrollbar-width:none;flex-direction:row;overflow-x:scroll;overflow-y:hidden;white-space:nowrap}.evo-contenteditable-input_single .evo-contenteditable-input__content::-webkit-scrollbar{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep br{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep *{display:inline;white-space:nowrap}.evo-contenteditable-input:focus-within{border:solid 1px #74706F}.evo-contenteditable-input__content{position:relative;display:inline-block;flex-direction:column;width:100%;min-height:calc(24px * var(--evo-contenteditable-min-lines));white-space:pre-wrap;outline:none}.evo-contenteditable-input__content_open-lines{min-height:calc(calc(24px * var(--evo-contenteditable-min-lines)) + 8px)}.evo-contenteditable-input__content:empty:before{content:attr(placeholder);position:absolute;display:block;color:#9b9b9b;pointer-events:none}\n"],
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
115
|
+
], viewQueries: [{ propertyName: "contenteditable", first: true, predicate: ["contenteditable"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"evo-contenteditable-input\"\n [evoUiClass]=\"inputClass\"\n [style.--evo-contenteditable-lines]=\"multiline ? maxLines : 0\"\n>\n\t<span\n #contenteditable\n class=\"evo-contenteditable-input__content\"\n (blur)=\"onBlur($event)\"\n (input)=\"onInput($event)\"\n (paste)=\"onPaste($event)\"\n (dragover)=\"$event.preventDefault()\"\n (keydown)=\"onKeydown($event)\"\n [evoUiClass]=\"{'open-lines': minLines > 0}\"\n [attr.contenteditable]=\"!isDisabled\"\n [attr.placeholder]=\"placeholder\"\n [style.--evo-contenteditable-min-lines]=\"multiline ? minLines : 0\"\n ></span>\n</div>\n<evo-control-error\n *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"\n></evo-control-error>\n", styles: [".evo-contenteditable-input{--evo-input-height: 48px;--evo-input-border-radius: 4px;--evo-input-font-size: 16px;display:flex;align-items:center;height:var(--evo-input-height);color:#212121;font-weight:400;font-size:var(--evo-input-font-size);font-family:var(--evo-font);white-space:nowrap;background-color:#fff;border:1px solid #C6C6C6;border-radius:var(--evo-input-border-radius);outline:none;transition:color .3s,box-shadow .3s,background .3s,border .3s;display:block;flex-basis:100%;height:auto;min-height:48px;max-height:calc(24px * var(--evo-contenteditable-lines) + 24px);padding:11px 16px;overflow:auto;line-height:24px}.evo-contenteditable-input_focused{border:solid 1px #74706F}.evo-contenteditable-input_invalid{border-color:#ff1817!important}.evo-contenteditable-input_disabled{color:#b0b0b0!important;background-color:#f9fafb!important;border:1px solid #E3E3E3!important;cursor:default;pointer-events:none}.evo-contenteditable-input_disabled .evo-contenteditable-input__content{display:block}.evo-contenteditable-input_single{display:flex;overflow:hidden}.evo-contenteditable-input_single .evo-contenteditable-input__content{-ms-overflow-style:none;scrollbar-width:none;flex-direction:row;overflow-x:scroll;overflow-y:hidden;white-space:nowrap}.evo-contenteditable-input_single .evo-contenteditable-input__content::-webkit-scrollbar{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep br{display:none}.evo-contenteditable-input_single .evo-contenteditable-input__content ::ng-deep *{display:inline;white-space:nowrap}.evo-contenteditable-input:focus-within{border:solid 1px #74706F}.evo-contenteditable-input__content{position:relative;display:inline-block;flex-direction:column;width:100%;min-height:calc(24px * var(--evo-contenteditable-min-lines));white-space:pre-wrap;outline:none}.evo-contenteditable-input__content_open-lines{min-height:calc(calc(24px * var(--evo-contenteditable-min-lines)) + 8px)}.evo-contenteditable-input__content:empty:before{content:attr(placeholder);position:absolute;display:block;color:#9b9b9b;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { kind: "component", type: i3.EvoControlErrorComponent, selector: "evo-control-error", inputs: ["errors", "errorsMessages", "showCount"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoInputContenteditableComponent, decorators: [{
|
|
117
117
|
type: Component,
|
|
118
118
|
args: [{ selector: 'evo-input-contenteditable', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
119
119
|
{
|
package/esm2020/lib/components/evo-input-contenteditable/evo-input-contenteditable.module.mjs
CHANGED
|
@@ -6,16 +6,14 @@ import { EvoControlErrorModule } from '../evo-control-error';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class EvoInputContenteditableModule {
|
|
8
8
|
}
|
|
9
|
-
EvoInputContenteditableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
EvoInputContenteditableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9
|
+
EvoInputContenteditableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoInputContenteditableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
EvoInputContenteditableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EvoInputContenteditableModule, declarations: [EvoInputContenteditableComponent], imports: [CommonModule,
|
|
11
11
|
EvoUiKitModule,
|
|
12
12
|
EvoControlErrorModule], exports: [EvoInputContenteditableComponent] });
|
|
13
|
-
EvoInputContenteditableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
]] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoInputContenteditableModule, decorators: [{
|
|
13
|
+
EvoInputContenteditableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoInputContenteditableModule, imports: [CommonModule,
|
|
14
|
+
EvoUiKitModule,
|
|
15
|
+
EvoControlErrorModule] });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoInputContenteditableModule, decorators: [{
|
|
19
17
|
type: NgModule,
|
|
20
18
|
args: [{
|
|
21
19
|
declarations: [
|
|
@@ -31,4 +29,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
31
29
|
],
|
|
32
30
|
}]
|
|
33
31
|
}] });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWlucHV0LWNvbnRlbnRlZGl0YWJsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8taW5wdXQtY29udGVudGVkaXRhYmxlL2V2by1pbnB1dC1jb250ZW50ZWRpdGFibGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxnQ0FBZ0MsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7QUFlN0QsTUFBTSxPQUFPLDZCQUE2Qjs7MEhBQTdCLDZCQUE2QjsySEFBN0IsNkJBQTZCLGlCQVhsQyxnQ0FBZ0MsYUFHaEMsWUFBWTtRQUNaLGNBQWM7UUFDZCxxQkFBcUIsYUFHckIsZ0NBQWdDOzJIQUczQiw2QkFBNkIsWUFSbEMsWUFBWTtRQUNaLGNBQWM7UUFDZCxxQk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|
@@ -9,9 +9,9 @@ export class EvoCircularLoaderComponent {
|
|
|
9
9
|
this.clipPathId += `${defaultId}${Math.random().toString(36).substring(2)}`;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
EvoCircularLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
EvoCircularLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
EvoCircularLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoCircularLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
EvoCircularLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoCircularLoaderComponent, selector: "evo-circular-loader", ngImport: i0, template: "<div class=\"wrapper\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\n <clipPath [attr.id]=\"clipPathId\">\n <path d=\"M12 20C10.4178 20 8.87103 19.5308 7.55544 18.6518C6.23985 17.7727 5.21447 16.5233 4.60896 15.0615C4.00346 13.5997 3.84504 11.9911 4.15372 10.4393C4.4624 8.88743 5.22433 7.46197 6.34315 6.34315C7.46197 5.22433 8.88743 4.4624 10.4393 4.15372C11.9911 3.84504 13.5997 4.00346 15.0615 4.60896C16.5233 5.21446 17.7727 6.23984 18.6518 7.55544C19.5308 8.87103 20 10.4177 20 12L18 12C18 10.8133 17.6481 9.65327 16.9888 8.66658C16.3295 7.67988 15.3925 6.91085 14.2961 6.45672C13.1997 6.0026 11.9933 5.88378 10.8295 6.11529C9.66557 6.3468 8.59647 6.91824 7.75736 7.75736C6.91824 8.59647 6.3468 9.66557 6.11529 10.8295C5.88378 11.9933 6.0026 13.1997 6.45672 14.2961C6.91085 15.3925 7.67988 16.3295 8.66658 16.9888C9.65327 17.6481 10.8133 18 12 18L12 20Z\"/>\n </clipPath>\n <foreignObject x=\"0\" y=\"0\" width=\"17\" height=\"16\" [attr.clip-path]=\"'url(#' + clipPathId + ')'\">\n <xhtml:div class=\"loader\"></xhtml:div>\n </foreignObject>\n </svg>\n</div>\n", styles: ["@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}:host{display:block;width:24px;height:24px;--evo-circular-loader-animate: spin 1s linear infinite;--evo-circular-loader-color: #C6C6C6 }.wrapper{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.wrapper svg{display:block;width:100%;height:100%;animation:var(--evo-circular-loader-animate);fill:none}.wrapper svg .loader{width:100%;height:100%;color:inherit;background:conic-gradient(from 180deg,transparent 0%,var(--evo-circular-loader-color) 100%)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoCircularLoaderComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'evo-circular-loader', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"wrapper\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\n <clipPath [attr.id]=\"clipPathId\">\n <path d=\"M12 20C10.4178 20 8.87103 19.5308 7.55544 18.6518C6.23985 17.7727 5.21447 16.5233 4.60896 15.0615C4.00346 13.5997 3.84504 11.9911 4.15372 10.4393C4.4624 8.88743 5.22433 7.46197 6.34315 6.34315C7.46197 5.22433 8.88743 4.4624 10.4393 4.15372C11.9911 3.84504 13.5997 4.00346 15.0615 4.60896C16.5233 5.21446 17.7727 6.23984 18.6518 7.55544C19.5308 8.87103 20 10.4177 20 12L18 12C18 10.8133 17.6481 9.65327 16.9888 8.66658C16.3295 7.67988 15.3925 6.91085 14.2961 6.45672C13.1997 6.0026 11.9933 5.88378 10.8295 6.11529C9.66557 6.3468 8.59647 6.91824 7.75736 7.75736C6.91824 8.59647 6.3468 9.66557 6.11529 10.8295C5.88378 11.9933 6.0026 13.1997 6.45672 14.2961C6.91085 15.3925 7.67988 16.3295 8.66658 16.9888C9.65327 17.6481 10.8133 18 12 18L12 20Z\"/>\n </clipPath>\n <foreignObject x=\"0\" y=\"0\" width=\"17\" height=\"16\" [attr.clip-path]=\"'url(#' + clipPathId + ')'\">\n <xhtml:div class=\"loader\"></xhtml:div>\n </foreignObject>\n </svg>\n</div>\n", styles: ["@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}:host{display:block;width:24px;height:24px;--evo-circular-loader-animate: spin 1s linear infinite;--evo-circular-loader-color: #C6C6C6 }.wrapper{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.wrapper svg{display:block;width:100%;height:100%;animation:var(--evo-circular-loader-animate);fill:none}.wrapper svg .loader{width:100%;height:100%;color:inherit;background:conic-gradient(from 180deg,transparent 0%,var(--evo-circular-loader-color) 100%)}\n"] }]
|
|
17
17
|
}] });
|
|
@@ -16,9 +16,9 @@ export class EvoLoaderComponent {
|
|
|
16
16
|
}
|
|
17
17
|
ngOnInit() { }
|
|
18
18
|
}
|
|
19
|
-
EvoLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
EvoLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
EvoLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
EvoLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoLoaderComponent, selector: "evo-loader", inputs: { color: "color" }, ngImport: i0, template: "<div class=\"evo-loader\" [evoUiClass]=\"color\">\n <span class=\"evo-loader__dot\"></span>\n <span class=\"evo-loader__dot\"></span>\n <span class=\"evo-loader__dot\"></span>\n</div>\n", styles: ["@keyframes fx{50%{transform:scale(1);opacity:1}to{opacity:0}}.evo-loader{position:absolute;top:50%;left:50%;margin-top:-5px;margin-left:-30px}.evo-loader_darkblue{color:#546e7a}.evo-loader_green{color:#21c68b}.evo-loader_white{color:#fff}.evo-loader__dot{float:left;width:10px;height:10px;margin:0 5px;background:currentColor;border-radius:50%;transform:scale(0);animation:fx 1s ease infinite 0ms}.evo-loader__dot:nth-child(2){animation:fx 1s ease infinite .3s}.evo-loader__dot:nth-child(3){animation:fx 1s ease infinite .6s}\n"], dependencies: [{ kind: "directive", type: i1.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }] });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoLoaderComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{ selector: 'evo-loader', template: "<div class=\"evo-loader\" [evoUiClass]=\"color\">\n <span class=\"evo-loader__dot\"></span>\n <span class=\"evo-loader__dot\"></span>\n <span class=\"evo-loader__dot\"></span>\n</div>\n", styles: ["@keyframes fx{50%{transform:scale(1);opacity:1}to{opacity:0}}.evo-loader{position:absolute;top:50%;left:50%;margin-top:-5px;margin-left:-30px}.evo-loader_darkblue{color:#546e7a}.evo-loader_green{color:#21c68b}.evo-loader_white{color:#fff}.evo-loader__dot{float:left;width:10px;height:10px;margin:0 5px;background:currentColor;border-radius:50%;transform:scale(0);animation:fx 1s ease infinite 0ms}.evo-loader__dot:nth-child(2){animation:fx 1s ease infinite .3s}.evo-loader__dot:nth-child(3){animation:fx 1s ease infinite .6s}\n"] }]
|
|
24
24
|
}], ctorParameters: function () { return []; }, propDecorators: { color: [{
|
|
@@ -10,16 +10,14 @@ const bundle = [
|
|
|
10
10
|
];
|
|
11
11
|
export class EvoLoaderModule {
|
|
12
12
|
}
|
|
13
|
-
EvoLoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
EvoLoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
13
|
+
EvoLoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
EvoLoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EvoLoaderModule, declarations: [EvoLoaderComponent,
|
|
15
15
|
EvoCircularLoaderComponent], imports: [CommonModule,
|
|
16
16
|
EvoUiKitModule], exports: [EvoLoaderComponent,
|
|
17
17
|
EvoCircularLoaderComponent] });
|
|
18
|
-
EvoLoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
]] });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoLoaderModule, decorators: [{
|
|
18
|
+
EvoLoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoLoaderModule, imports: [CommonModule,
|
|
19
|
+
EvoUiKitModule] });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoLoaderModule, decorators: [{
|
|
23
21
|
type: NgModule,
|
|
24
22
|
args: [{
|
|
25
23
|
imports: [
|
|
@@ -30,4 +28,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
30
28
|
exports: [...bundle],
|
|
31
29
|
}]
|
|
32
30
|
}] });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLWxvYWRlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8tbG9hZGVyL2V2by1sb2FkZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzVELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQzs7QUFFN0UsTUFBTSxNQUFNLEdBQUc7SUFDWCxrQkFBa0I7SUFDbEIsMEJBQTBCO0NBQzdCLENBQUM7QUFVRixNQUFNLE9BQU8sZUFBZTs7NEdBQWYsZUFBZTs2R0FBZixlQUFlLGlCQVp4QixrQkFBa0I7UUFDbEIsMEJBQTBCLGFBS3RCLFlBQVk7UUFDWixjQUFjLGFBUGxCLGtCQUFrQjtRQUNsQiwwQkFBMEI7NkdBV2pCLGVBQWUsWUFOcEIsWUFBWTtRQUNaLGNBQWM7MkZBS1QsZUFBZTtrQkFSM0IsUUFBUTttQkFBQztvQkFDTixPQUFPLEVBQUU7d0JBQ0wsWUFBWTt3QkFDWixjQUFjO3FCQUNqQjtvQkFDRCxZQUFZLEVBQUUsQ0FBQyxHQUFHLE1BQU0sQ0FBQztvQkFDekIsT0FBTyxFQUFFLENBQUMsR0FBRyxNQUFNLENBQUM7aUJBQ3ZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBFdm9Mb2FkZXJDb21wb25lbnQgfSBmcm9tICcuL2V2by1sb2FkZXIuY29tcG9uZW50JztcbmltcG9ydCB7IEV2b1VpS2l0TW9kdWxlIH0gZnJvbSAnLi4vLi4vZXZvLXVpLWtpdC5tb2R1bGUnO1xuaW1wb3J0IHsgRXZvQ2lyY3VsYXJMb2FkZXJDb21wb25lbnQgfSBmcm9tICcuL2V2by1jaXJjdWxhci1sb2FkZXIuY29tcG9uZW50JztcblxuY29uc3QgYnVuZGxlID0gW1xuICAgIEV2b0xvYWRlckNvbXBvbmVudCxcbiAgICBFdm9DaXJjdWxhckxvYWRlckNvbXBvbmVudCxcbl07XG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgICAgIEV2b1VpS2l0TW9kdWxlLFxuICAgIF0sXG4gICAgZGVjbGFyYXRpb25zOiBbLi4uYnVuZGxlXSxcbiAgICBleHBvcnRzOiBbLi4uYnVuZGxlXSxcbn0pXG5leHBvcnQgY2xhc3MgRXZvTG9hZGVyTW9kdWxlIHtcbn1cbiJdfQ==
|
|
@@ -4,8 +4,8 @@ import { takeWhile } from 'rxjs/operators';
|
|
|
4
4
|
import { Key } from 'ts-keycode-enum';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./evo-modal.service";
|
|
7
|
-
import * as i2 from "
|
|
8
|
-
import * as i3 from "
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "../evo-button/components/evo-button/evo-button.component";
|
|
9
9
|
export var EvoModalCloseTargets;
|
|
10
10
|
(function (EvoModalCloseTargets) {
|
|
11
11
|
EvoModalCloseTargets["BACKGROUND"] = "background";
|
|
@@ -100,9 +100,9 @@ export class EvoModalComponent {
|
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
EvoModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
104
|
-
EvoModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
103
|
+
EvoModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoModalComponent, deps: [{ token: i1.EvoModalService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
+
EvoModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoModalComponent, selector: "evo-modal", inputs: { id: "id", titleText: "titleText", acceptText: "acceptText", acceptButtonColor: "acceptButtonColor", acceptButtonTheme: "acceptButtonTheme", declineText: "declineText", declineButtonColor: "declineButtonColor", declineButtonTheme: "declineButtonTheme", asyncAccept: "asyncAccept" }, ngImport: i0, template: "<div\n *ngIf=\"modalState?.isOpen\"\n class=\"evo-modal__background\"\n [ngClass]=\"{'evo-modal__background_visible': isVisible}\"\n (click)=\"onBackgroundClick($event)\"\n></div>\n<div\n *ngIf=\"modalState?.isOpen\"\n class=\"evo-modal__wrapper\"\n [ngClass]=\"{'evo-modal_visible': isVisible}\"\n (click)=\"onBackgroundClick($event)\"\n>\n <div class=\"evo-modal\">\n <div class=\"evo-modal__icon\">\n <ng-content select=\"evo-icon\"></ng-content>\n </div>\n <h2 *ngIf=\"titleText !== undefined\" class=\"evo-modal__title\">{{ titleText }}</h2>\n <div class=\"evo-modal__content\">\n <ng-content></ng-content>\n </div>\n <div class=\"evo-modal__buttons\" [ngClass]=\"{'evo-modal__buttons_single-btn': !declineText || !acceptText}\">\n <button\n *ngIf=\"declineText\"\n evoButton\n class=\"evo-modal__button evo-modal__button_decline\"\n [color]=\"declineButtonColor\"\n [theme]=\"declineButtonTheme\"\n [disabled]=\"isDeclineDisabled\"\n (click)=\"handleOnClose(false, closeTargets.BUTTON)\"\n >\n {{ declineText }}\n </button>\n <button\n *ngIf=\"acceptText\"\n evoButton\n class=\"evo-modal__button evo-modal__button_accept\"\n [color]=\"acceptButtonColor\"\n [theme]=\"acceptButtonTheme\"\n [loading]=\"isAcceptLoading\"\n (click)=\"handleOnClose(true, closeTargets.BUTTON)\"\n >\n {{ acceptText }}\n </button>\n </div>\n </div>\n</div>\n", styles: [".evo-modal{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;max-width:738px;height:auto;max-height:100%;margin-top:50px;padding:56px 0 16px;overflow:hidden;text-align:center;background-color:#fff;border-radius:16px;box-shadow:0 0 12px 2px #0000004d;opacity:0;transition:margin-top .25s,opacity .25s;transition-delay:50ms}.evo-modal_visible .evo-modal{margin-top:0;opacity:1}@media (min-width: 768px){.evo-modal{width:738px;height:auto;padding:32px 0}}.evo-modal__title{margin-top:0;margin-bottom:0;padding-right:32px;padding-left:32px;font-weight:700;font-size:16px;line-height:24px}@media (min-width: 768px){.evo-modal__title{width:674px;padding-right:16px;padding-left:16px;font-size:24px;line-height:32px}}.evo-modal__icon{margin-bottom:8px}.evo-modal__icon ::ng-deep evo-icon{display:block;width:64px;height:64px}@media (min-width: 768px){.evo-modal__icon{margin-bottom:32px}}.evo-modal__icon:empty{display:none}.evo-modal__content{width:100%;margin-top:32px;padding:0 32px;overflow:auto;font-size:14px;line-height:22px}.evo-modal__content:empty{display:none;margin-top:0}@media (min-width: 768px){.evo-modal__content{padding:0 16px}}.evo-modal__content ::ng-deep *:last-child{margin-bottom:0}.evo-modal__background{position:fixed;inset:0;z-index:1010;display:flex;justify-content:center;width:100%;height:100%;background:rgba(0,0,0,.5);opacity:0;transition:opacity .25s}.evo-modal__background_visible{opacity:1}.evo-modal__wrapper{position:fixed;inset:0;z-index:1011;display:flex;justify-content:center;align-items:center;width:100%;padding:16px}@media (min-width: 768px){.evo-modal__wrapper{width:auto}}.evo-modal__buttons{display:flex;flex-shrink:0;flex-direction:column-reverse;justify-content:center;align-items:center;width:100%;margin-top:56px;padding-right:32px;padding-left:32px}@media (min-width: 768px){.evo-modal__buttons{display:grid;width:auto;grid-template-columns:repeat(2,minmax(140px,1fr));grid-column-gap:32px;margin:32px auto 0;padding-right:16px;padding-left:16px}.evo-modal__buttons_single-btn{grid-template-columns:minmax(140px,1fr)}}.evo-modal__button{display:block;width:100%}@media (min-width: 768px){.evo-modal__button{width:auto}}.evo-modal__button+.evo-modal__button{margin:0 0 16px}@media (min-width: 768px){.evo-modal__button+.evo-modal__button{margin:0}}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.EvoButtonComponent, selector: "button[evoButton], a[evoButton]", inputs: ["size", "color", "theme", "disabled", "loading"] }] });
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoModalComponent, decorators: [{
|
|
106
106
|
type: Component,
|
|
107
107
|
args: [{ selector: 'evo-modal', template: "<div\n *ngIf=\"modalState?.isOpen\"\n class=\"evo-modal__background\"\n [ngClass]=\"{'evo-modal__background_visible': isVisible}\"\n (click)=\"onBackgroundClick($event)\"\n></div>\n<div\n *ngIf=\"modalState?.isOpen\"\n class=\"evo-modal__wrapper\"\n [ngClass]=\"{'evo-modal_visible': isVisible}\"\n (click)=\"onBackgroundClick($event)\"\n>\n <div class=\"evo-modal\">\n <div class=\"evo-modal__icon\">\n <ng-content select=\"evo-icon\"></ng-content>\n </div>\n <h2 *ngIf=\"titleText !== undefined\" class=\"evo-modal__title\">{{ titleText }}</h2>\n <div class=\"evo-modal__content\">\n <ng-content></ng-content>\n </div>\n <div class=\"evo-modal__buttons\" [ngClass]=\"{'evo-modal__buttons_single-btn': !declineText || !acceptText}\">\n <button\n *ngIf=\"declineText\"\n evoButton\n class=\"evo-modal__button evo-modal__button_decline\"\n [color]=\"declineButtonColor\"\n [theme]=\"declineButtonTheme\"\n [disabled]=\"isDeclineDisabled\"\n (click)=\"handleOnClose(false, closeTargets.BUTTON)\"\n >\n {{ declineText }}\n </button>\n <button\n *ngIf=\"acceptText\"\n evoButton\n class=\"evo-modal__button evo-modal__button_accept\"\n [color]=\"acceptButtonColor\"\n [theme]=\"acceptButtonTheme\"\n [loading]=\"isAcceptLoading\"\n (click)=\"handleOnClose(true, closeTargets.BUTTON)\"\n >\n {{ acceptText }}\n </button>\n </div>\n </div>\n</div>\n", styles: [".evo-modal{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;max-width:738px;height:auto;max-height:100%;margin-top:50px;padding:56px 0 16px;overflow:hidden;text-align:center;background-color:#fff;border-radius:16px;box-shadow:0 0 12px 2px #0000004d;opacity:0;transition:margin-top .25s,opacity .25s;transition-delay:50ms}.evo-modal_visible .evo-modal{margin-top:0;opacity:1}@media (min-width: 768px){.evo-modal{width:738px;height:auto;padding:32px 0}}.evo-modal__title{margin-top:0;margin-bottom:0;padding-right:32px;padding-left:32px;font-weight:700;font-size:16px;line-height:24px}@media (min-width: 768px){.evo-modal__title{width:674px;padding-right:16px;padding-left:16px;font-size:24px;line-height:32px}}.evo-modal__icon{margin-bottom:8px}.evo-modal__icon ::ng-deep evo-icon{display:block;width:64px;height:64px}@media (min-width: 768px){.evo-modal__icon{margin-bottom:32px}}.evo-modal__icon:empty{display:none}.evo-modal__content{width:100%;margin-top:32px;padding:0 32px;overflow:auto;font-size:14px;line-height:22px}.evo-modal__content:empty{display:none;margin-top:0}@media (min-width: 768px){.evo-modal__content{padding:0 16px}}.evo-modal__content ::ng-deep *:last-child{margin-bottom:0}.evo-modal__background{position:fixed;inset:0;z-index:1010;display:flex;justify-content:center;width:100%;height:100%;background:rgba(0,0,0,.5);opacity:0;transition:opacity .25s}.evo-modal__background_visible{opacity:1}.evo-modal__wrapper{position:fixed;inset:0;z-index:1011;display:flex;justify-content:center;align-items:center;width:100%;padding:16px}@media (min-width: 768px){.evo-modal__wrapper{width:auto}}.evo-modal__buttons{display:flex;flex-shrink:0;flex-direction:column-reverse;justify-content:center;align-items:center;width:100%;margin-top:56px;padding-right:32px;padding-left:32px}@media (min-width: 768px){.evo-modal__buttons{display:grid;width:auto;grid-template-columns:repeat(2,minmax(140px,1fr));grid-column-gap:32px;margin:32px auto 0;padding-right:16px;padding-left:16px}.evo-modal__buttons_single-btn{grid-template-columns:minmax(140px,1fr)}}.evo-modal__button{display:block;width:100%}@media (min-width: 768px){.evo-modal__button{width:auto}}.evo-modal__button+.evo-modal__button{margin:0 0 16px}@media (min-width: 768px){.evo-modal__button+.evo-modal__button{margin:0}}\n"] }]
|
|
108
108
|
}], ctorParameters: function () { return [{ type: i1.EvoModalService }, { type: i0.ElementRef }]; }, propDecorators: { id: [{
|
|
@@ -7,16 +7,14 @@ import { EvoUiKitModule } from '../../evo-ui-kit.module';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export class EvoModalModule {
|
|
9
9
|
}
|
|
10
|
-
EvoModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
EvoModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
10
|
+
EvoModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
EvoModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EvoModalModule, declarations: [EvoModalComponent], imports: [CommonModule,
|
|
12
12
|
EvoButtonModule,
|
|
13
13
|
EvoUiKitModule], exports: [EvoModalComponent] });
|
|
14
|
-
EvoModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
]] });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoModalModule, decorators: [{
|
|
14
|
+
EvoModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoModalModule, providers: [EvoModalService], imports: [CommonModule,
|
|
15
|
+
EvoButtonModule,
|
|
16
|
+
EvoUiKitModule] });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoModalModule, decorators: [{
|
|
20
18
|
type: NgModule,
|
|
21
19
|
args: [{
|
|
22
20
|
imports: [
|
|
@@ -29,4 +27,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
29
27
|
providers: [EvoModalService]
|
|
30
28
|
}]
|
|
31
29
|
}] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLW1vZGFsLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by1tb2RhbC9ldm8tbW9kYWwubW9kdWxl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2RhbC5jb21wb25lbnQnO1xuaW1wb3J0IHsgRXZvQnV0dG9uTW9kdWxlIH0gZnJvbSAnLi4vZXZvLWJ1dHRvbi9ldm8tYnV0dG9uLm1vZHVsZSc7XG5pbXBvcnQgeyBFdm9Nb2RhbFNlcnZpY2UgfSBmcm9tICcuL2V2by1tb2RhbC5zZXJ2aWNlJztcbmltcG9ydCB7IEV2b1VpS2l0TW9kdWxlIH0gZnJvbSAnLi4vLi4vZXZvLXVpLWtpdC5tb2R1bGUnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBFdm9CdXR0b25Nb2R1bGUsXG4gICAgICAgIEV2b1VpS2l0TW9kdWxlLFxuICAgIF0sXG4gICAgZGVjbGFyYXRpb25zOiBbRXZvTW9kYWxDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtFdm9Nb2RhbENvbXBvbmVudF0sXG4gICAgcHJvdmlkZXJzOiBbRXZvTW9kYWxTZXJ2aWNlXVxufSlcbmV4cG9ydCBjbGFzcyBFdm9Nb2RhbE1vZHVsZSB7XG59XG4iXX0=
|
|
@@ -24,9 +24,9 @@ export class EvoModalService {
|
|
|
24
24
|
return this.modalEvents$.pipe(filter((data) => data.id === id), distinctUntilChanged((a, b) => isEqual(a, b)), tap((evoModalState) => evoModalState[id]));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
EvoModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
EvoModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
EvoModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
28
|
+
EvoModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoModalService });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoModalService, decorators: [{
|
|
30
30
|
type: Injectable
|
|
31
31
|
}] });
|
|
32
32
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLW1vZGFsLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8tbW9kYWwvZXZvLW1vZGFsLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNuRSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBYyxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDM0MsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLFdBQVcsQ0FBQzs7QUFlcEMsTUFBTSxPQUFPLGVBQWU7SUFENUI7UUFHWSxpQkFBWSxHQUFHLElBQUksT0FBTyxFQUFpQixDQUFDO1FBQzVDLHFCQUFnQixHQUF1QyxFQUFFLENBQUM7S0F5QnJFO0lBdkJHLFFBQVEsQ0FBQyxFQUFVO1FBQ2YsSUFBSSxDQUFDLGdCQUFnQixDQUFDLEVBQUUsQ0FBQyxHQUFHLEVBQUMsRUFBRSxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUMsQ0FBQztJQUNwRCxDQUFDO0lBRUQsVUFBVSxDQUFDLEVBQVU7UUFDakIsT0FBTyxJQUFJLENBQUMsZ0JB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cmFtc30pO1xuICAgIH1cblxuICAgIGNsb3NlKGlkOiBzdHJpbmcsIGFncmVlbWVudDogYm9vbGVhbiwgcGFyYW1zPzogRXZvTW9kYWxQYXJhbXMpIHtcbiAgICAgICAgdGhpcy5tb2RhbEV2ZW50cyQubmV4dCh7aWQsIGlzT3BlbjogZmFsc2UsIGFncmVlbWVudCwgcGFyYW1zfSk7XG4gICAgfVxuXG4gICAgZ2V0RXZlbnRzU3Vic2NyaXB0aW9uKGlkOiBzdHJpbmcpOiBPYnNlcnZhYmxlPEV2b01vZGFsU3RhdGU+IHtcbiAgICAgICAgcmV0dXJuIHRoaXMubW9kYWxFdmVudHMkLnBpcGUoXG4gICAgICAgICAgICBmaWx0ZXIoKGRhdGE6IEV2b1NpZGViYXJTdGF0ZSkgPT4gZGF0YS5pZCA9PT0gaWQpLFxuICAgICAgICAgICAgZGlzdGluY3RVbnRpbENoYW5nZWQoKGEsIGIpID0+IGlzRXF1YWwoYSwgYikpLFxuICAgICAgICAgICAgdGFwKChldm9Nb2RhbFN0YXRlOiBFdm9Nb2RhbFN0YXRlKSA9PiBldm9Nb2RhbFN0YXRlW2lkXSksXG4gICAgICAgICk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
4
|
import * as i2 from "../../../directives/evo-let/evo-let.directive";
|
|
5
|
-
import * as i3 from "@angular/
|
|
6
|
-
import * as i4 from "../../evo-dropdown/evo-dropdown
|
|
7
|
-
import * as i5 from "
|
|
5
|
+
import * as i3 from "@angular/router";
|
|
6
|
+
import * as i4 from "../../evo-dropdown/evo-dropdown.component";
|
|
7
|
+
import * as i5 from "../../evo-dropdown/evo-dropdown-origin.directive";
|
|
8
8
|
export class EvoNavbarItemComponent {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.subMenuPositions = [
|
|
@@ -37,9 +37,9 @@ export class EvoNavbarItemComponent {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
EvoNavbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
EvoNavbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
EvoNavbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavbarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
EvoNavbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoNavbarItemComponent, selector: "evo-navbar-item", inputs: { item: "item", isNested: "isNested", isMobileView: "isMobileView", subMenuPositions: "subMenuPositions" }, outputs: { openSubMenu: "openSubMenu", closeSubMenu: "closeSubMenu" }, ngImport: i0, template: "<!-- TODO: delete $any alias after update to ng12-->\n<ng-container *evoLet=\"$any(item) as linkItem\">\n <a\n *ngIf=\"linkItem.href; else routerLink\"\n #origin=\"evoDropdownOrigin\"\n evoDropdownOrigin\n class=\"evo-navbar__link evo-navbar__link_external\"\n [attr.href]=\"linkItem.href\"\n [attr.target]=\"linkItem.target\"\n [class.evo-navbar__link_nested]=\"isNested\"\n [class.evo-navbar__link_highlighted]=\"origin.isDropdownOpen\"\n (mouseenter)=\"open(origin)\"\n (mouseleave)=\"close(origin)\"\n >\n <span class=\"evo-navbar__link-title\">{{ linkItem.title }}</span>\n\n <ng-container *ngTemplateOutlet=\"subNav; context: {origin: origin}\"></ng-container>\n </a>\n\n <ng-template #routerLink>\n <ng-container *evoLet=\"isMobileView && !!linkItem.subItems?.length as isRootItemJustOpenSubMenu\">\n <span\n *ngIf=\"isRootItemJustOpenSubMenu; else defaultRootItem\"\n #origin=\"evoDropdownOrigin\"\n evoDropdownOrigin\n class=\"evo-navbar__link\"\n [class.evo-navbar__link_highlighted]=\"origin.isDropdownOpen\"\n (click)=\"toggle(origin)\"\n (mouseleave)=\"close(origin)\"\n >\n <span class=\"evo-navbar__link-title\">{{ linkItem.title }}</span>\n\n <ng-container *ngTemplateOutlet=\"subNav; context: {origin: origin}\"></ng-container>\n </span>\n\n <ng-template #defaultRootItem>\n <a\n #origin=\"evoDropdownOrigin\"\n evoDropdownOrigin\n class=\"evo-navbar__link\"\n [class.evo-navbar__link_nested]=\"isNested\"\n [class.evo-navbar__link_highlighted]=\"origin.isDropdownOpen\"\n [routerLink]=\"linkItem.routerLink\"\n [routerLinkActive]=\"isNested ? ['evo-navbar__link_active'] : []\"\n [routerLinkActiveOptions]=\"{exact: !!linkItem.isExactPath}\"\n [preserveFragment]=\"!!linkItem.preserveFragment\"\n [queryParamsHandling]=\"linkItem.queryParamsHandling\"\n [fragment]=\"linkItem.fragment\"\n [queryParams]=\"linkItem.queryParams\"\n [skipLocationChange]=\"linkItem.skipLocationChange\"\n [replaceUrl]=\"linkItem.replaceUrl\"\n [state]=\"linkItem.state\"\n (mouseenter)=\"open(origin)\"\n (mouseleave)=\"close(origin)\"\n >\n <span class=\"evo-navbar__link-title\">{{ linkItem.title }}</span>\n\n <ng-container *ngTemplateOutlet=\"subNav; context: {origin: origin}\"></ng-container>\n </a>\n </ng-template>\n </ng-container>\n </ng-template>\n\n <ng-template #subNav let-origin=\"origin\">\n <evo-dropdown\n *ngIf=\"linkItem.subItems?.length\"\n [positions]=\"subMenuPositions\"\n [dropdownOrigin]=\"origin\"\n [(isOpen)]=\"origin.isDropdownOpen\"\n >\n <section\n class=\"evo-navbar__sub\"\n (mouseenter)=\"open(origin)\"\n (mouseleave)=\"close(origin)\"\n >\n <div class=\"evo-navbar__sub-content\">\n <evo-navbar-item\n *ngFor=\"let subItem of linkItem.subItems\"\n [item]=\"subItem\"\n [isNested]=\"true\"\n [isMobileView]=\"isMobileView\"\n (click)=\"close(origin)\"\n ></evo-navbar-item>\n </div>\n </section>\n </evo-dropdown>\n </ng-template>\n</ng-container>\n", styles: [":host{display:block;flex-shrink:0}.evo-navbar__link{display:block;flex-shrink:0;padding:9px 8px;color:#212121;font-size:14px;line-height:22px;-webkit-user-select:none;user-select:none}@media (min-width: 768px){.evo-navbar__link:not(.evo-navbar__link_nested):hover .evo-navbar__link-title{background:#FFFFFF}}.evo-navbar__link_nested{padding:12px 16px}.evo-navbar__link_nested .evo-navbar__link-title{padding:0;font-weight:400;border-radius:0}.evo-navbar__link_nested:hover{background:#F4F6F8}.evo-navbar__link_nested.evo-navbar__link_active{color:#fff;background:#F05023}.evo-navbar__link_highlighted .evo-navbar__link-title{background:#FFFFFF}.evo-navbar__link-title{display:block;max-width:100%;padding:4px 8px;overflow:hidden;font-weight:600;white-space:nowrap;text-overflow:ellipsis;border-radius:4px}.evo-navbar__sub{--evo-navbar-dropdown-max-width: 85vw;--evo-navbar-dropdown-max-height: 310px;flex-shrink:0;max-width:85vw;max-width:var(--evo-navbar-dropdown-max-width)}.evo-navbar__sub-content{display:flex;flex-flow:column;max-height:310px;max-height:var(--evo-navbar-dropdown-max-height);margin-top:4px;overflow:auto;background:#FFFFFF;border-radius:8px;box-shadow:0 8px 10px #00000024,0 3px 14px #0000001f}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.EvoLetDirective, selector: "[evoLet]", inputs: ["evoLet"] }, { kind: "directive", type: i3.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: i4.EvoDropdownComponent, selector: "evo-dropdown", inputs: ["scrollStrategy", "dropdownOrigin", "isOpen", "positions"], outputs: ["isOpenChange"] }, { kind: "directive", type: i5.EvoDropdownOriginDirective, selector: "[evoDropdownOrigin]", exportAs: ["evoDropdownOrigin"] }, { kind: "component", type: EvoNavbarItemComponent, selector: "evo-navbar-item", inputs: ["item", "isNested", "isMobileView", "subMenuPositions"], outputs: ["openSubMenu", "closeSubMenu"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavbarItemComponent, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{ selector: 'evo-navbar-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- TODO: delete $any alias after update to ng12-->\n<ng-container *evoLet=\"$any(item) as linkItem\">\n <a\n *ngIf=\"linkItem.href; else routerLink\"\n #origin=\"evoDropdownOrigin\"\n evoDropdownOrigin\n class=\"evo-navbar__link evo-navbar__link_external\"\n [attr.href]=\"linkItem.href\"\n [attr.target]=\"linkItem.target\"\n [class.evo-navbar__link_nested]=\"isNested\"\n [class.evo-navbar__link_highlighted]=\"origin.isDropdownOpen\"\n (mouseenter)=\"open(origin)\"\n (mouseleave)=\"close(origin)\"\n >\n <span class=\"evo-navbar__link-title\">{{ linkItem.title }}</span>\n\n <ng-container *ngTemplateOutlet=\"subNav; context: {origin: origin}\"></ng-container>\n </a>\n\n <ng-template #routerLink>\n <ng-container *evoLet=\"isMobileView && !!linkItem.subItems?.length as isRootItemJustOpenSubMenu\">\n <span\n *ngIf=\"isRootItemJustOpenSubMenu; else defaultRootItem\"\n #origin=\"evoDropdownOrigin\"\n evoDropdownOrigin\n class=\"evo-navbar__link\"\n [class.evo-navbar__link_highlighted]=\"origin.isDropdownOpen\"\n (click)=\"toggle(origin)\"\n (mouseleave)=\"close(origin)\"\n >\n <span class=\"evo-navbar__link-title\">{{ linkItem.title }}</span>\n\n <ng-container *ngTemplateOutlet=\"subNav; context: {origin: origin}\"></ng-container>\n </span>\n\n <ng-template #defaultRootItem>\n <a\n #origin=\"evoDropdownOrigin\"\n evoDropdownOrigin\n class=\"evo-navbar__link\"\n [class.evo-navbar__link_nested]=\"isNested\"\n [class.evo-navbar__link_highlighted]=\"origin.isDropdownOpen\"\n [routerLink]=\"linkItem.routerLink\"\n [routerLinkActive]=\"isNested ? ['evo-navbar__link_active'] : []\"\n [routerLinkActiveOptions]=\"{exact: !!linkItem.isExactPath}\"\n [preserveFragment]=\"!!linkItem.preserveFragment\"\n [queryParamsHandling]=\"linkItem.queryParamsHandling\"\n [fragment]=\"linkItem.fragment\"\n [queryParams]=\"linkItem.queryParams\"\n [skipLocationChange]=\"linkItem.skipLocationChange\"\n [replaceUrl]=\"linkItem.replaceUrl\"\n [state]=\"linkItem.state\"\n (mouseenter)=\"open(origin)\"\n (mouseleave)=\"close(origin)\"\n >\n <span class=\"evo-navbar__link-title\">{{ linkItem.title }}</span>\n\n <ng-container *ngTemplateOutlet=\"subNav; context: {origin: origin}\"></ng-container>\n </a>\n </ng-template>\n </ng-container>\n </ng-template>\n\n <ng-template #subNav let-origin=\"origin\">\n <evo-dropdown\n *ngIf=\"linkItem.subItems?.length\"\n [positions]=\"subMenuPositions\"\n [dropdownOrigin]=\"origin\"\n [(isOpen)]=\"origin.isDropdownOpen\"\n >\n <section\n class=\"evo-navbar__sub\"\n (mouseenter)=\"open(origin)\"\n (mouseleave)=\"close(origin)\"\n >\n <div class=\"evo-navbar__sub-content\">\n <evo-navbar-item\n *ngFor=\"let subItem of linkItem.subItems\"\n [item]=\"subItem\"\n [isNested]=\"true\"\n [isMobileView]=\"isMobileView\"\n (click)=\"close(origin)\"\n ></evo-navbar-item>\n </div>\n </section>\n </evo-dropdown>\n </ng-template>\n</ng-container>\n", styles: [":host{display:block;flex-shrink:0}.evo-navbar__link{display:block;flex-shrink:0;padding:9px 8px;color:#212121;font-size:14px;line-height:22px;-webkit-user-select:none;user-select:none}@media (min-width: 768px){.evo-navbar__link:not(.evo-navbar__link_nested):hover .evo-navbar__link-title{background:#FFFFFF}}.evo-navbar__link_nested{padding:12px 16px}.evo-navbar__link_nested .evo-navbar__link-title{padding:0;font-weight:400;border-radius:0}.evo-navbar__link_nested:hover{background:#F4F6F8}.evo-navbar__link_nested.evo-navbar__link_active{color:#fff;background:#F05023}.evo-navbar__link_highlighted .evo-navbar__link-title{background:#FFFFFF}.evo-navbar__link-title{display:block;max-width:100%;padding:4px 8px;overflow:hidden;font-weight:600;white-space:nowrap;text-overflow:ellipsis;border-radius:4px}.evo-navbar__sub{--evo-navbar-dropdown-max-width: 85vw;--evo-navbar-dropdown-max-height: 310px;flex-shrink:0;max-width:85vw;max-width:var(--evo-navbar-dropdown-max-width)}.evo-navbar__sub-content{display:flex;flex-flow:column;max-height:310px;max-height:var(--evo-navbar-dropdown-max-height);margin-top:4px;overflow:auto;background:#FFFFFF;border-radius:8px;box-shadow:0 8px 10px #00000024,0 3px 14px #0000001f}\n"] }]
|
|
45
45
|
}], propDecorators: { item: [{
|
|
@@ -55,4 +55,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
55
55
|
}], closeSubMenu: [{
|
|
56
56
|
type: Output
|
|
57
57
|
}] } });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLW5hdmJhci1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJ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ZiYXJfX2xpbmtfaGlnaGxpZ2h0ZWRdPVwib3JpZ2luLmlzRHJvcGRvd25PcGVuXCJcbiAgICAgICAgICAgICAgICAoY2xpY2spPVwidG9nZ2xlKG9yaWdpbilcIlxuICAgICAgICAgICAgICAgIChtb3VzZWxlYXZlKT1cImNsb3NlKG9yaWdpbilcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwiZXZvLW5hdmJhcl9fbGluay10aXRsZVwiPnt7IGxpbmtJdGVtLnRpdGxlIH19PC9zcGFuPlxuXG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInN1Yk5hdjsgY29udGV4dDoge29yaWdpbjogb3JpZ2lufVwiPjwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgPC9zcGFuPlxuXG4gICAgICAgICAgICA8bmctdGVtcGxhdGUgI2RlZmF1bHRSb290SXRlbT5cbiAgICAgICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgICAgICAjb3JpZ2luPVwiZXZvRHJvcGRvd25PcmlnaW5cIlxuICAgICAgICAgICAgICAgICAgICBldm9Ecm9wZG93bk9yaWdpblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImV2by1uYXZiYXJfX2xpbmtcIlxuICAgICAgICAgICAgICAgICAgICBbY2xhc3MuZXZvLW5hdmJhcl9fbGlua19uZXN0ZWRdPVwiaXNOZXN0ZWRcIlxuICAgICAgICAgICAgICAgICAgICBbY2xhc3MuZXZvLW5hdmJhcl9fbGlua19oaWdobGlnaHRlZF09XCJvcmlnaW4uaXNEcm9wZG93bk9wZW5cIlxuICAgICAgICAgICAgICAgICAgICBbcm91dGVyTGlua109XCJsaW5rSXRlbS5yb3V0ZXJMaW5rXCJcbiAgICAgICAgICAgICAgICAgICAgW3JvdXRlckxpbmtBY3RpdmVdPVwiaXNOZXN0ZWQgPyBbJ2V2by1uYXZiYXJfX2xpbmtfYWN0aXZlJ10gOiBbXVwiXG4gICAgICAgICAgICAgICAgICAgIFtyb3V0ZXJMaW5rQWN0aXZlT3B0aW9uc109XCJ7ZXhhY3Q6ICEhbGlua0l0ZW0uaXNFeGFjdFBhdGh9XCJcbiAgICAgICAgICAgICAgICAgICAgW3ByZXNlcnZlRnJhZ21lbnRdPVwiISFsaW5rSXRlbS5wcmVzZXJ2ZUZyYWdtZW50XCJcbiAgICAgICAgICAgICAgICAgICAgW3F1ZXJ5UGFyYW1zSGFuZGxpbmddPVwibGlua0l0ZW0ucXVlcnlQYXJhbXNIYW5kbGluZ1wiXG4gICAgICAgICAgICAgICAgICAgIFtmcmFnbWVudF09XCJsaW5rSXRlbS5mcmFnbWVudFwiXG4gICAgICAgICAgICAgICAgICAgIFtxdWVyeVBhcmFtc109XCJsaW5rSXRlbS5xdWVyeVBhcmFtc1wiXG4gICAgICAgICAgICAgICAgICAgIFtza2lwTG9jYXRpb25DaGFuZ2VdPVwibGlua0l0ZW0uc2tpcExvY2F0aW9uQ2hhbmdlXCJcbiAgICAgICAgICAgICAgICAgICAgW3JlcGxhY2VVcmxdPVwibGlua0l0ZW0ucmVwbGFjZVVybFwiXG4gICAgICAgICAgICAgICAgICAgIFtzdGF0ZV09XCJsaW5rSXRlbS5zdGF0ZVwiXG4gICAgICAgICAgICAgICAgICAgIChtb3VzZWVudGVyKT1cIm9wZW4ob3JpZ2luKVwiXG4gICAgICAgICAgICAgICAgICAgIChtb3VzZWxlYXZlKT1cImNsb3NlKG9yaWdpbilcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJldm8tbmF2YmFyX19saW5rLXRpdGxlXCI+e3sgbGlua0l0ZW0udGl0bGUgfX08L3NwYW4+XG5cbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInN1Yk5hdjsgY29udGV4dDoge29yaWdpbjogb3JpZ2lufVwiPjwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgIDwvYT5cbiAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgIDwvbmctdGVtcGxhdGU+XG5cbiAgICA8bmctdGVtcGxhdGUgI3N1Yk5hdiBsZXQtb3JpZ2luPVwib3JpZ2luXCI+XG4gICAgICAgIDxldm8tZHJvcGRvd25cbiAgICAgICAgICAgICpuZ0lmPVwibGlua0l0ZW0uc3ViSXRlbXM/Lmxlbmd0aFwiXG4gICAgICAgICAgICBbcG9zaXRpb25zXT1cInN1Yk1lbnVQb3NpdGlvbnNcIlxuICAgICAgICAgICAgW2Ryb3Bkb3duT3JpZ2luXT1cIm9yaWdpblwiXG4gICAgICAgICAgICBbKGlzT3BlbildPVwib3JpZ2luLmlzRHJvcGRvd25PcGVuXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPHNlY3Rpb25cbiAgICAgICAgICAgICAgICBjbGFzcz1cImV2by1uYXZiYXJfX3N1YlwiXG4gICAgICAgICAgICAgICAgKG1vdXNlZW50ZXIpPVwib3BlbihvcmlnaW4pXCJcbiAgICAgICAgICAgICAgICAobW91c2VsZWF2ZSk9XCJjbG9zZShvcmlnaW4pXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZXZvLW5hdmJhcl9fc3ViLWNvbnRlbnRcIj5cbiAgICAgICAgICAgICAgICAgICAgPGV2by1uYXZiYXItaXRlbVxuICAgICAgICAgICAgICAgICAgICAgICAgKm5nRm9yPVwibGV0IHN1Ykl0ZW0gb2YgbGlua0l0ZW0uc3ViSXRlbXNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2l0ZW1dPVwic3ViSXRlbVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbaXNOZXN0ZWRdPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbaXNNb2JpbGVWaWV3XT1cImlzTW9iaWxlVmlld1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiY2xvc2Uob3JpZ2luKVwiXG4gICAgICAgICAgICAgICAgICAgID48L2V2by1uYXZiYXItaXRlbT5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvc2VjdGlvbj5cbiAgICAgICAgPC9ldm8tZHJvcGRvd24+XG4gICAgPC9uZy10ZW1wbGF0ZT5cbjwvbmctY29udGFpbmVyPlxuIl19
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Inject, Input } from '@angular/core';
|
|
2
2
|
import { MOBILE_VIEW } from '../../common/constants/view-breakpoint-streams';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "./evo-navbar-item/evo-navbar-item.component";
|
|
6
6
|
import * as i3 from "rxjs";
|
|
7
7
|
export class EvoNavbarComponent {
|
|
8
8
|
constructor(isMobileView$) {
|
|
@@ -30,9 +30,9 @@ export class EvoNavbarComponent {
|
|
|
30
30
|
this.lastOpenedSubMenu = undefined;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
EvoNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
34
|
-
EvoNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
33
|
+
EvoNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavbarComponent, deps: [{ token: MOBILE_VIEW }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
EvoNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoNavbarComponent, selector: "evo-navbar", inputs: { subMenuPositions: "subMenuPositions", items: "items" }, ngImport: i0, template: "<nav class=\"evo-navbar\" (scroll)=\"closeLastOpenedSubMenu()\">\n <evo-navbar-item\n *ngFor=\"let item of items\"\n [item]=\"item\"\n [isMobileView]=\"isMobileView$ | async\"\n [subMenuPositions]=\"subMenuPositions\"\n (openSubMenu)=\"openSubMenu($event)\"\n (closeSubMenu)=\"closeSubMenu($event)\"\n ></evo-navbar-item>\n</nav>\n", styles: [":host{display:block}.evo-navbar{display:flex;flex-wrap:nowrap;padding:0 8px;overflow:auto;background:#F4F6F8;border-radius:8px;-ms-overflow-style:none;scrollbar-width:none}.evo-navbar::-webkit-scrollbar{display:none}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.EvoNavbarItemComponent, selector: "evo-navbar-item", inputs: ["item", "isNested", "isMobileView", "subMenuPositions"], outputs: ["openSubMenu", "closeSubMenu"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavbarComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
37
|
args: [{ selector: 'evo-navbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav class=\"evo-navbar\" (scroll)=\"closeLastOpenedSubMenu()\">\n <evo-navbar-item\n *ngFor=\"let item of items\"\n [item]=\"item\"\n [isMobileView]=\"isMobileView$ | async\"\n [subMenuPositions]=\"subMenuPositions\"\n (openSubMenu)=\"openSubMenu($event)\"\n (closeSubMenu)=\"closeSubMenu($event)\"\n ></evo-navbar-item>\n</nav>\n", styles: [":host{display:block}.evo-navbar{display:flex;flex-wrap:nowrap;padding:0 8px;overflow:auto;background:#F4F6F8;border-radius:8px;-ms-overflow-style:none;scrollbar-width:none}.evo-navbar::-webkit-scrollbar{display:none}\n"] }]
|
|
38
38
|
}], ctorParameters: function () { return [{ type: i3.Observable, decorators: [{
|
|
@@ -9,10 +9,10 @@ import { EvoDropdownModule } from '../evo-dropdown';
|
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export class EvoNavbarModule {
|
|
11
11
|
}
|
|
12
|
-
EvoNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
EvoNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
14
|
-
EvoNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
EvoNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
EvoNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EvoNavbarModule, declarations: [EvoNavbarComponent, EvoNavbarItemComponent], imports: [CommonModule, EvoUiKitModule, RouterModule, EvoDropdownModule], exports: [EvoNavbarComponent] });
|
|
14
|
+
EvoNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavbarModule, providers: [MobileViewProvider], imports: [CommonModule, EvoUiKitModule, RouterModule, EvoDropdownModule] });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavbarModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
declarations: [EvoNavbarComponent, EvoNavbarItemComponent],
|
|
@@ -21,4 +21,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
21
21
|
providers: [MobileViewProvider],
|
|
22
22
|
}]
|
|
23
23
|
}] });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLW5hdmJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8tbmF2YmFyL2V2by1uYXZiYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzVELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQztBQUNyRixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxnREFBZ0QsQ0FBQztBQUNwRixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDekQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0saUJBQWlCLENBQUM7O0FBUXBELE1BQU0sT0FBTyxlQUFlOzs0R0FBZixlQUFlOzZHQUFmLGVBQWUsaUJBTFQsa0JBQWtCLEVBQUUsc0JBQXNCLGFBQy9DLFlBQVksRUFBRSxjQUFjLEVBQUUsWUFBWSxFQUFFLGlCQUFpQixhQUM3RCxrQkFBa0I7NkdBR25CLGVBQWUsYUFGYixDQUFDLGtCQUFrQixDQUFDLFlBRnJCLFlBQVks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tcG9uZW50LCBFdm9OYXZiYXJJdGVtQ29tcG9uZW50XSxcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBFdm9VaUtpdE1vZHVsZSwgUm91dGVyTW9kdWxlLCBFdm9Ecm9wZG93bk1vZHVsZV0sXG4gICAgZXhwb3J0czogW0V2b05hdmJhckNvbXBvbmVudF0sXG4gICAgcHJvdmlkZXJzOiBbTW9iaWxlVmlld1Byb3ZpZGVyXSxcbn0pXG5leHBvcnQgY2xhc3MgRXZvTmF2YmFyTW9kdWxlIHt9XG4iXX0=
|
|
@@ -3,9 +3,9 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
import * as i1 from "../evo-icon/evo-icon.component";
|
|
4
4
|
export class EvoNavigationButtonComponent {
|
|
5
5
|
}
|
|
6
|
-
EvoNavigationButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
EvoNavigationButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6
|
+
EvoNavigationButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavigationButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
+
EvoNavigationButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoNavigationButtonComponent, selector: "evo-navigation-button", ngImport: i0, template: "<button class=\"evo-navigation-button\">\n <div class=\"evo-navigation-button__icon-wrapper\">\n <evo-icon class=\"evo-navigation-button__icon\" shape=\"chevron-left\"></evo-icon>\n </div>\n <span class=\"evo-navigation-button__label\"><ng-content></ng-content></span>\n</button>\n", styles: [":host{display:inline-block;margin:0;padding:0;background:none;border:none;cursor:pointer}.evo-navigation-button{display:flex;flex-flow:row nowrap;align-items:center;gap:4px;margin:0;padding:0;background:none;border:none;outline:none}.evo-navigation-button:hover .evo-navigation-button__icon{fill:#3a9ee8}.evo-navigation-button:hover .evo-navigation-button__label{color:#3a9ee8}.evo-navigation-button:active .evo-navigation-button__icon{fill:#0879cb}.evo-navigation-button:active .evo-navigation-button__label{color:#0879cb}.evo-navigation-button__icon-wrapper{width:24px;height:24px}.evo-navigation-button__icon{fill:#0986e2}.evo-navigation-button__label{font-family:var(--evo-font);font-style:normal;font-size:14px;line-height:24px;font-weight:600;color:#0986e2}\n"], dependencies: [{ kind: "component", type: i1.EvoIconComponent, selector: "evo-icon", inputs: ["shape", "svgWidth", "svgHeight", "svgViewBox"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavigationButtonComponent, decorators: [{
|
|
9
9
|
type: Component,
|
|
10
10
|
args: [{ selector: 'evo-navigation-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button class=\"evo-navigation-button\">\n <div class=\"evo-navigation-button__icon-wrapper\">\n <evo-icon class=\"evo-navigation-button__icon\" shape=\"chevron-left\"></evo-icon>\n </div>\n <span class=\"evo-navigation-button__label\"><ng-content></ng-content></span>\n</button>\n", styles: [":host{display:inline-block;margin:0;padding:0;background:none;border:none;cursor:pointer}.evo-navigation-button{display:flex;flex-flow:row nowrap;align-items:center;gap:4px;margin:0;padding:0;background:none;border:none;outline:none}.evo-navigation-button:hover .evo-navigation-button__icon{fill:#3a9ee8}.evo-navigation-button:hover .evo-navigation-button__label{color:#3a9ee8}.evo-navigation-button:active .evo-navigation-button__icon{fill:#0879cb}.evo-navigation-button:active .evo-navigation-button__label{color:#0879cb}.evo-navigation-button__icon-wrapper{width:24px;height:24px}.evo-navigation-button__icon{fill:#0986e2}.evo-navigation-button__label{font-family:var(--evo-font);font-style:normal;font-size:14px;line-height:24px;font-weight:600;color:#0986e2}\n"] }]
|
|
11
11
|
}] });
|
|
@@ -7,20 +7,18 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
import * as i1 from "../evo-icon/evo-icon.module";
|
|
8
8
|
export class EvoNavigationButtonModule {
|
|
9
9
|
}
|
|
10
|
-
EvoNavigationButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
EvoNavigationButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
12
|
-
EvoNavigationButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
'chevron-left': iconChevronLeft,
|
|
19
|
-
},
|
|
10
|
+
EvoNavigationButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavigationButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
EvoNavigationButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EvoNavigationButtonModule, declarations: [EvoNavigationButtonComponent], imports: [CommonModule, i1.EvoIconModule], exports: [EvoNavigationButtonComponent] });
|
|
12
|
+
EvoNavigationButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavigationButtonModule, imports: [CommonModule,
|
|
13
|
+
EvoIconModule.forRoot([
|
|
14
|
+
{
|
|
15
|
+
name: 'navigation',
|
|
16
|
+
shapes: {
|
|
17
|
+
'chevron-left': iconChevronLeft,
|
|
20
18
|
},
|
|
21
|
-
|
|
22
|
-
]] });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
},
|
|
20
|
+
])] });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoNavigationButtonModule, decorators: [{
|
|
24
22
|
type: NgModule,
|
|
25
23
|
args: [{
|
|
26
24
|
imports: [
|
|
@@ -42,4 +40,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
42
40
|
]
|
|
43
41
|
}]
|
|
44
42
|
}] });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLW5hdmlnYXRpb24tYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by1uYXZpZ2F0aW9uLWJ1dHRvbi9ldm8tbmF2aWdhdGlvbi1idXR0b24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyw0QkFBNEIsRUFBQyxNQUFNLG1DQUFtQyxDQUFDO0FBQy9FLE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxhQUFhLENBQUM7QUFDMUMsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLHFDQUFxQyxDQUFDOzs7QUFxQnBFLE1BQU0sT0FBTyx5QkFBeUI7O3NIQUF6Qix5QkFBeUI7dUhBQXpCLHlCQUF5QixpQkFOOUIsNEJBQTRCLGFBWDVCLFlBQVksK0JBY1osNEJBQTRCO3VIQUd2Qix5QkFBeUIsWUFqQjlCLFlBQVk7UUFDWixhQUFhLENBQUMsT0FBTyxDQUFDO1lBQ2xCO2dCQUNJLElBQUksRUFBRSxZQUFZO2dCQUNsQixNQUFNLEV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