@superblocksteam/library 2.0.6 → 2.0.7
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/{allPaths-CROgh4Wr.js → allPaths-Boby_CDT.js} +2 -2
- package/dist/{allPaths-CROgh4Wr.js.map → allPaths-Boby_CDT.js.map} +1 -1
- package/dist/{allPaths-Va1k8Bn4.js → allPaths-d63_pjlB.js} +2 -2
- package/dist/{allPaths-Va1k8Bn4.js.map → allPaths-d63_pjlB.js.map} +1 -1
- package/dist/{allPathsLoader-BdHvMdcd.js → allPathsLoader-CmUnKzK9.js} +3 -3
- package/dist/{allPathsLoader-BdHvMdcd.js.map → allPathsLoader-CmUnKzK9.js.map} +1 -1
- package/dist/{allPathsLoader-BJthmVkF.js → allPathsLoader-DyTMsYjm.js} +3 -3
- package/dist/{allPathsLoader-BJthmVkF.js.map → allPathsLoader-DyTMsYjm.js.map} +1 -1
- package/dist/{devtools-consolidated-Ck9KuyGf.js → devtools-consolidated-B3U5EpYG.js} +2 -2
- package/dist/{devtools-consolidated-Ck9KuyGf.js.map → devtools-consolidated-B3U5EpYG.js.map} +1 -1
- package/dist/{icons-NrNO8p_u.js → icons-lSlfQ50w.js} +10 -14
- package/dist/icons-lSlfQ50w.js.map +1 -0
- package/dist/{index-CJuRwhWz.js → index-NrZGBHks.js} +19419 -17119
- package/dist/{index-CJuRwhWz.js.map → index-NrZGBHks.js.map} +1 -1
- package/dist/index.js +150 -149
- package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js → splitPathsBySizeLoader-B6CeEPjz.js} +2 -2
- package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-B6CeEPjz.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-BFbna0L2.js → splitPathsBySizeLoader-mTPqVWRR.js} +2 -2
- package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-mTPqVWRR.js.map} +1 -1
- package/dist-types/edit-mode/create-component.d.ts +1 -1
- package/dist-types/edit-mode/dnd/utils.d.ts +4 -0
- package/dist-types/edit-mode/features/properties-panel-manager.d.ts +12 -1
- package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +22 -22
- package/dist-types/edit-mode/features/ui-store.d.ts +1 -1
- package/dist-types/edit-mode/iframe-wrappers.d.ts +1 -0
- package/dist-types/edit-mode/source-update-api.d.ts +5 -0
- package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +7 -1
- package/dist-types/edit-mode/vite.d.ts +5 -0
- package/dist-types/internal-testing/components/slideout.d.ts +3 -0
- package/dist-types/lib/index.d.ts +1 -0
- package/dist-types/lib/internal-details/actions-context.d.ts +1 -1
- package/dist-types/lib/internal-details/entities-state.d.ts +2 -1
- package/dist-types/lib/internal-details/is-sb-component.d.ts +5 -1
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +16 -27
- package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +3 -2
- package/dist-types/lib/internal-details/lib/evaluator/create-global-object.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +3 -2
- package/dist-types/lib/internal-details/lib/evaluator/deep-observe.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +8 -7
- package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +2 -1
- package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +2 -2
- package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +6 -0
- package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +8 -0
- package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +2 -1
- package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +16 -1
- package/dist-types/lib/internal-details/lib/root-store.d.ts +2 -0
- package/dist-types/lib/internal-details/lib/types.d.ts +34 -1
- package/dist-types/lib/internal-details/location-store.d.ts +18 -0
- package/dist-types/lib/internal-details/scope/global.d.ts +1 -1
- package/dist-types/lib/internal-details/scope/types.d.ts +2 -2
- package/dist-types/lib/triggers/base.d.ts +1 -2
- package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +1 -8
- package/dist-types/lib/triggers/implementations/apis/run-apis.d.ts +3 -21
- package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +3 -9
- package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +5 -10
- package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +2 -9
- package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +2 -9
- package/dist-types/lib/triggers/implementations/navigate/navigate-to-app.d.ts +1 -13
- package/dist-types/lib/triggers/implementations/navigate/navigate-to-route.d.ts +1 -12
- package/dist-types/lib/triggers/implementations/navigate/navigate-to.d.ts +1 -9
- package/dist-types/lib/triggers/implementations/navigate/set-query-params.d.ts +2 -8
- package/dist-types/lib/triggers/implementations/run-js.d.ts +1 -8
- package/dist-types/lib/triggers/implementations/set-profile.d.ts +2 -7
- package/dist-types/lib/triggers/implementations/show-alert.d.ts +3 -12
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +3 -9
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +4 -11
- package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +3 -9
- package/dist-types/lib/triggers/implementations/trigger-event.d.ts +1 -7
- package/dist-types/lib/triggers/registry.d.ts +4 -175
- package/dist-types/lib/triggers/run-event-handlers.d.ts +2 -2
- package/dist-types/lib/user-facing/build-manifest.d.ts +2 -0
- package/dist-types/lib/user-facing/component-base/sb-component.d.ts +5 -1
- package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
- package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
- package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
- package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
- package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
- package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
- package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
- package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +14 -11
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
- package/dist-types/lib/user-facing/components/dropdown/types.d.ts +1 -2
- package/dist-types/lib/user-facing/components/grid/index.d.ts +20 -18
- package/dist-types/lib/user-facing/components/icon/index.d.ts +11 -13
- package/dist-types/lib/user-facing/components/icon/props.d.ts +11 -13
- package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
- package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
- package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
- package/dist-types/lib/user-facing/components/input/input-component.d.ts +1 -0
- package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
- package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/modal/index.d.ts +27 -31
- package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
- package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
- package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
- package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
- package/dist-types/lib/user-facing/components/slideout/constants.d.ts +10 -0
- package/dist-types/lib/user-facing/components/slideout/index.d.ts +41 -1
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +39 -19
- package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +31 -0
- package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
- package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
- package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +262 -161
- package/dist-types/lib/user-facing/components/table/components/table-header.d.ts +1 -0
- package/dist-types/lib/user-facing/components/table/index.d.ts +305 -204
- package/dist-types/lib/user-facing/components/table/props.d.ts +305 -204
- package/dist-types/lib/user-facing/components/table/table-component.d.ts +1 -0
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +7 -10
- package/dist-types/lib/user-facing/components/table/table-widget.d.ts +8 -6
- package/dist-types/lib/user-facing/components/table/types.d.ts +34 -32
- package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
- package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
- package/dist-types/lib/user-facing/constants.d.ts +1 -1
- package/dist-types/lib/user-facing/entities/api/props.d.ts +20 -11
- package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +20 -0
- package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
- package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
- package/dist-types/lib/user-facing/global-functions.d.ts +2 -1
- package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +14 -0
- package/dist-types/lib/user-facing/internal-index.d.ts +1 -1
- package/dist-types/lib/user-facing/layers.d.ts +1 -2
- package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +4 -0
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +13 -13
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
- package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +46 -46
- package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
- package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +1 -2
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +32 -13
- package/dist-types/lib/user-facing/properties-panel/validators.d.ts +1 -1
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +6 -8
- package/dist-types/lib/user-facing/sb-provider.d.ts +1 -2
- package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +1 -2
- package/dist-types/lib/user-facing/utils/notification.d.ts +1 -2
- package/package.json +4 -3
- package/dist/icons-NrNO8p_u.js.map +0 -1
- package/dist-types/lib/sb-trigger.d.ts +0 -48
- package/dist-types/lib/user-facing/components/grid/utils.d.ts +0 -1
package/dist/index.js
CHANGED
|
@@ -1,165 +1,166 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a0 as clientExports } from "./index-NrZGBHks.js";
|
|
2
|
+
import { a1, a2, Y, P, Q, a3, O, a4, a5, a6, a7, a8, a9, C, aa, ab, ac, ad, ae, $, af, W, ag, ah, ai, aj, Z, B, S, s, d, e, q, u, n, R, D, w, x, f, i, g, C as C2, c, k, v, l, h, z, y, A, ak, al, am, an, ao, T, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, E, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, N, aZ, a_, a$, b0, b1, b2, H, b3, b4, b5, b6, b7, K, b8, b9, F, ba, bb, bc, r, M, L, bd, be, bf, X, G, J, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, V, U, bN } from "./index-NrZGBHks.js";
|
|
3
3
|
const createRoot = clientExports.createRoot;
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
5
|
+
a1 as Await,
|
|
6
|
+
a2 as BrowserRouter,
|
|
7
|
+
Y as Dim,
|
|
8
|
+
P as Embed,
|
|
9
|
+
Q as Env,
|
|
10
|
+
a3 as Form,
|
|
11
|
+
O as Global,
|
|
12
|
+
a4 as HashRouter,
|
|
13
|
+
a5 as IDLE_BLOCKER,
|
|
14
|
+
a6 as IDLE_FETCHER,
|
|
15
|
+
a7 as IDLE_NAVIGATION,
|
|
16
|
+
a8 as Link,
|
|
17
|
+
a9 as Links,
|
|
18
|
+
C as MakeEditableWithSuperblocks,
|
|
19
|
+
aa as MemoryRouter,
|
|
20
|
+
ab as Meta,
|
|
21
|
+
ac as NavLink,
|
|
22
|
+
ad as Navigate,
|
|
23
|
+
ae as NavigationType,
|
|
24
|
+
$ as Outlet,
|
|
25
|
+
af as PrefetchPageLinks,
|
|
26
|
+
W as Prop,
|
|
27
|
+
ag as Route,
|
|
28
|
+
ah as Router,
|
|
29
|
+
ai as RouterProvider,
|
|
30
|
+
aj as Routes,
|
|
31
|
+
Z as SB,
|
|
32
|
+
B as SbApi,
|
|
33
33
|
S as SbButton,
|
|
34
|
-
|
|
34
|
+
s as SbCheckbox,
|
|
35
35
|
d as SbColumn,
|
|
36
36
|
e as SbContainer,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
q as SbCustom,
|
|
38
|
+
u as SbDatePicker,
|
|
39
|
+
n as SbDropdown,
|
|
40
|
+
R as SbEvent,
|
|
41
|
+
D as SbEventFlow,
|
|
42
|
+
w as SbIcon,
|
|
43
|
+
x as SbImage,
|
|
44
44
|
f as SbInput,
|
|
45
45
|
i as SbModal,
|
|
46
46
|
g as SbPage,
|
|
47
|
-
|
|
47
|
+
C2 as SbProvider,
|
|
48
48
|
c as SbSection,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
k as SbSlideout,
|
|
50
|
+
v as SbSwitch,
|
|
51
|
+
l as SbTable,
|
|
51
52
|
h as SbText,
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
z as SbTimer,
|
|
54
|
+
y as SbVariable,
|
|
54
55
|
A as SbVariablePersistence,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
ak as Scripts,
|
|
57
|
+
al as ScrollRestoration,
|
|
58
|
+
am as ServerRouter,
|
|
59
|
+
an as StaticRouter,
|
|
60
|
+
ao as StaticRouterProvider,
|
|
60
61
|
T as Theme,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
62
|
+
ap as UNSAFE_DataRouterContext,
|
|
63
|
+
aq as UNSAFE_DataRouterStateContext,
|
|
64
|
+
ar as UNSAFE_ErrorResponseImpl,
|
|
65
|
+
as as UNSAFE_FetchersContext,
|
|
66
|
+
at as UNSAFE_FrameworkContext,
|
|
67
|
+
au as UNSAFE_LocationContext,
|
|
68
|
+
av as UNSAFE_NavigationContext,
|
|
69
|
+
aw as UNSAFE_RemixErrorBoundary,
|
|
70
|
+
ax as UNSAFE_RouteContext,
|
|
71
|
+
ay as UNSAFE_ServerMode,
|
|
72
|
+
az as UNSAFE_SingleFetchRedirectSymbol,
|
|
73
|
+
aA as UNSAFE_ViewTransitionContext,
|
|
74
|
+
aB as UNSAFE_createBrowserHistory,
|
|
75
|
+
aC as UNSAFE_createClientRoutes,
|
|
76
|
+
aD as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
|
|
77
|
+
aE as UNSAFE_createRouter,
|
|
78
|
+
aF as UNSAFE_decodeViaTurboStream,
|
|
79
|
+
aG as UNSAFE_deserializeErrors,
|
|
80
|
+
aH as UNSAFE_getPatchRoutesOnNavigationFunction,
|
|
81
|
+
aI as UNSAFE_getSingleFetchDataStrategy,
|
|
82
|
+
aJ as UNSAFE_invariant,
|
|
83
|
+
aK as UNSAFE_mapRouteProperties,
|
|
84
|
+
aL as UNSAFE_shouldHydrateRouteLoader,
|
|
85
|
+
aM as UNSAFE_useFogOFWarDiscovery,
|
|
86
|
+
aN as UNSAFE_useScrollRestoration,
|
|
87
|
+
E as copyToClipboard,
|
|
88
|
+
aO as createBrowserRouter,
|
|
89
|
+
aP as createCookie,
|
|
90
|
+
aQ as createCookieSessionStorage,
|
|
91
|
+
aR as createHashRouter,
|
|
92
|
+
aS as createMemoryRouter,
|
|
93
|
+
aT as createMemorySessionStorage,
|
|
94
|
+
aU as createPath,
|
|
95
|
+
aV as createRequestHandler,
|
|
95
96
|
createRoot,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
97
|
+
aW as createRoutesFromChildren,
|
|
98
|
+
aX as createRoutesFromElements,
|
|
99
|
+
aY as createRoutesStub,
|
|
100
|
+
N as createSbScope,
|
|
101
|
+
aZ as createSearchParams,
|
|
102
|
+
a_ as createSession,
|
|
103
|
+
a$ as createSessionStorage,
|
|
104
|
+
b0 as createStaticHandler,
|
|
105
|
+
b1 as createStaticRouter,
|
|
106
|
+
b2 as data,
|
|
107
|
+
H as download,
|
|
108
|
+
b3 as generatePath,
|
|
109
|
+
b4 as href,
|
|
110
|
+
b5 as isCookie,
|
|
111
|
+
b6 as isRouteErrorResponse,
|
|
112
|
+
b7 as isSession,
|
|
113
|
+
K as logoutIntegrations,
|
|
114
|
+
b8 as matchPath,
|
|
115
|
+
b9 as matchRoutes,
|
|
116
|
+
F as navigateTo,
|
|
117
|
+
ba as parsePath,
|
|
118
|
+
bb as redirect,
|
|
119
|
+
bc as redirectDocument,
|
|
119
120
|
r as registerComponent,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
121
|
+
M as registerPage,
|
|
122
|
+
L as registerScope,
|
|
123
|
+
bd as renderMatches,
|
|
124
|
+
be as replace,
|
|
125
|
+
bf as resolvePath,
|
|
126
|
+
X as sbComputed,
|
|
127
|
+
G as setQueryParams,
|
|
128
|
+
J as showAlert,
|
|
129
|
+
bg as unstable_HistoryRouter,
|
|
130
|
+
bh as unstable_RouterContextProvider,
|
|
131
|
+
bi as unstable_createContext,
|
|
132
|
+
bj as unstable_setDevServerHooks,
|
|
133
|
+
bk as unstable_usePrompt,
|
|
134
|
+
bl as useActionData,
|
|
135
|
+
bm as useAsyncError,
|
|
136
|
+
bn as useAsyncValue,
|
|
137
|
+
bo as useBeforeUnload,
|
|
138
|
+
bp as useBlocker,
|
|
139
|
+
bq as useFetcher,
|
|
140
|
+
br as useFetchers,
|
|
141
|
+
bs as useFormAction,
|
|
142
|
+
bt as useHref,
|
|
143
|
+
bu as useInRouterContext,
|
|
144
|
+
bv as useLinkClickHandler,
|
|
145
|
+
bw as useLoaderData,
|
|
146
|
+
bx as useLocation,
|
|
147
|
+
by as useMatch,
|
|
148
|
+
bz as useMatches,
|
|
149
|
+
bA as useNavigate,
|
|
150
|
+
bB as useNavigation,
|
|
151
|
+
bC as useNavigationType,
|
|
152
|
+
bD as useOutlet,
|
|
153
|
+
bE as useOutletContext,
|
|
154
|
+
bF as useParams,
|
|
155
|
+
bG as useResolvedPath,
|
|
156
|
+
bH as useRevalidator,
|
|
157
|
+
bI as useRouteError,
|
|
158
|
+
bJ as useRouteLoaderData,
|
|
159
|
+
bK as useRoutes,
|
|
160
|
+
bL as useSearchParams,
|
|
161
|
+
bM as useSubmit,
|
|
162
|
+
V as useTheme,
|
|
163
|
+
U as useUpdateProperties,
|
|
164
|
+
bN as useViewTransitionState
|
|
164
165
|
};
|
|
165
166
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-NrZGBHks.js";
|
|
2
2
|
var splitPathsBySizeLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var key, pathsRecord;
|
|
@@ -31,4 +31,4 @@ var splitPathsBySizeLoader = function(name, size) {
|
|
|
31
31
|
export {
|
|
32
32
|
splitPathsBySizeLoader
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=splitPathsBySizeLoader-
|
|
34
|
+
//# sourceMappingURL=splitPathsBySizeLoader-B6CeEPjz.js.map
|
package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-B6CeEPjz.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-B6CeEPjz.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/splitPathsBySizeLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\nimport { pascalCase } from \"change-case\";\nimport { IconSize } from \"../iconTypes\";\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport var splitPathsBySizeLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var key, pathsRecord;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n key = pascalCase(name);\n if (!(size === IconSize.STANDARD)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\")];\n case 1:\n pathsRecord = _a.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\")];\n case 3:\n pathsRecord = _a.sent();\n _a.label = 4;\n case 4: return [2 /*return*/, pathsRecord[key]];\n }\n });\n}); };\n//# sourceMappingURL=splitPathsBySizeLoader.js.map"],"names":[],"mappings":";AAqBU,IAAC,yBAAyB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AAC7G,QAAI,KAAK;AACT,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AACD,gBAAM,WAAW,IAAI;AACrB,cAAI,EAAE,SAAS,SAAS,UAAW,QAAO,CAAC,GAAa,CAAC;AACzD,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEjB;AAAA,UAAyB,kBAAC;AAAA,QAClC,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,iBAAO,CAAC,GAAa,CAAC;AAAA,QAC1B,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAyB,kBAAC;AAAA,QAC9B,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,aAAG,QAAQ;AAAA,QACf,KAAK;AAAG,iBAAO,CAAC,GAAc,YAAY,GAAG,CAAC;AAAA,MAC1D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-NrZGBHks.js";
|
|
2
2
|
var splitPathsBySizeLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var key, pathsRecord;
|
|
@@ -31,4 +31,4 @@ var splitPathsBySizeLoader = function(name, size) {
|
|
|
31
31
|
export {
|
|
32
32
|
splitPathsBySizeLoader
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=splitPathsBySizeLoader-
|
|
34
|
+
//# sourceMappingURL=splitPathsBySizeLoader-mTPqVWRR.js.map
|
package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-mTPqVWRR.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-mTPqVWRR.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/splitPathsBySizeLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\nimport { pascalCase } from \"change-case\";\nimport { IconSize } from \"../iconTypes\";\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport var splitPathsBySizeLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var key, pathsRecord;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n key = pascalCase(name);\n if (!(size === IconSize.STANDARD)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\")];\n case 1:\n pathsRecord = _a.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\")];\n case 3:\n pathsRecord = _a.sent();\n _a.label = 4;\n case 4: return [2 /*return*/, pathsRecord[key]];\n }\n });\n}); };\n//# sourceMappingURL=splitPathsBySizeLoader.js.map"],"names":[],"mappings":";AAqBU,IAAC,yBAAyB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AAC7G,QAAI,KAAK;AACT,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AACD,gBAAM,WAAW,IAAI;AACrB,cAAI,EAAE,SAAS,SAAS,UAAW,QAAO,CAAC,GAAa,CAAC;AACzD,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEjB;AAAA,UAAyB,kBAAC;AAAA,QAClC,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,iBAAO,CAAC,GAAa,CAAC;AAAA,QAC1B,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAyB,kBAAC;AAAA,QAC9B,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,aAAG,QAAQ;AAAA,QACf,KAAK;AAAG,iBAAO,CAAC,GAAc,YAAY,GAAG,CAAC;AAAA,MAC1D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type PropertyInfo, type SbElement, type SourceLocation } from "@superblocksteam/library-shared/types";
|
|
2
2
|
export declare const getUniqueName: (componentType: string) => string;
|
|
3
3
|
export default function createComponent({ componentType, parent, scopeName, baseProperties, skipTriggerCreation, otherComponentsUpdates, }: {
|
|
4
4
|
componentType: string;
|
|
@@ -19,16 +19,20 @@ export declare function shouldWrapInSectionAndColumn(type: string, parentType: s
|
|
|
19
19
|
export declare const filterSafeStackDimensionProperties: (existingProps: {
|
|
20
20
|
width?: Dim;
|
|
21
21
|
height?: Dim;
|
|
22
|
+
size?: Dim;
|
|
22
23
|
}) => {
|
|
23
24
|
width?: PropertyInfo;
|
|
24
25
|
height?: PropertyInfo;
|
|
26
|
+
size?: PropertyInfo;
|
|
25
27
|
};
|
|
26
28
|
export declare const filterSafeGridDimensionProperties: (existingProps: {
|
|
27
29
|
width?: Dim;
|
|
28
30
|
height?: Dim;
|
|
31
|
+
size?: Dim;
|
|
29
32
|
}) => {
|
|
30
33
|
width?: PropertyInfo;
|
|
31
34
|
height?: PropertyInfo;
|
|
35
|
+
size?: PropertyInfo;
|
|
32
36
|
};
|
|
33
37
|
export declare const defaultSizeForComponent: (componentType: string, isFreeform: boolean, draggedDimensions?: {
|
|
34
38
|
widthGU?: number;
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import { type PropertyInfo, type SbElement, type SbInstance } from "@superblocksteam/library-shared/types";
|
|
2
2
|
import type RuntimeEntitiesManager from "./runtime-entities-manager.js";
|
|
3
3
|
import type { IEntityManager } from "../../lib/internal-details/lib/evaluator/base-entity-manager.js";
|
|
4
|
+
import type { ComponentRegistry } from "../../lib/internal-details/lib/features/component-registry.js";
|
|
4
5
|
import type { PropertiesDefinition } from "../../lib/user-facing/properties-panel/props-builder.js";
|
|
5
6
|
import type { PropertiesPanelDefinition } from "@superblocksteam/library-shared/props";
|
|
6
7
|
declare class PropertiesPanelManager {
|
|
7
8
|
readonly runtimeEntitiesManager: RuntimeEntitiesManager;
|
|
8
9
|
readonly entityManager: IEntityManager;
|
|
10
|
+
readonly componentsManager: ComponentRegistry;
|
|
9
11
|
private propertiesDefinitions;
|
|
10
12
|
private propertiesPanelTrackerDisposer;
|
|
11
13
|
private nonDynamicPropertyPanels;
|
|
12
14
|
private _propertyLookupCache;
|
|
13
|
-
|
|
15
|
+
private removeHotReloadListener;
|
|
16
|
+
constructor(runtimeEntitiesManager: RuntimeEntitiesManager, entityManager: IEntityManager, componentsManager: ComponentRegistry);
|
|
14
17
|
getPropertiesPanel(scopeId: string, instanceId: SbInstance): PropertiesPanelDefinition;
|
|
15
18
|
trackPropertiesPanel(scopeId: string, instanceId: SbInstance, sourceId: string): void;
|
|
16
19
|
getPropertiesDefinition(type: string): PropertiesDefinition | undefined;
|
|
17
20
|
setPropertiesDefinition(widgetType: string, propertiesDefinition: PropertiesDefinition): void;
|
|
21
|
+
updatePropertiesDefinitionForType(type: string): void;
|
|
18
22
|
getNonDynamicPropertiesPanels(): {
|
|
19
23
|
[k: string]: PropertiesPanelDefinition;
|
|
20
24
|
};
|
|
@@ -27,5 +31,12 @@ declare class PropertiesPanelManager {
|
|
|
27
31
|
}>;
|
|
28
32
|
private cachedPropertyLookupForType;
|
|
29
33
|
private getPropertyForPath;
|
|
34
|
+
/**
|
|
35
|
+
* When a custom component's source code is updated, we want to update the properties definition for that component.
|
|
36
|
+
* In order to do that, we need to listen to vite's hot reload events. We can't put import.meta.hot calls in the library
|
|
37
|
+
* because Vite just compiled all of those out in library builds, so we inject a listener from the plugin instead.
|
|
38
|
+
* https://github.com/vitejs/vite/blob/v6.2/packages/vite/src/node/plugins/define.ts#L37
|
|
39
|
+
*/
|
|
40
|
+
private attachHotReloadListener;
|
|
30
41
|
}
|
|
31
42
|
export default PropertiesPanelManager;
|
|
@@ -33,7 +33,27 @@ declare class RuntimeEntitiesManager {
|
|
|
33
33
|
private getChildrenWithOptimisticUpdates;
|
|
34
34
|
getEditorWidgetChildren(instanceId: SbInstance): ChildElement[];
|
|
35
35
|
hasEditOperationsPending(): boolean;
|
|
36
|
-
getPendingOperations(): ({
|
|
36
|
+
getPendingOperations(): ((import("./operation-store.js").ReparentTransaction | {
|
|
37
|
+
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
38
|
+
payload: import("@superblocksteam/library-shared/types").SetPropertiesRequest;
|
|
39
|
+
id: string;
|
|
40
|
+
callback?: () => void;
|
|
41
|
+
} | {
|
|
42
|
+
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
43
|
+
payload: import("@superblocksteam/library-shared/types").SetPropertyRequest;
|
|
44
|
+
id: string;
|
|
45
|
+
callback?: () => void;
|
|
46
|
+
} | {
|
|
47
|
+
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
48
|
+
payload: CreateRequest;
|
|
49
|
+
id: string;
|
|
50
|
+
callback?: () => void;
|
|
51
|
+
} | {
|
|
52
|
+
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
53
|
+
payload: DeleteRequest;
|
|
54
|
+
id: string;
|
|
55
|
+
callback?: () => void;
|
|
56
|
+
}) | {
|
|
37
57
|
instanceId: SbInstance;
|
|
38
58
|
sourceId: SbElement;
|
|
39
59
|
dragStartX: number;
|
|
@@ -65,27 +85,7 @@ declare class RuntimeEntitiesManager {
|
|
|
65
85
|
} | null;
|
|
66
86
|
isApplyingResize: boolean;
|
|
67
87
|
parentPadding?: import("@superblocksteam/library-shared/types").Padding;
|
|
68
|
-
}
|
|
69
|
-
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
70
|
-
payload: import("@superblocksteam/library-shared/types").SetPropertiesRequest;
|
|
71
|
-
id: string;
|
|
72
|
-
callback?: () => void;
|
|
73
|
-
} | {
|
|
74
|
-
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
75
|
-
payload: import("@superblocksteam/library-shared/types").SetPropertyRequest;
|
|
76
|
-
id: string;
|
|
77
|
-
callback?: () => void;
|
|
78
|
-
} | {
|
|
79
|
-
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
80
|
-
payload: CreateRequest;
|
|
81
|
-
id: string;
|
|
82
|
-
callback?: () => void;
|
|
83
|
-
} | {
|
|
84
|
-
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
85
|
-
payload: DeleteRequest;
|
|
86
|
-
id: string;
|
|
87
|
-
callback?: () => void;
|
|
88
|
-
}))[];
|
|
88
|
+
})[];
|
|
89
89
|
getScopeIdForSourceId(sourceId: SbElement): string | undefined;
|
|
90
90
|
applySideEffects(changes: Record<string, Record<string, unknown>>, scopeId: string): void;
|
|
91
91
|
isChildOf(childId: SbInstance, parentId: SbInstance): boolean;
|
|
@@ -28,7 +28,7 @@ declare class UIStore {
|
|
|
28
28
|
setSelectedInstanceIds(ids: SbInstance[]): void;
|
|
29
29
|
setFocusedInstanceId(instanceId: SbInstance | null): void;
|
|
30
30
|
setFocusedSourceId(sourceId: SbElement | null): void;
|
|
31
|
-
selectWidget(instanceId: SbInstance | null): void;
|
|
31
|
+
selectWidget(instanceId: SbInstance | null, _addToSelection?: boolean): void;
|
|
32
32
|
/**
|
|
33
33
|
* This is cursed because component selection actually needs to be done by instance ids, but
|
|
34
34
|
* instance IDs are only guaranteed to be stable after the component is rendered, while source IDs
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
export declare const FullPageSpinner: import("styled-components").StyledComponent<React.FC<import("@blueprintjs/core").SpinnerProps<HTMLElement>>, any, {}, never>;
|
|
2
3
|
declare const Auth0Wrapper: (props: React.PropsWithChildren) => React.JSX.Element;
|
|
3
4
|
declare const EmbedWrapper: (props: React.PropsWithChildren) => React.JSX.Element;
|
|
4
5
|
export { EmbedWrapper, Auth0Wrapper };
|
|
@@ -3,8 +3,13 @@ declare class OperationAPI {
|
|
|
3
3
|
private socket;
|
|
4
4
|
private retryAttempts;
|
|
5
5
|
constructor(serverUrl: string);
|
|
6
|
+
/**
|
|
7
|
+
* @throws {Error} if the websocket connection can't be initiated after 3 attempts
|
|
8
|
+
*/
|
|
6
9
|
connect(peerId: string, userId?: string): Promise<void>;
|
|
7
10
|
ensureFilesSynced: () => Promise<void>;
|
|
11
|
+
private handleSocketClose;
|
|
12
|
+
private retryConnection;
|
|
8
13
|
}
|
|
9
14
|
declare const _default: OperationAPI;
|
|
10
15
|
export default _default;
|
|
@@ -10,7 +10,7 @@ export declare class SuperblocksEditorBridge {
|
|
|
10
10
|
connected(): void;
|
|
11
11
|
sendReady(): void;
|
|
12
12
|
sendNotification(type: "success" | "error" | "info" | "warning", message: string, description?: string): void;
|
|
13
|
-
selectWidgets(sourceIds: SbElement[]
|
|
13
|
+
selectWidgets(sourceIds: SbElement[]): void;
|
|
14
14
|
editOpRequest<T extends EditOperationType>(type: T, payload: EditOperationPayload<T>["payload"]): void;
|
|
15
15
|
undo(): void;
|
|
16
16
|
redo(): void;
|
|
@@ -28,6 +28,12 @@ export declare class SuperblocksEditorBridge {
|
|
|
28
28
|
rejectPromise(callbackId: string, payload: unknown): void;
|
|
29
29
|
canvasClicked(): void;
|
|
30
30
|
registerContextMenuClick(sourceId: SbElement, clientX: number, clientY: number): void;
|
|
31
|
+
updateRoute(routeInfo: {
|
|
32
|
+
route: string;
|
|
33
|
+
path: string;
|
|
34
|
+
params: Record<string, unknown>;
|
|
35
|
+
}): void;
|
|
36
|
+
socketError(message: string): void;
|
|
31
37
|
private queueMessage;
|
|
32
38
|
private sendImmediate;
|
|
33
39
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { VitePostMessageKind } from "@superblocksteam/library-shared/types";
|
|
2
|
+
import type { VitePostMessage } from "@superblocksteam/library-shared/types";
|
|
3
|
+
export declare function onVitePostMessage<T extends VitePostMessageKind, Message extends Extract<VitePostMessage, {
|
|
4
|
+
kind: T;
|
|
5
|
+
}>>(kind: T, callback: (message: Message) => void): () => void;
|
|
@@ -8,6 +8,7 @@ export { SbInput } from "./user-facing/components/input/index.jsx";
|
|
|
8
8
|
export { SbPage } from "./user-facing/components/page/index.jsx";
|
|
9
9
|
export { SbText } from "./user-facing/components/text/index.jsx";
|
|
10
10
|
export { SbModal } from "./user-facing/components/modal/index.jsx";
|
|
11
|
+
export { SbSlideout } from "./user-facing/components/slideout/index.jsx";
|
|
11
12
|
export { SbTable } from "./user-facing/components/table/index.jsx";
|
|
12
13
|
export { SbDropdown } from "./user-facing/components/dropdown/index.jsx";
|
|
13
14
|
export type * from "./user-facing/components/dropdown/types.ts";
|
|
@@ -5,5 +5,5 @@ export declare const ActionsProvider: React.FC<React.PropsWithChildren<{
|
|
|
5
5
|
}>>;
|
|
6
6
|
export declare const useActions: () => {
|
|
7
7
|
reset: () => void;
|
|
8
|
-
update: (run: (entity: import("
|
|
8
|
+
update: (run: (entity: import("@superblocksteam/library-shared/types").Entity) => void) => void;
|
|
9
9
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ScopeId } from "./lib/evaluator/base-entity-manager.js";
|
|
2
|
+
import type { Entity } from "@superblocksteam/library-shared/types";
|
|
2
3
|
declare const entityActions: {
|
|
3
4
|
reset: (entityName: string, scopeId: ScopeId) => void;
|
|
4
5
|
update: (entityName: string, scopeId: ScopeId, run: (entity: Entity) => void) => void;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { SbComponentProps } from "../user-facing/component-base/sb-component";
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
3
|
type ChildFunction = Function;
|
|
4
|
-
export type StackChildElement = React.ReactElement<SbComponentProps
|
|
4
|
+
export type StackChildElement = React.ReactElement<SbComponentProps> & {
|
|
5
|
+
type: {
|
|
6
|
+
sbType: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
5
9
|
export declare const superblocksComponentSymbol: unique symbol;
|
|
6
10
|
export declare function isSbComponent(child: ReactNode | ChildFunction): child is StackChildElement;
|
|
7
11
|
export {};
|