@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.
@@ -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: true, 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 };
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.22.3 | MIT Licensed | https://stenciljs.com
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
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
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 */ && flags & 2 /* scopedCssEncapsulation */) {
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
- if (typeof elm.__lookupSetter__(memberName) === "function") {
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
- const rootNode = elm.getRootNode();
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" && // cast type to number to avoid TS compiler issues
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);
@@ -1,11 +1,11 @@
1
- import { b as bootstrapLazy } from './index-824bb999.js';
2
- export { s as setNonce } from './index-824bb999.js';
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],"limitStylingAppends":[32],"errorMessage":[32],"hasError":[32],"userPrefixOptions":[32],"isLoginLoading":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}]]]], options);
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 };