@bit-sun/business-component 2.2.36 → 2.2.37

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 (183) 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/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
  9. package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
  10. package/dist/components/Business/SearchSelect/index.d.ts +1 -1
  11. package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
  12. package/dist/index.esm.js +667 -635
  13. package/dist/index.js +674 -642
  14. package/dist/utils/utils.d.ts +1 -1
  15. package/docs/index.md +21 -21
  16. package/lib/assets/drag.svg +17 -17
  17. package/lib/assets/exportFail.svg +37 -37
  18. package/lib/assets/exportProcessing.svg +28 -28
  19. package/lib/assets/exportSuccess.svg +34 -34
  20. package/lib/assets/label_icon_bottom.svg +25 -25
  21. package/lib/assets/upExport.svg +22 -22
  22. package/package.json +77 -77
  23. package/src/assets/32.svg +27 -27
  24. package/src/assets/addIcon.svg +17 -17
  25. package/src/assets/allfunc.svg +27 -27
  26. package/src/assets/arrowRight.svg +24 -24
  27. package/src/assets/btn-delete.svg +29 -29
  28. package/src/assets/btn-edit.svg +19 -19
  29. package/src/assets/btn-more.svg +17 -17
  30. package/src/assets/btn-submit.svg +19 -19
  31. package/src/assets/caidan.svg +11 -11
  32. package/src/assets/close.svg +26 -26
  33. package/src/assets/drag.svg +17 -17
  34. package/src/assets/exportFail.svg +37 -37
  35. package/src/assets/exportProcessing.svg +28 -28
  36. package/src/assets/exportSuccess.svg +34 -34
  37. package/src/assets/fixed-left-active.svg +11 -11
  38. package/src/assets/fixed-left.svg +15 -15
  39. package/src/assets/fixed-right-active.svg +11 -11
  40. package/src/assets/fixed-right.svg +15 -15
  41. package/src/assets/guanbi.svg +15 -15
  42. package/src/assets/icon-quanping.svg +15 -15
  43. package/src/assets/icon-shezhi.svg +17 -17
  44. package/src/assets/label_icon_bottom.svg +25 -25
  45. package/src/assets/list-no-img.svg +21 -21
  46. package/src/assets/morentouxiang-32.svg +23 -23
  47. package/src/assets/scanning.svg +24 -24
  48. package/src/assets/upExport.svg +22 -22
  49. package/src/components/Business/AddSelectBusiness/index.md +161 -161
  50. package/src/components/Business/AddSelectBusiness/index.tsx +861 -861
  51. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +111 -111
  52. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +153 -153
  53. package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +70 -70
  54. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +90 -90
  55. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +37 -37
  56. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +242 -242
  57. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +384 -384
  58. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +285 -285
  59. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +74 -74
  60. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +170 -170
  61. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +64 -64
  62. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +153 -153
  63. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +72 -72
  64. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +157 -157
  65. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +85 -85
  66. package/src/components/Business/BsLayouts/Components/RightContent/home.less +218 -218
  67. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +155 -155
  68. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +160 -160
  69. package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +75 -75
  70. package/src/components/Business/BsLayouts/index.less +79 -79
  71. package/src/components/Business/BsLayouts/index.tsx +1484 -1484
  72. package/src/components/Business/BsLayouts/service.ts +10 -10
  73. package/src/components/Business/BsLayouts/utils.tsx +203 -203
  74. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +538 -538
  75. package/src/components/Business/BsSulaQueryTable/index.less +219 -219
  76. package/src/components/Business/BsSulaQueryTable/index.tsx +527 -527
  77. package/src/components/Business/BsSulaQueryTable/setting.tsx +802 -802
  78. package/src/components/Business/BsSulaQueryTable/utils.less +65 -65
  79. package/src/components/Business/BsSulaQueryTable/utils.tsx +688 -688
  80. package/src/components/Business/CommodityEntry/index.md +70 -70
  81. package/src/components/Business/CommodityEntry/index.tsx +80 -80
  82. package/src/components/Business/CommonAlert/index.tsx +23 -23
  83. package/src/components/Business/CommonGuideWrapper/index.less +111 -111
  84. package/src/components/Business/CommonGuideWrapper/index.md +39 -39
  85. package/src/components/Business/CommonGuideWrapper/index.tsx +83 -83
  86. package/src/components/Business/DetailPageWrapper/index.less +79 -79
  87. package/src/components/Business/DetailPageWrapper/index.tsx +313 -313
  88. package/src/components/Business/DetailPageWrapper/utils.tsx +100 -100
  89. package/src/components/Business/HomePageWrapper/index.less +33 -33
  90. package/src/components/Business/HomePageWrapper/index.md +45 -45
  91. package/src/components/Business/HomePageWrapper/index.tsx +162 -162
  92. package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +824 -824
  93. package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +201 -201
  94. package/src/components/Business/JsonQueryTable/components/Formula.tsx +205 -205
  95. package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -127
  96. package/src/components/Business/JsonQueryTable/configButton/index.js +20 -20
  97. package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -25
  98. package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -30
  99. package/src/components/Business/JsonQueryTable/configTree/index.js +82 -82
  100. package/src/components/Business/JsonQueryTable/configTree/index.less +44 -44
  101. package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -57
  102. package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -124
  103. package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -29
  104. package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -22
  105. package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -116
  106. package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -12
  107. package/src/components/Business/JsonQueryTable/function.ts +62 -62
  108. package/src/components/Business/JsonQueryTable/index.less +16 -16
  109. package/src/components/Business/JsonQueryTable/index.md +328 -328
  110. package/src/components/Business/JsonQueryTable/index.tsx +320 -320
  111. package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -346
  112. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -22
  113. package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -147
  114. package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -389
  115. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -118
  116. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -22
  117. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -21
  118. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -65
  119. package/src/components/Business/JsonQueryTable/static.ts +390 -390
  120. package/src/components/Business/SearchSelect/BusinessUtils.ts +1732 -1731
  121. package/src/components/Business/SearchSelect/common.ts +53 -53
  122. package/src/components/Business/SearchSelect/index.md +1319 -1319
  123. package/src/components/Business/SearchSelect/index.tsx +51 -51
  124. package/src/components/Business/SearchSelect/utils.ts +100 -100
  125. package/src/components/Business/StateFlow/index.less +130 -130
  126. package/src/components/Business/StateFlow/index.md +60 -60
  127. package/src/components/Business/StateFlow/index.tsx +29 -29
  128. package/src/components/Business/TreeSearchSelect/index.md +154 -154
  129. package/src/components/Business/TreeSearchSelect/index.tsx +34 -34
  130. package/src/components/Business/TreeSearchSelect/utils.ts +69 -69
  131. package/src/components/Business/columnSettingTable/columnSetting.tsx +764 -764
  132. package/src/components/Business/columnSettingTable/index.less +247 -247
  133. package/src/components/Business/columnSettingTable/index.md +357 -357
  134. package/src/components/Business/columnSettingTable/index.tsx +232 -232
  135. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +240 -240
  136. package/src/components/Business/columnSettingTable/utils.tsx +68 -68
  137. package/src/components/Business/moreTreeTable/index.less +99 -99
  138. package/src/components/Business/moreTreeTable/index.md +448 -448
  139. package/src/components/Business/moreTreeTable/index.tsx +365 -365
  140. package/src/components/Business/moreTreeTable/utils.ts +126 -126
  141. package/src/components/Functional/AddSelect/helps.ts +14 -14
  142. package/src/components/Functional/AddSelect/index.less +367 -367
  143. package/src/components/Functional/AddSelect/index.md +155 -155
  144. package/src/components/Functional/AddSelect/index.tsx +1279 -1279
  145. package/src/components/Functional/BillEntry/index.less +371 -371
  146. package/src/components/Functional/BillEntry/index.md +39 -39
  147. package/src/components/Functional/BillEntry/index.tsx +772 -772
  148. package/src/components/Functional/DataImport/index.less +63 -63
  149. package/src/components/Functional/DataImport/index.md +44 -44
  150. package/src/components/Functional/DataImport/index.tsx +695 -695
  151. package/src/components/Functional/DataValidation/index.less +63 -63
  152. package/src/components/Functional/DataValidation/index.md +39 -39
  153. package/src/components/Functional/DataValidation/index.tsx +687 -687
  154. package/src/components/Functional/ExportFunctions/ExportIcon/index.md +37 -37
  155. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +59 -59
  156. package/src/components/Functional/QueryMutipleInput/index.less +37 -37
  157. package/src/components/Functional/QueryMutipleInput/index.md +33 -33
  158. package/src/components/Functional/QueryMutipleInput/index.tsx +128 -128
  159. package/src/components/Functional/SearchSelect/index.less +115 -115
  160. package/src/components/Functional/SearchSelect/index.md +141 -141
  161. package/src/components/Functional/SearchSelect/index.tsx +849 -849
  162. package/src/components/Functional/SearchSelect/utils.ts +3 -3
  163. package/src/components/Functional/TreeSearchSelect/index.md +47 -47
  164. package/src/components/Functional/TreeSearchSelect/index.tsx +162 -162
  165. package/src/index.ts +34 -34
  166. package/src/plugin/TableColumnSetting/index.less +247 -247
  167. package/src/plugin/TableColumnSetting/index.md +50 -50
  168. package/src/plugin/TableColumnSetting/index.tsx +724 -724
  169. package/src/plugin/TableColumnSetting/utils.ts +19 -19
  170. package/src/styles/bsDefault.less +1912 -1912
  171. package/src/utils/CheckOneUser/index.md +39 -39
  172. package/src/utils/CheckOneUser/index.ts +51 -51
  173. package/src/utils/LocalstorageUtils.ts +90 -90
  174. package/src/utils/TableUtils.tsx +18 -18
  175. package/src/utils/checkUtils.ts +39 -39
  176. package/src/utils/enumConfig.ts +11 -11
  177. package/src/utils/getFormMode.js +12 -12
  178. package/src/utils/index.ts +3 -3
  179. package/src/utils/requestUtils.ts +34 -34
  180. package/src/utils/serialize.js +7 -7
  181. package/src/utils/utils.ts +183 -183
  182. package/tsconfig.json +29 -29
  183. package/typings.d.ts +4 -4
