@zat-design/sisyphus-react 3.5.5-beta.6 → 3.5.5-beta.8

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 (58) hide show
  1. package/es/ProForm/components/render/Render.js +26 -6
  2. package/es/ProForm/components/render/propsType.d.ts +2 -0
  3. package/es/assets/catalog.svg +1 -1
  4. package/es/assets/disabled.svg +1 -1
  5. package/es/assets/drag.svg +1 -1
  6. package/es/assets/fold.svg +1 -1
  7. package/es/assets/input-search.svg +1 -1
  8. package/es/assets/reset.svg +1 -1
  9. package/es/assets/view.svg +1 -1
  10. package/lib/ProForm/components/render/Render.js +25 -5
  11. package/lib/ProForm/components/render/propsType.d.ts +2 -0
  12. package/lib/assets/catalog.svg +1 -1
  13. package/lib/assets/disabled.svg +1 -1
  14. package/lib/assets/drag.svg +1 -1
  15. package/lib/assets/fold.svg +1 -1
  16. package/lib/assets/input-search.svg +1 -1
  17. package/lib/assets/reset.svg +1 -1
  18. package/lib/assets/view.svg +1 -1
  19. package/package.json +1 -1
  20. package/coverage/lcov-report/src/.umi/core/devScripts.ts.html +0 -241
  21. package/coverage/lcov-report/src/.umi/core/history.ts.html +0 -148
  22. package/coverage/lcov-report/src/.umi/core/index.html +0 -206
  23. package/coverage/lcov-report/src/.umi/core/plugin.ts.html +0 -109
  24. package/coverage/lcov-report/src/.umi/core/pluginRegister.ts.html +0 -160
  25. package/coverage/lcov-report/src/.umi/core/polyfill.ts.html +0 -97
  26. package/coverage/lcov-report/src/.umi/core/routes.ts.html +0 -26050
  27. package/coverage/lcov-report/src/.umi/core/umiExports.ts.html +0 -112
  28. package/coverage/lcov-report/src/.umi/dumi/demos/index.html +0 -116
  29. package/coverage/lcov-report/src/.umi/dumi/demos/index.ts.html +0 -6340
  30. package/coverage/lcov-report/src/.umi/dumi/index.html +0 -116
  31. package/coverage/lcov-report/src/.umi/dumi/layout.tsx.html +0 -109
  32. package/coverage/lcov-report/src/.umi/index.html +0 -116
  33. package/coverage/lcov-report/src/.umi/plugin-antd/index.html +0 -116
  34. package/coverage/lcov-report/src/.umi/plugin-antd/runtime.tsx.html +0 -172
  35. package/coverage/lcov-report/src/.umi/plugin-helmet/exports.ts.html +0 -94
  36. package/coverage/lcov-report/src/.umi/plugin-helmet/index.html +0 -116
  37. package/coverage/lcov-report/src/.umi/plugin-initial-state/Provider.tsx.html +0 -196
  38. package/coverage/lcov-report/src/.umi/plugin-initial-state/exports.ts.html +0 -106
  39. package/coverage/lcov-report/src/.umi/plugin-initial-state/index.html +0 -146
  40. package/coverage/lcov-report/src/.umi/plugin-initial-state/models/index.html +0 -116
  41. package/coverage/lcov-report/src/.umi/plugin-initial-state/models/initialState.ts.html +0 -88
  42. package/coverage/lcov-report/src/.umi/plugin-initial-state/runtime.tsx.html +0 -124
  43. package/coverage/lcov-report/src/.umi/plugin-locale/SelectLang.tsx.html +0 -1246
  44. package/coverage/lcov-report/src/.umi/plugin-locale/index.html +0 -161
  45. package/coverage/lcov-report/src/.umi/plugin-locale/locale.tsx.html +0 -268
  46. package/coverage/lcov-report/src/.umi/plugin-locale/localeExports.ts.html +0 -778
  47. package/coverage/lcov-report/src/.umi/plugin-locale/runtime.tsx.html +0 -115
  48. package/coverage/lcov-report/src/.umi/plugin-model/Provider.tsx.html +0 -202
  49. package/coverage/lcov-report/src/.umi/plugin-model/helpers/constant.tsx.html +0 -97
  50. package/coverage/lcov-report/src/.umi/plugin-model/helpers/dispatcher.tsx.html +0 -142
  51. package/coverage/lcov-report/src/.umi/plugin-model/helpers/executor.tsx.html +0 -334
  52. package/coverage/lcov-report/src/.umi/plugin-model/helpers/index.html +0 -146
  53. package/coverage/lcov-report/src/.umi/plugin-model/index.html +0 -146
  54. package/coverage/lcov-report/src/.umi/plugin-model/runtime.tsx.html +0 -121
  55. package/coverage/lcov-report/src/.umi/plugin-model/useModel.tsx.html +0 -298
  56. package/coverage/lcov-report/src/.umi/plugin-request/index.html +0 -116
  57. package/coverage/lcov-report/src/.umi/plugin-request/request.ts.html +0 -919
  58. package/coverage/lcov-report/src/.umi/umi.ts.html +0 -268
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
22
22
  import React, { useMemo } from 'react';
