@rededor/site-front-end-lib 20.0.12 → 20.0.13

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 (143) hide show
  1. package/README.md +124 -124
  2. package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs +4 -4
  3. package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs.map +1 -1
  4. package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +20 -20
  5. package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +1 -1
  6. package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +4 -4
  7. package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +1 -1
  8. package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +4 -4
  9. package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -1
  10. package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +12 -12
  11. package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +1 -1
  12. package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +4 -4
  13. package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs.map +1 -1
  14. package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +4 -4
  15. package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs.map +1 -1
  16. package/fesm2022/rededor-site-front-end-lib-components-error.mjs +4 -4
  17. package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +1 -1
  18. package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs +4 -4
  19. package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs.map +1 -1
  20. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +4 -4
  21. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -1
  22. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +4 -4
  23. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +1 -1
  24. package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +4 -4
  25. package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +1 -1
  26. package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +4 -4
  27. package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs.map +1 -1
  28. package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +8 -8
  29. package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs.map +1 -1
  30. package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +8 -8
  31. package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs.map +1 -1
  32. package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +8 -8
  33. package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +1 -1
  34. package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs +3 -3
  35. package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs.map +1 -1
  36. package/fesm2022/rededor-site-front-end-lib-components-header.mjs +8 -8
  37. package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +1 -1
  38. package/fesm2022/rededor-site-front-end-lib-components-image.mjs +4 -4
  39. package/fesm2022/rededor-site-front-end-lib-components-image.mjs.map +1 -1
  40. package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +4 -4
  41. package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs.map +1 -1
  42. package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +4 -4
  43. package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -1
  44. package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +4 -4
  45. package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -1
  46. package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs +4 -4
  47. package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs.map +1 -1
  48. package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +4 -4
  49. package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +1 -1
  50. package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs +4 -4
  51. package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs.map +1 -1
  52. package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs +4 -4
  53. package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs.map +1 -1
  54. package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +4 -4
  55. package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs.map +1 -1
  56. package/fesm2022/rededor-site-front-end-lib-components-search.mjs +4 -4
  57. package/fesm2022/rededor-site-front-end-lib-components-search.mjs.map +1 -1
  58. package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +4 -4
  59. package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs.map +1 -1
  60. package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs +20 -20
  61. package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs.map +1 -1
  62. package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +4 -4
  63. package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs.map +1 -1
  64. package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +4 -4
  65. package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +1 -1
  66. package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +4 -4
  67. package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs.map +1 -1
  68. package/fesm2022/rededor-site-front-end-lib-core.mjs +54 -54
  69. package/fesm2022/rededor-site-front-end-lib-core.mjs.map +1 -1
  70. package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs +8 -8
  71. package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs.map +1 -1
  72. package/fesm2022/rededor-site-front-end-lib-cura-api.mjs +128 -26
  73. package/fesm2022/rededor-site-front-end-lib-cura-api.mjs.map +1 -1
  74. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs +4 -4
  75. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs.map +1 -1
  76. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs +4 -4
  77. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs.map +1 -1
  78. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs +4 -4
  79. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs.map +1 -1
  80. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs +4 -4
  81. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs.map +1 -1
  82. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +4 -4
  83. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs.map +1 -1
  84. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +4 -4
  85. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs.map +1 -1
  86. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +4 -4
  87. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs.map +1 -1
  88. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +4 -4
  89. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs.map +1 -1
  90. package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs.map +1 -1
  91. package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +4 -4
  92. package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs.map +1 -1
  93. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs +4 -4
  94. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs.map +1 -1
  95. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs +4 -4
  96. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs.map +1 -1
  97. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs +4 -4
  98. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs.map +1 -1
  99. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs +5 -5
  100. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs.map +1 -1
  101. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs +5 -5
  102. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs.map +1 -1
  103. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs +4 -4
  104. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs.map +1 -1
  105. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs +5 -5
  106. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs.map +1 -1
  107. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs +4 -4
  108. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs.map +1 -1
  109. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +5 -5
  110. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +1 -1
  111. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs +5 -5
  112. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs.map +1 -1
  113. package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs.map +1 -1
  114. package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs +4 -4
  115. package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs.map +1 -1
  116. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs +4 -4
  117. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs.map +1 -1
  118. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs +4 -4
  119. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs.map +1 -1
  120. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs +4 -4
  121. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs.map +1 -1
  122. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs +4 -4
  123. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs.map +1 -1
  124. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs +4 -4
  125. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs.map +1 -1
  126. package/fesm2022/rededor-site-front-end-lib-enums.mjs.map +1 -1
  127. package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs +3 -3
  128. package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs.map +1 -1
  129. package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs +3 -3
  130. package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs.map +1 -1
  131. package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs +3 -3
  132. package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs.map +1 -1
  133. package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs +3 -3
  134. package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs.map +1 -1
  135. package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs +3 -3
  136. package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs.map +1 -1
  137. package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs +3 -3
  138. package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs.map +1 -1
  139. package/fesm2022/rededor-site-front-end-lib-shared.mjs +6 -6
  140. package/fesm2022/rededor-site-front-end-lib-shared.mjs.map +1 -1
  141. package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
  142. package/package.json +1 -1
  143. package/styles/_breakpoints.scss +5 -5
