@superblocksteam/library 2.0.6 → 2.0.7

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 (147) hide show
  1. package/dist/{allPaths-CROgh4Wr.js → allPaths-Boby_CDT.js} +2 -2
  2. package/dist/{allPaths-CROgh4Wr.js.map → allPaths-Boby_CDT.js.map} +1 -1
  3. package/dist/{allPaths-Va1k8Bn4.js → allPaths-d63_pjlB.js} +2 -2
  4. package/dist/{allPaths-Va1k8Bn4.js.map → allPaths-d63_pjlB.js.map} +1 -1
  5. package/dist/{allPathsLoader-BdHvMdcd.js → allPathsLoader-CmUnKzK9.js} +3 -3
  6. package/dist/{allPathsLoader-BdHvMdcd.js.map → allPathsLoader-CmUnKzK9.js.map} +1 -1
  7. package/dist/{allPathsLoader-BJthmVkF.js → allPathsLoader-DyTMsYjm.js} +3 -3
  8. package/dist/{allPathsLoader-BJthmVkF.js.map → allPathsLoader-DyTMsYjm.js.map} +1 -1
  9. package/dist/{devtools-consolidated-Ck9KuyGf.js → devtools-consolidated-B3U5EpYG.js} +2 -2
  10. package/dist/{devtools-consolidated-Ck9KuyGf.js.map → devtools-consolidated-B3U5EpYG.js.map} +1 -1
  11. package/dist/{icons-NrNO8p_u.js → icons-lSlfQ50w.js} +10 -14
  12. package/dist/icons-lSlfQ50w.js.map +1 -0
  13. package/dist/{index-CJuRwhWz.js → index-NrZGBHks.js} +19419 -17119
  14. package/dist/{index-CJuRwhWz.js.map → index-NrZGBHks.js.map} +1 -1
  15. package/dist/index.js +150 -149
  16. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js → splitPathsBySizeLoader-B6CeEPjz.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-B6CeEPjz.js.map} +1 -1
  18. package/dist/{splitPathsBySizeLoader-BFbna0L2.js → splitPathsBySizeLoader-mTPqVWRR.js} +2 -2
  19. package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-mTPqVWRR.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 +4 -0
  22. package/dist-types/edit-mode/features/properties-panel-manager.d.ts +12 -1
  23. package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +22 -22
  24. package/dist-types/edit-mode/features/ui-store.d.ts +1 -1
  25. package/dist-types/edit-mode/iframe-wrappers.d.ts +1 -0
  26. package/dist-types/edit-mode/source-update-api.d.ts +5 -0
  27. package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +7 -1
  28. package/dist-types/edit-mode/vite.d.ts +5 -0
  29. package/dist-types/internal-testing/components/slideout.d.ts +3 -0
  30. package/dist-types/lib/index.d.ts +1 -0
  31. package/dist-types/lib/internal-details/actions-context.d.ts +1 -1
  32. package/dist-types/lib/internal-details/entities-state.d.ts +2 -1
  33. package/dist-types/lib/internal-details/is-sb-component.d.ts +5 -1
  34. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +16 -27
  35. package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.d.ts +1 -1
  36. package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +3 -2
  37. package/dist-types/lib/internal-details/lib/evaluator/create-global-object.d.ts +1 -1
  38. package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +3 -2
  39. package/dist-types/lib/internal-details/lib/evaluator/deep-observe.d.ts +1 -2
  40. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +8 -7
  41. package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +2 -1
  42. package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +2 -2
  43. package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +6 -0
  44. package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +8 -0
  45. package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +2 -1
  46. package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -1
  47. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +16 -1
  48. package/dist-types/lib/internal-details/lib/root-store.d.ts +2 -0
  49. package/dist-types/lib/internal-details/lib/types.d.ts +34 -1
  50. package/dist-types/lib/internal-details/location-store.d.ts +18 -0
  51. package/dist-types/lib/internal-details/scope/global.d.ts +1 -1
  52. package/dist-types/lib/internal-details/scope/types.d.ts +2 -2
  53. package/dist-types/lib/triggers/base.d.ts +1 -2
  54. package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +1 -8
  55. package/dist-types/lib/triggers/implementations/apis/run-apis.d.ts +3 -21
  56. package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +3 -9
  57. package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +5 -10
  58. package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +2 -9
  59. package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +2 -9
  60. package/dist-types/lib/triggers/implementations/navigate/navigate-to-app.d.ts +1 -13
  61. package/dist-types/lib/triggers/implementations/navigate/navigate-to-route.d.ts +1 -12
  62. package/dist-types/lib/triggers/implementations/navigate/navigate-to.d.ts +1 -9
  63. package/dist-types/lib/triggers/implementations/navigate/set-query-params.d.ts +2 -8
  64. package/dist-types/lib/triggers/implementations/run-js.d.ts +1 -8
  65. package/dist-types/lib/triggers/implementations/set-profile.d.ts +2 -7
  66. package/dist-types/lib/triggers/implementations/show-alert.d.ts +3 -12
  67. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +3 -9
  68. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +4 -11
  69. package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +3 -9
  70. package/dist-types/lib/triggers/implementations/trigger-event.d.ts +1 -7
  71. package/dist-types/lib/triggers/registry.d.ts +4 -175
  72. package/dist-types/lib/triggers/run-event-handlers.d.ts +2 -2
  73. package/dist-types/lib/user-facing/build-manifest.d.ts +2 -0
  74. package/dist-types/lib/user-facing/component-base/sb-component.d.ts +5 -1
  75. package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
  76. package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
  77. package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
  78. package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
  79. package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
  80. package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
  81. package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
  82. package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
  83. package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +14 -11
  84. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
  85. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
  86. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
  87. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
  88. package/dist-types/lib/user-facing/components/dropdown/types.d.ts +1 -2
  89. package/dist-types/lib/user-facing/components/grid/index.d.ts +20 -18
  90. package/dist-types/lib/user-facing/components/icon/index.d.ts +11 -13
  91. package/dist-types/lib/user-facing/components/icon/props.d.ts +11 -13
  92. package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
  93. package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
  94. package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
  95. package/dist-types/lib/user-facing/components/input/input-component.d.ts +1 -0
  96. package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
  97. package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
  98. package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
  99. package/dist-types/lib/user-facing/components/modal/index.d.ts +27 -31
  100. package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
  101. package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
  102. package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
  103. package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
  104. package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
  105. package/dist-types/lib/user-facing/components/slideout/constants.d.ts +10 -0
  106. package/dist-types/lib/user-facing/components/slideout/index.d.ts +41 -1
  107. package/dist-types/lib/user-facing/components/slideout/props.d.ts +39 -19
  108. package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +31 -0
  109. package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
  110. package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
  111. package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
  112. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +262 -161
  113. package/dist-types/lib/user-facing/components/table/components/table-header.d.ts +1 -0
  114. package/dist-types/lib/user-facing/components/table/index.d.ts +305 -204
  115. package/dist-types/lib/user-facing/components/table/props.d.ts +305 -204
  116. package/dist-types/lib/user-facing/components/table/table-component.d.ts +1 -0
  117. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +7 -10
  118. package/dist-types/lib/user-facing/components/table/table-widget.d.ts +8 -6
  119. package/dist-types/lib/user-facing/components/table/types.d.ts +34 -32
  120. package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
  121. package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
  122. package/dist-types/lib/user-facing/constants.d.ts +1 -1
  123. package/dist-types/lib/user-facing/entities/api/props.d.ts +20 -11
  124. package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +20 -0
  125. package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
  126. package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
  127. package/dist-types/lib/user-facing/global-functions.d.ts +2 -1
  128. package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +14 -0
  129. package/dist-types/lib/user-facing/internal-index.d.ts +1 -1
  130. package/dist-types/lib/user-facing/layers.d.ts +1 -2
  131. package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +4 -0
  132. package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +13 -13
  133. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
  134. package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
  135. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +46 -46
  136. package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
  137. package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +1 -2
  138. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +32 -13
  139. package/dist-types/lib/user-facing/properties-panel/validators.d.ts +1 -1
  140. package/dist-types/lib/user-facing/sb-event-flow.d.ts +6 -8
  141. package/dist-types/lib/user-facing/sb-provider.d.ts +1 -2
  142. package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +1 -2
  143. package/dist-types/lib/user-facing/utils/notification.d.ts +1 -2
  144. package/package.json +4 -3
  145. package/dist/icons-NrNO8p_u.js.map +0 -1
  146. package/dist-types/lib/sb-trigger.d.ts +0 -48
  147. package/dist-types/lib/user-facing/components/grid/utils.d.ts +0 -1
