ngx-smz-ui 3.6.9 → 3.7.3

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.
@@ -10838,7 +10838,7 @@
10838
10838
  SafeContentPipeModule,
10839
10839
  NgxSmzTablesModule,
10840
10840
  NgxSmzDocumentsModule] });
10841
- NgxSmzDialogsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: NgxSmzDialogsModule, providers: [SmzDynamicDialogConfig, DynamicDialogConfig, DynamicDialogRef], imports: [[
10841
+ NgxSmzDialogsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: NgxSmzDialogsModule, providers: [SmzDynamicDialogConfig, DynamicDialogConfig, DynamicDialogRef, i1$6.ContextMenuService], imports: [[
10842
10842
  i1$1.CommonModule,
10843
10843
  i1.ReactiveFormsModule,
10844
10844
  dialog.DialogModule,
@@ -10901,7 +10901,7 @@
10901
10901
  NgxSmzDocumentsModule
10902
10902
  ],
10903
10903
  entryComponents: [DialogContentManagerComponent, MessageContentComponent, HtmlContentComponent, DialogFooterComponent, TableContentComponent, DocumentContentComponent],
10904
- providers: [SmzDynamicDialogConfig, DynamicDialogConfig, DynamicDialogRef],
10904
+ providers: [SmzDynamicDialogConfig, DynamicDialogConfig, DynamicDialogRef, i1$6.ContextMenuService],
10905
10905
  }]
10906
10906
  }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });
10907
10907
 
@@ -20722,6 +20722,7 @@
20722
20722
  this.treeExpanded = new i0.EventEmitter();
20723
20723
  // Evento emitido quando toda a árvore é colapsada
20724
20724
  this.nodeDropped = new i0.EventEmitter();
20725
+ this.contentTemplates = [];
20725
20726
  this.documentClickListener = null;
20726
20727
  this.menuItems = null;
20727
20728
  // -- Drag and drop variables
@@ -20740,22 +20741,32 @@
20740
20741
  SmzTreeComponent.prototype.ngAfterContentInit = function () {
20741
20742
  var _this = this;
20742
20743
  this.templates.forEach(function (item) {
20743
- switch (item.getType()) {
20744
- case 'header':
20745
- _this.headerTemplate = item.template;
20746
- break;
20747
- case 'footer':
20748
- _this.footerTemplate = item.template;
20749
- break;
20750
- case 'empty':
20751
- _this.emptyStateTemplate = item.template;
20752
- break;
20753
- case 'toolbar':
20754
- _this.toolbarTemplate = item.template;
20755
- break;
20756
- case 'emptyState':
20757
- _this.emptyStateTemplate = item.template;
20758
- break;
20744
+ var templateName = item.getType();
20745
+ if (templateName.includes('type')) {
20746
+ var type = templateName.split(':')[1];
20747
+ _this.contentTemplates.push({
20748
+ type: type,
20749
+ template: item.template
20750
+ });
20751
+ }
20752
+ else {
20753
+ switch (templateName) {
20754
+ case 'header':
20755
+ _this.headerTemplate = item.template;
20756
+ break;
20757
+ case 'footer':
20758
+ _this.footerTemplate = item.template;
20759
+ break;
20760
+ case 'empty':
20761
+ _this.emptyStateTemplate = item.template;
20762
+ break;
20763
+ case 'toolbar':
20764
+ _this.toolbarTemplate = item.template;
20765
+ break;
20766
+ case 'emptyState':
20767
+ _this.emptyStateTemplate = item.template;
20768
+ break;
20769
+ }
20759
20770
  }
20760
20771
  });
20761
20772
  };
@@ -21041,7 +21052,7 @@
21041
21052
  return SmzTreeComponent;
21042
21053
  }());
21043
21054
  SmzTreeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SmzTreeComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
