@dxs-ts/eveli-ide 0.0.28 → 0.0.30

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 CHANGED
@@ -970,6 +970,108 @@ declare namespace HdesClient {
970
970
  }
971
971
 
972
972
 
973
+ declare namespace WrenchComposerApi {
974
+ interface Nav {
975
+ value?: string | null;
976
+ }
977
+ interface TabData {
978
+ nav?: Nav;
979
+ withNav(nav: Nav): TabData;
980
+ }
981
+ interface Tab extends BurgerApi.TabSession<TabData> {
982
+ }
983
+ interface DebugSession {
984
+ error?: HdesApi.StoreError;
985
+ debug?: HdesApi.DebugResponse;
986
+ csv?: string;
987
+ json?: string;
988
+ selected: HdesApi.EntityId;
989
+ inputType: DebugInputType;
990
+ }
991
+ type DebugInputType = "CSV" | "JSON";
992
+ interface DebugSessions {
993
+ selected?: HdesApi.EntityId;
994
+ values: Record<HdesApi.EntityId, DebugSession>;
995
+ }
996
+ interface PageUpdate {
997
+ saved: boolean;
998
+ origin: HdesApi.Entity<any>;
999
+ value: HdesApi.AstCommand[];
1000
+ withValue(value: HdesApi.AstCommand[]): PageUpdate;
1001
+ }
1002
+ interface Session {
1003
+ site: HdesApi.Site;
1004
+ pages: Record<HdesApi.EntityId, PageUpdate>;
1005
+ debug: DebugSessions;
1006
+ branchName?: string;
1007
+ getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
1008
+ getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
1009
+ getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
1010
+ getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
1011
+ withDebug(page: DebugSession): Session;
1012
+ withPage(page: HdesApi.EntityId): Session;
1013
+ withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
1014
+ withoutPages(pages: HdesApi.EntityId[]): Session;
1015
+ withBranch(branchName?: string): Session;
1016
+ withSite(site: HdesApi.Site): Session;
1017
+ }
1018
+ interface Actions {
1019
+ handleLoad(): Promise<void>;
1020
+ handleLoadSite(site?: HdesApi.Site): Promise<void>;
1021
+ handleDebugUpdate(debug: DebugSession): void;
1022
+ handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
1023
+ handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
1024
+ handleBranchUpdate(branchName?: string): void;
1025
+ }
1026
+ interface ContextType {
1027
+ session: Session;
1028
+ actions: Actions;
1029
+ service: HdesApi.Service;
1030
+ }
1031
+ }
1032
+
1033
+
1034
+ declare namespace WrenchComposerApi {
1035
+ class ImmutableTabData implements TabData {
1036
+ private _nav;
1037
+ constructor(props: {
1038
+ nav: Nav;
1039
+ });
1040
+ get nav(): Nav;
1041
+ withNav(nav: Nav): ImmutableTabData;
1042
+ }
1043
+ const createTab: (props: {
1044
+ nav: Nav;
1045
+ page?: HdesApi.Entity<any>;
1046
+ }) => ImmutableTabData;
1047
+ const ComposerContext: React.Context<ContextType>;
1048
+ const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
1049
+ const useComposer: () => {
1050
+ session: Session;
1051
+ service: HdesApi.Service;
1052
+ actions: Actions;
1053
+ site: HdesApi.Site;
1054
+ isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
1055
+ };
1056
+ const useSite: () => HdesApi.Site;
1057
+ const useBranchName: () => string | undefined;
1058
+ const useSession: () => Session;
1059
+ const useNav: () => {
1060
+ handleInTab: (props: {
1061
+ article: HdesApi.Entity<any>;
1062
+ }) => void;
1063
+ findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
1064
+ };
1065
+ const useDebug: () => {
1066
+ handleDebugInit: (selected: HdesApi.EntityId) => void;
1067
+ };
1068
+ const Provider: React.FC<{
1069
+ children: React.ReactNode;
1070
+ service: HdesApi.Service;
1071
+ }>;
1072
+ }
1073
+
1074
+
973
1075
  declare namespace StencilComposerApi {
974
1076
  interface SearchData {
975
1077
  values: readonly SearchDataEntry[];
@@ -1127,108 +1229,6 @@ declare namespace StencilComposerApi {
1127
1229
  }>;
1128
1230
  }
1129
1231
 
1130
-
1131
- declare namespace WrenchComposerApi {
1132
- interface Nav {
1133
- value?: string | null;
1134
- }
1135
- interface TabData {
1136
- nav?: Nav;
1137
- withNav(nav: Nav): TabData;
1138
- }
1139
- interface Tab extends BurgerApi.TabSession<TabData> {
1140
- }
1141
- interface DebugSession {
1142
- error?: HdesApi.StoreError;
1143
- debug?: HdesApi.DebugResponse;
1144
- csv?: string;
1145
- json?: string;
1146
- selected: HdesApi.EntityId;
1147
- inputType: DebugInputType;
1148
- }
1149
- type DebugInputType = "CSV" | "JSON";
1150
- interface DebugSessions {
1151
- selected?: HdesApi.EntityId;
1152
- values: Record<HdesApi.EntityId, DebugSession>;
1153
- }
1154
- interface PageUpdate {
1155
- saved: boolean;
1156
- origin: HdesApi.Entity<any>;
1157
- value: HdesApi.AstCommand[];
1158
- withValue(value: HdesApi.AstCommand[]): PageUpdate;
1159
- }
1160
- interface Session {
1161
- site: HdesApi.Site;
1162
- pages: Record<HdesApi.EntityId, PageUpdate>;
1163
- debug: DebugSessions;
1164
- branchName?: string;
1165
- getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
1166
- getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
1167
- getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
1168
- getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
1169
- withDebug(page: DebugSession): Session;
1170
- withPage(page: HdesApi.EntityId): Session;
1171
- withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
1172
- withoutPages(pages: HdesApi.EntityId[]): Session;
1173
- withBranch(branchName?: string): Session;
1174
- withSite(site: HdesApi.Site): Session;
1175
- }
1176
- interface Actions {
1177
- handleLoad(): Promise<void>;
1178
- handleLoadSite(site?: HdesApi.Site): Promise<void>;
1179
- handleDebugUpdate(debug: DebugSession): void;
1180
- handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
1181
- handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
1182
- handleBranchUpdate(branchName?: string): void;
1183
- }
1184
- interface ContextType {
1185
- session: Session;
1186
- actions: Actions;
1187
- service: HdesApi.Service;
1188
- }
1189
- }
1190
-
1191
-
1192
- declare namespace WrenchComposerApi {
1193
- class ImmutableTabData implements TabData {
1194
- private _nav;
1195
- constructor(props: {
1196
- nav: Nav;
1197
- });
1198
- get nav(): Nav;
1199
- withNav(nav: Nav): ImmutableTabData;
1200
- }
1201
- const createTab: (props: {
1202
- nav: Nav;
1203
- page?: HdesApi.Entity<any>;
1204
- }) => ImmutableTabData;
1205
- const ComposerContext: React.Context<ContextType>;
1206
- const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
1207
- const useComposer: () => {
1208
- session: Session;
1209
- service: HdesApi.Service;
1210
- actions: Actions;
1211
- site: HdesApi.Site;
1212
- isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
1213
- };
1214
- const useSite: () => HdesApi.Site;
1215
- const useBranchName: () => string | undefined;
1216
- const useSession: () => Session;
1217
- const useNav: () => {
1218
- handleInTab: (props: {
1219
- article: HdesApi.Entity<any>;
1220
- }) => void;
1221
- findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
1222
- };
1223
- const useDebug: () => {
1224
- handleDebugInit: (selected: HdesApi.EntityId) => void;
1225
- };
1226
- const Provider: React.FC<{
1227
- children: React.ReactNode;
1228
- service: HdesApi.Service;
1229
- }>;
1230
- }
1231
-
1232
1232
  declare namespace Decision {
1233
1233
  const Table: import("react").FC<{
1234
1234
  ast: import("../../client").HdesApi.AstDecision;
package/build/index.js CHANGED
@@ -48012,7 +48012,7 @@ const IX = ({ site: e }) => {
48012
48012
  ] })
48013
48013
  }
