wcz-test 6.25.0 → 6.27.0

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 (42) hide show
  1. package/dist/DialogsHooks-DzqOb2Zx.js +233 -0
  2. package/dist/DialogsHooks-DzqOb2Zx.js.map +1 -0
  3. package/dist/FileHooks-C8Akmy_o.js +2694 -0
  4. package/dist/FileHooks-C8Akmy_o.js.map +1 -0
  5. package/dist/RouterListItemButton-Spme9i4b.js +661 -0
  6. package/dist/RouterListItemButton-Spme9i4b.js.map +1 -0
  7. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  8. package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  9. package/dist/components.js +2666 -518
  10. package/dist/components.js.map +1 -1
  11. package/dist/hooks.js +908 -354
  12. package/dist/hooks.js.map +1 -1
  13. package/dist/index-Biz5inV2.js +268 -0
  14. package/dist/index-Biz5inV2.js.map +1 -0
  15. package/dist/index.d.ts +0 -3
  16. package/dist/index.js +746 -1448
  17. package/dist/index.js.map +1 -1
  18. package/dist/queries.js +111 -113
  19. package/dist/queries.js.map +1 -1
  20. package/dist/utils-IWcYo8tM.js +106 -0
  21. package/dist/utils-IWcYo8tM.js.map +1 -0
  22. package/dist/utils.js +5 -5
  23. package/dist/vite.js +11 -11
  24. package/dist/vite.js.map +1 -1
  25. package/package.json +8 -15
  26. package/dist/DialogsHooks-DWkC9zAf.js +0 -114
  27. package/dist/DialogsHooks-DWkC9zAf.js.map +0 -1
  28. package/dist/FileHooks-CltSzAf8.js +0 -300
  29. package/dist/FileHooks-CltSzAf8.js.map +0 -1
  30. package/dist/RouterListItemButton-C_SG0uka.js +0 -18
  31. package/dist/RouterListItemButton-C_SG0uka.js.map +0 -1
  32. package/dist/env-4ZoUrNqp.js +0 -28
  33. package/dist/env-4ZoUrNqp.js.map +0 -1
  34. package/dist/queryClient--EvGPhnh.js +0 -6
  35. package/dist/queryClient--EvGPhnh.js.map +0 -1
  36. package/dist/server.d.ts +0 -11
  37. package/dist/server.js +0 -70
  38. package/dist/server.js.map +0 -1
  39. package/dist/session-7yb0BETM.js +0 -76
  40. package/dist/session-7yb0BETM.js.map +0 -1
  41. package/dist/utils-CZraUjBd.js +0 -82
  42. package/dist/utils-CZraUjBd.js.map +0 -1
package/dist/queries.js CHANGED
@@ -1,12 +1,10 @@
1
- import { q as Ke } from "./queryClient--EvGPhnh.js";
2
- import { f as we, g as Re, c as Ae, b as We, u as be, a as Me, d as xe, e as Ce, h as De } from "./FileHooks-CltSzAf8.js";
1
+ import { QueryClient as g, useQuery as m, useQueryClient as p, useMutation as q } from "@tanstack/react-query";
2
+ import { f as Oe, g as we, c as Re, b as Ae, u as We, a as be, d as Me, e as Ce, h as xe } from "./FileHooks-C8Akmy_o.js";
3
3
  import { c } from "react/compiler-runtime";
4
- import { useQuery as m, useQueryClient as p, useMutation as q } from "@tanstack/react-query";
5
- import { h as f, t as g } from "./utils-CZraUjBd.js";
4
+ import { h as f, t as T, c as v } from "./utils-IWcYo8tM.js";
6
5
  import $ from "zod";
