wargerm 0.7.80 → 0.7.82

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.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import React, { useRef, useEffect, useMemo, useState, useCallback, useImperativeHandle, memo, forwardRef, createRef } from 'react';
2
2
  import { cloneDeep, uniqBy, omit, chunk, isEmpty } from 'lodash-es';
3
3
  import { useSyncExternalStore } from 'use-sync-external-store/shim';
4
- import { Menu, Dropdown, Button, Input, Upload as Upload$1, Modal as Modal$2, message, InputNumber, DatePicker, Radio, Space, Checkbox, Select, Switch, Tooltip, TreeSelect as TreeSelect$1, Cascader, Form, Row, Col, Spin, Pagination, Breadcrumb, ConfigProvider, notification } from 'antd';
4
+ import { Menu, Dropdown, Button, Input, Upload as Upload$1, Modal as Modal$2, message, InputNumber, DatePicker, Radio, Space, Checkbox, Select, Switch, Tooltip, TreeSelect as TreeSelect$1, Cascader, Tree as Tree$1, Form, Row, Col, Spin, Pagination, Breadcrumb, ConfigProvider, notification } from 'antd';
5
5
  import { createFromIconfontCN, PlusOutlined, CloseCircleOutlined, SearchOutlined, ReloadOutlined, MinusOutlined, FullscreenOutlined, EllipsisOutlined, ExclamationCircleOutlined, EyeOutlined, EditOutlined, DeleteOutlined, LeftOutlined, RightOutlined, CloseOutlined } from '@ant-design/icons';
6
6
  import FileViewer from 'react-file-viewer';
7
7
  import classnames from 'classnames';
@@ -3446,7 +3446,253 @@ var WCheckboxGroup = function WCheckboxGroup(props) {
3446
3446
  };
3447
3447
  WCheckboxGroup.defaultProps = {};
3448
3448
 
