@servicetitan/table 19.2.0 → 20.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. package/dist/demo/index.js +3 -15
  2. package/dist/demo/index.js.map +1 -1
  3. package/dist/demo/master-detail/detail-table.js +15 -18
  4. package/dist/demo/master-detail/detail-table.js.map +1 -1
  5. package/dist/demo/master-detail/detail-table.store.js +14 -17
  6. package/dist/demo/master-detail/detail-table.store.js.map +1 -1
  7. package/dist/demo/master-detail/index.js +1 -13
  8. package/dist/demo/master-detail/index.js.map +1 -1
  9. package/dist/demo/master-detail/master-table.store.js +14 -17
  10. package/dist/demo/master-detail/master-table.store.js.map +1 -1
  11. package/dist/demo/master-detail/product-detail.js +1 -2
  12. package/dist/demo/master-detail/product-details.js +1 -4
  13. package/dist/demo/master-detail/product-details.js.map +1 -1
  14. package/dist/demo/master-detail/product.js +4 -7
  15. package/dist/demo/master-detail/product.js.map +1 -1
  16. package/dist/demo/master-detail/products.js +15 -18
  17. package/dist/demo/master-detail/products.js.map +1 -1
  18. package/dist/demo/master-detail/table-master-detail.js +13 -16
  19. package/dist/demo/master-detail/table-master-detail.js.map +1 -1
  20. package/dist/demo/overview/actions-cell.js +8 -11
  21. package/dist/demo/overview/actions-cell.js.map +1 -1
  22. package/dist/demo/overview/index.js +1 -13
  23. package/dist/demo/overview/index.js.map +1 -1
  24. package/dist/demo/overview/product.js +4 -7
  25. package/dist/demo/overview/product.js.map +1 -1
  26. package/dist/demo/overview/products.js +15 -18
  27. package/dist/demo/overview/products.js.map +1 -1
  28. package/dist/demo/overview/table.js +24 -27
  29. package/dist/demo/overview/table.js.map +1 -1
  30. package/dist/demo/overview/table.store.js +27 -30
  31. package/dist/demo/overview/table.store.js.map +1 -1
  32. package/dist/demo/state-caching/beverages.js +1 -4
  33. package/dist/demo/state-caching/beverages.js.map +1 -1
  34. package/dist/demo/state-caching/index.js +1 -13
  35. package/dist/demo/state-caching/index.js.map +1 -1
  36. package/dist/demo/state-caching/product.js +1 -2
  37. package/dist/demo/state-caching/products.js +1 -4
  38. package/dist/demo/state-caching/products.js.map +1 -1
  39. package/dist/demo/state-caching/state-caching-table.js +12 -15
  40. package/dist/demo/state-caching/state-caching-table.js.map +1 -1
  41. package/dist/demo/state-caching/state-caching-table.store.js +9 -12
  42. package/dist/demo/state-caching/state-caching-table.store.js.map +1 -1
  43. package/dist/editable-cell/boolean-editable-cell.js +7 -10
  44. package/dist/editable-cell/boolean-editable-cell.js.map +1 -1
  45. package/dist/editable-cell/date-editable-cell.js +7 -10
  46. package/dist/editable-cell/date-editable-cell.js.map +1 -1
  47. package/dist/editable-cell/get-action-cell.js +6 -10
  48. package/dist/editable-cell/get-action-cell.js.map +1 -1
  49. package/dist/editable-cell/get-editable-cell.js +6 -10
  50. package/dist/editable-cell/get-editable-cell.js.map +1 -1
  51. package/dist/editable-cell/get-select-editable-cell.js +9 -16
  52. package/dist/editable-cell/get-select-editable-cell.js.map +1 -1
  53. package/dist/editable-cell/index.js +7 -19
  54. package/dist/editable-cell/index.js.map +1 -1
  55. package/dist/editable-cell/numeric-editable-cell.js +7 -10
  56. package/dist/editable-cell/numeric-editable-cell.js.map +1 -1
  57. package/dist/editable-cell/text-editable-cell.js +10 -14
  58. package/dist/editable-cell/text-editable-cell.js.map +1 -1
  59. package/dist/export/export.js +5 -28
  60. package/dist/export/export.js.map +1 -1
  61. package/dist/export/index.js +1 -13
  62. package/dist/export/index.js.map +1 -1
  63. package/dist/filters/column-menu-filters.js +7 -12
  64. package/dist/filters/column-menu-filters.js.map +1 -1
  65. package/dist/filters/datetime-filter/datetime-filter.js +17 -39
  66. package/dist/filters/datetime-filter/datetime-filter.js.map +1 -1
  67. package/dist/filters/field-values-filter.js +21 -26
  68. package/dist/filters/field-values-filter.js.map +1 -1
  69. package/dist/filters/index.js +8 -20
  70. package/dist/filters/index.js.map +1 -1
  71. package/dist/filters/multiselect-filter.js +17 -23
  72. package/dist/filters/multiselect-filter.js.map +1 -1
  73. package/dist/filters/numeric-filter-extended/numeric-extended-operators.js +2 -6
  74. package/dist/filters/numeric-filter-extended/numeric-extended-operators.js.map +1 -1
  75. package/dist/filters/numeric-filter-extended/numeric-filter-extended.js +13 -16
  76. package/dist/filters/numeric-filter-extended/numeric-filter-extended.js.map +1 -1
  77. package/dist/filters/range-filter/range-filter.js +20 -45
  78. package/dist/filters/range-filter/range-filter.js.map +1 -1
  79. package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.js +16 -38
  80. package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.js.map +1 -1
  81. package/dist/filters/standard-filter-with-multiselect/multiselect-operators.js +2 -6
  82. package/dist/filters/standard-filter-with-multiselect/multiselect-operators.js.map +1 -1
  83. package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.js +12 -16
  84. package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.js.map +1 -1
  85. package/dist/filters/standard-filter-with-multiselect/table-column-menu-filter-ext.js +8 -12
  86. package/dist/filters/standard-filter-with-multiselect/table-column-menu-filter-ext.js.map +1 -1
  87. package/dist/filters/time-filter/time-filter.js +17 -39
  88. package/dist/filters/time-filter/time-filter.js.map +1 -1
  89. package/dist/index.js +8 -29
  90. package/dist/index.js.map +1 -1
  91. package/dist/select-cell/index.js +1 -13
  92. package/dist/select-cell/index.js.map +1 -1
  93. package/dist/select-cell/select-cell.js +10 -35
  94. package/dist/select-cell/select-cell.js.map +1 -1
  95. package/dist/table-state.js +63 -68
  96. package/dist/table-state.js.map +1 -1
  97. package/dist/table.js +35 -60
  98. package/dist/table.js.map +1 -1
  99. package/package.json +16 -15
