@kmkf-fe-packages/services-components 0.3.1-alpha.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 (147) hide show
  1. package/dist/esm/commonComponents/ItemView/index.d.ts +7 -0
  2. package/dist/esm/commonComponents/ItemView/index.js +15 -0
  3. package/dist/esm/commonComponents/ItemView/index.module.scss +20 -0
  4. package/dist/esm/components/ActualPayment/index.d.ts +27 -0
  5. package/dist/esm/components/ActualPayment/index.js +82 -0
  6. package/dist/esm/components/Address/index.d.ts +37 -0
  7. package/dist/esm/components/Address/index.js +112 -0
  8. package/dist/esm/components/Alipay/index.d.ts +36 -0
  9. package/dist/esm/components/Alipay/index.js +88 -0
  10. package/dist/esm/components/AlipayAccount/index.d.ts +29 -0
  11. package/dist/esm/components/AlipayAccount/index.js +86 -0
  12. package/dist/esm/components/AlipayName/index.d.ts +29 -0
  13. package/dist/esm/components/AlipayName/index.js +86 -0
  14. package/dist/esm/components/BuyerNick/index.d.ts +31 -0
  15. package/dist/esm/components/BuyerNick/index.js +100 -0
  16. package/dist/esm/components/Cascader/index.d.ts +45 -0
  17. package/dist/esm/components/Cascader/index.js +112 -0
  18. package/dist/esm/components/Checkbox/index.d.ts +31 -0
  19. package/dist/esm/components/Checkbox/index.js +102 -0
  20. package/dist/esm/components/Common/img/default-img.png +0 -0
  21. package/dist/esm/components/Common/index.d.ts +18 -0
  22. package/dist/esm/components/Common/index.js +222 -0
  23. package/dist/esm/components/Common/index.module.less +8 -0
  24. package/dist/esm/components/CommonDataTime/index.d.ts +30 -0
  25. package/dist/esm/components/CommonDataTime/index.js +79 -0
  26. package/dist/esm/components/DataTime/ApaasDate.d.ts +9 -0
  27. package/dist/esm/components/DataTime/ApaasDate.js +22 -0
  28. package/dist/esm/components/DataTime/index.d.ts +29 -0
  29. package/dist/esm/components/DataTime/index.js +103 -0
  30. package/dist/esm/components/EItemEnCode/ItemEncode.d.ts +3 -0
  31. package/dist/esm/components/EItemEnCode/ItemEncode.js +26 -0
  32. package/dist/esm/components/EItemEnCode/index.d.ts +27 -0
  33. package/dist/esm/components/EItemEnCode/index.js +109 -0
  34. package/dist/esm/components/EItemId/ItemId.d.ts +4 -0
  35. package/dist/esm/components/EItemId/ItemId.js +26 -0
  36. package/dist/esm/components/EItemId/index.d.ts +27 -0
  37. package/dist/esm/components/EItemId/index.js +110 -0
  38. package/dist/esm/components/EItemSelect/ItemSelect.d.ts +4 -0
  39. package/dist/esm/components/EItemSelect/ItemSelect.js +27 -0
  40. package/dist/esm/components/EItemSelect/index.d.ts +27 -0
  41. package/dist/esm/components/EItemSelect/index.js +92 -0
  42. package/dist/esm/components/ErpTradeId/index.d.ts +27 -0
  43. package/dist/esm/components/ErpTradeId/index.js +76 -0
  44. package/dist/esm/components/Express/index.d.ts +31 -0
  45. package/dist/esm/components/Express/index.js +91 -0
  46. package/dist/esm/components/ExpressCode/index.d.ts +28 -0
  47. package/dist/esm/components/ExpressCode/index.js +84 -0
  48. package/dist/esm/components/ExpressCompany/index.d.ts +3 -0
  49. package/dist/esm/components/ExpressCompany/index.js +20 -0
  50. package/dist/esm/components/FlowStatusSelect/index.d.ts +51 -0
  51. package/dist/esm/components/FlowStatusSelect/index.js +124 -0
  52. package/dist/esm/components/GetFormItem/index.d.ts +10 -0
  53. package/dist/esm/components/GetFormItem/index.js +28 -0
  54. package/dist/esm/components/Grade/index.d.ts +26 -0
  55. package/dist/esm/components/Grade/index.js +75 -0
  56. package/dist/esm/components/Input/index.d.ts +27 -0
  57. package/dist/esm/components/Input/index.js +84 -0
  58. package/dist/esm/components/JstItemSelect/index.d.ts +29 -0
  59. package/dist/esm/components/JstItemSelect/index.js +115 -0
  60. package/dist/esm/components/JstLogistics/index.d.ts +29 -0
  61. package/dist/esm/components/JstLogistics/index.js +107 -0
  62. package/dist/esm/components/JstSendGood/index.d.ts +27 -0
  63. package/dist/esm/components/JstSendGood/index.js +112 -0
  64. package/dist/esm/components/JstSupply/index.d.ts +27 -0
  65. package/dist/esm/components/JstSupply/index.js +113 -0
  66. package/dist/esm/components/Logistics/index.d.ts +44 -0
  67. package/dist/esm/components/Logistics/index.js +107 -0
  68. package/dist/esm/components/MultSelect/index.d.ts +27 -0
  69. package/dist/esm/components/MultSelect/index.js +84 -0
  70. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +37 -0
  71. package/dist/esm/components/Ordinary/OrdinaryHeader.js +90 -0
  72. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +37 -0
  73. package/dist/esm/components/Ordinary/OrdinaryMoney.js +90 -0
  74. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +37 -0
  75. package/dist/esm/components/Ordinary/OrdinarySerial.js +83 -0
  76. package/dist/esm/components/Ordinary/index.d.ts +46 -0
  77. package/dist/esm/components/Ordinary/index.js +90 -0
  78. package/dist/esm/components/OrdinaryHeader/index.d.ts +7 -0
  79. package/dist/esm/components/OrdinaryHeader/index.js +157 -0
  80. package/dist/esm/components/OrdinaryHeader/index.module.less +46 -0
  81. package/dist/esm/components/Payment/AlipayNick.d.ts +37 -0
  82. package/dist/esm/components/Payment/AlipayNick.js +91 -0
  83. package/dist/esm/components/Payment/AlipayNo.d.ts +36 -0
  84. package/dist/esm/components/Payment/AlipayNo.js +98 -0
  85. package/dist/esm/components/Payment/AlipayTime.d.ts +37 -0
  86. package/dist/esm/components/Payment/AlipayTime.js +90 -0
  87. package/dist/esm/components/Payment/BuyerNick.d.ts +36 -0
  88. package/dist/esm/components/Payment/BuyerNick.js +104 -0
  89. package/dist/esm/components/Payment/PaymentAmount.d.ts +36 -0
  90. package/dist/esm/components/Payment/PaymentAmount.js +88 -0
  91. package/dist/esm/components/Payment/PaymentStatus.d.ts +48 -0
  92. package/dist/esm/components/Payment/PaymentStatus.js +93 -0
  93. package/dist/esm/components/Payment/PaymentTid.d.ts +36 -0
  94. package/dist/esm/components/Payment/PaymentTid.js +81 -0
  95. package/dist/esm/components/Payment/index.d.ts +88 -0
  96. package/dist/esm/components/Payment/index.js +118 -0
  97. package/dist/esm/components/Picture/index.d.ts +31 -0
  98. package/dist/esm/components/Picture/index.js +118 -0
  99. package/dist/esm/components/Popover/index.d.ts +3 -0
  100. package/dist/esm/components/Popover/index.js +51 -0
  101. package/dist/esm/components/Popover/index.module.less +22 -0
  102. package/dist/esm/components/Radio/index.d.ts +30 -0
  103. package/dist/esm/components/Radio/index.js +93 -0
  104. package/dist/esm/components/Rate/index.d.ts +34 -0
  105. package/dist/esm/components/Rate/index.js +158 -0
  106. package/dist/esm/components/ReceiverAddress/index.d.ts +35 -0
  107. package/dist/esm/components/ReceiverAddress/index.js +133 -0
  108. package/dist/esm/components/ReceiverMobile/index.d.ts +28 -0
  109. package/dist/esm/components/ReceiverMobile/index.js +91 -0
  110. package/dist/esm/components/ReceiverName/index.d.ts +28 -0
  111. package/dist/esm/components/ReceiverName/index.js +88 -0
  112. package/dist/esm/components/Remark/flag/trade-icon-flag-0.png +0 -0
  113. package/dist/esm/components/Remark/flag/trade-icon-flag-1.png +0 -0
  114. package/dist/esm/components/Remark/flag/trade-icon-flag-2.png +0 -0
  115. package/dist/esm/components/Remark/flag/trade-icon-flag-3.png +0 -0
  116. package/dist/esm/components/Remark/flag/trade-icon-flag-4.png +0 -0
  117. package/dist/esm/components/Remark/flag/trade-icon-flag-5.png +0 -0
  118. package/dist/esm/components/Remark/index.d.ts +33 -0
  119. package/dist/esm/components/Remark/index.js +113 -0
  120. package/dist/esm/components/ReturnLogistics/index.d.ts +44 -0
  121. package/dist/esm/components/ReturnLogistics/index.js +107 -0
  122. package/dist/esm/components/Select/index.d.ts +26 -0
  123. package/dist/esm/components/Select/index.js +79 -0
  124. package/dist/esm/components/ShopName/index.d.ts +27 -0
  125. package/dist/esm/components/ShopName/index.js +78 -0
  126. package/dist/esm/components/SystemOrderNo/index.d.ts +28 -0
  127. package/dist/esm/components/SystemOrderNo/index.js +81 -0
  128. package/dist/esm/components/TemplateSelect/index.d.ts +28 -0
  129. package/dist/esm/components/TemplateSelect/index.js +79 -0
  130. package/dist/esm/components/TextArea/index.d.ts +26 -0
  131. package/dist/esm/components/TextArea/index.js +78 -0
  132. package/dist/esm/components/ThirdItemSelect/ItemEncode.d.ts +4 -0
  133. package/dist/esm/components/ThirdItemSelect/ItemEncode.js +31 -0
  134. package/dist/esm/components/ThirdItemSelect/index.d.ts +27 -0
  135. package/dist/esm/components/ThirdItemSelect/index.js +120 -0
  136. package/dist/esm/components/TradeDateTime/index.d.ts +27 -0
  137. package/dist/esm/components/TradeDateTime/index.js +92 -0
  138. package/dist/esm/components/TradeId/index.d.ts +28 -0
  139. package/dist/esm/components/TradeId/index.js +89 -0
  140. package/dist/esm/components/WorkOrderId/img/repeat.png +0 -0
  141. package/dist/esm/components/WorkOrderId/index.d.ts +28 -0
  142. package/dist/esm/components/WorkOrderId/index.js +98 -0
  143. package/dist/esm/index.d.ts +40 -0
  144. package/dist/esm/index.js +40 -0
  145. package/dist/esm/type.d.ts +174 -0
  146. package/dist/esm/type.js +1 -0
  147. package/package.json +39 -0
