@everymatrix/general-registration-otp-standalone 0.0.0-stage → 0.0.1

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.
Files changed (58) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/checkbox-group-input_15.cjs.entry.js +15369 -0
  3. package/dist/cjs/general-registration-otp-standalone-597153d4.js +1409 -0
  4. package/dist/cjs/general-registration-otp-standalone.cjs.js +25 -0
  5. package/dist/cjs/index-b0fda18c.js +1324 -0
  6. package/dist/cjs/index.cjs.js +10 -0
  7. package/dist/cjs/loader.cjs.js +15 -0
  8. package/dist/collection/collection-manifest.json +32 -0
  9. package/dist/collection/components/general-registration-otp-standalone/general-registration-otp-standalone.css +32 -0
  10. package/dist/collection/components/general-registration-otp-standalone/general-registration-otp-standalone.js +473 -0
  11. package/dist/collection/components/general-registration-otp-standalone/index.js +1 -0
  12. package/dist/collection/index.js +1 -0
  13. package/dist/collection/utils/locale.utils.js +1098 -0
  14. package/dist/collection/utils/utils.js +3 -0
  15. package/dist/esm/app-globals-0f993ce5.js +3 -0
  16. package/dist/esm/checkbox-group-input_15.entry.js +15352 -0
  17. package/dist/esm/general-registration-otp-standalone-f724cbe2.js +1403 -0
  18. package/dist/esm/general-registration-otp-standalone.js +20 -0
  19. package/dist/esm/index-5fadd4cf.js +1294 -0
  20. package/dist/esm/index.js +2 -0
  21. package/dist/esm/loader.js +11 -0
  22. package/dist/general-registration-otp-standalone/app-globals-0f993ce5.js +1 -0
  23. package/dist/general-registration-otp-standalone/checkbox-group-input_15.entry.js +6657 -0
  24. package/dist/general-registration-otp-standalone/general-registration-otp-standalone-f724cbe2.js +1 -0
  25. package/dist/general-registration-otp-standalone/general-registration-otp-standalone.esm.js +1 -0
  26. package/dist/general-registration-otp-standalone/index-5fadd4cf.js +2 -0
  27. package/dist/general-registration-otp-standalone/index.esm.js +1 -0
  28. package/dist/index.cjs.js +1 -0
  29. package/dist/index.js +1 -0
  30. package/dist/stencil.config.dev.js +19 -0
  31. package/dist/stencil.config.js +19 -0
  32. package/dist/storybook/main.js +43 -0
  33. package/dist/storybook/preview.js +9 -0
  34. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
  35. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/packages/stencil/general-registration-otp-standalone/stencil.config.d.ts +2 -0
  36. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/packages/stencil/general-registration-otp-standalone/stencil.config.dev.d.ts +2 -0
  37. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/packages/stencil/general-registration-otp-standalone/storybook/main.d.ts +3 -0
  38. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/packages/stencil/general-registration-otp-standalone/storybook/preview.d.ts +70 -0
  39. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/tools/plugins/index.d.ts +4 -0
  40. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
  41. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
  42. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
  43. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration-otp-standalone/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
  44. package/dist/types/components/general-registration-otp-standalone/general-registration-otp-standalone.d.ts +56 -0
  45. package/dist/types/components/general-registration-otp-standalone/index.d.ts +1 -0
  46. package/dist/types/components.d.ts +157 -0
  47. package/dist/types/index.d.ts +1 -0
  48. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  49. package/dist/types/utils/locale.utils.d.ts +18 -0
  50. package/dist/types/utils/utils.d.ts +1 -0
  51. package/loader/cdn.js +1 -0
  52. package/loader/index.cjs.js +1 -0
  53. package/loader/index.d.ts +24 -0
  54. package/loader/index.es2017.js +1 -0
  55. package/loader/index.js +2 -0
  56. package/loader/package.json +11 -0
  57. package/package.json +24 -3
  58. package/README.md +0 -3
