@descope/sdk-mixins 0.2.16 → 0.2.17

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/index.d.ts CHANGED
@@ -55,10 +55,10 @@ interface ProjectConfiguration {
55
55
  }
56
56
 
57
57
  declare const configMixin: <T extends CustomElementConstructor>(superclass: T) => {
58
- new (...args: any): {
58
+ new (...params: any[]): {
59
59
  readonly config: any;
60
- "__#12024@#_configResource": any;
61
- "__#12024@#fetchConfig": () => Promise<{
60
+ "__#12114@#_configResource": any;
61
+ "__#12114@#fetchConfig": () => Promise<{
62
62
  projectConfig: ProjectConfiguration;
63
63
  executionContext: {
64
64
  geo: string;
@@ -68,14 +68,7 @@ declare const configMixin: <T extends CustomElementConstructor>(superclass: T) =
68
68
  body: F extends "json" ? Record<string, any> : string;
69
69
  headers: Record<string, string>;
70
70
  }>;
71
- readonly projectId: string;
72
- "__#12023@#handleError"(attrName: string, newValue: string): void;
73
- init(): Promise<void>;
74
- "__#12022@#observeMappings": {};
75
- observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
76
- observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
77
- "__#12021@#isInit": boolean;
78
- connectedCallback: (() => void) & (() => void) & (() => void);
71
+ readonly baseUrl: string;
79
72
  accessKey: string;
80
73
  readonly accessKeyLabel: string;
81
74
  autocapitalize: string;
@@ -101,6 +94,7 @@ declare const configMixin: <T extends CustomElementConstructor>(superclass: T) =
101
94
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
102
95
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
103
96
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
97
+ connectedCallback: (() => void) & (() => void) & (() => void);
104
98
  readonly attributes: NamedNodeMap;
105
99
  readonly classList: DOMTokenList;
106
100
  className: string;
@@ -385,8 +379,15 @@ declare const configMixin: <T extends CustomElementConstructor>(superclass: T) =
385
379
  tabIndex: number;
386
380
  blur(): void;
387
381
  focus(options?: FocusOptions): void;
388
- "__#12020@#logger": Logger;
389
- "__#12020@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
382
+ readonly projectId: string;
383
+ "__#12113@#handleError"(attrName: string, newValue: string): void;
384
+ init(): Promise<void>;
385
+ "__#12112@#observeMappings": {};
386
+ observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
387
+ observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
388
+ "__#12111@#isInit": boolean;
389
+ "__#12110@#logger": Logger;
390
+ "__#12110@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
390
391
  logger: Logger;
391
392
  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);
392
393
  };
@@ -395,12 +396,12 @@ declare const configMixin: <T extends CustomElementConstructor>(superclass: T) =
395
396
  declare const createValidateAttributesMixin: {
396
397
  (mappings: Record<string, CheckValueFn | string>): <T extends CustomElementConstructor>(superclass: T) => {
397
398
  new (...args: any): {
398
- "__#12023@#handleError"(attrName: string, newValue: string | null): void;
399
+ "__#12113@#handleError"(attrName: string, newValue: string | null): void;
399
400
  init(): Promise<void>;
400
- "__#12022@#observeMappings": {};
401
+ "__#12112@#observeMappings": {};
401
402
  observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
402
403
  observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
403
- "__#12021@#isInit": boolean;
404
+ "__#12111@#isInit": boolean;
404
405
  connectedCallback: (() => void) & (() => void) & (() => void);
405
406
  accessKey: string;
406
407
  readonly accessKeyLabel: string;
@@ -711,8 +712,8 @@ declare const createValidateAttributesMixin: {
711
712
  tabIndex: number;
712
713
  blur(): void;
713
714
  focus(options?: FocusOptions): void;
714
- "__#12020@#logger": Logger;
715
- "__#12020@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
715
+ "__#12110@#logger": Logger;
716
+ "__#12110@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
716
717
  logger: Logger;
717
718
  onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
718
719
  };
@@ -725,8 +726,8 @@ declare const logLevels: readonly ["error", "warn", "info", "debug"];
725
726
  type LogLevel = (typeof logLevels)[number];
726
727
  declare const loggerMixin: <T extends CustomElementConstructor>(superclass: T) => {
727
728
  new (...params: any[]): {
728
- "__#12020@#logger": Logger;
729
- "__#12020@#wrapLogger"(logger: Partial<Logger>): Logger;
729
+ "__#12110@#logger": Logger;
730
+ "__#12110@#wrapLogger"(logger: Partial<Logger>): Logger;
730
731
  logger: Logger;
731
732
  onLogEvent(logLevel: LogLevel, data: any[]): void;
732
733
  accessKey: string;
@@ -1049,19 +1050,19 @@ type DebuggerMessage = {
1049
1050
 
1050
1051
  declare const debuggerMixin: <T extends CustomElementConstructor>(superclass: T) => {
1051
1052
  new (...params: any[]): {
1052
- "__#12026@#debuggerEle": HTMLElement & {
1053
+ "__#12116@#debuggerEle": HTMLElement & {
1053
1054
  updateData: (data: DebuggerMessage | DebuggerMessage[]) => void;
1054
1055
  };
1055
- "__#12026@#disableDebugger"(): void;
1056
- "__#12026@#enableDebugger"(): Promise<void>;
1056
+ "__#12116@#disableDebugger"(): void;
1057
+ "__#12116@#enableDebugger"(): Promise<void>;
1057
1058
  attributeChangedCallback: (attrName: string, oldValue: string | null, newValue: string | null) => void;
1058
1059
  readonly debug: boolean;
1059
- "__#12026@#handleDebugMode"(): void;
1060
+ "__#12116@#handleDebugMode"(): void;
1060
1061
  onLogEvent(logLevel: LogLevel, args: any[]): void;
1061
1062
  init(): Promise<void>;
1062
- "__#12026@#updateDebuggerMessages"(title: string, description: string): void;
1063
- "__#12020@#logger": Logger;
1064
- "__#12020@#wrapLogger"(logger: Partial<Logger>): Logger;
1063
+ "__#12116@#updateDebuggerMessages"(title: string, description: string): void;
1064
+ "__#12110@#logger": Logger;
1065
+ "__#12110@#wrapLogger"(logger: Partial<Logger>): Logger;
1065
1066
  logger: Logger;
1066
1067
  accessKey: string;
1067
1068
  readonly accessKeyLabel: string;
@@ -1372,29 +1373,29 @@ declare const debuggerMixin: <T extends CustomElementConstructor>(superclass: T)
1372
1373
  tabIndex: number;
1373
1374
  blur(): void;
1374
1375
  focus(options?: FocusOptions): void;
1375
- "__#12021@#isInit": boolean;
1376
+ "__#12111@#isInit": boolean;
1376
1377
  };
1377
1378
  } & T;
1378
1379
 
1379
1380
  type ErrorCb = (error: string) => void;
1380
1381
  type LoadCb = () => void;
1381
1382
  declare const descopeUiMixin: <T extends CustomElementConstructor>(superclass: T) => {
1382
- new (...args: any): {
1383
- "__#12027@#errorCbsSym": symbol;
1384
- "__#12027@#loadCbsSym": symbol;
1385
- "__#12027@#getComponentsVersion"(): Promise<any>;
1386
- "__#12027@#exposeAlternateEvents"(scriptEle: HTMLScriptElement): void;
1387
- "__#12027@#handleFallbackScript"(errorCbs: ErrorCb[], loadCbs: LoadCb[]): Promise<void>;
1388
- "__#12027@#registerEvents"(scriptEle: HTMLScriptElement): void;
1389
- "__#12027@#getDescopeUiLoadingScript"(): Promise<HTMLElement>;
1390
- "__#12027@#descopeUi": Promise<any>;
1383
+ new (...params: any[]): {
1384
+ "__#12117@#errorCbsSym": symbol;
1385
+ "__#12117@#loadCbsSym": symbol;
1386
+ "__#12117@#getComponentsVersion"(): Promise<any>;
1387
+ "__#12117@#exposeAlternateEvents"(scriptEle: HTMLScriptElement): void;
1388
+ "__#12117@#handleFallbackScript"(errorCbs: ErrorCb[], loadCbs: LoadCb[]): Promise<void>;
1389
+ "__#12117@#registerEvents"(scriptEle: HTMLScriptElement): void;
1390
+ "__#12117@#getDescopeUiLoadingScript"(): Promise<HTMLElement>;
1391
+ "__#12117@#descopeUi": Promise<any>;
1391
1392
  readonly descopeUi: Promise<any>;
1392
- "__#12027@#loadDescopeUiComponent"(componentName: string): Promise<any>;
1393
+ "__#12117@#loadDescopeUiComponent"(componentName: string): Promise<any>;
1393
1394
  loadDescopeUiComponents(templateOrComponentNames: HTMLTemplateElement | string[]): Promise<any[]>;
1394
- "__#12027@#getDescopeUi"(): Promise<unknown>;
1395
+ "__#12117@#getDescopeUi"(): Promise<unknown>;
1395
1396
  readonly config: any;
1396
- "__#12024@#_configResource": any;
1397
- "__#12024@#fetchConfig": () => Promise<{
1397
+ "__#12114@#_configResource": any;
1398
+ "__#12114@#fetchConfig": () => Promise<{
1398
1399
  projectConfig: ProjectConfiguration;
1399
1400
  executionContext: {
1400
1401
  geo: string;
@@ -1404,14 +1405,7 @@ declare const descopeUiMixin: <T extends CustomElementConstructor>(superclass: T
1404
1405
  body: F extends "json" ? Record<string, any> : string;
1405
1406
  headers: Record<string, string>;
1406
1407
  }>;
1407
- readonly projectId: string;
1408
- "__#12023@#handleError"(attrName: string, newValue: string): void;
1409
- init(): Promise<void>;
1410
- "__#12022@#observeMappings": {};
1411
- observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
1412
- observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
1413
- "__#12021@#isInit": boolean;
1414
- connectedCallback: (() => void) & (() => void) & (() => void);
1408
+ readonly baseUrl: string;
1415
1409
  accessKey: string;
1416
1410
  readonly accessKeyLabel: string;
1417
1411
  autocapitalize: string;
@@ -1437,6 +1431,7 @@ declare const descopeUiMixin: <T extends CustomElementConstructor>(superclass: T
1437
1431
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
1438
1432
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1439
1433
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
1434
+ connectedCallback: (() => void) & (() => void) & (() => void);
1440
1435
  readonly attributes: NamedNodeMap;
1441
1436
  readonly classList: DOMTokenList;
1442
1437
  className: string;
@@ -1721,16 +1716,23 @@ declare const descopeUiMixin: <T extends CustomElementConstructor>(superclass: T
1721
1716
  tabIndex: number;
1722
1717
  blur(): void;
1723
1718
  focus(options?: FocusOptions): void;
1724
- "__#12020@#logger": Logger;
1725
- "__#12020@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
1719
+ readonly projectId: string;
1720
+ "__#12113@#handleError"(attrName: string, newValue: string): void;
1721
+ init(): Promise<void>;
1722
+ "__#12112@#observeMappings": {};
1723
+ observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
1724
+ observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
1725
+ "__#12111@#isInit": boolean;
1726
+ "__#12110@#logger": Logger;
1727
+ "__#12110@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
1726
1728
  logger: Logger;
1727
1729
  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);
1728
1730
  };
1729
1731
  } & T;
1730
1732
 
1731
1733
  declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) => {
1732
- new (...args: any): {
1733
- "__#12031@#ModalDriverWrapper": {
1734
+ new (...params: any[]): {
1735
+ "__#12121@#ModalDriverWrapper": {
1734
1736
  new (refOrRefFn: Element | (() => HTMLElement), config: {
1735
1737
  logger: {
1736
1738
  error(...data: any[]): void;
@@ -1740,7 +1742,7 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
1740
1742
  };
1741
1743
  }): {
1742
1744
  setContent(template: HTMLTemplateElement): void;
1743
- "__#12030@#private": any;
1745
+ "__#12120@#private": any;
1744
1746
  beforeOpen: () => void | Promise<void>;
1745
1747
  afterClose: () => void;
1746
1748
  nodeName: string;
@@ -1748,7 +1750,7 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
1748
1750
  open(): Promise<void>;
1749
1751
  reset(): void;
1750
1752
  remove(): void;
1751
- "__#12028@#private": any;
1753
+ "__#12118@#private": any;
1752
1754
  logger: {
1753
1755
  error(...data: any[]): void;
1754
1756
  warn(...data: any[]): void;
@@ -1761,21 +1763,21 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
1761
1763
  };
1762
1764
  createModal(config?: Record<string, string>): ModalDriver;
1763
1765
  init(): Promise<void>;
1764
- "__#12027@#errorCbsSym": symbol;
1765
- "__#12027@#loadCbsSym": symbol;
1766
- "__#12027@#getComponentsVersion"(): Promise<any>;
1767
- "__#12027@#exposeAlternateEvents"(scriptEle: HTMLScriptElement): void;
1768
- "__#12027@#handleFallbackScript"(errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]): Promise<void>;
1769
- "__#12027@#registerEvents"(scriptEle: HTMLScriptElement): void;
1770
- "__#12027@#getDescopeUiLoadingScript"(): Promise<HTMLElement>;
1771
- "__#12027@#descopeUi": Promise<any>;
1766
+ "__#12117@#errorCbsSym": symbol;
1767
+ "__#12117@#loadCbsSym": symbol;
1768
+ "__#12117@#getComponentsVersion"(): Promise<any>;
1769
+ "__#12117@#exposeAlternateEvents"(scriptEle: HTMLScriptElement): void;
1770
+ "__#12117@#handleFallbackScript"(errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]): Promise<void>;
1771
+ "__#12117@#registerEvents"(scriptEle: HTMLScriptElement): void;
1772
+ "__#12117@#getDescopeUiLoadingScript"(): Promise<HTMLElement>;
1773
+ "__#12117@#descopeUi": Promise<any>;
1772
1774
  readonly descopeUi: Promise<any>;
1773
- "__#12027@#loadDescopeUiComponent"(componentName: string): Promise<any>;
1775
+ "__#12117@#loadDescopeUiComponent"(componentName: string): Promise<any>;
1774
1776
  loadDescopeUiComponents(templateOrComponentNames: HTMLTemplateElement | string[]): Promise<any[]>;
1775
- "__#12027@#getDescopeUi"(): Promise<unknown>;
1777
+ "__#12117@#getDescopeUi"(): Promise<unknown>;
1776
1778
  readonly config: any;
1777
- "__#12024@#_configResource": any;
1778
- "__#12024@#fetchConfig": () => Promise<{
1779
+ "__#12114@#_configResource": any;
1780
+ "__#12114@#fetchConfig": () => Promise<{
1779
1781
  projectConfig: ProjectConfiguration;
1780
1782
  executionContext: {
1781
1783
  geo: string;
@@ -1785,13 +1787,7 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
1785
1787
  body: F extends "json" ? Record<string, any> : string;
1786
1788
  headers: Record<string, string>;
1787
1789
  }>;
1788
- readonly projectId: string;
1789
- "__#12023@#handleError"(attrName: string, newValue: string): void;
1790
- "__#12022@#observeMappings": {};
1791
- observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
1792
- observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
1793
- "__#12021@#isInit": boolean;
1794
- connectedCallback: (() => void) & (() => void) & (() => void) & (() => void);
1790
+ readonly baseUrl: string;
1795
1791
  accessKey: string;
1796
1792
  readonly accessKeyLabel: string;
1797
1793
  autocapitalize: string;
@@ -1817,6 +1813,7 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
1817
1813
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
1818
1814
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1819
1815
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
1816
+ connectedCallback: (() => void) & (() => void) & (() => void) & (() => void);
1820
1817
  readonly attributes: NamedNodeMap;
1821
1818
  readonly classList: DOMTokenList;
1822
1819
  className: string;
@@ -2101,8 +2098,14 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
2101
2098
  tabIndex: number;
2102
2099
  blur(): void;
2103
2100
  focus(options?: FocusOptions): void;
2104
- "__#12020@#logger": Logger;
2105
- "__#12020@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
2101
+ readonly projectId: string;
2102
+ "__#12113@#handleError"(attrName: string, newValue: string): void;
2103
+ "__#12112@#observeMappings": {};
2104
+ observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
2105
+ observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
2106
+ "__#12111@#isInit": boolean;
2107
+ "__#12110@#logger": Logger;
2108
+ "__#12110@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
2106
2109
  logger: Logger;
2107
2110
  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);
2108
2111
  contentRootElement: HTMLElement;
@@ -2111,8 +2114,8 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
2111
2114
  } & T;
2112
2115
 
2113
2116
  declare const notificationsMixin: <T extends CustomElementConstructor>(superclass: T) => {
2114
- new (...args: any): {
2115
- "__#12032@#NotificationDriverWrapper": {
2117
+ new (...params: any[]): {
2118
+ "__#12122@#NotificationDriverWrapper": {
2116
2119
  new (refOrRefFn: Element | (() => HTMLElement), config: {
2117
2120
  logger: {
2118
2121
  error(...data: any[]): void;
@@ -2126,7 +2129,7 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2126
2129
  close(): void;
2127
2130
  show(): void;
2128
2131
  remove(): void;
2129
- "__#12028@#private": any;
2132
+ "__#12118@#private": any;
2130
2133
  logger: {
2131
2134
  error(...data: any[]): void;
2132
2135
  warn(...data: any[]): void;
@@ -2152,7 +2155,7 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2152
2155
  close(): void;
2153
2156
  show(): void;
2154
2157
  remove(): void;
2155
- "__#12028@#private": any;
2158
+ "__#12118@#private": any;
2156
2159
  logger: {
2157
2160
  error(...data: any[]): void;
2158
2161
  warn(...data: any[]): void;
@@ -2163,21 +2166,21 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2163
2166
  readonly ele: Element;
2164
2167
  };
2165
2168
  init(): Promise<void>;
2166
- "__#12027@#errorCbsSym": symbol;
2167
- "__#12027@#loadCbsSym": symbol;
2168
- "__#12027@#getComponentsVersion"(): Promise<any>;
2169
- "__#12027@#exposeAlternateEvents"(scriptEle: HTMLScriptElement): void;
2170
- "__#12027@#handleFallbackScript"(errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]): Promise<void>;
2171
- "__#12027@#registerEvents"(scriptEle: HTMLScriptElement): void;
2172
- "__#12027@#getDescopeUiLoadingScript"(): Promise<HTMLElement>;
2173
- "__#12027@#descopeUi": Promise<any>;
2169
+ "__#12117@#errorCbsSym": symbol;
2170
+ "__#12117@#loadCbsSym": symbol;
2171
+ "__#12117@#getComponentsVersion"(): Promise<any>;
2172
+ "__#12117@#exposeAlternateEvents"(scriptEle: HTMLScriptElement): void;
2173
+ "__#12117@#handleFallbackScript"(errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]): Promise<void>;
2174
+ "__#12117@#registerEvents"(scriptEle: HTMLScriptElement): void;
2175
+ "__#12117@#getDescopeUiLoadingScript"(): Promise<HTMLElement>;
2176
+ "__#12117@#descopeUi": Promise<any>;
2174
2177
  readonly descopeUi: Promise<any>;
2175
- "__#12027@#loadDescopeUiComponent"(componentName: string): Promise<any>;
2178
+ "__#12117@#loadDescopeUiComponent"(componentName: string): Promise<any>;
2176
2179
  loadDescopeUiComponents(templateOrComponentNames: HTMLTemplateElement | string[]): Promise<any[]>;
2177
- "__#12027@#getDescopeUi"(): Promise<unknown>;
2180
+ "__#12117@#getDescopeUi"(): Promise<unknown>;
2178
2181
  readonly config: any;
2179
- "__#12024@#_configResource": any;
2180
- "__#12024@#fetchConfig": () => Promise<{
2182
+ "__#12114@#_configResource": any;
2183
+ "__#12114@#fetchConfig": () => Promise<{
2181
2184
  projectConfig: ProjectConfiguration;
2182
2185
  executionContext: {
2183
2186
  geo: string;
@@ -2187,13 +2190,7 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2187
2190
  body: F extends "json" ? Record<string, any> : string;
2188
2191
  headers: Record<string, string>;
2189
2192
  }>;
2190
- readonly projectId: string;
2191
- "__#12023@#handleError"(attrName: string, newValue: string): void;
2192
- "__#12022@#observeMappings": {};
2193
- observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
2194
- observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
2195
- "__#12021@#isInit": boolean;
2196
- connectedCallback: (() => void) & (() => void) & (() => void) & (() => void);
2193
+ readonly baseUrl: string;
2197
2194
  accessKey: string;
2198
2195
  readonly accessKeyLabel: string;
2199
2196
  autocapitalize: string;
@@ -2219,6 +2216,7 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2219
2216
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
2220
2217
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2221
2218
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
2219
+ connectedCallback: (() => void) & (() => void) & (() => void) & (() => void);
2222
2220
  readonly attributes: NamedNodeMap;
2223
2221
  readonly classList: DOMTokenList;
2224
2222
  className: string;
@@ -2503,8 +2501,14 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2503
2501
  tabIndex: number;
2504
2502
  blur(): void;
2505
2503
  focus(options?: FocusOptions): void;
2506
- "__#12020@#logger": Logger;
2507
- "__#12020@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
2504
+ readonly projectId: string;
2505
+ "__#12113@#handleError"(attrName: string, newValue: string): void;
2506
+ "__#12112@#observeMappings": {};
2507
+ observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
2508
+ observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
2509
+ "__#12111@#isInit": boolean;
2510
+ "__#12110@#logger": Logger;
2511
+ "__#12110@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
2508
2512
  logger: Logger;
2509
2513
  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);
2510
2514
  contentRootElement: HTMLElement;
@@ -2515,11 +2519,11 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2515
2519
  type OnAttrChange = (attrName: string, value: string | null) => void;
2516
2520
  declare const observeAttributesMixin: <T extends CustomElementConstructor>(superclass: T) => {
2517
2521
  new (...params: any[]): {
2518
- "__#12022@#observeMappings": {};
2522
+ "__#12112@#observeMappings": {};
2519
2523
  init(): Promise<void>;
2520
2524
  observeAttribute(attrName: string, onAttrChange: OnAttrChange): () => any;
2521
2525
  observeAttributes(attrs: string[], cb: OnAttrChange): () => void;
2522
- "__#12021@#isInit": boolean;
2526
+ "__#12111@#isInit": boolean;
2523
2527
  connectedCallback: (() => void) & (() => void);
2524
2528
  accessKey: string;
2525
2529
  readonly accessKeyLabel: string;
@@ -2830,29 +2834,27 @@ declare const observeAttributesMixin: <T extends CustomElementConstructor>(super
2830
2834
  tabIndex: number;
2831
2835
  blur(): void;
2832
2836
  focus(options?: FocusOptions): void;
2833
- "__#12020@#logger": Logger;
2834
- "__#12020@#wrapLogger"(logger: Partial<Logger>): Logger;
2837
+ "__#12110@#logger": Logger;
2838
+ "__#12110@#wrapLogger"(logger: Partial<Logger>): Logger;
2835
2839
  logger: Logger;
2836
2840
  onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
2837
2841
  };
2838
2842
  } & T;
2839
2843
 
2840
2844
  type Format = 'text' | 'json';
2841
- declare function getResourceUrl(projectId: string, filename: string, assetsFolder?: string): string;
2845
+ declare function getResourceUrl({ projectId, filename, assetsFolder, baseUrl, }: {
2846
+ projectId: string;
2847
+ filename: string;
2848
+ assetsFolder?: string;
2849
+ baseUrl?: string;
2850
+ }): string;
2842
2851
  declare const staticResourcesMixin: <T extends CustomElementConstructor>(superclass: T) => {
2843
- new (...args: any): {
2852
+ new (...params: any[]): {
2844
2853
  fetchStaticResource<F extends Format>(filename: string, format: F): Promise<{
2845
2854
  body: F extends "json" ? Record<string, any> : string;
2846
2855
  headers: Record<string, string>;
2847
2856
  }>;
2848
- readonly projectId: string;
2849
- "__#12023@#handleError"(attrName: string, newValue: string): void;
2850
- init(): Promise<void>;
2851
- "__#12022@#observeMappings": {};
2852
- observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
2853
- observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
2854
- "__#12021@#isInit": boolean;
2855
- connectedCallback: (() => void) & (() => void) & (() => void);
2857
+ readonly baseUrl: string;
2856
2858
  accessKey: string;
2857
2859
  readonly accessKeyLabel: string;
2858
2860
  autocapitalize: string;
@@ -2878,6 +2880,7 @@ declare const staticResourcesMixin: <T extends CustomElementConstructor>(supercl
2878
2880
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
2879
2881
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2880
2882
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
2883
+ connectedCallback: (() => void) & (() => void) & (() => void);
2881
2884
  readonly attributes: NamedNodeMap;
2882
2885
  readonly classList: DOMTokenList;
2883
2886
  className: string;
@@ -3162,8 +3165,15 @@ declare const staticResourcesMixin: <T extends CustomElementConstructor>(supercl
3162
3165
  tabIndex: number;
3163
3166
  blur(): void;
3164
3167
  focus(options?: FocusOptions): void;
3165
- "__#12020@#logger": Logger;
3166
- "__#12020@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
3168
+ readonly projectId: string;
3169
+ "__#12113@#handleError"(attrName: string, newValue: string): void;
3170
+ init(): Promise<void>;
3171
+ "__#12112@#observeMappings": {};
3172
+ observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
3173
+ observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
3174
+ "__#12111@#isInit": boolean;
3175
+ "__#12110@#logger": Logger;
3176
+ "__#12110@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
3167
3177
  logger: Logger;
3168
3178
  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);
3169
3179
  };
@@ -3173,18 +3183,18 @@ type ThemeOptions = 'light' | 'dark' | 'os';
3173
3183
  declare const themeMixin: <T extends CustomElementConstructor>(superclass: T) => {
3174
3184
  new (...params: any[]): {
3175
3185
  readonly theme: ThemeOptions;
3176
- "__#12033@#_themeResource": Promise<void | Record<string, any>>;
3177
- "__#12033@#fetchTheme"(): Promise<Record<string, any>>;
3178
- readonly "__#12033@#themeResource": Promise<void | Record<string, any>>;
3179
- "__#12033@#loadGlobalStyle"(): Promise<void>;
3180
- "__#12033@#loadComponentsStyle"(): Promise<void>;
3181
- "__#12033@#loadFonts"(): Promise<void>;
3182
- "__#12033@#applyTheme"(): Promise<void>;
3186
+ "__#12123@#_themeResource": Promise<void | Record<string, any>>;
3187
+ "__#12123@#fetchTheme"(): Promise<Record<string, any>>;
3188
+ readonly "__#12123@#themeResource": Promise<void | Record<string, any>>;
3189
+ "__#12123@#loadGlobalStyle"(): Promise<void>;
3190
+ "__#12123@#loadComponentsStyle"(): Promise<void>;
3191
+ "__#12123@#loadFonts"(): Promise<void>;
3192
+ "__#12123@#applyTheme"(): Promise<void>;
3183
3193
  init(): Promise<void>;
3184
- "__#12022@#observeMappings": {} & {} & {} & {} & {};
3194
+ "__#12112@#observeMappings": {} & {} & {} & {} & {};
3185
3195
  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);
3186
3196
  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);
3187
- "__#12021@#isInit": boolean;
3197
+ "__#12111@#isInit": boolean;
3188
3198
  connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
3189
3199
  accessKey: string;
3190
3200
  readonly accessKeyLabel: string;
@@ -3495,15 +3505,15 @@ declare const themeMixin: <T extends CustomElementConstructor>(superclass: T) =>
3495
3505
  tabIndex: number;
3496
3506
  blur(): void;
3497
3507
  focus(options?: FocusOptions): void;
3498
- "__#12020@#logger": Logger;
3499
- "__#12020@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
3508
+ "__#12110@#logger": Logger;
3509
+ "__#12110@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
3500
3510
  logger: Logger;
3501
3511
  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);
3502
3512
  contentRootElement: HTMLElement;
3503
3513
  rootElement: HTMLElement;
3504
3514
  readonly config: any;
3505
- "__#12024@#_configResource": any;
3506
- "__#12024@#fetchConfig": (() => Promise<{
3515
+ "__#12114@#_configResource": any;
3516
+ "__#12114@#fetchConfig": (() => Promise<{
3507
3517
  projectConfig: ProjectConfiguration;
3508
3518
  executionContext: {
3509
3519
  geo: string;
@@ -3524,20 +3534,21 @@ declare const themeMixin: <T extends CustomElementConstructor>(superclass: T) =>
3524
3534
  body: F_2 extends "json" ? Record<string, any> : string;
3525
3535
  headers: Record<string, string>;
3526
3536
  }>);
3537
+ readonly baseUrl: string;
3527
3538
  readonly projectId: string;
3528
- "__#12023@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
3529
- "__#12027@#errorCbsSym": symbol;
3530
- "__#12027@#loadCbsSym": symbol;
3531
- "__#12027@#getComponentsVersion"(): Promise<any>;
3532
- "__#12027@#exposeAlternateEvents"(scriptEle: HTMLScriptElement): void;
3533
- "__#12027@#handleFallbackScript"(errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]): Promise<void>;
3534
- "__#12027@#registerEvents"(scriptEle: HTMLScriptElement): void;
3535
- "__#12027@#getDescopeUiLoadingScript"(): Promise<HTMLElement>;
3536
- "__#12027@#descopeUi": Promise<any>;
3539
+ "__#12113@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
3540
+ "__#12117@#errorCbsSym": symbol;
3541
+ "__#12117@#loadCbsSym": symbol;
3542
+ "__#12117@#getComponentsVersion"(): Promise<any>;
3543
+ "__#12117@#exposeAlternateEvents"(scriptEle: HTMLScriptElement): void;
3544
+ "__#12117@#handleFallbackScript"(errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]): Promise<void>;
3545
+ "__#12117@#registerEvents"(scriptEle: HTMLScriptElement): void;
3546
+ "__#12117@#getDescopeUiLoadingScript"(): Promise<HTMLElement>;
3547
+ "__#12117@#descopeUi": Promise<any>;
3537
3548
  readonly descopeUi: Promise<any>;
3538
- "__#12027@#loadDescopeUiComponent"(componentName: string): Promise<any>;
3549
+ "__#12117@#loadDescopeUiComponent"(componentName: string): Promise<any>;
3539
3550
  loadDescopeUiComponents(templateOrComponentNames: HTMLTemplateElement | string[]): Promise<any[]>;
3540
- "__#12027@#getDescopeUi"(): Promise<unknown>;
3551
+ "__#12117@#getDescopeUi"(): Promise<unknown>;
3541
3552
  };
3542
3553
  } & T;
3543
3554
 
@@ -3547,8 +3558,8 @@ declare const createStateManagementMixin: <State, CaseReducers extends SliceCase
3547
3558
  new (...args: any): {
3548
3559
  actions: _reduxjs_toolkit.CaseReducerActions<CaseReducers, Name> & AsyncActions;
3549
3560
  subscribe: <SelectorR = State extends Draft<infer S> ? S : State>(cb: (state: SelectorR) => void, selector?: (state: State) => SelectorR) => Unsubscribe;
3550
- "__#12020@#logger": Logger;
3551
- "__#12020@#wrapLogger"(logger: Partial<Logger>): Logger;
3561
+ "__#12110@#logger": Logger;
3562
+ "__#12110@#wrapLogger"(logger: Partial<Logger>): Logger;
3552
3563
  logger: Logger;
3553
3564
  onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
3554
3565
  accessKey: string;
@@ -3875,8 +3886,8 @@ declare const formMixin: <T extends CustomElementConstructor>(superclass: T) =>
3875
3886
  getFormFieldNames(rootEle: ElementOrEmpty): string[];
3876
3887
  disableFormField(rootEle: ElementOrEmpty, name: string): void;
3877
3888
  removeFormField(rootEle: ElementOrEmpty, name: string): void;
3878
- "__#12020@#logger": Logger;
3879
- "__#12020@#wrapLogger"(logger: Partial<Logger>): Logger;
3889
+ "__#12110@#logger": Logger;
3890
+ "__#12110@#wrapLogger"(logger: Partial<Logger>): Logger;
3880
3891
  logger: Logger;
3881
3892
  onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
3882
3893
  accessKey: string;
@@ -4511,7 +4522,7 @@ declare const initElementMixin: <T extends CustomElementConstructor>(superclass:
4511
4522
 
4512
4523
  declare const initLifecycleMixin: <T extends CustomElementConstructor>(superclass: T) => {
4513
4524
  new (...params: any[]): {
4514
- "__#12021@#isInit": boolean;
4525
+ "__#12111@#isInit": boolean;
4515
4526
  connectedCallback(): void;
4516
4527
  init(): Promise<void>;
4517
4528
  accessKey: string;
@@ -4829,12 +4840,12 @@ declare const initLifecycleMixin: <T extends CustomElementConstructor>(superclas
4829
4840
  declare const projectIdMixin: <T extends CustomElementConstructor>(superclass: T) => {
4830
4841
  new (...args: any): {
4831
4842
  readonly projectId: string;
4832
- "__#12023@#handleError"(attrName: string, newValue: string): void;
4843
+ "__#12113@#handleError"(attrName: string, newValue: string): void;
4833
4844
  init(): Promise<void>;
4834
- "__#12022@#observeMappings": {};
4845
+ "__#12112@#observeMappings": {};
4835
4846
  observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
4836
4847
  observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
4837
- "__#12021@#isInit": boolean;
4848
+ "__#12111@#isInit": boolean;
4838
4849
  connectedCallback: (() => void) & (() => void) & (() => void);
4839
4850
  accessKey: string;
4840
4851
  readonly accessKeyLabel: string;
@@ -5145,13 +5156,329 @@ declare const projectIdMixin: <T extends CustomElementConstructor>(superclass: T
5145
5156
  tabIndex: number;
5146
5157
  blur(): void;
5147
5158
  focus(options?: FocusOptions): void;
5148
- "__#12020@#logger": Logger;
5149
- "__#12020@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
5159
+ "__#12110@#logger": Logger;
5160
+ "__#12110@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
5150
5161
  logger: Logger;
5151
5162
  onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
5152
5163
  };
5153
5164
  } & T;
5154
5165
 
5166
+ declare const baseUrlMixin: <T extends CustomElementConstructor>(superclass: T) => {
5167
+ new (...params: any[]): {
5168
+ readonly baseUrl: string;
5169
+ accessKey: string;
5170
+ readonly accessKeyLabel: string;
5171
+ autocapitalize: string;
5172
+ dir: string;
5173
+ draggable: boolean;
5174
+ hidden: boolean;
5175
+ inert: boolean;
5176
+ innerText: string;
5177
+ lang: string;
5178
+ readonly offsetHeight: number;
5179
+ readonly offsetLeft: number;
5180
+ readonly offsetParent: Element;
5181
+ readonly offsetTop: number;
5182
+ readonly offsetWidth: number;
5183
+ outerText: string;
5184
+ spellcheck: boolean;
5185
+ title: string;
5186
+ translate: boolean;
5187
+ attachInternals(): ElementInternals;
5188
+ click(): void;
5189
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5190
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5191
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
5192
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5193
+ attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
5194
+ connectedCallback(): void;
5195
+ readonly attributes: NamedNodeMap;
5196
+ readonly classList: DOMTokenList;
5197
+ className: string;
5198
+ readonly clientHeight: number;
5199
+ readonly clientLeft: number;
5200
+ readonly clientTop: number;
5201
+ readonly clientWidth: number;
5202
+ id: string;
5203
+ readonly localName: string;
5204
+ readonly namespaceURI: string;
5205
+ onfullscreenchange: (this: Element, ev: Event) => any;
5206
+ onfullscreenerror: (this: Element, ev: Event) => any;
5207
+ outerHTML: string;
5208
+ readonly ownerDocument: Document;
5209
+ readonly part: DOMTokenList;
5210
+ readonly prefix: string;
5211
+ readonly scrollHeight: number;
5212
+ scrollLeft: number;
5213
+ scrollTop: number;
5214
+ readonly scrollWidth: number;
5215
+ readonly shadowRoot: ShadowRoot;
5216
+ slot: string;
5217
+ readonly tagName: string;
5218
+ attachShadow(init: ShadowRootInit): ShadowRoot;
5219
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
5220
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
5221
+ closest<E extends Element = Element>(selectors: string): E;
5222
+ getAttribute(qualifiedName: string): string;
5223
+ getAttributeNS(namespace: string, localName: string): string;
5224
+ getAttributeNames(): string[];
5225
+ getAttributeNode(qualifiedName: string): Attr;
5226
+ getAttributeNodeNS(namespace: string, localName: string): Attr;
5227
+ getBoundingClientRect(): DOMRect;
5228
+ getClientRects(): DOMRectList;
5229
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
5230
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
5231
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
5232
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
5233
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
5234
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
5235
+ getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
5236
+ hasAttribute(qualifiedName: string): boolean;
5237
+ hasAttributeNS(namespace: string, localName: string): boolean;
5238
+ hasAttributes(): boolean;
5239
+ hasPointerCapture(pointerId: number): boolean;
5240
+ insertAdjacentElement(where: InsertPosition, element: Element): Element;
5241
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
5242
+ insertAdjacentText(where: InsertPosition, data: string): void;
5243
+ matches(selectors: string): boolean;
5244
+ releasePointerCapture(pointerId: number): void;
5245
+ removeAttribute(qualifiedName: string): void;
5246
+ removeAttributeNS(namespace: string, localName: string): void;
5247
+ removeAttributeNode(attr: Attr): Attr;
5248
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
5249
+ requestPointerLock(): void;
5250
+ scroll(options?: ScrollToOptions): void;
5251
+ scroll(x: number, y: number): void;
5252
+ scrollBy(options?: ScrollToOptions): void;
5253
+ scrollBy(x: number, y: number): void;
5254
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
5255
+ scrollTo(options?: ScrollToOptions): void;
5256
+ scrollTo(x: number, y: number): void;
5257
+ setAttribute(qualifiedName: string, value: string): void;
5258
+ setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
5259
+ setAttributeNode(attr: Attr): Attr;
5260
+ setAttributeNodeNS(attr: Attr): Attr;
5261
+ setPointerCapture(pointerId: number): void;
5262
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
5263
+ webkitMatchesSelector(selectors: string): boolean;
5264
+ readonly baseURI: string;
5265
+ readonly childNodes: NodeListOf<ChildNode>;
5266
+ readonly firstChild: ChildNode;
5267
+ readonly isConnected: boolean;
5268
+ readonly lastChild: ChildNode;
5269
+ readonly nextSibling: ChildNode;
5270
+ readonly nodeName: string;
5271
+ readonly nodeType: number;
5272
+ nodeValue: string;
5273
+ readonly parentElement: HTMLElement;
5274
+ readonly parentNode: ParentNode;
5275
+ readonly previousSibling: ChildNode;
5276
+ textContent: string;
5277
+ appendChild<T_1 extends Node>(node: T_1): T_1;
5278
+ cloneNode(deep?: boolean): Node;
5279
+ compareDocumentPosition(other: Node): number;
5280
+ contains(other: Node): boolean;
5281
+ getRootNode(options?: GetRootNodeOptions): Node;
5282
+ hasChildNodes(): boolean;
5283
+ insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
5284
+ isDefaultNamespace(namespace: string): boolean;
5285
+ isEqualNode(otherNode: Node): boolean;
5286
+ isSameNode(otherNode: Node): boolean;
5287
+ lookupNamespaceURI(prefix: string): string;
5288
+ lookupPrefix(namespace: string): string;
5289
+ normalize(): void;
5290
+ removeChild<T_3 extends Node>(child: T_3): T_3;
5291
+ replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
5292
+ readonly ATTRIBUTE_NODE: number;
5293
+ readonly CDATA_SECTION_NODE: number;
5294
+ readonly COMMENT_NODE: number;
5295
+ readonly DOCUMENT_FRAGMENT_NODE: number;
5296
+ readonly DOCUMENT_NODE: number;
5297
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
5298
+ readonly DOCUMENT_POSITION_CONTAINS: number;
5299
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
5300
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
5301
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
5302
+ readonly DOCUMENT_POSITION_PRECEDING: number;
5303
+ readonly DOCUMENT_TYPE_NODE: number;
5304
+ readonly ELEMENT_NODE: number;
5305
+ readonly ENTITY_NODE: number;
5306
+ readonly ENTITY_REFERENCE_NODE: number;
5307
+ readonly NOTATION_NODE: number;
5308
+ readonly PROCESSING_INSTRUCTION_NODE: number;
5309
+ readonly TEXT_NODE: number;
5310
+ dispatchEvent(event: Event): boolean;
5311
+ ariaAtomic: string;
5312
+ ariaAutoComplete: string;
5313
+ ariaBusy: string;
5314
+ ariaChecked: string;
5315
+ ariaColCount: string;
5316
+ ariaColIndex: string;
5317
+ ariaColIndexText: string;
5318
+ ariaColSpan: string;
5319
+ ariaCurrent: string;
5320
+ ariaDisabled: string;
5321
+ ariaExpanded: string;
5322
+ ariaHasPopup: string;
5323
+ ariaHidden: string;
5324
+ ariaInvalid: string;
5325
+ ariaKeyShortcuts: string;
5326
+ ariaLabel: string;
5327
+ ariaLevel: string;
5328
+ ariaLive: string;
5329
+ ariaModal: string;
5330
+ ariaMultiLine: string;
5331
+ ariaMultiSelectable: string;
5332
+ ariaOrientation: string;
5333
+ ariaPlaceholder: string;
5334
+ ariaPosInSet: string;
5335
+ ariaPressed: string;
5336
+ ariaReadOnly: string;
5337
+ ariaRequired: string;
5338
+ ariaRoleDescription: string;
5339
+ ariaRowCount: string;
5340
+ ariaRowIndex: string;
5341
+ ariaRowIndexText: string;
5342
+ ariaRowSpan: string;
5343
+ ariaSelected: string;
5344
+ ariaSetSize: string;
5345
+ ariaSort: string;
5346
+ ariaValueMax: string;
5347
+ ariaValueMin: string;
5348
+ ariaValueNow: string;
5349
+ ariaValueText: string;
5350
+ role: string;
5351
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
5352
+ getAnimations(options?: GetAnimationsOptions): Animation[];
5353
+ after(...nodes: (string | Node)[]): void;
5354
+ before(...nodes: (string | Node)[]): void;
5355
+ remove(): void;
5356
+ replaceWith(...nodes: (string | Node)[]): void;
5357
+ innerHTML: string;
5358
+ readonly nextElementSibling: Element;
5359
+ readonly previousElementSibling: Element;
5360
+ readonly childElementCount: number;
5361
+ readonly children: HTMLCollection;
5362
+ readonly firstElementChild: Element;
5363
+ readonly lastElementChild: Element;
5364
+ append(...nodes: (string | Node)[]): void;
5365
+ prepend(...nodes: (string | Node)[]): void;
5366
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
5367
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
5368
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1;
5369
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
5370
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
5371
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
5372
+ replaceChildren(...nodes: (string | Node)[]): void;
5373
+ readonly assignedSlot: HTMLSlotElement;
5374
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
5375
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
5376
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
5377
+ readonly style: CSSStyleDeclaration;
5378
+ contentEditable: string;
5379
+ enterKeyHint: string;
5380
+ inputMode: string;
5381
+ readonly isContentEditable: boolean;
5382
+ onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
5383
+ onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
5384
+ onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
5385
+ onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
5386
+ onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
5387
+ onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
5388
+ onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
5389
+ onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
5390
+ oncancel: (this: GlobalEventHandlers, ev: Event) => any;
5391
+ oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
5392
+ oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
5393
+ onchange: (this: GlobalEventHandlers, ev: Event) => any;
5394
+ onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
5395
+ onclose: (this: GlobalEventHandlers, ev: Event) => any;
5396
+ oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
5397
+ oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
5398
+ ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
5399
+ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
5400
+ ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
5401
+ ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
5402
+ ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
5403
+ ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
5404
+ ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
5405
+ ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
5406
+ ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
5407
+ onemptied: (this: GlobalEventHandlers, ev: Event) => any;
5408
+ onended: (this: GlobalEventHandlers, ev: Event) => any;
5409
+ onerror: OnErrorEventHandlerNonNull;
5410
+ onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
5411
+ onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
5412
+ ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
5413
+ oninput: (this: GlobalEventHandlers, ev: Event) => any;
5414
+ oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
5415
+ onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
5416
+ onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
5417
+ onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
5418
+ onload: (this: GlobalEventHandlers, ev: Event) => any;
5419
+ onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
5420
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
5421
+ onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
5422
+ onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
5423
+ onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
5424
+ onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
5425
+ onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
5426
+ onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
5427
+ onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
5428
+ onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
5429
+ onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
5430
+ onpause: (this: GlobalEventHandlers, ev: Event) => any;
5431
+ onplay: (this: GlobalEventHandlers, ev: Event) => any;
5432
+ onplaying: (this: GlobalEventHandlers, ev: Event) => any;
5433
+ onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
5434
+ onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
5435
+ onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
5436
+ onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
5437
+ onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
5438
+ onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
5439
+ onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
5440
+ onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
5441
+ onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
5442
+ onratechange: (this: GlobalEventHandlers, ev: Event) => any;
5443
+ onreset: (this: GlobalEventHandlers, ev: Event) => any;
5444
+ onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
5445
+ onscroll: (this: GlobalEventHandlers, ev: Event) => any;
5446
+ onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
5447
+ onseeked: (this: GlobalEventHandlers, ev: Event) => any;
5448
+ onseeking: (this: GlobalEventHandlers, ev: Event) => any;
5449
+ onselect: (this: GlobalEventHandlers, ev: Event) => any;
5450
+ onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
5451
+ onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
5452
+ onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
5453
+ onstalled: (this: GlobalEventHandlers, ev: Event) => any;
5454
+ onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
5455
+ onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
5456
+ ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
5457
+ ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
5458
+ ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
5459
+ ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
5460
+ ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
5461
+ ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
5462
+ ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
5463
+ ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
5464
+ ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
5465
+ ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
5466
+ onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
5467
+ onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
5468
+ onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
5469
+ onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
5470
+ onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
5471
+ onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
5472
+ onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
5473
+ autofocus: boolean;
5474
+ readonly dataset: DOMStringMap;
5475
+ nonce?: string;
5476
+ tabIndex: number;
5477
+ blur(): void;
5478
+ focus(options?: FocusOptions): void;
5479
+ };
5480
+ } & T;
5481
+
5155
5482
  declare global {
5156
5483
  interface HTMLElement {
5157
5484
  attributeChangedCallback(attrName: string, oldValue: string | null, newValue: string | null): void;
@@ -5159,4 +5486,4 @@ declare global {
5159
5486
  }
5160
5487
  }
5161
5488
 
5162
- export { type CheckValueFn, type ClientCondition, type ClientConditionResult, type FlowConfig, type LogLevel, type ProjectConfiguration, type ThemeOptions, configMixin, createStateManagementMixin, createValidateAttributesMixin, debuggerMixin, descopeUiMixin, formMixin, getResourceUrl, initElementMixin, initLifecycleMixin, loggerMixin, modalMixin, notificationsMixin, observeAttributesMixin, projectIdMixin, staticResourcesMixin, themeMixin };
5489
+ export { type CheckValueFn, type ClientCondition, type ClientConditionResult, type FlowConfig, type LogLevel, type ProjectConfiguration, type ThemeOptions, baseUrlMixin, configMixin, createStateManagementMixin, createValidateAttributesMixin, debuggerMixin, descopeUiMixin, formMixin, getResourceUrl, initElementMixin, initLifecycleMixin, loggerMixin, modalMixin, notificationsMixin, observeAttributesMixin, projectIdMixin, staticResourcesMixin, themeMixin };