@natoora-libs/core 0.2.29 → 0.2.31-dev-doug-1
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.
|
@@ -416,7 +416,7 @@ module.exports = __toCommonJS(components_exports);
|
|
|
416
416
|
|
|
417
417
|
// src/components/ActiveFiltersIconButton/ActiveFiltersIconButton.tsx
|
|
418
418
|
var import_react = require("react");
|
|
419
|
-
var
|
|
419
|
+
var import_FilterList = __toESM(require("@mui/icons-material/FilterList"), 1);
|
|
420
420
|
var import_material = require("@mui/material");
|
|
421
421
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
422
422
|
var ActiveFiltersIconButton = (0, import_react.memo)(
|
|
@@ -441,9 +441,9 @@ var ActiveFiltersIconButton = (0, import_react.memo)(
|
|
|
441
441
|
{
|
|
442
442
|
sx: { height: 24 },
|
|
443
443
|
label: numActiveFilters,
|
|
444
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
444
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_FilterList.default, { style: { fontSize: 18 }, color: "primary" })
|
|
445
445
|
}
|
|
446
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
446
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_FilterList.default, { style: { fontSize: 18 } })
|
|
447
447
|
]
|
|
448
448
|
}
|
|
449
449
|
)
|
|
@@ -1028,6 +1028,7 @@ var SmartSelect = (0, import_react3.forwardRef)(
|
|
|
1028
1028
|
refetch,
|
|
1029
1029
|
isFetching = false,
|
|
1030
1030
|
onChange,
|
|
1031
|
+
onKeyDownCapture,
|
|
1031
1032
|
inputLabel,
|
|
1032
1033
|
variant = "standard",
|
|
1033
1034
|
size,
|
|
@@ -1050,7 +1051,7 @@ var SmartSelect = (0, import_react3.forwardRef)(
|
|
|
1050
1051
|
}
|
|
1051
1052
|
return baseOptions;
|
|
1052
1053
|
}, [options, value, defaultOption]);
|
|
1053
|
-
const
|
|
1054
|
+
const handleFetchData = () => {
|
|
1054
1055
|
if (!options?.length) {
|
|
1055
1056
|
refetch?.();
|
|
1056
1057
|
}
|
|
@@ -1078,6 +1079,9 @@ var SmartSelect = (0, import_react3.forwardRef)(
|
|
|
1078
1079
|
onChange(nextOption);
|
|
1079
1080
|
}
|
|
1080
1081
|
};
|
|
1082
|
+
const handleKeyDownCapture = (event) => {
|
|
1083
|
+
onKeyDownCapture?.(event);
|
|
1084
|
+
};
|
|
1081
1085
|
const renderMenuContent = () => {
|
|
1082
1086
|
if (isFetching) {
|
|
1083
1087
|
return [
|
|
@@ -1149,8 +1153,10 @@ var SmartSelect = (0, import_react3.forwardRef)(
|
|
|
1149
1153
|
"data-testid": `${dataTestId}-select`,
|
|
1150
1154
|
value: value ?? "",
|
|
1151
1155
|
onChange: handleChange,
|
|
1152
|
-
onOpen:
|
|
1156
|
+
onOpen: handleFetchData,
|
|
1157
|
+
onFocus: handleFetchData,
|
|
1153
1158
|
onKeyDown: handleKeyDown,
|
|
1159
|
+
onKeyDownCapture: handleKeyDownCapture,
|
|
1154
1160
|
label: inputLabel,
|
|
1155
1161
|
MenuProps: menuProps,
|
|
1156
1162
|
children: renderMenuContent()
|
|
@@ -1176,6 +1182,7 @@ var ADDRESS_FORM_FIELDS = [
|
|
|
1176
1182
|
];
|
|
1177
1183
|
var AddressFormFields = ({
|
|
1178
1184
|
form,
|
|
1185
|
+
hidePrimaryPhoneNumberField = false,
|
|
1179
1186
|
countriesSelectProps: { countries, isCountriesFetching, refetchCountries },
|
|
1180
1187
|
statesSelectProps: { addressStates, isAddressStatesFetching },
|
|
1181
1188
|
googlePlacesAutocompleteProps
|
|
@@ -1240,7 +1247,7 @@ var AddressFormFields = ({
|
|
|
1240
1247
|
helperText: "Name this address for easier reference (e.g. Office, Home, etc.)."
|
|
1241
1248
|
}
|
|
1242
1249
|
),
|
|
1243
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
1250
|
+
!hidePrimaryPhoneNumberField && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
1244
1251
|
import_react_hook_form2.Controller,
|
|
1245
1252
|
{
|
|
1246
1253
|
control,
|
|
@@ -1773,7 +1780,7 @@ var resolveObjectType = (object, fieldName) => {
|
|
|
1773
1780
|
|
|
1774
1781
|
// src/components/Buttons/ExtendedButton/ExtendedButton.tsx
|
|
1775
1782
|
var import_react9 = require("react");
|
|
1776
|
-
var
|
|
1783
|
+
var import_icons_material = require("@mui/icons-material");
|
|
1777
1784
|
var import_material12 = require("@mui/material");
|
|
1778
1785
|
var import_mui4 = require("tss-react/mui");
|
|
1779
1786
|
|
|
@@ -1881,19 +1888,19 @@ var ExtendedButton = ({
|
|
|
1881
1888
|
}) => {
|
|
1882
1889
|
const { classes, cx } = useStyles4();
|
|
1883
1890
|
const icons2 = {
|
|
1884
|
-
add:
|
|
1885
|
-
apps:
|
|
1886
|
-
childCare:
|
|
1887
|
-
delete:
|
|
1888
|
-
edit:
|
|
1889
|
-
importExport:
|
|
1890
|
-
notes:
|
|
1891
|
-
print:
|
|
1892
|
-
save:
|
|
1893
|
-
upload:
|
|
1894
|
-
refresh:
|
|
1895
|
-
download:
|
|
1896
|
-
publish:
|
|
1891
|
+
add: import_icons_material.Add,
|
|
1892
|
+
apps: import_icons_material.Apps,
|
|
1893
|
+
childCare: import_icons_material.ChildCare,
|
|
1894
|
+
delete: import_icons_material.Delete,
|
|
1895
|
+
edit: import_icons_material.Edit,
|
|
1896
|
+
importExport: import_icons_material.ImportExport,
|
|
1897
|
+
notes: import_icons_material.Notes,
|
|
1898
|
+
print: import_icons_material.Print,
|
|
1899
|
+
save: import_icons_material.Save,
|
|
1900
|
+
upload: import_icons_material.CloudUpload,
|
|
1901
|
+
refresh: import_icons_material.Refresh,
|
|
1902
|
+
download: import_icons_material.GetApp,
|
|
1903
|
+
publish: import_icons_material.Publish,
|
|
1897
1904
|
compare: IconCompare_default
|
|
1898
1905
|
};
|
|
1899
1906
|
const IconComponent = icons2[type || "add"];
|
|
@@ -2676,7 +2683,8 @@ var ImageButton = (props) => {
|
|
|
2676
2683
|
var ImageButton_default = (0, import_react14.memo)(ImageButton);
|
|
2677
2684
|
|
|
2678
2685
|
// src/components/Buttons/SquareButton/SquareButton.tsx
|
|
2679
|
-
var
|
|
2686
|
+
var import_Add = __toESM(require("@mui/icons-material/Add"), 1);
|
|
2687
|
+
var import_ChevronRight = __toESM(require("@mui/icons-material/ChevronRight"), 1);
|
|
2680
2688
|
var import_material22 = require("@mui/material");
|
|
2681
2689
|
var import_mui11 = require("tss-react/mui");
|
|
2682
2690
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
@@ -2715,8 +2723,8 @@ var SquareButton = ({
|
|
|
2715
2723
|
}) => {
|
|
2716
2724
|
const { classes, cx } = useStyles10();
|
|
2717
2725
|
const icon = {
|
|
2718
|
-
add: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2719
|
-
forward: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2726
|
+
add: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_Add.default, { className: classes.icon }),
|
|
2727
|
+
forward: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_ChevronRight.default, { className: classes.icon })
|
|
2720
2728
|
};
|
|
2721
2729
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2722
2730
|
import_material22.Button,
|
|
@@ -2982,7 +2990,7 @@ var FilterButtonLg = (0, import_mui13.withStyles)(AButton, (theme) => ({
|
|
|
2982
2990
|
var OutlinedButtonLg_default = (0, import_react17.memo)(FilterButtonLg);
|
|
2983
2991
|
|
|
2984
2992
|
// src/components/Buttons/RoundButton/RoundButton.tsx
|
|
2985
|
-
var
|
|
2993
|
+
var import_icons_material2 = require("@mui/icons-material");
|
|
2986
2994
|
var import_material26 = require("@mui/material");
|
|
2987
2995
|
var import_mui14 = require("tss-react/mui");
|
|
2988
2996
|
|
|
@@ -4330,39 +4338,39 @@ var RoundButton = ({
|
|
|
4330
4338
|
const { classes, cx } = useStyles12();
|
|
4331
4339
|
const iconSize = size === "small" ? "small" : "medium";
|
|
4332
4340
|
const iconComponentMap = {
|
|
4333
|
-
add: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4334
|
-
apps: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4335
|
-
arrowBack: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4336
|
-
arrowForward: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4341
|
+
add: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Add, { fontSize: iconSize }),
|
|
4342
|
+
apps: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Apps, { fontSize: iconSize }),
|
|
4343
|
+
arrowBack: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.ArrowBack, { fontSize: iconSize }),
|
|
4344
|
+
arrowForward: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.ArrowForward, { fontSize: iconSize }),
|
|
4337
4345
|
avocado: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconAvocado_default, {}),
|
|
4338
|
-
backspaceOutlined: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4346
|
+
backspaceOutlined: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.BackspaceOutlined, { fontSize: iconSize }),
|
|
4339
4347
|
banana: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconBanana_default, {}),
|
|
4340
|
-
block: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4348
|
+
block: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Block, { fontSize: iconSize }),
|
|
4341
4349
|
bulk: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(BulkIcon_default, { fill: colors.contrast }),
|
|
4342
|
-
callSplit: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4343
|
-
chevronRight: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4344
|
-
chevronUp: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4345
|
-
chevronDown: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4346
|
-
close: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4347
|
-
delete: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4348
|
-
done: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4349
|
-
edit: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4350
|
-
email: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4350
|
+
callSplit: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.CallSplit, { fontSize: iconSize }),
|
|
4351
|
+
chevronRight: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.ChevronRight, { fontSize: iconSize }),
|
|
4352
|
+
chevronUp: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.KeyboardArrowUp, { fontSize: iconSize }),
|
|
4353
|
+
chevronDown: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.KeyboardArrowDown, { fontSize: iconSize }),
|
|
4354
|
+
close: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Close, { fontSize: iconSize }),
|
|
4355
|
+
delete: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Delete, { fontSize: iconSize, fill: colors.neutral800 }),
|
|
4356
|
+
done: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Done, { fontSize: iconSize }),
|
|
4357
|
+
edit: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Edit, { fontSize: iconSize }),
|
|
4358
|
+
email: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Email, { fontSize: iconSize }),
|
|
4351
4359
|
grape: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconGrape_default, {}),
|
|
4352
|
-
groupAdd: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4353
|
-
history: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4354
|
-
menu: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4355
|
-
threeDots: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4356
|
-
notes: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4357
|
-
refresh: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4358
|
-
remove: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4359
|
-
search: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4360
|
-
send: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4360
|
+
groupAdd: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.GroupAdd, { fontSize: iconSize }),
|
|
4361
|
+
history: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.History, { fontSize: iconSize }),
|
|
4362
|
+
menu: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Menu, { fontSize: iconSize }),
|
|
4363
|
+
threeDots: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.MoreHoriz, { fontSize: iconSize, color: iconColor }),
|
|
4364
|
+
notes: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Comment, { fontSize: iconSize }),
|
|
4365
|
+
refresh: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Refresh, { fontSize: iconSize }),
|
|
4366
|
+
remove: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Remove, { fontSize: iconSize }),
|
|
4367
|
+
search: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Search, { fontSize: iconSize }),
|
|
4368
|
+
send: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Send, { fontSize: iconSize }),
|
|
4361
4369
|
strawberry: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconStrawberry_default, {}),
|
|
4362
|
-
thumbDown: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4363
|
-
thumbUp: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4364
|
-
undo: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4365
|
-
play: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4370
|
+
thumbDown: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.ThumbDown, { fontSize: iconSize }),
|
|
4371
|
+
thumbUp: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.ThumbUp, { fontSize: iconSize }),
|
|
4372
|
+
undo: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.Undo, { fontSize: iconSize }),
|
|
4373
|
+
play: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.PlayArrowRounded, { fontSize: iconSize }),
|
|
4366
4374
|
snail: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(icons_default.SvgIconSnail, { fontSize: iconSize, fill: colors.muiPrimary }),
|
|
4367
4375
|
bus: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconBus_default, {}),
|
|
4368
4376
|
spoon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconSpoon_default, {}),
|
|
@@ -4372,7 +4380,7 @@ var RoundButton = ({
|
|
|
4372
4380
|
bicycle: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconBicycle_default, {}),
|
|
4373
4381
|
heart: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconHeart_default, {}),
|
|
4374
4382
|
airplane: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconAirplane_default, {}),
|
|
4375
|
-
swapHoriz: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4383
|
+
swapHoriz: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_icons_material2.SwapHoriz, { fontSize: iconSize })
|
|
4376
4384
|
};
|
|
4377
4385
|
const filteredSize = size === "double" ? void 0 : size;
|
|
4378
4386
|
const handleClick = (e) => {
|
|
@@ -4898,7 +4906,7 @@ var ControlledNumberInput_default = ControlledNumberInput;
|
|
|
4898
4906
|
// src/components/ControlledNumericField/ControlledNumericField.tsx
|
|
4899
4907
|
var import_react19 = require("react");
|
|
4900
4908
|
var import_react_hook_form5 = require("react-hook-form");
|
|
4901
|
-
var
|
|
4909
|
+
var import_icons_material3 = require("@mui/icons-material");
|
|
4902
4910
|
var import_material33 = require("@mui/material");
|
|
4903
4911
|
var import_mui20 = require("tss-react/mui");
|
|
4904
4912
|
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
@@ -5055,7 +5063,7 @@ var ControlledNumericField = ({
|
|
|
5055
5063
|
className: classes.arrowButton,
|
|
5056
5064
|
onClick: incrementValue(field),
|
|
5057
5065
|
"data-testid": "arrow-up",
|
|
5058
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
5066
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_icons_material3.KeyboardArrowUp, { sx: { fontSize: 15 } })
|
|
5059
5067
|
}
|
|
5060
5068
|
),
|
|
5061
5069
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
@@ -5065,7 +5073,7 @@ var ControlledNumericField = ({
|
|
|
5065
5073
|
className: classes.arrowButton,
|
|
5066
5074
|
onClick: decrementValue(field),
|
|
5067
5075
|
"data-testid": "arrow-down",
|
|
5068
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
5076
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_icons_material3.KeyboardArrowDown, { sx: { fontSize: 15 } })
|
|
5069
5077
|
}
|
|
5070
5078
|
)
|
|
5071
5079
|
] }) })
|
|
@@ -5645,7 +5653,7 @@ var DeliveryInstructionsFormFields = ({
|
|
|
5645
5653
|
};
|
|
5646
5654
|
|
|
5647
5655
|
// src/components/FileCard/FileCard.tsx
|
|
5648
|
-
var
|
|
5656
|
+
var import_Description = __toESM(require("@mui/icons-material/Description"), 1);
|
|
5649
5657
|
var import_material40 = require("@mui/material");
|
|
5650
5658
|
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
5651
5659
|
var getFileMetadata = (file) => {
|
|
@@ -5680,7 +5688,7 @@ var FileCard = ({ document: document2 }) => {
|
|
|
5680
5688
|
justifyContent: "center",
|
|
5681
5689
|
alignItems: "center"
|
|
5682
5690
|
},
|
|
5683
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
5691
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_Description.default, { fontSize: "medium", color: "action" })
|
|
5684
5692
|
}
|
|
5685
5693
|
),
|
|
5686
5694
|
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
@@ -7665,7 +7673,7 @@ var import_mui45 = require("tss-react/mui");
|
|
|
7665
7673
|
// src/components/SearchWithFilters/SearchWithFilters.tsx
|
|
7666
7674
|
var import_react34 = require("react");
|
|
7667
7675
|
var React6 = __toESM(require("react"), 1);
|
|
7668
|
-
var
|
|
7676
|
+
var import_icons_material4 = require("@mui/icons-material");
|
|
7669
7677
|
var import_material60 = require("@mui/material");
|
|
7670
7678
|
var import_mui44 = require("tss-react/mui");
|
|
7671
7679
|
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
@@ -7729,7 +7737,7 @@ var SearchWithFilters = ({
|
|
|
7729
7737
|
setSearchText(searchValue);
|
|
7730
7738
|
}, [searchValue]);
|
|
7731
7739
|
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_material60.Paper, { className: classes.searchContainer, children: [
|
|
7732
|
-
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7740
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_icons_material4.Search, { className: classes.icon, fontSize: "small" }),
|
|
7733
7741
|
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7734
7742
|
import_material60.InputBase,
|
|
7735
7743
|
{
|
|
@@ -7751,7 +7759,7 @@ var SearchWithFilters = ({
|
|
|
7751
7759
|
disabled,
|
|
7752
7760
|
children: [
|
|
7753
7761
|
"Filters",
|
|
7754
|
-
showFilters ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7762
|
+
showFilters ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_icons_material4.ArrowDropUp, {}) : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_icons_material4.ArrowDropDown, {})
|
|
7755
7763
|
]
|
|
7756
7764
|
}
|
|
7757
7765
|
)
|
|
@@ -7826,7 +7834,7 @@ var import_mui47 = require("tss-react/mui");
|
|
|
7826
7834
|
|
|
7827
7835
|
// src/components/SearchWithFilters/SearchWithFiltersForTable.tsx
|
|
7828
7836
|
var import_react35 = require("react");
|
|
7829
|
-
var
|
|
7837
|
+
var import_icons_material5 = require("@mui/icons-material");
|
|
7830
7838
|
var import_material62 = require("@mui/material");
|
|
7831
7839
|
var import_mui46 = require("tss-react/mui");
|
|
7832
7840
|
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
@@ -7903,9 +7911,9 @@ var SearchWithFiltersForTable = (props) => {
|
|
|
7903
7911
|
enterPressedInSearch();
|
|
7904
7912
|
}
|
|
7905
7913
|
};
|
|
7906
|
-
const ArrowIcon = isOpen ?
|
|
7914
|
+
const ArrowIcon = isOpen ? import_icons_material5.ArrowDropUp : import_icons_material5.ArrowDropDown;
|
|
7907
7915
|
return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_material62.Paper, { className: classes.c_search, children: [
|
|
7908
|
-
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material62.Box, { className: classes.c_search__icon, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7916
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_material62.Box, { className: classes.c_search__icon, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_icons_material5.Search, { className: classes.icon, fontSize: "small" }) }),
|
|
7909
7917
|
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7910
7918
|
import_material62.InputBase,
|
|
7911
7919
|
{
|
|
@@ -10312,7 +10320,7 @@ var TableDesktopToolbar = ({
|
|
|
10312
10320
|
|
|
10313
10321
|
// src/components/TableHeader/TableHeader.tsx
|
|
10314
10322
|
var import_react52 = require("react");
|
|
10315
|
-
var
|
|
10323
|
+
var import_ImportExport = __toESM(require("@mui/icons-material/ImportExport"), 1);
|
|
10316
10324
|
var import_material84 = require("@mui/material");
|
|
10317
10325
|
var import_mui53 = require("tss-react/mui");
|
|
10318
10326
|
var import_jsx_runtime142 = require("react/jsx-runtime");
|
|
@@ -10365,7 +10373,7 @@ var TableHeader = ({ cells, onSort = null }) => {
|
|
|
10365
10373
|
{
|
|
10366
10374
|
className: classes.sortLabel,
|
|
10367
10375
|
direction: cell?.direction || "asc",
|
|
10368
|
-
IconComponent:
|
|
10376
|
+
IconComponent: import_ImportExport.default,
|
|
10369
10377
|
onClick: () => handleSortClick(cell),
|
|
10370
10378
|
children: cell.label
|
|
10371
10379
|
}
|