@bit-sun/business-component 2.3.22-beta1 → 2.3.22-beta10

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 (235) hide show
  1. package/.editorconfig +16 -16
  2. package/.fatherrc.ts +5 -5
  3. package/.gitlab-ci.yml +179 -179
  4. package/.prettierignore +7 -7
  5. package/.prettierrc +11 -11
  6. package/.umirc.ts +74 -74
  7. package/README.md +27 -27
  8. package/dist/components/Business/AddSelectBusiness/index.d.ts +4 -3
  9. package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +2 -1
  10. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
  11. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
  12. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +2 -1
  13. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +2 -1
  14. package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +2 -1
  15. package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +2 -1
  16. package/dist/components/Business/BsLayouts/index.d.ts +1 -1
  17. package/dist/components/Business/BsLayouts/service.d.ts +1 -1
  18. package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
  19. package/dist/components/Business/BsSulaQueryTable/index.d.ts +2 -1
  20. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +5 -5
  21. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +14 -13
  22. package/dist/components/Business/CommodityEntry/index.d.ts +2 -1
  23. package/dist/components/Business/CommonAlert/index.d.ts +2 -1
  24. package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
  25. package/dist/components/Business/DetailPageWrapper/index.d.ts +6 -5
  26. package/dist/components/Business/HomePageWrapper/index.d.ts +2 -1
  27. package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +2 -1
  28. package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +2 -1
  29. package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +2 -1
  30. package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +2 -1
  31. package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +2 -1
  32. package/dist/components/Business/StateFlow/index.d.ts +2 -1
  33. package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
  34. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +5 -5
  35. package/dist/components/Business/columnSettingTable/index.d.ts +2 -2
  36. package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +2 -2
  37. package/dist/components/Business/columnSettingTable/utils.d.ts +2 -1
  38. package/dist/components/Functional/AddSelect/index.d.ts +2 -1
  39. package/dist/components/Functional/DataImport/index.d.ts +3 -3
  40. package/dist/components/Functional/DataValidation/index.d.ts +3 -3
  41. package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +2 -1
  42. package/dist/components/Functional/QueryMutipleInput/index.d.ts +2 -1
  43. package/dist/components/Functional/TreeSearchSelect/index.d.ts +2 -1
  44. package/dist/components/Solution/RuleComponent/Formula.d.ts +2 -1
  45. package/dist/components/Solution/RuleComponent/services.d.ts +1 -1
  46. package/dist/index.esm.js +74 -53
  47. package/dist/index.js +74 -53
  48. package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
  49. package/dist/utils/LocalstorageUtils.d.ts +5 -0
  50. package/docs/index.md +21 -21
  51. package/lib/assets/drag.svg +17 -17
  52. package/lib/assets/exportFail.svg +37 -37
  53. package/lib/assets/exportProcessing.svg +28 -28
  54. package/lib/assets/exportSuccess.svg +34 -34
  55. package/lib/assets/label_icon_bottom.svg +25 -25
  56. package/lib/assets/upExport.svg +22 -22
  57. package/package.json +78 -78
  58. package/src/assets/32.svg +27 -27
  59. package/src/assets/addIcon.svg +17 -17
  60. package/src/assets/allfunc.svg +27 -27
  61. package/src/assets/arrowRight.svg +24 -24
  62. package/src/assets/btn-delete.svg +29 -29
  63. package/src/assets/btn-edit.svg +19 -19
  64. package/src/assets/btn-more.svg +17 -17
  65. package/src/assets/btn-submit.svg +19 -19
  66. package/src/assets/caidan.svg +11 -11
  67. package/src/assets/close.svg +26 -26
  68. package/src/assets/drag.svg +17 -17
  69. package/src/assets/exportFail.svg +37 -37
  70. package/src/assets/exportProcessing.svg +28 -28
  71. package/src/assets/exportSuccess.svg +34 -34
  72. package/src/assets/fixed-left-active.svg +11 -11
  73. package/src/assets/fixed-left.svg +15 -15
  74. package/src/assets/fixed-right-active.svg +11 -11
  75. package/src/assets/fixed-right.svg +15 -15
  76. package/src/assets/guanbi.svg +15 -15
  77. package/src/assets/icon-quanping.svg +15 -15
  78. package/src/assets/icon-shezhi.svg +17 -17
  79. package/src/assets/label_icon_bottom.svg +25 -25
  80. package/src/assets/list-no-img.svg +21 -21
  81. package/src/assets/morentouxiang-32.svg +23 -23
  82. package/src/assets/scanning.svg +24 -24
  83. package/src/assets/upExport.svg +22 -22
  84. package/src/common/ENUM.ts +41 -41
  85. package/src/components/Business/AddSelectBusiness/index.md +162 -162
  86. package/src/components/Business/AddSelectBusiness/index.tsx +1060 -1060
  87. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +111 -111
  88. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +153 -153
  89. package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +70 -70
  90. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +90 -90
  91. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +37 -37
  92. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +242 -242
  93. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +384 -384
  94. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +285 -285
  95. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +74 -74
  96. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +170 -170
  97. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +64 -64
  98. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +153 -153
  99. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +72 -72
  100. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +157 -157
  101. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +85 -85
  102. package/src/components/Business/BsLayouts/Components/RightContent/home.less +218 -218
  103. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +155 -155
  104. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +160 -160
  105. package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +75 -75
  106. package/src/components/Business/BsLayouts/index.less +79 -79
  107. package/src/components/Business/BsLayouts/index.tsx +1484 -1484
  108. package/src/components/Business/BsLayouts/service.ts +10 -10
  109. package/src/components/Business/BsLayouts/utils.tsx +203 -203
  110. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +565 -564
  111. package/src/components/Business/BsSulaQueryTable/index.less +221 -221
  112. package/src/components/Business/BsSulaQueryTable/index.tsx +531 -535
  113. package/src/components/Business/BsSulaQueryTable/setting.tsx +855 -852
  114. package/src/components/Business/BsSulaQueryTable/utils.less +65 -65
  115. package/src/components/Business/BsSulaQueryTable/utils.tsx +690 -690
  116. package/src/components/Business/CommodityEntry/index.md +70 -70
  117. package/src/components/Business/CommodityEntry/index.tsx +80 -80
  118. package/src/components/Business/CommonAlert/index.tsx +23 -23
  119. package/src/components/Business/CommonGuideWrapper/index.less +111 -111
  120. package/src/components/Business/CommonGuideWrapper/index.md +39 -39
  121. package/src/components/Business/CommonGuideWrapper/index.tsx +83 -83
  122. package/src/components/Business/DetailPageWrapper/index.less +79 -79
  123. package/src/components/Business/DetailPageWrapper/index.tsx +313 -313
  124. package/src/components/Business/DetailPageWrapper/utils.tsx +100 -100
  125. package/src/components/Business/HomePageWrapper/index.less +33 -33
  126. package/src/components/Business/HomePageWrapper/index.md +45 -45
  127. package/src/components/Business/HomePageWrapper/index.tsx +162 -162
  128. package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +824 -824
  129. package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +205 -205
  130. package/src/components/Business/JsonQueryTable/components/Formula.tsx +205 -205
  131. package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -127
  132. package/src/components/Business/JsonQueryTable/configButton/index.js +20 -20
  133. package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -25
  134. package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -30
  135. package/src/components/Business/JsonQueryTable/configTree/index.js +82 -82
  136. package/src/components/Business/JsonQueryTable/configTree/index.less +44 -44
  137. package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -57
  138. package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -124
  139. package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -29
  140. package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -22
  141. package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -116
  142. package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -12
  143. package/src/components/Business/JsonQueryTable/function.ts +62 -62
  144. package/src/components/Business/JsonQueryTable/index.less +16 -16
  145. package/src/components/Business/JsonQueryTable/index.md +328 -328
  146. package/src/components/Business/JsonQueryTable/index.tsx +535 -535
  147. package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -346
  148. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -22
  149. package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -147
  150. package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -389
  151. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -118
  152. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -22
  153. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -21
  154. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -65
  155. package/src/components/Business/JsonQueryTable/static.ts +390 -390
  156. package/src/components/Business/SearchSelect/BusinessUtils.ts +1762 -1762
  157. package/src/components/Business/SearchSelect/common.ts +75 -75
  158. package/src/components/Business/SearchSelect/index.md +1329 -1329
  159. package/src/components/Business/SearchSelect/index.tsx +55 -55
  160. package/src/components/Business/SearchSelect/utils.ts +100 -100
  161. package/src/components/Business/StateFlow/index.less +130 -130
  162. package/src/components/Business/StateFlow/index.md +60 -60
  163. package/src/components/Business/StateFlow/index.tsx +29 -29
  164. package/src/components/Business/TreeSearchSelect/index.md +156 -156
  165. package/src/components/Business/TreeSearchSelect/index.tsx +33 -33
  166. package/src/components/Business/TreeSearchSelect/utils.ts +75 -75
  167. package/src/components/Business/columnSettingTable/columnSetting.tsx +766 -764
  168. package/src/components/Business/columnSettingTable/index.less +247 -247
  169. package/src/components/Business/columnSettingTable/index.md +357 -357
  170. package/src/components/Business/columnSettingTable/index.tsx +232 -232
  171. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +240 -240
  172. package/src/components/Business/columnSettingTable/utils.tsx +71 -71
  173. package/src/components/Business/moreTreeTable/FixedScrollBar.tsx +87 -87
  174. package/src/components/Business/moreTreeTable/hooks/useSticky.ts +21 -21
  175. package/src/components/Business/moreTreeTable/index.less +99 -99
  176. package/src/components/Business/moreTreeTable/index.md +448 -448
  177. package/src/components/Business/moreTreeTable/index.tsx +387 -387
  178. package/src/components/Business/moreTreeTable/utils.ts +126 -126
  179. package/src/components/Functional/AddSelect/helps.ts +79 -79
  180. package/src/components/Functional/AddSelect/index.less +367 -367
  181. package/src/components/Functional/AddSelect/index.md +155 -155
  182. package/src/components/Functional/AddSelect/index.tsx +1170 -1170
  183. package/src/components/Functional/BillEntry/index.less +371 -371
  184. package/src/components/Functional/BillEntry/index.md +39 -39
  185. package/src/components/Functional/BillEntry/index.tsx +772 -772
  186. package/src/components/Functional/BsAntdSula/BsCascader/index.md +62 -62
  187. package/src/components/Functional/BsAntdSula/BsCascader/index.tsx +178 -178
  188. package/src/components/Functional/BsAntdSula/index.ts +2 -2
  189. package/src/components/Functional/DataImport/index.less +63 -63
  190. package/src/components/Functional/DataImport/index.md +44 -44
  191. package/src/components/Functional/DataImport/index.tsx +695 -695
  192. package/src/components/Functional/DataValidation/index.less +63 -63
  193. package/src/components/Functional/DataValidation/index.md +39 -39
  194. package/src/components/Functional/DataValidation/index.tsx +687 -687
  195. package/src/components/Functional/EllipsisTooltip/index.d.ts +5 -5
  196. package/src/components/Functional/EllipsisTooltip/index.js +36 -36
  197. package/src/components/Functional/EllipsisTooltip/index.md +30 -30
  198. package/src/components/Functional/ExportFunctions/ExportIcon/index.md +37 -37
  199. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +59 -59
  200. package/src/components/Functional/QueryMutipleInput/index.less +37 -37
  201. package/src/components/Functional/QueryMutipleInput/index.md +33 -33
  202. package/src/components/Functional/QueryMutipleInput/index.tsx +128 -128
  203. package/src/components/Functional/SearchSelect/index.less +115 -115
  204. package/src/components/Functional/SearchSelect/index.md +141 -141
  205. package/src/components/Functional/SearchSelect/index.tsx +879 -879
  206. package/src/components/Functional/SearchSelect/utils.ts +3 -3
  207. package/src/components/Functional/TreeSearchSelect/index.md +47 -47
  208. package/src/components/Functional/TreeSearchSelect/index.tsx +199 -199
  209. package/src/components/Solution/RuleComponent/Formula.tsx +335 -335
  210. package/src/components/Solution/RuleComponent/index.d.ts +29 -29
  211. package/src/components/Solution/RuleComponent/index.js +2032 -2032
  212. package/src/components/Solution/RuleComponent/index.less +230 -230
  213. package/src/components/Solution/RuleComponent/renderSpecificAction.js +99 -99
  214. package/src/components/Solution/RuleComponent/ruleFiled.js +2107 -2107
  215. package/src/components/Solution/RuleComponent/services.ts +13 -13
  216. package/src/components/Solution/RuleComponent/util.js +139 -139
  217. package/src/index.ts +38 -38
  218. package/src/plugin/TableColumnSetting/index.less +247 -247
  219. package/src/plugin/TableColumnSetting/index.md +50 -50
  220. package/src/plugin/TableColumnSetting/index.tsx +726 -724
  221. package/src/plugin/TableColumnSetting/utils.ts +19 -19
  222. package/src/styles/bsDefault.less +1890 -1912
  223. package/src/utils/CheckOneUser/index.md +39 -39
  224. package/src/utils/CheckOneUser/index.ts +51 -51
  225. package/src/utils/LocalstorageUtils.ts +114 -95
  226. package/src/utils/TableUtils.tsx +18 -18
  227. package/src/utils/checkUtils.ts +39 -39
  228. package/src/utils/enumConfig.ts +11 -11
  229. package/src/utils/getFormMode.js +12 -12
  230. package/src/utils/index.ts +4 -4
  231. package/src/utils/requestUtils.ts +42 -34
  232. package/src/utils/serialize.js +7 -7
  233. package/src/utils/utils.ts +212 -212
  234. package/tsconfig.json +29 -29
  235. package/typings.d.ts +4 -4
