@kmkf-fe-packages/services-components 1.0.6 → 1.0.7

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 (247) hide show
  1. package/dist/esm/components/ActualPayment/BsDeposit.d.ts +23 -0
  2. package/dist/esm/components/ActualPayment/BsDeposit.js +50 -0
  3. package/dist/esm/components/ActualPayment/BsNetReceipts.d.ts +23 -0
  4. package/dist/esm/components/ActualPayment/BsNetReceipts.js +50 -0
  5. package/dist/esm/components/ActualPayment/BsPackageWeight.d.ts +23 -0
  6. package/dist/esm/components/ActualPayment/BsPackageWeight.js +50 -0
  7. package/dist/esm/components/ActualPayment/index.d.ts +16 -2
  8. package/dist/esm/components/ActualPayment/index.js +28 -35
  9. package/dist/esm/components/Address/index.d.ts +14 -0
  10. package/dist/esm/components/Address/index.js +15 -2
  11. package/dist/esm/components/Alipay/index.d.ts +30 -5
  12. package/dist/esm/components/Alipay/index.js +31 -6
  13. package/dist/esm/components/BS/BsDeposit/index.d.ts +60 -0
  14. package/dist/esm/components/BS/BsDeposit/index.js +165 -0
  15. package/dist/esm/components/BS/BsExchange/index.d.ts +39 -0
  16. package/dist/esm/components/BS/BsExchange/index.js +52 -1
  17. package/dist/esm/components/BS/BsGoods/index.d.ts +30 -0
  18. package/dist/esm/components/BS/BsGoods/index.js +31 -1
  19. package/dist/esm/components/BS/BsLogistics/index.d.ts +33 -0
  20. package/dist/esm/components/BS/BsLogistics/index.js +62 -52
  21. package/dist/esm/components/BS/BsPosting/index.d.ts +15 -0
  22. package/dist/esm/components/BS/BsPosting/index.js +16 -1
  23. package/dist/esm/components/BS/BsReissue/index.d.ts +46 -7
  24. package/dist/esm/components/BS/BsReissue/index.js +70 -19
  25. package/dist/esm/components/BS/BsReturn/index.d.ts +39 -0
  26. package/dist/esm/components/BS/BsReturn/index.js +44 -1
  27. package/dist/esm/components/BS/BsSendGood/index.d.ts +36 -0
  28. package/dist/esm/components/BS/BsSendGood/index.js +68 -0
  29. package/dist/esm/components/BS/BsSystemOrder/index.d.ts +18 -29
  30. package/dist/esm/components/BS/BsSystemOrder/index.js +37 -138
  31. package/dist/esm/components/BusinessOrderNo/index.d.ts +26 -0
  32. package/dist/esm/components/BusinessOrderNo/index.js +53 -0
  33. package/dist/esm/components/BuyerMessageNotice/index.d.ts +37 -0
  34. package/dist/esm/components/BuyerMessageNotice/index.js +66 -0
  35. package/dist/esm/components/BuyerNick/index.d.ts +20 -0
  36. package/dist/esm/components/BuyerNick/index.js +21 -2
  37. package/dist/esm/components/Calculation/index.d.ts +18 -0
  38. package/dist/esm/components/Calculation/index.js +21 -3
  39. package/dist/esm/components/Cascader/index.d.ts +20 -5
  40. package/dist/esm/components/Cascader/index.js +35 -21
  41. package/dist/esm/components/Checkbox/index.d.ts +26 -4
  42. package/dist/esm/components/Checkbox/index.js +62 -19
  43. package/dist/esm/components/CommonDataTime/CompletedDateTime.d.ts +7 -0
  44. package/dist/esm/components/CommonDataTime/CompletedDateTime.js +29 -0
  45. package/dist/esm/components/CommonDataTime/CreatedDateTime.d.ts +7 -0
  46. package/dist/esm/components/CommonDataTime/CreatedDateTime.js +29 -0
  47. package/dist/esm/components/CommonDataTime/FlowCreatedDateTime.d.ts +7 -0
  48. package/dist/esm/components/CommonDataTime/FlowCreatedDateTime.js +29 -0
  49. package/dist/esm/components/CommonDataTime/FlowUpdateDateTime.d.ts +7 -0
  50. package/dist/esm/components/CommonDataTime/FlowUpdateDateTime.js +29 -0
  51. package/dist/esm/components/CommonDataTime/UpdateDateTime.d.ts +7 -0
  52. package/dist/esm/components/CommonDataTime/UpdateDateTime.js +29 -0
  53. package/dist/esm/components/CommonDataTime/index.d.ts +1 -0
  54. package/dist/esm/components/CommonDataTime/index.js +1 -0
  55. package/dist/esm/components/CommonInput/index.d.ts +5 -0
  56. package/dist/esm/components/CommonInput/index.js +32 -18
  57. package/dist/esm/components/CommonMultiStatus/ExchangeStatus.d.ts +30 -0
  58. package/dist/esm/components/CommonMultiStatus/ExchangeStatus.js +69 -0
  59. package/dist/esm/components/CommonMultiStatus/ReturnGoodsStatus.d.ts +30 -0
  60. package/dist/esm/components/CommonMultiStatus/ReturnGoodsStatus.js +69 -0
  61. package/dist/esm/components/CommonMultiStatus/WareHousingStatus.d.ts +34 -0
  62. package/dist/esm/components/CommonMultiStatus/WareHousingStatus.js +83 -0
  63. package/dist/esm/components/CommonMultiStatus/index.d.ts +19 -20
  64. package/dist/esm/components/CommonMultiStatus/index.js +99 -109
  65. package/dist/esm/components/CommonSystemOrder/DeliveryNoList.d.ts +21 -0
  66. package/dist/esm/components/CommonSystemOrder/DeliveryNoList.js +48 -0
  67. package/dist/esm/components/CommonSystemOrder/ExchangeTradeId.d.ts +22 -0
  68. package/dist/esm/components/CommonSystemOrder/ExchangeTradeId.js +49 -0
  69. package/dist/esm/components/CommonSystemOrder/ReturnGoodsTradeItemList.d.ts +32 -0
  70. package/dist/esm/components/CommonSystemOrder/ReturnGoodsTradeItemList.js +60 -0
  71. package/dist/esm/components/CommonSystemOrder/TradeItemList.d.ts +23 -0
  72. package/dist/esm/components/CommonSystemOrder/TradeItemList.js +50 -0
  73. package/dist/esm/components/CommonSystemOrder/index.d.ts +11 -4
  74. package/dist/esm/components/CommonSystemOrder/index.js +36 -66
  75. package/dist/esm/components/CompletedUser/index.d.ts +6 -4
  76. package/dist/esm/components/CompletedUser/index.js +9 -7
  77. package/dist/esm/components/DataTime/index.d.ts +20 -4
  78. package/dist/esm/components/DataTime/index.js +32 -16
  79. package/dist/esm/components/EItemEnCode/index.d.ts +36 -0
  80. package/dist/esm/components/EItemEnCode/index.js +38 -2
  81. package/dist/esm/components/EItemId/index.d.ts +21 -0
  82. package/dist/esm/components/EItemId/index.js +22 -1
  83. package/dist/esm/components/EItemSelect/index.d.ts +22 -1
  84. package/dist/esm/components/EItemSelect/index.js +23 -2
  85. package/dist/esm/components/File/index.d.ts +15 -0
  86. package/dist/esm/components/File/index.js +16 -1
  87. package/dist/esm/components/FlowCreator/index.d.ts +2 -0
  88. package/dist/esm/components/FlowCreator/index.js +2 -0
  89. package/dist/esm/components/FlowMarkSelect/index.d.ts +2 -0
  90. package/dist/esm/components/FlowMarkSelect/index.js +2 -0
  91. package/dist/esm/components/FlowStatusSelect/index.d.ts +2 -0
  92. package/dist/esm/components/FlowStatusSelect/index.js +3 -2
  93. package/dist/esm/components/FlowTag/index.d.ts +2 -0
  94. package/dist/esm/components/FlowTag/index.js +2 -0
  95. package/dist/esm/components/FlowWorkOrderId/index.d.ts +2 -0
  96. package/dist/esm/components/FlowWorkOrderId/index.js +3 -1
  97. package/dist/esm/components/FlowWorkOrderStatus/index.d.ts +6 -4
  98. package/dist/esm/components/FlowWorkOrderStatus/index.js +31 -29
  99. package/dist/esm/components/Grade/index.d.ts +25 -3
  100. package/dist/esm/components/Grade/index.js +29 -7
  101. package/dist/esm/components/Handler/index.d.ts +6 -4
  102. package/dist/esm/components/Handler/index.js +9 -7
  103. package/dist/esm/components/HandlerDeadLine/index.d.ts +2 -0
  104. package/dist/esm/components/HandlerDeadLine/index.js +3 -1
  105. package/dist/esm/components/Input/index.d.ts +53 -0
  106. package/dist/esm/components/Input/index.js +55 -1
  107. package/dist/esm/components/JST/JstItemSelect/index.d.ts +26 -0
  108. package/dist/esm/components/JST/JstItemSelect/index.js +27 -1
  109. package/dist/esm/components/JST/JstLogistics/index.d.ts +5 -30
  110. package/dist/esm/components/JST/JstLogistics/index.js +49 -53
  111. package/dist/esm/components/JST/JstSendGood/index.d.ts +29 -46
  112. package/dist/esm/components/JST/JstSendGood/index.js +52 -230
  113. package/dist/esm/components/JST/JstSupply/index.d.ts +27 -0
  114. package/dist/esm/components/JST/JstSupply/index.js +34 -1
  115. package/dist/esm/components/JST/ReissueLogistics/index.d.ts +76 -0
  116. package/dist/esm/components/JST/ReissueLogistics/index.js +147 -0
  117. package/dist/esm/components/Label/index.d.ts +25 -0
  118. package/dist/esm/components/Label/index.js +26 -0
  119. package/dist/esm/components/Logistics/index.d.ts +36 -0
  120. package/dist/esm/components/Logistics/index.js +40 -1
  121. package/dist/esm/components/LogisticsInterception/index.d.ts +15 -0
  122. package/dist/esm/components/LogisticsInterception/index.js +16 -1
  123. package/dist/esm/components/LogisticsMoreInterception/index.d.ts +44 -13
  124. package/dist/esm/components/LogisticsMoreInterception/index.js +46 -15
  125. package/dist/esm/components/LogisticsMoreTrajectory/index.d.ts +56 -3
  126. package/dist/esm/components/LogisticsMoreTrajectory/index.js +62 -9
  127. package/dist/esm/components/LogisticsTrajectory/index.d.ts +48 -11
  128. package/dist/esm/components/LogisticsTrajectory/index.js +45 -8
  129. package/dist/esm/components/MsgStatus/index.d.ts +31 -4
  130. package/dist/esm/components/MsgStatus/index.js +72 -36
  131. package/dist/esm/components/MultSelect/index.d.ts +16 -0
  132. package/dist/esm/components/MultSelect/index.js +17 -1
  133. package/dist/esm/components/NewPaymentStatus/index.d.ts +41 -0
  134. package/dist/esm/components/NewPaymentStatus/index.js +105 -0
  135. package/dist/esm/components/NodeDeadLine/index.d.ts +2 -0
  136. package/dist/esm/components/NodeDeadLine/index.js +3 -1
  137. package/dist/esm/components/NodeInput/index.d.ts +6 -4
  138. package/dist/esm/components/NodeInput/index.js +9 -7
  139. package/dist/esm/components/NodeStayDuration/index.d.ts +2 -0
  140. package/dist/esm/components/NodeStayDuration/index.js +3 -1
  141. package/dist/esm/components/Ordinary/index.d.ts +27 -6
  142. package/dist/esm/components/Ordinary/index.js +39 -8
  143. package/dist/esm/components/OutFlowWorkOrderId/index.d.ts +34 -0
  144. package/dist/esm/components/OutFlowWorkOrderId/index.js +101 -0
  145. package/dist/esm/components/Payment/index.d.ts +25 -0
  146. package/dist/esm/components/Payment/index.js +26 -1
  147. package/dist/esm/components/PaymentVoucherCode/index.d.ts +20 -0
  148. package/dist/esm/components/PaymentVoucherCode/index.js +22 -2
  149. package/dist/esm/components/Picture/index.d.ts +18 -3
  150. package/dist/esm/components/Picture/index.js +31 -16
  151. package/dist/esm/components/PlatForm/index.d.ts +2 -0
  152. package/dist/esm/components/PlatForm/index.js +2 -0
  153. package/dist/esm/components/PostIng/index.d.ts +32 -0
  154. package/dist/esm/components/PostIng/index.js +39 -1
  155. package/dist/esm/components/PrevSubmitter/index.d.ts +2 -0
  156. package/dist/esm/components/PrevSubmitter/index.js +2 -0
  157. package/dist/esm/components/Radio/index.d.ts +26 -0
  158. package/dist/esm/components/Radio/index.js +27 -1
  159. package/dist/esm/components/Rate/index.d.ts +22 -3
  160. package/dist/esm/components/Rate/index.js +49 -30
  161. package/dist/esm/components/ReceiverAddress/index.d.ts +15 -0
  162. package/dist/esm/components/ReceiverAddress/index.js +16 -1
  163. package/dist/esm/components/ReceiverMobile/index.d.ts +23 -3
  164. package/dist/esm/components/ReceiverMobile/index.js +29 -9
  165. package/dist/esm/components/ReceiverName/index.d.ts +18 -3
  166. package/dist/esm/components/ReceiverName/index.js +23 -8
  167. package/dist/esm/components/Remark/index.d.ts +49 -0
  168. package/dist/esm/components/Remark/index.js +59 -1
  169. package/dist/esm/components/ReturnLogistics/index.d.ts +37 -6
  170. package/dist/esm/components/ReturnLogistics/index.js +50 -16
  171. package/dist/esm/components/Select/index.d.ts +4 -1
  172. package/dist/esm/components/Select/index.js +32 -30
  173. package/dist/esm/components/SendGood/index.d.ts +54 -0
  174. package/dist/esm/components/SendGood/index.js +215 -0
  175. package/dist/esm/components/ShopInput/index.d.ts +7 -5
  176. package/dist/esm/components/ShopInput/index.js +10 -8
  177. package/dist/esm/components/ShopName/index.d.ts +15 -0
  178. package/dist/esm/components/ShopName/index.js +16 -1
  179. package/dist/esm/components/StatusSelect/AdjustWorkOrderStatus.d.ts +30 -0
  180. package/dist/esm/components/StatusSelect/AdjustWorkOrderStatus.js +68 -0
  181. package/dist/esm/components/StatusSelect/CreateStatus.d.ts +7 -0
  182. package/dist/esm/components/StatusSelect/CreateStatus.js +41 -0
  183. package/dist/esm/components/StatusSelect/InvoiceStatus.d.ts +30 -0
  184. package/dist/esm/components/StatusSelect/InvoiceStatus.js +65 -0
  185. package/dist/esm/components/StatusSelect/InvoicingStatus.d.ts +30 -0
  186. package/dist/esm/components/StatusSelect/InvoicingStatus.js +65 -0
  187. package/dist/esm/components/StatusSelect/ReissueStatus.d.ts +30 -0
  188. package/dist/esm/components/StatusSelect/ReissueStatus.js +65 -0
  189. package/dist/esm/components/StatusSelect/index.d.ts +15 -1
  190. package/dist/esm/components/StatusSelect/index.js +30 -93
  191. package/dist/esm/components/Submitter/index.d.ts +6 -4
  192. package/dist/esm/components/Submitter/index.js +9 -7
  193. package/dist/esm/components/SystemOrder/index.d.ts +39 -0
  194. package/dist/esm/components/SystemOrder/index.js +162 -0
  195. package/dist/esm/components/SystemOrderNo/index.d.ts +18 -3
  196. package/dist/esm/components/SystemOrderNo/index.js +24 -9
  197. package/dist/esm/components/TemplateSelect/index.d.ts +2 -0
  198. package/dist/esm/components/TemplateSelect/index.js +3 -1
  199. package/dist/esm/components/TextArea/index.d.ts +15 -0
  200. package/dist/esm/components/TextArea/index.js +16 -1
  201. package/dist/esm/components/ThirdItemSelect/index.d.ts +29 -3
  202. package/dist/esm/components/ThirdItemSelect/index.js +37 -11
  203. package/dist/esm/components/TradeDateTime/BsSendTime.d.ts +23 -0
  204. package/dist/esm/components/TradeDateTime/BsSendTime.js +46 -0
  205. package/dist/esm/components/TradeDateTime/BsSigningTime.d.ts +23 -0
  206. package/dist/esm/components/TradeDateTime/BsSigningTime.js +46 -0
  207. package/dist/esm/components/TradeDateTime/BsTradePaymentTime.d.ts +23 -0
  208. package/dist/esm/components/TradeDateTime/BsTradePaymentTime.js +46 -0
  209. package/dist/esm/components/TradeDateTime/TradeClosingDateTime.d.ts +23 -0
  210. package/dist/esm/components/TradeDateTime/TradeClosingDateTime.js +46 -0
  211. package/dist/esm/components/TradeDateTime/TradeCreateDateTime.d.ts +23 -0
  212. package/dist/esm/components/TradeDateTime/TradeCreateDateTime.js +46 -0
  213. package/dist/esm/components/TradeDateTime/TradeDeliveryDateTime.d.ts +23 -0
  214. package/dist/esm/components/TradeDateTime/TradeDeliveryDateTime.js +46 -0
  215. package/dist/esm/components/TradeDateTime/TradePaymentDateTime.d.ts +23 -0
  216. package/dist/esm/components/TradeDateTime/TradePaymentDateTime.js +46 -0
  217. package/dist/esm/components/TradeDateTime/index.d.ts +3 -4
  218. package/dist/esm/components/TradeDateTime/index.js +14 -39
  219. package/dist/esm/components/TradeId/index.d.ts +25 -5
  220. package/dist/esm/components/TradeId/index.js +29 -9
  221. package/dist/esm/components/WDT/WdtGoods/index.d.ts +30 -0
  222. package/dist/esm/components/WDT/WdtGoods/index.js +37 -1
  223. package/dist/esm/components/WDT/WdtLogistics/index.d.ts +93 -0
  224. package/dist/esm/components/WDT/WdtLogistics/index.js +227 -0
  225. package/dist/esm/components/WDT/WdtRessuie/index.d.ts +39 -0
  226. package/dist/esm/components/WDT/WdtRessuie/index.js +44 -1
  227. package/dist/esm/components/WDT/WdtSendGood/index.d.ts +41 -0
  228. package/dist/esm/components/WDT/WdtSendGood/index.js +73 -0
  229. package/dist/esm/components/WDT/WdtSystemOrder/index.d.ts +21 -0
  230. package/dist/esm/components/WDT/WdtSystemOrder/index.js +48 -0
  231. package/dist/esm/components/WLN/WlnGoods/index.d.ts +30 -0
  232. package/dist/esm/components/WLN/WlnGoods/index.js +31 -1
  233. package/dist/esm/components/WLN/WlnLogistics/index.d.ts +88 -0
  234. package/dist/esm/components/WLN/WlnLogistics/index.js +222 -0
  235. package/dist/esm/components/WLN/WlnSendGood/index.d.ts +36 -0
  236. package/dist/esm/components/WLN/WlnSendGood/index.js +68 -0
  237. package/dist/esm/components/WLN/WlnSystemOrder/index.d.ts +21 -0
  238. package/dist/esm/components/WLN/WlnSystemOrder/index.js +48 -0
  239. package/dist/esm/components/WorkOrderId/index.d.ts +2 -0
  240. package/dist/esm/components/WorkOrderId/index.js +3 -1
  241. package/dist/esm/constant.d.ts +2 -0
  242. package/dist/esm/constant.js +3 -1
  243. package/dist/esm/factory.d.ts +2 -2
  244. package/dist/esm/factory.js +46 -20
  245. package/dist/esm/index.d.ts +39 -6
  246. package/dist/esm/index.js +39 -6
  247. package/package.json +6 -5
