@dxs-ts/eveli-ide 0.0.101 → 0.0.104
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 +102 -155
- package/build/index.js +29500 -29863
- package/package.json +2 -1
package/build/index.d.ts
CHANGED
|
@@ -96,17 +96,6 @@ export declare namespace BurgerApi {
|
|
|
96
96
|
handleTabCloseCurrent(): void;
|
|
97
97
|
handleTabCloseAll(): void;
|
|
98
98
|
}
|
|
99
|
-
export interface DrawerContextType {
|
|
100
|
-
session: DrawerSession;
|
|
101
|
-
actions: DrawerActions;
|
|
102
|
-
}
|
|
103
|
-
export interface DrawerSession {
|
|
104
|
-
drawer: boolean;
|
|
105
|
-
withDrawer(open: boolean): DrawerSession;
|
|
106
|
-
}
|
|
107
|
-
export interface DrawerActions {
|
|
108
|
-
handleDrawerOpen(open: boolean): void;
|
|
109
|
-
}
|
|
110
99
|
}
|
|
111
100
|
|
|
112
101
|
export declare const FeedbackComposer: default_2.FC<FeedbackComposerProps>;
|
|
@@ -929,48 +918,6 @@ declare module 'react' {
|
|
|
929
918
|
}
|
|
930
919
|
|
|
931
920
|
|
|
932
|
-
declare module '@mui/styles/defaultTheme' {
|
|
933
|
-
interface DefaultTheme extends Theme {
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
declare module '@mui/material/styles' {
|
|
939
|
-
interface Palette {
|
|
940
|
-
article: Palette['primary'];
|
|
941
|
-
page: Palette['primary'];
|
|
942
|
-
link: Palette['primary'];
|
|
943
|
-
workflow: Palette['primary'];
|
|
944
|
-
release: Palette['primary'];
|
|
945
|
-
locale: Palette['primary'];
|
|
946
|
-
import: Palette['primary'];
|
|
947
|
-
activeItem: Palette['primary'];
|
|
948
|
-
save: Palette['primary'];
|
|
949
|
-
explorer: Palette['primary'];
|
|
950
|
-
explorerItem: Palette['primary'];
|
|
951
|
-
mainContent: Palette['primary'];
|
|
952
|
-
uiElements: Palette['primary'];
|
|
953
|
-
table: Palette['primary'];
|
|
954
|
-
}
|
|
955
|
-
interface PaletteOptions {
|
|
956
|
-
article: Palette['primary'];
|
|
957
|
-
page: Palette['primary'];
|
|
958
|
-
link: Palette['primary'];
|
|
959
|
-
workflow: Palette['primary'];
|
|
960
|
-
release: Palette['primary'];
|
|
961
|
-
locale: Palette['primary'];
|
|
962
|
-
import: Palette['primary'];
|
|
963
|
-
activeItem: Palette['primary'];
|
|
964
|
-
save: Palette['primary'];
|
|
965
|
-
explorer: Palette['primary'];
|
|
966
|
-
explorerItem: Palette['primary'];
|
|
967
|
-
mainContent: Palette['primary'];
|
|
968
|
-
uiElements: Palette['primary'];
|
|
969
|
-
table: Palette['primary'];
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
|
|
974
921
|
declare namespace HdesClient {
|
|
975
922
|
}
|
|
976
923
|
|
|
@@ -1016,108 +963,6 @@ declare namespace HdesClient {
|
|
|
1016
963
|
}
|
|
1017
964
|
|
|
1018
965
|
|
|
1019
|
-
declare namespace WrenchComposerApi {
|
|
1020
|
-
interface Nav {
|
|
1021
|
-
value?: string | null;
|
|
1022
|
-
}
|
|
1023
|
-
interface TabData {
|
|
1024
|
-
nav?: Nav;
|
|
1025
|
-
withNav(nav: Nav): TabData;
|
|
1026
|
-
}
|
|
1027
|
-
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
1028
|
-
}
|
|
1029
|
-
interface DebugSession {
|
|
1030
|
-
error?: HdesApi.StoreError;
|
|
1031
|
-
debug?: HdesApi.DebugResponse;
|
|
1032
|
-
csv?: string;
|
|
1033
|
-
json?: string;
|
|
1034
|
-
selected: HdesApi.EntityId;
|
|
1035
|
-
inputType: DebugInputType;
|
|
1036
|
-
}
|
|
1037
|
-
type DebugInputType = "CSV" | "JSON";
|
|
1038
|
-
interface DebugSessions {
|
|
1039
|
-
selected?: HdesApi.EntityId;
|
|
1040
|
-
values: Record<HdesApi.EntityId, DebugSession>;
|
|
1041
|
-
}
|
|
1042
|
-
interface PageUpdate {
|
|
1043
|
-
saved: boolean;
|
|
1044
|
-
origin: HdesApi.Entity<any>;
|
|
1045
|
-
value: HdesApi.AstCommand[];
|
|
1046
|
-
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
1047
|
-
}
|
|
1048
|
-
interface Session {
|
|
1049
|
-
site: HdesApi.Site;
|
|
1050
|
-
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
1051
|
-
debug: DebugSessions;
|
|
1052
|
-
branchName?: string;
|
|
1053
|
-
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
1054
|
-
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
1055
|
-
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
1056
|
-
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1057
|
-
withDebug(page: DebugSession): Session;
|
|
1058
|
-
withPage(page: HdesApi.EntityId): Session;
|
|
1059
|
-
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1060
|
-
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1061
|
-
withBranch(branchName?: string): Session;
|
|
1062
|
-
withSite(site: HdesApi.Site): Session;
|
|
1063
|
-
}
|
|
1064
|
-
interface Actions {
|
|
1065
|
-
handleLoad(): Promise<void>;
|
|
1066
|
-
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1067
|
-
handleDebugUpdate(debug: DebugSession): void;
|
|
1068
|
-
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1069
|
-
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1070
|
-
handleBranchUpdate(branchName?: string): void;
|
|
1071
|
-
}
|
|
1072
|
-
interface ContextType {
|
|
1073
|
-
session: Session;
|
|
1074
|
-
actions: Actions;
|
|
1075
|
-
service: HdesApi.Service;
|
|
1076
|
-
}
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
declare namespace WrenchComposerApi {
|
|
1081
|
-
class ImmutableTabData implements TabData {
|
|
1082
|
-
private _nav;
|
|
1083
|
-
constructor(props: {
|
|
1084
|
-
nav: Nav;
|
|
1085
|
-
});
|
|
1086
|
-
get nav(): Nav;
|
|
1087
|
-
withNav(nav: Nav): ImmutableTabData;
|
|
1088
|
-
}
|
|
1089
|
-
const createTab: (props: {
|
|
1090
|
-
nav: Nav;
|
|
1091
|
-
page?: HdesApi.Entity<any>;
|
|
1092
|
-
}) => ImmutableTabData;
|
|
1093
|
-
const ComposerContext: React.Context<ContextType>;
|
|
1094
|
-
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1095
|
-
const useComposer: () => {
|
|
1096
|
-
session: Session;
|
|
1097
|
-
service: HdesApi.Service;
|
|
1098
|
-
actions: Actions;
|
|
1099
|
-
site: HdesApi.Site;
|
|
1100
|
-
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1101
|
-
};
|
|
1102
|
-
const useSite: () => HdesApi.Site;
|
|
1103
|
-
const useBranchName: () => string | undefined;
|
|
1104
|
-
const useSession: () => Session;
|
|
1105
|
-
const useNav: () => {
|
|
1106
|
-
handleInTab: (props: {
|
|
1107
|
-
article: HdesApi.Entity<any>;
|
|
1108
|
-
}) => void;
|
|
1109
|
-
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1110
|
-
};
|
|
1111
|
-
const useDebug: () => {
|
|
1112
|
-
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1113
|
-
};
|
|
1114
|
-
const Provider: React.FC<{
|
|
1115
|
-
children: React.ReactNode;
|
|
1116
|
-
service: HdesApi.Service;
|
|
1117
|
-
}>;
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
966
|
declare namespace StencilComposerApi {
|
|
1122
967
|
interface SearchData {
|
|
1123
968
|
values: readonly SearchDataEntry[];
|
|
@@ -1275,6 +1120,108 @@ declare namespace StencilComposerApi {
|
|
|
1275
1120
|
}>;
|
|
1276
1121
|
}
|
|
1277
1122
|
|
|
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
|
+
|
|
1278
1225
|
declare namespace Decision {
|
|
1279
1226
|
const Table: import("react").FC<{
|
|
1280
1227
|
ast: import("../../client").HdesApi.AstDecision;
|