tnx-shared 5.3.221 → 5.3.223
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 +8 -0
- 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/dropdown/quick-add-form/quick-add-form.component.d.ts.map +1 -1
- package/esm2015/classes/form-schema.js +2 -1
- package/esm2015/components/dropdown/quick-add-form/quick-add-form.component.js +2 -1
- package/esm2015/services/common.service.js +6 -1
- package/fesm2015/tnx-shared.js +7 -0
- 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
|
@@ -2046,6 +2046,7 @@
|
|
|
2046
2046
|
_this.initData = {};
|
|
2047
2047
|
_this.defaultIndex = -1;
|
|
2048
2048
|
_this.popupSize = new PopupSize({ width: 750, height: 400 });
|
|
2049
|
+
_this.insertPlusUrl = '';
|
|
2049
2050
|
_this.loadInFirstDisplay = true;
|
|
2050
2051
|
_this.autoGetData = true;
|
|
2051
2052
|
_this.valueField = 'id';
|
|
@@ -4845,6 +4846,12 @@
|
|
|
4845
4846
|
}
|
|
4846
4847
|
return Math.floor((date.getMonth() + 3) / 3);
|
|
4847
4848
|
};
|
|
4849
|
+
CommonService.prototype.generateIndex = function (index, maxLength) {
|
|
4850
|
+
if (maxLength === void 0) { maxLength = 8; }
|
|
4851
|
+
var stringIndex = "" + index;
|
|
4852
|
+
var diff = (maxLength < stringIndex.length) ? 0 : maxLength - stringIndex.length;
|
|
4853
|
+
return "" + Array(diff).map(function (x) { return ''; }).join(' ') + stringIndex;
|
|
4854
|
+
};
|
|
4848
4855
|
return CommonService;
|
|
4849
4856
|
}());
|
|
4850
4857
|
CommonService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CommonService_Factory() { return new CommonService(i0__namespace.ɵɵinject(ModuleConfigService)); }, token: CommonService, providedIn: "root" });
|
|
@@ -45212,6 +45219,7 @@
|
|
|
45212
45219
|
QuickAddFormComponent.prototype.ngOnInit = function () {
|
|
45213
45220
|
_super.prototype.ngOnInit.call(this);
|
|
45214
45221
|
this.setting.baseService = this.baseService;
|
|
45222
|
+
this.insertPlusUrl = this.control.insertPlusUrl;
|
|
45215
45223
|
this.setting.schema = this.control.cols;
|
|
45216
45224
|
};
|
|
45217
45225
|
QuickAddFormComponent.prototype.onFormInitialized = function (formEvent) {
|