@dxs-ts/eveli-ide 0.0.91 → 0.0.92

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