@everymatrix/user-login 1.13.16

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 (47) hide show
  1. package/dist/cjs/index-59191539.js +1231 -0
  2. package/dist/cjs/index.cjs.js +2 -0
  3. package/dist/cjs/loader.cjs.js +21 -0
  4. package/dist/cjs/user-login.cjs.entry.js +239 -0
  5. package/dist/cjs/user-login.cjs.js +19 -0
  6. package/dist/collection/collection-manifest.json +12 -0
  7. package/dist/collection/components/user-login/user-login.css +162 -0
  8. package/dist/collection/components/user-login/user-login.js +356 -0
  9. package/dist/collection/index.js +1 -0
  10. package/dist/collection/utils/locale.utils.js +65 -0
  11. package/dist/collection/utils/utils.js +3 -0
  12. package/dist/components/index.d.ts +26 -0
  13. package/dist/components/index.js +1 -0
  14. package/dist/components/user-login.d.ts +11 -0
  15. package/dist/components/user-login.js +270 -0
  16. package/dist/esm/index-58908c9a.js +1206 -0
  17. package/dist/esm/index.js +1 -0
  18. package/dist/esm/loader.js +17 -0
  19. package/dist/esm/polyfills/core-js.js +11 -0
  20. package/dist/esm/polyfills/css-shim.js +1 -0
  21. package/dist/esm/polyfills/dom.js +79 -0
  22. package/dist/esm/polyfills/es5-html-element.js +1 -0
  23. package/dist/esm/polyfills/index.js +34 -0
  24. package/dist/esm/polyfills/system.js +6 -0
  25. package/dist/esm/user-login.entry.js +235 -0
  26. package/dist/esm/user-login.js +17 -0
  27. package/dist/index.cjs.js +1 -0
  28. package/dist/index.js +1 -0
  29. package/dist/stencil.config.js +22 -0
  30. package/dist/types/Users/user/workspace/everymatrix/widgets-stencil/packages/user-login/.stencil/packages/user-login/stencil.config.d.ts +2 -0
  31. package/dist/types/components/user-login/user-login.d.ts +65 -0
  32. package/dist/types/components.d.ts +101 -0
  33. package/dist/types/index.d.ts +1 -0
  34. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  35. package/dist/types/utils/locale.utils.d.ts +2 -0
  36. package/dist/types/utils/utils.d.ts +1 -0
  37. package/dist/user-login/index.esm.js +0 -0
  38. package/dist/user-login/p-5c2c28b2.js +1 -0
  39. package/dist/user-login/p-cd262cc8.entry.js +1 -0
  40. package/dist/user-login/user-login.esm.js +1 -0
  41. package/loader/cdn.js +3 -0
  42. package/loader/index.cjs.js +3 -0
  43. package/loader/index.d.ts +12 -0
  44. package/loader/index.es2017.js +3 -0
  45. package/loader/index.js +4 -0
  46. package/loader/package.json +10 -0
  47. package/package.json +19 -0
