@vtx/components 3.1.67 → 3.1.69

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 (291) hide show
  1. package/lib/_util/filterSpecialCharacters.js +44 -55
  2. package/lib/_util/filterSpecialCharacters.js.map +1 -1
  3. package/lib/_util/getComponentProps.js +4 -1
  4. package/lib/_util/getComponentProps.js.map +1 -1
  5. package/lib/_util/getUrlParam.js +8 -1
  6. package/lib/_util/getUrlParam.js.map +1 -1
  7. package/lib/_util/isFunction.js +1 -0
  8. package/lib/_util/isFunction.js.map +1 -1
  9. package/lib/_util/isObject.js +1 -0
  10. package/lib/_util/isObject.js.map +1 -1
  11. package/lib/_util/useColSize.js +12 -2
  12. package/lib/_util/useColSize.js.map +1 -1
  13. package/lib/_util/useInterval.js +3 -0
  14. package/lib/_util/useInterval.js.map +1 -1
  15. package/lib/_util/useSet.js +39 -23
  16. package/lib/_util/useSet.js.map +1 -1
  17. package/lib/config.js +2 -1
  18. package/lib/config.js.map +1 -1
  19. package/lib/index.js +27 -0
  20. package/lib/index.js.map +1 -1
  21. package/lib/style/index.less +2 -2
  22. package/lib/style/themes/compact.less +1 -1
  23. package/lib/style/themes/dark.less +9 -9
  24. package/lib/style/themes/default.less +7 -7
  25. package/lib/style/themes/index.less +1 -1
  26. package/lib/style/themes/variable.less +5 -5
  27. package/lib/vtx-color-picker/index.js +26 -9
  28. package/lib/vtx-color-picker/index.js.map +1 -1
  29. package/lib/vtx-color-picker/style/css.js +2 -0
  30. package/lib/vtx-color-picker/style/css.js.map +1 -1
  31. package/lib/vtx-color-picker/style/index.js +2 -0
  32. package/lib/vtx-color-picker/style/index.js.map +1 -1
  33. package/lib/vtx-combogrid/Combogrid.js +87 -47
  34. package/lib/vtx-combogrid/Combogrid.js.map +1 -1
  35. package/lib/vtx-combogrid/index.js +54 -28
  36. package/lib/vtx-combogrid/index.js.map +1 -1
  37. package/lib/vtx-combogrid/style/css.js +7 -0
  38. package/lib/vtx-combogrid/style/css.js.map +1 -1
  39. package/lib/vtx-combogrid/style/index.js +7 -0
  40. package/lib/vtx-combogrid/style/index.js.map +1 -1
  41. package/lib/vtx-datagrid/Alert.js +13 -4
  42. package/lib/vtx-datagrid/Alert.js.map +1 -1
  43. package/lib/vtx-datagrid/ColumnSetting.js +74 -38
  44. package/lib/vtx-datagrid/ColumnSetting.js.map +1 -1
  45. package/lib/vtx-datagrid/ResizeableTitle.js +15 -3
  46. package/lib/vtx-datagrid/ResizeableTitle.js.map +1 -1
  47. package/lib/vtx-datagrid/index.js +169 -100
  48. package/lib/vtx-datagrid/index.js.map +1 -1
  49. package/lib/vtx-datagrid/renderColumnButtons.js +38 -7
  50. package/lib/vtx-datagrid/renderColumnButtons.js.map +1 -1
  51. package/lib/vtx-datagrid/style/css.js +10 -0
  52. package/lib/vtx-datagrid/style/css.js.map +1 -1
  53. package/lib/vtx-datagrid/style/index.css +1 -0
  54. package/lib/vtx-datagrid/style/index.js +10 -0
  55. package/lib/vtx-datagrid/style/index.js.map +1 -1
  56. package/lib/vtx-datagrid/style/index.less +1 -0
  57. package/lib/vtx-date-picker/QdatePicker.js +51 -21
  58. package/lib/vtx-date-picker/QdatePicker.js.map +1 -1
  59. package/lib/vtx-date-picker/generatePicker.js +65 -24
  60. package/lib/vtx-date-picker/generatePicker.js.map +1 -1
  61. package/lib/vtx-date-picker/index.js +7 -1
  62. package/lib/vtx-date-picker/index.js.map +1 -1
  63. package/lib/vtx-date-picker/style/css.js +1 -0
  64. package/lib/vtx-date-picker/style/css.js.map +1 -1
  65. package/lib/vtx-date-picker/style/index.js +1 -0
  66. package/lib/vtx-date-picker/style/index.js.map +1 -1
  67. package/lib/vtx-date-picker/style/index.less +39 -39
  68. package/lib/vtx-editor/index.js +28 -9
  69. package/lib/vtx-editor/index.js.map +1 -1
  70. package/lib/vtx-editor/style/css.js +1 -0
  71. package/lib/vtx-editor/style/css.js.map +1 -1
  72. package/lib/vtx-editor/style/index.js +1 -0
  73. package/lib/vtx-editor/style/index.js.map +1 -1
  74. package/lib/vtx-editor/style/index.less +8 -8
  75. package/lib/vtx-ellipsis-text/index.js +27 -14
  76. package/lib/vtx-ellipsis-text/index.js.map +1 -1
  77. package/lib/vtx-ellipsis-text/style/css.js +1 -0
  78. package/lib/vtx-ellipsis-text/style/css.js.map +1 -1
  79. package/lib/vtx-ellipsis-text/style/index.js +1 -0
  80. package/lib/vtx-ellipsis-text/style/index.js.map +1 -1
  81. package/lib/vtx-ellipsis-text/style/index.less +13 -13
  82. package/lib/vtx-export/index.js +62 -28
  83. package/lib/vtx-export/index.js.map +1 -1
  84. package/lib/vtx-export/style/css.js +5 -0
  85. package/lib/vtx-export/style/css.js.map +1 -1
  86. package/lib/vtx-export/style/index.js +5 -0
  87. package/lib/vtx-export/style/index.js.map +1 -1
  88. package/lib/vtx-export-async/History.js +93 -56
  89. package/lib/vtx-export-async/History.js.map +1 -1
  90. package/lib/vtx-export-async/index.js +97 -56
  91. package/lib/vtx-export-async/index.js.map +1 -1
  92. package/lib/vtx-export-async/style/css.js.map +1 -1
  93. package/lib/vtx-export-async/style/index.js.map +1 -1
  94. package/lib/vtx-export-async/util.js +14 -3
  95. package/lib/vtx-export-async/util.js.map +1 -1
  96. package/lib/vtx-form-layout/Card.js +33 -11
  97. package/lib/vtx-form-layout/Card.js.map +1 -1
  98. package/lib/vtx-form-layout/Divider.js +11 -5
  99. package/lib/vtx-form-layout/Divider.js.map +1 -1
  100. package/lib/vtx-form-layout/FormItem.js +33 -11
  101. package/lib/vtx-form-layout/FormItem.js.map +1 -1
  102. package/lib/vtx-form-layout/Pane.js +9 -3
  103. package/lib/vtx-form-layout/Pane.js.map +1 -1
  104. package/lib/vtx-form-layout/Row.js +8 -1
  105. package/lib/vtx-form-layout/Row.js.map +1 -1
  106. package/lib/vtx-form-layout/context.js +4 -1
  107. package/lib/vtx-form-layout/context.js.map +1 -1
  108. package/lib/vtx-form-layout/demo/Modal.less +43 -43
  109. package/lib/vtx-form-layout/index.js +24 -9
  110. package/lib/vtx-form-layout/index.js.map +1 -1
  111. package/lib/vtx-form-layout/style/css.js +7 -0
  112. package/lib/vtx-form-layout/style/css.js.map +1 -1
  113. package/lib/vtx-form-layout/style/index.js +7 -0
  114. package/lib/vtx-form-layout/style/index.js.map +1 -1
  115. package/lib/vtx-form-layout/style/index.less +216 -216
  116. package/lib/vtx-image/Image.js +113 -73
  117. package/lib/vtx-image/Image.js.map +1 -1
  118. package/lib/vtx-image/Preview.js +59 -30
  119. package/lib/vtx-image/Preview.js.map +1 -1
  120. package/lib/vtx-image/PreviewGroup.js +47 -17
  121. package/lib/vtx-image/PreviewGroup.js.map +1 -1
  122. package/lib/vtx-image/index.js +11 -4
  123. package/lib/vtx-image/index.js.map +1 -1
  124. package/lib/vtx-image/style/css.js +1 -0
  125. package/lib/vtx-image/style/css.js.map +1 -1
  126. package/lib/vtx-image/style/index.js +1 -0
  127. package/lib/vtx-image/style/index.js.map +1 -1
  128. package/lib/vtx-import/index.js +79 -46
  129. package/lib/vtx-import/index.js.map +1 -1
  130. package/lib/vtx-import/result.js +28 -10
  131. package/lib/vtx-import/result.js.map +1 -1
  132. package/lib/vtx-import/style/css.js +3 -0
  133. package/lib/vtx-import/style/css.js.map +1 -1
  134. package/lib/vtx-import/style/index.js +3 -0
  135. package/lib/vtx-import/style/index.js.map +1 -1
  136. package/lib/vtx-import/style/index.less +8 -8
  137. package/lib/vtx-import2/CheckResult.js +8 -1
  138. package/lib/vtx-import2/CheckResult.js.map +1 -1
  139. package/lib/vtx-import2/Content.js +33 -11
  140. package/lib/vtx-import2/Content.js.map +1 -1
  141. package/lib/vtx-import2/DownloadSvg.js +6 -1
  142. package/lib/vtx-import2/DownloadSvg.js.map +1 -1
  143. package/lib/vtx-import2/ImportResult.js +14 -7
  144. package/lib/vtx-import2/ImportResult.js.map +1 -1
  145. package/lib/vtx-import2/UploadSvg.js +6 -1
  146. package/lib/vtx-import2/UploadSvg.js.map +1 -1
  147. package/lib/vtx-import2/index.js +109 -52
  148. package/lib/vtx-import2/index.js.map +1 -1
  149. package/lib/vtx-import2/style/css.js +3 -0
  150. package/lib/vtx-import2/style/css.js.map +1 -1
  151. package/lib/vtx-import2/style/index.js +3 -0
  152. package/lib/vtx-import2/style/index.js.map +1 -1
  153. package/lib/vtx-import2/style/index.less +102 -102
  154. package/lib/vtx-input/TextArea.js +27 -10
  155. package/lib/vtx-input/TextArea.js.map +1 -1
  156. package/lib/vtx-input/index.js +45 -20
  157. package/lib/vtx-input/index.js.map +1 -1
  158. package/lib/vtx-input/style/css.js +1 -0
  159. package/lib/vtx-input/style/css.js.map +1 -1
  160. package/lib/vtx-input/style/index.js +1 -0
  161. package/lib/vtx-input/style/index.js.map +1 -1
  162. package/lib/vtx-input/style/index.less +24 -24
  163. package/lib/vtx-input/useLength.js +20 -7
  164. package/lib/vtx-input/useLength.js.map +1 -1
  165. package/lib/vtx-modal/Title.js +8 -2
  166. package/lib/vtx-modal/Title.js.map +1 -1
  167. package/lib/vtx-modal/index.js +84 -51
  168. package/lib/vtx-modal/index.js.map +1 -1
  169. package/lib/vtx-modal/style/css.js +1 -0
  170. package/lib/vtx-modal/style/css.js.map +1 -1
  171. package/lib/vtx-modal/style/index.js +1 -0
  172. package/lib/vtx-modal/style/index.js.map +1 -1
  173. package/lib/vtx-page-layout/Basic.js +8 -3
  174. package/lib/vtx-page-layout/Basic.js.map +1 -1
  175. package/lib/vtx-page-layout/Content.js +26 -15
  176. package/lib/vtx-page-layout/Content.js.map +1 -1
  177. package/lib/vtx-page-layout/Pane.js +12 -3
  178. package/lib/vtx-page-layout/Pane.js.map +1 -1
  179. package/lib/vtx-page-layout/TableLayout.js +69 -39
  180. package/lib/vtx-page-layout/TableLayout.js.map +1 -1
  181. package/lib/vtx-page-layout/TableWrap.js +22 -11
  182. package/lib/vtx-page-layout/TableWrap.js.map +1 -1
  183. package/lib/vtx-page-layout/container.js +51 -23
  184. package/lib/vtx-page-layout/container.js.map +1 -1
  185. package/lib/vtx-page-layout/index.js +10 -1
  186. package/lib/vtx-page-layout/index.js.map +1 -1
  187. package/lib/vtx-page-layout/style/css.js.map +1 -1
  188. package/lib/vtx-page-layout/style/index.js.map +1 -1
  189. package/lib/vtx-page-layout/style/index.less +138 -138
  190. package/lib/vtx-rps-frame/index.js +56 -37
  191. package/lib/vtx-rps-frame/index.js.map +1 -1
  192. package/lib/vtx-rps-frame/style/css.js.map +1 -1
  193. package/lib/vtx-rps-frame/style/index.js.map +1 -1
  194. package/lib/vtx-scrollable-row/index.js +64 -30
  195. package/lib/vtx-scrollable-row/index.js.map +1 -1
  196. package/lib/vtx-scrollable-row/style/css.js.map +1 -1
  197. package/lib/vtx-scrollable-row/style/index.js.map +1 -1
  198. package/lib/vtx-scrollable-row/style/index.less +113 -113
  199. package/lib/vtx-search/VtxCol.js +26 -7
  200. package/lib/vtx-search/VtxCol.js.map +1 -1
  201. package/lib/vtx-search/VtxRow.js +14 -7
  202. package/lib/vtx-search/VtxRow.js.map +1 -1
  203. package/lib/vtx-search/index.js +106 -61
  204. package/lib/vtx-search/index.js.map +1 -1
  205. package/lib/vtx-search/style/css.js +4 -0
  206. package/lib/vtx-search/style/css.js.map +1 -1
  207. package/lib/vtx-search/style/index.js +4 -0
  208. package/lib/vtx-search/style/index.js.map +1 -1
  209. package/lib/vtx-search-map-input/index.js +89 -56
  210. package/lib/vtx-search-map-input/index.js.map +1 -1
  211. package/lib/vtx-search-map-input/style/css.js +2 -0
  212. package/lib/vtx-search-map-input/style/css.js.map +1 -1
  213. package/lib/vtx-search-map-input/style/index.js +2 -0
  214. package/lib/vtx-search-map-input/style/index.js.map +1 -1
  215. package/lib/vtx-select/index.js +87 -37
  216. package/lib/vtx-select/index.js.map +1 -1
  217. package/lib/vtx-select/style/css.js +8 -0
  218. package/lib/vtx-select/style/css.js.map +1 -1
  219. package/lib/vtx-select/style/index.js +8 -0
  220. package/lib/vtx-select/style/index.js.map +1 -1
  221. package/lib/vtx-select/style/index.less +68 -68
  222. package/lib/vtx-signature/index.js +33 -18
  223. package/lib/vtx-signature/index.js.map +1 -1
  224. package/lib/vtx-signature/style/css.js +2 -0
  225. package/lib/vtx-signature/style/css.js.map +1 -1
  226. package/lib/vtx-signature/style/index.js +2 -0
  227. package/lib/vtx-signature/style/index.js.map +1 -1
  228. package/lib/vtx-signature/style/index.less +33 -33
  229. package/lib/vtx-split-pane/Pane.js +22 -11
  230. package/lib/vtx-split-pane/Pane.js.map +1 -1
  231. package/lib/vtx-split-pane/Resizer.js +39 -19
  232. package/lib/vtx-split-pane/Resizer.js.map +1 -1
  233. package/lib/vtx-split-pane/SplitPane.js +107 -51
  234. package/lib/vtx-split-pane/SplitPane.js.map +1 -1
  235. package/lib/vtx-split-pane/index.js +6 -1
  236. package/lib/vtx-split-pane/index.js.map +1 -1
  237. package/lib/vtx-split-pane/style/css.js +3 -0
  238. package/lib/vtx-split-pane/style/css.js.map +1 -1
  239. package/lib/vtx-split-pane/style/index.js +3 -0
  240. package/lib/vtx-split-pane/style/index.js.map +1 -1
  241. package/lib/vtx-split-pane/style/index.less +76 -76
  242. package/lib/vtx-statistics-column/Back.js +9 -2
  243. package/lib/vtx-statistics-column/Back.js.map +1 -1
  244. package/lib/vtx-statistics-column/Item.js +30 -14
  245. package/lib/vtx-statistics-column/Item.js.map +1 -1
  246. package/lib/vtx-statistics-column/Total.js +30 -14
  247. package/lib/vtx-statistics-column/Total.js.map +1 -1
  248. package/lib/vtx-statistics-column/context.js +4 -1
  249. package/lib/vtx-statistics-column/context.js.map +1 -1
  250. package/lib/vtx-statistics-column/index.js +18 -1
  251. package/lib/vtx-statistics-column/index.js.map +1 -1
  252. package/lib/vtx-statistics-column/style/css.js.map +1 -1
  253. package/lib/vtx-statistics-column/style/index.js.map +1 -1
  254. package/lib/vtx-statistics-column/style/index.less +59 -59
  255. package/lib/vtx-time-picker/index.js +18 -4
  256. package/lib/vtx-time-picker/index.js.map +1 -1
  257. package/lib/vtx-time-picker/style/css.js.map +1 -1
  258. package/lib/vtx-time-picker/style/index.js.map +1 -1
  259. package/lib/vtx-upload/FilePreview.js +33 -15
  260. package/lib/vtx-upload/FilePreview.js.map +1 -1
  261. package/lib/vtx-upload/index.js +148 -77
  262. package/lib/vtx-upload/index.js.map +1 -1
  263. package/lib/vtx-upload/style/css.js +5 -0
  264. package/lib/vtx-upload/style/css.js.map +1 -1
  265. package/lib/vtx-upload/style/index.js +5 -0
  266. package/lib/vtx-upload/style/index.js.map +1 -1
  267. package/lib/vtx-upload/style/index.less +61 -61
  268. package/lib/vtx-wang-editor/index.js +116 -74
  269. package/lib/vtx-wang-editor/index.js.map +1 -1
  270. package/lib/vtx-wang-editor/style/css.js +1 -0
  271. package/lib/vtx-wang-editor/style/css.js.map +1 -1
  272. package/lib/vtx-wang-editor/style/index.js +1 -0
  273. package/lib/vtx-wang-editor/style/index.js.map +1 -1
  274. package/lib/vtx-wang-editor/style/index.less +12 -12
  275. package/lib/vtx-wang-editor/wangEditorUtil.js +136 -75
  276. package/lib/vtx-wang-editor/wangEditorUtil.js.map +1 -1
  277. package/lib/vtx-ztree/index.js +121 -71
  278. package/lib/vtx-ztree/index.js.map +1 -1
  279. package/lib/vtx-ztree/style/css.js +1 -0
  280. package/lib/vtx-ztree/style/css.js.map +1 -1
  281. package/lib/vtx-ztree/style/index.js +1 -0
  282. package/lib/vtx-ztree/style/index.js.map +1 -1
  283. package/lib/vtx-ztree/style/index.less +45 -45
  284. package/lib/vtx-ztree-select/index.js +142 -73
  285. package/lib/vtx-ztree-select/index.js.map +1 -1
  286. package/lib/vtx-ztree-select/style/css.js +3 -0
  287. package/lib/vtx-ztree-select/style/css.js.map +1 -1
  288. package/lib/vtx-ztree-select/style/index.js +3 -0
  289. package/lib/vtx-ztree-select/style/index.js.map +1 -1
  290. package/lib/vtx-ztree-select/style/index.less +107 -107
  291. package/package.json +126 -126
