@nocobase/client 2.0.0-alpha.22 → 2.0.0-alpha.23

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
@@ -9612,7 +9612,7 @@ function addAppVersion(e, t) {
9612
9612
  addAppVersion((n = e.properties) == null ? void 0 : n[o], t);
9613
9613
  }), e;
9614
9614
  }
9615
- const name = "@nocobase/client", version = "2.0.0-alpha.22", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
9615
+ const name = "@nocobase/client", version = "2.0.0-alpha.23", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
9616
9616
  "@ahooksjs/use-url-state": "3.5.1",
9617
9617
  "@ant-design/cssinjs": "^1.11.1",
9618
9618
  "@ant-design/icons": "^5.6.1",
@@ -9635,10 +9635,10 @@ const name = "@nocobase/client", version = "2.0.0-alpha.22", license = "AGPL-3.0
9635
9635
  "@formily/reactive-react": "^2.2.27",
9636
9636
  "@formily/shared": "^2.2.27",
9637
9637
  "@formily/validator": "^2.2.27",
9638
- "@nocobase/evaluators": "2.0.0-alpha.22",
9639
- "@nocobase/flow-engine": "2.0.0-alpha.22",
9640
- "@nocobase/sdk": "2.0.0-alpha.22",
9641
- "@nocobase/utils": "2.0.0-alpha.22",
9638
+ "@nocobase/evaluators": "2.0.0-alpha.23",
9639
+ "@nocobase/flow-engine": "2.0.0-alpha.23",
9640
+ "@nocobase/sdk": "2.0.0-alpha.23",
9641
+ "@nocobase/utils": "2.0.0-alpha.23",
9642
9642
  "@tanstack/react-table": "^8.21.3",
9643
9643
  "@types/tabulator-tables": "^6.2.6",
9644
9644
  ahooks: "^3.7.2",
@@ -30041,7 +30041,7 @@ const useStyles$a = genStyleHook("nb-markdown", (e, { isDarkTheme: t }) => {
30041
30041
  }, t ? i : r)
30042
30042
  };
30043
30043
  }), parseMarkdown$1 = _.memoize((e) => O(void 0, null, function* () {
30044
- return e && (yield import("./md-oH2RssNY.mjs")).default.render(e);
30044
+ return e && (yield import("./md-BbvRKckr.mjs")).default.render(e);
30045
30045
  }));
30046
30046
  function useParseMarkdown$1(e) {
30047
30047
  const [t, o] = useState(""), [n, r] = useState(!0);
@@ -66127,7 +66127,7 @@ const getKey = (e) => `${e.params.viewUid}_${e.index}`, FlowRoute = () => {
66127
66127
  b.forEach((C) => {
66128
66128
  var S, v;
66129
66129
  (v = (S = a.current[getKey(C)]) == null ? void 0 : S.close) == null || v.call(S, !0), delete a.current[getKey(C)];
66130
- }), l.current = x;
66130
+ }), l.current = x.map((C, S) => (l.current[S] && (C.hidden = l.current[S].hidden), C));
66131
66131
  }),
66132
66132
  {
66133
66133
  fireImmediately: !0
@@ -67393,13 +67393,13 @@ BlockGridModel.registerFlow({
67393
67393
  steps: {
67394
67394
  grid: {
67395
67395
  handler(e, t) {
67396
- e.model.setProps("rowGap", e.themeToken.marginBlock), e.model.setProps("colGap", e.themeToken.marginBlock);
67396
+ e.model.setProps("rowGap", e.isMobileLayout ? 12 : e.themeToken.marginBlock), e.model.setProps("colGap", e.themeToken.marginBlock);
67397
67397
  }
67398
67398
  }
67399
67399
  }
67400
67400
  });
67401
67401
  const parseMarkdown = _.memoize((e) => O(void 0, null, function* () {
67402
- return e && (yield import("./md-BbvRKckr.mjs")).default.render(e);
67402
+ return e && (yield import("./md-oH2RssNY.mjs")).default.render(e);
67403
67403
  }));
67404
67404
  function useParseMarkdown(e) {
67405
67405
  const [t, o] = useState(""), [n, r] = useState(!0);
@@ -69344,10 +69344,10 @@ class PageModel extends FlowModel {
69344
69344
  tabBarStyle: this.props.tabBarStyle,
69345
69345
  items: this.mapTabs(),
69346
69346
  onChange: (n) => {
69347
- var r, i;
69347
+ var r, i, a;
69348
69348
  (i = (r = this.context.view.navigation) == null ? void 0 : r.changeTo) == null || i.call(r, {
69349
69349
  tabUid: n
69350
- }), this.invokeTabModelLifecycleMethod(n, "onActive"), this.invokeTabModelLifecycleMethod(this.tabActiveKey, "onInactive"), this.tabActiveKey = n;
69350
+ }), this.invokeTabModelLifecycleMethod(n, "onActive"), this.invokeTabModelLifecycleMethod(this.tabActiveKey, "onInactive"), this.tabActiveKey = n, (a = this.context.view.inputArgs) != null && a.tabUid && (this.context.view.inputArgs.tabUid = n);
69351
69351
  },
69352
69352
  tabBarExtraContent: f({
69353
69353
  right: /* @__PURE__ */ jsx(