3449
- var _excluded$b = ["columns", "extraColumns", "className", "style", "search", "disabled", "disabledHideInSearch", "disabledRuler", "onFormChange", "onSubmit", "onReset", "setForm", "deps"];
3449
+ var _excluded$b = ["request", "params", "onCheck", "dataSource", "value", "onChange"];
3450
+ var findParent = function findParent(data, id) {
3451
+ var parent = null;
3452
+ var loop = function loop(node, arr) {
3453
+ for (var i = 0; i < arr.length; i++) {
3454
+ var _item$children;
3455
+ var item = arr[i];
3456
+ if (item.id == id) return parent = node;
3457
+ if ((_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length) {
3458
+ loop(item, item.children);
3459
+ }
3460
+ }
3461
+ };
3462
+ loop(null, data);
3463
+ return parent;
3464
+ };
3465
+ var removeId = function removeId(arr, id) {
3466
+ var index = arr.indexOf(id);
3467
+ if (index > -1) {
3468
+ arr.splice(index, 1);
3469
+ }
3470
+ return arr;
3471
+ };
3472
+ var flatChildren = function flatChildren(data) {
3473
+ var childrenList = [];
3474
+ var loop = function loop(arr) {
3475
+ for (var i = 0; i < arr.length; i++) {
3476
+ var _item$children2;
3477
+ var item = arr[i];
3478
+ childrenList.push(item);
3479
+ if ((_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.length) {
3480
+ loop(item.children);
3481
+ }
3482
+ }
3483
+ };
3484
+ loop(data);
3485
+ return childrenList;
3486
+ };
3487
+ var handleCheck = function handleCheck(_ref) {
3488
+ var parentIds = _ref.parentIds,
3489
+ id = _ref.id,
3490
+ values = _ref.values,
3491
+ treeData = _ref.treeData;
3492
+ var currentId = id;
3493
+ while (currentId) {
3494
+ var _ref2 = findParent(treeData, currentId) || {},
3495
+ _id = _ref2.id,
3496
+ children = _ref2.children;
3497
+ var ids = children === null || children === void 0 ? void 0 : children.map(function (item) {
3498
+ return item.id;
3499
+ });
3500
+ if (!ids) {
3501
+ currentId = null;
3502
+ break;
3503
+ }
3504
+ if (!ids.every(function (item) {
3505
+ return values.checked.includes(item);
3506
+ })) {
3507
+ // 检查每个父 id 都在 checked list 里面,不在则 push半选
3508
+ if (!values.halfChecked.includes(_id)) {
3509
+ // 判断是否存在
3510
+ values.halfChecked.push(_id);
3511
+ }
3512
+ removeId(values.checked, _id);
3513
+ } else if (!values.checked.includes(_id)) {
3514
+ // 每个父 id 是否已存在 checked list ,不在则 push checked list, 并且清空 半选
3515
+ values.checked.push(_id);
3516
+ removeId(values.halfChecked, _id);
3517
+ }
3518
+ if (!ids.some(function (item) {
3519
+ return [].concat(_toConsumableArray(values.checked), _toConsumableArray(values.halfChecked)).includes(item);
3520
+ })) {
3521
+ // 检查每个父 id 都不在 checked list 里面,不在则 清空半选
3522
+ removeId(values.halfChecked, _id);
3523
+ }
3524
+ currentId = parentIds.pop();
3525
+ }
3526
+ return values;
3527
+ };
3528
+ var WTree = function WTree(props, ref) {
3529
+ var request = props.request,
3530
+ params = props.params,
3531
+ _onCheck = props.onCheck,
3532
+ dataSource = props.dataSource,
3533
+ value = props.value,
3534
+ onChange = props.onChange,
3535
+ extraProps = _objectWithoutProperties(props, _excluded$b);
3536
+ var _useState = useState([]),
3537
+ _useState2 = _slicedToArray(_useState, 2),
3538
+ treeData = _useState2[0],
3539
+ setTreeData = _useState2[1];
3540
+ var _useState3 = useState([]),
3541
+ _useState4 = _slicedToArray(_useState3, 2),
3542
+ expandedKeys = _useState4[0],
3543
+ setExpandedKeys = _useState4[1];
3544
+ var _useState5 = useState([]),
3545
+ _useState6 = _slicedToArray(_useState5, 2),
3546
+ checkedKeys = _useState6[0],
3547
+ setCheckedKeys = _useState6[1];
3548
+ var _useState7 = useState([]),
3549
+ _useState8 = _slicedToArray(_useState7, 2),
3550
+ selectedData = _useState8[0],
3551
+ setSelectedData = _useState8[1];
3552
+ var allKeysRef = useRef([]);
3553
+ useEffect(function () {
3554
+ setSelectedData(value);
3555
+ }, [value]);
3556
+ useImperativeHandle(ref, function () {
3557
+ return {
3558
+ checkedKeys: checkedKeys,
3559
+ expandedKeys: expandedKeys,
3560
+ selectedData: selectedData
3561
+ };
3562
+ });
3563
+ useEffect(function () {
3564
+ var isMounted = true;
3565
+ _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3566
+ var data, checked, values, deepFn, treeList, _checked, _values, _deepFn, _treeList;
3567
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
3568
+ while (1) switch (_context.prev = _context.next) {
3569
+ case 0:
3570
+ if (!request) {
3571
+ _context.next = 13;
3572
+ break;
3573
+ }
3574
+ _context.next = 3;
3575
+ return request(params);
3576
+ case 3:
3577
+ data = _context.sent;
3578
+ if (isMounted) {
3579
+ _context.next = 6;
3580
+ break;
3581
+ }
3582
+ return _context.abrupt("return");
3583
+ case 6:
3584
+ checked = selectedData || [];
3585
+ values = {
3586
+ checked: checked,
3587
+ halfChecked: []
3588
+ };
3589
+ deepFn = function deepFn(arr) {
3590
+ return arr.map(function (item) {
3591
+ var _item$children3, _ref4, _item$origin, _item$origin2;
3592
+ if (((_item$children3 = item.children) === null || _item$children3 === void 0 ? void 0 : _item$children3.length) > 0) {
3593
+ item.children = deepFn(item.children);
3594
+ }
3595
+ allKeysRef.current = [].concat(_toConsumableArray(allKeysRef.current), [item.key]);
3596
+ handleCheck({
3597
+ parentIds: (_ref4 = (item === null || item === void 0 ? void 0 : item.parentIds) || ((_item$origin = item.origin) === null || _item$origin === void 0 ? void 0 : _item$origin.parentIds)) === null || _ref4 === void 0 ? void 0 : _ref4.split(',').slice(1),
3598
+ id: (item === null || item === void 0 ? void 0 : item.id) || ((_item$origin2 = item.origin) === null || _item$origin2 === void 0 ? void 0 : _item$origin2.id),
3599
+ values: values,
3600
+ treeData: treeData
3601
+ });
3602
+ return _objectSpread2(_objectSpread2(_objectSpread2({}, item), item.origin), {}, {
3603
+ title: item.label
3604
+ });
3605
+ });
3606
+ };
3607
+ treeList = deepFn(data);
3608
+ setExpandedKeys(allKeysRef.current);
3609
+ setTreeData(treeList);
3610
+ setCheckedKeys(values);
3611
+ case 13:
3612
+ if (dataSource) {
3613
+ _checked = selectedData || [];
3614
+ _values = {
3615
+ checked: _checked,
3616
+ halfChecked: []
3617
+ };
3618
+ _deepFn = function _deepFn(arr) {
3619
+ return arr.map(function (item) {
3620
+ var _item$children4, _ref5, _item$origin3, _item$origin4;
3621
+ if (((_item$children4 = item.children) === null || _item$children4 === void 0 ? void 0 : _item$children4.length) > 0) {
3622
+ item.children = _deepFn(item.children);
3623
+ }
3624
+ allKeysRef.current = [].concat(_toConsumableArray(allKeysRef.current), [item.key]);
3625
+ handleCheck({
3626
+ parentIds: (_ref5 = (item === null || item === void 0 ? void 0 : item.parentIds) || ((_item$origin3 = item.origin) === null || _item$origin3 === void 0 ? void 0 : _item$origin3.parentIds)) === null || _ref5 === void 0 ? void 0 : _ref5.split(',').slice(1),
3627
+ id: (item === null || item === void 0 ? void 0 : item.id) || ((_item$origin4 = item.origin) === null || _item$origin4 === void 0 ? void 0 : _item$origin4.id),
3628
+ values: _values,
3629
+ treeData: dataSource
3630
+ });
3631
+ return _objectSpread2(_objectSpread2(_objectSpread2({}, item), item.origin), {}, {
3632
+ title: item.label
3633
+ });
3634
+ });
3635
+ };
3636
+ _treeList = _deepFn(dataSource);
3637
+ setExpandedKeys(allKeysRef.current);
3638
+ setTreeData(_treeList);
3639
+ setCheckedKeys(_values);
3640
+ }
3641
+ case 14:
3642
+ case "end":
3643
+ return _context.stop();
3644
+ }
3645
+ }, _callee);
3646
+ }))();
3647
+ return function () {
3648
+ isMounted = false;
3649
+ };
3650
+ }, [JSON.stringify(params || {}), selectedData, dataSource]);
3651
+ return /*#__PURE__*/React.createElement(Tree$1, _objectSpread2({
3652
+ className: 'w100p',
3653
+ height: 500,
3654
+ checkable: true,
3655
+ checkStrictly: true,
3656
+ checkedKeys: checkedKeys,
3657
+ expandedKeys: expandedKeys,
3658
+ onExpand: function onExpand(values) {
3659
+ return setExpandedKeys(values);
3660
+ },
3661
+ onCheck: function onCheck(values, info) {
3662
+ var _info$node, _info$node$parentIds, _info$node2;
3663
+ var checked = info === null || info === void 0 ? void 0 : info.checked;
3664
+ var parentIds = info === null || info === void 0 ? void 0 : (_info$node = info.node) === null || _info$node === void 0 ? void 0 : (_info$node$parentIds = _info$node.parentIds) === null || _info$node$parentIds === void 0 ? void 0 : _info$node$parentIds.split(',').slice(1);
3665
+ var currentId = info === null || info === void 0 ? void 0 : info.node.id;
3666
+ handleCheck({
3667
+ parentIds: parentIds,
3668
+ id: currentId,
3669
+ values: values,
3670
+ treeData: treeData
3671
+ });
3672
+ var childrenIds = flatChildren((info === null || info === void 0 ? void 0 : (_info$node2 = info.node) === null || _info$node2 === void 0 ? void 0 : _info$node2.children) || []).map(function (item) {
3673
+ return item.id;
3674
+ });
3675
+ // TODO 全选反选
3676
+ if (checked) {
3677
+ values.checked = _toConsumableArray(new Set([].concat(_toConsumableArray(values.checked), _toConsumableArray(childrenIds))));
3678
+ } else {
3679
+ values.checked = values.checked.filter(function (item) {
3680
+ return !childrenIds.includes(item);
3681
+ });
3682
+ values.halfChecked = values.halfChecked.filter(function (item) {
3683
+ return !childrenIds.includes(item);
3684
+ });
3685
+ }
3686
+ setCheckedKeys(values);
3687
+ _onCheck && _onCheck(values, info);
3688
+ onChange && onChange(values, info);
3689
+ },
3690
+ treeData: treeData
3691
+ }, extraProps));
3692
+ };
3693
+ var Tree = /*#__PURE__*/React.forwardRef(WTree);
3694
+
3695
+ var _excluded$c = ["columns", "extraColumns", "className", "style", "search", "disabled", "disabledHideInSearch", "disabledRuler", "onFormChange", "onSubmit", "onReset", "setForm", "deps"];
3450
3696
  var RangePicker$2 = Index$6.RangePicker;
