tnx-shared 5.1.561 → 5.1.563

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.
@@ -5147,6 +5147,11 @@
5147
5147
  EnumTypeSplash["NEW_V2"] = "v2";
5148
5148
  EnumTypeSplash["NEW_V3"] = "v3";
5149
5149
  })(exports.EnumTypeSplash || (exports.EnumTypeSplash = {}));
5150
+ exports.EnumGioiTinh = void 0;
5151
+ (function (EnumGioiTinh) {
5152
+ EnumGioiTinh[EnumGioiTinh["NAM"] = 1] = "NAM";
5153
+ EnumGioiTinh[EnumGioiTinh["NU"] = 0] = "NU";
5154
+ })(exports.EnumGioiTinh || (exports.EnumGioiTinh = {}));
5150
5155
 
5151
5156
  var ExportItem = /** @class */ (function () {
5152
5157
  function ExportItem(init) {
@@ -6359,14 +6364,17 @@
6359
6364
  ]; };
6360
6365
 
6361
6366
  var CrudService = /** @class */ (function () {
6362
- function CrudService(_injector, _translateService, _loggerService, _commonService, datePipe, _notifierService) {
6367
+ function CrudService(_injector, _translateService, _loggerService, _commonService, datePipe, _notifierService, _moduleConfigService) {
6363
6368
  this._injector = _injector;
6364
6369
  this._translateService = _translateService;
6365
6370
  this._loggerService = _loggerService;
6366
6371
  this._commonService = _commonService;
6367
6372
  this.datePipe = datePipe;
6368
6373
  this._notifierService = _notifierService;
6374
+ this._moduleConfigService = _moduleConfigService;
6375
+ this.useIgnoreAllBaseFilter = false;
6369
6376
  this.getTraceId = function () { return sessionStorage.getItem('traceId'); };
6377
+ this.useIgnoreAllBaseFilter = this._moduleConfigService.getConfig().environment.useIgnoreAllBaseFilter || false;
6370
6378
  }
6371
6379
  CrudService.prototype.renderDateTime = function (datetime, format) {
6372
6380
  if (format === void 0) { format = 'fromNow'; }
@@ -6802,7 +6810,7 @@
6802
6810
  if (schema.baseService instanceof MasterDataService) {
6803
6811
  return schema.baseService.getDataDropdown(schema.groupCode, arrValue, this.createDropdownOptions(schema));
6804
6812
  }
6805
- if (!schema.plusUrl) {
6813
+ if (this.useIgnoreAllBaseFilter && !schema.plusUrl) {
6806
6814
  schema.plusUrl = 'IgnoreAllBaseFilter';
6807
6815
  }
6808
6816
  return schema.baseService.getDataDropdownByFilter([this._commonService.newFilter(schema.valueField, exports.Operator.in, arrValue)], this.createDropdownOptions(schema));
@@ -7472,7 +7480,7 @@
7472
7480
  };
7473
7481
  return CrudService;
7474
7482
  }());
7475
- CrudService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CrudService_Factory() { return new CrudService(i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject(i2__namespace.TranslateService), i0__namespace.ɵɵinject(LoggerService), i0__namespace.ɵɵinject(CommonService), i0__namespace.ɵɵinject(i4__namespace$1.DatePipe), i0__namespace.ɵɵinject(NotifierService)); }, token: CrudService, providedIn: "root" });
7483
+ CrudService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CrudService_Factory() { return new CrudService(i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject(i2__namespace.TranslateService), i0__namespace.ɵɵinject(LoggerService), i0__namespace.ɵɵinject(CommonService), i0__namespace.ɵɵinject(i4__namespace$1.DatePipe), i0__namespace.ɵɵinject(NotifierService), i0__namespace.ɵɵinject(ModuleConfigService)); }, token: CrudService, providedIn: "root" });
7476
7484
  CrudService.decorators = [
7477
7485
  { type: i0.Injectable, args: [{
7478
7486
  providedIn: 'root',
@@ -7484,7 +7492,8 @@
7484
7492
  { type: LoggerService },
7485
7493
  { type: CommonService },
7486
7494
  { type: i4$1.DatePipe },
7487
- { type: NotifierService }
7495
+ { type: NotifierService },
7496
+ { type: ModuleConfigService }
7488
7497
  ]; };
7489
7498
 
7490
7499
  var TreeNode = /** @class */ (function () {
@@ -10851,6 +10860,11 @@
10851
10860
  { id: ɵ1$2, ten: 'Sửa' },
10852
10861
  { id: ɵ2$2, ten: 'Xóa' }
10853
10862
  ];
10863
+ var ɵ3$1 = exports.EnumGioiTinh.NAM, ɵ4$1 = exports.EnumGioiTinh.NU;
10864
+ var DataSourceGioiTinh = [
10865
+ { id: ɵ3$1, ten: 'Nam' },
10866
+ { id: ɵ4$1, ten: 'Nữ' }
10867
+ ];
10854
10868
 
10855
10869
  var CanBo_HoSoService = /** @class */ (function (_super) {
10856
10870
  __extends(CanBo_HoSoService, _super);
@@ -65623,6 +65637,7 @@
65623
65637
  exports.DataFormBase = DataFormBase;
65624
65638
  exports.DataListBase = DataListBase;
65625
65639
  exports.DataSourceControlSchema = DataSourceControlSchema;
65640
+ exports.DataSourceGioiTinh = DataSourceGioiTinh;
65626
65641
  exports.DataSourcePermissionBase = DataSourcePermissionBase;
65627
65642
  exports.DataSourceStateType = DataSourceStateType;
65628
65643
  exports.DataSourceTargetType = DataSourceTargetType;
@@ -65961,8 +65976,6 @@
65961
65976
  exports["ɵ13"] = ɵ13;
65962
65977
  exports["ɵ14"] = ɵ14;
65963
65978
  exports["ɵ15"] = ɵ15;
65964
- exports["ɵ3"] = ɵ3;
65965
- exports["ɵ4"] = ɵ4;
65966
65979
  exports["ɵ5"] = ɵ5;
65967
65980
  exports["ɵ6"] = ɵ6;
65968
65981
  exports["ɵ7"] = ɵ7;