@@ -1,25 +1,25 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="34px" height="34px" viewBox="0 0 34 34" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>scanning@2x</title>
4
- <defs>
5
- <path d="M4.55801813,-4.10857923e-16 L27.4419819,1.84149388e-16 C29.0269041,-1.06996098e-16 29.6016352,0.165023309 30.181059,0.474902584 C30.7604829,0.78478186 31.2152181,1.2395171 31.5250974,1.81894097 C31.8349767,2.39836484 32,2.97309593 32,4.55801813 L32,27.4419819 C32,29.0269041 31.8349767,29.6016352 31.5250974,30.181059 C31.2152181,30.7604829 30.7604829,31.2152181 30.181059,31.5250974 C29.6016352,31.8349767 29.0269041,32 27.4419819,32 L4.55801813,32 C2.97309593,32 2.39836484,31.8349767 1.81894097,31.5250974 C1.2395171,31.2152181 0.78478186,30.7604829 0.474902584,30.181059 C0.165023309,29.6016352 2.03054919e-16,29.0269041 -3.49474794e-16,27.4419819 L1.22766259e-16,4.55801813 C-7.13307317e-17,2.97309593 0.165023309,2.39836484 0.474902584,1.81894097 C0.78478186,1.2395171 1.2395171,0.78478186 1.81894097,0.474902584 C2.39836484,0.165023309 2.97309593,2.38720285e-16 4.55801813,-4.10857923e-16 Z" id="path-1"></path>
6
- </defs>
7
- <g id="列表功能" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="画板" transform="translate(-63.000000, -69.000000)">
9
- <g id="scanning" transform="translate(64.244061, 70.096401)">
10
- <mask id="mask-2" fill="white">
11
- <use xlink:href="#path-1"></use>
12
- </mask>
13
- <use id="蒙版" stroke="#D9D9D9" stroke-width="0.888888889" xlink:href="#path-1"></use>
14
- <g mask="url(#mask-2)" fill="#000000" fill-rule="nonzero" id="形状结合">
15
- <g transform="translate(8.000000, 8.000000)">
16
- <path d="M5.21873562,9.69278114 L6.28954184,10.7432953 L2.532,14.4997811 L5.24949999,14.5 L5.24949999,16 L1.5,16 C0.671572876,16 0,15.3284271 0,14.5 L0,11 L1.5,11 L1.5,13.4107811 L5.21873562,9.69278114 Z" transform="translate(3.144771, 12.846391) scale(-1, -1) translate(-3.144771, -12.846391) "></path>
17
- <path d="M10.7898541,9.72266777 L14.4990478,13.4326678 L14.5,11 L16,11 L16,14.5 C16,15.3284271 15.3284271,16 14.5,16 L10.7495,16 L10.7495,14.5 L13.4460478,14.4996678 L9.71904783,10.7731819 L10.7898541,9.72266777 Z" transform="translate(12.859524, 12.861334) scale(-1, -1) translate(-12.859524, -12.861334) "></path>
18
- <path d="M14.5,0 C15.3284271,0 16,0.671572876 16,1.5 L16,5 L14.5,5 L14.4990478,2.587 L10.779708,6.3074783 L9.71904783,5.24681813 L13.4650478,1.5 L10.75,1.5 L10.75,0 L14.5,0 Z" transform="translate(12.859524, 3.153739) scale(-1, -1) translate(-12.859524, -3.153739) "></path>
19
- <path d="M5.25000001,0 L5.25000001,1.5 L2.567,1.5 L6.31400442,5.24681813 L5.25334424,6.3074783 L1.5,2.554 L1.5,5 L0,5 L0,1.5 C0,0.671572876 0.671572876,0 1.5,0 L5.25000001,0 Z" transform="translate(3.157002, 3.153739) scale(-1, -1) translate(-3.157002, -3.153739) "></path>
20
- </g>
21
- </g>
22
- </g>
23
- </g>
24
- </g>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="34px" height="34px" viewBox="0 0 34 34" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>scanning@2x</title>
4
+ <defs>
5
+ <path d="M4.55801813,-4.10857923e-16 L27.4419819,1.84149388e-16 C29.0269041,-1.06996098e-16 29.6016352,0.165023309 30.181059,0.474902584 C30.7604829,0.78478186 31.2152181,1.2395171 31.5250974,1.81894097 C31.8349767,2.39836484 32,2.97309593 32,4.55801813 L32,27.4419819 C32,29.0269041 31.8349767,29.6016352 31.5250974,30.181059 C31.2152181,30.7604829 30.7604829,31.2152181 30.181059,31.5250974 C29.6016352,31.8349767 29.0269041,32 27.4419819,32 L4.55801813,32 C2.97309593,32 2.39836484,31.8349767 1.81894097,31.5250974 C1.2395171,31.2152181 0.78478186,30.7604829 0.474902584,30.181059 C0.165023309,29.6016352 2.03054919e-16,29.0269041 -3.49474794e-16,27.4419819 L1.22766259e-16,4.55801813 C-7.13307317e-17,2.97309593 0.165023309,2.39836484 0.474902584,1.81894097 C0.78478186,1.2395171 1.2395171,0.78478186 1.81894097,0.474902584 C2.39836484,0.165023309 2.97309593,2.38720285e-16 4.55801813,-4.10857923e-16 Z" id="path-1"></path>
6
+ </defs>
7
+ <g id="列表功能" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
+ <g id="画板" transform="translate(-63.000000, -69.000000)">
9
+ <g id="scanning" transform="translate(64.244061, 70.096401)">
10
+ <mask id="mask-2" fill="white">
11
+ <use xlink:href="#path-1"></use>
12
+ </mask>
13
+ <use id="蒙版" stroke="#D9D9D9" stroke-width="0.888888889" xlink:href="#path-1"></use>
14
+ <g mask="url(#mask-2)" fill="#000000" fill-rule="nonzero" id="形状结合">
15
+ <g transform="translate(8.000000, 8.000000)">
16
+ <path d="M5.21873562,9.69278114 L6.28954184,10.7432953 L2.532,14.4997811 L5.24949999,14.5 L5.24949999,16 L1.5,16 C0.671572876,16 0,15.3284271 0,14.5 L0,11 L1.5,11 L1.5,13.4107811 L5.21873562,9.69278114 Z" transform="translate(3.144771, 12.846391) scale(-1, -1) translate(-3.144771, -12.846391) "></path>
17
+ <path d="M10.7898541,9.72266777 L14.4990478,13.4326678 L14.5,11 L16,11 L16,14.5 C16,15.3284271 15.3284271,16 14.5,16 L10.7495,16 L10.7495,14.5 L13.4460478,14.4996678 L9.71904783,10.7731819 L10.7898541,9.72266777 Z" transform="translate(12.859524, 12.861334) scale(-1, -1) translate(-12.859524, -12.861334) "></path>
18
+ <path d="M14.5,0 C15.3284271,0 16,0.671572876 16,1.5 L16,5 L14.5,5 L14.4990478,2.587 L10.779708,6.3074783 L9.71904783,5.24681813 L13.4650478,1.5 L10.75,1.5 L10.75,0 L14.5,0 Z" transform="translate(12.859524, 3.153739) scale(-1, -1) translate(-12.859524, -3.153739) "></path>
19
+ <path d="M5.25000001,0 L5.25000001,1.5 L2.567,1.5 L6.31400442,5.24681813 L5.25334424,6.3074783 L1.5,2.554 L1.5,5 L0,5 L0,1.5 C0,0.671572876 0.671572876,0 1.5,0 L5.25000001,0 Z" transform="translate(3.157002, 3.153739) scale(-1, -1) translate(-3.157002, -3.153739) "></path>
20
+ </g>
21
+ </g>
22
+ </g>
23
+ </g>
24
+ </g>
25
25
  </svg>
