ns-base-module 1.1.61 → 1.1.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +20 -20
  3. package/dist/Button/AntdIconButton.js +2 -2
  4. package/dist/Button/ConfigButton.js +12 -12
  5. package/dist/ChooseModal/index.js +6 -6
  6. package/dist/Entry/components/ChooseModalTable.js +6 -6
  7. package/dist/Entry/components/ImageText.js +5 -5
  8. package/dist/Entry/components/InputNumber.js +10 -10
  9. package/dist/Entry/components/ListSelect.js +6 -6
  10. package/dist/Entry/components/ObjectSelect.js +5 -5
  11. package/dist/Entry/components/Select.js +5 -5
  12. package/dist/Entry/components/TagsDatePicker.js +6 -6
  13. package/dist/Entry/components/TreeSelect.js +5 -5
  14. package/dist/Entry/components/index.scss +97 -97
  15. package/dist/Entry/components/utils.js +5 -5
  16. package/dist/Entry/data.d.ts +133 -133
  17. package/dist/Entry/index.js +6 -6
  18. package/dist/FilterPopover/FilterClearIcon.js +6 -6
  19. package/dist/FilterPopover/index.js +6 -6
  20. package/dist/Icon/index.js +5 -5
  21. package/dist/IconTools/utils.js +5 -5
  22. package/dist/SubtotalsModal/index.js +7 -7
  23. package/dist/TableHeaderConfigPopover/index.js +36 -11
  24. package/dist/TableHeaderConfigPopover/updateColumns.js +5 -5
  25. package/dist/TableHeaderConfigPopover/utils.js +5 -5
  26. package/dist/WidgetConfig/index.js +8 -8
  27. package/dist/umd/ns-base-module.min.css +1 -1
  28. package/dist/umd/ns-base-module.min.js +1 -1
  29. package/dist/utils/cache.js +10 -10
  30. package/dist/utils/language.js +1 -0
  31. package/dist/utils/services/global.js +49 -49
  32. package/dist/utils/utils.js +50 -50
  33. package/package.json +100 -100
  34. package/style/basics.scss +671 -671
  35. package/style/components/ClassFilter.scss +74 -74
  36. package/style/components/FilterPopover.scss +40 -40
  37. package/style/components/SubtotalsModal.scss +388 -388
  38. package/style/components/TableHeaderConfigPopover.scss +105 -105
  39. package/style/components/index.scss +4 -4
  40. package/style/default.scss +1219 -1219
  41. package/style/index.scss +1 -1
  42. package/style/mixins/index.scss +28 -28
  43. package/style/mixins/libs/tint.scss +23 -23
  44. package/style/variables.scss +684 -684
  45. package/types/Action.d.ts +43 -43
  46. package/types/types.d.ts +1 -1
  47. package/dist/Button/AntdIconButton.d.ts +0 -11
  48. package/dist/Button/AntdIconButton.d.ts.map +0 -1
  49. package/dist/Button/ConfigButton.d.ts +0 -18
  50. package/dist/Button/ConfigButton.d.ts.map +0 -1
  51. package/dist/Button/index.d.ts +0 -8
  52. package/dist/Button/index.d.ts.map +0 -1
  53. package/dist/ChooseModal/index.d.ts +0 -21
  54. package/dist/ChooseModal/index.d.ts.map +0 -1
  55. package/dist/ClassFilter/index.d.ts +0 -11
  56. package/dist/ClassFilter/index.d.ts.map +0 -1
  57. package/dist/ClassFilter/indexVertical.d.ts +0 -11
  58. package/dist/ClassFilter/indexVertical.d.ts.map +0 -1
  59. package/dist/ClassFilter/util.d.ts +0 -17
  60. package/dist/ClassFilter/util.d.ts.map +0 -1
  61. package/dist/CopyCol/index.d.ts +0 -4
  62. package/dist/CopyCol/index.d.ts.map +0 -1
  63. package/dist/Entry/EntryCriteria.d.ts +0 -17
  64. package/dist/Entry/EntryCriteria.d.ts.map +0 -1
  65. package/dist/Entry/EntryItem.d.ts +0 -34
  66. package/dist/Entry/EntryItem.d.ts.map +0 -1
  67. package/dist/Entry/components/Checkbox.d.ts +0 -12
  68. package/dist/Entry/components/Checkbox.d.ts.map +0 -1
  69. package/dist/Entry/components/ChooseModalTable.d.ts +0 -15
  70. package/dist/Entry/components/ChooseModalTable.d.ts.map +0 -1
  71. package/dist/Entry/components/Condition.d.ts +0 -9
  72. package/dist/Entry/components/Condition.d.ts.map +0 -1
  73. package/dist/Entry/components/DatePicker.d.ts +0 -12
  74. package/dist/Entry/components/DatePicker.d.ts.map +0 -1
  75. package/dist/Entry/components/Etable2Modal.d.ts +0 -4
  76. package/dist/Entry/components/Etable2Modal.d.ts.map +0 -1
  77. package/dist/Entry/components/Express.d.ts +0 -8
  78. package/dist/Entry/components/Express.d.ts.map +0 -1
  79. package/dist/Entry/components/GroupInput.d.ts +0 -13
  80. package/dist/Entry/components/GroupInput.d.ts.map +0 -1
  81. package/dist/Entry/components/ImageText.d.ts +0 -13
  82. package/dist/Entry/components/ImageText.d.ts.map +0 -1
  83. package/dist/Entry/components/Input.d.ts +0 -27
  84. package/dist/Entry/components/Input.d.ts.map +0 -1
  85. package/dist/Entry/components/InputNumber.d.ts +0 -18
  86. package/dist/Entry/components/InputNumber.d.ts.map +0 -1
  87. package/dist/Entry/components/InputNumberRange.d.ts +0 -10
  88. package/dist/Entry/components/InputNumberRange.d.ts.map +0 -1
  89. package/dist/Entry/components/ListSelect.d.ts +0 -15
  90. package/dist/Entry/components/ListSelect.d.ts.map +0 -1
  91. package/dist/Entry/components/ObjectSelect.d.ts +0 -14
  92. package/dist/Entry/components/ObjectSelect.d.ts.map +0 -1
  93. package/dist/Entry/components/Progress.d.ts +0 -11
  94. package/dist/Entry/components/Progress.d.ts.map +0 -1
  95. package/dist/Entry/components/Radio.d.ts +0 -15
  96. package/dist/Entry/components/Radio.d.ts.map +0 -1
  97. package/dist/Entry/components/Select.d.ts +0 -29
  98. package/dist/Entry/components/Select.d.ts.map +0 -1
  99. package/dist/Entry/components/Switch.d.ts +0 -6
  100. package/dist/Entry/components/Switch.d.ts.map +0 -1
  101. package/dist/Entry/components/TagsDatePicker.d.ts +0 -7
  102. package/dist/Entry/components/TagsDatePicker.d.ts.map +0 -1
  103. package/dist/Entry/components/TimePicker.d.ts +0 -6
  104. package/dist/Entry/components/TimePicker.d.ts.map +0 -1
  105. package/dist/Entry/components/TreeSelect.d.ts +0 -5
  106. package/dist/Entry/components/TreeSelect.d.ts.map +0 -1
  107. package/dist/Entry/components/utils.d.ts +0 -1
  108. package/dist/Entry/components/utils.d.ts.map +0 -1
  109. package/dist/Entry/index.d.ts +0 -54
  110. package/dist/Entry/index.d.ts.map +0 -1
  111. package/dist/FilterPopover/Filter.d.ts +0 -30
  112. package/dist/FilterPopover/Filter.d.ts.map +0 -1
  113. package/dist/FilterPopover/FilterClearIcon.d.ts +0 -8
  114. package/dist/FilterPopover/FilterClearIcon.d.ts.map +0 -1
  115. package/dist/FilterPopover/index.d.ts +0 -21
  116. package/dist/FilterPopover/index.d.ts.map +0 -1
  117. package/dist/FilterPopover/vTableFilter.d.ts +0 -25
  118. package/dist/FilterPopover/vTableFilter.d.ts.map +0 -1
  119. package/dist/Icon/IconCreate.d.ts +0 -11
  120. package/dist/Icon/IconCreate.d.ts.map +0 -1
  121. package/dist/Icon/index.d.ts +0 -6
  122. package/dist/Icon/index.d.ts.map +0 -1
  123. package/dist/IconTools/index.d.ts +0 -13
  124. package/dist/IconTools/index.d.ts.map +0 -1
  125. package/dist/IconTools/utils.d.ts +0 -15
  126. package/dist/IconTools/utils.d.ts.map +0 -1
  127. package/dist/SubtotalsModal/Increment.d.ts +0 -18
  128. package/dist/SubtotalsModal/Increment.d.ts.map +0 -1
  129. package/dist/SubtotalsModal/addSubtotals.d.ts +0 -22
  130. package/dist/SubtotalsModal/addSubtotals.d.ts.map +0 -1
  131. package/dist/SubtotalsModal/dndQuota.d.ts +0 -27
  132. package/dist/SubtotalsModal/dndQuota.d.ts.map +0 -1
  133. package/dist/SubtotalsModal/index.d.ts +0 -22
  134. package/dist/SubtotalsModal/index.d.ts.map +0 -1
  135. package/dist/SubtotalsModal/subtotalTemplate.d.ts +0 -22
  136. package/dist/SubtotalsModal/subtotalTemplate.d.ts.map +0 -1
  137. package/dist/SubtotalsModal/util.d.ts +0 -3
  138. package/dist/SubtotalsModal/util.d.ts.map +0 -1
  139. package/dist/SubtotalsModal/viewSubtotals.d.ts +0 -12
  140. package/dist/SubtotalsModal/viewSubtotals.d.ts.map +0 -1
  141. package/dist/TableHeaderConfigPopover/Dustbin.d.ts +0 -5
  142. package/dist/TableHeaderConfigPopover/Dustbin.d.ts.map +0 -1
  143. package/dist/TableHeaderConfigPopover/index.d.ts +0 -22
  144. package/dist/TableHeaderConfigPopover/index.d.ts.map +0 -1
  145. package/dist/TableHeaderConfigPopover/updateColumns.d.ts +0 -10
  146. package/dist/TableHeaderConfigPopover/updateColumns.d.ts.map +0 -1
  147. package/dist/TableHeaderConfigPopover/utils.d.ts +0 -16
  148. package/dist/TableHeaderConfigPopover/utils.d.ts.map +0 -1
  149. package/dist/WidgetConfig/index.d.ts +0 -40
  150. package/dist/WidgetConfig/index.d.ts.map +0 -1
  151. package/dist/index.d.ts +0 -6
  152. package/dist/index.d.ts.map +0 -1
  153. package/dist/test/index.d.ts +0 -4
  154. package/dist/test/index.d.ts.map +0 -1
  155. package/dist/utils/cache.d.ts +0 -17
  156. package/dist/utils/cache.d.ts.map +0 -1
  157. package/dist/utils/enum.d.ts +0 -22
  158. package/dist/utils/enum.d.ts.map +0 -1
  159. package/dist/utils/errorMsg.d.ts +0 -3
  160. package/dist/utils/errorMsg.d.ts.map +0 -1
  161. package/dist/utils/language.d.ts +0 -283
  162. package/dist/utils/language.d.ts.map +0 -1
  163. package/dist/utils/request.d.ts +0 -1
  164. package/dist/utils/request.d.ts.map +0 -1
  165. package/dist/utils/services/global.d.ts +0 -130
  166. package/dist/utils/services/global.d.ts.map +0 -1
  167. package/dist/utils/utils.d.ts +0 -111
  168. package/dist/utils/utils.d.ts.map +0 -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
