@zat-design/sisyphus-react 3.11.13-beta.2 → 3.11.13-beta.3

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.
Files changed (48) hide show
  1. package/es/ProEditTable/components/ActionButton/index.js +2 -2
  2. package/es/ProEditTable/components/RenderField/index.js +4 -4
  3. package/es/ProEditTable/utils/config.js +10 -10
  4. package/es/ProEditTable/utils/index.js +3 -3
  5. package/lib/ProEditTable/components/ActionButton/index.js +2 -2
  6. package/lib/ProEditTable/components/RenderField/index.js +4 -4
  7. package/lib/ProEditTable/utils/config.js +10 -10
  8. package/lib/ProEditTable/utils/index.js +3 -3
  9. package/package.json +1 -1
  10. package/coverage/lcov-report/src/.umi/core/devScripts.ts.html +0 -241
  11. package/coverage/lcov-report/src/.umi/core/history.ts.html +0 -148
  12. package/coverage/lcov-report/src/.umi/core/index.html +0 -206
  13. package/coverage/lcov-report/src/.umi/core/plugin.ts.html +0 -109
  14. package/coverage/lcov-report/src/.umi/core/pluginRegister.ts.html +0 -160
  15. package/coverage/lcov-report/src/.umi/core/polyfill.ts.html +0 -97
  16. package/coverage/lcov-report/src/.umi/core/routes.ts.html +0 -26050
  17. package/coverage/lcov-report/src/.umi/core/umiExports.ts.html +0 -112
  18. package/coverage/lcov-report/src/.umi/dumi/demos/index.html +0 -116
  19. package/coverage/lcov-report/src/.umi/dumi/demos/index.ts.html +0 -6340
  20. package/coverage/lcov-report/src/.umi/dumi/index.html +0 -116
  21. package/coverage/lcov-report/src/.umi/dumi/layout.tsx.html +0 -109
  22. package/coverage/lcov-report/src/.umi/index.html +0 -116
  23. package/coverage/lcov-report/src/.umi/plugin-antd/index.html +0 -116
  24. package/coverage/lcov-report/src/.umi/plugin-antd/runtime.tsx.html +0 -172
  25. package/coverage/lcov-report/src/.umi/plugin-helmet/exports.ts.html +0 -94
  26. package/coverage/lcov-report/src/.umi/plugin-helmet/index.html +0 -116
  27. package/coverage/lcov-report/src/.umi/plugin-initial-state/Provider.tsx.html +0 -196
  28. package/coverage/lcov-report/src/.umi/plugin-initial-state/exports.ts.html +0 -106
  29. package/coverage/lcov-report/src/.umi/plugin-initial-state/index.html +0 -146
  30. package/coverage/lcov-report/src/.umi/plugin-initial-state/models/index.html +0 -116
  31. package/coverage/lcov-report/src/.umi/plugin-initial-state/models/initialState.ts.html +0 -88
  32. package/coverage/lcov-report/src/.umi/plugin-initial-state/runtime.tsx.html +0 -124
  33. package/coverage/lcov-report/src/.umi/plugin-locale/SelectLang.tsx.html +0 -1246
  34. package/coverage/lcov-report/src/.umi/plugin-locale/index.html +0 -161
  35. package/coverage/lcov-report/src/.umi/plugin-locale/locale.tsx.html +0 -268
  36. package/coverage/lcov-report/src/.umi/plugin-locale/localeExports.ts.html +0 -778
  37. package/coverage/lcov-report/src/.umi/plugin-locale/runtime.tsx.html +0 -115
  38. package/coverage/lcov-report/src/.umi/plugin-model/Provider.tsx.html +0 -202
  39. package/coverage/lcov-report/src/.umi/plugin-model/helpers/constant.tsx.html +0 -97
  40. package/coverage/lcov-report/src/.umi/plugin-model/helpers/dispatcher.tsx.html +0 -142
  41. package/coverage/lcov-report/src/.umi/plugin-model/helpers/executor.tsx.html +0 -334
  42. package/coverage/lcov-report/src/.umi/plugin-model/helpers/index.html +0 -146
  43. package/coverage/lcov-report/src/.umi/plugin-model/index.html +0 -146
  44. package/coverage/lcov-report/src/.umi/plugin-model/runtime.tsx.html +0 -121
  45. package/coverage/lcov-report/src/.umi/plugin-model/useModel.tsx.html +0 -298
  46. package/coverage/lcov-report/src/.umi/plugin-request/index.html +0 -116
  47. package/coverage/lcov-report/src/.umi/plugin-request/request.ts.html +0 -919
  48. package/coverage/lcov-report/src/.umi/umi.ts.html +0 -268
