@superblocksteam/library 2.0.6-next.89 → 2.0.6-next.9

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 (111) hide show
  1. package/dist/{allPaths-CrtDGuNf.js → allPaths-BbwLOFSN.js} +2 -2
  2. package/dist/{allPaths-CrtDGuNf.js.map → allPaths-BbwLOFSN.js.map} +1 -1
  3. package/dist/{allPaths-CgvYrNUw.js → allPaths-YpR_xtpv.js} +2 -2
  4. package/dist/{allPaths-CgvYrNUw.js.map → allPaths-YpR_xtpv.js.map} +1 -1
  5. package/dist/{allPathsLoader-LUVVWlgN.js → allPathsLoader-CTr7XzYS.js} +3 -3
  6. package/dist/{allPathsLoader-LUVVWlgN.js.map → allPathsLoader-CTr7XzYS.js.map} +1 -1
  7. package/dist/{allPathsLoader-DhgvyPfz.js → allPathsLoader-DjBKQsij.js} +3 -3
  8. package/dist/{allPathsLoader-DhgvyPfz.js.map → allPathsLoader-DjBKQsij.js.map} +1 -1
  9. package/dist/{devtools-consolidated-DrBc1h4m.js → devtools-consolidated-B2GVETCf.js} +2 -2
  10. package/dist/{devtools-consolidated-DrBc1h4m.js.map → devtools-consolidated-B2GVETCf.js.map} +1 -1
  11. package/dist/{icons-lSlfQ50w.js → icons-NrNO8p_u.js} +14 -10
  12. package/dist/icons-NrNO8p_u.js.map +1 -0
  13. package/dist/{index-2ihBTDX4.js → index-snr_jI8a.js} +22121 -24008
  14. package/dist/{index-2ihBTDX4.js.map → index-snr_jI8a.js.map} +1 -1
  15. package/dist/index.js +149 -150
  16. package/dist/{splitPathsBySizeLoader-mxO24EVV.js → splitPathsBySizeLoader-Blv6tUe4.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-mxO24EVV.js.map → splitPathsBySizeLoader-Blv6tUe4.js.map} +1 -1
  18. package/dist/{splitPathsBySizeLoader-BS08Me-9.js → splitPathsBySizeLoader-DbNFtg9G.js} +2 -2
  19. package/dist/{splitPathsBySizeLoader-BS08Me-9.js.map → splitPathsBySizeLoader-DbNFtg9G.js.map} +1 -1
  20. package/dist-types/edit-mode/dnd/utils.d.ts +0 -4
  21. package/dist-types/edit-mode/features/ui-store.d.ts +1 -1
  22. package/dist-types/edit-mode/iframe-wrappers.d.ts +0 -1
  23. package/dist-types/edit-mode/source-update-api.d.ts +0 -5
  24. package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +1 -7
  25. package/dist-types/lib/index.d.ts +0 -1
  26. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +14 -16
  27. package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +1 -2
  28. package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +1 -1
  29. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +7 -7
  30. package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +1 -2
  31. package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +1 -1
  32. package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -1
  33. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -14
  34. package/dist-types/lib/internal-details/lib/root-store.d.ts +0 -2
  35. package/dist-types/lib/internal-details/lib/types.d.ts +1 -34
  36. package/dist-types/lib/internal-details/scope/global.d.ts +1 -1
  37. package/dist-types/lib/internal-details/scope/types.d.ts +2 -2
  38. package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +3 -4
  39. package/dist-types/lib/triggers/implementations/show-alert.d.ts +1 -1
  40. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +3 -3
  41. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +3 -3
  42. package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +3 -4
  43. package/dist-types/lib/triggers/registry.d.ts +9 -9
  44. package/dist-types/lib/user-facing/component-base/sb-component.d.ts +1 -5
  45. package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
  46. package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
  47. package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
  48. package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
  49. package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
  50. package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
  51. package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
  52. package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
  53. package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +11 -14
  54. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
  55. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
  56. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
  57. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
  58. package/dist-types/lib/user-facing/components/grid/index.d.ts +13 -13
  59. package/dist-types/lib/user-facing/components/icon/index.d.ts +13 -11
  60. package/dist-types/lib/user-facing/components/icon/props.d.ts +13 -11
  61. package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
  62. package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
  63. package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
  64. package/dist-types/lib/user-facing/components/input/input-component.d.ts +0 -1
  65. package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
  66. package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
  67. package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
  68. package/dist-types/lib/user-facing/components/modal/index.d.ts +31 -27
  69. package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
  70. package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
  71. package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
  72. package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
  73. package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
  74. package/dist-types/lib/user-facing/components/slideout/index.d.ts +1 -41
  75. package/dist-types/lib/user-facing/components/slideout/props.d.ts +19 -39
  76. package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
  77. package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
  78. package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
  79. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +161 -262
  80. package/dist-types/lib/user-facing/components/table/index.d.ts +205 -305
  81. package/dist-types/lib/user-facing/components/table/props.d.ts +205 -305
  82. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +4 -4
  83. package/dist-types/lib/user-facing/components/table/table-widget.d.ts +4 -5
  84. package/dist-types/lib/user-facing/components/table/types.d.ts +31 -33
  85. package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
  86. package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
  87. package/dist-types/lib/user-facing/constants.d.ts +1 -1
  88. package/dist-types/lib/user-facing/entities/api/props.d.ts +11 -20
  89. package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
  90. package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
  91. package/dist-types/lib/user-facing/layers.d.ts +2 -1
  92. package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +0 -4
  93. package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +12 -12
  94. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
  95. package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
  96. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +45 -45
  97. package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
  98. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +9 -28
  99. package/dist-types/lib/user-facing/sb-event-flow.d.ts +4 -4
  100. package/dist-types/lib/user-facing/sb-provider.d.ts +2 -1
  101. package/package.json +3 -4
  102. package/dist/icons-lSlfQ50w.js.map +0 -1
  103. package/dist-types/internal-testing/components/slideout.d.ts +0 -3
  104. package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +0 -6
  105. package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +0 -8
  106. package/dist-types/lib/internal-details/location-store.d.ts +0 -18
  107. package/dist-types/lib/user-facing/build-manifest.d.ts +0 -2
  108. package/dist-types/lib/user-facing/components/slideout/constants.d.ts +0 -10
  109. package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +0 -31
  110. package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +0 -20
  111. package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +0 -14
