@everymatrix/general-registration 1.99.56 → 1.99.57

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.
@@ -1 +1 @@
1
- var t;customElements.define=(t=customElements.define,function(...e){return!customElements.get(e[0])&&t.apply(this,e)});
1
+ export{R as RegistrationConfigStatus}from"./types-d6cd6856.js";var t;customElements.define=(t=customElements.define,function(...s){return!customElements.get(s[0])&&t.apply(this,s)});
@@ -0,0 +1 @@
1
+ var r;!function(r){r.Loading="Loading",r.Success="Success",r.Error="Error"}(r||(r={}));export{r as R}
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import type { InputStateEvent, InputValueEvent, RegistrationConfig, RegCfgContentField, StepState, InputValue, InputValidity, InputType } from '../../../../general-input/src/utils/types';
3
+ import { RegistrationConfigStatus } from '../../utils/types';
3
4
  import "../../../../../../dist/packages/stencil/general-input/dist/types/index";
4
5
  import "../../../../../../dist/packages/svelte/player-consents/es2015/player-consents";
5
6
  import { ValidationSchema } from "../../../../../../dist/packages/stencil/general-input/dist/types/index";
@@ -103,6 +104,8 @@ export declare class GeneralRegistration {
103
104
  addBtag(): void;
104
105
  registrationWidgetLoaded: EventEmitter;
105
106
  registrationStepUpdated: EventEmitter<string>;
107
+ /** Status of the registration configuration request. */
108
+ registrationConfigStatus: EventEmitter<RegistrationConfigStatus>;
106
109
  validationChange: EventEmitter<any>;
107
110
  checkInputsValidityHandler(event: CustomEvent<InputStateEvent>): void;
108
111
  getInputsValueHandler(event: CustomEvent<InputValueEvent>): void;
@@ -177,6 +180,7 @@ export declare class GeneralRegistration {
177
180
  stepsStateMachine(state: StepState): void;
178
181
  triggerNotification(errMsg: string, errType?: string): void;
179
182
  private initializeCaptcha;
183
+ private emitRegistrationConfigStatus;
180
184
  getRegisterConfig(registrationID?: string): Promise<RegistrationConfig>;
181
185
  private notifyTwofaStepChange;
182
186
  private notifyTwofaStepExited;
@@ -5,6 +5,8 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ import { RegistrationConfigStatus } from "./utils/types";
9
+ export { RegistrationConfigStatus } from "./utils/types";
8
10
  export namespace Components {
9
11
  interface GeneralRegistration {
10
12
  /**
@@ -89,6 +91,7 @@ declare global {
89
91
  interface HTMLGeneralRegistrationElementEventMap {
90
92
  "registrationWidgetLoaded": any;
91
93
  "registrationStepUpdated": string;
94
+ "registrationConfigStatus": RegistrationConfigStatus;
92
95
  "validationChange": any;
93
96
  }
94
97
  interface HTMLGeneralRegistrationElement extends Components.GeneralRegistration, HTMLStencilElement {
@@ -171,6 +174,10 @@ declare namespace LocalJSX {
171
174
  * Client custom styling via streamStyling
172
175
  */
173
176
  "mbSource"?: string;
177
+ /**
178
+ * Status of the registration configuration request.
179
+ */
180
+ "onRegistrationConfigStatus"?: (event: GeneralRegistrationCustomEvent<RegistrationConfigStatus>) => void;
174
181
  "onRegistrationStepUpdated"?: (event: GeneralRegistrationCustomEvent<string>) => void;
175
182
  "onRegistrationWidgetLoaded"?: (event: GeneralRegistrationCustomEvent<any>) => void;
176
183
  "onValidationChange"?: (event: GeneralRegistrationCustomEvent<any>) => void;
@@ -1 +1,2 @@
1
1
  export * from './components';
2
+ export { RegistrationConfigStatus } from './utils/types';
@@ -0,0 +1,5 @@
1
+ export declare enum RegistrationConfigStatus {
2
+ Loading = "Loading",
3
+ Success = "Success",
4
+ Error = "Error"
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-registration",
3
- "version": "1.99.56",
3
+ "version": "1.99.57",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",