@progalaxyelabs/ngx-stonescriptphp-client 1.24.2 → 1.24.4
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
|
@@ -212,6 +212,11 @@ interface OtpSendResponse {
|
|
|
212
212
|
interface OtpVerifyResponse {
|
|
213
213
|
success: boolean;
|
|
214
214
|
verified_token: string;
|
|
215
|
+
error?: string;
|
|
216
|
+
message?: string;
|
|
217
|
+
remaining_attempts?: number;
|
|
218
|
+
can_resend?: boolean;
|
|
219
|
+
retry_after?: number;
|
|
215
220
|
}
|
|
216
221
|
interface AuthResult {
|
|
217
222
|
success: boolean;
|
|
@@ -979,6 +984,7 @@ declare class TenantLoginComponent implements OnInit, OnDestroy {
|
|
|
979
984
|
autoSelectSingleTenant: boolean;
|
|
980
985
|
prefillEmail?: string;
|
|
981
986
|
allowTenantCreation: boolean;
|
|
987
|
+
otpIdentifierTypes: ('email' | 'phone')[];
|
|
982
988
|
tenantSelectorTitle: string;
|
|
983
989
|
tenantSelectorDescription: string;
|
|
984
990
|
continueButtonText: string;
|
|
@@ -1001,6 +1007,8 @@ declare class TenantLoginComponent implements OnInit, OnDestroy {
|
|
|
1001
1007
|
otpStep: OtpStep;
|
|
1002
1008
|
otpIdentifier: string;
|
|
1003
1009
|
otpIdentifierHint: string;
|
|
1010
|
+
otpIdentifierError: string;
|
|
1011
|
+
otpIdentifierErrorColor: 'orange' | 'red';
|
|
1004
1012
|
otpNormalizedIdentifier: string;
|
|
1005
1013
|
otpMaskedIdentifier: string;
|
|
1006
1014
|
otpDigits: string[];
|
|
@@ -1040,10 +1048,18 @@ declare class TenantLoginComponent implements OnInit, OnDestroy {
|
|
|
1040
1048
|
onOtpResend(event: Event): void;
|
|
1041
1049
|
/** Go back to identifier entry */
|
|
1042
1050
|
onOtpBack(event: Event): void;
|
|
1051
|
+
/**
|
|
1052
|
+
* Reset to the identifier entry step (step 1) with an error message.
|
|
1053
|
+
* Used when OTP verification fails with a code that requires re-sending
|
|
1054
|
+
* (expired, rate-limited, not-found). Keeps the identifier pre-filled.
|
|
1055
|
+
*/
|
|
1056
|
+
private resetToIdentifierStep;
|
|
1043
1057
|
onOtpDigitInput(event: Event, index: number): void;
|
|
1044
1058
|
onOtpDigitKeydown(event: KeyboardEvent, index: number): void;
|
|
1045
1059
|
onOtpPaste(event: ClipboardEvent): void;
|
|
1046
1060
|
get otpCode(): string;
|
|
1061
|
+
get otpPlaceholderText(): string;
|
|
1062
|
+
get otpIdentifierName(): string;
|
|
1047
1063
|
private detectIdentifierType;
|
|
1048
1064
|
private focusOtpInput;
|
|
1049
1065
|
private startResendCountdown;
|
|
@@ -1053,7 +1069,7 @@ declare class TenantLoginComponent implements OnInit, OnDestroy {
|
|
|
1053
1069
|
formatLastAccessed(dateStr: string): string;
|
|
1054
1070
|
onCreateTenantClick(event: Event): void;
|
|
1055
1071
|
static ɵfac: i0.ɵɵFactoryDeclaration<TenantLoginComponent, never>;
|
|
1056
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TenantLoginComponent, "lib-tenant-login", never, { "title": { "alias": "title"; "required": false; }; "providers": { "alias": "providers"; "required": false; }; "showTenantSelector": { "alias": "showTenantSelector"; "required": false; }; "autoSelectSingleTenant": { "alias": "autoSelectSingleTenant"; "required": false; }; "prefillEmail": { "alias": "prefillEmail"; "required": false; }; "allowTenantCreation": { "alias": "allowTenantCreation"; "required": false; }; "tenantSelectorTitle": { "alias": "tenantSelectorTitle"; "required": false; }; "tenantSelectorDescription": { "alias": "tenantSelectorDescription"; "required": false; }; "continueButtonText": { "alias": "continueButtonText"; "required": false; }; "registerLinkText": { "alias": "registerLinkText"; "required": false; }; "registerLinkAction": { "alias": "registerLinkAction"; "required": false; }; "createTenantLinkText": { "alias": "createTenantLinkText"; "required": false; }; "createTenantLinkAction": { "alias": "createTenantLinkAction"; "required": false; }; }, { "tenantSelected": "tenantSelected"; "needsOnboarding": "needsOnboarding"; "createTenant": "createTenant"; }, never, never, true, never>;
|
|
1072
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TenantLoginComponent, "lib-tenant-login", never, { "title": { "alias": "title"; "required": false; }; "providers": { "alias": "providers"; "required": false; }; "showTenantSelector": { "alias": "showTenantSelector"; "required": false; }; "autoSelectSingleTenant": { "alias": "autoSelectSingleTenant"; "required": false; }; "prefillEmail": { "alias": "prefillEmail"; "required": false; }; "allowTenantCreation": { "alias": "allowTenantCreation"; "required": false; }; "otpIdentifierTypes": { "alias": "otpIdentifierTypes"; "required": false; }; "tenantSelectorTitle": { "alias": "tenantSelectorTitle"; "required": false; }; "tenantSelectorDescription": { "alias": "tenantSelectorDescription"; "required": false; }; "continueButtonText": { "alias": "continueButtonText"; "required": false; }; "registerLinkText": { "alias": "registerLinkText"; "required": false; }; "registerLinkAction": { "alias": "registerLinkAction"; "required": false; }; "createTenantLinkText": { "alias": "createTenantLinkText"; "required": false; }; "createTenantLinkAction": { "alias": "createTenantLinkAction"; "required": false; }; }, { "tenantSelected": "tenantSelected"; "needsOnboarding": "needsOnboarding"; "createTenant": "createTenant"; }, never, never, true, never>;
|
|
1057
1073
|
}
|
|
1058
1074
|
|
|
1059
1075
|
declare class AuthPageComponent implements OnInit {
|