aeb-ui-kit 2.2.0-preview.521 → 2.2.0-rc.526

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.
@@ -4316,6 +4316,136 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
4316
4316
  }]
4317
4317
  }] });
4318
4318
 
4319
+ class StepperStepComponent {
4320
+ constructor() {
4321
+ this.isValid = false;
4322
+ this.isActive = false;
4323
+ this.isCompleted = false;
4324
+ this.showPrev = false;
4325
+ this.showNext = false;
4326
+ this.nextClicked = new EventEmitter();
4327
+ this.prevClicked = new EventEmitter();
4328
+ this.completeClicked = new EventEmitter();
4329
+ }
4330
+ }
4331
+ StepperStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4332
+ 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"] }] });
4333
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperStepComponent, decorators: [{
4334
+ type: Component,
4335
+ args: [{ selector: 'aeb-stepper-step', template: "<div *ngIf=\"isActive\">\n <ng-content></ng-content>\n</div>\n" }]
4336
+ }], propDecorators: { title: [{
4337
+ type: Input
4338
+ }], isValid: [{
4339
+ type: Input
4340
+ }], isActive: [{
4341
+ type: Input
4342
+ }], isCompleted: [{
4343
+ type: Input
4344
+ }], showPrev: [{
4345
+ type: Input
4346
+ }], showNext: [{
4347
+ type: Input
4348
+ }], nextClicked: [{
4349
+ type: Output
4350
+ }], prevClicked: [{
4351
+ type: Output
4352
+ }], completeClicked: [{
4353
+ type: Output
4354
+ }] } });
4355
+
4356
+ class StepperComponent {
4357
+ constructor() {
4358
+ this.stepChanged = new EventEmitter();
4359
+ this.isDisabled = false;
4360
+ this.steps = [];
4361
+ }
4362
+ get activeStepIndex() {
4363
+ return this.steps.indexOf(this.activeStep);
4364
+ }
4365
+ get completedSteps() {
4366
+ return this.steps.filter((step) => step.isCompleted);
4367
+ }
4368
+ get hasNextStep() {
4369
+ return this.activeStepIndex < this.steps.length - 1;
4370
+ }
4371
+ get hasPrevStep() {
4372
+ return this.activeStepIndex > 0;
4373
+ }
4374
+ get activeStep() {
4375
+ return this.steps.find((step) => step.isActive);
4376
+ }
4377
+ set activeStep(step) {
4378
+ if (step !== this.activeStep) {
4379
+ this.activeStep.isActive = false;
4380
+ step.isActive = true;
4381
+ this.stepChanged.emit(step);
4382
+ }
4383
+ }
4384
+ ngAfterContentInit() {
4385
+ this.steps = [...this.stepperSteps];
4386
+ }
4387
+ goToNextStep() {
4388
+ if (!this.hasNextStep) {
4389
+ return;
4390
+ }
4391
+ const nextStep = this.steps[this.activeStepIndex + 1];
4392
+ this.activeStep.nextClicked.emit();
4393
+ this.activeStep = nextStep;
4394
+ }
4395
+ goToPrevStep() {
4396
+ if (!this.hasPrevStep) {
4397
+ return;
4398
+ }
4399
+ if (!this.hasNextStep && this.activeStep.isCompleted) {
4400
+ this.activeStep.isCompleted = false;
4401
+ return;
4402
+ }
4403
+ const nextStep = this.steps[this.activeStepIndex - 1];
4404
+ nextStep.isCompleted = false;
4405
+ this.activeStep.prevClicked.emit();
4406
+ this.activeStep = nextStep;
4407
+ }
4408
+ goToFirstStep() {
4409
+ if (!this.hasPrevStep) {
4410
+ return;
4411
+ }
4412
+ const nextStep = this.steps[0];
4413
+ this.activeStep = nextStep;
4414
+ }
4415
+ onCompleteStep() {
4416
+ this.activeStep.completeClicked.emit();
4417
+ this.activeStep.isCompleted = true;
4418
+ this.goToNextStep();
4419
+ }
4420
+ }
4421
+ StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4422
+ 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"] }] });
4423
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperComponent, decorators: [{
4424
+ type: Component,
4425
+ 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"] }]
4426
+ }], propDecorators: { stepperSteps: [{
4427
+ type: ContentChildren,
4428
+ args: [StepperStepComponent]
4429
+ }], stepChanged: [{
4430
+ type: Output
4431
+ }], isDisabled: [{
4432
+ type: Input
4433
+ }] } });
4434
+
4435
+ class StepperModule {
4436
+ }
4437
+ StepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4438
+ StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, declarations: [StepperComponent, StepperStepComponent], imports: [CommonModule], exports: [StepperComponent, StepperStepComponent] });
4439
+ StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, imports: [CommonModule] });
4440
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: StepperModule, decorators: [{
4441
+ type: NgModule,
4442
+ args: [{
4443
+ declarations: [StepperComponent, StepperStepComponent],
4444
+ imports: [CommonModule],
4445
+ exports: [StepperComponent, StepperStepComponent]
4446
+ }]
4447
+ }] });
4448
+
4319
4449
  class FormatTablePipe {
4320
4450
  transform(value, type, format, locale = 'ru') {
4321
4451
  if (type === 'date') {
@@ -4593,136 +4723,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
4593
4723
  }]
4594
4724
  }] });
