@superblocksteam/library 2.0.6-next.114 → 2.0.6-next.13

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.
Files changed (141) hide show
  1. package/dist/{allPaths-B1MsvDDf.js → allPaths-BbwLOFSN.js} +2 -2
  2. package/dist/{allPaths-B1MsvDDf.js.map → allPaths-BbwLOFSN.js.map} +1 -1
  3. package/dist/{allPaths-WRYxU7UZ.js → allPaths-YpR_xtpv.js} +2 -2
  4. package/dist/{allPaths-WRYxU7UZ.js.map → allPaths-YpR_xtpv.js.map} +1 -1
  5. package/dist/{allPathsLoader-jAElVH-z.js → allPathsLoader-CTr7XzYS.js} +3 -3
  6. package/dist/{allPathsLoader-BHVTIYt4.js.map → allPathsLoader-CTr7XzYS.js.map} +1 -1
  7. package/dist/{allPathsLoader-BHVTIYt4.js → allPathsLoader-DjBKQsij.js} +3 -3
  8. package/dist/{allPathsLoader-jAElVH-z.js.map → allPathsLoader-DjBKQsij.js.map} +1 -1
  9. package/dist/{devtools-consolidated-CKofLggZ.js → devtools-consolidated-B2GVETCf.js} +2 -2
  10. package/dist/{devtools-consolidated-CKofLggZ.js.map → devtools-consolidated-B2GVETCf.js.map} +1 -1
  11. package/dist/{icons-lSlfQ50w.js → icons-NrNO8p_u.js} +14 -10
  12. package/dist/icons-NrNO8p_u.js.map +1 -0
  13. package/dist/{index-bTBSm8qa.js → index-snr_jI8a.js} +22459 -24458
  14. package/dist/{index-bTBSm8qa.js.map → index-snr_jI8a.js.map} +1 -1
  15. package/dist/index.js +149 -150
  16. package/dist/{splitPathsBySizeLoader-CyYanZaN.js → splitPathsBySizeLoader-Blv6tUe4.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-CyYanZaN.js.map → splitPathsBySizeLoader-Blv6tUe4.js.map} +1 -1
  18. package/dist/{splitPathsBySizeLoader-Dn3N8sjZ.js → splitPathsBySizeLoader-DbNFtg9G.js} +2 -2
  19. package/dist/{splitPathsBySizeLoader-Dn3N8sjZ.js.map → splitPathsBySizeLoader-DbNFtg9G.js.map} +1 -1
  20. package/dist-types/edit-mode/create-component.d.ts +1 -1
  21. package/dist-types/edit-mode/dnd/utils.d.ts +0 -4
  22. package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +22 -22
  23. package/dist-types/edit-mode/features/ui-store.d.ts +1 -1
  24. package/dist-types/edit-mode/iframe-wrappers.d.ts +0 -1
  25. package/dist-types/edit-mode/source-update-api.d.ts +0 -5
  26. package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +1 -7
  27. package/dist-types/lib/index.d.ts +0 -1
  28. package/dist-types/lib/internal-details/actions-context.d.ts +1 -1
  29. package/dist-types/lib/internal-details/entities-state.d.ts +1 -2
  30. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +27 -17
  31. package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.d.ts +1 -1
  32. package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +2 -3
  33. package/dist-types/lib/internal-details/lib/evaluator/create-global-object.d.ts +1 -1
  34. package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +2 -3
  35. package/dist-types/lib/internal-details/lib/evaluator/deep-observe.d.ts +2 -1
  36. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +7 -9
  37. package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +1 -2
  38. package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +2 -2
  39. package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +1 -2
  40. package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -1
  41. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -14
  42. package/dist-types/lib/internal-details/lib/root-store.d.ts +0 -2
  43. package/dist-types/lib/internal-details/lib/types.d.ts +1 -34
  44. package/dist-types/lib/internal-details/scope/global.d.ts +1 -1
  45. package/dist-types/lib/internal-details/scope/types.d.ts +2 -2
  46. package/dist-types/lib/sb-trigger.d.ts +48 -0
  47. package/dist-types/lib/triggers/base.d.ts +2 -1
  48. package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +8 -1
  49. package/dist-types/lib/triggers/implementations/apis/run-apis.d.ts +21 -3
  50. package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +9 -3
  51. package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +10 -5
  52. package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +13 -9
  53. package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +11 -9
  54. package/dist-types/lib/triggers/implementations/navigate/navigate-to-app.d.ts +13 -1
  55. package/dist-types/lib/triggers/implementations/navigate/navigate-to-route.d.ts +12 -1
  56. package/dist-types/lib/triggers/implementations/navigate/navigate-to.d.ts +9 -1
  57. package/dist-types/lib/triggers/implementations/navigate/set-query-params.d.ts +8 -2
  58. package/dist-types/lib/triggers/implementations/run-js.d.ts +8 -1
  59. package/dist-types/lib/triggers/implementations/set-profile.d.ts +7 -2
  60. package/dist-types/lib/triggers/implementations/show-alert.d.ts +12 -3
  61. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +9 -3
  62. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +11 -4
  63. package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +9 -3
  64. package/dist-types/lib/triggers/implementations/trigger-event.d.ts +7 -1
  65. package/dist-types/lib/triggers/registry.d.ts +175 -4
  66. package/dist-types/lib/triggers/run-event-handlers.d.ts +2 -2
  67. package/dist-types/lib/user-facing/component-base/sb-component.d.ts +1 -5
  68. package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
  69. package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
  70. package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
  71. package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
  72. package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
  73. package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
  74. package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
  75. package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
  76. package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +11 -14
  77. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
  78. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
  79. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
  80. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
  81. package/dist-types/lib/user-facing/components/dropdown/types.d.ts +2 -1
  82. package/dist-types/lib/user-facing/components/grid/index.d.ts +13 -13
  83. package/dist-types/lib/user-facing/components/icon/index.d.ts +13 -11
  84. package/dist-types/lib/user-facing/components/icon/props.d.ts +13 -11
  85. package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
  86. package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
  87. package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
  88. package/dist-types/lib/user-facing/components/input/input-component.d.ts +0 -1
  89. package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
  90. package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
  91. package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
  92. package/dist-types/lib/user-facing/components/modal/index.d.ts +31 -27
  93. package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
  94. package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
  95. package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
  96. package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
  97. package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
  98. package/dist-types/lib/user-facing/components/slideout/index.d.ts +1 -41
  99. package/dist-types/lib/user-facing/components/slideout/props.d.ts +19 -39
  100. package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
  101. package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
  102. package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
  103. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +161 -262
  104. package/dist-types/lib/user-facing/components/table/index.d.ts +205 -305
  105. package/dist-types/lib/user-facing/components/table/props.d.ts +205 -305
  106. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +4 -4
  107. package/dist-types/lib/user-facing/components/table/table-widget.d.ts +4 -5
  108. package/dist-types/lib/user-facing/components/table/types.d.ts +31 -33
  109. package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
  110. package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
  111. package/dist-types/lib/user-facing/constants.d.ts +1 -1
  112. package/dist-types/lib/user-facing/entities/api/props.d.ts +11 -20
  113. package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
  114. package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
  115. package/dist-types/lib/user-facing/global-functions.d.ts +1 -2
  116. package/dist-types/lib/user-facing/internal-index.d.ts +1 -1
  117. package/dist-types/lib/user-facing/layers.d.ts +2 -1
  118. package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +0 -4
  119. package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +12 -12
  120. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
  121. package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
  122. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +46 -46
  123. package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
  124. package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +2 -1
  125. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +12 -31
  126. package/dist-types/lib/user-facing/properties-panel/validators.d.ts +1 -1
  127. package/dist-types/lib/user-facing/sb-event-flow.d.ts +12 -19
  128. package/dist-types/lib/user-facing/sb-provider.d.ts +2 -1
  129. package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +2 -1
  130. package/dist-types/lib/user-facing/utils/notification.d.ts +2 -1
  131. package/package.json +3 -4
  132. package/dist/icons-lSlfQ50w.js.map +0 -1
  133. package/dist-types/internal-testing/components/slideout.d.ts +0 -3
  134. package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +0 -6
  135. package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +0 -8
  136. package/dist-types/lib/internal-details/location-store.d.ts +0 -18
  137. package/dist-types/lib/user-facing/build-manifest.d.ts +0 -2
  138. package/dist-types/lib/user-facing/components/slideout/constants.d.ts +0 -10
  139. package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +0 -31
  140. package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +0 -20
  141. package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +0 -14
