@descope/sdk-mixins 0.20.0 → 0.22.0

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.
Files changed (49) hide show
  1. package/dist/cjs/index.js +6 -0
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/mixins/fetchWidgetPagesMixin/createFetchWidgetPagesMixin.js +70 -0
  4. package/dist/cjs/mixins/fetchWidgetPagesMixin/createFetchWidgetPagesMixin.js.map +1 -0
  5. package/dist/cjs/mixins/flowInputMixin/flowInputMixin.js +58 -0
  6. package/dist/cjs/mixins/flowInputMixin/flowInputMixin.js.map +1 -0
  7. package/dist/cjs/mixins/localeMixin/localeMixin.js +33 -0
  8. package/dist/cjs/mixins/localeMixin/localeMixin.js.map +1 -0
  9. package/dist/esm/index.js +3 -0
  10. package/dist/esm/index.js.map +1 -1
  11. package/dist/esm/mixins/fetchWidgetPagesMixin/createFetchWidgetPagesMixin.js +68 -0
  12. package/dist/esm/mixins/fetchWidgetPagesMixin/createFetchWidgetPagesMixin.js.map +1 -0
  13. package/dist/esm/mixins/flowInputMixin/flowInputMixin.js +56 -0
  14. package/dist/esm/mixins/flowInputMixin/flowInputMixin.js.map +1 -0
  15. package/dist/esm/mixins/localeMixin/localeMixin.js +31 -0
  16. package/dist/esm/mixins/localeMixin/localeMixin.js.map +1 -0
  17. package/dist/index.d.ts +1421 -220
  18. package/dist/types/index.d.ts +3 -0
  19. package/dist/types/mixins/configMixin/configMixin.d.ts +14 -14
  20. package/dist/types/mixins/configMixin/types.d.ts +2 -0
  21. package/dist/types/mixins/createStateManagementMixin.d.ts +2 -2
  22. package/dist/types/mixins/createValidateAttributesMixin/createValidateAttributesMixin.d.ts +5 -5
  23. package/dist/types/mixins/cspNonceMixin.d.ts +5 -5
  24. package/dist/types/mixins/debuggerMixin/debugger-wc.d.ts +5 -5
  25. package/dist/types/mixins/debuggerMixin/debuggerMixin.d.ts +8 -8
  26. package/dist/types/mixins/descopeUiMixin/descopeUiMixin.d.ts +19 -19
  27. package/dist/types/mixins/fetchWidgetPagesMixin/createFetchWidgetPagesMixin.d.ts +393 -0
  28. package/dist/types/mixins/fetchWidgetPagesMixin/index.d.ts +1 -0
  29. package/dist/types/mixins/flowInputMixin/flowInputMixin.d.ts +460 -0
  30. package/dist/types/mixins/flowInputMixin/index.d.ts +1 -0
  31. package/dist/types/mixins/formMixin.d.ts +2 -2
  32. package/dist/types/mixins/initElementMixin.d.ts +5 -5
  33. package/dist/types/mixins/initLifecycleMixin.d.ts +1 -1
  34. package/dist/types/mixins/injectNpmLibMixin/injectNpmLibMixin.d.ts +2 -2
  35. package/dist/types/mixins/injectStyleMixin.d.ts +5 -5
  36. package/dist/types/mixins/localeMixin/index.d.ts +1 -0
  37. package/dist/types/mixins/localeMixin/localeMixin.d.ts +344 -0
  38. package/dist/types/mixins/loggerMixin/loggerMixin.d.ts +2 -2
  39. package/dist/types/mixins/modalMixin/modalMixin.d.ts +23 -23
  40. package/dist/types/mixins/notificationsMixin/notificationsMixin.d.ts +23 -23
  41. package/dist/types/mixins/observeAttributesMixin/observeAttributesMixin.d.ts +4 -4
  42. package/dist/types/mixins/projectIdMixin.d.ts +5 -5
  43. package/dist/types/mixins/resetMixin.d.ts +6 -6
  44. package/dist/types/mixins/staticResourcesMixin/staticResourcesMixin.d.ts +10 -10
  45. package/dist/types/mixins/tenantIdMixin.d.ts +5 -5
  46. package/dist/types/mixins/themeMixin/themeMixin.d.ts +40 -40
  47. package/dist/types/mixins/widgetConfigMixin/widgetConfigMixin.d.ts +14 -14
  48. package/dist/types/mixins/widgetIdMixin.d.ts +5 -5
  49. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -14,8 +14,8 @@ declare const logLevels: readonly ["error", "warn", "info", "debug"];
14
14
  type LogLevel = (typeof logLevels)[number];