@@ -57,14 +57,14 @@ class CuraAccordionItemComponent {
57
57
  // Emitir evento customizado para o MutationObserver do parent
58
58
  this.elementRef.nativeElement.setAttribute('opened', this.opened().toString());
59
59
  }
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraAccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: CuraAccordionItemComponent, isStandalone: true, selector: "cura-accordion-item", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.opened": "opened().toString()" } }, ngImport: i0, template: "<div [ngClass]=\"containerClasses()\">\r\n <div class=\"label\" (click)=\"accordionItemClick($event)\">\r\n <div class=\"label-container\">\r\n <div class=\"label-content\">\r\n @if (labelIcon()) {\r\n <cura-icon [name]=\"labelIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\r\n }\r\n <cura-heading size=\"small\" [level]=\"level()\" weight=\"bold\" marginBlock=\"0\" color=\"neutral-black\">\r\n {{ label() }}\r\n </cura-heading>\r\n </div>\r\n <cura-icon [name]=\"currentIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\r\n </div>\r\n </div>\r\n <div class=\"content\">\r\n <div class=\"content-wrapper\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [":host{display:block}:host .accordion-item{width:100%}:host .accordion-item:after{content:\"\";display:block;border-top:solid 1px var(--neutral-base);width:100%}:host .accordion-item:hover:not(.active):after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover);width:100%}:host .accordion-item .label{display:flex;flex-direction:column}:host .accordion-item .label .label-container{display:flex;flex-grow:1;justify-content:space-between;align-items:center;gap:calc(var(--cura-spacing-base) * 3px);padding:calc(var(--cura-spacing-base) * 3px);word-break:break-word;cursor:pointer;font-size:1.14em;font-weight:var(--font-weight-regular)}:host .accordion-item .label .label-container .label-content{display:flex;justify-content:center;align-items:center;gap:calc(var(--cura-spacing-base) * 3px)}:host .accordion-item .label .label-container .label-content cura-icon{--color: var(--acc-color) !important}:host .accordion-item .label .label-container .label-content cura-heading{--color-body: var(--acc-color) !important}:host .accordion-item .label .label-container cura-icon{--color: var(--acc-color-icon) !important;margin-right:4px}:host .accordion-item .label .label-container:hover cura-heading{--color-body: var(--acc-color-hover) !important}:host .accordion-item .label .label-container:hover cura-icon{--color: var(--acc-color-icon-hover) !important}:host .accordion-item .content{font-size:1em;overflow:hidden;max-height:0;transition:max-height .25s ease}:host .accordion-item .content .content-wrapper{padding:calc(var(--cura-spacing-base) * 3px)}:host .accordion-item.inverted:hover:not(.active):after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover-inverted);width:100%}:host .accordion-item.inverted .label .label-container cura-heading{--color-body: var(--acc-color-inverted) !important}:host .accordion-item.inverted .label .label-container cura-icon{--color: var(--acc-color-icon-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-heading{--color-body: var(--acc-color-hover-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-icon{--color: var(--acc-color-icon-hover-inverted) !important}:host .accordion-item.active .content{max-height:200vh;overflow-y:auto;transition:max-height .5s ease .14s}@media (min-width: 769px) and (max-width: 992px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}@media (min-width: 993px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}\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: CuraHeadingComponent, selector: "cura-heading", inputs: ["level", "size", "weight", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }] }); }
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraAccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
61
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: CuraAccordionItemComponent, isStandalone: true, selector: "cura-accordion-item", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.opened": "opened().toString()" } }, ngImport: i0, template: "<div [ngClass]=\"containerClasses()\">\n <div class=\"label\" (click)=\"accordionItemClick($event)\">\n <div class=\"label-container\">\n <div class=\"label-content\">\n @if (labelIcon()) {\n <cura-icon [name]=\"labelIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\n }\n <cura-heading size=\"small\" [level]=\"level()\" weight=\"bold\" marginBlock=\"0\" color=\"neutral-black\">\n {{ label() }}\n </cura-heading>\n </div>\n <cura-icon [name]=\"currentIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\n </div>\n </div>\n <div class=\"content\">\n <div class=\"content-wrapper\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}:host .accordion-item{width:100%}:host .accordion-item:after{content:\"\";display:block;border-top:solid 1px var(--neutral-base);width:100%}:host .accordion-item:hover:not(.active):after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover);width:100%}:host .accordion-item .label{display:flex;flex-direction:column}:host .accordion-item .label .label-container{display:flex;flex-grow:1;justify-content:space-between;align-items:center;gap:calc(var(--cura-spacing-base) * 3px);padding:calc(var(--cura-spacing-base) * 3px);word-break:break-word;cursor:pointer;font-size:1.14em;font-weight:var(--font-weight-regular)}:host .accordion-item .label .label-container .label-content{display:flex;justify-content:center;align-items:center;gap:calc(var(--cura-spacing-base) * 3px)}:host .accordion-item .label .label-container .label-content cura-icon{--color: var(--acc-color) !important}:host .accordion-item .label .label-container .label-content cura-heading{--color-body: var(--acc-color) !important}:host .accordion-item .label .label-container cura-icon{--color: var(--acc-color-icon) !important;margin-right:4px}:host .accordion-item .label .label-container:hover cura-heading{--color-body: var(--acc-color-hover) !important}:host .accordion-item .label .label-container:hover cura-icon{--color: var(--acc-color-icon-hover) !important}:host .accordion-item .content{font-size:1em;overflow:hidden;max-height:0;transition:max-height .25s ease}:host .accordion-item .content .content-wrapper{padding:calc(var(--cura-spacing-base) * 3px)}:host .accordion-item.inverted:hover:not(.active):after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover-inverted);width:100%}:host .accordion-item.inverted .label .label-container cura-heading{--color-body: var(--acc-color-inverted) !important}:host .accordion-item.inverted .label .label-container cura-icon{--color: var(--acc-color-icon-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-heading{--color-body: var(--acc-color-hover-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-icon{--color: var(--acc-color-icon-hover-inverted) !important}:host .accordion-item.active .content{max-height:200vh;overflow-y:auto;transition:max-height .5s ease .14s}@media (min-width: 769px) and (max-width: 992px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}@media (min-width: 993px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}\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: CuraHeadingComponent, selector: "cura-heading", inputs: ["level", "size", "weight", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }] }); }
62
62
  }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraAccordionItemComponent, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraAccordionItemComponent, decorators: [{
64
64
  type: Component,
65
65
  args: [{ selector: 'cura-accordion-item', imports: [CommonModule, CuraIconComponent, CuraHeadingComponent], host: {
66
66
  '[attr.opened]': 'opened().toString()',
67
- }, template: "<div [ngClass]=\"containerClasses()\">\r\n <div class=\"label\" (click)=\"accordionItemClick($event)\">\r\n <div class=\"label-container\">\r\n <div class=\"label-content\">\r\n @if (labelIcon()) {\r\n <cura-icon [name]=\"labelIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\r\n }\r\n <cura-heading size=\"small\" [level]=\"level()\" weight=\"bold\" marginBlock=\"0\" color=\"neutral-black\">\r\n {{ label() }}\r\n </cura-heading>\r\n </div>\r\n <cura-icon [name]=\"currentIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\r\n </div>\r\n </div>\r\n <div class=\"content\">\r\n <div class=\"content-wrapper\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [":host{display:block}:host .accordion-item{width:100%}:host .accordion-item:after{content:\"\";display:block;border-top:solid 1px var(--neutral-base);width:100%}:host .accordion-item:hover:not(.active):after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover);width:100%}:host .accordion-item .label{display:flex;flex-direction:column}:host .accordion-item .label .label-container{display:flex;flex-grow:1;justify-content:space-between;align-items:center;gap:calc(var(--cura-spacing-base) * 3px);padding:calc(var(--cura-spacing-base) * 3px);word-break:break-word;cursor:pointer;font-size:1.14em;font-weight:var(--font-weight-regular)}:host .accordion-item .label .label-container .label-content{display:flex;justify-content:center;align-items:center;gap:calc(var(--cura-spacing-base) * 3px)}:host .accordion-item .label .label-container .label-content cura-icon{--color: var(--acc-color) !important}:host .accordion-item .label .label-container .label-content cura-heading{--color-body: var(--acc-color) !important}:host .accordion-item .label .label-container cura-icon{--color: var(--acc-color-icon) !important;margin-right:4px}:host .accordion-item .label .label-container:hover cura-heading{--color-body: var(--acc-color-hover) !important}:host .accordion-item .label .label-container:hover cura-icon{--color: var(--acc-color-icon-hover) !important}:host .accordion-item .content{font-size:1em;overflow:hidden;max-height:0;transition:max-height .25s ease}:host .accordion-item .content .content-wrapper{padding:calc(var(--cura-spacing-base) * 3px)}:host .accordion-item.inverted:hover:not(.active):after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover-inverted);width:100%}:host .accordion-item.inverted .label .label-container cura-heading{--color-body: var(--acc-color-inverted) !important}:host .accordion-item.inverted .label .label-container cura-icon{--color: var(--acc-color-icon-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-heading{--color-body: var(--acc-color-hover-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-icon{--color: var(--acc-color-icon-hover-inverted) !important}:host .accordion-item.active .content{max-height:200vh;overflow-y:auto;transition:max-height .5s ease .14s}@media (min-width: 769px) and (max-width: 992px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}@media (min-width: 993px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}\n"] }]
67
+ }, template: "<div [ngClass]=\"containerClasses()\">\n <div class=\"label\" (click)=\"accordionItemClick($event)\">\n <div class=\"label-container\">\n <div class=\"label-content\">\n @if (labelIcon()) {\n <cura-icon [name]=\"labelIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\n }\n <cura-heading size=\"small\" [level]=\"level()\" weight=\"bold\" marginBlock=\"0\" color=\"neutral-black\">\n {{ label() }}\n </cura-heading>\n </div>\n <cura-icon [name]=\"currentIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\n </div>\n </div>\n <div class=\"content\">\n <div class=\"content-wrapper\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}:host .accordion-item{width:100%}:host .accordion-item:after{content:\"\";display:block;border-top:solid 1px var(--neutral-base);width:100%}:host .accordion-item:hover:not(.active):after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover);width:100%}:host .accordion-item .label{display:flex;flex-direction:column}:host .accordion-item .label .label-container{display:flex;flex-grow:1;justify-content:space-between;align-items:center;gap:calc(var(--cura-spacing-base) * 3px);padding:calc(var(--cura-spacing-base) * 3px);word-break:break-word;cursor:pointer;font-size:1.14em;font-weight:var(--font-weight-regular)}:host .accordion-item .label .label-container .label-content{display:flex;justify-content:center;align-items:center;gap:calc(var(--cura-spacing-base) * 3px)}:host .accordion-item .label .label-container .label-content cura-icon{--color: var(--acc-color) !important}:host .accordion-item .label .label-container .label-content cura-heading{--color-body: var(--acc-color) !important}:host .accordion-item .label .label-container cura-icon{--color: var(--acc-color-icon) !important;margin-right:4px}:host .accordion-item .label .label-container:hover cura-heading{--color-body: var(--acc-color-hover) !important}:host .accordion-item .label .label-container:hover cura-icon{--color: var(--acc-color-icon-hover) !important}:host .accordion-item .content{font-size:1em;overflow:hidden;max-height:0;transition:max-height .25s ease}:host .accordion-item .content .content-wrapper{padding:calc(var(--cura-spacing-base) * 3px)}:host .accordion-item.inverted:hover:not(.active):after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover-inverted);width:100%}:host .accordion-item.inverted .label .label-container cura-heading{--color-body: var(--acc-color-inverted) !important}:host .accordion-item.inverted .label .label-container cura-icon{--color: var(--acc-color-icon-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-heading{--color-body: var(--acc-color-hover-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-icon{--color: var(--acc-color-icon-hover-inverted) !important}:host .accordion-item.active .content{max-height:200vh;overflow-y:auto;transition:max-height .5s ease .14s}@media (min-width: 769px) and (max-width: 992px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}@media (min-width: 993px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}\n"] }]
68
68
  }], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }] } });
