@unizhen/ui 0.1.4 → 0.1.6

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 +4 -2
  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();
@@ -6673,6 +6673,7 @@ const pa = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
6673
6673
  else if (v.type !== "group" && v.action === "disabledInside")
6674
6674
  v.onClick = (O) => {
6675
6675
  Ke({
6676
+ tableId: e.id || l.params.id,
6676
6677
  ...O,
6677
6678
  is_disabled: 1
6678
6679
  }).then(() => {
@@ -6682,6 +6683,7 @@ const pa = /* @__PURE__ */ w(b1, [["render", x1]]), _1 = re({
6682
6683
  else if (v.type !== "group" && v.action === "enabledInside")
6683
6684
  v.onClick = (O) => {
6684
6685
  Ke({
6686
+ tableId: e.id || l.params.id,
6685
6687
  ...O,
6686
6688
  is_disabled: 0
6687
6689
  }).then(() => {
@@ -8868,7 +8870,7 @@ function tm(e, t, n) {
8868
8870
  refetch: S
8869
8871
  };
8870
8872
  }
8871
- const x0 = "0.1.4";
8873
+ const x0 = "0.1.6";
8872
8874
  let ba;
8873
8875
  async function xa() {
8874
8876
  const e = await fetch(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unizhen/ui",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "author": {
5
5
  "name": "Donovan"
6
6
  },