@devopmaat/badaboom 1.4.0 → 1.4.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.
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@devopmaat/badaboom",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.0",
6
6
  "@angular/core": "^21.1.0",
7
7
  "@angular/material": "^21.1.0",
8
- "@angular/youtube-player": "^21.1.0"
8
+ "@angular/youtube-player": "^21.1.0",
9
+ "date-fns": "^4.1.0"
9
10
  },
10
11
  "dependencies": {
11
12
  "tslib": "^2.3.0"
@@ -102,6 +102,10 @@ interface BdbRequest {
102
102
  baseFilter?: string;
103
103
  filter?: BdbFilter;
104
104
  }
105
+ interface BdbRequestOptions {
106
+ fromPopState?: boolean;
107
+ replaceUrl?: boolean;
108
+ }
105
109
 
106
110
  interface BdbEntity {
107
111
  id: number;
@@ -229,6 +233,9 @@ declare abstract class BdbDataSourceV2<TEntity extends BdbEntity, TState extends
229
233
  private destroyRef;
230
234
  private router;
231
235
  private route;
236
+ persistence: {
237
+ replaceUrl: boolean;
238
+ };
232
239
  get state(): Partial<TState>;
233
240
  set state(value: TState);
234
241
  isCurrentState(state: TState): boolean;
@@ -242,7 +249,7 @@ declare abstract class BdbDataSourceV2<TEntity extends BdbEntity, TState extends
242
249
  defaultSortDirection: 'asc' | 'desc';
243
250
  query?: string;
244
251
  private requestSubject;
245
- request$: Observable<BdbRequest>;
252
+ request$: Observable<[BdbRequest, BdbRequestOptions]>;
246
253
  private responseSubject;
247
254
  response$: Observable<BdbResponse<TEntity> | undefined>;
248
255
  private _loading;
@@ -258,7 +265,7 @@ declare abstract class BdbDataSourceV2<TEntity extends BdbEntity, TState extends
258
265
  constructor();
259
266
  disconnect(): void;
260
267
  connect(): Observable<TEntity[] | readonly TEntity[]>;
261
- load(): void;
268
+ load(loadOptions?: BdbRequestOptions): void;
262
269
  abstract loadMethod(request: BdbRequest): Observable<BdbResponse<TEntity>>;
263
270
  createRequest(): BdbRequest;
264
271
  private setPersistence;
@@ -1501,4 +1508,4 @@ declare class ResetPasswordPageComponent implements OnInit {
1501
1508
  }
1502
1509
 
1503
1510
  export { AccessDeniedPageComponent, AuthContainerComponent, AuthService, BDB_OPTIONS, BdbAlertComponent, BdbAlertErrorResponseComponent, BdbAppLayoutComponent, BdbBooleanDisplayComponent, BdbCellDirective, BdbCollapseRowComponent, BdbColumnBuilder, BdbColumnType, BdbDataSource, BdbDataSourceV2, BdbEntityResolver, BdbErrorResponseDialogComponent, BdbFieldComponent, BdbFlexChildDirective, BdbFlexDirective, BdbFormDialogComponent, BdbFormErrorDirective, BdbFullTableComponent, BdbGridChildDirective, BdbGridComponent, BdbGridDirective, BdbMediaDisplayComponent, BdbMediaInputComponent, BdbMediaUploadComponent, BdbNavListComponent, BdbOptionsBuilder, BdbPageHeaderComponent, BdbPaginatorComponent, BdbPaginatorV2Component, BdbQueryInputComponent, BdbQueryInputV2Component, BdbSearchComponent, BdbSearchInputComponent, BdbSearchV2Component, BdbSearchWrapperBaseComponent, BdbService, BdbServiceCR, BdbServiceCRD, BdbServiceCRU, BdbServiceCRUD, BdbServiceR, BdbServiceRD, BdbServiceRU, BdbServiceRUD, BdbTableComponent, BdbTableV2Component, ExceptionLogService, ExceptionLogTableComponent, FileSizePipe, ForgotPasswordPageComponent, InvalidTokenPageComponent, LoginPageComponent, LogoutPageComponent, MediaDropDirective, MediaFullTableComponent, MediaService, MediaTableComponent, MediaType, MediaTypeIconPipe, MediaTypeMap, MediaTypePipe, PlainNumberPipe, ResetPasswordPageComponent, RoleService, SearchV2Base, TaskLogOutcome, TaskLogOutcomeMap, TaskLogOutcomePipe, TaskLogParameterService, TaskLogParameterType, TaskLogParameterValuePipe, TaskLogScheduleService, TaskLogSchedulerService, TaskLogService, TaskLogStatus, TaskLogStatusMap, TaskLogStatusPipe, TaskLogTypeService, UserRoleService, UserService, UserTableComponent, equalValueValidator, getAuthorizationHeaderFromToken, getTokenFromAuthorizationHeader, loggedOutGuard, provideBaDaBoom, resetPasswordResolver, roleGuard, tokenExpiredInterceptor, tokenInterceptor };
1504
- export type { AccountInfo, BbdEntitySettings, BdbBooleanColumnOptions, BdbColumn, BdbColumnOptions, BdbContextAction, BdbCurrencyColumnOptions, BdbDateColumnOptions, BdbEntity, BdbEntityRead, BdbEntityUpdate, BdbEnumColumnOptions, BdbFilter, BdbM3Palette, BdbNumberColumnOptions, BdbOptions, BdbOptionsConfigure, BdbPalette, BdbPercentageColumnOptions, BdbRequest, BdbResponse, BdbRoute, BdbStringColumnOptions, DataSourceState, ExceptionLog, ExceptionLogRead, ImageFile, Media, MediaPreview, ResetPasswordToken, Role, RoleRead, TaskLog, TaskLogCreate, TaskLogParameter, TaskLogParameterCreate, TaskLogParameterRead, TaskLogRead, TaskLogSchedule, TaskLogScheduleCreate, TaskLogScheduleRead, TaskLogScheduleUpdate, TaskLogType, TaskLogTypeParameter, TokenResponse, User, UserCreate, UserRead, UserRole, UserRoleCreate, UserRoleRead, UserUpdate };
1511
+ export type { AccountInfo, BbdEntitySettings, BdbBooleanColumnOptions, BdbColumn, BdbColumnOptions, BdbContextAction, BdbCurrencyColumnOptions, BdbDateColumnOptions, BdbEntity, BdbEntityRead, BdbEntityUpdate, BdbEnumColumnOptions, BdbFilter, BdbM3Palette, BdbNumberColumnOptions, BdbOptions, BdbOptionsConfigure, BdbPalette, BdbPercentageColumnOptions, BdbRequest, BdbRequestOptions, BdbResponse, BdbRoute, BdbStringColumnOptions, DataSourceState, ExceptionLog, ExceptionLogRead, ImageFile, Media, MediaPreview, ResetPasswordToken, Role, RoleRead, TaskLog, TaskLogCreate, TaskLogParameter, TaskLogParameterCreate, TaskLogParameterRead, TaskLogRead, TaskLogSchedule, TaskLogScheduleCreate, TaskLogScheduleRead, TaskLogScheduleUpdate, TaskLogType, TaskLogTypeParameter, TokenResponse, User, UserCreate, UserRead, UserRole, UserRoleCreate, UserRoleRead, UserUpdate };