@dexteel/mesf-core 4.26.0 → 4.26.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.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/index.esm.js +42 -43
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [4.26.1](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.26.0...@dexteel/mesf-core-v4.26.1) (2025-03-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **Shift Period Navigator:** Use cssGrid instead of Flexbox to improve responsiveness ([f90e120](https://github.com/dexteel/mesf-core-frontend/commit/f90e120c140e15209c976963ae62aa56636fa789))
|
|
9
|
+
* **Shift Period Navigator:** Use cssGrid instead of Flexbox to improve responsiveness ([b645194](https://github.com/dexteel/mesf-core-frontend/commit/b6451942fddeb3f25d4dc01bf48224a3c6ee5c22))
|
|
10
|
+
|
|
11
|
+
## [4.26.0] - 2025-03-05
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
1
15
|
# Changelog
|
|
2
16
|
|
|
3
17
|
## [4.26.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.25.2...@dexteel/mesf-core-v4.26.0) (2025-03-05)
|
package/dist/index.esm.js
CHANGED
|
@@ -8337,43 +8337,42 @@ var getShiftsRangeByParameters = function (period, Start, End, StartShiftId, End
|
|
|
8337
8337
|
});
|
|
8338
8338
|
};
|
|
8339
8339
|
|
|
8340
|
-
var useStyles$7 = makeStyles(function (theme) {
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8340
|
+
var useStyles$7 = makeStyles(function (theme) { return ({
|
|
8341
|
+
container: {
|
|
8342
|
+
display: "grid",
|
|
8343
|
+
gridTemplateColumns: "auto minmax(100px, 1fr) 80px minmax(100px, 1fr) auto auto",
|
|
8344
|
+
alignItems: "center",
|
|
8345
|
+
width: "100%",
|
|
8346
|
+
margin: 0,
|
|
8347
|
+
padding: "8px 0",
|
|
8348
|
+
gap: "8px"
|
|
8349
|
+
},
|
|
8350
|
+
gridItem: {
|
|
8351
|
+
display: "flex",
|
|
8352
|
+
alignItems: "center"
|
|
8353
|
+
},
|
|
8354
|
+
datePickerWrapper: {
|
|
8355
|
+
minWidth: "100px",
|
|
8356
|
+
fontSize: ".8rem!important",
|
|
8357
|
+
margin: "0!important",
|
|
8358
|
+
"& .MuiInputAdornment-root": {
|
|
8359
|
+
margin: "0!important"
|
|
8351
8360
|
},
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
|
|
8367
|
-
_b),
|
|
8368
|
-
selectWrapper: (_c = {
|
|
8369
|
-
width: "120px"
|
|
8370
|
-
},
|
|
8371
|
-
_c[theme.breakpoints.down("sm")] = {
|
|
8372
|
-
width: "100%"
|
|
8373
|
-
},
|
|
8374
|
-
_c)
|
|
8375
|
-
});
|
|
8376
|
-
});
|
|
8361
|
+
"& .MuiInputBase-input": {
|
|
8362
|
+
fontSize: "1rem!important",
|
|
8363
|
+
padding: "4px 8px !important"
|
|
8364
|
+
}
|
|
8365
|
+
},
|
|
8366
|
+
selectWrapper: {
|
|
8367
|
+
width: "80px",
|
|
8368
|
+
"& .MuiInputBase-input": {
|
|
8369
|
+
fontSize: "0.8rem !important",
|
|
8370
|
+
padding: "4px 8px !important",
|
|
8371
|
+
display: "inline-flex",
|
|
8372
|
+
alignItems: "center"
|
|
8373
|
+
}
|
|
8374
|
+
}
|
|
8375
|
+
}); });
|
|
8377
8376
|
var DEFAULT_PERIOD_OPTIONS = [
|
|
8378
8377
|
{ value: "Shift", label: "Shift" },
|
|
8379
8378
|
{ value: "Day", label: "Day" },
|
|
@@ -8561,7 +8560,7 @@ var ShiftPeriodNavigatorControl = function (_a) {
|
|
|
8561
8560
|
React__default.createElement(DatePicker$1, { label: "Start", format: dateFormat, value: moment((startShift === null || startShift === void 0 ? void 0 : startShift.Start) || moment().subtract(1, "day")), onChange: function (value) {
|
|
8562
8561
|
return handleDateChange(value ? moment(value) : null, "start");
|
|
8563
8562
|
}, disabled: loadingShiftPeriodList, slots: {
|
|
8564
|
-
textField: function (props) { return (React__default.createElement(TextField, __assign({}, props, { size: "small", variant: "outlined", fullWidth: true, style: { width: "100%" }, InputProps: __assign(__assign({}, props.InputProps), { style: {
|
|
8563
|
+
textField: function (props) { return (React__default.createElement(TextField, __assign({}, props, { size: "small", variant: "outlined", fullWidth: true, style: { width: "100%" }, InputProps: __assign(__assign({}, props.InputProps), { style: { paddingTop: "2px" } }) }))); },
|
|
8565
8564
|
openPickerIcon: function () { return (React__default.createElement("div", { style: {
|
|
8566
8565
|
display: "flex",
|
|
8567
8566
|
alignItems: "center",
|
|
@@ -8573,23 +8572,23 @@ var ShiftPeriodNavigatorControl = function (_a) {
|
|
|
8573
8572
|
} })),
|
|
8574
8573
|
React__default.createElement("div", { className: "".concat(classes.gridItem, " ").concat(classes.selectWrapper) },
|
|
8575
8574
|
React__default.createElement(FormControl, { variant: "outlined", size: "small", fullWidth: true },
|
|
8576
|
-
React__default.createElement(
|
|
8577
|
-
|
|
8578
|
-
width: "100%"
|
|
8579
|
-
paddingBottom: 0
|
|
8575
|
+
React__default.createElement(InputLabel, { id: "period-select-label" }, "Period"),
|
|
8576
|
+
React__default.createElement(Select, { value: period, onChange: handleChangeScope, disabled: loadingShiftPeriodList, label: "Period", labelId: "period-select-label", style: {
|
|
8577
|
+
width: "100%"
|
|
8580
8578
|
} }, periodOptions.map(function (option) { return (React__default.createElement(MenuItem, { key: option.value, value: option.value }, option.label)); })))),
|
|
8581
8579
|
React__default.createElement("div", { className: "".concat(classes.gridItem, " ").concat(classes.datePickerWrapper) },
|
|
8582
8580
|
React__default.createElement(DatePicker$1, { label: "End", format: dateFormat, value: moment((endShift === null || endShift === void 0 ? void 0 : endShift.Start) || moment().subtract(1, "day")), onChange: function (value) {
|
|
8583
8581
|
return handleDateChange(value ? moment(value) : null, "end");
|
|
8584
8582
|
}, disabled: loadingShiftPeriodList, slots: {
|
|
8585
|
-
textField: function (props) { return (React__default.createElement(TextField, __assign({}, props, { size: "small", variant: "outlined", fullWidth: true, style: { width: "100%" }, InputProps: __assign(__assign({}, props.InputProps), { style: {
|
|
8583
|
+
textField: function (props) { return (React__default.createElement(TextField, __assign({}, props, { size: "small", variant: "outlined", fullWidth: true, style: { width: "100%" }, InputProps: __assign(__assign({}, props.InputProps), { style: { paddingTop: "2px" } }) }))); },
|
|
8586
8584
|
openPickerIcon: function () { return (React__default.createElement("div", { style: {
|
|
8587
8585
|
display: "flex",
|
|
8588
8586
|
alignItems: "center",
|
|
8587
|
+
margin: "0 !important",
|
|
8589
8588
|
width: "100%"
|
|
8590
8589
|
} },
|
|
8591
8590
|
renderShiftCrewInfo(endShift),
|
|
8592
|
-
React__default.createElement(IconButton$1, { style: { padding: "
|
|
8591
|
+
React__default.createElement(IconButton$1, { style: { padding: "0px", flexShrink: 0 } },
|
|
8593
8592
|
React__default.createElement(CalendarIcon, null)))); }
|
|
8594
8593
|
} })),
|
|
8595
8594
|
React__default.createElement("div", { className: classes.gridItem },
|