@descope/role-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
@@ -83,7 +83,7 @@ declare const RoleManagementWidget: {
83
83
  close(): void;
84
84
  show(): void;
85
85
  remove(): void;
86
- "__#11868@#private": any;
86
+ "__#11874@#private": any;
87
87
  logger: {
88
88
  error(...data: any[]): void;
89
89
  warn(...data: any[]): void;
@@ -97,7 +97,7 @@ declare const RoleManagementWidget: {
97
97
  type: "success" | "error";
98
98
  msg: string;
99
99
  }[]) => void;
100
- "__#11861@#isInit": boolean;
100
+ "__#11867@#isInit": boolean;
101
101
  connectedCallback: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
102
102
  accessKey: string;
103
103
  readonly accessKeyLabel: string;
@@ -918,7 +918,7 @@ declare const RoleManagementWidget: {
918
918
  tabIndex: number;
919
919
  blur: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
920
920
  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);
921
- "__#11871@#NotificationDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
921
+ "__#11877@#NotificationDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
922
922
  logger: {
923
923
  error(...data: any[]): void;
924
924
  warn(...data: any[]): void;
@@ -931,7 +931,7 @@ declare const RoleManagementWidget: {
931
931
  close(): void;
932
932
  show(): void;
933
933
  remove(): void;
934
- "__#11868@#private": any;
934
+ "__#11874@#private": any;
935
935
  logger: {
936
936
  error(...data: any[]): void;
937
937
  warn(...data: any[]): void;
@@ -956,7 +956,7 @@ declare const RoleManagementWidget: {
956
956
  close(): void;
957
957
  show(): void;
958
958
  remove(): void;
959
- "__#11868@#private": any;
959
+ "__#11874@#private": any;
960
960
  logger: {
961
961
  error(...data: any[]): void;
962
962
  warn(...data: any[]): void;
@@ -966,21 +966,21 @@ declare const RoleManagementWidget: {
966
966
  readonly asyncEle: Promise<Element>;
967
967
  readonly ele: Element;
968
968
  };
969
- "__#11867@#errorCbsSym": symbol;
970
- "__#11867@#loadCbsSym": symbol;
971
- "__#11867@#getComponentsVersion": (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>);
972
- "__#11867@#exposeAlternateEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
973
- "__#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>);
974
- "__#11867@#registerEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
975
- "__#11867@#getDescopeUiLoadingScript": (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>);
976
- "__#11867@#descopeUi": Promise<any>;
969
+ "__#11873@#errorCbsSym": symbol;
970
+ "__#11873@#loadCbsSym": symbol;
971
+ "__#11873@#getComponentsVersion": (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>);
972
+ "__#11873@#exposeAlternateEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
973
+ "__#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>);
974
+ "__#11873@#registerEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
975
+ "__#11873@#getDescopeUiLoadingScript": (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>);
976
+ "__#11873@#descopeUi": Promise<any>;
977
977
  readonly descopeUi: Promise<any>;
978
- "__#11867@#loadDescopeUiComponent": ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>);
978
+ "__#11873@#loadDescopeUiComponent": ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>);
979
979
  loadDescopeUiComponents: ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>) & ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>) & ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>) & ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>);
980
- "__#11867@#getDescopeUi": (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>);
980
+ "__#11873@#getDescopeUi": (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>);
981
981
  readonly config: any;