4595
4725
 
4596
- class WizardStepComponent {
4597
- constructor() {
4598
- this.isValid = false;
4599
- this.isActive = false;
4600
- this.isCompleted = false;
4601
- this.showPrev = false;
4602
- this.showNext = false;
4603
- this.nextClicked = new EventEmitter();
4604
- this.prevClicked = new EventEmitter();
4605
- this.completeClicked = new EventEmitter();
4606
- }
4607
- }
4608
- WizardStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4609
- 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"] }] });
4610
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardStepComponent, decorators: [{
4611
- type: Component,
4612
- args: [{ selector: 'aeb-wizard-step', template: "<div *ngIf=\"isActive\">\n <ng-content></ng-content>\n</div>\n" }]
4613
- }], propDecorators: { title: [{
4614
- type: Input
4615
- }], isValid: [{
4616
- type: Input
4617
- }], isActive: [{
4618
- type: Input
4619
- }], isCompleted: [{
4620
- type: Input
4621
- }], showPrev: [{
4622
- type: Input
4623
- }], showNext: [{
4624
- type: Input
4625
- }], nextClicked: [{
4626
- type: Output
4627
- }], prevClicked: [{
4628
- type: Output
4629
- }], completeClicked: [{
4630
- type: Output
4631
- }] } });
4632
-
4633
- class WizardComponent {
4634
- constructor() {
4635
- this.stepChanged = new EventEmitter();
4636
- this.isDisabled = false;
4637
- this.steps = [];
4638
- }
4639
- get activeStepIndex() {
4640
- return this.steps.indexOf(this.activeStep);
4641
- }
4642
- get completedSteps() {
4643
- return this.steps.filter((step) => step.isCompleted);
4644
- }
4645
- get hasNextStep() {
4646
- return this.activeStepIndex < this.steps.length - 1;
4647
- }
4648
- get hasPrevStep() {
4649
- return this.activeStepIndex > 0;
4650
- }
4651
- get activeStep() {
4652
- return this.steps.find((step) => step.isActive);
4653
- }
4654
- set activeStep(step) {
4655
- if (step !== this.activeStep) {
4656
- this.activeStep.isActive = false;
4657
- step.isActive = true;
4658
- this.stepChanged.emit(step);
4659
- }
4660
- }
4661
- ngAfterContentInit() {
4662
- this.steps = [...this.wizardSteps];
4663
- }
4664
- goToNextStep() {
4665
- if (!this.hasNextStep) {
4666
- return;
4667
- }
4668
- const nextStep = this.steps[this.activeStepIndex + 1];
4669
- this.activeStep.nextClicked.emit();
4670
- this.activeStep = nextStep;
4671
- }
4672
- goToPrevStep() {
4673
- if (!this.hasPrevStep) {
4674
- return;
4675
- }
4676
- if (!this.hasNextStep && this.activeStep.isCompleted) {
4677
- this.activeStep.isCompleted = false;
4678
- return;
4679
- }
4680
- const nextStep = this.steps[this.activeStepIndex - 1];
4681
- nextStep.isCompleted = false;
4682
- this.activeStep.prevClicked.emit();
4683
- this.activeStep = nextStep;
4684
- }
4685
- goToFirstStep() {
4686
- if (!this.hasPrevStep) {
4687
- return;
4688
- }
4689
- const nextStep = this.steps[0];
4690
- this.activeStep = nextStep;
4691
- }
4692
- onCompleteStep() {
4693
- this.activeStep.completeClicked.emit();
4694
- this.activeStep.isCompleted = true;
4695
- this.goToNextStep();
4696
- }
4697
- }
4698
- WizardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4699
- 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"] }] });
4700
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardComponent, decorators: [{
4701
- type: Component,
4702
- 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"] }]
4703
- }], propDecorators: { wizardSteps: [{
4704
- type: ContentChildren,
4705
- args: [WizardStepComponent]
4706
- }], stepChanged: [{
4707
- type: Output
4708
- }], isDisabled: [{
4709
- type: Input
4710
- }] } });
4711
-
4712
- class WizardModule {
4713
- }
4714
- WizardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4715
- WizardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: WizardModule, declarations: [WizardComponent, WizardStepComponent], imports: [CommonModule], exports: [WizardComponent, WizardStepComponent] });
4716
- WizardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardModule, imports: [CommonModule] });
4717
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: WizardModule, decorators: [{
4718
- type: NgModule,
4719
- args: [{
4720
- declarations: [WizardComponent, WizardStepComponent],
4721
- imports: [CommonModule],
4722
- exports: [WizardComponent, WizardStepComponent]
4723
- }]
4724
- }] });
4725
-
4726
4726
  class AebUiKitModule {
4727
4727
  }
