@dxs-ts/eveli-ide 0.0.74 → 0.0.76
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 +145 -145
- package/build/index.js +1189 -1190
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -888,58 +888,6 @@ export declare const wrenchIntl: {
|
|
|
888
888
|
export { }
|
|
889
889
|
|
|
890
890
|
|
|
891
|
-
declare module 'react' {
|
|
892
|
-
interface CSSProperties {
|
|
893
|
-
'--tree-view-text-color'?: string;
|
|
894
|
-
'--tree-view-color'?: string;
|
|
895
|
-
'--tree-view-bg-color'?: string;
|
|
896
|
-
'--tree-view-hover-color'?: string;
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
declare module '@mui/styles/defaultTheme' {
|
|
902
|
-
interface DefaultTheme extends Theme {
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
declare module '@mui/material/styles' {
|
|
908
|
-
interface Palette {
|
|
909
|
-
article: Palette['primary'];
|
|
910
|
-
page: Palette['primary'];
|
|
911
|
-
link: Palette['primary'];
|
|
912
|
-
workflow: Palette['primary'];
|
|
913
|
-
release: Palette['primary'];
|
|
914
|
-
locale: Palette['primary'];
|
|
915
|
-
import: Palette['primary'];
|
|
916
|
-
activeItem: Palette['primary'];
|
|
917
|
-
save: Palette['primary'];
|
|
918
|
-
explorer: Palette['primary'];
|
|
919
|
-
explorerItem: Palette['primary'];
|
|
920
|
-
mainContent: Palette['primary'];
|
|
921
|
-
uiElements: Palette['primary'];
|
|
922
|
-
table: Palette['primary'];
|
|
923
|
-
}
|
|
924
|
-
interface PaletteOptions {
|
|
925
|
-
article: Palette['primary'];
|
|
926
|
-
page: Palette['primary'];
|
|
927
|
-
link: Palette['primary'];
|
|
928
|
-
workflow: Palette['primary'];
|
|
929
|
-
release: Palette['primary'];
|
|
930
|
-
locale: Palette['primary'];
|
|
931
|
-
import: Palette['primary'];
|
|
932
|
-
activeItem: Palette['primary'];
|
|
933
|
-
save: Palette['primary'];
|
|
934
|
-
explorer: Palette['primary'];
|
|
935
|
-
explorerItem: Palette['primary'];
|
|
936
|
-
mainContent: Palette['primary'];
|
|
937
|
-
uiElements: Palette['primary'];
|
|
938
|
-
table: Palette['primary'];
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
|
|
943
891
|
declare namespace HdesClient {
|
|
944
892
|
}
|
|
945
893
|
|
|
@@ -985,105 +933,55 @@ declare namespace HdesClient {
|
|
|
985
933
|
}
|
|
986
934
|
|
|
987
935
|
|
|
988
|
-
declare
|
|
989
|
-
interface
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
withNav(nav: Nav): TabData;
|
|
995
|
-
}
|
|
996
|
-
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
997
|
-
}
|
|
998
|
-
interface DebugSession {
|
|
999
|
-
error?: HdesApi.StoreError;
|
|
1000
|
-
debug?: HdesApi.DebugResponse;
|
|
1001
|
-
csv?: string;
|
|
1002
|
-
json?: string;
|
|
1003
|
-
selected: HdesApi.EntityId;
|
|
1004
|
-
inputType: DebugInputType;
|
|
1005
|
-
}
|
|
1006
|
-
type DebugInputType = "CSV" | "JSON";
|
|
1007
|
-
interface DebugSessions {
|
|
1008
|
-
selected?: HdesApi.EntityId;
|
|
1009
|
-
values: Record<HdesApi.EntityId, DebugSession>;
|
|
1010
|
-
}
|
|
1011
|
-
interface PageUpdate {
|
|
1012
|
-
saved: boolean;
|
|
1013
|
-
origin: HdesApi.Entity<any>;
|
|
1014
|
-
value: HdesApi.AstCommand[];
|
|
1015
|
-
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
1016
|
-
}
|
|
1017
|
-
interface Session {
|
|
1018
|
-
site: HdesApi.Site;
|
|
1019
|
-
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
1020
|
-
debug: DebugSessions;
|
|
1021
|
-
branchName?: string;
|
|
1022
|
-
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
1023
|
-
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
1024
|
-
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
1025
|
-
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1026
|
-
withDebug(page: DebugSession): Session;
|
|
1027
|
-
withPage(page: HdesApi.EntityId): Session;
|
|
1028
|
-
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1029
|
-
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1030
|
-
withBranch(branchName?: string): Session;
|
|
1031
|
-
withSite(site: HdesApi.Site): Session;
|
|
1032
|
-
}
|
|
1033
|
-
interface Actions {
|
|
1034
|
-
handleLoad(): Promise<void>;
|
|
1035
|
-
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1036
|
-
handleDebugUpdate(debug: DebugSession): void;
|
|
1037
|
-
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1038
|
-
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1039
|
-
handleBranchUpdate(branchName?: string): void;
|
|
936
|
+
declare module 'react' {
|
|
937
|
+
interface CSSProperties {
|
|
938
|
+
'--tree-view-text-color'?: string;
|
|
939
|
+
'--tree-view-color'?: string;
|
|
940
|
+
'--tree-view-bg-color'?: string;
|
|
941
|
+
'--tree-view-hover-color'?: string;
|
|
1040
942
|
}
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
declare module '@mui/styles/defaultTheme' {
|
|
947
|
+
interface DefaultTheme extends Theme {
|
|
1045
948
|
}
|
|
1046
949
|
}
|
|
1047
950
|
|
|
1048
951
|
|
|
1049
|
-
declare
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
952
|
+
declare module '@mui/material/styles' {
|
|
953
|
+
interface Palette {
|
|
954
|
+
article: Palette['primary'];
|
|
955
|
+
page: Palette['primary'];
|
|
956
|
+
link: Palette['primary'];
|
|
957
|
+
workflow: Palette['primary'];
|
|
958
|
+
release: Palette['primary'];
|
|
959
|
+
locale: Palette['primary'];
|
|
960
|
+
import: Palette['primary'];
|
|
961
|
+
activeItem: Palette['primary'];
|
|
962
|
+
save: Palette['primary'];
|
|
963
|
+
explorer: Palette['primary'];
|
|
964
|
+
explorerItem: Palette['primary'];
|
|
965
|
+
mainContent: Palette['primary'];
|
|
966
|
+
uiElements: Palette['primary'];
|
|
967
|
+
table: Palette['primary'];
|
|
968
|
+
}
|
|
969
|
+
interface PaletteOptions {
|
|
970
|
+
article: Palette['primary'];
|
|
971
|
+
page: Palette['primary'];
|
|
972
|
+
link: Palette['primary'];
|
|
973
|
+
workflow: Palette['primary'];
|
|
974
|
+
release: Palette['primary'];
|
|
975
|
+
locale: Palette['primary'];
|
|
976
|
+
import: Palette['primary'];
|
|
977
|
+
activeItem: Palette['primary'];
|
|
978
|
+
save: Palette['primary'];
|
|
979
|
+
explorer: Palette['primary'];
|
|
980
|
+
explorerItem: Palette['primary'];
|
|
981
|
+
mainContent: Palette['primary'];
|
|
982
|
+
uiElements: Palette['primary'];
|
|
983
|
+
table: Palette['primary'];
|
|
1057
984
|
}
|
|
1058
|
-
const createTab: (props: {
|
|
1059
|
-
nav: Nav;
|
|
1060
|
-
page?: HdesApi.Entity<any>;
|
|
1061
|
-
}) => ImmutableTabData;
|
|
1062
|
-
const ComposerContext: React.Context<ContextType>;
|
|
1063
|
-
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1064
|
-
const useComposer: () => {
|
|
1065
|
-
session: Session;
|
|
1066
|
-
service: HdesApi.Service;
|
|
1067
|
-
actions: Actions;
|
|
1068
|
-
site: HdesApi.Site;
|
|
1069
|
-
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1070
|
-
};
|
|
1071
|
-
const useSite: () => HdesApi.Site;
|
|
1072
|
-
const useBranchName: () => string | undefined;
|
|
1073
|
-
const useSession: () => Session;
|
|
1074
|
-
const useNav: () => {
|
|
1075
|
-
handleInTab: (props: {
|
|
1076
|
-
article: HdesApi.Entity<any>;
|
|
1077
|
-
}) => void;
|
|
1078
|
-
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1079
|
-
};
|
|
1080
|
-
const useDebug: () => {
|
|
1081
|
-
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1082
|
-
};
|
|
1083
|
-
const Provider: React.FC<{
|
|
1084
|
-
children: React.ReactNode;
|
|
1085
|
-
service: HdesApi.Service;
|
|
1086
|
-
}>;
|
|
1087
985
|
}
|
|
1088
986
|
|
|
1089
987
|
|
|
@@ -1244,6 +1142,108 @@ declare namespace StencilComposerApi {
|
|
|
1244
1142
|
}>;
|
|
1245
1143
|
}
|
|
1246
1144
|
|
|
1145
|
+
|
|
1146
|
+
declare namespace WrenchComposerApi {
|
|
1147
|
+
interface Nav {
|
|
1148
|
+
value?: string | null;
|
|
1149
|
+
}
|
|
1150
|
+
interface TabData {
|
|
1151
|
+
nav?: Nav;
|
|
1152
|
+
withNav(nav: Nav): TabData;
|
|
1153
|
+
}
|
|
1154
|
+
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
1155
|
+
}
|
|
1156
|
+
interface DebugSession {
|
|
1157
|
+
error?: HdesApi.StoreError;
|
|
1158
|
+
debug?: HdesApi.DebugResponse;
|
|
1159
|
+
csv?: string;
|
|
1160
|
+
json?: string;
|
|
1161
|
+
selected: HdesApi.EntityId;
|
|
1162
|
+
inputType: DebugInputType;
|
|
1163
|
+
}
|
|
1164
|
+
type DebugInputType = "CSV" | "JSON";
|
|
1165
|
+
interface DebugSessions {
|
|
1166
|
+
selected?: HdesApi.EntityId;
|
|
1167
|
+
values: Record<HdesApi.EntityId, DebugSession>;
|
|
1168
|
+
}
|
|
1169
|
+
interface PageUpdate {
|
|
1170
|
+
saved: boolean;
|
|
1171
|
+
origin: HdesApi.Entity<any>;
|
|
1172
|
+
value: HdesApi.AstCommand[];
|
|
1173
|
+
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
1174
|
+
}
|
|
1175
|
+
interface Session {
|
|
1176
|
+
site: HdesApi.Site;
|
|
1177
|
+
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
1178
|
+
debug: DebugSessions;
|
|
1179
|
+
branchName?: string;
|
|
1180
|
+
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
1181
|
+
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
1182
|
+
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
1183
|
+
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1184
|
+
withDebug(page: DebugSession): Session;
|
|
1185
|
+
withPage(page: HdesApi.EntityId): Session;
|
|
1186
|
+
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1187
|
+
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1188
|
+
withBranch(branchName?: string): Session;
|
|
1189
|
+
withSite(site: HdesApi.Site): Session;
|
|
1190
|
+
}
|
|
1191
|
+
interface Actions {
|
|
1192
|
+
handleLoad(): Promise<void>;
|
|
1193
|
+
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1194
|
+
handleDebugUpdate(debug: DebugSession): void;
|
|
1195
|
+
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1196
|
+
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1197
|
+
handleBranchUpdate(branchName?: string): void;
|
|
1198
|
+
}
|
|
1199
|
+
interface ContextType {
|
|
1200
|
+
session: Session;
|
|
1201
|
+
actions: Actions;
|
|
1202
|
+
service: HdesApi.Service;
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
declare namespace WrenchComposerApi {
|
|
1208
|
+
class ImmutableTabData implements TabData {
|
|
1209
|
+
private _nav;
|
|
1210
|
+
constructor(props: {
|
|
1211
|
+
nav: Nav;
|
|
1212
|
+
});
|
|
1213
|
+
get nav(): Nav;
|
|
1214
|
+
withNav(nav: Nav): ImmutableTabData;
|
|
1215
|
+
}
|
|
1216
|
+
const createTab: (props: {
|
|
1217
|
+
nav: Nav;
|
|
1218
|
+
page?: HdesApi.Entity<any>;
|
|
1219
|
+
}) => ImmutableTabData;
|
|
1220
|
+
const ComposerContext: React.Context<ContextType>;
|
|
1221
|
+
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1222
|
+
const useComposer: () => {
|
|
1223
|
+
session: Session;
|
|
1224
|
+
service: HdesApi.Service;
|
|
1225
|
+
actions: Actions;
|
|
1226
|
+
site: HdesApi.Site;
|
|
1227
|
+
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1228
|
+
};
|
|
1229
|
+
const useSite: () => HdesApi.Site;
|
|
1230
|
+
const useBranchName: () => string | undefined;
|
|
1231
|
+
const useSession: () => Session;
|
|
1232
|
+
const useNav: () => {
|
|
1233
|
+
handleInTab: (props: {
|
|
1234
|
+
article: HdesApi.Entity<any>;
|
|
1235
|
+
}) => void;
|
|
1236
|
+
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1237
|
+
};
|
|
1238
|
+
const useDebug: () => {
|
|
1239
|
+
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1240
|
+
};
|
|
1241
|
+
const Provider: React.FC<{
|
|
1242
|
+
children: React.ReactNode;
|
|
1243
|
+
service: HdesApi.Service;
|
|
1244
|
+
}>;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
1247
|
declare namespace Decision {
|
|
1248
1248
|
const Table: import("react").FC<{
|
|
1249
1249
|
ast: import("../../client").HdesApi.AstDecision;
|