982
- "__#11864@#_configResource": any;
983
- "__#11864@#fetchConfig": (() => Promise<{
982
+ "__#11870@#_configResource": any;
983
+ "__#11870@#fetchConfig": (() => Promise<{
984
984
  projectConfig: _descope_sdk_mixins.ProjectConfiguration;
985
985
  executionContext: {
986
986
  geo: string;
@@ -1029,17 +1029,17 @@ declare const RoleManagementWidget: {
1029
1029
  headers: Record<string, string>;
1030
1030
  }>);
1031
1031
  readonly projectId: string;
1032
- "__#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);
1033
- "__#11862@#observeMappings": {};
1032
+ "__#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);
1033
+ "__#11868@#observeMappings": {};
1034
1034
  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);
1035
1035
  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);
1036
- "__#11860@#logger": {
1036
+ "__#11866@#logger": {
1037
1037
  error(...data: any[]): void;
1038
1038
  warn(...data: any[]): void;
1039
1039
  info(...data: any[]): void;
1040
1040
  debug(...data: any[]): void;
1041
1041
  };
1042
- "__#11860@#wrapLogger": ((logger: Partial<{
1042
+ "__#11866@#wrapLogger": ((logger: Partial<{
1043
1043
  error(...data: any[]): void;
1044
1044
  warn(...data: any[]): void;
1045
1045
  info(...data: any[]): void;
@@ -4918,7 +4918,7 @@ declare const RoleManagementWidget: {
4918
4918
  "__#10@#updatePermissionsMultiSelect": () => Promise<void>;
4919
4919
  "__#10@#updateModalData": () => void;
4920
4920
  "__#10@#initEditRoleModal"(): Promise<void>;
4921
- "__#11870@#ModalDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
4921
+ "__#11876@#ModalDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
4922
4922
  logger: {
4923
4923
  error(...data: any[]): void;
4924
4924
  warn(...data: any[]): void;
@@ -4927,7 +4927,7 @@ declare const RoleManagementWidget: {
4927
4927
  };
4928
4928
  }) => {
4929
4929
  setContent(template: HTMLTemplateElement): void;
4930
- "__#11869@#private": any;
4930
+ "__#11875@#private": any;
4931
4931
  beforeOpen: () => void | Promise<void>;
4932
4932
  afterClose: () => void;
4933
4933
  nodeName: string;
@@ -4935,7 +4935,7 @@ declare const RoleManagementWidget: {
4935
4935
  open(): Promise<void>;
4936
4936
  reset(): void;
4937
4937
  remove(): void;
4938
- "__#11868@#private": any;
4938
+ "__#11874@#private": any;
4939
4939
  logger: {
4940
4940
  error(...data: any[]): void;
4941
4941
  warn(...data: any[]): void;
@@ -4969,14 +4969,14 @@ declare const RoleManagementWidget: {
4969
4969
  }[]) => void;
4970
4970
  "__#14@#onColumnSortChange": (this: any, ...args: any[]) => void;
4971
4971
  readonly theme: _descope_sdk_mixins.ThemeOptions;
4972
- "__#11872@#_themeResource": Promise<void | Record<string, any>>;
4973
- "__#11872@#fetchTheme"(): Promise<Record<string, any>>;
4974
- readonly "__#11872@#themeResource": Promise<void | Record<string, any>>;
4975
- "__#11872@#loadGlobalStyle"(): Promise<void>;
4976
- "__#11872@#loadComponentsStyle"(): Promise<void>;
4977
- "__#11872@#loadFonts"(): Promise<void>;
4978
- "__#11872@#applyTheme"(): Promise<void>;
4979
- "__#11866@#debuggerEle": HTMLElement & {
4972
+ "__#11878@#_themeResource": Promise<void | Record<string, any>>;
4973
+ "__#11878@#fetchTheme"(): Promise<Record<string, any>>;
4974
+ readonly "__#11878@#themeResource": Promise<void | Record<string, any>>;
4975
+ "__#11878@#loadGlobalStyle"(): Promise<void>;
4976
+ "__#11878@#loadComponentsStyle"(): Promise<void>;
4977
+ "__#11878@#loadFonts"(): Promise<void>;
4978
+ "__#11878@#applyTheme"(): Promise<void>;
4979
+ "__#11872@#debuggerEle": HTMLElement & {
4980
4980
  updateData: (data: {
4981
4981
  title: string;
4982
4982
  description?: string;
@@ -4985,11 +4985,11 @@ declare const RoleManagementWidget: {
4985
4985
  description?: string;
4986
4986
  }[]) => void;
4987
4987
  };
4988
- "__#11866@#disableDebugger"(): void;
4989
- "__#11866@#enableDebugger"(): Promise<void>;
4988
+ "__#11872@#disableDebugger"(): void;
4989
+ "__#11872@#enableDebugger"(): Promise<void>;
4990
4990
  readonly debug: boolean;
4991
- "__#11866@#handleDebugMode"(): void;
4992
- "__#11866@#updateDebuggerMessages"(title: string, description: string): void;
4991
+ "__#11872@#handleDebugMode"(): void;
4992
+ "__#11872@#updateDebuggerMessages"(title: string, description: string): void;
4993
4993
  };
4994
4994
  };
4995
4995