tnx-shared 5.3.433 → 5.3.435

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.
@@ -754,8 +754,17 @@
754
754
  }
755
755
  return next();
756
756
  }
757
- function __rewriteRelativeImportExtension(path, preserveJsx) {
757
+ function __rewriteRelativeImportExtension(path, preserveJsx, extraExtensions, ignoreCase) {
758
758
  if (typeof path === "string" && /^\.\.?\//.test(path)) {
759
+ if (extraExtensions) {
760
+ for (var extension in extraExtensions) {
761
+ var suffix = path.slice(-extension.length);
762
+ if (suffix === extension || ignoreCase && suffix.toLowerCase() === extension.toLowerCase()) {
763
+ var output = extraExtensions[extension];
764
+ return output === extension ? path : path.slice(0, -extension.length) + output;
765
+ }
766
+ }
767
+ }
759
768
  return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
760
769
  return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
761
770
  });
@@ -21824,8 +21833,11 @@
21824
21833
  new EntityPickerColumn({
21825
21834
  label: 'Email',
21826
21835
  code: 'email',
21827
- operator: exports.Operator.equal,
21836
+ dataType: 'string',
21837
+ // Tìm tương đối theo một phần email, ô tìm kiếm chung cũng tìm theo cột này
21838
+ operator: exports.Operator.contain,
21828
21839
  isOverrideFilter: true,
21840
+ fullTextSearch: true,
21829
21841
  width: '170px',
21830
21842
  }),
21831
21843
  new EntityPickerColumn({
@@ -21896,8 +21908,11 @@
21896
21908
  new EntityPickerColumn({
21897
21909
  label: 'Email',
21898
21910
  code: 'email',
21899
- operator: exports.Operator.equal,
21911
+ dataType: 'string',
21912
+ // Tìm tương đối theo một phần email, ô tìm kiếm chung cũng tìm theo cột này
21913
+ operator: exports.Operator.contain,
21900
21914
  isOverrideFilter: true,
21915
+ fullTextSearch: true,
21901
21916
  width: '170px',
21902
21917
  })
21903
21918
  ];
@@ -53749,7 +53764,7 @@
53749
53764
  { type: i0.Component, args: [{
53750
53765
  selector: 'radio-button-list',
53751
53766
  template: "<div class=\"p-grid tn-check-box-list\" [class.flex-end]=\"control.align == 'right'\"\n [class.flex-center]=\"control.align == 'center'\">\n <div [class]=\"classCheckBox\" *ngFor=\"let chk of dataSourceInternal\">\n <p-radioButton [disabled]=\"disabled ? true : null\" [label]=\"chk.label\" [value]=\"chk.value\"\n [(ngModel)]=\"_value\" (onClick)=\"change($event)\">\n </p-radioButton>\n </div>\n</div>\n",
53752
- styles: [".tn-check-box-list.p-grid{margin-bottom:-.5em}.btn-clear{height:30px;cursor:pointer;border:none;background:#337ab7;color:#fff;border-radius:3px;padding:0 10px;margin:1px .5em 0}.p-col-horizontal{padding:.5em}::ng-deep .tn-check-box-list{position:relative}::ng-deep .tn-check-box-list.flex-end{justify-content:flex-end}::ng-deep .tn-check-box-list.flex-center{justify-content:center}::ng-deep .tn-check-box-list label{cursor:pointer}"]
53767
+ styles: [".tn-check-box-list.p-grid{margin-bottom:-.5em}.btn-clear{height:30px;cursor:pointer;border:none;background:#337ab7;color:#fff;border-radius:3px;padding:0 10px;margin:1px .5em 0}.p-col-horizontal{padding:.5em}::ng-deep .tn-check-box-list{position:relative}::ng-deep .tn-check-box-list.flex-end{justify-content:flex-end}::ng-deep .tn-check-box-list.flex-center{justify-content:center}::ng-deep .tn-check-box-list label{cursor:pointer}::ng-deep .tn-check-box-list .p-radiobutton-box.p-disabled.p-highlight{background:#2196f3!important}"]
53753
53768
  },] }
53754
53769
  ];
53755
53770
  RadioButtonListComponent.ctorParameters = function () { return [