@@ -1,23 +1,23 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>xinglan-icon-message备份 5</title>
4
- <defs>
5
- <rect id="path-1" x="0" y="0" width="24" height="24"></rect>
6
- </defs>
7
- <g id="导出功能" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="导出功能-导出数据转入后台提示" transform="translate(-1659.000000, -18.000000)">
9
- <g id="导入、导出记录icon" transform="translate(1659.000000, 18.000000)">
10
- <mask id="mask-2" fill="white">
11
- <use xlink:href="#path-1"></use>
12
- </mask>
13
- <use id="xinglan-icon-message" fill="#D8D8D8" opacity="0" xlink:href="#path-1"></use>
14
- <g id="responsetime" mask="url(#mask-2)" fill="#000000" fill-rule="nonzero">
15
- <g transform="translate(3.000000, 2.000000)">
16
- <path d="M5.21516417,6.74357406 L4.07552238,7.8711358 L0,3.83881343 L3.87940299,0 L5.02011939,1.12756173 L3.05785074,3.06796734 L9.4438209,3.06903059 C14.112,3.06903059 17.9075821,6.76802848 17.9978507,11.3659924 L18,11.5345153 C18,16.2095638 14.1689552,20 9.4438209,20 C4.71814925,20 0.887104494,16.2095638 0.887104469,11.5345153 L2.49904477,11.5345153 C2.49904477,15.3292044 5.6084776,18.4051461 9.4438209,18.4051461 C13.2786269,18.4051461 16.3880597,15.3292044 16.3880597,11.5345153 C16.3880597,7.73982616 13.2786269,4.66388453 9.4438209,4.66388453 L3.11265671,4.66335292 L5.21516417,6.74357406 Z" id="形状"></path>
17
- <path d="M10.4,7.2 L10.399,12.381 L12.4660494,10.315207 L13.6934831,11.5426407 L9.55833777,15.677786 L5.2,11.5508424 L6.44018239,10.31066 L8.599,12.309 L8.6,7.2 L10.4,7.2 Z" id="形状结合" transform="translate(9.446742, 11.438893) scale(1, -1) translate(-9.446742, -11.438893) "></path>
18
- </g>
19
- </g>
20
- </g>
21
- </g>
22
- </g>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>xinglan-icon-message备份 5</title>
4
+ <defs>
5
+ <rect id="path-1" x="0" y="0" width="24" height="24"></rect>
6
+ </defs>
7
+ <g id="导出功能" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
+ <g id="导出功能-导出数据转入后台提示" transform="translate(-1659.000000, -18.000000)">
9
+ <g id="导入、导出记录icon" transform="translate(1659.000000, 18.000000)">
10
+ <mask id="mask-2" fill="white">
11
+ <use xlink:href="#path-1"></use>
12
+ </mask>
13
+ <use id="xinglan-icon-message" fill="#D8D8D8" opacity="0" xlink:href="#path-1"></use>
14
+ <g id="responsetime" mask="url(#mask-2)" fill="#000000" fill-rule="nonzero">
15
+ <g transform="translate(3.000000, 2.000000)">
16
+ <path d="M5.21516417,6.74357406 L4.07552238,7.8711358 L0,3.83881343 L3.87940299,0 L5.02011939,1.12756173 L3.05785074,3.06796734 L9.4438209,3.06903059 C14.112,3.06903059 17.9075821,6.76802848 17.9978507,11.3659924 L18,11.5345153 C18,16.2095638 14.1689552,20 9.4438209,20 C4.71814925,20 0.887104494,16.2095638 0.887104469,11.5345153 L2.49904477,11.5345153 C2.49904477,15.3292044 5.6084776,18.4051461 9.4438209,18.4051461 C13.2786269,18.4051461 16.3880597,15.3292044 16.3880597,11.5345153 C16.3880597,7.73982616 13.2786269,4.66388453 9.4438209,4.66388453 L3.11265671,4.66335292 L5.21516417,6.74357406 Z" id="形状"></path>
17
+ <path d="M10.4,7.2 L10.399,12.381 L12.4660494,10.315207 L13.6934831,11.5426407 L9.55833777,15.677786 L5.2,11.5508424 L6.44018239,10.31066 L8.599,12.309 L8.6,7.2 L10.4,7.2 Z" id="形状结合" transform="translate(9.446742, 11.438893) scale(1, -1) translate(-9.446742, -11.438893) "></path>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </g>
23
23
  </svg>
