@descope/web-component 3.52.4 → 3.53.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/dist/cjs/descope-wc/BaseDescopeWc.js +1 -1
- package/dist/cjs/descope-wc/DescopeWc.js +1 -1
- package/dist/cjs/descope-wc/DescopeWc.js.map +1 -1
- package/dist/esm/descope-wc/BaseDescopeWc.js +1 -1
- package/dist/esm/descope-wc/DescopeWc.js +1 -1
- package/dist/esm/descope-wc/DescopeWc.js.map +1 -1
- package/dist/index.d.ts +46 -46
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -267,12 +267,12 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
267
267
|
readonly cssRules: CSSRuleList;
|
|
268
268
|
} | CSSStyleSheet;
|
|
269
269
|
nonce: string;
|
|
270
|
-
"__#
|
|
270
|
+
"__#29741@#setNonce"(): void;
|
|
271
271
|
init(): Promise<void>;
|
|
272
|
-
"__#
|
|
272
|
+
"__#29736@#observeMappings": {};
|
|
273
273
|
observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
|
|
274
274
|
observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
|
|
275
|
-
"__#
|
|
275
|
+
"__#29735@#isInit": boolean;
|
|
276
276
|
connectedCallback: (() => void) & (() => void) & (() => void);
|
|
277
277
|
accessKey: string;
|
|
278
278
|
readonly accessKeyLabel: string;
|
|
@@ -598,8 +598,8 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
598
598
|
tabIndex: number;
|
|
599
599
|
blur(): void;
|
|
600
600
|
focus(options?: FocusOptions): void;
|
|
601
|
-
"__#
|
|
602
|
-
"__#
|
|
601
|
+
"__#29734@#logger": _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
602
|
+
"__#29734@#wrapLogger"(logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>): _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
603
603
|
get logger(): _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
604
604
|
set logger(logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>);
|
|
605
605
|
onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
|
|
@@ -935,15 +935,15 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
935
935
|
focus(options?: FocusOptions): void;
|
|
936
936
|
};
|
|
937
937
|
} & (new (...params: any[]) => {
|
|
938
|
-
"__#
|
|
939
|
-
"__#
|
|
940
|
-
"__#
|
|
941
|
-
"__#
|
|
938
|
+
"__#29738@#lastBaseUrl"?: string;
|
|
939
|
+
"__#29738@#workingBaseUrl"?: string;
|
|
940
|
+
"__#29738@#failedUrls": Set<string>;
|
|
941
|
+
"__#29738@#getResourceUrls"(filename: string): (URL & {
|
|
942
942
|
baseUrl: string;
|
|
943
943
|
}) | (URL & {
|
|
944
944
|
baseUrl: string;
|
|
945
945
|
})[];
|
|
946
|
-
"__#
|
|
946
|
+
"__#29738@#createResourceUrl"(filename: string, baseUrl: string): URL & {
|
|
947
947
|
baseUrl: string;
|
|
948
948
|
};
|
|
949
949
|
fetchStaticResource<F extends "text" | "json">(filename: string, format: F): Promise<{
|
|
@@ -1279,34 +1279,34 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
1279
1279
|
blur(): void;
|
|
1280
1280
|
focus(options?: FocusOptions): void;
|
|
1281
1281
|
readonly projectId: string;
|
|
1282
|
-
"__#
|
|
1282
|
+
"__#29737@#handleError"(attrName: string, newValue: string): void;
|
|
1283
1283
|
init(): Promise<void>;
|
|
1284
|
-
"__#
|
|
1284
|
+
"__#29736@#observeMappings": {};
|
|
1285
1285
|
observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
|
|
1286
1286
|
observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
|
|
1287
|
-
"__#
|
|
1288
|
-
"__#
|
|
1289
|
-
"__#
|
|
1287
|
+
"__#29735@#isInit": boolean;
|
|
1288
|
+
"__#29734@#logger": _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
1289
|
+
"__#29734@#wrapLogger": ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger);
|
|
1290
1290
|
get logger(): _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
1291
1291
|
set logger(logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>);
|
|
1292
1292
|
onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
|
|
1293
1293
|
}) & (new (...params: any[]) => {
|
|
1294
|
-
"__#
|
|
1294
|
+
"__#29750@#globalStyle": _descope_sdk_mixins_static_resources_mixin.InjectedStyle;
|
|
1295
1295
|
readonly theme: _descope_sdk_mixins_static_resources_mixin.ThemeOptions;
|
|
1296
1296
|
readonly styleId: string;
|
|
1297
|
-
"__#
|
|
1298
|
-
"__#
|
|
1299
|
-
readonly "__#
|
|
1300
|
-
"__#
|
|
1301
|
-
"__#
|
|
1302
|
-
"__#
|
|
1297
|
+
"__#29750@#_themeResource": Promise<void | Record<string, any>>;
|
|
1298
|
+
"__#29750@#fetchTheme"(): Promise<Record<string, any>>;
|
|
1299
|
+
readonly "__#29750@#themeResource": Promise<void | Record<string, any>>;
|
|
1300
|
+
"__#29750@#loadGlobalStyle"(): Promise<void>;
|
|
1301
|
+
"__#29750@#loadComponentsStyle"(): Promise<void>;
|
|
1302
|
+
"__#29750@#getFontsConfig"(): Promise<Record<string, {
|
|
1303
1303
|
url?: string;
|
|
1304
1304
|
}>>;
|
|
1305
|
-
"__#
|
|
1306
|
-
"__#
|
|
1307
|
-
"__#
|
|
1308
|
-
"__#
|
|
1309
|
-
"__#
|
|
1305
|
+
"__#29750@#loadFonts"(): Promise<void>;
|
|
1306
|
+
"__#29750@#applyTheme"(): Promise<void>;
|
|
1307
|
+
"__#29750@#onThemeChange": () => void;
|
|
1308
|
+
"__#29750@#loadTheme"(): void;
|
|
1309
|
+
"__#29750@#toggleOsThemeChangeListener": (listen: boolean) => void;
|
|
1310
1310
|
init(): Promise<void>;
|
|
1311
1311
|
injectStyle: ((cssString: string, { prepend }?: {
|
|
1312
1312
|
prepend?: boolean;
|
|
@@ -1324,11 +1324,11 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
1324
1324
|
readonly cssRules: CSSRuleList;
|
|
1325
1325
|
});
|
|
1326
1326
|
nonce: string;
|
|
1327
|
-
"__#
|
|
1328
|
-
"__#
|
|
1327
|
+
"__#29741@#setNonce": (() => void) & (() => void);
|
|
1328
|
+
"__#29736@#observeMappings": {};
|
|
1329
1329
|
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);
|
|
1330
1330
|
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);
|
|
1331
|
-
"__#
|
|
1331
|
+
"__#29735@#isInit": boolean;
|
|
1332
1332
|
connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
|
|
1333
1333
|
accessKey: string;
|
|
1334
1334
|
readonly accessKeyLabel: string;
|
|
@@ -1654,25 +1654,25 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
1654
1654
|
tabIndex: number;
|
|
1655
1655
|
blur(): void;
|
|
1656
1656
|
focus(options?: FocusOptions): void;
|
|
1657
|
-
"__#
|
|
1658
|
-
"__#
|
|
1657
|
+
"__#29734@#logger": _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
1658
|
+
"__#29734@#wrapLogger": ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger) & ((logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>) => _descope_sdk_mixins_static_resources_mixin.Logger);
|
|
1659
1659
|
get logger(): _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
1660
1660
|
set logger(logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>);
|
|
1661
1661
|
onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
|
|
1662
1662
|
contentRootElement: HTMLElement;
|
|
1663
1663
|
rootElement: HTMLElement;
|
|
1664
1664
|
readonly config: Promise<_descope_sdk_mixins_static_resources_mixin.Config>;
|
|
1665
|
-
"__#
|
|
1666
|
-
"__#
|
|
1667
|
-
"__#
|
|
1668
|
-
"__#
|
|
1665
|
+
"__#29740@#configCacheClear": (() => void) & (() => void);
|
|
1666
|
+
"__#29740@#_configResource": Promise<_descope_sdk_mixins_static_resources_mixin.Config>;
|
|
1667
|
+
"__#29740@#fetchConfig": (() => Promise<_descope_sdk_mixins_static_resources_mixin.Config>) & (() => Promise<_descope_sdk_mixins_static_resources_mixin.Config>);
|
|
1668
|
+
"__#29739@#callbacks": Map<string, () => void> & Map<string, () => void>;
|
|
1669
1669
|
onReset: ((sectionId: string, callback: () => void | Promise<void>) => () => void) & ((sectionId: string, callback: () => void | Promise<void>) => () => void);
|
|
1670
1670
|
reset: ((...sectionIds: string[]) => Promise<void>) & ((...sectionIds: string[]) => Promise<void>);
|
|
1671
|
-
"__#
|
|
1672
|
-
"__#
|
|
1673
|
-
"__#
|
|
1674
|
-
"__#
|
|
1675
|
-
"__#
|
|
1671
|
+
"__#29737@#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);
|
|
1672
|
+
"__#29738@#lastBaseUrl"?: string;
|
|
1673
|
+
"__#29738@#workingBaseUrl"?: string;
|
|
1674
|
+
"__#29738@#failedUrls": Set<string>;
|
|
1675
|
+
"__#29738@#getResourceUrls": ((filename: string) => (URL & {
|
|
1676
1676
|
baseUrl: string;
|
|
1677
1677
|
}) | (URL & {
|
|
1678
1678
|
baseUrl: string;
|
|
@@ -1685,7 +1685,7 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
1685
1685
|
}) | (URL & {
|
|
1686
1686
|
baseUrl: string;
|
|
1687
1687
|
})[]);
|
|
1688
|
-
"__#
|
|
1688
|
+
"__#29738@#createResourceUrl": ((filename: string, baseUrl: string) => URL & {
|
|
1689
1689
|
baseUrl: string;
|
|
1690
1690
|
}) & ((filename: string, baseUrl: string) => URL & {
|
|
1691
1691
|
baseUrl: string;
|
|
@@ -1705,11 +1705,11 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
1705
1705
|
readonly baseStaticUrl: string;
|
|
1706
1706
|
readonly baseUrl: string;
|
|
1707
1707
|
readonly projectId: string;
|
|
1708
|
-
"__#
|
|
1709
|
-
"__#
|
|
1708
|
+
"__#29744@#getComponentsVersion"(): Promise<string>;
|
|
1709
|
+
"__#29744@#descopeUi": Promise<any>;
|
|
1710
1710
|
readonly descopeUi: Promise<any>;
|
|
1711
|
-
"__#
|
|
1712
|
-
"__#
|
|
1711
|
+
"__#29744@#loadDescopeUiComponent"(componentName: string): Promise<any>;
|
|
1712
|
+
"__#29744@#getDescopeUi"(): Promise<any>;
|
|
1713
1713
|
loadDescopeUiComponents(templateOrComponentNames: string[] | HTMLTemplateElement): Promise<any[]>;
|
|
1714
1714
|
readonly baseCdnUrl: string;
|
|
1715
1715
|
injectNpmLib(libName: string, version: string, filePath?: string, overrides?: string[]): Promise<{
|