@realtek/core-theme 0.0.222 → 0.0.223
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/dist-lib/index.cjs +1 -1
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +9 -2
- package/dist-lib/index.js.map +1 -1
- package/dist-lib/style.css +1 -1
- package/package.json +1 -1
package/dist-lib/index.js
CHANGED
|
@@ -7513,7 +7513,14 @@ function Pp({ moduleName: e, action: t, authToken: n, clientId: r, region: i, fo
|
|
|
7513
7513
|
watchPath: p(t.prefillWhen[0].field) ? [...f, t.prefillWhen[0].field] : Hf(t.prefillWhen[0].field),
|
|
7514
7514
|
targetPath: c,
|
|
7515
7515
|
resetOnNoMatch: t.prefillWhenReset !== !1
|
|
7516
|
-
}, `${t.field}-prefillWhen`) : null
|
|
7516
|
+
}, `${t.field}-prefillWhen`) : null;
|
|
7517
|
+
if (t.show === 0) return /* @__PURE__ */ Z(Gn, { children: [O, /* @__PURE__ */ X(V.Item, {
|
|
7518
|
+
name: s,
|
|
7519
|
+
hidden: !0,
|
|
7520
|
+
noStyle: !0,
|
|
7521
|
+
children: /* @__PURE__ */ X("input", { type: "hidden" })
|
|
7522
|
+
})] }, t.field);
|
|
7523
|
+
let k = !i.inline && rn(t).length > 0, A = (e) => k ? yn(t, g, (t) => e(gn(t, p(t.field)))) : g;
|
|
7517
7524
|
return Qt(t.showIf) || k ? /* @__PURE__ */ Z(Gn, { children: [O, /* @__PURE__ */ X(V.Item, {
|
|
7518
7525
|
shouldUpdate: !0,
|
|
7519
7526
|
noStyle: !0,
|
|
@@ -7685,7 +7692,7 @@ function Pp({ moduleName: e, action: t, authToken: n, clientId: r, region: i, fo
|
|
|
7685
7692
|
})
|
|
7686
7693
|
}, `${r}-${n}-${t.field}`);
|
|
7687
7694
|
}, cn = (e, t, n, r = !1, i) => {
|
|
7688
|
-
let a = /* @__PURE__ */ new Set(), o = [], s = new Set(e.map((e) => e.field).filter(Boolean)), c = e.filter((e) => e.show === void 0 || zf(e.show));
|
|
7695
|
+
let a = /* @__PURE__ */ new Set(), o = [], s = new Set(e.map((e) => e.field).filter(Boolean)), c = e.filter((e) => e.show === void 0 || zf(e.show) || e.show === 0 && !!e.prefillWhen?.length);
|
|
7689
7696
|
return c.forEach((e) => {
|
|
7690
7697
|
if (zf(e.addRow) && t === void 0) {
|
|
7691
7698
|
o.push(on(e));
|