sibujs 3.3.2 → 3.4.0

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 (77) hide show
  1. package/dist/browser.cjs +21 -4
  2. package/dist/browser.js +4 -4
  3. package/dist/build.cjs +3343 -3009
  4. package/dist/build.js +12 -11
  5. package/dist/cdn.global.js +7 -7
  6. package/dist/{chunk-AEOLHSSQ.js → chunk-3DVGCW7O.js} +72 -25
  7. package/dist/{chunk-6TCOWMGY.js → chunk-3Z2NGWQI.js} +1 -1
  8. package/dist/chunk-7ZHH77QA.js +9 -0
  9. package/dist/{chunk-2ARSB7NG.js → chunk-APFRCIRI.js} +2906 -2569
  10. package/dist/{chunk-62V653X2.js → chunk-AXFWGY32.js} +79 -44
  11. package/dist/{chunk-N5TQVEKE.js → chunk-BUKYCWHX.js} +1 -1
  12. package/dist/{chunk-655B7MMR.js → chunk-CEBWDD63.js} +15 -8
  13. package/dist/{chunk-YUBEOWII.js → chunk-ELXMRSVN.js} +16 -5
  14. package/dist/{chunk-FJIRS3FM.js → chunk-F7HW2NI5.js} +1 -3
  15. package/dist/{chunk-P7C7SEJV.js → chunk-FKQG7FTY.js} +5 -5
  16. package/dist/{chunk-RLTFJYDN.js → chunk-H5FI5WDP.js} +1 -1
  17. package/dist/{chunk-G6N3LMO2.js → chunk-ITWCTZYH.js} +1 -1
  18. package/dist/{chunk-YUR5SX7F.js → chunk-JCO7AHNU.js} +70 -59
  19. package/dist/{chunk-ZEUP4TUD.js → chunk-JNGGM2XE.js} +6 -6
  20. package/dist/{chunk-QCFBIVIQ.js → chunk-K35BAR4P.js} +1 -1
  21. package/dist/{chunk-JCQG2I2G.js → chunk-KZBEVFXZ.js} +1 -1
  22. package/dist/{chunk-FJO2ZL4Q.js → chunk-OAVXAFAY.js} +73 -16
  23. package/dist/{chunk-A7CZH3GN.js → chunk-ODXVQ3CS.js} +41 -20
  24. package/dist/{chunk-4NJEAPLI.js → chunk-OOUQUCNN.js} +1 -1
  25. package/dist/{chunk-5VH3GIDX.js → chunk-RT3IYFN2.js} +1 -1
  26. package/dist/{chunk-Q46YIQYW.js → chunk-S3V6ZXPI.js} +22 -5
  27. package/dist/{chunk-IQJ36UTJ.js → chunk-WSGLJYFI.js} +31 -24
  28. package/dist/{chunk-3JHCYHWN.js → chunk-WWV3SJ3L.js} +19 -13
  29. package/dist/data.cjs +16 -2
  30. package/dist/data.js +7 -6
  31. package/dist/devtools.cjs +71 -21
  32. package/dist/devtools.d.cts +12 -5
  33. package/dist/devtools.d.ts +12 -5
  34. package/dist/devtools.js +6 -5
  35. package/dist/ecosystem.cjs +11 -2
  36. package/dist/ecosystem.d.cts +1 -1
  37. package/dist/ecosystem.d.ts +1 -1
  38. package/dist/ecosystem.js +10 -9
  39. package/dist/extras.cjs +454 -250
  40. package/dist/extras.d.cts +2 -2
  41. package/dist/extras.d.ts +2 -2
  42. package/dist/extras.js +26 -22
  43. package/dist/index.cjs +3385 -3045
  44. package/dist/index.d.cts +1179 -1057
  45. package/dist/index.d.ts +1179 -1057
  46. package/dist/index.js +32 -19
  47. package/dist/motion.cjs +223 -204
  48. package/dist/motion.d.cts +8 -1
  49. package/dist/motion.d.ts +8 -1
  50. package/dist/motion.js +6 -3
  51. package/dist/patterns.cjs +13 -6
  52. package/dist/patterns.d.cts +4 -1
  53. package/dist/patterns.d.ts +4 -1
  54. package/dist/patterns.js +5 -5
  55. package/dist/performance.cjs +70 -56
  56. package/dist/performance.js +6 -5
  57. package/dist/plugins.cjs +98 -42
  58. package/dist/plugins.d.cts +2 -1
  59. package/dist/plugins.d.ts +2 -1
  60. package/dist/plugins.js +89 -36
  61. package/dist/ssr.cjs +112 -91
  62. package/dist/ssr.d.cts +8 -1
  63. package/dist/ssr.d.ts +8 -1
  64. package/dist/ssr.js +9 -8
  65. package/dist/{tagFactory-S17H2qxu.d.ts → tagFactory-Bzupt4Pj.d.cts} +1 -1
  66. package/dist/{tagFactory-S17H2qxu.d.cts → tagFactory-Bzupt4Pj.d.ts} +1 -1
  67. package/dist/testing.cjs +18 -4
  68. package/dist/testing.js +18 -7
  69. package/dist/ui.cjs +322 -281
  70. package/dist/ui.d.cts +0 -20
  71. package/dist/ui.d.ts +0 -20
  72. package/dist/ui.js +27 -21
  73. package/dist/widgets.cjs +75 -13
  74. package/dist/widgets.d.cts +6 -1
  75. package/dist/widgets.d.ts +6 -1
  76. package/dist/widgets.js +7 -6
  77. package/package.json +4 -1
