@dxs-ts/eveli-ide 0.0.53 → 0.0.55
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 +149 -140
- package/build/index.js +14038 -13831
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -109,6 +109,15 @@ export declare namespace BurgerApi {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
export declare const FeedbackComposer: default_2.FC<FeedbackComposerProps>;
|
|
113
|
+
|
|
114
|
+
declare interface FeedbackComposerProps {
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export declare const feedbackIntl: {
|
|
118
|
+
[key: string]: any;
|
|
119
|
+
};
|
|
120
|
+
|
|
112
121
|
export declare const Frontdesk: default_2.FC<FrontdeskProps>;
|
|
113
122
|
|
|
114
123
|
export declare const frontdeskIntl: {
|
|
@@ -879,6 +888,51 @@ export declare const wrenchIntl: {
|
|
|
879
888
|
export { }
|
|
880
889
|
|
|
881
890
|
|
|
891
|
+
declare namespace HdesClient {
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
declare namespace HdesClient {
|
|
896
|
+
class StoreErrorImpl extends Error {
|
|
897
|
+
private _props;
|
|
898
|
+
constructor(props: HdesApi.ServiceErrorProps);
|
|
899
|
+
get name(): string;
|
|
900
|
+
get status(): number;
|
|
901
|
+
get errors(): HdesApi.ServiceErrorMsg[];
|
|
902
|
+
}
|
|
903
|
+
class DefaultStore implements HdesApi.Store {
|
|
904
|
+
private _config;
|
|
905
|
+
private _updateStarted;
|
|
906
|
+
private _iapSessionRefreshWindow;
|
|
907
|
+
private _defRef;
|
|
908
|
+
constructor(config: HdesApi.StoreConfig);
|
|
909
|
+
iapRefresh(): Promise<void>;
|
|
910
|
+
iapLogin(): boolean;
|
|
911
|
+
handle401(): Promise<void>;
|
|
912
|
+
fetch<T>(path: string, req?: RequestInit): Promise<T>;
|
|
913
|
+
}
|
|
914
|
+
class ServiceImpl implements HdesApi.Service {
|
|
915
|
+
private _store;
|
|
916
|
+
private _branch;
|
|
917
|
+
private _headers;
|
|
918
|
+
constructor(store: HdesApi.Store, branchName?: string);
|
|
919
|
+
withBranch(branchName?: string): ServiceImpl;
|
|
920
|
+
get branch(): string | undefined;
|
|
921
|
+
create(): HdesApi.CreateBuilder;
|
|
922
|
+
delete(): HdesApi.DeleteBuilder;
|
|
923
|
+
update(id: string, body: HdesApi.AstCommand[]): Promise<HdesApi.Site>;
|
|
924
|
+
createAsset(name: string, desc: string | undefined, type: HdesApi.AstBodyType | "SITE", body?: HdesApi.AstCommand[]): Promise<HdesApi.Site>;
|
|
925
|
+
ast(id: string, body: HdesApi.AstCommand[]): Promise<HdesApi.Entity<any>>;
|
|
926
|
+
getSite(): Promise<HdesApi.Site>;
|
|
927
|
+
debug(debug: HdesApi.DebugRequest): Promise<HdesApi.DebugResponse>;
|
|
928
|
+
copy(id: string, name: string): Promise<HdesApi.Site>;
|
|
929
|
+
version(): Promise<HdesApi.VersionEntity>;
|
|
930
|
+
diff(input: HdesApi.DiffRequest): Promise<HdesApi.DiffResponse>;
|
|
931
|
+
summary(tagId: string): Promise<HdesApi.AstTagSummary>;
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
|
|
882
936
|
declare module 'react' {
|
|
883
937
|
interface CSSProperties {
|
|
884
938
|
'--tree-view-text-color'?: string;
|
|
@@ -931,48 +985,105 @@ declare module '@mui/material/styles' {
|
|
|
931
985
|
}
|
|
932
986
|
|
|
933
987
|
|
|
934
|
-
declare namespace
|
|
988
|
+
declare namespace WrenchComposerApi {
|
|
989
|
+
interface Nav {
|
|
990
|
+
value?: string | null;
|
|
991
|
+
}
|
|
992
|
+
interface TabData {
|
|
993
|
+
nav?: Nav;
|
|
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;
|
|
1040
|
+
}
|
|
1041
|
+
interface ContextType {
|
|
1042
|
+
session: Session;
|
|
1043
|
+
actions: Actions;
|
|
1044
|
+
service: HdesApi.Service;
|
|
1045
|
+
}
|
|
935
1046
|
}
|
|
936
1047
|
|
|
937
1048
|
|
|
938
|
-
declare namespace
|
|
939
|
-
class
|
|
940
|
-
private
|
|
941
|
-
constructor(props:
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
get
|
|
945
|
-
|
|
946
|
-
class DefaultStore implements HdesApi.Store {
|
|
947
|
-
private _config;
|
|
948
|
-
private _updateStarted;
|
|
949
|
-
private _iapSessionRefreshWindow;
|
|
950
|
-
private _defRef;
|
|
951
|
-
constructor(config: HdesApi.StoreConfig);
|
|
952
|
-
iapRefresh(): Promise<void>;
|
|
953
|
-
iapLogin(): boolean;
|
|
954
|
-
handle401(): Promise<void>;
|
|
955
|
-
fetch<T>(path: string, req?: RequestInit): Promise<T>;
|
|
956
|
-
}
|
|
957
|
-
class ServiceImpl implements HdesApi.Service {
|
|
958
|
-
private _store;
|
|
959
|
-
private _branch;
|
|
960
|
-
private _headers;
|
|
961
|
-
constructor(store: HdesApi.Store, branchName?: string);
|
|
962
|
-
withBranch(branchName?: string): ServiceImpl;
|
|
963
|
-
get branch(): string | undefined;
|
|
964
|
-
create(): HdesApi.CreateBuilder;
|
|
965
|
-
delete(): HdesApi.DeleteBuilder;
|
|
966
|
-
update(id: string, body: HdesApi.AstCommand[]): Promise<HdesApi.Site>;
|
|
967
|
-
createAsset(name: string, desc: string | undefined, type: HdesApi.AstBodyType | "SITE", body?: HdesApi.AstCommand[]): Promise<HdesApi.Site>;
|
|
968
|
-
ast(id: string, body: HdesApi.AstCommand[]): Promise<HdesApi.Entity<any>>;
|
|
969
|
-
getSite(): Promise<HdesApi.Site>;
|
|
970
|
-
debug(debug: HdesApi.DebugRequest): Promise<HdesApi.DebugResponse>;
|
|
971
|
-
copy(id: string, name: string): Promise<HdesApi.Site>;
|
|
972
|
-
version(): Promise<HdesApi.VersionEntity>;
|
|
973
|
-
diff(input: HdesApi.DiffRequest): Promise<HdesApi.DiffResponse>;
|
|
974
|
-
summary(tagId: string): Promise<HdesApi.AstTagSummary>;
|
|
1049
|
+
declare namespace WrenchComposerApi {
|
|
1050
|
+
class ImmutableTabData implements TabData {
|
|
1051
|
+
private _nav;
|
|
1052
|
+
constructor(props: {
|
|
1053
|
+
nav: Nav;
|
|
1054
|
+
});
|
|
1055
|
+
get nav(): Nav;
|
|
1056
|
+
withNav(nav: Nav): ImmutableTabData;
|
|
975
1057
|
}
|
|
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
|
+
}>;
|
|
976
1087
|
}
|
|
977
1088
|
|
|
978
1089
|
|
|
@@ -1133,108 +1244,6 @@ declare namespace StencilComposerApi {
|
|
|
1133
1244
|
}>;
|
|
1134
1245
|
}
|
|
1135
1246
|
|
|
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
1247
|
declare namespace Decision {
|
|
1239
1248
|
const Table: import("react").FC<{
|
|
1240
1249
|
ast: import("../../client").HdesApi.AstDecision;
|