@@ -4,38 +4,47 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
+
7
8
  var _react = _interopRequireDefault(require("react"));
9
+
8
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
+
9
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
+
10
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
+
11
16
  var Left = function Left(props) {
12
17
  var className = props.className,
13
- style = props.style;
18
+ style = props.style;
14
19
  return /*#__PURE__*/_react["default"].createElement("div", {
15
20
  style: style,
16
21
  className: (0, _classnames["default"])('vtx-table-left', className)
17
22
  }, props.children);
18
23
  };
24
+
19
25
  Left.propTypes = {
20
26
  style: _propTypes["default"].object,
21
27
  className: _propTypes["default"].string,
22
28
  children: _propTypes["default"].node
23
29
  };
30
+
24
31
  var Right = function Right(props) {
25
32
  var className = props.className,
26
- style = props.style;
33
+ style = props.style;
27
34
  return /*#__PURE__*/_react["default"].createElement("div", {
28
35
  style: style,
29
36
  className: (0, _classnames["default"])('vtx-table-right', className)
30
37
  }, props.children);
31
38
  };
39
+
32
40
  Right.propTypes = {
33
41
  style: _propTypes["default"].object,
34
42
  className: _propTypes["default"].string,
35
43
  children: _propTypes["default"].node
36
44
  };
