@elderbyte/ngx-starter 19.3.2 → 19.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.
@@ -1,4 +1,4 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, Signal } from '@angular/core';
2
2
  import { SelectionModel } from '../../../common/selection/selection-model';
3
3
  import { IElderDataView } from '../../data-view/base/elder-data-view';
4
4
  import { Observable } from 'rxjs';
@@ -32,9 +32,9 @@ export declare class ElderChipListSelectComponent<T = any> implements IElderData
32
32
  /**
33
33
  * If the chip list should be stacked.
34
34
  */
35
- stacked: boolean;
35
+ stacked: import("@angular/core").InputSignalWithTransform<boolean, import("@angular/cdk/coercion").BooleanInput>;
36
36
  itemClick: EventEmitter<any>;
37
- readonly data$: Observable<T[]>;
37
+ readonly items: Signal<T[]>;
38
38
  /***************************************************************************
39
39
  * *
40
40
  * Constructor *
@@ -75,7 +75,7 @@ export declare class ElderChipListSelectComponent<T = any> implements IElderData
75
75
  * Private methods *
76
76
  * *
77
77
  **************************************************************************/
78
- private getId;
78
+ getId(entity: any): any;
79
79
  static ɵfac: i0.ɵɵFactoryDeclaration<ElderChipListSelectComponent<any>, [{ optional: true; }]>;
