wcz-test 7.2.3 → 7.2.4

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.
@@ -3,7 +3,7 @@ import { c as V } from "./compiler-runtime-BNHg76kC.js";
3
3
  import { Typography as he, Stack as _e, Box as se, useTheme as di, Paper as mi, ListItemButton as nt, ListItemIcon as at, ListItemText as ot, List as Wt, Menu as ui, ImageListItemBar as fi, IconButton as mt, Tooltip as vi, ImageListItem as xi, Dialog as gi, Fab as hi, Chip as ht, Button as yi, Link as bi, Tab as wi, Divider as Yt } from "@mui/material";
4
4
  import we, { useRef as Te, useState as Oe, useEffectEvent as ji, useEffect as ge, useMemo as xe, useReducer as ki, useCallback as pe, forwardRef as Ei, useImperativeHandle as Ti, Fragment as ut, createContext as _i, useContext as Oi } from "react";
5
5
  import Di from "@mui/icons-material/CloudUpload";
6
- import { g as Bt, a as ce } from "./index-CsRHHlp3.js";
6
+ import { g as Bt, a as ce } from "./index-wOcJpekI.js";
7
7
  import { useMutation as ye, useQueryClient as Ht, useQuery as ft } from "@tanstack/react-query";
8
8
  import Nt from "@mui/icons-material/MoreVert";
9
9
  import { grey as Si } from "@mui/material/colors";
@@ -2,4 +2,5 @@ export { createEnv } from '@t3-oss/env-core';
2
2
  export { t } from 'i18next';
3
3
  export { uuidv7 } from 'uuidv7';
4
4
  export { getAccessToken, getUser } from '../lib/auth/msalClient';
5
+ export { getAppToken, getTokenOnBehalfOf } from '../lib/auth/msalServer';
5
6
  export { Platform } from '../lib/utils';
package/dist/hooks.js CHANGED
@@ -3,7 +3,7 @@ import { j as F } from "./DialogsContext-CGAKEKKW.js";
3
3
  import { u as or } from "./DialogsContext-CGAKEKKW.js";
4
4
  import { c as O } from "./compiler-runtime-BNHg76kC.js";
5
5
  import { Autocomplete as Ue, TextField as Se, Checkbox as We, FormControlLabel as be, FormHelperText as fe, FormControl as ce, RadioGroup as He, Radio as Ze, FormLabel as Pe, Slider as qe, Button as ze, Switch as Je } from "@mui/material";
6
- import { g as $ } from "./utils-BGMLqA26.js";
6
+ import { g as $ } from "./utils-BXxJ2sNo.js";
7
7
  import { DatePicker as Qe, DateRangePicker as Xe, TimePicker as Ye, TimeRangePicker as et, DateTimePicker as tt, DateTimeRangePicker as rt } from "@mui/x-date-pickers-pro";
8
8
  import re, { useRef as X, useState as pe, useEffect as ie, useLayoutEffect as at, useMemo as nt, useCallback as lt } from "react";
9
9
  import { u as sr, a as fr } from "./DialogsHooks-BZUdpDVJ.js";
@@ -1,9 +1,8 @@
1
1
  import { QueryClient as Nt, mutationOptions as Q, queryOptions as $ } from "@tanstack/react-query";
2
2
  import { a as De } from "./index-De6Lo0ff.js";
3
3
  import V from "zod";
4
- import { a as mt } from "./env-Dy8Ynqa-.js";
5
- import { g as Ne } from "./msalClient-l-DV8PoB.js";
6
- import { t as vt } from "./utils-BGMLqA26.js";
4
+ import { t as mt, c as vt } from "./utils-BXxJ2sNo.js";
5
+ import { g as Ne } from "./msalClient-Cem8ZXIU.js";
7
6
  import { A as Bt, a as Ht, F as gt } from "./FileMeta-CDQ1BQUH.js";
8
7
  import "./compiler-runtime-BNHg76kC.js";
9
8
  import "react";
@@ -11,7 +10,7 @@ var se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
11
10
  function bt(e) {
12
11
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
13
12
  }
14
- const ee = new Nt(), G = "approval", _t = vt(mt.VITE_APP_TITLE), J = De.create({
13
+ const ee = new Nt(), G = "approval", _t = mt(vt.VITE_APP_TITLE), J = De.create({
15
14
  baseURL: "https://graph.microsoft.com/v1.0"
16
15
  });
17
16
  J.interceptors.request.use(async (e) => {
@@ -2435,7 +2434,7 @@ yt(yt({}, Ct.defaultOptions), {}, {
2435
2434
  urlStorage: _n ? new wn() : new ur(),
2436
2435
  fingerprint: an
2437
2436
  });
2438
- const K = "file", ie = 1e3 * 60 * 60, M = vt(mt.VITE_APP_TITLE), Z = De.create({
2437
+ const K = "file", ie = 1e3 * 60 * 60, M = mt(vt.VITE_APP_TITLE), Z = De.create({
2439
2438
  baseURL: "https://graph.microsoft.com/v1.0"
2440
2439
  });
2441
2440
  Z.interceptors.request.use(async (e) => {
@@ -2746,14 +2745,14 @@ const Pn = {
2746
2745
  gcTime: F,
2747
2746
  refetchOnWindowFocus: !1
2748
2747
  })
2749
- }, $n = {
2748
+ }, An = {
2750
2749
  peopleSoft: Pn,
2751
2750
  approval: zt,
2752
2751
  file: xn
2753
2752
  };
2754
2753
  export {
2755
- $n as a,
2754
+ An as a,
2756
2755
  bt as g,
2757
2756
  ee as q
2758
2757
  };
2759
- //# sourceMappingURL=index-CsRHHlp3.js.map
2758
+ //# sourceMappingURL=index-wOcJpekI.js.map