@mozaic-ds/angular 2.0.36 → 2.0.38
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.
|
@@ -2996,12 +2996,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
|
|
|
2996
2996
|
class MozAccordionPanelComponent {
|
|
2997
2997
|
icon = input(null, ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
2998
2998
|
open = input(false, ...(ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []));
|
|
2999
|
-
state =
|
|
2999
|
+
state = linkedSignal(() => this.open(), ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
|
|
3000
3000
|
header = contentChild(MozAccordionHeaderComponent, ...(ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []));
|
|
3001
3001
|
content = contentChild(MozAccordionContentComponent, ...(ngDevMode ? [{ debugName: "content" }] : /* istanbul ignore next */ []));
|
|
3002
|
-
ngOnInit() {
|
|
3003
|
-
this.state.set(!!this.open());
|
|
3004
|
-
}
|
|
3005
3002
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: MozAccordionPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3006
3003
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.6", type: MozAccordionPanelComponent, isStandalone: true, selector: "moz-accordion-panel", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "header", first: true, predicate: MozAccordionHeaderComponent, descendants: true, isSignal: true }, { propertyName: "content", first: true, predicate: MozAccordionContentComponent, descendants: true, isSignal: true }], ngImport: i0, template: ``, isInline: true });
|
|
3007
3004
|
}
|
|
@@ -12026,9 +12023,6 @@ class MozTreeComponent {
|
|
|
12026
12023
|
for (const parentId of newlyLoadedParentIds) {
|
|
12027
12024
|
this.selectionService.propagateOnChildrenLoaded(parentId);
|
|
12028
12025
|
}
|
|
12029
|
-
if (newlyLoadedParentIds.length > 0) {
|
|
12030
|
-
this.selectionChange.emit(this.selectionService.allSelectedIds());
|
|
12031
|
-
}
|
|
12032
12026
|
});
|
|
12033
12027
|
}
|
|
12034
12028
|
onTreeKeydown(event) {
|