@superblocksteam/library 2.0.40-next.3 → 2.0.40-next.5

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.
@@ -0,0 +1,4 @@
1
+ import { root_store_default } from "./root-store-D5kPt3bg.js";
2
+ import "./utils-CCBWAYIM.js";
3
+
4
+ export { root_store_default as default };
@@ -143,7 +143,7 @@ var DeployedParentBridge = class {
143
143
  socketError(_message) {}
144
144
  aiGenerate(_prompt) {}
145
145
  addComponentToAiContext(_sourceId) {}
146
- toggleComponentInAiContext(_sourceId, _instanceId) {}
146
+ toggleComponentInAiContext(_sourceId, _instanceId, _label) {}
147
147
  setAiContextMode(_mode) {}
148
148
  sendRuntimeError(_data) {}
149
149
  sendClearRuntimeError(_id) {}
@@ -379,7 +379,7 @@ var SuperblocksEditorBridge = class SuperblocksEditorBridge {
379
379
  }
380
380
  });
381
381
  }
382
- toggleComponentInAiContext(sourceId, instanceId) {
382
+ toggleComponentInAiContext(sourceId, instanceId, label) {
383
383
  const editStore = getEditStore();
384
384
  if (editStore?.ai.isAlternateSourceIdTarget(sourceId, instanceId)) {
385
385
  editStore.ai.toggleTargetedInstance(instanceId);
@@ -389,7 +389,8 @@ var SuperblocksEditorBridge = class SuperblocksEditorBridge {
389
389
  type: "ai-updates",
390
390
  payload: {
391
391
  type: "toggle-component-in-context",
392
- component: sourceId
392
+ component: sourceId,
393
+ label
393
394
  }
394
395
  });
395
396
  }
@@ -992,7 +993,7 @@ var registry_default = EventRegistry;
992
993
 
993
994
  //#endregion
994
995
  //#region src/lib/triggers/run-event-handlers.ts
995
- const getRootStore = () => import("./root-store-C8Wjgal-.js").then((module) => module.default);
996
+ const getRootStore = () => import("./root-store-BY1bErZz.js").then((module) => module.default);
996
997
  const runEventHandlers = async ({ flow, name, scopeId, additionalContext }) => {
997
998
  const context$1 = {
998
999
  scopeId,
@@ -4553,4 +4554,4 @@ var root_store_default = new RootStore();
4553
4554
 
4554
4555
  //#endregion
4555
4556
  export { CLASS_NAMES, DEFAULT_ANONYMOUS_SOURCE_ID, DevTools, EventFlow, GLOBAL_SCOPE_ID, LazyFunction, NavigationEvent, Prop, PropsPanelCategory, RecordProp, Section, VALIDATORS, addNewPromise, colors, createInternalPropsList, createManagedPropsList, createPropertiesPanelDefinition, editorBridge, generateId, getEditStore, getName, iframeMessageHandler, isEditMode, isEmbeddedBySuperblocksFirstParty, isLocalLink, isName, isNameEqual, navigation, rejectById, resolveById, root_store_default, run_event_handlers_default, sendNotification, startEditorSync, system_error_default };
4556
- //# sourceMappingURL=root-store-D7IuNpKE.js.map
4557
+ //# sourceMappingURL=root-store-D5kPt3bg.js.map