aeb-ui-kit 2.2.0-preview.521 → 2.2.0-preview.525

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.
@@ -4318,6 +4318,136 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
4318
4318
  }]
4319
4319
  }] });
4320
4320
 
4321
+ class StepperStepComponent {
4322
+ constructor() {
4323
+ this.isValid = false;
4324
+ this.isActive = false;
4325
+ this.isCompleted = false;
4326
+ this.showPrev = false;
4327
+ this.showNext = false;
4328
+ this.nextClicked = new EventEmitter();
4329
+ this.prevClicked = new EventEmitter();
4330
+ this.completeClicked = new EventEmitter();
4331
+ }
4332
+ }
4333
+ StepperStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4334
+ 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"] }] });
4335
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperStepComponent, decorators: [{
4336
+ type: Component,
4337
+ args: [{ selector: 'aeb-stepper-step', template: "<div *ngIf=\"isActive\">\n <ng-content></ng-content>\n</div>\n" }]
4338
+ }], propDecorators: { title: [{
4339
+ type: Input
4340
+ }], isValid: [{
4341
+ type: Input
4342
+ }], isActive: [{
4343
+ type: Input
4344
+ }], isCompleted: [{
4345
+ type: Input
4346
+ }], showPrev: [{
4347
+ type: Input
4348
+ }], showNext: [{
4349
+ type: Input
4350
+ }], nextClicked: [{
4351
+ type: Output
4352
+ }], prevClicked: [{
4353
+ type: Output
4354
+ }], completeClicked: [{
4355
+ type: Output
4356
+ }] } });
4357
+
4358
+ class StepperComponent {
4359
+ constructor() {
4360
+ this.stepChanged = new EventEmitter();
4361
+ this.isDisabled = false;
4362
+ this.steps = [];
4363
+ }
4364
+ get activeStepIndex() {
4365
+ return this.steps.indexOf(this.activeStep);
4366
+ }
4367
+ get completedSteps() {
4368
+ return this.steps.filter((step) => step.isCompleted);
4369
+ }
4370
+ get hasNextStep() {
4371
+ return this.activeStepIndex < this.steps.length - 1;
4372
+ }
4373
+ get hasPrevStep() {
4374
+ return this.activeStepIndex > 0;
4375
+ }
4376
+ get activeStep() {
4377
+ return this.steps.find((step) => step.isActive);
4378
+ }
4379
+ set activeStep(step) {
4380
+ if (step !== this.activeStep) {
4381
+ this.activeStep.isActive = false;
4382
+ step.isActive = true;
4383
+ this.stepChanged.emit(step);
4384
+ }
4385
+ }
4386
+ ngAfterContentInit() {
4387
+ this.steps = [...this.stepperSteps];
4388
+ }
4389
+ goToNextStep() {
4390
+ if (!this.hasNextStep) {
4391
+ return;
4392
+ }
4393
+ const nextStep = this.steps[this.activeStepIndex + 1];
4394
+ this.activeStep.nextClicked.emit();
4395
+ this.activeStep = nextStep;
4396
+ }
4397
+ goToPrevStep() {
4398
+ if (!this.hasPrevStep) {
4399
+ return;
4400
+ }
4401
+ if (!this.hasNextStep && this.activeStep.isCompleted) {
4402
+ this.activeStep.isCompleted = false;
4403
+ return;
4404
+ }
4405
+ const nextStep = this.steps[this.activeStepIndex - 1];
4406
+ nextStep.isCompleted = false;
4407
+ this.activeStep.prevClicked.emit();
4408
+ this.activeStep = nextStep;
4409
+ }
4410
+ goToFirstStep() {
4411
+ if (!this.hasPrevStep) {
4412
+ return;
4413
+ }
4414
+ const nextStep = this.steps[0];
4415
+ this.activeStep = nextStep;
4416
+ }
4417
+ onCompleteStep() {
4418
+ this.activeStep.completeClicked.emit();
4419
+ this.activeStep.isCompleted = true;
4420
+ this.goToNextStep();
4421
+ }
4422
+ }
4423
+ StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4424
+ 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"] }] });
4425
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperComponent, decorators: [{
4426
+ type: Component,
4427
+ 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"] }]
4428
+ }], propDecorators: { stepperSteps: [{
4429
+ type: ContentChildren,
4430
+ args: [StepperStepComponent]
4431
+ }], stepChanged: [{
4432
+ type: Output
4433
+ }], isDisabled: [{
4434
+ type: Input
4435
+ }] } });
4436
+
4437
+ class StepperModule {
4438
+ }
4439
+ StepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4440
+ StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, declarations: [StepperComponent, StepperStepComponent], imports: [CommonModule], exports: [StepperComponent, StepperStepComponent] });
4441
+ StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, imports: [CommonModule] });
4442
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, decorators: [{
4443
+ type: NgModule,
4444
+ args: [{
4445
+ declarations: [StepperComponent, StepperStepComponent],
4446
+ imports: [CommonModule],
4447
+ exports: [StepperComponent, StepperStepComponent]
4448
+ }]
4449
+ }] });
4450
+
4321
4451
  class FormatTablePipe {
4322
4452
  transform(value, type, format, locale = 'ru') {
4323
4453
  if (type === 'date') {
@@ -4595,136 +4725,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
4595
4725
  }]
4596
4726
  }] });