@@ -64,7 +64,7 @@ var ActionButton = function ActionButton(_ref) {
64
64
  mulDelete: mulDeletePoConfirmMsg
65
65
  };
66
66
  // 判断当前行是否正在编辑
67
- var isEditing = !virtualKey || btnConfig.isEditable === (editingKeys === null || editingKeys === void 0 ? void 0 : (_editingKeys$includes = editingKeys.includes) === null || _editingKeys$includes === void 0 ? void 0 : _editingKeys$includes.call(editingKeys, record === null || record === void 0 ? void 0 : record.rowKey));
67
+ var _isEditing = !virtualKey || btnConfig.isEditable === (editingKeys === null || editingKeys === void 0 ? void 0 : (_editingKeys$includes = editingKeys.includes) === null || _editingKeys$includes === void 0 ? void 0 : _editingKeys$includes.call(editingKeys, record === null || record === void 0 ? void 0 : record.rowKey));
68
68
  // 单行删除、多行删除按钮Props
69
69
  var delBtnProps = _objectSpread(_objectSpread({}, btnConfig.buttonProps), {}, {
70
70
  disabled: getDisabled((_btnConfig$buttonProp = (_btnConfig$buttonProp2 = btnConfig.buttonProps) === null || _btnConfig$buttonProp2 === void 0 ? void 0 : _btnConfig$buttonProp2.disabled) !== null && _btnConfig$buttonProp !== void 0 ? _btnConfig$buttonProp : !selectedRowKeys.length && btnConfig.type === 'mulDelete')
@@ -98,7 +98,7 @@ var ActionButton = function ActionButton(_ref) {
98
98
  });
99
99
  }
100
100
  var isDisabled = !selectedRowKeys.length && btnConfig.type === 'mulDelete' || editingKeys.length || (delBtnProps === null || delBtnProps === void 0 ? void 0 : delBtnProps.disabled);
