@rededor/site-front-end-lib 20.0.41 → 20.1.0-alpha.1
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.
- package/README.md +187 -187
- package/components/algolia-search/index.d.ts +1 -1
- package/components/filters/filter-generic/index.d.ts +3 -3
- package/components/filters/filter-planos-convenios/index.d.ts +3 -2
- package/components/footer/index.d.ts +1 -1
- package/components/header/index.d.ts +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +14 -14
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +7 -7
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +12 -12
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs +8 -8
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +15 -15
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +16 -16
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs +12 -12
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-core.mjs +204 -204
- package/fesm2022/rededor-site-front-end-lib-core.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-enums.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-shared.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
- package/package.json +2 -133
- package/styles/_breakpoints.scss +5 -5
- package/cura/accordion/index.d.ts +0 -120
- package/cura/api/index.d.ts +0 -359
- package/cura/badges/cura-badge-counter/index.d.ts +0 -38
- package/cura/badges/cura-badge-distance/index.d.ts +0 -21
- package/cura/badges/cura-badge-dot/index.d.ts +0 -29
- package/cura/badges/cura-badge-pill/index.d.ts +0 -42
- package/cura/badges/index.d.ts +0 -5
- package/cura/buttons/cura-button/index.d.ts +0 -90
- package/cura/buttons/cura-button-outline/index.d.ts +0 -90
- package/cura/buttons/cura-button-select/index.d.ts +0 -39
- package/cura/buttons/cura-button-transparent/index.d.ts +0 -87
- package/cura/buttons/index.d.ts +0 -15
- package/cura/cards/cura-card/index.d.ts +0 -49
- package/cura/feedback/cura-alert/index.d.ts +0 -55
- package/cura/feedback/cura-modal/index.d.ts +0 -97
- package/cura/feedback/cura-toast/index.d.ts +0 -104
- package/cura/forms/cura-checkbox/index.d.ts +0 -160
- package/cura/forms/cura-input-text/index.d.ts +0 -236
- package/cura/forms/cura-label/index.d.ts +0 -47
- package/cura/forms/cura-radio/index.d.ts +0 -148
- package/cura/forms/cura-select/index.d.ts +0 -154
- package/cura/forms/cura-select-option/index.d.ts +0 -54
- package/cura/forms/cura-select-state/index.d.ts +0 -72
- package/cura/forms/cura-switch/index.d.ts +0 -113
- package/cura/forms/cura-textarea/index.d.ts +0 -113
- package/cura/forms/index.d.ts +0 -20
- package/cura/icons/cura-icon/index.d.ts +0 -46
- package/cura/loaders/cura-loader-bar/index.d.ts +0 -22
- package/cura/loaders/cura-loader-circle/index.d.ts +0 -24
- package/cura/texts/cura-display/index.d.ts +0 -54
- package/cura/texts/cura-heading/index.d.ts +0 -65
- package/cura/texts/cura-paragraph/index.d.ts +0 -54
- package/cura/texts/index.d.ts +0 -7
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs +0 -252
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs +0 -643
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs +0 -90
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs +0 -55
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs +0 -66
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs +0 -91
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs +0 -4
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +0 -170
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +0 -135
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +0 -161
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +0 -170
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs +0 -13
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +0 -72
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs +0 -90
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs +0 -105
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs +0 -198
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs +0 -262
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs +0 -586
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs +0 -82
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs +0 -243
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs +0 -89
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs +0 -123
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +0 -365
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs +0 -182
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs +0 -209
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs +0 -21
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs +0 -88
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs +0 -44
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs +0 -49
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs +0 -84
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs +0 -104
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs +0 -89
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs +0 -4
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs.map +0 -1
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, input, signal, computed, Component, contentChildren } from '@angular/core';
|
|
3
|
-
import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
|
|
4
|
-
import * as i1 from '@angular/common';
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
6
|
-
import { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';
|
|
7
|
-
import { CuraHeadingComponent } from '@rededor/site-front-end-lib/cura/texts/cura-heading';
|
|
8
|
-
|
|
9
|
-
class CuraAccordionItemComponent {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.elementRef = inject(ElementRef);
|
|
12
|
-
/**
|
|
13
|
-
* Text label for accordion item
|
|
14
|
-
*/
|
|
15
|
-
this.label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
16
|
-
/** ***Properties below are inherited from the cura-accordion*** */
|
|
17
|
-
/**
|
|
18
|
-
* Accordion items icons
|
|
19
|
-
*/
|
|
20
|
-
this.iconSize = signal(20, ...(ngDevMode ? [{ debugName: "iconSize" }] : []));
|
|
21
|
-
this.labelIcon = signal('', ...(ngDevMode ? [{ debugName: "labelIcon" }] : []));
|
|
22
|
-
this.openIcon = signal('down', ...(ngDevMode ? [{ debugName: "openIcon" }] : []));
|
|
23
|
-
this.closeIcon = signal('up', ...(ngDevMode ? [{ debugName: "closeIcon" }] : []));
|
|
24
|
-
/**
|
|
25
|
-
* Color scheme base color
|
|
26
|
-
* (By default, the icon will use the same color of 'color')
|
|
27
|
-
*/
|
|
28
|
-
this.iconColor = signal('', ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
|
|
29
|
-
/**
|
|
30
|
-
* Set the color mode to dark or light
|
|
31
|
-
*/
|
|
32
|
-
this.colorMode = signal('dark', ...(ngDevMode ? [{ debugName: "colorMode" }] : []));
|
|
33
|
-
/**
|
|
34
|
-
* Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...
|
|
35
|
-
* Values: 1 to 6 (3 default).
|
|
36
|
-
*/
|
|
37
|
-
this.level = signal(3, ...(ngDevMode ? [{ debugName: "level" }] : []));
|
|
38
|
-
/**
|
|
39
|
-
* Controls if the accordion item is opened
|
|
40
|
-
*/
|
|
41
|
-
this.opened = signal(false, ...(ngDevMode ? [{ debugName: "opened" }] : []));
|
|
42
|
-
// Computed signal para classes (equivalente ao Stencil)
|
|
43
|
-
this.containerClasses = computed(() => {
|
|
44
|
-
const classes = {};
|
|
45
|
-
classes['accordion-item'] = true;
|
|
46
|
-
classes['active'] = this.opened();
|
|
47
|
-
classes['inverted'] = this.colorMode() === 'light';
|
|
48
|
-
return classes;
|
|
49
|
-
}, ...(ngDevMode ? [{ debugName: "containerClasses" }] : []));
|
|
50
|
-
this.currentIcon = computed(() => {
|
|
51
|
-
return this.opened() ? this.closeIcon() : this.openIcon();
|
|
52
|
-
}, ...(ngDevMode ? [{ debugName: "currentIcon" }] : []));
|
|
53
|
-
}
|
|
54
|
-
accordionItemClick(event) {
|
|
55
|
-
event.preventDefault();
|
|
56
|
-
this.opened.set(!this.opened());
|
|
57
|
-
// Emitir evento customizado para o MutationObserver do parent
|
|
58
|
-
this.elementRef.nativeElement.setAttribute('opened', this.opened().toString());
|
|
59
|
-
}
|
|
60
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CuraAccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
61
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", 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 .label-content cura-heading{--color-body: var(--acc-color-inverted) !important}:host .accordion-item.inverted .label .label-container .label-content cura-icon{--color: 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 .label-content cura-heading{--color-body: var(--acc-color-hover-inverted) !important}:host .accordion-item.inverted .label .label-container:hover .label-content cura-icon{--color: 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
|
-
}
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CuraAccordionItemComponent, decorators: [{
|
|
64
|
-
type: Component,
|
|
65
|
-
args: [{ selector: 'cura-accordion-item', imports: [CommonModule, CuraIconComponent, CuraHeadingComponent], host: {
|
|
66
|
-
'[attr.opened]': 'opened().toString()',
|
|
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 .label-content cura-heading{--color-body: var(--acc-color-inverted) !important}:host .accordion-item.inverted .label .label-container .label-content cura-icon{--color: 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 .label-content cura-heading{--color-body: var(--acc-color-hover-inverted) !important}:host .accordion-item.inverted .label .label-container:hover .label-content cura-icon{--color: 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
|
-
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }] } });
|
|
69
|
-
|
|
70
|
-
class CuraAccordionComponent {
|
|
71
|
-
constructor() {
|
|
72
|
-
this.curaApi = inject(CuraApiService);
|
|
73
|
-
this.elementRef = inject(ElementRef);
|
|
74
|
-
/**
|
|
75
|
-
* Color scheme base color
|
|
76
|
-
*/
|
|
77
|
-
this.color = input('primary', ...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
78
|
-
/**
|
|
79
|
-
* Set the color mode to dark or light
|
|
80
|
-
*/
|
|
81
|
-
this.colorMode = input('dark', ...(ngDevMode ? [{ debugName: "colorMode" }] : []));
|
|
82
|
-
/**
|
|
83
|
-
* Accordion items icons
|
|
84
|
-
*/
|
|
85
|
-
this.iconSize = input(20, ...(ngDevMode ? [{ debugName: "iconSize" }] : []));
|
|
86
|
-
this.labelIcon = input('', ...(ngDevMode ? [{ debugName: "labelIcon" }] : []));
|
|
87
|
-
this.openIcon = input('down', ...(ngDevMode ? [{ debugName: "openIcon" }] : []));
|
|
88
|
-
this.closeIcon = input('up', ...(ngDevMode ? [{ debugName: "closeIcon" }] : []));
|
|
89
|
-
/**
|
|
90
|
-
* Color scheme base color
|
|
91
|
-
* (By default, the icon will use the same color of 'color')
|
|
92
|
-
*/
|
|
93
|
-
this.iconColor = input('', ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
|
|
94
|
-
/**
|
|
95
|
-
* Accordion behavior when item is clicked
|
|
96
|
-
* (The default will close all items except the current one)
|
|
97
|
-
*/
|
|
98
|
-
this.behavior = input('default', ...(ngDevMode ? [{ debugName: "behavior" }] : []));
|
|
99
|
-
/**
|
|
100
|
-
* Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...
|
|
101
|
-
* Values: 1 to 6 (3 default).
|
|
102
|
-
*/
|
|
103
|
-
this.level = input(3, ...(ngDevMode ? [{ debugName: "level" }] : []));
|
|
104
|
-
this.accordionItems = contentChildren(CuraAccordionItemComponent, ...(ngDevMode ? [{ debugName: "accordionItems" }] : []));
|
|
105
|
-
// Computed properties para estilos
|
|
106
|
-
this.weights = computed(() => {
|
|
107
|
-
return this.curaApi.theme.fonts.getWeights();
|
|
108
|
-
}, ...(ngDevMode ? [{ debugName: "weights" }] : []));
|
|
109
|
-
this.baseSpacing = computed(() => {
|
|
110
|
-
return this.curaApi.theme.spacing.getSpacing();
|
|
111
|
-
}, ...(ngDevMode ? [{ debugName: "baseSpacing" }] : []));
|
|
112
|
-
this.neutralBase = computed(() => {
|
|
113
|
-
return this.curaApi.theme.colors.getColor('neutral-base');
|
|
114
|
-
}, ...(ngDevMode ? [{ debugName: "neutralBase" }] : []));
|
|
115
|
-
this.fontSize = computed(() => {
|
|
116
|
-
return this.curaApi.theme.fonts.getSize();
|
|
117
|
-
}, ...(ngDevMode ? [{ debugName: "fontSize" }] : []));
|
|
118
|
-
this.fontColor = computed(() => {
|
|
119
|
-
return this.curaApi.theme.fonts.getColor();
|
|
120
|
-
}, ...(ngDevMode ? [{ debugName: "fontColor" }] : []));
|
|
121
|
-
this.fontFamily = computed(() => {
|
|
122
|
-
return this.curaApi.theme.fonts.getFamily();
|
|
123
|
-
}, ...(ngDevMode ? [{ debugName: "fontFamily" }] : []));
|
|
124
|
-
this.accordionColors = computed(() => {
|
|
125
|
-
const iconColorValue = this.iconColor() || this.color();
|
|
126
|
-
return {
|
|
127
|
-
accColor: this.curaApi.theme.colors.getColor('neutral-black'),
|
|
128
|
-
accColorHover: this.curaApi.theme.colors.getColor(`${this.color()}-base`),
|
|
129
|
-
accColorIcon: this.curaApi.theme.colors.getColor(`${iconColorValue}-base`),
|
|
130
|
-
accColorIconHover: this.curaApi.theme.colors.getColor(`${iconColorValue}-darker`),
|
|
131
|
-
accColorInverted: this.curaApi.theme.colors.getColor('neutral-white'),
|
|
132
|
-
accColorHoverInverted: this.curaApi.theme.colors.getColor(`${this.color()}-lighter`),
|
|
133
|
-
accColorIconInverted: this.curaApi.theme.colors.getColor('neutral-white'),
|
|
134
|
-
accColorIconHoverInverted: this.curaApi.theme.colors.getColor(`${iconColorValue}-lighter`),
|
|
135
|
-
};
|
|
136
|
-
}, ...(ngDevMode ? [{ debugName: "accordionColors" }] : []));
|
|
137
|
-
this.childConfiguration = computed(() => {
|
|
138
|
-
return {
|
|
139
|
-
colorMode: this.colorMode(),
|
|
140
|
-
iconColor: this.iconColor() || this.color(),
|
|
141
|
-
iconSize: this.iconSize(),
|
|
142
|
-
labelIcon: this.labelIcon(),
|
|
143
|
-
openIcon: this.openIcon(),
|
|
144
|
-
closeIcon: this.closeIcon(),
|
|
145
|
-
level: this.level(),
|
|
146
|
-
};
|
|
147
|
-
}, ...(ngDevMode ? [{ debugName: "childConfiguration" }] : []));
|
|
148
|
-
}
|
|
149
|
-
ngAfterViewInit() {
|
|
150
|
-
// Configurar propriedades dos cura-accordion-item
|
|
151
|
-
this.setChildrenProperties();
|
|
152
|
-
// Observar mudanças nos cura-accordion-item
|
|
153
|
-
this.setupMutationObserver();
|
|
154
|
-
}
|
|
155
|
-
ngOnDestroy() {
|
|
156
|
-
if (this.mutationObserver) {
|
|
157
|
-
this.mutationObserver.disconnect();
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
setupMutationObserver() {
|
|
161
|
-
if (typeof MutationObserver === 'undefined')
|
|
162
|
-
return;
|
|
163
|
-
this.mutationObserver = new MutationObserver((mutations) => {
|
|
164
|
-
for (const mutation of mutations) {
|
|
165
|
-
if (mutation.type === 'attributes' && mutation.attributeName === 'opened') {
|
|
166
|
-
const target = mutation.target;
|
|
167
|
-
if (target?.getAttribute('opened') === 'true' && this.behavior() === 'default') {
|
|
168
|
-
// Fechar todos os outros itens
|
|
169
|
-
this.accordionItems().forEach((item) => {
|
|
170
|
-
if (item.elementRef.nativeElement !== target) {
|
|
171
|
-
item.opened.set(false);
|
|
172
|
-
}
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
if (mutation.type === 'childList') {
|
|
177
|
-
const addedNodes = Array.from(mutation.addedNodes || []);
|
|
178
|
-
for (let node of addedNodes) {
|
|
179
|
-
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
180
|
-
this.setChildProperties(node);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
});
|
|
186
|
-
const options = {
|
|
187
|
-
childList: true,
|
|
188
|
-
subtree: true,
|
|
189
|
-
attributes: true,
|
|
190
|
-
attributeFilter: ['opened'],
|
|
191
|
-
};
|
|
192
|
-
this.mutationObserver.observe(this.elementRef.nativeElement, options);
|
|
193
|
-
}
|
|
194
|
-
setChildrenProperties() {
|
|
195
|
-
this.accordionItems().forEach((item) => {
|
|
196
|
-
this.setChildProperties(item.elementRef.nativeElement);
|
|
197
|
-
this.setItemProperties(item);
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
setChildProperties(element) {
|
|
201
|
-
// Configurar propriedades via atributos para compatibilidade
|
|
202
|
-
const config = this.childConfiguration();
|
|
203
|
-
element.setAttribute('color-mode', config.colorMode);
|
|
204
|
-
element.setAttribute('icon-color', config.iconColor);
|
|
205
|
-
element.setAttribute('icon-size', config.iconSize.toString());
|
|
206
|
-
if (config.labelIcon)
|
|
207
|
-
element.setAttribute('label-icon', config.labelIcon);
|
|
208
|
-
element.setAttribute('open-icon', config.openIcon);
|
|
209
|
-
element.setAttribute('close-icon', config.closeIcon);
|
|
210
|
-
element.setAttribute('level', config.level.toString());
|
|
211
|
-
}
|
|
212
|
-
setItemProperties(item) {
|
|
213
|
-
// Configurar propriedades diretamente no componente
|
|
214
|
-
const config = this.childConfiguration();
|
|
215
|
-
item.colorMode.set(config.colorMode);
|
|
216
|
-
item.iconColor.set(config.iconColor);
|
|
217
|
-
item.iconSize.set(config.iconSize);
|
|
218
|
-
if (config.labelIcon)
|
|
219
|
-
item.labelIcon.set(config.labelIcon);
|
|
220
|
-
item.openIcon.set(config.openIcon);
|
|
221
|
-
item.closeIcon.set(config.closeIcon);
|
|
222
|
-
item.level.set(config.level);
|
|
223
|
-
}
|
|
224
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CuraAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
225
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.18", 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
|
-
}
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CuraAccordionComponent, decorators: [{
|
|
228
|
-
type: Component,
|
|
229
|
-
args: [{ selector: 'cura-accordion', host: {
|
|
230
|
-
'[style.--base-spacing]': 'baseSpacing()',
|
|
231
|
-
'[style.--neutral-base]': 'neutralBase()',
|
|
232
|
-
'[style.--font-size]': 'fontSize()',
|
|
233
|
-
'[style.--font-color]': 'fontColor()',
|
|
234
|
-
'[style.--font-family]': 'fontFamily()',
|
|
235
|
-
'[style.--font-weight-regular]': 'weights().regular',
|
|
236
|
-
'[style.--acc-color]': 'accordionColors().accColor',
|
|
237
|
-
'[style.--acc-color-hover]': 'accordionColors().accColorHover',
|
|
238
|
-
'[style.--acc-color-icon]': 'accordionColors().accColorIcon',
|
|
239
|
-
'[style.--acc-color-icon-hover]': 'accordionColors().accColorIconHover',
|
|
240
|
-
'[style.--acc-color-inverted]': 'accordionColors().accColorInverted',
|
|
241
|
-
'[style.--acc-color-hover-inverted]': 'accordionColors().accColorHoverInverted',
|
|
242
|
-
'[style.--acc-color-icon-inverted]': 'accordionColors().accColorIconInverted',
|
|
243
|
-
'[style.--acc-color-icon-hover-inverted]': 'accordionColors().accColorIconHoverInverted',
|
|
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
|
-
}], 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
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Generated bundle index. Do not edit.
|
|
249
|
-
*/
|
|
250
|
-
|
|
251
|
-
export { CuraAccordionComponent, CuraAccordionItemComponent };
|
|
252
|
-
//# sourceMappingURL=rededor-site-front-end-lib-cura-accordion.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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,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,KAAK,GAAG,MAAM,CAAiB,CAAC,iDAAC;AAEjC;;AAEG;AACH,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAU,KAAK,kDAAC;;AAG/B,QAAA,IAAA,CAAA,gBAAgB,GAAG,QAAQ,CAAC,MAAK;YAC/B,MAAM,OAAO,GAA+B,EAAE;AAC9C,YAAA,OAAO,CAAC,gBAAgB,CAAC,GAAG,IAAI;YAChC,OAAO,CAAC,QAAQ,CA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