@superblocksteam/library-shared 1.99.99-next.3 → 2.0.0-SNAPSHOT.04704c19f32b3902
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/computed.d.ts +4 -2
- package/dist/computed.d.ts.map +1 -1
- package/dist/computed.js +1 -1
- package/dist/computed.js.map +1 -1
- package/dist/default-structure.d.ts +12 -0
- package/dist/default-structure.d.ts.map +1 -0
- package/dist/default-structure.js +36 -0
- package/dist/default-structure.js.map +1 -0
- package/dist/event-trigger-constants.d.ts +2 -0
- package/dist/event-trigger-constants.d.ts.map +1 -0
- package/dist/event-trigger-constants.js +2 -0
- package/dist/event-trigger-constants.js.map +1 -0
- package/dist/index.d.ts +18 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -9
- package/dist/index.js.map +1 -1
- package/dist/layout.d.ts +12 -1
- package/dist/layout.d.ts.map +1 -1
- package/dist/layout.js +11 -4
- package/dist/layout.js.map +1 -1
- package/dist/mobx-sync/apply-patch.d.ts.map +1 -1
- package/dist/mobx-sync/apply-patch.js +23 -4
- package/dist/mobx-sync/apply-patch.js.map +1 -1
- package/dist/mobx-sync/to-patch.d.ts.map +1 -1
- package/dist/mobx-sync/to-patch.js.map +1 -1
- package/dist/pages.d.ts +76 -6
- package/dist/pages.d.ts.map +1 -1
- package/dist/pages.js +54 -2
- package/dist/pages.js.map +1 -1
- package/dist/pegs/find-string-interpolation.d.ts +12 -0
- package/dist/pegs/find-string-interpolation.d.ts.map +1 -0
- package/dist/pegs/find-string-interpolation.js +1265 -0
- package/dist/pegs/find-string-interpolation.js.map +1 -0
- package/dist/props/helpers.d.ts +1 -1
- package/dist/props/helpers.d.ts.map +1 -1
- package/dist/props/helpers.js +13 -5
- package/dist/props/helpers.js.map +1 -1
- package/dist/props/prop-types.d.ts +24 -13
- package/dist/props/prop-types.d.ts.map +1 -1
- package/dist/props/prop-types.js.map +1 -1
- package/dist/props/properties-panel.d.ts +61 -26
- package/dist/props/properties-panel.d.ts.map +1 -1
- package/dist/props/properties-panel.js +2 -5
- package/dist/props/properties-panel.js.map +1 -1
- package/dist/props/tailwind-property-keys.d.ts +5 -0
- package/dist/props/tailwind-property-keys.d.ts.map +1 -0
- package/dist/props/tailwind-property-keys.js +234 -0
- package/dist/props/tailwind-property-keys.js.map +1 -0
- package/dist/restart-contract.d.ts +35 -0
- package/dist/restart-contract.d.ts.map +1 -0
- package/dist/restart-contract.js +49 -0
- package/dist/restart-contract.js.map +1 -0
- package/dist/scope.d.ts +2 -0
- package/dist/scope.d.ts.map +1 -1
- package/dist/scope.js +3 -0
- package/dist/scope.js.map +1 -1
- package/dist/types/ai.d.ts +1721 -0
- package/dist/types/ai.d.ts.map +1 -0
- package/dist/types/ai.js +432 -0
- package/dist/types/ai.js.map +1 -0
- package/dist/types/apis.d.ts +44 -1
- package/dist/types/apis.d.ts.map +1 -1
- package/dist/types/base-entity-manager.d.ts +15 -0
- package/dist/types/base-entity-manager.d.ts.map +1 -0
- package/dist/types/base-entity-manager.js +2 -0
- package/dist/types/base-entity-manager.js.map +1 -0
- package/dist/types/common.d.ts +2 -1
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/edit-operations.d.ts +26 -23
- package/dist/types/edit-operations.d.ts.map +1 -1
- package/dist/types/edit-operations.js +2 -0
- package/dist/types/edit-operations.js.map +1 -1
- package/dist/types/entities.d.ts +10 -29
- package/dist/types/entities.d.ts.map +1 -1
- package/dist/types/entities.js +0 -5
- package/dist/types/entities.js.map +1 -1
- package/dist/types/errors.d.ts +82 -1
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.js +15 -1
- package/dist/types/errors.js.map +1 -1
- package/dist/types/events.d.ts +218 -26
- package/dist/types/events.d.ts.map +1 -1
- package/dist/types/events.js +33 -5
- package/dist/types/events.js.map +1 -1
- package/dist/types/index.d.ts +19 -7
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +19 -7
- package/dist/types/index.js.map +1 -1
- package/dist/types/migration.d.ts +240 -0
- package/dist/types/migration.d.ts.map +1 -0
- package/dist/types/migration.js +50 -0
- package/dist/types/migration.js.map +1 -0
- package/dist/types/mobx-shared-state.d.ts +27 -1
- package/dist/types/mobx-shared-state.d.ts.map +1 -1
- package/dist/types/parent-messages.d.ts +16 -7
- package/dist/types/parent-messages.d.ts.map +1 -1
- package/dist/types/persisted-chat-message.d.ts +55 -0
- package/dist/types/persisted-chat-message.d.ts.map +1 -0
- package/dist/types/persisted-chat-message.js +752 -0
- package/dist/types/persisted-chat-message.js.map +1 -0
- package/dist/types/protected-packages.d.ts +54 -0
- package/dist/types/protected-packages.d.ts.map +1 -0
- package/dist/types/protected-packages.js +91 -0
- package/dist/types/protected-packages.js.map +1 -0
- package/dist/types/register-component.d.ts +128 -0
- package/dist/types/register-component.d.ts.map +1 -0
- package/dist/types/register-component.js +45 -0
- package/dist/types/register-component.js.map +1 -0
- package/dist/types/routing.d.ts +68 -0
- package/dist/types/routing.d.ts.map +1 -0
- package/dist/types/routing.js +2 -0
- package/dist/types/routing.js.map +1 -0
- package/dist/types/runtime-sync.d.ts +32 -0
- package/dist/types/runtime-sync.d.ts.map +1 -0
- package/dist/types/runtime-sync.js +2 -0
- package/dist/types/runtime-sync.js.map +1 -0
- package/dist/types/scope.d.ts +8 -6
- package/dist/types/scope.d.ts.map +1 -1
- package/dist/types/snapshot.d.ts +53 -0
- package/dist/types/snapshot.d.ts.map +1 -0
- package/dist/types/snapshot.js +2 -0
- package/dist/types/snapshot.js.map +1 -0
- package/dist/types/socket.d.ts +668 -48
- package/dist/types/socket.d.ts.map +1 -1
- package/dist/types/theme.d.ts +8 -7
- package/dist/types/theme.d.ts.map +1 -1
- package/dist/types/theme.js +5 -6
- package/dist/types/theme.js.map +1 -1
- package/dist/types/tool-permission-response.d.ts +5 -0
- package/dist/types/tool-permission-response.d.ts.map +1 -0
- package/dist/types/tool-permission-response.js +26 -0
- package/dist/types/tool-permission-response.js.map +1 -0
- package/dist/types/vite.d.ts +29 -0
- package/dist/types/vite.d.ts.map +1 -0
- package/dist/types/vite.js +6 -0
- package/dist/types/vite.js.map +1 -0
- package/dist/urls.d.ts +7 -0
- package/dist/urls.d.ts.map +1 -0
- package/dist/urls.js +6 -0
- package/dist/urls.js.map +1 -0
- package/dist/utils/binding-identifier.d.ts +1 -0
- package/dist/utils/binding-identifier.d.ts.map +1 -1
- package/dist/utils/binding-identifier.js +3 -0
- package/dist/utils/binding-identifier.js.map +1 -1
- package/dist/utils/blocks.d.ts +3 -0
- package/dist/utils/blocks.d.ts.map +1 -0
- package/dist/utils/blocks.js +70 -0
- package/dist/utils/blocks.js.map +1 -0
- package/dist/utils/computed-args.d.ts +11 -0
- package/dist/utils/computed-args.d.ts.map +1 -0
- package/dist/utils/computed-args.js +13 -0
- package/dist/utils/computed-args.js.map +1 -0
- package/dist/utils/dev-server-authorization.d.ts +4 -0
- package/dist/utils/dev-server-authorization.d.ts.map +1 -0
- package/dist/utils/dev-server-authorization.js +56 -0
- package/dist/utils/dev-server-authorization.js.map +1 -0
- package/dist/utils/dotted-paths.js +1 -1
- package/dist/utils/dotted-paths.js.map +1 -1
- package/dist/utils/properties.d.ts +12 -9
- package/dist/utils/properties.d.ts.map +1 -1
- package/dist/utils/properties.js +14 -6
- package/dist/utils/properties.js.map +1 -1
- package/dist/utils/routing.d.ts +5 -0
- package/dist/utils/routing.d.ts.map +1 -0
- package/dist/utils/routing.js +16 -0
- package/dist/utils/routing.js.map +1 -0
- package/dist/utils/strings.d.ts +12 -0
- package/dist/utils/strings.d.ts.map +1 -1
- package/dist/utils/strings.js +40 -1
- package/dist/utils/strings.js.map +1 -1
- package/package.json +41 -25
- package/dist/apis.d.ts +0 -2
- package/dist/apis.d.ts.map +0 -1
- package/dist/apis.js +0 -4
- package/dist/apis.js.map +0 -1
package/dist/types/events.d.ts
CHANGED
|
@@ -1,47 +1,239 @@
|
|
|
1
|
+
import type { ApplicationScope } from "@superblocksteam/shared";
|
|
2
|
+
import type { Executable, ScopedState, ValueInputProp } from "./base-entity-manager.js";
|
|
1
3
|
import type { WithBindingIdentifier } from "./binding-identifiers.js";
|
|
2
|
-
import type { SbApi } from "./entities.js";
|
|
4
|
+
import type { SbApi, SbApiWithFunctions } from "./entities.js";
|
|
5
|
+
type WidgetTypes = string;
|
|
6
|
+
export type SelectedStateVarProps = {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
scope?: ApplicationScope;
|
|
10
|
+
};
|
|
11
|
+
export type SelectedEventProps = {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
scope?: ApplicationScope;
|
|
15
|
+
};
|
|
16
|
+
export type SelectedWidgetProps = {
|
|
17
|
+
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated use `name` instead
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated use `name` instead
|
|
24
|
+
*/
|
|
25
|
+
scope?: ApplicationScope;
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated use `name` instead
|
|
28
|
+
*/
|
|
29
|
+
type?: WidgetTypes;
|
|
30
|
+
};
|
|
31
|
+
export type SelectedTimerProps = {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
scope: ApplicationScope;
|
|
35
|
+
};
|
|
3
36
|
export declare const TriggerStepType: {
|
|
4
37
|
readonly RUN_JS: "runJs";
|
|
5
|
-
readonly RUN_APIS: "executeApi";
|
|
6
|
-
readonly CANCEL_APIS: "cancelApi";
|
|
7
38
|
readonly NAVIGATE_TO: "navigateTo";
|
|
8
39
|
readonly NAVIGATE_TO_APP: "navigateToApp";
|
|
9
40
|
readonly NAVIGATE_TO_ROUTE: "navigateToRoute";
|
|
10
41
|
readonly SET_QUERY_PARAMS: "setQueryParams";
|
|
11
|
-
readonly CONTROL_SLIDEOUT: "controlSlideout";
|
|
12
|
-
readonly CONTROL_MODAL: "controlModal";
|
|
13
42
|
readonly CONTROL_TIMER: "controlTimer";
|
|
43
|
+
readonly RUN_APIS: "executeApi";
|
|
44
|
+
readonly CANCEL_APIS: "cancelApi";
|
|
14
45
|
readonly RESET_COMPONENT: "resetComponent";
|
|
46
|
+
readonly SET_COMPONENT_PROPERTY: "setComponentProperty";
|
|
15
47
|
readonly RESET_STATE_VAR: "resetStateVar";
|
|
16
48
|
readonly SET_STATE_VAR: "setStateVar";
|
|
17
|
-
readonly SET_COMPONENT_PROPERTY: "setComponentProperty";
|
|
18
49
|
readonly SHOW_ALERT: "showAlert";
|
|
19
50
|
readonly SET_PROFILE: "setProfile";
|
|
20
51
|
readonly TRIGGER_EVENT: "triggerEvent";
|
|
21
52
|
};
|
|
22
53
|
export type TriggerStepType = (typeof TriggerStepType)[keyof typeof TriggerStepType];
|
|
23
|
-
export interface
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
54
|
+
export interface BaseStepDef {
|
|
55
|
+
id: string;
|
|
56
|
+
type: TriggerStepType;
|
|
57
|
+
}
|
|
58
|
+
export interface RunJsStep extends BaseStepDef {
|
|
59
|
+
type: typeof TriggerStepType.RUN_JS;
|
|
60
|
+
handler?: Executable;
|
|
61
|
+
code?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface NavigateToStep extends BaseStepDef {
|
|
64
|
+
type: typeof TriggerStepType.NAVIGATE_TO;
|
|
65
|
+
url: ValueInputProp<string>;
|
|
66
|
+
newWindow: boolean;
|
|
67
|
+
replaceHistory?: boolean;
|
|
68
|
+
arguments?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface NavigateToAppStep extends BaseStepDef {
|
|
71
|
+
type: typeof TriggerStepType.NAVIGATE_TO_APP;
|
|
72
|
+
targetApp: {
|
|
73
|
+
name: string;
|
|
74
|
+
id: string;
|
|
27
75
|
url: string;
|
|
76
|
+
};
|
|
77
|
+
queryParams: ValueInputProp<Record<string, string>>;
|
|
78
|
+
newWindowApp: boolean;
|
|
79
|
+
}
|
|
80
|
+
export interface NavigateToRouteStep extends BaseStepDef {
|
|
81
|
+
type: typeof TriggerStepType.NAVIGATE_TO_ROUTE;
|
|
82
|
+
routeId: string;
|
|
83
|
+
routePathDescriptor: string;
|
|
84
|
+
routeParams?: ValueInputProp<Record<string, string>>;
|
|
85
|
+
queryParams?: ValueInputProp<Record<string, string>>;
|
|
86
|
+
keepQueryParams?: boolean;
|
|
87
|
+
newWindow: boolean;
|
|
88
|
+
}
|
|
89
|
+
export interface SetQueryParamsStep extends BaseStepDef {
|
|
90
|
+
type: typeof TriggerStepType.SET_QUERY_PARAMS;
|
|
91
|
+
queryParams?: Record<string, ValueInputProp<string>>;
|
|
92
|
+
keepQueryParams?: boolean;
|
|
93
|
+
}
|
|
94
|
+
export interface ControlTimerStep extends BaseStepDef {
|
|
95
|
+
type: typeof TriggerStepType.CONTROL_TIMER;
|
|
96
|
+
timer?: WithBindingIdentifier;
|
|
97
|
+
action: "start" | "stop" | "toggle";
|
|
98
|
+
/**
|
|
99
|
+
* @deprecated use timer instead
|
|
100
|
+
*/
|
|
101
|
+
state?: SelectedTimerProps;
|
|
102
|
+
/**
|
|
103
|
+
* @deprecated use timer instead
|
|
104
|
+
*/
|
|
105
|
+
name?: string;
|
|
106
|
+
}
|
|
107
|
+
export interface RunApisStep extends BaseStepDef {
|
|
108
|
+
type: typeof TriggerStepType.RUN_APIS;
|
|
109
|
+
apis: SbApiWithFunctions[];
|
|
110
|
+
onSuccess?: IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
111
|
+
onError?: IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
112
|
+
}
|
|
113
|
+
export interface CancelApisStep extends BaseStepDef {
|
|
114
|
+
type: typeof TriggerStepType.CANCEL_APIS;
|
|
115
|
+
apis: SbApiWithFunctions[];
|
|
116
|
+
onCancel?: IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
117
|
+
}
|
|
118
|
+
export interface ResetComponentStep extends BaseStepDef {
|
|
119
|
+
type: typeof TriggerStepType.RESET_COMPONENT;
|
|
120
|
+
widget?: SelectedWidgetProps;
|
|
121
|
+
propertyName?: string;
|
|
122
|
+
}
|
|
123
|
+
export interface SetComponentPropertyStep extends BaseStepDef {
|
|
124
|
+
type: typeof TriggerStepType.SET_COMPONENT_PROPERTY;
|
|
125
|
+
widget?: SelectedWidgetProps;
|
|
126
|
+
propertyName: string;
|
|
127
|
+
propertyValue: ValueInputProp;
|
|
128
|
+
}
|
|
129
|
+
export interface ResetStateVarStep extends BaseStepDef {
|
|
130
|
+
type: typeof TriggerStepType.RESET_STATE_VAR;
|
|
131
|
+
variable?: WithBindingIdentifier;
|
|
132
|
+
/**
|
|
133
|
+
* @deprecated use variable instead
|
|
134
|
+
*/
|
|
135
|
+
state?: SelectedStateVarProps;
|
|
136
|
+
}
|
|
137
|
+
export interface SetStateVarStep extends BaseStepDef {
|
|
138
|
+
type: typeof TriggerStepType.SET_STATE_VAR;
|
|
139
|
+
variable?: WithBindingIdentifier;
|
|
140
|
+
value?: ValueInputProp;
|
|
141
|
+
/**
|
|
142
|
+
* @deprecated use variable instead
|
|
143
|
+
*/
|
|
144
|
+
state?: SelectedStateVarProps;
|
|
145
|
+
}
|
|
146
|
+
export type NotificationType = "info" | "success" | "warning" | "error";
|
|
147
|
+
export declare enum NotificationPosition {
|
|
148
|
+
bottomRight = "bottomRight",
|
|
149
|
+
bottomLeft = "bottomLeft",
|
|
150
|
+
topRight = "topRight",
|
|
151
|
+
topLeft = "topLeft",
|
|
152
|
+
top = "top",
|
|
153
|
+
bottom = "bottom"
|
|
154
|
+
}
|
|
155
|
+
export interface ShowAlertStep extends BaseStepDef {
|
|
156
|
+
type: typeof TriggerStepType.SHOW_ALERT;
|
|
157
|
+
message: ValueInputProp<string>;
|
|
158
|
+
style: NotificationType;
|
|
159
|
+
alertDuration?: number;
|
|
160
|
+
alertPosition?: NotificationPosition;
|
|
161
|
+
}
|
|
162
|
+
export interface SetProfileStep extends BaseStepDef {
|
|
163
|
+
type: typeof TriggerStepType.SET_PROFILE;
|
|
164
|
+
profileId: string;
|
|
165
|
+
action: "set" | "unset";
|
|
166
|
+
}
|
|
167
|
+
export interface TriggerEventStep extends BaseStepDef {
|
|
168
|
+
type: typeof TriggerStepType.TRIGGER_EVENT;
|
|
169
|
+
event: SelectedEventProps;
|
|
170
|
+
eventPayload?: Record<string, string>;
|
|
171
|
+
}
|
|
172
|
+
export type ValidStepDef = RunJsStep | NavigateToStep | NavigateToAppStep | NavigateToRouteStep | SetQueryParamsStep | ControlTimerStep | RunApisStep | CancelApisStep | ResetComponentStep | SetComponentPropertyStep | ResetStateVarStep | SetStateVarStep | ShowAlertStep | SetProfileStep | TriggerEventStep;
|
|
173
|
+
export type StepDef = {
|
|
174
|
+
id: string;
|
|
175
|
+
} | ValidStepDef;
|
|
176
|
+
export type MultiStepDef = StepDef[];
|
|
177
|
+
export type ValidMultiStepDef = ValidStepDef[];
|
|
178
|
+
export type EventArg = {
|
|
179
|
+
id: string;
|
|
180
|
+
name: string;
|
|
181
|
+
};
|
|
182
|
+
export type EventDefinition = {
|
|
183
|
+
id: string;
|
|
184
|
+
name: string;
|
|
185
|
+
arguments: EventArg[];
|
|
186
|
+
onTrigger: MultiStepDef;
|
|
187
|
+
};
|
|
188
|
+
export type EventDefinitionLoose = Omit<EventDefinition, "onTrigger"> & {
|
|
189
|
+
onTrigger: unknown[];
|
|
190
|
+
};
|
|
191
|
+
export declare function isValidStepDef(step: unknown): step is ValidStepDef;
|
|
192
|
+
export declare function isValidMultiStepDef(steps: unknown[]): steps is ValidMultiStepDef;
|
|
193
|
+
export interface IEventFlow<StepDef, ScopedState, ValueInputProp> {
|
|
194
|
+
steps: StepDef[];
|
|
195
|
+
runJS(handler: (s: ScopedState | any, additionalProps?: Record<string, any>) => void): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
196
|
+
navigateTo(url: string, opts?: {
|
|
28
197
|
newWindow?: boolean;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
198
|
+
replaceHistory?: boolean;
|
|
199
|
+
arguments?: string;
|
|
200
|
+
}): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
201
|
+
navigateToApp(appId: string): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
202
|
+
navigateToRoute(route: string): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
203
|
+
setQueryParams(params: Record<string, ValueInputProp>, opts?: {
|
|
204
|
+
keep?: boolean;
|
|
205
|
+
}): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
206
|
+
controlTimer(name: WithBindingIdentifier, opts: {
|
|
207
|
+
action: "start" | "stop" | "toggle";
|
|
208
|
+
}): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
209
|
+
runApis(apis: SbApi[], opts?: {
|
|
210
|
+
onSuccess?: IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
211
|
+
onError?: IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
212
|
+
}): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
213
|
+
cancelApis(apis: SbApi[], onCancel?: IEventFlow<StepDef, ScopedState, ValueInputProp>): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
214
|
+
resetComponent(component: unknown, opts?: {
|
|
215
|
+
property: string;
|
|
216
|
+
}): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
217
|
+
resetStateVar(stateVar: WithBindingIdentifier): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
218
|
+
setStateVar(stateVar: WithBindingIdentifier, opts: {
|
|
219
|
+
value: ValueInputProp;
|
|
220
|
+
}): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
221
|
+
setComponentProperty(component: unknown, opts: {
|
|
222
|
+
property: string;
|
|
223
|
+
value: ValueInputProp;
|
|
224
|
+
}): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
225
|
+
showAlert(message: ValueInputProp, opts?: {
|
|
226
|
+
type?: unknown;
|
|
227
|
+
durationMs?: number;
|
|
228
|
+
position?: unknown;
|
|
229
|
+
}): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
230
|
+
setProfile(profileId: string, opts: {
|
|
231
|
+
action: "set" | "unset";
|
|
232
|
+
}): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
233
|
+
triggerEvent(eventName: string, opts?: {
|
|
234
|
+
data: Record<string, string>;
|
|
235
|
+
}): IEventFlow<StepDef, ScopedState, ValueInputProp>;
|
|
45
236
|
build(): StepDef[];
|
|
46
237
|
}
|
|
238
|
+
export {};
|
|
47
239
|
//# sourceMappingURL=events.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/types/events.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/types/events.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAE/D,KAAK,WAAW,GAAG,MAAM,CAAC;AAE1B,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAA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Ac,CAAC;KACvB,GACA,UAAU,CAAC,OAAO,EAAE,WAAW,EAAE,cAAc,CAAC,CAAC;IACpD,SAAS,CACP,OAAO,EAAE,cAAc,EACvB,IAAI,CAAC,EAAE;QACL,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,GACA,UAAU,CAAC,OAAO,EAAE,WAAW,EAAE,cAAc,CAAC,CAAC;IACpD,UAAU,CACR,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE;QACJ,MAAM,EAAE,KAAK,GAAG,OAAO,CAAC;KACzB,GACA,UAAU,CAAC,OAAO,EAAE,WAAW,EAAE,cAAc,CAAC,CAAC;IACpD,YAAY,CACV,SAAS,EAAE,MAAM,EACjB,IAAI,CAAC,EAAE;QACL,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KAC9B,GACA,UAAU,CAAC,OAAO,EAAE,WAAW,EAAE,cAAc,CAAC,CAAC;IACpD,KAAK,IAAI,OAAO,EAAE,CAAC;CACpB"}
|
package/dist/types/events.js
CHANGED
|
@@ -1,21 +1,49 @@
|
|
|
1
|
+
import { isArray, isPlainObject } from "lodash-es";
|
|
1
2
|
// Saved in the DSL. Not the same strings as what gets used in the runtime
|
|
2
3
|
export const TriggerStepType = {
|
|
4
|
+
// Code execution
|
|
3
5
|
RUN_JS: "runJs",
|
|
4
|
-
|
|
5
|
-
CANCEL_APIS: "cancelApi",
|
|
6
|
+
// Navigation
|
|
6
7
|
NAVIGATE_TO: "navigateTo",
|
|
7
8
|
NAVIGATE_TO_APP: "navigateToApp",
|
|
8
9
|
NAVIGATE_TO_ROUTE: "navigateToRoute",
|
|
10
|
+
// Query params
|
|
9
11
|
SET_QUERY_PARAMS: "setQueryParams",
|
|
10
|
-
CONTROL_SLIDEOUT: "controlSlideout",
|
|
11
|
-
CONTROL_MODAL: "controlModal",
|
|
12
12
|
CONTROL_TIMER: "controlTimer",
|
|
13
|
+
// API execution
|
|
14
|
+
RUN_APIS: "executeApi",
|
|
15
|
+
CANCEL_APIS: "cancelApi",
|
|
16
|
+
// Component manipulation
|
|
13
17
|
RESET_COMPONENT: "resetComponent",
|
|
18
|
+
SET_COMPONENT_PROPERTY: "setComponentProperty",
|
|
19
|
+
// State variables
|
|
14
20
|
RESET_STATE_VAR: "resetStateVar",
|
|
15
21
|
SET_STATE_VAR: "setStateVar",
|
|
16
|
-
|
|
22
|
+
// Notifications
|
|
17
23
|
SHOW_ALERT: "showAlert",
|
|
24
|
+
// Profile & events
|
|
18
25
|
SET_PROFILE: "setProfile",
|
|
19
26
|
TRIGGER_EVENT: "triggerEvent",
|
|
20
27
|
};
|
|
28
|
+
export var NotificationPosition;
|
|
29
|
+
(function (NotificationPosition) {
|
|
30
|
+
NotificationPosition["bottomRight"] = "bottomRight";
|
|
31
|
+
NotificationPosition["bottomLeft"] = "bottomLeft";
|
|
32
|
+
NotificationPosition["topRight"] = "topRight";
|
|
33
|
+
NotificationPosition["topLeft"] = "topLeft";
|
|
34
|
+
NotificationPosition["top"] = "top";
|
|
35
|
+
NotificationPosition["bottom"] = "bottom";
|
|
36
|
+
})(NotificationPosition || (NotificationPosition = {}));
|
|
37
|
+
export function isValidStepDef(step) {
|
|
38
|
+
if (isPlainObject(step)) {
|
|
39
|
+
return "type" in step;
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
export function isValidMultiStepDef(steps) {
|
|
44
|
+
if (isArray(steps)) {
|
|
45
|
+
return steps.every(isValidStepDef);
|
|
46
|
+
}
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
21
49
|
//# sourceMappingURL=events.js.map
|
package/dist/types/events.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/types/events.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["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dist/types/index.d.ts
CHANGED
|
@@ -1,14 +1,26 @@
|
|
|
1
|
+
export * from "./ai.js";
|
|
2
|
+
export * from "./tool-permission-response.js";
|
|
3
|
+
export * from "./apis.js";
|
|
4
|
+
export * from "./base-entity-manager.js";
|
|
5
|
+
export * from "./binding-identifiers.js";
|
|
6
|
+
export * from "./common.js";
|
|
7
|
+
export * from "./edit-operations.js";
|
|
8
|
+
export * from "./register-component.js";
|
|
1
9
|
export * from "./entities.js";
|
|
10
|
+
export * from "./errors.js";
|
|
2
11
|
export * from "./events.js";
|
|
12
|
+
export * from "./migration.js";
|
|
13
|
+
export * from "./mobx-patch.js";
|
|
14
|
+
export * from "./mobx-shared-state.js";
|
|
3
15
|
export * from "./parent-messages.js";
|
|
16
|
+
export * from "./persisted-chat-message.js";
|
|
17
|
+
export * from "./protected-packages.js";
|
|
18
|
+
export * from "./routing.js";
|
|
19
|
+
export * from "./runtime-sync.js";
|
|
4
20
|
export * from "./scope.js";
|
|
21
|
+
export * from "./snapshot.js";
|
|
5
22
|
export * from "./socket.js";
|
|
6
23
|
export * from "./theme.js";
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./apis.js";
|
|
10
|
-
export * from "./errors.js";
|
|
11
|
-
export * from "./mobx-patch.js";
|
|
12
|
-
export * from "./mobx-shared-state.js";
|
|
13
|
-
export * from "./binding-identifiers.js";
|
|
24
|
+
export * from "./vite.js";
|
|
25
|
+
export * from "./events.js";
|
|
14
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,+BAA+B,CAAC;AAC9C,cAAc,WAAW,CAAC;AAC1B,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|
package/dist/types/index.js
CHANGED
|
@@ -1,14 +1,26 @@
|
|
|
1
|
+
export * from "./ai.js";
|
|
2
|
+
export * from "./tool-permission-response.js";
|
|
3
|
+
export * from "./apis.js";
|
|
4
|
+
export * from "./base-entity-manager.js";
|
|
5
|
+
export * from "./binding-identifiers.js";
|
|
6
|
+
export * from "./common.js";
|
|
7
|
+
export * from "./edit-operations.js";
|
|
8
|
+
export * from "./register-component.js";
|
|
1
9
|
export * from "./entities.js";
|
|
10
|
+
export * from "./errors.js";
|
|
2
11
|
export * from "./events.js";
|
|
12
|
+
export * from "./migration.js";
|
|
13
|
+
export * from "./mobx-patch.js";
|
|
14
|
+
export * from "./mobx-shared-state.js";
|
|
3
15
|
export * from "./parent-messages.js";
|
|
16
|
+
export * from "./persisted-chat-message.js";
|
|
17
|
+
export * from "./protected-packages.js";
|
|
18
|
+
export * from "./routing.js";
|
|
19
|
+
export * from "./runtime-sync.js";
|
|
4
20
|
export * from "./scope.js";
|
|
21
|
+
export * from "./snapshot.js";
|
|
5
22
|
export * from "./socket.js";
|
|
6
23
|
export * from "./theme.js";
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./apis.js";
|
|
10
|
-
export * from "./errors.js";
|
|
11
|
-
export * from "./mobx-patch.js";
|
|
12
|
-
export * from "./mobx-shared-state.js";
|
|
13
|
-
export * from "./binding-identifiers.js";
|
|
24
|
+
export * from "./vite.js";
|
|
25
|
+
export * from "./events.js";
|
|
14
26
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,+BAA+B,CAAC;AAC9C,cAAc,WAAW,CAAC;AAC1B,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|