ns-base-module 1.1.58 → 1.1.61
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/LICENSE +21 -21
- package/README.md +20 -20
- package/dist/Button/AntdIconButton.d.ts +11 -0
- package/dist/Button/AntdIconButton.d.ts.map +1 -0
- package/dist/Button/AntdIconButton.js +2 -2
- package/dist/Button/ConfigButton.d.ts +18 -0
- package/dist/Button/ConfigButton.d.ts.map +1 -0
- package/dist/Button/ConfigButton.js +12 -12
- package/dist/Button/index.d.ts +8 -0
- package/dist/Button/index.d.ts.map +1 -0
- package/dist/ChooseModal/index.d.ts +21 -0
- package/dist/ChooseModal/index.d.ts.map +1 -0
- package/dist/ChooseModal/index.js +6 -6
- package/dist/ClassFilter/index.d.ts +11 -0
- package/dist/ClassFilter/index.d.ts.map +1 -0
- package/dist/ClassFilter/indexVertical.d.ts +11 -0
- package/dist/ClassFilter/indexVertical.d.ts.map +1 -0
- package/dist/ClassFilter/util.d.ts +17 -0
- package/dist/ClassFilter/util.d.ts.map +1 -0
- package/dist/CopyCol/index.d.ts +4 -0
- package/dist/CopyCol/index.d.ts.map +1 -0
- package/dist/Entry/EntryCriteria.d.ts +17 -0
- package/dist/Entry/EntryCriteria.d.ts.map +1 -0
- package/dist/Entry/EntryItem.d.ts +34 -0
- package/dist/Entry/EntryItem.d.ts.map +1 -0
- package/dist/Entry/components/Checkbox.d.ts +12 -0
- package/dist/Entry/components/Checkbox.d.ts.map +1 -0
- package/dist/Entry/components/ChooseModalTable.d.ts +15 -0
- package/dist/Entry/components/ChooseModalTable.d.ts.map +1 -0
- package/dist/Entry/components/ChooseModalTable.js +6 -6
- package/dist/Entry/components/Condition.d.ts +9 -0
- package/dist/Entry/components/Condition.d.ts.map +1 -0
- package/dist/Entry/components/DatePicker.d.ts +12 -0
- package/dist/Entry/components/DatePicker.d.ts.map +1 -0
- package/dist/Entry/components/Etable2Modal.d.ts +4 -0
- package/dist/Entry/components/Etable2Modal.d.ts.map +1 -0
- package/dist/Entry/components/Express.d.ts +8 -0
- package/dist/Entry/components/Express.d.ts.map +1 -0
- package/dist/Entry/components/GroupInput.d.ts +13 -0
- package/dist/Entry/components/GroupInput.d.ts.map +1 -0
- package/dist/Entry/components/ImageText.d.ts +13 -0
- package/dist/Entry/components/ImageText.d.ts.map +1 -0
- package/dist/Entry/components/ImageText.js +5 -5
- package/dist/Entry/components/Input.d.ts +27 -0
- package/dist/Entry/components/Input.d.ts.map +1 -0
- package/dist/Entry/components/InputNumber.d.ts +18 -0
- package/dist/Entry/components/InputNumber.d.ts.map +1 -0
- package/dist/Entry/components/InputNumber.js +10 -10
- package/dist/Entry/components/InputNumberRange.d.ts +10 -0
- package/dist/Entry/components/InputNumberRange.d.ts.map +1 -0
- package/dist/Entry/components/ListSelect.d.ts +15 -0
- package/dist/Entry/components/ListSelect.d.ts.map +1 -0
- package/dist/Entry/components/ListSelect.js +6 -6
- package/dist/Entry/components/ObjectSelect.d.ts +14 -0
- package/dist/Entry/components/ObjectSelect.d.ts.map +1 -0
- package/dist/Entry/components/ObjectSelect.js +5 -5
- package/dist/Entry/components/Progress.d.ts +11 -0
- package/dist/Entry/components/Progress.d.ts.map +1 -0
- package/dist/Entry/components/Radio.d.ts +15 -0
- package/dist/Entry/components/Radio.d.ts.map +1 -0
- package/dist/Entry/components/Select.d.ts +29 -0
- package/dist/Entry/components/Select.d.ts.map +1 -0
- package/dist/Entry/components/Select.js +5 -5
- package/dist/Entry/components/Switch.d.ts +6 -0
- package/dist/Entry/components/Switch.d.ts.map +1 -0
- package/dist/Entry/components/TagsDatePicker.d.ts +7 -0
- package/dist/Entry/components/TagsDatePicker.d.ts.map +1 -0
- package/dist/Entry/components/TagsDatePicker.js +6 -6
- package/dist/Entry/components/TimePicker.d.ts +6 -0
- package/dist/Entry/components/TimePicker.d.ts.map +1 -0
- package/dist/Entry/components/TreeSelect.d.ts +5 -0
- package/dist/Entry/components/TreeSelect.d.ts.map +1 -0
- package/dist/Entry/components/TreeSelect.js +5 -5
- package/dist/Entry/components/index.scss +97 -97
- package/dist/Entry/components/utils.d.ts +1 -0
- package/dist/Entry/components/utils.d.ts.map +1 -0
- package/dist/Entry/components/utils.js +5 -5
- package/dist/Entry/data.d.ts +133 -133
- package/dist/Entry/index.d.ts +54 -0
- package/dist/Entry/index.d.ts.map +1 -0
- package/dist/Entry/index.js +6 -6
- package/dist/FilterPopover/Filter.d.ts +30 -0
- package/dist/FilterPopover/Filter.d.ts.map +1 -0
- package/dist/FilterPopover/FilterClearIcon.d.ts +8 -0
- package/dist/FilterPopover/FilterClearIcon.d.ts.map +1 -0
- package/dist/FilterPopover/FilterClearIcon.js +6 -6
- package/dist/FilterPopover/index.d.ts +21 -0
- package/dist/FilterPopover/index.d.ts.map +1 -0
- package/dist/FilterPopover/index.js +6 -6
- package/dist/FilterPopover/vTableFilter.d.ts +25 -0
- package/dist/FilterPopover/vTableFilter.d.ts.map +1 -0
- package/dist/Icon/IconCreate.d.ts +11 -0
- package/dist/Icon/IconCreate.d.ts.map +1 -0
- package/dist/Icon/index.d.ts +6 -0
- package/dist/Icon/index.d.ts.map +1 -0
- package/dist/Icon/index.js +5 -5
- package/dist/IconTools/index.d.ts +13 -0
- package/dist/IconTools/index.d.ts.map +1 -0
- package/dist/IconTools/utils.d.ts +15 -0
- package/dist/IconTools/utils.d.ts.map +1 -0
- package/dist/IconTools/utils.js +5 -5
- package/dist/SubtotalsModal/Increment.d.ts +18 -0
- package/dist/SubtotalsModal/Increment.d.ts.map +1 -0
- package/dist/SubtotalsModal/addSubtotals.d.ts +22 -0
- package/dist/SubtotalsModal/addSubtotals.d.ts.map +1 -0
- package/dist/SubtotalsModal/dndQuota.d.ts +27 -0
- package/dist/SubtotalsModal/dndQuota.d.ts.map +1 -0
- package/dist/SubtotalsModal/index.d.ts +22 -0
- package/dist/SubtotalsModal/index.d.ts.map +1 -0
- package/dist/SubtotalsModal/index.js +7 -7
- package/dist/SubtotalsModal/subtotalTemplate.d.ts +22 -0
- package/dist/SubtotalsModal/subtotalTemplate.d.ts.map +1 -0
- package/dist/SubtotalsModal/subtotalTemplate.js +46 -19
- package/dist/SubtotalsModal/util.d.ts +3 -0
- package/dist/SubtotalsModal/util.d.ts.map +1 -0
- package/dist/SubtotalsModal/viewSubtotals.d.ts +12 -0
- package/dist/SubtotalsModal/viewSubtotals.d.ts.map +1 -0
- package/dist/TableHeaderConfigPopover/Dustbin.d.ts +5 -0
- package/dist/TableHeaderConfigPopover/Dustbin.d.ts.map +1 -0
- package/dist/TableHeaderConfigPopover/index.d.ts +22 -0
- package/dist/TableHeaderConfigPopover/index.d.ts.map +1 -0
- package/dist/TableHeaderConfigPopover/index.js +11 -8
- package/dist/TableHeaderConfigPopover/updateColumns.d.ts +10 -0
- package/dist/TableHeaderConfigPopover/updateColumns.d.ts.map +1 -0
- package/dist/TableHeaderConfigPopover/updateColumns.js +5 -5
- package/dist/TableHeaderConfigPopover/utils.d.ts +16 -0
- package/dist/TableHeaderConfigPopover/utils.d.ts.map +1 -0
- package/dist/TableHeaderConfigPopover/utils.js +5 -5
- package/dist/WidgetConfig/index.d.ts +40 -0
- package/dist/WidgetConfig/index.d.ts.map +1 -0
- package/dist/WidgetConfig/index.js +8 -8
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/test/index.d.ts +4 -0
- package/dist/test/index.d.ts.map +1 -0
- package/dist/umd/ns-base-module.min.css +1 -1
- package/dist/umd/ns-base-module.min.js +1 -1
- package/dist/utils/cache.d.ts +17 -0
- package/dist/utils/cache.d.ts.map +1 -0
- package/dist/utils/cache.js +10 -10
- package/dist/utils/enum.d.ts +22 -0
- package/dist/utils/enum.d.ts.map +1 -0
- package/dist/utils/errorMsg.d.ts +3 -0
- package/dist/utils/errorMsg.d.ts.map +1 -0
- package/dist/utils/language.d.ts +283 -0
- package/dist/utils/language.d.ts.map +1 -0
- package/dist/utils/request.d.ts +1 -0
- package/dist/utils/request.d.ts.map +1 -0
- package/dist/utils/services/global.d.ts +130 -0
- package/dist/utils/services/global.d.ts.map +1 -0
- package/dist/utils/services/global.js +49 -49
- package/dist/utils/utils.d.ts +111 -0
- package/dist/utils/utils.d.ts.map +1 -0
- package/dist/utils/utils.js +50 -50
- package/package.json +100 -100
- package/style/basics.scss +671 -671
- package/style/components/ClassFilter.scss +74 -74
- package/style/components/FilterPopover.scss +40 -40
- package/style/components/SubtotalsModal.scss +388 -388
- package/style/components/TableHeaderConfigPopover.scss +105 -105
- package/style/components/index.scss +4 -4
- package/style/default.scss +1219 -1219
- package/style/index.scss +1 -1
- package/style/mixins/index.scss +28 -28
- package/style/mixins/libs/tint.scss +23 -23
- package/style/variables.scss +684 -684
- package/types/Action.d.ts +43 -43
- package/types/types.d.ts +1 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 735249091@qq.com
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 735249091@qq.com
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
* @Date: 2023-03-07 18:49:37
|
|
3
|
-
* @description:
|
|
4
|
-
* @author chenchangfu
|
|
5
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
6
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
7
|
-
-->
|
|
8
|
-
|
|
9
|
-
# ns-base-module
|
|
10
|
-
|
|
11
|
-
项目基础依赖包
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
npm unlink
|
|
15
|
-
npm run build:watch
|
|
16
|
-
yarn link // npm link 经常丢链接
|
|
17
|
-
|
|
18
|
-
在需要引入的项目中ns-rams-ui运行:
|
|
19
|
-
yarn link ns-base-module
|
|
20
|
-
```
|
|
1
|
+
<!--
|
|
2
|
+
* @Date: 2023-03-07 18:49:37
|
|
3
|
+
* @description:
|
|
4
|
+
* @author chenchangfu
|
|
5
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
6
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
# ns-base-module
|
|
10
|
+
|
|
11
|
+
项目基础依赖包
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
npm unlink
|
|
15
|
+
npm run build:watch
|
|
16
|
+
yarn link // npm link 经常丢链接
|
|
17
|
+
|
|
18
|
+
在需要引入的项目中ns-rams-ui运行:
|
|
19
|
+
yarn link ns-base-module
|
|
20
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* icon 为antd4版本的icon
|
|
3
|
+
*/
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import type { ButtonProps } from 'antd';
|
|
6
|
+
interface IconButtonProps extends Omit<ButtonProps, 'icon'> {
|
|
7
|
+
icon?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const IconButton: React.FC<IconButtonProps>;
|
|
10
|
+
export default IconButton;
|
|
11
|
+
//# sourceMappingURL=AntdIconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AntdIconButton.d.ts","sourceRoot":"","sources":["AntdIconButton.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAIxC,UAAU,eAAgB,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAQzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -2,8 +2,8 @@ var _excluded = ["icon"];
|
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
4
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
|
-
/**
|
|
6
|
-
* icon 为antd4版本的icon
|
|
5
|
+
/**
|
|
6
|
+
* icon 为antd4版本的icon
|
|
7
7
|
*/
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { Button } from 'antd';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 根据配置渲染的按钮
|
|
3
|
+
* @param button 按钮配置
|
|
4
|
+
* @param loading 加载状态
|
|
5
|
+
* @param selectedRowKeys 勾选key组(列表的勾选key组)
|
|
6
|
+
* @param onClick 按钮点击事件
|
|
7
|
+
*/
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import type { ButtonsType } from '@/components/v2/ButtonGroup';
|
|
10
|
+
interface ConfigButtonProps {
|
|
11
|
+
button: ButtonsType;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
selectedRowKeys?: any[];
|
|
14
|
+
onClick: (button: ButtonsType) => void;
|
|
15
|
+
}
|
|
16
|
+
declare const ConfigButton: React.FC<ConfigButtonProps>;
|
|
17
|
+
export default ConfigButton;
|
|
18
|
+
//# sourceMappingURL=ConfigButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigButton.d.ts","sourceRoot":"","sources":["ConfigButton.tsx"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,UAAU,iBAAiB;IACzB,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC;IACxB,OAAO,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CACxC;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiD7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -5,19 +5,19 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
/*
|
|
9
|
-
* @Date: 2023-04-07 10:27:41
|
|
10
|
-
* @description:
|
|
11
|
-
* @author chenchangfu
|
|
12
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
13
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
8
|
+
/*
|
|
9
|
+
* @Date: 2023-04-07 10:27:41
|
|
10
|
+
* @description:
|
|
11
|
+
* @author chenchangfu
|
|
12
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
13
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
14
14
|
*/
|
|
15
|
-
/**
|
|
16
|
-
* 根据配置渲染的按钮
|
|
17
|
-
* @param button 按钮配置
|
|
18
|
-
* @param loading 加载状态
|
|
19
|
-
* @param selectedRowKeys 勾选key组(列表的勾选key组)
|
|
20
|
-
* @param onClick 按钮点击事件
|
|
15
|
+
/**
|
|
16
|
+
* 根据配置渲染的按钮
|
|
17
|
+
* @param button 按钮配置
|
|
18
|
+
* @param loading 加载状态
|
|
19
|
+
* @param selectedRowKeys 勾选key组(列表的勾选key组)
|
|
20
|
+
* @param onClick 按钮点击事件
|
|
21
21
|
*/
|
|
22
22
|
import React from 'react';
|
|
23
23
|
import Button from "./AntdIconButton";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ButtonProps } from 'antd';
|
|
3
|
+
import AntdIconButton from './AntdIconButton';
|
|
4
|
+
import ConfigButton from './ConfigButton';
|
|
5
|
+
declare const index: (props: ButtonProps) => React.JSX.Element;
|
|
6
|
+
export default index;
|
|
7
|
+
export { AntdIconButton, ConfigButton };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAIxC,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,QAAA,MAAM,KAAK,UAAW,WAAW,sBAIhC,CAAC;AAEF,eAAe,KAAK,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface ChooseModalProps {
|
|
3
|
+
menuCode?: string;
|
|
4
|
+
formTemplateCode?: string;
|
|
5
|
+
children?: React.ReactElement;
|
|
6
|
+
params?: Record<string, any>;
|
|
7
|
+
width?: string;
|
|
8
|
+
modalType?: "center" | "left" | "right";
|
|
9
|
+
modalNode?: () => React.ReactElement | string;
|
|
10
|
+
footer?: React.ReactElement;
|
|
11
|
+
callbackShow?: (flag: boolean) => void;
|
|
12
|
+
hanldeOk?: () => void;
|
|
13
|
+
showFooter?: boolean;
|
|
14
|
+
destroyOnClose?: boolean;
|
|
15
|
+
title?: string;
|
|
16
|
+
modalProps?: Record<string, any> | null;
|
|
17
|
+
onSelectSubmit?: () => void;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: React.ForwardRefExoticComponent<ChooseModalProps & React.RefAttributes<unknown>>;
|
|
20
|
+
export default _default;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAWzE,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC;IAC9C,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC5B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IAExC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;;AAqJD,wBAAiC"}
|
|
@@ -5,12 +5,12 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
5
5
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
6
6
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
7
7
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
|
-
/*
|
|
9
|
-
* @Date: 2023-05-08 13:49:30
|
|
10
|
-
* @description:
|
|
11
|
-
* @author chenchangfu
|
|
12
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
13
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
8
|
+
/*
|
|
9
|
+
* @Date: 2023-05-08 13:49:30
|
|
10
|
+
* @description:
|
|
11
|
+
* @author chenchangfu
|
|
12
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
13
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
14
14
|
*/
|
|
15
15
|
import { Button, Drawer, Modal, Space } from "antd";
|
|
16
16
|
import React, { forwardRef, useImperativeHandle, useState } from "react";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "../../style/components/ClassFilter.scss";
|
|
3
|
+
export interface IclassFilter {
|
|
4
|
+
classFilter: any[];
|
|
5
|
+
onStatusTag?: (item: Record<string, any>, checkedItems: Record<string, any>[]) => void;
|
|
6
|
+
statusTagItem?: Record<string, any>;
|
|
7
|
+
statusTagCounts?: Record<string, number>;
|
|
8
|
+
}
|
|
9
|
+
declare const Index: ({ classFilter, ...props }: IclassFilter) => React.JSX.Element | null;
|
|
10
|
+
export default Index;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,yCAAyC,CAAC;AAKjD,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,GAAG,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,CACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAChC,IAAI,CAAC;IACV,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1C;AAED,QAAA,MAAM,KAAK,8BAA+B,YAAY,6BAsHrD,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "../../style/components/ClassFilter.scss";
|
|
3
|
+
export interface IclassFilter {
|
|
4
|
+
classFilter: any[];
|
|
5
|
+
onStatusTag?: (item: Record<string, any> | null, checkedItems: Record<string, any>[]) => void;
|
|
6
|
+
statusTagCounts?: Record<string, number>;
|
|
7
|
+
fieldFilterStatus?: Record<string, any>[];
|
|
8
|
+
}
|
|
9
|
+
declare const Index: ({ classFilter, fieldFilterStatus, ...props }: IclassFilter) => React.JSX.Element | null;
|
|
10
|
+
export default Index;
|
|
11
|
+
//# sourceMappingURL=indexVertical.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indexVertical.d.ts","sourceRoot":"","sources":["indexVertical.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,yCAAyC,CAAC;AAKjD,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,GAAG,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,CACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAChC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAChC,IAAI,CAAC;IACV,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;CAC3C;AAED,QAAA,MAAM,KAAK,iDAAkD,YAAY,6BAwDxE,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface IStatusItem {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string[] | number[];
|
|
4
|
+
key: string;
|
|
5
|
+
field: string;
|
|
6
|
+
parent?: IStatusItem;
|
|
7
|
+
}
|
|
8
|
+
export declare type typeFieldFilterCount = {
|
|
9
|
+
code: string;
|
|
10
|
+
fields: Record<string, any>[];
|
|
11
|
+
};
|
|
12
|
+
export declare const getFieldFilterCount: (tree: Record<string, any>[], arr: typeFieldFilterCount[]) => void;
|
|
13
|
+
export declare const adapterFilter: (item: IStatusItem) => Record<string, any>[];
|
|
14
|
+
export declare function checkFilter(e: any): Record<string, any>[];
|
|
15
|
+
export declare function showSlidePanel(config: Record<string, any> | any): "" | "left" | "right";
|
|
16
|
+
export declare function getFitterTree(tree: Record<string, any>[], treeParent?: Record<string, any>): void;
|
|
17
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["util.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAGD,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;CAC/B,CAAC;AA6CF,eAAO,MAAM,mBAAmB,SACxB,OAAO,MAAM,EAAE,GAAG,CAAC,EAAE,OACtB,oBAAoB,EAAE,SAW5B,CAAC;AAGF,eAAO,MAAM,aAAa,SAAU,WAAW,KAAG,OAAO,MAAM,EAAE,GAAG,CAAC,EAMpE,CAAC;AAGF,wBAAgB,WAAW,CAAC,CAAC,KAAA,yBAgB5B;AAGD,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,yBAkB/D;AAGD,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EAC3B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAWjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,QAAA,MAAM,OAAO,oCAAqC,GAAG,sBAmDpD,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EntryType } from './data.d';
|
|
3
|
+
export declare const initialValueEunm: (type: EntryType) => "In" | "Equals" | "Contains" | "BeforeThan" | "Between";
|
|
4
|
+
export declare const entryCriteriaHidden: (type: EntryType, criteriaTypeItems?: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[]) => boolean;
|
|
8
|
+
declare type Props = {
|
|
9
|
+
type?: EntryType;
|
|
10
|
+
criteriaTypeItems?: {
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
declare const EntryCriteria: React.FC<Props>;
|
|
16
|
+
export default EntryCriteria;
|
|
17
|
+
//# sourceMappingURL=EntryCriteria.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntryCriteria.d.ts","sourceRoot":"","sources":["EntryCriteria.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAKrC,eAAO,MAAM,gBAAgB,SAAU,SAAS,4DAyB/C,CAAC;AAEF,eAAO,MAAM,mBAAmB,SACxB,SAAS,sBACK;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,YAgBvD,CAAC;AAEF,aAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,iBAAiB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACxD,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAwFlC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ButtonClickProps } from '@/utils/config';
|
|
3
|
+
import { EntryType } from './data.d';
|
|
4
|
+
import type { ValueEnumType } from './data.d';
|
|
5
|
+
export interface ComponentType {
|
|
6
|
+
type: EntryType;
|
|
7
|
+
valueEnum?: ValueEnumType[];
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
async?: boolean;
|
|
10
|
+
params?: any;
|
|
11
|
+
api?: string;
|
|
12
|
+
changeApi?: string;
|
|
13
|
+
parentKey?: string;
|
|
14
|
+
relationField?: string;
|
|
15
|
+
code?: string;
|
|
16
|
+
menuCode?: string;
|
|
17
|
+
onJump?: ButtonClickProps['onJump'];
|
|
18
|
+
onOpen?: ButtonClickProps['onOpen'];
|
|
19
|
+
onSelectObject?: (values: Record<string, any>, name?: any) => void;
|
|
20
|
+
onSetResult?: (values?: Record<string, any>) => void;
|
|
21
|
+
onCover?: (value: any[]) => void;
|
|
22
|
+
onChangeSearch?: (api: string, values?: Record<string, any>) => void;
|
|
23
|
+
onPlay?: (isSuccess: boolean) => void;
|
|
24
|
+
record?: Record<string, any>;
|
|
25
|
+
dispatch?: any;
|
|
26
|
+
dispatchType?: string;
|
|
27
|
+
onComputeExp?: (e: string | number | null) => void;
|
|
28
|
+
onSetPageResult?: (param: {
|
|
29
|
+
pageChangeApi: string;
|
|
30
|
+
} & Record<string, any>) => void;
|
|
31
|
+
}
|
|
32
|
+
declare const EntryItem: ({ type, valueEnum, src, width, api, changeApi, parentKey, async, params, code, menuCode, relationField, formValues, requestParams, onSelectObject, onJump, onOpen, onSetResult, onCover, onChangeSearch, onPlay, emit, form, record, dispatch, pageChangeApi, label_, onSetPageResult, dispatchType, onComputeExp, ...props }: ComponentType) => React.JSX.Element | null;
|
|
33
|
+
export default EntryItem;
|
|
34
|
+
//# sourceMappingURL=EntryItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntryItem.d.ts","sourceRoot":"","sources":["EntryItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAwCnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AASvD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAoB9C,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,aAAa,EAAE,CAAC;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACpC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACnE,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACrD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IACjC,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACrE,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD,eAAe,CAAC,EAAE,CAChB,KAAK,EAAE;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KACnD,IAAI,CAAkB;CAG5B;AAED,QAAA,MAAM,SAAS,kUAiCZ,aAAa,6BA8nBf,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { CheckboxProps } from 'antd';
|
|
3
|
+
import type { CheckboxGroupProps } from 'antd/lib/checkbox';
|
|
4
|
+
declare const Group: (props: CheckboxGroupProps) => React.JSX.Element;
|
|
5
|
+
declare const index: {
|
|
6
|
+
(props: CheckboxProps): React.JSX.Element;
|
|
7
|
+
Group: (props: CheckboxGroupProps) => React.JSX.Element;
|
|
8
|
+
};
|
|
9
|
+
export default index;
|
|
10
|
+
export type { Group };
|
|
11
|
+
export type { CheckboxProps, CheckboxGroupProps };
|
|
12
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,QAAA,MAAM,KAAK,UAAW,kBAAkB,sBAEvC,CAAC;AAEF,QAAA,MAAM,KAAK;YAAW,aAAa;mBAJb,kBAAkB;CAMvC,CAAC;AAIF,eAAe,KAAK,CAAC;AAErB,YAAY,EAAE,KAAK,EAAE,CAAC;AACtB,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ChooseModalProps } from '@/components/v2/Modal';
|
|
3
|
+
interface ListSelectProps extends ChooseModalProps {
|
|
4
|
+
value?: string;
|
|
5
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
className?: string;
|
|
8
|
+
params?: Record<string, any>;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
clearForm?: () => void;
|
|
11
|
+
templateName?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const ListSelect: React.FC<ListSelectProps>;
|
|
14
|
+
export default ListSelect;
|
|
15
|
+
//# sourceMappingURL=ChooseModalTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChooseModalTable.d.ts","sourceRoot":"","sources":["ChooseModalTable.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAEpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAuW9D,UAAU,eAAgB,SAAQ,gBAAgB;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmHzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -7,12 +7,12 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
8
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
9
9
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
|
-
/*
|
|
11
|
-
* @Date: 2023-05-08 13:49:29
|
|
12
|
-
* @description:
|
|
13
|
-
* @author chenchangfu
|
|
14
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
15
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
10
|
+
/*
|
|
11
|
+
* @Date: 2023-05-08 13:49:29
|
|
12
|
+
* @description:
|
|
13
|
+
* @author chenchangfu
|
|
14
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
15
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
16
16
|
*/
|
|
17
17
|
import React, { useRef } from 'react';
|
|
18
18
|
import { ETable2 } from "../../components/v2/Table";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TagConditionEnum } from '@/utils/enum';
|
|
3
|
+
interface ConditionProps {
|
|
4
|
+
dataType?: 'String' | 'Number';
|
|
5
|
+
type?: TagConditionEnum;
|
|
6
|
+
}
|
|
7
|
+
declare const Condition: React.FC<ConditionProps>;
|
|
8
|
+
export default Condition;
|
|
9
|
+
//# sourceMappingURL=Condition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Condition.d.ts","sourceRoot":"","sources":["Condition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIhD,UAAU,cAAc;IACtB,QAAQ,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC/B,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAqBvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { DatePickerProps } from 'antd';
|
|
3
|
+
import type { RangePickerProps } from 'antd/lib/date-picker';
|
|
4
|
+
declare const DatePickerWrapper: {
|
|
5
|
+
(props: DatePickerProps): React.JSX.Element;
|
|
6
|
+
RangePicker: (props: RangePickerProps) => React.JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
declare const RangePicker: (props: RangePickerProps) => React.JSX.Element;
|
|
9
|
+
export default DatePickerWrapper;
|
|
10
|
+
export { RangePicker };
|
|
11
|
+
export type { RangePickerProps, DatePickerProps };
|
|
12
|
+
//# sourceMappingURL=DatePicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAG5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAI7D,QAAA,MAAM,iBAAiB;YAAW,eAAe;yBAIrB,gBAAgB;CAF3C,CAAC;AAEF,QAAA,MAAM,WAAW,UAAW,gBAAgB,sBAE3C,CAAC;AAIF,eAAe,iBAAiB,CAAC;AAEjC,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Etable2Modal.d.ts","sourceRoot":"","sources":["Etable2Modal.tsx"],"names":[],"mappings":"AA+GA,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EAAE,SAAS,SAAM,EAAE,UAAU,SAAM,UAYtF;;AAED,wBAAgC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ExpressModalProps } from '@/components/v2/Modal';
|
|
3
|
+
interface ExpressProps extends ExpressModalProps {
|
|
4
|
+
style?: React.CSSProperties;
|
|
5
|
+
}
|
|
6
|
+
declare const Express: React.FC<ExpressProps>;
|
|
7
|
+
export default Express;
|
|
8
|
+
//# sourceMappingURL=Express.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Express.d.ts","sourceRoot":"","sources":["Express.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAK/D,UAAU,YAAa,SAAQ,iBAAiB;IAC9C,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAWnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface GroupInputProps {
|
|
3
|
+
label1?: string;
|
|
4
|
+
desc1?: string;
|
|
5
|
+
label2?: string;
|
|
6
|
+
desc2?: string;
|
|
7
|
+
value?: Record<string, any>;
|
|
8
|
+
onChange?: (nextValues?: any) => void;
|
|
9
|
+
onSearch?: () => void;
|
|
10
|
+
}
|
|
11
|
+
declare const GroupInput: React.FC<GroupInputProps>;
|
|
12
|
+
export default GroupInput;
|
|
13
|
+
//# sourceMappingURL=GroupInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupInput.d.ts","sourceRoot":"","sources":["GroupInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAMtC,MAAM,WAAW,eAAe;IAE9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE5B,QAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA6DzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.scss";
|
|
3
|
+
export interface ImageTextProps {
|
|
4
|
+
configs: any[];
|
|
5
|
+
dataSource: any[];
|
|
6
|
+
width?: number;
|
|
7
|
+
colSpan?: number;
|
|
8
|
+
menuCode?: string;
|
|
9
|
+
onReload?: () => void;
|
|
10
|
+
}
|
|
11
|
+
declare const CardWithPage: React.FC<ImageTextProps>;
|
|
12
|
+
export default CardWithPage;
|
|
13
|
+
//# sourceMappingURL=ImageText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageText.d.ts","sourceRoot":"","sources":["ImageText.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA8B,MAAM,OAAO,CAAC;AASnD,OAAO,cAAc,CAAC;AAGtB,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,UAAU,EAAE,GAAG,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAuOD,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAkD1C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -5,11 +5,11 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
8
|
-
/*
|
|
9
|
-
* @description:
|
|
10
|
-
* @author chenchangfu
|
|
11
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
12
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
8
|
+
/*
|
|
9
|
+
* @description:
|
|
10
|
+
* @author chenchangfu
|
|
11
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
12
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
13
13
|
*/
|
|
14
14
|
import { Form, Tooltip } from "antd";
|
|
15
15
|
import React, { useEffect, useState } from "react";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { InputProps } from 'antd';
|
|
3
|
+
import type { TextAreaProps, SearchProps, PasswordProps } from 'antd/lib/input';
|
|
4
|
+
interface InputCellType extends InputProps {
|
|
5
|
+
defaultValue: string;
|
|
6
|
+
onBlur: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
+
}
|
|
8
|
+
declare type TextAreaCellType = {
|
|
9
|
+
defaultValue: string;
|
|
10
|
+
onBlur: (e: any) => void;
|
|
11
|
+
};
|
|
12
|
+
declare const InputWrapper: {
|
|
13
|
+
(props: InputProps): React.JSX.Element;
|
|
14
|
+
TextArea: (props: TextAreaProps) => React.JSX.Element;
|
|
15
|
+
Search: (props: SearchProps) => React.JSX.Element;
|
|
16
|
+
Password: (props: PasswordProps) => React.JSX.Element;
|
|
17
|
+
InputBlur: React.FC<InputCellType>;
|
|
18
|
+
TextAreaBlur: React.FC<TextAreaCellType>;
|
|
19
|
+
};
|
|
20
|
+
declare const TextArea: (props: TextAreaProps) => React.JSX.Element;
|
|
21
|
+
declare const Search: (props: SearchProps) => React.JSX.Element;
|
|
22
|
+
declare const Password: (props: PasswordProps) => React.JSX.Element;
|
|
23
|
+
declare const InputBlur: React.FC<InputCellType>;
|
|
24
|
+
export default InputWrapper;
|
|
25
|
+
export { TextArea, Search, Password, InputBlur };
|
|
26
|
+
export type { InputProps, TextAreaProps };
|
|
27
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEhF,UAAU,aAAc,SAAQ,UAAU;IACxC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC1D;AAED,aAAK,gBAAgB,GAAG;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;CAC1B,CAAC;AAMF,QAAA,MAAM,YAAY;YAAW,UAAU;sBAId,aAAa;oBAIf,WAAW;sBAIT,aAAa;;;CAVrC,CAAC;AAEF,QAAA,MAAM,QAAQ,UAAW,aAAa,sBAErC,CAAC;AAEF,QAAA,MAAM,MAAM,UAAW,WAAW,sBAEjC,CAAC;AAEF,QAAA,MAAM,QAAQ,UAAW,aAAa,sBAErC,CAAC;AAEF,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAYtC,CAAC;AAsBF,eAAe,YAAY,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;AACjD,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { InputNumberProps } from 'antd';
|
|
3
|
+
interface InputCellType extends Omit<InputNumberProps, 'onBlur'> {
|
|
4
|
+
defaultValue: number;
|
|
5
|
+
onBlur: (e: string | number | null) => void;
|
|
6
|
+
roundSave: string;
|
|
7
|
+
}
|
|
8
|
+
declare const InputNumberWrapper: {
|
|
9
|
+
(props: InputNumberProps<import("@rc-component/mini-decimal").ValueType> & {
|
|
10
|
+
onComputeExp: ((e: string | number | null) => void) | undefined;
|
|
11
|
+
}): React.JSX.Element;
|
|
12
|
+
InputNumberBlur: React.FC<InputCellType>;
|
|
13
|
+
};
|
|
14
|
+
declare const InputNumberBlur: React.FC<InputCellType>;
|
|
15
|
+
export default InputNumberWrapper;
|
|
16
|
+
export { InputNumberBlur };
|
|
17
|
+
export type { InputNumberProps };
|
|
18
|
+
//# sourceMappingURL=InputNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputNumber.d.ts","sourceRoot":"","sources":["InputNumber.tsx"],"names":[],"mappings":"AAYA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAG7C,UAAU,aAAc,SAAQ,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC;IAC9D,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC5C,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,kBAAkB;;2BAED,MAAM,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI;;;CAYrD,CAAC;AAEF,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAiE5C,CAAC;AAIF,eAAe,kBAAkB,CAAC;AAElC,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|