37
- var _default = exports["default"] = {
45
+ var _default = {
38
46
  Left: Left,
39
47
  Right: Right
40
48
  };
49
+ exports["default"] = _default;
41
50
  //# sourceMappingURL=Pane.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pane.js","names":["_react","_interopRequireDefault","require","_propTypes","_classnames","obj","__esModule","Left","props","className","style","createElement","classsnames","children","propTypes","PropTypes","object","string","node","Right","_default","exports"],"sources":["vtx-page-layout/Pane.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classsnames from 'classnames';\n\nconst Left = props => {\n const { className, style } = props;\n\n return (\n <div style={style} className={classsnames('vtx-table-left', className)}>\n {props.children}\n </div>\n );\n};\n\nLeft.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n children: PropTypes.node,\n};\n\nconst Right = props => {\n const { className, style } = props;\n\n return (\n <div style={style} className={classsnames('vtx-table-right', className)}>\n {props.children}\n </div>\n );\n};\n\nRight.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n children: PropTypes.node,\n};\n\nexport default { Left, Right };\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,WAAA,GAAAH,sBAAA,CAAAC,OAAA;AAAqC,SAAAD,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAErC,IAAME,IAAI,GAAG,SAAPA,IAAIA,CAAGC,KAAK,EAAI;EAClB,IAAQC,SAAS,GAAYD,KAAK,CAA1BC,SAAS;IAAEC,KAAK,GAAKF,KAAK,CAAfE,KAAK;EAExB,oBACIV,MAAA,YAAAW,aAAA;IAAKD,KAAK,EAAEA,KAAM;IAACD,SAAS,EAAE,IAAAG,sBAAW,EAAC,gBAAgB,EAAEH,SAAS;EAAE,GAClED,KAAK,CAACK,QACN,CAAC;AAEd,CAAC;AAEDN,IAAI,CAACO,SAAS,GAAG;EACbJ,KAAK,EAAEK,qBAAS,CAACC,MAAM;EACvBP,SAAS,EAAEM,qBAAS,CAACE,MAAM;EAC3BJ,QAAQ,EAAEE,qBAAS,CAACG;AACxB,CAAC;AAED,IAAMC,KAAK,GAAG,SAARA,KAAKA,CAAGX,KAAK,EAAI;EACnB,IAAQC,SAAS,GAAYD,KAAK,CAA1BC,SAAS;IAAEC,KAAK,GAAKF,KAAK,CAAfE,KAAK;EAExB,oBACIV,MAAA,YAAAW,aAAA;IAAKD,KAAK,EAAEA,KAAM;IAACD,SAAS,EAAE,IAAAG,sBAAW,EAAC,iBAAiB,EAAEH,SAAS;EAAE,GACnED,KAAK,CAACK,QACN,CAAC;AAEd,CAAC;AAEDM,KAAK,CAACL,SAAS,GAAG;EACdJ,KAAK,EAAEK,qBAAS,CAACC,MAAM;EACvBP,SAAS,EAAEM,qBAAS,CAACE,MAAM;EAC3BJ,QAAQ,EAAEE,qBAAS,CAACG;AACxB,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEa;EAAEd,IAAI,EAAJA,IAAI;EAAEY,KAAK,EAALA;AAAM,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"Pane.js","names":["Left","props","className","style","classsnames","children","propTypes","PropTypes","object","string","node","Right"],"sources":["vtx-page-layout/Pane.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classsnames from 'classnames';\n\nconst Left = props => {\n const { className, style } = props;\n\n return (\n <div style={style} className={classsnames('vtx-table-left', className)}>\n {props.children}\n </div>\n );\n};\n\nLeft.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n children: PropTypes.node,\n};\n\nconst Right = props => {\n const { className, style } = props;\n\n return (\n <div style={style} className={classsnames('vtx-table-right', className)}>\n {props.children}\n </div>\n );\n};\n\nRight.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n children: PropTypes.node,\n};\n\nexport default { Left, Right };\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;AAEA,IAAMA,IAAI,GAAG,SAAPA,IAAO,CAAAC,KAAK,EAAI;EAClB,IAAQC,SAAR,GAA6BD,KAA7B,CAAQC,SAAR;EAAA,IAAmBC,KAAnB,GAA6BF,KAA7B,CAAmBE,KAAnB;EAEA,oBACI;IAAK,KAAK,EAAEA,KAAZ;IAAmB,SAAS,EAAE,IAAAC,sBAAA,EAAY,gBAAZ,EAA8BF,SAA9B;EAA9B,GACKD,KAAK,CAACI,QADX,CADJ;AAKH,CARD;;AAUAL,IAAI,CAACM,SAAL,GAAiB;EACbH,KAAK,EAAEI,qBAAA,CAAUC,MADJ;EAEbN,SAAS,EAAEK,qBAAA,CAAUE,MAFR;EAGbJ,QAAQ,EAAEE,qBAAA,CAAUG;AAHP,CAAjB;;AAMA,IAAMC,KAAK,GAAG,SAARA,KAAQ,CAAAV,KAAK,EAAI;EACnB,IAAQC,SAAR,GAA6BD,KAA7B,CAAQC,SAAR;EAAA,IAAmBC,KAAnB,GAA6BF,KAA7B,CAAmBE,KAAnB;EAEA,oBACI;IAAK,KAAK,EAAEA,KAAZ;IAAmB,SAAS,EAAE,IAAAC,sBAAA,EAAY,iBAAZ,EAA+BF,SAA/B;EAA9B,GACKD,KAAK,CAACI,QADX,CADJ;AAKH,CARD;;AAUAM,KAAK,CAACL,SAAN,GAAkB;EACdH,KAAK,EAAEI,qBAAA,CAAUC,MADH;EAEdN,SAAS,EAAEK,qBAAA,CAAUE,MAFP;EAGdJ,QAAQ,EAAEE,qBAAA,CAAUG;AAHN,CAAlB;eAMe;EAAEV,IAAI,EAAJA,IAAF;EAAQW,KAAK,EAALA;AAAR,C"}
@@ -1,44 +1,64 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports["default"] = exports.StoreCtx = void 0;
9
+
8
10
  var _react = _interopRequireWildcard(require("react"));
11
+
9
12
  var _propTypes = _interopRequireDefault(require("prop-types"));
13
+
10
14
  var _classnames = _interopRequireDefault(require("classnames"));
15
+
11
16
  var _useEventEmitter = _interopRequireDefault(require("ahooks/es/useEventEmitter"));
17
+
12
18
  var _container = _interopRequireDefault(require("./container"));
19
+
13
20
  var _Basic = _interopRequireDefault(require("./Basic"));
21
+
14
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19
- 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; }
20
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
21
- 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); }
23
+
24
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25
+
26
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
+
28
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
29
+
30
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
31
+
32
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
33
+
22
34
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
35
+
23
36
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
37
+
24
38
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
25
- 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; }
26
- 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; } }
39
+
40
+ 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; }
41
+
42
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
43
+
27
44
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
28
- var StoreCtx = exports.StoreCtx = /*#__PURE__*/(0, _react.createContext)({});
45
+
46
+ var StoreCtx = /*#__PURE__*/(0, _react.createContext)({});
47
+ exports.StoreCtx = StoreCtx;
29
48
  var pagePaddingTop = 16;