80
- static ɵcmp: i0.ɵɵComponentDeclaration<ElderChipListSelectComponent<any>, " elder-chip-list-select", never, { "idField": { "alias": "idField"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "color": { "alias": "color"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "data": { "alias": "data"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "selectionMultiEnabled": { "alias": "selectionMultiEnabled"; "required": false; }; }, { "itemClick": "itemClick"; "selectionChange": "selectionChange"; "selectionSingleChange": "selectionSingleChange"; }, never, never, true, never>;
80
+ static ɵcmp: i0.ɵɵComponentDeclaration<ElderChipListSelectComponent<any>, " elder-chip-list-select", never, { "idField": { "alias": "idField"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "color": { "alias": "color"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "selectionMultiEnabled": { "alias": "selectionMultiEnabled"; "required": false; }; }, { "itemClick": "itemClick"; "selectionChange": "selectionChange"; "selectionSingleChange": "selectionSingleChange"; }, never, never, true, never>;
81
81
  }
@@ -1,8 +1,15 @@
1
- import { AfterViewInit, OnDestroy, QueryList } from '@angular/core';
1
+ import { AfterViewInit, OnDestroy, Signal } from '@angular/core';
2
2
  import { MatTab, MatTabGroup } from '@angular/material/tabs';
3
3
  import { ElderTabDirective } from '../elder-tab/elder-tab.directive';
4
4
  import { ElderUrlFragmentParamsService } from '../../../common/url/elder-url-fragment-params.service';
5
5
  import * as i0 from "@angular/core";
6
+ export declare class RoutedTabActivationFailed {
7
+ readonly tabGroup: string;
8
+ readonly markers: string[];
9
+ readonly currentTabIds: string[];
10
+ readonly currentTabCount: number;
11
+ constructor(tabGroup: string, markers: string[], currentTabIds: string[], currentTabCount: number);
12
+ }
6
13
  /**
7
14
  * Adds out-of-the-box url-fragment based tab navigation
8
15
  * within the mat-tab-group it is placed upon.
@@ -23,35 +30,34 @@ export declare class ElderTabGroupRoutingDirective implements AfterViewInit, OnD
23
30
  * *
24
31
  **************************************************************************/
25
32
  private readonly _log;
26
- private readonly _destroy$;
27
33
  /**
28
34
  * Stores the last tab marker (either ID or index)
29
35
  * which could not be activated. This is used to retry
30
36
  * activation once changes on tab structure occur.
31
37
  *
32
- * Can contain a comma delemited list: first,second
33
- * Will try to activate first, and if failed activates second.
34
38
  */
35
- private lastFailedTabMarkerHierarchy;
39
+ private lastFailedTabActivation;
36
40
  /**
37
41
  * String to use as query param key.
38
42
  */
39
- tabGroupQueryParamKey: string;
43
+ readonly tabGroupQueryParamKey: import("@angular/core").InputSignal<string>;
40
44
  /**
41
45
  * The child tabs within this navigation context.
42
46
  */
43
- tabs: QueryList<MatTab>;
47
+ readonly tabs: Signal<readonly MatTab[]>;
44
48
  /**
45
49
  * The child tabs within this navigation context
46
50
  * marked with the elderTabs directive.
47
51
  */
48
- elderTabs: QueryList<ElderTabDirective>;
52
+ elderTabs: Signal<readonly ElderTabDirective[]>;
49
53
  /**
50
54
  * The tab marked with elderTab directive which
51
55
  * is currently active. May be null if
52
56
  * elderTab markers are not used.
53
57
  */
54
58
  activeElderTab: ElderTabDirective;
59
+ private readonly fragmentParams;
60
+ readonly tabActivationFailed: import("@angular/core").OutputEmitterRef<RoutedTabActivationFailed>;
55
61
  /***************************************************************************
56
62
  * *
57
63
  * Constructor *
@@ -98,7 +104,8 @@ export declare class ElderTabGroupRoutingDirective implements AfterViewInit, OnD
98
104
  private getTabMarker;
99
105
  private isIndexMarker;
100
106
  private parseIndexMarker;
107
+ private queryParamKey;
101
108
  private serializeIndexMarker;
102
109
  static ɵfac: i0.ɵɵFactoryDeclaration<ElderTabGroupRoutingDirective, never>;
103
- static ɵdir: i0.ɵɵDirectiveDeclaration<ElderTabGroupRoutingDirective, "[elderTabGroupRouting]", ["elderTabGroupRouting"], { "tabGroupQueryParamKey": { "alias": "elderTabGroupRouting"; "required": false; }; }, {}, ["tabs", "elderTabs"], never, true, never>;
110
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ElderTabGroupRoutingDirective, "[elderTabGroupRouting]", ["elderTabGroupRouting"], { "tabGroupQueryParamKey": { "alias": "elderTabGroupRouting"; "required": false; "isSignal": true; }; }, { "tabActivationFailed": "tabActivationFailed"; }, ["tabs", "elderTabs"], never, true, never>;
104
111
  }
@@ -1,12 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "@angular/common";
3
- import * as i2 from "@angular/material/core";
4
- import * as i3 from "./elder-tab/elder-tab.directive";
5
- import * as i4 from "./elder-tab-group-routing/elder-tab-group-routing.directive";
3
+ import * as i2 from "./elder-tab/elder-tab.directive";
4
+ import * as i3 from "./elder-tab-group-routing/elder-tab-group-routing.directive";
6
5
  export * from './elder-tab/elder-tab.directive';
7
6
  export * from './elder-tab-group-routing/elder-tab-group-routing.directive';
8
7
  export declare class ElderTabModule {
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ElderTabModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElderTabModule, never, [typeof i1.CommonModule, typeof i2.MatCommonModule, typeof i3.ElderTabDirective, typeof i4.ElderTabGroupRoutingDirective], [typeof i3.ElderTabDirective, typeof i4.ElderTabGroupRoutingDirective]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElderTabModule, never, [typeof i1.CommonModule, typeof i2.ElderTabDirective, typeof i3.ElderTabGroupRoutingDirective], [typeof i2.ElderTabDirective, typeof i3.ElderTabGroupRoutingDirective]>;
11
10
  static ɵinj: i0.ɵɵInjectorDeclaration<ElderTabModule>;
12
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elderbyte/ngx-starter",
3
- "version": "19.3.2",
3
+ "version": "19.4.1",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^18.0.0 || ^19.0.0",
6
6
  "@angular/common": "^18.0.0 || ^19.0.0",