react-luminus-components 2.0.4-table → 2.0.5-beta.r19-1
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/README.md +349 -349
- package/dist/.vite/manifest.json +52 -46
- package/dist/FormDisabledProvider-BGEKOIzq.cjs +1 -0
- package/dist/FormDisabledProvider-DLOuFqTN.js +51 -0
- package/dist/components/Buttons/ContextButton/FileUploadContextButton.d.ts +6 -3
- package/dist/components/Documents/components/DocumentsModals/components/CreateFolderModal/hooks/useDocCreateFolderForm.d.ts +4 -1
- package/dist/components/Documents/components/DocumentsModals/components/EditFileModal/hooks/useEditFileForm.d.ts +6 -1
- package/dist/components/Documents/hooks/useDocumentsReducer.d.ts +1 -1
- package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +6 -3
- package/dist/components/Dropdown/comps/UserAvatarToggle/UserAvatarToggle.d.ts +3 -1
- package/dist/components/Flexmonster/Flexmonster.d.ts +1 -1
- package/dist/components/Flexmonster/hooks/useReportVersionApi.d.ts +1 -1
- package/dist/components/Flexmonster/utils/flexMonsterUtils.d.ts +1 -1
- package/dist/components/HookForm/MiniDetailWrapper/MiniDetailWrapper.d.ts +1 -1
- package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +4 -17
- package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +7 -38
- package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +8 -38
- package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +8 -38
- package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +3 -3
- package/dist/components/NotifCenter/Actions/components/HistoryTable/NotificationHistoryTable.d.ts +1 -1
- package/dist/components/ResponsiveContextDropdown/components/ResponsiveContextDropdownItem/ResponsiveContextDropdownItem.d.ts +1 -1
- package/dist/components/ResponsiveContextDropdown/hooks/useReponsiveContextDropdownHelpers.d.ts +2 -2
- package/dist/components/ResponsiveContextDropdown/utils/responsiveContextDropdownUtils.d.ts +1 -1
- package/dist/components/Tooltip/HtmlTooltip/HtmlTooltip.d.ts +2 -2
- package/dist/components/Tooltip/SimpleTooltip/SimpleTooltip.d.ts +1 -1
- package/dist/components/common/AuthTemplate/AuthTemplate.d.ts +1 -1
- package/dist/components/common/ColumnResizer/ColumnResizer.d.ts +1 -1
- package/dist/components/common/DisabledRowLabelLink/DisabledRowLabelLink.d.ts +1 -1
- package/dist/components/common/ErrorBoundary/ErrorBoundary.d.ts +7 -3
- package/dist/components/common/FromToDatePicker/components/FromToDatePickerDropdownToggle/FromToDatePickerDropdownToggle.d.ts +3 -1
- package/dist/components/common/HomeDashboard/comps/HomeDashboardWidget/HomeDashboardWidget.d.ts +15 -0
- package/dist/components/common/LineChart/comps/LineChartTooltip/LineChartTooltip.d.ts +2 -2
- package/dist/components/common/PermissionsSubstitute/Detail/hooks/useSubstDetailForm.d.ts +8 -1
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/PhotoPreviews.d.ts +15 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/PhotoPreview.d.ts +14 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/PreviewShadow/PreviewShadow.d.ts +5 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/PhotoPreview/comps/index.d.ts +1 -0
- package/dist/components/common/PhotoLightbox/comps/PhotoPreviews/comps/index.d.ts +1 -0
- package/dist/components/common/PhotoLightbox/comps/index.d.ts +1 -0
- package/dist/components/common/QrCode/QrCode.d.ts +1 -1
- package/dist/components/common/RouteLink/RouteLink.d.ts +1 -1
- package/dist/components/common/SimplePicker/SimplePicker.d.ts +1 -1
- package/dist/components/common/index.d.ts +0 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +542 -941
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useAxios/useAxios.d.ts +5 -2
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +1 -1
- package/dist/hooks/useGetApiDataBound/useGetApiDataBound.d.ts +3 -0
- package/dist/hooks/useGetDataBound/useGetDataBound.d.ts +4 -2
- package/dist/hooks/useIsFormDirty/useIsFormDirty.d.ts +7 -0
- package/dist/hooks/useScrollSave/useScrollSave.d.ts +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +206 -136
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +278 -142
- package/dist/{localStorageUtils-DdeuyghB.js → localStorageUtils-CZ4HDRzi.js} +18 -8
- package/dist/localStorageUtils-CkZslzIU.cjs +1 -0
- package/dist/main.cjs.js +22 -184
- package/dist/main.es.js +11317 -11418
- package/dist/models/bntTable/IBnfTableDefColumn.d.ts +40 -0
- package/dist/models/prop-types/InputContainerProps.d.ts +4 -12
- package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +1 -1
- package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +4 -2
- package/dist/models/prop-types/InputProps/NumericInputProps.d.ts +1 -1
- package/dist/models/prop-types/InputProps/TextInputProps.d.ts +1 -1
- package/dist/models/ui/notifications/NotificationHistoryTableModel.d.ts +6 -0
- package/dist/nivo-bar-BuQvk7Aq.cjs +326 -0
- package/dist/nivo-bar-W-IB9CF6.js +41891 -0
- package/dist/style.css +1 -1
- package/dist/useIsFormDirty-B4keXaXH.js +123 -0
- package/dist/useIsFormDirty-CNKHbm_I.cjs +1 -0
- package/dist/useLocalStorageState-CMAthsbd.js +95 -0
- package/dist/useLocalStorageState-f6nawg6B.cjs +1 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/route/apiPathUtils.d.ts +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +133 -159
- package/dist/variables.scss +165 -165
- package/package.json +128 -123
- package/dist/FormDisabledProvider-1MOB6N34.cjs +0 -1
- package/dist/FormDisabledProvider-CHZ2m_zJ.js +0 -40
- package/dist/ShortcutLinksContext-DEirK-v9.js +0 -39884
- package/dist/ShortcutLinksContext-DLi4B8z5.cjs +0 -334
- package/dist/components/NotifCenter/Actions/types/NotificationHistoryTableModel.d.ts +0 -5
- package/dist/components/common/StrictModeDroppable/StrictModeDroppable.d.ts +0 -5
- package/dist/localStorageUtils-89Gfn6XS.cjs +0 -1
- package/dist/useLocalStorageState-B-CRodSS.cjs +0 -1
- package/dist/useLocalStorageState-BPYqQMTu.js +0 -78
- package/dist/useRenderDraggableInPortal-D0OLp7Qb.js +0 -78
- package/dist/useRenderDraggableInPortal-QPCaw-E_.cjs +0 -1
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { c as D } from "./nivo-bar-W-IB9CF6.js";
|
|
2
|
+
import { useSearchParams as j } from "react-router";
|
|
3
|
+
import { useFormState as p } from "react-hook-form";
|
|
4
|
+
const y = () => {
|
|
5
|
+
const o = D.c(6), [e, r] = j();
|
|
6
|
+
let t;
|
|
7
|
+
o[0] !== e || o[1] !== r ? (t = (i, n) => {
|
|
8
|
+
e.get(i) !== n && r((f) => (n === null && f.delete(i), f.get(i) === n || f.set(i, n ?? ""), f), {
|
|
9
|
+
replace: !0
|
|
10
|
+
});
|
|
11
|
+
}, o[0] = e, o[1] = r, o[2] = t) : t = o[2];
|
|
12
|
+
const l = t;
|
|
13
|
+
let c;
|
|
14
|
+
return o[3] !== e || o[4] !== l ? (c = {
|
|
15
|
+
searchParams: e,
|
|
16
|
+
setSearch: l
|
|
17
|
+
}, o[3] = e, o[4] = l, o[5] = c) : c = o[5], c;
|
|
18
|
+
}, k = "\0", x = (o, e, r) => {
|
|
19
|
+
const t = D.c(24), {
|
|
20
|
+
searchParams: l,
|
|
21
|
+
setSearch: c
|
|
22
|
+
} = y();
|
|
23
|
+
let i;
|
|
24
|
+
t[0] !== r ? (i = (s) => {
|
|
25
|
+
if (typeof s == "object") {
|
|
26
|
+
if (r && r === "date" || !r && s instanceof Date) {
|
|
27
|
+
if (!(s instanceof Date))
|
|
28
|
+
throw new Error("Tried to setQueryState of type Date to non-date.");
|
|
29
|
+
return s.toISOString();
|
|
30
|
+
}
|
|
31
|
+
return JSON.stringify(s);
|
|
32
|
+
}
|
|
33
|
+
return s.toString();
|
|
34
|
+
}, t[0] = r, t[1] = i) : i = t[1];
|
|
35
|
+
const n = i;
|
|
36
|
+
let f;
|
|
37
|
+
t[2] !== e || t[3] !== n ? (f = n(e), t[2] = e, t[3] = n, t[4] = f) : f = t[4];
|
|
38
|
+
const g = f;
|
|
39
|
+
let P;
|
|
40
|
+
t[5] !== o || t[6] !== l ? (P = l.get(o), t[5] = o, t[6] = l, t[7] = P) : P = t[7];
|
|
41
|
+
const F = P;
|
|
42
|
+
let b;
|
|
43
|
+
t: {
|
|
44
|
+
const s = F;
|
|
45
|
+
if (s === k) {
|
|
46
|
+
b = null;
|
|
47
|
+
break t;
|
|
48
|
+
}
|
|
49
|
+
const u = s ? Number(s) : e;
|
|
50
|
+
let m = Number.isNaN(u) ? typeof e : "number";
|
|
51
|
+
switch (m === "object" && e instanceof Date && (m = "date"), r ?? m) {
|
|
52
|
+
case "number": {
|
|
53
|
+
b = u;
|
|
54
|
+
break t;
|
|
55
|
+
}
|
|
56
|
+
case "string": {
|
|
57
|
+
b = s ?? e;
|
|
58
|
+
break t;
|
|
59
|
+
}
|
|
60
|
+
case "boolean": {
|
|
61
|
+
b = s === "true";
|
|
62
|
+
break t;
|
|
63
|
+
}
|
|
64
|
+
case "object": {
|
|
65
|
+
let h;
|
|
66
|
+
t[8] !== e || t[9] !== s ? (h = s ? JSON.parse(s) : e, t[8] = e, t[9] = s, t[10] = h) : h = t[10], b = h;
|
|
67
|
+
break t;
|
|
68
|
+
}
|
|
69
|
+
case "date": {
|
|
70
|
+
let h;
|
|
71
|
+
t[11] !== e || t[12] !== s ? (h = s ? new Date(s) : e, t[11] = e, t[12] = s, t[13] = h) : h = t[13], b = h;
|
|
72
|
+
break t;
|
|
73
|
+
}
|
|
74
|
+
default:
|
|
75
|
+
throw console.error(r, m), new Error(`useSearchQueryState is not implemented for type ${typeof (r ?? m)}.`);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
const a = b;
|
|
79
|
+
let S;
|
|
80
|
+
t[14] !== e || t[15] !== g || t[16] !== n || t[17] !== o || t[18] !== c || t[19] !== a ? (S = (s) => {
|
|
81
|
+
let u;
|
|
82
|
+
typeof s == "function" ? u = s(a) : u = s;
|
|
83
|
+
const m = n(u);
|
|
84
|
+
if (e === u || m === g) {
|
|
85
|
+
c(o, null);
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
if (u === null) {
|
|
89
|
+
c(o, k);
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
c(o, m);
|
|
93
|
+
}, t[14] = e, t[15] = g, t[16] = n, t[17] = o, t[18] = c, t[19] = a, t[20] = S) : S = t[20];
|
|
94
|
+
const N = S;
|
|
95
|
+
let $;
|
|
96
|
+
return t[21] !== N || t[22] !== a ? ($ = [a, N], t[21] = N, t[22] = a, t[23] = $) : $ = t[23], $;
|
|
97
|
+
}, C = (o) => {
|
|
98
|
+
const e = D.c(5), r = Math.floor(Math.random() * 900) + 100;
|
|
99
|
+
let t;
|
|
100
|
+
e[0] !== o ? (t = btoa(o.toString() ?? ""), e[0] = o, e[1] = t) : t = e[1];
|
|
101
|
+
const l = t, c = `employeePhotos?personalNumber=${r}${l}&small=false`, i = `employeePhotos?personalNumber=${r}${l}&small=true`;
|
|
102
|
+
let n;
|
|
103
|
+
return e[2] !== c || e[3] !== i ? (n = {
|
|
104
|
+
photoPath: c,
|
|
105
|
+
photoPathSm: i
|
|
106
|
+
}, e[2] = c, e[3] = i, e[4] = n) : n = e[4], n;
|
|
107
|
+
}, J = ({
|
|
108
|
+
control: o
|
|
109
|
+
} = {}) => {
|
|
110
|
+
"use no memo";
|
|
111
|
+
const {
|
|
112
|
+
dirtyFields: e
|
|
113
|
+
} = p({
|
|
114
|
+
control: o
|
|
115
|
+
});
|
|
116
|
+
return Object.keys(e).length > 0;
|
|
117
|
+
};
|
|
118
|
+
export {
|
|
119
|
+
y as a,
|
|
120
|
+
x as b,
|
|
121
|
+
C as c,
|
|
122
|
+
J as u
|
|
123
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const N=require("./nivo-bar-BuQvk7Aq.cjs"),F=require("react-router"),Q=require("react-hook-form"),y=()=>{const o=N.compilerRuntimeExports.c(6),[e,s]=F.useSearchParams();let t;o[0]!==e||o[1]!==s?(t=(i,n)=>{e.get(i)!==n&&s(l=>(n===null&&l.delete(i),l.get(i)===n||l.set(i,n??""),l),{replace:!0})},o[0]=e,o[1]=s,o[2]=t):t=o[2];const u=t;let c;return o[3]!==e||o[4]!==u?(c={searchParams:e,setSearch:u},o[3]=e,o[4]=u,o[5]=c):c=o[5],c},k="\0",p=(o,e,s)=>{const t=N.compilerRuntimeExports.c(24),{searchParams:u,setSearch:c}=y();let i;t[0]!==s?(i=r=>{if(typeof r=="object"){if(s&&s==="date"||!s&&r instanceof Date){if(!(r instanceof Date))throw new Error("Tried to setQueryState of type Date to non-date.");return r.toISOString()}return JSON.stringify(r)}return r.toString()},t[0]=s,t[1]=i):i=t[1];const n=i;let l;t[2]!==e||t[3]!==n?(l=n(e),t[2]=e,t[3]=n,t[4]=l):l=t[4];const P=l;let g;t[5]!==o||t[6]!==u?(g=u.get(o),t[5]=o,t[6]=u,t[7]=g):g=t[7];const E=g;let b;t:{const r=E;if(r===k){b=null;break t}const f=r?Number(r):e;let m=Number.isNaN(f)?typeof e:"number";switch(m==="object"&&e instanceof Date&&(m="date"),s??m){case"number":{b=f;break t}case"string":{b=r??e;break t}case"boolean":{b=r==="true";break t}case"object":{let h;t[8]!==e||t[9]!==r?(h=r?JSON.parse(r):e,t[8]=e,t[9]=r,t[10]=h):h=t[10],b=h;break t}case"date":{let h;t[11]!==e||t[12]!==r?(h=r?new Date(r):e,t[11]=e,t[12]=r,t[13]=h):h=t[13],b=h;break t}default:throw console.error(s,m),new Error(`useSearchQueryState is not implemented for type ${typeof(s??m)}.`)}}const a=b;let S;t[14]!==e||t[15]!==P||t[16]!==n||t[17]!==o||t[18]!==c||t[19]!==a?(S=r=>{let f;typeof r=="function"?f=r(a):f=r;const m=n(f);if(e===f||m===P){c(o,null);return}if(f===null){c(o,k);return}c(o,m)},t[14]=e,t[15]=P,t[16]=n,t[17]=o,t[18]=c,t[19]=a,t[20]=S):S=t[20];const D=S;let $;return t[21]!==D||t[22]!==a?($=[a,D],t[21]=D,t[22]=a,t[23]=$):$=t[23],$},R=o=>{const e=N.compilerRuntimeExports.c(5),s=Math.floor(Math.random()*900)+100;let t;e[0]!==o?(t=btoa(o.toString()??""),e[0]=o,e[1]=t):t=e[1];const u=t,c=`employeePhotos?personalNumber=${s}${u}&small=false`,i=`employeePhotos?personalNumber=${s}${u}&small=true`;let n;return e[2]!==c||e[3]!==i?(n={photoPath:c,photoPathSm:i},e[2]=c,e[3]=i,e[4]=n):n=e[4],n},j=({control:o}={})=>{"use no memo";const{dirtyFields:e}=Q.useFormState({control:o});return Object.keys(e).length>0};exports.useEmployeePhotoPath=R;exports.useIsFormDirty=j;exports.useSearchQuery=y;exports.useSearchQueryState=p;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { ao as J, aq as N, bd as q, c as F } from "./nivo-bar-W-IB9CF6.js";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import { useState as x, useContext as G, useRef as U, useCallback as m, useEffect as R } from "react";
|
|
4
|
+
import "react-router";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
import "react-hook-form";
|
|
7
|
+
import "react-flexmonster";
|
|
8
|
+
import "@azure/msal-browser";
|
|
9
|
+
import "@azure/msal-react";
|
|
10
|
+
const p = {
|
|
11
|
+
loadOnInit: !0,
|
|
12
|
+
silent: !1,
|
|
13
|
+
enabled: !0,
|
|
14
|
+
nullStateBeforeLoad: !0,
|
|
15
|
+
nullStateOnFail: !1
|
|
16
|
+
}, X = (e, {
|
|
17
|
+
loadOnInit: u = p.loadOnInit,
|
|
18
|
+
enabled: t = p.enabled,
|
|
19
|
+
silent: o = p.silent,
|
|
20
|
+
nullStateBeforeLoad: l = p.nullStateBeforeLoad,
|
|
21
|
+
nullStateOnFail: a = p.nullStateOnFail,
|
|
22
|
+
customApiUrl: S,
|
|
23
|
+
customBearerToken: d,
|
|
24
|
+
dataTransformer: s
|
|
25
|
+
} = p) => {
|
|
26
|
+
const r = J({
|
|
27
|
+
silent: o,
|
|
28
|
+
customToken: d,
|
|
29
|
+
differentBaseUrl: S
|
|
30
|
+
}), [g, i] = x(!1), {
|
|
31
|
+
startLoading: c,
|
|
32
|
+
stopLoading: C
|
|
33
|
+
} = G(N), w = U(0), {
|
|
34
|
+
isAuthenticated: b
|
|
35
|
+
} = q(), I = m((n) => {
|
|
36
|
+
c(n), i(() => !0);
|
|
37
|
+
}, [c]), h = m((n) => {
|
|
38
|
+
C(n), i(() => !1);
|
|
39
|
+
}, [C]), [v, L] = x(null), f = m(async (n, A) => {
|
|
40
|
+
if (!b() || t === !1)
|
|
41
|
+
return null;
|
|
42
|
+
!o && I(`loadData-${e}-${A}`), l && L(null);
|
|
43
|
+
let O;
|
|
44
|
+
try {
|
|
45
|
+
const D = await r.get(e, {
|
|
46
|
+
signal: n
|
|
47
|
+
}), $ = s ? s(D.data) : D.data;
|
|
48
|
+
L($), O = $;
|
|
49
|
+
} catch (D) {
|
|
50
|
+
throw a && L(null), D;
|
|
51
|
+
} finally {
|
|
52
|
+
!o && h(`loadData-${e}-${A}`);
|
|
53
|
+
}
|
|
54
|
+
return O;
|
|
55
|
+
}, [b, t, o, I, e, l, r, s, a, h]), B = m(async () => {
|
|
56
|
+
f();
|
|
57
|
+
}, [f]), E = m(async () => f(), [f]);
|
|
58
|
+
return R(() => {
|
|
59
|
+
if (u === !1)
|
|
60
|
+
return;
|
|
61
|
+
const n = new AbortController();
|
|
62
|
+
return f(n.signal, ++w.current), () => {
|
|
63
|
+
n.abort();
|
|
64
|
+
};
|
|
65
|
+
}, [f, u]), {
|
|
66
|
+
data: v,
|
|
67
|
+
setData: L,
|
|
68
|
+
reloadData: B,
|
|
69
|
+
isLoading: g,
|
|
70
|
+
reloadDataWithReturn: E
|
|
71
|
+
};
|
|
72
|
+
}, Y = (e, u) => {
|
|
73
|
+
const t = F.c(12);
|
|
74
|
+
let o;
|
|
75
|
+
t[0] !== u || t[1] !== e ? (o = () => {
|
|
76
|
+
const c = localStorage.getItem(e);
|
|
77
|
+
return c != null && c !== "undefined" ? JSON.parse(c) : u;
|
|
78
|
+
}, t[0] = u, t[1] = e, t[2] = o) : o = t[2];
|
|
79
|
+
const l = o, [a, S] = x(l);
|
|
80
|
+
let d, s;
|
|
81
|
+
t[3] !== e || t[4] !== a ? (d = () => {
|
|
82
|
+
localStorage.setItem(e, JSON.stringify(a));
|
|
83
|
+
}, s = [e, a], t[3] = e, t[4] = a, t[5] = d, t[6] = s) : (d = t[5], s = t[6]), R(d, s);
|
|
84
|
+
let r;
|
|
85
|
+
t[7] !== l ? (r = () => {
|
|
86
|
+
S(l);
|
|
87
|
+
}, t[7] = l, t[8] = r) : r = t[8];
|
|
88
|
+
const g = r;
|
|
89
|
+
let i;
|
|
90
|
+
return t[9] !== g || t[10] !== a ? (i = [a, S, g], t[9] = g, t[10] = a, t[11] = i) : i = t[11], i;
|
|
91
|
+
};
|
|
92
|
+
export {
|
|
93
|
+
Y as a,
|
|
94
|
+
X as u
|
|
95
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const p=require("./nivo-bar-BuQvk7Aq.cjs");require("react/jsx-runtime");const a=require("react");require("react-router");require("react-dom");require("react-hook-form");require("react-flexmonster");require("@azure/msal-browser");require("@azure/msal-react");const S={loadOnInit:!0,silent:!1,enabled:!0,nullStateBeforeLoad:!0,nullStateOnFail:!1},B=(e,{loadOnInit:d=S.loadOnInit,enabled:t=S.enabled,silent:o=S.silent,nullStateBeforeLoad:r=S.nullStateBeforeLoad,nullStateOnFail:s=S.nullStateOnFail,customApiUrl:C,customBearerToken:f,dataTransformer:n}=S)=>{const u=p.useAxios({silent:o,customToken:f,differentBaseUrl:C}),[L,c]=a.useState(!1),{startLoading:i,stopLoading:q}=a.useContext(p.LoadingContext),$=a.useRef(0),{isAuthenticated:x}=p.useAuth(),A=a.useCallback(l=>{i(l),c(()=>!0)},[i]),I=a.useCallback(l=>{q(l),c(()=>!1)},[q]),[m,D]=a.useState(null),g=a.useCallback(async(l,h)=>{if(!x()||t===!1)return null;!o&&A(`loadData-${e}-${h}`),r&&D(null);let O;try{const b=await u.get(e,{signal:l}),R=n?n(b.data):b.data;D(R),O=R}catch(b){throw s&&D(null),b}finally{!o&&I(`loadData-${e}-${h}`)}return O},[x,t,o,A,e,r,u,n,s,I]),v=a.useCallback(async()=>{g()},[g]),w=a.useCallback(async()=>g(),[g]);return a.useEffect(()=>{if(d===!1)return;const l=new AbortController;return g(l.signal,++$.current),()=>{l.abort()}},[g,d]),{data:m,setData:D,reloadData:v,isLoading:L,reloadDataWithReturn:w}},E=(e,d)=>{const t=p.compilerRuntimeExports.c(12);let o;t[0]!==d||t[1]!==e?(o=()=>{const i=localStorage.getItem(e);return i!=null&&i!=="undefined"?JSON.parse(i):d},t[0]=d,t[1]=e,t[2]=o):o=t[2];const r=o,[s,C]=a.useState(r);let f,n;t[3]!==e||t[4]!==s?(f=()=>{localStorage.setItem(e,JSON.stringify(s))},n=[e,s],t[3]=e,t[4]=s,t[5]=f,t[6]=n):(f=t[5],n=t[6]),a.useEffect(f,n);let u;t[7]!==r?(u=()=>{C(r)},t[7]=r,t[8]=u):u=t[8];const L=u;let c;return t[9]!==L||t[10]!==s?(c=[s,C,L],t[9]=L,t[10]=s,t[11]=c):c=t[11],c};exports.useGetApiData=B;exports.useLocalStorageState=E;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -13,6 +13,6 @@ export * from './route/apiPathUtils';
|
|
|
13
13
|
export * from './localizationUtils/localizationUtils';
|
|
14
14
|
export * from './apiUtils/apiUtils';
|
|
15
15
|
export * from './localStorage/localStorageUtils';
|
|
16
|
-
export { default as queryStorage } from './storages/queryStorage';
|
|
17
16
|
export * from './bnfTable/bnfTableUtils';
|
|
17
|
+
export { default as queryStorage } from './storages/queryStorage';
|
|
18
18
|
export { default as CommonLuminusIconsArray } from './constants/CommonLuminusIconsArray';
|
package/dist/utils.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./nivo-bar-BuQvk7Aq.cjs"),l=require("react/jsx-runtime");require("react");require("@azure/msal-browser");require("@azure/msal-react");require("@tanstack/react-query");require("react-router");require("react-dom");require("react-hook-form");require("react-flexmonster");const u=require("./localStorageUtils-CkZslzIU.cjs"),h=e=>{var r,a;return l.jsx(t.SimpleTooltip,{text:((r=e.getValue())==null?void 0:r.toString())??"",placement:"bottom",children:l.jsx("div",{className:"w-100 text-truncate",children:((a=e.getValue())==null?void 0:a.toString())??""})})},p=e=>{var r;return l.jsx(l.Fragment,{children:(r=e.getValue())==null?void 0:r.toLocaleString("cs-CZ")})},y=e=>{var n;const r=((n=e.getValue())==null?void 0:n.toString())??"",a=t.format(new Date(r),"dd.MM.yyyy");return l.jsx(l.Fragment,{children:r?a:""})},b=(e,r)=>{let a=!1,n=e;e[0]==="#"&&(n=e.slice(1),a=!0);let s=parseInt(n.substring(0,2),16),o=parseInt(n.substring(2,4),16),i=parseInt(n.substring(4,6),16);s+=r,o+=r,i+=r,s>255?s=255:s<0&&(s=0),o>255?o=255:o<0&&(o=0),i>255?i=255:i<0&&(i=0);const m=s.toString(16).length===1?"0"+s.toString(16):s.toString(16),S=o.toString(16).length===1?"0"+o.toString(16):o.toString(16),d=i.toString(16).length===1?"0"+i.toString(16):i.toString(16);return(a?"#":"")+m+S+d},O=e=>{const r=e.slice(3),a=[];for(let s=0;s<r.length;s+=2)a.push(r.slice(s,s+2));return`#${a.reverse().join("")}`},F=e=>typeof e.directoryName=="string"&&typeof e.directoryPath=="string"&&typeof e.directoryTranslationKey=="string"&&Array.isArray(e.files),D=async e=>{let r={status:"pending"};try{r={status:"success",data:(await e).data}}catch(a){r={status:"error",error:a}}return r},f=e=>{var r,a,n;return{columnOrder:e.columnsOrder??[],columnVisibility:Object.fromEntries((e.hiddenColumns??[]).map(s=>[s,!1])),pageIndex:0,pageSize:e.defaultPageSize??50,columnSorting:e.defaultSort?[e.defaultSort]:[],columnFilters:e.defaultFilters??[],columnPinning:e.fixedColumns?{left:e.fixedColumns.left?[e.fixedColumns.left]:[],right:e.fixedColumns.right?[e.fixedColumns.right]:[]}:{left:[],right:[]},size:e.isDense?"sm":"md",mobileDisplayGroup:((r=e.onMobile)==null?void 0:r.defaultDisplayGroup)??"",mobileFilter:{globalFilter:""},mobileShowColumnNames:((a=e.onMobile)==null?void 0:a.showColumnNames)??!1,columnSizing:Object.fromEntries(((n=e.columnWidths)==null?void 0:n.map(s=>[s.column,s.width]))??[]),grouping:[],expanding:{},isFullScreen:!1}},T=(e,r)=>{const a=new URLSearchParams;return Object.keys(e).forEach(n=>{a.append(`BnfTable-${r||"Universal"}.${n}`,JSON.stringify(e[n]))}),a.toString()},x=(e,r)=>{const a=localStorage.getItem("BnfTable-SettingsMigration");if(a){const n=JSON.parse(a);if(n.done&&n.version>=r)return}console.log("Migrating BnfTable settings to Tanstack Table format..."),e.forEach(n=>{const s=localStorage.getItem(n);if(!s)return;const o=JSON.parse(s);if(!o||Object.keys(o).length<1)return;const i=f(o);Object.keys(i).forEach(m=>{localStorage.setItem(`BnfTable-${n}.${m}`,JSON.stringify(i[m]))})}),localStorage.setItem("BnfTable-SettingsMigration",JSON.stringify({done:!0,version:r}))},c=()=>new URLSearchParams(window.location.search),g=e=>{const r=window.location.pathname+(e.toString()?`?${e.toString()}`:"")+window.location.hash;window.history.replaceState(null,"",r)},N={get length(){return Array.from(c().keys()).length},key(e){const r=c();return Array.from(r.keys())[e]??null},getItem(e){const a=c().get(e);return a??null},setItem(e,r){const a=c();a.set(e,r),g(a)},removeItem(e){const r=c();r.delete(e),g(r)},clear(){g(new URLSearchParams)}},v=["edit","delete","info","warning","check","check-simple","add","cancel","cancel-simple","danger","chevron-left","chevron-right","chevron-up","chevron-down","chevron-double-left","chevron-double-right","folder","folder-filled","file-download","file-upload","star-outline","save","link","pending","resizer-horizontal","qr-code","phone","mail","mail-envelope","dashboard","user","role","close","search","plus","minus","menu","arrow-right"];exports.atobUtf8=t.atobUtf8;exports.buildEmployeeNameString=t.buildEmployeeNameString;exports.buildOrgUnitString=t.buildOrgUnitString;exports.buildVehicleNameString=t.buildVehicleNameString;exports.capitalizeFirstLetter=t.capitalizeFirstLetter;exports.compareDate=t.compareDate;exports.compareDateTime=t.compareDateTime;exports.extractErrorsFromResponse=t.extractErrorsFromResponse;exports.extractFilename=t.extractFilename;exports.extractPermissionsFromResponse=t.extractPermissionsFromResponse;exports.fixNameIdNulls=t.fixNameIdNulls;exports.formatDate=t.formatDate;exports.formatDateTime=t.formatDateTime;exports.formatFileSize=t.formatFileSize;exports.getDateString=t.getDateString;exports.getDaysDifference=t.getDaysDifference;exports.getFirstDayOfMonth=t.getFirstDayOfMonth;exports.getFirstDayOfOffsetMonth=t.getFirstDayOfOffsetMonth;exports.getFirstDayOfYear=t.getFirstDayOfYear;exports.getLastDayOfMonth=t.getLastDayOfMonth;exports.getLastDayOfOffsetMonth=t.getLastDayOfOffsetMonth;exports.getLastDayOfYear=t.getLastDayOfYear;exports.hasOnlyNullValues=t.hasOnlyNullValues;exports.hookFormSetServerErrors=t.hookFormSetServerErrors;exports.isExtensionOpenable=t.isExtensionOpenable;exports.isFileOpenable=t.isFileOpenable;exports.isISODate=t.isISODate;exports.isPrimitive=t.isPrimitive;exports.isValidDate=t.isValidDate;exports.joinStrings=t.joinStrings;exports.msToStartOfNextDay=t.msToStartOfNextDay;exports.replaceNullValuesOnlyObjectsWithNulls=t.replaceNullValuesOnlyObjectsWithNulls;exports.saveFile=t.saveFile;exports.saveFileFromResponse=t.saveFileFromResponse;exports.shortenText=t.shortenText;exports.stringContains=t.stringContains;exports.stringSearchWithin=t.stringSearchWithin;exports.stringStartsWith=t.stringStartsWith;exports.trimIsoDate=t.trimIsoDate;exports.truncateText=t.truncateText;exports.urlfyArray=t.urlfyArray;exports.dumpLocalStorage=u.dumpLocalStorage;exports.generateApiPath=u.generateApiPath;exports.hookFormSetNull=u.hookFormSetNull;exports.hookFormSetNulls=u.hookFormSetNulls;exports.limitNumber=u.limitNumber;exports.restoreLocalStorage=u.restoreLocalStorage;exports.CommonLuminusIconsArray=v;exports.adjustBrightness=b;exports.buildTableSearchQuery=T;exports.configToTanstackTableState=f;exports.dateValueFormat=y;exports.isFileStructureDirectory=F;exports.migrateBnfTableSettings=x;exports.numFormat=p;exports.queryStorage=N;exports.responsePromiseWrapper=D;exports.valueTooltip=h;exports.vclToHex=O;
|
package/dist/utils.es.js
CHANGED
|
@@ -1,70 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { aE as f, X as p } from "./nivo-bar-W-IB9CF6.js";
|
|
2
|
+
import { cg as U, ce as A, cf as $, cd as W, cc as G, bX as J, bY as Q, bp as X, c3 as Y, bU as q, bD as Z, aX as H, cb as K, ci as _, c2 as ee, bZ as te, bh as re, b$ as se, bi as ae, b_ as oe, c0 as ne, c1 as ie, c7 as le, bB as ce, c5 as me, c4 as ue, bV as ge, c6 as de, bW as fe, a0 as pe, bO as he, c8 as Se, bk as be, bo as ye, ck as Oe, c9 as we, ak as Fe, ca as De, bg as ve, ch as xe, cj as Te } from "./nivo-bar-W-IB9CF6.js";
|
|
3
|
+
import { jsx as c, Fragment as u } from "react/jsx-runtime";
|
|
3
4
|
import "react";
|
|
4
5
|
import "@azure/msal-browser";
|
|
5
6
|
import "@azure/msal-react";
|
|
6
|
-
import "react-
|
|
7
|
+
import "@tanstack/react-query";
|
|
8
|
+
import "react-router";
|
|
7
9
|
import "react-dom";
|
|
8
10
|
import "react-hook-form";
|
|
9
11
|
import "react-flexmonster";
|
|
10
|
-
import { d as
|
|
11
|
-
const
|
|
12
|
+
import { d as ke, g as Ce, h as Ie, a as Pe, l as Me, r as Be } from "./localStorageUtils-CZ4HDRzi.js";
|
|
13
|
+
const N = (e) => {
|
|
12
14
|
var t, r;
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
},
|
|
15
|
+
return /* @__PURE__ */ c(f, { text: ((t = e.getValue()) == null ? void 0 : t.toString()) ?? "", placement: "bottom", children: /* @__PURE__ */ c("div", { className: "w-100 text-truncate", children: ((r = e.getValue()) == null ? void 0 : r.toString()) ?? "" }) });
|
|
16
|
+
}, k = (e) => {
|
|
15
17
|
var t;
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
},
|
|
18
|
+
return /* @__PURE__ */ c(u, { children: (t = e.getValue()) == null ? void 0 : t.toLocaleString("cs-CZ") });
|
|
19
|
+
}, C = (e) => {
|
|
18
20
|
var a;
|
|
19
|
-
const t = ((a = e.getValue()) == null ? void 0 : a.toString()) ?? "", r =
|
|
20
|
-
return /* @__PURE__ */
|
|
21
|
-
},
|
|
21
|
+
const t = ((a = e.getValue()) == null ? void 0 : a.toString()) ?? "", r = p(new Date(t), "dd.MM.yyyy");
|
|
22
|
+
return /* @__PURE__ */ c(u, { children: t ? r : "" });
|
|
23
|
+
}, I = (e, t) => {
|
|
22
24
|
let r = !1, a = e;
|
|
23
25
|
e[0] === "#" && (a = e.slice(1), r = !0);
|
|
24
|
-
let s = parseInt(a.substring(0, 2), 16),
|
|
25
|
-
s += t,
|
|
26
|
-
const
|
|
27
|
-
return (r ? "#" : "") +
|
|
28
|
-
},
|
|
26
|
+
let s = parseInt(a.substring(0, 2), 16), o = parseInt(a.substring(2, 4), 16), n = parseInt(a.substring(4, 6), 16);
|
|
27
|
+
s += t, o += t, n += t, s > 255 ? s = 255 : s < 0 && (s = 0), o > 255 ? o = 255 : o < 0 && (o = 0), n > 255 ? n = 255 : n < 0 && (n = 0);
|
|
28
|
+
const l = s.toString(16).length === 1 ? "0" + s.toString(16) : s.toString(16), g = o.toString(16).length === 1 ? "0" + o.toString(16) : o.toString(16), d = n.toString(16).length === 1 ? "0" + n.toString(16) : n.toString(16);
|
|
29
|
+
return (r ? "#" : "") + l + g + d;
|
|
30
|
+
}, P = (e) => {
|
|
29
31
|
const t = e.slice(3), r = [];
|
|
30
32
|
for (let s = 0; s < t.length; s += 2)
|
|
31
33
|
r.push(t.slice(s, s + 2));
|
|
32
34
|
return `#${r.reverse().join("")}`;
|
|
33
|
-
},
|
|
34
|
-
let t = {
|
|
35
|
+
}, M = (e) => typeof e.directoryName == "string" && typeof e.directoryPath == "string" && typeof e.directoryTranslationKey == "string" && Array.isArray(e.files), B = async (e) => {
|
|
36
|
+
let t = {
|
|
37
|
+
status: "pending"
|
|
38
|
+
};
|
|
35
39
|
try {
|
|
36
|
-
t = {
|
|
40
|
+
t = {
|
|
41
|
+
status: "success",
|
|
42
|
+
data: (await e).data
|
|
43
|
+
};
|
|
37
44
|
} catch (r) {
|
|
38
|
-
t = {
|
|
45
|
+
t = {
|
|
46
|
+
status: "error",
|
|
47
|
+
error: r
|
|
48
|
+
};
|
|
39
49
|
}
|
|
40
50
|
return t;
|
|
41
|
-
},
|
|
42
|
-
const t = window.location.pathname + (e.toString() ? `?${e.toString()}` : "") + window.location.hash;
|
|
43
|
-
window.history.replaceState(null, "", t);
|
|
44
|
-
}, P = {
|
|
45
|
-
get length() {
|
|
46
|
-
return Array.from(l().keys()).length;
|
|
47
|
-
},
|
|
48
|
-
key(e) {
|
|
49
|
-
const t = l();
|
|
50
|
-
return Array.from(t.keys())[e] ?? null;
|
|
51
|
-
},
|
|
52
|
-
getItem(e) {
|
|
53
|
-
const r = l().get(e);
|
|
54
|
-
return r ?? null;
|
|
55
|
-
},
|
|
56
|
-
setItem(e, t) {
|
|
57
|
-
const r = l();
|
|
58
|
-
r.set(e, t), m(r);
|
|
59
|
-
},
|
|
60
|
-
removeItem(e) {
|
|
61
|
-
const t = l();
|
|
62
|
-
t.delete(e), m(t);
|
|
63
|
-
},
|
|
64
|
-
clear() {
|
|
65
|
-
m(new URLSearchParams());
|
|
66
|
-
}
|
|
67
|
-
}, p = (e) => {
|
|
51
|
+
}, h = (e) => {
|
|
68
52
|
var t, r, a;
|
|
69
53
|
return {
|
|
70
54
|
columnOrder: e.columnsOrder ?? [],
|
|
@@ -76,22 +60,27 @@ const T = (e) => {
|
|
|
76
60
|
columnPinning: e.fixedColumns ? {
|
|
77
61
|
left: e.fixedColumns.left ? [e.fixedColumns.left] : [],
|
|
78
62
|
right: e.fixedColumns.right ? [e.fixedColumns.right] : []
|
|
79
|
-
} : {
|
|
63
|
+
} : {
|
|
64
|
+
left: [],
|
|
65
|
+
right: []
|
|
66
|
+
},
|
|
80
67
|
size: e.isDense ? "sm" : "md",
|
|
81
68
|
mobileDisplayGroup: ((t = e.onMobile) == null ? void 0 : t.defaultDisplayGroup) ?? "",
|
|
82
|
-
mobileFilter: {
|
|
69
|
+
mobileFilter: {
|
|
70
|
+
globalFilter: ""
|
|
71
|
+
},
|
|
83
72
|
mobileShowColumnNames: ((r = e.onMobile) == null ? void 0 : r.showColumnNames) ?? !1,
|
|
84
73
|
columnSizing: Object.fromEntries(((a = e.columnWidths) == null ? void 0 : a.map((s) => [s.column, s.width])) ?? []),
|
|
85
74
|
grouping: [],
|
|
86
75
|
expanding: {},
|
|
87
76
|
isFullScreen: !1
|
|
88
77
|
};
|
|
89
|
-
},
|
|
78
|
+
}, L = (e, t) => {
|
|
90
79
|
const r = new URLSearchParams();
|
|
91
80
|
return Object.keys(e).forEach((a) => {
|
|
92
81
|
r.append(`BnfTable-${t || "Universal"}.${a}`, JSON.stringify(e[a]));
|
|
93
82
|
}), r.toString();
|
|
94
|
-
},
|
|
83
|
+
}, V = (e, t) => {
|
|
95
84
|
const r = localStorage.getItem("BnfTable-SettingsMigration");
|
|
96
85
|
if (r) {
|
|
97
86
|
const a = JSON.parse(r);
|
|
@@ -100,117 +89,102 @@ const T = (e) => {
|
|
|
100
89
|
}
|
|
101
90
|
console.log("Migrating BnfTable settings to Tanstack Table format..."), e.forEach((a) => {
|
|
102
91
|
const s = localStorage.getItem(a);
|
|
103
|
-
if (!s)
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
Object.keys(o).forEach((c) => {
|
|
110
|
-
localStorage.setItem(`BnfTable-${a}.${c}`, JSON.stringify(o[c]));
|
|
92
|
+
if (!s) return;
|
|
93
|
+
const o = JSON.parse(s);
|
|
94
|
+
if (!o || Object.keys(o).length < 1) return;
|
|
95
|
+
const n = h(o);
|
|
96
|
+
Object.keys(n).forEach((l) => {
|
|
97
|
+
localStorage.setItem(`BnfTable-${a}.${l}`, JSON.stringify(n[l]));
|
|
111
98
|
});
|
|
112
99
|
}), localStorage.setItem("BnfTable-SettingsMigration", JSON.stringify({
|
|
113
100
|
done: !0,
|
|
114
101
|
version: t
|
|
115
102
|
}));
|
|
116
|
-
},
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
"phone",
|
|
144
|
-
"mail",
|
|
145
|
-
"mail-envelope",
|
|
146
|
-
"dashboard",
|
|
147
|
-
"user",
|
|
148
|
-
"role",
|
|
149
|
-
"close",
|
|
150
|
-
"search",
|
|
151
|
-
"plus",
|
|
152
|
-
"minus",
|
|
153
|
-
"menu",
|
|
154
|
-
"arrow-right"
|
|
155
|
-
];
|
|
103
|
+
}, i = () => new URLSearchParams(window.location.search), m = (e) => {
|
|
104
|
+
const t = window.location.pathname + (e.toString() ? `?${e.toString()}` : "") + window.location.hash;
|
|
105
|
+
window.history.replaceState(null, "", t);
|
|
106
|
+
}, E = {
|
|
107
|
+
get length() {
|
|
108
|
+
return Array.from(i().keys()).length;
|
|
109
|
+
},
|
|
110
|
+
key(e) {
|
|
111
|
+
const t = i();
|
|
112
|
+
return Array.from(t.keys())[e] ?? null;
|
|
113
|
+
},
|
|
114
|
+
getItem(e) {
|
|
115
|
+
const r = i().get(e);
|
|
116
|
+
return r ?? null;
|
|
117
|
+
},
|
|
118
|
+
setItem(e, t) {
|
|
119
|
+
const r = i();
|
|
120
|
+
r.set(e, t), m(r);
|
|
121
|
+
},
|
|
122
|
+
removeItem(e) {
|
|
123
|
+
const t = i();
|
|
124
|
+
t.delete(e), m(t);
|
|
125
|
+
},
|
|
126
|
+
clear() {
|
|
127
|
+
m(new URLSearchParams());
|
|
128
|
+
}
|
|
129
|
+
}, R = ["edit", "delete", "info", "warning", "check", "check-simple", "add", "cancel", "cancel-simple", "danger", "chevron-left", "chevron-right", "chevron-up", "chevron-down", "chevron-double-left", "chevron-double-right", "folder", "folder-filled", "file-download", "file-upload", "star-outline", "save", "link", "pending", "resizer-horizontal", "qr-code", "phone", "mail", "mail-envelope", "dashboard", "user", "role", "close", "search", "plus", "minus", "menu", "arrow-right"];
|
|
156
130
|
export {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
131
|
+
R as CommonLuminusIconsArray,
|
|
132
|
+
I as adjustBrightness,
|
|
133
|
+
U as atobUtf8,
|
|
134
|
+
A as buildEmployeeNameString,
|
|
135
|
+
$ as buildOrgUnitString,
|
|
136
|
+
L as buildTableSearchQuery,
|
|
137
|
+
W as buildVehicleNameString,
|
|
138
|
+
G as capitalizeFirstLetter,
|
|
139
|
+
J as compareDate,
|
|
140
|
+
Q as compareDateTime,
|
|
141
|
+
h as configToTanstackTableState,
|
|
142
|
+
C as dateValueFormat,
|
|
143
|
+
ke as dumpLocalStorage,
|
|
144
|
+
X as extractErrorsFromResponse,
|
|
145
|
+
Y as extractFilename,
|
|
146
|
+
q as extractPermissionsFromResponse,
|
|
147
|
+
Z as fixNameIdNulls,
|
|
148
|
+
H as formatDate,
|
|
149
|
+
K as formatDateTime,
|
|
150
|
+
_ as formatFileSize,
|
|
151
|
+
Ce as generateApiPath,
|
|
152
|
+
ee as getDateString,
|
|
153
|
+
te as getDaysDifference,
|
|
154
|
+
re as getFirstDayOfMonth,
|
|
155
|
+
se as getFirstDayOfOffsetMonth,
|
|
156
|
+
ae as getFirstDayOfYear,
|
|
157
|
+
oe as getLastDayOfMonth,
|
|
158
|
+
ne as getLastDayOfOffsetMonth,
|
|
159
|
+
ie as getLastDayOfYear,
|
|
160
|
+
le as hasOnlyNullValues,
|
|
161
|
+
Ie as hookFormSetNull,
|
|
162
|
+
Pe as hookFormSetNulls,
|
|
163
|
+
ce as hookFormSetServerErrors,
|
|
164
|
+
me as isExtensionOpenable,
|
|
165
|
+
ue as isFileOpenable,
|
|
166
|
+
M as isFileStructureDirectory,
|
|
167
|
+
ge as isISODate,
|
|
168
|
+
de as isPrimitive,
|
|
169
|
+
fe as isValidDate,
|
|
170
|
+
pe as joinStrings,
|
|
171
|
+
Me as limitNumber,
|
|
172
|
+
V as migrateBnfTableSettings,
|
|
173
|
+
he as msToStartOfNextDay,
|
|
174
|
+
k as numFormat,
|
|
175
|
+
E as queryStorage,
|
|
176
|
+
Se as replaceNullValuesOnlyObjectsWithNulls,
|
|
177
|
+
B as responsePromiseWrapper,
|
|
178
|
+
Be as restoreLocalStorage,
|
|
179
|
+
be as saveFile,
|
|
180
|
+
ye as saveFileFromResponse,
|
|
181
|
+
Oe as shortenText,
|
|
182
|
+
we as stringContains,
|
|
183
|
+
Fe as stringSearchWithin,
|
|
184
|
+
De as stringStartsWith,
|
|
185
|
+
ve as trimIsoDate,
|
|
186
|
+
xe as truncateText,
|
|
187
|
+
Te as urlfyArray,
|
|
188
|
+
N as valueTooltip,
|
|
189
|
+
P as vclToHex
|
|
216
190
|
};
|