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.
- package/bundles/tnx-shared.umd.js +11 -1
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/classes/form-schema.d.ts +1 -0
- package/classes/form-schema.d.ts.map +1 -1
- package/components/crud/crud-form/crud-form.component.d.ts.map +1 -1
- package/esm2015/classes/form-schema.js +2 -1
- package/esm2015/components/crud/crud-form/crud-form.component.js +5 -2
- package/esm2015/services/common.service.js +6 -1
- package/fesm2015/tnx-shared.js +10 -1
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/services/common.service.d.ts +1 -0
- package/services/common.service.d.ts.map +1 -1
- package/tnx-shared.metadata.json +1 -1
|
@@ -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
|
}
|
|
@@ -4844,6 +4845,12 @@
|
|
|
4844
4845
|
}
|
|
4845
4846
|
return Math.floor((date.getMonth() + 3) / 3);
|
|
4846
4847
|
};
|
|
4848
|
+
CommonService.prototype.generateIndex = function (index, maxLength) {
|
|
4849
|
+
if (maxLength === void 0) { maxLength = 8; }
|
|
4850
|
+
var stringIndex = "" + index;
|
|
4851
|
+
var diff = (maxLength < stringIndex.length) ? 0 : maxLength - stringIndex.length;
|
|
4852
|
+
return "" + Array(diff).map(function (x) { return ''; }).join(' ') + stringIndex;
|
|
4853
|
+
};
|
|
4847
4854
|
return CommonService;
|
|
4848
4855
|
}());
|
|
4849
4856
|
CommonService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CommonService_Factory() { return new CommonService(i0__namespace.ɵɵinject(ModuleConfigService)); }, token: CommonService, providedIn: "root" });
|
|
@@ -15220,7 +15227,10 @@
|
|
|
15220
15227
|
if (this.isViewMode) {
|
|
15221
15228
|
schema.disabled = true;
|
|
15222
15229
|
}
|
|
15223
|
-
if (
|
|
15230
|
+
if (!schema.showTooltip) {
|
|
15231
|
+
schema.fullLabel = null;
|
|
15232
|
+
}
|
|
15233
|
+
else if (schema.label && !schema.fullLabel) {
|
|
15224
15234
|
schema.fullLabel = schema.label;
|
|
15225
15235
|
}
|
|
15226
15236
|
if (schema['isReadonly']) {
|