@@ -0,0 +1,56 @@
1
+ import "../../../../../../dist/packages/stencil/general-input/dist/types/index";
2
+ export declare class GeneralRegistrationOtpStandalone {
3
+ host: HTMLElement;
4
+ /** API endpoint. */
5
+ endpoint: string;
6
+ /** Registration identifier from the previous step. */
7
+ registrationId: string;
8
+ /** Registration step to submit. */
9
+ step: string;
10
+ /** Phone number to which the verification code is sent. */
11
+ destination: string;
12
+ /** Selected language. */
13
+ language: string;
14
+ /** Translations via URL. */
15
+ translationUrl: string;
16
+ /** Message bus source for styling and translations. */
17
+ mbSource: string;
18
+ /** GM API version; use gm2 for the GM2 endpoints. */
19
+ gmversion: string;
20
+ /** Number of OTP digits. */
21
+ otpLength: number;
22
+ /** Name of the OTP field in the registration request. */
23
+ otpFieldName: string;
24
+ /** Resend countdown in seconds. */
25
+ resendIntervalSeconds: number;
26
+ /** Start the resend countdown when the widget loads. */
27
+ startCountDown: boolean;
28
+ /** Disable resending after the maximum number of PIN attempts. */
29
+ pinAttemptsExceeded: boolean;
30
+ /** Client custom styling via inline styles. */
31
+ clientStyling: string;
32
+ /** Client custom styling via URL. */
33
+ clientStylingUrl: string;
34
+ private isSubmitting;
35
+ private errorMessage;
36
+ private isOtpValid;
37
+ private stylingContainer;
38
+ private stylingSubscription;
39
+ private translationSubscription;
40
+ handleClientStylingChange(newValue: string, oldValue: string): void;
41
+ handleClientStylingUrlChange(newValue: string, oldValue: string): void;
42
+ handleMbSourceChange(newValue: string, oldValue: string): void;
43
+ componentDidLoad(): void;
44
+ disconnectedCallback(): void;
45
+ private handleClientTranslations;
46
+ handleValidity(event: CustomEvent<{
47
+ name: string;
48
+ valid: boolean;
49
+ }>): void;
50
+ handleResend(): Promise<void>;
51
+ private getErrorMessage;
52
+ private request;
53
+ private getCurrentOtp;
54
+ private handleSubmit;
55
+ render(): any;
56
+ }
@@ -0,0 +1 @@
1
+ export { GeneralRegistrationOtpStandalone } from './general-registration-otp-standalone';
@@ -0,0 +1,157 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /**
4
+ * This is an autogenerated file created by the Stencil compiler.
5
+ * It contains typing information for all components that exist in this project.
6
+ */
7
+ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ export namespace Components {
9
+ interface GeneralRegistrationOtpStandalone {
10
+ /**
11
+ * Client custom styling via inline styles.
12
+ */
13
+ "clientStyling": string;
14
+ /**
15
+ * Client custom styling via URL.
16
+ */
17
+ "clientStylingUrl": string;
18
+ /**
19
+ * Phone number to which the verification code is sent.
20
+ */
21
+ "destination": string;
22
+ /**
23
+ * API endpoint.
24
+ */
25
+ "endpoint": string;
26
+ /**
27
+ * GM API version; use gm2 for the GM2 endpoints.
28
+ */
29
+ "gmversion": string;
30
+ /**
31
+ * Selected language.
32
+ */
33
+ "language": string;
34
+ /**
35
+ * Message bus source for styling and translations.
36
+ */
37
+ "mbSource": string;
38
+ /**
39
+ * Name of the OTP field in the registration request.
40
+ */
41
+ "otpFieldName": string;
42
+ /**
43
+ * Number of OTP digits.
44
+ */
45
+ "otpLength": number;
46
+ /**
47
+ * Disable resending after the maximum number of PIN attempts.
48
+ */
49
+ "pinAttemptsExceeded": boolean;
50
+ /**
51
+ * Registration identifier from the previous step.
52
+ */
53
+ "registrationId": string;
54
+ /**
55
+ * Resend countdown in seconds.
56
+ */
57
+ "resendIntervalSeconds": number;
58
+ /**
59
+ * Start the resend countdown when the widget loads.
60
+ */
61
+ "startCountDown": boolean;
62
+ /**
63
+ * Registration step to submit.
64
+ */
65
+ "step": string;
66
+ /**
67
+ * Translations via URL.
68
+ */
69
+ "translationUrl": string;
70
+ }
71
+ }
72
+ declare global {
73
+ interface HTMLGeneralRegistrationOtpStandaloneElement extends Components.GeneralRegistrationOtpStandalone, HTMLStencilElement {
74
+ }
75
+ var HTMLGeneralRegistrationOtpStandaloneElement: {
76
+ prototype: HTMLGeneralRegistrationOtpStandaloneElement;
77
+ new (): HTMLGeneralRegistrationOtpStandaloneElement;
78
+ };
79
+ interface HTMLElementTagNameMap {
80
+ "general-registration-otp-standalone": HTMLGeneralRegistrationOtpStandaloneElement;
81
+ }
82
+ }
83
+ declare namespace LocalJSX {
84
+ interface GeneralRegistrationOtpStandalone {
85
+ /**
86
+ * Client custom styling via inline styles.
87
+ */
88
+ "clientStyling"?: string;
89
+ /**
90
+ * Client custom styling via URL.
91
+ */
92
+ "clientStylingUrl"?: string;
93
+ /**
94
+ * Phone number to which the verification code is sent.
95
+ */
96
+ "destination"?: string;
97
+ /**
98
+ * API endpoint.
99
+ */
100
+ "endpoint"?: string;
101
+ /**
102
+ * GM API version; use gm2 for the GM2 endpoints.
103
+ */
104
+ "gmversion"?: string;
105
+ /**
106
+ * Selected language.
107
+ */
108
+ "language"?: string;
109
+ /**
110
+ * Message bus source for styling and translations.
111
+ */
112
+ "mbSource"?: string;
113
+ /**
114
+ * Name of the OTP field in the registration request.
115
+ */
116
+ "otpFieldName"?: string;
117
+ /**
118
+ * Number of OTP digits.
119
+ */
120
+ "otpLength"?: number;
121
+ /**
122
+ * Disable resending after the maximum number of PIN attempts.
123
+ */
124
+ "pinAttemptsExceeded"?: boolean;
125
+ /**
126
+ * Registration identifier from the previous step.
127
+ */
128
+ "registrationId"?: string;
129
+ /**
130
+ * Resend countdown in seconds.
131
+ */
132
+ "resendIntervalSeconds"?: number;
133
+ /**
134
+ * Start the resend countdown when the widget loads.
135
+ */
136
+ "startCountDown"?: boolean;
137
+ /**
138
+ * Registration step to submit.
139
+ */
140
+ "step"?: string;
141
+ /**
142
+ * Translations via URL.
143
+ */
144
+ "translationUrl"?: string;
145
+ }
146
+ interface IntrinsicElements {
147
+ "general-registration-otp-standalone": GeneralRegistrationOtpStandalone;
148
+ }
149
+ }
150
+ export { LocalJSX as JSX };
151
+ declare module "@stencil/core" {
152
+ export namespace JSX {
153
+ interface IntrinsicElements {
154
+ "general-registration-otp-standalone": LocalJSX.GeneralRegistrationOtpStandalone & JSXBase.HTMLAttributes<HTMLGeneralRegistrationOtpStandaloneElement>;
155
+ }
156
+ }
157
+ }
@@ -0,0 +1 @@
1
+ export * from './components/general-registration-otp-standalone';