aeb-ui-kit 2.2.0-mr.524-feature-dp-5463 → 2.2.0-preview.521
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/aeb-ui-kit.module.mjs +8 -8
- package/esm2020/lib/wizard/wizard-step.component.mjs +40 -0
- package/esm2020/lib/wizard/wizard.component.mjs +83 -0
- package/esm2020/lib/wizard/wizard.module.mjs +19 -0
- package/esm2020/public-api.mjs +4 -4
- package/fesm2015/aeb-ui-kit.mjs +137 -137
- package/fesm2015/aeb-ui-kit.mjs.map +1 -1
- package/fesm2020/aeb-ui-kit.mjs +137 -137
- package/fesm2020/aeb-ui-kit.mjs.map +1 -1
- package/lib/aeb-ui-kit.module.d.ts +2 -2
- package/lib/wizard/wizard-step.component.d.ts +15 -0
- package/lib/wizard/wizard.component.d.ts +22 -0
- package/lib/wizard/wizard.module.d.ts +9 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
- package/styles.css +0 -4
- package/esm2020/lib/stepper/stepper-step.component.mjs +0 -40
- package/esm2020/lib/stepper/stepper.component.mjs +0 -83
- package/esm2020/lib/stepper/stepper.module.mjs +0 -19
- package/lib/stepper/stepper-step.component.d.ts +0 -15
- package/lib/stepper/stepper.component.d.ts +0 -22
- package/lib/stepper/stepper.module.d.ts +0 -9
|
@@ -5,7 +5,7 @@ import * as i3 from "./checkbox/checkbox.module";
|
|
|
5
5
|
import * as i4 from "./header/header.module";
|
|
6
6
|
import * as i5 from "./sidebar/sidebar.module";
|
|
7
7
|
import * as i6 from "./slider/slider.module";
|
|
8
|
-
import * as i7 from "./
|
|
8
|
+
import * as i7 from "./wizard/wizard.module";
|
|
9
9
|
import * as i8 from "./form-field/form-field.module";
|
|
10
10
|
import * as i9 from "./label/label.module";
|
|
11
11
|
import * as i10 from "./visa/visa.module";
|
|
@@ -35,6 +35,6 @@ import * as i33 from "./table/table.module";
|
|
|
35
35
|
import * as i34 from "./modal/modal.module";
|
|
36
36
|
export declare class AebUiKitModule {
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AebUiKitModule, never>;
|
|
38
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AebUiKitModule, never, [typeof i1.CodeInputModule, typeof i2.NewButtonModule, typeof i3.CheckboxModule, typeof i4.HeaderModule, typeof i5.SidebarModule, typeof i6.SliderModule, typeof i7.
|
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AebUiKitModule, never, [typeof i1.CodeInputModule, typeof i2.NewButtonModule, typeof i3.CheckboxModule, typeof i4.HeaderModule, typeof i5.SidebarModule, typeof i6.SliderModule, typeof i7.WizardModule, typeof i8.FormFieldModule, typeof i9.LabelModule, typeof i10.VisaModule, typeof i11.SpinnerModule, typeof i12.SelectModule, typeof i13.FileAttachModule, typeof i14.CreditItemCardModule, typeof i15.TagTabModule, typeof i16.FieldSliderModule, typeof i17.TabsModule, typeof i18.HeadingModule, typeof i19.TooltipModule, typeof i20.NotificationsModule, typeof i21.DatepickerModule, typeof i22.RadioButtonsModule, typeof i23.AccordionModule, typeof i24.CommentModule, typeof i25.FooterModule, typeof i26.PaginationModule, typeof i27.PopUpModule, typeof i28.FilterTagsModule, typeof i29.SearchModule, typeof i30.ActionBarModule, typeof i31.NewsCardModule, typeof i32.DropdownModule, typeof i33.TableModule, typeof i34.ModalModule], [typeof i2.NewButtonModule, typeof i3.CheckboxModule, typeof i4.HeaderModule, typeof i5.SidebarModule, typeof i6.SliderModule, typeof i7.WizardModule, typeof i8.FormFieldModule, typeof i9.LabelModule, typeof i10.VisaModule, typeof i11.SpinnerModule, typeof i12.SelectModule, typeof i13.FileAttachModule, typeof i14.CreditItemCardModule, typeof i15.TagTabModule, typeof i16.FieldSliderModule, typeof i17.TabsModule, typeof i18.HeadingModule, typeof i19.TooltipModule, typeof i20.NotificationsModule, typeof i21.DatepickerModule, typeof i22.RadioButtonsModule, typeof i23.AccordionModule, typeof i24.CommentModule, typeof i25.FooterModule, typeof i26.PaginationModule, typeof i27.PopUpModule, typeof i28.FilterTagsModule, typeof i29.SearchModule, typeof i30.ActionBarModule, typeof i31.NewsCardModule, typeof i32.DropdownModule, typeof i33.TableModule, typeof i34.ModalModule]>;
|
|
39
39
|
static ɵinj: i0.ɵɵInjectorDeclaration<AebUiKitModule>;
|
|
40
40
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class WizardStepComponent {
|
|
4
|
+
title: string;
|
|
5
|
+
isValid?: boolean;
|
|
6
|
+
isActive?: boolean;
|
|
7
|
+
isCompleted?: boolean;
|
|
8
|
+
showPrev?: boolean;
|
|
9
|
+
showNext?: boolean;
|
|
10
|
+
nextClicked: EventEmitter<any>;
|
|
11
|
+
prevClicked: EventEmitter<any>;
|
|
12
|
+
completeClicked: EventEmitter<any>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WizardStepComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WizardStepComponent, "aeb-wizard-step", never, { "title": "title"; "isValid": "isValid"; "isActive": "isActive"; "isCompleted": "isCompleted"; "showPrev": "showPrev"; "showNext": "showNext"; }, { "nextClicked": "nextClicked"; "prevClicked": "prevClicked"; "completeClicked": "completeClicked"; }, never, ["*"], false>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
|
|
2
|
+
import { WizardStepComponent } from './wizard-step.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WizardComponent implements AfterContentInit {
|
|
5
|
+
wizardSteps: QueryList<WizardStepComponent>;
|
|
6
|
+
stepChanged: EventEmitter<WizardStepComponent>;
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
steps: WizardStepComponent[];
|
|
9
|
+
get activeStepIndex(): number;
|
|
10
|
+
get completedSteps(): WizardStepComponent[];
|
|
11
|
+
get hasNextStep(): boolean;
|
|
12
|
+
get hasPrevStep(): boolean;
|
|
13
|
+
get activeStep(): WizardStepComponent;
|
|
14
|
+
set activeStep(step: WizardStepComponent);
|
|
15
|
+
ngAfterContentInit(): void;
|
|
16
|
+
goToNextStep(): void;
|
|
17
|
+
goToPrevStep(): void;
|
|
18
|
+
goToFirstStep(): void;
|
|
19
|
+
onCompleteStep(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "aeb-wizard", never, { "isDisabled": "isDisabled"; }, { "stepChanged": "stepChanged"; }, ["wizardSteps"], ["*"], false>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./wizard.component";
|
|
3
|
+
import * as i2 from "./wizard-step.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class WizardModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WizardModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WizardModule, [typeof i1.WizardComponent, typeof i2.WizardStepComponent], [typeof i3.CommonModule], [typeof i1.WizardComponent, typeof i2.WizardStepComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WizardModule>;
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "name": "aeb-ui-kit", "version": "2.2.0-
|
|
1
|
+
{ "name": "aeb-ui-kit", "version": "2.2.0-preview.521", "peerDependencies": { "@angular/animations": "^14.1.0 || ^15.0.0 || ^16.0.0", "@angular/common": "^14.1.0 || ^15.0.0 || ^16.0.0", "@angular/compiler": "^14.1.0 || ^15.0.0 || ^16.0.0", "@angular/core": "^14.1.0 || ^15.0.0 || ^16.0.0", "@angular/forms": "^14.1.0 || ^15.0.0 || ^16.0.0", "@angular/platform-browser": "^14.1.0 || ^15.0.0 || ^16.0.0", "@angular/platform-browser-dynamic": "^14.1.0 || ^15.0.0 || ^16.0.0", "@angular/router": "^14.1.0 || ^15.0.0 || ^16.0.0", "date-fns": "2.28.0", "ngx-mask": "^14.2.4", "rxjs": "^7.0.0", "sass": "^1.53.0", "zone.js": "^0.11.0 || ^0.12.0 || ^0.13.0" }, "module": "fesm2015/aeb-ui-kit.mjs", "es2020": "fesm2020/aeb-ui-kit.mjs", "esm2020": "esm2020/aeb-ui-kit.mjs", "fesm2020": "fesm2020/aeb-ui-kit.mjs", "fesm2015": "fesm2015/aeb-ui-kit.mjs", "typings": "index.d.ts", "exports": { "./package.json": { "default": "./package.json" }, ".": { "types": "./index.d.ts", "esm2020": "./esm2020/aeb-ui-kit.mjs", "es2020": "./fesm2020/aeb-ui-kit.mjs", "es2015": "./fesm2015/aeb-ui-kit.mjs", "node": "./fesm2015/aeb-ui-kit.mjs", "default": "./fesm2020/aeb-ui-kit.mjs" } }, "sideEffects": false, "dependencies": { "tslib": "^2.4.0" } }
|
package/public-api.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ export * from './lib/new-button/new-button.component';
|
|
|
10
10
|
export * from './lib/checkbox/checkbox.module';
|
|
11
11
|
export * from './lib/checkbox/checkbox.component';
|
|
12
12
|
export * from './lib/checkbox/checkbox-group/checkbox-group.component';
|
|
13
|
-
export * from './lib/
|
|
14
|
-
export * from './lib/
|
|
15
|
-
export * from './lib/
|
|
13
|
+
export * from './lib/wizard/wizard.module';
|
|
14
|
+
export * from './lib/wizard/wizard.component';
|
|
15
|
+
export * from './lib/wizard/wizard-step.component';
|
|
16
16
|
export * from './lib/slider/slider.module';
|
|
17
17
|
export * from './lib/slider/slider.component';
|
|
18
18
|
export * from './lib/click-outside/click-outside.module';
|
package/styles.css
CHANGED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class StepperStepComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.isValid = false;
|
|
7
|
-
this.isActive = false;
|
|
8
|
-
this.isCompleted = false;
|
|
9
|
-
this.showPrev = false;
|
|
10
|
-
this.showNext = false;
|
|
11
|
-
this.nextClicked = new EventEmitter();
|
|
12
|
-
this.prevClicked = new EventEmitter();
|
|
13
|
-
this.completeClicked = new EventEmitter();
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
StepperStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
-
StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: StepperStepComponent, selector: "aeb-stepper-step", inputs: { title: "title", isValid: "isValid", isActive: "isActive", isCompleted: "isCompleted", showPrev: "showPrev", showNext: "showNext" }, outputs: { nextClicked: "nextClicked", prevClicked: "prevClicked", completeClicked: "completeClicked" }, ngImport: i0, template: "<div *ngIf=\"isActive\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperStepComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{ selector: 'aeb-stepper-step', template: "<div *ngIf=\"isActive\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
21
|
-
}], propDecorators: { title: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}], isValid: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], isActive: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], isCompleted: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], showPrev: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}], showNext: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}], nextClicked: [{
|
|
34
|
-
type: Output
|
|
35
|
-
}], prevClicked: [{
|
|
36
|
-
type: Output
|
|
37
|
-
}], completeClicked: [{
|
|
38
|
-
type: Output
|
|
39
|
-
}] } });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcHBlci1zdGVwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvc3RlcHBlci9zdGVwcGVyLXN0ZXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9zdGVwcGVyL3N0ZXBwZXItc3RlcC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFNdkUsTUFBTSxPQUFPLG9CQUFvQjtJQUpqQztRQU1rQixZQUFPLEdBQWEsS0FBSyxDQUFDO1FBQzFCLGFBQVEsR0FBYSxLQUFLLENBQUM7UUFDM0IsZ0JBQVcsR0FBYSxLQUFLLENBQUM7UUFDOUIsYUFBUSxHQUFhLEtBQUssQ0FBQztRQUMzQixhQUFRLEdBQWEsS0FBSyxDQUFDO1FBRWpDLGdCQUFXLEdBQUcsSUFBSSxZQUFZLEVBQUUsQ0FBQztRQUNqQyxnQkFBVyxHQUFHLElBQUksWUFBWSxFQUFFLENBQUM7UUFDakMsb0JBQWUsR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO0tBQ2hEOztpSEFYWSxvQkFBb0I7cUdBQXBCLG9CQUFvQiwrU0NOakMsaUVBR0E7MkZER2Esb0JBQW9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ZDbGlja2VkID0gbmV3IEV2ZW50RW1pdHRlcigpO1xuICBAT3V0cHV0KCkgY29tcGxldGVDbGlja2VkID0gbmV3IEV2ZW50RW1pdHRlcigpO1xufVxuIiwiPGRpdiAqbmdJZj1cImlzQWN0aXZlXCI+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { Component, ContentChildren, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { StepperStepComponent } from './stepper-step.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
export class StepperComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.stepChanged = new EventEmitter();
|
|
8
|
-
this.isDisabled = false;
|
|
9
|
-
this.steps = [];
|
|
10
|
-
}
|
|
11
|
-
get activeStepIndex() {
|
|
12
|
-
return this.steps.indexOf(this.activeStep);
|
|
13
|
-
}
|
|
14
|
-
get completedSteps() {
|
|
15
|
-
return this.steps.filter((step) => step.isCompleted);
|
|
16
|
-
}
|
|
17
|
-
get hasNextStep() {
|
|
18
|
-
return this.activeStepIndex < this.steps.length - 1;
|
|
19
|
-
}
|
|
20
|
-
get hasPrevStep() {
|
|
21
|
-
return this.activeStepIndex > 0;
|
|
22
|
-
}
|
|
23
|
-
get activeStep() {
|
|
24
|
-
return this.steps.find((step) => step.isActive);
|
|
25
|
-
}
|
|
26
|
-
set activeStep(step) {
|
|
27
|
-
if (step !== this.activeStep) {
|
|
28
|
-
this.activeStep.isActive = false;
|
|
29
|
-
step.isActive = true;
|
|
30
|
-
this.stepChanged.emit(step);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
ngAfterContentInit() {
|
|
34
|
-
this.steps = [...this.stepperSteps];
|
|
35
|
-
}
|
|
36
|
-
goToNextStep() {
|
|
37
|
-
if (!this.hasNextStep) {
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
const nextStep = this.steps[this.activeStepIndex + 1];
|
|
41
|
-
this.activeStep.nextClicked.emit();
|
|
42
|
-
this.activeStep = nextStep;
|
|
43
|
-
}
|
|
44
|
-
goToPrevStep() {
|
|
45
|
-
if (!this.hasPrevStep) {
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
if (!this.hasNextStep && this.activeStep.isCompleted) {
|
|
49
|
-
this.activeStep.isCompleted = false;
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
const nextStep = this.steps[this.activeStepIndex - 1];
|
|
53
|
-
nextStep.isCompleted = false;
|
|
54
|
-
this.activeStep.prevClicked.emit();
|
|
55
|
-
this.activeStep = nextStep;
|
|
56
|
-
}
|
|
57
|
-
goToFirstStep() {
|
|
58
|
-
if (!this.hasPrevStep) {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
const nextStep = this.steps[0];
|
|
62
|
-
this.activeStep = nextStep;
|
|
63
|
-
}
|
|
64
|
-
onCompleteStep() {
|
|
65
|
-
this.activeStep.completeClicked.emit();
|
|
66
|
-
this.activeStep.isCompleted = true;
|
|
67
|
-
this.goToNextStep();
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
-
StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: StepperComponent, selector: "aeb-stepper", inputs: { isDisabled: "isDisabled" }, outputs: { stepChanged: "stepChanged" }, queries: [{ propertyName: "stepperSteps", predicate: StepperStepComponent }], ngImport: i0, template: "<div class=\"stepper\">\n <div class=\"stepper-steps\">\n <div\n *ngFor=\"let step of steps; let i = index\"\n class=\"stepper-step\"\n [ngStyle]=\"{ width: 100 / steps.length + '%' }\"\n [ngClass]=\"{\n active: step.isActive,\n completed: step.isCompleted,\n disabled: isDisabled\n }\"\n >\n <div class=\"stepper-step-index\">\n <div *ngIf=\"step.isCompleted; else showIndex\">\n <svg\n width=\"28\"\n height=\"28\"\n viewBox=\"0 0 28 28\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M25.4674 5.47186C26.1505 6.12666 26.1805 7.21877 25.5345 7.91115L11.9594 22.4601C11.3279 23.1369 10.2805 23.1835 9.59296 22.5654L2.5728 16.2545C1.8694 15.6222 1.80492 14.5316 2.42878 13.8186C3.05264 13.1057 4.1286 13.0403 4.832 13.6726L10.6186 18.8746L23.0608 5.53988C23.7068 4.84751 24.7843 4.81705 25.4674 5.47186Z\"\n fill=\"#FAFAFA\"\n />\n </svg>\n </div>\n <ng-template #showIndex>\n <span class=\"stepper-step-index--prefix\">\u0428\u0430\u0433</span>\n <span> {{ i + 1 }} </span>\n <span class=\"stepper-step-index--postfix\">\u0438\u0437 {{ steps.length }}</span>\n </ng-template>\n </div>\n <div\n class=\"stepper-step-title\"\n [ngClass]=\"{\n disabled: isDisabled\n }\"\n >\n {{ step.title }}\n </div>\n </div>\n <div class=\"stepper-steps-line\">\n <div\n *ngIf=\"isDisabled === false\"\n class=\"stepper-steps-line-active\"\n [ngStyle]=\"{\n width: (100 / (steps.length - 1)) * completedSteps.length + '%'\n }\"\n ></div>\n </div>\n </div>\n <div class=\"stepper-steps-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".stepper{-webkit-user-select:none;user-select:none}.stepper-steps{position:relative;display:flex}.stepper-steps-line{position:absolute;top:27px;right:0;left:0;width:66%;height:6px;margin:0 auto;overflow:hidden;background-color:var(--lightgray)}.stepper-steps-line-active{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--blue);transition:width,.4s}.stepper-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.stepper-step-index{display:flex;flex-grow:0;flex-shrink:0;align-items:center;justify-content:center;width:60px;height:60px;margin-bottom:12px;font-size:32px;font-weight:500;color:var(--white-primary);background-color:var(--lightgray);border-radius:30px}.stepper-step-index>div{display:flex}.stepper-step-index>span:first-child+span{display:flex;align-items:center}.stepper-step-index--prefix,.stepper-step-index--postfix{display:none}.stepper-step-title{font-size:16px;font-style:normal;font-weight:400;line-height:20px;color:var(--gray);text-align:center}.stepper-step-title.disabled{color:var(--lightgray)}.stepper-step.active .stepper-step-index{background-color:var(--blue)}.stepper-step.active .stepper-step-title{color:var(--blue)}.stepper-step.completed .stepper-step-index{background-color:var(--blue)}.stepper-step.disabled .stepper-step-index{background-color:var(--lightgray)}.stepper-step.disabled .stepper-step-title{color:var(--lightgray)}@media (max-width: 767px){.stepper-steps{height:78px}.stepper-steps-line{background-color:var(--mono-medium);border-radius:3px;top:unset;bottom:0;width:100%}.stepper-steps-line-active{border-radius:3px}.stepper-step{display:none;width:auto!important}.stepper-step-index{font-size:16px;color:var(--blue);font-weight:400;line-height:22.4px;background-color:unset;width:auto;height:auto;margin-bottom:0}.stepper-step-index--prefix,.stepper-step-index--postfix,.stepper-step-index>span:first-child+span{display:inline}.stepper-step-title{display:none}.stepper-step.active{display:block}.stepper-step.active .stepper-step-index{display:block;background-color:unset}.stepper-step.active .stepper-step-title{display:block;text-align:left;font-weight:500;color:var(--darkblue);margin-top:8px}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperComponent, decorators: [{
|
|
73
|
-
type: Component,
|
|
74
|
-
args: [{ selector: 'aeb-stepper', template: "<div class=\"stepper\">\n <div class=\"stepper-steps\">\n <div\n *ngFor=\"let step of steps; let i = index\"\n class=\"stepper-step\"\n [ngStyle]=\"{ width: 100 / steps.length + '%' }\"\n [ngClass]=\"{\n active: step.isActive,\n completed: step.isCompleted,\n disabled: isDisabled\n }\"\n >\n <div class=\"stepper-step-index\">\n <div *ngIf=\"step.isCompleted; else showIndex\">\n <svg\n width=\"28\"\n height=\"28\"\n viewBox=\"0 0 28 28\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M25.4674 5.47186C26.1505 6.12666 26.1805 7.21877 25.5345 7.91115L11.9594 22.4601C11.3279 23.1369 10.2805 23.1835 9.59296 22.5654L2.5728 16.2545C1.8694 15.6222 1.80492 14.5316 2.42878 13.8186C3.05264 13.1057 4.1286 13.0403 4.832 13.6726L10.6186 18.8746L23.0608 5.53988C23.7068 4.84751 24.7843 4.81705 25.4674 5.47186Z\"\n fill=\"#FAFAFA\"\n />\n </svg>\n </div>\n <ng-template #showIndex>\n <span class=\"stepper-step-index--prefix\">\u0428\u0430\u0433</span>\n <span> {{ i + 1 }} </span>\n <span class=\"stepper-step-index--postfix\">\u0438\u0437 {{ steps.length }}</span>\n </ng-template>\n </div>\n <div\n class=\"stepper-step-title\"\n [ngClass]=\"{\n disabled: isDisabled\n }\"\n >\n {{ step.title }}\n </div>\n </div>\n <div class=\"stepper-steps-line\">\n <div\n *ngIf=\"isDisabled === false\"\n class=\"stepper-steps-line-active\"\n [ngStyle]=\"{\n width: (100 / (steps.length - 1)) * completedSteps.length + '%'\n }\"\n ></div>\n </div>\n </div>\n <div class=\"stepper-steps-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".stepper{-webkit-user-select:none;user-select:none}.stepper-steps{position:relative;display:flex}.stepper-steps-line{position:absolute;top:27px;right:0;left:0;width:66%;height:6px;margin:0 auto;overflow:hidden;background-color:var(--lightgray)}.stepper-steps-line-active{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--blue);transition:width,.4s}.stepper-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.stepper-step-index{display:flex;flex-grow:0;flex-shrink:0;align-items:center;justify-content:center;width:60px;height:60px;margin-bottom:12px;font-size:32px;font-weight:500;color:var(--white-primary);background-color:var(--lightgray);border-radius:30px}.stepper-step-index>div{display:flex}.stepper-step-index>span:first-child+span{display:flex;align-items:center}.stepper-step-index--prefix,.stepper-step-index--postfix{display:none}.stepper-step-title{font-size:16px;font-style:normal;font-weight:400;line-height:20px;color:var(--gray);text-align:center}.stepper-step-title.disabled{color:var(--lightgray)}.stepper-step.active .stepper-step-index{background-color:var(--blue)}.stepper-step.active .stepper-step-title{color:var(--blue)}.stepper-step.completed .stepper-step-index{background-color:var(--blue)}.stepper-step.disabled .stepper-step-index{background-color:var(--lightgray)}.stepper-step.disabled .stepper-step-title{color:var(--lightgray)}@media (max-width: 767px){.stepper-steps{height:78px}.stepper-steps-line{background-color:var(--mono-medium);border-radius:3px;top:unset;bottom:0;width:100%}.stepper-steps-line-active{border-radius:3px}.stepper-step{display:none;width:auto!important}.stepper-step-index{font-size:16px;color:var(--blue);font-weight:400;line-height:22.4px;background-color:unset;width:auto;height:auto;margin-bottom:0}.stepper-step-index--prefix,.stepper-step-index--postfix,.stepper-step-index>span:first-child+span{display:inline}.stepper-step-title{display:none}.stepper-step.active{display:block}.stepper-step.active .stepper-step-index{display:block;background-color:unset}.stepper-step.active .stepper-step-title{display:block;text-align:left;font-weight:500;color:var(--darkblue);margin-top:8px}}\n"] }]
|
|
75
|
-
}], propDecorators: { stepperSteps: [{
|
|
76
|
-
type: ContentChildren,
|
|
77
|
-
args: [StepperStepComponent]
|
|
78
|
-
}], stepChanged: [{
|
|
79
|
-
type: Output
|
|
80
|
-
}], isDisabled: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}] }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XNhYmxlZDogaXNEaXNhYmxlZFxuICAgICAgICB9XCJcbiAgICAgID5cbiAgICAgICAge3sgc3RlcC50aXRsZSB9fVxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gICAgPGRpdiBjbGFzcz1cInN0ZXBwZXItc3RlcHMtbGluZVwiPlxuICAgICAgPGRpdlxuICAgICAgICAqbmdJZj1cImlzRGlzYWJsZWQgPT09IGZhbHNlXCJcbiAgICAgICAgY2xhc3M9XCJzdGVwcGVyLXN0ZXBzLWxpbmUtYWN0aXZlXCJcbiAgICAgICAgW25nU3R5bGVdPVwie1xuICAgICAgICAgIHdpZHRoOiAoMTAwIC8gKHN0ZXBzLmxlbmd0aCAtIDEpKSAqIGNvbXBsZXRlZFN0ZXBzLmxlbmd0aCArICclJ1xuICAgICAgICB9XCJcbiAgICAgID48L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIDxkaXYgY2xhc3M9XCJzdGVwcGVyLXN0ZXBzLWNvbnRlbnRcIj5cbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { StepperComponent } from './stepper.component';
|
|
4
|
-
import { StepperStepComponent } from './stepper-step.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class StepperModule {
|
|
7
|
-
}
|
|
8
|
-
StepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, declarations: [StepperComponent, StepperStepComponent], imports: [CommonModule], exports: [StepperComponent, StepperStepComponent] });
|
|
10
|
-
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, imports: [CommonModule] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, decorators: [{
|
|
12
|
-
type: NgModule,
|
|
13
|
-
args: [{
|
|
14
|
-
declarations: [StepperComponent, StepperStepComponent],
|
|
15
|
-
imports: [CommonModule],
|
|
16
|
-
exports: [StepperComponent, StepperStepComponent]
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcHBlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL3N0ZXBwZXIvc3RlcHBlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdkQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7O0FBT2hFLE1BQU0sT0FBTyxhQUFhOzswR0FBYixhQUFhOzJHQUFiLGFBQWEsaUJBSlQsZ0JBQWdCLEVBQUUsb0JBQW9CLGFBQzNDLFlBQVksYUFDWixnQkFBZ0IsRUFBRSxvQkFBb0I7MkdBRXJDLGFBQWEsWUFIZCxZQUFZOzJGQUdYLGFBQWE7a0JBTHpCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMsZ0JBQWdCLEVBQUUsb0JBQW9CLENBQUM7b0JBQ3RELE9BQU8sRUFBRSxDQUFDLFlBQVksQ0FBQztvQkFDdkIsT0FBTyxFQUFFLENBQUMsZ0JBQWdCLEVBQUUsb0JBQW9CLENBQUM7aUJBQ2xEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IFN0ZXBwZXJDb21wb25lbnQgfSBmcm9tICcuL3N0ZXBwZXIuY29tcG9uZW50JztcbmltcG9ydCB7IFN0ZXBwZXJTdGVwQ29tcG9uZW50IH0gZnJvbSAnLi9zdGVwcGVyLXN0ZXAuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbU3RlcHBlckNvbXBvbmVudCwgU3RlcHBlclN0ZXBDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgZXhwb3J0czogW1N0ZXBwZXJDb21wb25lbnQsIFN0ZXBwZXJTdGVwQ29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBTdGVwcGVyTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class StepperStepComponent {
|
|
4
|
-
title: string;
|
|
5
|
-
isValid?: boolean;
|
|
6
|
-
isActive?: boolean;
|
|
7
|
-
isCompleted?: boolean;
|
|
8
|
-
showPrev?: boolean;
|
|
9
|
-
showNext?: boolean;
|
|
10
|
-
nextClicked: EventEmitter<any>;
|
|
11
|
-
prevClicked: EventEmitter<any>;
|
|
12
|
-
completeClicked: EventEmitter<any>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepperStepComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepperStepComponent, "aeb-stepper-step", never, { "title": "title"; "isValid": "isValid"; "isActive": "isActive"; "isCompleted": "isCompleted"; "showPrev": "showPrev"; "showNext": "showNext"; }, { "nextClicked": "nextClicked"; "prevClicked": "prevClicked"; "completeClicked": "completeClicked"; }, never, ["*"], false>;
|
|
15
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
|
|
2
|
-
import { StepperStepComponent } from './stepper-step.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class StepperComponent implements AfterContentInit {
|
|
5
|
-
stepperSteps: QueryList<StepperStepComponent>;
|
|
6
|
-
stepChanged: EventEmitter<StepperStepComponent>;
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
steps: StepperStepComponent[];
|
|
9
|
-
get activeStepIndex(): number;
|
|
10
|
-
get completedSteps(): StepperStepComponent[];
|
|
11
|
-
get hasNextStep(): boolean;
|
|
12
|
-
get hasPrevStep(): boolean;
|
|
13
|
-
get activeStep(): StepperStepComponent;
|
|
14
|
-
set activeStep(step: StepperStepComponent);
|
|
15
|
-
ngAfterContentInit(): void;
|
|
16
|
-
goToNextStep(): void;
|
|
17
|
-
goToPrevStep(): void;
|
|
18
|
-
goToFirstStep(): void;
|
|
19
|
-
onCompleteStep(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "aeb-stepper", never, { "isDisabled": "isDisabled"; }, { "stepChanged": "stepChanged"; }, ["stepperSteps"], ["*"], false>;
|
|
22
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./stepper.component";
|
|
3
|
-
import * as i2 from "./stepper-step.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
export declare class StepperModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepperModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StepperModule, [typeof i1.StepperComponent, typeof i2.StepperStepComponent], [typeof i3.CommonModule], [typeof i1.StepperComponent, typeof i2.StepperStepComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<StepperModule>;
|
|
9
|
-
}
|