@@ -82,7 +82,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
82
82
  this.id = options.id;
83
83
  this.sortField = "".concat(options.id, "_textarea");
84
84
  this.formField = "".concat(options.id, "_textarea");
85
- this.type = options.type;
85
+ this.type = "TEXTAREA";
86
86
  this.componentConfig = options.componentConfig;
87
87
  this.dataType = "string";
88
88
  this.rules = [];
@@ -90,4 +90,19 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
90
90
  this.canSort = true;
91
91
  this.children = [];
92
92
  });
93
+ _defineProperty(BasicInput, "group", "BASIC_COMPONENT");
94
+ _defineProperty(BasicInput, "configSchema", {
95
+ componentConfig: {
96
+ required: false,
97
+ textarea: ""
98
+ },
99
+ name: "多行文本框",
100
+ schema: {
101
+ required: {
102
+ title: "必填",
103
+ type: "boolean"
104
+ }
105
+ }
106
+ });
107
+ _defineProperty(BasicInput, "type", "TEXTAREA");
93
108
  export default BasicInput;
@@ -1,5 +1,5 @@
1
- import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
- import React from 'react';
1
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
2
+ import React from "react";
3
3
  declare class ThirdItemSelect implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -12,7 +12,33 @@ declare class ThirdItemSelect implements ComponentInterface {
12
12
  formField: string;
13
13
  canSort: boolean;
14
14
  children: ComponentInterface[];
15
- dataType: ComponentInterface['dataType'];
15
+ dataType: ComponentInterface["dataType"];
16
+ static group: string;
17
+ static configSchema: {
18
+ componentConfig: {
19
+ enableItemId: boolean;
20
+ enableSupplierName: boolean;
21
+ maxLength: number;
22
+ required: boolean;
23
+ };
24
+ name: string;
25
+ uniqueKey: string;
26
+ schema: {
27
+ required: {
28
+ title: string;
29
+ type: string;
30
+ };
31
+ enableItemId: {
32
+ title: string;
33
+ type: string;
34
+ };
35
+ enableSupplierName: {
36
+ title: string;
37
+ type: string;
38
+ };
39
+ };
40
+ };
41
+ static type: string;
16
42
  constructor(options: PickOption);
17
43
  renderClient: (record: Record) => React.JSX.Element | null;
18
44
  renderPc: (value: any, record: Record) => React.JSX.Element;
@@ -6,12 +6,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
6
6
  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; }
