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.
@@ -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,4 +1,4 @@
1
- import { bY as o } from "./ResponsiveContextDropdown-IjVEU2N-.js";
1
+ import { bY as o } from "./ResponsiveContextDropdown-IcbFFj-E.js";
2
2
  const f = (e, r, i) => {
3
3
  let a = e;
4
4
  return r !== void 0 && (a = Math.max(a, r)), i !== void 0 && (a = Math.min(a, i)), a;
@@ -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-IjVEU2N-.js";
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-IjVEU2N-.js";
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";
@@ -1,4 +1,4 @@
1
- import { aE as i } from "./ResponsiveContextDropdown-IjVEU2N-.js";
1
+ import { aE as i } from "./ResponsiveContextDropdown-IcbFFj-E.js";
2
2
  import { useContext as n, useCallback as m } from "react";
3
3
  import "react-router-dom";
4
4
  import "@azure/msal-browser";
package/dist/utils.es.js CHANGED
@@ -1,34 +1,34 @@
1
- import { j as o, aA as c, a8 as f } from "./ResponsiveContextDropdown-IjVEU2N-.js";
2
- import { bS as I, bQ as M, bR as V, bP as E, bO as L, bx as P, by as B, aY as v, bF as w, bu as G, bJ as W, bM as k, bN as z, bU as A, bE as U, bz as Y, aP as H, bB as Q, aQ as J, bA as K, bC as X, bD as Z, bK as $, bt as q, bv as _, bI as tt, bw as et, bV as st, bn as at, bL as rt, bG as it, bH as ot, bX as nt, aO as lt, bT as mt, bW as bt } from "./ResponsiveContextDropdown-IjVEU2N-.js";
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-CFYkiNz3.js";
10
- const d = ({ cell: { value: t } }) => /* @__PURE__ */ o.jsx(c, { text: t, placement: "bottom", children: /* @__PURE__ */ o.jsx("div", { className: "w-100 text-truncate", children: t }) }), y = ({ cell: { value: t } }) => /* @__PURE__ */ o.jsx(o.Fragment, { children: t == null ? void 0 : t.toLocaleString("cs-CZ") }), O = ({ cell: { value: t } }) => {
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__ */ o.jsx(o.Fragment, { children: t ? s : "" });
12
+ return /* @__PURE__ */ i.jsx(i.Fragment, { children: t ? s : "" });
13
13
  }, N = (t, s) => {
14
- let i = !1, n = t;
15
- t[0] === "#" && (n = t.slice(1), i = !0);
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 (i ? "#" : "") + l + m + b;
19
+ return (o ? "#" : "") + l + m + b;
20
20
  }, j = (t) => {
21
- const s = t.slice(3), i = [];
21
+ const s = t.slice(3), o = [];
22
22
  for (let e = 0; e < s.length; e += 2)
23
- i.push(s.slice(e, e + 2));
24
- return `#${i.reverse().join("")}`;
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((i) => {
31
- g(t, i);
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
- J as getFirstDayOfYear,
56
- K as getLastDayOfMonth,
57
- X as getLastDayOfOffsetMonth,
58
- Z as getLastDayOfYear,
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
- it as saveFile,
72
- ot as saveFileFromResponse,
71
+ ot as saveFile,
72
+ it as saveFileFromResponse,
73
73
  nt as shortenText,
74
74
  gt as stringContains,
75
75
  ut as stringSearchWithin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-luminus-components",
3
- "version": "1.3.161",
3
+ "version": "1.3.162",
4
4
  "description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
5
5
  "type": "module",
6
6
  "repository": {