15
15
  declare const loggerMixin: <T extends CustomElementConstructor>(superclass: T) => {
16
16
  new (...params: any[]): {
17
- "__#34158@#logger": Logger;
18
- "__#34158@#wrapLogger"(logger: Partial<Logger>): Logger;
17
+ "__#39126@#logger": Logger;
18
+ "__#39126@#wrapLogger"(logger: Partial<Logger>): Logger;
19
19
  get logger(): Logger;
20
20
  set logger(logger: Partial<Logger> | undefined);
21
21
  onLogEvent(logLevel: LogLevel, data: any[]): void;
@@ -401,6 +401,8 @@ type FlowConfig = {
401
401
  };
402
402
  type WidgetConfig = {
403
403
  allowSubTenants?: boolean;
404
+ version?: number;
405
+ targetLocales?: string[];
404
406
  };
405
407
  type ProjectConfiguration = {
406
408
  componentsVersion: string;
@@ -425,10 +427,10 @@ declare const configMixin: <T extends CustomElementConstructor>(superclass: T) =
425
427
  new (...params: any[]): {
426
428
  init(): Promise<void>;
427
429
  readonly config: Promise<Config>;
428
- "__#34164@#configCacheClear"(): void;
429
- "__#34164@#_configResource": Promise<Config>;
430
- "__#34164@#fetchConfig": () => Promise<Config>;
431
- "__#34159@#isInit": boolean;
430
+ "__#39132@#configCacheClear"(): void;
431
+ "__#39132@#_configResource": Promise<Config>;
432
+ "__#39132@#fetchConfig": () => Promise<Config>;
433
+ "__#39127@#isInit": boolean;
432
434
  connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
433
435
  accessKey: string;
434
436
  readonly accessKeyLabel: string;
@@ -755,27 +757,27 @@ declare const configMixin: <T extends CustomElementConstructor>(superclass: T) =
755
757
  tabIndex: number;
756
758
  blur(): void;
757
759
  focus(options?: FocusOptions): void;
758
- "__#34163@#callbacks": Map<string, () => void>;
760
+ "__#39131@#callbacks": Map<string, () => void>;
759
761
  onReset(sectionId: string, callback: () => void | Promise<void>): () => void;
760
762
  reset(...sectionIds: string[]): Promise<void>;
761
- "__#34161@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
762
- "__#34160@#observeMappings": {} & {};
763
+ "__#39129@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
764
+ "__#39128@#observeMappings": {} & {};
763
765
  observeAttribute: ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any);
764
766
  observeAttributes: ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void);
765
- "__#34158@#logger": Logger;
766
- "__#34158@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
767
+ "__#39126@#logger": Logger;
768
+ "__#39126@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
767
769
  get logger(): Logger;
768
770
  set logger(logger: Partial<Logger>);
769
771
  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);
770
- "__#34162@#lastBaseUrl"?: string;
771
- "__#34162@#workingBaseUrl"?: string;
772
- "__#34162@#failedUrls": Set<string>;
773
- "__#34162@#getResourceUrls"(filename: string): (URL & {
772
+ "__#39130@#lastBaseUrl"?: string;
773
+ "__#39130@#workingBaseUrl"?: string;
774
+ "__#39130@#failedUrls": Set<string>;
775
+ "__#39130@#getResourceUrls"(filename: string): (URL & {
774
776
  baseUrl: string;
775
777
  }) | (URL & {
776
778
  baseUrl: string;
777
779
  })[];
778
- "__#34162@#createResourceUrl"(filename: string, baseUrl: string): URL & {
780
+ "__#39130@#createResourceUrl"(filename: string, baseUrl: string): URL & {
779
781
  baseUrl: string;
780
782
  };
781
783
  fetchStaticResource<F extends "text" | "json">(filename: string, format: F): Promise<{
@@ -791,12 +793,12 @@ declare const configMixin: <T extends CustomElementConstructor>(superclass: T) =
791
793
  declare const createValidateAttributesMixin: {
792
794
  (mappings: Record<string, CheckValueFn | string>): <T extends CustomElementConstructor>(superclass: T) => {
793
795
  new (...args: any): {
794
- "__#34161@#handleError"(attrName: string, newValue: string | null): void;
796
+ "__#39129@#handleError"(attrName: string, newValue: string | null): void;
795
797
  init(): Promise<void>;
796
- "__#34160@#observeMappings": {};
798
+ "__#39128@#observeMappings": {};
797
799
  observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
798
800
  observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
799
- "__#34159@#isInit": boolean;
801
+ "__#39127@#isInit": boolean;
800
802
  connectedCallback: (() => void) & (() => void) & (() => void);
801
803
  accessKey: string;
802
804
  readonly accessKeyLabel: string;
@@ -1123,8 +1125,8 @@ declare const createValidateAttributesMixin: {
1123
1125
  tabIndex: number;
1124
1126
  blur(): void;
1125
1127
  focus(options?: FocusOptions): void;
1126
- "__#34158@#logger": Logger;
1127
- "__#34158@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
1128
+ "__#39126@#logger": Logger;
1129
+ "__#39126@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
1128
1130
  get logger(): Logger;
1129
1131
  set logger(logger: Partial<Logger>);
1130
1132
  onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
@@ -1141,19 +1143,19 @@ type DebuggerMessage = {
1141
1143
 
1142
1144
  declare const debuggerMixin: <T extends CustomElementConstructor>(superclass: T) => {
1143
1145
  new (...params: any[]): {
1144
- "__#34167@#debuggerEle": (HTMLElement & {
1146
+ "__#39135@#debuggerEle": (HTMLElement & {
1145
1147
  updateData: (data: DebuggerMessage | DebuggerMessage[]) => void;
1146
1148
  }) | null;
1147
- "__#34167@#disableDebugger"(): void;
1148
- "__#34167@#enableDebugger"(): Promise<void>;
1149
+ "__#39135@#disableDebugger"(): void;
1150
+ "__#39135@#enableDebugger"(): Promise<void>;
1149
1151
  attributeChangedCallback: (attrName: string, oldValue: string | null, newValue: string | null) => void;
1150
1152
  readonly debug: boolean;
1151
- "__#34167@#handleDebugMode"(): void;
1153
+ "__#39135@#handleDebugMode"(): void;
1152
1154
  onLogEvent(logLevel: LogLevel, args: any[]): void;
1153
1155
  init(): Promise<void>;
1154
- "__#34167@#updateDebuggerMessages"(title: string, description: string): void;
1155
- "__#34158@#logger": Logger;
1156
- "__#34158@#wrapLogger"(logger: Partial<Logger>): Logger;
1156
+ "__#39135@#updateDebuggerMessages"(title: string, description: string): void;
1157
+ "__#39126@#logger": Logger;
1158
+ "__#39126@#wrapLogger"(logger: Partial<Logger>): Logger;
1157
1159
  get logger(): Logger;
1158
1160
  set logger(logger: Partial<Logger>);
1159
1161
  accessKey: string;
@@ -1481,7 +1483,7 @@ declare const debuggerMixin: <T extends CustomElementConstructor>(superclass: T)
1481
1483
  tabIndex: number;
1482
1484
  blur(): void;
1483
1485
  focus(options?: FocusOptions): void;
1484
- "__#34159@#isInit": boolean;
1486
+ "__#39127@#isInit": boolean;
1485
1487
  };
1486
1488
  } & T;
1487
1489
 
@@ -1493,17 +1495,17 @@ type ScriptData = {
1493
1495
 
1494
1496
  declare const descopeUiMixin: <T extends CustomElementConstructor>(superclass: T) => {
1495
1497
  new (...params: any[]): {
1496
- "__#34168@#getComponentsVersion"(): Promise<string>;
1497
- "__#34168@#getComponentsVersionSri"(): Promise<string>;
1498
- "__#34168@#descopeUi": Promise<any>;
1498
+ "__#39136@#getComponentsVersion"(): Promise<string>;
1499
+ "__#39136@#getComponentsVersionSri"(): Promise<string>;
1500
+ "__#39136@#descopeUi": Promise<any>;
1499
1501
  readonly descopeUi: Promise<any>;
1500
- "__#34168@#loadDescopeUiComponent"(componentName: string): Promise<any>;
1501
- "__#34168@#getDescopeUi"(): Promise<any>;
1502
+ "__#39136@#loadDescopeUiComponent"(componentName: string): Promise<any>;
1503
+ "__#39136@#getDescopeUi"(): Promise<any>;
1502
1504
  loadDescopeUiComponents(templateOrComponentNames: HTMLTemplateElement | string[]): Promise<any[]>;
1503
1505
  readonly baseCdnUrl: string;
1504
1506
  injectNpmLib(libName: string, version: string, filePath?: string, overrides?: string[], integrity?: string): Promise<ScriptData>;
1505
- "__#34158@#logger": Logger;
1506
- "__#34158@#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);
1507
+ "__#39126@#logger": Logger;
1508
+ "__#39126@#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);
1507
1509
  get logger(): Logger;
1508
1510
  set logger(logger: Partial<Logger>);
1509
1511
  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);
@@ -1835,26 +1837,26 @@ declare const descopeUiMixin: <T extends CustomElementConstructor>(superclass: T
1835
1837
  focus(options?: FocusOptions): void;
1836
1838
  init(): Promise<void>;
1837
1839
  readonly config: Promise<Config>;
1838
- "__#34164@#configCacheClear"(): void;
1839
- "__#34164@#_configResource": Promise<Config>;
1840
- "__#34164@#fetchConfig": () => Promise<Config>;
1841
- "__#34159@#isInit": boolean;
1842
- "__#34163@#callbacks": Map<string, () => void>;
1840
+ "__#39132@#configCacheClear"(): void;
1841
+ "__#39132@#_configResource": Promise<Config>;
1842
+ "__#39132@#fetchConfig": () => Promise<Config>;
1843
+ "__#39127@#isInit": boolean;
1844
+ "__#39131@#callbacks": Map<string, () => void>;
1843
1845
  onReset(sectionId: string, callback: () => void | Promise<void>): () => void;
1844
1846
  reset(...sectionIds: string[]): Promise<void>;
1845
- "__#34161@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
1846
- "__#34160@#observeMappings": {} & {};
1847
+ "__#39129@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
1848
+ "__#39128@#observeMappings": {} & {};
1847
1849
  observeAttribute: ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any);
1848
1850
  observeAttributes: ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void);
1849
- "__#34162@#lastBaseUrl"?: string;
1850
- "__#34162@#workingBaseUrl"?: string;
1851
- "__#34162@#failedUrls": Set<string>;
1852
- "__#34162@#getResourceUrls"(filename: string): (URL & {
1851
+ "__#39130@#lastBaseUrl"?: string;
1852
+ "__#39130@#workingBaseUrl"?: string;
1853
+ "__#39130@#failedUrls": Set<string>;
1854
+ "__#39130@#getResourceUrls"(filename: string): (URL & {
1853
1855
  baseUrl: string;
1854
1856
  }) | (URL & {
1855
1857
  baseUrl: string;
1856
1858
  })[];
1857
- "__#34162@#createResourceUrl"(filename: string, baseUrl: string): URL & {
1859
+ "__#39130@#createResourceUrl"(filename: string, baseUrl: string): URL & {
1858
1860
  baseUrl: string;
1859
1861
  };
1860
1862
  fetchStaticResource<F extends "text" | "json">(filename: string, format: F): Promise<{
@@ -1869,7 +1871,7 @@ declare const descopeUiMixin: <T extends CustomElementConstructor>(superclass: T
1869
1871
 
1870
1872
  declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) => {
1871
1873
  new (...params: any[]): {
1872
- "__#34172@#ModalDriverWrapper": {
1874
+ "__#39140@#ModalDriverWrapper": {
1873
1875
  new (refOrRefFn: Element | (() => HTMLElement), config: {
1874
1876
  logger: {
1875
1877
  error(...data: any[]): void;
@@ -1879,7 +1881,7 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
1879
1881
  };
1880
1882
  }): {
1881
1883
  setContent(template: HTMLTemplateElement): void;
1882
- "__#34171@#private": any;
1884
+ "__#39139@#private": any;
1883
1885
  beforeOpen: () => void | Promise<void>;
1884
1886
  afterClose: () => void;
1885
1887
  nodeName: string;
@@ -1887,7 +1889,7 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
1887
1889
  open(): Promise<void>;
1888
1890
  reset(): void;
1889
1891
  remove(): void;
1890
- "__#34169@#private": any;
1892
+ "__#39137@#private": any;
1891
1893
  logger: {
1892
1894
  error(...data: any[]): void;
1893
1895
  warn(...data: any[]): void;
@@ -1901,17 +1903,17 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
1901
1903
  };
1902
1904
  createModal(config?: Record<string, string>): ModalDriver;
1903
1905
  init(): Promise<void>;
1904
- "__#34168@#getComponentsVersion"(): Promise<string>;
1905
- "__#34168@#getComponentsVersionSri"(): Promise<string>;
1906
- "__#34168@#descopeUi": Promise<any>;
1906
+ "__#39136@#getComponentsVersion"(): Promise<string>;
1907
+ "__#39136@#getComponentsVersionSri"(): Promise<string>;
1908
+ "__#39136@#descopeUi": Promise<any>;
1907
1909
  readonly descopeUi: Promise<any>;
1908
- "__#34168@#loadDescopeUiComponent"(componentName: string): Promise<any>;
1909
- "__#34168@#getDescopeUi"(): Promise<any>;
1910
+ "__#39136@#loadDescopeUiComponent"(componentName: string): Promise<any>;
1911
+ "__#39136@#getDescopeUi"(): Promise<any>;
1910
1912
  loadDescopeUiComponents(templateOrComponentNames: HTMLTemplateElement | string[]): Promise<any[]>;
1911
1913
  readonly baseCdnUrl: string;
1912
1914
  injectNpmLib(libName: string, version: string, filePath?: string, overrides?: string[], integrity?: string): Promise<ScriptData>;
1913
- "__#34158@#logger": Logger;
1914
- "__#34158@#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);
1915
+ "__#39126@#logger": Logger;
1916
+ "__#39126@#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);
1915
1917
  get logger(): Logger;
1916
1918
  set logger(logger: Partial<Logger>);
1917
1919
  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);
@@ -2242,26 +2244,26 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
2242
2244
  blur(): void;
2243
2245
  focus(options?: FocusOptions): void;
2244
2246
  readonly config: Promise<Config>;
2245
- "__#34164@#configCacheClear"(): void;
2246
- "__#34164@#_configResource": Promise<Config>;
2247
- "__#34164@#fetchConfig": () => Promise<Config>;
2248
- "__#34159@#isInit": boolean;
2249
- "__#34163@#callbacks": Map<string, () => void>;
2247
+ "__#39132@#configCacheClear"(): void;
2248
+ "__#39132@#_configResource": Promise<Config>;
2249
+ "__#39132@#fetchConfig": () => Promise<Config>;
2250
+ "__#39127@#isInit": boolean;
2251
+ "__#39131@#callbacks": Map<string, () => void>;
2250
2252
  onReset(sectionId: string, callback: () => void | Promise<void>): () => void;
2251
2253
  reset(...sectionIds: string[]): Promise<void>;
2252
- "__#34161@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
2253
- "__#34160@#observeMappings": {} & {} & {};
2254
+ "__#39129@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
2255
+ "__#39128@#observeMappings": {} & {} & {};
2254
2256
  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);
2255
2257
  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);
2256
- "__#34162@#lastBaseUrl"?: string;
2257
- "__#34162@#workingBaseUrl"?: string;
2258
- "__#34162@#failedUrls": Set<string>;
2259
- "__#34162@#getResourceUrls"(filename: string): (URL & {
2258
+ "__#39130@#lastBaseUrl"?: string;
2259
+ "__#39130@#workingBaseUrl"?: string;
2260
+ "__#39130@#failedUrls": Set<string>;
2261
+ "__#39130@#getResourceUrls"(filename: string): (URL & {
2260
2262
  baseUrl: string;
2261
2263
  }) | (URL & {
2262
2264
  baseUrl: string;
2263
2265
  })[];
2264
- "__#34162@#createResourceUrl"(filename: string, baseUrl: string): URL & {
2266
+ "__#39130@#createResourceUrl"(filename: string, baseUrl: string): URL & {
2265
2267
  baseUrl: string;
2266
2268
  };
2267
2269
  fetchStaticResource<F extends "text" | "json">(filename: string, format: F): Promise<{
@@ -2281,13 +2283,13 @@ declare const modalMixin: <T extends CustomElementConstructor>(superclass: T) =>
2281
2283
  replaceSync(cssString: string): void;
2282
2284
  readonly cssRules: CSSRuleList;
2283
2285
  } | CSSStyleSheet;
2284
- "__#34165@#setNonce"(): void;
2286
+ "__#39133@#setNonce"(): void;
2285
2287
  };
2286
2288
  } & T;
2287
2289
 
2288
2290
  declare const notificationsMixin: <T extends CustomElementConstructor>(superclass: T) => {
2289
2291
  new (...params: any[]): {
2290
- "__#34173@#NotificationDriverWrapper": {
2292
+ "__#39141@#NotificationDriverWrapper": {
2291
2293
  new (refOrRefFn: Element | (() => HTMLElement), config: {
2292
2294
  logger: {
2293
2295
  error(...data: any[]): void;
@@ -2301,7 +2303,7 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2301
2303
  close(): void;
2302
2304
  show(): void;
2303
2305
  remove(): void;
2304
- "__#34169@#private": any;
2306
+ "__#39137@#private": any;
2305
2307
  logger: {
2306
2308
  error(...data: any[]): void;
2307
2309
  warn(...data: any[]): void;
@@ -2328,7 +2330,7 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2328
2330
  close(): void;
2329
2331
  show(): void;
2330
2332
  remove(): void;
2331
- "__#34169@#private": any;
2333
+ "__#39137@#private": any;
2332
2334
  logger: {
2333
2335
  error(...data: any[]): void;
2334
2336
  warn(...data: any[]): void;
@@ -2340,17 +2342,17 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2340
2342
  readonly isExists: boolean;
2341
2343
  };
2342
2344
  init(): Promise<void>;
2343
- "__#34168@#getComponentsVersion"(): Promise<string>;
2344
- "__#34168@#getComponentsVersionSri"(): Promise<string>;
2345
- "__#34168@#descopeUi": Promise<any>;
2345
+ "__#39136@#getComponentsVersion"(): Promise<string>;
2346
+ "__#39136@#getComponentsVersionSri"(): Promise<string>;
2347
+ "__#39136@#descopeUi": Promise<any>;
2346
2348
  readonly descopeUi: Promise<any>;
2347
- "__#34168@#loadDescopeUiComponent"(componentName: string): Promise<any>;
2348
- "__#34168@#getDescopeUi"(): Promise<any>;
2349
+ "__#39136@#loadDescopeUiComponent"(componentName: string): Promise<any>;
2350
+ "__#39136@#getDescopeUi"(): Promise<any>;
2349
2351
  loadDescopeUiComponents(templateOrComponentNames: HTMLTemplateElement | string[]): Promise<any[]>;
2350
2352
  readonly baseCdnUrl: string;
2351
2353
  injectNpmLib(libName: string, version: string, filePath?: string, overrides?: string[], integrity?: string): Promise<ScriptData>;
2352
- "__#34158@#logger": Logger;
2353
- "__#34158@#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);
2354
+ "__#39126@#logger": Logger;
2355
+ "__#39126@#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);
2354
2356
  get logger(): Logger;
2355
2357
  set logger(logger: Partial<Logger>);
2356
2358
  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);
@@ -2681,26 +2683,26 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2681
2683
  blur(): void;
2682
2684
  focus(options?: FocusOptions): void;
2683
2685
  readonly config: Promise<Config>;
2684
- "__#34164@#configCacheClear"(): void;
2685
- "__#34164@#_configResource": Promise<Config>;
2686
- "__#34164@#fetchConfig": () => Promise<Config>;
2687
- "__#34159@#isInit": boolean;
2688
- "__#34163@#callbacks": Map<string, () => void>;
2686
+ "__#39132@#configCacheClear"(): void;
2687
+ "__#39132@#_configResource": Promise<Config>;
2688
+ "__#39132@#fetchConfig": () => Promise<Config>;
2689
+ "__#39127@#isInit": boolean;
2690
+ "__#39131@#callbacks": Map<string, () => void>;
2689
2691
  onReset(sectionId: string, callback: () => void | Promise<void>): () => void;
2690
2692
  reset(...sectionIds: string[]): Promise<void>;
2691
- "__#34161@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
2692
- "__#34160@#observeMappings": {} & {} & {};
2693
+ "__#39129@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
2694
+ "__#39128@#observeMappings": {} & {} & {};
2693
2695
  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);
2694
2696
  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);
2695
- "__#34162@#lastBaseUrl"?: string;
2696
- "__#34162@#workingBaseUrl"?: string;
2697
- "__#34162@#failedUrls": Set<string>;
2698
- "__#34162@#getResourceUrls"(filename: string): (URL & {
2697
+ "__#39130@#lastBaseUrl"?: string;
2698
+ "__#39130@#workingBaseUrl"?: string;
2699
+ "__#39130@#failedUrls": Set<string>;
2700
+ "__#39130@#getResourceUrls"(filename: string): (URL & {
2699
2701
  baseUrl: string;
2700
2702
  }) | (URL & {
2701
2703
  baseUrl: string;
2702
2704
  })[];
2703
- "__#34162@#createResourceUrl"(filename: string, baseUrl: string): URL & {
2705
+ "__#39130@#createResourceUrl"(filename: string, baseUrl: string): URL & {
2704
2706
  baseUrl: string;
2705
2707
  };
2706
2708
  fetchStaticResource<F extends "text" | "json">(filename: string, format: F): Promise<{
@@ -2720,18 +2722,18 @@ declare const notificationsMixin: <T extends CustomElementConstructor>(superclas
2720
2722
  replaceSync(cssString: string): void;
2721
2723
  readonly cssRules: CSSRuleList;
2722
2724
  } | CSSStyleSheet;
2723
- "__#34165@#setNonce"(): void;
2725
+ "__#39133@#setNonce"(): void;
2724
2726
  };
2725
2727
  } & T;
2726
2728
 
2727
2729
  type OnAttrChange = (attrName: string, value: string | null) => void;
2728
2730
  declare const observeAttributesMixin: <T extends CustomElementConstructor>(superclass: T) => {
2729
2731
  new (...params: any[]): {
2730
- "__#34160@#observeMappings": {};
2732
+ "__#39128@#observeMappings": {};
2731
2733
  init(): Promise<void>;
2732
2734
  observeAttribute(attrName: string, onAttrChange: OnAttrChange): () => any;
2733
2735
  observeAttributes(attrs: string[], cb: OnAttrChange): () => void;
2734
- "__#34159@#isInit": boolean;
2736
+ "__#39127@#isInit": boolean;
2735
2737
  connectedCallback: (() => void) & (() => void);
2736
2738
  accessKey: string;
2737
2739
  readonly accessKeyLabel: string;
@@ -3058,8 +3060,8 @@ declare const observeAttributesMixin: <T extends CustomElementConstructor>(super
3058
3060
  tabIndex: number;
3059
3061
  blur(): void;
3060
3062
  focus(options?: FocusOptions): void;
3061
- "__#34158@#logger": Logger;
3062
- "__#34158@#wrapLogger"(logger: Partial<Logger>): Logger;
3063
+ "__#39126@#logger": Logger;
3064
+ "__#39126@#wrapLogger"(logger: Partial<Logger>): Logger;
3063
3065
  get logger(): Logger;
3064
3066
  set logger(logger: Partial<Logger>);
3065
3067
  onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
@@ -3078,11 +3080,11 @@ declare function getResourceUrl({ projectId, filename, assetsFolder, baseUrl, }:
3078
3080
  }): CustomUrl;
3079
3081
  declare const staticResourcesMixin: <T extends CustomElementConstructor>(superclass: T) => {
3080
3082
  new (...params: any[]): {
3081
- "__#34162@#lastBaseUrl"?: string;
3082
- "__#34162@#workingBaseUrl"?: string;
3083
- "__#34162@#failedUrls": Set<string>;
3084
- "__#34162@#getResourceUrls"(filename: string): CustomUrl[] | CustomUrl;
3085
- "__#34162@#createResourceUrl"(filename: string, baseUrl: string): CustomUrl;
3083
+ "__#39130@#lastBaseUrl"?: string;
3084
+ "__#39130@#workingBaseUrl"?: string;
3085
+ "__#39130@#failedUrls": Set<string>;
3086
+ "__#39130@#getResourceUrls"(filename: string): CustomUrl[] | CustomUrl;
3087
+ "__#39130@#createResourceUrl"(filename: string, baseUrl: string): CustomUrl;
3086
3088
  fetchStaticResource<F extends Format>(filename: string, format: F): Promise<{
3087
3089
  body: F extends 'json' ? Record<string, any> : string;
3088
3090
  headers: Record<string, string>;
@@ -3416,14 +3418,14 @@ declare const staticResourcesMixin: <T extends CustomElementConstructor>(supercl
3416
3418
  blur(): void;
3417
3419
  focus(options?: FocusOptions): void;
3418
3420
  readonly projectId: string;
3419
- "__#34161@#handleError"(attrName: string, newValue: string): void;
3421
+ "__#39129@#handleError"(attrName: string, newValue: string): void;
3420
3422
  init(): Promise<void>;
3421
- "__#34160@#observeMappings": {};
3423
+ "__#39128@#observeMappings": {};
3422
3424
  observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
3423
3425
  observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
3424
- "__#34159@#isInit": boolean;
3425
- "__#34158@#logger": Logger;
3426
- "__#34158@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
3426
+ "__#39127@#isInit": boolean;
3427
+ "__#39126@#logger": Logger;
3428
+ "__#39126@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
3427
3429
  get logger(): Logger;
3428
3430
  set logger(logger: Partial<Logger>);
3429
3431
  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);
@@ -3445,12 +3447,12 @@ declare const injectStyleMixin: <T extends CustomElementConstructor>(superclass:
3445
3447
  prepend?: boolean;
3446
3448
  }): CSSStyleSheetMock | CSSStyleSheet;
3447
3449
  nonce: string;
3448
- "__#34165@#setNonce"(): void;
3450
+ "__#39133@#setNonce"(): void;
3449
3451
  init(): Promise<void>;
3450
- "__#34160@#observeMappings": {};
3452
+ "__#39128@#observeMappings": {};
3451
3453
  observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
3452
3454
  observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
3453
- "__#34159@#isInit": boolean;
3455
+ "__#39127@#isInit": boolean;
3454
3456
  connectedCallback: (() => void) & (() => void) & (() => void);
3455
3457
  accessKey: string;
3456
3458
  readonly accessKeyLabel: string;
@@ -3776,8 +3778,8 @@ declare const injectStyleMixin: <T extends CustomElementConstructor>(superclass:
3776
3778
  tabIndex: number;
3777
3779
  blur(): void;
3778
3780
  focus(options?: FocusOptions): void;
3779
- "__#34158@#logger": Logger;
3780
- "__#34158@#wrapLogger"(logger: Partial<Logger>): Logger;
3781
+ "__#39126@#logger": Logger;
3782
+ "__#39126@#wrapLogger"(logger: Partial<Logger>): Logger;
3781
3783
  get logger(): Logger;
3782
3784
  set logger(logger: Partial<Logger>);
3783
3785
  onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
@@ -3788,31 +3790,31 @@ type InjectedStyle = CSSStyleSheet | CSSStyleSheetMock;
3788
3790
  type ThemeOptions = 'light' | 'dark' | 'os';
3789
3791
  declare const themeMixin: <T extends CustomElementConstructor>(superclass: T) => {
3790
3792
  new (...params: any[]): {
3791
- "__#34174@#globalStyle": InjectedStyle;
3792
- "__#34174@#tenantStyle": InjectedStyle;
3793
- "__#34174@#customStyle": InjectedStyle;
3793
+ "__#39142@#globalStyle": InjectedStyle;
3794
+ "__#39142@#tenantStyle": InjectedStyle;
3795
+ "__#39142@#customStyle": InjectedStyle;
3794
3796
  readonly theme: ThemeOptions;
3795
3797
  readonly styleId: string;
3796
3798
  readonly themeOverride: Record<string, any>;
3797
- "__#34174@#getThemeOverrideString"(): string;
3798
- "__#34174@#_themeResource": Promise<void | Record<string, any>>;
3799
- "__#34174@#_tenantThemeResource": Promise<Record<string, any> | undefined>;
3800
- "__#34174@#fetchTheme"(): Promise<Record<string, any>>;
3801
- readonly "__#34174@#themeResource": Promise<void | Record<string, any>>;
3802
- "__#34174@#loadGlobalStyle"(): Promise<void>;
3803
- "__#34174@#fetchTenantTheme"(): Promise<Record<string, any>>;
3804
- readonly "__#34174@#tenantThemeResource": Promise<Record<string, any>>;
3805
- "__#34174@#loadTenantStyle"(): Promise<void>;
3806
- "__#34174@#loadCustomStyle"(): Promise<void>;
3807
- "__#34174@#loadComponentsStyle"(): Promise<void>;
3808
- "__#34174@#getFontsConfig"(): Promise<Record<string, {
3799
+ "__#39142@#getThemeOverrideString"(): string;
3800
+ "__#39142@#_themeResource": Promise<void | Record<string, any>>;
3801
+ "__#39142@#_tenantThemeResource": Promise<Record<string, any> | undefined>;
3802
+ "__#39142@#fetchTheme"(): Promise<Record<string, any>>;
3803
+ readonly "__#39142@#themeResource": Promise<void | Record<string, any>>;
3804
+ "__#39142@#loadGlobalStyle"(): Promise<void>;
3805
+ "__#39142@#fetchTenantTheme"(): Promise<Record<string, any>>;
3806
+ readonly "__#39142@#tenantThemeResource": Promise<Record<string, any>>;
3807
+ "__#39142@#loadTenantStyle"(): Promise<void>;
3808
+ "__#39142@#loadCustomStyle"(): Promise<void>;
3809
+ "__#39142@#loadComponentsStyle"(): Promise<void>;
3810
+ "__#39142@#getFontsConfig"(): Promise<Record<string, {
3809
3811
  url?: string;
3810
3812
  }>>;
3811
- "__#34174@#loadFonts"(): Promise<void>;
3812
- "__#34174@#applyTheme"(): Promise<void>;
3813
- "__#34174@#onThemeChange": () => void;
3814
- "__#34174@#loadTheme"(): void;
3815
- "__#34174@#toggleOsThemeChangeListener": (listen: boolean) => void;
3813
+ "__#39142@#loadFonts"(): Promise<void>;
3814
+ "__#39142@#applyTheme"(): Promise<void>;
3815
+ "__#39142@#onThemeChange": () => void;
3816
+ "__#39142@#loadTheme"(): void;
3817
+ "__#39142@#toggleOsThemeChangeListener": (listen: boolean) => void;
3816
3818
  init(): Promise<void>;
3817
3819
  injectStyle: ((cssString: string, { prepend }?: {
3818
3820
  prepend?: boolean;
@@ -3830,11 +3832,11 @@ declare const themeMixin: <T extends CustomElementConstructor>(superclass: T) =>
3830
3832
  readonly cssRules: CSSRuleList;
3831
3833
  } | CSSStyleSheet);
3832
3834
  nonce: string;
3833
- "__#34165@#setNonce": (() => void) & (() => void);
3834
- "__#34160@#observeMappings": {} & {} & {} & {} & {} & {} & {} & {} & {} & {};
3835
+ "__#39133@#setNonce": (() => void) & (() => void);
3836
+ "__#39128@#observeMappings": {} & {} & {} & {} & {} & {} & {} & {} & {} & {};
3835
3837
  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);
3836
3838
  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);
3837
- "__#34159@#isInit": boolean;
3839
+ "__#39127@#isInit": boolean;
3838
3840
  connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
3839
3841
  accessKey: string;
3840
3842
  readonly accessKeyLabel: string;
@@ -4160,25 +4162,25 @@ declare const themeMixin: <T extends CustomElementConstructor>(superclass: T) =>
4160
4162
  tabIndex: number;
4161
4163
  blur(): void;
4162
4164
  focus(options?: FocusOptions): void;
4163
- "__#34158@#logger": Logger;
4164
- "__#34158@#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) & ((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);
4165
+ "__#39126@#logger": Logger;
4166
+ "__#39126@#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) & ((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);
4165
4167
  get logger(): Logger;
4166
4168
  set logger(logger: Partial<Logger>);
4167
4169
  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) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
4168
4170
  contentRootElement: HTMLElement;
4169
4171
  rootElement: HTMLElement;
4170
4172
  readonly config: Promise<Config>;
4171
- "__#34164@#configCacheClear": (() => void) & (() => void);
4172
- "__#34164@#_configResource": Promise<Config>;
4173
- "__#34164@#fetchConfig": (() => Promise<Config>) & (() => Promise<Config>);
4174
- "__#34163@#callbacks": Map<string, () => void> & Map<string, () => void>;
4173
+ "__#39132@#configCacheClear": (() => void) & (() => void);
4174
+ "__#39132@#_configResource": Promise<Config>;
4175
+ "__#39132@#fetchConfig": (() => Promise<Config>) & (() => Promise<Config>);
4176
+ "__#39131@#callbacks": Map<string, () => void> & Map<string, () => void>;
4175
4177
  onReset: ((sectionId: string, callback: () => void | Promise<void>) => () => void) & ((sectionId: string, callback: () => void | Promise<void>) => () => void);
4176
4178
  reset: ((...sectionIds: string[]) => Promise<void>) & ((...sectionIds: string[]) => Promise<void>);
4177
- "__#34161@#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);
4178
- "__#34162@#lastBaseUrl"?: string;
4179
- "__#34162@#workingBaseUrl"?: string;
4180
- "__#34162@#failedUrls": Set<string>;
4181
- "__#34162@#getResourceUrls": ((filename: string) => (URL & {
4179
+ "__#39129@#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);
4180
+ "__#39130@#lastBaseUrl"?: string;
4181
+ "__#39130@#workingBaseUrl"?: string;
4182
+ "__#39130@#failedUrls": Set<string>;
4183
+ "__#39130@#getResourceUrls": ((filename: string) => (URL & {
4182
4184
  baseUrl: string;
4183
4185
  }) | (URL & {
4184
4186
  baseUrl: string;
@@ -4191,7 +4193,7 @@ declare const themeMixin: <T extends CustomElementConstructor>(superclass: T) =>
4191
4193
  }) | (URL & {
4192
4194
  baseUrl: string;
4193
4195
  })[]);
4194
- "__#34162@#createResourceUrl": ((filename: string, baseUrl: string) => URL & {
4196
+ "__#39130@#createResourceUrl": ((filename: string, baseUrl: string) => URL & {
4195
4197
  baseUrl: string;
4196
4198
  }) & ((filename: string, baseUrl: string) => URL & {
4197
4199
  baseUrl: string;
@@ -4211,12 +4213,12 @@ declare const themeMixin: <T extends CustomElementConstructor>(superclass: T) =>
4211
4213
  readonly baseStaticUrl: string;
4212
4214
  readonly baseUrl: string;
4213
4215
  readonly projectId: string;
4214
- "__#34168@#getComponentsVersion"(): Promise<string>;
4215
- "__#34168@#getComponentsVersionSri"(): Promise<string>;
4216
- "__#34168@#descopeUi": Promise<any>;
4216
+ "__#39136@#getComponentsVersion"(): Promise<string>;
4217
+ "__#39136@#getComponentsVersionSri"(): Promise<string>;
4218
+ "__#39136@#descopeUi": Promise<any>;
4217
4219
  readonly descopeUi: Promise<any>;
4218
- "__#34168@#loadDescopeUiComponent"(componentName: string): Promise<any>;
4219
- "__#34168@#getDescopeUi"(): Promise<any>;
4220
+ "__#39136@#loadDescopeUiComponent"(componentName: string): Promise<any>;
4221
+ "__#39136@#getDescopeUi"(): Promise<any>;
4220
4222
  loadDescopeUiComponents(templateOrComponentNames: HTMLTemplateElement | string[]): Promise<any[]>;
4221
4223
  readonly baseCdnUrl: string;
4222
4224
  injectNpmLib(libName: string, version: string, filePath?: string, overrides?: string[], integrity?: string): Promise<ScriptData>;
@@ -4232,8 +4234,8 @@ declare const createStateManagementMixin: <State, CaseReducers extends SliceCase
4232
4234
  new (...args: any): {
4233
4235
  actions: _reduxjs_toolkit.CaseReducerActions<CaseReducers, Name> & AsyncActions;
4234
4236
  subscribe: <SelectorR = State extends Draft<infer S> ? S : State>(cb: (state: SelectorR) => void, selector?: (state: State) => SelectorR) => Unsubscribe;
4235
- "__#34158@#logger": Logger;
4236
- "__#34158@#wrapLogger"(logger: Partial<Logger>): Logger;
4237
+ "__#39126@#logger": Logger;
4238
+ "__#39126@#wrapLogger"(logger: Partial<Logger>): Logger;
4237
4239
  get logger(): Logger;
4238
4240
  set logger(logger: Partial<Logger>);
4239
4241
  onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
@@ -4577,8 +4579,8 @@ declare const formMixin: <T extends CustomElementConstructor>(superclass: T) =>
4577
4579
  getFormFieldNames(rootEle: ElementOrEmpty): string[];
4578
4580
  disableFormField(rootEle: ElementOrEmpty, name: string): void;
4579
4581
  removeFormField(rootEle: ElementOrEmpty, name: string): void;
4580
- "__#34158@#logger": Logger;
4581
- "__#34158@#wrapLogger"(logger: Partial<Logger>): Logger;
4582
+ "__#39126@#logger": Logger;
4583
+ "__#39126@#wrapLogger"(logger: Partial<Logger>): Logger;
4582
4584
  get logger(): Logger;
4583
4585
  set logger(logger: Partial<Logger>);
4584
4586
  onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
@@ -4924,12 +4926,12 @@ declare const initElementMixin: <T extends CustomElementConstructor>(superclass:
4924
4926
  readonly cssRules: CSSRuleList;
4925
4927
  } | CSSStyleSheet;
4926
4928
  nonce: string;
4927
- "__#34165@#setNonce"(): void;
4929
+ "__#39133@#setNonce"(): void;
4928
4930
  init(): Promise<void>;
4929
- "__#34160@#observeMappings": {};
4931
+ "__#39128@#observeMappings": {};
4930
4932
  observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
4931
4933
  observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
4932
- "__#34159@#isInit": boolean;
4934
+ "__#39127@#isInit": boolean;
4933
4935
  connectedCallback: (() => void) & (() => void) & (() => void);
4934
4936
  accessKey: string;
4935
4937
  readonly accessKeyLabel: string;
@@ -5255,8 +5257,8 @@ declare const initElementMixin: <T extends CustomElementConstructor>(superclass:
5255
5257
  tabIndex: number;
5256
5258
  blur(): void;
5257
5259
  focus(options?: FocusOptions): void;
5258
- "__#34158@#logger": Logger;
5259
- "__#34158@#wrapLogger"(logger: Partial<Logger>): Logger;
5260
+ "__#39126@#logger": Logger;
5261
+ "__#39126@#wrapLogger"(logger: Partial<Logger>): Logger;
5260
5262
  get logger(): Logger;
5261
5263
  set logger(logger: Partial<Logger>);
5262
5264
  onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
@@ -5265,7 +5267,7 @@ declare const initElementMixin: <T extends CustomElementConstructor>(superclass:
5265
5267
 
5266
5268
  declare const initLifecycleMixin: <T extends CustomElementConstructor>(superclass: T) => {
5267
5269
  new (...params: any[]): {
5268
- "__#34159@#isInit": boolean;
5270
+ "__#39127@#isInit": boolean;
5269
5271
  connectedCallback(): void;
5270
5272
  init(): Promise<void>;
5271
5273
  accessKey: string;
@@ -5599,12 +5601,12 @@ declare const initLifecycleMixin: <T extends CustomElementConstructor>(superclas
5599
5601
  declare const projectIdMixin: <T extends CustomElementConstructor>(superclass: T) => {
5600
5602
  new (...args: any): {
5601
5603
  readonly projectId: string;
5602
- "__#34161@#handleError"(attrName: string, newValue: string): void;
5604
+ "__#39129@#handleError"(attrName: string, newValue: string): void;
5603
5605
  init(): Promise<void>;
5604
- "__#34160@#observeMappings": {};
5606
+ "__#39128@#observeMappings": {};
5605
5607
  observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
5606
5608
  observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
5607
- "__#34159@#isInit": boolean;
5609
+ "__#39127@#isInit": boolean;
5608
5610
  connectedCallback: (() => void) & (() => void) & (() => void);
5609
5611
  accessKey: string;
5610
5612
  readonly accessKeyLabel: string;
@@ -5931,8 +5933,8 @@ declare const projectIdMixin: <T extends CustomElementConstructor>(superclass: T
5931
5933
  tabIndex: number;
5932
5934
  blur(): void;
5933
5935
  focus(options?: FocusOptions): void;
5934
- "__#34158@#logger": Logger;
5935
- "__#34158@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
5936
+ "__#39126@#logger": Logger;
5937
+ "__#39126@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
5936
5938
  get logger(): Logger;
5937
5939
  set logger(logger: Partial<Logger>);
5938
5940
  onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
@@ -5942,12 +5944,12 @@ declare const projectIdMixin: <T extends CustomElementConstructor>(superclass: T
5942
5944
  declare const tenantIdMixin: <T extends CustomElementConstructor>(superclass: T) => {
5943
5945
  new (...args: any): {
5944
5946
  readonly tenantId: string;
5945
- "__#34161@#handleError"(attrName: string, newValue: string): void;
5947
+ "__#39129@#handleError"(attrName: string, newValue: string): void;
5946
5948
  init(): Promise<void>;
5947
- "__#34160@#observeMappings": {};
5949
+ "__#39128@#observeMappings": {};
5948
5950
  observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
5949
5951
  observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
5950
- "__#34159@#isInit": boolean;
5952
+ "__#39127@#isInit": boolean;
5951
5953
  connectedCallback: (() => void) & (() => void) & (() => void);
5952
5954
  accessKey: string;
5953
5955
  readonly accessKeyLabel: string;
@@ -6274,8 +6276,8 @@ declare const tenantIdMixin: <T extends CustomElementConstructor>(superclass: T)
6274
6276
  tabIndex: number;
6275
6277
  blur(): void;
6276
6278
  focus(options?: FocusOptions): void;
6277
- "__#34158@#logger": Logger;
6278
- "__#34158@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
6279
+ "__#39126@#logger": Logger;
6280
+ "__#39126@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
6279
6281
  get logger(): Logger;
6280
6282
  set logger(logger: Partial<Logger>);
6281
6283
  onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
@@ -6285,12 +6287,12 @@ declare const tenantIdMixin: <T extends CustomElementConstructor>(superclass: T)
6285
6287
  declare const widgetIdMixin: <T extends CustomElementConstructor>(superclass: T) => {
6286
6288
  new (...args: any): {
6287
6289
  readonly widgetId: string;
6288
- "__#34161@#handleError"(attrName: string, newValue: string): void;
6290
+ "__#39129@#handleError"(attrName: string, newValue: string): void;
6289
6291
  init(): Promise<void>;
6290
- "__#34160@#observeMappings": {};
6292
+ "__#39128@#observeMappings": {};
6291
6293
  observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
6292
6294
  observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
6293
- "__#34159@#isInit": boolean;
6295
+ "__#39127@#isInit": boolean;
6294
6296
  connectedCallback: (() => void) & (() => void) & (() => void);
6295
6297
  accessKey: string;
6296
6298
  readonly accessKeyLabel: string;
@@ -6617,8 +6619,8 @@ declare const widgetIdMixin: <T extends CustomElementConstructor>(superclass: T)
6617
6619
  tabIndex: number;
6618
6620
  blur(): void;
6619
6621
  focus(options?: FocusOptions): void;
6620
- "__#34158@#logger": Logger;
6621
- "__#34158@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
6622
+ "__#39126@#logger": Logger;
6623
+ "__#39126@#wrapLogger": ((logger: Partial<Logger>) => Logger) & ((logger: Partial<Logger>) => Logger);
6622
6624
  get logger(): Logger;
6623
6625
  set logger(logger: Partial<Logger>);
6624
6626
  onLogEvent: ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
@@ -6630,11 +6632,11 @@ declare const widgetConfigMixin: <T extends CustomElementConstructor>(superclass
6630
6632
  init(): Promise<void>;
6631
6633
  getWidgetConfig(): Promise<WidgetConfig | undefined>;
6632
6634
  readonly widgetId: string;
6633
- "__#34161@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
6634
- "__#34160@#observeMappings": {} & {} & {};
6635
+ "__#39129@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
6636
+ "__#39128@#observeMappings": {} & {} & {};
6635
6637
  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);
6636
6638
  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);
6637
- "__#34159@#isInit": boolean;
6639
+ "__#39127@#isInit": boolean;
6638
6640
  connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
6639
6641
  accessKey: string;
6640
6642
  readonly accessKeyLabel: string;
@@ -6961,27 +6963,27 @@ declare const widgetConfigMixin: <T extends CustomElementConstructor>(superclass
6961
6963
  tabIndex: number;
6962
6964
  blur(): void;
6963
6965
  focus(options?: FocusOptions): void;
6964
- "__#34158@#logger": Logger;
6965
- "__#34158@#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);
6966
+ "__#39126@#logger": Logger;
6967
+ "__#39126@#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);
6966
6968
  get logger(): Logger;
6967
6969
  set logger(logger: Partial<Logger>);
6968
6970
  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);
6969
6971
  readonly config: Promise<Config>;
6970
- "__#34164@#configCacheClear"(): void;
6971
- "__#34164@#_configResource": Promise<Config>;
6972
- "__#34164@#fetchConfig": () => Promise<Config>;
6973
- "__#34163@#callbacks": Map<string, () => void>;
6972
+ "__#39132@#configCacheClear"(): void;
6973
+ "__#39132@#_configResource": Promise<Config>;
6974
+ "__#39132@#fetchConfig": () => Promise<Config>;
6975
+ "__#39131@#callbacks": Map<string, () => void>;
6974
6976
  onReset(sectionId: string, callback: () => void | Promise<void>): () => void;
6975
6977
  reset(...sectionIds: string[]): Promise<void>;
6976
- "__#34162@#lastBaseUrl"?: string;
6977
- "__#34162@#workingBaseUrl"?: string;
6978
- "__#34162@#failedUrls": Set<string>;
6979
- "__#34162@#getResourceUrls"(filename: string): (URL & {
6978
+ "__#39130@#lastBaseUrl"?: string;
6979
+ "__#39130@#workingBaseUrl"?: string;
6980
+ "__#39130@#failedUrls": Set<string>;
6981
+ "__#39130@#getResourceUrls"(filename: string): (URL & {
6980
6982
  baseUrl: string;
6981
6983
  }) | (URL & {
6982
6984
  baseUrl: string;
6983
6985
  })[];
6984
- "__#34162@#createResourceUrl"(filename: string, baseUrl: string): URL & {
6986
+ "__#39130@#createResourceUrl"(filename: string, baseUrl: string): URL & {
6985
6987
  baseUrl: string;
6986
6988
  };
6987
6989
  fetchStaticResource<F extends "text" | "json">(filename: string, format: F): Promise<{
@@ -6994,9 +6996,22 @@ declare const widgetConfigMixin: <T extends CustomElementConstructor>(superclass
6994
6996
  };
6995
6997
  } & T;
6996
6998
 
6997
- declare const baseUrlMixin: <T extends CustomElementConstructor>(superclass: T) => {
6999
+ /**
7000
+ * Exposes the widget's locale to mixins that need it (HTML fetching, flow propagation).
7001
+ * Mirrors web-component's BaseDescopeWc locale handling:
7002
+ * - `locale` getter returns the raw attribute value, defaulting to '' when unset (like themeMixin's
7003
+ * theme/styleId), so callers can pass it straight to setAttribute without emitting "undefined".
7004
+ * - `localeCandidates` returns the lowercased locales to try, most-specific first: the resolved
7005
+ * locale and then its language-only fallback (e.g. 'en-us' then 'en'), matching the
7006
+ * web-component's getHtmlFilenameWithLocale probe order. Falls back to navigator.language.
7007
+ * - `firstAvailableLocale(availableLocales)` returns the most-specific candidate that the consumer
7008
+ * actually publishes (e.g. a widget's config.json targetLocales), or '' when none match.
7009
+ */
7010
+ declare const localeMixin: <T extends CustomElementConstructor>(superclass: T) => {
6998
7011
  new (...params: any[]): {
6999
- readonly baseUrl: string;
7012
+ readonly locale: string;
7013
+ readonly localeCandidates: string[];
7014
+ firstAvailableLocale(availableLocales: string[]): string;
7000
7015
  accessKey: string;
7001
7016
  readonly accessKeyLabel: string;
7002
7017
  autocapitalize: string;
@@ -7326,9 +7341,25 @@ declare const baseUrlMixin: <T extends CustomElementConstructor>(superclass: T)
7326
7341
  };
7327
7342
  } & T;
7328
7343
 
7329
- declare const cookieConfigMixin: <T extends CustomElementConstructor>(superclass: T) => {
7344
+ /**
7345
+ * Builds a widget's fetchWidgetPagesMixin. Every widget shares identical logic and differs only by
7346
+ * its published base directory (the widget type/name under which its screens live in S3), so each
7347
+ * widget calls this with its own dir:
7348
+ *
7349
+ * export const fetchWidgetPagesMixin = createFetchWidgetPagesMixin('user-profile-widget');
7350
+ *
7351
+ * `fetchWidgetPage` fetches `<base>/<widgetId>/<file>`, transparently preferring a localized
7352
+ * `<file>-<locale>.html` variant when the widget publishes that locale (config.json targetLocales),
7353
+ * and falling back to the default page otherwise.
7354
+ */
7355
+ declare const createFetchWidgetPagesMixin: (widgetPagesBaseDir: string) => <T extends CustomElementConstructor>(superclass: T) => {
7330
7356
  new (...params: any[]): {
7331
- readonly refreshCookieName: string;
7357
+ init(): Promise<void>;
7358
+ fetchWidgetPage(filename: string): Promise<string>;
7359
+ "__#39143@#tryFetchLocalized"(filename: string): Promise<string | undefined>;
7360
+ readonly locale: string;
7361
+ readonly localeCandidates: string[];
7362
+ firstAvailableLocale(availableLocales: string[]): string;
7332
7363
  accessKey: string;
7333
7364
  readonly accessKeyLabel: string;
7334
7365
  autocapitalize: string;
@@ -7358,7 +7389,7 @@ declare const cookieConfigMixin: <T extends CustomElementConstructor>(superclass
7358
7389
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
7359
7390
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7360
7391
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
7361
- connectedCallback(): void;
7392
+ connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
7362
7393
  readonly attributes: NamedNodeMap;
7363
7394
  readonly classList: DOMTokenList;
7364
7395
  className: string;
@@ -7655,21 +7686,58 @@ declare const cookieConfigMixin: <T extends CustomElementConstructor>(superclass
7655
7686
  tabIndex: number;
7656
7687
  blur(): void;
7657
7688
  focus(options?: FocusOptions): void;
7689
+ getWidgetConfig(): Promise<WidgetConfig>;
7690
+ readonly widgetId: string;
7691
+ "__#39129@#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);
7692
+ "__#39128@#observeMappings": {} & {} & {} & {} & {};
7693
+ 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);
7694
+ 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);
7695
+ "__#39127@#isInit": boolean;
7696
+ "__#39126@#logger": Logger;
7697
+ "__#39126@#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);
7698
+ get logger(): Logger;
7699
+ set logger(logger: Partial<Logger>);
7700
+ 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);
7701
+ readonly config: Promise<Config>;
7702
+ "__#39132@#configCacheClear"(): void;
7703
+ "__#39132@#_configResource": Promise<Config>;
7704
+ "__#39132@#fetchConfig": () => Promise<Config>;
7705
+ "__#39131@#callbacks": Map<string, () => void>;
7706
+ onReset(sectionId: string, callback: () => void | Promise<void>): () => void;
7707
+ reset(...sectionIds: string[]): Promise<void>;
7708
+ "__#39130@#lastBaseUrl"?: string;
7709
+ "__#39130@#workingBaseUrl"?: string;
7710
+ "__#39130@#failedUrls": Set<string>;
7711
+ "__#39130@#getResourceUrls": ((filename: string) => (URL & {
7712
+ baseUrl: string;
7713
+ }) | (URL & {
7714
+ baseUrl: string;
7715
+ })[]) & ((filename: string) => (URL & {
7716
+ baseUrl: string;
7717
+ }) | (URL & {
7718
+ baseUrl: string;
7719
+ })[]);
7720
+ "__#39130@#createResourceUrl": ((filename: string, baseUrl: string) => URL & {
7721
+ baseUrl: string;
7722
+ }) & ((filename: string, baseUrl: string) => URL & {
7723
+ baseUrl: string;
7724
+ });
7725
+ fetchStaticResource: (<F extends "text" | "json">(filename: string, format: F) => Promise<{
7726
+ body: F extends "json" ? Record<string, any> : string;
7727
+ headers: Record<string, string>;
7728
+ }>) & (<F_1 extends "text" | "json">(filename: string, format: F_1) => Promise<{
7729
+ body: F_1 extends "json" ? Record<string, any> : string;
7730
+ headers: Record<string, string>;
7731
+ }>);
7732
+ readonly baseStaticUrl: string;
7733
+ readonly baseUrl: string;
7734
+ readonly projectId: string;
7658
7735
  };
7659
7736
  } & T;
7660
7737
 
7661
- declare global {
7662
- var descope: any;
7663
- }
7664
- declare const injectNpmLibMixin: <T extends CustomElementConstructor>(superclass: T) => {
7738
+ declare const baseUrlMixin: <T extends CustomElementConstructor>(superclass: T) => {
7665
7739
  new (...params: any[]): {
7666
- readonly baseCdnUrl: string;
7667
- injectNpmLib(libName: string, version: string, filePath?: string, overrides?: string[], integrity?: string): Promise<ScriptData>;
7668
- "__#34158@#logger": Logger;
7669
- "__#34158@#wrapLogger"(logger: Partial<Logger>): Logger;
7670
- get logger(): Logger;
7671
- set logger(logger: Partial<Logger>);
7672
- onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
7740
+ readonly baseUrl: string;
7673
7741
  accessKey: string;
7674
7742
  readonly accessKeyLabel: string;
7675
7743
  autocapitalize: string;
@@ -7999,16 +8067,9 @@ declare const injectNpmLibMixin: <T extends CustomElementConstructor>(superclass
7999
8067
  };
8000
8068
  } & T;
8001
8069
 
8002
- declare const cspNonceMixin: <T extends CustomElementConstructor>(superclass: T) => {
8070
+ declare const cookieConfigMixin: <T extends CustomElementConstructor>(superclass: T) => {
8003
8071
  new (...params: any[]): {
8004
- readonly nonce: string;
8005
- "__#34165@#setNonce"(): void;
8006
- init(): Promise<void>;
8007
- "__#34160@#observeMappings": {};
8008
- observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
8009
- observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
8010
- "__#34159@#isInit": boolean;
8011
- connectedCallback: (() => void) & (() => void) & (() => void);
8072
+ readonly refreshCookieName: string;
8012
8073
  accessKey: string;
8013
8074
  readonly accessKeyLabel: string;
8014
8075
  autocapitalize: string;
@@ -8038,6 +8099,7 @@ declare const cspNonceMixin: <T extends CustomElementConstructor>(superclass: T)
8038
8099
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
8039
8100
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
8040
8101
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
8102
+ connectedCallback(): void;
8041
8103
  readonly attributes: NamedNodeMap;
8042
8104
  readonly classList: DOMTokenList;
8043
8105
  className: string;
@@ -8330,14 +8392,1153 @@ declare const cspNonceMixin: <T extends CustomElementConstructor>(superclass: T)
8330
8392
  onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
8331
8393
  autofocus: boolean;
8332
8394
  readonly dataset: DOMStringMap;
8395
+ nonce?: string;
8333
8396
  tabIndex: number;
8334
8397
  blur(): void;
8335
8398
  focus(options?: FocusOptions): void;
8336
- "__#34158@#logger": Logger;
8337
- "__#34158@#wrapLogger"(logger: Partial<Logger>): Logger;
8399
+ };
8400
+ } & T;
8401
+
8402
+ declare global {
8403
+ var descope: any;
8404
+ }
8405
+ declare const injectNpmLibMixin: <T extends CustomElementConstructor>(superclass: T) => {
8406
+ new (...params: any[]): {
8407
+ readonly baseCdnUrl: string;
8408
+ injectNpmLib(libName: string, version: string, filePath?: string, overrides?: string[], integrity?: string): Promise<ScriptData>;
8409
+ "__#39126@#logger": Logger;
8410
+ "__#39126@#wrapLogger"(logger: Partial<Logger>): Logger;
8338
8411
  get logger(): Logger;
8339
8412
  set logger(logger: Partial<Logger>);
8340
8413
  onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
8414
+ accessKey: string;
8415
+ readonly accessKeyLabel: string;
8416
+ autocapitalize: string;
8417
+ dir: string;
8418
+ draggable: boolean;
8419
+ hidden: boolean;
8420
+ inert: boolean;
8421
+ innerText: string;
8422
+ lang: string;
8423
+ readonly offsetHeight: number;
8424
+ readonly offsetLeft: number;
8425
+ readonly offsetParent: Element;
8426
+ readonly offsetTop: number;
8427
+ readonly offsetWidth: number;
8428
+ outerText: string;
8429
+ popover: string;
8430
+ spellcheck: boolean;
8431
+ title: string;
8432
+ translate: boolean;
8433
+ attachInternals(): ElementInternals;
8434
+ click(): void;
8435
+ hidePopover(): void;
8436
+ showPopover(): void;
8437
+ togglePopover(force?: boolean): boolean;
8438
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
8439
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
8440
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
8441
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
8442
+ attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
8443
+ connectedCallback(): void;
8444
+ readonly attributes: NamedNodeMap;
8445
+ readonly classList: DOMTokenList;
8446
+ className: string;
8447
+ readonly clientHeight: number;
8448
+ readonly clientLeft: number;
8449
+ readonly clientTop: number;
8450
+ readonly clientWidth: number;
8451
+ id: string;
8452
+ readonly localName: string;
8453
+ readonly namespaceURI: string;
8454
+ onfullscreenchange: (this: Element, ev: Event) => any;
8455
+ onfullscreenerror: (this: Element, ev: Event) => any;
8456
+ outerHTML: string;
8457
+ readonly ownerDocument: Document;
8458
+ readonly part: DOMTokenList;
8459
+ readonly prefix: string;
8460
+ readonly scrollHeight: number;
8461
+ scrollLeft: number;
8462
+ scrollTop: number;
8463
+ readonly scrollWidth: number;
8464
+ readonly shadowRoot: ShadowRoot;
8465
+ slot: string;
8466
+ readonly tagName: string;
8467
+ attachShadow(init: ShadowRootInit): ShadowRoot;
8468
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
8469
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
8470
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
8471
+ closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
8472
+ closest<E extends Element = Element>(selectors: string): E;
8473
+ computedStyleMap(): StylePropertyMapReadOnly;
8474
+ getAttribute(qualifiedName: string): string;
8475
+ getAttributeNS(namespace: string, localName: string): string;
8476
+ getAttributeNames(): string[];
8477
+ getAttributeNode(qualifiedName: string): Attr;
8478
+ getAttributeNodeNS(namespace: string, localName: string): Attr;
8479
+ getBoundingClientRect(): DOMRect;
8480
+ getClientRects(): DOMRectList;
8481
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
8482
+ getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
8483
+ getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
8484
+ getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
8485
+ getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
8486
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
8487
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
8488
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
8489
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
8490
+ getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
8491
+ hasAttribute(qualifiedName: string): boolean;
8492
+ hasAttributeNS(namespace: string, localName: string): boolean;
8493
+ hasAttributes(): boolean;
8494
+ hasPointerCapture(pointerId: number): boolean;
8495
+ insertAdjacentElement(where: InsertPosition, element: Element): Element;
8496
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
8497
+ insertAdjacentText(where: InsertPosition, data: string): void;
8498
+ matches(selectors: string): boolean;
8499
+ releasePointerCapture(pointerId: number): void;
8500
+ removeAttribute(qualifiedName: string): void;
8501
+ removeAttributeNS(namespace: string, localName: string): void;
8502
+ removeAttributeNode(attr: Attr): Attr;
8503
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
8504
+ requestPointerLock(): void;
8505
+ scroll(options?: ScrollToOptions): void;
8506
+ scroll(x: number, y: number): void;
8507
+ scrollBy(options?: ScrollToOptions): void;
8508
+ scrollBy(x: number, y: number): void;
8509
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
8510
+ scrollTo(options?: ScrollToOptions): void;
8511
+ scrollTo(x: number, y: number): void;
8512
+ setAttribute(qualifiedName: string, value: string): void;
8513
+ setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
8514
+ setAttributeNode(attr: Attr): Attr;
8515
+ setAttributeNodeNS(attr: Attr): Attr;
8516
+ setPointerCapture(pointerId: number): void;
8517
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
8518
+ webkitMatchesSelector(selectors: string): boolean;
8519
+ readonly baseURI: string;
8520
+ readonly childNodes: NodeListOf<ChildNode>;
8521
+ readonly firstChild: ChildNode;
8522
+ readonly isConnected: boolean;
8523
+ readonly lastChild: ChildNode;
8524
+ readonly nextSibling: ChildNode;
8525
+ readonly nodeName: string;
8526
+ readonly nodeType: number;
8527
+ nodeValue: string;
8528
+ readonly parentElement: HTMLElement;
8529
+ readonly parentNode: ParentNode;
8530
+ readonly previousSibling: ChildNode;
8531
+ textContent: string;
8532
+ appendChild<T_1 extends Node>(node: T_1): T_1;
8533
+ cloneNode(deep?: boolean): Node;
8534
+ compareDocumentPosition(other: Node): number;
8535
+ contains(other: Node): boolean;
8536
+ getRootNode(options?: GetRootNodeOptions): Node;
8537
+ hasChildNodes(): boolean;
8538
+ insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
8539
+ isDefaultNamespace(namespace: string): boolean;
8540
+ isEqualNode(otherNode: Node): boolean;
8541
+ isSameNode(otherNode: Node): boolean;
8542
+ lookupNamespaceURI(prefix: string): string;
8543
+ lookupPrefix(namespace: string): string;
8544
+ normalize(): void;
8545
+ removeChild<T_3 extends Node>(child: T_3): T_3;
8546
+ replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
8547
+ readonly ELEMENT_NODE: 1;
8548
+ readonly ATTRIBUTE_NODE: 2;
8549
+ readonly TEXT_NODE: 3;
8550
+ readonly CDATA_SECTION_NODE: 4;
8551
+ readonly ENTITY_REFERENCE_NODE: 5;
8552
+ readonly ENTITY_NODE: 6;
8553
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
8554
+ readonly COMMENT_NODE: 8;
8555
+ readonly DOCUMENT_NODE: 9;
8556
+ readonly DOCUMENT_TYPE_NODE: 10;
8557
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
8558
+ readonly NOTATION_NODE: 12;
8559
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
8560
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
8561
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
8562
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
8563
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
8564
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
8565
+ dispatchEvent(event: Event): boolean;
8566
+ ariaAtomic: string;
8567
+ ariaAutoComplete: string;
8568
+ ariaBusy: string;
8569
+ ariaChecked: string;
8570
+ ariaColCount: string;
8571
+ ariaColIndex: string;
8572
+ ariaColSpan: string;
8573
+ ariaCurrent: string;
8574
+ ariaDescription: string;
8575
+ ariaDisabled: string;
8576
+ ariaExpanded: string;
8577
+ ariaHasPopup: string;
8578
+ ariaHidden: string;
8579
+ ariaInvalid: string;
8580
+ ariaKeyShortcuts: string;
8581
+ ariaLabel: string;
8582
+ ariaLevel: string;
8583
+ ariaLive: string;
8584
+ ariaModal: string;
8585
+ ariaMultiLine: string;
8586
+ ariaMultiSelectable: string;
8587
+ ariaOrientation: string;
8588
+ ariaPlaceholder: string;
8589
+ ariaPosInSet: string;
8590
+ ariaPressed: string;
8591
+ ariaReadOnly: string;
8592
+ ariaRequired: string;
8593
+ ariaRoleDescription: string;
8594
+ ariaRowCount: string;
8595
+ ariaRowIndex: string;
8596
+ ariaRowSpan: string;
8597
+ ariaSelected: string;
8598
+ ariaSetSize: string;
8599
+ ariaSort: string;
8600
+ ariaValueMax: string;
8601
+ ariaValueMin: string;
8602
+ ariaValueNow: string;
8603
+ ariaValueText: string;
8604
+ role: string;
8605
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
8606
+ getAnimations(options?: GetAnimationsOptions): Animation[];
8607
+ after(...nodes: (string | Node)[]): void;
8608
+ before(...nodes: (string | Node)[]): void;
8609
+ remove(): void;
8610
+ replaceWith(...nodes: (string | Node)[]): void;
8611
+ innerHTML: string;
8612
+ readonly nextElementSibling: Element;
8613
+ readonly previousElementSibling: Element;
8614
+ readonly childElementCount: number;
8615
+ readonly children: HTMLCollection;
8616
+ readonly firstElementChild: Element;
8617
+ readonly lastElementChild: Element;
8618
+ append(...nodes: (string | Node)[]): void;
8619
+ prepend(...nodes: (string | Node)[]): void;
8620
+ querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
8621
+ querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
8622
+ querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
8623
+ querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
8624
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1;
8625
+ querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
8626
+ querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
8627
+ querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
8628
+ querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
8629
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
8630
+ replaceChildren(...nodes: (string | Node)[]): void;
8631
+ readonly assignedSlot: HTMLSlotElement;
8632
+ readonly attributeStyleMap: StylePropertyMap;
8633
+ readonly style: CSSStyleDeclaration;
8634
+ contentEditable: string;
8635
+ enterKeyHint: string;
8636
+ inputMode: string;
8637
+ readonly isContentEditable: boolean;
8638
+ onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
8639
+ onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
8640
+ onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
8641
+ onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
8642
+ onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
8643
+ onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8644
+ onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
8645
+ onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
8646
+ onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
8647
+ oncancel: (this: GlobalEventHandlers, ev: Event) => any;
8648
+ oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
8649
+ oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
8650
+ onchange: (this: GlobalEventHandlers, ev: Event) => any;
8651
+ onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8652
+ onclose: (this: GlobalEventHandlers, ev: Event) => any;
8653
+ oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8654
+ oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
8655
+ oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
8656
+ oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
8657
+ ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8658
+ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
8659
+ ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
8660
+ ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
8661
+ ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
8662
+ ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
8663
+ ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
8664
+ ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
8665
+ ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
8666
+ onemptied: (this: GlobalEventHandlers, ev: Event) => any;
8667
+ onended: (this: GlobalEventHandlers, ev: Event) => any;
8668
+ onerror: OnErrorEventHandlerNonNull;
8669
+ onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
8670
+ onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
8671
+ ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
8672
+ oninput: (this: GlobalEventHandlers, ev: Event) => any;
8673
+ oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
8674
+ onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
8675
+ onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
8676
+ onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
8677
+ onload: (this: GlobalEventHandlers, ev: Event) => any;
8678
+ onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
8679
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
8680
+ onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
8681
+ onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
8682
+ onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8683
+ onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8684
+ onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8685
+ onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8686
+ onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8687
+ onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8688
+ onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8689
+ onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
8690
+ onpause: (this: GlobalEventHandlers, ev: Event) => any;
8691
+ onplay: (this: GlobalEventHandlers, ev: Event) => any;
8692
+ onplaying: (this: GlobalEventHandlers, ev: Event) => any;
8693
+ onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
8694
+ onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
8695
+ onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
8696
+ onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
8697
+ onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
8698
+ onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
8699
+ onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
8700
+ onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
8701
+ onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
8702
+ onratechange: (this: GlobalEventHandlers, ev: Event) => any;
8703
+ onreset: (this: GlobalEventHandlers, ev: Event) => any;
8704
+ onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
8705
+ onscroll: (this: GlobalEventHandlers, ev: Event) => any;
8706
+ onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
8707
+ onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
8708
+ onseeked: (this: GlobalEventHandlers, ev: Event) => any;
8709
+ onseeking: (this: GlobalEventHandlers, ev: Event) => any;
8710
+ onselect: (this: GlobalEventHandlers, ev: Event) => any;
8711
+ onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
8712
+ onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
8713
+ onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
8714
+ onstalled: (this: GlobalEventHandlers, ev: Event) => any;
8715
+ onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
8716
+ onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
8717
+ ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
8718
+ ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
8719
+ ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
8720
+ ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
8721
+ ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
8722
+ ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
8723
+ ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
8724
+ ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
8725
+ ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
8726
+ ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
8727
+ onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
8728
+ onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
8729
+ onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
8730
+ onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
8731
+ onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
8732
+ onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
8733
+ onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
8734
+ autofocus: boolean;
8735
+ readonly dataset: DOMStringMap;
8736
+ nonce?: string;
8737
+ tabIndex: number;
8738
+ blur(): void;
8739
+ focus(options?: FocusOptions): void;
8740
+ };
8741
+ } & T;
8742
+
8743
+ declare const cspNonceMixin: <T extends CustomElementConstructor>(superclass: T) => {
8744
+ new (...params: any[]): {
8745
+ readonly nonce: string;
8746
+ "__#39133@#setNonce"(): void;
8747
+ init(): Promise<void>;
8748
+ "__#39128@#observeMappings": {};
8749
+ observeAttribute(attrName: string, onAttrChange: (attrName: string, value: string) => void): () => any;
8750
+ observeAttributes(attrs: string[], cb: (attrName: string, value: string) => void): () => void;
8751
+ "__#39127@#isInit": boolean;
8752
+ connectedCallback: (() => void) & (() => void) & (() => void);
8753
+ accessKey: string;
8754
+ readonly accessKeyLabel: string;
8755
+ autocapitalize: string;
8756
+ dir: string;
8757
+ draggable: boolean;
8758
+ hidden: boolean;
8759
+ inert: boolean;
8760
+ innerText: string;
8761
+ lang: string;
8762
+ readonly offsetHeight: number;
8763
+ readonly offsetLeft: number;
8764
+ readonly offsetParent: Element;
8765
+ readonly offsetTop: number;
8766
+ readonly offsetWidth: number;
8767
+ outerText: string;
8768
+ popover: string;
8769
+ spellcheck: boolean;
8770
+ title: string;
8771
+ translate: boolean;
8772
+ attachInternals(): ElementInternals;
8773
+ click(): void;
8774
+ hidePopover(): void;
8775
+ showPopover(): void;
8776
+ togglePopover(force?: boolean): boolean;
8777
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
8778
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
8779
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
8780
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
8781
+ attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
8782
+ readonly attributes: NamedNodeMap;
8783
+ readonly classList: DOMTokenList;
8784
+ className: string;
8785
+ readonly clientHeight: number;
8786
+ readonly clientLeft: number;
8787
+ readonly clientTop: number;
8788
+ readonly clientWidth: number;
8789
+ id: string;
8790
+ readonly localName: string;
8791
+ readonly namespaceURI: string;
8792
+ onfullscreenchange: (this: Element, ev: Event) => any;
8793
+ onfullscreenerror: (this: Element, ev: Event) => any;
8794
+ outerHTML: string;
8795
+ readonly ownerDocument: Document;
8796
+ readonly part: DOMTokenList;
8797
+ readonly prefix: string;
8798
+ readonly scrollHeight: number;
8799
+ scrollLeft: number;
8800
+ scrollTop: number;
8801
+ readonly scrollWidth: number;
8802
+ readonly shadowRoot: ShadowRoot;
8803
+ slot: string;
8804
+ readonly tagName: string;
8805
+ attachShadow(init: ShadowRootInit): ShadowRoot;
8806
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
8807
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
8808
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
8809
+ closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
8810
+ closest<E extends Element = Element>(selectors: string): E;
8811
+ computedStyleMap(): StylePropertyMapReadOnly;
8812
+ getAttribute(qualifiedName: string): string;
8813
+ getAttributeNS(namespace: string, localName: string): string;
8814
+ getAttributeNames(): string[];
8815
+ getAttributeNode(qualifiedName: string): Attr;
8816
+ getAttributeNodeNS(namespace: string, localName: string): Attr;
8817
+ getBoundingClientRect(): DOMRect;
8818
+ getClientRects(): DOMRectList;
8819
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
8820
+ getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
8821
+ getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
8822
+ getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
8823
+ getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
8824
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
8825
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
8826
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
8827
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
8828
+ getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
8829
+ hasAttribute(qualifiedName: string): boolean;
8830
+ hasAttributeNS(namespace: string, localName: string): boolean;
8831
+ hasAttributes(): boolean;
8832
+ hasPointerCapture(pointerId: number): boolean;
8833
+ insertAdjacentElement(where: InsertPosition, element: Element): Element;
8834
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
8835
+ insertAdjacentText(where: InsertPosition, data: string): void;
8836
+ matches(selectors: string): boolean;
8837
+ releasePointerCapture(pointerId: number): void;
8838
+ removeAttribute(qualifiedName: string): void;
8839
+ removeAttributeNS(namespace: string, localName: string): void;
8840
+ removeAttributeNode(attr: Attr): Attr;
8841
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
8842
+ requestPointerLock(): void;
8843
+ scroll(options?: ScrollToOptions): void;
8844
+ scroll(x: number, y: number): void;
8845
+ scrollBy(options?: ScrollToOptions): void;
8846
+ scrollBy(x: number, y: number): void;
8847
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
8848
+ scrollTo(options?: ScrollToOptions): void;
8849
+ scrollTo(x: number, y: number): void;
8850
+ setAttribute(qualifiedName: string, value: string): void;
8851
+ setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
8852
+ setAttributeNode(attr: Attr): Attr;
8853
+ setAttributeNodeNS(attr: Attr): Attr;
8854
+ setPointerCapture(pointerId: number): void;
8855
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
8856
+ webkitMatchesSelector(selectors: string): boolean;
8857
+ readonly baseURI: string;
8858
+ readonly childNodes: NodeListOf<ChildNode>;
8859
+ readonly firstChild: ChildNode;
8860
+ readonly isConnected: boolean;
8861
+ readonly lastChild: ChildNode;
8862
+ readonly nextSibling: ChildNode;
8863
+ readonly nodeName: string;
8864
+ readonly nodeType: number;
8865
+ nodeValue: string;
8866
+ readonly parentElement: HTMLElement;
8867
+ readonly parentNode: ParentNode;
8868
+ readonly previousSibling: ChildNode;
8869
+ textContent: string;
8870
+ appendChild<T_1 extends Node>(node: T_1): T_1;
8871
+ cloneNode(deep?: boolean): Node;
8872
+ compareDocumentPosition(other: Node): number;
8873
+ contains(other: Node): boolean;
8874
+ getRootNode(options?: GetRootNodeOptions): Node;
8875
+ hasChildNodes(): boolean;
8876
+ insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
8877
+ isDefaultNamespace(namespace: string): boolean;
8878
+ isEqualNode(otherNode: Node): boolean;
8879
+ isSameNode(otherNode: Node): boolean;
8880
+ lookupNamespaceURI(prefix: string): string;
8881
+ lookupPrefix(namespace: string): string;
8882
+ normalize(): void;
8883
+ removeChild<T_3 extends Node>(child: T_3): T_3;
8884
+ replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
8885
+ readonly ELEMENT_NODE: 1;
8886
+ readonly ATTRIBUTE_NODE: 2;
8887
+ readonly TEXT_NODE: 3;
8888
+ readonly CDATA_SECTION_NODE: 4;
8889
+ readonly ENTITY_REFERENCE_NODE: 5;
8890
+ readonly ENTITY_NODE: 6;
8891
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
8892
+ readonly COMMENT_NODE: 8;
8893
+ readonly DOCUMENT_NODE: 9;
8894
+ readonly DOCUMENT_TYPE_NODE: 10;
8895
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
8896
+ readonly NOTATION_NODE: 12;
8897
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
8898
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
8899
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
8900
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
8901
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
8902
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
8903
+ dispatchEvent(event: Event): boolean;
8904
+ ariaAtomic: string;
8905
+ ariaAutoComplete: string;
8906
+ ariaBusy: string;
8907
+ ariaChecked: string;
8908
+ ariaColCount: string;
8909
+ ariaColIndex: string;
8910
+ ariaColSpan: string;
8911
+ ariaCurrent: string;
8912
+ ariaDescription: string;
8913
+ ariaDisabled: string;
8914
+ ariaExpanded: string;
8915
+ ariaHasPopup: string;
8916
+ ariaHidden: string;
8917
+ ariaInvalid: string;
8918
+ ariaKeyShortcuts: string;
8919
+ ariaLabel: string;
8920
+ ariaLevel: string;
8921
+ ariaLive: string;
8922
+ ariaModal: string;
8923
+ ariaMultiLine: string;
8924
+ ariaMultiSelectable: string;
8925
+ ariaOrientation: string;
8926
+ ariaPlaceholder: string;
8927
+ ariaPosInSet: string;
8928
+ ariaPressed: string;
8929
+ ariaReadOnly: string;
8930
+ ariaRequired: string;
8931
+ ariaRoleDescription: string;
8932
+ ariaRowCount: string;
8933
+ ariaRowIndex: string;
8934
+ ariaRowSpan: string;
8935
+ ariaSelected: string;
8936
+ ariaSetSize: string;
8937
+ ariaSort: string;
8938
+ ariaValueMax: string;
8939
+ ariaValueMin: string;
8940
+ ariaValueNow: string;
8941
+ ariaValueText: string;
8942
+ role: string;
8943
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
8944
+ getAnimations(options?: GetAnimationsOptions): Animation[];
8945
+ after(...nodes: (string | Node)[]): void;
8946
+ before(...nodes: (string | Node)[]): void;
8947
+ remove(): void;
8948
+ replaceWith(...nodes: (string | Node)[]): void;
8949
+ innerHTML: string;
8950
+ readonly nextElementSibling: Element;
8951
+ readonly previousElementSibling: Element;
8952
+ readonly childElementCount: number;
8953
+ readonly children: HTMLCollection;
8954
+ readonly firstElementChild: Element;
8955
+ readonly lastElementChild: Element;
8956
+ append(...nodes: (string | Node)[]): void;
8957
+ prepend(...nodes: (string | Node)[]): void;
8958
+ querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
8959
+ querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
8960
+ querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
8961
+ querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
8962
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1;
8963
+ querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
8964
+ querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
8965
+ querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
8966
+ querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
8967
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
8968
+ replaceChildren(...nodes: (string | Node)[]): void;
8969
+ readonly assignedSlot: HTMLSlotElement;
8970
+ readonly attributeStyleMap: StylePropertyMap;
8971
+ readonly style: CSSStyleDeclaration;
8972
+ contentEditable: string;
8973
+ enterKeyHint: string;
8974
+ inputMode: string;
8975
+ readonly isContentEditable: boolean;
8976
+ onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
8977
+ onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
8978
+ onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
8979
+ onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
8980
+ onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
8981
+ onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8982
+ onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
8983
+ onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
8984
+ onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
8985
+ oncancel: (this: GlobalEventHandlers, ev: Event) => any;
8986
+ oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
8987
+ oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
8988
+ onchange: (this: GlobalEventHandlers, ev: Event) => any;
8989
+ onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8990
+ onclose: (this: GlobalEventHandlers, ev: Event) => any;
8991
+ oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8992
+ oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
8993
+ oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
8994
+ oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
8995
+ ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
8996
+ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
8997
+ ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
8998
+ ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
8999
+ ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
9000
+ ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
9001
+ ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
9002
+ ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
9003
+ ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
9004
+ onemptied: (this: GlobalEventHandlers, ev: Event) => any;
9005
+ onended: (this: GlobalEventHandlers, ev: Event) => any;
9006
+ onerror: OnErrorEventHandlerNonNull;
9007
+ onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
9008
+ onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
9009
+ ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9010
+ oninput: (this: GlobalEventHandlers, ev: Event) => any;
9011
+ oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
9012
+ onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
9013
+ onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
9014
+ onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
9015
+ onload: (this: GlobalEventHandlers, ev: Event) => any;
9016
+ onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
9017
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
9018
+ onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
9019
+ onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9020
+ onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9021
+ onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9022
+ onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9023
+ onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9024
+ onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9025
+ onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9026
+ onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9027
+ onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
9028
+ onpause: (this: GlobalEventHandlers, ev: Event) => any;
9029
+ onplay: (this: GlobalEventHandlers, ev: Event) => any;
9030
+ onplaying: (this: GlobalEventHandlers, ev: Event) => any;
9031
+ onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9032
+ onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9033
+ onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9034
+ onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9035
+ onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9036
+ onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9037
+ onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9038
+ onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9039
+ onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
9040
+ onratechange: (this: GlobalEventHandlers, ev: Event) => any;
9041
+ onreset: (this: GlobalEventHandlers, ev: Event) => any;
9042
+ onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
9043
+ onscroll: (this: GlobalEventHandlers, ev: Event) => any;
9044
+ onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
9045
+ onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
9046
+ onseeked: (this: GlobalEventHandlers, ev: Event) => any;
9047
+ onseeking: (this: GlobalEventHandlers, ev: Event) => any;
9048
+ onselect: (this: GlobalEventHandlers, ev: Event) => any;
9049
+ onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
9050
+ onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
9051
+ onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
9052
+ onstalled: (this: GlobalEventHandlers, ev: Event) => any;
9053
+ onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
9054
+ onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
9055
+ ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
9056
+ ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
9057
+ ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
9058
+ ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
9059
+ ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
9060
+ ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
9061
+ ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
9062
+ ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
9063
+ ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
9064
+ ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
9065
+ onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
9066
+ onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
9067
+ onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
9068
+ onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
9069
+ onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
9070
+ onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
9071
+ onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
9072
+ autofocus: boolean;
9073
+ readonly dataset: DOMStringMap;
9074
+ tabIndex: number;
9075
+ blur(): void;
9076
+ focus(options?: FocusOptions): void;
9077
+ "__#39126@#logger": Logger;
9078
+ "__#39126@#wrapLogger"(logger: Partial<Logger>): Logger;
9079
+ get logger(): Logger;
9080
+ set logger(logger: Partial<Logger>);
9081
+ onLogEvent(logLevel: "error" | "warn" | "info" | "debug", data: any[]): void;
9082
+ };
9083
+ } & T;
9084
+
9085
+ type FlowInputConfig = {
9086
+ flowId: string;
9087
+ client?: Record<string, any>;
9088
+ form?: Record<string, any>;
9089
+ tenant?: string;
9090
+ outboundAppId?: string;
9091
+ };
9092
+ /**
9093
+ * Exposes a widget's caller-supplied flow inputs (`client.*` / `form.*`) and
9094
+ * builds the internal `<descope-wc>` flow template with the widget's shared
9095
+ * config, forwarding those inputs into the flow-start call - the same way they
9096
+ * flow for a directly-embedded `<Descope>` flow.
9097
+ *
9098
+ * `createFlowTemplate` (the method) wraps the `createFlowTemplate` helper so
9099
+ * every flow a widget runs gets the shared config + inputs from one place,
9100
+ * instead of each call site rebuilding the config. Composes `themeMixin` for
9101
+ * the resolved `theme` / `styleId`; the rest are plain attribute reads.
9102
+ */
9103
+ declare const flowInputMixin: <T extends CustomElementConstructor>(superclass: T) => {
9104
+ new (...params: any[]): {
9105
+ readonly clientInput: Record<string, any>;
9106
+ readonly formInput: string;
9107
+ "__#39144@#resolveForm"(form?: Record<string, any>): Record<string, any> | string | undefined;
9108
+ createFlowTemplate({ flowId, client, form, ...overrides }: FlowInputConfig): HTMLTemplateElement;
9109
+ "__#39142@#globalStyle": InjectedStyle;
9110
+ "__#39142@#tenantStyle": InjectedStyle;
9111
+ "__#39142@#customStyle": InjectedStyle;
9112
+ readonly theme: ThemeOptions;
9113
+ readonly styleId: string;
9114
+ readonly themeOverride: Record<string, any>;
9115
+ "__#39142@#getThemeOverrideString"(): string;
9116
+ "__#39142@#_themeResource": Promise<void | Record<string, any>>;
9117
+ "__#39142@#_tenantThemeResource": Promise<Record<string, any>>;
9118
+ "__#39142@#fetchTheme"(): Promise<Record<string, any>>;
9119
+ readonly "__#39142@#themeResource": Promise<void | Record<string, any>>;
9120
+ "__#39142@#loadGlobalStyle"(): Promise<void>;
9121
+ "__#39142@#fetchTenantTheme"(): Promise<Record<string, any>>;
9122
+ readonly "__#39142@#tenantThemeResource": Promise<Record<string, any>>;
9123
+ "__#39142@#loadTenantStyle"(): Promise<void>;
9124
+ "__#39142@#loadCustomStyle"(): Promise<void>;
9125
+ "__#39142@#loadComponentsStyle"(): Promise<void>;
9126
+ "__#39142@#getFontsConfig"(): Promise<Record<string, {
9127
+ url?: string;
9128
+ }>>;
9129
+ "__#39142@#loadFonts"(): Promise<void>;
9130
+ "__#39142@#applyTheme"(): Promise<void>;
9131
+ "__#39142@#onThemeChange": () => void;
9132
+ "__#39142@#loadTheme"(): void;
9133
+ "__#39142@#toggleOsThemeChangeListener": (listen: boolean) => void;
9134
+ init(): Promise<void>;
9135
+ injectStyle: ((cssString: string, { prepend }?: {
9136
+ prepend?: boolean;
9137
+ }) => {
9138
+ styleEle: HTMLStyleElement;
9139
+ ref: HTMLElement | ShadowRoot;
9140
+ replaceSync(cssString: string): void;
9141
+ readonly cssRules: CSSRuleList;
9142
+ } | CSSStyleSheet) & ((cssString: string, { prepend }?: {
9143
+ prepend?: boolean;
9144
+ }) => {
9145
+ styleEle: HTMLStyleElement;
9146
+ ref: HTMLElement | ShadowRoot;
9147
+ replaceSync(cssString: string): void;
9148
+ readonly cssRules: CSSRuleList;
9149
+ } | CSSStyleSheet);
9150
+ nonce: string;
9151
+ "__#39133@#setNonce": (() => void) & (() => void);
9152
+ "__#39128@#observeMappings": {} & {} & {} & {} & {} & {} & {} & {} & {} & {};
9153
+ 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);
9154
+ 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);
9155
+ "__#39127@#isInit": boolean;
9156
+ connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
9157
+ accessKey: string;
9158
+ readonly accessKeyLabel: string;
9159
+ autocapitalize: string;
9160
+ dir: string;
9161
+ draggable: boolean;
9162
+ hidden: boolean;
9163
+ inert: boolean;
9164
+ innerText: string;
9165
+ lang: string;
9166
+ readonly offsetHeight: number;
9167
+ readonly offsetLeft: number;
9168
+ readonly offsetParent: Element;
9169
+ readonly offsetTop: number;
9170
+ readonly offsetWidth: number;
9171
+ outerText: string;
9172
+ popover: string;
9173
+ spellcheck: boolean;
9174
+ title: string;
9175
+ translate: boolean;
9176
+ attachInternals(): ElementInternals;
9177
+ click(): void;
9178
+ hidePopover(): void;
9179
+ showPopover(): void;
9180
+ togglePopover(force?: boolean): boolean;
9181
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9182
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9183
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
9184
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
9185
+ attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
9186
+ readonly attributes: NamedNodeMap;
9187
+ readonly classList: DOMTokenList;
9188
+ className: string;
9189
+ readonly clientHeight: number;
9190
+ readonly clientLeft: number;
9191
+ readonly clientTop: number;
9192
+ readonly clientWidth: number;
9193
+ id: string;
9194
+ readonly localName: string;
9195
+ readonly namespaceURI: string;
9196
+ onfullscreenchange: (this: Element, ev: Event) => any;
9197
+ onfullscreenerror: (this: Element, ev: Event) => any;
9198
+ outerHTML: string;
9199
+ readonly ownerDocument: Document;
9200
+ readonly part: DOMTokenList;
9201
+ readonly prefix: string;
9202
+ readonly scrollHeight: number;
9203
+ scrollLeft: number;
9204
+ scrollTop: number;
9205
+ readonly scrollWidth: number;
9206
+ readonly shadowRoot: ShadowRoot;
9207
+ slot: string;
9208
+ readonly tagName: string;
9209
+ attachShadow(init: ShadowRootInit): ShadowRoot;
9210
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
9211
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
9212
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
9213
+ closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
9214
+ closest<E extends Element = Element>(selectors: string): E;
9215
+ computedStyleMap(): StylePropertyMapReadOnly;
9216
+ getAttribute(qualifiedName: string): string;
9217
+ getAttributeNS(namespace: string, localName: string): string;
9218
+ getAttributeNames(): string[];
9219
+ getAttributeNode(qualifiedName: string): Attr;
9220
+ getAttributeNodeNS(namespace: string, localName: string): Attr;
9221
+ getBoundingClientRect(): DOMRect;
9222
+ getClientRects(): DOMRectList;
9223
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
9224
+ getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
9225
+ getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
9226
+ getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
9227
+ getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
9228
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
9229
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
9230
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
9231
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
9232
+ getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
9233
+ hasAttribute(qualifiedName: string): boolean;
9234
+ hasAttributeNS(namespace: string, localName: string): boolean;
9235
+ hasAttributes(): boolean;
9236
+ hasPointerCapture(pointerId: number): boolean;
9237
+ insertAdjacentElement(where: InsertPosition, element: Element): Element;
9238
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
9239
+ insertAdjacentText(where: InsertPosition, data: string): void;
9240
+ matches(selectors: string): boolean;
9241
+ releasePointerCapture(pointerId: number): void;
9242
+ removeAttribute(qualifiedName: string): void;
9243
+ removeAttributeNS(namespace: string, localName: string): void;
9244
+ removeAttributeNode(attr: Attr): Attr;
9245
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
9246
+ requestPointerLock(): void;
9247
+ scroll(options?: ScrollToOptions): void;
9248
+ scroll(x: number, y: number): void;
9249
+ scrollBy(options?: ScrollToOptions): void;
9250
+ scrollBy(x: number, y: number): void;
9251
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
9252
+ scrollTo(options?: ScrollToOptions): void;
9253
+ scrollTo(x: number, y: number): void;
9254
+ setAttribute(qualifiedName: string, value: string): void;
9255
+ setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
9256
+ setAttributeNode(attr: Attr): Attr;
9257
+ setAttributeNodeNS(attr: Attr): Attr;
9258
+ setPointerCapture(pointerId: number): void;
9259
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
9260
+ webkitMatchesSelector(selectors: string): boolean;
9261
+ readonly baseURI: string;
9262
+ readonly childNodes: NodeListOf<ChildNode>;
9263
+ readonly firstChild: ChildNode;
9264
+ readonly isConnected: boolean;
9265
+ readonly lastChild: ChildNode;
9266
+ readonly nextSibling: ChildNode;
9267
+ readonly nodeName: string;
9268
+ readonly nodeType: number;
9269
+ nodeValue: string;
9270
+ readonly parentElement: HTMLElement;
9271
+ readonly parentNode: ParentNode;
9272
+ readonly previousSibling: ChildNode;
9273
+ textContent: string;
9274
+ appendChild<T_1 extends Node>(node: T_1): T_1;
9275
+ cloneNode(deep?: boolean): Node;
9276
+ compareDocumentPosition(other: Node): number;
9277
+ contains(other: Node): boolean;
9278
+ getRootNode(options?: GetRootNodeOptions): Node;
9279
+ hasChildNodes(): boolean;
9280
+ insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
9281
+ isDefaultNamespace(namespace: string): boolean;
9282
+ isEqualNode(otherNode: Node): boolean;
9283
+ isSameNode(otherNode: Node): boolean;
9284
+ lookupNamespaceURI(prefix: string): string;
9285
+ lookupPrefix(namespace: string): string;
9286
+ normalize(): void;
9287
+ removeChild<T_3 extends Node>(child: T_3): T_3;
9288
+ replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
9289
+ readonly ELEMENT_NODE: 1;
9290
+ readonly ATTRIBUTE_NODE: 2;
9291
+ readonly TEXT_NODE: 3;
9292
+ readonly CDATA_SECTION_NODE: 4;
9293
+ readonly ENTITY_REFERENCE_NODE: 5;
9294
+ readonly ENTITY_NODE: 6;
9295
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
9296
+ readonly COMMENT_NODE: 8;
9297
+ readonly DOCUMENT_NODE: 9;
9298
+ readonly DOCUMENT_TYPE_NODE: 10;
9299
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
9300
+ readonly NOTATION_NODE: 12;
9301
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
9302
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
9303
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
9304
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
9305
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
9306
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
9307
+ dispatchEvent(event: Event): boolean;
9308
+ ariaAtomic: string;
9309
+ ariaAutoComplete: string;
9310
+ ariaBusy: string;
9311
+ ariaChecked: string;
9312
+ ariaColCount: string;
9313
+ ariaColIndex: string;
9314
+ ariaColSpan: string;
9315
+ ariaCurrent: string;
9316
+ ariaDescription: string;
9317
+ ariaDisabled: string;
9318
+ ariaExpanded: string;
9319
+ ariaHasPopup: string;
9320
+ ariaHidden: string;
9321
+ ariaInvalid: string;
9322
+ ariaKeyShortcuts: string;
9323
+ ariaLabel: string;
9324
+ ariaLevel: string;
9325
+ ariaLive: string;
9326
+ ariaModal: string;
9327
+ ariaMultiLine: string;
9328
+ ariaMultiSelectable: string;
9329
+ ariaOrientation: string;
9330
+ ariaPlaceholder: string;
9331
+ ariaPosInSet: string;
9332
+ ariaPressed: string;
9333
+ ariaReadOnly: string;
9334
+ ariaRequired: string;
9335
+ ariaRoleDescription: string;
9336
+ ariaRowCount: string;
9337
+ ariaRowIndex: string;
9338
+ ariaRowSpan: string;
9339
+ ariaSelected: string;
9340
+ ariaSetSize: string;
9341
+ ariaSort: string;
9342
+ ariaValueMax: string;
9343
+ ariaValueMin: string;
9344
+ ariaValueNow: string;
9345
+ ariaValueText: string;
9346
+ role: string;
9347
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
9348
+ getAnimations(options?: GetAnimationsOptions): Animation[];
9349
+ after(...nodes: (string | Node)[]): void;
9350
+ before(...nodes: (string | Node)[]): void;
9351
+ remove(): void;
9352
+ replaceWith(...nodes: (string | Node)[]): void;
9353
+ innerHTML: string;
9354
+ readonly nextElementSibling: Element;
9355
+ readonly previousElementSibling: Element;
9356
+ readonly childElementCount: number;
9357
+ readonly children: HTMLCollection;
9358
+ readonly firstElementChild: Element;
9359
+ readonly lastElementChild: Element;
9360
+ append(...nodes: (string | Node)[]): void;
9361
+ prepend(...nodes: (string | Node)[]): void;
9362
+ querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
9363
+ querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
9364
+ querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
9365
+ querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
9366
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1;
9367
+ querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
9368
+ querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
9369
+ querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
9370
+ querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
9371
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
9372
+ replaceChildren(...nodes: (string | Node)[]): void;
9373
+ readonly assignedSlot: HTMLSlotElement;
9374
+ readonly attributeStyleMap: StylePropertyMap;
9375
+ readonly style: CSSStyleDeclaration;
9376
+ contentEditable: string;
9377
+ enterKeyHint: string;
9378
+ inputMode: string;
9379
+ readonly isContentEditable: boolean;
9380
+ onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
9381
+ onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
9382
+ onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
9383
+ onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
9384
+ onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
9385
+ onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9386
+ onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
9387
+ onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
9388
+ onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
9389
+ oncancel: (this: GlobalEventHandlers, ev: Event) => any;
9390
+ oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
9391
+ oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
9392
+ onchange: (this: GlobalEventHandlers, ev: Event) => any;
9393
+ onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9394
+ onclose: (this: GlobalEventHandlers, ev: Event) => any;
9395
+ oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9396
+ oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
9397
+ oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
9398
+ oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
9399
+ ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9400
+ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
9401
+ ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
9402
+ ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
9403
+ ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
9404
+ ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
9405
+ ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
9406
+ ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
9407
+ ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
9408
+ onemptied: (this: GlobalEventHandlers, ev: Event) => any;
9409
+ onended: (this: GlobalEventHandlers, ev: Event) => any;
9410
+ onerror: OnErrorEventHandlerNonNull;
9411
+ onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
9412
+ onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
9413
+ ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9414
+ oninput: (this: GlobalEventHandlers, ev: Event) => any;
9415
+ oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
9416
+ onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
9417
+ onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
9418
+ onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
9419
+ onload: (this: GlobalEventHandlers, ev: Event) => any;
9420
+ onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
9421
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
9422
+ onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
9423
+ onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9424
+ onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9425
+ onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9426
+ onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9427
+ onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9428
+ onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9429
+ onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9430
+ onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
9431
+ onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
9432
+ onpause: (this: GlobalEventHandlers, ev: Event) => any;
9433
+ onplay: (this: GlobalEventHandlers, ev: Event) => any;
9434
+ onplaying: (this: GlobalEventHandlers, ev: Event) => any;
9435
+ onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9436
+ onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9437
+ onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9438
+ onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9439
+ onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9440
+ onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9441
+ onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9442
+ onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
9443
+ onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
9444
+ onratechange: (this: GlobalEventHandlers, ev: Event) => any;
9445
+ onreset: (this: GlobalEventHandlers, ev: Event) => any;
9446
+ onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
9447
+ onscroll: (this: GlobalEventHandlers, ev: Event) => any;
9448
+ onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
9449
+ onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
9450
+ onseeked: (this: GlobalEventHandlers, ev: Event) => any;
9451
+ onseeking: (this: GlobalEventHandlers, ev: Event) => any;
9452
+ onselect: (this: GlobalEventHandlers, ev: Event) => any;
9453
+ onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
9454
+ onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
9455
+ onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
9456
+ onstalled: (this: GlobalEventHandlers, ev: Event) => any;
9457
+ onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
9458
+ onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
9459
+ ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
9460
+ ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
9461
+ ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
9462
+ ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
9463
+ ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
9464
+ ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
9465
+ ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
9466
+ ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
9467
+ ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
9468
+ ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
9469
+ onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
9470
+ onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
9471
+ onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
9472
+ onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
9473
+ onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
9474
+ onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
9475
+ onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
9476
+ autofocus: boolean;
9477
+ readonly dataset: DOMStringMap;
9478
+ tabIndex: number;
9479
+ blur(): void;
9480
+ focus(options?: FocusOptions): void;
9481
+ "__#39126@#logger": Logger;
9482
+ "__#39126@#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) & ((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);
9483
+ get logger(): Logger;
9484
+ set logger(logger: Partial<Logger>);
9485
+ 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) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void) & ((logLevel: "error" | "warn" | "info" | "debug", data: any[]) => void);
9486
+ contentRootElement: HTMLElement;
9487
+ rootElement: HTMLElement;
9488
+ readonly config: Promise<Config>;
9489
+ "__#39132@#configCacheClear": (() => void) & (() => void);
9490
+ "__#39132@#_configResource": Promise<Config>;
9491
+ "__#39132@#fetchConfig": (() => Promise<Config>) & (() => Promise<Config>);
9492
+ "__#39131@#callbacks": Map<string, () => void> & Map<string, () => void>;
9493
+ onReset: ((sectionId: string, callback: () => void | Promise<void>) => () => void) & ((sectionId: string, callback: () => void | Promise<void>) => () => void);
9494
+ reset: ((...sectionIds: string[]) => Promise<void>) & ((...sectionIds: string[]) => Promise<void>);
9495
+ "__#39129@#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);
9496
+ "__#39130@#lastBaseUrl"?: string;
9497
+ "__#39130@#workingBaseUrl"?: string;
9498
+ "__#39130@#failedUrls": Set<string>;
9499
+ "__#39130@#getResourceUrls": ((filename: string) => (URL & {
9500
+ baseUrl: string;
9501
+ }) | (URL & {
9502
+ baseUrl: string;
9503
+ })[]) & ((filename: string) => (URL & {
9504
+ baseUrl: string;
9505
+ }) | (URL & {
9506
+ baseUrl: string;
9507
+ })[]) & ((filename: string) => (URL & {
9508
+ baseUrl: string;
9509
+ }) | (URL & {
9510
+ baseUrl: string;
9511
+ })[]);
9512
+ "__#39130@#createResourceUrl": ((filename: string, baseUrl: string) => URL & {
9513
+ baseUrl: string;
9514
+ }) & ((filename: string, baseUrl: string) => URL & {
9515
+ baseUrl: string;
9516
+ }) & ((filename: string, baseUrl: string) => URL & {
9517
+ baseUrl: string;
9518
+ });
9519
+ fetchStaticResource: (<F extends "text" | "json">(filename: string, format: F) => Promise<{
9520
+ body: F extends "json" ? Record<string, any> : string;
9521
+ headers: Record<string, string>;
9522
+ }>) & (<F_1 extends "text" | "json">(filename: string, format: F_1) => Promise<{
9523
+ body: F_1 extends "json" ? Record<string, any> : string;
9524
+ headers: Record<string, string>;
9525
+ }>) & (<F_2 extends "text" | "json">(filename: string, format: F_2) => Promise<{
9526
+ body: F_2 extends "json" ? Record<string, any> : string;
9527
+ headers: Record<string, string>;
9528
+ }>);
9529
+ readonly baseStaticUrl: string;
9530
+ readonly baseUrl: string;
9531
+ readonly projectId: string;
9532
+ "__#39136@#getComponentsVersion"(): Promise<string>;
9533
+ "__#39136@#getComponentsVersionSri"(): Promise<string>;
9534
+ "__#39136@#descopeUi": Promise<any>;
9535
+ readonly descopeUi: Promise<any>;
9536
+ "__#39136@#loadDescopeUiComponent"(componentName: string): Promise<any>;
9537
+ "__#39136@#getDescopeUi"(): Promise<any>;
9538
+ loadDescopeUiComponents(templateOrComponentNames: HTMLTemplateElement | string[]): Promise<any[]>;
9539
+ readonly baseCdnUrl: string;
9540
+ injectNpmLib(libName: string, version: string, filePath?: string, overrides?: string[], integrity?: string): Promise<ScriptData>;
9541
+ readonly tenantId: string;
8341
9542
  };
8342
9543
  } & T;
8343
9544
 
@@ -8348,4 +9549,4 @@ declare global {
8348
9549
  }
8349
9550
  }
8350
9551
 
8351
- export { type CheckValueFn, type ClientCondition, type ClientConditionResult, type ClientScript, type ComponentsConfig, type ComponentsDynamicAttrs, type Config, DEFAULT_STYLE_ID, type FlowConfig, type InjectedStyle, type LogLevel, type Logger, type ProjectConfiguration, type ThemeOptions, type WidgetConfig, baseUrlMixin, configMixin, cookieConfigMixin, createStateManagementMixin, createValidateAttributesMixin, cspNonceMixin, debuggerMixin, descopeUiMixin, formMixin, getResourceUrl, initElementMixin, initLifecycleMixin, injectNpmLibMixin, injectStyleMixin, loggerMixin, modalMixin, notificationsMixin, observeAttributesMixin, projectIdMixin, staticResourcesMixin, tenantIdMixin, themeMixin, widgetConfigMixin, widgetIdMixin };
9552
+ export { type CheckValueFn, type ClientCondition, type ClientConditionResult, type ClientScript, type ComponentsConfig, type ComponentsDynamicAttrs, type Config, DEFAULT_STYLE_ID, type FlowConfig, type InjectedStyle, type LogLevel, type Logger, type ProjectConfiguration, type ThemeOptions, type WidgetConfig, baseUrlMixin, configMixin, cookieConfigMixin, createFetchWidgetPagesMixin, createStateManagementMixin, createValidateAttributesMixin, cspNonceMixin, debuggerMixin, descopeUiMixin, flowInputMixin, formMixin, getResourceUrl, initElementMixin, initLifecycleMixin, injectNpmLibMixin, injectStyleMixin, localeMixin, loggerMixin, modalMixin, notificationsMixin, observeAttributesMixin, projectIdMixin, staticResourcesMixin, tenantIdMixin, themeMixin, widgetConfigMixin, widgetIdMixin };