react-luminus-components 1.3.161 → 1.3.162
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 +20 -20
- package/dist/{Loading-CZXvcAIp.js → Loading-CUX86L4N.js} +1 -1
- package/dist/{ResponsiveContextDropdown-IjVEU2N-.js → ResponsiveContextDropdown-IcbFFj-E.js} +48 -48
- package/dist/components/common/DynamicForm/DynamicForm.d.ts +2 -1
- package/dist/contexts.es.js +3 -3
- package/dist/hooks.es.js +5 -5
- package/dist/layout.es.js +18 -18
- package/dist/main.cjs.js +2 -2
- package/dist/main.es.js +1979 -1969
- package/dist/models/texts/DynamicFormsTexts.d.ts +2 -0
- package/dist/{searchUtils-CFYkiNz3.js → searchUtils-PcNM9szU.js} +1 -1
- package/dist/{useClipboard-cR2sUl-i.js → useClipboard-Ce1zAEmK.js} +1 -1
- package/dist/{useGetApiData-CpSouJsc.js → useGetApiData-CnUqCI60.js} +1 -1
- package/dist/{usePermissions-UU8J7g9d.js → usePermissions-B1WDeTMr.js} +1 -1
- package/dist/utils.es.js +19 -19
- package/package.json +1 -1
|
@@ -4,10 +4,12 @@ type DynamicFormsTexts = {
|
|
|
4
4
|
deleteSuccess: string;
|
|
5
5
|
createSuccess: string;
|
|
6
6
|
showArchived: string;
|
|
7
|
+
hideArchived: string;
|
|
7
8
|
selectMaster: (master: string) => string;
|
|
8
9
|
tablePage: string;
|
|
9
10
|
tablePageFrom: string;
|
|
10
11
|
yes: string;
|
|
11
12
|
no: string;
|
|
13
|
+
downloadExport: string;
|
|
12
14
|
};
|
|
13
15
|
export default DynamicFormsTexts;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEffect as h, useCallback as m, useMemo as u, useContext as b } from "react";
|
|
2
2
|
import { useSearchParams as f } from "react-router-dom";
|
|
3
|
-
import { aW as d, a2 as y } from "./ResponsiveContextDropdown-
|
|
3
|
+
import { aW as d, a2 as y } from "./ResponsiveContextDropdown-IcbFFj-E.js";
|
|
4
4
|
import "@azure/msal-browser";
|
|
5
5
|
import "@azure/msal-react";
|
|
6
6
|
import "react-hook-form";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { au as L, aV as $, aD as w } from "./ResponsiveContextDropdown-
|
|
1
|
+
import { au as L, aV as $, aD as w } from "./ResponsiveContextDropdown-IcbFFj-E.js";
|
|
2
2
|
import { useContext as y, useRef as O, useState as S, useCallback as k, useEffect as B } from "react";
|
|
3
3
|
import "react-router-dom";
|
|
4
4
|
import "react-hook-form";
|
package/dist/utils.es.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { bS as I, bQ as M, bR as V, bP as E, bO as L,
|
|
1
|
+
import { j as i, aA as c, a8 as f } from "./ResponsiveContextDropdown-IcbFFj-E.js";
|
|
2
|
+
import { bS as I, bQ as M, bR as V, bP as E, bO as L, by as P, bz as B, aZ as v, bG as w, bv as G, bJ as W, bM as k, bN as z, bU as A, bF as U, bA as Y, aP as H, bC as Q, aQ as Z, bB as J, bD as K, bE as X, bK as $, bu as q, bw as _, bI as tt, bx as et, bV as st, bo as at, bL as rt, bH as ot, aY as it, bX as nt, aO as lt, bT as mt, bW as bt } from "./ResponsiveContextDropdown-IcbFFj-E.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@azure/msal-browser";
|
|
5
5
|
import "@azure/msal-react";
|
|
6
6
|
import "react-router-dom";
|
|
7
7
|
import "react-hook-form";
|
|
8
8
|
import "react-flexmonster";
|
|
9
|
-
import { l as ft, a as gt, s as ut, b as pt } from "./searchUtils-
|
|
10
|
-
const d = ({ cell: { value: t } }) => /* @__PURE__ */
|
|
9
|
+
import { l as ft, a as gt, s as ut, b as pt } from "./searchUtils-PcNM9szU.js";
|
|
10
|
+
const d = ({ cell: { value: t } }) => /* @__PURE__ */ i.jsx(c, { text: t, placement: "bottom", children: /* @__PURE__ */ i.jsx("div", { className: "w-100 text-truncate", children: t }) }), y = ({ cell: { value: t } }) => /* @__PURE__ */ i.jsx(i.Fragment, { children: t == null ? void 0 : t.toLocaleString("cs-CZ") }), O = ({ cell: { value: t } }) => {
|
|
11
11
|
const s = f(new Date(t), "dd.MM.yyyy");
|
|
12
|
-
return /* @__PURE__ */
|
|
12
|
+
return /* @__PURE__ */ i.jsx(i.Fragment, { children: t ? s : "" });
|
|
13
13
|
}, N = (t, s) => {
|
|
14
|
-
let
|
|
15
|
-
t[0] === "#" && (n = t.slice(1),
|
|
14
|
+
let o = !1, n = t;
|
|
15
|
+
t[0] === "#" && (n = t.slice(1), o = !0);
|
|
16
16
|
let e = parseInt(n.substring(0, 2), 16), a = parseInt(n.substring(2, 4), 16), r = parseInt(n.substring(4, 6), 16);
|
|
17
17
|
e += s, a += s, r += s, e > 255 ? e = 255 : e < 0 && (e = 0), a > 255 ? a = 255 : a < 0 && (a = 0), r > 255 ? r = 255 : r < 0 && (r = 0);
|
|
18
18
|
const l = e.toString(16).length === 1 ? "0" + e.toString(16) : e.toString(16), m = a.toString(16).length === 1 ? "0" + a.toString(16) : a.toString(16), b = r.toString(16).length === 1 ? "0" + r.toString(16) : r.toString(16);
|
|
19
|
-
return (
|
|
19
|
+
return (o ? "#" : "") + l + m + b;
|
|
20
20
|
}, j = (t) => {
|
|
21
|
-
const s = t.slice(3),
|
|
21
|
+
const s = t.slice(3), o = [];
|
|
22
22
|
for (let e = 0; e < s.length; e += 2)
|
|
23
|
-
|
|
24
|
-
return `#${
|
|
23
|
+
o.push(s.slice(e, e + 2));
|
|
24
|
+
return `#${o.reverse().join("")}`;
|
|
25
25
|
};
|
|
26
26
|
function g(t, s) {
|
|
27
27
|
t.setValue(s, null);
|
|
28
28
|
}
|
|
29
29
|
function T(t, s) {
|
|
30
|
-
s.forEach((
|
|
31
|
-
g(t,
|
|
30
|
+
s.forEach((o) => {
|
|
31
|
+
g(t, o);
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
export {
|
|
@@ -52,10 +52,10 @@ export {
|
|
|
52
52
|
Y as getDaysDifference,
|
|
53
53
|
H as getFirstDayOfMonth,
|
|
54
54
|
Q as getFirstDayOfOffsetMonth,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
Z as getFirstDayOfYear,
|
|
56
|
+
J as getLastDayOfMonth,
|
|
57
|
+
K as getLastDayOfOffsetMonth,
|
|
58
|
+
X as getLastDayOfYear,
|
|
59
59
|
$ as hasOnlyNullValues,
|
|
60
60
|
g as hookFormSetNull,
|
|
61
61
|
T as hookFormSetNulls,
|
|
@@ -68,8 +68,8 @@ export {
|
|
|
68
68
|
at as msToStartOfNextDay,
|
|
69
69
|
y as numFormat,
|
|
70
70
|
rt as replaceNullValuesOnlyObjectsWithNulls,
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
ot as saveFile,
|
|
72
|
+
it as saveFileFromResponse,
|
|
73
73
|
nt as shortenText,
|
|
74
74
|
gt as stringContains,
|
|
75
75
|
ut as stringSearchWithin,
|