23
23
  import classNames from 'classnames';
24
24
  import { ReactSVG } from 'react-svg';
25
- import { isFunction, isString, omit, set } from 'lodash';
25
+ import { isFunction, isString, omit, set, debounce } from 'lodash';
26
26
  import useShouldUpdate from '../../utils/useShouldUpdate';
27
27
  import { isTrim, isUpperCase, findOptionByValue, parseNamePath } from '../../utils/index';
28
28
  import { useProConfig } from '../../../ProConfigProvider';
@@ -241,7 +241,7 @@ var Render = function Render(props) {
241
241
  /**
242
242
  * onChange参数重置 (value, record, { form, index, namePath, option }) => void
243
243
  */
244
- var handleChange = function handleChange() {
244
+ var defaultHandleChange = function defaultHandleChange() {
245
245
  var _otherFormItemProps$n3, _lastComponentProps$c2;
246
246
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
247
247
  args[_key] = arguments[_key];
@@ -282,21 +282,41 @@ var Render = function Render(props) {
282
282
  }
283
283
  (_lastComponentProps$c2 = lastComponentProps[changeKey]) === null || _lastComponentProps$c2 === void 0 ? void 0 : _lastComponentProps$c2.call.apply(_lastComponentProps$c2, [lastComponentProps].concat(_toConsumableArray(_args)));
284
284
  };
285
+ var debouncedHandleChange = debounce(defaultHandleChange, lastComponentProps === null || lastComponentProps === void 0 ? void 0 : lastComponentProps.debounceWait);
286
+ var handleChange = function handleChange() {
287
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
288
+ args[_key2] = arguments[_key2];
289
+ }
290
+ var _args = [].concat(args);
291
+ if (lastComponentProps === null || lastComponentProps === void 0 ? void 0 : lastComponentProps.debounceWait) {
292
+ // 为了兼容 Input 和 TextArea 的 onChange 事件,需要将 event 对象转换为 value
293
+ if (['Input', 'TextArea'].includes(type)) {
294
+ _args[0] = {
295
+ target: {
296
+ value: _args[0].target.value
297
+ }
298
+ };
299
+ }
300
+ debouncedHandleChange.apply(void 0, _toConsumableArray(_args));
301
+ } else {
302
+ defaultHandleChange.apply(void 0, _toConsumableArray(_args));
303
+ }
304
+ };
285
305
  /**
286
306
  * onBlur参数重置 (value, record, { form, index, namePath, option }) => void
287
307
  */
288
308
  var handleBlur = /*#__PURE__*/function () {
289
309
  var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
290
- var _len2,
310
+ var _len3,
291
311
  args,
292
- _key2,
312
+ _key3,
293
313
  _args,
294
314
  _args3 = arguments;
295
315
  return _regeneratorRuntime().wrap(function _callee$(_context) {
296
316
  while (1) switch (_context.prev = _context.next) {
297
317
  case 0:
298
- for (_len2 = _args3.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
299
- args[_key2] = _args3[_key2];
318
+ for (_len3 = _args3.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
319
+ args[_key3] = _args3[_key3];
300
320
  }
301
321
  _args = functionArgs([].concat(args));
302
322
  _context.t0 = lastComponentProps === null || lastComponentProps === void 0 ? void 0 : lastComponentProps.onBlur;
@@ -219,6 +219,8 @@ export interface ProFormColumnProps<Values = any> extends Omit<FormItemProps<Val
219
219
  /** 是否固定字段, 不隐藏 */
220
220
  fixed?: boolean;
221
221
  confirm?: boolean | ModalFuncProps | FunctionArgs<Values, boolean | ModalFuncProps | void>;
222
+ /** 防抖模式 */
223
+ debounceWait?: number;
222
224
  }
223
225
  export type ProColumnProps<T = any> = ProFormColumnProps<T> & ColumnPropsMap<T, 'ProForm'>;
224
226
  /**
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>编组 52@1x</title>
3
+ <!-- <title>编组 52@1x</title> -->
4
4
  <defs>
5
5
  <rect id="path-1" x="0" y="4" width="24" height="18" rx="2"></rect>
6
6
  <filter x="-14.6%" y="-13.9%" width="129.2%" height="138.9%" filterUnits="objectBoundingBox" id="filter-2">
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>编组 33</title>
3
+ <!-- <title>编组 33</title> -->
4
4
  <g id="--11.表格-Table" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
5
  <g id="自定义列" transform="translate(-1204.000000, -219.000000)">
6
6
  <g id="编组-31" transform="translate(712.000000, 60.000000)">
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>编组 34</title>
3
+ <!-- <title>编组 34</title> -->
4
4
  <g id="--11.表格-Table" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
5
  <g id="自定义列" transform="translate(-1204.000000, -259.000000)">
6
6
  <g id="编组-31" transform="translate(712.000000, 60.000000)">
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="16px" height="15px" viewBox="0 0 16 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>编组 2</title>
3
+ <!-- <title>编组 2</title> -->
4
4
  <defs>
5
5
  <linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="linearGradient-1">
6
6
  <stop stop-color="#ADDDFF" stop-opacity="0" offset="0%"></stop>
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>Combined Shape</title>
3
+ <!-- <title>Combined Shape</title> -->
4
4
  <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
5
  <g id="业务归属机构选择-多选说明" transform="translate(-284.000000, -941.000000)" fill="#909090">
6
6
  <g id="Search备份-7" transform="translate(276.000000, 931.000000)">
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="13px" height="15px" viewBox="0 0 13 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>形状</title>
3
+ <!-- <title>形状</title> -->
4
4
  <g id="控件" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
5
  <g id="数据展示/表格/可选择/多选-批量操作" transform="translate(-1040.000000, -24.072313)" fill="#0A0A0A" fill-rule="nonzero">
6
6
  <g id="Group-6备份-4" transform="translate(1022.000000, 16.000000)">
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="19px" height="15px" viewBox="0 0 19 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-dropdown-searchlist</title>
3
+ <!-- <title>icon-dropdown-searchlist</title> -->
4
4
  <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
5
  <g id="询报价录入交互说明" transform="translate(-531, -308)" fill="currentColor" fill-rule="nonzero">
6
6
  <g id="Dropdown/下拉弹窗切换/default备份-2" transform="translate(215, 299)">
@@ -239,7 +239,7 @@ var Render = function Render(props) {
239
239
  /**
240
240
  * onChange参数重置 (value, record, { form, index, namePath, option }) => void
241
241
  */
242
- var handleChange = function handleChange() {
242
+ var defaultHandleChange = function defaultHandleChange() {
243
243
  var _otherFormItemProps$n3, _lastComponentProps$c2;
244
244
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
245
245
  args[_key] = arguments[_key];
@@ -280,21 +280,41 @@ var Render = function Render(props) {
280
280
  }
281
281
  (_lastComponentProps$c2 = lastComponentProps[changeKey]) === null || _lastComponentProps$c2 === void 0 ? void 0 : _lastComponentProps$c2.call.apply(_lastComponentProps$c2, [lastComponentProps].concat((0, _toConsumableArray2.default)(_args)));
282
282
  };
283
+ var debouncedHandleChange = (0, _lodash.debounce)(defaultHandleChange, lastComponentProps === null || lastComponentProps === void 0 ? void 0 : lastComponentProps.debounceWait);
284
+ var handleChange = function handleChange() {
285
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
286
+ args[_key2] = arguments[_key2];
287
+ }
288
+ var _args = [].concat(args);
289
+ if (lastComponentProps === null || lastComponentProps === void 0 ? void 0 : lastComponentProps.debounceWait) {
290
+ // 为了兼容 Input 和 TextArea 的 onChange 事件,需要将 event 对象转换为 value
291
+ if (['Input', 'TextArea'].includes(type)) {
292
+ _args[0] = {
293
+ target: {
294
+ value: _args[0].target.value
295
+ }
296
+ };
297
+ }
298
+ debouncedHandleChange.apply(void 0, (0, _toConsumableArray2.default)(_args));
299
+ } else {
300
+ defaultHandleChange.apply(void 0, (0, _toConsumableArray2.default)(_args));
301
+ }
302
+ };
283
303
  /**
284
304
  * onBlur参数重置 (value, record, { form, index, namePath, option }) => void
285
305
  */
286
306
  var handleBlur = /*#__PURE__*/function () {
287
307
  var _ref7 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
288
- var _len2,
308
+ var _len3,
289
309
  args,
290
- _key2,
310
+ _key3,
291
311
  _args,
292
312
  _args3 = arguments;
293
313
  return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
294
314
  while (1) switch (_context.prev = _context.next) {
295
315
  case 0:
296
- for (_len2 = _args3.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
297
- args[_key2] = _args3[_key2];
316
+ for (_len3 = _args3.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
317
+ args[_key3] = _args3[_key3];
298
318
  }
299
319
  _args = functionArgs([].concat(args));
300
320
  _context.t0 = lastComponentProps === null || lastComponentProps === void 0 ? void 0 : lastComponentProps.onBlur;
@@ -219,6 +219,8 @@ export interface ProFormColumnProps<Values = any> extends Omit<FormItemProps<Val
219
219
  /** 是否固定字段, 不隐藏 */
220
220
  fixed?: boolean;
221
221
  confirm?: boolean | ModalFuncProps | FunctionArgs<Values, boolean | ModalFuncProps | void>;
222
+ /** 防抖模式 */
223
+ debounceWait?: number;
222
224
  }
223
225
  export type ProColumnProps<T = any> = ProFormColumnProps<T> & ColumnPropsMap<T, 'ProForm'>;
224
226
  /**
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>编组 52@1x</title>
3
+ <!-- <title>编组 52@1x</title> -->
4
4
  <defs>
5
5
  <rect id="path-1" x="0" y="4" width="24" height="18" rx="2"></rect>
6
6
  <filter x="-14.6%" y="-13.9%" width="129.2%" height="138.9%" filterUnits="objectBoundingBox" id="filter-2">
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>编组 33</title>
3
+ <!-- <title>编组 33</title> -->
4
4
  <g id="--11.表格-Table" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
5
  <g id="自定义列" transform="translate(-1204.000000, -219.000000)">
6
6
  <g id="编组-31" transform="translate(712.000000, 60.000000)">
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>编组 34</title>
3
+ <!-- <title>编组 34</title> -->
4
4
  <g id="--11.表格-Table" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
5
  <g id="自定义列" transform="translate(-1204.000000, -259.000000)">
6
6
  <g id="编组-31" transform="translate(712.000000, 60.000000)">
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="16px" height="15px" viewBox="0 0 16 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>编组 2</title>
3
+ <!-- <title>编组 2</title> -->
4
4
  <defs>
5
5
  <linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="linearGradient-1">
6
6
  <stop stop-color="#ADDDFF" stop-opacity="0" offset="0%"></stop>
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>Combined Shape</title>
3
+ <!-- <title>Combined Shape</title> -->
4
4
  <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
5
  <g id="业务归属机构选择-多选说明" transform="translate(-284.000000, -941.000000)" fill="#909090">
6
6
  <g id="Search备份-7" transform="translate(276.000000, 931.000000)">
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="13px" height="15px" viewBox="0 0 13 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>形状</title>
3
+ <!-- <title>形状</title> -->
4
4
  <g id="控件" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
5
  <g id="数据展示/表格/可选择/多选-批量操作" transform="translate(-1040.000000, -24.072313)" fill="#0A0A0A" fill-rule="nonzero">
6
6
  <g id="Group-6备份-4" transform="translate(1022.000000, 16.000000)">
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg width="19px" height="15px" viewBox="0 0 19 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>icon-dropdown-searchlist</title>
3
+ <!-- <title>icon-dropdown-searchlist</title> -->
4
4
  <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
5
  <g id="询报价录入交互说明" transform="translate(-531, -308)" fill="currentColor" fill-rule="nonzero">
6
6
  <g id="Dropdown/下拉弹窗切换/default备份-2" transform="translate(215, 299)">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.5.5-beta.6",
3
+ "version": "3.5.5-beta.8",
4
4
  "license": "Apache-2.0",
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
-