@superblocksteam/library 2.0.6-next.99 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{allPaths-Boby_CDT.js → allPaths-CROgh4Wr.js} +2 -2
- package/dist/{allPaths-Boby_CDT.js.map → allPaths-CROgh4Wr.js.map} +1 -1
- package/dist/{allPaths-d63_pjlB.js → allPaths-Va1k8Bn4.js} +2 -2
- package/dist/{allPaths-d63_pjlB.js.map → allPaths-Va1k8Bn4.js.map} +1 -1
- package/dist/{allPathsLoader-DyTMsYjm.js → allPathsLoader-BJthmVkF.js} +3 -3
- package/dist/{allPathsLoader-DyTMsYjm.js.map → allPathsLoader-BJthmVkF.js.map} +1 -1
- package/dist/{allPathsLoader-CmUnKzK9.js → allPathsLoader-BdHvMdcd.js} +3 -3
- package/dist/{allPathsLoader-CmUnKzK9.js.map → allPathsLoader-BdHvMdcd.js.map} +1 -1
- package/dist/{devtools-consolidated-B3U5EpYG.js → devtools-consolidated-Ck9KuyGf.js} +2 -2
- package/dist/{devtools-consolidated-B3U5EpYG.js.map → devtools-consolidated-Ck9KuyGf.js.map} +1 -1
- package/dist/{icons-lSlfQ50w.js → icons-NrNO8p_u.js} +14 -10
- package/dist/icons-NrNO8p_u.js.map +1 -0
- package/dist/{index-NrZGBHks.js → index-CJuRwhWz.js} +17149 -19449
- package/dist/{index-NrZGBHks.js.map → index-CJuRwhWz.js.map} +1 -1
- package/dist/index.js +149 -150
- package/dist/{splitPathsBySizeLoader-B6CeEPjz.js → splitPathsBySizeLoader-3mcg6Jfx.js} +2 -2
- package/dist/{splitPathsBySizeLoader-B6CeEPjz.js.map → splitPathsBySizeLoader-3mcg6Jfx.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-mTPqVWRR.js → splitPathsBySizeLoader-BFbna0L2.js} +2 -2
- package/dist/{splitPathsBySizeLoader-mTPqVWRR.js.map → splitPathsBySizeLoader-BFbna0L2.js.map} +1 -1
- package/dist-types/edit-mode/create-component.d.ts +1 -1
- package/dist-types/edit-mode/dnd/utils.d.ts +0 -4
- package/dist-types/edit-mode/features/properties-panel-manager.d.ts +1 -12
- package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +22 -22
- package/dist-types/edit-mode/features/ui-store.d.ts +1 -1
- package/dist-types/edit-mode/iframe-wrappers.d.ts +0 -1
- package/dist-types/edit-mode/source-update-api.d.ts +0 -5
- package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +1 -7
- package/dist-types/lib/index.d.ts +0 -1
- package/dist-types/lib/internal-details/actions-context.d.ts +1 -1
- package/dist-types/lib/internal-details/entities-state.d.ts +1 -2
- package/dist-types/lib/internal-details/is-sb-component.d.ts +1 -5
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +27 -16
- package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +2 -3
- package/dist-types/lib/internal-details/lib/evaluator/create-global-object.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +2 -3
- package/dist-types/lib/internal-details/lib/evaluator/deep-observe.d.ts +2 -1
- package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +7 -8
- package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +2 -2
- package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +1 -16
- package/dist-types/lib/internal-details/lib/root-store.d.ts +0 -2
- package/dist-types/lib/internal-details/lib/types.d.ts +1 -34
- package/dist-types/lib/internal-details/scope/global.d.ts +1 -1
- package/dist-types/lib/internal-details/scope/types.d.ts +2 -2
- package/dist-types/lib/sb-trigger.d.ts +48 -0
- package/dist-types/lib/triggers/base.d.ts +2 -1
- package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +8 -1
- package/dist-types/lib/triggers/implementations/apis/run-apis.d.ts +21 -3
- package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +9 -3
- package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +10 -5
- package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +9 -2
- package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +9 -2
- package/dist-types/lib/triggers/implementations/navigate/navigate-to-app.d.ts +13 -1
- package/dist-types/lib/triggers/implementations/navigate/navigate-to-route.d.ts +12 -1
- package/dist-types/lib/triggers/implementations/navigate/navigate-to.d.ts +9 -1
- package/dist-types/lib/triggers/implementations/navigate/set-query-params.d.ts +8 -2
- package/dist-types/lib/triggers/implementations/run-js.d.ts +8 -1
- package/dist-types/lib/triggers/implementations/set-profile.d.ts +7 -2
- package/dist-types/lib/triggers/implementations/show-alert.d.ts +12 -3
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +9 -3
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +11 -4
- package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +9 -3
- package/dist-types/lib/triggers/implementations/trigger-event.d.ts +7 -1
- package/dist-types/lib/triggers/registry.d.ts +175 -4
- package/dist-types/lib/triggers/run-event-handlers.d.ts +2 -2
- package/dist-types/lib/user-facing/component-base/sb-component.d.ts +1 -5
- package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
- package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
- package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
- package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
- package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
- package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
- package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
- package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +11 -14
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
- package/dist-types/lib/user-facing/components/dropdown/types.d.ts +2 -1
- package/dist-types/lib/user-facing/components/grid/index.d.ts +18 -20
- package/dist-types/lib/user-facing/components/grid/utils.d.ts +1 -0
- package/dist-types/lib/user-facing/components/icon/index.d.ts +13 -11
- package/dist-types/lib/user-facing/components/icon/props.d.ts +13 -11
- package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
- package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
- package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
- package/dist-types/lib/user-facing/components/input/input-component.d.ts +0 -1
- package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
- package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/modal/index.d.ts +31 -27
- package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
- package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
- package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
- package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
- package/dist-types/lib/user-facing/components/slideout/index.d.ts +1 -41
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +19 -39
- package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
- package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
- package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +161 -262
- package/dist-types/lib/user-facing/components/table/components/table-header.d.ts +0 -1
- package/dist-types/lib/user-facing/components/table/index.d.ts +204 -305
- package/dist-types/lib/user-facing/components/table/props.d.ts +204 -305
- package/dist-types/lib/user-facing/components/table/table-component.d.ts +0 -1
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +10 -7
- package/dist-types/lib/user-facing/components/table/table-widget.d.ts +6 -8
- package/dist-types/lib/user-facing/components/table/types.d.ts +32 -34
- package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
- package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
- package/dist-types/lib/user-facing/constants.d.ts +1 -1
- package/dist-types/lib/user-facing/entities/api/props.d.ts +11 -20
- package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
- package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
- package/dist-types/lib/user-facing/global-functions.d.ts +1 -2
- package/dist-types/lib/user-facing/internal-index.d.ts +1 -1
- package/dist-types/lib/user-facing/layers.d.ts +2 -1
- package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +0 -4
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +13 -13
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
- package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +46 -46
- package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
- package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +2 -1
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +13 -32
- package/dist-types/lib/user-facing/properties-panel/validators.d.ts +1 -1
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +8 -6
- package/dist-types/lib/user-facing/sb-provider.d.ts +2 -1
- package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +2 -1
- package/dist-types/lib/user-facing/utils/notification.d.ts +2 -1
- package/package.json +3 -4
- package/dist/icons-lSlfQ50w.js.map +0 -1
- package/dist-types/edit-mode/vite.d.ts +0 -5
- package/dist-types/internal-testing/components/slideout.d.ts +0 -3
- package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +0 -6
- package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +0 -8
- package/dist-types/lib/internal-details/location-store.d.ts +0 -18
- package/dist-types/lib/user-facing/build-manifest.d.ts +0 -2
- package/dist-types/lib/user-facing/components/slideout/constants.d.ts +0 -10
- package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +0 -31
- package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +0 -20
- package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +0 -14
|
@@ -1,5 +1,11 @@
|
|
|
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
|
-
|
|
4
|
+
export interface SetProfileStep extends BaseStepDef {
|
|
5
|
+
type: typeof TriggerStepType.SET_PROFILE;
|
|
6
|
+
profileId: string;
|
|
7
|
+
profileAction: "set" | "unset";
|
|
8
|
+
}
|
|
3
9
|
export declare const SetProfileTrigger: {
|
|
4
10
|
type: "setProfile";
|
|
5
11
|
execute(_context: ExecutionContext, step: SetProfileStep): Promise<void>;
|
|
@@ -7,6 +13,5 @@ export declare const SetProfileTrigger: {
|
|
|
7
13
|
type: "setProfile";
|
|
8
14
|
profileId: string;
|
|
9
15
|
profileAction: "unset" | "set";
|
|
10
|
-
action: "unset" | "set";
|
|
11
16
|
};
|
|
12
17
|
};
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
import {
|
|
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";
|
|
2
5
|
import type { ExecutionContext } from "../base.js";
|
|
3
|
-
|
|
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
|
+
}
|
|
4
13
|
export declare const ShowAlertTrigger: {
|
|
5
14
|
type: "showAlert";
|
|
6
|
-
execute(
|
|
15
|
+
execute(_context: ExecutionContext, step: ShowAlertStep): Promise<void>;
|
|
7
16
|
create(message: ValueInputProp<string>, alertType: NotificationType, alertDuration?: number, alertPosition?: NotificationPosition): {
|
|
8
17
|
type: "showAlert";
|
|
9
18
|
message: ValueInputProp<string>;
|
|
@@ -1,10 +1,16 @@
|
|
|
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 {
|
|
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
|
+
}
|
|
3
9
|
export declare const ResetStateVarTrigger: {
|
|
4
10
|
type: "resetStateVar";
|
|
5
11
|
execute(context: ExecutionContext, step: ResetStateVarStep): Promise<void>;
|
|
6
|
-
create(
|
|
12
|
+
create(stateVar?: WithBindingIdentifier): {
|
|
7
13
|
type: "resetStateVar";
|
|
8
|
-
|
|
14
|
+
state: WithBindingIdentifier | undefined;
|
|
9
15
|
};
|
|
10
16
|
};
|
|
@@ -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 {
|
|
3
|
-
|
|
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(
|
|
14
|
+
create(stateVar?: WithBindingIdentifier, value?: ValueInputProp): {
|
|
8
15
|
type: "setStateVar";
|
|
9
|
-
|
|
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
|
-
|
|
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(
|
|
12
|
+
create(timerId: string, action: "start" | "stop" | "toggle"): {
|
|
7
13
|
type: "controlTimer";
|
|
8
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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 {
|
|
3
|
+
import type { SbEventFlow } from "../user-facing/sb-event-flow.js";
|
|
4
4
|
export declare const runEventHandlers: ({ flow, name, scopeId, additionalContext, }: {
|
|
5
|
-
flow?:
|
|
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
|
|
3
|
-
label: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
2
|
+
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
3
|
+
label: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
4
4
|
}>;
|
|
5
|
-
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
6
|
-
padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true
|
|
5
|
+
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
6
|
+
padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
7
7
|
} & {
|
|
8
|
-
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
9
|
-
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
10
|
-
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
11
|
-
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
12
|
-
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
13
|
-
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
8
|
+
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
9
|
+
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
10
|
+
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
11
|
+
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
12
|
+
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
13
|
+
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
14
14
|
} & {
|
|
15
15
|
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
16
16
|
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
17
17
|
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
18
18
|
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
19
19
|
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
20
|
-
} | undefined, true
|
|
20
|
+
} | undefined, true>;
|
|
21
21
|
} & {
|
|
22
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
22
|
+
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
23
23
|
}>;
|
|
24
|
-
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
25
|
-
variant: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ButtonVariant, true
|
|
26
|
-
icon: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
27
|
-
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true
|
|
28
|
-
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
29
|
-
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true
|
|
30
|
-
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true
|
|
31
|
-
borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true
|
|
32
|
-
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true
|
|
33
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
24
|
+
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
25
|
+
variant: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ButtonVariant, true>;
|
|
26
|
+
icon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
27
|
+
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
28
|
+
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
29
|
+
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
30
|
+
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
|
|
31
|
+
borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
32
|
+
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true>;
|
|
33
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
34
34
|
}>;
|
|
35
|
-
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
36
|
-
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
35
|
+
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
36
|
+
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
37
37
|
}>;
|
|
38
|
-
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
39
|
-
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
38
|
+
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
39
|
+
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
40
40
|
}>;
|
|
41
41
|
}>>;
|
|
@@ -4,43 +4,43 @@ import type { Dim } from "@superblocksteam/library-shared";
|
|
|
4
4
|
import type { HorizontalAlign } from "@superblocksteam/library-shared/props";
|
|
5
5
|
export type ButtonVariant = "primary" | "secondary" | "tertiary";
|
|
6
6
|
export declare const propertiesDefinition: {
|
|
7
|
-
general: Section<Record<string, Prop<any, any
|
|
8
|
-
label: Prop<string, false
|
|
7
|
+
general: Section<Record<string, Prop<any, any>> & {
|
|
8
|
+
label: Prop<string, false>;
|
|
9
9
|
}>;
|
|
10
|
-
layout: Section<Record<string, Prop<any, any
|
|
11
|
-
padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true
|
|
10
|
+
layout: Section<Record<string, Prop<any, any>> & {
|
|
11
|
+
padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
12
12
|
} & {
|
|
13
|
-
maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
14
|
-
minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
15
|
-
maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
16
|
-
minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
17
|
-
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
18
|
-
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
13
|
+
maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
14
|
+
minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
15
|
+
maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
16
|
+
minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
17
|
+
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
18
|
+
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
19
19
|
} & {
|
|
20
20
|
margin: Prop<{
|
|
21
21
|
top: Dim<"px">;
|
|
22
22
|
bottom: Dim<"px">;
|
|
23
23
|
left: Dim<"px">;
|
|
24
24
|
right: Dim<"px">;
|
|
25
|
-
} | undefined, true
|
|
25
|
+
} | undefined, true>;
|
|
26
26
|
} & {
|
|
27
|
-
isVisible: Prop<boolean, true
|
|
27
|
+
isVisible: Prop<boolean, true>;
|
|
28
28
|
}>;
|
|
29
|
-
appearance: Section<Record<string, Prop<any, any
|
|
30
|
-
variant: Prop<ButtonVariant, true
|
|
31
|
-
icon: Prop<string, false
|
|
32
|
-
iconPosition: Prop<IconPosition, true
|
|
33
|
-
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
34
|
-
backgroundColor: Prop<string, true
|
|
35
|
-
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true
|
|
36
|
-
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true
|
|
37
|
-
horizontalAlign: Prop<HorizontalAlign, true
|
|
38
|
-
loading: Prop<boolean, true
|
|
29
|
+
appearance: Section<Record<string, Prop<any, any>> & {
|
|
30
|
+
variant: Prop<ButtonVariant, true>;
|
|
31
|
+
icon: Prop<string, false>;
|
|
32
|
+
iconPosition: Prop<IconPosition, true>;
|
|
33
|
+
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
34
|
+
backgroundColor: Prop<string, true>;
|
|
35
|
+
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
|
|
36
|
+
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
37
|
+
horizontalAlign: Prop<HorizontalAlign, true>;
|
|
38
|
+
loading: Prop<boolean, true>;
|
|
39
39
|
}>;
|
|
40
|
-
interaction: Section<Record<string, Prop<any, any
|
|
41
|
-
isDisabled: Prop<boolean, true
|
|
40
|
+
interaction: Section<Record<string, Prop<any, any>> & {
|
|
41
|
+
isDisabled: Prop<boolean, true>;
|
|
42
42
|
}>;
|
|
43
|
-
events: Section<Record<string, Prop<any, any
|
|
44
|
-
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
43
|
+
events: Section<Record<string, Prop<any, any>> & {
|
|
44
|
+
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
45
45
|
}>;
|
|
46
46
|
};
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
export declare const SbCheckbox: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
|
-
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
3
|
-
label: import("../../properties-panel/props-builder.js").Prop<string, true
|
|
4
|
-
defaultChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
2
|
+
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
3
|
+
label: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
4
|
+
defaultChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
5
5
|
}>;
|
|
6
|
-
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
7
|
-
labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
8
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
6
|
+
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
7
|
+
labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
8
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
9
9
|
}>;
|
|
10
|
-
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
11
|
-
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
12
|
-
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
13
|
-
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
14
|
-
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
15
|
-
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
16
|
-
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
10
|
+
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
11
|
+
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
12
|
+
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
13
|
+
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
14
|
+
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
15
|
+
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
16
|
+
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
17
17
|
} & {
|
|
18
18
|
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
19
19
|
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
20
20
|
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
21
21
|
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
22
22
|
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
23
|
-
} | undefined, true
|
|
23
|
+
} | undefined, true>;
|
|
24
24
|
} & {
|
|
25
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
25
|
+
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
26
26
|
}>;
|
|
27
|
-
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
28
|
-
customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true
|
|
29
|
-
customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true
|
|
30
|
-
isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, false
|
|
31
|
-
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
32
|
-
errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true
|
|
27
|
+
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
28
|
+
customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
29
|
+
customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
30
|
+
isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
31
|
+
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
32
|
+
errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
|
|
33
33
|
}>;
|
|
34
|
-
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
35
|
-
onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
34
|
+
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
35
|
+
onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
36
36
|
}>;
|
|
37
|
-
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
38
|
-
isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
39
|
-
isChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
37
|
+
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
38
|
+
isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
39
|
+
isChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
40
40
|
}>;
|
|
41
|
-
derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
42
|
-
value: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
43
|
-
validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true
|
|
44
|
-
isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
45
|
-
showError: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
41
|
+
derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
42
|
+
value: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
43
|
+
validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true>;
|
|
44
|
+
isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
45
|
+
showError: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
46
46
|
}>;
|
|
47
47
|
}>>;
|