7
- import { c as T } from "./env-4ZoUrNqp.js";
8
- import { A as v, a as F } from "./ApprovalStatus-lESbUD_x.js";
9
- const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
6
+ import { A as F, a as _ } from "./ApprovalStatus-lESbUD_x.js";
7
+ const ue = new g(), s = "ps", a = 1e3 * 60 * 60 * 24, se = (t, n) => {
10
8
  const e = c(7);
11
9
  let r, l;
12
10
  e[0] !== t ? (r = [s, "employee", "search", t], l = (o) => {
@@ -17,7 +15,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
17
15
  url: `/${s}/v1/employee?search=${t}`,
18
16
  method: "GET",
19
17
  signal: i
20
- }).then(_);
18
+ }).then(E);
21
19
  }, e[0] = t, e[1] = r, e[2] = l) : (r = e[1], l = e[2]);
22
20
  let u;
23
21
  return e[3] !== n || e[4] !== r || e[5] !== l ? (u = {
@@ -28,7 +26,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
28
26
  gcTime: a,
29
27
  refetchOnWindowFocus: !1
30
28
  }, e[3] = n, e[4] = r, e[5] = l, e[6] = u) : u = e[6], m(u);
31
- }, se = (t) => {
29
+ }, ae = (t) => {
32
30
  const n = c(3);
33
31
  let e;
34
32
  n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = [s, "employee"], n[0] = e) : e = n[0];
@@ -36,12 +34,12 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
36
34
  return n[1] !== t ? (r = {
37
35
  ...t,
38
36
  queryKey: e,
39
- queryFn: G,
37
+ queryFn: S,
40
38
  staleTime: a,
41
39
  gcTime: a,
42
40
  refetchOnWindowFocus: !1
43
41
  }, n[1] = t, n[2] = r) : r = n[2], m(r);
44
- }, ae = (t) => {
42
+ }, oe = (t) => {
45
43
  const n = c(3);
46
44
  let e;
47
45
  n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = [s, "employee", "active"], n[0] = e) : e = n[0];
@@ -49,12 +47,12 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
49
47
  return n[1] !== t ? (r = {
50
48
  ...t,
51
49
  queryKey: e,
52
- queryFn: P,
50
+ queryFn: K,
53
51
  staleTime: a,
54
52
  gcTime: a,
55
53
  refetchOnWindowFocus: !1
56
54
  }, n[1] = t, n[2] = r) : r = n[2], m(r);
57
- }, oe = (t, n) => {
55
+ }, ie = (t, n) => {
58
56
  const e = c(7);
59
57
  let r, l;
60
58
  e[0] !== t ? (r = [s, "employee", t], l = (o) => {
@@ -65,7 +63,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
65
63
  url: `/${s}/v1/employee/${t}`,
66
64
  method: "GET",
67
65
  signal: i
68
- }).then(K);
66
+ }).then(O);
69
67
  }, e[0] = t, e[1] = r, e[2] = l) : (r = e[1], l = e[2]);
70
68
  let u;
71
69
  return e[3] !== n || e[4] !== r || e[5] !== l ? (u = {
@@ -76,7 +74,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
76
74
  gcTime: a,
77
75
  refetchOnWindowFocus: !1
78
76
  }, e[3] = n, e[4] = r, e[5] = l, e[6] = u) : u = e[6], m(u);
79
- }, ie = (t) => {
77
+ }, ce = (t) => {
80
78
  const n = c(3);
81
79
  let e;
82
80
  n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = [s, "employee", "previousIds"], n[0] = e) : e = n[0];
@@ -84,12 +82,12 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
84
82
  return n[1] !== t ? (r = {
85
83
  ...t,
86
84
  queryKey: e,
87
- queryFn: w,
85
+ queryFn: R,
88
86
  staleTime: a,
89
87
  gcTime: a,
90
88
  refetchOnWindowFocus: !1
91
89
  }, n[1] = t, n[2] = r) : r = n[2], m(r);
92
- }, ce = (t, n) => {
90
+ }, fe = (t, n) => {
93
91
  const e = c(7);
94
92
  let r, l;
95
93
  e[0] !== t ? (r = [s, "employee", t, "supervisor"], l = (o) => {
@@ -100,7 +98,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
100
98
  url: `/${s}/v1/employee/${t}/supervisor`,
101
99
  method: "GET",
102
100
  signal: i
103
- }).then(R);
101
+ }).then(A);
104
102
  }, e[0] = t, e[1] = r, e[2] = l) : (r = e[1], l = e[2]);
