@descope/web-component 3.48.0 → 3.48.2
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 +42 -42
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -243,12 +243,12 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
243
243
|
readonly cssRules: CSSRuleList;
|
|
244
244
|
} | CSSStyleSheet;
|
|
245
245
|
nonce: string;
|
|
246
|
-
"__#
|
|
246
|
+
"__#29686@#setNonce"(): void;
|
|
247
247
|
init(): Promise<void>;
|
|
248
|
-
"__#
|
|
248
|
+
"__#29681@#observeMappings": {};
|
|
249
249
|
observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
|
|
250
250
|
observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
|
|
251
|
-
"__#
|
|
251
|
+
"__#29680@#isInit": boolean;
|
|
252
252
|
connectedCallback: (() => void) & (() => void) & (() => void);
|
|
253
253
|
accessKey: string;
|
|
254
254
|
readonly accessKeyLabel: string;
|
|
@@ -574,8 +574,8 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
574
574
|
tabIndex: number;
|
|
575
575
|
blur(): void;
|
|
576
576
|
focus(options?: FocusOptions): void;
|
|
577
|
-
"__#
|
|
578
|
-
"__#
|
|
577
|
+
"__#29679@#logger": _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
578
|
+
"__#29679@#wrapLogger"(logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>): _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
579
579
|
get logger(): _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
580
580
|
set logger(logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>);
|
|
581
581
|
onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
|
|
@@ -911,9 +911,9 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
911
911
|
focus(options?: FocusOptions): void;
|
|
912
912
|
};
|
|
913
913
|
} & (new (...params: any[]) => {
|
|
914
|
-
"__#
|
|
915
|
-
"__#
|
|
916
|
-
"__#
|
|
914
|
+
"__#29683@#lastBaseUrl"?: string;
|
|
915
|
+
"__#29683@#workingBaseUrl"?: string;
|
|
916
|
+
"__#29683@#getResourceUrls"(filename: string): (URL & {
|
|
917
917
|
baseUrl: string;
|
|
918
918
|
}) | (URL & {
|
|
919
919
|
baseUrl: string;
|
|
@@ -1251,34 +1251,34 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
1251
1251
|
blur(): void;
|
|
1252
1252
|
focus(options?: FocusOptions): void;
|
|
1253
1253
|
readonly projectId: string;
|
|
1254
|
-
"__#
|
|
1254
|
+
"__#29682@#handleError"(attrName: string, newValue: string): void;
|
|
1255
1255
|
init(): Promise<void>;
|
|
1256
|
-
"__#
|
|
1256
|
+
"__#29681@#observeMappings": {};
|
|
1257
1257
|
observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
|
|
1258
1258
|
observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
|
|
1259
|
-
"__#
|
|
1260
|
-
"__#
|
|
1261
|
-
"__#
|
|
1259
|
+
"__#29680@#isInit": boolean;
|
|
1260
|
+
"__#29679@#logger": _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
1261
|
+
"__#29679@#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);
|
|
1262
1262
|
get logger(): _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
1263
1263
|
set logger(logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>);
|
|
1264
1264
|
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);
|
|
1265
1265
|
}) & (new (...params: any[]) => {
|
|
1266
|
-
"__#
|
|
1266
|
+
"__#29695@#globalStyle": _descope_sdk_mixins_static_resources_mixin.InjectedStyle;
|
|
1267
1267
|
readonly theme: _descope_sdk_mixins_static_resources_mixin.ThemeOptions;
|
|
1268
1268
|
readonly styleId: string;
|
|
1269
|
-
"__#
|
|
1270
|
-
"__#
|
|
1271
|
-
readonly "__#
|
|
1272
|
-
"__#
|
|
1273
|
-
"__#
|
|
1274
|
-
"__#
|
|
1269
|
+
"__#29695@#_themeResource": Promise<void | Record<string, any>>;
|
|
1270
|
+
"__#29695@#fetchTheme"(): Promise<Record<string, any>>;
|
|
1271
|
+
readonly "__#29695@#themeResource": Promise<void | Record<string, any>>;
|
|
1272
|
+
"__#29695@#loadGlobalStyle"(): Promise<void>;
|
|
1273
|
+
"__#29695@#loadComponentsStyle"(): Promise<void>;
|
|
1274
|
+
"__#29695@#getFontsConfig"(): Promise<Record<string, {
|
|
1275
1275
|
url?: string;
|
|
1276
1276
|
}>>;
|
|
1277
|
-
"__#
|
|
1278
|
-
"__#
|
|
1279
|
-
"__#
|
|
1280
|
-
"__#
|
|
1281
|
-
"__#
|
|
1277
|
+
"__#29695@#loadFonts"(): Promise<void>;
|
|
1278
|
+
"__#29695@#applyTheme"(): Promise<void>;
|
|
1279
|
+
"__#29695@#onThemeChange": () => void;
|
|
1280
|
+
"__#29695@#loadTheme"(): void;
|
|
1281
|
+
"__#29695@#toggleOsThemeChangeListener": (listen: boolean) => void;
|
|
1282
1282
|
init(): Promise<void>;
|
|
1283
1283
|
injectStyle: ((cssString: string, { prepend }?: {
|
|
1284
1284
|
prepend?: boolean;
|
|
@@ -1296,11 +1296,11 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
1296
1296
|
readonly cssRules: CSSRuleList;
|
|
1297
1297
|
});
|
|
1298
1298
|
nonce: string;
|
|
1299
|
-
"__#
|
|
1300
|
-
"__#
|
|
1299
|
+
"__#29686@#setNonce": (() => void) & (() => void);
|
|
1300
|
+
"__#29681@#observeMappings": {};
|
|
1301
1301
|
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);
|
|
1302
1302
|
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);
|
|
1303
|
-
"__#
|
|
1303
|
+
"__#29680@#isInit": boolean;
|
|
1304
1304
|
connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
|
|
1305
1305
|
accessKey: string;
|
|
1306
1306
|
readonly accessKeyLabel: string;
|
|
@@ -1626,24 +1626,24 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
1626
1626
|
tabIndex: number;
|
|
1627
1627
|
blur(): void;
|
|
1628
1628
|
focus(options?: FocusOptions): void;
|
|
1629
|
-
"__#
|
|
1630
|
-
"__#
|
|
1629
|
+
"__#29679@#logger": _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
1630
|
+
"__#29679@#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);
|
|
1631
1631
|
get logger(): _descope_sdk_mixins_static_resources_mixin.Logger;
|
|
1632
1632
|
set logger(logger: Partial<_descope_sdk_mixins_static_resources_mixin.Logger>);
|
|
1633
1633
|
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);
|
|
1634
1634
|
contentRootElement: HTMLElement;
|
|
1635
1635
|
rootElement: HTMLElement;
|
|
1636
1636
|
readonly config: Promise<_descope_sdk_mixins_static_resources_mixin.Config>;
|
|
1637
|
-
"__#
|
|
1638
|
-
"__#
|
|
1639
|
-
"__#
|
|
1640
|
-
"__#
|
|
1637
|
+
"__#29685@#configCacheClear": (() => void) & (() => void);
|
|
1638
|
+
"__#29685@#_configResource": Promise<_descope_sdk_mixins_static_resources_mixin.Config>;
|
|
1639
|
+
"__#29685@#fetchConfig": (() => Promise<_descope_sdk_mixins_static_resources_mixin.Config>) & (() => Promise<_descope_sdk_mixins_static_resources_mixin.Config>);
|
|
1640
|
+
"__#29684@#callbacks": Map<string, () => void> & Map<string, () => void>;
|
|
1641
1641
|
onReset: ((sectionId: string, callback: () => void | Promise<void>) => () => void) & ((sectionId: string, callback: () => void | Promise<void>) => () => void);
|
|
1642
1642
|
reset: ((...sectionIds: string[]) => Promise<void>) & ((...sectionIds: string[]) => Promise<void>);
|
|
1643
|
-
"__#
|
|
1644
|
-
"__#
|
|
1645
|
-
"__#
|
|
1646
|
-
"__#
|
|
1643
|
+
"__#29682@#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);
|
|
1644
|
+
"__#29683@#lastBaseUrl"?: string;
|
|
1645
|
+
"__#29683@#workingBaseUrl"?: string;
|
|
1646
|
+
"__#29683@#getResourceUrls": ((filename: string) => (URL & {
|
|
1647
1647
|
baseUrl: string;
|
|
1648
1648
|
}) | (URL & {
|
|
1649
1649
|
baseUrl: string;
|
|
@@ -1669,11 +1669,11 @@ declare const BaseClass: (new (...params: any[]) => {
|
|
|
1669
1669
|
readonly baseStaticUrl: string;
|
|
1670
1670
|
readonly baseUrl: string;
|
|
1671
1671
|
readonly projectId: string;
|
|
1672
|
-
"__#
|
|
1673
|
-
"__#
|
|
1672
|
+
"__#29689@#getComponentsVersion"(): Promise<string>;
|
|
1673
|
+
"__#29689@#descopeUi": Promise<any>;
|
|
1674
1674
|
readonly descopeUi: Promise<any>;
|
|
1675
|
-
"__#
|
|
1676
|
-
"__#
|
|
1675
|
+
"__#29689@#loadDescopeUiComponent"(componentName: string): Promise<any>;
|
|
1676
|
+
"__#29689@#getDescopeUi"(): Promise<any>;
|
|
1677
1677
|
loadDescopeUiComponents(templateOrComponentNames: string[] | HTMLTemplateElement): Promise<any[]>;
|
|
1678
1678
|
readonly baseCdnUrl: string;
|
|
1679
1679
|
injectNpmLib(libName: string, version: string, filePath?: string, overrides?: string[]): Promise<{
|