@descope/role-management-widget 0.1.125 → 0.2.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.
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
- "__#12332@#private": any;
86
+ "__#12338@#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
- "__#12325@#isInit": boolean;
100
+ "__#12331@#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) & (() => void) & (() => void);
102
102
  accessKey: string;
103
103
  readonly accessKeyLabel: string;
@@ -1089,7 +1089,7 @@ declare const RoleManagementWidget: {
1089
1089
  tabIndex: number;
1090
1090
  blur: (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void) & (() => void);
1091
1091
  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) & ((options?: FocusOptions) => void);
1092
- "__#12336@#NotificationDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
1092
+ "__#12342@#NotificationDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
1093
1093
  logger: {
1094
1094
  error(...data: any[]): void;
1095
1095
  warn(...data: any[]): void;
@@ -1102,7 +1102,7 @@ declare const RoleManagementWidget: {
1102
1102
  close(): void;
1103
1103
  show(): void;
1104
1104
  remove(): void;
1105
- "__#12332@#private": any;
1105
+ "__#12338@#private": any;
1106
1106
  logger: {
1107
1107
  error(...data: any[]): void;
1108
1108
  warn(...data: any[]): void;
@@ -1127,7 +1127,7 @@ declare const RoleManagementWidget: {
1127
1127
  close(): void;
1128
1128
  show(): void;
1129
1129
  remove(): void;
1130
- "__#12332@#private": any;
1130
+ "__#12338@#private": any;
1131
1131
  logger: {
1132
1132
  error(...data: any[]): void;
1133
1133
  warn(...data: any[]): void;
@@ -1137,21 +1137,21 @@ declare const RoleManagementWidget: {
1137
1137
  readonly asyncEle: Promise<Element>;
1138
1138
  readonly ele: Element;
1139
1139
  };
1140
- "__#12331@#errorCbsSym": symbol;
1141
- "__#12331@#loadCbsSym": symbol;
1142
- "__#12331@#getComponentsVersion": (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>);
1143
- "__#12331@#exposeAlternateEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
1144
- "__#12331@#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>);
1145
- "__#12331@#registerEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
1146
- "__#12331@#getDescopeUiLoadingScript": (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>);
1147
- "__#12331@#descopeUi": Promise<any>;
1140
+ "__#12337@#errorCbsSym": symbol;
1141
+ "__#12337@#loadCbsSym": symbol;
1142
+ "__#12337@#getComponentsVersion": (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>) & (() => Promise<any>);
1143
+ "__#12337@#exposeAlternateEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
1144
+ "__#12337@#handleFallbackScript": ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[], elemId: string, scriptUrl: string) => Promise<void>) & ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[], elemId: string, scriptUrl: string) => Promise<void>) & ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[], elemId: string, scriptUrl: string) => Promise<void>) & ((errorCbs: ((error: string) => void)[], loadCbs: (() => void)[], elemId: string, scriptUrl: string) => Promise<void>);
1145
+ "__#12337@#registerEvents": ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void) & ((scriptEle: HTMLScriptElement) => void);
1146
+ "__#12337@#getDescopeUiLoadingScript": (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>) & (() => Promise<HTMLElement>);
1147
+ "__#12337@#descopeUi": Promise<any>;
1148
1148
  readonly descopeUi: Promise<any>;
1149
- "__#12331@#loadDescopeUiComponent": ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>);
1149
+ "__#12337@#loadDescopeUiComponent": ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>) & ((componentName: string) => Promise<any>);
1150
1150
  loadDescopeUiComponents: ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>) & ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>) & ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>) & ((templateOrComponentNames: string[] | HTMLTemplateElement) => Promise<any[]>);
1151
- "__#12331@#getDescopeUi": (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>);
1151
+ "__#12337@#getDescopeUi": (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>) & (() => Promise<unknown>);
1152
1152
  readonly config: any;
