tnx-shared 5.1.341 → 5.1.344

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.
Files changed (35) hide show
  1. package/bundles/tnx-shared.umd.js +91 -49
  2. package/bundles/tnx-shared.umd.js.map +1 -1
  3. package/bundles/tnx-shared.umd.min.js +1 -1
  4. package/bundles/tnx-shared.umd.min.js.map +1 -1
  5. package/classes/base/list-base.d.ts.map +1 -1
  6. package/components/common-app-component/app.menu.component.d.ts.map +1 -1
  7. package/components/crud/crud-form/crud-form.component.d.ts.map +1 -1
  8. package/components/splash-component/splash-component-v1/splash-component-v1.component.d.ts.map +1 -1
  9. package/components/splash-component/splash-component-v2/splash-component-v2.component.d.ts.map +1 -1
  10. package/components/splash-component/splash-component.component.d.ts.map +1 -1
  11. package/components/statemachines/models/enums.d.ts +1 -0
  12. package/components/statemachines/models/enums.d.ts.map +1 -1
  13. package/esm2015/classes/base/list-base.js +13 -8
  14. package/esm2015/components/common-app-component/app.menu.component.js +2 -4
  15. package/esm2015/components/crud/crud-form/crud-form.component.js +4 -4
  16. package/esm2015/components/crud/crud-list/crud-list.component.js +2 -2
  17. package/esm2015/components/splash-component/splash-component-v1/splash-component-v1.component.js +4 -1
  18. package/esm2015/components/splash-component/splash-component-v2/splash-component-v2.component.js +4 -1
  19. package/esm2015/components/splash-component/splash-component.component.js +4 -1
  20. package/esm2015/components/statemachines/models/constants.js +14 -14
  21. package/esm2015/components/statemachines/models/enums.js +2 -2
  22. package/esm2015/components/tn-dialog/tn-dialog.component.js +2 -2
  23. package/esm2015/services/common.service.js +39 -32
  24. package/esm2015/services/menu.service.js +20 -1
  25. package/esm2015/services/permission.service.js +1 -1
  26. package/esm2015/services/user.service.js +1 -1
  27. package/fesm2015/tnx-shared.js +95 -57
  28. package/fesm2015/tnx-shared.js.map +1 -1
  29. package/package.json +2 -2
  30. package/services/common.service.d.ts.map +1 -1
  31. package/services/menu.service.d.ts +1 -0
  32. package/services/menu.service.d.ts.map +1 -1
  33. package/services/permission.service.d.ts.map +1 -1
  34. package/services/user.service.d.ts.map +1 -1
  35. package/tnx-shared.metadata.json +1 -1
@@ -2902,8 +2902,8 @@
2902
2902
  result[field] = data;
2903
2903
  }
2904
2904
  else {
2905
- if (typeof result[field] === 'undefined' ||
2906
- !_.isObject(result[field])) {
2905
+ if (typeof result[field] === 'undefined'
2906
+ || !_.isObject(result[field])) {
2907
2907
  result[field] = {};
2908
2908
  }
2909
2909
  result = result[field];
@@ -2971,8 +2971,8 @@
2971
2971
  });
2972
2972
  }
2973
2973
  if (colVal) {
2974
- rowString +=
2975
- colVal
2974
+ rowString
2975
+ += colVal
2976
2976
  .toString()
2977
2977
  .replace(',', '.')
2978
2978
  .replace('\n', '')
@@ -3046,8 +3046,8 @@
3046
3046
  });
3047
3047
  }
3048
3048
  if (colVal) {
3049
- rowString +=
3050
- colVal
3049
+ rowString
3050
+ += colVal
3051
3051
  .toString()
3052
3052
  .replace(',', '.')
3053
3053
  .replace('\n', '')
@@ -3123,8 +3123,8 @@
3123
3123
  });
3124
3124
  }
3125
3125
  if (colVal) {
3126
- rowString +=
3127
- colVal
3126
+ rowString
3127
+ += colVal
3128
3128
  .toString()
3129
3129
  .replace(',', '.')
3130
3130
  .replace('\n', '')
@@ -3184,11 +3184,11 @@
3184
3184
  };