69
69
 
70
70
  class CuraAccordionComponent {
@@ -221,10 +221,10 @@ class CuraAccordionComponent {
221
221
  item.closeIcon.set(config.closeIcon);
222
222
  item.level.set(config.level);
223
223
  }
224
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
225
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.15", type: CuraAccordionComponent, isStandalone: true, selector: "cura-accordion", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, colorMode: { classPropertyName: "colorMode", publicName: "colorMode", isSignal: true, isRequired: false, transformFunction: null }, iconSize: { classPropertyName: "iconSize", publicName: "iconSize", isSignal: true, isRequired: false, transformFunction: null }, labelIcon: { classPropertyName: "labelIcon", publicName: "labelIcon", isSignal: true, isRequired: false, transformFunction: null }, openIcon: { classPropertyName: "openIcon", publicName: "openIcon", isSignal: true, isRequired: false, transformFunction: null }, closeIcon: { classPropertyName: "closeIcon", publicName: "closeIcon", isSignal: true, isRequired: false, transformFunction: null }, iconColor: { classPropertyName: "iconColor", publicName: "iconColor", isSignal: true, isRequired: false, transformFunction: null }, behavior: { classPropertyName: "behavior", publicName: "behavior", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--base-spacing": "baseSpacing()", "style.--neutral-base": "neutralBase()", "style.--font-size": "fontSize()", "style.--font-color": "fontColor()", "style.--font-family": "fontFamily()", "style.--font-weight-regular": "weights().regular", "style.--acc-color": "accordionColors().accColor", "style.--acc-color-hover": "accordionColors().accColorHover", "style.--acc-color-icon": "accordionColors().accColorIcon", "style.--acc-color-icon-hover": "accordionColors().accColorIconHover", "style.--acc-color-inverted": "accordionColors().accColorInverted", "style.--acc-color-hover-inverted": "accordionColors().accColorHoverInverted", "style.--acc-color-icon-inverted": "accordionColors().accColorIconInverted", "style.--acc-color-icon-hover-inverted": "accordionColors().accColorIconHoverInverted" } }, queries: [{ propertyName: "accordionItems", predicate: CuraAccordionItemComponent, isSignal: true }], ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [":host{display:block;color:var(--font-color);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}\n"] }); }
224
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
225
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.16", type: CuraAccordionComponent, isStandalone: true, selector: "cura-accordion", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, colorMode: { classPropertyName: "colorMode", publicName: "colorMode", isSignal: true, isRequired: false, transformFunction: null }, iconSize: { classPropertyName: "iconSize", publicName: "iconSize", isSignal: true, isRequired: false, transformFunction: null }, labelIcon: { classPropertyName: "labelIcon", publicName: "labelIcon", isSignal: true, isRequired: false, transformFunction: null }, openIcon: { classPropertyName: "openIcon", publicName: "openIcon", isSignal: true, isRequired: false, transformFunction: null }, closeIcon: { classPropertyName: "closeIcon", publicName: "closeIcon", isSignal: true, isRequired: false, transformFunction: null }, iconColor: { classPropertyName: "iconColor", publicName: "iconColor", isSignal: true, isRequired: false, transformFunction: null }, behavior: { classPropertyName: "behavior", publicName: "behavior", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--base-spacing": "baseSpacing()", "style.--neutral-base": "neutralBase()", "style.--font-size": "fontSize()", "style.--font-color": "fontColor()", "style.--font-family": "fontFamily()", "style.--font-weight-regular": "weights().regular", "style.--acc-color": "accordionColors().accColor", "style.--acc-color-hover": "accordionColors().accColorHover", "style.--acc-color-icon": "accordionColors().accColorIcon", "style.--acc-color-icon-hover": "accordionColors().accColorIconHover", "style.--acc-color-inverted": "accordionColors().accColorInverted", "style.--acc-color-hover-inverted": "accordionColors().accColorHoverInverted", "style.--acc-color-icon-inverted": "accordionColors().accColorIconInverted", "style.--acc-color-icon-hover-inverted": "accordionColors().accColorIconHoverInverted" } }, queries: [{ propertyName: "accordionItems", predicate: CuraAccordionItemComponent, isSignal: true }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block;color:var(--font-color);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}\n"] }); }
226
226
  }
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraAccordionComponent, decorators: [{
227
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraAccordionComponent, decorators: [{
228
228
  type: Component,
229
229
  args: [{ selector: 'cura-accordion', host: {
230
230
  '[style.--base-spacing]': 'baseSpacing()',
@@ -241,7 +241,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
241
241
  '[style.--acc-color-hover-inverted]': 'accordionColors().accColorHoverInverted',
242
242
  '[style.--acc-color-icon-inverted]': 'accordionColors().accColorIconInverted',
243
243
  '[style.--acc-color-icon-hover-inverted]': 'accordionColors().accColorIconHoverInverted',
244
- }, template: "<ng-content></ng-content>\r\n", styles: [":host{display:block;color:var(--font-color);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}\n"] }]
244
+ }, template: "<ng-content></ng-content>\n", styles: [":host{display:block;color:var(--font-color);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}\n"] }]
245
245
  }], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], colorMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorMode", required: false }] }], iconSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconSize", required: false }] }], labelIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelIcon", required: false }] }], openIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "openIcon", required: false }] }], closeIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeIcon", required: false }] }], iconColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconColor", required: false }] }], behavior: [{ type: i0.Input, args: [{ isSignal: true, alias: "behavior", required: false }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], accordionItems: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => CuraAccordionItemComponent), { isSignal: true }] }] } });