4597
4727
 
4598
- class WizardStepComponent {
4599
- constructor() {
4600
- this.isValid = false;
4601
- this.isActive = false;
4602
- this.isCompleted = false;
4603
- this.showPrev = false;
4604
- this.showNext = false;
4605
- this.nextClicked = new EventEmitter();
4606
- this.prevClicked = new EventEmitter();
4607
- this.completeClicked = new EventEmitter();
4608
- }
4609
- }
4610
- WizardStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4611
- WizardStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: WizardStepComponent, selector: "aeb-wizard-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"] }] });
4612
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardStepComponent, decorators: [{
4613
- type: Component,
4614
- args: [{ selector: 'aeb-wizard-step', template: "<div *ngIf=\"isActive\">\n <ng-content></ng-content>\n</div>\n" }]
4615
- }], propDecorators: { title: [{
4616
- type: Input
4617
- }], isValid: [{
4618
- type: Input
4619
- }], isActive: [{
4620
- type: Input
4621
- }], isCompleted: [{
4622
- type: Input
4623
- }], showPrev: [{
4624
- type: Input
4625
- }], showNext: [{
4626
- type: Input
4627
- }], nextClicked: [{
4628
- type: Output
4629
- }], prevClicked: [{
4630
- type: Output
4631
- }], completeClicked: [{
4632
- type: Output
4633
- }] } });
4634
-
4635
- class WizardComponent {
4636
- constructor() {
4637
- this.stepChanged = new EventEmitter();
4638
- this.isDisabled = false;
4639
- this.steps = [];
4640
- }
4641
- get activeStepIndex() {
4642
- return this.steps.indexOf(this.activeStep);
4643
- }
4644
- get completedSteps() {
4645
- return this.steps.filter((step) => step.isCompleted);
4646
- }
4647
- get hasNextStep() {
4648
- return this.activeStepIndex < this.steps.length - 1;
4649
- }
4650
- get hasPrevStep() {
4651
- return this.activeStepIndex > 0;
4652
- }
4653
- get activeStep() {
4654
- return this.steps.find((step) => step.isActive);
4655
- }
4656
- set activeStep(step) {
4657
- if (step !== this.activeStep) {
4658
- this.activeStep.isActive = false;
4659
- step.isActive = true;
4660
- this.stepChanged.emit(step);
4661
- }
4662
- }
4663
- ngAfterContentInit() {
4664
- this.steps = [...this.wizardSteps];
4665
- }
4666
- goToNextStep() {
4667
- if (!this.hasNextStep) {
4668
- return;
4669
- }
4670
- const nextStep = this.steps[this.activeStepIndex + 1];
4671
- this.activeStep.nextClicked.emit();
4672
- this.activeStep = nextStep;
4673
- }
4674
- goToPrevStep() {
4675
- if (!this.hasPrevStep) {
4676
- return;
4677
- }
4678
- if (!this.hasNextStep && this.activeStep.isCompleted) {
4679
- this.activeStep.isCompleted = false;
4680
- return;
4681
- }
4682
- const nextStep = this.steps[this.activeStepIndex - 1];
4683
- nextStep.isCompleted = false;
4684
- this.activeStep.prevClicked.emit();
4685
- this.activeStep = nextStep;
4686
- }
4687
- goToFirstStep() {
4688
- if (!this.hasPrevStep) {
4689
- return;
4690
- }
4691
- const nextStep = this.steps[0];
4692
- this.activeStep = nextStep;
4693
- }
4694
- onCompleteStep() {
4695
- this.activeStep.completeClicked.emit();
4696
- this.activeStep.isCompleted = true;
4697
- this.goToNextStep();
4698
- }
4699
- }
4700
- WizardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4701
- WizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: WizardComponent, selector: "aeb-wizard", inputs: { isDisabled: "isDisabled" }, outputs: { stepChanged: "stepChanged" }, queries: [{ propertyName: "wizardSteps", predicate: WizardStepComponent }], ngImport: i0, template: "<div class=\"wizard\">\n <div class=\"wizard-steps\">\n <div\n *ngFor=\"let step of steps; let i = index\"\n class=\"wizard-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=\"wizard-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>{{ i + 1 }}</span>\n </ng-template>\n </div>\n <div\n class=\"wizard-step-title\"\n [ngClass]=\"{\n disabled: isDisabled\n }\"\n >\n {{ step.title }}\n </div>\n </div>\n <div class=\"wizard-steps-line\">\n <div\n *ngIf=\"isDisabled === false\"\n class=\"wizard-steps-line-active\"\n [ngStyle]=\"{\n width: (100 / (steps.length - 1)) * completedSteps.length + '%'\n }\"\n ></div>\n </div>\n </div>\n <div class=\"wizard-steps-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".wizard{-webkit-user-select:none;user-select:none}.wizard-steps{position:relative;display:flex}.wizard-steps-line{position:absolute;top:27px;right:0;left:0;width:66%;height:6px;margin:0 auto;overflow:hidden;background-color:var(--lightgray)}.wizard-steps-line-active{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--blue);transition:width,.4s}.wizard-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.wizard-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}.wizard-step-index>*{display:flex;align-items:center}.wizard-step-title{font-size:16px;font-style:normal;font-weight:400;line-height:20px;color:var(--gray);text-align:center}.wizard-step-title.disabled{color:var(--lightgray)}.wizard-step.active .wizard-step-index{background-color:var(--blue)}.wizard-step.active .wizard-step-title{color:var(--blue)}.wizard-step.completed .wizard-step-index{background-color:var(--blue)}.wizard-step.disabled .wizard-step-index{background-color:var(--lightgray)}.wizard-step.disabled .wizard-step-title{color:var(--lightgray)}@media (max-width: 767px){.wizard-step-title{font-size:14px}.wizard-steps-line{display:none}.wizard-step{display:none;flex-direction:row;align-items:center;justify-content:flex-start}.wizard-step-index{width:50px;height:50px;margin-bottom:0;font-size:30px}.wizard-step-title{margin-left:14px;font-size:18px;text-align:left}.wizard-step.active{display:flex;width:100%!important}}\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"] }] });
4702
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardComponent, decorators: [{
4703
- type: Component,
4704
- args: [{ selector: 'aeb-wizard', template: "<div class=\"wizard\">\n <div class=\"wizard-steps\">\n <div\n *ngFor=\"let step of steps; let i = index\"\n class=\"wizard-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=\"wizard-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>{{ i + 1 }}</span>\n </ng-template>\n </div>\n <div\n class=\"wizard-step-title\"\n [ngClass]=\"{\n disabled: isDisabled\n }\"\n >\n {{ step.title }}\n </div>\n </div>\n <div class=\"wizard-steps-line\">\n <div\n *ngIf=\"isDisabled === false\"\n class=\"wizard-steps-line-active\"\n [ngStyle]=\"{\n width: (100 / (steps.length - 1)) * completedSteps.length + '%'\n }\"\n ></div>\n </div>\n </div>\n <div class=\"wizard-steps-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".wizard{-webkit-user-select:none;user-select:none}.wizard-steps{position:relative;display:flex}.wizard-steps-line{position:absolute;top:27px;right:0;left:0;width:66%;height:6px;margin:0 auto;overflow:hidden;background-color:var(--lightgray)}.wizard-steps-line-active{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--blue);transition:width,.4s}.wizard-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.wizard-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}.wizard-step-index>*{display:flex;align-items:center}.wizard-step-title{font-size:16px;font-style:normal;font-weight:400;line-height:20px;color:var(--gray);text-align:center}.wizard-step-title.disabled{color:var(--lightgray)}.wizard-step.active .wizard-step-index{background-color:var(--blue)}.wizard-step.active .wizard-step-title{color:var(--blue)}.wizard-step.completed .wizard-step-index{background-color:var(--blue)}.wizard-step.disabled .wizard-step-index{background-color:var(--lightgray)}.wizard-step.disabled .wizard-step-title{color:var(--lightgray)}@media (max-width: 767px){.wizard-step-title{font-size:14px}.wizard-steps-line{display:none}.wizard-step{display:none;flex-direction:row;align-items:center;justify-content:flex-start}.wizard-step-index{width:50px;height:50px;margin-bottom:0;font-size:30px}.wizard-step-title{margin-left:14px;font-size:18px;text-align:left}.wizard-step.active{display:flex;width:100%!important}}\n"] }]
4705
- }], propDecorators: { wizardSteps: [{
4706
- type: ContentChildren,
4707
- args: [WizardStepComponent]
4708
- }], stepChanged: [{
4709
- type: Output
4710
- }], isDisabled: [{
4711
- type: Input
4712
- }] } });
4713
-
4714
- class WizardModule {
4715
- }
4716
- WizardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4717
- WizardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: WizardModule, declarations: [WizardComponent, WizardStepComponent], imports: [CommonModule], exports: [WizardComponent, WizardStepComponent] });
4718
- WizardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardModule, imports: [CommonModule] });
4719
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardModule, decorators: [{
4720
- type: NgModule,
4721
- args: [{
4722
- declarations: [WizardComponent, WizardStepComponent],
4723
- imports: [CommonModule],
4724
- exports: [WizardComponent, WizardStepComponent]
4725
- }]
4726
- }] });
4727
-
4728
4728
  class AebUiKitModule {
4729
4729
  }
