@bit-sun/business-component 3.1.6 → 3.1.8

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 (219) 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/index.esm.js +210 -154
  9. package/dist/index.js +210 -153
  10. package/dist/utils/utils.d.ts +1 -0
  11. package/docs/index.md +21 -21
  12. package/lib/assets/drag.svg +17 -17
  13. package/lib/assets/exportFail.svg +37 -37
  14. package/lib/assets/exportProcessing.svg +28 -28
  15. package/lib/assets/exportSuccess.svg +34 -34
  16. package/lib/assets/label_icon_bottom.svg +25 -25
  17. package/lib/assets/upExport.svg +22 -22
  18. package/package.json +88 -88
  19. package/src/assets/32.svg +27 -27
  20. package/src/assets/addIcon.svg +17 -17
  21. package/src/assets/allfunc.svg +27 -27
  22. package/src/assets/arrowRight.svg +24 -24
  23. package/src/assets/arrow_top.svg +17 -17
  24. package/src/assets/btn-delete.svg +29 -29
  25. package/src/assets/btn-edit.svg +19 -19
  26. package/src/assets/btn-more.svg +17 -17
  27. package/src/assets/btn-submit.svg +19 -19
  28. package/src/assets/caidan.svg +11 -11
  29. package/src/assets/close.svg +26 -26
  30. package/src/assets/drag.svg +17 -17
  31. package/src/assets/exportFail.svg +37 -37
  32. package/src/assets/exportProcessing.svg +28 -28
  33. package/src/assets/exportSuccess.svg +34 -34
  34. package/src/assets/fixed-left-active.svg +11 -11
  35. package/src/assets/fixed-left.svg +15 -15
  36. package/src/assets/fixed-right-active.svg +11 -11
  37. package/src/assets/fixed-right.svg +15 -15
  38. package/src/assets/guanbi.svg +15 -15
  39. package/src/assets/icon-quanping.svg +15 -15
  40. package/src/assets/icon-shezhi.svg +17 -17
  41. package/src/assets/label_icon_bottom.svg +25 -25
  42. package/src/assets/list-no-img.svg +21 -21
  43. package/src/assets/morentouxiang-32.svg +23 -23
  44. package/src/assets/scanning.svg +24 -24
  45. package/src/assets/upExport.svg +22 -22
  46. package/src/common/ENUM.ts +41 -41
  47. package/src/components/Business/AddSelectBusiness/index.md +398 -398
  48. package/src/components/Business/AddSelectBusiness/index.tsx +1116 -1116
  49. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +112 -112
  50. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +153 -153
  51. package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +70 -70
  52. package/src/components/Business/BsLayouts/Components/ChooseStore/index.tsx +193 -193
  53. package/src/components/Business/BsLayouts/Components/ChooseStore/services.ts +10 -10
  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 +163 -163
  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/i18n.ts +8 -8
  68. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +172 -172
  69. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +160 -160
  70. package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +75 -75
  71. package/src/components/Business/BsLayouts/index.less +79 -79
  72. package/src/components/Business/BsLayouts/index.tsx +1606 -1606
  73. package/src/components/Business/BsLayouts/service.ts +10 -10
  74. package/src/components/Business/BsLayouts/utils.tsx +205 -205
  75. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +566 -566
  76. package/src/components/Business/BsSulaQueryTable/bssulaquerytable.less +5 -5
  77. package/src/components/Business/BsSulaQueryTable/index.less +227 -227
  78. package/src/components/Business/BsSulaQueryTable/index.tsx +765 -772
  79. package/src/components/Business/BsSulaQueryTable/setting.tsx +888 -888
  80. package/src/components/Business/BsSulaQueryTable/utils.less +65 -65
  81. package/src/components/Business/BsSulaQueryTable/utils.tsx +709 -709
  82. package/src/components/Business/CommodityEntry/index.md +84 -84
  83. package/src/components/Business/CommodityEntry/index.tsx +82 -82
  84. package/src/components/Business/CommonAlert/index.tsx +23 -23
  85. package/src/components/Business/CommonGuideWrapper/index.less +121 -121
  86. package/src/components/Business/CommonGuideWrapper/index.md +39 -39
  87. package/src/components/Business/CommonGuideWrapper/index.tsx +94 -94
  88. package/src/components/Business/DetailPageWrapper/index.less +87 -87
  89. package/src/components/Business/DetailPageWrapper/index.tsx +327 -327
  90. package/src/components/Business/DetailPageWrapper/utils.tsx +166 -166
  91. package/src/components/Business/HomePageWrapper/index.less +33 -33
  92. package/src/components/Business/HomePageWrapper/index.md +45 -45
  93. package/src/components/Business/HomePageWrapper/index.tsx +162 -162
  94. package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +823 -823
  95. package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +205 -205
  96. package/src/components/Business/JsonQueryTable/components/Formula.tsx +205 -205
  97. package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -127
  98. package/src/components/Business/JsonQueryTable/configButton/index.js +20 -20
  99. package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -25
  100. package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -30
  101. package/src/components/Business/JsonQueryTable/configTree/index.js +82 -82
  102. package/src/components/Business/JsonQueryTable/configTree/index.less +44 -44
  103. package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -57
  104. package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -124
  105. package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -29
  106. package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -22
  107. package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -116
  108. package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -12
  109. package/src/components/Business/JsonQueryTable/function.ts +62 -62
  110. package/src/components/Business/JsonQueryTable/index.less +16 -16
  111. package/src/components/Business/JsonQueryTable/index.md +328 -328
  112. package/src/components/Business/JsonQueryTable/index.tsx +534 -534
  113. package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -346
  114. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -22
  115. package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -147
  116. package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -389
  117. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -118
  118. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -22
  119. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -21
  120. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -65
  121. package/src/components/Business/JsonQueryTable/static.ts +450 -450
  122. package/src/components/Business/SearchSelect/BusinessUtils.tsx +2162 -2162
  123. package/src/components/Business/SearchSelect/common.ts +134 -134
  124. package/src/components/Business/SearchSelect/index.md +1512 -1512
  125. package/src/components/Business/SearchSelect/index.tsx +55 -55
  126. package/src/components/Business/SearchSelect/utils.ts +125 -125
  127. package/src/components/Business/StateFlow/index.less +130 -130
  128. package/src/components/Business/StateFlow/index.md +60 -60
  129. package/src/components/Business/StateFlow/index.tsx +29 -29
  130. package/src/components/Business/TreeSearchSelect/index.md +211 -211
  131. package/src/components/Business/TreeSearchSelect/index.tsx +33 -33
  132. package/src/components/Business/TreeSearchSelect/utils.ts +104 -104
  133. package/src/components/Business/columnSettingTable/columnSetting.tsx +816 -816
  134. package/src/components/Business/columnSettingTable/index.less +253 -253
  135. package/src/components/Business/columnSettingTable/index.md +357 -357
  136. package/src/components/Business/columnSettingTable/index.tsx +225 -226
  137. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +232 -233
  138. package/src/components/Business/columnSettingTable/utils.tsx +87 -87
  139. package/src/components/Business/moreTreeTable/FixedScrollBar.tsx +87 -87
  140. package/src/components/Business/moreTreeTable/hooks/useSticky.ts +21 -21
  141. package/src/components/Business/moreTreeTable/index.less +99 -99
  142. package/src/components/Business/moreTreeTable/index.md +448 -448
  143. package/src/components/Business/moreTreeTable/index.tsx +387 -387
  144. package/src/components/Business/moreTreeTable/utils.ts +126 -126
  145. package/src/components/Functional/AccessWrapper/index.tsx +33 -33
  146. package/src/components/Functional/AddSelect/helps.ts +81 -81
  147. package/src/components/Functional/AddSelect/index.less +367 -367
  148. package/src/components/Functional/AddSelect/index.md +155 -155
  149. package/src/components/Functional/AddSelect/index.tsx +1064 -1065
  150. package/src/components/Functional/AuthButton/index.tsx +15 -15
  151. package/src/components/Functional/BillEntry/index.less +371 -371
  152. package/src/components/Functional/BillEntry/index.md +39 -39
  153. package/src/components/Functional/BillEntry/index.tsx +771 -772
  154. package/src/components/Functional/BsAntdSula/BsCascader/index.md +62 -62
  155. package/src/components/Functional/BsAntdSula/BsCascader/index.tsx +178 -178
  156. package/src/components/Functional/BsAntdSula/index.ts +2 -2
  157. package/src/components/Functional/DataImport/index.less +63 -63
  158. package/src/components/Functional/DataImport/index.md +44 -44
  159. package/src/components/Functional/DataImport/index.tsx +783 -783
  160. package/src/components/Functional/DataValidation/index.less +63 -63
  161. package/src/components/Functional/DataValidation/index.md +52 -52
  162. package/src/components/Functional/DataValidation/index.tsx +788 -788
  163. package/src/components/Functional/EllipsisTooltip/index.d.ts +5 -5
  164. package/src/components/Functional/EllipsisTooltip/index.js +36 -36
  165. package/src/components/Functional/EllipsisTooltip/index.md +30 -30
  166. package/src/components/Functional/ExportFunctions/ExportIcon/index.md +37 -37
  167. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +65 -65
  168. package/src/components/Functional/QueryMutipleInput/index.less +37 -37
  169. package/src/components/Functional/QueryMutipleInput/index.md +33 -33
  170. package/src/components/Functional/QueryMutipleInput/index.tsx +129 -129
  171. package/src/components/Functional/SearchSelect/index.less +121 -121
  172. package/src/components/Functional/SearchSelect/index.md +141 -141
  173. package/src/components/Functional/SearchSelect/index.tsx +1041 -1034
  174. package/src/components/Functional/SearchSelect/utils.ts +3 -3
  175. package/src/components/Functional/TreeSearchSelect/index.md +47 -47
  176. package/src/components/Functional/TreeSearchSelect/index.tsx +224 -224
  177. package/src/components/Solution/RuleComponent/Formula.tsx +335 -335
  178. package/src/components/Solution/RuleComponent/InnerSelect.tsx +62 -62
  179. package/src/components/Solution/RuleComponent/RenderCompItem.tsx +670 -670
  180. package/src/components/Solution/RuleComponent/index.d.ts +29 -29
  181. package/src/components/Solution/RuleComponent/index.js +1601 -1601
  182. package/src/components/Solution/RuleComponent/index.less +247 -247
  183. package/src/components/Solution/RuleComponent/renderSpecificAction.js +99 -99
  184. package/src/components/Solution/RuleComponent/ruleFiled.js +2293 -2293
  185. package/src/components/Solution/RuleComponent/services.ts +13 -13
  186. package/src/components/Solution/RuleComponent/util.js +143 -143
  187. package/src/components/Solution/RuleSetter/RuleInstance.tsx +6 -6
  188. package/src/components/Solution/RuleSetter/baseRule.tsx +394 -394
  189. package/src/components/Solution/RuleSetter/function.ts +437 -437
  190. package/src/components/Solution/RuleSetter/index.less +221 -221
  191. package/src/components/Solution/RuleSetter/index.tsx +208 -208
  192. package/src/components/Solution/RuleSetter/service.js +276 -276
  193. package/src/index.ts +41 -41
  194. package/src/plugin/TableColumnSetting/index.less +247 -247
  195. package/src/plugin/TableColumnSetting/index.md +50 -50
  196. package/src/plugin/TableColumnSetting/index.tsx +725 -725
  197. package/src/plugin/TableColumnSetting/utils.ts +19 -19
  198. package/src/styles/bsDefault.less +1933 -1933
  199. package/src/utils/CheckOneUser/index.md +39 -39
  200. package/src/utils/CheckOneUser/index.ts +51 -51
  201. package/src/utils/CustomLoginInfo.ts +55 -55
  202. package/src/utils/LocalstorageUtils.ts +134 -134
  203. package/src/utils/TableUtils.less +51 -51
  204. package/src/utils/TableUtils.tsx +691 -691
  205. package/src/utils/auth.ts +38 -38
  206. package/src/utils/businessUtils.ts +434 -434
  207. package/src/utils/checkUtils.ts +39 -39
  208. package/src/utils/constant.ts +38 -38
  209. package/src/utils/enumConfig.ts +17 -17
  210. package/src/utils/getFormMode.js +12 -12
  211. package/src/utils/index.ts +19 -19
  212. package/src/utils/request.ts +53 -53
  213. package/src/utils/requestUtils.ts +193 -193
  214. package/src/utils/serialize.js +7 -7
  215. package/src/utils/utils.ts +245 -238
  216. package/src/utils/xlsxUtil.tsx +145 -145
  217. package/tsconfig.json +29 -29
  218. package/typings.d.ts +4 -4
  219. package/.yarnclean +0 -45