@@ -1,18 +1,9 @@
1
- import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
- import { type NotificationPosition, type NotificationType } from "../../user-facing/utils/notification.jsx";
3
- import type { ValueInputProp } from "../../internal-details/lib/evaluator/base-entity-manager.js";
4
- import type { BaseStepDef } from "../../sb-trigger.js";
1
+ import { NotificationPosition } from "@superblocksteam/library-shared/types";
5
2
  import type { ExecutionContext } from "../base.js";
6
- export interface ShowAlertStep extends BaseStepDef {
7
- type: typeof TriggerStepType.SHOW_ALERT;
8
- message: ValueInputProp<string>;
9
- style: NotificationType;
10
- alertDuration?: number;
11
- alertPosition?: NotificationPosition;
12
- }
3
+ import type { ShowAlertStep, NotificationType, ValueInputProp } from "@superblocksteam/library-shared/types";
13
4
  export declare const ShowAlertTrigger: {
14
5
  type: "showAlert";
15
- execute(_context: ExecutionContext, step: ShowAlertStep): Promise<void>;
6
+ execute(context: ExecutionContext, step: ShowAlertStep): Promise<void>;
16
7
  create(message: ValueInputProp<string>, alertType: NotificationType, alertDuration?: number, alertPosition?: NotificationPosition): {
17
8
  type: "showAlert";
18
9
  message: ValueInputProp<string>;
@@ -1,16 +1,10 @@
1
- import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
- import type { BaseStepDef } from "../../../sb-trigger.js";
3
1
  import type { ExecutionContext } from "../../base.js";
4
- import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
5
- export interface ResetStateVarStep extends BaseStepDef {
6
- type: typeof TriggerStepType.RESET_STATE_VAR;
7
- state?: WithBindingIdentifier;
8
- }
2
+ import type { ResetStateVarStep, WithBindingIdentifier } from "@superblocksteam/library-shared/types";
9
3
  export declare const ResetStateVarTrigger: {
10
4
  type: "resetStateVar";
11
5
  execute(context: ExecutionContext, step: ResetStateVarStep): Promise<void>;
12
- create(stateVar?: WithBindingIdentifier): {
6
+ create(variable?: WithBindingIdentifier): {
13
7
  type: "resetStateVar";
14
- state: WithBindingIdentifier | undefined;
8
+ variable: WithBindingIdentifier | undefined;
15
9
  };
16
10
  };
@@ -1,19 +1,12 @@
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";
4
1
  import type { ExecutionContext } from "../../base.js";
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
- }
2
+ import type { ValueInputProp } from "@superblocksteam/library-shared/types";
3
+ import type { SetStateVarStep, WithBindingIdentifier } from "@superblocksteam/library-shared/types";
11
4
  export declare const SetStateVarTrigger: {
12
5
  type: "setStateVar";
13
6
  execute(context: ExecutionContext, step: SetStateVarStep): Promise<void>;
14
- create(stateVar?: WithBindingIdentifier, value?: ValueInputProp): {
7
+ create(variable?: WithBindingIdentifier, value?: ValueInputProp): {
15
8
  type: "setStateVar";
16
- state: WithBindingIdentifier | undefined;
9
+ variable: WithBindingIdentifier | undefined;
17
10
  value: ValueInputProp;
18
11
  };
19
12
  };
@@ -1,17 +1,11 @@
1
- import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
- import type { BaseStepDef } from "../../../sb-trigger.js";
3
1
  import type { ExecutionContext } from "../../base.js";
4
- export interface ControlTimerStep extends BaseStepDef {
5
- type: typeof TriggerStepType.CONTROL_TIMER;
6
- timerId: string;
7
- action: "start" | "stop" | "toggle";
8
- }
2
+ import type { ControlTimerStep, WithBindingIdentifier } from "@superblocksteam/library-shared/types";
9
3
  export declare const ControlTimerTrigger: {
10
4
  type: "controlTimer";
11
5
  execute(_context: ExecutionContext, step: ControlTimerStep): Promise<void>;
12
- create(timerId: string, action: "start" | "stop" | "toggle"): {
6
+ create(timer: WithBindingIdentifier, action: "start" | "stop" | "toggle"): {
13
7
  type: "controlTimer";
14
- timerId: string;
8
+ timer: WithBindingIdentifier;
15
9
  action: "toggle" | "stop" | "start";
16
10
  };
17
11
  };
@@ -1,11 +1,5 @@
1
- import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
- import type { BaseStepDef, SelectedEventProps } from "../../sb-trigger.js";
3
1
  import type { ExecutionContext } from "../base.js";
4
- export interface TriggerEventStep extends BaseStepDef {
5
- type: typeof TriggerStepType.TRIGGER_EVENT;
6
- event: SelectedEventProps;
7
- eventPayload: Record<string, string>;
8
- }
2
+ import type { SelectedEventProps, TriggerEventStep } from "@superblocksteam/library-shared/types";
9
3
  export declare const TriggerEventTrigger: {
10
4
  type: "triggerEvent";
11
5
  execute(_context: ExecutionContext, step: TriggerEventStep): Promise<void>;
@@ -1,176 +1,5 @@
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
- };
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>>;
176
5
  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 { SbEventFlow } from "../user-facing/sb-event-flow.js";
3
+ import type { ISbEventFlow, ScopedState, StepDef, ValueInputProp } from "@superblocksteam/library-shared/types";
4
4
  export declare const runEventHandlers: ({ flow, name, scopeId, additionalContext, }: {
5
- flow?: SbEventFlow;
5
+ flow?: ISbEventFlow<StepDef, ScopedState, ValueInputProp>;
6
6
  name: Name;
7
7
  scopeId: ScopeId;
8
8
  additionalContext?: Record<string, any>;
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -10,8 +10,12 @@ export type SbComponentProps<El = HTMLElement> = {
10
10
  maxWidth?: Dim;
11
11
  maxHeight?: Dim;
12
12
  sourceId?: SbElement;
13
- reportInstanceId?: (instanceId: SbInstance) => void;
14
13
  marginLeft?: Dim<"columns">;
15
14
  marginTop?: Dim<"rows">;
16
15
  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;
17
21
  } & 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>> & {
3
- label: import("../../properties-panel/props-builder.js").Prop<string, false>;
2
+ general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
3
+ label: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
4
4
  }>;
5
- layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
6
- padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
5
+ layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
6
+ padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true, undefined>;
7
7
  } & {
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>;
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>;
14
14
  } & {
15
15
  margin: import("../../properties-panel/props-builder.js").Prop<{
16
16
  top: import("@superblocksteam/library-shared").Dim<"px">;
17
17
  bottom: import("@superblocksteam/library-shared").Dim<"px">;
18
18
  left: import("@superblocksteam/library-shared").Dim<"px">;
19
19
  right: import("@superblocksteam/library-shared").Dim<"px">;
20
- } | undefined, true>;
20
+ } | undefined, true, undefined>;
21
21
  } & {
22
- isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
22
+ isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
23
23
  }>;
24
- appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
25
- variant: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ButtonVariant, true>;
26
- icon: import("../../properties-panel/props-builder.js").Prop<string, false>;
27
- iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
28
- textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
29
- backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
30
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
31
- borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
32
- horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true>;
33
- loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
24
+ appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, 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>;
34
34
  }>;
35
- interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
36
- isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
35
+ interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
36
+ isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
37
37
  }>;
38
- events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
39
- onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
38
+ events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
39
+ onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
40
40
  }>;
41
41
  }>>;