105
103
  let u;
106
104
  return e[3] !== n || e[4] !== r || e[5] !== l ? (u = {
@@ -111,7 +109,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
111
109
  gcTime: a,
112
110
  refetchOnWindowFocus: !1
113
111
  }, e[3] = n, e[4] = r, e[5] = l, e[6] = u) : u = e[6], m(u);
114
- }, fe = (t, n) => {
112
+ }, me = (t, n) => {
115
113
  const e = c(7);
116
114
  let r, l;
117
115
  e[0] !== t ? (r = [s, "employee", t, "subordinates"], l = (o) => {
@@ -122,7 +120,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
122
120
  url: `/${s}/v1/employee/${t}/subordinates`,
123
121
  method: "GET",
124
122
  signal: i
125
- }).then(A);
123
+ }).then(W);
126
124
  }, e[0] = t, e[1] = r, e[2] = l) : (r = e[1], l = e[2]);
127
125
  let u;
128
126
  return e[3] !== n || e[4] !== r || e[5] !== l ? (u = {
@@ -133,7 +131,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
133
131
  gcTime: a,
134
132
  refetchOnWindowFocus: !1
135
133
  }, e[3] = n, e[4] = r, e[5] = l, e[6] = u) : u = e[6], m(u);
136
- }, me = (t, n) => {
134
+ }, ye = (t, n) => {
137
135
  const e = c(7);
138
136
  let r, l;
139
137
  e[0] !== t ? (r = [s, "employee", t, "manager"], l = (o) => {
@@ -144,7 +142,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
144
142
  url: `/${s}/v1/employee/${t}/manager`,
145
143
  method: "GET",
146
144
  signal: i
147
- }).then(W);
145
+ }).then(b);
148
146
  }, e[0] = t, e[1] = r, e[2] = l) : (r = e[1], l = e[2]);
149
147
  let u;
150
148
  return e[3] !== n || e[4] !== r || e[5] !== l ? (u = {
@@ -155,7 +153,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
155
153
  gcTime: a,
156
154
  refetchOnWindowFocus: !1
157
155
  }, e[3] = n, e[4] = r, e[5] = l, e[6] = u) : u = e[6], m(u);
158
- }, ye = (t, n) => {
156
+ }, pe = (t, n) => {
159
157
  const e = c(7);
160
158
  let r, l;
161
159
  e[0] !== t ? (r = [s, "employee", t, "generalManager"], l = (o) => {
@@ -166,7 +164,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
166
164
  url: `/${s}/v1/employee/${t}/generalManager`,
167
165
  method: "GET",
168
166
  signal: i
169
- }).then(b);
167
+ }).then(M);
170
168
  }, e[0] = t, e[1] = r, e[2] = l) : (r = e[1], l = e[2]);
171
169
  let u;
172
170
  return e[3] !== n || e[4] !== r || e[5] !== l ? (u = {
@@ -177,7 +175,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
177
175
  gcTime: a,
178
176
  refetchOnWindowFocus: !1
179
177
  }, e[3] = n, e[4] = r, e[5] = l, e[6] = u) : u = e[6], m(u);
180
- }, pe = (t) => {
178
+ }, qe = (t) => {
181
179
  const n = c(3);
182
180
  let e;
183
181
  n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = [s, "department"], n[0] = e) : e = n[0];
@@ -190,7 +188,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
190
188
  gcTime: a,
191
189
  refetchOnWindowFocus: !1
192
190
  }, n[1] = t, n[2] = r) : r = n[2], m(r);
193
- }, qe = (t, n) => {
191
+ }, $e = (t, n) => {
194
192
  const e = c(7);
195
193
  let r, l;
196
194
  e[0] !== t ? (r = [s, "department", t], l = (o) => {
@@ -201,7 +199,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
201
199
  url: `/${s}/v1/department/${t}`,
202
200
  method: "GET",
203
201
  signal: i
204
- }).then(C);
202
+ }).then(Q);
205
203
  }, e[0] = t, e[1] = r, e[2] = l) : (r = e[1], l = e[2]);