package/dist/index.js CHANGED
@@ -54,88 +54,9 @@ var serialize__default = /*#__PURE__*/_interopDefaultLegacy(serialize);
54
54
  var castArray__default = /*#__PURE__*/_interopDefaultLegacy(castArray);
55
55
  var isArray__default = /*#__PURE__*/_interopDefaultLegacy(isArray$1);
56
56
 
57
- function _arrayLikeToArray(r, a) {
58
- (null == a || a > r.length) && (a = r.length);
59
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
60
- return n;
61
- }
62
- function _arrayWithHoles(r) {
63
- if (Array.isArray(r)) return r;
64
- }
65
- function _arrayWithoutHoles(r) {
66
- if (Array.isArray(r)) return _arrayLikeToArray(r);
67
- }
68
- function _assertThisInitialized(e) {
69
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
70
- return e;
71
- }
72
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
73
- try {
74
- var i = n[a](c),
75
- u = i.value;
76
- } catch (n) {
77
- return void e(n);
78
- }
79
- i.done ? t(u) : Promise.resolve(u).then(r, o);
80
- }
81
- function _asyncToGenerator(n) {
82
- return function () {
83
- var t = this,
84
- e = arguments;
85
- return new Promise(function (r, o) {
86
- var a = n.apply(t, e);
87
- function _next(n) {
88
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
89
- }
90
- function _throw(n) {
91
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
92
- }
93
- _next(void 0);
94
- });
95
- };
96
- }
97
57
  function _callSuper(t, o, e) {
98
58
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
99
59
  }
