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.
package/dist/index.js CHANGED
@@ -27,7 +27,6 @@ var Select__default = _interopDefault(Select);
27
27
  var CreatableSelect = _interopDefault(require('react-select/creatable'));
28
28
  var formik = require('formik');
29
29
  var ckeditor4React = require('ckeditor4-react');
30
- var reactVirtualized = require('react-virtualized');
31
30
  var Grid = _interopDefault(require('@mui/material/Grid'));
32
31
  var Typography = _interopDefault(require('@mui/material/Typography'));
33
32
  var Card = _interopDefault(require('@mui/material/Card'));
@@ -9189,74 +9188,7 @@ var ListView = function ListView(_ref) {
9189
9188
  }));
9190
9189
  };
9191
9190
 
9192
- var useVirtualListView = function useVirtualListView(props) {
9193
- var data = props.data,
9194
- loading = props.loading,
9195
- onLoadMore = props.onLoadMore;
9196
- var handleLoadMore = function handleLoadMore() {
9197
- if (loading) return;
9198
- onLoadMore === null || onLoadMore === void 0 ? void 0 : onLoadMore();
9199
- };
9200
- var onScroll = function onScroll(_ref) {
9201
- var scrollTop = _ref.scrollTop,
9202
- clientHeight = _ref.clientHeight,
9203
- scrollHeight = _ref.scrollHeight;
9204
- if (scrollTop + clientHeight >= scrollHeight - 100) {
9205
- handleLoadMore();
9206
- }
9207
- };
9208
- var rowCount = data.length + (loading ? 1 : 0);
9209
- return {
9210
- rowCount: rowCount,
9211
- onScroll: onScroll
9212
- };
9213
- };
9214
-
9215
- var cellMeasurerCache = new reactVirtualized.CellMeasurerCache({
9216
- fixedWidth: true,
9217
- defaultHeight: 50
9218
- });
9219
-
9220
- var VirtualListItem = function VirtualListItem(_ref) {
9221
- var isLoading = _ref.isLoading,
9222
- rowData = _ref.rowData,
9223
- style = _ref.style,
9224
- parent = _ref.parent,
9225
- index = _ref.index,
9226
- renderItem = _ref.renderItem,
9227
- loadingElement = _ref.loadingElement;
9228
- return React__default.createElement(reactVirtualized.CellMeasurer, {
9229
- cache: cellMeasurerCache,
9230
- columnIndex: 0,
9231
- rowIndex: index,
9232
- key: rowData === null || rowData === void 0 ? void 0 : rowData.id,
9233
- parent: parent
9234
- }, function (_ref2) {
9235
- var measure = _ref2.measure;
9236
- if (isLoading) {
9237
- if (loadingElement) return loadingElement;
9238
- return React__default.createElement("div", {
9239
- key: rowData === null || rowData === void 0 ? void 0 : rowData.id,
9240
- style: style
9241
- }, React__default.createElement(material.Box, {
9242
- p: 1,
9243
- className: "d-flex justify-content-center align-items-center w-100"
9244
- }, React__default.createElement(material.CircularProgress, {
9245
- size: 24,
9246
- sx: {
9247
- color: "#5d5d5b"
9248
- }
9249
- })));
9250
- }
9251
- return React__default.createElement("div", {
9252
- key: rowData === null || rowData === void 0 ? void 0 : rowData.id,
9253
- style: style,
9254
- ref: measure
9255
- }, renderItem(rowData, index));
9256
- });
9257
- };
9258
-
9259
- var VirtualEmptyItem = function VirtualEmptyItem(_ref) {
9191
+ var VirtualTableEmpty = function VirtualTableEmpty(_ref) {
9260
9192
  var emptyElement = _ref.emptyElement;
9261
9193
  var _useTranslation = reactI18next.useTranslation(),
9262
9194
  t = _useTranslation.t;
@@ -9269,186 +9201,59 @@ var VirtualEmptyItem = function VirtualEmptyItem(_ref) {
9269
9201
  var VirtualListView = function VirtualListView(props) {
9270
9202
  var data = props.data,
9271
9203
  containerProps = props.containerProps,
9272
- listHeight = props.listHeight,
9273
- _props$overscanRowCou = props.overscanRowCount,
9274
- overscanRowCount = _props$overscanRowCou === void 0 ? 5 : _props$overscanRowCou,
9275
9204
  renderItem = props.renderItem,
9276
9205
  emptyElement = props.emptyElement,
9206
+ loading = props.loading,
9277
9207
  loadingElement = props.loadingElement;
9278
- var _useVirtualListView = useVirtualListView(props),
9279
- rowCount = _useVirtualListView.rowCount,
9280
- onScroll = _useVirtualListView.onScroll;
9281
- var rowRenderer = React.useCallback(function (props) {
9282
- var index = props.index;
9283
- var isLoading = index === data.length;
9284
- var rowData = isLoading ? undefined : data[index];
9285
- return React__default.createElement(VirtualListItem, Object.assign({}, props, {
9286
- rowData: rowData,
9287
- isLoading: isLoading,
9288
- renderItem: renderItem,
9289
- loadingElement: loadingElement
9290
- }));
9291
- }, [JSON.stringify(data)]);
9292
- var noRowsRenderer = React.useCallback(function () {
9293
- return React__default.createElement(VirtualEmptyItem, {
9294
- emptyElement: emptyElement
9295
- });
9296
- }, []);
9297
- return React__default.createElement(material.Box, Object.assign({}, containerProps), React__default.createElement(reactVirtualized.AutoSizer, {
9298
- disableHeight: !!listHeight
9299
- }, function (_ref) {
9300
- var width = _ref.width,
9301
- height = _ref.height;
9302
- return React__default.createElement(reactVirtualized.List, {
9303
- width: width,
9304
- height: listHeight || height,
9305
- rowCount: rowCount,
9306
- rowHeight: cellMeasurerCache.rowHeight,
9307
- rowRenderer: rowRenderer,
9308
- deferredMeasurementCache: cellMeasurerCache,
9309
- overscanRowCount: overscanRowCount,
9310
- noRowsRenderer: noRowsRenderer,
9311
- onScroll: onScroll
9312
- });
9313
- }));
9314
- };
9315
-
9316
- var cellMeasurerCache$1 = new reactVirtualized.CellMeasurerCache({
9317
- defaultWidth: 100,
9318
- defaultHeight: 50
9319
- });
9320
-
9321
- var VirtualTableRowItem = function VirtualTableRowItem(_ref) {
9322
- var isLoading = _ref.isLoading,
9323
- style = _ref.style,
9324
- parent = _ref.parent,
9325
- rowIndex = _ref.rowIndex,
9326
- columnIndex = _ref.columnIndex,
9327
- renderItem = _ref.renderItem,
9328
- loadingElement = _ref.loadingElement;
9329
- return React__default.createElement(reactVirtualized.CellMeasurer, {
9330
- cache: cellMeasurerCache$1,
9331
- columnIndex: columnIndex,
9332
- rowIndex: rowIndex,
9333
- key: rowIndex + "-" + columnIndex,
9334
- parent: parent
9335
- }, function (_ref2) {
9336
- var measure = _ref2.measure;
9337
- if (isLoading) {
9338
- if (loadingElement) return loadingElement;
9339
- return React__default.createElement("div", {
9340
- style: style
9341
- }, React__default.createElement(material.Box, {
9342
- p: 1,
9343
- className: "d-flex justify-content-center align-items-center w-100"
9344
- }, React__default.createElement(material.CircularProgress, {
9345
- size: 24,
9346
- sx: {
9347
- color: "#5d5d5b"
9348
- }
9349
- })));
9208
+ return React__default.createElement(material.Box, Object.assign({}, containerProps), loading && React__default.createElement(React.Fragment, null, loadingElement != null ? loadingElement : React__default.createElement(material.Box, {
9209
+ p: 1,
9210
+ className: "d-flex justify-content-center align-items-center w-100"
9211
+ }, React__default.createElement(material.CircularProgress, {
9212
+ size: 24,
9213
+ sx: {
9214
+ color: "#5d5d5b"
9350
9215
  }
9351
- return React__default.createElement("div", {
9352
- style: style,
9353
- ref: measure
9354
- }, renderItem(rowIndex, columnIndex));
9355
- });
9356
- };
9357
-
9358
- var VirtualTableEmpty = function VirtualTableEmpty(_ref) {
9359
- var emptyElement = _ref.emptyElement;
9360
- var _useTranslation = reactI18next.useTranslation(),
9361
- t = _useTranslation.t;
9362
- if (emptyElement) return emptyElement;
9363
- return React__default.createElement(material.Box, null, React__default.createElement(material.Typography, {
9364
- className: "text-center text-muted"
9365
- }, t("no_data")));
9216
+ }))), !loading && !data.length && React__default.createElement(VirtualTableEmpty, {
9217
+ emptyElement: emptyElement
9218
+ }), !loading && !!data.length && React__default.createElement(ListView, {
9219
+ data: data,
9220
+ render: renderItem
9221
+ }));
9366
9222
  };
9367
9223
 
9368
- var _excluded$6 = ["data", "containerProps", "listHeight", "overscanRowCount", "renderItem", "emptyElement", "loadingElement", "fixedColumnCount", "fixedRowCount", "listWidth"];
9369
9224
  var VirtualTableView = function VirtualTableView(props) {
9370
9225
  var data = props.data,
9371
9226
  containerProps = props.containerProps,
9372
- listHeight = props.listHeight,
9373
- _props$overscanRowCou = props.overscanRowCount,
9374
- overscanRowCount = _props$overscanRowCou === void 0 ? 5 : _props$overscanRowCou,
9375
9227
  renderItem = props.renderItem,
9376
9228
  emptyElement = props.emptyElement,
9377
- loadingElement = props.loadingElement,
9378
- fixedColumnCount = props.fixedColumnCount,
9379
- fixedRowCount = props.fixedRowCount,
9380
- listWidth = props.listWidth,
9381
- rest = _objectWithoutPropertiesLoose(props, _excluded$6);
9382
- var columnCount = props.columnCount;
9383
- var _useVirtualListView = useVirtualListView(props),
9384
- rowCount = _useVirtualListView.rowCount,
9385
- onScroll = _useVirtualListView.onScroll;
9386
- var _useState = React.useState(false),
9387
- renderedColumnWidth = _useState[0],
9388
- setRenderedColumnWidth = _useState[1];
9229
+ columnCount = props.columnCount,
9230
+ loading = props.loading,
9231
+ loadingElement = props.loadingElement;
9389
9232
  var containerRef = React.useRef(null);
9390
- var listRef = React.useRef(null);
9391
- var cellRenderer = React.useCallback(function (props) {
9392
- var rowIndex = props.rowIndex;
9393
- var isLoading = rowIndex === data.length;
9394
- return React__default.createElement(VirtualTableRowItem, Object.assign({}, props, {
9395
- isLoading: isLoading,
9396
- renderItem: renderItem,
9397
- loadingElement: loadingElement
9233
+ var renderTableRow = function renderTableRow(_, index) {
9234
+ return React__default.createElement(material.Stack, {
9235
+ direction: "row"
9236
+ }, Array.from({
9237
+ length: columnCount
9238
+ }, function (_, colIndex) {
9239
+ return renderItem(index, colIndex);
9398
9240
  }));
9399
- }, [JSON.stringify(data)]);
9400
- var noRowsRenderer = React.useCallback(function () {
9401
- return React__default.createElement(VirtualTableEmpty, {
9402
- emptyElement: emptyElement
9403
- });
9404
- }, []);
9405
- var onSectionRendered = function onSectionRendered(_) {
9406
- setRenderedColumnWidth(true);
9407
- };
9408
- var columnWidth = React.useCallback(function (params) {
9409
- var _containerRef$current, _containerRef$current2;
9410
- var index = params.index;
9411
- var cWidth = cellMeasurerCache$1.columnWidth(params);
9412
- if (listWidth) return cWidth;
9413
- var totalWidths = columnCount * cWidth;
9414
- var w = cWidth;
9415
- 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) {
9416
- var _containerRef$current3;
9417
- w = Math.max(cWidth, ((_containerRef$current3 = containerRef.current) === null || _containerRef$current3 === void 0 ? void 0 : _containerRef$current3.offsetWidth) - (columnCount - 1) * cWidth);
9418
- }
9419
- return w;
9420
- }, [columnCount]);
9421
- React.useEffect(function () {
9422
- if (renderedColumnWidth && listRef.current) {
9423
- listRef.current.forceUpdateGrids();
9424
- }
9425
- }, [renderedColumnWidth]);
9241
+ };
9426
9242
  return React__default.createElement(material.Box, Object.assign({
9427
9243
  ref: containerRef
9428
- }, containerProps), React__default.createElement(reactVirtualized.AutoSizer, {
9429
- disableWidth: !!listWidth,
9430
- disableHeight: !!listHeight
9431
- }, function (_ref) {
9432
- var width = _ref.width,
9433
- height = _ref.height;
9434
- return React__default.createElement(reactVirtualized.MultiGrid, Object.assign({
9435
- ref: listRef,
9436
- fixedRowCount: fixedRowCount,
9437
- fixedColumnCount: fixedColumnCount,
9438
- cellRenderer: cellRenderer,
9439
- enableFixedColumnScroll: !!fixedColumnCount && fixedColumnCount > 0,
9440
- enableFixedRowScroll: !!fixedRowCount && fixedRowCount > 0,
9441
- columnWidth: columnWidth,
9442
- height: listHeight || height,
9443
- rowHeight: cellMeasurerCache$1.rowHeight,
9444
- deferredMeasurementCache: cellMeasurerCache$1,
9445
- rowCount: rowCount,
9446
- width: listWidth || width,
9447
- overscanRowCount: overscanRowCount,
9448
- noRowsRenderer: noRowsRenderer,
9449
- onScroll: onScroll,
9450
- onSectionRendered: onSectionRendered
9451
- }, rest));
9244
+ }, containerProps), loading && React__default.createElement(React.Fragment, null, loadingElement != null ? loadingElement : React__default.createElement(material.Box, {
9245
+ p: 1,
9246
+ className: "d-flex justify-content-center align-items-center w-100"
9247
+ }, React__default.createElement(material.CircularProgress, {
9248
+ size: 24,
9249
+ sx: {
9250
+ color: "#5d5d5b"
9251
+ }
9252
+ }))), !loading && !data.length && React__default.createElement(VirtualTableEmpty, {
9253
+ emptyElement: emptyElement
9254
+ }), !loading && !!data.length && React__default.createElement(ListView, {
9255
+ data: data,
9256
+ render: renderTableRow
9452
9257
  }));
9453
9258
  };
9454
9259
 
@@ -10911,10 +10716,10 @@ var LoginQRCode = function LoginQRCode(props) {
10911
10716
  }));
10912
10717
  };
10913
10718
 
10914
- var _excluded$7 = ["history"];
10719
+ var _excluded$6 = ["history"];
10915
10720
  var Login = function Login(_ref) {
10916
10721
  var history = _ref.history,
10917
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$7);
10722
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$6);
10918
10723
  var _useLogin = useLogin$1({
10919
10724
  homeAcademyUrl: rest.homeAcademyUrl,
10920
10725
  homeUrl: rest.homeUrl,
@@ -11864,11 +11669,11 @@ var DEFAULT_USER_FILTERS = {
11864
11669
 
11865
11670
  var styles$2 = {"avatar":"_2rJkZ","date-picker":"_1iqE2","time-picker":"_20xtc","teacher-selector-wrapper":"_3L1Oj"};
11866
11671
 
11867
- var _excluded$8 = ["teachers", "value"];
11672
+ var _excluded$7 = ["teachers", "value"];
11868
11673
  var TeacherSelector = function TeacherSelector(_ref) {
11869
11674
  var teachers = _ref.teachers,
11870
11675
  value = _ref.value,
11871
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$8);
11676
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$7);
11872
11677
  var teacherOptions = teachers.map(function (i) {
11873
11678
  return {
11874
11679
  label: i.teacherName + "/" + i.teacherEmail,
@@ -13159,7 +12964,7 @@ var useTeacherList = function useTeacherList() {
13159
12964
  };
13160
12965
  };
13161
12966
 
13162
- var _excluded$9 = ["getStudents"],
12967
+ var _excluded$8 = ["getStudents"],
13163
12968
  _excluded2 = ["getTeachers"],
13164
12969
  _excluded3 = ["getLessons"];
13165
12970
  var PAGE_TITLE$4 = "classes";
@@ -13206,7 +13011,7 @@ var useClassDetail = function useClassDetail(_ref) {
13206
13011
  };
13207
13012
  var _useStudentClassList = useStudentClassList(id ? +id : 0),
13208
13013
  getStudents = _useStudentClassList.getStudents,
13209
- studentListProps = _objectWithoutPropertiesLoose(_useStudentClassList, _excluded$9);
13014
+ studentListProps = _objectWithoutPropertiesLoose(_useStudentClassList, _excluded$8);
13210
13015
  var _useTeacherClassList = useTeacherClassList(id ? +id : 0),
13211
13016
  getTeachers = _useTeacherClassList.getTeachers,
13212
13017
  teacherListProps = _objectWithoutPropertiesLoose(_useTeacherClassList, _excluded2);
@@ -13958,12 +13763,12 @@ var LessonList = function LessonList(_ref) {
13958
13763
  }));
13959
13764
  };
13960
13765
 
13961
- var _excluded$a = ["children", "value", "index"];
13766
+ var _excluded$9 = ["children", "value", "index"];
13962
13767
  var CustomTabPanel = function CustomTabPanel(props) {
13963
13768
  var children = props.children,
13964
13769
  value = props.value,
13965
13770
  index = props.index,
13966
- other = _objectWithoutPropertiesLoose(props, _excluded$a);
13771
+ other = _objectWithoutPropertiesLoose(props, _excluded$9);
13967
13772
  return React__default.createElement("div", Object.assign({
13968
13773
  role: "tabpanel",
13969
13774
  hidden: value !== index,
@@ -19226,7 +19031,9 @@ var useNotes = function useNotes(setFilter, filter) {
19226
19031
  }
19227
19032
  setLoadingNotes(true);
19228
19033
  var _temp = _catch(function () {
19229
- return Promise.resolve(getNotesApi(_extends({}, filter))).then(function (res) {
19034
+ return Promise.resolve(getNotesApi(_extends({}, filter, {
19035
+ currentPage: -1
19036
+ }))).then(function (res) {
19230
19037
  var data = res.data;
19231
19038
  setTotalPages((data === null || data === void 0 ? void 0 : data.totalPages) || 0);
19232
19039
  var items = (data === null || data === void 0 ? void 0 : data.items) || [];
@@ -21170,14 +20977,14 @@ var CSV_PREFIX = "data:text/csv;charset=utf-8,";
21170
20977
 
21171
20978
  var styles$5 = {"action-btn":"_1jXbz","action-btn--pencil":"_at4xP","icon-rotate-180":"_12gv9","drop-area":"_R4bn5"};
21172
20979
 
21173
- var _excluded$b = ["text", "isRequired", "className"];
20980
+ var _excluded$a = ["text", "isRequired", "className"];
21174
20981
  var LabelRequired = function LabelRequired(_ref) {
21175
20982
  var text = _ref.text,
21176
20983
  _ref$isRequired = _ref.isRequired,
21177
20984
  isRequired = _ref$isRequired === void 0 ? true : _ref$isRequired,
21178
20985
  _ref$className = _ref.className,
21179
20986
  className = _ref$className === void 0 ? "" : _ref$className,
21180
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$b);
20987
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$a);
21181
20988
  return React__default.createElement(material.FormLabel, Object.assign({
21182
20989
  className: "fw-medium mb-1 " + className
21183
20990
  }, rest), text, isRequired && React__default.createElement("span", {
@@ -21231,7 +21038,7 @@ var deleteUserApi = function deleteUserApi(id) {
21231
21038
  return api["delete"](USER_URL + "/delete/" + id);
21232
21039
  };
21233
21040
 
21234
- var _excluded$c = ["ref"],
21041
+ var _excluded$b = ["ref"],
21235
21042
  _excluded2$1 = ["ref"],
21236
21043
  _excluded3$1 = ["ref"],
21237
21044
  _excluded4 = ["ref"],
@@ -21261,7 +21068,7 @@ var UserDialog = function UserDialog(_ref) {
21261
21068
  t = _useTranslation.t;
21262
21069
  var _register = register("fullName"),
21263
21070
  fullNameRef = _register.ref,
21264
- fullNameBio = _objectWithoutPropertiesLoose(_register, _excluded$c);
21071
+ fullNameBio = _objectWithoutPropertiesLoose(_register, _excluded$b);
21265
21072
  var _register2 = register("email"),
21266
21073
  emailRef = _register2.ref,
21267
21074
  emailBio = _objectWithoutPropertiesLoose(_register2, _excluded2$1);
@@ -25044,12 +24851,12 @@ var ArticleDialog = function ArticleDialog(_ref) {
25044
24851
 
25045
24852
  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"};
25046
24853
 
25047
- var _excluded$d = ["isOpen", "onClose", "handleSaveExam"];
24854
+ var _excluded$c = ["isOpen", "onClose", "handleSaveExam"];
25048
24855
  var CreateExamDrawer = function CreateExamDrawer(props) {
25049
24856
  var isOpen = props.isOpen,
25050
24857
  onClose = props.onClose,
25051
24858
  handleSaveExam = props.handleSaveExam,
25052
- examDetailViewProps = _objectWithoutPropertiesLoose(props, _excluded$d);
24859
+ examDetailViewProps = _objectWithoutPropertiesLoose(props, _excluded$c);
25053
24860
  var _useTranslation = reactI18next.useTranslation(),
25054
24861
  t = _useTranslation.t;
25055
24862
  var theme = material.useTheme();
@@ -26111,12 +25918,12 @@ var useNotificationDetail = function useNotificationDetail(_ref) {
26111
25918
 
26112
25919
  var styles$8 = {"avatar":"_8niRT"};
26113
25920
 
26114
- var _excluded$e = ["value", "disabled", "optionTypeNotification"];
25921
+ var _excluded$d = ["value", "disabled", "optionTypeNotification"];
26115
25922
  var TypeSelector = function TypeSelector(_ref) {
26116
25923
  var value = _ref.value,
26117
25924
  disabled = _ref.disabled,
26118
25925
  optionTypeNotification = _ref.optionTypeNotification,
26119
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$e);
25926
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$d);
26120
25927
  return React__default.createElement(CustomAsyncSelect, Object.assign({
26121
25928
  options: optionTypeNotification,
26122
25929
  value: value
@@ -26508,11 +26315,11 @@ var useNotificationList = function useNotificationList(_ref) {
26508
26315
  };
26509
26316
  };
26510
26317
 
26511
- var _excluded$f = ["value", "optionTypeNotification"];
26318
+ var _excluded$e = ["value", "optionTypeNotification"];
26512
26319
  var SelectFilterType = function SelectFilterType(_ref) {
26513
26320
  var value = _ref.value,
26514
26321
  optionTypeNotification = _ref.optionTypeNotification,
26515
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$f);
26322
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$e);
26516
26323
  return React__default.createElement(CustomAsyncSelect, Object.assign({
26517
26324
  options: optionTypeNotification,
26518
26325
  value: value
@@ -28088,7 +27895,7 @@ var useTextbookManagement = function useTextbookManagement(_ref) {
28088
27895
  };
28089
27896
  };
28090
27897
 
28091
- var _excluded$g = ["value"],
27898
+ var _excluded$f = ["value"],
28092
27899
  _excluded2$2 = ["onChange"],
28093
27900
  _excluded3$2 = ["onChange"];
28094
27901
  var VisuallyHiddenInput = material.styled("input")({
@@ -28349,7 +28156,7 @@ var PreparedTextbook = function PreparedTextbook(_ref) {
28349
28156
  render: function render(_ref4) {
28350
28157
  var _ref4$field = _ref4.field,
28351
28158
  value = _ref4$field.value,
28352
- action = _objectWithoutPropertiesLoose(_ref4$field, _excluded$g);
28159
+ action = _objectWithoutPropertiesLoose(_ref4$field, _excluded$f);
28353
28160
  return React__default.createElement(xDatePickers.LocalizationProvider, {
28354
28161
  dateAdapter: AdapterMoment.AdapterMoment
28355
28162
  }, React__default.createElement(xDatePickers.DatePicker, Object.assign({}, action, {
@@ -29822,7 +29629,7 @@ var ChapterProblemSolvingResultsDialog = function ChapterProblemSolvingResultsDi
29822
29629
  }, t("cancel"))))));
29823
29630
  };
29824
29631
 
29825
- var _excluded$h = ["onChange"];
29632
+ var _excluded$g = ["onChange"];
29826
29633
  var StartPageDialog = function StartPageDialog(_ref) {
29827
29634
  var t = _ref.t,
29828
29635
  onClose = _ref.onClose,
@@ -29883,7 +29690,7 @@ var StartPageDialog = function StartPageDialog(_ref) {
29883
29690
  }, t("page_to_start_with")), React__default.createElement(formik.Field, {
29884
29691
  name: "startPage",
29885
29692
  render: function render(_ref3) {
29886
- var field = _objectWithoutPropertiesLoose(_ref3, _excluded$h);
29693
+ var field = _objectWithoutPropertiesLoose(_ref3, _excluded$g);
29887
29694
  return React__default.createElement(CustomSelectOption, Object.assign({
29888
29695
  menuPosition: "fixed",
29889
29696
  onChange: function onChange(option) {