@superblocksteam/library 2.0.3 → 2.0.4
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-B2t0JFsE.js} +2 -2
- package/dist/{allPaths-CROgh4Wr.js.map → allPaths-B2t0JFsE.js.map} +1 -1
- package/dist/{allPaths-Va1k8Bn4.js → allPaths-Ds8PViwH.js} +2 -2
- package/dist/{allPaths-Va1k8Bn4.js.map → allPaths-Ds8PViwH.js.map} +1 -1
- package/dist/{allPathsLoader-BJthmVkF.js → allPathsLoader-BwDYmyS1.js} +3 -3
- package/dist/{allPathsLoader-BJthmVkF.js.map → allPathsLoader-BwDYmyS1.js.map} +1 -1
- package/dist/{allPathsLoader-BdHvMdcd.js → allPathsLoader-l2CC2ZRN.js} +3 -3
- package/dist/{allPathsLoader-BdHvMdcd.js.map → allPathsLoader-l2CC2ZRN.js.map} +1 -1
- package/dist/{index-CJuRwhWz.js → index-DV7VPZc1.js} +471 -1115
- package/dist/{index-CJuRwhWz.js.map → index-DV7VPZc1.js.map} +1 -1
- package/dist/index.css +1 -172
- package/dist/index.js +149 -149
- package/dist/{splitPathsBySizeLoader-BFbna0L2.js → splitPathsBySizeLoader-BsO5Qoxp.js} +2 -2
- package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-BsO5Qoxp.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js → splitPathsBySizeLoader-CTv2UfGL.js} +2 -2
- package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-CTv2UfGL.js.map} +1 -1
- package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +23 -23
- package/dist-types/edit-mode/properties.d.ts +1 -1
- package/dist-types/internal-testing/components/modal.d.ts +1 -3
- package/dist-types/lib/internal-details/lib/devtools.d.ts +1 -0
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -1
- package/dist-types/lib/internal-details/sb-wrapper.d.ts +0 -1
- package/dist-types/lib/internal-details/scope/global.d.ts +1 -2
- package/dist-types/lib/sb-trigger.d.ts +4 -0
- package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +3 -4
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +8 -4
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +8 -4
- package/dist-types/lib/triggers/registry.d.ts +14 -6
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/date-picker/types.d.ts +1 -1
- package/dist-types/lib/user-facing/components/grid/index.d.ts +1 -2
- package/dist-types/lib/user-facing/components/page/index.d.ts +0 -3
- package/dist-types/lib/user-facing/components/page/props.d.ts +0 -3
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +9 -12
- package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -1
- package/dist-types/lib/user-facing/components/table/index.d.ts +9 -12
- package/dist-types/lib/user-facing/components/table/props.d.ts +9 -12
- package/dist-types/lib/user-facing/components/text/utils.d.ts +1 -2
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +2 -4
- package/dist-types/lib/user-facing/themes/constants.d.ts +2 -7
- package/package.json +4 -3
- package/dist/devtools-consolidated-Ck9KuyGf.js +0 -590
- package/dist/devtools-consolidated-Ck9KuyGf.js.map +0 -1
- package/dist-types/edit-mode/extended-clickable-area.d.ts +0 -8
- package/dist-types/lib/internal-details/lib/devtools/devtools-consolidated.d.ts +0 -5
- package/dist-types/lib/internal-details/lib/devtools/index.d.ts +0 -4
- package/dist-types/lib/internal-details/lib/devtools/serialize-store-data.d.ts +0 -1
- package/dist-types/lib/internal-details/scope/types.d.ts +0 -57
- package/dist-types/lib/utils/children.d.ts +0 -3
package/dist/index.css
CHANGED
|
@@ -34189,12 +34189,7 @@ b {
|
|
|
34189
34189
|
text-overflow: ellipsis;
|
|
34190
34190
|
z-index: 2;
|
|
34191
34191
|
/* This will flip the name pill when anchored */
|
|
34192
|
-
position-try-fallbacks: flip-block
|
|
34193
|
-
}
|
|
34194
|
-
|
|
34195
|
-
@position-try --name-pill-below-header {
|
|
34196
|
-
margin-bottom: -24px;
|
|
34197
|
-
margin-right: 3px;
|
|
34192
|
+
position-try-fallbacks: flip-block;
|
|
34198
34193
|
}
|
|
34199
34194
|
|
|
34200
34195
|
.sb-reparent-rect {
|
|
@@ -34243,169 +34238,3 @@ b {
|
|
|
34243
34238
|
border-color: #f45252;
|
|
34244
34239
|
}
|
|
34245
34240
|
}
|
|
34246
|
-
/* base styles */
|
|
34247
|
-
|
|
34248
|
-
._GzYRV {
|
|
34249
|
-
line-height: 1.2;
|
|
34250
|
-
white-space: pre-wrap;
|
|
34251
|
-
white-space: -moz-pre-wrap;
|
|
34252
|
-
white-space: -pre-wrap;
|
|
34253
|
-
white-space: -o-pre-wrap;
|
|
34254
|
-
word-wrap: break-word;
|
|
34255
|
-
}
|
|
34256
|
-
|
|
34257
|
-
._3eOF8 {
|
|
34258
|
-
margin-right: 5px;
|
|
34259
|
-
font-weight: bold;
|
|
34260
|
-
}
|
|
34261
|
-
|
|
34262
|
-
._3eOF8 + ._3eOF8 {
|
|
34263
|
-
margin-left: -5px;
|
|
34264
|
-
}
|
|
34265
|
-
|
|
34266
|
-
._1MFti {
|
|
34267
|
-
cursor: pointer;
|
|
34268
|
-
}
|
|
34269
|
-
|
|
34270
|
-
._f10Tu {
|
|
34271
|
-
font-size: 1.2em;
|
|
34272
|
-
margin-right: 5px;
|
|
34273
|
-
-webkit-user-select: none;
|
|
34274
|
-
-moz-user-select: none;
|
|
34275
|
-
user-select: none;
|
|
34276
|
-
}
|
|
34277
|
-
|
|
34278
|
-
._1UmXx::after {
|
|
34279
|
-
content: '\25B8';
|
|
34280
|
-
}
|
|
34281
|
-
|
|
34282
|
-
._1LId0::after {
|
|
34283
|
-
content: '\25BE';
|
|
34284
|
-
}
|
|
34285
|
-
|
|
34286
|
-
._1pNG9 {
|
|
34287
|
-
margin-right: 5px;
|
|
34288
|
-
}
|
|
34289
|
-
|
|
34290
|
-
._1pNG9::after {
|
|
34291
|
-
content: '...';
|
|
34292
|
-
font-size: 0.8em;
|
|
34293
|
-
}
|
|
34294
|
-
|
|
34295
|
-
._2IvMF {
|
|
34296
|
-
background: #eee;
|
|
34297
|
-
}
|
|
34298
|
-
|
|
34299
|
-
._2bkNM {
|
|
34300
|
-
margin: 0;
|
|
34301
|
-
padding: 0 10px;
|
|
34302
|
-
}
|
|
34303
|
-
|
|
34304
|
-
._1BXBN {
|
|
34305
|
-
margin: 0;
|
|
34306
|
-
padding: 0;
|
|
34307
|
-
}
|
|
34308
|
-
|
|
34309
|
-
/* default light style */
|
|
34310
|
-
._1MGIk {
|
|
34311
|
-
font-weight: 600;
|
|
34312
|
-
margin-right: 5px;
|
|
34313
|
-
color: #000000;
|
|
34314
|
-
}
|
|
34315
|
-
|
|
34316
|
-
._2YKJg {
|
|
34317
|
-
}
|
|
34318
|
-
|
|
34319
|
-
._3uHL6 {
|
|
34320
|
-
color: #000000;
|
|
34321
|
-
}
|
|
34322
|
-
|
|
34323
|
-
._2T6PJ {
|
|
34324
|
-
color: #df113a;
|
|
34325
|
-
}
|
|
34326
|
-
|
|
34327
|
-
._1Gho6 {
|
|
34328
|
-
color: #df113a;
|
|
34329
|
-
}
|
|
34330
|
-
|
|
34331
|
-
._vGjyY {
|
|
34332
|
-
color: rgb(42, 63, 60);
|
|
34333
|
-
}
|
|
34334
|
-
|
|
34335
|
-
._1bQdo {
|
|
34336
|
-
color: #0b75f5;
|
|
34337
|
-
}
|
|
34338
|
-
|
|
34339
|
-
._3zQKs {
|
|
34340
|
-
color: rgb(70, 144, 56);
|
|
34341
|
-
}
|
|
34342
|
-
|
|
34343
|
-
._1xvuR {
|
|
34344
|
-
color: #43413d;
|
|
34345
|
-
}
|
|
34346
|
-
|
|
34347
|
-
._oLqym {
|
|
34348
|
-
color: #000000;
|
|
34349
|
-
}
|
|
34350
|
-
|
|
34351
|
-
._2AXVT {
|
|
34352
|
-
color: #000000;
|
|
34353
|
-
}
|
|
34354
|
-
|
|
34355
|
-
._2KJWg {
|
|
34356
|
-
color: #000000;
|
|
34357
|
-
}
|
|
34358
|
-
|
|
34359
|
-
/* default dark style */
|
|
34360
|
-
._11RoI {
|
|
34361
|
-
background: rgb(0, 43, 54);
|
|
34362
|
-
}
|
|
34363
|
-
|
|
34364
|
-
._17H2C {
|
|
34365
|
-
color: rgb(253, 246, 227);
|
|
34366
|
-
}
|
|
34367
|
-
|
|
34368
|
-
._3QHg2 {
|
|
34369
|
-
color: rgb(253, 246, 227);
|
|
34370
|
-
}
|
|
34371
|
-
|
|
34372
|
-
._3fDAz {
|
|
34373
|
-
color: rgb(253, 246, 227);
|
|
34374
|
-
}
|
|
34375
|
-
|
|
34376
|
-
._2bSDX {
|
|
34377
|
-
font-weight: bolder;
|
|
34378
|
-
margin-right: 5px;
|
|
34379
|
-
color: rgb(253, 246, 227);
|
|
34380
|
-
}
|
|
34381
|
-
|
|
34382
|
-
._1RQEj {
|
|
34383
|
-
}
|
|
34384
|
-
|
|
34385
|
-
._gsbQL {
|
|
34386
|
-
color: rgb(253, 246, 227);
|
|
34387
|
-
}
|
|
34388
|
-
|
|
34389
|
-
._LaAZe {
|
|
34390
|
-
color: rgb(129, 181, 172);
|
|
34391
|
-
}
|
|
34392
|
-
|
|
34393
|
-
._GTKgm {
|
|
34394
|
-
color: rgb(129, 181, 172);
|
|
34395
|
-
}
|
|
34396
|
-
|
|
34397
|
-
._Chy1W {
|
|
34398
|
-
color: rgb(203, 75, 22);
|
|
34399
|
-
}
|
|
34400
|
-
|
|
34401
|
-
._2bveF {
|
|
34402
|
-
color: rgb(211, 54, 130);
|
|
34403
|
-
}
|
|
34404
|
-
|
|
34405
|
-
._2vRm- {
|
|
34406
|
-
color: rgb(174, 129, 255);
|
|
34407
|
-
}
|
|
34408
|
-
|
|
34409
|
-
._1prJR {
|
|
34410
|
-
color: rgb(38, 139, 210);
|
|
34411
|
-
}
|
package/dist/index.js
CHANGED
|
@@ -1,165 +1,165 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { W as clientExports } from "./index-DV7VPZc1.js";
|
|
2
|
+
import { X, Y, R, K, L, Z, J, $, a0, a1, a2, a3, a4, w, a5, a6, a7, a8, a9, V, aa, P, ab, ac, ad, ae, U, v, S, m, d, e, l, n, k, M, x, q, s, f, i, g, w as w2, c, o, j, h, u, t, A, af, ag, ah, ai, aj, T, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, y, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, H, aU, aV, aW, aX, aY, aZ, C, a_, a$, b0, b1, b2, E, b3, b4, z, b5, b6, b7, r, G, F, b8, b9, ba, Q, B, D, bb, bc, bd, be, 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, O, N, bI } from "./index-DV7VPZc1.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
|
+
X as Await,
|
|
6
|
+
Y as BrowserRouter,
|
|
7
|
+
R as Dim,
|
|
8
|
+
K as Embed,
|
|
9
|
+
L as Env,
|
|
10
|
+
Z as Form,
|
|
11
|
+
J as Global,
|
|
12
|
+
$ as HashRouter,
|
|
13
|
+
a0 as IDLE_BLOCKER,
|
|
14
|
+
a1 as IDLE_FETCHER,
|
|
15
|
+
a2 as IDLE_NAVIGATION,
|
|
16
|
+
a3 as Link,
|
|
17
|
+
a4 as Links,
|
|
18
|
+
w as MakeEditableWithSuperblocks,
|
|
19
|
+
a5 as MemoryRouter,
|
|
20
|
+
a6 as Meta,
|
|
21
|
+
a7 as NavLink,
|
|
22
|
+
a8 as Navigate,
|
|
23
|
+
a9 as NavigationType,
|
|
24
|
+
V as Outlet,
|
|
25
|
+
aa as PrefetchPageLinks,
|
|
26
|
+
P as Prop,
|
|
27
|
+
ab as Route,
|
|
28
|
+
ac as Router,
|
|
29
|
+
ad as RouterProvider,
|
|
30
|
+
ae as Routes,
|
|
31
|
+
U as SB,
|
|
32
|
+
v as SbApi,
|
|
33
33
|
S as SbButton,
|
|
34
|
-
|
|
34
|
+
m as SbCheckbox,
|
|
35
35
|
d as SbColumn,
|
|
36
36
|
e as SbContainer,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
l as SbCustom,
|
|
38
|
+
n as SbDatePicker,
|
|
39
|
+
k as SbDropdown,
|
|
40
|
+
M as SbEvent,
|
|
41
|
+
x as SbEventFlow,
|
|
42
|
+
q as SbIcon,
|
|
43
|
+
s as SbImage,
|
|
44
44
|
f as SbInput,
|
|
45
45
|
i as SbModal,
|
|
46
46
|
g as SbPage,
|
|
47
|
-
|
|
47
|
+
w2 as SbProvider,
|
|
48
48
|
c as SbSection,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
o as SbSwitch,
|
|
50
|
+
j as SbTable,
|
|
51
51
|
h as SbText,
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
u as SbTimer,
|
|
53
|
+
t as SbVariable,
|
|
54
54
|
A as SbVariablePersistence,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
af as Scripts,
|
|
56
|
+
ag as ScrollRestoration,
|
|
57
|
+
ah as ServerRouter,
|
|
58
|
+
ai as StaticRouter,
|
|
59
|
+
aj as StaticRouterProvider,
|
|
60
60
|
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
|
-
|
|
61
|
+
ak as UNSAFE_DataRouterContext,
|
|
62
|
+
al as UNSAFE_DataRouterStateContext,
|
|
63
|
+
am as UNSAFE_ErrorResponseImpl,
|
|
64
|
+
an as UNSAFE_FetchersContext,
|
|
65
|
+
ao as UNSAFE_FrameworkContext,
|
|
66
|
+
ap as UNSAFE_LocationContext,
|
|
67
|
+
aq as UNSAFE_NavigationContext,
|
|
68
|
+
ar as UNSAFE_RemixErrorBoundary,
|
|
69
|
+
as as UNSAFE_RouteContext,
|
|
70
|
+
at as UNSAFE_ServerMode,
|
|
71
|
+
au as UNSAFE_SingleFetchRedirectSymbol,
|
|
72
|
+
av as UNSAFE_ViewTransitionContext,
|
|
73
|
+
aw as UNSAFE_createBrowserHistory,
|
|
74
|
+
ax as UNSAFE_createClientRoutes,
|
|
75
|
+
ay as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
|
|
76
|
+
az as UNSAFE_createRouter,
|
|
77
|
+
aA as UNSAFE_decodeViaTurboStream,
|
|
78
|
+
aB as UNSAFE_deserializeErrors,
|
|
79
|
+
aC as UNSAFE_getPatchRoutesOnNavigationFunction,
|
|
80
|
+
aD as UNSAFE_getSingleFetchDataStrategy,
|
|
81
|
+
aE as UNSAFE_invariant,
|
|
82
|
+
aF as UNSAFE_mapRouteProperties,
|
|
83
|
+
aG as UNSAFE_shouldHydrateRouteLoader,
|
|
84
|
+
aH as UNSAFE_useFogOFWarDiscovery,
|
|
85
|
+
aI as UNSAFE_useScrollRestoration,
|
|
86
|
+
y as copyToClipboard,
|
|
87
|
+
aJ as createBrowserRouter,
|
|
88
|
+
aK as createCookie,
|
|
89
|
+
aL as createCookieSessionStorage,
|
|
90
|
+
aM as createHashRouter,
|
|
91
|
+
aN as createMemoryRouter,
|
|
92
|
+
aO as createMemorySessionStorage,
|
|
93
|
+
aP as createPath,
|
|
94
|
+
aQ as createRequestHandler,
|
|
95
95
|
createRoot,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
96
|
+
aR as createRoutesFromChildren,
|
|
97
|
+
aS as createRoutesFromElements,
|
|
98
|
+
aT as createRoutesStub,
|
|
99
|
+
H as createSbScope,
|
|
100
|
+
aU as createSearchParams,
|
|
101
|
+
aV as createSession,
|
|
102
|
+
aW as createSessionStorage,
|
|
103
|
+
aX as createStaticHandler,
|
|
104
|
+
aY as createStaticRouter,
|
|
105
|
+
aZ as data,
|
|
106
|
+
C as download,
|
|
107
|
+
a_ as generatePath,
|
|
108
|
+
a$ as href,
|
|
109
|
+
b0 as isCookie,
|
|
110
|
+
b1 as isRouteErrorResponse,
|
|
111
|
+
b2 as isSession,
|
|
112
|
+
E as logoutIntegrations,
|
|
113
|
+
b3 as matchPath,
|
|
114
|
+
b4 as matchRoutes,
|
|
115
|
+
z as navigateTo,
|
|
116
|
+
b5 as parsePath,
|
|
117
|
+
b6 as redirect,
|
|
118
|
+
b7 as redirectDocument,
|
|
119
119
|
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
|
-
|
|
120
|
+
G as registerPage,
|
|
121
|
+
F as registerScope,
|
|
122
|
+
b8 as renderMatches,
|
|
123
|
+
b9 as replace,
|
|
124
|
+
ba as resolvePath,
|
|
125
|
+
Q as sbComputed,
|
|
126
|
+
B as setQueryParams,
|
|
127
|
+
D as showAlert,
|
|
128
|
+
bb as unstable_HistoryRouter,
|
|
129
|
+
bc as unstable_RouterContextProvider,
|
|
130
|
+
bd as unstable_createContext,
|
|
131
|
+
be as unstable_setDevServerHooks,
|
|
132
|
+
bf as unstable_usePrompt,
|
|
133
|
+
bg as useActionData,
|
|
134
|
+
bh as useAsyncError,
|
|
135
|
+
bi as useAsyncValue,
|
|
136
|
+
bj as useBeforeUnload,
|
|
137
|
+
bk as useBlocker,
|
|
138
|
+
bl as useFetcher,
|
|
139
|
+
bm as useFetchers,
|
|
140
|
+
bn as useFormAction,
|
|
141
|
+
bo as useHref,
|
|
142
|
+
bp as useInRouterContext,
|
|
143
|
+
bq as useLinkClickHandler,
|
|
144
|
+
br as useLoaderData,
|
|
145
|
+
bs as useLocation,
|
|
146
|
+
bt as useMatch,
|
|
147
|
+
bu as useMatches,
|
|
148
|
+
bv as useNavigate,
|
|
149
|
+
bw as useNavigation,
|
|
150
|
+
bx as useNavigationType,
|
|
151
|
+
by as useOutlet,
|
|
152
|
+
bz as useOutletContext,
|
|
153
|
+
bA as useParams,
|
|
154
|
+
bB as useResolvedPath,
|
|
155
|
+
bC as useRevalidator,
|
|
156
|
+
bD as useRouteError,
|
|
157
|
+
bE as useRouteLoaderData,
|
|
158
|
+
bF as useRoutes,
|
|
159
|
+
bG as useSearchParams,
|
|
160
|
+
bH as useSubmit,
|
|
161
|
+
O as useTheme,
|
|
162
|
+
N as useUpdateProperties,
|
|
163
|
+
bI as useViewTransitionState
|
|
164
164
|
};
|
|
165
165
|
//# sourceMappingURL=index.js.map
|
|
@@ -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-DV7VPZc1.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-BsO5Qoxp.js.map
|
package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-BsO5Qoxp.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-BsO5Qoxp.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-
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-DV7VPZc1.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-CTv2UfGL.js.map
|
package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-CTv2UfGL.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-CTv2UfGL.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]}
|
|
@@ -32,8 +32,28 @@ declare class RuntimeEntitiesManager {
|
|
|
32
32
|
private get relevantChildrenOperationsMap();
|
|
33
33
|
private getChildrenWithOptimisticUpdates;
|
|
34
34
|
getEditorWidgetChildren(instanceId: SbInstance): ChildElement[];
|
|
35
|
-
hasEditOperationsPending(): boolean;
|
|
36
|
-
getPendingOperations(): ({
|
|
35
|
+
get hasEditOperationsPending(): boolean;
|
|
36
|
+
get 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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Name } from "../lib/internal-details/lib/evaluator/names.js";
|
|
2
2
|
/**
|
|
3
3
|
* Gets the actual value from a PropertyInfo object.
|
|
4
4
|
* This will parse the value based on the type of property.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function registerStores(stores: Record<string, any>): void;
|
|
@@ -14,10 +14,9 @@ export type NestedInputProp<T> = T extends object ? {
|
|
|
14
14
|
} : never;
|
|
15
15
|
export type InputProp<T = EntityOutputProp> = SingleInputProp<T> | NestedInputProp<T>;
|
|
16
16
|
export type EntityFunction<ARGS extends any[] = any[], R = EntityOutputProp> = (this: Entity, state: ScopedState, ...args: ARGS) => R;
|
|
17
|
-
export type EntityType = "global" | "theme" | "variable" | "api" | "timer" | (string & {});
|
|
18
17
|
export type Entity = {
|
|
19
18
|
[key: string]: EntityOutputProp;
|
|
20
|
-
type:
|
|
19
|
+
type: string;
|
|
21
20
|
};
|
|
22
21
|
export type ScopeId = string;
|
|
23
22
|
export type ScopedState = {
|
|
@@ -7,7 +7,6 @@ export type DropTargetProps = {
|
|
|
7
7
|
export declare const registerSbComponent: <PD extends PropertiesDefinition, EP extends ExternalProps<PD> = ExternalProps<PD>, IP extends InternalProps<PD> & DropTargetProps = InternalProps<PD> & DropTargetProps>(type: string, config: {
|
|
8
8
|
container?: boolean;
|
|
9
9
|
customComponent?: boolean;
|
|
10
|
-
hasExtendedClickArea?: boolean;
|
|
11
10
|
propertiesDefinition: PD;
|
|
12
11
|
}, Component: React.FC<IP>) => React.FC<EP>;
|
|
13
12
|
export declare function registerSbEntity<PROPS, PD extends PropertiesDefinition, EP extends ExternalProps<PD> = ExternalProps<PD>>(name: string, config: {
|