@superblocksteam/library 1.99.99-next.2 → 2.0.0-next.3
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-CCZMME3l.js → allPaths-4TPCDqqv.js} +2 -2
- package/dist/{allPaths-CCZMME3l.js.map → allPaths-4TPCDqqv.js.map} +1 -1
- package/dist/{allPaths-CHXNxDVP.js → allPaths-D6A2vzyG.js} +2 -2
- package/dist/{allPaths-CHXNxDVP.js.map → allPaths-D6A2vzyG.js.map} +1 -1
- package/dist/{allPathsLoader-DTWFaGcd.js → allPathsLoader-CVwVdrBb.js} +3 -3
- package/dist/{allPathsLoader-Fr8EhLGp.js.map → allPathsLoader-CVwVdrBb.js.map} +1 -1
- package/dist/{allPathsLoader-Fr8EhLGp.js → allPathsLoader-qCVzPQ-g.js} +3 -3
- package/dist/{allPathsLoader-DTWFaGcd.js.map → allPathsLoader-qCVzPQ-g.js.map} +1 -1
- package/dist/{index-U0oPeutu.js → index-DTEW2pgh.js} +63 -29
- package/dist/{index-U0oPeutu.js.map → index-DTEW2pgh.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-DHk6oFvg.js → splitPathsBySizeLoader-B_6-S2vk.js} +2 -2
- package/dist/{splitPathsBySizeLoader-DHk6oFvg.js.map → splitPathsBySizeLoader-B_6-S2vk.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-PcZVWYaJ.js → splitPathsBySizeLoader-D6mNjqKJ.js} +2 -2
- package/dist/{splitPathsBySizeLoader-PcZVWYaJ.js.map → splitPathsBySizeLoader-D6mNjqKJ.js.map} +1 -1
- package/dist-types/internal-testing/components/table.d.ts +3 -1
- package/dist-types/lib/index.d.ts +1 -1
- package/dist-types/lib/internal-details/identifier-normalizer.d.ts +1 -1
- package/dist-types/lib/sb-trigger.d.ts +0 -1
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +9 -4
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +10 -5
- package/dist-types/lib/triggers/registry.d.ts +14 -6
- package/dist-types/lib/user-facing/component-base/sb-component.d.ts +1 -2
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +6 -6
- package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +3 -4
- package/dist-types/lib/user-facing/state/types.d.ts +1 -8
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as clientExports } from "./index-
|
|
2
|
-
import { W, X, Q, K, L, Y, J, Z, $, a0, a1, a2, a3, w, a4, a5, a6, a7, a8, U, a9, P, aa, ab, ac, ad, R, 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, ae, af, ag, ah, ai, T, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, y, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, H, aT, aU, aV, aW, aX, aY, C, aZ, a_, a$, b0, b1, E, b2, b3, z, b4, b5, b6, r, G, F, b7, b8, b9, O, B, D, ba, 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, N, bH } from "./index-
|
|
1
|
+
import { V as clientExports } from "./index-DTEW2pgh.js";
|
|
2
|
+
import { W, X, Q, K, L, Y, J, Z, $, a0, a1, a2, a3, w, a4, a5, a6, a7, a8, U, a9, P, aa, ab, ac, ad, R, 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, ae, af, ag, ah, ai, T, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, y, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, H, aT, aU, aV, aW, aX, aY, C, aZ, a_, a$, b0, b1, E, b2, b3, z, b4, b5, b6, r, G, F, b7, b8, b9, O, B, D, ba, 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, N, bH } from "./index-DTEW2pgh.js";
|
|
3
3
|
const createRoot = clientExports.createRoot;
|
|
4
4
|
export {
|
|
5
5
|
W 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-DTEW2pgh.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-B_6-S2vk.js.map
|
package/dist/{splitPathsBySizeLoader-DHk6oFvg.js.map → splitPathsBySizeLoader-B_6-S2vk.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-B_6-S2vk.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-DTEW2pgh.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-D6mNjqKJ.js.map
|
package/dist/{splitPathsBySizeLoader-PcZVWYaJ.js.map → splitPathsBySizeLoader-D6mNjqKJ.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-D6mNjqKJ.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]}
|
|
@@ -28,9 +28,9 @@ export { copyToClipboard, navigateTo, setQueryParams, download, showAlert, logou
|
|
|
28
28
|
export { registerScope } from "./internal-details/scope/scope.jsx";
|
|
29
29
|
export { registerPage } from "./user-facing/components/page/register-page.js";
|
|
30
30
|
export { createSbScope } from "./user-facing/state/create-scope.js";
|
|
31
|
+
export { type BindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
31
32
|
export { Global, Theme, Embed, Env } from "./internal-details/scope/global.js";
|
|
32
33
|
export type { AppTheme } from "./internal-details/scope/global.js";
|
|
33
|
-
export { type BindingIdentifier } from "./user-facing/state/types.js";
|
|
34
34
|
export { SbEvent } from "./internal-details/entities.js";
|
|
35
35
|
export { useUpdateProperties } from "./user-facing/hooks/use-update-properties.js";
|
|
36
36
|
export { Prop } from "./user-facing/properties-panel/props-builder.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BindingIdentifier } from "
|
|
1
|
+
import type { BindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
2
2
|
export declare const getNormalizedIdInfo: (params: {
|
|
3
3
|
bind: BindingIdentifier | undefined;
|
|
4
4
|
propsName: string | undefined;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { TriggerStepType } from "@superblocksteam/library-shared/types";
|
|
2
2
|
import type { BaseStepDef, SelectedStateVarProps } from "../../../sb-trigger.js";
|
|
3
3
|
import type { ExecutionContext } from "../../base.js";
|
|
4
|
+
import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
4
5
|
export interface ResetStateVarStep extends BaseStepDef {
|
|
5
6
|
type: typeof TriggerStepType.RESET_STATE_VAR;
|
|
6
|
-
state
|
|
7
|
+
state?: SelectedStateVarProps;
|
|
7
8
|
}
|
|
8
9
|
export declare const ResetStateVarTrigger: {
|
|
9
10
|
type: "resetStateVar";
|
|
10
|
-
execute(context: ExecutionContext,
|
|
11
|
-
create(
|
|
11
|
+
execute(context: ExecutionContext, _step: ResetStateVarStep): Promise<void>;
|
|
12
|
+
create(stateVar?: WithBindingIdentifier): {
|
|
12
13
|
type: "resetStateVar";
|
|
13
|
-
state:
|
|
14
|
+
state: {
|
|
15
|
+
name: string;
|
|
16
|
+
scopeId: any;
|
|
17
|
+
scope: any;
|
|
18
|
+
} | undefined;
|
|
14
19
|
};
|
|
15
20
|
};
|
|
@@ -2,17 +2,22 @@ import { TriggerStepType } from "@superblocksteam/library-shared/types";
|
|
|
2
2
|
import type { ValueInputProp } from "../../../internal-details/lib/evaluator/base-entity-manager.js";
|
|
3
3
|
import type { BaseStepDef, SelectedStateVarProps } from "../../../sb-trigger.js";
|
|
4
4
|
import type { ExecutionContext } from "../../base.js";
|
|
5
|
+
import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
5
6
|
export interface SetStateVarStep extends BaseStepDef {
|
|
6
7
|
type: typeof TriggerStepType.SET_STATE_VAR;
|
|
7
|
-
state
|
|
8
|
-
value
|
|
8
|
+
state?: SelectedStateVarProps;
|
|
9
|
+
value?: ValueInputProp;
|
|
9
10
|
}
|
|
10
11
|
export declare const SetStateVarTrigger: {
|
|
11
12
|
type: "setStateVar";
|
|
12
|
-
execute(context: ExecutionContext,
|
|
13
|
-
create(
|
|
13
|
+
execute(context: ExecutionContext, _step: SetStateVarStep): Promise<void>;
|
|
14
|
+
create(stateVar?: WithBindingIdentifier, value?: ValueInputProp): {
|
|
14
15
|
type: "setStateVar";
|
|
15
|
-
state:
|
|
16
|
+
state: {
|
|
17
|
+
name: string;
|
|
18
|
+
scopeId: any;
|
|
19
|
+
scope: any;
|
|
20
|
+
} | undefined;
|
|
16
21
|
value: ValueInputProp;
|
|
17
22
|
};
|
|
18
23
|
};
|
|
@@ -115,10 +115,14 @@ declare const EventRegistry: {
|
|
|
115
115
|
};
|
|
116
116
|
readonly setStateVar: {
|
|
117
117
|
type: "setStateVar";
|
|
118
|
-
execute(context: import("./base.js").ExecutionContext,
|
|
119
|
-
create(
|
|
118
|
+
execute(context: import("./base.js").ExecutionContext, _step: import("./implementations/state/set-state-var.js").SetStateVarStep): Promise<void>;
|
|
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
|
-
state:
|
|
121
|
+
state: {
|
|
122
|
+
name: string;
|
|
123
|
+
scopeId: any;
|
|
124
|
+
scope: any;
|
|
125
|
+
} | undefined;
|
|
122
126
|
value: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp;
|
|
123
127
|
};
|
|
124
128
|
};
|
|
@@ -134,10 +138,14 @@ declare const EventRegistry: {
|
|
|
134
138
|
};
|
|
135
139
|
readonly resetStateVar: {
|
|
136
140
|
type: "resetStateVar";
|
|
137
|
-
execute(context: import("./base.js").ExecutionContext,
|
|
138
|
-
create(
|
|
141
|
+
execute(context: import("./base.js").ExecutionContext, _step: import("./implementations/state/reset-state-var.js").ResetStateVarStep): Promise<void>;
|
|
142
|
+
create(stateVar?: import("@superblocksteam/library-shared/types").WithBindingIdentifier): {
|
|
139
143
|
type: "resetStateVar";
|
|
140
|
-
state:
|
|
144
|
+
state: {
|
|
145
|
+
name: string;
|
|
146
|
+
scopeId: any;
|
|
147
|
+
scope: any;
|
|
148
|
+
} | undefined;
|
|
141
149
|
};
|
|
142
150
|
};
|
|
143
151
|
readonly controlTimer: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { WithBindingIdentifier } from "../state/types";
|
|
2
1
|
import type { Dim } from "@superblocksteam/library-shared";
|
|
3
|
-
import type { SbElement, SbInstance } from "@superblocksteam/library-shared/types";
|
|
2
|
+
import type { SbElement, SbInstance, WithBindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
4
3
|
export type SbComponentProps<El = HTMLElement> = {
|
|
5
4
|
name?: string;
|
|
6
5
|
bind?: WithBindingIdentifier;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ScopedState, ValueInputProp } from "../internal-details/lib/evaluator/base-entity-manager.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { SelectedWidgetProps, StepDef } from "../sb-trigger.js";
|
|
3
3
|
import type { TypeOptions } from "../triggers/implementations/show-alert.js";
|
|
4
|
-
import type { ISbEventFlow } from "@superblocksteam/library-shared/types";
|
|
4
|
+
import type { ISbEventFlow, WithBindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
5
5
|
declare class SbEventFlow implements ISbEventFlow<StepDef, ScopedState, ValueInputProp> {
|
|
6
6
|
steps: StepDef[];
|
|
7
7
|
private constructor();
|
|
@@ -35,10 +35,10 @@ declare class SbEventFlow implements ISbEventFlow<StepDef, ScopedState, ValueInp
|
|
|
35
35
|
cancelApis(apis: any[], onCancel?: SbEventFlow): this;
|
|
36
36
|
static resetComponent(widget: SelectedWidgetProps, propertyName: string, resetChildren: boolean): SbEventFlow;
|
|
37
37
|
resetComponent(widget: SelectedWidgetProps, propertyName: string, resetChildren: boolean): this;
|
|
38
|
-
static resetStateVar(state:
|
|
39
|
-
resetStateVar(state:
|
|
40
|
-
static setStateVar(
|
|
41
|
-
setStateVar(
|
|
38
|
+
static resetStateVar(state: WithBindingIdentifier): SbEventFlow;
|
|
39
|
+
resetStateVar(state: WithBindingIdentifier): this;
|
|
40
|
+
static setStateVar(stateVarName: WithBindingIdentifier, value: ValueInputProp): SbEventFlow;
|
|
41
|
+
setStateVar(stateVar: WithBindingIdentifier, value: ValueInputProp): this;
|
|
42
42
|
static setComponentProperty(widget: SelectedWidgetProps, propertyName: string, value: ValueInputProp): SbEventFlow;
|
|
43
43
|
setComponentProperty(widget: SelectedWidgetProps, propertyName: string, value: ValueInputProp): this;
|
|
44
44
|
static showAlert(message: ValueInputProp<string>, alertType: TypeOptions): SbEventFlow;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type BindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
2
2
|
import type { Entity } from "../../internal-details/lib/evaluator/base-entity-manager.js";
|
|
3
|
-
export declare const createBindableEntityProxy: (entityAccessor: () => Entity | undefined, identifier: BindingIdentifier) => {
|
|
3
|
+
export declare const createBindableEntityProxy: (entityAccessor: () => Entity | undefined, identifier: BindingIdentifier) => import("@superblocksteam/library-shared/types").WithBindingIdentifier<{
|
|
4
4
|
entity: Entity | undefined;
|
|
5
|
-
|
|
6
|
-
};
|
|
5
|
+
}>;
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export type BindingIdentifier = {
|
|
3
|
-
entityName: string;
|
|
4
|
-
scopeId: string;
|
|
5
|
-
};
|
|
6
|
-
export type WithBindingIdentifier<T extends Record<string, any> = Record<string, any>> = T & {
|
|
7
|
-
[BindingMetaSymbol]: BindingIdentifier;
|
|
8
|
-
};
|
|
1
|
+
import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
9
2
|
export type SbScopeInstance<_Bindables extends Record<string, any>> = {
|
|
10
3
|
entities: Record<string, WithBindingIdentifier>;
|
|
11
4
|
initialEntities: Record<string, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/library",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-next.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@react-hook/resize-observer": "1.2.6",
|
|
33
33
|
"@superblocksteam/fast-deep-equal": "3.1.4",
|
|
34
34
|
"@superblocksteam/iso-currency": "2.0.0",
|
|
35
|
-
"@superblocksteam/library-shared": "
|
|
35
|
+
"@superblocksteam/library-shared": "2.0.0-next.3",
|
|
36
36
|
"@superblocksteam/shared": "0.9122.0",
|
|
37
37
|
"antd": "4.24.15",
|
|
38
38
|
"apca-w3": "^0.1.9",
|