3451
3697
  var WForm = function WForm(props, ref) {
3452
3698
  var columns = props.columns,
@@ -3462,7 +3708,7 @@ var WForm = function WForm(props, ref) {
3462
3708
  onReset = props.onReset,
3463
3709
  setForm = props.setForm,
3464
3710
  deps = props.deps,
3465
- extraProps = _objectWithoutProperties(props, _excluded$b);
3711
+ extraProps = _objectWithoutProperties(props, _excluded$c);
3466
3712
  var _Form$useForm = Form.useForm(),
3467
3713
  _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
3468
3714
  form = _Form$useForm2[0];
@@ -3642,13 +3888,37 @@ var WForm = function WForm(props, ref) {
3642
3888
  placeholder: "\u8BF7\u9009\u62E9",
3643
3889
  onLoad: function onLoad(opt) {}
3644
3890
  }, c.fieldProps), _extraProps3))));
3645
- } else if (c.valueType && ['date', 'dateTime', 'dateMonth', 'dateYear'].includes(c.valueType)) {
3891
+ } else if (c.valueType == 'tree') {
3892
+ var _extraProps4 = {};
3893
+ if (c.request) {
3894
+ _extraProps4.request = c.request;
3895
+ }
3646
3896
  var _labelCol4 = {};
3647
3897
  if (search && search.labelWidth) {
3648
3898
  _labelCol4.style = {
3649
3899
  width: search.labelWidth
3650
3900
  };
3651
3901
  }
3902
+ return /*#__PURE__*/React.createElement(Col, _objectSpread2(_objectSpread2({
3903
+ className: "pl12 pr12"
3904
+ }, colProps), {}, {
3905
+ key: c.dataIndex
3906
+ }), /*#__PURE__*/React.createElement(Form.Item, _objectSpread2(_objectSpread2({
3907
+ initialValue: c.initialValue
3908
+ }, c.formItemProps), {}, {
3909
+ name: c.dataIndex,
3910
+ label: c.title,
3911
+ labelCol: _labelCol4
3912
+ }), /*#__PURE__*/React.createElement(Tree, _objectSpread2(_objectSpread2({
3913
+ disabled: disabled
3914
+ }, c.fieldProps), _extraProps4))));
3915
+ } else if (c.valueType && ['date', 'dateTime', 'dateMonth', 'dateYear'].includes(c.valueType)) {
3916
+ var _labelCol5 = {};
3917
+ if (search && search.labelWidth) {
3918
+ _labelCol5.style = {
3919
+ width: search.labelWidth
3920
+ };
3921
+ }
3652
3922
  var showTime = {};
3653
3923
  var picker = {};
3654
3924
  if (c.valueType == 'dateTime') {
@@ -3677,15 +3947,15 @@ var WForm = function WForm(props, ref) {
3677
3947
  }, c.formItemProps), {}, {
3678
3948
  name: c.dataIndex,
3679
3949
  label: c.title,
3680
- labelCol: _labelCol4
3950
+ labelCol: _labelCol5
3681
3951
  }), /*#__PURE__*/React.createElement(Index$6, _objectSpread2(_objectSpread2(_objectSpread2({
3682
3952
  disabled: disabled,
3683
3953
  placeholder: "\u8BF7\u8F93\u5165"
3684
3954
  }, picker), showTime), c.fieldProps))));
3685
3955
  } else if (c.valueType === 'dateRange' || c.valueType === 'dateTimeRange') {
3686
- var _labelCol5 = {};
3956
+ var _labelCol6 = {};
3687
3957
  if (search && search.labelWidth) {
3688
- _labelCol5.style = {
3958
+ _labelCol6.style = {
3689
3959
  width: search.labelWidth
3690
3960
  };
3691
3961
  }
@@ -3706,22 +3976,22 @@ var WForm = function WForm(props, ref) {
3706
3976
  }, c.formItemProps), {}, {
3707
3977
  name: c.dataIndex,
3708
3978
  label: c.title,
3709
- labelCol: _labelCol5
3979
+ labelCol: _labelCol6
3710
3980
  }), /*#__PURE__*/React.createElement(RangePicker$2, _objectSpread2(_objectSpread2({
3711
3981
  disabled: disabled
3712
3982
  }, _showTime), c.fieldProps))));
