@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
|
@@ -51,9 +51,9 @@ export declare const propertiesDefinition: {
|
|
|
51
51
|
errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
|
|
52
52
|
}>;
|
|
53
53
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
54
|
-
onOptionChange: Prop<import("../../
|
|
55
|
-
onSearchTextChange: Prop<import("../../
|
|
56
|
-
onClear: Prop<import("../../
|
|
54
|
+
onOptionChange: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
55
|
+
onSearchTextChange: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
56
|
+
onClear: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
57
57
|
}>;
|
|
58
58
|
meta: Section<Record<string, Prop<any, any, undefined>> & {
|
|
59
59
|
metaSelectedOptionValue: Prop<any, true, undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Icon: 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
|
icon: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
4
4
|
}>;
|
|
@@ -19,6 +19,6 @@ export declare const SbIcon: import("react").FC<import("../../properties-panel/p
|
|
|
19
19
|
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
20
20
|
}>;
|
|
21
21
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
22
|
-
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
22
|
+
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
23
23
|
}>;
|
|
24
24
|
}>>;
|
|
@@ -21,6 +21,6 @@ export declare const propertiesDefinition: {
|
|
|
21
21
|
loading: Prop<boolean, true, undefined>;
|
|
22
22
|
}>;
|
|
23
23
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
24
|
-
onClick: Prop<import("../../
|
|
24
|
+
onClick: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
25
25
|
}>;
|
|
26
26
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Image: 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
|
src: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
4
4
|
}>;
|
|
@@ -28,6 +28,6 @@ export declare const SbImage: import("react").FC<import("../../properties-panel/
|
|
|
28
28
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
29
29
|
}>;
|
|
30
30
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
31
|
-
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
31
|
+
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
32
32
|
}>;
|
|
33
33
|
}>>;
|
|
@@ -38,6 +38,6 @@ export declare const propertiesDefinition: {
|
|
|
38
38
|
isVisible: Prop<boolean, true, undefined>;
|
|
39
39
|
}>;
|
|
40
40
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
41
|
-
onClick: Prop<import("../../
|
|
41
|
+
onClick: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
42
42
|
}>;
|
|
43
43
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Input: 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
|
} & (Omit<{
|
|
@@ -76,10 +76,10 @@ export declare const SbInput: import("react").FC<import("../../properties-panel/
|
|
|
76
76
|
isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
77
77
|
}>;
|
|
78
78
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
79
|
-
onTextChanged: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
80
|
-
onSubmit: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
81
|
-
onFocus: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
82
|
-
onFocusOut: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
79
|
+
onTextChanged: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
80
|
+
onSubmit: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
81
|
+
onFocus: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
82
|
+
onFocusOut: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
83
83
|
}>;
|
|
84
84
|
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
85
85
|
text: import("../../properties-panel/props-builder.js").Prop<string | undefined, false, undefined>;
|
|
@@ -80,10 +80,10 @@ export declare const propertiesDefinition: {
|
|
|
80
80
|
isRequired: Prop<boolean, true, undefined>;
|
|
81
81
|
}>;
|
|
82
82
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
83
|
-
onTextChanged: Prop<import("../../
|
|
84
|
-
onSubmit: Prop<import("../../
|
|
85
|
-
onFocus: Prop<import("../../
|
|
86
|
-
onFocusOut: Prop<import("../../
|
|
83
|
+
onTextChanged: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
84
|
+
onSubmit: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
85
|
+
onFocus: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
86
|
+
onFocusOut: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
87
87
|
}>;
|
|
88
88
|
meta: Section<Record<string, Prop<any, any, undefined>> & {
|
|
89
89
|
text: Prop<string | undefined, false, undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dim } from "@superblocksteam/library-shared";
|
|
2
2
|
import type { ContainerLayout } from "../../component-base/constants.js";
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const Modal: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
4
4
|
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & ((Omit<{
|
|
5
5
|
layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true, undefined>;
|
|
6
6
|
}, "layout" | "verticalAlign" | "horizontalAlign"> & {
|
|
@@ -32,8 +32,8 @@ export declare const SbModal: import("react").FC<import("../../properties-panel/
|
|
|
32
32
|
closeOnClickOutside: import("../../properties-panel/props-builder.js").Prop<boolean, 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
|
-
onOpen: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
36
|
-
onClose: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
35
|
+
onOpen: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
36
|
+
onClose: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
37
37
|
}>;
|
|
38
38
|
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
39
39
|
isOpen: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
@@ -33,8 +33,8 @@ export declare const propertiesDefinition: {
|
|
|
33
33
|
closeOnClickOutside: Prop<boolean, true, undefined>;
|
|
34
34
|
}>;
|
|
35
35
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
36
|
-
onOpen: Prop<import("../../
|
|
37
|
-
onClose: Prop<import("../../
|
|
36
|
+
onOpen: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
37
|
+
onClose: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
38
38
|
}>;
|
|
39
39
|
meta: Section<Record<string, Prop<any, any, undefined>> & {
|
|
40
40
|
isOpen: Prop<boolean, true, undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Page: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
2
|
contents: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
3
3
|
columns: import("../../properties-panel/props-builder.js").Prop<string[], false, undefined>;
|
|
4
4
|
}>;
|
|
@@ -14,6 +14,6 @@ export declare const SbPage: import("react").FC<import("../../properties-panel/p
|
|
|
14
14
|
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
15
15
|
}>;
|
|
16
16
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
17
|
-
onLoad: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
17
|
+
onLoad: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
18
18
|
}>;
|
|
19
19
|
}>>;
|
|
@@ -16,6 +16,6 @@ export declare const propertiesDefinition: {
|
|
|
16
16
|
loading: Prop<boolean, true, undefined>;
|
|
17
17
|
}>;
|
|
18
18
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
19
|
-
onLoad: Prop<import("../../
|
|
19
|
+
onLoad: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
20
20
|
}>;
|
|
21
21
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare function registerPage<T>(Component: React.FC<T>, scope:
|
|
1
|
+
import type { ScopeInstance } from "../../state/types.js";
|
|
2
|
+
export declare function registerPage<T>(Component: React.FC<T>, scope: ScopeInstance<any>): import("react").FC<import("react").JSX.IntrinsicAttributes & T>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Section: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
2
|
contents: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
3
3
|
columns: import("../../properties-panel/props-builder.js").Prop<string[], false, undefined>;
|
|
4
4
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dim } from "@superblocksteam/library-shared";
|
|
2
2
|
import type { ContainerLayout } from "../../component-base/constants.js";
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const Slideout: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
4
4
|
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & ((Omit<{
|
|
5
5
|
layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true, undefined>;
|
|
6
6
|
}, "layout" | "verticalAlign" | "horizontalAlign"> & {
|
|
@@ -32,8 +32,8 @@ export declare const SbSlideout: import("react").FC<import("../../properties-pan
|
|
|
32
32
|
closeOnClickOutside: import("../../properties-panel/props-builder.js").Prop<boolean, 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
|
-
onOpen: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
36
|
-
onClose: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
35
|
+
onOpen: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
36
|
+
onClose: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
37
37
|
}>;
|
|
38
38
|
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
39
39
|
isOpen: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
@@ -34,8 +34,8 @@ export declare const propertiesDefinition: {
|
|
|
34
34
|
closeOnClickOutside: Prop<boolean, true, undefined>;
|
|
35
35
|
}>;
|
|
36
36
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
37
|
-
onOpen: Prop<import("../../
|
|
38
|
-
onClose: Prop<import("../../
|
|
37
|
+
onOpen: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
38
|
+
onClose: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
39
39
|
}>;
|
|
40
40
|
meta: Section<Record<string, Prop<any, any, undefined>> & {
|
|
41
41
|
isOpen: Prop<boolean, true, undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Switch: 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>;
|
|
@@ -33,7 +33,7 @@ export declare const SbSwitch: import("react").FC<import("../../properties-panel
|
|
|
33
33
|
errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
|
|
34
34
|
}>;
|
|
35
35
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
36
|
-
onSwitchChange: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
36
|
+
onSwitchChange: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
37
37
|
}>;
|
|
38
38
|
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
39
39
|
isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
@@ -34,7 +34,7 @@ export declare const propertiesDefinition: {
|
|
|
34
34
|
errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
|
|
35
35
|
}>;
|
|
36
36
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
37
|
-
onSwitchChange: Prop<import("../../
|
|
37
|
+
onSwitchChange: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
38
38
|
}>;
|
|
39
39
|
meta: Section<Record<string, Prop<any, any, undefined>> & {
|
|
40
40
|
isTouched: Prop<boolean, true, undefined>;
|
|
@@ -273,6 +273,6 @@ export declare const columnPanelConfig: {
|
|
|
273
273
|
columnType: Prop<ColumnType, false, undefined>;
|
|
274
274
|
}, "onClick" | "columnType"> & {
|
|
275
275
|
columnType: Prop<"button", true, undefined>;
|
|
276
|
-
onClick: Prop<import("../../
|
|
276
|
+
onClick: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
277
277
|
}>;
|
|
278
278
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Table: 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
|
header: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
4
4
|
tableData: import("../../properties-panel/props-builder.js").Prop<import("./types.js").UnknownRow[], false, undefined>;
|
|
@@ -273,7 +273,7 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
273
273
|
columnType: import("../../properties-panel/props-builder.js").Prop<import("./types.js").ColumnType, false, undefined>;
|
|
274
274
|
}, "onClick" | "columnType"> & {
|
|
275
275
|
columnType: import("../../properties-panel/props-builder.js").Prop<"button", true, undefined>;
|
|
276
|
-
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
276
|
+
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
277
277
|
}>;
|
|
278
278
|
}>;
|
|
279
279
|
}>;
|
|
@@ -330,11 +330,11 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
330
330
|
"searchProps.borderRadius": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
|
|
331
331
|
}>;
|
|
332
332
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
333
|
-
onRowClick: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
334
|
-
onRowSelect: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
335
|
-
onPageChange: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
336
|
-
onFiltersChange: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
337
|
-
onSearchTextChange: import("../../properties-panel/props-builder.js").Prop<import("../../
|
|
333
|
+
onRowClick: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
334
|
+
onRowSelect: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
335
|
+
onPageChange: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
336
|
+
onFiltersChange: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
337
|
+
onSearchTextChange: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
338
338
|
}>;
|
|
339
339
|
derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
340
340
|
tableDataWithInserts: import("../../properties-panel/props-builder.js").Prop<any[], true, undefined>;
|
|
@@ -276,7 +276,7 @@ export declare const propertiesDefinition: {
|
|
|
276
276
|
columnType: Prop<import("./types.js").ColumnType, false, undefined>;
|
|
277
277
|
}, "onClick" | "columnType"> & {
|
|
278
278
|
columnType: Prop<"button", true, undefined>;
|
|
279
|
-
onClick: Prop<import("../../
|
|
279
|
+
onClick: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
280
280
|
}>;
|
|
281
281
|
}>;
|
|
282
282
|
}>;
|
|
@@ -333,11 +333,11 @@ export declare const propertiesDefinition: {
|
|
|
333
333
|
"searchProps.borderRadius": Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
|
|
334
334
|
}>;
|
|
335
335
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
336
|
-
onRowClick: Prop<import("../../
|
|
337
|
-
onRowSelect: Prop<import("../../
|
|
338
|
-
onPageChange: Prop<import("../../
|
|
339
|
-
onFiltersChange: Prop<import("../../
|
|
340
|
-
onSearchTextChange: Prop<import("../../
|
|
336
|
+
onRowClick: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
337
|
+
onRowSelect: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
338
|
+
onPageChange: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
339
|
+
onFiltersChange: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
340
|
+
onSearchTextChange: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
341
341
|
}>;
|
|
342
342
|
derived: Section<Record<string, Prop<any, any, undefined>> & {
|
|
343
343
|
tableDataWithInserts: Prop<any[], true, undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Text: 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
|
text: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
4
4
|
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", true, undefined>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { sbEntitySymbol } from "@superblocksteam/library-shared/types";
|
|
2
|
-
import type {
|
|
2
|
+
import type { EventFlow } from "../../../index.js";
|
|
3
3
|
import type { RawPropsToExternal } from "../../properties-panel/props-builder.js";
|
|
4
4
|
type Props = {
|
|
5
|
-
onSuccess?:
|
|
6
|
-
onError?:
|
|
5
|
+
onSuccess?: EventFlow;
|
|
6
|
+
onError?: EventFlow;
|
|
7
7
|
};
|
|
8
8
|
export declare const SbApi: (args: RawPropsToExternal<Props>) => {
|
|
9
9
|
[sbEntitySymbol]: true;
|
|
10
10
|
type: "SbApi";
|
|
11
|
-
onSuccess: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<
|
|
12
|
-
onError: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<
|
|
11
|
+
onSuccess: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<EventFlow> | undefined;
|
|
12
|
+
onError: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<EventFlow> | undefined;
|
|
13
13
|
} & import("@superblocksteam/library-shared/types").AnonymousSbEntity;
|
|
14
14
|
export {};
|
|
@@ -7,8 +7,8 @@ export type ApiEntity = Omit<InternalProps<typeof propertiesDefinition>, "_suspe
|
|
|
7
7
|
};
|
|
8
8
|
export declare const propertiesDefinition: {
|
|
9
9
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
10
|
-
onSuccess: Prop<import("../../
|
|
11
|
-
onError: Prop<import("../../
|
|
10
|
+
onSuccess: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
11
|
+
onError: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
12
12
|
}>;
|
|
13
13
|
metadata: Section<Record<string, Prop<any, any, undefined>> & {
|
|
14
14
|
response: Prop<any, true, undefined>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { sbEntitySymbol } from "@superblocksteam/library-shared/types";
|
|
2
|
-
import type {
|
|
2
|
+
import type { EventFlow } from "../../../index.js";
|
|
3
3
|
import type { RawPropsToExternal } from "../../properties-panel/props-builder.js";
|
|
4
4
|
type Props = {
|
|
5
5
|
intervalMs?: number;
|
|
6
6
|
startOnPageLoad?: boolean;
|
|
7
|
-
onFire?:
|
|
7
|
+
onFire?: EventFlow;
|
|
8
8
|
};
|
|
9
9
|
export declare const SbTimer: (args: RawPropsToExternal<Props>) => {
|
|
10
10
|
[sbEntitySymbol]: true;
|
|
11
11
|
type: "SbTimer";
|
|
12
12
|
intervalMs: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<number> | undefined;
|
|
13
13
|
startOnPageLoad: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<boolean> | undefined;
|
|
14
|
-
onFire: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<
|
|
14
|
+
onFire: import("../../../internal-details/lib/evaluator/base-entity-manager.js").SingleInputProp<EventFlow> | undefined;
|
|
15
15
|
} & import("@superblocksteam/library-shared/types").AnonymousSbEntity;
|
|
16
16
|
export {};
|
|
@@ -5,7 +5,7 @@ export declare const propertiesDefinition: {
|
|
|
5
5
|
startOnPageLoad: Prop<boolean, false, undefined>;
|
|
6
6
|
}>;
|
|
7
7
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
8
|
-
onFire: Prop<import("../../
|
|
8
|
+
onFire: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
9
9
|
}>;
|
|
10
10
|
metadata: Section<Record<string, Prop<any, any, undefined>> & {
|
|
11
11
|
timerId: Prop<string, false, undefined>;
|
|
@@ -1,52 +1,61 @@
|
|
|
1
|
-
import type { StepDef,
|
|
2
|
-
|
|
3
|
-
declare class SbEventFlow implements ISbEventFlow<StepDef, ScopedState, ValueInputProp> {
|
|
1
|
+
import type { StepDef, ValueInputProp, NotificationPosition, NotificationType, IEventFlow, WithBindingIdentifier, ScopedState } from "@superblocksteam/library-shared/types";
|
|
2
|
+
declare class EventFlow implements IEventFlow<StepDef, ScopedState, ValueInputProp> {
|
|
4
3
|
steps: StepDef[];
|
|
5
4
|
private constructor();
|
|
6
5
|
private addStep;
|
|
7
|
-
static start():
|
|
8
|
-
static runJS(handler: (s: ScopedState | any, additionalProps?: Record<string, any>) => void):
|
|
6
|
+
static start(): EventFlow;
|
|
7
|
+
static runJS(handler: (s: ScopedState | any, additionalProps?: Record<string, any>) => void): EventFlow;
|
|
9
8
|
runJS(handler: (s: ScopedState | any, additionalProps?: Record<string, any>) => void): this;
|
|
10
9
|
static navigateTo(props: {
|
|
11
10
|
url: string;
|
|
12
11
|
newWindow?: boolean;
|
|
13
|
-
}):
|
|
12
|
+
}): EventFlow;
|
|
14
13
|
navigateTo(props: {
|
|
15
14
|
url: string;
|
|
16
15
|
newWindow?: boolean;
|
|
17
16
|
}): this;
|
|
18
|
-
static navigateToApp(appId: string):
|
|
17
|
+
static navigateToApp(appId: string): EventFlow;
|
|
19
18
|
navigateToApp(appId: string): this;
|
|
20
|
-
static navigateToRoute(route: string):
|
|
19
|
+
static navigateToRoute(route: string): EventFlow;
|
|
21
20
|
navigateToRoute(route: string): this;
|
|
22
|
-
static setQueryParams(params: Record<string, ValueInputProp<string>>, keepQueryParams?: boolean):
|
|
21
|
+
static setQueryParams(params: Record<string, ValueInputProp<string>>, keepQueryParams?: boolean): EventFlow;
|
|
23
22
|
setQueryParams(params: Record<string, ValueInputProp<string>>, keepQueryParams?: boolean): this;
|
|
24
|
-
static controlSlideout(slideout: WithBindingIdentifier, action: "open" | "close"):
|
|
23
|
+
static controlSlideout(slideout: WithBindingIdentifier, action: "open" | "close"): EventFlow;
|
|
25
24
|
controlSlideout(slideout: WithBindingIdentifier, action: "open" | "close"): this;
|
|
26
|
-
static controlModal(modal: WithBindingIdentifier, action: "open" | "close"):
|
|
25
|
+
static controlModal(modal: WithBindingIdentifier, action: "open" | "close"): EventFlow;
|
|
27
26
|
controlModal(modal: WithBindingIdentifier, action: "open" | "close"): this;
|
|
28
|
-
static controlTimer(stateTimer: WithBindingIdentifier, action: "start" | "stop" | "toggle"):
|
|
27
|
+
static controlTimer(stateTimer: WithBindingIdentifier, action: "start" | "stop" | "toggle"): EventFlow;
|
|
29
28
|
controlTimer(stateTimer: WithBindingIdentifier, action: "start" | "stop" | "toggle"): this;
|
|
30
|
-
static runApis(apis: any[], onSuccess?:
|
|
31
|
-
runApis(apis: any[], onSuccess?:
|
|
32
|
-
static cancelApis(apis: any[], onCancel?:
|
|
33
|
-
cancelApis(apis: any[], onCancel?:
|
|
34
|
-
static resetComponent(
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
static runApis(apis: any[], onSuccess?: EventFlow, onError?: EventFlow): EventFlow;
|
|
30
|
+
runApis(apis: any[], onSuccess?: EventFlow, onError?: EventFlow): this;
|
|
31
|
+
static cancelApis(apis: any[], onCancel?: EventFlow): EventFlow;
|
|
32
|
+
cancelApis(apis: any[], onCancel?: EventFlow): this;
|
|
33
|
+
static resetComponent(component: WithBindingIdentifier, opts?: {
|
|
34
|
+
property: string;
|
|
35
|
+
}): EventFlow;
|
|
36
|
+
resetComponent(component: WithBindingIdentifier, opts?: {
|
|
37
|
+
property: string;
|
|
38
|
+
}): this;
|
|
39
|
+
static resetStateVar(state: WithBindingIdentifier): EventFlow;
|
|
37
40
|
resetStateVar(state: WithBindingIdentifier): this;
|
|
38
|
-
static setStateVar(stateVarName: WithBindingIdentifier, value: ValueInputProp):
|
|
41
|
+
static setStateVar(stateVarName: WithBindingIdentifier, value: ValueInputProp): EventFlow;
|
|
39
42
|
setStateVar(stateVar: WithBindingIdentifier, value: ValueInputProp): this;
|
|
40
|
-
static setComponentProperty(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
static setComponentProperty(component: WithBindingIdentifier, opts: {
|
|
44
|
+
property: string;
|
|
45
|
+
value: ValueInputProp;
|
|
46
|
+
}): EventFlow;
|
|
47
|
+
setComponentProperty(component: WithBindingIdentifier, opts: {
|
|
48
|
+
property: string;
|
|
49
|
+
value: ValueInputProp;
|
|
50
|
+
}): this;
|
|
51
|
+
static showAlert(message: ValueInputProp<string>, alertType: NotificationType, alertDuration?: number, alertPosition?: NotificationPosition): EventFlow;
|
|
43
52
|
showAlert(message: ValueInputProp<string>, alertType: NotificationType, alertDuration?: number, alertPosition?: NotificationPosition): this;
|
|
44
|
-
static setProfile(profileId: string, profileAction: "set" | "unset"):
|
|
53
|
+
static setProfile(profileId: string, profileAction: "set" | "unset"): EventFlow;
|
|
45
54
|
setProfile(profileId: string, profileAction: "set" | "unset"): this;
|
|
46
|
-
static triggerEvent(eventName: string, eventData: Record<string, string>):
|
|
55
|
+
static triggerEvent(eventName: string, eventData: Record<string, string>): EventFlow;
|
|
47
56
|
triggerEvent(eventName: string, eventData: Record<string, string>): this;
|
|
48
|
-
static sequence(eventFlows:
|
|
49
|
-
sequence(eventFlows:
|
|
57
|
+
static sequence(eventFlows: EventFlow[]): EventFlow;
|
|
58
|
+
sequence(eventFlows: EventFlow[]): this;
|
|
50
59
|
build(): StepDef[];
|
|
51
60
|
}
|
|
52
|
-
export {
|
|
61
|
+
export { EventFlow };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { registerComponent } from "../internal-details/sb-wrapper.jsx";
|
|
2
2
|
export { useActions } from "../internal-details/actions-context.jsx";
|
|
3
3
|
export type { Entity } from "@superblocksteam/library-shared/types";
|
|
4
4
|
export { useScope } from "../internal-details/scope/scope-context.jsx";
|
|
@@ -4,11 +4,11 @@ import type { SbComponentProps } from "./../component-base/sb-component.js";
|
|
|
4
4
|
import type { ValidateFn, ValidationResult } from "./validators.js";
|
|
5
5
|
import type { RuntimeWidgetMeta } from "../../../edit-mode/features/runtime-widgets-manager.js";
|
|
6
6
|
import type { InputProp, SingleInputProp, EntityFunction } from "../../internal-details/lib/evaluator/base-entity-manager.js";
|
|
7
|
-
import type {
|
|
7
|
+
import type { EventFlow } from "../event-flow.js";
|
|
8
8
|
import type { Dim, DimModes, EvaluateOrValueComputedArgs } from "@superblocksteam/library-shared";
|
|
9
9
|
import type { HeaderType } from "@superblocksteam/library-shared/props";
|
|
10
10
|
import type { Entity, PropertyInfo, SbElement, ScopedState } from "@superblocksteam/library-shared/types";
|
|
11
|
-
export type
|
|
11
|
+
export type CustomComponentRenderFunction = (props: any, state: any) => React.ReactNode;
|
|
12
12
|
export type SideEffectCallback = (params: {
|
|
13
13
|
sourceId: SbElement;
|
|
14
14
|
updates: Record<string, PropertyInfo<unknown>>;
|
|
@@ -70,7 +70,7 @@ type DefaultValueBehavior = "RequiredIfDefault" | "AlwaysOptional";
|
|
|
70
70
|
*/
|
|
71
71
|
type ExtractPropType<T, DefaultsBehavior extends DefaultValueBehavior, IsEvaluated extends boolean> = T extends Record<string, Prop<any, any, any>> ? ExtractProps<T, DefaultsBehavior, IsEvaluated> : T extends RecordProp<infer U> ? Record<string, ExtractProps<U, DefaultsBehavior, IsEvaluated>> : T extends CompositeProp<infer U> ? ExtractProps<U, DefaultsBehavior, IsEvaluated> : T extends UnionProp<infer SHARED, infer VARIANTS> ? VARIANTS extends readonly any[] ? {
|
|
72
72
|
[I in keyof VARIANTS]: ExtractProps<MergeUnionVariant<SHARED, VARIANTS[I]>, DefaultsBehavior, IsEvaluated>;
|
|
73
|
-
}[number] : never : T extends Prop<infer V, infer _HasDefault, infer ContextualProps> ? IsEvaluated extends true ? ContextualProps extends undefined ? V extends
|
|
73
|
+
}[number] : never : T extends Prop<infer V, infer _HasDefault, infer ContextualProps> ? IsEvaluated extends true ? ContextualProps extends undefined ? V extends EventFlow ? (...args: any[]) => Promise<void> : V : (context: ContextualProps) => V : ContextualProps extends any[] ? InputProp<V, ContextualProps> : InputProp<V> : never;
|
|
74
74
|
/**
|
|
75
75
|
* Extracts a flat props object from a properties definition
|
|
76
76
|
* Handles optionality based on DefaultValueBehavior
|
|
@@ -160,7 +160,7 @@ declare class Prop<Type extends DataType, _HasDefault extends boolean = false, _
|
|
|
160
160
|
static any<T = any>(): Prop<T>;
|
|
161
161
|
static dimension<T extends Dim<DimModes>>(): Prop<T>;
|
|
162
162
|
static literal<T extends Readonly<string | number | boolean>>(value: T): Prop<T, true>;
|
|
163
|
-
static event(): Prop<
|
|
163
|
+
static event(): Prop<EventFlow>;
|
|
164
164
|
static function<ARGS extends any[] = any[], RETURN = any>(implementation: EntityFunction<ARGS, RETURN>): Prop<EntityFunction<ARGS, RETURN>, true>;
|
|
165
165
|
/**
|
|
166
166
|
* Creates an internal property that is not exposed in the entity's public interface,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ScopeInstance } from "./types.js";
|
|
2
2
|
type ScopeOptions = {
|
|
3
3
|
parentScopeId?: string;
|
|
4
4
|
name: string;
|
|
@@ -9,9 +9,9 @@ type InternalScopeOptions = ScopeOptions & {
|
|
|
9
9
|
export declare function internalCreateScope<_Bindables extends Record<string, any>, SO extends InternalScopeOptions = InternalScopeOptions>(getInitialEntities: ({ entities, }: {
|
|
10
10
|
entities: Record<string, any>;
|
|
11
11
|
}) => Record<string, any>, // TODO later, like variables, apis
|
|
12
|
-
options: SO):
|
|
13
|
-
export declare function
|
|
12
|
+
options: SO): ScopeInstance<Record<string, any>>;
|
|
13
|
+
export declare function createScope<_Bindables extends Record<string, any>, SO extends ScopeOptions = ScopeOptions>(getInitialEntities: ({ entities, }: {
|
|
14
14
|
entities: Record<string, any>;
|
|
15
15
|
}) => Record<string, any>, // TODO later, like variables, apis
|
|
16
|
-
options: SO):
|
|
16
|
+
options: SO): ScopeInstance<_Bindables>;
|
|
17
17
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
|
|
2
|
-
export type
|
|
2
|
+
export type ScopeInstance<_Bindables extends Record<string, any>> = {
|
|
3
3
|
entities: Record<string, WithBindingIdentifier>;
|
|
4
4
|
initialEntities: Record<string, any>;
|
|
5
5
|
scopeInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/library",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8-next.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@react-hook/resize-observer": "1.2.6",
|
|
34
34
|
"@superblocksteam/fast-deep-equal": "3.1.4",
|
|
35
35
|
"@superblocksteam/iso-currency": "2.0.0",
|
|
36
|
-
"@superblocksteam/library-shared": "2.0.
|
|
36
|
+
"@superblocksteam/library-shared": "2.0.8-next.1",
|
|
37
37
|
"@superblocksteam/shared": "0.9160.0",
|
|
38
38
|
"antd": "4.24.15",
|
|
39
39
|
"apca-w3": "^0.1.9",
|