@wizishop/angular-components 14.3.14 → 14.3.15

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.
Files changed (25) hide show
  1. package/esm2020/lib/components/selects/option/option-selection-handler.interface.mjs +1 -1
  2. package/esm2020/lib/components/selects/option/option-selection-handler.token.mjs +1 -1
  3. package/esm2020/lib/components/selects/option/option.component.mjs +3 -3
  4. package/esm2020/lib/components/selects/option/select-option.directive.mjs +3 -3
  5. package/esm2020/lib/components/selects/select-test/select.component.mjs +36 -92
  6. package/esm2020/lib/components/selects/select-test/select.directive.mjs +122 -0
  7. package/esm2020/lib/components/selects/select-test/value-change.service.mjs +5 -5
  8. package/esm2020/lib/directives/shared-directives.module.mjs +4 -3
  9. package/esm2020/public-api.mjs +3 -1
  10. package/fesm2015/wizishop-angular-components.mjs +301 -243
  11. package/fesm2015/wizishop-angular-components.mjs.map +1 -1
  12. package/fesm2020/wizishop-angular-components.mjs +301 -243
  13. package/fesm2020/wizishop-angular-components.mjs.map +1 -1
  14. package/lib/components/selects/option/option-selection-handler.interface.d.ts +3 -3
  15. package/lib/components/selects/option/option-selection-handler.token.d.ts +1 -1
  16. package/lib/components/selects/option/option.component.d.ts +7 -7
  17. package/lib/components/selects/option/select-option.directive.d.ts +7 -7
  18. package/lib/components/selects/select-test/select.component.d.ts +12 -23
  19. package/lib/components/selects/select-test/select.directive.d.ts +33 -0
  20. package/lib/components/selects/select-test/value-change.service.d.ts +8 -8
  21. package/lib/directives/shared-directives.module.d.ts +4 -3
  22. package/package.json +1 -1
  23. package/public-api.d.ts +2 -0
  24. package/wizishop-angular-components-14.3.15.tgz +0 -0
  25. package/wizishop-angular-components-14.3.14.tgz +0 -0
@@ -1,16 +1,17 @@
1
1
  import * as i1$2 from '@wizishop/ng-wizi-bulma';
2
2
  import { NwbAllModule, NwbFilterGroup } from '@wizishop/ng-wizi-bulma';
3
3
  import * as i0 from '@angular/core';
4
- import { Component, ViewEncapsulation, Input, EventEmitter, Directive, Output, HostListener, Injectable, InjectionToken, NgModule, Inject, Pipe, ContentChildren, Attribute, Optional, ViewChild, ChangeDetectionStrategy, HostBinding, ContentChild } from '@angular/core';
4
+ import { Component, ViewEncapsulation, Input, EventEmitter, Directive, Output, HostListener, Injectable, InjectionToken, ContentChildren, NgModule, Inject, Pipe, Attribute, Optional, ViewChild, ChangeDetectionStrategy, HostBinding, ContentChild } from '@angular/core';
5
5
  import * as i1 from '@angular/common';
6
6
  import { CommonModule, DOCUMENT } from '@angular/common';
7
7
  import * as i2 from '@angular/forms';
8
8
  import { NG_VALUE_ACCESSOR, FormsModule, FormGroupDirective, ReactiveFormsModule } from '@angular/forms';
9
9
  import * as i4$1 from 'ngx-perfect-scrollbar';
10
10
  import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
11
- import { Subject, merge, fromEvent, ReplaySubject, interval, takeUntil as takeUntil$1, startWith as startWith$1, map as map$1 } from 'rxjs';
12
- import { takeUntil, debounceTime, distinctUntilChanged, tap, map, takeWhile, startWith } from 'rxjs/operators';
11
+ import { Subject, merge, takeUntil as takeUntil$1, startWith, fromEvent, ReplaySubject, interval, map as map$1 } from 'rxjs';
12
+ import { takeUntil, debounceTime, distinctUntilChanged, tap, map, takeWhile, filter } from 'rxjs/operators';
13
13
  import * as i1$1 from '@angular/cdk/overlay';
14
+ import { DOWN_ARROW, UP_ARROW, LEFT_ARROW, RIGHT_ARROW, A, Z, ZERO, NINE, ENTER, SPACE, hasModifierKey, ESCAPE } from '@angular/cdk/keycodes';
14
15
  import { CdkTableModule } from '@angular/cdk/table';
15
16
  import { trigger, transition, style, animate, state } from '@angular/animations';
16
17
  import { TagInputModule } from 'ngx-chips';
@@ -20,7 +21,6 @@ import * as i4 from 'ngx-autosize';
20
21
  import { AutosizeModule } from 'ngx-autosize';
21
22
  import * as i2$1 from '@angular/router';
22
23
  import { RouterModule } from '@angular/router';
23
- import { DOWN_ARROW, UP_ARROW, LEFT_ARROW, RIGHT_ARROW, ENTER, SPACE, hasModifierKey, ESCAPE, A, Z, ZERO, NINE } from '@angular/cdk/keycodes';
24
24
  import * as i2$2 from 'ngx-scrollbar';
25
25
  import { NgScrollbarModule } from 'ngx-scrollbar';
26
26
  import * as i3 from 'ngx-scrollbar/reached-event';
@@ -362,7 +362,7 @@ class SelectOptionDirective {
362
362
  return;
363
363
  }
364
364
  this.selected = !this.selected;
365
- this.selectedChange.emit(this.value);
365
+ this.selectedChange.emit(this.selected);
366
366
  }
367
367
  getValue() {
368
368
  return this.value;
@@ -375,7 +375,7 @@ class SelectOptionDirective {
375
375
  }
376
376
  setSelected(selected) {
377
377
  this.selected = selected;
378
- this.selectedChange.emit(this.value);
378
+ this.selectedChange.emit(this.selected);
379
379
  }
380
380
  getContentRef() {
381
381
  return this.contentRef;
@@ -402,11 +402,269 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
402
402
  type: Output
403
403
  }] } });
