@mgdis/core-ui-helpers 1.0.3 → 1.0.5

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.
@@ -7,7 +7,7 @@ var BUILD = {
7
7
  };
8
8
 
9
9
  /*
10
- Stencil Client Platform v4.36.0 | MIT Licensed | https://stenciljs.com
10
+ Stencil Client Platform v4.38.0 | MIT Licensed | https://stenciljs.com
11
11
  */
12
12
  var __defProp = Object.defineProperty;
13
13
  var __export = (target, all) => {
@@ -815,9 +815,13 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
815
815
  hostTagName = hostElm.tagName;
816
816
  if (cmpMeta.$attrsToReflect$) {
817
817
  rootVnode.$attrs$ = rootVnode.$attrs$ || {};
818
- cmpMeta.$attrsToReflect$.map(
819
- ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
820
- );
818
+ cmpMeta.$attrsToReflect$.forEach(([propName, attribute]) => {
819
+ if (BUILD.serializer && hostRef.$serializerValues$.has(propName)) {
820
+ rootVnode.$attrs$[attribute] = hostRef.$serializerValues$.get(propName);
821
+ } else {
822
+ rootVnode.$attrs$[attribute] = hostElm[propName];
823
+ }
824
+ });
821
825
  }
822
826
  if (isInitialLoad && rootVnode.$attrs$) {
823
827
  for (const key of Object.keys(rootVnode.$attrs$)) {