@vtx/components 3.1.0 → 3.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/CHANGELOG.md +163 -114
  2. package/README.md +19 -19
  3. package/lib/_util/filterSpecialCharacters.js +6 -6
  4. package/lib/_util/filterSpecialCharacters.js.map +1 -1
  5. package/lib/_util/getComponentProps.js.map +1 -1
  6. package/lib/_util/getUrlParam.js.map +1 -1
  7. package/lib/_util/isFunction.js.map +1 -1
  8. package/lib/_util/isObject.js.map +1 -1
  9. package/lib/_util/useColSize.js.map +1 -1
  10. package/lib/_util/useInterval.js.map +1 -1
  11. package/lib/_util/useSet.js.map +1 -1
  12. package/lib/config.js.map +1 -1
  13. package/lib/index.js.map +1 -1
  14. package/lib/vtx-color-picker/index.js +1 -1
  15. package/lib/vtx-color-picker/index.js.map +1 -1
  16. package/lib/vtx-color-picker/style/css.js.map +1 -1
  17. package/lib/vtx-color-picker/style/index.js.map +1 -1
  18. package/lib/vtx-color-picker/style/index.less +12 -12
  19. package/lib/vtx-combogrid/Combogrid.js +1 -1
  20. package/lib/vtx-combogrid/Combogrid.js.map +1 -1
  21. package/lib/vtx-combogrid/index.js +1 -1
  22. package/lib/vtx-combogrid/index.js.map +1 -1
  23. package/lib/vtx-combogrid/style/css.js.map +1 -1
  24. package/lib/vtx-combogrid/style/index.js.map +1 -1
  25. package/lib/vtx-combogrid/style/index.less +29 -29
  26. package/lib/vtx-datagrid/Alert.js.map +1 -1
  27. package/lib/vtx-datagrid/ColumnSetting.js.map +1 -1
  28. package/lib/vtx-datagrid/ResizeableTitle.js.map +1 -1
  29. package/lib/vtx-datagrid/index.js +1 -1
  30. package/lib/vtx-datagrid/index.js.map +1 -1
  31. package/lib/vtx-datagrid/renderColumnButtons.js +1 -1
  32. package/lib/vtx-datagrid/renderColumnButtons.js.map +1 -1
  33. package/lib/vtx-datagrid/style/css.js.map +1 -1
  34. package/lib/vtx-datagrid/style/index.js.map +1 -1
  35. package/lib/vtx-datagrid/style/index.less +166 -163
  36. package/lib/vtx-date-picker/QdatePicker.js +1 -1
  37. package/lib/vtx-date-picker/QdatePicker.js.map +1 -1
  38. package/lib/vtx-date-picker/generatePicker.js +2 -2
  39. package/lib/vtx-date-picker/generatePicker.js.map +1 -1
  40. package/lib/vtx-date-picker/index.js.map +1 -1
  41. package/lib/vtx-date-picker/style/css.js.map +1 -1
  42. package/lib/vtx-date-picker/style/index.js.map +1 -1
  43. package/lib/vtx-date-picker/style/index.less +38 -38
  44. package/lib/vtx-editor/index.js +1 -1
  45. package/lib/vtx-editor/index.js.map +1 -1
  46. package/lib/vtx-editor/style/css.js.map +1 -1
  47. package/lib/vtx-editor/style/index.js.map +1 -1
  48. package/lib/vtx-editor/style/index.less +8 -8
  49. package/lib/vtx-ellipsis-text/index.js +1 -1
  50. package/lib/vtx-ellipsis-text/index.js.map +1 -1
  51. package/lib/vtx-ellipsis-text/style/css.js.map +1 -1
  52. package/lib/vtx-ellipsis-text/style/index.js.map +1 -1
  53. package/lib/vtx-ellipsis-text/style/index.less +13 -13
  54. package/lib/vtx-export/index.js +8 -8
  55. package/lib/vtx-export/index.js.map +1 -1
  56. package/lib/vtx-export/style/css.js.map +1 -1
  57. package/lib/vtx-export/style/index.js.map +1 -1
  58. package/lib/vtx-export/style/index.less +6 -6
  59. package/lib/vtx-form-layout/Card.js.map +1 -1
  60. package/lib/vtx-form-layout/Divider.js.map +1 -1
  61. package/lib/vtx-form-layout/FormItem.js +1 -1
  62. package/lib/vtx-form-layout/FormItem.js.map +1 -1
  63. package/lib/vtx-form-layout/Pane.js.map +1 -1
  64. package/lib/vtx-form-layout/Row.js.map +1 -1
  65. package/lib/vtx-form-layout/context.js.map +1 -1
  66. package/lib/vtx-form-layout/demo/Modal.css +3 -3
  67. package/lib/vtx-form-layout/demo/Modal.less +43 -41
  68. package/lib/vtx-form-layout/index.js.map +1 -1
  69. package/lib/vtx-form-layout/style/css.js.map +1 -1
  70. package/lib/vtx-form-layout/style/index.css +4 -0
  71. package/lib/vtx-form-layout/style/index.js.map +1 -1
  72. package/lib/vtx-form-layout/style/index.less +211 -207
  73. package/lib/vtx-image/Image.js.map +1 -1
  74. package/lib/vtx-image/Preview.js.map +1 -1
  75. package/lib/vtx-image/PreviewGroup.js.map +1 -1
  76. package/lib/vtx-image/index.js.map +1 -1
  77. package/lib/vtx-image/style/css.js.map +1 -1
  78. package/lib/vtx-image/style/index.css +1 -1
  79. package/lib/vtx-image/style/index.js.map +1 -1
  80. package/lib/vtx-image/style/index.less +63 -48
  81. package/lib/vtx-import/index.js +1 -3
  82. package/lib/vtx-import/index.js.map +1 -1
  83. package/lib/vtx-import/result.js +1 -1
  84. package/lib/vtx-import/result.js.map +1 -1
  85. package/lib/vtx-import/style/css.js +2 -0
  86. package/lib/vtx-import/style/css.js.map +1 -1
  87. package/lib/vtx-import/style/index.css +3 -0
  88. package/lib/vtx-import/style/index.js +2 -0
  89. package/lib/vtx-import/style/index.js.map +1 -1
  90. package/lib/vtx-import/style/index.less +8 -0
  91. package/lib/vtx-input/TextArea.js +1 -1
  92. package/lib/vtx-input/TextArea.js.map +1 -1
  93. package/lib/vtx-input/index.js +1 -1
  94. package/lib/vtx-input/index.js.map +1 -1
  95. package/lib/vtx-input/style/css.js.map +1 -1
  96. package/lib/vtx-input/style/index.js.map +1 -1
  97. package/lib/vtx-input/style/index.less +24 -24
  98. package/lib/vtx-input/useLength.js.map +1 -1
  99. package/lib/vtx-modal/Title.js.map +1 -1
  100. package/lib/vtx-modal/index.js +2 -2
  101. package/lib/vtx-modal/index.js.map +1 -1
  102. package/lib/vtx-modal/style/css.js.map +1 -1
  103. package/lib/vtx-modal/style/index.css +6 -2
  104. package/lib/vtx-modal/style/index.js.map +1 -1
  105. package/lib/vtx-modal/style/index.less +95 -85
  106. package/lib/vtx-page-layout/Basic.js +2 -2
  107. package/lib/vtx-page-layout/Basic.js.map +1 -1
  108. package/lib/vtx-page-layout/Content.js.map +1 -1
  109. package/lib/vtx-page-layout/Pane.js.map +1 -1
  110. package/lib/vtx-page-layout/TableLayout.js +10 -10
  111. package/lib/vtx-page-layout/TableLayout.js.map +1 -1
  112. package/lib/vtx-page-layout/TableWrap.js.map +1 -1
  113. package/lib/vtx-page-layout/container.js +3 -3
  114. package/lib/vtx-page-layout/container.js.map +1 -1
  115. package/lib/vtx-page-layout/index.js.map +1 -1
  116. package/lib/vtx-page-layout/style/css.js.map +1 -1
  117. package/lib/vtx-page-layout/style/index.js.map +1 -1
  118. package/lib/vtx-page-layout/style/index.less +138 -138
  119. package/lib/vtx-rps-frame/index.js.map +1 -1
  120. package/lib/vtx-rps-frame/style/css.js.map +1 -1
  121. package/lib/vtx-rps-frame/style/index.js.map +1 -1
  122. package/lib/vtx-rps-frame/style/index.less +8 -8
  123. package/lib/vtx-scrollable-row/index.js.map +1 -1
  124. package/lib/vtx-scrollable-row/style/css.js.map +1 -1
  125. package/lib/vtx-scrollable-row/style/index.js.map +1 -1
  126. package/lib/vtx-scrollable-row/style/index.less +113 -113
  127. package/lib/vtx-search/VtxCol.js.map +1 -1
  128. package/lib/vtx-search/VtxRow.js.map +1 -1
  129. package/lib/vtx-search/index.js.map +1 -1
  130. package/lib/vtx-search/style/css.js.map +1 -1
  131. package/lib/vtx-search/style/index.js.map +1 -1
  132. package/lib/vtx-search/style/index.less +83 -83
  133. package/lib/vtx-search-map-input/index.js +1 -1
  134. package/lib/vtx-search-map-input/index.js.map +1 -1
  135. package/lib/vtx-search-map-input/style/css.js.map +1 -1
  136. package/lib/vtx-search-map-input/style/index.js.map +1 -1
  137. package/lib/vtx-select/index.js +1 -1
  138. package/lib/vtx-select/index.js.map +1 -1
  139. package/lib/vtx-select/style/css.js.map +1 -1
  140. package/lib/vtx-select/style/index.js.map +1 -1
  141. package/lib/vtx-select/style/index.less +68 -68
  142. package/lib/vtx-signature/index.js.map +1 -1
  143. package/lib/vtx-signature/style/css.js.map +1 -1
  144. package/lib/vtx-signature/style/index.js.map +1 -1
  145. package/lib/vtx-signature/style/index.less +33 -33
  146. package/lib/vtx-split-pane/Pane.js.map +1 -1
  147. package/lib/vtx-split-pane/Resizer.js +1 -1
  148. package/lib/vtx-split-pane/Resizer.js.map +1 -1
  149. package/lib/vtx-split-pane/SplitPane.js +4 -4
  150. package/lib/vtx-split-pane/SplitPane.js.map +1 -1
  151. package/lib/vtx-split-pane/index.js.map +1 -1
  152. package/lib/vtx-split-pane/style/css.js.map +1 -1
  153. package/lib/vtx-split-pane/style/index.js.map +1 -1
  154. package/lib/vtx-split-pane/style/index.less +60 -60
  155. package/lib/vtx-statistics-column/Back.js +1 -1
  156. package/lib/vtx-statistics-column/Back.js.map +1 -1
  157. package/lib/vtx-statistics-column/Item.js.map +1 -1
  158. package/lib/vtx-statistics-column/Total.js.map +1 -1
  159. package/lib/vtx-statistics-column/context.js.map +1 -1
  160. package/lib/vtx-statistics-column/index.js.map +1 -1
  161. package/lib/vtx-statistics-column/style/css.js.map +1 -1
  162. package/lib/vtx-statistics-column/style/index.js.map +1 -1
  163. package/lib/vtx-statistics-column/style/index.less +59 -59
  164. package/lib/vtx-time-picker/index.js +1 -1
  165. package/lib/vtx-time-picker/index.js.map +1 -1
  166. package/lib/vtx-time-picker/style/css.js.map +1 -1
  167. package/lib/vtx-time-picker/style/index.js.map +1 -1
  168. package/lib/vtx-upload/FilePreview.js.map +1 -1
  169. package/lib/vtx-upload/index.js +2 -2
  170. package/lib/vtx-upload/index.js.map +1 -1
  171. package/lib/vtx-upload/style/css.js.map +1 -1
  172. package/lib/vtx-upload/style/index.js.map +1 -1
  173. package/lib/vtx-upload/style/index.less +61 -61
  174. package/lib/vtx-ztree/index.js +4 -4
  175. package/lib/vtx-ztree/index.js.map +1 -1
  176. package/lib/vtx-ztree/style/css.js.map +1 -1
  177. package/lib/vtx-ztree/style/index.js.map +1 -1
  178. package/lib/vtx-ztree/style/index.less +30 -30
  179. package/lib/vtx-ztree-select/index.js +2 -2
  180. package/lib/vtx-ztree-select/index.js.map +1 -1
  181. package/lib/vtx-ztree-select/style/css.js.map +1 -1
  182. package/lib/vtx-ztree-select/style/index.js.map +1 -1
  183. package/lib/vtx-ztree-select/style/index.less +74 -74
  184. package/package.json +123 -122
