@elderbyte/ngx-starter 20.4.6 → 20.4.8
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
|
@@ -837,7 +837,7 @@ type PhoneNumber = {
|
|
|
837
837
|
};
|
|
838
838
|
type CountryPhoneFormat = {
|
|
839
839
|
country: string;
|
|
840
|
-
|
|
840
|
+
countryCode: string;
|
|
841
841
|
bodyFormat?: [RegExp, string];
|
|
842
842
|
customPrefix?: string;
|
|
843
843
|
};
|
|
@@ -848,24 +848,29 @@ declare class PhoneFormatService {
|
|
|
848
848
|
* Public API *
|
|
849
849
|
* *
|
|
850
850
|
**************************************************************************/
|
|
851
|
-
formatPhoneNumber(
|
|
851
|
+
formatPhoneNumber(nr: string, config: CountryPhoneFormat): string;
|
|
852
852
|
/***************************************************************************
|
|
853
853
|
* *
|
|
854
854
|
* Private Methods *
|
|
855
855
|
* *
|
|
856
856
|
**************************************************************************/
|
|
857
|
-
private
|
|
857
|
+
private addPrefix;
|
|
858
858
|
private preparePhoneNumberBody;
|
|
859
859
|
private cleanNumberString;
|
|
860
|
-
private handleWithoutConfig;
|
|
861
860
|
private removeDialingCode;
|
|
861
|
+
private applyRegexTransform;
|
|
862
862
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneFormatService, never>;
|
|
863
863
|
static ɵprov: i0.ɵɵInjectableDeclaration<PhoneFormatService>;
|
|
864
864
|
}
|
|
865
865
|
|
|
866
866
|
declare class CountryPhoneFormatService {
|
|
867
|
-
|
|
868
|
-
|
|
867
|
+
/***************************************************************************
|
|
868
|
+
* *
|
|
869
|
+
* Public API *
|
|
870
|
+
* *
|
|
871
|
+
**************************************************************************/
|
|
872
|
+
getCountryPhoneFormat(countryCode: string): CountryPhoneFormat | null;
|
|
873
|
+
getCountry(countryCode: string): string | null;
|
|
869
874
|
protected readonly countryPhoneFormats: Record<string, CountryPhoneFormat>;
|
|
870
875
|
static ɵfac: i0.ɵɵFactoryDeclaration<CountryPhoneFormatService, never>;
|
|
871
876
|
static ɵprov: i0.ɵɵInjectableDeclaration<CountryPhoneFormatService>;
|
|
@@ -5826,6 +5831,7 @@ declare class ElderTogglePanelTriggerDirective {
|
|
|
5826
5831
|
**************************************************************************/
|
|
5827
5832
|
handleClick(event: MouseEvent): void;
|
|
5828
5833
|
handleFocus(event: MouseEvent): void;
|
|
5834
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
5829
5835
|
/***************************************************************************
|
|
5830
5836
|
* *
|
|
5831
5837
|
* Private methods *
|
|
@@ -13358,10 +13364,10 @@ declare class NavItemModel {
|
|
|
13358
13364
|
readonly hrefTarget: string;
|
|
13359
13365
|
constructor(routerLink: string, href: string, hrefTarget: string);
|
|
13360
13366
|
}
|
|
13361
|
-
declare class
|
|
13362
|
-
readonly event: MouseEvent;
|
|
13367
|
+
declare class NavItemActivated {
|
|
13368
|
+
readonly event: MouseEvent | KeyboardEvent;
|
|
13363
13369
|
readonly value: any;
|
|
13364
|
-
constructor(event: MouseEvent, value: any);
|
|
13370
|
+
constructor(event: MouseEvent | KeyboardEvent, value: any);
|
|
13365
13371
|
}
|
|
13366
13372
|
declare class ElderNavLinkComponent implements OnInit, OnDestroy {
|
|
13367
13373
|
private readonly navList;
|
|
@@ -13381,7 +13387,11 @@ declare class ElderNavLinkComponent implements OnInit, OnDestroy {
|
|
|
13381
13387
|
fontIcon: string;
|
|
13382
13388
|
fontSet: string;
|
|
13383
13389
|
svgIcon: string;
|
|
13384
|
-
|
|
13390
|
+
/**
|
|
13391
|
+
* @deprecated Since v20.4.7
|
|
13392
|
+
*/
|
|
13393
|
+
readonly clicked: never;
|
|
13394
|
+
readonly activated: Subject<NavItemActivated>;
|
|
13385
13395
|
private _disabled;
|
|
13386
13396
|
private readonly _routerLink$;
|
|
13387
13397
|
private readonly _href$;
|
|
@@ -13422,7 +13432,9 @@ declare class ElderNavLinkComponent implements OnInit, OnDestroy {
|
|
|
13422
13432
|
* Public API *
|
|
13423
13433
|
* *
|
|
13424
13434
|
**************************************************************************/
|
|
13435
|
+
itemActivated(event: MouseEvent | KeyboardEvent): void;
|
|
13425
13436
|
itemClick(event: MouseEvent): void;
|
|
13437
|
+
itemKeyDown(event: KeyboardEvent): void;
|
|
13426
13438
|
/***************************************************************************
|
|
13427
13439
|
* *
|
|
13428
13440
|
* Private methods *
|
|
@@ -13430,7 +13442,7 @@ declare class ElderNavLinkComponent implements OnInit, OnDestroy {
|
|
|
13430
13442
|
**************************************************************************/
|
|
13431
13443
|
private get isCurrentValueActive();
|
|
13432
13444
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderNavLinkComponent, never>;
|
|
13433
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElderNavLinkComponent, "elder-nav-link", never, { "title": { "alias": "title"; "required": false; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "fontIcon": { "alias": "fontIcon"; "required": false; }; "fontSet": { "alias": "fontSet"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
|
|
13445
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderNavLinkComponent, "elder-nav-link", never, { "title": { "alias": "title"; "required": false; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "fontIcon": { "alias": "fontIcon"; "required": false; }; "fontSet": { "alias": "fontSet"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "clicked": "clicked"; "activated": "activated"; }, never, ["*"], true, never>;
|
|
13434
13446
|
}
|
|
13435
13447
|
|
|
13436
13448
|
declare class ElderNavGroupComponent implements OnInit {
|
|
@@ -13444,7 +13456,7 @@ declare class ElderNavGroupComponent implements OnInit {
|
|
|
13444
13456
|
**************************************************************************/
|
|
13445
13457
|
readonly children: i0.Signal<readonly ElderNavLinkComponent[]>;
|
|
13446
13458
|
readonly isOpen: i0.WritableSignal<boolean>;
|
|
13447
|
-
readonly clicked: i0.OutputEmitterRef<
|
|
13459
|
+
readonly clicked: i0.OutputEmitterRef<NavItemActivated>;
|
|
13448
13460
|
private readonly childrenActiveState;
|
|
13449
13461
|
/***************************************************************************
|
|
13450
13462
|
* *
|
|
@@ -13470,8 +13482,9 @@ declare class ElderNavGroupComponent implements OnInit {
|
|
|
13470
13482
|
* Public Api *
|
|
13471
13483
|
* *
|
|
13472
13484
|
**************************************************************************/
|
|
13473
|
-
itemClick(event: MouseEvent): void;
|
|
13485
|
+
itemClick(event: MouseEvent | KeyboardEvent): void;
|
|
13474
13486
|
toggle(): void;
|
|
13487
|
+
itemKeyDown(event: KeyboardEvent): void;
|
|
13475
13488
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderNavGroupComponent, never>;
|
|
13476
13489
|
static ɵcmp: i0.ɵɵComponentDeclaration<ElderNavGroupComponent, "elder-nav-group", never, {}, { "clicked": "clicked"; }, ["children"], ["*", "elder-nav-link"], true, never>;
|
|
13477
13490
|
}
|
package/package.json
CHANGED
|
@@ -33,6 +33,10 @@
|
|
|
33
33
|
* to take up all the space, which gives you more freedom where
|
|
34
34
|
* to place items inside.
|
|
35
35
|
*/
|
|
36
|
+
/**
|
|
37
|
+
* AUG 6 2025: This seems to be dead code.
|
|
38
|
+
* TODO: Remove this once we have confirmed that it is not used.
|
|
39
|
+
*/
|
|
36
40
|
.mat-button-fill .mdc-button__label {
|
|
37
41
|
position: relative;
|
|
38
42
|
width: 100%;
|