3713
3983
  } else if (c.valueType === 'checkbox') {
3714
- var _extraProps4 = {};
3984
+ var _extraProps5 = {};
3715
3985
  if (c.request) {
3716
- _extraProps4.request = c.request;
3986
+ _extraProps5.request = c.request;
3717
3987
  } else if (c.valueEnum) {
3718
- _extraProps4.valueEnum = c.valueEnum;
3988
+ _extraProps5.valueEnum = c.valueEnum;
3719
3989
  } else {
3720
- _extraProps4.options = c.options;
3990
+ _extraProps5.options = c.options;
3721
3991
  }
3722
- var _labelCol6 = {};
3992
+ var _labelCol7 = {};
3723
3993
  if (search && search.labelWidth) {
3724
- _labelCol6.style = {
3994
+ _labelCol7.style = {
3725
3995
  width: search.labelWidth
3726
3996
  };
3727
3997
  }
@@ -3739,7 +4009,7 @@ var WForm = function WForm(props, ref) {
3739
4009
  }, c.formItemProps), {}, {
3740
4010
  name: c.dataIndex,
3741
4011
  label: c.title,
3742
- labelCol: _labelCol6
4012
+ labelCol: _labelCol7
3743
4013
  }), /*#__PURE__*/React.createElement(WCheckboxGroup, _objectSpread2(_objectSpread2({
3744
4014
  onLoad: function onLoad(opt) {
3745
4015
  setColumnsFields(function (preColumnsFields) {
@@ -3747,19 +4017,19 @@ var WForm = function WForm(props, ref) {
3747
4017
  });
3748
4018
  },
3749
4019
  disabled: disabled
3750
- }, c.fieldProps), _extraProps4))));
4020
+ }, c.fieldProps), _extraProps5))));
3751
4021
  } else if (c.valueType === 'radio' || c.valueType === 'radioButton') {
3752
- var _extraProps5 = {};
4022
+ var _extraProps6 = {};
3753
4023
  if (c.request) {
3754
- _extraProps5.request = c.request;
4024
+ _extraProps6.request = c.request;
3755
4025
  } else if (c.valueEnum) {
3756
- _extraProps5.valueEnum = c.valueEnum;
4026
+ _extraProps6.valueEnum = c.valueEnum;
3757
4027
  } else {
3758
- _extraProps5.options = c.options;
4028
+ _extraProps6.options = c.options;
3759
4029
  }
3760
- var _labelCol7 = {};
4030
+ var _labelCol8 = {};
3761
4031
  if (search && search.labelWidth) {
3762
- _labelCol7.style = {
4032
+ _labelCol8.style = {
3763
4033
  width: search.labelWidth
3764
4034
  };
3765
4035
  }
@@ -3784,7 +4054,7 @@ var WForm = function WForm(props, ref) {
3784
4054
  }, c.formItemProps), {}, {
3785
4055
  name: c.dataIndex,
3786
4056
  label: c.title,
3787
- labelCol: _labelCol7
4057
+ labelCol: _labelCol8
3788
4058
  }), /*#__PURE__*/React.createElement(WRadioGroup, _objectSpread2(_objectSpread2(_objectSpread2({
3789
4059
  onLoad: function onLoad(opt) {
3790
4060
  setColumnsFields(function (preColumnsFields) {
@@ -3792,7 +4062,7 @@ var WForm = function WForm(props, ref) {
3792
4062
  });
3793
4063
  },
3794
4064
  disabled: disabled
3795
- }, radioButtonProps), c.fieldProps), _extraProps5))));
4065
+ }, radioButtonProps), c.fieldProps), _extraProps6))));
3796
4066
  } else if (c.valueType === 'switch') {
3797
4067
  var options = [];
3798
4068
  if (c.valueEnum) {
@@ -3804,9 +4074,9 @@ var WForm = function WForm(props, ref) {
3804
4074
  });
3805
4075
  }
3806
4076
  }
3807
- var _labelCol8 = {};
4077
+ var _labelCol9 = {};
3808
4078
  if (search && search.labelWidth) {
3809
- _labelCol8.style = {
4079
+ _labelCol9.style = {
3810
4080
  width: search.labelWidth
3811
4081
  };
3812
4082
  }
@@ -3826,14 +4096,14 @@ var WForm = function WForm(props, ref) {
3826
4096
  }, c.formItemProps), {}, {
3827
4097
  name: c.dataIndex,
3828
4098
  label: c.title,
3829
- labelCol: _labelCol8
4099
+ labelCol: _labelCol9
3830
4100
  }), /*#__PURE__*/React.createElement(WSwitch, _objectSpread2({
3831
4101
  disabled: disabled
3832
4102
  }, c.fieldProps))));
3833
4103
  } else if (c.valueType === 'digit') {
3834
- var _labelCol9 = {};
4104
+ var _labelCol10 = {};
3835
4105
  if (search && search.labelWidth) {
3836
- _labelCol9.style = {
4106
+ _labelCol10.style = {
3837
4107
  width: search.labelWidth
3838
4108
  };
3839
4109
  }
@@ -3846,15 +4116,15 @@ var WForm = function WForm(props, ref) {
3846
4116
  }, c.formItemProps), {}, {
3847
4117
  name: c.dataIndex,
3848
4118
  label: c.title,
3849
- labelCol: _labelCol9
4119
+ labelCol: _labelCol10
3850
4120
  }), /*#__PURE__*/React.createElement(NumericInput, _objectSpread2({
3851
4121
  disabled: disabled,
3852
4122
  placeholder: "\u8BF7\u8F93\u5165\u53C2\u6570(double/int)"
3853
4123
  }, c.fieldProps))));
3854
4124
  } else if (c.renderFormItem) {
3855
- var _labelCol10 = {};
4125
+ var _labelCol11 = {};
3856
4126
  if (search && search.labelWidth) {
3857
- _labelCol10.style = {
4127
+ _labelCol11.style = {
3858
4128
  width: search.labelWidth
3859
4129
  };
3860
4130
  }
@@ -3874,12 +4144,12 @@ var WForm = function WForm(props, ref) {
3874
4144
  }, c.formItemProps), {}, {
3875
4145
  name: c.dataIndex,
3876
4146
  label: c.title,
3877
- labelCol: _labelCol10
4147
+ labelCol: _labelCol11
3878
4148
  }), baseitem))) : null;
3879
4149
  } else if (c.valueType === 'textarea') {
3880
- var _labelCol11 = {};
4150
+ var _labelCol12 = {};
3881
4151
  if (search && search.labelWidth) {
3882
- _labelCol11.style = {
4152
+ _labelCol12.style = {
3883
4153
  width: search.labelWidth
3884
4154
  };
3885
4155
  }
@@ -3892,16 +4162,16 @@ var WForm = function WForm(props, ref) {
3892
4162
  }, c.formItemProps), {}, {
3893
4163
  name: c.dataIndex,
3894
4164
  label: c.title,
3895
- labelCol: _labelCol11
4165
+ labelCol: _labelCol12
3896
4166
  }), /*#__PURE__*/React.createElement(Index.TextArea, _objectSpread2({
3897
4167
  rows: 4,
3898
4168
  disabled: disabled,
3899
4169
  placeholder: "\u8BF7\u8F93\u5165"
3900
4170
  }, c.fieldProps))));
