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