100
- function _classCallCheck(a, n) {
101
- if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
102
- }
103
- function _defineProperties(e, r) {
104
- for (var t = 0; t < r.length; t++) {
105
- var o = r[t];
106
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
107
- }
108
- }
109
- function _createClass(e, r, t) {
110
- return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
111
- writable: !1
112
- }), e;
113
- }
114
- function _defineProperty(e, r, t) {
115
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
116
- value: t,
117
- enumerable: !0,
118
- configurable: !0,
119
- writable: !0
120
- }) : e[r] = t, e;
121
- }
122
- function _getPrototypeOf(t) {
123
- return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
124
- return t.__proto__ || Object.getPrototypeOf(t);
125
- }, _getPrototypeOf(t);
126
- }
127
- function _inherits(t, e) {
128
- if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
129
- t.prototype = Object.create(e && e.prototype, {
130
- constructor: {
131
- value: t,
132
- writable: !0,
133
- configurable: !0
134
- }
135
- }), Object.defineProperty(t, "prototype", {
136
- writable: !1
137
- }), e && _setPrototypeOf(t, e);
138
- }
139
60
  function _isNativeReflectConstruct() {
140
61
  try {
141
62
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
@@ -144,9 +65,6 @@ function _isNativeReflectConstruct() {
144
65
  return !!t;
145
66
  })();
146
67
  }