4730
4730
  AebUiKitModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AebUiKitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -4734,7 +4734,7 @@ AebUiKitModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
4734
4734
  HeaderModule,
4735
4735
  SidebarModule,
4736
4736
  SliderModule,
4737
- WizardModule,
4737
+ StepperModule,
4738
4738
  FormFieldModule,
4739
4739
  LabelModule,
4740
4740
  VisaModule,
@@ -4766,7 +4766,7 @@ AebUiKitModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
4766
4766
  HeaderModule,
4767
4767
  SidebarModule,
4768
4768
  SliderModule,
4769
- WizardModule,
4769
+ StepperModule,
4770
4770
  FormFieldModule,
4771
4771
  LabelModule,
4772
4772
  VisaModule,
@@ -4800,7 +4800,7 @@ AebUiKitModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
4800
4800
  HeaderModule,
4801
4801
  SidebarModule,
4802
4802
  SliderModule,
4803
- WizardModule,
4803
+ StepperModule,
4804
4804
  FormFieldModule,
4805
4805
  LabelModule,
4806
4806
  VisaModule,
@@ -4832,7 +4832,7 @@ AebUiKitModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
4832
4832
  HeaderModule,
4833
4833
  SidebarModule,
4834
4834
  SliderModule,
4835
- WizardModule,
4835
+ StepperModule,
4836
4836
  FormFieldModule,
