@wavemaker/angular-codegen 11.0.0-next.138579 → 11.0.0-next.138582
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.
- angular-codegen/angular-app/package-lock.json +62 -29272
- angular-codegen/angular-app/package.json +3 -3
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/dependencies/transpilation-mobile.cjs.js +3 -2
- angular-codegen/dependencies/transpilation-web.cjs.js +3 -2
- angular-codegen/package-lock.json +18 -5488
- angular-codegen/package.json +1 -1
|
@@ -41135,7 +41135,7 @@ class ASTCompiler {
|
|
|
41135
41135
|
const ast = this.cAst;
|
|
41136
41136
|
const stmts = this.cStmts;
|
|
41137
41137
|
const k = this.build(ast.key, stmts);
|
|
41138
|
-
const o = this.build(ast.
|
|
41138
|
+
const o = this.build(ast.receiver, stmts);
|
|
41139
41139
|
const v = this.createVar();
|
|
41140
41140
|
stmts.push(`${v}=${o}&&${o}[${k}]`);
|
|
41141
41141
|
return v;
|
|
@@ -41546,6 +41546,7 @@ var Operation;
|
|
|
41546
41546
|
Operation["SUPPORTS_CRUD"] = "supportsCRUD";
|
|
41547
41547
|
Operation["SUPPORTS_DISTINCT_API"] = "supportsDistinctAPI";
|
|
41548
41548
|
Operation["IS_PAGEABLE"] = "isPageable";
|
|
41549
|
+
Operation["IS_SORTABLE"] = "isSortable";
|
|
41549
41550
|
Operation["GET_OPERATION_TYPE"] = "getOperationType";
|
|
41550
41551
|
Operation["GET_RELATED_PRIMARY_KEYS"] = "getRelatedTablePrimaryKeys";
|
|
41551
41552
|
Operation["GET_ENTITY_NAME"] = "getEntityName";
|
|
@@ -43918,7 +43919,7 @@ class PaginationService {
|
|
|
43918
43919
|
parent.gridOptions.setDeletedRowIndex(-1);
|
|
43919
43920
|
}
|
|
43920
43921
|
// reset fieldDefs if last action performed is search or sort
|
|
43921
|
-
if (parent.widgetType === 'wm-table' && (parent.gridOptions.isNavTypeScrollOrOndemand()) && (parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.SEARCH_OR_SORT || parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.FILTER_CRITERIA)) {
|
|
43922
|
+
if (parent.widgetType === 'wm-table' && (parent.gridOptions.isNavTypeScrollOrOndemand()) && (parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.SEARCH_OR_SORT || parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.FILTER_CRITERIA || parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.DATASET_UPDATE)) {
|
|
43922
43923
|
fieldDefs = [];
|
|
43923
43924
|
parent.gridOptions.setCurrentPage(1);
|
|
43924
43925
|
}
|
|
@@ -41135,7 +41135,7 @@ class ASTCompiler {
|
|
|
41135
41135
|
const ast = this.cAst;
|
|
41136
41136
|
const stmts = this.cStmts;
|
|
41137
41137
|
const k = this.build(ast.key, stmts);
|
|
41138
|
-
const o = this.build(ast.
|
|
41138
|
+
const o = this.build(ast.receiver, stmts);
|
|
41139
41139
|
const v = this.createVar();
|
|
41140
41140
|
stmts.push(`${v}=${o}&&${o}[${k}]`);
|
|
41141
41141
|
return v;
|
|
@@ -41546,6 +41546,7 @@ var Operation;
|
|
|
41546
41546
|
Operation["SUPPORTS_CRUD"] = "supportsCRUD";
|
|
41547
41547
|
Operation["SUPPORTS_DISTINCT_API"] = "supportsDistinctAPI";
|
|
41548
41548
|
Operation["IS_PAGEABLE"] = "isPageable";
|
|
41549
|
+
Operation["IS_SORTABLE"] = "isSortable";
|
|
41549
41550
|
Operation["GET_OPERATION_TYPE"] = "getOperationType";
|
|
41550
41551
|
Operation["GET_RELATED_PRIMARY_KEYS"] = "getRelatedTablePrimaryKeys";
|
|
41551
41552
|
Operation["GET_ENTITY_NAME"] = "getEntityName";
|
|
@@ -43918,7 +43919,7 @@ class PaginationService {
|
|
|
43918
43919
|
parent.gridOptions.setDeletedRowIndex(-1);
|
|
43919
43920
|
}
|
|
43920
43921
|
// reset fieldDefs if last action performed is search or sort
|
|
43921
|
-
if (parent.widgetType === 'wm-table' && (parent.gridOptions.isNavTypeScrollOrOndemand()) && (parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.SEARCH_OR_SORT || parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.FILTER_CRITERIA)) {
|
|
43922
|
+
if (parent.widgetType === 'wm-table' && (parent.gridOptions.isNavTypeScrollOrOndemand()) && (parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.SEARCH_OR_SORT || parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.FILTER_CRITERIA || parent.gridOptions.lastActionPerformed === parent.gridOptions.ACTIONS.DATASET_UPDATE)) {
|
|
43922
43923
|
fieldDefs = [];
|
|
43923
43924
|
parent.gridOptions.setCurrentPage(1);
|
|
43924
43925
|
}
|