7
7
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
8
  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); }
9
- import React from 'react';
9
+ import React from "react";
10
10
  import GetFormItem from "../GetFormItem";
11
11
  import ItemEncode from "./ItemEncode";
12
12
  import { GoodImage } from "../Common";
13
13
  import ItemView from "../../commonComponents/ItemView";
14
- import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
+ import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
15
15
  import { SYMBOL } from "../../constant";
16
16
  var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options) {
17
17
  var _this = this,
@@ -64,7 +64,7 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
64
64
  _defineProperty(this, "renderExport", function (value, record) {
65
65
  var _ref;
66
66
  return (_ref = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_itemList")]) || []) === null || _ref === void 0 ? void 0 : _ref.map(function (item) {
67
- return "\u4F9B\u5E94\u5546\u7F16\u7801:".concat(item.itemId || item.supplierItemOuterId || '', "\n\u4F9B\u5E94\u5546\u540D\u79F0:").concat(item.supplierName || '');
67
+ return "\u4F9B\u5E94\u5546\u7F16\u7801:".concat(item.itemId || item.supplierItemOuterId || "", "\n\u4F9B\u5E94\u5546\u540D\u79F0:").concat(item.supplierName || "");
68
68
  });
69
69
  });
70
70
  _defineProperty(this, "editRender", function (p) {
@@ -93,11 +93,11 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
93
93
  // 过滤组件id
94
94
  name: item.name,
95
95
  // 过滤组件名称
96
- filterComponentType: 'Input',
96
+ filterComponentType: "Input",
97
97
  filterFn: function filterFn(value) {
98
98
  return function (i) {
99
99
  var _ref2;
100
- return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, 'itemList') || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
100
+ return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, "itemList") || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
101
101
  var _String, _String2;
102
102
  var id = item !== null && item !== void 0 && item.itemId ? (_String = String(item === null || item === void 0 ? void 0 : item.itemId)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
103
103
  var name = item !== null && item !== void 0 && item.supplierName ? (_String2 = String(item === null || item === void 0 ? void 0 : item.supplierName)) === null || _String2 === void 0 ? void 0 : _String2.includes(value) : false;
@@ -107,38 +107,64 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
107
107
  }
108
108
  };
109
109
  });
