tuain-form-manager 1.4.5 → 1.4.7
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/lib/form.js +4 -1
- package/package.json +1 -1
package/lib/form.js
CHANGED
|
@@ -366,7 +366,7 @@ class Form {
|
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
getTableDefinition(code) { return this._formDefinition?.tables.find(tbl => tbl.tableCode === code) ?? null; }
|
|
369
|
-
getTableConstraints(tableCode) { return this.
|
|
369
|
+
getTableConstraints(tableCode) { return this._requestData.formData.tables[tableCode]; }
|
|
370
370
|
onTableRowSelection(code, callback) { this.onTableAction(code, ROWSELECTION, callback); }
|
|
371
371
|
onTablePopulate(code, callback) { this._tablePopulate[code] = callback; }
|
|
372
372
|
onTableAction(tableCode, actionCode, callback) {
|
|
@@ -416,6 +416,9 @@ class Form {
|
|
|
416
416
|
case 'sortingDirection':
|
|
417
417
|
responseTable.sortingDirection = constraints[constraint];
|
|
418
418
|
break;
|
|
419
|
+
case 'totalRecordsNumber':
|
|
420
|
+
responseTable.totalRecordsNumber = constraints[constraint];
|
|
421
|
+
break;
|
|
419
422
|
default:
|
|
420
423
|
break;
|
|
421
424
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tuain-form-manager",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.7",
|
|
4
4
|
"description": "Component library to perform operations on Tuain Development Framework forms to interchange information on web or mobile applications based on the data interchange of abstract forms making trnasformation on the data upon actions required on both sides (front and back)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|