@everymatrix/user-login 1.55.0 → 1.56.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/{index-ce110273.js → index-2eb404c0.js} +8 -45
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/user-login.cjs.entry.js +10472 -9681
- package/dist/cjs/user-login.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/user-login/user-login.js +55 -52
- package/dist/collection/utils/locale.utils.js +156 -144
- package/dist/esm/{index-824bb999.js → index-996f8854.js} +8 -45
- package/dist/esm/loader.js +3 -3
- package/dist/esm/user-login.entry.js +10472 -9681
- package/dist/esm/user-login.js +4 -4
- package/dist/types/components/user-login/user-login.d.ts +5 -19
- package/dist/types/components.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/dist/user-login/p-8cb697c3.js +2 -0
- package/dist/user-login/p-ae8e5f4e.entry.js +2655 -0
- package/dist/user-login/user-login.esm.js +1 -1
- package/package.json +1 -1
- package/dist/user-login/p-57aa7a6f.js +0 -2
- package/dist/user-login/p-87c4cda6.entry.js +0 -3119
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const NAMESPACE = 'user-login';
|
|
2
|
-
const BUILD = /* user-login */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender:
|
|
2
|
+
const BUILD = /* user-login */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -323,31 +323,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
323
323
|
if (nonce != null) {
|
|
324
324
|
styleElm.setAttribute("nonce", nonce);
|
|
325
325
|
}
|
|
326
|
-
|
|
327
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
328
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
329
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
330
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
331
|
-
} else if ("host" in styleContainerNode) {
|
|
332
|
-
if (supportsConstructableStylesheets) {
|
|
333
|
-
const stylesheet = new CSSStyleSheet();
|
|
334
|
-
stylesheet.replaceSync(style);
|
|
335
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
336
|
-
} else {
|
|
337
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
338
|
-
if (existingStyleContainer) {
|
|
339
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
340
|
-
} else {
|
|
341
|
-
styleContainerNode.prepend(styleElm);
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
} else {
|
|
345
|
-
styleContainerNode.append(styleElm);
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
349
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
350
|
-
}
|
|
326
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
351
327
|
}
|
|
352
328
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
353
329
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -370,7 +346,7 @@ var attachStyles = (hostRef) => {
|
|
|
370
346
|
const scopeId2 = addStyle(
|
|
371
347
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
372
348
|
cmpMeta);
|
|
373
|
-
if (flags & 10 /* needsScopedEncapsulation */
|
|
349
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
374
350
|
elm["s-sc"] = scopeId2;
|
|
375
351
|
elm.classList.add(scopeId2 + "-h");
|
|
376
352
|
}
|
|
@@ -418,11 +394,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
418
394
|
if (memberName === "list") {
|
|
419
395
|
isProp = false;
|
|
420
396
|
} else if (oldValue == null || elm[memberName] != n) {
|
|
421
|
-
|
|
422
|
-
elm[memberName] = n;
|
|
423
|
-
} else {
|
|
424
|
-
elm.setAttribute(memberName, n);
|
|
425
|
-
}
|
|
397
|
+
elm[memberName] = n;
|
|
426
398
|
}
|
|
427
399
|
} else {
|
|
428
400
|
elm[memberName] = newValue;
|
|
@@ -502,9 +474,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
502
474
|
{
|
|
503
475
|
updateElement(null, newVNode2, isSvgMode);
|
|
504
476
|
}
|
|
505
|
-
|
|
506
|
-
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
507
|
-
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
477
|
+
if (isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
508
478
|
elm.classList.add(elm["s-si"] = scopeId);
|
|
509
479
|
}
|
|
510
480
|
if (newVNode2.$children$) {
|
|
@@ -669,10 +639,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
669
639
|
elm.textContent = "";
|
|
670
640
|
}
|
|
671
641
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
672
|
-
} else if (
|
|
673
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
674
|
-
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
675
|
-
) {
|
|
642
|
+
} else if (oldChildren !== null) {
|
|
676
643
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
677
644
|
}
|
|
678
645
|
if (isSvgMode && tag === "svg") {
|
|
@@ -820,9 +787,6 @@ var postUpdateComponent = (hostRef) => {
|
|
|
820
787
|
const endPostUpdate = createTime("postUpdate", tagName);
|
|
821
788
|
const instance = hostRef.$lazyInstance$ ;
|
|
822
789
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
823
|
-
{
|
|
824
|
-
safeCall(instance, "componentDidRender");
|
|
825
|
-
}
|
|
826
790
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
827
791
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
828
792
|
{
|
|
@@ -943,8 +907,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
943
907
|
if (this.hasOwnProperty(propName)) {
|
|
944
908
|
newValue = this[propName];
|
|
945
909
|
delete this[propName];
|
|
946
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
947
|
-
this[propName] == newValue) {
|
|
910
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
|
|
948
911
|
return;
|
|
949
912
|
} else if (propName == null) {
|
|
950
913
|
const hostRef = getHostRef(this);
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-996f8854.js';
|
|
2
|
+
export { s as setNonce } from './index-996f8854.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
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],"
|
|
8
|
+
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);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|