tnx-shared 5.3.219 → 5.3.221

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.
@@ -1366,6 +1366,7 @@
1366
1366
  _this.isHtmlLabel = false;
1367
1367
  _this.isHorizontallyLabel = false;
1368
1368
  _this.order = 0;
1369
+ _this.showTooltip = true;
1369
1370
  for (var key in init) {
1370
1371
  _this[key] = init[key];
1371
1372
  }
@@ -4838,6 +4839,12 @@
4838
4839
  var weekdays = ['Chủ nhật', 'Thứ hai', 'Thứ ba', 'Thứ tư', 'Thứ năm', 'Thứ sáu', 'Thứ bảy'];
4839
4840
  return weekdays[date.getDay()];
4840
4841
  };
4842
+ CommonService.prototype.getQuarterFromDate = function (date) {
4843
+ if (!date) {
4844
+ date = new Date();
4845
+ }
4846
+ return Math.floor((date.getMonth() + 3) / 3);
4847
+ };
4841
4848
  return CommonService;
4842
4849
  }());
4843
4850
  CommonService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CommonService_Factory() { return new CommonService(i0__namespace.ɵɵinject(ModuleConfigService)); }, token: CommonService, providedIn: "root" });
@@ -15214,7 +15221,10 @@
15214
15221
  if (this.isViewMode) {
15215
15222
  schema.disabled = true;
15216
15223
  }
15217
- if (schema.label && !schema.fullLabel) {
15224
+ if (!schema.showTooltip) {
15225
+ schema.fullLabel = null;
15226
+ }
15227
+ else if (schema.label && !schema.fullLabel) {
15218
15228
  schema.fullLabel = schema.label;
15219
15229
  }
15220
15230
  if (schema['isReadonly']) {