@quadrel-enterprise-ui/framework 19.3.0 → 19.3.1

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.
@@ -23400,9 +23400,7 @@ class QdTableResolverService {
23400
23400
  // TODO: Add Error handling
23401
23401
  this.tableStoreService
23402
23402
  .selectDataResolutionCriteria$()
23403
- .pipe(takeUntil(this._destroyed$), distinctUntilChanged(isEqual$1), filter((resolutionCriteria) => {
23404
- return !!resolutionCriteria && this.shouldDataBeResolved(resolutionCriteria);
23405
- }), map(({ tableParams, connectorParams }) => {
23403
+ .pipe(takeUntil(this._destroyed$), distinctUntilChanged(isEqual$1), filter((resolutionCriteria) => !!resolutionCriteria && this.shouldDataBeResolved(resolutionCriteria)), map(({ tableParams, connectorParams }) => {
23406
23404
  return {
23407
23405
  ...(this._hasPagination ? tableParams : {}),
23408
23406
  ...connectorParams
@@ -23420,7 +23418,7 @@ class QdTableResolverService {
23420
23418
  this._refreshSubscription.unsubscribe();
23421
23419
  this._refreshSubscription = this.tableStoreService
23422
23420
  .selectDataResolutionCriteria$()
23423
- .pipe(first(), tap(() => this.tableStoreService.setRequestState(QdTableRequestState.PENDING)), switchMap(resolutionCriteria => this.tableDataResolver.resolve({
23421
+ .pipe(filter((criteria) => !!criteria), first(), tap(() => this.tableStoreService.setRequestState(QdTableRequestState.PENDING)), switchMap(resolutionCriteria => this.tableDataResolver.resolve({
23424
23422
  ...resolutionCriteria.tableParams,
23425
23423
  ...resolutionCriteria.connectorParams,
23426
23424
  ...(this._hasPagination && pageIndex !== undefined ? { page: pageIndex } : {})
@@ -24704,11 +24702,11 @@ class QdTableComponent {
24704
24702
  }
24705
24703
  ngOnInit() {
24706
24704
  this.tableStoreService.tableId = this.config.uid || v4();
24707
- this.resolverService.init(this.config.refreshOnLanguageChange, this.hasPagination);
24708
24705
  this.tableStoreService.init();
24709
24706
  this.tableStoreService.initTableState(this._data, this.hasResolver, this._connectors, this.hasPagination);
24710
24707
  this.tableStoreService.updateTableStateRecentSecondaryAction(undefined);
24711
24708
  this.tableStoreService.setupSort(this.config.columns);
24709
+ this.resolverService.init(this.config.refreshOnLanguageChange, this.hasPagination);
24712
24710
  this.data$ = this.tableStoreService.tableDataEntries$();
24713
24711
  this.mapColumnFillsWidth();
24714
24712
  this.validateConfig();