@fileverse-dev/ddoc 3.0.53-patch-17 → 3.0.53-patch-19

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/dist/index.es.js +5 -4
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -170004,7 +170004,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
170004
170004
  const [a, l] = Ne("default"), [u, c] = Ne([]), d = Ot(() => u.length > 0, [u]), p = Be(
170005
170005
  (y) => {
170006
170006
  if (!e || y === a) return;
170007
- if (!i) {
170007
+ if (console.log("xxxxxxx", { shouldSyncActiveTab: i, id: y }), !i) {
170008
170008
  l(y);
170009
170009
  return;
170010
170010
  }
@@ -170015,7 +170015,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
170015
170015
  },
170016
170016
  [a, e, i]
170017
170017
  );
170018
- console.log({ defaultTabId: s }), Ie(() => {
170018
+ Ie(() => {
170019
170019
  if (!e) return;
170020
170020
  if (t || r && !n && !t) {
170021
170021
  const { tabList: x, activeTabId: v } = _de(
@@ -170053,7 +170053,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
170053
170053
  showOutline: _.get("showOutline"),
170054
170054
  emoji: _.get("emoji")
170055
170055
  });
170056
- }), c(I), l((A == null ? void 0 : A.toString()) || "");
170056
+ }), c(I), l(() => i ? A == null ? void 0 : A.toString() : s || "default");
170057
170057
  }, D = () => {
170058
170058
  x && x.unobserve(v), x = y.get("order"), x == null || x.observe(v);
170059
170059
  };
@@ -170064,7 +170064,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
170064
170064
  return y.observe(w), () => {
170065
170065
  x == null || x.unobserve(v), y.unobserve(w);
170066
170066
  };
170067
- }, [e]);
170067
+ }, [e, s, i]);
170068
170068
  const h = Be(() => {
170069
170069
  const y = e.getMap("ddocTabs"), x = y.get("order"), v = y.get("tabs"), D = y.get("activeTabId");
170070
170070
  if (!(x instanceof yl))
@@ -184518,6 +184518,7 @@ const Eqe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
184518
184518
  collaborationKeyPair: nt,
184519
184519
  collabConfig: it,
184520
184520
  isDDocOwner: ee,
184521
+ tabConfig: Se,
184521
184522
  ...pt
184522
184523
  });
184523
184524
  VR(
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "3.0.53-patch-17",
5
+ "version": "3.0.53-patch-19",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {