@evotor-dev/ui-kit 8.0.0-beta.14 → 8.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/common/collection/evo-collection-fabric.mjs +1 -1
- package/esm2022/lib/common/evo-base-control.mjs +5 -5
- package/esm2022/lib/common/form-helper/form-helper.mjs +1 -1
- package/esm2022/lib/components/evo-accordion/evo-accordion-content/evo-accordion-content.component.mjs +6 -6
- package/esm2022/lib/components/evo-accordion/evo-accordion-panel/evo-accordion-panel.component.mjs +4 -4
- package/esm2022/lib/components/evo-accordion/evo-accordion-title/evo-accordion-title.component.mjs +5 -5
- package/esm2022/lib/components/evo-accordion/evo-accordion.component.mjs +5 -5
- package/esm2022/lib/components/evo-accordion/evo-accordion.module.mjs +4 -4
- package/esm2022/lib/components/evo-alert/evo-alert.component.mjs +79 -0
- package/esm2022/lib/components/evo-alert/evo-alert.module.mjs +27 -0
- package/esm2022/lib/components/evo-alert/index.mjs +2 -0
- package/esm2022/lib/components/evo-alert/public-api.mjs +3 -0
- package/esm2022/lib/components/evo-autocomplete/components/evo-autocomplete.component.mjs +6 -6
- package/esm2022/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.mjs +5 -5
- package/esm2022/lib/components/evo-autocomplete/evo-autocomplete.module.mjs +4 -4
- package/esm2022/lib/components/evo-autocomplete/models/DaDataParty.mjs +1 -1
- package/esm2022/lib/components/evo-badge/evo-badge.component.mjs +4 -4
- package/esm2022/lib/components/evo-badge/evo-badge.module.mjs +4 -4
- package/esm2022/lib/components/evo-banner/evo-banner.component.mjs +109 -0
- package/esm2022/lib/components/evo-banner/evo-banner.module.mjs +23 -0
- package/esm2022/lib/components/evo-banner/index.mjs +2 -0
- package/esm2022/lib/components/evo-banner/public-api.mjs +3 -0
- package/esm2022/lib/components/evo-button/components/evo-button/evo-button.component.mjs +5 -5
- package/esm2022/lib/components/evo-button/components/evo-button-old/evo-button-old.component.mjs +91 -0
- package/esm2022/lib/components/evo-button/evo-button.module.mjs +8 -7
- package/esm2022/lib/components/evo-button/public-api.mjs +2 -1
- package/esm2022/lib/components/evo-checkbox/evo-checkbox.component.mjs +7 -7
- package/esm2022/lib/components/evo-checkbox/evo-checkbox.module.mjs +4 -4
- package/esm2022/lib/components/evo-chip/evo-chip.component.mjs +4 -4
- package/esm2022/lib/components/evo-chip/evo-chip.module.mjs +4 -4
- package/esm2022/lib/components/evo-control-error/evo-control-error.component.mjs +4 -4
- package/esm2022/lib/components/evo-control-error/evo-control-error.module.mjs +4 -4
- package/esm2022/lib/components/evo-control-label/evo-control-label.component.mjs +3 -3
- package/esm2022/lib/components/evo-control-label/evo-control-label.module.mjs +4 -4
- package/esm2022/lib/components/evo-counter/evo-counter.component.mjs +5 -5
- package/esm2022/lib/components/evo-counter/evo-counter.module.mjs +4 -4
- package/esm2022/lib/components/evo-datepicker/evo-datepicker.component.mjs +7 -7
- package/esm2022/lib/components/evo-datepicker/evo-datepicker.module.mjs +4 -4
- package/esm2022/lib/components/evo-dropdown/evo-dropdown-origin.directive.mjs +5 -5
- package/esm2022/lib/components/evo-dropdown/evo-dropdown.component.mjs +5 -5
- package/esm2022/lib/components/evo-dropdown/evo-dropdown.module.mjs +4 -4
- package/esm2022/lib/components/evo-icon/evo-icon.component.mjs +5 -5
- package/esm2022/lib/components/evo-icon/evo-icon.module.mjs +4 -4
- package/esm2022/lib/components/evo-icon-button/evo-icon-button.component.mjs +24 -8
- package/esm2022/lib/components/evo-icon-button/evo-icon-button.module.mjs +4 -4
- package/esm2022/lib/components/evo-icon-button/types/evo-icon-button-theme.mjs +2 -0
- package/esm2022/lib/components/evo-icon-number/components/evo-icon-number/evo-icon-number.component.mjs +5 -5
- package/esm2022/lib/components/evo-icon-number/evo-icon-number.module.mjs +4 -4
- package/esm2022/lib/components/evo-input/evo-input-icon/evo-input-icon.directive.mjs +3 -3
- package/esm2022/lib/components/evo-input/evo-input.component.mjs +6 -6
- package/esm2022/lib/components/evo-input/evo-input.module.mjs +4 -4
- package/esm2022/lib/components/evo-input-contenteditable/evo-input-contenteditable.component.mjs +7 -7
- package/esm2022/lib/components/evo-input-contenteditable/evo-input-contenteditable.module.mjs +4 -4
- package/esm2022/lib/components/evo-input-contenteditable/utils/clear-multiline.mjs +1 -1
- package/esm2022/lib/components/evo-loader/evo-circular-loader.component.mjs +3 -3
- package/esm2022/lib/components/evo-loader/evo-loader.component.mjs +27 -0
- package/esm2022/lib/components/evo-loader/evo-loader.module.mjs +13 -7
- package/esm2022/lib/components/evo-loader/public-api.mjs +2 -1
- package/esm2022/lib/components/evo-modal/evo-modal.component.mjs +5 -5
- package/esm2022/lib/components/evo-modal/evo-modal.module.mjs +4 -4
- package/esm2022/lib/components/evo-modal/evo-modal.service.mjs +3 -3
- package/esm2022/lib/components/evo-navbar/evo-navbar-item/evo-navbar-item.component.mjs +4 -4
- package/esm2022/lib/components/evo-navbar/evo-navbar.component.mjs +6 -6
- package/esm2022/lib/components/evo-navbar/evo-navbar.module.mjs +4 -4
- package/esm2022/lib/components/evo-navigation-button/evo-navigation-button.component.mjs +4 -4
- package/esm2022/lib/components/evo-navigation-button/evo-navigation-button.module.mjs +4 -4
- package/esm2022/lib/components/evo-note/evo-note.component.mjs +4 -4
- package/esm2022/lib/components/evo-note/evo-note.module.mjs +4 -4
- package/esm2022/lib/components/evo-paginator/evo-paginator.component.mjs +4 -4
- package/esm2022/lib/components/evo-paginator/evo-paginator.module.mjs +4 -4
- package/esm2022/lib/components/evo-plus-minus/evo-plus-minus.component.mjs +26 -0
- package/esm2022/lib/components/evo-plus-minus/evo-plus-minus.module.mjs +20 -0
- package/esm2022/lib/components/evo-plus-minus/index.mjs +2 -0
- package/esm2022/lib/components/evo-plus-minus/public-api.mjs +3 -0
- package/esm2022/lib/components/evo-popover/evo-popover.component.mjs +5 -5
- package/esm2022/lib/components/evo-popover/evo-popover.module.mjs +4 -4
- package/esm2022/lib/components/evo-portal/evo-portal-outlet.directive.mjs +4 -4
- package/esm2022/lib/components/evo-portal/evo-portal.module.mjs +4 -4
- package/esm2022/lib/components/evo-portal/evo-portal.service.mjs +5 -5
- package/esm2022/lib/components/evo-radio/evo-radio.component.mjs +3 -3
- package/esm2022/lib/components/evo-radio/evo-radio.module.mjs +4 -4
- package/esm2022/lib/components/evo-radio-group/evo-radio-group.component.mjs +123 -0
- package/esm2022/lib/components/evo-radio-group/evo-radio-group.module.mjs +32 -0
- package/esm2022/lib/components/evo-radio-group/index.mjs +2 -0
- package/esm2022/lib/components/evo-radio-group/public-api.mjs +3 -0
- package/esm2022/lib/components/evo-radio-group/typings/options.mjs +2 -0
- package/esm2022/lib/components/evo-radioshape/components/evo-radioshape.component.mjs +3 -3
- package/esm2022/lib/components/evo-radioshape/evo-radioshape.module.mjs +4 -4
- package/esm2022/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.mjs +21 -0
- package/esm2022/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.mjs +77 -0
- package/esm2022/lib/components/evo-segmented-bar/evo-segmented-bar.module.mjs +24 -0
- package/esm2022/lib/components/evo-segmented-bar/index.mjs +2 -0
- package/esm2022/lib/components/evo-segmented-bar/public-api.mjs +4 -0
- package/esm2022/lib/components/evo-select/evo-select.component.mjs +115 -0
- package/esm2022/lib/components/evo-select/evo-select.module.mjs +32 -0
- package/esm2022/lib/components/evo-select/index.mjs +2 -0
- package/esm2022/lib/components/evo-select/public-api.mjs +3 -0
- package/esm2022/lib/components/evo-sidebar/evo-sidebar-content/evo-sidebar-content.component.mjs +6 -6
- package/esm2022/lib/components/evo-sidebar/evo-sidebar-footer/evo-sidebar-footer.component.mjs +3 -3
- package/esm2022/lib/components/evo-sidebar/evo-sidebar-header/evo-sidebar-header.component.mjs +6 -6
- package/esm2022/lib/components/evo-sidebar/evo-sidebar.component.mjs +5 -5
- package/esm2022/lib/components/evo-sidebar/evo-sidebar.module.mjs +4 -4
- package/esm2022/lib/components/evo-sidebar/evo-sidebar.service.mjs +6 -6
- package/esm2022/lib/components/evo-stepper/evo-stepper-events.mjs +3 -3
- package/esm2022/lib/components/evo-stepper/evo-stepper-item/evo-stepper-item.component.mjs +6 -6
- package/esm2022/lib/components/evo-stepper/evo-stepper.component.mjs +5 -5
- package/esm2022/lib/components/evo-stepper/evo-stepper.module.mjs +4 -4
- package/esm2022/lib/components/evo-submenu/evo-submenu.component.mjs +159 -0
- package/esm2022/lib/components/evo-submenu/evo-submenu.module.mjs +26 -0
- package/esm2022/lib/components/evo-submenu/index.mjs +2 -0
- package/esm2022/lib/components/evo-submenu/public-api.mjs +3 -0
- package/esm2022/lib/components/evo-switcher/components/evo-switcher-item/evo-switcher-item.component.mjs +11 -0
- package/esm2022/lib/components/evo-switcher/evo-switcher.component.mjs +32 -0
- package/esm2022/lib/components/evo-switcher/evo-switcher.module.mjs +25 -0
- package/esm2022/lib/components/evo-switcher/index.mjs +2 -0
- package/esm2022/lib/components/evo-switcher/public-api.mjs +4 -0
- package/esm2022/lib/components/evo-table/evo-table/evo-table.component.mjs +4 -4
- package/esm2022/lib/components/evo-table/evo-table-column/evo-table-column.component.mjs +5 -5
- package/esm2022/lib/components/evo-table/evo-table.module.mjs +4 -4
- package/esm2022/lib/components/evo-tabs/evo-tab/evo-tab.component.mjs +6 -6
- package/esm2022/lib/components/evo-tabs/evo-tab-content/evo-tab-content.component.mjs +5 -5
- package/esm2022/lib/components/evo-tabs/evo-tab-state.collection.mjs +1 -1
- package/esm2022/lib/components/evo-tabs/evo-tabs-size.service.mjs +5 -5
- package/esm2022/lib/components/evo-tabs/evo-tabs.component.mjs +5 -5
- package/esm2022/lib/components/evo-tabs/evo-tabs.module.mjs +4 -4
- package/esm2022/lib/components/evo-tabs/evo-tabs.service.mjs +4 -4
- package/esm2022/lib/components/evo-textarea/evo-textarea.component.mjs +4 -4
- package/esm2022/lib/components/evo-textarea/evo-textarea.module.mjs +4 -4
- package/esm2022/lib/components/evo-toast/evo-toast.component.mjs +5 -5
- package/esm2022/lib/components/evo-toast/evo-toast.module.mjs +4 -4
- package/esm2022/lib/components/evo-toast/evo-toast.service.mjs +5 -5
- package/esm2022/lib/components/evo-toggle/evo-toggle.component.mjs +5 -5
- package/esm2022/lib/components/evo-toggle/evo-toggle.module.mjs +4 -4
- package/esm2022/lib/components/evo-upload/evo-upload.component.mjs +8 -8
- package/esm2022/lib/components/evo-upload/evo-upload.module.mjs +13 -17
- package/esm2022/lib/directives/evo-click-outside.directive.mjs +5 -5
- package/esm2022/lib/directives/evo-is-expanded.directive.mjs +6 -6
- package/esm2022/lib/directives/evo-let/evo-let.directive.mjs +6 -6
- package/esm2022/lib/directives/evo-ui-class.directive.mjs +5 -5
- package/esm2022/lib/evo-ui-kit.module.mjs +4 -4
- package/esm2022/lib/pipes/declination.pipe.mjs +4 -4
- package/esm2022/lib/pipes/evo-pipes.module.mjs +4 -4
- package/esm2022/lib/pipes/safe-html.pipe.mjs +4 -4
- package/esm2022/lib/services/evo-expanded.service.mjs +5 -5
- package/esm2022/lib/services/window.service.mjs +5 -5
- package/esm2022/public_api.mjs +9 -1
- package/fesm2022/evotor-dev-ui-kit.mjs +1441 -457
- package/fesm2022/evotor-dev-ui-kit.mjs.map +1 -1
- package/lib/components/evo-alert/evo-alert.component.d.ts +38 -0
- package/lib/components/evo-alert/evo-alert.module.d.ts +9 -0
- package/lib/components/evo-alert/index.d.ts +1 -0
- package/lib/components/evo-alert/public-api.d.ts +2 -0
- package/lib/components/evo-banner/evo-banner.component.d.ts +46 -0
- package/lib/components/evo-banner/evo-banner.module.d.ts +9 -0
- package/lib/components/evo-banner/index.d.ts +1 -0
- package/lib/components/evo-banner/public-api.d.ts +2 -0
- package/lib/components/evo-button/components/evo-button-old/evo-button-old.component.d.ts +39 -0
- package/lib/components/evo-button/evo-button.module.d.ts +5 -4
- package/lib/components/evo-button/public-api.d.ts +1 -0
- package/lib/components/evo-chip/evo-chip.component.d.ts +2 -2
- package/lib/components/evo-icon-button/evo-icon-button.component.d.ts +13 -3
- package/lib/components/evo-icon-button/types/evo-icon-button-theme.d.ts +1 -0
- package/lib/components/evo-loader/evo-loader.component.d.ts +14 -0
- package/lib/components/evo-loader/evo-loader.module.d.ts +5 -4
- package/lib/components/evo-loader/public-api.d.ts +1 -0
- package/lib/components/evo-plus-minus/evo-plus-minus.component.d.ts +13 -0
- package/lib/components/evo-plus-minus/evo-plus-minus.module.d.ts +8 -0
- package/lib/components/evo-plus-minus/index.d.ts +1 -0
- package/lib/components/evo-plus-minus/public-api.d.ts +2 -0
- package/lib/components/evo-radio-group/evo-radio-group.component.d.ts +56 -0
- package/lib/components/evo-radio-group/evo-radio-group.module.d.ts +11 -0
- package/lib/components/evo-radio-group/index.d.ts +1 -0
- package/lib/components/evo-radio-group/public-api.d.ts +2 -0
- package/lib/components/evo-radio-group/typings/options.d.ts +6 -0
- package/lib/components/evo-segmented-bar/evo-segmented-bar/evo-segmented-bar.component.d.ts +10 -0
- package/lib/components/evo-segmented-bar/evo-segmented-bar-button/evo-segmented-bar-button.component.d.ts +22 -0
- package/lib/components/evo-segmented-bar/evo-segmented-bar.module.d.ts +11 -0
- package/lib/components/evo-segmented-bar/index.d.ts +1 -0
- package/lib/components/evo-segmented-bar/public-api.d.ts +3 -0
- package/lib/components/evo-select/evo-select.component.d.ts +37 -0
- package/lib/components/evo-select/evo-select.module.d.ts +11 -0
- package/lib/components/evo-select/index.d.ts +1 -0
- package/lib/components/evo-select/public-api.d.ts +2 -0
- package/lib/components/evo-submenu/evo-submenu.component.d.ts +49 -0
- package/lib/components/evo-submenu/evo-submenu.module.d.ts +11 -0
- package/lib/components/evo-submenu/index.d.ts +1 -0
- package/lib/components/evo-submenu/public-api.d.ts +2 -0
- package/lib/components/evo-switcher/components/evo-switcher-item/evo-switcher-item.component.d.ts +9 -0
- package/lib/components/evo-switcher/evo-switcher.component.d.ts +14 -0
- package/lib/components/evo-switcher/evo-switcher.module.d.ts +10 -0
- package/lib/components/evo-switcher/index.d.ts +1 -0
- package/lib/components/evo-switcher/public-api.d.ts +3 -0
- package/lib/components/evo-upload/evo-upload.module.d.ts +2 -2
- package/package.json +12 -12
- package/public_api.d.ts +8 -0
- package/styles/components/evo-alert.scss +64 -0
- package/styles/components/evo-form.scss +2 -2
- package/styles/components/evo-title.scss +4 -4
- package/styles/main.scss +1 -0
- package/styles/mixins/_evo-input-mixins.scss +6 -0
- package/styles/mixins.scss +42 -0
- package/styles/variables.scss +8 -0
- package/esm2022/lib/components/evo-icon-button/types/evo-icon-button-color.mjs +0 -2
- package/esm2022/lib/components/evo-icon-button/types/index.mjs +0 -3
- package/lib/components/evo-icon-button/types/evo-icon-button-color.d.ts +0 -2
- package/lib/components/evo-icon-button/types/index.d.ts +0 -2
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use `EvoNoteComponent`
|
|
5
|
+
*/
|
|
6
|
+
export declare enum EvoAlertTypes {
|
|
7
|
+
danger = "danger",
|
|
8
|
+
info = "info",
|
|
9
|
+
success = "success",
|
|
10
|
+
warning = "warning"
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated use `EvoNoteComponent`
|
|
14
|
+
*/
|
|
15
|
+
export declare enum EvoAlertSizes {
|
|
16
|
+
large = "large",
|
|
17
|
+
normal = "normal"
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated use `EvoNoteComponent`
|
|
21
|
+
*/
|
|
22
|
+
export declare enum EvoAlertDefaultIcons {
|
|
23
|
+
exclamation = "exclamation",
|
|
24
|
+
success = "success"
|
|
25
|
+
}
|
|
26
|
+
export declare class EvoAlertComponent {
|
|
27
|
+
closable: boolean;
|
|
28
|
+
icon: string;
|
|
29
|
+
iconSrc: string;
|
|
30
|
+
type: EvoAlertTypes;
|
|
31
|
+
size: EvoAlertSizes;
|
|
32
|
+
close: EventEmitter<any>;
|
|
33
|
+
hasDefaultIcon(): any;
|
|
34
|
+
handleCloseClick(): void;
|
|
35
|
+
get totalClasses(): string[];
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoAlertComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoAlertComponent, "evo-alert", never, { "closable": { "alias": "closable"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSrc": { "alias": "iconSrc"; "required": false; }; "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "close": "close"; }, never, ["*"], false, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./evo-alert.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../evo-ui-kit.module";
|
|
5
|
+
export declare class EvoAlertModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoAlertModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoAlertModule, [typeof i1.EvoAlertComponent], [typeof i2.CommonModule, typeof i3.EvoUiKitModule], [typeof i1.EvoAlertComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EvoAlertModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Serializable } from '../../common/Serializable';
|
|
3
|
+
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare enum EvoBannerTypes {
|
|
6
|
+
large = "large",
|
|
7
|
+
small = "small",
|
|
8
|
+
fullWidth = "full-width"
|
|
9
|
+
}
|
|
10
|
+
export declare enum EvoBannerLocations {
|
|
11
|
+
main = "Main",
|
|
12
|
+
category = "Category"
|
|
13
|
+
}
|
|
14
|
+
export declare class EvoBanner extends Serializable {
|
|
15
|
+
background: string;
|
|
16
|
+
bannerPositionNames: {
|
|
17
|
+
Main: string[];
|
|
18
|
+
Category: string[];
|
|
19
|
+
};
|
|
20
|
+
button: string;
|
|
21
|
+
id: string;
|
|
22
|
+
image: string;
|
|
23
|
+
title: string;
|
|
24
|
+
url: string;
|
|
25
|
+
constructor(data: any);
|
|
26
|
+
}
|
|
27
|
+
export declare class EvoBannerComponent implements OnInit, OnDestroy {
|
|
28
|
+
private window;
|
|
29
|
+
private el;
|
|
30
|
+
banner: EvoBanner;
|
|
31
|
+
type: EvoBannerTypes;
|
|
32
|
+
bannerClick: EventEmitter<EvoBanner>;
|
|
33
|
+
bannerSize$: BehaviorSubject<string[]>;
|
|
34
|
+
subscriptions: {
|
|
35
|
+
[name: string]: Subscription;
|
|
36
|
+
};
|
|
37
|
+
constructor(window: any, el: ElementRef);
|
|
38
|
+
ngOnInit(): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
onBannerClick(): void;
|
|
41
|
+
get bannerClass(): any[];
|
|
42
|
+
private initResizeEvent;
|
|
43
|
+
private onResize;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoBannerComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoBannerComponent, "evo-banner", never, { "banner": { "alias": "banner"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "bannerClick": "bannerClick"; }, never, never, false, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./evo-banner.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../evo-ui-kit.module";
|
|
5
|
+
export declare class EvoBannerModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoBannerModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoBannerModule, [typeof i1.EvoBannerComponent], [typeof i2.CommonModule, typeof i3.EvoUiKitModule], [typeof i1.EvoBannerComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EvoBannerModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use EvoButtonComponent
|
|
5
|
+
*/
|
|
6
|
+
export declare enum EvoButtonSizes {
|
|
7
|
+
small = "small",
|
|
8
|
+
large = "large"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated use EvoButtonColor with EvoButtonTheme
|
|
12
|
+
*/
|
|
13
|
+
export declare enum EvoButtonStyles {
|
|
14
|
+
lined = "lined",
|
|
15
|
+
darkblue = "darkblue",
|
|
16
|
+
darkblueLined = "darkblue-lined",
|
|
17
|
+
green = "green",
|
|
18
|
+
greenlined = "green-lined",
|
|
19
|
+
purple = "purple",
|
|
20
|
+
red = "red"
|
|
21
|
+
}
|
|
22
|
+
export declare class EvoButtonOldComponent {
|
|
23
|
+
private elRef;
|
|
24
|
+
color: EvoButtonStyles;
|
|
25
|
+
size: EvoButtonSizes;
|
|
26
|
+
set disabled(value: boolean);
|
|
27
|
+
set loading(value: boolean);
|
|
28
|
+
private _disabled;
|
|
29
|
+
private _loading;
|
|
30
|
+
constructor(elRef: ElementRef);
|
|
31
|
+
get disabled(): boolean;
|
|
32
|
+
get loading(): boolean;
|
|
33
|
+
get totalClasses(): string[];
|
|
34
|
+
get totalStyles(): {
|
|
35
|
+
[styleKey: string]: any;
|
|
36
|
+
};
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoButtonOldComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoButtonOldComponent, "evo-button, button[evo-button]", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
39
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./components/evo-button/evo-button.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
3
|
+
import * as i2 from "./components/evo-button-old/evo-button-old.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../evo-ui-kit.module";
|
|
6
|
+
import * as i5 from "../evo-loader/evo-loader.module";
|
|
6
7
|
export declare class EvoButtonModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<EvoButtonModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoButtonModule, [typeof i1.EvoButtonComponent], [typeof
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoButtonModule, [typeof i1.EvoButtonComponent, typeof i2.EvoButtonOldComponent], [typeof i3.CommonModule, typeof i4.EvoUiKitModule, typeof i5.EvoLoaderModule], [typeof i1.EvoButtonComponent, typeof i2.EvoButtonOldComponent]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<EvoButtonModule>;
|
|
10
11
|
}
|
|
@@ -3,12 +3,12 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import { EvoBaseControl } from '../../common/evo-base-control';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare enum EvoChipType {
|
|
6
|
-
radio = "radio"
|
|
6
|
+
radio = "radio",
|
|
7
7
|
checkbox = "checkbox",
|
|
8
8
|
label = "label"
|
|
9
9
|
}
|
|
10
10
|
export declare enum EvoChipTheme {
|
|
11
|
-
grey = "grey"
|
|
11
|
+
grey = "grey",
|
|
12
12
|
white = "white"
|
|
13
13
|
}
|
|
14
14
|
export declare class EvoChipComponent extends EvoBaseControl implements ControlValueAccessor, OnInit, AfterViewInit {
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { EvoIconButtonTheme } from './types/evo-icon-button-theme';
|
|
3
|
+
import { EvoIconButtonSize } from './types/evo-icon-button-size';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
export declare enum EvoIconButtonColor {
|
|
6
|
+
link = "link",
|
|
7
|
+
danger = "danger",
|
|
8
|
+
success = "success"
|
|
9
|
+
}
|
|
4
10
|
export declare class EvoIconButtonComponent implements OnInit, OnChanges {
|
|
5
11
|
disabled: boolean;
|
|
6
12
|
loading: boolean;
|
|
7
|
-
color: EvoIconButtonColor;
|
|
13
|
+
color: EvoIconButtonColor | string;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated instead of rectangle theme use `EvoNavigationButtonComponent`
|
|
16
|
+
*/
|
|
17
|
+
theme: EvoIconButtonTheme;
|
|
8
18
|
size: EvoIconButtonSize;
|
|
9
19
|
classes: string[];
|
|
10
20
|
get isDisabled(): boolean;
|
|
@@ -12,5 +22,5 @@ export declare class EvoIconButtonComponent implements OnInit, OnChanges {
|
|
|
12
22
|
ngOnChanges(changes: SimpleChanges): void;
|
|
13
23
|
private updateClassesList;
|
|
14
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<EvoIconButtonComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EvoIconButtonComponent, "button[evo-icon-button], a[evo-icon-button]", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["evo-icon", "*"], false, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoIconButtonComponent, "button[evo-icon-button], a[evo-icon-button]", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "color": { "alias": "color"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["evo-icon", "*"], false, never>;
|
|
16
26
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EvoIconButtonTheme = 'default' | 'rectangle';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare enum EvoLoaderStyles {
|
|
4
|
+
darkblue = "darkblue",
|
|
5
|
+
green = "green",
|
|
6
|
+
white = "white"
|
|
7
|
+
}
|
|
8
|
+
export declare class EvoLoaderComponent implements OnInit {
|
|
9
|
+
color: EvoLoaderStyles;
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoLoaderComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoLoaderComponent, "evo-loader", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./evo-
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
2
|
+
import * as i1 from "./evo-loader.component";
|
|
3
|
+
import * as i2 from "./evo-circular-loader.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../evo-ui-kit.module";
|
|
5
6
|
export declare class EvoLoaderModule {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<EvoLoaderModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoLoaderModule, [typeof i1.EvoCircularLoaderComponent], [typeof
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoLoaderModule, [typeof i1.EvoLoaderComponent, typeof i2.EvoCircularLoaderComponent], [typeof i3.CommonModule, typeof i4.EvoUiKitModule], [typeof i1.EvoLoaderComponent, typeof i2.EvoCircularLoaderComponent]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<EvoLoaderModule>;
|
|
9
10
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EvoPlusMinusComponent implements OnInit {
|
|
4
|
+
id: any;
|
|
5
|
+
disabledMinus: boolean;
|
|
6
|
+
disabledPlus: boolean;
|
|
7
|
+
increase: EventEmitter<string>;
|
|
8
|
+
decrease: EventEmitter<string>;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoPlusMinusComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoPlusMinusComponent, "evo-plus-minus", never, { "id": { "alias": "id"; "required": false; }; "disabledMinus": { "alias": "disabledMinus"; "required": false; }; "disabledPlus": { "alias": "disabledPlus"; "required": false; }; }, { "increase": "increase"; "decrease": "decrease"; }, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./evo-plus-minus.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class EvoPlusMinusModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoPlusMinusModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoPlusMinusModule, [typeof i1.EvoPlusMinusComponent], [typeof i2.CommonModule], [typeof i1.EvoPlusMinusComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EvoPlusMinusModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, UntypedFormBuilder } from '@angular/forms';
|
|
3
|
+
import { EvoBaseControl } from '../../common/evo-base-control';
|
|
4
|
+
import { IOptions } from './typings/options';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export * from './typings/options';
|
|
7
|
+
export declare enum EvoRadioGroupThemes {
|
|
8
|
+
light = "light",
|
|
9
|
+
segment = "segment"
|
|
10
|
+
}
|
|
11
|
+
export declare enum EvoRadioGroupDirections {
|
|
12
|
+
row = "row",
|
|
13
|
+
column = "column"
|
|
14
|
+
}
|
|
15
|
+
export declare class EvoRadioGroupComponent extends EvoBaseControl implements ControlValueAccessor, OnInit {
|
|
16
|
+
private formBuilder;
|
|
17
|
+
protected injector: Injector;
|
|
18
|
+
options: IOptions;
|
|
19
|
+
_value?: string;
|
|
20
|
+
theme: EvoRadioGroupThemes;
|
|
21
|
+
direction: EvoRadioGroupDirections;
|
|
22
|
+
formGroup: any;
|
|
23
|
+
private disabled;
|
|
24
|
+
constructor(formBuilder: UntypedFormBuilder, injector: Injector);
|
|
25
|
+
onChange: (_: any) => void;
|
|
26
|
+
onTouched: () => void;
|
|
27
|
+
get value(): string;
|
|
28
|
+
set value(value: string);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
writeValue(value: string): void;
|
|
31
|
+
registerOnChange(fn: any): void;
|
|
32
|
+
registerOnTouched(fn: any): void;
|
|
33
|
+
setDisabledState(state: boolean): void;
|
|
34
|
+
/**
|
|
35
|
+
* Обработчик на смену значения
|
|
36
|
+
* @param value значение
|
|
37
|
+
*/
|
|
38
|
+
onChangedValue(value: string): void;
|
|
39
|
+
/**
|
|
40
|
+
* Геттер на возможные варианты отчета в формате массива
|
|
41
|
+
* презентационного текста для радио группа
|
|
42
|
+
*/
|
|
43
|
+
get optionArray(): IOptions[];
|
|
44
|
+
get totalClasses(): string[];
|
|
45
|
+
/**
|
|
46
|
+
* Генерирует из опций массив
|
|
47
|
+
* @param source объект с вариантами
|
|
48
|
+
*/
|
|
49
|
+
private generateOptionArray;
|
|
50
|
+
/**
|
|
51
|
+
* Создание группы
|
|
52
|
+
*/
|
|
53
|
+
private createFormGroup;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoRadioGroupComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoRadioGroupComponent, "evo-radio-group", never, { "options": { "alias": "options"; "required": false; }; "_value": { "alias": "value"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, false, never>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./evo-radio-group.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../../evo-ui-kit.module";
|
|
6
|
+
export { EvoRadioGroupDirections, EvoRadioGroupThemes } from './evo-radio-group.component';
|
|
7
|
+
export declare class EvoRadioGroupModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoRadioGroupModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoRadioGroupModule, [typeof i1.EvoRadioGroupComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.EvoUiKitModule], [typeof i1.EvoRadioGroupComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EvoRadioGroupModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EvoSegmentedBarComponent implements OnInit {
|
|
4
|
+
label: string;
|
|
5
|
+
labelShort: string;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSegmentedBarComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoSegmentedBarComponent, "evo-segmented-bar", never, { "label": { "alias": "label"; "required": false; }; "labelShort": { "alias": "labelShort"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AfterViewChecked } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { EvoBaseControl } from '../../../common/evo-base-control';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class EvoSegmentedBarButtonComponent extends EvoBaseControl implements ControlValueAccessor, AfterViewChecked {
|
|
6
|
+
name: string;
|
|
7
|
+
value: string;
|
|
8
|
+
color: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
private _selectedValue;
|
|
11
|
+
onChange: (_: any) => void;
|
|
12
|
+
onTouched: () => void;
|
|
13
|
+
get selectedValue(): any;
|
|
14
|
+
ngAfterViewChecked(): void;
|
|
15
|
+
writeValue(value: any): void;
|
|
16
|
+
registerOnChange(fn: any): void;
|
|
17
|
+
registerOnTouched(fn: any): void;
|
|
18
|
+
onInputChange(value: any): void;
|
|
19
|
+
get totalClasses(): string[];
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSegmentedBarButtonComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoSegmentedBarButtonComponent, "evo-segmented-bar-button", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./evo-segmented-bar/evo-segmented-bar.component";
|
|
3
|
+
import * as i2 from "./evo-segmented-bar-button/evo-segmented-bar-button.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../../evo-ui-kit.module";
|
|
7
|
+
export declare class EvoSegmentedBarModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSegmentedBarModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoSegmentedBarModule, [typeof i1.EvoSegmentedBarComponent, typeof i2.EvoSegmentedBarButtonComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.EvoUiKitModule], [typeof i1.EvoSegmentedBarComponent, typeof i2.EvoSegmentedBarButtonComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EvoSegmentedBarModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AfterContentChecked, AfterContentInit, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { EvoBaseControl } from '../../common/evo-base-control';
|
|
4
|
+
import { IEvoControlState } from '../../common/evo-control-state-manager/evo-control-state.interface';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class EvoSelectComponent extends EvoBaseControl implements ControlValueAccessor, AfterContentInit, OnDestroy, AfterContentChecked {
|
|
7
|
+
style: 'input' | 'inline';
|
|
8
|
+
label: string;
|
|
9
|
+
theme: string;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
select: ElementRef;
|
|
12
|
+
set selectedValue(value: any);
|
|
13
|
+
get selectedValue(): any;
|
|
14
|
+
selectedLabel: any;
|
|
15
|
+
private _selectedValue;
|
|
16
|
+
private contentChanges$;
|
|
17
|
+
private contentChangesSubscription;
|
|
18
|
+
propagateChange: (_: any) => void;
|
|
19
|
+
ngAfterContentInit(): void;
|
|
20
|
+
ngAfterContentChecked(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
writeValue(value: any): void;
|
|
23
|
+
registerOnChange(fn: any): void;
|
|
24
|
+
registerOnTouched(): void;
|
|
25
|
+
getSelectClasses(): {
|
|
26
|
+
[x: string]: string | boolean;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
invalid: boolean;
|
|
29
|
+
valid: boolean;
|
|
30
|
+
};
|
|
31
|
+
onChange(newValue: any): void;
|
|
32
|
+
setDisabledState(isDisabled: boolean): void;
|
|
33
|
+
get currentState(): IEvoControlState;
|
|
34
|
+
setLabel(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSelectComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoSelectComponent, "evo-select", never, { "style": { "alias": "style"; "required": false; }; "label": { "alias": "label"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./evo-select.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../../evo-ui-kit.module";
|
|
6
|
+
import * as i5 from "../evo-control-error/evo-control-error.module";
|
|
7
|
+
export declare class EvoSelectModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSelectModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoSelectModule, [typeof i1.EvoSelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.EvoUiKitModule, typeof i5.EvoControlErrorModule], [typeof i1.EvoSelectComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EvoSelectModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { AfterViewInit, OnInit, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* scroll - [default] link type with auto scroll to section on the same page
|
|
5
|
+
* outer - outer link (not accesible with router)
|
|
6
|
+
* router - router type link
|
|
7
|
+
*/
|
|
8
|
+
export declare enum EvoSubmenuType {
|
|
9
|
+
scroll = 0,
|
|
10
|
+
outer = 1,
|
|
11
|
+
router = 2
|
|
12
|
+
}
|
|
13
|
+
export interface EvoSubmenuItem {
|
|
14
|
+
title: string;
|
|
15
|
+
href: string;
|
|
16
|
+
type?: EvoSubmenuType;
|
|
17
|
+
target?: string;
|
|
18
|
+
isActive?: boolean;
|
|
19
|
+
index?: number;
|
|
20
|
+
scrollOffset?: number;
|
|
21
|
+
scrollDuration?: number;
|
|
22
|
+
}
|
|
23
|
+
export declare class EvoSubmenuComponent implements OnInit, AfterViewInit {
|
|
24
|
+
protected elRef: ElementRef;
|
|
25
|
+
protected window: any;
|
|
26
|
+
protected document: any;
|
|
27
|
+
get items(): EvoSubmenuItem[];
|
|
28
|
+
menuType: EvoSubmenuType;
|
|
29
|
+
offsetLeft: boolean;
|
|
30
|
+
set items(items: EvoSubmenuItem[]);
|
|
31
|
+
container: ElementRef;
|
|
32
|
+
isFloated: boolean;
|
|
33
|
+
activeItemIndex: number;
|
|
34
|
+
evoSubmenuType: typeof EvoSubmenuType;
|
|
35
|
+
private _items;
|
|
36
|
+
private headerHeight;
|
|
37
|
+
private submenuOffset;
|
|
38
|
+
private isWindowResize;
|
|
39
|
+
private header;
|
|
40
|
+
constructor(elRef: ElementRef, window: any, document: any);
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
onWindowResize(): void;
|
|
43
|
+
onWindowScroll(): void;
|
|
44
|
+
ngAfterViewInit(): void;
|
|
45
|
+
private calculateActiveItemIndex;
|
|
46
|
+
private checkHorizontalScroll;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSubmenuComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoSubmenuComponent, "evo-submenu", never, { "menuType": { "alias": "menuType"; "required": false; }; "offsetLeft": { "alias": "offsetLeft"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./evo-submenu.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
import * as i4 from "../../evo-ui-kit.module";
|
|
6
|
+
import * as i5 from "ngx-page-scroll";
|
|
7
|
+
export declare class EvoSubmenuModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSubmenuModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoSubmenuModule, [typeof i1.EvoSubmenuComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.EvoUiKitModule, typeof i5.NgxPageScrollModule], [typeof i1.EvoSubmenuComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EvoSubmenuModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
package/lib/components/evo-switcher/components/evo-switcher-item/evo-switcher-item.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface EvoSwitcherItem {
|
|
3
|
+
text: string;
|
|
4
|
+
clickFunction: Function;
|
|
5
|
+
}
|
|
6
|
+
export declare class EvoSwitcherItemComponent {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSwitcherItemComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoSwitcherItemComponent, "evo-switcher-item", never, {}, {}, never, ["*"], false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { EvoSwitcherItem } from './components/evo-switcher-item/evo-switcher-item.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EvoSwitcherComponent {
|
|
5
|
+
items: EvoSwitcherItem[];
|
|
6
|
+
onItemSelection: EventEmitter<number>;
|
|
7
|
+
private _selectedIndex;
|
|
8
|
+
constructor();
|
|
9
|
+
get selectedIndex(): number;
|
|
10
|
+
set selectedIndex(index: number);
|
|
11
|
+
handleItemClick(index: number): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSwitcherComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EvoSwitcherComponent, "evo-switcher", never, { "items": { "alias": "items"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; }, { "onItemSelection": "onItemSelection"; }, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./evo-switcher.component";
|
|
3
|
+
import * as i2 from "./components/evo-switcher-item/evo-switcher-item.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../evo-ui-kit.module";
|
|
6
|
+
export declare class EvoSwitcherModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EvoSwitcherModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EvoSwitcherModule, [typeof i1.EvoSwitcherComponent, typeof i2.EvoSwitcherItemComponent], [typeof i3.CommonModule, typeof i4.EvoUiKitModule], [typeof i1.EvoSwitcherComponent, typeof i2.EvoSwitcherItemComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EvoSwitcherModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|