@@ -4,43 +4,43 @@ import type { Dim } from "@superblocksteam/library-shared";
4
4
  import type { HorizontalAlign } from "@superblocksteam/library-shared/props";
5
5
  export type ButtonVariant = "primary" | "secondary" | "tertiary";
6
6
  export declare const propertiesDefinition: {
7
- general: Section<Record<string, Prop<any, any>> & {
8
- label: Prop<string, false>;
7
+ general: Section<Record<string, Prop<any, any, undefined>> & {
8
+ label: Prop<string, false, undefined>;
9
9
  }>;
10
- layout: Section<Record<string, Prop<any, any>> & {
11
- padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
10
+ layout: Section<Record<string, Prop<any, any, undefined>> & {
11
+ padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true, undefined>;
12
12
  } & {
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>;
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>;
19
19
  } & {
20
20
  margin: Prop<{
21
21
  top: Dim<"px">;
22
22
  bottom: Dim<"px">;
23
23
  left: Dim<"px">;
24
24
  right: Dim<"px">;
25
- } | undefined, true>;
25
+ } | undefined, true, undefined>;
26
26
  } & {
27
- isVisible: Prop<boolean, true>;
27
+ isVisible: Prop<boolean, true, undefined>;
28
28
  }>;
29
- appearance: Section<Record<string, Prop<any, any>> & {
30
- variant: Prop<ButtonVariant, true>;
31
- icon: Prop<string, false>;
32
- iconPosition: Prop<IconPosition, true>;
33
- textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
34
- backgroundColor: Prop<string, true>;
35
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
36
- borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
37
- horizontalAlign: Prop<HorizontalAlign, true>;
38
- loading: Prop<boolean, true>;
29
+ appearance: Section<Record<string, Prop<any, any, 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>;
39
39
  }>;
40
- interaction: Section<Record<string, Prop<any, any>> & {
41
- isDisabled: Prop<boolean, true>;
40
+ interaction: Section<Record<string, Prop<any, any, undefined>> & {
41
+ isDisabled: Prop<boolean, true, undefined>;
42
42
  }>;
43
- events: Section<Record<string, Prop<any, any>> & {
44
- onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
43
+ events: Section<Record<string, Prop<any, any, undefined>> & {
44
+ onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
45
45
  }>;
46
46
  };
@@ -1,47 +1,47 @@
1
1
  export declare const SbCheckbox: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
2
- general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
3
- label: import("../../properties-panel/props-builder.js").Prop<string, true>;
4
- defaultChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
2
+ general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, 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>;
5
5
  }>;
6
- appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
7
- labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
8
- loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
6
+ appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, 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>;
9
9
  }>;
10
- layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
11
- maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | 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>;
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>;
17
17
  } & {
18
18
  margin: import("../../properties-panel/props-builder.js").Prop<{
19
19
  top: import("@superblocksteam/library-shared").Dim<"px">;
20
20
  bottom: import("@superblocksteam/library-shared").Dim<"px">;
21
21
  left: import("@superblocksteam/library-shared").Dim<"px">;
22
22
  right: import("@superblocksteam/library-shared").Dim<"px">;
23
- } | undefined, true>;
23
+ } | undefined, true, undefined>;
24
24
  } & {
25
- isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
25
+ isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
26
26
  }>;
27
- interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
28
- customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
29
- customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true>;
30
- isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
31
- isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
32
- errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
27
+ interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, 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>;
33
33
  }>;
34
- events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
35
- onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
34
+ events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
35
+ onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
36
36
  }>;
37
- meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
38
- isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
39
- isChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
37
+ meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, 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>;
40
40
  }>;
41
- derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
42
- value: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
43
- validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true>;
44
- isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
45
- showError: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
41
+ derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, 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>;
46
46
  }>;
47
47
  }>>;