@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
|
@@ -21,10 +21,10 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'user-login';
|
|
24
|
-
const BUILD = /* user-login */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender:
|
|
24
|
+
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 };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
27
|
+
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
@@ -345,31 +345,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
345
345
|
if (nonce != null) {
|
|
346
346
|
styleElm.setAttribute("nonce", nonce);
|
|
347
347
|
}
|
|
348
|
-
|
|
349
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
350
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
351
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
352
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
353
|
-
} else if ("host" in styleContainerNode) {
|
|
354
|
-
if (supportsConstructableStylesheets) {
|
|
355
|
-
const stylesheet = new CSSStyleSheet();
|
|
356
|
-
stylesheet.replaceSync(style);
|
|
357
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
358
|
-
} else {
|
|
359
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
360
|
-
if (existingStyleContainer) {
|
|
361
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
362
|
-
} else {
|
|
363
|
-
styleContainerNode.prepend(styleElm);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
} else {
|
|
367
|
-
styleContainerNode.append(styleElm);
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
371
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
372
|
-
}
|
|
348
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
373
349
|
}
|
|
374
350
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
375
351
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -392,7 +368,7 @@ var attachStyles = (hostRef) => {
|
|
|
392
368
|
const scopeId2 = addStyle(
|
|
393
369
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
394
370
|
cmpMeta);
|
|
395
|
-
if (flags & 10 /* needsScopedEncapsulation */
|
|
371
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
396
372
|
elm["s-sc"] = scopeId2;
|
|
397
373
|
elm.classList.add(scopeId2 + "-h");
|
|
398
374
|
}
|
|
@@ -440,11 +416,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
440
416
|
if (memberName === "list") {
|
|
441
417
|
isProp = false;
|
|
442
418
|
} else if (oldValue == null || elm[memberName] != n) {
|
|
443
|
-
|
|
444
|
-
elm[memberName] = n;
|
|
445
|
-
} else {
|
|
446
|
-
elm.setAttribute(memberName, n);
|
|
447
|
-
}
|
|
419
|
+
elm[memberName] = n;
|
|
448
420
|
}
|
|
449
421
|
} else {
|
|
450
422
|
elm[memberName] = newValue;
|
|
@@ -524,9 +496,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
524
496
|
{
|
|
525
497
|
updateElement(null, newVNode2, isSvgMode);
|
|
526
498
|
}
|
|
527
|
-
|
|
528
|
-
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
529
|
-
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
499
|
+
if (isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
530
500
|
elm.classList.add(elm["s-si"] = scopeId);
|
|
531
501
|
}
|
|
532
502
|
if (newVNode2.$children$) {
|
|
@@ -691,10 +661,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
691
661
|
elm.textContent = "";
|
|
692
662
|
}
|
|
693
663
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
694
|
-
} else if (
|
|
695
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
696
|
-
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
697
|
-
) {
|
|
664
|
+
} else if (oldChildren !== null) {
|
|
698
665
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
699
666
|
}
|
|
700
667
|
if (isSvgMode && tag === "svg") {
|
|
@@ -842,9 +809,6 @@ var postUpdateComponent = (hostRef) => {
|
|
|
842
809
|
const endPostUpdate = createTime("postUpdate", tagName);
|
|
843
810
|
const instance = hostRef.$lazyInstance$ ;
|
|
844
811
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
845
|
-
{
|
|
846
|
-
safeCall(instance, "componentDidRender");
|
|
847
|
-
}
|
|
848
812
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
849
813
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
850
814
|
{
|
|
@@ -965,8 +929,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
965
929
|
if (this.hasOwnProperty(propName)) {
|
|
966
930
|
newValue = this[propName];
|
|
967
931
|
delete this[propName];
|
|
968
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
969
|
-
this[propName] == newValue) {
|
|
932
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
|
|
970
933
|
return;
|
|
971
934
|
} else if (propName == null) {
|
|
972
935
|
const hostRef = getHostRef(this);
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2eb404c0.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy([["user-login.cjs",[[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],"
|
|
11
|
+
return index.bootstrapLazy([["user-login.cjs",[[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);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|