@superblocksteam/library 2.0.6-next.39 → 2.0.6-next.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-DrkZM5UN.js → allPaths-BtYOw5Ru.js} +2 -2
- package/dist/{allPaths-DrkZM5UN.js.map → allPaths-BtYOw5Ru.js.map} +1 -1
- package/dist/{allPaths-DtYnQ-yV.js → allPaths-CO-aWzss.js} +2 -2
- package/dist/{allPaths-DtYnQ-yV.js.map → allPaths-CO-aWzss.js.map} +1 -1
- package/dist/{allPathsLoader-Bt-mJXJw.js → allPathsLoader-B3Ii4JGL.js} +3 -3
- package/dist/{allPathsLoader-rDsLNp7q.js.map → allPathsLoader-B3Ii4JGL.js.map} +1 -1
- package/dist/{allPathsLoader-rDsLNp7q.js → allPathsLoader-KDCEbuYo.js} +3 -3
- package/dist/{allPathsLoader-Bt-mJXJw.js.map → allPathsLoader-KDCEbuYo.js.map} +1 -1
- package/dist/{devtools-consolidated-DaYe-zkb.js → devtools-consolidated-B1B3uBW_.js} +2 -2
- package/dist/{devtools-consolidated-DaYe-zkb.js.map → devtools-consolidated-B1B3uBW_.js.map} +1 -1
- package/dist/{icons-lSlfQ50w.js → icons-NrNO8p_u.js} +14 -10
- package/dist/icons-NrNO8p_u.js.map +1 -0
- package/dist/{index-D9O95zsr.js → index-kjgG33Rg.js} +1648 -799
- package/dist/{index-D9O95zsr.js.map → index-kjgG33Rg.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-DCl0XfAP.js → splitPathsBySizeLoader-Btq5cpt-.js} +2 -2
- package/dist/{splitPathsBySizeLoader-DCl0XfAP.js.map → splitPathsBySizeLoader-Btq5cpt-.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-HDsWhSbE.js → splitPathsBySizeLoader-VThmaq3t.js} +2 -2
- package/dist/{splitPathsBySizeLoader-HDsWhSbE.js.map → splitPathsBySizeLoader-VThmaq3t.js.map} +1 -1
- package/dist-types/edit-mode/dnd/utils.d.ts +0 -4
- package/dist-types/edit-mode/iframe-wrappers.d.ts +0 -1
- package/dist-types/edit-mode/source-update-api.d.ts +0 -5
- package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +0 -1
- package/dist-types/lib/internal-details/is-sb-component.d.ts +1 -5
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +6 -6
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -5
- package/dist-types/lib/internal-details/lib/types.d.ts +0 -3
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +3 -3
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +3 -3
- package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +3 -4
- package/dist-types/lib/triggers/registry.d.ts +6 -6
- package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
- package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
- package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
- package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
- package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
- package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
- package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
- package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +9 -9
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
- package/dist-types/lib/user-facing/components/grid/index.d.ts +18 -20
- package/dist-types/lib/user-facing/components/grid/utils.d.ts +1 -0
- package/dist-types/lib/user-facing/components/icon/index.d.ts +13 -11
- package/dist-types/lib/user-facing/components/icon/props.d.ts +13 -11
- package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
- package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
- package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
- package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
- package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/modal/index.d.ts +27 -27
- package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
- package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
- package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
- package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +11 -11
- package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
- package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
- package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +161 -262
- package/dist-types/lib/user-facing/components/table/index.d.ts +205 -306
- package/dist-types/lib/user-facing/components/table/props.d.ts +205 -306
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +4 -4
- package/dist-types/lib/user-facing/components/table/table-widget.d.ts +1 -5
- package/dist-types/lib/user-facing/components/table/types.d.ts +28 -31
- package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
- package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
- package/dist-types/lib/user-facing/entities/api/props.d.ts +10 -10
- package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
- package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +12 -12
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
- package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +45 -45
- package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +9 -20
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +2 -2
- package/dist-types/lib/user-facing/sb-provider.d.ts +2 -1
- package/package.json +3 -3
- package/dist/icons-lSlfQ50w.js.map +0 -1
- package/dist-types/lib/user-facing/build-manifest.d.ts +0 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as clientExports } from "./index-
|
|
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-
|
|
1
|
+
import { $ as clientExports } from "./index-kjgG33Rg.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-kjgG33Rg.js";
|
|
3
3
|
const createRoot = clientExports.createRoot;
|
|
4
4
|
export {
|
|
5
5
|
a0 as Await,
|
|
@@ -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-kjgG33Rg.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-Btq5cpt-.js.map
|
package/dist/{splitPathsBySizeLoader-DCl0XfAP.js.map → splitPathsBySizeLoader-Btq5cpt-.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-Btq5cpt-.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-kjgG33Rg.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-VThmaq3t.js.map
|
package/dist/{splitPathsBySizeLoader-HDsWhSbE.js.map → splitPathsBySizeLoader-VThmaq3t.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-VThmaq3t.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;
|
|
@@ -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;
|
|
@@ -28,7 +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
|
-
socketError(message: string): void;
|
|
32
31
|
private queueMessage;
|
|
33
32
|
private sendImmediate;
|
|
34
33
|
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import type { SbComponentProps } from "../user-facing/component-base/sb-component";
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
3
|
type ChildFunction = Function;
|
|
4
|
-
export type StackChildElement = React.ReactElement<SbComponentProps
|
|
5
|
-
type: {
|
|
6
|
-
sbType: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
4
|
+
export type StackChildElement = React.ReactElement<SbComponentProps>;
|
|
9
5
|
export declare const superblocksComponentSymbol: unique symbol;
|
|
10
6
|
export declare function isSbComponent(child: ReactNode | ChildFunction): child is StackChildElement;
|
|
11
7
|
export {};
|
|
@@ -7,13 +7,13 @@ import type { SbElement, SbInstance, ValidationState } from "@superblocksteam/li
|
|
|
7
7
|
export type EntityOutputProp = Exclude<null | undefined | string | number | boolean | object | bigint | any[], BindingString | EntityDerivedProp<any[]>>;
|
|
8
8
|
export type EntityDerivedProp<ARGS extends any[] = any[]> = (this: Readonly<Entity>, state?: Readonly<ScopedState>, ...args: ARGS) => EntityOutputProp;
|
|
9
9
|
export type Executable<ARGS extends any[] = any[]> = (this: Entity, state?: ScopedState, ...args: ARGS) => void;
|
|
10
|
-
export type ValueInputProp<T = EntityOutputProp
|
|
11
|
-
export type SingleInputProp<T = EntityOutputProp
|
|
12
|
-
export type NestedInputProp<T
|
|
13
|
-
[K in keyof T]: SingleInputProp<T[K]
|
|
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]>;
|
|
14
14
|
} : never;
|
|
15
|
-
export type InputProp<T = EntityOutputProp
|
|
16
|
-
export type EntityFunction<ARGS extends any[] = any[], R = EntityOutputProp> = (this: Entity, state: ScopedState, ...
|
|
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;
|
|
17
17
|
export type EntityType = "global" | "theme" | "variable" | "api" | "timer" | (string & {});
|
|
18
18
|
export type Entity = {
|
|
19
19
|
[key: string]: EntityOutputProp;
|
|
@@ -13,8 +13,7 @@ export interface ComputeEngine {
|
|
|
13
13
|
}
|
|
14
14
|
declare class EvalComputeEngine implements ComputeEngine {
|
|
15
15
|
private statementFunction;
|
|
16
|
-
|
|
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,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?:
|
|
6
|
+
export declare const LazyFunction: (source: string, args?: string[]) => LazyFunction;
|
|
8
7
|
export {};
|
|
@@ -26,9 +26,4 @@ export declare class ComponentRegistry implements ComponentRegistryShareState {
|
|
|
26
26
|
get managedPropsRegistry(): Map<string, ManagedPropsList>;
|
|
27
27
|
getManagedProps(type: string): ManagedPropsList;
|
|
28
28
|
getComponent(type: string): Type | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Get the property path with the record identifier if it exists. For example,
|
|
31
|
-
* `columns.columnName.label` becomes `columns.*.label`, for record properties.
|
|
32
|
-
*/
|
|
33
|
-
getPropertyWithRecordIdentifier(type: string, path: string): string;
|
|
34
29
|
}
|
|
@@ -226,9 +226,6 @@ export type FromChildToParentMessageTypesMap = {
|
|
|
226
226
|
};
|
|
227
227
|
undo: void;
|
|
228
228
|
redo: void;
|
|
229
|
-
"socket/error": {
|
|
230
|
-
message: string;
|
|
231
|
-
};
|
|
232
229
|
} & AppToEditorMessage<PropertiesPanelDefinition>;
|
|
233
230
|
export type FromChildToParentMessageTypes = keyof FromChildToParentMessageTypesMap;
|
|
234
231
|
export {};
|
|
@@ -4,13 +4,13 @@ import type { ExecutionContext } from "../../base.js";
|
|
|
4
4
|
import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
5
5
|
export interface ResetStateVarStep extends BaseStepDef {
|
|
6
6
|
type: typeof TriggerStepType.RESET_STATE_VAR;
|
|
7
|
-
|
|
7
|
+
state?: WithBindingIdentifier;
|
|
8
8
|
}
|
|
9
9
|
export declare const ResetStateVarTrigger: {
|
|
10
10
|
type: "resetStateVar";
|
|
11
11
|
execute(context: ExecutionContext, step: ResetStateVarStep): Promise<void>;
|
|
12
|
-
create(
|
|
12
|
+
create(stateVar?: WithBindingIdentifier): {
|
|
13
13
|
type: "resetStateVar";
|
|
14
|
-
|
|
14
|
+
state: WithBindingIdentifier | undefined;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
@@ -5,15 +5,15 @@ import type { ExecutionContext } from "../../base.js";
|
|
|
5
5
|
import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
6
6
|
export interface SetStateVarStep extends BaseStepDef {
|
|
7
7
|
type: typeof TriggerStepType.SET_STATE_VAR;
|
|
8
|
-
|
|
8
|
+
state?: WithBindingIdentifier;
|
|
9
9
|
value?: ValueInputProp;
|
|
10
10
|
}
|
|
11
11
|
export declare const SetStateVarTrigger: {
|
|
12
12
|
type: "setStateVar";
|
|
13
13
|
execute(context: ExecutionContext, step: SetStateVarStep): Promise<void>;
|
|
14
|
-
create(
|
|
14
|
+
create(stateVar?: WithBindingIdentifier, value?: ValueInputProp): {
|
|
15
15
|
type: "setStateVar";
|
|
16
|
-
|
|
16
|
+
state: WithBindingIdentifier | undefined;
|
|
17
17
|
value: ValueInputProp;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { TriggerStepType } from "@superblocksteam/library-shared/types";
|
|
2
2
|
import type { BaseStepDef } from "../../../sb-trigger.js";
|
|
3
3
|
import type { ExecutionContext } from "../../base.js";
|
|
4
|
-
import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
5
4
|
export interface ControlTimerStep extends BaseStepDef {
|
|
6
5
|
type: typeof TriggerStepType.CONTROL_TIMER;
|
|
7
|
-
|
|
6
|
+
timerId: string;
|
|
8
7
|
action: "start" | "stop" | "toggle";
|
|
9
8
|
}
|
|
10
9
|
export declare const ControlTimerTrigger: {
|
|
11
10
|
type: "controlTimer";
|
|
12
11
|
execute(_context: ExecutionContext, step: ControlTimerStep): Promise<void>;
|
|
13
|
-
create(
|
|
12
|
+
create(timerId: string, action: "start" | "stop" | "toggle"): {
|
|
14
13
|
type: "controlTimer";
|
|
15
|
-
|
|
14
|
+
timerId: string;
|
|
16
15
|
action: "toggle" | "stop" | "start";
|
|
17
16
|
};
|
|
18
17
|
};
|
|
@@ -116,9 +116,9 @@ declare const EventRegistry: {
|
|
|
116
116
|
readonly setStateVar: {
|
|
117
117
|
type: "setStateVar";
|
|
118
118
|
execute(context: import("./base.js").ExecutionContext, step: import("./implementations/state/set-state-var.js").SetStateVarStep): Promise<void>;
|
|
119
|
-
create(
|
|
119
|
+
create(stateVar?: import("@superblocksteam/library-shared/types").WithBindingIdentifier, value?: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp): {
|
|
120
120
|
type: "setStateVar";
|
|
121
|
-
|
|
121
|
+
state: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
|
|
122
122
|
value: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp;
|
|
123
123
|
};
|
|
124
124
|
};
|
|
@@ -135,17 +135,17 @@ declare const EventRegistry: {
|
|
|
135
135
|
readonly resetStateVar: {
|
|
136
136
|
type: "resetStateVar";
|
|
137
137
|
execute(context: import("./base.js").ExecutionContext, step: import("./implementations/state/reset-state-var.js").ResetStateVarStep): Promise<void>;
|
|
138
|
-
create(
|
|
138
|
+
create(stateVar?: import("@superblocksteam/library-shared/types").WithBindingIdentifier): {
|
|
139
139
|
type: "resetStateVar";
|
|
140
|
-
|
|
140
|
+
state: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
143
|
readonly controlTimer: {
|
|
144
144
|
type: "controlTimer";
|
|
145
145
|
execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/timers/control-timer.js").ControlTimerStep): Promise<void>;
|
|
146
|
-
create(
|
|
146
|
+
create(timerId: string, action: "start" | "stop" | "toggle"): {
|
|
147
147
|
type: "controlTimer";
|
|
148
|
-
|
|
148
|
+
timerId: string;
|
|
149
149
|
action: "toggle" | "stop" | "start";
|
|
150
150
|
};
|
|
151
151
|
};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
export declare const SbButton: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
|
-
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
3
|
-
label: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
2
|
+
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
3
|
+
label: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
4
4
|
}>;
|
|
5
|
-
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
6
|
-
padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true
|
|
5
|
+
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
6
|
+
padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
7
7
|
} & {
|
|
8
|
-
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
9
|
-
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
10
|
-
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
11
|
-
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
12
|
-
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
13
|
-
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
8
|
+
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
9
|
+
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
10
|
+
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
11
|
+
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
12
|
+
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
13
|
+
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
14
14
|
} & {
|
|
15
15
|
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
16
16
|
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
17
17
|
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
18
18
|
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
19
19
|
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
20
|
-
} | undefined, true
|
|
20
|
+
} | undefined, true>;
|
|
21
21
|
} & {
|
|
22
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
22
|
+
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
23
23
|
}>;
|
|
24
|
-
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
25
|
-
variant: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ButtonVariant, true
|
|
26
|
-
icon: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
27
|
-
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true
|
|
28
|
-
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
29
|
-
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true
|
|
30
|
-
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true
|
|
31
|
-
borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true
|
|
32
|
-
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true
|
|
33
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
24
|
+
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
25
|
+
variant: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ButtonVariant, true>;
|
|
26
|
+
icon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
27
|
+
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
28
|
+
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
29
|
+
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
30
|
+
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
|
|
31
|
+
borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
32
|
+
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true>;
|
|
33
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
34
34
|
}>;
|
|
35
|
-
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
36
|
-
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
35
|
+
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
36
|
+
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
37
37
|
}>;
|
|
38
|
-
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
39
|
-
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
38
|
+
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
39
|
+
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
40
40
|
}>;
|
|
41
41
|
}>>;
|
|
@@ -4,43 +4,43 @@ import type { Dim } from "@superblocksteam/library-shared";
|
|
|
4
4
|
import type { HorizontalAlign } from "@superblocksteam/library-shared/props";
|
|
5
5
|
export type ButtonVariant = "primary" | "secondary" | "tertiary";
|
|
6
6
|
export declare const propertiesDefinition: {
|
|
7
|
-
general: Section<Record<string, Prop<any, any
|
|
8
|
-
label: Prop<string, false
|
|
7
|
+
general: Section<Record<string, Prop<any, any>> & {
|
|
8
|
+
label: Prop<string, false>;
|
|
9
9
|
}>;
|
|
10
|
-
layout: Section<Record<string, Prop<any, any
|
|
11
|
-
padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true
|
|
10
|
+
layout: Section<Record<string, Prop<any, any>> & {
|
|
11
|
+
padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
12
12
|
} & {
|
|
13
|
-
maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
14
|
-
minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
15
|
-
maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
16
|
-
minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
17
|
-
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
18
|
-
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
13
|
+
maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
14
|
+
minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
15
|
+
maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
16
|
+
minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
17
|
+
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
18
|
+
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
19
19
|
} & {
|
|
20
20
|
margin: Prop<{
|
|
21
21
|
top: Dim<"px">;
|
|
22
22
|
bottom: Dim<"px">;
|
|
23
23
|
left: Dim<"px">;
|
|
24
24
|
right: Dim<"px">;
|
|
25
|
-
} | undefined, true
|
|
25
|
+
} | undefined, true>;
|
|
26
26
|
} & {
|
|
27
|
-
isVisible: Prop<boolean, true
|
|
27
|
+
isVisible: Prop<boolean, true>;
|
|
28
28
|
}>;
|
|
29
|
-
appearance: Section<Record<string, Prop<any, any
|
|
30
|
-
variant: Prop<ButtonVariant, true
|
|
31
|
-
icon: Prop<string, false
|
|
32
|
-
iconPosition: Prop<IconPosition, true
|
|
33
|
-
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
34
|
-
backgroundColor: Prop<string, true
|
|
35
|
-
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true
|
|
36
|
-
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true
|
|
37
|
-
horizontalAlign: Prop<HorizontalAlign, true
|
|
38
|
-
loading: Prop<boolean, true
|
|
29
|
+
appearance: Section<Record<string, Prop<any, any>> & {
|
|
30
|
+
variant: Prop<ButtonVariant, true>;
|
|
31
|
+
icon: Prop<string, false>;
|
|
32
|
+
iconPosition: Prop<IconPosition, true>;
|
|
33
|
+
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
34
|
+
backgroundColor: Prop<string, true>;
|
|
35
|
+
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
|
|
36
|
+
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
37
|
+
horizontalAlign: Prop<HorizontalAlign, true>;
|
|
38
|
+
loading: Prop<boolean, true>;
|
|
39
39
|
}>;
|
|
40
|
-
interaction: Section<Record<string, Prop<any, any
|
|
41
|
-
isDisabled: Prop<boolean, true
|
|
40
|
+
interaction: Section<Record<string, Prop<any, any>> & {
|
|
41
|
+
isDisabled: Prop<boolean, true>;
|
|
42
42
|
}>;
|
|
43
|
-
events: Section<Record<string, Prop<any, any
|
|
44
|
-
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
43
|
+
events: Section<Record<string, Prop<any, any>> & {
|
|
44
|
+
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
45
45
|
}>;
|
|
46
46
|
};
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
export declare const SbCheckbox: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
|
-
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
3
|
-
label: import("../../properties-panel/props-builder.js").Prop<string, true
|
|
4
|
-
defaultChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
2
|
+
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
3
|
+
label: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
4
|
+
defaultChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
5
5
|
}>;
|
|
6
|
-
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
7
|
-
labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
8
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
6
|
+
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
7
|
+
labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
8
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
9
9
|
}>;
|
|
10
|
-
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
11
|
-
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
12
|
-
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
13
|
-
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
14
|
-
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
15
|
-
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
16
|
-
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
10
|
+
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
11
|
+
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
12
|
+
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
13
|
+
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
14
|
+
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
15
|
+
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
16
|
+
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
17
17
|
} & {
|
|
18
18
|
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
19
19
|
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
20
20
|
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
21
21
|
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
22
22
|
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
23
|
-
} | undefined, true
|
|
23
|
+
} | undefined, true>;
|
|
24
24
|
} & {
|
|
25
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
25
|
+
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
26
26
|
}>;
|
|
27
|
-
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
28
|
-
customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true
|
|
29
|
-
customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true
|
|
30
|
-
isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, false
|
|
31
|
-
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
32
|
-
errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true
|
|
27
|
+
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
28
|
+
customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
29
|
+
customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
30
|
+
isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
31
|
+
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
32
|
+
errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
|
|
33
33
|
}>;
|
|
34
|
-
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
35
|
-
onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
34
|
+
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
35
|
+
onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
36
36
|
}>;
|
|
37
|
-
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
38
|
-
isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
39
|
-
isChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
37
|
+
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
38
|
+
isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
39
|
+
isChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
40
40
|
}>;
|
|
41
|
-
derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
42
|
-
value: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
43
|
-
validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true
|
|
44
|
-
isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
45
|
-
showError: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
41
|
+
derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
42
|
+
value: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
43
|
+
validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true>;
|
|
44
|
+
isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
45
|
+
showError: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
46
46
|
}>;
|
|
47
47
|
}>>;
|