@everymatrix/user-login 1.55.0 → 1.56.0

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 (26) hide show
  1. package/dist/cjs/{index-ce110273.js → index-a6009b28.js} +174 -74
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/user-login.cjs.entry.js +11911 -11020
  4. package/dist/cjs/user-login.cjs.js +3 -3
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/components/user-login/user-login.js +165 -75
  7. package/dist/esm/{index-824bb999.js → index-19313d5e.js} +174 -74
  8. package/dist/esm/loader.js +3 -3
  9. package/dist/esm/user-login.entry.js +11911 -11020
  10. package/dist/esm/user-login.js +4 -4
  11. 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
  12. 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
  13. package/dist/types/components/user-login/user-login.d.ts +4 -18
  14. package/dist/types/components.d.ts +2 -0
  15. package/dist/user-login/p-49fced52.entry.js +2657 -0
  16. package/dist/user-login/p-614af01b.js +2 -0
  17. package/dist/user-login/user-login.esm.js +1 -1
  18. package/package.json +1 -1
  19. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/stencil.config.d.ts +0 -2
  20. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/stencil.config.dev.d.ts +0 -2
  21. package/dist/user-login/p-57aa7a6f.js +0 -2
  22. package/dist/user-login/p-87c4cda6.entry.js +0 -3119
  23. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/user-login/.stencil/tools/plugins/index.d.ts +0 -0
  24. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/user-login/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  25. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/user-login/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  26. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/user-login/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-824bb999.js';
2
- export { s as setNonce } from './index-824bb999.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-19313d5e.js';
2
+ export { s as setNonce } from './index-19313d5e.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -16,5 +16,5 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
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"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"version":[513],"loginByPhoneNumber":[513,"login-by-phone-number"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"userPhone":[32],"userPrefix":[32],"isValidPassword":[32],"isValidUserPhone":[32],"isPasswordVisible":[32],"limitStylingAppends":[32],"errorMessage":[32],"hasError":[32],"userPrefixOptions":[32],"isLoginLoading":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}]]]], options);
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"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"version":[513],"loginByPhoneNumber":[513,"login-by-phone-number"],"mbSource":[513,"mb-source"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"userPhone":[32],"userPrefix":[32],"isValidPassword":[32],"isValidUserPhone":[32],"isPasswordVisible":[32],"errorMessage":[32],"hasError":[32],"userPrefixOptions":[32],"isLoginLoading":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
20
20
  });
@@ -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;
@@ -88,10 +88,6 @@ export declare class UserLogin {
88
88
  * Toggles visibility of the password field
89
89
  */
90
90
  isPasswordVisible: boolean;
91
- /**
92
- * Internal flag to prevent duplicate client styling appends
93
- */
94
- private limitStylingAppends;
95
91
  /**
96
92
  * Stores error message from the API
97
93
  */
@@ -108,8 +104,10 @@ export declare class UserLogin {
108
104
  * Boolean for preventing user for clicking multiple times the login button
109
105
  */
110
106
  private isLoginLoading;
107
+ mbSource: string;
111
108
  private errorCode;
112
109
  private stylingContainer;
110
+ private stylingSubscription;
113
111
  updateLoginCredentialsEvent: CustomEvent;
114
112
  /**
115
113
  * Watch for changes in the translation URL and fetch new translations
@@ -121,14 +119,14 @@ export declare class UserLogin {
121
119
  * @param newValue - new client styling
122
120
  * @param oldValue - previous client styling
123
121
  */
124
- handleStylingChange(newValue: string, oldValue: string): void;
122
+ handleClientStylingChange(newValue: any, oldValue: any): void;
125
123
  /**
126
124
  * Watch for changes in the client styling URL and fetch the new CSS
127
125
  *
128
126
  * @param newValue - new client styling URL
129
127
  * @param oldValue - previous client styling URL
130
128
  */
131
- handleStylingUrlChange(newValue: string, oldValue: string): void;
129
+ handleClientStylingUrlChange(newValue: any, oldValue: any): void;
132
130
  /**
133
131
  * Lifecycle method: Fetch translations on component load
134
132
  */
@@ -137,22 +135,10 @@ export declare class UserLogin {
137
135
  * Lifecycle method: Set up event listeners after the component is rendered
138
136
  */
139
137
  componentDidLoad(): void;
140
- /**
141
- * Lifecycle method: Apply client styling after the component renders
142
- */
143
- componentDidRender(): void;
144
138
  /**
145
139
  * Lifecycle method: Clean up event listeners when the component is removed
146
140
  */
147
141
  disconnectedCallback(): void;
148
- /**
149
- * Apply inline client styling
150
- */
151
- setClientStyling: () => void;
152
- /**
153
- * Fetch and apply CSS from a provided URL
154
- */
155
- setClientStylingURL: () => void;
156
142
  /**
157
143
  * Fetch phone prefixes from the API
158
144
  */
@@ -27,6 +27,7 @@ export namespace Components {
27
27
  * If set to true, login will be done by phone number, else by username/email
28
28
  */
29
29
  "loginByPhoneNumber": string;
30
+ "mbSource": string;
30
31
  /**
31
32
  * Regular expression for validating the password
32
33
  */
@@ -98,6 +99,7 @@ declare namespace LocalJSX {
98
99
  * If set to true, login will be done by phone number, else by username/email
99
100
  */
100
101
  "loginByPhoneNumber"?: string;
102
+ "mbSource"?: string;
101
103
  /**
102
104
  * Regular expression for validating the password
103
105
  */