206
204
  let u;
207
205
  return e[3] !== n || e[4] !== r || e[5] !== l ? (u = {
@@ -212,7 +210,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
212
210
  gcTime: a,
213
211
  refetchOnWindowFocus: !1
214
212
  }, e[3] = n, e[4] = r, e[5] = l, e[6] = u) : u = e[6], m(u);
215
- }, $e = (t, n) => {
213
+ }, he = (t, n) => {
216
214
  const e = c(7);
217
215
  let r, l;
218
216
  e[0] !== t ? (r = [s, "department", t, "manager"], l = (o) => {
@@ -234,7 +232,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
234
232
  gcTime: a,
235
233
  refetchOnWindowFocus: !1
236
234
  }, e[3] = n, e[4] = r, e[5] = l, e[6] = u) : u = e[6], m(u);
237
- }, he = (t, n) => {
235
+ }, de = (t, n) => {
238
236
  const e = c(7);
239
237
  let r, l;
240
238
  e[0] !== t ? (r = [s, "department", t, "employees"], l = (o) => {
@@ -245,7 +243,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
245
243
  url: `/${s}/v1/department/${t}/employees`,
246
244
  method: "GET",
247
245
  signal: i
248
- }).then(Q);
246
+ }).then(U);
249
247
  }, e[0] = t, e[1] = r, e[2] = l) : (r = e[1], l = e[2]);
250
248
  let u;
251
249
  return e[3] !== n || e[4] !== r || e[5] !== l ? (u = {
@@ -256,7 +254,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
256
254
  gcTime: a,
257
255
  refetchOnWindowFocus: !1
258
256
  }, e[3] = n, e[4] = r, e[5] = l, e[6] = u) : u = e[6], m(u);
259
- }, de = (t, n) => {
257
+ }, ge = (t, n) => {
260
258
  const e = c(7);
261
259
  let r, l;
262
260
  e[0] !== t ? (r = [s, "company", t, "generalManager"], l = (o) => {
@@ -267,7 +265,7 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
267
265
  url: `/${s}/v1/company/${t}/generalManager`,
268
266
  method: "GET",
269
267
  signal: i
270
- }).then(U);
268
+ }).then(N);
271
269
  }, e[0] = t, e[1] = r, e[2] = l) : (r = e[1], l = e[2]);
272
270
  let u;
273
271
  return e[3] !== n || e[4] !== r || e[5] !== l ? (u = {
@@ -279,13 +277,13 @@ const s = "ps", a = 1e3 * 60 * 60 * 24, ue = (t, n) => {
279
277
  refetchOnWindowFocus: !1
280
278
  }, e[3] = n, e[4] = r, e[5] = l, e[6] = u) : u = e[6], m(u);
281
279
  };
282
- function _(t) {
283
- return t.data;
284
- }
285
280
  function E(t) {
286
281
  return t.data;
287
282
  }
288
283
  function G(t) {
284
+ return t.data;
285
+ }
286
+ function S(t) {
289
287
  const {
290
288
  signal: n
291
289
  } = t;
@@ -293,12 +291,12 @@ function G(t) {
293
291
  url: `/${s}/v1/employee/all`,
294
292
  method: "GET",
295
293
  signal: n
296
- }).then(E);
294
+ }).then(G);
297
295
  }
298
- function S(t) {
296
+ function P(t) {
299
297
  return t.data;
300
298
  }
301
- function P(t) {
299
+ function K(t) {
302
300
  const {
303
301
  signal: n
304
302
  } = t;
@@ -306,15 +304,15 @@ function P(t) {
306
304
  url: `/${s}/v1/employee/active`,
307
305
  method: "GET",
308
306
  signal: n
309
- }).then(S);
310
- }
311
- function K(t) {
312
- return t.data;
307
+ }).then(P);
313
308
  }
314
309
  function O(t) {
315
310
  return t.data;
316
311
  }
