@superblocksteam/library 2.0.117 → 2.0.118-next.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 (27) hide show
  1. package/dist/{build-manifest-BOqMhObV.js → build-manifest-Xi8oZhWX.js} +2 -2
  2. package/dist/{build-manifest-BOqMhObV.js.map → build-manifest-Xi8oZhWX.js.map} +1 -1
  3. package/dist/{devtools-consolidated-CwxpaGqQ.js → devtools-consolidated--QF_TVsD.js} +3 -5
  4. package/dist/{devtools-consolidated-CwxpaGqQ.js.map → devtools-consolidated--QF_TVsD.js.map} +1 -1
  5. package/dist/{early-console-buffer-D4wVuyBf.js → early-console-buffer-BJWsc4E3.js} +3 -6
  6. package/dist/{early-console-buffer-D4wVuyBf.js.map → early-console-buffer-BJWsc4E3.js.map} +1 -1
  7. package/dist/jsx-dev-runtime/index.d.ts.map +1 -1
  8. package/dist/jsx-dev-runtime/index.js +3 -5
  9. package/dist/jsx-dev-runtime/index.js.map +1 -1
  10. package/dist/jsx-runtime/index.d.ts.map +1 -1
  11. package/dist/jsx-runtime/index.js +1 -2
  12. package/dist/jsx-runtime/index.js.map +1 -1
  13. package/dist/{jsx-wrapper-BLrvyiEf.js → jsx-wrapper-BaTggkUU.js} +90 -169
  14. package/dist/jsx-wrapper-BaTggkUU.js.map +1 -0
  15. package/dist/lib/index.d.ts +27 -41
  16. package/dist/lib/index.d.ts.map +1 -1
  17. package/dist/lib/index.js +199 -334
  18. package/dist/lib/index.js.map +1 -1
  19. package/dist/{logs-hyzhDMp7.js → logs-HOxOH_w6.js} +4 -5
  20. package/dist/{logs-hyzhDMp7.js.map → logs-HOxOH_w6.js.map} +1 -1
  21. package/dist/{lib/index.css → style.css} +96 -126
  22. package/dist/{utils-BGEEeYie.js → utils-BfE8-Afc.js} +19 -4
  23. package/dist/{utils-BGEEeYie.js.map → utils-BfE8-Afc.js.map} +1 -1
  24. package/package.json +8 -7
  25. package/dist/jsx-wrapper-BLrvyiEf.js.map +0 -1
  26. package/dist/lib/index.css.map +0 -1
  27. package/dist/utils-Co8Wr1hk.js +0 -3
@@ -1,4 +1,4 @@
1
- import { t as getTracer } from "./utils-BGEEeYie.js";
1
+ import { t as getTracer } from "./utils-BfE8-Afc.js";
2
2
  import { InputType, PropsCategory } from "@superblocksteam/library-shared/props";
3
3
  import { action, entries, isComputedProp, isObservableArray, isObservableMap, isObservableObject, makeAutoObservable, makeObservable, observable, observe, reaction, toJS, values } from "mobx";
4
4
  import { matchRoutes } from "react-router";
@@ -7,7 +7,7 @@ import * as React$1 from "react";
7
7
  import React, { Component, createContext, isValidElement, useCallback, useContext, useEffect, useMemo, useRef, useSyncExternalStore } from "react";
8
8
  import { pick, throttle } from "lodash";
9
9
  import { ApiResponseType, OrchestratorViewMode, SUPERBLOCKS_AUTHORIZATION_HEADER, SUPERBLOCKS_REQUEST_ID_HEADER, ViewMode, decodeBytestrings } from "@superblocksteam/shared";
10
- import isString from "lodash/isString";
10
+ import isString from "lodash/isString.js";
11
11
  import { toast } from "sonner";
12
12
  import styled, { keyframes } from "styled-components";
13
13
  import { NotificationPosition } from "@superblocksteam/library-shared/types";
@@ -16,7 +16,6 @@ import { ROOT_CONTEXT, context, propagation, trace } from "@opentelemetry/api";
16
16
  import diff from "microdiff";
17
17
  import { Observer } from "mobx-react-lite";
18
18
  import polyfill from "@oddbird/css-anchor-positioning/fn";
19
-
20
19
  //#region src/edit-mode/get-edit-store.ts
21
20
  /**
22
21
  * Get the global EditStore instance
@@ -26,7 +25,6 @@ function getEditStore() {
26
25
  if (!window.__SUPERBLOCKS_EDITOR_HOOK__ || !window.__SUPERBLOCKS_EDITOR_HOOK__.isInitialized) throw new Error("EditStore not initialized");
27
26
  return window.__SUPERBLOCKS_EDITOR_HOOK__;
28
27
  }
29
-
30
28
  //#endregion
31
29
  //#region src/lib/user-facing/properties-panel/properties-panel-definition.ts
32
30
  function createPropertiesPanelDefinition(sections, componentProps) {
@@ -75,7 +73,6 @@ function createPropertiesPanelDefinition(sections, componentProps) {
75
73
  }
76
74
  return { sections: sectionDefs };
77
75
  }
78
-
79
76
  //#endregion
80
77
  //#region src/lib/user-facing/properties-panel/props-builder.ts
81
78
  function mergeRelations(existingRelations, relations) {
@@ -195,10 +192,7 @@ var Prop = class Prop {
195
192
  case "string": return Prop.string().default(value);
196
193
  case "number": return Prop.number().default(value);
197
194
  case "boolean": return Prop.boolean().default(value);
198
- default: {
199
- const exhaustiveCheck = value;
200
- throw new Error(`Invalid literal value: ${exhaustiveCheck}`);
201
- }
195
+ default: throw new Error(`Invalid literal value: ${value}`);
202
196
  }
203
197
  }
204
198
  static eventHandler() {
@@ -297,7 +291,6 @@ var Prop = class Prop {
297
291
  case "jsx":
298
292
  baseControlType = "JSX";
299
293
  break;
300
- case "any":
301
294
  default:
302
295
  baseControlType = "INPUT_JS_EXPR";
303
296
  break;
@@ -512,10 +505,6 @@ var UnionProp = class extends Prop {
512
505
  };
513
506
  }
514
507
  };
515
-
516
- //#endregion
517
- //#region src/lib/user-facing/properties-panel/create-managed-props-list.ts
518
- const RECORD_PATH_IDENTIFIER = "*";
519
508
  function buildCompositeDefault(prop, name, parentDefault) {
520
509
  const defaultThroughParent = parentDefault?.[name];
521
510
  const selfDefault = prop.build().default;
@@ -538,10 +527,10 @@ function buildPropLeafDefault(prop, name, parentDefault) {
538
527
  * and calls the provided callback for each leaf property.
539
528
  */