404
404
 
405
- const directives$2 = [DebounceKeyupDirective, AbstractDebounceDirective, AutoHideDirective, ZindexToggleDirective, VarDirective, KeypressEnterDirective, SelectOptionDirective];
405
+ class ValueChangeService {
406
+ constructor(changeDetectorRef) {
407
+ this.changeDetectorRef = changeDetectorRef;
408
+ this.valueChange$ = new Subject();
409
+ this.indexSelectedOption = null;
410
+ this.resetListeners$ = new Subject();
411
+ this.indexOfMatchedOption = (option, index, letter) => {
412
+ const textOption = option.getContentRef().nativeElement.textContent.trim().toLowerCase();
413
+ return textOption.startsWith(letter) ? index : null;
414
+ };
415
+ this.isNotNull = (index) => {
416
+ return index !== null;
417
+ };
418
+ this.highestAndClosestIndex = (index) => {
419
+ if (isNaN(this.indexSelectedOption)) {
420
+ return true;
421
+ }
422
+ if (index > this.indexSelectedOption) {
423
+ return true;
424
+ }
425
+ return false;
426
+ };
427
+ }
428
+ set value(value) {
429
+ this._value = value;
430
+ this.handleValueChange();
431
+ this.valueChange$.next(value);
432
+ }
433
+ get value() {
434
+ return this._value;
435
+ }
436
+ handleSelectOptionsChange(optionChildren, value) {
437
+ this.resetListeners$.next();
438
+ this.optionChildren = optionChildren;
439
+ this._value = value;
440
+ this.indexSelectedOption = null;
441
+ this.handleInitialSelectedOption();
442
+ this.handleSelectedOptionsEvent();
443
+ }
444
+ assignValue(value) {
445
+ this._value = value;
446
+ this.handleValueChange();
447
+ }
448
+ handleValueChange() {
449
+ this.changeSelectedOption();
450
+ this.updateSelectPlaceholder();
451
+ this.changeDetectorRef.markForCheck();
452
+ }
453
+ selectNextOption() {
454
+ if (this.indexSelectedOption + 1 >= this.optionChildren.length) {
455
+ return;
456
+ }
457
+ if (this.indexSelectedOption === null) {
458
+ this.indexSelectedOption = 0;
459
+ }
460
+ else {
461
+ this.indexSelectedOption = this.indexSelectedOption + 1;
462
+ }
463
+ this.value = this.optionChildren.get(this.indexSelectedOption).value;
464
+ }
465
+ selectPreviousOption() {
466
+ if (!this.indexSelectedOption) {
467
+ this.indexSelectedOption = null;
468
+ this.assignValue(null);
469
+ return;
470
+ }
471
+ this.indexSelectedOption = this.indexSelectedOption - 1;
472
+ this.value = this.optionChildren.get(this.indexSelectedOption).value;
473
+ }
474
+ searchOptionByFirstLetter(letter) {
475
+ const matchedOptionsIndex = this.optionChildren
476
+ .map((option, index) => this.indexOfMatchedOption(option, index, letter))
477
+ .filter(this.isNotNull);
478
+ if (!matchedOptionsIndex.length) { // reset the selection
479
+ this.indexSelectedOption = null;
480
+ this.value = null;
481
+ return;
482
+ }
483
+ // find the next option after the current selected option, or the first option
484
+ const validOptionIndex = matchedOptionsIndex.find(this.highestAndClosestIndex);
485
+ this.indexSelectedOption = isNaN(validOptionIndex) ? matchedOptionsIndex[0] : validOptionIndex;
486
+ this.value = this.optionChildren.get(this.indexSelectedOption).value;
487
+ }
488
+ handleInitialSelectedOption() {
489
+ setTimeout(() => {
490
+ if (!this.value) {
491
+ this.findInitialSelectedOption();
492
+ return;
493
+ }
494
+ this.handleValueChange();
495
+ }, 0);
496
+ }
497
+ findInitialSelectedOption() {
498
+ const selectedOption = this.getSelectedOptionComponent();
499
+ if (!selectedOption) {
500
+ return;
501
+ }
502
+ this.value = selectedOption.value;
503
+ }
504
+ handleSelectedOptionsEvent() {
505
+ this.optionSelectedChangeListeners().subscribe((selectEvent) => {
506
+ this.value = selectEvent.value;
507
+ });
508
+ }
509
+ updateSelectPlaceholder() {
510
+ if (!this.value) {
511
+ this.selectedOptionContent = null;
512
+ return;
513
+ }
514
+ const selectedOption = this.getSelectedOptionComponent();
515
+ this.selectedOptionContent = selectedOption?.getContentRef().nativeElement.innerHTML || undefined;
516
+ }
517
+ getSelectedOptionComponent() {
518
+ return this.optionChildren.find((option) => option.selected);
519
+ }
520
+ optionSelectedChangeListeners() {
521
+ const selectedChange$ = this.optionChildren.map((option) => {
522
+ return option.selectedChange.pipe(map((value) => {
523
+ return {
524
+ value
525
+ };
526
+ }));
527
+ });
528
+ return merge(...selectedChange$).pipe(takeUntil(this.resetListeners$));
529
+ }
530
+ changeSelectedOption() {
531
+ this.optionChildren.forEach((optionComponent, index) => {
532
+ optionComponent.selected = this.value == undefined ? false : optionComponent.value === this.value;
533
+ if (optionComponent.selected) {
534
+ this.indexSelectedOption = index;
535
+ }
536
+ });
537
+ }
538
+ ngOnDestroy() {
539
+ this.resetListeners$.next();
540
+ this.resetListeners$.complete();
541
+ }
542
+ }
543
+ ValueChangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ValueChangeService, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
544
+ ValueChangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ValueChangeService });
545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ValueChangeService, decorators: [{
546
+ type: Injectable
547
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
548
+
549
+ class SelectDirective {
550
+ constructor(valueChangeService) {
551
+ this.valueChangeService = valueChangeService;
552
+ this.valueChange = new EventEmitter();
553
+ this.disabled = false;
554
+ this.isDestroyed$ = new Subject();
555
+ // ControlValueAccessor methods
556
+ this.onChange = () => { };
557
+ this.onTouch = () => { };
558
+ }
559
+ /** Handles all keydown events on the select. */
560
+ onKeydown(event) {
561
+ if (this.disabled) {
562
+ return;
563
+ }
564
+ this.handleKeyboardAction(event);
565
+ }
566
+ set value(value) {
567
+ this._value = value;
568
+ if (!this.optionChildren) {
569
+ return;
570
+ }
571
+ this.valueChangeService.assignValue(value);
572
+ }
573
+ get value() {
574
+ return this._value;
575
+ }
576
+ ngOnInit() {
577
+ this.handleValueChange();
578
+ }
579
+ ngAfterViewInit() {
580
+ this.handleOptionChildren();
581
+ }
582
+ handleValueChange() {
583
+ this.valueChangeService.valueChange$.pipe(takeUntil$1(this.isDestroyed$)).subscribe(value => {
584
+ this._value = value;
585
+ this.valueChange.emit(this.value);
586
+ this.onChange(this.value);
587
+ this.onTouch(this.value);
588
+ });
589
+ }
590
+ handleOptionChildren() {
591
+ this.optionChildren.changes.pipe(takeUntil$1(this.isDestroyed$), startWith(this.optionChildren)).subscribe(optionChildren => {
592
+ this.valueChangeService.handleSelectOptionsChange(optionChildren, this.value);
593
+ });
594
+ }
595
+ /** Handles keyboard events when the selected is open. */
596
+ handleKeyboardAction(event) {
597
+ const keyCode = event.keyCode;
598
+ const isArrowKey = keyCode === DOWN_ARROW ||
599
+ keyCode === UP_ARROW ||
600
+ keyCode === LEFT_ARROW ||
601
+ keyCode === RIGHT_ARROW;
602
+ const isTyping = (keyCode >= A && keyCode <= Z) || (keyCode >= ZERO && keyCode <= NINE);
603
+ event.preventDefault(); // prevents the page from scrolling
604
+ if (isArrowKey) {
605
+ // select the next option on arrow key down
606
+ if (keyCode === DOWN_ARROW || keyCode === RIGHT_ARROW) {
607
+ this.valueChangeService.selectNextOption();
608
+ return;
609
+ }
610
+ this.valueChangeService.selectPreviousOption();
611
+ return;
612
+ }
613
+ if (isTyping) {
614
+ this.valueChangeService.searchOptionByFirstLetter(event.key);
615
+ return;
616
+ }
617
+ }
618
+ writeValue(value) {
619
+ if (typeof value === 'undefined') {
620
+ return;
621
+ }
622
+ this.value = value;
623
+ }
624
+ registerOnChange(fn) {
625
+ this.onChange = fn;
626
+ }
627
+ registerOnTouched(fn) {
628
+ this.onTouch = fn;
629
+ }
630
+ ngOnDestroy() {
631
+ this.isDestroyed$.next();
632
+ this.isDestroyed$.complete();
633
+ }
634
+ }
635
+ SelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: SelectDirective, deps: [{ token: ValueChangeService }], target: i0.ɵɵFactoryTarget.Directive });
636
+ SelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.7", type: SelectDirective, selector: "[wacSelect]", inputs: { value: "value", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "keydown": "onKeydown($event)" } }, providers: [
637
+ { provide: NG_VALUE_ACCESSOR, useExisting: SelectDirective, multi: true },
638
+ ValueChangeService
639
+ ], queries: [{ propertyName: "optionChildren", predicate: OPTION_SELECTION_HANDLER, descendants: true }], ngImport: i0 });
640
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: SelectDirective, decorators: [{
641
+ type: Directive,
642
+ args: [{
643
+ selector: '[wacSelect]',
644
+ providers: [
645
+ { provide: NG_VALUE_ACCESSOR, useExisting: SelectDirective, multi: true },
646
+ ValueChangeService
647
+ ]
648
+ }]
649
+ }], ctorParameters: function () { return [{ type: ValueChangeService }]; }, propDecorators: { onKeydown: [{
650
+ type: HostListener,
651
+ args: ['keydown', ['$event']]
652
+ }], optionChildren: [{
653
+ type: ContentChildren,
654
+ args: [OPTION_SELECTION_HANDLER, { descendants: true }]
655
+ }], value: [{
656
+ type: Input
657
+ }], valueChange: [{
658
+ type: Output
659
+ }], disabled: [{
660
+ type: Input
661
+ }] } });
662
+
663
+ const directives$2 = [DebounceKeyupDirective, AbstractDebounceDirective, AutoHideDirective, ZindexToggleDirective, VarDirective, KeypressEnterDirective, SelectOptionDirective, SelectDirective];
406
664
  class SharedDirectives {
407
665
  }