package/dist/table.js CHANGED
@@ -1,29 +1,9 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
- Object.defineProperty(o, "default", { enumerable: true, value: v });
11
- }) : function(o, v) {
12
- o["default"] = v;
13
- });
14
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
6
  };
20
- var __importStar = (this && this.__importStar) || function (mod) {
21
- if (mod && mod.__esModule) return mod;
22
- var result = {};
23
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
- __setModuleDefault(result, mod);
25
- return result;
26
- };
27
7
  var __rest = (this && this.__rest) || function (s, e) {
28
8
  var t = {};
29
9
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -35,35 +15,30 @@ var __rest = (this && this.__rest) || function (s, e) {
35
15
  }
36
16
  return t;
37
17
  };
38
- var __importDefault = (this && this.__importDefault) || function (mod) {
39
- return (mod && mod.__esModule) ? mod : { "default": mod };
40
- };
41
- Object.defineProperty(exports, "__esModule", { value: true });
42
- exports.Table = void 0;
43
- const jsx_runtime_1 = require("react/jsx-runtime");
44
- const react_1 = require("react");
45
- const design_system_1 = require("@servicetitan/design-system");
46
- const filterCommon_1 = require("@progress/kendo-react-grid/dist/npm/filterCommon");
47
- const kendo_react_pdf_1 = require("@progress/kendo-react-pdf");
48
- const kendo_react_excel_export_1 = require("@progress/kendo-react-excel-export");
49
- const mobx_react_1 = require("mobx-react");
50
- const data_query_1 = require("@servicetitan/data-query");
51
- const select_cell_1 = require("./select-cell/select-cell");
52
- const memoize_one_1 = __importDefault(require("memoize-one"));
53
- const classnames_1 = __importDefault(require("classnames"));
54
- const Styles = __importStar(require("./table.module.css"));
55
- const { text: textOperators } = filterCommon_1.operators, operators = __rest(filterCommon_1.operators, ["text"]);
18
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
19
+ import { isValidElement, Component, createRef, cloneElement, Children, Fragment, } from 'react';
20
+ import { Announcement, Table as AnvilTable, TableColumn, } from '@servicetitan/design-system';
21
+ import { operators as kendoOperators } from '@progress/kendo-react-grid/dist/npm/filterCommon';
22
+ import { GridPDFExport as TablePDFExport } from '@progress/kendo-react-pdf';
23
+ import { ExcelExport } from '@progress/kendo-react-excel-export';
24
+ import { observer } from 'mobx-react';
25
+ import { AsyncDataSource } from '@servicetitan/data-query';
26
+ import { SelectColumnCell, SelectHeaderCell, } from './select-cell/select-cell';
27
+ import memoizeOne from 'memoize-one';
28
+ import classNames from 'classnames';
29
+ import * as Styles from './table.module.css';
30
+ const { text: textOperators } = kendoOperators, operators = __rest(kendoOperators, ["text"]);
56
31
  operators.text = [
57
32
  ...textOperators.filter(o => o.operator !== 'isnull' && o.operator !== 'isnotnull'),
58
33
  ];
