react-luminus-components 2.0.12 → 2.0.14
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/dist/.vite/manifest.json +16 -16
- package/dist/{FormDisabledProvider-BEWNUfwU.js → FormDisabledProvider-C4hA9COY.js} +1 -1
- package/dist/{ShortcutLinksContext-uD20RgYr.js → ShortcutLinksContext-8CorD1L7.js} +51 -51
- package/dist/components/common/GdprOverview/GdprOverview.d.ts +8 -0
- package/dist/components/common/GdprOverview/comps/TaskSearchModal/TaskSearchModal.d.ts +12 -0
- package/dist/components/common/GdprOverview/comps/index.d.ts +1 -0
- package/dist/components/common/GdprOverview/hooks/useFetchGdprData.d.ts +8 -0
- package/dist/components/common/GdprOverview/hooks/useGdprColumns.d.ts +29 -0
- package/dist/components/common/GdprOverview/hooks/useGdprSearchColumns.d.ts +7 -0
- package/dist/components/common/GdprOverview/hooks/useTableTasks.d.ts +5 -0
- package/dist/components/common/index.d.ts +1 -0
- package/dist/contexts.es.js +5 -5
- package/dist/hooks.es.js +13 -13
- package/dist/layout.es.js +19 -19
- package/dist/main.cjs.js +8 -8
- package/dist/main.d.ts +1 -0
- package/dist/main.es.js +6461 -6048
- package/dist/models/api/gdpr/GdprDetailModel.d.ts +12 -0
- package/dist/models/api/gdpr/GdprDetailTaskModel.d.ts +19 -0
- package/dist/models/api/gdpr/GdprIndexModel.d.ts +9 -0
- package/dist/models/api/gdpr/GdprSearchResultDto.d.ts +6 -0
- package/dist/models/texts/ComponentsContextTexts.d.ts +2 -0
- package/dist/models/texts/GdprTexts.d.ts +29 -0
- package/dist/{useIsFormDirty-CHV-JRlA.js → useIsFormDirty-CJNFcSDM.js} +1 -1
- package/dist/{useLocalStorageState-C9lOp75w.js → useLocalStorageState-B04T0fRI.js} +1 -1
- package/dist/utils.es.js +6 -6
- package/package.json +1 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_FormDisabledProvider-
|
|
3
|
-
"file": "FormDisabledProvider-
|
|
2
|
+
"_FormDisabledProvider-C4hA9COY.js": {
|
|
3
|
+
"file": "FormDisabledProvider-C4hA9COY.js",
|
|
4
4
|
"name": "FormDisabledProvider",
|
|
5
5
|
"imports": [
|
|
6
|
-
"_ShortcutLinksContext-
|
|
6
|
+
"_ShortcutLinksContext-8CorD1L7.js"
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
9
|
"_FormDisabledProvider-CfffF5hp.cjs": {
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"_ShortcutLinksContext-C9ApadFv.cjs"
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
-
"_ShortcutLinksContext-
|
|
17
|
-
"file": "ShortcutLinksContext-
|
|
16
|
+
"_ShortcutLinksContext-8CorD1L7.js": {
|
|
17
|
+
"file": "ShortcutLinksContext-8CorD1L7.js",
|
|
18
18
|
"name": "ShortcutLinksContext"
|
|
19
19
|
},
|
|
20
|
-
"_ShortcutLinksContext-
|
|
21
|
-
"file": "ShortcutLinksContext-
|
|
20
|
+
"_ShortcutLinksContext-C9ApadFv.cjs": {
|
|
21
|
+
"file": "ShortcutLinksContext-C9ApadFv.cjs",
|
|
22
22
|
"name": "ShortcutLinksContext"
|
|
23
23
|
},
|
|
24
24
|
"_localStorageUtils-CZ4HDRzi.js": {
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"file": "queryStorage-Dk70bkj7.cjs",
|
|
38
38
|
"name": "queryStorage"
|
|
39
39
|
},
|
|
40
|
-
"_useIsFormDirty-
|
|
41
|
-
"file": "useIsFormDirty-
|
|
40
|
+
"_useIsFormDirty-CJNFcSDM.js": {
|
|
41
|
+
"file": "useIsFormDirty-CJNFcSDM.js",
|
|
42
42
|
"name": "useIsFormDirty",
|
|
43
43
|
"imports": [
|
|
44
|
-
"_ShortcutLinksContext-
|
|
44
|
+
"_ShortcutLinksContext-8CorD1L7.js",
|
|
45
45
|
"_queryStorage-C8e71gxx.js"
|
|
46
46
|
]
|
|
47
47
|
},
|
|
@@ -53,18 +53,18 @@
|
|
|
53
53
|
"_queryStorage-Dk70bkj7.cjs"
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
|
-
"_useLocalStorageState-
|
|
57
|
-
"file": "useLocalStorageState-
|
|
56
|
+
"_useLocalStorageState-B04T0fRI.js": {
|
|
57
|
+
"file": "useLocalStorageState-B04T0fRI.js",
|
|
58
58
|
"name": "useLocalStorageState",
|
|
59
59
|
"imports": [
|
|
60
|
-
"_ShortcutLinksContext-
|
|
60
|
+
"_ShortcutLinksContext-8CorD1L7.js"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
|
-
"_useLocalStorageState-
|
|
64
|
-
"file": "useLocalStorageState-
|
|
63
|
+
"_useLocalStorageState-C3FCErU9.cjs": {
|
|
64
|
+
"file": "useLocalStorageState-C3FCErU9.cjs",
|
|
65
65
|
"name": "useLocalStorageState",
|
|
66
66
|
"imports": [
|
|
67
|
-
"_ShortcutLinksContext-
|
|
67
|
+
"_ShortcutLinksContext-C9ApadFv.cjs"
|
|
68
68
|
]
|
|
69
69
|
},
|
|
70
70
|
"src/contexts/index.ts": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as _, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c, a as i, t as h, b as l,
|
|
2
|
+
import { c, a as i, t as h, b as l, bX as m } from "./ShortcutLinksContext-8CorD1L7.js";
|
|
3
3
|
const g = "_loading_obchl_1", p = "_spinner-grow_obchl_10", u = "_second_obchl_14", b = "_third_obchl_17", f = "_loadingBlock_obchl_21", w = "_sizeLine_obchl_29", F = "_sizeFill_obchl_36", r = {
|
|
4
4
|
loading: g,
|
|
5
5
|
spinnerGrow: p,
|
|
@@ -37362,7 +37362,7 @@ export {
|
|
|
37362
37362
|
Zg as ay,
|
|
37363
37363
|
Vfe as az,
|
|
37364
37364
|
Xi as b,
|
|
37365
|
-
|
|
37365
|
+
VO as b$,
|
|
37366
37366
|
Ehe as b0,
|
|
37367
37367
|
Fg as b1,
|
|
37368
37368
|
hb as b2,
|
|
@@ -37373,33 +37373,33 @@ export {
|
|
|
37373
37373
|
phe as b7,
|
|
37374
37374
|
e7 as b8,
|
|
37375
37375
|
fx as b9,
|
|
37376
|
-
|
|
37377
|
-
|
|
37378
|
-
|
|
37379
|
-
|
|
37380
|
-
|
|
37381
|
-
|
|
37382
|
-
|
|
37383
|
-
|
|
37384
|
-
|
|
37385
|
-
|
|
37386
|
-
|
|
37387
|
-
|
|
37388
|
-
|
|
37389
|
-
|
|
37390
|
-
|
|
37391
|
-
|
|
37392
|
-
|
|
37393
|
-
|
|
37394
|
-
|
|
37395
|
-
|
|
37396
|
-
|
|
37397
|
-
|
|
37398
|
-
|
|
37399
|
-
|
|
37400
|
-
|
|
37401
|
-
|
|
37402
|
-
|
|
37376
|
+
Hfe as bA,
|
|
37377
|
+
Ufe as bB,
|
|
37378
|
+
fpe as bC,
|
|
37379
|
+
Iv as bD,
|
|
37380
|
+
aS as bE,
|
|
37381
|
+
ln as bF,
|
|
37382
|
+
nfe as bG,
|
|
37383
|
+
Yfe as bH,
|
|
37384
|
+
DA as bI,
|
|
37385
|
+
x_ as bJ,
|
|
37386
|
+
rpe as bK,
|
|
37387
|
+
dpe as bL,
|
|
37388
|
+
cpe as bM,
|
|
37389
|
+
lpe as bN,
|
|
37390
|
+
ohe as bO,
|
|
37391
|
+
Hae as bP,
|
|
37392
|
+
qv as bQ,
|
|
37393
|
+
X7 as bR,
|
|
37394
|
+
K7 as bS,
|
|
37395
|
+
che as bT,
|
|
37396
|
+
o4 as bU,
|
|
37397
|
+
whe as bV,
|
|
37398
|
+
FA as bW,
|
|
37399
|
+
jA as bX,
|
|
37400
|
+
Khe as bY,
|
|
37401
|
+
y4 as bZ,
|
|
37402
|
+
LA as b_,
|
|
37403
37403
|
C4 as ba,
|
|
37404
37404
|
upe as bb,
|
|
37405
37405
|
YO as bc,
|
|
@@ -37423,30 +37423,30 @@ export {
|
|
|
37423
37423
|
Zfe as bu,
|
|
37424
37424
|
Xfe as bv,
|
|
37425
37425
|
Kfe as bw,
|
|
37426
|
-
|
|
37427
|
-
|
|
37428
|
-
|
|
37426
|
+
mhe as bx,
|
|
37427
|
+
J7 as by,
|
|
37428
|
+
Jx as bz,
|
|
37429
37429
|
We as c,
|
|
37430
|
-
|
|
37431
|
-
|
|
37432
|
-
|
|
37433
|
-
|
|
37434
|
-
|
|
37435
|
-
|
|
37436
|
-
|
|
37437
|
-
|
|
37438
|
-
|
|
37439
|
-
|
|
37440
|
-
|
|
37441
|
-
|
|
37442
|
-
|
|
37443
|
-
|
|
37444
|
-
|
|
37445
|
-
|
|
37446
|
-
|
|
37447
|
-
|
|
37448
|
-
|
|
37449
|
-
|
|
37430
|
+
qO as c0,
|
|
37431
|
+
oM as c1,
|
|
37432
|
+
sM as c2,
|
|
37433
|
+
xhe as c3,
|
|
37434
|
+
_he as c4,
|
|
37435
|
+
Che as c5,
|
|
37436
|
+
She as c6,
|
|
37437
|
+
cM as c7,
|
|
37438
|
+
The as c8,
|
|
37439
|
+
$he as c9,
|
|
37440
|
+
Ohe as ca,
|
|
37441
|
+
Mhe as cb,
|
|
37442
|
+
uM as cc,
|
|
37443
|
+
hM as cd,
|
|
37444
|
+
pM as ce,
|
|
37445
|
+
tm as cf,
|
|
37446
|
+
HO as cg,
|
|
37447
|
+
dhe as ch,
|
|
37448
|
+
j1 as ci,
|
|
37449
|
+
mM as cj,
|
|
37450
37450
|
ghe as ck,
|
|
37451
37451
|
vhe as cl,
|
|
37452
37452
|
bhe as cm,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as BnfTableWrappedProps } from '../../../models/bnfTable/BnfTableWrappedProps';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
BnfTableComponent: React.ComponentType<BnfTableWrappedProps<unknown>>;
|
|
5
|
+
gdprAppRoute: string;
|
|
6
|
+
};
|
|
7
|
+
declare const GdprOverview: ({ gdprAppRoute, BnfTableComponent }: Props) => import("react").JSX.Element;
|
|
8
|
+
export default GdprOverview;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as GdprDetailTaskModel } from '../../../../../models/api/gdpr/GdprDetailTaskModel';
|
|
2
|
+
import { default as BnfTableWrappedProps } from '../../../../../models/bnfTable/BnfTableWrappedProps';
|
|
3
|
+
|
|
4
|
+
type Props = {
|
|
5
|
+
show: boolean;
|
|
6
|
+
handleClose: () => void;
|
|
7
|
+
tasks: GdprDetailTaskModel[];
|
|
8
|
+
scenarioId: string;
|
|
9
|
+
BnfTableComponent: React.ComponentType<BnfTableWrappedProps<unknown>>;
|
|
10
|
+
};
|
|
11
|
+
declare const TaskSearchModal: ({ show, handleClose, tasks, scenarioId, BnfTableComponent }: Props) => import("react").JSX.Element;
|
|
12
|
+
export default TaskSearchModal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TaskSearchModal } from './TaskSearchModal/TaskSearchModal';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as GdprDetailModel } from '../../../../models/api/gdpr/GdprDetailModel';
|
|
2
|
+
import { default as GdprIndexModel } from '../../../../models/api/gdpr/GdprIndexModel';
|
|
3
|
+
|
|
4
|
+
declare const useFetchGdprData: () => {
|
|
5
|
+
getAllScenarios: () => Promise<GdprIndexModel[] | null>;
|
|
6
|
+
getScenarioDetailsById: (id: string, year?: string) => Promise<GdprDetailModel | null>;
|
|
7
|
+
};
|
|
8
|
+
export default useFetchGdprData;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BnfTableColumnDef } from 'tanstack-bnf-table';
|
|
2
|
+
|
|
3
|
+
export type GdprRowModel = {
|
|
4
|
+
taskId: string;
|
|
5
|
+
deletes: boolean;
|
|
6
|
+
tableName: string;
|
|
7
|
+
description: string;
|
|
8
|
+
name: string;
|
|
9
|
+
activationTaskId: string | null;
|
|
10
|
+
searchable: boolean;
|
|
11
|
+
data: {
|
|
12
|
+
january: number;
|
|
13
|
+
february: number;
|
|
14
|
+
march: number;
|
|
15
|
+
april: number;
|
|
16
|
+
may: number;
|
|
17
|
+
june: number;
|
|
18
|
+
july: number;
|
|
19
|
+
august: number;
|
|
20
|
+
september: number;
|
|
21
|
+
october: number;
|
|
22
|
+
november: number;
|
|
23
|
+
december: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
declare const useGdprColumns: (gdprAppRoute: string) => {
|
|
27
|
+
columns: BnfTableColumnDef<GdprRowModel>[];
|
|
28
|
+
};
|
|
29
|
+
export default useGdprColumns;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as GdprSearchResultDto } from '../../../../models/api/gdpr/GdprSearchResultDto';
|
|
2
|
+
import { BnfTableColumnDef } from 'tanstack-bnf-table';
|
|
3
|
+
|
|
4
|
+
declare const useGdprSearchColumns: () => {
|
|
5
|
+
columns: BnfTableColumnDef<GdprSearchResultDto>[];
|
|
6
|
+
};
|
|
7
|
+
export default useGdprSearchColumns;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as GdprDetailModel } from '../../../../models/api/gdpr/GdprDetailModel';
|
|
2
|
+
import { GdprRowModel } from './useGdprColumns';
|
|
3
|
+
|
|
4
|
+
declare const useTableTasks: (activeScenarioDetails: GdprDetailModel | null) => GdprRowModel[];
|
|
5
|
+
export default useTableTasks;
|
|
@@ -54,3 +54,4 @@ export { default as ApprovalsDelegations } from './Approvals/Delegations/Approva
|
|
|
54
54
|
export { default as Approvals } from './Approvals/Approvals/Approvals';
|
|
55
55
|
export { default as EmailOverview } from './EmailOverview/EmailOverview';
|
|
56
56
|
export { default as DocsAIChat } from './DocsAIChat/DocsAIChat';
|
|
57
|
+
export { default as GdprOverview } from './GdprOverview/GdprOverview';
|
package/dist/contexts.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as j,
|
|
2
|
-
import {
|
|
1
|
+
import { t as j, bQ as ce, c as A, bR as ae, R as J, by as ue, bS as se, a1 as O, bj as fe, S as K, bT as de, a_ as me, aA as he, au as re, bl as ie, ax as G, aw as ge, bU as Se, aS as te, bV as xe, bW as ye, aU as ve, al as be, a3 as ke } from "./ShortcutLinksContext-8CorD1L7.js";
|
|
2
|
+
import { bX as ct, bg as at } from "./ShortcutLinksContext-8CorD1L7.js";
|
|
3
3
|
import { jsxs as _, jsx as b } from "react/jsx-runtime";
|
|
4
4
|
import { useState as P, useContext as H, useEffect as R, useRef as W, useMemo as V, useCallback as Z } from "react";
|
|
5
5
|
import { EventType as ee, InteractionStatus as we, InteractionRequiredAuthError as Te } from "@azure/msal-browser";
|
|
@@ -8,9 +8,9 @@ import "react-router";
|
|
|
8
8
|
import "react-dom";
|
|
9
9
|
import "react-hook-form";
|
|
10
10
|
import "react-flexmonster";
|
|
11
|
-
import { L as _e, b as De } from "./FormDisabledProvider-
|
|
12
|
-
import { F as ft } from "./FormDisabledProvider-
|
|
13
|
-
import { a as Pe, u as Me } from "./useLocalStorageState-
|
|
11
|
+
import { L as _e, b as De } from "./FormDisabledProvider-C4hA9COY.js";
|
|
12
|
+
import { F as ft } from "./FormDisabledProvider-C4hA9COY.js";
|
|
13
|
+
import { a as Pe, u as Me } from "./useLocalStorageState-B04T0fRI.js";
|
|
14
14
|
function Ee(t) {
|
|
15
15
|
const e = j(t);
|
|
16
16
|
return e.setHours(23, 59, 59, 999), e;
|
package/dist/hooks.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aA as
|
|
2
|
-
import {
|
|
3
|
-
import { u as Ct, a as Et } from "./useLocalStorageState-
|
|
1
|
+
import { aA as H, c as _, a_ as J, av as Q } from "./ShortcutLinksContext-8CorD1L7.js";
|
|
2
|
+
import { bY as mt, bI as gt, b_ as pt, aU as vt, bZ as St, al as ht, a$ as wt, bd as bt, by as yt, a5 as It, bk as Ot } from "./ShortcutLinksContext-8CorD1L7.js";
|
|
3
|
+
import { u as Ct, a as Et } from "./useLocalStorageState-B04T0fRI.js";
|
|
4
4
|
import { useRef as D, useState as K, useSyncExternalStore as W, useContext as Z, useEffect as F } from "react";
|
|
5
|
-
import { b as xt, c as Bt, u as Lt, a as $t } from "./useIsFormDirty-
|
|
5
|
+
import { b as xt, c as Bt, u as Lt, a as $t } from "./useIsFormDirty-CJNFcSDM.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "react-router";
|
|
8
8
|
import { createPortal as z } from "react-dom";
|
|
@@ -12,7 +12,7 @@ import "@azure/msal-react";
|
|
|
12
12
|
import "@azure/msal-browser";
|
|
13
13
|
const T = /* @__PURE__ */ new Map();
|
|
14
14
|
function at(s, n) {
|
|
15
|
-
const t =
|
|
15
|
+
const t = H({
|
|
16
16
|
silent: !0,
|
|
17
17
|
differentBaseUrl: n == null ? void 0 : n.customBaseUrl,
|
|
18
18
|
customToken: n == null ? void 0 : n.customToken
|
|
@@ -46,7 +46,7 @@ function at(s, n) {
|
|
|
46
46
|
return o.data;
|
|
47
47
|
}
|
|
48
48
|
const M = (s) => (n) => (window.addEventListener(`storage_${s}`, n), () => window.removeEventListener(`storage_${s}`, n)), lt = (s, n, t) => {
|
|
49
|
-
const e =
|
|
49
|
+
const e = _.c(15), o = t === void 0 ? localStorage : t, [d] = K(n);
|
|
50
50
|
let r;
|
|
51
51
|
e[0] !== n ? (r = JSON.stringify(n), e[0] = n, e[1] = r) : r = e[1];
|
|
52
52
|
const l = D(r), S = D(n);
|
|
@@ -67,7 +67,7 @@ const M = (s) => (n) => (window.addEventListener(`storage_${s}`, n), () => windo
|
|
|
67
67
|
const c = a;
|
|
68
68
|
let p;
|
|
69
69
|
return e[12] !== c || e[13] !== i ? (p = [i, c], e[12] = c, e[13] = i, e[14] = p) : p = e[14], p;
|
|
70
|
-
},
|
|
70
|
+
}, Y = (s, n, t) => {
|
|
71
71
|
let e = "pending", o;
|
|
72
72
|
const d = s.then((r) => {
|
|
73
73
|
e = "success", o = r;
|
|
@@ -97,7 +97,7 @@ const M = (s) => (n) => (window.addEventListener(`storage_${s}`, n), () => windo
|
|
|
97
97
|
nullStateBeforeLoad: !0,
|
|
98
98
|
nullStateOnFail: !1
|
|
99
99
|
}, ut = (s, n) => {
|
|
100
|
-
const t =
|
|
100
|
+
const t = _.c(26), {
|
|
101
101
|
loadOnInit: e,
|
|
102
102
|
enabled: o,
|
|
103
103
|
silent: d,
|
|
@@ -117,7 +117,7 @@ const M = (s) => (n) => (window.addEventListener(`storage_${s}`, n), () => windo
|
|
|
117
117
|
differentBaseUrl: S,
|
|
118
118
|
noToastOnStatus: v
|
|
119
119
|
}, t[2] = S, t[3] = g, t[4] = a, t[5] = v, t[6] = u) : u = t[6];
|
|
120
|
-
const b =
|
|
120
|
+
const b = H(u), {
|
|
121
121
|
startLoading: y,
|
|
122
122
|
stopLoading: m
|
|
123
123
|
} = Z(J), I = D(0), {
|
|
@@ -130,8 +130,8 @@ const M = (s) => (n) => (window.addEventListener(`storage_${s}`, n), () => windo
|
|
|
130
130
|
!a && y(`loadData-${s}-${V}`), c && U(null);
|
|
131
131
|
const G = b.get(s, {
|
|
132
132
|
signal: A
|
|
133
|
-
}).then((
|
|
134
|
-
U(
|
|
133
|
+
}).then((q) => h ? h(q.data) : q.data).finally(() => !a && m(`loadData-${s}-${V}`));
|
|
134
|
+
U(Y(G, p ?? !1, f ?? !1));
|
|
135
135
|
}, t[7] = b, t[8] = h, t[9] = i, t[10] = f, t[11] = C, t[12] = c, t[13] = p, t[14] = a, t[15] = y, t[16] = m, t[17] = s, t[18] = x) : x = t[18];
|
|
136
136
|
const O = x;
|
|
137
137
|
let B, L;
|
|
@@ -165,7 +165,7 @@ const M = (s) => (n) => (window.addEventListener(`storage_${s}`, n), () => windo
|
|
|
165
165
|
requiredHeight: 100,
|
|
166
166
|
retryInterval: 50
|
|
167
167
|
}, ct = (s, n) => {
|
|
168
|
-
const t =
|
|
168
|
+
const t = _.c(18), {
|
|
169
169
|
storageKey: e,
|
|
170
170
|
requiredHeight: o,
|
|
171
171
|
retryInterval: d
|
|
@@ -216,7 +216,7 @@ const M = (s) => (n) => (window.addEventListener(`storage_${s}`, n), () => windo
|
|
|
216
216
|
export {
|
|
217
217
|
mt as cancelToken,
|
|
218
218
|
Q as useAuth,
|
|
219
|
-
|
|
219
|
+
H as useAxios,
|
|
220
220
|
gt as useClickOutside,
|
|
221
221
|
pt as useClipboard,
|
|
222
222
|
vt as useConfirm,
|
package/dist/layout.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as T, jsx as o, Fragment as ae } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { bb as at,
|
|
2
|
+
import { bI as ce, a as p, a0 as ie, c as se, as as ue, bd as he, a5 as be, bM as _e, bN as fe, bO as ve } from "./ShortcutLinksContext-8CorD1L7.js";
|
|
3
|
+
import { bb as at, bP as ct } from "./ShortcutLinksContext-8CorD1L7.js";
|
|
4
4
|
import { useState as re, useRef as me, useEffect as xe } from "react";
|
|
5
5
|
import { Link as ne } from "react-router";
|
|
6
6
|
import "react-hook-form";
|
|
@@ -8,7 +8,7 @@ import "react-flexmonster";
|
|
|
8
8
|
import "@azure/msal-react";
|
|
9
9
|
import "@azure/msal-browser";
|
|
10
10
|
import "react-dom";
|
|
11
|
-
const Me = "_side-menu-item_o72rm_1", Pe = "_disabled_o72rm_6", Ne = "_hidden_o72rm_10", Ie = "_nav-button_o72rm_13", ge = "_child_o72rm_21", ye = "_text_o72rm_26", Ce = "_icon_o72rm_36", Be = "_collapse-icon_o72rm_42", ke = "_collapsed_o72rm_52", Te = "_collapse-icon-mini_o72rm_55", Se = "_expanded_o72rm_86", we = "_children-container_o72rm_92", He = "_visible_o72rm_100",
|
|
11
|
+
const Me = "_side-menu-item_o72rm_1", Pe = "_disabled_o72rm_6", Ne = "_hidden_o72rm_10", Ie = "_nav-button_o72rm_13", ge = "_child_o72rm_21", ye = "_text_o72rm_26", Ce = "_icon_o72rm_36", Be = "_collapse-icon_o72rm_42", ke = "_collapsed_o72rm_52", Te = "_collapse-icon-mini_o72rm_55", Se = "_expanded_o72rm_86", we = "_children-container_o72rm_92", He = "_visible_o72rm_100", Oe = "_children_o72rm_92", Re = "_mobile_o72rm_112", c = {
|
|
12
12
|
sideMenuItem: Me,
|
|
13
13
|
disabled: Pe,
|
|
14
14
|
hidden: Ne,
|
|
@@ -22,9 +22,9 @@ const Me = "_side-menu-item_o72rm_1", Pe = "_disabled_o72rm_6", Ne = "_hidden_o7
|
|
|
22
22
|
expanded: Se,
|
|
23
23
|
childrenContainer: we,
|
|
24
24
|
visible: He,
|
|
25
|
-
children:
|
|
26
|
-
mobile:
|
|
27
|
-
},
|
|
25
|
+
children: Oe,
|
|
26
|
+
mobile: Re
|
|
27
|
+
}, $e = (l) => {
|
|
28
28
|
const e = se.c(6), {
|
|
29
29
|
item: m,
|
|
30
30
|
menuExpanded: b,
|
|
@@ -69,7 +69,7 @@ const Me = "_side-menu-item_o72rm_1", Pe = "_disabled_o72rm_6", Ne = "_hidden_o7
|
|
|
69
69
|
}, {
|
|
70
70
|
[d === "disable" ? "disabled" : "hidden"]: l.disabled || l.notPermitted || ((r = l.children) == null ? void 0 : r.every((n) => n.notPermitted || n.disabled))
|
|
71
71
|
}), onMouseEnter: () => s(!0), onMouseLeave: () => s(!1), children: [
|
|
72
|
-
/* @__PURE__ */ o(
|
|
72
|
+
/* @__PURE__ */ o($e, { item: l, menuExpanded: e, useTooltips: N, children: l.children ? /* @__PURE__ */ o(ae, { children: /* @__PURE__ */ T("button", { type: "button", className: p("nav-link", c.navButton), onClick: () => {
|
|
73
73
|
b();
|
|
74
74
|
}, children: [
|
|
75
75
|
/* @__PURE__ */ o("div", { className: p("icon", c.icon), children: l.icon }),
|
|
@@ -92,8 +92,8 @@ const Me = "_side-menu-item_o72rm_1", Pe = "_disabled_o72rm_6", Ne = "_hidden_o7
|
|
|
92
92
|
[d === "disable" ? "disabled" : "hidden"]: n.disabled || n.notPermitted
|
|
93
93
|
}), onClick: b, children: /* @__PURE__ */ o("div", { className: p("text", c.text, "text-nowrap"), children: n.title }) }, n.linkTo)) }) })
|
|
94
94
|
] });
|
|
95
|
-
},
|
|
96
|
-
sideMenu:
|
|
95
|
+
}, Le = "_side-menu_140bh_1", Ee = "_sidebar-header_140bh_15", je = "_side-menu-pin_140bh_22", Ae = "_side-menu-content_140bh_27", qe = "_no-top-margin_140bh_33", ze = "_expand_140bh_39", De = "_only-logo_140bh_43", Fe = "_mobile_140bh_46", Ge = "_divider_140bh_61", k = {
|
|
96
|
+
sideMenu: Le,
|
|
97
97
|
sidebarHeader: Ee,
|
|
98
98
|
sideMenuPin: je,
|
|
99
99
|
sideMenuContent: Ae,
|
|
@@ -185,15 +185,15 @@ const Me = "_side-menu-item_o72rm_1", Pe = "_disabled_o72rm_6", Ne = "_hidden_o7
|
|
|
185
185
|
}, {
|
|
186
186
|
expand: t
|
|
187
187
|
}), e[22] = t, e[23] = M, e[24] = H) : H = e[24];
|
|
188
|
-
let
|
|
189
|
-
e[25] !== d || e[26] !== s ? (
|
|
190
|
-
let
|
|
191
|
-
e[29] !== s ? (
|
|
188
|
+
let O, R;
|
|
189
|
+
e[25] !== d || e[26] !== s ? (O = () => s && d(!0), R = () => s && d(!1), e[25] = d, e[26] = s, e[27] = O, e[28] = R) : (O = e[27], R = e[28]);
|
|
190
|
+
let $;
|
|
191
|
+
e[29] !== s ? ($ = p("sidebar-header", k.sidebarHeader, {
|
|
192
192
|
[k.onlyLogo]: s
|
|
193
|
-
}), e[29] = s, e[30] =
|
|
193
|
+
}), e[29] = s, e[30] = $) : $ = e[30];
|
|
194
194
|
const ee = s ? void 0 : "button";
|
|
195
|
-
let
|
|
196
|
-
e[31] !== t || e[32] !== d || e[33] !== s ? (
|
|
195
|
+
let L;
|
|
196
|
+
e[31] !== t || e[32] !== d || e[33] !== s ? (L = s ? void 0 : () => d(!t), e[31] = t, e[32] = d, e[33] = s, e[34] = L) : L = e[34];
|
|
197
197
|
let E;
|
|
198
198
|
e[35] !== t || e[36] !== m || e[37] !== v || e[38] !== y || e[39] !== s ? (E = s ? m : t ? /* @__PURE__ */ T(ae, { children: [
|
|
199
199
|
/* @__PURE__ */ o("div", { role: "button", onClick: (i) => {
|
|
@@ -202,7 +202,7 @@ const Me = "_side-menu-item_o72rm_1", Pe = "_disabled_o72rm_6", Ne = "_hidden_o7
|
|
|
202
202
|
m
|
|
203
203
|
] }) : /* @__PURE__ */ o(ve, {}), e[35] = t, e[36] = m, e[37] = v, e[38] = y, e[39] = s, e[40] = E) : E = e[40];
|
|
204
204
|
let j;
|
|
205
|
-
e[41] !==
|
|
205
|
+
e[41] !== $ || e[42] !== ee || e[43] !== L || e[44] !== E ? (j = /* @__PURE__ */ o("div", { className: $, role: ee, onClick: L, children: E }), e[41] = $, e[42] = ee, e[43] = L, e[44] = E, e[45] = j) : j = e[45];
|
|
206
206
|
let A;
|
|
207
207
|
e[46] !== t || e[47] !== b || e[48] !== f ? (A = t && (b || f) ? /* @__PURE__ */ T("div", { className: "mb-3 d-flex flex-column gap-3", children: [
|
|
208
208
|
f && t ? f : null,
|
|
@@ -234,11 +234,11 @@ const Me = "_side-menu-item_o72rm_1", Pe = "_disabled_o72rm_6", Ne = "_hidden_o7
|
|
|
234
234
|
D
|
|
235
235
|
] }), e[91] = q, e[92] = z, e[93] = D, e[94] = F) : F = e[94];
|
|
236
236
|
let Z;
|
|
237
|
-
return e[95] !== H || e[96] !==
|
|
237
|
+
return e[95] !== H || e[96] !== O || e[97] !== R || e[98] !== j || e[99] !== A || e[100] !== F ? (Z = /* @__PURE__ */ T("section", { ref: le, className: H, onMouseEnter: O, onMouseLeave: R, children: [
|
|
238
238
|
j,
|
|
239
239
|
A,
|
|
240
240
|
F
|
|
241
|
-
] }), e[95] = H, e[96] =
|
|
241
|
+
] }), e[95] = H, e[96] = O, e[97] = R, e[98] = j, e[99] = A, e[100] = F, e[101] = Z) : Z = e[101], Z;
|
|
242
242
|
};
|
|
243
243
|
function Ue(l) {
|
|
244
244
|
return !l.disabled && !l.notPermitted;
|