@sinequa/atomic-angular 1.0.4 → 1.0.5
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
|
@@ -4181,7 +4181,17 @@ type Theme = (typeof THEMES)[number];
|
|
|
4181
4181
|
|
|
4182
4182
|
declare function withThemes(app: ApplicationRef, themes: Theme[]): ApplicationRef;
|
|
4183
4183
|
|
|
4184
|
-
|
|
4184
|
+
/**
|
|
4185
|
+
* Signs in the user by checking the global configuration for authentication method and acting accordingly.
|
|
4186
|
+
*
|
|
4187
|
+
* This function first clears any existing session tokens to ensure a clean authentication state. It then checks the
|
|
4188
|
+
* global configuration to determine whether to use credentials-based authentication or Single Sign-On (SSO). If
|
|
4189
|
+
* credentials are used, it redirects the user to the login page. If SSO is enabled, it reloads the page to trigger
|
|
4190
|
+
* the SSO login process. If neither method is specified, it attempts a standard login and handles any errors that
|
|
4191
|
+
* may occur during the process.
|
|
4192
|
+
* @returns A promise resolving to a boolean indicating the success of the sign-in operation.
|
|
4193
|
+
*/
|
|
4194
|
+
declare function signIn(): Promise<boolean>;
|
|
4185
4195
|
|
|
4186
4196
|
/**
|
|
4187
4197
|
* Bootstraps the application by ensuring the user is authenticated and initializing the application.
|
|
@@ -6908,7 +6918,7 @@ declare class AdvancedFiltersComponent {
|
|
|
6908
6918
|
protected allowEmptySearch: _angular_core.Signal<boolean>;
|
|
6909
6919
|
text: string;
|
|
6910
6920
|
constructor();
|
|
6911
|
-
getFirstPageQuery(): Promise<void>;
|
|
6921
|
+
getFirstPageQuery(queryName: string): Promise<void>;
|
|
6912
6922
|
onTabChange(tab: string): void;
|
|
6913
6923
|
onSearch(): void;
|
|
6914
6924
|
/** Generate the LegacyFilter to add to the query */
|
|
@@ -8695,7 +8705,7 @@ declare class DrawerAdvancedFiltersComponent extends DrawerComponent {
|
|
|
8695
8705
|
protected allowEmptySearch: _angular_core.Signal<boolean>;
|
|
8696
8706
|
text: string;
|
|
8697
8707
|
constructor();
|
|
8698
|
-
getFirstPageQuery(): Promise<void>;
|
|
8708
|
+
getFirstPageQuery(queryName: string): Promise<void>;
|
|
8699
8709
|
onTabChange(tab: string): void;
|
|
8700
8710
|
onSearch(): void;
|
|
8701
8711
|
/** Generate the LegacyFilter to add to the query */
|