147
- function _iterableToArray(r) {
148
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
149
- }
150
68
  function _iterableToArrayLimit(r, l) {
151
69
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
152
70
  if (null != t) {
@@ -174,15 +92,6 @@ function _iterableToArrayLimit(r, l) {
174
92
  return a;
175
93
  }
176
94
  }
177
- function _nonIterableRest() {
178
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
179
- }
180
- function _nonIterableSpread() {
181
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
182
- }
183
- function _objectDestructuringEmpty(t) {
184
- if (null == t) throw new TypeError("Cannot destructure " + t);
185
- }
186
95
  function ownKeys(e, r) {
187
96
  var t = Object.keys(e);
188
97
  if (Object.getOwnPropertySymbols) {
@@ -204,31 +113,6 @@ function _objectSpread2(e) {
204
113
  }
205
114
  return e;
206
115
  }
207
- function _objectWithoutProperties(e, t) {
208
- if (null == e) return {};
209
- var o,
210
- r,
211
- i = _objectWithoutPropertiesLoose(e, t);
212
- if (Object.getOwnPropertySymbols) {
213
- var s = Object.getOwnPropertySymbols(e);
214
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
215
- }
216
- return i;
217
- }
218
- function _objectWithoutPropertiesLoose(r, e) {
219
- if (null == r) return {};
220
- var t = {};
221
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
222
- if (e.includes(n)) continue;
223
- t[n] = r[n];
224
- }
225
- return t;
226
- }
227
- function _possibleConstructorReturn(t, e) {
228
- if (e && ("object" == typeof e || "function" == typeof e)) return e;
229
- if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
230
- return _assertThisInitialized(t);
231
- }
232
116
  function _regeneratorRuntime() {
233
117
  _regeneratorRuntime = function () {
234
118
  return e;
@@ -530,20 +414,6 @@ function _regeneratorRuntime() {
530
414
  }
531
415
  }, e;
532
416
  }
533
- function _setPrototypeOf(t, e) {
534
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
535
- return t.__proto__ = e, t;
536
- }, _setPrototypeOf(t, e);
537
- }
538
- function _slicedToArray(r, e) {
539
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
540
- }
541
- function _toArray(r) {
542
- return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
543
- }
544
- function _toConsumableArray(r) {
545
- return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
546
- }
547
417
  function _toPrimitive(t, r) {
548
418
  if ("object" != typeof t || !t) return t;
549
419
  var e = t[Symbol.toPrimitive];
@@ -567,13 +437,181 @@ function _typeof(o) {
567
437
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
568
438
  }, _typeof(o);
569
439
  }
570
- function _unsupportedIterableToArray(r, a) {
571
- if (r) {
572
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
573
- var t = {}.toString.call(r).slice(8, -1);
574
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
440
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
441
+ try {
442
+ var info = gen[key](arg);
443
+ var value = info.value;
444
+ } catch (error) {
445
+ reject(error);
446
+ return;
447
+ }
448
+ if (info.done) {
449
+ resolve(value);
450
+ } else {
451
+ Promise.resolve(value).then(_next, _throw);
452
+ }
453
+ }
454
+ function _asyncToGenerator(fn) {
455
+ return function () {
456
+ var self = this,
457
+ args = arguments;
458
+ return new Promise(function (resolve, reject) {
459
+ var gen = fn.apply(self, args);
460
+ function _next(value) {
461
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
462
+ }
463
+ function _throw(err) {
464
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
465
+ }
466
+ _next(undefined);
467
+ });
468
+ };
469
+ }
470
+ function _classCallCheck(instance, Constructor) {
471
+ if (!(instance instanceof Constructor)) {
472
+ throw new TypeError("Cannot call a class as a function");
575
473
  }
576
474
  }
475
+ function _defineProperties(target, props) {
476
+ for (var i = 0; i < props.length; i++) {
477
+ var descriptor = props[i];
478
+ descriptor.enumerable = descriptor.enumerable || false;
479
+ descriptor.configurable = true;
480
+ if ("value" in descriptor) descriptor.writable = true;
481
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
482
+ }
483
+ }
484
+ function _createClass(Constructor, protoProps, staticProps) {
485
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
486
+ if (staticProps) _defineProperties(Constructor, staticProps);
487
+ Object.defineProperty(Constructor, "prototype", {
488
+ writable: false
489
+ });
490
+ return Constructor;
491
+ }
492
+ function _defineProperty(obj, key, value) {
493
+ key = _toPropertyKey(key);
494
+ if (key in obj) {
495
+ Object.defineProperty(obj, key, {
496
+ value: value,
497
+ enumerable: true,
498
+ configurable: true,
499
+ writable: true
500
+ });
501
+ } else {
502
+ obj[key] = value;
503
+ }
504
+ return obj;
505
+ }
506
+ function _inherits(subClass, superClass) {
507
+ if (typeof superClass !== "function" && superClass !== null) {
508
+ throw new TypeError("Super expression must either be null or a function");
509
+ }
510
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
511
+ constructor: {
512
+ value: subClass,
513
+ writable: true,
514
+ configurable: true
515
+ }
516
+ });
517
+ Object.defineProperty(subClass, "prototype", {
518
+ writable: false
519
+ });
520
+ if (superClass) _setPrototypeOf(subClass, superClass);
521
+ }
522
+ function _getPrototypeOf(o) {
523
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
524
+ return o.__proto__ || Object.getPrototypeOf(o);
525
+ };
526
+ return _getPrototypeOf(o);
527
+ }
528
+ function _setPrototypeOf(o, p) {
529
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
530
+ o.__proto__ = p;
531
+ return o;
532
+ };
533
+ return _setPrototypeOf(o, p);
534
+ }
535
+ function _objectDestructuringEmpty(obj) {
536
+ if (obj == null) throw new TypeError("Cannot destructure " + obj);
537
+ }
538
+ function _objectWithoutPropertiesLoose(source, excluded) {
539
+ if (source == null) return {};
540
+ var target = {};
541
+ for (var key in source) {
542
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
543
+ if (excluded.indexOf(key) >= 0) continue;
544
+ target[key] = source[key];
545
+ }
546
+ }
547
+ return target;
548
+ }
549
+ function _objectWithoutProperties(source, excluded) {
550
+ if (source == null) return {};
551
+ var target = _objectWithoutPropertiesLoose(source, excluded);
552
+ var key, i;
553
+ if (Object.getOwnPropertySymbols) {
554
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
555
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
556
+ key = sourceSymbolKeys[i];
557
+ if (excluded.indexOf(key) >= 0) continue;
558
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
559
+ target[key] = source[key];
560
+ }
561
+ }
562
+ return target;
563
+ }
564
+ function _assertThisInitialized(self) {
565
+ if (self === void 0) {
566
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
567
+ }
568
+ return self;
569
+ }
570
+ function _possibleConstructorReturn(self, call) {
571
+ if (call && (typeof call === "object" || typeof call === "function")) {
572
+ return call;
573
+ } else if (call !== void 0) {
574
+ throw new TypeError("Derived constructors may only return object or undefined");
575
+ }
576
+ return _assertThisInitialized(self);
577
+ }
578
+ function _slicedToArray(arr, i) {
579
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
580
+ }
581
+ function _toArray(arr) {
582
+ return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
583
+ }
584
+ function _toConsumableArray(arr) {
585
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
586
+ }
587
+ function _arrayWithoutHoles(arr) {
588
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
589
+ }
590
+ function _arrayWithHoles(arr) {
591
+ if (Array.isArray(arr)) return arr;
592
+ }
593
+ function _iterableToArray(iter) {
594
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
595
+ }
596
+ function _unsupportedIterableToArray(o, minLen) {
597
+ if (!o) return;
598
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
599
+ var n = Object.prototype.toString.call(o).slice(8, -1);
600
+ if (n === "Object" && o.constructor) n = o.constructor.name;
601
+ if (n === "Map" || n === "Set") return Array.from(o);
602
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
603
+ }
604
+ function _arrayLikeToArray(arr, len) {
605
+ if (len == null || len > arr.length) len = arr.length;
606
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
607
+ return arr2;
608
+ }
609
+ function _nonIterableSpread() {
610
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
611
+ }
612
+ function _nonIterableRest() {
613
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
614
+ }
577
615
 
