ngx-smz-ui 14.4.3 → 14.4.5

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.
@@ -1,5 +1,6 @@
1
- import { ChangeDetectionStrategy, Component, Input, ContentChildren, ViewEncapsulation, Output, EventEmitter } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, Input, ContentChildren, ViewEncapsulation, Output, EventEmitter, ViewChild } from '@angular/core';
2
2
  import { PrimeTemplate } from 'primeng/api';
3
+ import { SmzTreeComponent } from '../../../smz-trees/features/tree/tree.component';
3
4
  import * as i0 from "@angular/core";
4
5
  import * as i1 from "@angular/common";
5
6
  import * as i2 from "primeng/api";
@@ -19,6 +20,11 @@ export class SmzTreeWithDetailsComponent {
19
20
  }
20
21
  ngOnChanges(changes) {
21
22
  }
23
+ resetSelection() {
24
+ this.state.context.selectedNode = null;
25
+ this.treeComponent.primeSelection = [];
26
+ this.cdr.markForCheck();
27
+ }
22
28
  ngAfterContentInit() {
23
29
  this.templates.forEach((item) => {
24
30
  const templateName = item.getType();
@@ -68,11 +74,14 @@ export class SmzTreeWithDetailsComponent {
68
74
  }
69
75
  }
70
76
  SmzTreeWithDetailsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: SmzTreeWithDetailsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
71
- SmzTreeWithDetailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: SmzTreeWithDetailsComponent, selector: "smz-ui-tree-with-details", inputs: { state: "state" }, outputs: { selectionChange: "selectionChange", detailsChange: "detailsChange" }, host: { classAttribute: "absolute inset-0" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"state != null\" class=\"grid grid-nogutter items-start justify-start h-full\" [ngClass]=\"state?.styleClass?.content\">\r\n\r\n <ng-container *ngClone=\"state.items$ | async as items\">\r\n\r\n <!-- TREE -->\r\n <div class=\"h-full col p-0\">\r\n <div smzUiBlock #treeContainer [component]=\"treeContainer\" class=\"h-full w-full rounded p-2 bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <div class=\"h-full\">\r\n <ng-container *ngVar=\"items | treeItems : state as treeItems\">\r\n <smz-ui-tree [items]=\"treeItems\" [state]=\"state.tree.state\" (selectionChange)=\"selectionChanged($event)\" [styleClass]=\"state.tree.styleClass\">\r\n\r\n <ng-container *ngIf=\"headerTemplate != null\">\r\n <ng-template pTemplate=\"header\">\r\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"toolbarTemplate != null\">\r\n <ng-template pTemplate=\"toolbar\">\r\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngFor=\"let content of contentTemplates\">\r\n <ng-template let-node [pTemplate]=\"'type:' + content.type\">\r\n <ng-container *ngTemplateOutlet=\"content.template; context: { $implicit: node }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </smz-ui-tree>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- DETAILS -->\r\n <div class=\"h-full col-12 lg:col-6 p-0\">\r\n <div class=\"h-full items-stretch flex-col grid justify-start grid-nogutter p-2 rounded w-full overflow-y-auto bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <!-- CONTE\u00DADO -->\r\n <ng-container *ngIf=\"state.context.selectedNode != null; else noSelectionTemplate\">\r\n\r\n <ng-container *ngIf=\"detailsTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"detailsTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n </ng-container>\r\n\r\n <ng-template #noSelectionTemplate>\r\n\r\n <ng-container *ngIf=\"items != null\">\r\n <ng-container *ngIf=\"emptySelectionTemplate != null; else defaultEmptySelectionTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptySelectionTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #defaultEmptySelectionTemplate>\r\n <div class=\"grid grid-nogutter items-center justify-center p-4 flex-col flex-grow mt-10\">\r\n <i class=\"fas fa-info-circle text-5xl text-yellow-500 mb-4\"></i>\r\n <div class=\"text-lg\">Nenhum item selecionado.</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </ng-template>\r\n\r\n </div>\r\n </div>\r\n\r\n</ng-container>\r\n\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3.SmzTreeComponent, selector: "smz-ui-tree", inputs: ["state", "items", "loading", "styleClass", "inlineStyle", "appendTo", "selection", "selectionKey"], outputs: ["selectedNodes", "selectionChange", "parentChange", "reorder", "blockedDrop", "nodeExpanded", "nodeCollapsed", "treeExpanded", "nodeDropped"] }, { kind: "directive", type: i4.NgCloneDirective, selector: "[ngClone]", inputs: ["ngClone"] }, { kind: "directive", type: i5.SmzUiBlockDirective, selector: "[smzUiBlock]", inputs: ["component"] }, { kind: "directive", type: i6.NgVar, selector: "[ngVar]", inputs: ["ngVar"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.TreeItemsPipe, name: "treeItems" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
77
+ SmzTreeWithDetailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: SmzTreeWithDetailsComponent, selector: "smz-ui-tree-with-details", inputs: { state: "state" }, outputs: { selectionChange: "selectionChange", detailsChange: "detailsChange" }, host: { classAttribute: "absolute inset-0" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "treeComponent", first: true, predicate: SmzTreeComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"state != null\" class=\"grid grid-nogutter items-start justify-start h-full\" [ngClass]=\"state?.styleClass?.content\">\r\n\r\n <ng-container *ngClone=\"state.items$ | async as items\">\r\n\r\n <!-- TREE -->\r\n <div class=\"h-full col p-0\">\r\n <div smzUiBlock #treeContainer [component]=\"treeContainer\" class=\"h-full w-full rounded p-2 bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <div class=\"h-full\">\r\n <ng-container *ngVar=\"items | treeItems : state as treeItems\">\r\n <smz-ui-tree #treeComponent [items]=\"treeItems\" [state]=\"state.tree.state\" (selectionChange)=\"selectionChanged($event)\" [styleClass]=\"state.tree.styleClass\">\r\n\r\n <ng-container *ngIf=\"headerTemplate != null\">\r\n <ng-template pTemplate=\"header\">\r\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"toolbarTemplate != null\">\r\n <ng-template pTemplate=\"toolbar\">\r\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngFor=\"let content of contentTemplates\">\r\n <ng-template let-node [pTemplate]=\"'type:' + content.type\">\r\n <ng-container *ngTemplateOutlet=\"content.template; context: { $implicit: node }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </smz-ui-tree>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- DETAILS -->\r\n <div class=\"h-full col-12 lg:col-6 p-0\">\r\n <div class=\"h-full items-stretch flex-col grid justify-start grid-nogutter p-2 rounded w-full overflow-y-auto bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <!-- CONTE\u00DADO -->\r\n <ng-container *ngIf=\"state.context.selectedNode != null; else noSelectionTemplate\">\r\n\r\n <ng-container *ngIf=\"detailsTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"detailsTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n </ng-container>\r\n\r\n <ng-template #noSelectionTemplate>\r\n\r\n <ng-container *ngIf=\"items != null\">\r\n <ng-container *ngIf=\"emptySelectionTemplate != null; else defaultEmptySelectionTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptySelectionTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #defaultEmptySelectionTemplate>\r\n <div class=\"grid grid-nogutter items-center justify-center p-4 flex-col flex-grow mt-10\">\r\n <i class=\"fas fa-info-circle text-5xl text-yellow-500 mb-4\"></i>\r\n <div class=\"text-lg\">Nenhum item selecionado.</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </ng-template>\r\n\r\n </div>\r\n </div>\r\n\r\n</ng-container>\r\n\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3.SmzTreeComponent, selector: "smz-ui-tree", inputs: ["state", "items", "loading", "styleClass", "inlineStyle", "appendTo", "selection", "selectionKey"], outputs: ["selectedNodes", "selectionChange", "parentChange", "reorder", "blockedDrop", "nodeExpanded", "nodeCollapsed", "treeExpanded", "nodeDropped"] }, { kind: "directive", type: i4.NgCloneDirective, selector: "[ngClone]", inputs: ["ngClone"] }, { kind: "directive", type: i5.SmzUiBlockDirective, selector: "[smzUiBlock]", inputs: ["component"] }, { kind: "directive", type: i6.NgVar, selector: "[ngVar]", inputs: ["ngVar"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.TreeItemsPipe, name: "treeItems" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
72
78
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: SmzTreeWithDetailsComponent, decorators: [{
73
79
  type: Component,
74
- args: [{ selector: 'smz-ui-tree-with-details', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'absolute inset-0' }, template: "<div *ngIf=\"state != null\" class=\"grid grid-nogutter items-start justify-start h-full\" [ngClass]=\"state?.styleClass?.content\">\r\n\r\n <ng-container *ngClone=\"state.items$ | async as items\">\r\n\r\n <!-- TREE -->\r\n <div class=\"h-full col p-0\">\r\n <div smzUiBlock #treeContainer [component]=\"treeContainer\" class=\"h-full w-full rounded p-2 bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <div class=\"h-full\">\r\n <ng-container *ngVar=\"items | treeItems : state as treeItems\">\r\n <smz-ui-tree [items]=\"treeItems\" [state]=\"state.tree.state\" (selectionChange)=\"selectionChanged($event)\" [styleClass]=\"state.tree.styleClass\">\r\n\r\n <ng-container *ngIf=\"headerTemplate != null\">\r\n <ng-template pTemplate=\"header\">\r\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"toolbarTemplate != null\">\r\n <ng-template pTemplate=\"toolbar\">\r\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngFor=\"let content of contentTemplates\">\r\n <ng-template let-node [pTemplate]=\"'type:' + content.type\">\r\n <ng-container *ngTemplateOutlet=\"content.template; context: { $implicit: node }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </smz-ui-tree>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- DETAILS -->\r\n <div class=\"h-full col-12 lg:col-6 p-0\">\r\n <div class=\"h-full items-stretch flex-col grid justify-start grid-nogutter p-2 rounded w-full overflow-y-auto bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <!-- CONTE\u00DADO -->\r\n <ng-container *ngIf=\"state.context.selectedNode != null; else noSelectionTemplate\">\r\n\r\n <ng-container *ngIf=\"detailsTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"detailsTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n </ng-container>\r\n\r\n <ng-template #noSelectionTemplate>\r\n\r\n <ng-container *ngIf=\"items != null\">\r\n <ng-container *ngIf=\"emptySelectionTemplate != null; else defaultEmptySelectionTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptySelectionTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #defaultEmptySelectionTemplate>\r\n <div class=\"grid grid-nogutter items-center justify-center p-4 flex-col flex-grow mt-10\">\r\n <i class=\"fas fa-info-circle text-5xl text-yellow-500 mb-4\"></i>\r\n <div class=\"text-lg\">Nenhum item selecionado.</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </ng-template>\r\n\r\n </div>\r\n </div>\r\n\r\n</ng-container>\r\n\r\n</div>" }]
75
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { templates: [{
80
+ args: [{ selector: 'smz-ui-tree-with-details', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'absolute inset-0' }, template: "<div *ngIf=\"state != null\" class=\"grid grid-nogutter items-start justify-start h-full\" [ngClass]=\"state?.styleClass?.content\">\r\n\r\n <ng-container *ngClone=\"state.items$ | async as items\">\r\n\r\n <!-- TREE -->\r\n <div class=\"h-full col p-0\">\r\n <div smzUiBlock #treeContainer [component]=\"treeContainer\" class=\"h-full w-full rounded p-2 bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <div class=\"h-full\">\r\n <ng-container *ngVar=\"items | treeItems : state as treeItems\">\r\n <smz-ui-tree #treeComponent [items]=\"treeItems\" [state]=\"state.tree.state\" (selectionChange)=\"selectionChanged($event)\" [styleClass]=\"state.tree.styleClass\">\r\n\r\n <ng-container *ngIf=\"headerTemplate != null\">\r\n <ng-template pTemplate=\"header\">\r\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"toolbarTemplate != null\">\r\n <ng-template pTemplate=\"toolbar\">\r\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngFor=\"let content of contentTemplates\">\r\n <ng-template let-node [pTemplate]=\"'type:' + content.type\">\r\n <ng-container *ngTemplateOutlet=\"content.template; context: { $implicit: node }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </smz-ui-tree>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- DETAILS -->\r\n <div class=\"h-full col-12 lg:col-6 p-0\">\r\n <div class=\"h-full items-stretch flex-col grid justify-start grid-nogutter p-2 rounded w-full overflow-y-auto bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <!-- CONTE\u00DADO -->\r\n <ng-container *ngIf=\"state.context.selectedNode != null; else noSelectionTemplate\">\r\n\r\n <ng-container *ngIf=\"detailsTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"detailsTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n </ng-container>\r\n\r\n <ng-template #noSelectionTemplate>\r\n\r\n <ng-container *ngIf=\"items != null\">\r\n <ng-container *ngIf=\"emptySelectionTemplate != null; else defaultEmptySelectionTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptySelectionTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #defaultEmptySelectionTemplate>\r\n <div class=\"grid grid-nogutter items-center justify-center p-4 flex-col flex-grow mt-10\">\r\n <i class=\"fas fa-info-circle text-5xl text-yellow-500 mb-4\"></i>\r\n <div class=\"text-lg\">Nenhum item selecionado.</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </ng-template>\r\n\r\n </div>\r\n </div>\r\n\r\n</ng-container>\r\n\r\n</div>" }]
81
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { treeComponent: [{
82
+ type: ViewChild,
83
+ args: [SmzTreeComponent]
84
+ }], templates: [{
76
85
  type: ContentChildren,
77
86
  args: [PrimeTemplate]
78
87
  }], state: [{
@@ -82,4 +91,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImpor
82
91
  }], detailsChange: [{
83
92
  type: Output
84
93
  }] } });
85
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS13aXRoLWRldGFpbHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LXRyZWUtd2l0aC1kZXRhaWxzL2ZlYXR1cmVzL3RyZWUtd2l0aC1kZXRhaWxzL3RyZWUtd2l0aC1kZXRhaWxzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zbXotdWkvc3JjL2xpYi9tb2R1bGVzL3Ntei10cmVlLXdpdGgtZGV0YWlscy9mZWF0dXJlcy90cmVlLXdpdGgtZGV0YWlscy90cmVlLXdpdGgtZGV0YWlscy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQXFCLFNBQVMsRUFBRSxLQUFLLEVBQXlDLGVBQWUsRUFBYSxpQkFBaUIsRUFBRSxNQUFNLEVBQUUsWUFBWSxFQUE0QixNQUFNLGVBQWUsQ0FBQztBQUNuTyxPQUFPLEVBQUUsYUFBYSxFQUFZLE1BQU0sYUFBYSxDQUFDOzs7Ozs7Ozs7QUFXdEQsTUFBTSxPQUFPLDJCQUEyQjtJQVd0QyxZQUFtQixHQUFzQjtRQUF0QixRQUFHLEdBQUgsR0FBRyxDQUFtQjtRQVJ4QixvQkFBZSxHQUFHLElBQUksWUFBWSxFQUFlLENBQUM7UUFDbEQsa0JBQWEsR0FBRyxJQUFJLFlBQVksRUFBZSxDQU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S5zdHlsZUNsYXNzXCI+XHJcblxyXG4gICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJoZWFkZXJUZW1wbGF0ZSAhPSBudWxsXCI+XHJcbiAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgcFRlbXBsYXRlPVwiaGVhZGVyXCI+XHJcbiAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJoZWFkZXJUZW1wbGF0ZTsgY29udGV4dDogeyAkaW1wbGljaXQ6IHN0YXRlLCBjb21wb25lbnQ6IHRyZWVDb250YWluZXIsIGl0ZW1zOiB0cmVlSXRlbXMgfVwiPjwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cclxuICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cInRvb2xiYXJUZW1wbGF0ZSAhPSBudWxsXCI+XHJcbiAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgcFRlbXBsYXRlPVwidG9vbGJhclwiPlxyXG4gICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwidG9vbGJhclRlbXBsYXRlOyBjb250ZXh0OiB7ICRpbXBsaWNpdDogc3RhdGUsIGNvbXBvbmVudDogdHJlZUNvbnRhaW5lciwgaXRlbXM6IHRyZWVJdGVtcyB9XCI+PC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBjb250ZW50IG9mIGNvbnRlbnRUZW1wbGF0ZXNcIj5cclxuICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSBsZXQtbm9kZSBb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4gICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJoZWFkZXJUZW1wbGF0ZSAhPSBudWxsXCI+XHJcbiAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgcFRlbXBsYXRlPVwiaGVhZGVyXCI+XHJcbiAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJoZWFkZXJUZW1wbGF0ZTsgY29udGV4dDogeyAkaW1wbGljaXQ6IHN0YXRlLCBjb21wb25lbnQ6IHRyZWVDb250YWluZXIsIGl0ZW1zOiB0cmVlSXRlbXMgfVwiPjwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cclxuICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cInRvb2xiYXJUZW1wbGF0ZSAhPSBudWxsXCI+XHJcbiAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgcFRlbXBsYXRlPVwidG9vbGJhclwiPlxyXG4gICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwidG9vbGJhclRlbXBsYXRlOyBjb250ZXh0OiB7ICRpbXBsaWNpdDogc3RhdGUsIGNvbXBvbmVudDogdHJlZUNvbnRhaW5lciwgaXRlbXM6IHRyZWVJdGVtcyB9XCI+PC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBjb250ZW50IG9mIGNvbnRlbnRUZW1wbGF0ZXNcIj5cclxuICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSBsZXQtbm9kZSBbcFRlbXBsYXRlXT1cIid0eXBlOicgKy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XYgY2xhc3M9XCJ0ZXh0LWxnXCI+TmVuaHVtIGl0ZW0gc2VsZWNpb25hZG8uPC9kaXY+XHJcbiAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICA8L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICA8L25nLXRlbXBsYXRlPlxyXG5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG5cclxuPC9uZy1jb250YWluZXI+XHJcblxyXG48L2Rpdj4iXX0=
@@ -32750,6 +32750,11 @@ class SmzTreeWithDetailsComponent {
32750
32750
  }
32751
32751
  ngOnChanges(changes) {
32752
32752
  }
32753
+ resetSelection() {
32754
+ this.state.context.selectedNode = null;
32755
+ this.treeComponent.primeSelection = [];
32756
+ this.cdr.markForCheck();
32757
+ }
32753
32758
  ngAfterContentInit() {
32754
32759
  this.templates.forEach((item) => {
32755
32760
  const templateName = item.getType();
@@ -32799,11 +32804,14 @@ class SmzTreeWithDetailsComponent {
32799
32804
  }
32800
32805
  }
32801
32806
  SmzTreeWithDetailsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: SmzTreeWithDetailsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
32802
- SmzTreeWithDetailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: SmzTreeWithDetailsComponent, selector: "smz-ui-tree-with-details", inputs: { state: "state" }, outputs: { selectionChange: "selectionChange", detailsChange: "detailsChange" }, host: { classAttribute: "absolute inset-0" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"state != null\" class=\"grid grid-nogutter items-start justify-start h-full\" [ngClass]=\"state?.styleClass?.content\">\r\n\r\n <ng-container *ngClone=\"state.items$ | async as items\">\r\n\r\n <!-- TREE -->\r\n <div class=\"h-full col p-0\">\r\n <div smzUiBlock #treeContainer [component]=\"treeContainer\" class=\"h-full w-full rounded p-2 bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <div class=\"h-full\">\r\n <ng-container *ngVar=\"items | treeItems : state as treeItems\">\r\n <smz-ui-tree [items]=\"treeItems\" [state]=\"state.tree.state\" (selectionChange)=\"selectionChanged($event)\" [styleClass]=\"state.tree.styleClass\">\r\n\r\n <ng-container *ngIf=\"headerTemplate != null\">\r\n <ng-template pTemplate=\"header\">\r\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"toolbarTemplate != null\">\r\n <ng-template pTemplate=\"toolbar\">\r\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngFor=\"let content of contentTemplates\">\r\n <ng-template let-node [pTemplate]=\"'type:' + content.type\">\r\n <ng-container *ngTemplateOutlet=\"content.template; context: { $implicit: node }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </smz-ui-tree>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- DETAILS -->\r\n <div class=\"h-full col-12 lg:col-6 p-0\">\r\n <div class=\"h-full items-stretch flex-col grid justify-start grid-nogutter p-2 rounded w-full overflow-y-auto bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <!-- CONTE\u00DADO -->\r\n <ng-container *ngIf=\"state.context.selectedNode != null; else noSelectionTemplate\">\r\n\r\n <ng-container *ngIf=\"detailsTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"detailsTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n </ng-container>\r\n\r\n <ng-template #noSelectionTemplate>\r\n\r\n <ng-container *ngIf=\"items != null\">\r\n <ng-container *ngIf=\"emptySelectionTemplate != null; else defaultEmptySelectionTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptySelectionTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #defaultEmptySelectionTemplate>\r\n <div class=\"grid grid-nogutter items-center justify-center p-4 flex-col flex-grow mt-10\">\r\n <i class=\"fas fa-info-circle text-5xl text-yellow-500 mb-4\"></i>\r\n <div class=\"text-lg\">Nenhum item selecionado.</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </ng-template>\r\n\r\n </div>\r\n </div>\r\n\r\n</ng-container>\r\n\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: SmzTreeComponent, selector: "smz-ui-tree", inputs: ["state", "items", "loading", "styleClass", "inlineStyle", "appendTo", "selection", "selectionKey"], outputs: ["selectedNodes", "selectionChange", "parentChange", "reorder", "blockedDrop", "nodeExpanded", "nodeCollapsed", "treeExpanded", "nodeDropped"] }, { kind: "directive", type: NgCloneDirective, selector: "[ngClone]", inputs: ["ngClone"] }, { kind: "directive", type: SmzUiBlockDirective, selector: "[smzUiBlock]", inputs: ["component"] }, { kind: "directive", type: NgVar, selector: "[ngVar]", inputs: ["ngVar"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: TreeItemsPipe, name: "treeItems" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
32807
+ SmzTreeWithDetailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: SmzTreeWithDetailsComponent, selector: "smz-ui-tree-with-details", inputs: { state: "state" }, outputs: { selectionChange: "selectionChange", detailsChange: "detailsChange" }, host: { classAttribute: "absolute inset-0" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "treeComponent", first: true, predicate: SmzTreeComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"state != null\" class=\"grid grid-nogutter items-start justify-start h-full\" [ngClass]=\"state?.styleClass?.content\">\r\n\r\n <ng-container *ngClone=\"state.items$ | async as items\">\r\n\r\n <!-- TREE -->\r\n <div class=\"h-full col p-0\">\r\n <div smzUiBlock #treeContainer [component]=\"treeContainer\" class=\"h-full w-full rounded p-2 bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <div class=\"h-full\">\r\n <ng-container *ngVar=\"items | treeItems : state as treeItems\">\r\n <smz-ui-tree #treeComponent [items]=\"treeItems\" [state]=\"state.tree.state\" (selectionChange)=\"selectionChanged($event)\" [styleClass]=\"state.tree.styleClass\">\r\n\r\n <ng-container *ngIf=\"headerTemplate != null\">\r\n <ng-template pTemplate=\"header\">\r\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"toolbarTemplate != null\">\r\n <ng-template pTemplate=\"toolbar\">\r\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngFor=\"let content of contentTemplates\">\r\n <ng-template let-node [pTemplate]=\"'type:' + content.type\">\r\n <ng-container *ngTemplateOutlet=\"content.template; context: { $implicit: node }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </smz-ui-tree>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- DETAILS -->\r\n <div class=\"h-full col-12 lg:col-6 p-0\">\r\n <div class=\"h-full items-stretch flex-col grid justify-start grid-nogutter p-2 rounded w-full overflow-y-auto bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <!-- CONTE\u00DADO -->\r\n <ng-container *ngIf=\"state.context.selectedNode != null; else noSelectionTemplate\">\r\n\r\n <ng-container *ngIf=\"detailsTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"detailsTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n </ng-container>\r\n\r\n <ng-template #noSelectionTemplate>\r\n\r\n <ng-container *ngIf=\"items != null\">\r\n <ng-container *ngIf=\"emptySelectionTemplate != null; else defaultEmptySelectionTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptySelectionTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #defaultEmptySelectionTemplate>\r\n <div class=\"grid grid-nogutter items-center justify-center p-4 flex-col flex-grow mt-10\">\r\n <i class=\"fas fa-info-circle text-5xl text-yellow-500 mb-4\"></i>\r\n <div class=\"text-lg\">Nenhum item selecionado.</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </ng-template>\r\n\r\n </div>\r\n </div>\r\n\r\n</ng-container>\r\n\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: SmzTreeComponent, selector: "smz-ui-tree", inputs: ["state", "items", "loading", "styleClass", "inlineStyle", "appendTo", "selection", "selectionKey"], outputs: ["selectedNodes", "selectionChange", "parentChange", "reorder", "blockedDrop", "nodeExpanded", "nodeCollapsed", "treeExpanded", "nodeDropped"] }, { kind: "directive", type: NgCloneDirective, selector: "[ngClone]", inputs: ["ngClone"] }, { kind: "directive", type: SmzUiBlockDirective, selector: "[smzUiBlock]", inputs: ["component"] }, { kind: "directive", type: NgVar, selector: "[ngVar]", inputs: ["ngVar"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: TreeItemsPipe, name: "treeItems" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
32803
32808
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: SmzTreeWithDetailsComponent, decorators: [{
32804
32809
  type: Component,
32805
- args: [{ selector: 'smz-ui-tree-with-details', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'absolute inset-0' }, template: "<div *ngIf=\"state != null\" class=\"grid grid-nogutter items-start justify-start h-full\" [ngClass]=\"state?.styleClass?.content\">\r\n\r\n <ng-container *ngClone=\"state.items$ | async as items\">\r\n\r\n <!-- TREE -->\r\n <div class=\"h-full col p-0\">\r\n <div smzUiBlock #treeContainer [component]=\"treeContainer\" class=\"h-full w-full rounded p-2 bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <div class=\"h-full\">\r\n <ng-container *ngVar=\"items | treeItems : state as treeItems\">\r\n <smz-ui-tree [items]=\"treeItems\" [state]=\"state.tree.state\" (selectionChange)=\"selectionChanged($event)\" [styleClass]=\"state.tree.styleClass\">\r\n\r\n <ng-container *ngIf=\"headerTemplate != null\">\r\n <ng-template pTemplate=\"header\">\r\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"toolbarTemplate != null\">\r\n <ng-template pTemplate=\"toolbar\">\r\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngFor=\"let content of contentTemplates\">\r\n <ng-template let-node [pTemplate]=\"'type:' + content.type\">\r\n <ng-container *ngTemplateOutlet=\"content.template; context: { $implicit: node }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </smz-ui-tree>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- DETAILS -->\r\n <div class=\"h-full col-12 lg:col-6 p-0\">\r\n <div class=\"h-full items-stretch flex-col grid justify-start grid-nogutter p-2 rounded w-full overflow-y-auto bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <!-- CONTE\u00DADO -->\r\n <ng-container *ngIf=\"state.context.selectedNode != null; else noSelectionTemplate\">\r\n\r\n <ng-container *ngIf=\"detailsTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"detailsTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n </ng-container>\r\n\r\n <ng-template #noSelectionTemplate>\r\n\r\n <ng-container *ngIf=\"items != null\">\r\n <ng-container *ngIf=\"emptySelectionTemplate != null; else defaultEmptySelectionTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptySelectionTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #defaultEmptySelectionTemplate>\r\n <div class=\"grid grid-nogutter items-center justify-center p-4 flex-col flex-grow mt-10\">\r\n <i class=\"fas fa-info-circle text-5xl text-yellow-500 mb-4\"></i>\r\n <div class=\"text-lg\">Nenhum item selecionado.</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </ng-template>\r\n\r\n </div>\r\n </div>\r\n\r\n</ng-container>\r\n\r\n</div>" }]
32806
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { templates: [{
32810
+ args: [{ selector: 'smz-ui-tree-with-details', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'absolute inset-0' }, template: "<div *ngIf=\"state != null\" class=\"grid grid-nogutter items-start justify-start h-full\" [ngClass]=\"state?.styleClass?.content\">\r\n\r\n <ng-container *ngClone=\"state.items$ | async as items\">\r\n\r\n <!-- TREE -->\r\n <div class=\"h-full col p-0\">\r\n <div smzUiBlock #treeContainer [component]=\"treeContainer\" class=\"h-full w-full rounded p-2 bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <div class=\"h-full\">\r\n <ng-container *ngVar=\"items | treeItems : state as treeItems\">\r\n <smz-ui-tree #treeComponent [items]=\"treeItems\" [state]=\"state.tree.state\" (selectionChange)=\"selectionChanged($event)\" [styleClass]=\"state.tree.styleClass\">\r\n\r\n <ng-container *ngIf=\"headerTemplate != null\">\r\n <ng-template pTemplate=\"header\">\r\n <ng-container *ngTemplateOutlet=\"headerTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"toolbarTemplate != null\">\r\n <ng-template pTemplate=\"toolbar\">\r\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: state, component: treeContainer, items: treeItems }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngFor=\"let content of contentTemplates\">\r\n <ng-template let-node [pTemplate]=\"'type:' + content.type\">\r\n <ng-container *ngTemplateOutlet=\"content.template; context: { $implicit: node }\"></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </smz-ui-tree>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- DETAILS -->\r\n <div class=\"h-full col-12 lg:col-6 p-0\">\r\n <div class=\"h-full items-stretch flex-col grid justify-start grid-nogutter p-2 rounded w-full overflow-y-auto bg-surface-a text-text-color border border-solid border-surface-d\">\r\n\r\n <!-- CONTE\u00DADO -->\r\n <ng-container *ngIf=\"state.context.selectedNode != null; else noSelectionTemplate\">\r\n\r\n <ng-container *ngIf=\"detailsTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"detailsTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n </ng-container>\r\n\r\n <ng-template #noSelectionTemplate>\r\n\r\n <ng-container *ngIf=\"items != null\">\r\n <ng-container *ngIf=\"emptySelectionTemplate != null; else defaultEmptySelectionTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptySelectionTemplate; context: { $implicit: state.context.selectedNode, type: state.context.selectedNode?.type }\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #defaultEmptySelectionTemplate>\r\n <div class=\"grid grid-nogutter items-center justify-center p-4 flex-col flex-grow mt-10\">\r\n <i class=\"fas fa-info-circle text-5xl text-yellow-500 mb-4\"></i>\r\n <div class=\"text-lg\">Nenhum item selecionado.</div>\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n\r\n </ng-template>\r\n\r\n </div>\r\n </div>\r\n\r\n</ng-container>\r\n\r\n</div>" }]
32811
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { treeComponent: [{
32812
+ type: ViewChild,
32813
+ args: [SmzTreeComponent]
32814
+ }], templates: [{
32807
32815
  type: ContentChildren,
32808
32816
  args: [PrimeTemplate]
32809
32817
  }], state: [{