408
666
  SharedDirectives.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: SharedDirectives, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
409
- SharedDirectives.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.7", ngImport: i0, type: SharedDirectives, declarations: [DebounceKeyupDirective, AbstractDebounceDirective, AutoHideDirective, ZindexToggleDirective, VarDirective, KeypressEnterDirective, SelectOptionDirective], imports: [CommonModule, FormsModule], exports: [DebounceKeyupDirective, AbstractDebounceDirective, AutoHideDirective, ZindexToggleDirective, VarDirective, KeypressEnterDirective, SelectOptionDirective] });
667
+ SharedDirectives.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.7", ngImport: i0, type: SharedDirectives, declarations: [DebounceKeyupDirective, AbstractDebounceDirective, AutoHideDirective, ZindexToggleDirective, VarDirective, KeypressEnterDirective, SelectOptionDirective, SelectDirective], imports: [CommonModule, FormsModule], exports: [DebounceKeyupDirective, AbstractDebounceDirective, AutoHideDirective, ZindexToggleDirective, VarDirective, KeypressEnterDirective, SelectOptionDirective, SelectDirective] });
410
668
  SharedDirectives.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: SharedDirectives, imports: [CommonModule, FormsModule] });
411
669
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: SharedDirectives, decorators: [{
412
670
  type: NgModule,
@@ -4237,150 +4495,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
4237
4495
  type: Input
4238
4496
  }] } });
