@nocobase/client 1.2.35-alpha → 1.2.36-alpha

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/es/index.mjs CHANGED
@@ -3977,7 +3977,7 @@ function addAppVersion(e, t) {
3977
3977
  addAppVersion((n = e.properties) == null ? void 0 : n[o], t);
3978
3978
  }), e;
3979
3979
  }
3980
- const name = "@nocobase/client", version$1 = "1.2.35-alpha", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
3980
+ const name = "@nocobase/client", version$1 = "1.2.36-alpha", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
3981
3981
  "@ahooksjs/use-url-state": "3.5.1",
3982
3982
  "@ant-design/cssinjs": "^1.11.1",
3983
3983
  "@ant-design/icons": "^5.1.4",
@@ -3998,9 +3998,9 @@ const name = "@nocobase/client", version$1 = "1.2.35-alpha", license = "AGPL-3.0
3998
3998
  "@formily/reactive-react": "^2.2.27",
3999
3999
  "@formily/shared": "^2.2.27",
4000
4000
  "@formily/validator": "^2.2.27",
4001
- "@nocobase/evaluators": "1.2.35-alpha",
4002
- "@nocobase/sdk": "1.2.35-alpha",
4003
- "@nocobase/utils": "1.2.35-alpha",
4001
+ "@nocobase/evaluators": "1.2.36-alpha",
4002
+ "@nocobase/sdk": "1.2.36-alpha",
4003
+ "@nocobase/utils": "1.2.36-alpha",
4004
4004
  ahooks: "^3.7.2",
4005
4005
  antd: "^5.12.8",
4006
4006
  "antd-style": "3.4.5",
@@ -15417,10 +15417,10 @@ const InternalTableBlockProvider = (e) => {
15417
15417
  onChange: useCallback(
15418
15418
  ({ current: S, pageSize: b }, y, v) => {
15419
15419
  var w, M, N;
15420
- const I = o.dragSort ? o.dragSortBy : v.order ? v.order === "ascend" ? [v.field] : [`-${v.field}`] : n || o.dragSortBy, A = b || ((N = (M = (w = t.parent) == null ? void 0 : w["x-decorator-props"]) == null ? void 0 : M.params) == null ? void 0 : N.pageSize), k = F(g({}, a == null ? void 0 : a[0]), { page: S || 1, pageSize: A });
15420
+ const I = v.order ? v.order === "ascend" ? [v.field] : [`-${v.field}`] : n || o.dragSortBy, A = b || ((N = (M = (w = t.parent) == null ? void 0 : w["x-decorator-props"]) == null ? void 0 : M.params) == null ? void 0 : N.pageSize), k = F(g({}, a == null ? void 0 : a[0]), { page: S || 1, pageSize: A });
15421
15421
  I && (k.sort = I), o.service.run(k);
15422
15422
  },
15423
- [n, a]
15423
+ [n, a, o.dragSort]
15424
15424
  ),
15425
15425
  onClickRow: useCallback(
15426
15426
  (S, b, y) => {
@@ -35010,7 +35010,7 @@ const useColumnsDeepMemoized = (e) => {
35010
35010
  const { setVisible: v } = useActionContext(), { selectedRows: I, setSelectedRows: A } = useContext(RecordPickerContext);
35011
35011
  return {
35012
35012
  onClick() {
35013
- I.map((k) => o.value.push(k)), o.onInput(o.value), A([]), v(!1);
35013
+ I.map((k) => o.value.push(k)), o.onInput(o.value), o.initialValue = o.value, A([]), v(!1);
35014
35014
  }
35015
35015
  };
35016
35016
  }, y = () => {