@everymatrix/user-login 1.44.0 → 1.45.2
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/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-465784fc.js +1240 -0
- package/dist/cjs/loader.cjs.js +7 -13
- package/dist/cjs/user-login.cjs.entry.js +301 -328
- package/dist/cjs/user-login.cjs.js +17 -11
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/user-login/index.js +1 -0
- package/dist/collection/components/user-login/user-login.js +397 -443
- package/dist/collection/utils/locale.utils.js +110 -110
- package/dist/collection/utils/utils.js +1 -1
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-4e85bfaa.js +1214 -0
- package/dist/esm/loader.js +7 -13
- package/dist/esm/user-login.entry.js +301 -328
- package/dist/esm/user-login.js +14 -11
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +14 -19
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/user-login/index.d.ts +1 -0
- package/dist/types/components/user-login/user-login.d.ts +80 -80
- package/dist/types/stencil-public-runtime.d.ts +142 -33
- package/dist/user-login/p-11519ff0.entry.js +1 -0
- package/dist/user-login/p-a86a26ad.js +2 -0
- package/dist/user-login/p-e1255160.js +1 -0
- package/dist/user-login/user-login.esm.js +1 -1
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/loader/package.json +1 -0
- package/package.json +8 -1
- package/dist/cjs/index-5d65f61a.js +0 -1233
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/components/user-login.d.ts +0 -11
- package/dist/components/user-login.js +0 -389
- package/dist/esm/index-20da8fd1.js +0 -1208
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/user-login/.stencil/packages/user-login/stencil.config.d.ts +0 -2
- package/dist/user-login/p-55726395.js +0 -1
- package/dist/user-login/p-f0b89924.entry.js +0 -1
package/dist/esm/user-login.js
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-4e85bfaa.js';
|
|
2
|
+
export { s as setNonce } from './index-4e85bfaa.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
2
4
|
|
|
3
5
|
/*
|
|
4
|
-
Stencil Client Patch Browser
|
|
6
|
+
Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
5
7
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
var patchBrowser = () => {
|
|
9
|
+
const importMeta = import.meta.url;
|
|
10
|
+
const opts = {};
|
|
11
|
+
if (importMeta !== "") {
|
|
12
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
13
|
+
}
|
|
14
|
+
return promiseResolve(opts);
|
|
13
15
|
};
|
|
14
16
|
|
|
15
|
-
patchBrowser().then(options => {
|
|
16
|
-
|
|
17
|
+
patchBrowser().then(async (options) => {
|
|
18
|
+
await globalScripts();
|
|
19
|
+
return bootstrapLazy([["user-login",[[1,"user-login",{"endpoint":[513],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"isValidPassword":[32],"isPasswordVisible":[32],"limitStylingAppends":[32],"errorMessage":[32],"hasError":[32]},null,{"translationUrl":["handleNewTranslations"]}]]]], options);
|
|
17
20
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { sass } from "@stencil/sass";
|
|
2
|
+
export const config = {
|
|
3
|
+
namespace: 'user-login',
|
|
4
|
+
taskQueue: 'async',
|
|
5
|
+
sourceMap: true,
|
|
6
|
+
minifyJs: false,
|
|
7
|
+
extras: {
|
|
8
|
+
experimentalImportInjection: true
|
|
9
|
+
},
|
|
10
|
+
plugins: [sass()],
|
|
11
|
+
outputTargets: [
|
|
12
|
+
{
|
|
13
|
+
type: 'www',
|
|
14
|
+
serviceWorker: null // disable service workers
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
};
|
package/dist/stencil.config.js
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
import { sass } from
|
|
1
|
+
import { sass } from "@stencil/sass";
|
|
2
2
|
export const config = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
|
|
9
|
-
esmLoaderPath: '../loader',
|
|
3
|
+
namespace: 'user-login',
|
|
4
|
+
taskQueue: 'async',
|
|
5
|
+
sourceMap: false,
|
|
6
|
+
minifyJs: true,
|
|
7
|
+
extras: {
|
|
8
|
+
experimentalImportInjection: true
|
|
10
9
|
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
type: 'www',
|
|
19
|
-
serviceWorker: null, // disable service workers
|
|
20
|
-
},
|
|
21
|
-
],
|
|
10
|
+
plugins: [sass()],
|
|
11
|
+
outputTargets: [
|
|
12
|
+
{
|
|
13
|
+
type: 'dist',
|
|
14
|
+
esmLoaderPath: '../loader'
|
|
15
|
+
}
|
|
16
|
+
]
|
|
22
17
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UserLogin } from './user-login';
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
export declare class UserLogin {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Endpoint
|
|
4
|
+
*/
|
|
5
|
+
endpoint: string;
|
|
6
|
+
/**
|
|
7
|
+
* Language
|
|
8
|
+
*/
|
|
9
|
+
lang: string;
|
|
10
|
+
/**
|
|
11
|
+
* Client styling
|
|
12
|
+
*/
|
|
13
|
+
clientStyling: string;
|
|
14
|
+
/**
|
|
15
|
+
* Client styling by url
|
|
16
|
+
*/
|
|
17
|
+
clientStylingUrl: string;
|
|
18
|
+
/**
|
|
19
|
+
* Translation url
|
|
20
|
+
*/
|
|
21
|
+
translationUrl: string;
|
|
22
|
+
/**
|
|
23
|
+
* Password reset
|
|
24
|
+
*/
|
|
25
|
+
passwordReset: string;
|
|
26
|
+
/**
|
|
27
|
+
* User email regex
|
|
28
|
+
*/
|
|
29
|
+
userEmailRegex: string;
|
|
30
|
+
/**
|
|
31
|
+
* User email regex options
|
|
32
|
+
*/
|
|
33
|
+
userEmailRegexOptions: string;
|
|
34
|
+
/**
|
|
35
|
+
* Password regex
|
|
36
|
+
*/
|
|
37
|
+
passwordRegex: string;
|
|
38
|
+
/**
|
|
39
|
+
* Password regex options
|
|
40
|
+
*/
|
|
41
|
+
passwordRegexOptions: string;
|
|
42
|
+
/**
|
|
43
|
+
* Username
|
|
44
|
+
*/
|
|
45
|
+
userNameEmail: string;
|
|
46
|
+
/**
|
|
47
|
+
* Password
|
|
48
|
+
*/
|
|
49
|
+
userPassword: string;
|
|
50
|
+
isValidUserEmail: boolean;
|
|
51
|
+
isValidPassword: boolean;
|
|
52
|
+
isPasswordVisible: boolean;
|
|
53
|
+
private limitStylingAppends;
|
|
54
|
+
private errorMessage;
|
|
55
|
+
private hasError;
|
|
56
|
+
private errorCode;
|
|
57
|
+
private stylingContainer;
|
|
58
|
+
updateLoginCredentialsEvent: CustomEvent;
|
|
59
|
+
handleNewTranslations(): void;
|
|
60
|
+
componentWillLoad(): Promise<void>;
|
|
61
|
+
componentDidLoad(): void;
|
|
62
|
+
componentDidRender(): void;
|
|
63
|
+
disconnectedCallback(): void;
|
|
64
|
+
setClientStyling: () => void;
|
|
65
|
+
setClientStylingURL: () => void;
|
|
66
|
+
autofillCredentialsHandler: (e: any) => void;
|
|
67
|
+
userLogin: ({ username, password }: {
|
|
68
|
+
username: any;
|
|
69
|
+
password: any;
|
|
70
|
+
}) => Promise<any>;
|
|
71
|
+
sendErrorNotification(errorMessage: any): void;
|
|
72
|
+
debounce(func: any, delay: any): (...args: any[]) => void;
|
|
73
|
+
debouncedUserLogin: (...args: any[]) => void;
|
|
74
|
+
handleLogin: () => void;
|
|
75
|
+
dispatchUpdateLoginCredentialsEvent(): void;
|
|
76
|
+
handleInputChange: (event: Event, location: string) => void;
|
|
77
|
+
userEmailValidation: (input: any) => boolean;
|
|
78
|
+
passwordValidation: (input: any) => boolean;
|
|
79
|
+
togglePassword: () => void;
|
|
80
|
+
resetPassword: () => void;
|
|
81
|
+
render(): any;
|
|
82
82
|
}
|