+ ```
@@ -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';
@@ -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";
@@ -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";
@@ -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";
@@ -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";
@@ -8,17 +8,17 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
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
10
  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); }
11
- /*
12
- * @description:
13
- * @author chenchangfu
14
- * Copyright (c) 2019, AUTHOR. All rights reserved.
15
- * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
11
+ /*
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
- /*
18
- * @description:
19
- * @author chenchangfu
20
- * Copyright (c) 2019, AUTHOR. All rights reserved.
21
- * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
17
+ /*
18
+ * @description:
19
+ * @author chenchangfu
20
+ * Copyright (c) 2019, AUTHOR. All rights reserved.
21
+ * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
22
22
  */
23
23
  import React, { useState, useEffect } from 'react';
24
24
  import { InputNumber } from 'antd';
@@ -8,12 +8,12 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
8
8
  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); }
9
9
  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; }
10
10
  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; }
11
- /*
12
- * @Date: 2023-05-08 13:49:29
13
- * @description:
14
- * @author chenchangfu
15
- * Copyright (c) 2019, AUTHOR. All rights reserved.
16
- * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
11
+ /*
12
+ * @Date: 2023-05-08 13:49:29
13
+ * @description:
14
+ * @author chenchangfu
15
+ * Copyright (c) 2019, AUTHOR. All rights reserved.
16
+ * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
17
17
  */
18
18
  import React, { useRef } from 'react';
19
19
  import Input from "./Input";
@@ -10,11 +10,11 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
10
10
  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); }
11
11
  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; }
12
12
  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; }
13
- /*
14
- * @description:
15
- * @author chenchangfu
16
- * Copyright (c) 2019, AUTHOR. All rights reserved.
17
- * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
13
+ /*
14
+ * @description:
15
+ * @author chenchangfu
16
+ * Copyright (c) 2019, AUTHOR. All rights reserved.
17
+ * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
18
18
  */
19
19
  import React, { useEffect, useRef } from 'react';
20
20
  import Select from "./Select";
@@ -9,11 +9,11 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
9
9
  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; }
10
10
  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; } }
11
11
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
- /*
13
- * @description:
14
- * @author chenchangfu
15
- * Copyright (c) 2019, AUTHOR. All rights reserved.
16
- * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
12
+ /*
13
+ * @description:
14
+ * @author chenchangfu
15
+ * Copyright (c) 2019, AUTHOR. All rights reserved.
16
+ * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
17
17
  */
18
18
  import React, { useCallback, useEffect, useState } from 'react';
19
19
  import { Select } from 'antd';
@@ -13,12 +13,12 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
13
13
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
14
  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; }
15
15
  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; }
16
- /*
17
- * @Date: 2023-06-12 18:56:06
18
- * @description:
19
- * @author chenchangfu
20
- * Copyright (c) 2019, AUTHOR. All rights reserved.
21
- * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
16
+ /*
17
+ * @Date: 2023-06-12 18:56:06
18
+ * @description:
19
+ * @author chenchangfu
20
+ * Copyright (c) 2019, AUTHOR. All rights reserved.
21
+ * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
22
22
  */
23
23
  import React, { useCallback, useEffect, useState, useRef } from 'react';
24
24
  import { DatePicker, Space, Select, Row, Col, Radio } from 'antd';
@@ -5,11 +5,11 @@ 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
- * @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
 
15
15
  import { TreeSelect } from "antd";
@@ -1,97 +1,97 @@
1
- .image-text {
2
- display: flex;
3
- flex-wrap: wrap;
4
- // flex-direction: row-reverse;
5
- flex-wrap: wrap-reverse;
6
- justify-content: flex-start;
7
- .ant-form-item {
8
- margin-bottom: 10px;
9
- }
10
- .ant-col {
11
- // &:hover {
12
- // background-color: #eee;
13
- // cursor: pointer;
14
- // }
15
- // &:first-child {
16
- // .card-list-item {
17
- // border-top: 1px solid #cacaca99;
18
- // }
19
- // }
20
- }
21
-
22
- .card-list-item {
23
- display: flex;
24
- width: 230px;
25
- // border-bottom: 1px solid #cacaca99;
26
- margin-bottom: 15px;
27
- margin-left: 24px;
28
-
29
- .item-img {
30
- width: 100px;
31
- min-width: 100px;
32
- height: 100px;
33
- margin: auto;
34
- margin-right: 10px;
35
- overflow: hidden;
36
- // background: #eee;
37
- background-color: #fff;
38
- background-repeat: no-repeat;
39
- background-position: center;
40
- background-size: contain;
41
- img {
42
- display: block;
43
- max-width: 100%;
44
- max-height: 100%;
45
- margin: auto;
46
- }
47
- }
48
- .stepsItem {
49
- margin-top: 20px;
50
- margin-bottom: 35px;
51
- padding-left: 34px;
52
- }
53
- .item-desc {
54
- flex: 1;
55
- margin: auto;
56
- text-align: left;
57
-
58
- .item-body {
59
- display: inline-block;
60
- align-items: center;
61
- vertical-align: middle;
62
- }
63
- .ant-form-item-label > label {
64
- height: 20px;
65
- }
66
- .ant-form-item-control-input {
67
- min-height: 20px;
68
- }
69
- p {
70
- width: 100%;
71
- margin-bottom: 8px;
72
- overflow: hidden;
73
- text-overflow: ellipsis;
74
- overflow-wrap: break-word;
75
- }
76
- }
77
-
78
- &.horizontal {
79
- display: flex;
80
- // margin-top: 10px;
81
- // margin-bottom: 10px;
82
- // flex: 1;
83
- .item-desc {
84
- flex: 1;
85
- padding: 24px 10px 10px 10px;
86
- overflow: hidden;
87
- text-align: left;
88
- }
89
- }
90
- &.vertical {
91
- margin-left: 0;
92
- .item-img {
93
- margin-right: auto;
94
- }
95
- }
96
- }
97
- }
1
+ .image-text {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ // flex-direction: row-reverse;
5
+ flex-wrap: wrap-reverse;
6
+ justify-content: flex-start;
7
+ .ant-form-item {
8
+ margin-bottom: 10px;
9
+ }
10
+ .ant-col {
11
+ // &:hover {
12
+ // background-color: #eee;
13
+ // cursor: pointer;
14
+ // }
15
+ // &:first-child {
16
+ // .card-list-item {
17
+ // border-top: 1px solid #cacaca99;
18
+ // }
19
+ // }
20
+ }
21
+
22
+ .card-list-item {
23
+ display: flex;
24
+ width: 230px;
25
+ // border-bottom: 1px solid #cacaca99;
26
+ margin-bottom: 15px;
27
+ margin-left: 24px;
28
+
29
+ .item-img {
30
+ width: 100px;
31
+ min-width: 100px;
32
+ height: 100px;
33
+ margin: auto;
34
+ margin-right: 10px;
35
+ overflow: hidden;
36
+ // background: #eee;
37
+ background-color: #fff;
38
+ background-repeat: no-repeat;
39
+ background-position: center;
40
+ background-size: contain;
41
+ img {
42
+ display: block;
43
+ max-width: 100%;
44
+ max-height: 100%;
45
+ margin: auto;
46
+ }
47
+ }
48
+ .stepsItem {
49
+ margin-top: 20px;
50
+ margin-bottom: 35px;
51
+ padding-left: 34px;
52
+ }
53
+ .item-desc {
54
+ flex: 1;
55
+ margin: auto;
56
+ text-align: left;
57
+
58
+ .item-body {
59
+ display: inline-block;
60
+ align-items: center;
61
+ vertical-align: middle;
62
+ }
63
+ .ant-form-item-label > label {
64
+ height: 20px;
65
+ }
66
+ .ant-form-item-control-input {
67
+ min-height: 20px;
68
+ }
69
+ p {
70
+ width: 100%;
71
+ margin-bottom: 8px;
72
+ overflow: hidden;
73
+ text-overflow: ellipsis;
74
+ overflow-wrap: break-word;
75
+ }
76
+ }
77
+
78
+ &.horizontal {
79
+ display: flex;
80
+ // margin-top: 10px;
81
+ // margin-bottom: 10px;
82
+ // flex: 1;
83
+ .item-desc {
84
+ flex: 1;
85
+ padding: 24px 10px 10px 10px;
86
+ overflow: hidden;
87
+ text-align: left;
88
+ }
89
+ }
90
+ &.vertical {
91
+ margin-left: 0;
92
+ .item-img {
93
+ margin-right: auto;
94
+ }
95
+ }
96
+ }
97
+ }
@@ -1,6 +1,6 @@
1
- /*
2
- * @description:
3
- * @author chenchangfu
4
- * Copyright (c) 2019, AUTHOR. All rights reserved.
5
- * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
1
+ /*
2
+ * @description:
3
+ * @author chenchangfu
4
+ * Copyright (c) 2019, AUTHOR. All rights reserved.
5
+ * AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6
6
  */