@bit-sun/business-component 2.1.1 → 2.1.2
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 +174 -174
- package/.prettierignore +7 -7
- package/.prettierrc +11 -11
- package/.umirc.ts +74 -74
- package/README.md +27 -27
- package/dist/index.esm.js +119 -92
- package/dist/index.js +119 -92
- package/dist/utils/enumConfig.d.ts +1 -0
- package/dist/utils/utils.d.ts +2 -0
- 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 +71 -71
- 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/components/Business/AddSelectBusiness/index.md +41 -41
- package/src/components/Business/AddSelectBusiness/index.tsx +290 -290
- package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +111 -111
- 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 +157 -157
- 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 +156 -156
- 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 +1469 -1465
- package/src/components/Business/BsLayouts/service.ts +10 -10
- package/src/components/Business/BsLayouts/utils.tsx +210 -210
- package/src/components/Business/BsSulaQueryTable/index.less +219 -219
- package/src/components/Business/BsSulaQueryTable/index.tsx +505 -505
- package/src/components/Business/BsSulaQueryTable/setting.tsx +801 -799
- package/src/components/Business/BsSulaQueryTable/utils.less +65 -65
- package/src/components/Business/BsSulaQueryTable/utils.tsx +688 -688
- package/src/components/Business/CommodityEntry/index.md +70 -70
- package/src/components/Business/CommodityEntry/index.tsx +80 -80
- 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 +335 -334
- package/src/components/Business/DetailPageWrapper/utils.tsx +102 -100
- 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/SearchSelect/BusinessUtils.ts +1458 -1458
- package/src/components/Business/SearchSelect/common.ts +53 -53
- package/src/components/Business/SearchSelect/index.md +1137 -1137
- package/src/components/Business/SearchSelect/index.tsx +51 -51
- package/src/components/Business/SearchSelect/utils.ts +100 -100
- 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 +126 -126
- package/src/components/Business/TreeSearchSelect/index.tsx +34 -34
- package/src/components/Business/TreeSearchSelect/utils.ts +60 -60
- package/src/components/Business/columnSettingTable/columnSetting.tsx +765 -763
- 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 +232 -232
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +240 -240
- package/src/components/Business/columnSettingTable/utils.tsx +68 -68
- package/src/components/Functional/AddSelect/index.less +367 -367
- package/src/components/Functional/AddSelect/index.md +122 -122
- package/src/components/Functional/AddSelect/index.tsx +994 -992
- 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 +643 -643
- 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 +689 -689
- package/src/components/Functional/DataValidation/index.less +63 -63
- package/src/components/Functional/DataValidation/index.md +38 -38
- package/src/components/Functional/DataValidation/index.tsx +681 -681
- package/src/components/Functional/ExportFunctions/ExportIcon/index.md +37 -37
- package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +59 -59
- 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 +130 -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 +814 -812
- package/src/components/Functional/TreeSearchSelect/index.md +47 -47
- package/src/components/Functional/TreeSearchSelect/index.tsx +149 -149
- package/src/index.ts +31 -31
- package/src/styles/bsDefault.less +1906 -1906
- package/src/utils/CheckOneUser/index.md +39 -39
- package/src/utils/CheckOneUser/index.ts +51 -51
- package/src/utils/checkUtils.ts +39 -39
- package/src/utils/enumConfig.ts +10 -9
- package/src/utils/index.ts +2 -2
- package/src/utils/requestUtils.ts +33 -33
- package/src/utils/utils.ts +69 -52
- package/tsconfig.json +29 -29
- package/typings.d.ts +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -5,13 +5,13 @@ import React, { useState, useEffect, forwardRef, useImperativeHandle, useRef, us
|
|
|
5
5
|
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
|
|
6
6
|
import { UnorderedListOutlined, ProfileTwoTone, ExclamationCircleOutlined, DownOutlined, CopyOutlined, SearchOutlined, CaretLeftOutlined, CloseCircleOutlined, ArrowLeftOutlined, FolderOutlined, EllipsisOutlined, CaretDownOutlined, HomeOutlined, DoubleLeftOutlined, DoubleRightOutlined, MenuUnfoldOutlined, DashOutlined } from '@ant-design/icons';
|
|
7
7
|
import { useDebounceFn } from 'ahooks';
|
|
8
|
+
import { history, formatMessage, useLocation, Link, useModel, useIntl } from 'umi';
|
|
9
|
+
import isEqual$1 from 'lodash/isEqual';
|
|
8
10
|
import { stringify } from 'querystring';
|
|
9
11
|
import { Resizable } from 'react-resizable';
|
|
10
12
|
import { Table as Table$1, request, QueryTable } from 'bssula';
|
|
11
13
|
import { SortableHandle, SortableElement, SortableContainer } from 'react-sortable-hoc';
|
|
12
14
|
import { arrayMoveImmutable } from 'array-move';
|
|
13
|
-
import { history, formatMessage, useLocation, Link, useModel, useIntl } from 'umi';
|
|
14
|
-
import isEqual$1 from 'lodash/isEqual';
|
|
15
15
|
import ProLayout from '@ant-design/pro-layout';
|
|
16
16
|
import cloneDeep from 'lodash/cloneDeep';
|
|
17
17
|
import classNames from 'classnames';
|
|
@@ -25,7 +25,8 @@ var ENUM = {
|
|
|
25
25
|
MAIN_AUTH_CODES: 'menuAuth_mainProject',
|
|
26
26
|
LIMIT_MENU_DATA: 'limitedMenuData',
|
|
27
27
|
USER_INFO: 'userInfo',
|
|
28
|
-
DICT_CODES: 'dicData'
|
|
28
|
+
DICT_CODES: 'dicData',
|
|
29
|
+
CHILD_APP_BACK: 'child_app_back' //标记子应用goback事件
|
|
29
30
|
|
|
30
31
|
}
|
|
31
32
|
};
|
|
@@ -2060,6 +2061,108 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
|
|
|
2060
2061
|
var css_248z$2 = ".query_input_show {\n display: flex;\n}\n.query_input_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.query_input_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.query_input_wrapper {\n display: flex;\n}\n.query_input_wrapper_left {\n width: 100px;\n}\n.query_input_wrapper_right {\n color: #9e9e9e;\n}\n.query_input_textArea {\n margin-top: 15px;\n}\n";
|
|
2061
2062
|
styleInject(css_248z$2);
|
|
2062
2063
|
|
|
2064
|
+
var safeIsNaN = Number.isNaN ||
|
|
2065
|
+
function ponyfill(value) {
|
|
2066
|
+
return typeof value === 'number' && value !== value;
|
|
2067
|
+
};
|
|
2068
|
+
function isEqual(first, second) {
|
|
2069
|
+
if (first === second) {
|
|
2070
|
+
return true;
|
|
2071
|
+
}
|
|
2072
|
+
if (safeIsNaN(first) && safeIsNaN(second)) {
|
|
2073
|
+
return true;
|
|
2074
|
+
}
|
|
2075
|
+
return false;
|
|
2076
|
+
}
|
|
2077
|
+
function areInputsEqual(newInputs, lastInputs) {
|
|
2078
|
+
if (newInputs.length !== lastInputs.length) {
|
|
2079
|
+
return false;
|
|
2080
|
+
}
|
|
2081
|
+
for (var i = 0; i < newInputs.length; i++) {
|
|
2082
|
+
if (!isEqual(newInputs[i], lastInputs[i])) {
|
|
2083
|
+
return false;
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2086
|
+
return true;
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
function memoizeOne(resultFn, isEqual) {
|
|
2090
|
+
if (isEqual === void 0) { isEqual = areInputsEqual; }
|
|
2091
|
+
var cache = null;
|
|
2092
|
+
function memoized() {
|
|
2093
|
+
var newArgs = [];
|
|
2094
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
2095
|
+
newArgs[_i] = arguments[_i];
|
|
2096
|
+
}
|
|
2097
|
+
if (cache && cache.lastThis === this && isEqual(newArgs, cache.lastArgs)) {
|
|
2098
|
+
return cache.lastResult;
|
|
2099
|
+
}
|
|
2100
|
+
var lastResult = resultFn.apply(this, newArgs);
|
|
2101
|
+
cache = {
|
|
2102
|
+
lastResult: lastResult,
|
|
2103
|
+
lastArgs: newArgs,
|
|
2104
|
+
lastThis: this,
|
|
2105
|
+
};
|
|
2106
|
+
return lastResult;
|
|
2107
|
+
}
|
|
2108
|
+
memoized.clear = function clear() {
|
|
2109
|
+
cache = null;
|
|
2110
|
+
};
|
|
2111
|
+
return memoized;
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
var formatter = function formatter(data, parentAuthority, parentName) {
|
|
2115
|
+
return data.map(function (item) {
|
|
2116
|
+
if (!item.name || !item.path) {
|
|
2117
|
+
return null;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
var locale = 'menu';
|
|
2121
|
+
|
|
2122
|
+
if (parentName) {
|
|
2123
|
+
locale = "".concat(parentName, ".").concat(item.name);
|
|
2124
|
+
} else {
|
|
2125
|
+
locale = "menu.".concat(item.name);
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
var result = _objectSpread2(_objectSpread2({}, item), {}, {
|
|
2129
|
+
name: formatMessage && formatMessage({
|
|
2130
|
+
id: locale,
|
|
2131
|
+
defaultMessage: item.name
|
|
2132
|
+
}) || item.name,
|
|
2133
|
+
locale: locale,
|
|
2134
|
+
authority: item.authority || parentAuthority
|
|
2135
|
+
});
|
|
2136
|
+
|
|
2137
|
+
if (item.routes) {
|
|
2138
|
+
var children = formatter(item.routes, item.authority, locale); // Reduce memory usage
|
|
2139
|
+
|
|
2140
|
+
result.children = children;
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
delete result.routes;
|
|
2144
|
+
return result;
|
|
2145
|
+
}).filter(function (item) {
|
|
2146
|
+
return item;
|
|
2147
|
+
});
|
|
2148
|
+
};
|
|
2149
|
+
var memoizeOneFormatter = memoizeOne(formatter, isEqual$1);
|
|
2150
|
+
var go2BackAndClose = function go2BackAndClose() {
|
|
2151
|
+
localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
|
|
2152
|
+
history.goBack();
|
|
2153
|
+
};
|
|
2154
|
+
var getModalContainer = function getModalContainer() {
|
|
2155
|
+
try {
|
|
2156
|
+
if (window.top != window && window.parent.document) {
|
|
2157
|
+
return window.parent.document.body;
|
|
2158
|
+
}
|
|
2159
|
+
} catch (error) {
|
|
2160
|
+
console.log(error);
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
return document.body;
|
|
2164
|
+
};
|
|
2165
|
+
|
|
2063
2166
|
var QueryMutipleInput = function QueryMutipleInput(_ref) {
|
|
2064
2167
|
var onValueChange = _ref.onValueChange;
|
|
2065
2168
|
|
|
@@ -2147,6 +2250,7 @@ var QueryMutipleInput = function QueryMutipleInput(_ref) {
|
|
|
2147
2250
|
type: "primary"
|
|
2148
2251
|
}, "...")), /*#__PURE__*/React.createElement(Modal, {
|
|
2149
2252
|
width: 600,
|
|
2253
|
+
getContainer: getModalContainer,
|
|
2150
2254
|
title: "\u591A\u503C\u5F55\u5165",
|
|
2151
2255
|
visible: isModalVisible,
|
|
2152
2256
|
onOk: handleOk,
|
|
@@ -3163,6 +3267,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
3163
3267
|
}, /*#__PURE__*/React.createElement(SearchOutlined, null))), needModalTable && isModalVisible && /*#__PURE__*/React.createElement(Modal, {
|
|
3164
3268
|
width: '80%',
|
|
3165
3269
|
title: modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.modalTableTitle,
|
|
3270
|
+
getContainer: getModalContainer,
|
|
3166
3271
|
visible: isModalVisible,
|
|
3167
3272
|
onOk: handleOk,
|
|
3168
3273
|
onCancel: handleCancel,
|
|
@@ -4278,6 +4383,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
4278
4383
|
},
|
|
4279
4384
|
// title={modalTableProps?.modalTableTitle}
|
|
4280
4385
|
visible: isModalVisible,
|
|
4386
|
+
getContainer: getModalContainer,
|
|
4281
4387
|
closable: false,
|
|
4282
4388
|
onCancel: handleCancel,
|
|
4283
4389
|
footer: selectMode ? [/*#__PURE__*/React.createElement(Button, {
|
|
@@ -8627,6 +8733,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
8627
8733
|
}, /*#__PURE__*/React.createElement(Modal, {
|
|
8628
8734
|
title: "\u8BBE\u7F6E\u8868\u5934\u5185\u5BB9",
|
|
8629
8735
|
wrapClassName: 'sort_table_wrapper',
|
|
8736
|
+
getContainer: getModalContainer,
|
|
8630
8737
|
width: 820,
|
|
8631
8738
|
visible: visible,
|
|
8632
8739
|
onOk: this.handleOk,
|
|
@@ -9443,6 +9550,7 @@ var doDetailPageAction = function doDetailPageAction(config) {
|
|
|
9443
9550
|
confirm({
|
|
9444
9551
|
title: config.title,
|
|
9445
9552
|
icon: /*#__PURE__*/React.createElement(ExclamationCircleOutlined, null),
|
|
9553
|
+
getContainer: getModalContainer,
|
|
9446
9554
|
content: config.content,
|
|
9447
9555
|
okText: '确定',
|
|
9448
9556
|
okType: 'danger',
|
|
@@ -9485,93 +9593,6 @@ var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
|
|
|
9485
9593
|
return routerMap;
|
|
9486
9594
|
};
|
|
9487
9595
|
|
|
9488
|
-
var safeIsNaN = Number.isNaN ||
|
|
9489
|
-
function ponyfill(value) {
|
|
9490
|
-
return typeof value === 'number' && value !== value;
|
|
9491
|
-
};
|
|
9492
|
-
function isEqual(first, second) {
|
|
9493
|
-
if (first === second) {
|
|
9494
|
-
return true;
|
|
9495
|
-
}
|
|
9496
|
-
if (safeIsNaN(first) && safeIsNaN(second)) {
|
|
9497
|
-
return true;
|
|
9498
|
-
}
|
|
9499
|
-
return false;
|
|
9500
|
-
}
|
|
9501
|
-
function areInputsEqual(newInputs, lastInputs) {
|
|
9502
|
-
if (newInputs.length !== lastInputs.length) {
|
|
9503
|
-
return false;
|
|
9504
|
-
}
|
|
9505
|
-
for (var i = 0; i < newInputs.length; i++) {
|
|
9506
|
-
if (!isEqual(newInputs[i], lastInputs[i])) {
|
|
9507
|
-
return false;
|
|
9508
|
-
}
|
|
9509
|
-
}
|
|
9510
|
-
return true;
|
|
9511
|
-
}
|
|
9512
|
-
|
|
9513
|
-
function memoizeOne(resultFn, isEqual) {
|
|
9514
|
-
if (isEqual === void 0) { isEqual = areInputsEqual; }
|
|
9515
|
-
var cache = null;
|
|
9516
|
-
function memoized() {
|
|
9517
|
-
var newArgs = [];
|
|
9518
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
9519
|
-
newArgs[_i] = arguments[_i];
|
|
9520
|
-
}
|
|
9521
|
-
if (cache && cache.lastThis === this && isEqual(newArgs, cache.lastArgs)) {
|
|
9522
|
-
return cache.lastResult;
|
|
9523
|
-
}
|
|
9524
|
-
var lastResult = resultFn.apply(this, newArgs);
|
|
9525
|
-
cache = {
|
|
9526
|
-
lastResult: lastResult,
|
|
9527
|
-
lastArgs: newArgs,
|
|
9528
|
-
lastThis: this,
|
|
9529
|
-
};
|
|
9530
|
-
return lastResult;
|
|
9531
|
-
}
|
|
9532
|
-
memoized.clear = function clear() {
|
|
9533
|
-
cache = null;
|
|
9534
|
-
};
|
|
9535
|
-
return memoized;
|
|
9536
|
-
}
|
|
9537
|
-
|
|
9538
|
-
var formatter = function formatter(data, parentAuthority, parentName) {
|
|
9539
|
-
return data.map(function (item) {
|
|
9540
|
-
if (!item.name || !item.path) {
|
|
9541
|
-
return null;
|
|
9542
|
-
}
|
|
9543
|
-
|
|
9544
|
-
var locale = 'menu';
|
|
9545
|
-
|
|
9546
|
-
if (parentName) {
|
|
9547
|
-
locale = "".concat(parentName, ".").concat(item.name);
|
|
9548
|
-
} else {
|
|
9549
|
-
locale = "menu.".concat(item.name);
|
|
9550
|
-
}
|
|
9551
|
-
|
|
9552
|
-
var result = _objectSpread2(_objectSpread2({}, item), {}, {
|
|
9553
|
-
name: formatMessage && formatMessage({
|
|
9554
|
-
id: locale,
|
|
9555
|
-
defaultMessage: item.name
|
|
9556
|
-
}) || item.name,
|
|
9557
|
-
locale: locale,
|
|
9558
|
-
authority: item.authority || parentAuthority
|
|
9559
|
-
});
|
|
9560
|
-
|
|
9561
|
-
if (item.routes) {
|
|
9562
|
-
var children = formatter(item.routes, item.authority, locale); // Reduce memory usage
|
|
9563
|
-
|
|
9564
|
-
result.children = children;
|
|
9565
|
-
}
|
|
9566
|
-
|
|
9567
|
-
delete result.routes;
|
|
9568
|
-
return result;
|
|
9569
|
-
}).filter(function (item) {
|
|
9570
|
-
return item;
|
|
9571
|
-
});
|
|
9572
|
-
};
|
|
9573
|
-
var memoizeOneFormatter = memoizeOne(formatter, isEqual$1);
|
|
9574
|
-
|
|
9575
9596
|
var css_248z$9 = ".detail_page_head {\n height: 54px;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.back_home_img_content {\n display: inline-block;\n height: 28px;\n width: 28px;\n border: 1px solid #BABABA;\n margin: 0 12px 0 20px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005CFF;\n border: 1px solid #005CFF;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 16px;\n margin-top: 2px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 32px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
|
|
9576
9597
|
styleInject(css_248z$9);
|
|
9577
9598
|
|
|
@@ -9825,7 +9846,7 @@ var DetailWrapper = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
9825
9846
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9826
9847
|
className: 'back_home_img_content',
|
|
9827
9848
|
onClick: function onClick() {
|
|
9828
|
-
history.goBack();
|
|
9849
|
+
go2BackAndClose(); // history.goBack();
|
|
9829
9850
|
}
|
|
9830
9851
|
}, /*#__PURE__*/React.createElement(ArrowLeftOutlined, null)), /*#__PURE__*/React.createElement("div", {
|
|
9831
9852
|
className: 'detail_page_title_box'
|
|
@@ -16562,6 +16583,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16562
16583
|
visible: visible,
|
|
16563
16584
|
onOk: this.handleOk,
|
|
16564
16585
|
onCancel: this.handleCancel,
|
|
16586
|
+
getContainer: getModalContainer,
|
|
16565
16587
|
footer: [/*#__PURE__*/React.createElement(Button, {
|
|
16566
16588
|
key: "back",
|
|
16567
16589
|
onClick: this.handleReset
|
|
@@ -20187,7 +20209,12 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20187
20209
|
var self = this;
|
|
20188
20210
|
window.top != window && window.addEventListener('message', function (e) {
|
|
20189
20211
|
istParent = 1;
|
|
20190
|
-
|
|
20212
|
+
|
|
20213
|
+
if (localStorage.getItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK)) {
|
|
20214
|
+
localStorage.removeItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK);
|
|
20215
|
+
} else {
|
|
20216
|
+
localStorage.setItem('isTabChange', true);
|
|
20217
|
+
}
|
|
20191
20218
|
|
|
20192
20219
|
if (typeof e.data === 'string') {
|
|
20193
20220
|
history.push(e.data.replace(/^\/\w+\//, '/'));
|
package/dist/index.js
CHANGED
|
@@ -9,13 +9,13 @@ var React = require('react');
|
|
|
9
9
|
var reactBeautifulDnd = require('react-beautiful-dnd');
|
|
10
10
|
var icons = require('@ant-design/icons');
|
|
11
11
|
var ahooks = require('ahooks');
|
|
12
|
+
var umi = require('umi');
|
|
13
|
+
var isEqual$1 = require('lodash/isEqual');
|
|
12
14
|
var querystring = require('querystring');
|
|
13
15
|
var reactResizable = require('react-resizable');
|
|
14
16
|
var bssula = require('bssula');
|
|
15
17
|
var reactSortableHoc = require('react-sortable-hoc');
|
|
16
18
|
var arrayMove = require('array-move');
|
|
17
|
-
var umi = require('umi');
|
|
18
|
-
var isEqual$1 = require('lodash/isEqual');
|
|
19
19
|
var ProLayout = require('@ant-design/pro-layout');
|
|
20
20
|
var cloneDeep = require('lodash/cloneDeep');
|
|
21
21
|
var classNames = require('classnames');
|
|
@@ -39,7 +39,8 @@ var ENUM = {
|
|
|
39
39
|
MAIN_AUTH_CODES: 'menuAuth_mainProject',
|
|
40
40
|
LIMIT_MENU_DATA: 'limitedMenuData',
|
|
41
41
|
USER_INFO: 'userInfo',
|
|
42
|
-
DICT_CODES: 'dicData'
|
|
42
|
+
DICT_CODES: 'dicData',
|
|
43
|
+
CHILD_APP_BACK: 'child_app_back' //标记子应用goback事件
|
|
43
44
|
|
|
44
45
|
}
|
|
45
46
|
};
|
|
@@ -2074,6 +2075,108 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
|
|
|
2074
2075
|
var css_248z$2 = ".query_input_show {\n display: flex;\n}\n.query_input_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.query_input_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.query_input_wrapper {\n display: flex;\n}\n.query_input_wrapper_left {\n width: 100px;\n}\n.query_input_wrapper_right {\n color: #9e9e9e;\n}\n.query_input_textArea {\n margin-top: 15px;\n}\n";
|
|
2075
2076
|
styleInject(css_248z$2);
|
|
2076
2077
|
|
|
2078
|
+
var safeIsNaN = Number.isNaN ||
|
|
2079
|
+
function ponyfill(value) {
|
|
2080
|
+
return typeof value === 'number' && value !== value;
|
|
2081
|
+
};
|
|
2082
|
+
function isEqual(first, second) {
|
|
2083
|
+
if (first === second) {
|
|
2084
|
+
return true;
|
|
2085
|
+
}
|
|
2086
|
+
if (safeIsNaN(first) && safeIsNaN(second)) {
|
|
2087
|
+
return true;
|
|
2088
|
+
}
|
|
2089
|
+
return false;
|
|
2090
|
+
}
|
|
2091
|
+
function areInputsEqual(newInputs, lastInputs) {
|
|
2092
|
+
if (newInputs.length !== lastInputs.length) {
|
|
2093
|
+
return false;
|
|
2094
|
+
}
|
|
2095
|
+
for (var i = 0; i < newInputs.length; i++) {
|
|
2096
|
+
if (!isEqual(newInputs[i], lastInputs[i])) {
|
|
2097
|
+
return false;
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
return true;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
function memoizeOne(resultFn, isEqual) {
|
|
2104
|
+
if (isEqual === void 0) { isEqual = areInputsEqual; }
|
|
2105
|
+
var cache = null;
|
|
2106
|
+
function memoized() {
|
|
2107
|
+
var newArgs = [];
|
|
2108
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
2109
|
+
newArgs[_i] = arguments[_i];
|
|
2110
|
+
}
|
|
2111
|
+
if (cache && cache.lastThis === this && isEqual(newArgs, cache.lastArgs)) {
|
|
2112
|
+
return cache.lastResult;
|
|
2113
|
+
}
|
|
2114
|
+
var lastResult = resultFn.apply(this, newArgs);
|
|
2115
|
+
cache = {
|
|
2116
|
+
lastResult: lastResult,
|
|
2117
|
+
lastArgs: newArgs,
|
|
2118
|
+
lastThis: this,
|
|
2119
|
+
};
|
|
2120
|
+
return lastResult;
|
|
2121
|
+
}
|
|
2122
|
+
memoized.clear = function clear() {
|
|
2123
|
+
cache = null;
|
|
2124
|
+
};
|
|
2125
|
+
return memoized;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
var formatter = function formatter(data, parentAuthority, parentName) {
|
|
2129
|
+
return data.map(function (item) {
|
|
2130
|
+
if (!item.name || !item.path) {
|
|
2131
|
+
return null;
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
var locale = 'menu';
|
|
2135
|
+
|
|
2136
|
+
if (parentName) {
|
|
2137
|
+
locale = "".concat(parentName, ".").concat(item.name);
|
|
2138
|
+
} else {
|
|
2139
|
+
locale = "menu.".concat(item.name);
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
var result = _objectSpread2(_objectSpread2({}, item), {}, {
|
|
2143
|
+
name: umi.formatMessage && umi.formatMessage({
|
|
2144
|
+
id: locale,
|
|
2145
|
+
defaultMessage: item.name
|
|
2146
|
+
}) || item.name,
|
|
2147
|
+
locale: locale,
|
|
2148
|
+
authority: item.authority || parentAuthority
|
|
2149
|
+
});
|
|
2150
|
+
|
|
2151
|
+
if (item.routes) {
|
|
2152
|
+
var children = formatter(item.routes, item.authority, locale); // Reduce memory usage
|
|
2153
|
+
|
|
2154
|
+
result.children = children;
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
delete result.routes;
|
|
2158
|
+
return result;
|
|
2159
|
+
}).filter(function (item) {
|
|
2160
|
+
return item;
|
|
2161
|
+
});
|
|
2162
|
+
};
|
|
2163
|
+
var memoizeOneFormatter = memoizeOne(formatter, isEqual__default['default']);
|
|
2164
|
+
var go2BackAndClose = function go2BackAndClose() {
|
|
2165
|
+
localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
|
|
2166
|
+
umi.history.goBack();
|
|
2167
|
+
};
|
|
2168
|
+
var getModalContainer = function getModalContainer() {
|
|
2169
|
+
try {
|
|
2170
|
+
if (window.top != window && window.parent.document) {
|
|
2171
|
+
return window.parent.document.body;
|
|
2172
|
+
}
|
|
2173
|
+
} catch (error) {
|
|
2174
|
+
console.log(error);
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
return document.body;
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2077
2180
|
var QueryMutipleInput = function QueryMutipleInput(_ref) {
|
|
2078
2181
|
var onValueChange = _ref.onValueChange;
|
|
2079
2182
|
|
|
@@ -2161,6 +2264,7 @@ var QueryMutipleInput = function QueryMutipleInput(_ref) {
|
|
|
2161
2264
|
type: "primary"
|
|
2162
2265
|
}, "...")), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
2163
2266
|
width: 600,
|
|
2267
|
+
getContainer: getModalContainer,
|
|
2164
2268
|
title: "\u591A\u503C\u5F55\u5165",
|
|
2165
2269
|
visible: isModalVisible,
|
|
2166
2270
|
onOk: handleOk,
|
|
@@ -3177,6 +3281,7 @@ var SearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3177
3281
|
}, /*#__PURE__*/React__default['default'].createElement(icons.SearchOutlined, null))), needModalTable && isModalVisible && /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
3178
3282
|
width: '80%',
|
|
3179
3283
|
title: modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.modalTableTitle,
|
|
3284
|
+
getContainer: getModalContainer,
|
|
3180
3285
|
visible: isModalVisible,
|
|
3181
3286
|
onOk: handleOk,
|
|
3182
3287
|
onCancel: handleCancel,
|
|
@@ -4292,6 +4397,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
4292
4397
|
},
|
|
4293
4398
|
// title={modalTableProps?.modalTableTitle}
|
|
4294
4399
|
visible: isModalVisible,
|
|
4400
|
+
getContainer: getModalContainer,
|
|
4295
4401
|
closable: false,
|
|
4296
4402
|
onCancel: handleCancel,
|
|
4297
4403
|
footer: selectMode ? [/*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
@@ -8641,6 +8747,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
|
|
|
8641
8747
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
|
|
8642
8748
|
title: "\u8BBE\u7F6E\u8868\u5934\u5185\u5BB9",
|
|
8643
8749
|
wrapClassName: 'sort_table_wrapper',
|
|
8750
|
+
getContainer: getModalContainer,
|
|
8644
8751
|
width: 820,
|
|
8645
8752
|
visible: visible,
|
|
8646
8753
|
onOk: this.handleOk,
|
|
@@ -9457,6 +9564,7 @@ var doDetailPageAction = function doDetailPageAction(config) {
|
|
|
9457
9564
|
confirm({
|
|
9458
9565
|
title: config.title,
|
|
9459
9566
|
icon: /*#__PURE__*/React__default['default'].createElement(icons.ExclamationCircleOutlined, null),
|
|
9567
|
+
getContainer: getModalContainer,
|
|
9460
9568
|
content: config.content,
|
|
9461
9569
|
okText: '确定',
|
|
9462
9570
|
okType: 'danger',
|
|
@@ -9499,93 +9607,6 @@ var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
|
|
|
9499
9607
|
return routerMap;
|
|
9500
9608
|
};
|
|
9501
9609
|
|
|
9502
|
-
var safeIsNaN = Number.isNaN ||
|
|
9503
|
-
function ponyfill(value) {
|
|
9504
|
-
return typeof value === 'number' && value !== value;
|
|
9505
|
-
};
|
|
9506
|
-
function isEqual(first, second) {
|
|
9507
|
-
if (first === second) {
|
|
9508
|
-
return true;
|
|
9509
|
-
}
|
|
9510
|
-
if (safeIsNaN(first) && safeIsNaN(second)) {
|
|
9511
|
-
return true;
|
|
9512
|
-
}
|
|
9513
|
-
return false;
|
|
9514
|
-
}
|
|
9515
|
-
function areInputsEqual(newInputs, lastInputs) {
|
|
9516
|
-
if (newInputs.length !== lastInputs.length) {
|
|
9517
|
-
return false;
|
|
9518
|
-
}
|
|
9519
|
-
for (var i = 0; i < newInputs.length; i++) {
|
|
9520
|
-
if (!isEqual(newInputs[i], lastInputs[i])) {
|
|
9521
|
-
return false;
|
|
9522
|
-
}
|
|
9523
|
-
}
|
|
9524
|
-
return true;
|
|
9525
|
-
}
|
|
9526
|
-
|
|
9527
|
-
function memoizeOne(resultFn, isEqual) {
|
|
9528
|
-
if (isEqual === void 0) { isEqual = areInputsEqual; }
|
|
9529
|
-
var cache = null;
|
|
9530
|
-
function memoized() {
|
|
9531
|
-
var newArgs = [];
|
|
9532
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
9533
|
-
newArgs[_i] = arguments[_i];
|
|
9534
|
-
}
|
|
9535
|
-
if (cache && cache.lastThis === this && isEqual(newArgs, cache.lastArgs)) {
|
|
9536
|
-
return cache.lastResult;
|
|
9537
|
-
}
|
|
9538
|
-
var lastResult = resultFn.apply(this, newArgs);
|
|
9539
|
-
cache = {
|
|
9540
|
-
lastResult: lastResult,
|
|
9541
|
-
lastArgs: newArgs,
|
|
9542
|
-
lastThis: this,
|
|
9543
|
-
};
|
|
9544
|
-
return lastResult;
|
|
9545
|
-
}
|
|
9546
|
-
memoized.clear = function clear() {
|
|
9547
|
-
cache = null;
|
|
9548
|
-
};
|
|
9549
|
-
return memoized;
|
|
9550
|
-
}
|
|
9551
|
-
|
|
9552
|
-
var formatter = function formatter(data, parentAuthority, parentName) {
|
|
9553
|
-
return data.map(function (item) {
|
|
9554
|
-
if (!item.name || !item.path) {
|
|
9555
|
-
return null;
|
|
9556
|
-
}
|
|
9557
|
-
|
|
9558
|
-
var locale = 'menu';
|
|
9559
|
-
|
|
9560
|
-
if (parentName) {
|
|
9561
|
-
locale = "".concat(parentName, ".").concat(item.name);
|
|
9562
|
-
} else {
|
|
9563
|
-
locale = "menu.".concat(item.name);
|
|
9564
|
-
}
|
|
9565
|
-
|
|
9566
|
-
var result = _objectSpread2(_objectSpread2({}, item), {}, {
|
|
9567
|
-
name: umi.formatMessage && umi.formatMessage({
|
|
9568
|
-
id: locale,
|
|
9569
|
-
defaultMessage: item.name
|
|
9570
|
-
}) || item.name,
|
|
9571
|
-
locale: locale,
|
|
9572
|
-
authority: item.authority || parentAuthority
|
|
9573
|
-
});
|
|
9574
|
-
|
|
9575
|
-
if (item.routes) {
|
|
9576
|
-
var children = formatter(item.routes, item.authority, locale); // Reduce memory usage
|
|
9577
|
-
|
|
9578
|
-
result.children = children;
|
|
9579
|
-
}
|
|
9580
|
-
|
|
9581
|
-
delete result.routes;
|
|
9582
|
-
return result;
|
|
9583
|
-
}).filter(function (item) {
|
|
9584
|
-
return item;
|
|
9585
|
-
});
|
|
9586
|
-
};
|
|
9587
|
-
var memoizeOneFormatter = memoizeOne(formatter, isEqual__default['default']);
|
|
9588
|
-
|
|
9589
9610
|
var css_248z$9 = ".detail_page_head {\n height: 54px;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.back_home_img_content {\n display: inline-block;\n height: 28px;\n width: 28px;\n border: 1px solid #BABABA;\n margin: 0 12px 0 20px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005CFF;\n border: 1px solid #005CFF;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 16px;\n margin-top: 2px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 32px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
|
|
9590
9611
|
styleInject(css_248z$9);
|
|
9591
9612
|
|
|
@@ -9839,7 +9860,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
9839
9860
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
9840
9861
|
className: 'back_home_img_content',
|
|
9841
9862
|
onClick: function onClick() {
|
|
9842
|
-
|
|
9863
|
+
go2BackAndClose(); // history.goBack();
|
|
9843
9864
|
}
|
|
9844
9865
|
}, /*#__PURE__*/React__default['default'].createElement(icons.ArrowLeftOutlined, null)), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
9845
9866
|
className: 'detail_page_title_box'
|
|
@@ -16576,6 +16597,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16576
16597
|
visible: visible,
|
|
16577
16598
|
onOk: this.handleOk,
|
|
16578
16599
|
onCancel: this.handleCancel,
|
|
16600
|
+
getContainer: getModalContainer,
|
|
16579
16601
|
footer: [/*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
16580
16602
|
key: "back",
|
|
16581
16603
|
onClick: this.handleReset
|
|
@@ -20201,7 +20223,12 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
20201
20223
|
var self = this;
|
|
20202
20224
|
window.top != window && window.addEventListener('message', function (e) {
|
|
20203
20225
|
istParent = 1;
|
|
20204
|
-
|
|
20226
|
+
|
|
20227
|
+
if (localStorage.getItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK)) {
|
|
20228
|
+
localStorage.removeItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK);
|
|
20229
|
+
} else {
|
|
20230
|
+
localStorage.setItem('isTabChange', true);
|
|
20231
|
+
}
|
|
20205
20232
|
|
|
20206
20233
|
if (typeof e.data === 'string') {
|
|
20207
20234
|
history.push(e.data.replace(/^\/\w+\//, '/'));
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
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
3
|
export declare const memoizeOneFormatter: import("memoize-one").MemoizedFn<(data: any, parentAuthority: any, parentName: any) => any>;
|
|
4
|
+
export declare const go2BackAndClose: () => void;
|
|
5
|
+
export declare const getModalContainer: () => HTMLElement;
|
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!
|