246
246
 
247
247
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"rededor-site-front-end-lib-cura-accordion.mjs","sources":["../../../projects/site-front-end-lib/cura/accordion/cura-accordion-item/cura-accordion-item.component.ts","../../../projects/site-front-end-lib/cura/accordion/cura-accordion-item/cura-accordion-item.component.html","../../../projects/site-front-end-lib/cura/accordion/cura-accordion/cura-accordion.component.ts","../../../projects/site-front-end-lib/cura/accordion/cura-accordion/cura-accordion.component.html","../../../projects/site-front-end-lib/cura/accordion/rededor-site-front-end-lib-cura-accordion.ts"],"sourcesContent":["import { Component, inject, input, signal, ElementRef, computed } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\r\nimport { CuraHeadingComponent } from '@rededor/site-front-end-lib/cura/texts/cura-heading';\r\nimport { AccordionColorMode, AccordionLevel } from '../cura-accordion.definitions';\r\n\r\n@Component({\r\n selector: 'cura-accordion-item',\r\n imports: [CommonModule, CuraIconComponent, CuraHeadingComponent],\r\n templateUrl: './cura-accordion-item.component.html',\r\n styleUrls: ['./cura-accordion-item.component.scss'],\r\n host: {\r\n '[attr.opened]': 'opened().toString()',\r\n },\r\n})\r\nexport class CuraAccordionItemComponent {\r\n public elementRef = inject(ElementRef);\r\n\r\n /**\r\n * Text label for accordion item\r\n */\r\n label = input<string>('');\r\n\r\n /** ***Properties below are inherited from the cura-accordion*** */\r\n /**\r\n * Accordion items icons\r\n */\r\n iconSize = signal<number>(20);\r\n labelIcon = signal<string>('');\r\n openIcon = signal<string>('down');\r\n closeIcon = signal<string>('up');\r\n\r\n /**\r\n * Color scheme base color\r\n * (By default, the icon will use the same color of 'color')\r\n */\r\n iconColor = signal<string>('');\r\n\r\n /**\r\n * Set the color mode to dark or light\r\n */\r\n colorMode = signal<AccordionColorMode>('dark');\r\n\r\n /**\r\n * Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...\r\n * Values: 1 to 6 (3 default).\r\n */\r\n level = signal<AccordionLevel>(3);\r\n\r\n /**\r\n * Controls if the accordion item is opened\r\n */\r\n opened = signal<boolean>(false);\r\n\r\n // Computed signal para classes (equivalente ao Stencil)\r\n containerClasses = computed(() => {\r\n const classes: { [key: string]: boolean } = {};\r\n classes['accordion-item'] = true;\r\n classes['active'] = this.opened();\r\n classes['inverted'] = this.colorMode() === 'light';\r\n return classes;\r\n });\r\n\r\n currentIcon = computed(() => {\r\n return this.opened() ? this.closeIcon() : this.openIcon();\r\n });\r\n\r\n accordionItemClick(event: Event) {\r\n event.preventDefault();\r\n this.opened.set(!this.opened());\r\n\r\n // Emitir evento customizado para o MutationObserver do parent\r\n this.elementRef.nativeElement.setAttribute('opened', this.opened().toString());\r\n }\r\n}\r\n","<div [ngClass]=\"containerClasses()\">\r\n <div class=\"label\" (click)=\"accordionItemClick($event)\">\r\n <div class=\"label-container\">\r\n <div class=\"label-content\">\r\n @if (labelIcon()) {\r\n <cura-icon [name]=\"labelIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\r\n }\r\n <cura-heading size=\"small\" [level]=\"level()\" weight=\"bold\" marginBlock=\"0\" color=\"neutral-black\">\r\n {{ label() }}\r\n </cura-heading>\r\n </div>\r\n <cura-icon [name]=\"currentIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\r\n </div>\r\n </div>\r\n <div class=\"content\">\r\n <div class=\"content-wrapper\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n","import { Component, inject, input, computed, AfterViewInit, OnDestroy, ElementRef, contentChildren } from '@angular/core';\r\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\r\nimport { AccordionColorMode, AccordionBehavior, AccordionLevel } from '../cura-accordion.definitions';\r\nimport { CuraAccordionItemComponent } from '../cura-accordion-item/cura-accordion-item.component';\r\n\r\n@Component({\r\n selector: 'cura-accordion',\r\n templateUrl: './cura-accordion.component.html',\r\n styleUrls: ['./cura-accordion.component.scss'],\r\n host: {\r\n '[style.--base-spacing]': 'baseSpacing()',\r\n '[style.--neutral-base]': 'neutralBase()',\r\n '[style.--font-size]': 'fontSize()',\r\n '[style.--font-color]': 'fontColor()',\r\n '[style.--font-family]': 'fontFamily()',\r\n '[style.--font-weight-regular]': 'weights().regular',\r\n '[style.--acc-color]': 'accordionColors().accColor',\r\n '[style.--acc-color-hover]': 'accordionColors().accColorHover',\r\n '[style.--acc-color-icon]': 'accordionColors().accColorIcon',\r\n '[style.--acc-color-icon-hover]': 'accordionColors().accColorIconHover',\r\n '[style.--acc-color-inverted]': 'accordionColors().accColorInverted',\r\n '[style.--acc-color-hover-inverted]': 'accordionColors().accColorHoverInverted',\r\n '[style.--acc-color-icon-inverted]': 'accordionColors().accColorIconInverted',\r\n '[style.--acc-color-icon-hover-inverted]': 'accordionColors().accColorIconHoverInverted',\r\n },\r\n})\r\nexport class CuraAccordionComponent implements AfterViewInit, OnDestroy {\r\n private curaApi = inject(CuraApiService);\r\n private elementRef = inject(ElementRef);\r\n\r\n /**\r\n * Color scheme base color\r\n */\r\n color = input<string>('primary');\r\n\r\n /**\r\n * Set the color mode to dark or light\r\n */\r\n colorMode = input<AccordionColorMode>('dark');\r\n\r\n /**\r\n * Accordion items icons\r\n */\r\n iconSize = input<number>(20);\r\n labelIcon = input<string>('');\r\n openIcon = input<string>('down');\r\n closeIcon = input<string>('up');\r\n\r\n /**\r\n * Color scheme base color\r\n * (By default, the icon will use the same color of 'color')\r\n */\r\n iconColor = input<string>('');\r\n\r\n /**\r\n * Accordion behavior when item is clicked\r\n * (The default will close all items except the current one)\r\n */\r\n behavior = input<AccordionBehavior>('default');\r\n\r\n /**\r\n * Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...\r\n * Values: 1 to 6 (3 default).\r\n */\r\n level = input<AccordionLevel>(3);\r\n\r\n accordionItems = contentChildren(CuraAccordionItemComponent);\r\n\r\n private mutationObserver?: MutationObserver;\r\n\r\n // Computed properties para estilos\r\n weights = computed(() => {\r\n return this.curaApi.theme.fonts.getWeights();\r\n });\r\n\r\n baseSpacing = computed(() => {\r\n return this.curaApi.theme.spacing.getSpacing();\r\n });\r\n\r\n neutralBase = computed(() => {\r\n return this.curaApi.theme.colors.getColor('neutral-base');\r\n });\r\n\r\n fontSize = computed(() => {\r\n return this.curaApi.theme.fonts.getSize();\r\n });\r\n\r\n fontColor = computed(() => {\r\n return this.curaApi.theme.fonts.getColor();\r\n });\r\n\r\n fontFamily = computed(() => {\r\n return this.curaApi.theme.fonts.getFamily();\r\n });\r\n\r\n accordionColors = computed(() => {\r\n const iconColorValue = this.iconColor() || this.color();\r\n return {\r\n accColor: this.curaApi.theme.colors.getColor('neutral-black'),\r\n accColorHover: this.curaApi.theme.colors.getColor(`${this.color()}-base`),\r\n accColorIcon: this.curaApi.theme.colors.getColor(`${iconColorValue}-base`),\r\n accColorIconHover: this.curaApi.theme.colors.getColor(`${iconColorValue}-darker`),\r\n accColorInverted: this.curaApi.theme.colors.getColor('neutral-white'),\r\n accColorHoverInverted: this.curaApi.theme.colors.getColor(`${this.color()}-lighter`),\r\n accColorIconInverted: this.curaApi.theme.colors.getColor('neutral-white'),\r\n accColorIconHoverInverted: this.curaApi.theme.colors.getColor(`${iconColorValue}-lighter`),\r\n };\r\n });\r\n\r\n childConfiguration = computed(() => {\r\n return {\r\n colorMode: this.colorMode(),\r\n iconColor: this.iconColor() || this.color(),\r\n iconSize: this.iconSize(),\r\n labelIcon: this.labelIcon(),\r\n openIcon: this.openIcon(),\r\n closeIcon: this.closeIcon(),\r\n level: this.level(),\r\n };\r\n });\r\n\r\n ngAfterViewInit() {\r\n // Configurar propriedades dos cura-accordion-item\r\n this.setChildrenProperties();\r\n\r\n // Observar mudanças nos cura-accordion-item\r\n this.setupMutationObserver();\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.mutationObserver) {\r\n this.mutationObserver.disconnect();\r\n }\r\n }\r\n\r\n private setupMutationObserver() {\r\n if (typeof MutationObserver === 'undefined') return;\r\n\r\n this.mutationObserver = new MutationObserver((mutations) => {\r\n for (const mutation of mutations) {\r\n if (mutation.type === 'attributes' && mutation.attributeName === 'opened') {\r\n const target = mutation.target as any;\r\n if ((target as HTMLElement)?.getAttribute('opened') === 'true' && this.behavior() === 'default') {\r\n // Fechar todos os outros itens\r\n this.accordionItems().forEach((item) => {\r\n if (item.elementRef.nativeElement !== target) {\r\n item.opened.set(false);\r\n }\r\n });\r\n }\r\n }\r\n if (mutation.type === 'childList') {\r\n const addedNodes = Array.from(mutation.addedNodes || []);\r\n for (let node of addedNodes) {\r\n if (node.nodeType === Node.ELEMENT_NODE) {\r\n this.setChildProperties(node as HTMLElement);\r\n }\r\n }\r\n }\r\n }\r\n });\r\n\r\n const options: MutationObserverInit = {\r\n childList: true,\r\n subtree: true,\r\n attributes: true,\r\n attributeFilter: ['opened'],\r\n };\r\n\r\n this.mutationObserver.observe(this.elementRef.nativeElement, options);\r\n }\r\n\r\n private setChildrenProperties() {\r\n this.accordionItems().forEach((item) => {\r\n this.setChildProperties(item.elementRef.nativeElement);\r\n this.setItemProperties(item);\r\n });\r\n }\r\n\r\n private setChildProperties(element: HTMLElement) {\r\n // Configurar propriedades via atributos para compatibilidade\r\n const config = this.childConfiguration();\r\n element.setAttribute('color-mode', config.colorMode);\r\n element.setAttribute('icon-color', config.iconColor);\r\n element.setAttribute('icon-size', config.iconSize.toString());\r\n if (config.labelIcon) element.setAttribute('label-icon', config.labelIcon);\r\n element.setAttribute('open-icon', config.openIcon);\r\n element.setAttribute('close-icon', config.closeIcon);\r\n element.setAttribute('level', config.level.toString());\r\n }\r\n\r\n private setItemProperties(item: CuraAccordionItemComponent) {\r\n // Configurar propriedades diretamente no componente\r\n const config = this.childConfiguration();\r\n item.colorMode.set(config.colorMode);\r\n item.iconColor.set(config.iconColor);\r\n item.iconSize.set(config.iconSize);\r\n if (config.labelIcon) item.labelIcon.set(config.labelIcon);\r\n item.openIcon.set(config.openIcon);\r\n item.closeIcon.set(config.closeIcon);\r\n item.level.set(config.level);\r\n }\r\n}\r\n","<ng-content></ng-content>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAea,0BAA0B,CAAA;AATvC,IAAA,WAAA,GAAA;AAUS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAEtC;;AAEG;AACH,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;;AAGzB;;AAEG;AACH,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAS,EAAE,oDAAC;AAC7B,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAS,EAAE,qDAAC;AAC9B,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAS,MAAM,oDAAC;AACjC,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAS,IAAI,qDAAC;AAEhC;;;AAGG;AACH,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAS,EAAE,qDAAC;AAE9B;;AAEG;AACH,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAqB,MAAM,qDAAC;AAE9C;;;AAGG;AACH,QAAA,IAAA,CAAA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E,oCAAoC;AACpE,wBAAA,oCAAoC,EAAE,yCAAyC;AAC/E,wBAAA,mCAAmC,EAAE,wCAAwC;AAC7E,wBAAA,yCAAyC,EAAE,6CAA6C;AACzF,qBAAA,EAAA,QAAA,EAAA,+BAAA,EAAA,MAAA,EAAA,CAAA,iJAAA,CAAA,EAAA;k8BA0CgC,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AElE7D;;AAEG;;;;"}
1
+ {"version":3,"file":"rededor-site-front-end-lib-cura-accordion.mjs","sources":["../../../projects/site-front-end-lib/cura/accordion/cura-accordion-item/cura-accordion-item.component.ts","../../../projects/site-front-end-lib/cura/accordion/cura-accordion-item/cura-accordion-item.component.html","../../../projects/site-front-end-lib/cura/accordion/cura-accordion/cura-accordion.component.ts","../../../projects/site-front-end-lib/cura/accordion/cura-accordion/cura-accordion.component.html","../../../projects/site-front-end-lib/cura/accordion/rededor-site-front-end-lib-cura-accordion.ts"],"sourcesContent":["import { Component, inject, input, signal, ElementRef, computed } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\nimport { CuraHeadingComponent } from '@rededor/site-front-end-lib/cura/texts/cura-heading';\nimport { AccordionColorMode, AccordionLevel } from '../cura-accordion.definitions';\n\n@Component({\n selector: 'cura-accordion-item',\n imports: [CommonModule, CuraIconComponent, CuraHeadingComponent],\n templateUrl: './cura-accordion-item.component.html',\n styleUrls: ['./cura-accordion-item.component.scss'],\n host: {\n '[attr.opened]': 'opened().toString()',\n },\n})\nexport class CuraAccordionItemComponent {\n public elementRef = inject(ElementRef);\n\n /**\n * Text label for accordion item\n */\n label = input<string>('');\n\n /** ***Properties below are inherited from the cura-accordion*** */\n /**\n * Accordion items icons\n */\n iconSize = signal<number>(20);\n labelIcon = signal<string>('');\n openIcon = signal<string>('down');\n closeIcon = signal<string>('up');\n\n /**\n * Color scheme base color\n * (By default, the icon will use the same color of 'color')\n */\n iconColor = signal<string>('');\n\n /**\n * Set the color mode to dark or light\n */\n colorMode = signal<AccordionColorMode>('dark');\n\n /**\n * Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...\n * Values: 1 to 6 (3 default).\n */\n level = signal<AccordionLevel>(3);\n\n /**\n * Controls if the accordion item is opened\n */\n opened = signal<boolean>(false);\n\n // Computed signal para classes (equivalente ao Stencil)\n containerClasses = computed(() => {\n const classes: { [key: string]: boolean } = {};\n classes['accordion-item'] = true;\n classes['active'] = this.opened();\n classes['inverted'] = this.colorMode() === 'light';\n return classes;\n });\n\n currentIcon = computed(() => {\n return this.opened() ? this.closeIcon() : this.openIcon();\n });\n\n accordionItemClick(event: Event) {\n event.preventDefault();\n this.opened.set(!this.opened());\n\n // Emitir evento customizado para o MutationObserver do parent\n this.elementRef.nativeElement.setAttribute('opened', this.opened().toString());\n }\n}\n","<div [ngClass]=\"containerClasses()\">\n <div class=\"label\" (click)=\"accordionItemClick($event)\">\n <div class=\"label-container\">\n <div class=\"label-content\">\n @if (labelIcon()) {\n <cura-icon [name]=\"labelIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\n }\n <cura-heading size=\"small\" [level]=\"level()\" weight=\"bold\" marginBlock=\"0\" color=\"neutral-black\">\n {{ label() }}\n </cura-heading>\n </div>\n <cura-icon [name]=\"currentIcon()\" [size]=\"iconSize()\" color=\"neutral-black\"> </cura-icon>\n </div>\n </div>\n <div class=\"content\">\n <div class=\"content-wrapper\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n","import { Component, inject, input, computed, AfterViewInit, OnDestroy, ElementRef, contentChildren } from '@angular/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { AccordionColorMode, AccordionBehavior, AccordionLevel } from '../cura-accordion.definitions';\nimport { CuraAccordionItemComponent } from '../cura-accordion-item/cura-accordion-item.component';\n\n@Component({\n selector: 'cura-accordion',\n templateUrl: './cura-accordion.component.html',\n styleUrls: ['./cura-accordion.component.scss'],\n host: {\n '[style.--base-spacing]': 'baseSpacing()',\n '[style.--neutral-base]': 'neutralBase()',\n '[style.--font-size]': 'fontSize()',\n '[style.--font-color]': 'fontColor()',\n '[style.--font-family]': 'fontFamily()',\n '[style.--font-weight-regular]': 'weights().regular',\n '[style.--acc-color]': 'accordionColors().accColor',\n '[style.--acc-color-hover]': 'accordionColors().accColorHover',\n '[style.--acc-color-icon]': 'accordionColors().accColorIcon',\n '[style.--acc-color-icon-hover]': 'accordionColors().accColorIconHover',\n '[style.--acc-color-inverted]': 'accordionColors().accColorInverted',\n '[style.--acc-color-hover-inverted]': 'accordionColors().accColorHoverInverted',\n '[style.--acc-color-icon-inverted]': 'accordionColors().accColorIconInverted',\n '[style.--acc-color-icon-hover-inverted]': 'accordionColors().accColorIconHoverInverted',\n },\n})\nexport class CuraAccordionComponent implements AfterViewInit, OnDestroy {\n private curaApi = inject(CuraApiService);\n private elementRef = inject(ElementRef);\n\n /**\n * Color scheme base color\n */\n color = input<string>('primary');\n\n /**\n * Set the color mode to dark or light\n */\n colorMode = input<AccordionColorMode>('dark');\n\n /**\n * Accordion items icons\n */\n iconSize = input<number>(20);\n labelIcon = input<string>('');\n openIcon = input<string>('down');\n closeIcon = input<string>('up');\n\n /**\n * Color scheme base color\n * (By default, the icon will use the same color of 'color')\n */\n iconColor = input<string>('');\n\n /**\n * Accordion behavior when item is clicked\n * (The default will close all items except the current one)\n */\n behavior = input<AccordionBehavior>('default');\n\n /**\n * Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...\n * Values: 1 to 6 (3 default).\n */\n level = input<AccordionLevel>(3);\n\n accordionItems = contentChildren(CuraAccordionItemComponent);\n\n private mutationObserver?: MutationObserver;\n\n // Computed properties para estilos\n weights = computed(() => {\n return this.curaApi.theme.fonts.getWeights();\n });\n\n baseSpacing = computed(() => {\n return this.curaApi.theme.spacing.getSpacing();\n });\n\n neutralBase = computed(() => {\n return this.curaApi.theme.colors.getColor('neutral-base');\n });\n\n fontSize = computed(() => {\n return this.curaApi.theme.fonts.getSize();\n });\n\n fontColor = computed(() => {\n return this.curaApi.theme.fonts.getColor();\n });\n\n fontFamily = computed(() => {\n return this.curaApi.theme.fonts.getFamily();\n });\n\n accordionColors = computed(() => {\n const iconColorValue = this.iconColor() || this.color();\n return {\n accColor: this.curaApi.theme.colors.getColor('neutral-black'),\n accColorHover: this.curaApi.theme.colors.getColor(`${this.color()}-base`),\n accColorIcon: this.curaApi.theme.colors.getColor(`${iconColorValue}-base`),\n accColorIconHover: this.curaApi.theme.colors.getColor(`${iconColorValue}-darker`),\n accColorInverted: this.curaApi.theme.colors.getColor('neutral-white'),\n accColorHoverInverted: this.curaApi.theme.colors.getColor(`${this.color()}-lighter`),\n accColorIconInverted: this.curaApi.theme.colors.getColor('neutral-white'),\n accColorIconHoverInverted: this.curaApi.theme.colors.getColor(`${iconColorValue}-lighter`),\n };\n });\n\n childConfiguration = computed(() => {\n return {\n colorMode: this.colorMode(),\n iconColor: this.iconColor() || this.color(),\n iconSize: this.iconSize(),\n labelIcon: this.labelIcon(),\n openIcon: this.openIcon(),\n closeIcon: this.closeIcon(),\n level: this.level(),\n };\n });\n\n ngAfterViewInit() {\n // Configurar propriedades dos cura-accordion-item\n this.setChildrenProperties();\n\n // Observar mudanças nos cura-accordion-item\n this.setupMutationObserver();\n }\n\n ngOnDestroy() {\n if (this.mutationObserver) {\n this.mutationObserver.disconnect();\n }\n }\n\n private setupMutationObserver() {\n if (typeof MutationObserver === 'undefined') return;\n\n this.mutationObserver = new MutationObserver((mutations) => {\n for (const mutation of mutations) {\n if (mutation.type === 'attributes' && mutation.attributeName === 'opened') {\n const target = mutation.target as any;\n if ((target as HTMLElement)?.getAttribute('opened') === 'true' && this.behavior() === 'default') {\n // Fechar todos os outros itens\n this.accordionItems().forEach((item) => {\n if (item.elementRef.nativeElement !== target) {\n item.opened.set(false);\n }\n });\n }\n }\n if (mutation.type === 'childList') {\n const addedNodes = Array.from(mutation.addedNodes || []);\n for (let node of addedNodes) {\n if (node.nodeType === Node.ELEMENT_NODE) {\n this.setChildProperties(node as HTMLElement);\n }\n }\n }\n }\n });\n\n const options: MutationObserverInit = {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: ['opened'],\n };\n\n this.mutationObserver.observe(this.elementRef.nativeElement, options);\n }\n\n private setChildrenProperties() {\n this.accordionItems().forEach((item) => {\n this.setChildProperties(item.elementRef.nativeElement);\n this.setItemProperties(item);\n });\n }\n\n private setChildProperties(element: HTMLElement) {\n // Configurar propriedades via atributos para compatibilidade\n const config = this.childConfiguration();\n element.setAttribute('color-mode', config.colorMode);\n element.setAttribute('icon-color', config.iconColor);\n element.setAttribute('icon-size', config.iconSize.toString());\n if (config.labelIcon) element.setAttribute('label-icon', config.labelIcon);\n element.setAttribute('open-icon', config.openIcon);\n element.setAttribute('close-icon', config.closeIcon);\n element.setAttribute('level', config.level.toString());\n }\n\n private setItemProperties(item: CuraAccordionItemComponent) {\n // Configurar propriedades diretamente no componente\n const config = this.childConfiguration();\n item.colorMode.set(config.colorMode);\n item.iconColor.set(config.iconColor);\n item.iconSize.set(config.iconSize);\n if (config.labelIcon) item.labelIcon.set(config.labelIcon);\n item.openIcon.set(config.openIcon);\n item.closeIcon.set(config.closeIcon);\n item.level.set(config.level);\n }\n}\n","<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAea,0BAA0B,CAAA;AATvC,IAAA,WAAA,GAAA;AAUS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAEtC;;AAEG;AACH,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;;AAGzB;;AAEG;AACH,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAS,EAAE,oDAAC;AAC7B,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAS,EAAE,qD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,eAAe;AACzC,wBAAA,qBAAqB,EAAE,YAAY;AACnC,wBAAA,sBAAsB,EAAE,aAAa;AACrC,wBAAA,uBAAuB,EAAE,cAAc;AACvC,wBAAA,+BAA+B,EAAE,mBAAmB;AACpD,wBAAA,qBAAqB,EAAE,4BAA4B;AACnD,wBAAA,2BAA2B,EAAE,iCAAiC;AAC9D,wBAAA,0BAA0B,EAAE,gCAAgC;AAC5D,wBAAA,gCAAgC,EAAE,qCAAqC;AACvE,wBAAA,8BAA8B,EAAE,oCAAoC;AACpE,wBAAA,oCAAoC,EAAE,yCAAyC;AAC/E,wBAAA,mCAAmC,EAAE,wCAAwC;AAC7E,wBAAA,yCAAyC,EAAE,6CAA6C;AACzF,qBAAA,EAAA,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,CAAA,iJAAA,CAAA,EAAA;k8BA0CgC,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AElE7D;;AAEG;;;;"}
@@ -52,12 +52,114 @@ const ThemeDefault = {
52
52
  },
53
53
  };
