@evotor-dev/ui-kit 6.5.1 → 6.7.0
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/bundles/evotor-dev-ui-kit-icons-category.umd.js +3 -3
- package/bundles/evotor-dev-ui-kit-icons-category.umd.js.map +1 -1
- package/bundles/evotor-dev-ui-kit-icons-navigation.umd.js +2 -2
- package/bundles/evotor-dev-ui-kit-icons-navigation.umd.js.map +1 -1
- package/bundles/evotor-dev-ui-kit-icons-system.umd.js +10 -4
- package/bundles/evotor-dev-ui-kit-icons-system.umd.js.map +1 -1
- package/bundles/evotor-dev-ui-kit-icons.umd.js +13 -9
- package/bundles/evotor-dev-ui-kit-icons.umd.js.map +1 -1
- package/bundles/evotor-dev-ui-kit.umd.js +327 -110
- package/bundles/evotor-dev-ui-kit.umd.js.map +1 -1
- package/esm2015/icons/category/index.js +4 -4
- package/esm2015/icons/navigation/index.js +3 -3
- package/esm2015/icons/system/index.js +9 -5
- package/esm2015/lib/components/evo-autocomplete/components/templates/evo-autocomplete-default-option.component.js +1 -1
- package/esm2015/lib/components/evo-button/components/evo-button/evo-button.component.js +92 -0
- package/esm2015/lib/components/evo-button/components/evo-button-old/evo-button-old.component.js +96 -0
- package/esm2015/lib/components/evo-button/constants/evo-button-themes-map.js +31 -0
- package/esm2015/lib/components/evo-button/evo-button.module.js +9 -14
- package/esm2015/lib/components/evo-button/public-api.js +4 -2
- package/esm2015/lib/components/evo-button/types/evo-button-color.js +2 -0
- package/esm2015/lib/components/evo-button/types/evo-button-shape.js +2 -0
- package/esm2015/lib/components/evo-button/types/evo-button-size.js +2 -0
- package/esm2015/lib/components/evo-button/types/evo-button-theme-params.js +2 -0
- package/esm2015/lib/components/evo-button/types/evo-button-theme.js +2 -0
- package/esm2015/lib/components/evo-button/types/index.js +6 -0
- package/esm2015/lib/components/evo-icon-button/evo-icon-button.component.js +4 -1
- package/esm2015/lib/components/evo-loader/evo-circular-loader.component.js +1 -1
- package/esm2015/lib/components/evo-modal/evo-modal.component.js +16 -7
- package/esm2015/lib/components/evo-navigation-button/evo-navigation-button.component.js +17 -0
- package/esm2015/lib/components/evo-navigation-button/evo-navigation-button.module.js +45 -0
- package/esm2015/lib/components/evo-navigation-button/index.js +2 -0
- package/esm2015/lib/components/evo-navigation-button/public-api.js +3 -0
- package/esm2015/lib/components/evo-upload/evo-upload.component.js +3 -3
- package/esm2015/public_api.js +2 -1
- package/fesm2015/evotor-dev-ui-kit-icons-category.js +3 -3
- package/fesm2015/evotor-dev-ui-kit-icons-category.js.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons-navigation.js +2 -2
- package/fesm2015/evotor-dev-ui-kit-icons-navigation.js.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons-system.js +9 -5
- package/fesm2015/evotor-dev-ui-kit-icons-system.js.map +1 -1
- package/fesm2015/evotor-dev-ui-kit-icons.js +13 -9
- package/fesm2015/evotor-dev-ui-kit-icons.js.map +1 -1
- package/fesm2015/evotor-dev-ui-kit.js +281 -98
- package/fesm2015/evotor-dev-ui-kit.js.map +1 -1
- package/icons/category/index.d.ts +3 -3
- package/icons/index.d.ts +11 -9
- package/icons/navigation/index.d.ts +2 -2
- package/icons/system/index.d.ts +8 -4
- package/lib/components/evo-button/components/evo-button/evo-button.component.d.ts +24 -0
- package/lib/components/evo-button/{evo-button.component.d.ts → components/evo-button-old/evo-button-old.component.d.ts} +9 -3
- package/lib/components/evo-button/constants/evo-button-themes-map.d.ts +2 -0
- package/lib/components/evo-button/evo-button.module.d.ts +6 -4
- package/lib/components/evo-button/public-api.d.ts +3 -1
- package/lib/components/evo-button/types/evo-button-color.d.ts +5 -0
- package/lib/components/evo-button/types/evo-button-shape.d.ts +4 -0
- package/lib/components/evo-button/types/evo-button-size.d.ts +5 -0
- package/lib/components/evo-button/types/evo-button-theme-params.d.ts +5 -0
- package/lib/components/evo-button/types/evo-button-theme.d.ts +1 -0
- package/lib/components/evo-button/types/index.d.ts +5 -0
- package/lib/components/evo-icon-button/evo-icon-button.component.d.ts +3 -0
- package/lib/components/evo-modal/evo-modal.component.d.ts +10 -6
- package/lib/components/evo-navigation-button/evo-navigation-button.component.d.ts +5 -0
- package/lib/components/evo-navigation-button/evo-navigation-button.module.d.ts +9 -0
- package/lib/components/evo-navigation-button/index.d.ts +1 -0
- package/lib/components/evo-navigation-button/public-api.d.ts +2 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/styles/components/evo-table.scss +9 -9
- package/styles/mixins.scss +7 -7
- package/esm2015/lib/components/evo-button/evo-button.component.js +0 -87
|
@@ -2060,7 +2060,7 @@ class EvoAutocompleteDefaultOptionComponent {
|
|
|
2060
2060
|
}
|
|
2061
2061
|
}
|
|
2062
2062
|
EvoAutocompleteDefaultOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoAutocompleteDefaultOptionComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2063
|
-
EvoAutocompleteDefaultOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoAutocompleteDefaultOptionComponent, selector: "evo-autocomplete-default-option", inputs: { hasCheckbox: "hasCheckbox", label: "label", description: "description", isDisabled: "isDisabled", isSelected: "isSelected" }, host: { properties: { "class.has-checkbox": "this.hasCheckboxClass" } }, ngImport: i0, template: "<div class=\"option option_has-checkbox\" *ngIf=\"hasCheckbox\">\n <evo-checkbox\n [ngModel]=\"isSelected\"\n [ngModelOptions]=\"{standalone: true}\"\n [disabled]=\"isDisabled\"\n (click)=\"onCheckboxClick($event)\"\n (change)=\"onCheckboxClick($event)\"\n (ngModelChange)=\"onSelectedChange($event)\"\n >{{ label }}</evo-checkbox>\n <ng-container *ngIf=\"description\">\n <div class=\"option__description\">{{ description }}</div>\n </ng-container>\n</div>\n<div class=\"option\" *ngIf=\"!hasCheckbox\">\n <div class=\"option__label\">{{ label }}</div>\n <ng-container *ngIf=\"description\">\n <div class=\"option__description\">{{ description }}</div>\n </ng-container>\n</div>\n", styles: [":host{display:block;color:inherit;white-space:var(--evo-autocomplete-option-white-space, nowrap)}.option{position:relative;z-index:1}.option__label{display:block;margin-bottom:0;overflow:var(--evo-autocomplete-option-overflow, hidden);color:inherit;font-size:14px;line-height:22px;text-overflow:var(--evo-autocomplete-option-text-overflow, ellipsis)}.option__description{display:block;overflow:var(--evo-autocomplete-option-overflow, hidden);color:#9b9b9b;font-size:12px;line-height:18px;text-overflow:var(--evo-autocomplete-option-text-overflow, ellipsis)}evo-checkbox+.option__description{padding-left:32px}.option_has-checkbox{background-color:inherit}:host-context(.ng-option.ng-option-selected) .option_has-checkbox{background-color:#e1ecef!important}:host-context(.ng-option.ng-option-disabled){padding:0}:host-context(.ng-option.ng-option-disabled) .option__description,:host-context(.ng-option.ng-option-disabled) .option__label,:host-context(.ng-option.ng-option-disabled) evo-checkbox{color:#c6c6c6}:host-context(.ng-option.ng-option-selected){padding:0}:host-context(.ng-option.ng-option-
|
|
2063
|
+
EvoAutocompleteDefaultOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoAutocompleteDefaultOptionComponent, selector: "evo-autocomplete-default-option", inputs: { hasCheckbox: "hasCheckbox", label: "label", description: "description", isDisabled: "isDisabled", isSelected: "isSelected" }, host: { properties: { "class.has-checkbox": "this.hasCheckboxClass" } }, ngImport: i0, template: "<div class=\"option option_has-checkbox\" *ngIf=\"hasCheckbox\">\n <evo-checkbox\n [ngModel]=\"isSelected\"\n [ngModelOptions]=\"{standalone: true}\"\n [disabled]=\"isDisabled\"\n (click)=\"onCheckboxClick($event)\"\n (change)=\"onCheckboxClick($event)\"\n (ngModelChange)=\"onSelectedChange($event)\"\n >{{ label }}</evo-checkbox>\n <ng-container *ngIf=\"description\">\n <div class=\"option__description\">{{ description }}</div>\n </ng-container>\n</div>\n<div class=\"option\" *ngIf=\"!hasCheckbox\">\n <div class=\"option__label\">{{ label }}</div>\n <ng-container *ngIf=\"description\">\n <div class=\"option__description\">{{ description }}</div>\n </ng-container>\n</div>\n", styles: [":host{display:block;color:inherit;white-space:var(--evo-autocomplete-option-white-space, nowrap)}.option{position:relative;z-index:1}.option__label{display:block;margin-bottom:0;overflow:var(--evo-autocomplete-option-overflow, hidden);color:inherit;font-size:14px;line-height:22px;text-overflow:var(--evo-autocomplete-option-text-overflow, ellipsis)}.option__description{display:block;overflow:var(--evo-autocomplete-option-overflow, hidden);color:#9b9b9b;font-size:12px;line-height:18px;text-overflow:var(--evo-autocomplete-option-text-overflow, ellipsis)}evo-checkbox+.option__description{padding-left:32px}.option_has-checkbox{background-color:inherit}:host-context(.ng-option.ng-option-selected) .option_has-checkbox{background-color:#e1ecef!important}:host-context(.ng-option.ng-option-disabled){padding:0}:host-context(.ng-option.ng-option-disabled) .option__description,:host-context(.ng-option.ng-option-disabled) .option__label,:host-context(.ng-option.ng-option-disabled) evo-checkbox{color:#c6c6c6}:host-context(.ng-option.ng-option-selected){padding:0}:host-context(.ng-option.ng-option-marked) .option_has-checkbox{background:#F4F6F8}\n"], components: [{ type: EvoCheckboxComponent, selector: "evo-checkbox", inputs: ["indeterminate"], outputs: ["indeterminateChange"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2064
2064
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoAutocompleteDefaultOptionComponent, decorators: [{
|
|
2065
2065
|
type: Component,
|
|
2066
2066
|
args: [{
|
|
@@ -2413,11 +2413,155 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2413
2413
|
}]
|
|
2414
2414
|
}] });
|
|
2415
2415
|
|
|
2416
|
+
const EVO_BUTTON_THEMES_MAP = new Map([
|
|
2417
|
+
[
|
|
2418
|
+
'rectangle-outline',
|
|
2419
|
+
{
|
|
2420
|
+
shape: 'rectangle',
|
|
2421
|
+
isOutline: true,
|
|
2422
|
+
},
|
|
2423
|
+
],
|
|
2424
|
+
[
|
|
2425
|
+
'rounded-outline',
|
|
2426
|
+
{
|
|
2427
|
+
shape: 'rounded',
|
|
2428
|
+
isOutline: true,
|
|
2429
|
+
},
|
|
2430
|
+
],
|
|
2431
|
+
[
|
|
2432
|
+
'rounded-solid',
|
|
2433
|
+
{
|
|
2434
|
+
shape: 'rounded',
|
|
2435
|
+
isOutline: false,
|
|
2436
|
+
},
|
|
2437
|
+
],
|
|
2438
|
+
[
|
|
2439
|
+
'semi-rectangle-solid',
|
|
2440
|
+
{
|
|
2441
|
+
shape: 'semi-rectangle',
|
|
2442
|
+
isOutline: false,
|
|
2443
|
+
},
|
|
2444
|
+
],
|
|
2445
|
+
]);
|
|
2446
|
+
|
|
2447
|
+
const defaultId = `clip-path-`;
|
|
2448
|
+
class EvoCircularLoaderComponent {
|
|
2449
|
+
constructor() {
|
|
2450
|
+
this.clipPathId = defaultId;
|
|
2451
|
+
}
|
|
2452
|
+
ngOnInit() {
|
|
2453
|
+
this.clipPathId += `${defaultId}${Math.random().toString(36).substring(2)}`;
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
EvoCircularLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoCircularLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2457
|
+
EvoCircularLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoCircularLoaderComponent, selector: "evo-circular-loader", ngImport: i0, template: "<div class=\"wrapper\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\n <clipPath [attr.id]=\"clipPathId\">\n <path d=\"M12 20C10.4178 20 8.87103 19.5308 7.55544 18.6518C6.23985 17.7727 5.21447 16.5233 4.60896 15.0615C4.00346 13.5997 3.84504 11.9911 4.15372 10.4393C4.4624 8.88743 5.22433 7.46197 6.34315 6.34315C7.46197 5.22433 8.88743 4.4624 10.4393 4.15372C11.9911 3.84504 13.5997 4.00346 15.0615 4.60896C16.5233 5.21446 17.7727 6.23984 18.6518 7.55544C19.5308 8.87103 20 10.4177 20 12L18 12C18 10.8133 17.6481 9.65327 16.9888 8.66658C16.3295 7.67988 15.3925 6.91085 14.2961 6.45672C13.1997 6.0026 11.9933 5.88378 10.8295 6.11529C9.66557 6.3468 8.59647 6.91824 7.75736 7.75736C6.91824 8.59647 6.3468 9.66557 6.11529 10.8295C5.88378 11.9933 6.0026 13.1997 6.45672 14.2961C6.91085 15.3925 7.67988 16.3295 8.66658 16.9888C9.65327 17.6481 10.8133 18 12 18L12 20Z\"/>\n </clipPath>\n <foreignObject x=\"0\" y=\"0\" width=\"17\" height=\"16\" [attr.clip-path]=\"'url(#' + clipPathId + ')'\">\n <xhtml:div class=\"loader\"></xhtml:div>\n </foreignObject>\n </svg>\n</div>\n", styles: ["@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}:host{display:block;width:24px;height:24px;--evo-circular-loader-animate: spin 1s linear infinite;--evo-circular-loader-color: #C6C6C6 }.wrapper{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.wrapper svg{display:block;width:100%;height:100%;animation:var(--evo-circular-loader-animate);fill:none}.wrapper svg .loader{width:100%;height:100%;color:inherit;background:conic-gradient(from 180deg,transparent 0%,var(--evo-circular-loader-color) 100%)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoCircularLoaderComponent, decorators: [{
|
|
2459
|
+
type: Component,
|
|
2460
|
+
args: [{
|
|
2461
|
+
selector: 'evo-circular-loader',
|
|
2462
|
+
templateUrl: './evo-circular-loader.component.html',
|
|
2463
|
+
styleUrls: ['./evo-circular-loader.component.scss'],
|
|
2464
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2465
|
+
}]
|
|
2466
|
+
}] });
|
|
2467
|
+
|
|
2468
|
+
class EvoButtonComponent {
|
|
2469
|
+
constructor(elRef) {
|
|
2470
|
+
this.elRef = elRef;
|
|
2471
|
+
this.size = 'normal';
|
|
2472
|
+
this.color = 'success';
|
|
2473
|
+
this.shape = 'rounded';
|
|
2474
|
+
this._isOutline = false;
|
|
2475
|
+
this._isDisabled = false;
|
|
2476
|
+
this._isLoading = false;
|
|
2477
|
+
}
|
|
2478
|
+
/**
|
|
2479
|
+
* `theme` is a complex prop, that sets a number of inner parameters, described in `EvoButtonThemeParams`
|
|
2480
|
+
*/
|
|
2481
|
+
set theme(value) {
|
|
2482
|
+
var _a;
|
|
2483
|
+
const selectedTheme = (_a = EVO_BUTTON_THEMES_MAP.get(value)) !== null && _a !== void 0 ? _a : EVO_BUTTON_THEMES_MAP.get('rounded-solid');
|
|
2484
|
+
this.shape = selectedTheme.shape;
|
|
2485
|
+
this._isOutline = selectedTheme.isOutline;
|
|
2486
|
+
}
|
|
2487
|
+
set disabled(value) {
|
|
2488
|
+
this._isDisabled = value;
|
|
2489
|
+
if (!this.isLoading) {
|
|
2490
|
+
this.elRef.nativeElement.disabled = value;
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
set loading(value) {
|
|
2494
|
+
this._isLoading = value;
|
|
2495
|
+
if (!this._isDisabled) {
|
|
2496
|
+
this.elRef.nativeElement.disabled = value;
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2499
|
+
get isLoading() {
|
|
2500
|
+
return this._isLoading;
|
|
2501
|
+
}
|
|
2502
|
+
get buttonClasses() {
|
|
2503
|
+
const classes = [];
|
|
2504
|
+
if (this.color) {
|
|
2505
|
+
classes.push(`color_${this.color}`);
|
|
2506
|
+
}
|
|
2507
|
+
if (this.shape) {
|
|
2508
|
+
classes.push(`shape_${this.shape}`);
|
|
2509
|
+
}
|
|
2510
|
+
if (this.size) {
|
|
2511
|
+
classes.push(`size_${this.size}`);
|
|
2512
|
+
}
|
|
2513
|
+
if (this._isOutline) {
|
|
2514
|
+
classes.push(`is-outline`);
|
|
2515
|
+
}
|
|
2516
|
+
if (this._isDisabled) {
|
|
2517
|
+
classes.push('is-disabled');
|
|
2518
|
+
}
|
|
2519
|
+
if (this.isLoading) {
|
|
2520
|
+
classes.push('is-loading');
|
|
2521
|
+
}
|
|
2522
|
+
return classes;
|
|
2523
|
+
}
|
|
2524
|
+
get buttonStyles() {
|
|
2525
|
+
const result = {};
|
|
2526
|
+
if (this.isLoading) {
|
|
2527
|
+
result['visibility'] = 'hidden';
|
|
2528
|
+
}
|
|
2529
|
+
return result;
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
EvoButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2533
|
+
EvoButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoButtonComponent, selector: "button[evoButton], a[evoButton]", inputs: { size: "size", color: "color", theme: "theme", disabled: "disabled", loading: "loading" }, ngImport: i0, template: "<div class=\"evo-button\" [evoUiClass]=\"buttonClasses\">\n <span class=\"evo-button__content\" [ngStyle]=\"buttonStyles\">\n <ng-content></ng-content>\n </span>\n <evo-circular-loader class=\"evo-button__loader\" *ngIf=\"isLoading\"></evo-circular-loader>\n</div>\n", styles: [":host{display:inline-block;margin:0;padding:0;vertical-align:top;background:none;border:0;outline:none;--evo-button-background-gradient: none;--evo-button-text-color: none;--evo-button-border-color: none;--evo-button-hover-text-color: none;--evo-button-hover-shadow: none;--evo-button-overflow: hidden}.evo-button{--inner-button-primary-color: #21C68B;--inner-button-secondary-color: #FFFFFF;--inner-text-color: var(--inner-button-secondary-color);--inner-background-color: var(--inner-button-primary-color);--inner-border-color: var(--inner-button-primary-color);display:flex;justify-content:center;align-items:center;height:40px;padding:0 24px;font-size:16px;line-height:1;white-space:nowrap;text-align:center;color:var(--inner-text-color);fill:var(--inner-text-color);border:none;outline:none;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden;box-sizing:border-box;z-index:auto;transition:box-shadow .3s,color .3s}.evo-button__content{position:relative;display:flex;flex-flow:row nowrap;align-items:center;overflow:var(--evo-button-overflow);z-index:3}.evo-button__loader{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:4px 0;z-index:2;--evo-circular-loader-color: var(--inner-text-color)}.evo-button:before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background-color:var(--inner-background-color);border:solid 1px var(--inner-border-color);border-radius:inherit;transition:background .3s,color .3s,border .3s}.evo-button:after{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;opacity:0;transition:opacity .3s,background-color .3s}.evo-button:hover{box-shadow:var(--evo-button-hover-shadow)}.evo-button:hover:after{opacity:.2;background-color:#fff}.evo-button:focus:after,.evo-button:active:after{opacity:.1;background-color:#000}.evo-button:disabled,.evo-button_is-disabled{--inner-text-color: #FFFFFF !important;--inner-background-color: #C6C6C6 !important;--inner-border-color: transparent !important;pointer-events:none}.evo-button:disabled .evo-button:after,.evo-button_is-disabled .evo-button:after{display:none}.evo-button_is-outline:not(.evo-button_is-outline:hover):not(.evo-button_is-outline_is-disabled):not(.evo-button_is-outline:active){--inner-text-color: var(--inner-button-primary-color);--inner-background-color: transparent;--inner-border-color: var(--inner-button-primary-color)}.evo-button_is-outline:hover{--inner-text-color: var(--inner-button-secondary-color);--inner-background-color: var(--inner-button-primary-color)}.evo-button_is-outline:hover:not(:focus):not(:active):after{background:transparent;border:none}.evo-button_is-loading{position:relative;pointer-events:none}.evo-button.evo-button_shape_rounded{border-radius:30px;font-weight:500;font-family:var(--evo-font-secondary);text-transform:uppercase}.evo-button.evo-button_shape_rectangle{border-radius:4px;padding:0 12px;font-weight:600;font-family:var(--evo-font);text-transform:unset}.evo-button.evo-button_shape_semi-rectangle{border-radius:8px;padding:0 8px;font-weight:700;font-family:var(--evo-font);text-transform:unset}.evo-button.evo-button_color_secondary{--inner-button-primary-color: #231F20;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_success{--inner-button-primary-color: #21C68B;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_bonus{--inner-button-primary-color: #C72AAE;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_text{--inner-button-primary-color: #212121;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_link{--inner-button-primary-color: #0986E2;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_error{--inner-button-primary-color: #FF1817;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_color_white{--inner-button-primary-color: #FFFFFF;--inner-button-secondary-color: #212121}.evo-button.evo-button_color_primary{--inner-button-primary-color: #F05023;--inner-button-secondary-color: #FFFFFF}.evo-button.evo-button_size_small.evo-button_shape_rounded{height:32px;font-size:14px;line-height:20px;padding:0 16px}.evo-button.evo-button_size_small.evo-button_shape_rectangle{height:32px;font-size:14px;line-height:24px}.evo-button.evo-button_size_small.evo-button_shape_semi-rectangle{height:24px;font-size:12px;line-height:18px}.evo-button.evo-button_size_normal.evo-button_shape_rounded{height:40px;font-size:18px;line-height:20px;padding:0 24px}.evo-button.evo-button_size_normal.evo-button_shape_rectangle{height:32px;font-size:14px;line-height:24px}.evo-button.evo-button_size_normal.evo-button_shape_semi-rectangle{height:24px;font-size:12px;line-height:18px}.evo-button.evo-button_size_large.evo-button_shape_rounded{height:56px;font-size:18px;line-height:20px;padding:0 40px}.evo-button.evo-button_size_large.evo-button_shape_rectangle{height:32px;font-size:14px;line-height:24px}.evo-button.evo-button_size_large.evo-button_shape_semi-rectangle{height:24px;font-size:12px;line-height:18px}.evo-button.evo-button_color_white.evo-button_shape_rounded:not(.evo-button.evo-button_color_white.evo-button_shape_rounded:disabled):is(.evo-button.evo-button_color_white.evo-button_shape_rounded:hover):after{z-index:3}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled):not(.evo-button_is-outline){--inner-button-secondary-color: var(--evo-button-text-color)}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled):not(.evo-button_is-outline):hover{--inner-button-secondary-color: var(--evo-button-hover-text-color)}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled):not(.evo-button_is-outline):before{background-image:var(--evo-button-background-gradient);border-color:transparent}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled).evo-button_is-outline{--inner-button-primary-color: var(--evo-button-border-color)}.evo-button.evo-button_color_custom:not(.evo-button_is-disabled).evo-button_is-outline:hover:before,.evo-button.evo-button_color_custom:not(.evo-button_is-disabled).evo-button_is-outline:active:before{background-color:transparent;background-image:var(--evo-button-background-gradient)}\n"], components: [{ type: EvoCircularLoaderComponent, selector: "evo-circular-loader" }], directives: [{ type: EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoButtonComponent, decorators: [{
|
|
2535
|
+
type: Component,
|
|
2536
|
+
args: [{
|
|
2537
|
+
selector: 'button[evoButton], a[evoButton]',
|
|
2538
|
+
templateUrl: './evo-button.component.html',
|
|
2539
|
+
styleUrls: ['./evo-button.component.scss'],
|
|
2540
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2541
|
+
}]
|
|
2542
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { size: [{
|
|
2543
|
+
type: Input
|
|
2544
|
+
}], color: [{
|
|
2545
|
+
type: Input
|
|
2546
|
+
}], theme: [{
|
|
2547
|
+
type: Input
|
|
2548
|
+
}], disabled: [{
|
|
2549
|
+
type: Input
|
|
2550
|
+
}], loading: [{
|
|
2551
|
+
type: Input
|
|
2552
|
+
}] } });
|
|
2553
|
+
|
|
2554
|
+
/**
|
|
2555
|
+
* @deprecated use EvoButtonComponent
|
|
2556
|
+
*/
|
|
2416
2557
|
var EvoButtonSizes;
|
|
2417
2558
|
(function (EvoButtonSizes) {
|
|
2418
2559
|
EvoButtonSizes["small"] = "small";
|
|
2419
2560
|
EvoButtonSizes["large"] = "large";
|
|
2420
2561
|
})(EvoButtonSizes || (EvoButtonSizes = {}));
|
|
2562
|
+
/**
|
|
2563
|
+
* @deprecated use EvoButtonColor with EvoButtonTheme
|
|
2564
|
+
*/
|
|
2421
2565
|
var EvoButtonStyles;
|
|
2422
2566
|
(function (EvoButtonStyles) {
|
|
2423
2567
|
EvoButtonStyles["lined"] = "lined";
|
|
@@ -2428,7 +2572,10 @@ var EvoButtonStyles;
|
|
|
2428
2572
|
EvoButtonStyles["purple"] = "purple";
|
|
2429
2573
|
EvoButtonStyles["red"] = "red";
|
|
2430
2574
|
})(EvoButtonStyles || (EvoButtonStyles = {}));
|
|
2431
|
-
|
|
2575
|
+
/**
|
|
2576
|
+
* @deprecated use EvoButtonComponent
|
|
2577
|
+
*/
|
|
2578
|
+
class EvoButtonOldComponent {
|
|
2432
2579
|
constructor(elRef) {
|
|
2433
2580
|
this.elRef = elRef;
|
|
2434
2581
|
this._disabled = false;
|
|
@@ -2476,14 +2623,14 @@ class EvoButtonComponent {
|
|
|
2476
2623
|
return result;
|
|
2477
2624
|
}
|
|
2478
2625
|
}
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type:
|
|
2626
|
+
EvoButtonOldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoButtonOldComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2627
|
+
EvoButtonOldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoButtonOldComponent, selector: "evo-button, button[evo-button]", inputs: { color: "color", size: "size", disabled: "disabled", loading: "loading" }, ngImport: i0, template: "<div class=\"evo-button\" [evoUiClass]=\"totalClasses\">\n <span [ngStyle]=\"totalStyles\">\n <ng-content></ng-content>\n </span>\n <span *ngIf=\"loading\" class=\"evo-button__dots\">\n <span class=\"evo-button__dot\"></span>\n <span class=\"evo-button__dot\"></span>\n <span class=\"evo-button__dot\"></span>\n </span>\n</div>\n", styles: ["@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}.evo-button{display:flex;justify-content:center;align-items:center;min-width:96px;height:40px;padding:0 24px;color:#fff;font-weight:500;font-size:16px;font-family:var(--evo-font-secondary);line-height:1;white-space:nowrap;text-align:center;text-transform:uppercase;background:#F05023 none;border:solid 1px transparent;border-radius:30px;outline:none;cursor:pointer;transition:background-color .3s,color .3s,border .3s;-webkit-user-select:none;user-select:none}.evo-button:hover{color:#fff;background-color:#f3734f}.evo-button:active,.evo-button:focus{color:#fff;background-color:#d8481f;outline:none}.evo-button:disabled,.evo-button_disabled{color:#fff!important;background:rgba(0,0,0,.16)!important;border-color:transparent!important;pointer-events:none}.evo-button_lined{color:#f05023;background-color:#fff;border:1px solid #F05023}.evo-button_lined:hover{color:#fff;background-color:#f05023}.evo-button_lined:active,.evo-button_lined:focus{color:#fff;background-color:#d8481f;border-color:#d8481f}.evo-button_darkblue{background-color:#546e7a}.evo-button_darkblue:hover{background-color:#7596a5}.evo-button_darkblue:active,.evo-button_darkblue:focus{background-color:#283239}.evo-button_darkblue-lined{color:#403c3d;background-color:#fff;border:1px solid #403C3D}.evo-button_darkblue-lined:hover{color:#fff;background-color:#403c3d}.evo-button_darkblue-lined:active,.evo-button_darkblue-lined:focus{color:#fff;background-color:#343031;border-color:#343031}.evo-button_green{background-color:#21c68b}.evo-button_green:hover{background-color:#4cd2a2}.evo-button_green:active,.evo-button_green:focus{background-color:#1c9e6e}.evo-button_green-lined{color:#21c68b;background-color:#fff;border:1px solid #21C68B}.evo-button_green-lined:hover{color:#fff;background-color:#21c68b}.evo-button_green-lined:active,.evo-button_green-lined:focus{color:#fff;background-color:#1c9e6e;border-color:#1c9e6e}.evo-button_red{color:#fff;background-color:#ff1817}.evo-button_red:hover{background-color:#ff4645}.evo-button_red:active,.evo-button_red:focus{background-color:#e51715}.evo-button_purple{background-color:#c72aae}.evo-button_purple:hover{background-color:#d255be}.evo-button_purple:active,.evo-button_purple:focus{background-color:#9f228b}.evo-button_white{background-color:transparent;border:1px solid #FFFFFF}.evo-button_white:hover{color:#403c3d;background-color:#fff}.evo-button_white:active,.evo-button_white:focus{color:#fff;background-color:transparent}.evo-button_small{min-width:72px;height:32px;padding:0 16px;font-size:14px}.evo-button_large{min-width:120px;height:56px;padding:0 40px;font-size:18px}.evo-button_icon{display:inline-flex;align-items:center;padding-right:22px;padding-left:22px}.evo-button_loading{position:relative;pointer-events:none}.evo-button__dots{position:absolute;top:50%;left:50%;margin-top:-5px;margin-left:-30px}.evo-button__dot{float:left;width:10px;height:10px;margin:0 5px;background:currentColor;border-radius:50%;transform:scale(0);animation:evo-fx-blink 1s ease infinite 0ms}.evo-button__dot:nth-child(2){animation:evo-fx-blink 1s ease infinite .3s}.evo-button__dot:nth-child(3){animation:evo-fx-blink 1s ease infinite .6s}:host{display:inline-block;margin:0;padding:0;vertical-align:top;background:none;border:0;outline:none}\n"], directives: [{ type: EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoButtonOldComponent, decorators: [{
|
|
2482
2629
|
type: Component,
|
|
2483
2630
|
args: [{
|
|
2484
2631
|
selector: 'evo-button, button[evo-button]',
|
|
2485
|
-
templateUrl: './evo-button.component.html',
|
|
2486
|
-
styleUrls: ['./evo-button.component.scss'],
|
|
2632
|
+
templateUrl: './evo-button-old.component.html',
|
|
2633
|
+
styleUrls: ['./evo-button-old.component.scss'],
|
|
2487
2634
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2488
2635
|
}]
|
|
2489
2636
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { color: [{
|
|
@@ -2496,24 +2643,72 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2496
2643
|
type: Input
|
|
2497
2644
|
}] } });
|
|
2498
2645
|
|
|
2499
|
-
|
|
2646
|
+
var EvoLoaderStyles;
|
|
2647
|
+
(function (EvoLoaderStyles) {
|
|
2648
|
+
EvoLoaderStyles["darkblue"] = "darkblue";
|
|
2649
|
+
EvoLoaderStyles["green"] = "green";
|
|
2650
|
+
EvoLoaderStyles["white"] = "white";
|
|
2651
|
+
})(EvoLoaderStyles || (EvoLoaderStyles = {}));
|
|
2652
|
+
/**
|
|
2653
|
+
* @deprecated use `EvoCircularLoaderComponent`
|
|
2654
|
+
*/
|
|
2655
|
+
class EvoLoaderComponent {
|
|
2656
|
+
constructor() {
|
|
2657
|
+
this.color = EvoLoaderStyles.darkblue;
|
|
2658
|
+
}
|
|
2659
|
+
ngOnInit() { }
|
|
2500
2660
|
}
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2661
|
+
EvoLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2662
|
+
EvoLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoLoaderComponent, selector: "evo-loader", inputs: { color: "color" }, ngImport: i0, template: "<div class=\"evo-loader\" [evoUiClass]=\"color\">\n <span class=\"evo-loader__dot\"></span>\n <span class=\"evo-loader__dot\"></span>\n <span class=\"evo-loader__dot\"></span>\n</div>\n", styles: ["@keyframes fx{50%{transform:scale(1);opacity:1}to{opacity:0}}.evo-loader{position:absolute;top:50%;left:50%;margin-top:-5px;margin-left:-30px}.evo-loader_darkblue{color:#546e7a}.evo-loader_green{color:#21c68b}.evo-loader_white{color:#fff}.evo-loader__dot{float:left;width:10px;height:10px;margin:0 5px;background:currentColor;border-radius:50%;transform:scale(0);animation:fx 1s ease infinite 0ms}.evo-loader__dot:nth-child(2){animation:fx 1s ease infinite .3s}.evo-loader__dot:nth-child(3){animation:fx 1s ease infinite .6s}\n"], directives: [{ type: EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }] });
|
|
2663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderComponent, decorators: [{
|
|
2664
|
+
type: Component,
|
|
2665
|
+
args: [{
|
|
2666
|
+
selector: 'evo-loader',
|
|
2667
|
+
templateUrl: './evo-loader.component.html',
|
|
2668
|
+
styleUrls: ['./evo-loader.component.scss'],
|
|
2669
|
+
}]
|
|
2670
|
+
}], ctorParameters: function () { return []; }, propDecorators: { color: [{
|
|
2671
|
+
type: Input
|
|
2672
|
+
}] } });
|
|
2673
|
+
|
|
2674
|
+
const bundle = [
|
|
2675
|
+
EvoLoaderComponent,
|
|
2676
|
+
EvoCircularLoaderComponent,
|
|
2677
|
+
];
|
|
2678
|
+
class EvoLoaderModule {
|
|
2679
|
+
}
|
|
2680
|
+
EvoLoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2681
|
+
EvoLoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderModule, declarations: [EvoLoaderComponent,
|
|
2682
|
+
EvoCircularLoaderComponent], imports: [CommonModule,
|
|
2683
|
+
EvoUiKitModule], exports: [EvoLoaderComponent,
|
|
2684
|
+
EvoCircularLoaderComponent] });
|
|
2685
|
+
EvoLoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderModule, imports: [[
|
|
2505
2686
|
CommonModule,
|
|
2506
2687
|
EvoUiKitModule,
|
|
2507
2688
|
]] });
|
|
2508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type:
|
|
2689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderModule, decorators: [{
|
|
2509
2690
|
type: NgModule,
|
|
2510
2691
|
args: [{
|
|
2511
2692
|
imports: [
|
|
2512
2693
|
CommonModule,
|
|
2513
2694
|
EvoUiKitModule,
|
|
2514
2695
|
],
|
|
2515
|
-
declarations: [
|
|
2516
|
-
exports: [
|
|
2696
|
+
declarations: [...bundle],
|
|
2697
|
+
exports: [...bundle],
|
|
2698
|
+
}]
|
|
2699
|
+
}] });
|
|
2700
|
+
|
|
2701
|
+
class EvoButtonModule {
|
|
2702
|
+
}
|
|
2703
|
+
EvoButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2704
|
+
EvoButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoButtonModule, declarations: [EvoButtonComponent, EvoButtonOldComponent], imports: [CommonModule, EvoUiKitModule, EvoLoaderModule], exports: [EvoButtonComponent, EvoButtonOldComponent] });
|
|
2705
|
+
EvoButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoButtonModule, imports: [[CommonModule, EvoUiKitModule, EvoLoaderModule]] });
|
|
2706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoButtonModule, decorators: [{
|
|
2707
|
+
type: NgModule,
|
|
2708
|
+
args: [{
|
|
2709
|
+
imports: [CommonModule, EvoUiKitModule, EvoLoaderModule],
|
|
2710
|
+
declarations: [EvoButtonComponent, EvoButtonOldComponent],
|
|
2711
|
+
exports: [EvoButtonComponent, EvoButtonOldComponent],
|
|
2517
2712
|
}]
|
|
2518
2713
|
}] });
|
|
2519
2714
|
|
|
@@ -3481,6 +3676,9 @@ const wrapperSelector = 'evo-icon-button';
|
|
|
3481
3676
|
class EvoIconButtonComponent {
|
|
3482
3677
|
constructor() {
|
|
3483
3678
|
this.color = EvoIconButtonColor.link;
|
|
3679
|
+
/**
|
|
3680
|
+
* @deprecated instead of rectangle theme use `EvoNavigationButtonComponent`
|
|
3681
|
+
*/
|
|
3484
3682
|
this.theme = 'default';
|
|
3485
3683
|
this.classes = [];
|
|
3486
3684
|
}
|
|
@@ -3769,82 +3967,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3769
3967
|
}]
|
|
3770
3968
|
}] });
|
|
3771
3969
|
|
|
3772
|
-
var EvoLoaderStyles;
|
|
3773
|
-
(function (EvoLoaderStyles) {
|
|
3774
|
-
EvoLoaderStyles["darkblue"] = "darkblue";
|
|
3775
|
-
EvoLoaderStyles["green"] = "green";
|
|
3776
|
-
EvoLoaderStyles["white"] = "white";
|
|
3777
|
-
})(EvoLoaderStyles || (EvoLoaderStyles = {}));
|
|
3778
|
-
/**
|
|
3779
|
-
* @deprecated use `EvoCircularLoaderComponent`
|
|
3780
|
-
*/
|
|
3781
|
-
class EvoLoaderComponent {
|
|
3782
|
-
constructor() {
|
|
3783
|
-
this.color = EvoLoaderStyles.darkblue;
|
|
3784
|
-
}
|
|
3785
|
-
ngOnInit() { }
|
|
3786
|
-
}
|
|
3787
|
-
EvoLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3788
|
-
EvoLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoLoaderComponent, selector: "evo-loader", inputs: { color: "color" }, ngImport: i0, template: "<div class=\"evo-loader\" [evoUiClass]=\"color\">\n <span class=\"evo-loader__dot\"></span>\n <span class=\"evo-loader__dot\"></span>\n <span class=\"evo-loader__dot\"></span>\n</div>\n", styles: ["@keyframes fx{50%{transform:scale(1);opacity:1}to{opacity:0}}.evo-loader{position:absolute;top:50%;left:50%;margin-top:-5px;margin-left:-30px}.evo-loader_darkblue{color:#546e7a}.evo-loader_green{color:#21c68b}.evo-loader_white{color:#fff}.evo-loader__dot{float:left;width:10px;height:10px;margin:0 5px;background:currentColor;border-radius:50%;transform:scale(0);animation:fx 1s ease infinite 0ms}.evo-loader__dot:nth-child(2){animation:fx 1s ease infinite .3s}.evo-loader__dot:nth-child(3){animation:fx 1s ease infinite .6s}\n"], directives: [{ type: EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }] });
|
|
3789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderComponent, decorators: [{
|
|
3790
|
-
type: Component,
|
|
3791
|
-
args: [{
|
|
3792
|
-
selector: 'evo-loader',
|
|
3793
|
-
templateUrl: './evo-loader.component.html',
|
|
3794
|
-
styleUrls: ['./evo-loader.component.scss'],
|
|
3795
|
-
}]
|
|
3796
|
-
}], ctorParameters: function () { return []; }, propDecorators: { color: [{
|
|
3797
|
-
type: Input
|
|
3798
|
-
}] } });
|
|
3799
|
-
|
|
3800
|
-
const defaultId = `clip-path-`;
|
|
3801
|
-
class EvoCircularLoaderComponent {
|
|
3802
|
-
constructor() {
|
|
3803
|
-
this.clipPathId = defaultId;
|
|
3804
|
-
}
|
|
3805
|
-
ngOnInit() {
|
|
3806
|
-
this.clipPathId += `${defaultId}${Math.random().toString(36).substring(2)}`;
|
|
3807
|
-
}
|
|
3808
|
-
}
|
|
3809
|
-
EvoCircularLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoCircularLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3810
|
-
EvoCircularLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoCircularLoaderComponent, selector: "evo-circular-loader", ngImport: i0, template: "<div class=\"wrapper\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\n <clipPath [attr.id]=\"clipPathId\">\n <path d=\"M12 20C10.4178 20 8.87103 19.5308 7.55544 18.6518C6.23985 17.7727 5.21447 16.5233 4.60896 15.0615C4.00346 13.5997 3.84504 11.9911 4.15372 10.4393C4.4624 8.88743 5.22433 7.46197 6.34315 6.34315C7.46197 5.22433 8.88743 4.4624 10.4393 4.15372C11.9911 3.84504 13.5997 4.00346 15.0615 4.60896C16.5233 5.21446 17.7727 6.23984 18.6518 7.55544C19.5308 8.87103 20 10.4177 20 12L18 12C18 10.8133 17.6481 9.65327 16.9888 8.66658C16.3295 7.67988 15.3925 6.91085 14.2961 6.45672C13.1997 6.0026 11.9933 5.88378 10.8295 6.11529C9.66557 6.3468 8.59647 6.91824 7.75736 7.75736C6.91824 8.59647 6.3468 9.66557 6.11529 10.8295C5.88378 11.9933 6.0026 13.1997 6.45672 14.2961C6.91085 15.3925 7.67988 16.3295 8.66658 16.9888C9.65327 17.6481 10.8133 18 12 18L12 20Z\"/>\n </clipPath>\n <foreignObject x=\"0\" y=\"0\" width=\"17\" height=\"16\" [attr.clip-path]=\"'url(#' + clipPathId + ')'\">\n <xhtml:div class=\"loader\"></xhtml:div>\n </foreignObject>\n </svg>\n</div>\n", styles: ["@keyframes evo-fx-blink{50%{transform:scale(1);opacity:1}to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:50vw 50%}to{background-position:100vw 50%}}:host{display:block;width:24px;height:24px;--evo-circular-loader-animate: spin 1s linear infinite;--evo-circular-loader-color: #C6C6C6 }.wrapper{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.wrapper svg{display:block;width:100%;height:100%;animation:var(--evo-circular-loader-animate);fill:none}.wrapper svg .loader{width:100%;height:100%;color:inherit;background:conic-gradient(from 180deg,transparent 0%,var(--evo-circular-loader-color) 100%)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoCircularLoaderComponent, decorators: [{
|
|
3812
|
-
type: Component,
|
|
3813
|
-
args: [{
|
|
3814
|
-
selector: 'evo-circular-loader',
|
|
3815
|
-
templateUrl: './evo-circular-loader.component.html',
|
|
3816
|
-
styleUrls: ['./evo-circular-loader.component.scss'],
|
|
3817
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3818
|
-
}]
|
|
3819
|
-
}] });
|
|
3820
|
-
|
|
3821
|
-
const bundle = [
|
|
3822
|
-
EvoLoaderComponent,
|
|
3823
|
-
EvoCircularLoaderComponent,
|
|
3824
|
-
];
|
|
3825
|
-
class EvoLoaderModule {
|
|
3826
|
-
}
|
|
3827
|
-
EvoLoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3828
|
-
EvoLoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderModule, declarations: [EvoLoaderComponent,
|
|
3829
|
-
EvoCircularLoaderComponent], imports: [CommonModule,
|
|
3830
|
-
EvoUiKitModule], exports: [EvoLoaderComponent,
|
|
3831
|
-
EvoCircularLoaderComponent] });
|
|
3832
|
-
EvoLoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderModule, imports: [[
|
|
3833
|
-
CommonModule,
|
|
3834
|
-
EvoUiKitModule,
|
|
3835
|
-
]] });
|
|
3836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoLoaderModule, decorators: [{
|
|
3837
|
-
type: NgModule,
|
|
3838
|
-
args: [{
|
|
3839
|
-
imports: [
|
|
3840
|
-
CommonModule,
|
|
3841
|
-
EvoUiKitModule,
|
|
3842
|
-
],
|
|
3843
|
-
declarations: [...bundle],
|
|
3844
|
-
exports: [...bundle],
|
|
3845
|
-
}]
|
|
3846
|
-
}] });
|
|
3847
|
-
|
|
3848
3970
|
class EvoModalService {
|
|
3849
3971
|
constructor() {
|
|
3850
3972
|
this.modalEvents$ = new Subject();
|
|
@@ -3883,7 +4005,8 @@ class EvoModalComponent {
|
|
|
3883
4005
|
constructor(modalService, elRef) {
|
|
3884
4006
|
this.modalService = modalService;
|
|
3885
4007
|
this.elRef = elRef;
|
|
3886
|
-
this.
|
|
4008
|
+
this.declineButtonColor = 'secondary';
|
|
4009
|
+
this.declineButtonTheme = 'rounded-outline';
|
|
3887
4010
|
this.isAcceptLoading = false;
|
|
3888
4011
|
this.isDeclineDisabled = false;
|
|
3889
4012
|
this.isVisible = false;
|
|
@@ -3899,7 +4022,7 @@ class EvoModalComponent {
|
|
|
3899
4022
|
this.modalService.register(id);
|
|
3900
4023
|
}
|
|
3901
4024
|
else {
|
|
3902
|
-
throw new Error(
|
|
4025
|
+
throw new Error("EvoModal. Can't be registered, wrong id passed");
|
|
3903
4026
|
}
|
|
3904
4027
|
}
|
|
3905
4028
|
ngOnInit() {
|
|
@@ -3954,9 +4077,11 @@ class EvoModalComponent {
|
|
|
3954
4077
|
});
|
|
3955
4078
|
}
|
|
3956
4079
|
initKeyboardListener() {
|
|
3957
|
-
return fromEvent(document.body, 'keydown')
|
|
4080
|
+
return fromEvent(document.body, 'keydown')
|
|
4081
|
+
.pipe(takeWhile(() => {
|
|
3958
4082
|
return this.modalState.isOpen;
|
|
3959
|
-
}))
|
|
4083
|
+
}))
|
|
4084
|
+
.subscribe((event) => {
|
|
3960
4085
|
if (this.declineText && event.keyCode === Key.Escape) {
|
|
3961
4086
|
this.handleOnClose(false, this.closeTargets.ESC);
|
|
3962
4087
|
}
|
|
@@ -3964,7 +4089,7 @@ class EvoModalComponent {
|
|
|
3964
4089
|
}
|
|
3965
4090
|
}
|
|
3966
4091
|
EvoModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoModalComponent, deps: [{ token: EvoModalService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3967
|
-
EvoModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoModalComponent, selector: "evo-modal", inputs: { id: "id", titleText: "titleText", acceptText: "acceptText", acceptButtonColor: "acceptButtonColor", declineText: "declineText", asyncAccept: "asyncAccept" }, ngImport: i0, template: "<div\n
|
|
4092
|
+
EvoModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoModalComponent, selector: "evo-modal", inputs: { id: "id", titleText: "titleText", acceptText: "acceptText", acceptButtonColor: "acceptButtonColor", acceptButtonTheme: "acceptButtonTheme", declineText: "declineText", declineButtonColor: "declineButtonColor", declineButtonTheme: "declineButtonTheme", asyncAccept: "asyncAccept" }, ngImport: i0, template: "<div\n *ngIf=\"modalState?.isOpen\"\n class=\"evo-modal__background\"\n [ngClass]=\"{'evo-modal__background_visible': isVisible}\"\n (click)=\"onBackgroundClick($event)\"\n></div>\n<div\n *ngIf=\"modalState?.isOpen\"\n class=\"evo-modal__wrapper\"\n [ngClass]=\"{'evo-modal_visible': isVisible}\"\n (click)=\"onBackgroundClick($event)\"\n>\n <div class=\"evo-modal\">\n <div class=\"evo-modal__icon\">\n <ng-content select=\"evo-icon\"></ng-content>\n </div>\n <h2 *ngIf=\"titleText !== undefined\" class=\"evo-modal__title\">{{ titleText }}</h2>\n <div class=\"evo-modal__content\">\n <ng-content></ng-content>\n </div>\n <div class=\"evo-modal__buttons\" [ngClass]=\"{'evo-modal__buttons_single-btn': !declineText || !acceptText}\">\n <button\n *ngIf=\"declineText\"\n evoButton\n class=\"evo-modal__button evo-modal__button_decline\"\n [color]=\"declineButtonColor\"\n [theme]=\"declineButtonTheme\"\n [disabled]=\"isDeclineDisabled\"\n (click)=\"handleOnClose(false, closeTargets.BUTTON)\"\n >\n {{ declineText }}\n </button>\n <button\n *ngIf=\"acceptText\"\n evoButton\n class=\"evo-modal__button evo-modal__button_accept\"\n [color]=\"acceptButtonColor\"\n [theme]=\"acceptButtonTheme\"\n [loading]=\"isAcceptLoading\"\n (click)=\"handleOnClose(true, closeTargets.BUTTON)\"\n >\n {{ acceptText }}\n </button>\n </div>\n </div>\n</div>\n", styles: [".evo-modal{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;max-width:738px;height:auto;max-height:100%;margin-top:50px;padding:56px 0 16px;overflow:hidden;text-align:center;background-color:#fff;border-radius:16px;box-shadow:0 0 12px 2px #0000004d;opacity:0;transition:margin-top .25s,opacity .25s;transition-delay:50ms}.evo-modal_visible .evo-modal{margin-top:0;opacity:1}@media (min-width: 768px){.evo-modal{width:738px;height:auto;padding:32px 0}}.evo-modal__title{margin-top:0;margin-bottom:0;padding-right:32px;padding-left:32px;font-weight:bold;font-size:16px;line-height:24px}@media (min-width: 768px){.evo-modal__title{width:674px;padding-right:16px;padding-left:16px;font-size:24px;line-height:32px}}.evo-modal__icon{margin-bottom:8px}.evo-modal__icon ::ng-deep evo-icon{display:block;width:64px;height:64px}@media (min-width: 768px){.evo-modal__icon{margin-bottom:32px}}.evo-modal__icon:empty{display:none}.evo-modal__content{width:100%;margin-top:32px;padding:0 32px;overflow:auto;font-size:14px;line-height:22px}.evo-modal__content:empty{display:none;margin-top:0}@media (min-width: 768px){.evo-modal__content{padding:0 16px}}.evo-modal__content ::ng-deep *:last-child{margin-bottom:0}.evo-modal__background{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;display:flex;justify-content:center;width:100%;height:100%;background:rgba(0,0,0,.5);opacity:0;transition:opacity .25s}.evo-modal__background_visible{opacity:1}.evo-modal__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1011;display:flex;justify-content:center;align-items:center;width:100%;padding:16px}@media (min-width: 768px){.evo-modal__wrapper{width:auto}}.evo-modal__buttons{display:flex;flex-shrink:0;flex-direction:column-reverse;justify-content:center;align-items:center;width:100%;margin-top:56px;padding-right:32px;padding-left:32px}@media (min-width: 768px){.evo-modal__buttons{display:grid;width:auto;grid-template-columns:repeat(2,minmax(140px,1fr));grid-column-gap:32px;margin:32px auto 0;padding-right:16px;padding-left:16px}.evo-modal__buttons_single-btn{grid-template-columns:minmax(140px,1fr)}}.evo-modal__button{display:block;width:100%}@media (min-width: 768px){.evo-modal__button{width:auto}}.evo-modal__button+.evo-modal__button{margin:0 0 16px}@media (min-width: 768px){.evo-modal__button+.evo-modal__button{margin:0}}\n"], components: [{ type: EvoButtonComponent, selector: "button[evoButton], a[evoButton]", inputs: ["size", "color", "theme", "disabled", "loading"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
3968
4093
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoModalComponent, decorators: [{
|
|
3969
4094
|
type: Component,
|
|
3970
4095
|
args: [{
|
|
@@ -3980,8 +4105,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3980
4105
|
type: Input
|
|
3981
4106
|
}], acceptButtonColor: [{
|
|
3982
4107
|
type: Input
|
|
4108
|
+
}], acceptButtonTheme: [{
|
|
4109
|
+
type: Input
|
|
3983
4110
|
}], declineText: [{
|
|
3984
4111
|
type: Input
|
|
4112
|
+
}], declineButtonColor: [{
|
|
4113
|
+
type: Input
|
|
4114
|
+
}], declineButtonTheme: [{
|
|
4115
|
+
type: Input
|
|
3985
4116
|
}], asyncAccept: [{
|
|
3986
4117
|
type: Input
|
|
3987
4118
|
}] } });
|
|
@@ -7048,7 +7179,7 @@ EvoUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
7048
7179
|
useExisting: forwardRef(() => EvoUploadComponent),
|
|
7049
7180
|
multi: true,
|
|
7050
7181
|
},
|
|
7051
|
-
], viewQueries: [{ propertyName: "inputFileElement", first: true, predicate: ["inputFile"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"evo-upload\">\n <label
|
|
7182
|
+
], viewQueries: [{ propertyName: "inputFileElement", first: true, predicate: ["inputFile"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"evo-upload\">\n <label\n class=\"evo-upload__wrapper\"\n [evoUiClass]=\"{over: states.isDragOver, disabled: isDisabled || loading}\"\n (click)=\"onTouched()\"\n (dragover)=\"handleDragOver($event)\"\n (dragleave)=\"handleDragLeave($event)\"\n (drop)=\"handleDrop($event)\"\n >\n <evo-icon\n shape=\"upload\"\n class=\"evo-upload__upload-icon\"\n [evoUiClass]=\"{disabled: isDisabled || loading}\"\n ></evo-icon>\n <span class=\"evo-upload__title\" [evoUiClass]=\"{disabled: isDisabled || loading}\">{{ dropZoneLabel }}</span>\n\n <span class=\"evo-upload__hint\" [evoUiClass]=\"{disabled: isDisabled || loading}\">\n \u0438\u043B\u0438\n <span class=\"evo-upload__fake-link\" [evoUiClass]=\"{disabled: isDisabled || loading}\">\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435</span>\n <ng-container *ngIf=\"dropZoneHint\">\n (\n <span class=\"evo-upload__additional-hint\" [innerHTML]=\"dropZoneHint | safeHtml\"></span>\n )\n </ng-container>\n </span>\n\n <input\n #inputFile\n type=\"file\"\n class=\"evo-upload__input\"\n [accept]=\"accept\"\n [disabled]=\"loading || isDisabled\"\n [attr.multiple]=\"maxFiles === 1 ? null : true\"\n (change)=\"inputChange($event.target.files)\"\n />\n </label>\n\n <evo-alert *ngIf=\"!earlyValidation && filesForm.errors?.maxFiles\" type=\"danger\">\n <ng-container>\n \u041D\u0435\u043B\u044C\u0437\u044F \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0431\u043E\u043B\u0435\u0435 {{ maxFiles || 1 | declination:[\"\u0444\u0430\u0439\u043B\u0430\", \"\u0444\u0430\u0439\u043B\u043E\u0432\", \"\u0444\u0430\u0439\u043B\u043E\u0432\"] }}\n </ng-container>\n </evo-alert>\n <evo-alert *ngIf=\"earlyValidation && filesForm.errors\" type=\"danger\">\n <ul class=\"evo-list\">\n <li *ngIf=\"filesForm.errors.maxFiles\">\n \u041D\u0435\u043B\u044C\u0437\u044F \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0431\u043E\u043B\u0435\u0435 {{ maxFiles || 1 | declination:[\"\u0444\u0430\u0439\u043B\u0430\", \"\u0444\u0430\u0439\u043B\u043E\u0432\", \"\u0444\u0430\u0439\u043B\u043E\u0432\"] }}\n </li>\n <li *ngIf=\"filesForm.errors.size\">\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439 \u0440\u0430\u0437\u043C\u0435\u0440 \u043E\u0434\u043D\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 {{ filesSizeLimitText }}</li>\n <li *ngIf=\"filesForm.errors.extension\">\u0412\u044B\u0431\u0440\u0430\u043D \u0444\u0430\u0439\u043B \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u043E\u0433\u043E \u0444\u043E\u0440\u043C\u0430\u0442\u0430</li>\n </ul>\n </evo-alert>\n\n <ul class=\"evo-upload__list\">\n <li *ngFor=\"let file of filesForm.controls; let i = index\" class=\"evo-upload__list-item\">\n <div class=\"evo-upload__item-inner\">\n <evo-icon shape=\"file\" svgWidth=\"24\" svgHeight=\"24\" class=\"evo-upload__file-icon\"></evo-icon>\n\n <span\n *ngIf=\"clickableFiles\"\n class=\"evo-upload__link evo-link\"\n (click)=\"clickFile.emit({ file: file.value, index: i })\"\n >\n {{ file.value.name }}\n </span>\n\n <span *ngIf=\"!clickableFiles\">{{ file.value.name }}</span>\n </div>\n\n <evo-icon\n shape=\"decline\"\n svgWidth=\"24\"\n svgHeight=\"24\"\n class=\"evo-upload__button-remove\"\n [evoUiClass]=\"{disabled: loading || isDisabled}\"\n (click)=\"handleItemRemove(i)\"\n ></evo-icon>\n\n <div\n class=\"evo-upload__list-delimiter\"\n [evoUiClass]=\"{error: filesForm.controls[i].errors}\"\n [ngSwitch]=\"getControlError(filesForm.controls[i])\"\n >\n <ng-container *ngSwitchCase=\"'size'\">\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430 \u043F\u0440\u0435\u0432\u044B\u0448\u0430\u0435\u0442 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439</ng-container>\n <ng-container *ngSwitchCase=\"'extension'\">\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0444\u0430\u0439\u043B\u0430</ng-container>\n </div>\n </li>\n </ul>\n\n <div *ngIf=\"filesForm.controls.length\" class=\"evo-upload__controls\">\n <button\n *ngIf=\"!hideClearButton\"\n evoButton\n color=\"secondary\"\n theme=\"rounded-outline\"\n [disabled]=\"loading || isDisabled\"\n [loading]=\"loading\"\n (click)=\"handleResetButtonClick()\"\n >\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0451\n </button>\n <button\n *ngIf=\"!hideSubmitButton\"\n evoButton\n color=\"success\"\n class=\"evo-upload__submit\"\n [disabled]=\"filesForm.invalid || loading || isDisabled\"\n [loading]=\"loading\"\n (click)=\"handleSubmitButtonClick()\"\n >\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C\n </button>\n </div>\n</div>\n", styles: [".evo-link,.evo-upload__fake-link{color:#0986e2;font-weight:600;text-decoration:none;border-bottom:1px solid transparent;transition:color .3s,border-color .3s}.evo-link:hover,.evo-upload__fake-link:hover{color:#0986e2;border-bottom-color:#0986e2}.evo-link:active,.evo-upload__fake-link:active{color:#0879cb}.evo-link_dashed{border-bottom:1px dashed}.evo-link_dashed:hover{text-decoration:none;border-bottom-color:transparent}.evo-link_danger{color:#ff1817}.evo-link_danger:hover{color:#ff4645;border-bottom-color:#ff4645}.evo-link_danger:active{color:#e51715;border-bottom-color:#e51715}.evo-upload{width:100%}.evo-upload__wrapper{display:flex;flex-direction:column;align-items:center;width:100%;margin-bottom:24px;padding:32px 0;color:#231f20;background:#F4F6F8;border:2px solid transparent;border-radius:8px}@media (max-width: 767px){.evo-upload__wrapper{padding:16px}}.evo-upload__wrapper_disabled{pointer-events:none}.evo-upload__wrapper_over{border-color:#dbe3ea}.evo-upload__upload-icon{flex:0 0 48px;width:48px;height:48px;margin-bottom:24px;transition:fill .3s;fill:#91b1b8}.evo-upload__upload-icon_disabled{fill:#727272}@media (max-width: 767px){.evo-upload__upload-icon{margin-bottom:16px}}.evo-upload__title{margin-bottom:8px;font-weight:bold;font-size:24px;text-align:center;transition:color .3s}.evo-upload__title_disabled{color:#727272}@media (max-width: 767px){.evo-upload__title{font-size:16px}}.evo-upload__hint{font-size:18px;text-align:center;transition:color .3s}.evo-upload__hint_disabled{color:#727272}@media (max-width: 767px){.evo-upload__hint{font-size:14px}}.evo-upload__fake-link_disabled{color:#727272}.evo-upload__input{display:none}.evo-upload__list{margin-top:24px;margin-bottom:24px}.evo-upload__list:empty{display:none}.evo-upload__file-icon{margin-right:8px;fill:#91b1b8}.evo-upload__list-item{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:15px;color:#212121;font-weight:600;font-size:16px}.evo-upload__list-item:last-of-type{margin-bottom:24px}.evo-upload__item-inner{display:flex;flex-flow:row wrap;align-items:center}.evo-upload__list-delimiter{width:100%;margin-top:15px;color:#ff1817;font-size:14px;font-style:italic;line-height:22px;border-top:1px solid #C6C6C6}.evo-upload__list-delimiter_error{border-top-color:#ff1817}.evo-upload__button-remove{margin-left:auto;cursor:pointer;transition:fill .3s;fill:#91b1b8}.evo-upload__button-remove:not(.evo-upload__button-remove_disabled):hover{fill:#231f20}.evo-upload__button-remove_disabled{cursor:default;fill:#c6c6c6}.evo-upload__controls{display:flex;justify-content:space-between}.evo-upload__submit{margin-left:auto}.evo-upload__link{cursor:pointer}.evo-list{margin-bottom:0}.evo-list li:before{color:#fff}\n"], components: [{ type: EvoIconComponent, selector: "evo-icon", inputs: ["shape", "svgWidth", "svgHeight", "svgViewBox"] }, { type: EvoAlertComponent, selector: "evo-alert", inputs: ["closable", "icon", "iconSrc", "type", "size"], outputs: ["close"] }, { type: EvoButtonComponent, selector: "button[evoButton], a[evoButton]", inputs: ["size", "color", "theme", "disabled", "loading"] }], directives: [{ type: EvoUiClassDirective, selector: "[evoUiClass]", inputs: ["class", "evoUiClass"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], pipes: { "safeHtml": SafeHtmlPipe, "declination": DeclinationPipe } });
|
|
7052
7183
|
__decorate([
|
|
7053
7184
|
autobind
|
|
7054
7185
|
], EvoUploadComponent.prototype, "fileSizeValidator", null);
|
|
@@ -7497,6 +7628,58 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
7497
7628
|
}]
|
|
7498
7629
|
}] });
|
|
7499
7630
|
|
|
7631
|
+
class EvoNavigationButtonComponent {
|
|
7632
|
+
}
|
|
7633
|
+
EvoNavigationButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoNavigationButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7634
|
+
EvoNavigationButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EvoNavigationButtonComponent, selector: "evo-navigation-button", ngImport: i0, template: "<button class=\"evo-navigation-button\">\n <div class=\"evo-navigation-button__icon-wrapper\">\n <evo-icon class=\"evo-navigation-button__icon\" shape=\"chevron-left\"></evo-icon>\n </div>\n <span class=\"evo-navigation-button__label\"><ng-content></ng-content></span>\n</button>\n", styles: [":host{display:inline-block;margin:0;padding:0;background:none;border:none;cursor:pointer}.evo-navigation-button{display:flex;flex-flow:row nowrap;align-items:center;grid-gap:4px;gap:4px;margin:0;padding:0;background:none;border:none;outline:none}.evo-navigation-button:hover .evo-navigation-button__icon{fill:#3a9ee8}.evo-navigation-button:hover .evo-navigation-button__label{color:#3a9ee8}.evo-navigation-button:active .evo-navigation-button__icon{fill:#0879cb}.evo-navigation-button:active .evo-navigation-button__label{color:#0879cb}.evo-navigation-button__icon-wrapper{width:24px;height:24px}.evo-navigation-button__icon{fill:#0986e2}.evo-navigation-button__label{font-family:var(--evo-font);font-style:normal;font-size:14px;line-height:24px;font-weight:600;color:#0986e2}\n"], components: [{ type: EvoIconComponent, selector: "evo-icon", inputs: ["shape", "svgWidth", "svgHeight", "svgViewBox"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoNavigationButtonComponent, decorators: [{
|
|
7636
|
+
type: Component,
|
|
7637
|
+
args: [{
|
|
7638
|
+
selector: 'evo-navigation-button',
|
|
7639
|
+
templateUrl: './evo-navigation-button.component.html',
|
|
7640
|
+
styleUrls: ['./evo-navigation-button.component.scss'],
|
|
7641
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7642
|
+
}]
|
|
7643
|
+
}] });
|
|
7644
|
+
|
|
7645
|
+
class EvoNavigationButtonModule {
|
|
7646
|
+
}
|
|
7647
|
+
EvoNavigationButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoNavigationButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7648
|
+
EvoNavigationButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoNavigationButtonModule, declarations: [EvoNavigationButtonComponent], imports: [CommonModule, EvoIconModule], exports: [EvoNavigationButtonComponent] });
|
|
7649
|
+
EvoNavigationButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoNavigationButtonModule, imports: [[
|
|
7650
|
+
CommonModule,
|
|
7651
|
+
EvoIconModule.forRoot([
|
|
7652
|
+
{
|
|
7653
|
+
name: 'navigation',
|
|
7654
|
+
shapes: {
|
|
7655
|
+
'chevron-left': iconChevronLeft,
|
|
7656
|
+
},
|
|
7657
|
+
},
|
|
7658
|
+
]),
|
|
7659
|
+
]] });
|
|
7660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EvoNavigationButtonModule, decorators: [{
|
|
7661
|
+
type: NgModule,
|
|
7662
|
+
args: [{
|
|
7663
|
+
imports: [
|
|
7664
|
+
CommonModule,
|
|
7665
|
+
EvoIconModule.forRoot([
|
|
7666
|
+
{
|
|
7667
|
+
name: 'navigation',
|
|
7668
|
+
shapes: {
|
|
7669
|
+
'chevron-left': iconChevronLeft,
|
|
7670
|
+
},
|
|
7671
|
+
},
|
|
7672
|
+
]),
|
|
7673
|
+
],
|
|
7674
|
+
declarations: [
|
|
7675
|
+
EvoNavigationButtonComponent,
|
|
7676
|
+
],
|
|
7677
|
+
exports: [
|
|
7678
|
+
EvoNavigationButtonComponent,
|
|
7679
|
+
]
|
|
7680
|
+
}]
|
|
7681
|
+
}] });
|
|
7682
|
+
|
|
7500
7683
|
/*
|
|
7501
7684
|
* Public API Surface of evo-ui-kit
|
|
7502
7685
|
*/
|
|
@@ -7505,5 +7688,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
7505
7688
|
* Generated bundle index. Do not edit.
|
|
7506
7689
|
*/
|
|
7507
7690
|
|
|
7508
|
-
export { CSS_BREAKPOINTS, DESKTOP_SMALL_VIEW, DaDataEntityTypes, DaDataParty, DadataBankStatus, DadataBankType, DadataCompanyBranchType, DadataCompanyStatus, DadataCompanyType, DadataFounderShareType, DadataManagerType, DeclinationPipe, DeprecateMethod, DeprecateVariable, DesktopSmallViewProvider, EVO_DROPDOWN_POSITION_DESCRIPTION, EVO_SIDEBAR_CONFIG, EVO_SIDEBAR_DATA, EVO_SIDEBAR_ROOT_ID, EvoAbstractPortal, EvoAccordionComponent, EvoAccordionContentComponent, EvoAccordionModule, EvoAccordionPanelComponent, EvoAccordionTitleComponent, EvoAlertComponent, EvoAlertDefaultIcons, EvoAlertModule, EvoAlertSizes, EvoAlertTypes, EvoAutocompleteComponent, EvoAutocompleteDefaultOptionComponent, EvoAutocompleteModule, EvoBadgeComponent, EvoBadgeModule, EvoBanner, EvoBannerComponent, EvoBannerLocations, EvoBannerModule, EvoBannerTypes, EvoBaseControl, EvoButtonComponent, EvoButtonModule, EvoButtonSizes, EvoButtonStyles, EvoCheckboxComponent, EvoCheckboxModule, EvoChipComponent, EvoChipModule, EvoChipTheme, EvoChipType, EvoCircularLoaderComponent, EvoClickOutsideDirective, EvoCollection, EvoCollectionFabric, EvoControlErrorComponent, EvoControlErrorModule, EvoControlLabelComponent, EvoControlLabelModule, EvoControlStateManager, EvoControlStates, EvoCounterComponent, EvoCounterModule, EvoCounterSize, EvoDatepickerComponent, EvoDatepickerModule, EvoDropdownComponent, EvoDropdownModule, EvoDropdownOriginDirective, EvoExpandedService, EvoIconButtonColor, EvoIconButtonComponent, EvoIconButtonModule, EvoIconComponent, EvoIconModule, EvoIconNumberComponent, EvoIconNumberModule, EvoIconsLibrary, EvoInputComponent, EvoInputContenteditableComponent, EvoInputContenteditableModule, EvoInputIconDirective, EvoInputModule, EvoInputSizes, EvoInputTheme, EvoIsExpandedDirective, EvoLetContext, EvoLetDirective, EvoLoaderComponent, EvoLoaderModule, EvoLoaderStyles, EvoModalCloseTargets, EvoModalComponent, EvoModalModule, EvoModalService, EvoNavbarComponent, EvoNavbarItemComponent, EvoNavbarModule, EvoNoteComponent, EvoNoteModule, EvoPaginatorComponent, EvoPaginatorModule, EvoPipesModule, EvoPlusMinusComponent, EvoPlusMinusModule, EvoPopoverComponent, EvoPopoverModule, EvoPortalModule, EvoPortalOutlet, EvoPortalOutletDirective, EvoPortalService, EvoRadioComponent, EvoRadioGroupComponent, EvoRadioGroupDirections, EvoRadioGroupModule, EvoRadioGroupThemes, EvoRadioModule, EvoRadioshapeComponent, EvoRadioshapeModule, EvoSegmentedBarButtonComponent, EvoSegmentedBarComponent, EvoSegmentedBarModule, EvoSelectComponent, EvoSelectModule, EvoSidebarCloseTargets, EvoSidebarComponent, EvoSidebarContentComponent, EvoSidebarFooterComponent, EvoSidebarHeaderComponent, EvoSidebarModule, EvoSidebarService, EvoSidebarSizes, EvoSidebarStates, EvoStepperComponent, EvoStepperItemComponent, EvoStepperModule, EvoSubmenuComponent, EvoSubmenuModule, EvoSubmenuType, EvoSwitcherComponent, EvoSwitcherItemComponent, EvoSwitcherModule, EvoTabComponent, EvoTabContentComponent, EvoTabStateCollection, EvoTableColumnComponent, EvoTableComponent, EvoTableModule, EvoTableRowClickEvent, EvoTabsComponent, EvoTabsModule, EvoTabsService, EvoTabsSize, EvoTabsSizeService, EvoTextareaComponent, EvoTextareaModule, EvoToastComponent, EvoToastModule, EvoToastService, EvoToastTypes, EvoToggleComponent, EvoToggleModule, EvoUiClassDirective, EvoUiKitModule, EvoUploadComponent, EvoUploadModule, FormHelper, ICONS_LIST_TOKEN, MOBILE_VIEW, MobileViewProvider, SafeHtmlPipe, Serializable, TABLET_VIEW, TabletViewProvider, VIEW_BREAKPOINTS_PROVIDERS, WINDOW_PROVIDERS, enterZone, evoIconsLibraryGetter, evoSidebarAnimationDuration, evoSidebarDefaultConfig, evoSidebarRootId, expandAnimation, portalProvider, sidebarAnimation, skipInitialRenderAnimation, switchQueryToList };
|
|
7691
|
+
export { CSS_BREAKPOINTS, DESKTOP_SMALL_VIEW, DaDataEntityTypes, DaDataParty, DadataBankStatus, DadataBankType, DadataCompanyBranchType, DadataCompanyStatus, DadataCompanyType, DadataFounderShareType, DadataManagerType, DeclinationPipe, DeprecateMethod, DeprecateVariable, DesktopSmallViewProvider, EVO_DROPDOWN_POSITION_DESCRIPTION, EVO_SIDEBAR_CONFIG, EVO_SIDEBAR_DATA, EVO_SIDEBAR_ROOT_ID, EvoAbstractPortal, EvoAccordionComponent, EvoAccordionContentComponent, EvoAccordionModule, EvoAccordionPanelComponent, EvoAccordionTitleComponent, EvoAlertComponent, EvoAlertDefaultIcons, EvoAlertModule, EvoAlertSizes, EvoAlertTypes, EvoAutocompleteComponent, EvoAutocompleteDefaultOptionComponent, EvoAutocompleteModule, EvoBadgeComponent, EvoBadgeModule, EvoBanner, EvoBannerComponent, EvoBannerLocations, EvoBannerModule, EvoBannerTypes, EvoBaseControl, EvoButtonComponent, EvoButtonModule, EvoButtonOldComponent, EvoButtonSizes, EvoButtonStyles, EvoCheckboxComponent, EvoCheckboxModule, EvoChipComponent, EvoChipModule, EvoChipTheme, EvoChipType, EvoCircularLoaderComponent, EvoClickOutsideDirective, EvoCollection, EvoCollectionFabric, EvoControlErrorComponent, EvoControlErrorModule, EvoControlLabelComponent, EvoControlLabelModule, EvoControlStateManager, EvoControlStates, EvoCounterComponent, EvoCounterModule, EvoCounterSize, EvoDatepickerComponent, EvoDatepickerModule, EvoDropdownComponent, EvoDropdownModule, EvoDropdownOriginDirective, EvoExpandedService, EvoIconButtonColor, EvoIconButtonComponent, EvoIconButtonModule, EvoIconComponent, EvoIconModule, EvoIconNumberComponent, EvoIconNumberModule, EvoIconsLibrary, EvoInputComponent, EvoInputContenteditableComponent, EvoInputContenteditableModule, EvoInputIconDirective, EvoInputModule, EvoInputSizes, EvoInputTheme, EvoIsExpandedDirective, EvoLetContext, EvoLetDirective, EvoLoaderComponent, EvoLoaderModule, EvoLoaderStyles, EvoModalCloseTargets, EvoModalComponent, EvoModalModule, EvoModalService, EvoNavbarComponent, EvoNavbarItemComponent, EvoNavbarModule, EvoNavigationButtonComponent, EvoNavigationButtonModule, EvoNoteComponent, EvoNoteModule, EvoPaginatorComponent, EvoPaginatorModule, EvoPipesModule, EvoPlusMinusComponent, EvoPlusMinusModule, EvoPopoverComponent, EvoPopoverModule, EvoPortalModule, EvoPortalOutlet, EvoPortalOutletDirective, EvoPortalService, EvoRadioComponent, EvoRadioGroupComponent, EvoRadioGroupDirections, EvoRadioGroupModule, EvoRadioGroupThemes, EvoRadioModule, EvoRadioshapeComponent, EvoRadioshapeModule, EvoSegmentedBarButtonComponent, EvoSegmentedBarComponent, EvoSegmentedBarModule, EvoSelectComponent, EvoSelectModule, EvoSidebarCloseTargets, EvoSidebarComponent, EvoSidebarContentComponent, EvoSidebarFooterComponent, EvoSidebarHeaderComponent, EvoSidebarModule, EvoSidebarService, EvoSidebarSizes, EvoSidebarStates, EvoStepperComponent, EvoStepperItemComponent, EvoStepperModule, EvoSubmenuComponent, EvoSubmenuModule, EvoSubmenuType, EvoSwitcherComponent, EvoSwitcherItemComponent, EvoSwitcherModule, EvoTabComponent, EvoTabContentComponent, EvoTabStateCollection, EvoTableColumnComponent, EvoTableComponent, EvoTableModule, EvoTableRowClickEvent, EvoTabsComponent, EvoTabsModule, EvoTabsService, EvoTabsSize, EvoTabsSizeService, EvoTextareaComponent, EvoTextareaModule, EvoToastComponent, EvoToastModule, EvoToastService, EvoToastTypes, EvoToggleComponent, EvoToggleModule, EvoUiClassDirective, EvoUiKitModule, EvoUploadComponent, EvoUploadModule, FormHelper, ICONS_LIST_TOKEN, MOBILE_VIEW, MobileViewProvider, SafeHtmlPipe, Serializable, TABLET_VIEW, TabletViewProvider, VIEW_BREAKPOINTS_PROVIDERS, WINDOW_PROVIDERS, enterZone, evoIconsLibraryGetter, evoSidebarAnimationDuration, evoSidebarDefaultConfig, evoSidebarRootId, expandAnimation, portalProvider, sidebarAnimation, skipInitialRenderAnimation, switchQueryToList };
|
|
7509
7692
|
//# sourceMappingURL=evotor-dev-ui-kit.js.map
|