4728
4728
  AebUiKitModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AebUiKitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -4732,7 +4732,7 @@ AebUiKitModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
4732
4732
  HeaderModule,
4733
4733
  SidebarModule,
4734
4734
  SliderModule,
4735
- WizardModule,
4735
+ StepperModule,
4736
4736
  FormFieldModule,
4737
4737
  LabelModule,
4738
4738
  VisaModule,
@@ -4764,7 +4764,7 @@ AebUiKitModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
4764
4764
  HeaderModule,
4765
4765
  SidebarModule,
4766
4766
  SliderModule,
4767
- WizardModule,
4767
+ StepperModule,
4768
4768
  FormFieldModule,
4769
4769
  LabelModule,
4770
4770
  VisaModule,
@@ -4798,7 +4798,7 @@ AebUiKitModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
4798
4798
  HeaderModule,
4799
4799
  SidebarModule,
4800
4800
  SliderModule,
4801
- WizardModule,
4801
+ StepperModule,
4802
4802
  FormFieldModule,
4803
4803
  LabelModule,
4804
4804
  VisaModule,
@@ -4830,7 +4830,7 @@ AebUiKitModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
4830
4830
  HeaderModule,
4831
4831
  SidebarModule,
4832
4832
  SliderModule,
4833
- WizardModule,
4833
+ StepperModule,
4834
4834
  FormFieldModule,
4835
4835
  LabelModule,
4836
4836
  VisaModule,
@@ -4869,7 +4869,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
4869
4869
  HeaderModule,
4870
4870
  SidebarModule,
4871
4871
  SliderModule,
4872
- WizardModule,
4872
+ StepperModule,
4873
4873
  FormFieldModule,
4874
4874
  LabelModule,
4875
4875
  VisaModule,
@@ -4904,7 +4904,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
4904
4904
  HeaderModule,
4905
4905
  SidebarModule,
4906
4906
  SliderModule,
4907
- WizardModule,
4907
+ StepperModule,
4908
4908
  FormFieldModule,
4909
4909
  LabelModule,
4910
4910
  VisaModule,
@@ -5178,5 +5178,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
5178
5178
  * Generated bundle index. Do not edit.
5179
5179
  */
5180
5180
 
5181
- 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 };
5181
+ 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 };
5182
5182
  //# sourceMappingURL=aeb-ui-kit.mjs.map