@rededor/site-front-end-lib 20.0.21 → 20.0.22

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 (85) hide show
  1. package/components/breadcrumbs/index.d.ts +2 -1
  2. package/core/index.d.ts +1 -1
  3. package/cura/forms/cura-checkbox/index.d.ts +5 -1
  4. package/cura/forms/cura-select/index.d.ts +2 -1
  5. package/cura/forms/cura-textarea/index.d.ts +1 -0
  6. package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs +3 -3
  7. package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +15 -15
  8. package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +3 -3
  9. package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +6 -5
  10. package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -1
  11. package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +9 -9
  12. package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +3 -3
  13. package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +3 -3
  14. package/fesm2022/rededor-site-front-end-lib-components-error.mjs +3 -3
  15. package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +1 -1
  16. package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs +3 -3
  17. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +3 -3
  18. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -1
  19. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +3 -3
  20. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +1 -1
  21. package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +3 -3
  22. package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +3 -3
  23. package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +6 -6
  24. package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +6 -6
  25. package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +6 -6
  26. package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs +3 -3
  27. package/fesm2022/rededor-site-front-end-lib-components-header.mjs +6 -6
  28. package/fesm2022/rededor-site-front-end-lib-components-image.mjs +3 -3
  29. package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +3 -3
  30. package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +3 -3
  31. package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +3 -3
  32. package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs +3 -3
  33. package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +3 -3
  34. package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +1 -1
  35. package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs +3 -3
  36. package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs +3 -3
  37. package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +3 -3
  38. package/fesm2022/rededor-site-front-end-lib-components-search.mjs +3 -3
  39. package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +3 -3
  40. package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs +15 -15
  41. package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +3 -3
  42. package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +3 -3
  43. package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +3 -3
  44. package/fesm2022/rededor-site-front-end-lib-core.mjs +54 -54
  45. package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs +6 -6
  46. package/fesm2022/rededor-site-front-end-lib-cura-api.mjs +18 -18
  47. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs +3 -3
  48. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs +3 -3
  49. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs +3 -3
  50. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs +3 -3
  51. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +3 -3
  52. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +3 -3
  53. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +3 -3
  54. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +3 -3
  55. package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +3 -3
  56. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs +3 -3
  57. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs +3 -3
  58. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs +3 -3
  59. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs +11 -7
  60. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs.map +1 -1
  61. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs +3 -3
  62. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs +3 -3
  63. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs +5 -5
  64. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs +3 -3
  65. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs +4 -4
  66. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs.map +1 -1
  67. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +7 -6
  68. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +1 -1
  69. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs +3 -3
  70. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs +6 -5
  71. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs.map +1 -1
  72. package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs +3 -3
  73. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs +3 -3
  74. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs +3 -3
  75. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs +3 -3
  76. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs +3 -3
  77. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs +3 -3
  78. package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs +3 -3
  79. package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs +3 -3
  80. package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs +3 -3
  81. package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs +3 -3
  82. package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs +3 -3
  83. package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs +3 -3
  84. package/fesm2022/rededor-site-front-end-lib-shared.mjs +6 -6
  85. package/package.json +1 -1
