@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.
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +4 -2
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +54 -16
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/harness-core/index.d.ts +10 -3
- package/package.json +1 -1
- package/src/generation-core/plan-wire.ts +4 -2
- package/src/harness-core/site-analysis.ts +43 -8
- package/src/harness-core/site-reading.ts +16 -7
|
@@ -13710,7 +13710,8 @@ function expandWireField(wire) {
|
|
|
13710
13710
|
function expandWireContentType(wire, options = {}) {
|
|
13711
13711
|
if (!isPlainObject(wire))
|
|
13712
13712
|
return wire;
|
|
13713
|
-
const
|
|
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
|
|
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,
|