54
54
 
55
+ /**
56
+ * Cura MaternidadeStar Theme
57
+ */
58
+ const ThemeMaternidadeStar = {
59
+ /* Colors */
60
+ color: {
61
+ primary: {
62
+ '100': '182, 141, 115',
63
+ '300': '142, 103, 79',
64
+ '500': '119, 77, 51',
65
+ '700': '78, 43, 28',
66
+ '900': '47, 22, 12',
67
+ },
68
+ secondary: {
69
+ '100': '219, 193, 178',
70
+ '300': '190, 159, 142',
71
+ '500': '175, 150, 138',
72
+ '700': '139, 112, 99',
73
+ '900': '80, 59, 49',
74
+ },
75
+ accent: {
76
+ '100': '229, 196, 158',
77
+ '300': '198, 162, 122',
78
+ '500': '145, 107, 59',
79
+ '700': '110, 72, 23',
80
+ '900': '83, 46, 6',
81
+ },
82
+ },
83
+ /* Spacing */
84
+ spacing: {
85
+ base: 4,
86
+ },
87
+ /* Fonts */
88
+ font: {
89
+ size: '14px',
90
+ color: '#4A4A4A',
91
+ body: "'SkolaSans', Arial, Helvetica, sans-serif",
92
+ heading: "'SkolaSans', Arial, Helvetica, sans-serif",
93
+ display: "'SkolaSans', Arial, Helvetica, sans-serif",
94
+ weights: {
95
+ thin: 100,
96
+ light: 300,
97
+ regular: 400,
98
+ medium: 500,
99
+ bold: 700,
100
+ black: 900,
101
+ },
102
+ },
103
+ };
104
+
105
+ /**
106
+ * Cura Star Theme
107
+ */
108
+ const ThemeStar = {
109
+ /* Colors */
110
+ color: {
111
+ primary: {
112
+ '100': '182, 141, 115',
113
+ '300': '142, 103, 79',
114
+ '500': '119, 77, 51',
115
+ '700': '78, 43, 28',
116
+ '900': '47, 22, 12',
117
+ },
118
+ secondary: {
119
+ '100': '219, 193, 178',
120
+ '300': '190, 159, 142',
121
+ '500': '175, 150, 138',
122
+ '700': '139, 112, 99',
123
+ '900': '80, 59, 49',
124
+ },
125
+ accent: {
126
+ '100': '229, 196, 158',
127
+ '300': '198, 162, 122',
128
+ '500': '145, 107, 59',
129
+ '700': '110, 72, 23',
130
+ '900': '83, 46, 6',
131
+ },
132
+ },
133
+ /* Spacing */
134
+ spacing: {
135
+ base: 4,
136
+ },
137
+ /* Fonts */
138
+ font: {
139
+ size: '14px',
140
+ color: '#4A4A4A',
141
+ body: "'SkolaSans', Arial, Helvetica, sans-serif",
142
+ heading: "'SkolaSans', Arial, Helvetica, sans-serif",
143
+ display: "'SkolaSans', Arial, Helvetica, sans-serif",
144
+ weights: {
145
+ thin: 100,
146
+ light: 300,
147
+ regular: 400,
148
+ medium: 500,
149
+ bold: 700,
150
+ black: 900,
151
+ },
152
+ },
153
+ };
154
+
55
155
  const ThemePresets = {
56
156
  default: ThemeDefault,
57
157
  // 'maternidade': ThemeMaternity,
58
158
  // 'oncologia': ThemeOncology,
59
159
  // 'richet': ThemeRichet,
60
160
  // 'legacyDefault': ThemeLegacyDefault
161
+ star: ThemeStar,
162
+ maternidadeStar: ThemeMaternidadeStar,
61
163
  };
