@unizhen/ui 0.1.5 → 0.1.7

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
@@ -5629,7 +5629,7 @@ const w1 = () => new Promise((e) => {
5629
5629
  }), i = ds(i).join("-")) : i = l[n[1]], e.input === "select" && e.params.valueKey && (a = l[e.params.valueKey]), {
5630
5630
  label: i,
5631
5631
  value: a,
5632
- disabled: l?.status === "0",
5632
+ disabled: l?.is_disabled === "1",
5633
5633
  params: l
5634
5634
  };
5635
5635
  }), Ie = /* @__PURE__ */ new Map();
@@ -5873,7 +5873,7 @@ function mt(e, t, n) {
5873
5873
  h.push({
5874
5874
  label: t[`${o.key}Str`],
5875
5875
  value: t[o.key],
5876
- disabled: t.is_disabled || !1,
5876
+ disabled: t?.is_disabled === "1" || !1,
5877
5877
  params: {}
5878
5878
  });
5879
5879
  h.push({
@@ -6675,7 +6675,7 @@ const pa = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
6675
6675
  Ke({
6676
6676
  tableId: e.id || l.params.id,
6677
6677
  ...O,
6678
- is_disabled: 1
6678
+ is_disabled: "1"
6679
6679
  }).then(() => {
6680
6680
  ce();
6681
6681
  }).catch(() => null);
@@ -6685,7 +6685,7 @@ const pa = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
6685
6685
  Ke({
6686
6686
  tableId: e.id || l.params.id,
6687
6687
  ...O,
6688
- is_disabled: 0
6688
+ is_disabled: "0"
6689
6689
  }).then(() => {
6690
6690
  ce();
6691
6691
  }).catch(() => null);
@@ -8870,7 +8870,7 @@ function tm(e, t, n) {
8870
8870
  refetch: S
8871
8871
  };
8872
8872
  }
8873
- const x0 = "0.1.5";
8873
+ const x0 = "0.1.7";
8874
8874
  let ba;
8875
8875
  async function xa() {
8876
8876
  const e = await fetch(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unizhen/ui",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "author": {
5
5
  "name": "Donovan"
6
6
  },