@siemens/element-ng 51.6.0 → 51.8.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.
Files changed (150) hide show
  1. package/README.md +3 -4
  2. package/element-ng.scss +3 -1
  3. package/fesm2022/siemens-element-ng-accordion.mjs +2 -2
  4. package/fesm2022/siemens-element-ng-accordion.mjs.map +1 -1
  5. package/fesm2022/siemens-element-ng-ag-grid.mjs +9 -9
  6. package/fesm2022/siemens-element-ng-ag-grid.mjs.map +1 -1
  7. package/fesm2022/siemens-element-ng-application-header.mjs +10 -7
  8. package/fesm2022/siemens-element-ng-application-header.mjs.map +1 -1
  9. package/fesm2022/siemens-element-ng-avatar.mjs +3 -3
  10. package/fesm2022/siemens-element-ng-avatar.mjs.map +1 -1
  11. package/fesm2022/siemens-element-ng-card.mjs +22 -15
  12. package/fesm2022/siemens-element-ng-card.mjs.map +1 -1
  13. package/fesm2022/siemens-element-ng-carousel.mjs +6 -4
  14. package/fesm2022/siemens-element-ng-carousel.mjs.map +1 -1
  15. package/fesm2022/siemens-element-ng-chat-messages.mjs +621 -46
  16. package/fesm2022/siemens-element-ng-chat-messages.mjs.map +1 -1
  17. package/fesm2022/siemens-element-ng-color-picker.mjs +55 -39
  18. package/fesm2022/siemens-element-ng-color-picker.mjs.map +1 -1
  19. package/fesm2022/siemens-element-ng-content-action-bar.mjs +2 -2
  20. package/fesm2022/siemens-element-ng-content-action-bar.mjs.map +1 -1
  21. package/fesm2022/siemens-element-ng-dashboard.mjs +13 -15
  22. package/fesm2022/siemens-element-ng-dashboard.mjs.map +1 -1
  23. package/fesm2022/siemens-element-ng-date-range-filter.mjs +3 -3
  24. package/fesm2022/siemens-element-ng-date-range-filter.mjs.map +1 -1
  25. package/fesm2022/siemens-element-ng-datepicker.mjs +5 -4
  26. package/fesm2022/siemens-element-ng-datepicker.mjs.map +1 -1
  27. package/fesm2022/siemens-element-ng-empty-state.mjs +13 -6
  28. package/fesm2022/siemens-element-ng-empty-state.mjs.map +1 -1
  29. package/fesm2022/siemens-element-ng-file-uploader.mjs +2 -2
  30. package/fesm2022/siemens-element-ng-file-uploader.mjs.map +1 -1
  31. package/fesm2022/siemens-element-ng-filter-bar.mjs +4 -4
  32. package/fesm2022/siemens-element-ng-filter-bar.mjs.map +1 -1
  33. package/fesm2022/siemens-element-ng-footer.mjs +2 -2
  34. package/fesm2022/siemens-element-ng-form.mjs +4 -4
  35. package/fesm2022/siemens-element-ng-formly.mjs +1 -1
  36. package/fesm2022/siemens-element-ng-formly.mjs.map +1 -1
  37. package/fesm2022/siemens-element-ng-icon.mjs +2 -1
  38. package/fesm2022/siemens-element-ng-icon.mjs.map +1 -1
  39. package/fesm2022/siemens-element-ng-info-page.mjs +20 -7
  40. package/fesm2022/siemens-element-ng-info-page.mjs.map +1 -1
  41. package/fesm2022/siemens-element-ng-inline-notification.mjs +2 -2
  42. package/fesm2022/siemens-element-ng-inline-notification.mjs.map +1 -1
  43. package/fesm2022/siemens-element-ng-landing-page.mjs +2 -2
  44. package/fesm2022/siemens-element-ng-landing-page.mjs.map +1 -1
  45. package/fesm2022/siemens-element-ng-list-details.mjs +2 -2
  46. package/fesm2022/siemens-element-ng-list-details.mjs.map +1 -1
  47. package/fesm2022/siemens-element-ng-loading-spinner.mjs +2 -2
  48. package/fesm2022/siemens-element-ng-loading-spinner.mjs.map +1 -1
  49. package/fesm2022/siemens-element-ng-maplibre.mjs +133 -10
  50. package/fesm2022/siemens-element-ng-maplibre.mjs.map +1 -1
  51. package/fesm2022/siemens-element-ng-menu.mjs +6 -6
  52. package/fesm2022/siemens-element-ng-menu.mjs.map +1 -1
  53. package/fesm2022/siemens-element-ng-modal.mjs +71 -84
  54. package/fesm2022/siemens-element-ng-modal.mjs.map +1 -1
  55. package/fesm2022/siemens-element-ng-navbar-vertical-next.mjs +64 -14
  56. package/fesm2022/siemens-element-ng-navbar-vertical-next.mjs.map +1 -1
  57. package/fesm2022/siemens-element-ng-navbar-vertical.mjs +4 -4
  58. package/fesm2022/siemens-element-ng-navbar-vertical.mjs.map +1 -1
  59. package/fesm2022/siemens-element-ng-navbar.mjs +7 -2
  60. package/fesm2022/siemens-element-ng-navbar.mjs.map +1 -1
  61. package/fesm2022/siemens-element-ng-notification-item.mjs +2 -2
  62. package/fesm2022/siemens-element-ng-notification-item.mjs.map +1 -1
  63. package/fesm2022/siemens-element-ng-number-input.mjs +2 -2
  64. package/fesm2022/siemens-element-ng-number-input.mjs.map +1 -1
  65. package/fesm2022/siemens-element-ng-password-strength.mjs +2 -2
  66. package/fesm2022/siemens-element-ng-password-strength.mjs.map +1 -1
  67. package/fesm2022/siemens-element-ng-phone-number.mjs +32 -23
  68. package/fesm2022/siemens-element-ng-phone-number.mjs.map +1 -1
  69. package/fesm2022/siemens-element-ng-photo-upload.mjs +7 -2
  70. package/fesm2022/siemens-element-ng-photo-upload.mjs.map +1 -1
  71. package/fesm2022/siemens-element-ng-pills-input.mjs +2 -2
  72. package/fesm2022/siemens-element-ng-pills-input.mjs.map +1 -1
  73. package/fesm2022/siemens-element-ng-result-details-list.mjs +11 -6
  74. package/fesm2022/siemens-element-ng-result-details-list.mjs.map +1 -1
  75. package/fesm2022/siemens-element-ng-search-bar.mjs +188 -15
  76. package/fesm2022/siemens-element-ng-search-bar.mjs.map +1 -1
  77. package/fesm2022/siemens-element-ng-select.mjs +631 -764
  78. package/fesm2022/siemens-element-ng-select.mjs.map +1 -1
  79. package/fesm2022/siemens-element-ng-side-panel.mjs +19 -10
  80. package/fesm2022/siemens-element-ng-side-panel.mjs.map +1 -1
  81. package/fesm2022/siemens-element-ng-slider.mjs +2 -2
  82. package/fesm2022/siemens-element-ng-slider.mjs.map +1 -1
  83. package/fesm2022/siemens-element-ng-source-chip.mjs +2 -2
  84. package/fesm2022/siemens-element-ng-source-chip.mjs.map +1 -1
  85. package/fesm2022/siemens-element-ng-split.mjs +2 -2
  86. package/fesm2022/siemens-element-ng-split.mjs.map +1 -1
  87. package/fesm2022/siemens-element-ng-status-bar.mjs +12 -12
  88. package/fesm2022/siemens-element-ng-status-bar.mjs.map +1 -1
  89. package/fesm2022/siemens-element-ng-status-counter.mjs +2 -2
  90. package/fesm2022/siemens-element-ng-status-counter.mjs.map +1 -1
  91. package/fesm2022/siemens-element-ng-status-toggle.mjs +2 -2
  92. package/fesm2022/siemens-element-ng-status-toggle.mjs.map +1 -1
  93. package/fesm2022/siemens-element-ng-summary-chip.mjs +2 -2
  94. package/fesm2022/siemens-element-ng-summary-chip.mjs.map +1 -1
  95. package/fesm2022/siemens-element-ng-summary-widget.mjs +2 -2
  96. package/fesm2022/siemens-element-ng-summary-widget.mjs.map +1 -1
  97. package/fesm2022/siemens-element-ng-tabs-legacy.mjs +2 -1
  98. package/fesm2022/siemens-element-ng-tabs-legacy.mjs.map +1 -1
  99. package/fesm2022/siemens-element-ng-tabs.mjs +3 -6
  100. package/fesm2022/siemens-element-ng-tabs.mjs.map +1 -1
  101. package/fesm2022/siemens-element-ng-theme.mjs +9 -5
  102. package/fesm2022/siemens-element-ng-theme.mjs.map +1 -1
  103. package/fesm2022/siemens-element-ng-threshold.mjs +2 -2
  104. package/fesm2022/siemens-element-ng-threshold.mjs.map +1 -1
  105. package/fesm2022/siemens-element-ng-toast-notification.mjs +2 -2
  106. package/fesm2022/siemens-element-ng-toast-notification.mjs.map +1 -1
  107. package/fesm2022/siemens-element-ng-tour.mjs +2 -2
  108. package/fesm2022/siemens-element-ng-tour.mjs.map +1 -1
  109. package/fesm2022/siemens-element-ng-translate.mjs.map +1 -1
  110. package/fesm2022/siemens-element-ng-tree-view.mjs +8 -25
  111. package/fesm2022/siemens-element-ng-tree-view.mjs.map +1 -1
  112. package/fesm2022/siemens-element-ng-typeahead.mjs +42 -30
  113. package/fesm2022/siemens-element-ng-typeahead.mjs.map +1 -1
  114. package/fesm2022/siemens-element-ng-wizard.mjs +2 -2
  115. package/fesm2022/siemens-element-ng-wizard.mjs.map +1 -1
  116. package/maplibre/styles/maplibre-gl.scss +2 -2
  117. package/package.json +8 -8
  118. package/schematics/collection.json +5 -0
  119. package/schematics/migrate-search-bar/index.js +5 -0
  120. package/schematics/migrate-search-bar/migrate-search-bar-rule.js +733 -0
  121. package/schematics/migrate-search-bar/schema.json +14 -0
  122. package/schematics/migrate-search-bar/search-bar-template.js +742 -0
  123. package/schematics/migrate-search-bar/text-edits.js +23 -0
  124. package/schematics/migrations/data/css-custom-properties.js +11 -11
  125. package/schematics/utils/project-utils.js +2 -1
  126. package/template-i18n.json +8 -0
  127. package/types/siemens-element-ng-application-header.d.ts +1 -0
  128. package/types/siemens-element-ng-avatar.d.ts +1 -1
  129. package/types/siemens-element-ng-card.d.ts +17 -11
  130. package/types/siemens-element-ng-chat-messages.d.ts +518 -127
  131. package/types/siemens-element-ng-color-picker.d.ts +18 -9
  132. package/types/siemens-element-ng-dashboard.d.ts +2 -1
  133. package/types/siemens-element-ng-empty-state.d.ts +9 -2
  134. package/types/siemens-element-ng-info-page.d.ts +17 -5
  135. package/types/siemens-element-ng-maplibre.d.ts +39 -2
  136. package/types/siemens-element-ng-modal.d.ts +6 -4
  137. package/types/siemens-element-ng-navbar-vertical-next.d.ts +31 -2
  138. package/types/siemens-element-ng-navbar.d.ts +1 -0
  139. package/types/siemens-element-ng-phone-number.d.ts +5 -6
  140. package/types/siemens-element-ng-photo-upload.d.ts +1 -0
  141. package/types/siemens-element-ng-result-details-list.d.ts +7 -2
  142. package/types/siemens-element-ng-search-bar.d.ts +110 -5
  143. package/types/siemens-element-ng-select.d.ts +257 -286
  144. package/types/siemens-element-ng-side-panel.d.ts +5 -1
  145. package/types/siemens-element-ng-status-bar.d.ts +2 -2
  146. package/types/siemens-element-ng-tabs-legacy.d.ts +2 -1
  147. package/types/siemens-element-ng-theme.d.ts +1 -0
  148. package/types/siemens-element-ng-tour.d.ts +11 -0
  149. package/types/siemens-element-ng-translate.d.ts +8 -0
  150. package/types/siemens-element-ng-tree-view.d.ts +0 -8
