@dxs-ts/eveli-ide 0.0.107 → 0.0.109
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/build/index.d.ts +113 -155
- package/build/index.js +104038 -66893
- package/build/style.css +1 -1
- package/package.json +10 -9
package/build/index.d.ts
CHANGED
|
@@ -908,16 +908,6 @@ export declare const wrenchIntl: {
|
|
|
908
908
|
export { }
|
|
909
909
|
|
|
910
910
|
|
|
911
|
-
declare module 'react' {
|
|
912
|
-
interface CSSProperties {
|
|
913
|
-
'--tree-view-text-color'?: string;
|
|
914
|
-
'--tree-view-color'?: string;
|
|
915
|
-
'--tree-view-bg-color'?: string;
|
|
916
|
-
'--tree-view-hover-color'?: string;
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
|
|
921
911
|
declare namespace HdesClient {
|
|
922
912
|
}
|
|
923
913
|
|
|
@@ -963,6 +953,118 @@ declare namespace HdesClient {
|
|
|
963
953
|
}
|
|
964
954
|
|
|
965
955
|
|
|
956
|
+
declare module 'react' {
|
|
957
|
+
interface CSSProperties {
|
|
958
|
+
'--tree-view-text-color'?: string;
|
|
959
|
+
'--tree-view-color'?: string;
|
|
960
|
+
'--tree-view-bg-color'?: string;
|
|
961
|
+
'--tree-view-hover-color'?: string;
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
declare namespace WrenchComposerApi {
|
|
967
|
+
interface Nav {
|
|
968
|
+
value?: string | null;
|
|
969
|
+
}
|
|
970
|
+
interface TabData {
|
|
971
|
+
nav?: Nav;
|
|
972
|
+
withNav(nav: Nav): TabData;
|
|
973
|
+
}
|
|
974
|
+
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
975
|
+
}
|
|
976
|
+
interface DebugSession {
|
|
977
|
+
error?: HdesApi.StoreError;
|
|
978
|
+
debug?: HdesApi.DebugResponse;
|
|
979
|
+
csv?: string;
|
|
980
|
+
json?: string;
|
|
981
|
+
selected: HdesApi.EntityId;
|
|
982
|
+
inputType: DebugInputType;
|
|
983
|
+
}
|
|
984
|
+
type DebugInputType = "CSV" | "JSON";
|
|
985
|
+
interface DebugSessions {
|
|
986
|
+
selected?: HdesApi.EntityId;
|
|
987
|
+
values: Record<HdesApi.EntityId, DebugSession>;
|
|
988
|
+
}
|
|
989
|
+
interface PageUpdate {
|
|
990
|
+
saved: boolean;
|
|
991
|
+
origin: HdesApi.Entity<any>;
|
|
992
|
+
value: HdesApi.AstCommand[];
|
|
993
|
+
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
994
|
+
}
|
|
995
|
+
interface Session {
|
|
996
|
+
site: HdesApi.Site;
|
|
997
|
+
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
998
|
+
debug: DebugSessions;
|
|
999
|
+
branchName?: string;
|
|
1000
|
+
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
1001
|
+
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
1002
|
+
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
1003
|
+
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1004
|
+
withDebug(page: DebugSession): Session;
|
|
1005
|
+
withPage(page: HdesApi.EntityId): Session;
|
|
1006
|
+
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1007
|
+
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1008
|
+
withBranch(branchName?: string): Session;
|
|
1009
|
+
withSite(site: HdesApi.Site): Session;
|
|
1010
|
+
}
|
|
1011
|
+
interface Actions {
|
|
1012
|
+
handleLoad(): Promise<void>;
|
|
1013
|
+
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1014
|
+
handleDebugUpdate(debug: DebugSession): void;
|
|
1015
|
+
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1016
|
+
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1017
|
+
handleBranchUpdate(branchName?: string): void;
|
|
1018
|
+
}
|
|
1019
|
+
interface ContextType {
|
|
1020
|
+
session: Session;
|
|
1021
|
+
actions: Actions;
|
|
1022
|
+
service: HdesApi.Service;
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
declare namespace WrenchComposerApi {
|
|
1028
|
+
class ImmutableTabData implements TabData {
|
|
1029
|
+
private _nav;
|
|
1030
|
+
constructor(props: {
|
|
1031
|
+
nav: Nav;
|
|
1032
|
+
});
|
|
1033
|
+
get nav(): Nav;
|
|
1034
|
+
withNav(nav: Nav): ImmutableTabData;
|
|
1035
|
+
}
|
|
1036
|
+
const createTab: (props: {
|
|
1037
|
+
nav: Nav;
|
|
1038
|
+
page?: HdesApi.Entity<any>;
|
|
1039
|
+
}) => ImmutableTabData;
|
|
1040
|
+
const ComposerContext: React.Context<ContextType>;
|
|
1041
|
+
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1042
|
+
const useComposer: () => {
|
|
1043
|
+
session: Session;
|
|
1044
|
+
service: HdesApi.Service;
|
|
1045
|
+
actions: Actions;
|
|
1046
|
+
site: HdesApi.Site;
|
|
1047
|
+
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1048
|
+
};
|
|
1049
|
+
const useSite: () => HdesApi.Site;
|
|
1050
|
+
const useBranchName: () => string | undefined;
|
|
1051
|
+
const useSession: () => Session;
|
|
1052
|
+
const useNav: () => {
|
|
1053
|
+
handleInTab: (props: {
|
|
1054
|
+
article: HdesApi.Entity<any>;
|
|
1055
|
+
}) => void;
|
|
1056
|
+
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1057
|
+
};
|
|
1058
|
+
const useDebug: () => {
|
|
1059
|
+
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1060
|
+
};
|
|
1061
|
+
const Provider: React.FC<{
|
|
1062
|
+
children: React.ReactNode;
|
|
1063
|
+
service: HdesApi.Service;
|
|
1064
|
+
}>;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
|
|
966
1068
|
declare namespace StencilComposerApi {
|
|
967
1069
|
interface SearchData {
|
|
968
1070
|
values: readonly SearchDataEntry[];
|
|
@@ -1120,108 +1222,6 @@ declare namespace StencilComposerApi {
|
|
|
1120
1222
|
}>;
|
|
1121
1223
|
}
|
|
1122
1224
|
|
|
1123
|
-
|
|
1124
|
-
declare namespace WrenchComposerApi {
|
|
1125
|
-
interface Nav {
|
|
1126
|
-
value?: string | null;
|
|
1127
|
-
}
|
|
1128
|
-
interface TabData {
|
|
1129
|
-
nav?: Nav;
|
|
1130
|
-
withNav(nav: Nav): TabData;
|
|
1131
|
-
}
|
|
1132
|
-
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
1133
|
-
}
|
|
1134
|
-
interface DebugSession {
|
|
1135
|
-
error?: HdesApi.StoreError;
|
|
1136
|
-
debug?: HdesApi.DebugResponse;
|
|
1137
|
-
csv?: string;
|
|
1138
|
-
json?: string;
|
|
1139
|
-
selected: HdesApi.EntityId;
|
|
1140
|
-
inputType: DebugInputType;
|
|
1141
|
-
}
|
|
1142
|
-
type DebugInputType = "CSV" | "JSON";
|
|
1143
|
-
interface DebugSessions {
|
|
1144
|
-
selected?: HdesApi.EntityId;
|
|
1145
|
-
values: Record<HdesApi.EntityId, DebugSession>;
|
|
1146
|
-
}
|
|
1147
|
-
interface PageUpdate {
|
|
1148
|
-
saved: boolean;
|
|
1149
|
-
origin: HdesApi.Entity<any>;
|
|
1150
|
-
value: HdesApi.AstCommand[];
|
|
1151
|
-
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
1152
|
-
}
|
|
1153
|
-
interface Session {
|
|
1154
|
-
site: HdesApi.Site;
|
|
1155
|
-
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
1156
|
-
debug: DebugSessions;
|
|
1157
|
-
branchName?: string;
|
|
1158
|
-
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
1159
|
-
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
1160
|
-
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
1161
|
-
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1162
|
-
withDebug(page: DebugSession): Session;
|
|
1163
|
-
withPage(page: HdesApi.EntityId): Session;
|
|
1164
|
-
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1165
|
-
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1166
|
-
withBranch(branchName?: string): Session;
|
|
1167
|
-
withSite(site: HdesApi.Site): Session;
|
|
1168
|
-
}
|
|
1169
|
-
interface Actions {
|
|
1170
|
-
handleLoad(): Promise<void>;
|
|
1171
|
-
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1172
|
-
handleDebugUpdate(debug: DebugSession): void;
|
|
1173
|
-
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1174
|
-
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1175
|
-
handleBranchUpdate(branchName?: string): void;
|
|
1176
|
-
}
|
|
1177
|
-
interface ContextType {
|
|
1178
|
-
session: Session;
|
|
1179
|
-
actions: Actions;
|
|
1180
|
-
service: HdesApi.Service;
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
declare namespace WrenchComposerApi {
|
|
1186
|
-
class ImmutableTabData implements TabData {
|
|
1187
|
-
private _nav;
|
|
1188
|
-
constructor(props: {
|
|
1189
|
-
nav: Nav;
|
|
1190
|
-
});
|
|
1191
|
-
get nav(): Nav;
|
|
1192
|
-
withNav(nav: Nav): ImmutableTabData;
|
|
1193
|
-
}
|
|
1194
|
-
const createTab: (props: {
|
|
1195
|
-
nav: Nav;
|
|
1196
|
-
page?: HdesApi.Entity<any>;
|
|
1197
|
-
}) => ImmutableTabData;
|
|
1198
|
-
const ComposerContext: React.Context<ContextType>;
|
|
1199
|
-
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1200
|
-
const useComposer: () => {
|
|
1201
|
-
session: Session;
|
|
1202
|
-
service: HdesApi.Service;
|
|
1203
|
-
actions: Actions;
|
|
1204
|
-
site: HdesApi.Site;
|
|
1205
|
-
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1206
|
-
};
|
|
1207
|
-
const useSite: () => HdesApi.Site;
|
|
1208
|
-
const useBranchName: () => string | undefined;
|
|
1209
|
-
const useSession: () => Session;
|
|
1210
|
-
const useNav: () => {
|
|
1211
|
-
handleInTab: (props: {
|
|
1212
|
-
article: HdesApi.Entity<any>;
|
|
1213
|
-
}) => void;
|
|
1214
|
-
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1215
|
-
};
|
|
1216
|
-
const useDebug: () => {
|
|
1217
|
-
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1218
|
-
};
|
|
1219
|
-
const Provider: React.FC<{
|
|
1220
|
-
children: React.ReactNode;
|
|
1221
|
-
service: HdesApi.Service;
|
|
1222
|
-
}>;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
1225
|
declare namespace Decision {
|
|
1226
1226
|
const Table: import("react").FC<{
|
|
1227
1227
|
ast: import("../../client").HdesApi.AstDecision;
|
|
@@ -1253,51 +1253,9 @@ declare namespace Decision {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
|
|
1255
1255
|
|
|
1256
|
-
declare namespace Vis {
|
|
1257
|
-
interface Model {
|
|
1258
|
-
nodes: Node[];
|
|
1259
|
-
edges: Edge[];
|
|
1260
|
-
visited: string[];
|
|
1261
|
-
}
|
|
1262
|
-
interface Node {
|
|
1263
|
-
id: string;
|
|
1264
|
-
label: string;
|
|
1265
|
-
shape: 'circle' | 'diamond' | 'box' | undefined;
|
|
1266
|
-
parents: string[];
|
|
1267
|
-
color?: string;
|
|
1268
|
-
group?: string;
|
|
1269
|
-
externalId?: string;
|
|
1270
|
-
body?: any;
|
|
1271
|
-
widthConstraint?: {
|
|
1272
|
-
maximum: number;
|
|
1273
|
-
minimum: number;
|
|
1274
|
-
};
|
|
1275
|
-
x: number;
|
|
1276
|
-
y: number;
|
|
1277
|
-
}
|
|
1278
|
-
interface Edge {
|
|
1279
|
-
from: string;
|
|
1280
|
-
to: string;
|
|
1281
|
-
}
|
|
1282
|
-
interface InitProps {
|
|
1283
|
-
model?: Model;
|
|
1284
|
-
options: any;
|
|
1285
|
-
events: {
|
|
1286
|
-
onClick: (id: string) => void;
|
|
1287
|
-
onDoubleClick: (id: string) => void;
|
|
1288
|
-
};
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
declare namespace Vis {
|
|
1294
|
-
const create: (init: InitProps) => React.ReactElement;
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
1256
|
declare namespace GraphAPI {
|
|
1299
1257
|
const create: (props: {
|
|
1300
1258
|
fl: HdesApi.AstFlow;
|
|
1301
1259
|
models: HdesApi.Site;
|
|
1302
|
-
}) =>
|
|
1260
|
+
}) => Model | undefined;
|
|
1303
1261
|
}
|