3185
3185
  CommonService.prototype.getLabel = function (item, textField, textField2, prefixTextField2) {
3186
3186
  if (textField2) {
3187
- return (item[textField] +
3188
- ' - ' +
3189
- prefixTextField2 +
3190
- ' ' +
3191
- item[textField2]);
3187
+ return (item[textField]
3188
+ + ' - '
3189
+ + prefixTextField2
3190
+ + ' '
3191
+ + item[textField2]);
3192
3192
  }
3193
3193
  else {
3194
3194
  return item[textField];
@@ -3536,8 +3536,9 @@
3536
3536
  return ("DEFAULT_" + action).toUpperCase();
3537
3537
  };
3538
3538
  CommonService.prototype.cloneObject = function (obj) {
3539
- if (obj !== undefined)
3539
+ if (obj !== undefined) {
3540
3540
  return JSON.parse(JSON.stringify(obj));
3541
+ }
3541
3542
  return undefined;
3542
3543
  };
3543
3544
  CommonService.prototype.setProperty = function (prop, val, model) {
@@ -3617,10 +3618,10 @@
3617
3618
  words.forEach(function (word) {
3618
3619
  if (word.trim() != '') {
3619
3620
  if (word.length > 1) {
3620
- result +=
3621
- word.substring(0, 1).toUpperCase() +
3622
- word.substring(1) +
3623
- ' ';
3621
+ result
3622
+ += word.substring(0, 1).toUpperCase()
3623
+ + word.substring(1)
3624
+ + ' ';
3624
3625
  }
3625
3626
  else {
3626
3627
  result += word.toUpperCase() + ' ';
@@ -3659,22 +3660,26 @@
3659
3660
  return n !== Infinity && String(n) === str;
3660
3661
  };
3661
3662
  CommonService.prototype.hasAnyMask = function () {
3662
- return (document.body.querySelector('div[class~="ui-dialog-mask"]') ||
3663
- document.body.querySelector('div[class~="ui-sidebar-mask"]'));
3663
+ return (document.body.querySelector('div[class~="ui-dialog-mask"]')
3664
+ || document.body.querySelector('div[class~="ui-sidebar-mask"]'));
3664
3665
  };
3665
3666
  CommonService.prototype.safeStringify = function (data) {
3666
3667
  var item = stringify__default['default'].stableStringify(data, null, 2);
3667
3668
  return item;
3668
3669
  };
3669
3670
  CommonService.prototype.compareString = function (value1, value2) {
3670
- if (value1 == null && value2 != null)
3671
+ if (value1 == null && value2 != null) {
3671
3672
  return -1;
3672
- else if (value1 != null && value2 == null)
3673
+ }
3674
+ else if (value1 != null && value2 == null) {
3673
3675
  return 1;
3674
- else if (value1 == null && value2 == null)
3676
+ }
3677
+ else if (value1 == null && value2 == null) {
3675
3678
  return 0;
3676
- else if (typeof value1 === 'string' && typeof value2 === 'string')
3679
+ }
3680
+ else if (typeof value1 === 'string' && typeof value2 === 'string') {
3677
3681
  return value1.localeCompare(value2);
3682
+ }
3678
3683
  else {
3679
3684
  return 0;
3680
3685
  }
@@ -3873,13 +3878,15 @@
3873
3878
  };
3874
3879
  CommonService.prototype.isSameArray = function (array1, array2) {
3875
3880
  var e_4, _b;
3876
- if (array1.length != array2.length)
3881
+ if (array1.length != array2.length) {
3877
3882
  return false;
3883
+ }
3878
3884
  try {
3879
3885
  for (var array1_1 = __values(array1), array1_1_1 = array1_1.next(); !array1_1_1.done; array1_1_1 = array1_1.next()) {
3880
3886
  var item = array1_1_1.value;
3881
- if (!array2.some(function (q) { return q == item; }))
3887
+ if (!array2.some(function (q) { return q == item; })) {
3882
3888
  return false;
3889
+ }
3883
3890
  }
3884
3891
  }
3885
3892
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
@@ -11746,7 +11753,7 @@
11746
11753
  (function (EnumUserRule) {
11747
11754
  // NGUOI_TAO = 1,
11748
11755
  EnumUserRule[EnumUserRule["CAP_TREN"] = 2] = "CAP_TREN";
11749
- // NGUOI_CUOI_CUNG = 3,
11756
+ EnumUserRule[EnumUserRule["NGUOI_CUOI_CUNG"] = 3] = "NGUOI_CUOI_CUNG";
11750
11757
  EnumUserRule[EnumUserRule["NGUOI_THAM_GIA_QUY_TRINH"] = 4] = "NGUOI_THAM_GIA_QUY_TRINH";
11751
11758
  // Cấp trên mà xử lý bản ghi đối tượng trình lên
11752
11759
  // CAP_TREN_DA_GUI = 5,
@@ -20226,10 +20233,10 @@
20226
20233
  CrudListComponent.prototype.extendColumns = function (cols, appendCol) {
20227
20234
  var _this = this;
20228
20235
  if (appendCol === void 0) { appendCol = true; }
20236
+ this.setting.advanceData.fieldNeedGetRef = [];
20229
20237
  if (!cols) {
20230
20238
  return;
20231
20239
  }
20232
- this.setting.advanceData.fieldNeedGetRef = [];
20233
20240
  var temp = [];
20234
20241
  var tmpCols = __spread(cols);
20235
20242
  if (this.setting.columnSetting.details) {
@@ -24991,14 +24998,17 @@
24991
24998
  dataSource: dataSource,
24992
24999
  allowFilter: this.setting.allowFilterWorkflowColumn
24993
25000
  });
24994
- this.setting.advanceData.fieldNeedGetRef.unshift(colParent);
25001
+ // Nếu chưa có this.setting.advanceData.fieldNeedGetRef thì bên crud-list sẽ add cột này sau
25002
+ if (this.setting.advanceData.fieldNeedGetRef) {
25003
+ this.setting.advanceData.fieldNeedGetRef.unshift(colParent);
25004
+ }
24995
25005
  var children = Object.assign(Object.assign({}, colParent), { rawColumn: colParent, controlType: exports.ControlType.dropdown, dataType: colParent.dataTypeRefField, field: 'str' + colParent.field, allowFilter: colParent.allowFilter, sort: false, visible: !this.setting.hiddenWorkflowColumn });
24996
25006
  colParent.visible = false;
24997
25007
  this.setting.cols.push(colParent, children);
24998
- this.crudList.formatColumns([colParent, children]);
24999
- // this.setting.cols.push(colParent);
25000
- // this.crudList.formatColumns([colParent]);
25001
- this.crudList.buildFilterColumn([colParent]);
25008
+ if (this.crudList) {
25009
+ this.crudList.formatColumns([colParent, children]);
25010
+ this.crudList.buildFilterColumn([colParent]);
25011
+ }
25002
25012
  var userCurrent = this._userService.getCurrentUser();
25003
25013
  if (userCurrent.userName == 'admin') {
25004
25014
  var colForAdmin = new ColumnSchemaBase({
@@ -25011,8 +25021,10 @@
25011
25021
  sort: false
25012
25022
  });
25013
25023
  this.setting.cols.push(colForAdmin);
25014
- this.crudList.formatColumns([colForAdmin]);
25015
- this.crudList.buildFilterColumn([colForAdmin]);
25024
+ if (this.crudList) {
25025
+ this.crudList.formatColumns([colForAdmin]);
25026
+ this.crudList.buildFilterColumn([colForAdmin]);
25027
+ }
25016
25028
  }
25017
25029
  };
25018
25030
  ListBase.prototype.getDataSourceTrangThaiWorkflow = function () {
@@ -31275,6 +31287,7 @@
31275
31287
  return [4 /*yield*/, rs.text()];
31276
31288
  case 1:
31277
31289
  menu = _b.apply(_a, [_c.sent()]);
31290
+ this.setDefaultIcon(menu, 0);
31278
31291
  return [4 /*yield*/, this.setMenuItems(menu)];
31279
31292
  case 2:
31280
31293
  _c.sent();
@@ -31286,6 +31299,25 @@
31286
31299
  });
31287
31300
  });
31288
31301
  };
31302
+ MenuService.prototype.setDefaultIcon = function (menus, level) {
31303
+ var _this = this;
31304
+ if (!menus)
31305
+ return;
31306
+ menus.forEach(function (itemMenu) {
31307
+ if (!itemMenu.icon) {
31308
+ if (level === 0) {
31309
+ itemMenu.icon = 'pi pi-th-large';
31310
+ }
31311
+ else if (level === 1) {
31312
+ itemMenu.icon = 'pi pi-star-o';
31313
+ }
31314
+ else {
31315
+ itemMenu.icon = 'pi pi-circle-on';
31316
+ }
31317
+ }
31318
+ _this.setDefaultIcon(itemMenu.items, level + 1);
31319
+ });
31320
+ };
31289
31321
  return MenuService;
31290
31322
  }());
31291
31323
  MenuService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MenuService_Factory() { return new MenuService(i0.ɵɵinject(ModuleConfigService), i0.ɵɵinject(PermissionService), i0.ɵɵinject(CommonService), i0.ɵɵinject(ApplicationContextService)); }, token: MenuService, providedIn: "root" });