578
616
  var ENUM = {
579
617
  // 浏览器缓存信息
@@ -1251,6 +1289,10 @@ var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1251
1289
  umi.history.goBack();
1252
1290
  }
1253
1291
  };
1292
+ var parseWidth = function parseWidth(widthStr) {
1293
+ var parsedWidth = parseInt(widthStr.replace('px', ''));
1294
+ return isNaN(parsedWidth) ? 0 : parsedWidth;
1295
+ };
1254
1296
  /**
1255
1297
  * 处理bssulaTable的公共回显样式
1256
1298
  * @param col 每一具体行
@@ -1269,9 +1311,10 @@ var handleBssulaColumnsSpecialParams = function handleBssulaColumnsSpecialParams
1269
1311
  };
1270
1312
  } else if (col.textOverflow) {
1271
1313
  // 处理文字太长
1314
+ var colWidth = typeof (col === null || col === void 0 ? void 0 : col.width) === 'number' ? col.width : col.width && parseWidth(col.width);
1272
1315
  col.render = function (_ref3) {
1273
1316
  var text = _ref3.text;
1274
- return handleTextOverflow(text, col.width);
1317
+ return handleTextOverflow(text, colWidth);
1275
1318
  };
1276
1319
  } else if (col.images) {
1277
1320
  col.render = function (_ref4) {
@@ -1325,8 +1368,9 @@ var handleAntdColumnsSpecialParams = function handleAntdColumnsSpecialParams(col
1325
1368
  }
1326
1369
  // 处理文字太长
1327
1370
  if (col.textOverflow) {
1371
+ var colWidth = typeof (col === null || col === void 0 ? void 0 : col.width) === 'number' ? col.width : col.width && parseWidth(col.width);
1328
1372
  col.render = function (text) {
1329
- return handleTextOverflow(text);
1373
+ return handleTextOverflow(text, colWidth);
1330
1374
  };
1331
1375
  }
1332
1376
  if (col.images) {
@@ -2354,7 +2398,7 @@ var handleBeforeUpload = function handleBeforeUpload(file, size, suffixRule) {
2354
2398
  };
2355
2399
  /*
2356
2400
  导出类型: type(1-全部导出 2-只导出勾选的 3-按查询结果导出数据)
2357
-
2401
+
2358
2402
  * */
2359
2403
  var handleExport = function handleExport(type, params, url, methods, fileName, promiseResult) {
2360
2404
  if (type === 3) {
@@ -4673,11 +4717,27 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
4673
4717
  });
4674
4718
  };