package/dist/index.js CHANGED
@@ -1,166 +1,165 @@
1
- import { a0 as clientExports } from "./index-2ihBTDX4.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-2ihBTDX4.js";
1
+ import { $ as clientExports } from "./index-snr_jI8a.js";
2
+ import { a0, a1, X, O, P, a2, N, a3, a4, a5, a6, a7, a8, B, a9, aa, ab, ac, ad, Z, ae, V, af, ag, ah, ai, Y, z, S, q, d, e, n, s, l, Q, C, v, w, f, i, g, B as B2, c, u, k, h, y, x, A, aj, ak, al, am, an, T, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, D, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, M, aY, aZ, a_, a$, b0, b1, G, b2, b3, b4, b5, b6, J, b7, b8, E, b9, ba, bb, r, L, K, bc, bd, be, W, F, H, bf, 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, U, R, bM } from "./index-snr_jI8a.js";
3
3
  const createRoot = clientExports.createRoot;
4
4
  export {
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,
5
+ a0 as Await,
6
+ a1 as BrowserRouter,
7
+ X as Dim,
8
+ O as Embed,
9
+ P as Env,
10
+ a2 as Form,
11
+ N as Global,
12
+ a3 as HashRouter,
13
+ a4 as IDLE_BLOCKER,
14
+ a5 as IDLE_FETCHER,
15
+ a6 as IDLE_NAVIGATION,
16
+ a7 as Link,
17
+ a8 as Links,
18
+ B as MakeEditableWithSuperblocks,
19
+ a9 as MemoryRouter,
20
+ aa as Meta,
21
+ ab as NavLink,
22
+ ac as Navigate,
23
+ ad as NavigationType,
24
+ Z as Outlet,
25
+ ae as PrefetchPageLinks,
26
+ V as Prop,
27
+ af as Route,
28
+ ag as Router,
29
+ ah as RouterProvider,
30
+ ai as Routes,
31
+ Y as SB,
32
+ z as SbApi,
33
33
  S as SbButton,
34
- s as SbCheckbox,
34
+ q as SbCheckbox,
35
35
  d as SbColumn,
36
36
  e as SbContainer,
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,
37
+ n as SbCustom,
38
+ s as SbDatePicker,
39
+ l as SbDropdown,
40
+ Q as SbEvent,
41
+ C as SbEventFlow,
42
+ v as SbIcon,
43
+ w as SbImage,
44
44
  f as SbInput,
45
45
  i as SbModal,
46
46
  g as SbPage,
47
- C2 as SbProvider,
47
+ B2 as SbProvider,
48
48
  c as SbSection,
49
- k as SbSlideout,
50
- v as SbSwitch,
51
- l as SbTable,
49
+ u as SbSwitch,
50
+ k as SbTable,
52
51
  h as SbText,
53
- z as SbTimer,
54
- y as SbVariable,
52
+ y as SbTimer,
53
+ x as SbVariable,
55
54
  A as SbVariablePersistence,
56
- ak as Scripts,
57
- al as ScrollRestoration,
58
- am as ServerRouter,
59
- an as StaticRouter,
60
- ao as StaticRouterProvider,
55
+ aj as Scripts,
56
+ ak as ScrollRestoration,
57
+ al as ServerRouter,
58
+ am as StaticRouter,
59
+ an as StaticRouterProvider,
61
60
  T as Theme,
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,
61
+ ao as UNSAFE_DataRouterContext,
62
+ ap as UNSAFE_DataRouterStateContext,
63
+ aq as UNSAFE_ErrorResponseImpl,
64
+ ar as UNSAFE_FetchersContext,
65
+ as as UNSAFE_FrameworkContext,
66
+ at as UNSAFE_LocationContext,
67
+ au as UNSAFE_NavigationContext,
68
+ av as UNSAFE_RemixErrorBoundary,
69
+ aw as UNSAFE_RouteContext,
70
+ ax as UNSAFE_ServerMode,
71
+ ay as UNSAFE_SingleFetchRedirectSymbol,
72
+ az as UNSAFE_ViewTransitionContext,
73
+ aA as UNSAFE_createBrowserHistory,
74
+ aB as UNSAFE_createClientRoutes,
75
+ aC as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
76
+ aD as UNSAFE_createRouter,
77
+ aE as UNSAFE_decodeViaTurboStream,
78
+ aF as UNSAFE_deserializeErrors,
79
+ aG as UNSAFE_getPatchRoutesOnNavigationFunction,
80
+ aH as UNSAFE_getSingleFetchDataStrategy,
81
+ aI as UNSAFE_invariant,
82
+ aJ as UNSAFE_mapRouteProperties,
83
+ aK as UNSAFE_shouldHydrateRouteLoader,
84
+ aL as UNSAFE_useFogOFWarDiscovery,
85
+ aM as UNSAFE_useScrollRestoration,
86
+ D as copyToClipboard,
87
+ aN as createBrowserRouter,
88
+ aO as createCookie,
89
+ aP as createCookieSessionStorage,
90
+ aQ as createHashRouter,
91
+ aR as createMemoryRouter,
92
+ aS as createMemorySessionStorage,
93
+ aT as createPath,
94
+ aU as createRequestHandler,
96
95
  createRoot,
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,
96
+ aV as createRoutesFromChildren,
97
+ aW as createRoutesFromElements,
98
+ aX as createRoutesStub,
99
+ M as createSbScope,
100
+ aY as createSearchParams,
101
+ aZ as createSession,
102
+ a_ as createSessionStorage,
103
+ a$ as createStaticHandler,
104
+ b0 as createStaticRouter,
105
+ b1 as data,
106
+ G as download,
107
+ b2 as generatePath,
108
+ b3 as href,
109
+ b4 as isCookie,
110
+ b5 as isRouteErrorResponse,
111
+ b6 as isSession,
112
+ J as logoutIntegrations,
113
+ b7 as matchPath,
114
+ b8 as matchRoutes,
115
+ E as navigateTo,
116
+ b9 as parsePath,
117
+ ba as redirect,
118
+ bb as redirectDocument,
120
119
  r as registerComponent,
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
120
+ L as registerPage,
121
+ K as registerScope,
122
+ bc as renderMatches,
123
+ bd as replace,
124
+ be as resolvePath,
125
+ W as sbComputed,
126
+ F as setQueryParams,
127
+ H as showAlert,
128
+ bf as unstable_HistoryRouter,
129
+ bg as unstable_RouterContextProvider,
130
+ bh as unstable_createContext,
131
+ bi as unstable_setDevServerHooks,
132
+ bj as unstable_usePrompt,
133
+ bk as useActionData,
134
+ bl as useAsyncError,
135
+ bm as useAsyncValue,
136
+ bn as useBeforeUnload,
137
+ bo as useBlocker,
138
+ bp as useFetcher,
139
+ bq as useFetchers,
140
+ br as useFormAction,
141
+ bs as useHref,
142
+ bt as useInRouterContext,
143
+ bu as useLinkClickHandler,
144
+ bv as useLoaderData,
145
+ bw as useLocation,
146
+ bx as useMatch,
147
+ by as useMatches,
148
+ bz as useNavigate,
149
+ bA as useNavigation,
150
+ bB as useNavigationType,
151
+ bC as useOutlet,
152
+ bD as useOutletContext,
153
+ bE as useParams,
154
+ bF as useResolvedPath,
155
+ bG as useRevalidator,
156
+ bH as useRouteError,
157
+ bI as useRouteLoaderData,
158
+ bJ as useRoutes,
159
+ bK as useSearchParams,
160
+ bL as useSubmit,
161
+ U as useTheme,
162
+ R as useUpdateProperties,
163
+ bM as useViewTransitionState
165
164
  };
