@dxs-ts/eveli-ide 0.0.49 → 0.0.50
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 -102
- package/build/index.js +5 -5
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -976,108 +976,6 @@ declare namespace HdesClient {
|
|
|
976
976
|
}
|
|
977
977
|
|
|
978
978
|
|
|
979
|
-
declare namespace WrenchComposerApi {
|
|
980
|
-
interface Nav {
|
|
981
|
-
value?: string | null;
|
|
982
|
-
}
|
|
983
|
-
interface TabData {
|
|
984
|
-
nav?: Nav;
|
|
985
|
-
withNav(nav: Nav): TabData;
|
|
986
|
-
}
|
|
987
|
-
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
988
|
-
}
|
|
989
|
-
interface DebugSession {
|
|
990
|
-
error?: HdesApi.StoreError;
|
|
991
|
-
debug?: HdesApi.DebugResponse;
|
|
992
|
-
csv?: string;
|
|
993
|
-
json?: string;
|
|
994
|
-
selected: HdesApi.EntityId;
|
|
995
|
-
inputType: DebugInputType;
|
|
996
|
-
}
|
|
997
|
-
type DebugInputType = "CSV" | "JSON";
|
|
998
|
-
interface DebugSessions {
|
|
999
|
-
selected?: HdesApi.EntityId;
|
|
1000
|
-
values: Record<HdesApi.EntityId, DebugSession>;
|
|
1001
|
-
}
|
|
1002
|
-
interface PageUpdate {
|
|
1003
|
-
saved: boolean;
|
|
1004
|
-
origin: HdesApi.Entity<any>;
|
|
1005
|
-
value: HdesApi.AstCommand[];
|
|
1006
|
-
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
1007
|
-
}
|
|
1008
|
-
interface Session {
|
|
1009
|
-
site: HdesApi.Site;
|
|
1010
|
-
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
1011
|
-
debug: DebugSessions;
|
|
1012
|
-
branchName?: string;
|
|
1013
|
-
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
1014
|
-
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
1015
|
-
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
1016
|
-
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1017
|
-
withDebug(page: DebugSession): Session;
|
|
1018
|
-
withPage(page: HdesApi.EntityId): Session;
|
|
1019
|
-
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1020
|
-
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1021
|
-
withBranch(branchName?: string): Session;
|
|
1022
|
-
withSite(site: HdesApi.Site): Session;
|
|
1023
|
-
}
|
|
1024
|
-
interface Actions {
|
|
1025
|
-
handleLoad(): Promise<void>;
|
|
1026
|
-
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1027
|
-
handleDebugUpdate(debug: DebugSession): void;
|
|
1028
|
-
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1029
|
-
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1030
|
-
handleBranchUpdate(branchName?: string): void;
|
|
1031
|
-
}
|
|
1032
|
-
interface ContextType {
|
|
1033
|
-
session: Session;
|
|
1034
|
-
actions: Actions;
|
|
1035
|
-
service: HdesApi.Service;
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
declare namespace WrenchComposerApi {
|
|
1041
|
-
class ImmutableTabData implements TabData {
|
|
1042
|
-
private _nav;
|
|
1043
|
-
constructor(props: {
|
|
1044
|
-
nav: Nav;
|
|
1045
|
-
});
|
|
1046
|
-
get nav(): Nav;
|
|
1047
|
-
withNav(nav: Nav): ImmutableTabData;
|
|
1048
|
-
}
|
|
1049
|
-
const createTab: (props: {
|
|
1050
|
-
nav: Nav;
|
|
1051
|
-
page?: HdesApi.Entity<any>;
|
|
1052
|
-
}) => ImmutableTabData;
|
|
1053
|
-
const ComposerContext: React.Context<ContextType>;
|
|
1054
|
-
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1055
|
-
const useComposer: () => {
|
|
1056
|
-
session: Session;
|
|
1057
|
-
service: HdesApi.Service;
|
|
1058
|
-
actions: Actions;
|
|
1059
|
-
site: HdesApi.Site;
|
|
1060
|
-
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1061
|
-
};
|
|
1062
|
-
const useSite: () => HdesApi.Site;
|
|
1063
|
-
const useBranchName: () => string | undefined;
|
|
1064
|
-
const useSession: () => Session;
|
|
1065
|
-
const useNav: () => {
|
|
1066
|
-
handleInTab: (props: {
|
|
1067
|
-
article: HdesApi.Entity<any>;
|
|
1068
|
-
}) => void;
|
|
1069
|
-
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1070
|
-
};
|
|
1071
|
-
const useDebug: () => {
|
|
1072
|
-
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1073
|
-
};
|
|
1074
|
-
const Provider: React.FC<{
|
|
1075
|
-
children: React.ReactNode;
|
|
1076
|
-
service: HdesApi.Service;
|
|
1077
|
-
}>;
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
979
|
declare namespace StencilComposerApi {
|
|
1082
980
|
interface SearchData {
|
|
1083
981
|
values: readonly SearchDataEntry[];
|
|
@@ -1235,6 +1133,108 @@ declare namespace StencilComposerApi {
|
|
|
1235
1133
|
}>;
|
|
1236
1134
|
}
|
|
1237
1135
|
|
|
1136
|
+
|
|
1137
|
+
declare namespace WrenchComposerApi {
|
|
1138
|
+
interface Nav {
|
|
1139
|
+
value?: string | null;
|
|
1140
|
+
}
|
|
1141
|
+
interface TabData {
|
|
1142
|
+
nav?: Nav;
|
|
1143
|
+
withNav(nav: Nav): TabData;
|
|
1144
|
+
}
|
|
1145
|
+
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
1146
|
+
}
|
|
1147
|
+
interface DebugSession {
|
|
1148
|
+
error?: HdesApi.StoreError;
|
|
1149
|
+
debug?: HdesApi.DebugResponse;
|
|
1150
|
+
csv?: string;
|
|
1151
|
+
json?: string;
|
|
1152
|
+
selected: HdesApi.EntityId;
|
|
1153
|
+
inputType: DebugInputType;
|
|
1154
|
+
}
|
|
1155
|
+
type DebugInputType = "CSV" | "JSON";
|
|
1156
|
+
interface DebugSessions {
|
|
1157
|
+
selected?: HdesApi.EntityId;
|
|
1158
|
+
values: Record<HdesApi.EntityId, DebugSession>;
|
|
1159
|
+
}
|
|
1160
|
+
interface PageUpdate {
|
|
1161
|
+
saved: boolean;
|
|
1162
|
+
origin: HdesApi.Entity<any>;
|
|
1163
|
+
value: HdesApi.AstCommand[];
|
|
1164
|
+
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
1165
|
+
}
|
|
1166
|
+
interface Session {
|
|
1167
|
+
site: HdesApi.Site;
|
|
1168
|
+
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
1169
|
+
debug: DebugSessions;
|
|
1170
|
+
branchName?: string;
|
|
1171
|
+
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
1172
|
+
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
1173
|
+
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
1174
|
+
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1175
|
+
withDebug(page: DebugSession): Session;
|
|
1176
|
+
withPage(page: HdesApi.EntityId): Session;
|
|
1177
|
+
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1178
|
+
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1179
|
+
withBranch(branchName?: string): Session;
|
|
1180
|
+
withSite(site: HdesApi.Site): Session;
|
|
1181
|
+
}
|
|
1182
|
+
interface Actions {
|
|
1183
|
+
handleLoad(): Promise<void>;
|
|
1184
|
+
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1185
|
+
handleDebugUpdate(debug: DebugSession): void;
|
|
1186
|
+
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1187
|
+
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1188
|
+
handleBranchUpdate(branchName?: string): void;
|
|
1189
|
+
}
|
|
1190
|
+
interface ContextType {
|
|
1191
|
+
session: Session;
|
|
1192
|
+
actions: Actions;
|
|
1193
|
+
service: HdesApi.Service;
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
declare namespace WrenchComposerApi {
|
|
1199
|
+
class ImmutableTabData implements TabData {
|
|
1200
|
+
private _nav;
|
|
1201
|
+
constructor(props: {
|
|
1202
|
+
nav: Nav;
|
|
1203
|
+
});
|
|
1204
|
+
get nav(): Nav;
|
|
1205
|
+
withNav(nav: Nav): ImmutableTabData;
|
|
1206
|
+
}
|
|
1207
|
+
const createTab: (props: {
|
|
1208
|
+
nav: Nav;
|
|
1209
|
+
page?: HdesApi.Entity<any>;
|
|
1210
|
+
}) => ImmutableTabData;
|
|
1211
|
+
const ComposerContext: React.Context<ContextType>;
|
|
1212
|
+
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1213
|
+
const useComposer: () => {
|
|
1214
|
+
session: Session;
|
|
1215
|
+
service: HdesApi.Service;
|
|
1216
|
+
actions: Actions;
|
|
1217
|
+
site: HdesApi.Site;
|
|
1218
|
+
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1219
|
+
};
|
|
1220
|
+
const useSite: () => HdesApi.Site;
|
|
1221
|
+
const useBranchName: () => string | undefined;
|
|
1222
|
+
const useSession: () => Session;
|
|
1223
|
+
const useNav: () => {
|
|
1224
|
+
handleInTab: (props: {
|
|
1225
|
+
article: HdesApi.Entity<any>;
|
|
1226
|
+
}) => void;
|
|
1227
|
+
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1228
|
+
};
|
|
1229
|
+
const useDebug: () => {
|
|
1230
|
+
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1231
|
+
};
|
|
1232
|
+
const Provider: React.FC<{
|
|
1233
|
+
children: React.ReactNode;
|
|
1234
|
+
service: HdesApi.Service;
|
|
1235
|
+
}>;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
1238
|
declare namespace Decision {
|
|
1239
1239
|
const Table: import("react").FC<{
|
|
1240
1240
|
ast: import("../../client").HdesApi.AstDecision;
|
package/build/index.js
CHANGED
|
@@ -48070,7 +48070,7 @@ const NX = ({ site: e }) => {
|
|
|
48070
48070
|
] })
|
|
48071
48071
|
}
|
|
48072
48072
|
);
|
|
48073
|
-
}, lc = { tag: "eveli-ide-0.0.
|
|
48073
|
+
}, lc = { tag: "eveli-ide-0.0.50", built: "13/11/2024" }, LX = (e, t, n) => {
|
|
48074
48074
|
var i, r, s, o, l, a, u, d;
|
|
48075
48075
|
return [
|
|
48076
48076
|
{
|
|
@@ -81739,15 +81739,15 @@ const Ene = () => {
|
|
|
81739
81739
|
return fe && r.includes(fe) ? ye && ((Se = ye[0]) != null && Se.includes("Protected")) ? /* @__PURE__ */ ee(me, { display: "flex", alignItems: "center", justifyContent: "space-between", children: [
|
|
81740
81740
|
Ee,
|
|
81741
81741
|
/* @__PURE__ */ ee(me, { display: "flex", children: [
|
|
81742
|
-
/* @__PURE__ */ w(Ek, { color: "secondary", fontSize: "small" }),
|
|
81743
|
-
/* @__PURE__ */ w(wk, { color: "
|
|
81742
|
+
/* @__PURE__ */ w(Ek, { color: "secondary", fontSize: "small", sx: { marginLeft: 1 } }),
|
|
81743
|
+
/* @__PURE__ */ w(wk, { color: "primary", fontSize: "small", sx: { marginLeft: 1 } })
|
|
81744
81744
|
] })
|
|
81745
81745
|
] }) : /* @__PURE__ */ ee(me, { display: "flex", alignItems: "center", justifyContent: "space-between", children: [
|
|
81746
81746
|
Ee,
|
|
81747
|
-
/* @__PURE__ */ w(wk, { fontSize: "small", color: "
|
|
81747
|
+
/* @__PURE__ */ w(wk, { fontSize: "small", color: "primary", sx: { marginLeft: 1 } })
|
|
81748
81748
|
] }) : ye && ((je = ye[0]) != null && je.includes("Protected")) ? /* @__PURE__ */ ee(me, { display: "flex", alignItems: "center", justifyContent: "space-between", children: [
|
|
81749
81749
|
Ee,
|
|
81750
|
-
/* @__PURE__ */ w(Ek, { color: "
|
|
81750
|
+
/* @__PURE__ */ w(Ek, { color: "primary", fontSize: "small", sx: { marginLeft: 1 } })
|
|
81751
81751
|
] }) : Ee;
|
|
81752
81752
|
}, S = u.sort || [
|
|
81753
81753
|
{ orderBy: 0, orderByField: "priority", orderDirection: "desc", sortOrder: 1 },
|