@kmkf-fe-packages/basic-components 2.0.79-beta.35 → 2.0.79-beta.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -14707,7 +14707,7 @@ var RangePicker = DatePicker.RangePicker;
14707
14707
  var _SelectInput = function SelectInput(props) {
14708
14708
  var _props$value = props.value,
14709
14709
  value = _props$value === void 0 ? {
14710
- type: 'in',
14710
+ type: 'anylike',
14711
14711
  keywords: ''
14712
14712
  } : _props$value,
14713
14713
  onChange = props.onChange,
@@ -14870,15 +14870,6 @@ var componentMap$1 = {
14870
14870
  }, props));
14871
14871
  }
14872
14872
  };
14873
- var getShopList = function getShopList() {
14874
- return servers.singletonWrap(function () {
14875
- return servers.queryShopList();
14876
- }, {
14877
- name: "getShopList",
14878
- key: 'getShopList',
14879
- cacheTime: 1000 * 60
14880
- });
14881
- };
14882
14873
  var FilterSelectOption = function FilterSelectOption(props) {
14883
14874
  // otherProps 中存在value和onChange属性
14884
14875
  var filterComponentType = props.filterComponentType,
@@ -14886,21 +14877,8 @@ var FilterSelectOption = function FilterSelectOption(props) {
14886
14877
  componentProps = props.props,
14887
14878
  ShopList = props.ShopList,
14888
14879
  otherProps = _objectWithoutProperties(props, _excluded$g);
14889
- var _React$useState = React.useState([]),
14890
- _React$useState2 = _slicedToArray(_React$useState, 2),
14891
- shopList = _React$useState2[0],
14892
- setShopList = _React$useState2[1];
14893
- React.useEffect(function () {
14894
- getShopList().then(function (_ref) {
14895
- var data = _ref.data;
14896
- setShopList(data);
14897
- return function () {
14898
- setShopList([]);
14899
- };
14900
- }).catch(console.warn);
14901
- }, []);
14902
14880
  var Comp = filterComponentType === 'ShopList' ? function (props) {
14903
- return /*#__PURE__*/React.createElement(ShopList, _objectSpread2(_objectSpread2({
14881
+ return /*#__PURE__*/React.createElement(ShopList, _objectSpread2({
14904
14882
  placeholder: "\u8BF7\u9009\u62E9\u5E97\u94FA\u540D\u79F0",
14905
14883
  showSearch: true,
14906
14884
  optionFilterProp: "label",
@@ -14910,9 +14888,7 @@ var FilterSelectOption = function FilterSelectOption(props) {
14910
14888
  style: {
14911
14889
  width: '220px'
14912
14890
  }
14913
- }, props), {}, {
14914
- shopList: shopList
14915
- }));
14891
+ }, props));
14916
14892
  } : componentMap$1[filterComponentType];
14917
14893
  var newComponentProps = cloneDeep(componentProps);
14918
14894
  if (hasAddNullComponent.includes(props.type)) {
@@ -15071,9 +15047,18 @@ var FilterSelectOption = function FilterSelectOption(props) {
15071
15047
  lineHeight: '13px',
15072
15048
  display: 'inline-block'
15073
15049
  }
15074
- }, /*#__PURE__*/React.createElement("i", {
15075
- className: "iconfont icon-group"
15076
- })), /*#__PURE__*/React.createElement("span", null, item.label)) : item.label
15050
+ }, /*#__PURE__*/React.createElement("svg", {
15051
+ viewBox: "0 0 1024 1024",
15052
+ version: "1.1",
15053
+ xmlns: "http://www.w3.org/2000/svg",
15054
+ "p-id": "6771",
15055
+ width: "13",
15056
+ height: "13"
15057
+ }, /*#__PURE__*/React.createElement("path", {
15058
+ d: "M452.267 171.042a196.13 196.13 0 0 0-46.2-14.455 165.376 165.376 0 0 0-27.306-2.987h-8.397a165.376 165.376 0 0 0-27.648 2.987c-19.951 3.686-38.93 10.154-56.389 19.524-55.842 29.986-86.357 84.002-86.357 156.399v8.072c-0.051 6.861 0.29 15.838 1.024 25.6 1.348 18.091 3.823 35.277 7.475 51.2 7.202 31.284 18.5 55.706 35.328 73.216 1.844 1.912 4.71 5.53 7.305 9.472 3.14 4.796 4.898 8.739 5.222 10.462 0 2.919 0.188 2.338-1.416 3.823-5.103 4.71-16.691 11.503-39.731 22.835-119.638 58.846-159.71 92.16-160.154 149.504l-3.72 53.214a41.677 41.677 0 0 0 38.57 44.527c3.243 0.222 49.732 0.393 114.961 0.512-0.205-19.114 0.546-36.096 2.082-51.2a25724.587 25724.587 0 0 1-103.833-0.273l3.072-44.049 0.068-1.792c0-29.696 29.303-54.187 131.55-104.5 55.091-27.101 69.751-40.669 69.751-73.044a45.49 45.49 0 0 0-0.392-5.888c-1.349-10.445-6.059-21.3-13.244-32.24a122.487 122.487 0 0 0-13.175-16.844c-9.507-9.882-17.05-26.198-22.358-49.238a292.386 292.386 0 0 1-6.314-43.52 288.444 288.444 0 0 1-0.888-21.64v-8.192c0-54.033 20.6-90.488 59.392-111.309a141.892 141.892 0 0 1 41.472-14.285 116.463 116.463 0 0 1 18.552-2.133h7.953c3.976 0.034 10.632 0.734 18.227 2.133a154.902 154.902 0 0 1 17.8 4.386 165.598 165.598 0 0 1 37.718-40.277zM806.4 599.092c-43.588-21.505-47.428-24.901-47.497-32.769 0.342-2.355 2.475-7.253 6.315-13.107 2.987-4.574 6.298-8.772 8.448-11.008 18.347-19.132 30.72-45.943 38.622-80.435a381.44 381.44 0 0 0 8.277-56.781c0.802-10.803 1.178-20.753 1.144-28.399v-8.465c0-80.333-33.434-139.674-94.686-172.646a211.695 211.695 0 0 0-61.97-21.504 181.01 181.01 0 0 0-29.934-3.311h-9.336c-8.345 0.068-18.841 1.177-30.31 3.294a211.678 211.678 0 0 0-61.969 21.504c-61.27 32.99-94.686 92.33-94.686 172.151v9.028c-0.034 7.595 0.341 17.545 1.144 28.365 1.501 20.07 4.232 39.134 8.277 56.747 7.902 34.509 20.275 61.32 38.605 80.435 2.167 2.253 5.461 6.451 8.465 11.025 3.84 5.854 5.973 10.752 6.314 13.09-0.068 7.885-3.925 11.264-47.496 32.785-132.318 65.28-176.35 102.008-176.794 164.489l-4.164 59.562a43.537 43.537 0 0 0 40.26 46.558c12.613 0.888 627.15 1.024 637.782-0.17a43.554 43.554 0 0 0 38.4-48.043l-6.452-59.563c-1.194-61.474-45.602-98.116-176.742-162.833z m151.194 165.426l25.565-1.382-0.102-1.963-25.566 1.383-18.108 1.962h18.21z m-25.566 0.785l5.802 53.487c-67.157 0.598-545.62 0.512-613.034-0.05l3.67-52.447c0.067-36.659 33.313-64.546 148.308-121.292 60.416-29.816 76.05-44.323 76.05-78.934 0-2.048-0.137-4.096-0.41-6.178-1.417-11.127-6.485-22.87-14.268-34.73a133.888 133.888 0 0 0-14.336-18.398c-11.025-11.486-19.644-30.208-25.668-56.44a330.77 330.77 0 0 1-7.117-49.1 326.349 326.349 0 0 1-1.007-24.457v-9.148c0-61.474 23.552-103.253 67.755-127.061a160.649 160.649 0 0 1 47.036-16.248c8.652-1.604 16.213-2.39 21.196-2.44h8.892c4.608 0.034 12.203 0.853 20.821 2.44 16.862 3.123 32.7 8.534 47.036 16.248 44.203 23.808 67.755 65.587 67.755 127.061v9.233c0.034 6.23-0.29 14.848-1.007 24.354-1.314 17.596-3.67 34.134-7.117 49.118-6.024 26.232-14.643 44.954-25.668 56.44a133.87 133.87 0 0 0-14.336 18.397c-7.766 11.862-12.851 23.604-14.268 34.731a48.589 48.589 0 0 0-0.41 6.178c0 34.611 15.634 49.118 76.05 78.934 115.012 56.763 148.24 84.65 148.24 119.517h7.39l-7.338 0.785z",
15059
+ fill: "#3a75ed",
15060
+ "p-id": "6772"
15061
+ }))), /*#__PURE__*/React.createElement("span", null, item.label)) : item.label
15077
15062
  });