317
312
  function w(t) {
313
+ return t.data;
314
+ }
315
+ function R(t) {
318
316
  const {
319
317
  signal: n
320
318
  } = t;
@@ -322,10 +320,7 @@ function w(t) {
322
320
  url: `/${s}/v1/employee/previousIds`,
323
321
  method: "GET",
324
322
  signal: n
325
- }).then(O);
326
- }
327
- function R(t) {
328
- return t.data;
323
+ }).then(w);
329
324
  }
330
325
  function A(t) {
331
326
  return t.data;
@@ -339,6 +334,9 @@ function b(t) {
339
334
  function M(t) {
340
335
  return t.data;
341
336
  }
337
+ function C(t) {
338
+ return t.data;
339
+ }
342
340
  function x(t) {
343
341
  const {
344
342
  signal: n
@@ -347,28 +345,28 @@ function x(t) {
347
345
  url: `/${s}/v1/department/all`,
348
346
  method: "GET",
349
347
  signal: n
350
- }).then(M);
348
+ }).then(C);
351
349
  }
352
- function C(t) {
350
+ function Q(t) {
353
351
  return t.data;
354
352
  }
355
353
  function D(t) {
356
354
  return t.data;
357
355
  }
358
- function Q(t) {
356
+ function U(t) {
359
357
  return t.data;
360
358
  }
361
- function U(t) {
359
+ function N(t) {
362
360
  return t.data;
363
361
  }
364
- const y = "approval", h = g(T.VITE_APP_TITLE);
362
+ const y = "approval", h = T(v.VITE_APP_TITLE);
365
363
  $.object({
366
364
  appName: $.string().min(1).max(255).default(h).optional(),
367
- status: F.optional(),
365
+ status: _.optional(),
368
366
  approverEmployeeId: $.string().min(1).max(20).optional(),
369
- stepResult: v.optional()
367
+ stepResult: F.optional()
370
368
  });
371
- const ge = (t, n) => {
369
+ const Te = (t, n) => {
372
370
  const e = c(10);
373
371
  let r;
374
372
  e[0] !== t ? (r = new URLSearchParams(), r.append("applicationName", t?.appName ?? h), t?.status && r.append("status", t.status.toString()), t?.approverEmployeeId && r.append("approverEmployeeId", t.approverEmployeeId), t?.stepResult && r.append("stepResult", t.stepResult.toString()), e[0] = t, e[1] = r) : r = e[1];
@@ -383,7 +381,7 @@ const ge = (t, n) => {
383
381
  url: `/${y}/Requests/Requests?${r.toString()}`,
384
382
  method: "GET",
385
383
  signal: d
386
- }).then(N);
384
+ }).then(Y);
387
385
  }, e[4] = r, e[5] = u) : u = e[5];
388
386
  let o;
389
387
  return e[6] !== n || e[7] !== l || e[8] !== u ? (o = {
@@ -391,7 +389,7 @@ const ge = (t, n) => {
391
389
  queryKey: l,
392
390
  queryFn: u
393
391
  }, e[6] = n, e[7] = l, e[8] = u, e[9] = o) : o = e[9], m(o);
394
- }, Te = (t, n) => {
392
+ }, ve = (t, n) => {
395
393
  const e = c(7);
396
394
  let r, l;
397
395
  e[0] !== t ? (r = [y, t], l = (o) => {
@@ -402,7 +400,7 @@ const ge = (t, n) => {
402
400
  url: `/${y}/Requests/${t}`,
403
401
  method: "GET",
404
402
  signal: i
405
- }).then(Y);
403
+ }).then(B);
406
404
  }, e[0] = t, e[1] = r, e[2] = l) : (r = e[1], l = e[2]);
407
405
  let u;