30
- var searchMarginBottom = 16;
49
+ var searchMarginBottom = 16; // eslint-disable-next-line valid-jsdoc
31
50
 
32
- // eslint-disable-next-line valid-jsdoc
33
- /**
34
- * 页面
35
- * @param {*} props
51
+ /**
52
+ * 页面
53
+ * @param {*} props
36
54
  */
55
+
37
56
  var Page = function Page(props) {
38
57
  var _useState = (0, _react.useState)(64),
39
- _useState2 = _slicedToArray(_useState, 2),
40
- searchHeight = _useState2[0],
41
- setSearchHeight = _useState2[1];
58
+ _useState2 = _slicedToArray(_useState, 2),
59
+ searchHeight = _useState2[0],
60
+ setSearchHeight = _useState2[1];
61
+
42
62
  var onSearchCollapse = props.onSearchCollapse;
43
63
  var searchCollapseEvent$ = (0, _useEventEmitter["default"])();
44
64
  var store = {
@@ -57,32 +77,35 @@ var Page = function Page(props) {
57
77
  style: props.style
58
78
  }, props.children));
59
79
  };
80
+
60
81
  Page.propTypes = {
61
82
  style: _propTypes["default"].object,
62
83
  className: _propTypes["default"].string,
63
84
  children: _propTypes["default"].node,
64
85
  onSearchCollapse: _propTypes["default"].func
65
86
  };
66
-
67
- /**
68
- * 搜索
87
+ /**
88
+ * 搜索
69
89
  */
90
+
70
91
  var Search = (0, _container["default"])({
71
92
  componentClass: 'vtx-table-search'
72
- })(_Basic["default"]);
93
+ })(_Basic["default"]); // eslint-disable-next-line valid-jsdoc
73
94
 
74
- // eslint-disable-next-line valid-jsdoc
75
- /**
76
- * 内容
77
- * @param {*} props
95
+ /**
96
+ * 内容
97
+ * @param {*} props
78
98
  */
99
+
79
100
  var Content = function Content(props) {
80
101
  var className = props.className,
81
- style = props.style,
82
- _props$plusTop = props.plusTop,
83
- plusTop = _props$plusTop === void 0 ? 0 : _props$plusTop;
102
+ style = props.style,
103
+ _props$plusTop = props.plusTop,
104
+ plusTop = _props$plusTop === void 0 ? 0 : _props$plusTop;
105
+
84
106
  var _useContext = (0, _react.useContext)(StoreCtx),
85
- searchHeight = _useContext.searchHeight;
107
+ searchHeight = _useContext.searchHeight;
108
+
86
109
  return /*#__PURE__*/_react["default"].createElement("div", {
87
110
  className: (0, _classnames["default"])('vtx-table-content', className),
88
111
  style: _objectSpread({
@@ -90,22 +113,25 @@ var Content = function Content(props) {
90
113
  }, style)
91
114
  }, props.children);
92
115
  };
116
+
93
117
  Content.propTypes = {
94
118
  style: _propTypes["default"].object,
95
119
  className: _propTypes["default"].string,
96
120
  children: _propTypes["default"].node,
97
121
  plusTop: _propTypes["default"].number
98
- };
122
+ }; // eslint-disable-next-line valid-jsdoc
99
123
 
100
- // eslint-disable-next-line valid-jsdoc
101
- /**
102
- * 表格布局
124
+ /**
125
+ * 表格布局
103
126
  */
