@bit-sun/business-component 2.4.31 → 2.4.32
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.
- package/.editorconfig +16 -16
- package/.fatherrc.ts +5 -5
- package/.gitlab-ci.yml +179 -179
- package/.prettierignore +7 -7
- package/.prettierrc +11 -11
- package/.umirc.ts +74 -74
- package/README.md +27 -27
- package/dist/index.esm.js +189 -244
- package/dist/index.js +195 -250
- package/dist/utils/utils.d.ts +1 -1
- package/docs/index.md +21 -21
- package/lib/assets/drag.svg +17 -17
- package/lib/assets/exportFail.svg +37 -37
- package/lib/assets/exportProcessing.svg +28 -28
- package/lib/assets/exportSuccess.svg +34 -34
- package/lib/assets/label_icon_bottom.svg +25 -25
- package/lib/assets/upExport.svg +22 -22
- package/package.json +80 -80
- package/src/assets/32.svg +27 -27
- package/src/assets/addIcon.svg +17 -17
- package/src/assets/allfunc.svg +27 -27
- package/src/assets/arrowRight.svg +24 -24
- package/src/assets/btn-delete.svg +29 -29
- package/src/assets/btn-edit.svg +19 -19
- package/src/assets/btn-more.svg +17 -17
- package/src/assets/btn-submit.svg +19 -19
- package/src/assets/caidan.svg +11 -11
- package/src/assets/close.svg +26 -26
- package/src/assets/drag.svg +17 -17
- package/src/assets/exportFail.svg +37 -37
- package/src/assets/exportProcessing.svg +28 -28
- package/src/assets/exportSuccess.svg +34 -34
- package/src/assets/fixed-left-active.svg +11 -11
- package/src/assets/fixed-left.svg +15 -15
- package/src/assets/fixed-right-active.svg +11 -11
- package/src/assets/fixed-right.svg +15 -15
- package/src/assets/guanbi.svg +15 -15
- package/src/assets/icon-quanping.svg +15 -15
- package/src/assets/icon-shezhi.svg +17 -17
- package/src/assets/label_icon_bottom.svg +25 -25
- package/src/assets/list-no-img.svg +21 -21
- package/src/assets/morentouxiang-32.svg +23 -23
- package/src/assets/scanning.svg +24 -24
- package/src/assets/upExport.svg +22 -22
- package/src/common/ENUM.ts +41 -41
- package/src/components/Business/AddSelectBusiness/index.md +162 -162
- package/src/components/Business/AddSelectBusiness/index.tsx +1062 -1062
- package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +112 -112
- package/src/components/Business/BsLayouts/Components/AllFunc/index.less +153 -153
- package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +70 -70
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +90 -90
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +37 -37
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +242 -242
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +384 -384
- package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +285 -285
- package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +74 -74
- package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +170 -170
- package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +64 -64
- package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +153 -153
- package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +72 -72
- package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +158 -158
- package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +85 -85
- package/src/components/Business/BsLayouts/Components/RightContent/home.less +218 -218
- package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +155 -155
- package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +160 -160
- package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +75 -75
- package/src/components/Business/BsLayouts/index.less +79 -79
- package/src/components/Business/BsLayouts/index.tsx +1484 -1484
- package/src/components/Business/BsLayouts/service.ts +10 -10
- package/src/components/Business/BsLayouts/utils.tsx +203 -203
- package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +566 -566
- package/src/components/Business/BsSulaQueryTable/index.less +221 -221
- package/src/components/Business/BsSulaQueryTable/index.tsx +606 -606
- package/src/components/Business/BsSulaQueryTable/setting.tsx +854 -854
- package/src/components/Business/BsSulaQueryTable/utils.less +65 -65
- package/src/components/Business/BsSulaQueryTable/utils.tsx +690 -690
- package/src/components/Business/CommodityEntry/index.md +70 -70
- package/src/components/Business/CommodityEntry/index.tsx +81 -81
- package/src/components/Business/CommonAlert/index.tsx +23 -23
- package/src/components/Business/CommonGuideWrapper/index.less +111 -111
- package/src/components/Business/CommonGuideWrapper/index.md +39 -39
- package/src/components/Business/CommonGuideWrapper/index.tsx +83 -83
- package/src/components/Business/DetailPageWrapper/index.less +79 -79
- package/src/components/Business/DetailPageWrapper/index.tsx +315 -315
- package/src/components/Business/DetailPageWrapper/utils.tsx +164 -164
- package/src/components/Business/HomePageWrapper/index.less +33 -33
- package/src/components/Business/HomePageWrapper/index.md +45 -45
- package/src/components/Business/HomePageWrapper/index.tsx +162 -162
- package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +824 -824
- package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +205 -205
- package/src/components/Business/JsonQueryTable/components/Formula.tsx +206 -206
- package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -127
- package/src/components/Business/JsonQueryTable/configButton/index.js +20 -20
- package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -25
- package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -30
- package/src/components/Business/JsonQueryTable/configTree/index.js +82 -82
- package/src/components/Business/JsonQueryTable/configTree/index.less +44 -44
- package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -57
- package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -124
- package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -29
- package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -22
- package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -116
- package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -12
- package/src/components/Business/JsonQueryTable/function.ts +62 -62
- package/src/components/Business/JsonQueryTable/index.less +16 -16
- package/src/components/Business/JsonQueryTable/index.md +328 -328
- package/src/components/Business/JsonQueryTable/index.tsx +537 -537
- package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -346
- package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -22
- package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -147
- package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -389
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -118
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -22
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -21
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -65
- package/src/components/Business/JsonQueryTable/static.ts +450 -450
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +2120 -2120
- package/src/components/Business/SearchSelect/common.ts +134 -134
- package/src/components/Business/SearchSelect/index.md +1503 -1503
- package/src/components/Business/SearchSelect/index.tsx +55 -55
- package/src/components/Business/SearchSelect/utils.ts +101 -101
- package/src/components/Business/StateFlow/index.less +130 -130
- package/src/components/Business/StateFlow/index.md +60 -60
- package/src/components/Business/StateFlow/index.tsx +29 -29
- package/src/components/Business/TreeSearchSelect/index.md +185 -185
- package/src/components/Business/TreeSearchSelect/index.tsx +33 -33
- package/src/components/Business/TreeSearchSelect/utils.ts +104 -104
- package/src/components/Business/columnSettingTable/columnSetting.tsx +766 -766
- package/src/components/Business/columnSettingTable/index.less +247 -247
- package/src/components/Business/columnSettingTable/index.md +357 -357
- package/src/components/Business/columnSettingTable/index.tsx +235 -235
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +243 -243
- package/src/components/Business/columnSettingTable/utils.tsx +71 -71
- package/src/components/Business/moreTreeTable/FixedScrollBar.tsx +87 -87
- package/src/components/Business/moreTreeTable/hooks/useSticky.ts +21 -21
- package/src/components/Business/moreTreeTable/index.less +99 -99
- package/src/components/Business/moreTreeTable/index.md +448 -448
- package/src/components/Business/moreTreeTable/index.tsx +387 -387
- package/src/components/Business/moreTreeTable/utils.ts +126 -126
- package/src/components/Functional/AddSelect/helps.ts +80 -80
- package/src/components/Functional/AddSelect/index.less +367 -367
- package/src/components/Functional/AddSelect/index.md +155 -155
- package/src/components/Functional/AddSelect/index.tsx +1171 -1171
- package/src/components/Functional/BillEntry/index.less +371 -371
- package/src/components/Functional/BillEntry/index.md +39 -39
- package/src/components/Functional/BillEntry/index.tsx +773 -773
- package/src/components/Functional/BsAntdSula/BsCascader/index.md +62 -62
- package/src/components/Functional/BsAntdSula/BsCascader/index.tsx +178 -178
- package/src/components/Functional/BsAntdSula/index.ts +2 -2
- package/src/components/Functional/DataImport/index.less +63 -63
- package/src/components/Functional/DataImport/index.md +44 -44
- package/src/components/Functional/DataImport/index.tsx +696 -696
- package/src/components/Functional/DataValidation/index.less +63 -63
- package/src/components/Functional/DataValidation/index.md +39 -39
- package/src/components/Functional/DataValidation/index.tsx +688 -688
- package/src/components/Functional/EllipsisTooltip/index.d.ts +5 -5
- package/src/components/Functional/EllipsisTooltip/index.js +36 -36
- package/src/components/Functional/EllipsisTooltip/index.md +30 -30
- package/src/components/Functional/ExportFunctions/ExportIcon/index.md +37 -37
- package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +60 -60
- package/src/components/Functional/QueryMutipleInput/index.less +37 -37
- package/src/components/Functional/QueryMutipleInput/index.md +33 -33
- package/src/components/Functional/QueryMutipleInput/index.tsx +128 -128
- package/src/components/Functional/SearchSelect/index.less +115 -115
- package/src/components/Functional/SearchSelect/index.md +141 -141
- package/src/components/Functional/SearchSelect/index.tsx +897 -896
- package/src/components/Functional/SearchSelect/utils.ts +3 -3
- package/src/components/Functional/TreeSearchSelect/index.md +47 -47
- package/src/components/Functional/TreeSearchSelect/index.tsx +204 -204
- package/src/components/Solution/RuleComponent/Formula.tsx +335 -335
- package/src/components/Solution/RuleComponent/InnerSelect.tsx +62 -62
- package/src/components/Solution/RuleComponent/index.d.ts +29 -29
- package/src/components/Solution/RuleComponent/index.js +2103 -2103
- package/src/components/Solution/RuleComponent/index.less +229 -229
- package/src/components/Solution/RuleComponent/renderSpecificAction.js +99 -99
- package/src/components/Solution/RuleComponent/ruleFiled.js +2293 -2293
- package/src/components/Solution/RuleComponent/services.ts +13 -13
- package/src/components/Solution/RuleComponent/util.js +143 -143
- package/src/components/Solution/RuleSetter/RuleInstance.tsx +6 -6
- package/src/components/Solution/RuleSetter/baseRule.tsx +368 -368
- package/src/components/Solution/RuleSetter/function.ts +336 -336
- package/src/components/Solution/RuleSetter/index.less +221 -221
- package/src/components/Solution/RuleSetter/index.tsx +208 -208
- package/src/components/Solution/RuleSetter/service.js +276 -276
- package/src/index.ts +40 -40
- package/src/plugin/TableColumnSetting/index.less +247 -247
- package/src/plugin/TableColumnSetting/index.md +50 -50
- package/src/plugin/TableColumnSetting/index.tsx +725 -725
- package/src/plugin/TableColumnSetting/utils.ts +19 -19
- package/src/styles/bsDefault.less +1912 -1912
- package/src/utils/CheckOneUser/index.md +39 -39
- package/src/utils/CheckOneUser/index.ts +51 -51
- package/src/utils/CustomLoginInfo.ts +55 -55
- package/src/utils/LocalstorageUtils.ts +128 -128
- package/src/utils/TableUtils.tsx +18 -18
- package/src/utils/auth.ts +32 -32
- package/src/utils/checkUtils.ts +39 -39
- package/src/utils/enumConfig.ts +16 -16
- package/src/utils/getFormMode.js +12 -12
- package/src/utils/index.ts +12 -12
- package/src/utils/requestUtils.ts +166 -166
- package/src/utils/serialize.js +7 -7
- package/src/utils/utils.ts +195 -195
- package/tsconfig.json +29 -29
- package/typings.d.ts +4 -4
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ var cookie = require('js-cookie');
|
|
|
7
7
|
var antd = require('antd');
|
|
8
8
|
var _ = require('lodash');
|
|
9
9
|
var umi = require('umi');
|
|
10
|
-
var isEqual
|
|
10
|
+
var isEqual = require('lodash/isEqual');
|
|
11
11
|
var React$1 = require('react');
|
|
12
12
|
var moment$1 = require('moment');
|
|
13
13
|
var icons = require('@ant-design/icons');
|
|
@@ -35,7 +35,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
35
35
|
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
36
36
|
var cookie__default = /*#__PURE__*/_interopDefaultLegacy(cookie);
|
|
37
37
|
var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
38
|
-
var isEqual__default = /*#__PURE__*/_interopDefaultLegacy(isEqual
|
|
38
|
+
var isEqual__default = /*#__PURE__*/_interopDefaultLegacy(isEqual);
|
|
39
39
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
|
|
40
40
|
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment$1);
|
|
41
41
|
var ProLayout__default = /*#__PURE__*/_interopDefaultLegacy(ProLayout);
|
|
@@ -46,9 +46,97 @@ var serialize__default = /*#__PURE__*/_interopDefaultLegacy(serialize);
|
|
|
46
46
|
var castArray__default = /*#__PURE__*/_interopDefaultLegacy(castArray);
|
|
47
47
|
var isArray__default = /*#__PURE__*/_interopDefaultLegacy(isArray$1);
|
|
48
48
|
|
|
49
|
+
function _arrayLikeToArray(r, a) {
|
|
50
|
+
(null == a || a > r.length) && (a = r.length);
|
|
51
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
52
|
+
return n;
|
|
53
|
+
}
|
|
54
|
+
function _arrayWithHoles(r) {
|
|
55
|
+
if (Array.isArray(r)) return r;
|
|
56
|
+
}
|
|
57
|
+
function _arrayWithoutHoles(r) {
|
|
58
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
59
|
+
}
|
|
60
|
+
function _assertThisInitialized(e) {
|
|
61
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
62
|
+
return e;
|
|
63
|
+
}
|
|
64
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
65
|
+
try {
|
|
66
|
+
var i = n[a](c),
|
|
67
|
+
u = i.value;
|
|
68
|
+
} catch (n) {
|
|
69
|
+
return void e(n);
|
|
70
|
+
}
|
|
71
|
+
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
72
|
+
}
|
|
73
|
+
function _asyncToGenerator(n) {
|
|
74
|
+
return function () {
|
|
75
|
+
var t = this,
|
|
76
|
+
e = arguments;
|
|
77
|
+
return new Promise(function (r, o) {
|
|
78
|
+
var a = n.apply(t, e);
|
|
79
|
+
function _next(n) {
|
|
80
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
81
|
+
}
|
|
82
|
+
function _throw(n) {
|
|
83
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
84
|
+
}
|
|
85
|
+
_next(void 0);
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
}
|
|
49
89
|
function _callSuper(t, o, e) {
|
|
50
90
|
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
51
91
|
}
|
|
92
|
+
function _classCallCheck(a, n) {
|
|
93
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
94
|
+
}
|
|
95
|
+
function _defineProperties(e, r) {
|
|
96
|
+
for (var t = 0; t < r.length; t++) {
|
|
97
|
+
var o = r[t];
|
|
98
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function _createClass(e, r, t) {
|
|
102
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
103
|
+
writable: !1
|
|
104
|
+
}), e;
|
|
105
|
+
}
|
|
106
|
+
function _defineProperty(e, r, t) {
|
|
107
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
108
|
+
value: t,
|
|
109
|
+
enumerable: !0,
|
|
110
|
+
configurable: !0,
|
|
111
|
+
writable: !0
|
|
112
|
+
}) : e[r] = t, e;
|
|
113
|
+
}
|
|
114
|
+
function _extends() {
|
|
115
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
116
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
117
|
+
var t = arguments[e];
|
|
118
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
119
|
+
}
|
|
120
|
+
return n;
|
|
121
|
+
}, _extends.apply(null, arguments);
|
|
122
|
+
}
|
|
123
|
+
function _getPrototypeOf(t) {
|
|
124
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
125
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
126
|
+
}, _getPrototypeOf(t);
|
|
127
|
+
}
|
|
128
|
+
function _inherits(t, e) {
|
|
129
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
130
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
131
|
+
constructor: {
|
|
132
|
+
value: t,
|
|
133
|
+
writable: !0,
|
|
134
|
+
configurable: !0
|
|
135
|
+
}
|
|
136
|
+
}), Object.defineProperty(t, "prototype", {
|
|
137
|
+
writable: !1
|
|
138
|
+
}), e && _setPrototypeOf(t, e);
|
|
139
|
+
}
|
|
52
140
|
function _isNativeReflectConstruct() {
|
|
53
141
|
try {
|
|
54
142
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
@@ -57,6 +145,9 @@ function _isNativeReflectConstruct() {
|
|
|
57
145
|
return !!t;
|
|
58
146
|
})();
|
|
59
147
|
}
|
|
148
|
+
function _iterableToArray(r) {
|
|
149
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
150
|
+
}
|
|
60
151
|
function _iterableToArrayLimit(r, l) {
|
|
61
152
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
62
153
|
if (null != t) {
|
|
@@ -84,6 +175,15 @@ function _iterableToArrayLimit(r, l) {
|
|
|
84
175
|
return a;
|
|
85
176
|
}
|
|
86
177
|
}
|
|
178
|
+
function _nonIterableRest() {
|
|
179
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
180
|
+
}
|
|
181
|
+
function _nonIterableSpread() {
|
|
182
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
183
|
+
}
|
|
184
|
+
function _objectDestructuringEmpty(t) {
|
|
185
|
+
if (null == t) throw new TypeError("Cannot destructure " + t);
|
|
186
|
+
}
|
|
87
187
|
function ownKeys(e, r) {
|
|
88
188
|
var t = Object.keys(e);
|
|
89
189
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -105,6 +205,31 @@ function _objectSpread2(e) {
|
|
|
105
205
|
}
|
|
106
206
|
return e;
|
|
107
207
|
}
|
|
208
|
+
function _objectWithoutProperties(e, t) {
|
|
209
|
+
if (null == e) return {};
|
|
210
|
+
var o,
|
|
211
|
+
r,
|
|
212
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
213
|
+
if (Object.getOwnPropertySymbols) {
|
|
214
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
215
|
+
for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
216
|
+
}
|
|
217
|
+
return i;
|
|
218
|
+
}
|
|
219
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
220
|
+
if (null == r) return {};
|
|
221
|
+
var t = {};
|
|
222
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
223
|
+
if (e.indexOf(n) >= 0) continue;
|
|
224
|
+
t[n] = r[n];
|
|
225
|
+
}
|
|
226
|
+
return t;
|
|
227
|
+
}
|
|
228
|
+
function _possibleConstructorReturn(t, e) {
|
|
229
|
+
if (e && ("object" == typeof e || "function" == typeof e)) return e;
|
|
230
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
231
|
+
return _assertThisInitialized(t);
|
|
232
|
+
}
|
|
108
233
|
function _regeneratorRuntime() {
|
|
109
234
|
_regeneratorRuntime = function () {
|
|
110
235
|
return e;
|
|
@@ -406,6 +531,20 @@ function _regeneratorRuntime() {
|
|
|
406
531
|
}
|
|
407
532
|
}, e;
|
|
408
533
|
}
|
|
534
|
+
function _setPrototypeOf(t, e) {
|
|
535
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
536
|
+
return t.__proto__ = e, t;
|
|
537
|
+
}, _setPrototypeOf(t, e);
|
|
538
|
+
}
|
|
539
|
+
function _slicedToArray(r, e) {
|
|
540
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
541
|
+
}
|
|
542
|
+
function _toArray(r) {
|
|
543
|
+
return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
|
|
544
|
+
}
|
|
545
|
+
function _toConsumableArray(r) {
|
|
546
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
547
|
+
}
|
|
409
548
|
function _toPrimitive(t, r) {
|
|
410
549
|
if ("object" != typeof t || !t) return t;
|
|
411
550
|
var e = t[Symbol.toPrimitive];
|
|
@@ -429,194 +568,12 @@ function _typeof(o) {
|
|
|
429
568
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
430
569
|
}, _typeof(o);
|
|
431
570
|
}
|
|
432
|
-
function
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
var
|
|
436
|
-
|
|
437
|
-
reject(error);
|
|
438
|
-
return;
|
|
439
|
-
}
|
|
440
|
-
if (info.done) {
|
|
441
|
-
resolve(value);
|
|
442
|
-
} else {
|
|
443
|
-
Promise.resolve(value).then(_next, _throw);
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
function _asyncToGenerator(fn) {
|
|
447
|
-
return function () {
|
|
448
|
-
var self = this,
|
|
449
|
-
args = arguments;
|
|
450
|
-
return new Promise(function (resolve, reject) {
|
|
451
|
-
var gen = fn.apply(self, args);
|
|
452
|
-
function _next(value) {
|
|
453
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
454
|
-
}
|
|
455
|
-
function _throw(err) {
|
|
456
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
457
|
-
}
|
|
458
|
-
_next(undefined);
|
|
459
|
-
});
|
|
460
|
-
};
|
|
461
|
-
}
|
|
462
|
-
function _classCallCheck(instance, Constructor) {
|
|
463
|
-
if (!(instance instanceof Constructor)) {
|
|
464
|
-
throw new TypeError("Cannot call a class as a function");
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
function _defineProperties(target, props) {
|
|
468
|
-
for (var i = 0; i < props.length; i++) {
|
|
469
|
-
var descriptor = props[i];
|
|
470
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
471
|
-
descriptor.configurable = true;
|
|
472
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
473
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
477
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
478
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
479
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
480
|
-
writable: false
|
|
481
|
-
});
|
|
482
|
-
return Constructor;
|
|
483
|
-
}
|
|
484
|
-
function _defineProperty(obj, key, value) {
|
|
485
|
-
key = _toPropertyKey(key);
|
|
486
|
-
if (key in obj) {
|
|
487
|
-
Object.defineProperty(obj, key, {
|
|
488
|
-
value: value,
|
|
489
|
-
enumerable: true,
|
|
490
|
-
configurable: true,
|
|
491
|
-
writable: true
|
|
492
|
-
});
|
|
493
|
-
} else {
|
|
494
|
-
obj[key] = value;
|
|
495
|
-
}
|
|
496
|
-
return obj;
|
|
497
|
-
}
|
|
498
|
-
function _extends() {
|
|
499
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
500
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
501
|
-
var source = arguments[i];
|
|
502
|
-
for (var key in source) {
|
|
503
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
504
|
-
target[key] = source[key];
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
return target;
|
|
509
|
-
};
|
|
510
|
-
return _extends.apply(this, arguments);
|
|
511
|
-
}
|
|
512
|
-
function _inherits(subClass, superClass) {
|
|
513
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
514
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
515
|
-
}
|
|
516
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
517
|
-
constructor: {
|
|
518
|
-
value: subClass,
|
|
519
|
-
writable: true,
|
|
520
|
-
configurable: true
|
|
521
|
-
}
|
|
522
|
-
});
|
|
523
|
-
Object.defineProperty(subClass, "prototype", {
|
|
524
|
-
writable: false
|
|
525
|
-
});
|
|
526
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
527
|
-
}
|
|
528
|
-
function _getPrototypeOf(o) {
|
|
529
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
|
530
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
531
|
-
};
|
|
532
|
-
return _getPrototypeOf(o);
|
|
533
|
-
}
|
|
534
|
-
function _setPrototypeOf(o, p) {
|
|
535
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
536
|
-
o.__proto__ = p;
|
|
537
|
-
return o;
|
|
538
|
-
};
|
|
539
|
-
return _setPrototypeOf(o, p);
|
|
540
|
-
}
|
|
541
|
-
function _objectDestructuringEmpty(obj) {
|
|
542
|
-
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
543
|
-
}
|
|
544
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
545
|
-
if (source == null) return {};
|
|
546
|
-
var target = {};
|
|
547
|
-
for (var key in source) {
|
|
548
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
549
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
550
|
-
target[key] = source[key];
|
|
551
|
-
}
|
|
571
|
+
function _unsupportedIterableToArray(r, a) {
|
|
572
|
+
if (r) {
|
|
573
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
574
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
575
|
+
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;
|
|
552
576
|
}
|
|
553
|
-
return target;
|
|
554
|
-
}
|
|
555
|
-
function _objectWithoutProperties(source, excluded) {
|
|
556
|
-
if (source == null) return {};
|
|
557
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
558
|
-
var key, i;
|
|
559
|
-
if (Object.getOwnPropertySymbols) {
|
|
560
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
561
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
562
|
-
key = sourceSymbolKeys[i];
|
|
563
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
564
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
565
|
-
target[key] = source[key];
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
return target;
|
|
569
|
-
}
|
|
570
|
-
function _assertThisInitialized(self) {
|
|
571
|
-
if (self === void 0) {
|
|
572
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
573
|
-
}
|
|
574
|
-
return self;
|
|
575
|
-
}
|
|
576
|
-
function _possibleConstructorReturn(self, call) {
|
|
577
|
-
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
578
|
-
return call;
|
|
579
|
-
} else if (call !== void 0) {
|
|
580
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
581
|
-
}
|
|
582
|
-
return _assertThisInitialized(self);
|
|
583
|
-
}
|
|
584
|
-
function _slicedToArray(arr, i) {
|
|
585
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
586
|
-
}
|
|
587
|
-
function _toArray(arr) {
|
|
588
|
-
return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
|
|
589
|
-
}
|
|
590
|
-
function _toConsumableArray(arr) {
|
|
591
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
592
|
-
}
|
|
593
|
-
function _arrayWithoutHoles(arr) {
|
|
594
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
595
|
-
}
|
|
596
|
-
function _arrayWithHoles(arr) {
|
|
597
|
-
if (Array.isArray(arr)) return arr;
|
|
598
|
-
}
|
|
599
|
-
function _iterableToArray(iter) {
|
|
600
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
601
|
-
}
|
|
602
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
603
|
-
if (!o) return;
|
|
604
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
605
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
606
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
607
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
608
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
609
|
-
}
|
|
610
|
-
function _arrayLikeToArray(arr, len) {
|
|
611
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
612
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
613
|
-
return arr2;
|
|
614
|
-
}
|
|
615
|
-
function _nonIterableSpread() {
|
|
616
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
617
|
-
}
|
|
618
|
-
function _nonIterableRest() {
|
|
619
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
620
577
|
}
|
|
621
578
|
|
|
622
579
|
var ENUM = {
|
|
@@ -988,54 +945,41 @@ var precisionQuantity = function precisionQuantity(num, accuracy) {
|
|
|
988
945
|
return '';
|
|
989
946
|
};
|
|
990
947
|
|
|
991
|
-
var
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
function
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
948
|
+
var simpleIsEqual = function simpleIsEqual(a, b) {
|
|
949
|
+
return a === b;
|
|
950
|
+
};
|
|
951
|
+
|
|
952
|
+
function index$1 (resultFn, isEqual) {
|
|
953
|
+
if (isEqual === void 0) {
|
|
954
|
+
isEqual = simpleIsEqual;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
var lastThis;
|
|
958
|
+
var lastArgs = [];
|
|
959
|
+
var lastResult;
|
|
960
|
+
var calledOnce = false;
|
|
961
|
+
|
|
962
|
+
var isNewArgEqualToLast = function isNewArgEqualToLast(newArg, index) {
|
|
963
|
+
return isEqual(newArg, lastArgs[index], index);
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
var result = function result() {
|
|
967
|
+
for (var _len = arguments.length, newArgs = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
968
|
+
newArgs[_key] = arguments[_key];
|
|
1012
969
|
}
|
|
1013
|
-
return true;
|
|
1014
|
-
}
|
|
1015
970
|
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
var cache = null;
|
|
1019
|
-
function memoized() {
|
|
1020
|
-
var newArgs = [];
|
|
1021
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1022
|
-
newArgs[_i] = arguments[_i];
|
|
1023
|
-
}
|
|
1024
|
-
if (cache && cache.lastThis === this && isEqual(newArgs, cache.lastArgs)) {
|
|
1025
|
-
return cache.lastResult;
|
|
1026
|
-
}
|
|
1027
|
-
var lastResult = resultFn.apply(this, newArgs);
|
|
1028
|
-
cache = {
|
|
1029
|
-
lastResult: lastResult,
|
|
1030
|
-
lastArgs: newArgs,
|
|
1031
|
-
lastThis: this,
|
|
1032
|
-
};
|
|
1033
|
-
return lastResult;
|
|
971
|
+
if (calledOnce && lastThis === this && newArgs.length === lastArgs.length && newArgs.every(isNewArgEqualToLast)) {
|
|
972
|
+
return lastResult;
|
|
1034
973
|
}
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
974
|
+
|
|
975
|
+
lastResult = resultFn.apply(this, newArgs);
|
|
976
|
+
calledOnce = true;
|
|
977
|
+
lastThis = this;
|
|
978
|
+
lastArgs = newArgs;
|
|
979
|
+
return lastResult;
|
|
980
|
+
};
|
|
981
|
+
|
|
982
|
+
return result;
|
|
1039
983
|
}
|
|
1040
984
|
|
|
1041
985
|
function styleInject(css, ref) {
|
|
@@ -1361,7 +1305,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
|
|
|
1361
1305
|
return item;
|
|
1362
1306
|
});
|
|
1363
1307
|
};
|
|
1364
|
-
var memoizeOneFormatter =
|
|
1308
|
+
var memoizeOneFormatter = index$1(formatter, isEqual__default['default']);
|
|
1365
1309
|
var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
|
|
1366
1310
|
localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
|
|
1367
1311
|
if (backHistoryPath) {
|
|
@@ -3457,8 +3401,9 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
3457
3401
|
if (heightTxt === '') {
|
|
3458
3402
|
return text;
|
|
3459
3403
|
}
|
|
3404
|
+
var searchString = _.escapeRegExp(heightTxt);
|
|
3460
3405
|
// 前面filterOption 不区分大小写,这里用i
|
|
3461
|
-
var regexp = new RegExp(
|
|
3406
|
+
var regexp = new RegExp(searchString, 'gi');
|
|
3462
3407
|
return text.replace(regexp, "<span style=\"color:red\">".concat(heightTxt, "</span>"));
|
|
3463
3408
|
};
|
|
3464
3409
|
return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
|
|
@@ -10498,7 +10443,7 @@ var CommodityEntry = function CommodityEntry(props) {
|
|
|
10498
10443
|
* @LastEditTime: 2022-01-14 17:17:26
|
|
10499
10444
|
* @LastEditors: rodchen
|
|
10500
10445
|
*/
|
|
10501
|
-
var index$
|
|
10446
|
+
var index$2 = (function (storageKeyString) {
|
|
10502
10447
|
var seconds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
|
|
10503
10448
|
var tipsCallFunction = arguments.length > 2 ? arguments[2] : undefined;
|
|
10504
10449
|
if (typeof seconds !== 'number') throw new Error('seconds should be number');
|
|
@@ -10938,7 +10883,7 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React__default['default'].memo(Bus
|
|
|
10938
10883
|
var css_248z$8 = ".form-status-label {\n height: 48px;\n margin-right: 12px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.choosed-status-label.form-status-label {\n background-color: #005CFF;\n}\n.form-status-label:last-child {\n margin-right: 0px;\n}\n.form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.choosed-status-label.form-status-label::after {\n border-left: 12px solid #005CFF;\n}\n.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #005CFF;\n}\n.form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::before {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.status-label-index {\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n border-radius: 50%;\n font-family: Montserrat;\n font-size: 14px;\n line-height: 24px;\n text-align: center;\n margin: 0 6px 0 20px;\n}\n.status-label-key {\n width: 50px;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n}\n.status-label-operate {\n float: left;\n width: calc(100% - 50px);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 100%;\n margin: 4px 0;\n}\n.status-label-operate > div {\n font-size: 12px;\n height: 20px;\n line-height: 20px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.status-label-operate > div:first-child {\n font-size: 14px;\n font-weight: 600;\n}\n.only-one-child.form-status-label::after,\n.only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
|
|
10939
10884
|
styleInject(css_248z$8);
|
|
10940
10885
|
|
|
10941
|
-
var index$
|
|
10886
|
+
var index$3 = (function (props) {
|
|
10942
10887
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
10943
10888
|
formStatusMapping = _props$formStatusMapp === void 0 ? [] : _props$formStatusMapp;
|
|
10944
10889
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
@@ -12419,7 +12364,7 @@ var iconMap = {
|
|
|
12419
12364
|
src: moreIcon
|
|
12420
12365
|
})
|
|
12421
12366
|
};
|
|
12422
|
-
var index$
|
|
12367
|
+
var index$4 = (function (props) {
|
|
12423
12368
|
var _useLocation = umi.useLocation(),
|
|
12424
12369
|
pathname = _useLocation.pathname;
|
|
12425
12370
|
var _useState = React$1.useState(pathname + 'id'),
|
|
@@ -12637,7 +12582,7 @@ var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justif
|
|
|
12637
12582
|
styleInject(css_248z$d);
|
|
12638
12583
|
|
|
12639
12584
|
var _excluded$c = ["children"];
|
|
12640
|
-
var index$
|
|
12585
|
+
var index$5 = (function (props) {
|
|
12641
12586
|
var _useLocation = umi.useLocation(),
|
|
12642
12587
|
pathname = _useLocation.pathname;
|
|
12643
12588
|
var _useState = React$1.useState(pathname + 'id'),
|
|
@@ -17789,7 +17734,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
17789
17734
|
}
|
|
17790
17735
|
}]);
|
|
17791
17736
|
}(React__default['default'].Component);
|
|
17792
|
-
var index$
|
|
17737
|
+
var index$6 = (function (props) {
|
|
17793
17738
|
var _useModel = umi.useModel('@@initialState'),
|
|
17794
17739
|
_useModel$initialStat = _useModel.initialState,
|
|
17795
17740
|
initialState = _useModel$initialStat === void 0 ? {} : _useModel$initialStat;
|
|
@@ -18031,7 +17976,7 @@ var FixedScrollBar = function FixedScrollBar(_ref, ref) {
|
|
|
18031
17976
|
};
|
|
18032
17977
|
var FixedScrollBar$1 = /*#__PURE__*/React__default['default'].forwardRef(FixedScrollBar);
|
|
18033
17978
|
|
|
18034
|
-
var index$
|
|
17979
|
+
var index$7 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
18035
17980
|
var _useState = React$1.useState(false),
|
|
18036
17981
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18037
17982
|
show = _useState2[0],
|
|
@@ -32531,7 +32476,7 @@ var BaseRule = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
32531
32476
|
}, "\u6A21\u677F")))))));
|
|
32532
32477
|
});
|
|
32533
32478
|
|
|
32534
|
-
var index$
|
|
32479
|
+
var index$8 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
32535
32480
|
var currentSceneId = (props === null || props === void 0 ? void 0 : props.id) || (props === null || props === void 0 ? void 0 : props.sceneId); // 规则模板id
|
|
32536
32481
|
var extStrField01 = props === null || props === void 0 ? void 0 : props.extStrField01; // 上层业务关键字段
|
|
32537
32482
|
var instanceName = props === null || props === void 0 ? void 0 : props.name; // 实例名称
|
|
@@ -32750,27 +32695,27 @@ exports.AddSkuSelect = AddSkuSelect;
|
|
|
32750
32695
|
exports.AddSpuSelect = AddSpuSelect;
|
|
32751
32696
|
exports.BillEntry = BillEntry;
|
|
32752
32697
|
exports.BsCascader = BsCascader;
|
|
32753
|
-
exports.BsLayout = index$
|
|
32698
|
+
exports.BsLayout = index$6;
|
|
32754
32699
|
exports.BsSulaQueryTable = BsSulaQueryTable;
|
|
32755
32700
|
exports.BusinessSearchSelect = BusinessSearchSelect$1;
|
|
32756
32701
|
exports.BusinessTreeSearchSelect = BusinessTreeSearchSelect$1;
|
|
32757
|
-
exports.CheckOneUser = index$
|
|
32702
|
+
exports.CheckOneUser = index$2;
|
|
32758
32703
|
exports.ColumnSettingTable = ColumnSettingTable;
|
|
32759
32704
|
exports.CommodityEntry = CommodityEntry;
|
|
32760
32705
|
exports.DataImport = DataImport;
|
|
32761
32706
|
exports.DataValidation = DataValidation;
|
|
32762
|
-
exports.DetailPageWrapper = index$
|
|
32707
|
+
exports.DetailPageWrapper = index$4;
|
|
32763
32708
|
exports.EllipsisTooltip = EllipsisTooltip;
|
|
32764
32709
|
exports.ExportIcon = ExportIcon;
|
|
32765
32710
|
exports.GuideWrapper = GuideWrapper;
|
|
32766
|
-
exports.HomePageWrapper = index$
|
|
32711
|
+
exports.HomePageWrapper = index$5;
|
|
32767
32712
|
exports.JsonQueryTable = JsonQueryTable;
|
|
32768
|
-
exports.MoreTreeTable = index$
|
|
32713
|
+
exports.MoreTreeTable = index$7;
|
|
32769
32714
|
exports.QueryMutipleInput = QueryMutipleInput;
|
|
32770
32715
|
exports.RuleComponent = RuleObjectComponent;
|
|
32771
|
-
exports.RuleSetter = index$
|
|
32716
|
+
exports.RuleSetter = index$8;
|
|
32772
32717
|
exports.SearchSelect = SearchSelect;
|
|
32773
|
-
exports.StateFlow = index$
|
|
32718
|
+
exports.StateFlow = index$3;
|
|
32774
32719
|
exports.SulaColumnSettingTable = ColumnSettingSulaTable;
|
|
32775
32720
|
exports.TableColumnSetting = TableColumnSetting;
|
|
32776
32721
|
exports.TreeSearchSelect = TreeSearchSelect;
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare function downloadExcel(data: any, fileName?: any, isResUrl?: boolean): void;
|
|
2
2
|
export declare const formatter: (data: any, parentAuthority: any, parentName: any) => any;
|
|
3
|
-
export declare const memoizeOneFormatter:
|
|
3
|
+
export declare const memoizeOneFormatter: any;
|
|
4
4
|
export declare const go2BackAndClose: (backHistoryPath: any) => void;
|
|
5
5
|
/**
|
|
6
6
|
* 处理bssulaTable的公共回显样式
|
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!
|