101
- return isEditing && getShow(btnConfig.show) ? _jsx(_Fragment, {
101
+ return _isEditing && getShow(btnConfig.show) ? _jsx(_Fragment, {
102
102
  children: ['delete', 'mulDelete'].includes(btnConfig.type) ? _jsx(_Fragment, {
103
103
  children: (btnConfig === null || btnConfig === void 0 ? void 0 : btnConfig.needConfirm) ? _jsx(_Popconfirm, {
104
104
  placement: "topRight",
@@ -64,7 +64,7 @@ var RenderField = function RenderField(_ref) {
64
64
  var mode = config.mode,
65
65
  cellName = config.cellName,
66
66
  cellNamePath = config.cellNamePath,
67
- isEditing = config.isEditing,
67
+ _isEditing = config._isEditing,
68
68
  form = config.form,
69
69
  setState = config.setState,
70
70
  name = config.name,
@@ -139,7 +139,7 @@ var RenderField = function RenderField(_ref) {
139
139
  // }, 100);
140
140
  }
141
141
  // 是否只读文本
142
- var isView = !isEditable || (record === null || record === void 0 ? void 0 : record['is-view']) || config.isView || virtualKey && !isEditing || getDisabled({
142
+ var isView = !isEditable || (record === null || record === void 0 ? void 0 : record['is-view']) || config.isView || virtualKey && !_isEditing || getDisabled({
143
143
  globalControl: otherProps === null || otherProps === void 0 ? void 0 : otherProps.globalControl,
144
144
  formDisabled: otherProps === null || otherProps === void 0 ? void 0 : otherProps.formDisabled,
145
145
  column: column,
@@ -157,7 +157,7 @@ var RenderField = function RenderField(_ref) {
157
157
  label: label,
158
158
  labelRequired: labelRequired,
159
159
  required: !isView && _required,
160
- rules: isEditing ? _rules : [],
160
+ rules: _isEditing ? _rules : [],
161
161
  isSelect: isSelect({
162
162
  dataSource: (_fieldProps2 = _fieldProps) === null || _fieldProps2 === void 0 ? void 0 : _fieldProps2.dataSource,
163
163
  type: type
@@ -242,7 +242,7 @@ var RenderField = function RenderField(_ref) {
242
242
  var _componentMap$type;
243
243
  TargetComponent = (_componentMap$type = componentMap[type]) !== null && _componentMap$type !== void 0 ? _componentMap$type : _jsx(_Fragment, {});
244
244
  }
245
- if (isEditable && isEditing) {
245
+ if (isEditable && _isEditing) {
246
246
  if (typeof _editRender === 'function') {
247
247
  TargetComponent = _editRender.apply(void 0, rowParams);
248
248
  }
@@ -53,9 +53,9 @@ export var actions = {
53
53
  nextEditingKeys.push(record.rowKey);
54
54
  // 编辑时赋值编辑状态,供validator做保存校验
55
55
  if (nextEditingKeys === null || nextEditingKeys === void 0 ? void 0 : nextEditingKeys.length) {
56
- record.isEditing = true;
56
+ record._isEditing = true;
57
57
  } else {
58
- delete record.isEditing;
58
+ delete record._isEditing;
59
59
  }
60
60
  // 复制当前行数据
61
61
  form.setFieldValue(virtualRowName, _objectSpread({}, record));
@@ -73,15 +73,15 @@ export var actions = {
73
73
  // 保存返回数据与当前行内数据做合并
74
74
  updateData = _typeof(result) === 'object' ? result : {};
75
75
  record = _objectSpread(_objectSpread(_objectSpread({}, record), form.getFieldValue(virtualRowName)), updateData);
76
- delete record.addFlag; // 删除第一次新增的标记
76
+ delete record._addFlag; // 删除第一次新增的标记
77
77
  // 关闭当前保存行的编辑状态
78
78
  nextEditingKeys = editingKeys.filter(function (key) {
79
79
  return key !== record.rowKey;
80
80
  }); // 保存后取消编辑状态,供validator做保存校验
81
81
  if (nextEditingKeys === null || nextEditingKeys === void 0 ? void 0 : nextEditingKeys.length) {
82
- record.isEditing = true;
82
+ record._isEditing = true;
83
83
  } else {
84
- delete record.isEditing;
84
+ delete record._isEditing;
85
85
  }
86
86
  // 防止value引用不变, 值不更新 - (自定义组件)
87
87
  values = form.getFieldsValue();
@@ -114,15 +114,15 @@ export var actions = {
114
114
  });
115
115
  // 保存后取消编辑状态,供validator做保存校验
116
116
  if (nextEditingKeys === null || nextEditingKeys === void 0 ? void 0 : nextEditingKeys.length) {
117
- record.isEditing = true;
117
+ record._isEditing = true;
118
118
  } else {
119
- delete record.isEditing;
119
+ delete record._isEditing;
120
120
  }
121
121
  setState({
122
122
  editingKeys: nextEditingKeys
123
123
  }); // 关闭编辑状态
124
124
  // 取消分两种,一编辑取消,二添加取消
125
- if (record.addFlag) {
125
+ if (record._addFlag) {
126
126
  onDelete({
127
127
  name: name,
128
128
  form: form,
@@ -187,8 +187,8 @@ export var actions = {
187
187
  rowKey: rowKey
188
188
  }); // 单行编辑时,需要操作一下数据结构,判断是否第一次新增,以及是否是编辑状态
189
189
  if (virtualKey) {
190
- addData.addFlag = true;
191
- addData.isEditing = true;
190
+ addData._addFlag = true;
191
+ addData._isEditing = true;
192
192
  }
193
193
  if (insertType === 'before') {
194
194
  nextData.unshift(addData);
@@ -277,7 +277,7 @@ export var transformColumns = function transformColumns() {
277
277
  item.className = _toConsumableArray(new Set(item.className.split(' '))).join(' ');
278
278
  }
279
279
  var _render = function _render(text, record, index) {
280
- var isEditing = !virtualKey || editingKeys.includes(record.rowKey) || record.addFlag;
280
+ var _isEditing = !virtualKey || editingKeys.includes(record.rowKey) || record._addFlag;
281
281
  var namePath = isArray(name) ? name : [name];
282
282
  if (virtualKey && editingKeys.includes(record.rowKey)) {
283
283
  namePath = getNamePath(name, virtualKey);
@@ -298,7 +298,7 @@ export var transformColumns = function transformColumns() {
298
298
  return record === null || record === void 0 ? void 0 : record[item];
299
299
  });
300
300
  }
301
- if (!isEditing && ellipsis) {
301
+ if (!_isEditing && ellipsis) {
302
302
  return _jsx(ProTooltip, {
303
303
  text: _text,
304
304
  line: 1,
@@ -337,7 +337,7 @@ export var transformColumns = function transformColumns() {
337
337
  column: item,
338
338
  config: _objectSpread(_objectSpread({}, config), {}, {
339
339
  cellName: cellName,
340
- isEditing: isEditing // 是否正在编辑
340
+ _isEditing: _isEditing // 是否正在编辑
341
341
  })
342
342
  })]
343
343
  });
@@ -68,7 +68,7 @@ var ActionButton = function ActionButton(_ref) {
68
68
  mulDelete: mulDeletePoConfirmMsg
69
69
  };
70
70
  // 判断当前行是否正在编辑
71
- var isEditing = !virtualKey || btnConfig.isEditable === (editingKeys === null || editingKeys === void 0 ? void 0 : (_editingKeys$includes = editingKeys.includes) === null || _editingKeys$includes === void 0 ? void 0 : _editingKeys$includes.call(editingKeys, record === null || record === void 0 ? void 0 : record.rowKey));
71
+ var _isEditing = !virtualKey || btnConfig.isEditable === (editingKeys === null || editingKeys === void 0 ? void 0 : (_editingKeys$includes = editingKeys.includes) === null || _editingKeys$includes === void 0 ? void 0 : _editingKeys$includes.call(editingKeys, record === null || record === void 0 ? void 0 : record.rowKey));
72
72
  // 单行删除、多行删除按钮Props
73
73
  var delBtnProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, btnConfig.buttonProps), {}, {
74
74
  disabled: getDisabled((_btnConfig$buttonProp = (_btnConfig$buttonProp2 = btnConfig.buttonProps) === null || _btnConfig$buttonProp2 === void 0 ? void 0 : _btnConfig$buttonProp2.disabled) !== null && _btnConfig$buttonProp !== void 0 ? _btnConfig$buttonProp : !selectedRowKeys.length && btnConfig.type === 'mulDelete')
@@ -102,7 +102,7 @@ var ActionButton = function ActionButton(_ref) {
102
102
  });
103
103
  }
104
104
  var isDisabled = !selectedRowKeys.length && btnConfig.type === 'mulDelete' || editingKeys.length || (delBtnProps === null || delBtnProps === void 0 ? void 0 : delBtnProps.disabled);
105
- return isEditing && getShow(btnConfig.show) ? (0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
105
+ return _isEditing && getShow(btnConfig.show) ? (0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
106
106
  children: ['delete', 'mulDelete'].includes(btnConfig.type) ? (0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
107
107
  children: (btnConfig === null || btnConfig === void 0 ? void 0 : btnConfig.needConfirm) ? (0, _jsxRuntime.jsx)(_antd.Popconfirm, {
108
108
  placement: "topRight",
@@ -71,7 +71,7 @@ var RenderField = function RenderField(_ref) {
71
71
  var mode = config.mode,
72
72
  cellName = config.cellName,
73
73
  cellNamePath = config.cellNamePath,
74
- isEditing = config.isEditing,
74
+ _isEditing = config._isEditing,
75
75
  form = config.form,
76
76
  setState = config.setState,
77
77
  name = config.name,
@@ -146,7 +146,7 @@ var RenderField = function RenderField(_ref) {
146
146
  // }, 100);
147
147
  }
148
148
  // 是否只读文本
149
- var isView = !isEditable || (record === null || record === void 0 ? void 0 : record['is-view']) || config.isView || virtualKey && !isEditing || (0, _tools.getDisabled)({
149
+ var isView = !isEditable || (record === null || record === void 0 ? void 0 : record['is-view']) || config.isView || virtualKey && !_isEditing || (0, _tools.getDisabled)({
150
150
  globalControl: otherProps === null || otherProps === void 0 ? void 0 : otherProps.globalControl,
151
151
  formDisabled: otherProps === null || otherProps === void 0 ? void 0 : otherProps.formDisabled,
152
152
  column: column,
@@ -164,7 +164,7 @@ var RenderField = function RenderField(_ref) {
164
164
  label: label,
165
165
  labelRequired: labelRequired,
166
166
  required: !isView && _required,
167
- rules: isEditing ? _rules : [],
167
+ rules: _isEditing ? _rules : [],
168
168
  isSelect: (0, _utils.isSelect)({
169
169
  dataSource: (_fieldProps2 = _fieldProps) === null || _fieldProps2 === void 0 ? void 0 : _fieldProps2.dataSource,
170
170
  type: type
@@ -249,7 +249,7 @@ var RenderField = function RenderField(_ref) {
249
249
  var _componentMap$type;
250
250
  TargetComponent = (_componentMap$type = componentMap[type]) !== null && _componentMap$type !== void 0 ? _componentMap$type : (0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {});
251
251
  }
252
- if (isEditable && isEditing) {
252
+ if (isEditable && _isEditing) {
253
253
  if (typeof _editRender === 'function') {
254
254
  TargetComponent = _editRender.apply(void 0, rowParams);
255
255
  }
@@ -59,9 +59,9 @@ var actions = exports.actions = {
59
59
  nextEditingKeys.push(record.rowKey);
60
60
  // 编辑时赋值编辑状态,供validator做保存校验
61
61
  if (nextEditingKeys === null || nextEditingKeys === void 0 ? void 0 : nextEditingKeys.length) {
62
- record.isEditing = true;
62
+ record._isEditing = true;
63
63
  } else {
64
- delete record.isEditing;
64
+ delete record._isEditing;
65
65
  }
66
66
  // 复制当前行数据
67
67
  form.setFieldValue(virtualRowName, (0, _objectSpread2.default)({}, record));
@@ -79,15 +79,15 @@ var actions = exports.actions = {
79
79
  // 保存返回数据与当前行内数据做合并
80
80
  updateData = (0, _typeof2.default)(result) === 'object' ? result : {};
81
81
  record = (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, record), form.getFieldValue(virtualRowName)), updateData);
82
- delete record.addFlag; // 删除第一次新增的标记
82
+ delete record._addFlag; // 删除第一次新增的标记
83
83
  // 关闭当前保存行的编辑状态
84
84
  nextEditingKeys = editingKeys.filter(function (key) {
85
85
  return key !== record.rowKey;
86
86
  }); // 保存后取消编辑状态,供validator做保存校验
87
87
  if (nextEditingKeys === null || nextEditingKeys === void 0 ? void 0 : nextEditingKeys.length) {
88
- record.isEditing = true;
88
+ record._isEditing = true;
89
89
  } else {
90
- delete record.isEditing;
90
+ delete record._isEditing;
91
91
  }
92
92
  // 防止value引用不变, 值不更新 - (自定义组件)
93
93
  values = form.getFieldsValue();
@@ -120,15 +120,15 @@ var actions = exports.actions = {
120
120
  });
121
121
  // 保存后取消编辑状态,供validator做保存校验
122
122
  if (nextEditingKeys === null || nextEditingKeys === void 0 ? void 0 : nextEditingKeys.length) {
123
- record.isEditing = true;
123
+ record._isEditing = true;
124
124
  } else {
125
- delete record.isEditing;
125
+ delete record._isEditing;
126
126
  }
127
127
  setState({
128
128
  editingKeys: nextEditingKeys
129
129
  }); // 关闭编辑状态
130
130
  // 取消分两种,一编辑取消,二添加取消
131
- if (record.addFlag) {
131
+ if (record._addFlag) {
132
132
  (0, _tools.onDelete)({
133
133
  name: name,
134
134
  form: form,
@@ -193,8 +193,8 @@ var actions = exports.actions = {
193
193
  rowKey: rowKey
194
194
  }); // 单行编辑时,需要操作一下数据结构,判断是否第一次新增,以及是否是编辑状态
195
195
  if (virtualKey) {
196
- addData.addFlag = true;
197
- addData.isEditing = true;
196
+ addData._addFlag = true;
197
+ addData._isEditing = true;
198
198
  }
199
199
  if (insertType === 'before') {
200
200
  nextData.unshift(addData);
@@ -281,7 +281,7 @@ var transformColumns = exports.transformColumns = function transformColumns() {
281
281
  item.className = (0, _toConsumableArray2.default)(new Set(item.className.split(' '))).join(' ');
282
282
  }
283
283
  var _render = function _render(text, record, index) {
284
- var isEditing = !virtualKey || editingKeys.includes(record.rowKey) || record.addFlag;
284
+ var _isEditing = !virtualKey || editingKeys.includes(record.rowKey) || record._addFlag;
285
285
  var namePath = (0, _lodash.isArray)(name) ? name : [name];
286
286
  if (virtualKey && editingKeys.includes(record.rowKey)) {
287
287
  namePath = (0, _tools.getNamePath)(name, virtualKey);
@@ -302,7 +302,7 @@ var transformColumns = exports.transformColumns = function transformColumns() {
302
302
  return record === null || record === void 0 ? void 0 : record[item];
303
303
  });
304
304
  }
305
- if (!isEditing && ellipsis) {
305
+ if (!_isEditing && ellipsis) {
306
306
  return (0, _jsxRuntime.jsx)(_ProTooltip.default, {
307
307
  text: _text,
308
308
  line: 1,
@@ -341,7 +341,7 @@ var transformColumns = exports.transformColumns = function transformColumns() {
341
341
  column: item,
342
342
  config: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, config), {}, {
343
343
  cellName: cellName,
344
- isEditing: isEditing // 是否正在编辑
344
+ _isEditing: _isEditing // 是否正在编辑
345
345
  })
346
346
  })]
347
347
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.11.13-beta.2",
3
+ "version": "3.11.13-beta.3",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -1,241 +0,0 @@
1
-
2
- <!doctype html>
3
- <html lang="en">
4
-
5
- <head>
6
- <title>Code coverage report for src/.umi/core/devScripts.ts</title>
7
- <meta charset="utf-8" />
8
- <link rel="stylesheet" href="../../../prettify.css" />
9
- <link rel="stylesheet" href="../../../base.css" />
10
- <link rel="shortcut icon" type="image/x-icon" href="../../../favicon.png" />
11
- <meta name="viewport" content="width=device-width, initial-scale=1" />
12
- <style type='text/css'>
13
- .coverage-summary .sorter {
14
- background-image: url(../../../sort-arrow-sprite.png);
15
- }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <div class='wrapper'>
21
- <div class='pad1'>
22
- <h1><a href="../../../index.html">All files</a> / <a href="index.html">src/.umi/core</a> devScripts.ts</h1>
23
- <div class='clearfix'>
24
-
25
- <div class='fl pad1y space-right2'>
26
- <span class="strong">0% </span>
27
- <span class="quiet">Statements</span>
28
- <span class='fraction'>0/18</span>
29
- </div>
30
-
31
-
32
- <div class='fl pad1y space-right2'>
33
- <span class="strong">0% </span>
34
- <span class="quiet">Branches</span>
35
- <span class='fraction'>0/15</span>
36
- </div>
37
-
38
-
39
- <div class='fl pad1y space-right2'>
40
- <span class="strong">0% </span>
41
- <span class="quiet">Functions</span>
42
- <span class='fraction'>0/5</span>
43
- </div>
44
-
45
-
46
- <div class='fl pad1y space-right2'>
47
- <span class="strong">0% </span>
48
- <span class="quiet">Lines</span>
49
- <span class='fraction'>0/18</span>
50
- </div>
51
-
52
-
53
- </div>
54
- <p class="quiet">
55
- Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
56
- </p>
57
- <template id="filterTemplate">
58
- <div class="quiet">
59
- Filter:
60
- <input oninput="onInput()" type="search" id="fileSearch">
61
- </div>
62
- </template>
63
- </div>
64
- <div class='status-line low'></div>
65
- <pre><table class="coverage">
66
- <tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
67
- <a name='L2'></a><a href='#L2'>2</a>
68
- <a name='L3'></a><a href='#L3'>3</a>
69
- <a name='L4'></a><a href='#L4'>4</a>
70
- <a name='L5'></a><a href='#L5'>5</a>
71
- <a name='L6'></a><a href='#L6'>6</a>
72
- <a name='L7'></a><a href='#L7'>7</a>
73
- <a name='L8'></a><a href='#L8'>8</a>
74
- <a name='L9'></a><a href='#L9'>9</a>
75
- <a name='L10'></a><a href='#L10'>10</a>
76
- <a name='L11'></a><a href='#L11'>11</a>
77
- <a name='L12'></a><a href='#L12'>12</a>
78
- <a name='L13'></a><a href='#L13'>13</a>
79
- <a name='L14'></a><a href='#L14'>14</a>
80
- <a name='L15'></a><a href='#L15'>15</a>
81
- <a name='L16'></a><a href='#L16'>16</a>
82
- <a name='L17'></a><a href='#L17'>17</a>
83
- <a name='L18'></a><a href='#L18'>18</a>
84
- <a name='L19'></a><a href='#L19'>19</a>
85
- <a name='L20'></a><a href='#L20'>20</a>
86
- <a name='L21'></a><a href='#L21'>21</a>
87
- <a name='L22'></a><a href='#L22'>22</a>
88
- <a name='L23'></a><a href='#L23'>23</a>
89
- <a name='L24'></a><a href='#L24'>24</a>
90
- <a name='L25'></a><a href='#L25'>25</a>
91
- <a name='L26'></a><a href='#L26'>26</a>
92
- <a name='L27'></a><a href='#L27'>27</a>
93
- <a name='L28'></a><a href='#L28'>28</a>
94
- <a name='L29'></a><a href='#L29'>29</a>
95
- <a name='L30'></a><a href='#L30'>30</a>
96
- <a name='L31'></a><a href='#L31'>31</a>
97
- <a name='L32'></a><a href='#L32'>32</a>
98
- <a name='L33'></a><a href='#L33'>33</a>
99
- <a name='L34'></a><a href='#L34'>34</a>
100
- <a name='L35'></a><a href='#L35'>35</a>
101
- <a name='L36'></a><a href='#L36'>36</a>
102
- <a name='L37'></a><a href='#L37'>37</a>
103
- <a name='L38'></a><a href='#L38'>38</a>
104
- <a name='L39'></a><a href='#L39'>39</a>
105
- <a name='L40'></a><a href='#L40'>40</a>
106
- <a name='L41'></a><a href='#L41'>41</a>
107
- <a name='L42'></a><a href='#L42'>42</a>
108
- <a name='L43'></a><a href='#L43'>43</a>
109
- <a name='L44'></a><a href='#L44'>44</a>
110
- <a name='L45'></a><a href='#L45'>45</a>
111
- <a name='L46'></a><a href='#L46'>46</a>
112
- <a name='L47'></a><a href='#L47'>47</a>
113
- <a name='L48'></a><a href='#L48'>48</a>
114
- <a name='L49'></a><a href='#L49'>49</a>
115
- <a name='L50'></a><a href='#L50'>50</a>
116
- <a name='L51'></a><a href='#L51'>51</a>
117
- <a name='L52'></a><a href='#L52'>52</a>
118
- <a name='L53'></a><a href='#L53'>53</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
119
- <span class="cline-any cline-neutral">&nbsp;</span>
120
- <span class="cline-any cline-no">&nbsp;</span>
121
- <span class="cline-any cline-neutral">&nbsp;</span>
122
- <span class="cline-any cline-neutral">&nbsp;</span>
123
- <span class="cline-any cline-no">&nbsp;</span>
124
- <span class="cline-any cline-no">&nbsp;</span>
125
- <span class="cline-any cline-no">&nbsp;</span>
126
- <span class="cline-any cline-neutral">&nbsp;</span>
127
- <span class="cline-any cline-neutral">&nbsp;</span>
128
- <span class="cline-any cline-neutral">&nbsp;</span>
129
- <span class="cline-any cline-neutral">&nbsp;</span>
130
- <span class="cline-any cline-no">&nbsp;</span>
131
- <span class="cline-any cline-neutral">&nbsp;</span>
132
- <span class="cline-any cline-neutral">&nbsp;</span>
133
- <span class="cline-any cline-neutral">&nbsp;</span>
134
- <span class="cline-any cline-neutral">&nbsp;</span>
135
- <span class="cline-any cline-no">&nbsp;</span>
136
- <span class="cline-any cline-no">&nbsp;</span>
137
- <span class="cline-any cline-neutral">&nbsp;</span>
138
- <span class="cline-any cline-neutral">&nbsp;</span>
139
- <span class="cline-any cline-neutral">&nbsp;</span>
140
- <span class="cline-any cline-no">&nbsp;</span>
141
- <span class="cline-any cline-no">&nbsp;</span>
142
- <span class="cline-any cline-no">&nbsp;</span>
143
- <span class="cline-any cline-neutral">&nbsp;</span>
144
- <span class="cline-any cline-neutral">&nbsp;</span>
145
- <span class="cline-any cline-no">&nbsp;</span>
146
- <span class="cline-any cline-neutral">&nbsp;</span>
147
- <span class="cline-any cline-no">&nbsp;</span>
148
- <span class="cline-any cline-neutral">&nbsp;</span>
149
- <span class="cline-any cline-no">&nbsp;</span>
150
- <span class="cline-any cline-neutral">&nbsp;</span>
151
- <span class="cline-any cline-neutral">&nbsp;</span>
152
- <span class="cline-any cline-neutral">&nbsp;</span>
153
- <span class="cline-any cline-neutral">&nbsp;</span>
154
- <span class="cline-any cline-no">&nbsp;</span>
155
- <span class="cline-any cline-neutral">&nbsp;</span>
156
- <span class="cline-any cline-no">&nbsp;</span>
157
- <span class="cline-any cline-neutral">&nbsp;</span>
158
- <span class="cline-any cline-neutral">&nbsp;</span>
159
- <span class="cline-any cline-no">&nbsp;</span>
160
- <span class="cline-any cline-neutral">&nbsp;</span>
161
- <span class="cline-any cline-neutral">&nbsp;</span>
162
- <span class="cline-any cline-neutral">&nbsp;</span>
163
- <span class="cline-any cline-neutral">&nbsp;</span>
164
- <span class="cline-any cline-no">&nbsp;</span>
165
- <span class="cline-any cline-neutral">&nbsp;</span>
166
- <span class="cline-any cline-neutral">&nbsp;</span>
167
- <span class="cline-any cline-neutral">&nbsp;</span>
168
- <span class="cline-any cline-neutral">&nbsp;</span>
169
- <span class="cline-any cline-no">&nbsp;</span>
170
- <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">// @ts-nocheck
171
- &nbsp;
172
- <span class="cstat-no" title="statement not covered" >if (window.g_initWebpackHotDevClient) {</span>
173
- function <span class="fstat-no" title="function not covered" >tryApplyUpdates(</span>onHotUpdateSuccess?: Function) {
174
- // @ts-ignore
175
- <span class="cstat-no" title="statement not covered" > if (!module.hot) {</span>
176
- <span class="cstat-no" title="statement not covered" > window.location.reload();</span>
177
- <span class="cstat-no" title="statement not covered" > return;</span>
178
- }
179
- &nbsp;
180
- function <span class="fstat-no" title="function not covered" >isUpdateAvailable(</span>) {
181
- // @ts-ignore
182
- <span class="cstat-no" title="statement not covered" > return window.g_getMostRecentCompilationHash() !== __webpack_hash__;</span>
183
- }
184
- &nbsp;
185
- // TODO: is update available?
186
- // @ts-ignore
187
- <span class="cstat-no" title="statement not covered" > if (!isUpdateAvailable() || module.hot.status() !== 'idle') {</span>
188
- <span class="cstat-no" title="statement not covered" > return;</span>
189
- }
190
- &nbsp;
191
- function <span class="fstat-no" title="function not covered" >handleApplyUpdates(</span>err: Error | null, updatedModules: any) {
192
- <span class="cstat-no" title="statement not covered" > if (err || !updatedModules || window.g_getHadRuntimeError()) {</span>
193
- <span class="cstat-no" title="statement not covered" > window.location.reload();</span>
194
- <span class="cstat-no" title="statement not covered" > return;</span>
195
- }
196
- &nbsp;
197
- <span class="cstat-no" title="statement not covered" > onHotUpdateSuccess?.();</span>
198
- &nbsp;
199
- <span class="cstat-no" title="statement not covered" > if (isUpdateAvailable()) {</span>
200
- // While we were updating, there was a new update! Do it again.
201
- <span class="cstat-no" title="statement not covered" > tryApplyUpdates();</span>
202
- }
203
- }
204
- &nbsp;
205
- // @ts-ignore
206
- <span class="cstat-no" title="statement not covered" > module.hot.check(true).then(</span>
207
- <span class="fstat-no" title="function not covered" > fu</span>nction (updatedModules: any) {
208
- <span class="cstat-no" title="statement not covered" > handleApplyUpdates(null, updatedModules);</span>
209
- },
210
- <span class="fstat-no" title="function not covered" > fu</span>nction (err: Error) {
211
- <span class="cstat-no" title="statement not covered" > handleApplyUpdates(err, null);</span>
212
- },
213
- );
214
- }
215
- &nbsp;
216
- <span class="cstat-no" title="statement not covered" > window.g_initWebpackHotDevClient({</span>
217
- tryApplyUpdates,
218
- });
219
- }
220
- &nbsp;
221
- export const __mfsu = <span class="cstat-no" title="statement not covered" >1;</span>
222
- </pre></td></tr></table></pre>
223
-
224
- <div class='push'></div><!-- for sticky footer -->
225
- </div><!-- /wrapper -->
226
- <div class='footer quiet pad2 space-top1 center small'>
227
- Code coverage generated by
228
- <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
229
- at 2024-01-24T02:49:50.075Z
230
- </div>
231
- <script src="../../../prettify.js"></script>
232
- <script>
233
- window.onload = function () {
234
- prettyPrint();
235
- };
236
- </script>
237
- <script src="../../../sorter.js"></script>
238
- <script src="../../../block-navigation.js"></script>
239
- </body>
240
- </html>
241
-