techsbcn-storybook 2.2.0 → 2.4.0

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/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import React8, { useMemo, useState, useEffect, useRef } from 'react';
1
+ import React9, { useMemo, useState, useEffect, useRef } from 'react';
2
2
  import { Box, Collapse, Grid, Container, IconButton, Menu, MenuItem, Divider, LinearProgress, CircularProgress, TextField, Paper, Checkbox, TableContainer, Table, TableHead, TableRow, TableCell, TableSortLabel, TableBody, TablePagination, Pagination, PaginationItem, Avatar, Breadcrumbs, Typography, Link, Drawer, AppBar, Toolbar, Button, Skeleton, FormLabel, FormHelperText, Stack, Dialog, DialogTitle, DialogContent, DialogActions, Tab, Snackbar, Alert } from '@mui/material';
3
3
  import { ExpandMore, ChevronRight, MoreVert, Tune, Visibility, VisibilityOff, Close } from '@mui/icons-material';
4
4
  import { debounce } from 'lodash';
@@ -33,13 +33,13 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
33
33
 
34
34
  // src/components/wrappers/PublicFormWrapper/PublicFormWrapper.tsx
35
35
  var PublicFormWrapper = (props) => {
36
- return /* @__PURE__ */ React8.createElement(
36
+ return /* @__PURE__ */ React9.createElement(
37
37
  Box,
38
38
  {
39
39
  className: `public-form-wrapper ${props.className ? props.className : ""}`,
40
40
  sx: { height: "100%", display: "flex", justifyContent: "center", alignItems: "center" }
41
41
  },
42
- /* @__PURE__ */ React8.createElement(Container, { maxWidth: "xs" }, /* @__PURE__ */ React8.createElement(Box, { className: "wrapper-box", sx: { p: 1 } }, props.children))
42
+ /* @__PURE__ */ React9.createElement(Container, { maxWidth: "xs" }, /* @__PURE__ */ React9.createElement(Box, { className: "wrapper-box", sx: { p: 1 } }, props.children))
43
43
  );
44
44
  };
45
45
 
@@ -95,10 +95,10 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
95
95
 
96
96
  // src/components/tables/SearchComponent/SearchComponent.tsx
97
97
  var ActionsList = (actions) => {
98
- return /* @__PURE__ */ React8.createElement(Box, { sx: { ml: "auto", justifyContent: "start", display: "flex", alignItems: "center", flexDirection: "row" } }, actions && actions.map((action, i) => /* @__PURE__ */ React8.createElement(Box, { sx: { ml: 2, color: "primary.main" }, key: i, className: "btn-action main-color" }, action.action)));
98
+ return /* @__PURE__ */ React9.createElement(Box, { sx: { ml: "auto", justifyContent: "start", display: "flex", alignItems: "center", flexDirection: "row" } }, actions && actions.map((action, i) => /* @__PURE__ */ React9.createElement(Box, { sx: { ml: 2, color: "primary.main" }, key: i, className: "btn-action main-color" }, action.action)));
99
99
  };
100
100
  var DoubleFilter = (filters) => {
101
- return /* @__PURE__ */ React8.createElement(Grid, { container: true, spacing: 1, sx: { alignItems: "center" } }, filters.label && /* @__PURE__ */ React8.createElement(Grid, { size: { xs: 12, md: 3 } }, /* @__PURE__ */ React8.createElement(Box, null, filters.label)), /* @__PURE__ */ React8.createElement(Grid, { size: { xs: 12, md: filters.label ? 9 : 12 } }, /* @__PURE__ */ React8.createElement(Grid, { container: true, spacing: 1 }, /* @__PURE__ */ React8.createElement(Grid, { size: 6 }, filters.firstFilter), /* @__PURE__ */ React8.createElement(Grid, { size: 6 }, filters.secondFilter))));
101
+ return /* @__PURE__ */ React9.createElement(Grid, { container: true, spacing: 1, sx: { alignItems: "center" } }, filters.label && /* @__PURE__ */ React9.createElement(Grid, { size: { xs: 12, md: 3 } }, /* @__PURE__ */ React9.createElement(Box, null, filters.label)), /* @__PURE__ */ React9.createElement(Grid, { size: { xs: 12, md: filters.label ? 9 : 12 } }, /* @__PURE__ */ React9.createElement(Grid, { container: true, spacing: 1 }, /* @__PURE__ */ React9.createElement(Grid, { size: 6 }, filters.firstFilter), /* @__PURE__ */ React9.createElement(Grid, { size: 6 }, filters.secondFilter))));
102
102
  };
103
103
  var SearchComponent = (props) => {
104
104
  const [isOpen, setIsOpen] = useState(!props.searchBar && !!props.filters || props.fixedOpen);
@@ -111,7 +111,7 @@ var SearchComponent = (props) => {
111
111
  setAnchorEl(null);
112
112
  };
113
113
  const randId = Math.random().toString(36).substring(7);
114
- return /* @__PURE__ */ React8.createElement(Box, { className: `search-component ${props.className}` }, /* @__PURE__ */ React8.createElement(Box, { sx: { mb: props.divider ? 2 : 0, px: 2 } }, /* @__PURE__ */ React8.createElement(Grid, { container: true, sx: { alignItems: "center" } }, /* @__PURE__ */ React8.createElement(
114
+ return /* @__PURE__ */ React9.createElement(Box, { className: `search-component ${props.className}` }, /* @__PURE__ */ React9.createElement(Box, { sx: { mb: props.divider ? 2 : 0, px: 2 } }, /* @__PURE__ */ React9.createElement(Grid, { container: true, sx: { alignItems: "center" } }, /* @__PURE__ */ React9.createElement(
115
115
  Grid,
116
116
  {
117
117
  size: {
@@ -119,7 +119,7 @@ var SearchComponent = (props) => {
119
119
  md: props.actions && props.searchBar ? 4 : props.searchBar ? 7 : props.actions ? 6 : 12
120
120
  }
121
121
  },
122
- /* @__PURE__ */ React8.createElement(
122
+ /* @__PURE__ */ React9.createElement(
123
123
  Box,
124
124
  {
125
125
  sx: {
@@ -130,7 +130,7 @@ var SearchComponent = (props) => {
130
130
  },
131
131
  props.title
132
132
  )
133
- ), props.actions && /* @__PURE__ */ React8.createElement(Grid, { size: { xs: props.title ? 4 : 12 }, sx: { display: { xs: "block", md: "none" } } }, /* @__PURE__ */ React8.createElement(Box, { sx: { display: { xs: "none", md: "flex" } } }, ActionsList(props.actions)), /* @__PURE__ */ React8.createElement(Box, { sx: { display: { xs: "flex", md: "none" } } }, props.actions.length > 1 ? /* @__PURE__ */ React8.createElement(Box, { sx: { ml: "auto" } }, /* @__PURE__ */ React8.createElement(
133
+ ), props.actions && /* @__PURE__ */ React9.createElement(Grid, { size: { xs: props.title ? 4 : 12 }, sx: { display: { xs: "block", md: "none" } } }, /* @__PURE__ */ React9.createElement(Box, { sx: { display: { xs: "none", md: "flex" } } }, ActionsList(props.actions)), /* @__PURE__ */ React9.createElement(Box, { sx: { display: { xs: "flex", md: "none" } } }, props.actions.length > 1 ? /* @__PURE__ */ React9.createElement(Box, { sx: { ml: "auto" } }, /* @__PURE__ */ React9.createElement(
134
134
  IconButton,
135
135
  {
136
136
  "aria-label": "more",
@@ -140,8 +140,8 @@ var SearchComponent = (props) => {
140
140
  "aria-haspopup": "true",
141
141
  onClick: handleClick
142
142
  },
143
- /* @__PURE__ */ React8.createElement(MoreVert, null)
144
- ), /* @__PURE__ */ React8.createElement(
143
+ /* @__PURE__ */ React9.createElement(MoreVert, null)
144
+ ), /* @__PURE__ */ React9.createElement(
145
145
  Menu,
146
146
  {
147
147
  id: `long-button-${randId}`,
@@ -155,8 +155,8 @@ var SearchComponent = (props) => {
155
155
  onClose: handleClose,
156
156
  className: "search-menu-actions"
157
157
  },
158
- props.actions.map((action, i) => /* @__PURE__ */ React8.createElement(MenuItem, { key: i, className: "wrapper-actions" }, /* @__PURE__ */ React8.createElement(Box, { className: "btn-action main-color", sx: { color: "primary.main" } }, action.action)))
159
- )) : /* @__PURE__ */ React8.createElement(Box, { sx: { ml: "auto" }, className: `wrapper-actions ${props.title ? "min-action-width" : ""}` }, ActionsList(props.actions)))), (props.searchBar || props.filters || props.actions) && /* @__PURE__ */ React8.createElement(Grid, { size: { xs: 12, md: props.actions && props.searchBar ? 8 : props.actions ? 6 : 5 } }, /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React8.createElement(
158
+ props.actions.map((action, i) => /* @__PURE__ */ React9.createElement(MenuItem, { key: i, className: "wrapper-actions" }, /* @__PURE__ */ React9.createElement(Box, { className: "btn-action main-color", sx: { color: "primary.main" } }, action.action)))
159
+ )) : /* @__PURE__ */ React9.createElement(Box, { sx: { ml: "auto" }, className: `wrapper-actions ${props.title ? "min-action-width" : ""}` }, ActionsList(props.actions)))), (props.searchBar || props.filters || props.actions) && /* @__PURE__ */ React9.createElement(Grid, { size: { xs: 12, md: props.actions && props.searchBar ? 8 : props.actions ? 6 : 5 } }, /* @__PURE__ */ React9.createElement(Box, { sx: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React9.createElement(
160
160
  Box,
161
161
  {
162
162
  sx: {
@@ -167,16 +167,16 @@ var SearchComponent = (props) => {
167
167
  }
168
168
  },
169
169
  props.searchBar,
170
- !!props.fixedOpen || props.filters && props.searchBar && /* @__PURE__ */ React8.createElement(
170
+ !!props.fixedOpen || props.filters && props.searchBar && /* @__PURE__ */ React9.createElement(
171
171
  Box,
172
172
  {
173
173
  onClick: () => setIsOpen(!isOpen),
174
174
  className: "tune-btn main-background-color",
175
175
  sx: { bgcolor: "primary.main", color: "primary.contrastText" }
176
176
  },
177
- /* @__PURE__ */ React8.createElement(Tune, null)
177
+ /* @__PURE__ */ React9.createElement(Tune, null)
178
178
  )
179
- ), props.actions && /* @__PURE__ */ React8.createElement(Box, { sx: { display: { xs: "none", md: "block" } }, className: "wrapper-actions" }, ActionsList(props.actions)))))), props.divider && /* @__PURE__ */ React8.createElement(Divider, null), /* @__PURE__ */ React8.createElement(Collapse, { in: isOpen }, /* @__PURE__ */ React8.createElement(Box, { className: "filters", sx: { px: 2, mt: 2, mb: props.divider ? 0 : 1 } }, /* @__PURE__ */ React8.createElement(Grid, { container: true, spacing: 3, sx: { justifyContent: "end" } }, props.filters && props.filters.length > 0 && props.filters.map((filter, i) => /* @__PURE__ */ React8.createElement(Grid, { key: i, size: { xs: 12, sm: props.filtersSize ?? 6, xl: props.filtersSize ?? 4 } }, filter.doubleFilter ? DoubleFilter(filter.doubleFilter) : filter.singleFilter))))));
179
+ ), props.actions && /* @__PURE__ */ React9.createElement(Box, { sx: { display: { xs: "none", md: "block" } }, className: "wrapper-actions" }, ActionsList(props.actions)))))), props.divider && /* @__PURE__ */ React9.createElement(Divider, null), /* @__PURE__ */ React9.createElement(Collapse, { in: isOpen }, /* @__PURE__ */ React9.createElement(Box, { className: "filters", sx: { px: 2, mt: 2, mb: props.divider ? 0 : 1 } }, /* @__PURE__ */ React9.createElement(Grid, { container: true, spacing: 3, sx: { justifyContent: "end" } }, props.filters && props.filters.length > 0 && props.filters.map((filter, i) => /* @__PURE__ */ React9.createElement(Grid, { key: i, size: { xs: 12, sm: props.filtersSize ?? 6, xl: props.filtersSize ?? 4 } }, filter.doubleFilter ? DoubleFilter(filter.doubleFilter) : filter.singleFilter))))));
180
180
  };
181
181
 
182
182
  // src/components/wrappers/LinearProgressComponent/LinearProgressComponent.scss
@@ -202,7 +202,7 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
202
202
 
203
203
  // src/components/wrappers/LinearProgressComponent/LinearProgressComponent.tsx
204
204
  var LinearProgressComponent = () => {
205
- return /* @__PURE__ */ React8.createElement(Box, { className: "linear-progress-component" }, /* @__PURE__ */ React8.createElement(Box, { className: "linear-progress-main-color main-background-color", sx: { bgcolor: "primary.main" } }), /* @__PURE__ */ React8.createElement(
205
+ return /* @__PURE__ */ React9.createElement(Box, { className: "linear-progress-component" }, /* @__PURE__ */ React9.createElement(Box, { className: "linear-progress-main-color main-background-color", sx: { bgcolor: "primary.main" } }), /* @__PURE__ */ React9.createElement(
206
206
  LinearProgress,
207
207
  {
208
208
  classes: { bar: "main-background-color" },
@@ -246,14 +246,14 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
246
246
  // src/components/wrappers/MainWrapperComponent/MainWrapperComponent.tsx
247
247
  var MainWrapperComponent = ({ enableTrimBar = false, ...rest }) => {
248
248
  const props = { enableTrimBar, ...rest };
249
- return /* @__PURE__ */ React8.createElement(Box, { className: "main-wrapper-component", sx: { height: props.height ?? "100%" } }, /* @__PURE__ */ React8.createElement(Box, { sx: { height: "4px" } }, props.loadingProgressBar && /* @__PURE__ */ React8.createElement(LinearProgressComponent, null)), /* @__PURE__ */ React8.createElement(Box, { sx: { py: 2 } }, props.loading ? /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex", justifyContent: "center", px: 2 } }, /* @__PURE__ */ React8.createElement(CircularProgress, { className: "circular-progress-main-color", color: "primary" })) : /* @__PURE__ */ React8.createElement(React8.Fragment, null, props.headerProps && /* @__PURE__ */ React8.createElement(Box, { sx: { mb: props.divider ? 1.5 : 0 } }, /* @__PURE__ */ React8.createElement(SearchComponent, { ...props.headerProps, enableAfter: props.headerProps.enableAfter ?? true })), props.divider && /* @__PURE__ */ React8.createElement(Divider, null), props.children && !props.loadingChildren ? /* @__PURE__ */ React8.createElement(Box, { sx: { pt: props.headerProps ? 2 : 0, px: 2 } }, /* @__PURE__ */ React8.createElement(
249
+ return /* @__PURE__ */ React9.createElement(Box, { className: "main-wrapper-component", sx: { height: props.height ?? "100%" } }, /* @__PURE__ */ React9.createElement(Box, { sx: { height: "4px" } }, props.loadingProgressBar && /* @__PURE__ */ React9.createElement(LinearProgressComponent, null)), /* @__PURE__ */ React9.createElement(Box, { sx: { py: 2 } }, props.loading ? /* @__PURE__ */ React9.createElement(Box, { sx: { display: "flex", justifyContent: "center", px: 2 } }, /* @__PURE__ */ React9.createElement(CircularProgress, { className: "circular-progress-main-color", color: "primary" })) : /* @__PURE__ */ React9.createElement(React9.Fragment, null, props.headerProps && /* @__PURE__ */ React9.createElement(Box, { sx: { mb: props.divider ? 1.5 : 0 } }, /* @__PURE__ */ React9.createElement(SearchComponent, { ...props.headerProps, enableAfter: props.headerProps.enableAfter ?? true })), props.divider && /* @__PURE__ */ React9.createElement(Divider, null), props.children && !props.loadingChildren ? /* @__PURE__ */ React9.createElement(Box, { sx: { pt: props.headerProps ? 2 : 0, px: 2 } }, /* @__PURE__ */ React9.createElement(
250
250
  Box,
251
251
  {
252
252
  className: `${props.enableTrimBar ? "main-background-color-after" : ""}`,
253
253
  sx: props.enableTrimBar ? { "&::after": { bgcolor: "primary.main" } } : void 0
254
254
  },
255
255
  props.children
256
- )) : props.loadingChildren ? /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex", justifyContent: "center", pt: props.headerProps ? 2 : 0, px: 2 } }, /* @__PURE__ */ React8.createElement(CircularProgress, { className: "circular-progress-main-color", color: "primary" })) : /* @__PURE__ */ React8.createElement(React8.Fragment, null))));
256
+ )) : props.loadingChildren ? /* @__PURE__ */ React9.createElement(Box, { sx: { display: "flex", justifyContent: "center", pt: props.headerProps ? 2 : 0, px: 2 } }, /* @__PURE__ */ React9.createElement(CircularProgress, { className: "circular-progress-main-color", color: "primary" })) : /* @__PURE__ */ React9.createElement(React9.Fragment, null))));
257
257
  };
258
258
 
259
259
  // src/components/tables/TableComponent/TableComponent.scss
@@ -400,7 +400,7 @@ var css5 = `.table-component .paper-container {
400
400
  flex: 0 !important;
401
401
  }
402
402
  .table-component .paper-container .MuiTablePagination-root.table-bordered {
403
- color: #7a7a7a !important;
403
+ color: #7a7a7a;
404
404
  }
405
405
  .table-component .paper-container .MuiTablePagination-root.table-bordered .pagination {
406
406
  margin-left: auto;
@@ -409,7 +409,7 @@ var css5 = `.table-component .paper-container {
409
409
  border-color: #dee2e6 !important;
410
410
  margin: 0px;
411
411
  border-radius: 0px !important;
412
- color: #7a7a7a !important;
412
+ color: #7a7a7a;
413
413
  border-top: 1px solid;
414
414
  border-bottom: 1px solid;
415
415
  border-left: 0px solid;
@@ -423,11 +423,11 @@ var css5 = `.table-component .paper-container {
423
423
  border-radius: 0 5px 5px 0 !important;
424
424
  }
425
425
  .table-component .paper-container .MuiTablePagination-root.table-bordered .pagination .MuiPaginationItem-icon {
426
- color: #7a7a7a !important;
426
+ color: #7a7a7a;
427
427
  }
428
428
  .table-component .paper-container .MuiTablePagination-root.table-simple .pagination .MuiPaginationItem-page {
429
- background-color: #3f4d67;
430
- color: white !important;
429
+ background-color: --mui-palette-secondary-main;
430
+ color: --mui-palette-secondary-contrastText;
431
431
  }
432
432
  .table-component .paper-container .MuiTablePagination-root.table-simple .pagination li:nth-child(2) .MuiPaginationItem-page {
433
433
  border-radius: 5px 0 0 5px !important;
@@ -440,8 +440,8 @@ var css5 = `.table-component .paper-container {
440
440
  margin: 1px;
441
441
  }
442
442
  .table-component .paper-container .MuiTablePagination-root .pagination .MuiPaginationItem-page.Mui-selected {
443
- color: white !important;
444
- background-color: #3299C7;
443
+ color: var(--mui-palette-primary-contrastText);
444
+ background-color: var(--mui-palette-primary-main);
445
445
  }
446
446
  .table-component .paper-container .MuiTablePagination-root .pagination li button {
447
447
  padding: 14px;
@@ -487,7 +487,7 @@ var css5 = `.table-component .paper-container {
487
487
  margin-left: 0;
488
488
  }
489
489
  }
490
- /*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRhYmxlQ29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUk7RUFDSTtFQUNBOztBQUVJO0VBQ0k7O0FBQ0E7RUFDSTs7QUFHUjtFQUNJOztBQUVKO0VBQ0k7O0FBSUo7RUFDSTs7QUFFSjtFQUNJO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNSOztBQUNRO0VBQ0k7RUFDQTtFQUNBOztBQUdSO0VBQ0k7O0FBQ0E7RUFDSTs7QUFFSjtFQUNJO0VBQ0E7O0FBS0o7RUFDSTtFQUNBO0VBQ0E7RUFDQTtFQUNBOztBQUNBO0VBQ0k7O0FBR1I7RUFDSTs7QUFHQTtFQUNJO0VBQ0E7O0FBRUo7RUFDSTs7QUFNSjtFQUNJOztBQUdSO0VBQ0k7O0FBQ0E7RUFDSTs7QUFDQTtFQUNJOztBQUNBO0VBQ0k7O0FBS2hCO0VBQ0k7O0FBQ0E7RUFDSTs7QUFDQTtFQUNJOztBQUlaO0VBQ0k7O0FBRUo7RUFDSTtFQUNBOztBQUVKO0VBQ0k7RUFDQTs7QUFDQTtFQUNJOztBQUdSO0VBQ0k7O0FBRUo7RUFDSTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7O0FBRUo7RUFDSTs7QUFDQTtFQUNJLFdBaElaOztBQXNJSjtFQUNJOztBQUNBO0VBQ0k7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTs7QUFHUjtFQUNJOztBQUNBO0VBQ0k7RUFDQTtFQUNBOztBQUVKO0VBQ0k7O0FBRUo7RUFDSTs7QUFDQTtFQUNJOztBQUVJO0VBQ0k7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTs7QUFJSjtFQUNJO0VBQ0E7O0FBSUo7RUFDSTs7QUFHUjtFQUNJOztBQU1KO0VBQ0k7RUFDQTs7QUFHQTtFQUNJOztBQUlKO0VBQ0k7O0FBT1o7RUFDSTtFQUNBOztBQUNBO0VBQ0k7RUFDQTs7QUFJTDtFQUNLOztBQU9wQjtFQUVRO0lBQ0k7SUFDQTs7RUFDQTtJQUNJOztFQUVKO0lBQ0k7O0VBRUo7SUFDSTs7RUFDQTtJQUNJO0lBQ0E7O0VBQ0E7SUFDSTtJQUNBO0lBQ0E7SUFDQTs7RUFFSjtJQUNJOztFQUdSO0lBQ0k7O0VBRUo7SUFDSTtJQUNBO0lBQ0E7SUFDQTtJQUNBOztFQU9SO0lBQ1EiLCJzb3VyY2VzQ29udGVudCI6WyIkc2l6ZS1mb3JtOiAoY2FsYygxMDB2dyAtIDMwMHB4KSAvICgxNjAwIC0gMzAwKSk7XHJcbiRmb250LXNpemU6IGNhbGMoOXB0ICsgKDExIC0gOSkgKiAjeyRzaXplLWZvcm19KTtcclxuXHJcbi50YWJsZS1jb21wb25lbnR7XHJcbiAgICAucGFwZXItY29udGFpbmVye1xyXG4gICAgICAgIGJveC1zaGFkb3c6IG5vbmU7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQhaW1wb3J0YW50O1xyXG4gICAgICAgIC5jaGVja2JveC1jZWxse1xyXG4gICAgICAgICAgICAuTXVpQ2hlY2tib3gtcm9vdHtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmc6MCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgJjpob3ZlcntcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOnRyYW5zcGFyZW50ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgLk11aS1jaGVja2VkIHtcclxuICAgICAgICAgICAgICAgIGNvbG9yOiByZ2JhKDAsMCwwLDAuNTQpICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgLk11aUNoZWNrYm94LWluZGV0ZXJtaW5hdGUge1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICMyMTI1MjkgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICAudGFibGUtY29udGFpbmVye1xyXG4gICAgICAgICAgICAmLndpdGgtc2Nyb2xse1xyXG4gICAgICAgICAgICAgICAgbWF4LWhlaWdodDogNjh2aDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAudGFibGUtY29sdW1ue1xyXG4gICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcbiAgICAgICAgICAgICAgICBmb250LXNpemU6ICRmb250LXNpemUgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmc6IDEwcHggIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIGJvcmRlci10b3A6IDFweCBzb2xpZCByZ2JhKDIyNCwgMjI0LCAyMjQsIDEpO1xyXG4gICAgICAgICAgICAgICAgYm9yZGVyLXJpZ2h0OiAxcHggc29saWQgcmdiYSgyMjQsIDIyNCwgMjI0LCAxKTtcclxuICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDJweCBzb2xpZCByZ2JhKDIyNCwgMjI0LCAyMjQsIDEpO1xyXG5cdFx0XHRcdFx0XHRcdFx0YmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICAgICAgICAgICAgICAudGFibGUtaGVhZGVyLWNlbGx7XHJcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IGJsYWNrO1xyXG4gICAgICAgICAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG4gICAgICAgICAgICAgICAgICAgIHBhZGRpbmc6IDBweCAxMHB4IDBweCAxMHB4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgJi50YWJsZS1zaW1wbGV7XHJcbiAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgYmxhY2s7XHJcbiAgICAgICAgICAgICAgICAudGFibGUtY29sdW1uOmZpcnN0LWNoaWxkeyBcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiA1cHggMCAwIDVweDtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC50YWJsZS1jb2x1bW46bGFzdC1jaGlsZHsgXHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXJpZ2h0OiBub25lIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwIDVweCA1cHggMDtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgJi50YWJsZS1ib3JkZXJlZHtcclxuICAgICAgICAgICAgICAgIC50YWJsZS1jb2x1bW57XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkICNlYWVhZWEgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItdG9wOiAxcHggc29saWQgI2VhZWFlYSAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci1yaWdodDogMXB4IHNvbGlkICNlYWVhZWEgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgI2VhZWFlYSAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiAjN2E3YTdhICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgLnRhYmxlLWhlYWRlci1jZWxse1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogIzdhN2E3YSAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC50YWJsZS1jb2x1bW46Zmlyc3QtY2hpbGR7IFxyXG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci1sZWZ0OiAxcHggc29saWQgI2VhZWFlYTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC50YWJsZS1yb3dze1xyXG4gICAgICAgICAgICAgICAgICAgIC50YWJsZS1jZWxse1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItcmlnaHQ6IDFweCBzb2xpZCAjZWFlYWVhO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogIzUwNTA1MCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICAudGFibGUtY2VsbDpmaXJzdC1jaGlsZHsgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci1sZWZ0OiAxcHggc29saWQgI2VhZWFlYTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgLnRhYmxlLXJvd3N7XHJcbiAgICAgICAgICAgICAgICAmLnRhYmxlLXN0cmlwZWR7XHJcbiAgICAgICAgICAgICAgICAgICAgdGR7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHJnYigyNTUgMjU1IDI1NSAvIDk1JSk7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgJi5yb3ctY2xpY2t7XHJcbiAgICAgICAgICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgICAgICAgICAgICAgICY6aG92ZXJ7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMC4wNCk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICYudGFibGUtc3RyaXBlZHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50ICFpbXBvcnRhbnQ7IFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGR7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgwLCAwLCAwLCAwLjA0KTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICYuTXVpLXNlbGVjdGVkIHtcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDAsIDAsIDAsIDAuMDQpOyBcclxuICAgICAgICAgICAgICAgICAgICAmLnRhYmxlLXN0cmlwZWR7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50ICFpbXBvcnRhbnQ7IFxyXG4gICAgICAgICAgICAgICAgICAgICAgICB0ZHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMC4wNCk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAuTXVpLXNlbGVjdGVkIHtcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudCAhaW1wb3J0YW50OyBcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC5NdWlUYWJsZUNlbGwtcm9vdCB7XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogNnB4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC5pbWctdGFibGV7XHJcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XHJcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiAxMTBweDtcclxuICAgICAgICAgICAgICAgICAgICBpbWd7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIG9iamVjdC1maXQ6IGNvbnRhaW47XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgLmFjdGlvbnN7XHJcbiAgICAgICAgICAgICAgICAgICAgZmxvYXQ6IHJpZ2h0O1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgLmJ0bi1hY3Rpb24ge1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOnJnYmEoMCwwLDAsMC41NCk7XHJcbiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICAgICAgICAgICAgICAgICAgICBmb250LXNpemU6IDEuNmVtICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogMHB4IDdweDtcclxuICAgICAgICAgICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAuZm9ybWF0LXZhbHVle1xyXG4gICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogJGZvbnQtc2l6ZSAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIC5NdWlUeXBvZ3JhcGh5LXJvb3R7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogJGZvbnQtc2l6ZTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9ICBcclxuICAgICAgICBcclxuICAgICAgICAuTXVpVGFibGUtcm9vdC5sb2FkaW5nIHtcclxuICAgICAgICAgICAgb3BhY2l0eTogMC41O1xyXG4gICAgICAgICAgICAuTXVpQ2lyY3VsYXJQcm9ncmVzcy1yb290e1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IDUwcHg7XHJcbiAgICAgICAgICAgICAgICBoZWlnaHQ6IDUwcHg7XHJcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgICAgICAgICAgICBsZWZ0OiAwO1xyXG4gICAgICAgICAgICAgICAgcmlnaHQ6IDA7XHJcbiAgICAgICAgICAgICAgICB0b3A6IDVweDtcclxuICAgICAgICAgICAgICAgIG1hcmdpbjogYXV0bztcclxuICAgICAgICAgICAgICAgIGNvbG9yOmdyZXk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgICAgLk11aVRhYmxlUGFnaW5hdGlvbi1yb290e1xyXG4gICAgICAgICAgICBvdmVyZmxvdzogdW5zZXQ7XHJcbiAgICAgICAgICAgIC5NdWlUb29sYmFyLXJvb3Qge1xyXG4gICAgICAgICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXIgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIGZsZXgtd3JhcDogd3JhcDtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmc6IDBweCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIC5NdWlUYWJsZVBhZ2luYXRpb24tc3BhY2VyIHtcclxuICAgICAgICAgICAgICAgIGZsZXg6IDAgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAmLnRhYmxlLWJvcmRlcmVke1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICM3YTdhN2EgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIC5wYWdpbmF0aW9uIHtcclxuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tbGVmdDogYXV0bztcclxuICAgICAgICAgICAgICAgICAgICBsaXtcclxuICAgICAgICAgICAgICAgICAgICAgICAgYnV0dG9ue1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWNvbG9yOiAjZGVlMmU2ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXJnaW46MHB4O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogMHB4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogIzdhN2E3YSAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXRvcDogMXB4IHNvbGlkO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWxlZnQ6IDBweCBzb2xpZDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci1yaWdodDogMXB4IHNvbGlkO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICAgbGk6bnRoLWNoaWxkKDEpeyBcclxuICAgICAgICAgICAgICAgICAgICAgICAgLk11aVBhZ2luYXRpb25JdGVtLXJvb3R7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiA1cHggMCAwIDVweCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWxlZnQ6IDFweCBzb2xpZDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICBsaTpudGgtbGFzdC1jaGlsZCgxKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIC5NdWlQYWdpbmF0aW9uSXRlbS1yb290e1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogMCA1cHggNXB4IDAgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICAuTXVpUGFnaW5hdGlvbkl0ZW0taWNvbntcclxuICAgICAgICAgICAgICAgICAgICAgICAgY29sb3I6ICM3YTdhN2EgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgJi50YWJsZS1zaW1wbGV7XHJcbiAgICAgICAgICAgICAgICAucGFnaW5hdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgLk11aVBhZ2luYXRpb25JdGVtLXBhZ2Uge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjM2Y0ZDY3O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogd2hpdGUgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgbGk6bnRoLWNoaWxkKDIpeyBcclxuICAgICAgICAgICAgICAgICAgICAgICAgLk11aVBhZ2luYXRpb25JdGVtLXBhZ2V7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiA1cHggMCAwIDVweCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIGxpOm50aC1sYXN0LWNoaWxkKDIpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgLk11aVBhZ2luYXRpb25JdGVtLXBhZ2V7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwIDVweCA1cHggMCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIFxyXG4gICAgICAgICAgICAucGFnaW5hdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAuTXVpUGFnaW5hdGlvbkl0ZW0tcGFnZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogMHB4O1xyXG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbjoxcHg7XHJcbiAgICAgICAgICAgICAgICAgICAgJi5NdWktc2VsZWN0ZWQge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogd2hpdGUgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogIzMyOTlDNztcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICBsaXtcclxuICAgICAgICAgICAgICAgICAgIGJ1dHRvbntcclxuICAgICAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogMTRweDtcclxuICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICBcclxuICAgIH1cclxuICAgIEBtZWRpYSAobWF4LXdpZHRoOiA5OTJweCApIHtcclxuICAgICAgICAucGFwZXItY29udGFpbmVye1xyXG4gICAgICAgICAgICAudGFibGUtY29udGFpbmVye1xyXG4gICAgICAgICAgICAgICAgbWF4LWhlaWdodDogNjB2aDtcclxuICAgICAgICAgICAgICAgIGJvcmRlci10b3A6IDFweCBzb2xpZCAjY2NjY2NjO1xyXG4gICAgICAgICAgICAgICAgLk11aVRhYmxlLXJvb3R7XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWNvbGxhcHNlOiBjb2xsYXBzZSFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAuTXVpVGFibGVIZWFkLXJvb3R7XHJcbiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTpub25lIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC50YWJsZS1yb3dze1xyXG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDJweCBzb2xpZCAjY2NjY2NjO1xyXG4gICAgICAgICAgICAgICAgICAgIC5NdWlUYWJsZUNlbGwtcm9vdCB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOmF1dG87XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IG5vbmUhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAubGFiZWwtY2VsbHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogMXJlbTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZlcnRpY2FsLWFsaWduOiB0b3A7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aWR0aDogNTAlO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiBhdXRvO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIC5sYWJlbC1jZWxsICsgZGl2e1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIC50YWJsZS1jZWxse1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBkaXNwbGF5OiBibG9jayFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIC5mb3JtYXQtdmFsdWV7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBvdmVyZmxvdzogaGlkZGVuO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB3aWR0aDogNTAlO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBtYXgtd2lkdGg6IDI5OXB4O1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICAuTXVpVGFibGVQYWdpbmF0aW9uLXJvb3R7XHJcbiAgICAgICAgICAgICYudGFibGUtYm9yZGVyZWR7XHJcbiAgICAgICAgICAgICAgICAucGFnaW5hdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAwO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgXHJcbiAgICB9XHJcbn0iXX0= */`;
490
+ /*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRhYmxlQ29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUk7RUFDSTtFQUNBOztBQUVJO0VBQ0k7O0FBQ0E7RUFDSTs7QUFHUjtFQUNJOztBQUVKO0VBQ0k7O0FBSUo7RUFDSTs7QUFFSjtFQUNJO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNSOztBQUNRO0VBQ0k7RUFDQTtFQUNBOztBQUdSO0VBQ0k7O0FBQ0E7RUFDSTs7QUFFSjtFQUNJO0VBQ0E7O0FBS0o7RUFDSTtFQUNBO0VBQ0E7RUFDQTtFQUNBOztBQUNBO0VBQ0k7O0FBR1I7RUFDSTs7QUFHQTtFQUNJO0VBQ0E7O0FBRUo7RUFDSTs7QUFNSjtFQUNJOztBQUdSO0VBQ0k7O0FBQ0E7RUFDSTs7QUFDQTtFQUNJOztBQUNBO0VBQ0k7O0FBS2hCO0VBQ0k7O0FBQ0E7RUFDSTs7QUFDQTtFQUNJOztBQUlaO0VBQ0k7O0FBRUo7RUFDSTtFQUNBOztBQUVKO0VBQ0k7RUFDQTs7QUFDQTtFQUNJOztBQUdSO0VBQ0k7O0FBRUo7RUFDSTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7O0FBRUo7RUFDSTs7QUFDQTtFQUNJLFdBaElaOztBQXNJSjtFQUNJOztBQUNBO0VBQ0k7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTs7QUFHUjtFQUNJOztBQUNBO0VBQ0k7RUFDQTtFQUNBOztBQUVKO0VBQ0k7O0FBRUo7RUFDSTs7QUFDQTtFQUNJOztBQUVJO0VBQ0k7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTs7QUFJSjtFQUNJO0VBQ0E7O0FBSUo7RUFDSTs7QUFHUjtFQUNJOztBQU1KO0VBQ0k7RUFDQTs7QUFHQTtFQUNJOztBQUlKO0VBQ0k7O0FBT1o7RUFDSTtFQUNBOztBQUNBO0VBQ0k7RUFDQTs7QUFJTDtFQUNLOztBQU9wQjtFQUVRO0lBQ0k7SUFDQTs7RUFDQTtJQUNJOztFQUVKO0lBQ0k7O0VBRUo7SUFDSTs7RUFDQTtJQUNJO0lBQ0E7O0VBQ0E7SUFDSTtJQUNBO0lBQ0E7SUFDQTs7RUFFSjtJQUNJOztFQUdSO0lBQ0k7O0VBRUo7SUFDSTtJQUNBO0lBQ0E7SUFDQTtJQUNBOztFQU9SO0lBQ1EiLCJzb3VyY2VzQ29udGVudCI6WyIkc2l6ZS1mb3JtOiAoY2FsYygxMDB2dyAtIDMwMHB4KSAvICgxNjAwIC0gMzAwKSk7XHJcbiRmb250LXNpemU6IGNhbGMoOXB0ICsgKDExIC0gOSkgKiAjeyRzaXplLWZvcm19KTtcclxuXHJcbi50YWJsZS1jb21wb25lbnR7XHJcbiAgICAucGFwZXItY29udGFpbmVye1xyXG4gICAgICAgIGJveC1zaGFkb3c6IG5vbmU7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQhaW1wb3J0YW50O1xyXG4gICAgICAgIC5jaGVja2JveC1jZWxse1xyXG4gICAgICAgICAgICAuTXVpQ2hlY2tib3gtcm9vdHtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmc6MCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgJjpob3ZlcntcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOnRyYW5zcGFyZW50ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgLk11aS1jaGVja2VkIHtcclxuICAgICAgICAgICAgICAgIGNvbG9yOiByZ2JhKDAsMCwwLDAuNTQpICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgLk11aUNoZWNrYm94LWluZGV0ZXJtaW5hdGUge1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICMyMTI1MjkgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICAudGFibGUtY29udGFpbmVye1xyXG4gICAgICAgICAgICAmLndpdGgtc2Nyb2xse1xyXG4gICAgICAgICAgICAgICAgbWF4LWhlaWdodDogNjh2aDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAudGFibGUtY29sdW1ue1xyXG4gICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcbiAgICAgICAgICAgICAgICBmb250LXNpemU6ICRmb250LXNpemUgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmc6IDEwcHggIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIGJvcmRlci10b3A6IDFweCBzb2xpZCByZ2JhKDIyNCwgMjI0LCAyMjQsIDEpO1xyXG4gICAgICAgICAgICAgICAgYm9yZGVyLXJpZ2h0OiAxcHggc29saWQgcmdiYSgyMjQsIDIyNCwgMjI0LCAxKTtcclxuICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDJweCBzb2xpZCByZ2JhKDIyNCwgMjI0LCAyMjQsIDEpO1xyXG5cdFx0XHRcdFx0XHRcdFx0YmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICAgICAgICAgICAgICAudGFibGUtaGVhZGVyLWNlbGx7XHJcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IGJsYWNrO1xyXG4gICAgICAgICAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG4gICAgICAgICAgICAgICAgICAgIHBhZGRpbmc6IDBweCAxMHB4IDBweCAxMHB4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgJi50YWJsZS1zaW1wbGV7XHJcbiAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgYmxhY2s7XHJcbiAgICAgICAgICAgICAgICAudGFibGUtY29sdW1uOmZpcnN0LWNoaWxkeyBcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiA1cHggMCAwIDVweDtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC50YWJsZS1jb2x1bW46bGFzdC1jaGlsZHsgXHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXJpZ2h0OiBub25lIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwIDVweCA1cHggMDtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgJi50YWJsZS1ib3JkZXJlZHtcclxuICAgICAgICAgICAgICAgIC50YWJsZS1jb2x1bW57XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkICNlYWVhZWEgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItdG9wOiAxcHggc29saWQgI2VhZWFlYSAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci1yaWdodDogMXB4IHNvbGlkICNlYWVhZWEgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgI2VhZWFlYSAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiAjN2E3YTdhICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgLnRhYmxlLWhlYWRlci1jZWxse1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogIzdhN2E3YSAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC50YWJsZS1jb2x1bW46Zmlyc3QtY2hpbGR7IFxyXG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci1sZWZ0OiAxcHggc29saWQgI2VhZWFlYTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC50YWJsZS1yb3dze1xyXG4gICAgICAgICAgICAgICAgICAgIC50YWJsZS1jZWxse1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItcmlnaHQ6IDFweCBzb2xpZCAjZWFlYWVhO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogIzUwNTA1MCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICAudGFibGUtY2VsbDpmaXJzdC1jaGlsZHsgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci1sZWZ0OiAxcHggc29saWQgI2VhZWFlYTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgLnRhYmxlLXJvd3N7XHJcbiAgICAgICAgICAgICAgICAmLnRhYmxlLXN0cmlwZWR7XHJcbiAgICAgICAgICAgICAgICAgICAgdGR7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHJnYigyNTUgMjU1IDI1NSAvIDk1JSk7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgJi5yb3ctY2xpY2t7XHJcbiAgICAgICAgICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgICAgICAgICAgICAgICY6aG92ZXJ7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMC4wNCk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICYudGFibGUtc3RyaXBlZHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50ICFpbXBvcnRhbnQ7IFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGR7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgwLCAwLCAwLCAwLjA0KTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICYuTXVpLXNlbGVjdGVkIHtcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDAsIDAsIDAsIDAuMDQpOyBcclxuICAgICAgICAgICAgICAgICAgICAmLnRhYmxlLXN0cmlwZWR7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50ICFpbXBvcnRhbnQ7IFxyXG4gICAgICAgICAgICAgICAgICAgICAgICB0ZHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMC4wNCk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAuTXVpLXNlbGVjdGVkIHtcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudCAhaW1wb3J0YW50OyBcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC5NdWlUYWJsZUNlbGwtcm9vdCB7XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogNnB4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC5pbWctdGFibGV7XHJcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XHJcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiAxMTBweDtcclxuICAgICAgICAgICAgICAgICAgICBpbWd7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIG9iamVjdC1maXQ6IGNvbnRhaW47XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgLmFjdGlvbnN7XHJcbiAgICAgICAgICAgICAgICAgICAgZmxvYXQ6IHJpZ2h0O1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgLmJ0bi1hY3Rpb24ge1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOnJnYmEoMCwwLDAsMC41NCk7XHJcbiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICAgICAgICAgICAgICAgICAgICBmb250LXNpemU6IDEuNmVtICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogMHB4IDdweDtcclxuICAgICAgICAgICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAuZm9ybWF0LXZhbHVle1xyXG4gICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogJGZvbnQtc2l6ZSAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIC5NdWlUeXBvZ3JhcGh5LXJvb3R7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogJGZvbnQtc2l6ZTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9ICBcclxuICAgICAgICBcclxuICAgICAgICAuTXVpVGFibGUtcm9vdC5sb2FkaW5nIHtcclxuICAgICAgICAgICAgb3BhY2l0eTogMC41O1xyXG4gICAgICAgICAgICAuTXVpQ2lyY3VsYXJQcm9ncmVzcy1yb290e1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IDUwcHg7XHJcbiAgICAgICAgICAgICAgICBoZWlnaHQ6IDUwcHg7XHJcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgICAgICAgICAgICBsZWZ0OiAwO1xyXG4gICAgICAgICAgICAgICAgcmlnaHQ6IDA7XHJcbiAgICAgICAgICAgICAgICB0b3A6IDVweDtcclxuICAgICAgICAgICAgICAgIG1hcmdpbjogYXV0bztcclxuICAgICAgICAgICAgICAgIGNvbG9yOmdyZXk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgICAgLk11aVRhYmxlUGFnaW5hdGlvbi1yb290e1xyXG4gICAgICAgICAgICBvdmVyZmxvdzogdW5zZXQ7XHJcbiAgICAgICAgICAgIC5NdWlUb29sYmFyLXJvb3Qge1xyXG4gICAgICAgICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXIgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIGZsZXgtd3JhcDogd3JhcDtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmc6IDBweCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIC5NdWlUYWJsZVBhZ2luYXRpb24tc3BhY2VyIHtcclxuICAgICAgICAgICAgICAgIGZsZXg6IDAgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAmLnRhYmxlLWJvcmRlcmVke1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICM3YTdhN2E7XHJcbiAgICAgICAgICAgICAgICAucGFnaW5hdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IGF1dG87XHJcbiAgICAgICAgICAgICAgICAgICAgbGl7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJ1dHRvbntcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci1jb2xvcjogI2RlZTJlNiAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFyZ2luOjBweDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDBweCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29sb3I6ICM3YTdhN2E7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItdG9wOiAxcHggc29saWQ7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQ7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItbGVmdDogMHB4IHNvbGlkO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXJpZ2h0OiAxcHggc29saWQ7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgICBsaTpudGgtY2hpbGQoMSl7IFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAuTXVpUGFnaW5hdGlvbkl0ZW0tcm9vdHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDVweCAwIDAgNXB4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItbGVmdDogMXB4IHNvbGlkO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIGxpOm50aC1sYXN0LWNoaWxkKDEpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgLk11aVBhZ2luYXRpb25JdGVtLXJvb3R7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwIDVweCA1cHggMCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIC5NdWlQYWdpbmF0aW9uSXRlbS1pY29ue1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogIzdhN2E3YTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgJi50YWJsZS1zaW1wbGV7XHJcbiAgICAgICAgICAgICAgICAucGFnaW5hdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgLk11aVBhZ2luYXRpb25JdGVtLXBhZ2Uge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAoLS1tdWktcGFsZXR0ZS1zZWNvbmRhcnktbWFpbik7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbG9yOiAoLS1tdWktcGFsZXR0ZS1zZWNvbmRhcnktY29udHJhc3RUZXh0KTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgbGk6bnRoLWNoaWxkKDIpeyBcclxuICAgICAgICAgICAgICAgICAgICAgICAgLk11aVBhZ2luYXRpb25JdGVtLXBhZ2V7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiA1cHggMCAwIDVweCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIGxpOm50aC1sYXN0LWNoaWxkKDIpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgLk11aVBhZ2luYXRpb25JdGVtLXBhZ2V7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwIDVweCA1cHggMCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIFxyXG4gICAgICAgICAgICAucGFnaW5hdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAuTXVpUGFnaW5hdGlvbkl0ZW0tcGFnZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogMHB4O1xyXG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbjoxcHg7XHJcbiAgICAgICAgICAgICAgICAgICAgJi5NdWktc2VsZWN0ZWQge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogIHZhcigtLW11aS1wYWxldHRlLXByaW1hcnktY29udHJhc3RUZXh0KTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tbXVpLXBhbGV0dGUtcHJpbWFyeS1tYWluKTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICBsaXtcclxuICAgICAgICAgICAgICAgICAgIGJ1dHRvbntcclxuICAgICAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogMTRweDtcclxuICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICBcclxuICAgIH1cclxuICAgIEBtZWRpYSAobWF4LXdpZHRoOiA5OTJweCApIHtcclxuICAgICAgICAucGFwZXItY29udGFpbmVye1xyXG4gICAgICAgICAgICAudGFibGUtY29udGFpbmVye1xyXG4gICAgICAgICAgICAgICAgbWF4LWhlaWdodDogNjB2aDtcclxuICAgICAgICAgICAgICAgIGJvcmRlci10b3A6IDFweCBzb2xpZCAjY2NjY2NjO1xyXG4gICAgICAgICAgICAgICAgLk11aVRhYmxlLXJvb3R7XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWNvbGxhcHNlOiBjb2xsYXBzZSFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAuTXVpVGFibGVIZWFkLXJvb3R7XHJcbiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTpub25lIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC50YWJsZS1yb3dze1xyXG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDJweCBzb2xpZCAjY2NjY2NjO1xyXG4gICAgICAgICAgICAgICAgICAgIC5NdWlUYWJsZUNlbGwtcm9vdCB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOmF1dG87XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IG5vbmUhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAubGFiZWwtY2VsbHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogMXJlbTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZlcnRpY2FsLWFsaWduOiB0b3A7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aWR0aDogNTAlO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiBhdXRvO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIC5sYWJlbC1jZWxsICsgZGl2e1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIC50YWJsZS1jZWxse1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBkaXNwbGF5OiBibG9jayFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIC5mb3JtYXQtdmFsdWV7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBvdmVyZmxvdzogaGlkZGVuO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB3aWR0aDogNTAlO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBtYXgtd2lkdGg6IDI5OXB4O1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICAuTXVpVGFibGVQYWdpbmF0aW9uLXJvb3R7XHJcbiAgICAgICAgICAgICYudGFibGUtYm9yZGVyZWR7XHJcbiAgICAgICAgICAgICAgICAucGFnaW5hdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAwO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgXHJcbiAgICB9XHJcbn0iXX0= */`;
491
491
  document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(css5));
492
492
  var TextFieldComponent = ({
493
493
  fullWidth = true,
@@ -508,8 +508,8 @@ var TextFieldComponent = ({
508
508
  onMouseLeave,
509
509
  ...rest
510
510
  }) => {
511
- const [hover, setHover] = React8.useState(false);
512
- return /* @__PURE__ */ React8.createElement(Box, { className: "text-field-component", sx: { width: "100%" } }, /* @__PURE__ */ React8.createElement(
511
+ const [hover, setHover] = React9.useState(false);
512
+ return /* @__PURE__ */ React9.createElement(Box, { className: "text-field-component", sx: { width: "100%" } }, /* @__PURE__ */ React9.createElement(
513
513
  TextField,
514
514
  {
515
515
  ...rest,
@@ -671,6 +671,17 @@ var toBase64 = (file) => {
671
671
  reader.onerror = (error) => reject(error);
672
672
  });
673
673
  };
674
+
675
+ // src/interfaces/search/SearchFilters.tsx
676
+ var SearchBaseDefaults = {
677
+ offset: 0,
678
+ page: 1,
679
+ limit: 100,
680
+ orderBy: "id",
681
+ orderAsc: true
682
+ };
683
+
684
+ // src/helpers/hooks.tsx
674
685
  var usePrevious = (value) => {
675
686
  const ref2 = useRef(void 0);
676
687
  useEffect(() => {
@@ -688,7 +699,13 @@ var useIsMounted = () => {
688
699
  }, []);
689
700
  return isMounted;
690
701
  };
691
- var NotificationContainer = (props) => /* @__PURE__ */ React8.createElement(
702
+ var useFilters = (initial = SearchBaseDefaults) => {
703
+ const [filters, setFilters] = useState(initial);
704
+ const setNewFilters = (name, value) => setFilters((prev) => ({ ...prev, [name]: value, page: 1, offset: 0 }));
705
+ const onHandleChange = (event) => setNewFilters(event.target.name, event.target.value);
706
+ return { filters, setFilters, setNewFilters, onHandleChange };
707
+ };
708
+ var NotificationContainer = (props) => /* @__PURE__ */ React9.createElement(
692
709
  SnackbarProvider,
693
710
  {
694
711
  maxSnack: 5,
@@ -708,7 +725,7 @@ var addNotification = ({
708
725
  key: id,
709
726
  autoHideDuration: duration,
710
727
  persist: duration === null,
711
- action: duration === null ? (key) => /* @__PURE__ */ React8.createElement(IconButton, { size: "small", color: "inherit", "aria-label": "close", onClick: () => closeSnackbar(key) }, /* @__PURE__ */ React8.createElement(CloseIcon, { fontSize: "small" })) : void 0
728
+ action: duration === null ? (key) => /* @__PURE__ */ React9.createElement(IconButton, { size: "small", color: "inherit", "aria-label": "close", onClick: () => closeSnackbar(key) }, /* @__PURE__ */ React9.createElement(CloseIcon, { fontSize: "small" })) : void 0
712
729
  });
713
730
  var removeNotification = (id) => closeSnackbar(id);
714
731
 
@@ -729,7 +746,7 @@ var ImageTableComponent = (props) => {
729
746
  }).catch(() => setLoading(false));
730
747
  }
731
748
  }, [props, prevGuidState, isMounted]);
732
- return /* @__PURE__ */ React8.createElement(Box, { className: "images-table-component" }, loading ? /* @__PURE__ */ React8.createElement(Box, { sx: { textAlign: "center" } }, /* @__PURE__ */ React8.createElement(CircularProgress, { className: "main-color", color: "primary" })) : /* @__PURE__ */ React8.createElement(Avatar, { alt: "-", src: image, className: "img-table", variant: "square" }));
749
+ return /* @__PURE__ */ React9.createElement(Box, { className: "images-table-component" }, loading ? /* @__PURE__ */ React9.createElement(Box, { sx: { textAlign: "center" } }, /* @__PURE__ */ React9.createElement(CircularProgress, { className: "main-color", color: "primary" })) : /* @__PURE__ */ React9.createElement(Avatar, { alt: "-", src: image, className: "img-table", variant: "square" }));
733
750
  };
734
751
  var ImageTableComponent_default = ImageTableComponent;
735
752
  var TableComponent = ({ showTotalCount = true, ...rest }) => {
@@ -815,9 +832,9 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
815
832
  return `${column.priceFormat?.currencyStart ?? ""}${Number(value).toFixed(2).replace(".", ",").toLocaleString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1.")} ${!column.priceFormat?.currencyStart ? column.priceFormat?.currencyEnd ?? props.values.SYMBOL_EURO : ""}`;
816
833
  if (column.isImage && value) {
817
834
  if (column.isImage.isUrl) {
818
- return /* @__PURE__ */ React8.createElement(Avatar, { alt: "-", src: value, className: "img-table", variant: "square" });
835
+ return /* @__PURE__ */ React9.createElement(Avatar, { alt: "-", src: value, className: "img-table", variant: "square" });
819
836
  } else if (column.isImage.isGuid) {
820
- return /* @__PURE__ */ React8.createElement(
837
+ return /* @__PURE__ */ React9.createElement(
821
838
  ImageTableComponent_default,
822
839
  {
823
840
  guid: value,
@@ -843,7 +860,7 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
843
860
  if (typeof value === "boolean") {
844
861
  return String(value);
845
862
  }
846
- return /* @__PURE__ */ React8.createElement(Typography, { component: "span", sx: { whiteSpace: "break-spaces" } }, value);
863
+ return /* @__PURE__ */ React9.createElement(Typography, { component: "span", sx: { whiteSpace: "break-spaces" } }, value);
847
864
  };
848
865
  const ObjectbyString = (o, s) => {
849
866
  s = s.replace(/\[(\w+)\]/g, ".$1");
@@ -880,7 +897,7 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
880
897
  rowEdit[fieldName] = e.target.value;
881
898
  setUpdate();
882
899
  };
883
- return /* @__PURE__ */ React8.createElement(
900
+ return /* @__PURE__ */ React9.createElement(
884
901
  TextFieldComponent,
885
902
  {
886
903
  ...editableCell.isTextField.textFieldProps,
@@ -893,20 +910,20 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
893
910
  return value;
894
911
  }
895
912
  };
896
- return /* @__PURE__ */ React8.createElement(Box, { className: "table-component" }, /* @__PURE__ */ React8.createElement(Paper, { className: "paper-container" }, /* @__PURE__ */ React8.createElement(Box, { sx: { p: 1, display: "flex" } }, props.isCheckTable && /* @__PURE__ */ React8.createElement(Box, { sx: { display: { xs: "block", md: "none" } }, className: "checkbox-cell" }, /* @__PURE__ */ React8.createElement(
913
+ return /* @__PURE__ */ React9.createElement(Box, { className: "table-component" }, /* @__PURE__ */ React9.createElement(Paper, { className: "paper-container" }, /* @__PURE__ */ React9.createElement(Box, { sx: { p: 1, display: "flex" } }, props.isCheckTable && /* @__PURE__ */ React9.createElement(Box, { sx: { display: { xs: "block", md: "none" } }, className: "checkbox-cell" }, /* @__PURE__ */ React9.createElement(
897
914
  Checkbox,
898
915
  {
899
916
  indeterminate: props.rows && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length > 0 && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length < props.rows.length,
900
917
  checked: props.rows && props.rows.length > 0 && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length === props.rows.length,
901
918
  onChange: handleSelectAllClick
902
919
  }
903
- )), props.showTotalCount && /* @__PURE__ */ React8.createElement(Box, { sx: { ml: "auto", mr: 1, alignSelf: "center" } }, props.totalCount, " ", props.values.RESULTS)), /* @__PURE__ */ React8.createElement(
920
+ )), props.showTotalCount && /* @__PURE__ */ React9.createElement(Box, { sx: { ml: "auto", mr: 1, alignSelf: "center" } }, props.totalCount, " ", props.values.RESULTS)), /* @__PURE__ */ React9.createElement(
904
921
  TableContainer,
905
922
  {
906
923
  className: `table-container ${props.isBordered ? "table-bordered" : "table-simple"} ${props.withScroll ? "with-scroll" : ""}`
907
924
  },
908
- /* @__PURE__ */ React8.createElement(Table, { stickyHeader: true, "aria-label": "sticky table", className: props.loading ? "loading" : "" }, /* @__PURE__ */ React8.createElement(TableHead, { sx: { display: { xs: "none", md: "table-header-group" } } }, /* @__PURE__ */ React8.createElement(TableRow, null, props.columns.map((column, columnIndex) => {
909
- return /* @__PURE__ */ React8.createElement(
925
+ /* @__PURE__ */ React9.createElement(Table, { stickyHeader: true, "aria-label": "sticky table", className: props.loading ? "loading" : "" }, /* @__PURE__ */ React9.createElement(TableHead, { sx: { display: { xs: "none", md: "table-header-group" } } }, /* @__PURE__ */ React9.createElement(TableRow, null, props.columns.map((column, columnIndex) => {
926
+ return /* @__PURE__ */ React9.createElement(
910
927
  TableCell,
911
928
  {
912
929
  className: "table-column",
@@ -914,7 +931,7 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
914
931
  align: column.align ? column.align : "center",
915
932
  style: { width: column.width, minWidth: column.minWidth, maxWidth: column.maxWidth }
916
933
  },
917
- (column.orderBy || column.id) && column.id !== "actions" && !column.isCheck && !column.isActiveFunction && !column.noSort ? /* @__PURE__ */ React8.createElement(
934
+ (column.orderBy || column.id) && column.id !== "actions" && !column.isCheck && !column.isActiveFunction && !column.noSort ? /* @__PURE__ */ React9.createElement(
918
935
  TableSortLabel,
919
936
  {
920
937
  className: "table-header-cell",
@@ -924,16 +941,16 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
924
941
  hideSortIcon: true
925
942
  },
926
943
  column.label
927
- ) : column.isCheck ? /* @__PURE__ */ React8.createElement(Box, { className: "checkbox-cell" }, /* @__PURE__ */ React8.createElement(
944
+ ) : column.isCheck ? /* @__PURE__ */ React9.createElement(Box, { className: "checkbox-cell" }, /* @__PURE__ */ React9.createElement(
928
945
  Checkbox,
929
946
  {
930
947
  indeterminate: props.rows && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length > 0 && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length < props.rows.length,
931
948
  checked: props.rows && props.rows.length > 0 && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length === props.rows.length,
932
949
  onChange: handleSelectAllClick
933
950
  }
934
- )) : /* @__PURE__ */ React8.createElement(Box, { className: "table-header-cell" }, column.label)
951
+ )) : /* @__PURE__ */ React9.createElement(Box, { className: "table-header-cell" }, column.label)
935
952
  );
936
- }))), /* @__PURE__ */ React8.createElement(TableBody, null, props.loading && /* @__PURE__ */ React8.createElement(TableRow, { className: "table-rows" }, /* @__PURE__ */ React8.createElement(
953
+ }))), /* @__PURE__ */ React9.createElement(TableBody, null, props.loading && /* @__PURE__ */ React9.createElement(TableRow, { className: "table-rows" }, /* @__PURE__ */ React9.createElement(
937
954
  TableCell,
938
955
  {
939
956
  colSpan: props.columns.length,
@@ -943,11 +960,11 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
943
960
  height: props.rows.length > 0 ? "auto" : "80px"
944
961
  }
945
962
  },
946
- /* @__PURE__ */ React8.createElement(CircularProgress, { className: "circular-progress-main-color", color: "primary" })
963
+ /* @__PURE__ */ React9.createElement(CircularProgress, { className: "circular-progress-main-color", color: "primary" })
947
964
  )), props.rows && props.rows.length > 0 ? props.rows.map((row, index) => {
948
965
  const rowColor = props.rowsColorColumn && ObjectbyString(row, props.rowsColorColumn.columnName) === props.rowsColorColumn.columnValue ? `row-color-${props.rowsColorColumn.columnValue}` : props.isStriped && props.rows.length > 1 && index % 2 == 0 ? "main-background-color table-striped" : "";
949
966
  const isRowSelected = props.isCheckTable?.rowsChecked && isSelected(row.id);
950
- return /* @__PURE__ */ React8.createElement(
967
+ return /* @__PURE__ */ React9.createElement(
951
968
  TableRow,
952
969
  {
953
970
  className: `table-rows ${rowColor} ${props.onClickRow || props.onClickRowData ? "row-click" : ""}`,
@@ -961,7 +978,7 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
961
978
  props.columns.map((column, columnIndex) => {
962
979
  const value = column.rowViewFormat ? checkFormat(row, column.rowViewFormat) : ObjectbyString(row, column.id ?? "");
963
980
  const isItemSelected = column.isCheck && isSelected(row.id);
964
- return /* @__PURE__ */ React8.createElement(
981
+ return /* @__PURE__ */ React9.createElement(
965
982
  TableCell,
966
983
  {
967
984
  className: `table-cell ${column.cellClassName ? column.cellClassName(row) : ""}`,
@@ -974,8 +991,8 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
974
991
  },
975
992
  onClick: () => !column.action && !column.isCheck && !column.isActiveFunction ? handleRowClick(row) : ""
976
993
  },
977
- column.label !== "-" && /* @__PURE__ */ React8.createElement(Box, { sx: { display: { xs: "inline-block", md: "none" } }, className: "label-cell" }, column.label),
978
- column.rowViewFormat ? /* @__PURE__ */ React8.createElement(Box, { className: "format-value" }, value) : column.action && Object.keys(row).length > 0 ? /* @__PURE__ */ React8.createElement(Box, null, /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex" }, className: "actions" }, column.action && column.action.map((action, i) => /* @__PURE__ */ React8.createElement(Box, { key: i }, action.onClick && /* @__PURE__ */ React8.createElement(
994
+ column.label !== "-" && /* @__PURE__ */ React9.createElement(Box, { sx: { display: { xs: "inline-block", md: "none" } }, className: "label-cell" }, column.label),
995
+ column.rowViewFormat ? /* @__PURE__ */ React9.createElement(Box, { className: "format-value" }, value) : column.action && Object.keys(row).length > 0 ? /* @__PURE__ */ React9.createElement(Box, null, /* @__PURE__ */ React9.createElement(Box, { sx: { display: "flex" }, className: "actions" }, column.action && column.action.map((action, i) => /* @__PURE__ */ React9.createElement(Box, { key: i }, action.onClick && /* @__PURE__ */ React9.createElement(
979
996
  Box,
980
997
  {
981
998
  className: "btn-action main-color-hover",
@@ -985,7 +1002,7 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
985
1002
  onClick: () => action.onClick && action.onClick(row)
986
1003
  },
987
1004
  action.children
988
- ), action.onClickId && /* @__PURE__ */ React8.createElement(
1005
+ ), action.onClickId && /* @__PURE__ */ React9.createElement(
989
1006
  Box,
990
1007
  {
991
1008
  className: "btn-action main-color-hover",
@@ -995,7 +1012,7 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
995
1012
  onClick: () => action.onClickId && action.onClickId(row.id)
996
1013
  },
997
1014
  action.children
998
- ), !action.onClick && !action.onClickId && /* @__PURE__ */ React8.createElement(Box, { className: "btn-action" }, action.children))))) : column.isActiveFunction && Object.keys(row).length > 0 ? /* @__PURE__ */ React8.createElement(
1015
+ ), !action.onClick && !action.onClickId && /* @__PURE__ */ React9.createElement(Box, { className: "btn-action" }, action.children))))) : column.isActiveFunction && Object.keys(row).length > 0 ? /* @__PURE__ */ React9.createElement(
999
1016
  Box,
1000
1017
  {
1001
1018
  className: "btn-action main-color-hover",
@@ -1005,31 +1022,31 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
1005
1022
  onClick: () => column.isActiveFunction && column.isActiveFunction.onClickId(row.id)
1006
1023
  },
1007
1024
  value ? column.isActiveFunction.activeIcon : column.isActiveFunction.disabledIcon
1008
- ) : column.isCheck && Object.keys(row).length > 0 ? /* @__PURE__ */ React8.createElement(Box, { className: "checkbox-cell" }, /* @__PURE__ */ React8.createElement(
1025
+ ) : column.isCheck && Object.keys(row).length > 0 ? /* @__PURE__ */ React9.createElement(Box, { className: "checkbox-cell" }, /* @__PURE__ */ React9.createElement(
1009
1026
  Checkbox,
1010
1027
  {
1011
1028
  checked: isItemSelected,
1012
1029
  slotProps: { input: { "aria-labelledby": row.id } },
1013
1030
  onChange: (event) => onCheckAction(event, row.id)
1014
1031
  }
1015
- )) : column.isEditableTableCell && Object.keys(row).length > 0 ? EditableTableCell(row, value, column.id, column.isEditableTableCell) : column.enumColumn && Object.keys(row).length > 0 ? /* @__PURE__ */ React8.createElement(
1032
+ )) : column.isEditableTableCell && Object.keys(row).length > 0 ? EditableTableCell(row, value, column.id, column.isEditableTableCell) : column.enumColumn && Object.keys(row).length > 0 ? /* @__PURE__ */ React9.createElement(
1016
1033
  Box,
1017
1034
  {
1018
1035
  className: `${column.enumColumn.hasColor ? `${column.enumColumn.enumSuffix ? `${value.toLowerCase()}-${column.enumColumn.enumSuffix.toLowerCase()}` : value.toString().toLowerCase()}-type-color` : ""} format-value`
1019
1036
  },
1020
1037
  formatValue(value, column)
1021
- ) : column.isBoolean && Object.keys(row).length > 0 ? /* @__PURE__ */ React8.createElement(
1038
+ ) : column.isBoolean && Object.keys(row).length > 0 ? /* @__PURE__ */ React9.createElement(
1022
1039
  Box,
1023
1040
  {
1024
1041
  className: `${column.isBoolean.hasColor ? `${column.isBoolean.enumSuffix ? `${value.toString().toLowerCase()}-${column.isBoolean.enumSuffix.toLowerCase()}` : value.toString().toLowerCase()}-boolean-color` : ""} format-value`
1025
1042
  },
1026
1043
  formatValue(value, column)
1027
- ) : /* @__PURE__ */ React8.createElement(Box, { className: `${column.isImage ? "" : "format-value"}` }, formatValue(value, column))
1044
+ ) : /* @__PURE__ */ React9.createElement(Box, { className: `${column.isImage ? "" : "format-value"}` }, formatValue(value, column))
1028
1045
  );
1029
1046
  })
1030
1047
  );
1031
- }) : !props.loading ? /* @__PURE__ */ React8.createElement(TableRow, null, /* @__PURE__ */ React8.createElement(TableCell, { colSpan: props.columns.length }, /* @__PURE__ */ React8.createElement(Box, null, props.values.NO_RESULTS_FOUND))) : /* @__PURE__ */ React8.createElement(TableRow, null)))
1032
- ), props.baseFilters && props.baseFilters.page && props.baseFilters.limit && /* @__PURE__ */ React8.createElement(
1048
+ }) : !props.loading ? /* @__PURE__ */ React9.createElement(TableRow, null, /* @__PURE__ */ React9.createElement(TableCell, { colSpan: props.columns.length }, /* @__PURE__ */ React9.createElement(Box, null, props.values.NO_RESULTS_FOUND))) : /* @__PURE__ */ React9.createElement(TableRow, null)))
1049
+ ), props.baseFilters && props.baseFilters.page && props.baseFilters.limit && /* @__PURE__ */ React9.createElement(
1033
1050
  TablePagination,
1034
1051
  {
1035
1052
  rowsPerPageOptions: [5, 10, 25, 100, 150],
@@ -1045,7 +1062,7 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
1045
1062
  component: "div",
1046
1063
  className: `table-pagination ${props.isBordered ? "table-bordered" : "table-simple"}`,
1047
1064
  ActionsComponent: (_actions) => {
1048
- return /* @__PURE__ */ React8.createElement(Box, { sx: { flexShrink: 0 }, className: "pagination" }, Math.ceil(_actions.count / _actions.rowsPerPage) > 1 && /* @__PURE__ */ React8.createElement(
1065
+ return /* @__PURE__ */ React9.createElement(Box, { sx: { flexShrink: 0 }, className: "pagination" }, Math.ceil(_actions.count / _actions.rowsPerPage) > 1 && /* @__PURE__ */ React9.createElement(
1049
1066
  Pagination,
1050
1067
  {
1051
1068
  count: Math.ceil(_actions.count / _actions.rowsPerPage),
@@ -1057,7 +1074,7 @@ var TableComponent = ({ showTotalCount = true, ...rest }) => {
1057
1074
  hidePrevButton: true,
1058
1075
  showFirstButton: true,
1059
1076
  showLastButton: true,
1060
- renderItem: (item) => /* @__PURE__ */ React8.createElement(
1077
+ renderItem: (item) => /* @__PURE__ */ React9.createElement(
1061
1078
  PaginationItem,
1062
1079
  {
1063
1080
  classes: { selected: "main-background-color" },
@@ -1308,9 +1325,9 @@ var SimpleTableComponent = (props) => {
1308
1325
  return `${column.priceFormat?.currencyStart ?? ""}${Number(value).toFixed(2).replace(".", ",").toLocaleString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1.")} ${!column.priceFormat?.currencyStart ? column.priceFormat?.currencyEnd ?? props.values.SYMBOL_EURO : ""}`;
1309
1326
  if (column.isImage && value) {
1310
1327
  if (column.isImage.isUrl) {
1311
- return /* @__PURE__ */ React8.createElement(Avatar, { alt: "-", src: value, className: "img-table", variant: "square" });
1328
+ return /* @__PURE__ */ React9.createElement(Avatar, { alt: "-", src: value, className: "img-table", variant: "square" });
1312
1329
  } else if (column.isImage.isGuid) {
1313
- return /* @__PURE__ */ React8.createElement(
1330
+ return /* @__PURE__ */ React9.createElement(
1314
1331
  ImageTableComponent_default,
1315
1332
  {
1316
1333
  guid: value,
@@ -1336,7 +1353,7 @@ var SimpleTableComponent = (props) => {
1336
1353
  if (typeof value === "boolean") {
1337
1354
  return String(value);
1338
1355
  }
1339
- return /* @__PURE__ */ React8.createElement(Typography, { component: "span", sx: { whiteSpace: "break-spaces" } }, value);
1356
+ return /* @__PURE__ */ React9.createElement(Typography, { component: "span", sx: { whiteSpace: "break-spaces" } }, value);
1340
1357
  };
1341
1358
  const ObjectbyString = (o, s) => {
1342
1359
  s = s.replace(/\[(\w+)\]/g, ".$1");
@@ -1374,7 +1391,7 @@ var SimpleTableComponent = (props) => {
1374
1391
  rowEdit[fieldName] = e.target.value;
1375
1392
  setUpdate();
1376
1393
  };
1377
- return /* @__PURE__ */ React8.createElement(
1394
+ return /* @__PURE__ */ React9.createElement(
1378
1395
  TextFieldComponent,
1379
1396
  {
1380
1397
  ...editableCell.isTextField.textFieldProps,
@@ -1387,29 +1404,29 @@ var SimpleTableComponent = (props) => {
1387
1404
  return value;
1388
1405
  }
1389
1406
  };
1390
- return /* @__PURE__ */ React8.createElement(Box, { className: "table-simple-component" }, /* @__PURE__ */ React8.createElement(Paper, { className: "paper-container" }, props.isCheckTable && !props.isCheckTable.noCheckAllItems && /* @__PURE__ */ React8.createElement(Box, { sx: { display: { xs: "block", md: "none" } }, className: "checkbox-cell" }, /* @__PURE__ */ React8.createElement(
1407
+ return /* @__PURE__ */ React9.createElement(Box, { className: "table-simple-component" }, /* @__PURE__ */ React9.createElement(Paper, { className: "paper-container" }, props.isCheckTable && !props.isCheckTable.noCheckAllItems && /* @__PURE__ */ React9.createElement(Box, { sx: { display: { xs: "block", md: "none" } }, className: "checkbox-cell" }, /* @__PURE__ */ React9.createElement(
1391
1408
  Checkbox,
1392
1409
  {
1393
1410
  indeterminate: props.rows && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length > 0 && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length < props.rows.length,
1394
1411
  checked: props.rows && props.rows.length > 0 && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length === props.rows.length,
1395
1412
  onChange: handleSelectAllClick
1396
1413
  }
1397
- )), /* @__PURE__ */ React8.createElement(
1414
+ )), /* @__PURE__ */ React9.createElement(
1398
1415
  TableContainer,
1399
1416
  {
1400
1417
  className: `table-container ${props.isBordered ? "table-bordered" : "table-simple"}
1401
1418
  ${props.withScroll ? "with-scroll" : ""}`
1402
1419
  },
1403
- /* @__PURE__ */ React8.createElement(
1420
+ /* @__PURE__ */ React9.createElement(
1404
1421
  Table,
1405
1422
  {
1406
1423
  stickyHeader: true,
1407
1424
  "aria-label": "sticky table",
1408
1425
  className: props.loading ? "loading" : props.className ? props.className : ""
1409
1426
  },
1410
- /* @__PURE__ */ React8.createElement(TableHead, { sx: { display: { xs: "none", md: "table-header-group" } } }, /* @__PURE__ */ React8.createElement(TableRow, null, props.columns.map((column, columnIndex) => {
1427
+ /* @__PURE__ */ React9.createElement(TableHead, { sx: { display: { xs: "none", md: "table-header-group" } } }, /* @__PURE__ */ React9.createElement(TableRow, null, props.columns.map((column, columnIndex) => {
1411
1428
  if (column.id) {
1412
- return /* @__PURE__ */ React8.createElement(
1429
+ return /* @__PURE__ */ React9.createElement(
1413
1430
  TableCell,
1414
1431
  {
1415
1432
  className: "table-column",
@@ -1417,18 +1434,18 @@ var SimpleTableComponent = (props) => {
1417
1434
  align: column.align ? column.align : "center",
1418
1435
  style: { width: column.width, minWidth: column.minWidth, maxWidth: column.maxWidth }
1419
1436
  },
1420
- column.isCheck && !props.isCheckTable?.noCheckAllItems ? /* @__PURE__ */ React8.createElement(Box, { className: "checkbox-cell" }, /* @__PURE__ */ React8.createElement(
1437
+ column.isCheck && !props.isCheckTable?.noCheckAllItems ? /* @__PURE__ */ React9.createElement(Box, { className: "checkbox-cell" }, /* @__PURE__ */ React9.createElement(
1421
1438
  Checkbox,
1422
1439
  {
1423
1440
  indeterminate: props.rows && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length > 0 && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length < props.rows.length,
1424
1441
  checked: props.rows && props.rows.length > 0 && JSON.parse(JSON.stringify(props.isCheckTable?.rowsChecked)).length === props.rows.length,
1425
1442
  onChange: handleSelectAllClick
1426
1443
  }
1427
- )) : /* @__PURE__ */ React8.createElement(Box, { className: "table-header-cell" }, column.label)
1444
+ )) : /* @__PURE__ */ React9.createElement(Box, { className: "table-header-cell" }, column.label)
1428
1445
  );
1429
1446
  } else return null;
1430
1447
  }))),
1431
- /* @__PURE__ */ React8.createElement(TableBody, null, props.loading && /* @__PURE__ */ React8.createElement(TableRow, { className: "table-rows" }, /* @__PURE__ */ React8.createElement(
1448
+ /* @__PURE__ */ React9.createElement(TableBody, null, props.loading && /* @__PURE__ */ React9.createElement(TableRow, { className: "table-rows" }, /* @__PURE__ */ React9.createElement(
1432
1449
  TableCell,
1433
1450
  {
1434
1451
  colSpan: props.columns.length,
@@ -1438,11 +1455,11 @@ var SimpleTableComponent = (props) => {
1438
1455
  height: props.rows.length > 0 ? "auto" : "80px"
1439
1456
  }
1440
1457
  },
1441
- /* @__PURE__ */ React8.createElement(CircularProgress, { className: "circular-progress-main-color", color: "primary" })
1458
+ /* @__PURE__ */ React9.createElement(CircularProgress, { className: "circular-progress-main-color", color: "primary" })
1442
1459
  )), props.rows && props.rows.length > 0 ? props.rows.map((row, index) => {
1443
1460
  const rowColor = props.rowsColorColumn && ObjectbyString(row, props.rowsColorColumn.columnName) === props.rowsColorColumn.columnValue ? `row-color-${props.rowsColorColumn.columnValue}` : props.isStriped && props.rows.length > 1 && index % 2 == 0 ? "main-background-color table-striped" : "";
1444
1461
  const isRowSelected = props.isCheckTable?.rowsChecked && isSelected(row.id);
1445
- return /* @__PURE__ */ React8.createElement(
1462
+ return /* @__PURE__ */ React9.createElement(
1446
1463
  TableRow,
1447
1464
  {
1448
1465
  className: `table-rows ${rowColor} ${props.onClickRow || props.onClickRowData ? "row-click" : ""}`,
@@ -1456,7 +1473,7 @@ var SimpleTableComponent = (props) => {
1456
1473
  props.columns.map((column, columnIndex) => {
1457
1474
  const value = column.rowViewFormat ? checkFormat(row, column.rowViewFormat) : ObjectbyString(row, column.id ?? "");
1458
1475
  const isItemSelected = column.isCheck && isSelected(row.id);
1459
- return /* @__PURE__ */ React8.createElement(
1476
+ return /* @__PURE__ */ React9.createElement(
1460
1477
  TableCell,
1461
1478
  {
1462
1479
  className: `table-cell ${column.cellClassName ? column.cellClassName(row) : ""}`,
@@ -1469,8 +1486,8 @@ var SimpleTableComponent = (props) => {
1469
1486
  },
1470
1487
  onClick: () => !column.action && !column.isCheck && !column.isActiveFunction ? handleRowClick(row) : ""
1471
1488
  },
1472
- column.label !== "-" && /* @__PURE__ */ React8.createElement(Box, { sx: { display: { xs: "inline-block", md: "none" } }, className: "label-cell" }, column.label),
1473
- column.action && Object.keys(row).length > 0 ? /* @__PURE__ */ React8.createElement(Box, null, /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex" }, className: "actions" }, column.rowViewFormat ? /* @__PURE__ */ React8.createElement(Box, { className: "format-value" }, value) : column.action && column.action.map((action, i) => /* @__PURE__ */ React8.createElement(Box, { key: i }, action.onClick && /* @__PURE__ */ React8.createElement(
1489
+ column.label !== "-" && /* @__PURE__ */ React9.createElement(Box, { sx: { display: { xs: "inline-block", md: "none" } }, className: "label-cell" }, column.label),
1490
+ column.action && Object.keys(row).length > 0 ? /* @__PURE__ */ React9.createElement(Box, null, /* @__PURE__ */ React9.createElement(Box, { sx: { display: "flex" }, className: "actions" }, column.rowViewFormat ? /* @__PURE__ */ React9.createElement(Box, { className: "format-value" }, value) : column.action && column.action.map((action, i) => /* @__PURE__ */ React9.createElement(Box, { key: i }, action.onClick && /* @__PURE__ */ React9.createElement(
1474
1491
  Box,
1475
1492
  {
1476
1493
  className: "btn-action main-color-hover",
@@ -1480,7 +1497,7 @@ var SimpleTableComponent = (props) => {
1480
1497
  onClick: () => action.onClick && action.onClick(row)
1481
1498
  },
1482
1499
  action.children
1483
- ), action.onClickId && /* @__PURE__ */ React8.createElement(
1500
+ ), action.onClickId && /* @__PURE__ */ React9.createElement(
1484
1501
  Box,
1485
1502
  {
1486
1503
  className: "btn-action main-color-hover",
@@ -1490,7 +1507,7 @@ var SimpleTableComponent = (props) => {
1490
1507
  onClick: () => action.onClickId && action.onClickId(row.id)
1491
1508
  },
1492
1509
  action.children
1493
- ), !action.onClick && !action.onClickId && /* @__PURE__ */ React8.createElement(Box, { className: "btn-action" }, action.children))))) : column.isActiveFunction && Object.keys(row).length > 0 ? /* @__PURE__ */ React8.createElement(
1510
+ ), !action.onClick && !action.onClickId && /* @__PURE__ */ React9.createElement(Box, { className: "btn-action" }, action.children))))) : column.isActiveFunction && Object.keys(row).length > 0 ? /* @__PURE__ */ React9.createElement(
1494
1511
  Box,
1495
1512
  {
1496
1513
  className: "btn-action main-color-hover",
@@ -1500,30 +1517,30 @@ var SimpleTableComponent = (props) => {
1500
1517
  onClick: () => column.isActiveFunction && column.isActiveFunction.onClickId(row.id)
1501
1518
  },
1502
1519
  value ? column.isActiveFunction.activeIcon : column.isActiveFunction.disabledIcon
1503
- ) : column.isCheck && Object.keys(row).length > 0 ? /* @__PURE__ */ React8.createElement(Box, { className: "checkbox-cell" }, /* @__PURE__ */ React8.createElement(
1520
+ ) : column.isCheck && Object.keys(row).length > 0 ? /* @__PURE__ */ React9.createElement(Box, { className: "checkbox-cell" }, /* @__PURE__ */ React9.createElement(
1504
1521
  Checkbox,
1505
1522
  {
1506
1523
  checked: isItemSelected,
1507
1524
  slotProps: { input: { "aria-labelledby": row.id } },
1508
1525
  onChange: (event) => props.isCheckTable?.onCheckedAction ? onCheckAction(event, row.id) : onCheckSingleAction(event, row.id)
1509
1526
  }
1510
- )) : column.isEditableTableCell && Object.keys(row).length > 0 ? EditableTableCell(row, value, column.id, column.isEditableTableCell) : column.enumColumn && Object.keys(row).length > 0 ? /* @__PURE__ */ React8.createElement(
1527
+ )) : column.isEditableTableCell && Object.keys(row).length > 0 ? EditableTableCell(row, value, column.id, column.isEditableTableCell) : column.enumColumn && Object.keys(row).length > 0 ? /* @__PURE__ */ React9.createElement(
1511
1528
  Box,
1512
1529
  {
1513
1530
  className: `${column.enumColumn.hasColor ? `${column.enumColumn.enumSuffix ? `${value.toLowerCase()}-${column.enumColumn.enumSuffix.toLowerCase()}` : value.toString().toLowerCase()}-type-color` : ""} format-value`
1514
1531
  },
1515
1532
  formatValue(value, column)
1516
- ) : column.isBoolean && Object.keys(row).length > 0 ? /* @__PURE__ */ React8.createElement(
1533
+ ) : column.isBoolean && Object.keys(row).length > 0 ? /* @__PURE__ */ React9.createElement(
1517
1534
  Box,
1518
1535
  {
1519
1536
  className: `${column.isBoolean.hasColor ? `${column.isBoolean.enumSuffix ? `${value.toString().toLowerCase()}-${column.isBoolean.enumSuffix.toLowerCase()}` : value.toString().toLowerCase()}-boolean-color` : ""} format-value`
1520
1537
  },
1521
1538
  formatValue(value, column)
1522
- ) : /* @__PURE__ */ React8.createElement(Box, { className: `${column.isImage ? "" : "format-value"}` }, formatValue(value, column))
1539
+ ) : /* @__PURE__ */ React9.createElement(Box, { className: `${column.isImage ? "" : "format-value"}` }, formatValue(value, column))
1523
1540
  );
1524
1541
  })
1525
1542
  );
1526
- }) : !props.loading ? /* @__PURE__ */ React8.createElement(TableRow, null, /* @__PURE__ */ React8.createElement(TableCell, { colSpan: props.columns.length }, /* @__PURE__ */ React8.createElement(Box, null, props.values.NO_RESULTS_FOUND))) : /* @__PURE__ */ React8.createElement(TableRow, null))
1543
+ }) : !props.loading ? /* @__PURE__ */ React9.createElement(TableRow, null, /* @__PURE__ */ React9.createElement(TableCell, { colSpan: props.columns.length }, /* @__PURE__ */ React9.createElement(Box, null, props.values.NO_RESULTS_FOUND))) : /* @__PURE__ */ React9.createElement(TableRow, null))
1527
1544
  )
1528
1545
  )));
1529
1546
  };
@@ -1543,7 +1560,7 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
1543
1560
 
1544
1561
  // src/components/layouts/MainLayoutSimple/MainLayoutSimple.tsx
1545
1562
  var MainLayoutSimple = (props) => {
1546
- return /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex", flexDirection: "row" }, className: "main-layout-simple" }, props.lateralComponent && props.lateralComponent, /* @__PURE__ */ React8.createElement(Box, { className: "main-wrapper", sx: { bgcolor: "background.default" } }, props.headerComponent && props.headerComponent, /* @__PURE__ */ React8.createElement(Box, { className: `${props.lateralComponent ? "split-container" : ""}` }, /* @__PURE__ */ React8.createElement(Container, { maxWidth: false }, props.mainComponent))));
1563
+ return /* @__PURE__ */ React9.createElement(Box, { sx: { display: "flex", flexDirection: "row" }, className: "main-layout-simple" }, props.lateralComponent && props.lateralComponent, /* @__PURE__ */ React9.createElement(Box, { className: "main-wrapper", sx: { bgcolor: "background.default" } }, props.headerComponent && props.headerComponent, /* @__PURE__ */ React9.createElement(Box, { className: `${props.lateralComponent ? "split-container" : ""}` }, /* @__PURE__ */ React9.createElement(Container, { maxWidth: false }, props.mainComponent))));
1547
1564
  };
1548
1565
 
1549
1566
  // src/components/layouts/SplitLayout/SplitLayout.scss
@@ -1572,7 +1589,7 @@ var SplitLayout = ({
1572
1589
  children
1573
1590
  }) => {
1574
1591
  const heroImageUrl = imgUrl?.trim();
1575
- return /* @__PURE__ */ React8.createElement(Grid, { container: true, className: "split-layout", sx: { minHeight: "100vh" } }, heroImageUrl && /* @__PURE__ */ React8.createElement(
1592
+ return /* @__PURE__ */ React9.createElement(Grid, { container: true, className: "split-layout", sx: { minHeight: "100vh" } }, heroImageUrl && /* @__PURE__ */ React9.createElement(
1576
1593
  Grid,
1577
1594
  {
1578
1595
  component: "section",
@@ -1580,8 +1597,8 @@ var SplitLayout = ({
1580
1597
  sx: { display: { xs: "none", md: "block" }, position: "relative", overflow: "hidden" },
1581
1598
  "aria-hidden": "true"
1582
1599
  },
1583
- /* @__PURE__ */ React8.createElement("img", { src: heroImageUrl, alt: "split-layout-image", className: "split-layout__media-image" })
1584
- ), /* @__PURE__ */ React8.createElement(
1600
+ /* @__PURE__ */ React9.createElement("img", { src: heroImageUrl, alt: "split-layout-image", className: "split-layout__media-image" })
1601
+ ), /* @__PURE__ */ React9.createElement(
1585
1602
  Grid,
1586
1603
  {
1587
1604
  component: "section",
@@ -1595,16 +1612,16 @@ var SplitLayout = ({
1595
1612
  p: { xs: 2, sm: 2.5, md: 4 }
1596
1613
  }
1597
1614
  },
1598
- /* @__PURE__ */ React8.createElement(Container, { className: "split-layout__content-wrap" }, children)
1615
+ /* @__PURE__ */ React9.createElement(Container, { className: "split-layout__content-wrap" }, children)
1599
1616
  ));
1600
1617
  };
1601
1618
  var NavIcon = (props) => {
1602
1619
  if (props.iconClassName) {
1603
- return /* @__PURE__ */ React8.createElement(Box, { className: "pcoded-micon" }, /* @__PURE__ */ React8.createElement("i", { className: props.iconClassName }));
1620
+ return /* @__PURE__ */ React9.createElement(Box, { className: "pcoded-micon" }, /* @__PURE__ */ React9.createElement("i", { className: props.iconClassName }));
1604
1621
  } else if (props.iconComponent) {
1605
- return /* @__PURE__ */ React8.createElement(Box, { className: "pcoded-micon" }, props.iconComponent);
1622
+ return /* @__PURE__ */ React9.createElement(Box, { className: "pcoded-micon" }, props.iconComponent);
1606
1623
  }
1607
- return /* @__PURE__ */ React8.createElement(React8.Fragment, null);
1624
+ return /* @__PURE__ */ React9.createElement(React9.Fragment, null);
1608
1625
  };
1609
1626
 
1610
1627
  // src/components/navigation/VerticalNav/VerticalNavItem.tsx
@@ -1618,7 +1635,7 @@ var VerticalNavItem = (props) => {
1618
1635
  return null;
1619
1636
  }
1620
1637
  const isActive = !!matchPath({ path: `${props.item.route}/*` || "" }, pathname);
1621
- return /* @__PURE__ */ React8.createElement(NavLink, { to: props.item.route || "", className: `nav-link-item ${isActive ? "active" : ""}`, onClick: props.onHide }, /* @__PURE__ */ React8.createElement(
1638
+ return /* @__PURE__ */ React9.createElement(NavLink, { to: props.item.route || "", className: `nav-link-item ${isActive ? "active" : ""}`, onClick: props.onHide }, /* @__PURE__ */ React9.createElement(
1622
1639
  Box,
1623
1640
  {
1624
1641
  sx: (theme) => ({
@@ -1636,11 +1653,11 @@ var VerticalNavItem = (props) => {
1636
1653
  }),
1637
1654
  className: `nav-item ${isActive ? "main-background-color" : ""}`
1638
1655
  },
1639
- /* @__PURE__ */ React8.createElement(NavIcon, { iconClassName: props.item.iconClassName, iconComponent: props.item.iconComponent }),
1640
- /* @__PURE__ */ React8.createElement(Box, { className: `nav-item-text` }, props.item.title)
1656
+ /* @__PURE__ */ React9.createElement(NavIcon, { iconClassName: props.item.iconClassName, iconComponent: props.item.iconComponent }),
1657
+ /* @__PURE__ */ React9.createElement(Box, { className: `nav-item-text` }, props.item.title)
1641
1658
  ));
1642
1659
  };
1643
- var VerticalNavItem_default = React8.memo(VerticalNavItem);
1660
+ var VerticalNavItem_default = React9.memo(VerticalNavItem);
1644
1661
  var needsToBeOpened = (pathname, item) => {
1645
1662
  if (pathname) {
1646
1663
  return isUrlInChildren(item, pathname);
@@ -1681,19 +1698,19 @@ var VerticalNavItemCollapse = (props) => {
1681
1698
  if (!hasPermission) {
1682
1699
  return null;
1683
1700
  }
1684
- return /* @__PURE__ */ React8.createElement(Box, { className: "nav-item-collapse" }, /* @__PURE__ */ React8.createElement(
1701
+ return /* @__PURE__ */ React9.createElement(Box, { className: "nav-item-collapse" }, /* @__PURE__ */ React9.createElement(
1685
1702
  Box,
1686
1703
  {
1687
1704
  sx: { p: 2, display: "flex", alignContent: "flex-end", alignItems: "center" },
1688
1705
  className: `nav-item ${open ? "open" : ""} ${needsToBeOpened(pathname, props.item) ? "active" : ""}`,
1689
1706
  onClick: handleClick
1690
1707
  },
1691
- /* @__PURE__ */ React8.createElement(NavIcon, { iconClassName: props.item.iconClassName, iconComponent: props.item.iconComponent }),
1692
- /* @__PURE__ */ React8.createElement(Box, { className: `nav-item-text` }, props.item.title),
1693
- /* @__PURE__ */ React8.createElement(Box, { sx: { ml: "auto", display: "flex" } }, open ? /* @__PURE__ */ React8.createElement(ExpandMore, null) : /* @__PURE__ */ React8.createElement(ChevronRight, null))
1694
- ), props.item.children && Array.isArray(props.item.children) && /* @__PURE__ */ React8.createElement(Collapse, { in: open, className: "collapse-children" }, /* @__PURE__ */ React8.createElement(Box, null, /* @__PURE__ */ React8.createElement(Grid, { container: true }, props.item.children.map((item) => /* @__PURE__ */ React8.createElement(Grid, { key: item.id, size: 12 }, item.type === 1 /* Collapse */ && /* @__PURE__ */ React8.createElement(VerticalNavItemCollapse, { item, userPermisions: props.userPermisions, onHide: props.onHide }), item.type === 0 /* Item */ && /* @__PURE__ */ React8.createElement(VerticalNavItem_default, { item, userPermisions: props.userPermisions, onHide: props.onHide })))))));
1708
+ /* @__PURE__ */ React9.createElement(NavIcon, { iconClassName: props.item.iconClassName, iconComponent: props.item.iconComponent }),
1709
+ /* @__PURE__ */ React9.createElement(Box, { className: `nav-item-text` }, props.item.title),
1710
+ /* @__PURE__ */ React9.createElement(Box, { sx: { ml: "auto", display: "flex" } }, open ? /* @__PURE__ */ React9.createElement(ExpandMore, null) : /* @__PURE__ */ React9.createElement(ChevronRight, null))
1711
+ ), props.item.children && Array.isArray(props.item.children) && /* @__PURE__ */ React9.createElement(Collapse, { in: open, className: "collapse-children" }, /* @__PURE__ */ React9.createElement(Box, null, /* @__PURE__ */ React9.createElement(Grid, { container: true }, props.item.children.map((item) => /* @__PURE__ */ React9.createElement(Grid, { key: item.id, size: 12 }, item.type === 1 /* Collapse */ && /* @__PURE__ */ React9.createElement(VerticalNavItemCollapse, { item, userPermisions: props.userPermisions, onHide: props.onHide }), item.type === 0 /* Item */ && /* @__PURE__ */ React9.createElement(VerticalNavItem_default, { item, userPermisions: props.userPermisions, onHide: props.onHide })))))));
1695
1712
  };
1696
- var VerticalNavItemCollapse_default = React8.memo(VerticalNavItemCollapse);
1713
+ var VerticalNavItemCollapse_default = React9.memo(VerticalNavItemCollapse);
1697
1714
 
1698
1715
  // src/components/navigation/VerticalNav/VerticalNav.scss
1699
1716
  var css9 = `.vertical-navigation {
@@ -1755,7 +1772,7 @@ var NavigationType = /* @__PURE__ */ ((NavigationType2) => {
1755
1772
  return NavigationType2;
1756
1773
  })(NavigationType || {});
1757
1774
  var VerticalNav = (props) => {
1758
- return /* @__PURE__ */ React8.createElement(Grid, { container: true, className: "vertical-navigation" }, props.items.map((item) => /* @__PURE__ */ React8.createElement(Grid, { key: item.id, size: { xs: 12, md: 12 }, className: "grid-item-navigation" }, item.type === 1 /* Collapse */ && /* @__PURE__ */ React8.createElement(VerticalNavItemCollapse_default, { item, userPermisions: props.userPermisions, onHide: props.onHide }), item.type === 0 /* Item */ && /* @__PURE__ */ React8.createElement(VerticalNavItem_default, { item, userPermisions: props.userPermisions, onHide: props.onHide }))));
1775
+ return /* @__PURE__ */ React9.createElement(Grid, { container: true, className: "vertical-navigation" }, props.items.map((item) => /* @__PURE__ */ React9.createElement(Grid, { key: item.id, size: { xs: 12, md: 12 }, className: "grid-item-navigation" }, item.type === 1 /* Collapse */ && /* @__PURE__ */ React9.createElement(VerticalNavItemCollapse_default, { item, userPermisions: props.userPermisions, onHide: props.onHide }), item.type === 0 /* Item */ && /* @__PURE__ */ React9.createElement(VerticalNavItem_default, { item, userPermisions: props.userPermisions, onHide: props.onHide }))));
1759
1776
  };
1760
1777
 
1761
1778
  // src/components/navigation/components/UserInfo.scss
@@ -1767,21 +1784,31 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
1767
1784
 
1768
1785
  // src/components/navigation/components/UserInfo.tsx
1769
1786
  var UserInfo = (props) => {
1770
- const [anchorEl, setAnchorEl] = React8.useState(null);
1787
+ const [anchorEl, setAnchorEl] = React9.useState(null);
1771
1788
  const handleClick = (event) => {
1789
+ if (!event.currentTarget.contains(event.target)) return;
1772
1790
  setAnchorEl(event.currentTarget);
1773
1791
  };
1774
1792
  const handleClose = () => {
1775
1793
  setAnchorEl(null);
1776
1794
  };
1777
- return /* @__PURE__ */ React8.createElement(Box, { className: "user-info" }, /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex", alignItems: "center" } }, props.photoURL && props.photoURL !== void 0 ? /* @__PURE__ */ React8.createElement(Avatar, { className: "avatar-user", src: props.photoURL }) : /* @__PURE__ */ React8.createElement(
1778
- Avatar,
1795
+ return /* @__PURE__ */ React9.createElement(Box, { className: "user-info" }, /* @__PURE__ */ React9.createElement(
1796
+ Box,
1779
1797
  {
1780
- className: "avatar-user main-background-color",
1781
- sx: { bgcolor: "primary.main", color: "primary.contrastText" }
1798
+ sx: { display: "flex", alignItems: "center" },
1799
+ className: props.menuActions && props.menuActions.length > 0 ? "cursor-pointer" : void 0,
1800
+ onClick: props.menuActions && props.menuActions.length > 0 ? handleClick : void 0
1782
1801
  },
1783
- props.displayName.charAt(0).toUpperCase()
1784
- ), /* @__PURE__ */ React8.createElement(Box, { sx: { ml: 1, width: "100%", display: "flex", alignItems: "center", alignContent: "flex-end" } }, /* @__PURE__ */ React8.createElement(Box, { className: "user-name" }, props.displayName), props.menuActions && props.menuActions.length > 0 && /* @__PURE__ */ React8.createElement(Box, { sx: { ml: "auto", display: "flex" }, className: "cursor-pointer" }, /* @__PURE__ */ React8.createElement(ExpandMore, { onClick: handleClick }), /* @__PURE__ */ React8.createElement(Menu, { anchorEl, keepMounted: true, open: Boolean(anchorEl), onClose: handleClose }, props.menuActions.map((item, i) => /* @__PURE__ */ React8.createElement(MenuItem, { key: i, onClick: item.action }, item.title)))))));
1802
+ props.photoURL && props.photoURL !== void 0 ? /* @__PURE__ */ React9.createElement(Avatar, { className: "avatar-user", src: props.photoURL }) : /* @__PURE__ */ React9.createElement(
1803
+ Avatar,
1804
+ {
1805
+ className: "avatar-user main-background-color",
1806
+ sx: { bgcolor: "primary.main", color: "primary.contrastText" }
1807
+ },
1808
+ props.displayName.charAt(0).toUpperCase()
1809
+ ),
1810
+ /* @__PURE__ */ React9.createElement(Box, { sx: { ml: 1, width: "100%", display: "flex", alignItems: "center", alignContent: "flex-end" } }, /* @__PURE__ */ React9.createElement(Box, { className: "user-name" }, props.displayName), props.menuActions && props.menuActions.length > 0 && /* @__PURE__ */ React9.createElement(Box, { sx: { ml: "auto", display: "flex" }, className: "cursor-pointer" }, /* @__PURE__ */ React9.createElement(ExpandMore, null), /* @__PURE__ */ React9.createElement(Menu, { anchorEl, keepMounted: true, open: Boolean(anchorEl), onClose: handleClose }, props.menuActions.map((item, i) => /* @__PURE__ */ React9.createElement(MenuItem, { key: i, onClick: item.action }, item.title)))))
1811
+ ));
1785
1812
  };
1786
1813
  var AppBreadcrumbs = (props) => {
1787
1814
  const matches = useMatches();
@@ -1794,26 +1821,29 @@ var AppBreadcrumbs = (props) => {
1794
1821
  if (!crumbs.length) {
1795
1822
  return null;
1796
1823
  }
1797
- return /* @__PURE__ */ React8.createElement(Breadcrumbs, { "aria-label": "breadcrumb", separator: props.separator, maxItems: props.maxItems }, crumbs.map((crumb, index) => {
1824
+ return /* @__PURE__ */ React9.createElement(Breadcrumbs, { "aria-label": "breadcrumb", separator: props.separator, maxItems: props.maxItems }, crumbs.map((crumb, index) => {
1798
1825
  const isLast = index === crumbs.length - 1;
1799
- return isLast || !crumb.to ? /* @__PURE__ */ React8.createElement(Typography, { key: index, variant: "body2", sx: { color: isLast ? "text.primary" : "text.secondary" } }, crumb.label) : /* @__PURE__ */ React8.createElement(Link, { key: index, component: Link$1, to: crumb.to, underline: "hover", variant: "body2", color: "inherit" }, crumb.label);
1826
+ return isLast || !crumb.to ? /* @__PURE__ */ React9.createElement(Typography, { key: index, variant: "body2", sx: { color: isLast ? "text.primary" : "text.secondary" } }, crumb.label) : /* @__PURE__ */ React9.createElement(Link, { key: index, component: Link$1, to: crumb.to, underline: "hover", variant: "body2", color: "inherit" }, crumb.label);
1800
1827
  }));
1801
1828
  };
1802
1829
 
1803
1830
  // src/components/layouts/Standard/AppSidebar/AppSidebar.scss
1804
1831
  var css11 = `.app-sidebar {
1805
1832
  width: 17rem;
1806
- background-color: #3f4d67;
1807
- box-shadow: 1px 0 20px 0 #3f4d67;
1808
1833
  z-index: 1029;
1809
- color: white;
1810
1834
  }
1811
- /*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFwcFNpZGViYXIuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJO0VBQ0E7RUFDQTtFQUNBO0VBQ0EiLCJzb3VyY2VzQ29udGVudCI6WyIuYXBwLXNpZGViYXJ7XHJcbiAgICB3aWR0aDogMTdyZW07XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjM2Y0ZDY3O1xyXG4gICAgYm94LXNoYWRvdzogMXB4IDAgMjBweCAwICMzZjRkNjc7XHJcbiAgICB6LWluZGV4OiAxMDI5O1xyXG4gICAgY29sb3I6IHdoaXRlO1xyXG59Il19 */`;
1835
+ /*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFwcFNpZGViYXIuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJO0VBQ0EiLCJzb3VyY2VzQ29udGVudCI6WyIuYXBwLXNpZGViYXJ7XHJcbiAgICB3aWR0aDogMTdyZW07XHJcbiAgICB6LWluZGV4OiAxMDI5O1xyXG59XHJcbiJdfQ== */`;
1812
1836
  document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(css11));
1813
1837
 
1814
1838
  // src/components/layouts/Standard/AppSidebar/AppSidebar.tsx
1839
+ var sidebarSx = (theme) => ({
1840
+ height: "100%",
1841
+ backgroundColor: theme.palette.secondary.main,
1842
+ color: theme.palette.secondary.contrastText,
1843
+ boxShadow: `1px 0 20px 0 ${theme.palette.secondary.main}`
1844
+ });
1815
1845
  var AppSidebar = (props) => {
1816
- return /* @__PURE__ */ React8.createElement(React8.Fragment, null, /* @__PURE__ */ React8.createElement(
1846
+ return /* @__PURE__ */ React9.createElement(React9.Fragment, null, /* @__PURE__ */ React9.createElement(
1817
1847
  Drawer,
1818
1848
  {
1819
1849
  anchor: "left",
@@ -1822,8 +1852,8 @@ var AppSidebar = (props) => {
1822
1852
  onClose: props.onHide,
1823
1853
  sx: { display: { xs: "block", lg: "none" } }
1824
1854
  },
1825
- /* @__PURE__ */ React8.createElement(Box, { sx: { height: "100%" }, className: "app-sidebar" }, /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex", flexDirection: "column", height: "100vh" } }, props.headerComponents && /* @__PURE__ */ React8.createElement(React8.Fragment, null, /* @__PURE__ */ React8.createElement(Box, { sx: { p: "12px", flexShrink: 0 } }, props.headerComponents), /* @__PURE__ */ React8.createElement(Divider, null)), /* @__PURE__ */ React8.createElement(Box, { sx: { overflow: "auto" } }, props.children), props.footerComponents && /* @__PURE__ */ React8.createElement(Box, { sx: { mt: "auto", flexShrink: 0 } }, props.footerComponents)))
1826
- ), /* @__PURE__ */ React8.createElement(Box, { sx: { display: { xs: "none", lg: "block" } } }, /* @__PURE__ */ React8.createElement(Box, { sx: { height: "100%" }, className: "app-sidebar" }, /* @__PURE__ */ React8.createElement(Box, { sx: { position: "sticky", top: "0" } }, /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex", flexDirection: "column", height: "100vh" } }, props.headerComponents && /* @__PURE__ */ React8.createElement(React8.Fragment, null, /* @__PURE__ */ React8.createElement(Box, { sx: { p: "12px", flexShrink: 0 } }, props.headerComponents), /* @__PURE__ */ React8.createElement(Divider, null)), /* @__PURE__ */ React8.createElement(Box, { sx: { overflow: "auto" } }, props.children), props.footerComponents && /* @__PURE__ */ React8.createElement(Box, { sx: { mt: "auto", flexShrink: 0 } }, props.footerComponents))))));
1855
+ /* @__PURE__ */ React9.createElement(Box, { sx: sidebarSx, className: "app-sidebar" }, /* @__PURE__ */ React9.createElement(Box, { sx: { display: "flex", flexDirection: "column", height: "100vh" } }, props.headerComponents && /* @__PURE__ */ React9.createElement(React9.Fragment, null, /* @__PURE__ */ React9.createElement(Box, { sx: { p: "12px", flexShrink: 0 } }, props.headerComponents), /* @__PURE__ */ React9.createElement(Divider, null)), /* @__PURE__ */ React9.createElement(Box, { sx: { overflow: "auto" } }, props.children), props.footerComponents && /* @__PURE__ */ React9.createElement(Box, { sx: { mt: "auto", flexShrink: 0 } }, props.footerComponents)))
1856
+ ), /* @__PURE__ */ React9.createElement(Box, { sx: { display: { xs: "none", lg: "block" } } }, /* @__PURE__ */ React9.createElement(Box, { sx: sidebarSx, className: "app-sidebar" }, /* @__PURE__ */ React9.createElement(Box, { sx: { position: "sticky", top: "0" } }, /* @__PURE__ */ React9.createElement(Box, { sx: { display: "flex", flexDirection: "column", height: "100vh" } }, props.headerComponents && /* @__PURE__ */ React9.createElement(React9.Fragment, null, /* @__PURE__ */ React9.createElement(Box, { sx: { p: "12px", flexShrink: 0 } }, props.headerComponents), /* @__PURE__ */ React9.createElement(Divider, null)), /* @__PURE__ */ React9.createElement(Box, { sx: { overflow: "auto" } }, props.children), props.footerComponents && /* @__PURE__ */ React9.createElement(Box, { sx: { mt: "auto", flexShrink: 0 } }, props.footerComponents))))));
1827
1857
  };
1828
1858
 
1829
1859
  // src/components/layouts/DrawerLayout/DrawerSidebar/DrawerSidebar.scss
@@ -1839,7 +1869,7 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
1839
1869
 
1840
1870
  // src/components/layouts/DrawerLayout/DrawerSidebar/DrawerSidebar.tsx
1841
1871
  var DrawerSidebar = (props) => {
1842
- return /* @__PURE__ */ React8.createElement(Drawer, { anchor: "left", className: "drawer-nav", open: props.open, onClose: props.onHide }, /* @__PURE__ */ React8.createElement(Box, { sx: { height: "100%" }, className: "drawer-sidebar" }, /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex", flexDirection: "column", height: "100vh" } }, props.headerComponents && /* @__PURE__ */ React8.createElement(React8.Fragment, null, /* @__PURE__ */ React8.createElement(Box, { sx: { p: "12px", flexShrink: 0 } }, props.headerComponents), /* @__PURE__ */ React8.createElement(Divider, null)), /* @__PURE__ */ React8.createElement(Box, { sx: { overflow: "auto" } }, props.children), props.footerComponents && /* @__PURE__ */ React8.createElement(Box, { sx: { mt: "auto", flexShrink: 0 } }, props.footerComponents))));
1872
+ return /* @__PURE__ */ React9.createElement(Drawer, { anchor: "left", className: "drawer-nav", open: props.open, onClose: props.onHide }, /* @__PURE__ */ React9.createElement(Box, { sx: { height: "100%" }, className: "drawer-sidebar" }, /* @__PURE__ */ React9.createElement(Box, { sx: { display: "flex", flexDirection: "column", height: "100vh" } }, props.headerComponents && /* @__PURE__ */ React9.createElement(React9.Fragment, null, /* @__PURE__ */ React9.createElement(Box, { sx: { p: "12px", flexShrink: 0 } }, props.headerComponents), /* @__PURE__ */ React9.createElement(Divider, null)), /* @__PURE__ */ React9.createElement(Box, { sx: { overflow: "auto" } }, props.children), props.footerComponents && /* @__PURE__ */ React9.createElement(Box, { sx: { mt: "auto", flexShrink: 0 } }, props.footerComponents))));
1843
1873
  };
1844
1874
 
1845
1875
  // src/components/layouts/Standard/AppHeader/AppHeader.scss
@@ -1860,7 +1890,7 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
1860
1890
 
1861
1891
  // src/components/layouts/Standard/AppHeader/AppHeader.tsx
1862
1892
  var AppHeader = (props) => {
1863
- return /* @__PURE__ */ React8.createElement(
1893
+ return /* @__PURE__ */ React9.createElement(
1864
1894
  AppBar,
1865
1895
  {
1866
1896
  position: "sticky",
@@ -1869,7 +1899,7 @@ var AppHeader = (props) => {
1869
1899
  },
1870
1900
  className: `app-bar main-background-body ${props.className ?? ""}`
1871
1901
  },
1872
- /* @__PURE__ */ React8.createElement(Toolbar, { className: "app-toolbar" }, props.handleDrawerOpen && /* @__PURE__ */ React8.createElement(
1902
+ /* @__PURE__ */ React9.createElement(Toolbar, { className: "app-toolbar" }, props.handleDrawerOpen && /* @__PURE__ */ React9.createElement(
1873
1903
  IconButton,
1874
1904
  {
1875
1905
  sx: { display: { xs: `inline-flex`, lg: props.drawerVisible ? `inline-flex` : `none` } },
@@ -1878,7 +1908,7 @@ var AppHeader = (props) => {
1878
1908
  "aria-label": "open drawer",
1879
1909
  onClick: props.handleDrawerOpen
1880
1910
  },
1881
- /* @__PURE__ */ React8.createElement(MenuIcon, null)
1911
+ /* @__PURE__ */ React9.createElement(MenuIcon, null)
1882
1912
  ), props.children)
1883
1913
  );
1884
1914
  };
@@ -1909,11 +1939,10 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
1909
1939
  // src/components/fields/ButtonComponent/ButtonComponent.tsx
1910
1940
  var ButtonComponent = ({ component = "button", ...rest }) => {
1911
1941
  const props = { component, ...rest };
1912
- return /* @__PURE__ */ React8.createElement(
1942
+ return /* @__PURE__ */ React9.createElement(
1913
1943
  Button,
1914
1944
  {
1915
1945
  type: props.type && props.type,
1916
- variant: "contained",
1917
1946
  form: props.form && props.form,
1918
1947
  className: `${props.reverseColors ? "btn-reverse-color main-color main-border-color" : "main-background-color"} ${props.loading ? "loading-button" : ""} ${props.className ? props.className : ""}`,
1919
1948
  sx: props.reverseColors ? {
@@ -1935,7 +1964,7 @@ var ButtonComponent = ({ component = "button", ...rest }) => {
1935
1964
  disabled: props.loading || props.disabled,
1936
1965
  component: props.component
1937
1966
  },
1938
- props.loading ? /* @__PURE__ */ React8.createElement(
1967
+ props.loading ? /* @__PURE__ */ React9.createElement(
1939
1968
  CircularProgress,
1940
1969
  {
1941
1970
  className: `${props.reverseColors ? "circular-progress-main-color" : ""}`,
@@ -2019,7 +2048,7 @@ var TextSimpleComponent = ({
2019
2048
  }) => {
2020
2049
  const props = { noBorders, isFormLabel, ...rest };
2021
2050
  function SkeletonCompleteDefault(skeleton) {
2022
- return skeleton.mineSkeleton ?? /* @__PURE__ */ React8.createElement(
2051
+ return skeleton.mineSkeleton ?? /* @__PURE__ */ React9.createElement(
2023
2052
  Skeleton,
2024
2053
  {
2025
2054
  width: props.fullWidth ? "auto" : "200px",
@@ -2029,7 +2058,7 @@ var TextSimpleComponent = ({
2029
2058
  }
2030
2059
  );
2031
2060
  }
2032
- return /* @__PURE__ */ React8.createElement(
2061
+ return /* @__PURE__ */ React9.createElement(
2033
2062
  Box,
2034
2063
  {
2035
2064
  className: "text-simple-component",
@@ -2039,8 +2068,8 @@ var TextSimpleComponent = ({
2039
2068
  },
2040
2069
  ...props.componentBoxProps
2041
2070
  },
2042
- props.skeletonLabel ? /* @__PURE__ */ React8.createElement(Skeleton, { width: "10%", animation: "wave" }) : props.label ? props.isFormLabel ? /* @__PURE__ */ React8.createElement(FormLabel, { className: `${props.classNameLabel ?? ""}` }, props.label) : /* @__PURE__ */ React8.createElement(Box, { className: `${props.classNameLabel ?? ""}`, ...props.labelBoxProps }, props.label) : /* @__PURE__ */ React8.createElement(React8.Fragment, null),
2043
- /* @__PURE__ */ React8.createElement(
2071
+ props.skeletonLabel ? /* @__PURE__ */ React9.createElement(Skeleton, { width: "10%", animation: "wave" }) : props.label ? props.isFormLabel ? /* @__PURE__ */ React9.createElement(FormLabel, { className: `${props.classNameLabel ?? ""}` }, props.label) : /* @__PURE__ */ React9.createElement(Box, { className: `${props.classNameLabel ?? ""}`, ...props.labelBoxProps }, props.label) : /* @__PURE__ */ React9.createElement(React9.Fragment, null),
2072
+ /* @__PURE__ */ React9.createElement(
2044
2073
  Box,
2045
2074
  {
2046
2075
  sx: {
@@ -2054,15 +2083,15 @@ var TextSimpleComponent = ({
2054
2083
  ${props.noBorders || props.skeletonValue && props.skeletonValue.useSkeleton ? "no-border" : ""} ${props.error ? "has-error-border" : ""} ${props.startIcon ? "icon-padding" : props.endIcon ? "end-icon-padding" : ""}`,
2055
2084
  ...props.valueBoxProps
2056
2085
  },
2057
- props.skeletonValue && props.skeletonValue.useSkeleton ? /* @__PURE__ */ React8.createElement(SkeletonCompleteDefault, { ...props.skeletonValue }) : /* @__PURE__ */ React8.createElement(React8.Fragment, null, props.startIcon && /* @__PURE__ */ React8.createElement(Box, { sx: { mr: 1, display: "flex" } }, props.startIcon), props.isLoading ? /* @__PURE__ */ React8.createElement(CircularProgress, { className: "circular-progress-main-color", size: 20, color: "primary" }) : /* @__PURE__ */ React8.createElement(Box, { sx: { width: props.fullWidth ? "100%" : "auto" } }, props.value), props.endIcon && /* @__PURE__ */ React8.createElement(Box, { sx: { ml: props.fullWidth ? "auto" : "1", display: "flex" } }, props.endIcon))
2086
+ props.skeletonValue && props.skeletonValue.useSkeleton ? /* @__PURE__ */ React9.createElement(SkeletonCompleteDefault, { ...props.skeletonValue }) : /* @__PURE__ */ React9.createElement(React9.Fragment, null, props.startIcon && /* @__PURE__ */ React9.createElement(Box, { sx: { mr: 1, display: "flex" } }, props.startIcon), props.isLoading ? /* @__PURE__ */ React9.createElement(CircularProgress, { className: "circular-progress-main-color", size: 20, color: "primary" }) : /* @__PURE__ */ React9.createElement(Box, { sx: { width: props.fullWidth ? "100%" : "auto" } }, props.value), props.endIcon && /* @__PURE__ */ React9.createElement(Box, { sx: { ml: props.fullWidth ? "auto" : "1", display: "flex" } }, props.endIcon))
2058
2087
  ),
2059
- props.helperText && /* @__PURE__ */ React8.createElement(
2088
+ props.helperText && /* @__PURE__ */ React9.createElement(
2060
2089
  Box,
2061
2090
  {
2062
2091
  className: `helper-text ${props.error ? "has-error" : ""} ${props.noBorders || props.skeletonValue && props.skeletonValue.useSkeleton ? "no-border" : ""}`,
2063
2092
  ...props.helperBoxProps
2064
2093
  },
2065
- props.skeletonValue && props.skeletonValue.useSkeleton ? /* @__PURE__ */ React8.createElement(Skeleton, { width: "15%", animation: "wave" }) : props.helperText
2094
+ props.skeletonValue && props.skeletonValue.useSkeleton ? /* @__PURE__ */ React9.createElement(Skeleton, { width: "15%", animation: "wave" }) : props.helperText
2066
2095
  )
2067
2096
  );
2068
2097
  };
@@ -2171,7 +2200,7 @@ var SelectField = ({
2171
2200
  const getOptions = () => {
2172
2201
  return props.addExtraOption ? [props.addExtraOption, ...props.options] : props.options;
2173
2202
  };
2174
- return /* @__PURE__ */ React8.createElement(
2203
+ return /* @__PURE__ */ React9.createElement(
2175
2204
  Box,
2176
2205
  {
2177
2206
  className: "select-field",
@@ -2180,8 +2209,8 @@ var SelectField = ({
2180
2209
  flexDirection: "column"
2181
2210
  }
2182
2211
  },
2183
- props.label && /* @__PURE__ */ React8.createElement(FormLabel, { className: `${props.invalid ? "Mui-error" : ""}` }, props.label),
2184
- /* @__PURE__ */ React8.createElement(
2212
+ props.label && /* @__PURE__ */ React9.createElement(FormLabel, { className: `${props.invalid ? "Mui-error" : ""}` }, props.label),
2213
+ /* @__PURE__ */ React9.createElement(
2185
2214
  Select,
2186
2215
  {
2187
2216
  defaultValue: props.defaultOptions,
@@ -2213,7 +2242,7 @@ var SelectField = ({
2213
2242
  styles: buildReactSelectStyles(theme)
2214
2243
  }
2215
2244
  ),
2216
- props.helperText && /* @__PURE__ */ React8.createElement(FormHelperText, { error: props.invalid, className: `helper-text ${props.invalid ? "has-error Mui-error" : ""}` }, props.helperText)
2245
+ props.helperText && /* @__PURE__ */ React9.createElement(FormHelperText, { error: props.invalid, className: `helper-text ${props.invalid ? "has-error Mui-error" : ""}` }, props.helperText)
2217
2246
  );
2218
2247
  };
2219
2248
  var SelectAsyncField = ({
@@ -2255,7 +2284,7 @@ var SelectAsyncField = ({
2255
2284
  }
2256
2285
  };
2257
2286
  };
2258
- return /* @__PURE__ */ React8.createElement(
2287
+ return /* @__PURE__ */ React9.createElement(
2259
2288
  Box,
2260
2289
  {
2261
2290
  className: "select-field",
@@ -2264,8 +2293,8 @@ var SelectAsyncField = ({
2264
2293
  flexDirection: "column"
2265
2294
  }
2266
2295
  },
2267
- props.label && /* @__PURE__ */ React8.createElement(FormLabel, { className: `${props.invalid ? "Mui-error" : ""}` }, props.label),
2268
- /* @__PURE__ */ React8.createElement(
2296
+ props.label && /* @__PURE__ */ React9.createElement(FormLabel, { className: `${props.invalid ? "Mui-error" : ""}` }, props.label),
2297
+ /* @__PURE__ */ React9.createElement(
2269
2298
  AsyncPaginate,
2270
2299
  {
2271
2300
  defaultValue: props.defaultOptions,
@@ -2299,7 +2328,7 @@ var SelectAsyncField = ({
2299
2328
  styles: buildReactSelectStyles(theme)
2300
2329
  }
2301
2330
  ),
2302
- props.helperText && /* @__PURE__ */ React8.createElement(FormHelperText, { error: props.invalid, className: `helper-text ${props.invalid ? "has-error Mui-error" : ""}` }, props.helperText)
2331
+ props.helperText && /* @__PURE__ */ React9.createElement(FormHelperText, { error: props.invalid, className: `helper-text ${props.invalid ? "has-error Mui-error" : ""}` }, props.helperText)
2303
2332
  );
2304
2333
  };
2305
2334
  var LoginForm = (props) => {
@@ -2320,12 +2349,12 @@ var LoginForm = (props) => {
2320
2349
  } = useForm({
2321
2350
  resolver: yupResolver(LoginSchema)
2322
2351
  });
2323
- return /* @__PURE__ */ React8.createElement(Box, { sx: { m: 2 } }, props.topComponent && /* @__PURE__ */ React8.createElement(Box, { sx: { m: 2 } }, props.topComponent), /* @__PURE__ */ React8.createElement(Box, { sx: { my: 2 } }, /* @__PURE__ */ React8.createElement(Stack, { direction: "column", spacing: 1 }, /* @__PURE__ */ React8.createElement(Box, null, /* @__PURE__ */ React8.createElement(
2352
+ return /* @__PURE__ */ React9.createElement(Box, { sx: { m: 2 } }, props.topComponent && /* @__PURE__ */ React9.createElement(Box, { sx: { m: 2 } }, props.topComponent), /* @__PURE__ */ React9.createElement(Box, { sx: { my: 2 } }, /* @__PURE__ */ React9.createElement(Stack, { direction: "column", spacing: 1 }, /* @__PURE__ */ React9.createElement(Box, null, /* @__PURE__ */ React9.createElement(
2324
2353
  Controller,
2325
2354
  {
2326
2355
  control,
2327
2356
  name: "login",
2328
- render: ({ field: { onChange, name, ref: ref2 } }) => /* @__PURE__ */ React8.createElement(
2357
+ render: ({ field: { onChange, name, ref: ref2 } }) => /* @__PURE__ */ React9.createElement(
2329
2358
  TextFieldComponent,
2330
2359
  {
2331
2360
  label: props.valuesText.labelLogin,
@@ -2349,12 +2378,12 @@ var LoginForm = (props) => {
2349
2378
  }
2350
2379
  )
2351
2380
  }
2352
- )), /* @__PURE__ */ React8.createElement(Box, null, /* @__PURE__ */ React8.createElement(
2381
+ )), /* @__PURE__ */ React9.createElement(Box, null, /* @__PURE__ */ React9.createElement(
2353
2382
  Controller,
2354
2383
  {
2355
2384
  control,
2356
2385
  name: "password",
2357
- render: ({ field: { onChange, name, ref: ref2 } }) => /* @__PURE__ */ React8.createElement(
2386
+ render: ({ field: { onChange, name, ref: ref2 } }) => /* @__PURE__ */ React9.createElement(
2358
2387
  TextFieldComponent,
2359
2388
  {
2360
2389
  label: props.valuesText.labelPassword,
@@ -2375,11 +2404,11 @@ var LoginForm = (props) => {
2375
2404
  }
2376
2405
  }
2377
2406
  },
2378
- endIcon: /* @__PURE__ */ React8.createElement(IconButton, { "aria-label": "toggle password visibility", onClick: handleClickShowPassword, size: "small" }, showPassword ? /* @__PURE__ */ React8.createElement(Visibility, null) : /* @__PURE__ */ React8.createElement(VisibilityOff, null))
2407
+ endIcon: /* @__PURE__ */ React9.createElement(IconButton, { "aria-label": "toggle password visibility", onClick: handleClickShowPassword, size: "small" }, showPassword ? /* @__PURE__ */ React9.createElement(Visibility, null) : /* @__PURE__ */ React9.createElement(VisibilityOff, null))
2379
2408
  }
2380
2409
  )
2381
2410
  }
2382
- )))), /* @__PURE__ */ React8.createElement(Box, { sx: { mb: 4 } }, /* @__PURE__ */ React8.createElement(
2411
+ )))), /* @__PURE__ */ React9.createElement(Box, { sx: { mb: 4 } }, /* @__PURE__ */ React9.createElement(
2383
2412
  ButtonComponent,
2384
2413
  {
2385
2414
  label: props.valuesText.buttonText,
@@ -2387,7 +2416,7 @@ var LoginForm = (props) => {
2387
2416
  className: "btn-login",
2388
2417
  onClick: handleSubmit(props.onClick)
2389
2418
  }
2390
- )), props.bottomComponent && /* @__PURE__ */ React8.createElement(Box, null, props.bottomComponent));
2419
+ )), props.bottomComponent && /* @__PURE__ */ React9.createElement(Box, null, props.bottomComponent));
2391
2420
  };
2392
2421
  var ChangePasswordForm = (props) => {
2393
2422
  const validationSchema = yup2.object().shape({
@@ -2413,12 +2442,12 @@ var ChangePasswordForm = (props) => {
2413
2442
  const handleMouseDownPassword = (event) => {
2414
2443
  event.preventDefault();
2415
2444
  };
2416
- return /* @__PURE__ */ React8.createElement(Box, { sx: { m: 2 } }, props.topComponent && /* @__PURE__ */ React8.createElement(Box, { sx: { m: 2 } }, props.topComponent), /* @__PURE__ */ React8.createElement(Box, { sx: { my: 2 } }, /* @__PURE__ */ React8.createElement(Stack, { direction: "column", spacing: 1 }, /* @__PURE__ */ React8.createElement(Box, null, /* @__PURE__ */ React8.createElement(
2445
+ return /* @__PURE__ */ React9.createElement(Box, { sx: { m: 2 } }, props.topComponent && /* @__PURE__ */ React9.createElement(Box, { sx: { m: 2 } }, props.topComponent), /* @__PURE__ */ React9.createElement(Box, { sx: { my: 2 } }, /* @__PURE__ */ React9.createElement(Stack, { direction: "column", spacing: 1 }, /* @__PURE__ */ React9.createElement(Box, null, /* @__PURE__ */ React9.createElement(
2417
2446
  Controller,
2418
2447
  {
2419
2448
  control,
2420
2449
  name: "password",
2421
- render: ({ field: { onChange, name, ref: ref2 } }) => /* @__PURE__ */ React8.createElement(
2450
+ render: ({ field: { onChange, name, ref: ref2 } }) => /* @__PURE__ */ React9.createElement(
2422
2451
  TextFieldComponent,
2423
2452
  {
2424
2453
  label: props.valuesText.labelPassword,
@@ -2439,7 +2468,7 @@ var ChangePasswordForm = (props) => {
2439
2468
  }
2440
2469
  }
2441
2470
  },
2442
- endIcon: /* @__PURE__ */ React8.createElement(
2471
+ endIcon: /* @__PURE__ */ React9.createElement(
2443
2472
  IconButton,
2444
2473
  {
2445
2474
  "aria-label": "toggle password visibility",
@@ -2447,17 +2476,17 @@ var ChangePasswordForm = (props) => {
2447
2476
  onMouseDown: handleMouseDownPassword,
2448
2477
  size: "small"
2449
2478
  },
2450
- showPassword ? /* @__PURE__ */ React8.createElement(Visibility, null) : /* @__PURE__ */ React8.createElement(VisibilityOff, null)
2479
+ showPassword ? /* @__PURE__ */ React9.createElement(Visibility, null) : /* @__PURE__ */ React9.createElement(VisibilityOff, null)
2451
2480
  )
2452
2481
  }
2453
2482
  )
2454
2483
  }
2455
- )), /* @__PURE__ */ React8.createElement(Box, null, /* @__PURE__ */ React8.createElement(
2484
+ )), /* @__PURE__ */ React9.createElement(Box, null, /* @__PURE__ */ React9.createElement(
2456
2485
  Controller,
2457
2486
  {
2458
2487
  control,
2459
2488
  name: "passwordConfirmation",
2460
- render: ({ field: { onChange, name, ref: ref2 } }) => /* @__PURE__ */ React8.createElement(
2489
+ render: ({ field: { onChange, name, ref: ref2 } }) => /* @__PURE__ */ React9.createElement(
2461
2490
  TextFieldComponent,
2462
2491
  {
2463
2492
  label: props.valuesText.labelSamePassword,
@@ -2478,7 +2507,7 @@ var ChangePasswordForm = (props) => {
2478
2507
  }
2479
2508
  }
2480
2509
  },
2481
- endIcon: /* @__PURE__ */ React8.createElement(
2510
+ endIcon: /* @__PURE__ */ React9.createElement(
2482
2511
  IconButton,
2483
2512
  {
2484
2513
  "aria-label": "toggle password visibility",
@@ -2486,12 +2515,12 @@ var ChangePasswordForm = (props) => {
2486
2515
  onMouseDown: handleMouseDownPassword,
2487
2516
  size: "small"
2488
2517
  },
2489
- showPassword ? /* @__PURE__ */ React8.createElement(Visibility, null) : /* @__PURE__ */ React8.createElement(VisibilityOff, null)
2518
+ showPassword ? /* @__PURE__ */ React9.createElement(Visibility, null) : /* @__PURE__ */ React9.createElement(VisibilityOff, null)
2490
2519
  )
2491
2520
  }
2492
2521
  )
2493
2522
  }
2494
- )))), /* @__PURE__ */ React8.createElement(Box, { sx: { mb: 4 } }, /* @__PURE__ */ React8.createElement(
2523
+ )))), /* @__PURE__ */ React9.createElement(Box, { sx: { mb: 4 } }, /* @__PURE__ */ React9.createElement(
2495
2524
  ButtonComponent,
2496
2525
  {
2497
2526
  label: props.valuesText.buttonText,
@@ -2499,7 +2528,7 @@ var ChangePasswordForm = (props) => {
2499
2528
  onClick: handleSubmit(props.onClick),
2500
2529
  loading: props.loading
2501
2530
  }
2502
- )), props.bottomComponent && /* @__PURE__ */ React8.createElement(Box, null, props.bottomComponent));
2531
+ )), props.bottomComponent && /* @__PURE__ */ React9.createElement(Box, null, props.bottomComponent));
2503
2532
  };
2504
2533
  var ResetPasswordForm = (props) => {
2505
2534
  const ResetSchema = yup2.object().shape({
@@ -2514,12 +2543,12 @@ var ResetPasswordForm = (props) => {
2514
2543
  } = useForm({
2515
2544
  resolver: yupResolver(ResetSchema)
2516
2545
  });
2517
- return /* @__PURE__ */ React8.createElement(Box, { sx: { m: 2 } }, props.topComponent && /* @__PURE__ */ React8.createElement(Box, { sx: { m: 2 } }, props.topComponent), /* @__PURE__ */ React8.createElement(Box, { sx: { my: 2 } }, /* @__PURE__ */ React8.createElement(
2546
+ return /* @__PURE__ */ React9.createElement(Box, { sx: { m: 2 } }, props.topComponent && /* @__PURE__ */ React9.createElement(Box, { sx: { m: 2 } }, props.topComponent), /* @__PURE__ */ React9.createElement(Box, { sx: { my: 2 } }, /* @__PURE__ */ React9.createElement(
2518
2547
  Controller,
2519
2548
  {
2520
2549
  control,
2521
2550
  name: "email",
2522
- render: ({ field: { onChange, name, ref: ref2 } }) => /* @__PURE__ */ React8.createElement(
2551
+ render: ({ field: { onChange, name, ref: ref2 } }) => /* @__PURE__ */ React9.createElement(
2523
2552
  TextFieldComponent,
2524
2553
  {
2525
2554
  label: props.valuesText.label,
@@ -2543,7 +2572,7 @@ var ResetPasswordForm = (props) => {
2543
2572
  }
2544
2573
  )
2545
2574
  }
2546
- )), /* @__PURE__ */ React8.createElement(Box, { sx: { mb: 4 } }, /* @__PURE__ */ React8.createElement(
2575
+ )), /* @__PURE__ */ React9.createElement(Box, { sx: { mb: 4 } }, /* @__PURE__ */ React9.createElement(
2547
2576
  ButtonComponent,
2548
2577
  {
2549
2578
  label: props.valuesText.buttonText,
@@ -2551,7 +2580,7 @@ var ResetPasswordForm = (props) => {
2551
2580
  onClick: handleSubmit(props.onClick),
2552
2581
  loading: props.loading
2553
2582
  }
2554
- )), props.bottomComponent && /* @__PURE__ */ React8.createElement(Box, null, props.bottomComponent));
2583
+ )), props.bottomComponent && /* @__PURE__ */ React9.createElement(Box, null, props.bottomComponent));
2555
2584
  };
2556
2585
  var ModalComponent = ({
2557
2586
  modalSize = "sm",
@@ -2563,7 +2592,7 @@ var ModalComponent = ({
2563
2592
  ...rest
2564
2593
  }) => {
2565
2594
  const props = { modalSize, fullWidth, loading, dividers, crossAvailable, buttonActionsAlign, ...rest };
2566
- return /* @__PURE__ */ React8.createElement(
2595
+ return /* @__PURE__ */ React9.createElement(
2567
2596
  Dialog,
2568
2597
  {
2569
2598
  open: props.setShow,
@@ -2578,17 +2607,17 @@ var ModalComponent = ({
2578
2607
  scroll: "body",
2579
2608
  slotProps: { paper: { sx: { overflowY: "unset" } } }
2580
2609
  },
2581
- /* @__PURE__ */ React8.createElement(DialogTitle, { id: "modal-title" }, /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex", alignItems: "center" } }, props.title, props.onHide && props.crossAvailable && /* @__PURE__ */ React8.createElement(
2610
+ /* @__PURE__ */ React9.createElement(DialogTitle, { id: "modal-title" }, /* @__PURE__ */ React9.createElement(Box, { sx: { display: "flex", alignItems: "center" } }, props.title, props.onHide && props.crossAvailable && /* @__PURE__ */ React9.createElement(
2582
2611
  Box,
2583
2612
  {
2584
2613
  sx: {
2585
2614
  margin: "-1rem -1rem -1rem auto"
2586
2615
  }
2587
2616
  },
2588
- /* @__PURE__ */ React8.createElement(IconButton, { "aria-label": "close", onClick: props.onHide }, /* @__PURE__ */ React8.createElement(Close, null))
2617
+ /* @__PURE__ */ React9.createElement(IconButton, { "aria-label": "close", onClick: props.onHide }, /* @__PURE__ */ React9.createElement(Close, null))
2589
2618
  ))),
2590
- props.children && /* @__PURE__ */ React8.createElement(DialogContent, { sx: { overflowY: "unset" }, id: "modal-description", dividers: props.dividers }, props.children),
2591
- /* @__PURE__ */ React8.createElement(DialogActions, { sx: { justifyContent: props.buttonActionsAlign } }, props.cancelButton && /* @__PURE__ */ React8.createElement(
2619
+ props.children && /* @__PURE__ */ React9.createElement(DialogContent, { sx: { overflowY: "unset" }, id: "modal-description", dividers: props.dividers }, props.children),
2620
+ /* @__PURE__ */ React9.createElement(DialogActions, { sx: { justifyContent: props.buttonActionsAlign } }, props.cancelButton && /* @__PURE__ */ React9.createElement(
2592
2621
  ButtonComponent,
2593
2622
  {
2594
2623
  disabled: props.loading,
@@ -2596,7 +2625,7 @@ var ModalComponent = ({
2596
2625
  onClick: props.cancelButton.onClick ? props.cancelButton.onClick : props.onHide,
2597
2626
  ...props.cancelButton
2598
2627
  }
2599
- ), props.submitButton && /* @__PURE__ */ React8.createElement(
2628
+ ), props.submitButton && /* @__PURE__ */ React9.createElement(
2600
2629
  ButtonComponent,
2601
2630
  {
2602
2631
  className: `btn-modal-submit main-background-color ${props.submitButton.className ? props.submitButton.className : ""}`,
@@ -2643,7 +2672,7 @@ var DetailPanelComponent = ({
2643
2672
  doublePanel = false,
2644
2673
  disableBackdropClose = false
2645
2674
  }) => {
2646
- return /* @__PURE__ */ React8.createElement(
2675
+ return /* @__PURE__ */ React9.createElement(
2647
2676
  Drawer,
2648
2677
  {
2649
2678
  anchor,
@@ -2662,9 +2691,9 @@ var DetailPanelComponent = ({
2662
2691
  }
2663
2692
  }
2664
2693
  },
2665
- /* @__PURE__ */ React8.createElement(Box, { className: "detail-panel__header", sx: { px: { xs: 2, md: 3 }, py: 1.5 } }, /* @__PURE__ */ React8.createElement(Typography, { variant: "h6", component: "h2", noWrap: true }, title), /* @__PURE__ */ React8.createElement(IconButton, { "aria-label": "close", onClick: onClose }, /* @__PURE__ */ React8.createElement(Close, null))),
2666
- /* @__PURE__ */ React8.createElement(Divider, null),
2667
- /* @__PURE__ */ React8.createElement(
2694
+ /* @__PURE__ */ React9.createElement(Box, { className: "detail-panel__header", sx: { px: { xs: 2, md: 3 }, py: 1.5 } }, /* @__PURE__ */ React9.createElement(Typography, { variant: "h6", component: "h2", noWrap: true }, title), /* @__PURE__ */ React9.createElement(IconButton, { "aria-label": "close", onClick: onClose }, /* @__PURE__ */ React9.createElement(Close, null))),
2695
+ /* @__PURE__ */ React9.createElement(Divider, null),
2696
+ /* @__PURE__ */ React9.createElement(
2668
2697
  Grid,
2669
2698
  {
2670
2699
  className: "detail-panel__content",
@@ -2683,7 +2712,7 @@ var DetailPanelComponent = ({
2683
2712
  },
2684
2713
  children
2685
2714
  ),
2686
- actions && /* @__PURE__ */ React8.createElement(React8.Fragment, null, /* @__PURE__ */ React8.createElement(Divider, null), /* @__PURE__ */ React8.createElement(
2715
+ actions && /* @__PURE__ */ React9.createElement(React9.Fragment, null, /* @__PURE__ */ React9.createElement(Divider, null), /* @__PURE__ */ React9.createElement(
2687
2716
  Box,
2688
2717
  {
2689
2718
  className: "detail-panel__actions",
@@ -2699,11 +2728,11 @@ var DetailPanelComponent = ({
2699
2728
  );
2700
2729
  };
2701
2730
  var TabsComponent = (props) => {
2702
- const [value, setValue] = React8.useState(props.tabActive.toString());
2731
+ const [value, setValue] = React9.useState(props.tabActive.toString());
2703
2732
  const handleChange = (_event, newValue) => {
2704
2733
  setValue(newValue);
2705
2734
  };
2706
- return /* @__PURE__ */ React8.createElement(MainWrapperComponent, null, /* @__PURE__ */ React8.createElement(Box, { className: "tabs-component" }, /* @__PURE__ */ React8.createElement(TabContext, { value }, /* @__PURE__ */ React8.createElement(TabList, { onChange: handleChange }, props.tabs.sort((a, b) => a.value - b.value).map((tabLabel) => /* @__PURE__ */ React8.createElement(
2735
+ return /* @__PURE__ */ React9.createElement(MainWrapperComponent, null, /* @__PURE__ */ React9.createElement(Box, { className: "tabs-component" }, /* @__PURE__ */ React9.createElement(TabContext, { value }, /* @__PURE__ */ React9.createElement(TabList, { onChange: handleChange }, props.tabs.sort((a, b) => a.value - b.value).map((tabLabel) => /* @__PURE__ */ React9.createElement(
2707
2736
  Tab,
2708
2737
  {
2709
2738
  classes: { selected: "main-background-color" },
@@ -2712,7 +2741,7 @@ var TabsComponent = (props) => {
2712
2741
  label: tabLabel.label,
2713
2742
  value: tabLabel.value.toString()
2714
2743
  }
2715
- ))), props.tabsComponent.sort((a, b) => a.value - b.value).map((tabComponent) => /* @__PURE__ */ React8.createElement(TabPanel, { key: tabComponent.value, value: tabComponent.value.toString() }, tabComponent.component)))));
2744
+ ))), props.tabsComponent.sort((a, b) => a.value - b.value).map((tabComponent) => /* @__PURE__ */ React9.createElement(TabPanel, { key: tabComponent.value, value: tabComponent.value.toString() }, tabComponent.component)))));
2716
2745
  };
2717
2746
  var toDayjs = (v, format) => {
2718
2747
  if (v == null || v === "") return null;
@@ -2732,8 +2761,8 @@ var DatePickerComponent = ({
2732
2761
  format,
2733
2762
  ...rest
2734
2763
  }) => {
2735
- const [value, setValue] = React8.useState(toDayjs(valueProp, format));
2736
- const [hover, setHover] = React8.useState(false);
2764
+ const [value, setValue] = React9.useState(toDayjs(valueProp, format));
2765
+ const [hover, setHover] = React9.useState(false);
2737
2766
  useEffect(() => {
2738
2767
  setValue(toDayjs(valueProp, format));
2739
2768
  }, [valueProp, format]);
@@ -2749,7 +2778,7 @@ var DatePickerComponent = ({
2749
2778
  onMouseLeave,
2750
2779
  ...textFieldRest
2751
2780
  } = textField ?? {};
2752
- return /* @__PURE__ */ React8.createElement(Box, { className: "data-picker-component", sx: { width: "100%" } }, /* @__PURE__ */ React8.createElement(LocalizationProvider, { dateAdapter: AdapterDayjs }, /* @__PURE__ */ React8.createElement(
2781
+ return /* @__PURE__ */ React9.createElement(Box, { className: "data-picker-component", sx: { width: "100%" } }, /* @__PURE__ */ React9.createElement(LocalizationProvider, { dateAdapter: AdapterDayjs }, /* @__PURE__ */ React9.createElement(
2753
2782
  DatePicker,
2754
2783
  {
2755
2784
  ...rest,
@@ -2842,7 +2871,7 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
2842
2871
  var CardComponent = ({ backgroundType = "white", ...rest }) => {
2843
2872
  const props = { backgroundType, ...rest };
2844
2873
  const isPrimary = props.backgroundType === "primary";
2845
- return /* @__PURE__ */ React8.createElement(
2874
+ return /* @__PURE__ */ React9.createElement(
2846
2875
  Box,
2847
2876
  {
2848
2877
  className: `card-component ${props.onClick ? "cursor-pointer" : ""} ${isPrimary ? "" : props.backgroundType}
@@ -2853,7 +2882,7 @@ var CardComponent = ({ backgroundType = "white", ...rest }) => {
2853
2882
  },
2854
2883
  onClick: props.onClick
2855
2884
  },
2856
- /* @__PURE__ */ React8.createElement(Box, { sx: { p: 3.125, py: 3.75, height: "100%" } }, props.loading ? /* @__PURE__ */ React8.createElement(Box, { sx: { display: "flex", justifyContent: "center", alignItems: "center", height: "100%" } }, /* @__PURE__ */ React8.createElement(
2885
+ /* @__PURE__ */ React9.createElement(Box, { sx: { p: 3.125, py: 3.75, height: "100%" } }, props.loading ? /* @__PURE__ */ React9.createElement(Box, { sx: { display: "flex", justifyContent: "center", alignItems: "center", height: "100%" } }, /* @__PURE__ */ React9.createElement(
2857
2886
  CircularProgress,
2858
2887
  {
2859
2888
  className: `${props.backgroundType === "white" ? "circular-progress-main-color" : ""}`,
@@ -2870,7 +2899,7 @@ var SnackbarComponent = ({
2870
2899
  autoHideDuration = 5e3,
2871
2900
  anchorOrigin = { vertical: "bottom", horizontal: "right" },
2872
2901
  action
2873
- }) => /* @__PURE__ */ React8.createElement(
2902
+ }) => /* @__PURE__ */ React9.createElement(
2874
2903
  Snackbar,
2875
2904
  {
2876
2905
  open,
@@ -2878,18 +2907,9 @@ var SnackbarComponent = ({
2878
2907
  anchorOrigin,
2879
2908
  onClose: (_, reason) => reason !== "clickaway" && onClose()
2880
2909
  },
2881
- /* @__PURE__ */ React8.createElement(Alert, { severity, variant: "filled", onClose, action, sx: { width: "100%" } }, message)
2910
+ /* @__PURE__ */ React9.createElement(Alert, { severity, variant: "filled", onClose, action, sx: { width: "100%" } }, message)
2882
2911
  );
2883
2912
 
2884
- // src/interfaces/search/SearchFilters.tsx
2885
- var SearchBaseDefaults = {
2886
- offset: 0,
2887
- page: 1,
2888
- limit: 100,
2889
- orderBy: "id",
2890
- orderAsc: true
2891
- };
2892
-
2893
- export { AppBreadcrumbs, AppHeader, AppSidebar, ButtonComponent, CardComponent, ChangePasswordForm, DatePickerComponent, DetailPanelComponent, DrawerSidebar, GroupBy, LinearProgressComponent, LoginForm, MainLayoutSimple, MainWrapperComponent, ModalComponent, NavigationType, NotificationContainer, PublicFormWrapper, ResetPasswordForm, SearchBaseDefaults, SearchComponent, SelectAsyncField, SelectField, SimpleTableComponent, SnackbarComponent, SplitLayout, TableComponent, TabsComponent, TextFieldComponent, TextSimpleComponent, UserInfo, VerticalNav, addNotification, checkPermission, clearSession, downloadFileBlob, getImageByBase64, getImageByBlob, getJwtToken, getSession, redirectDownload, removeNotification, saveSession, toBase64, useIsMounted, usePrevious };
2913
+ export { AppBreadcrumbs, AppHeader, AppSidebar, ButtonComponent, CardComponent, ChangePasswordForm, DatePickerComponent, DetailPanelComponent, DrawerSidebar, GroupBy, LinearProgressComponent, LoginForm, MainLayoutSimple, MainWrapperComponent, ModalComponent, NavigationType, NotificationContainer, PublicFormWrapper, ResetPasswordForm, SearchBaseDefaults, SearchComponent, SelectAsyncField, SelectField, SimpleTableComponent, SnackbarComponent, SplitLayout, TableComponent, TabsComponent, TextFieldComponent, TextSimpleComponent, UserInfo, VerticalNav, addNotification, checkPermission, clearSession, downloadFileBlob, getImageByBase64, getImageByBlob, getJwtToken, getSession, redirectDownload, removeNotification, saveSession, toBase64, useFilters, useIsMounted, usePrevious };
2894
2914
  //# sourceMappingURL=index.mjs.map
2895
2915
  //# sourceMappingURL=index.mjs.map