@superblocksteam/library 2.0.7 → 2.0.8-next.1
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-d63_pjlB.js → allPaths-Cm5ix1Jo.js} +2 -2
- package/dist/{allPaths-d63_pjlB.js.map → allPaths-Cm5ix1Jo.js.map} +1 -1
- package/dist/{allPaths-Boby_CDT.js → allPaths-D8-nUDU0.js} +2 -2
- package/dist/{allPaths-Boby_CDT.js.map → allPaths-D8-nUDU0.js.map} +1 -1
- package/dist/{allPathsLoader-CmUnKzK9.js → allPathsLoader-CjyQe-yl.js} +3 -3
- package/dist/{allPathsLoader-CmUnKzK9.js.map → allPathsLoader-CjyQe-yl.js.map} +1 -1
- package/dist/{allPathsLoader-DyTMsYjm.js → allPathsLoader-btoKYE5V.js} +3 -3
- package/dist/{allPathsLoader-DyTMsYjm.js.map → allPathsLoader-btoKYE5V.js.map} +1 -1
- package/dist/{devtools-consolidated-B3U5EpYG.js → devtools-consolidated-DEIGUjCl.js} +2 -2
- package/dist/{devtools-consolidated-B3U5EpYG.js.map → devtools-consolidated-DEIGUjCl.js.map} +1 -1
- package/dist/{index-NrZGBHks.js → index-BG-l_gfQ.js} +607 -561
- package/dist/{index-NrZGBHks.js.map → index-BG-l_gfQ.js.map} +1 -1
- package/dist/index.js +38 -38
- package/dist/{splitPathsBySizeLoader-B6CeEPjz.js → splitPathsBySizeLoader-D4Fa2Noh.js} +2 -2
- package/dist/{splitPathsBySizeLoader-B6CeEPjz.js.map → splitPathsBySizeLoader-D4Fa2Noh.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-mTPqVWRR.js → splitPathsBySizeLoader-DWVXFLzy.js} +2 -2
- package/dist/{splitPathsBySizeLoader-mTPqVWRR.js.map → splitPathsBySizeLoader-DWVXFLzy.js.map} +1 -1
- package/dist-types/edit-mode/dnd/utils.d.ts +1 -1
- package/dist-types/edit-mode/features/interaction-layer-manager.d.ts +2 -2
- package/dist-types/edit-mode/interaction-layer.d.ts +1 -1
- package/dist-types/internal-testing/components/image.d.ts +1 -1
- package/dist-types/lib/index.d.ts +20 -20
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +3 -2
- package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +1 -0
- package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +2 -2
- package/dist-types/lib/internal-details/sb-wrapper.d.ts +2 -2
- package/dist-types/lib/internal-details/scope/scope.d.ts +2 -2
- package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +3 -3
- package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +8 -5
- package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +8 -3
- package/dist-types/lib/triggers/run-event-handlers.d.ts +2 -2
- package/dist-types/lib/user-facing/components/button/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/button/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/checkbox/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/checkbox/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/column/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/container/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/custom/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +2 -2
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +4 -4
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +3 -3
- package/dist-types/lib/user-facing/components/icon/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/icon/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/image/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/image/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/input/index.d.ts +5 -5
- package/dist-types/lib/user-facing/components/input/props.d.ts +4 -4
- package/dist-types/lib/user-facing/components/modal/index.d.ts +3 -3
- package/dist-types/lib/user-facing/components/modal/props.d.ts +2 -2
- package/dist-types/lib/user-facing/components/page/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/page/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/page/register-page.d.ts +2 -2
- package/dist-types/lib/user-facing/components/section/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/slideout/index.d.ts +3 -3
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +2 -2
- package/dist-types/lib/user-facing/components/switch/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/switch/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +1 -1
- package/dist-types/lib/user-facing/components/table/index.d.ts +7 -7
- package/dist-types/lib/user-facing/components/table/props.d.ts +6 -6
- package/dist-types/lib/user-facing/components/text/index.d.ts +1 -1
- package/dist-types/lib/user-facing/entities/api/index.d.ts +5 -5
- package/dist-types/lib/user-facing/entities/api/props.d.ts +2 -2
- package/dist-types/lib/user-facing/entities/timer/index.d.ts +3 -3
- package/dist-types/lib/user-facing/entities/timer/props.d.ts +1 -1
- package/dist-types/lib/user-facing/{sb-event-flow.d.ts → event-flow.d.ts} +37 -28
- package/dist-types/lib/user-facing/internal-index.d.ts +1 -1
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +4 -4
- package/dist-types/lib/user-facing/state/computed.d.ts +2 -0
- package/dist-types/lib/user-facing/state/create-scope.d.ts +4 -4
- package/dist-types/lib/user-facing/state/types.d.ts +1 -1
- package/package.json +2 -2
- package/dist-types/lib/user-facing/state/sb-computed.d.ts +0 -2
package/dist/index.js
CHANGED
|
@@ -1,27 +1,40 @@
|
|
|
1
|
-
import { a0 as clientExports } from "./index-
|
|
2
|
-
import { a1, a2,
|
|
1
|
+
import { a0 as clientExports } from "./index-BG-l_gfQ.js";
|
|
2
|
+
import { a1, a2, B, h, C, c, g, i, Y, D, O, Q, E, a3, L, a4, a5, a6, a7, l, n, d, a8, a9, v, aa, ab, M, ac, ad, ae, $, P, af, W, ag, ah, ai, aj, Z, u, R, v as v2, s, q, A, ak, al, S, am, e, an, ao, k, f, T, N, 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, X, w, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, K, aZ, a_, a$, b0, b1, b2, z, b3, b4, b5, b6, b7, G, b8, b9, x, ba, bb, bc, r, J, H, bd, be, bf, y, F, 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-BG-l_gfQ.js";
|
|
3
3
|
const createRoot = clientExports.createRoot;
|
|
4
4
|
export {
|
|
5
5
|
a1 as Await,
|
|
6
6
|
a2 as BrowserRouter,
|
|
7
|
+
B as Button,
|
|
8
|
+
h as Checkbox,
|
|
9
|
+
C as Column,
|
|
10
|
+
c as Container,
|
|
11
|
+
g as CustomComponent,
|
|
12
|
+
i as DatePicker,
|
|
7
13
|
Y as Dim,
|
|
8
|
-
|
|
14
|
+
D as Dropdown,
|
|
15
|
+
O as Embed,
|
|
9
16
|
Q as Env,
|
|
17
|
+
E as EventFlow,
|
|
10
18
|
a3 as Form,
|
|
11
|
-
|
|
19
|
+
L as Global,
|
|
12
20
|
a4 as HashRouter,
|
|
13
21
|
a5 as IDLE_BLOCKER,
|
|
14
22
|
a6 as IDLE_FETCHER,
|
|
15
23
|
a7 as IDLE_NAVIGATION,
|
|
24
|
+
l as Icon,
|
|
25
|
+
n as Image,
|
|
26
|
+
d as Input,
|
|
16
27
|
a8 as Link,
|
|
17
28
|
a9 as Links,
|
|
18
|
-
|
|
29
|
+
v as MakeEditableWithSuperblocks,
|
|
19
30
|
aa as MemoryRouter,
|
|
20
31
|
ab as Meta,
|
|
32
|
+
M as Modal,
|
|
21
33
|
ac as NavLink,
|
|
22
34
|
ad as Navigate,
|
|
23
35
|
ae as NavigationType,
|
|
24
36
|
$ as Outlet,
|
|
37
|
+
P as Page,
|
|
25
38
|
af as PrefetchPageLinks,
|
|
26
39
|
W as Prop,
|
|
27
40
|
ag as Route,
|
|
@@ -29,36 +42,23 @@ export {
|
|
|
29
42
|
ai as RouterProvider,
|
|
30
43
|
aj as Routes,
|
|
31
44
|
Z as SB,
|
|
32
|
-
|
|
33
|
-
S as SbButton,
|
|
34
|
-
s as SbCheckbox,
|
|
35
|
-
d as SbColumn,
|
|
36
|
-
e as SbContainer,
|
|
37
|
-
q as SbCustom,
|
|
38
|
-
u as SbDatePicker,
|
|
39
|
-
n as SbDropdown,
|
|
45
|
+
u as SbApi,
|
|
40
46
|
R as SbEvent,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
f as SbInput,
|
|
45
|
-
i as SbModal,
|
|
46
|
-
g as SbPage,
|
|
47
|
-
C2 as SbProvider,
|
|
48
|
-
c as SbSection,
|
|
49
|
-
k as SbSlideout,
|
|
50
|
-
v as SbSwitch,
|
|
51
|
-
l as SbTable,
|
|
52
|
-
h as SbText,
|
|
53
|
-
z as SbTimer,
|
|
54
|
-
y as SbVariable,
|
|
47
|
+
v2 as SbProvider,
|
|
48
|
+
s as SbTimer,
|
|
49
|
+
q as SbVariable,
|
|
55
50
|
A as SbVariablePersistence,
|
|
56
51
|
ak as Scripts,
|
|
57
52
|
al as ScrollRestoration,
|
|
53
|
+
S as Section,
|
|
58
54
|
am as ServerRouter,
|
|
55
|
+
e as Slideout,
|
|
59
56
|
an as StaticRouter,
|
|
60
57
|
ao as StaticRouterProvider,
|
|
61
|
-
|
|
58
|
+
k as Switch,
|
|
59
|
+
f as Table,
|
|
60
|
+
T as Text,
|
|
61
|
+
N as Theme,
|
|
62
62
|
ap as UNSAFE_DataRouterContext,
|
|
63
63
|
aq as UNSAFE_DataRouterStateContext,
|
|
64
64
|
ar as UNSAFE_ErrorResponseImpl,
|
|
@@ -84,7 +84,8 @@ export {
|
|
|
84
84
|
aL as UNSAFE_shouldHydrateRouteLoader,
|
|
85
85
|
aM as UNSAFE_useFogOFWarDiscovery,
|
|
86
86
|
aN as UNSAFE_useScrollRestoration,
|
|
87
|
-
|
|
87
|
+
X as computed,
|
|
88
|
+
w as copyToClipboard,
|
|
88
89
|
aO as createBrowserRouter,
|
|
89
90
|
aP as createCookie,
|
|
90
91
|
aQ as createCookieSessionStorage,
|
|
@@ -97,35 +98,34 @@ export {
|
|
|
97
98
|
aW as createRoutesFromChildren,
|
|
98
99
|
aX as createRoutesFromElements,
|
|
99
100
|
aY as createRoutesStub,
|
|
100
|
-
|
|
101
|
+
K as createScope,
|
|
101
102
|
aZ as createSearchParams,
|
|
102
103
|
a_ as createSession,
|
|
103
104
|
a$ as createSessionStorage,
|
|
104
105
|
b0 as createStaticHandler,
|
|
105
106
|
b1 as createStaticRouter,
|
|
106
107
|
b2 as data,
|
|
107
|
-
|
|
108
|
+
z as download,
|
|
108
109
|
b3 as generatePath,
|
|
109
110
|
b4 as href,
|
|
110
111
|
b5 as isCookie,
|
|
111
112
|
b6 as isRouteErrorResponse,
|
|
112
113
|
b7 as isSession,
|
|
113
|
-
|
|
114
|
+
G as logoutIntegrations,
|
|
114
115
|
b8 as matchPath,
|
|
115
116
|
b9 as matchRoutes,
|
|
116
|
-
|
|
117
|
+
x as navigateTo,
|
|
117
118
|
ba as parsePath,
|
|
118
119
|
bb as redirect,
|
|
119
120
|
bc as redirectDocument,
|
|
120
121
|
r as registerComponent,
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
J as registerPage,
|
|
123
|
+
H as registerScope,
|
|
123
124
|
bd as renderMatches,
|
|
124
125
|
be as replace,
|
|
125
126
|
bf as resolvePath,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
J as showAlert,
|
|
127
|
+
y as setQueryParams,
|
|
128
|
+
F as showAlert,
|
|
129
129
|
bg as unstable_HistoryRouter,
|
|
130
130
|
bh as unstable_RouterContextProvider,
|
|
131
131
|
bi as unstable_createContext,
|
|
@@ -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-BG-l_gfQ.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-D4Fa2Noh.js.map
|
package/dist/{splitPathsBySizeLoader-B6CeEPjz.js.map → splitPathsBySizeLoader-D4Fa2Noh.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-D4Fa2Noh.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-BG-l_gfQ.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-DWVXFLzy.js.map
|
package/dist/{splitPathsBySizeLoader-mTPqVWRR.js.map → splitPathsBySizeLoader-DWVXFLzy.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-DWVXFLzy.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]}
|
|
@@ -3,7 +3,7 @@ export declare const WithLayoutContainerTypes: Set<string>;
|
|
|
3
3
|
export declare const VStackLikeContainerTypes: Set<string>;
|
|
4
4
|
export declare const HStackLikeContainerTypes: Set<string>;
|
|
5
5
|
export declare const StackLikeContainerTypes: Set<string>;
|
|
6
|
-
declare const detachedComponentTypeList: readonly ["
|
|
6
|
+
declare const detachedComponentTypeList: readonly ["Modal", "Slideout"];
|
|
7
7
|
export type DetachedComponentType = (typeof detachedComponentTypeList)[number];
|
|
8
8
|
export declare const DetachedComponentTypes: Set<string>;
|
|
9
9
|
export declare const isDragAndDropTypeValid: ({ draggedType, dropTargetType, dropTargetEmpty, isDraggingNewComponent, }: {
|
|
@@ -2,8 +2,8 @@ import type { SbElement, SbInstance } from "@superblocksteam/library-shared/type
|
|
|
2
2
|
declare class InteractionLayerManager {
|
|
3
3
|
/**
|
|
4
4
|
* The id of the root element that is currently being interacted with
|
|
5
|
-
* the root can be
|
|
6
|
-
* If set to undefined, the interaction layer will be the
|
|
5
|
+
* the root can be Page, Modal or Slideout
|
|
6
|
+
* If set to undefined, the interaction layer will be the Page
|
|
7
7
|
* if set to the detached component id, the inteactoin layer will be disabled on the page
|
|
8
8
|
*/
|
|
9
9
|
activeRootInstanceId: SbInstance | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { SbInstance } from "@superblocksteam/library-shared/types";
|
|
3
|
-
export type RootType = "
|
|
3
|
+
export type RootType = "Page" | "Modal" | "Slideout";
|
|
4
4
|
declare const InteractionLayer: ((props: {
|
|
5
5
|
rootType: RootType;
|
|
6
6
|
rootInstanceId: SbInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function
|
|
1
|
+
export default function Widgets(): import("react").JSX.Element;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import "../edit-mode/edit-style.css";
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
3
|
+
export { Button } from "./user-facing/components/button/index.jsx";
|
|
4
|
+
export { Section } from "./user-facing/components/section/index.jsx";
|
|
5
|
+
export { Column } from "./user-facing/components/column/index.jsx";
|
|
6
|
+
export { Container } from "./user-facing/components/container/index.jsx";
|
|
7
|
+
export { Input } from "./user-facing/components/input/index.jsx";
|
|
8
|
+
export { Page } from "./user-facing/components/page/index.jsx";
|
|
9
|
+
export { Text } from "./user-facing/components/text/index.jsx";
|
|
10
|
+
export { Modal } from "./user-facing/components/modal/index.jsx";
|
|
11
|
+
export { Slideout } from "./user-facing/components/slideout/index.jsx";
|
|
12
|
+
export { Table } from "./user-facing/components/table/index.jsx";
|
|
13
|
+
export { Dropdown } from "./user-facing/components/dropdown/index.jsx";
|
|
14
14
|
export type * from "./user-facing/components/dropdown/types.ts";
|
|
15
|
-
export {
|
|
15
|
+
export { CustomComponent } from "./user-facing/components/custom/index.jsx";
|
|
16
16
|
export { registerComponent, type CustomComponentProps, } from "./user-facing/components/custom/register-custom-component.jsx";
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
17
|
+
export { Checkbox } from "./user-facing/components/checkbox/index.jsx";
|
|
18
|
+
export { DatePicker } from "./user-facing/components/date-picker/index.jsx";
|
|
19
|
+
export { Switch } from "./user-facing/components/switch/index.jsx";
|
|
20
|
+
export { Icon } from "./user-facing/components/icon/index.jsx";
|
|
21
|
+
export { Image } from "./user-facing/components/image/index.jsx";
|
|
22
22
|
export { SbVariable, SbVariablePersistence, } from "./user-facing/entities/variable/index.js";
|
|
23
23
|
export { SbTimer } from "./user-facing/entities/timer/index.js";
|
|
24
24
|
export { SbApi } from "./user-facing/entities/api/index.js";
|
|
25
25
|
export { default as MakeEditableWithSuperblocks } from "./user-facing/sb-provider.jsx";
|
|
26
26
|
export { default as SbProvider } from "./user-facing/sb-provider.jsx";
|
|
27
|
-
export {
|
|
27
|
+
export { EventFlow } from "./user-facing/event-flow.js";
|
|
28
28
|
export { copyToClipboard, navigateTo, setQueryParams, download, showAlert, logoutIntegrations, } from "./user-facing/global-functions.js";
|
|
29
29
|
export { registerScope } from "./internal-details/scope/scope.jsx";
|
|
30
30
|
export { registerPage } from "./user-facing/components/page/register-page.js";
|
|
31
|
-
export {
|
|
31
|
+
export { createScope } from "./user-facing/state/create-scope.js";
|
|
32
32
|
export { type BindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
33
33
|
export { Global, Theme, Embed, Env } from "./internal-details/scope/global.js";
|
|
34
34
|
export type { AppTheme } from "./internal-details/scope/global.js";
|
|
@@ -36,7 +36,7 @@ export { SbEvent } from "./internal-details/entities.js";
|
|
|
36
36
|
export { useUpdateProperties } from "./user-facing/hooks/use-update-properties.js";
|
|
37
37
|
export { useTheme } from "./user-facing/hooks/use-theme.jsx";
|
|
38
38
|
export { Prop } from "./user-facing/properties-panel/props-builder.js";
|
|
39
|
-
export {
|
|
39
|
+
export { computed } from "./user-facing/state/computed.js";
|
|
40
40
|
export { Dim, type DimModes, SB } from "@superblocksteam/library-shared";
|
|
41
41
|
export type { FromChildToParentMessageTypes, FromChildToParentMessageTypesMap, FromParentToChildMessageTypes, FromParentToChildMessageTypesMap, } from "./internal-details/lib/types.js";
|
|
42
42
|
export { Outlet } from "react-router";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Name } from "./names.js";
|
|
2
|
+
import type { EventFlow } from "../../../user-facing/event-flow.js";
|
|
2
3
|
import type { ValidateFn } from "../../../user-facing/properties-panel/validators.js";
|
|
3
|
-
import type { SbEventFlow } from "../../../user-facing/sb-event-flow.js";
|
|
4
4
|
import type { Executable, SbElement, SbInstance, ValidationState, EntityOutputProp, Entity, ScopedState, ValueInputProp } from "@superblocksteam/library-shared/types";
|
|
5
5
|
export type GetterOptions = {
|
|
6
6
|
useSuspense?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export type SingleInputProp<T = EntityOutputProp, ARGS extends any[] = any[]> = ValueInputProp<T, ARGS> |
|
|
8
|
+
export type SingleInputProp<T = EntityOutputProp, ARGS extends any[] = any[]> = ValueInputProp<T, ARGS> | EventFlow;
|
|
9
9
|
export type NestedInputProp<T, ARGS extends any[] = any[]> = T extends object ? {
|
|
10
10
|
[K in keyof T]: SingleInputProp<T[K], ARGS> | NestedInputProp<T[K], ARGS>;
|
|
11
11
|
} : never;
|
|
@@ -59,6 +59,7 @@ export interface IEntityManager {
|
|
|
59
59
|
scopeId: ScopeId;
|
|
60
60
|
name: Name;
|
|
61
61
|
key?: string;
|
|
62
|
+
onlyMetaProps?: boolean;
|
|
62
63
|
}): void;
|
|
63
64
|
updateEntity(params: {
|
|
64
65
|
scopeId: ScopeId;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventFlow } from "../../../user-facing/event-flow.js";
|
|
2
2
|
import type { SingleInputProp, InputProp, EntityFunction } from "./base-entity-manager.js";
|
|
3
3
|
import type { LazyFunction } from "./lazy-function.js";
|
|
4
4
|
import type { DataTypeString } from "@superblocksteam/library-shared/props";
|
|
@@ -20,7 +20,7 @@ export type ExecutableOrValue = {
|
|
|
20
20
|
value: LazyFunction;
|
|
21
21
|
} | {
|
|
22
22
|
type: "event";
|
|
23
|
-
value:
|
|
23
|
+
value: EventFlow;
|
|
24
24
|
});
|
|
25
25
|
type PathSchema = {
|
|
26
26
|
path: string;
|
|
@@ -4,12 +4,12 @@ import type { AnonymousSbEntity } from "@superblocksteam/library-shared/types";
|
|
|
4
4
|
export type DropTargetProps = {
|
|
5
5
|
dropTargetRef?: React.RefObject<HTMLDivElement>;
|
|
6
6
|
};
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const registerComponent: <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
10
|
hasExtendedClickArea?: boolean;
|
|
11
11
|
propertiesDefinition: PD;
|
|
12
12
|
}, Component: React.FC<IP>) => React.FC<EP>;
|
|
13
|
-
export declare function
|
|
13
|
+
export declare function registerEntity<PROPS, PD extends PropertiesDefinition, EP extends ExternalProps<PD> = ExternalProps<PD>>(name: string, config: {
|
|
14
14
|
propertiesDefinition: PD;
|
|
15
15
|
}, Entity: (args: RawPropsToExternal<PROPS>) => EP & AnonymousSbEntity): (args: RawPropsToExternal<PROPS>) => EP & AnonymousSbEntity;
|
|
@@ -2,11 +2,11 @@ import React from "react";
|
|
|
2
2
|
import type { SbApi } from "../../user-facing/entities/api/index.js";
|
|
3
3
|
import type { SbTimer } from "../../user-facing/entities/timer/index.js";
|
|
4
4
|
import type { SbVariable } from "../../user-facing/entities/variable/index.js";
|
|
5
|
-
import type {
|
|
5
|
+
import type { ScopeInstance } from "../../user-facing/state/types.js";
|
|
6
6
|
import type { SbEvent } from "../entities.js";
|
|
7
7
|
import type { ScopeOptions } from "@superblocksteam/library-shared/types";
|
|
8
8
|
export type ScopedEntity = ReturnType<typeof SbTimer> | ReturnType<typeof SbVariable> | ReturnType<typeof SbEvent> | ReturnType<typeof SbApi>;
|
|
9
9
|
export type Scope = {
|
|
10
10
|
[key: string]: ScopedEntity;
|
|
11
11
|
};
|
|
12
|
-
export declare function registerScope<T>(Component: React.FC<T>, scopeDef:
|
|
12
|
+
export declare function registerScope<T>(Component: React.FC<T>, scopeDef: ScopeInstance<any>, options?: ScopeOptions): React.FC<React.JSX.IntrinsicAttributes & T>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { EventFlow } from "../../../user-facing/event-flow.js";
|
|
2
2
|
import type { ExecutionContext } from "../../base.js";
|
|
3
3
|
import type { CancelApisStep, SbApiWithFunctions } from "@superblocksteam/library-shared/types";
|
|
4
4
|
export declare const CancelApisTrigger: {
|
|
5
5
|
type: "cancelApi";
|
|
6
6
|
execute(_context: ExecutionContext, step: CancelApisStep): Promise<void>;
|
|
7
|
-
create(apis: SbApiWithFunctions[], onCancel?:
|
|
7
|
+
create(apis: SbApiWithFunctions[], onCancel?: EventFlow): {
|
|
8
8
|
type: "cancelApi";
|
|
9
9
|
apis: SbApiWithFunctions[];
|
|
10
|
-
onCancel:
|
|
10
|
+
onCancel: EventFlow | undefined;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import type { ExecutionContext } from "../../base.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
3
3
|
import type { ResetComponentStep } from "@superblocksteam/library-shared/types";
|
|
4
4
|
export declare const ResetComponentTrigger: {
|
|
5
5
|
type: "resetComponent";
|
|
6
6
|
execute(context: ExecutionContext, step: ResetComponentStep): Promise<void>;
|
|
7
|
-
create(
|
|
7
|
+
create(component: WithBindingIdentifier, opts?: {
|
|
8
|
+
property: string;
|
|
9
|
+
}): {
|
|
8
10
|
type: "resetComponent";
|
|
9
|
-
widget:
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
widget: {
|
|
12
|
+
name: string;
|
|
13
|
+
} | undefined;
|
|
14
|
+
propertyName: string | undefined;
|
|
12
15
|
};
|
|
13
16
|
};
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import type { ExecutionContext } from "../../base.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ValueInputProp } from "@superblocksteam/library-shared/types";
|
|
3
3
|
import type { SetComponentPropertyStep } from "@superblocksteam/library-shared/types";
|
|
4
4
|
export declare const SetComponentPropertyTrigger: {
|
|
5
5
|
type: "setComponentProperty";
|
|
6
6
|
execute(context: ExecutionContext, step: SetComponentPropertyStep): Promise<void>;
|
|
7
|
-
create(
|
|
7
|
+
create(component: any, opts: {
|
|
8
|
+
property: string;
|
|
9
|
+
value: ValueInputProp;
|
|
10
|
+
}): {
|
|
8
11
|
type: "setComponentProperty";
|
|
9
|
-
widget:
|
|
12
|
+
widget: {
|
|
13
|
+
name: string;
|
|
14
|
+
} | undefined;
|
|
10
15
|
propertyName: string;
|
|
11
16
|
propertyValue: ValueInputProp;
|
|
12
17
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ScopeId } from "../internal-details/lib/evaluator/base-entity-manager.js";
|
|
2
2
|
import type { Name } from "../internal-details/lib/evaluator/names.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { IEventFlow, ScopedState, StepDef, ValueInputProp } from "@superblocksteam/library-shared/types";
|
|
4
4
|
export declare const runEventHandlers: ({ flow, name, scopeId, additionalContext, }: {
|
|
5
|
-
flow?:
|
|
5
|
+
flow?: IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
6
6
|
name: Name;
|
|
7
7
|
scopeId: ScopeId;
|
|
8
8
|
additionalContext?: Record<string, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Button: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
2
|
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
3
3
|
label: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
4
4
|
}>;
|
|
@@ -36,6 +36,6 @@ export declare const SbButton: import("react").FC<import("../../properties-panel
|
|
|
36
36
|
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
37
37
|
}>;
|
|
38
38
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
39
|
-
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
39
|
+
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
40
40
|
}>;
|
|
41
41
|
}>>;
|
|
@@ -41,6 +41,6 @@ export declare const propertiesDefinition: {
|
|
|
41
41
|
isDisabled: Prop<boolean, true, undefined>;
|
|
42
42
|
}>;
|
|
43
43
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
44
|
-
onClick: Prop<import("../../
|
|
44
|
+
onClick: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
45
45
|
}>;
|
|
46
46
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Checkbox: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
2
|
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
3
3
|
label: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
4
4
|
defaultChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
@@ -32,7 +32,7 @@ export declare const SbCheckbox: import("react").FC<import("../../properties-pan
|
|
|
32
32
|
errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
|
|
33
33
|
}>;
|
|
34
34
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
35
|
-
onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
35
|
+
onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
36
36
|
}>;
|
|
37
37
|
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
38
38
|
isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
@@ -33,7 +33,7 @@ export declare const propertiesDefinition: {
|
|
|
33
33
|
errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
|
|
34
34
|
}>;
|
|
35
35
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
36
|
-
onCheckChange: Prop<import("../../
|
|
36
|
+
onCheckChange: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
37
37
|
}>;
|
|
38
38
|
meta: Section<Record<string, Prop<any, any, undefined>> & {
|
|
39
39
|
isTouched: Prop<boolean, true, undefined>;
|
|
@@ -6,7 +6,7 @@ import { Dim } from "@superblocksteam/library-shared";
|
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
8
|
export declare const getDefaultSectionChildren: () => never[];
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const Column: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
10
10
|
layout: import("../../properties-panel/props-builder.js").Section<((Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & ((Omit<{
|
|
11
11
|
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true, undefined>;
|
|
12
12
|
}, "layout" | "verticalAlign" | "horizontalAlign"> & {
|
|
@@ -16,7 +16,7 @@ type ContainerProps<T> = Omit<InternalPropsWithOptional<typeof propertiesDefinit
|
|
|
16
16
|
* - move more props to inner layout component
|
|
17
17
|
*/
|
|
18
18
|
export declare const InternalContainer: <T extends ContainerLayout>(props: ContainerProps<T>) => import("react").JSX.Element;
|
|
19
|
-
export declare const
|
|
19
|
+
export declare const Container: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
20
20
|
layout: import("../../properties-panel/props-builder.js").Section<((Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & ((Omit<{
|
|
21
21
|
layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true, undefined>;
|
|
22
22
|
}, "layout" | "verticalAlign" | "horizontalAlign"> & {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const CustomComponent: React.FC<Omit<any, "ref">>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Section } from "../../properties-panel/props-builder.js";
|
|
2
|
+
import type { EventFlow } from "../../event-flow.js";
|
|
2
3
|
import type { Prop, InternalProps } from "../../properties-panel/props-builder.js";
|
|
3
|
-
import type { SbEventFlow } from "../../sb-event-flow.js";
|
|
4
4
|
import type { ReactNode } from "react";
|
|
5
5
|
declare const defaultSections: {
|
|
6
6
|
appearance: Section<Record<string, Prop<any, any, undefined>> & {
|
|
@@ -25,7 +25,7 @@ declare const defaultSections: {
|
|
|
25
25
|
}>;
|
|
26
26
|
};
|
|
27
27
|
type WrappedEventProps<IP extends InternalProps<any>> = {
|
|
28
|
-
[K in keyof IP]: IP[K] extends
|
|
28
|
+
[K in keyof IP]: IP[K] extends EventFlow | undefined ? () => Promise<void> : IP[K];
|
|
29
29
|
};
|
|
30
30
|
type SectionProps<PD extends Record<string, Prop<any>>> = Record<string, Section<PD>> & typeof defaultSections;
|
|
31
31
|
export type CustomComponentProps<PD extends Record<string, Prop<any>>, SP extends SectionProps<PD> = SectionProps<PD>, IP extends InternalProps<SP> = InternalProps<SP>> = WrappedEventProps<IP>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const DatePicker: React.FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
3
3
|
general: import("../../properties-panel/props-builder.js").Section<(Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & ({
|
|
4
4
|
label: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
5
5
|
defaultDate: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
@@ -55,7 +55,7 @@ export declare const SbDatePicker: React.FC<import("../../properties-panel/props
|
|
|
55
55
|
errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
|
|
56
56
|
}>;
|
|
57
57
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
58
|
-
onDateSelected: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
58
|
+
onDateSelected: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
59
59
|
}>;
|
|
60
60
|
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
61
61
|
selectedDate: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
@@ -57,7 +57,7 @@ export declare const propertiesDefinition: {
|
|
|
57
57
|
errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
|
|
58
58
|
}>;
|
|
59
59
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
60
|
-
onDateSelected: Prop<import("../../
|
|
60
|
+
onDateSelected: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
61
61
|
}>;
|
|
62
62
|
meta: Section<Record<string, Prop<any, any, undefined>> & {
|
|
63
63
|
selectedDate: Prop<string, true, undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { OptionValue } from "./types.js";
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const Dropdown: React.FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
4
4
|
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
5
5
|
label: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
6
6
|
options: import("../../properties-panel/props-builder.js").Prop<import("./types.js").UnknownOption[], false, undefined>;
|
|
@@ -50,9 +50,9 @@ export declare const SbDropdown: React.FC<import("../../properties-panel/props-b
|
|
|
50
50
|
errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
|
|
51
51
|
}>;
|
|
52
52
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
53
|
-
onOptionChange: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
54
|
-
onSearchTextChange: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
55
|
-
onClear: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
53
|
+
onOptionChange: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
54
|
+
onSearchTextChange: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
55
|
+
onClear: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
56
56
|
}>;
|
|
57
57
|
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
58
58
|
metaSelectedOptionValue: import("../../properties-panel/props-builder.js").Prop<any, true, undefined>;
|