62
164
 
63
165
  /**
@@ -207,10 +309,10 @@ class CuraThemeColorsModule {
207
309
  const [color, depth] = colorWithDepth.toLowerCase().split(/-(.*)/);
208
310
  return { color: color ?? 'primary', depth: depth ?? 'base' };
209
311
  }
210
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeColorsModule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
211
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeColorsModule, providedIn: 'root' }); }
312
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeColorsModule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
313
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeColorsModule, providedIn: 'root' }); }
212
314
  }
213
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeColorsModule, decorators: [{
315
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeColorsModule, decorators: [{
214
316
  type: Injectable,
215
317
  args: [{
216
318
  providedIn: 'root',
@@ -234,10 +336,10 @@ class CuraThemeSpacingModule {
234
336
  // Fallback para SSR
235
337
  return `var(${this.curaSpacing})`;
236
338
  }
237
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeSpacingModule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
238
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeSpacingModule, providedIn: 'root' }); }
339
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeSpacingModule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
340
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeSpacingModule, providedIn: 'root' }); }
239
341
  }
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeSpacingModule, decorators: [{
342
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeSpacingModule, decorators: [{
241
343
  type: Injectable,
242
344
  args: [{
243
345
  providedIn: 'root',
@@ -287,10 +389,10 @@ class CuraThemeFontsModule {
287
389
  getColor() {
288
390
  return `var(--cura-font-color)`;
289
391
  }
290
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeFontsModule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
291
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeFontsModule, providedIn: 'root' }); }
392
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeFontsModule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
393
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeFontsModule, providedIn: 'root' }); }
292
394
  }
293
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeFontsModule, decorators: [{
395
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeFontsModule, decorators: [{
294
396
  type: Injectable,
295
397
  args: [{
296
398
  providedIn: 'root',
@@ -312,10 +414,10 @@ class CuraThemeBreakpointsModule {
312
414
  }
313
415
  return Static.breakpoints;
314
416
  }
315
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeBreakpointsModule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
316
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeBreakpointsModule, providedIn: 'root' }); }
417
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeBreakpointsModule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
418
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeBreakpointsModule, providedIn: 'root' }); }
317
419
  }
318
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeBreakpointsModule, decorators: [{
420
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeBreakpointsModule, decorators: [{
319
421
  type: Injectable,
320
422
  args: [{
321
423
  providedIn: 'root',
@@ -420,10 +522,10 @@ class CuraThemeModule {
420
522
  this.load(customTag);
421
523
  }
422
524
  }
423
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeModule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
424
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeModule, providedIn: 'root' }); }
525
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeModule, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
526
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeModule, providedIn: 'root' }); }
425
527
  }
426
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraThemeModule, decorators: [{
528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraThemeModule, decorators: [{
427
529
  type: Injectable,
428
530
  args: [{
429
531
  providedIn: 'root',
@@ -482,14 +584,14 @@ class CuraApiService {
482
584
  if (!styleElement) {
483
585
  styleElement = this.document.createElement('style');
484
586
  styleElement.id = styleId;
485
- styleElement.textContent = `
486
- .cura-body-scroll-lock {
487
- overflow: hidden;
488
- position: fixed;
489
- left: 0;
490
- right: 0;
491
- top: 0;
492
- }
587
+ styleElement.textContent = `
588
+ .cura-body-scroll-lock {
589
+ overflow: hidden;
590
+ position: fixed;
591
+ left: 0;
592
+ right: 0;
593
+ top: 0;
594
+ }
493
595
  `;
494
596
  this.document.head.appendChild(styleElement);
495
597
  }
@@ -517,10 +619,10 @@ class CuraApiService {
517
619
  body.classList.remove('cura-body-scroll-lock');
518
620
  }
519
621
  }
520
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
521
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraApiService, providedIn: 'root' }); }
622
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
623
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraApiService, providedIn: 'root' }); }
522
624
  }
523
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CuraApiService, decorators: [{
625
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CuraApiService, decorators: [{
524
626
  type: Injectable,
525
627
  args: [{
526
628
  providedIn: 'root',