@wavemaker/app-ng-runtime 11.4.0-next.25501 → 11.4.0-next.25701
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.
- app-ng-runtime/build-task/basic/tree/tree.build.d.ts +1 -2
- app-ng-runtime/build-task/bundles/index.umd.js +9 -11
- app-ng-runtime/build-task/bundles/index.umd.js.map +1 -1
- app-ng-runtime/build-task/esm2015/basic/tree/tree.build.js +3 -4
- app-ng-runtime/build-task/esm2015/data/form/form-field/form-field.build.js +3 -3
- app-ng-runtime/build-task/esm2015/navigation/popover/popover.build.js +3 -3
- app-ng-runtime/build-task/fesm2015/index.js +9 -11
- app-ng-runtime/build-task/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/base/bundles/index.umd.js +29 -4
- app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/base/esm2015/public_api.js +2 -2
- app-ng-runtime/components/base/esm2015/utils/widget-utils.js +22 -4
- app-ng-runtime/components/base/esm2015/widgets/common/base/base-field-validations.js +3 -2
- app-ng-runtime/components/base/esm2015/widgets/common/dialog/dialog.service.js +7 -1
- app-ng-runtime/components/base/fesm2015/index.js +30 -6
- app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/base/index.metadata.json +1 -1
- app-ng-runtime/components/base/public_api.d.ts +1 -1
- app-ng-runtime/components/base/utils/widget-utils.d.ts +8 -1
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +2 -2
- app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/basic/rich-text-editor/esm2015/rich-text-editor.component.js +3 -3
- app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.js +2 -2
- app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/basic/tree/bundles/index.umd.js +280 -256
- app-ng-runtime/components/basic/tree/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/basic/tree/esm2015/public_api.js +2 -2
- app-ng-runtime/components/basic/tree/esm2015/tree.component.js +322 -0
- app-ng-runtime/components/basic/tree/esm2015/tree.module.js +3 -3
- app-ng-runtime/components/basic/tree/fesm2015/index.js +260 -248
- app-ng-runtime/components/basic/tree/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/basic/tree/index.metadata.json +1 -1
- app-ng-runtime/components/basic/tree/public_api.d.ts +1 -1
- app-ng-runtime/components/basic/tree/tree.component.d.ts +34 -0
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +39 -23
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/containers/tabs/esm2015/tab-pane/tab-pane.component.js +8 -1
- app-ng-runtime/components/containers/tabs/esm2015/tabs.animator.js +33 -13
- app-ng-runtime/components/containers/tabs/fesm2015/index.js +40 -13
- app-ng-runtime/components/containers/tabs/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/containers/tabs/tabs.animator.d.ts +5 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +37 -13
- app-ng-runtime/components/data/form/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/form/esm2015/form-field/form-field.directive.js +26 -7
- app-ng-runtime/components/data/form/esm2015/form.component.js +10 -5
- app-ng-runtime/components/data/form/fesm2015/index.js +34 -10
- app-ng-runtime/components/data/form/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/form/index.metadata.json +1 -1
- app-ng-runtime/components/data/list/bundles/index.umd.js +63 -48
- app-ng-runtime/components/data/list/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/list/esm2015/list.component.js +61 -46
- app-ng-runtime/components/data/list/fesm2015/index.js +60 -45
- app-ng-runtime/components/data/list/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/list/index.metadata.json +1 -1
- app-ng-runtime/components/data/list/list.component.d.ts +1 -1
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +22 -5
- app-ng-runtime/components/data/pagination/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/pagination/esm2015/pagination.component.js +23 -6
- app-ng-runtime/components/data/pagination/fesm2015/index.js +22 -5
- app-ng-runtime/components/data/pagination/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/pagination/index.metadata.json +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +1 -0
- app-ng-runtime/components/data/table/bundles/index.umd.js +66 -13
- app-ng-runtime/components/data/table/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/table/esm2015/table-filter.directive.js +3 -2
- app-ng-runtime/components/data/table/esm2015/table.component.js +63 -13
- app-ng-runtime/components/data/table/esm2015/table.props.js +3 -1
- app-ng-runtime/components/data/table/fesm2015/index.js +66 -13
- app-ng-runtime/components/data/table/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/table/index.metadata.json +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +9 -0
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +1 -0
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +17 -3
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/dialogs/default/esm2015/base-dialog.js +18 -5
- app-ng-runtime/components/dialogs/default/fesm2015/index.js +17 -4
- app-ng-runtime/components/dialogs/default/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/dialogs/default/index.metadata.json +1 -1
- app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +5 -0
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +97 -32
- app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/input/epoch/date-time/date-time-picker.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/esm2015/base-date-time.component.js +73 -26
- app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +3 -4
- app-ng-runtime/components/input/epoch/esm2015/date-time/date-time-picker.component.js +31 -11
- app-ng-runtime/components/input/epoch/esm2015/date-time/date-time.component.js +2 -2
- app-ng-runtime/components/input/epoch/fesm2015/index.js +105 -39
- app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/input/epoch/index.metadata.json +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +25 -19
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/navigation/menu/esm2015/menu-dropdown-item/menu-dropdown-item.component.js +15 -5
- app-ng-runtime/components/navigation/menu/esm2015/menu.component.js +14 -19
- app-ng-runtime/components/navigation/menu/fesm2015/index.js +25 -20
- app-ng-runtime/components/navigation/menu/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/navigation/menu/index.metadata.json +1 -1
- app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +7 -4
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +3 -7
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +3 -1
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/navigation/popover/esm2015/popover.component.js +5 -3
- app-ng-runtime/components/navigation/popover/fesm2015/index.js +4 -2
- app-ng-runtime/components/navigation/popover/fesm2015/index.js.map +1 -1
- app-ng-runtime/core/bundles/index.umd.js +7 -1
- app-ng-runtime/core/bundles/index.umd.js.map +1 -1
- app-ng-runtime/core/esm2015/services/pagination.service.js +8 -2
- app-ng-runtime/core/fesm2015/index.js +7 -1
- app-ng-runtime/core/fesm2015/index.js.map +1 -1
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +24 -6
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js.map +1 -1
- app-ng-runtime/mobile/components/page/default/esm2015/page.directive.js +20 -3
- app-ng-runtime/mobile/components/page/default/fesm2015/index.js +19 -2
- app-ng-runtime/mobile/components/page/default/fesm2015/index.js.map +1 -1
- app-ng-runtime/mobile/components/page/default/index.metadata.json +1 -1
- app-ng-runtime/mobile/components/page/default/page.directive.d.ts +4 -1
- app-ng-runtime/mobile/core/bundles/index.umd.js +2 -1
- app-ng-runtime/mobile/core/bundles/index.umd.js.map +1 -1
- app-ng-runtime/mobile/core/esm2015/services/device.service.js +3 -2
- app-ng-runtime/mobile/core/fesm2015/index.js +2 -1
- app-ng-runtime/mobile/core/fesm2015/index.js.map +1 -1
- app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +3 -2
- app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js.map +1 -1
- app-ng-runtime/mobile/runtime-dynamic/esm2015/services/live-sync.service.js +4 -3
- app-ng-runtime/mobile/runtime-dynamic/fesm2015/index.js +3 -2
- app-ng-runtime/mobile/runtime-dynamic/fesm2015/index.js.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +1 -0
- app-ng-runtime/runtime/base/bundles/index.umd.js.map +1 -1
- app-ng-runtime/runtime/base/esm2015/services/prefab-manager.service.js +2 -1
- app-ng-runtime/runtime/base/fesm2015/index.js +1 -0
- app-ng-runtime/runtime/base/fesm2015/index.js.map +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +117 -48
- app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +3 -3
- app-ng-runtime/scripts/tree-keyboard-navigation/keyboard-navigation.js +251 -0
- app-ng-runtime/variables/bundles/index.umd.js +19 -16
- app-ng-runtime/variables/bundles/index.umd.js.map +1 -1
- app-ng-runtime/variables/esm2015/constants/variables.constants.js +3 -9
- app-ng-runtime/variables/esm2015/manager/action/notification-action.manager.js +5 -6
- app-ng-runtime/variables/esm2015/service/variables.service.js +8 -1
- app-ng-runtime/variables/fesm2015/index.js +13 -14
- app-ng-runtime/variables/fesm2015/index.js.map +1 -1
- app-ng-runtime/variables/index.metadata.json +1 -1
- app-ng-runtime/variables/service/variables.service.d.ts +4 -0
- app-ng-runtime/components/basic/tree/esm2015/tree.directive.js +0 -310
- app-ng-runtime/components/basic/tree/tree.directive.d.ts +0 -35
|
@@ -36,6 +36,8 @@ export const registerProps = () => {
|
|
|
36
36
|
['navigationalign', Object.assign({ value: 'left' }, PROP_STRING)],
|
|
37
37
|
['nodatamessage', Object.assign({ value: 'No data found.' }, PROP_STRING)],
|
|
38
38
|
['ondemandmessage', Object.assign({ value: 'Load More' }, PROP_STRING)],
|
|
39
|
+
['showviewlessbutton', Object.assign({ value: false }, PROP_BOOLEAN)],
|
|
40
|
+
['viewlessmessage', Object.assign({ value: 'View Less' }, PROP_STRING)],
|
|
39
41
|
['pagesize', PROP_NUMBER],
|
|
40
42
|
['radioselect', PROP_BOOLEAN],
|
|
41
43
|
['rowclass', PROP_STRING],
|
|
@@ -54,4 +56,4 @@ export const registerProps = () => {
|
|
|
54
56
|
['updatemessage', Object.assign({ value: 'Record updated successfully' }, PROP_STRING)]
|
|
55
57
|
]));
|
|
56
58
|
};
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUucHJvcHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3dpZGdldHMvZGF0YS90YWJsZS9zcmMvdGFibGUucHJvcHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUFFLFdBQVcsRUFBRSxRQUFRLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUVqRyxNQUFNLENBQUMsTUFBTSxhQUFhLEdBQUcsR0FBRyxFQUFFO0lBQzlCLFFBQVEsQ0FDSixVQUFVLEVBQ1YsSUFBSSxHQUFHLENBQ0g7UUFDSSxDQUFDLGVBQWUsa0JBQUcsS0FBSyxFQUFFLEtBQUssSUFBSyxZQUFZLEVBQUU7UUFDbEQsQ0FBQyxPQUFPLEVBQUUsV0FBVyxDQUFDO1FBQ3RCL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gUFJPUF9OVU1CRVJdLFxuICAgICAgICAgICAgICAgIFsncmFkaW9zZWxlY3QnLCBQUk9QX0JPT0xFQU5dLFxuICAgICAgICAgICAgICAgIFsncm93Y2xhc3MnLCBQUk9QX1NUUklOR10sXG4gICAgICAgICAgICAgICAgWydyb3duZ2NsYXNzJywgUFJPUF9TVFJJTkddLFxuICAgICAgICAgICAgICAgIFsnc2VhcmNobGFiZWwnLCB7dmFsdWU6ICdTZWFyY2gnLCAuLi5QUk9QX1NUUklOR31dLFxuICAgICAgICAgICAgICAgIFsnc2hvdycsIHt2YWx1ZTogdHJ1ZSwgLi4uUFJPUF9CT09MRUFOfV0sXG4gICAgICAgICAgICAgICAgWydzaG93aGVhZGVyJywge3ZhbHVlOiB0cnVlLCAuLi5QUk9QX0JPT0xFQU59XSxcbiAgICAgICAgICAgICAgICBbJ3Nob3duZXdyb3cnLCB7dmFsdWU6IHRydWUsIC4uLlBST1BfQk9PTEVBTn1dLFxuICAgICAgICAgICAgICAgIFsnc2hvd3JlY29yZGNvdW50JywgUFJPUF9CT09MRUFOXSxcbiAgICAgICAgICAgICAgICBbJ3Nob3dyb3dpbmRleCcsIFBST1BfQk9PTEVBTl0sXG4gICAgICAgICAgICAgICAgWydzcGFjaW5nJywge3ZhbHVlOiAnbm9ybWFsJywgLi4uUFJPUF9TVFJJTkd9XSxcbiAgICAgICAgICAgICAgICBbJ3N0YXRlaGFuZGxlcicsIHt2YWx1ZTogJ25vbmUnLCAuLi5QUk9QX1NUUklOR31dLFxuICAgICAgICAgICAgICAgIFsnc3ViaGVhZGluZycsIFBST1BfU1RSSU5HXSxcbiAgICAgICAgICAgICAgICBbJ3RhYmluZGV4Jywge3ZhbHVlOiAwLCAuLi5QUk9QX05VTUJFUn1dLFxuICAgICAgICAgICAgICAgIFsndGl0bGUnLCBQUk9QX1NUUklOR10sXG4gICAgICAgICAgICAgICAgWyd1cGRhdGVtZXNzYWdlJywge3ZhbHVlOiAnUmVjb3JkIHVwZGF0ZWQgc3VjY2Vzc2Z1bGx5JywgLi4uUFJPUF9TVFJJTkd9XVxuICAgICAgICAgICAgXVxuICAgICAgICApXG4gICAgKTtcbn07XG4iXX0=
|
|
@@ -51,6 +51,8 @@ const registerProps$5 = () => {
|
|
|
51
51
|
['navigationalign', Object.assign({ value: 'left' }, PROP_STRING)],
|
|
52
52
|
['nodatamessage', Object.assign({ value: 'No data found.' }, PROP_STRING)],
|
|
53
53
|
['ondemandmessage', Object.assign({ value: 'Load More' }, PROP_STRING)],
|
|
54
|
+
['showviewlessbutton', Object.assign({ value: false }, PROP_BOOLEAN)],
|
|
55
|
+
['viewlessmessage', Object.assign({ value: 'View Less' }, PROP_STRING)],
|
|
54
56
|
['pagesize', PROP_NUMBER],
|
|
55
57
|
['radioselect', PROP_BOOLEAN],
|
|
56
58
|
['rowclass', PROP_STRING],
|
|
@@ -128,6 +130,7 @@ class TableComponent extends StylableComponent {
|
|
|
128
130
|
this.columns = {};
|
|
129
131
|
this.formfields = {};
|
|
130
132
|
this.enablesort = true;
|
|
133
|
+
this.showviewlessbutton = false;
|
|
131
134
|
this.primaryKey = [];
|
|
132
135
|
this.selectedItems = [];
|
|
133
136
|
this.selectedItemChange = new Subject();
|
|
@@ -148,6 +151,7 @@ class TableComponent extends StylableComponent {
|
|
|
148
151
|
this.rowDef = {};
|
|
149
152
|
this.rowInstance = {};
|
|
150
153
|
this.fullFieldDefs = [];
|
|
154
|
+
this.variableInflight = true;
|
|
151
155
|
this.applyProps = new Map();
|
|
152
156
|
this.redraw = _.debounce(this._redraw, 150);
|
|
153
157
|
this.debouncedHandleLoading = _.debounce(this.handleLoading, 350);
|
|
@@ -165,6 +169,7 @@ class TableComponent extends StylableComponent {
|
|
|
165
169
|
data: [],
|
|
166
170
|
colDefs: [],
|
|
167
171
|
startRowIndex: 1,
|
|
172
|
+
mode: '',
|
|
168
173
|
sortInfo: {
|
|
169
174
|
field: '',
|
|
170
175
|
direction: ''
|
|
@@ -195,6 +200,10 @@ class TableComponent extends StylableComponent {
|
|
|
195
200
|
isSearchTrigerred: false,
|
|
196
201
|
isDatasetUpdated: false,
|
|
197
202
|
isDataUpdatedByUser: false,
|
|
203
|
+
showviewlessbutton: false,
|
|
204
|
+
ondemandmessage: '',
|
|
205
|
+
viewlessmessage: '',
|
|
206
|
+
loadingdatamsg: '',
|
|
198
207
|
isNextPageData: undefined,
|
|
199
208
|
ACTIONS: {
|
|
200
209
|
'DELETE': 'delete',
|
|
@@ -222,6 +231,14 @@ class TableComponent extends StylableComponent {
|
|
|
222
231
|
getPageSize: () => {
|
|
223
232
|
return this.pagesize;
|
|
224
233
|
},
|
|
234
|
+
getPageCount: () => {
|
|
235
|
+
return this.dataNavigator.pageCount;
|
|
236
|
+
},
|
|
237
|
+
enableNavigation: () => {
|
|
238
|
+
this.dataNavigator.widget.isDisableNext = false;
|
|
239
|
+
this.dataNavigator.widget.isDisableLast = false;
|
|
240
|
+
this.gridOptions.mode = 'viewless';
|
|
241
|
+
},
|
|
225
242
|
// set the deleted row index
|
|
226
243
|
setDeletedRowIndex: (id) => {
|
|
227
244
|
this.setDataGridOption('deletedRowIndex', id);
|
|
@@ -258,7 +275,9 @@ class TableComponent extends StylableComponent {
|
|
|
258
275
|
}
|
|
259
276
|
this.callDataGridMethod('selectRows', this.items);
|
|
260
277
|
this.selectedItems = this.callDataGridMethod('getSelectedRows');
|
|
261
|
-
|
|
278
|
+
if (this.selectedItems.length) {
|
|
279
|
+
this.selectedItemChange.next(this.selectedItems);
|
|
280
|
+
}
|
|
262
281
|
// On render, apply the filters set for query service variable
|
|
263
282
|
if (this._isPageSearch && this.filterInfo) {
|
|
264
283
|
this.searchSortHandler(this.filterInfo, undefined, 'search');
|
|
@@ -268,9 +287,11 @@ class TableComponent extends StylableComponent {
|
|
|
268
287
|
onRowSelect: (row, e) => {
|
|
269
288
|
this.ngZone.run(() => {
|
|
270
289
|
this.selectedItems = this.callDataGridMethod('getSelectedRows');
|
|
271
|
-
|
|
290
|
+
if (this.selectedItems.length) {
|
|
291
|
+
this.selectedItemChange.next(this.selectedItems);
|
|
292
|
+
}
|
|
272
293
|
const rowData = this.addRowIndex(row);
|
|
273
|
-
if (rowData.$index && this.getConfiguredState() !== 'none' && this.dataNavigator && unsupportedStatePersistenceTypes.indexOf(this.navigation) < 0) {
|
|
294
|
+
if (this.selectedItems.length && rowData.$index && this.getConfiguredState() !== 'none' && this.dataNavigator && unsupportedStatePersistenceTypes.indexOf(this.navigation) < 0) {
|
|
274
295
|
const obj = { page: this.dataNavigator.dn.currentPage, index: rowData.$index - 1 };
|
|
275
296
|
const widgetState = this.statePersistence.getWidgetState(this);
|
|
276
297
|
if (_.get(widgetState, 'selectedItem') && this.multiselect) {
|
|
@@ -629,12 +650,17 @@ class TableComponent extends StylableComponent {
|
|
|
629
650
|
// function to add load more button to table
|
|
630
651
|
addLoadMoreBtn: () => {
|
|
631
652
|
this.callDataGridMethod('addLoadMoreBtn', this.ondemandmessage, this.loadingdatamsg, ($event) => {
|
|
632
|
-
// set 'isNextPageData' flag to true & 'isDataUpdatedByUser' to false as next page data is being rendered
|
|
633
653
|
this.gridOptions.setIsNextPageData(true);
|
|
634
654
|
this.gridOptions.setIsDataUpdatedByUser(false);
|
|
635
|
-
this.
|
|
636
|
-
|
|
637
|
-
|
|
655
|
+
if (this.gridOptions.mode === 'viewless') {
|
|
656
|
+
this.dataNavigator.navigatePage('first', $event, true);
|
|
657
|
+
this.gridOptions.mode = '';
|
|
658
|
+
}
|
|
659
|
+
else {
|
|
660
|
+
this.dataNavigator.navigatePage('next', $event);
|
|
661
|
+
this.isDataLoading = true;
|
|
662
|
+
}
|
|
663
|
+
}, this.infScroll);
|
|
638
664
|
},
|
|
639
665
|
// function to bind scroll event
|
|
640
666
|
bindScrollEvt: () => {
|
|
@@ -813,7 +839,18 @@ class TableComponent extends StylableComponent {
|
|
|
813
839
|
}
|
|
814
840
|
set gridData(newValue) {
|
|
815
841
|
this.isDataLoading = false;
|
|
842
|
+
// Fix for [WMS-24012]: hide no datafound msg when variableInflight is true and dataset is empty
|
|
843
|
+
if (this.variableInflight && _.isEmpty(newValue)) {
|
|
844
|
+
return;
|
|
845
|
+
}
|
|
816
846
|
this.variableInflight = false;
|
|
847
|
+
// Fix for [WMS-24108]: Change the status to ready or nodata found when variableInflight is false(after getting the data)
|
|
848
|
+
if (newValue && (newValue.length) === 0) {
|
|
849
|
+
this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
|
|
850
|
+
}
|
|
851
|
+
else {
|
|
852
|
+
this.callDataGridMethod('setStatus', 'ready');
|
|
853
|
+
}
|
|
817
854
|
if (this.gridOptions.isNavTypeScrollOrOndemand()) {
|
|
818
855
|
// update the _gridData field with the next set of items and modify the current page
|
|
819
856
|
[this._gridData, this.currentPage] = this.paginationService.updateFieldsOnPagination(this, newValue);
|
|
@@ -929,6 +966,10 @@ class TableComponent extends StylableComponent {
|
|
|
929
966
|
this.gridOptions.securityUtils.pipeTransform = this.trustAsPipe;
|
|
930
967
|
this.gridOptions.navigation = this.navigation;
|
|
931
968
|
this.gridOptions.isdynamictable = this.isdynamictable;
|
|
969
|
+
this.gridOptions.showviewlessbutton = this.showviewlessbutton;
|
|
970
|
+
this.gridOptions.ondemandmessage = this.ondemandmessage;
|
|
971
|
+
this.gridOptions.viewlessmessage = this.viewlessmessage;
|
|
972
|
+
this.gridOptions.loadingdatamsg = this.loadingdatamsg;
|
|
932
973
|
// When loadondemand property is enabled(deferload="true") and show is true, only the column titles of the datatable are rendered, the data(body of the datatable) is not at all rendered.
|
|
933
974
|
// Because the griddata is setting before the datatable dom is rendered but we are sending empty data to the datatable.
|
|
934
975
|
if (!_.isEmpty(this.gridData)) {
|
|
@@ -952,6 +993,11 @@ class TableComponent extends StylableComponent {
|
|
|
952
993
|
this.gridOptions.colDefs = this.fieldDefs;
|
|
953
994
|
this.datagridElement.datatable(this.gridOptions);
|
|
954
995
|
this.callDataGridMethod('setStatus', 'loading', this.loadingdatamsg);
|
|
996
|
+
// if(this.gridOptions.data.length || this.variableInflight) {
|
|
997
|
+
// this.callDataGridMethod('setStatus', 'loading', this.loadingdatamsg);
|
|
998
|
+
// } else {
|
|
999
|
+
// this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
|
|
1000
|
+
// }
|
|
955
1001
|
this.applyProps.forEach(args => this.callDataGridMethod(...args));
|
|
956
1002
|
if (this.editmode === EDIT_MODE.QUICK_EDIT) {
|
|
957
1003
|
this.documentClickBind = this._documentClickBind.bind(this);
|
|
@@ -1272,8 +1318,12 @@ class TableComponent extends StylableComponent {
|
|
|
1272
1318
|
}
|
|
1273
1319
|
setGridData(serverData) {
|
|
1274
1320
|
const data = this.filternullrecords ? this.removeEmptyRecords(serverData) : serverData;
|
|
1321
|
+
// fix for [WMS-24012] set variableinflight flag to false for static variables
|
|
1322
|
+
if (_.get(this.datasource, 'category') === 'wm.Variable') {
|
|
1323
|
+
this.variableInflight = false;
|
|
1324
|
+
}
|
|
1275
1325
|
if (!this.variableInflight) {
|
|
1276
|
-
if (data && data.length === 0) {
|
|
1326
|
+
if (data && (data.length) === 0) {
|
|
1277
1327
|
this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
|
|
1278
1328
|
}
|
|
1279
1329
|
else {
|
|
@@ -1575,10 +1625,8 @@ class TableComponent extends StylableComponent {
|
|
|
1575
1625
|
this.variableInflight = false;
|
|
1576
1626
|
this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
|
|
1577
1627
|
}
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
this.onDataSourceChange();
|
|
1581
|
-
}
|
|
1628
|
+
this.watchVariableDataSet(this.dataset);
|
|
1629
|
+
this.onDataSourceChange();
|
|
1582
1630
|
break;
|
|
1583
1631
|
case 'dataset':
|
|
1584
1632
|
if (this.gridOptions.isNavTypeScrollOrOndemand() && this.gridOptions.getCurrentPage() === 1) {
|
|
@@ -1680,6 +1728,10 @@ class TableComponent extends StylableComponent {
|
|
|
1680
1728
|
if (nv) {
|
|
1681
1729
|
this.$element.find('.on-demand-datagrid > a').text(nv);
|
|
1682
1730
|
}
|
|
1731
|
+
this.gridOptions.ondemandmessage = nv;
|
|
1732
|
+
break;
|
|
1733
|
+
case 'viewlessmessage':
|
|
1734
|
+
this.gridOptions.viewlessmessage = nv;
|
|
1683
1735
|
break;
|
|
1684
1736
|
case 'show':
|
|
1685
1737
|
if (nv) {
|
|
@@ -2856,7 +2908,8 @@ class TableFilterSortDirective {
|
|
|
2856
2908
|
data,
|
|
2857
2909
|
sortDirection: sortObj.direction,
|
|
2858
2910
|
colDef: this.table.columns[sortObj.field]
|
|
2859
|
-
}
|
|
2911
|
+
}
|
|
2912
|
+
});
|
|
2860
2913
|
});
|
|
2861
2914
|
}
|
|
2862
2915
|
searchHandler(searchSortObj, e, type, statePersistenceTriggered) {
|