@@ -31369,7 +31401,7 @@
31369
31401
  AppSubMenuComponent.decorators = [
31370
31402
  { type: i0.Component, args: [{
31371
31403
  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 *ngIf=\"level == 0\" [ngClass]=\"'pi pi-th-large'\" [attr.level]=\"level\"></i>\n <i *ngIf=\"level == 1\" [ngClass]=\"'pi pi-star-o'\" [attr.level]=\"level\"></i>\n <i *ngIf=\"level > 1\" [ngClass]=\"'pi pi-circle-on'\" [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 ",
31404
+ 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
31405
  animations: [
31374
31406
  animations.trigger('children', [
31375
31407
  animations.state('hiddenAnimated', animations.style({
@@ -43770,6 +43802,9 @@
43770
43802
  }
43771
43803
  }
43772
43804
  });
43805
+ if (_this.appSwitcherItems.length === 1) {
43806
+ _this.switchApp(_this.appSwitcherItems[0]);
43807
+ }
43773
43808
  }
43774
43809
  });
43775
43810
  };
@@ -43977,6 +44012,9 @@
43977
44012
  }
43978
44013
  }
43979
44014
  });
44015
+ if (_this.appSwitcherItems.length === 1) {
44016
+ _this.switchApp(_this.appSwitcherItems[0]);
44017
+ }
43980
44018
  }