@@ -0,0 +1,356 @@
1
+ import { Component, Prop, State, Watch, h } from '@stencil/core';
2
+ import { getTranslations, translate } from '../../utils/locale.utils';
3
+ export class UserLogin {
4
+ constructor() {
5
+ /**
6
+ * Endpoint
7
+ */
8
+ this.endpoint = '';
9
+ /**
10
+ * Language
11
+ */
12
+ this.lang = 'en';
13
+ /**
14
+ * Client styling
15
+ */
16
+ this.clientStyling = '';
17
+ /**
18
+ * Client styling by url
19
+ */
20
+ this.clientStylingUrl = '';
21
+ /**
22
+ * Translation url
23
+ */
24
+ this.translationUrl = '';
25
+ /**
26
+ * Endpoint
27
+ */
28
+ this.passwordReset = false;
29
+ /**
30
+ * Endpoint
31
+ */
32
+ this.userEmailRegex = '^(?:[A-Z0-9][A-Z0-9._%@+-]{5,30}|[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4})$';
33
+ /**
34
+ * Endpoint
35
+ */
36
+ this.passwordRegex = '^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\\w\\s]).{8,20}$';
37
+ /**
38
+ * Username
39
+ */
40
+ this.userNameEmail = '';
41
+ /**
42
+ * Password
43
+ */
44
+ this.userPassword = '';
45
+ this.isValidUserEmail = true;
46
+ this.isValidPassword = true;
47
+ this.isPasswordVisible = false;
48
+ this.limitStylingAppends = false;
49
+ this.errorMessage = '';
50
+ this.checkValid = true;
51
+ this.userLogin = async ({ username, password }) => {
52
+ let headers = {
53
+ 'Content-Type': 'application/json'
54
+ };
55
+ let bodyData = {
56
+ username,
57
+ password
58
+ };
59
+ let options = {
60
+ method: 'POST',
61
+ headers,
62
+ body: JSON.stringify(bodyData),
63
+ };
64
+ fetch(`${this.endpoint}/player/legislation/login`, options)
65
+ .then((res) => {
66
+ return res.json();
67
+ }).then((data) => {
68
+ var _a;
69
+ if (data.sessionId) {
70
+ window.postMessage({ type: 'UserSessionID', session: data.sessionID, userid: data.universalID }, window.location.href);
71
+ this.isFormValid(this.errorMessage = '');
72
+ }
73
+ else {
74
+ let error = (_a = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _a === void 0 ? void 0 : _a.message;
75
+ this.errorMessage = error;
76
+ this.isFormValid(this.errorMessage);
77
+ window.postMessage({ type: "HasError", error }, window.location.href);
78
+ window.postMessage({ type: 'WidgetNotification', data: {
79
+ type: 'error',
80
+ message: error
81
+ } }, window.location.href);
82
+ }
83
+ });
84
+ };
85
+ this.isFormValid = (error) => {
86
+ this.checkValid = (error === '');
87
+ };
88
+ this.setClientStyling = () => {
89
+ let sheet = document.createElement('style');
90
+ sheet.innerHTML = this.clientStyling;
91
+ this.stylingContainer.appendChild(sheet);
92
+ };
93
+ this.setClientStylingURL = () => {
94
+ let url = new URL(this.clientStylingUrl);
95
+ let cssFile = document.createElement('style');
96
+ fetch(url.href)
97
+ .then((res) => res.text())
98
+ .then((data) => {
99
+ cssFile.innerHTML = data;
100
+ setTimeout(() => { this.stylingContainer.appendChild(cssFile); }, 1);
101
+ });
102
+ };
103
+ this.handleInputChange = (event, location) => {
104
+ this.checkValid = true;
105
+ const inputValue = event.target.value;
106
+ if (location === 'user') {
107
+ this.userNameEmail = inputValue;
108
+ this.isValidUserEmail = this.userEmailValidation(this.userNameEmail);
109
+ }
110
+ else {
111
+ this.userPassword = inputValue;
112
+ this.isValidPassword = this.passwordValidation(inputValue);
113
+ }
114
+ };
115
+ this.userEmailValidation = (input) => {
116
+ const regex = new RegExp(this.userEmailRegex, "i");
117
+ return regex.test(input);
118
+ };
119
+ this.passwordValidation = (input) => {
120
+ const regex = new RegExp(this.passwordRegex, '');
121
+ return regex.test(input);
122
+ };
123
+ this.togglePassword = () => {
124
+ this.isPasswordVisible = !this.isPasswordVisible;
125
+ };
126
+ this.resetPassword = () => {
127
+ window.postMessage({ type: "ResetPassword" }, window.location.href);
128
+ };
129
+ }
130
+ handleNewTranslations() {
131
+ getTranslations(this.translationUrl);
132
+ }
133
+ async componentWillLoad() {
134
+ if (this.translationUrl.length > 2) {
135
+ await getTranslations(this.translationUrl);
136
+ }
137
+ }
138
+ componentDidRender() {
139
+ // start custom styling area
140
+ if (!this.limitStylingAppends && this.stylingContainer) {
141
+ if (this.clientStyling)
142
+ this.setClientStyling();
143
+ if (this.clientStylingUrl)
144
+ this.setClientStylingURL();
145
+ this.limitStylingAppends = true;
146
+ }
147
+ // end custom styling area
148
+ }
149
+ render() {
150
+ let visibilityIcon = h("span", { class: "InputIcon" },
151
+ this.isPasswordVisible &&
152
+ h("svg", { onClick: () => this.togglePassword(), class: "TogglePasswordVisibility", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.844", height: "12.887", viewBox: "0 0 18.844 12.887" },
153
+ h("g", { transform: "translate(-110.856 -23.242)" },
154
+ h("circle", { class: "PasswordVisibilityIcon", cx: "0.05", cy: "0.05", r: "0.05", transform: "translate(121.017 31.148)" }),
155
+ h("g", { transform: "translate(117.499 27.37)" },
156
+ h("path", { class: "PasswordVisibilityIcon", d: "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z", transform: "translate(-142.164 -39.123)" }),
157
+ h("path", { class: "PasswordVisibilityIcon", d: "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z", transform: "translate(-136.413 -42.068)" })),
158
+ h("g", { transform: "translate(110.856 24.899)" },
159
+ h("path", { class: "PasswordVisibilityIcon", d: "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z", transform: "translate(-110.856 -33.157)" }),
160
+ h("path", { class: "PasswordVisibilityIcon", d: "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z", transform: "translate(-130.743 -29.617)" })),
161
+ h("rect", { class: "PasswordVisibilityIcon", width: "0.972", height: "15.861", rx: "0.486", transform: "translate(114.827 23.858) rotate(-39.315)" }))),
162
+ !this.isPasswordVisible &&
163
+ h("svg", { onClick: () => this.togglePassword(), class: "TogglePasswordVisibility PasswordVisible", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.843", height: "10.5", viewBox: "0 0 18.843 10.5" },
164
+ h("g", { transform: "translate(-14.185 -27.832)" },
165
+ h("path", { class: "PasswordVisibilityIcon", d: "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z", transform: "translate(0)" }),
166
+ h("circle", { class: "PasswordVisibilityIcon", cx: "2.779", cy: "2.779", r: "2.779", transform: "translate(20.827 30.303)" }))));
167
+ let userIdentification = h("div", { class: "FormBox", ref: el => this.stylingContainer = el },
168
+ h("div", { class: "FormValue" },
169
+ h("div", { class: (!this.isValidUserEmail || !this.checkValid) ? 'InputBox InputInvalidBox' : 'InputBox' },
170
+ h("input", { type: "text", placeholder: '', value: this.userNameEmail, onFocus: (event) => this.handleInputChange(event, 'user'), onInput: (event) => this.handleInputChange(event, 'user'), required: true }),
171
+ h("label", { class: (this.userNameEmail ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserEmail || !this.checkValid ? 'FieldInvalid' : '') }, translate('userEmail', this.lang)),
172
+ !this.isValidUserEmail &&
173
+ h("p", { class: "InvalidField" }, translate('invalidField', this.lang))),
174
+ h("div", { class: (!this.isValidPassword || !this.checkValid) ? 'InputBox InputInvalidBox' : 'InputBox' },
175
+ visibilityIcon,
176
+ h("input", { type: this.isPasswordVisible ? "text" : "password", placeholder: '', value: this.userPassword, onFocus: (event) => this.handleInputChange(event, 'password'), onInput: (event) => this.handleInputChange(event, 'password'), required: true }),
177
+ h("label", { class: (this.userPassword ? 'FieldFilledIn' : '') + ' ' + (!this.isValidPassword || !this.checkValid ? 'FieldInvalid' : '') }, translate('password', this.lang)),
178
+ !this.isValidPassword &&
179
+ h("p", { class: "InvalidField" }, translate('invalidField', this.lang))),
180
+ this.passwordReset &&
181
+ h("div", { class: "ForgotPassword" },
182
+ h("button", { onClick: () => this.resetPassword() }, translate('forgotPassword', this.lang))),
183
+ h("button", { disabled: (!this.isValidUserEmail || !this.isValidPassword || !this.userNameEmail || !this.userPassword), class: "SubmitCredentials", onClick: () => this.userLogin({ username: this.userNameEmail, password: this.userPassword }) }, translate('login', this.lang)),
184
+ this.errorMessage &&
185
+ h("p", { class: "CredentialsError" }, this.errorMessage)));
186
+ return h("section", null, userIdentification);
187
+ }
188
+ static get is() { return "user-login"; }
189
+ static get encapsulation() { return "shadow"; }
190
+ static get originalStyleUrls() { return {
191
+ "$": ["user-login.scss"]
192
+ }; }
193
+ static get styleUrls() { return {
194
+ "$": ["user-login.css"]
195
+ }; }
196
+ static get properties() { return {
197
+ "endpoint": {
198
+ "type": "string",
199
+ "mutable": false,
200
+ "complexType": {
201
+ "original": "string",
202
+ "resolved": "string",
203
+ "references": {}
204
+ },
205
+ "required": false,
206
+ "optional": false,
207
+ "docs": {
208
+ "tags": [],
209
+ "text": "Endpoint"
210
+ },
211
+ "attribute": "endpoint",
212
+ "reflect": true,
213
+ "defaultValue": "''"
214
+ },
215
+ "lang": {
216
+ "type": "string",
217
+ "mutable": true,
218
+ "complexType": {
219
+ "original": "string",
220
+ "resolved": "string",
221
+ "references": {}
222
+ },
223
+ "required": false,
224
+ "optional": false,
225
+ "docs": {
226
+ "tags": [],
227
+ "text": "Language"
228
+ },
229
+ "attribute": "lang",
230
+ "reflect": true,
231
+ "defaultValue": "'en'"
232
+ },
233
+ "clientStyling": {
234
+ "type": "string",
235
+ "mutable": false,
236
+ "complexType": {
237
+ "original": "string",
238
+ "resolved": "string",
239
+ "references": {}
240
+ },
241
+ "required": false,
242
+ "optional": false,
243
+ "docs": {
244
+ "tags": [],
245
+ "text": "Client styling"
246
+ },
247
+ "attribute": "client-styling",
248
+ "reflect": true,
249
+ "defaultValue": "''"
250
+ },
251
+ "clientStylingUrl": {
252
+ "type": "string",
253
+ "mutable": false,
254
+ "complexType": {
255
+ "original": "string",
256
+ "resolved": "string",
257
+ "references": {}
258
+ },
259
+ "required": false,
260
+ "optional": false,
261
+ "docs": {
262
+ "tags": [],
263
+ "text": "Client styling by url"
264
+ },
265
+ "attribute": "client-styling-url",
266
+ "reflect": true,
267
+ "defaultValue": "''"
268
+ },
269
+ "translationUrl": {
270
+ "type": "string",
271
+ "mutable": false,
272
+ "complexType": {
273
+ "original": "string",
274
+ "resolved": "string",
275
+ "references": {}
276
+ },
277
+ "required": false,
278
+ "optional": false,
279
+ "docs": {
280
+ "tags": [],
281
+ "text": "Translation url"
282
+ },
283
+ "attribute": "translation-url",
284
+ "reflect": true,
285
+ "defaultValue": "''"
286
+ },
287
+ "passwordReset": {
288
+ "type": "boolean",
289
+ "mutable": false,
290
+ "complexType": {
291
+ "original": "boolean",
292
+ "resolved": "boolean",
293
+ "references": {}
294
+ },
295
+ "required": false,
296
+ "optional": false,
297
+ "docs": {
298
+ "tags": [],
299
+ "text": "Endpoint"
300
+ },
301
+ "attribute": "password-reset",
302
+ "reflect": true,
303
+ "defaultValue": "false"
304
+ },
305
+ "userEmailRegex": {
306
+ "type": "string",
307
+ "mutable": false,
308
+ "complexType": {
309
+ "original": "string",
310
+ "resolved": "string",
311
+ "references": {}
312
+ },
313
+ "required": false,
314
+ "optional": false,
315
+ "docs": {
316
+ "tags": [],
317
+ "text": "Endpoint"
318
+ },
319
+ "attribute": "user-email-regex",
320
+ "reflect": true,
321
+ "defaultValue": "'^(?:[A-Z0-9][A-Z0-9._%@+-]{5,30}|[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4})$'"
322
+ },
323
+ "passwordRegex": {
324
+ "type": "string",
325
+ "mutable": false,
326
+ "complexType": {
327
+ "original": "string",
328
+ "resolved": "string",
329
+ "references": {}
330
+ },
331
+ "required": false,
332
+ "optional": false,
333
+ "docs": {
334
+ "tags": [],
335
+ "text": "Endpoint"
336
+ },
337
+ "attribute": "password-regex",
338
+ "reflect": true,
339
+ "defaultValue": "'^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\\\\w\\\\s]).{8,20}$'"
340
+ }
341
+ }; }
342
+ static get states() { return {
343
+ "userNameEmail": {},
344
+ "userPassword": {},
345
+ "isValidUserEmail": {},
346
+ "isValidPassword": {},
347
+ "isPasswordVisible": {},
348
+ "limitStylingAppends": {},
349
+ "errorMessage": {},
350
+ "checkValid": {}
351
+ }; }
352
+ static get watchers() { return [{
353
+ "propName": "translationUrl",
354
+ "methodName": "handleNewTranslations"
355
+ }]; }
356
+ }
@@ -0,0 +1 @@
1
+ export * from './components';
@@ -0,0 +1,65 @@
1
+ const DEFAULT_LANGUAGE = 'en';
2
+ const SUPPORTED_LANGUAGES = ['ro', 'en', 'cz', 'de'];
3
+ const TRANSLATIONS = {
4
+ en: {
5
+ invalidField: 'This field is invalid',
6
+ forgotPassword: 'Forgot Password',
7
+ userEmail: 'Username or Email',
8
+ password: 'Password',
9
+ login: 'Login'
10
+ },
11
+ ro: {
12
+ invalidField: 'This field is invalid',
13
+ forgotPassword: 'Forgot Password',
14
+ userEmail: 'Username or Email',
15
+ password: 'Password',
16
+ login: 'Login'
17
+ },
18
+ fr: {
19
+ invalidField: 'This field is invalid',
20
+ forgotPassword: 'Forgot Password',
21
+ userEmail: 'Username or Email',
22
+ password: 'Password',
23
+ login: 'Login'
24
+ },
25
+ cs: {
26
+ invalidField: 'Ovo polje je nevažeće.',
27
+ forgotPassword: 'Zaboravio sam lozinku ',
28
+ userEmail: 'Korisničko ime ili email',
29
+ password: 'Lozinka',
30
+ login: 'Prijava'
31
+ },
32
+ de: {
33
+ invalidField: 'This field is invalid',
34
+ forgotPassword: 'Forgot Password',
35
+ userEmail: 'Username or Email',
36
+ password: 'Password',
37
+ login: 'Login'
38
+ },
39
+ };
40
+ export const getTranslations = (url) => {
41
+ // fetch url, get the data, replace the TRANSLATIONS content
42
+ return new Promise((resolve) => {
43
+ fetch(url)
44
+ .then((res) => res.json())
45
+ .then((data) => {
46
+ Object.keys(data).forEach((item) => {
47
+ for (let key in data[item]) {
48
+ TRANSLATIONS[item][key] = data[item][key];
49
+ }
50
+ });
51
+ resolve(true);
52
+ });
53
+ });
54
+ };
55
+ export const translate = (key, customLang, values) => {
56
+ const lang = customLang;
57
+ let translation = TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
58
+ if (values !== undefined) {
59
+ for (const [key, value] of Object.entries(values.values)) {
60
+ const regex = new RegExp(`{${key}}`, 'g');
61
+ translation = translation.replace(regex, value);
62
+ }
63
+ }
64
+ return translation;
65
+ };
@@ -0,0 +1,3 @@
1
+ export function format(first, middle, last) {
2
+ return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
3
+ }
@@ -0,0 +1,26 @@
1
+ /* UserLogin custom elements */
2
+
3
+ import type { Components, JSX } from "../types/components";
4
+
5
+ /**
6
+ * Used to manually set the base path where assets can be found.
7
+ * If the script is used as "module", it's recommended to use "import.meta.url",
8
+ * such as "setAssetPath(import.meta.url)". Other options include
9
+ * "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
10
+ * dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
11
+ * But do note that this configuration depends on how your script is bundled, or lack of
12
+ * bundling, and where your assets can be loaded from. Additionally custom bundling
13
+ * will have to ensure the static assets are copied to its build directory.
14
+ */
15
+ export declare const setAssetPath: (path: string) => void;
16
+
17
+ export interface SetPlatformOptions {
18
+ raf?: (c: FrameRequestCallback) => number;
19
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
20
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
21
+ }
22
+ export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
23
+
24
+ export type { Components, JSX };
25
+
26
+ export * from '../types';
@@ -0,0 +1 @@
1
+ export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UserLogin extends Components.UserLogin, HTMLElement {}
4
+ export const UserLogin: {
5
+ prototype: UserLogin;
6
+ new (): UserLogin;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;