@natoora-libs/core 0.1.9-dev-doug-3 → 0.1.9-dev-doug-4
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.
|
@@ -7731,7 +7731,7 @@ var TableDesktopRowActions = ({
|
|
|
7731
7731
|
};
|
|
7732
7732
|
|
|
7733
7733
|
// src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
|
|
7734
|
-
var
|
|
7734
|
+
var import_react38 = require("react");
|
|
7735
7735
|
var import_material65 = require("@mui/material");
|
|
7736
7736
|
|
|
7737
7737
|
// src/components/TableDesktopRowCell/TableDesktopSmartSelect.tsx
|
|
@@ -7790,7 +7790,43 @@ var TableDesktopSmartSelect = (0, import_react36.memo)(({
|
|
|
7790
7790
|
|
|
7791
7791
|
// src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
|
|
7792
7792
|
var import_Check2 = __toESM(require("@mui/icons-material/Check"), 1);
|
|
7793
|
+
|
|
7794
|
+
// src/components/TableDesktopRowCell/TableDesktopTextField.tsx
|
|
7795
|
+
var import_TextField = __toESM(require("@mui/material/TextField"), 1);
|
|
7796
|
+
var import_react37 = require("react");
|
|
7793
7797
|
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
7798
|
+
var TableDesktopTextField = ({
|
|
7799
|
+
rowId,
|
|
7800
|
+
editInitialValue,
|
|
7801
|
+
inputLabel,
|
|
7802
|
+
validateInput,
|
|
7803
|
+
onUpdateEditableCell
|
|
7804
|
+
}) => {
|
|
7805
|
+
const [value, setValue] = (0, import_react37.useState)(editInitialValue);
|
|
7806
|
+
const hasError = (0, import_react37.useMemo)(() => validateInput?.(value), [value, validateInput]);
|
|
7807
|
+
return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
7808
|
+
import_TextField.default,
|
|
7809
|
+
{
|
|
7810
|
+
fullWidth: true,
|
|
7811
|
+
variant: "standard",
|
|
7812
|
+
defaultValue: value,
|
|
7813
|
+
label: inputLabel,
|
|
7814
|
+
error: hasError,
|
|
7815
|
+
onChange: ({ target: { value: value2 } }) => {
|
|
7816
|
+
setValue(value2);
|
|
7817
|
+
},
|
|
7818
|
+
onBlur: ({ target: { value: value2 } }) => {
|
|
7819
|
+
if (hasError) {
|
|
7820
|
+
return;
|
|
7821
|
+
}
|
|
7822
|
+
onUpdateEditableCell?.(rowId, value2);
|
|
7823
|
+
}
|
|
7824
|
+
}
|
|
7825
|
+
);
|
|
7826
|
+
};
|
|
7827
|
+
|
|
7828
|
+
// src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
|
|
7829
|
+
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
7794
7830
|
var TableDesktopRowCell = ({
|
|
7795
7831
|
ref,
|
|
7796
7832
|
inputLabel,
|
|
@@ -7804,18 +7840,19 @@ var TableDesktopRowCell = ({
|
|
|
7804
7840
|
filterOptions,
|
|
7805
7841
|
refetchFilterOptions,
|
|
7806
7842
|
isFetchingFilterOptions,
|
|
7843
|
+
validateInput,
|
|
7807
7844
|
onUpdateEditableCell
|
|
7808
7845
|
}) => {
|
|
7809
|
-
const cellRef = (0,
|
|
7810
|
-
const [isOverflowed, setIsOverflowed] = (0,
|
|
7811
|
-
(0,
|
|
7846
|
+
const cellRef = (0, import_react38.useRef)(null);
|
|
7847
|
+
const [isOverflowed, setIsOverflowed] = (0, import_react38.useState)(false);
|
|
7848
|
+
(0, import_react38.useEffect)(() => {
|
|
7812
7849
|
const ref2 = cellRef.current;
|
|
7813
7850
|
if (ref2) {
|
|
7814
7851
|
setIsOverflowed(ref2.scrollWidth > ref2.clientWidth);
|
|
7815
7852
|
}
|
|
7816
7853
|
}, [readOnlyValue, width]);
|
|
7817
7854
|
const editableComponents = {
|
|
7818
|
-
"select": /* @__PURE__ */ (0,
|
|
7855
|
+
"select": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
7819
7856
|
TableDesktopSmartSelect,
|
|
7820
7857
|
{
|
|
7821
7858
|
ref,
|
|
@@ -7829,7 +7866,7 @@ var TableDesktopRowCell = ({
|
|
|
7829
7866
|
onUpdateEditableCell
|
|
7830
7867
|
}
|
|
7831
7868
|
),
|
|
7832
|
-
"checkbox": /* @__PURE__ */ (0,
|
|
7869
|
+
"checkbox": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
7833
7870
|
import_material65.Checkbox,
|
|
7834
7871
|
{
|
|
7835
7872
|
disableRipple: true,
|
|
@@ -7839,19 +7876,17 @@ var TableDesktopRowCell = ({
|
|
|
7839
7876
|
}
|
|
7840
7877
|
}
|
|
7841
7878
|
),
|
|
7842
|
-
"text": /* @__PURE__ */ (0,
|
|
7843
|
-
|
|
7879
|
+
"text": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
7880
|
+
TableDesktopTextField,
|
|
7844
7881
|
{
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
onUpdateEditableCell?.(rowId, value);
|
|
7851
|
-
}
|
|
7882
|
+
rowId,
|
|
7883
|
+
editInitialValue,
|
|
7884
|
+
inputLabel: inputLabel ?? "",
|
|
7885
|
+
validateInput,
|
|
7886
|
+
onUpdateEditableCell
|
|
7852
7887
|
}
|
|
7853
7888
|
),
|
|
7854
|
-
"numeric": /* @__PURE__ */ (0,
|
|
7889
|
+
"numeric": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
7855
7890
|
import_material65.TextField,
|
|
7856
7891
|
{
|
|
7857
7892
|
fullWidth: true,
|
|
@@ -7874,11 +7909,11 @@ var TableDesktopRowCell = ({
|
|
|
7874
7909
|
};
|
|
7875
7910
|
const getReadOnlyBooleanIcon = (value) => {
|
|
7876
7911
|
if (value) {
|
|
7877
|
-
return /* @__PURE__ */ (0,
|
|
7912
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_Check2.default, { sx: { fontSize: 16 } });
|
|
7878
7913
|
}
|
|
7879
7914
|
return "-";
|
|
7880
7915
|
};
|
|
7881
|
-
return /* @__PURE__ */ (0,
|
|
7916
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material65.Tooltip, { title: isOverflowed ? String(readOnlyValue) : "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
7882
7917
|
import_material65.TableCell,
|
|
7883
7918
|
{
|
|
7884
7919
|
ref: cellRef,
|
|
@@ -7895,11 +7930,11 @@ var TableDesktopRowCell = ({
|
|
|
7895
7930
|
};
|
|
7896
7931
|
|
|
7897
7932
|
// src/components/TableHeader/TableHeader.tsx
|
|
7898
|
-
var
|
|
7933
|
+
var import_react39 = require("react");
|
|
7899
7934
|
var import_icons_material12 = require("@mui/icons-material");
|
|
7900
7935
|
var import_material66 = require("@mui/material");
|
|
7901
7936
|
var import_mui57 = require("tss-react/mui");
|
|
7902
|
-
var
|
|
7937
|
+
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
7903
7938
|
var useStyles51 = (0, import_mui57.makeStyles)()(() => ({
|
|
7904
7939
|
sortLabel: {
|
|
7905
7940
|
"& .MuiTableSortLabel-icon": {
|
|
@@ -7908,9 +7943,9 @@ var useStyles51 = (0, import_mui57.makeStyles)()(() => ({
|
|
|
7908
7943
|
}
|
|
7909
7944
|
}));
|
|
7910
7945
|
var TableHeader = ({ cells, onSort = null }) => {
|
|
7911
|
-
const [sortableCells, setSortableCells] = (0,
|
|
7946
|
+
const [sortableCells, setSortableCells] = (0, import_react39.useState)([]);
|
|
7912
7947
|
const { classes } = useStyles51();
|
|
7913
|
-
(0,
|
|
7948
|
+
(0, import_react39.useEffect)(() => {
|
|
7914
7949
|
setSortableCells(cells);
|
|
7915
7950
|
}, []);
|
|
7916
7951
|
const getNewSortDirection = (direction) => {
|
|
@@ -7944,7 +7979,7 @@ var TableHeader = ({ cells, onSort = null }) => {
|
|
|
7944
7979
|
});
|
|
7945
7980
|
setSortableCells(sortedCells);
|
|
7946
7981
|
};
|
|
7947
|
-
return /* @__PURE__ */ (0,
|
|
7982
|
+
return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material66.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material66.TableRow, { children: sortableCells.map((cell, key) => /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material66.TableCell, { children: cell.isSortable ? /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
7948
7983
|
import_material66.TableSortLabel,
|
|
7949
7984
|
{
|
|
7950
7985
|
className: classes.sortLabel,
|
|
@@ -7955,12 +7990,12 @@ var TableHeader = ({ cells, onSort = null }) => {
|
|
|
7955
7990
|
}
|
|
7956
7991
|
) : cell.label }, cell.label || key)) }) });
|
|
7957
7992
|
};
|
|
7958
|
-
var TableHeader_default = (0,
|
|
7993
|
+
var TableHeader_default = (0, import_react39.memo)(TableHeader);
|
|
7959
7994
|
|
|
7960
7995
|
// src/components/TextDivider/TextDivider.tsx
|
|
7961
7996
|
var import_material67 = require("@mui/material");
|
|
7962
7997
|
var import_mui58 = require("tss-react/mui");
|
|
7963
|
-
var
|
|
7998
|
+
var import_jsx_runtime120 = require("react/jsx-runtime");
|
|
7964
7999
|
var useStyles52 = (0, import_mui58.makeStyles)()(() => ({
|
|
7965
8000
|
icon: {
|
|
7966
8001
|
fontSize: 20
|
|
@@ -7997,7 +8032,7 @@ var TextDivider = ({
|
|
|
7997
8032
|
}) => {
|
|
7998
8033
|
const { classes } = useStyles52();
|
|
7999
8034
|
const iconColor = color ?? colors.neutral900;
|
|
8000
|
-
return /* @__PURE__ */ (0,
|
|
8035
|
+
return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
|
|
8001
8036
|
import_material67.Box,
|
|
8002
8037
|
{
|
|
8003
8038
|
display: "flex",
|
|
@@ -8005,10 +8040,10 @@ var TextDivider = ({
|
|
|
8005
8040
|
justifyContent: "space-between",
|
|
8006
8041
|
className: classes.container,
|
|
8007
8042
|
children: [
|
|
8008
|
-
/* @__PURE__ */ (0,
|
|
8009
|
-
/* @__PURE__ */ (0,
|
|
8010
|
-
Icon2 && iconPosition === "left" && /* @__PURE__ */ (0,
|
|
8011
|
-
/* @__PURE__ */ (0,
|
|
8043
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Divider, { className: classes.leftDivider }),
|
|
8044
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Button, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_material67.Box, { className: classes.center, children: [
|
|
8045
|
+
Icon2 && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } }),
|
|
8046
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
|
|
8012
8047
|
import_material67.Typography,
|
|
8013
8048
|
{
|
|
8014
8049
|
color: "textSecondary",
|
|
@@ -8017,9 +8052,9 @@ var TextDivider = ({
|
|
|
8017
8052
|
children: title
|
|
8018
8053
|
}
|
|
8019
8054
|
),
|
|
8020
|
-
Icon2 && iconPosition === "right" && /* @__PURE__ */ (0,
|
|
8055
|
+
Icon2 && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } })
|
|
8021
8056
|
] }) }),
|
|
8022
|
-
/* @__PURE__ */ (0,
|
|
8057
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Divider, { className: classes.rightDivider })
|
|
8023
8058
|
]
|
|
8024
8059
|
}
|
|
8025
8060
|
);
|
|
@@ -8031,7 +8066,7 @@ var import_react_dates = require("react-dates");
|
|
|
8031
8066
|
var import_mui59 = require("tss-react/mui");
|
|
8032
8067
|
var import_initialize = require("react-dates/initialize");
|
|
8033
8068
|
var import_datepicker = require("react-dates/lib/css/_datepicker.css");
|
|
8034
|
-
var
|
|
8069
|
+
var import_jsx_runtime121 = require("react/jsx-runtime");
|
|
8035
8070
|
var useStyles53 = (0, import_mui59.makeStyles)()((theme) => ({
|
|
8036
8071
|
wrapper: {
|
|
8037
8072
|
"& .DateRangePicker": {
|
|
@@ -8127,15 +8162,15 @@ var ThemedDateRangePicker = ({
|
|
|
8127
8162
|
...props
|
|
8128
8163
|
}) => {
|
|
8129
8164
|
const { classes, cx } = useStyles53();
|
|
8130
|
-
return /* @__PURE__ */ (0,
|
|
8165
|
+
return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("div", { className: cx(classes.wrapper, className), children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_react_dates.DateRangePicker, { ...props }) });
|
|
8131
8166
|
};
|
|
8132
8167
|
var ThemedDateRangePicker_default = ThemedDateRangePicker;
|
|
8133
8168
|
|
|
8134
8169
|
// src/components/TheToolbar/TheToolbar.tsx
|
|
8135
|
-
var
|
|
8170
|
+
var import_react40 = require("react");
|
|
8136
8171
|
var import_material68 = require("@mui/material");
|
|
8137
8172
|
var import_mui60 = require("tss-react/mui");
|
|
8138
|
-
var
|
|
8173
|
+
var import_jsx_runtime122 = require("react/jsx-runtime");
|
|
8139
8174
|
var useStyles54 = (0, import_mui60.makeStyles)()((theme) => ({
|
|
8140
8175
|
menuButton: {
|
|
8141
8176
|
color: theme.palette.primary.contrastText
|
|
@@ -8155,9 +8190,9 @@ var TheToolbar = ({
|
|
|
8155
8190
|
rightSection
|
|
8156
8191
|
}) => {
|
|
8157
8192
|
const { classes } = useStyles54();
|
|
8158
|
-
return /* @__PURE__ */ (0,
|
|
8159
|
-
/* @__PURE__ */ (0,
|
|
8160
|
-
/* @__PURE__ */ (0,
|
|
8193
|
+
return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material68.Box, { children: [
|
|
8194
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.AppBar, { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material68.Toolbar, { className: classes.topBar, children: [
|
|
8195
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
8161
8196
|
RoundButton_default,
|
|
8162
8197
|
{
|
|
8163
8198
|
className: classes.menuButton,
|
|
@@ -8166,7 +8201,7 @@ var TheToolbar = ({
|
|
|
8166
8201
|
onClick: handleOpen
|
|
8167
8202
|
}
|
|
8168
8203
|
),
|
|
8169
|
-
/* @__PURE__ */ (0,
|
|
8204
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
|
|
8170
8205
|
CompanyLogo_default,
|
|
8171
8206
|
{
|
|
8172
8207
|
size: "small",
|
|
@@ -8175,30 +8210,30 @@ var TheToolbar = ({
|
|
|
8175
8210
|
imageLogoLightSmall
|
|
8176
8211
|
}
|
|
8177
8212
|
),
|
|
8178
|
-
/* @__PURE__ */ (0,
|
|
8179
|
-
/* @__PURE__ */ (0,
|
|
8213
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.Box, { ml: 2, children: leftSection }),
|
|
8214
|
+
/* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.Box, { ml: "auto", children: rightSection })
|
|
8180
8215
|
] }) }),
|
|
8181
8216
|
LeftDrawer
|
|
8182
8217
|
] });
|
|
8183
8218
|
};
|
|
8184
|
-
var TheToolbar_default = (0,
|
|
8219
|
+
var TheToolbar_default = (0, import_react40.memo)(TheToolbar);
|
|
8185
8220
|
|
|
8186
8221
|
// src/components/ToastMessage/ToastMessage.tsx
|
|
8187
8222
|
var import_material69 = require("@mui/material");
|
|
8188
|
-
var
|
|
8223
|
+
var import_jsx_runtime123 = require("react/jsx-runtime");
|
|
8189
8224
|
var ToastMessage = ({
|
|
8190
8225
|
toastType,
|
|
8191
8226
|
toastMessage,
|
|
8192
8227
|
open,
|
|
8193
8228
|
onClose
|
|
8194
|
-
}) => /* @__PURE__ */ (0,
|
|
8229
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
8195
8230
|
import_material69.Snackbar,
|
|
8196
8231
|
{
|
|
8197
8232
|
open,
|
|
8198
8233
|
autoHideDuration: 1500,
|
|
8199
8234
|
onClose,
|
|
8200
8235
|
anchorOrigin: { vertical: "top", horizontal: "right" },
|
|
8201
|
-
children: /* @__PURE__ */ (0,
|
|
8236
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
|
|
8202
8237
|
import_material69.Alert,
|
|
8203
8238
|
{
|
|
8204
8239
|
elevation: 6,
|
|
@@ -8227,7 +8262,7 @@ var ToastMessage_default = ToastMessage;
|
|
|
8227
8262
|
// src/components/TwoButtonDialog/TwoButtonDialog.tsx
|
|
8228
8263
|
var import_material70 = require("@mui/material");
|
|
8229
8264
|
var import_mui61 = require("tss-react/mui");
|
|
8230
|
-
var
|
|
8265
|
+
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
8231
8266
|
var useStyles55 = (0, import_mui61.makeStyles)()((theme) => ({
|
|
8232
8267
|
paper: {
|
|
8233
8268
|
padding: theme.spacing(2)
|
|
@@ -8257,7 +8292,7 @@ var TwoButtonDialog = ({
|
|
|
8257
8292
|
cancelButton
|
|
8258
8293
|
}) => {
|
|
8259
8294
|
const { classes } = useStyles55();
|
|
8260
|
-
return /* @__PURE__ */ (0,
|
|
8295
|
+
return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
|
|
8261
8296
|
import_material70.Dialog,
|
|
8262
8297
|
{
|
|
8263
8298
|
open,
|
|
@@ -8267,9 +8302,9 @@ var TwoButtonDialog = ({
|
|
|
8267
8302
|
closeAfterTransition: true,
|
|
8268
8303
|
BackdropComponent: import_material70.Backdrop,
|
|
8269
8304
|
BackdropProps: { timeout: 500 },
|
|
8270
|
-
children: /* @__PURE__ */ (0,
|
|
8271
|
-
/* @__PURE__ */ (0,
|
|
8272
|
-
/* @__PURE__ */ (0,
|
|
8305
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Fade, { in: open, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Paper, { className: classes.paper, children: [
|
|
8306
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Box, { className: classes.mb, children: [
|
|
8307
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "h5", component: "div", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
|
|
8273
8308
|
import_material70.Box,
|
|
8274
8309
|
{
|
|
8275
8310
|
sx: {
|
|
@@ -8278,7 +8313,7 @@ var TwoButtonDialog = ({
|
|
|
8278
8313
|
children: title
|
|
8279
8314
|
}
|
|
8280
8315
|
) }),
|
|
8281
|
-
/* @__PURE__ */ (0,
|
|
8316
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
|
|
8282
8317
|
import_material70.Box,
|
|
8283
8318
|
{
|
|
8284
8319
|
className: classes.mt,
|
|
@@ -8286,15 +8321,15 @@ var TwoButtonDialog = ({
|
|
|
8286
8321
|
fontWeight: 600
|
|
8287
8322
|
},
|
|
8288
8323
|
children: [
|
|
8289
|
-
subtitle1 && /* @__PURE__ */ (0,
|
|
8290
|
-
subtitle2 && /* @__PURE__ */ (0,
|
|
8324
|
+
subtitle1 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle1 }),
|
|
8325
|
+
subtitle2 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle2 })
|
|
8291
8326
|
]
|
|
8292
8327
|
}
|
|
8293
8328
|
)
|
|
8294
8329
|
] }),
|
|
8295
|
-
/* @__PURE__ */ (0,
|
|
8296
|
-
/* @__PURE__ */ (0,
|
|
8297
|
-
/* @__PURE__ */ (0,
|
|
8330
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Divider, {}),
|
|
8331
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Box, { className: classes.buttonContainer, children: [
|
|
8332
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
|
|
8298
8333
|
FilledButton_default,
|
|
8299
8334
|
{
|
|
8300
8335
|
copy: cancelLabel,
|
|
@@ -8307,7 +8342,7 @@ var TwoButtonDialog = ({
|
|
|
8307
8342
|
}
|
|
8308
8343
|
}
|
|
8309
8344
|
),
|
|
8310
|
-
/* @__PURE__ */ (0,
|
|
8345
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
|
|
8311
8346
|
FilledButton_default,
|
|
8312
8347
|
{
|
|
8313
8348
|
color: "primary",
|
|
@@ -8316,7 +8351,7 @@ var TwoButtonDialog = ({
|
|
|
8316
8351
|
}
|
|
8317
8352
|
)
|
|
8318
8353
|
] }),
|
|
8319
|
-
/* @__PURE__ */ (0,
|
|
8354
|
+
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Loading_default, { isLoading: dialogLoading })
|
|
8320
8355
|
] }) })
|
|
8321
8356
|
}
|
|
8322
8357
|
);
|
|
@@ -8324,11 +8359,11 @@ var TwoButtonDialog = ({
|
|
|
8324
8359
|
var TwoButtonDialog_default = TwoButtonDialog;
|
|
8325
8360
|
|
|
8326
8361
|
// src/components/UserBust/UserBust.tsx
|
|
8327
|
-
var
|
|
8362
|
+
var import_react41 = require("react");
|
|
8328
8363
|
var import_material71 = require("@mui/material");
|
|
8329
|
-
var
|
|
8330
|
-
var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0,
|
|
8331
|
-
/* @__PURE__ */ (0,
|
|
8364
|
+
var import_jsx_runtime125 = require("react/jsx-runtime");
|
|
8365
|
+
var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { children: [
|
|
8366
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
|
|
8332
8367
|
import_material71.Avatar,
|
|
8333
8368
|
{
|
|
8334
8369
|
src: user.profile_picture,
|
|
@@ -8336,18 +8371,18 @@ var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0, i
|
|
|
8336
8371
|
style: { width: avatarProps.width, height: avatarProps.height }
|
|
8337
8372
|
}
|
|
8338
8373
|
),
|
|
8339
|
-
/* @__PURE__ */ (0,
|
|
8340
|
-
/* @__PURE__ */ (0,
|
|
8341
|
-
/* @__PURE__ */ (0,
|
|
8374
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { style: { paddingTop: 16 }, children: [
|
|
8375
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
|
|
8376
|
+
/* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { ...typographyProps.username, children: user.username })
|
|
8342
8377
|
] })
|
|
8343
8378
|
] });
|
|
8344
|
-
var UserBust_default = (0,
|
|
8379
|
+
var UserBust_default = (0, import_react41.memo)(UserBust);
|
|
8345
8380
|
|
|
8346
8381
|
// src/components/icons/IconChart.tsx
|
|
8347
|
-
var
|
|
8382
|
+
var import_jsx_runtime126 = require("react/jsx-runtime");
|
|
8348
8383
|
var SvgIconChart = (props) => {
|
|
8349
8384
|
const { fill } = props;
|
|
8350
|
-
return /* @__PURE__ */ (0,
|
|
8385
|
+
return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
8351
8386
|
"svg",
|
|
8352
8387
|
{
|
|
8353
8388
|
width: "20",
|
|
@@ -8356,7 +8391,7 @@ var SvgIconChart = (props) => {
|
|
|
8356
8391
|
fill: "none",
|
|
8357
8392
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8358
8393
|
...props,
|
|
8359
|
-
children: /* @__PURE__ */ (0,
|
|
8394
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
|
|
8360
8395
|
"path",
|
|
8361
8396
|
{
|
|
8362
8397
|
d: "M2.49967 11.6667L2.91634 11.725L6.72467 7.91667C6.57467 7.375 6.71634 6.75833 7.15801 6.325C7.80801 5.66667 8.85801 5.66667 9.50801 6.325C9.94967 6.75833 10.0913 7.375 9.94134 7.91667L12.083 10.0583L12.4997 10C12.6497 10 12.7913 10 12.9163 10.0583L15.8913 7.08333C15.833 6.95833 15.833 6.81667 15.833 6.66667C15.833 6.22464 16.0086 5.80072 16.3212 5.48816C16.6337 5.17559 17.0576 5 17.4997 5C17.9417 5 18.3656 5.17559 18.6782 5.48816C18.9907 5.80072 19.1663 6.22464 19.1663 6.66667C19.1663 7.10869 18.9907 7.53262 18.6782 7.84518C18.3656 8.15774 17.9417 8.33333 17.4997 8.33333C17.3497 8.33333 17.208 8.33333 17.083 8.275L14.108 11.25C14.1663 11.375 14.1663 11.5167 14.1663 11.6667C14.1663 12.1087 13.9907 12.5326 13.6782 12.8452C13.3656 13.1577 12.9417 13.3333 12.4997 13.3333C12.0576 13.3333 11.6337 13.1577 11.3212 12.8452C11.0086 12.5326 10.833 12.1087 10.833 11.6667L10.8913 11.25L8.74967 9.10833C8.48301 9.16667 8.18301 9.16667 7.91634 9.10833L4.10801 12.9167L4.16634 13.3333C4.16634 13.7754 3.99075 14.1993 3.67819 14.5118C3.36563 14.8244 2.9417 15 2.49967 15C2.05765 15 1.63372 14.8244 1.32116 14.5118C1.0086 14.1993 0.833008 13.7754 0.833008 13.3333C0.833008 12.8913 1.0086 12.4674 1.32116 12.1548C1.63372 11.8423 2.05765 11.6667 2.49967 11.6667Z",
|