@one-paragon/angular-utilities 2.3.2 → 2.3.3
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.
|
@@ -2235,7 +2235,6 @@ class TableStore extends ComponentStore {
|
|
|
2235
2235
|
delete newState.userDefined.headerHeight;
|
|
2236
2236
|
return newState;
|
|
2237
2237
|
}
|
|
2238
|
-
return newState;
|
|
2239
2238
|
});
|
|
2240
2239
|
this.updateStateFromPersistedState = this.updater((state, persistedState) => {
|
|
2241
2240
|
const incomingTableState = cleanPersistedState(state, persistedState);
|
|
@@ -2426,6 +2425,16 @@ class TableStore extends ComponentStore {
|
|
|
2426
2425
|
this.setLinkMaps = this.updater((state, maps) => {
|
|
2427
2426
|
return ({ ...state, linkMaps: maps });
|
|
2428
2427
|
});
|
|
2428
|
+
this.updateRowProps = this.updater((state, updates) => {
|
|
2429
|
+
const notPersistedTableSettings = merge$1(new NotPersistedTableSettings(), (state.notPersistedTableSettings));
|
|
2430
|
+
if (updates.rowClasses)
|
|
2431
|
+
notPersistedTableSettings.rowClasses = updates.rowClasses;
|
|
2432
|
+
if (updates.rowClick)
|
|
2433
|
+
notPersistedTableSettings.rowClick = updates.rowClick;
|
|
2434
|
+
if (updates.rowStyles)
|
|
2435
|
+
notPersistedTableSettings.rowStyles = updates.rowStyles;
|
|
2436
|
+
return ({ ...state, notPersistedTableSettings });
|
|
2437
|
+
});
|
|
2429
2438
|
this.on = (srcObservable, func) => {
|
|
2430
2439
|
this.effect(() => srcObservable.pipe(tap(func)));
|
|
2431
2440
|
return this;
|