@wlcm/angular 18.2.28 → 18.2.30

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 (99) hide show
  1. package/button/esm2022/lib/button.module.mjs +4 -4
  2. package/button/esm2022/lib/components/button/button.component.mjs +14 -10
  3. package/button/esm2022/lib/models/button.models.mjs +1 -1
  4. package/button/fesm2022/wlcm-angular-button.mjs +18 -14
  5. package/button/fesm2022/wlcm-angular-button.mjs.map +1 -1
  6. package/button/lib/components/button/button.component.d.ts +11 -5
  7. package/button/lib/models/button.models.d.ts +4 -1
  8. package/core/esm2022/lib/components/default-loader/default-loader.component.mjs +3 -3
  9. package/core/esm2022/lib/components/icons/calendar-icon/calendar-icon.component.mjs +3 -3
  10. package/core/esm2022/lib/components/icons/chevron-down-icon/chevron-down-icon.component.mjs +3 -3
  11. package/core/esm2022/lib/components/icons/close-icon/close-icon.component.mjs +3 -3
  12. package/core/esm2022/lib/components/icons/search-icon/search-icon.component.mjs +3 -3
  13. package/core/esm2022/lib/components/loader/loader.component.mjs +3 -3
  14. package/core/esm2022/lib/directives/icon.directive.mjs +3 -3
  15. package/core/esm2022/lib/services/scroll-detection.api.mjs +14 -9
  16. package/core/fesm2022/wlcm-angular-core.mjs +34 -29
  17. package/core/fesm2022/wlcm-angular-core.mjs.map +1 -1
  18. package/datepicker/esm2022/lib/components/calendar-header/calendar-header.component.mjs +3 -3
  19. package/datepicker/esm2022/lib/components/range/date-range-calendar-header/date-range-calendar-header.component.mjs +3 -3
  20. package/datepicker/esm2022/lib/components/range/date-range-picker-bottom-panel/date-range-picker-bottom-panel.component.mjs +3 -3
  21. package/datepicker/esm2022/lib/components/range/date-range-picker-input/date-range-picker-input.component.mjs +3 -3
  22. package/datepicker/esm2022/lib/components/range/double-calendar-range-picker/double-calendar-range-picker.component.mjs +3 -3
  23. package/datepicker/esm2022/lib/components/range/single-calendar-range-picker/single-calendar-range-picker.component.mjs +3 -3
  24. package/datepicker/esm2022/lib/components/single/datepicker-input-container/datepicker-input-container.component.mjs +3 -3
  25. package/datepicker/esm2022/lib/components/single/datepicker-panel/datepicker-panel.component.mjs +3 -3
  26. package/datepicker/esm2022/lib/datepicker.module.mjs +4 -4
  27. package/datepicker/esm2022/lib/directives/calendar.directive.mjs +3 -3
  28. package/datepicker/esm2022/lib/directives/datepicker-input.base.mjs +3 -3
  29. package/datepicker/esm2022/lib/directives/datepicker-trigger.base.mjs +3 -3
  30. package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input-end.directive.mjs +3 -3
  31. package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input-start.directive.mjs +3 -3
  32. package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input.base.mjs +3 -3
  33. package/datepicker/esm2022/lib/directives/ragne/left-calendar.directive.mjs +3 -3
  34. package/datepicker/esm2022/lib/directives/ragne/right-calendar.directive.mjs +3 -3
  35. package/datepicker/esm2022/lib/directives/single/datepicker-input.directive.mjs +3 -3
  36. package/datepicker/esm2022/lib/models/date-picker.models.mjs +3 -3
  37. package/datepicker/esm2022/lib/models/range/data-range-calendar.models.mjs +3 -3
  38. package/datepicker/fesm2022/wlcm-angular-datepicker.mjs +61 -61
  39. package/datepicker/fesm2022/wlcm-angular-datepicker.mjs.map +1 -1
  40. package/filters/esm2022/lib/components/filters-group/filters-group.component.mjs +3 -3
  41. package/filters/esm2022/lib/directives/filter.directive.mjs +3 -3
  42. package/filters/esm2022/lib/filters.module.mjs +4 -4
  43. package/filters/esm2022/lib/models/filters-group.models.mjs +3 -3
  44. package/filters/fesm2022/wlcm-angular-filters.mjs +13 -13
  45. package/forms/esm2022/lib/forms/components/autocomplete/autocomplete.component.mjs +3 -3
  46. package/forms/esm2022/lib/forms/components/checkbox/checkbox.component.mjs +5 -5
  47. package/forms/esm2022/lib/forms/components/checkbox-group/checkbox-group.component.mjs +3 -3
  48. package/forms/esm2022/lib/forms/components/error/error.component.mjs +3 -3
  49. package/forms/esm2022/lib/forms/components/form-field/form-field.component.mjs +3 -3
  50. package/forms/esm2022/lib/forms/components/label/label.component.mjs +3 -3
  51. package/forms/esm2022/lib/forms/components/partials/autocomplete-suffix/autocomplete-suffix.component.mjs +3 -3
  52. package/forms/esm2022/lib/forms/components/select/select.component.mjs +3 -3
  53. package/forms/esm2022/lib/forms/directives/autocomplete.directive.mjs +3 -3
  54. package/forms/esm2022/lib/forms/directives/form-field-custom-container.directive.mjs +3 -3
  55. package/forms/esm2022/lib/forms/directives/form-field-hint.directive.mjs +3 -3
  56. package/forms/esm2022/lib/forms/directives/form-field-prefix.directive.mjs +3 -3
  57. package/forms/esm2022/lib/forms/directives/form-field-suffix.directive.mjs +3 -3
  58. package/forms/esm2022/lib/forms/directives/input.directive.mjs +3 -3
  59. package/forms/esm2022/lib/forms/directives/select-input-binder.directive.mjs +3 -3
  60. package/forms/esm2022/lib/forms/forms.module.mjs +4 -4
  61. package/forms/esm2022/lib/forms/models/autocomplete.models.mjs +3 -3
  62. package/forms/esm2022/lib/forms/pipes/errors-mapper.pipe.mjs +3 -3
  63. package/forms/esm2022/lib/forms/services/form-state-handler.service.mjs +3 -3
  64. package/forms/esm2022/lib/forms/services/places.api.mjs +6 -6
  65. package/forms/fesm2022/wlcm-angular-forms.mjs +65 -65
  66. package/forms/fesm2022/wlcm-angular-forms.mjs.map +1 -1
  67. package/forms/lib/forms/services/places.api.d.ts +1 -0
  68. package/package.json +1 -1
  69. package/phone-input/esm2022/lib/components/country-code-select/country-code-select.component.mjs +3 -3
  70. package/phone-input/esm2022/lib/components/phone-input-container/phone-input-container.component.mjs +3 -3
  71. package/phone-input/esm2022/lib/directives/phone-input.directive.mjs +3 -3
  72. package/phone-input/esm2022/lib/phone-input.module.mjs +4 -4
  73. package/phone-input/esm2022/lib/pipes/phone-code.pipe.mjs +3 -3
  74. package/phone-input/fesm2022/wlcm-angular-phone-input.mjs +16 -16
  75. package/search-field/esm2022/lib/components/search-field/search-field.component.mjs +3 -3
  76. package/search-field/esm2022/lib/search-field.module.mjs +4 -4
  77. package/search-field/fesm2022/wlcm-angular-search-field.mjs +7 -7
  78. package/stepper/esm2022/lib/components/step/step.component.mjs +3 -3
  79. package/stepper/esm2022/lib/components/step-header/step-header.component.mjs +3 -3
  80. package/stepper/esm2022/lib/components/stepper/stepper.component.mjs +3 -3
  81. package/stepper/esm2022/lib/components/stepper-header/stepper-header.component.mjs +3 -3
  82. package/stepper/esm2022/lib/directives/load-on-active-step.directive.mjs +3 -3
  83. package/stepper/esm2022/lib/models/step.models.mjs +3 -3
  84. package/stepper/esm2022/lib/models/stepper.models.mjs +3 -3
  85. package/stepper/esm2022/lib/stepper.module.mjs +4 -4
  86. package/stepper/fesm2022/wlcm-angular-stepper.mjs +25 -25
  87. package/styles/components/button/index.scss +66 -1
  88. package/table/esm2022/lib/components/table/table.component.mjs +3 -3
  89. package/table/esm2022/lib/components/table-head/table-head.component.mjs +3 -3
  90. package/table/esm2022/lib/components/table-head-actions/table-head-actions.component.mjs +3 -3
  91. package/table/esm2022/lib/components/table-head-data/table-head-data.component.mjs +3 -3
  92. package/table/esm2022/lib/components/table-row/table-row.component.mjs +3 -3
  93. package/table/esm2022/lib/components/table-row-actions/table-row-actions.component.mjs +3 -3
  94. package/table/esm2022/lib/components/table-row-data/table-row-data.component.mjs +3 -3
  95. package/table/esm2022/lib/components/table-row-spacer/table-row-spacer.component.mjs +3 -3
  96. package/table/esm2022/lib/directives/scrollable-table-container.directive.mjs +3 -3
  97. package/table/esm2022/lib/pipes/table-row-injector.pipe.mjs +3 -3
  98. package/table/esm2022/lib/table.module.mjs +4 -4
  99. package/table/fesm2022/wlcm-angular-table.mjs +34 -34