166
165
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-2ihBTDX4.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-snr_jI8a.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-mxO24EVV.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-Blv6tUe4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-mxO24EVV.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
+ {"version":3,"file":"splitPathsBySizeLoader-Blv6tUe4.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 { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-2ihBTDX4.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-snr_jI8a.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-BS08Me-9.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-DbNFtg9G.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-BS08Me-9.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
+ {"version":3,"file":"splitPathsBySizeLoader-DbNFtg9G.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]}
@@ -19,20 +19,16 @@ 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;
23
22
  }) => {
24
23
  width?: PropertyInfo;
25
24
  height?: PropertyInfo;
26
- size?: PropertyInfo;
27
25
  };
28
26
  export declare const filterSafeGridDimensionProperties: (existingProps: {
29
27
  width?: Dim;
30
28
  height?: Dim;
31
- size?: Dim;
32
29
  }) => {
33
30
  width?: PropertyInfo;
34
31
  height?: PropertyInfo;
35
- size?: PropertyInfo;
36
32
  };
37
33
  export declare const defaultSizeForComponent: (componentType: string, isFreeform: boolean, draggedDimensions?: {
38
34
  widthGU?: number;
@@ -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, _addToSelection?: boolean): void;
31
+ selectWidget(instanceId: SbInstance | null): 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,5 +1,4 @@
1
1
  import React from "react";
2
- export declare const FullPageSpinner: import("styled-components").StyledComponent<React.FC<import("@blueprintjs/core").SpinnerProps<HTMLElement>>, any, {}, never>;
3
2
  declare const Auth0Wrapper: (props: React.PropsWithChildren) => React.JSX.Element;
4
3
  declare const EmbedWrapper: (props: React.PropsWithChildren) => React.JSX.Element;
5
4
  export { EmbedWrapper, Auth0Wrapper };
@@ -3,13 +3,8 @@ 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
- */
9
6
  connect(peerId: string, userId?: string): Promise<void>;
10
7
  ensureFilesSynced: () => Promise<void>;
11
- private handleSocketClose;
12
- private retryConnection;
13
8
  }