@@ -1,22 +1,22 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="44px" height="44px" viewBox="0 0 44 44" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>蒙版</title>
4
- <defs>
5
- <polygon id="path-1" points="-1.56319402e-13 1.84741111e-13 44 1.84741111e-13 44 44 -1.56319402e-13 44"></polygon>
6
- </defs>
7
- <g id="列表功能" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
- <g id="星澜-搜索-搜索功能" transform="translate(-354.000000, -672.000000)">
9
- <g id="列表一备份" transform="translate(240.000000, 664.000000)">
10
- <g id="单据编号" transform="translate(106.000000, 0.000000)">
11
- <g id="形状" transform="translate(8.000000, 8.000000)">
12
- <mask id="mask-2" fill="white">
13
- <use xlink:href="#path-1"></use>
14
- </mask>
15
- <use id="蒙版" fill="#E6F3FF" xlink:href="#path-1"></use>
16
- <path d="M28.4962332,15 C29.4007284,15 30.1339666,15.7383979 30.1339666,16.6492578 L30.1339666,27.5596481 C30.1339666,28.4705081 29.4007284,29.208906 28.4962332,29.208906 L14.6377334,29.208906 C13.7332382,29.208906 13,28.4705081 13,27.5596481 L13,16.6492578 C13,15.7383979 13.7332382,15 14.6377334,15 L28.4956873,15 L28.4962332,15 Z M28.4962332,16.6492578 L14.6377334,16.6492578 L14.6377334,27.5596481 L28.4956873,27.5596481 L28.4956873,16.6492578 L28.4962332,16.6492578 Z M26.6996397,18.6899395 L26.6996397,20.3369983 C24.5001638,20.357889 23.12283,21.0967565 22.4448084,22.5305113 L22.3847582,22.6624519 L22.3137897,22.8224299 C21.2241511,25.1880154 19.0819959,26.322155 16.0560105,26.1940627 L16.243258,26.2001099 L16.2443498,24.5508521 C18.5633803,24.6206707 20.0357026,23.8290269 20.8190851,22.1473337 L20.8824107,22.006597 L20.9479201,21.8603628 C21.9158205,19.7680044 23.8767333,18.7196262 26.6996397,18.6899395 L26.6996397,18.6899395 Z M17.5583579,18.3435954 C18.1149239,18.3435954 18.5661099,18.7979562 18.5661099,19.3584387 C18.5661099,19.9189212 18.1149239,20.373282 17.5583579,20.373282 C17.0016411,20.373282 16.550333,19.9187981 16.550333,19.3581638 C16.550333,18.7975295 17.0016411,18.3430456 17.5583579,18.3430456 L17.5583579,18.3435954 Z" fill="#A3D1FF" fill-rule="nonzero" mask="url(#mask-2)"></path>
17
- </g>
18
- </g>
19
- </g>
20
- </g>
21
- </g>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="44px" height="44px" viewBox="0 0 44 44" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>蒙版</title>
4
+ <defs>
5
+ <polygon id="path-1" points="-1.56319402e-13 1.84741111e-13 44 1.84741111e-13 44 44 -1.56319402e-13 44"></polygon>
6
+ </defs>
7
+ <g id="列表功能" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
+ <g id="星澜-搜索-搜索功能" transform="translate(-354.000000, -672.000000)">
9
+ <g id="列表一备份" transform="translate(240.000000, 664.000000)">
10
+ <g id="单据编号" transform="translate(106.000000, 0.000000)">
11
+ <g id="形状" transform="translate(8.000000, 8.000000)">
12
+ <mask id="mask-2" fill="white">
13
+ <use xlink:href="#path-1"></use>
14
+ </mask>
15
+ <use id="蒙版" fill="#E6F3FF" xlink:href="#path-1"></use>
16
+ <path d="M28.4962332,15 C29.4007284,15 30.1339666,15.7383979 30.1339666,16.6492578 L30.1339666,27.5596481 C30.1339666,28.4705081 29.4007284,29.208906 28.4962332,29.208906 L14.6377334,29.208906 C13.7332382,29.208906 13,28.4705081 13,27.5596481 L13,16.6492578 C13,15.7383979 13.7332382,15 14.6377334,15 L28.4956873,15 L28.4962332,15 Z M28.4962332,16.6492578 L14.6377334,16.6492578 L14.6377334,27.5596481 L28.4956873,27.5596481 L28.4956873,16.6492578 L28.4962332,16.6492578 Z M26.6996397,18.6899395 L26.6996397,20.3369983 C24.5001638,20.357889 23.12283,21.0967565 22.4448084,22.5305113 L22.3847582,22.6624519 L22.3137897,22.8224299 C21.2241511,25.1880154 19.0819959,26.322155 16.0560105,26.1940627 L16.243258,26.2001099 L16.2443498,24.5508521 C18.5633803,24.6206707 20.0357026,23.8290269 20.8190851,22.1473337 L20.8824107,22.006597 L20.9479201,21.8603628 C21.9158205,19.7680044 23.8767333,18.7196262 26.6996397,18.6899395 L26.6996397,18.6899395 Z M17.5583579,18.3435954 C18.1149239,18.3435954 18.5661099,18.7979562 18.5661099,19.3584387 C18.5661099,19.9189212 18.1149239,20.373282 17.5583579,20.373282 C17.0016411,20.373282 16.550333,19.9187981 16.550333,19.3581638 C16.550333,18.7975295 17.0016411,18.3430456 17.5583579,18.3430456 L17.5583579,18.3435954 Z" fill="#A3D1FF" fill-rule="nonzero" mask="url(#mask-2)"></path>
17
+ </g>
18
+ </g>
19
+ </g>
20
+ </g>
21
+ </g>
22
22
  </svg>
