@partex/one-core 2.0.4 → 2.0.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.
- package/lib/one-core.cjs +8 -3
- package/lib/one-core.js +11 -5
- package/lib/one-core.umd.cjs +8 -3
- package/package.json +1 -1
package/lib/one-core.js
CHANGED
|
@@ -970,7 +970,7 @@ const Ze = (e, a) => G(
|
|
|
970
970
|
new Function("rowData", "rowIndex", s)(r, u);
|
|
971
971
|
};
|
|
972
972
|
} else
|
|
973
|
-
f.onClick = e.onClick.bind(r, u);
|
|
973
|
+
f.onClick = e.onClick.bind(void 0, r, u);
|
|
974
974
|
return t && (i.icon = () => G(
|
|
975
975
|
se,
|
|
976
976
|
{},
|
|
@@ -994,7 +994,7 @@ const Ze = (e, a) => G(
|
|
|
994
994
|
new Function("rowData", "rowIndex", f)(t, r);
|
|
995
995
|
};
|
|
996
996
|
} else
|
|
997
|
-
u["on-positive-click"] = a.onClick.bind(t, r);
|
|
997
|
+
u["on-positive-click"] = a.onClick.bind(void 0, t, r);
|
|
998
998
|
return G(bo, u, {
|
|
999
999
|
default: () => G(
|
|
1000
1000
|
"span",
|
|
@@ -6030,7 +6030,8 @@ const Sg = /* @__PURE__ */ M(kg, [["render", Tg]]), Og = W({
|
|
|
6030
6030
|
key: "action",
|
|
6031
6031
|
align: "center",
|
|
6032
6032
|
fixed: "right",
|
|
6033
|
-
|
|
6033
|
+
minWidth: 180,
|
|
6034
|
+
resizable: !0,
|
|
6034
6035
|
checked: !0,
|
|
6035
6036
|
show: !0,
|
|
6036
6037
|
hide: !0,
|
|
@@ -6327,7 +6328,12 @@ const yn = /* @__PURE__ */ M(Og, [["render", Ig]]), Dg = (e, a, t, r) => `<templ
|
|
|
6327
6328
|
:fetch="fetchData"
|
|
6328
6329
|
:add-fn="drawerAdd"
|
|
6329
6330
|
></OcTable>
|
|
6330
|
-
<n-drawer
|
|
6331
|
+
<n-drawer
|
|
6332
|
+
v-model:show="drawer"
|
|
6333
|
+
width="900"
|
|
6334
|
+
placement="right"
|
|
6335
|
+
:on-update:show="drawerCancel"
|
|
6336
|
+
>
|
|
6331
6337
|
<n-drawer-content
|
|
6332
6338
|
:title="ocFormEdit ? $t('Common.edit') : $t('Common.add')"
|
|
6333
6339
|
closable
|
|
@@ -8721,7 +8727,7 @@ const bb = /* @__PURE__ */ M(Yg, [["render", gb]]), ho = /* @__PURE__ */ Object.
|
|
|
8721
8727
|
langUS: av,
|
|
8722
8728
|
scaleStore: Go,
|
|
8723
8729
|
userStore: N
|
|
8724
|
-
}, Symbol.toStringTag, { value: "Module" })), yb = "2.0.
|
|
8730
|
+
}, Symbol.toStringTag, { value: "Module" })), yb = "2.0.6";
|
|
8725
8731
|
let _n;
|
|
8726
8732
|
async function $n() {
|
|
8727
8733
|
const e = await fetch(
|