21044
- SmzTreeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: SmzTreeComponent, selector: "smz-ui-tree", inputs: { state: "state", items: "items", loading: "loading", styleClass: "styleClass", inlineStyle: "inlineStyle", appendTo: "appendTo" }, outputs: { selectionChange: "selectionChange", parentChange: "parentChange", reorder: "reorder", blockedDrop: "blockedDrop", nodeExpanded: "nodeExpanded", nodeCollapsed: "nodeCollapsed", treeExpanded: "treeExpanded", nodeDropped: "nodeDropped" }, providers: [i1$6.TreeDragDropService], queries: [{ propertyName: "templates", predicate: i1$6.PrimeTemplate }], usesOnChanges: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"state; else noStateTemplate\">\n\n <ng-container\n *ngIf=\"(state.emptyFeedback != null && (state.emptyFeedback.extraInfo || state.emptyFeedback.image || state.emptyFeedback.actionButton)) && (items != null && items.length === 0); else treeTemplate\">\n <!-- <smz-data-info\n [image]=\"context.state.emptyFeedback.image\"\n [message]=\"context.state.emptyFeedback.message\"\n [callbackInfo]=\"context.state.emptyFeedback.extraInfo\"\n [callbackLabel]=\"context.state.emptyFeedback.actionButton?.label\"\n (clicked)=\"context.state.emptyFeedback.actionButton?.callback()\">\n\n <ng-template pTemplate=\"actions\">\n <ng-container *ngTemplateOutlet=\"emptyActionsTemplate; context: { $implicit: {} }\"></ng-container>\n </ng-template>\n\n </smz-data-info> -->\n </ng-container>\n\n <ng-template #treeTemplate>\n\n <ng-container *ngIf=\"items\">\n <p-contextMenu #cm [model]=\"menuItems\" [appendTo]=\"appendTo\" [styleClass]=\"menuItems == null || menuItems?.length === 0 ? 'invisible-important' : ''\"></p-contextMenu>\n <p-tree #dt [value]=\"items\"\n scrollHeight=\"flex\"\n [contextMenu]=\"cm\"\n [selectionMode]=\"state.selection.mode\"\n [(selection)]=\"selection\"\n layout=\"vertical\"\n [style]=\"inlineStyle\"\n [styleClass]=\"styleClass\"\n [propagateSelectionUp]=\"state.selection.propagateUp\"\n [propagateSelectionDown]=\"state.selection.propagateDown\"\n [loading]=\"state.loading.isLoading\"\n [loadingIcon]=\"state.loading.icon\"\n [filter]=\"false\"\n [filterMode]=\"state.filter.mode\"\n [filterPlaceholder]=\"state.filter.textPlaceholder\"\n [draggableNodes]=\"state.dragAndDrop.draggable\"\n [droppableNodes]=\"state.dragAndDrop.droppable\"\n [validateDrop]=\"state.dragAndDrop.validateDrop\"\n (onNodeContextMenuSelect)=\"onContextMenuOpen($event)\"\n (onNodeSelect)=\"onSelected($event)\"\n (onNodeUnselect)=\"onUnselected($event)\"\n (onNodeExpand)=\"onExpanded($event)\"\n (onNodeCollapse)=\"onCollapsed($event)\"\n (onNodeDrop)=\"onDropped($event)\"\n (onFilter)=\"onFiltered($event)\">\n\n <ng-template pTemplate=\"header\" *ngIf=\"state.header.isVisible\">\n\n <ng-container *ngIf=\"state.header.toolbar as toolbar\">\n <div class=\"p-grid p-nogutter p-justify-start p-align-center p-mb-2 gap-2\">\n <h3 *ngIf=\"state.header.title != null\" class=\"p-m-2 p-col\">{{state.header.title}}</h3>\n <div class=\"p-grid p-nogutter p-justify-start p-align-center gap-2\">\n <ng-container *ngFor=\"let button of state.header.toolbar.items; let i=index\">\n <button\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': button.color === 'secondary', 'p-button-success': button.color === 'success', 'p-button-info': button.color === 'info', 'p-button-warning': button.color === 'warning', 'p-button-help': button.color === 'help', 'p-button-danger': button.color === 'danger' }\"\n [label]=\"button.label\"\n [icon]=\"button.icon\"\n (click)=\"onToolbarButtonClick($event, button)\"\n [pTooltip]=\"button.tooltip\"></button>\n </ng-container>\n\n <button\n *ngIf=\"toolbar.nodeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.nodeExpandButtons.expandLabel\"\n icon=\"fas fa-angle-down\"\n (click)=\"expandNode()\"\n [pTooltip]=\"selection != null ? toolbar.nodeExpandButtons.expandTooltip : toolbar.nodeExpandButtons.disabledTooltip\"\n [disabled]=\"selection == null\">\n </button>\n\n <button\n *ngIf=\"toolbar.nodeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.nodeExpandButtons.collapseLabel\"\n icon=\"fas fa-angle-up\"\n (click)=\"collapseNode()\"\n [pTooltip]=\"selection != null ? toolbar.nodeExpandButtons.collapseTooltip : toolbar.nodeExpandButtons.disabledTooltip\"\n [disabled]=\"selection == null\">\n </button>\n\n <button\n *ngIf=\"toolbar.treeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.treeExpandButtons.expandLabel\"\n icon=\"fas fa-angle-double-down\"\n (click)=\"expandAll()\"\n [pTooltip]=\"\">\n </button>\n\n <button\n *ngIf=\"toolbar.treeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.treeExpandButtons.collapseLabel\"\n icon=\"fas fa-angle-double-up\"\n (click)=\"collapseAll()\"\n [pTooltip]=\"\">\n </button>\n\n </div>\n <span *ngIf=\"state.filter.show\" class=\"p-input-icon-left p-col p-col-12 p-md-4\">\n <i class=\"pi pi-search\"></i>\n <input #inputGlobal pInputText type=\"text\" (input)=\"dt._filter(inputGlobal.value)\" [placeholder]=\"state.filter.textPlaceholder\" />\n </span>\n </div>\n\n <div *ngIf=\"toolbarTemplate != null\" class=\"p-grid p-nogutter p-align-center p-mt-2\"\n [ngClass]=\"'p-justify-' + state.header.toolbar.alignment\">\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: dt }\"></ng-container>\n </div>\n </ng-container>\n\n </ng-template>\n\n <ng-template pTemplate=\"footer\" *ngIf=\"state.footer.isVisible\">\n <div class=\"p-grid p-nogutter p-justify-start p-align-center\">\n <span class=\"p-col p-mr-2\">FOOTER</span>\n </div>\n </ng-template>\n\n <ng-template pTemplate=\"empty\">\n <tr>\n <!-- <td [attr.colspan]=\"context.columns.length + ((context.state.actions.menu.isVisible || context.state.actions.customActions.isVisible) ? 1 : 0) + (context.state.caption.rowSelection.isEnabled ? 1 : 0)\"\n [ngStyle]=\"{ 'text-align': 'center' }\">{{ context.state.emptyFeedback.message }}</td> -->\n </tr>\n </ng-template>\n </p-tree>\n\n </ng-container>\n </ng-template>\n\n</ng-container>\n\n<ng-template #noStateTemplate>\n <!-- <ng-container *ngIf=\"emptyStateTemplate != null\">\n <ng-container *ngTemplateOutlet=\"emptyStateTemplate; context: { $implicit: {} }\"></ng-container>\n </ng-container> -->\n</ng-template>", components: [{ type: i1__namespace$g.ContextMenu, selector: "p-contextMenu", inputs: ["model", "global", "target", "style", "styleClass", "appendTo", "autoZIndex", "baseZIndex", "triggerEvent"], outputs: ["onShow", "onHide"] }, { type: i2__namespace$3.Tree, selector: "p-tree", inputs: ["value", "selectionMode", "selection", "style", "styleClass", "contextMenu", "layout", "draggableScope", "droppableScope", "draggableNodes", "droppableNodes", "metaKeySelection", "propagateSelectionUp", "propagateSelectionDown", "loading", "loadingIcon", "emptyMessage", "ariaLabel", "togglerAriaLabel", "ariaLabelledBy", "validateDrop", "filter", "filterBy", "filterMode", "filterPlaceholder", "filterLocale", "scrollHeight", "virtualScroll", "virtualNodeHeight", "minBufferPx", "maxBufferPx", "indentation", "trackBy"], outputs: ["selectionChange", "onNodeSelect", "onNodeUnselect", "onNodeExpand", "onNodeCollapse", "onNodeContextMenuSelect", "onNodeDrop", "onFilter"] }], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { type: i4__namespace.InputText, selector: "[pInputText]" }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
21055
+ SmzTreeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: SmzTreeComponent, selector: "smz-ui-tree", inputs: { state: "state", items: "items", loading: "loading", styleClass: "styleClass", inlineStyle: "inlineStyle", appendTo: "appendTo" }, outputs: { selectionChange: "selectionChange", parentChange: "parentChange", reorder: "reorder", blockedDrop: "blockedDrop", nodeExpanded: "nodeExpanded", nodeCollapsed: "nodeCollapsed", treeExpanded: "treeExpanded", nodeDropped: "nodeDropped" }, providers: [i1$6.TreeDragDropService], queries: [{ propertyName: "templates", predicate: i1$6.PrimeTemplate }], usesOnChanges: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"state; else noStateTemplate\">\n\n <ng-container\n *ngIf=\"(state.emptyFeedback != null && (state.emptyFeedback.extraInfo || state.emptyFeedback.image || state.emptyFeedback.actionButton)) && (items != null && items.length === 0); else treeTemplate\">\n <!-- <smz-data-info\n [image]=\"context.state.emptyFeedback.image\"\n [message]=\"context.state.emptyFeedback.message\"\n [callbackInfo]=\"context.state.emptyFeedback.extraInfo\"\n [callbackLabel]=\"context.state.emptyFeedback.actionButton?.label\"\n (clicked)=\"context.state.emptyFeedback.actionButton?.callback()\">\n\n <ng-template pTemplate=\"actions\">\n <ng-container *ngTemplateOutlet=\"emptyActionsTemplate; context: { $implicit: {} }\"></ng-container>\n </ng-template>\n\n </smz-data-info> -->\n </ng-container>\n\n <ng-template #treeTemplate>\n\n <ng-container *ngIf=\"items\">\n <p-contextMenu #cm [model]=\"menuItems\" [appendTo]=\"appendTo\" [styleClass]=\"menuItems == null || menuItems?.length === 0 ? 'invisible-important' : ''\"></p-contextMenu>\n <p-tree #dt [value]=\"items\"\n scrollHeight=\"flex\"\n [contextMenu]=\"cm\"\n [selectionMode]=\"state.selection.mode\"\n [(selection)]=\"selection\"\n layout=\"vertical\"\n [style]=\"inlineStyle\"\n [styleClass]=\"styleClass\"\n [propagateSelectionUp]=\"state.selection.propagateUp\"\n [propagateSelectionDown]=\"state.selection.propagateDown\"\n [loading]=\"state.loading.isLoading\"\n [loadingIcon]=\"state.loading.icon\"\n [filter]=\"false\"\n [filterMode]=\"state.filter.mode\"\n [filterPlaceholder]=\"state.filter.textPlaceholder\"\n [draggableNodes]=\"state.dragAndDrop.draggable\"\n [droppableNodes]=\"state.dragAndDrop.droppable\"\n [validateDrop]=\"state.dragAndDrop.validateDrop\"\n (onNodeContextMenuSelect)=\"onContextMenuOpen($event)\"\n (onNodeSelect)=\"onSelected($event)\"\n (onNodeUnselect)=\"onUnselected($event)\"\n (onNodeExpand)=\"onExpanded($event)\"\n (onNodeCollapse)=\"onCollapsed($event)\"\n (onNodeDrop)=\"onDropped($event)\"\n (onFilter)=\"onFiltered($event)\">\n\n <ng-template pTemplate=\"header\" *ngIf=\"state.header.isVisible\">\n\n <ng-container *ngIf=\"state.header.toolbar as toolbar\">\n <div class=\"p-grid p-nogutter p-justify-start p-align-center p-mb-2 gap-2\">\n <h3 *ngIf=\"state.header.title != null\" class=\"p-m-2 p-col\">{{state.header.title}}</h3>\n <div class=\"p-grid p-nogutter p-justify-start p-align-center gap-2\">\n <ng-container *ngFor=\"let button of state.header.toolbar.items; let i=index\">\n <button\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': button.color === 'secondary', 'p-button-success': button.color === 'success', 'p-button-info': button.color === 'info', 'p-button-warning': button.color === 'warning', 'p-button-help': button.color === 'help', 'p-button-danger': button.color === 'danger' }\"\n [label]=\"button.label\"\n [icon]=\"button.icon\"\n (click)=\"onToolbarButtonClick($event, button)\"\n [pTooltip]=\"button.tooltip\"></button>\n </ng-container>\n\n <button\n *ngIf=\"toolbar.nodeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.nodeExpandButtons.expandLabel\"\n icon=\"fas fa-angle-down\"\n (click)=\"expandNode()\"\n [pTooltip]=\"selection != null ? toolbar.nodeExpandButtons.expandTooltip : toolbar.nodeExpandButtons.disabledTooltip\"\n [disabled]=\"selection == null\">\n </button>\n\n <button\n *ngIf=\"toolbar.nodeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.nodeExpandButtons.collapseLabel\"\n icon=\"fas fa-angle-up\"\n (click)=\"collapseNode()\"\n [pTooltip]=\"selection != null ? toolbar.nodeExpandButtons.collapseTooltip : toolbar.nodeExpandButtons.disabledTooltip\"\n [disabled]=\"selection == null\">\n </button>\n\n <button\n *ngIf=\"toolbar.treeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.treeExpandButtons.expandLabel\"\n icon=\"fas fa-angle-double-down\"\n (click)=\"expandAll()\"\n [pTooltip]=\"\">\n </button>\n\n <button\n *ngIf=\"toolbar.treeExpandButtons.isVisible === true\"\n pButton\n pRipple\n type=\"button\"\n [ngClass]=\"{ 'p-button-text': toolbar.buttonType.endsWith('borderless'), 'p-button-outlined': toolbar.buttonType.endsWith('outlined'), 'p-button-rounded': toolbar.buttonType.startsWith('rounded'), 'p-button-secondary': true }\"\n [label]=\"toolbar.treeExpandButtons.collapseLabel\"\n icon=\"fas fa-angle-double-up\"\n (click)=\"collapseAll()\"\n [pTooltip]=\"\">\n </button>\n\n </div>\n <span *ngIf=\"state.filter.show\" class=\"p-input-icon-left p-col p-col-12 p-md-4\">\n <i class=\"pi pi-search\"></i>\n <input #inputGlobal pInputText type=\"text\" (input)=\"dt._filter(inputGlobal.value)\" [placeholder]=\"state.filter.textPlaceholder\" />\n </span>\n </div>\n\n <div *ngIf=\"toolbarTemplate != null\" class=\"p-grid p-nogutter p-align-center p-mt-2\"\n [ngClass]=\"'p-justify-' + state.header.toolbar.alignment\">\n <ng-container *ngTemplateOutlet=\"toolbarTemplate; context: { $implicit: dt }\"></ng-container>\n </div>\n </ng-container>\n\n </ng-template>\n\n <ng-template pTemplate=\"footer\" *ngIf=\"state.footer.isVisible\">\n <div class=\"p-grid p-nogutter p-justify-start p-align-center\">\n <span class=\"p-col p-mr-2\">FOOTER</span>\n </div>\n </ng-template>\n\n <ng-container *ngFor=\"let content of contentTemplates\">\n <ng-template let-node [pTemplate]=\"content.type\">\n <ng-container *ngTemplateOutlet=\"content.template; context: { $implicit: node }\"></ng-container>\n </ng-template>\n </ng-container>\n\n <ng-template pTemplate=\"empty\">\n <tr>\n <!-- <td [attr.colspan]=\"context.columns.length + ((context.state.actions.menu.isVisible || context.state.actions.customActions.isVisible) ? 1 : 0) + (context.state.caption.rowSelection.isEnabled ? 1 : 0)\"\n [ngStyle]=\"{ 'text-align': 'center' }\">{{ context.state.emptyFeedback.message }}</td> -->\n </tr>\n </ng-template>\n </p-tree>\n\n </ng-container>\n </ng-template>\n\n</ng-container>\n\n<ng-template #noStateTemplate>\n <!-- <ng-container *ngIf=\"emptyStateTemplate != null\">\n <ng-container *ngTemplateOutlet=\"emptyStateTemplate; context: { $implicit: {} }\"></ng-container>\n </ng-container> -->\n</ng-template>", components: [{ type: i1__namespace$g.ContextMenu, selector: "p-contextMenu", inputs: ["model", "global", "target", "style", "styleClass", "appendTo", "autoZIndex", "baseZIndex", "triggerEvent"], outputs: ["onShow", "onHide"] }, { type: i2__namespace$3.Tree, selector: "p-tree", inputs: ["value", "selectionMode", "selection", "style", "styleClass", "contextMenu", "layout", "draggableScope", "droppableScope", "draggableNodes", "droppableNodes", "metaKeySelection", "propagateSelectionUp", "propagateSelectionDown", "loading", "loadingIcon", "emptyMessage", "ariaLabel", "togglerAriaLabel", "ariaLabelledBy", "validateDrop", "filter", "filterBy", "filterMode", "filterPlaceholder", "filterLocale", "scrollHeight", "virtualScroll", "virtualNodeHeight", "minBufferPx", "maxBufferPx", "indentation", "trackBy"], outputs: ["selectionChange", "onNodeSelect", "onNodeUnselect", "onNodeExpand", "onNodeCollapse", "onNodeContextMenuSelect", "onNodeDrop", "onFilter"] }], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace$1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { type: i4__namespace.InputText, selector: "[pInputText]" }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
21045
21056
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SmzTreeComponent, decorators: [{
21046
21057
  type: i0.Component,
21047
21058
  args: [{