14
9
  declare const _default: OperationAPI;
15
10
  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[]): void;
13
+ selectWidgets(sourceIds: SbElement[], selectingMultiple?: boolean): void;
14
14
  editOpRequest<T extends EditOperationType>(type: T, payload: EditOperationPayload<T>["payload"]): void;
15
15
  undo(): void;
16
16
  redo(): void;
@@ -28,12 +28,6 @@ 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;
37
31
  private queueMessage;
38
32
  private sendImmediate;
39
33
  }
@@ -8,7 +8,6 @@ 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";
12
11
  export { SbTable } from "./user-facing/components/table/index.jsx";
13
12
  export { SbDropdown } from "./user-facing/components/dropdown/index.jsx";
14
13
  export type * from "./user-facing/components/dropdown/types.ts";
@@ -1,21 +1,19 @@
1
+ import type { ObserveListener } from "./deep-observe.js";
1
2
  import type { Name } from "./names.js";
2
3
  import type { ValidateFn } from "../../../user-facing/properties-panel/validators.js";
3
4
  import type { SbEventFlow } from "../../../user-facing/sb-event-flow.js";
4
5
  import type { BindingString, ComputedProperty } from "@superblocksteam/library-shared";
5
6
  import type { SbElement, SbInstance, ValidationState } from "@superblocksteam/library-shared/types";
