@dxs-ts/eveli-ide 0.0.52 → 0.0.53

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 +140 -140
  2. package/build/index.js +261 -260
  3. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -879,51 +879,6 @@ export declare const wrenchIntl: {
879
879
  export { }
880
880
 
881
881
 
882
- declare namespace HdesClient {
883
- }
884
-
885
-
886
- declare namespace HdesClient {
887
- class StoreErrorImpl extends Error {
888
- private _props;
889
- constructor(props: HdesApi.ServiceErrorProps);
890
- get name(): string;
891
- get status(): number;
892
- get errors(): HdesApi.ServiceErrorMsg[];
893
- }
894
- class DefaultStore implements HdesApi.Store {
895
- private _config;
896
- private _updateStarted;
897
- private _iapSessionRefreshWindow;
898
- private _defRef;
899
- constructor(config: HdesApi.StoreConfig);
900
- iapRefresh(): Promise<void>;
901
- iapLogin(): boolean;
902
- handle401(): Promise<void>;
903
- fetch<T>(path: string, req?: RequestInit): Promise<T>;
904
- }
905
- class ServiceImpl implements HdesApi.Service {
906
- private _store;
907
- private _branch;
908
- private _headers;
909
- constructor(store: HdesApi.Store, branchName?: string);
910
- withBranch(branchName?: string): ServiceImpl;
911
- get branch(): string | undefined;
912
- create(): HdesApi.CreateBuilder;
913
- delete(): HdesApi.DeleteBuilder;
914
- update(id: string, body: HdesApi.AstCommand[]): Promise<HdesApi.Site>;
915
- createAsset(name: string, desc: string | undefined, type: HdesApi.AstBodyType | "SITE", body?: HdesApi.AstCommand[]): Promise<HdesApi.Site>;
916
- ast(id: string, body: HdesApi.AstCommand[]): Promise<HdesApi.Entity<any>>;
917
- getSite(): Promise<HdesApi.Site>;
918
- debug(debug: HdesApi.DebugRequest): Promise<HdesApi.DebugResponse>;
919
- copy(id: string, name: string): Promise<HdesApi.Site>;
920
- version(): Promise<HdesApi.VersionEntity>;
921
- diff(input: HdesApi.DiffRequest): Promise<HdesApi.DiffResponse>;
922
- summary(tagId: string): Promise<HdesApi.AstTagSummary>;
923
- }
924
- }
925
-
926
-
927
882
  declare module 'react' {
928
883
  interface CSSProperties {
929
884
  '--tree-view-text-color'?: string;
@@ -976,105 +931,48 @@ declare module '@mui/material/styles' {
976
931
  }
977
932
 
978
933
 
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
- }
934
+ declare namespace HdesClient {
1037
935
  }
1038
936
 
1039
937
 
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;
938
+ declare namespace HdesClient {
939
+ class StoreErrorImpl extends Error {
940
+ private _props;
941
+ constructor(props: HdesApi.ServiceErrorProps);
942
+ get name(): string;
943
+ get status(): number;
944
+ get errors(): HdesApi.ServiceErrorMsg[];
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>;
1048
975
  }
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
976
  }
1079
977
 
1080
978
 
@@ -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
@@ -723,7 +723,7 @@ const SF = (e, t) => {
723
723
  light: "rgba(255, 183, 3)",
724
724
  contrastText: "#000"
725
725
  }
726
- }, Nse = r3({
726
+ }, Cse = r3({
727
727
  palette: Lu,
728
728
  typography: {
729
729
  fontFamily: "'IBM Plex Sans Arabic', sans-serif",
@@ -1111,22 +1111,23 @@ const SF = (e, t) => {
1111
1111
  /* @__PURE__ */ w(Oc, { helperText: i, error: o, errorMessage: s })
1112
1112
  ] });
1113
1113
  }, en = (e) => {
1114
- const { onChange: t, onEnter: n, label: i, value: r, required: s, placeholder: o, helperText: l, disabled: a, errorMessage: u, error: d } = e;
1114
+ const { onChange: t, onEnter: n, label: i, value: r, required: s, placeholder: o, helperText: l, disabled: a, errorMessage: u, error: d, type: p } = e;
1115
1115
  return /* @__PURE__ */ ee(Ue, { children: [
1116
1116
  /* @__PURE__ */ w(Nc, { children: /* @__PURE__ */ w(ge, { id: i }) }),
1117
1117
  /* @__PURE__ */ w(
1118
1118
  Wh,
1119
1119
  {
1120
1120
  fullWidth: !0,
1121
+ type: p,
1121
1122
  disabled: a,
1122
1123
  variant: "outlined",
1123
1124
  required: s,
1124
1125
  placeholder: o + "",
1125
1126
  value: r,
1126
1127
  error: d,
1127
- onChange: ({ target: p }) => t(p.value),
1128
- onKeyPress: n ? (p) => {
1129
- p.key === "Enter" && n();
1128
+ onChange: ({ target: f }) => t(f.value),
1129
+ onKeyPress: n ? (f) => {
1130
+ f.key === "Enter" && n();
1130
1131
  } : void 0
1131
1132
  }
1132
1133
  ),
@@ -48088,7 +48089,7 @@ const DX = ({ site: e }) => {
48088
48089
  ] })
48089
48090
  }
48090
48091
  );
48091
- }, lc = { tag: "eveli-ide-0.0.52", built: "22/11/2024" }, FX = (e, t, n) => {
48092
+ }, lc = { tag: "eveli-ide-0.0.53", built: "25/11/2024" }, FX = (e, t, n) => {
48092
48093
  var i, r, s, o, l, a, u, d;
48093
48094
  return [
48094
48095
  {
@@ -81390,7 +81391,7 @@ const yx = Xm({
81390
81391
  }
81391
81392
  }), pne = ({ children: e }) => {
81392
81393
  const { serviceUrl: t } = wi(), n = wn(Mo), { enqueueSnackbar: i } = At(), r = Ut(), s = eu(), [o, l] = Jt(), [a, u] = Jt(), [d, p] = Jt(), T = {
81393
- getTasks: (x = 0, h = 20) => n.cFetch(`${t}rest/api/worker/tasks?page=${x}&size=${h}`).then((E) => E.json()).then((E) => {
81394
+ getTasks: (x = 0, h = 20) => n.cFetch(`${t}worker/rest/api/tasks?page=${x}&size=${h}`).then((E) => E.json()).then((E) => {
81394
81395
  var C;
81395
81396
  return {
81396
81397
  data: ((C = E._embedded) == null ? void 0 : C.tasks) || [],
@@ -81398,17 +81399,17 @@ const yx = Xm({
81398
81399
  totalCount: E.page.totalElements
81399
81400
  };
81400
81401
  }),
81401
- getTask: (x) => n.cFetch(`${t}rest/api/worker/tasks/${x}`).then((h) => h.json()).then((h) => (h.dueDate && (h.dueDate = new Date(h.dueDate)), h)),
81402
+ getTask: (x) => n.cFetch(`${t}worker/rest/api/tasks/${x}`).then((h) => h.json()).then((h) => (h.dueDate && (h.dueDate = new Date(h.dueDate)), h)),
81402
81403
  saveTask: (x) => {
81403
81404
  var C;
81404
- let h = "POST", E = `${t}rest/api/worker/tasks`;
81405
+ let h = "POST", E = `${t}worker/rest/api/tasks`;
81405
81406
  return x.id ? (h = "PUT", E = E + "/" + x.id) : (x.keyWords && ((C = x.keyWords) == null ? void 0 : C.length) > 0 || (x.keyWords = ["Manual"]), x.assignedRoles || (x.assignedRoles = [Pv])), n.cFetch(E, {
81406
81407
  method: h,
81407
81408
  body: JSON.stringify(x)
81408
81409
  }).then((_) => _.json());
81409
81410
  },
81410
81411
  deleteTask: (x) => n.cFetch(
81411
- `${t}rest/api/worker/tasks/${x}`,
81412
+ `${t}worker/rest/api/tasks/${x}`,
81412
81413
  { method: "DELETE" }
81413
81414
  ).then((h) => {
81414
81415
  if (!h.ok) {
@@ -81420,7 +81421,7 @@ const yx = Xm({
81420
81421
  getTaskComments: (x) => {
81421
81422
  if (!x.id)
81422
81423
  return Promise.resolve();
81423
- const h = `${t}rest/api/worker/tasks/${x.id}/comments`;
81424
+ const h = `${t}worker/rest/api/tasks/${x.id}/comments`;
81424
81425
  return n.cFetch(h).then((E) => {
81425
81426
  if (E.ok) return E.json();
81426
81427
  throw new Error("Error with code:" + E.status);
@@ -81434,7 +81435,7 @@ const yx = Xm({
81434
81435
  external: C,
81435
81436
  userName: s.user.name,
81436
81437
  source: bx.FRONTDESK
81437
- }, N = `${t}rest/api/worker/comments`;
81438
+ }, N = `${t}worker/rest/api/comments`;
81438
81439
  return n.cFetch(N, {
81439
81440
  method: "POST",
81440
81441
  body: JSON.stringify(_)
@@ -81925,7 +81926,7 @@ const _ne = () => {
81925
81926
  },
81926
81927
  k.filter((C) => !C.hidden)
81927
81928
  );
81928
- return r.cFetch(`${s}rest/api/worker/tasks?${E}`).then((C) => C.json()).then((C) => ({
81929
+ return r.cFetch(`${s}worker/rest/api/tasks?${E}`).then((C) => C.json()).then((C) => ({
81929
81930
  data: C.content,
81930
81931
  // array of data
81931
81932
  page: C.pageable.pageNumber,
@@ -81933,7 +81934,7 @@ const _ne = () => {
81933
81934
  totalCount: C.numberOfElements
81934
81935
  // total entries on all the pages combined
81935
81936
  }));
81936
- }, y = () => r.cFetch(`${s}rest/api/worker/tasks/unread`).then((v) => v.json()).then((v) => v);
81937
+ }, y = () => r.cFetch(`${s}worker/rest/api/tasks/unread`).then((v) => v.json()).then((v) => v);
81937
81938
  return kn(() => {
81938
81939
  t.getGroups().then((v) => i(v)), y().then((v) => u(v));
81939
81940
  }, [t]), /* @__PURE__ */ w(Aa, { maxWidth: "xl", children: /* @__PURE__ */ w(
@@ -81951,7 +81952,7 @@ const _ne = () => {
81951
81952
  addAttachment: (e, t) => Promise.resolve(),
81952
81953
  downloadAttachmentLink: (e, t) => ""
81953
81954
  }, AL = Xm(xne), kne = ({ children: e }) => {
81954
- const t = wn(Mo), { enqueueSnackbar: n } = At(), i = Ut(), { serviceUrl: r } = wi(), s = (d) => t.cFetch(`${r}rest/api/worker/tasks/${d}/files/`).then((p) => p.json()), o = (d) => {
81955
+ const t = wn(Mo), { enqueueSnackbar: n } = At(), i = Ut(), { serviceUrl: r } = wi(), s = (d) => t.cFetch(`${r}worker/rest/api/tasks/${d}/files/`).then((p) => p.json()), o = (d) => {
81955
81956
  if (!d.ok)
81956
81957
  throw Error(d.statusText);
81957
81958
  return d;
@@ -81960,13 +81961,13 @@ const _ne = () => {
81960
81961
  addAttachment: (d, p) => {
81961
81962
  const f = p.name;
81962
81963
  return t.cFetch(
81963
- `${r}rest/api/worker/tasks/${d}/files/?filename=${f}`,
81964
+ `${r}worker/rest/api/tasks/${d}/files/?filename=${f}`,
81964
81965
  { method: "POST", headers: { "Content-Type": p.type || "application/octet-stream" } }
81965
81966
  ).then((m) => o(m)).then((m) => m.json()).then((m) => t.cFetch(`${m.putRequestUrl}`, { method: "PUT", body: p, headers: { "Content-Type": p.type || "application/octet-stream" } }).then((y) => o(y)).then((y) => (n(i.formatMessage({ id: "attachment.uploadOk" }, { fileName: f }), { variant: "success" }), y))).catch((m) => {
81966
81967
  n(i.formatMessage({ id: "attachment.uploadFailed" }, { fileName: f }), { variant: "error" });
81967
81968
  });
81968
81969
  },
81969
- downloadAttachmentLink: (d, p) => `${r}rest/api/worker/tasks/${d}/files/${p}`
81970
+ downloadAttachmentLink: (d, p) => `${r}worker/rest/api/tasks/${d}/files/${p}`
81970
81971
  };
81971
81972
  return /* @__PURE__ */ w(AL.Provider, { value: u, children: e });
81972
81973
  }, IL = () => wn(AL), Cne = (e) => {
@@ -84883,7 +84884,7 @@ const YI = (e) => {
84883
84884
  }, [s]), u = (k) => {
84884
84885
  y(k), k.linkKey === CL && f(!0);
84885
84886
  }, d = (k, S) => {
84886
- let T = `${r}rest/api/worker/pdf?taskId=${S}&questionnaireId=${k.linkAddress}`;
84887
+ let T = `${r}worker/rest/api/pdf?taskId=${S}&questionnaireId=${k.linkAddress}`;
84887
84888
  window.open(T);
84888
84889
  }, [p, f] = Jt(!1), [m, y] = Jt(null), v = new Zie(u, d);
84889
84890
  return /* @__PURE__ */ w(kne, { children: /* @__PURE__ */ w(Aa, { maxWidth: "lg", children: /* @__PURE__ */ w(
@@ -84916,10 +84917,10 @@ const YI = (e) => {
84916
84917
  }
84917
84918
  }
84918
84919
  ), Jie = ({ onSubmit: e, workflow: t, open: n, setOpen: i, dialobTags: r }) => {
84919
- const s = Ut(), { serviceUrl: o } = wi(), { response: l } = cr(`${o}rest/api/assets/wrench/flow-names`), a = wn(Mo), { enqueueSnackbar: u } = At(), d = () => {
84920
+ const s = Ut(), { serviceUrl: o } = wi(), { response: l } = cr(`${o}worker/rest/api/assets/wrench/flow-names`), a = wn(Mo), { enqueueSnackbar: u } = At(), d = () => {
84920
84921
  i(!1);
84921
84922
  }, p = (y) => {
84922
- let v = "POST", k = `${o}rest/api/assets/workflows`;
84923
+ let v = "POST", k = `${o}worker/rest/api/assets/workflows`;
84923
84924
  y.id && (v = "PUT", k = k + "/" + y.id), a.cFetch(`${k}`, {
84924
84925
  method: v,
84925
84926
  headers: {
@@ -85028,7 +85029,7 @@ const YI = (e) => {
85028
85029
  )
85029
85030
  ] }) });
85030
85031
  }, KL = ({ workflows: e, refreshWorkflows: t, historyView: n = !1 }) => {
85031
- const i = Ut(), r = wi(), s = Xc((k) => i.formatMessage({ id: k })), o = ci(), { response: l } = cr(`${r.serviceUrl}rest/api/assets/dialob/tags`), [a, u] = Jt(!1), [d, p] = Jt(null), f = (k) => {
85032
+ const i = Ut(), r = wi(), s = Xc((k) => i.formatMessage({ id: k })), o = ci(), { response: l } = cr(`${r.serviceUrl}worker/rest/api/assets/dialob/tags`), [a, u] = Jt(!1), [d, p] = Jt(null), f = (k) => {
85032
85033
  let S = k.body.formName;
85033
85034
  const T = l == null ? void 0 : l.find((g) => g.formName === k.body.formName && g.tagName === k.body.formTag);
85034
85035
  return T && (S = T.formLabel), `${S} / ${k.body.formTag}`;
@@ -85102,12 +85103,12 @@ const YI = (e) => {
85102
85103
  /* @__PURE__ */ w(Jie, { open: a, setOpen: u, workflow: d, onSubmit: () => t(), dialobTags: l || [] })
85103
85104
  ] });
85104
85105
  }, ere = () => {
85105
- const { serviceUrl: e } = wi(), { response: t, refresh: n } = cr(`${e}rest/api/assets/workflows`);
85106
+ const { serviceUrl: e } = wi(), { response: t, refresh: n } = cr(`${e}worker/rest/api/assets/workflows`);
85106
85107
  return /* @__PURE__ */ w(KL, { workflows: t, refreshWorkflows: n });
85107
85108
  }, tre = () => {
85108
85109
  const e = Ut(), t = wn(Mo), n = wi(), i = Xc((o) => e.formatMessage({ id: o })), r = (o) => {
85109
85110
  let l = EL(o, s.columns);
85110
- return t.cFetch(`${n.serviceUrl}rest/api/worker/processes?${l}`, {
85111
+ return t.cFetch(`${n.serviceUrl}worker/rest/api/processes?${l}`, {
85111
85112
  headers: {
85112
85113
  Accept: "application/json"
85113
85114
  }
@@ -85298,7 +85299,7 @@ const YI = (e) => {
85298
85299
  const i = Ut(), { enqueueSnackbar: r } = At(), { serviceUrl: s } = wi(), o = wn(Mo), l = () => {
85299
85300
  n(!1);
85300
85301
  }, a = (d) => {
85301
- let p = "POST", f = `${s}rest/api/assets/workflows/tags`;
85302
+ let p = "POST", f = `${s}worker/rest/api/assets/workflows/tags`;
85302
85303
  o.cFetch(`${f}`, {
85303
85304
  method: p,
85304
85305
  headers: {
@@ -85389,7 +85390,7 @@ const YI = (e) => {
85389
85390
  });
85390
85391
  r.dispatchEvent(s), r.remove();
85391
85392
  }, dre = () => {
85392
- const e = Ut(), { serviceUrl: t, modifiableAssets: n } = wi(), i = Xc((y) => e.formatMessage({ id: y })), r = ci(), { response: s, refresh: o } = cr(`${t}rest/api/assets/workflows/tags`), [l, a] = Jt(!1), [u, d] = Jt(!1), [p, f] = Jt(null), m = {
85393
+ const e = Ut(), { serviceUrl: t, modifiableAssets: n } = wi(), i = Xc((y) => e.formatMessage({ id: y })), r = ci(), { response: s, refresh: o } = cr(`${t}worker/rest/api/assets/workflows/tags`), [l, a] = Jt(!1), [u, d] = Jt(!1), [p, f] = Jt(null), m = {
85393
85394
  columns: [
85394
85395
  {
85395
85396
  title: e.formatMessage({ id: "workflowReleaseTableHeader.name" }),
@@ -85476,10 +85477,10 @@ const YI = (e) => {
85476
85477
  }
85477
85478
  }
85478
85479
  ), dl = "-1", fre = ({ onSubmit: e, open: t, setOpen: n }) => {
85479
- const i = Ut(), { enqueueSnackbar: r } = At(), { serviceUrl: s } = wi(), o = wn(Mo), { response: l } = cr(`${s}rest/api/assets/any-tags/workflow-tags`), { response: a } = cr(`${s}rest/api/assets/any-tags/wrench-tags`), { response: u } = cr(`${s}rest/api/assets/any-tags/stencil-tags`), d = () => {
85480
+ const i = Ut(), { enqueueSnackbar: r } = At(), { serviceUrl: s } = wi(), o = wn(Mo), { response: l } = cr(`${s}worker/rest/api/assets/any-tags/workflow-tags`), { response: a } = cr(`${s}worker/rest/api/assets/any-tags/wrench-tags`), { response: u } = cr(`${s}worker/rest/api/assets/any-tags/stencil-tags`), d = () => {
85480
85481
  n(!1);
85481
85482
  }, p = (y) => {
85482
- let v = "POST", k = `${s}rest/api/assets/publications`, S = { ...y };
85483
+ let v = "POST", k = `${s}worker/rest/api/assets/publications`, S = { ...y };
85483
85484
  y.contentTag === dl && (S.contentTag = null), y.wrenchTag === dl && (S.wrenchTag = null), y.workflowTag === dl && (S.workflowTag = null), o.cFetch(`${k}`, {
85484
85485
  method: v,
85485
85486
  headers: {
@@ -85565,8 +85566,8 @@ const YI = (e) => {
85565
85566
  )
85566
85567
  ] }) });
85567
85568
  }, mre = () => {
85568
- const e = Ut(), { serviceUrl: t } = wi(), n = wi(), i = wn(Mo), { enqueueSnackbar: r } = At(), s = Xc((m) => e.formatMessage({ id: m })), o = ci(), { response: l, refresh: a } = cr(`${t}rest/api/assets/publications`), [u, d] = Jt(!1), p = (m) => {
85569
- let y = `${t}rest/api/assets/deployments/${m.body.name}`;
85569
+ const e = Ut(), { serviceUrl: t } = wi(), n = wi(), i = wn(Mo), { enqueueSnackbar: r } = At(), s = Xc((m) => e.formatMessage({ id: m })), o = ci(), { response: l, refresh: a } = cr(`${t}worker/rest/api/assets/publications`), [u, d] = Jt(!1), p = (m) => {
85570
+ let y = `${t}worker/rest/api/assets/deployments/${m.body.name}`;
85570
85571
  return i.cFetch(`${y}`, {
85571
85572
  method: "GET",
85572
85573
  headers: {
@@ -85664,7 +85665,7 @@ const YI = (e) => {
85664
85665
  if (e)
85665
85666
  return {
85666
85667
  csrf: void 0,
85667
- dialobApiUrl: e + "rest/api/assets/dialob/proxy",
85668
+ dialobApiUrl: e + "worker/rest/api/assets/dialob/proxy",
85668
85669
  setLoginRequired: () => {
85669
85670
  },
85670
85671
  setTechnicalError: () => {
@@ -86266,213 +86267,213 @@ const Ere = {
86266
86267
  "dialobForm.error.invalidFormName": "Incorrect ID",
86267
86268
  "dialobForm.dialog.deleteQuestion": 'Do you want to remove form "{formName}"?',
86268
86269
  "dialobForm.heading.deleteDialog": "Remove form"
86269
- }, Tre = {
86270
- "tasksView.title": "Tasks",
86271
- "tasksTableHeader.taskName": "Task name",
86272
- "tasksTableHeader.category": "Type",
86273
- "tasksTableHeader.status": "Status",
86274
- "tasksTableHeader.dueDate": "Due date",
86275
- "tasksTableHeader.priority": "Priority",
86276
- "tasksTableHeader.assigned": "Assigned to",
86277
- "tasksTableAction.editTask": "Edit task",
86278
- "tasksTableAction.deleteTask": "Delete task",
86279
- "taskPriority.low": "Low",
86280
- "taskPriority.normal": "Normal",
86281
- "taskPriority.high": "High",
86282
- "taskDialog.priority": "Priority",
86283
- "taskDialog.subject": "Subject",
86284
- "taskDialog.description": "Description",
86285
- "taskDialog.dueDate": "Due date",
86286
- "taskDialog.assignedTo": "Assigned to",
86287
- "taskDialog.assignedUser": "User",
86288
- "taskDialog.status": "Status",
86289
- "taskDialog.task": "Task",
86290
- "taskDialog.category": "Type",
86291
- "taskDialog.source": "Source",
86292
- "task.priority.low": "Low",
86293
- "task.priority.normal": "Normal",
86294
- "task.priority.high": "High",
86295
- "task.status.new": "New",
86296
- "task.status.open": "Open",
86297
- "task.status.completed": "Completed",
86298
- "task.status.rejected": "Rejected",
86299
- "task.created": "Created",
86300
- "task.updated": "Updated",
86301
- comments: "Comments",
86302
- "task.comments.external.createTask": "Create task before adding external comments",
86303
- "task.comments.internal.createTask": "Create task before adding internal comments",
86304
- "task.attachments.createTask": "Create task before uploading attachments",
86305
- internalComments: "Internal comments",
86306
- externalComments: "External comments",
86307
- "comment.store": "Save",
86308
- "comment.add": "Add comment",
86309
- "comment.addInternal": "Add internal comment",
86310
- "comment.addExternal": "Add public comment",
86311
- "comment.reply": "Reply",
86312
- "taskButton.addTask": "Add task",
86313
- "taskButton.refresh": "Check for new tasks",
86314
- "taskButton.accept": "Accept",
86315
- "taskButton.cancel": "Close",
86316
- "table.body.emptyDataSourceMessage": "No data",
86317
- "table.body.filterRow.filterTooltip": "Filter",
86318
- "table.body.deleteTooltip": "Delete",
86319
- "table.body.editRow.deleteText": "Are you sure you want to delete this task?",
86320
- "table.body.editRow.cancelTask": "Cancel",
86321
- "table.body.editRow.saveTask": "Confirm",
86322
- "table.header.actions": " ",
86323
- "table.pagination.labelDisplayedRows": "{from}-{to} of {count}",
86324
- "table.pagination.labelRowsPerPage": "Rows per page:",
86325
- "table.pagination.firstPage": "First page",
86326
- "table.pagination.previousPage": "Previous page",
86327
- "table.pagination.nextPage": "Next page",
86328
- "table.pagination.lastPage": "Last page",
86329
- "table.toolbar.search": "Search",
86330
- "table.toolbar.showColumnsTitle": "Show columns",
86331
- "table.toolbar.addRemoveColumns": "Add or remove columns",
86332
- "taskLink.title": "Task link",
86333
- "taskLink.button.open": "View related data",
86334
- "taskLink.pdf.open": "PDF"
86335
- }, Sre = {
86336
- "tasksView.title": "Tehtävät",
86337
- "tasksTableHeader.taskName": "Nimi",
86338
- "tasksTableHeader.category": "Tyyppi",
86339
- "tasksTableHeader.status": "Tila",
86340
- "tasksTableHeader.dueDate": "Eräpäivä",
86341
- "tasksTableHeader.priority": "Prioriteetti",
86342
- "tasksTableHeader.assigned": "Käsittelijä",
86343
- "tasksTableAction.editTask": "Muokkaa tehtävää",
86344
- "tasksTableAction.deleteTask": "Poista tehtävää",
86345
- "taskPriority.low": "Ei kiireellinen",
86346
- "taskPriority.normal": "Normaali",
86347
- "taskPriority.high": "Kiire",
86348
- "taskDialog.priority": "Prioriteetti",
86349
- "taskDialog.subject": "Aihe",
86350
- "taskDialog.description": "Asiakkaan tiedot",
86351
- "taskDialog.dueDate": "Eräpäivä",
86352
- "taskDialog.assignedTo": "Käsittelijä ryhmä",
86353
- "taskDialog.assignedUser": "Käyttäjä",
86354
- "taskDialog.status": "Tila",
86355
- "taskDialog.task": "Tehtävä",
86356
- "taskDialog.category": "Tyyppi",
86357
- "taskDialog.source": "Lähde",
86358
- "task.priority.low": "Ei kiireellinen",
86359
- "task.priority.normal": "Normaali",
86360
- "task.priority.high": "Kiire",
86361
- "task.status.new": "Uusi",
86362
- "task.status.open": "Käsittelyssä",
86363
- "task.status.completed": "Tehty",
86364
- "task.status.rejected": "Hylätty",
86365
- "task.created": "Luotu",
86366
- "task.updated": "Päivitetty",
86367
- comments: "Kommentit",
86368
- "task.comments.external.createTask": "Luo tehtävä ennen ulkoisten kommenttien lisäämistä",
86369
- "task.comments.internal.createTask": "Luo tehtävä ennen sisäisten kommenttien lisäämistä",
86370
- "task.attachments.createTask": "Luo tehtävä ennen liitteiden lataamista",
86371
- internalComments: "Sisäiset kommentit",
86372
- externalComments: "Julkiset kommentit",
86373
- "comment.store": "Tallenna",
86374
- "comment.add": "Lisää kommentti",
86375
- "comment.addInternal": "Lisää sisäinen kommentti",
86376
- "comment.addExternal": "Lähetä asiakkaalle viesti",
86377
- "comment.reply": "Vastaa",
86378
- "taskButton.addTask": "Lisää tehtävä",
86379
- "taskButton.refresh": "Tarkista uudet tehtävät",
86380
- "taskButton.accept": "Hyväksy",
86381
- "taskButton.cancel": "Takaisin",
86382
- "table.body.emptyDataSourceMessage": "Ei dataa",
86383
- "table.body.filterRow.filterTooltip": "Suodatin",
86384
- "table.body.deleteTooltip": "Poista",
86385
- "table.body.editRow.deleteText": "Haluatko varmasti poistaa tämän tehtävän?",
86386
- "table.body.editRow.cancelTask": "Peruuta",
86387
- "table.body.editRow.saveTask": "Tallenna",
86388
- "table.header.actions": " ",
86389
- "table.pagination.labelDisplayedRows": "{from}-{to} / {count}",
86390
- "table.pagination.labelRowsPerPage": "Riviä per sivu:",
86391
- "table.pagination.firstPage": "Ensimmäinen sivu",
86392
- "table.pagination.previousPage": "Edellinen",
86393
- "table.pagination.nextPage": "Seuraava",
86394
- "table.pagination.lastPage": "Viimeinen sivu",
86395
- "table.toolbar.search": "Etsi",
86396
- "table.toolbar.showColumnsTitle": "Show columns",
86397
- "table.toolbar.addRemoveColumns": "Add or remove columns",
86398
- "taskLink.title": "Lomake",
86399
- "taskLink.button.open": "Asiakkaan antamat tiedot",
86400
- "taskLink.pdf.open": "PDF"
86401
- }, xre = {
86402
- "tasksView.title": "Uppgiften",
86403
- "tasksTableHeader.taskName": "Uppgiftens namn",
86404
- "tasksTableHeader.category": "Typ",
86405
- "tasksTableHeader.status": "Status",
86406
- "tasksTableHeader.dueDate": "Deadline",
86407
- "tasksTableHeader.priority": "Prioritet",
86408
- "tasksTableHeader.assigned": "Hanterare",
86409
- "tasksTableAction.editTask": "Redigera uppgiften",
86410
- "tasksTableAction.deleteTask": "Ta bort uppgift",
86411
- "taskPriority.low": "Inte bråttom",
86412
- "taskPriority.normal": "Normal",
86413
- "taskPriority.high": "Brådskande",
86414
- "taskDialog.priority": "Prioritet",
86415
- "taskDialog.subject": "Ämne",
86416
- "taskDialog.description": "Kundupgifter",
86417
- "taskDialog.dueDate": "Deadline",
86418
- "taskDialog.assignedTo": "Hanteraregrupp",
86419
- "taskDialog.assignedUser": "Användare",
86420
- "taskDialog.status": "Status",
86421
- "taskDialog.task": "Uppgiften",
86422
- "taskDialog.category": "Typ",
86423
- "taskDialog.source": "Källa",
86424
- "task.priority.low": "Inte bråttom",
86425
- "task.priority.normal": "Normal",
86426
- "task.priority.high": "Brådskande",
86427
- "task.status.new": "Nya",
86428
- "task.status.open": "Läsning",
86429
- "task.status.completed": "Redo",
86430
- "task.status.rejected": "Övergiven",
86431
- "task.created": "Skapad",
86432
- "task.updated": "Uppdaterad",
86433
- comments: "Meddelanden",
86434
- "task.comments.external.createTask": "Skapa uppgift innan du lägger till externa kommentarer",
86435
- "task.comments.internal.createTask": "Skapa uppgift innan du lägger till interna kommentarer",
86436
- "task.attachments.createTask": "Skapa uppgift innan du laddar upp bilagor",
86437
- internalComments: "Interna kommentarer",
86438
- externalComments: "Kundmeddelanden",
86439
- "comment.store": "Spara",
86440
- "comment.add": "Skriv en kommentar",
86441
- "comment.addInternal": "Skriva en intern kommentar",
86442
- "comment.addExternal": "Skriva ett meddelande till kunden",
86443
- "comment.reply": "Ansvar",
86444
- "taskButton.addTask": "Mer uppgift",
86445
- "taskButton.refresh": "Sök efter nya uppgifter",
86446
- "taskButton.accept": "Acceptera",
86447
- "taskButton.cancel": "Avbryt",
86448
- "table.body.emptyDataSourceMessage": "Ingen data",
86449
- "table.body.filterRow.filterTooltip": "Filtrera",
86450
- "table.body.deleteTooltip": "Radera",
86451
- "table.body.editRow.deleteText": "Är du säker på att du vill radera den här uppgiften?",
86452
- "table.body.editRow.cancelTask": "Avbryt",
86453
- "table.body.editRow.saveTask": "Spara",
86454
- "table.header.actions": " ",
86455
- "table.pagination.labelDisplayedRows": "{from}-{to} av {count}",
86456
- "table.pagination.labelRowsPerPage": "Rader per sida:",
86457
- "table.pagination.firstPage": "Första sidan",
86458
- "table.pagination.previousPage": "Färegående",
86459
- "table.pagination.nextPage": "Nästa",
86460
- "table.pagination.lastPage": "Sista sidan",
86461
- "table.toolbar.search": "Söka",
86462
- "table.toolbar.showColumnsTitle": "Show columns",
86463
- "table.toolbar.addRemoveColumns": "Add or remove columns",
86464
- "taskLink.title": "Uppgiften link",
86465
- "taskLink.button.open": "Uppgifter som kunden lämnat",
86466
- "taskLink.pdf.open": "PDF"
86467
86270
  }, Ay = {
86468
- en: Tre,
86469
- fi: Sre,
86470
- sv: xre
86271
+ en: {
86272
+ "tasksView.title": "Tasks",
86273
+ "tasksTableHeader.taskName": "Task name",
86274
+ "tasksTableHeader.category": "Type",
86275
+ "tasksTableHeader.status": "Status",
86276
+ "tasksTableHeader.dueDate": "Due date",
86277
+ "tasksTableHeader.priority": "Priority",
86278
+ "tasksTableHeader.assigned": "Assigned to",
86279
+ "tasksTableAction.editTask": "Edit task",
86280
+ "tasksTableAction.deleteTask": "Delete task",
86281
+ "taskPriority.low": "Low",
86282
+ "taskPriority.normal": "Normal",
86283
+ "taskPriority.high": "High",
86284
+ "taskDialog.priority": "Priority",
86285
+ "taskDialog.subject": "Subject",
86286
+ "taskDialog.description": "Description",
86287
+ "taskDialog.dueDate": "Due date",
86288
+ "taskDialog.assignedTo": "Assigned to",
86289
+ "taskDialog.assignedUser": "User",
86290
+ "taskDialog.status": "Status",
86291
+ "taskDialog.task": "Task",
86292
+ "taskDialog.category": "Type",
86293
+ "taskDialog.source": "Source",
86294
+ "task.priority.low": "Low",
86295
+ "task.priority.normal": "Normal",
86296
+ "task.priority.high": "High",
86297
+ "task.status.new": "New",
86298
+ "task.status.open": "Open",
86299
+ "task.status.completed": "Completed",
86300
+ "task.status.rejected": "Rejected",
86301
+ "task.created": "Created",
86302
+ "task.updated": "Updated",
86303
+ comments: "Comments",
86304
+ "task.comments.external.createTask": "Create task before adding external comments",
86305
+ "task.comments.internal.createTask": "Create task before adding internal comments",
86306
+ "task.attachments.createTask": "Create task before uploading attachments",
86307
+ internalComments: "Internal comments",
86308
+ externalComments: "External comments",
86309
+ "comment.store": "Save",
86310
+ "comment.add": "Add comment",
86311
+ "comment.addInternal": "Add internal comment",
86312
+ "comment.addExternal": "Add public comment",
86313
+ "comment.reply": "Reply",
86314
+ "taskButton.addTask": "Add task",
86315
+ "taskButton.refresh": "Check for new tasks",
86316
+ "taskButton.accept": "Accept",
86317
+ "taskButton.cancel": "Close",
86318
+ "table.body.emptyDataSourceMessage": "No data",
86319
+ "table.body.filterRow.filterTooltip": "Filter",
86320
+ "table.body.deleteTooltip": "Delete",
86321
+ "table.body.editRow.deleteText": "Are you sure you want to delete this task?",
86322
+ "table.body.editRow.cancelTask": "Cancel",
86323
+ "table.body.editRow.saveTask": "Confirm",
86324
+ "table.header.actions": " ",
86325
+ "table.pagination.labelDisplayedRows": "{from}-{to} of {count}",
86326
+ "table.pagination.labelRowsPerPage": "Rows per page:",
86327
+ "table.pagination.firstPage": "First page",
86328
+ "table.pagination.previousPage": "Previous page",
86329
+ "table.pagination.nextPage": "Next page",
86330
+ "table.pagination.lastPage": "Last page",
86331
+ "table.toolbar.search": "Search",
86332
+ "table.toolbar.showColumnsTitle": "Show columns",
86333
+ "table.toolbar.addRemoveColumns": "Add or remove columns",
86334
+ "taskLink.title": "Task link",
86335
+ "taskLink.button.open": "View related data",
86336
+ "taskLink.pdf.open": "PDF"
86337
+ },
86338
+ fi: {
86339
+ "tasksView.title": "Tehtävät",
86340
+ "tasksTableHeader.taskName": "Nimi",
86341
+ "tasksTableHeader.category": "Tyyppi",
86342
+ "tasksTableHeader.status": "Tila",
86343
+ "tasksTableHeader.dueDate": "Eräpäivä",
86344
+ "tasksTableHeader.priority": "Prioriteetti",
86345
+ "tasksTableHeader.assigned": "Käsittelijä",
86346
+ "tasksTableAction.editTask": "Muokkaa tehtävää",
86347
+ "tasksTableAction.deleteTask": "Poista tehtävää",
86348
+ "taskPriority.low": "Ei kiireellinen",
86349
+ "taskPriority.normal": "Normaali",
86350
+ "taskPriority.high": "Kiire",
86351
+ "taskDialog.priority": "Prioriteetti",
86352
+ "taskDialog.subject": "Aihe",
86353
+ "taskDialog.description": "Asiakkaan tiedot",
86354
+ "taskDialog.dueDate": "Eräpäivä",
86355
+ "taskDialog.assignedTo": "Käsittelijä ryhmä",
86356
+ "taskDialog.assignedUser": "Käyttäjä",
86357
+ "taskDialog.status": "Tila",
86358
+ "taskDialog.task": "Tehtävä",
86359
+ "taskDialog.category": "Tyyppi",
86360
+ "taskDialog.source": "Lähde",
86361
+ "task.priority.low": "Ei kiireellinen",
86362
+ "task.priority.normal": "Normaali",
86363
+ "task.priority.high": "Kiire",
86364
+ "task.status.new": "Uusi",
86365
+ "task.status.open": "Käsittelyssä",
86366
+ "task.status.completed": "Tehty",
86367
+ "task.status.rejected": "Hylätty",
86368
+ "task.created": "Luotu",
86369
+ "task.updated": "Päivitetty",
86370
+ comments: "Kommentit",
86371
+ "task.comments.external.createTask": "Luo tehtävä ennen ulkoisten kommenttien lisäämistä",
86372
+ "task.comments.internal.createTask": "Luo tehtävä ennen sisäisten kommenttien lisäämistä",
86373
+ "task.attachments.createTask": "Luo tehtävä ennen liitteiden lataamista",
86374
+ internalComments: "Sisäiset kommentit",
86375
+ externalComments: "Julkiset kommentit",
86376
+ "comment.store": "Tallenna",
86377
+ "comment.add": "Lisää kommentti",
86378
+ "comment.addInternal": "Lisää sisäinen kommentti",
86379
+ "comment.addExternal": "Lähetä asiakkaalle viesti",
86380
+ "comment.reply": "Vastaa",
86381
+ "taskButton.addTask": "Lisää tehtävä",
86382
+ "taskButton.refresh": "Tarkista uudet tehtävät",
86383
+ "taskButton.accept": "Hyväksy",
86384
+ "taskButton.cancel": "Takaisin",
86385
+ "table.body.emptyDataSourceMessage": "Ei dataa",
86386
+ "table.body.filterRow.filterTooltip": "Suodatin",
86387
+ "table.body.deleteTooltip": "Poista",
86388
+ "table.body.editRow.deleteText": "Haluatko varmasti poistaa tämän tehtävän?",
86389
+ "table.body.editRow.cancelTask": "Peruuta",
86390
+ "table.body.editRow.saveTask": "Tallenna",
86391
+ "table.header.actions": " ",
86392
+ "table.pagination.labelDisplayedRows": "{from}-{to} / {count}",
86393
+ "table.pagination.labelRowsPerPage": "Riviä per sivu:",
86394
+ "table.pagination.firstPage": "Ensimmäinen sivu",
86395
+ "table.pagination.previousPage": "Edellinen",
86396
+ "table.pagination.nextPage": "Seuraava",
86397
+ "table.pagination.lastPage": "Viimeinen sivu",
86398
+ "table.toolbar.search": "Etsi",
86399
+ "table.toolbar.showColumnsTitle": "Show columns",
86400
+ "table.toolbar.addRemoveColumns": "Add or remove columns",
86401
+ "taskLink.title": "Lomake",
86402
+ "taskLink.button.open": "Asiakkaan antamat tiedot",
86403
+ "taskLink.pdf.open": "PDF"
86404
+ },
86405
+ sv: {
86406
+ "tasksView.title": "Uppgiften",
86407
+ "tasksTableHeader.taskName": "Uppgiftens namn",
86408
+ "tasksTableHeader.category": "Typ",
86409
+ "tasksTableHeader.status": "Status",
86410
+ "tasksTableHeader.dueDate": "Deadline",
86411
+ "tasksTableHeader.priority": "Prioritet",
86412
+ "tasksTableHeader.assigned": "Hanterare",
86413
+ "tasksTableAction.editTask": "Redigera uppgiften",
86414
+ "tasksTableAction.deleteTask": "Ta bort uppgift",
86415
+ "taskPriority.low": "Inte bråttom",
86416
+ "taskPriority.normal": "Normal",
86417
+ "taskPriority.high": "Brådskande",
86418
+ "taskDialog.priority": "Prioritet",
86419
+ "taskDialog.subject": "Ämne",
86420
+ "taskDialog.description": "Kundupgifter",
86421
+ "taskDialog.dueDate": "Deadline",
86422
+ "taskDialog.assignedTo": "Hanteraregrupp",
86423
+ "taskDialog.assignedUser": "Användare",
86424
+ "taskDialog.status": "Status",
86425
+ "taskDialog.task": "Uppgiften",
86426
+ "taskDialog.category": "Typ",
86427
+ "taskDialog.source": "Källa",
86428
+ "task.priority.low": "Inte bråttom",
86429
+ "task.priority.normal": "Normal",
86430
+ "task.priority.high": "Brådskande",
86431
+ "task.status.new": "Nya",
86432
+ "task.status.open": "Läsning",
86433
+ "task.status.completed": "Redo",
86434
+ "task.status.rejected": "Övergiven",
86435
+ "task.created": "Skapad",
86436
+ "task.updated": "Uppdaterad",
86437
+ comments: "Meddelanden",
86438
+ "task.comments.external.createTask": "Skapa uppgift innan du lägger till externa kommentarer",
86439
+ "task.comments.internal.createTask": "Skapa uppgift innan du lägger till interna kommentarer",
86440
+ "task.attachments.createTask": "Skapa uppgift innan du laddar upp bilagor",
86441
+ internalComments: "Interna kommentarer",
86442
+ externalComments: "Kundmeddelanden",
86443
+ "comment.store": "Spara",
86444
+ "comment.add": "Skriv en kommentar",
86445
+ "comment.addInternal": "Skriva en intern kommentar",
86446
+ "comment.addExternal": "Skriva ett meddelande till kunden",
86447
+ "comment.reply": "Ansvar",
86448
+ "taskButton.addTask": "Mer uppgift",
86449
+ "taskButton.refresh": "Sök efter nya uppgifter",
86450
+ "taskButton.accept": "Acceptera",
86451
+ "taskButton.cancel": "Avbryt",
86452
+ "table.body.emptyDataSourceMessage": "Ingen data",
86453
+ "table.body.filterRow.filterTooltip": "Filtrera",
86454
+ "table.body.deleteTooltip": "Radera",
86455
+ "table.body.editRow.deleteText": "Är du säker på att du vill radera den här uppgiften?",
86456
+ "table.body.editRow.cancelTask": "Avbryt",
86457
+ "table.body.editRow.saveTask": "Spara",
86458
+ "table.header.actions": " ",
86459
+ "table.pagination.labelDisplayedRows": "{from}-{to} av {count}",
86460
+ "table.pagination.labelRowsPerPage": "Rader per sida:",
86461
+ "table.pagination.firstPage": "Första sidan",
86462
+ "table.pagination.previousPage": "Färegående",
86463
+ "table.pagination.nextPage": "Nästa",
86464
+ "table.pagination.lastPage": "Sista sidan",
86465
+ "table.toolbar.search": "Söka",
86466
+ "table.toolbar.showColumnsTitle": "Show columns",
86467
+ "table.toolbar.addRemoveColumns": "Add or remove columns",
86468
+ "taskLink.title": "Uppgiften link",
86469
+ "taskLink.button.open": "Uppgifter som kunden lämnat",
86470
+ "taskLink.pdf.open": "PDF"
86471
+ }
86471
86472
  }, JL = {
86472
86473
  en: { ...Ay.en, ...Ere },
86473
86474
  fi: { ...Ay.fi, ...wre },
86474
86475
  sv: { ...Ay.sv, ..._re }
86475
- }, kre = () => {
86476
+ }, Tre = () => {
86476
86477
  const { locale: e, setLocale: t } = QL(), n = Co(), i = Ut(), [r, s] = $M.useState(null), o = Object.keys(JL), l = !!r, a = (d) => {
86477
86478
  s(d.currentTarget);
86478
86479
  }, u = (d) => {
@@ -86500,7 +86501,7 @@ const Ere = {
86500
86501
  p
86501
86502
  )) })
86502
86503
  ] });
86503
- }, Cre = () => {
86504
+ }, Sre = () => {
86504
86505
  const e = Ut(), t = eu(), n = ci(null), [i, r] = Jt(""), [s, o] = Jt(
86505
86506
  0
86506
86507
  /* NotSent */
@@ -86593,7 +86594,7 @@ const Ere = {
86593
86594
  ] });
86594
86595
  }, Rs = {
86595
86596
  fontSize: "13pt"
86596
- }, Are = [
86597
+ }, xre = [
86597
86598
  { id: "menu.tasks", to: "/ui/tasks", icon: /* @__PURE__ */ w(aF, { sx: Rs }) },
86598
86599
  { id: "menu.dashboard", to: "/ui/dashboard", icon: /* @__PURE__ */ w(a1, { sx: Rs }) },
86599
86600
  { id: "menu.processes", to: "/ui/processes", icon: /* @__PURE__ */ w(cF, { sx: Rs }) },
@@ -86607,18 +86608,18 @@ const Ere = {
86607
86608
  { id: "menu.publications", to: "/ui/publications", icon: /* @__PURE__ */ w(dF, { sx: Rs }) }
86608
86609
  ];
86609
86610
  process.env.VITE_ENV_TYPE;
86610
- const Ire = process.env.VITE_HOST_URL || "http://localhost:3000", Nre = () => /* @__PURE__ */ w(me, { display: "flex", marginTop: "auto", justifyContent: "center", children: /* @__PURE__ */ w(
86611
+ const kre = process.env.VITE_HOST_URL || "http://localhost:3000", Cre = () => /* @__PURE__ */ w(me, { display: "flex", marginTop: "auto", justifyContent: "center", children: /* @__PURE__ */ w(
86611
86612
  dn,
86612
86613
  {
86613
86614
  label: "explorer.logout",
86614
86615
  sx: { width: 350, position: "fixed", bottom: 0, marginBottom: 3 },
86615
- onClick: () => window.location.href = `${Ire}/oauth2/authorization/oidcprovider`
86616
+ onClick: () => window.location.href = `${kre}/oauth2/authorization/oidcprovider`
86616
86617
  }
86617
- ) }), Ore = () => {
86618
+ ) }), Are = () => {
86618
86619
  const e = Ac(), t = le.useContext(gx), n = (i) => {
86619
86620
  i ? e(i) : t.open();
86620
86621
  };
86621
- return /* @__PURE__ */ w(Ue, { children: /* @__PURE__ */ w(Ia, { children: Are.map(
86622
+ return /* @__PURE__ */ w(Ue, { children: /* @__PURE__ */ w(Ia, { children: xre.map(
86622
86623
  (i) => /* @__PURE__ */ w(
86623
86624
  yre,
86624
86625
  {
@@ -86629,7 +86630,7 @@ const Ire = process.env.VITE_HOST_URL || "http://localhost:3000", Nre = () => /*
86629
86630
  i.id
86630
86631
  )
86631
86632
  ) }) });
86632
- }, Dre = Zn(me)(({ theme: e }) => ({
86633
+ }, Ire = Zn(me)(({ theme: e }) => ({
86633
86634
  display: "flex",
86634
86635
  alignItems: "center",
86635
86636
  minWidth: "unset",
@@ -86643,19 +86644,19 @@ const Ire = process.env.VITE_HOST_URL || "http://localhost:3000", Nre = () => /*
86643
86644
  fontSize: e.typography.caption.fontSize,
86644
86645
  textTransform: "uppercase"
86645
86646
  }
86646
- })), Rre = () => {
86647
+ })), Nre = () => {
86647
86648
  const t = (process.env.VITE_ENV_TYPE || "test") !== "prod", n = wi(), i = eu(), r = Ut();
86648
86649
  return t || (() => {
86649
86650
  var o;
86650
86651
  return (o = n.taskAdminGroups) != null && o.length ? !!i.hasRole(...n.taskAdminGroups) : !0;
86651
86652
  })(), /* @__PURE__ */ w(Ue, { children: /* @__PURE__ */ ee(me, { sx: { backgroundColor: "explorer.main", height: "100%" }, children: [
86652
- /* @__PURE__ */ ee(Dre, { children: [
86653
+ /* @__PURE__ */ ee(Ire, { children: [
86653
86654
  /* @__PURE__ */ w(Pe, { sx: { color: "white", fontStyle: "italic", fontFamily: "serif" }, children: "My Logo" }),
86654
86655
  /* @__PURE__ */ w(Pe, { children: r.formatMessage({ id: "explorer.title" }) })
86655
86656
  ] }),
86656
- /* @__PURE__ */ w(me, { display: "flex", flexDirection: "column", flexGrow: 1, children: /* @__PURE__ */ w(Ore, {}) }),
86657
- /* @__PURE__ */ w(Cre, {}),
86658
- /* @__PURE__ */ w(Nre, {})
86657
+ /* @__PURE__ */ w(me, { display: "flex", flexDirection: "column", flexGrow: 1, children: /* @__PURE__ */ w(Are, {}) }),
86658
+ /* @__PURE__ */ w(Sre, {}),
86659
+ /* @__PURE__ */ w(Cre, {})
86659
86660
  ] }) });
86660
86661
  }, ZI = Zn(me)(({ theme: e }) => ({
86661
86662
  display: "flex",
@@ -86667,7 +86668,7 @@ const Ire = process.env.VITE_HOST_URL || "http://localhost:3000", Nre = () => /*
86667
86668
  "& .MuiSvgIcon-root": {
86668
86669
  color: e.palette.explorerItem.main
86669
86670
  }
86670
- })), Lre = Zn(me)(({ theme: e }) => ({
86671
+ })), Ore = Zn(me)(({ theme: e }) => ({
86671
86672
  flexGrow: 1,
86672
86673
  display: "flex",
86673
86674
  width: "100%",
@@ -86675,18 +86676,18 @@ const Ire = process.env.VITE_HOST_URL || "http://localhost:3000", Nre = () => /*
86675
86676
  flexDirection: "column",
86676
86677
  borderRight: `1px solid ${e.palette.explorerItem.dark}`,
86677
86678
  backgroundColor: e.palette.explorer.main
86678
- })), Mre = () => {
86679
+ })), Dre = () => {
86679
86680
  const e = rg(), t = e.session.drawer;
86680
- return /* @__PURE__ */ w(Ue, { children: /* @__PURE__ */ ee(Lre, { children: [
86681
+ return /* @__PURE__ */ w(Ue, { children: /* @__PURE__ */ ee(Ore, { children: [
86681
86682
  /* @__PURE__ */ w(ZI, { onClick: () => {
86682
86683
  e.actions.handleDrawerOpen(!t);
86683
86684
  }, children: /* @__PURE__ */ w(s1, {}) }),
86684
86685
  /* @__PURE__ */ w(ZI, { onClick: () => window.open("https://google.com", "_blank"), children: /* @__PURE__ */ w(l1, {}) }),
86685
- /* @__PURE__ */ w(kre, {})
86686
+ /* @__PURE__ */ w(Tre, {})
86686
86687
  ] }) });
86687
- }, Iy = ({ children: e }) => /* @__PURE__ */ w(_3, { router: T3(S3(e), { basename: void 0 }) }), Fre = {
86688
+ }, Iy = ({ children: e }) => /* @__PURE__ */ w(_3, { router: T3(S3(e), { basename: void 0 }) }), Rre = {
86688
86689
  id: "frontdesk-app",
86689
- components: { primary: x3, secondary: Rre, toolbar: Mre },
86690
+ components: { primary: x3, secondary: Nre, toolbar: Dre },
86690
86691
  state: [
86691
86692
  (e, t) => /* @__PURE__ */ w(Ue, { children: e }),
86692
86693
  () => ({})
@@ -86694,14 +86695,14 @@ const Ire = process.env.VITE_HOST_URL || "http://localhost:3000", Nre = () => /*
86694
86695
  }, Ny = ({ locale: e }) => {
86695
86696
  const t = vk({ path: "/wrench/ide" }), n = vk({ path: "/ui/content" }), { serviceUrl: i } = wi();
86696
86697
  if (t) {
86697
- const r = new II.ServiceImpl(new II.DefaultStore({ url: i + "rest/api/assets/wrench" }));
86698
+ const r = new II.ServiceImpl(new II.DefaultStore({ url: i + "worker/rest/api/assets/wrench" }));
86698
86699
  return /* @__PURE__ */ w(c0, { locale: "en", messages: Hte.en, children: /* @__PURE__ */ w(zte, { service: r }) });
86699
86700
  } else if (n) {
86700
- const r = lv.service({ config: { url: i + "rest/api/assets/stencil" } });
86701
+ const r = lv.service({ config: { url: i + "worker/rest/api/assets/stencil" } });
86701
86702
  return /* @__PURE__ */ w(c0, { locale: "en", messages: wV.en, children: /* @__PURE__ */ w(UX, { service: r }) });
86702
86703
  }
86703
- return /* @__PURE__ */ w(vL, { children: /* @__PURE__ */ w(c0, { locale: e, messages: JL[e], children: /* @__PURE__ */ w(pne, { children: /* @__PURE__ */ w(h1, { children: [Fre], drawerOpen: !0 }) }) }) });
86704
- }, Pre = ({ locale: e }) => {
86704
+ return /* @__PURE__ */ w(vL, { children: /* @__PURE__ */ w(c0, { locale: e, messages: JL[e], children: /* @__PURE__ */ w(pne, { children: /* @__PURE__ */ w(h1, { children: [Rre], drawerOpen: !0 }) }) }) });
86705
+ }, Lre = ({ locale: e }) => {
86705
86706
  const t = eu();
86706
86707
  if (t.isAuthenticated()) {
86707
86708
  if (!t.isAuthorized())
@@ -86722,7 +86723,7 @@ const Ire = process.env.VITE_HOST_URL || "http://localhost:3000", Nre = () => /*
86722
86723
  /* @__PURE__ */ w(gi, { path: "/wrench/ide", element: /* @__PURE__ */ w(Ue, { children: "wrench loading..." }) }),
86723
86724
  /* @__PURE__ */ w(gi, { path: "/ui/content", element: /* @__PURE__ */ w(Ue, { children: "stencil loading..." }) })
86724
86725
  ] }) });
86725
- }, Bre = () => {
86726
+ }, Mre = () => {
86726
86727
  const { locale: e } = QL(), t = le.createRef(), n = (i) => () => {
86727
86728
  var r;
86728
86729
  (r = t.current) == null || r.closeSnackbar(i);
@@ -86734,21 +86735,21 @@ const Ire = process.env.VITE_HOST_URL || "http://localhost:3000", Nre = () => /*
86734
86735
  ref: t,
86735
86736
  action: (i) => /* @__PURE__ */ w(xo, { onClick: n(i), children: /* @__PURE__ */ w(ge, { id: "button.dismiss" }) }),
86736
86737
  anchorOrigin: { vertical: "bottom", horizontal: "left" },
86737
- children: /* @__PURE__ */ w(Qte, { children: /* @__PURE__ */ w(Pre, { locale: e }) })
86738
+ children: /* @__PURE__ */ w(Qte, { children: /* @__PURE__ */ w(Lre, { locale: e }) })
86738
86739
  }
86739
86740
  ) }) });
86740
- }, Mse = (e) => {
86741
+ }, Dse = (e) => {
86741
86742
  const { defaultLocale: t = "en", configUrl: n = "/config" } = e;
86742
- return /* @__PURE__ */ w(ene, { path: n, children: /* @__PURE__ */ w(vL, { children: /* @__PURE__ */ w(vre, { locale: t, children: /* @__PURE__ */ w(Bre, {}) }) }) });
86743
+ return /* @__PURE__ */ w(ene, { path: n, children: /* @__PURE__ */ w(vL, { children: /* @__PURE__ */ w(vre, { locale: t, children: /* @__PURE__ */ w(Mre, {}) }) }) });
86743
86744
  };
86744
86745
  export {
86745
- Mse as Frontdesk,
86746
+ Dse as Frontdesk,
86746
86747
  lv as StencilClient,
86747
86748
  UX as StencilComposer,
86748
86749
  II as WrenchClient,
86749
86750
  zte as WrenchComposer,
86750
86751
  JL as frontdeskIntl,
86751
- Nse as siteTheme,
86752
+ Cse as siteTheme,
86752
86753
  wV as stencilIntl,
86753
86754
  Hte as wrenchIntl
86754
86755
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxs-ts/eveli-ide",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "homepage": "https://github.com/digiexpress-io/digiexpress-parent",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",