@superblocksteam/library 2.0.37-next.49 → 2.0.37-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.
- package/dist/index.d.ts +55 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +651 -516
- package/dist/index.js.map +1 -1
- package/dist/{root-store-D7IuNpKE.js → root-store-OkumbU1B.js} +12 -4
- package/dist/root-store-OkumbU1B.js.map +1 -0
- package/dist/root-store-Z42RSY5l.js +4 -0
- package/package.json +5 -3
- package/dist/root-store-C8Wjgal-.js +0 -4
- package/dist/root-store-D7IuNpKE.js.map +0 -1
|
@@ -126,6 +126,7 @@ var DeployedParentBridge = class {
|
|
|
126
126
|
sendStreamedApiMessage(_message, _apiName) {}
|
|
127
127
|
setApiStarted(_apiName) {}
|
|
128
128
|
setApiResponse(_apiName, _response) {}
|
|
129
|
+
updateTheme(_theme, _generatedTheme) {}
|
|
129
130
|
updatePropertiesPanels(_updates) {}
|
|
130
131
|
addPropertiesPanel(_id, _definition) {}
|
|
131
132
|
initializeEditorSyncedStore(_payload) {}
|
|
@@ -281,6 +282,15 @@ var SuperblocksEditorBridge = class SuperblocksEditorBridge {
|
|
|
281
282
|
}
|
|
282
283
|
});
|
|
283
284
|
}
|
|
285
|
+
updateTheme(theme, generatedTheme) {
|
|
286
|
+
this.queueMessage({
|
|
287
|
+
type: "codeMode/updateTheme",
|
|
288
|
+
payload: {
|
|
289
|
+
theme,
|
|
290
|
+
generatedTheme
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
}
|
|
284
294
|
updatePropertiesPanels(updates) {
|
|
285
295
|
this.queueMessage({
|
|
286
296
|
type: "codeMode/updatePropertiesPanels",
|
|
@@ -992,7 +1002,7 @@ var registry_default = EventRegistry;
|
|
|
992
1002
|
|
|
993
1003
|
//#endregion
|
|
994
1004
|
//#region src/lib/triggers/run-event-handlers.ts
|
|
995
|
-
const getRootStore = () => import("./root-store-
|
|
1005
|
+
const getRootStore = () => import("./root-store-Z42RSY5l.js").then((module) => module.default);
|
|
996
1006
|
const runEventHandlers = async ({ flow, name, scopeId, additionalContext }) => {
|
|
997
1007
|
const context$1 = {
|
|
998
1008
|
scopeId,
|
|
@@ -1485,7 +1495,6 @@ var Prop = class Prop {
|
|
|
1485
1495
|
isTriggerProperty = true;
|
|
1486
1496
|
break;
|
|
1487
1497
|
case "jsx":
|
|
1488
|
-
case "children":
|
|
1489
1498
|
baseControlType = "JSX";
|
|
1490
1499
|
break;
|
|
1491
1500
|
case "any":
|
|
@@ -2577,7 +2586,6 @@ var EntityManager = class {
|
|
|
2577
2586
|
func: eov.value,
|
|
2578
2587
|
path: prop,
|
|
2579
2588
|
args,
|
|
2580
|
-
excludeState: true,
|
|
2581
2589
|
get entityName() {
|
|
2582
2590
|
return getName(entity.name);
|
|
2583
2591
|
}
|
|
@@ -4553,4 +4561,4 @@ var root_store_default = new RootStore();
|
|
|
4553
4561
|
|
|
4554
4562
|
//#endregion
|
|
4555
4563
|
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-
|
|
4564
|
+
//# sourceMappingURL=root-store-OkumbU1B.js.map
|