tnx-shared 5.3.220 → 5.3.222

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.
@@ -894,6 +894,7 @@ class FormSchemaBase extends SchemaBase {
894
894
  this.isHtmlLabel = false;
895
895
  this.isHorizontallyLabel = false;
896
896
  this.order = 0;
897
+ this.showTooltip = true;
897
898
  for (const key in init) {
898
899
  this[key] = init[key];
899
900
  }
@@ -3961,6 +3962,11 @@ class CommonService {
3961
3962
  }
3962
3963
  return Math.floor((date.getMonth() + 3) / 3);
3963
3964
  }
3965
+ generateIndex(index, maxLength = 8) {
3966
+ const stringIndex = `${index}`;
3967
+ const diff = (maxLength < stringIndex.length) ? 0 : maxLength - stringIndex.length;
3968
+ return `${Array(diff).map(x => '').join(' ')}${stringIndex}`;
3969
+ }
3964
3970
  }
3965
3971
  CommonService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CommonService_Factory() { return new CommonService(i0.ɵɵinject(ModuleConfigService)); }, token: CommonService, providedIn: "root" });
3966
3972
  CommonService.decorators = [
@@ -12811,7 +12817,10 @@ class CrudFormComponent extends ComponentBase {
12811
12817
  if (this.isViewMode) {
12812
12818
  schema.disabled = true;
12813
12819
  }
12814
- if (schema.label && !schema.fullLabel) {
12820
+ if (!schema.showTooltip) {
12821
+ schema.fullLabel = null;
12822
+ }
12823
+ else if (schema.label && !schema.fullLabel) {
12815
12824
  schema.fullLabel = schema.label;
12816
12825
  }
12817
12826
  if (schema['isReadonly']) {