4239
4497
 
4240
- class ValueChangeService {
4241
- constructor(changeDetectorRef) {
4242
- this.changeDetectorRef = changeDetectorRef;
4243
- this.valueChange$ = new Subject();
4244
- this.indexSelectedOption = null;
4245
- this.resetListeners$ = new Subject();
4246
- this.indexOfMatchedOption = (option, index, letter) => {
4247
- const textOption = option.getContentRef().nativeElement.textContent.trim().toLowerCase();
4248
- return textOption.startsWith(letter) ? index : null;
4249
- };
4250
- this.isNotNull = (index) => {
4251
- return index !== null;
4252
- };
4253
- this.highestAndClosestIndex = (index) => {
4254
- if (isNaN(this.indexSelectedOption)) {
4255
- return true;
4256
- }
4257
- if (index > this.indexSelectedOption) {
4258
- return true;
4259
- }
4260
- return false;
4261
- };
4262
- }
4263
- set value(value) {
4264
- this._value = value;
4265
- this.handleValueChange();
4266
- this.valueChange$.next(value);
4267
- }
4268
- get value() {
4269
- return this._value;
4270
- }
4271
- handleSelectOptionsChange(optionChildren, value) {
4272
- this.resetListeners$.next();
4273
- this.optionChildren = optionChildren;
4274
- this._value = value;
4275
- this.indexSelectedOption = null;
4276
- this.handleInitialSelectedOption();
4277
- this.handleSelectedOptionsEvent();
4278
- }
4279
- assignValue(value) {
4280
- this._value = value;
4281
- this.handleValueChange();
4282
- }
4283
- handleValueChange() {
4284
- this.changeSelectedOption();
4285
- this.updateSelectPlaceholder();
4286
- this.changeDetectorRef.markForCheck();
4287
- }
4288
- selectNextOption() {
4289
- if (this.indexSelectedOption + 1 >= this.optionChildren.length) {
4290
- return;
4291
- }
4292
- if (this.indexSelectedOption === null) {
4293
- this.indexSelectedOption = 0;
4294
- }
4295
- else {
4296
- this.indexSelectedOption = this.indexSelectedOption + 1;
4297
- }
4298
- this.assignValue(this.optionChildren.get(this.indexSelectedOption).value);
4299
- }
4300
- selectPreviousOption() {
4301
- if (!this.indexSelectedOption) {
4302
- this.indexSelectedOption = null;
4303
- this.assignValue(null);
4304
- return;
4305
- }
4306
- this.indexSelectedOption = this.indexSelectedOption - 1;
4307
- this.assignValue(this.optionChildren.get(this.indexSelectedOption).value);
4308
- }
4309
- searchOptionByFirstLetter(letter) {
4310
- const matchedOptionsIndex = this.optionChildren
4311
- .map((option, index) => this.indexOfMatchedOption(option, index, letter))
4312
- .filter(this.isNotNull);
4313
- if (!matchedOptionsIndex.length) { // reset the selection
4314
- this.indexSelectedOption = null;
4315
- this.assignValue(null);
4316
- return;
4317
- }
4318
- // find the next option after the current selected option, or the first option
4319
- const validOptionIndex = matchedOptionsIndex.find(this.highestAndClosestIndex);
4320
- this.indexSelectedOption = isNaN(validOptionIndex) ? matchedOptionsIndex[0] : validOptionIndex;
4321
- this.assignValue(this.optionChildren.get(this.indexSelectedOption).value);
4322
- }
4323
- handleInitialSelectedOption() {
4324
- setTimeout(() => {
4325
- if (!this.value) {
4326
- this.findInitialSelectedOption();
4327
- return;
4328
- }
4329
- this.handleValueChange();
4330
- }, 0);
4331
- }
4332
- findInitialSelectedOption() {
4333
- const selectedOption = this.getSelectedOptionComponent();
4334
- if (!selectedOption) {
4335
- return;
4336
- }
4337
- this.value = selectedOption.value;
4338
- }
4339
- handleSelectedOptionsEvent() {
4340
- this.optionSelectedChangeListeners().subscribe((selectEvent) => {
4341
- this.value = selectEvent.value;
4342
- });
4343
- }
4344
- updateSelectPlaceholder() {
4345
- if (!this.value) {
4346
- this.selectedOptionContent = null;
4347
- return;
4348
- }
4349
- const selectedOption = this.getSelectedOptionComponent();
4350
- this.selectedOptionContent = selectedOption?.getContentRef().nativeElement.innerHTML || undefined;
4351
- }
4352
- getSelectedOptionComponent() {
4353
- return this.optionChildren.find((option) => option.selected);
4354
- }
4355
- optionSelectedChangeListeners() {
4356
- const selectedChange$ = this.optionChildren.map((option) => {
4357
- return option.selectedChange.pipe(map((value) => {
4358
- return {
4359
- value
4360
- };
4361
- }));
4362
- });
4363
- return merge(...selectedChange$).pipe(takeUntil(this.resetListeners$));
4364
- }
4365
- changeSelectedOption() {
4366
- this.optionChildren.forEach((optionComponent, index) => {
4367
- optionComponent.selected = this.value == undefined ? false : optionComponent.value === this.value;
4368
- if (optionComponent.selected) {
4369
- this.indexSelectedOption = index;
4370
- }
4371
- });
4372
- }
4373
- ngOnDestroy() {
4374
- this.resetListeners$.next();
4375
- this.resetListeners$.complete();
4376
- }
4377
- }
4378
- ValueChangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ValueChangeService, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
4379
- ValueChangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ValueChangeService });
4380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ValueChangeService, decorators: [{
4381
- type: Injectable
4382
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
4383
-
4384
4498
  class SelectSearchTriggerComponent {
4385
4499
  constructor() {
4386
4500
  this.searchValue = '';
@@ -4429,31 +4543,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
4429
4543
  }, template: "<ng-content></ng-content>" }]
4430
4544
  }], ctorParameters: function () { return []; } });
4431
4545
 
4432
- class SelectTestComponent {
4546
+ class SelectTestComponent extends SelectDirective {
4433
4547
  constructor(valueChangeService) {
4548
+ super(valueChangeService);
4434
4549
  this.valueChangeService = valueChangeService;
4435
4550
  //! Refacto improve sroll on mobile, see with Pauline
4436
4551
  // angular material select https://github.com/angular/components/blob/main/src/material/select/select.ts
4437
4552
  this.role = 'combobox';
4438
- this.valueChange = new EventEmitter();
4439
- this.disabled = false;
4440
4553
  this._openPanel = false;
4441
4554
  this.openPanelChange = new EventEmitter();
4442
4555
  this.enableSearch = false;
4443
4556
  this.isDestroyed$ = new Subject();
4444
- // ControlValueAccessor methods
4445
- this.onChange = () => { };
4446
- this.onTouch = () => { }; // todo call it on blur and on close if not disable and opened
4447
- }
4448
- set value(value) {
4449
- this._value = value;
4450
- if (!this.optionChildren) {
4451
- return;
4452
- }
4453
- this.valueChangeService.assignValue(value);
4454
- }
4455
- get value() {
4456
- return this._value;
4557
+ this.isKeyBoardAction = false;
4558
+ this.skipIfTriggeredByKeyboardAction = () => {
4559
+ if (!this.isKeyBoardAction) {
4560
+ return true;
4561
+ }
4562
+ this.isKeyBoardAction = false;
4563
+ return false;
4564
+ };
4565
+ this.onSelectTouch = () => { };
4457
4566
  }
4458
4567
  /** Whether the component is required. */
4459
4568
  get required() {
@@ -4480,31 +4589,21 @@ class SelectTestComponent {
4480
4589
  this.customSearchTrigger?.setFocus();
4481
4590
  }
4482
4591
  if (wasOpen) {
4483
- this.onTouch(this.value);
4592
+ this.onSelectTouch(this.value);
4484
4593
  }
4485
4594
  }
4486
4595
  get openPanel() {
4487
4596
  return this._openPanel;
4488
4597
  }
4489
4598
  ngOnInit() {
4490
- this.handleValueChange();
4599
+ super.ngOnInit();
4600
+ this.closeTabOnValueChange();
4491
4601
  }
4492
- ngAfterViewInit() {
4493
- this.handleOptionChildren();
4494
- }
4495
- handleValueChange() {
4496
- this.valueChangeService.valueChange$.pipe(takeUntil(this.isDestroyed$)).subscribe(value => {
4497
- this._value = value;
4498
- this.valueChange.emit(this.value);
4499
- this.onChange(this.value);
4602
+ closeTabOnValueChange() {
4603
+ this.valueChangeService.valueChange$.pipe(takeUntil(this.isDestroyed$), filter(this.skipIfTriggeredByKeyboardAction)).subscribe(() => {
4500
4604
  this.onClosePanel();
4501
4605
  });
4502
4606
  }
4503
- handleOptionChildren() {
4504
- this.optionChildren.changes.pipe(takeUntil(this.isDestroyed$), startWith(this.optionChildren)).subscribe(optionChildren => {
4505
- this.valueChangeService.handleSelectOptionsChange(optionChildren, this.value);
4506
- });
4507
- }
4508
4607
  onTogglePanel() {
4509
4608
  this.openPanel = !this.openPanel;
4510
4609
  this.openPanelChange.emit(this.openPanel);
@@ -4513,12 +4612,17 @@ class SelectTestComponent {
4513
4612
  this.openPanel = false;
4514
4613
  this.openPanelChange.emit(this.openPanel);
4515
4614
  }
4516
- /** Handles all keydown events on the select. */
4517
- _handleKeydown(event) {
4615
+ onKeydown(event) {
4518
4616
  if (this.disabled) {
4519
4617
  return;
4520
4618
  }
4521
- this.openPanel ? this._handleOpenKeydown(event) : this._handleClosedKeydown(event);
4619
+ event.preventDefault(); // prevents the page from scrolling
4620
+ const actionTriggered = this.openPanel ? this._handleOpenKeydown(event) : this._handleClosedKeydown(event);
4621
+ if (actionTriggered) {
4622
+ return;
4623
+ }
4624
+ this.isKeyBoardAction = true;
4625
+ super.handleKeyboardAction(event);
4522
4626
  }
4523
4627
  /** Handles keyboard events while the select is closed. */
4524
4628
  _handleClosedKeydown(event) {
@@ -4531,20 +4635,10 @@ class SelectTestComponent {
4531
4635
  // Open the select on ALT + arrow key to match the native <select>
4532
4636
  if ((isOpenKey && !hasModifierKey(event)) ||
4533
4637
  (event.altKey && isArrowKey)) {
4534
- event.preventDefault(); // prevents the page from scrolling down when pressing space
4535
4638
  this.openPanel = true;
4536
- return;
4537
- }
4538
- if (!isArrowKey) {
4539
- return;
4540
- }
4541
- event.preventDefault(); // prevents the page from scrolling
4542
- // select the next option on arrow key down
4543
- if (keyCode === DOWN_ARROW || keyCode === RIGHT_ARROW) {
4544
- this.valueChangeService.selectNextOption();
4545
- return;
4639
+ return true;
4546
4640
  }
4547
- this.valueChangeService.selectPreviousOption();
4641
+ return false;
4548
4642
  }
4549
4643
  /** Handles keyboard events when the selected is open. */
4550
4644
  _handleOpenKeydown(event) {
@@ -4554,39 +4648,15 @@ class SelectTestComponent {
4554
4648
  keyCode === LEFT_ARROW ||
4555
4649
  keyCode === RIGHT_ARROW;
4556
4650
  const isEscapeKey = keyCode === ESCAPE || keyCode === ENTER || keyCode === SPACE;
4557
- const isTyping = (keyCode >= A && keyCode <= Z) || (keyCode >= ZERO && keyCode <= NINE);
4558
4651
  if ((isArrowKey && event.altKey) || isEscapeKey) {
4559
4652
  // Close the select on ALT + arrow key to match the native <select>
4560
- event.preventDefault();
4561
4653
  this.openPanel = false;
4562
- return;
4563
- }
4564
- else if (isArrowKey) {
4565
- event.preventDefault(); // prevents the page from scrolling
4566
- // select the next option on arrow key down
4567
- if (keyCode === DOWN_ARROW || keyCode === RIGHT_ARROW) {
4568
- this.valueChangeService.selectNextOption();
4569
- return;
4570
- }
4571
- this.valueChangeService.selectPreviousOption();
4572
- return;
4573
- }
4574
- if (isTyping && !this.customSearchTrigger) {
4575
- this.valueChangeService.searchOptionByFirstLetter(event.key);
4576
- return;
4654
+ return true;
4577
4655
  }
4578
- }
4579
- writeValue(value) {
4580
- if (typeof value === 'undefined') {
4581
- return;
4582
- }
4583
- this.value = value;
4584
- }
4585
- registerOnChange(fn) {
4586
- this.onChange = fn;
4656
+ return false;
4587
4657
  }
4588
4658
  registerOnTouched(fn) {
4589
- this.onTouch = fn;
4659
+ this.onSelectTouch = fn;
4590
4660
  }
4591
4661
  ngOnDestroy() {
4592
4662
  this.isDestroyed$.next();
@@ -4594,10 +4664,10 @@ class SelectTestComponent {
4594
4664
  }
4595
4665
  }
4596
4666
  SelectTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: SelectTestComponent, deps: [{ token: ValueChangeService }], target: i0.ɵɵFactoryTarget.Component });
4597
- SelectTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: SelectTestComponent, selector: "wac-select-test", inputs: { value: "value", required: "required", disabled: "disabled", keepPanelOpen: "keepPanelOpen", openPanel: "openPanel", enableSearch: "enableSearch" }, outputs: { valueChange: "valueChange", openPanelChange: "openPanelChange" }, host: { listeners: { "keydown": "_handleKeydown($event)" }, properties: { "attr.role": "this.role" } }, providers: [
4667
+ SelectTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: SelectTestComponent, selector: "wac-select-test", inputs: { required: "required", keepPanelOpen: "keepPanelOpen", openPanel: "openPanel", enableSearch: "enableSearch" }, outputs: { openPanelChange: "openPanelChange" }, host: { properties: { "attr.role": "this.role" } }, providers: [
4598
4668
  { provide: NG_VALUE_ACCESSOR, useExisting: SelectTestComponent, multi: true },
4599
4669
  ValueChangeService
4600
- ], queries: [{ propertyName: "customSearchTrigger", first: true, predicate: SelectSearchTriggerComponent, descendants: true }, { propertyName: "label", first: true, predicate: LabelComponent, descendants: true }, { propertyName: "optionChildren", predicate: OPTION_SELECTION_HANDLER, descendants: true }], ngImport: i0, template: "<p *ngIf=\"!!label\" class=\"wac-select-test__label\">\n <ng-content select=\"wac-label, .wac-label\" ></ng-content>\n</p>\n\n\n<div\n class=\"wac-select-test\"\n wzAutoHide\n (clickOutside)=\"onClosePanel()\"\n [triggerElement]=\"'wac-select-test__header__selection'\"\n [zIndexToggle]=\"openPanel\"\n >\n\n <div class=\"wac-select-test__header\" [ngClass]=\"{ 'select-disabled' : disabled }\" (click)=\"!disabled && onTogglePanel()\" tabindex=\"0\">\n\n <ng-container [ngTemplateOutlet]=\"openPanel ? openPanelTrigger : closePanelTrigger\" >\n\n <ng-template #closePanelTrigger>\n <ng-container [ngTemplateOutlet]=\"defaultTrigger\"></ng-container>\n </ng-template>\n\n <ng-template #openPanelTrigger>\n <ng-content *ngIf=\"!!customSearchTrigger; else defaultTrigger\" select=\"wac-select-search-trigger\" ></ng-content>\n </ng-template>\n\n <ng-template #defaultTrigger>\n <ng-content *ngIf=\"!selectedOptionContent\" select=\"wac-placeholder,[role=placeholder]\"></ng-content>\n <div\n class=\"wac-select-test__header__selection wac-option__placeholder\"\n *ngIf=\"!!selectedOptionContent\"\n [innerHtml]=\"selectedOptionContent\">\n </div>\n </ng-template>\n\n </ng-container>\n\n <span class=\"wac-select-test__header__chevron\"><i class=\"fas fa-chevron-down\"></i></span>\n\n </div>\n\n\n <div class=\"wac-select-test__content\" *ngIf=\"!disabled\" [ngClass]=\"{ hidden: !openPanel, open: openPanel }\">\n\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\">\n <ng-content\n select=\"wac-option-call-to-action, wac-option, option, .option, [selectOption]\">\n </ng-content>\n </perfect-scrollbar>\n\n <div *ngIf=\"!optionChildren?.length\" class=\"wac-select-test__content__empty\">\n <span>{{'wac.datatable.noresult' | translate}}</span>\n </div>\n\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: AutoHideDirective, selector: "[wzAutoHide]", inputs: ["triggerElement", "forceOn"], outputs: ["clickOutside"] }, { kind: "directive", type: ZindexToggleDirective, selector: "[zIndexToggle]", inputs: ["zIndexToggle"], outputs: ["onEventChange"] }, { kind: "component", type: i4$1.PerfectScrollbarComponent, selector: "perfect-scrollbar", inputs: ["disabled", "usePSClass", "autoPropagation", "scrollIndicators", "config"], outputs: ["psScrollY", "psScrollX", "psScrollUp", "psScrollDown", "psScrollLeft", "psScrollRight", "psYReachEnd", "psYReachStart", "psXReachEnd", "psXReachStart"], exportAs: ["ngxPerfectScrollbar"] }, { kind: "pipe", type: i1$3.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4670
+ ], queries: [{ propertyName: "customSearchTrigger", first: true, predicate: SelectSearchTriggerComponent, descendants: true }, { propertyName: "label", first: true, predicate: LabelComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<p *ngIf=\"!!label\" class=\"wac-select-test__label\">\n <ng-content select=\"wac-label, .wac-label\" ></ng-content>\n</p>\n\n\n<div\n class=\"wac-select-test\"\n wzAutoHide\n (clickOutside)=\"onClosePanel()\"\n [triggerElement]=\"'wac-select-test__header__selection'\"\n [zIndexToggle]=\"openPanel\"\n >\n\n <div class=\"wac-select-test__header\" [ngClass]=\"{ 'select-disabled' : disabled }\" (click)=\"!disabled && onTogglePanel()\" tabindex=\"0\">\n\n <ng-container [ngTemplateOutlet]=\"openPanel ? openPanelTrigger : closePanelTrigger\" >\n\n <ng-template #closePanelTrigger>\n <ng-container [ngTemplateOutlet]=\"defaultTrigger\"></ng-container>\n </ng-template>\n\n <ng-template #openPanelTrigger>\n <ng-content *ngIf=\"!!customSearchTrigger; else defaultTrigger\" select=\"wac-select-search-trigger\" ></ng-content>\n </ng-template>\n\n <ng-template #defaultTrigger>\n <ng-content *ngIf=\"!selectedOptionContent\" select=\"wac-placeholder,[role=placeholder]\"></ng-content>\n <div\n class=\"wac-select-test__header__selection wac-option__placeholder\"\n *ngIf=\"!!selectedOptionContent\"\n [innerHtml]=\"selectedOptionContent\">\n </div>\n </ng-template>\n\n </ng-container>\n\n <span class=\"wac-select-test__header__chevron\"><i class=\"fas fa-chevron-down\"></i></span>\n\n </div>\n\n\n <div class=\"wac-select-test__content\" *ngIf=\"!disabled\" [ngClass]=\"{ hidden: !openPanel, open: openPanel }\">\n\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\">\n <ng-content\n select=\"wac-option-call-to-action, wac-option, option, .option, [selectOption]\">\n </ng-content>\n </perfect-scrollbar>\n\n <div *ngIf=\"!optionChildren?.length\" class=\"wac-select-test__content__empty\">\n <span>{{'wac.datatable.noresult' | translate}}</span>\n </div>\n\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: AutoHideDirective, selector: "[wzAutoHide]", inputs: ["triggerElement", "forceOn"], outputs: ["clickOutside"] }, { kind: "directive", type: ZindexToggleDirective, selector: "[zIndexToggle]", inputs: ["zIndexToggle"], outputs: ["onEventChange"] }, { kind: "component", type: i4$1.PerfectScrollbarComponent, selector: "perfect-scrollbar", inputs: ["disabled", "usePSClass", "autoPropagation", "scrollIndicators", "config"], outputs: ["psScrollY", "psScrollX", "psScrollUp", "psScrollDown", "psScrollLeft", "psScrollRight", "psYReachEnd", "psYReachStart", "psXReachEnd", "psXReachStart"], exportAs: ["ngxPerfectScrollbar"] }, { kind: "pipe", type: i1$3.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
4601
4671
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: SelectTestComponent, decorators: [{
4602
4672
  type: Component,
4603
4673
  args: [{ selector: 'wac-select-test', providers: [
@@ -4607,23 +4677,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
4607
4677
  }], ctorParameters: function () { return [{ type: ValueChangeService }]; }, propDecorators: { role: [{
4608
4678
  type: HostBinding,
4609
4679
  args: ['attr.role']
4610
- }], optionChildren: [{
4611
- type: ContentChildren,
4612
- args: [OPTION_SELECTION_HANDLER, { descendants: true }]
4613
4680
  }], customSearchTrigger: [{
4614
4681
  type: ContentChild,
4615
4682
  args: [SelectSearchTriggerComponent]
4616
4683
  }], label: [{
4617
4684
  type: ContentChild,
4618
4685
  args: [LabelComponent]
4619
- }], value: [{
4620
- type: Input
4621
- }], valueChange: [{
4622
- type: Output
4623
4686
  }], required: [{
4624
4687
  type: Input
4625
- }], disabled: [{
4626
- type: Input
4627
4688
  }], keepPanelOpen: [{
4628
4689
  type: Input
4629
4690
  }], openPanel: [{
@@ -4632,9 +4693,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
4632
4693
  type: Output
4633
4694
  }], enableSearch: [{
4634
4695
  type: Input
4635
- }], _handleKeydown: [{
4636
- type: HostListener,
4637
- args: ['keydown', ['$event']]
4638
4696
  }] } });
4639
4697
 
4640
4698
  class OptionComponent {
@@ -4658,7 +4716,7 @@ class OptionComponent {
4658
4716
  return;
4659
4717
  }
4660
4718
  this.selected = !this.selected;
4661
- this.selectedChange.emit(this.value);
4719
+ this.selectedChange.emit(this.selected);
4662
4720
  this.changeDetectorRef.markForCheck();
4663
4721
  }
4664
4722
  getValue() {
@@ -4673,7 +4731,7 @@ class OptionComponent {
4673
4731
  }
4674
4732
  setSelected(selected) {
4675
4733
  this.selected = selected;
4676
- this.selectedChange.emit(this.value);
4734
+ this.selectedChange.emit(this.selected);
4677
4735
  }
4678
4736
  getContentRef() {
4679
4737
  return this.contentRef;
@@ -5179,7 +5237,7 @@ class AccordionComponent {
5179
5237
  }
5180
5238
  ngAfterViewInit() {
5181
5239
  this.expansionItems.changes
5182
- .pipe(takeUntil$1(this.isDestroyed$), startWith$1(this.expansionItems))
5240
+ .pipe(takeUntil$1(this.isDestroyed$), startWith(this.expansionItems))
5183
5241
  .subscribe(() => {
5184
5242
  this.resetListeners$.next();
5185
5243
  this.panelExpansionChanges().subscribe(expandedItem => {
@@ -5892,5 +5950,5 @@ class TableFiltersGroup extends NwbFilterGroup {
5892
5950
  * Generated bundle index. Do not edit.
5893
5951
  */
5894
5952
 
5895
- export { ACCORDION_ITEM, AbstractDebounceDirective, AccordionComponent, AlertComponent, AlertPopupComponent, AlertPopupModule, AlertPopupService, AreAllOptionsSelectedPipe, AutoHideDirective, BackComponent, BlockComponent, BlockSeparatorComponent, BlockTitleLegacyComponent, BlockWithCheckboxComponent, BreadcrumbsComponent, ButtonComponent, CalendarComponent, CardPriceComponent, CheckBoxRow, CheckboxComponent, ConfirmDeleteComponent, ContentWithButtonsComponent, DebounceKeyupDirective, DeleteComponent, DraganddropListComponent, DropdownComponent, EXPANSION_PANEL_HEADER, ExpansionExport, ExpansionModule, ExpansionPanelBase, ExpansionPanelComponent, ExpansionPanelDirective, ExpansionPanelHeaderComponent, ExpansionPanelHeaderDirective, FilterOptionsPipe, FiltersComponent, FiltersTableService, FormatObjectToRecursifTreePipe, FormatObjectToSimpleTreePipe, FreePopinComponent, GooglePreviewComponent, H1Component, H2Component, H3Component, H4Component, HeaderPageComponent, HtmlContainer, ImageComponent, InfoComponent, InputComponent, InputSearchComponent, InputWithSelectComponent, KeypressEnterDirective, LabelComponent, LinkComponent, LoaderComponent, LogoComponent, MosaicComponent, MultipleSearchComponent, MultipleSearchPlusComponent, OptionCallToActionComponent, OptionComponent, OptionalDisableContainerComponent, PaginationComponent, PlaceholderComponent, PopinComponent, ProgressBarComponent, RadioComponent, SearchComponent, SelectComponent, SelectFiltersPipe, SelectInTextComponent, SelectOptionDirective, SelectSearchTriggerComponent, SelectTestComponent, SelectedListComponent, SeparatorComponent, SettingsComponent, SharedComponentsModule, SharedDirectives, SharedPipes, SnackbarComponent, StateComponent, SummaryComponent, SwitchComponent, TabComponent, TableColumn, TableColumnHeader, TableComponent, TableFiltersGroup, TableRow, TagComponent, TagLabelComponent, TextAreaComponent, TextComponent, TokenCheckComponent, TooltipComponent, TreeComponent, TreeModule, UploadComponent, VarDirective, WiziComponentsModule, WrapperBlocsComponent, WrapperComponent, WrapperMultipleBlockComponent, WrapperSidebarComponent, WzEditInPlaceComponent, ZindexToggleDirective };
5953
+ export { ACCORDION_ITEM, AbstractDebounceDirective, AccordionComponent, AlertComponent, AlertPopupComponent, AlertPopupModule, AlertPopupService, AreAllOptionsSelectedPipe, AutoHideDirective, BackComponent, BlockComponent, BlockSeparatorComponent, BlockTitleLegacyComponent, BlockWithCheckboxComponent, BreadcrumbsComponent, ButtonComponent, CalendarComponent, CardPriceComponent, CheckBoxRow, CheckboxComponent, ConfirmDeleteComponent, ContentWithButtonsComponent, DebounceKeyupDirective, DeleteComponent, DraganddropListComponent, DropdownComponent, EXPANSION_PANEL_HEADER, ExpansionExport, ExpansionModule, ExpansionPanelBase, ExpansionPanelComponent, ExpansionPanelDirective, ExpansionPanelHeaderComponent, ExpansionPanelHeaderDirective, FilterOptionsPipe, FiltersComponent, FiltersTableService, FormatObjectToRecursifTreePipe, FormatObjectToSimpleTreePipe, FreePopinComponent, GooglePreviewComponent, H1Component, H2Component, H3Component, H4Component, HeaderPageComponent, HtmlContainer, ImageComponent, InfoComponent, InputComponent, InputSearchComponent, InputWithSelectComponent, KeypressEnterDirective, LabelComponent, LinkComponent, LoaderComponent, LogoComponent, MosaicComponent, MultipleSearchComponent, MultipleSearchPlusComponent, OptionCallToActionComponent, OptionComponent, OptionalDisableContainerComponent, PaginationComponent, PlaceholderComponent, PopinComponent, ProgressBarComponent, RadioComponent, SearchComponent, SelectComponent, SelectDirective, SelectFiltersPipe, SelectInTextComponent, SelectOptionDirective, SelectSearchTriggerComponent, SelectTestComponent, SelectedListComponent, SeparatorComponent, SettingsComponent, SharedComponentsModule, SharedDirectives, SharedPipes, SnackbarComponent, StateComponent, SummaryComponent, SwitchComponent, TabComponent, TableColumn, TableColumnHeader, TableComponent, TableFiltersGroup, TableRow, TagComponent, TagLabelComponent, TextAreaComponent, TextComponent, TokenCheckComponent, TooltipComponent, TreeComponent, TreeModule, UploadComponent, ValueChangeService, VarDirective, WiziComponentsModule, WrapperBlocsComponent, WrapperComponent, WrapperMultipleBlockComponent, WrapperSidebarComponent, WzEditInPlaceComponent, ZindexToggleDirective };
5896
5954
  //# sourceMappingURL=wizishop-angular-components.mjs.map