@descope/access-key-management-widget 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -91,7 +91,7 @@ declare const AccessKeyManagementWidget: {
91
91
  close(): void;
92
92
  show(): void;
93
93
  remove(): void;
94
- "__#11868@#private": any;
94
+ "__#11874@#private": any;
95
95
  logger: {
96
96
  error(...data: any[]): void;
97
97
  warn(...data: any[]): void;
@@ -105,7 +105,7 @@ declare const AccessKeyManagementWidget: {
105
105
  type: "success" | "error";
106
106
  msg: string;
107
107
  }[]) => void;
108
- "__#11861@#isInit": boolean;
108
+ "__#11867@#isInit": boolean;
109
109
  connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & {
110
110
  (): void;
111
111
  (): void;
@@ -932,7 +932,7 @@ declare const AccessKeyManagementWidget: {
932
932
  tabIndex: number;
933
933
  blur: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
934
934
  focus: ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void) & ((options?: FocusOptions) => void);
935
- "__#11871@#NotificationDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
935
+ "__#11877@#NotificationDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
936
936
  logger: {
937
937
  error(...data: any[]): void;
938
938
  warn(...data: any[]): void;
@@ -945,7 +945,7 @@ declare const AccessKeyManagementWidget: {
945
945
  close(): void;
946
946
  show(): void;
947
947
  remove(): void;
948
- "__#11868@#private": any;
948
+ "__#11874@#private": any;
949
949
  logger: {
950
950
  error(...data: any[]): void;
951
951
  warn(...data: any[]): void;
@@ -970,7 +970,7 @@ declare const AccessKeyManagementWidget: {
970
970
  close(): void;
971
971
  show(): void;
972
972
  remove(): void;
973
- "__#11868@#private": any;
973
+ "__#11874@#private": any;
974
974
  logger: {
975
975
  error(...data: any[]): void;
976
976
  warn(...data: any[]): void;
@@ -980,21 +980,21 @@ declare const AccessKeyManagementWidget: {
980
980
  readonly asyncEle: Promise<Element>;
981
981
  readonly ele: Element;
982
982
  };
983
- "__#11867@#errorCbsSym": symbol;
984
- "__#11867@#loadCbsSym": symbol;
985
- "__#11867@#getComponentsVersion": (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>);
986
- "__#11867@#exposeAlternateEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
987
- "__#11867@#handleFallbackScript": ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]) => Promise<void>) & ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]) => Promise<void>) & ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]) => Promise<void>) & ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]) => Promise<void>);
988
- "__#11867@#registerEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
989
- "__#11867@#getDescopeUiLoadingScript": (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>);
990
- "__#11867@#descopeUi": Promise<any>;
983
+ "__#11873@#errorCbsSym": symbol;
984
+ "__#11873@#loadCbsSym": symbol;
985
+ "__#11873@#getComponentsVersion": (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>);
986
+ "__#11873@#exposeAlternateEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
987
+ "__#11873@#handleFallbackScript": ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]) => Promise<void>) & ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]) => Promise<void>) & ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]) => Promise<void>) & ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[]) => Promise<void>);
988
+ "__#11873@#registerEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
989
+ "__#11873@#getDescopeUiLoadingScript": (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>);
990
+ "__#11873@#descopeUi": Promise<any>;
991
991
  readonly descopeUi: Promise<any>;
992
- "__#11867@#loadDescopeUiComponent": ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>);
992
+ "__#11873@#loadDescopeUiComponent": ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>);
993
993
  loadDescopeUiComponents: ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>) & ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>) & ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>) & ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>);
994
- "__#11867@#getDescopeUi": (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>);
994
+ "__#11873@#getDescopeUi": (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>);
995
995
  readonly config: any;