@@ -1,12 +1,19 @@
1
+ import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
+ import type { ValueInputProp } from "../../../internal-details/lib/evaluator/base-entity-manager.js";
3
+ import type { BaseStepDef } from "../../../sb-trigger.js";
1
4
  import type { ExecutionContext } from "../../base.js";
2
- import type { ValueInputProp } from "@superblocksteam/library-shared/types";
3
- import type { SetStateVarStep, WithBindingIdentifier } from "@superblocksteam/library-shared/types";
5
+ import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
6
+ export interface SetStateVarStep extends BaseStepDef {
7
+ type: typeof TriggerStepType.SET_STATE_VAR;
8
+ state?: WithBindingIdentifier;
9
+ value?: ValueInputProp;
10
+ }
4
11
  export declare const SetStateVarTrigger: {
5
12
  type: "setStateVar";
6
13
  execute(context: ExecutionContext, step: SetStateVarStep): Promise<void>;
7
- create(variable?: WithBindingIdentifier, value?: ValueInputProp): {
14
+ create(stateVar?: WithBindingIdentifier, value?: ValueInputProp): {
8
15
  type: "setStateVar";
9
- variable: WithBindingIdentifier | undefined;
16
+ state: WithBindingIdentifier | undefined;
10
17
  value: ValueInputProp;
11
18
  };
12
19
  };
@@ -1,11 +1,17 @@
1
+ import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
+ import type { BaseStepDef } from "../../../sb-trigger.js";
1
3
  import type { ExecutionContext } from "../../base.js";
2
- import type { ControlTimerStep, WithBindingIdentifier } from "@superblocksteam/library-shared/types";
4
+ export interface ControlTimerStep extends BaseStepDef {
5
+ type: typeof TriggerStepType.CONTROL_TIMER;
6
+ timerId: string;
7
+ action: "start" | "stop" | "toggle";
8
+ }
3
9
  export declare const ControlTimerTrigger: {
4
10
  type: "controlTimer";
5
11
  execute(_context: ExecutionContext, step: ControlTimerStep): Promise<void>;
6
- create(timer: WithBindingIdentifier, action: "start" | "stop" | "toggle"): {
12
+ create(timerId: string, action: "start" | "stop" | "toggle"): {
7
13
  type: "controlTimer";
8
- timer: WithBindingIdentifier;
14
+ timerId: string;
9
15
  action: "toggle" | "stop" | "start";
10
16
  };
11
17
  };
@@ -1,5 +1,11 @@
1
+ import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
+ import type { BaseStepDef, SelectedEventProps } from "../../sb-trigger.js";
1
3
  import type { ExecutionContext } from "../base.js";
2
- import type { SelectedEventProps, TriggerEventStep } from "@superblocksteam/library-shared/types";
4
+ export interface TriggerEventStep extends BaseStepDef {
5
+ type: typeof TriggerStepType.TRIGGER_EVENT;
6
+ event: SelectedEventProps;
7
+ eventPayload: Record<string, string>;
8
+ }
3
9
  export declare const TriggerEventTrigger: {
4
10
  type: "triggerEvent";
5
11
  execute(_context: ExecutionContext, step: TriggerEventStep): Promise<void>;
@@ -1,5 +1,176 @@
1
- import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
- import type { Trigger } from "./base.js";
3
- import type { ValidStepDef } from "@superblocksteam/library-shared/types";
4
- declare const EventRegistry: Record<TriggerStepType, Trigger<ValidStepDef>>;
1
+ declare const EventRegistry: {
2
+ readonly runJs: {
3
+ type: "runJs";
4
+ create(handler: import("../internal-details/lib/evaluator/base-entity-manager.js").Executable): {
5
+ type: "runJs";
6
+ handler: import("../internal-details/lib/evaluator/base-entity-manager.js").Executable;
7
+ code: string;
8
+ };
9
+ execute(context: import("./base.js").ExecutionContext, step: import("./implementations/run-js.js").RunJsStep): Promise<void>;
10
+ };
11
+ readonly triggerEvent: {
12
+ type: "triggerEvent";
13
+ execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/trigger-event.js").TriggerEventStep): Promise<void>;
14
+ create(eventName: string, eventPayload: Record<string, string>): {
15
+ type: "triggerEvent";
16
+ event: import("../sb-trigger.js").SelectedEventProps;
17
+ eventPayload: Record<string, string>;
18
+ };
19
+ };
20
+ readonly navigateTo: {
21
+ type: "navigateTo";
22
+ execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/navigate/navigate-to.js").NavigateToStep): Promise<void>;
23
+ create(props: {
24
+ url: string;
25
+ newWindow?: boolean;
26
+ replaceHistory?: boolean;
27
+ arguments?: string;
28
+ }): {
29
+ type: "navigateTo";
30
+ url: string;
31
+ newWindow: boolean;
32
+ replaceHistory: boolean | undefined;
33
+ arguments: string | undefined;
34
+ };
35
+ };
36
+ readonly navigateToApp: {
37
+ type: "navigateToApp";
38
+ execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/navigate/navigate-to-app.js").NavigateToAppStep): Promise<void>;
39
+ create(appId: string): {
40
+ type: "navigateToApp";
41
+ targetApp: {
42
+ name: string;
43
+ id: string;
44
+ url: string;
45
+ };
46
+ queryParams: {};
47
+ newWindowApp: false;
48
+ };
49
+ };
50
+ readonly navigateToRoute: {
51
+ type: "navigateToRoute";
52
+ execute(context: import("./base.js").ExecutionContext, step: import("./implementations/navigate/navigate-to-route.js").NavigateToRouteStep): Promise<void>;
53
+ create(route: string): {
54
+ type: "navigateToRoute";
55
+ routeId: string;
56
+ routePathDescriptor: string;
57
+ newWindow: false;
58
+ };
59
+ };
60
+ readonly setQueryParams: {
61
+ type: "setQueryParams";
62
+ execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/navigate/set-query-params.js").SetQueryParamsStep): Promise<void>;
63
+ create(queryParams: Record<string, import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp<string>>, keepQueryParams?: any): {
64
+ type: "setQueryParams";
65
+ queryParams: Record<string, import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp<string>>;
66
+ keepQueryParams: any;
67
+ };
68
+ };
69
+ readonly controlSlideout: {
70
+ type: "controlSlideout";
71
+ execute(context: import("./base.js").ExecutionContext, step: import("./implementations/components/control-slideout.js").ControlSlideoutStep): Promise<void>;
72
+ create(name: string, direction: "open" | "close"): {
73
+ type: "controlSlideout";
74
+ name: string;
75
+ direction: "close" | "open";
76
+ };
77
+ };
78
+ readonly controlModal: {
79
+ type: "controlModal";
80
+ execute(context: import("./base.js").ExecutionContext, step: import("./implementations/components/control-modal.js").ControlModalStep): Promise<void>;
81
+ create(modal: import("@superblocksteam/library-shared/types").WithBindingIdentifier, direction: "open" | "close"): {
82
+ type: "controlModal";
83
+ name: string | undefined;
84
+ direction: "close" | "open";
85
+ };
86
+ };
87
+ readonly resetComponent: {
88
+ type: "resetComponent";
89
+ execute(context: import("./base.js").ExecutionContext, step: import("./implementations/components/reset-component.js").ResetComponentStep): Promise<void>;
90
+ create(widget: import("../sb-trigger.js").SelectedWidgetProps, propertyName: string, resetChildren: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp): {
91
+ type: "resetComponent";
92
+ widget: import("../sb-trigger.js").SelectedWidgetProps;
93
+ propertyName: string;
94
+ resetChildren: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp;
95
+ };
96
+ };
97
+ readonly executeApi: {
98
+ type: "executeApi";
99
+ execute(context: import("./base.js").ExecutionContext, step: import("./implementations/apis/run-apis.js").RunApisStep, onFinish?: (responses: PromiseSettledResult<import("../internal-details/lib/types.js").ApiV2ExecutionResponse | undefined>[]) => void): Promise<void>;
100
+ create(apis: import("@superblocksteam/library-shared/types").SbApiWithFunctions[], onSuccess?: import("../index.js").SbEventFlow, onError?: import("../index.js").SbEventFlow): {
101
+ type: "executeApi";
102
+ apis: import("@superblocksteam/library-shared/types").SbApiWithFunctions[];
103
+ onSuccess: import("../index.js").SbEventFlow | undefined;
104
+ onError: import("../index.js").SbEventFlow | undefined;
105
+ };
106
+ };
107
+ readonly cancelApi: {
108
+ type: "cancelApi";
109
+ execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/apis/cancel-apis.js").CancelApisStep): Promise<void>;
110
+ create(apis: import("@superblocksteam/library-shared/types").SbApiWithFunctions[], onCancel?: import("../index.js").SbEventFlow): {
111
+ type: "cancelApi";
112
+ apis: import("@superblocksteam/library-shared/types").SbApiWithFunctions[];
113
+ onCancel: import("../index.js").SbEventFlow | undefined;
114
+ };
115
+ };
116
+ readonly setStateVar: {
117
+ type: "setStateVar";
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
+ type: "setStateVar";
121
+ state: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
122
+ value: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp;
123
+ };
124
+ };
125
+ readonly setComponentProperty: {
126
+ type: "setComponentProperty";
127
+ execute(context: import("./base.js").ExecutionContext, step: import("./implementations/components/set-component-property.js").SetComponentPropertyStep): Promise<void>;
128
+ create(widget: import("../sb-trigger.js").SelectedWidgetProps, propertyName: string, propertyValue: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp): {
129
+ type: "setComponentProperty";
130
+ widget: import("../sb-trigger.js").SelectedWidgetProps;
131
+ propertyName: string;
132
+ propertyValue: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp;
133
+ };
134
+ };
135
+ readonly resetStateVar: {
136
+ type: "resetStateVar";
137
+ execute(context: import("./base.js").ExecutionContext, step: import("./implementations/state/reset-state-var.js").ResetStateVarStep): Promise<void>;
138
+ create(stateVar?: import("@superblocksteam/library-shared/types").WithBindingIdentifier): {
139
+ type: "resetStateVar";
140
+ state: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
141
+ };
142
+ };
143
+ readonly controlTimer: {
144
+ type: "controlTimer";
145
+ execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/timers/control-timer.js").ControlTimerStep): Promise<void>;
146
+ create(timerId: string, action: "start" | "stop" | "toggle"): {
147
+ type: "controlTimer";
148
+ timerId: string;
149
+ action: "toggle" | "stop" | "start";
150
+ };
151
+ };
152
+ readonly showAlert: {
153
+ type: "showAlert";
154
+ execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/show-alert.js").ShowAlertStep): Promise<void>;
155
+ create(message: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp<string>, alertType: import("../user-facing/utils/notification.jsx").NotificationType, alertDuration?: number, alertPosition?: import("../user-facing/utils/notification.jsx").NotificationPosition): {
156
+ type: "showAlert";
157
+ message: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp<string>;
158
+ style: import("../user-facing/utils/notification.jsx").NotificationType;
159
+ alertDuration: number | undefined;
160
+ alertPosition: import("../user-facing/utils/notification.jsx").NotificationPosition | undefined;
161
+ };
162
+ };
163
+ readonly setProfile: {
164
+ type: "setProfile";
165
+ execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/set-profile.js").SetProfileStep): Promise<void>;
166
+ create(profileId: string, profileAction: "set" | "unset"): {
167
+ type: "setProfile";
168
+ profileId: string;
169
+ profileAction: "unset" | "set";
170
+ };
171
+ };
172
+ };
173
+ export type ValidStepDef = ReturnType<(typeof EventRegistry)[keyof typeof EventRegistry]["create"]> & {
174
+ id: string;
175
+ };
5
176
  export default EventRegistry;
@@ -1,8 +1,8 @@
1
1
  import type { ScopeId } from "../internal-details/lib/evaluator/base-entity-manager.js";
2
2
  import type { Name } from "../internal-details/lib/evaluator/names.js";
3
- import type { ISbEventFlow, ScopedState, StepDef, ValueInputProp } from "@superblocksteam/library-shared/types";
3
+ import type { SbEventFlow } from "../user-facing/sb-event-flow.js";
4
4
  export declare const runEventHandlers: ({ flow, name, scopeId, additionalContext, }: {
5
- flow?: ISbEventFlow<StepDef, ScopedState, ValueInputProp>;
5
+ flow?: SbEventFlow;
6
6
  name: Name;
7
7
  scopeId: ScopeId;
8
8
  additionalContext?: Record<string, any>;
@@ -10,12 +10,8 @@ export type SbComponentProps<El = HTMLElement> = {
10
10
  maxWidth?: Dim;
11
11
  maxHeight?: Dim;
12
12
  sourceId?: SbElement;
13
+ reportInstanceId?: (instanceId: SbInstance) => void;
13
14
  marginLeft?: Dim<"columns">;
14
15
  marginTop?: Dim<"rows">;
15
16
  constraintTop?: string | string[];
16
- /**
17
- * undefined means auto, true means always loading, false means never loading
18
- */
19
- loading?: boolean;
20
- reportInstanceId?: (instanceId: SbInstance) => void;
21
17
  } & Omit<React.HTMLAttributes<El>, "height" | "width" | "marginLeft" | "marginTop">;
@@ -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, undefined>> & {
3
- label: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
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, undefined>> & {
6
- padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true, undefined>;
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, undefined> | undefined;
9
- minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
10
- maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
11
- minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
12
- width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
13
- height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
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, undefined>;
20
+ } | undefined, true>;
21
21
  } & {
22
- isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
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, undefined>> & {
25
- variant: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ButtonVariant, true, undefined>;
26
- icon: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
27
- iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true, undefined>;
28
- textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
29
- backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
30
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true, undefined>;
31
- borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
32
- horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true, undefined>;
33
- loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
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, undefined>> & {
36
- isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
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, undefined>> & {
39
- onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
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, undefined>> & {
8
- label: Prop<string, false, undefined>;
7
+ general: Section<Record<string, Prop<any, any>> & {
8
+ label: Prop<string, false>;
9
9
  }>;
10
- layout: Section<Record<string, Prop<any, any, undefined>> & {
11
- padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true, undefined>;
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, undefined> | undefined;
14
- minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
15
- maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
16
- minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
17
- width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
18
- height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
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, undefined>;
25
+ } | undefined, true>;
26
26
  } & {
27
- isVisible: Prop<boolean, true, undefined>;
27
+ isVisible: Prop<boolean, true>;
28
28
  }>;
29
- appearance: Section<Record<string, Prop<any, any, undefined>> & {
30
- variant: Prop<ButtonVariant, true, undefined>;
31
- icon: Prop<string, false, undefined>;
32
- iconPosition: Prop<IconPosition, true, undefined>;
33
- textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
34
- backgroundColor: Prop<string, true, undefined>;
35
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true, undefined>;
36
- borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
37
- horizontalAlign: Prop<HorizontalAlign, true, undefined>;
38
- loading: Prop<boolean, true, undefined>;
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, undefined>> & {
41
- isDisabled: Prop<boolean, true, undefined>;
40
+ interaction: Section<Record<string, Prop<any, any>> & {
41
+ isDisabled: Prop<boolean, true>;
42
42
  }>;
43
- events: Section<Record<string, Prop<any, any, undefined>> & {
44
- onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
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, undefined>> & {
3
- label: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
4
- defaultChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
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, undefined>> & {
7
- labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
8
- loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
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, undefined>> & {
11
- maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
12
- minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
13
- maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
14
- minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
15
- width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
16
- height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
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, undefined>;
23
+ } | undefined, true>;
24
24
  } & {
25
- isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
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, undefined>> & {
28
- customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
29
- customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
30
- isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, false, undefined>;
31
- isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
32
- errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
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, undefined>> & {
35
- onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
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, undefined>> & {
38
- isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
39
- isChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
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, undefined>> & {
42
- value: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
43
- validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true, undefined>;
44
- isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
45
- showError: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
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
  }>>;
@@ -1,48 +1,48 @@
1
1
  import { Prop, Section } from "../../properties-panel/props-builder.js";
2
2
  export declare const propertiesDefinition: {
3
- general: Section<Record<string, Prop<any, any, undefined>> & {
4
- label: Prop<string, true, undefined>;
5
- defaultChecked: Prop<boolean, true, undefined>;
3
+ general: Section<Record<string, Prop<any, any>> & {
4
+ label: Prop<string, true>;
5
+ defaultChecked: Prop<boolean, true>;
6
6
  }>;
7
- appearance: Section<Record<string, Prop<any, any, undefined>> & {
8
- labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
9
- loading: Prop<boolean, true, undefined>;
7
+ appearance: Section<Record<string, Prop<any, any>> & {
8
+ labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
9
+ loading: Prop<boolean, true>;
10
10
  }>;
11
- layout: Section<Record<string, Prop<any, any, undefined>> & {
12
- maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
13
- minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
14
- maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
15
- minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
16
- width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
17
- height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
11
+ layout: Section<Record<string, Prop<any, any>> & {
12
+ maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
13
+ minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
14
+ maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
15
+ minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
16
+ width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
17
+ height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
18
18
  } & {
19
19
  margin: Prop<{
20
20
  top: import("@superblocksteam/library-shared").Dim<"px">;
21
21
  bottom: import("@superblocksteam/library-shared").Dim<"px">;
22
22
  left: import("@superblocksteam/library-shared").Dim<"px">;
23
23
  right: import("@superblocksteam/library-shared").Dim<"px">;
24
- } | undefined, true, undefined>;
24
+ } | undefined, true>;
25
25
  } & {
26
- isVisible: Prop<boolean, true, undefined>;
26
+ isVisible: Prop<boolean, true>;
27
27
  }>;
28
- interaction: Section<Record<string, Prop<any, any, undefined>> & {
29
- customValidationRule: Prop<string, true, undefined>;
30
- customErrorMessage: Prop<string, true, undefined>;
31
- isRequired: Prop<boolean, false, undefined>;
32
- isDisabled: Prop<boolean, true, undefined>;
33
- errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
28
+ interaction: Section<Record<string, Prop<any, any>> & {
29
+ customValidationRule: Prop<string, true>;
30
+ customErrorMessage: Prop<string, true>;
31
+ isRequired: Prop<boolean, false>;
32
+ isDisabled: Prop<boolean, true>;
33
+ errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
34
34
  }>;
35
- events: Section<Record<string, Prop<any, any, undefined>> & {
36
- onCheckChange: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
35
+ events: Section<Record<string, Prop<any, any>> & {
36
+ onCheckChange: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
37
37
  }>;
38
- meta: Section<Record<string, Prop<any, any, undefined>> & {
39
- isTouched: Prop<boolean, true, undefined>;
40
- isChecked: Prop<boolean, true, undefined>;
38
+ meta: Section<Record<string, Prop<any, any>> & {
39
+ isTouched: Prop<boolean, true>;
40
+ isChecked: Prop<boolean, true>;
41
41
  }>;
42
- derived: Section<Record<string, Prop<any, any, undefined>> & {
43
- value: Prop<boolean, true, undefined>;
44
- validationErrors: Prop<any, true, undefined>;
45
- isValid: Prop<boolean, true, undefined>;
46
- showError: Prop<boolean, true, undefined>;
42
+ derived: Section<Record<string, Prop<any, any>> & {
43
+ value: Prop<boolean, true>;
44
+ validationErrors: Prop<any, true>;
45
+ isValid: Prop<boolean, true>;
46
+ showError: Prop<boolean, true>;
47
47
  }>;
48
48
  };