43981
44019
  });
43982
44020
  };
@@ -44190,6 +44228,9 @@
44190
44228
  }
44191
44229
  }
44192
44230
  });
44231
+ if (_this.appSwitcherItems.length === 1) {
44232
+ _this.switchApp(_this.appSwitcherItems[0]);
44233
+ }
44193
44234
  }
44194
44235
  });
44195
44236
  };
@@ -44366,32 +44407,32 @@
44366
44407
  { id: ɵ4, ten: 'Đơn vị' },
44367
44408
  { id: ɵ5, ten: 'Nhóm người dùng' },
44368
44409
  ];
44369
- var ɵ6 = exports.EnumUserRule.CAP_TREN, ɵ7 = exports.EnumUserRule.NGUOI_THAM_GIA_QUY_TRINH, ɵ8 = exports.EnumUserRule.NGUOI_NHAN, ɵ9 = exports.EnumUserRule.NGUOI_THEO_DOI, ɵ10 = exports.EnumUserRule.NGUOI_THAO_TAC;
44410
+ var ɵ6 = exports.EnumUserRule.CAP_TREN, ɵ7 = exports.EnumUserRule.NGUOI_CUOI_CUNG, ɵ8 = exports.EnumUserRule.NGUOI_THAM_GIA_QUY_TRINH, ɵ9 = exports.EnumUserRule.NGUOI_NHAN, ɵ10 = exports.EnumUserRule.NGUOI_THEO_DOI, ɵ11 = exports.EnumUserRule.NGUOI_THAO_TAC;
44370
44411
  var DataSourceUserRule = [
44371
44412
  // { id: EnumUserRule.NGUOI_TAO, ten: 'Người tạo' },
44372
44413
  { id: ɵ6, ten: 'Cấp trên' },
44373
44414
  // { id: EnumUserRule.CAP_TREN, ten: 'Cấp dưới' },
44374
44415
  // { id: EnumUserRule.CAP_TREN_DA_GUI, ten: 'Cấp trên đã trình' },
44375
- // { id: EnumUserRule.NGUOI_CUOI_CUNG, ten: 'Người cuối cùng' },
44376
- { id: ɵ7, ten: 'Người tham gia quy trình' },
44416
+ { id: ɵ7, ten: 'Người cuối cùng' },
44417
+ { id: ɵ8, ten: 'Người tham gia quy trình' },
44377
44418
  // { id: EnumUserRule.NGUOI_DA_NHAN, ten: 'Người đã nhận', tooltip: 'Người đã từng nhận' },
44378
- { id: ɵ8, ten: 'Người nhận' },
44379
- { id: ɵ9, ten: 'Người theo dõi' },
44380
- { id: ɵ10, ten: 'Người thực hiện thao tác' }
44419
+ { id: ɵ9, ten: 'Người nhận' },
44420
+ { id: ɵ10, ten: 'Người theo dõi' },
44421
+ { id: ɵ11, ten: 'Người thực hiện thao tác' }
44381
44422
  ];