6
- export type GetterOptions = {
7
- useSuspense?: boolean;
8
- };
9
7
  export type EntityOutputProp = Exclude<null | undefined | string | number | boolean | object | bigint | any[], BindingString | EntityDerivedProp<any[]>>;
10
8
  export type EntityDerivedProp<ARGS extends any[] = any[]> = (this: Readonly<Entity>, state?: Readonly<ScopedState>, ...args: ARGS) => EntityOutputProp;
11
9
  export type Executable<ARGS extends any[] = any[]> = (this: Entity, state?: ScopedState, ...args: ARGS) => void;
12
- export type ValueInputProp<T = EntityOutputProp, ARGS extends any[] = any[]> = T | EntityDerivedProp | BindingString | ComputedProperty<T, ARGS>;
13
- export type SingleInputProp<T = EntityOutputProp, ARGS extends any[] = any[]> = ValueInputProp<T, ARGS> | SbEventFlow;
14
- export type NestedInputProp<T, ARGS extends any[] = any[]> = T extends object ? {
15
- [K in keyof T]: SingleInputProp<T[K], ARGS> | NestedInputProp<T[K], ARGS>;
10
+ export type ValueInputProp<T = EntityOutputProp> = T | EntityDerivedProp | BindingString | ComputedProperty<T>;
11
+ export type SingleInputProp<T = EntityOutputProp> = ValueInputProp<T> | SbEventFlow;
12
+ export type NestedInputProp<T> = T extends object ? {
13
+ [K in keyof T]: SingleInputProp<T[K]> | NestedInputProp<T[K]>;
16
14
  } : never;
17
- export type InputProp<T = EntityOutputProp, ARGS extends any[] = any[]> = SingleInputProp<T, ARGS> | NestedInputProp<T, ARGS>;
18
- export type EntityFunction<ARGS extends any[] = any[], R = EntityOutputProp> = (this: Entity, state: ScopedState, ...ARGS: ARGS) => R;
15
+ export type InputProp<T = EntityOutputProp> = SingleInputProp<T> | NestedInputProp<T>;
16
+ export type EntityFunction<ARGS extends any[] = any[], R = EntityOutputProp> = (this: Entity, state: ScopedState, ...args: ARGS) => R;
19
17
  export type EntityType = "global" | "theme" | "variable" | "api" | "timer" | (string & {});
20
18
  export type Entity = {
21
19
  [key: string]: EntityOutputProp;
@@ -32,8 +30,8 @@ export type InternalScope = {
32
30
  entityMeta: Record<string, Entity>;
33
31
  childScopes: Record<ScopeId, InternalScope>;
34
32
  idToName: Record<string, Name>;
35
- getEntity(name: Name, options?: GetterOptions): Entity;
36
- getEntityMeta(name: Name, options?: GetterOptions): Entity;
33
+ getEntity(name: Name): Entity;
34
+ getEntityMeta(name: Name): Entity;
37
35
  getEntityName(id: string): Name;
38
36
  setEntityName(id: string, name: Name, currentName?: Name): void;
39
37
  };
@@ -41,9 +39,9 @@ export interface IEntityManager {
41
39
  getFullState: Record<string, Entity>;
42
40
  getValidationState: Record<string, ValidationState>;
43
41
  getScopeName(scopeId: string): string;
44
- getState(scopeId: string, options?: GetterOptions): ScopedState;
45
- getEntity(scopeId: string, name: Name, options?: GetterOptions): Entity;
46
- getEntityById(scopeId: string, id: SbInstance, options?: GetterOptions): Entity;
42
+ getState(scopeId: string): ScopedState;
43
+ getEntity(scopeId: string, name: Name): Entity;
44
+ getEntityById(scopeId: string, id: SbInstance): Entity;
47
45
  createScope(params: {
48
46
  name?: string;
49
47
  parentScopeId?: ScopeId;
@@ -92,11 +90,11 @@ export interface IEntityManager {
92
90
  args?: ARGS;
93
91
  excludeState?: boolean;
94
92
  }): void;
95
- computeValue<T, ARGS extends any[] = any[]>(params: {
93
+ computeValue<T>(params: {
96
94
  scopeId: ScopeId;
97
95
  name: Name;
98
96
  value: SingleInputProp<T>;
99
97
  validator?: ValidateFn<T>;
100
- args?: ARGS;
101
98
  }): T;
99
+ observeScope(scopeId: string, listener: ObserveListener<InternalScope>): () => void;
102
100
  }
@@ -13,8 +13,7 @@ export interface ComputeEngine {
13
13
  }
14
14
  declare class EvalComputeEngine implements ComputeEngine {
15
15
  private statementFunction;
16
- private statementFunctionNoSnapshot;
17
- compute({ snapshot, entityName, func, args, path, excludeState, }: ComputeParams): any;
16
+ compute({ snapshot, entityName, func, args, path }: ComputeParams): any;
18
17
  }
19
18
  declare class DirectComputeEngine implements ComputeEngine {
20
19
  compute({ snapshot, entityName, func, args, path, excludeState, }: ComputeParams): EntityOutputProp;
@@ -1,2 +1,2 @@
1
1
  import type { ScopedState, InternalScope } from "./base-entity-manager.js";
2
- export declare function createScopeProxy(scopes: InternalScope[], useSuspense?: boolean): ScopedState;
2
+ export declare function createScopeProxy(scopes: InternalScope[]): ScopedState;
@@ -1,6 +1,7 @@
1
1
  import { type ValidationState, type SbElement, type SbInstance } from "@superblocksteam/library-shared/types";
2
2
  import { type Name } from "./names.js";
3
- import type { IEntityManager, Executable, SingleInputProp, InternalScope, ScopedState, ScopeId, Entity, InputProp, GetterOptions } from "./base-entity-manager.js";
3
+ import type { IEntityManager, Executable, SingleInputProp, InternalScope, ScopedState, ScopeId, Entity, InputProp } from "./base-entity-manager.js";
4
+ import type { ObserveListener } from "./deep-observe.js";
4
5
  import type { ValidateFn } from "../../../user-facing/properties-panel/validators.js";
5
6
  import type { ComponentRegistry } from "../features/component-registry.js";
6
7
  export declare const GLOBAL_SCOPE_ID = "Global";
@@ -14,9 +15,9 @@ export declare class EntityManager implements IEntityManager {
14
15
  constructor(componentRegistry: ComponentRegistry, options?: {
15
16
  devtools?: boolean;
16
17
  });
17
- getEntity(scopeId: string, name: Name, options?: GetterOptions): Entity;
18
- getEntityById(scopeId: string, id: SbInstance, options?: GetterOptions): Entity;
19
- getState(scopeId: string, options?: GetterOptions): ScopedState;
18
+ getEntity(ScopeId: string, name: Name): Entity;
19
+ getEntityById(scopeId: string, id: SbInstance): Entity;
20
+ getState(scopeId: string): ScopedState;
20
21
  getScopeName(scopeId: string): string;
21
22
  setValidationState(entityId: string, property: string, state: ValidationState): void;
22
23
  get getValidationState(): Record<string, ValidationState>;
@@ -41,7 +42,6 @@ export declare class EntityManager implements IEntityManager {
41
42
  sourceId?: SbElement;
42
43
  }): Name;
43
44
  private createEntityStructure;
44
- private addInternalProperty;
45
45
  private addProperty;
46
46
  deleteEntity(params: {
47
47
  name: Name;
@@ -83,12 +83,12 @@ export declare class EntityManager implements IEntityManager {
83
83
  excludeState?: boolean;
84
84
  args?: ARGS;
85
85
  }): void;
86
- computeValue<T, ARGS extends any[] = any[]>(params: {
86
+ computeValue<T>(params: {
87
87
  scopeId: ScopeId;
88
88
  name: Name;
89
89
  value: SingleInputProp<T>;
90
90
  validator?: ValidateFn<T>;
91
- args?: ARGS;
92
91
  }): T;
93
92
  private getOrCreateAtom;
93
+ observeScope(scopeId: string, listener: ObserveListener<InternalScope>): () => void;
94
94
  }
@@ -1,8 +1,7 @@
1
- import { type ComputedArgs } from "@superblocksteam/library-shared";
2
1
  declare const lazyFunctionSymbol: unique symbol;
3
2
  export type LazyFunction = ((...args: unknown[]) => unknown) & {
4
3
  [lazyFunctionSymbol]: true;
5
4
  };
6
5
  export declare const isLazyFunction: (value: unknown) => value is LazyFunction;
7
- export declare const LazyFunction: (source: string, args?: ComputedArgs) => LazyFunction;
6
+ export declare const LazyFunction: (source: string, args?: string[]) => LazyFunction;
8
7
  export {};
@@ -1,2 +1,2 @@
1
1
  import type { EntityDerivedProp } from "./base-entity-manager.js";
2
- export declare const prettyPrintFunction: (func: EntityDerivedProp, args: any[], fnName: string) => string;
2
+ export declare const prettyPrintFunction: (func: EntityDerivedProp, args: any[]) => string;
@@ -1 +1 @@
1
- export declare const useShallowMobxObserver: <T extends Record<string, unknown>>(obj: T, useSuspense?: boolean) => T;
1
+ export declare const useShallowMobxObserver: <T extends Record<string, unknown>>(obj: T) => T;
@@ -14,7 +14,6 @@ export declare class ComponentRegistry implements ComponentRegistryShareState {
14
14
  private _typeRegistry;
15
15
  private _customComponentRegistry;
16
16
  private _managedPropsRegistry;
17
- private _internalPropsRegistry;
18
17
  constructor(rootStore: RootStore);
19
18
  addType(type: string, component: Type): void;
20
19
  addCustomComponent(type: string, component: Type): void;
@@ -22,22 +21,9 @@ export declare class ComponentRegistry implements ComponentRegistryShareState {
22
21
  renameCustomComponent(oldName: string, newName: string): void;
23
22
  addManagedProps(type: string, props: ManagedPropsList): void;
24
23
  deleteManagedProps(type: string): void;
25
- addInternalProps(type: string, props: Array<{
26
- path: string;
27
- factory: () => any;
28
- }>): void;
29
- getInternalProps(type: string): Array<{
30
- path: string;
31
- factory: () => any;
32
- }>;
33
24
  get libraryComponentList(): string[];
34
25
  get customComponentList(): string[];
35
26
  get managedPropsRegistry(): Map<string, ManagedPropsList>;
36
27
  getManagedProps(type: string): ManagedPropsList;
37
28
  getComponent(type: string): Type | undefined;
38
- /**
39
- * Get the property path with the record identifier if it exists. For example,
40
- * `columns.columnName.label` becomes `columns.*.label`, for record properties.
41
- */
42
- getPropertyWithRecordIdentifier(type: string, path: string): string;
43
29
  }