@@ -0,0 +1,86 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
5
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
6
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
9
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
10
+ import React from 'react';
11
+ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
12
+ import GetFormItem from "../GetFormItem";
13
+ import ItemView from "../../commonComponents/ItemView";
14
+ import { isNull } from '@kmkf-fe-packages/kmkf-utils';
15
+ var AlipayName = function AlipayName(props) {
16
+ return !props.isSingle ? /*#__PURE__*/React.createElement(ApaasInput, props) : null;
17
+ };
18
+ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options) {
19
+ var _this = this;
20
+ _classCallCheck(this, EAlipayAccount);
21
+ _defineProperty(this, "name", void 0);
22
+ _defineProperty(this, "id", void 0);
23
+ _defineProperty(this, "type", void 0);
24
+ _defineProperty(this, "rules", void 0);
25
+ _defineProperty(this, "canFilter", void 0);
26
+ _defineProperty(this, "canGroup", void 0);
27
+ _defineProperty(this, "canHidden", void 0);
28
+ _defineProperty(this, "dataType", void 0);
29
+ _defineProperty(this, "showContains", void 0);
30
+ _defineProperty(this, "componentConfig", void 0);
31
+ _defineProperty(this, "effects", void 0);
32
+ _defineProperty(this, "align", void 0);
33
+ _defineProperty(this, "render", function (value, record) {
34
+ return /*#__PURE__*/React.createElement("span", null, value);
35
+ });
36
+ _defineProperty(this, "renderClient", function (record) {
37
+ return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
38
+ id: _this.id,
39
+ label: _this.name,
40
+ value: record === null || record === void 0 ? void 0 : record[_this.id]
41
+ }) : null;
42
+ });
43
+ _defineProperty(this, "renderPc", function (value, record) {
44
+ return /*#__PURE__*/React.createElement("span", {
45
+ className: "pointer",
46
+ onClick: function onClick() {
47
+ var _this$effects;
48
+ return (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail(record);
49
+ }
50
+ }, value !== null && value !== void 0 ? value : '--');
51
+ });
52
+ _defineProperty(this, "renderExport", function (value) {
53
+ return value !== null && value !== void 0 ? value : '--';
54
+ });
55
+ _defineProperty(this, "editRender", function (value) {
56
+ var _this$componentConfig, _this$componentConfig2;
57
+ return /*#__PURE__*/React.createElement(GetFormItem, {
58
+ title: _this.name,
59
+ name: _this.id,
60
+ rules: _this.rules,
61
+ required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
62
+ component: /*#__PURE__*/React.createElement(AlipayName, _this.componentConfig)
63
+ });
64
+ });
65
+ _defineProperty(this, "getColumns", function () {
66
+ return _objectSpread(_objectSpread({}, _this), {}, {
67
+ dataIndex: _this.id,
68
+ title: _this.name,
69
+ componentType: _this.editRender,
70
+ renderExport: _this.renderExport
71
+ });
72
+ });
73
+ this.name = '支付宝名称';
74
+ this.id = "".concat(options.id, "_alipayName");
75
+ this.type = options.type;
76
+ this.canFilter = true;
77
+ this.canGroup = false;
78
+ this.canHidden = false;
79
+ this.showContains = true;
80
+ this.dataType = 'string';
81
+ this.align = 'left';
82
+ this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
83
+ this.effects = options === null || options === void 0 ? void 0 : options.effects;
84
+ this.rules = [];
85
+ });
86
+ export default EAlipayAccount;
@@ -0,0 +1,31 @@
1
+ /// <reference types="react" />
2
+ import { ComponentInterface, PickOption, DataType, Record } from '../../type';
3
+ declare type Value = {
4
+ buyerNick?: string;
5
+ };
6
+ declare class EBuyerNick implements ComponentInterface {
7
+ name: string;
8
+ id: string;
9
+ type: string;
10
+ rules: any[];
11
+ canFilter: boolean;
12
+ canGroup: boolean;
13
+ canHidden: boolean;
14
+ dataType: DataType;
15
+ showContains: boolean;
16
+ componentConfig: ComponentInterface["componentConfig"];
17
+ effects: ComponentInterface["effects"];
18
+ constructor(options: PickOption);
19
+ render: (value: Value) => JSX.Element;
20
+ renderClient: (record: any) => JSX.Element | null;
21
+ renderPc: (value: unknown, record: Record) => JSX.Element;
22
+ renderExport: (value: any, record: any) => any;
23
+ editRender: (value: any) => JSX.Element;
24
+ getColumns: () => this & {
25
+ dataIndex: string;
26
+ title: string;
27
+ renderExport: (value: any, record: any) => any;
28
+ customizeFilter: (value: Value) => string | undefined;
29
+ };
30
+ }
31
+ export default EBuyerNick;
@@ -0,0 +1,100 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
6
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
7
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
+ import React from 'react';
12
+ import { BuyerNick } from '@kmkf-fe-packages/basic-components';
13
+ import GetFormItem from "../GetFormItem";
14
+ import ItemView from "../../commonComponents/ItemView";
15
+ import { isNull } from '@kmkf-fe-packages/kmkf-utils';
16
+ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
17
+ var _this = this,
18
+ _this$componentConfig3;
19
+ _classCallCheck(this, EBuyerNick);
20
+ _defineProperty(this, "name", void 0);
21
+ _defineProperty(this, "id", void 0);
22
+ _defineProperty(this, "type", void 0);
23
+ _defineProperty(this, "rules", void 0);
24
+ _defineProperty(this, "canFilter", void 0);
25
+ _defineProperty(this, "canGroup", void 0);
26
+ _defineProperty(this, "canHidden", void 0);
27
+ _defineProperty(this, "dataType", void 0);
28
+ _defineProperty(this, "showContains", void 0);
29
+ _defineProperty(this, "componentConfig", void 0);
30
+ _defineProperty(this, "effects", void 0);
31
+ _defineProperty(this, "render", function (value) {
32
+ return /*#__PURE__*/React.createElement("span", null, value === null || value === void 0 ? void 0 : value.buyerNick);
33
+ });
34
+ _defineProperty(this, "renderClient", function (record) {
35
+ var _record$_this$id;
36
+ return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
37
+ id: _this.id,
38
+ label: _this.name,
39
+ value: record === null || record === void 0 ? void 0 : (_record$_this$id = record[_this.id]) === null || _record$_this$id === void 0 ? void 0 : _record$_this$id.buyerNick
40
+ }) : null;
41
+ });
42
+ _defineProperty(this, "renderPc", function (value, record) {
43
+ var buyerOpenUid = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_buyerOpenUid")];
44
+ var buyerNick = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_buyerNick")];
45
+ if (buyerNick === undefined && buyerOpenUid === undefined) {
46
+ return /*#__PURE__*/React.createElement("span", null, "--");
47
+ }
48
+ return /*#__PURE__*/React.createElement("span", null, buyerNick && /*#__PURE__*/React.createElement(PlatBuyer, {
49
+ shopId: record === null || record === void 0 ? void 0 : record.shopId,
50
+ buyerNick: buyerNick,
51
+ buyerOpenUid: buyerOpenUid
52
+ }));
53
+ });
54
+ _defineProperty(this, "renderExport", function (value, record) {
55
+ return record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_buyerNick")];
56
+ });
57
+ _defineProperty(this, "editRender", function (value) {
58
+ var _this$componentConfig, _this$componentConfig2, _this$effects, _this$effects2;
59
+ return /*#__PURE__*/React.createElement(GetFormItem, {
60
+ title: _this.name,
61
+ name: _this.id,
62
+ rules: _this.rules,
63
+ required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
64
+ component: /*#__PURE__*/React.createElement(BuyerNick, _extends({}, _this.componentConfig, {
65
+ shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
66
+ shopList: (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList,
67
+ onBlur: value === null || value === void 0 ? void 0 : value.onBlur
68
+ }))
69
+ });
70
+ });
71
+ _defineProperty(this, "getColumns", function () {
72
+ return _objectSpread(_objectSpread({}, _this), {}, {
73
+ dataIndex: _this.id,
74
+ title: _this.name,
75
+ renderExport: _this.renderExport,
76
+ customizeFilter: function customizeFilter(value) {
77
+ return value === null || value === void 0 ? void 0 : value.buyerNick;
78
+ }
79
+ });
80
+ });
81
+ this.name = options.name;
82
+ this.id = options.id;
83
+ this.type = options.type;
84
+ this.canFilter = true;
85
+ this.canGroup = false;
86
+ this.canHidden = true;
87
+ this.dataType = 'string';
88
+ this.showContains = false;
89
+ this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
90
+ validator: function validator(_, value) {
91
+ if (!(value !== null && value !== void 0 && value.buyerNick)) {
92
+ return Promise.reject(new Error('请输入买家昵称'));
93
+ }
94
+ return Promise.resolve();
95
+ }
96
+ }] : [];
97
+ this.componentConfig = options.componentConfig;
98
+ this.effects = options.effects;
99
+ });
100
+ export default EBuyerNick;
@@ -0,0 +1,45 @@
1
+ /// <reference types="react" />
2
+ import { ComponentInterface, PickOption, DataType, ALignType, Record } from '../../type';
3
+ import { FormInstance } from 'antd';
4
+ declare class BasicCascader implements ComponentInterface {
5
+ name: string;
6
+ id: string;
7
+ type: string;
8
+ rules: any[];
9
+ canFilter: boolean;
10
+ canGroup: boolean;
11
+ canHidden: boolean;
12
+ dataType: DataType;
13
+ showContains: boolean;
14
+ componentConfig: ComponentInterface["componentConfig"];
15
+ constructor(options: PickOption);
16
+ width?: number | undefined;
17
+ align?: ALignType | undefined;
18
+ dataIndex?: string | undefined;
19
+ editable?: boolean | undefined;
20
+ formItemIndex?: number | undefined;
21
+ effects?: {
22
+ queryWorkOrderDetail: (r: any) => void;
23
+ isEditing: boolean;
24
+ form: FormInstance<any>;
25
+ shopList?: any[] | undefined;
26
+ shopId?: string | undefined;
27
+ } | undefined;
28
+ /**
29
+ * 通过值计算展示内容
30
+ * @param value
31
+ * @returns
32
+ */
33
+ getValue: (value: any) => string;
34
+ render: (value: any) => JSX.Element;
35
+ renderClient: (record: any) => JSX.Element | null;
36
+ renderPc: (value: any, record: Record) => JSX.Element;
37
+ renderExport: (value: any, record: Record) => string;
38
+ editRender: (value: any) => JSX.Element;
39
+ getColumns: () => this & {
40
+ dataIndex: string;
41
+ title: string;
42
+ renderExport: (value: any, record: Record) => string;
43
+ };
44
+ }
45
+ export default BasicCascader;
@@ -0,0 +1,112 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
6
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
7
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
+ import React from 'react';
12
+ import { Cascader } from 'antd';
13
+ import GetFormItem from "../GetFormItem";
14
+ import { findLabelBySelectValue, transMultSelectOptions } from '@kmkf-fe-packages/kmkf-utils';
15
+ import ItemView from "../../commonComponents/ItemView";
16
+ import { isNull } from '@kmkf-fe-packages/kmkf-utils';
17
+ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
18
+ var _this = this;
19
+ _classCallCheck(this, BasicCascader);
20
+ _defineProperty(this, "name", void 0);
21
+ _defineProperty(this, "id", void 0);
22
+ _defineProperty(this, "type", void 0);
23
+ _defineProperty(this, "rules", void 0);
24
+ _defineProperty(this, "canFilter", void 0);
25
+ _defineProperty(this, "canGroup", void 0);
26
+ _defineProperty(this, "canHidden", void 0);
27
+ _defineProperty(this, "dataType", void 0);
28
+ _defineProperty(this, "showContains", void 0);
29
+ _defineProperty(this, "componentConfig", void 0);
30
+ _defineProperty(this, "width", void 0);
31
+ _defineProperty(this, "align", void 0);
32
+ _defineProperty(this, "dataIndex", void 0);
33
+ _defineProperty(this, "editable", void 0);
34
+ _defineProperty(this, "formItemIndex", void 0);
35
+ _defineProperty(this, "effects", void 0);
36
+ _defineProperty(this, "getValue", function (value) {
37
+ var _findLabelBySelectVal, _findLabelBySelectVal2, _this$componentConfig;
38
+ return (_findLabelBySelectVal = findLabelBySelectValue(value, (_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.options)) === null || _findLabelBySelectVal === void 0 ? void 0 : (_findLabelBySelectVal2 = _findLabelBySelectVal.map(function (i) {
39
+ return i.label;
40
+ })) === null || _findLabelBySelectVal2 === void 0 ? void 0 : _findLabelBySelectVal2.join(',');
41
+ });
42
+ _defineProperty(this, "render", function (value) {
43
+ return /*#__PURE__*/React.createElement("span", null, _this.getValue(value));
44
+ });
45
+ _defineProperty(this, "renderClient", function (record) {
46
+ return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
47
+ id: _this.id,
48
+ label: _this.name,
49
+ value: _this.getValue(record === null || record === void 0 ? void 0 : record[_this.id])
50
+ }) : null;
51
+ });
52
+ _defineProperty(this, "renderPc", function (value, record) {
53
+ var _findLabelBySelectVal3, _findLabelBySelectVal4, _ref, _this$componentConfig2;
54
+ if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_multSelect")]) === undefined) {
55
+ return /*#__PURE__*/React.createElement("span", null, "--");
56
+ }
57
+ return /*#__PURE__*/React.createElement("span", null, (_findLabelBySelectVal3 = findLabelBySelectValue((_ref = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_multSelect")]) || []) === null || _ref === void 0 ? void 0 : _ref.map(function (item) {
58
+ return item.actived;
59
+ }), ((_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.options) || [])) === null || _findLabelBySelectVal3 === void 0 ? void 0 : (_findLabelBySelectVal4 = _findLabelBySelectVal3.map(function (i) {
60
+ return i.label;
61
+ })) === null || _findLabelBySelectVal4 === void 0 ? void 0 : _findLabelBySelectVal4.join(','));
62
+ });
63
+ _defineProperty(this, "renderExport", function (value, record) {
64
+ var _findLabelBySelectVal5, _findLabelBySelectVal6, _ref2, _this$componentConfig3;
65
+ if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_multSelect")]) === undefined) {
66
+ return '--';
67
+ }
68
+ return (_findLabelBySelectVal5 = findLabelBySelectValue((_ref2 = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_multSelect")]) || []) === null || _ref2 === void 0 ? void 0 : _ref2.map(function (item) {
69
+ return item.actived;
70
+ }), ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.options) || [])) === null || _findLabelBySelectVal5 === void 0 ? void 0 : (_findLabelBySelectVal6 = _findLabelBySelectVal5.map(function (i) {
71
+ return i.label;
72
+ })) === null || _findLabelBySelectVal6 === void 0 ? void 0 : _findLabelBySelectVal6.join(',');
73
+ });
74
+ _defineProperty(this, "editRender", function (value) {
75
+ var _this$componentConfig4, _this$componentConfig5, _this$componentConfig6;
76
+ return /*#__PURE__*/React.createElement(GetFormItem, {
77
+ title: _this.name,
78
+ name: _this.id,
79
+ rules: _this.rules,
80
+ required: (_this$componentConfig4 = (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.required) !== null && _this$componentConfig4 !== void 0 ? _this$componentConfig4 : false,
81
+ component: /*#__PURE__*/React.createElement(Cascader, _extends({}, _this.componentConfig, {
82
+ placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
83
+ options: transMultSelectOptions(((_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.options) || []),
84
+ fieldNames: {
85
+ label: 'label',
86
+ value: 'actived',
87
+ children: 'children'
88
+ },
89
+ showSearch: true
90
+ }))
91
+ });
92
+ });
93
+ _defineProperty(this, "getColumns", function () {
94
+ return _objectSpread(_objectSpread({}, _this), {}, {
95
+ dataIndex: _this.id,
96
+ title: _this.name,
97
+ renderExport: _this.renderExport
98
+ });
99
+ ;
100
+ });
101
+ this.name = options.name;
102
+ this.id = options.id;
103
+ this.type = options.type;
104
+ this.canFilter = true;
105
+ this.canGroup = false;
106
+ this.canHidden = true;
107
+ this.dataType = 'array';
108
+ this.showContains = false;
109
+ this.componentConfig = options.componentConfig;
110
+ this.rules = [];
111
+ });
112
+ export default BasicCascader;
@@ -0,0 +1,31 @@
1
+ /// <reference types="react" />
2
+ import { ComponentInterface, PickOption, DataType, Record } from '../../type';
3
+ declare type Value = {
4
+ value?: string[];
5
+ other?: string;
6
+ } | undefined;
7
+ declare class BasicCheckbox implements ComponentInterface {
8
+ name: string;
9
+ id: string;
10
+ type: string;
11
+ rules: any[];
12
+ canFilter: boolean;
13
+ canGroup: boolean;
14
+ canHidden: boolean;
15
+ dataType: DataType;
16
+ showContains: boolean;
17
+ componentConfig: ComponentInterface["componentConfig"];
18
+ constructor(options: PickOption);
19
+ getValue: (value: Value) => string | null | undefined;
20
+ render: (value: Value) => JSX.Element;
21
+ renderPc: (value: any, record: Record) => JSX.Element;
22
+ renderExport: (value: any, record: Record) => string;
23
+ renderClient: (record: any) => JSX.Element | null;
24
+ editRender: () => JSX.Element;
25
+ getColumns: () => this & {
26
+ dataIndex: string;
27
+ title: string;
28
+ renderExport: (value: any, record: Record) => string;
29
+ };
30
+ }
31
+ export default BasicCheckbox;
@@ -0,0 +1,102 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
5
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
6
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
9
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
10
+ import React from 'react';
11
+ import { ApaasCheckbox } from '@kmkf-fe-packages/basic-components';
12
+ import GetFormItem from "../GetFormItem";
13
+ import ItemView from "../../commonComponents/ItemView";
14
+ import { isNull } from '@kmkf-fe-packages/kmkf-utils';
15
+ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
16
+ var _this = this,
17
+ _options$componentCon;
18
+ _classCallCheck(this, BasicCheckbox);
19
+ _defineProperty(this, "name", void 0);
20
+ _defineProperty(this, "id", void 0);
21
+ _defineProperty(this, "type", void 0);
22
+ _defineProperty(this, "rules", void 0);
23
+ _defineProperty(this, "canFilter", void 0);
24
+ _defineProperty(this, "canGroup", void 0);
25
+ _defineProperty(this, "canHidden", void 0);
26
+ _defineProperty(this, "dataType", void 0);
27
+ _defineProperty(this, "showContains", void 0);
28
+ _defineProperty(this, "componentConfig", void 0);
29
+ _defineProperty(this, "getValue", function (value) {
30
+ var _value$value, _value$value2, _value$value3;
31
+ if ((value === null || value === void 0 ? void 0 : (_value$value = value.value) === null || _value$value === void 0 ? void 0 : _value$value.length) === 0 && !(value !== null && value !== void 0 && value.other)) return null;
32
+ var findIndex = (value === null || value === void 0 ? void 0 : (_value$value2 = value.value) === null || _value$value2 === void 0 ? void 0 : _value$value2.findIndex(function (item) {
33
+ return item === '其他';
34
+ })) || -1;
35
+ if (findIndex > -1 && value !== null && value !== void 0 && value.other) {
36
+ // @ts-ignore
37
+ value.value[findIndex] = "\u5176\u4ED6(".concat(value === null || value === void 0 ? void 0 : value.other, ")");
38
+ }
39
+ return value === null || value === void 0 ? void 0 : (_value$value3 = value.value) === null || _value$value3 === void 0 ? void 0 : _value$value3.join('/');
40
+ });
41
+ _defineProperty(this, "render", function (value) {
42
+ return /*#__PURE__*/React.createElement("span", null, _this.getValue(value));
43
+ });
44
+ _defineProperty(this, "renderPc", function (value, record) {
45
+ var _record;
46
+ if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_checkbox")]) === undefined && (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_checkboxOther")]) === undefined) {
47
+ return /*#__PURE__*/React.createElement("span", null, "--");
48
+ }
49
+ return /*#__PURE__*/React.createElement("span", null, record === null || record === void 0 ? void 0 : (_record = record["".concat(_this.id, "_checkbox")]) === null || _record === void 0 ? void 0 : _record.join('/'), (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_checkbox")]) && /*#__PURE__*/React.createElement("br", null), (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_checkboxOther")]) || '');
50
+ });
51
+ _defineProperty(this, "renderExport", function (value, record) {
52
+ var _record2;
53
+ if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_checkbox")]) === undefined) {
54
+ return '--';
55
+ }
56
+ return "".concat(record === null || record === void 0 ? void 0 : (_record2 = record["".concat(_this.id, "_checkbox")]) === null || _record2 === void 0 ? void 0 : _record2.join('/'), " ").concat((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_checkboxOther")]) || '');
57
+ });
58
+ _defineProperty(this, "renderClient", function (record) {
59
+ return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
60
+ id: _this.id,
61
+ label: _this.name,
62
+ value: _this.getValue(record === null || record === void 0 ? void 0 : record[_this.id]) || ''
63
+ }) : null;
64
+ });
65
+ _defineProperty(this, "editRender", function () {
66
+ var _this$componentConfig, _this$componentConfig2;
67
+ return /*#__PURE__*/React.createElement(GetFormItem, {
68
+ title: _this.name,
69
+ name: _this.id,
70
+ rules: _this.rules,
71
+ required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
72
+ component: /*#__PURE__*/React.createElement(ApaasCheckbox, _this.componentConfig)
73
+ });
74
+ });
75
+ _defineProperty(this, "getColumns", function () {
76
+ return _objectSpread(_objectSpread({}, _this), {}, {
77
+ dataIndex: _this.id,
78
+ title: _this.name,
79
+ renderExport: _this.renderExport
80
+ });
81
+ ;
82
+ });
83
+ this.name = options.name;
84
+ this.id = options.id;
85
+ this.type = options.type;
86
+ this.canFilter = false;
87
+ this.canGroup = false;
88
+ this.canHidden = true;
89
+ this.showContains = false;
90
+ this.dataType = 'array';
91
+ this.componentConfig = options.componentConfig;
92
+ this.rules = options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.required ? [{
93
+ validator: function validator(_, value) {
94
+ var _value$value4;
95
+ if (!(value !== null && value !== void 0 && (_value$value4 = value.value) !== null && _value$value4 !== void 0 && _value$value4.length)) {
96
+ return Promise.reject(new Error('请选择'));
97
+ }
98
+ return Promise.resolve();
99
+ }
100
+ }] : [];
101
+ });
102
+ export default BasicCheckbox;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ declare type getFormItemProps = {
3
+ name: string;
4
+ title: string;
5
+ rules?: any[];
6
+ required: boolean;
7
+ component: JSX.Element | string | null;
8
+ };
9
+ export declare const getFormItem: ({ name, title, rules, required, component }: getFormItemProps) => JSX.Element;
10
+ export declare const showImage: ({ item, type, index }: {
11
+ item: any;
12
+ type: string;
13
+ index: number;
14
+ }) => JSX.Element;
15
+ export declare const ShowTotalImage: ({ total, allImage, type }: any) => JSX.Element;
16
+ export declare const GoodImage: ({ list, type }: any) => JSX.Element | null;
17
+ export declare const JstGoodImage: ({ list, type }: any) => any;
18
+ export {};