@@ -11,6 +11,7 @@ declare class BreadcrumbsComponent implements AfterViewInit, OnDestroy {
11
11
  readonly labelIconColor: _angular_core.InputSignal<string>;
12
12
  readonly fontWeight: _angular_core.InputSignal<string>;
13
13
  readonly breadcrumbs: _angular_core.InputSignal<BreadcrumbsItems[]>;
14
+ readonly mobileBackView: _angular_core.InputSignal<boolean>;
14
15
  readonly isDesktop: _angular_core.WritableSignal<boolean | null>;
15
16
  private breadcrumbsJsonTag;
16
17
  private readonly breadcrumbsJsonTagId;
@@ -35,7 +36,7 @@ declare class BreadcrumbsComponent implements AfterViewInit, OnDestroy {
35
36
  private createBreadcrumbsJSONTag;
36
37
  private getJsonBreadcrumbItems;
37
38
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbsComponent, never>;
38
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbsComponent, "rdsite-breadcrumbs", never, { "labelIconColor": { "alias": "labelIconColor"; "required": false; "isSignal": true; }; "fontWeight": { "alias": "fontWeight"; "required": false; "isSignal": true; }; "breadcrumbs": { "alias": "breadcrumbs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
39
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbsComponent, "rdsite-breadcrumbs", never, { "labelIconColor": { "alias": "labelIconColor"; "required": false; "isSignal": true; }; "fontWeight": { "alias": "fontWeight"; "required": false; "isSignal": true; }; "breadcrumbs": { "alias": "breadcrumbs"; "required": false; "isSignal": true; }; "mobileBackView": { "alias": "mobileBackView"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
39
40
  }
40
41
 
41
42
  export { BreadcrumbsComponent };
package/core/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ElementRef, InjectionToken, TemplateRef, ModelSignal } from '@angular/core';
2
+ import { InjectionToken, ElementRef, TemplateRef, ModelSignal } from '@angular/core';
3
3
  import { Request, Response } from 'express';
4
4
  import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
5
5
  import { Observable, BehaviorSubject } from 'rxjs';
@@ -42,6 +42,10 @@ interface CheckboxChangeEvent {
42
42
 
43
43
  declare class CuraCheckboxComponent implements ControlValueAccessor {
44
44
  private curaApi;
45
+ /**
46
+ * When true, suppresses rendering of the check/indeterminate icon.
47
+ */
48
+ disableCheckIcon: _angular_core.InputSignal<boolean>;
45
49
  /**
46
50
  * Reflects the checked state of the checkbox.
47
51
  * Using model for two-way binding and form control integration.
@@ -146,7 +150,7 @@ declare class CuraCheckboxComponent implements ControlValueAccessor {
146
150
  containerClasses: _angular_core.Signal<string>;
147
151
  handleClick(): void;
148
152
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraCheckboxComponent, never>;
149
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraCheckboxComponent, "cura-checkbox", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ontabindex": { "alias": "ontabindex"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; "isSignal": true; }; "overflowHelper": { "alias": "overflowHelper"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "indeterminate": "indeterminateChange"; "value": "valueChange"; "onchange": "onchange"; }, never, ["*"], true, never>;
153
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraCheckboxComponent, "cura-checkbox", never, { "disableCheckIcon": { "alias": "disableCheckIcon"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ontabindex": { "alias": "ontabindex"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; "isSignal": true; }; "overflowHelper": { "alias": "overflowHelper"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "indeterminate": "indeterminateChange"; "value": "valueChange"; "onchange": "onchange"; }, never, ["*"], true, never>;
150
154
  }
151
155
 
152
156
  export { CuraCheckboxComponent };
@@ -38,6 +38,7 @@ declare class CuraSelectComponent implements ControlValueAccessor, AfterViewInit
38
38
  private curaApi;
39
39
  private elementRef;
40
40
  private platformId;
41
+ name: _angular_core.InputSignal<string>;
41
42
  /**
42
43
  * The label text for the select component
43
44
  */
@@ -147,7 +148,7 @@ declare class CuraSelectComponent implements ControlValueAccessor, AfterViewInit
147
148
  private removeOutsideClickListener;
148
149
  private handleClickOutside;
149
150
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraSelectComponent, never>;
150
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraSelectComponent, "cura-select", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "searchBehavior": { "alias": "searchBehavior"; "required": false; "isSignal": true; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "selected": "selected"; "searchTermInput": "searchTermInput"; }, ["options"], ["*", "cura-select-option"], true, never>;
151
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraSelectComponent, "cura-select", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "searchBehavior": { "alias": "searchBehavior"; "required": false; "isSignal": true; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "selected": "selected"; "searchTermInput": "searchTermInput"; }, ["options"], ["*", "cura-select-option"], true, never>;
151
152
  }
152
153
 
153
154
  export { CuraSelectComponent };
@@ -85,6 +85,7 @@ declare class CuraTextareaComponent implements ControlValueAccessor {
85
85
  writeValue(value: string): void;
86
86
  registerOnChange(fn: (value: string) => void): void;
87
87
  registerOnTouched(fn: () => void): void;
88
+ currentLength: _angular_core.Signal<number>;
88
89
  styles: _angular_core.Signal<{
89
90
  [key: string]: string;
90
91
  }>;
@@ -89,10 +89,10 @@ class AlgoliaDropdownComponent {
89
89
  optionSelect(event) {
90
90
  this.optionSelected.emit(event.target.value);
91
91
  }
92
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
93
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.16", type: AlgoliaDropdownComponent, isStandalone: true, selector: "rdsite-algolia-dropdown", inputs: { algoliaConfig: { classPropertyName: "algoliaConfig", publicName: "algoliaConfig", isSignal: false, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: true, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, maxheight: { classPropertyName: "maxheight", publicName: "maxheight", isSignal: true, isRequired: true, transformFunction: null }, searchdelay: { classPropertyName: "searchdelay", publicName: "searchdelay", isSignal: true, isRequired: true, transformFunction: null }, searchminchars: { classPropertyName: "searchminchars", publicName: "searchminchars", isSignal: true, isRequired: false, transformFunction: null }, helperText: { classPropertyName: "helperText", publicName: "helperText", isSignal: true, isRequired: true, transformFunction: null }, cssMaxHeight: { classPropertyName: "cssMaxHeight", publicName: "cssMaxHeight", isSignal: true, isRequired: true, transformFunction: null }, searchParams: { classPropertyName: "searchParams", publicName: "searchParams", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { algoliaResults: "algoliaResults", resetResults: "resetResults", optionSelected: "optionSelected" }, ngImport: i0, template: "<cura-dropdown-search\n [name]=\"name()\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [label]=\"label()\"\n [status]=\"status()\"\n [icon]=\"icon()\"\n [disabled]=\"disabled()\"\n [required]=\"required()\"\n [maxheight]=\"maxheight()\"\n [searchdelay]=\"searchdelay()\"\n [searchminchars]=\"searchminchars()\"\n [helperText]=\"helperText()\"\n [cssMaxHeight]=\"cssMaxHeight()\"\n (termchange)=\"termChange($event)\"\n (optionselect)=\"optionSelect($event)\"\n>\n <ng-content></ng-content>\n</cura-dropdown-search>\n", styles: [""] }); }
92
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
93
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.18", type: AlgoliaDropdownComponent, isStandalone: true, selector: "rdsite-algolia-dropdown", inputs: { algoliaConfig: { classPropertyName: "algoliaConfig", publicName: "algoliaConfig", isSignal: false, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: true, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, maxheight: { classPropertyName: "maxheight", publicName: "maxheight", isSignal: true, isRequired: true, transformFunction: null }, searchdelay: { classPropertyName: "searchdelay", publicName: "searchdelay", isSignal: true, isRequired: true, transformFunction: null }, searchminchars: { classPropertyName: "searchminchars", publicName: "searchminchars", isSignal: true, isRequired: false, transformFunction: null }, helperText: { classPropertyName: "helperText", publicName: "helperText", isSignal: true, isRequired: true, transformFunction: null }, cssMaxHeight: { classPropertyName: "cssMaxHeight", publicName: "cssMaxHeight", isSignal: true, isRequired: true, transformFunction: null }, searchParams: { classPropertyName: "searchParams", publicName: "searchParams", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { algoliaResults: "algoliaResults", resetResults: "resetResults", optionSelected: "optionSelected" }, ngImport: i0, template: "<cura-dropdown-search\n [name]=\"name()\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [label]=\"label()\"\n [status]=\"status()\"\n [icon]=\"icon()\"\n [disabled]=\"disabled()\"\n [required]=\"required()\"\n [maxheight]=\"maxheight()\"\n [searchdelay]=\"searchdelay()\"\n [searchminchars]=\"searchminchars()\"\n [helperText]=\"helperText()\"\n [cssMaxHeight]=\"cssMaxHeight()\"\n (termchange)=\"termChange($event)\"\n (optionselect)=\"optionSelect($event)\"\n>\n <ng-content></ng-content>\n</cura-dropdown-search>\n", styles: [""] }); }
94
94
  }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaDropdownComponent, decorators: [{
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaDropdownComponent, decorators: [{
96
96
  type: Component,
97
97
  args: [{ selector: 'rdsite-algolia-dropdown', imports: [], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<cura-dropdown-search\n [name]=\"name()\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [label]=\"label()\"\n [status]=\"status()\"\n [icon]=\"icon()\"\n [disabled]=\"disabled()\"\n [required]=\"required()\"\n [maxheight]=\"maxheight()\"\n [searchdelay]=\"searchdelay()\"\n [searchminchars]=\"searchminchars()\"\n [helperText]=\"helperText()\"\n [cssMaxHeight]=\"cssMaxHeight()\"\n (termchange)=\"termChange($event)\"\n (optionselect)=\"optionSelect($event)\"\n>\n <ng-content></ng-content>\n</cura-dropdown-search>\n" }]
98
98
  }], propDecorators: { algoliaConfig: [{
@@ -74,10 +74,10 @@ class AlgoliaSearchResultItemComponent {
74
74
  this.resultElement()?.nativeElement?.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'start' });
75
75
  }
76
76
  }
77
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchResultItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
78
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AlgoliaSearchResultItemComponent, isStandalone: true, selector: "algolia-search-result-item", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, img: { classPropertyName: "img", publicName: "img", isSignal: true, isRequired: false, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: false, transformFunction: null }, ctaLabel: { classPropertyName: "ctaLabel", publicName: "ctaLabel", isSignal: true, isRequired: false, transformFunction: null }, ctaIcon: { classPropertyName: "ctaIcon", publicName: "ctaIcon", isSignal: true, isRequired: false, transformFunction: null }, ctaUrl: { classPropertyName: "ctaUrl", publicName: "ctaUrl", isSignal: true, isRequired: false, transformFunction: null }, item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: false, transformFunction: null }, showDefaultCta: { classPropertyName: "showDefaultCta", publicName: "showDefaultCta", isSignal: true, isRequired: false, transformFunction: null }, isGroup: { classPropertyName: "isGroup", publicName: "isGroup", isSignal: true, isRequired: false, transformFunction: null }, distance: { classPropertyName: "distance", publicName: "distance", isSignal: true, isRequired: false, transformFunction: null }, preselected: { classPropertyName: "preselected", publicName: "preselected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { preselected: "preselectedChange", itemSelect: "itemSelect", mouseOver: "mouseOver", imgError: "imgError" }, host: { properties: { "style": "this.hostStyles" } }, viewQueries: [{ propertyName: "resultElement", first: true, predicate: ["resultItem"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (!isGroup()) {\n <div\n class=\"algolia-search-results-item\"\n [ngClass]=\"{ preselected: preselected() }\"\n (mouseover)=\"mouseOver.emit(null)\"\n (mousedown)=\"onSelect()\"\n #resultItem\n data-testid=\"_algolia-search-results-item\"\n >\n @if (img()) {\n <div class=\"algolia-search-results-item-img\" data-testid=\"_algolia-search-results-item-img\">\n <rdsite-image [imageDefaultSrc]=\"img()\" [alt]=\"alt()\"></rdsite-image>\n </div>\n }\n\n @if (distance()) {\n <cura-badge-distance class=\"algolia-search-results-item-distance\" [distance]=\"item()?.distance\"></cura-badge-distance>\n } @else if (icon()) {\n <div class=\"algolia-search-results-item-icon\" data-testid=\"_algolia-search-results-item-icon\">\n <cura-icon [name]=\"icon()\" color=\"neutral-dark\" size=\"24\"></cura-icon>\n </div>\n }\n\n @if (title()) {\n <h4 [innerHTML]=\"title()\" [class]=\"{ hasSubtitle: subtitle() }\"></h4>\n }\n\n @if (subtitle()) {\n <p [innerHTML]=\"subtitle()\"></p>\n }\n\n @if (description()) {\n <h5 [innerHTML]=\"description()\"></h5>\n }\n\n @if (ctaUrl() && (ctaLabel() || ctaIcon())) {\n <div class=\"algolia-search-results-item-action\" data-testid=\"_algolia-search-results-item-action\">\n @if (externalCta()) {\n <a [href]=\"ctaUrl()\" [title]=\"ctaLabel()\" target=\"_blank\" (click)=\"$event.stopPropagation()\">\n @if (ctaLabel()) {\n <span [innerHTML]=\"ctaLabel()\"></span>\n }\n @if (ctaIcon()) {\n <cura-icon [name]=\"ctaIcon()\" color=\"accent-darker\" size=\"32\"></cura-icon>\n }\n </a>\n } @else {\n <a [routerLink]=\"ctaUrl()\" [title]=\"ctaLabel()\" (click)=\"$event.stopPropagation()\">\n @if (ctaLabel()) {\n <span [innerHTML]=\"ctaLabel()\"></span>\n }\n @if (ctaIcon()) {\n <cura-icon [name]=\"ctaIcon()\" color=\"accent-darker\" size=\"32\"></cura-icon>\n }\n </a>\n }\n </div>\n } @else {\n @if (showDefaultCta()) {\n <div class=\"algolia-search-results-item-action\" data-testid=\"_algolia-search-results-item-action\">\n <cura-icon name=\"iconRightCircle\" color=\"accent-darker\" size=\"32\"></cura-icon>\n </div>\n }\n }\n </div>\n} @else {\n <div class=\"algolia-search-results-group\" data-testid=\"_algolia-search-results-group\">\n {{ title() }}\n </div>\n}\n", styles: [".algolia-search-results-item-img{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--size, 32px);height:var(--size, 32px);min-width:var(--size, 32px);min-height:var(--size, 32px);border:var(--border) solid var(--border-color);border-radius:var(--border-radius);background:var(--background-color);overflow:hidden}.algolia-search-results-item-img rdsite-image{width:100%;height:100%;display:block}.algolia-search-results-item-img rdsite-image ::ng-deep img{width:100%;height:100%;object-fit:cover;display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: ImageComponent, selector: "rdsite-image", inputs: ["imageWebpSrc", "imageDefaultSrc", "imageSizes", "mimeType", "alt", "title", "loading"], outputs: ["imageDefaultSrcChange", "mimeTypeChange"] }, { kind: "component", type: CuraBadgeDistanceComponent, selector: "cura-badge-distance", inputs: ["distance", "label"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
77
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaSearchResultItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
78
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: AlgoliaSearchResultItemComponent, isStandalone: true, selector: "algolia-search-result-item", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, img: { classPropertyName: "img", publicName: "img", isSignal: true, isRequired: false, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: false, transformFunction: null }, ctaLabel: { classPropertyName: "ctaLabel", publicName: "ctaLabel", isSignal: true, isRequired: false, transformFunction: null }, ctaIcon: { classPropertyName: "ctaIcon", publicName: "ctaIcon", isSignal: true, isRequired: false, transformFunction: null }, ctaUrl: { classPropertyName: "ctaUrl", publicName: "ctaUrl", isSignal: true, isRequired: false, transformFunction: null }, item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: false, transformFunction: null }, showDefaultCta: { classPropertyName: "showDefaultCta", publicName: "showDefaultCta", isSignal: true, isRequired: false, transformFunction: null }, isGroup: { classPropertyName: "isGroup", publicName: "isGroup", isSignal: true, isRequired: false, transformFunction: null }, distance: { classPropertyName: "distance", publicName: "distance", isSignal: true, isRequired: false, transformFunction: null }, preselected: { classPropertyName: "preselected", publicName: "preselected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { preselected: "preselectedChange", itemSelect: "itemSelect", mouseOver: "mouseOver", imgError: "imgError" }, host: { properties: { "style": "this.hostStyles" } }, viewQueries: [{ propertyName: "resultElement", first: true, predicate: ["resultItem"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (!isGroup()) {\n <div\n class=\"algolia-search-results-item\"\n [ngClass]=\"{ preselected: preselected() }\"\n (mouseover)=\"mouseOver.emit(null)\"\n (mousedown)=\"onSelect()\"\n #resultItem\n data-testid=\"_algolia-search-results-item\"\n >\n @if (img()) {\n <div class=\"algolia-search-results-item-img\" data-testid=\"_algolia-search-results-item-img\">\n <rdsite-image [imageDefaultSrc]=\"img()\" [alt]=\"alt()\"></rdsite-image>\n </div>\n }\n\n @if (distance()) {\n <cura-badge-distance class=\"algolia-search-results-item-distance\" [distance]=\"item()?.distance\"></cura-badge-distance>\n } @else if (icon()) {\n <div class=\"algolia-search-results-item-icon\" data-testid=\"_algolia-search-results-item-icon\">\n <cura-icon [name]=\"icon()\" color=\"neutral-dark\" size=\"24\"></cura-icon>\n </div>\n }\n\n @if (title()) {\n <h4 [innerHTML]=\"title()\" [class]=\"{ hasSubtitle: subtitle() }\"></h4>\n }\n\n @if (subtitle()) {\n <p [innerHTML]=\"subtitle()\"></p>\n }\n\n @if (description()) {\n <h5 [innerHTML]=\"description()\"></h5>\n }\n\n @if (ctaUrl() && (ctaLabel() || ctaIcon())) {\n <div class=\"algolia-search-results-item-action\" data-testid=\"_algolia-search-results-item-action\">\n @if (externalCta()) {\n <a [href]=\"ctaUrl()\" [title]=\"ctaLabel()\" target=\"_blank\" (click)=\"$event.stopPropagation()\">\n @if (ctaLabel()) {\n <span [innerHTML]=\"ctaLabel()\"></span>\n }\n @if (ctaIcon()) {\n <cura-icon [name]=\"ctaIcon()\" color=\"accent-darker\" size=\"32\"></cura-icon>\n }\n </a>\n } @else {\n <a [routerLink]=\"ctaUrl()\" [title]=\"ctaLabel()\" (click)=\"$event.stopPropagation()\">\n @if (ctaLabel()) {\n <span [innerHTML]=\"ctaLabel()\"></span>\n }\n @if (ctaIcon()) {\n <cura-icon [name]=\"ctaIcon()\" color=\"accent-darker\" size=\"32\"></cura-icon>\n }\n </a>\n }\n </div>\n } @else {\n @if (showDefaultCta()) {\n <div class=\"algolia-search-results-item-action\" data-testid=\"_algolia-search-results-item-action\">\n <cura-icon name=\"iconRightCircle\" color=\"accent-darker\" size=\"32\"></cura-icon>\n </div>\n }\n }\n </div>\n} @else {\n <div class=\"algolia-search-results-group\" data-testid=\"_algolia-search-results-group\">\n {{ title() }}\n </div>\n}\n", styles: [".algolia-search-results-item-img{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--size, 32px);height:var(--size, 32px);min-width:var(--size, 32px);min-height:var(--size, 32px);border:var(--border) solid var(--border-color);border-radius:var(--border-radius);background:var(--background-color);overflow:hidden}.algolia-search-results-item-img rdsite-image{width:100%;height:100%;display:block}.algolia-search-results-item-img rdsite-image ::ng-deep img{width:100%;height:100%;object-fit:cover;display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: ImageComponent, selector: "rdsite-image", inputs: ["imageWebpSrc", "imageDefaultSrc", "imageSizes", "mimeType", "alt", "title", "loading"], outputs: ["imageDefaultSrcChange", "mimeTypeChange"] }, { kind: "component", type: CuraBadgeDistanceComponent, selector: "cura-badge-distance", inputs: ["distance", "label"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
79
79
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchResultItemComponent, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaSearchResultItemComponent, decorators: [{
81
81
  type: Component,
82
82
  args: [{ selector: 'algolia-search-result-item', imports: [CommonModule, RouterLink, ImageComponent, CuraBadgeDistanceComponent, CuraIconComponent], template: "@if (!isGroup()) {\n <div\n class=\"algolia-search-results-item\"\n [ngClass]=\"{ preselected: preselected() }\"\n (mouseover)=\"mouseOver.emit(null)\"\n (mousedown)=\"onSelect()\"\n #resultItem\n data-testid=\"_algolia-search-results-item\"\n >\n @if (img()) {\n <div class=\"algolia-search-results-item-img\" data-testid=\"_algolia-search-results-item-img\">\n <rdsite-image [imageDefaultSrc]=\"img()\" [alt]=\"alt()\"></rdsite-image>\n </div>\n }\n\n @if (distance()) {\n <cura-badge-distance class=\"algolia-search-results-item-distance\" [distance]=\"item()?.distance\"></cura-badge-distance>\n } @else if (icon()) {\n <div class=\"algolia-search-results-item-icon\" data-testid=\"_algolia-search-results-item-icon\">\n <cura-icon [name]=\"icon()\" color=\"neutral-dark\" size=\"24\"></cura-icon>\n </div>\n }\n\n @if (title()) {\n <h4 [innerHTML]=\"title()\" [class]=\"{ hasSubtitle: subtitle() }\"></h4>\n }\n\n @if (subtitle()) {\n <p [innerHTML]=\"subtitle()\"></p>\n }\n\n @if (description()) {\n <h5 [innerHTML]=\"description()\"></h5>\n }\n\n @if (ctaUrl() && (ctaLabel() || ctaIcon())) {\n <div class=\"algolia-search-results-item-action\" data-testid=\"_algolia-search-results-item-action\">\n @if (externalCta()) {\n <a [href]=\"ctaUrl()\" [title]=\"ctaLabel()\" target=\"_blank\" (click)=\"$event.stopPropagation()\">\n @if (ctaLabel()) {\n <span [innerHTML]=\"ctaLabel()\"></span>\n }\n @if (ctaIcon()) {\n <cura-icon [name]=\"ctaIcon()\" color=\"accent-darker\" size=\"32\"></cura-icon>\n }\n </a>\n } @else {\n <a [routerLink]=\"ctaUrl()\" [title]=\"ctaLabel()\" (click)=\"$event.stopPropagation()\">\n @if (ctaLabel()) {\n <span [innerHTML]=\"ctaLabel()\"></span>\n }\n @if (ctaIcon()) {\n <cura-icon [name]=\"ctaIcon()\" color=\"accent-darker\" size=\"32\"></cura-icon>\n }\n </a>\n }\n </div>\n } @else {\n @if (showDefaultCta()) {\n <div class=\"algolia-search-results-item-action\" data-testid=\"_algolia-search-results-item-action\">\n <cura-icon name=\"iconRightCircle\" color=\"accent-darker\" size=\"32\"></cura-icon>\n </div>\n }\n }\n </div>\n} @else {\n <div class=\"algolia-search-results-group\" data-testid=\"_algolia-search-results-group\">\n {{ title() }}\n </div>\n}\n", styles: [".algolia-search-results-item-img{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--size, 32px);height:var(--size, 32px);min-width:var(--size, 32px);min-height:var(--size, 32px);border:var(--border) solid var(--border-color);border-radius:var(--border-radius);background:var(--background-color);overflow:hidden}.algolia-search-results-item-img rdsite-image{width:100%;height:100%;display:block}.algolia-search-results-item-img rdsite-image ::ng-deep img{width:100%;height:100%;object-fit:cover;display:block}\n"] }]
83
83
  }], ctorParameters: () => [], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], img: [{ type: i0.Input, args: [{ isSignal: true, alias: "img", required: false }] }], alt: [{ type: i0.Input, args: [{ isSignal: true, alias: "alt", required: false }] }], ctaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ctaLabel", required: false }] }], ctaIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "ctaIcon", required: false }] }], ctaUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "ctaUrl", required: false }] }], item: [{ type: i0.Input, args: [{ isSignal: true, alias: "item", required: false }] }], showDefaultCta: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDefaultCta", required: false }] }], isGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "isGroup", required: false }] }], distance: [{ type: i0.Input, args: [{ isSignal: true, alias: "distance", required: false }] }], preselected: [{ type: i0.Input, args: [{ isSignal: true, alias: "preselected", required: false }] }, { type: i0.Output, args: ["preselectedChange"] }], itemSelect: [{ type: i0.Output, args: ["itemSelect"] }], mouseOver: [{ type: i0.Output, args: ["mouseOver"] }], imgError: [{ type: i0.Output, args: ["imgError"] }], resultElement: [{ type: i0.ViewChild, args: ['resultItem', { isSignal: true }] }], hostStyles: [{
@@ -148,19 +148,19 @@ class AlgoliaSearchResultsComponent {
148
148
  this.navDirection.set('NONE');
149
149
  }
150
150
  }
151
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchResultsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
152
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.16", type: AlgoliaSearchResultsComponent, isStandalone: true, selector: "algolia-search-results", outputs: { updatePreselected: "updatePreselected" }, queries: [{ propertyName: "resultList", predicate: AlgoliaSearchResultItemComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"algolia-search-results\" data-testid=\"_algolia-search-results\">\n <div class=\"algolia-search-results-container\" data-testid=\"_algolia-search-results-container\">\n <ng-content select=\"algolia-search-result-item\"></ng-content>\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [""] }); }
151
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaSearchResultsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
152
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.18", type: AlgoliaSearchResultsComponent, isStandalone: true, selector: "algolia-search-results", outputs: { updatePreselected: "updatePreselected" }, queries: [{ propertyName: "resultList", predicate: AlgoliaSearchResultItemComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"algolia-search-results\" data-testid=\"_algolia-search-results\">\n <div class=\"algolia-search-results-container\" data-testid=\"_algolia-search-results-container\">\n <ng-content select=\"algolia-search-result-item\"></ng-content>\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [""] }); }
153
153
  }
