@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.
- package/dist/cjs/checkbox-group-input_15.cjs.entry.js +12 -2
- package/dist/cjs/index.cjs.js +11 -0
- package/dist/cjs/types-ef75801c.js +8 -0
- package/dist/collection/components/general-registration/general-registration.js +32 -2
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/types.js +6 -0
- package/dist/esm/checkbox-group-input_15.entry.js +12 -2
- package/dist/esm/index.js +2 -0
- package/dist/esm/types-d6cd6856.js +8 -0
- package/dist/general-registration/checkbox-group-input_15.entry.js +241 -241
- package/dist/general-registration/index.esm.js +1 -1
- package/dist/general-registration/types-d6cd6856.js +1 -0
- package/dist/types/components/general-registration/general-registration.d.ts +4 -0
- package/dist/types/components.d.ts +7 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/types.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var t;customElements.define=(t=customElements.define,function(...
|
|
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;
|
package/dist/types/index.d.ts
CHANGED