@@ -1,24 +1,24 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>32</title>
4
- <defs>
5
- <circle id="path-1" cx="13" cy="13" r="13"></circle>
6
- <filter x="-40.4%" y="-40.4%" width="180.8%" height="180.8%" filterUnits="objectBoundingBox" id="filter-2">
7
- <feOffset dx="0" dy="0" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
8
- <feGaussianBlur stdDeviation="3.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
9
- <feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"></feComposite>
10
- <feColorMatrix values="0 0 0 0 0.949019608 0 0 0 0 0.949019608 0 0 0 0 0.949019608 0 0 0 1 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
11
- </filter>
12
- </defs>
13
- <g id="-----6.1-默认图片/-Default-picture" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
14
- <g id="B-Design-体验规范" transform="translate(-1119.000000, -988.000000)" fill-rule="nonzero">
15
- <g id="32" transform="translate(1126.000000, 995.000000)">
16
- <g id="圆形">
17
- <use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
18
- <circle stroke="#FFFFFF" stroke-width="0.8328125" stroke-linejoin="square" fill="#EDF4FF" fill-rule="evenodd" cx="13" cy="13" r="12.5835938"></circle>
19
- </g>
20
- <path d="M15.644709,13.6190476 L18.9119048,15.0892857 L18.9119048,19.5 L7.15,19.5 L7.15,15.0892857 L10.4171958,13.6190476 L15.644709,13.6190476 Z M16.1261905,16.4047619 L13.65,16.4047619 L13.65,17.6428571 L16.1261905,17.6428571 L16.1261905,16.4047619 Z M13.1857143,6.5 C14.9806397,6.5 16.4357143,7.95507456 16.4357143,9.75 C16.4357143,11.5449254 14.9806397,13 13.1857143,13 C11.3907888,13 9.93571429,11.5449254 9.93571429,9.75 C9.93571429,7.95507456 11.3907888,6.5 13.1857143,6.5 Z" id="形状" fill="#9AC4FF"></path>
21
- </g>
22
- </g>
23
- </g>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="40px" height="40px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>32</title>
4
+ <defs>
5
+ <circle id="path-1" cx="13" cy="13" r="13"></circle>
6
+ <filter x="-40.4%" y="-40.4%" width="180.8%" height="180.8%" filterUnits="objectBoundingBox" id="filter-2">
7
+ <feOffset dx="0" dy="0" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
8
+ <feGaussianBlur stdDeviation="3.5" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
9
+ <feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"></feComposite>
10
+ <feColorMatrix values="0 0 0 0 0.949019608 0 0 0 0 0.949019608 0 0 0 0 0.949019608 0 0 0 1 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
11
+ </filter>
12
+ </defs>
13
+ <g id="-----6.1-默认图片/-Default-picture" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
14
+ <g id="B-Design-体验规范" transform="translate(-1119.000000, -988.000000)" fill-rule="nonzero">
15
+ <g id="32" transform="translate(1126.000000, 995.000000)">
16
+ <g id="圆形">
17
+ <use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
18
+ <circle stroke="#FFFFFF" stroke-width="0.8328125" stroke-linejoin="square" fill="#EDF4FF" fill-rule="evenodd" cx="13" cy="13" r="12.5835938"></circle>
19
+ </g>
20
+ <path d="M15.644709,13.6190476 L18.9119048,15.0892857 L18.9119048,19.5 L7.15,19.5 L7.15,15.0892857 L10.4171958,13.6190476 L15.644709,13.6190476 Z M16.1261905,16.4047619 L13.65,16.4047619 L13.65,17.6428571 L16.1261905,17.6428571 L16.1261905,16.4047619 Z M13.1857143,6.5 C14.9806397,6.5 16.4357143,7.95507456 16.4357143,9.75 C16.4357143,11.5449254 14.9806397,13 13.1857143,13 C11.3907888,13 9.93571429,11.5449254 9.93571429,9.75 C9.93571429,7.95507456 11.3907888,6.5 13.1857143,6.5 Z" id="形状" fill="#9AC4FF"></path>
21
+ </g>
22
+ </g>
23
+ </g>
24
24
  </svg>