4837
4837
  LabelModule,
4838
4838
  VisaModule,
@@ -4871,7 +4871,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
4871
4871
  HeaderModule,
4872
4872
  SidebarModule,
4873
4873
  SliderModule,
4874
- WizardModule,
4874
+ StepperModule,
4875
4875
  FormFieldModule,
4876
4876
  LabelModule,
4877
4877
  VisaModule,
@@ -4906,7 +4906,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
4906
4906
  HeaderModule,
4907
4907
  SidebarModule,
4908
4908
  SliderModule,
4909
- WizardModule,
4909
+ StepperModule,
4910
4910
  FormFieldModule,
4911
4911
  LabelModule,
4912
4912
  VisaModule,
@@ -5180,5 +5180,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
5180
5180
  * Generated bundle index. Do not edit.
5181
5181
  */
5182
5182
 
5183
- export { AccordionComponent, AccordionModule, ActionBarComponent, ActionBarModule, AebUiKitModule, BreadcrumpsComponent, CheckboxComponent, CheckboxGroupComponent, CheckboxModule, ClickOutsideDirective, ClickOutsideModule, CommentComponent, CommentModule, CreditItemCardComponent, CreditItemCardModule, DateToStrPipe, DatepickerComponent, DatepickerCoreComponent, DatepickerModule, DatepickerMonthComponent, DatepickerTilesComponent, DragAndDropDirective, DropdownComponent, DropdownModule, FieldSliderComponent, FieldSliderModule, FileAttachComponent, FileAttachModule, FilterTagComponent, FilterTagsComponent, FilterTagsModule, FooterBottomComponent, FooterComponent, FooterMenuComponent, FooterModule, FooterTopComponent, FormFieldComponent, FormFieldModule, HeaderComponent, HeaderModule, HeadingComponent, HeadingModule, IconDirective, InputDirective, LabelComponent, LabelDirective, LabelModule, LogoComponent, ModalComponent, ModalModule, NewButtonComponent, NewButtonModule, NewsCardComponent, NewsCardModule, NotificationComponent, NotificationsComponent, NotificationsModule, OptionComponent, PaginationComponent, PaginationModule, PaginationOldComponent, PaginationOldModule, PopUpComponent, PopUpDirective, PopUpModule, ProductTitleComponent, RadioButtonsComponent, RadioButtonsModule, SearchComponent, SearchModule, SelectComponent, SelectModule, SidebarComponent, SidebarModule, SliderComponent, SliderModule, SpanSubtitleDirective, SpanTitleDirective, SpinnerComponent, SpinnerModule, TabDirective, TableComponent, TableModule, TabsComponent, TabsModule, TagTabComponent, TagTabModule, TextareaDirective, TooltipComponent, TooltipDirective, TooltipModule, VisaComponent, VisaItemComponent, VisaModule, WizardComponent, WizardModule, WizardStepComponent };
5183
+ export { AccordionComponent, AccordionModule, ActionBarComponent, ActionBarModule, AebUiKitModule, BreadcrumpsComponent, CheckboxComponent, CheckboxGroupComponent, CheckboxModule, ClickOutsideDirective, ClickOutsideModule, CommentComponent, CommentModule, CreditItemCardComponent, CreditItemCardModule, DateToStrPipe, DatepickerComponent, DatepickerCoreComponent, DatepickerModule, DatepickerMonthComponent, DatepickerTilesComponent, DragAndDropDirective, DropdownComponent, DropdownModule, FieldSliderComponent, FieldSliderModule, FileAttachComponent, FileAttachModule, FilterTagComponent, FilterTagsComponent, FilterTagsModule, FooterBottomComponent, FooterComponent, FooterMenuComponent, FooterModule, FooterTopComponent, FormFieldComponent, FormFieldModule, HeaderComponent, HeaderModule, HeadingComponent, HeadingModule, IconDirective, InputDirective, LabelComponent, LabelDirective, LabelModule, LogoComponent, ModalComponent, ModalModule, NewButtonComponent, NewButtonModule, NewsCardComponent, NewsCardModule, NotificationComponent, NotificationsComponent, NotificationsModule, OptionComponent, PaginationComponent, PaginationModule, PaginationOldComponent, PaginationOldModule, PopUpComponent, PopUpDirective, PopUpModule, ProductTitleComponent, RadioButtonsComponent, RadioButtonsModule, SearchComponent, SearchModule, SelectComponent, SelectModule, SidebarComponent, SidebarModule, SliderComponent, SliderModule, SpanSubtitleDirective, SpanTitleDirective, SpinnerComponent, SpinnerModule, StepperComponent, StepperModule, StepperStepComponent, TabDirective, TableComponent, TableModule, TabsComponent, TabsModule, TagTabComponent, TagTabModule, TextareaDirective, TooltipComponent, TooltipDirective, TooltipModule, VisaComponent, VisaItemComponent, VisaModule };
5184
5184
  //# sourceMappingURL=aeb-ui-kit.mjs.map