59
34
  function isColumnElement(element) {
60
- if (!(0, react_1.isValidElement)(element)) {
35
+ if (!isValidElement(element)) {
61
36
  return false;
62
37
  }
63
38
  const elementType = element.type;
64
- return elementType === design_system_1.TableColumn || elementType.originalType === design_system_1.TableColumn;
39
+ return elementType === TableColumn || elementType.originalType === TableColumn;
65
40
  }
66
- let Table = class Table extends react_1.Component {
41
+ let Table = class Table extends Component {
67
42
  constructor() {
68
43
  super(...arguments);
69
44
  Object.defineProperty(this, "tableState", {
@@ -76,7 +51,7 @@ let Table = class Table extends react_1.Component {
76
51
  enumerable: true,
77
52
  configurable: true,
78
53
  writable: true,
79
- value: (0, react_1.createRef)()
54
+ value: createRef()
80
55
  });
81
56
  Object.defineProperty(this, "lastSelection", {
82
57
  enumerable: true,
@@ -88,17 +63,17 @@ let Table = class Table extends react_1.Component {
88
63
  enumerable: true,
89
64
  configurable: true,
90
65
  writable: true,
91
- value: (0, mobx_react_1.observer)((props) => ((0, jsx_runtime_1.jsx)(select_cell_1.SelectColumnCell, Object.assign({}, props, { isRowSelectable: this.tableState.isRowSelectable(props.dataItem), control: this.props.selectionControl }), void 0)))
66
+ value: observer((props) => (_jsx(SelectColumnCell, Object.assign({}, props, { isRowSelectable: this.tableState.isRowSelectable(props.dataItem), control: this.props.selectionControl }), void 0)))
92
67
  });
93
68
  Object.defineProperty(this, "selectHeaderCell", {
94
69
  enumerable: true,
95
70
  configurable: true,
96
71
  writable: true,
97
- value: (0, mobx_react_1.observer)((props) => {
72
+ value: observer((props) => {
98
73
  if (this.props.hideSelectAll || this.tableState.selectionLimit !== Infinity) {
99
74
  return null;
100
75
  }
101
- return ((0, jsx_runtime_1.jsx)(select_cell_1.SelectHeaderCell, Object.assign({}, props, { isSomeRowsSelected: this.props.scrollable !== 'virtual'
76
+ return (_jsx(SelectHeaderCell, Object.assign({}, props, { isSomeRowsSelected: this.props.scrollable !== 'virtual'
102
77
  ? this.tableState.isSomePageRowsSelected
103
78
  : this.tableState.isSomeRowsSelected, control: this.props.selectionControl }), void 0));
104
79
  })
@@ -108,11 +83,11 @@ let Table = class Table extends react_1.Component {
108
83
  enumerable: true,
109
84
  configurable: true,
110
85
  writable: true,
111
- value: (0, memoize_one_1.default)((children) => this.applyToColumns(children, column => {
86
+ value: memoizeOne((children) => this.applyToColumns(children, column => {
112
87
  const { cell: Cell } = column.props;
113
- return (0, react_1.cloneElement)(column, {
88
+ return cloneElement(column, {
114
89
  cell: Cell &&
115
- ((props) => ((0, jsx_runtime_1.jsx)(Cell, Object.assign({}, props, { tableState: this.tableState }), void 0))),
90
+ ((props) => (_jsx(Cell, Object.assign({}, props, { tableState: this.tableState }), void 0))),
116
91
  });
117
92
  }))
118
93
  });
@@ -125,9 +100,9 @@ let Table = class Table extends react_1.Component {
125
100
  if (this.props.selectable &&
126
101
  rowProps.rowType === 'data' &&
127
102
  !this.tableState.isRowSelectable(rowProps.dataItem)) {
128
- overrides.className = (0, classnames_1.default)(row.props.className, Styles.disabled);
103
+ overrides.className = classNames(row.props.className, Styles.disabled);
129
104
  }
130
- const result = Object.keys(overrides).length ? (0, react_1.cloneElement)(row, overrides) : row;
105
+ const result = Object.keys(overrides).length ? cloneElement(row, overrides) : row;
131
106
  return this.props.rowRender ? this.props.rowRender(result, rowProps) : result;
132
107
  }
133
108
  });
@@ -213,32 +188,32 @@ let Table = class Table extends react_1.Component {
213
188
  writable: true,
214
189
  value: () => {
215
190
  const _a = this.props, { className, filterOperators, selectable, pager } = _a, props = __rest(_a, ["className", "filterOperators", "selectable", "pager"]);
216
- return ((0, jsx_runtime_1.jsxs)(design_system_1.Table, Object.assign({ ref: this.ref }, props, { data: [...this.tableState.data], rowRender: this.rowRender, editField: "inEdit", filter: this.tableState.filter, filterOperators: filterOperators !== null && filterOperators !== void 0 ? filterOperators : operators, onFilterChange: this.tableState.handleFilterChange, group: [...this.tableState.group], onGroupChange: this.tableState.handleGroupChange, onExpandChange: this.tableState.handleExpandChange, expandField: "expanded", sort: [...this.tableState.sort], onSortChange: this.tableState.handleSortChange, onHeaderSelectionChange: this.handleHeaderSelectionChange, onSelectionChange: this.handleSelectionChange, selectedField: "selected", pageable: this.getPageable(), pageSize: this.tableState.pageSize, skip: this.tableState.skip, onPageChange: this.tableState.handlePageChange, total: this.tableState.filteredCount, className: (0, classnames_1.default)(Styles.table, className), selectable: { enabled: selectable, mode: 'multiple' } }, { children: [selectable && ((0, jsx_runtime_1.jsx)(design_system_1.TableColumn, { locked: true, field: "selected", width: "50px", filterable: false, resizable: false, headerSelectionValue: props.scrollable !== 'virtual'
191
+ return (_jsxs(AnvilTable, Object.assign({ ref: this.ref }, props, { data: [...this.tableState.data], rowRender: this.rowRender, editField: "inEdit", filter: this.tableState.filter, filterOperators: filterOperators !== null && filterOperators !== void 0 ? filterOperators : operators, onFilterChange: this.tableState.handleFilterChange, group: [...this.tableState.group], onGroupChange: this.tableState.handleGroupChange, onExpandChange: this.tableState.handleExpandChange, expandField: "expanded", sort: [...this.tableState.sort], onSortChange: this.tableState.handleSortChange, onHeaderSelectionChange: this.handleHeaderSelectionChange, onSelectionChange: this.handleSelectionChange, selectedField: "selected", pageable: this.getPageable(), pageSize: this.tableState.pageSize, skip: this.tableState.skip, onPageChange: this.tableState.handlePageChange, total: this.tableState.filteredCount, className: classNames(Styles.table, className), selectable: { enabled: selectable, mode: 'multiple' } }, { children: [selectable && (_jsx(TableColumn, { locked: true, field: "selected", width: "50px", filterable: false, resizable: false, headerSelectionValue: props.scrollable !== 'virtual'
217
192
  ? this.tableState.isAllPageRowsSelected
218
- : this.tableState.isAllRowsSelected, headerCell: this.selectHeaderCell, cell: this.selectColumnCell, headerClassName: "lh-1-i ta-center-i", className: (0, classnames_1.default)(Styles.unselectable, 'lh-1-i', 'ta-center-i') }, void 0)), this.withCellTableState(props.children)] }), void 0));
193
+ : this.tableState.isAllRowsSelected, headerCell: this.selectHeaderCell, cell: this.selectColumnCell, headerClassName: "lh-1-i ta-center-i", className: classNames(Styles.unselectable, 'lh-1-i', 'ta-center-i') }, void 0)), this.withCellTableState(props.children)] }), void 0));
219
194
  }
220
195
  });
221
196
  }
222
197
  applyToColumns(children, transformer) {
223
- return react_1.Children.map(children, child => {
198
+ return Children.map(children, child => {
224
199
  if (!isColumnElement(child)) {
225
200
  return child;
226
201
  }
227
202
  return child.props.children
228
- ? (0, react_1.cloneElement)(transformer(child), {
203
+ ? cloneElement(transformer(child), {
229
204
  children: this.applyToColumns(child.props.children, transformer),
230
205
  })
231
206
  : transformer(child);
232
207
  });
233
208
  }
234
209
  render() {
235
- if (this.tableState.dataSource instanceof data_query_1.AsyncDataSource &&
210
+ if (this.tableState.dataSource instanceof AsyncDataSource &&
236
211
  this.props.scrollable === 'virtual' &&
237
212
  this.props.selectable) {
238
- return ((0, jsx_runtime_1.jsx)(design_system_1.Announcement, { status: "critical", title: "AsyncDataSource doesn't support virtual scroll with selection." }, void 0));
213
+ return (_jsx(Announcement, { status: "critical", title: "AsyncDataSource doesn't support virtual scroll with selection." }, void 0));
239
214
  }
240
215
  const table = this.table();
241
- return ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [table, this.props.exportable && ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(kendo_react_pdf_1.GridPDFExport, Object.assign({ ref: this.tableState.setTablePdfExportRef, fileName: sanitizeExportFileName(this.props.exportFileName) }, { children: [this.props.children, table] }), void 0), (0, jsx_runtime_1.jsx)(kendo_react_excel_export_1.ExcelExport, Object.assign({ ref: this.tableState.setTableExcelExportRef, fileName: sanitizeExportFileName(this.props.exportFileName) }, { children: this.props.children }), void 0)] }, void 0))] }, void 0));
216
+ return (_jsxs(Fragment, { children: [table, this.props.exportable && (_jsxs(Fragment, { children: [_jsxs(TablePDFExport, Object.assign({ ref: this.tableState.setTablePdfExportRef, fileName: sanitizeExportFileName(this.props.exportFileName) }, { children: [this.props.children, table] }), void 0), _jsx(ExcelExport, Object.assign({ ref: this.tableState.setTableExcelExportRef, fileName: sanitizeExportFileName(this.props.exportFileName) }, { children: this.props.children }), void 0)] }, void 0))] }, void 0));
242
217
  }
243
218
  getPageable() {
244
219
  var _a;
@@ -249,8 +224,8 @@ let Table = class Table extends react_1.Component {
249
224
  }
250
225
  };
251
226
  Table = __decorate([
252
- mobx_react_1.observer
227
+ observer
253
228
  ], Table);
254
- exports.Table = Table;
255
- const sanitizeExportFileName = (0, memoize_one_1.default)((fileName) => fileName === null || fileName === void 0 ? void 0 : fileName.replace(/\.+/g, '_'));
229
+ export { Table };
230
+ const sanitizeExportFileName = memoizeOne((fileName) => fileName === null || fileName === void 0 ? void 0 : fileName.replace(/\.+/g, '_'));
256
231
  //# sourceMappingURL=table.js.map
package/dist/table.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","sourceRoot":"","sources":["../src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
2
2
  "name": "@servicetitan/table",
3
- "version": "19.2.0",
3
+ "version": "20.0.1",
4
4
  "description": "",
5
5
  "homepage": "https://docs.st.dev/docs/frontend/table",
6
6
  "repository": {
@@ -10,6 +10,7 @@
10
10
  },
11
11
  "main": "./dist/index.js",
12
12
  "typings": "./dist/index.d.ts",
13
+ "sideEffects": false,
13
14
  "files": [
14
15
  "dist",
15
16
  "src"
@@ -35,30 +36,30 @@
35
36
  "memoize-one": "~5.2.1"
36
37
  },
37
38
  "devDependencies": {
38
- "@servicetitan/data-query": "^19.2.0",
39
- "@servicetitan/design-system": "~10.6.0",
40
- "@servicetitan/form": "^19.2.0",
41
- "@servicetitan/react-ioc": "^19.2.0",
42
- "@servicetitan/suppress-warnings": "^19.2.0",
39
+ "@servicetitan/data-query": "^20.0.1",
40
+ "@servicetitan/design-system": "~11.1.0",
41
+ "@servicetitan/form": "^20.0.1",
42
+ "@servicetitan/react-ioc": "^20.0.1",
43
+ "@servicetitan/suppress-warnings": "^20.0.1",
43
44
  "@types/accounting": "~0.4.2",
44
- "@types/react": "~17.0.37",
45
+ "@types/react": "~17.0.38",
45
46
  "accounting": "~0.4.1",
46
47
  "formstate": "~2.0.0",
47
- "mobx": "~6.3.8",
48
+ "mobx": "~6.3.12",
48
49
  "mobx-react": "~7.2.1",
49
50
  "mobx-utils": "~6.0.4",
50
51
  "moment": "~2.29.1",
51
52
  "react": "~17.0.2"
52
53
  },
53
54
  "peerDependencies": {
54
- "@servicetitan/data-query": "^17.0.0",
55
- "@servicetitan/design-system": "~10.6.0",
56
- "@servicetitan/form": "^17.0.0",
57
- "@servicetitan/react-ioc": "^17.0.0",
58
- "@servicetitan/suppress-warnings": "^17.0.0",
55
+ "@servicetitan/data-query": "^20.0.0",
56
+ "@servicetitan/design-system": "~11.1.0",
57
+ "@servicetitan/form": "^20.0.0",
58
+ "@servicetitan/react-ioc": "^20.0.0",
59
+ "@servicetitan/suppress-warnings": "^20.0.0",
59
60
  "accounting": "~0.4.1",
60
61
  "formstate": "~2.0.0",
61
- "mobx": "~6.3.8",
62
+ "mobx": "~6.3.12",
62
63
  "mobx-react": "~7.2.1",
63
64
  "mobx-utils": "~6.0.4",
64
65
  "moment": "~2.29.1",
@@ -70,5 +71,5 @@
70
71
  "cli": {
71
72
  "webpack": false
72
73
  },
73
- "gitHead": "62c48deffc4ed9aba58325fbad1b256ecbfae553"
74
+ "gitHead": "0c0dc470ff92789389bbb96a8e867ecd439a1509"
74
75
  }