@@ -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,161 +1,161 @@
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
- beforeShowModal: () => {
49
- return Promise.resolve(true);
50
- // return Promise.reject('校验有误');
51
- },
52
- onSaveCallback: (rows) => {
53
- console.log('save call', rows);
54
- return Promise.resolve(true);
55
- // return Promise.reject('FAILE')
56
- }
57
- }
58
- return (
59
- <div>
60
- <AddSkuSelect {...config} />
61
- </div>
62
- );
63
- };
64
- ```
65
-
66
- ## AddSkcSelect
67
-
68
- ### SKC选择录入器
69
-
70
- ```tsx
71
- import React, { useState } from 'react';
72
- import { Tabs } from 'antd';
73
- import { AddSkcSelect } from '../../../index.ts';
74
-
75
- export default () => {
76
- const config = {
77
- buttonText: 'context',
78
- buttonProps: { disabled: false },
79
- // isAllowRepeatedSelect: false,
80
- beforeShowModal: () => {
81
- return Promise.resolve(true);
82
- // return Promise.reject('校验有误');
83
- },
84
- onSaveCallback: (rows) => {
85
- console.log('save call', rows);
86
- return Promise.resolve(true);
87
- // return Promise.reject('FAILE')
88
- }
89
- }
90
- return (
91
- <div>
92
- <AddSkcSelect {...config} />
93
- </div>
94
- );
95
- };
96
- ```
97
-
98
-
99
- ## AddSpuSelect
100
-
101
- ### SPU选择录入器
102
-
103
- ```tsx
104
- import React, { useState } from 'react';
105
- import { Tabs } from 'antd';
106
- import { AddSpuSelect } from '../../../index.ts';
107
-
108
- export default () => {
109
- const config = {
110
- buttonText: 'context',
111
- buttonProps: { disabled: false },
112
- exceptColumns: ['colorName','selectPropertyGroupCode','count', 'categoryText', 'className'],
113
- tableCodeList: [null,'spuSelect-tableSelectedItemPartCode_ItemLabel'],
114
- beforeShowModal: () => {
115
- return Promise.resolve(true);
116
- // return Promise.reject('校验有误');
117
- },
118
- onSaveCallback: (rows) => {
119
- console.log('save call', rows);
120
- return Promise.resolve(true);
121
- // return Promise.reject('FAILE')
122
- }
123
- }
124
- return (
125
- <div>
126
- <AddSpuSelect {...config} />
127
- </div>
128
- );
129
- };
130
- ```
131
-
132
- ```tsx
133
- import React, { useState } from 'react';
134
- import { Tabs } from 'antd';
135
- import { AddSpuSelect } from '../../../index.ts';
136
-
137
- export default () => {
138
- const config = {
139
- buttonText: '添加商品(单色配码)',
140
- buttonProps: { disabled: false },
141
- isSingleColor: true,
142
- isAllowRepeatedSelect: true,
143
- exceptColumns: ['ownOrgSignName', 'brandName', 'categoryText', 'className'],
144
- tableCodeList: [null,'spuSelect-tableSelectedItemPartCode_ItemMatchingColor'],
145
- beforeShowModal: () => {
146
- return Promise.resolve(true);
147
- // return Promise.reject('校验有误');
148
- },
149
- onSaveCallback: (rows) => {
150
- console.log('save call', rows);
151
- return Promise.resolve(true);
152
- // return Promise.reject('FAILE')
153
- }
154
- }
155
- return (
156
- <div>
157
- <AddSpuSelect {...config} />
158
- </div>
159
- );
160
- };
161
- ```
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
+ beforeShowModal: () => {
49
+ return Promise.resolve(true);
50
+ // return Promise.reject('校验有误');
51
+ },
52
+ onSaveCallback: (rows) => {
53
+ console.log('save call', rows);
54
+ return Promise.resolve(true);
55
+ // return Promise.reject('FAILE')
56
+ }
57
+ }
58
+ return (
59
+ <div>
60
+ <AddSkuSelect {...config} />
61
+ </div>
62
+ );
63
+ };
64
+ ```
65
+
66
+ ## AddSkcSelect
67
+
68
+ ### SKC选择录入器
69
+
70
+ ```tsx
71
+ import React, { useState } from 'react';
72
+ import { Tabs } from 'antd';
73
+ import { AddSkcSelect } from '../../../index.ts';
74
+
75
+ export default () => {
76
+ const config = {
77
+ buttonText: 'context',
78
+ buttonProps: { disabled: false },
79
+ // isAllowRepeatedSelect: false,
80
+ beforeShowModal: () => {
81
+ return Promise.resolve(true);
82
+ // return Promise.reject('校验有误');
83
+ },
84
+ onSaveCallback: (rows) => {
85
+ console.log('save call', rows);
86
+ return Promise.resolve(true);
87
+ // return Promise.reject('FAILE')
88
+ }
89
+ }
90
+ return (
91
+ <div>
92
+ <AddSkcSelect {...config} />
93
+ </div>
94
+ );
95
+ };
96
+ ```
97
+
98
+
99
+ ## AddSpuSelect
100
+
101
+ ### SPU选择录入器
102
+
103
+ ```tsx
104
+ import React, { useState } from 'react';
105
+ import { Tabs } from 'antd';
106
+ import { AddSpuSelect } from '../../../index.ts';
107
+
108
+ export default () => {
109
+ const config = {
110
+ buttonText: 'context',
111
+ buttonProps: { disabled: false },
112
+ exceptColumns: ['colorName','selectPropertyGroupCode','count', 'categoryText', 'className'],
113
+ tableCodeList: [null,'spuSelect-tableSelectedItemPartCode_ItemLabel'],
114
+ beforeShowModal: () => {
115
+ return Promise.resolve(true);
116
+ // return Promise.reject('校验有误');
117
+ },
118
+ onSaveCallback: (rows) => {
119
+ console.log('save call', rows);
120
+ return Promise.resolve(true);
121
+ // return Promise.reject('FAILE')
122
+ }
123
+ }
124
+ return (
125
+ <div>
126
+ <AddSpuSelect {...config} />
127
+ </div>
128
+ );
129
+ };
130
+ ```
131
+
132
+ ```tsx
133
+ import React, { useState } from 'react';
134
+ import { Tabs } from 'antd';
135
+ import { AddSpuSelect } from '../../../index.ts';
136
+
137
+ export default () => {
138
+ const config = {
139
+ buttonText: '添加商品(单色配码)',
140
+ buttonProps: { disabled: false },
141
+ isSingleColor: true,
142
+ isAllowRepeatedSelect: true,
143
+ exceptColumns: ['ownOrgSignName', 'brandName', 'categoryText', 'className'],
144
+ tableCodeList: [null,'spuSelect-tableSelectedItemPartCode_ItemMatchingColor'],
145
+ beforeShowModal: () => {
146
+ return Promise.resolve(true);
147
+ // return Promise.reject('校验有误');
148
+ },
149
+ onSaveCallback: (rows) => {
150
+ console.log('save call', rows);
151
+ return Promise.resolve(true);
152
+ // return Promise.reject('FAILE')
153
+ }
154
+ }
155
+ return (
156
+ <div>
157
+ <AddSpuSelect {...config} />
158
+ </div>
159
+ );
160
+ };
161
+ ```