540
529
  function traverseProps(sections, onProp, parentPath = "") {
541
- const processProps = ({ props, parentPath: parentPath$1, parentDefault }) => {
530
+ const processProps = ({ props, parentPath, parentDefault }) => {
542
531
  for (const [name, prop] of Object.entries(props)) {
543
532
  if (!prop) continue;
544
- const fullPath = parentPath$1 ? `${parentPath$1}.${name}` : name;
533
+ const fullPath = parentPath ? `${parentPath}.${name}` : name;
545
534
  if (prop instanceof CompositeProp) {
546
535
  const compositeDefault = buildCompositeDefault(prop, name, parentDefault);
547
536
  processProps({
@@ -550,7 +539,7 @@ function traverseProps(sections, onProp, parentPath = "") {
550
539
  parentDefault: compositeDefault
551
540
  });
552
541
  } else if (prop instanceof RecordProp) {
553
- const recordPath = `${fullPath}.${RECORD_PATH_IDENTIFIER}`;
542
+ const recordPath = `${fullPath}.*`;
554
543
  processProps({
555
544
  props: prop.nestedProps,
556
545
  parentPath: recordPath,
@@ -558,7 +547,7 @@ function traverseProps(sections, onProp, parentPath = "") {
558
547
  });
559
548
  } else if (prop instanceof Section) processProps({
560
549
  props: prop.props,
561
- parentPath: parentPath$1
550
+ parentPath
562
551
  });
563
552
  else if (prop instanceof UnionProp) {
564
553
  const sharedKeys = Object.keys(prop.shared);
@@ -595,7 +584,6 @@ function createManagedPropsList(sections, parentPath = "") {
595
584
  }, parentPath);
596
585
  return managedPropsList;
597
586
  }
598
-
599
587
  //#endregion
600
588
  //#region src/lib/internal-details/is-edit-mode.ts
601
589
  const getIsEditMode = () => {
@@ -606,7 +594,6 @@ const isEditMode = () => {
606
594
  if (editMode === void 0) editMode = getIsEditMode();
607
595
  return editMode;
608
596
  };
609
-
610
597
  //#endregion
611
598
  //#region src/lib/utils/clean-object.ts
612
599
  const isReactElement = (obj) => {
@@ -645,7 +632,6 @@ function cleanObject(obj) {
645
632
  return acc;
646
633
  }, {});
647
634
  }
648
-
649
635
  //#endregion
650
636
  //#region src/lib/internal-details/lib/iframe.ts
651
637
  function isEmbeddedBySuperblocksFirstParty() {
@@ -710,7 +696,6 @@ var SbIframeEventInternal = class extends Event {
710
696
  };
711
697
  var SbMessageHandler = class extends EventTarget {};
712
698
  const iframeMessageHandler = new SbMessageHandler();
713
-
714
699
  //#endregion
715
700
  //#region src/edit-mode/base-editor-bridge.ts
716
701
  var DeployedParentBridge = class {
@@ -776,7 +761,6 @@ var DeployedParentBridge = class {
776
761
  });
777
762
  }
778
763
  };
779
-
780
764
  //#endregion
781
765
  //#region src/edit-mode/message-queue.ts
782
766
  const MESSAGE_BATCH_TIME = 50;
@@ -807,7 +791,6 @@ var MessageQueue = class {
807
791
  }
808
792
  };
809
793
  var message_queue_default = new MessageQueue();
810
-
811
794
  //#endregion
812
795
  //#region src/edit-mode/superblocks-editor-bridge.ts
813
796
  var SuperblocksEditorBridge = class SuperblocksEditorBridge {
@@ -815,8 +798,8 @@ var SuperblocksEditorBridge = class SuperblocksEditorBridge {
815
798
  messagesToSend = [];
816
799
  connectedToParent = false;
817
800
  static getInstance() {
818
- const editMode$1 = isEditMode();
819
- if (!SuperblocksEditorBridge.instance) SuperblocksEditorBridge.instance = editMode$1 ? new SuperblocksEditorBridge() : new DeployedParentBridge();
801
+ const editMode = isEditMode();
802
+ if (!SuperblocksEditorBridge.instance) SuperblocksEditorBridge.instance = editMode ? new SuperblocksEditorBridge() : new DeployedParentBridge();
820
803
  return SuperblocksEditorBridge.instance;
821
804
  }
822
805
  connected() {
@@ -1182,7 +1165,6 @@ function clampPromptLength(prompt) {
1182
1165
  return `${prompt.slice(0, available)}${TRUNCATION_SUFFIX}`;
1183
1166
  }
1184
1167
  const editorBridge = SuperblocksEditorBridge.getInstance();
1185
-
1186
1168
  //#endregion
1187
1169
  //#region src/lib/internal-details/location-store.ts
1188
1170
  var LocationStore = class {
@@ -1229,7 +1211,6 @@ var LocationStore = class {
1229
1211
  };
1230
1212
  }
1231
1213
  };
1232
-
1233
1214
  //#endregion
1234
1215
  //#region src/lib/user-facing/assets/icons/system-danger.svg
1235
1216
  var _path$5;
@@ -1242,7 +1223,7 @@ function _extends$5() {
1242
1223
  return n;
1243
1224
  }, _extends$5.apply(null, arguments);
1244
1225
  }
1245
- var SvgSystemDanger = function SvgSystemDanger$1(props) {
1226
+ var SvgSystemDanger = function SvgSystemDanger(props) {
1246
1227
  return /* @__PURE__ */ React$1.createElement("svg", _extends$5({
1247
1228
  xmlns: "http://www.w3.org/2000/svg",
1248
1229
  width: 16,
@@ -1255,8 +1236,6 @@ var SvgSystemDanger = function SvgSystemDanger$1(props) {
1255
1236
  clipRule: "evenodd"
1256
1237
  })));
1257
1238
  };
1258
- var system_danger_default = SvgSystemDanger;
1259
-
1260
1239
  //#endregion
1261
1240
  //#region src/lib/user-facing/assets/icons/system-error.svg
1262
1241
  var _path$4;
@@ -1269,7 +1248,7 @@ function _extends$4() {
1269
1248
  return n;
1270
1249
  }, _extends$4.apply(null, arguments);
1271
1250
  }
1272
- var SvgSystemError = function SvgSystemError$1(props) {
1251
+ var SvgSystemError = function SvgSystemError(props) {
1273
1252
  return /* @__PURE__ */ React$1.createElement("svg", _extends$4({
1274
1253
  xmlns: "http://www.w3.org/2000/svg",
1275
1254
  width: 16,
@@ -1282,8 +1261,6 @@ var SvgSystemError = function SvgSystemError$1(props) {
1282
1261
  clipRule: "evenodd"
1283
1262
  })));
1284
1263
  };
1285
- var system_error_default = SvgSystemError;
1286
-
1287
1264
  //#endregion
1288
1265
  //#region src/lib/user-facing/assets/icons/system-info.svg
1289
1266
  var _path$3;
@@ -1296,7 +1273,7 @@ function _extends$3() {
1296
1273
  return n;
1297
1274
  }, _extends$3.apply(null, arguments);
1298
1275
  }
1299
- var SvgSystemInfo = function SvgSystemInfo$1(props) {
1276
+ var SvgSystemInfo = function SvgSystemInfo(props) {
1300
1277
  return /* @__PURE__ */ React$1.createElement("svg", _extends$3({
1301
1278
  xmlns: "http://www.w3.org/2000/svg",
1302
1279
  width: 16,
@@ -1307,8 +1284,6 @@ var SvgSystemInfo = function SvgSystemInfo$1(props) {
1307
1284
  d: "M8 1a7 7 0 1 0 7 7 7.014 7.014 0 0 0-7-7m-.135 3.23a.808.808 0 1 1 0 1.616.808.808 0 0 1 0-1.615m.673 7.54H8a.54.54 0 0 1-.538-.54V8a.538.538 0 1 1 0-1.077H8a.54.54 0 0 1 .538.539v3.23a.538.538 0 1 1 0 1.077"
1308
1285
  })));
1309
1286
  };
1310
- var system_info_default = SvgSystemInfo;
1311
-
1312
1287
  //#endregion
1313
1288
  //#region src/lib/user-facing/assets/icons/system-success.svg
1314
1289
  var _path$2;
@@ -1321,7 +1296,7 @@ function _extends$2() {
1321
1296
  return n;
1322
1297
  }, _extends$2.apply(null, arguments);
1323
1298
  }
1324
- var SvgSystemSuccess = function SvgSystemSuccess$1(props) {
1299
+ var SvgSystemSuccess = function SvgSystemSuccess(props) {
1325
1300
  return /* @__PURE__ */ React$1.createElement("svg", _extends$2({
1326
1301
  xmlns: "http://www.w3.org/2000/svg",
1327
1302
  width: 16,
@@ -1334,8 +1309,6 @@ var SvgSystemSuccess = function SvgSystemSuccess$1(props) {
1334
1309
  clipRule: "evenodd"
1335
1310
  })));
1336
1311
  };
1337
- var system_success_default = SvgSystemSuccess;
1338
-
1339
1312
  //#endregion
1340
1313
  //#region src/lib/user-facing/styling/colors.ts
1341
1314
  const colors = {
@@ -1404,16 +1377,10 @@ const colors = {
1404
1377
  SUCCESS: "#0CC26D",
1405
1378
  NONE: "transparent"
1406
1379
  };
1407
-
1408
- //#endregion
1409
- //#region src/lib/user-facing/themes/classnames.ts
1410
- const MODIFIER_CLASSNAMES = {
1380
+ const CLASS_NAMES = {
1411
1381
  DISABLED_MODIFIER: "sb-disabled",
1412
1382
  ERROR_MODIFIER: "sb-error",
1413
- ACTIVE_MODIFIER: "sb-active"
1414
- };
1415
- const CLASS_NAMES = {
1416
- ...MODIFIER_CLASSNAMES,
1383
+ ACTIVE_MODIFIER: "sb-active",
1417
1384
  HEADING1: "sb-heading-1",
1418
1385
  HEADING2: "sb-heading-2",
1419
1386
  HEADING3: "sb-heading-3",
@@ -1473,7 +1440,6 @@ const CLASS_NAMES = {
1473
1440
  CODE_EDITOR: "sb-code-editor",
1474
1441
  ERROR_INLINE_MESSAGE: "sb-error-inline-message"
1475
1442
  };
1476
-
1477
1443
  //#endregion
1478
1444
  //#region src/lib/user-facing/utils/notification.tsx
1479
1445
  const activeNotifications = /* @__PURE__ */ new Map();
@@ -1543,19 +1509,19 @@ const getIcon = (type) => {
1543
1509
  let color;
1544
1510
  switch (type) {
1545
1511
  case "success":
1546
- icon = /* @__PURE__ */ jsx(system_success_default, {});
1512
+ icon = /* @__PURE__ */ jsx(SvgSystemSuccess, {});
1547
1513
  color = colors.SUCCESS;
1548
1514
  break;
1549
1515
  case "error":
1550
- icon = /* @__PURE__ */ jsx(system_error_default, {});
1516
+ icon = /* @__PURE__ */ jsx(SvgSystemError, {});
1551
1517
  color = colors.DANGER;
1552
1518
  break;
1553
1519
  case "info":
1554
- icon = /* @__PURE__ */ jsx(system_info_default, {});
1520
+ icon = /* @__PURE__ */ jsx(SvgSystemInfo, {});
1555
1521
  color = colors.INFO;
1556
1522
  break;
1557
1523
  case "warning":
1558
- icon = /* @__PURE__ */ jsx(system_danger_default, {});
1524
+ icon = /* @__PURE__ */ jsx(SvgSystemDanger, {});
1559
1525
  color = colors.WARNING;
1560
1526
  break;
1561
1527
  }
@@ -1598,13 +1564,11 @@ function sendNotification({ message, description, duration, key = getKey("succes
1598
1564
  onAutoClose: handleClose
1599
1565
  });
1600
1566
  }
1601
-
1602
1567
  //#endregion
1603
1568
  //#region src/lib/utils/generate-id.ts
1604
1569
  const generateId = () => {
1605
1570
  return Math.random().toString(36).substring(2, 15);
1606
1571
  };
1607
-
1608
1572
  //#endregion
1609
1573
  //#region src/lib/internal-details/embed-store.ts
1610
1574
  /**
@@ -1657,7 +1621,6 @@ var EmbedStore = class {
1657
1621
  }
1658
1622
  };
1659
1623
  const embedStore = new EmbedStore();
1660
-
1661
1624
  //#endregion
1662
1625
  //#region src/lib/internal-details/scope/types.ts
1663
1626
  const AppMode = {
@@ -1665,7 +1628,6 @@ const AppMode = {
1665
1628
  PUBLISHED: "PUBLISHED",
1666
1629
  PREVIEW: "PREVIEW"
1667
1630
  };
1668
-
1669
1631
  //#endregion
1670
1632
  //#region src/lib/internal-details/superblocks-context.tsx
1671
1633
  var SuperblocksAppContext = class {
@@ -1686,7 +1648,7 @@ var SuperblocksAppContext = class {
1686
1648
  return this.context?.profiles;
1687
1649
  }
1688
1650
  setProfile(profileKey) {
1689
- const profile = this.context?.profiles?.available.find((profile$1) => profile$1.key === profileKey);
1651
+ const profile = this.context?.profiles?.available.find((profile) => profile.key === profileKey);
1690
1652
  if (profile && this.context?.profiles) {
1691
1653
  this.context.profiles.selected = profile;
1692
1654
  if (typeof window !== "undefined" && window.parent !== window) try {
@@ -1701,10 +1663,10 @@ var SuperblocksAppContext = class {
1701
1663
  }
1702
1664
  } else if (!profile || !this.context?.profiles) throw new Error(`Profile ${profileKey} not found`);
1703
1665
  }
1704
- updateContext(context$2) {
1666
+ updateContext(context) {
1705
1667
  this.context = {
1706
1668
  ...this.context,
1707
- ...context$2
1669
+ ...context
1708
1670
  };
1709
1671
  }
1710
1672
  getGlobal() {
@@ -1727,29 +1689,29 @@ function useSuperblocksContext() {
1727
1689
  return useContext(SuperblocksContext);
1728
1690
  }
1729
1691
  function useSuperblocksUser() {
1730
- const context$2 = useSuperblocksContext();
1692
+ const context = useSuperblocksContext();
1731
1693
  const user = useSyncExternalStore((onStoreChange) => {
1732
- return reaction(() => context$2.user, onStoreChange);
1733
- }, () => context$2.user, () => context$2.user);
1694
+ return reaction(() => context.user, onStoreChange);
1695
+ }, () => context.user, () => context.user);
1734
1696
  return useMemo(() => toJS(user), [user]);
1735
1697
  }
1736
1698
  function useSuperblocksGroups() {
1737
- const context$2 = useSuperblocksContext();
1699
+ const context = useSuperblocksContext();
1738
1700
  const groups = useSyncExternalStore((onStoreChange) => {
1739
- return reaction(() => context$2.groups, onStoreChange);
1740
- }, () => context$2.groups, () => context$2.groups);
1701
+ return reaction(() => context.groups, onStoreChange);
1702
+ }, () => context.groups, () => context.groups);
1741
1703
  return useMemo(() => toJS(groups), [groups]);
1742
1704
  }
1743
1705
  function useSuperblocksDataTags() {
1744
- const context$2 = useSuperblocksContext();
1706
+ const context = useSuperblocksContext();
1745
1707
  const dataTags = useSyncExternalStore((onStoreChange) => {
1746
- return reaction(() => context$2.profiles, onStoreChange);
1747
- }, () => context$2.profiles, () => context$2.profiles);
1708
+ return reaction(() => context.profiles, onStoreChange);
1709
+ }, () => context.profiles, () => context.profiles);
1748
1710
  return {
1749
1711
  dataTags: useMemo(() => toJS(dataTags), [dataTags]),
1750
1712
  setDataTag: useCallback((dataTagKey) => {
1751
- context$2.setProfile(dataTagKey);
1752
- }, [context$2])
1713
+ context.setProfile(dataTagKey);
1714
+ }, [context])
1753
1715
  };
1754
1716
  }
1755
1717
  /** @deprecated Use useSuperblocksDataTags instead */
@@ -1768,7 +1730,6 @@ function getAppMode() {
1768
1730
  }
1769
1731
  return appMode;
1770
1732
  }
1771
-
1772
1733
  //#endregion
1773
1734
  //#region src/lib/internal-details/lib/resolve-id-singleton.ts
1774
1735
  const EMBED_STRING = `embedded-`;
@@ -1813,10 +1774,7 @@ function rejectById(id, payload) {
1813
1774
  console.log("[internal] [rejectById] Error rejecting promise", e);
1814
1775
  }
1815
1776
  }
1816
-
1817
- //#endregion
1818
- //#region src/lib/internal-details/lib/features/api-hmr-tracker.ts
1819
- var ApiHmrTracker = class ApiHmrTracker {
1777
+ const tracker = new class ApiHmrTracker {
1820
1778
  static CLEAR_REF_DELAY = 18e4;
1821
1779
  reloadCount = 0;
1822
1780
  propagatedReloadCount = 0;
@@ -1873,13 +1831,10 @@ var ApiHmrTracker = class ApiHmrTracker {
1873
1831
  }, { timeout: 50 });
1874
1832
  }, 0);
1875
1833
  }
1876
- };
1877
- const tracker = new ApiHmrTracker();
1834
+ }();
1878
1835
  if (import.meta.hot) import.meta.hot.on("vite:beforeUpdate", () => {
1879
1836
  tracker.incReloadCount();
1880
1837
  });
1881
- var api_hmr_tracker_default = tracker;
1882
-
1883
1838
  //#endregion
1884
1839
  //#region src/lib/tracing/context-utils.ts
1885
1840
  function getContextFromTraceHeaders(traceHeaders) {
@@ -1900,16 +1855,6 @@ function getTraceContextHeadersFromSpan(span) {
1900
1855
  propagation.inject(contextWithSpan, traceContextHeaders);
1901
1856
  return traceContextHeaders;
1902
1857
  }
1903
-
1904
- //#endregion
1905
- //#region src/lib/internal-details/lib/types.ts
1906
- let SystemErrorType = /* @__PURE__ */ function(SystemErrorType$1) {
1907
- SystemErrorType$1["NETWORK"] = "NETWORK";
1908
- SystemErrorType$1["HTTP"] = "HTTP";
1909
- SystemErrorType$1["GENERAL"] = "GENERAL";
1910
- return SystemErrorType$1;
1911
- }({});
1912
-
1913
1858
  //#endregion
1914
1859
  //#region src/lib/internal-details/lib/features/api-utils.ts
1915
1860
  async function executeV2Api(params) {
@@ -1965,13 +1910,13 @@ async function executeV2Api(params) {
1965
1910
  const suppressError = viewMode !== ViewMode.EDITOR && err?.code === 20;
1966
1911
  if (notifyOnSystemError && !suppressError) console.log(`[internal] [executeV2Api] ${message}`);
1967
1912
  const statusCode = err instanceof HttpError ? err.code : void 0;
1968
- let errorType = SystemErrorType.GENERAL;
1913
+ let errorType = "GENERAL";
1969
1914
  const errorMessage = err instanceof Error ? err.message : String(err);
1970
1915
  const errorConstructorName = err?.constructor?.name;
1971
1916
  const isTypeError = err instanceof TypeError || errorConstructorName === "TypeError";
1972
1917
  const hasNetworkErrorMessage = errorMessage.includes("Failed to fetch") || errorMessage.includes("network error") || errorMessage.includes("NetworkError") || errorMessage.includes("TypeError") && errorMessage.includes("fetch") || errorMessage.includes("ERR_NETWORK") || errorMessage.includes("ERR_INTERNET_DISCONNECTED") || errorMessage.includes("ERR_CONNECTION_REFUSED") || errorMessage.includes("ERR_CONNECTION_RESET") || errorMessage.includes("ERR_CONNECTION_TIMED_OUT") || errorMessage.includes("Failed to connect") || errorMessage.includes("network issue") || errorMessage.includes("timed out");
1973
- if (isTypeError || hasNetworkErrorMessage) errorType = SystemErrorType.NETWORK;
1974
- else if (err instanceof HttpError) errorType = SystemErrorType.HTTP;
1918
+ if (isTypeError || hasNetworkErrorMessage) errorType = "NETWORK";
1919
+ else if (err instanceof HttpError) errorType = "HTTP";
1975
1920
  return {
1976
1921
  systemError: message,
1977
1922
  statusCode,
@@ -2131,7 +2076,6 @@ const decodeBytestringsInV2ExecutionResponse = (response) => {
2131
2076
  if (typedEvent?.end?.output?.result != null) typedEvent.end.output.result = decodeBytestrings(typedEvent.end.output.result, false);
2132
2077
  });
2133
2078
  };
2134
-
2135
2079
  //#endregion
2136
2080
  //#region src/lib/internal-details/lib/features/file-utils.ts
2137
2081
  function isNativeFile(value) {
@@ -2207,7 +2151,6 @@ async function getInputsWithFileMetadata(inputs) {
2207
2151
  files: Object.values(filesForRequest)
2208
2152
  };
2209
2153
  }
2210
-
2211
2154
  //#endregion
2212
2155
  //#region src/lib/internal-details/lib/features/url-utils.ts
2213
2156
  /**
@@ -2225,7 +2168,6 @@ async function getInputsWithFileMetadata(inputs) {
2225
2168
  function withTrailingSlash(baseUrl) {
2226
2169
  return baseUrl.endsWith("/") ? baseUrl : `${baseUrl}/`;
2227
2170
  }
2228
-
2229
2171
  //#endregion
2230
2172
  //#region src/lib/internal-details/lib/features/api-store.ts
2231
2173
  const ENVIRONMENT_ALL = "*";
@@ -2348,7 +2290,7 @@ var ApiManager = class {
2348
2290
  scopeId
2349
2291
  };
2350
2292
  });
2351
- this.waitForInitApiPromise = new Promise((resolve) => {
2293
+ const waitForInitApiPromise = new Promise((resolve) => {
2352
2294
  const callbackId = addNewPromise(resolve);
2353
2295
  window.parent.postMessage({
2354
2296
  type: "set-apis-deployed-mode",
@@ -2358,26 +2300,27 @@ var ApiManager = class {
2358
2300
  }
2359
2301
  }, "*");
2360
2302
  });
2303
+ this.waitForInitApiPromise = waitForInitApiPromise;
2361
2304
  }
2362
2305
  @action async rerunApiByCallId(callId) {
2363
- const context$2 = this.callContexts[callId];
2364
- if (!context$2) {
2306
+ const context = this.callContexts[callId];
2307
+ if (!context) {
2365
2308
  console.error(`No call context found for callId: ${callId}`);
2366
2309
  throw new Error(`No call context found for callId: ${callId}`);
2367
2310
  }
2368
- if (context$2.callback) {
2369
- await context$2.callback();
2311
+ if (context.callback) {
2312
+ await context.callback();
2370
2313
  return {
2371
2314
  data: void 0,
2372
2315
  error: void 0
2373
2316
  };
2374
2317
  }
2375
2318
  const result = await this.executeApi({
2376
- apiId: context$2.apiId,
2377
- apiName: context$2.apiName,
2378
- path: context$2.path,
2379
- inputs: context$2.inputs,
2380
- options: context$2.options,
2319
+ apiId: context.apiId,
2320
+ apiName: context.apiName,
2321
+ path: context.path,
2322
+ inputs: context.inputs,
2323
+ options: context.options,
2381
2324
  callId,
2382
2325
  callback: void 0
2383
2326
  });
@@ -2428,8 +2371,8 @@ var ApiManager = class {
2428
2371
  getCachedHMRExecution(params) {
2429
2372
  if (params.callId) return null;
2430
2373
  const hmrCallHash = this.getHMRCallHash(params);
2431
- if (api_hmr_tracker_default.shouldSkipRun(hmrCallHash)) {
2432
- const result = api_hmr_tracker_default.getCachedResult(hmrCallHash);
2374
+ if (tracker.shouldSkipRun(hmrCallHash)) {
2375
+ const result = tracker.getCachedResult(hmrCallHash);
2433
2376
  if (result) return result;
2434
2377
  }
2435
2378
  return null;
@@ -2442,7 +2385,7 @@ var ApiManager = class {
2442
2385
  return cachedResult;
2443
2386
  }
2444
2387
  const result = await this.executeApiInternal(params);
2445
- api_hmr_tracker_default.setResult(this.getHMRCallHash(params), result);
2388
+ tracker.setResult(this.getHMRCallHash(params), result);
2446
2389
  return result;
2447
2390
  }
2448
2391
  return this.executeApiInternal(params);
@@ -2497,10 +2440,10 @@ var ApiManager = class {
2497
2440
  await this.timedEnsureFilesSynced("executeApi");
2498
2441
  const abortController = new AbortController();
2499
2442
  (this.runningApiControllers[apiName] ??= /* @__PURE__ */ new Set()).add(abortController);
2500
- const editMode$1 = isEditMode();
2501
- const appMode$1 = getAppMode();
2502
- const orchestratorViewMode = appMode$1 === AppMode.PREVIEW ? OrchestratorViewMode.PREVIEW : appMode$1 === AppMode.PUBLISHED ? OrchestratorViewMode.DEPLOYED : OrchestratorViewMode.EDIT;
2503
- const isStream = editMode$1 ? true : false;
2443
+ const editMode = isEditMode();
2444
+ const appMode = getAppMode();
2445
+ const orchestratorViewMode = appMode === AppMode.PREVIEW ? OrchestratorViewMode.PREVIEW : appMode === AppMode.PUBLISHED ? OrchestratorViewMode.DEPLOYED : OrchestratorViewMode.EDIT;
2446
+ const isStream = editMode ? true : false;
2504
2447
  const authResult = await new Promise((resolve) => {
2505
2448
  const callbackId = addNewPromise(resolve);
2506
2449
  window.parent.postMessage({
@@ -2555,9 +2498,9 @@ var ApiManager = class {
2555
2498
  inputs: finalInputs,
2556
2499
  fetchByPath: fetchByPathParams,
2557
2500
  options: {
2558
- includeEventOutputs: editMode$1,
2559
- includeEvents: isStream || editMode$1,
2560
- includeResolved: editMode$1
2501
+ includeEventOutputs: editMode,
2502
+ includeEvents: isStream || editMode,
2503
+ includeResolved: editMode
2561
2504
  }
2562
2505
  },
2563
2506
  apiName,
@@ -2568,7 +2511,7 @@ var ApiManager = class {
2568
2511
  responseType: isStream ? ApiResponseType.STREAM : ApiResponseType.SYNC,
2569
2512
  baseUrl: isStream ? orchestratorUrl + "/stream" : orchestratorUrl,
2570
2513
  agents: [],
2571
- viewMode: editMode$1 ? ViewMode.EDITOR : ViewMode.DEPLOYED,
2514
+ viewMode: editMode ? ViewMode.EDITOR : ViewMode.DEPLOYED,
2572
2515
  accessToken: this.accessToken ?? "",
2573
2516
  token: this.token ?? "",
2574
2517
  traceHeaders,
@@ -2733,9 +2676,9 @@ var ApiManager = class {
2733
2676
  } : this.rootStore.profile;
2734
2677
  const editModeBranchName = this.rootStore.branchName ?? "main";
2735
2678
  const commitId = this.rootStore.commitId;
2736
- const editMode$1 = isEditMode();
2737
- const appMode$1 = getAppMode();
2738
- const viewMode = editMode$1 ? OrchestratorViewMode.EDIT : appMode$1 === AppMode.PREVIEW ? OrchestratorViewMode.PREVIEW : OrchestratorViewMode.DEPLOYED;
2679
+ const editMode = isEditMode();
2680
+ const appMode = getAppMode();
2681
+ const viewMode = editMode ? OrchestratorViewMode.EDIT : appMode === AppMode.PREVIEW ? OrchestratorViewMode.PREVIEW : OrchestratorViewMode.DEPLOYED;
2739
2682
  const profileKey = requestProfile?.key ?? "default";
2740
2683
  const agentBaseUrl = (() => {
2741
2684
  if (this.rootStore.dataPlaneGatewayEnabled) {
@@ -2764,11 +2707,11 @@ var ApiManager = class {
2764
2707
  if (exportName) body.exportName = exportName;
2765
2708
  if (files.length > 0) body.files = files;
2766
2709
  if (requestProfile) body.profile = requestProfile;
2767
- if (editMode$1) {
2710
+ if (editMode) {
2768
2711
  body.branchName = editModeBranchName;
2769
2712
  body.includeDiagnostics = true;
2770
2713
  }
2771
- if (!editMode$1 && commitId) body.commitId = commitId;
2714
+ if (!editMode && commitId) body.commitId = commitId;
2772
2715
  const integrationIds = (this.rootStore.getApiIntegrations(apiName) ?? []).map((integration) => integration.id);
2773
2716
  const authCheckT0 = performance.now();
2774
2717
  const authResult = await new Promise((resolve) => {
@@ -2904,8 +2847,6 @@ var ApiManager = class {
2904
2847
  });
2905
2848
  }
2906
2849
  };
2907
- var api_store_default = ApiManager;
2908
-
2909
2850
  //#endregion
2910
2851
  //#region src/lib/internal-details/lib/evaluator/sanitize-object.ts
2911
2852
  const objectFallbackCache = /* @__PURE__ */ new WeakMap();
@@ -2927,7 +2868,6 @@ function sanitizedToJS(value) {
2927
2868
  if (value === null || value === void 0 || typeof value !== "object") return toJS(value);
2928
2869
  return toJS(sanitizeObject(value));
2929
2870
  }
2930
-
2931
2871
  //#endregion
2932
2872
  //#region src/edit-mode/mobx-sync/create-patch.ts
2933
2873
  const microPatches = (oldValue, newValue, baseStr) => {
@@ -2948,24 +2888,24 @@ const microPatches = (oldValue, newValue, baseStr) => {
2948
2888
  }
2949
2889
  const diffs = diff(cleanedOldValue, cleanedNewValue);
2950
2890
  const basePath = pathStringToArray(baseStr);
2951
- return diffs.map((diff$1) => toMobXPatchFromMicroDiff(diff$1, basePath));
2891
+ return diffs.map((diff) => toMobXPatchFromMicroDiff(diff, basePath));
2952
2892
  };
2953
2893
  function isPrimitive(value) {
2954
2894
  return value === null || typeof value === "string" || typeof value === "number" || typeof value === "boolean" || typeof value === "undefined";
2955
2895
  }
2956
- function toMobXPatchFromMicroDiff(diff$1, basePath) {
2957
- const type = diff$1.type;
2958
- const fullPath = [...basePath, ...diff$1.path];
2896
+ function toMobXPatchFromMicroDiff(diff, basePath) {
2897
+ const type = diff.type;
2898
+ const fullPath = [...basePath, ...diff.path];
2959
2899
  switch (type) {
2960
2900
  case "CREATE": return {
2961
2901
  op: "add",
2962
2902
  path: fullPath,
2963
- value: diff$1.value
2903
+ value: diff.value
2964
2904
  };
2965
2905
  case "CHANGE": return {
2966
2906
  op: "update",
2967
2907
  path: fullPath,
2968
- value: diff$1.value
2908
+ value: diff.value
2969
2909
  };
2970
2910
  case "REMOVE": return {
2971
2911
  op: "remove",
@@ -2978,12 +2918,11 @@ const removeBindAndReactElements = (value) => {
2978
2918
  if (!value || typeof value !== "object") return value;
2979
2919
  if (isReactElement(value)) return;
2980
2920
  if (Array.isArray(value)) return value.map(removeBindAndReactElements);
2981
- return Object.fromEntries(Object.entries(value).map(([key, value$1]) => {
2921
+ return Object.fromEntries(Object.entries(value).map(([key, value]) => {
2982
2922
  if (key === "bind") return [key, void 0];
2983
- return [key, removeBindAndReactElements(value$1)];
2923
+ return [key, removeBindAndReactElements(value)];
2984
2924
  }));
2985
2925
  };
2986
-
2987
2926
  //#endregion
2988
2927
  //#region src/edit-mode/mobx-sync/deep-observe.ts
2989
2928
  function buildPath(entry) {
@@ -3052,13 +2991,13 @@ function deepObserve(target, listener) {
3052
2991
  if (entry) {
3053
2992
  if (entry.parent !== parent || entry.path !== path) throw new Error(`The same observable object cannot appear twice in the same tree, trying to assign it to '${buildPath(parent)}/${path}', but it already exists at '${buildPath(entry.parent)}/${entry.path}'`);
3054
2993
  } else {
3055
- const entry$1 = {
2994
+ const entry = {
3056
2995
  parent,
3057
2996
  path,
3058
2997
  dispose: observe(thing, genericListener)
3059
2998
  };
3060
- entrySet.set(thing, entry$1);
3061
- entries(thing).forEach(([key, value]) => observeRecursively(value, entry$1, "" + key));
2999
+ entrySet.set(thing, entry);
3000
+ entries(thing).forEach(([key, value]) => observeRecursively(value, entry, "" + key));
3062
3001
  }
3063
3002
  }
3064
3003
  }
@@ -3076,7 +3015,6 @@ function deepObserve(target, listener) {
3076
3015
  unobserveRecursively(target);
3077
3016
  };
3078
3017
  }
3079
-
3080
3018
  //#endregion
3081
3019
  //#region src/edit-mode/mobx-sync/mobx-editor-sync.ts
3082
3020
  /**
@@ -3182,7 +3120,6 @@ function startEditorSync(options) {
3182
3120
  disposers.forEach((disposer) => disposer());
3183
3121
  };
3184
3122
  }
3185
-
3186
3123
  //#endregion
3187
3124
  //#region src/lib/internal-details/lib/features/type-defs-utils.ts
3188
3125
  const analyzePropertyType = (propData, prop) => {
@@ -3203,7 +3140,6 @@ const analyzePropertyType = (propData, prop) => {
3203
3140
  else dataType = "unknown";
3204
3141
  return dataType;
3205
3142
  };
3206
-
3207
3143
  //#endregion
3208
3144
  //#region src/lib/internal-details/lib/features/component-registry.ts
3209
3145
  /**
@@ -3394,15 +3330,14 @@ var ComponentRegistry = class {
3394
3330
  const splitPath = path.split(".");
3395
3331
  if (splitPath.length === 1) return path;
3396
3332
  const [parentKey, _maybeTheRecordKey, ...rest] = splitPath;
3397
- for (const prop of managedProps) if (prop.path.startsWith(parentKey) && prop.path.includes(RECORD_PATH_IDENTIFIER) && rest.length > 0 && prop.path.endsWith(rest.join("."))) return [
3333
+ for (const prop of managedProps) if (prop.path.startsWith(parentKey) && prop.path.includes("*") && rest.length > 0 && prop.path.endsWith(rest.join("."))) return [
3398
3334
  parentKey,
3399
- RECORD_PATH_IDENTIFIER,
3335
+ "*",
3400
3336
  rest.join(".")
3401
3337
  ].join(".");
3402
3338
  return path;
3403
3339
  }
3404
3340
  };
3405
-
3406
3341
  //#endregion
3407
3342
  //#region src/lib/internal-details/lib/root-store.ts
3408
3343
  /**
@@ -3472,7 +3407,7 @@ var RootStore = class {
3472
3407
  _resolveDiscovery;
3473
3408
  editorRegisteredCallbacks = [];
3474
3409
  constructor() {
3475
- this.apis = new api_store_default(this);
3410
+ this.apis = new ApiManager(this);
3476
3411
  this.componentRegistry = new ComponentRegistry(this);
3477
3412
  this.locationStore = new LocationStore(this);
3478
3413
  makeObservable(this, {
@@ -3604,7 +3539,6 @@ var RootStore = class {
3604
3539
  }
3605
3540
  };
3606
3541
  var root_store_default = new RootStore();
3607
-
3608
3542
  //#endregion
3609
3543
  //#region src/lib/user-facing/assets/images/clark.svg
3610
3544
  var _path$1, _path2, _path3, _path4, _path5, _path6, _path7, _defs;
@@ -3617,7 +3551,7 @@ function _extends$1() {
3617
3551
  return n;
3618
3552
  }, _extends$1.apply(null, arguments);
3619
3553
  }
3620
- var SvgClark = function SvgClark$1(props) {
3554
+ var SvgClark = function SvgClark(props) {
3621
3555
  return /* @__PURE__ */ React$1.createElement("svg", _extends$1({
3622
3556
  xmlns: "http://www.w3.org/2000/svg",
3623
3557
  width: 28,
@@ -3700,8 +3634,6 @@ var SvgClark = function SvgClark$1(props) {
3700
3634
  stopColor: "currentColor"
3701
3635
  })))));
3702
3636
  };
3703
- var clark_default = SvgClark;
3704
-
3705
3637
  //#endregion
3706
3638
  //#region src/lib/internal-details/internal-components/common.ts
3707
3639
  const ErrorIconContainer = styled.div`
@@ -3734,7 +3666,7 @@ const ErrorIconContainer = styled.div`
3734
3666
  }
3735
3667
  }
3736
3668
  `;
3737
- const StyledClarkIcon = styled(clark_default)`
3669
+ const StyledClarkIcon = styled(SvgClark)`
3738
3670
  width: 54px;
3739
3671
  height: 54px;
3740
3672
  color: white;
@@ -3863,7 +3795,6 @@ const ActionsContainer = styled.div`
3863
3795
  align-items: center;
3864
3796
  justify-content: center;
3865
3797
  `;
3866
-
3867
3798
  //#endregion
3868
3799
  //#region src/edit-mode/assets/ai-stars.svg
3869
3800
  var _path;
@@ -3876,7 +3807,7 @@ function _extends() {
3876
3807
  return n;
3877
3808
  }, _extends.apply(null, arguments);
3878
3809
  }
3879
- var SvgAiStars = function SvgAiStars$1(props) {
3810
+ var SvgAiStars = function SvgAiStars(props) {
3880
3811
  return /* @__PURE__ */ React$1.createElement("svg", _extends({
3881
3812
  xmlns: "http://www.w3.org/2000/svg",
3882
3813
  width: 13,
@@ -3889,8 +3820,6 @@ var SvgAiStars = function SvgAiStars$1(props) {
3889
3820
  clipRule: "evenodd"
3890
3821
  })));
3891
3822
  };
3892
- var ai_stars_default = SvgAiStars;
3893
-
3894
3823
  //#endregion
3895
3824
  //#region src/lib/internal-details/internal-components/fix-with-clark-button.tsx
3896
3825
  const MAX_STACK_FRAMES = 10;
@@ -3944,17 +3873,15 @@ function FixWithClarkButton({ identifier, error, onClick }) {
3944
3873
  return /* @__PURE__ */ jsxs(FixWithClarkButtonContainer, {
3945
3874
  onClick: handleFixWithAi,
3946
3875
  disabled: isAiEditing,
3947
- children: [/* @__PURE__ */ jsx(ai_stars_default, {}), " Fix with Clark"]
3876
+ children: [/* @__PURE__ */ jsx(SvgAiStars, {}), " Fix with Clark"]
3948
3877
  });
3949
3878
  }
3950
-
3951
3879
  //#endregion
3952
3880
  //#region src/lib/internal-details/css-constants.ts
3953
3881
  const CSS_CLASSES = {
3954
3882
  SUSPENSE_FALLBACK: "sb-suspense-fallback",
3955
3883
  ANCHOR_NAME: "sb-anchor-name"
3956
3884
  };
3957
-
3958
3885
  //#endregion
3959
3886
  //#region src/lib/internal-details/lib/suspense/suspense-fallback.tsx
3960
3887
  const shimmerAnimation = keyframes`
@@ -3998,7 +3925,6 @@ function SuspenseFallback({ style, className, noBorderRadius }) {
3998
3925
  "data-test": "suspense-fallback"
3999
3926
  });
4000
3927
  }
4001
-
4002
3928
  //#endregion
4003
3929
  //#region src/lib/user-facing/component-base/error-boundary.tsx
4004
3930
  const ErrorBoundaryContainer = styled.div`
@@ -4122,8 +4048,6 @@ var ErrorBoundary = class extends Component {
4122
4048
  return this.props.children;
4123
4049
  }
4124
4050
  };
4125
- var error_boundary_default = ErrorBoundary;
4126
-
4127
4051
  //#endregion
4128
4052
  //#region src/lib/utils/widget-wrapper-naming.ts
4129
4053
  const getWidgetAnchorName = (selectorId) => {
@@ -4132,14 +4056,12 @@ const getWidgetAnchorName = (selectorId) => {
4132
4056
  const getWidgetRectAnchorName = (selectorId) => {
4133
4057
  return `--widget-rect-${selectorId}`;
4134
4058
  };
4135
-
4136
4059
  //#endregion
4137
4060
  //#region src/edit-mode/edit-wrapper.tsx
4138
4061
  if (typeof window !== "undefined" && typeof document.documentElement !== "undefined" && !("anchorName" in document.documentElement.style)) polyfill();
4139
4062
  const createAnchorNameStyle = (props) => {
4140
4063
  return { "--anchor-name": getWidgetAnchorName(props.selectorId) };
4141
4064
  };
4142
-
4143
4065
  //#endregion
4144
4066
  //#region src/edit-mode/instance-tracker.ts
4145
4067
  /**
@@ -4165,7 +4087,6 @@ var InstanceTracker = class {
4165
4087
  }
4166
4088
  };
4167
4089
  const instanceTracker = new InstanceTracker();
4168
-
4169
4090
  //#endregion
4170
4091
  //#region src/edit-mode/jsx-wrapper.tsx
4171
4092
  const JSXContext = React.createContext({
@@ -4175,7 +4096,7 @@ const JSXContext = React.createContext({
4175
4096
  const makeWrappedComponent = (type) => {
4176
4097
  const isTag = typeof type === "string";
4177
4098
  const isRegisteredSbComponent = root_store_default.componentRegistry.hasComponent(type);
4178
- const Component$1 = React.forwardRef((props, ref) => {
4099
+ const Component = React.forwardRef((props, ref) => {
4179
4100
  const { selectorId: parentSelectorId } = useJSXContext();
4180
4101
  const sourceId = props[SOURCE_ID_ATTRIBUTE];
4181
4102
  const noSelect = props[NO_SELECT_ATTRIBUTE];
@@ -4231,20 +4152,20 @@ const makeWrappedComponent = (type) => {
4231
4152
  });
4232
4153
  return /* @__PURE__ */ jsx(JSXContext.Provider, {
4233
4154
  value: jsxContext,
4234
- children: /* @__PURE__ */ jsx(error_boundary_default, { children: element })
4155
+ children: /* @__PURE__ */ jsx(ErrorBoundary, { children: element })
4235
4156
  });
4236
4157
  });
4237
4158
  try {
4238
- Component$1.displayName = typeof type === "string" ? type : type.displayName || type.name || "Component";
4159
+ Component.displayName = typeof type === "string" ? type : type.displayName || type.name || "Component";
4239
4160
  } catch (e) {
4240
4161
  console.error("Error setting displayName", e);
4241
4162
  }
4242
- return Component$1;
4163
+ return Component;
4243
4164
  };
4244
4165
  const useJSXContext = () => {
4245
4166
  return React.useContext(JSXContext);
4246
4167
  };
4247
-
4248
4168
  //#endregion
4249
- export { useSuperblocksProfiles as A, isEditMode as B, rejectById as C, useSuperblocksContext as D, getAppMode as E, colors as F, createPropertiesPanelDefinition as G, Prop as H, editorBridge as I, getEditStore as K, iframeMessageHandler as L, embedStore as M, generateId as N, useSuperblocksDataTags as O, sendNotification as P, isEmbeddedBySuperblocksFirstParty as R, addNewPromise as S, SuperblocksContextProvider as T, PropsCategory as U, createManagedPropsList as V, Section as W, root_store_default as _, FixWithClarkButton as a, getContextFromTraceHeaders as b, ErrorContent as c, ErrorMessage as d, ErrorStack as f, StyledClarkIcon as g, SecondaryButton as h, getWidgetRectAnchorName as i, useSuperblocksUser as j, useSuperblocksGroups as k, ErrorDetails as l, ErrorTitle as m, useJSXContext as n, ActionsContainer as o, ErrorSummary as p, getWidgetAnchorName as r, ErrorContainer as s, makeWrappedComponent as t, ErrorIconContainer as u, startEditorSync as v, resolveById as w, api_hmr_tracker_default as x, createIframeSpan as y, sendMessageImmediately as z };
4250
- //# sourceMappingURL=jsx-wrapper-BLrvyiEf.js.map
4169
+ export { useSuperblocksProfiles as A, isEditMode as B, rejectById as C, useSuperblocksContext as D, getAppMode as E, colors as F, createPropertiesPanelDefinition as G, Prop as H, editorBridge as I, getEditStore as K, iframeMessageHandler as L, embedStore as M, generateId as N, useSuperblocksDataTags as O, sendNotification as P, isEmbeddedBySuperblocksFirstParty as R, addNewPromise as S, SuperblocksContextProvider as T, PropsCategory as U, createManagedPropsList as V, Section as W, root_store_default as _, FixWithClarkButton as a, getContextFromTraceHeaders as b, ErrorContent as c, ErrorMessage as d, ErrorStack as f, StyledClarkIcon as g, SecondaryButton as h, getWidgetRectAnchorName as i, useSuperblocksUser as j, useSuperblocksGroups as k, ErrorDetails as l, ErrorTitle as m, useJSXContext as n, ActionsContainer as o, ErrorSummary as p, getWidgetAnchorName as r, ErrorContainer as s, makeWrappedComponent as t, ErrorIconContainer as u, startEditorSync as v, resolveById as w, tracker as x, createIframeSpan as y, sendMessageImmediately as z };
4170
+
4171
+ //# sourceMappingURL=jsx-wrapper-BaTggkUU.js.map