wargerm 0.2.3 → 0.2.4
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/components/Input/index.d.ts +8 -4
- package/dist/components/InputNumber/index.d.ts +6 -0
- package/dist/components/WForm/index.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +105 -39
- package/dist/index.js +118 -50
- package/package.json +1 -1
@@ -1,6 +1,10 @@
|
|
1
|
-
import
|
2
|
-
import { InputProps } from 'antd/lib/input';
|
1
|
+
import React from 'react';
|
2
|
+
import { InputProps, TextAreaProps } from 'antd/lib/input';
|
3
3
|
export interface IInputProps extends InputProps {
|
4
4
|
}
|
5
|
-
declare
|
6
|
-
|
5
|
+
export declare type IndexComponent = React.FC<IInputProps> & {
|
6
|
+
TextArea: React.FC<TextAreaProps>;
|
7
|
+
Button: React.FC<any>;
|
8
|
+
};
|
9
|
+
declare const Index: IndexComponent;
|
10
|
+
export default Index;
|
@@ -12,7 +12,7 @@ export interface ColumnProps {
|
|
12
12
|
search?: {
|
13
13
|
transform?: (value: any) => Record<string, any>;
|
14
14
|
};
|
15
|
-
valueType?: 'text' | 'select' | 'treeSelect' | 'date' | 'dateTime' | 'dateMonth' | 'dateYear' | 'dateRange' | 'dateTimeRange' | 'checkbox' | 'radio' | 'radioButton' | 'switch' | 'digit' | 'image';
|
15
|
+
valueType?: 'text' | 'textarea' | 'inputNumber' | 'select' | 'treeSelect' | 'date' | 'dateTime' | 'dateMonth' | 'dateYear' | 'dateRange' | 'dateTimeRange' | 'checkbox' | 'radio' | 'radioButton' | 'switch' | 'digit' | 'image';
|
16
16
|
valueEnum?: Record<string, any>;
|
17
17
|
options?: Record<string, any>[];
|
18
18
|
fieldProps?: Record<string, any>;
|
package/dist/index.d.ts
CHANGED
@@ -2,6 +2,7 @@ import './styles/index.less';
|
|
2
2
|
export { default as Button } from './components/Button';
|
3
3
|
export { default as IconFont } from './components/IconFont';
|
4
4
|
export { default as Input } from './components/Input';
|
5
|
+
export { default as InputNumber } from './components/InputNumber';
|
5
6
|
export { default as Table } from './components/Table';
|
6
7
|
export { default as Checkbox } from './components/Checkbox';
|
7
8
|
export { default as Radio } from './components/Radio';
|
package/dist/index.esm.js
CHANGED
@@ -8,6 +8,8 @@ import React, { useState, useEffect, useMemo, useImperativeHandle, useRef } from
|
|
8
8
|
import { createFromIconfontCN, SearchOutlined, ReloadOutlined, CloseCircleOutlined, PlusOutlined, EditOutlined, EyeOutlined, ExclamationCircleOutlined, DeleteOutlined } from '@ant-design/icons';
|
9
9
|
import 'antd/es/input/style';
|
10
10
|
import _Input from 'antd/es/input';
|
11
|
+
import 'antd/es/input-number/style';
|
12
|
+
import _InputNumber from 'antd/es/input-number';
|
11
13
|
import 'antd/es/pagination/style';
|
12
14
|
import _Pagination from 'antd/es/pagination';
|
13
15
|
import 'antd/es/row/style';
|
@@ -489,8 +491,18 @@ var WInput = function WInput(props) {
|
|
489
491
|
return /*#__PURE__*/React.createElement(_Input, _objectSpread2({}, extraProps));
|
490
492
|
};
|
491
493
|
|
494
|
+
var Index = WInput;
|
495
|
+
Index.TextArea = _Input.TextArea;
|
492
496
|
WInput.defaultProps = {};
|
493
497
|
|
498
|
+
var WInputNumber = function WInputNumber(props) {
|
499
|
+
var extraProps = _extends({}, props);
|
500
|
+
|
501
|
+
return /*#__PURE__*/React.createElement(_InputNumber, _objectSpread2({}, extraProps));
|
502
|
+
};
|
503
|
+
|
504
|
+
WInputNumber.defaultProps = {};
|
505
|
+
|
494
506
|
var _excluded$1 = ["request", "valueEnum", "onLoad", "children"],
|
495
507
|
_excluded2 = ["children"];
|
496
508
|
|
@@ -586,8 +598,8 @@ var Option = function Option(props) {
|
|
586
598
|
return /*#__PURE__*/React.createElement(_Select.Option, _objectSpread2({}, extraProps), children);
|
587
599
|
};
|
588
600
|
|
589
|
-
var Index = WSelect;
|
590
|
-
Index.Option = Option;
|
601
|
+
var Index$1 = WSelect;
|
602
|
+
Index$1.Option = Option;
|
591
603
|
|
592
604
|
var WDatePicker = function WDatePicker(props) {
|
593
605
|
var extraProps = _extends({}, props);
|
@@ -614,8 +626,8 @@ var RangePicker = function RangePicker(props) {
|
|
614
626
|
};
|
615
627
|
|
616
628
|
RangePicker.defaultProps = {};
|
617
|
-
var Index$
|
618
|
-
Index$
|
629
|
+
var Index$2 = WDatePicker;
|
630
|
+
Index$2.RangePicker = RangePicker;
|
619
631
|
|
620
632
|
var WSwitch = function WSwitch(props) {
|
621
633
|
var extraProps = _extends({}, props);
|
@@ -631,9 +643,9 @@ var WRadio = function WRadio(props) {
|
|
631
643
|
return /*#__PURE__*/React.createElement(_Radio, _objectSpread2({}, extraProps));
|
632
644
|
};
|
633
645
|
|
634
|
-
var Index$
|
635
|
-
Index$
|
636
|
-
Index$
|
646
|
+
var Index$3 = WRadio;
|
647
|
+
Index$3.Group = _Radio.Group;
|
648
|
+
Index$3.Button = _Radio.Button;
|
637
649
|
WRadio.defaultProps = {};
|
638
650
|
|
639
651
|
var WCheckbox = function WCheckbox(props) {
|
@@ -643,8 +655,8 @@ var WCheckbox = function WCheckbox(props) {
|
|
643
655
|
};
|
644
656
|
|
645
657
|
WCheckbox.defaultProps = {};
|
646
|
-
var Index$
|
647
|
-
Index$
|
658
|
+
var Index$4 = WCheckbox;
|
659
|
+
Index$4.Group = _Checkbox.Group;
|
648
660
|
|
649
661
|
function formatNumber(value) {
|
650
662
|
value += '';
|
@@ -803,8 +815,8 @@ var TreeSelect = function TreeSelect(_ref) {
|
|
803
815
|
}, props), !props.children ? renderTree(treeData) : props.children);
|
804
816
|
};
|
805
817
|
|
806
|
-
var Index$
|
807
|
-
Index$
|
818
|
+
var Index$5 = TreeSelect;
|
819
|
+
Index$5.TreeNode = _TreeSelect.TreeNode;
|
808
820
|
|
809
821
|
/*
|
810
822
|
* @Author: lijin
|
@@ -6575,7 +6587,7 @@ function FrameBox(_ref) {
|
|
6575
6587
|
}
|
6576
6588
|
|
6577
6589
|
var _excluded$4 = ["columns", "dataSource", "request", "onLoad", "params", "onSubmit", "rowKey", "onRow", "className", "rowClassName", "rowSelection", "style", "tbodyStyle", "thStyle", "border", "scroll", "pagination", "search", "frameBoxTable", "frameBoxDirection"];
|
6578
|
-
var RangePicker$1 = Index$
|
6590
|
+
var RangePicker$1 = Index$2.RangePicker;
|
6579
6591
|
function Table(_ref) {
|
6580
6592
|
var _classnames2;
|
6581
6593
|
|
@@ -6713,7 +6725,7 @@ function Table(_ref) {
|
|
6713
6725
|
name: c.dataIndex,
|
6714
6726
|
label: c.title,
|
6715
6727
|
labelCol: labelCol
|
6716
|
-
}), /*#__PURE__*/React.createElement(Index, _objectSpread2(_objectSpread2({
|
6728
|
+
}), /*#__PURE__*/React.createElement(Index$1, _objectSpread2(_objectSpread2({
|
6717
6729
|
placeholder: "\u8BF7\u9009\u62E9",
|
6718
6730
|
onLoad: function onLoad(opt) {
|
6719
6731
|
setColumnsFields(function (preColumnsFields) {
|
@@ -6749,7 +6761,7 @@ function Table(_ref) {
|
|
6749
6761
|
name: c.dataIndex,
|
6750
6762
|
label: c.title,
|
6751
6763
|
labelCol: _labelCol
|
6752
|
-
}), /*#__PURE__*/React.createElement(Index$
|
6764
|
+
}), /*#__PURE__*/React.createElement(Index$5, _objectSpread2(_objectSpread2({
|
6753
6765
|
placeholder: "\u8BF7\u9009\u62E9",
|
6754
6766
|
onLoad: function onLoad(opt) {}
|
6755
6767
|
}, c.fieldProps), _extraProps))));
|
@@ -6798,7 +6810,7 @@ function Table(_ref) {
|
|
6798
6810
|
name: c.dataIndex,
|
6799
6811
|
label: c.title,
|
6800
6812
|
labelCol: _labelCol2
|
6801
|
-
}), /*#__PURE__*/React.createElement(Index$
|
6813
|
+
}), /*#__PURE__*/React.createElement(Index$2, _objectSpread2(_objectSpread2(_objectSpread2({
|
6802
6814
|
placeholder: "\u8BF7\u8F93\u5165"
|
6803
6815
|
}, picker), showTime), c.fieldProps))));
|
6804
6816
|
} else if (c.valueType === 'dateRange' || c.valueType === 'dateTimeRange') {
|
@@ -6871,7 +6883,7 @@ function Table(_ref) {
|
|
6871
6883
|
name: c.dataIndex,
|
6872
6884
|
label: c.title,
|
6873
6885
|
labelCol: _labelCol4
|
6874
|
-
}), /*#__PURE__*/React.createElement(Index$
|
6886
|
+
}), /*#__PURE__*/React.createElement(Index$4.Group, _objectSpread2({
|
6875
6887
|
options: options
|
6876
6888
|
}, c.fieldProps))));
|
6877
6889
|
} else if (c.valueType === 'radio' || c.valueType === 'radioButton') {
|
@@ -6921,7 +6933,7 @@ function Table(_ref) {
|
|
6921
6933
|
name: c.dataIndex,
|
6922
6934
|
label: c.title,
|
6923
6935
|
labelCol: _labelCol5
|
6924
|
-
}), /*#__PURE__*/React.createElement(Index$
|
6936
|
+
}), /*#__PURE__*/React.createElement(Index$3.Group, _objectSpread2(_objectSpread2({}, radioButtonProps), {}, {
|
6925
6937
|
options: _options
|
6926
6938
|
}, c.fieldProps))));
|
6927
6939
|
} else if (c.valueType === 'switch') {
|
@@ -7011,7 +7023,7 @@ function Table(_ref) {
|
|
7011
7023
|
name: c.dataIndex,
|
7012
7024
|
label: c.title,
|
7013
7025
|
labelCol: _labelCol8
|
7014
|
-
}), /*#__PURE__*/React.createElement(
|
7026
|
+
}), /*#__PURE__*/React.createElement(Index, _objectSpread2({
|
7015
7027
|
placeholder: "\u8BF7\u8F93\u5165"
|
7016
7028
|
}, c.fieldProps))));
|
7017
7029
|
}
|
@@ -7151,7 +7163,7 @@ function Table(_ref) {
|
|
7151
7163
|
flex: '0 1 auto'
|
7152
7164
|
},
|
7153
7165
|
className: "td"
|
7154
|
-
}, /*#__PURE__*/React.createElement(Index$
|
7166
|
+
}, /*#__PURE__*/React.createElement(Index$4, {
|
7155
7167
|
checked: (_ref2 = [].concat(_toConsumableArray((rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.selectedRowKeys) || []), _toConsumableArray(selectedRowKeys))) === null || _ref2 === void 0 ? void 0 : _ref2.includes(key),
|
7156
7168
|
onClick: function onClick(e) {
|
7157
7169
|
return e.stopPropagation();
|
@@ -7189,7 +7201,7 @@ function Table(_ref) {
|
|
7189
7201
|
flex: '0 1 auto'
|
7190
7202
|
},
|
7191
7203
|
className: "td"
|
7192
|
-
}, /*#__PURE__*/React.createElement(Index$
|
7204
|
+
}, /*#__PURE__*/React.createElement(Index$3, {
|
7193
7205
|
checked: (_ref3 = [].concat(_toConsumableArray((rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.selectedRowKeys) || []), _toConsumableArray(selectedRowKeys))) === null || _ref3 === void 0 ? void 0 : _ref3.includes(key),
|
7194
7206
|
onClick: function onClick(e) {
|
7195
7207
|
return e.stopPropagation();
|
@@ -7475,7 +7487,7 @@ function Table(_ref) {
|
|
7475
7487
|
flex: '0 1 auto'
|
7476
7488
|
},
|
7477
7489
|
className: "td"
|
7478
|
-
}, /*#__PURE__*/React.createElement(Index$
|
7490
|
+
}, /*#__PURE__*/React.createElement(Index$4, {
|
7479
7491
|
checked: dataSource.every(function (record) {
|
7480
7492
|
return selectedRowKeys.includes(typeof rowKey === 'function' ? record[rowKey(record)] : record[rowKey]);
|
7481
7493
|
}),
|
@@ -7521,7 +7533,7 @@ Table.defaultProps = {
|
|
7521
7533
|
};
|
7522
7534
|
|
7523
7535
|
var _excluded$5 = ["columns", "className", "style", "search", "disabled", "onSubmit", "onReset"];
|
7524
|
-
var RangePicker$2 = Index$
|
7536
|
+
var RangePicker$2 = Index$2.RangePicker;
|
7525
7537
|
|
7526
7538
|
var WForm = function WForm(props, ref) {
|
7527
7539
|
var columns = props.columns,
|
@@ -7597,7 +7609,7 @@ var WForm = function WForm(props, ref) {
|
|
7597
7609
|
name: c.dataIndex,
|
7598
7610
|
label: c.title,
|
7599
7611
|
labelCol: labelCol
|
7600
|
-
}), /*#__PURE__*/React.createElement(Index, _objectSpread2(_objectSpread2({
|
7612
|
+
}), /*#__PURE__*/React.createElement(Index$1, _objectSpread2(_objectSpread2({
|
7601
7613
|
placeholder: "\u8BF7\u9009\u62E9",
|
7602
7614
|
disabled: disabled,
|
7603
7615
|
onLoad: function onLoad(opt) {
|
@@ -7634,7 +7646,7 @@ var WForm = function WForm(props, ref) {
|
|
7634
7646
|
name: c.dataIndex,
|
7635
7647
|
label: c.title,
|
7636
7648
|
labelCol: _labelCol
|
7637
|
-
}), /*#__PURE__*/React.createElement(Index$
|
7649
|
+
}), /*#__PURE__*/React.createElement(Index$5, _objectSpread2(_objectSpread2({
|
7638
7650
|
disabled: disabled,
|
7639
7651
|
placeholder: "\u8BF7\u9009\u62E9",
|
7640
7652
|
onLoad: function onLoad(opt) {}
|
@@ -7684,7 +7696,7 @@ var WForm = function WForm(props, ref) {
|
|
7684
7696
|
name: c.dataIndex,
|
7685
7697
|
label: c.title,
|
7686
7698
|
labelCol: _labelCol2
|
7687
|
-
}), /*#__PURE__*/React.createElement(Index$
|
7699
|
+
}), /*#__PURE__*/React.createElement(Index$2, _objectSpread2(_objectSpread2(_objectSpread2({
|
7688
7700
|
disabled: disabled,
|
7689
7701
|
placeholder: "\u8BF7\u8F93\u5165"
|
7690
7702
|
}, picker), showTime), c.fieldProps))));
|
@@ -7764,7 +7776,7 @@ var WForm = function WForm(props, ref) {
|
|
7764
7776
|
name: c.dataIndex,
|
7765
7777
|
label: c.title,
|
7766
7778
|
labelCol: _labelCol4
|
7767
|
-
}), /*#__PURE__*/React.createElement(Index$
|
7779
|
+
}), /*#__PURE__*/React.createElement(Index$4.Group, _objectSpread2({
|
7768
7780
|
disabled: disabled,
|
7769
7781
|
options: options
|
7770
7782
|
}, c.fieldProps))));
|
@@ -7819,7 +7831,7 @@ var WForm = function WForm(props, ref) {
|
|
7819
7831
|
name: c.dataIndex,
|
7820
7832
|
label: c.title,
|
7821
7833
|
labelCol: _labelCol5
|
7822
|
-
}), /*#__PURE__*/React.createElement(Index$
|
7834
|
+
}), /*#__PURE__*/React.createElement(Index$3.Group, _objectSpread2(_objectSpread2({
|
7823
7835
|
disabled: disabled
|
7824
7836
|
}, radioButtonProps), {}, {
|
7825
7837
|
options: _options
|
@@ -7919,7 +7931,7 @@ var WForm = function WForm(props, ref) {
|
|
7919
7931
|
label: c.title,
|
7920
7932
|
labelCol: _labelCol8
|
7921
7933
|
}), baseitem)) : null;
|
7922
|
-
} else {
|
7934
|
+
} else if (c.valueType === 'textarea') {
|
7923
7935
|
var _labelCol9 = {};
|
7924
7936
|
|
7925
7937
|
if (search && search.labelWidth) {
|
@@ -7941,7 +7953,60 @@ var WForm = function WForm(props, ref) {
|
|
7941
7953
|
name: c.dataIndex,
|
7942
7954
|
label: c.title,
|
7943
7955
|
labelCol: _labelCol9
|
7944
|
-
}), /*#__PURE__*/React.createElement(
|
7956
|
+
}), /*#__PURE__*/React.createElement(Index.TextArea, _objectSpread2({
|
7957
|
+
rows: 4,
|
7958
|
+
disabled: disabled,
|
7959
|
+
placeholder: "\u8BF7\u8F93\u5165"
|
7960
|
+
}, c.fieldProps))));
|
7961
|
+
} else if (c.valueType === 'inputNumber') {
|
7962
|
+
var _labelCol10 = {};
|
7963
|
+
|
7964
|
+
if (search && search.labelWidth) {
|
7965
|
+
_labelCol10.style = {
|
7966
|
+
width: search.labelWidth
|
7967
|
+
};
|
7968
|
+
}
|
7969
|
+
|
7970
|
+
return /*#__PURE__*/React.createElement(_Col, _objectSpread2(_objectSpread2({
|
7971
|
+
style: {
|
7972
|
+
paddingLeft: '12px',
|
7973
|
+
paddingRight: '12px'
|
7974
|
+
}
|
7975
|
+
}, colProps), {}, {
|
7976
|
+
key: c.dataIndex
|
7977
|
+
}), /*#__PURE__*/React.createElement(_Form.Item, _objectSpread2(_objectSpread2({
|
7978
|
+
initialValue: c.initialValue
|
7979
|
+
}, c.formItemProps), {}, {
|
7980
|
+
name: c.dataIndex,
|
7981
|
+
label: c.title,
|
7982
|
+
labelCol: _labelCol10
|
7983
|
+
}), /*#__PURE__*/React.createElement(WInputNumber, _objectSpread2({
|
7984
|
+
disabled: disabled,
|
7985
|
+
placeholder: "\u8BF7\u8F93\u5165"
|
7986
|
+
}, c.fieldProps))));
|
7987
|
+
} else {
|
7988
|
+
var _labelCol11 = {};
|
7989
|
+
|
7990
|
+
if (search && search.labelWidth) {
|
7991
|
+
_labelCol11.style = {
|
7992
|
+
width: search.labelWidth
|
7993
|
+
};
|
7994
|
+
}
|
7995
|
+
|
7996
|
+
return /*#__PURE__*/React.createElement(_Col, _objectSpread2(_objectSpread2({
|
7997
|
+
style: {
|
7998
|
+
paddingLeft: '12px',
|
7999
|
+
paddingRight: '12px'
|
8000
|
+
}
|
8001
|
+
}, colProps), {}, {
|
8002
|
+
key: c.dataIndex
|
8003
|
+
}), /*#__PURE__*/React.createElement(_Form.Item, _objectSpread2(_objectSpread2({
|
8004
|
+
initialValue: c.initialValue
|
8005
|
+
}, c.formItemProps), {}, {
|
8006
|
+
name: c.dataIndex,
|
8007
|
+
label: c.title,
|
8008
|
+
labelCol: _labelCol11
|
8009
|
+
}), /*#__PURE__*/React.createElement(Index, _objectSpread2({
|
7945
8010
|
disabled: disabled,
|
7946
8011
|
placeholder: "\u8BF7\u8F93\u5165"
|
7947
8012
|
}, c.fieldProps))));
|
@@ -8207,7 +8272,7 @@ Number.defaultProps = {
|
|
8207
8272
|
height: 40
|
8208
8273
|
};
|
8209
8274
|
|
8210
|
-
var Index$
|
8275
|
+
var Index$6 = function Index(props) {
|
8211
8276
|
var count = props.count,
|
8212
8277
|
width = props.width,
|
8213
8278
|
height = props.height,
|
@@ -8246,7 +8311,7 @@ var Index$5 = function Index(props) {
|
|
8246
8311
|
|
8247
8312
|
var _excluded$7 = ["duration"];
|
8248
8313
|
|
8249
|
-
var Index$
|
8314
|
+
var Index$7 = function Index(props) {
|
8250
8315
|
var _props$duration = props.duration,
|
8251
8316
|
duration = _props$duration === void 0 ? 2.75 : _props$duration,
|
8252
8317
|
extraProps = _objectWithoutProperties(props, _excluded$7);
|
@@ -8255,7 +8320,7 @@ var Index$6 = function Index(props) {
|
|
8255
8320
|
}, extraProps));
|
8256
8321
|
};
|
8257
8322
|
|
8258
|
-
Index$
|
8323
|
+
Index$7.defaultProps = {};
|
8259
8324
|
|
8260
8325
|
var _excluded$8 = ["list", "render", "partSize"];
|
8261
8326
|
var autoScrollInterval = null;
|
@@ -8333,7 +8398,7 @@ function AutoScroll(props) {
|
|
8333
8398
|
}));
|
8334
8399
|
}
|
8335
8400
|
|
8336
|
-
var Index$
|
8401
|
+
var Index$8 = function Index(_ref) {
|
8337
8402
|
var list = _ref.list,
|
8338
8403
|
render = _ref.render,
|
8339
8404
|
_ref$partSize = _ref.partSize,
|
@@ -8419,7 +8484,7 @@ var _excluded$9 = ["data", "onClick", "renderItem"];
|
|
8419
8484
|
|
8420
8485
|
SwiperCore.use([Pagination, Navigation]);
|
8421
8486
|
|
8422
|
-
var Index$
|
8487
|
+
var Index$9 = function Index(props) {
|
8423
8488
|
var data = props.data,
|
8424
8489
|
_onClick = props.onClick,
|
8425
8490
|
renderItem = props.renderItem,
|
@@ -8452,7 +8517,7 @@ var Index$8 = function Index(props) {
|
|
8452
8517
|
}));
|
8453
8518
|
};
|
8454
8519
|
|
8455
|
-
Index$
|
8520
|
+
Index$9.defaultProps = {};
|
8456
8521
|
|
8457
8522
|
function _extends$1() {
|
8458
8523
|
_extends$1 = Object.assign || function (target) {
|
@@ -9061,7 +9126,7 @@ function itemRender(route, params, routes, paths) {
|
|
9061
9126
|
}, route.breadcrumbName);
|
9062
9127
|
}
|
9063
9128
|
|
9064
|
-
var Index$
|
9129
|
+
var Index$a = function Index(_ref) {
|
9065
9130
|
var routes = _ref.routes,
|
9066
9131
|
className = _ref.className,
|
9067
9132
|
props = _objectWithoutProperties(_ref, _excluded$a);
|
@@ -9076,7 +9141,7 @@ var Index$9 = function Index(_ref) {
|
|
9076
9141
|
|
9077
9142
|
var _excluded$b = ["title", "className", "headerTail", "headerCenter"];
|
9078
9143
|
|
9079
|
-
var Index$
|
9144
|
+
var Index$b = function Index(_ref) {
|
9080
9145
|
var _classNames;
|
9081
9146
|
|
9082
9147
|
var title = _ref.title,
|
@@ -9103,7 +9168,7 @@ var Index$a = function Index(_ref) {
|
|
9103
9168
|
}, props.children))));
|
9104
9169
|
};
|
9105
9170
|
|
9106
|
-
Index$
|
9171
|
+
Index$b.defaultProps = {};
|
9107
9172
|
|
9108
9173
|
var controlShow = function controlShow(f1, f2, value, timer) {
|
9109
9174
|
f1(value);
|
@@ -9783,6 +9848,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
9783
9848
|
search: modalFormSearch
|
9784
9849
|
}, modalConfig), {}, {
|
9785
9850
|
columns: (columns || []).filter(function (item) {
|
9851
|
+
delete item.hideInSearch;
|
9786
9852
|
return !item.hiddenInModalForm;
|
9787
9853
|
})
|
9788
9854
|
})), /*#__PURE__*/React.createElement(ProTable, _objectSpread2({
|
@@ -9814,4 +9880,4 @@ var TabelCard = function TabelCard(props, ref) {
|
|
9814
9880
|
|
9815
9881
|
var index$1 = /*#__PURE__*/React.forwardRef(TabelCard);
|
9816
9882
|
|
9817
|
-
export { Index$
|
9883
|
+
export { Index$8 as AutoScroll, Index$a as Breadcrumb, WButton as Button, Index$b as Card, Index$4 as Checkbox, Index$7 as CountUp, Index$2 as DatePicker, index as IconFont, Index as Input, WInputNumber as InputNumber, Modal, ModalForm$1 as ModalForm, Index$6 as Number, NumericInput, Index$3 as Radio, Index$1 as Select, Index$9 as Swiper, WSwitch as Switch, index$1 as TabelCard, Table, Index$5 as TreeSelect, WForm$1 as WForm };
|
package/dist/index.js
CHANGED
@@ -12,6 +12,8 @@ var React = require('react');
|
|
12
12
|
var icons = require('@ant-design/icons');
|
13
13
|
require('antd/es/input/style');
|
14
14
|
var _Input = require('antd/es/input');
|
15
|
+
require('antd/es/input-number/style');
|
16
|
+
var _InputNumber = require('antd/es/input-number');
|
15
17
|
require('antd/es/pagination/style');
|
16
18
|
var _Pagination = require('antd/es/pagination');
|
17
19
|
require('antd/es/row/style');
|
@@ -55,6 +57,7 @@ var _Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(_Dropdown);
|
|
55
57
|
var _Menu__default = /*#__PURE__*/_interopDefaultLegacy(_Menu);
|
56
58
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
57
59
|
var _Input__default = /*#__PURE__*/_interopDefaultLegacy(_Input);
|
60
|
+
var _InputNumber__default = /*#__PURE__*/_interopDefaultLegacy(_InputNumber);
|
58
61
|
var _Pagination__default = /*#__PURE__*/_interopDefaultLegacy(_Pagination);
|
59
62
|
var _Row__default = /*#__PURE__*/_interopDefaultLegacy(_Row);
|
60
63
|
var _Spin__default = /*#__PURE__*/_interopDefaultLegacy(_Spin);
|
@@ -521,8 +524,18 @@ var WInput = function WInput(props) {
|
|
521
524
|
return /*#__PURE__*/React__default['default'].createElement(_Input__default['default'], _objectSpread2({}, extraProps));
|
522
525
|
};
|
523
526
|
|
527
|
+
var Index = WInput;
|
528
|
+
Index.TextArea = _Input__default['default'].TextArea;
|
524
529
|
WInput.defaultProps = {};
|
525
530
|
|
531
|
+
var WInputNumber = function WInputNumber(props) {
|
532
|
+
var extraProps = _extends({}, props);
|
533
|
+
|
534
|
+
return /*#__PURE__*/React__default['default'].createElement(_InputNumber__default['default'], _objectSpread2({}, extraProps));
|
535
|
+
};
|
536
|
+
|
537
|
+
WInputNumber.defaultProps = {};
|
538
|
+
|
526
539
|
var _excluded$1 = ["request", "valueEnum", "onLoad", "children"],
|
527
540
|
_excluded2 = ["children"];
|
528
541
|
|
@@ -618,8 +631,8 @@ var Option = function Option(props) {
|
|
618
631
|
return /*#__PURE__*/React__default['default'].createElement(_Select__default['default'].Option, _objectSpread2({}, extraProps), children);
|
619
632
|
};
|
620
633
|
|
621
|
-
var Index = WSelect;
|
622
|
-
Index.Option = Option;
|
634
|
+
var Index$1 = WSelect;
|
635
|
+
Index$1.Option = Option;
|
623
636
|
|
624
637
|
var WDatePicker = function WDatePicker(props) {
|
625
638
|
var extraProps = _extends({}, props);
|
@@ -646,8 +659,8 @@ var RangePicker = function RangePicker(props) {
|
|
646
659
|
};
|
647
660
|
|
648
661
|
RangePicker.defaultProps = {};
|
649
|
-
var Index$
|
650
|
-
Index$
|
662
|
+
var Index$2 = WDatePicker;
|
663
|
+
Index$2.RangePicker = RangePicker;
|
651
664
|
|
652
665
|
var WSwitch = function WSwitch(props) {
|
653
666
|
var extraProps = _extends({}, props);
|
@@ -663,9 +676,9 @@ var WRadio = function WRadio(props) {
|
|
663
676
|
return /*#__PURE__*/React__default['default'].createElement(_Radio__default['default'], _objectSpread2({}, extraProps));
|
664
677
|
};
|
665
678
|
|
666
|
-
var Index$
|
667
|
-
Index$
|
668
|
-
Index$
|
679
|
+
var Index$3 = WRadio;
|
680
|
+
Index$3.Group = _Radio__default['default'].Group;
|
681
|
+
Index$3.Button = _Radio__default['default'].Button;
|
669
682
|
WRadio.defaultProps = {};
|
670
683
|
|
671
684
|
var WCheckbox = function WCheckbox(props) {
|
@@ -675,8 +688,8 @@ var WCheckbox = function WCheckbox(props) {
|
|
675
688
|
};
|
676
689
|
|
677
690
|
WCheckbox.defaultProps = {};
|
678
|
-
var Index$
|
679
|
-
Index$
|
691
|
+
var Index$4 = WCheckbox;
|
692
|
+
Index$4.Group = _Checkbox__default['default'].Group;
|
680
693
|
|
681
694
|
function formatNumber(value) {
|
682
695
|
value += '';
|
@@ -835,8 +848,8 @@ var TreeSelect = function TreeSelect(_ref) {
|
|
835
848
|
}, props), !props.children ? renderTree(treeData) : props.children);
|
836
849
|
};
|
837
850
|
|
838
|
-
var Index$
|
839
|
-
Index$
|
851
|
+
var Index$5 = TreeSelect;
|
852
|
+
Index$5.TreeNode = _TreeSelect__default['default'].TreeNode;
|
840
853
|
|
841
854
|
/*
|
842
855
|
* @Author: lijin
|
@@ -6607,7 +6620,7 @@ function FrameBox(_ref) {
|
|
6607
6620
|
}
|
6608
6621
|
|
6609
6622
|
var _excluded$4 = ["columns", "dataSource", "request", "onLoad", "params", "onSubmit", "rowKey", "onRow", "className", "rowClassName", "rowSelection", "style", "tbodyStyle", "thStyle", "border", "scroll", "pagination", "search", "frameBoxTable", "frameBoxDirection"];
|
6610
|
-
var RangePicker$1 = Index$
|
6623
|
+
var RangePicker$1 = Index$2.RangePicker;
|
6611
6624
|
function Table(_ref) {
|
6612
6625
|
var _classnames2;
|
6613
6626
|
|
@@ -6745,7 +6758,7 @@ function Table(_ref) {
|
|
6745
6758
|
name: c.dataIndex,
|
6746
6759
|
label: c.title,
|
6747
6760
|
labelCol: labelCol
|
6748
|
-
}), /*#__PURE__*/React__default['default'].createElement(Index, _objectSpread2(_objectSpread2({
|
6761
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index$1, _objectSpread2(_objectSpread2({
|
6749
6762
|
placeholder: "\u8BF7\u9009\u62E9",
|
6750
6763
|
onLoad: function onLoad(opt) {
|
6751
6764
|
setColumnsFields(function (preColumnsFields) {
|
@@ -6781,7 +6794,7 @@ function Table(_ref) {
|
|
6781
6794
|
name: c.dataIndex,
|
6782
6795
|
label: c.title,
|
6783
6796
|
labelCol: _labelCol
|
6784
|
-
}), /*#__PURE__*/React__default['default'].createElement(Index$
|
6797
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index$5, _objectSpread2(_objectSpread2({
|
6785
6798
|
placeholder: "\u8BF7\u9009\u62E9",
|
6786
6799
|
onLoad: function onLoad(opt) {}
|
6787
6800
|
}, c.fieldProps), _extraProps))));
|
@@ -6830,7 +6843,7 @@ function Table(_ref) {
|
|
6830
6843
|
name: c.dataIndex,
|
6831
6844
|
label: c.title,
|
6832
6845
|
labelCol: _labelCol2
|
6833
|
-
}), /*#__PURE__*/React__default['default'].createElement(Index$
|
6846
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index$2, _objectSpread2(_objectSpread2(_objectSpread2({
|
6834
6847
|
placeholder: "\u8BF7\u8F93\u5165"
|
6835
6848
|
}, picker), showTime), c.fieldProps))));
|
6836
6849
|
} else if (c.valueType === 'dateRange' || c.valueType === 'dateTimeRange') {
|
@@ -6903,7 +6916,7 @@ function Table(_ref) {
|
|
6903
6916
|
name: c.dataIndex,
|
6904
6917
|
label: c.title,
|
6905
6918
|
labelCol: _labelCol4
|
6906
|
-
}), /*#__PURE__*/React__default['default'].createElement(Index$
|
6919
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index$4.Group, _objectSpread2({
|
6907
6920
|
options: options
|
6908
6921
|
}, c.fieldProps))));
|
6909
6922
|
} else if (c.valueType === 'radio' || c.valueType === 'radioButton') {
|
@@ -6953,7 +6966,7 @@ function Table(_ref) {
|
|
6953
6966
|
name: c.dataIndex,
|
6954
6967
|
label: c.title,
|
6955
6968
|
labelCol: _labelCol5
|
6956
|
-
}), /*#__PURE__*/React__default['default'].createElement(Index$
|
6969
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index$3.Group, _objectSpread2(_objectSpread2({}, radioButtonProps), {}, {
|
6957
6970
|
options: _options
|
6958
6971
|
}, c.fieldProps))));
|
6959
6972
|
} else if (c.valueType === 'switch') {
|
@@ -7043,7 +7056,7 @@ function Table(_ref) {
|
|
7043
7056
|
name: c.dataIndex,
|
7044
7057
|
label: c.title,
|
7045
7058
|
labelCol: _labelCol8
|
7046
|
-
}), /*#__PURE__*/React__default['default'].createElement(
|
7059
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index, _objectSpread2({
|
7047
7060
|
placeholder: "\u8BF7\u8F93\u5165"
|
7048
7061
|
}, c.fieldProps))));
|
7049
7062
|
}
|
@@ -7183,7 +7196,7 @@ function Table(_ref) {
|
|
7183
7196
|
flex: '0 1 auto'
|
7184
7197
|
},
|
7185
7198
|
className: "td"
|
7186
|
-
}, /*#__PURE__*/React__default['default'].createElement(Index$
|
7199
|
+
}, /*#__PURE__*/React__default['default'].createElement(Index$4, {
|
7187
7200
|
checked: (_ref2 = [].concat(_toConsumableArray((rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.selectedRowKeys) || []), _toConsumableArray(selectedRowKeys))) === null || _ref2 === void 0 ? void 0 : _ref2.includes(key),
|
7188
7201
|
onClick: function onClick(e) {
|
7189
7202
|
return e.stopPropagation();
|
@@ -7221,7 +7234,7 @@ function Table(_ref) {
|
|
7221
7234
|
flex: '0 1 auto'
|
7222
7235
|
},
|
7223
7236
|
className: "td"
|
7224
|
-
}, /*#__PURE__*/React__default['default'].createElement(Index$
|
7237
|
+
}, /*#__PURE__*/React__default['default'].createElement(Index$3, {
|
7225
7238
|
checked: (_ref3 = [].concat(_toConsumableArray((rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.selectedRowKeys) || []), _toConsumableArray(selectedRowKeys))) === null || _ref3 === void 0 ? void 0 : _ref3.includes(key),
|
7226
7239
|
onClick: function onClick(e) {
|
7227
7240
|
return e.stopPropagation();
|
@@ -7507,7 +7520,7 @@ function Table(_ref) {
|
|
7507
7520
|
flex: '0 1 auto'
|
7508
7521
|
},
|
7509
7522
|
className: "td"
|
7510
|
-
}, /*#__PURE__*/React__default['default'].createElement(Index$
|
7523
|
+
}, /*#__PURE__*/React__default['default'].createElement(Index$4, {
|
7511
7524
|
checked: dataSource.every(function (record) {
|
7512
7525
|
return selectedRowKeys.includes(typeof rowKey === 'function' ? record[rowKey(record)] : record[rowKey]);
|
7513
7526
|
}),
|
@@ -7553,7 +7566,7 @@ Table.defaultProps = {
|
|
7553
7566
|
};
|
7554
7567
|
|
7555
7568
|
var _excluded$5 = ["columns", "className", "style", "search", "disabled", "onSubmit", "onReset"];
|
7556
|
-
var RangePicker$2 = Index$
|
7569
|
+
var RangePicker$2 = Index$2.RangePicker;
|
7557
7570
|
|
7558
7571
|
var WForm = function WForm(props, ref) {
|
7559
7572
|
var columns = props.columns,
|
@@ -7629,7 +7642,7 @@ var WForm = function WForm(props, ref) {
|
|
7629
7642
|
name: c.dataIndex,
|
7630
7643
|
label: c.title,
|
7631
7644
|
labelCol: labelCol
|
7632
|
-
}), /*#__PURE__*/React__default['default'].createElement(Index, _objectSpread2(_objectSpread2({
|
7645
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index$1, _objectSpread2(_objectSpread2({
|
7633
7646
|
placeholder: "\u8BF7\u9009\u62E9",
|
7634
7647
|
disabled: disabled,
|
7635
7648
|
onLoad: function onLoad(opt) {
|
@@ -7666,7 +7679,7 @@ var WForm = function WForm(props, ref) {
|
|
7666
7679
|
name: c.dataIndex,
|
7667
7680
|
label: c.title,
|
7668
7681
|
labelCol: _labelCol
|
7669
|
-
}), /*#__PURE__*/React__default['default'].createElement(Index$
|
7682
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index$5, _objectSpread2(_objectSpread2({
|
7670
7683
|
disabled: disabled,
|
7671
7684
|
placeholder: "\u8BF7\u9009\u62E9",
|
7672
7685
|
onLoad: function onLoad(opt) {}
|
@@ -7716,7 +7729,7 @@ var WForm = function WForm(props, ref) {
|
|
7716
7729
|
name: c.dataIndex,
|
7717
7730
|
label: c.title,
|
7718
7731
|
labelCol: _labelCol2
|
7719
|
-
}), /*#__PURE__*/React__default['default'].createElement(Index$
|
7732
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index$2, _objectSpread2(_objectSpread2(_objectSpread2({
|
7720
7733
|
disabled: disabled,
|
7721
7734
|
placeholder: "\u8BF7\u8F93\u5165"
|
7722
7735
|
}, picker), showTime), c.fieldProps))));
|
@@ -7796,7 +7809,7 @@ var WForm = function WForm(props, ref) {
|
|
7796
7809
|
name: c.dataIndex,
|
7797
7810
|
label: c.title,
|
7798
7811
|
labelCol: _labelCol4
|
7799
|
-
}), /*#__PURE__*/React__default['default'].createElement(Index$
|
7812
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index$4.Group, _objectSpread2({
|
7800
7813
|
disabled: disabled,
|
7801
7814
|
options: options
|
7802
7815
|
}, c.fieldProps))));
|
@@ -7851,7 +7864,7 @@ var WForm = function WForm(props, ref) {
|
|
7851
7864
|
name: c.dataIndex,
|
7852
7865
|
label: c.title,
|
7853
7866
|
labelCol: _labelCol5
|
7854
|
-
}), /*#__PURE__*/React__default['default'].createElement(Index$
|
7867
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index$3.Group, _objectSpread2(_objectSpread2({
|
7855
7868
|
disabled: disabled
|
7856
7869
|
}, radioButtonProps), {}, {
|
7857
7870
|
options: _options
|
@@ -7951,7 +7964,7 @@ var WForm = function WForm(props, ref) {
|
|
7951
7964
|
label: c.title,
|
7952
7965
|
labelCol: _labelCol8
|
7953
7966
|
}), baseitem)) : null;
|
7954
|
-
} else {
|
7967
|
+
} else if (c.valueType === 'textarea') {
|
7955
7968
|
var _labelCol9 = {};
|
7956
7969
|
|
7957
7970
|
if (search && search.labelWidth) {
|
@@ -7973,7 +7986,60 @@ var WForm = function WForm(props, ref) {
|
|
7973
7986
|
name: c.dataIndex,
|
7974
7987
|
label: c.title,
|
7975
7988
|
labelCol: _labelCol9
|
7976
|
-
}), /*#__PURE__*/React__default['default'].createElement(
|
7989
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index.TextArea, _objectSpread2({
|
7990
|
+
rows: 4,
|
7991
|
+
disabled: disabled,
|
7992
|
+
placeholder: "\u8BF7\u8F93\u5165"
|
7993
|
+
}, c.fieldProps))));
|
7994
|
+
} else if (c.valueType === 'inputNumber') {
|
7995
|
+
var _labelCol10 = {};
|
7996
|
+
|
7997
|
+
if (search && search.labelWidth) {
|
7998
|
+
_labelCol10.style = {
|
7999
|
+
width: search.labelWidth
|
8000
|
+
};
|
8001
|
+
}
|
8002
|
+
|
8003
|
+
return /*#__PURE__*/React__default['default'].createElement(_Col__default['default'], _objectSpread2(_objectSpread2({
|
8004
|
+
style: {
|
8005
|
+
paddingLeft: '12px',
|
8006
|
+
paddingRight: '12px'
|
8007
|
+
}
|
8008
|
+
}, colProps), {}, {
|
8009
|
+
key: c.dataIndex
|
8010
|
+
}), /*#__PURE__*/React__default['default'].createElement(_Form__default['default'].Item, _objectSpread2(_objectSpread2({
|
8011
|
+
initialValue: c.initialValue
|
8012
|
+
}, c.formItemProps), {}, {
|
8013
|
+
name: c.dataIndex,
|
8014
|
+
label: c.title,
|
8015
|
+
labelCol: _labelCol10
|
8016
|
+
}), /*#__PURE__*/React__default['default'].createElement(WInputNumber, _objectSpread2({
|
8017
|
+
disabled: disabled,
|
8018
|
+
placeholder: "\u8BF7\u8F93\u5165"
|
8019
|
+
}, c.fieldProps))));
|
8020
|
+
} else {
|
8021
|
+
var _labelCol11 = {};
|
8022
|
+
|
8023
|
+
if (search && search.labelWidth) {
|
8024
|
+
_labelCol11.style = {
|
8025
|
+
width: search.labelWidth
|
8026
|
+
};
|
8027
|
+
}
|
8028
|
+
|
8029
|
+
return /*#__PURE__*/React__default['default'].createElement(_Col__default['default'], _objectSpread2(_objectSpread2({
|
8030
|
+
style: {
|
8031
|
+
paddingLeft: '12px',
|
8032
|
+
paddingRight: '12px'
|
8033
|
+
}
|
8034
|
+
}, colProps), {}, {
|
8035
|
+
key: c.dataIndex
|
8036
|
+
}), /*#__PURE__*/React__default['default'].createElement(_Form__default['default'].Item, _objectSpread2(_objectSpread2({
|
8037
|
+
initialValue: c.initialValue
|
8038
|
+
}, c.formItemProps), {}, {
|
8039
|
+
name: c.dataIndex,
|
8040
|
+
label: c.title,
|
8041
|
+
labelCol: _labelCol11
|
8042
|
+
}), /*#__PURE__*/React__default['default'].createElement(Index, _objectSpread2({
|
7977
8043
|
disabled: disabled,
|
7978
8044
|
placeholder: "\u8BF7\u8F93\u5165"
|
7979
8045
|
}, c.fieldProps))));
|
@@ -8239,7 +8305,7 @@ Number.defaultProps = {
|
|
8239
8305
|
height: 40
|
8240
8306
|
};
|
8241
8307
|
|
8242
|
-
var Index$
|
8308
|
+
var Index$6 = function Index(props) {
|
8243
8309
|
var count = props.count,
|
8244
8310
|
width = props.width,
|
8245
8311
|
height = props.height,
|
@@ -8278,7 +8344,7 @@ var Index$5 = function Index(props) {
|
|
8278
8344
|
|
8279
8345
|
var _excluded$7 = ["duration"];
|
8280
8346
|
|
8281
|
-
var Index$
|
8347
|
+
var Index$7 = function Index(props) {
|
8282
8348
|
var _props$duration = props.duration,
|
8283
8349
|
duration = _props$duration === void 0 ? 2.75 : _props$duration,
|
8284
8350
|
extraProps = _objectWithoutProperties(props, _excluded$7);
|
@@ -8287,7 +8353,7 @@ var Index$6 = function Index(props) {
|
|
8287
8353
|
}, extraProps));
|
8288
8354
|
};
|
8289
8355
|
|
8290
|
-
Index$
|
8356
|
+
Index$7.defaultProps = {};
|
8291
8357
|
|
8292
8358
|
var _excluded$8 = ["list", "render", "partSize"];
|
8293
8359
|
var autoScrollInterval = null;
|
@@ -8365,7 +8431,7 @@ function AutoScroll(props) {
|
|
8365
8431
|
}));
|
8366
8432
|
}
|
8367
8433
|
|
8368
|
-
var Index$
|
8434
|
+
var Index$8 = function Index(_ref) {
|
8369
8435
|
var list = _ref.list,
|
8370
8436
|
render = _ref.render,
|
8371
8437
|
_ref$partSize = _ref.partSize,
|
@@ -8451,7 +8517,7 @@ var _excluded$9 = ["data", "onClick", "renderItem"];
|
|
8451
8517
|
|
8452
8518
|
SwiperCore__default['default'].use([SwiperCore.Pagination, SwiperCore.Navigation]);
|
8453
8519
|
|
8454
|
-
var Index$
|
8520
|
+
var Index$9 = function Index(props) {
|
8455
8521
|
var data = props.data,
|
8456
8522
|
_onClick = props.onClick,
|
8457
8523
|
renderItem = props.renderItem,
|
@@ -8484,7 +8550,7 @@ var Index$8 = function Index(props) {
|
|
8484
8550
|
}));
|
8485
8551
|
};
|
8486
8552
|
|
8487
|
-
Index$
|
8553
|
+
Index$9.defaultProps = {};
|
8488
8554
|
|
8489
8555
|
function _extends$1() {
|
8490
8556
|
_extends$1 = Object.assign || function (target) {
|
@@ -9093,7 +9159,7 @@ function itemRender(route, params, routes, paths) {
|
|
9093
9159
|
}, route.breadcrumbName);
|
9094
9160
|
}
|
9095
9161
|
|
9096
|
-
var Index$
|
9162
|
+
var Index$a = function Index(_ref) {
|
9097
9163
|
var routes = _ref.routes,
|
9098
9164
|
className = _ref.className,
|
9099
9165
|
props = _objectWithoutProperties(_ref, _excluded$a);
|
@@ -9108,7 +9174,7 @@ var Index$9 = function Index(_ref) {
|
|
9108
9174
|
|
9109
9175
|
var _excluded$b = ["title", "className", "headerTail", "headerCenter"];
|
9110
9176
|
|
9111
|
-
var Index$
|
9177
|
+
var Index$b = function Index(_ref) {
|
9112
9178
|
var _classNames;
|
9113
9179
|
|
9114
9180
|
var title = _ref.title,
|
@@ -9135,7 +9201,7 @@ var Index$a = function Index(_ref) {
|
|
9135
9201
|
}, props.children))));
|
9136
9202
|
};
|
9137
9203
|
|
9138
|
-
Index$
|
9204
|
+
Index$b.defaultProps = {};
|
9139
9205
|
|
9140
9206
|
var controlShow = function controlShow(f1, f2, value, timer) {
|
9141
9207
|
f1(value);
|
@@ -9815,6 +9881,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
9815
9881
|
search: modalFormSearch
|
9816
9882
|
}, modalConfig), {}, {
|
9817
9883
|
columns: (columns || []).filter(function (item) {
|
9884
|
+
delete item.hideInSearch;
|
9818
9885
|
return !item.hiddenInModalForm;
|
9819
9886
|
})
|
9820
9887
|
})), /*#__PURE__*/React__default['default'].createElement(ProTable__default['default'], _objectSpread2({
|
@@ -9846,24 +9913,25 @@ var TabelCard = function TabelCard(props, ref) {
|
|
9846
9913
|
|
9847
9914
|
var index$1 = /*#__PURE__*/React__default['default'].forwardRef(TabelCard);
|
9848
9915
|
|
9849
|
-
exports.AutoScroll = Index$
|
9850
|
-
exports.Breadcrumb = Index$
|
9916
|
+
exports.AutoScroll = Index$8;
|
9917
|
+
exports.Breadcrumb = Index$a;
|
9851
9918
|
exports.Button = WButton;
|
9852
|
-
exports.Card = Index$
|
9853
|
-
exports.Checkbox = Index$
|
9854
|
-
exports.CountUp = Index$
|
9855
|
-
exports.DatePicker = Index$
|
9919
|
+
exports.Card = Index$b;
|
9920
|
+
exports.Checkbox = Index$4;
|
9921
|
+
exports.CountUp = Index$7;
|
9922
|
+
exports.DatePicker = Index$2;
|
9856
9923
|
exports.IconFont = index;
|
9857
|
-
exports.Input =
|
9924
|
+
exports.Input = Index;
|
9925
|
+
exports.InputNumber = WInputNumber;
|
9858
9926
|
exports.Modal = Modal;
|
9859
9927
|
exports.ModalForm = ModalForm$1;
|
9860
|
-
exports.Number = Index$
|
9928
|
+
exports.Number = Index$6;
|
9861
9929
|
exports.NumericInput = NumericInput;
|
9862
|
-
exports.Radio = Index$
|
9863
|
-
exports.Select = Index;
|
9864
|
-
exports.Swiper = Index$
|
9930
|
+
exports.Radio = Index$3;
|
9931
|
+
exports.Select = Index$1;
|
9932
|
+
exports.Swiper = Index$9;
|
9865
9933
|
exports.Switch = WSwitch;
|
9866
9934
|
exports.TabelCard = index$1;
|
9867
9935
|
exports.Table = Table;
|
9868
|
-
exports.TreeSelect = Index$
|
9936
|
+
exports.TreeSelect = Index$5;
|
9869
9937
|
exports.WForm = WForm$1;
|