127
+
104
128
  var Table = function Table(props) {
105
129
  var className = props.className,
106
- style = props.style;
130
+ style = props.style;
131
+
107
132
  var _useContext2 = (0, _react.useContext)(StoreCtx),
108
- searchCollapseEvent$ = _useContext2.searchCollapseEvent$;
133
+ searchCollapseEvent$ = _useContext2.searchCollapseEvent$;
134
+
109
135
  return /*#__PURE__*/_react["default"].createElement("div", {
110
136
  className: (0, _classnames["default"])('vtx-table-wrap', className),
111
137
  style: style
@@ -113,29 +139,33 @@ var Table = function Table(props) {
113
139
  searchCollapseEvent$: searchCollapseEvent$
114
140
  })));
115
141
  };
142
+
116
143
  Table.propTypes = {
117
144
  style: _propTypes["default"].object,
118
145
  className: _propTypes["default"].string,
119
146
  children: _propTypes["default"].node
120
147
  };
148
+
121
149
  var Card = function Card(props) {
122
150
  var className = props.className,
123
- style = props.style;
151
+ style = props.style;
124
152
  return /*#__PURE__*/_react["default"].createElement("div", {
125
153
  style: style,
126
154
  className: (0, _classnames["default"])('vtx-table-card', className)
127
155
  }, props.children);
128
156
  };
157
+
129
158
  Card.propTypes = {
130
159
  style: _propTypes["default"].object,
131
160
  className: _propTypes["default"].string,
132
161
  children: _propTypes["default"].node
133
162
  };
134
- var _default = exports["default"] = {
163
+ var _default = {
135
164
  Page: Page,
136
165
  Search: Search,
137
166
  Content: Content,
138
167
  Table: (0, _container["default"])()(Table),
139
168
  Card: Card
140
169
  };
170
+ exports["default"] = _default;
141
171
  //# sourceMappingURL=TableLayout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableLayout.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_classnames","_useEventEmitter","_container","_Basic","obj","__esModule","_getRequireWildcardCache","e","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","ownKeys","keys","getOwnPropertySymbols","o","filter","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","key","value","_toPropertyKey","configurable","writable","_toPrimitive","String","Symbol","toPrimitive","TypeError","Number","_slicedToArray","arr","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","minLen","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","len","arr2","l","iterator","f","next","done","isArray","StoreCtx","exports","createContext","pagePaddingTop","searchMarginBottom","Page","props","_useState","useState","_useState2","searchHeight","setSearchHeight","onSearchCollapse","searchCollapseEvent$","useEventEmitter","store","onCollapse","height","emit","createElement","Provider","className","classsnames","style","children","propTypes","PropTypes","object","string","node","func","Search","container","componentClass","Basic","Content","_props$plusTop","plusTop","_useContext","useContext","top","number","Table","_useContext2","React","cloneElement","Card","_default"],"sources":["vtx-page-layout/TableLayout.jsx"],"sourcesContent":["import React, { useState, useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classsnames from 'classnames';\r\nimport { createContext } from 'react';\r\nimport useEventEmitter from 'ahooks/es/useEventEmitter';\r\nimport container from './container';\r\nimport Basic from './Basic';\r\nexport const StoreCtx = createContext({});\r\n\r\nconst pagePaddingTop = 16;\r\nconst searchMarginBottom = 16;\r\n\r\n// eslint-disable-next-line valid-jsdoc\r\n/**\r\n * 页面\r\n * @param {*} props\r\n */\r\nconst Page = props => {\r\n const [searchHeight, setSearchHeight] = useState(64);\r\n const { onSearchCollapse } = props;\r\n const searchCollapseEvent$ = useEventEmitter();\r\n const store = {\r\n searchHeight,\r\n searchCollapseEvent$,\r\n onCollapse(height) {\r\n setSearchHeight(height);\r\n onSearchCollapse && onSearchCollapse(height);\r\n searchCollapseEvent$.emit();\r\n },\r\n };\r\n return (\r\n <StoreCtx.Provider value={store}>\r\n <div className={classsnames('vtx-page--table', props.className)} style={props.style}>\r\n {props.children}\r\n </div>\r\n </StoreCtx.Provider>\r\n );\r\n};\r\n\r\nPage.propTypes = {\r\n style: PropTypes.object,\r\n className: PropTypes.string,\r\n children: PropTypes.node,\r\n onSearchCollapse: PropTypes.func,\r\n};\r\n\r\n/**\r\n * 搜索\r\n */\r\nconst Search = container({ componentClass: 'vtx-table-search' })(Basic);\r\n\r\n// eslint-disable-next-line valid-jsdoc\r\n/**\r\n * 内容\r\n * @param {*} props\r\n */\r\nconst Content = props => {\r\n const { className, style, plusTop=0 } = props;\r\n const { searchHeight } = useContext(StoreCtx);\r\n return (\r\n <div\r\n className={classsnames('vtx-table-content', className)}\r\n style={{\r\n top: pagePaddingTop + searchMarginBottom + searchHeight + plusTop,\r\n ...style,\r\n }}\r\n >\r\n {props.children}\r\n </div>\r\n );\r\n};\r\n\r\nContent.propTypes = {\r\n style: PropTypes.object,\r\n className: PropTypes.string,\r\n children: PropTypes.node,\r\n plusTop: PropTypes.number,\r\n};\r\n\r\n// eslint-disable-next-line valid-jsdoc\r\n/**\r\n * 表格布局\r\n */\r\nconst Table = props => {\r\n const { className, style } = props;\r\n const { searchCollapseEvent$ } = useContext(StoreCtx);\r\n\r\n return (\r\n <div className={classsnames('vtx-table-wrap', className)} style={style}>\r\n {React.cloneElement(props.children, {\r\n ...props.children.props,\r\n searchCollapseEvent$,\r\n })}\r\n </div>\r\n );\r\n};\r\n\r\nTable.propTypes = {\r\n style: PropTypes.object,\r\n className: PropTypes.string,\r\n children: PropTypes.node,\r\n};\r\n\r\nconst Card = props => {\r\n const { className, style } = props;\r\n\r\n return (\r\n <div style={style} className={classsnames('vtx-table-card', className)}>\r\n {props.children}\r\n </div>\r\n );\r\n};\r\n\r\nCard.propTypes = {\r\n style: PropTypes.object,\r\n className: PropTypes.string,\r\n children: PropTypes.node,\r\n};\r\n\r\nexport default { Page, Search, Content, Table: container()(Table), Card };\r\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,gBAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,UAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,MAAA,GAAAJ,sBAAA,CAAAF,OAAA;AAA4B,SAAAE,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAF,UAAA,SAAAE,CAAA,eAAAA,CAAA,gBAAAI,OAAA,CAAAJ,CAAA,0BAAAA,CAAA,sBAAAA,CAAA,QAAA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MiB,IAAI,GAAG,SAAPA,IAAIA,CAAGxC,KAAK,EAAI;EAClB,IAAQe,SAAS,GAAYf,KAAK,CAA1Be,SAAS;IAAEE,KAAK,GAAKjB,KAAK,CAAfiB,KAAK;EAExB,oBACIvG,MAAA,YAAAmG,aAAA;IAAKI,KAAK,EAAEA,KAAM;IAACF,SAAS,EAAE,IAAAC,sBAAW,EAAC,gBAAgB,EAAED,SAAS;EAAE,GAClEf,KAAK,CAACkB,QACN,CAAC;AAEd,CAAC;AAEDsB,IAAI,CAACrB,SAAS,GAAG;EACbF,KAAK,EAAEG,qBAAS,CAACC,MAAM;EACvBN,SAAS,EAAEK,qBAAS,CAACE,MAAM;EAC3BJ,QAAQ,EAAEE,qBAAS,CAACG;AACxB,CAAC;AAAC,IAAAkB,QAAA,GAAA9C,OAAA,cAEa;EAAEI,IAAI,EAAJA,IAAI;EAAE0B,MAAM,EAANA,MAAM;EAAEI,OAAO,EAAPA,OAAO;EAAEO,KAAK,EAAE,IAAAV,qBAAS,EAAC,CAAC,CAACU,KAAK,CAAC;EAAEI,IAAI,EAAJA;AAAK,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"TableLayout.js","names":["StoreCtx","createContext","pagePaddingTop","searchMarginBottom","Page","props","useState","searchHeight","setSearchHeight","onSearchCollapse","searchCollapseEvent$","useEventEmitter","store","onCollapse","height","emit","classsnames","className","style","children","propTypes","PropTypes","object","string","node","func","Search","container","componentClass","Basic","Content","plusTop","useContext","top","number","Table","React","cloneElement","Card"],"sources":["vtx-page-layout/TableLayout.jsx"],"sourcesContent":["import React, { useState, useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport classsnames from 'classnames';\nimport { createContext } from 'react';\nimport useEventEmitter from 'ahooks/es/useEventEmitter';\nimport container from './container';\nimport Basic from './Basic';\nexport const StoreCtx = createContext({});\n\nconst pagePaddingTop = 16;\nconst searchMarginBottom = 16;\n\n// eslint-disable-next-line valid-jsdoc\n/**\n * 页面\n * @param {*} props\n */\nconst Page = props => {\n const [searchHeight, setSearchHeight] = useState(64);\n const { onSearchCollapse } = props;\n const searchCollapseEvent$ = useEventEmitter();\n const store = {\n searchHeight,\n searchCollapseEvent$,\n onCollapse(height) {\n setSearchHeight(height);\n onSearchCollapse && onSearchCollapse(height);\n searchCollapseEvent$.emit();\n },\n };\n return (\n <StoreCtx.Provider value={store}>\n <div className={classsnames('vtx-page--table', props.className)} style={props.style}>\n {props.children}\n </div>\n </StoreCtx.Provider>\n );\n};\n\nPage.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n children: PropTypes.node,\n onSearchCollapse: PropTypes.func,\n};\n\n/**\n * 搜索\n */\nconst Search = container({ componentClass: 'vtx-table-search' })(Basic);\n\n// eslint-disable-next-line valid-jsdoc\n/**\n * 内容\n * @param {*} props\n */\nconst Content = props => {\n const { className, style, plusTop=0 } = props;\n const { searchHeight } = useContext(StoreCtx);\n return (\n <div\n className={classsnames('vtx-table-content', className)}\n style={{\n top: pagePaddingTop + searchMarginBottom + searchHeight + plusTop,\n ...style,\n }}\n >\n {props.children}\n </div>\n );\n};\n\nContent.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n children: PropTypes.node,\n plusTop: PropTypes.number,\n};\n\n// eslint-disable-next-line valid-jsdoc\n/**\n * 表格布局\n */\nconst Table = props => {\n const { className, style } = props;\n const { searchCollapseEvent$ } = useContext(StoreCtx);\n\n return (\n <div className={classsnames('vtx-table-wrap', className)} style={style}>\n {React.cloneElement(props.children, {\n ...props.children.props,\n searchCollapseEvent$,\n })}\n </div>\n );\n};\n\nTable.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n children: PropTypes.node,\n};\n\nconst Card = props => {\n const { className, style } = props;\n\n return (\n <div style={style} className={classsnames('vtx-table-card', className)}>\n {props.children}\n </div>\n );\n};\n\nCard.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n children: PropTypes.node,\n};\n\nexport default { Page, Search, Content, Table: container()(Table), Card };\n"],"mappings":";;;;;;;;;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AMC,YAAN,CAAmBhC,KAAK,CAACc,QAAzB,kCACMd,KAAK,CAACc,QAAN,CAAed,KADrB;IAEGK,oBAAoB,EAApBA;EAFH,GADL,CADJ;AAQH,CAZD;;AAcAyB,KAAK,CAACf,SAAN,GAAkB;EACdF,KAAK,EAAEG,qBAAA,CAAUC,MADH;EAEdL,SAAS,EAAEI,qBAAA,CAAUE,MAFP;EAGdJ,QAAQ,EAAEE,qBAAA,CAAUG;AAHN,CAAlB;;AAMA,IAAMc,IAAI,GAAG,SAAPA,IAAO,CAAAjC,KAAK,EAAI;EAClB,IAAQY,SAAR,GAA6BZ,KAA7B,CAAQY,SAAR;EAAA,IAAmBC,KAAnB,GAA6Bb,KAA7B,CAAmBa,KAAnB;EAEA,oBACI;IAAK,KAAK,EAAEA,KAAZ;IAAmB,SAAS,EAAE,IAAAF,sBAAA,EAAY,gBAAZ,EAA8BC,SAA9B;EAA9B,GACKZ,KAAK,CAACc,QADX,CADJ;AAKH,CARD;;AAUAmB,IAAI,CAAClB,SAAL,GAAiB;EACbF,KAAK,EAAEG,qBAAA,CAAUC,MADJ;EAEbL,SAAS,EAAEI,qBAAA,CAAUE,MAFR;EAGbJ,QAAQ,EAAEE,qBAAA,CAAUG;AAHP,CAAjB;eAMe;EAAEpB,IAAI,EAAJA,IAAF;EAAQsB,MAAM,EAANA,MAAR;EAAgBI,OAAO,EAAPA,OAAhB;EAAyBK,KAAK,EAAE,IAAAR,qBAAA,IAAYQ,KAAZ,CAAhC;EAAoDG,IAAI,EAAJA;AAApD,C"}
@@ -4,34 +4,45 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
+
7
8
  var _react = _interopRequireDefault(require("react"));
9
+
8
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
+
9
12
  var _classnames2 = _interopRequireDefault(require("classnames"));
13
+
10
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
12
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
- 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; }
15
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
16
- 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); }
15
+
16
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
17
+
18
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
19
+
20
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
+
17
22
  function TableWrap(props) {
23
+ var _classnames;
24
+
18
25
  var relative = props.relative,
19
- height = props.height,
20
- style = props.style,
21
- className = props.className;
22
- var tableClass = (0, _classnames2["default"])(_defineProperty(_defineProperty({}, 'vtx-table-wrapper-absolute', !relative), 'vtx-table-wrapper-relative', relative), className);
26
+ height = props.height,
27
+ style = props.style,
28
+ className = props.className;
29
+ var tableClass = (0, _classnames2["default"])((_classnames = {}, _defineProperty(_classnames, 'vtx-table-wrapper-absolute', !relative), _defineProperty(_classnames, 'vtx-table-wrapper-relative', relative), _classnames), className);
23
30
  var newStyle = style;
31
+
24
32
  if (relative && 'height' in props) {
25
33
  newStyle = _objectSpread(_objectSpread({}, style), {}, {
26
34
  height: height
27
35
  });
28
36
  }
37
+
29
38
  return /*#__PURE__*/_react["default"].createElement("div", {
30
39
  className: tableClass,
31
40
  style: newStyle
32
41
  }, props.children);
33
42
  }