44382
- var ɵ11 = exports.EnumUserRule.CAP_TREN, ɵ12 = exports.EnumUserRule.NGUOI_THAM_GIA_QUY_TRINH;
44423
+ var ɵ12 = exports.EnumUserRule.CAP_TREN, ɵ13 = exports.EnumUserRule.NGUOI_THAM_GIA_QUY_TRINH;
44383
44424
  var DataSourceUserSender = [
44384
44425
  // { id: EnumUserRule.NGUOI_TAO, ten: 'Người tạo' },
44385
- { id: ɵ11, ten: 'Cấp trên' },
44426
+ { id: ɵ12, ten: 'Cấp trên' },
44386
44427
  // { id: EnumUserRule.CAP_TREN_DA_GUI, ten: 'Cấp trên đã trình' },
44387
44428
  // { id: EnumUserRule.NGUOI_CUOI_CUNG, ten: 'Người cuối cùng' },
44388
- { id: ɵ12, ten: 'Người tham gia quy trình' }
44429
+ { id: ɵ13, ten: 'Người tham gia quy trình' }
44389
44430
  ];
44390
- var ɵ13 = exports.EnumWorkflowCheckboxOption.TAO_CONG_VIEC, ɵ14 = exports.EnumWorkflowCheckboxOption.AUTO_START_TASK;
44431
+ var ɵ14 = exports.EnumWorkflowCheckboxOption.TAO_CONG_VIEC, ɵ15 = exports.EnumWorkflowCheckboxOption.AUTO_START_TASK;
44391
44432
  var DataSourceWorkflowCheckboxOption = [
44392
- { id: ɵ13, ten: 'Tạo công việc' },
44433
+ { id: ɵ14, ten: 'Tạo công việc' },
44393
44434
  // { id: EnumWorkflowCheckboxOption.AUTO_NEXT_STEP, ten: 'Tự động chuyển bước đầu tiên' },
44394
- { id: ɵ14, ten: 'Bắt đầu nhanh công việc' }
44435
+ { id: ɵ15, ten: 'Bắt đầu nhanh công việc' }
44395
44436
  ];
44396
44437
 
44397
44438
  function createJsPlumnInstance(containerId, options) {
@@ -48214,7 +48255,7 @@
48214
48255
  TnDialogComponent.decorators = [
48215
48256
  { type: i0.Component, args: [{
48216
48257
  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 && formBase && formBase.buttonTemplate\">\r\n <ng-container *ngTemplateOutlet=\"formBase.buttonTemplate\">\r\n </ng-container>\r\n </p-footer>\r\n <p-footer *ngIf=\"showFooter && footer\">\r\n <ng-container *ngTemplateOutlet=\"footer\"></ng-container>\r\n </p-footer>\r\n</p-dialog>",
48258
+ 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 <ng-container *ngIf=\"!formBase || !formBase.buttonTemplate\">\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 </ng-container>\r\n </p-footer>\r\n</p-dialog>",
48218
48259
  styles: [""]
48219
48260
  },] }
48220
48261
  ];
@@ -59816,6 +59857,7 @@
59816
59857
  exports.ɵ12 = ɵ12;
59817
59858
  exports.ɵ13 = ɵ13;
59818
59859
  exports.ɵ14 = ɵ14;
59860
+ exports.ɵ15 = ɵ15;
59819
59861
  exports.ɵ2 = ɵ2;
59820
59862
  exports.ɵ3 = ɵ3;
59821
59863
  exports.ɵ4 = ɵ4;