@@ -1,3 +1,7 @@
1
+ import {
2
+ globalSingleton
3
+ } from "./chunk-7ZHH77QA.js";
4
+
1
5
  // src/plugins/plugin.ts
2
6
  function createPluginRegistry() {
3
7
  const installedPlugins = /* @__PURE__ */ new Set();
@@ -77,39 +81,41 @@ function createPluginRegistry() {
77
81
  };
78
82
  return registry;
79
83
  }
80
- var defaultRegistry = createPluginRegistry();
81
- var defaultRegistryTouched = false;
84
+ var _defaults = globalSingleton(/* @__PURE__ */ Symbol.for("sibujs.plugins.defaultRegistry.v1"), () => ({
85
+ registry: createPluginRegistry(),
86
+ touched: false
87
+ }));
82
88
  function createPlugin(name, install) {
83
89
  return { name, install };
84
90
  }
85
91
  function plugin(plugin2, options) {
86
- defaultRegistryTouched = true;
87
- defaultRegistry.plugin(plugin2, options);
92
+ _defaults.touched = true;
93
+ _defaults.registry.plugin(plugin2, options);
88
94
  }
89
95
  function inject(key, defaultValue) {
90
- return defaultRegistry.inject(key, defaultValue);
96
+ return _defaults.registry.inject(key, defaultValue);
91
97
  }
92
98
  function triggerPluginMount(element) {
93
- defaultRegistry.triggerMount(element);
99
+ _defaults.registry.triggerMount(element);
94
100
  }
95
101
  function triggerPluginUnmount(element) {
96
- defaultRegistry.triggerUnmount(element);
102
+ _defaults.registry.triggerUnmount(element);
97
103
  }
98
104
  function triggerPluginError(error) {
99
- defaultRegistry.triggerError(error);
105
+ _defaults.registry.triggerError(error);
100
106
  }
101
107
  function resetPlugins() {
102
- defaultRegistry.reset();
103
- defaultRegistryTouched = false;
108
+ _defaults.registry.reset();
109
+ _defaults.touched = false;
104
110
  }