@@ -38,11 +38,11 @@ class SiFilterPillComponent {
38
38
  this.deleteFilters.emit(this.filter());
39
39
  }
40
40
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFilterPillComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFilterPillComponent, isStandalone: true, selector: "si-filter-pill", inputs: { filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, totalPills: { classPropertyName: "totalPills", publicName: "totalPills", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { deleteFilters: "deleteFilters" }, ngImport: i0, template: "<div\n class=\"pill responsive\"\n [class.pe-0]=\"!disabled()\"\n [class.disabled]=\"disabled()\"\n [attr.aria-disabled]=\"disabled()\"\n>\n <div class=\"wrapper\">\n @if (filter().title) {\n <div class=\"name\">{{ filter().title | translate }}</div>\n }\n @if (filter().title && filter().description) {\n <span class=\"name pe-4\">:</span>\n }\n <div class=\"value\">{{ filter().description | translate }}</div>\n </div>\n @if (!disabled()) {\n <ng-container *ngTemplateOutlet=\"remove\" />\n }\n</div>\n<ng-template #remove>\n <button\n type=\"button\"\n class=\"btn-remove btn btn-circle btn-tertiary-ghost focus-inside ms-0 btn-sm\"\n aria-label=\"Remove\"\n [disabled]=\"disabled()\"\n (click)=\"deleteClicked()\"\n >\n <si-icon [icon]=\"icons.elementCancel\" />\n </button>\n</ng-template>\n", styles: [":host{--filter-pill-background-color: var(--si-sys-color-background-1)}:host.dark-background{--filter-pill-background-color: var(--si-sys-color-background-2)}.pill{margin-inline-start:var(--filter-pill-gap, var(--si-sys-sizing-spacing-x-40))}.wrapper{display:flex;flex-direction:column}.pill.responsive .wrapper{flex-direction:row}.pill.responsive .name{font-weight:600;white-space:nowrap}.pill.responsive .value{color:var(--si-sys-color-text-primary);white-space:nowrap;margin-inline-end:var(--si-sys-sizing-spacing-x-20)}.pill.responsive.disabled,.pill.responsive.disabled .value{padding-inline-end:var(--si-sys-sizing-spacing-x-10);color:var(--si-sys-color-text-disabled)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SiIconComponent, selector: "si-icon", inputs: ["icon"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
41
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFilterPillComponent, isStandalone: true, selector: "si-filter-pill", inputs: { filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, totalPills: { classPropertyName: "totalPills", publicName: "totalPills", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { deleteFilters: "deleteFilters" }, ngImport: i0, template: "<div\n class=\"pill responsive\"\n [class.pe-0]=\"!disabled()\"\n [class.disabled]=\"disabled()\"\n [attr.aria-disabled]=\"disabled()\"\n>\n <div class=\"wrapper\">\n @if (filter().title) {\n <div class=\"name\">{{ filter().title | translate }}</div>\n }\n @if (filter().title && filter().description) {\n <span class=\"name pe-4\">:</span>\n }\n <div class=\"value\">{{ filter().description | translate }}</div>\n </div>\n @if (!disabled()) {\n <ng-container *ngTemplateOutlet=\"remove\" />\n }\n</div>\n<ng-template #remove>\n <button\n type=\"button\"\n class=\"btn-remove btn btn-circle btn-tertiary-ghost focus-inside ms-0 btn-sm\"\n aria-label=\"Remove\"\n [disabled]=\"disabled()\"\n (click)=\"deleteClicked()\"\n >\n <si-icon [icon]=\"icons.elementCancel\" />\n </button>\n</ng-template>\n", styles: [":host{--filter-pill-background-color: var(--si-sys-color-background-1)}:host.dark-background{--filter-pill-background-color: var(--si-sys-color-background-2)}.pill{margin-inline-start:var(--filter-pill-gap, var(--si-sys-sizing-spacing-x-40))}.wrapper{display:flex;flex-direction:column}.pill.responsive .wrapper{flex-direction:row}.pill.responsive .name{font-weight:var(--si-sys-typography-h5-font-weight);white-space:nowrap}.pill.responsive .value{color:var(--si-sys-color-text-primary);white-space:nowrap;margin-inline-end:var(--si-sys-sizing-spacing-x-20)}.pill.responsive.disabled,.pill.responsive.disabled .value{padding-inline-end:var(--si-sys-sizing-spacing-x-10);color:var(--si-sys-color-text-disabled)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SiIconComponent, selector: "si-icon", inputs: ["icon"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
42
42
  }
43
43
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFilterPillComponent, decorators: [{
44
44
  type: Component,
45
- args: [{ selector: 'si-filter-pill', imports: [NgTemplateOutlet, SiIconComponent, SiTranslatePipe], changeDetection: ChangeDetectionStrategy.Eager, template: "<div\n class=\"pill responsive\"\n [class.pe-0]=\"!disabled()\"\n [class.disabled]=\"disabled()\"\n [attr.aria-disabled]=\"disabled()\"\n>\n <div class=\"wrapper\">\n @if (filter().title) {\n <div class=\"name\">{{ filter().title | translate }}</div>\n }\n @if (filter().title && filter().description) {\n <span class=\"name pe-4\">:</span>\n }\n <div class=\"value\">{{ filter().description | translate }}</div>\n </div>\n @if (!disabled()) {\n <ng-container *ngTemplateOutlet=\"remove\" />\n }\n</div>\n<ng-template #remove>\n <button\n type=\"button\"\n class=\"btn-remove btn btn-circle btn-tertiary-ghost focus-inside ms-0 btn-sm\"\n aria-label=\"Remove\"\n [disabled]=\"disabled()\"\n (click)=\"deleteClicked()\"\n >\n <si-icon [icon]=\"icons.elementCancel\" />\n </button>\n</ng-template>\n", styles: [":host{--filter-pill-background-color: var(--si-sys-color-background-1)}:host.dark-background{--filter-pill-background-color: var(--si-sys-color-background-2)}.pill{margin-inline-start:var(--filter-pill-gap, var(--si-sys-sizing-spacing-x-40))}.wrapper{display:flex;flex-direction:column}.pill.responsive .wrapper{flex-direction:row}.pill.responsive .name{font-weight:600;white-space:nowrap}.pill.responsive .value{color:var(--si-sys-color-text-primary);white-space:nowrap;margin-inline-end:var(--si-sys-sizing-spacing-x-20)}.pill.responsive.disabled,.pill.responsive.disabled .value{padding-inline-end:var(--si-sys-sizing-spacing-x-10);color:var(--si-sys-color-text-disabled)}\n"] }]
45
+ args: [{ selector: 'si-filter-pill', imports: [NgTemplateOutlet, SiIconComponent, SiTranslatePipe], changeDetection: ChangeDetectionStrategy.Eager, template: "<div\n class=\"pill responsive\"\n [class.pe-0]=\"!disabled()\"\n [class.disabled]=\"disabled()\"\n [attr.aria-disabled]=\"disabled()\"\n>\n <div class=\"wrapper\">\n @if (filter().title) {\n <div class=\"name\">{{ filter().title | translate }}</div>\n }\n @if (filter().title && filter().description) {\n <span class=\"name pe-4\">:</span>\n }\n <div class=\"value\">{{ filter().description | translate }}</div>\n </div>\n @if (!disabled()) {\n <ng-container *ngTemplateOutlet=\"remove\" />\n }\n</div>\n<ng-template #remove>\n <button\n type=\"button\"\n class=\"btn-remove btn btn-circle btn-tertiary-ghost focus-inside ms-0 btn-sm\"\n aria-label=\"Remove\"\n [disabled]=\"disabled()\"\n (click)=\"deleteClicked()\"\n >\n <si-icon [icon]=\"icons.elementCancel\" />\n </button>\n</ng-template>\n", styles: [":host{--filter-pill-background-color: var(--si-sys-color-background-1)}:host.dark-background{--filter-pill-background-color: var(--si-sys-color-background-2)}.pill{margin-inline-start:var(--filter-pill-gap, var(--si-sys-sizing-spacing-x-40))}.wrapper{display:flex;flex-direction:column}.pill.responsive .wrapper{flex-direction:row}.pill.responsive .name{font-weight:var(--si-sys-typography-h5-font-weight);white-space:nowrap}.pill.responsive .value{color:var(--si-sys-color-text-primary);white-space:nowrap;margin-inline-end:var(--si-sys-sizing-spacing-x-20)}.pill.responsive.disabled,.pill.responsive.disabled .value{padding-inline-end:var(--si-sys-sizing-spacing-x-10);color:var(--si-sys-color-text-disabled)}\n"] }]
46
46
  }], propDecorators: { filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], totalPills: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalPills", required: false }] }], deleteFilters: [{ type: i0.Output, args: ["deleteFilters"] }] } });
47
47
 
48
48
  /**
@@ -124,7 +124,7 @@ class SiFilterBarComponent {
124
124
  .findIndex(item => !item.isVisible())));
125
125
  }
126
126
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFilterBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
127
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFilterBarComponent, isStandalone: true, selector: "si-filter-bar", inputs: { filterDefaultText: { classPropertyName: "filterDefaultText", publicName: "filterDefaultText", isSignal: true, isRequired: false, transformFunction: null }, filters: { classPropertyName: "filters", publicName: "filters", isSignal: true, isRequired: false, transformFunction: null }, resetText: { classPropertyName: "resetText", publicName: "resetText", isSignal: true, isRequired: false, transformFunction: null }, allowReset: { classPropertyName: "allowReset", publicName: "allowReset", isSignal: true, isRequired: false, transformFunction: null }, colorVariant: { classPropertyName: "colorVariant", publicName: "colorVariant", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, collapsedFiltersDescription: { classPropertyName: "collapsedFiltersDescription", publicName: "collapsedFiltersDescription", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { filters: "filtersChange", resetFilters: "resetFilters" }, host: { properties: { "class.reset": "allowReset()" } }, viewQueries: [{ propertyName: "collapsableListDirective", first: true, predicate: SiAutoCollapsableListDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"responsive py-2\" siAutoCollapsableList>\n @for (filter of filters(); track $index) {\n <div class=\"pill-wrapper\" siAutoCollapsableListItem>\n <si-filter-pill\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [totalPills]=\"$count\"\n [filter]=\"filter\"\n [disabled]=\"disabled()\"\n (deleteFilters)=\"deleteFilters($event)\"\n />\n </div>\n } @empty {\n <span class=\"list-text\">{{ filterDefaultText() | translate }}</span>\n }\n <si-filter-pill\n #overflowItem=\"siAutoCollapsableListOverflowItem\"\n siAutoCollapsableListOverflowItem\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [disabled]=\"disabled()\"\n [filter]=\"{\n description:\n collapsedFiltersDescription()\n | translate\n : {\n count: overflowItem.hiddenItemCount\n },\n title: '',\n filterName: ''\n }\"\n (deleteFilters)=\"deleteOverflowFilter()\"\n />\n @if (allowReset() && this.filters().length) {\n <button\n siAutoCollapsableListAdditionalContent\n type=\"button\"\n class=\"text-nowrap btn btn-tertiary\"\n [disabled]=\"disabled()\"\n (click)=\"onResetFilters()\"\n >\n {{ resetText() | translate }}\n </button>\n }\n</div>\n", styles: [":host{--filter-pill-gap: var(--si-sys-sizing-spacing-y-40)}:host.reset .responsive .list-text{line-height:calc(var(--si-sys-typography-font-size-body) + var(--si-sys-sizing-spacing-y-40) * 2)}.list-text{line-height:24px}.pill-wrapper{display:inline-block;vertical-align:middle}.responsive{overflow:hidden;display:flex;align-items:center;gap:var(--filter-pill-gap)}.responsive .list-text{color:var(--si-sys-color-text-disabled)}.responsive .invisible{position:absolute}.responsive si-filter-pill::ng-deep .pill{margin-inline-start:0}\n"], dependencies: [{ kind: "directive", type: SiAutoCollapsableListDirective, selector: "[siAutoCollapsableList]", inputs: ["siAutoCollapsableList", "gap", "siAutoCollapsableListContainerElement"], exportAs: ["siAutoCollapsableList"] }, { kind: "directive", type: SiAutoCollapsableListItemDirective, selector: "[siAutoCollapsableListItem]", inputs: ["forceHide"], exportAs: ["siAutoCollapsableListItem"] }, { kind: "directive", type: SiAutoCollapsableListOverflowItemDirective, selector: "[siAutoCollapsableListOverflowItem]", exportAs: ["siAutoCollapsableListOverflowItem"] }, { kind: "directive", type: SiAutoCollapsableListAdditionalContentDirective, selector: "[siAutoCollapsableListAdditionalContent]" }, { kind: "component", type: SiFilterPillComponent, selector: "si-filter-pill", inputs: ["filter", "disabled", "totalPills"], outputs: ["deleteFilters"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
127
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFilterBarComponent, isStandalone: true, selector: "si-filter-bar", inputs: { filterDefaultText: { classPropertyName: "filterDefaultText", publicName: "filterDefaultText", isSignal: true, isRequired: false, transformFunction: null }, filters: { classPropertyName: "filters", publicName: "filters", isSignal: true, isRequired: false, transformFunction: null }, resetText: { classPropertyName: "resetText", publicName: "resetText", isSignal: true, isRequired: false, transformFunction: null }, allowReset: { classPropertyName: "allowReset", publicName: "allowReset", isSignal: true, isRequired: false, transformFunction: null }, colorVariant: { classPropertyName: "colorVariant", publicName: "colorVariant", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, collapsedFiltersDescription: { classPropertyName: "collapsedFiltersDescription", publicName: "collapsedFiltersDescription", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { filters: "filtersChange", resetFilters: "resetFilters" }, host: { properties: { "class.reset": "allowReset()" } }, viewQueries: [{ propertyName: "collapsableListDirective", first: true, predicate: SiAutoCollapsableListDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"responsive py-2\" siAutoCollapsableList>\n @for (filter of filters(); track $index) {\n <div class=\"pill-wrapper\" siAutoCollapsableListItem>\n <si-filter-pill\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [totalPills]=\"$count\"\n [filter]=\"filter\"\n [disabled]=\"disabled()\"\n (deleteFilters)=\"deleteFilters($event)\"\n />\n </div>\n } @empty {\n <span class=\"list-text\">{{ filterDefaultText() | translate }}</span>\n }\n <si-filter-pill\n #overflowItem=\"siAutoCollapsableListOverflowItem\"\n siAutoCollapsableListOverflowItem\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [disabled]=\"disabled()\"\n [filter]=\"{\n description:\n collapsedFiltersDescription()\n | translate\n : {\n count: overflowItem.hiddenItemCount\n },\n title: '',\n filterName: ''\n }\"\n (deleteFilters)=\"deleteOverflowFilter()\"\n />\n @if (allowReset() && this.filters().length) {\n <button\n siAutoCollapsableListAdditionalContent\n type=\"button\"\n class=\"text-nowrap btn btn-tertiary\"\n [disabled]=\"disabled()\"\n (click)=\"onResetFilters()\"\n >\n {{ resetText() | translate }}\n </button>\n }\n</div>\n", styles: [":host{--filter-pill-gap: var(--si-sys-sizing-spacing-y-40)}:host.reset .responsive .list-text{line-height:calc(var(--si-sys-typography-body-font-size) + var(--si-sys-sizing-spacing-y-40) * 2)}.list-text{line-height:24px}.pill-wrapper{display:inline-block;vertical-align:middle}.responsive{overflow:hidden;display:flex;align-items:center;gap:var(--filter-pill-gap)}.responsive .list-text{color:var(--si-sys-color-text-disabled)}.responsive .invisible{position:absolute}.responsive si-filter-pill::ng-deep .pill{margin-inline-start:0}\n"], dependencies: [{ kind: "directive", type: SiAutoCollapsableListDirective, selector: "[siAutoCollapsableList]", inputs: ["siAutoCollapsableList", "gap", "siAutoCollapsableListContainerElement"], exportAs: ["siAutoCollapsableList"] }, { kind: "directive", type: SiAutoCollapsableListItemDirective, selector: "[siAutoCollapsableListItem]", inputs: ["forceHide"], exportAs: ["siAutoCollapsableListItem"] }, { kind: "directive", type: SiAutoCollapsableListOverflowItemDirective, selector: "[siAutoCollapsableListOverflowItem]", exportAs: ["siAutoCollapsableListOverflowItem"] }, { kind: "directive", type: SiAutoCollapsableListAdditionalContentDirective, selector: "[siAutoCollapsableListAdditionalContent]" }, { kind: "component", type: SiFilterPillComponent, selector: "si-filter-pill", inputs: ["filter", "disabled", "totalPills"], outputs: ["deleteFilters"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
128
128
  }
129
129
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFilterBarComponent, decorators: [{
130
130
  type: Component,
@@ -137,7 +137,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
137
137
  SiTranslatePipe
138
138
  ], changeDetection: ChangeDetectionStrategy.Eager, host: {
139
139
  '[class.reset]': 'allowReset()'
140
- }, template: "<div class=\"responsive py-2\" siAutoCollapsableList>\n @for (filter of filters(); track $index) {\n <div class=\"pill-wrapper\" siAutoCollapsableListItem>\n <si-filter-pill\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [totalPills]=\"$count\"\n [filter]=\"filter\"\n [disabled]=\"disabled()\"\n (deleteFilters)=\"deleteFilters($event)\"\n />\n </div>\n } @empty {\n <span class=\"list-text\">{{ filterDefaultText() | translate }}</span>\n }\n <si-filter-pill\n #overflowItem=\"siAutoCollapsableListOverflowItem\"\n siAutoCollapsableListOverflowItem\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [disabled]=\"disabled()\"\n [filter]=\"{\n description:\n collapsedFiltersDescription()\n | translate\n : {\n count: overflowItem.hiddenItemCount\n },\n title: '',\n filterName: ''\n }\"\n (deleteFilters)=\"deleteOverflowFilter()\"\n />\n @if (allowReset() && this.filters().length) {\n <button\n siAutoCollapsableListAdditionalContent\n type=\"button\"\n class=\"text-nowrap btn btn-tertiary\"\n [disabled]=\"disabled()\"\n (click)=\"onResetFilters()\"\n >\n {{ resetText() | translate }}\n </button>\n }\n</div>\n", styles: [":host{--filter-pill-gap: var(--si-sys-sizing-spacing-y-40)}:host.reset .responsive .list-text{line-height:calc(var(--si-sys-typography-font-size-body) + var(--si-sys-sizing-spacing-y-40) * 2)}.list-text{line-height:24px}.pill-wrapper{display:inline-block;vertical-align:middle}.responsive{overflow:hidden;display:flex;align-items:center;gap:var(--filter-pill-gap)}.responsive .list-text{color:var(--si-sys-color-text-disabled)}.responsive .invisible{position:absolute}.responsive si-filter-pill::ng-deep .pill{margin-inline-start:0}\n"] }]
140
+ }, template: "<div class=\"responsive py-2\" siAutoCollapsableList>\n @for (filter of filters(); track $index) {\n <div class=\"pill-wrapper\" siAutoCollapsableListItem>\n <si-filter-pill\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [totalPills]=\"$count\"\n [filter]=\"filter\"\n [disabled]=\"disabled()\"\n (deleteFilters)=\"deleteFilters($event)\"\n />\n </div>\n } @empty {\n <span class=\"list-text\">{{ filterDefaultText() | translate }}</span>\n }\n <si-filter-pill\n #overflowItem=\"siAutoCollapsableListOverflowItem\"\n siAutoCollapsableListOverflowItem\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [disabled]=\"disabled()\"\n [filter]=\"{\n description:\n collapsedFiltersDescription()\n | translate\n : {\n count: overflowItem.hiddenItemCount\n },\n title: '',\n filterName: ''\n }\"\n (deleteFilters)=\"deleteOverflowFilter()\"\n />\n @if (allowReset() && this.filters().length) {\n <button\n siAutoCollapsableListAdditionalContent\n type=\"button\"\n class=\"text-nowrap btn btn-tertiary\"\n [disabled]=\"disabled()\"\n (click)=\"onResetFilters()\"\n >\n {{ resetText() | translate }}\n </button>\n }\n</div>\n", styles: [":host{--filter-pill-gap: var(--si-sys-sizing-spacing-y-40)}:host.reset .responsive .list-text{line-height:calc(var(--si-sys-typography-body-font-size) + var(--si-sys-sizing-spacing-y-40) * 2)}.list-text{line-height:24px}.pill-wrapper{display:inline-block;vertical-align:middle}.responsive{overflow:hidden;display:flex;align-items:center;gap:var(--filter-pill-gap)}.responsive .list-text{color:var(--si-sys-color-text-disabled)}.responsive .invisible{position:absolute}.responsive si-filter-pill::ng-deep .pill{margin-inline-start:0}\n"] }]
141
141
  }], propDecorators: { filterDefaultText: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterDefaultText", required: false }] }], filters: [{ type: i0.Input, args: [{ isSignal: true, alias: "filters", required: false }] }, { type: i0.Output, args: ["filtersChange"] }], resetText: [{ type: i0.Input, args: [{ isSignal: true, alias: "resetText", required: false }] }], allowReset: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowReset", required: false }] }], colorVariant: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorVariant", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], collapsedFiltersDescription: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsedFiltersDescription", required: false }] }], resetFilters: [{ type: i0.Output, args: ["resetFilters"] }], collapsableListDirective: [{ type: i0.ViewChild, args: [i0.forwardRef(() => SiAutoCollapsableListDirective), { isSignal: true }] }] } });
142
142
 
143
143
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"siemens-element-ng-filter-bar.mjs","sources":["../../../../projects/element-ng/filter-bar/si-filter-pill.component.ts","../../../../projects/element-ng/filter-bar/si-filter-pill.component.html","../../../../projects/element-ng/filter-bar/si-filter-bar.component.ts","../../../../projects/element-ng/filter-bar/si-filter-bar.component.html","../../../../projects/element-ng/filter-bar/si-filter-bar.module.ts","../../../../projects/element-ng/filter-bar/index.ts","../../../../projects/element-ng/filter-bar/siemens-element-ng-filter-bar.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { NgTemplateOutlet } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, input, output } from '@angular/core';\nimport { elementCancel } from '@siemens/element-icons';\nimport { addIcons, SiIconComponent } from '@siemens/element-ng/icon';\nimport { SiTranslatePipe } from '@siemens/element-translate-ng/translate';\n\nimport { Filter } from './filter';\n\n@Component({\n selector: 'si-filter-pill',\n imports: [NgTemplateOutlet, SiIconComponent, SiTranslatePipe],\n templateUrl: './si-filter-pill.component.html',\n styleUrl: './si-filter-pill.component.scss',\n changeDetection: ChangeDetectionStrategy.Eager\n})\nexport class SiFilterPillComponent {\n protected readonly icons = addIcons({ elementCancel });\n /**\n * Settings of the filter pill.\n */\n readonly filter = input.required<Filter>();\n\n /**\n * Whether the pill's delete button is disabled.\n *\n * @defaultValue false\n */\n readonly disabled = input(false, { transform: booleanAttribute });\n\n /**\n * Total number of filter pills currently displayed.\n *\n * @defaultValue 0\n */\n readonly totalPills = input(0);\n\n /**\n * Emits the filter when its delete button is clicked.\n */\n readonly deleteFilters = output<Filter>();\n\n protected deleteClicked(): void {\n this.deleteFilters.emit(this.filter());\n }\n}\n","<div\n class=\"pill responsive\"\n [class.pe-0]=\"!disabled()\"\n [class.disabled]=\"disabled()\"\n [attr.aria-disabled]=\"disabled()\"\n>\n <div class=\"wrapper\">\n @if (filter().title) {\n <div class=\"name\">{{ filter().title | translate }}</div>\n }\n @if (filter().title && filter().description) {\n <span class=\"name pe-4\">:</span>\n }\n <div class=\"value\">{{ filter().description | translate }}</div>\n </div>\n @if (!disabled()) {\n <ng-container *ngTemplateOutlet=\"remove\" />\n }\n</div>\n<ng-template #remove>\n <button\n type=\"button\"\n class=\"btn-remove btn btn-circle btn-tertiary-ghost focus-inside ms-0 btn-sm\"\n aria-label=\"Remove\"\n [disabled]=\"disabled()\"\n (click)=\"deleteClicked()\"\n >\n <si-icon [icon]=\"icons.elementCancel\" />\n </button>\n</ng-template>\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n input,\n model,\n output,\n viewChild\n} from '@angular/core';\nimport {\n SiAutoCollapsableListAdditionalContentDirective,\n SiAutoCollapsableListDirective,\n SiAutoCollapsableListItemDirective,\n SiAutoCollapsableListOverflowItemDirective\n} from '@siemens/element-ng/auto-collapsable-list';\nimport { BackgroundColorVariant } from '@siemens/element-ng/common';\nimport { SiTranslatePipe, t } from '@siemens/element-translate-ng/translate';\n\nimport { Filter } from './filter';\nimport { SiFilterPillComponent } from './si-filter-pill.component';\n\n@Component({\n selector: 'si-filter-bar',\n imports: [\n SiAutoCollapsableListDirective,\n SiAutoCollapsableListItemDirective,\n SiAutoCollapsableListOverflowItemDirective,\n SiAutoCollapsableListAdditionalContentDirective,\n SiFilterPillComponent,\n SiTranslatePipe\n ],\n templateUrl: './si-filter-bar.component.html',\n styleUrl: './si-filter-bar.component.scss',\n changeDetection: ChangeDetectionStrategy.Eager,\n host: {\n '[class.reset]': 'allowReset()'\n }\n})\nexport class SiFilterBarComponent {\n /**\n * Custom text if no filters are selected.\n *\n * @defaultValue\n * ```\n * t(() => $localize`:@@SI_FILTER_BAR.NO_FILTERS:No filters applied`)\n * ```\n */\n readonly filterDefaultText = input(\n t(() => $localize`:@@SI_FILTER_BAR.NO_FILTERS:No filters applied`)\n );\n /**\n * Array of filter items to show\n *\n * @defaultValue []\n */\n readonly filters = model<Filter[]>([]);\n /**\n * Text for reset button\n *\n * @defaultValue\n * ```\n * t(() => $localize`:@@SI_FILTER_BAR.RESET_FILTERS:Reset filters`)\n * ```\n */\n readonly resetText = input(t(() => $localize`:@@SI_FILTER_BAR.RESET_FILTERS:Reset filters`));\n /**\n * Set false to hide reset filters button\n *\n * @defaultValue true\n */\n readonly allowReset = input(true, { transform: booleanAttribute });\n /**\n * Color to use for component background\n *\n * @defaultValue 'base-1'\n */\n readonly colorVariant = input<BackgroundColorVariant>('base-1');\n\n /**\n * Set to true to disable component\n *\n * @defaultValue false\n */\n readonly disabled = input(false, { transform: booleanAttribute });\n\n /**\n * Custom text for the collapsed filters.\n * @defaultValue\n * ```\n * t(() => $localize`:@@SI_FILTER_BAR.COLLAPSED_FILTERS_DESCRIPTION:+ {{count}} criteria`)\n * ```\n */\n readonly collapsedFiltersDescription = input(\n t(() => $localize`:@@SI_FILTER_BAR.COLLAPSED_FILTERS_DESCRIPTION:+ {{count}} criteria`)\n );\n\n /**\n * Output callback to be executed when the reset filter is clicked\n */\n readonly resetFilters = output<void>();\n\n private readonly collapsableListDirective = viewChild.required(SiAutoCollapsableListDirective);\n\n protected deleteFilters(deletedPill: Filter): void {\n this.filters.set(this.filters().filter(filter => filter !== deletedPill));\n }\n\n protected onResetFilters(): void {\n this.filters.set([]);\n this.resetFilters.emit();\n }\n\n protected deleteOverflowFilter(): void {\n this.filters.update(filters =>\n filters.slice(\n 0,\n this.collapsableListDirective()\n .items()\n .findIndex(item => !item.isVisible())\n )\n );\n }\n}\n","<div class=\"responsive py-2\" siAutoCollapsableList>\n @for (filter of filters(); track $index) {\n <div class=\"pill-wrapper\" siAutoCollapsableListItem>\n <si-filter-pill\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [totalPills]=\"$count\"\n [filter]=\"filter\"\n [disabled]=\"disabled()\"\n (deleteFilters)=\"deleteFilters($event)\"\n />\n </div>\n } @empty {\n <span class=\"list-text\">{{ filterDefaultText() | translate }}</span>\n }\n <si-filter-pill\n #overflowItem=\"siAutoCollapsableListOverflowItem\"\n siAutoCollapsableListOverflowItem\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [disabled]=\"disabled()\"\n [filter]=\"{\n description:\n collapsedFiltersDescription()\n | translate\n : {\n count: overflowItem.hiddenItemCount\n },\n title: '',\n filterName: ''\n }\"\n (deleteFilters)=\"deleteOverflowFilter()\"\n />\n @if (allowReset() && this.filters().length) {\n <button\n siAutoCollapsableListAdditionalContent\n type=\"button\"\n class=\"text-nowrap btn btn-tertiary\"\n [disabled]=\"disabled()\"\n (click)=\"onResetFilters()\"\n >\n {{ resetText() | translate }}\n </button>\n }\n</div>\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { NgModule } from '@angular/core';\n\nimport { SiFilterBarComponent } from './si-filter-bar.component';\n\n@NgModule({\n imports: [SiFilterBarComponent],\n exports: [SiFilterBarComponent]\n})\nexport class SiFilterBarModule {}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nexport * from './filter';\nexport * from './si-filter-bar.component';\nexport * from './si-filter-bar.module';\nexport * from './si-filter-pill.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;;;AAGG;MAgBU,qBAAqB,CAAA;AACb,IAAA,KAAK,GAAG,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;AACtD;;AAEG;IACM,MAAM,GAAG,KAAK,CAAC,QAAQ;+EAAU;AAE1C;;;;AAIG;IACM,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEjE;;;;AAIG;IACM,UAAU,GAAG,KAAK,CAAC,CAAC;mFAAC;AAE9B;;AAEG;IACM,aAAa,GAAG,MAAM,EAAU;IAE/B,aAAa,GAAA;QACrB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IACxC;uGA5BW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAArB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,qgBCnBlC,w1BA8BA,EAAA,MAAA,EAAA,CAAA,uqBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDhBY,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,eAAe,iEAAE,eAAe,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAA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AAoB,CAAA,EAAA,CAAA;;2FAGnB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,oBAAoB,CAAC;oBAC/B,OAAO,EAAE,CAAC,oBAAoB;AAC/B,iBAAA;;;ACXD;;;AAGG;;ACHH;;AAEG;;"}
1
+ {"version":3,"file":"siemens-element-ng-filter-bar.mjs","sources":["../../../../projects/element-ng/filter-bar/si-filter-pill.component.ts","../../../../projects/element-ng/filter-bar/si-filter-pill.component.html","../../../../projects/element-ng/filter-bar/si-filter-bar.component.ts","../../../../projects/element-ng/filter-bar/si-filter-bar.component.html","../../../../projects/element-ng/filter-bar/si-filter-bar.module.ts","../../../../projects/element-ng/filter-bar/index.ts","../../../../projects/element-ng/filter-bar/siemens-element-ng-filter-bar.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { NgTemplateOutlet } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, input, output } from '@angular/core';\nimport { elementCancel } from '@siemens/element-icons';\nimport { addIcons, SiIconComponent } from '@siemens/element-ng/icon';\nimport { SiTranslatePipe } from '@siemens/element-translate-ng/translate';\n\nimport { Filter } from './filter';\n\n@Component({\n selector: 'si-filter-pill',\n imports: [NgTemplateOutlet, SiIconComponent, SiTranslatePipe],\n templateUrl: './si-filter-pill.component.html',\n styleUrl: './si-filter-pill.component.scss',\n changeDetection: ChangeDetectionStrategy.Eager\n})\nexport class SiFilterPillComponent {\n protected readonly icons = addIcons({ elementCancel });\n /**\n * Settings of the filter pill.\n */\n readonly filter = input.required<Filter>();\n\n /**\n * Whether the pill's delete button is disabled.\n *\n * @defaultValue false\n */\n readonly disabled = input(false, { transform: booleanAttribute });\n\n /**\n * Total number of filter pills currently displayed.\n *\n * @defaultValue 0\n */\n readonly totalPills = input(0);\n\n /**\n * Emits the filter when its delete button is clicked.\n */\n readonly deleteFilters = output<Filter>();\n\n protected deleteClicked(): void {\n this.deleteFilters.emit(this.filter());\n }\n}\n","<div\n class=\"pill responsive\"\n [class.pe-0]=\"!disabled()\"\n [class.disabled]=\"disabled()\"\n [attr.aria-disabled]=\"disabled()\"\n>\n <div class=\"wrapper\">\n @if (filter().title) {\n <div class=\"name\">{{ filter().title | translate }}</div>\n }\n @if (filter().title && filter().description) {\n <span class=\"name pe-4\">:</span>\n }\n <div class=\"value\">{{ filter().description | translate }}</div>\n </div>\n @if (!disabled()) {\n <ng-container *ngTemplateOutlet=\"remove\" />\n }\n</div>\n<ng-template #remove>\n <button\n type=\"button\"\n class=\"btn-remove btn btn-circle btn-tertiary-ghost focus-inside ms-0 btn-sm\"\n aria-label=\"Remove\"\n [disabled]=\"disabled()\"\n (click)=\"deleteClicked()\"\n >\n <si-icon [icon]=\"icons.elementCancel\" />\n </button>\n</ng-template>\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n input,\n model,\n output,\n viewChild\n} from '@angular/core';\nimport {\n SiAutoCollapsableListAdditionalContentDirective,\n SiAutoCollapsableListDirective,\n SiAutoCollapsableListItemDirective,\n SiAutoCollapsableListOverflowItemDirective\n} from '@siemens/element-ng/auto-collapsable-list';\nimport { BackgroundColorVariant } from '@siemens/element-ng/common';\nimport { SiTranslatePipe, t } from '@siemens/element-translate-ng/translate';\n\nimport { Filter } from './filter';\nimport { SiFilterPillComponent } from './si-filter-pill.component';\n\n@Component({\n selector: 'si-filter-bar',\n imports: [\n SiAutoCollapsableListDirective,\n SiAutoCollapsableListItemDirective,\n SiAutoCollapsableListOverflowItemDirective,\n SiAutoCollapsableListAdditionalContentDirective,\n SiFilterPillComponent,\n SiTranslatePipe\n ],\n templateUrl: './si-filter-bar.component.html',\n styleUrl: './si-filter-bar.component.scss',\n changeDetection: ChangeDetectionStrategy.Eager,\n host: {\n '[class.reset]': 'allowReset()'\n }\n})\nexport class SiFilterBarComponent {\n /**\n * Custom text if no filters are selected.\n *\n * @defaultValue\n * ```\n * t(() => $localize`:@@SI_FILTER_BAR.NO_FILTERS:No filters applied`)\n * ```\n */\n readonly filterDefaultText = input(\n t(() => $localize`:@@SI_FILTER_BAR.NO_FILTERS:No filters applied`)\n );\n /**\n * Array of filter items to show\n *\n * @defaultValue []\n */\n readonly filters = model<Filter[]>([]);\n /**\n * Text for reset button\n *\n * @defaultValue\n * ```\n * t(() => $localize`:@@SI_FILTER_BAR.RESET_FILTERS:Reset filters`)\n * ```\n */\n readonly resetText = input(t(() => $localize`:@@SI_FILTER_BAR.RESET_FILTERS:Reset filters`));\n /**\n * Set false to hide reset filters button\n *\n * @defaultValue true\n */\n readonly allowReset = input(true, { transform: booleanAttribute });\n /**\n * Color to use for component background\n *\n * @defaultValue 'base-1'\n */\n readonly colorVariant = input<BackgroundColorVariant>('base-1');\n\n /**\n * Set to true to disable component\n *\n * @defaultValue false\n */\n readonly disabled = input(false, { transform: booleanAttribute });\n\n /**\n * Custom text for the collapsed filters.\n * @defaultValue\n * ```\n * t(() => $localize`:@@SI_FILTER_BAR.COLLAPSED_FILTERS_DESCRIPTION:+ {{count}} criteria`)\n * ```\n */\n readonly collapsedFiltersDescription = input(\n t(() => $localize`:@@SI_FILTER_BAR.COLLAPSED_FILTERS_DESCRIPTION:+ {{count}} criteria`)\n );\n\n /**\n * Output callback to be executed when the reset filter is clicked\n */\n readonly resetFilters = output<void>();\n\n private readonly collapsableListDirective = viewChild.required(SiAutoCollapsableListDirective);\n\n protected deleteFilters(deletedPill: Filter): void {\n this.filters.set(this.filters().filter(filter => filter !== deletedPill));\n }\n\n protected onResetFilters(): void {\n this.filters.set([]);\n this.resetFilters.emit();\n }\n\n protected deleteOverflowFilter(): void {\n this.filters.update(filters =>\n filters.slice(\n 0,\n this.collapsableListDirective()\n .items()\n .findIndex(item => !item.isVisible())\n )\n );\n }\n}\n","<div class=\"responsive py-2\" siAutoCollapsableList>\n @for (filter of filters(); track $index) {\n <div class=\"pill-wrapper\" siAutoCollapsableListItem>\n <si-filter-pill\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [totalPills]=\"$count\"\n [filter]=\"filter\"\n [disabled]=\"disabled()\"\n (deleteFilters)=\"deleteFilters($event)\"\n />\n </div>\n } @empty {\n <span class=\"list-text\">{{ filterDefaultText() | translate }}</span>\n }\n <si-filter-pill\n #overflowItem=\"siAutoCollapsableListOverflowItem\"\n siAutoCollapsableListOverflowItem\n [class.dark-background]=\"colorVariant() === 'base-0'\"\n [disabled]=\"disabled()\"\n [filter]=\"{\n description:\n collapsedFiltersDescription()\n | translate\n : {\n count: overflowItem.hiddenItemCount\n },\n title: '',\n filterName: ''\n }\"\n (deleteFilters)=\"deleteOverflowFilter()\"\n />\n @if (allowReset() && this.filters().length) {\n <button\n siAutoCollapsableListAdditionalContent\n type=\"button\"\n class=\"text-nowrap btn btn-tertiary\"\n [disabled]=\"disabled()\"\n (click)=\"onResetFilters()\"\n >\n {{ resetText() | translate }}\n </button>\n }\n</div>\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nimport { NgModule } from '@angular/core';\n\nimport { SiFilterBarComponent } from './si-filter-bar.component';\n\n@NgModule({\n imports: [SiFilterBarComponent],\n exports: [SiFilterBarComponent]\n})\nexport class SiFilterBarModule {}\n","/**\n * Copyright (c) Siemens 2016 - 2026\n * SPDX-License-Identifier: MIT\n */\nexport * from './filter';\nexport * from './si-filter-bar.component';\nexport * from './si-filter-bar.module';\nexport * from './si-filter-pill.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;;;AAGG;MAgBU,qBAAqB,CAAA;AACb,IAAA,KAAK,GAAG,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;AACtD;;AAEG;IACM,MAAM,GAAG,KAAK,CAAC,QAAQ;+EAAU;AAE1C;;;;AAIG;IACM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;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,EAAA,OAAA,EAChB;wBACP,8BAA8B;wBAC9B,kCAAkC;wBAClC,0CAA0C;wBAC1C,+CAA+C;wBAC/C,qBAAqB;wBACrB;qBACD,EAAA,eAAA,EAGgB,uBAAuB,CAAC,KAAK,EAAA,IAAA,EACxC;AACJ,wBAAA,eAAe,EAAE;AAClB,qBAAA,EAAA,QAAA,EAAA,4yCAAA,EAAA,MAAA,EAAA,CAAA,whBAAA,CAAA,EAAA;y7BAiE8D,8BAA8B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEzG/F;;;AAGG;MASU,iBAAiB,CAAA;uGAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAjB,iBAAiB,EAAA,OAAA,EAAA,CAHlB,oBAAoB,CAAA,EAAA,OAAA,EAAA,CACpB,oBAAoB,CAAA,EAAA,CAAA;AAEnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAHlB,oBAAoB,CAAA,EAAA,CAAA;;2FAGnB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,oBAAoB,CAAC;oBAC/B,OAAO,EAAE,CAAC,oBAAoB;AAC/B,iBAAA;;;ACXD;;;AAGG;;ACHH;;AAEG;;"}
@@ -19,11 +19,11 @@ class SiFooterComponent {
19
19
  links = input(/* @ts-ignore */
20
20
  ...(ngDevMode ? [undefined, { debugName: "links" }] : /* istanbul ignore next */ []));
21
21
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFooterComponent, isStandalone: true, selector: "si-footer", inputs: { copyright: { classPropertyName: "copyright", publicName: "copyright", isSignal: true, isRequired: true, transformFunction: null }, links: { classPropertyName: "links", publicName: "links", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<footer>\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-sm-4 col-md-6\"> \u00A9 {{ copyright() }} </div>\n <div class=\"col-sm-8 col-md-6 text-sm-end\">\n @for (link of links(); track $index) {\n <span>\n <a [siLink]=\"link\">\n {{ link.title | translate }}\n </a>\n </span>\n }\n </div>\n </div>\n </div>\n</footer>\n", styles: ["footer{margin-block-end:0;background-color:var(--si-sys-color-background-0);color:var(--si-sys-color-text-secondary);font-size:var(--si-sys-typography-font-size-body-sm);border-block-start:1px solid var(--si-sys-color-border-4);overflow:auto}a,span{display:inline-flex}a+a:before,a+span:before,span+a:before,span+span:before{content:\"|\";padding-inline:var(--si-sys-sizing-spacing-x-40)}.container-fluid{padding-block:var(--si-sys-sizing-spacing-y-50)}\n"], dependencies: [{ kind: "directive", type: SiLinkDirective, selector: "[siLink]", inputs: ["siLink", "siLinkDefaultTarget", "actionParam", "activeClass", "exactMatch", "ariaCurrent"], outputs: ["activeChange"], exportAs: ["siLink"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
22
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFooterComponent, isStandalone: true, selector: "si-footer", inputs: { copyright: { classPropertyName: "copyright", publicName: "copyright", isSignal: true, isRequired: true, transformFunction: null }, links: { classPropertyName: "links", publicName: "links", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<footer>\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-sm-4 col-md-6\"> \u00A9 {{ copyright() }} </div>\n <div class=\"col-sm-8 col-md-6 text-sm-end\">\n @for (link of links(); track $index) {\n <span>\n <a [siLink]=\"link\">\n {{ link.title | translate }}\n </a>\n </span>\n }\n </div>\n </div>\n </div>\n</footer>\n", styles: ["footer{margin-block-end:0;background-color:var(--si-sys-color-background-0);color:var(--si-sys-color-text-secondary);font-size:var(--si-sys-typography-body-sm-font-size);border-block-start:1px solid var(--si-sys-color-border-4);overflow:auto}a,span{display:inline-flex}a+a:before,a+span:before,span+a:before,span+span:before{content:\"|\";padding-inline:var(--si-sys-sizing-spacing-x-40)}.container-fluid{padding-block:var(--si-sys-sizing-spacing-y-50)}\n"], dependencies: [{ kind: "directive", type: SiLinkDirective, selector: "[siLink]", inputs: ["siLink", "siLinkDefaultTarget", "actionParam", "activeClass", "exactMatch", "ariaCurrent"], outputs: ["activeChange"], exportAs: ["siLink"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
23
23
  }
24
24
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFooterComponent, decorators: [{
25
25
  type: Component,
26
- args: [{ selector: 'si-footer', imports: [SiLinkDirective, SiTranslatePipe], changeDetection: ChangeDetectionStrategy.Eager, template: "<footer>\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-sm-4 col-md-6\"> \u00A9 {{ copyright() }} </div>\n <div class=\"col-sm-8 col-md-6 text-sm-end\">\n @for (link of links(); track $index) {\n <span>\n <a [siLink]=\"link\">\n {{ link.title | translate }}\n </a>\n </span>\n }\n </div>\n </div>\n </div>\n</footer>\n", styles: ["footer{margin-block-end:0;background-color:var(--si-sys-color-background-0);color:var(--si-sys-color-text-secondary);font-size:var(--si-sys-typography-font-size-body-sm);border-block-start:1px solid var(--si-sys-color-border-4);overflow:auto}a,span{display:inline-flex}a+a:before,a+span:before,span+a:before,span+span:before{content:\"|\";padding-inline:var(--si-sys-sizing-spacing-x-40)}.container-fluid{padding-block:var(--si-sys-sizing-spacing-y-50)}\n"] }]
26
+ args: [{ selector: 'si-footer', imports: [SiLinkDirective, SiTranslatePipe], changeDetection: ChangeDetectionStrategy.Eager, template: "<footer>\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-sm-4 col-md-6\"> \u00A9 {{ copyright() }} </div>\n <div class=\"col-sm-8 col-md-6 text-sm-end\">\n @for (link of links(); track $index) {\n <span>\n <a [siLink]=\"link\">\n {{ link.title | translate }}\n </a>\n </span>\n }\n </div>\n </div>\n </div>\n</footer>\n", styles: ["footer{margin-block-end:0;background-color:var(--si-sys-color-background-0);color:var(--si-sys-color-text-secondary);font-size:var(--si-sys-typography-body-sm-font-size);border-block-start:1px solid var(--si-sys-color-border-4);overflow:auto}a,span{display:inline-flex}a+a:before,a+span:before,span+a:before,span+span:before{content:\"|\";padding-inline:var(--si-sys-sizing-spacing-x-40)}.container-fluid{padding-block:var(--si-sys-sizing-spacing-y-50)}\n"] }]
27
27
  }], propDecorators: { copyright: [{ type: i0.Input, args: [{ isSignal: true, alias: "copyright", required: true }] }], links: [{ type: i0.Input, args: [{ isSignal: true, alias: "links", required: false }] }] } });
28
28
 
29
29
  /**
@@ -233,7 +233,7 @@ class SiFormFieldsetComponent {
233
233
  this.formItems.update(items => items.filter(i => i !== item));
234
234
  }
235
235
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFormFieldsetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
236
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFormFieldsetComponent, isStandalone: true, selector: "si-form-fieldset", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, inline: { classPropertyName: "inline", publicName: "inline", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "style.--si-form-label-width": "labelWidth()", "attr.aria-labelledby": "labelId" }, classAttribute: "si-form-fieldset" }, ngImport: i0, template: "<div class=\"form-label d-flex gap-2\">\n <span [class.required]=\"isRequired()\" [id]=\"labelId\">{{ label() | translate }}</span>\n <ng-content select=\"[si-help-button]\" />\n</div>\n<div>\n <div [class]=\"inline() ? '' : 'd-flex flex-column gap-2 mb-2'\">\n <ng-content />\n </div>\n @if (hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [class.d-block]=\"showErrors()\">\n @for (error of errors(); track error) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n</div>\n", styles: [":host-context(.si-container-sm) :host.si-form-input,:host-context(.si-container-md) :host.si-form-input,:host-context(.si-container-lg) :host.si-form-input,:host-context(.si-container-xl) :host.si-form-input,:host-context(.si-container-xxl) :host.si-form-input{display:flex;flex-direction:row;align-items:center}:host-context(.si-container-sm) .form-label,:host-context(.si-container-md) .form-label,:host-context(.si-container-lg) .form-label,:host-context(.si-container-xl) .form-label,:host-context(.si-container-xxl) .form-label{align-self:start;padding-block:calc(calc(var(--si-sys-sizing-spacing-y-40) - 1px) + 1px);padding-inline:var(--si-sys-sizing-spacing-x-60);inline-size:var(--si-form-label-width, 16.6666666667%);line-height:calc(var(--si-sys-typography-font-size-body) * var(--si-sys-typography-line-height-body))}:host-context(.si-container-sm) .form-label:empty,:host-context(.si-container-md) .form-label:empty,:host-context(.si-container-lg) .form-label:empty,:host-context(.si-container-xl) .form-label:empty,:host-context(.si-container-xxl) .form-label:empty{display:block}:host-context(.si-container-sm) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-md) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-lg) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xl) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xxl) :host-context(.si-form-fieldset) .form-label{padding-block:var(--si-sys-sizing-spacing-y-10) 0}:host-context(.si-container-sm) :host(.form-check) .form-label,:host-context(.si-container-md) :host(.form-check) .form-label,:host-context(.si-container-lg) :host(.form-check) .form-label,:host-context(.si-container-xl) :host(.form-check) .form-label,:host-context(.si-container-xxl) :host(.form-check) .form-label{padding-block:2px}\n"], dependencies: [{ kind: "pipe", type: SiTranslatePipe, name: "translate" }] });
236
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFormFieldsetComponent, isStandalone: true, selector: "si-form-fieldset", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, inline: { classPropertyName: "inline", publicName: "inline", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "style.--si-form-label-width": "labelWidth()", "attr.aria-labelledby": "labelId" }, classAttribute: "si-form-fieldset" }, ngImport: i0, template: "<div class=\"form-label d-flex gap-2\">\n <span [class.required]=\"isRequired()\" [id]=\"labelId\">{{ label() | translate }}</span>\n <ng-content select=\"[si-help-button]\" />\n</div>\n<div>\n <div [class]=\"inline() ? '' : 'd-flex flex-column gap-2 mb-2'\">\n <ng-content />\n </div>\n @if (hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [class.d-block]=\"showErrors()\">\n @for (error of errors(); track error) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n</div>\n", styles: [":host-context(.si-container-sm) :host.si-form-input,:host-context(.si-container-md) :host.si-form-input,:host-context(.si-container-lg) :host.si-form-input,:host-context(.si-container-xl) :host.si-form-input,:host-context(.si-container-xxl) :host.si-form-input{display:flex;flex-direction:row;align-items:center}:host-context(.si-container-sm) .form-label,:host-context(.si-container-md) .form-label,:host-context(.si-container-lg) .form-label,:host-context(.si-container-xl) .form-label,:host-context(.si-container-xxl) .form-label{align-self:start;padding-block:calc(calc(var(--si-sys-sizing-spacing-y-40) - 1px) + 1px);padding-inline:var(--si-sys-sizing-spacing-x-60);inline-size:var(--si-form-label-width, 16.6666666667%);line-height:calc(var(--si-sys-typography-body-font-size) * var(--si-sys-typography-body-line-height))}:host-context(.si-container-sm) .form-label:empty,:host-context(.si-container-md) .form-label:empty,:host-context(.si-container-lg) .form-label:empty,:host-context(.si-container-xl) .form-label:empty,:host-context(.si-container-xxl) .form-label:empty{display:block}:host-context(.si-container-sm) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-md) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-lg) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xl) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xxl) :host-context(.si-form-fieldset) .form-label{padding-block:var(--si-sys-sizing-spacing-y-10) 0}:host-context(.si-container-sm) :host(.form-check) .form-label,:host-context(.si-container-md) :host(.form-check) .form-label,:host-context(.si-container-lg) :host(.form-check) .form-label,:host-context(.si-container-xl) :host(.form-check) .form-label,:host-context(.si-container-xxl) :host(.form-check) .form-label{padding-block:2px}\n"], dependencies: [{ kind: "pipe", type: SiTranslatePipe, name: "translate" }] });
237
237
  }
238
238
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFormFieldsetComponent, decorators: [{
239
239
  type: Component,
@@ -242,7 +242,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
242
242
  class: 'si-form-fieldset',
243
243
  '[style.--si-form-label-width]': 'labelWidth()',
244
244
  '[attr.aria-labelledby]': 'labelId'
245
- }, template: "<div class=\"form-label d-flex gap-2\">\n <span [class.required]=\"isRequired()\" [id]=\"labelId\">{{ label() | translate }}</span>\n <ng-content select=\"[si-help-button]\" />\n</div>\n<div>\n <div [class]=\"inline() ? '' : 'd-flex flex-column gap-2 mb-2'\">\n <ng-content />\n </div>\n @if (hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [class.d-block]=\"showErrors()\">\n @for (error of errors(); track error) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n</div>\n", styles: [":host-context(.si-container-sm) :host.si-form-input,:host-context(.si-container-md) :host.si-form-input,:host-context(.si-container-lg) :host.si-form-input,:host-context(.si-container-xl) :host.si-form-input,:host-context(.si-container-xxl) :host.si-form-input{display:flex;flex-direction:row;align-items:center}:host-context(.si-container-sm) .form-label,:host-context(.si-container-md) .form-label,:host-context(.si-container-lg) .form-label,:host-context(.si-container-xl) .form-label,:host-context(.si-container-xxl) .form-label{align-self:start;padding-block:calc(calc(var(--si-sys-sizing-spacing-y-40) - 1px) + 1px);padding-inline:var(--si-sys-sizing-spacing-x-60);inline-size:var(--si-form-label-width, 16.6666666667%);line-height:calc(var(--si-sys-typography-font-size-body) * var(--si-sys-typography-line-height-body))}:host-context(.si-container-sm) .form-label:empty,:host-context(.si-container-md) .form-label:empty,:host-context(.si-container-lg) .form-label:empty,:host-context(.si-container-xl) .form-label:empty,:host-context(.si-container-xxl) .form-label:empty{display:block}:host-context(.si-container-sm) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-md) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-lg) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xl) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xxl) :host-context(.si-form-fieldset) .form-label{padding-block:var(--si-sys-sizing-spacing-y-10) 0}:host-context(.si-container-sm) :host(.form-check) .form-label,:host-context(.si-container-md) :host(.form-check) .form-label,:host-context(.si-container-lg) :host(.form-check) .form-label,:host-context(.si-container-xl) :host(.form-check) .form-label,:host-context(.si-container-xxl) :host(.form-check) .form-label{padding-block:2px}\n"] }]
245
+ }, template: "<div class=\"form-label d-flex gap-2\">\n <span [class.required]=\"isRequired()\" [id]=\"labelId\">{{ label() | translate }}</span>\n <ng-content select=\"[si-help-button]\" />\n</div>\n<div>\n <div [class]=\"inline() ? '' : 'd-flex flex-column gap-2 mb-2'\">\n <ng-content />\n </div>\n @if (hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [class.d-block]=\"showErrors()\">\n @for (error of errors(); track error) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n</div>\n", styles: [":host-context(.si-container-sm) :host.si-form-input,:host-context(.si-container-md) :host.si-form-input,:host-context(.si-container-lg) :host.si-form-input,:host-context(.si-container-xl) :host.si-form-input,:host-context(.si-container-xxl) :host.si-form-input{display:flex;flex-direction:row;align-items:center}:host-context(.si-container-sm) .form-label,:host-context(.si-container-md) .form-label,:host-context(.si-container-lg) .form-label,:host-context(.si-container-xl) .form-label,:host-context(.si-container-xxl) .form-label{align-self:start;padding-block:calc(calc(var(--si-sys-sizing-spacing-y-40) - 1px) + 1px);padding-inline:var(--si-sys-sizing-spacing-x-60);inline-size:var(--si-form-label-width, 16.6666666667%);line-height:calc(var(--si-sys-typography-body-font-size) * var(--si-sys-typography-body-line-height))}:host-context(.si-container-sm) .form-label:empty,:host-context(.si-container-md) .form-label:empty,:host-context(.si-container-lg) .form-label:empty,:host-context(.si-container-xl) .form-label:empty,:host-context(.si-container-xxl) .form-label:empty{display:block}:host-context(.si-container-sm) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-md) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-lg) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xl) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xxl) :host-context(.si-form-fieldset) .form-label{padding-block:var(--si-sys-sizing-spacing-y-10) 0}:host-context(.si-container-sm) :host(.form-check) .form-label,:host-context(.si-container-md) :host(.form-check) .form-label,:host-context(.si-container-lg) :host(.form-check) .form-label,:host-context(.si-container-xl) :host(.form-check) .form-label,:host-context(.si-container-xxl) :host(.form-check) .form-label{padding-block:2px}\n"] }]
246
246
  }], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], labelWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelWidth", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], inline: [{ type: i0.Input, args: [{ isSignal: true, alias: "inline", required: false }] }] } });
247
247
 
248
248
  /**
@@ -749,7 +749,7 @@ class SiFormItemComponent {
749
749
  }
750
750
  }
751
751
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFormItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
752
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFormItemComponent, isStandalone: true, selector: "si-form-item", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, disableErrorPrinting: { classPropertyName: "disableErrorPrinting", publicName: "disableErrorPrinting", isSignal: true, isRequired: false, transformFunction: null }, formErrorMapper: { classPropertyName: "formErrorMapper", publicName: "formErrorMapper", isSignal: true, isRequired: false, transformFunction: null }, requiredInput: { classPropertyName: "requiredInput", publicName: "required", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.required": "required()", "style.--si-form-label-width": "labelWidthCssVar()", "class.form-check": "fieldControl()?.isFormCheck", "class.form-check-inline": "fieldset?.inline()", "class.si-form-input": "!fieldset" } }, queries: [{ propertyName: "fieldControlQuery", first: true, predicate: SI_FORM_ITEM_CONTROL, descendants: true, isSignal: true }, { propertyName: "ngControl", first: true, predicate: NgControl, descendants: true, isSignal: true }, { propertyName: "controlElementRef", first: true, predicate: NgControl, descendants: true, read: ElementRef, isSignal: true }, { propertyName: "requiredValidator", first: true, predicate: RequiredValidator, descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: "<!--Block the space if no form-field is provided. Otherwise it looks weird in the formly field inline representation.-->\n@if (fieldControl()?.isFormCheck && !fieldset) {\n <div class=\"form-label\"></div>\n}\n@if (fieldControl()?.isFormCheck) {\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n} @else {\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n}\n\n<ng-template #labelTemplate>\n @if (label()) {\n <div\n class=\"d-flex gap-2 align-items-start\"\n [class.form-label]=\"!fieldControl()?.isFormCheck\"\n [class.form-check-label]=\"fieldControl()?.isFormCheck\"\n >\n @let labeledBy = formItemLabelledBy;\n @let required = this.required() && !this.fieldset?.hasOnlyRadios();\n @if (labeledBy) {\n <span [id]=\"labeledBy\" [class.required]=\"required\">{{ label()! | translate }}</span>\n } @else {\n <label [for]=\"formItemId\" [class.required]=\"required\">{{ label()! | translate }}</label>\n }\n <ng-content select=\"[si-help-button]\" />\n </div>\n }\n</ng-template>\n<ng-template #feedbackTemplate>\n @if (printErrors() && !fieldset?.hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [attr.id]=\"formItemErrormessageId\">\n @for (error of errors(); track error.key) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n <ng-content select=\".warning-feedback, .info-feedback, .invalid-feedback\" />\n</ng-template>\n<ng-template #content>\n <ng-content />\n</ng-template>\n", styles: [":host-context(.si-container-sm) :host.si-form-input,:host-context(.si-container-md) :host.si-form-input,:host-context(.si-container-lg) :host.si-form-input,:host-context(.si-container-xl) :host.si-form-input,:host-context(.si-container-xxl) :host.si-form-input{display:flex;flex-direction:row;align-items:center}:host-context(.si-container-sm) .form-label,:host-context(.si-container-md) .form-label,:host-context(.si-container-lg) .form-label,:host-context(.si-container-xl) .form-label,:host-context(.si-container-xxl) .form-label{align-self:start;padding-block:calc(calc(var(--si-sys-sizing-spacing-y-40) - 1px) + 1px);padding-inline:var(--si-sys-sizing-spacing-x-60);inline-size:var(--si-form-label-width, 16.6666666667%);line-height:calc(var(--si-sys-typography-font-size-body) * var(--si-sys-typography-line-height-body))}:host-context(.si-container-sm) .form-label:empty,:host-context(.si-container-md) .form-label:empty,:host-context(.si-container-lg) .form-label:empty,:host-context(.si-container-xl) .form-label:empty,:host-context(.si-container-xxl) .form-label:empty{display:block}:host-context(.si-container-sm) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-md) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-lg) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xl) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xxl) :host-context(.si-form-fieldset) .form-label{padding-block:var(--si-sys-sizing-spacing-y-10) 0}:host-context(.si-container-sm) :host(.form-check) .form-label,:host-context(.si-container-md) :host(.form-check) .form-label,:host-context(.si-container-lg) :host(.form-check) .form-label,:host-context(.si-container-xl) :host(.form-check) .form-label,:host-context(.si-container-xxl) :host(.form-check) .form-label{padding-block:2px}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }] });
752
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFormItemComponent, isStandalone: true, selector: "si-form-item", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, disableErrorPrinting: { classPropertyName: "disableErrorPrinting", publicName: "disableErrorPrinting", isSignal: true, isRequired: false, transformFunction: null }, formErrorMapper: { classPropertyName: "formErrorMapper", publicName: "formErrorMapper", isSignal: true, isRequired: false, transformFunction: null }, requiredInput: { classPropertyName: "requiredInput", publicName: "required", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.required": "required()", "style.--si-form-label-width": "labelWidthCssVar()", "class.form-check": "fieldControl()?.isFormCheck", "class.form-check-inline": "fieldset?.inline()", "class.si-form-input": "!fieldset" } }, queries: [{ propertyName: "fieldControlQuery", first: true, predicate: SI_FORM_ITEM_CONTROL, descendants: true, isSignal: true }, { propertyName: "ngControl", first: true, predicate: NgControl, descendants: true, isSignal: true }, { propertyName: "controlElementRef", first: true, predicate: NgControl, descendants: true, read: ElementRef, isSignal: true }, { propertyName: "requiredValidator", first: true, predicate: RequiredValidator, descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: "<!--Block the space if no form-field is provided. Otherwise it looks weird in the formly field inline representation.-->\n@if (fieldControl()?.isFormCheck && !fieldset) {\n <div class=\"form-label\"></div>\n}\n@if (fieldControl()?.isFormCheck) {\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n} @else {\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n}\n\n<ng-template #labelTemplate>\n @if (label()) {\n <div\n class=\"d-flex gap-2 align-items-start\"\n [class.form-label]=\"!fieldControl()?.isFormCheck\"\n [class.form-check-label]=\"fieldControl()?.isFormCheck\"\n >\n @let labeledBy = formItemLabelledBy;\n @let required = this.required() && !this.fieldset?.hasOnlyRadios();\n @if (labeledBy) {\n <span [id]=\"labeledBy\" [class.required]=\"required\">{{ label()! | translate }}</span>\n } @else {\n <label [for]=\"formItemId\" [class.required]=\"required\">{{ label()! | translate }}</label>\n }\n <ng-content select=\"[si-help-button]\" />\n </div>\n }\n</ng-template>\n<ng-template #feedbackTemplate>\n @if (printErrors() && !fieldset?.hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [attr.id]=\"formItemErrormessageId\">\n @for (error of errors(); track error.key) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n <ng-content select=\".warning-feedback, .info-feedback, .invalid-feedback\" />\n</ng-template>\n<ng-template #content>\n <ng-content />\n</ng-template>\n", styles: [":host-context(.si-container-sm) :host.si-form-input,:host-context(.si-container-md) :host.si-form-input,:host-context(.si-container-lg) :host.si-form-input,:host-context(.si-container-xl) :host.si-form-input,:host-context(.si-container-xxl) :host.si-form-input{display:flex;flex-direction:row;align-items:center}:host-context(.si-container-sm) .form-label,:host-context(.si-container-md) .form-label,:host-context(.si-container-lg) .form-label,:host-context(.si-container-xl) .form-label,:host-context(.si-container-xxl) .form-label{align-self:start;padding-block:calc(calc(var(--si-sys-sizing-spacing-y-40) - 1px) + 1px);padding-inline:var(--si-sys-sizing-spacing-x-60);inline-size:var(--si-form-label-width, 16.6666666667%);line-height:calc(var(--si-sys-typography-body-font-size) * var(--si-sys-typography-body-line-height))}:host-context(.si-container-sm) .form-label:empty,:host-context(.si-container-md) .form-label:empty,:host-context(.si-container-lg) .form-label:empty,:host-context(.si-container-xl) .form-label:empty,:host-context(.si-container-xxl) .form-label:empty{display:block}:host-context(.si-container-sm) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-md) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-lg) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xl) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xxl) :host-context(.si-form-fieldset) .form-label{padding-block:var(--si-sys-sizing-spacing-y-10) 0}:host-context(.si-container-sm) :host(.form-check) .form-label,:host-context(.si-container-md) :host(.form-check) .form-label,:host-context(.si-container-lg) :host(.form-check) .form-label,:host-context(.si-container-xl) :host(.form-check) .form-label,:host-context(.si-container-xxl) :host(.form-check) .form-label{padding-block:2px}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }] });
753
753
  }
754
754
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFormItemComponent, decorators: [{
755
755
  type: Component,
@@ -759,7 +759,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
759
759
  '[class.form-check]': 'fieldControl()?.isFormCheck',
760
760
  '[class.form-check-inline]': 'fieldset?.inline()',
761
761
  '[class.si-form-input]': '!fieldset'
762
- }, template: "<!--Block the space if no form-field is provided. Otherwise it looks weird in the formly field inline representation.-->\n@if (fieldControl()?.isFormCheck && !fieldset) {\n <div class=\"form-label\"></div>\n}\n@if (fieldControl()?.isFormCheck) {\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n} @else {\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n}\n\n<ng-template #labelTemplate>\n @if (label()) {\n <div\n class=\"d-flex gap-2 align-items-start\"\n [class.form-label]=\"!fieldControl()?.isFormCheck\"\n [class.form-check-label]=\"fieldControl()?.isFormCheck\"\n >\n @let labeledBy = formItemLabelledBy;\n @let required = this.required() && !this.fieldset?.hasOnlyRadios();\n @if (labeledBy) {\n <span [id]=\"labeledBy\" [class.required]=\"required\">{{ label()! | translate }}</span>\n } @else {\n <label [for]=\"formItemId\" [class.required]=\"required\">{{ label()! | translate }}</label>\n }\n <ng-content select=\"[si-help-button]\" />\n </div>\n }\n</ng-template>\n<ng-template #feedbackTemplate>\n @if (printErrors() && !fieldset?.hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [attr.id]=\"formItemErrormessageId\">\n @for (error of errors(); track error.key) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n <ng-content select=\".warning-feedback, .info-feedback, .invalid-feedback\" />\n</ng-template>\n<ng-template #content>\n <ng-content />\n</ng-template>\n", styles: [":host-context(.si-container-sm) :host.si-form-input,:host-context(.si-container-md) :host.si-form-input,:host-context(.si-container-lg) :host.si-form-input,:host-context(.si-container-xl) :host.si-form-input,:host-context(.si-container-xxl) :host.si-form-input{display:flex;flex-direction:row;align-items:center}:host-context(.si-container-sm) .form-label,:host-context(.si-container-md) .form-label,:host-context(.si-container-lg) .form-label,:host-context(.si-container-xl) .form-label,:host-context(.si-container-xxl) .form-label{align-self:start;padding-block:calc(calc(var(--si-sys-sizing-spacing-y-40) - 1px) + 1px);padding-inline:var(--si-sys-sizing-spacing-x-60);inline-size:var(--si-form-label-width, 16.6666666667%);line-height:calc(var(--si-sys-typography-font-size-body) * var(--si-sys-typography-line-height-body))}:host-context(.si-container-sm) .form-label:empty,:host-context(.si-container-md) .form-label:empty,:host-context(.si-container-lg) .form-label:empty,:host-context(.si-container-xl) .form-label:empty,:host-context(.si-container-xxl) .form-label:empty{display:block}:host-context(.si-container-sm) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-md) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-lg) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xl) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xxl) :host-context(.si-form-fieldset) .form-label{padding-block:var(--si-sys-sizing-spacing-y-10) 0}:host-context(.si-container-sm) :host(.form-check) .form-label,:host-context(.si-container-md) :host(.form-check) .form-label,:host-context(.si-container-lg) :host(.form-check) .form-label,:host-context(.si-container-xl) :host(.form-check) .form-label,:host-context(.si-container-xxl) :host(.form-check) .form-label{padding-block:2px}\n"] }]
762
+ }, template: "<!--Block the space if no form-field is provided. Otherwise it looks weird in the formly field inline representation.-->\n@if (fieldControl()?.isFormCheck && !fieldset) {\n <div class=\"form-label\"></div>\n}\n@if (fieldControl()?.isFormCheck) {\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n} @else {\n <ng-container [ngTemplateOutlet]=\"labelTemplate\" />\n <div class=\"form-item-content\">\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"feedbackTemplate\" />\n </div>\n}\n\n<ng-template #labelTemplate>\n @if (label()) {\n <div\n class=\"d-flex gap-2 align-items-start\"\n [class.form-label]=\"!fieldControl()?.isFormCheck\"\n [class.form-check-label]=\"fieldControl()?.isFormCheck\"\n >\n @let labeledBy = formItemLabelledBy;\n @let required = this.required() && !this.fieldset?.hasOnlyRadios();\n @if (labeledBy) {\n <span [id]=\"labeledBy\" [class.required]=\"required\">{{ label()! | translate }}</span>\n } @else {\n <label [for]=\"formItemId\" [class.required]=\"required\">{{ label()! | translate }}</label>\n }\n <ng-content select=\"[si-help-button]\" />\n </div>\n }\n</ng-template>\n<ng-template #feedbackTemplate>\n @if (printErrors() && !fieldset?.hasOnlyRadios()) {\n <div class=\"invalid-feedback\" [attr.id]=\"formItemErrormessageId\">\n @for (error of errors(); track error.key) {\n <div>\n {{ error.message | translate: error.params }}\n </div>\n }\n </div>\n }\n <ng-content select=\".warning-feedback, .info-feedback, .invalid-feedback\" />\n</ng-template>\n<ng-template #content>\n <ng-content />\n</ng-template>\n", styles: [":host-context(.si-container-sm) :host.si-form-input,:host-context(.si-container-md) :host.si-form-input,:host-context(.si-container-lg) :host.si-form-input,:host-context(.si-container-xl) :host.si-form-input,:host-context(.si-container-xxl) :host.si-form-input{display:flex;flex-direction:row;align-items:center}:host-context(.si-container-sm) .form-label,:host-context(.si-container-md) .form-label,:host-context(.si-container-lg) .form-label,:host-context(.si-container-xl) .form-label,:host-context(.si-container-xxl) .form-label{align-self:start;padding-block:calc(calc(var(--si-sys-sizing-spacing-y-40) - 1px) + 1px);padding-inline:var(--si-sys-sizing-spacing-x-60);inline-size:var(--si-form-label-width, 16.6666666667%);line-height:calc(var(--si-sys-typography-body-font-size) * var(--si-sys-typography-body-line-height))}:host-context(.si-container-sm) .form-label:empty,:host-context(.si-container-md) .form-label:empty,:host-context(.si-container-lg) .form-label:empty,:host-context(.si-container-xl) .form-label:empty,:host-context(.si-container-xxl) .form-label:empty{display:block}:host-context(.si-container-sm) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-md) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-lg) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xl) :host-context(.si-form-fieldset) .form-label,:host-context(.si-container-xxl) :host-context(.si-form-fieldset) .form-label{padding-block:var(--si-sys-sizing-spacing-y-10) 0}:host-context(.si-container-sm) :host(.form-check) .form-label,:host-context(.si-container-md) :host(.form-check) .form-label,:host-context(.si-container-lg) :host(.form-check) .form-label,:host-context(.si-container-xl) :host(.form-check) .form-label,:host-context(.si-container-xxl) :host(.form-check) .form-label{padding-block:2px}\n"] }]
763
763
  }], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], labelWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelWidth", required: false }] }], disableErrorPrinting: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableErrorPrinting", required: false }] }], formErrorMapper: [{ type: i0.Input, args: [{ isSignal: true, alias: "formErrorMapper", required: false }] }], requiredInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], fieldControlQuery: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SI_FORM_ITEM_CONTROL), { ...{ descendants: true }, isSignal: true }] }], ngControl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => NgControl), { ...{ descendants: true }, isSignal: true }] }], controlElementRef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => NgControl), { ...{
764
764
  read: ElementRef,
765
765
  descendants: true
@@ -234,7 +234,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
234
234
  */
235
235
  class SiFormlySelectComponent extends FieldType {
236
236
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFormlySelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
237
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFormlySelectComponent, isStandalone: true, selector: "si-formly-select", usesInheritance: true, ngImport: i0, template: "@if (props.multi) {\n <si-select\n #select\n class=\"form-control\"\n multi\n [id]=\"id\"\n [options]=\"props.optionsList\"\n [hasFilter]=\"props.hasFilter ?? select.hasFilter()\"\n [filterPlaceholder]=\"props.filterPlaceholder ?? select.filterPlaceholder()\"\n [placeholder]=\"props.placeholder ?? select.placeholder()\"\n [ariaLabel]=\"props.ariaLabel ?? select.ariaLabel()\"\n [noResultsFoundLabel]=\"props.noResultsFoundLabel ?? select.noResultsFoundLabel()\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [readonly]=\"props.readonly || false\"\n [scrollStrategy]=\"props.scrollStrategy\"\n [errormessageId]=\"id | siValidationErrorId\"\n />\n} @else {\n <si-select\n #select\n class=\"form-control\"\n [id]=\"id\"\n [options]=\"props.optionsList\"\n [hasFilter]=\"props.hasFilter ?? select.hasFilter()\"\n [filterPlaceholder]=\"props.filterPlaceholder ?? select.filterPlaceholder()\"\n [placeholder]=\"props.placeholder ?? select.placeholder()\"\n [ariaLabel]=\"props.ariaLabel ?? select.ariaLabel()\"\n [noResultsFoundLabel]=\"props.noResultsFoundLabel ?? select.noResultsFoundLabel()\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [readonly]=\"props.readonly || false\"\n [scrollStrategy]=\"props.scrollStrategy\"\n [errormessageId]=\"id | siValidationErrorId\"\n />\n}\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }, { kind: "component", type: SiSelectComponent, selector: "si-select", inputs: ["id", "ariaLabel", "labelledby", "filterPlaceholder", "noResultsFoundLabel", "placeholder", "readonly", "scrollStrategy", "errormessageId", "hasFilter"], outputs: ["openChange"] }, { kind: "directive", type: SiSelectSimpleOptionsDirective, selector: "si-select[options]", inputs: ["options", "optionEqualCheckFn"] }, { kind: "directive", type: SiSelectMultiValueDirective, selector: "si-select[multi]" }, { kind: "directive", type: SiSelectSingleValueDirective, selector: "si-select:not([multi])" }, { kind: "pipe", type: SiValidationErrorIdPipe, name: "siValidationErrorId" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
237
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SiFormlySelectComponent, isStandalone: true, selector: "si-formly-select", usesInheritance: true, ngImport: i0, template: "@if (props.multi) {\n <si-select\n #select\n class=\"form-control\"\n multi\n [id]=\"id\"\n [options]=\"props.optionsList\"\n [hasFilter]=\"props.hasFilter ?? select.hasFilter()\"\n [filterPlaceholder]=\"props.filterPlaceholder ?? select.filterPlaceholder()\"\n [placeholder]=\"props.placeholder ?? select.placeholder()\"\n [ariaLabel]=\"props.ariaLabel ?? select.ariaLabel()\"\n [noResultsFoundLabel]=\"props.noResultsFoundLabel ?? select.noResultsFoundLabel()\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [readonly]=\"props.readonly || false\"\n [scrollStrategy]=\"props.scrollStrategy\"\n [errormessageId]=\"id | siValidationErrorId\"\n />\n} @else {\n <si-select\n #select\n class=\"form-control\"\n [id]=\"id\"\n [options]=\"props.optionsList\"\n [hasFilter]=\"props.hasFilter ?? select.hasFilter()\"\n [filterPlaceholder]=\"props.filterPlaceholder ?? select.filterPlaceholder()\"\n [placeholder]=\"props.placeholder ?? select.placeholder()\"\n [ariaLabel]=\"props.ariaLabel ?? select.ariaLabel()\"\n [noResultsFoundLabel]=\"props.noResultsFoundLabel ?? select.noResultsFoundLabel()\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [readonly]=\"props.readonly || false\"\n [scrollStrategy]=\"props.scrollStrategy\"\n [errormessageId]=\"id | siValidationErrorId\"\n />\n}\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i1.LegacyFormlyAttributes, selector: "[formlyAttributes]" }, { kind: "component", type: SiSelectComponent, selector: "si-select", inputs: ["ariaLabel", "filterPlaceholder", "noResultsFoundLabel", "placeholder", "hasFilter"] }, { kind: "directive", type: SiSelectSimpleOptionsDirective, selector: "si-select[options]", inputs: ["options", "optionEqualCheckFn"] }, { kind: "directive", type: SiSelectMultiValueDirective, selector: "si-select[multi]" }, { kind: "directive", type: SiSelectSingleValueDirective, selector: "si-select:not([multi])" }, { kind: "pipe", type: SiValidationErrorIdPipe, name: "siValidationErrorId" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
238
238
  }
239
239
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SiFormlySelectComponent, decorators: [{
240
240
  type: Component,