ngx-smz-ui 14.4.4 → 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.
- package/esm2020/lib/modules/smz-tree-with-details/features/tree-with-details/tree-with-details.component.mjs +8 -3
- package/fesm2015/ngx-smz-ui.mjs +7 -2
- package/fesm2015/ngx-smz-ui.mjs.map +1 -1
- package/fesm2020/ngx-smz-ui.mjs +7 -2
- package/fesm2020/ngx-smz-ui.mjs.map +1 -1
- package/lib/modules/smz-tree-with-details/features/tree-with-details/tree-with-details.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -20,6 +20,11 @@ export class SmzTreeWithDetailsComponent {
|
|
|
20
20
|
}
|
|
21
21
|
ngOnChanges(changes) {
|
|
22
22
|
}
|
|
23
|
+
resetSelection() {
|
|
24
|
+
this.state.context.selectedNode = null;
|
|
25
|
+
this.treeComponent.primeSelection = [];
|
|
26
|
+
this.cdr.markForCheck();
|
|
27
|
+
}
|
|
23
28
|
ngAfterContentInit() {
|
|
24
29
|
this.templates.forEach((item) => {
|
|
25
30
|
const templateName = item.getType();
|
|
@@ -69,10 +74,10 @@ export class SmzTreeWithDetailsComponent {
|
|
|
69
74
|
}
|
|
70
75
|
}
|
|
71
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 });
|
|
72
|
-
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 [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 });
|
|
73
78
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: SmzTreeWithDetailsComponent, decorators: [{
|
|
74
79
|
type: Component,
|
|
75
|
-
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>" }]
|
|
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>" }]
|
|
76
81
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { treeComponent: [{
|
|
77
82
|
type: ViewChild,
|
|
78
83
|
args: [SmzTreeComponent]
|
|
@@ -86,4 +91,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImpor
|
|
|
86
91
|
}], detailsChange: [{
|
|
87
92
|
type: Output
|
|
88
93
|
}] } });
|
|
89
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS13aXRoLWRldGFpbHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LXRyZWUtd2l0aC1kZXRhaWxzL2ZlYXR1cmVzL3RyZWUtd2l0aC1kZXRhaWxzL3RyZWUtd2l0aC1kZXRhaWxzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zbXotdWkvc3JjL2xpYi9tb2R1bGVzL3Ntei10cmVlLXdpdGgtZGV0YWlscy9mZWF0dXJlcy90cmVlLXdpdGgtZGV0YWlscy90cmVlLXdpdGgtZGV0YWlscy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQXFCLFNBQVMsRUFBRSxLQUFLLEVBQXlDLGVBQWUsRUFBYSxpQkFBaUIsRUFBRSxNQUFNLEVBQUUsWUFBWSxFQUE0QixTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDOU8sT0FBTyxFQUFFLGFBQWEsRUFBWSxNQUFNLGFBQWEsQ0FBQztBQUN0RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxpREFBaUQsQ0FBQzs7Ozs7Ozs7O0FBV25GLE1BQU0sT0FBTywyQkFBMkI7SUFZdEMsWUFBbUI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RleHQuc2VsZWN0ZWROb2RlPy50eXBlIH1cIj48L25nLWNvbnRhaW5lcj5cclxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICAgICAgPG5nLXRlbXBsYXRlICNkZWZhdWx0RW1wdHlTZWxlY3Rpb25UZW1wbGF0ZT5cclxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJncmlkIGdyaWQtbm9ndXR0ZXIgaXRlbXMtY2VudGVyIGp1c3RpZnktY2VudGVyIHAtNCBmbGV4LWNvbCBmbGV4LWdyb3cgbXQtMTBcIj5cclxuICAgICAgICAgICAgPGkgY2xhc3M9XCJmYXMgZmEtaW5mby1jaXJjbGUgdGV4dC01eGwgdGV4dC15ZWxsb3ctNTAwIG1iLTRcIj48L2k+XHJcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ0ZXh0LWxnXCI+TmVuaHVtIGl0ZW0gc2VsZWNpb25hZG8uPC9kaXY+XHJcbiAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICA8L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICA8L25nLXRlbXBsYXRlPlxyXG5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG5cclxuPC9uZy1jb250YWluZXI+XHJcblxyXG48L2Rpdj4iXX0=
|
package/fesm2015/ngx-smz-ui.mjs
CHANGED
|
@@ -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,10 +32804,10 @@ 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 }], 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 [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>" }]
|
|
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>" }]
|
|
32806
32811
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { treeComponent: [{
|
|
32807
32812
|
type: ViewChild,
|
|
32808
32813
|
args: [SmzTreeComponent]
|