4675
4719
  var onChangeCheckAll = function onChangeCheckAll(e) {
4720
+ // 允许用户自定义 全选操作逻辑
4721
+ if (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.onCheckAll) {
4722
+ modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.onCheckAll(e, {
4723
+ items: items,
4724
+ itemsTotal: itemsTotal,
4725
+ tablePagination: tablePagination,
4726
+ onCheckAllData: onCheckAllData,
4727
+ setSelectedRowKeys: setSelectedRowKeys,
4728
+ setPopValue: setPopValue,
4729
+ setSelectedRows: setSelectedRows,
4730
+ setIndeterminate: setIndeterminate,
4731
+ setCheckedAll: setCheckedAll
4732
+ });
4733
+ return;
4734
+ }
4676
4735
  if (e.target.checked) {
4677
4736
  // 如果下拉框有所有数据就处理选中所有【items.length === itemsTotal】(最多可选100条)
4678
4737
  // 如果超过100条 就默认查出所有数据
4679
- if (items.length < itemsTotal) {
4680
- var totalPage = Math.ceil(itemsTotal / (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize));
4738
+ if (items.length < itemsTotal || items.length === itemsTotal && itemsTotal == 0) {
4739
+ var totalCount = (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total) || itemsTotal; // 兼容有查询条件的情况 首次加载是没有所有数据的,默认给加载后端返回的总条数
4740
+ var totalPage = Math.ceil(totalCount / (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize));
4681
4741
  var allPageSize = totalPage * (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize);
4682
4742
  onCheckAllData(allPageSize);
4683
4743
  } else {
@@ -5103,7 +5163,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5103
5163
  }
5104
5164
  };
5105
5165
  }
5106
- }), selectMode ? ( /*#__PURE__*/React__default['default'].createElement("div", {
5166
+ }), selectMode && !(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.isHiddenCheckAll) ? ( /*#__PURE__*/React__default['default'].createElement("div", {
5107
5167
  className: 'select_list_selectAll'
5108
5168
  }, /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
5109
5169
  indeterminate: indeterminate,
@@ -6945,7 +7005,7 @@ var AddSelect = function AddSelect(props) {
6945
7005
  item.width = item.width || getItemDefaultWidth$2(item);
6946
7006
  item.onHeaderCell = function (column) {
6947
7007
  return _objectSpread2(_objectSpread2({}, item), {}, {
6948
- width: typeof column.width === 'number' ? column.width : parseInt(column.width.replace('px', '')),
7008
+ width: typeof column.width === 'number' ? column.width : parseWidth(column.width),
6949
7009
  onResize: handleResize(arr, indexArrInside, callback)
6950
7010
  });
6951
7011
  };
@@ -7997,7 +8057,7 @@ var BillEntry = function BillEntry(_ref3) {
7997
8057
  item.width = item.width || getItemDefaultWidth$2(item);
7998
8058
  item.onHeaderCell = function (column) {
7999
8059
  return _objectSpread2(_objectSpread2({}, item), {}, {
8000
- width: typeof column.width === 'number' ? column.width : parseInt(column.width.replace('px', '')),
8060
+ width: typeof column.width === 'number' ? column.width : parseWidth(column.width),
8001
8061
  onResize: handleResize(arr, indexArrInside, callback)
8002
8062
  });
8003
8063
  };
@@ -13433,7 +13493,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
13433
13493
  item.width = item.width || getItemDefaultWidth$2(item);
13434
13494
  item.onHeaderCell = function (column) {
13435
13495
  return _objectSpread2(_objectSpread2({}, item), {}, {
13436
- width: typeof column.width === 'number' ? column.width : parseInt(column.width.replace('px', '')),
13496
+ width: typeof column.width === 'number' ? column.width : parseWidth(column.width),
13437
13497
  onResize: _this2.handleResize(indexArrInside)
13438
13498
  });
13439
13499
  };
@@ -13667,7 +13727,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
13667
13727
  item.width = item.width || getItemDefaultWidth$2(item);
13668
13728
  item.onHeaderCell = function (column) {
13669
13729
  return _objectSpread2(_objectSpread2({}, item), {}, {
13670
- width: typeof column.width === 'number' ? column.width : parseInt(column.width.replace('px', '')),
13730
+ width: typeof column.width === 'number' ? column.width : parseWidth(column.width),
13671
13731
  onResize: _this2.handleResize(indexArrInside)
13672
13732
  });
13673
13733
  };
@@ -13827,9 +13887,9 @@ function matchRoute(path, routeObj, hideRouteObj) {
13827
13887
  var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRouteArray, _ref) {
13828
13888
  var pathToRegexp = _ref.pathToRegexp;
13829
13889
  var newPath = path.split('?')[0];
13830
- var hideRouteObj = _defineProperty({}, newPath, hideRouteArray.find(function (itemRoute) {
13890
+ var hideRouteObj = _defineProperty({}, newPath, Array.isArray(hideRouteArray) && (hideRouteArray === null || hideRouteArray === void 0 ? void 0 : hideRouteArray.find(function (itemRoute) {
13831
13891
  return pathToRegexp(itemRoute.path).test(newPath);
13832
- }));
13892
+ })));
13833
13893
  var matchedRoute = matchRoute(newPath, routeObj, hideRouteObj);
13834
13894
  if (matchedRoute) {
13835
13895
  var modeTypeText = path.match(/.*\/action\/.*/) ? '' : getModeTypeText(path);
@@ -13957,7 +14017,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
13957
14017
  return pathKey ? breadcrumbNameMap[pathKey] : undefined;
13958
14018
  };
13959
14019
  var getPageTitle = function getPageTitle(pathname) {
13960
- var _ref3 = localStorage.getItem(getCommonInfoKey()) && JSON.parse(localStorage.getItem('commonInfo')) || {},
14020
+ var _ref3 = localStorage.getItem(getCommonInfoKey()) && JSON.parse(localStorage.getItem(getCommonInfoKey())) || {},
13961
14021
  _ref3$hideRouteArray = _ref3.hideRouteArray,
13962
14022
  hideRouteArray = _ref3$hideRouteArray === void 0 ? [] : _ref3$hideRouteArray;
13963
14023
  var currRouterData = matchParamsPath("".concat(basePath).concat(pathname), breadcrumbNameMap) || getDetailMatchRoute("".concat(basePath).concat(pathname), breadcrumbNameMap, hideRouteArray, {
@@ -15726,10 +15786,6 @@ var BsSulaQueryTable = (function (props) {
15726
15786
  }
15727
15787
  var columns = props.columns;
15728
15788
  var columnConfig = getConfigFromlocalstorage(ENUM.BROWSER_CACHE.COLUMN_CONDITION);
15729
- var parseWidth = function parseWidth(widthStr) {
15730
- var parsedWidth = parseInt(widthStr.replace('px', ''));
15731
- return isNaN(parsedWidth) ? 0 : parsedWidth;
15732
- };
15733
15789
  var showColumns = getSettingFieldOrColumn(columnConfig, columns, 'columns');
15734
15790
  showColumns.forEach(function (item, index) {
15735
15791
  item.width = item.width || getItemDefaultWidth(item);
@@ -15749,7 +15805,7 @@ var BsSulaQueryTable = (function (props) {
15749
15805
  handleBssulaColumnsSpecialParams(item);
15750
15806
  item.onHeaderCell = function (column) {
15751
15807
  return _objectSpread2(_objectSpread2({}, item), {}, {
15752
- width: typeof column.width === 'number' ? column.width : parseInt(column.width.replace('px', '')),
15808
+ width: typeof column.width === 'number' ? column.width : parseWidth(column.width),
15753
15809
  onResize: handleResize(index)
15754
15810
  });
15755
15811
  };
@@ -35220,6 +35276,7 @@ exports.keyToWord = keyToWord;
35220
35276
  exports.memoizeOneFormatter = memoizeOneFormatter;
35221
35277
  exports.noEmptyArr = noEmptyArr;
35222
35278
  exports.paramsControl = paramsControl;
35279
+ exports.parseWidth = parseWidth;
35223
35280
  exports.precisionQuantity = precisionQuantity;
35224
35281
  exports.randomString = randomString;
35225
35282
  exports.readerXlsxToList = readerXlsxToList;
@@ -2,6 +2,7 @@ export declare function downloadExcel(data: any, fileName?: any, isResUrl?: bool
2
2
  export declare const formatter: (data: any, parentAuthority: any, parentName: any) => any;
3
3
  export declare const memoizeOneFormatter: import("memoize-one").MemoizedFn<(data: any, parentAuthority: any, parentName: any) => any>;
4
4
  export declare const go2BackAndClose: (backHistoryPath: any) => void;
5
+ export declare const parseWidth: (widthStr: string) => number;
5
6
  /**
6
7
  * 处理bssulaTable的公共回显样式
7
8
  * @param col 每一具体行
package/docs/index.md CHANGED
@@ -1,21 +1,21 @@
1
- ---
2
- hero:
3
- title: business-component
4
- desc: business-component site example
5
- actions:
6
- - text: Getting Started
7
- link: /components
8
- features:
9
- - icon: https://gw.alipayobjects.com/zos/bmw-prod/881dc458-f20b-407b-947a-95104b5ec82b/k79dm8ih_w144_h144.png
10
- title: Feature 1
11
- desc: Balabala
12
- - icon: https://gw.alipayobjects.com/zos/bmw-prod/d60657df-0822-4631-9d7c-e7a869c2f21c/k79dmz3q_w126_h126.png
13
- title: Feature 2
14
- desc: Balabala
15
- - icon: https://gw.alipayobjects.com/zos/bmw-prod/d1ee0c6f-5aed-4a45-a507-339a4bfe076c/k7bjsocq_w144_h144.png
16
- title: Feature 3
17
- desc: Balabala
18
- footer: Open-source MIT Licensed | Copyright © 2020<br />Powered by [dumi](https://d.umijs.org)
19
- ---
20
-
21
- ## Hello business-component!
1
+ ---
2
+ hero:
3
+ title: business-component
4
+ desc: business-component site example
5
+ actions:
6
+ - text: Getting Started
7
+ link: /components
8
+ features:
9
+ - icon: https://gw.alipayobjects.com/zos/bmw-prod/881dc458-f20b-407b-947a-95104b5ec82b/k79dm8ih_w144_h144.png
10
+ title: Feature 1
11
+ desc: Balabala
12
+ - icon: https://gw.alipayobjects.com/zos/bmw-prod/d60657df-0822-4631-9d7c-e7a869c2f21c/k79dmz3q_w126_h126.png
13
+ title: Feature 2
14
+ desc: Balabala
15
+ - icon: https://gw.alipayobjects.com/zos/bmw-prod/d1ee0c6f-5aed-4a45-a507-339a4bfe076c/k7bjsocq_w144_h144.png
16
+ title: Feature 3
17
+ desc: Balabala
18
+ footer: Open-source MIT Licensed | Copyright © 2020<br />Powered by [dumi](https://d.umijs.org)
19
+ ---
20
+
21
+ ## Hello business-component!
@@ -1,17 +1,17 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24" class="design-iconfont">
2
- <defs>
3
- <linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="l1lf23lgga">
4
- <stop stop-color="#10295B" offset="0%"/>
5
- <stop stop-color="#0F2A61" offset="100%"/>
6
- </linearGradient>
7
- <path id="okxu11mz5b" d="M0 0H24V24H0z"/>
8
- </defs>
9
- <g fill="none" fill-rule="evenodd">
10
- <mask id="7u8dk2lilc" fill="#fff">
11
- <use xlink:href="#okxu11mz5b"/>
12
- </mask>
13
- <g mask="url(#7u8dk2lilc)" fill="#999" fill-rule="nonzero">
14
- <path d="M1.31655092,7 C2.03935948,7 2.6253116,7.58595212 2.6253116,8.30876068 C2.6253116,9.03156925 2.03935948,9.61752137 1.31655092,9.61752137 C0.593742351,9.61752137 0.00779023438,9.03156925 0.00779023438,8.30876068 C0.00779023438,7.58595212 0.593742351,7 1.31655092,7 Z M6.99034011,7 C7.71314867,7 8.29910079,7.58595212 8.29910079,8.30876068 C8.29910079,9.03156925 7.71314867,9.61752137 6.99034011,9.61752137 C6.26753154,9.61752137 5.68157942,9.03156925 5.68157942,8.30876068 C5.68157942,7.58595212 6.26753154,7 6.99034011,7 Z M12.6641293,7 C13.3869378,7 13.97289,7.58595212 13.97289,8.30876068 C13.97289,9.03156925 13.3869378,9.61752137 12.6641293,9.61752137 C11.9413207,9.61752137 11.3553686,9.03156925 11.3553686,8.30876068 C11.3553686,7.58595212 11.9413207,7 12.6641293,7 Z M1.31655092,-5.32907052e-15 C2.03935948,-5.32907052e-15 2.6253116,0.585952117 2.6253116,1.30876068 C2.6253116,2.03156925 2.03935948,2.61752137 1.31655092,2.61752137 C0.593742351,2.61752137 0.00779023438,2.03156925 0.00779023438,1.30876068 C0.00779023438,0.585952117 0.593742351,-5.32907052e-15 1.31655092,-5.32907052e-15 Z M6.99034011,-5.32907052e-15 C7.71314867,-5.32907052e-15 8.29910079,0.585952117 8.29910079,1.30876068 C8.29910079,2.03156925 7.71314867,2.61752137 6.99034011,2.61752137 C6.26753154,2.61752137 5.68157942,2.03156925 5.68157942,1.30876068 C5.68157942,0.585952117 6.26753154,-5.32907052e-15 6.99034011,-5.32907052e-15 Z M12.6641293,-5.32907052e-15 C13.3869378,-5.32907052e-15 13.97289,0.585952117 13.97289,1.30876068 C13.97289,2.03156925 13.3869378,2.61752137 12.6641293,2.61752137 C11.9413207,2.61752137 11.3553686,2.03156925 11.3553686,1.30876068 C11.3553686,0.585952117 11.9413207,-5.32907052e-15 12.6641293,-5.32907052e-15 Z" transform="translate(5 7)"/>
15
- </g>
16
- </g>
17
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24" class="design-iconfont">
2
+ <defs>
3
+ <linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="l1lf23lgga">
4
+ <stop stop-color="#10295B" offset="0%"/>
5
+ <stop stop-color="#0F2A61" offset="100%"/>
6
+ </linearGradient>
7
+ <path id="okxu11mz5b" d="M0 0H24V24H0z"/>
8
+ </defs>
9
+ <g fill="none" fill-rule="evenodd">
10
+ <mask id="7u8dk2lilc" fill="#fff">
11
+ <use xlink:href="#okxu11mz5b"/>
12
+ </mask>
13
+ <g mask="url(#7u8dk2lilc)" fill="#999" fill-rule="nonzero">
14
+ <path d="M1.31655092,7 C2.03935948,7 2.6253116,7.58595212 2.6253116,8.30876068 C2.6253116,9.03156925 2.03935948,9.61752137 1.31655092,9.61752137 C0.593742351,9.61752137 0.00779023438,9.03156925 0.00779023438,8.30876068 C0.00779023438,7.58595212 0.593742351,7 1.31655092,7 Z M6.99034011,7 C7.71314867,7 8.29910079,7.58595212 8.29910079,8.30876068 C8.29910079,9.03156925 7.71314867,9.61752137 6.99034011,9.61752137 C6.26753154,9.61752137 5.68157942,9.03156925 5.68157942,8.30876068 C5.68157942,7.58595212 6.26753154,7 6.99034011,7 Z M12.6641293,7 C13.3869378,7 13.97289,7.58595212 13.97289,8.30876068 C13.97289,9.03156925 13.3869378,9.61752137 12.6641293,9.61752137 C11.9413207,9.61752137 11.3553686,9.03156925 11.3553686,8.30876068 C11.3553686,7.58595212 11.9413207,7 12.6641293,7 Z M1.31655092,-5.32907052e-15 C2.03935948,-5.32907052e-15 2.6253116,0.585952117 2.6253116,1.30876068 C2.6253116,2.03156925 2.03935948,2.61752137 1.31655092,2.61752137 C0.593742351,2.61752137 0.00779023438,2.03156925 0.00779023438,1.30876068 C0.00779023438,0.585952117 0.593742351,-5.32907052e-15 1.31655092,-5.32907052e-15 Z M6.99034011,-5.32907052e-15 C7.71314867,-5.32907052e-15 8.29910079,0.585952117 8.29910079,1.30876068 C8.29910079,2.03156925 7.71314867,2.61752137 6.99034011,2.61752137 C6.26753154,2.61752137 5.68157942,2.03156925 5.68157942,1.30876068 C5.68157942,0.585952117 6.26753154,-5.32907052e-15 6.99034011,-5.32907052e-15 Z M12.6641293,-5.32907052e-15 C13.3869378,-5.32907052e-15 13.97289,0.585952117 13.97289,1.30876068 C13.97289,2.03156925 13.3869378,2.61752137 12.6641293,2.61752137 C11.9413207,2.61752137 11.3553686,2.03156925 11.3553686,1.30876068 C11.3553686,0.585952117 11.9413207,-5.32907052e-15 12.6641293,-5.32907052e-15 Z" transform="translate(5 7)"/>
15
+ </g>
16
+ </g>
17
+ </svg>