@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
|
@@ -3,8 +3,8 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
|
3
3
|
import { EvoBaseControl } from '../../common/evo-base-control';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/forms";
|
|
6
|
-
import * as i2 from "
|
|
7
|
-
import * as i3 from "
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
import * as i3 from "../../directives/evo-ui-class.directive";
|
|
8
8
|
export * from './typings/options';
|
|
9
9
|
export var EvoRadioGroupThemes;
|
|
10
10
|
(function (EvoRadioGroupThemes) {
|
|
@@ -93,15 +93,15 @@ export class EvoRadioGroupComponent extends EvoBaseControl {
|
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
EvoRadioGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
97
|
-
EvoRadioGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
96
|
+
EvoRadioGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioGroupComponent, deps: [{ token: i1.UntypedFormBuilder }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
97
|
+
EvoRadioGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoRadioGroupComponent, selector: "evo-radio-group", inputs: { options: "options", _value: ["value", "_value"], theme: "theme", direction: "direction" }, providers: [
|
|
98
98
|
{
|
|
99
99
|
provide: NG_VALUE_ACCESSOR,
|
|
100
100
|
useExisting: forwardRef(() => EvoRadioGroupComponent),
|
|
101
101
|
multi: true,
|
|
102
102
|
},
|
|
103
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"evo-radio-group\" [evoUiClass]=\"totalClasses\" [formGroup]=\"formGroup\">\n <label class=\"evo-radio-group__radio\" *ngFor=\"let option of optionArray\">\n <!-- \u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0441\u0442\u0438\u043B\u0435\u0439 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043F\u0441\u0435\u0432\u0434\u043E\u0441\u0435\u043B\u0435\u043A\u0442\u043E\u0440\u0430 :checked -->\n <input class=\"evo-radio-group__radio-control\" (ngModelChange) = \"onChangedValue($event)\" formControlName=\"value\" type=\"radio\" value={{option.value}}>\n <div class=\"evo-radio-group__radio-view\">\n <span class=\"evo-radio-group__radio-icon\"></span>\n <span class=\"evo-radio-group__radio-value\">{{option.presentationText}}</span>\n </div>\n </label>\n</div>\n", styles: [":host{display:block}.evo-radio-group{display:flex;flex-wrap:wrap}.evo-radio-group__radio{flex:1;margin-right:30px;cursor:pointer}.evo-radio-group__radio:last-child{margin-right:0}.evo-radio-group__radio-control{display:none}.evo-radio-group__radio-control:checked+.evo-radio-group__radio-view{background-color:#4568a50d;border-color:#0986e2}.evo-radio-group__radio-control:checked+.evo-radio-group__radio-view .evo-radio-group__radio-icon:before{display:block}.evo-radio-group__radio-view{display:flex;align-items:center;padding:20px;border:1px solid #C6C6C6;border-radius:8px}.evo-radio-group__radio-icon{position:relative;display:inline-block;flex-shrink:0;width:20px;height:20px;margin-right:20px;background-color:#fff;border:2px solid #C6C6C6;border-radius:50%}.evo-radio-group__radio-icon:before{position:absolute;top:50%;left:50%;display:none;box-sizing:border-box;width:10px;height:10px;content:\"\";margin-top:-5px;margin-left:-5px;background-color:#0986e2;border-radius:50%}.evo-radio-group__radio-value{color:#000;font-weight:600;font-size:18px}.evo-radio-group_light .evo-radio-group__radio{flex:initial}.evo-radio-group_light .evo-radio-group__radio-view{padding:0;background:none;border:none}.evo-radio-group_light .evo-radio-group__radio-value{font-size:14px}.evo-radio-group_light .evo-radio-group__radio-control:checked+.evo-radio-group__radio-view{background:none}.evo-radio-group_segment .evo-radio-group__radio{flex:initial;margin-right:16px;margin-bottom:16px}.evo-radio-group_segment .evo-radio-group__radio-icon{display:none}.evo-radio-group_segment .evo-radio-group__radio-view{padding:8px 12px;background-color:#f4f6f8;border:none;border-radius:16px}.evo-radio-group_segment .evo-radio-group__radio-value{color:#0986e2;font-size:14px;line-height:1}.evo-radio-group_segment .evo-radio-group__radio-control:checked+.evo-radio-group__radio-view{background-color:#0986e2}.evo-radio-group_segment .evo-radio-group__radio-control:checked+.evo-radio-group__radio-view .evo-radio-group__radio-value{color:#fff}.evo-radio-group_column{flex-direction:column}.evo-radio-group_column .evo-radio-group__radio{margin-top:20px;margin-right:0}.evo-radio-group_column .evo-radio-group__radio:first-child{margin-top:0}\n"],
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
103
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"evo-radio-group\" [evoUiClass]=\"totalClasses\" [formGroup]=\"formGroup\">\n <label class=\"evo-radio-group__radio\" *ngFor=\"let option of optionArray\">\n <!-- \u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0441\u0442\u0438\u043B\u0435\u0439 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043F\u0441\u0435\u0432\u0434\u043E\u0441\u0435\u043B\u0435\u043A\u0442\u043E\u0440\u0430 :checked -->\n <input class=\"evo-radio-group__radio-control\" (ngModelChange) = \"onChangedValue($event)\" formControlName=\"value\" type=\"radio\" value={{option.value}}>\n <div class=\"evo-radio-group__radio-view\">\n <span class=\"evo-radio-group__radio-icon\"></span>\n <span class=\"evo-radio-group__radio-value\">{{option.presentationText}}</span>\n </div>\n </label>\n</div>\n", styles: [":host{display:block}.evo-radio-group{display:flex;flex-wrap:wrap}.evo-radio-group__radio{flex:1;margin-right:30px;cursor:pointer}.evo-radio-group__radio:last-child{margin-right:0}.evo-radio-group__radio-control{display:none}.evo-radio-group__radio-control:checked+.evo-radio-group__radio-view{background-color:#4568a50d;border-color:#0986e2}.evo-radio-group__radio-control:checked+.evo-radio-group__radio-view .evo-radio-group__radio-icon:before{display:block}.evo-radio-group__radio-view{display:flex;align-items:center;padding:20px;border:1px solid #C6C6C6;border-radius:8px}.evo-radio-group__radio-icon{position:relative;display:inline-block;flex-shrink:0;width:20px;height:20px;margin-right:20px;background-color:#fff;border:2px solid #C6C6C6;border-radius:50%}.evo-radio-group__radio-icon:before{position:absolute;top:50%;left:50%;display:none;box-sizing:border-box;width:10px;height:10px;content:\"\";margin-top:-5px;margin-left:-5px;background-color:#0986e2;border-radius:50%}.evo-radio-group__radio-value{color:#000;font-weight:600;font-size:18px}.evo-radio-group_light .evo-radio-group__radio{flex:initial}.evo-radio-group_light .evo-radio-group__radio-view{padding:0;background:none;border:none}.evo-radio-group_light .evo-radio-group__radio-value{font-size:14px}.evo-radio-group_light .evo-radio-group__radio-control:checked+.evo-radio-group__radio-view{background:none}.evo-radio-group_segment .evo-radio-group__radio{flex:initial;margin-right:16px;margin-bottom:16px}.evo-radio-group_segment .evo-radio-group__radio-icon{display:none}.evo-radio-group_segment .evo-radio-group__radio-view{padding:8px 12px;background-color:#f4f6f8;border:none;border-radius:16px}.evo-radio-group_segment .evo-radio-group__radio-value{color:#0986e2;font-size:14px;line-height:1}.evo-radio-group_segment .evo-radio-group__radio-control:checked+.evo-radio-group__radio-view{background-color:#0986e2}.evo-radio-group_segment .evo-radio-group__radio-control:checked+.evo-radio-group__radio-view .evo-radio-group__radio-value{color:#fff}.evo-radio-group_column{flex-direction:column}.evo-radio-group_column .evo-radio-group__radio{margin-top:20px;margin-right:0}.evo-radio-group_column .evo-radio-group__radio:first-child{margin-top:0}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }] });
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioGroupComponent, decorators: [{
|
|
105
105
|
type: Component,
|
|
106
106
|
args: [{ selector: 'evo-radio-group', providers: [
|
|
107
107
|
{
|
|
@@ -110,7 +110,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
110
110
|
multi: true,
|
|
111
111
|
},
|
|
112
112
|
], template: "<div class=\"evo-radio-group\" [evoUiClass]=\"totalClasses\" [formGroup]=\"formGroup\">\n <label class=\"evo-radio-group__radio\" *ngFor=\"let option of optionArray\">\n <!-- \u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0441\u0442\u0438\u043B\u0435\u0439 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043F\u0441\u0435\u0432\u0434\u043E\u0441\u0435\u043B\u0435\u043A\u0442\u043E\u0440\u0430 :checked -->\n <input class=\"evo-radio-group__radio-control\" (ngModelChange) = \"onChangedValue($event)\" formControlName=\"value\" type=\"radio\" value={{option.value}}>\n <div class=\"evo-radio-group__radio-view\">\n <span class=\"evo-radio-group__radio-icon\"></span>\n <span class=\"evo-radio-group__radio-value\">{{option.presentationText}}</span>\n </div>\n </label>\n</div>\n", styles: [":host{display:block}.evo-radio-group{display:flex;flex-wrap:wrap}.evo-radio-group__radio{flex:1;margin-right:30px;cursor:pointer}.evo-radio-group__radio:last-child{margin-right:0}.evo-radio-group__radio-control{display:none}.evo-radio-group__radio-control:checked+.evo-radio-group__radio-view{background-color:#4568a50d;border-color:#0986e2}.evo-radio-group__radio-control:checked+.evo-radio-group__radio-view .evo-radio-group__radio-icon:before{display:block}.evo-radio-group__radio-view{display:flex;align-items:center;padding:20px;border:1px solid #C6C6C6;border-radius:8px}.evo-radio-group__radio-icon{position:relative;display:inline-block;flex-shrink:0;width:20px;height:20px;margin-right:20px;background-color:#fff;border:2px solid #C6C6C6;border-radius:50%}.evo-radio-group__radio-icon:before{position:absolute;top:50%;left:50%;display:none;box-sizing:border-box;width:10px;height:10px;content:\"\";margin-top:-5px;margin-left:-5px;background-color:#0986e2;border-radius:50%}.evo-radio-group__radio-value{color:#000;font-weight:600;font-size:18px}.evo-radio-group_light .evo-radio-group__radio{flex:initial}.evo-radio-group_light .evo-radio-group__radio-view{padding:0;background:none;border:none}.evo-radio-group_light .evo-radio-group__radio-value{font-size:14px}.evo-radio-group_light .evo-radio-group__radio-control:checked+.evo-radio-group__radio-view{background:none}.evo-radio-group_segment .evo-radio-group__radio{flex:initial;margin-right:16px;margin-bottom:16px}.evo-radio-group_segment .evo-radio-group__radio-icon{display:none}.evo-radio-group_segment .evo-radio-group__radio-view{padding:8px 12px;background-color:#f4f6f8;border:none;border-radius:16px}.evo-radio-group_segment .evo-radio-group__radio-value{color:#0986e2;font-size:14px;line-height:1}.evo-radio-group_segment .evo-radio-group__radio-control:checked+.evo-radio-group__radio-view{background-color:#0986e2}.evo-radio-group_segment .evo-radio-group__radio-control:checked+.evo-radio-group__radio-view .evo-radio-group__radio-value{color:#fff}.evo-radio-group_column{flex-direction:column}.evo-radio-group_column .evo-radio-group__radio{margin-top:20px;margin-right:0}.evo-radio-group_column .evo-radio-group__radio:first-child{margin-top:0}\n"] }]
|
|
113
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
113
|
+
}], ctorParameters: function () { return [{ type: i1.UntypedFormBuilder }, { type: i0.Injector }]; }, propDecorators: { options: [{
|
|
114
114
|
type: Input
|
|
115
115
|
}], _value: [{
|
|
116
116
|
type: Input,
|
|
@@ -120,4 +120,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
120
120
|
}], direction: [{
|
|
121
121
|
type: Input
|
|
122
122
|
}] } });
|
|
123
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
123
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXJhZGlvLWdyb3VwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V2by11aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2V2by1yYWRpby1ncm91cC9ldm8tcmFkaW8tZ3JvdXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXJhZGlvLWdyb3VwL2V2by1yYWRpby1ncm91cC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBWSxLQUFLLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFDN0UsT0FBTyxFQUF1QixpQkFBaUIsRUFBcUIsTUFBTSxnQkFBZ0IsQ0FBQztBQUMzRixPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sK0JBQStCLENBQUM7Ozs7O0FBRzdELGNBQWMsbUJBQW1CLENBQUM7QUFHbEMsTUFBTSxDQUFOLElBQVksbUJBR1g7QUFIRCxXQUFZLG1CQUFtQjtJQUMzQixzQ0FBZSxDQUFBO0lBQ2YsMENBQW1CLENBQUE7QUFDdkIsQ0FBQyxFQUhXLG1CQUFt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0aW9uQXJyYXlcIj5cbiAgICAgICAgPCEtLSDQn9C10YDQtdC60LvRjtGH0LXQvdC40LUg0YHRgtC40LvQtdC5INCy0YvQv9C+0LvQvdGP0LXRgtGB0Y8g0YEg0L/QvtC80L7RidGM0Y4g0L/RgdC10LLQtNC+0YHQtdC70LXQutGC0L7RgNCwIDpjaGVja2VkIC0tPlxuICAgICAgICA8aW5wdXQgY2xhc3M9XCJldm8tcmFkaW8tZ3JvdXBfX3JhZGlvLWNvbnRyb2xcIiAobmdNb2RlbENoYW5nZSkgPSBcIm9uQ2hhbmdlZFZhbHVlKCRldmVudClcIiBmb3JtQ29udHJvbE5hbWU9XCJ2YWx1ZVwiIHR5cGU9XCJyYWRpb1wiIHZhbHVlPXt7b3B0aW9uLnZhbHVlfX0+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJldm8tcmFkaW8tZ3JvdXBfX3JhZGlvLXZpZXdcIj5cbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwiZXZvLXJhZGlvLWdyb3VwX19yYWRpby1pY29uXCI+PC9zcGFuPlxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJldm8tcmFkaW8tZ3JvdXBfX3JhZGlvLXZhbHVlXCI+e3tvcHRpb24ucHJlc2VudGF0aW9uVGV4dH19PC9zcGFuPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2xhYmVsPlxuPC9kaXY+XG4iXX0=
|
|
@@ -7,18 +7,16 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export { EvoRadioGroupDirections, EvoRadioGroupThemes } from './evo-radio-group.component';
|
|
8
8
|
export class EvoRadioGroupModule {
|
|
9
9
|
}
|
|
10
|
-
EvoRadioGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
EvoRadioGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
10
|
+
EvoRadioGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
EvoRadioGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioGroupModule, declarations: [EvoRadioGroupComponent], imports: [CommonModule,
|
|
12
12
|
FormsModule,
|
|
13
13
|
ReactiveFormsModule,
|
|
14
14
|
EvoUiKitModule], exports: [EvoRadioGroupComponent] });
|
|
15
|
-
EvoRadioGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
]] });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoRadioGroupModule, decorators: [{
|
|
15
|
+
EvoRadioGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioGroupModule, imports: [CommonModule,
|
|
16
|
+
FormsModule,
|
|
17
|
+
ReactiveFormsModule,
|
|
18
|
+
EvoUiKitModule] });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioGroupModule, decorators: [{
|
|
22
20
|
type: NgModule,
|
|
23
21
|
args: [{
|
|
24
22
|
imports: [
|
|
@@ -31,4 +29,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
31
29
|
exports: [EvoRadioGroupComponent],
|
|
32
30
|
}]
|
|
33
31
|
}] });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXJhZGlvLWdyb3VwLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3Vy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pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IEV2b1JhZGlvR3JvdXBDb21wb25lbnQgfSBmcm9tICcuL2V2by1yYWRpby1ncm91cC5jb21wb25lbnQnO1xuaW1wb3J0IHsgRm9ybXNNb2R1bGUsIFJlYWN0aXZlRm9ybXNNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5pbXBvcnQgeyBFdm9VaUtpdE1vZHVsZSB9IGZyb20gJy4uLy4uL2V2by11aS1raXQubW9kdWxlJztcblxuZXhwb3J0IHsgRXZvUmFkaW9Hcm91cERpcmVjdGlvbnMsIEV2b1JhZGlvR3JvdXBUaGVtZXMgfSBmcm9tICcuL2V2by1yYWRpby1ncm91cC5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIEZvcm1zTW9kdWxlLFxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXG4gICAgRXZvVWlLaXRNb2R1bGUsXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogWyBFdm9SYWRpb0dyb3VwQ29tcG9uZW50IF0sXG4gIGV4cG9ydHM6IFsgRXZvUmFkaW9Hcm91cENvbXBvbmVudCBdLFxufSlcbmV4cG9ydCBjbGFzcyBFdm9SYWRpb0dyb3VwTW9kdWxlIHt9XG4iXX0=
|
|
@@ -29,15 +29,15 @@ export class EvoRadioshapeComponent extends EvoBaseControl {
|
|
|
29
29
|
writeValue(obj) {
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
EvoRadioshapeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
EvoRadioshapeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
32
|
+
EvoRadioshapeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioshapeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
EvoRadioshapeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoRadioshapeComponent, selector: "evo-radioshape", inputs: { forceChecked: "forceChecked", value: "value", name: "name" }, providers: [
|
|
34
34
|
{
|
|
35
35
|
provide: NG_VALUE_ACCESSOR,
|
|
36
36
|
useExisting: forwardRef(() => EvoRadioshapeComponent),
|
|
37
37
|
multi: true,
|
|
38
38
|
},
|
|
39
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"evo-radioshape\" [ngClass]=\"{'evo-radioshape_checked': checked, 'evo-radioshape_disabled': disabled}\">\n <label class=\"evo-radioshape__label\" *ngIf=\"value || forceChecked\">\n <input class=\"evo-radioshape__input\"\n type=\"radio\"\n (change)=\"handleOnChange()\"\n [name]=\"name\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\">\n <span class=\"evo-radioshape__control\"></span>\n </label>\n <div class=\"evo-radioshape__content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".evo-radioshape{display:flex;align-items:center;width:100%;padding:24px;background-color:#f4f6f8;border-radius:8px;transition:background-color .2s,box-shadow .2s,opacity .2s}.evo-radioshape_checked{background-color:#fff;box-shadow:inset 0 0 0 2px #21c68b}.evo-radioshape_disabled{opacity:.5}.evo-radioshape__label{display:table;flex-shrink:0;margin:0 16px 0 0;border-radius:50%}.evo-radioshape__content{flex:1}.evo-radioshape__control{position:relative;display:block;width:20px;height:20px;padding:4px;background-color:#fff;border:2px solid #C6C6C6;border-radius:50%;cursor:pointer}.evo-radioshape__control:before{position:absolute;top:50%;left:50%;display:none;box-sizing:border-box;width:10px;height:10px;margin-top:-5px;margin-left:-5px;background-color:#0986e2;border-radius:50%;content:\"\"}.evo-radioshape__input{display:none}.evo-radioshape__input[disabled]~.evo-radioshape__control{background-color:#f4f6f8;cursor:not-allowed}.evo-radioshape__input:checked[disabled]~.evo-radioshape__control{background-color:#fff}.evo-radioshape__input:checked[disabled]~.evo-radioshape__control:before{background-color:#c6c6c6}.evo-radioshape__input:checked~.evo-radioshape__control:before{display:block}\n"],
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"evo-radioshape\" [ngClass]=\"{'evo-radioshape_checked': checked, 'evo-radioshape_disabled': disabled}\">\n <label class=\"evo-radioshape__label\" *ngIf=\"value || forceChecked\">\n <input class=\"evo-radioshape__input\"\n type=\"radio\"\n (change)=\"handleOnChange()\"\n [name]=\"name\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\">\n <span class=\"evo-radioshape__control\"></span>\n </label>\n <div class=\"evo-radioshape__content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".evo-radioshape{display:flex;align-items:center;width:100%;padding:24px;background-color:#f4f6f8;border-radius:8px;transition:background-color .2s,box-shadow .2s,opacity .2s}.evo-radioshape_checked{background-color:#fff;box-shadow:inset 0 0 0 2px #21c68b}.evo-radioshape_disabled{opacity:.5}.evo-radioshape__label{display:table;flex-shrink:0;margin:0 16px 0 0;border-radius:50%}.evo-radioshape__content{flex:1}.evo-radioshape__control{position:relative;display:block;width:20px;height:20px;padding:4px;background-color:#fff;border:2px solid #C6C6C6;border-radius:50%;cursor:pointer}.evo-radioshape__control:before{position:absolute;top:50%;left:50%;display:none;box-sizing:border-box;width:10px;height:10px;margin-top:-5px;margin-left:-5px;background-color:#0986e2;border-radius:50%;content:\"\"}.evo-radioshape__input{display:none}.evo-radioshape__input[disabled]~.evo-radioshape__control{background-color:#f4f6f8;cursor:not-allowed}.evo-radioshape__input:checked[disabled]~.evo-radioshape__control{background-color:#fff}.evo-radioshape__input:checked[disabled]~.evo-radioshape__control:before{background-color:#c6c6c6}.evo-radioshape__input:checked~.evo-radioshape__control:before{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioshapeComponent, decorators: [{
|
|
41
41
|
type: Component,
|
|
42
42
|
args: [{ selector: 'evo-radioshape', providers: [
|
|
43
43
|
{
|
|
@@ -5,16 +5,14 @@ import { EvoRadioshapeComponent } from './components/evo-radioshape.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class EvoRadioshapeModule {
|
|
7
7
|
}
|
|
8
|
-
EvoRadioshapeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
EvoRadioshapeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
8
|
+
EvoRadioshapeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioshapeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
EvoRadioshapeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioshapeModule, declarations: [EvoRadioshapeComponent], imports: [CommonModule,
|
|
10
10
|
FormsModule,
|
|
11
11
|
ReactiveFormsModule], exports: [EvoRadioshapeComponent] });
|
|
12
|
-
EvoRadioshapeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
]] });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoRadioshapeModule, decorators: [{
|
|
12
|
+
EvoRadioshapeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioshapeModule, imports: [CommonModule,
|
|
13
|
+
FormsModule,
|
|
14
|
+
ReactiveFormsModule] });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoRadioshapeModule, decorators: [{
|
|
18
16
|
type: NgModule,
|
|
19
17
|
args: [{
|
|
20
18
|
imports: [
|
|
@@ -30,4 +28,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
30
28
|
],
|
|
31
29
|
}]
|
|
32
30
|
}] });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXJhZGlvc2hhcGUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXJhZGlvc2hhcGUvZXZvLXJhZGlvc2hhcGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxXQUFXLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQzs7QUFlL0UsTUFBTSxPQUFPLG1CQUFtQjs7Z0hBQW5CLG1CQUFtQjtpSEFBbkIsbUJBQW1CLGlCQU54QixzQkFBc0IsYUF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2020/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.mjs
CHANGED
|
@@ -8,9 +8,9 @@ export class EvoSegmentedBarComponent {
|
|
|
8
8
|
constructor() { }
|
|
9
9
|
ngOnInit() { }
|
|
10
10
|
}
|
|
11
|
-
EvoSegmentedBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
EvoSegmentedBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
EvoSegmentedBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSegmentedBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
EvoSegmentedBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoSegmentedBarComponent, selector: "evo-segmented-bar", inputs: { label: "label", labelShort: "labelShort" }, ngImport: i0, template: "<div class=\"bar\">\n <div class=\"bar__label\"\n *ngIf=\"label\"\n [ngClass]=\"{bar__label_normal: labelShort}\"\n >\n {{ label }}\n </div>\n\n <div class=\"bar__label bar__label_short\"\n *ngIf=\"labelShort\"\n >\n {{ labelShort }}\n </div>\n\n <div class=\"bar__buttons-wrapper\">\n <div class=\"bar__buttons\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: [".bar{position:relative;display:flex;flex-direction:row}.bar__label{margin-right:20px;color:#212121;line-height:30px}.bar__label_short{display:block}.bar__label_normal{display:none}.bar__buttons{display:flex;flex-direction:row;flex-wrap:nowrap}@media (min-width: 1200px){.bar__label_normal{display:block}.bar__label_short{display:none}}@media (max-width: 768px){.bar{flex-direction:column}.bar__label{display:none}.bar__buttons{padding-bottom:28px;overflow:auto}.bar__buttons-wrapper{display:block;height:30px;overflow:hidden}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSegmentedBarComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{ selector: 'evo-segmented-bar', template: "<div class=\"bar\">\n <div class=\"bar__label\"\n *ngIf=\"label\"\n [ngClass]=\"{bar__label_normal: labelShort}\"\n >\n {{ label }}\n </div>\n\n <div class=\"bar__label bar__label_short\"\n *ngIf=\"labelShort\"\n >\n {{ labelShort }}\n </div>\n\n <div class=\"bar__buttons-wrapper\">\n <div class=\"bar__buttons\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: [".bar{position:relative;display:flex;flex-direction:row}.bar__label{margin-right:20px;color:#212121;line-height:30px}.bar__label_short{display:block}.bar__label_normal{display:none}.bar__buttons{display:flex;flex-direction:row;flex-wrap:nowrap}@media (min-width: 1200px){.bar__label_normal{display:block}.bar__label_short{display:none}}@media (max-width: 768px){.bar{flex-direction:column}.bar__label{display:none}.bar__buttons{padding-bottom:28px;overflow:auto}.bar__buttons-wrapper{display:block;height:30px;overflow:hidden}}\n"] }]
|
|
16
16
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
@@ -48,15 +48,15 @@ export class EvoSegmentedBarButtonComponent extends EvoBaseControl {
|
|
|
48
48
|
return classes;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
EvoSegmentedBarButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
EvoSegmentedBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
51
|
+
EvoSegmentedBarButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSegmentedBarButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
52
|
+
EvoSegmentedBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoSegmentedBarButtonComponent, selector: "evo-segmented-bar-button", inputs: { name: "name", value: "value", color: "color", disabled: "disabled" }, providers: [
|
|
53
53
|
{
|
|
54
54
|
provide: NG_VALUE_ACCESSOR,
|
|
55
55
|
useExisting: forwardRef(() => EvoSegmentedBarButtonComponent),
|
|
56
56
|
multi: true,
|
|
57
57
|
},
|
|
58
|
-
], usesInheritance: true, ngImport: i0, template: "<label class=\"segmented-button\" [evoUiClass]=\"totalClasses\">\n <input class=\"segmented-button__input\"\n type=\"radio\"\n [name]=\"name\"\n [value]=\"value\"\n [checked]=\"value === selectedValue\"\n (change)=\"onInputChange(value)\"\n [disabled]=\"disabled\"\n />\n <span class=\"segmented-button__view\">\n <span class=\"segmented-button__view-text\">\n <ng-content></ng-content>\n </span>\n </span>\n</label>\n", styles: [".segmented-button{display:inline-block}.segmented-button__view{display:inline-block;padding:0 20px;color:#0986e2;line-height:30px;background-color:transparent;border-radius:15px;-webkit-user-select:none;user-select:none}.segmented-button__view-text{position:relative;z-index:1;display:flex;flex-wrap:nowrap;align-items:center;white-space:nowrap}.segmented-button__view-text ::ng-deep [data-type=counter]{position:relative;display:flex;justify-content:center;align-items:center;min-width:20px;margin-left:10px;padding:0 4px;color:#fff;font-weight:700;font-size:10px;line-height:10px}.segmented-button__view-text ::ng-deep [data-type=counter]:after{position:absolute;top:46%;left:0;z-index:-1;display:block;box-sizing:border-box;width:100%;height:20px;text-align:center;background-color:#f05023;border-radius:10px;transform:translateY(-48%);content:\"\"}.segmented-button__input{position:absolute;display:none}.segmented-button__view,.segmented-button__view-counter{transition:background-color .15s,color .15s,padding .15s}.segmented-button__input:checked+.segmented-button__view{padding:0 20px;color:#fff;background-color:#0986e2}.segmented-button__input:checked+.segmented-button__view .segmented-button__view-text ::ng-deep [data-type=counter]{color:#f05023}.segmented-button__input:checked+.segmented-button__view .segmented-button__view-text ::ng-deep [data-type=counter]:after{background-color:#fff}.segmented-button__input:disabled+.segmented-button__view{color:#fff;background-color:#c6c6c6;cursor:default}.segmented-button_grey .segmented-button__view{background-color:#f4f6f8}.segmented-button_grey .segmented-button__input:not(:disabled)+.segmented-button__view:hover{background-color:#f6f8f9}.segmented-button_grey .segmented-button__input:not(:disabled)+.segmented-button__view:active{background-color:#dcdddf}.segmented-button_grey .segmented-button__input:checked:not(:disabled)+.segmented-button__view:hover{background-color:#3a9ee8}.segmented-button_grey .segmented-button__input:checked:not(:disabled)+.segmented-button__view:active{background-color:#0879cb}.segmented-button_white .segmented-button__view{background-color:#fff}.segmented-button_white .segmented-button__input:not(:disabled)+.segmented-button__view:hover{background-color:#fdfdfe}.segmented-button_white .segmented-button__input:not(:disabled)+.segmented-button__view:active{background-color:#dcdddf}.segmented-button_white .segmented-button__input:checked:not(:disabled)+.segmented-button__view:hover{background-color:#3a9ee8}.segmented-button_white .segmented-button__input:checked:not(:disabled)+.segmented-button__view:active{background-color:#0879cb}\n"],
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
58
|
+
], usesInheritance: true, ngImport: i0, template: "<label class=\"segmented-button\" [evoUiClass]=\"totalClasses\">\n <input class=\"segmented-button__input\"\n type=\"radio\"\n [name]=\"name\"\n [value]=\"value\"\n [checked]=\"value === selectedValue\"\n (change)=\"onInputChange(value)\"\n [disabled]=\"disabled\"\n />\n <span class=\"segmented-button__view\">\n <span class=\"segmented-button__view-text\">\n <ng-content></ng-content>\n </span>\n </span>\n</label>\n", styles: [".segmented-button{display:inline-block}.segmented-button__view{display:inline-block;padding:0 20px;color:#0986e2;line-height:30px;background-color:transparent;border-radius:15px;-webkit-user-select:none;user-select:none}.segmented-button__view-text{position:relative;z-index:1;display:flex;flex-wrap:nowrap;align-items:center;white-space:nowrap}.segmented-button__view-text ::ng-deep [data-type=counter]{position:relative;display:flex;justify-content:center;align-items:center;min-width:20px;margin-left:10px;padding:0 4px;color:#fff;font-weight:700;font-size:10px;line-height:10px}.segmented-button__view-text ::ng-deep [data-type=counter]:after{position:absolute;top:46%;left:0;z-index:-1;display:block;box-sizing:border-box;width:100%;height:20px;text-align:center;background-color:#f05023;border-radius:10px;transform:translateY(-48%);content:\"\"}.segmented-button__input{position:absolute;display:none}.segmented-button__view,.segmented-button__view-counter{transition:background-color .15s,color .15s,padding .15s}.segmented-button__input:checked+.segmented-button__view{padding:0 20px;color:#fff;background-color:#0986e2}.segmented-button__input:checked+.segmented-button__view .segmented-button__view-text ::ng-deep [data-type=counter]{color:#f05023}.segmented-button__input:checked+.segmented-button__view .segmented-button__view-text ::ng-deep [data-type=counter]:after{background-color:#fff}.segmented-button__input:disabled+.segmented-button__view{color:#fff;background-color:#c6c6c6;cursor:default}.segmented-button_grey .segmented-button__view{background-color:#f4f6f8}.segmented-button_grey .segmented-button__input:not(:disabled)+.segmented-button__view:hover{background-color:#f6f8f9}.segmented-button_grey .segmented-button__input:not(:disabled)+.segmented-button__view:active{background-color:#dcdddf}.segmented-button_grey .segmented-button__input:checked:not(:disabled)+.segmented-button__view:hover{background-color:#3a9ee8}.segmented-button_grey .segmented-button__input:checked:not(:disabled)+.segmented-button__view:active{background-color:#0879cb}.segmented-button_white .segmented-button__view{background-color:#fff}.segmented-button_white .segmented-button__input:not(:disabled)+.segmented-button__view:hover{background-color:#fdfdfe}.segmented-button_white .segmented-button__input:not(:disabled)+.segmented-button__view:active{background-color:#dcdddf}.segmented-button_white .segmented-button__input:checked:not(:disabled)+.segmented-button__view:hover{background-color:#3a9ee8}.segmented-button_white .segmented-button__input:checked:not(:disabled)+.segmented-button__view:active{background-color:#0879cb}\n"], dependencies: [{ kind: "directive", type: i1.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }] });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSegmentedBarButtonComponent, decorators: [{
|
|
60
60
|
type: Component,
|
|
61
61
|
args: [{ selector: 'evo-segmented-bar-button', providers: [
|
|
62
62
|
{
|
|
@@ -10,10 +10,10 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class EvoSegmentedBarModule {
|
|
12
12
|
}
|
|
13
|
-
EvoSegmentedBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
EvoSegmentedBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
15
|
-
EvoSegmentedBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
EvoSegmentedBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSegmentedBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
EvoSegmentedBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EvoSegmentedBarModule, declarations: [EvoSegmentedBarComponent, EvoSegmentedBarButtonComponent], imports: [CommonModule, FormsModule, EvoUiKitModule], exports: [EvoSegmentedBarComponent, EvoSegmentedBarButtonComponent] });
|
|
15
|
+
EvoSegmentedBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSegmentedBarModule, imports: [CommonModule, FormsModule, EvoUiKitModule] });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSegmentedBarModule, decorators: [{
|
|
17
17
|
type: NgModule,
|
|
18
18
|
args: [{
|
|
19
19
|
imports: [CommonModule, FormsModule, EvoUiKitModule],
|
|
@@ -21,4 +21,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
21
21
|
exports: [EvoSegmentedBarComponent, EvoSegmentedBarButtonComponent],
|
|
22
22
|
}]
|
|
23
23
|
}] });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXNlZ21lbnRlZC1iYXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXNlZ21lbnRlZC1iYXIvZXZvLXNlZ21lbnRlZC1iYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyx3QkFBd0IsRUFBQyxNQUFNLGlEQUFpRCxDQUFDO0FBQ3pGLE9BQU8sRUFBQyw4QkFBOEIsRUFBQyxNQUFNLCtEQUErRCxDQUFDO0FBQzdHLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUMzQyxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0seUJBQXlCLENBQUM7O0FBT3ZEOztHQUVHO0FBQ0gsTUFBTSxPQUFPLHFCQUFxQjs7a0hBQXJCLHFCQUFxQjttSEFBckIscUJBQXFCLGlCQU5mLHdCQUF3QixFQUFFLDhCQUE4QixhQUQ3RCxZQUFZLEVBQUUsV0FBVyxFQUFFLGNBQWMsYUFFekMsd0JBQXdCLEVBQUUsOEJBQThCO21IQUt6RCxxQkFBcUIsWUFQcEIsWUFBWSxFQUFFLFdBQVcsRUFB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XJCdXR0b25Db21wb25lbnRdLFxufSlcbi8qKlxuICogQGRlcHJlY2F0ZWQgdXNlIGBFdm9DaGlwTW9kdWxlYFxuICovXG5leHBvcnQgY2xhc3MgRXZvU2VnbWVudGVkQmFyTW9kdWxlIHt9XG4iXX0=
|
|
@@ -4,10 +4,10 @@ import { EvoBaseControl } from '../../common/evo-base-control';
|
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
import { tap } from 'rxjs/operators';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "
|
|
8
|
-
import * as i2 from "
|
|
9
|
-
import * as i3 from "
|
|
10
|
-
import * as i4 from "
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "@angular/forms";
|
|
9
|
+
import * as i3 from "../../directives/evo-ui-class.directive";
|
|
10
|
+
import * as i4 from "../evo-control-error/evo-control-error.component";
|
|
11
11
|
export class EvoSelectComponent extends EvoBaseControl {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments);
|
|
@@ -85,15 +85,15 @@ export class EvoSelectComponent extends EvoBaseControl {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
EvoSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
89
|
-
EvoSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
88
|
+
EvoSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
89
|
+
EvoSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoSelectComponent, selector: "evo-select", inputs: { style: "style", label: "label", theme: "theme" }, providers: [
|
|
90
90
|
{
|
|
91
91
|
provide: NG_VALUE_ACCESSOR,
|
|
92
92
|
useExisting: forwardRef(() => EvoSelectComponent),
|
|
93
93
|
multi: true,
|
|
94
94
|
},
|
|
95
|
-
], viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<label class=\"evo-select\" [evoUiClass]=\"getSelectClasses()\">\n <div class=\"evo-select__field\" [evoUiClass]=\"getSelectClasses()\">{{selectedLabel}}</div>\n <select #select class=\"evo-select__native\" [disabled]=\"disabled\" [(ngModel)]=\"selectedValue\" (ngModelChange)=\"onChange($event)\">\n <ng-content></ng-content>\n </select>\n <span class=\"evo-select__icon-arrow\">\n <svg width=\"7\" height=\"5\" viewBox=\"0 0 7 5\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0 0H7L3.44199 5L0 0Z\" />\n </svg>\n </span>\n</label>\n<evo-control-error *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"></evo-control-error>\n", styles: [":host{position:relative;display:inline-block}.evo-select{position:relative;display:flex;align-items:center}.evo-select:after{content:\"\";position:absolute;pointer-events:none}.evo-select_input{height:48px}.evo-select_input:after{right:20px;width:8px;height:12px;background:url(\"data:image/svg+xml,%3Csvg width%3D%228%22 height%3D%2212%22 viewBox%3D%220 0 8 12%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M0 0H8L3.93371 3.99997L0 0Z%22 transform%3D%22translate(0 8)%22 fill%3D%22%23212121%22%2F%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M0 0H8L3.93371 3.99997L0 0Z%22 transform%3D%22translate(0 4) scale(1 -1)%22 fill%3D%22%23212121%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;background-position:center}.evo-select_disabled{pointer-events:none}.evo-select_disabled:after{opacity:.4}.evo-select_inline .evo-select__icon-arrow{display:flex;margin-left:10px}.evo-select_inline .evo-select__icon-arrow svg{fill:#212121}.evo-select_inline.evo-select_disabled .evo-select__icon-arrow svg{fill:#9b9b9b}.evo-select__icon-arrow{display:none}.evo-select__native{position:absolute;top:0;left:0;z-index:10;display:block;width:100%;height:100%;cursor:pointer;opacity:0
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
95
|
+
], viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<label class=\"evo-select\" [evoUiClass]=\"getSelectClasses()\">\n <div class=\"evo-select__field\" [evoUiClass]=\"getSelectClasses()\">{{selectedLabel}}</div>\n <select #select class=\"evo-select__native\" [disabled]=\"disabled\" [(ngModel)]=\"selectedValue\" (ngModelChange)=\"onChange($event)\">\n <ng-content></ng-content>\n </select>\n <span class=\"evo-select__icon-arrow\">\n <svg width=\"7\" height=\"5\" viewBox=\"0 0 7 5\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0 0H7L3.44199 5L0 0Z\" />\n </svg>\n </span>\n</label>\n<evo-control-error *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"></evo-control-error>\n", styles: [":host{position:relative;display:inline-block}.evo-select{position:relative;display:flex;align-items:center}.evo-select:after{content:\"\";position:absolute;pointer-events:none}.evo-select_input{height:48px}.evo-select_input:after{right:20px;width:8px;height:12px;background:url(\"data:image/svg+xml,%3Csvg width%3D%228%22 height%3D%2212%22 viewBox%3D%220 0 8 12%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M0 0H8L3.93371 3.99997L0 0Z%22 transform%3D%22translate(0 8)%22 fill%3D%22%23212121%22%2F%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M0 0H8L3.93371 3.99997L0 0Z%22 transform%3D%22translate(0 4) scale(1 -1)%22 fill%3D%22%23212121%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;background-position:center}.evo-select_disabled{pointer-events:none}.evo-select_disabled:after{opacity:.4}.evo-select_inline .evo-select__icon-arrow{display:flex;margin-left:10px}.evo-select_inline .evo-select__icon-arrow svg{fill:#212121}.evo-select_inline.evo-select_disabled .evo-select__icon-arrow svg{fill:#9b9b9b}.evo-select__icon-arrow{display:none}.evo-select__native{position:absolute;top:0;left:0;z-index:10;display:block;width:100%;height:100%;cursor:pointer;opacity:0;appearance:none}.evo-select__field{width:100%;height:100%}.evo-select__field_input{display:inline-block;padding:10px 38px 10px 20px;overflow:hidden;line-height:26px;text-overflow:ellipsis;--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}.evo-select__field_input{display:inline-block}.evo-select__field_valid{border-color:#21c68b}.evo-select__field_invalid{border-color:#ff1817}.evo-select__field_disabled{color:#9b9b9b;background:#F4F6F8}.evo-select__field_inline{font-weight:600;background:transparent}.evo-select__field_inline.evo-select__field_disabled{background:transparent}.evo-select_simple .evo-select__field_input{height:auto;padding:0 30px 0 0;font-weight:600;line-height:1;background:transparent;border:none}.evo-select_simple .evo-select_input,.evo-select_input.evo-select_simple{height:auto}.evo-select_input.evo-select_simple:after{top:-2px;right:0;width:24px;height:24px;background:url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 fill%3D%22none%22%3E %3Cmask id%3D%22mask0%22 mask-type%3D%22alpha%22 maskUnits%3D%22userSpaceOnUse%22 x%3D%228%22 y%3D%2210%22 width%3D%228%22 height%3D%225%22%3E %3Cpath d%3D%22M8.81066 10C8.14248 10 7.80786 10.8079 8.28033 11.2803L11.4697 14.4697C11.7626 14.7626 12.2374 14.7626 12.5303 14.4697L15.7197 11.2803C16.1921 10.8079 15.8575 10 15.1893 10H8.81066Z%22 fill%3D%22black%22%2F%3E %3C%2Fmask%3E %3Cg mask%3D%22url(%23mask0)%22%3E %3Crect width%3D%2224%22 height%3D%2224%22 fill%3D%22%23212121%22%2F%3E %3C%2Fg%3E%3C%2Fsvg%3E\")}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { kind: "component", type: i4.EvoControlErrorComponent, selector: "evo-control-error", inputs: ["errors", "errorsMessages", "showCount"] }] });
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSelectComponent, decorators: [{
|
|
97
97
|
type: Component,
|
|
98
98
|
args: [{ selector: 'evo-select', providers: [
|
|
99
99
|
{
|
|
@@ -101,7 +101,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
101
101
|
useExisting: forwardRef(() => EvoSelectComponent),
|
|
102
102
|
multi: true,
|
|
103
103
|
},
|
|
104
|
-
], template: "<label class=\"evo-select\" [evoUiClass]=\"getSelectClasses()\">\n <div class=\"evo-select__field\" [evoUiClass]=\"getSelectClasses()\">{{selectedLabel}}</div>\n <select #select class=\"evo-select__native\" [disabled]=\"disabled\" [(ngModel)]=\"selectedValue\" (ngModelChange)=\"onChange($event)\">\n <ng-content></ng-content>\n </select>\n <span class=\"evo-select__icon-arrow\">\n <svg width=\"7\" height=\"5\" viewBox=\"0 0 7 5\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0 0H7L3.44199 5L0 0Z\" />\n </svg>\n </span>\n</label>\n<evo-control-error *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"></evo-control-error>\n", styles: [":host{position:relative;display:inline-block}.evo-select{position:relative;display:flex;align-items:center}.evo-select:after{content:\"\";position:absolute;pointer-events:none}.evo-select_input{height:48px}.evo-select_input:after{right:20px;width:8px;height:12px;background:url(\"data:image/svg+xml,%3Csvg width%3D%228%22 height%3D%2212%22 viewBox%3D%220 0 8 12%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M0 0H8L3.93371 3.99997L0 0Z%22 transform%3D%22translate(0 8)%22 fill%3D%22%23212121%22%2F%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M0 0H8L3.93371 3.99997L0 0Z%22 transform%3D%22translate(0 4) scale(1 -1)%22 fill%3D%22%23212121%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;background-position:center}.evo-select_disabled{pointer-events:none}.evo-select_disabled:after{opacity:.4}.evo-select_inline .evo-select__icon-arrow{display:flex;margin-left:10px}.evo-select_inline .evo-select__icon-arrow svg{fill:#212121}.evo-select_inline.evo-select_disabled .evo-select__icon-arrow svg{fill:#9b9b9b}.evo-select__icon-arrow{display:none}.evo-select__native{position:absolute;top:0;left:0;z-index:10;display:block;width:100%;height:100%;cursor:pointer;opacity:0
|
|
104
|
+
], template: "<label class=\"evo-select\" [evoUiClass]=\"getSelectClasses()\">\n <div class=\"evo-select__field\" [evoUiClass]=\"getSelectClasses()\">{{selectedLabel}}</div>\n <select #select class=\"evo-select__native\" [disabled]=\"disabled\" [(ngModel)]=\"selectedValue\" (ngModelChange)=\"onChange($event)\">\n <ng-content></ng-content>\n </select>\n <span class=\"evo-select__icon-arrow\">\n <svg width=\"7\" height=\"5\" viewBox=\"0 0 7 5\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0 0H7L3.44199 5L0 0Z\" />\n </svg>\n </span>\n</label>\n<evo-control-error *ngIf=\"showErrors\"\n [errors]=\"control.errors\"\n [errorsMessages]=\"errorsMessages\"></evo-control-error>\n", styles: [":host{position:relative;display:inline-block}.evo-select{position:relative;display:flex;align-items:center}.evo-select:after{content:\"\";position:absolute;pointer-events:none}.evo-select_input{height:48px}.evo-select_input:after{right:20px;width:8px;height:12px;background:url(\"data:image/svg+xml,%3Csvg width%3D%228%22 height%3D%2212%22 viewBox%3D%220 0 8 12%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M0 0H8L3.93371 3.99997L0 0Z%22 transform%3D%22translate(0 8)%22 fill%3D%22%23212121%22%2F%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M0 0H8L3.93371 3.99997L0 0Z%22 transform%3D%22translate(0 4) scale(1 -1)%22 fill%3D%22%23212121%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;background-position:center}.evo-select_disabled{pointer-events:none}.evo-select_disabled:after{opacity:.4}.evo-select_inline .evo-select__icon-arrow{display:flex;margin-left:10px}.evo-select_inline .evo-select__icon-arrow svg{fill:#212121}.evo-select_inline.evo-select_disabled .evo-select__icon-arrow svg{fill:#9b9b9b}.evo-select__icon-arrow{display:none}.evo-select__native{position:absolute;top:0;left:0;z-index:10;display:block;width:100%;height:100%;cursor:pointer;opacity:0;appearance:none}.evo-select__field{width:100%;height:100%}.evo-select__field_input{display:inline-block;padding:10px 38px 10px 20px;overflow:hidden;line-height:26px;text-overflow:ellipsis;--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}.evo-select__field_input{display:inline-block}.evo-select__field_valid{border-color:#21c68b}.evo-select__field_invalid{border-color:#ff1817}.evo-select__field_disabled{color:#9b9b9b;background:#F4F6F8}.evo-select__field_inline{font-weight:600;background:transparent}.evo-select__field_inline.evo-select__field_disabled{background:transparent}.evo-select_simple .evo-select__field_input{height:auto;padding:0 30px 0 0;font-weight:600;line-height:1;background:transparent;border:none}.evo-select_simple .evo-select_input,.evo-select_input.evo-select_simple{height:auto}.evo-select_input.evo-select_simple:after{top:-2px;right:0;width:24px;height:24px;background:url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 fill%3D%22none%22%3E %3Cmask id%3D%22mask0%22 mask-type%3D%22alpha%22 maskUnits%3D%22userSpaceOnUse%22 x%3D%228%22 y%3D%2210%22 width%3D%228%22 height%3D%225%22%3E %3Cpath d%3D%22M8.81066 10C8.14248 10 7.80786 10.8079 8.28033 11.2803L11.4697 14.4697C11.7626 14.7626 12.2374 14.7626 12.5303 14.4697L15.7197 11.2803C16.1921 10.8079 15.8575 10 15.1893 10H8.81066Z%22 fill%3D%22black%22%2F%3E %3C%2Fmask%3E %3Cg mask%3D%22url(%23mask0)%22%3E %3Crect width%3D%2224%22 height%3D%2224%22 fill%3D%22%23212121%22%2F%3E %3C%2Fg%3E%3C%2Fsvg%3E\")}\n"] }]
|
|
105
105
|
}], propDecorators: { style: [{
|
|
106
106
|
type: Input
|
|
107
107
|
}], label: [{
|
|
@@ -7,18 +7,16 @@ import { EvoControlErrorModule } from '../evo-control-error/evo-control-error.mo
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export class EvoSelectModule {
|
|
9
9
|
}
|
|
10
|
-
EvoSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
EvoSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
10
|
+
EvoSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
EvoSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EvoSelectModule, declarations: [EvoSelectComponent], imports: [CommonModule,
|
|
12
12
|
FormsModule,
|
|
13
13
|
EvoUiKitModule,
|
|
14
14
|
EvoControlErrorModule], exports: [EvoSelectComponent] });
|
|
15
|
-
EvoSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
]] });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoSelectModule, decorators: [{
|
|
15
|
+
EvoSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSelectModule, imports: [CommonModule,
|
|
16
|
+
FormsModule,
|
|
17
|
+
EvoUiKitModule,
|
|
18
|
+
EvoControlErrorModule] });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSelectModule, decorators: [{
|
|
22
20
|
type: NgModule,
|
|
23
21
|
args: [{
|
|
24
22
|
imports: [
|
|
@@ -31,4 +29,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
31
29
|
exports: [EvoSelectComponent],
|
|
32
30
|
}]
|
|
33
31
|
}] });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXNlbGVjdC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldm8tdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9ldm8tc2VsZWN0L2V2by1zZWxlY3QubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzVELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0MsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sK0NBQStDLENBQUM7O0FBWXRGLE1BQU0sT0FBTyxlQUFlOzs0R0FBZixlQUFlOzZHQUFmLGVBQWUsaUJBSFQsa0JBQWtCLGFBTDdCLFlBQVk7UUFDWixXQUFXO1FBQ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b25lbnRdLFxuICAgIGV4cG9ydHM6IFtFdm9TZWxlY3RDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBFdm9TZWxlY3RNb2R1bGUge1xufVxuIl19
|
package/esm2020/lib/components/evo-sidebar/evo-sidebar-content/evo-sidebar-content.component.mjs
CHANGED
|
@@ -16,9 +16,9 @@ export class EvoSidebarContentComponent {
|
|
|
16
16
|
return this.relativeFooter ? `${this.hostClass} evo-sidebar__content_relative-footer` : this.hostClass;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
EvoSidebarContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
EvoSidebarContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
EvoSidebarContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSidebarContentComponent, deps: [{ token: SidebarInjectionToken }], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
EvoSidebarContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoSidebarContentComponent, selector: "evo-sidebar-content, [evo-sidebar-content]", inputs: { relativeFooter: "relativeFooter" }, host: { properties: { "class": "this.hostClasses" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:flex;flex-grow:1;flex-direction:column;padding:24px 15px;overflow-y:auto;-webkit-overflow-scrolling:touch}@media (min-width: 768px){:host{padding:40px 15px}}@media (min-width: 992px){:host{padding:40px 32px}}:host(.evo-sidebar__content_relative-footer){flex-grow:0}\n"] });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSidebarContentComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{ selector: 'evo-sidebar-content, [evo-sidebar-content]', template: "<ng-content></ng-content>\n", styles: [":host{display:flex;flex-grow:1;flex-direction:column;padding:24px 15px;overflow-y:auto;-webkit-overflow-scrolling:touch}@media (min-width: 768px){:host{padding:40px 15px}}@media (min-width: 992px){:host{padding:40px 32px}}:host(.evo-sidebar__content_relative-footer){flex-grow:0}\n"] }]
|
|
24
24
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
package/esm2020/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.mjs
CHANGED
|
@@ -2,9 +2,9 @@ import { Component } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class EvoSidebarFooterComponent {
|
|
4
4
|
}
|
|
5
|
-
EvoSidebarFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6
|
-
EvoSidebarFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5
|
+
EvoSidebarFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSidebarFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
EvoSidebarFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoSidebarFooterComponent, selector: "evo-sidebar-footer, [evo-sidebar-footer]", host: { classAttribute: "evo-sidebar__footer-wrapper" }, ngImport: i0, template: "<div class=\"evo-sidebar__footer\"><ng-content></ng-content></div> <!--\u0447\u0442\u043E\u0431\u044B :empty \u0440\u0430\u0431\u043E\u0442\u0430\u043B, \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0432\u043D\u0443\u0442\u0440\u0438 evo-sidebar__footer \u0432\u043E\u043E\u0431\u0449\u0435 \u043D\u0438\u0447\u0435\u0433\u043E, \u0434\u0430\u0436\u0435 \u043F\u0440\u043E\u0431\u0435\u043B\u0430-->\n", styles: [":host{--evo-sidebar-footer-padding-desktop: 24px;--evo-sidebar-footer-padding-tablet: 16px;--evo-sidebar-footer-padding-mobile: 30px;flex-shrink:0;margin-top:-8px;padding-top:8px;overflow:hidden}.evo-sidebar__footer{display:flex;flex-shrink:0;flex-direction:column;margin:0 15px;padding:var(--evo-sidebar-footer-padding-mobile) 0;background-color:#fff;border-top:solid 1px #C6C6C6}.evo-sidebar__footer:empty{display:none}@media (min-width: 768px){.evo-sidebar__footer{flex-direction:row;justify-content:space-between;margin:0 15px;padding:var(--evo-sidebar-footer-padding-tablet) 0}}@media (min-width: 992px){.evo-sidebar__footer{margin:0 32px;padding:var(--evo-sidebar-footer-padding-desktop) 0}}\n"] });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSidebarFooterComponent, decorators: [{
|
|
8
8
|
type: Component,
|
|
9
9
|
args: [{ selector: 'evo-sidebar-footer, [evo-sidebar-footer]', host: {
|
|
10
10
|
'class': 'evo-sidebar__footer-wrapper',
|
package/esm2020/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { Component, EventEmitter, Inject, Input, Output } from '@angular/core';
|
|
|
2
2
|
import { EvoSidebarCloseTargets } from '../enums/evo-sidebar-close-targets';
|
|
3
3
|
import { SidebarInjectionToken } from '../sidebar-injection-token';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "
|
|
6
|
-
import * as i2 from "
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "../../evo-icon/evo-icon.component";
|
|
7
7
|
export class EvoSidebarHeaderComponent {
|
|
8
8
|
constructor(sidebar) {
|
|
9
9
|
this.sidebar = sidebar;
|
|
@@ -22,9 +22,9 @@ export class EvoSidebarHeaderComponent {
|
|
|
22
22
|
this.sidebar.closeSidebar(EvoSidebarCloseTargets.BUTTON);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
EvoSidebarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
EvoSidebarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
EvoSidebarHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSidebarHeaderComponent, deps: [{ token: SidebarInjectionToken }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
EvoSidebarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EvoSidebarHeaderComponent, selector: "evo-sidebar-header, [evo-sidebar-header]", inputs: { backButton: "backButton" }, outputs: { back: "back" }, host: { classAttribute: "evo-sidebar__header" }, ngImport: i0, template: "<div class=\"evo-sidebar__back\"\n *ngIf=\"backButton\"\n (click)=\"handleBackClick()\">\n <evo-icon class=\"evo-sidebar__icon\" shape=\"chevron-left\"></evo-icon>\n</div>\n\n<div class=\"evo-sidebar__title\">\n <ng-content></ng-content>\n</div>\n\n<div class=\"evo-sidebar__close\" (click)=\"closeSidebar()\">\n <evo-icon class=\"evo-sidebar__icon\" shape=\"close\"></evo-icon>\n</div>\n\n", styles: [":host{display:flex;flex-shrink:0;align-items:flex-start;margin:0 15px;padding:16px 0;border-bottom:solid 1px #C6C6C6}@media (min-width: 768px){:host{padding-top:32px;padding-bottom:16px}}@media (min-width: 992px){:host{margin:0 32px}}.evo-sidebar__title{flex:1;color:#212121;font-weight:700;font-size:24px;font-family:var(--evo-font-secondary);line-height:32px}@media (min-width: 768px){.evo-sidebar__title{font-size:30px;line-height:38px}}.evo-sidebar__close{flex-shrink:0;margin-left:8px;padding:0;color:#231f20;cursor:pointer;transition:opacity .3s}.evo-sidebar__close:hover{opacity:.8}.evo-sidebar__icon{display:block;width:32px;height:32px;vertical-align:bottom;fill:#91b1b8}@media (min-width: 768px){.evo-sidebar__icon{width:36px;height:36px}}.evo-sidebar__back{flex-shrink:0;margin-right:8px;color:#231f20;cursor:pointer;-webkit-user-select:none;user-select:none}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.EvoIconComponent, selector: "evo-icon", inputs: ["shape", "svgWidth", "svgHeight", "svgViewBox"] }] });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EvoSidebarHeaderComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{ selector: 'evo-sidebar-header, [evo-sidebar-header]', host: {
|
|
30
30
|
class: 'evo-sidebar__header',
|