15078
15063
  })
15079
15064
  });
@@ -15258,7 +15243,7 @@ var WorkorderList = function WorkorderList(props, ref) {
15258
15243
  loading: false,
15259
15244
  total: 0,
15260
15245
  current: 1,
15261
- pageSize: 2
15246
+ pageSize: 10
15262
15247
  }),
15263
15248
  _React$useState8 = _slicedToArray(_React$useState7, 2),
15264
15249
  paginationData = _React$useState8[0],
@@ -15502,7 +15487,7 @@ var WorkorderList = function WorkorderList(props, ref) {
15502
15487
  columns: goodsSourceFormat.tableColumns,
15503
15488
  selectedKeys: selectedKeys,
15504
15489
  handleChangeSelectedKeys: handleSelect,
15505
- height: 250,
15490
+ height: 350,
15506
15491
  dataSource: workOrderList,
15507
15492
  loading: paginationData.loading
15508
15493
  }), /*#__PURE__*/React.createElement(Pagination, {
package/dist/index.js CHANGED
@@ -14720,7 +14720,7 @@ var RangePicker = antd.DatePicker.RangePicker;
14720
14720
  var _SelectInput = function SelectInput(props) {
14721
14721
  var _props$value = props.value,
14722
14722
  value = _props$value === void 0 ? {
14723
- type: 'in',
14723
+ type: 'anylike',
14724
14724
  keywords: ''
14725
14725
  } : _props$value,
14726
14726
  onChange = props.onChange,
@@ -14883,15 +14883,6 @@ var componentMap$1 = {
14883
14883
  }, props));
14884
14884
  }
