kts-component-invoice-operate 2.0.5 → 2.0.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.
- package/dist/Invoice/InvoiceController/fns/getGoodsSearch.d.ts +8 -1
- package/dist/index.esm.js +28 -13
- package/dist/index.js +28 -13
- package/docs-dist/404.html +33 -0
- package/docs-dist/index.html +33 -0
- package/docs-dist/static/auto.a6cd905c.svg +1 -0
- package/docs-dist/static/magnifier.2b26be6e.svg +1 -0
- package/docs-dist/static/spot.42e620e1.svg +1 -0
- package/docs-dist/umi.css +21 -0
- package/docs-dist/umi.js +1 -0
- package/package.json +1 -1
- package/src/Invoice/InvoiceController/fns/getGoodsSearch.ts +9 -2
- package/src/Invoice/ui/GoodsList/hook/useColumns/index.tsx +1 -1
- package/src/Invoice/ui/GoodsList/hook/useRowSelection/index.tsx +5 -9
- package/src/Invoice/ui/GoodsList/index.tsx +3 -1
- package/src/Invoice/ui/GoodsList/ui/Search/index.less +1 -1
- package/src/Invoice/ui/GoodsList/ui/Search/index.tsx +5 -2
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import IGood from "../InvoiceControllerState/GoodsListState/IGood";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* 计算搜索商品
|
|
4
|
+
* @param goodsList 被搜索列表
|
|
5
|
+
* @param search 搜索条件
|
|
6
|
+
* @param isTaxIncluded 是否含税
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export default function getGoodsSearch(goodsList: IGood[], search: string, isTaxIncluded: boolean): IGood[];
|
package/dist/index.esm.js
CHANGED
|
@@ -1520,16 +1520,23 @@ var validateFields = function validateFields(form) {
|
|
|
1520
1520
|
});
|
|
1521
1521
|
};
|
|
1522
1522
|
|
|
1523
|
-
|
|
1523
|
+
/**
|
|
1524
|
+
* 计算搜索商品
|
|
1525
|
+
* @param goodsList 被搜索列表
|
|
1526
|
+
* @param search 搜索条件
|
|
1527
|
+
* @param isTaxIncluded 是否含税
|
|
1528
|
+
* @returns
|
|
1529
|
+
*/
|
|
1530
|
+
function getGoodsSearch(goodsList, search, isTaxIncluded) {
|
|
1524
1531
|
if (!search) return goodsList;
|
|
1525
1532
|
return goodsList.filter(function (e) {
|
|
1526
|
-
var _e$itemName$indexOf, _e$itemName, _e$itemModelName$inde, _e$itemModelName;
|
|
1533
|
+
var _e$itemName$indexOf, _e$itemName, _e$itemModelName$inde, _e$itemModelName, _e$lineAmountIncludeT, _e$lineAmountExcludeT;
|
|
1527
1534
|
|
|
1528
1535
|
if (((_e$itemName$indexOf = (_e$itemName = e.itemName) === null || _e$itemName === void 0 ? void 0 : _e$itemName.indexOf(search)) !== null && _e$itemName$indexOf !== void 0 ? _e$itemName$indexOf : -1) >= 0) {
|
|
1529
1536
|
return true;
|
|
1530
1537
|
} else if (((_e$itemModelName$inde = (_e$itemModelName = e.itemModelName) === null || _e$itemModelName === void 0 ? void 0 : _e$itemModelName.indexOf(search)) !== null && _e$itemModelName$inde !== void 0 ? _e$itemModelName$inde : -1) >= 0) {
|
|
1531
1538
|
return true;
|
|
1532
|
-
} else if ("".concat(e.lineAmountIncludeTax).indexOf(search) >= 0) {
|
|
1539
|
+
} else if ("".concat(isTaxIncluded ? (_e$lineAmountIncludeT = e.lineAmountIncludeTax) === null || _e$lineAmountIncludeT === void 0 ? void 0 : _e$lineAmountIncludeT.toFixed(2) : (_e$lineAmountExcludeT = e.lineAmountExcludeTax) === null || _e$lineAmountExcludeT === void 0 ? void 0 : _e$lineAmountExcludeT.toFixed(2)).indexOf(search) >= 0) {
|
|
1533
1540
|
return true;
|
|
1534
1541
|
} else {
|
|
1535
1542
|
return false;
|
|
@@ -2240,7 +2247,7 @@ function SvgMagnifier(props) {
|
|
|
2240
2247
|
})));
|
|
2241
2248
|
}
|
|
2242
2249
|
|
|
2243
|
-
var css_248z$4 = ".kts-invoice-operate-goods-list-able-list .kts-invoice-operate-goods-list-search {\n width:
|
|
2250
|
+
var css_248z$4 = ".kts-invoice-operate-goods-list-able-list .kts-invoice-operate-goods-list-search {\n width: 350px;\n}\n.kts-invoice-operate-goods-list-able-list .kts-invoice-operate-goods-list-search input {\n border-radius: 999px;\n border-color: #b8b8b8;\n}\n";
|
|
2244
2251
|
styleInject(css_248z$4);
|
|
2245
2252
|
|
|
2246
2253
|
function Search() {
|
|
@@ -2254,6 +2261,11 @@ function Search() {
|
|
|
2254
2261
|
var readOnly = controller.useMemo(function (s) {
|
|
2255
2262
|
return !!s.goodsListState.editGood;
|
|
2256
2263
|
}, []);
|
|
2264
|
+
/** 是否含税 */
|
|
2265
|
+
|
|
2266
|
+
var isTaxIncluded = controller.useMemo(function (s) {
|
|
2267
|
+
return s.goodsListState.isTaxIncluded;
|
|
2268
|
+
}, []);
|
|
2257
2269
|
var onClick = React.useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
2258
2270
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
2259
2271
|
while (1) {
|
|
@@ -2292,7 +2304,7 @@ function Search() {
|
|
|
2292
2304
|
while (1) {
|
|
2293
2305
|
switch (_context2.prev = _context2.next) {
|
|
2294
2306
|
case 0:
|
|
2295
|
-
s.goodsListState.searchValue = value;
|
|
2307
|
+
s.goodsListState.searchValue = value.trim();
|
|
2296
2308
|
|
|
2297
2309
|
case 1:
|
|
2298
2310
|
case "end":
|
|
@@ -2312,7 +2324,7 @@ function Search() {
|
|
|
2312
2324
|
readOnly: readOnly,
|
|
2313
2325
|
value: value,
|
|
2314
2326
|
className: "kts-invoice-operate-goods-list-search",
|
|
2315
|
-
placeholder: "\u8BF7\u60A8\u8F93\u5165\u8D27\u7269\u540D\u79F0\u3001\u89C4\u683C\u578B\u53F7\u3001\u91D1\u989D(
|
|
2327
|
+
placeholder: "\u8BF7\u60A8\u8F93\u5165\u8D27\u7269\u540D\u79F0\u3001\u89C4\u683C\u578B\u53F7\u3001\u91D1\u989D(".concat(isTaxIncluded ? '含税' : '不含税', ")\u641C\u7D22"),
|
|
2316
2328
|
prefix: React.createElement(Icon, {
|
|
2317
2329
|
component: SvgMagnifier,
|
|
2318
2330
|
style: {
|
|
@@ -10720,7 +10732,7 @@ var useColumns = (function (form) {
|
|
|
10720
10732
|
style: {
|
|
10721
10733
|
padding: '0 10px'
|
|
10722
10734
|
}
|
|
10723
|
-
}, parseFloat(value).toFixed(2));
|
|
10735
|
+
}, formatSearch(parseFloat(value).toFixed(2), searchValue));
|
|
10724
10736
|
}
|
|
10725
10737
|
}
|
|
10726
10738
|
}, {
|
|
@@ -11192,7 +11204,7 @@ var useRowSelection = (function () {
|
|
|
11192
11204
|
|
|
11193
11205
|
var isAll = controller.useMemo(function (s) {
|
|
11194
11206
|
if (s.goodsListState.selectedGoodIndex.length <= 0) return false;
|
|
11195
|
-
var seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue).map(function (e) {
|
|
11207
|
+
var seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue, s.goodsListState.isTaxIncluded).map(function (e) {
|
|
11196
11208
|
return e.$index;
|
|
11197
11209
|
});
|
|
11198
11210
|
var selectedGoodIndex = s.goodsListState.selectedGoodIndex.filter(function (e) {
|
|
@@ -11203,7 +11215,7 @@ var useRowSelection = (function () {
|
|
|
11203
11215
|
return selectedGoodIndex.length === seeGoodsIndex.length;
|
|
11204
11216
|
}, []);
|
|
11205
11217
|
var indeterminate = controller.useMemo(function (s) {
|
|
11206
|
-
var seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue).map(function (e) {
|
|
11218
|
+
var seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue, s.goodsListState.isTaxIncluded).map(function (e) {
|
|
11207
11219
|
return e.$index;
|
|
11208
11220
|
});
|
|
11209
11221
|
var selectedGoodIndex = s.goodsListState.selectedGoodIndex.filter(function (e) {
|
|
@@ -11234,7 +11246,7 @@ var useRowSelection = (function () {
|
|
|
11234
11246
|
while (1) {
|
|
11235
11247
|
switch (_context.prev = _context.next) {
|
|
11236
11248
|
case 0:
|
|
11237
|
-
seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue).map(function (e) {
|
|
11249
|
+
seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue, s.goodsListState.isTaxIncluded).map(function (e) {
|
|
11238
11250
|
return e.$index;
|
|
11239
11251
|
});
|
|
11240
11252
|
s.goodsListState.selectedGoodIndex = s.goodsListState.selectedGoodIndex.filter(function (e) {
|
|
@@ -11269,7 +11281,7 @@ var useRowSelection = (function () {
|
|
|
11269
11281
|
while (1) {
|
|
11270
11282
|
switch (_context2.prev = _context2.next) {
|
|
11271
11283
|
case 0:
|
|
11272
|
-
seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue).map(function (e) {
|
|
11284
|
+
seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue, s.goodsListState.isTaxIncluded).map(function (e) {
|
|
11273
11285
|
return e.$index;
|
|
11274
11286
|
});
|
|
11275
11287
|
s.goodsListState.selectedGoodIndex = [].concat(_toConsumableArray(s.goodsListState.selectedGoodIndex), _toConsumableArray(seeGoodsIndex));
|
|
@@ -11496,9 +11508,12 @@ var Main = decorator(Form.create())(function (props) {
|
|
|
11496
11508
|
var searchValue = controller.useMemo(function (s) {
|
|
11497
11509
|
return s.goodsListState.searchValue;
|
|
11498
11510
|
}, []);
|
|
11511
|
+
var isTaxIncluded = controller.useMemo(function (s) {
|
|
11512
|
+
return s.goodsListState.isTaxIncluded;
|
|
11513
|
+
}, []);
|
|
11499
11514
|
var dataSourceSearch = React.useMemo(function () {
|
|
11500
|
-
return controller.getGoodsSearch(dataSource, searchValue);
|
|
11501
|
-
}, [dataSource, searchValue, controller]);
|
|
11515
|
+
return controller.getGoodsSearch(dataSource, searchValue, isTaxIncluded);
|
|
11516
|
+
}, [dataSource, searchValue, controller, isTaxIncluded]);
|
|
11502
11517
|
/** 表格行事件 */
|
|
11503
11518
|
|
|
11504
11519
|
var _onRow = useOnRow();
|
package/dist/index.js
CHANGED
|
@@ -1530,16 +1530,23 @@ var validateFields = function validateFields(form) {
|
|
|
1530
1530
|
});
|
|
1531
1531
|
};
|
|
1532
1532
|
|
|
1533
|
-
|
|
1533
|
+
/**
|
|
1534
|
+
* 计算搜索商品
|
|
1535
|
+
* @param goodsList 被搜索列表
|
|
1536
|
+
* @param search 搜索条件
|
|
1537
|
+
* @param isTaxIncluded 是否含税
|
|
1538
|
+
* @returns
|
|
1539
|
+
*/
|
|
1540
|
+
function getGoodsSearch(goodsList, search, isTaxIncluded) {
|
|
1534
1541
|
if (!search) return goodsList;
|
|
1535
1542
|
return goodsList.filter(function (e) {
|
|
1536
|
-
var _e$itemName$indexOf, _e$itemName, _e$itemModelName$inde, _e$itemModelName;
|
|
1543
|
+
var _e$itemName$indexOf, _e$itemName, _e$itemModelName$inde, _e$itemModelName, _e$lineAmountIncludeT, _e$lineAmountExcludeT;
|
|
1537
1544
|
|
|
1538
1545
|
if (((_e$itemName$indexOf = (_e$itemName = e.itemName) === null || _e$itemName === void 0 ? void 0 : _e$itemName.indexOf(search)) !== null && _e$itemName$indexOf !== void 0 ? _e$itemName$indexOf : -1) >= 0) {
|
|
1539
1546
|
return true;
|
|
1540
1547
|
} else if (((_e$itemModelName$inde = (_e$itemModelName = e.itemModelName) === null || _e$itemModelName === void 0 ? void 0 : _e$itemModelName.indexOf(search)) !== null && _e$itemModelName$inde !== void 0 ? _e$itemModelName$inde : -1) >= 0) {
|
|
1541
1548
|
return true;
|
|
1542
|
-
} else if ("".concat(e.lineAmountIncludeTax).indexOf(search) >= 0) {
|
|
1549
|
+
} else if ("".concat(isTaxIncluded ? (_e$lineAmountIncludeT = e.lineAmountIncludeTax) === null || _e$lineAmountIncludeT === void 0 ? void 0 : _e$lineAmountIncludeT.toFixed(2) : (_e$lineAmountExcludeT = e.lineAmountExcludeTax) === null || _e$lineAmountExcludeT === void 0 ? void 0 : _e$lineAmountExcludeT.toFixed(2)).indexOf(search) >= 0) {
|
|
1543
1550
|
return true;
|
|
1544
1551
|
} else {
|
|
1545
1552
|
return false;
|
|
@@ -2250,7 +2257,7 @@ function SvgMagnifier(props) {
|
|
|
2250
2257
|
})));
|
|
2251
2258
|
}
|
|
2252
2259
|
|
|
2253
|
-
var css_248z$4 = ".kts-invoice-operate-goods-list-able-list .kts-invoice-operate-goods-list-search {\n width:
|
|
2260
|
+
var css_248z$4 = ".kts-invoice-operate-goods-list-able-list .kts-invoice-operate-goods-list-search {\n width: 350px;\n}\n.kts-invoice-operate-goods-list-able-list .kts-invoice-operate-goods-list-search input {\n border-radius: 999px;\n border-color: #b8b8b8;\n}\n";
|
|
2254
2261
|
styleInject(css_248z$4);
|
|
2255
2262
|
|
|
2256
2263
|
function Search() {
|
|
@@ -2264,6 +2271,11 @@ function Search() {
|
|
|
2264
2271
|
var readOnly = controller.useMemo(function (s) {
|
|
2265
2272
|
return !!s.goodsListState.editGood;
|
|
2266
2273
|
}, []);
|
|
2274
|
+
/** 是否含税 */
|
|
2275
|
+
|
|
2276
|
+
var isTaxIncluded = controller.useMemo(function (s) {
|
|
2277
|
+
return s.goodsListState.isTaxIncluded;
|
|
2278
|
+
}, []);
|
|
2267
2279
|
var onClick = React__default['default'].useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
2268
2280
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
2269
2281
|
while (1) {
|
|
@@ -2302,7 +2314,7 @@ function Search() {
|
|
|
2302
2314
|
while (1) {
|
|
2303
2315
|
switch (_context2.prev = _context2.next) {
|
|
2304
2316
|
case 0:
|
|
2305
|
-
s.goodsListState.searchValue = value;
|
|
2317
|
+
s.goodsListState.searchValue = value.trim();
|
|
2306
2318
|
|
|
2307
2319
|
case 1:
|
|
2308
2320
|
case "end":
|
|
@@ -2322,7 +2334,7 @@ function Search() {
|
|
|
2322
2334
|
readOnly: readOnly,
|
|
2323
2335
|
value: value,
|
|
2324
2336
|
className: "kts-invoice-operate-goods-list-search",
|
|
2325
|
-
placeholder: "\u8BF7\u60A8\u8F93\u5165\u8D27\u7269\u540D\u79F0\u3001\u89C4\u683C\u578B\u53F7\u3001\u91D1\u989D(
|
|
2337
|
+
placeholder: "\u8BF7\u60A8\u8F93\u5165\u8D27\u7269\u540D\u79F0\u3001\u89C4\u683C\u578B\u53F7\u3001\u91D1\u989D(".concat(isTaxIncluded ? '含税' : '不含税', ")\u641C\u7D22"),
|
|
2326
2338
|
prefix: React__default['default'].createElement(ktsComponentsAntdX3.Icon, {
|
|
2327
2339
|
component: SvgMagnifier,
|
|
2328
2340
|
style: {
|
|
@@ -10730,7 +10742,7 @@ var useColumns = (function (form) {
|
|
|
10730
10742
|
style: {
|
|
10731
10743
|
padding: '0 10px'
|
|
10732
10744
|
}
|
|
10733
|
-
}, parseFloat(value).toFixed(2));
|
|
10745
|
+
}, formatSearch(parseFloat(value).toFixed(2), searchValue));
|
|
10734
10746
|
}
|
|
10735
10747
|
}
|
|
10736
10748
|
}, {
|
|
@@ -11202,7 +11214,7 @@ var useRowSelection = (function () {
|
|
|
11202
11214
|
|
|
11203
11215
|
var isAll = controller.useMemo(function (s) {
|
|
11204
11216
|
if (s.goodsListState.selectedGoodIndex.length <= 0) return false;
|
|
11205
|
-
var seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue).map(function (e) {
|
|
11217
|
+
var seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue, s.goodsListState.isTaxIncluded).map(function (e) {
|
|
11206
11218
|
return e.$index;
|
|
11207
11219
|
});
|
|
11208
11220
|
var selectedGoodIndex = s.goodsListState.selectedGoodIndex.filter(function (e) {
|
|
@@ -11213,7 +11225,7 @@ var useRowSelection = (function () {
|
|
|
11213
11225
|
return selectedGoodIndex.length === seeGoodsIndex.length;
|
|
11214
11226
|
}, []);
|
|
11215
11227
|
var indeterminate = controller.useMemo(function (s) {
|
|
11216
|
-
var seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue).map(function (e) {
|
|
11228
|
+
var seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue, s.goodsListState.isTaxIncluded).map(function (e) {
|
|
11217
11229
|
return e.$index;
|
|
11218
11230
|
});
|
|
11219
11231
|
var selectedGoodIndex = s.goodsListState.selectedGoodIndex.filter(function (e) {
|
|
@@ -11244,7 +11256,7 @@ var useRowSelection = (function () {
|
|
|
11244
11256
|
while (1) {
|
|
11245
11257
|
switch (_context.prev = _context.next) {
|
|
11246
11258
|
case 0:
|
|
11247
|
-
seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue).map(function (e) {
|
|
11259
|
+
seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue, s.goodsListState.isTaxIncluded).map(function (e) {
|
|
11248
11260
|
return e.$index;
|
|
11249
11261
|
});
|
|
11250
11262
|
s.goodsListState.selectedGoodIndex = s.goodsListState.selectedGoodIndex.filter(function (e) {
|
|
@@ -11279,7 +11291,7 @@ var useRowSelection = (function () {
|
|
|
11279
11291
|
while (1) {
|
|
11280
11292
|
switch (_context2.prev = _context2.next) {
|
|
11281
11293
|
case 0:
|
|
11282
|
-
seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue).map(function (e) {
|
|
11294
|
+
seeGoodsIndex = controller.getGoodsSearch(s.goodsListState.goodsList, s.goodsListState.searchValue, s.goodsListState.isTaxIncluded).map(function (e) {
|
|
11283
11295
|
return e.$index;
|
|
11284
11296
|
});
|
|
11285
11297
|
s.goodsListState.selectedGoodIndex = [].concat(_toConsumableArray(s.goodsListState.selectedGoodIndex), _toConsumableArray(seeGoodsIndex));
|
|
@@ -11506,9 +11518,12 @@ var Main = GreyReactBox.decorator(ktsComponentsAntdX3.Form.create())(function (p
|
|
|
11506
11518
|
var searchValue = controller.useMemo(function (s) {
|
|
11507
11519
|
return s.goodsListState.searchValue;
|
|
11508
11520
|
}, []);
|
|
11521
|
+
var isTaxIncluded = controller.useMemo(function (s) {
|
|
11522
|
+
return s.goodsListState.isTaxIncluded;
|
|
11523
|
+
}, []);
|
|
11509
11524
|
var dataSourceSearch = React__default['default'].useMemo(function () {
|
|
11510
|
-
return controller.getGoodsSearch(dataSource, searchValue);
|
|
11511
|
-
}, [dataSource, searchValue, controller]);
|
|
11525
|
+
return controller.getGoodsSearch(dataSource, searchValue, isTaxIncluded);
|
|
11526
|
+
}, [dataSource, searchValue, controller, isTaxIncluded]);
|
|
11512
11527
|
/** 表格行事件 */
|
|
11513
11528
|
|
|
11514
11529
|
var _onRow = useOnRow();
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta
|
|
6
|
+
name="viewport"
|
|
7
|
+
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
|
|
8
|
+
/>
|
|
9
|
+
<link rel="stylesheet" href="/docs-dist/umi.css" />
|
|
10
|
+
<script>
|
|
11
|
+
window.routerBase = "/";
|
|
12
|
+
</script>
|
|
13
|
+
<script>
|
|
14
|
+
//! umi version: 3.5.27
|
|
15
|
+
</script>
|
|
16
|
+
<script>
|
|
17
|
+
!(function () {
|
|
18
|
+
var e = localStorage.getItem("dumi:prefers-color"),
|
|
19
|
+
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
|
|
20
|
+
r = ["light", "dark", "auto"];
|
|
21
|
+
document.documentElement.setAttribute(
|
|
22
|
+
"data-prefers-color",
|
|
23
|
+
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
|
|
24
|
+
);
|
|
25
|
+
})();
|
|
26
|
+
</script>
|
|
27
|
+
</head>
|
|
28
|
+
<body>
|
|
29
|
+
<div id="root"></div>
|
|
30
|
+
|
|
31
|
+
<script src="/docs-dist/umi.js"></script>
|
|
32
|
+
</body>
|
|
33
|
+
</html>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta
|
|
6
|
+
name="viewport"
|
|
7
|
+
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
|
|
8
|
+
/>
|
|
9
|
+
<link rel="stylesheet" href="/docs-dist/umi.css" />
|
|
10
|
+
<script>
|
|
11
|
+
window.routerBase = "/";
|
|
12
|
+
</script>
|
|
13
|
+
<script>
|
|
14
|
+
//! umi version: 3.5.27
|
|
15
|
+
</script>
|
|
16
|
+
<script>
|
|
17
|
+
!(function () {
|
|
18
|
+
var e = localStorage.getItem("dumi:prefers-color"),
|
|
19
|
+
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
|
|
20
|
+
r = ["light", "dark", "auto"];
|
|
21
|
+
document.documentElement.setAttribute(
|
|
22
|
+
"data-prefers-color",
|
|
23
|
+
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
|
|
24
|
+
);
|
|
25
|
+
})();
|
|
26
|
+
</script>
|
|
27
|
+
</head>
|
|
28
|
+
<body>
|
|
29
|
+
<div id="root"></div>
|
|
30
|
+
|
|
31
|
+
<script src="/docs-dist/umi.js"></script>
|
|
32
|
+
</body>
|
|
33
|
+
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1586510245354" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4976" width="16" height="16" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M510.677 83.529c60.891 0 119.75 13.191 174.046 38.055l-40.087 70.028 202.97-1.016-101.99-175.063-35.52 61.909c-61.908-29.433-129.903-44.657-199.419-44.657-257.266 0-466.833 209.566-466.833 466.833 0 93.368 27.4 183.69 79.668 261.326l42.116-28.415c-46.684-69.012-71.039-149.183-71.039-232.91 0-229.355 186.729-416.09 416.088-416.09z m425.225 223.774l-46.175 20.802c24.356 53.788 37.039 111.637 37.039 171.512 0 229.358-186.73 416.089-416.089 416.089-46.684 0-92.351-7.608-135.99-22.832l34-65.968-202.468 10.148 110.116 170.5 35.52-69.012c50.738 18.777 104.526 27.908 159.33 27.908 257.265 0 466.832-209.567 466.832-466.833-0.507-66.98-14.715-131.93-42.115-192.314z m0 0" p-id="4977"></path><path d="M317.096 1023.06L192.387 829.965 421.78 818.47l-36.039 69.924c40.06 12.971 82.045 19.543 124.936 19.543 225.147 0 408.317-183.17 408.317-408.317 0-58.417-12.23-115.043-36.348-168.305l-3.212-7.094 60.343-27.186 3.203 7.059c27.889 61.462 42.292 127.226 42.81 195.467 0 261.757-212.908 474.664-474.606 474.664-54.211 0-106.5-8.76-155.546-26.05l-38.54 74.885zM220.05 844.143l95.524 147.906 32.521-63.187 6.458 2.39c49.176 18.198 101.874 27.425 156.632 27.425 253.126 0 459.06-205.933 459.06-459.06-0.48-63.377-13.353-124.59-38.275-182.018l-32.013 14.422c22.95 53.205 34.582 109.55 34.582 167.595 0 233.719-190.143 423.862-423.862 423.862-47.682 0-94.297-7.828-138.55-23.266l-8.448-2.948 31.914-61.92-175.543 8.8z m-98.64-72.405l-4.345-6.455C64.08 686.583 36.071 594.717 36.071 499.617c0-261.698 212.907-474.605 474.605-474.605 68.724 0 134.705 14.25 196.232 42.368L745.564 0.005 861.09 198.301l-229.898 1.151 42.514-74.27c-51.835-22.486-106.64-33.88-163.03-33.88-225.147 0-408.317 183.17-408.317 408.316 0 82.11 24.104 161.145 69.705 228.556l4.36 6.445-55.014 37.12zM510.677 40.557c-253.126 0-459.06 205.934-459.06 459.06 0 89.396 25.578 175.828 74.053 250.495l29.221-19.715c-44.563-68.554-68.074-148.169-68.074-230.78 0-233.717 190.143-423.861 423.861-423.861 61.471 0 121.117 13.04 177.283 38.76l7.738 3.543-37.618 65.714 176.044-0.882-88.458-151.83-32.41 56.489-6.498-3.09C645.482 55.329 579.51 40.558 510.677 40.558z" p-id="4978"></path><path d="M320.113 320.409h383.973v63.55H320.113z m0.184 127.952H704.27v63.55H320.297z m-0.184 127.803h383.973v63.55H320.113z" p-id="4979"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg t="1656901778998" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9253" width="200" height="200"><path d="M985.781333 918.594133 820.773333 765.5264c27.3728-32.973867 49.6544-69.5776 66.436267-109.258667 22.933333-54.218667 34.561067-111.7952 34.561067-171.1296 0-59.333333-11.627733-116.910933-34.561067-171.1296-22.142933-52.354133-53.837867-99.365333-94.200533-139.729067S705.633067 102.222933 653.28 80.08c-54.218667-22.933333-111.7952-34.561067-171.1296-34.561067S365.240533 57.147733 311.021867 80.08c-52.354133 22.142933-99.365333 53.8368-139.729067 94.200533s-72.0576 87.374933-94.200533 139.729067c-22.932267 54.218667-34.56 111.7952-34.56 171.1296 0 59.3344 11.627733 116.910933 34.56 171.1296 22.144 52.354133 53.837867 99.365333 94.200533 139.729067s87.374933 72.0576 139.729067 94.200533c54.218667 22.932267 111.7952 34.56 171.1296 34.56s116.910933-11.627733 171.1296-34.56c45.352533-19.181867 86.686933-45.543467 123.172267-78.487467L942.256 965.514667c6.16 5.714133 13.966933 8.539733 21.755733 8.539733 8.593067 0 17.163733-3.441067 23.467733-10.237867C999.4976 950.8608 998.738133 930.612267 985.781333 918.594133zM482.151467 860.7584c-207.117867 0-375.620267-168.5024-375.620267-375.620267 0-207.1168 168.5024-375.6192 375.620267-375.6192S857.770667 278.021333 857.770667 485.138133C857.770667 692.256 689.268267 860.7584 482.151467 860.7584z" p-id="9254"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1574652728953" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4119" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M512 512m-96 0a1.5 1.5 0 1 0 192 0 1.5 1.5 0 1 0-192 0Z" p-id="4120"></path><path d="M512 96.64m-96 0a1.5 1.5 0 1 0 192 0 1.5 1.5 0 1 0-192 0Z" p-id="4121"></path><path d="M512 927.36m-96 0a1.5 1.5 0 1 0 192 0 1.5 1.5 0 1 0-192 0Z" p-id="4122"></path></svg>
|