@natoora-libs/core 0.2.47 → 0.2.49

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.
@@ -15,9 +15,9 @@ import {
15
15
  __toESM
16
16
  } from "../chunk-5WRI5ZAA.js";
17
17
 
18
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObject.js
18
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js
19
19
  var require_isObject = __commonJS({
20
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObject.js"(exports, module) {
20
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js"(exports, module) {
21
21
  function isObject(value) {
22
22
  var type = typeof value;
23
23
  return value != null && (type == "object" || type == "function");
@@ -26,17 +26,17 @@ var require_isObject = __commonJS({
26
26
  }
27
27
  });
28
28
 
29
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_freeGlobal.js
29
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js
30
30
  var require_freeGlobal = __commonJS({
31
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_freeGlobal.js"(exports, module) {
31
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js"(exports, module) {
32
32
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
33
33
  module.exports = freeGlobal;
34
34
  }
35
35
  });
36
36
 
37
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_root.js
37
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js
38
38
  var require_root = __commonJS({
39
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_root.js"(exports, module) {
39
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js"(exports, module) {
40
40
  var freeGlobal = require_freeGlobal();
41
41
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
42
42
  var root = freeGlobal || freeSelf || Function("return this")();
@@ -44,9 +44,9 @@ var require_root = __commonJS({
44
44
  }
45
45
  });
46
46
 
47
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/now.js
47
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js
48
48
  var require_now = __commonJS({
49
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/now.js"(exports, module) {
49
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js"(exports, module) {
50
50
  var root = require_root();
51
51
  var now = function() {
52
52
  return root.Date.now();
@@ -55,9 +55,9 @@ var require_now = __commonJS({
55
55
  }
56
56
  });
57
57
 
58
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_trimmedEndIndex.js
58
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js
59
59
  var require_trimmedEndIndex = __commonJS({
60
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_trimmedEndIndex.js"(exports, module) {
60
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js"(exports, module) {
61
61
  var reWhitespace = /\s/;
62
62
  function trimmedEndIndex(string) {
63
63
  var index = string.length;
@@ -69,9 +69,9 @@ var require_trimmedEndIndex = __commonJS({
69
69
  }
70
70
  });
71
71
 
72
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseTrim.js
72
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js
73
73
  var require_baseTrim = __commonJS({
74
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseTrim.js"(exports, module) {
74
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js"(exports, module) {
75
75
  var trimmedEndIndex = require_trimmedEndIndex();
76
76
  var reTrimStart = /^\s+/;
77
77
  function baseTrim(string) {
@@ -81,18 +81,18 @@ var require_baseTrim = __commonJS({
81
81
  }
82
82
  });
83
83
 
84
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Symbol.js
84
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js
85
85
  var require_Symbol = __commonJS({
86
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Symbol.js"(exports, module) {
86
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js"(exports, module) {
87
87
  var root = require_root();
88
88
  var Symbol = root.Symbol;
89
89
  module.exports = Symbol;
90
90
  }
91
91
  });
92
92
 
93
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getRawTag.js
93
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js
94
94
  var require_getRawTag = __commonJS({
95
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getRawTag.js"(exports, module) {
95
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js"(exports, module) {
96
96
  var Symbol = require_Symbol();
97
97
  var objectProto = Object.prototype;
98
98
  var hasOwnProperty = objectProto.hasOwnProperty;
@@ -119,9 +119,9 @@ var require_getRawTag = __commonJS({
119
119
  }
120
120
  });
121
121
 
122
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_objectToString.js
122
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js
123
123
  var require_objectToString = __commonJS({
124
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_objectToString.js"(exports, module) {
124
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js"(exports, module) {
125
125
  var objectProto = Object.prototype;
126
126
  var nativeObjectToString = objectProto.toString;
127
127
  function objectToString(value) {
@@ -131,9 +131,9 @@ var require_objectToString = __commonJS({
131
131
  }
132
132
  });
133
133
 
134
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseGetTag.js
134
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js
135
135
  var require_baseGetTag = __commonJS({
136
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseGetTag.js"(exports, module) {
136
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js"(exports, module) {
137
137
  var Symbol = require_Symbol();
138
138
  var getRawTag = require_getRawTag();
139
139
  var objectToString = require_objectToString();
@@ -150,9 +150,9 @@ var require_baseGetTag = __commonJS({
150
150
  }
151
151
  });
152
152
 
153
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObjectLike.js
153
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js
154
154
  var require_isObjectLike = __commonJS({
155
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObjectLike.js"(exports, module) {
155
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js"(exports, module) {
156
156
  function isObjectLike(value) {
157
157
  return value != null && typeof value == "object";
158
158
  }
@@ -160,9 +160,9 @@ var require_isObjectLike = __commonJS({
160
160
  }
161
161
  });
162
162
 
163
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isSymbol.js
163
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js
164
164
  var require_isSymbol = __commonJS({
165
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isSymbol.js"(exports, module) {
165
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js"(exports, module) {
166
166
  var baseGetTag = require_baseGetTag();
167
167
  var isObjectLike = require_isObjectLike();
168
168
  var symbolTag = "[object Symbol]";
@@ -173,9 +173,9 @@ var require_isSymbol = __commonJS({
173
173
  }
174
174
  });
175
175
 
176
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toNumber.js
176
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js
177
177
  var require_toNumber = __commonJS({
178
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toNumber.js"(exports, module) {
178
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js"(exports, module) {
179
179
  var baseTrim = require_baseTrim();
180
180
  var isObject = require_isObject();
181
181
  var isSymbol = require_isSymbol();
@@ -206,9 +206,9 @@ var require_toNumber = __commonJS({
206
206
  }
207
207
  });
208
208
 
209
- // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/debounce.js
209
+ // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js
210
210
  var require_debounce = __commonJS({
211
- "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/debounce.js"(exports, module) {
211
+ "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js"(exports, module) {
212
212
  var isObject = require_isObject();
213
213
  var now = require_now();
214
214
  var toNumber = require_toNumber();
@@ -6669,7 +6669,7 @@ var NumpadPlus = ({ handleClick, handleUndo }) => {
6669
6669
  var NumpadPlus_default = NumpadPlus;
6670
6670
 
6671
6671
  // src/components/Pagination/Pagination.tsx
6672
- import { Pagination, Paper as Paper5, Typography as Typography22 } from "@mui/material";
6672
+ import { Pagination, Paper as Paper5, Typography as Typography22, Box as Box33 } from "@mui/material";
6673
6673
  import { makeStyles as makeStyles33 } from "tss-react/mui";
6674
6674
  import { jsx as jsx106, jsxs as jsxs69 } from "react/jsx-runtime";
6675
6675
  var paginationHeight = "56px";
@@ -6684,11 +6684,18 @@ var useStyles33 = makeStyles33()((theme) => ({
6684
6684
  borderRadius: "0 0 4px 4px",
6685
6685
  width: "100%",
6686
6686
  height: paginationHeight,
6687
+ overflow: "hidden",
6687
6688
  "& > *": {
6688
6689
  margin: theme.spacing(2)
6689
6690
  },
6690
- "& .MuiTypography-body1": {
6691
- fontSize: ".850rem"
6691
+ "& .MuiPagination-root": {
6692
+ minWidth: 0
6693
+ },
6694
+ "& .MuiPagination-ul": {
6695
+ flexWrap: "nowrap"
6696
+ },
6697
+ "& .MuiPaginationItem-root": {
6698
+ flexShrink: 0
6692
6699
  }
6693
6700
  },
6694
6701
  fixed: {
@@ -6708,7 +6715,9 @@ var PaginationForTable = ({
6708
6715
  pagination,
6709
6716
  position = "relative",
6710
6717
  style,
6711
- updateFilters
6718
+ updateFilters,
6719
+ siblingCount = 1,
6720
+ boundaryCount = 1
6712
6721
  }) => {
6713
6722
  const { classes, cx } = useStyles33();
6714
6723
  const handleChange = (event, value) => {
@@ -6716,7 +6725,7 @@ var PaginationForTable = ({
6716
6725
  };
6717
6726
  const isFixed = position === "fixed";
6718
6727
  return /* @__PURE__ */ jsx106(Paper5, { children: /* @__PURE__ */ jsxs69(
6719
- "div",
6728
+ Box33,
6720
6729
  {
6721
6730
  style,
6722
6731
  className: cx(classes.root, className, {
@@ -6727,14 +6736,16 @@ var PaginationForTable = ({
6727
6736
  "Page: ",
6728
6737
  page
6729
6738
  ] }),
6730
- /* @__PURE__ */ jsx106(
6739
+ /* @__PURE__ */ jsx106(Box33, { style: { overflowX: "auto", maxWidth: 400 }, children: /* @__PURE__ */ jsx106(
6731
6740
  Pagination,
6732
6741
  {
6733
6742
  count: pagination.num_pages,
6734
- page,
6735
- onChange: handleChange
6743
+ page: Number(page),
6744
+ onChange: handleChange,
6745
+ siblingCount,
6746
+ boundaryCount
6736
6747
  }
6737
- )
6748
+ ) })
6738
6749
  ]
6739
6750
  }
6740
6751
  ) });
@@ -7273,7 +7284,7 @@ var ProductBust = withStyles4(PBust, (theme) => ({
7273
7284
  var ProductBust_default = ProductBust;
7274
7285
 
7275
7286
  // src/components/RenderAvatar/RenderAvatar.tsx
7276
- import { Avatar, Badge, Box as Box33, Typography as Typography25 } from "@mui/material";
7287
+ import { Avatar, Badge, Box as Box34, Typography as Typography25 } from "@mui/material";
7277
7288
  import { withStyles as withStyles5 } from "tss-react/mui";
7278
7289
  import { jsx as jsx110, jsxs as jsxs73 } from "react/jsx-runtime";
7279
7290
  var RenderAvatar = ({ active }) => {
@@ -7285,7 +7296,7 @@ var RenderAvatar = ({ active }) => {
7285
7296
  }
7286
7297
  }));
7287
7298
  return /* @__PURE__ */ jsxs73(
7288
- Box33,
7299
+ Box34,
7289
7300
  {
7290
7301
  sx: { display: "flex", flexDirection: "column", alignItems: "center" },
7291
7302
  children: [
@@ -7451,7 +7462,7 @@ var RenderContentList = ({
7451
7462
  var RenderContentList_default = RenderContentList;
7452
7463
 
7453
7464
  // src/components/RowProductCard/RowProductCard.tsx
7454
- import { Box as Box34, Divider as Divider6, Paper as Paper6, Typography as Typography26 } from "@mui/material";
7465
+ import { Box as Box35, Divider as Divider6, Paper as Paper6, Typography as Typography26 } from "@mui/material";
7455
7466
  import { makeStyles as makeStyles36 } from "tss-react/mui";
7456
7467
  import { Fragment as Fragment11, jsx as jsx112, jsxs as jsxs75 } from "react/jsx-runtime";
7457
7468
  var useStyles36 = makeStyles36()((theme) => ({
@@ -7509,7 +7520,7 @@ var RowProductCard = ({
7509
7520
  }),
7510
7521
  children: [
7511
7522
  /* @__PURE__ */ jsxs75(
7512
- Box34,
7523
+ Box35,
7513
7524
  {
7514
7525
  className: classes.upperRow,
7515
7526
  sx: {
@@ -7529,7 +7540,7 @@ var RowProductCard = ({
7529
7540
  hasColumns ? /* @__PURE__ */ jsxs75(Fragment11, { children: [
7530
7541
  /* @__PURE__ */ jsx112(Divider6, { className: classes.divider }),
7531
7542
  /* @__PURE__ */ jsx112(
7532
- Box34,
7543
+ Box35,
7533
7544
  {
7534
7545
  sx: {
7535
7546
  display: "flex",
@@ -7551,7 +7562,7 @@ var RowProductCard_default = RowProductCard;
7551
7562
 
7552
7563
  // src/components/ScrollableDialog/ScrollableDialog.tsx
7553
7564
  import { useEffect as useEffect10, useRef as useRef7, useState as useState13 } from "react";
7554
- import { Box as Box35, Dialog as Dialog4, Divider as Divider7, Fade, Paper as Paper7, Typography as Typography27 } from "@mui/material";
7565
+ import { Box as Box36, Dialog as Dialog4, Divider as Divider7, Fade, Paper as Paper7, Typography as Typography27 } from "@mui/material";
7555
7566
  import { makeStyles as makeStyles37 } from "tss-react/mui";
7556
7567
  import { jsx as jsx113, jsxs as jsxs76 } from "react/jsx-runtime";
7557
7568
  var useStyles37 = makeStyles37()((theme) => ({
@@ -7663,7 +7674,7 @@ var ScrollableDialog = ({
7663
7674
  ] }),
7664
7675
  /* @__PURE__ */ jsx113(Divider7, {}),
7665
7676
  footer ? /* @__PURE__ */ jsx113(
7666
- Box35,
7677
+ Box36,
7667
7678
  {
7668
7679
  className: classes.footer,
7669
7680
  id: "dialog-footer",
@@ -7681,7 +7692,7 @@ var ScrollableDialog = ({
7681
7692
  var ScrollableDialog_default = ScrollableDialog;
7682
7693
 
7683
7694
  // src/components/SearchAndFilterHeader/SearchAndFilterHeader.tsx
7684
- import { Box as Box36, Paper as Paper9 } from "@mui/material";
7695
+ import { Box as Box37, Paper as Paper9 } from "@mui/material";
7685
7696
  import { makeStyles as makeStyles39 } from "tss-react/mui";
7686
7697
 
7687
7698
  // src/components/SearchWithFilters/SearchWithFilters.tsx
@@ -7822,9 +7833,9 @@ var SearchAndFilterHeader = ({
7822
7833
  searchValue
7823
7834
  }) => {
7824
7835
  const { classes } = useStyles39();
7825
- return /* @__PURE__ */ jsx115(Paper9, { children: /* @__PURE__ */ jsxs78(Box36, { className: classes.wrapper, children: [
7826
- /* @__PURE__ */ jsxs78(Box36, { className: classes.container, children: [
7827
- /* @__PURE__ */ jsxs78(Box36, { className: classes.leftSection, children: [
7836
+ return /* @__PURE__ */ jsx115(Paper9, { children: /* @__PURE__ */ jsxs78(Box37, { className: classes.wrapper, children: [
7837
+ /* @__PURE__ */ jsxs78(Box37, { className: classes.container, children: [
7838
+ /* @__PURE__ */ jsxs78(Box37, { className: classes.leftSection, children: [
7828
7839
  /* @__PURE__ */ jsx115(AppLabel_default, { appName }),
7829
7840
  /* @__PURE__ */ jsx115(
7830
7841
  SearchWithFilters_default,
@@ -7837,9 +7848,9 @@ var SearchAndFilterHeader = ({
7837
7848
  }
7838
7849
  )
7839
7850
  ] }),
7840
- /* @__PURE__ */ jsx115(Box36, { children: extraButton })
7851
+ /* @__PURE__ */ jsx115(Box37, { children: extraButton })
7841
7852
  ] }),
7842
- showFilters ? /* @__PURE__ */ jsx115(Box36, { children: filtersComponent }) : null,
7853
+ showFilters ? /* @__PURE__ */ jsx115(Box37, { children: filtersComponent }) : null,
7843
7854
  appliedFiltersComponent
7844
7855
  ] }) });
7845
7856
  };
@@ -7847,7 +7858,7 @@ var SearchAndFilterHeader_default = SearchAndFilterHeader;
7847
7858
 
7848
7859
  // src/components/SearchAndFilterHeader/SearchAndFilterHeaderForTable.tsx
7849
7860
  import * as React7 from "react";
7850
- import { Box as Box38 } from "@mui/material";
7861
+ import { Box as Box39 } from "@mui/material";
7851
7862
  import { makeStyles as makeStyles41 } from "tss-react/mui";
7852
7863
 
7853
7864
  // src/components/SearchWithFilters/SearchWithFiltersForTable.tsx
@@ -7857,7 +7868,7 @@ import {
7857
7868
  ArrowDropUp as ArrowDropUpIcon2,
7858
7869
  Search as SearchIcon2
7859
7870
  } from "@mui/icons-material";
7860
- import { Box as Box37, Button as Button15, Divider as Divider9, InputBase as InputBase3, Paper as Paper10 } from "@mui/material";
7871
+ import { Box as Box38, Button as Button15, Divider as Divider9, InputBase as InputBase3, Paper as Paper10 } from "@mui/material";
7861
7872
  import { makeStyles as makeStyles40 } from "tss-react/mui";
7862
7873
  import { Fragment as Fragment12, jsx as jsx116, jsxs as jsxs79 } from "react/jsx-runtime";
7863
7874
  var useStyles40 = makeStyles40()((theme) => ({
@@ -7935,7 +7946,7 @@ var SearchWithFiltersForTable = (props) => {
7935
7946
  };
7936
7947
  const ArrowIcon = isOpen ? ArrowDropUpIcon2 : ArrowDropDownIcon2;
7937
7948
  return /* @__PURE__ */ jsxs79(Paper10, { className: classes.c_search, children: [
7938
- /* @__PURE__ */ jsx116(Box37, { className: classes.c_search__icon, children: /* @__PURE__ */ jsx116(SearchIcon2, { className: classes.icon, fontSize: "small" }) }),
7949
+ /* @__PURE__ */ jsx116(Box38, { className: classes.c_search__icon, children: /* @__PURE__ */ jsx116(SearchIcon2, { className: classes.icon, fontSize: "small" }) }),
7939
7950
  /* @__PURE__ */ jsx116(
7940
7951
  InputBase3,
7941
7952
  {
@@ -8003,8 +8014,8 @@ var SearchAndFilterHeaderForTable = (props) => {
8003
8014
  searchedValue
8004
8015
  } = props;
8005
8016
  const { classes } = useStyles41();
8006
- return /* @__PURE__ */ jsxs80(Box38, { className: classes.container, children: [
8007
- /* @__PURE__ */ jsxs80(Box38, { className: classes.leftSection, children: [
8017
+ return /* @__PURE__ */ jsxs80(Box39, { className: classes.container, children: [
8018
+ /* @__PURE__ */ jsxs80(Box39, { className: classes.leftSection, children: [
8008
8019
  /* @__PURE__ */ jsx117(AppLabel_default, { appName }),
8009
8020
  /* @__PURE__ */ jsx117(
8010
8021
  SearchWithFiltersForTable_default,
@@ -8018,7 +8029,7 @@ var SearchAndFilterHeaderForTable = (props) => {
8018
8029
  }
8019
8030
  ),
8020
8031
  copy && /* @__PURE__ */ jsx117(
8021
- Box38,
8032
+ Box39,
8022
8033
  {
8023
8034
  sx: {
8024
8035
  margin: 0.5
@@ -8027,13 +8038,13 @@ var SearchAndFilterHeaderForTable = (props) => {
8027
8038
  }
8028
8039
  )
8029
8040
  ] }),
8030
- /* @__PURE__ */ jsx117(Box38, { children: button })
8041
+ /* @__PURE__ */ jsx117(Box39, { children: button })
8031
8042
  ] });
8032
8043
  };
8033
8044
  var SearchAndFilterHeaderForTable_default = React7.memo(SearchAndFilterHeaderForTable);
8034
8045
 
8035
8046
  // src/components/SearchHeader/SearchHeader.tsx
8036
- import { Box as Box39, Paper as Paper11 } from "@mui/material";
8047
+ import { Box as Box40, Paper as Paper11 } from "@mui/material";
8037
8048
  import { jsx as jsx118, jsxs as jsxs81 } from "react/jsx-runtime";
8038
8049
  var SearchHeader = ({
8039
8050
  renderButton,
@@ -8055,7 +8066,7 @@ var SearchHeader = ({
8055
8066
  },
8056
8067
  children: [
8057
8068
  /* @__PURE__ */ jsxs81(
8058
- Box39,
8069
+ Box40,
8059
8070
  {
8060
8071
  sx: {
8061
8072
  display: "flex",
@@ -8063,7 +8074,7 @@ var SearchHeader = ({
8063
8074
  alignItems: "center"
8064
8075
  },
8065
8076
  children: [
8066
- /* @__PURE__ */ jsxs81(Box39, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
8077
+ /* @__PURE__ */ jsxs81(Box40, { sx: { display: "flex", gap: 1, alignItems: "center" }, children: [
8067
8078
  /* @__PURE__ */ jsx118(
8068
8079
  SearchFieldDebounced,
8069
8080
  {
@@ -8089,7 +8100,7 @@ var SearchHeader = ({
8089
8100
  // src/components/SectionName/SectionName.tsx
8090
8101
  import HistoryIcon from "@mui/icons-material/History";
8091
8102
  import InfoIcon from "@mui/icons-material/Info";
8092
- import { Box as Box40, Divider as Divider10, IconButton as IconButton6, Tooltip as Tooltip10, Typography as Typography28 } from "@mui/material";
8103
+ import { Box as Box41, Divider as Divider10, IconButton as IconButton6, Tooltip as Tooltip10, Typography as Typography28 } from "@mui/material";
8093
8104
  import { makeStyles as makeStyles42 } from "tss-react/mui";
8094
8105
  import { jsx as jsx119, jsxs as jsxs82 } from "react/jsx-runtime";
8095
8106
  var useStyles42 = makeStyles42()((theme) => ({
@@ -8147,8 +8158,8 @@ var SectionName = ({
8147
8158
  }
8148
8159
  }
8149
8160
  };
8150
- return /* @__PURE__ */ jsxs82(Box40, { className: classes.container, children: [
8151
- /* @__PURE__ */ jsxs82(Box40, { className: classes.titleContainer, children: [
8161
+ return /* @__PURE__ */ jsxs82(Box41, { className: classes.container, children: [
8162
+ /* @__PURE__ */ jsxs82(Box41, { className: classes.titleContainer, children: [
8152
8163
  /* @__PURE__ */ jsx119(
8153
8164
  Typography28,
8154
8165
  {
@@ -8167,7 +8178,7 @@ var SectionName = ({
8167
8178
  }
8168
8179
  ) }) : null
8169
8180
  ] }),
8170
- /* @__PURE__ */ jsxs82(Box40, { className: classes.actionButtons, children: [
8181
+ /* @__PURE__ */ jsxs82(Box41, { className: classes.actionButtons, children: [
8171
8182
  buttonText ? /* @__PURE__ */ jsx119(
8172
8183
  ExtendedButton_default,
8173
8184
  {
@@ -8191,7 +8202,7 @@ var SectionName_default = SectionName;
8191
8202
  // src/components/SmartMultipleSelect/SmartMultipleSelect.tsx
8192
8203
  import { useState as useState16 } from "react";
8193
8204
  import {
8194
- Box as Box41,
8205
+ Box as Box42,
8195
8206
  Checkbox as Checkbox7,
8196
8207
  CircularProgress as CircularProgress5,
8197
8208
  FormControl as FormControl5,
@@ -8234,18 +8245,18 @@ var SmartMultipleSelect = ({
8234
8245
  onChange?.(newValues);
8235
8246
  };
8236
8247
  const renderMenuContent = () => !menuOptions?.length ? /* @__PURE__ */ jsx120(
8237
- Box41,
8248
+ Box42,
8238
8249
  {
8239
8250
  sx: { display: "flex", justifyContent: "center", alignItems: "center" },
8240
8251
  children: /* @__PURE__ */ jsx120(Typography29, { children: emptyMessage })
8241
8252
  }
8242
- ) : /* @__PURE__ */ jsx120(Box41, { sx: { display: "flex", flexDirection: "column" }, children: menuOptions?.map((option, index) => {
8253
+ ) : /* @__PURE__ */ jsx120(Box42, { sx: { display: "flex", flexDirection: "column" }, children: menuOptions?.map((option, index) => {
8243
8254
  const selectedValues = values ?? localValues ?? [];
8244
8255
  const isSelected = selectedValues.some(
8245
8256
  (selected) => selected.value === option.value
8246
8257
  );
8247
8258
  return /* @__PURE__ */ jsxs83(
8248
- Box41,
8259
+ Box42,
8249
8260
  {
8250
8261
  onClick: () => handleChangeOption(option),
8251
8262
  sx: {
@@ -8288,7 +8299,7 @@ var SmartMultipleSelect = ({
8288
8299
  return /* @__PURE__ */ jsx120(DynamicOverflowTooltip, { tooltipDescription: valuesString, children: valuesString });
8289
8300
  },
8290
8301
  children: isLoading ? /* @__PURE__ */ jsx120(
8291
- Box41,
8302
+ Box42,
8292
8303
  {
8293
8304
  sx: {
8294
8305
  display: "flex",
@@ -8531,7 +8542,7 @@ var SmartTableHeaderFilterMenu = ({
8531
8542
  // src/components/SmartTableHeader/SmartTableHeader.tsx
8532
8543
  import { memo as memo22 } from "react";
8533
8544
  import {
8534
- Box as Box42,
8545
+ Box as Box43,
8535
8546
  Checkbox as Checkbox8,
8536
8547
  TableCell,
8537
8548
  TableHead,
@@ -8602,7 +8613,7 @@ var SmartTableHeader = memo22(
8602
8613
  }
8603
8614
  },
8604
8615
  children: /* @__PURE__ */ jsxs86(
8605
- Box42,
8616
+ Box43,
8606
8617
  {
8607
8618
  display: "flex",
8608
8619
  flexDirection: "row",
@@ -8661,7 +8672,7 @@ var SmartTableHeader = memo22(
8661
8672
  var import_debounce = __toESM(require_debounce(), 1);
8662
8673
  import { useLayoutEffect, useState as useState18 } from "react";
8663
8674
  import {
8664
- Box as Box44,
8675
+ Box as Box45,
8665
8676
  Paper as Paper12,
8666
8677
  Table as MUITable,
8667
8678
  TableBody,
@@ -8675,12 +8686,12 @@ import { makeStyles as makeStyles44 } from "tss-react/mui";
8675
8686
  import { v4 as uuidv4 } from "uuid";
8676
8687
 
8677
8688
  // src/components/TableLoading/TableLoading.tsx
8678
- import { Box as Box43, Skeleton as Skeleton4 } from "@mui/material";
8689
+ import { Box as Box44, Skeleton as Skeleton4 } from "@mui/material";
8679
8690
  import { jsx as jsx125 } from "react/jsx-runtime";
8680
8691
  var TableLoading = ({
8681
8692
  rowsPerPage,
8682
8693
  rowHeight
8683
- }) => /* @__PURE__ */ jsx125(Box43, { children: Array.from({ length: rowsPerPage ?? 0 }).map((_, index) => /* @__PURE__ */ jsx125(
8694
+ }) => /* @__PURE__ */ jsx125(Box44, { children: Array.from({ length: rowsPerPage ?? 0 }).map((_, index) => /* @__PURE__ */ jsx125(
8684
8695
  Skeleton4,
8685
8696
  {
8686
8697
  animation: "pulse",
@@ -8818,7 +8829,7 @@ var Table = ({
8818
8829
  }
8819
8830
  return rowsComponents;
8820
8831
  };
8821
- return /* @__PURE__ */ jsx126(Paper12, { className: classes.root, children: /* @__PURE__ */ jsx126(Box44, { className: classes.paper, children: isLoading ? /* @__PURE__ */ jsx126(TableLoading_default, { rowHeight, rowsPerPage }) : /* @__PURE__ */ jsx126(TableContainer, { className: classes.container, children: /* @__PURE__ */ jsxs87(MUITable, { size: "medium", stickyHeader: true, children: [
8832
+ return /* @__PURE__ */ jsx126(Paper12, { className: classes.root, children: /* @__PURE__ */ jsx126(Box45, { className: classes.paper, children: isLoading ? /* @__PURE__ */ jsx126(TableLoading_default, { rowHeight, rowsPerPage }) : /* @__PURE__ */ jsx126(TableContainer, { className: classes.container, children: /* @__PURE__ */ jsxs87(MUITable, { size: "medium", stickyHeader: true, children: [
8822
8833
  /* @__PURE__ */ jsx126(TableHead2, { className: classes.header, children: /* @__PURE__ */ jsx126(TableRow2, { children: headCells?.map((headCell) => /* @__PURE__ */ jsx126(
8823
8834
  TableCell2,
8824
8835
  {
@@ -8851,7 +8862,7 @@ import {
8851
8862
  useEffect as useEffect13,
8852
8863
  useRef as useRef8
8853
8864
  } from "react";
8854
- import { Paper as Paper13, Table as Table2, TableBody as TableBody3, TableContainer as TableContainer2, Box as Box46 } from "@mui/material";
8865
+ import { Paper as Paper13, Table as Table2, TableBody as TableBody3, TableContainer as TableContainer2, Box as Box47 } from "@mui/material";
8855
8866
 
8856
8867
  // src/components/TableDesktopLoadingState/TableDesktopLoadingState.tsx
8857
8868
  import { Skeleton as Skeleton5, TableCell as TableCell3, TableRow as TableRow3 } from "@mui/material";
@@ -9025,7 +9036,7 @@ var TableDesktopRows = ({
9025
9036
  };
9026
9037
 
9027
9038
  // src/components/TableDesktopRowSelectionBar/TableDesktopRowSelectionBar.tsx
9028
- import { Box as Box45, Button as Button17, Typography as Typography33 } from "@mui/material";
9039
+ import { Box as Box46, Button as Button17, Typography as Typography33 } from "@mui/material";
9029
9040
  import { jsx as jsx130, jsxs as jsxs90 } from "react/jsx-runtime";
9030
9041
  var TableDesktopRowSelectionBar = ({
9031
9042
  isEveryRowInPageSelected,
@@ -9046,7 +9057,7 @@ var TableDesktopRowSelectionBar = ({
9046
9057
  return `${numSelectedRows} row${numSelectedRows > 1 ? "s" : ""} selected.`;
9047
9058
  };
9048
9059
  return isAnyRowSelected ? /* @__PURE__ */ jsxs90(
9049
- Box45,
9060
+ Box46,
9050
9061
  {
9051
9062
  sx: {
9052
9063
  p: 1,
@@ -9281,7 +9292,7 @@ var TableDesktop = ({
9281
9292
  );
9282
9293
  };
9283
9294
  return /* @__PURE__ */ jsx132(
9284
- Box46,
9295
+ Box47,
9285
9296
  {
9286
9297
  sx: {
9287
9298
  height,
@@ -9877,9 +9888,10 @@ var TableDesktopEditableField = ({
9877
9888
  {
9878
9889
  defaultValue: editInitialValue ? moment2(editInitialValue, "HH:mm:ss") : void 0,
9879
9890
  label: inputLabel,
9891
+ format: "DD/MM/YYYY",
9880
9892
  onAccept: (value) => {
9881
9893
  const formattedValue = value?.format("YYYY-MM-DD") ?? null;
9882
- const formattedLabel = value?.format("L") ?? null;
9894
+ const formattedLabel = value?.format("DD/MM/YYYY") ?? null;
9883
9895
  onUpdateEditableCell?.({
9884
9896
  rowId,
9885
9897
  columnId,
@@ -9949,7 +9961,7 @@ var TableDesktopEditableField = ({
9949
9961
  // src/components/TableDesktopFooter/TableDesktopFooter.tsx
9950
9962
  import Refresh3 from "@mui/icons-material/Refresh";
9951
9963
  import {
9952
- Box as Box47,
9964
+ Box as Box48,
9953
9965
  Button as Button18,
9954
9966
  MenuItem as MenuItem4,
9955
9967
  Pagination as Pagination2,
@@ -9969,7 +9981,7 @@ var TableDesktopFooter = ({
9969
9981
  isFetching
9970
9982
  }) => {
9971
9983
  return /* @__PURE__ */ jsxs93(
9972
- Box47,
9984
+ Box48,
9973
9985
  {
9974
9986
  sx: {
9975
9987
  py: 1,
@@ -10001,7 +10013,7 @@ var TableDesktopFooter = ({
10001
10013
  )
10002
10014
  }
10003
10015
  ) : null,
10004
- /* @__PURE__ */ jsxs93(Box47, { sx: { display: "flex", ml: "auto", py: 1 }, children: [
10016
+ /* @__PURE__ */ jsxs93(Box48, { sx: { display: "flex", ml: "auto", py: 1 }, children: [
10005
10017
  pageSize && pageSizeOptions && onPageSizeChange ? /* @__PURE__ */ jsxs93(Stack, { direction: "row", spacing: 2, alignItems: "center", children: [
10006
10018
  /* @__PURE__ */ jsx139(Typography35, { fontSize: 12, children: "Rows per page:" }),
10007
10019
  /* @__PURE__ */ jsx139(
@@ -10141,7 +10153,7 @@ import Download from "@mui/icons-material/Download";
10141
10153
  import KeyboardArrowLeft2 from "@mui/icons-material/KeyboardArrowLeft";
10142
10154
  import KeyboardArrowRight2 from "@mui/icons-material/KeyboardArrowRight";
10143
10155
  import {
10144
- Box as Box48,
10156
+ Box as Box49,
10145
10157
  Button as Button19,
10146
10158
  Divider as Divider11,
10147
10159
  FormControlLabel as FormControlLabel7,
@@ -10205,7 +10217,7 @@ var TableDesktopToolbar = ({
10205
10217
  });
10206
10218
  };
10207
10219
  return /* @__PURE__ */ jsxs95(
10208
- Box48,
10220
+ Box49,
10209
10221
  {
10210
10222
  sx: {
10211
10223
  borderBottom: "1px solid",
@@ -10214,7 +10226,7 @@ var TableDesktopToolbar = ({
10214
10226
  },
10215
10227
  children: [
10216
10228
  /* @__PURE__ */ jsxs95(
10217
- Box48,
10229
+ Box49,
10218
10230
  {
10219
10231
  sx: {
10220
10232
  py: 1,
@@ -10226,7 +10238,7 @@ var TableDesktopToolbar = ({
10226
10238
  },
10227
10239
  children: [
10228
10240
  /* @__PURE__ */ jsxs95(
10229
- Box48,
10241
+ Box49,
10230
10242
  {
10231
10243
  sx: {
10232
10244
  py: 1,
@@ -10274,7 +10286,7 @@ var TableDesktopToolbar = ({
10274
10286
  }
10275
10287
  ),
10276
10288
  /* @__PURE__ */ jsx141(
10277
- Box48,
10289
+ Box49,
10278
10290
  {
10279
10291
  ref: scrollRef,
10280
10292
  sx: {
@@ -10296,7 +10308,7 @@ var TableDesktopToolbar = ({
10296
10308
  return null;
10297
10309
  }
10298
10310
  return editableCellType && /* @__PURE__ */ jsx141(
10299
- Box48,
10311
+ Box49,
10300
10312
  {
10301
10313
  sx: { width, flex: "0 0 auto" },
10302
10314
  children: /* @__PURE__ */ jsx141(
@@ -10349,7 +10361,7 @@ var TableDesktopToolbar = ({
10349
10361
  children: "APPLY"
10350
10362
  }
10351
10363
  )
10352
- ] }) : /* @__PURE__ */ jsxs95(Box48, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
10364
+ ] }) : /* @__PURE__ */ jsxs95(Box49, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
10353
10365
  renderInfoIcons,
10354
10366
  renderExportCsvDialog ? /* @__PURE__ */ jsx141(Tooltip13, { title: "Download List", children: /* @__PURE__ */ jsx141("span", { style: { display: "flex", alignItems: "center" }, children: /* @__PURE__ */ jsx141(
10355
10367
  IconButton8,
@@ -10464,7 +10476,7 @@ var TableHeader = ({ cells, onSort = null }) => {
10464
10476
  var TableHeader_default = memo23(TableHeader);
10465
10477
 
10466
10478
  // src/components/TextDivider/TextDivider.tsx
10467
- import { Box as Box49, Typography as Typography37, Divider as Divider12, Button as Button20 } from "@mui/material";
10479
+ import { Box as Box50, Typography as Typography37, Divider as Divider12, Button as Button20 } from "@mui/material";
10468
10480
  import { makeStyles as makeStyles47 } from "tss-react/mui";
10469
10481
  import { jsx as jsx143, jsxs as jsxs96 } from "react/jsx-runtime";
10470
10482
  var useStyles47 = makeStyles47()(() => ({
@@ -10504,7 +10516,7 @@ var TextDivider = ({
10504
10516
  const { classes } = useStyles47();
10505
10517
  const iconColor = color ?? colors.neutral900;
10506
10518
  return /* @__PURE__ */ jsxs96(
10507
- Box49,
10519
+ Box50,
10508
10520
  {
10509
10521
  display: "flex",
10510
10522
  alignItems: "center",
@@ -10512,7 +10524,7 @@ var TextDivider = ({
10512
10524
  className: classes.container,
10513
10525
  children: [
10514
10526
  /* @__PURE__ */ jsx143(Divider12, { className: classes.leftDivider }),
10515
- /* @__PURE__ */ jsx143(Button20, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ jsxs96(Box49, { className: classes.center, children: [
10527
+ /* @__PURE__ */ jsx143(Button20, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ jsxs96(Box50, { className: classes.center, children: [
10516
10528
  Icon2 && iconPosition === "left" && /* @__PURE__ */ jsx143(Icon2, { className: classes.icon, style: { color: iconColor } }),
10517
10529
  /* @__PURE__ */ jsx143(
10518
10530
  Typography37,
@@ -10639,7 +10651,7 @@ var ThemedDateRangePicker_default = ThemedDateRangePicker;
10639
10651
 
10640
10652
  // src/components/TheToolbar/TheToolbar.tsx
10641
10653
  import { memo as memo24 } from "react";
10642
- import { AppBar, Box as Box50, Toolbar } from "@mui/material";
10654
+ import { AppBar, Box as Box51, Toolbar } from "@mui/material";
10643
10655
  import { makeStyles as makeStyles49 } from "tss-react/mui";
10644
10656
  import { jsx as jsx145, jsxs as jsxs97 } from "react/jsx-runtime";
10645
10657
  var useStyles49 = makeStyles49()((theme) => ({
@@ -10666,9 +10678,9 @@ var TheToolbar = ({
10666
10678
  isAuthenticated = true
10667
10679
  }) => {
10668
10680
  const { classes } = useStyles49();
10669
- return /* @__PURE__ */ jsxs97(Box50, { children: [
10681
+ return /* @__PURE__ */ jsxs97(Box51, { children: [
10670
10682
  /* @__PURE__ */ jsx145(AppBar, { children: /* @__PURE__ */ jsxs97(Toolbar, { className: classes.topBar, children: [
10671
- isAuthenticated ? /* @__PURE__ */ jsx145(Box50, { sx: { flexShrink: 0, display: "flex" }, children: /* @__PURE__ */ jsx145(
10683
+ isAuthenticated ? /* @__PURE__ */ jsx145(Box51, { sx: { flexShrink: 0, display: "flex" }, children: /* @__PURE__ */ jsx145(
10672
10684
  RoundButton_default,
10673
10685
  {
10674
10686
  className: classes.menuButton,
@@ -10677,7 +10689,7 @@ var TheToolbar = ({
10677
10689
  onClick: handleOpen
10678
10690
  }
10679
10691
  ) }) : null,
10680
- /* @__PURE__ */ jsx145(Box50, { sx: { display: { xs: "none", lg: "block" }, flexShrink: 0 }, children: /* @__PURE__ */ jsx145(
10692
+ /* @__PURE__ */ jsx145(Box51, { sx: { display: { xs: "none", lg: "block" }, flexShrink: 0 }, children: /* @__PURE__ */ jsx145(
10681
10693
  CompanyLogo_default,
10682
10694
  {
10683
10695
  size: "small",
@@ -10687,7 +10699,7 @@ var TheToolbar = ({
10687
10699
  }
10688
10700
  ) }),
10689
10701
  /* @__PURE__ */ jsx145(
10690
- Box50,
10702
+ Box51,
10691
10703
  {
10692
10704
  ml: { xs: 0, lg: 2 },
10693
10705
  sx: { flexShrink: 0, display: { xs: "none", xl: "block" } },
@@ -10695,7 +10707,7 @@ var TheToolbar = ({
10695
10707
  }
10696
10708
  ),
10697
10709
  centerSection ? /* @__PURE__ */ jsx145(
10698
- Box50,
10710
+ Box51,
10699
10711
  {
10700
10712
  sx: {
10701
10713
  flexGrow: 1,
@@ -10705,8 +10717,8 @@ var TheToolbar = ({
10705
10717
  },
10706
10718
  children: centerSection
10707
10719
  }
10708
- ) : /* @__PURE__ */ jsx145(Box50, { sx: { flexGrow: 1 } }),
10709
- /* @__PURE__ */ jsx145(Box50, { sx: { flexShrink: 0, display: { xs: "none", xl: "block" } }, children: rightSection })
10720
+ ) : /* @__PURE__ */ jsx145(Box51, { sx: { flexGrow: 1 } }),
10721
+ /* @__PURE__ */ jsx145(Box51, { sx: { flexShrink: 0, display: { xs: "none", xl: "block" } }, children: rightSection })
10710
10722
  ] }) }),
10711
10723
  LeftDrawer
10712
10724
  ] });
@@ -10759,7 +10771,7 @@ import {
10759
10771
  Typography as Typography38,
10760
10772
  Dialog as Dialog5,
10761
10773
  Backdrop,
10762
- Box as Box51,
10774
+ Box as Box52,
10763
10775
  Divider as Divider13,
10764
10776
  Paper as Paper14,
10765
10777
  Fade as Fade2
@@ -10806,9 +10818,9 @@ var TwoButtonDialog = ({
10806
10818
  BackdropComponent: Backdrop,
10807
10819
  BackdropProps: { timeout: 500 },
10808
10820
  children: /* @__PURE__ */ jsx147(Fade2, { in: open, children: /* @__PURE__ */ jsxs98(Paper14, { className: classes.paper, children: [
10809
- /* @__PURE__ */ jsxs98(Box51, { className: classes.mb, children: [
10821
+ /* @__PURE__ */ jsxs98(Box52, { className: classes.mb, children: [
10810
10822
  /* @__PURE__ */ jsx147(Typography38, { variant: "h5", component: "div", children: /* @__PURE__ */ jsx147(
10811
- Box51,
10823
+ Box52,
10812
10824
  {
10813
10825
  sx: {
10814
10826
  fontWeight: 600
@@ -10817,7 +10829,7 @@ var TwoButtonDialog = ({
10817
10829
  }
10818
10830
  ) }),
10819
10831
  /* @__PURE__ */ jsxs98(
10820
- Box51,
10832
+ Box52,
10821
10833
  {
10822
10834
  className: classes.mt,
10823
10835
  sx: {
@@ -10831,7 +10843,7 @@ var TwoButtonDialog = ({
10831
10843
  )
10832
10844
  ] }),
10833
10845
  /* @__PURE__ */ jsx147(Divider13, {}),
10834
- /* @__PURE__ */ jsxs98(Box51, { className: classes.buttonContainer, children: [
10846
+ /* @__PURE__ */ jsxs98(Box52, { className: classes.buttonContainer, children: [
10835
10847
  /* @__PURE__ */ jsx147(
10836
10848
  FilledButton_default,
10837
10849
  {