@vectoriox/iox-ui 5.62.0 → 5.63.0

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.
@@ -13710,7 +13710,8 @@ function expandWireField(wire) {
13710
13710
  function expandWireContentType(wire, options = {}) {
13711
13711
  if (!isPlainObject(wire))
13712
13712
  return wire;
13713
- const { roles, fields, seed, ...rest } = options.children === false ? { fields: [], ...wire } : wire;
13713
+ const written = options.children === false ? { fields: [], ...wire } : wire;
13714
+ const { roles, fields, seed, ...rest } = written;
13714
13715
  const out = { ...rest, roles: listToMap(roles, 'role', 'field'), fields: each(fields, expandWireField) };
13715
13716
  if (!isPlainObject(seed))
13716
13717
  return seed === undefined ? out : { ...out, seed };
@@ -13749,7 +13750,8 @@ function expandWireSection(wire) {
13749
13750
  function expandWirePage(wire, options = {}) {
13750
13751
  if (!isPlainObject(wire))
13751
13752
  return wire;
13752
- const { archetype, need, template, routeSource, seo, sections, ...rest } = options.children === false ? { sections: [], ...wire } : wire;
13753
+ const written = options.children === false ? { sections: [], ...wire } : wire;
13754
+ const { archetype, need, template, routeSource, seo, sections, ...rest } = written;
13753
13755
  const words = isPlainObject(seo) ? { ...optional('title', seo['title']), ...optional('description', seo['description']) } : seo;
13754
13756
  return {
13755
13757
  ...rest,