@smartsoft001/crud-shell-angular 2.93.0 → 2.95.0

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/index.d.ts CHANGED
@@ -127,16 +127,16 @@ declare class CrudFullConfig<T> extends CrudConfig<T> {
127
127
  declare class CrudFacade<T extends IEntity<string>> {
128
128
  private readonly store;
129
129
  private config;
130
+ readonly loaded: Signal<boolean | undefined>;
131
+ readonly loading: Signal<boolean>;
132
+ readonly selected: Signal<T | undefined>;
133
+ readonly multiSelected: Signal<T[] | undefined>;
134
+ readonly list: Signal<T[] | undefined>;
135
+ readonly filter: Signal<ICrudFilter | undefined>;
136
+ readonly totalCount: Signal<number | undefined>;
137
+ readonly links: Signal<any>;
138
+ readonly error: Signal<any>;
130
139
  constructor(store: Store<any>, config: CrudConfig<T>);
131
- get loaded(): Signal<boolean | undefined>;
132
- get loading(): Signal<boolean>;
133
- get selected(): Signal<T | undefined>;
134
- get multiSelected(): Signal<T[] | undefined>;
135
- get list(): Signal<T[] | undefined>;
136
- get filter(): Signal<ICrudFilter | undefined>;
137
- get totalCount(): Signal<number | undefined>;
138
- get links(): Signal<any>;
139
- get error(): Signal<any>;
140
140
  create(item: T): void;
141
141
  createMany(items: Array<T>, options: ICrudCreateManyOptions): void;
142
142
  read(filter?: ICrudFilter): void;
@@ -365,8 +365,8 @@ declare class GroupComponent<T extends IEntity<string>> extends BaseComponent$1
365
365
  private styleService;
366
366
  private elementRef;
367
367
  private groupService;
368
- readonly groups: InputSignal<Array<ICrudListGroup> | undefined>;
369
- readonly listOptions: InputSignal<IListOptions<T> | undefined>;
368
+ readonly groups: InputSignal<Array<ICrudListGroup> | null>;
369
+ readonly listOptions: InputSignal<IListOptions<T> | null>;
370
370
  change(val: boolean, item: ICrudListGroup, force?: boolean): void;
371
371
  ngOnInit(): void;
372
372
  ngOnDestroy(): void;
@@ -538,7 +538,7 @@ declare abstract class CrudListPageBaseComponent<T extends IEntity<string>> exte
538
538
  config: CrudFullConfig<T>;
539
539
  static smartType: DynamicComponentType;
540
540
  contentTpl: i0.Signal<ViewContainerRef | undefined>;
541
- listOptions: i0.InputSignal<IListOptions<T> | undefined>;
541
+ listOptions: i0.InputSignal<IListOptions<T> | null | undefined>;
542
542
  static ɵfac: i0.ɵɵFactoryDeclaration<CrudListPageBaseComponent<any>, never>;
543
543
  static ɵdir: i0.ɵɵDirectiveDeclaration<CrudListPageBaseComponent<any>, never, never, { "listOptions": { "alias": "listOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
544
544
  }
@@ -557,17 +557,13 @@ declare class ListComponent<T extends IEntity<string>> extends ListComponent_bas
557
557
  config: CrudFullConfig<T>;
558
558
  private searchService;
559
559
  private _cleanMultiSelected$;
560
- pageOptions: Signal<IPageOptions>;
561
- listOptions: WritableSignal<IListOptions<T>>;
562
- links: {
563
- next: any;
564
- prev: any;
565
- };
560
+ pageOptions: WritableSignal<IPageOptions | null>;
561
+ listOptions: WritableSignal<IListOptions<T> | null>;
562
+ links: Signal<any>;
566
563
  filter: Signal<ICrudFilter | undefined>;
567
564
  topTpl: Signal<ViewContainerRef | undefined>;
568
565
  contentTpl: Signal<TemplateRef<any> | undefined>;
569
566
  dynamicContents: Signal<readonly DynamicContentDirective[]>;
570
- constructor();
571
567
  refreshProperties(): void;
572
568
  ngOnInit(): Promise<void>;
573
569
  private initCloseMenu;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/crud-shell-angular",
3
- "version": "2.93.0",
3
+ "version": "2.95.0",
4
4
  "description": "Utils and Angular components",
5
5
  "repository": {
6
6
  "type": "git",