1153
- "__#12328@#_configResource": any;
1154
- "__#12328@#fetchConfig": (() => Promise<{
1153
+ "__#12334@#_configResource": any;
1154
+ "__#12334@#fetchConfig": (() => Promise<{
1155
1155
  projectConfig: _descope_sdk_mixins.ProjectConfiguration;
1156
1156
  executionContext: {
1157
1157
  geo: string;
@@ -1202,17 +1202,17 @@ declare const RoleManagementWidget: {
1202
1202
  readonly baseStaticUrl: string;
1203
1203
  readonly baseUrl: string;
1204
1204
  readonly projectId: string;
1205
- "__#12327@#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);
1206
- "__#12326@#observeMappings": {};
1205
+ "__#12333@#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);
1206
+ "__#12332@#observeMappings": {};
1207
1207
  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) & ((attrName: string, onAttrChange: (attrName: string, value: string) => void) => () => any);
1208
1208
  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) & ((attrs: string[], cb: (attrName: string, value: string) => void) => () => void);
1209
- "__#12324@#logger": {
1209
+ "__#12330@#logger": {
1210
1210
  error(...data: any[]): void;
1211
1211
  warn(...data: any[]): void;
1212
1212
  info(...data: any[]): void;
1213
1213
  debug(...data: any[]): void;
1214
1214
  };
1215
- "__#12324@#wrapLogger": ((logger: Partial<{
1215
+ "__#12330@#wrapLogger": ((logger: Partial<{
1216
1216
  error(...data: any[]): void;
1217
1217
  warn(...data: any[]): void;
1218
1218
  info(...data: any[]): void;
@@ -5100,7 +5100,7 @@ declare const RoleManagementWidget: {
5100
5100
  "__#11@#updatePermissionsMultiSelect": () => Promise<void>;
5101
5101
  "__#11@#updateModalData": () => void;
5102
5102
  "__#11@#initEditRoleModal"(): Promise<void>;
5103
- "__#12335@#ModalDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
5103
+ "__#12341@#ModalDriverWrapper": new (refOrRefFn: Element | (() => HTMLElement), config: {
5104
5104
  logger: {
5105
5105
  error(...data: any[]): void;
5106
5106
  warn(...data: any[]): void;
@@ -5109,7 +5109,7 @@ declare const RoleManagementWidget: {
5109
5109
  };
5110
5110
  }) => {
5111
5111
  setContent(template: HTMLTemplateElement): void;
5112
- "__#12334@#private": any;
5112
+ "__#12340@#private": any;
5113
5113
  beforeOpen: () => void | Promise<void>;
5114
5114
  afterClose: () => void;
5115
5115
  nodeName: string;
@@ -5117,7 +5117,7 @@ declare const RoleManagementWidget: {
5117
5117
  open(): Promise<void>;
5118
5118
  reset(): void;
5119
5119
  remove(): void;
5120
- "__#12332@#private": any;
5120
+ "__#12338@#private": any;
5121
5121
  logger: {
5122
5122
  error(...data: any[]): void;
5123
5123
  warn(...data: any[]): void;
@@ -5150,20 +5150,20 @@ declare const RoleManagementWidget: {
5150
5150
  tenantId: string;
5151
5151
  }[]) => void;
5152
5152
  "__#15@#onColumnSortChange": (this: any, ...args: any[]) => void;
5153
- "__#12337@#globalStyleTag": HTMLStyleElement;
5153
+ "__#12343@#globalStyleTag": HTMLStyleElement;
5154
5154
  readonly theme: _descope_sdk_mixins.ThemeOptions;
5155
5155
  readonly styleId: string;
5156
- "__#12337@#_themeResource": Promise<void | Record<string, any>>;
5157
- "__#12337@#fetchTheme"(): Promise<Record<string, any>>;
5158
- readonly "__#12337@#themeResource": Promise<void | Record<string, any>>;
5159
- "__#12337@#loadGlobalStyle"(): Promise<void>;
5160
- "__#12337@#loadComponentsStyle"(): Promise<void>;
5161
- "__#12337@#getFontsConfig"(): Promise<Record<string, {
5156
+ "__#12343@#_themeResource": Promise<void | Record<string, any>>;
5157
+ "__#12343@#fetchTheme"(): Promise<Record<string, any>>;
5158
+ readonly "__#12343@#themeResource": Promise<void | Record<string, any>>;
5159
+ "__#12343@#loadGlobalStyle"(): Promise<void>;
5160
+ "__#12343@#loadComponentsStyle"(): Promise<void>;
5161
+ "__#12343@#getFontsConfig"(): Promise<Record<string, {
5162
5162
  url?: string;
5163
5163
  }>>;
5164
- "__#12337@#loadFonts"(): Promise<void>;
5165
- "__#12337@#applyTheme"(): Promise<void>;
5166
- "__#12330@#debuggerEle": HTMLElement & {
5164
+ "__#12343@#loadFonts"(): Promise<void>;
5165
+ "__#12343@#applyTheme"(): Promise<void>;
5166
+ "__#12336@#debuggerEle": HTMLElement & {
5167
5167
  updateData: (data: {
5168
5168
  title: string;
5169
5169
  description?: string;
@@ -5172,11 +5172,11 @@ declare const RoleManagementWidget: {
5172
5172
  description?: string;
5173
5173
  }[]) => void;
5174
5174
  };
5175
- "__#12330@#disableDebugger"(): void;
5176
- "__#12330@#enableDebugger"(): Promise<void>;
5175
+ "__#12336@#disableDebugger"(): void;
5176
+ "__#12336@#enableDebugger"(): Promise<void>;
5177
5177
  readonly debug: boolean;
5178
- "__#12330@#handleDebugMode"(): void;
5179
- "__#12330@#updateDebuggerMessages"(title: string, description: string): void;
5178
+ "__#12336@#handleDebugMode"(): void;
5179
+ "__#12336@#updateDebuggerMessages"(title: string, description: string): void;
5180
5180
  };
5181
5181
  };
5182
5182