48014
48014
  );
48015
- }, oc = { tag: "eveli-ide-0.0.28", built: "01/11/2024" }, RX = (e, t, n) => {
48015
+ }, oc = { tag: "eveli-ide-0.0.30", built: "04/11/2024" }, RX = (e, t, n) => {
48016
48016
  var i, r, o, s, l, a, u, d;
48017
48017
  return [
48018
48018
  {
@@ -85422,7 +85422,9 @@ const GI = (e) => {
85422
85422
  const i = Bt(), { enqueueSnackbar: r } = At(), { serviceUrl: o } = wi(), s = wn(Ds), { response: l } = cr(`${o}rest/api/assets/any-tags/workflow-tags`), { response: a } = cr(`${o}rest/api/assets/any-tags/wrench-tags`), { response: u } = cr(`${o}rest/api/assets/any-tags/stencil-tags`), d = () => {
85423
85423
  n(!1);
85424
85424
  }, p = (y) => {
85425
- let v = "POST", k = `${o}rest/api/assets/publications`, x = { ...y };
85425
+ let v = "POST", k = `${o}rest/api/assets/publications`;
85426
+ console.log("wwwwww", o);
85427
+ let x = { ...y };
85426
85428
  y.body.contentTag === cl && (x.body.contentTag = null), y.body.wrenchTag === cl && (x.body.wrenchTag = null), y.body.workflowTag === cl && (x.body.workflowTag = null), s.cFetch(`${k}`, {
85427
85429
  method: v,
85428
85430
  headers: {
@@ -85671,7 +85673,7 @@ const bre = {
85671
85673
  "menu.reports": "Reports",
85672
85674
  "menu.workflows": "Configuration",
85673
85675
  "menu.workflowReleases": "Workflow tags",
85674
- "menu.releases": "Publications",
85676
+ "menu.publications": "Publications",
85675
85677
  "menu.services": "Services",
85676
85678
  "menu.content": "Stencil",
85677
85679
  "menu.calendar": "Calendar",
@@ -85860,7 +85862,7 @@ const bre = {
85860
85862
  "menu.reports": "Raportointi",
85861
85863
  "menu.workflows": "Konfigurointi",
85862
85864
  "menu.workflowReleases": "Versiointi",
85863
- "menu.releases": "Julkaisut",
85865
+ "menu.publications": "Julkaisut",
85864
85866
  "menu.services": "Palvelut",
85865
85867
  "menu.content": "Stencil",
85866
85868
  "menu.calendar": "Kalenteri",
@@ -86049,7 +86051,7 @@ const bre = {
86049
86051
  "menu.reports": "Rapportering",
86050
86052
  "menu.workflows": "Konfigurera",
86051
86053
  "menu.workflowReleases": "Arbetsflödestaggar",
86052
- "menu.releases": "Offentliggörande",
86054
+ "menu.publications": "Offentliggörande",
86053
86055
  "menu.services": "Tjänster",
86054
86056
  "menu.content": "Stencil",
86055
86057
  "menu.calendar": "Kalender",
@@ -86543,7 +86545,7 @@ const bre = {
86543
86545
  //{ id: 'menu.calendar', to: '/ui/calendar', icon: <CalendarMonthIcon sx={iconSize} /> },
86544
86546
  { id: "menu.workflows", to: "/ui/workflows", icon: /* @__PURE__ */ w(sF, { sx: Do }) },
86545
86547
  { id: "menu.workflowReleases", to: "/ui/workflowReleases", icon: /* @__PURE__ */ w(oF, { sx: Do }) },
86546
- { id: "menu.releases", to: "/ui/releases", icon: /* @__PURE__ */ w(lF, { sx: Do }) }
86548
+ { id: "menu.publications", to: "/ui/publications", icon: /* @__PURE__ */ w(lF, { sx: Do }) }
86547
86549
  ];
86548
86550
  process.env.VITE_ENV_TYPE;
86549
86551
  const kre = process.env.VITE_HOST_URL || "http://localhost:3000", Cre = () => /* @__PURE__ */ w(be, { display: "flex", marginTop: "auto", justifyContent: "center", children: /* @__PURE__ */ w(
@@ -86636,7 +86638,7 @@ const kre = process.env.VITE_HOST_URL || "http://localhost:3000", Cre = () => /*
86636
86638
  const r = new CI.ServiceImpl(new CI.DefaultStore({ url: i + "rest/api/assets/wrench" }));
86637
86639
  return /* @__PURE__ */ w(uy, { locale: "en", messages: Pte.en, children: /* @__PURE__ */ w(Bte, { service: r }) });
86638
86640
  } else if (n) {
86639
- const r = av.service({ config: { url: i + "/rest/api/assets/stencil" } });
86641
+ const r = av.service({ config: { url: i + "rest/api/assets/stencil" } });
86640
86642
  return /* @__PURE__ */ w(uy, { locale: "en", messages: yV.en, children: /* @__PURE__ */ w(FX, { service: r }) });
86641
86643
  }
86642
86644
  return /* @__PURE__ */ w(gL, { children: /* @__PURE__ */ w(uy, { locale: e, messages: XL[e], children: /* @__PURE__ */ w(cne, { children: /* @__PURE__ */ w(d1, { children: [Rre], drawerOpen: !0 }) }) }) });
@@ -86654,7 +86656,7 @@ const kre = process.env.VITE_HOST_URL || "http://localhost:3000", Cre = () => /*
86654
86656
  /* @__PURE__ */ w(gi, { path: "/ui/tasks/task/", element: /* @__PURE__ */ w(GI, {}) }),
86655
86657
  /* @__PURE__ */ w(gi, { path: "/ui/workflows", element: /* @__PURE__ */ w(Zie, {}) }),
86656
86658
  /* @__PURE__ */ w(gi, { path: "/ui/workflowReleases", element: /* @__PURE__ */ w(ure, {}) }),
86657
- /* @__PURE__ */ w(gi, { path: "/ui/releases", element: /* @__PURE__ */ w(pre, {}) }),
86659
+ /* @__PURE__ */ w(gi, { path: "/ui/publications", element: /* @__PURE__ */ w(pre, {}) }),
86658
86660
  /* @__PURE__ */ w(gi, { path: "/ui/processes", element: /* @__PURE__ */ w(Jie, {}) }),
86659
86661
  /* @__PURE__ */ w(gi, { path: "/ui/help", element: /* @__PURE__ */ w(ere, {}) }),
86660
86662
  /* @__PURE__ */ w(gi, { path: "/ui/dashboard", element: /* @__PURE__ */ w(rre, {}) }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxs-ts/eveli-ide",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "homepage": "https://github.com/digiexpress-io/digiexpress-parent",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",