34
- var _default = exports["default"] = TableWrap;
43
+
44
+ var _default = TableWrap;
45
+ exports["default"] = _default;
35
46
  TableWrap.propTypes = {
36
47
  style: _propTypes["default"].object,
37
48
  className: _propTypes["default"].string,
@@ -1 +1 @@
1
- {"version":3,"file":"TableWrap.js","names":["_react","_interopRequireDefault","require","_propTypes","_classnames2","obj","__esModule","_typeof","o","Symbol","iterator","constructor","prototype","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","key","value","_toPropertyKey","configurable","writable","i","_toPrimitive","String","toPrimitive","call","TypeError","Number","TableWrap","props","relative","height","style","className","tableClass","classnames","newStyle","createElement","children","_default","exports","propTypes","PropTypes","object","string","bool","number","node"],"sources":["vtx-page-layout/TableWrap.jsx"],"sourcesContent":["import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classnames from 'classnames';\r\n\r\nfunction TableWrap(props) {\r\n const { relative, height, style, className } = props;\r\n\r\n const tableClass = classnames(\r\n {\r\n ['vtx-table-wrapper-absolute']: !relative,\r\n ['vtx-table-wrapper-relative']: relative,\r\n },\r\n className,\r\n );\r\n\r\n let newStyle = style;\r\n if (relative && 'height' in props) {\r\n newStyle = {\r\n ...style,\r\n height: height,\r\n };\r\n }\r\n\r\n return (\r\n <div className={tableClass} style={newStyle}>\r\n {props.children}\r\n </div>\r\n );\r\n}\r\n\r\nexport default TableWrap;\r\n\r\nTableWrap.propTypes = {\r\n style: PropTypes.object,\r\n className: PropTypes.string,\r\n relative: PropTypes.bool,\r\n height: PropTypes.number,\r\n children: PropTypes.node,\r\n};\r\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,YAAA,GAAAH,sBAAA,CAAAC,OAAA;AAAoC,SAAAD,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,QAAAC,CAAA,sCAAAD,OAAA,wBAAAE,MAAA,uBAAAA,MAAA,CAAAC,QAAA,aAAAF,CAAA,kBAAAA,CAAA,gBAAAA,CAAA,WAAAA,CAAA,yBAAAC,MAAA,IAAAD,CAAA,CAAAG,WAAA,KAAAF,MAAA,IAAAD,CAAA,KAAAC,MAAA,CAAAG,SAAA,qBAAAJ,CAAA,KAAAD,OAAA,CAAAC,CAAA;AAAA,SAAAK,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAC,MAAA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AS,GAAG;EAClBT,KAAK,EAAEU,qBAAS,CAACC,MAAM;EACvBV,SAAS,EAAES,qBAAS,CAACE,MAAM;EAC3Bd,QAAQ,EAAEY,qBAAS,CAACG,IAAI;EACxBd,MAAM,EAAEW,qBAAS,CAACI,MAAM;EACxBR,QAAQ,EAAEI,qBAAS,CAACK;AACxB,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"TableWrap.js","names":["TableWrap","props","relative","height","style","className","tableClass","classnames","newStyle","children","propTypes","PropTypes","object","string","bool","number","node"],"sources":["vtx-page-layout/TableWrap.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\n\nfunction TableWrap(props) {\n const { relative, height, style, className } = props;\n\n const tableClass = classnames(\n {\n ['vtx-table-wrapper-absolute']: !relative,\n ['vtx-table-wrapper-relative']: relative,\n },\n className,\n );\n\n let newStyle = style;\n if (relative && 'height' in props) {\n newStyle = {\n ...style,\n height: height,\n };\n }\n\n return (\n <div className={tableClass} style={newStyle}>\n {props.children}\n </div>\n );\n}\n\nexport default TableWrap;\n\nTableWrap.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n relative: PropTypes.bool,\n height: PropTypes.number,\n children: PropTypes.node,\n};\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;AAEA,SAASA,SAAT,CAAmBC,KAAnB,EAA0B;EAAA;;EACtB,IAAQC,QAAR,GAA+CD,KAA/C,CAAQC,QAAR;EAAA,IAAkBC,MAAlB,GAA+CF,KAA/C,CAAkBE,MAAlB;EAAA,IAA0BC,KAA1B,GAA+CH,KAA/C,CAA0BG,KAA1B;EAAA,IAAiCC,SAAjC,GAA+CJ,KAA/C,CAAiCI,SAAjC;EAEA,IAAMC,UAAU,GAAG,IAAAC,uBAAA,kDAEV,4BAFU,EAEqB,CAACL,QAFtB,gCAGV,4BAHU,EAGqBA,QAHrB,iBAKfG,SALe,CAAnB;EAQA,IAAIG,QAAQ,GAAGJ,KAAf;;EACA,IAAIF,QAAQ,IAAI,YAAYD,KAA5B,EAAmC;IAC/BO,QAAQ,mCACDJ,KADC;MAEJD,MAAM,EAAEA;IAFJ,EAAR;EAIH;;EAED,oBACI;IAAK,SAAS,EAAEG,UAAhB;IAA4B,KAAK,EAAEE;EAAnC,GACKP,KAAK,CAACQ,QADX,CADJ;AAKH;;eAEcT,S;;AAEfA,SAAS,CAACU,SAAV,GAAsB;EAClBN,KAAK,EAAEO,qBAAA,CAAUC,MADC;EAElBP,SAAS,EAAEM,qBAAA,CAAUE,MAFH;EAGlBX,QAAQ,EAAES,qBAAA,CAAUG,IAHF;EAIlBX,MAAM,EAAEQ,qBAAA,CAAUI,MAJA;EAKlBN,QAAQ,EAAEE,qBAAA,CAAUK;AALF,CAAtB"}
@@ -1,59 +1,84 @@
1
1
  "use strict";
2
2
 
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
8
  exports["default"] = void 0;
9
+
7
10
  var _react = _interopRequireDefault(require("react"));
11
+
8
12
  var _propTypes = _interopRequireDefault(require("prop-types"));
13
+
9
14
  var _classnames2 = _interopRequireDefault(require("classnames"));
15
+
10
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
17
+
12
18
  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); }