154
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchResultsComponent, decorators: [{
154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaSearchResultsComponent, decorators: [{
155
155
  type: Component,
156
156
  args: [{ selector: 'algolia-search-results', template: "<div class=\"algolia-search-results\" data-testid=\"_algolia-search-results\">\n <div class=\"algolia-search-results-container\" data-testid=\"_algolia-search-results-container\">\n <ng-content select=\"algolia-search-result-item\"></ng-content>\n <ng-content></ng-content>\n </div>\n</div>\n" }]
157
157
  }], ctorParameters: () => [], propDecorators: { resultList: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => AlgoliaSearchResultItemComponent), { ...{ descendants: true }, isSignal: true }] }], updatePreselected: [{ type: i0.Output, args: ["updatePreselected"] }] } });
158
158
 
159
159
  class AlgoliaSearchTooltipComponent {
160
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
161
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AlgoliaSearchTooltipComponent, isStandalone: true, selector: "algolia-search-tooltip", ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""] }); }
160
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaSearchTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
161
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: AlgoliaSearchTooltipComponent, isStandalone: true, selector: "algolia-search-tooltip", ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""] }); }
162
162
  }
163
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchTooltipComponent, decorators: [{
163
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaSearchTooltipComponent, decorators: [{
164
164
  type: Component,
165
165
  args: [{ selector: 'algolia-search-tooltip', imports: [], template: "<ng-content></ng-content>\n" }]
166
166
  }] });
@@ -225,10 +225,10 @@ class AlgoliaSearchFieldComponent {
225
225
  $event.preventDefault();
226
226
  this.navUp.emit();
227
227
  }
