@spw-ds/spw-angular-library 1.8.1-alpha.0 → 1.9.1-alpha.0

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, Component, HostListener, Directive, Input, NgModule, APP_INITIALIZER } from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, HostListener, Directive, Input, NgModule, APP_INITIALIZER, Injectable } from '@angular/core';
3
3
  import { defineCustomElements } from '@spw-ds/spw-stencil-library/loader';
4
4
  import { __decorate } from 'tslib';
5
5
  import { fromEvent } from 'rxjs';
@@ -358,11 +358,11 @@ let SpwCardImage = class SpwCardImage {
358
358
  this.el = r.nativeElement;
359
359
  }
360
360
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwCardImage, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
361
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwCardImage, isStandalone: true, selector: "spw-card-image", inputs: { label: "label", ratio: "ratio", ratioDesktop: "ratioDesktop", ratioMobile: "ratioMobile", ratioTablet: "ratioTablet" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
361
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwCardImage, isStandalone: true, selector: "spw-card-image", inputs: { imagePosition: "imagePosition", label: "label", ratio: "ratio", ratioDesktop: "ratioDesktop", ratioMobile: "ratioMobile", ratioTablet: "ratioTablet" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
362
362
  };
363
363
  SpwCardImage = __decorate([
364
364
  ProxyCmp({
365
- inputs: ['label', 'ratio', 'ratioDesktop', 'ratioMobile', 'ratioTablet']
365
+ inputs: ['imagePosition', 'label', 'ratio', 'ratioDesktop', 'ratioMobile', 'ratioTablet']
366
366
  })
367
367
  ], SpwCardImage);
368
368
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwCardImage, decorators: [{
@@ -372,7 +372,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
372
372
  changeDetection: ChangeDetectionStrategy.OnPush,
373
373
  template: '<ng-content></ng-content>',
374
374
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
375
- inputs: ['label', 'ratio', 'ratioDesktop', 'ratioMobile', 'ratioTablet'],
375
+ inputs: ['imagePosition', 'label', 'ratio', 'ratioDesktop', 'ratioMobile', 'ratioTablet'],
376
376
  }]
377
377
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
378
378
  let SpwCardSubtagItem = class SpwCardSubtagItem {
@@ -505,11 +505,11 @@ let SpwCustomSelect = class SpwCustomSelect {
505
505
  proxyOutputs(this, this.el, ['valueChanged']);
506
506
  }
507
507
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwCustomSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
508
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwCustomSelect, isStandalone: true, selector: "spw-custom-select", inputs: { assistiveText: "assistiveText", direction: "direction", disabled: "disabled", error: "error", fixedDropdown: "fixedDropdown", hint: "hint", isClear: "isClear", isSearch: "isSearch", items: "items", label: "label", multiple: "multiple", name: "name", noResultsText: "noResultsText", placeholder: "placeholder", required: "required", searchPlaceholder: "searchPlaceholder", showErrorIcon: "showErrorIcon", showHintIcon: "showHintIcon", showSuccessIcon: "showSuccessIcon", showWarningIcon: "showWarningIcon", size: "size", success: "success", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", value: "value", warning: "warning" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
508
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwCustomSelect, isStandalone: true, selector: "spw-custom-select", inputs: { assistiveText: "assistiveText", direction: "direction", disabled: "disabled", error: "error", fixedDropdown: "fixedDropdown", fixedDropdownParent: "fixedDropdownParent", hint: "hint", isClear: "isClear", isSearch: "isSearch", items: "items", label: "label", multiple: "multiple", name: "name", noResultsText: "noResultsText", placeholder: "placeholder", required: "required", searchPlaceholder: "searchPlaceholder", showErrorIcon: "showErrorIcon", showHintIcon: "showHintIcon", showSuccessIcon: "showSuccessIcon", showWarningIcon: "showWarningIcon", size: "size", success: "success", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", value: "value", warning: "warning" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
509
509
  };
510
510
  SpwCustomSelect = __decorate([
511
511
  ProxyCmp({
512
- inputs: ['assistiveText', 'direction', 'disabled', 'error', 'fixedDropdown', 'hint', 'isClear', 'isSearch', 'items', 'label', 'multiple', 'name', 'noResultsText', 'placeholder', 'required', 'searchPlaceholder', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
512
+ inputs: ['assistiveText', 'direction', 'disabled', 'error', 'fixedDropdown', 'fixedDropdownParent', 'hint', 'isClear', 'isSearch', 'items', 'label', 'multiple', 'name', 'noResultsText', 'placeholder', 'required', 'searchPlaceholder', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
513
513
  methods: ['setFocus', 'resetSelect', 'setValue', 'getValue']
514
514
  })
515
515
  ], SpwCustomSelect);
@@ -520,7 +520,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
520
520
  changeDetection: ChangeDetectionStrategy.OnPush,
521
521
  template: '<ng-content></ng-content>',
522
522
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
523
- inputs: ['assistiveText', 'direction', 'disabled', 'error', 'fixedDropdown', 'hint', 'isClear', 'isSearch', 'items', 'label', 'multiple', 'name', 'noResultsText', 'placeholder', 'required', 'searchPlaceholder', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
523
+ inputs: ['assistiveText', 'direction', 'disabled', 'error', 'fixedDropdown', 'fixedDropdownParent', 'hint', 'isClear', 'isSearch', 'items', 'label', 'multiple', 'name', 'noResultsText', 'placeholder', 'required', 'searchPlaceholder', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
524
524
  }]
525
525
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
526
526
  let SpwDatePicker = class SpwDatePicker {
@@ -531,11 +531,11 @@ let SpwDatePicker = class SpwDatePicker {
531
531
  proxyOutputs(this, this.el, ['dateChange', 'datePickerOpen', 'datePickerClose']);
532
532
  }
533
533
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDatePicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
534
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwDatePicker, isStandalone: true, selector: "spw-date-picker", inputs: { accAriaLabel: "accAriaLabel", assistiveText: "assistiveText", dateFormat: "dateFormat", disabled: "disabled", disabledDates: "disabledDates", disabledDays: "disabledDays", error: "error", hint: "hint", isClear: "isClear", isStart: "isStart", label: "label", maxDate: "maxDate", minDate: "minDate", name: "name", placeholder: "placeholder", position: "position", range: "range", rangeId: "rangeId", required: "required", showErrorIcon: "showErrorIcon", showHintIcon: "showHintIcon", showSuccessIcon: "showSuccessIcon", showWarningIcon: "showWarningIcon", success: "success", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", value: "value", warning: "warning" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
534
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwDatePicker, isStandalone: true, selector: "spw-date-picker", inputs: { accAriaLabel: "accAriaLabel", assistiveText: "assistiveText", dateFormat: "dateFormat", disabled: "disabled", disabledDates: "disabledDates", disabledDays: "disabledDays", error: "error", fixedCalendar: "fixedCalendar", fixedCalendarParent: "fixedCalendarParent", hint: "hint", isClear: "isClear", isStart: "isStart", label: "label", maxDate: "maxDate", minDate: "minDate", name: "name", placeholder: "placeholder", position: "position", range: "range", rangeId: "rangeId", required: "required", showErrorIcon: "showErrorIcon", showHintIcon: "showHintIcon", showSuccessIcon: "showSuccessIcon", showWarningIcon: "showWarningIcon", success: "success", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", value: "value", warning: "warning" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
535
535
  };
536
536
  SpwDatePicker = __decorate([
537
537
  ProxyCmp({
538
- inputs: ['accAriaLabel', 'assistiveText', 'dateFormat', 'disabled', 'disabledDates', 'disabledDays', 'error', 'hint', 'isClear', 'isStart', 'label', 'maxDate', 'minDate', 'name', 'placeholder', 'position', 'range', 'rangeId', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
538
+ inputs: ['accAriaLabel', 'assistiveText', 'dateFormat', 'disabled', 'disabledDates', 'disabledDays', 'error', 'fixedCalendar', 'fixedCalendarParent', 'hint', 'isClear', 'isStart', 'label', 'maxDate', 'minDate', 'name', 'placeholder', 'position', 'range', 'rangeId', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
539
539
  methods: ['open', 'close', 'setDate', 'getDate', 'getRange', 'updateConstraints', 'resetInput', 'resetConstraints']
540
540
  })
541
541
  ], SpwDatePicker);
@@ -546,7 +546,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
546
546
  changeDetection: ChangeDetectionStrategy.OnPush,
547
547
  template: '<ng-content></ng-content>',
548
548
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
549
- inputs: ['accAriaLabel', 'assistiveText', 'dateFormat', 'disabled', 'disabledDates', 'disabledDays', 'error', 'hint', 'isClear', 'isStart', 'label', 'maxDate', 'minDate', 'name', 'placeholder', 'position', 'range', 'rangeId', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
549
+ inputs: ['accAriaLabel', 'assistiveText', 'dateFormat', 'disabled', 'disabledDates', 'disabledDays', 'error', 'fixedCalendar', 'fixedCalendarParent', 'hint', 'isClear', 'isStart', 'label', 'maxDate', 'minDate', 'name', 'placeholder', 'position', 'range', 'rangeId', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
550
550
  }]
551
551
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
552
552
  let SpwDropdown = class SpwDropdown {
@@ -677,11 +677,11 @@ let SpwFileUpload = class SpwFileUpload {
677
677
  proxyOutputs(this, this.el, ['spwFileChange']);
678
678
  }
679
679
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwFileUpload, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
680
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwFileUpload, isStandalone: true, selector: "spw-file-upload", inputs: { accept: "accept", disabled: "disabled", enableDropZone: "enableDropZone", error: "error", maxFileSize: "maxFileSize", maxFileSizeUnit: "maxFileSizeUnit", maxFiles: "maxFiles", multiple: "multiple", name: "name", refuse: "refuse", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
680
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwFileUpload, isStandalone: true, selector: "spw-file-upload", inputs: { accept: "accept", disabled: "disabled", enableDropZone: "enableDropZone", error: "error", maxFileSize: "maxFileSize", maxFileSizeUnit: "maxFileSizeUnit", maxFiles: "maxFiles", multiple: "multiple", name: "name", refuse: "refuse", textAcceptedFormats: "textAcceptedFormats", textAllFormats: "textAllFormats", textChooseFile: "textChooseFile", textChooseFiles: "textChooseFiles", textChooseFromComputer: "textChooseFromComputer", textDelete: "textDelete", textDropFile: "textDropFile", textDropFiles: "textDropFiles", textErrorFormat: "textErrorFormat", textErrorFormatAndSize: "textErrorFormatAndSize", textErrorSize: "textErrorSize", textLimitExceeded: "textLimitExceeded", textLimitReached: "textLimitReached", textMaxFileSize: "textMaxFileSize", textMaxFiles: "textMaxFiles", textRefusedFormats: "textRefusedFormats", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
681
681
  };
682
682
  SpwFileUpload = __decorate([
683
683
  ProxyCmp({
684
- inputs: ['accept', 'disabled', 'enableDropZone', 'error', 'maxFileSize', 'maxFileSizeUnit', 'maxFiles', 'multiple', 'name', 'refuse', 'value'],
684
+ inputs: ['accept', 'disabled', 'enableDropZone', 'error', 'maxFileSize', 'maxFileSizeUnit', 'maxFiles', 'multiple', 'name', 'refuse', 'textAcceptedFormats', 'textAllFormats', 'textChooseFile', 'textChooseFiles', 'textChooseFromComputer', 'textDelete', 'textDropFile', 'textDropFiles', 'textErrorFormat', 'textErrorFormatAndSize', 'textErrorSize', 'textLimitExceeded', 'textLimitReached', 'textMaxFileSize', 'textMaxFiles', 'textRefusedFormats', 'value'],
685
685
  methods: ['resetInput']
686
686
  })
687
687
  ], SpwFileUpload);
@@ -692,7 +692,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
692
692
  changeDetection: ChangeDetectionStrategy.OnPush,
693
693
  template: '<ng-content></ng-content>',
694
694
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
695
- inputs: ['accept', 'disabled', 'enableDropZone', 'error', 'maxFileSize', 'maxFileSizeUnit', 'maxFiles', 'multiple', 'name', 'refuse', 'value'],
695
+ inputs: ['accept', 'disabled', 'enableDropZone', 'error', 'maxFileSize', 'maxFileSizeUnit', 'maxFiles', 'multiple', 'name', 'refuse', 'textAcceptedFormats', 'textAllFormats', 'textChooseFile', 'textChooseFiles', 'textChooseFromComputer', 'textDelete', 'textDropFile', 'textDropFiles', 'textErrorFormat', 'textErrorFormatAndSize', 'textErrorSize', 'textLimitExceeded', 'textLimitReached', 'textMaxFileSize', 'textMaxFiles', 'textRefusedFormats', 'value'],
696
696
  }]
697
697
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
698
698
  let SpwFooter = class SpwFooter {
@@ -868,11 +868,11 @@ let SpwGroup = class SpwGroup {
868
868
  this.el = r.nativeElement;
869
869
  }
870
870
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
871
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwGroup, isStandalone: true, selector: "spw-group", inputs: { alignment: "alignment", disabled: "disabled", isFullWidth: "isFullWidth", isReversed: "isReversed", label: "label", name: "name", orientation: "orientation", required: "required", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
871
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwGroup, isStandalone: true, selector: "spw-group", inputs: { alignment: "alignment", disabled: "disabled", flexWrap: "flexWrap", isFullWidth: "isFullWidth", isReversed: "isReversed", label: "label", name: "name", orientation: "orientation", required: "required", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
872
872
  };
873
873
  SpwGroup = __decorate([
874
874
  ProxyCmp({
875
- inputs: ['alignment', 'disabled', 'isFullWidth', 'isReversed', 'label', 'name', 'orientation', 'required', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type']
875
+ inputs: ['alignment', 'disabled', 'flexWrap', 'isFullWidth', 'isReversed', 'label', 'name', 'orientation', 'required', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type']
876
876
  })
877
877
  ], SpwGroup);
878
878
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwGroup, decorators: [{
@@ -882,7 +882,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
882
882
  changeDetection: ChangeDetectionStrategy.OnPush,
883
883
  template: '<ng-content></ng-content>',
884
884
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
885
- inputs: ['alignment', 'disabled', 'isFullWidth', 'isReversed', 'label', 'name', 'orientation', 'required', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type'],
885
+ inputs: ['alignment', 'disabled', 'flexWrap', 'isFullWidth', 'isReversed', 'label', 'name', 'orientation', 'required', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type'],
886
886
  }]
887
887
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
888
888
  let SpwHeader = class SpwHeader {
@@ -1064,11 +1064,11 @@ let SpwHero = class SpwHero {
1064
1064
  this.el = r.nativeElement;
1065
1065
  }
1066
1066
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwHero, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1067
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwHero, isStandalone: true, selector: "spw-hero", inputs: { accPlayButtonAriaLabel: "accPlayButtonAriaLabel", alignment: "alignment", copyrightHref: "copyrightHref", copyrightIcon: "copyrightIcon", copyrightIconVariant: "copyrightIconVariant", copyrightTarget: "copyrightTarget", copyrightText: "copyrightText", hasPictureFull: "hasPictureFull", hasRadius: "hasRadius", hasShadow: "hasShadow", hasVideo: "hasVideo", imageAlt: "imageAlt", imageSrc: "imageSrc", modalVideoId: "modalVideoId", overlayColor: "overlayColor", overlayOpacity: "overlayOpacity", surface: "surface", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1067
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwHero, isStandalone: true, selector: "spw-hero", inputs: { accPlayButtonAriaLabel: "accPlayButtonAriaLabel", alignment: "alignment", copyrightHref: "copyrightHref", copyrightIcon: "copyrightIcon", copyrightIconVariant: "copyrightIconVariant", copyrightTarget: "copyrightTarget", copyrightText: "copyrightText", hasPictureFull: "hasPictureFull", hasRadius: "hasRadius", hasShadow: "hasShadow", hasVideo: "hasVideo", imageAlt: "imageAlt", imagePosition: "imagePosition", imageSrc: "imageSrc", modalVideoId: "modalVideoId", overlayColor: "overlayColor", overlayOpacity: "overlayOpacity", surface: "surface", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1068
1068
  };
1069
1069
  SpwHero = __decorate([
1070
1070
  ProxyCmp({
1071
- inputs: ['accPlayButtonAriaLabel', 'alignment', 'copyrightHref', 'copyrightIcon', 'copyrightIconVariant', 'copyrightTarget', 'copyrightText', 'hasPictureFull', 'hasRadius', 'hasShadow', 'hasVideo', 'imageAlt', 'imageSrc', 'modalVideoId', 'overlayColor', 'overlayOpacity', 'surface', 'variant']
1071
+ inputs: ['accPlayButtonAriaLabel', 'alignment', 'copyrightHref', 'copyrightIcon', 'copyrightIconVariant', 'copyrightTarget', 'copyrightText', 'hasPictureFull', 'hasRadius', 'hasShadow', 'hasVideo', 'imageAlt', 'imagePosition', 'imageSrc', 'modalVideoId', 'overlayColor', 'overlayOpacity', 'surface', 'variant']
1072
1072
  })
1073
1073
  ], SpwHero);
1074
1074
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwHero, decorators: [{
@@ -1078,7 +1078,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
1078
1078
  changeDetection: ChangeDetectionStrategy.OnPush,
1079
1079
  template: '<ng-content></ng-content>',
1080
1080
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1081
- inputs: ['accPlayButtonAriaLabel', 'alignment', 'copyrightHref', 'copyrightIcon', 'copyrightIconVariant', 'copyrightTarget', 'copyrightText', 'hasPictureFull', 'hasRadius', 'hasShadow', 'hasVideo', 'imageAlt', 'imageSrc', 'modalVideoId', 'overlayColor', 'overlayOpacity', 'surface', 'variant'],
1081
+ inputs: ['accPlayButtonAriaLabel', 'alignment', 'copyrightHref', 'copyrightIcon', 'copyrightIconVariant', 'copyrightTarget', 'copyrightText', 'hasPictureFull', 'hasRadius', 'hasShadow', 'hasVideo', 'imageAlt', 'imagePosition', 'imageSrc', 'modalVideoId', 'overlayColor', 'overlayOpacity', 'surface', 'variant'],
1082
1082
  }]
1083
1083
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1084
1084
  let SpwIcon = class SpwIcon {
@@ -1283,11 +1283,11 @@ let SpwLoading = class SpwLoading {
1283
1283
  this.el = r.nativeElement;
1284
1284
  }
1285
1285
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwLoading, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1286
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwLoading, isStandalone: true, selector: "spw-loading", inputs: { text: "text" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1286
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwLoading, isStandalone: true, selector: "spw-loading", inputs: { orientation: "orientation", size: "size", surface: "surface", text: "text" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1287
1287
  };
1288
1288
  SpwLoading = __decorate([
1289
1289
  ProxyCmp({
1290
- inputs: ['text']
1290
+ inputs: ['orientation', 'size', 'surface', 'text']
1291
1291
  })
1292
1292
  ], SpwLoading);
1293
1293
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwLoading, decorators: [{
@@ -1297,7 +1297,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
1297
1297
  changeDetection: ChangeDetectionStrategy.OnPush,
1298
1298
  template: '<ng-content></ng-content>',
1299
1299
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1300
- inputs: ['text'],
1300
+ inputs: ['orientation', 'size', 'surface', 'text'],
1301
1301
  }]
1302
1302
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1303
1303
  let SpwMessage = class SpwMessage {
@@ -1511,11 +1511,11 @@ let SpwSelect = class SpwSelect {
1511
1511
  proxyOutputs(this, this.el, ['valueChanged']);
1512
1512
  }
1513
1513
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1514
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwSelect, isStandalone: true, selector: "spw-select", inputs: { accAriaLabel: "accAriaLabel", assistiveText: "assistiveText", disabled: "disabled", error: "error", hint: "hint", itemLabel: "itemLabel", itemValue: "itemValue", items: "items", label: "label", name: "name", placeholder: "placeholder", required: "required", showErrorIcon: "showErrorIcon", showHintIcon: "showHintIcon", showSuccessIcon: "showSuccessIcon", showWarningIcon: "showWarningIcon", size: "size", success: "success", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", value: "value", warning: "warning" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1514
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwSelect, isStandalone: true, selector: "spw-select", inputs: { accAriaLabel: "accAriaLabel", assistiveText: "assistiveText", disabled: "disabled", error: "error", hint: "hint", isClear: "isClear", itemLabel: "itemLabel", itemValue: "itemValue", items: "items", label: "label", name: "name", placeholder: "placeholder", required: "required", showErrorIcon: "showErrorIcon", showHintIcon: "showHintIcon", showSuccessIcon: "showSuccessIcon", showWarningIcon: "showWarningIcon", size: "size", success: "success", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", value: "value", warning: "warning" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1515
1515
  };
1516
1516
  SpwSelect = __decorate([
1517
1517
  ProxyCmp({
1518
- inputs: ['accAriaLabel', 'assistiveText', 'disabled', 'error', 'hint', 'itemLabel', 'itemValue', 'items', 'label', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
1518
+ inputs: ['accAriaLabel', 'assistiveText', 'disabled', 'error', 'hint', 'isClear', 'itemLabel', 'itemValue', 'items', 'label', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
1519
1519
  methods: ['resetSelect', 'setValue', 'getValue']
1520
1520
  })
1521
1521
  ], SpwSelect);
@@ -1526,7 +1526,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
1526
1526
  changeDetection: ChangeDetectionStrategy.OnPush,
1527
1527
  template: '<ng-content></ng-content>',
1528
1528
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1529
- inputs: ['accAriaLabel', 'assistiveText', 'disabled', 'error', 'hint', 'itemLabel', 'itemValue', 'items', 'label', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
1529
+ inputs: ['accAriaLabel', 'assistiveText', 'disabled', 'error', 'hint', 'isClear', 'itemLabel', 'itemValue', 'items', 'label', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
1530
1530
  }]
1531
1531
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1532
1532
  let SpwSeparator = class SpwSeparator {
@@ -2038,11 +2038,11 @@ let SpwTabsNavigationItem = class SpwTabsNavigationItem {
2038
2038
  proxyOutputs(this, this.el, ['tabSelected']);
2039
2039
  }
2040
2040
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwTabsNavigationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
2041
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwTabsNavigationItem, isStandalone: true, selector: "spw-tabs-navigation-item", inputs: { active: "active", bubble: "bubble", disabled: "disabled", hasEllipsis: "hasEllipsis", icon: "icon", iconPosition: "iconPosition", tabId: "tabId", tagIcon: "tagIcon", tagText: "tagText", tagVariant: "tagVariant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2041
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwTabsNavigationItem, isStandalone: true, selector: "spw-tabs-navigation-item", inputs: { accAriaLabel: "accAriaLabel", active: "active", bubble: "bubble", disabled: "disabled", hasEllipsis: "hasEllipsis", icon: "icon", iconPosition: "iconPosition", tabId: "tabId", tagIcon: "tagIcon", tagText: "tagText", tagVariant: "tagVariant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2042
2042
  };
2043
2043
  SpwTabsNavigationItem = __decorate([
2044
2044
  ProxyCmp({
2045
- inputs: ['active', 'bubble', 'disabled', 'hasEllipsis', 'icon', 'iconPosition', 'tabId', 'tagIcon', 'tagText', 'tagVariant']
2045
+ inputs: ['accAriaLabel', 'active', 'bubble', 'disabled', 'hasEllipsis', 'icon', 'iconPosition', 'tabId', 'tagIcon', 'tagText', 'tagVariant']
2046
2046
  })
2047
2047
  ], SpwTabsNavigationItem);
2048
2048
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwTabsNavigationItem, decorators: [{
@@ -2052,7 +2052,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
2052
2052
  changeDetection: ChangeDetectionStrategy.OnPush,
2053
2053
  template: '<ng-content></ng-content>',
2054
2054
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2055
- inputs: ['active', 'bubble', 'disabled', 'hasEllipsis', 'icon', 'iconPosition', 'tabId', 'tagIcon', 'tagText', 'tagVariant'],
2055
+ inputs: ['accAriaLabel', 'active', 'bubble', 'disabled', 'hasEllipsis', 'icon', 'iconPosition', 'tabId', 'tagIcon', 'tagText', 'tagVariant'],
2056
2056
  }]
2057
2057
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2058
2058
  let SpwTag = class SpwTag {
@@ -2087,11 +2087,11 @@ let SpwTextField = class SpwTextField {
2087
2087
  proxyOutputs(this, this.el, ['valueChanged']);
2088
2088
  }
2089
2089
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwTextField, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
2090
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwTextField, isStandalone: true, selector: "spw-text-field", inputs: { accAriaLabel: "accAriaLabel", accAriaLabelDecrement: "accAriaLabelDecrement", accAriaLabelIncrement: "accAriaLabelIncrement", assistiveText: "assistiveText", disabled: "disabled", error: "error", hasControls: "hasControls", hint: "hint", indicator: "indicator", isClear: "isClear", isSearch: "isSearch", label: "label", mask: "mask", max: "max", maxLength: "maxLength", min: "min", minLength: "minLength", name: "name", placeholder: "placeholder", required: "required", showErrorIcon: "showErrorIcon", showHintIcon: "showHintIcon", showSuccessIcon: "showSuccessIcon", showWarningIcon: "showWarningIcon", size: "size", step: "step", success: "success", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", type: "type", value: "value", warning: "warning" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2090
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwTextField, isStandalone: true, selector: "spw-text-field", inputs: { accAriaLabel: "accAriaLabel", accAriaLabelDecrement: "accAriaLabelDecrement", accAriaLabelIncrement: "accAriaLabelIncrement", assistiveText: "assistiveText", disabled: "disabled", error: "error", hasControls: "hasControls", hasSubmitButton: "hasSubmitButton", hint: "hint", indicator: "indicator", isClear: "isClear", isSearch: "isSearch", label: "label", mask: "mask", max: "max", maxLength: "maxLength", min: "min", minLength: "minLength", name: "name", placeholder: "placeholder", required: "required", showErrorIcon: "showErrorIcon", showHintIcon: "showHintIcon", showSuccessIcon: "showSuccessIcon", showWarningIcon: "showWarningIcon", size: "size", step: "step", success: "success", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", type: "type", value: "value", warning: "warning" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2091
2091
  };
2092
2092
  SpwTextField = __decorate([
2093
2093
  ProxyCmp({
2094
- inputs: ['accAriaLabel', 'accAriaLabelDecrement', 'accAriaLabelIncrement', 'assistiveText', 'disabled', 'error', 'hasControls', 'hint', 'indicator', 'isClear', 'isSearch', 'label', 'mask', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'step', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type', 'value', 'warning'],
2094
+ inputs: ['accAriaLabel', 'accAriaLabelDecrement', 'accAriaLabelIncrement', 'assistiveText', 'disabled', 'error', 'hasControls', 'hasSubmitButton', 'hint', 'indicator', 'isClear', 'isSearch', 'label', 'mask', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'step', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type', 'value', 'warning'],
2095
2095
  methods: ['setFocus', 'setValue']
2096
2096
  })
2097
2097
  ], SpwTextField);
@@ -2102,7 +2102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
2102
2102
  changeDetection: ChangeDetectionStrategy.OnPush,
2103
2103
  template: '<ng-content></ng-content>',
2104
2104
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2105
- inputs: ['accAriaLabel', 'accAriaLabelDecrement', 'accAriaLabelIncrement', 'assistiveText', 'disabled', 'error', 'hasControls', 'hint', 'indicator', 'isClear', 'isSearch', 'label', 'mask', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'step', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type', 'value', 'warning'],
2105
+ inputs: ['accAriaLabel', 'accAriaLabelDecrement', 'accAriaLabelIncrement', 'assistiveText', 'disabled', 'error', 'hasControls', 'hasSubmitButton', 'hint', 'indicator', 'isClear', 'isSearch', 'label', 'mask', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'required', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'step', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'type', 'value', 'warning'],
2106
2106
  }]
2107
2107
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2108
2108
  let SpwTextarea = class SpwTextarea {
@@ -2271,6 +2271,57 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
2271
2271
  inputs: ['description', 'isLast', 'label', 'state', 'variant'],
2272
2272
  }]
2273
2273
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2274
+ let SpwToast = class SpwToast {
2275
+ constructor(c, r, z) {
2276
+ this.z = z;
2277
+ c.detach();
2278
+ this.el = r.nativeElement;
2279
+ proxyOutputs(this, this.el, ['spwToastDismiss', 'spwToastLinkClick']);
2280
+ }
2281
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwToast, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
2282
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwToast, isStandalone: true, selector: "spw-toast", inputs: { dismissText: "dismissText", dismissable: "dismissable", duration: "duration", heading: "heading", icon: "icon", linkHref: "linkHref", linkLabel: "linkLabel", message: "message", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2283
+ };
2284
+ SpwToast = __decorate([
2285
+ ProxyCmp({
2286
+ inputs: ['dismissText', 'dismissable', 'duration', 'heading', 'icon', 'linkHref', 'linkLabel', 'message', 'variant'],
2287
+ methods: ['show', 'dismiss']
2288
+ })
2289
+ ], SpwToast);
2290
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwToast, decorators: [{
2291
+ type: Component,
2292
+ args: [{
2293
+ selector: 'spw-toast',
2294
+ changeDetection: ChangeDetectionStrategy.OnPush,
2295
+ template: '<ng-content></ng-content>',
2296
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2297
+ inputs: ['dismissText', 'dismissable', 'duration', 'heading', 'icon', 'linkHref', 'linkLabel', 'message', 'variant'],
2298
+ }]
2299
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2300
+ let SpwToastController = class SpwToastController {
2301
+ constructor(c, r, z) {
2302
+ this.z = z;
2303
+ c.detach();
2304
+ this.el = r.nativeElement;
2305
+ }
2306
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwToastController, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
2307
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwToastController, isStandalone: true, selector: "spw-toast-controller", inputs: { position: "position" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2308
+ };
2309
+ SpwToastController = __decorate([
2310
+ ProxyCmp({
2311
+ inputs: ['position'],
2312
+ methods: ['create', 'dismissAll']
2313
+ })
2314
+ ], SpwToastController);
2315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwToastController, decorators: [{
2316
+ type: Component,
2317
+ args: [{
2318
+ selector: 'spw-toast-controller',
2319
+ changeDetection: ChangeDetectionStrategy.OnPush,
2320
+ template: '<ng-content></ng-content>',
2321
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2322
+ inputs: ['position'],
2323
+ }]
2324
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2274
2325
  let SpwToc = class SpwToc {
2275
2326
  constructor(c, r, z) {
2276
2327
  this.z = z;
@@ -2533,6 +2584,8 @@ const DIRECTIVES = [
2533
2584
  SpwTileTitle,
2534
2585
  SpwTimeline,
2535
2586
  SpwTimelineItem,
2587
+ SpwToast,
2588
+ SpwToastController,
2536
2589
  SpwToc,
2537
2590
  SpwTocContainer,
2538
2591
  SpwTocNavigation,
@@ -3035,14 +3088,14 @@ const VALUE_ACCESSORS = [
3035
3088
  ];
3036
3089
  class SpwDesignSystemDirectivesModule {
3037
3090
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3038
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemDirectivesModule, imports: [SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwAvatar, SpwBlockContent, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwScrolltop, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TextValueAccessor,
3091
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemDirectivesModule, imports: [SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwAvatar, SpwBlockContent, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwScrolltop, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToast, SpwToastController, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TextValueAccessor,
3039
3092
  NumericValueAccessor,
3040
3093
  TabsValueAccessor,
3041
3094
  CheckboxValueAccessor,
3042
3095
  RadioValueAccessor,
3043
3096
  DatePickerValueAccessor,
3044
3097
  InputSliderValueAccessor,
3045
- SearchFieldValueAccessor], exports: [SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwAvatar, SpwBlockContent, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwScrolltop, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TextValueAccessor,
3098
+ SearchFieldValueAccessor], exports: [SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwAvatar, SpwBlockContent, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwScrolltop, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToast, SpwToastController, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TextValueAccessor,
3046
3099
  NumericValueAccessor,
3047
3100
  TabsValueAccessor,
3048
3101
  CheckboxValueAccessor,
@@ -3086,9 +3139,113 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
3086
3139
  }]
3087
3140
  }] });
3088
3141
 
3142
+ /**
3143
+ * Service Angular pour afficher des toasts SPW programmatiquement.
3144
+ *
3145
+ * @example
3146
+ * // 1. Importer SpwDesignSystemModule (ou SpwToastService directement) dans votre AppModule
3147
+ *
3148
+ * // 2. Injecter et utiliser
3149
+ * constructor(private toast: SpwToastService) {}
3150
+ *
3151
+ * this.toast.create({ message: 'Sauvegardé !', variant: 'success' });
3152
+ * this.toast.success('Enregistrement réussi');
3153
+ * this.toast.error('Une erreur est survenue');
3154
+ */
3155
+ class SpwToastService {
3156
+ constructor() {
3157
+ this.controllerEl = null;
3158
+ }
3159
+ getController() {
3160
+ if (!this.controllerEl || !document.body.contains(this.controllerEl)) {
3161
+ const existing = document.querySelector('spw-toast-controller');
3162
+ if (existing) {
3163
+ this.controllerEl = existing;
3164
+ }
3165
+ else {
3166
+ const el = document.createElement('spw-toast-controller');
3167
+ document.body.appendChild(el);
3168
+ this.controllerEl = el;
3169
+ }
3170
+ }
3171
+ return this.controllerEl;
3172
+ }
3173
+ /**
3174
+ * Affiche un toast avec les options fournies.
3175
+ */
3176
+ async create(options) {
3177
+ const controller = this.getController();
3178
+ if (typeof controller.create === 'function') {
3179
+ return controller.create(options);
3180
+ }
3181
+ // Fallback si le web component n'est pas encore défini
3182
+ return this.createFallback(options);
3183
+ }
3184
+ /** Raccourci : toast de succès */
3185
+ success(heading, options) {
3186
+ return this.create({ ...options, heading, variant: 'success' });
3187
+ }
3188
+ /** Raccourci : toast d'information */
3189
+ info(heading, options) {
3190
+ return this.create({ ...options, heading, variant: 'info' });
3191
+ }
3192
+ /** Raccourci : toast d'avertissement */
3193
+ warning(heading, options) {
3194
+ return this.create({ ...options, heading, variant: 'warning' });
3195
+ }
3196
+ /** Raccourci : toast d'erreur/alerte */
3197
+ error(heading, options) {
3198
+ return this.create({ ...options, heading, variant: 'alert' });
3199
+ }
3200
+ /** Ferme tous les toasts en cours d'affichage */
3201
+ async dismissAll() {
3202
+ const controller = this.getController();
3203
+ if (typeof controller.dismissAll === 'function') {
3204
+ return controller.dismissAll();
3205
+ }
3206
+ }
3207
+ /** Configure la position du conteneur de toasts */
3208
+ setPosition(position) {
3209
+ const controller = this.getController();
3210
+ controller.position = position;
3211
+ }
3212
+ ngOnDestroy() {
3213
+ // Ne pas supprimer le contrôleur : d'autres instances pourraient l'utiliser
3214
+ this.controllerEl = null;
3215
+ }
3216
+ createFallback(options) {
3217
+ const toast = document.createElement('spw-toast');
3218
+ if (options.heading)
3219
+ toast.heading = options.heading;
3220
+ if (options.message)
3221
+ toast.message = options.message;
3222
+ if (options.linkLabel)
3223
+ toast.linkLabel = options.linkLabel;
3224
+ if (options.linkHref)
3225
+ toast.linkHref = options.linkHref;
3226
+ if (options.icon)
3227
+ toast.icon = options.icon;
3228
+ toast.variant = options.variant ?? 'info';
3229
+ toast.duration = options.duration !== undefined ? options.duration : 5000;
3230
+ toast.dismissable = options.dismissable !== undefined ? options.dismissable : true;
3231
+ if (options.onLinkClick) {
3232
+ toast.addEventListener('spwToastLinkClick', options.onLinkClick);
3233
+ }
3234
+ const controller = this.getController();
3235
+ controller.appendChild(toast);
3236
+ return toast;
3237
+ }
3238
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3239
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwToastService, providedIn: 'root' }); }
3240
+ }
3241
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwToastService, decorators: [{
3242
+ type: Injectable,
3243
+ args: [{ providedIn: 'root' }]
3244
+ }] });
3245
+
3089
3246
  /**
3090
3247
  * Generated bundle index. Do not edit.
3091
3248
  */
3092
3249
 
3093
- export { CheckboxValueAccessor, DatePickerValueAccessor, InputSliderValueAccessor, NumericValueAccessor, RadioValueAccessor, SearchFieldValueAccessor, SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwAvatar, SpwBlockContent, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDesignSystemDirectivesModule, SpwDesignSystemModule, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwScrolltop, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TabsValueAccessor, TextValueAccessor, ValueAccessor };
3250
+ export { CheckboxValueAccessor, DatePickerValueAccessor, InputSliderValueAccessor, NumericValueAccessor, RadioValueAccessor, SearchFieldValueAccessor, SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwAvatar, SpwBlockContent, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDesignSystemDirectivesModule, SpwDesignSystemModule, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwScrolltop, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToast, SpwToastController, SpwToastService, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TabsValueAccessor, TextValueAccessor, ValueAccessor };
3094
3251
  //# sourceMappingURL=spw-ds-spw-angular-library.mjs.map