@@ -1,41 +1,41 @@
1
- const ENUM = {
2
- /**
3
- * 事件动作类型枚举
4
- */
5
- VALUE_TYPE: {
6
- STATUS: 1, // 流转状态
7
- TAG: 2, // 添加标签
8
- TIMING: 3, // 定时器
9
- EDIT_FIELD: 4, // 字段变更
10
- },
11
- /**
12
- * 执行动作枚举
13
- */
14
- EXCUSE_ACTION: {
15
- SEND_MESSAGE: 1, // 发送消息
16
- PUSH_TODO_TASK: 2, // 推送任务
17
- },
18
- EXCUSE_ACTION_TEXT: {
19
- SEND_MESSAGE: '发送一条消息',
20
- PUSH_TODO_TASK: '推送一条待办任务',
21
- },
22
- /**
23
- * 消息接收人分组类型枚举
24
- */
25
- RECEIVER_GROUP_TYPE: {
26
- EMPLOYEES: 1, // 指定员工
27
- ORGANIZATION: 2, // 指定组织
28
- ROLE: 3, // 指定角色
29
- PERSON_IN_DOCUMENT: 4, // 单据内人员
30
- SEND_ALL: 5, // 所有人
31
- },
32
- /**
33
- * 消息发送类型枚举
34
- */
35
- MESSAGE_SENDTIME_TYPE: {
36
- IMMEDIATELY_SEND: 1, // 立即发送
37
- REGULARLY_SEND: 2, // 定时发送
38
- },
39
- };
40
-
41
- export default ENUM;
1
+ const ENUM = {
2
+ /**
3
+ * 事件动作类型枚举
4
+ */
5
+ VALUE_TYPE: {
6
+ STATUS: 1, // 流转状态
7
+ TAG: 2, // 添加标签
8
+ TIMING: 3, // 定时器
9
+ EDIT_FIELD: 4, // 字段变更
10
+ },
11
+ /**
12
+ * 执行动作枚举
13
+ */
14
+ EXCUSE_ACTION: {
15
+ SEND_MESSAGE: 1, // 发送消息
16
+ PUSH_TODO_TASK: 2, // 推送任务
17
+ },
18
+ EXCUSE_ACTION_TEXT: {
19
+ SEND_MESSAGE: '发送一条消息',
20
+ PUSH_TODO_TASK: '推送一条待办任务',
21
+ },
22
+ /**
23
+ * 消息接收人分组类型枚举
24
+ */
25
+ RECEIVER_GROUP_TYPE: {
26
+ EMPLOYEES: 1, // 指定员工
27
+ ORGANIZATION: 2, // 指定组织
28
+ ROLE: 3, // 指定角色
29
+ PERSON_IN_DOCUMENT: 4, // 单据内人员
30
+ SEND_ALL: 5, // 所有人
31
+ },
32
+ /**
33
+ * 消息发送类型枚举
34
+ */
35
+ MESSAGE_SENDTIME_TYPE: {
36
+ IMMEDIATELY_SEND: 1, // 立即发送
37
+ REGULARLY_SEND: 2, // 定时发送
38
+ },
39
+ };
40
+
41
+ export default ENUM;
@@ -1,162 +1,162 @@
1
- ---
2
- nav:
3
- title: '组件'
4
- order: 1
5
- group:
6
- title: 业务组件
7
- order: 1
8
- title: 商品档案录入器
9
- order: 1
10
- ---
11
-
12
- # 商品选择录入器
13
-
14
- ## AddSkuSelect
15
-
16
- ### SKU选择录入器
17
-
18
- ```tsx
19
- import React, { useState } from 'react';
20
- import { Tabs } from 'antd';
21
- import { AddSkuSelect } from '../../../index.ts';
22
-
23
- export default () => {
24
- const config = {
25
- buttonText: 'context',
26
- buttonProps: { disabled: false },
27
- // exceptColumns: ['count'],
28
- // tableCodeList: [null,'skuSelect-tableSelectedItemPartCodeNoCount'],
29
- // additionColumns: [
30
- // {
31
- // position: 2,
32
- // column: {
33
- // title: '品牌',
34
- // width: 100,
35
- // dataIndex: 'brandName',
36
- // },
37
- // },
38
- // {
39
- // position: 6,
40
- // column: {
41
- // title: '国际条码',
42
- // width: 100,
43
- // isInputItem: true,
44
- // dataIndex: 'barCode',
45
- // },
46
- // },
47
- // ],
48
- noUseItemEancode: false,
49
- beforeShowModal: () => {
50
- return Promise.resolve(true);
51
- // return Promise.reject('校验有误');
52
- },
53
- onSaveCallback: (rows) => {
54
- console.log('save call', rows);
55
- return Promise.resolve(true);
56
- // return Promise.reject('FAILE')
57
- }
58
- }
59
- return (
60
- <div>
61
- <AddSkuSelect {...config} />
62
- </div>
63
- );
64
- };
65
- ```
66
-
67
- ## AddSkcSelect
68
-
69
- ### SKC选择录入器
70
-
71
- ```tsx
72
- import React, { useState } from 'react';
73
- import { Tabs } from 'antd';
74
- import { AddSkcSelect } from '../../../index.ts';
75
-
76
- export default () => {
77
- const config = {
78
- buttonText: 'context',
79
- buttonProps: { disabled: false },
80
- // isAllowRepeatedSelect: false,
81
- beforeShowModal: () => {
82
- return Promise.resolve(true);
83
- // return Promise.reject('校验有误');
84
- },
85
- onSaveCallback: (rows) => {
86
- console.log('save call', rows);
87
- return Promise.resolve(true);
88
- // return Promise.reject('FAILE')
89
- }
90
- }
91
- return (
92
- <div>
93
- <AddSkcSelect {...config} />
94
- </div>
95
- );
96
- };
97
- ```
98
-
99
-
100
- ## AddSpuSelect
101
-
102
- ### SPU选择录入器
103
-
104
- ```tsx
105
- import React, { useState } from 'react';
106
- import { Tabs } from 'antd';
107
- import { AddSpuSelect } from '../../../index.ts';
108
-
109
- export default () => {
110
- const config = {
111
- buttonText: 'context',
112
- buttonProps: { disabled: false },
113
- exceptColumns: ['colorName','selectPropertyGroupCode','count', 'categoryText', 'className'],
114
- tableCodeList: [null,'spuSelect-tableSelectedItemPartCode_ItemLabel'],
115
- beforeShowModal: () => {
116
- return Promise.resolve(true);
117
- // return Promise.reject('校验有误');
118
- },
119
- onSaveCallback: (rows) => {
120
- console.log('save call', rows);
121
- return Promise.resolve(true);
122
- // return Promise.reject('FAILE')
123
- }
124
- }
125
- return (
126
- <div>
127
- <AddSpuSelect {...config} />
128
- </div>
129
- );
130
- };
131
- ```
132
-
133
- ```tsx
134
- import React, { useState } from 'react';
135
- import { Tabs } from 'antd';
136
- import { AddSpuSelect } from '../../../index.ts';
137
-
138
- export default () => {
139
- const config = {
140
- buttonText: '添加商品(单色配码)',
141
- buttonProps: { disabled: false },
142
- isSingleColor: true,
143
- isAllowRepeatedSelect: true,
144
- exceptColumns: ['ownOrgSignName', 'brandName', 'categoryText', 'className'],
145
- tableCodeList: [null,'spuSelect-tableSelectedItemPartCode_ItemMatchingColor'],
146
- beforeShowModal: () => {
147
- return Promise.resolve(true);
148
- // return Promise.reject('校验有误');
149
- },
150
- onSaveCallback: (rows) => {
151
- console.log('save call', rows);
152
- return Promise.resolve(true);
153
- // return Promise.reject('FAILE')
154
- }
155
- }
156
- return (
157
- <div>
158
- <AddSpuSelect {...config} />
159
- </div>
160
- );
161
- };
162
- ```
1
+ ---
2
+ nav:
3
+ title: '组件'
4
+ order: 1
5
+ group:
6
+ title: 业务组件
7
+ order: 1
8
+ title: 商品档案录入器
9
+ order: 1
10
+ ---
11
+
12
+ # 商品选择录入器
13
+
14
+ ## AddSkuSelect
15
+
16
+ ### SKU选择录入器
17
+
18
+ ```tsx
19
+ import React, { useState } from 'react';
20
+ import { Tabs } from 'antd';
21
+ import { AddSkuSelect } from '../../../index.ts';
22
+
23
+ export default () => {
24
+ const config = {
25
+ buttonText: 'context',
26
+ buttonProps: { disabled: false },
27
+ // exceptColumns: ['count'],
28
+ // tableCodeList: [null,'skuSelect-tableSelectedItemPartCodeNoCount'],
29
+ // additionColumns: [
30
+ // {
31
+ // position: 2,
32
+ // column: {
33
+ // title: '品牌',
34
+ // width: 100,
35
+ // dataIndex: 'brandName',
36
+ // },
37
+ // },
38
+ // {
39
+ // position: 6,
40
+ // column: {
41
+ // title: '国际条码',
42
+ // width: 100,
43
+ // isInputItem: true,
44
+ // dataIndex: 'barCode',
45
+ // },
46
+ // },
47
+ // ],
48
+ noUseItemEancode: false,
49
+ beforeShowModal: () => {
50
+ return Promise.resolve(true);
51
+ // return Promise.reject('校验有误');
52
+ },
53
+ onSaveCallback: (rows) => {
54
+ console.log('save call', rows);
55
+ return Promise.resolve(true);
56
+ // return Promise.reject('FAILE')
57
+ }
58
+ }
59
+ return (
60
+ <div>
61
+ <AddSkuSelect {...config} />
62
+ </div>
63
+ );
64
+ };
65
+ ```
66
+
67
+ ## AddSkcSelect
68
+
69
+ ### SKC选择录入器
70
+
71
+ ```tsx
72
+ import React, { useState } from 'react';
73
+ import { Tabs } from 'antd';
74
+ import { AddSkcSelect } from '../../../index.ts';
75
+
76
+ export default () => {
77
+ const config = {
78
+ buttonText: 'context',
79
+ buttonProps: { disabled: false },
80
+ // isAllowRepeatedSelect: false,
81
+ beforeShowModal: () => {
82
+ return Promise.resolve(true);
83
+ // return Promise.reject('校验有误');
84
+ },
85
+ onSaveCallback: (rows) => {
86
+ console.log('save call', rows);
87
+ return Promise.resolve(true);
88
+ // return Promise.reject('FAILE')
89
+ }
90
+ }
91
+ return (
92
+ <div>
93
+ <AddSkcSelect {...config} />
94
+ </div>
95
+ );
96
+ };
97
+ ```
98
+
99
+
100
+ ## AddSpuSelect
101
+
102
+ ### SPU选择录入器
103
+
104
+ ```tsx
105
+ import React, { useState } from 'react';
106
+ import { Tabs } from 'antd';
107
+ import { AddSpuSelect } from '../../../index.ts';
108
+
109
+ export default () => {
110
+ const config = {
111
+ buttonText: 'context',
112
+ buttonProps: { disabled: false },
113
+ exceptColumns: ['colorName','selectPropertyGroupCode','count', 'categoryText', 'className'],
114
+ tableCodeList: [null,'spuSelect-tableSelectedItemPartCode_ItemLabel'],
115
+ beforeShowModal: () => {
116
+ return Promise.resolve(true);
117
+ // return Promise.reject('校验有误');
118
+ },
119
+ onSaveCallback: (rows) => {
120
+ console.log('save call', rows);
121
+ return Promise.resolve(true);
122
+ // return Promise.reject('FAILE')
123
+ }
124
+ }
125
+ return (
126
+ <div>
127
+ <AddSpuSelect {...config} />
128
+ </div>
129
+ );
130
+ };
131
+ ```
132
+
133
+ ```tsx
134
+ import React, { useState } from 'react';
135
+ import { Tabs } from 'antd';
136
+ import { AddSpuSelect } from '../../../index.ts';
137
+
138
+ export default () => {
139
+ const config = {
140
+ buttonText: '添加商品(单色配码)',
141
+ buttonProps: { disabled: false },
142
+ isSingleColor: true,
143
+ isAllowRepeatedSelect: true,
144
+ exceptColumns: ['ownOrgSignName', 'brandName', 'categoryText', 'className'],
145
+ tableCodeList: [null,'spuSelect-tableSelectedItemPartCode_ItemMatchingColor'],
146
+ beforeShowModal: () => {
147
+ return Promise.resolve(true);
148
+ // return Promise.reject('校验有误');
149
+ },
150
+ onSaveCallback: (rows) => {
151
+ console.log('save call', rows);
152
+ return Promise.resolve(true);
153
+ // return Promise.reject('FAILE')
154
+ }
155
+ }
156
+ return (
157
+ <div>
158
+ <AddSpuSelect {...config} />
159
+ </div>
160
+ );
161
+ };
162
+ ```