tnx-shared 5.1.341 → 5.1.342
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/bundles/tnx-shared.umd.js +2 -2
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/components/common-app-component/app.menu.component.d.ts.map +1 -1
- package/esm2015/components/common-app-component/app.menu.component.js +2 -4
- package/esm2015/components/tn-dialog/tn-dialog.component.js +2 -2
- package/fesm2015/tnx-shared.js +2 -4
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -31369,7 +31369,7 @@
|
|
|
31369
31369
|
AppSubMenuComponent.decorators = [
|
|
31370
31370
|
{ type: i0.Component, args: [{
|
|
31371
31371
|
selector: '[app-submenu]',
|
|
31372
|
-
template: "\n <ng-template ngFor let-child let-i=\"index\" [ngForOf]=\"(root ? item : item.items)\">\n <li *ngIf=\"child.visible !== false\" [ngClass]=\"{'active-menuitem': child.activated, 'active-menuitem-2': !root}\">\n <a [href]=\"child.href\" class=\"ripplelink\" [attr.tabindex]=\"!visible ? '-1' : null\" [attr.level]=\"child.level\"\n [ngClass]=\"{'active-menuitem-routerlink': child.activated}\" (click)=\"itemClick($event,child)\" (mouseenter)=\"onMouseEnter(child)\"\n >\n <i
|
|
31372
|
+
template: "\n <ng-template ngFor let-child let-i=\"index\" [ngForOf]=\"(root ? item : item.items)\">\n <li *ngIf=\"child.visible !== false\" [ngClass]=\"{'active-menuitem': child.activated, 'active-menuitem-2': !root}\">\n <a [href]=\"child.href\" class=\"ripplelink\" [attr.tabindex]=\"!visible ? '-1' : null\" [attr.level]=\"child.level\"\n [ngClass]=\"{'active-menuitem-routerlink': child.activated}\" (click)=\"itemClick($event,child)\" (mouseenter)=\"onMouseEnter(child)\"\n >\n <i [ngClass]=\"child.icon\" [attr.level]=\"level\"></i>\n <span *ngIf=\"child.fullLabel\" class=\"menu-label\" [pTooltip]=\"child.fullLabel\" tooltipPosition=\"top\">\n {{child.label}}\n <b *ngIf=\"child.count\" class=\"count-container\">\n <span>{{child.count}}</span>\n </b>\n </span>\n <span *ngIf=\"!child.fullLabel\" class=\"menu-label\">\n {{child.label}}\n <b *ngIf=\"child.count\" class=\"count-container\">\n <span>{{child.count}}</span>\n </b>\n </span>\n <i *ngIf=\"child.items\" class=\"pi pi-angle-down menuitem-toggle-icon\"></i>\n </a>\n <ul *ngIf=\"child.items\" app-submenu [item]=\"child\" [level]=\"level + 1\" [visible]=\"child.activated\"\n [@children]=\"((_commonService.isSlim()||_commonService.isHorizontal()) && root ? (child.activated ? 'visible' : 'hidden') : child.activated) ? 'visibleAnimated' : 'hiddenAnimated'\">\n </ul>\n </li>\n </ng-template>\n ",
|
|
31373
31373
|
animations: [
|
|
31374
31374
|
animations.trigger('children', [
|
|
31375
31375
|
animations.state('hiddenAnimated', animations.style({
|
|
@@ -48214,7 +48214,7 @@
|
|
|
48214
48214
|
TnDialogComponent.decorators = [
|
|
48215
48215
|
{ type: i0.Component, args: [{
|
|
48216
48216
|
selector: 'tn-dialog',
|
|
48217
|
-
template: "<p-dialog #dialog [closeOnEscape]=\"closeOnEscape\" [appendTo]=\"'body'\" [focusOnShow]=\"false\" [focusTrap]=\"false\"\r\n [header]=\"header | translate\" [(visible)]=\"visible\" [modal]=\"modal\" [responsive]=\"true\" [maximizable]=\"maximizable\"\r\n [autoZIndex]=\"true\" [styleClass]=\"styleClass\" [maskStyleClass]=\"maskClass\"\r\n [style]=\"{'width': popupSize.width + 'px', 'min-width': popupSize.width + 'px', 'height': popupSize.height + 'px', 'min-height': popupSize.height + 'px'}\"\r\n (onShow)=\"handleShowDialog($event)\" (onHide)=\"handleHideDialog($event)\">\r\n <tn-custom-scrollbar #scrollbar [useDefaultScrollBar]=\"useDefaultScrollBar\" [class]=\"scrollBarStyleClass\"\r\n [config]=\"scrollConfig\" [style]=\"scrollStyle\" class=\"tn-dialog-scrollbar\">\r\n <ng-content></ng-content>\r\n </tn-custom-scrollbar>\r\n <p-footer *ngIf=\"showFooter
|
|
48217
|
+
template: "<p-dialog #dialog [closeOnEscape]=\"closeOnEscape\" [appendTo]=\"'body'\" [focusOnShow]=\"false\" [focusTrap]=\"false\"\r\n [header]=\"header | translate\" [(visible)]=\"visible\" [modal]=\"modal\" [responsive]=\"true\" [maximizable]=\"maximizable\"\r\n [autoZIndex]=\"true\" [styleClass]=\"styleClass\" [maskStyleClass]=\"maskClass\"\r\n [style]=\"{'width': popupSize.width + 'px', 'min-width': popupSize.width + 'px', 'height': popupSize.height + 'px', 'min-height': popupSize.height + 'px'}\"\r\n (onShow)=\"handleShowDialog($event)\" (onHide)=\"handleHideDialog($event)\">\r\n <tn-custom-scrollbar #scrollbar [useDefaultScrollBar]=\"useDefaultScrollBar\" [class]=\"scrollBarStyleClass\"\r\n [config]=\"scrollConfig\" [style]=\"scrollStyle\" class=\"tn-dialog-scrollbar\">\r\n <ng-content></ng-content>\r\n </tn-custom-scrollbar>\r\n <p-footer *ngIf=\"showFooter\">\r\n <p-footer *ngIf=\"formBase && formBase.buttonTemplate\">\r\n <ng-container *ngTemplateOutlet=\"formBase.buttonTemplate\">\r\n </ng-container>\r\n </p-footer>\r\n <p-footer *ngIf=\"footer\">\r\n <ng-container *ngTemplateOutlet=\"footer\"></ng-container>\r\n </p-footer>\r\n <p-footer *ngIf=\"!footer\">\r\n <button pButton preventTab type=\"button\" icon=\"pi pi-replay\" class=\"p-button-text p-button-secondary\"\r\n [label]=\"'FORM.CANCEL' | translate\" (click)=\"handleHideDialog($event)\"></button>\r\n </p-footer>\r\n </p-footer>\r\n</p-dialog>",
|
|
48218
48218
|
styles: [""]
|
|
48219
48219
|
},] }
|
|
48220
48220
|
];
|