14885
14885
  };
14886
- var getShopList = function getShopList() {
14887
- return kmkfUtils.servers.singletonWrap(function () {
14888
- return kmkfUtils.servers.queryShopList();
14889
- }, {
14890
- name: "getShopList",
14891
- key: 'getShopList',
14892
- cacheTime: 1000 * 60
14893
- });
14894
- };
14895
14886
  var FilterSelectOption = function FilterSelectOption(props) {
14896
14887
  // otherProps 中存在value和onChange属性
14897
14888
  var filterComponentType = props.filterComponentType,
@@ -14899,21 +14890,8 @@ var FilterSelectOption = function FilterSelectOption(props) {
14899
14890
  componentProps = props.props,
14900
14891
  ShopList = props.ShopList,
14901
14892
  otherProps = _objectWithoutProperties(props, _excluded$g);
14902
- var _React$useState = React__default['default'].useState([]),
14903
- _React$useState2 = _slicedToArray(_React$useState, 2),
14904
- shopList = _React$useState2[0],
14905
- setShopList = _React$useState2[1];
14906
- React__default['default'].useEffect(function () {
14907
- getShopList().then(function (_ref) {
14908
- var data = _ref.data;
14909
- setShopList(data);
14910
- return function () {
14911
- setShopList([]);
14912
- };
14913
- }).catch(console.warn);
14914
- }, []);
14915
14893
  var Comp = filterComponentType === 'ShopList' ? function (props) {
14916
- return /*#__PURE__*/React__default['default'].createElement(ShopList, _objectSpread2(_objectSpread2({
14894
+ return /*#__PURE__*/React__default['default'].createElement(ShopList, _objectSpread2({
14917
14895
  placeholder: "\u8BF7\u9009\u62E9\u5E97\u94FA\u540D\u79F0",
14918
14896
  showSearch: true,
14919
14897
  optionFilterProp: "label",
@@ -14923,9 +14901,7 @@ var FilterSelectOption = function FilterSelectOption(props) {
14923
14901
  style: {
14924
14902
  width: '220px'
14925
14903
  }
14926
- }, props), {}, {
14927
- shopList: shopList
14928
- }));
14904
+ }, props));
14929
14905
  } : componentMap$1[filterComponentType];
14930
14906
  var newComponentProps = lodash.cloneDeep(componentProps);
14931
14907
  if (kmkfUtils.hasAddNullComponent.includes(props.type)) {
@@ -15084,9 +15060,18 @@ var FilterSelectOption = function FilterSelectOption(props) {
15084
15060
  lineHeight: '13px',
15085
15061
  display: 'inline-block'
15086
15062
  }
15087
- }, /*#__PURE__*/React__default['default'].createElement("i", {
15088
- className: "iconfont icon-group"
15089
- })), /*#__PURE__*/React__default['default'].createElement("span", null, item.label)) : item.label
15063
+ }, /*#__PURE__*/React__default['default'].createElement("svg", {
15064
+ viewBox: "0 0 1024 1024",
15065
+ version: "1.1",
15066
+ xmlns: "http://www.w3.org/2000/svg",
15067
+ "p-id": "6771",
15068
+ width: "13",
15069
+ height: "13"
15070
+ }, /*#__PURE__*/React__default['default'].createElement("path", {
15071
+ d: "M452.267 171.042a196.13 196.13 0 0 0-46.2-14.455 165.376 165.376 0 0 0-27.306-2.987h-8.397a165.376 165.376 0 0 0-27.648 2.987c-19.951 3.686-38.93 10.154-56.389 19.524-55.842 29.986-86.357 84.002-86.357 156.399v8.072c-0.051 6.861 0.29 15.838 1.024 25.6 1.348 18.091 3.823 35.277 7.475 51.2 7.202 31.284 18.5 55.706 35.328 73.216 1.844 1.912 4.71 5.53 7.305 9.472 3.14 4.796 4.898 8.739 5.222 10.462 0 2.919 0.188 2.338-1.416 3.823-5.103 4.71-16.691 11.503-39.731 22.835-119.638 58.846-159.71 92.16-160.154 149.504l-3.72 53.214a41.677 41.677 0 0 0 38.57 44.527c3.243 0.222 49.732 0.393 114.961 0.512-0.205-19.114 0.546-36.096 2.082-51.2a25724.587 25724.587 0 0 1-103.833-0.273l3.072-44.049 0.068-1.792c0-29.696 29.303-54.187 131.55-104.5 55.091-27.101 69.751-40.669 69.751-73.044a45.49 45.49 0 0 0-0.392-5.888c-1.349-10.445-6.059-21.3-13.244-32.24a122.487 122.487 0 0 0-13.175-16.844c-9.507-9.882-17.05-26.198-22.358-49.238a292.386 292.386 0 0 1-6.314-43.52 288.444 288.444 0 0 1-0.888-21.64v-8.192c0-54.033 20.6-90.488 59.392-111.309a141.892 141.892 0 0 1 41.472-14.285 116.463 116.463 0 0 1 18.552-2.133h7.953c3.976 0.034 10.632 0.734 18.227 2.133a154.902 154.902 0 0 1 17.8 4.386 165.598 165.598 0 0 1 37.718-40.277zM806.4 599.092c-43.588-21.505-47.428-24.901-47.497-32.769 0.342-2.355 2.475-7.253 6.315-13.107 2.987-4.574 6.298-8.772 8.448-11.008 18.347-19.132 30.72-45.943 38.622-80.435a381.44 381.44 0 0 0 8.277-56.781c0.802-10.803 1.178-20.753 1.144-28.399v-8.465c0-80.333-33.434-139.674-94.686-172.646a211.695 211.695 0 0 0-61.97-21.504 181.01 181.01 0 0 0-29.934-3.311h-9.336c-8.345 0.068-18.841 1.177-30.31 3.294a211.678 211.678 0 0 0-61.969 21.504c-61.27 32.99-94.686 92.33-94.686 172.151v9.028c-0.034 7.595 0.341 17.545 1.144 28.365 1.501 20.07 4.232 39.134 8.277 56.747 7.902 34.509 20.275 61.32 38.605 80.435 2.167 2.253 5.461 6.451 8.465 11.025 3.84 5.854 5.973 10.752 6.314 13.09-0.068 7.885-3.925 11.264-47.496 32.785-132.318 65.28-176.35 102.008-176.794 164.489l-4.164 59.562a43.537 43.537 0 0 0 40.26 46.558c12.613 0.888 627.15 1.024 637.782-0.17a43.554 43.554 0 0 0 38.4-48.043l-6.452-59.563c-1.194-61.474-45.602-98.116-176.742-162.833z m151.194 165.426l25.565-1.382-0.102-1.963-25.566 1.383-18.108 1.962h18.21z m-25.566 0.785l5.802 53.487c-67.157 0.598-545.62 0.512-613.034-0.05l3.67-52.447c0.067-36.659 33.313-64.546 148.308-121.292 60.416-29.816 76.05-44.323 76.05-78.934 0-2.048-0.137-4.096-0.41-6.178-1.417-11.127-6.485-22.87-14.268-34.73a133.888 133.888 0 0 0-14.336-18.398c-11.025-11.486-19.644-30.208-25.668-56.44a330.77 330.77 0 0 1-7.117-49.1 326.349 326.349 0 0 1-1.007-24.457v-9.148c0-61.474 23.552-103.253 67.755-127.061a160.649 160.649 0 0 1 47.036-16.248c8.652-1.604 16.213-2.39 21.196-2.44h8.892c4.608 0.034 12.203 0.853 20.821 2.44 16.862 3.123 32.7 8.534 47.036 16.248 44.203 23.808 67.755 65.587 67.755 127.061v9.233c0.034 6.23-0.29 14.848-1.007 24.354-1.314 17.596-3.67 34.134-7.117 49.118-6.024 26.232-14.643 44.954-25.668 56.44a133.87 133.87 0 0 0-14.336 18.397c-7.766 11.862-12.851 23.604-14.268 34.731a48.589 48.589 0 0 0-0.41 6.178c0 34.611 15.634 49.118 76.05 78.934 115.012 56.763 148.24 84.65 148.24 119.517h7.39l-7.338 0.785z",
15072
+ fill: "#3a75ed",
15073
+ "p-id": "6772"
15074
+ }))), /*#__PURE__*/React__default['default'].createElement("span", null, item.label)) : item.label
15090
15075
  });
