tnx-shared 5.3.367 → 5.3.368

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.
@@ -3433,7 +3433,7 @@
3433
3433
  return this.showError(message, '', header);
3434
3434
  }
3435
3435
  };
3436
- NotifierService.prototype.showConfirm = function (message, header, icon, acceptVisible, rejectLabel, rejectIcon, acceptLabel, acceptIcon, accept, rejectFunc, acceptButtonStyleClass, rejectButtonStyleClass) {
3436
+ NotifierService.prototype.showConfirm = function (message, header, icon, acceptVisible, rejectLabel, rejectIcon, acceptLabel, acceptIcon, accept, rejectFunc, acceptButtonStyleClass, rejectButtonStyleClass, rejectVisible) {
3437
3437
  var _this = this;
3438
3438
  if (header === void 0) { header = 'Xác nhận'; }
3439
3439
  if (icon === void 0) { icon = 'pi pi-exclamation-triangle'; }
@@ -3446,12 +3446,14 @@
3446
3446
  if (rejectFunc === void 0) { rejectFunc = null; }
3447
3447
  if (acceptButtonStyleClass === void 0) { acceptButtonStyleClass = 'p-button-rounded p-button-text'; }
3448
3448
  if (rejectButtonStyleClass === void 0) { rejectButtonStyleClass = '"p-button-rounded p-button-text p-button-secondary'; }
3449
+ if (rejectVisible === void 0) { rejectVisible = true; }
3449
3450
  return new Promise(function (resolve, reject) {
3450
3451
  _this._confirmService.confirm({
3451
3452
  message: message,
3452
3453
  header: header,
3453
3454
  icon: icon,
3454
3455
  acceptVisible: acceptVisible,
3456
+ rejectVisible: rejectVisible,
3455
3457
  acceptIcon: acceptIcon,
3456
3458
  acceptLabel: acceptLabel,
3457
3459
  rejectLabel: rejectLabel,