105
111
  function setDefaultPluginRegistry(registry) {
106
- if (defaultRegistryTouched && defaultRegistry.installedPlugins.size > 0) {
112
+ if (_defaults.touched && _defaults.registry.installedPlugins.size > 0) {
107
113
  console.warn(
108
114
  "[Plugin] Replacing default plugin registry while plugins are already installed on the singleton. This may indicate mixed singleton/registry usage."
109
115
  );
110
116
  }
111
- defaultRegistry = registry;
112
- defaultRegistryTouched = true;
117
+ _defaults.registry = registry;
118
+ _defaults.touched = true;
113
119
  }
114
120
 
115
121
  export {
package/dist/data.cjs CHANGED
@@ -482,7 +482,7 @@ function forEachSubscriber(signal2, visit) {
482
482
 
483
483
  // src/reactivity/track.ts
484
484
  var _isDev3 = isDev();
485
- var _runtimeVersion = true ? "3.3.2" : "dev";
485
+ var _runtimeVersion = true ? "3.4.0" : "dev";
486
486
  var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
487
487
  function resolveReactiveApi() {
488
488
  const g = globalThis;
@@ -904,6 +904,12 @@ function signal(initial, options) {
904
904
  return [get, set];
905
905
  }
906
906
 
907
+ // src/utils/globalSingleton.ts
908
+ function globalSingleton(key, create) {
909
+ const g = globalThis;
910
+ return g[key] ?? (g[key] = create());
911
+ }
912
+
907
913
  // src/data/retry.ts
908
914
  function calculateDelay(attempt, strategy, baseDelay, maxDelay, jitter) {
909
915
  let delay;
@@ -965,7 +971,7 @@ async function withRetry(fn, options, onRetry, signal2) {
965
971
  }
966
972
 
967
973
  // src/data/query.ts
968
- var globalQueryCache = /* @__PURE__ */ new Map();
974
+ var globalQueryCache = globalSingleton(/* @__PURE__ */ Symbol.for("sibujs.query.cache.v1"), () => /* @__PURE__ */ new Map());
969
975
  function getActiveQueryCache() {
970
976
  return getRequestScopedCache("query") ?? globalQueryCache;
971
977
  }
@@ -1987,6 +1993,10 @@ function socket(url, options) {
1987
1993
  }
1988
1994
  function connect() {
1989
1995
  if (disposed) return;
1996
+ if (typeof WebSocket === "undefined") {
1997
+ setStatus("closed");
1998
+ return;
1999
+ }
1990
2000
  const safeUrl = validateWsUrl(getUrl());
1991
2001
  if (safeUrl === null) {
1992
2002
  setStatus("closed");
@@ -2107,6 +2117,10 @@ function stream(url, options) {
2107
2117
  let attempts = 0;
2108
2118
  function connect() {
2109
2119
  if (disposed) return;
2120
+ if (typeof EventSource === "undefined") {
2121
+ setStatus("closed");
2122
+ return;
2123
+ }
2110
2124
  const safeUrl = validateSseUrl(url);
2111
2125
  if (safeUrl === null) {
2112
2126
  setStatus("closed");
package/dist/data.js CHANGED
@@ -20,14 +20,15 @@ import {
20
20
  syncAdapter,
21
21
  throttle,
22
22
  withRetry
23
- } from "./chunk-YUBEOWII.js";
24
- import "./chunk-5VH3GIDX.js";
25
- import "./chunk-G6N3LMO2.js";
23
+ } from "./chunk-ELXMRSVN.js";
24
+ import "./chunk-RT3IYFN2.js";
25
+ import "./chunk-ITWCTZYH.js";
26
+ import "./chunk-7ZHH77QA.js";
26
27
  import "./chunk-L3GAGWCC.js";
27
- import "./chunk-N5TQVEKE.js";
28
+ import "./chunk-BUKYCWHX.js";
28
29
  import "./chunk-S3NFJO6L.js";
29
- import "./chunk-JCQG2I2G.js";
30
- import "./chunk-4NJEAPLI.js";
30
+ import "./chunk-KZBEVFXZ.js";
31
+ import "./chunk-OOUQUCNN.js";
31
32
  import "./chunk-COY6PUD2.js";
32
33
  export {
33
34
  __resetQueryCache,
package/dist/devtools.cjs CHANGED
@@ -609,7 +609,7 @@ function forEachSubscriber(signal2, visit) {
609
609
 
610
610
  // src/reactivity/track.ts
611
611
  var _isDev3 = isDev();
612
- var _runtimeVersion = true ? "3.3.2" : "dev";
612
+ var _runtimeVersion = true ? "3.4.0" : "dev";
613
613
  var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
614
614
  function resolveReactiveApi() {
615
615
  const g = globalThis;
@@ -785,6 +785,12 @@ function signal(initial, options) {
785
785
  return [get, set];
786
786
  }
787
787
 
788
+ // src/utils/globalSingleton.ts
789
+ function globalSingleton(key, create) {
790
+ const g = globalThis;
791
+ return g[key] ?? (g[key] = create());
792
+ }
793
+
788
794
  // src/utils/sanitize.ts
789
795
  function stripHtml(html) {
790
796
  const input = String(html);
@@ -822,10 +828,50 @@ function createGlobalHook() {
822
828
  listeners.set(event, set);
823
829
  }
824
830
  set.add(fn);
831
+ return () => {
832
+ set?.delete(fn);
833
+ };
825
834
  },
826
835
  off(event, fn) {
827
836
  listeners.get(event)?.delete(fn);
828
837
  },
838
+ getSignalNodes() {
839
+ const out = [];
840
+ for (const [, node] of nodes) {
841
+ let value = "";
842
+ try {
843
+ const ref = node.ref;
844
+ let raw;
845
+ if (node.type === "effect") {
846
+ raw = void 0;
847
+ } else if (node.type === "computed" && ref) {
848
+ raw = ref._v;
849
+ } else if (ref && "value" in ref) {
850
+ raw = ref.value;
851
+ }
852
+ if (raw === void 0) value = "undefined";
853
+ else if (raw === null) value = "null";
854
+ else if (typeof raw === "object") value = JSON.stringify(raw);
855
+ else value = String(raw);
856
+ } catch {
857
+ value = "?";
858
+ }
859
+ if (value.length > 200) value = `${value.slice(0, 200)}...`;
860
+ out.push({
861
+ id: String(node.id),
862
+ name: node.name || null,
863
+ kind: node.type === "computed" ? "derived" : node.type,
864
+ value,
865
+ // Edge identities aren't tracked by this registry (only a subscriber
866
+ // count, via node.ref.__sc) — left empty until the core exposes the
867
+ // dependency graph. The node inventory itself is real.
868
+ subscribers: [],
869
+ dependencies: [],
870
+ evalCount: 0
871
+ });
872
+ }
873
+ return out;
874
+ },
829
875
  emit(event, payload) {
830
876
  events.push({ event, payload, ts: Date.now() });
831
877
  if (events.length > 2e3) events.splice(0, events.length - 2e3);
@@ -851,34 +897,38 @@ function getOrCreateHook() {
851
897
  }
852
898
  return g.__SIBU_DEVTOOLS_GLOBAL_HOOK__;
853
899
  }
854
- var activeDevTools = null;
855
- var nextNodeId = 0;
856
- var inferNameArmed = false;
900
+ var _dt = globalSingleton(/* @__PURE__ */ Symbol.for("sibujs.devtools.state.v1"), () => ({
901
+ active: null,
902
+ nextNodeId: 0,
903
+ // Gate for inferName(): only `true` while devtools are initialized AND in dev
904
+ // mode — otherwise skip the Error-stack walk so prod hot paths don't allocate.
905
+ inferNameArmed: false
906
+ }));
857
907
  function getActiveDevTools() {
858
- return activeDevTools;
908
+ return _dt.active;
859
909
  }
860
910
  function initDevTools(config) {
861
911
  const maxEvents = config?.maxEvents ?? 1e3;
862
912
  const enabled = config?.enabled ?? isDev();
863
913
  const expose = config?.expose ?? isDev();
864
914
  if (!enabled) return createNoopApi();
865
- inferNameArmed = true;
915
+ _dt.inferNameArmed = true;
866
916
  const hook = getOrCreateHook();
867
- nextNodeId = 0;
917
+ _dt.nextNodeId = 0;
868
918
  const eventLog = [];
869
919
  hook.on("signal:create", (payload) => {
870
920
  const p = payload;
871
- nextNodeId++;
921
+ _dt.nextNodeId++;
872
922
  const name = inferName();
873
923
  const node = {
874
- id: nextNodeId,
924
+ id: _dt.nextNodeId,
875
925
  type: "signal",
876
926
  name,
877
927
  ref: p.signal,
878
928
  getter: p.getter,
879
929
  createdAt: Date.now()
880
930
  };
881
- hook.nodes.set(nextNodeId, node);
931
+ hook.nodes.set(_dt.nextNodeId, node);
882
932
  emit();
883
933
  });
884
934
  hook.on("signal:update", (payload) => {
@@ -898,17 +948,17 @@ function initDevTools(config) {
898
948
  });
899
949
  hook.on("computed:create", (payload) => {
900
950
  const p = payload;
901
- nextNodeId++;
951
+ _dt.nextNodeId++;
902
952
  const name = inferName();
903
953
  const node = {
904
- id: nextNodeId,
954
+ id: _dt.nextNodeId,
905
955
  type: "computed",
906
956
  name,
907
957
  ref: p.signal,
908
958
  getter: p.getter,
909
959
  createdAt: Date.now()
910
960
  };
911
- hook.nodes.set(nextNodeId, node);
961
+ hook.nodes.set(_dt.nextNodeId, node);
912
962
  emit();
913
963
  });
914
964
  hook.on("computed:update", (payload) => {
@@ -925,11 +975,11 @@ function initDevTools(config) {
925
975
  emit();
926
976
  });
927
977
  hook.on("effect:create", (payload) => {
928
- nextNodeId++;
978
+ _dt.nextNodeId++;
929
979
  const name = inferName();
930
980
  const p = payload;
931
- const node = { id: nextNodeId, type: "effect", name, ref: p.effectFn, createdAt: Date.now() };
932
- hook.nodes.set(nextNodeId, node);
981
+ const node = { id: _dt.nextNodeId, type: "effect", name, ref: p.effectFn, createdAt: Date.now() };
982
+ hook.nodes.set(_dt.nextNodeId, node);
933
983
  emit();
934
984
  });
935
985
  hook.on("effect:run", (payload) => {
@@ -1086,8 +1136,8 @@ function initDevTools(config) {
1086
1136
  hook.components.clear();
1087
1137
  hook.events.length = 0;
1088
1138
  isActive = false;
1089
- inferNameArmed = false;
1090
- activeDevTools = null;
1139
+ _dt.inferNameArmed = false;
1140
+ _dt.active = null;
1091
1141
  const g = globalThis;
1092
1142
  if (g.__SIBU__) {
1093
1143
  delete g.__SIBU__.devtools;
@@ -1255,7 +1305,7 @@ function initDevTools(config) {
1255
1305
  w.__SIBU_DEVTOOLS_VERSION__ = () => changeVersion;
1256
1306
  w.__SIBU_DEVTOOLS_DATA__ = buildData;
1257
1307
  }
1258
- activeDevTools = api;
1308
+ _dt.active = api;
1259
1309
  if (typeof document !== "undefined") {
1260
1310
  domObserver = new MutationObserver((mutations) => {
1261
1311
  let changed = false;
@@ -1331,7 +1381,7 @@ function initDevTools(config) {
1331
1381
  return api;
1332
1382
  }
1333
1383
  function inferName() {
1334
- if (!inferNameArmed || !isDev()) return "anonymous";
1384
+ if (!_dt.inferNameArmed || !isDev()) return "anonymous";
1335
1385
  try {
1336
1386
  const stack = new Error().stack || "";
1337
1387
  for (const line of stack.split("\n")) {
@@ -1412,7 +1462,7 @@ function devState(name, initial) {
1412
1462
  const oldValue = get();
1413
1463
  set(next);
1414
1464
  const newValue = get();
1415
- const dt = activeDevTools;
1465
+ const dt = _dt.active;
1416
1466
  if (dt?.isEnabled() && !Object.is(oldValue, newValue)) {
1417
1467
  dt.record({ type: "state-change", component, key, oldValue, newValue, timestamp: Date.now() });
1418
1468
  }
@@ -24,12 +24,19 @@ interface SignalGraphSnapshot {
24
24
  edgeCount: number;
25
25
  }
26
26
  /**
27
- * Capture a synchronous snapshot of the reactive graph. The hook
28
- * provides a `getSignalNodes()` iterator that the core reactivity
29
- * layer populates; this function walks it and produces a serializable
30
- * view with dependency counts.
27
+ * Capture a synchronous snapshot of the reactive graph from the devtools hook's
28
+ * `getSignalNodes()`, producing a serializable view.
31
29
  *
32
- * Returns an empty snapshot when devtools are not enabled.
30
+ * Returns an empty snapshot when devtools are not enabled (`initDevTools()` has
31
+ * not run, so no hook / node registry exists).
32
+ *
33
+ * Coverage note: the default devtools hook reports the live node **inventory**
34
+ * (id / name / kind / current value) — useful for inspecting state and for
35
+ * leak-detection (how many signals/effects are alive). It does not yet report
36
+ * the dependency **edges**: the lightweight registry tracks only a subscriber
37
+ * *count*, not subscriber/dependency identities, so `subscribers`/`dependencies`
38
+ * are empty and `edgeCount` is 0 unless a richer hook supplies them. Wiring real
39
+ * edges requires the reactive core to expose its dependency sets.
33
40
  */
34
41
  declare function captureSignalGraph(): SignalGraphSnapshot;
35
42
  /**
@@ -24,12 +24,19 @@ interface SignalGraphSnapshot {
24
24
  edgeCount: number;
25
25
  }
26
26
  /**
27
- * Capture a synchronous snapshot of the reactive graph. The hook
28
- * provides a `getSignalNodes()` iterator that the core reactivity
29
- * layer populates; this function walks it and produces a serializable
30
- * view with dependency counts.
27
+ * Capture a synchronous snapshot of the reactive graph from the devtools hook's
28
+ * `getSignalNodes()`, producing a serializable view.
31
29
  *
32
- * Returns an empty snapshot when devtools are not enabled.
30
+ * Returns an empty snapshot when devtools are not enabled (`initDevTools()` has
31
+ * not run, so no hook / node registry exists).
32
+ *
33
+ * Coverage note: the default devtools hook reports the live node **inventory**
34
+ * (id / name / kind / current value) — useful for inspecting state and for
35
+ * leak-detection (how many signals/effects are alive). It does not yet report
36
+ * the dependency **edges**: the lightweight registry tracks only a subscriber
37
+ * *count*, not subscriber/dependency identities, so `subscribers`/`dependencies`
38
+ * are empty and `edgeCount` is 0 unless a richer hook supplies them. Wiring real
39
+ * edges requires the reactive core to expose its dependency sets.
33
40
  */
34
41
  declare function captureSignalGraph(): SignalGraphSnapshot;
35
42
  /**
package/dist/devtools.js CHANGED
@@ -35,13 +35,14 @@ import {
35
35
  trackCleanup,
36
36
  walkDependencyGraph,
37
37
  withErrorTracking
38
- } from "./chunk-AEOLHSSQ.js";
39
- import "./chunk-5VGSK6D2.js";
38
+ } from "./chunk-3DVGCW7O.js";
39
+ import "./chunk-7ZHH77QA.js";
40
40
  import "./chunk-L3GAGWCC.js";
41
- import "./chunk-N5TQVEKE.js";
41
+ import "./chunk-BUKYCWHX.js";
42
42
  import "./chunk-S3NFJO6L.js";
43
- import "./chunk-JCQG2I2G.js";
44
- import "./chunk-4NJEAPLI.js";
43
+ import "./chunk-5VGSK6D2.js";
44
+ import "./chunk-KZBEVFXZ.js";
45
+ import "./chunk-OOUQUCNN.js";
45
46
  import {
46
47
  isDev
47
48
  } from "./chunk-COY6PUD2.js";
@@ -469,7 +469,7 @@ function forEachSubscriber(signal2, visit) {
469
469
 
470
470
  // src/reactivity/track.ts
471
471
  var _isDev3 = isDev();
472
- var _runtimeVersion = true ? "3.3.2" : "dev";
472
+ var _runtimeVersion = true ? "3.4.0" : "dev";
473
473
  var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
474
474
  function resolveReactiveApi() {
475
475
  const g = globalThis;
@@ -801,6 +801,12 @@ function signal(initial, options) {
801
801
  return [get, set];
802
802
  }
803
803
 
804
+ // src/utils/globalSingleton.ts
805
+ function globalSingleton(key, create) {
806
+ const g = globalThis;
807
+ return g[key] ?? (g[key] = create());
808
+ }
809
+
804
810
  // src/plugins/plugin.ts
805
811
  function createPluginRegistry() {
806
812
  const installedPlugins = /* @__PURE__ */ new Set();
@@ -880,7 +886,10 @@ function createPluginRegistry() {
880
886
  };
881
887
  return registry;
882
888
  }
883
- var defaultRegistry = createPluginRegistry();
889
+ var _defaults = globalSingleton(/* @__PURE__ */ Symbol.for("sibujs.plugins.defaultRegistry.v1"), () => ({
890
+ registry: createPluginRegistry(),
891
+ touched: false
892
+ }));
884
893
  function createPlugin(name, install) {
885
894
  return { name, install };
886
895
  }
@@ -1,5 +1,5 @@
1
1
  import { S as SibuPlugin } from './plugin-D30wlGW5.cjs';
2
- import { T as TagProps } from './tagFactory-S17H2qxu.cjs';
2
+ import { T as TagProps } from './tagFactory-Bzupt4Pj.cjs';
3
3
 
4
4
  /** MobX autorun disposer function type. */
5
5
  type MobXReactionDisposer = () => void;
@@ -1,5 +1,5 @@
1
1
  import { S as SibuPlugin } from './plugin-D30wlGW5.js';
2
- import { T as TagProps } from './tagFactory-S17H2qxu.js';
2
+ import { T as TagProps } from './tagFactory-Bzupt4Pj.js';
3
3
 
4
4
  /** MobX autorun disposer function type. */
5
5
  type MobXReactionDisposer = () => void;
package/dist/ecosystem.js CHANGED
@@ -7,17 +7,18 @@ import {
7
7
  mobXAdapter,
8
8
  reduxAdapter,
9
9
  zustandAdapter
10
- } from "./chunk-P7C7SEJV.js";
11
- import "./chunk-3JHCYHWN.js";
12
- import "./chunk-ZEUP4TUD.js";
13
- import "./chunk-QCFBIVIQ.js";
14
- import "./chunk-G6N3LMO2.js";
15
- import "./chunk-5VGSK6D2.js";
10
+ } from "./chunk-FKQG7FTY.js";
11
+ import "./chunk-WWV3SJ3L.js";
12
+ import "./chunk-JNGGM2XE.js";
13
+ import "./chunk-K35BAR4P.js";
14
+ import "./chunk-ITWCTZYH.js";
15
+ import "./chunk-7ZHH77QA.js";
16
16
  import "./chunk-L3GAGWCC.js";
17
- import "./chunk-N5TQVEKE.js";
17
+ import "./chunk-BUKYCWHX.js";
18
18
  import "./chunk-S3NFJO6L.js";
19
- import "./chunk-JCQG2I2G.js";
20
- import "./chunk-4NJEAPLI.js";
19
+ import "./chunk-5VGSK6D2.js";
20
+ import "./chunk-KZBEVFXZ.js";
21
+ import "./chunk-OOUQUCNN.js";
21
22
  import "./chunk-COY6PUD2.js";
22
23
  export {
23
24
  antdAdapter,