@@ -2,11 +2,11 @@ import { NgModule } from '@angular/core';
2
2
  import { WlcmButtonComponent } from './components/button/button.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export class WlcmButtonModule {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonModule, imports: [WlcmButtonComponent], exports: [WlcmButtonComponent] }); }
7
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonModule, imports: [WlcmButtonComponent] }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonModule, imports: [WlcmButtonComponent], exports: [WlcmButtonComponent] }); }
7
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonModule, imports: [WlcmButtonComponent] }); }
8
8
  }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonModule, decorators: [{
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonModule, decorators: [{
10
10
  type: NgModule,
11
11
  args: [{
12
12
  imports: [WlcmButtonComponent],
@@ -1,13 +1,19 @@
1
- import { ChangeDetectionStrategy, Component, Input, Output, EventEmitter } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
1
+ import { ChangeDetectionStrategy, Component, Input, Output, EventEmitter, input } from '@angular/core';
3
2
  import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
3
+ import { CommonModule } from '@angular/common';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@angular/common";
6
6
  import * as i2 from "@angular/material/progress-spinner";
7
7
  export class WlcmButtonComponent {
8
8
  constructor() {
9
+ /**
10
+ * @deprecated Use `styleType` instead. This input will be removed in a future release.
11
+ */
9
12
  this.type = 'primary';
10
- this.size = 'large';
13
+ this.size = input('large');
14
+ this.styleType = input('filled');
15
+ this.buttonColor = input('primary');
16
+ this.buttonType = input('button');
11
17
  this.isDisabled = false;
12
18
  this.isLoading = false;
13
19
  this.clicked = new EventEmitter();
@@ -17,16 +23,14 @@ export class WlcmButtonComponent {
17
23
  return;
18
24
  this.clicked.emit();
19
25
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: WlcmButtonComponent, isStandalone: true, selector: "wlcm-button", inputs: { type: "type", size: "size", isDisabled: "isDisabled", isLoading: "isLoading" }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<button\n (click)=\"onClick()\"\n class=\"wlcm-button wlcm-button--{{ type }} wlcm-button--{{ size }}\"\n [ngClass]=\"{\n 'wlcm-button--loading': isLoading,\n 'wlcm-button--disabled': isDisabled\n }\"\n>\n <div class=\"wlcm-button__content\">\n <mat-spinner\n *ngIf=\"isLoading\"\n [color]=\"type === 'primary' ? 'accent' : 'primary'\"\n [diameter]=\"16\"\n ></mat-spinner>\n\n <ng-content></ng-content>\n </div>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
27
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.5", type: WlcmButtonComponent, isStandalone: true, selector: "wlcm-button", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, styleType: { classPropertyName: "styleType", publicName: "styleType", isSignal: true, isRequired: false, transformFunction: null }, buttonColor: { classPropertyName: "buttonColor", publicName: "buttonColor", isSignal: true, isRequired: false, transformFunction: null }, buttonType: { classPropertyName: "buttonType", publicName: "buttonType", isSignal: true, isRequired: false, transformFunction: null }, isDisabled: { classPropertyName: "isDisabled", publicName: "isDisabled", isSignal: false, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<button\n (click)=\"onClick()\"\n class=\"wlcm-button\n wlcm-button--{{ type }}\n wlcm-button--{{ size() }}\n wlcm-button--style-{{ styleType() }}\n wlcm-button--color-{{ buttonColor() }}\"\n [ngClass]=\"{\n 'wlcm-button--loading': isLoading,\n 'wlcm-button--disabled': isDisabled\n }\"\n [type]=\"buttonType()\"\n>\n <div class=\"wlcm-button__content\">\n <mat-spinner\n *ngIf=\"isLoading\"\n [color]=\"type === 'primary' ? 'accent' : 'primary'\"\n [diameter]=\"16\"\n ></mat-spinner>\n\n <ng-content></ng-content>\n </div>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
22
28
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonComponent, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonComponent, decorators: [{
24
30
  type: Component,
25
- args: [{ selector: 'wlcm-button', standalone: true, imports: [CommonModule, MatProgressSpinnerModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n (click)=\"onClick()\"\n class=\"wlcm-button wlcm-button--{{ type }} wlcm-button--{{ size }}\"\n [ngClass]=\"{\n 'wlcm-button--loading': isLoading,\n 'wlcm-button--disabled': isDisabled\n }\"\n>\n <div class=\"wlcm-button__content\">\n <mat-spinner\n *ngIf=\"isLoading\"\n [color]=\"type === 'primary' ? 'accent' : 'primary'\"\n [diameter]=\"16\"\n ></mat-spinner>\n\n <ng-content></ng-content>\n </div>\n</button>\n" }]
31
+ args: [{ selector: 'wlcm-button', standalone: true, imports: [CommonModule, MatProgressSpinnerModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n (click)=\"onClick()\"\n class=\"wlcm-button\n wlcm-button--{{ type }}\n wlcm-button--{{ size() }}\n wlcm-button--style-{{ styleType() }}\n wlcm-button--color-{{ buttonColor() }}\"\n [ngClass]=\"{\n 'wlcm-button--loading': isLoading,\n 'wlcm-button--disabled': isDisabled\n }\"\n [type]=\"buttonType()\"\n>\n <div class=\"wlcm-button__content\">\n <mat-spinner\n *ngIf=\"isLoading\"\n [color]=\"type === 'primary' ? 'accent' : 'primary'\"\n [diameter]=\"16\"\n ></mat-spinner>\n\n <ng-content></ng-content>\n </div>\n</button>\n" }]
26
32
  }], propDecorators: { type: [{
27
33
  type: Input
28
- }], size: [{
29
- type: Input
30
34
  }], isDisabled: [{
31
35
  type: Input
32
36
  }], isLoading: [{
@@ -34,4 +38,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
34
38
  }], clicked: [{
35
39
  type: Output
36
40
  }] } });
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL21vZHVsZXMvYnV0dG9uL3NyYy9saWIvY29tcG9uZW50cy9idXR0b24vYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL21vZHVsZXMvYnV0dG9uL3NyYy9saWIvY29tcG9uZW50cy9idXR0b24vYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDaEcsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLG9DQUFvQyxDQUFDOzs7O0FBVzlFLE1BQU0sT0FBTyxtQkFBbUI7SUFSaEM7UUFTVyxTQUFJLEdBQWUsU0FBUyxDQUFDO1FBRTdCLFNBQUksR0FBc0IsT0FBTyxDQUFDO1FBRWxDLGVBQVUsR0FBWSxLQUFLLENBQUM7UUFFNUIsY0FBUyxHQUFZLEtBQUssQ0FBQztRQUUxQixZQUFPLEdBQXVCLElBQUksWUFBWSxFQUFFLENBQUM7S0FPNUQ7SUFMQyxPQUFPO1FBQ0wsSUFBSSxJQUFJLENBQUMsVUFBVSxJQUFJLElBQUksQ0FBQy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ICdwcmltYXJ5J1wiXG4gICAgICBbZGlhbWV0ZXJdPVwiMTZcIlxuICAgID48L21hdC1zcGlubmVyPlxuXG4gICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICA8L2Rpdj5cbjwvYnV0dG9uPlxuIl19
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZGVscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL21vZHVsZXMvYnV0dG9uL3NyYy9saWIvbW9kZWxzL2J1dHRvbi5tb2RlbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEJ1dHRvblR5cGUgPSAncHJpbWFyeScgfCAnc2Vjb25kYXJ5JyB8ICdhY2NlbnQnIHwgJ2JvcmRlcmxlc3MnIHwgJ3BhZGRpbmdsZXNzJztcbiJdfQ==
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZGVscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL21vZHVsZXMvYnV0dG9uL3NyYy9saWIvbW9kZWxzL2J1dHRvbi5tb2RlbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIFdsY21CdXR0b25UeXBlID0gJ2J1dHRvbicgfCAnc3VibWl0JyB8ICdyZXNldCc7XG5cbmV4cG9ydCB0eXBlIFdsY21CdXR0b25TdHlsZVR5cGUgPSAndGV4dCcgfCAnZmlsbGVkJyB8ICdjb21wYWN0JyB8IChzdHJpbmcgJiBOb25OdWxsYWJsZTx1bmtub3duPik7XG5cbmV4cG9ydCB0eXBlIFdsY21CdXR0b25Db2xvciA9ICdwcmltYXJ5JyB8ICdzZWNvbmRhcnknIHwgJ3dhcm4nIHwgKHN0cmluZyAmIE5vbk51bGxhYmxlPHVua25vd24+KTtcblxuZXhwb3J0IHR5cGUgV2xjbUJ1dHRvblNpemUgPSAnc21hbGwnIHwgJ21lZGl1bScgfCAnbGFyZ2UnIHwgKHN0cmluZyAmIE5vbk51bGxhYmxlPHVua25vd24+KTtcbiJdfQ==
@@ -1,14 +1,20 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
2
+ import { input, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
5
3
  import * as i2 from '@angular/material/progress-spinner';
6
4
  import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
5
+ import * as i1 from '@angular/common';
6
+ import { CommonModule } from '@angular/common';
7
7
 
8
8
  class WlcmButtonComponent {
9
9
  constructor() {
10
+ /**
11
+ * @deprecated Use `styleType` instead. This input will be removed in a future release.
12
+ */
10
13
  this.type = 'primary';
11
- this.size = 'large';
14
+ this.size = input('large');
15
+ this.styleType = input('filled');
16
+ this.buttonColor = input('primary');
17
+ this.buttonType = input('button');
12
18
  this.isDisabled = false;
13
19
  this.isLoading = false;
14
20
  this.clicked = new EventEmitter();
@@ -18,16 +24,14 @@ class WlcmButtonComponent {
18
24
  return;
19
25
  this.clicked.emit();
20
26
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: WlcmButtonComponent, isStandalone: true, selector: "wlcm-button", inputs: { type: "type", size: "size", isDisabled: "isDisabled", isLoading: "isLoading" }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<button\n (click)=\"onClick()\"\n class=\"wlcm-button wlcm-button--{{ type }} wlcm-button--{{ size }}\"\n [ngClass]=\"{\n 'wlcm-button--loading': isLoading,\n 'wlcm-button--disabled': isDisabled\n }\"\n>\n <div class=\"wlcm-button__content\">\n <mat-spinner\n *ngIf=\"isLoading\"\n [color]=\"type === 'primary' ? 'accent' : 'primary'\"\n [diameter]=\"16\"\n ></mat-spinner>\n\n <ng-content></ng-content>\n </div>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
28
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.5", type: WlcmButtonComponent, isStandalone: true, selector: "wlcm-button", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, styleType: { classPropertyName: "styleType", publicName: "styleType", isSignal: true, isRequired: false, transformFunction: null }, buttonColor: { classPropertyName: "buttonColor", publicName: "buttonColor", isSignal: true, isRequired: false, transformFunction: null }, buttonType: { classPropertyName: "buttonType", publicName: "buttonType", isSignal: true, isRequired: false, transformFunction: null }, isDisabled: { classPropertyName: "isDisabled", publicName: "isDisabled", isSignal: false, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<button\n (click)=\"onClick()\"\n class=\"wlcm-button\n wlcm-button--{{ type }}\n wlcm-button--{{ size() }}\n wlcm-button--style-{{ styleType() }}\n wlcm-button--color-{{ buttonColor() }}\"\n [ngClass]=\"{\n 'wlcm-button--loading': isLoading,\n 'wlcm-button--disabled': isDisabled\n }\"\n [type]=\"buttonType()\"\n>\n <div class=\"wlcm-button__content\">\n <mat-spinner\n *ngIf=\"isLoading\"\n [color]=\"type === 'primary' ? 'accent' : 'primary'\"\n [diameter]=\"16\"\n ></mat-spinner>\n\n <ng-content></ng-content>\n </div>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
23
29
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonComponent, decorators: [{
25
31
  type: Component,
26
- args: [{ selector: 'wlcm-button', standalone: true, imports: [CommonModule, MatProgressSpinnerModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n (click)=\"onClick()\"\n class=\"wlcm-button wlcm-button--{{ type }} wlcm-button--{{ size }}\"\n [ngClass]=\"{\n 'wlcm-button--loading': isLoading,\n 'wlcm-button--disabled': isDisabled\n }\"\n>\n <div class=\"wlcm-button__content\">\n <mat-spinner\n *ngIf=\"isLoading\"\n [color]=\"type === 'primary' ? 'accent' : 'primary'\"\n [diameter]=\"16\"\n ></mat-spinner>\n\n <ng-content></ng-content>\n </div>\n</button>\n" }]
32
+ args: [{ selector: 'wlcm-button', standalone: true, imports: [CommonModule, MatProgressSpinnerModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n (click)=\"onClick()\"\n class=\"wlcm-button\n wlcm-button--{{ type }}\n wlcm-button--{{ size() }}\n wlcm-button--style-{{ styleType() }}\n wlcm-button--color-{{ buttonColor() }}\"\n [ngClass]=\"{\n 'wlcm-button--loading': isLoading,\n 'wlcm-button--disabled': isDisabled\n }\"\n [type]=\"buttonType()\"\n>\n <div class=\"wlcm-button__content\">\n <mat-spinner\n *ngIf=\"isLoading\"\n [color]=\"type === 'primary' ? 'accent' : 'primary'\"\n [diameter]=\"16\"\n ></mat-spinner>\n\n <ng-content></ng-content>\n </div>\n</button>\n" }]
27
33
  }], propDecorators: { type: [{
28
34
  type: Input
29
- }], size: [{
30
- type: Input
31
35
  }], isDisabled: [{
32
36
  type: Input
33
37
  }], isLoading: [{
@@ -37,11 +41,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
37
41
  }] } });
38
42
 
39
43
  class WlcmButtonModule {
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
41
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonModule, imports: [WlcmButtonComponent], exports: [WlcmButtonComponent] }); }
42
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonModule, imports: [WlcmButtonComponent] }); }
44
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
45
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonModule, imports: [WlcmButtonComponent], exports: [WlcmButtonComponent] }); }
46
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonModule, imports: [WlcmButtonComponent] }); }
43
47
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmButtonModule, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmButtonModule, decorators: [{
45
49
  type: NgModule,
46
50
  args: [{
47
51
  imports: [WlcmButtonComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"wlcm-angular-button.mjs","sources":["../../../../modules/button/src/lib/components/button/button.component.ts","../../../../modules/button/src/lib/components/button/button.component.html","../../../../modules/button/src/lib/button.module.ts","../../../../modules/button/src/wlcm-angular-button.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, Output, EventEmitter } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { ButtonType } from '../../models/button.models';\n\n@Component({\n selector: 'wlcm-button',\n standalone: true,\n imports: [CommonModule, MatProgressSpinnerModule],\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WlcmButtonComponent {\n @Input() type: ButtonType = 'primary';\n\n @Input() size: 'small' | 'large' = 'large';\n\n @Input() isDisabled: boolean = false;\n\n @Input() isLoading: boolean = false;\n\n @Output() clicked: EventEmitter<void> = new EventEmitter();\n\n onClick() {\n if (this.isDisabled || this.isLoading) return;\n\n this.clicked.emit();\n }\n}\n","<button\n (click)=\"onClick()\"\n class=\"wlcm-button wlcm-button--{{ type }} wlcm-button--{{ size }}\"\n [ngClass]=\"{\n 'wlcm-button--loading': isLoading,\n 'wlcm-button--disabled': isDisabled\n }\"\n>\n <div class=\"wlcm-button__content\">\n <mat-spinner\n *ngIf=\"isLoading\"\n [color]=\"type === 'primary' ? 'accent' : 'primary'\"\n [diameter]=\"16\"\n ></mat-spinner>\n\n <ng-content></ng-content>\n </div>\n</button>\n","import { NgModule } from '@angular/core';\nimport { WlcmButtonComponent } from './components/button/button.component';\n\n@NgModule({\n imports: [WlcmButtonComponent],\n exports: [WlcmButtonComponent],\n})\nexport class WlcmButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAaa,mBAAmB,CAAA;AARhC,IAAA,WAAA,GAAA;QASW,IAAI,CAAA,IAAA,GAAe,SAAS,CAAC;QAE7B,IAAI,CAAA,IAAA,GAAsB,OAAO,CAAC;QAElC,IAAU,CAAA,UAAA,GAAY,KAAK,CAAC;QAE5B,IAAS,CAAA,SAAA,GAAY,KAAK,CAAC;AAE1B,QAAA,IAAA,CAAA,OAAO,GAAuB,IAAI,YAAY,EAAE,CAAC;AAO5D,KAAA;IALC,OAAO,GAAA;AACL,QAAA,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,SAAS;YAAE,OAAO;AAE9C,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;KACrB;8GAfU,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,ECbhC,YAAA,EAAA,IAAA,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B,gBAAgB,EAAA,OAAA,EAAA,CAHjB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACnB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;AAElB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAHjB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGlB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC/B,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"wlcm-angular-button.mjs","sources":["../../../../modules/button/src/lib/components/button/button.component.ts","../../../../modules/button/src/lib/components/button/button.component.html","../../../../modules/button/src/lib/button.module.ts","../../../../modules/button/src/wlcm-angular-button.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, Output, EventEmitter, InputSignal, input } from '@angular/core';\nimport { WlcmButtonColor, WlcmButtonSize, WlcmButtonStyleType, WlcmButtonType } from '../../models/button.models';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'wlcm-button',\n standalone: true,\n imports: [CommonModule, MatProgressSpinnerModule],\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WlcmButtonComponent {\n /**\n * @deprecated Use `styleType` instead. This input will be removed in a future release.\n */\n @Input() type = 'primary';\n\n size: InputSignal<WlcmButtonSize> = input<WlcmButtonSize>('large');\n\n styleType: InputSignal<WlcmButtonStyleType> = input<WlcmButtonStyleType>('filled');\n\n buttonColor: InputSignal<WlcmButtonColor> = input<WlcmButtonColor>('primary');\n\n buttonType: InputSignal<WlcmButtonType> = input<WlcmButtonType>('button');\n\n @Input() isDisabled = false;\n\n @Input() isLoading = false;\n\n @Output() clicked: EventEmitter<void> = new EventEmitter();\n\n onClick() {\n if (this.isDisabled || this.isLoading) return;\n\n this.clicked.emit();\n }\n}\n","<button\n (click)=\"onClick()\"\n class=\"wlcm-button\n wlcm-button--{{ type }}\n wlcm-button--{{ size() }}\n wlcm-button--style-{{ styleType() }}\n wlcm-button--color-{{ buttonColor() }}\"\n [ngClass]=\"{\n 'wlcm-button--loading': isLoading,\n 'wlcm-button--disabled': isDisabled\n }\"\n [type]=\"buttonType()\"\n>\n <div class=\"wlcm-button__content\">\n <mat-spinner\n *ngIf=\"isLoading\"\n [color]=\"type === 'primary' ? 'accent' : 'primary'\"\n [diameter]=\"16\"\n ></mat-spinner>\n\n <ng-content></ng-content>\n </div>\n</button>\n","import { NgModule } from '@angular/core';\nimport { WlcmButtonComponent } from './components/button/button.component';\n\n@NgModule({\n imports: [WlcmButtonComponent],\n exports: [WlcmButtonComponent],\n})\nexport class WlcmButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAaa,mBAAmB,CAAA;AARhC,IAAA,WAAA,GAAA;AASE;;AAEG;QACM,IAAI,CAAA,IAAA,GAAG,SAAS,CAAC;AAE1B,QAAA,IAAA,CAAA,IAAI,GAAgC,KAAK,CAAiB,OAAO,CAAC,CAAC;AAEnE,QAAA,IAAA,CAAA,SAAS,GAAqC,KAAK,CAAsB,QAAQ,CAAC,CAAC;AAEnF,QAAA,IAAA,CAAA,WAAW,GAAiC,KAAK,CAAkB,SAAS,CAAC,CAAC;AAE9E,QAAA,IAAA,CAAA,UAAU,GAAgC,KAAK,CAAiB,QAAQ,CAAC,CAAC;QAEjE,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;QAEnB,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;A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AAA,CAAA;sBAAhB,MAAM;;;MExBI,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAhB,gBAAgB,EAAA,OAAA,EAAA,CAHjB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACnB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;AAElB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAHjB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGlB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC/B,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
@@ -1,13 +1,19 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { ButtonType } from '../../models/button.models';
1
+ import { EventEmitter, InputSignal } from '@angular/core';
2
+ import { WlcmButtonColor, WlcmButtonSize, WlcmButtonStyleType, WlcmButtonType } from '../../models/button.models';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class WlcmButtonComponent {
5
- type: ButtonType;
6
- size: 'small' | 'large';
5
+ /**
6
+ * @deprecated Use `styleType` instead. This input will be removed in a future release.
7
+ */
8
+ type: string;
9
+ size: InputSignal<WlcmButtonSize>;
10
+ styleType: InputSignal<WlcmButtonStyleType>;
11
+ buttonColor: InputSignal<WlcmButtonColor>;
12
+ buttonType: InputSignal<WlcmButtonType>;
7
13
  isDisabled: boolean;
8
14
  isLoading: boolean;
9
15
  clicked: EventEmitter<void>;
10
16
  onClick(): void;
11
17
  static ɵfac: i0.ɵɵFactoryDeclaration<WlcmButtonComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<WlcmButtonComponent, "wlcm-button", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<WlcmButtonComponent, "wlcm-button", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "styleType": { "alias": "styleType"; "required": false; "isSignal": true; }; "buttonColor": { "alias": "buttonColor"; "required": false; "isSignal": true; }; "buttonType": { "alias": "buttonType"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
13
19
  }
@@ -1 +1,4 @@
1
- export type ButtonType = 'primary' | 'secondary' | 'accent' | 'borderless' | 'paddingless';
1
+ export type WlcmButtonType = 'button' | 'submit' | 'reset';
2
+ export type WlcmButtonStyleType = 'text' | 'filled' | 'compact' | (string & NonNullable<unknown>);
3
+ export type WlcmButtonColor = 'primary' | 'secondary' | 'warn' | (string & NonNullable<unknown>);
4
+ export type WlcmButtonSize = 'small' | 'medium' | 'large' | (string & NonNullable<unknown>);
@@ -2,10 +2,10 @@ import { Component } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from "@angular/core";
4
4
  export class WlcmDefaultLoaderComponent {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmDefaultLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: WlcmDefaultLoaderComponent, isStandalone: true, selector: "wlcm-default-loader", host: { classAttribute: "wlcm-default-loader" }, ngImport: i0, template: "<div class=\"spinner center\">\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmDefaultLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: WlcmDefaultLoaderComponent, isStandalone: true, selector: "wlcm-default-loader", host: { classAttribute: "wlcm-default-loader" }, ngImport: i0, template: "<div class=\"spinner center\">\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
7
7
  }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmDefaultLoaderComponent, decorators: [{
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmDefaultLoaderComponent, decorators: [{
9
9
  type: Component,
10
10
  args: [{ selector: 'wlcm-default-loader', host: { class: 'wlcm-default-loader' }, standalone: true, imports: [CommonModule], template: "<div class=\"spinner center\">\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n <div class=\"spinner-blade\"></div>\n</div>\n" }]
11
11
  }] });
@@ -2,10 +2,10 @@ import { Component } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from "@angular/core";
4
4
  export class CalendarIconComponent {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CalendarIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: CalendarIconComponent, isStandalone: true, selector: "wlcm-calendar-icon", ngImport: i0, template: "<svg\n width=\"16px\"\n height=\"16px\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n>\n <g\n id=\"icon/date-grey\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"16\" height=\"16\"></rect>\n <path\n d=\"M11,0 C11.5522847,0 12,0.44771525 12,1 L14,1 C15.1045695,1 16,1.8954305 16,3 L16,14 C16,15.1045695 15.1045695,16 14,16 L2,16 C0.8954305,16 0,15.1045695 0,14 L0,3 C0,1.8954305 0.8954305,1 2,1 L4,1 C4,0.44771525 4.44771525,0 5,0 C5.55228475,0 6,0.44771525 6,1 L10,1 C10,0.44771525 10.4477153,0 11,0 Z M14,7 L2,7 L2,14 L14,14 L14,7 Z M4,3 L2,3 L2,5 L14,5 L14,3 L12,3 C12,3.55228475 11.5522847,4 11,4 C10.4477153,4 10,3.55228475 10,3 L6,3 C6,3.55228475 5.55228475,4 5,4 C4.44771525,4 4,3.55228475 4,3 Z\"\n id=\"Combined-Shape\"\n fill=\"#8E9498\"\n fill-rule=\"nonzero\"\n ></path>\n <rect\n id=\"Rectangle\"\n fill=\"#8E9498\"\n x=\"9\"\n y=\"9\"\n width=\"3\"\n height=\"3\"\n rx=\"1\"\n ></rect>\n </g>\n</svg>\n", styles: [":host{display:block;cursor:pointer}:host svg{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: CalendarIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: CalendarIconComponent, isStandalone: true, selector: "wlcm-calendar-icon", ngImport: i0, template: "<svg\n width=\"16px\"\n height=\"16px\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n>\n <g\n id=\"icon/date-grey\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"16\" height=\"16\"></rect>\n <path\n d=\"M11,0 C11.5522847,0 12,0.44771525 12,1 L14,1 C15.1045695,1 16,1.8954305 16,3 L16,14 C16,15.1045695 15.1045695,16 14,16 L2,16 C0.8954305,16 0,15.1045695 0,14 L0,3 C0,1.8954305 0.8954305,1 2,1 L4,1 C4,0.44771525 4.44771525,0 5,0 C5.55228475,0 6,0.44771525 6,1 L10,1 C10,0.44771525 10.4477153,0 11,0 Z M14,7 L2,7 L2,14 L14,14 L14,7 Z M4,3 L2,3 L2,5 L14,5 L14,3 L12,3 C12,3.55228475 11.5522847,4 11,4 C10.4477153,4 10,3.55228475 10,3 L6,3 C6,3.55228475 5.55228475,4 5,4 C4.44771525,4 4,3.55228475 4,3 Z\"\n id=\"Combined-Shape\"\n fill=\"#8E9498\"\n fill-rule=\"nonzero\"\n ></path>\n <rect\n id=\"Rectangle\"\n fill=\"#8E9498\"\n x=\"9\"\n y=\"9\"\n width=\"3\"\n height=\"3\"\n rx=\"1\"\n ></rect>\n </g>\n</svg>\n", styles: [":host{display:block;cursor:pointer}:host svg{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
7
7
  }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CalendarIconComponent, decorators: [{
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: CalendarIconComponent, decorators: [{
9
9
  type: Component,
10
10
  args: [{ selector: 'wlcm-calendar-icon', standalone: true, imports: [CommonModule], template: "<svg\n width=\"16px\"\n height=\"16px\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n>\n <g\n id=\"icon/date-grey\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"16\" height=\"16\"></rect>\n <path\n d=\"M11,0 C11.5522847,0 12,0.44771525 12,1 L14,1 C15.1045695,1 16,1.8954305 16,3 L16,14 C16,15.1045695 15.1045695,16 14,16 L2,16 C0.8954305,16 0,15.1045695 0,14 L0,3 C0,1.8954305 0.8954305,1 2,1 L4,1 C4,0.44771525 4.44771525,0 5,0 C5.55228475,0 6,0.44771525 6,1 L10,1 C10,0.44771525 10.4477153,0 11,0 Z M14,7 L2,7 L2,14 L14,14 L14,7 Z M4,3 L2,3 L2,5 L14,5 L14,3 L12,3 C12,3.55228475 11.5522847,4 11,4 C10.4477153,4 10,3.55228475 10,3 L6,3 C6,3.55228475 5.55228475,4 5,4 C4.44771525,4 4,3.55228475 4,3 Z\"\n id=\"Combined-Shape\"\n fill=\"#8E9498\"\n fill-rule=\"nonzero\"\n ></path>\n <rect\n id=\"Rectangle\"\n fill=\"#8E9498\"\n x=\"9\"\n y=\"9\"\n width=\"3\"\n height=\"3\"\n rx=\"1\"\n ></rect>\n </g>\n</svg>\n", styles: [":host{display:block;cursor:pointer}:host svg{display:block}\n"] }]
11
11
  }] });
@@ -2,10 +2,10 @@ import { Component } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from "@angular/core";
4
4
  export class ChevronDownIconComponent {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ChevronDownIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: ChevronDownIconComponent, isStandalone: true, selector: "wlcm-chevron-down-icon", ngImport: i0, template: "<svg\n width=\"12px\"\n height=\"7px\"\n viewBox=\"0 0 12 7\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n>\n <g\n id=\"4-Media-Library\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <g id=\"4.1.0-Filter-by-type\" transform=\"translate(-303.000000, -73.000000)\">\n <g id=\"Group-7\" transform=\"translate(45.000000, 64.000000)\">\n <g id=\"Group\" transform=\"translate(258.000000, 6.000000)\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"12\" height=\"12\"></rect>\n <polyline\n id=\"Path\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n points=\"1 4 6 9 11 4\"\n ></polyline>\n </g>\n </g>\n </g>\n </g>\n</svg>\n", styles: [":host{display:block}:host svg{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: ChevronDownIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: ChevronDownIconComponent, isStandalone: true, selector: "wlcm-chevron-down-icon", ngImport: i0, template: "<svg\n width=\"12px\"\n height=\"7px\"\n viewBox=\"0 0 12 7\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n>\n <g\n id=\"4-Media-Library\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <g id=\"4.1.0-Filter-by-type\" transform=\"translate(-303.000000, -73.000000)\">\n <g id=\"Group-7\" transform=\"translate(45.000000, 64.000000)\">\n <g id=\"Group\" transform=\"translate(258.000000, 6.000000)\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"12\" height=\"12\"></rect>\n <polyline\n id=\"Path\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n points=\"1 4 6 9 11 4\"\n ></polyline>\n </g>\n </g>\n </g>\n </g>\n</svg>\n", styles: [":host{display:block}:host svg{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
7
7
  }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ChevronDownIconComponent, decorators: [{
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: ChevronDownIconComponent, decorators: [{
9
9
  type: Component,
10
10
  args: [{ selector: 'wlcm-chevron-down-icon', standalone: true, imports: [CommonModule], template: "<svg\n width=\"12px\"\n height=\"7px\"\n viewBox=\"0 0 12 7\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n>\n <g\n id=\"4-Media-Library\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <g id=\"4.1.0-Filter-by-type\" transform=\"translate(-303.000000, -73.000000)\">\n <g id=\"Group-7\" transform=\"translate(45.000000, 64.000000)\">\n <g id=\"Group\" transform=\"translate(258.000000, 6.000000)\">\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"12\" height=\"12\"></rect>\n <polyline\n id=\"Path\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n points=\"1 4 6 9 11 4\"\n ></polyline>\n </g>\n </g>\n </g>\n </g>\n</svg>\n", styles: [":host{display:block}:host svg{display:block}\n"] }]
11
11
  }] });
@@ -2,10 +2,10 @@ import { Component } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from "@angular/core";
4
4
  export class CloseIconComponent {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CloseIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: CloseIconComponent, isStandalone: true, selector: "wlcm-close-icon", ngImport: i0, template: "<svg\n width=\"16px\"\n height=\"16px\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n>\n <g\n id=\"2-User-Management\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <g\n id=\"2.0.1-Export-users-two-filters\"\n transform=\"translate(-310.000000, -54.000000)\"\n >\n <g id=\"icons/close\" transform=\"translate(310.000000, 54.000000)\">\n <rect\n id=\"Rectangle\"\n fill=\"#EDF0F3\"\n x=\"0\"\n y=\"0\"\n width=\"16\"\n height=\"16\"\n rx=\"4\"\n ></rect>\n <path\n d=\"M12,4 L4,12 M4,4 L12,12\"\n id=\"Combined-Shape\"\n stroke=\"#4A5056\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n ></path>\n </g>\n </g>\n </g>\n</svg>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: CloseIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: CloseIconComponent, isStandalone: true, selector: "wlcm-close-icon", ngImport: i0, template: "<svg\n width=\"16px\"\n height=\"16px\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n>\n <g\n id=\"2-User-Management\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <g\n id=\"2.0.1-Export-users-two-filters\"\n transform=\"translate(-310.000000, -54.000000)\"\n >\n <g id=\"icons/close\" transform=\"translate(310.000000, 54.000000)\">\n <rect\n id=\"Rectangle\"\n fill=\"#EDF0F3\"\n x=\"0\"\n y=\"0\"\n width=\"16\"\n height=\"16\"\n rx=\"4\"\n ></rect>\n <path\n d=\"M12,4 L4,12 M4,4 L12,12\"\n id=\"Combined-Shape\"\n stroke=\"#4A5056\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n ></path>\n </g>\n </g>\n </g>\n</svg>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
7
7
  }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: CloseIconComponent, decorators: [{
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: CloseIconComponent, decorators: [{
9
9
  type: Component,
10
10
  args: [{ selector: 'wlcm-close-icon', standalone: true, imports: [CommonModule], template: "<svg\n width=\"16px\"\n height=\"16px\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n>\n <g\n id=\"2-User-Management\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <g\n id=\"2.0.1-Export-users-two-filters\"\n transform=\"translate(-310.000000, -54.000000)\"\n >\n <g id=\"icons/close\" transform=\"translate(310.000000, 54.000000)\">\n <rect\n id=\"Rectangle\"\n fill=\"#EDF0F3\"\n x=\"0\"\n y=\"0\"\n width=\"16\"\n height=\"16\"\n rx=\"4\"\n ></rect>\n <path\n d=\"M12,4 L4,12 M4,4 L12,12\"\n id=\"Combined-Shape\"\n stroke=\"#4A5056\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n ></path>\n </g>\n </g>\n </g>\n</svg>\n" }]
11
11
  }] });
@@ -2,10 +2,10 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from "@angular/core";
4
4
  export class SearchIconComponent {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: SearchIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: SearchIconComponent, isStandalone: true, selector: "wlcm-search-icon", ngImport: i0, template: "<svg\n width=\"16px\"\n height=\"16px\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n style=\"display: block\"\n>\n <g\n id=\"icons/search\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"16\" height=\"16\"></rect>\n <path\n d=\"M7,0 C10.8659932,0 14,3.13400675 14,7 C14,8.57234957 13.4815869,10.0236173 12.6063605,11.1922034 L15.1213203,13.7071068 C15.5118446,14.0976311 15.5118446,14.7307961 15.1213203,15.1213203 C14.7307961,15.5118446 14.0976311,15.5118446 13.7071068,15.1213203 L11.1922034,12.6063605 C10.0236173,13.4815869 8.57234957,14 7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675 3.13400675,0 7,0 Z M7,2 C4.23857625,2 2,4.23857625 2,7 C2,9.76142375 4.23857625,12 7,12 C9.76142375,12 12,9.76142375 12,7 C12,4.23857625 9.76142375,2 7,2 Z\"\n id=\"Combined-Shape\"\n fill=\"currentColor\"\n fill-rule=\"nonzero\"\n ></path>\n </g>\n</svg>\n", styles: [":host{display:block;color:#5a5a5a}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SearchIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: SearchIconComponent, isStandalone: true, selector: "wlcm-search-icon", ngImport: i0, template: "<svg\n width=\"16px\"\n height=\"16px\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n style=\"display: block\"\n>\n <g\n id=\"icons/search\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"16\" height=\"16\"></rect>\n <path\n d=\"M7,0 C10.8659932,0 14,3.13400675 14,7 C14,8.57234957 13.4815869,10.0236173 12.6063605,11.1922034 L15.1213203,13.7071068 C15.5118446,14.0976311 15.5118446,14.7307961 15.1213203,15.1213203 C14.7307961,15.5118446 14.0976311,15.5118446 13.7071068,15.1213203 L11.1922034,12.6063605 C10.0236173,13.4815869 8.57234957,14 7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675 3.13400675,0 7,0 Z M7,2 C4.23857625,2 2,4.23857625 2,7 C2,9.76142375 4.23857625,12 7,12 C9.76142375,12 12,9.76142375 12,7 C12,4.23857625 9.76142375,2 7,2 Z\"\n id=\"Combined-Shape\"\n fill=\"currentColor\"\n fill-rule=\"nonzero\"\n ></path>\n </g>\n</svg>\n", styles: [":host{display:block;color:#5a5a5a}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7
7
  }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: SearchIconComponent, decorators: [{
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SearchIconComponent, decorators: [{
9
9
  type: Component,
10
10
  args: [{ selector: 'wlcm-search-icon', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg\n width=\"16px\"\n height=\"16px\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n style=\"display: block\"\n>\n <g\n id=\"icons/search\"\n stroke=\"none\"\n stroke-width=\"1\"\n fill=\"none\"\n fill-rule=\"evenodd\"\n >\n <rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"16\" height=\"16\"></rect>\n <path\n d=\"M7,0 C10.8659932,0 14,3.13400675 14,7 C14,8.57234957 13.4815869,10.0236173 12.6063605,11.1922034 L15.1213203,13.7071068 C15.5118446,14.0976311 15.5118446,14.7307961 15.1213203,15.1213203 C14.7307961,15.5118446 14.0976311,15.5118446 13.7071068,15.1213203 L11.1922034,12.6063605 C10.0236173,13.4815869 8.57234957,14 7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675 3.13400675,0 7,0 Z M7,2 C4.23857625,2 2,4.23857625 2,7 C2,9.76142375 4.23857625,12 7,12 C9.76142375,12 12,9.76142375 12,7 C12,4.23857625 9.76142375,2 7,2 Z\"\n id=\"Combined-Shape\"\n fill=\"currentColor\"\n fill-rule=\"nonzero\"\n ></path>\n </g>\n</svg>\n", styles: [":host{display:block;color:#5a5a5a}\n"] }]
11
11
  }] });
@@ -16,10 +16,10 @@ export class WlcmLoaderComponent {
16
16
  this.container().createComponent(this.loaderComponent);
17
17
  });
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmLoaderComponent, deps: [{ token: WLCM_LOADER_COMPONENT }], target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.6", type: WlcmLoaderComponent, isStandalone: true, selector: "wlcm-loader", inputs: { hidden: { classPropertyName: "hidden", publicName: "hidden", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.wlcm-loader-hidden": "this.isHidden" }, classAttribute: "wlcm-loader" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, isSignal: true }], ngImport: i0, template: "<div class=\"wlcm-loader-container\">\n <ng-container #container></ng-container>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmLoaderComponent, deps: [{ token: WLCM_LOADER_COMPONENT }], target: i0.ɵɵFactoryTarget.Component }); }
20
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "17.3.5", type: WlcmLoaderComponent, isStandalone: true, selector: "wlcm-loader", inputs: { hidden: { classPropertyName: "hidden", publicName: "hidden", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.wlcm-loader-hidden": "this.isHidden" }, classAttribute: "wlcm-loader" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, isSignal: true }], ngImport: i0, template: "<div class=\"wlcm-loader-container\">\n <ng-container #container></ng-container>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmLoaderComponent, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmLoaderComponent, decorators: [{
23
23
  type: Component,
24
24
  args: [{ selector: 'wlcm-loader', host: { class: 'wlcm-loader' }, standalone: true, imports: [CommonModule], template: "<div class=\"wlcm-loader-container\">\n <ng-container #container></ng-container>\n</div>\n" }]
25
25
  }], ctorParameters: () => [{ type: i0.Type, decorators: [{
@@ -28,15 +28,15 @@ let WlcmIconDirective = class WlcmIconDirective {
28
28
  this.handleClick(ref);
29
29
  }
30
30
  }
31
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmIconDirective, deps: [{ token: WLCM_ICONS }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
32
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.6", type: WlcmIconDirective, isStandalone: true, selector: "[wlcmIcon]", inputs: { name: { classPropertyName: "name", publicName: "wlcmIcon", isSignal: true, isRequired: true, transformFunction: null }, stopPropagation: { classPropertyName: "stopPropagation", publicName: "wlcmIconStopPropagation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "wlcmIconClicked" }, ngImport: i0 }); }
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmIconDirective, deps: [{ token: WLCM_ICONS }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
32
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.3.5", type: WlcmIconDirective, isStandalone: true, selector: "[wlcmIcon]", inputs: { name: { classPropertyName: "name", publicName: "wlcmIcon", isSignal: true, isRequired: true, transformFunction: null }, stopPropagation: { classPropertyName: "stopPropagation", publicName: "wlcmIconStopPropagation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "wlcmIconClicked" }, ngImport: i0 }); }
33
33
  };
34
34
  WlcmIconDirective = __decorate([
35
35
  UntilDestroy(),
36
36
  __metadata("design:paramtypes", [Object, ViewContainerRef])
37
37
  ], WlcmIconDirective);
38
38
  export { WlcmIconDirective };
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: WlcmIconDirective, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmIconDirective, decorators: [{
40
40
  type: Directive,
41
41
  args: [{
42
42
  selector: '[wlcmIcon]',
@@ -6,29 +6,34 @@ export class ScrollDetectionApi {
6
6
  this.zone = zone;
7
7
  }
8
8
  onScrolledDown(element, threshold = 0.8) {
9
- let lastScrollHeight = 0;
9
+ let lastScrollHeight = 0, scrollHeightChanged = false;
10
10
  return new Observable((subscriber) => {
11
11
  const destroy$ = new Subject();
12
12
  this.zone.runOutsideAngular(() => {
13
13
  fromEvent(element, 'scroll')
14
14
  .pipe(takeUntil(destroy$), filter(() => {
15
15
  const currentScrollHeight = element.scrollHeight;
16
- if (currentScrollHeight === lastScrollHeight)
17
- return false;
18
- lastScrollHeight = currentScrollHeight;
16
+ if (currentScrollHeight !== lastScrollHeight) {
17
+ lastScrollHeight = currentScrollHeight;
18
+ scrollHeightChanged = true;
19
+ }
19
20
  const scrolledRatio = (element.scrollTop + element.clientHeight) / currentScrollHeight;
20
- return scrolledRatio >= threshold;
21
+ if (scrollHeightChanged && scrolledRatio >= threshold) {
22
+ scrollHeightChanged = false;
23
+ return true;
24
+ }
25
+ return false;
21
26
  }))
22
27
  .subscribe((event) => this.zone.run(() => subscriber.next(event)));
23
28
  });
24
29
  return () => destroy$.next();
25
30
  });
26
31
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ScrollDetectionApi, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
28
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ScrollDetectionApi, providedIn: 'root' }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: ScrollDetectionApi, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
33
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: ScrollDetectionApi, providedIn: 'root' }); }
29
34
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: ScrollDetectionApi, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: ScrollDetectionApi, decorators: [{
31
36
  type: Injectable,
32
37
  args: [{ providedIn: 'root' }]
33
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odCkge1xuICAgICAgICAgICAgICAgIGxhc3RTY3JvbGxIZWlnaHQgPSBjdXJyZW50U2Nyb2xsSGVpZ2h0O1xuXG4gICAgICAgICAgICAgICAgc2Nyb2xsSGVpZ2h0Q2hhbmdlZCA9IHRydWU7XG4gICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICBjb25zdCBzY3JvbGxlZFJhdGlvOiBudW1iZXIgPSAoZWxlbWVudC5zY3JvbGxUb3AgKyBlbGVtZW50LmNsaWVudEhlaWdodCkgLyBjdXJyZW50U2Nyb2xsSGVpZ2h0O1xuXG4gICAgICAgICAgICAgIGlmIChzY3JvbGxIZWlnaHRDaGFuZ2VkICYmIHNjcm9sbGVkUmF0aW8gPj0gdGhyZXNob2xkKSB7XG4gICAgICAgICAgICAgICAgc2Nyb2xsSGVpZ2h0Q2hhbmdlZCA9IGZhbHNlO1xuXG4gICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICApXG4gICAgICAgICAgLnN1YnNjcmliZSgoZXZlbnQ6IEV2ZW50KSA9PiB0aGlzLnpvbmUucnVuKCgpID0+IHN1YnNjcmliZXIubmV4dChldmVudCkpKTtcbiAgICAgIH0pO1xuXG4gICAgICByZXR1cm4gKCkgPT4gZGVzdHJveSQubmV4dCgpO1xuICAgIH0pO1xuICB9XG59XG4iXX0=