@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.
Files changed (48) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/index-465784fc.js +1240 -0
  3. package/dist/cjs/loader.cjs.js +7 -13
  4. package/dist/cjs/user-login.cjs.entry.js +301 -328
  5. package/dist/cjs/user-login.cjs.js +17 -11
  6. package/dist/collection/collection-manifest.json +3 -3
  7. package/dist/collection/components/user-login/index.js +1 -0
  8. package/dist/collection/components/user-login/user-login.js +397 -443
  9. package/dist/collection/utils/locale.utils.js +110 -110
  10. package/dist/collection/utils/utils.js +1 -1
  11. package/dist/esm/app-globals-0f993ce5.js +3 -0
  12. package/dist/esm/index-4e85bfaa.js +1214 -0
  13. package/dist/esm/loader.js +7 -13
  14. package/dist/esm/user-login.entry.js +301 -328
  15. package/dist/esm/user-login.js +14 -11
  16. package/dist/stencil.config.dev.js +17 -0
  17. package/dist/stencil.config.js +14 -19
  18. 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
  19. 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
  20. package/dist/types/components/user-login/index.d.ts +1 -0
  21. package/dist/types/components/user-login/user-login.d.ts +80 -80
  22. package/dist/types/stencil-public-runtime.d.ts +142 -33
  23. package/dist/user-login/p-11519ff0.entry.js +1 -0
  24. package/dist/user-login/p-a86a26ad.js +2 -0
  25. package/dist/user-login/p-e1255160.js +1 -0
  26. package/dist/user-login/user-login.esm.js +1 -1
  27. package/loader/cdn.js +1 -3
  28. package/loader/index.cjs.js +1 -3
  29. package/loader/index.d.ts +13 -1
  30. package/loader/index.es2017.js +1 -3
  31. package/loader/index.js +1 -3
  32. package/loader/package.json +1 -0
  33. package/package.json +8 -1
  34. package/dist/cjs/index-5d65f61a.js +0 -1233
  35. package/dist/components/index.d.ts +0 -26
  36. package/dist/components/index.js +0 -1
  37. package/dist/components/user-login.d.ts +0 -11
  38. package/dist/components/user-login.js +0 -389
  39. package/dist/esm/index-20da8fd1.js +0 -1208
  40. package/dist/esm/polyfills/core-js.js +0 -11
  41. package/dist/esm/polyfills/css-shim.js +0 -1
  42. package/dist/esm/polyfills/dom.js +0 -79
  43. package/dist/esm/polyfills/es5-html-element.js +0 -1
  44. package/dist/esm/polyfills/index.js +0 -34
  45. package/dist/esm/polyfills/system.js +0 -6
  46. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/user-login/.stencil/packages/user-login/stencil.config.d.ts +0 -2
  47. package/dist/user-login/p-55726395.js +0 -1
  48. package/dist/user-login/p-f0b89924.entry.js +0 -1
@@ -1,17 +1,20 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-20da8fd1.js';
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 v2.15.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
5
7
  */
6
- const patchBrowser = () => {
7
- const importMeta = import.meta.url;
8
- const opts = {};
9
- if (importMeta !== '') {
10
- opts.resourcesUrl = new URL('.', importMeta).href;
11
- }
12
- return promiseResolve(opts);
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
- 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]}]]]], options);
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
+ };
@@ -1,22 +1,17 @@
1
- import { sass } from '@stencil/sass';
1
+ import { sass } from "@stencil/sass";
2
2
  export const config = {
3
- namespace: 'user-login',
4
- taskQueue: 'async',
5
- plugins: [sass()],
6
- outputTargets: [
7
- {
8
- type: 'dist',
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
- type: 'dist-custom-elements',
13
- },
14
- {
15
- type: 'docs-readme',
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,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1 @@
1
+ export { UserLogin } from './user-login';
@@ -1,82 +1,82 @@
1
1
  export declare class UserLogin {
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;
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
  }