15091
15076
  })
15092
15077
  });
@@ -15271,7 +15256,7 @@ var WorkorderList = function WorkorderList(props, ref) {
15271
15256
  loading: false,
15272
15257
  total: 0,
15273
15258
  current: 1,
15274
- pageSize: 2
15259
+ pageSize: 10
15275
15260
  }),
15276
15261
  _React$useState8 = _slicedToArray(_React$useState7, 2),
15277
15262
  paginationData = _React$useState8[0],
@@ -15515,7 +15500,7 @@ var WorkorderList = function WorkorderList(props, ref) {
15515
15500
  columns: goodsSourceFormat.tableColumns,
15516
15501
  selectedKeys: selectedKeys,
15517
15502
  handleChangeSelectedKeys: handleSelect,
15518
- height: 250,
15503
+ height: 350,
15519
15504
  dataSource: workOrderList,
15520
15505
  loading: paginationData.loading
15521
15506
  }), /*#__PURE__*/React__default['default'].createElement(antd.Pagination, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.0.79-beta.35",
3
+ "version": "2.0.79-beta.37",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -20,7 +20,7 @@
20
20
  "watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/kmkf-utils": "2.0.79-beta.33",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.0.79-beta.37",
24
24
  "ahooks": "^3.7.4",
25
25
  "ali-react-table": "2.6.1",
26
26
  "bignumber.js": "^9.1.2",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "10636ed655bfe95949c84a2b59e9c8ee473cf89b"
69
+ "gitHead": "572ac6b3fd516cee3e12b999d81e6235cc521dfe"
70
70
  }