@@ -1 +1 @@
1
- {"version":3,"sources":["vtx-modal/index.jsx"],"names":["initDragArg","init_x","init_y","x_move","y_move","documentMouseMove","documentMouseUp","initFullScreen","isFull","className","VtxModal","props","fullScreen","setFullScreen","dragArg","setDragArg","classId","Date","getTime","Math","random","wrapClassName","closable","title","maximize","onModalResize","moveable","timer","setTimeout","el","document","getElementsByClassName","option","height","window","getComputedStyle","clearTimeout","visible","modalHead","current","style","cursor","onmousedown","startDrag","e","preventDefault","onmouseup","onmousemove","clientX","clientY","prev","onCancel","renderTitle","paddingRight","fullScreenClass","bodyStyle","maxHeight","innerHeight","transformStyle","transform","newProps","maskClosable","destroyOnClose","width","children","info","Modal","success","error","warning","confirm","propTypes","PropTypes","bool","string","oneOfType","element","func","object","node","Title","size","xsmall","small","middle","large"],"mappings":";;;;;;;;;AAQA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA,IAAMA,WAAW,GAAG;AAChBC,EAAAA,MAAM,EAAE,CADQ;AAEhBC,EAAAA,MAAM,EAAE,CAFQ;AAGhBC,EAAAA,MAAM,EAAE,CAHQ;AAIhBC,EAAAA,MAAM,EAAE,CAJQ;AAKhBC,EAAAA,iBAAiB,EAAE,IALH;AAMhBC,EAAAA,eAAe,EAAE;AAND,CAApB,C,CASA;;AACA,IAAMC,cAAc,GAAG;AACnBC,EAAAA,MAAM,EAAE,KADW;AAEnBC,EAAAA,SAAS,EAAE;AAFQ,CAAvB;;AAKA,SAASC,QAAT,CAAkBC,KAAlB,EAAyB;AACrB,qBAAoC,8BAAYJ,cAAZ,CAApC;AAAA;AAAA,MAAOK,UAAP;AAAA,MAAmBC,aAAnB,oBADqB,CAC4C;;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ME,KAAvB;AACA1D,QAAQ,CAAC2D,OAAT,GAAmBH,kBAAMG,OAAzB;AACA3D,QAAQ,CAAC4D,OAAT,GAAmBJ,kBAAMI,OAAzB;AAEA5D,QAAQ,CAAC6D,SAAT,GAAqB;AACjBlC,EAAAA,OAAO,EAAEmC,sBAAUC,IADF;AAEjBpD,EAAAA,aAAa,EAAEmD,sBAAUE,MAFR;AAGjBpD,EAAAA,QAAQ,EAAEkD,sBAAUC,IAHH;AAIjBlD,EAAAA,KAAK,EAAEiD,sBAAUG,SAAV,CAAoB,CAACH,sBAAUI,OAAX,EAAoBJ,sBAAUE,MAA9B,CAApB,CAJU;AAKjBlD,EAAAA,QAAQ,EAAEgD,sBAAUC,IALH;AAMjBhD,EAAAA,aAAa,EAAE+C,sBAAUK,IANR;AAOjBnD,EAAAA,QAAQ,EAAE8C,sBAAUC,IAPH;AAQjBtB,EAAAA,QAAQ,EAAEqB,sBAAUK,IARH;AASjBtB,EAAAA,SAAS,EAAEiB,sBAAUM,MATJ;AAUjBtC,EAAAA,KAAK,EAAEgC,sBAAUM,MAVA;AAWjBd,EAAAA,QAAQ,EAAEQ,sBAAUO;AAXH,CAArB;AAcArE,QAAQ,CAACsE,KAAT,GAAiBA,iBAAjB;AAEA,IAAMC,IAAI,GAAG;AACTC,EAAAA,MAAM,EAAE,GADC;AAETC,EAAAA,KAAK,EAAE,GAFE;AAGTC,EAAAA,MAAM,EAAE,GAHC;AAITC,EAAAA,KAAK,EAAE;AAJE,CAAb;AAOA3E,QAAQ,CAACuE,IAAT,GAAgBA,IAAhB;eAEevE,Q","sourcesContent":["/*\n * @Author: chenxinyu\n * @Date: 2021-03-24 21:47:52\n * @LastEditors: your name\n * @LastEditTime: 2022-01-15 22:13:58\n * @Description: 对话框组件\n * @FilePath: \\react-components\\components\\vtx-modal\\index.jsx\n */\nimport React, { useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport useUpdateEffect from 'ahooks/es/useUpdateEffect';\nimport useSetState from 'ahooks/es/useSetState';\nimport CloseOutlined from '@ant-design/icons/CloseOutlined';\nimport FullscreenExitOutlined from '@ant-design/icons/FullscreenExitOutlined';\nimport FullscreenOutlined from '@ant-design/icons/FullscreenOutlined';\nimport classnames from 'classnames';\nimport Modal from 'antd/lib/modal';\nimport Title from './Title';\n\n// 对话框位置初始参数\nconst initDragArg = {\n init_x: 0,\n init_y: 0,\n x_move: 0,\n y_move: 0,\n documentMouseMove: null,\n documentMouseUp: null,\n};\n\n// 全屏参数\nconst initFullScreen = {\n isFull: false,\n className: '',\n};\n\nfunction VtxModal(props) {\n const [fullScreen, setFullScreen] = useSetState(initFullScreen); // 是否是全屏状态\n const [dragArg, setDragArg] = useSetState(initDragArg); // 拖动配置\n const classId = useRef(new Date().getTime() + Math.random());\n\n let {\n wrapClassName = '',\n closable = true, // 是否显示右上角关闭按钮\n title = '', // 对话框title\n maximize = false, // 是否显示对话框全屏按钮\n onModalResize, // 对话框全屏回调\n moveable = false, // 对话框是否允许拖动\n } = props;\n\n // 监听对话框大小变化回调(忽略首次执行)\n useUpdateEffect(() => {\n const timer = setTimeout(() => {\n if (onModalResize && typeof onModalResize === 'function') {\n const el = document.getElementsByClassName('ant-modal-body')[0];\n const option = {\n height: window.getComputedStyle(el).height,\n isFull: fullScreen.isFull,\n };\n onModalResize(option);\n }\n }, 100);\n return () => clearTimeout(timer);\n }, [fullScreen.isFull]);\n\n // 拖拽\n useEffect(() => {\n if (props.visible && moveable) {\n const timer = setTimeout(() => {\n const modalHead = document\n .getElementsByClassName(classId.current)?.[0]\n ?.getElementsByClassName('ant-modal-header')?.[0];\n if (modalHead) {\n modalHead.style.cursor = 'move';\n modalHead.onmousedown = startDrag;\n }\n }, 200);\n return () => clearTimeout(timer);\n }\n });\n\n const startDrag = e => {\n e.preventDefault();\n // 全屏模式下禁止拖拽\n if (!fullScreen.isFull) {\n setDragArg({\n documentMouseUp: document.onmouseup,\n documentMouseMove: document.onmousemove,\n init_x: e.clientX - dragArg.x_move,\n init_y: e.clientY - dragArg.y_move,\n });\n document.onmousemove = e => {\n setDragArg(prev => ({\n x_move: e.clientX - prev.init_x,\n y_move: e.clientY - prev.init_y,\n }));\n };\n document.onmouseup = () => {\n document.onmousemove = dragArg.documentMouseMove;\n document.onmouseup = dragArg.documentMouseUp;\n };\n }\n };\n\n // 关闭对话框,初始化位置\n const onCancel = () => {\n if (props.onCancel && typeof props.onCancel === 'function') {\n props.onCancel();\n // TODO 关闭弹框会闪一下,待解决\n setDragArg(initDragArg);\n setFullScreen(initFullScreen);\n }\n };\n\n /*\n *重写title,加入对话框全屏功能\n */\n title = (function renderTitle() {\n return (\n <div className=\"vtx-modal-title\" style={{ paddingRight: closable ? '32px' : '0px' }}>\n <div className=\"vtx-modal-title_name\">{title}</div>\n {maximize ? (\n <div className=\"vtx-modal-maximizeIcon\">\n <p\n onClick={() => {\n let fullScreenClass = '';\n if (!fullScreen.isFull) {\n fullScreenClass = 'vtx-modal-maxClass';\n }\n setFullScreen({\n isFull: !fullScreen.isFull,\n className: fullScreenClass,\n });\n }}\n >\n {fullScreen.isFull ? (\n <FullscreenExitOutlined />\n ) : (\n <FullscreenOutlined />\n )}\n </p>\n </div>\n ) : null}\n {closable ? (\n <div className=\"vtx-modal-close\">\n <p onClick={onCancel}>\n {/* <Icon type=\"close\" /> */}\n <CloseOutlined />\n </p>\n </div>\n ) : (\n ''\n )}\n </div>\n );\n })();\n\n let bodyStyle = {\n ...props.bodyStyle,\n };\n\n /* 限制最大高度 */\n if (!fullScreen.isFull) {\n bodyStyle = {\n maxHeight: `${window.innerHeight * 0.7}px`,\n ...bodyStyle,\n };\n }\n\n const transformStyle = {\n transform: `translate(${dragArg.x_move}px,${dragArg.y_move}px)`,\n };\n\n const newProps = {\n maskClosable: false,\n destroyOnClose: true,\n width: 700,\n ...props,\n closable: false,\n title,\n wrapClassName: classnames(\n 'vtx-modal',\n wrapClassName,\n fullScreen.className,\n classId.current,\n ),\n bodyStyle,\n onCancel,\n style: {\n ...props.style,\n ...(fullScreen.isFull ? {} : transformStyle),\n },\n };\n\n return <Modal {...newProps}>{props.children}</Modal>;\n}\n\nVtxModal.info = Modal.info;\nVtxModal.success = Modal.success;\nVtxModal.error = Modal.error;\nVtxModal.warning = Modal.warning;\nVtxModal.confirm = Modal.confirm;\n\nVtxModal.propTypes = {\n visible: PropTypes.bool,\n wrapClassName: PropTypes.string,\n closable: PropTypes.bool,\n title: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),\n maximize: PropTypes.bool,\n onModalResize: PropTypes.func,\n moveable: PropTypes.bool,\n onCancel: PropTypes.func,\n bodyStyle: PropTypes.object,\n style: PropTypes.object,\n children: PropTypes.node,\n};\n\nVtxModal.Title = Title;\n\nconst size = {\n xsmall: 392,\n small: 500,\n middle: 744,\n large: 1096,\n};\n\nVtxModal.size = size;\n\nexport default VtxModal;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["initDragArg","init_x","init_y","x_move","y_move","documentMouseMove","documentMouseUp","initFullScreen","isFull","className","VtxModal","props","useSetState","fullScreen","setFullScreen","dragArg","setDragArg","classId","useRef","Date","getTime","Math","random","wrapClassName","closable","title","maximize","onModalResize","moveable","useUpdateEffect","timer","setTimeout","el","document","getElementsByClassName","option","height","window","getComputedStyle","clearTimeout","useEffect","visible","modalHead","current","style","cursor","onmousedown","startDrag","e","preventDefault","onmouseup","onmousemove","clientX","clientY","prev","onCancel","renderTitle","paddingRight","fullScreenClass","bodyStyle","maxHeight","innerHeight","transformStyle","transform","newProps","maskClosable","destroyOnClose","width","classnames","children","info","Modal","success","error","warning","confirm","propTypes","PropTypes","bool","string","oneOfType","element","func","object","node","Title","size","xsmall","small","middle","large"],"sources":["vtx-modal/index.jsx"],"sourcesContent":["/*\r\n * @Author: chenxinyu\r\n * @Date: 2021-03-24 21:47:52\r\n * @LastEditors: your name\r\n * @LastEditTime: 2022-01-15 22:13:58\r\n * @Description: 对话框组件\r\n * @FilePath: \\react-components\\components\\vtx-modal\\index.jsx\r\n */\r\nimport React, { useEffect, useRef } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport useUpdateEffect from 'ahooks/es/useUpdateEffect';\r\nimport useSetState from 'ahooks/es/useSetState';\r\nimport CloseOutlined from '@ant-design/icons/CloseOutlined';\r\nimport FullscreenExitOutlined from '@ant-design/icons/FullscreenExitOutlined';\r\nimport FullscreenOutlined from '@ant-design/icons/FullscreenOutlined';\r\nimport classnames from 'classnames';\r\nimport Modal from 'antd/lib/modal';\r\nimport Title from './Title';\r\n\r\n// 对话框位置初始参数\r\nconst initDragArg = {\r\n init_x: 0,\r\n init_y: 0,\r\n x_move: 0,\r\n y_move: 0,\r\n documentMouseMove: null,\r\n documentMouseUp: null,\r\n};\r\n\r\n// 全屏参数\r\nconst initFullScreen = {\r\n isFull: false,\r\n className: '',\r\n};\r\n\r\nfunction VtxModal(props) {\r\n const [fullScreen, setFullScreen] = useSetState(initFullScreen); // 是否是全屏状态\r\n const [dragArg, setDragArg] = useSetState(initDragArg); // 拖动配置\r\n const classId = useRef(new Date().getTime() + Math.random());\r\n\r\n let {\r\n wrapClassName = '',\r\n closable = true, // 是否显示右上角关闭按钮\r\n title = '', // 对话框title\r\n maximize = false, // 是否显示对话框全屏按钮\r\n onModalResize, // 对话框全屏回调\r\n moveable = false, // 对话框是否允许拖动\r\n } = props;\r\n\r\n // 监听对话框大小变化回调(忽略首次执行)\r\n useUpdateEffect(() => {\r\n const timer = setTimeout(() => {\r\n if (onModalResize && typeof onModalResize === 'function') {\r\n const el = document.getElementsByClassName('ant-modal-body')[0];\r\n const option = {\r\n height: window.getComputedStyle(el).height,\r\n isFull: fullScreen.isFull,\r\n };\r\n onModalResize(option);\r\n }\r\n }, 100);\r\n return () => clearTimeout(timer);\r\n }, [fullScreen.isFull]);\r\n\r\n // 拖拽\r\n useEffect(() => {\r\n if (props.visible && moveable) {\r\n const timer = setTimeout(() => {\r\n const modalHead = document\r\n .getElementsByClassName(classId.current)?.[0]\r\n ?.getElementsByClassName('ant-modal-header')?.[0];\r\n if (modalHead) {\r\n modalHead.style.cursor = 'move';\r\n modalHead.onmousedown = startDrag;\r\n }\r\n }, 200);\r\n return () => clearTimeout(timer);\r\n }\r\n });\r\n\r\n const startDrag = e => {\r\n e.preventDefault();\r\n // 全屏模式下禁止拖拽\r\n if (!fullScreen.isFull) {\r\n setDragArg({\r\n documentMouseUp: document.onmouseup,\r\n documentMouseMove: document.onmousemove,\r\n init_x: e.clientX - dragArg.x_move,\r\n init_y: e.clientY - dragArg.y_move,\r\n });\r\n document.onmousemove = e => {\r\n setDragArg(prev => ({\r\n x_move: e.clientX - prev.init_x,\r\n y_move: e.clientY - prev.init_y,\r\n }));\r\n };\r\n document.onmouseup = () => {\r\n document.onmousemove = dragArg.documentMouseMove;\r\n document.onmouseup = dragArg.documentMouseUp;\r\n };\r\n }\r\n };\r\n\r\n // 关闭对话框,初始化位置\r\n const onCancel = () => {\r\n if (props.onCancel && typeof props.onCancel === 'function') {\r\n props.onCancel();\r\n // TODO 关闭弹框会闪一下,待解决\r\n setDragArg(initDragArg);\r\n setFullScreen(initFullScreen);\r\n }\r\n };\r\n\r\n /*\r\n *重写title,加入对话框全屏功能\r\n */\r\n title = (function renderTitle() {\r\n return (\r\n <div className=\"vtx-modal-title\" style={{ paddingRight: closable ? '32px' : '0px' }}>\r\n <div className=\"vtx-modal-title_name\">{title}</div>\r\n {maximize ? (\r\n <div className=\"vtx-modal-maximizeIcon\">\r\n <p\r\n onClick={() => {\r\n let fullScreenClass = '';\r\n if (!fullScreen.isFull) {\r\n fullScreenClass = 'vtx-modal-maxClass';\r\n }\r\n setFullScreen({\r\n isFull: !fullScreen.isFull,\r\n className: fullScreenClass,\r\n });\r\n }}\r\n >\r\n {fullScreen.isFull ? (\r\n <FullscreenExitOutlined />\r\n ) : (\r\n <FullscreenOutlined />\r\n )}\r\n </p>\r\n </div>\r\n ) : null}\r\n {closable ? (\r\n <div className=\"vtx-modal-close\">\r\n <p onClick={onCancel}>\r\n {/* <Icon type=\"close\" /> */}\r\n <CloseOutlined />\r\n </p>\r\n </div>\r\n ) : (\r\n ''\r\n )}\r\n </div>\r\n );\r\n })();\r\n\r\n let bodyStyle = {\r\n ...props.bodyStyle,\r\n };\r\n\r\n /* 限制最大高度 */\r\n if (!fullScreen.isFull) {\r\n bodyStyle = {\r\n maxHeight: `${window.innerHeight * 0.7}px`,\r\n ...bodyStyle,\r\n };\r\n }\r\n\r\n const transformStyle = {\r\n transform: `translate(${dragArg.x_move}px,${dragArg.y_move}px)`,\r\n };\r\n\r\n const newProps = {\r\n maskClosable: false,\r\n destroyOnClose: true,\r\n width: 700,\r\n ...props,\r\n closable: false,\r\n title,\r\n wrapClassName: classnames(\r\n 'vtx-modal',\r\n wrapClassName,\r\n fullScreen.className,\r\n classId.current,\r\n ),\r\n bodyStyle,\r\n onCancel,\r\n style: {\r\n ...props.style,\r\n ...(fullScreen.isFull ? {} : transformStyle),\r\n },\r\n };\r\n\r\n return <Modal {...newProps}>{props.children}</Modal>;\r\n}\r\n\r\nVtxModal.info = Modal.info;\r\nVtxModal.success = Modal.success;\r\nVtxModal.error = Modal.error;\r\nVtxModal.warning = Modal.warning;\r\nVtxModal.confirm = Modal.confirm;\r\n\r\nVtxModal.propTypes = {\r\n visible: PropTypes.bool,\r\n wrapClassName: PropTypes.string,\r\n closable: PropTypes.bool,\r\n title: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),\r\n maximize: PropTypes.bool,\r\n onModalResize: PropTypes.func,\r\n moveable: PropTypes.bool,\r\n onCancel: PropTypes.func,\r\n bodyStyle: PropTypes.object,\r\n style: PropTypes.object,\r\n children: PropTypes.node,\r\n};\r\n\r\nVtxModal.Title = Title;\r\n\r\nconst size = {\r\n xsmall: 392,\r\n small: 500,\r\n middle: 744,\r\n large: 1096,\r\n};\r\n\r\nVtxModal.size = size;\r\n\r\nexport default VtxModal;\r\n"],"mappings":";;;;;;;;;AAQA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;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 +1 @@
1
- {"version":3,"sources":["vtx-modal/style/index.js"],"names":[],"mappings":";;AAAA;;AACA","sourcesContent":["import 'antd/lib/modal/style';\nimport './index.less';\n"],"file":"css.js"}
1
+ {"version":3,"file":"css.js","names":[],"sources":["vtx-modal/style/index.js"],"sourcesContent":["import 'antd/lib/modal/style';\r\nimport './index.less';\r\n"],"mappings":";;AAAA;;AACA"}
@@ -65,12 +65,16 @@
65
65
  right: 20px;
66
66
  }
67
67
  .vtx-modal-header-title .vtx-modal-header-text {
68
- color: rgba(0, 0, 0, 0.65);
69
68
  font-weight: 400;
70
69
  }
70
+ .vtx-modal-header-title .vtx-modal-header-text {
71
+ color: rgba(0, 0, 0, 0.65);
72
+ }
71
73
  .vtx-modal-header-title .vtx-modal-header-text + .vtx-modal-header-subtitle::before {
72
74
  margin: 0 4px;
73
- color: rgba(0, 0, 0, 0.65);
74
75
  font-weight: 400;
75
76
  content: '>';
76
77
  }
78
+ .vtx-modal-header-title .vtx-modal-header-text + .vtx-modal-header-subtitle::before {
79
+ color: rgba(0, 0, 0, 0.65);
80
+ }
@@ -1 +1 @@
1
- {"version":3,"sources":["vtx-modal/style/index.js"],"names":[],"mappings":";;AAAA;;AACA","sourcesContent":["import 'antd/lib/modal/style';\nimport './index.less';\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["vtx-modal/style/index.js"],"sourcesContent":["import 'antd/lib/modal/style';\r\nimport './index.less';\r\n"],"mappings":";;AAAA;;AACA"}
@@ -1,85 +1,95 @@
1
- @import (reference) '~antd/lib/style/themes/index.less';
2
-
3
- .vtx-modal-maxClass {
4
- .ant-modal {
5
- top: 0 !important;
6
- left: 0 !important;
7
- width: 100% !important;
8
- height: 100% !important;
9
- padding-bottom: 0 !important;
10
- overflow: hidden;
11
- }
12
- .ant-modal-body {
13
- height: e('calc(100% - 108px)') !important;
14
- }
15
- }
16
- .vtx-modal {
17
- .ant-modal {
18
- top: 10%;
19
- padding-bottom: 0;
20
- .ant-modal-content {
21
- height: 100%;
22
- .ant-modal-body {
23
- max-height: e('calc(100% - 108px)');
24
- padding: 20px 24px;
25
- overflow: auto;
26
- }
27
- }
28
- }
29
- .vtx-modal-title {
30
- position: relative;
31
- width: 100%;
32
- .vtx-modal-title_name {
33
- width: 100%;
34
- color: @primary-color;
35
- }
36
- .vtx-modal-close,
37
- .vtx-modal-maximizeIcon {
38
- position: absolute;
39
- top: -13px;
40
- right: -16px;
41
- p {
42
- position: absolute;
43
- top: 0;
44
- right: 0;
45
- z-index: 10;
46
- display: inline-block;
47
- width: 36px;
48
- height: 48px;
49
- color: @text-color-secondary;
50
- font-weight: 700;
51
- line-height: 48px;
52
- text-align: center;
53
- text-decoration: none;
54
- background: transparent;
55
- border: 0;
56
- outline: 0;
57
- cursor: pointer;
58
- -webkit-transition: color 0.3s ease;
59
- transition: color 0.3s ease;
60
- &:hover {
61
- color: @icon-color-hover;
62
- text-decoration: none;
63
- }
64
- }
65
- }
66
- .vtx-modal-maximizeIcon {
67
- right: 20px;
68
- }
69
- }
70
- }
71
-
72
- .vtx-modal-header-title {
73
- .vtx-modal-header-text {
74
- color: fade(@black, 65%);
75
- font-weight: 400;
76
- }
77
- .vtx-modal-header-text + .vtx-modal-header-subtitle {
78
- &::before {
79
- margin: 0 4px;
80
- color: fade(@black, 65%);
81
- font-weight: 400;
82
- content: '>';
83
- }
84
- }
85
- }
1
+ @import (reference) '~antd/lib/style/themes/index.less';
2
+
3
+ .vtx-modal-maxClass {
4
+ .ant-modal {
5
+ top: 0 !important;
6
+ left: 0 !important;
7
+ width: 100% !important;
8
+ height: 100% !important;
9
+ padding-bottom: 0 !important;
10
+ overflow: hidden;
11
+ }
12
+ .ant-modal-body {
13
+ height: e('calc(100% - 108px)') !important;
14
+ }
15
+ }
16
+ .vtx-modal {
17
+ .ant-modal {
18
+ top: 10%;
19
+ padding-bottom: 0;
20
+ .ant-modal-content {
21
+ height: 100%;
22
+ .ant-modal-body {
23
+ max-height: e('calc(100% - 108px)');
24
+ padding: 20px 24px;
25
+ overflow: auto;
26
+ }
27
+ }
28
+ }
29
+ .vtx-modal-title {
30
+ position: relative;
31
+ width: 100%;
32
+ .vtx-modal-title_name {
33
+ width: 100%;
34
+ color: @primary-color;
35
+ }
36
+ .vtx-modal-close,
37
+ .vtx-modal-maximizeIcon {
38
+ position: absolute;
39
+ top: -13px;
40
+ right: -16px;
41
+ p {
42
+ position: absolute;
43
+ top: 0;
44
+ right: 0;
45
+ z-index: 10;
46
+ display: inline-block;
47
+ width: 36px;
48
+ height: 48px;
49
+ color: @text-color-secondary;
50
+ font-weight: 700;
51
+ line-height: 48px;
52
+ text-align: center;
53
+ text-decoration: none;
54
+ background: transparent;
55
+ border: 0;
56
+ outline: 0;
57
+ cursor: pointer;
58
+ -webkit-transition: color 0.3s ease;
59
+ transition: color 0.3s ease;
60
+ &:hover {
61
+ color: @icon-color-hover;
62
+ text-decoration: none;
63
+ }
64
+ }
65
+ }
66
+ .vtx-modal-maximizeIcon {
67
+ right: 20px;
68
+ }
69
+ }
70
+ }
71
+
72
+ .vtx-modal-header-title {
73
+ .vtx-modal-header-text {
74
+ font-weight: 400;
75
+ }
76
+ .vtx-modal-header-text when(@theme=dark) {
77
+ color: @text-color;
78
+ }
79
+ .vtx-modal-header-text when(@theme=default) {
80
+ color: fade(@black, 65%);
81
+ }
82
+ .vtx-modal-header-text + .vtx-modal-header-subtitle {
83
+ &::before {
84
+ margin: 0 4px;
85
+ font-weight: 400;
86
+ content: '>';
87
+ }
88
+ &::before when(@theme=dark) {
89
+ color: @text-color;
90
+ }
91
+ &::before when(@theme=default) {
92
+ color: fade(@black, 65%);
93
+ }
94
+ }
95
+ }
@@ -11,8 +11,8 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
13
 
14
- /**
15
- * 基础布局
14
+ /**
15
+ * 基础布局
16
16
  */
17
17
  function Basic(props) {
18
18
  var className = props.className,
@@ -1 +1 @@
1
- {"version":3,"sources":["vtx-page-layout/Basic.jsx"],"names":["Basic","props","className","style","children","propTypes","PropTypes","object","string","node"],"mappings":";;;;;;;AAGA;;AACA;;;;AAJA;AACA;AACA;AAIA,SAASA,KAAT,CAAeC,KAAf,EAAsB;AAClB,MAAQC,SAAR,GAA6BD,KAA7B,CAAQC,SAAR;AAAA,MAAmBC,KAAnB,GAA6BF,KAA7B,CAAmBE,KAAnB;AAEA,sBACI;AAAK,IAAA,KAAK,EAAEA,KAAZ;AAAmB,IAAA,SAAS,EAAED;AAA9B,KACKD,KAAK,CAACG,QADX,CADJ;AAKH;;AAEDJ,KAAK,CAACK,SAAN,GAAkB;AACdF,EAAAA,KAAK,EAAEG,sBAAUC,MADH;AAEdL,EAAAA,SAAS,EAAEI,sBAAUE,MAFP;AAGdJ,EAAAA,QAAQ,EAAEE,sBAAUG;AAHN,CAAlB;eAMeT,K","sourcesContent":["/**\n * 基础布局\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nfunction Basic(props) {\n const { className, style } = props;\n\n return (\n <div style={style} className={className}>\n {props.children}\n </div>\n );\n}\n\nBasic.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n children: PropTypes.node,\n};\n\nexport default Basic;\n"],"file":"Basic.js"}
1
+ {"version":3,"file":"Basic.js","names":["Basic","props","className","style","children","propTypes","PropTypes","object","string","node"],"sources":["vtx-page-layout/Basic.jsx"],"sourcesContent":["/**\r\n * 基础布局\r\n */\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nfunction Basic(props) {\r\n const { className, style } = props;\r\n\r\n return (\r\n <div style={style} className={className}>\r\n {props.children}\r\n </div>\r\n );\r\n}\r\n\r\nBasic.propTypes = {\r\n style: PropTypes.object,\r\n className: PropTypes.string,\r\n children: PropTypes.node,\r\n};\r\n\r\nexport default Basic;\r\n"],"mappings":";;;;;;;AAGA;;AACA;;;;AAJA;AACA;AACA;AAIA,SAASA,KAAT,CAAeC,KAAf,EAAsB;EAClB,IAAQC,SAAR,GAA6BD,KAA7B,CAAQC,SAAR;EAAA,IAAmBC,KAAnB,GAA6BF,KAA7B,CAAmBE,KAAnB;EAEA,oBACI;IAAK,KAAK,EAAEA,KAAZ;IAAmB,SAAS,EAAED;EAA9B,GACKD,KAAK,CAACG,QADX,CADJ;AAKH;;AAEDJ,KAAK,CAACK,SAAN,GAAkB;EACdF,KAAK,EAAEG,qBAAA,CAAUC,MADH;EAEdL,SAAS,EAAEI,qBAAA,CAAUE,MAFP;EAGdJ,QAAQ,EAAEE,qBAAA,CAAUG;AAHN,CAAlB;eAMeT,K"}
@@ -1 +1 @@
1
- {"version":3,"sources":["vtx-page-layout/Content.jsx"],"names":["Content","props","id","className","style","relative","scrollY","height","contentClass","newStyle","children","propTypes","PropTypes","string","object","bool","oneOfType","number","node"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;AAEA,SAASA,OAAT,CAAiBC,KAAjB,EAAwB;AAAA;;AACpB,MAAQC,EAAR,GAA4ED,KAA5E,CAAQC,EAAR;AAAA,MAAYC,SAAZ,GAA4EF,KAA5E,CAAYE,SAAZ;AAAA,MAAuBC,KAAvB,GAA4EH,KAA5E,CAAuBG,KAAvB;AAAA,wBAA4EH,KAA5E,CAA8BI,QAA9B;AAAA,MAA8BA,QAA9B,gCAAyC,KAAzC;AAAA,uBAA4EJ,KAA5E,CAAgDK,OAAhD;AAAA,MAAgDA,OAAhD,+BAA0D,KAA1D;AAAA,MAAiEC,MAAjE,GAA4EN,KAA5E,CAAiEM,MAAjE;AAEA,MAAMC,YAAY,GAAG,6EAEZ,sBAFY,EAEa,CAACH,QAFd,gCAGZ,sBAHY,EAGaA,QAHb,gCAIZ,sBAJY,EAIaC,OAJb,iBAMjBH,SANiB,CAArB;AASA,MAAIM,QAAQ,GAAGL,KAAf;;AACA,MAAI,YAAYH,KAAhB,EAAuB;AACnBQ,IAAAA,QAAQ,mCACDA,QADC;AAEJF,MAAAA,MAAM,EAAEA;AAFJ,MAAR;AAIH;;AAED,sBACI;AAAK,IAAA,EAAE,EAAEL,EAAT;AAAa,IAAA,KAAK,EAAEO,QAApB;AAA8B,IAAA,SAAS,EAAED;AAAzC,KACKP,KAAK,CAACS,QADX,CADJ;AAKH;;eAEcV,O;;AAEfA,OAAO,CAACW,SAAR,GAAoB;AAChBT,EAAAA,EAAE,EAAEU,sBAAUC,MADE;AAEhBT,EAAAA,KAAK,EAAEQ,sBAAUE,MAFD;AAGhBX,EAAAA,SAAS,EAAES,sBAAUC,MAHL;AAIhBR,EAAAA,QAAQ,EAAEO,sBAAUG,IAJJ;AAKhBT,EAAAA,OAAO,EAAEM,sBAAUG,IALH;AAMhBR,EAAAA,MAAM,EAAEK,sBAAUI,SAAV,CAAoB,CAACJ,sBAAUC,MAAX,EAAmBD,sBAAUK,MAA7B,CAApB,CANQ;AAOhBP,EAAAA,QAAQ,EAAEE,sBAAUM;AAPJ,CAApB","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\n\nfunction Content(props) {\n const { id, className, style, relative = false, scrollY = false, height } = props;\n\n const contentClass = classnames(\n {\n ['vtx-content-absolute']: !relative,\n ['vtx-content-relative']: relative,\n ['vtx-content-scroll-y']: scrollY,\n },\n className,\n );\n\n let newStyle = style;\n if ('height' in props) {\n newStyle = {\n ...newStyle,\n height: height,\n };\n }\n\n return (\n <div id={id} style={newStyle} className={contentClass}>\n {props.children}\n </div>\n );\n}\n\nexport default Content;\n\nContent.propTypes = {\n id: PropTypes.string,\n style: PropTypes.object,\n className: PropTypes.string,\n relative: PropTypes.bool,\n scrollY: PropTypes.bool,\n height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n children: PropTypes.node,\n};\n"],"file":"Content.js"}
1
+ {"version":3,"file":"Content.js","names":["Content","props","id","className","style","relative","scrollY","height","contentClass","classnames","newStyle","children","propTypes","PropTypes","string","object","bool","oneOfType","number","node"],"sources":["vtx-page-layout/Content.jsx"],"sourcesContent":["import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classnames from 'classnames';\r\n\r\nfunction Content(props) {\r\n const { id, className, style, relative = false, scrollY = false, height } = props;\r\n\r\n const contentClass = classnames(\r\n {\r\n ['vtx-content-absolute']: !relative,\r\n ['vtx-content-relative']: relative,\r\n ['vtx-content-scroll-y']: scrollY,\r\n },\r\n className,\r\n );\r\n\r\n let newStyle = style;\r\n if ('height' in props) {\r\n newStyle = {\r\n ...newStyle,\r\n height: height,\r\n };\r\n }\r\n\r\n return (\r\n <div id={id} style={newStyle} className={contentClass}>\r\n {props.children}\r\n </div>\r\n );\r\n}\r\n\r\nexport default Content;\r\n\r\nContent.propTypes = {\r\n id: PropTypes.string,\r\n style: PropTypes.object,\r\n className: PropTypes.string,\r\n relative: PropTypes.bool,\r\n scrollY: PropTypes.bool,\r\n height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n children: PropTypes.node,\r\n};\r\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;AAEA,SAASA,OAAT,CAAiBC,KAAjB,EAAwB;EAAA;;EACpB,IAAQC,EAAR,GAA4ED,KAA5E,CAAQC,EAAR;EAAA,IAAYC,SAAZ,GAA4EF,KAA5E,CAAYE,SAAZ;EAAA,IAAuBC,KAAvB,GAA4EH,KAA5E,CAAuBG,KAAvB;EAAA,sBAA4EH,KAA5E,CAA8BI,QAA9B;EAAA,IAA8BA,QAA9B,gCAAyC,KAAzC;EAAA,qBAA4EJ,KAA5E,CAAgDK,OAAhD;EAAA,IAAgDA,OAAhD,+BAA0D,KAA1D;EAAA,IAAiEC,MAAjE,GAA4EN,KAA5E,CAAiEM,MAAjE;EAEA,IAAMC,YAAY,GAAG,IAAAC,uBAAA,kDAEZ,sBAFY,EAEa,CAACJ,QAFd,gCAGZ,sBAHY,EAGaA,QAHb,gCAIZ,sBAJY,EAIaC,OAJb,iBAMjBH,SANiB,CAArB;EASA,IAAIO,QAAQ,GAAGN,KAAf;;EACA,IAAI,YAAYH,KAAhB,EAAuB;IACnBS,QAAQ,mCACDA,QADC;MAEJH,MAAM,EAAEA;IAFJ,EAAR;EAIH;;EAED,oBACI;IAAK,EAAE,EAAEL,EAAT;IAAa,KAAK,EAAEQ,QAApB;IAA8B,SAAS,EAAEF;EAAzC,GACKP,KAAK,CAACU,QADX,CADJ;AAKH;;eAEcX,O;;AAEfA,OAAO,CAACY,SAAR,GAAoB;EAChBV,EAAE,EAAEW,qBAAA,CAAUC,MADE;EAEhBV,KAAK,EAAES,qBAAA,CAAUE,MAFD;EAGhBZ,SAAS,EAAEU,qBAAA,CAAUC,MAHL;EAIhBT,QAAQ,EAAEQ,qBAAA,CAAUG,IAJJ;EAKhBV,OAAO,EAAEO,qBAAA,CAAUG,IALH;EAMhBT,MAAM,EAAEM,qBAAA,CAAUI,SAAV,CAAoB,CAACJ,qBAAA,CAAUC,MAAX,EAAmBD,qBAAA,CAAUK,MAA7B,CAApB,CANQ;EAOhBP,QAAQ,EAAEE,qBAAA,CAAUM;AAPJ,CAApB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["vtx-page-layout/Pane.jsx"],"names":["Left","props","className","style","children","propTypes","PropTypes","object","string","node","Right"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;AAEA,IAAMA,IAAI,GAAG,SAAPA,IAAO,CAAAC,KAAK,EAAI;AAClB,MAAQC,SAAR,GAA6BD,KAA7B,CAAQC,SAAR;AAAA,MAAmBC,KAAnB,GAA6BF,KAA7B,CAAmBE,KAAnB;AAEA,sBACI;AAAK,IAAA,KAAK,EAAEA,KAAZ;AAAmB,IAAA,SAAS,EAAE,4BAAY,gBAAZ,EAA8BD,SAA9B;AAA9B,KACKD,KAAK,CAACG,QADX,CADJ;AAKH,CARD;;AAUAJ,IAAI,CAACK,SAAL,GAAiB;AACbF,EAAAA,KAAK,EAAEG,sBAAUC,MADJ;AAEbL,EAAAA,SAAS,EAAEI,sBAAUE,MAFR;AAGbJ,EAAAA,QAAQ,EAAEE,sBAAUG;AAHP,CAAjB;;AAMA,IAAMC,KAAK,GAAG,SAARA,KAAQ,CAAAT,KAAK,EAAI;AACnB,MAAQC,SAAR,GAA6BD,KAA7B,CAAQC,SAAR;AAAA,MAAmBC,KAAnB,GAA6BF,KAA7B,CAAmBE,KAAnB;AAEA,sBACI;AAAK,IAAA,KAAK,EAAEA,KAAZ;AAAmB,IAAA,SAAS,EAAE,4BAAY,iBAAZ,EAA+BD,SAA/B;AAA9B,KACKD,KAAK,CAACG,QADX,CADJ;AAKH,CARD;;AAUAM,KAAK,CAACL,SAAN,GAAkB;AACdF,EAAAA,KAAK,EAAEG,sBAAUC,MADH;AAEdL,EAAAA,SAAS,EAAEI,sBAAUE,MAFP;AAGdJ,EAAAA,QAAQ,EAAEE,sBAAUG;AAHN,CAAlB;eAMe;AAAET,EAAAA,IAAI,EAAJA,IAAF;AAAQU,EAAAA,KAAK,EAALA;AAAR,C","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"],"file":"Pane.js"}
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';\r\nimport PropTypes from 'prop-types';\r\nimport classsnames from 'classnames';\r\n\r\nconst Left = props => {\r\n const { className, style } = props;\r\n\r\n return (\r\n <div style={style} className={classsnames('vtx-table-left', className)}>\r\n {props.children}\r\n </div>\r\n );\r\n};\r\n\r\nLeft.propTypes = {\r\n style: PropTypes.object,\r\n className: PropTypes.string,\r\n children: PropTypes.node,\r\n};\r\n\r\nconst Right = props => {\r\n const { className, style } = props;\r\n\r\n return (\r\n <div style={style} className={classsnames('vtx-table-right', className)}>\r\n {props.children}\r\n </div>\r\n );\r\n};\r\n\r\nRight.propTypes = {\r\n style: PropTypes.object,\r\n className: PropTypes.string,\r\n children: PropTypes.node,\r\n};\r\n\r\nexport default { Left, Right };\r\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"}
@@ -48,9 +48,9 @@ exports.StoreCtx = StoreCtx;
48
48
  var pagePaddingTop = 16;
49
49
  var searchMarginBottom = 16; // eslint-disable-next-line valid-jsdoc
50
50
 
51
- /**
52
- * 页面
53
- * @param {*} props
51
+ /**
52
+ * 页面
53
+ * @param {*} props
54
54
  */
55
55
 
56
56
  var Page = function Page(props) {
@@ -84,17 +84,17 @@ Page.propTypes = {
84
84
  children: _propTypes["default"].node,
85
85
  onSearchCollapse: _propTypes["default"].func
86
86
  };
87
- /**
88
- * 搜索
87
+ /**
88
+ * 搜索
89
89
  */
90
90
 
91
91
  var Search = (0, _container["default"])({
92
92
  componentClass: 'vtx-table-search'
93
93
  })(_Basic["default"]); // eslint-disable-next-line valid-jsdoc
94
94
 
95
- /**
96
- * 内容
97
- * @param {*} props
95
+ /**
96
+ * 内容
97
+ * @param {*} props
98
98
  */
99
99
 
100
100
  var Content = function Content(props) {
@@ -118,8 +118,8 @@ Content.propTypes = {
118
118
  children: _propTypes["default"].node
119
119
  }; // eslint-disable-next-line valid-jsdoc
120
120
 
121
- /**
122
- * 表格布局
121
+ /**
122
+ * 表格布局
123
123
  */
124
124
 
125
125
  var Table = function Table(props) {
@@ -1 +1 @@
1
- {"version":3,"sources":["vtx-page-layout/TableLayout.jsx"],"names":["StoreCtx","pagePaddingTop","searchMarginBottom","Page","props","searchHeight","setSearchHeight","onSearchCollapse","searchCollapseEvent$","store","onCollapse","height","emit","className","style","children","propTypes","PropTypes","object","string","node","func","Search","componentClass","Basic","Content","top","Table","React","cloneElement","Card"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;AACO,IAAMA,QAAQ,gBAAG,0BAAc,EAAd,CAAjB;;AAEP,IAAMC,cAAc,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N,CAAlB;;AAMA,IAAMU,IAAI,GAAG,SAAPA,IAAO,CAAA1B,KAAK,EAAI;AAClB,MAAQS,SAAR,GAA6BT,KAA7B,CAAQS,SAAR;AAAA,MAAmBC,KAAnB,GAA6BV,KAA7B,CAAmBU,KAAnB;AAEA,sBACI;AAAK,IAAA,KAAK,EAAEA,KAAZ;AAAmB,IAAA,SAAS,EAAE,4BAAY,gBAAZ,EAA8BD,SAA9B;AAA9B,KACKT,KAAK,CAACW,QADX,CADJ;AAKH,CARD;;AAUAe,IAAI,CAACd,SAAL,GAAiB;AACbF,EAAAA,KAAK,EAAEG,sBAAUC,MADJ;AAEbL,EAAAA,SAAS,EAAEI,sBAAUE,MAFR;AAGbJ,EAAAA,QAAQ,EAAEE,sBAAUG;AAHP,CAAjB;eAMe;AAAEjB,EAAAA,IAAI,EAAJA,IAAF;AAAQmB,EAAAA,MAAM,EAANA,MAAR;AAAgBG,EAAAA,OAAO,EAAPA,OAAhB;AAAyBE,EAAAA,KAAK,EAAE,6BAAYA,KAAZ,CAAhC;AAAoDG,EAAAA,IAAI,EAAJA;AAApD,C","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 } = props;\n const { searchHeight } = useContext(StoreCtx);\n return (\n <div\n className={classsnames('vtx-table-content', className)}\n style={{\n top: pagePaddingTop + searchMarginBottom + searchHeight,\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};\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"],"file":"TableLayout.js"}
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","useContext","top","Table","React","cloneElement","Card"],"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 } = 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,\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};\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;;AACA;;AACA;;AAEA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;AACO,IAAMA,QAAQ,gBAAG,IAAAC,oBAAA,EAAc,EAAd,CAAjB;;AAEP,IAAMC,cAAc,GAAG,EAAvB;AACA,IAAMC,kBAAkB,GAAG,EAA3B,C,CAEA;;AACA;AACA;AACA;AACA;;AACA,IAAMC,IAAI,GAAG,SAAPA,IAAO,CAAAC,KAAK,EAAI;EAClB,gBAAwC,IAAAC,eAAA,EAAS,EAAT,CAAxC;EAAA;EAAA,IAAOC,YAAP;EAAA,IAAqBC,eAArB;;EACA,IAAQC,gBAAR,GAA6BJ,KAA7B,CAAQI,gBAAR;EACA,IAAMC,oBAAoB,GAAG,IAAAC,2BAAA,GAA7B;EACA,IAAMC,KAAK,GAAG;IACVL,YAAY,EAAZA,YADU;IAEVG,oBAAoB,EAApBA,oBAFU;IAGVG,UAHU,sBAGCC,MAHD,EAGS;MACfN,eAAe,CAACM,MAAD,CAAf;MACAL,gBAAgB,IAAIA,gBAAgB,CAACK,MAAD,CAApC;MACAJ,oBAAoB,CAACK,IAArB;IACH;EAPS,CAAd;EASA,oBACI,gCAAC,QAAD,CAAU,QAAV;IAAmB,KAAK,EAAEH;E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AYM,KAAZ,CAAhC;EAAoDG,IAAI,EAAJA;AAApD,C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["vtx-page-layout/TableWrap.jsx"],"names":["TableWrap","props","relative","height","style","className","tableClass","newStyle","children","propTypes","PropTypes","object","string","bool","number","node"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;AAEA,SAASA,SAAT,CAAmBC,KAAnB,EAA0B;AAAA;;AACtB,MAAQC,QAAR,GAA+CD,KAA/C,CAAQC,QAAR;AAAA,MAAkBC,MAAlB,GAA+CF,KAA/C,CAAkBE,MAAlB;AAAA,MAA0BC,KAA1B,GAA+CH,KAA/C,CAA0BG,KAA1B;AAAA,MAAiCC,SAAjC,GAA+CJ,KAA/C,CAAiCI,SAAjC;AAEA,MAAMC,UAAU,GAAG,6EAEV,4BAFU,EAEqB,CAACJ,QAFtB,gCAGV,4BAHU,EAGqBA,QAHrB,iBAKfG,SALe,CAAnB;AAQA,MAAIE,QAAQ,GAAGH,KAAf;;AACA,MAAIF,QAAQ,IAAI,YAAYD,KAA5B,EAAmC;AAC/BM,IAAAA,QAAQ,mCACDH,KADC;AAEJD,MAAAA,MAAM,EAAEA;AAFJ,MAAR;AAIH;;AAED,sBACI;AAAK,IAAA,SAAS,EAAEG,UAAhB;AAA4B,IAAA,KAAK,EAAEC;AAAnC,KACKN,KAAK,CAACO,QADX,CADJ;AAKH;;eAEcR,S;;AAEfA,SAAS,CAACS,SAAV,GAAsB;AAClBL,EAAAA,KAAK,EAAEM,sBAAUC,MADC;AAElBN,EAAAA,SAAS,EAAEK,sBAAUE,MAFH;AAGlBV,EAAAA,QAAQ,EAAEQ,sBAAUG,IAHF;AAIlBV,EAAAA,MAAM,EAAEO,sBAAUI,MAJA;AAKlBN,EAAAA,QAAQ,EAAEE,sBAAUK;AALF,CAAtB","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"],"file":"TableWrap.js"}
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';\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;;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"}
@@ -15,7 +15,7 @@ var _classnames2 = _interopRequireDefault(require("classnames"));
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
17
 
18
- function _extends() { _extends = Object.assign || 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); }
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); }
19
19
 
20
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
21
 
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
29
29
 
30
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
31
 
32
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
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
33
 
34
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
35
 
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
39
39
 
40
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
41
 
42
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
42
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
43
43
 
44
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
45
 
@@ -1 +1 @@
1
- {"version":3,"sources":["vtx-page-layout/container.jsx"],"names":["getDisplayName","WrappedComponend","displayName","name","Container","params","componentClass","HOCFactory","props","style","className","top","space","wrapClass","newStyle","padding","newProps","React","Component","PropTypes","number","string","object"],"mappings":";;;;;;;;;AAGA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,SAASA,cAAT,CAAwBC,gBAAxB,EAA0C;AACtC,SAAOA,gBAAgB,CAACC,WAAjB,IAAgCD,gBAAgB,CAACE,IAAjD,IAAyD,WAAhE;AACH;;AAED,SAASC,SAAT,GAAgC;AAAA,MAAbC,MAAa,uEAAJ,EAAI;AAC5B,MAAQC,cAAR,GAA2BD,MAA3B,CAAQC,cAAR;AAEA,SAAO,SAASC,UAAT,CAAoBN,gBAApB,EAAsC;AAAA;;AACzC;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,eAUI,kBAAS;AACL,4BAAyC,KAAKO,KAA9C;AAAA,cAAQC,KAAR,eAAQA,KAAR;AAAA,cAAeC,SAAf,eAAeA,SAAf;AAAA,cAA0BC,GAA1B,eAA0BA,GAA1B;AAAA,cAA+BC,KAA/B,eAA+BA,KAA/B;AAEA,cAAMC,SAAS,GAAG,iDAETP,cAFS,EAEQ,IAFR,GAIdI,SAJc,CAAlB;;AAOA,cAAMI,QAAQ;AACVH,YAAAA,GAAG,EAAHA,GADU;AAEVI,YAAAA,OAAO,EAAEH;AAFC,aAGPH,KAHO,CAAd;;AAMA,cAAMO,QAAQ,GAAG;AACbN,YAAAA,SAAS,EAAEG,SADE;AAEbJ,YAAAA,KAAK,EAAEK;AAFM,WAAjB;AAIA,8BAAO,gCAAC,gBAAD,eAAsB,KAAKN,KAA3B,EAAsCQ,QAAtC,EAAP;AACH;AA/BL;;AAAA;AAAA,MAAyBC,kBAAMC,SAA/B,wDACgClB,cAAc,CAACC,gBAAD,CAD9C,8CAGuB;AACfU,MAAAA,GAAG,EAAEQ,sBAAUC,MADA;AAEfR,MAAAA,KAAK,EAAEO,sBAAUC,MAAV,IAAoBD,sBAAUE,MAFtB;AAGfZ,MAAAA,KAAK,EAAEU,sBAAUG,MAHF;AAIfZ,MAAAA,SAAS,EAAES,sBAAUE;AAJN,KAHvB;AAiCH,GAlCD;AAmCH;;eAEcjB,S","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"],"file":"container.js"}
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":["/**\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;;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,eAAsB,KAAKP,KAA3B,EAAsCS,QAAtC,EAAP;QACH;MA/BL;;MAAA;IAAA,EAAyBC,iBAAA,CAAMC,SAA/B,wDACgCnB,cAAc,CAACC,gBAAD,CAD9C,8CAGuB;MACfU,GAAG,EAAES,qBAAA,CAAUC,MADA;MAEfT,KAAK,EAAEQ,qBAAA,CAAUC,MAAV,IAAoBD,qBAAA,CAAUE,MAFtB;MAGfb,KAAK,EAAEW,qBAAA,CAAUG,MAHF;MAIfb,SAAS,EAAEU,qBAAA,CAAUE;IAJN,CAHvB;EAiCH,CAlCD;AAmCH;;eAEclB,S"}
@@ -1 +1 @@
1
- {"version":3,"sources":["vtx-page-layout/index.jsx"],"names":["Page","componentClass","Basic","ButtonWrap","TableLayout","Pane","Content","TableWrap"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,IAAMA,IAAI,GAAG,2BAAU;AAAEC,EAAAA,cAAc,EAAE;AAAlB,CAAV,EAA0CC,iBAA1C,CAAb;AACA,IAAMC,UAAU,GAAG,2BAAU;AAAEF,EAAAA,cAAc,EAAE;AAAlB,CAAV,EAAiDC,iBAAjD,CAAnB;eAEe;AACXE,EAAAA,WAAW,EAAXA,uBADW;AAEXJ,EAAAA,IAAI,EAAJA,IAFW;AAGXG,EAAAA,UAAU,EAAVA,UAHW;AAIXE,EAAAA,IAAI,EAAJA,gBAJW;AAKXC,EAAAA,OAAO,EAAE,6BAAYA,mBAAZ,CALE;AAMXC,EAAAA,SAAS,EAAE,6BAAYA,qBAAZ;AANA,C","sourcesContent":["import container from './container';\nimport Basic from './Basic';\nimport Content from './Content';\nimport TableWrap from './TableWrap';\nimport TableLayout from './TableLayout';\nimport Pane from './Pane';\n\nconst Page = container({ componentClass: 'vtx-page' })(Basic);\nconst ButtonWrap = container({ componentClass: 'vtx-button-wrap' })(Basic);\n\nexport default {\n TableLayout,\n Page,\n ButtonWrap,\n Pane,\n Content: container()(Content),\n TableWrap: container()(TableWrap),\n};\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["Page","container","componentClass","Basic","ButtonWrap","TableLayout","Pane","Content","TableWrap"],"sources":["vtx-page-layout/index.jsx"],"sourcesContent":["import container from './container';\r\nimport Basic from './Basic';\r\nimport Content from './Content';\r\nimport TableWrap from './TableWrap';\r\nimport TableLayout from './TableLayout';\r\nimport Pane from './Pane';\r\n\r\nconst Page = container({ componentClass: 'vtx-page' })(Basic);\r\nconst ButtonWrap = container({ componentClass: 'vtx-button-wrap' })(Basic);\r\n\r\nexport default {\r\n TableLayout,\r\n Page,\r\n ButtonWrap,\r\n Pane,\r\n Content: container()(Content),\r\n TableWrap: container()(TableWrap),\r\n};\r\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,IAAMA,IAAI,GAAG,IAAAC,qBAAA,EAAU;EAAEC,cAAc,EAAE;AAAlB,CAAV,EAA0CC,iBAA1C,CAAb;AACA,IAAMC,UAAU,GAAG,IAAAH,qBAAA,EAAU;EAAEC,cAAc,EAAE;AAAlB,CAAV,EAAiDC,iBAAjD,CAAnB;eAEe;EACXE,WAAW,EAAXA,uBADW;EAEXL,IAAI,EAAJA,IAFW;EAGXI,UAAU,EAAVA,UAHW;EAIXE,IAAI,EAAJA,gBAJW;EAKXC,OAAO,EAAE,IAAAN,qBAAA,IAAYM,mBAAZ,CALE;EAMXC,SAAS,EAAE,IAAAP,qBAAA,IAAYO,qBAAZ;AANA,C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["vtx-page-layout/style/index.js"],"names":[],"mappings":";;AAAA","sourcesContent":["import './index.less';\n"],"file":"css.js"}
1
+ {"version":3,"file":"css.js","names":[],"sources":["vtx-page-layout/style/index.js"],"sourcesContent":["import './index.less';\r\n"],"mappings":";;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["vtx-page-layout/style/index.js"],"names":[],"mappings":";;AAAA","sourcesContent":["import './index.less';\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["vtx-page-layout/style/index.js"],"sourcesContent":["import './index.less';\r\n"],"mappings":";;AAAA"}