osl-base-extended 2.0.15 → 2.0.17

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.
@@ -354,12 +354,13 @@ class Httpbase {
354
354
  return this.handleError(error);
355
355
  }
356
356
  }
357
- async put(methodName, body) {
357
+ async put(methodName, body, params) {
358
358
  try {
359
359
  const res = await firstValueFrom(this.http
360
360
  .put(this.getEndPoint(methodName), body, {
361
361
  observe: 'response',
362
362
  headers: this.getHeaders(),
363
+ params: this.buildParams(params || []),
363
364
  })
364
365
  .pipe(timeout(30000)));
365
366
  return this.handleSuccess(res.status, res.body, res.headers);
@@ -3438,7 +3439,11 @@ class OslSetup {
3438
3439
  return [{ key: '__actions', label: '', isActions: true }, ...this.columns];
3439
3440
  }
3440
3441
  onPageChange(eventEmitter, event) {
3441
- eventEmitter.emit({ ...event, searchValue: this.searchbar?.searchControl?.value });
3442
+ eventEmitter.emit({ ...event, ...{
3443
+ searchValue: this.searchbar?.searchControl?.value,
3444
+ sortKey: this.gridRef?.sortKey,
3445
+ sortDirection: this.gridRef?.sortAsc
3446
+ } });
3442
3447
  }
3443
3448
  // ── Dialog actions ────────────────────────────────────────────
3444
3449
  openAddDialog() {