@descope/user-profile-widget 0.0.113 → 0.1.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.
- package/README.md +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +34 -34
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare const UserProfileWidget: {
|
|
|
18
18
|
logout: _descope_sdk_component_drivers.ButtonDriver;
|
|
19
19
|
"__#16@#initLogout"(): void;
|
|
20
20
|
onWidgetRootReady: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
21
|
-
"__#
|
|
21
|
+
"__#12341@#ModalDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
|
|
22
22
|
logger: {
|
|
23
23
|
error(...data: any[]): void;
|
|
24
24
|
warn(...data: any[]): void;
|
|
@@ -27,7 +27,7 @@ declare const UserProfileWidget: {
|
|
|
27
27
|
};
|
|
28
28
|
}) => {
|
|
29
29
|
setContent(template: HTMLTemplateElement): void;
|
|
30
|
-
"__#
|
|
30
|
+
"__#12340@#private": any;
|
|
31
31
|
beforeOpen: () => void | Promise<void>;
|
|
32
32
|
afterClose: () => void;
|
|
33
33
|
nodeName: string;
|
|
@@ -35,7 +35,7 @@ declare const UserProfileWidget: {
|
|
|
35
35
|
open(): Promise<void>;
|
|
36
36
|
reset(): void;
|
|
37
37
|
remove(): void;
|
|
38
|
-
"__#
|
|
38
|
+
"__#12338@#private": any;
|
|
39
39
|
logger: {
|
|
40
40
|
error(...data: any[]): void;
|
|
41
41
|
warn(...data: any[]): void;
|
|
@@ -46,21 +46,21 @@ declare const UserProfileWidget: {
|
|
|
46
46
|
readonly ele: Element;
|
|
47
47
|
};
|
|
48
48
|
createModal(config?: Record<string, string>): _descope_sdk_component_drivers.ModalDriver;
|
|
49
|
-
"__#
|
|
50
|
-
"__#
|
|
51
|
-
"__#
|
|
52
|
-
"__#
|
|
53
|
-
"__#
|
|
54
|
-
"__#
|
|
55
|
-
"__#
|
|
56
|
-
"__#
|
|
49
|
+
"__#12337@#errorCbsSym": symbol;
|
|
50
|
+
"__#12337@#loadCbsSym": symbol;
|
|
51
|
+
"__#12337@#getComponentsVersion": (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>);
|
|
52
|
+
"__#12337@#exposeAlternateEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
|
|
53
|
+
"__#12337@#handleFallbackScript": ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[], elemId: string, scriptUrl: string) => Promise<void>) & ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[], elemId: string, scriptUrl: string) => Promise<void>) & ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[], elemId: string, scriptUrl: string) => Promise<void>);
|
|
54
|
+
"__#12337@#registerEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
|
|
55
|
+
"__#12337@#getDescopeUiLoadingScript": (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>);
|
|
56
|
+
"__#12337@#descopeUi": Promise<any>;
|
|
57
57
|
readonly descopeUi: Promise<any>;
|
|
58
|
-
"__#
|
|
58
|
+
"__#12337@#loadDescopeUiComponent": ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>);
|
|
59
59
|
loadDescopeUiComponents: ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>) & ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>) & ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>);
|
|
60
|
-
"__#
|
|
60
|
+
"__#12337@#getDescopeUi": (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>);
|
|
61
61
|
readonly config: any;
|
|
62
|
-
"__#
|
|
63
|
-
"__#
|
|
62
|
+
"__#12334@#_configResource": any;
|
|
63
|
+
"__#12334@#fetchConfig": (() => Promise<{
|
|
64
64
|
projectConfig: _descope_sdk_mixins.ProjectConfiguration;
|
|
65
65
|
executionContext: {
|
|
66
66
|
geo: string;
|
|
@@ -1057,18 +1057,18 @@ declare const UserProfileWidget: {
|
|
|
1057
1057
|
blur: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
|
|
1058
1058
|
focus: ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void);
|
|
1059
1059
|
readonly projectId: string;
|
|
1060
|
-
"__#
|
|
1061
|
-
"__#
|
|
1060
|
+
"__#12333@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
|
|
1061
|
+
"__#12332@#observeMappings": {};
|
|
1062
1062
|
observeAttribute: ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any);
|
|
1063
1063
|
observeAttributes: ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void);
|
|
1064
|
-
"__#
|
|
1065
|
-
"__#
|
|
1064
|
+
"__#12331@#isInit": boolean;
|
|
1065
|
+
"__#12330@#logger": {
|
|
1066
1066
|
error(...data: any[]): void;
|
|
1067
1067
|
warn(...data: any[]): void;
|
|
1068
1068
|
info(...data: any[]): void;
|
|
1069
1069
|
debug(...data: any[]): void;
|
|
1070
1070
|
};
|
|
1071
|
-
"__#
|
|
1071
|
+
"__#12330@#wrapLogger": ((logger: Partial<{
|
|
1072
1072
|
error(...data: any[]): void;
|
|
1073
1073
|
warn(...data: any[]): void;
|
|
1074
1074
|
info(...data: any[]): void;
|
|
@@ -2000,20 +2000,20 @@ declare const UserProfileWidget: {
|
|
|
2000
2000
|
"__#11@#onValueUpdate": (email: any) => void;
|
|
2001
2001
|
"__#11@#onValueBadgeLabelUpdate": (isEmailVerified: any) => void;
|
|
2002
2002
|
"__#17@#createFlowRedirectModal"(widgetFlow: string): void;
|
|
2003
|
-
"__#
|
|
2003
|
+
"__#12343@#globalStyleTag": HTMLStyleElement;
|
|
2004
2004
|
readonly theme: _descope_sdk_mixins.ThemeOptions;
|
|
2005
2005
|
readonly styleId: string;
|
|
2006
|
-
"__#
|
|
2007
|
-
"__#
|
|
2008
|
-
readonly "__#
|
|
2009
|
-
"__#
|
|
2010
|
-
"__#
|
|
2011
|
-
"__#
|
|
2006
|
+
"__#12343@#_themeResource": Promise<void | Record<string, any>>;
|
|
2007
|
+
"__#12343@#fetchTheme"(): Promise<Record<string, any>>;
|
|
2008
|
+
readonly "__#12343@#themeResource": Promise<void | Record<string, any>>;
|
|
2009
|
+
"__#12343@#loadGlobalStyle"(): Promise<void>;
|
|
2010
|
+
"__#12343@#loadComponentsStyle"(): Promise<void>;
|
|
2011
|
+
"__#12343@#getFontsConfig"(): Promise<Record<string, {
|
|
2012
2012
|
url?: string;
|
|
2013
2013
|
}>>;
|
|
2014
|
-
"__#
|
|
2015
|
-
"__#
|
|
2016
|
-
"__#
|
|
2014
|
+
"__#12343@#loadFonts"(): Promise<void>;
|
|
2015
|
+
"__#12343@#applyTheme"(): Promise<void>;
|
|
2016
|
+
"__#12336@#debuggerEle": HTMLElement & {
|
|
2017
2017
|
updateData: (data: {
|
|
2018
2018
|
title: string;
|
|
2019
2019
|
description?: string;
|
|
@@ -2022,11 +2022,11 @@ declare const UserProfileWidget: {
|
|
|
2022
2022
|
description?: string;
|
|
2023
2023
|
}[]) => void;
|
|
2024
2024
|
};
|
|
2025
|
-
"__#
|
|
2026
|
-
"__#
|
|
2025
|
+
"__#12336@#disableDebugger"(): void;
|
|
2026
|
+
"__#12336@#enableDebugger"(): Promise<void>;
|
|
2027
2027
|
readonly debug: boolean;
|
|
2028
|
-
"__#
|
|
2029
|
-
"__#
|
|
2028
|
+
"__#12336@#handleDebugMode"(): void;
|
|
2029
|
+
"__#12336@#updateDebuggerMessages"(title: string, description: string): void;
|
|
2030
2030
|
};
|
|
2031
2031
|
};
|
|
2032
2032
|
|