996
- "__#11864@#_configResource": any;
997
- "__#11864@#fetchConfig": (() => Promise<{
996
+ "__#11870@#_configResource": any;
997
+ "__#11870@#fetchConfig": (() => Promise<{
998
998
  projectConfig: _descope_sdk_mixins.ProjectConfiguration;
999
999
  executionContext: {
1000
1000
  geo: string;
@@ -1043,17 +1043,17 @@ declare const AccessKeyManagementWidget: {
1043
1043
  headers: Record<string, string>;
1044
1044
  }>);
1045
1045
  readonly projectId: string;
1046
- "__#11863@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
1047
- "__#11862@#observeMappings": {};
1046
+ "__#11869@#handleError": ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void) & ((attrName: string, newValue: string) => void);
1047
+ "__#11868@#observeMappings": {};
1048
1048
  observeAttribute: ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any);
1049
1049
  observeAttributes: ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void);
1050
- "__#11860@#logger": {
1050
+ "__#11866@#logger": {
1051
1051
  error(...data: any[]): void;
1052
1052
  warn(...data: any[]): void;
1053
1053
  info(...data: any[]): void;
1054
1054
  debug(...data: any[]): void;
1055
1055
  };
1056
- "__#11860@#wrapLogger": ((logger: Partial<{
1056
+ "__#11866@#wrapLogger": ((logger: Partial<{
1057
1057
  error(...data: any[]): void;
1058
1058
  warn(...data: any[]): void;
1059
1059
  info(...data: any[]): void;
@@ -7836,14 +7836,14 @@ declare const AccessKeyManagementWidget: {
7836
7836
  }) => SelectorR) => redux.Unsubscribe;
7837
7837
  deactivateButton: _descope_sdk_component_drivers.ButtonDriver;
7838
7838
  "__#13@#initDeactivateButton"(): void;
7839
- "__#13@#onIsAccessKeySelectedUpdate": (isEditable: boolean) => void;
7839
+ "__#13@#onIsAccessKeySelectedUpdate": (canModify: boolean) => void;
7840
7840
  onWidgetRootReady: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
7841
7841
  deactivateAccessKeysModal: _descope_sdk_component_drivers.ModalDriver;
7842
7842
  "__#12@#initDeactivateAccessKeyModal"(): Promise<void>;
7843
7843
  "__#5@#initWidgetRoot": (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
7844
7844
  readonly widgetId: string;
7845
7845
  fetchWidgetPage: ((filename: string) => Promise<string>) & ((filename: string) => Promise<string>) & ((filename: string) => Promise<string>) & ((filename: string) => Promise<string>) & ((filename: string) => Promise<string>) & ((filename: string) => Promise<string>) & ((filename: string) => Promise<string>) & ((filename: string) => Promise<string>) & ((filename: string) => Promise<string>) & ((filename: string) => Promise<string>) & ((filename: string) => Promise<string>);
7846
- "__#11870@#ModalDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
7846
+ "__#11876@#ModalDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
7847
7847
  logger: {
7848
7848
  error(...data: any[]): void;
7849
7849
  warn(...data: any[]): void;
@@ -7852,7 +7852,7 @@ declare const AccessKeyManagementWidget: {
7852
7852
  };
7853
7853
  }) => {
7854
7854
  setContent(template: HTMLTemplateElement): void;
7855
- "__#11869@#private": any;
7855
+ "__#11875@#private": any;
7856
7856
  beforeOpen: () => void | Promise<void>;
7857
7857
  afterClose: () => void;
7858
7858
  nodeName: string;
@@ -7860,7 +7860,7 @@ declare const AccessKeyManagementWidget: {
7860
7860
  open(): Promise<void>;
7861
7861
  reset(): void;
7862
7862
  remove(): void;
7863
- "__#11868@#private": any;
7863
+ "__#11874@#private": any;
7864
7864
  logger: {
7865
7865
  error(...data: any[]): void;
7866
7866
  warn(...data: any[]): void;
@@ -7873,7 +7873,7 @@ declare const AccessKeyManagementWidget: {
7873
7873
  createModal(config?: Record<string, string>): _descope_sdk_component_drivers.ModalDriver;
7874
7874
  activateButton: _descope_sdk_component_drivers.ButtonDriver;
7875
7875
  "__#8@#initActivateButton"(): void;
7876
- "__#8@#onIsAccessKeySelectedUpdate": (isEditable: boolean) => void;
7876
+ "__#8@#onIsAccessKeySelectedUpdate": (canModify: boolean) => void;
7877
7877
  activateAccessKeysModal: _descope_sdk_component_drivers.ModalDriver;
7878
7878
  "__#7@#initActivateAccessKeyModal"(): Promise<void>;
7879
7879
  searchInput: _descope_sdk_component_drivers.TextFieldDriver;
@@ -7881,7 +7881,7 @@ declare const AccessKeyManagementWidget: {
7881
7881
  "__#16@#initSearchInput"(): void;
7882
7882
  deleteButton: _descope_sdk_component_drivers.ButtonDriver;
7883
7883
  "__#15@#initDeleteButton"(): void;
7884
- "__#15@#onIsAccessKeySelectedUpdate": (isEditable: boolean) => void;
7884
+ "__#15@#onIsAccessKeySelectedUpdate": (canModify: boolean) => void;
7885
7885
  deleteAccessKeysModal: _descope_sdk_component_drivers.ModalDriver;
7886
7886
  "__#14@#initDeleteAccessKeyModal"(): Promise<void>;
7887
7887
  createButton: _descope_sdk_component_drivers.ButtonDriver;
@@ -7916,14 +7916,14 @@ declare const AccessKeyManagementWidget: {
7916
7916
  }[]) => void;
7917
7917
  "__#6@#onColumnSortChange": (this: any, ...args: any[]) => void;
7918
7918
  readonly theme: _descope_sdk_mixins.ThemeOptions;
7919
- "__#11872@#_themeResource": Promise<void | Record<string, any>>;
7920
- "__#11872@#fetchTheme"(): Promise<Record<string, any>>;
7921
- readonly "__#11872@#themeResource": Promise<void | Record<string, any>>;
7922
- "__#11872@#loadGlobalStyle"(): Promise<void>;
7923
- "__#11872@#loadComponentsStyle"(): Promise<void>;
7924
- "__#11872@#loadFonts"(): Promise<void>;
7925
- "__#11872@#applyTheme"(): Promise<void>;
7926
- "__#11866@#debuggerEle": HTMLElement & {
7919
+ "__#11878@#_themeResource": Promise<void | Record<string, any>>;
7920
+ "__#11878@#fetchTheme"(): Promise<Record<string, any>>;
7921
+ readonly "__#11878@#themeResource": Promise<void | Record<string, any>>;
7922
+ "__#11878@#loadGlobalStyle"(): Promise<void>;
7923
+ "__#11878@#loadComponentsStyle"(): Promise<void>;
7924
+ "__#11878@#loadFonts"(): Promise<void>;
7925
+ "__#11878@#applyTheme"(): Promise<void>;
7926
+ "__#11872@#debuggerEle": HTMLElement & {
7927
7927
  updateData: (data: {
7928
7928
  title: string;
7929
7929
  description?: string;
@@ -7932,11 +7932,11 @@ declare const AccessKeyManagementWidget: {
7932
7932
  description?: string;
7933
7933
  }[]) => void;
7934
7934
  };
7935
- "__#11866@#disableDebugger"(): void;
7936
- "__#11866@#enableDebugger"(): Promise<void>;
7935
+ "__#11872@#disableDebugger"(): void;
7936
+ "__#11872@#enableDebugger"(): Promise<void>;
7937
7937
  readonly debug: boolean;
7938
- "__#11866@#handleDebugMode"(): void;
7939
- "__#11866@#updateDebuggerMessages"(title: string, description: string): void;
7938
+ "__#11872@#handleDebugMode"(): void;
7939
+ "__#11872@#updateDebuggerMessages"(title: string, description: string): void;
7940
7940
  };
7941
7941
  };
7942
7942