13
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19
+
20
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
21
+
22
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
23
+
15
24
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
16
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
25
+
26
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
27
+
17
28
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
18
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
29
+
30
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
31
+
32
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
33
+
34
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
35
+
19
36
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
37
+
20
38
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
21
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
39
+
40
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
41
+
22
42
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
23
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
24
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
- 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; }
26
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
27
- 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); } /**
28
- * 高阶组件
29
- */
43
+
44
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
45
+
30
46
  function getDisplayName(WrappedComponend) {
31
47
  return WrappedComponend.displayName || WrappedComponend.name || 'Component';
32
48
  }
49
+
33
50
  function Container() {
34
51
  var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
35
52
  var componentClass = params.componentClass;
36
53
  return function HOCFactory(WrappedComponend) {
37
- var _HOC;
38
- return _HOC = /*#__PURE__*/function (_React$Component) {
54
+ var _class;
55
+
56
+ return _class = /*#__PURE__*/function (_React$Component) {
39
57
  _inherits(HOC, _React$Component);
58
+
59
+ var _super = _createSuper(HOC);
60
+
40
61
  function HOC() {
41
62
  _classCallCheck(this, HOC);
42
- return _callSuper(this, HOC, arguments);
63
+
64
+ return _super.apply(this, arguments);
43
65
  }
66
+
44
67
  _createClass(HOC, [{
45
68
  key: "render",
46
69
  value: function render() {
47
70
  var _this$props = this.props,
48
- style = _this$props.style,
49
- className = _this$props.className,
50
- top = _this$props.top,
51
- space = _this$props.space;
71
+ style = _this$props.style,
72
+ className = _this$props.className,
73
+ top = _this$props.top,
74
+ space = _this$props.space;
52
75
  var wrapClass = (0, _classnames2["default"])(_defineProperty({}, componentClass, true), className);
76
+
53
77
  var newStyle = _objectSpread({
54
78
  top: top,
55
79
  padding: space
56
80
  }, style);
81
+
57
82
  var newProps = {
58
83
  className: wrapClass,
59
84
  style: newStyle
@@ -61,14 +86,17 @@ function Container() {
61
86
  return /*#__PURE__*/_react["default"].createElement(WrappedComponend, _extends({}, this.props, newProps));
62
87
  }
63
88
  }]);
89
+
64
90
  return HOC;
65
- }(_react["default"].Component), _defineProperty(_HOC, "displayName", "HOC(".concat(getDisplayName(WrappedComponend), ")")), _defineProperty(_HOC, "propTypes", {
91
+ }(_react["default"].Component), _defineProperty(_class, "displayName", "HOC(".concat(getDisplayName(WrappedComponend), ")")), _defineProperty(_class, "propTypes", {
66
92
  top: _propTypes["default"].number,
67
93
  space: _propTypes["default"].number || _propTypes["default"].string,
68
94
  style: _propTypes["default"].object,
69
95
  className: _propTypes["default"].string
70
- }), _HOC;
96
+ }), _class;
71
97
  };
72
98
  }
73
- var _default = exports["default"] = Container;
99
+
100
+ var _default = Container;
101
+ exports["default"] = _default;
74
102
  //# sourceMappingURL=container.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"container.js","names":["_react","_interopRequireDefault","require","_propTypes","_classnames2","obj","__esModule","_typeof","o","Symbol","iterator","constructor","prototype","_extends","Object","assign","bind","target","i","arguments","length","source","key","hasOwnProperty","call","apply","ownKeys","e","r","t","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","_objectSpread","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","_classCallCheck","instance","Constructor","TypeError","_defineProperties","props","descriptor","configurable","writable","_toPropertyKey","_createClass","protoProps","staticProps","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","self","_assertThisInitialized","ReferenceError","Boolean","valueOf","setPrototypeOf","getPrototypeOf","__proto__","_inherits","subClass","superClass","create","value","_setPrototypeOf","p","_toPrimitive","String","toPrimitive","Number","getDisplayName","WrappedComponend","displayName","name","Container","params","undefined","componentClass","HOCFactory","_HOC","_React$Component","HOC","render","_this$props","style","className","top","space","wrapClass","classnames","newStyle","padding","newProps","createElement","React","Component","concat","PropTypes","number","string","object","_default","exports"],"sources":["vtx-page-layout/container.jsx"],"sourcesContent":["/**\r\n * 高阶组件\r\n */\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classnames from 'classnames';\r\n\r\nfunction getDisplayName(WrappedComponend) {\r\n return WrappedComponend.displayName || WrappedComponend.name || 'Component';\r\n}\r\n\r\nfunction Container(params = {}) {\r\n const { componentClass } = params;\r\n\r\n return function HOCFactory(WrappedComponend) {\r\n return class HOC extends React.Component {\r\n static displayName = `HOC(${getDisplayName(WrappedComponend)})`;\r\n\r\n static propTypes = {\r\n top: PropTypes.number,\r\n space: PropTypes.number || PropTypes.string,\r\n style: PropTypes.object,\r\n className: PropTypes.string,\r\n };\r\n\r\n render() {\r\n const { style, className, top, space } = this.props;\r\n\r\n const wrapClass = classnames(\r\n {\r\n [componentClass]: true,\r\n },\r\n className,\r\n );\r\n\r\n const newStyle = {\r\n top,\r\n padding: space,\r\n ...style,\r\n };\r\n\r\n const newProps = {\r\n className: wrapClass,\r\n style: newStyle,\r\n };\r\n return <WrappedComponend {...this.props} {...newProps} />;\r\n }\r\n };\r\n };\r\n}\r\n\r\nexport default Container;\r\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,YAAA,GAAAH,sBAAA,CAAAC,OAAA;AAAoC,SAAAD,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,QAAAC,CAAA,sCAAAD,OAAA,wBAAAE,MAAA,uBAAAA,MAAA,CAAAC,QAAA,aAAAF,CAAA,kBAAAA,CAAA,gBAAAA,CAAA,WAAAA,CAAA,yBAAAC,MAAA,IAAAD,CAAA,CAAAG,WAAA,KAAAF,MAAA,IAAAD,CAAA,KAAAC,MAAA,CAAAG,SAAA,qBAAAJ,CAAA,KAAAD,OAAA,CAAAC,CAAA;AAAA,SAAAK,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAF,SAAA,CAAAW,cAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAY,KAAA,OAAAN,SAAA;AAAA,SAAAO,QAAAC,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAf,MAAA,CAAAgB,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AAC,uBAAU,EAAA7D,eAAA,KAEnBiD,cAAc,EAAG,IAAI,GAE1BQ,SACJ,CAAC;UAED,IAAMK,QAAQ,GAAAhE,aAAA;YACV4D,GAAG,EAAHA,GAAG;YACHK,OAAO,EAAEJ;UAAK,GACXH,KAAK,CACX;UAED,IAAMQ,QAAQ,GAAG;YACbP,SAAS,EAAEG,SAAS;YACpBJ,KAAK,EAAEM;UACX,CAAC;UACD,oBAAOpG,MAAA,YAAAuG,aAAA,CAACtB,gBAAgB,EAAApE,QAAA,KAAK,IAAI,CAACkC,KAAK,EAAMuD,QAAQ,CAAG,CAAC;QAC7D;MAAC;MAAA,OAAAX,GAAA;IAAA,EA/BoBa,iBAAK,CAACC,SAAS,GAAAnE,eAAA,CAAAmD,IAAA,wBAAAiB,MAAA,CACR1B,cAAc,CAACC,gBAAgB,CAAC,SAAA3C,eAAA,CAAAmD,IAAA,eAEzC;MACfO,GAAG,EAAEW,qBAAS,CAACC,MAAM;MACrBX,KAAK,EAAEU,qBAAS,CAACC,MAAM,IAAID,qBAAS,CAACE,MAAM;MAC3Cf,KAAK,EAAEa,qBAAS,CAACG,MAAM;MACvBf,SAAS,EAAEY,qBAAS,CAACE;IACzB,CAAC,GAAApB,IAAA;EAyBT,CAAC;AACL;AAAC,IAAAsB,QAAA,GAAAC,OAAA,cAEc5B,SAAS","ignoreList":[]}
1
+ {"version":3,"file":"container.js","names":["getDisplayName","WrappedComponend","displayName","name","Container","params","componentClass","HOCFactory","props","style","className","top","space","wrapClass","classnames","newStyle","padding","newProps","React","Component","PropTypes","number","string","object"],"sources":["vtx-page-layout/container.jsx"],"sourcesContent":["/**\n * 高阶组件\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\n\nfunction getDisplayName(WrappedComponend) {\n return WrappedComponend.displayName || WrappedComponend.name || 'Component';\n}\n\nfunction Container(params = {}) {\n const { componentClass } = params;\n\n return function HOCFactory(WrappedComponend) {\n return class HOC extends React.Component {\n static displayName = `HOC(${getDisplayName(WrappedComponend)})`;\n\n static propTypes = {\n top: PropTypes.number,\n space: PropTypes.number || PropTypes.string,\n style: PropTypes.object,\n className: PropTypes.string,\n };\n\n render() {\n const { style, className, top, space } = this.props;\n\n const wrapClass = classnames(\n {\n [componentClass]: true,\n },\n className,\n );\n\n const newStyle = {\n top,\n padding: space,\n ...style,\n };\n\n const newProps = {\n className: wrapClass,\n style: newStyle,\n };\n return <WrappedComponend {...this.props} {...newProps} />;\n }\n };\n };\n}\n\nexport default Container;\n"],"mappings":";;;;;;;;;AAGA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,SAASA,cAAT,CAAwBC,gBAAxB,EAA0C;EACtC,OAAOA,gBAAgB,CAACC,WAAjB,IAAgCD,gBAAgB,CAACE,IAAjD,IAAyD,WAAhE;AACH;;AAED,SAASC,SAAT,GAAgC;EAAA,IAAbC,MAAa,uEAAJ,EAAI;EAC5B,IAAQC,cAAR,GAA2BD,MAA3B,CAAQC,cAAR;EAEA,OAAO,SAASC,UAAT,CAAoBN,gBAApB,EAAsC;IAAA;;IACzC;MAAA;;MAAA;;MAAA;QAAA;;QAAA;MAAA;;MAAA;QAAA;QAAA,OAUI,kBAAS;UACL,kBAAyC,KAAKO,KAA9C;UAAA,IAAQC,KAAR,eAAQA,KAAR;UAAA,IAAeC,SAAf,eAAeA,SAAf;UAAA,IAA0BC,GAA1B,eAA0BA,GAA1B;UAAA,IAA+BC,KAA/B,eAA+BA,KAA/B;UAEA,IAAMC,SAAS,GAAG,IAAAC,uBAAA,sBAETR,cAFS,EAEQ,IAFR,GAIdI,SAJc,CAAlB;;UAOA,IAAMK,QAAQ;YACVJ,GAAG,EAAHA,GADU;YAEVK,OAAO,EAAEJ;UAFC,GAGPH,KAHO,CAAd;;UAMA,IAAMQ,QAAQ,GAAG;YACbP,SAAS,EAAEG,SADE;YAEbJ,KAAK,EAAEM;UAFM,CAAjB;UAIA,oBAAO,gCAAC,gBAAD,eAAs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