408
406
  return e[3] !== n || e[4] !== r || e[5] !== l ? (u = {
@@ -410,7 +408,7 @@ const ge = (t, n) => {
410
408
  queryKey: r,
411
409
  queryFn: l
412
410
  }, e[3] = n, e[4] = r, e[5] = l, e[6] = u) : u = e[6], m(u);
413
- }, ve = (t) => {
411
+ }, Fe = (t) => {
414
412
  const n = c(5), e = p();
415
413
  let r;
416
414
  n[0] !== e ? (r = () => e.invalidateQueries({
@@ -420,10 +418,10 @@ const ge = (t, n) => {
420
418
  let l;
421
419
  return n[2] !== t || n[3] !== r ? (l = {
422
420
  ...t,
423
- mutationFn: L,
421
+ mutationFn: j,
424
422
  onSettled: r
425
423
  }, n[2] = t, n[3] = r, n[4] = l) : l = n[4], q(l);
426
- }, Fe = (t) => {
424
+ }, _e = (t) => {
427
425
  const n = c(5), e = p();
428
426
  let r;
429
427
  n[0] !== e ? (r = () => e.invalidateQueries({
@@ -433,10 +431,10 @@ const ge = (t, n) => {
433
431
  let l;
434
432
  return n[2] !== t || n[3] !== r ? (l = {
435
433
  ...t,
436
- mutationFn: z,
434
+ mutationFn: V,
437
435
  onSettled: r
438
436
  }, n[2] = t, n[3] = r, n[4] = l) : l = n[4], q(l);
439
- }, _e = (t) => {
437
+ }, Ee = (t) => {
440
438
  const n = c(5), e = p();
441
439
  let r;
442
440
  n[0] !== e ? (r = () => e.invalidateQueries({
@@ -446,10 +444,10 @@ const ge = (t, n) => {
446
444
  let l;
447
445
  return n[2] !== t || n[3] !== r ? (l = {
448
446
  ...t,
449
- mutationFn: k,
447
+ mutationFn: H,
450
448
  onSettled: r
451
449
  }, n[2] = t, n[3] = r, n[4] = l) : l = n[4], q(l);
452
- }, Ee = (t) => {
450
+ }, Ge = (t) => {
453
451
  const n = c(5), e = p();
454
452
  let r;
455
453
  n[0] !== e ? (r = () => e.invalidateQueries({
@@ -459,10 +457,10 @@ const ge = (t, n) => {
459
457
  let l;
460
458
  return n[2] !== t || n[3] !== r ? (l = {
461
459
  ...t,
462
- mutationFn: J,
460
+ mutationFn: X,
463
461
  onSettled: r
464
462
  }, n[2] = t, n[3] = r, n[4] = l) : l = n[4], q(l);
465
- }, Ge = (t) => {
463
+ }, Se = (t) => {
466
464
  const n = c(5), e = p();
467
465
  let r;
468
466
  n[0] !== e ? (r = () => e.invalidateQueries({
@@ -472,13 +470,10 @@ const ge = (t, n) => {
472
470
  let l;
473
471
  return n[2] !== t || n[3] !== r ? (l = {
474
472
  ...t,
475
- mutationFn: Z,
473
+ mutationFn: I,
476
474
  onSettled: r
477
475
  }, n[2] = t, n[3] = r, n[4] = l) : l = n[4], q(l);
478
476
  };
479
- function N(t) {
480
- return t.data;
481
- }
482
477
  function Y(t) {
483
478
  return t.data;
484
479
  }
@@ -486,83 +481,86 @@ function B(t) {
486
481
  return t.data;
487
482
  }
488
483
  function L(t) {
484
+ return t.data;
485
+ }
486
+ function j(t) {
489
487
  return f.request({
490
488
  url: `/${y}/Requests`,
491
489
  method: "POST",
492
490
  data: t
493
- }).then(B);
491
+ }).then(L);
494
492
  }
495
- function j(t) {
493
+ function z(t) {
496
494
  return t.data;
497
495
  }
498
- function z(t) {
496
+ function V(t) {
499
497
  return f.request({
500
498
  url: `/${y}/Requests/${t.id}/single-approval`,
501
499
  method: "POST",
502
500
  data: t
503
- }).then(j);
501
+ }).then(z);
504
502
  }
505
- function V(t) {
503
+ function k(t) {
506
504
  return t.data;
507
505
  }
508
- function k(t) {
506
+ function H(t) {
509
507
  return f.request({
510
508
  url: `/${y}/Requests/${t.id}/resubmit`,
511
509
  method: "POST",
512
510
  data: t
513
- }).then(V);
511
+ }).then(k);
514
512
  }
515
- function H(t) {
513
+ function J(t) {
516
514
  return t.data;
517
515
  }
518
- function J(t) {
516
+ function X(t) {
519
517
  return f.request({
520
518
  url: `/${y}/Requests/${t.id}/withdraw`,
521
519
  method: "POST",
522
520
  data: t
523
- }).then(H);
521
+ }).then(J);
524
522
  }
525
- function X(t) {
523
+ function Z(t) {
526
524
  return t.data;
527
525
  }
528
- function Z(t) {
526
+ function I(t) {
529
527
  return f.request({
530
528
  url: `/${y}/Requests/${t.id}/cancel`,
531
529
  method: "POST",
532
530
  data: t
533
- }).then(X);
531
+ }).then(Z);
534
532
  }
535
533
  export {
536
- Ke as queryClient,
537
- Fe as useApproveApproval,
538
- Ge as useCancelApproval,
539
- ve as useCreateApproval,
540
- we as useDeleteFile,
541
- Re as useDeleteFiles,
542
- Ae as useDownloadFile,
543
- Te as useGetApproval,
544
- ge as useGetApprovals,
545
- We as useGetFile,
546
- be as useGetFileMetas,
547
- Me as useGetFileThumbnail,
548
- ae as useGetPeopleSoftActiveEmployees,
549
- de as useGetPeopleSoftCompanyGeneralManager,
550
- qe as useGetPeopleSoftDepartmentById,
551
- he as useGetPeopleSoftDepartmentEmployees,
552
- $e as useGetPeopleSoftDepartmentManager,
553
- pe as useGetPeopleSoftDepartments,
554
- oe as useGetPeopleSoftEmployeeById,
555
- ye as useGetPeopleSoftEmployeeGeneralManager,
556
- me as useGetPeopleSoftEmployeeManager,
557
- fe as useGetPeopleSoftEmployeeSubordinates,
558
- ce as useGetPeopleSoftEmployeeSupervisor,
559
- se as useGetPeopleSoftEmployees,
560
- ue as useGetPeopleSoftEmployeesSearch,
561
- ie as useGetPeopleSoftPreviousEmployeeIds,
562
- xe as useOpenFile,
563
- _e as useResubmitApproval,
534
+ ue as queryClient,
535
+ _e as useApproveApproval,
536
+ Se as useCancelApproval,
537
+ Fe as useCreateApproval,
538
+ Oe as useDeleteFile,
539
+ we as useDeleteFiles,
540
+ Re as useDownloadFile,
541
+ ve as useGetApproval,
542
+ Te as useGetApprovals,
543
+ Ae as useGetFile,
544
+ We as useGetFileMetas,
545
+ be as useGetFileThumbnail,
546
+ oe as useGetPeopleSoftActiveEmployees,
547
+ ge as useGetPeopleSoftCompanyGeneralManager,
548
+ $e as useGetPeopleSoftDepartmentById,
549
+ de as useGetPeopleSoftDepartmentEmployees,
550
+ he as useGetPeopleSoftDepartmentManager,
551
+ qe as useGetPeopleSoftDepartments,
552
+ ie as useGetPeopleSoftEmployeeById,
553
+ pe as useGetPeopleSoftEmployeeGeneralManager,
554
+ ye as useGetPeopleSoftEmployeeManager,
555
+ me as useGetPeopleSoftEmployeeSubordinates,
556
+ fe as useGetPeopleSoftEmployeeSupervisor,
557
+ ae as useGetPeopleSoftEmployees,
558
+ se as useGetPeopleSoftEmployeesSearch,
559
+ ce as useGetPeopleSoftPreviousEmployeeIds,
560
+ Me as useOpenFile,
561
+ Ee as useResubmitApproval,
564
562
  Ce as useUpdateFileMeta,
565
- De as useUploadFile,
566
- Ee as useWithdrawApproval
563
+ xe as useUploadFile,
564
+ Ge as useWithdrawApproval
567
565
  };
568
566
  //# sourceMappingURL=queries.js.map