3901
4171
  } else if (c.valueType === 'inputNumber') {
3902
- var _labelCol12 = {};
4172
+ var _labelCol13 = {};
3903
4173
  if (search && search.labelWidth) {
3904
- _labelCol12.style = {
4174
+ _labelCol13.style = {
3905
4175
  width: search.labelWidth
3906
4176
  };
3907
4177
  }
@@ -3914,15 +4184,15 @@ var WForm = function WForm(props, ref) {
3914
4184
  }, c.formItemProps), {}, {
3915
4185
  name: c.dataIndex,
3916
4186
  label: c.title,
3917
- labelCol: _labelCol12
4187
+ labelCol: _labelCol13
3918
4188
  }), /*#__PURE__*/React.createElement(WInputNumber, _objectSpread2({
3919
4189
  disabled: disabled,
3920
4190
  placeholder: "\u8BF7\u8F93\u5165"
3921
4191
  }, c.fieldProps))));
3922
4192
  } else {
3923
- var _labelCol13 = {};
4193
+ var _labelCol14 = {};
3924
4194
  if (search && search.labelWidth) {
3925
- _labelCol13.style = {
4195
+ _labelCol14.style = {
3926
4196
  width: search.labelWidth
3927
4197
  };
3928
4198
  }
@@ -3935,7 +4205,7 @@ var WForm = function WForm(props, ref) {
3935
4205
  }, c.formItemProps), {}, {
3936
4206
  name: c.dataIndex,
3937
4207
  label: c.title,
3938
- labelCol: _labelCol13
4208
+ labelCol: _labelCol14
3939
4209
  }), /*#__PURE__*/React.createElement(Index, _objectSpread2({
3940
4210
  disabled: disabled,
3941
4211
  placeholder: "\u8BF7\u8F93\u5165"
@@ -4212,7 +4482,7 @@ var WForm = function WForm(props, ref) {
4212
4482
  };
4213
4483
  var WForm$1 = /*#__PURE__*/React.forwardRef(WForm);
4214
4484
 
4215
- var _excluded$c = ["columns", "dataSource", "request", "onLoad", "params", "onSubmit", "rowKey", "onRow", "className", "rowClassName", "rowSelection", "style", "tbodyStyle", "thStyle", "border", "scroll", "pagination", "search", "frameBoxTable", "frameBoxDirection", "formRef", "none"];
4485
+ var _excluded$d = ["columns", "dataSource", "request", "onLoad", "params", "onSubmit", "rowKey", "onRow", "className", "rowClassName", "rowSelection", "style", "tbodyStyle", "thStyle", "border", "scroll", "pagination", "search", "frameBoxTable", "frameBoxDirection", "formRef", "none"];
4216
4486
  function Table(_ref) {
4217
4487
  var _formSearchRef$curren4, _columns$, _columns$2;
4218
4488
  var columns = _ref.columns,
@@ -4243,7 +4513,7 @@ function Table(_ref) {
4243
4513
  frameBoxDirection = _ref$frameBoxDirectio === void 0 ? 'out' : _ref$frameBoxDirectio,
4244
4514
  formRef = _ref.formRef,
4245
4515
  none = _ref.none,
4246
- props = _objectWithoutProperties(_ref, _excluded$c);
4516
+ props = _objectWithoutProperties(_ref, _excluded$d);
4247
4517
  var _useState = useState(_toConsumableArray((rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.selectedRowKeys) || [])),
4248
4518
  _useState2 = _slicedToArray(_useState, 2),
4249
4519
  selectedRowKeys = _useState2[0],
@@ -4730,7 +5000,7 @@ Table.defaultProps = {
4730
5000
  };
4731
5001
  var index = /*#__PURE__*/memo(Table);
4732
5002
 
4733
- var _excluded$d = ["value", "renderDom", "onLoad", "params", "onChange", "request"];
5003
+ var _excluded$e = ["value", "renderDom", "onLoad", "params", "onChange", "request"];
4734
5004
  function Index$8(props, ref) {
4735
5005
  var value = props.value,
4736
5006
  renderDom = props.renderDom,
@@ -4738,7 +5008,7 @@ function Index$8(props, ref) {
4738
5008
  params = props.params,
4739
5009
  onChange = props.onChange,
4740
5010
  request = props.request,
4741
- rest = _objectWithoutProperties(props, _excluded$d);
5011
+ rest = _objectWithoutProperties(props, _excluded$e);
4742
5012
  var _useState = useState(''),
4743
5013
  _useState2 = _slicedToArray(_useState, 2),
4744
5014
  areaValue = _useState2[0],
@@ -4793,7 +5063,7 @@ function Index$8(props, ref) {
4793
5063
  }
4794
5064
  var index$1 = /*#__PURE__*/React.forwardRef(Index$8);
4795
5065
 
4796
- var _excluded$e = ["height", "width", "count", "style", "numberStyle"],
5066
+ var _excluded$f = ["height", "width", "count", "style", "numberStyle"],
4797
5067
  _excluded2$2 = ["count", "numberCount", "width", "height", "marginRight"];
4798
5068
  var Number$1 = function Number(_ref) {
4799
5069
  var height = _ref.height,
@@ -4802,7 +5072,7 @@ var Number$1 = function Number(_ref) {
4802
5072
  count = _ref$count === void 0 ? 0 : _ref$count,
4803
5073
  style = _ref.style,
4804
5074
  numberStyle = _ref.numberStyle,
4805
- props = _objectWithoutProperties(_ref, _excluded$e);
5075
+ props = _objectWithoutProperties(_ref, _excluded$f);
4806
5076
  // 上次的值
4807
5077
  var _useState = useState(0),
4808
5078
  _useState2 = _slicedToArray(_useState, 2),
@@ -4952,12 +5222,12 @@ var Index$9 = function Index(props) {
4952
5222
  }));
4953
5223
  };
4954
5224
 
4955
- var _excluded$f = ["duration", "className"];
5225
+ var _excluded$g = ["duration", "className"];
4956
5226
  var Index$a = function Index(props) {
4957
5227
  var _props$duration = props.duration,
4958
5228
  duration = _props$duration === void 0 ? 2.75 : _props$duration,
4959
5229
  className = props.className,
4960
- extraProps = _objectWithoutProperties(props, _excluded$f);
5230
+ extraProps = _objectWithoutProperties(props, _excluded$g);
4961
5231
  return /*#__PURE__*/React.createElement(CountUp, _objectSpread2(_objectSpread2({
4962
5232
  duration: duration
4963
5233
  }, extraProps), {}, {
@@ -4966,7 +5236,7 @@ var Index$a = function Index(props) {
4966
5236
  };
4967
5237
  Index$a.defaultProps = {};
4968
5238
 
4969
- var _excluded$g = ["list", "render", "none", "partSize"];
5239
+ var _excluded$h = ["list", "render", "none", "partSize"];
4970
5240
  function AutoScroll(props) {
4971
5241
  var inner1 = useRef();
4972
5242
  var inner2 = useRef();
@@ -5043,7 +5313,7 @@ var Index$b = function Index(_ref) {
5043
5313
  none = _ref.none,
5044
5314
  _ref$partSize = _ref.partSize,
5045
5315
  partSize = _ref$partSize === void 0 ? 4 : _ref$partSize,
5046
- otherProps = _objectWithoutProperties(_ref, _excluded$g);
5316
+ otherProps = _objectWithoutProperties(_ref, _excluded$h);
5047
5317
  var _useState = useState([]),
5048
5318
  _useState2 = _slicedToArray(_useState, 2),
5049
5319
  partA = _useState2[0],
@@ -5117,7 +5387,7 @@ var Index$b = function Index(_ref) {
5117
5387
  }, none || '暂无数据'));
5118
5388
  };
5119
5389
 
5120
- var _excluded$h = ["data", "onClick", "slidesPerView", "rowKey", "onSwiperChange", "renderItem", "noMove"];
5390
+ var _excluded$i = ["data", "onClick", "slidesPerView", "rowKey", "onSwiperChange", "renderItem", "noMove"];
5121
5391
  // install Swiper modules
5122
5392
  SwiperCore.use([Pagination$1, Navigation, Autoplay, Virtual]);
5123
5393
  var Index$c = /*#__PURE__*/forwardRef(function (props, ref) {
@@ -5129,7 +5399,7 @@ var Index$c = /*#__PURE__*/forwardRef(function (props, ref) {
5129
5399
  onSwiperChange = props.onSwiperChange,
5130
5400
  renderItem = props.renderItem,
5131
5401
  noMove = props.noMove,
5132
- extraProps = _objectWithoutProperties(props, _excluded$h);
5402
+ extraProps = _objectWithoutProperties(props, _excluded$i);
5133
5403
  var _useState = useState(null),
5134
5404
  _useState2 = _slicedToArray(_useState, 2),
5135
5405
  controlledSwiper = _useState2[0],
@@ -5778,7 +6048,7 @@ function createBrowserHistory(props) {
5778
6048
  return history;
5779
6049
  }
5780
6050
 
5781
- var _excluded$i = ["routes", "className"];
6051
+ var _excluded$j = ["routes", "className"];
5782
6052
  var history = createBrowserHistory();
5783
6053
  function itemRender(route, params, routes, paths) {
5784
6054
  var last = routes.indexOf(route) === routes.length - 1;
@@ -5794,7 +6064,7 @@ function itemRender(route, params, routes, paths) {
5794
6064
  var Index$d = function Index(_ref) {
5795
6065
  var routes = _ref.routes,
5796
6066
  className = _ref.className,
5797
- props = _objectWithoutProperties(_ref, _excluded$i);
6067
+ props = _objectWithoutProperties(_ref, _excluded$j);
5798
6068
  return /*#__PURE__*/React.createElement(Breadcrumb, _objectSpread2({
5799
6069
  className: className || 'default',
5800
6070
  separator: ">>",
@@ -5803,7 +6073,7 @@ var Index$d = function Index(_ref) {
5803
6073
  }, props));
5804
6074
  };
5805
6075
 
5806
- var _excluded$j = ["title", "className", "headerTail", "headerCenter", "sliderTabs"];
6076
+ var _excluded$k = ["title", "className", "headerTail", "headerCenter", "sliderTabs"];
5807
6077
  var Index$e = function Index(_ref, ref) {
5808
6078
  var _sliderTabs$component, _sliderTabs$tabs;
5809
6079
  var title = _ref.title,
@@ -5812,7 +6082,7 @@ var Index$e = function Index(_ref, ref) {
5812
6082
  headerTail = _ref.headerTail,
5813
6083
  headerCenter = _ref.headerCenter,
5814
6084
  sliderTabs = _ref.sliderTabs,
5815
- props = _objectWithoutProperties(_ref, _excluded$j);
6085
+ props = _objectWithoutProperties(_ref, _excluded$k);
5816
6086
  useImperativeHandle(ref, function () {
5817
6087
  return {
5818
6088
  activeTab: activeTab
@@ -6028,7 +6298,7 @@ function DialogModel(props, ref) {
6028
6298
  }
6029
6299
  var Dialog = /*#__PURE__*/React.forwardRef(DialogModel);
6030
6300
 
6031
- var _excluded$k = ["open", "width", "closeCb", "onClose", "className", "style", "isDrag", "wrapClassName"],
6301
+ var _excluded$l = ["open", "width", "closeCb", "onClose", "className", "style", "isDrag", "wrapClassName"],
6032
6302
  _excluded2$3 = ["open"];
6033
6303
  var Modal = /*#__PURE__*/function (_React$PureComponent) {
6034
6304
  _inherits(Modal, _React$PureComponent);
@@ -6160,7 +6430,7 @@ var Modal = /*#__PURE__*/function (_React$PureComponent) {
6160
6430
  style = _this$props4.style,
6161
6431
  isDrag = _this$props4.isDrag,
6162
6432
  wrapClassName = _this$props4.wrapClassName,
6163
- other = _objectWithoutProperties(_this$props4, _excluded$k);
6433
+ other = _objectWithoutProperties(_this$props4, _excluded$l);
6164
6434
  return /*#__PURE__*/React.createElement(Dialog, _objectSpread2({
6165
6435
  ref: this.containerRef,
6166
6436
  closeCb: closeCb,
@@ -6325,7 +6595,7 @@ function DialogModel$1(props) {
6325
6595
  return renderChildren;
6326
6596
  }
6327
6597
 
6328
- var _excluded$l = ["open"];
6598
+ var _excluded$m = ["open"];
6329
6599
  var Modal$1 = /*#__PURE__*/function (_React$PureComponent) {
6330
6600
  _inherits(Modal, _React$PureComponent);
6331
6601
  var _super = _createSuper(Modal);
@@ -6447,7 +6717,7 @@ Modal$1.show = function (config) {
6447
6717
  setShow = _useState2[1];
6448
6718
  manager.setShow = setShow;
6449
6719
  var open = props.open,
6450
- trueProps = _objectWithoutProperties(props, _excluded$l);
6720
+ trueProps = _objectWithoutProperties(props, _excluded$m);
6451
6721
  useEffect(function () {
6452
6722
  manager.mounted = true;
6453
6723
  setShow(open);
@@ -6619,7 +6889,7 @@ function DragBox(_ref) {
6619
6889
  }, children))) : ( /*#__PURE__*/React.createElement(React.Fragment, null));
6620
6890
  }
6621
6891
 
6622
- var _excluded$m = ["columns", "extraColumns", "search", "open", "setOpen", "modalFormOpend", "disabled", "submitMethod", "onSubmitSuccess", "title", "record", "onFormChange", "formItemChild", "onCancel", "modalHeaderSlot", "modalFooterSlot", "formProps"];
6892
+ var _excluded$n = ["columns", "extraColumns", "search", "open", "setOpen", "modalFormOpend", "disabled", "submitMethod", "onSubmitSuccess", "title", "record", "onFormChange", "formItemChild", "onCancel", "modalHeaderSlot", "modalFooterSlot", "formProps"];
6623
6893
  var ModalForm = function ModalForm(props, ref) {
6624
6894
  var columns = props.columns,
6625
6895
  extraColumns = props.extraColumns,
@@ -6638,7 +6908,7 @@ var ModalForm = function ModalForm(props, ref) {
6638
6908
  modalHeaderSlot = props.modalHeaderSlot,
6639
6909
  modalFooterSlot = props.modalFooterSlot,
6640
6910
  formProps = props.formProps,
6641
- extraProps = _objectWithoutProperties(props, _excluded$m);
6911
+ extraProps = _objectWithoutProperties(props, _excluded$n);
6642
6912
  var formRef = useRef(null);
6643
6913
  var _useState = useState(false),
6644
6914
  _useState2 = _slicedToArray(_useState, 2),
@@ -6763,7 +7033,7 @@ var ModalForm = function ModalForm(props, ref) {
6763
7033
  };
6764
7034
  var ModalForm$1 = /*#__PURE__*/React.forwardRef(ModalForm);
6765
7035
 
6766
- var _excluded$n = ["columns", "extraColumns", "request", "modalFormSearch", "search", "tableAction", "filterAction", "renderTableBar", "renderTableBarDeps", "className", "style", "onFormChange", "modalConfig", "searchFormConfig", "optionColumnConfig", "pagination", "noBordered", "showIndex", "searchTableSlot"];
7036
+ var _excluded$o = ["columns", "extraColumns", "request", "modalFormSearch", "search", "tableAction", "filterAction", "renderTableBar", "renderTableBarDeps", "className", "style", "onFormChange", "modalConfig", "searchFormConfig", "optionColumnConfig", "pagination", "noBordered", "showIndex", "searchTableSlot"];
6767
7037
  var TabelCard = function TabelCard(props, ref) {
6768
7038
  var columns = props.columns,
6769
7039
  extraColumns = props.extraColumns,
@@ -6787,7 +7057,7 @@ var TabelCard = function TabelCard(props, ref) {
6787
7057
  noBordered = props.noBordered,
6788
7058
  showIndex = props.showIndex,
6789
7059
  searchTableSlot = props.searchTableSlot,
6790
- extraProps = _objectWithoutProperties(props, _excluded$n);
7060
+ extraProps = _objectWithoutProperties(props, _excluded$o);
6791
7061
  var actionRef = useRef();
6792
7062
  var modalFormRef = useRef(null);
6793
7063
  var searchFormRef = useRef(null);
@@ -7449,7 +7719,17 @@ var TabelCard = function TabelCard(props, ref) {
7449
7719
  delete obj.initialValue;
7450
7720
  }
7451
7721
  return obj;
7452
- }))),
7722
+ }))).map(function (item) {
7723
+ var _item$renderColumn4;
7724
+ if (item.type === 'group') {
7725
+ var _item$children5;
7726
+ item.children = (_item$children5 = item.children) === null || _item$children5 === void 0 ? void 0 : _item$children5.map(function (itm) {
7727
+ var _itm$renderColumn3;
7728
+ return (itm === null || itm === void 0 ? void 0 : (_itm$renderColumn3 = itm.renderColumn) === null || _itm$renderColumn3 === void 0 ? void 0 : _itm$renderColumn3.call(itm, itm, modalFormConfig)) || itm;
7729
+ });
7730
+ }
7731
+ return (item === null || item === void 0 ? void 0 : (_item$renderColumn4 = item.renderColumn) === null || _item$renderColumn4 === void 0 ? void 0 : _item$renderColumn4.call(item, item, modalFormConfig)) || item;
7732
+ }),
7453
7733
  search: false,
7454
7734
  pagination: pagination !== null && pagination !== void 0 ? pagination : {
7455
7735
  showSizeChanger: true,
@@ -11043,7 +11323,7 @@ function DhPlayer(_ref, ref) {
11043
11323
  }
11044
11324
  var index$6 = /*#__PURE__*/forwardRef(DhPlayer);
11045
11325
 
11046
- var _excluded$o = ["id", "videoUrls", "definitionList", "isLoop", "muted", "currentIndex", "setCurrentIndex", "className", "style", "open", "autoplay", "videoInit", "enableMemory", "lastPlayTimeHideDelay"];
11326
+ var _excluded$p = ["id", "videoUrls", "definitionList", "isLoop", "muted", "currentIndex", "setCurrentIndex", "className", "style", "open", "autoplay", "videoInit", "enableMemory", "lastPlayTimeHideDelay"];
11047
11327
  // 默认速度控制
11048
11328
  var DEFAULT_PLAY_BACK_RATE = [0.5, 0.75, 1, 1.5, 2];
11049
11329
  // 默认记忆提示文字展示时长(s)
@@ -11074,7 +11354,7 @@ var index$7 = (function (_ref) {
11074
11354
  enableMemory = _ref$enableMemory === void 0 ? false : _ref$enableMemory,
11075
11355
  _ref$lastPlayTimeHide = _ref.lastPlayTimeHideDelay,
11076
11356
  lastPlayTimeHideDelay = _ref$lastPlayTimeHide === void 0 ? DEFAULT_LAST_PLAY_TIME_DELAY : _ref$lastPlayTimeHide,
11077
- props = _objectWithoutProperties(_ref, _excluded$o);
11357
+ props = _objectWithoutProperties(_ref, _excluded$p);
11078
11358
  var player = useRef();
11079
11359
  var currentPlayerIndex = useRef(0);
11080
11360
  // 内置的 index 状态管理
@@ -11244,7 +11524,7 @@ var index$7 = (function (_ref) {
11244
11524
  });
11245
11525
  });
11246
11526
 
11247
- var _excluded$p = ["className", "frameStyle", "style", "direction", "children"];
11527
+ var _excluded$q = ["className", "frameStyle", "style", "direction", "children"];
11248
11528
  function FrameBox$1(_ref) {
11249
11529
  var className = _ref.className,
11250
11530
  frameStyle = _ref.frameStyle,
@@ -11252,7 +11532,7 @@ function FrameBox$1(_ref) {
11252
11532
  _ref$direction = _ref.direction,
11253
11533
  direction = _ref$direction === void 0 ? 'in' : _ref$direction,
11254
11534
  children = _ref.children,
11255
- props = _objectWithoutProperties(_ref, _excluded$p);
11535
+ props = _objectWithoutProperties(_ref, _excluded$q);
11256
11536
  return /*#__PURE__*/React.createElement("div", _objectSpread2({
11257
11537
  className: classnames(_defineProperty(_defineProperty({}, 'frame', true), className || '', true)),
11258
11538
  style: style
@@ -11279,7 +11559,7 @@ function FrameBox$1(_ref) {
11279
11559
  }), children);
11280
11560
  }
11281
11561
 
11282
- var _excluded$q = ["columns", "dataSource", "request", "onLoad", "params", "onSubmit", "rowKey", "onRow", "className", "rowClassName", "rowSelection", "style", "tbodyStyle", "thStyle", "border", "scroll", "pagination", "search", "frameBoxTable", "frameBoxDirection", "formRef", "none"];
11562
+ var _excluded$r = ["columns", "dataSource", "request", "onLoad", "params", "onSubmit", "rowKey", "onRow", "className", "rowClassName", "rowSelection", "style", "tbodyStyle", "thStyle", "border", "scroll", "pagination", "search", "frameBoxTable", "frameBoxDirection", "formRef", "none"];
11283
11563
  function NtTable(_ref, ref) {
11284
11564
  var _formSearchRef$curren4, _columns$, _columns$2;
11285
11565
  var columns = _ref.columns,
@@ -11310,7 +11590,7 @@ function NtTable(_ref, ref) {
11310
11590
  frameBoxDirection = _ref$frameBoxDirectio === void 0 ? 'out' : _ref$frameBoxDirectio,
11311
11591
  formRef = _ref.formRef,
11312
11592
  none = _ref.none,
11313
- props = _objectWithoutProperties(_ref, _excluded$q);
11593
+ props = _objectWithoutProperties(_ref, _excluded$r);
11314
11594
  var _useState = useState(_toConsumableArray((rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.selectedRowKeys) || [])),
11315
11595
  _useState2 = _slicedToArray(_useState, 2),
11316
11596
  selectedRowKeys = _useState2[0],
@@ -12566,7 +12846,7 @@ function WaterLevelCharts(config) {
12566
12846
  /*
12567
12847
  * @Author: lijin
12568
12848
  * @Date: 2021-09-09 11:02:54
12569
- * @LastEditTime: 2023-12-25 19:04:08
12849
+ * @LastEditTime: 2024-01-02 18:08:42
12570
12850
  * @LastEditors: lijin
12571
12851
  * @Description:
12572
12852
  * @FilePath: \wargerm\src\index.ts
@@ -12578,4 +12858,4 @@ if (REACT_APP_ENV == 'development') {
12578
12858
  document.documentElement.setAttribute(COLOR_ATTR_NAME, 'sd');
12579
12859
  }
12580
12860
 
12581
- export { Index$b as AutoScroll, Index$d as Breadcrumb, WButton as Button, index$4 as Calendar, index$2 as Card, WCascader as Cascader, Index$4 as Checkbox, WCheckboxGroup as CheckboxGroup, Index$a as CountUp, Index$2 as DatePicker, index$6 as DhPlayer, DragBox, IconFont, Index as Input, WInputNumber as InputNumber, LineEcharts, Modal, ModalForm$1 as ModalForm, Modal$1 as ModalTips, index$8 as NtTable, Index$9 as Number, NumericInput, Index$3 as Radio, WRadioGroup as RadioGroup, index$1 as RequestRenderDom, Index$5 as Select, Index$c as Swiper, WSwitch as Switch, index$3 as TabelCard, index as Table, TableEdit, Index$7 as TreeSelect, Upload, index$7 as Video, index$5 as VideoPlayer, Index$6 as WDatePicker, WForm$1 as WForm, WaterLevelCharts, WebsocketHeart, useEventEmitter, useStateWithCall, wTracing, create as whox, wmox };
12861
+ export { Index$b as AutoScroll, Index$d as Breadcrumb, WButton as Button, index$4 as Calendar, index$2 as Card, WCascader as Cascader, Index$4 as Checkbox, WCheckboxGroup as CheckboxGroup, Index$a as CountUp, Index$2 as DatePicker, index$6 as DhPlayer, DragBox, IconFont, Index as Input, WInputNumber as InputNumber, LineEcharts, Modal, ModalForm$1 as ModalForm, Modal$1 as ModalTips, index$8 as NtTable, Index$9 as Number, NumericInput, Index$3 as Radio, WRadioGroup as RadioGroup, index$1 as RequestRenderDom, Index$5 as Select, Index$c as Swiper, WSwitch as Switch, index$3 as TabelCard, index as Table, TableEdit, Tree, Index$7 as TreeSelect, Upload, index$7 as Video, index$5 as VideoPlayer, Index$6 as WDatePicker, WForm$1 as WForm, WaterLevelCharts, WebsocketHeart, useEventEmitter, useStateWithCall, wTracing, create as whox, wmox };