110
- this.name = options.name || '供应商编码/名称';
110
+ this.name = options.name || "供应商编码/名称";
111
111
  this.id = options.id;
112
112
  this.sortField = "".concat(options.id, "_itemList");
113
113
  this.formField = "".concat(options.id, "_itemList");
114
- this.type = options.type;
114
+ this.type = "ITEM_SELECT_THIRD";
115
115
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
116
116
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
117
117
  this.isCombinationComponent = false;
118
118
  this.canSort = false;
119
119
  this.children = [];
120
- this.dataType = 'object';
120
+ this.dataType = "object";
121
121
  this.rules = (_this$componentConfig2 = this.componentConfig) !== null && _this$componentConfig2 !== void 0 && _this$componentConfig2.required ? [{
122
122
  required: true,
123
123
  validator: function validator(_, value) {
124
124
  var _this$componentConfig3, _this$componentConfig4;
125
125
  if (!value || !value.length) {
126
- return Promise.reject(new Error('请选择宝贝'));
126
+ return Promise.reject(new Error("请选择宝贝"));
127
127
  }
128
128
  var hasNotId = (value || []).some(function (item) {
129
129
  return !item.itemId && !item.supplierItemOuterId;
130
130
  });
131
131
  if ((_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.enableItemId && hasNotId) {
132
- return Promise.reject(new Error('请输入供应商编码'));
132
+ return Promise.reject(new Error("请输入供应商编码"));
133
133
  }
134
134
  var hasNotName = (value || []).some(function (item) {
135
135
  return !item.supplierName;
136
136
  });
137
137
  if ((_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.enableSupplierName && hasNotName) {
138
- return Promise.reject(new Error('请输入供应商名称'));
138
+ return Promise.reject(new Error("请输入供应商名称"));
139
139
  }
140
140
  return Promise.resolve();
141
141
  }
142
142
  }] : [];
143
143
  });
