@kmkf-fe-packages/services-components 2.0.2-beta.7 → 2.0.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.
Files changed (37) hide show
  1. package/README.md +1 -1
  2. package/dist/esm/commonComponents/GlobalContext/index.d.ts +2 -3
  3. package/dist/esm/commonComponents/GlobalContext/index.js +30 -109
  4. package/dist/esm/components/BS/BsLogistics/index.js +9 -22
  5. package/dist/esm/components/BS/common/expressCode.js +0 -3
  6. package/dist/esm/components/BS/common/expressCompany.js +0 -3
  7. package/dist/esm/components/Common/index.js +1 -1
  8. package/dist/esm/components/JST/JstSendGood/index.js +1 -1
  9. package/dist/esm/components/MsgStatus/index.js +2 -7
  10. package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -0
  11. package/dist/esm/components/Payment/PaymentAmount.js +4 -0
  12. package/dist/esm/components/Reissue/Logistics/index.d.ts +0 -1
  13. package/dist/esm/components/Reissue/Logistics/index.js +2 -6
  14. package/dist/esm/components/StatusSelect/index.d.ts +6 -10
  15. package/dist/esm/components/StatusSelect/index.js +109 -48
  16. package/dist/esm/factory.d.ts +1 -1
  17. package/dist/esm/factory.js +0 -3
  18. package/dist/esm/service/api.d.ts +1 -1
  19. package/dist/esm/service/api.js +66 -52
  20. package/package.json +6 -6
  21. package/dist/esm/commonComponents/GlobalContext/hook/dist/useGetHasErpData.js +0 -52
  22. package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.d.ts +0 -3
  23. package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.js +0 -55
  24. package/dist/esm/commonComponents/GlobalContext/orderQuery/dist/useGetErpAddressData.js +0 -180
  25. package/dist/esm/commonComponents/GlobalContext/orderQuery/dist/useGetErpLogisticsCompany.js +0 -186
  26. package/dist/esm/commonComponents/GlobalContext/orderQuery/type.d.ts +0 -1
  27. package/dist/esm/commonComponents/GlobalContext/orderQuery/type.js +0 -1
  28. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpAddressData.d.ts +0 -3
  29. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpAddressData.js +0 -79
  30. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpLogisticsCompany.d.ts +0 -3
  31. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpLogisticsCompany.js +0 -80
  32. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpSendData.d.ts +0 -3
  33. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpSendData.js +0 -78
  34. package/dist/esm/components/BS/BsGoods/dist/index.js +0 -113
  35. package/dist/esm/components/Common/dist/index.js +0 -1019
  36. package/dist/esm/components/StatusSelect/constants.d.ts +0 -18
  37. package/dist/esm/components/StatusSelect/constants.js +0 -23
@@ -1,18 +0,0 @@
1
- declare type OptionsType = {
2
- value: string;
3
- label: string;
4
- color: string;
5
- }[];
6
- export interface SelectPropsType {
7
- options: OptionsType;
8
- key: string;
9
- info: string;
10
- failValue: string;
11
- }
12
- export declare const getSelectTypeAttribute: ({ key, info, text, failValueIndex, }: {
13
- key: string;
14
- info: string;
15
- text?: string | undefined;
16
- failValueIndex?: number | undefined;
17
- }) => SelectPropsType;
18
- export {};
@@ -1,23 +0,0 @@
1
- export var getSelectTypeAttribute = function getSelectTypeAttribute(_ref) {
2
- var key = _ref.key,
3
- info = _ref.info,
4
- _ref$text = _ref.text,
5
- text = _ref$text === void 0 ? "" : _ref$text,
6
- _ref$failValueIndex = _ref.failValueIndex,
7
- failValueIndex = _ref$failValueIndex === void 0 ? 1 : _ref$failValueIndex;
8
- var dataMap = {
9
- key: key,
10
- info: info,
11
- options: [{
12
- value: "".concat(text, "\u6210\u529F"),
13
- label: "".concat(text, "\u6210\u529F"),
14
- color: "#52c41a"
15
- }, {
16
- value: "".concat(text, "\u5931\u8D25"),
17
- label: "".concat(text, "\u5931\u8D25"),
18
- color: "#ff4d4f"
19
- }]
20
- };
21
- dataMap["failValue"] = dataMap.options[failValueIndex].value;
22
- return dataMap;
23
- };