228
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
229
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.16", type: AlgoliaSearchFieldComponent, isStandalone: true, selector: "algolia-search-field", inputs: { searchControl: { classPropertyName: "searchControl", publicName: "searchControl", isSignal: true, isRequired: false, transformFunction: null }, debounceTime: { classPropertyName: "debounceTime", publicName: "debounceTime", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, componentStyle: { classPropertyName: "componentStyle", publicName: "componentStyle", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, setFocus: { classPropertyName: "setFocus", publicName: "setFocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { controlBlur: "controlBlur", controlFocus: "controlFocus", controlReset: "controlReset", controlEnterKey: "controlEnterKey", navUp: "navUp", navDown: "navDown", termChange: "termChange" }, host: { properties: { "style.--font-family": "curaService.theme.fonts.getFamily()" } }, viewQueries: [{ propertyName: "searchField", first: true, predicate: ["search"], descendants: true, isSignal: true }], ngImport: i0, template: "<div\n class=\"algolia-search-controls-field\"\n [ngClass]=\"{\n 'on-focus': focus(),\n disabled: !searchControl().enabled,\n }\"\n data-testid=\"_algolia-search-controls-field\"\n>\n <input\n #search\n type=\"text\"\n name=\"term\"\n autocomplete=\"off\"\n [placeholder]=\"placeholder()\"\n [formControl]=\"searchControl()\"\n [readonly]=\"readonly()\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (keyup.enter)=\"onSubmit($event)\"\n (keyup.arrowup)=\"onNavUp($event)\"\n (keyup.arrowdown)=\"onNavDown($event)\"\n />\n</div>\n", styles: [".algolia-search-controls-field *{font-family:var(--font-family)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] }); }
228
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaSearchFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
229
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.18", type: AlgoliaSearchFieldComponent, isStandalone: true, selector: "algolia-search-field", inputs: { searchControl: { classPropertyName: "searchControl", publicName: "searchControl", isSignal: true, isRequired: false, transformFunction: null }, debounceTime: { classPropertyName: "debounceTime", publicName: "debounceTime", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, componentStyle: { classPropertyName: "componentStyle", publicName: "componentStyle", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, setFocus: { classPropertyName: "setFocus", publicName: "setFocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { controlBlur: "controlBlur", controlFocus: "controlFocus", controlReset: "controlReset", controlEnterKey: "controlEnterKey", navUp: "navUp", navDown: "navDown", termChange: "termChange" }, host: { properties: { "style.--font-family": "curaService.theme.fonts.getFamily()" } }, viewQueries: [{ propertyName: "searchField", first: true, predicate: ["search"], descendants: true, isSignal: true }], ngImport: i0, template: "<div\n class=\"algolia-search-controls-field\"\n [ngClass]=\"{\n 'on-focus': focus(),\n disabled: !searchControl().enabled,\n }\"\n data-testid=\"_algolia-search-controls-field\"\n>\n <input\n #search\n type=\"text\"\n name=\"term\"\n autocomplete=\"off\"\n [placeholder]=\"placeholder()\"\n [formControl]=\"searchControl()\"\n [readonly]=\"readonly()\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (keyup.enter)=\"onSubmit($event)\"\n (keyup.arrowup)=\"onNavUp($event)\"\n (keyup.arrowdown)=\"onNavDown($event)\"\n />\n</div>\n", styles: [".algolia-search-controls-field *{font-family:var(--font-family)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] }); }
230
230
  }
231
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchFieldComponent, decorators: [{
231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaSearchFieldComponent, decorators: [{
232
232
  type: Component,
233
233
  args: [{ selector: 'algolia-search-field', imports: [CommonModule, ReactiveFormsModule], host: {
234
234
  '[style.--font-family]': 'curaService.theme.fonts.getFamily()',
@@ -577,10 +577,10 @@ class AlgoliaSearchComponent {
577
577
  multipleIndexIsEmpty(results) {
578
578
  return !results.some((result) => result.nbHits !== 0);
579
579
  }
580
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
581
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AlgoliaSearchComponent, isStandalone: true, selector: "algolia-search", inputs: { algoliaConfig: { classPropertyName: "algoliaConfig", publicName: "algoliaConfig", isSignal: true, isRequired: false, transformFunction: null }, searchControl: { classPropertyName: "searchControl", publicName: "searchControl", isSignal: true, isRequired: false, transformFunction: null }, searchParams: { classPropertyName: "searchParams", publicName: "searchParams", isSignal: true, isRequired: false, transformFunction: null }, debounceTime: { classPropertyName: "debounceTime", publicName: "debounceTime", isSignal: true, isRequired: false, transformFunction: null }, startSearchAtCharLen: { classPropertyName: "startSearchAtCharLen", publicName: "startSearchAtCharLen", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, fixedLabel: { classPropertyName: "fixedLabel", publicName: "fixedLabel", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, facetsNames: { classPropertyName: "facetsNames", publicName: "facetsNames", isSignal: true, isRequired: false, transformFunction: null }, searchTermFallback: { classPropertyName: "searchTermFallback", publicName: "searchTermFallback", isSignal: true, isRequired: false, transformFunction: null }, actionIcon: { classPropertyName: "actionIcon", publicName: "actionIcon", isSignal: true, isRequired: false, transformFunction: null }, componentStyle: { classPropertyName: "componentStyle", publicName: "componentStyle", isSignal: true, isRequired: false, transformFunction: null }, initialTerm: { classPropertyName: "initialTerm", publicName: "initialTerm", isSignal: true, isRequired: false, transformFunction: null }, cache: { classPropertyName: "cache", publicName: "cache", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, showLabel: { classPropertyName: "showLabel", publicName: "showLabel", isSignal: true, isRequired: false, transformFunction: null }, enableOverlay: { classPropertyName: "enableOverlay", publicName: "enableOverlay", isSignal: true, isRequired: false, transformFunction: null }, starTheme: { classPropertyName: "starTheme", publicName: "starTheme", isSignal: true, isRequired: false, transformFunction: null }, maternityStarTheme: { classPropertyName: "maternityStarTheme", publicName: "maternityStarTheme", isSignal: true, isRequired: false, transformFunction: null }, setFocus: { classPropertyName: "setFocus", publicName: "setFocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { setFocus: "setFocusChange", updateResults: "updateResults", updateAlgoliaResults: "updateAlgoliaResults", itemSelect: "itemSelect", fieldFocus: "fieldFocus", fieldBlur: "fieldBlur" }, host: { listeners: { "window:resize": "checkBrowserWidth($event)", "window:scroll": "onScroll()", "document:keypress": "handleKeyboardEvent($event)" }, properties: { "style.--font-family": "this.curaService.theme.fonts.getFamily()" } }, queries: [{ propertyName: "queryResultsContainer", predicate: AlgoliaSearchResultsComponent, isSignal: true }, { propertyName: "tooltip", predicate: AlgoliaSearchTooltipComponent, isSignal: true }], ngImport: i0, template: "@if (showLabel()) {\n <cura-label [color]=\"searchControl().disabled ? 'neutral-medium' : 'neutral-black'\" size=\"xsmall\" weight=\"bold\" style=\"margin-bottom: 8px\">\n {{ label() }}\n </cura-label>\n}\n<div\n class=\"algolia-search\"\n [ngClass]=\"{\n focus: focus(),\n 'focus-mobile': focusMobile(),\n 'no-results': noResults(),\n 'light-style': componentStyle() === rdslAlgoliaComponentStyle.LIGHT,\n 'no-overlay': !enableOverlay(),\n disabled: searchControl().disabled,\n 'star-theme': starTheme(),\n 'maternity-star-theme': maternityStarTheme(),\n }\"\n data-testid=\"_algolia-search\"\n>\n <div class=\"algolia-search-controls\" data-testid=\"_algolia-search-controls\">\n @if (hint() && !noResults() && preselectedIndex() === null) {\n <div class=\"algolia-search-controls-hint\" [innerHTML]=\"hint()!.label\" data-testid=\"_algolia-search-controls-hint\"></div>\n }\n\n @if (!isMobile() || !enableOverlay() || (isMobile() && !focusMobile())) {\n <cura-icon\n class=\"search-icon\"\n [name]=\"actionIcon()\"\n [disabled]=\"!searchControl().enabled\"\n size=\"20\"\n [color]=\"(focus() || focusMobile()) && noResults() ? 'error-dark' : 'neutral-dark'\"\n (click)=\"searchTerm()\"\n ></cura-icon>\n }\n\n @if (isMobile() && enableOverlay() && focusMobile()) {\n <cura-icon\n class=\"left-icon\"\n name=\"arrowLeft\"\n size=\"20\"\n (click)=\"overlayClick()\"\n [disabled]=\"!searchControl().enabled\"\n [color]=\"noResults() ? 'error-dark' : 'primary-base'\"\n ></cura-icon>\n }\n\n <algolia-search-field\n [searchControl]=\"searchControl()\"\n [debounceTime]=\"debounceTime()\"\n [placeholder]=\"placeholder()\"\n [componentStyle]=\"componentStyle()\"\n [setFocus]=\"setFocus()\"\n (termChange)=\"facetsNames() && facetsNames().length > 0 ? searchTermFacet() : searchTerm()\"\n (controlEnterKey)=\"selectHint()\"\n (controlBlur)=\"onBlur()\"\n (controlFocus)=\"onFocus()\"\n (navDown)=\"onNavDown()\"\n (navUp)=\"onNavUp()\"\n >\n </algolia-search-field>\n\n @if (((isMobile() && focusMobile()) || (!isMobile() && focus())) && !!searchControl().value) {\n <cura-icon\n name=\"closeCircle\"\n size=\"20\"\n class=\"clean-icon\"\n (mousedown)=\"clean()\"\n [disabled]=\"!searchControl().enabled\"\n [color]=\"noResults() ? 'error-dark' : 'primary-base'\"\n ></cura-icon>\n }\n </div>\n\n <ng-content select=\".algolia-search-tooltip\"></ng-content>\n\n @if (((!isMobile() && focus()) || (isMobile() && focusMobile())) && !noResults()) {\n <ng-content select=\"algolia-search-results\"></ng-content>\n }\n\n @if (((!isMobile() && focus()) || (isMobile() && focusMobile())) && noResults()) {\n <div class=\"algolia-search-results\" data-testid=\"_algolia-search-results\">\n <div class=\"algolia-search-results-container\" data-testid=\"_algolia-search-results-container\">\n <div class=\"algolia-search-results-item\" data-testid=\"_algolia-search-results-item\">\n <div class=\"algolia-search-results-item-icon\" data-testid=\"_algolia-search-results-item-icon\">\n <cura-icon name=\"alertCircle\" size=\"24\" color=\"error-dark\"></cura-icon>\n </div>\n <h4 class=\"error-message\">N\u00E3o h\u00E1 nenhum resultado para \"{{ searchControl().value }}\".</h4>\n </div>\n </div>\n </div>\n }\n\n <div class=\"algolia-search-results-overlay\" (click)=\"overlayClick()\" data-testid=\"_algolia-search-results-overlay\"></div>\n</div>\n\n<ng-content select=\".algolia-search-helper\"></ng-content>\n", styles: [":host{--results-height: calc(100vh - 72px) }.algolia-search{position:relative;box-sizing:border-box}.algolia-search *{font-family:var(--font-family)}.algolia-search algolia-search-results,.algolia-search .algolia-search-results{z-index:5001}.algolia-search.star-theme{border-radius:0!important}.algolia-search.maternity-star-theme,.algolia-search.maternity-star-theme .algolia-search-controls{border-radius:2rem!important}.algolia-search-controls{z-index:5002;display:grid;position:relative;grid-template-columns:20px 14px 20px 1fr auto 10px;grid-template-rows:auto;grid-template-areas:\". left-icon . field clean-icon .\";background:#fff;box-shadow:0 2px 4px #00000029;padding-top:6px;transition:ease .2s all}.algolia-search-controls algolia-search-field{display:block;position:relative;grid-area:field}.algolia-search-controls .left-icon{grid-area:left-icon;align-self:center}.algolia-search-controls .clean-icon{grid-area:clean-icon;align-self:center}.algolia-search-controls-hint{grid-area:field;height:66px;font-weight:300;font-size:25px;color:#e2e2e2;white-space:nowrap;overflow:hidden;text-transform:uppercase;display:flex;align-items:center}@media screen and (max-width: 1024px){.algolia-search-controls-hint{font-size:22px}}.algolia-search-controls-field input{width:100%;height:66px;font-weight:300;font-size:25px;font-style:normal;color:#4a4a4a;background:transparent}.algolia-search-controls-field input::placeholder{color:#6e6e6e;font-size:18px;font-weight:500;opacity:1}.algolia-search-controls-field.disabled input{opacity:1;-webkit-text-fill-color:rgb(146,146,146)}.algolia-search.focus,.algolia-search.focus-mobile:not(.no-overlay){z-index:9998}@media screen and (max-width: 1024px){.algolia-search.focus,.algolia-search.focus-mobile:not(.no-overlay){width:100%;position:fixed;top:0;left:0;z-index:10000}.algolia-search.focus .algolia-search-results-overlay,.algolia-search.focus-mobile:not(.no-overlay) .algolia-search-results-overlay{width:100%;height:100vh;background:linear-gradient(259.8deg,#f2f2f2 37.83%,#fffbff 55.77%,#fffbff00 76.8%),linear-gradient(79.63deg,#f5f6f8 45.51%,#f5f6f800 75.93%);position:absolute;top:0;left:0}}.algolia-search.focus .algolia-search-controls-field input::placeholder,.algolia-search.focus-mobile:not(.no-overlay) .algolia-search-controls-field input::placeholder{color:#b7b7b7;font-size:25px;font-weight:300}@media screen and (max-width: 1024px){.algolia-search.focus .algolia-search-controls-field input,.algolia-search.focus-mobile:not(.no-overlay) .algolia-search-controls-field input{font-size:22px;text-transform:uppercase}.algolia-search.focus .algolia-search-controls-field input::placeholder,.algolia-search.focus-mobile:not(.no-overlay) .algolia-search-controls-field input::placeholder{font-size:20px}}.algolia-search.focus.no-results .algolia-search-controls-field input,.algolia-search.focus-mobile:not(.no-overlay).no-results .algolia-search-controls-field input{color:#9d3a3a!important}.algolia-search.disabled{background-color:#f6f6f6!important;border:2px solid rgb(183,183,183)}.algolia-search.disabled .algolia-search-controls{background-color:#f6f6f6!important}@media screen and (min-width: 1024px){.algolia-search.light-style{background-color:#fff;border-radius:4px;padding:6px 0;border:2px solid rgb(146,146,146)}.algolia-search.light-style .algolia-search-controls{height:auto;padding-top:0;grid-template-areas:\". search-icon . field clean-icon .\";grid-template-columns:12px auto 8px 1fr auto 12px;grid-template-rows:minmax(28px,auto);box-shadow:none}.algolia-search.light-style .algolia-search-controls-hint{grid-area:field;width:100%;height:auto;font-weight:500;font-size:16px;font-style:normal;text-transform:none}.algolia-search.light-style .algolia-search-controls algolia-search-field{display:flex;align-items:center}.algolia-search.light-style .algolia-search-controls-field{padding-bottom:0;flex-grow:1;display:flex}.algolia-search.light-style .algolia-search-controls-field input{display:flex;flex:1 1 0;width:100%;height:auto;font-weight:500;font-size:16px;font-style:normal;color:#6e6e6e;text-transform:capitalize}.algolia-search.light-style .algolia-search-controls-field input::placeholder{font-style:normal;font-weight:500;font-size:16px;line-height:135%;display:flex;align-items:center;color:#6e6e6e;text-transform:none}.algolia-search.light-style .algolia-search-controls-field input:focus{color:#262626}.algolia-search.light-style .algolia-search-controls-field.disabled input{width:100%;height:auto;font-style:normal;font-weight:500;font-size:16px;line-height:135%;color:#929292;text-transform:uppercase;cursor:not-allowed}.algolia-search.light-style .algolia-search-controls-field.disabled input::placeholder{color:#929292;-webkit-text-fill-color:rgb(146,146,146)}.algolia-search.light-style .algolia-search-controls .search-icon{grid-area:search-icon;align-self:center}.algolia-search.light-style .algolia-search-controls .clean-icon{grid-area:clean-icon;align-self:center}.algolia-search.light-style.focus{z-index:9998;border:2px solid rgb(110,168,255)}}@media screen and (min-width: 1024px) and (max-width: 1024px){.algolia-search.light-style.focus{border:none;width:100%;position:fixed;top:0;left:0;z-index:10000}.algolia-search.light-style.focus .algolia-search-results-overlay{width:100%;height:100vh;background:linear-gradient(259.8deg,#f2f2f2 37.83%,#fffbff 55.77%,#fffbff00 76.8%),linear-gradient(79.63deg,#f5f6f8 45.51%,#f5f6f800 75.93%);position:absolute;top:0;left:0}}@media screen and (min-width: 1024px){.algolia-search.light-style.focus.no-results{border:solid 2px rgb(157,58,58)}}@media screen and (min-width: 1024px) and (max-width: 1024px){.algolia-search.light-style.focus.no-results .algolia-search-controls{border:none;box-shadow:0 2px 4px #00000029}}@media screen and (min-width: 1024px){.algolia-search.light-style.focus.no-results .algolia-search-controls-field input{color:#9d3a3a!important}.algolia-search.light-style .algolia-search-results{background:#fff;border:none;border-radius:0 0 4px 4px;box-shadow:0 10px 20px #00000014;margin-top:2px}.algolia-search.light-style .algolia-search-results .algolia-search-results-item{background-color:#fff}.algolia-search.light-style .algolia-search-results .algolia-multiple-results{width:100%;max-height:398px;overflow:hidden;display:flex}.algolia-search.light-style .algolia-search-results .algolia-multiple-results-primary{width:60%}.algolia-search.light-style .algolia-search-results .algolia-multiple-results-primary algolia-search-result-item:nth-child(n+8){display:none}.algolia-search.light-style .algolia-search-results .algolia-multiple-results-secondary{width:40%;overflow-x:auto}}@media screen and (min-width: 1024px) and (min-width: 1024px){.algolia-search.light-style .algolia-search-results .algolia-multiple-results .algolia-multiple-results-primary,.algolia-search.light-style .algolia-search-results .algolia-multiple-results .algolia-multiple-results-secondary{width:100%}}@media screen and (min-width: 1024px){.algolia-search.light-style .algolia-search-results .algolia-multiple-results.single-result{display:block}}@media screen and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile),.algolia-search.light-style.no-overlay{background-color:#fff;border-radius:4px;padding:6px 0;border:2px solid rgb(146,146,146)}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls,.algolia-search.light-style.no-overlay .algolia-search-controls{height:auto;padding-top:0;grid-template-areas:\". search-icon . field clean-icon .\";grid-template-columns:12px auto 8px 1fr auto 12px;grid-template-rows:minmax(28px,auto);box-shadow:none}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-hint,.algolia-search.light-style.no-overlay .algolia-search-controls-hint{grid-area:field;width:100%;height:auto;font-weight:500;font-size:16px;font-style:normal;text-transform:none}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls algolia-search-field,.algolia-search.light-style.no-overlay .algolia-search-controls algolia-search-field{display:flex;align-items:center}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field,.algolia-search.light-style.no-overlay .algolia-search-controls-field{padding-bottom:0;flex-grow:1;display:flex}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field input,.algolia-search.light-style.no-overlay .algolia-search-controls-field input{display:flex;flex:1 1 0;width:100%;height:auto;font-weight:500;font-size:16px;font-style:normal;color:#6e6e6e;text-transform:capitalize}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field input::placeholder,.algolia-search.light-style.no-overlay .algolia-search-controls-field input::placeholder{font-style:normal;font-weight:500;font-size:16px;line-height:135%;display:flex;align-items:center;color:#6e6e6e;text-transform:none}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field input:focus,.algolia-search.light-style.no-overlay .algolia-search-controls-field input:focus{color:#262626}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field.disabled input,.algolia-search.light-style.no-overlay .algolia-search-controls-field.disabled input{width:100%;height:auto;font-style:normal;font-weight:500;font-size:16px;line-height:135%;color:#929292;text-transform:uppercase;cursor:not-allowed}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field.disabled input::placeholder,.algolia-search.light-style.no-overlay .algolia-search-controls-field.disabled input::placeholder{color:#929292;-webkit-text-fill-color:rgb(146,146,146)}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls .search-icon,.algolia-search.light-style.no-overlay .algolia-search-controls .search-icon{grid-area:search-icon;align-self:center}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls .clean-icon,.algolia-search.light-style.no-overlay .algolia-search-controls .clean-icon{grid-area:clean-icon;align-self:center}.algolia-search.light-style:not(.focus-mobile).focus,.algolia-search.light-style.no-overlay.focus{z-index:9998;border:2px solid rgb(110,168,255)}}@media screen and (max-width: 1024px) and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile).focus,.algolia-search.light-style.no-overlay.focus{border:none;width:100%;position:fixed;top:0;left:0;z-index:10000}.algolia-search.light-style:not(.focus-mobile).focus .algolia-search-results-overlay,.algolia-search.light-style.no-overlay.focus .algolia-search-results-overlay{width:100%;height:100vh;background:linear-gradient(259.8deg,#f2f2f2 37.83%,#fffbff 55.77%,#fffbff00 76.8%),linear-gradient(79.63deg,#f5f6f8 45.51%,#f5f6f800 75.93%);position:absolute;top:0;left:0}}@media screen and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile).focus.no-results,.algolia-search.light-style.no-overlay.focus.no-results{border:solid 2px rgb(157,58,58)}}@media screen and (max-width: 1024px) and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile).focus.no-results .algolia-search-controls,.algolia-search.light-style.no-overlay.focus.no-results .algolia-search-controls{border:none;box-shadow:0 2px 4px #00000029}}@media screen and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile).focus.no-results .algolia-search-controls-field input,.algolia-search.light-style.no-overlay.focus.no-results .algolia-search-controls-field input{color:#9d3a3a!important}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results,.algolia-search.light-style.no-overlay .algolia-search-results{background:#fff;border:none;border-radius:0 0 4px 4px;box-shadow:0 10px 20px #00000014;margin-top:2px}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-search-results-item,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-search-results-item{background-color:#fff}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results{width:100%;max-height:398px;overflow:hidden;display:flex}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results-primary,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results-primary{width:60%}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results-primary algolia-search-result-item:nth-child(n+8),.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results-primary algolia-search-result-item:nth-child(n+8){display:none}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results-secondary,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results-secondary{width:40%;overflow-x:auto}}@media screen and (max-width: 1024px) and (min-width: 1024px){.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results .algolia-multiple-results-primary,.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results .algolia-multiple-results-secondary,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results .algolia-multiple-results-primary,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results .algolia-multiple-results-secondary{width:100%}}@media screen and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results.single-result,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results.single-result{display:block}}.algolia-search algolia-search-results,.algolia-search.no-results>.algolia-search-results{display:block;position:absolute;top:100%;left:0;width:100%}.algolia-search .algolia-search-results{max-height:70vh;overflow-y:auto;z-index:1}@media screen and (max-height: 1024px){.algolia-search .algolia-search-results{max-height:400px}}@media screen and (max-width: 1024px){.algolia-search .algolia-search-results{max-height:var(--results-height)}}.algolia-search.no-results .algolia-search-results{max-height:70vh;overflow-y:auto;z-index:1}@media screen and (max-height: 1024px){.algolia-search.no-results .algolia-search-results{max-height:400px}}@media screen and (max-width: 1024px){.algolia-search.no-results .algolia-search-results{max-height:var(--results-height)}}.algolia-search algolia-search-result-item{display:block;position:relative}.algolia-search algolia-search-result-item:not(:last-child){border-bottom:1px solid rgb(226,226,226)}.algolia-search .algolia-multiple-results-secondary algolia-search-result-item:not(:last-child){border-bottom:none}.algolia-search .algolia-multiple-results-secondary algolia-search-result-item .algolia-search-results-item h4{font-size:13px;font-weight:400}.algolia-search .algolia-multiple-results-secondary algolia-search-result-item .algolia-search-results-item p{font-size:12px;font-weight:300}.algolia-search .algolia-search-results-item{width:100%;display:grid;padding:8px 20px;grid-template-columns:auto 1fr 8px auto auto;grid-template-rows:1fr auto;grid-template-areas:\"icon title . action .\" \"icon subtitle . action description\";align-items:center;background-color:#fff;cursor:pointer}@media screen and (max-width: 1024px){.algolia-search .algolia-search-results-item{background-color:unset}}.algolia-search .algolia-search-results-item-icon,.algolia-search .algolia-search-results-item-img,.algolia-search .algolia-search-results-item-distance{grid-area:icon}.algolia-search .algolia-search-results-item h4,.algolia-search .algolia-search-results-item p{padding:0;margin:0;color:#6e6e6e;line-height:16px;letter-spacing:.72px}.algolia-search .algolia-search-results-item h4{grid-area:title;font-size:12px;color:#262626;font-weight:700}.algolia-search .algolia-search-results-item h4.hasSubtitle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.algolia-search .algolia-search-results-item h4:not(.hasSubtitle){display:block;display:-webkit-box;max-width:100%;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.algolia-search .algolia-search-results-item h4.error-message{color:#9d3a3a;font-size:14px;font-weight:300;height:70px;display:flex;align-items:center}.algolia-search .algolia-search-results-item p{grid-area:subtitle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.algolia-search .algolia-search-results-item h4 em,.algolia-search .algolia-search-results-item p em{color:#009681;font-weight:500;font-style:normal}.algolia-search .algolia-search-results-item h5{grid-area:description;color:#4a4a4a;font-weight:300;font-style:normal;font-size:12px;line-height:14px}.algolia-search .algolia-search-results-item-icon,.algolia-search .algolia-search-results-item-img{display:flex;align-items:center;margin-right:10px}.algolia-search .algolia-search-results-item-icon cura-icon,.algolia-search .algolia-search-results-item-img cura-icon{stroke:#b7b7b7;transition:ease .5s stroke}.algolia-search .algolia-search-results-item-img img{width:32px;height:32px;border-radius:50%;overflow:hidden;object-fit:cover}.algolia-search .algolia-search-results-item-distance{display:flex;align-items:center;flex-direction:column;margin-right:8px;min-width:30px}.algolia-search .algolia-search-results-item:hover,.algolia-search .algolia-search-results-item.preselected{background:#f6f6f6!important}.algolia-search .algolia-search-results-item-action{grid-area:action}.algolia-search .algolia-search-results-item-action a,.algolia-search .algolia-search-results-item-action>cura-icon{display:flex;align-items:center;font-size:14px;font-weight:300;color:#009681}@media screen and (max-width: 1024px){.algolia-search .algolia-search-results-item-action a span,.algolia-search .algolia-search-results-item-action>cura-icon span{display:none}}.algolia-search .algolia-search-results-item-action a cura-icon,.algolia-search .algolia-search-results-item-action>cura-icon cura-icon{margin-left:8px;stroke:#009681}.algolia-search .algolia-search-results-item-action>cura-icon{stroke:#009681}.algolia-search.light-style .algolia-search-results-item{padding-right:12px;padding-left:12px}.algolia-search.no-results .algolia-search-results-item{background:transparent!important;cursor:default}.algolia-search.no-results .algolia-search-results-item .algolia-search-results-item-icon cura-icon{stroke:#b7b7b7}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }, { kind: "component", type: CuraLabelComponent, selector: "cura-label", inputs: ["size", "weight", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: AlgoliaSearchFieldComponent, selector: "algolia-search-field", inputs: ["searchControl", "debounceTime", "placeholder", "componentStyle", "readonly", "setFocus"], outputs: ["controlBlur", "controlFocus", "controlReset", "controlEnterKey", "navUp", "navDown", "termChange"] }], encapsulation: i0.ViewEncapsulation.None }); }
580
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
581
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: AlgoliaSearchComponent, isStandalone: true, selector: "algolia-search", inputs: { algoliaConfig: { classPropertyName: "algoliaConfig", publicName: "algoliaConfig", isSignal: true, isRequired: false, transformFunction: null }, searchControl: { classPropertyName: "searchControl", publicName: "searchControl", isSignal: true, isRequired: false, transformFunction: null }, searchParams: { classPropertyName: "searchParams", publicName: "searchParams", isSignal: true, isRequired: false, transformFunction: null }, debounceTime: { classPropertyName: "debounceTime", publicName: "debounceTime", isSignal: true, isRequired: false, transformFunction: null }, startSearchAtCharLen: { classPropertyName: "startSearchAtCharLen", publicName: "startSearchAtCharLen", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, fixedLabel: { classPropertyName: "fixedLabel", publicName: "fixedLabel", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, facetsNames: { classPropertyName: "facetsNames", publicName: "facetsNames", isSignal: true, isRequired: false, transformFunction: null }, searchTermFallback: { classPropertyName: "searchTermFallback", publicName: "searchTermFallback", isSignal: true, isRequired: false, transformFunction: null }, actionIcon: { classPropertyName: "actionIcon", publicName: "actionIcon", isSignal: true, isRequired: false, transformFunction: null }, componentStyle: { classPropertyName: "componentStyle", publicName: "componentStyle", isSignal: true, isRequired: false, transformFunction: null }, initialTerm: { classPropertyName: "initialTerm", publicName: "initialTerm", isSignal: true, isRequired: false, transformFunction: null }, cache: { classPropertyName: "cache", publicName: "cache", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, showLabel: { classPropertyName: "showLabel", publicName: "showLabel", isSignal: true, isRequired: false, transformFunction: null }, enableOverlay: { classPropertyName: "enableOverlay", publicName: "enableOverlay", isSignal: true, isRequired: false, transformFunction: null }, starTheme: { classPropertyName: "starTheme", publicName: "starTheme", isSignal: true, isRequired: false, transformFunction: null }, maternityStarTheme: { classPropertyName: "maternityStarTheme", publicName: "maternityStarTheme", isSignal: true, isRequired: false, transformFunction: null }, setFocus: { classPropertyName: "setFocus", publicName: "setFocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { setFocus: "setFocusChange", updateResults: "updateResults", updateAlgoliaResults: "updateAlgoliaResults", itemSelect: "itemSelect", fieldFocus: "fieldFocus", fieldBlur: "fieldBlur" }, host: { listeners: { "window:resize": "checkBrowserWidth($event)", "window:scroll": "onScroll()", "document:keypress": "handleKeyboardEvent($event)" }, properties: { "style.--font-family": "this.curaService.theme.fonts.getFamily()" } }, queries: [{ propertyName: "queryResultsContainer", predicate: AlgoliaSearchResultsComponent, isSignal: true }, { propertyName: "tooltip", predicate: AlgoliaSearchTooltipComponent, isSignal: true }], ngImport: i0, template: "@if (showLabel()) {\n <cura-label [color]=\"searchControl().disabled ? 'neutral-medium' : 'neutral-black'\" size=\"xsmall\" weight=\"bold\" style=\"margin-bottom: 8px\">\n {{ label() }}\n </cura-label>\n}\n<div\n class=\"algolia-search\"\n [ngClass]=\"{\n focus: focus(),\n 'focus-mobile': focusMobile(),\n 'no-results': noResults(),\n 'light-style': componentStyle() === rdslAlgoliaComponentStyle.LIGHT,\n 'no-overlay': !enableOverlay(),\n disabled: searchControl().disabled,\n 'star-theme': starTheme(),\n 'maternity-star-theme': maternityStarTheme(),\n }\"\n data-testid=\"_algolia-search\"\n>\n <div class=\"algolia-search-controls\" data-testid=\"_algolia-search-controls\">\n @if (hint() && !noResults() && preselectedIndex() === null) {\n <div class=\"algolia-search-controls-hint\" [innerHTML]=\"hint()!.label\" data-testid=\"_algolia-search-controls-hint\"></div>\n }\n\n @if (!isMobile() || !enableOverlay() || (isMobile() && !focusMobile())) {\n <cura-icon\n class=\"search-icon\"\n [name]=\"actionIcon()\"\n [disabled]=\"!searchControl().enabled\"\n size=\"20\"\n [color]=\"(focus() || focusMobile()) && noResults() ? 'error-dark' : 'neutral-dark'\"\n (click)=\"searchTerm()\"\n ></cura-icon>\n }\n\n @if (isMobile() && enableOverlay() && focusMobile()) {\n <cura-icon\n class=\"left-icon\"\n name=\"arrowLeft\"\n size=\"20\"\n (click)=\"overlayClick()\"\n [disabled]=\"!searchControl().enabled\"\n [color]=\"noResults() ? 'error-dark' : 'primary-base'\"\n ></cura-icon>\n }\n\n <algolia-search-field\n [searchControl]=\"searchControl()\"\n [debounceTime]=\"debounceTime()\"\n [placeholder]=\"placeholder()\"\n [componentStyle]=\"componentStyle()\"\n [setFocus]=\"setFocus()\"\n (termChange)=\"facetsNames() && facetsNames().length > 0 ? searchTermFacet() : searchTerm()\"\n (controlEnterKey)=\"selectHint()\"\n (controlBlur)=\"onBlur()\"\n (controlFocus)=\"onFocus()\"\n (navDown)=\"onNavDown()\"\n (navUp)=\"onNavUp()\"\n >\n </algolia-search-field>\n\n @if (((isMobile() && focusMobile()) || (!isMobile() && focus())) && !!searchControl().value) {\n <cura-icon\n name=\"closeCircle\"\n size=\"20\"\n class=\"clean-icon\"\n (mousedown)=\"clean()\"\n [disabled]=\"!searchControl().enabled\"\n [color]=\"noResults() ? 'error-dark' : 'primary-base'\"\n ></cura-icon>\n }\n </div>\n\n <ng-content select=\".algolia-search-tooltip\"></ng-content>\n\n @if (((!isMobile() && focus()) || (isMobile() && focusMobile())) && !noResults()) {\n <ng-content select=\"algolia-search-results\"></ng-content>\n }\n\n @if (((!isMobile() && focus()) || (isMobile() && focusMobile())) && noResults()) {\n <div class=\"algolia-search-results\" data-testid=\"_algolia-search-results\">\n <div class=\"algolia-search-results-container\" data-testid=\"_algolia-search-results-container\">\n <div class=\"algolia-search-results-item\" data-testid=\"_algolia-search-results-item\">\n <div class=\"algolia-search-results-item-icon\" data-testid=\"_algolia-search-results-item-icon\">\n <cura-icon name=\"alertCircle\" size=\"24\" color=\"error-dark\"></cura-icon>\n </div>\n <h4 class=\"error-message\">N\u00E3o h\u00E1 nenhum resultado para \"{{ searchControl().value }}\".</h4>\n </div>\n </div>\n </div>\n }\n\n <div class=\"algolia-search-results-overlay\" (click)=\"overlayClick()\" data-testid=\"_algolia-search-results-overlay\"></div>\n</div>\n\n<ng-content select=\".algolia-search-helper\"></ng-content>\n", styles: [":host{--results-height: calc(100vh - 72px) }.algolia-search{position:relative;box-sizing:border-box}.algolia-search *{font-family:var(--font-family)}.algolia-search algolia-search-results,.algolia-search .algolia-search-results{z-index:5001}.algolia-search.star-theme{border-radius:0!important}.algolia-search.maternity-star-theme,.algolia-search.maternity-star-theme .algolia-search-controls{border-radius:2rem!important}.algolia-search-controls{z-index:5002;display:grid;position:relative;grid-template-columns:20px 14px 20px 1fr auto 10px;grid-template-rows:auto;grid-template-areas:\". left-icon . field clean-icon .\";background:#fff;box-shadow:0 2px 4px #00000029;padding-top:6px;transition:ease .2s all}.algolia-search-controls algolia-search-field{display:block;position:relative;grid-area:field}.algolia-search-controls .left-icon{grid-area:left-icon;align-self:center}.algolia-search-controls .clean-icon{grid-area:clean-icon;align-self:center}.algolia-search-controls-hint{grid-area:field;height:66px;font-weight:300;font-size:25px;color:#e2e2e2;white-space:nowrap;overflow:hidden;text-transform:uppercase;display:flex;align-items:center}@media screen and (max-width: 1024px){.algolia-search-controls-hint{font-size:22px}}.algolia-search-controls-field input{width:100%;height:66px;font-weight:300;font-size:25px;font-style:normal;color:#4a4a4a;background:transparent}.algolia-search-controls-field input::placeholder{color:#6e6e6e;font-size:18px;font-weight:500;opacity:1}.algolia-search-controls-field.disabled input{opacity:1;-webkit-text-fill-color:rgb(146,146,146)}.algolia-search.focus,.algolia-search.focus-mobile:not(.no-overlay){z-index:9998}@media screen and (max-width: 1024px){.algolia-search.focus,.algolia-search.focus-mobile:not(.no-overlay){width:100%;position:fixed;top:0;left:0;z-index:10000}.algolia-search.focus .algolia-search-results-overlay,.algolia-search.focus-mobile:not(.no-overlay) .algolia-search-results-overlay{width:100%;height:100vh;background:linear-gradient(259.8deg,#f2f2f2 37.83%,#fffbff 55.77%,#fffbff00 76.8%),linear-gradient(79.63deg,#f5f6f8 45.51%,#f5f6f800 75.93%);position:absolute;top:0;left:0}}.algolia-search.focus .algolia-search-controls-field input::placeholder,.algolia-search.focus-mobile:not(.no-overlay) .algolia-search-controls-field input::placeholder{color:#b7b7b7;font-size:25px;font-weight:300}@media screen and (max-width: 1024px){.algolia-search.focus .algolia-search-controls-field input,.algolia-search.focus-mobile:not(.no-overlay) .algolia-search-controls-field input{font-size:22px;text-transform:uppercase}.algolia-search.focus .algolia-search-controls-field input::placeholder,.algolia-search.focus-mobile:not(.no-overlay) .algolia-search-controls-field input::placeholder{font-size:20px}}.algolia-search.focus.no-results .algolia-search-controls-field input,.algolia-search.focus-mobile:not(.no-overlay).no-results .algolia-search-controls-field input{color:#9d3a3a!important}.algolia-search.disabled{background-color:#f6f6f6!important;border:2px solid rgb(183,183,183)}.algolia-search.disabled .algolia-search-controls{background-color:#f6f6f6!important}@media screen and (min-width: 1024px){.algolia-search.light-style{background-color:#fff;border-radius:4px;padding:6px 0;border:2px solid rgb(146,146,146)}.algolia-search.light-style .algolia-search-controls{height:auto;padding-top:0;grid-template-areas:\". search-icon . field clean-icon .\";grid-template-columns:12px auto 8px 1fr auto 12px;grid-template-rows:minmax(28px,auto);box-shadow:none}.algolia-search.light-style .algolia-search-controls-hint{grid-area:field;width:100%;height:auto;font-weight:500;font-size:16px;font-style:normal;text-transform:none}.algolia-search.light-style .algolia-search-controls algolia-search-field{display:flex;align-items:center}.algolia-search.light-style .algolia-search-controls-field{padding-bottom:0;flex-grow:1;display:flex}.algolia-search.light-style .algolia-search-controls-field input{display:flex;flex:1 1 0;width:100%;height:auto;font-weight:500;font-size:16px;font-style:normal;color:#6e6e6e;text-transform:capitalize}.algolia-search.light-style .algolia-search-controls-field input::placeholder{font-style:normal;font-weight:500;font-size:16px;line-height:135%;display:flex;align-items:center;color:#6e6e6e;text-transform:none}.algolia-search.light-style .algolia-search-controls-field input:focus{color:#262626}.algolia-search.light-style .algolia-search-controls-field.disabled input{width:100%;height:auto;font-style:normal;font-weight:500;font-size:16px;line-height:135%;color:#929292;text-transform:uppercase;cursor:not-allowed}.algolia-search.light-style .algolia-search-controls-field.disabled input::placeholder{color:#929292;-webkit-text-fill-color:rgb(146,146,146)}.algolia-search.light-style .algolia-search-controls .search-icon{grid-area:search-icon;align-self:center}.algolia-search.light-style .algolia-search-controls .clean-icon{grid-area:clean-icon;align-self:center}.algolia-search.light-style.focus{z-index:9998;border:2px solid rgb(110,168,255)}}@media screen and (min-width: 1024px) and (max-width: 1024px){.algolia-search.light-style.focus{border:none;width:100%;position:fixed;top:0;left:0;z-index:10000}.algolia-search.light-style.focus .algolia-search-results-overlay{width:100%;height:100vh;background:linear-gradient(259.8deg,#f2f2f2 37.83%,#fffbff 55.77%,#fffbff00 76.8%),linear-gradient(79.63deg,#f5f6f8 45.51%,#f5f6f800 75.93%);position:absolute;top:0;left:0}}@media screen and (min-width: 1024px){.algolia-search.light-style.focus.no-results{border:solid 2px rgb(157,58,58)}}@media screen and (min-width: 1024px) and (max-width: 1024px){.algolia-search.light-style.focus.no-results .algolia-search-controls{border:none;box-shadow:0 2px 4px #00000029}}@media screen and (min-width: 1024px){.algolia-search.light-style.focus.no-results .algolia-search-controls-field input{color:#9d3a3a!important}.algolia-search.light-style .algolia-search-results{background:#fff;border:none;border-radius:0 0 4px 4px;box-shadow:0 10px 20px #00000014;margin-top:2px}.algolia-search.light-style .algolia-search-results .algolia-search-results-item{background-color:#fff}.algolia-search.light-style .algolia-search-results .algolia-multiple-results{width:100%;max-height:398px;overflow:hidden;display:flex}.algolia-search.light-style .algolia-search-results .algolia-multiple-results-primary{width:60%}.algolia-search.light-style .algolia-search-results .algolia-multiple-results-primary algolia-search-result-item:nth-child(n+8){display:none}.algolia-search.light-style .algolia-search-results .algolia-multiple-results-secondary{width:40%;overflow-x:auto}}@media screen and (min-width: 1024px) and (min-width: 1024px){.algolia-search.light-style .algolia-search-results .algolia-multiple-results .algolia-multiple-results-primary,.algolia-search.light-style .algolia-search-results .algolia-multiple-results .algolia-multiple-results-secondary{width:100%}}@media screen and (min-width: 1024px){.algolia-search.light-style .algolia-search-results .algolia-multiple-results.single-result{display:block}}@media screen and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile),.algolia-search.light-style.no-overlay{background-color:#fff;border-radius:4px;padding:6px 0;border:2px solid rgb(146,146,146)}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls,.algolia-search.light-style.no-overlay .algolia-search-controls{height:auto;padding-top:0;grid-template-areas:\". search-icon . field clean-icon .\";grid-template-columns:12px auto 8px 1fr auto 12px;grid-template-rows:minmax(28px,auto);box-shadow:none}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-hint,.algolia-search.light-style.no-overlay .algolia-search-controls-hint{grid-area:field;width:100%;height:auto;font-weight:500;font-size:16px;font-style:normal;text-transform:none}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls algolia-search-field,.algolia-search.light-style.no-overlay .algolia-search-controls algolia-search-field{display:flex;align-items:center}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field,.algolia-search.light-style.no-overlay .algolia-search-controls-field{padding-bottom:0;flex-grow:1;display:flex}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field input,.algolia-search.light-style.no-overlay .algolia-search-controls-field input{display:flex;flex:1 1 0;width:100%;height:auto;font-weight:500;font-size:16px;font-style:normal;color:#6e6e6e;text-transform:capitalize}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field input::placeholder,.algolia-search.light-style.no-overlay .algolia-search-controls-field input::placeholder{font-style:normal;font-weight:500;font-size:16px;line-height:135%;display:flex;align-items:center;color:#6e6e6e;text-transform:none}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field input:focus,.algolia-search.light-style.no-overlay .algolia-search-controls-field input:focus{color:#262626}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field.disabled input,.algolia-search.light-style.no-overlay .algolia-search-controls-field.disabled input{width:100%;height:auto;font-style:normal;font-weight:500;font-size:16px;line-height:135%;color:#929292;text-transform:uppercase;cursor:not-allowed}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls-field.disabled input::placeholder,.algolia-search.light-style.no-overlay .algolia-search-controls-field.disabled input::placeholder{color:#929292;-webkit-text-fill-color:rgb(146,146,146)}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls .search-icon,.algolia-search.light-style.no-overlay .algolia-search-controls .search-icon{grid-area:search-icon;align-self:center}.algolia-search.light-style:not(.focus-mobile) .algolia-search-controls .clean-icon,.algolia-search.light-style.no-overlay .algolia-search-controls .clean-icon{grid-area:clean-icon;align-self:center}.algolia-search.light-style:not(.focus-mobile).focus,.algolia-search.light-style.no-overlay.focus{z-index:9998;border:2px solid rgb(110,168,255)}}@media screen and (max-width: 1024px) and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile).focus,.algolia-search.light-style.no-overlay.focus{border:none;width:100%;position:fixed;top:0;left:0;z-index:10000}.algolia-search.light-style:not(.focus-mobile).focus .algolia-search-results-overlay,.algolia-search.light-style.no-overlay.focus .algolia-search-results-overlay{width:100%;height:100vh;background:linear-gradient(259.8deg,#f2f2f2 37.83%,#fffbff 55.77%,#fffbff00 76.8%),linear-gradient(79.63deg,#f5f6f8 45.51%,#f5f6f800 75.93%);position:absolute;top:0;left:0}}@media screen and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile).focus.no-results,.algolia-search.light-style.no-overlay.focus.no-results{border:solid 2px rgb(157,58,58)}}@media screen and (max-width: 1024px) and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile).focus.no-results .algolia-search-controls,.algolia-search.light-style.no-overlay.focus.no-results .algolia-search-controls{border:none;box-shadow:0 2px 4px #00000029}}@media screen and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile).focus.no-results .algolia-search-controls-field input,.algolia-search.light-style.no-overlay.focus.no-results .algolia-search-controls-field input{color:#9d3a3a!important}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results,.algolia-search.light-style.no-overlay .algolia-search-results{background:#fff;border:none;border-radius:0 0 4px 4px;box-shadow:0 10px 20px #00000014;margin-top:2px}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-search-results-item,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-search-results-item{background-color:#fff}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results{width:100%;max-height:398px;overflow:hidden;display:flex}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results-primary,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results-primary{width:60%}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results-primary algolia-search-result-item:nth-child(n+8),.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results-primary algolia-search-result-item:nth-child(n+8){display:none}.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results-secondary,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results-secondary{width:40%;overflow-x:auto}}@media screen and (max-width: 1024px) and (min-width: 1024px){.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results .algolia-multiple-results-primary,.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results .algolia-multiple-results-secondary,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results .algolia-multiple-results-primary,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results .algolia-multiple-results-secondary{width:100%}}@media screen and (max-width: 1024px){.algolia-search.light-style:not(.focus-mobile) .algolia-search-results .algolia-multiple-results.single-result,.algolia-search.light-style.no-overlay .algolia-search-results .algolia-multiple-results.single-result{display:block}}.algolia-search algolia-search-results,.algolia-search.no-results>.algolia-search-results{display:block;position:absolute;top:100%;left:0;width:100%}.algolia-search .algolia-search-results{max-height:70vh;overflow-y:auto;z-index:1}@media screen and (max-height: 1024px){.algolia-search .algolia-search-results{max-height:400px}}@media screen and (max-width: 1024px){.algolia-search .algolia-search-results{max-height:var(--results-height)}}.algolia-search.no-results .algolia-search-results{max-height:70vh;overflow-y:auto;z-index:1}@media screen and (max-height: 1024px){.algolia-search.no-results .algolia-search-results{max-height:400px}}@media screen and (max-width: 1024px){.algolia-search.no-results .algolia-search-results{max-height:var(--results-height)}}.algolia-search algolia-search-result-item{display:block;position:relative}.algolia-search algolia-search-result-item:not(:last-child){border-bottom:1px solid rgb(226,226,226)}.algolia-search .algolia-multiple-results-secondary algolia-search-result-item:not(:last-child){border-bottom:none}.algolia-search .algolia-multiple-results-secondary algolia-search-result-item .algolia-search-results-item h4{font-size:13px;font-weight:400}.algolia-search .algolia-multiple-results-secondary algolia-search-result-item .algolia-search-results-item p{font-size:12px;font-weight:300}.algolia-search .algolia-search-results-item{width:100%;display:grid;padding:8px 20px;grid-template-columns:auto 1fr 8px auto auto;grid-template-rows:1fr auto;grid-template-areas:\"icon title . action .\" \"icon subtitle . action description\";align-items:center;background-color:#fff;cursor:pointer}@media screen and (max-width: 1024px){.algolia-search .algolia-search-results-item{background-color:unset}}.algolia-search .algolia-search-results-item-icon,.algolia-search .algolia-search-results-item-img,.algolia-search .algolia-search-results-item-distance{grid-area:icon}.algolia-search .algolia-search-results-item h4,.algolia-search .algolia-search-results-item p{padding:0;margin:0;color:#6e6e6e;line-height:16px;letter-spacing:.72px}.algolia-search .algolia-search-results-item h4{grid-area:title;font-size:12px;color:#262626;font-weight:700}.algolia-search .algolia-search-results-item h4.hasSubtitle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.algolia-search .algolia-search-results-item h4:not(.hasSubtitle){display:block;display:-webkit-box;max-width:100%;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.algolia-search .algolia-search-results-item h4.error-message{color:#9d3a3a;font-size:14px;font-weight:300;height:70px;display:flex;align-items:center}.algolia-search .algolia-search-results-item p{grid-area:subtitle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.algolia-search .algolia-search-results-item h4 em,.algolia-search .algolia-search-results-item p em{color:#009681;font-weight:500;font-style:normal}.algolia-search .algolia-search-results-item h5{grid-area:description;color:#4a4a4a;font-weight:300;font-style:normal;font-size:12px;line-height:14px}.algolia-search .algolia-search-results-item-icon,.algolia-search .algolia-search-results-item-img{display:flex;align-items:center;margin-right:10px}.algolia-search .algolia-search-results-item-icon cura-icon,.algolia-search .algolia-search-results-item-img cura-icon{stroke:#b7b7b7;transition:ease .5s stroke}.algolia-search .algolia-search-results-item-img img{width:32px;height:32px;border-radius:50%;overflow:hidden;object-fit:cover}.algolia-search .algolia-search-results-item-distance{display:flex;align-items:center;flex-direction:column;margin-right:8px;min-width:30px}.algolia-search .algolia-search-results-item:hover,.algolia-search .algolia-search-results-item.preselected{background:#f6f6f6!important}.algolia-search .algolia-search-results-item-action{grid-area:action}.algolia-search .algolia-search-results-item-action a,.algolia-search .algolia-search-results-item-action>cura-icon{display:flex;align-items:center;font-size:14px;font-weight:300;color:#009681}@media screen and (max-width: 1024px){.algolia-search .algolia-search-results-item-action a span,.algolia-search .algolia-search-results-item-action>cura-icon span{display:none}}.algolia-search .algolia-search-results-item-action a cura-icon,.algolia-search .algolia-search-results-item-action>cura-icon cura-icon{margin-left:8px;stroke:#009681}.algolia-search .algolia-search-results-item-action>cura-icon{stroke:#009681}.algolia-search.light-style .algolia-search-results-item{padding-right:12px;padding-left:12px}.algolia-search.no-results .algolia-search-results-item{background:transparent!important;cursor:default}.algolia-search.no-results .algolia-search-results-item .algolia-search-results-item-icon cura-icon{stroke:#b7b7b7}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }, { kind: "component", type: CuraLabelComponent, selector: "cura-label", inputs: ["size", "weight", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: AlgoliaSearchFieldComponent, selector: "algolia-search-field", inputs: ["searchControl", "debounceTime", "placeholder", "componentStyle", "readonly", "setFocus"], outputs: ["controlBlur", "controlFocus", "controlReset", "controlEnterKey", "navUp", "navDown", "termChange"] }], encapsulation: i0.ViewEncapsulation.None }); }
582
582
  }
583
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchComponent, decorators: [{
583
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaSearchComponent, decorators: [{
584
584
  type: Component,
585
585
  args: [{ selector: 'algolia-search', imports: [CommonModule, CuraIconComponent, CuraLabelComponent, AlgoliaSearchFieldComponent], encapsulation: ViewEncapsulation.None, host: {
586
586
  '[style.--font-family]': 'this.curaService.theme.fonts.getFamily()',
@@ -25,10 +25,10 @@ class ContentBannerComponent {
25
25
  onCtaClick(text, link) {
26
26
  this.ctaClick.emit({ text, link });
27
27
  }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContentBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: ContentBannerComponent, isStandalone: true, selector: "rdsite-content-banner", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ctaClick: "ctaClick" }, host: { properties: { "style": "this.styleBinding" } }, ngImport: i0, template: "@if (content()?.title) {\n <cura-heading [level]=\"4\" weight=\"bold\" color=\"neutral-purewhite\" marginBlock=\"0\">\n {{ content()?.title }}\n </cura-heading>\n}\n\n@if (content()?.text) {\n <cura-paragraph color=\"neutral-purewhite\" marginBlock=\"0\">\n {{ content()?.text }}\n </cura-paragraph>\n}\n\n@if (content()?.info?.length) {\n <div class=\"info\" data-testid=\"_content-banner-info\">\n @for (item of content()?.info || []; track $index) {\n @if (item.text) {\n <a [ngClass]=\"{ disabled: !item.link }\" rdsitelink [href]=\"item.link || ''\">\n @if (item.icon) {\n <cura-icon [name]=\"item.icon\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\n }\n {{ item.text }}\n </a>\n }\n }\n </div>\n}\n\n@if (content()?.cta?.text && content()?.cta?.link) {\n <cura-button\n rdsitelink\n (click)=\"onCtaClick(content()?.cta?.text || '', content()?.cta?.link || '')\"\n size=\"large\"\n type=\"button\"\n color=\"accent\"\n [iconName]=\"content()?.cta?.icon || ''\"\n [href]=\"content()!.cta.link\"\n target=\"_self\"\n >\n {{ content()?.cta?.text }}\n </cura-button>\n}\n\n@if (content()?.image) {\n <rdsite-image\n [imageDefaultSrc]=\"content()?.image.url\"\n [imageWebpSrc]=\"content()?.image?.webp_url\"\n [title]=\"content()?.image.title\"\n [alt]=\"content()?.image.alt\"\n >\n </rdsite-image>\n}\n", styles: [":host{position:relative;z-index:0;display:block;width:100%;height:auto;padding:32px 56px 96px;margin-bottom:30px;border-radius:4px;background:linear-gradient(90deg,#004186 7.78%,#1163a1 40.08%,#2791c6 76.03%,#36b1df 95.14%)}:host cura-heading{position:relative;z-index:2;margin-bottom:8px}:host cura-paragraph{position:relative;z-index:2;margin-bottom:20px}:host .info{position:relative;z-index:2;display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:20px}:host .info>a{display:flex;justify-content:flex-start;align-items:center;gap:8px;width:fit-content;min-height:34px;color:var(--neutral-purewhite);font-size:12px;font-weight:500;line-height:13px;letter-spacing:.72px;padding:4px 20px;border-radius:20px;background:var(--color-one-lighter);text-decoration:none}:host .info>a.disabled{pointer-events:none}:host .info>a cura-icon{display:flex;justify-content:center;align-items:center;width:20px;height:20px;border:1.5px solid var(--neutral-purewhite);border-radius:50%}:host cura-button{position:relative;z-index:2;margin-top:30px}:host rdsite-image{position:absolute;z-index:1;bottom:0;right:40px;height:90%}:host rdsite-image ::ng-deep .rdsite-image{height:100%}:host rdsite-image ::ng-deep .rdsite-image img{height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: ImageComponent, selector: "rdsite-image", inputs: ["imageWebpSrc", "imageDefaultSrc", "imageSizes", "mimeType", "alt", "title", "loading"], outputs: ["imageDefaultSrcChange", "mimeTypeChange"] }, { kind: "component", type: CuraHeadingComponent, selector: "cura-heading", inputs: ["level", "size", "weight", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraParagraphComponent, selector: "cura-paragraph", inputs: ["size", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraButtonComponent, selector: "cura-button", inputs: ["type", "size", "disabled", "isLoading", "iconName", "iconset", "iconPosition", "iconOnly", "href", "target", "color", "background", "fontColor", "textAlign", "justify", "ariaLabel"], outputs: ["buttonClick"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ContentBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: ContentBannerComponent, isStandalone: true, selector: "rdsite-content-banner", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ctaClick: "ctaClick" }, host: { properties: { "style": "this.styleBinding" } }, ngImport: i0, template: "@if (content()?.title) {\n <cura-heading [level]=\"4\" weight=\"bold\" color=\"neutral-purewhite\" marginBlock=\"0\">\n {{ content()?.title }}\n </cura-heading>\n}\n\n@if (content()?.text) {\n <cura-paragraph color=\"neutral-purewhite\" marginBlock=\"0\">\n {{ content()?.text }}\n </cura-paragraph>\n}\n\n@if (content()?.info?.length) {\n <div class=\"info\" data-testid=\"_content-banner-info\">\n @for (item of content()?.info || []; track $index) {\n @if (item.text) {\n <a [ngClass]=\"{ disabled: !item.link }\" rdsitelink [href]=\"item.link || ''\">\n @if (item.icon) {\n <cura-icon [name]=\"item.icon\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\n }\n {{ item.text }}\n </a>\n }\n }\n </div>\n}\n\n@if (content()?.cta?.text && content()?.cta?.link) {\n <cura-button\n rdsitelink\n (click)=\"onCtaClick(content()?.cta?.text || '', content()?.cta?.link || '')\"\n size=\"large\"\n type=\"button\"\n color=\"accent\"\n [iconName]=\"content()?.cta?.icon || ''\"\n [href]=\"content()!.cta.link\"\n target=\"_self\"\n >\n {{ content()?.cta?.text }}\n </cura-button>\n}\n\n@if (content()?.image) {\n <rdsite-image\n [imageDefaultSrc]=\"content()?.image.url\"\n [imageWebpSrc]=\"content()?.image?.webp_url\"\n [title]=\"content()?.image.title\"\n [alt]=\"content()?.image.alt\"\n >\n </rdsite-image>\n}\n", styles: [":host{position:relative;z-index:0;display:block;width:100%;height:auto;padding:32px 56px 96px;margin-bottom:30px;border-radius:4px;background:linear-gradient(90deg,#004186 7.78%,#1163a1 40.08%,#2791c6 76.03%,#36b1df 95.14%)}:host cura-heading{position:relative;z-index:2;margin-bottom:8px}:host cura-paragraph{position:relative;z-index:2;margin-bottom:20px}:host .info{position:relative;z-index:2;display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:20px}:host .info>a{display:flex;justify-content:flex-start;align-items:center;gap:8px;width:fit-content;min-height:34px;color:var(--neutral-purewhite);font-size:12px;font-weight:500;line-height:13px;letter-spacing:.72px;padding:4px 20px;border-radius:20px;background:var(--color-one-lighter);text-decoration:none}:host .info>a.disabled{pointer-events:none}:host .info>a cura-icon{display:flex;justify-content:center;align-items:center;width:20px;height:20px;border:1.5px solid var(--neutral-purewhite);border-radius:50%}:host cura-button{position:relative;z-index:2;margin-top:30px}:host rdsite-image{position:absolute;z-index:1;bottom:0;right:40px;height:90%}:host rdsite-image ::ng-deep .rdsite-image{height:100%}:host rdsite-image ::ng-deep .rdsite-image img{height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: ImageComponent, selector: "rdsite-image", inputs: ["imageWebpSrc", "imageDefaultSrc", "imageSizes", "mimeType", "alt", "title", "loading"], outputs: ["imageDefaultSrcChange", "mimeTypeChange"] }, { kind: "component", type: CuraHeadingComponent, selector: "cura-heading", inputs: ["level", "size", "weight", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraParagraphComponent, selector: "cura-paragraph", inputs: ["size", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraButtonComponent, selector: "cura-button", inputs: ["type", "size", "disabled", "isLoading", "iconName", "iconset", "iconPosition", "iconOnly", "href", "target", "color", "background", "fontColor", "textAlign", "justify", "ariaLabel"], outputs: ["buttonClick"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ContentBannerComponent, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ContentBannerComponent, decorators: [{
32
32
  type: Component,
33
33
  args: [{ selector: 'rdsite-content-banner', imports: [CommonModule, RdsiteLinkDirective, ImageComponent, CuraHeadingComponent, CuraParagraphComponent, CuraButtonComponent, CuraIconComponent], template: "@if (content()?.title) {\n <cura-heading [level]=\"4\" weight=\"bold\" color=\"neutral-purewhite\" marginBlock=\"0\">\n {{ content()?.title }}\n </cura-heading>\n}\n\n@if (content()?.text) {\n <cura-paragraph color=\"neutral-purewhite\" marginBlock=\"0\">\n {{ content()?.text }}\n </cura-paragraph>\n}\n\n@if (content()?.info?.length) {\n <div class=\"info\" data-testid=\"_content-banner-info\">\n @for (item of content()?.info || []; track $index) {\n @if (item.text) {\n <a [ngClass]=\"{ disabled: !item.link }\" rdsitelink [href]=\"item.link || ''\">\n @if (item.icon) {\n <cura-icon [name]=\"item.icon\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\n }\n {{ item.text }}\n </a>\n }\n }\n </div>\n}\n\n@if (content()?.cta?.text && content()?.cta?.link) {\n <cura-button\n rdsitelink\n (click)=\"onCtaClick(content()?.cta?.text || '', content()?.cta?.link || '')\"\n size=\"large\"\n type=\"button\"\n color=\"accent\"\n [iconName]=\"content()?.cta?.icon || ''\"\n [href]=\"content()!.cta.link\"\n target=\"_self\"\n >\n {{ content()?.cta?.text }}\n </cura-button>\n}\n\n@if (content()?.image) {\n <rdsite-image\n [imageDefaultSrc]=\"content()?.image.url\"\n [imageWebpSrc]=\"content()?.image?.webp_url\"\n [title]=\"content()?.image.title\"\n [alt]=\"content()?.image.alt\"\n >\n </rdsite-image>\n}\n", styles: [":host{position:relative;z-index:0;display:block;width:100%;height:auto;padding:32px 56px 96px;margin-bottom:30px;border-radius:4px;background:linear-gradient(90deg,#004186 7.78%,#1163a1 40.08%,#2791c6 76.03%,#36b1df 95.14%)}:host cura-heading{position:relative;z-index:2;margin-bottom:8px}:host cura-paragraph{position:relative;z-index:2;margin-bottom:20px}:host .info{position:relative;z-index:2;display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:20px}:host .info>a{display:flex;justify-content:flex-start;align-items:center;gap:8px;width:fit-content;min-height:34px;color:var(--neutral-purewhite);font-size:12px;font-weight:500;line-height:13px;letter-spacing:.72px;padding:4px 20px;border-radius:20px;background:var(--color-one-lighter);text-decoration:none}:host .info>a.disabled{pointer-events:none}:host .info>a cura-icon{display:flex;justify-content:center;align-items:center;width:20px;height:20px;border:1.5px solid var(--neutral-purewhite);border-radius:50%}:host cura-button{position:relative;z-index:2;margin-top:30px}:host rdsite-image{position:absolute;z-index:1;bottom:0;right:40px;height:90%}:host rdsite-image ::ng-deep .rdsite-image{height:100%}:host rdsite-image ::ng-deep .rdsite-image img{height:100%}\n"] }]
34
34
  }], propDecorators: { content: [{ type: i0.Input, args: [{ isSignal: true, alias: "content", required: false }] }], ctaClick: [{ type: i0.Output, args: ["ctaClick"] }], styleBinding: [{
@@ -29,6 +29,7 @@ class BreadcrumbsComponent {
29
29
  this.labelIconColor = input('neutral-purewhite', ...(ngDevMode ? [{ debugName: "labelIconColor" }] : []));
30
30
  this.fontWeight = input('', ...(ngDevMode ? [{ debugName: "fontWeight" }] : []));
31
31
  this.breadcrumbs = input([], ...(ngDevMode ? [{ debugName: "breadcrumbs" }] : []));
32
+ this.mobileBackView = input(false, ...(ngDevMode ? [{ debugName: "mobileBackView" }] : []));
32
33
  this.isDesktop = signal(null, ...(ngDevMode ? [{ debugName: "isDesktop" }] : []));
33
34
  this.breadcrumbsJsonTagId = 'breadcrumbsJSON';
34
35
  this.breadCrumbsElement = viewChild.required('breadCrumbsElement');
@@ -100,13 +101,13 @@ class BreadcrumbsComponent {
100
101
  },
101
102
  }));
102
103
  }
103
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: BreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
104
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: BreadcrumbsComponent, isStandalone: true, selector: "rdsite-breadcrumbs", inputs: { labelIconColor: { classPropertyName: "labelIconColor", publicName: "labelIconColor", isSignal: true, isRequired: false, transformFunction: null }, fontWeight: { classPropertyName: "fontWeight", publicName: "fontWeight", isSignal: true, isRequired: false, transformFunction: null }, breadcrumbs: { classPropertyName: "breadcrumbs", publicName: "breadcrumbs", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style": "this.hostStyles" } }, viewQueries: [{ propertyName: "breadCrumbsElement", first: true, predicate: ["breadCrumbsElement"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (breadcrumbs().length) {\n <nav class=\"breadcrumb\" #breadCrumbsElement>\n <ol>\n @if (isDesktop() !== null && (isDesktop() || breadcrumbs().length < 3)) {\n <ng-container *ngTemplateOutlet=\"Desktop\"></ng-container>\n } @else if (isDesktop() !== null) {\n <ng-container *ngTemplateOutlet=\"Mobile\"></ng-container>\n }\n </ol>\n </nav>\n}\n\n<ng-template #Desktop>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (!last) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n @if (first) {\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n }\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else {\n <span [class.last-item]=\"last && !first\">\n {{ breadcrumb.label }}\n </span>\n }\n </li>\n }\n</ng-template>\n\n<ng-template #Mobile>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (first) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else if (index === breadcrumbs().length - 2) {\n <span class=\"back\"><</span>\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n }\n </li>\n }\n</ng-template>\n", styles: [".breadcrumb *{font-family:var(--font-family)}.breadcrumb ol{display:flex}.breadcrumb ol li{display:flex;gap:8px}.breadcrumb ol li a{color:var(--label-icon-color);display:flex;gap:4px;text-decoration:none}.breadcrumb ol li a span{text-decoration:underline;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.last-item{color:var(--disabled-color);text-decoration:none;pointer-events:none;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.divider,.breadcrumb ol li span.back{color:var(--divider-color);padding-right:8px;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.back{padding:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
104
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: BreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
105
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: BreadcrumbsComponent, isStandalone: true, selector: "rdsite-breadcrumbs", inputs: { labelIconColor: { classPropertyName: "labelIconColor", publicName: "labelIconColor", isSignal: true, isRequired: false, transformFunction: null }, fontWeight: { classPropertyName: "fontWeight", publicName: "fontWeight", isSignal: true, isRequired: false, transformFunction: null }, breadcrumbs: { classPropertyName: "breadcrumbs", publicName: "breadcrumbs", isSignal: true, isRequired: false, transformFunction: null }, mobileBackView: { classPropertyName: "mobileBackView", publicName: "mobileBackView", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style": "this.hostStyles" } }, viewQueries: [{ propertyName: "breadCrumbsElement", first: true, predicate: ["breadCrumbsElement"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (breadcrumbs().length) {\n <nav class=\"breadcrumb\" #breadCrumbsElement>\n <ol>\n @if (isDesktop() !== null && (isDesktop() || (!mobileBackView() && breadcrumbs().length < 3))) {\n <ng-container *ngTemplateOutlet=\"Desktop\"></ng-container>\n } @else if (isDesktop() !== null) {\n <ng-container *ngTemplateOutlet=\"Mobile\"></ng-container>\n }\n </ol>\n </nav>\n}\n\n<ng-template #Desktop>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (!last) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n @if (first) {\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n }\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else {\n <span [class.last-item]=\"last && !first\">\n {{ breadcrumb.label }}\n </span>\n }\n </li>\n }\n</ng-template>\n\n<ng-template #Mobile>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (breadcrumbs().length > 2 && first) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else if (index === breadcrumbs().length - 2) {\n <cura-icon name=\"arrowLeft\" [color]=\"labelIconColor()\" size=\"16\"></cura-icon>\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n }\n </li>\n }\n</ng-template>\n", styles: [".breadcrumb *{font-family:var(--font-family)}.breadcrumb ol{display:flex}.breadcrumb ol li{display:flex;gap:8px}.breadcrumb ol li a{color:var(--label-icon-color);display:flex;gap:4px;text-decoration:none}.breadcrumb ol li a span{text-decoration:underline;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.last-item{color:var(--disabled-color);text-decoration:none;pointer-events:none;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.divider,.breadcrumb ol li span.back{color:var(--divider-color);padding-right:8px;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.back{padding:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
105
106
  }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: BreadcrumbsComponent, decorators: [{
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: BreadcrumbsComponent, decorators: [{
107
108
  type: Component,
108
- args: [{ selector: 'rdsite-breadcrumbs', imports: [CommonModule, RdsiteLinkDirective, CuraIconComponent], template: "@if (breadcrumbs().length) {\n <nav class=\"breadcrumb\" #breadCrumbsElement>\n <ol>\n @if (isDesktop() !== null && (isDesktop() || breadcrumbs().length < 3)) {\n <ng-container *ngTemplateOutlet=\"Desktop\"></ng-container>\n } @else if (isDesktop() !== null) {\n <ng-container *ngTemplateOutlet=\"Mobile\"></ng-container>\n }\n </ol>\n </nav>\n}\n\n<ng-template #Desktop>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (!last) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n @if (first) {\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n }\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else {\n <span [class.last-item]=\"last && !first\">\n {{ breadcrumb.label }}\n </span>\n }\n </li>\n }\n</ng-template>\n\n<ng-template #Mobile>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (first) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else if (index === breadcrumbs().length - 2) {\n <span class=\"back\"><</span>\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n }\n </li>\n }\n</ng-template>\n", styles: [".breadcrumb *{font-family:var(--font-family)}.breadcrumb ol{display:flex}.breadcrumb ol li{display:flex;gap:8px}.breadcrumb ol li a{color:var(--label-icon-color);display:flex;gap:4px;text-decoration:none}.breadcrumb ol li a span{text-decoration:underline;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.last-item{color:var(--disabled-color);text-decoration:none;pointer-events:none;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.divider,.breadcrumb ol li span.back{color:var(--divider-color);padding-right:8px;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.back{padding:0}\n"] }]
109
- }], ctorParameters: () => [], propDecorators: { labelIconColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelIconColor", required: false }] }], fontWeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "fontWeight", required: false }] }], breadcrumbs: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadcrumbs", required: false }] }], breadCrumbsElement: [{ type: i0.ViewChild, args: ['breadCrumbsElement', { isSignal: true }] }], hostStyles: [{
109
+ args: [{ selector: 'rdsite-breadcrumbs', imports: [CommonModule, RdsiteLinkDirective, CuraIconComponent], template: "@if (breadcrumbs().length) {\n <nav class=\"breadcrumb\" #breadCrumbsElement>\n <ol>\n @if (isDesktop() !== null && (isDesktop() || (!mobileBackView() && breadcrumbs().length < 3))) {\n <ng-container *ngTemplateOutlet=\"Desktop\"></ng-container>\n } @else if (isDesktop() !== null) {\n <ng-container *ngTemplateOutlet=\"Mobile\"></ng-container>\n }\n </ol>\n </nav>\n}\n\n<ng-template #Desktop>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (!last) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n @if (first) {\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n }\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else {\n <span [class.last-item]=\"last && !first\">\n {{ breadcrumb.label }}\n </span>\n }\n </li>\n }\n</ng-template>\n\n<ng-template #Mobile>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (breadcrumbs().length > 2 && first) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else if (index === breadcrumbs().length - 2) {\n <cura-icon name=\"arrowLeft\" [color]=\"labelIconColor()\" size=\"16\"></cura-icon>\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n }\n </li>\n }\n</ng-template>\n", styles: [".breadcrumb *{font-family:var(--font-family)}.breadcrumb ol{display:flex}.breadcrumb ol li{display:flex;gap:8px}.breadcrumb ol li a{color:var(--label-icon-color);display:flex;gap:4px;text-decoration:none}.breadcrumb ol li a span{text-decoration:underline;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.last-item{color:var(--disabled-color);text-decoration:none;pointer-events:none;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.divider,.breadcrumb ol li span.back{color:var(--divider-color);padding-right:8px;font-size:12px;font-weight:var(--font-weight, 500);line-height:16px;letter-spacing:.72px}.breadcrumb ol li span.back{padding:0}\n"] }]
110
+ }], ctorParameters: () => [], propDecorators: { labelIconColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelIconColor", required: false }] }], fontWeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "fontWeight", required: false }] }], breadcrumbs: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadcrumbs", required: false }] }], mobileBackView: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileBackView", required: false }] }], breadCrumbsElement: [{ type: i0.ViewChild, args: ['breadCrumbsElement', { isSignal: true }] }], hostStyles: [{
110
111
  type: HostBinding,
111
112
  args: ['style']
112
113
  }] } });
@@ -1 +1 @@
1
- {"version":3,"file":"rededor-site-front-end-lib-components-breadcrumbs.mjs","sources":["../../../projects/site-front-end-lib/components/breadcrumbs/breadcrumbs.component.ts","../../../projects/site-front-end-lib/components/breadcrumbs/breadcrumbs.component.html","../../../projects/site-front-end-lib/components/breadcrumbs/rededor-site-front-end-lib-components-breadcrumbs.ts"],"sourcesContent":["import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ElementRef,\n OnDestroy,\n PLATFORM_ID,\n DOCUMENT,\n HostBinding,\n input,\n viewChild,\n inject,\n signal,\n effect,\n} from '@angular/core';\nimport { CommonModule, isPlatformBrowser } from '@angular/common';\nimport * as he from 'he';\nimport { BreadcrumbsItems, RdsiteLinkDirective, BreadcrumbsJsonItem, LIB_CONFIG, LibConfig } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { MediaQueries } from '@rededor/site-front-end-lib/shared';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\n\n@Component({\n selector: 'rdsite-breadcrumbs',\n imports: [CommonModule, RdsiteLinkDirective, CuraIconComponent],\n templateUrl: './breadcrumbs.component.html',\n styleUrl: './breadcrumbs.component.scss',\n})\nexport class BreadcrumbsComponent implements AfterViewInit, OnDestroy {\n private curaApiService = inject(CuraApiService);\n private libConfig = inject<LibConfig>(LIB_CONFIG);\n private document = inject<Document>(DOCUMENT);\n private cdr: ChangeDetectorRef = inject(ChangeDetectorRef);\n private readonly platformId = inject(PLATFORM_ID);\n\n readonly labelIconColor = input<string>('neutral-purewhite');\n readonly fontWeight = input<string>('');\n readonly breadcrumbs = input<BreadcrumbsItems[]>([]);\n\n readonly isDesktop = signal<boolean | null>(null);\n\n private breadcrumbsJsonTag!: HTMLScriptElement;\n private readonly breadcrumbsJsonTagId = 'breadcrumbsJSON';\n private resizeObserver!: ResizeObserver;\n\n readonly breadCrumbsElement = viewChild.required<ElementRef<HTMLDivElement>>('breadCrumbsElement');\n\n @HostBinding('style') get hostStyles() {\n const color = this.labelIconColor();\n const disabledColor = color?.includes('neutral') ? 'primary-lighter' : 'neutral-dark';\n\n return {\n '--font-family': this.curaApiService.theme.fonts.getFamily(''),\n '--label-icon-color': this.curaApiService.theme.colors.getColor(color),\n '--divider-color': this.curaApiService.theme.colors.getColor('neutral-light'),\n '--disabled-color': this.curaApiService.theme.colors.getColor(disabledColor),\n '--font-weight': this.fontWeight() || null,\n };\n }\n\n constructor() {\n effect(() => {\n if (this.breadcrumbs().length) {\n this.setBreadcrumbsJson(this.breadcrumbs());\n }\n });\n }\n\n ngAfterViewInit(): void {\n this.initViewportDetection();\n }\n\n ngOnDestroy(): void {\n this.resizeObserver?.disconnect();\n }\n\n private initViewportDetection(): void {\n if (!isPlatformBrowser(this.platformId)) {\n this.isDesktop.set(true);\n return;\n }\n\n this.checkViewportSize();\n this.setupResizeObserver();\n }\n\n private setupResizeObserver(): void {\n this.resizeObserver = new ResizeObserver(() => {\n this.checkViewportSize();\n });\n\n this.resizeObserver.observe(document.body);\n }\n\n private checkViewportSize(): void {\n if (!isPlatformBrowser(this.platformId)) return;\n const newValue = window.innerWidth > MediaQueries.smallBreakpoint;\n if (this.isDesktop() !== newValue) {\n this.isDesktop.set(newValue);\n this.cdr.detectChanges();\n }\n }\n\n getUrl(urls: string[] = []): string {\n return urls.join('');\n }\n\n private setBreadcrumbsJson(items: BreadcrumbsItems[]): void {\n this.breadcrumbsJsonTag = this.getBreadcrumbsJSONTag();\n const json = {\n '@context': 'http://schema.org',\n '@type': 'BreadcrumbList',\n itemListElement: this.getJsonBreadcrumbItems(items),\n };\n this.breadcrumbsJsonTag.innerHTML = JSON.stringify(json);\n }\n\n private getBreadcrumbsJSONTag(): HTMLScriptElement {\n const existingTag = this.document.getElementById(this.breadcrumbsJsonTagId) as HTMLScriptElement;\n return existingTag || this.createBreadcrumbsJSONTag();\n }\n\n private createBreadcrumbsJSONTag(): HTMLScriptElement {\n const tag = this.document.createElement('script');\n tag.id = this.breadcrumbsJsonTagId;\n tag.type = 'application/ld+json';\n this.document.head.appendChild(tag);\n return tag;\n }\n\n private getJsonBreadcrumbItems(items: BreadcrumbsItems[]): BreadcrumbsJsonItem[] {\n return items.map((item, i) => ({\n '@type': 'ListItem',\n position: i + 1,\n item: {\n '@id': `${this.libConfig.siteUrl.replace(/\\/$/, '')}${this.getUrl(item.url)}`,\n name: he.encode(item.label),\n },\n }));\n }\n}\n","@if (breadcrumbs().length) {\n <nav class=\"breadcrumb\" #breadCrumbsElement>\n <ol>\n @if (isDesktop() !== null && (isDesktop() || breadcrumbs().length < 3)) {\n <ng-container *ngTemplateOutlet=\"Desktop\"></ng-container>\n } @else if (isDesktop() !== null) {\n <ng-container *ngTemplateOutlet=\"Mobile\"></ng-container>\n }\n </ol>\n </nav>\n}\n\n<ng-template #Desktop>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (!last) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n @if (first) {\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n }\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else {\n <span [class.last-item]=\"last && !first\">\n {{ breadcrumb.label }}\n </span>\n }\n </li>\n }\n</ng-template>\n\n<ng-template #Mobile>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (first) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else if (index === breadcrumbs().length - 2) {\n <span class=\"back\"><</span>\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n }\n </li>\n }\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"rededor-site-front-end-lib-components-breadcrumbs.mjs","sources":["../../../projects/site-front-end-lib/components/breadcrumbs/breadcrumbs.component.ts","../../../projects/site-front-end-lib/components/breadcrumbs/breadcrumbs.component.html","../../../projects/site-front-end-lib/components/breadcrumbs/rededor-site-front-end-lib-components-breadcrumbs.ts"],"sourcesContent":["import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ElementRef,\n OnDestroy,\n PLATFORM_ID,\n DOCUMENT,\n HostBinding,\n input,\n viewChild,\n inject,\n signal,\n effect,\n} from '@angular/core';\nimport { CommonModule, isPlatformBrowser } from '@angular/common';\nimport * as he from 'he';\nimport { BreadcrumbsItems, RdsiteLinkDirective, BreadcrumbsJsonItem, LIB_CONFIG, LibConfig } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { MediaQueries } from '@rededor/site-front-end-lib/shared';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\n\n@Component({\n selector: 'rdsite-breadcrumbs',\n imports: [CommonModule, RdsiteLinkDirective, CuraIconComponent],\n templateUrl: './breadcrumbs.component.html',\n styleUrl: './breadcrumbs.component.scss',\n})\nexport class BreadcrumbsComponent implements AfterViewInit, OnDestroy {\n private curaApiService = inject(CuraApiService);\n private libConfig = inject<LibConfig>(LIB_CONFIG);\n private document = inject<Document>(DOCUMENT);\n private cdr: ChangeDetectorRef = inject(ChangeDetectorRef);\n private readonly platformId = inject(PLATFORM_ID);\n\n readonly labelIconColor = input<string>('neutral-purewhite');\n readonly fontWeight = input<string>('');\n readonly breadcrumbs = input<BreadcrumbsItems[]>([]);\n readonly mobileBackView = input<boolean>(false);\n\n readonly isDesktop = signal<boolean | null>(null);\n\n private breadcrumbsJsonTag!: HTMLScriptElement;\n private readonly breadcrumbsJsonTagId = 'breadcrumbsJSON';\n private resizeObserver!: ResizeObserver;\n\n readonly breadCrumbsElement = viewChild.required<ElementRef<HTMLDivElement>>('breadCrumbsElement');\n\n @HostBinding('style') get hostStyles() {\n const color = this.labelIconColor();\n const disabledColor = color?.includes('neutral') ? 'primary-lighter' : 'neutral-dark';\n\n return {\n '--font-family': this.curaApiService.theme.fonts.getFamily(''),\n '--label-icon-color': this.curaApiService.theme.colors.getColor(color),\n '--divider-color': this.curaApiService.theme.colors.getColor('neutral-light'),\n '--disabled-color': this.curaApiService.theme.colors.getColor(disabledColor),\n '--font-weight': this.fontWeight() || null,\n };\n }\n\n constructor() {\n effect(() => {\n if (this.breadcrumbs().length) {\n this.setBreadcrumbsJson(this.breadcrumbs());\n }\n });\n }\n\n ngAfterViewInit(): void {\n this.initViewportDetection();\n }\n\n ngOnDestroy(): void {\n this.resizeObserver?.disconnect();\n }\n\n private initViewportDetection(): void {\n if (!isPlatformBrowser(this.platformId)) {\n this.isDesktop.set(true);\n return;\n }\n\n this.checkViewportSize();\n this.setupResizeObserver();\n }\n\n private setupResizeObserver(): void {\n this.resizeObserver = new ResizeObserver(() => {\n this.checkViewportSize();\n });\n\n this.resizeObserver.observe(document.body);\n }\n\n private checkViewportSize(): void {\n if (!isPlatformBrowser(this.platformId)) return;\n const newValue = window.innerWidth > MediaQueries.smallBreakpoint;\n if (this.isDesktop() !== newValue) {\n this.isDesktop.set(newValue);\n this.cdr.detectChanges();\n }\n }\n\n getUrl(urls: string[] = []): string {\n return urls.join('');\n }\n\n private setBreadcrumbsJson(items: BreadcrumbsItems[]): void {\n this.breadcrumbsJsonTag = this.getBreadcrumbsJSONTag();\n const json = {\n '@context': 'http://schema.org',\n '@type': 'BreadcrumbList',\n itemListElement: this.getJsonBreadcrumbItems(items),\n };\n this.breadcrumbsJsonTag.innerHTML = JSON.stringify(json);\n }\n\n private getBreadcrumbsJSONTag(): HTMLScriptElement {\n const existingTag = this.document.getElementById(this.breadcrumbsJsonTagId) as HTMLScriptElement;\n return existingTag || this.createBreadcrumbsJSONTag();\n }\n\n private createBreadcrumbsJSONTag(): HTMLScriptElement {\n const tag = this.document.createElement('script');\n tag.id = this.breadcrumbsJsonTagId;\n tag.type = 'application/ld+json';\n this.document.head.appendChild(tag);\n return tag;\n }\n\n private getJsonBreadcrumbItems(items: BreadcrumbsItems[]): BreadcrumbsJsonItem[] {\n return items.map((item, i) => ({\n '@type': 'ListItem',\n position: i + 1,\n item: {\n '@id': `${this.libConfig.siteUrl.replace(/\\/$/, '')}${this.getUrl(item.url)}`,\n name: he.encode(item.label),\n },\n }));\n }\n}\n","@if (breadcrumbs().length) {\n <nav class=\"breadcrumb\" #breadCrumbsElement>\n <ol>\n @if (isDesktop() !== null && (isDesktop() || (!mobileBackView() && breadcrumbs().length < 3))) {\n <ng-container *ngTemplateOutlet=\"Desktop\"></ng-container>\n } @else if (isDesktop() !== null) {\n <ng-container *ngTemplateOutlet=\"Mobile\"></ng-container>\n }\n </ol>\n </nav>\n}\n\n<ng-template #Desktop>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (!last) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n @if (first) {\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n }\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else {\n <span [class.last-item]=\"last && !first\">\n {{ breadcrumb.label }}\n </span>\n }\n </li>\n }\n</ng-template>\n\n<ng-template #Mobile>\n @for (breadcrumb of breadcrumbs(); track breadcrumb.label; let first = $first; let last = $last; let index = $index) {\n <li>\n @if (breadcrumbs().length > 2 && first) {\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <cura-icon name=\"home\" [color]=\"labelIconColor()\" size=\"16\"> </cura-icon>\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n <span class=\"divider\">/</span>\n } @else if (index === breadcrumbs().length - 2) {\n <cura-icon name=\"arrowLeft\" [color]=\"labelIconColor()\" size=\"16\"></cura-icon>\n <a rdsitelink [href]=\"getUrl(breadcrumb.url)\">\n <span>\n {{ breadcrumb.label }}\n </span>\n </a>\n }\n </li>\n }\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}