144
+ _defineProperty(ThirdItemSelect, "group", "THIRD_COMPONENT");
145
+ _defineProperty(ThirdItemSelect, "configSchema", {
146
+ componentConfig: {
147
+ enableItemId: false,
148
+ enableSupplierName: false,
149
+ maxLength: 20,
150
+ required: true
151
+ },
152
+ name: "供应商编码/名称",
153
+ uniqueKey: "ogcjD6DEyd",
154
+ schema: {
155
+ required: {
156
+ title: "必填",
157
+ type: "boolean"
158
+ },
159
+ enableItemId: {
160
+ title: "供应商编码",
161
+ type: "boolean"
162
+ },
163
+ enableSupplierName: {
164
+ title: "供应商名称",
165
+ type: "boolean"
166
+ }
167
+ }
168
+ });
169
+ _defineProperty(ThirdItemSelect, "type", "ITEM_SELECT_THIRD");
144
170
  export default ThirdItemSelect;
@@ -0,0 +1,23 @@
1
+ import ServiceDateTime from "./index";
2
+ import { PickOption } from "../../type";
3
+ declare class BsSendTime extends ServiceDateTime {
4
+ type: string;
5
+ suffixKey: string;
6
+ static group: string;
7
+ static configSchema: {
8
+ componentConfig: {
9
+ required: boolean;
10
+ };
11
+ name: string;
12
+ uniqueKey: string;
13
+ schema: {
14
+ required: {
15
+ title: string;
16
+ type: string;
17
+ };
18
+ };
19
+ };
20
+ static type: string;
21
+ constructor(options: PickOption);
22
+ }
23
+ export default BsSendTime;
@@ -0,0 +1,46 @@
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 _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); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
6
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
9
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
+ 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; }
13
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
+ 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); }
15
+ import ServiceDateTime from "./index";
16
+ var BsSendTime = /*#__PURE__*/function (_ServiceDateTime) {
17
+ _inherits(BsSendTime, _ServiceDateTime);
18
+ var _super = _createSuper(BsSendTime);
19
+ function BsSendTime(options) {
20
+ var _this;
21
+ _classCallCheck(this, BsSendTime);
22
+ _this = _super.call(this, options);
23
+ _defineProperty(_assertThisInitialized(_this), "type", void 0);
24
+ _defineProperty(_assertThisInitialized(_this), "suffixKey", void 0);
25
+ _this.suffixKey = "bsSendTime";
26
+ _this.type = "BS_SEND_TIME";
27
+ return _this;
28
+ }
29
+ return _createClass(BsSendTime);
30
+ }(ServiceDateTime);
31
+ _defineProperty(BsSendTime, "group", "THIRD_COMPONENT");
32
+ _defineProperty(BsSendTime, "configSchema", {
33
+ componentConfig: {
34
+ required: false
35
+ },
36
+ name: "bs发货时间",
37
+ uniqueKey: "dcuy6UOl8h",
38
+ schema: {
39
+ required: {
40
+ title: "必填",
41
+ type: "boolean"
42
+ }
43
+ }
44
+ });
45
+ _defineProperty(BsSendTime, "type", "BS_SEND_TIME");
46
+ export default BsSendTime;
@@ -0,0 +1,23 @@
1
+ import ServiceDateTime from "./index";
2
+ import { PickOption } from "../../type";
3
+ declare class BsSigningTime extends ServiceDateTime {
4
+ type: string;
5
+ suffixKey: string;
6
+ static group: string;
7
+ static configSchema: {
8
+ componentConfig: {
9
+ required: boolean;
10
+ };
11
+ name: string;
12
+ uniqueKey: string;
13
+ schema: {
14
+ required: {
15
+ title: string;
16
+ type: string;
17
+ };
18
+ };
19
+ };
20
+ static type: string;
21
+ constructor(options: PickOption);
22
+ }
23
+ export default BsSigningTime;
@@ -0,0 +1,46 @@
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 _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); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
6
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
9
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
+ 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; }
13
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
+ 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); }
15
+ import ServiceDateTime from "./index";
16
+ var BsSigningTime = /*#__PURE__*/function (_ServiceDateTime) {
17
+ _inherits(BsSigningTime, _ServiceDateTime);
18
+ var _super = _createSuper(BsSigningTime);
19
+ function BsSigningTime(options) {
20
+ var _this;
21
+ _classCallCheck(this, BsSigningTime);
22
+ _this = _super.call(this, options);
23
+ _defineProperty(_assertThisInitialized(_this), "type", void 0);
24
+ _defineProperty(_assertThisInitialized(_this), "suffixKey", void 0);
25
+ _this.suffixKey = "bsSigningTime";
26
+ _this.type = "BS_SIGNING_TIME";
27
+ return _this;
28
+ }
29
+ return _createClass(BsSigningTime);
30
+ }(ServiceDateTime);
31
+ _defineProperty(BsSigningTime, "group", "THIRD_COMPONENT");
32
+ _defineProperty(BsSigningTime, "configSchema", {
33
+ componentConfig: {
34
+ required: false
35
+ },
36
+ name: "bs签收时间",
37
+ uniqueKey: "zpyr9FMGQ8",
38
+ schema: {
39
+ required: {
40
+ title: "必填",
41
+ type: "boolean"
42
+ }
43
+ }
44
+ });
45
+ _defineProperty(BsSigningTime, "type", "BS_SIGNING_TIME");
46
+ export default BsSigningTime;
@@ -0,0 +1,23 @@
1
+ import ServiceDateTime from "./index";
2
+ import { PickOption } from "../../type";
3
+ declare class BsTradePaymentTime extends ServiceDateTime {
4
+ type: string;
5
+ suffixKey: string;
6
+ static group: string;
7
+ static configSchema: {
8
+ componentConfig: {
9
+ required: boolean;
10
+ };
11
+ name: string;
12
+ uniqueKey: string;
13
+ schema: {
14
+ required: {
15
+ title: string;
16
+ type: string;
17
+ };
18
+ };
19
+ };
20
+ static type: string;
21
+ constructor(options: PickOption);
22
+ }
23
+ export default BsTradePaymentTime;
@@ -0,0 +1,46 @@
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 _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); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
6
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
9
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
+ 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; }
13
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
+ 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); }
15
+ import ServiceDateTime from "./index";
16
+ var BsTradePaymentTime = /*#__PURE__*/function (_ServiceDateTime) {
17
+ _inherits(BsTradePaymentTime, _ServiceDateTime);
18
+ var _super = _createSuper(BsTradePaymentTime);
19
+ function BsTradePaymentTime(options) {
20
+ var _this;
21
+ _classCallCheck(this, BsTradePaymentTime);
22
+ _this = _super.call(this, options);
23
+ _defineProperty(_assertThisInitialized(_this), "type", void 0);
24
+ _defineProperty(_assertThisInitialized(_this), "suffixKey", void 0);
25
+ _this.suffixKey = "bsTradePaymentTime";
26
+ _this.type = "BS_TRADE_PAYMENT_TIME";
27
+ return _this;
28
+ }
29
+ return _createClass(BsTradePaymentTime);
30
+ }(ServiceDateTime);
31
+ _defineProperty(BsTradePaymentTime, "group", "THIRD_COMPONENT");
32
+ _defineProperty(BsTradePaymentTime, "configSchema", {
33
+ componentConfig: {
34
+ required: false
35
+ },
36
+ name: "bs订单支付时间",
37
+ uniqueKey: "hC9yHSP6rj",
38
+ schema: {
39
+ required: {
40
+ title: "必填",
41
+ type: "boolean"
42
+ }
43
+ }
44
+ });
45
+ _defineProperty(BsTradePaymentTime, "type", "BS_TRADE_PAYMENT_TIME");
46
+ export default BsTradePaymentTime;
@@ -0,0 +1,23 @@
1
+ import ServiceDateTime from "./index";
2
+ import { PickOption } from "../../type";
3
+ declare class TradeClosingDateTime extends ServiceDateTime {
4
+ type: string;
5
+ suffixKey: string;
6
+ static group: string;
7
+ static configSchema: {
8
+ componentConfig: {
9
+ required: boolean;
10
+ };
11
+ name: string;
12
+ uniqueKey: string;
13
+ schema: {
14
+ required: {
15
+ title: string;
16
+ type: string;
17
+ };
18
+ };
19
+ };
20
+ static type: string;
21
+ constructor(options: PickOption);
22
+ }
23
+ export default TradeClosingDateTime;
@@ -0,0 +1,46 @@
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 _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); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
6
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
9
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
+ 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; }
13
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
+ 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); }
15
+ import ServiceDateTime from "./index";
16
+ var TradeClosingDateTime = /*#__PURE__*/function (_ServiceDateTime) {
17
+ _inherits(TradeClosingDateTime, _ServiceDateTime);
18
+ var _super = _createSuper(TradeClosingDateTime);
19
+ function TradeClosingDateTime(options) {
20
+ var _this;
21
+ _classCallCheck(this, TradeClosingDateTime);
22
+ _this = _super.call(this, options);
23
+ _defineProperty(_assertThisInitialized(_this), "type", void 0);
24
+ _defineProperty(_assertThisInitialized(_this), "suffixKey", void 0);
25
+ _this.suffixKey = "tradeClosingDateTime";
26
+ _this.type = "TRADE_CLOSING_DATETIME";
27
+ return _this;
28
+ }
29
+ return _createClass(TradeClosingDateTime);
30
+ }(ServiceDateTime);
31
+ _defineProperty(TradeClosingDateTime, "group", "E_COMPONENT");
32
+ _defineProperty(TradeClosingDateTime, "configSchema", {
33
+ componentConfig: {
34
+ required: false
35
+ },
36
+ name: "成交时间",
37
+ uniqueKey: "elHW0syEyd",
38
+ schema: {
39
+ required: {
40
+ title: "必填",
41
+ type: "boolean"
42
+ }
43
+ }
44
+ });
45
+ _defineProperty(TradeClosingDateTime, "type", "TRADE_CLOSING_DATETIME");
46
+ export default TradeClosingDateTime;
@@ -0,0 +1,23 @@
1
+ import ServiceDateTime from "./index";
2
+ import { PickOption } from "../../type";
3
+ declare class TradeCreateDateTime extends ServiceDateTime {
4
+ type: string;
5
+ suffixKey: string;
6
+ static group: string;
7
+ static configSchema: {
8
+ componentConfig: {
9
+ required: boolean;
10
+ };
11
+ name: string;
12
+ uniqueKey: string;
13
+ schema: {
14
+ required: {
15
+ title: string;
16
+ type: string;
17
+ };
18
+ };
19
+ };
20
+ static type: string;
21
+ constructor(options: PickOption);
22
+ }
23
+ export default TradeCreateDateTime;
@@ -0,0 +1,46 @@
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 _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); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
6
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
9
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
+ 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; }
13
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
+ 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); }
15
+ import ServiceDateTime from "./index";
16
+ var TradeCreateDateTime = /*#__PURE__*/function (_ServiceDateTime) {
17
+ _inherits(TradeCreateDateTime, _ServiceDateTime);
18
+ var _super = _createSuper(TradeCreateDateTime);
19
+ function TradeCreateDateTime(options) {
20
+ var _this;
21
+ _classCallCheck(this, TradeCreateDateTime);
22
+ _this = _super.call(this, options);
23
+ _defineProperty(_assertThisInitialized(_this), "type", void 0);
24
+ _defineProperty(_assertThisInitialized(_this), "suffixKey", void 0);
25
+ _this.suffixKey = "tradeCreateDateTime";
26
+ _this.type = "TRADE_CREATE_DATETIME";
27
+ return _this;
28
+ }
29
+ return _createClass(TradeCreateDateTime);
30
+ }(ServiceDateTime);
31
+ _defineProperty(TradeCreateDateTime, "group", "E_COMPONENT");
32
+ _defineProperty(TradeCreateDateTime, "configSchema", {
33
+ componentConfig: {
34
+ required: false
35
+ },
36
+ name: "下单时间",
37
+ uniqueKey: "KZb4MKrEyd",
38
+ schema: {
39
+ required: {
40
+ title: "必填",
41
+ type: "boolean"
42
+ }
43
+ }
44
+ });
45
+ _defineProperty(TradeCreateDateTime, "type", "TRADE_CREATE_DATETIME");
46
+ export default TradeCreateDateTime;
@@ -0,0 +1,23 @@
1
+ import ServiceDateTime from "./index";
2
+ import { PickOption } from "../../type";
3
+ declare class TradeDeliveryDateTime extends ServiceDateTime {
4
+ type: string;
5
+ suffixKey: string;
6
+ static group: string;
7
+ static configSchema: {
8
+ componentConfig: {
9
+ required: boolean;
10
+ };
11
+ name: string;
12
+ uniqueKey: string;
13
+ schema: {
14
+ required: {
15
+ title: string;
16
+ type: string;
17
+ };
18
+ };
19
+ };
20
+ static type: string;
21
+ constructor(options: PickOption);
22
+ }
23
+ export default TradeDeliveryDateTime;
@@ -0,0 +1,46 @@
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 _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); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
6
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
9
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
+ 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; }
13
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
+ 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); }
15
+ import ServiceDateTime from "./index";
16
+ var TradeDeliveryDateTime = /*#__PURE__*/function (_ServiceDateTime) {
17
+ _inherits(TradeDeliveryDateTime, _ServiceDateTime);
18
+ var _super = _createSuper(TradeDeliveryDateTime);
19
+ function TradeDeliveryDateTime(options) {
20
+ var _this;
21
+ _classCallCheck(this, TradeDeliveryDateTime);
22
+ _this = _super.call(this, options);
23
+ _defineProperty(_assertThisInitialized(_this), "type", void 0);
24
+ _defineProperty(_assertThisInitialized(_this), "suffixKey", void 0);
25
+ _this.suffixKey = "tradeDeliveryDateTime";
26
+ _this.type = "TRADE_DELIVERY_DATETIME";
27
+ return _this;
28
+ }
29
+ return _createClass(TradeDeliveryDateTime);
30
+ }(ServiceDateTime);
31
+ _defineProperty(TradeDeliveryDateTime, "group", "E_COMPONENT");
32
+ _defineProperty(TradeDeliveryDateTime, "configSchema", {
33
+ componentConfig: {
34
+ required: false
35
+ },
36
+ name: "发货时间",
37
+ uniqueKey: "ethjmhEEyd",
38
+ schema: {
39
+ required: {
40
+ title: "必填",
41
+ type: "boolean"
42
+ }
43
+ }
44
+ });
45
+ _defineProperty(TradeDeliveryDateTime, "type", "TRADE_DELIVERY_DATETIME");
46
+ export default TradeDeliveryDateTime;