touchstudy-core 0.1.113 → 0.1.114

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.
@@ -27,7 +27,6 @@ import Select, { components } from 'react-select';
27
27
  import CreatableSelect from 'react-select/creatable';
28
28
  import { Formik, Form, Field, FieldArray } from 'formik';
29
29
  import { CKEditor } from 'ckeditor4-react';
30
- import { CellMeasurerCache, CellMeasurer, AutoSizer, List as List$1, MultiGrid } from 'react-virtualized';
31
30
  import Grid$1 from '@mui/material/Grid';
32
31
  import Typography$1 from '@mui/material/Typography';
33
32
  import Card from '@mui/material/Card';
@@ -9200,74 +9199,7 @@ var ListView = function ListView(_ref) {
9200
9199
  }));
9201
9200
  };
9202
9201
 
9203
- var useVirtualListView = function useVirtualListView(props) {
9204
- var data = props.data,
9205
- loading = props.loading,
9206
- onLoadMore = props.onLoadMore;
9207
- var handleLoadMore = function handleLoadMore() {
9208
- if (loading) return;
9209
- onLoadMore === null || onLoadMore === void 0 ? void 0 : onLoadMore();
9210
- };
9211
- var onScroll = function onScroll(_ref) {
9212
- var scrollTop = _ref.scrollTop,
9213
- clientHeight = _ref.clientHeight,
9214
- scrollHeight = _ref.scrollHeight;
9215
- if (scrollTop + clientHeight >= scrollHeight - 100) {
9216
- handleLoadMore();
9217
- }
9218
- };
9219
- var rowCount = data.length + (loading ? 1 : 0);
9220
- return {
9221
- rowCount: rowCount,
9222
- onScroll: onScroll
9223
- };
9224
- };
9225
-
9226
- var cellMeasurerCache = new CellMeasurerCache({
9227
- fixedWidth: true,
9228
- defaultHeight: 50
9229
- });
9230
-
9231
- var VirtualListItem = function VirtualListItem(_ref) {
9232
- var isLoading = _ref.isLoading,
9233
- rowData = _ref.rowData,
9234
- style = _ref.style,
9235
- parent = _ref.parent,
9236
- index = _ref.index,
9237
- renderItem = _ref.renderItem,
9238
- loadingElement = _ref.loadingElement;
9239
- return React__default.createElement(CellMeasurer, {
9240
- cache: cellMeasurerCache,
9241
- columnIndex: 0,
9242
- rowIndex: index,
9243
- key: rowData === null || rowData === void 0 ? void 0 : rowData.id,
9244
- parent: parent
9245
- }, function (_ref2) {
9246
- var measure = _ref2.measure;
9247
- if (isLoading) {
9248
- if (loadingElement) return loadingElement;
9249
- return React__default.createElement("div", {
9250
- key: rowData === null || rowData === void 0 ? void 0 : rowData.id,
9251
- style: style
9252
- }, React__default.createElement(Box, {
9253
- p: 1,
9254
- className: "d-flex justify-content-center align-items-center w-100"
9255
- }, React__default.createElement(CircularProgress, {
9256
- size: 24,
9257
- sx: {
9258
- color: "#5d5d5b"
9259
- }
9260
- })));
9261
- }
9262
- return React__default.createElement("div", {
9263
- key: rowData === null || rowData === void 0 ? void 0 : rowData.id,
9264
- style: style,
9265
- ref: measure
9266
- }, renderItem(rowData, index));
9267
- });
9268
- };
9269
-
9270
- var VirtualEmptyItem = function VirtualEmptyItem(_ref) {
9202
+ var VirtualTableEmpty = function VirtualTableEmpty(_ref) {
9271
9203
  var emptyElement = _ref.emptyElement;
9272
9204
  var _useTranslation = useTranslation(),
9273
9205
  t = _useTranslation.t;
@@ -9280,186 +9212,59 @@ var VirtualEmptyItem = function VirtualEmptyItem(_ref) {
9280
9212
  var VirtualListView = function VirtualListView(props) {
9281
9213
  var data = props.data,
9282
9214
  containerProps = props.containerProps,
9283
- listHeight = props.listHeight,
9284
- _props$overscanRowCou = props.overscanRowCount,
9285
- overscanRowCount = _props$overscanRowCou === void 0 ? 5 : _props$overscanRowCou,
9286
9215
  renderItem = props.renderItem,
9287
9216
  emptyElement = props.emptyElement,
9217
+ loading = props.loading,
9288
9218
  loadingElement = props.loadingElement;
9289
- var _useVirtualListView = useVirtualListView(props),
9290
- rowCount = _useVirtualListView.rowCount,
9291
- onScroll = _useVirtualListView.onScroll;
9292
- var rowRenderer = useCallback(function (props) {
9293
- var index = props.index;
9294
- var isLoading = index === data.length;
9295
- var rowData = isLoading ? undefined : data[index];
9296
- return React__default.createElement(VirtualListItem, Object.assign({}, props, {
9297
- rowData: rowData,
9298
- isLoading: isLoading,
9299
- renderItem: renderItem,
9300
- loadingElement: loadingElement
9301
- }));
9302
- }, [JSON.stringify(data)]);
9303
- var noRowsRenderer = useCallback(function () {
9304
- return React__default.createElement(VirtualEmptyItem, {
9305
- emptyElement: emptyElement
9306
- });
9307
- }, []);
9308
- return React__default.createElement(Box, Object.assign({}, containerProps), React__default.createElement(AutoSizer, {
9309
- disableHeight: !!listHeight
9310
- }, function (_ref) {
9311
- var width = _ref.width,
9312
- height = _ref.height;
9313
- return React__default.createElement(List$1, {
9314
- width: width,
9315
- height: listHeight || height,
9316
- rowCount: rowCount,
9317
- rowHeight: cellMeasurerCache.rowHeight,
9318
- rowRenderer: rowRenderer,
9319
- deferredMeasurementCache: cellMeasurerCache,
9320
- overscanRowCount: overscanRowCount,
9321
- noRowsRenderer: noRowsRenderer,
9322
- onScroll: onScroll
9323
- });
9324
- }));
9325
- };
9326
-
9327
- var cellMeasurerCache$1 = new CellMeasurerCache({
9328
- defaultWidth: 100,
9329
- defaultHeight: 50
9330
- });
9331
-
9332
- var VirtualTableRowItem = function VirtualTableRowItem(_ref) {
9333
- var isLoading = _ref.isLoading,
9334
- style = _ref.style,
9335
- parent = _ref.parent,
9336
- rowIndex = _ref.rowIndex,
9337
- columnIndex = _ref.columnIndex,
9338
- renderItem = _ref.renderItem,
9339
- loadingElement = _ref.loadingElement;
9340
- return React__default.createElement(CellMeasurer, {
9341
- cache: cellMeasurerCache$1,
9342
- columnIndex: columnIndex,
9343
- rowIndex: rowIndex,
9344
- key: rowIndex + "-" + columnIndex,
9345
- parent: parent
9346
- }, function (_ref2) {
9347
- var measure = _ref2.measure;
9348
- if (isLoading) {
9349
- if (loadingElement) return loadingElement;
9350
- return React__default.createElement("div", {
9351
- style: style
9352
- }, React__default.createElement(Box, {
9353
- p: 1,
9354
- className: "d-flex justify-content-center align-items-center w-100"
9355
- }, React__default.createElement(CircularProgress, {
9356
- size: 24,
9357
- sx: {
9358
- color: "#5d5d5b"
9359
- }
9360
- })));
9219
+ return React__default.createElement(Box, Object.assign({}, containerProps), loading && React__default.createElement(Fragment$1, null, loadingElement != null ? loadingElement : React__default.createElement(Box, {
9220
+ p: 1,
9221
+ className: "d-flex justify-content-center align-items-center w-100"
9222
+ }, React__default.createElement(CircularProgress, {
9223
+ size: 24,
9224
+ sx: {
9225
+ color: "#5d5d5b"
9361
9226
  }
9362
- return React__default.createElement("div", {
9363
- style: style,
9364
- ref: measure
9365
- }, renderItem(rowIndex, columnIndex));
9366
- });
9367
- };
9368
-
9369
- var VirtualTableEmpty = function VirtualTableEmpty(_ref) {
9370
- var emptyElement = _ref.emptyElement;
9371
- var _useTranslation = useTranslation(),
9372
- t = _useTranslation.t;
9373
- if (emptyElement) return emptyElement;
9374
- return React__default.createElement(Box, null, React__default.createElement(Typography, {
9375
- className: "text-center text-muted"
9376
- }, t("no_data")));
9227
+ }))), !loading && !data.length && React__default.createElement(VirtualTableEmpty, {
9228
+ emptyElement: emptyElement
9229
+ }), !loading && !!data.length && React__default.createElement(ListView, {
9230
+ data: data,
9231
+ render: renderItem
9232
+ }));
9377
9233
  };
9378
9234
 
9379
- var _excluded$6 = ["data", "containerProps", "listHeight", "overscanRowCount", "renderItem", "emptyElement", "loadingElement", "fixedColumnCount", "fixedRowCount", "listWidth"];
9380
9235
  var VirtualTableView = function VirtualTableView(props) {
9381
9236
  var data = props.data,
9382
9237
  containerProps = props.containerProps,
9383
- listHeight = props.listHeight,
9384
- _props$overscanRowCou = props.overscanRowCount,
9385
- overscanRowCount = _props$overscanRowCou === void 0 ? 5 : _props$overscanRowCou,
9386
9238
  renderItem = props.renderItem,
9387
9239
  emptyElement = props.emptyElement,
9388
- loadingElement = props.loadingElement,
9389
- fixedColumnCount = props.fixedColumnCount,
9390
- fixedRowCount = props.fixedRowCount,
9391
- listWidth = props.listWidth,
9392
- rest = _objectWithoutPropertiesLoose(props, _excluded$6);
9393
- var columnCount = props.columnCount;
9394
- var _useVirtualListView = useVirtualListView(props),
9395
- rowCount = _useVirtualListView.rowCount,
9396
- onScroll = _useVirtualListView.onScroll;
9397
- var _useState = useState(false),
9398
- renderedColumnWidth = _useState[0],
9399
- setRenderedColumnWidth = _useState[1];
9240
+ columnCount = props.columnCount,
9241
+ loading = props.loading,
9242
+ loadingElement = props.loadingElement;
9400
9243
  var containerRef = useRef(null);
9401
- var listRef = useRef(null);
9402
- var cellRenderer = useCallback(function (props) {
9403
- var rowIndex = props.rowIndex;
9404
- var isLoading = rowIndex === data.length;
9405
- return React__default.createElement(VirtualTableRowItem, Object.assign({}, props, {
9406
- isLoading: isLoading,
9407
- renderItem: renderItem,
9408
- loadingElement: loadingElement
9244
+ var renderTableRow = function renderTableRow(_, index) {
9245
+ return React__default.createElement(Stack, {
9246
+ direction: "row"
9247
+ }, Array.from({
9248
+ length: columnCount
9249
+ }, function (_, colIndex) {
9250
+ return renderItem(index, colIndex);
9409
9251
  }));
9410
- }, [JSON.stringify(data)]);
9411
- var noRowsRenderer = useCallback(function () {
9412
- return React__default.createElement(VirtualTableEmpty, {
9413
- emptyElement: emptyElement
9414
- });
9415
- }, []);
9416
- var onSectionRendered = function onSectionRendered(_) {
9417
- setRenderedColumnWidth(true);
9418
- };
9419
- var columnWidth = useCallback(function (params) {
9420
- var _containerRef$current, _containerRef$current2;
9421
- var index = params.index;
9422
- var cWidth = cellMeasurerCache$1.columnWidth(params);
9423
- if (listWidth) return cWidth;
9424
- var totalWidths = columnCount * cWidth;
9425
- var w = cWidth;
9426
- if ((_containerRef$current = containerRef.current) !== null && _containerRef$current !== void 0 && _containerRef$current.offsetWidth && totalWidths < ((_containerRef$current2 = containerRef.current) === null || _containerRef$current2 === void 0 ? void 0 : _containerRef$current2.offsetWidth) && index === columnCount - 1) {
9427
- var _containerRef$current3;
9428
- w = Math.max(cWidth, ((_containerRef$current3 = containerRef.current) === null || _containerRef$current3 === void 0 ? void 0 : _containerRef$current3.offsetWidth) - (columnCount - 1) * cWidth);
9429
- }
9430
- return w;
9431
- }, [columnCount]);
9432
- useEffect(function () {
9433
- if (renderedColumnWidth && listRef.current) {
9434
- listRef.current.forceUpdateGrids();
9435
- }
9436
- }, [renderedColumnWidth]);
9252
+ };
9437
9253
  return React__default.createElement(Box, Object.assign({
9438
9254
  ref: containerRef
9439
- }, containerProps), React__default.createElement(AutoSizer, {
9440
- disableWidth: !!listWidth,
9441
- disableHeight: !!listHeight
9442
- }, function (_ref) {
9443
- var width = _ref.width,
9444
- height = _ref.height;
9445
- return React__default.createElement(MultiGrid, Object.assign({
9446
- ref: listRef,
9447
- fixedRowCount: fixedRowCount,
9448
- fixedColumnCount: fixedColumnCount,
9449
- cellRenderer: cellRenderer,
9450
- enableFixedColumnScroll: !!fixedColumnCount && fixedColumnCount > 0,
9451
- enableFixedRowScroll: !!fixedRowCount && fixedRowCount > 0,
9452
- columnWidth: columnWidth,
9453
- height: listHeight || height,
9454
- rowHeight: cellMeasurerCache$1.rowHeight,
9455
- deferredMeasurementCache: cellMeasurerCache$1,
9456
- rowCount: rowCount,
9457
- width: listWidth || width,
9458
- overscanRowCount: overscanRowCount,
9459
- noRowsRenderer: noRowsRenderer,
9460
- onScroll: onScroll,
9461
- onSectionRendered: onSectionRendered
9462
- }, rest));
9255
+ }, containerProps), loading && React__default.createElement(Fragment$1, null, loadingElement != null ? loadingElement : React__default.createElement(Box, {
9256
+ p: 1,
9257
+ className: "d-flex justify-content-center align-items-center w-100"
9258
+ }, React__default.createElement(CircularProgress, {
9259
+ size: 24,
9260
+ sx: {
9261
+ color: "#5d5d5b"
9262
+ }
9263
+ }))), !loading && !data.length && React__default.createElement(VirtualTableEmpty, {
9264
+ emptyElement: emptyElement
9265
+ }), !loading && !!data.length && React__default.createElement(ListView, {
9266
+ data: data,
9267
+ render: renderTableRow
9463
9268
  }));
9464
9269
  };
9465
9270
 
@@ -10922,10 +10727,10 @@ var LoginQRCode = function LoginQRCode(props) {
10922
10727
  }));
10923
10728
  };
10924
10729
 
10925
- var _excluded$7 = ["history"];
10730
+ var _excluded$6 = ["history"];
10926
10731
  var Login = function Login(_ref) {
10927
10732
  var history = _ref.history,
10928
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$7);
10733
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$6);
10929
10734
  var _useLogin = useLogin$1({
10930
10735
  homeAcademyUrl: rest.homeAcademyUrl,
10931
10736
  homeUrl: rest.homeUrl,
@@ -11875,11 +11680,11 @@ var DEFAULT_USER_FILTERS = {
11875
11680
 
11876
11681
  var styles$2 = {"avatar":"_2rJkZ","date-picker":"_1iqE2","time-picker":"_20xtc","teacher-selector-wrapper":"_3L1Oj"};
11877
11682
 
11878
- var _excluded$8 = ["teachers", "value"];
11683
+ var _excluded$7 = ["teachers", "value"];
11879
11684
  var TeacherSelector = function TeacherSelector(_ref) {
11880
11685
  var teachers = _ref.teachers,
11881
11686
  value = _ref.value,
11882
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$8);
11687
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$7);
11883
11688
  var teacherOptions = teachers.map(function (i) {
11884
11689
  return {
11885
11690
  label: i.teacherName + "/" + i.teacherEmail,
@@ -13170,7 +12975,7 @@ var useTeacherList = function useTeacherList() {
13170
12975
  };
13171
12976
  };
13172
12977
 
13173
- var _excluded$9 = ["getStudents"],
12978
+ var _excluded$8 = ["getStudents"],
13174
12979
  _excluded2 = ["getTeachers"],
13175
12980
  _excluded3 = ["getLessons"];
13176
12981
  var PAGE_TITLE$4 = "classes";
@@ -13217,7 +13022,7 @@ var useClassDetail = function useClassDetail(_ref) {
13217
13022
  };
13218
13023
  var _useStudentClassList = useStudentClassList(id ? +id : 0),
13219
13024
  getStudents = _useStudentClassList.getStudents,
13220
- studentListProps = _objectWithoutPropertiesLoose(_useStudentClassList, _excluded$9);
13025
+ studentListProps = _objectWithoutPropertiesLoose(_useStudentClassList, _excluded$8);
13221
13026
  var _useTeacherClassList = useTeacherClassList(id ? +id : 0),
13222
13027
  getTeachers = _useTeacherClassList.getTeachers,
13223
13028
  teacherListProps = _objectWithoutPropertiesLoose(_useTeacherClassList, _excluded2);
@@ -13969,12 +13774,12 @@ var LessonList = function LessonList(_ref) {
13969
13774
  }));
13970
13775
  };
13971
13776
 
13972
- var _excluded$a = ["children", "value", "index"];
13777
+ var _excluded$9 = ["children", "value", "index"];
13973
13778
  var CustomTabPanel = function CustomTabPanel(props) {
13974
13779
  var children = props.children,
13975
13780
  value = props.value,
13976
13781
  index = props.index,
13977
- other = _objectWithoutPropertiesLoose(props, _excluded$a);
13782
+ other = _objectWithoutPropertiesLoose(props, _excluded$9);
13978
13783
  return React__default.createElement("div", Object.assign({
13979
13784
  role: "tabpanel",
13980
13785
  hidden: value !== index,
@@ -19237,7 +19042,9 @@ var useNotes = function useNotes(setFilter, filter) {
19237
19042
  }
19238
19043
  setLoadingNotes(true);
19239
19044
  var _temp = _catch(function () {
19240
- return Promise.resolve(getNotesApi(_extends({}, filter))).then(function (res) {
19045
+ return Promise.resolve(getNotesApi(_extends({}, filter, {
19046
+ currentPage: -1
19047
+ }))).then(function (res) {
19241
19048
  var data = res.data;
19242
19049
  setTotalPages((data === null || data === void 0 ? void 0 : data.totalPages) || 0);
19243
19050
  var items = (data === null || data === void 0 ? void 0 : data.items) || [];
@@ -21181,14 +20988,14 @@ var CSV_PREFIX = "data:text/csv;charset=utf-8,";
21181
20988
 
21182
20989
  var styles$5 = {"action-btn":"_1jXbz","action-btn--pencil":"_at4xP","icon-rotate-180":"_12gv9","drop-area":"_R4bn5"};
21183
20990
 
21184
- var _excluded$b = ["text", "isRequired", "className"];
20991
+ var _excluded$a = ["text", "isRequired", "className"];
21185
20992
  var LabelRequired = function LabelRequired(_ref) {
21186
20993
  var text = _ref.text,
21187
20994
  _ref$isRequired = _ref.isRequired,
21188
20995
  isRequired = _ref$isRequired === void 0 ? true : _ref$isRequired,
21189
20996
  _ref$className = _ref.className,
21190
20997
  className = _ref$className === void 0 ? "" : _ref$className,
21191
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$b);
20998
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$a);
21192
20999
  return React__default.createElement(FormLabel, Object.assign({
21193
21000
  className: "fw-medium mb-1 " + className
21194
21001
  }, rest), text, isRequired && React__default.createElement("span", {
@@ -21242,7 +21049,7 @@ var deleteUserApi = function deleteUserApi(id) {
21242
21049
  return api["delete"](USER_URL + "/delete/" + id);
21243
21050
  };
21244
21051
 
21245
- var _excluded$c = ["ref"],
21052
+ var _excluded$b = ["ref"],
21246
21053
  _excluded2$1 = ["ref"],
21247
21054
  _excluded3$1 = ["ref"],
21248
21055
  _excluded4 = ["ref"],
@@ -21272,7 +21079,7 @@ var UserDialog = function UserDialog(_ref) {
21272
21079
  t = _useTranslation.t;
21273
21080
  var _register = register("fullName"),
21274
21081
  fullNameRef = _register.ref,
21275
- fullNameBio = _objectWithoutPropertiesLoose(_register, _excluded$c);
21082
+ fullNameBio = _objectWithoutPropertiesLoose(_register, _excluded$b);
21276
21083
  var _register2 = register("email"),
21277
21084
  emailRef = _register2.ref,
21278
21085
  emailBio = _objectWithoutPropertiesLoose(_register2, _excluded2$1);
@@ -25055,12 +24862,12 @@ var ArticleDialog = function ArticleDialog(_ref) {
25055
24862
 
25056
24863
  var styles$7 = {"drawer":"_11aYm","open":"_3Ydwm","drawer-overlay":"_3SQDf","drawer-header":"_2BwOx","drawer-form":"_2Zo7R","dropdown-content-academy":"_1lzjD","dropdown-change":"_1y7K9","dropdown-academy-item":"_1Y-55","dropdown-content-language":"_1fBXY","dropdown-item-language":"_3Szun","dropdown-item-language-active":"_2HhLb","item-address":"_3WYHC","item-logout":"_2-9ix","title-address":"_1r4pn","image-academy":"_2ZozT"};
25057
24864
 
25058
- var _excluded$d = ["isOpen", "onClose", "handleSaveExam"];
24865
+ var _excluded$c = ["isOpen", "onClose", "handleSaveExam"];
25059
24866
  var CreateExamDrawer = function CreateExamDrawer(props) {
25060
24867
  var isOpen = props.isOpen,
25061
24868
  onClose = props.onClose,
25062
24869
  handleSaveExam = props.handleSaveExam,
25063
- examDetailViewProps = _objectWithoutPropertiesLoose(props, _excluded$d);
24870
+ examDetailViewProps = _objectWithoutPropertiesLoose(props, _excluded$c);
25064
24871
  var _useTranslation = useTranslation(),
25065
24872
  t = _useTranslation.t;
25066
24873
  var theme = useTheme();
@@ -26122,12 +25929,12 @@ var useNotificationDetail = function useNotificationDetail(_ref) {
26122
25929
 
26123
25930
  var styles$8 = {"avatar":"_8niRT"};
26124
25931
 
26125
- var _excluded$e = ["value", "disabled", "optionTypeNotification"];
25932
+ var _excluded$d = ["value", "disabled", "optionTypeNotification"];
26126
25933
  var TypeSelector = function TypeSelector(_ref) {
26127
25934
  var value = _ref.value,
26128
25935
  disabled = _ref.disabled,
26129
25936
  optionTypeNotification = _ref.optionTypeNotification,
26130
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$e);
25937
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$d);
26131
25938
  return React__default.createElement(CustomAsyncSelect, Object.assign({
26132
25939
  options: optionTypeNotification,
26133
25940
  value: value
@@ -26519,11 +26326,11 @@ var useNotificationList = function useNotificationList(_ref) {
26519
26326
  };
26520
26327
  };
26521
26328
 
26522
- var _excluded$f = ["value", "optionTypeNotification"];
26329
+ var _excluded$e = ["value", "optionTypeNotification"];
26523
26330
  var SelectFilterType = function SelectFilterType(_ref) {
26524
26331
  var value = _ref.value,
26525
26332
  optionTypeNotification = _ref.optionTypeNotification,
26526
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$f);
26333
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$e);
26527
26334
  return React__default.createElement(CustomAsyncSelect, Object.assign({
26528
26335
  options: optionTypeNotification,
26529
26336
  value: value
@@ -28099,7 +27906,7 @@ var useTextbookManagement = function useTextbookManagement(_ref) {
28099
27906
  };
28100
27907
  };
28101
27908
 
28102
- var _excluded$g = ["value"],
27909
+ var _excluded$f = ["value"],
28103
27910
  _excluded2$2 = ["onChange"],
28104
27911
  _excluded3$2 = ["onChange"];
28105
27912
  var VisuallyHiddenInput = styled("input")({
@@ -28360,7 +28167,7 @@ var PreparedTextbook = function PreparedTextbook(_ref) {
28360
28167
  render: function render(_ref4) {
28361
28168
  var _ref4$field = _ref4.field,
28362
28169
  value = _ref4$field.value,
28363
- action = _objectWithoutPropertiesLoose(_ref4$field, _excluded$g);
28170
+ action = _objectWithoutPropertiesLoose(_ref4$field, _excluded$f);
28364
28171
  return React__default.createElement(LocalizationProvider$1, {
28365
28172
  dateAdapter: AdapterMoment
28366
28173
  }, React__default.createElement(DatePicker$1, Object.assign({}, action, {
@@ -29833,7 +29640,7 @@ var ChapterProblemSolvingResultsDialog = function ChapterProblemSolvingResultsDi
29833
29640
  }, t("cancel"))))));
29834
29641
  };
29835
29642
 
29836
- var _excluded$h = ["onChange"];
29643
+ var _excluded$g = ["onChange"];
29837
29644
  var StartPageDialog = function StartPageDialog(_ref) {
29838
29645
  var t = _ref.t,
29839
29646
  onClose = _ref.onClose,
@@ -29894,7 +29701,7 @@ var StartPageDialog = function StartPageDialog(_ref) {
29894
29701
  }, t("page_to_start_with")), React__default.createElement(Field, {
29895
29702
  name: "startPage",
29896
29703
  render: function render(_ref3) {
29897
- var field = _objectWithoutPropertiesLoose(_ref3, _excluded$h);
29704
+ var field = _objectWithoutPropertiesLoose(_ref3, _excluded$g);
29898
29705
  return React__default.createElement(CustomSelectOption, Object.assign({
29899
29706
  menuPosition: "fixed",
29900
29707
  onChange: function onChange(option) {