@unizhen/ui 0.1.132 → 0.1.133

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.
Files changed (2) hide show
  1. package/lib/ui.js +5 -5
  2. package/package.json +1 -1
package/lib/ui.js CHANGED
@@ -3657,9 +3657,9 @@ var Ei = [
3657
3657
  showLabel: !1,
3658
3658
  showFeedback: !1,
3659
3659
  path: `child[${r}].${t.key}`,
3660
- rule: t.form.rule?.required ? {
3661
- ...t.form.rule,
3662
- validator: typeof t.form.rule.validator == "function" ? t.form.rule.validator : void 0,
3660
+ rule: t.form?.rule?.required ? {
3661
+ ...t.form?.rule,
3662
+ validator: typeof t.form?.rule.validator == "function" ? t.form?.rule.validator : void 0,
3663
3663
  index: r
3664
3664
  } : void 0
3665
3665
  }, { default: () => f(Tr, {
@@ -3702,7 +3702,7 @@ var Ei = [
3702
3702
  function Mi(e, t, n, s, u, d) {
3703
3703
  let f = D("NDataTable"), p = D("NForm");
3704
3704
  return x(), a("div", Oi, [o("div", ki, [
3705
- o("div", Ai, [c(A(e.item.label) + " ", 1), e.item.form.rule.required ? (x(), a("span", ji, " \xA0* ")) : i("", !0)]),
3705
+ o("div", Ai, [c(A(e.item.label) + " ", 1), e.item.form?.rule.required ? (x(), a("span", ji, " \xA0* ")) : i("", !0)]),
3706
3706
  t[0] ||= o("div", { class: "uz-br" }, null, -1),
3707
3707
  l(p, {
3708
3708
  ref: "formRef",
@@ -7815,7 +7815,7 @@ function ic(e, t, n) {
7815
7815
  }
7816
7816
  //#endregion
7817
7817
  //#region package.json
7818
- var ac = "0.1.132", oc;
7818
+ var ac = "0.1.133", oc;
7819
7819
  async function sc() {
7820
7820
  let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
7821
7821
  method: "HEAD",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unizhen/ui",
3
- "version": "0.1.132",
3
+ "version": "0.1.133",
4
4
  "author": {
5
5
  "name": "Donovan"
6
6
  },