@superblocksteam/library 2.0.137-next.0 → 2.0.138-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.
- package/dist/jsx-dev-runtime/index.js +1 -1
- package/dist/{jsx-wrapper-wJs8wFGh.js → jsx-wrapper-CSTsctdq.js} +10 -7
- package/dist/jsx-wrapper-CSTsctdq.js.map +1 -0
- package/dist/lib/index.d.ts +12 -0
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +195 -164
- package/dist/lib/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/jsx-wrapper-wJs8wFGh.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as tracker, t as makeWrappedComponent, v as root_store_default } from "../jsx-wrapper-
|
|
1
|
+
import { S as tracker, t as makeWrappedComponent, v as root_store_default } from "../jsx-wrapper-CSTsctdq.js";
|
|
2
2
|
import { SOURCE_ID_ATTRIBUTE } from "@superblocksteam/library-shared";
|
|
3
3
|
import * as ReactJsxDevRuntime from "react/jsx-dev-runtime";
|
|
4
4
|
//#region src/jsx-dev-runtime/jsx-dev-runtime.ts
|
|
@@ -715,7 +715,7 @@ var DeployedParentBridge = class {
|
|
|
715
715
|
}
|
|
716
716
|
connected() {}
|
|
717
717
|
sendReady(_connectionStartTime) {}
|
|
718
|
-
sendLoadError(_error) {}
|
|
718
|
+
sendLoadError(_error, _source) {}
|
|
719
719
|
sendClearLoadError() {}
|
|
720
720
|
sendAppFrameWillReload() {}
|
|
721
721
|
sendNotification(_type, _message, _description) {}
|
|
@@ -751,7 +751,7 @@ var DeployedParentBridge = class {
|
|
|
751
751
|
sendAiLoaderState(_shouldShowLoader) {}
|
|
752
752
|
sendRuntimeError(_data) {}
|
|
753
753
|
sendClearRuntimeError(_id) {}
|
|
754
|
-
sendConsoleLog(_data) {}
|
|
754
|
+
sendConsoleLog(_data, _forceSend) {}
|
|
755
755
|
setInteractionMode(_mode) {}
|
|
756
756
|
forwardKeypress(_keys, _eventInfo) {}
|
|
757
757
|
sendCaptureScreenshotResponse(_callbackId, _dataUrl, _error) {}
|
|
@@ -818,10 +818,13 @@ var SuperblocksEditorBridge = class SuperblocksEditorBridge {
|
|
|
818
818
|
payload: { connectionStartTime }
|
|
819
819
|
}, true);
|
|
820
820
|
}
|
|
821
|
-
sendLoadError(error) {
|
|
821
|
+
sendLoadError(error, source) {
|
|
822
822
|
this.sendImmediate({
|
|
823
823
|
type: "sb-load-error",
|
|
824
|
-
payload: {
|
|
824
|
+
payload: {
|
|
825
|
+
error,
|
|
826
|
+
...source ? { source } : {}
|
|
827
|
+
}
|
|
825
828
|
}, true);
|
|
826
829
|
}
|
|
827
830
|
sendClearLoadError() {
|
|
@@ -1104,11 +1107,11 @@ var SuperblocksEditorBridge = class SuperblocksEditorBridge {
|
|
|
1104
1107
|
payload: { id }
|
|
1105
1108
|
}, forceSend);
|
|
1106
1109
|
}
|
|
1107
|
-
sendConsoleLog(data) {
|
|
1110
|
+
sendConsoleLog(data, forceSend = false) {
|
|
1108
1111
|
this.sendImmediate({
|
|
1109
1112
|
type: "console-log",
|
|
1110
1113
|
payload: data
|
|
1111
|
-
});
|
|
1114
|
+
}, forceSend);
|
|
1112
1115
|
}
|
|
1113
1116
|
setInteractionMode(mode) {
|
|
1114
1117
|
this.sendImmediate({
|
|
@@ -4284,4 +4287,4 @@ const useJSXContext = () => {
|
|
|
4284
4287
|
//#endregion
|
|
4285
4288
|
export { useSuperblocksGroups as A, isEmbeddedBySuperblocksFirstParty as B, addNewPromise as C, getAppMode as D, SuperblocksContextProvider as E, sendNotification as F, PropsCategory as G, isEditMode as H, colors as I, getEditStore as J, Section as K, editorBridge as L, useSuperblocksUser as M, embedStore as N, useSuperblocksContext as O, generateId as P, getParentOrigin as R, tracker as S, resolveById as T, createManagedPropsList as U, sendMessageImmediately as V, Prop as W, ORCHESTRATOR_EXECUTE_RESPONSE_SIZE_LIMIT_FLAG as _, FixWithClarkButton as a, createIframeSpan as b, ErrorContent as c, ErrorMessage as d, ErrorStack as f, StyledClarkIcon as g, SecondaryButton as h, getWidgetRectAnchorName as i, useSuperblocksProfiles as j, useSuperblocksDataTags as k, ErrorDetails as l, ErrorTitle as m, useJSXContext as n, ActionsContainer as o, ErrorSummary as p, createPropertiesPanelDefinition as q, getWidgetAnchorName as r, ErrorContainer as s, makeWrappedComponent as t, ErrorIconContainer as u, root_store_default as v, rejectById as w, getContextFromTraceHeaders as x, startEditorSync as y, iframeMessageHandler as z };
|
|
4286
4289
|
|
|
4287
|
-
//# sourceMappingURL=jsx-wrapper-
|
|
4290
|
+
//# sourceMappingURL=jsx-wrapper-CSTsctdq.js.map
|