@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.
- package/dist/esm/components/ActualPayment/BsDeposit.d.ts +23 -0
- package/dist/esm/components/ActualPayment/BsDeposit.js +50 -0
- package/dist/esm/components/ActualPayment/BsNetReceipts.d.ts +23 -0
- package/dist/esm/components/ActualPayment/BsNetReceipts.js +50 -0
- package/dist/esm/components/ActualPayment/BsPackageWeight.d.ts +23 -0
- package/dist/esm/components/ActualPayment/BsPackageWeight.js +50 -0
- package/dist/esm/components/ActualPayment/index.d.ts +16 -2
- package/dist/esm/components/ActualPayment/index.js +28 -35
- package/dist/esm/components/Address/index.d.ts +14 -0
- package/dist/esm/components/Address/index.js +15 -2
- package/dist/esm/components/Alipay/index.d.ts +30 -5
- package/dist/esm/components/Alipay/index.js +31 -6
- package/dist/esm/components/BS/BsDeposit/index.d.ts +60 -0
- package/dist/esm/components/BS/BsDeposit/index.js +165 -0
- package/dist/esm/components/BS/BsExchange/index.d.ts +39 -0
- package/dist/esm/components/BS/BsExchange/index.js +52 -1
- package/dist/esm/components/BS/BsGoods/index.d.ts +30 -0
- package/dist/esm/components/BS/BsGoods/index.js +31 -1
- package/dist/esm/components/BS/BsLogistics/index.d.ts +33 -0
- package/dist/esm/components/BS/BsLogistics/index.js +62 -52
- package/dist/esm/components/BS/BsPosting/index.d.ts +15 -0
- package/dist/esm/components/BS/BsPosting/index.js +16 -1
- package/dist/esm/components/BS/BsReissue/index.d.ts +46 -7
- package/dist/esm/components/BS/BsReissue/index.js +70 -19
- package/dist/esm/components/BS/BsReturn/index.d.ts +39 -0
- package/dist/esm/components/BS/BsReturn/index.js +44 -1
- package/dist/esm/components/BS/BsSendGood/index.d.ts +36 -0
- package/dist/esm/components/BS/BsSendGood/index.js +68 -0
- package/dist/esm/components/BS/BsSystemOrder/index.d.ts +18 -29
- package/dist/esm/components/BS/BsSystemOrder/index.js +37 -138
- package/dist/esm/components/BusinessOrderNo/index.d.ts +26 -0
- package/dist/esm/components/BusinessOrderNo/index.js +53 -0
- package/dist/esm/components/BuyerMessageNotice/index.d.ts +37 -0
- package/dist/esm/components/BuyerMessageNotice/index.js +66 -0
- package/dist/esm/components/BuyerNick/index.d.ts +20 -0
- package/dist/esm/components/BuyerNick/index.js +21 -2
- package/dist/esm/components/Calculation/index.d.ts +18 -0
- package/dist/esm/components/Calculation/index.js +21 -3
- package/dist/esm/components/Cascader/index.d.ts +20 -5
- package/dist/esm/components/Cascader/index.js +35 -21
- package/dist/esm/components/Checkbox/index.d.ts +26 -4
- package/dist/esm/components/Checkbox/index.js +62 -19
- package/dist/esm/components/CommonDataTime/CompletedDateTime.d.ts +7 -0
- package/dist/esm/components/CommonDataTime/CompletedDateTime.js +29 -0
- package/dist/esm/components/CommonDataTime/CreatedDateTime.d.ts +7 -0
- package/dist/esm/components/CommonDataTime/CreatedDateTime.js +29 -0
- package/dist/esm/components/CommonDataTime/FlowCreatedDateTime.d.ts +7 -0
- package/dist/esm/components/CommonDataTime/FlowCreatedDateTime.js +29 -0
- package/dist/esm/components/CommonDataTime/FlowUpdateDateTime.d.ts +7 -0
- package/dist/esm/components/CommonDataTime/FlowUpdateDateTime.js +29 -0
- package/dist/esm/components/CommonDataTime/UpdateDateTime.d.ts +7 -0
- package/dist/esm/components/CommonDataTime/UpdateDateTime.js +29 -0
- package/dist/esm/components/CommonDataTime/index.d.ts +1 -0
- package/dist/esm/components/CommonDataTime/index.js +1 -0
- package/dist/esm/components/CommonInput/index.d.ts +5 -0
- package/dist/esm/components/CommonInput/index.js +32 -18
- package/dist/esm/components/CommonMultiStatus/ExchangeStatus.d.ts +30 -0
- package/dist/esm/components/CommonMultiStatus/ExchangeStatus.js +69 -0
- package/dist/esm/components/CommonMultiStatus/ReturnGoodsStatus.d.ts +30 -0
- package/dist/esm/components/CommonMultiStatus/ReturnGoodsStatus.js +69 -0
- package/dist/esm/components/CommonMultiStatus/WareHousingStatus.d.ts +34 -0
- package/dist/esm/components/CommonMultiStatus/WareHousingStatus.js +83 -0
- package/dist/esm/components/CommonMultiStatus/index.d.ts +19 -20
- package/dist/esm/components/CommonMultiStatus/index.js +99 -109
- package/dist/esm/components/CommonSystemOrder/DeliveryNoList.d.ts +21 -0
- package/dist/esm/components/CommonSystemOrder/DeliveryNoList.js +48 -0
- package/dist/esm/components/CommonSystemOrder/ExchangeTradeId.d.ts +22 -0
- package/dist/esm/components/CommonSystemOrder/ExchangeTradeId.js +49 -0
- package/dist/esm/components/CommonSystemOrder/ReturnGoodsTradeItemList.d.ts +32 -0
- package/dist/esm/components/CommonSystemOrder/ReturnGoodsTradeItemList.js +60 -0
- package/dist/esm/components/CommonSystemOrder/TradeItemList.d.ts +23 -0
- package/dist/esm/components/CommonSystemOrder/TradeItemList.js +50 -0
- package/dist/esm/components/CommonSystemOrder/index.d.ts +11 -4
- package/dist/esm/components/CommonSystemOrder/index.js +36 -66
- package/dist/esm/components/CompletedUser/index.d.ts +6 -4
- package/dist/esm/components/CompletedUser/index.js +9 -7
- package/dist/esm/components/DataTime/index.d.ts +20 -4
- package/dist/esm/components/DataTime/index.js +32 -16
- package/dist/esm/components/EItemEnCode/index.d.ts +36 -0
- package/dist/esm/components/EItemEnCode/index.js +38 -2
- package/dist/esm/components/EItemId/index.d.ts +21 -0
- package/dist/esm/components/EItemId/index.js +22 -1
- package/dist/esm/components/EItemSelect/index.d.ts +22 -1
- package/dist/esm/components/EItemSelect/index.js +23 -2
- package/dist/esm/components/File/index.d.ts +15 -0
- package/dist/esm/components/File/index.js +16 -1
- package/dist/esm/components/FlowCreator/index.d.ts +2 -0
- package/dist/esm/components/FlowCreator/index.js +2 -0
- package/dist/esm/components/FlowMarkSelect/index.d.ts +2 -0
- package/dist/esm/components/FlowMarkSelect/index.js +2 -0
- package/dist/esm/components/FlowStatusSelect/index.d.ts +2 -0
- package/dist/esm/components/FlowStatusSelect/index.js +3 -2
- package/dist/esm/components/FlowTag/index.d.ts +2 -0
- package/dist/esm/components/FlowTag/index.js +2 -0
- package/dist/esm/components/FlowWorkOrderId/index.d.ts +2 -0
- package/dist/esm/components/FlowWorkOrderId/index.js +3 -1
- package/dist/esm/components/FlowWorkOrderStatus/index.d.ts +6 -4
- package/dist/esm/components/FlowWorkOrderStatus/index.js +31 -29
- package/dist/esm/components/Grade/index.d.ts +25 -3
- package/dist/esm/components/Grade/index.js +29 -7
- package/dist/esm/components/Handler/index.d.ts +6 -4
- package/dist/esm/components/Handler/index.js +9 -7
- package/dist/esm/components/HandlerDeadLine/index.d.ts +2 -0
- package/dist/esm/components/HandlerDeadLine/index.js +3 -1
- package/dist/esm/components/Input/index.d.ts +53 -0
- package/dist/esm/components/Input/index.js +55 -1
- package/dist/esm/components/JST/JstItemSelect/index.d.ts +26 -0
- package/dist/esm/components/JST/JstItemSelect/index.js +27 -1
- package/dist/esm/components/JST/JstLogistics/index.d.ts +5 -30
- package/dist/esm/components/JST/JstLogistics/index.js +49 -53
- package/dist/esm/components/JST/JstSendGood/index.d.ts +29 -46
- package/dist/esm/components/JST/JstSendGood/index.js +52 -230
- package/dist/esm/components/JST/JstSupply/index.d.ts +27 -0
- package/dist/esm/components/JST/JstSupply/index.js +34 -1
- package/dist/esm/components/JST/ReissueLogistics/index.d.ts +76 -0
- package/dist/esm/components/JST/ReissueLogistics/index.js +147 -0
- package/dist/esm/components/Label/index.d.ts +25 -0
- package/dist/esm/components/Label/index.js +26 -0
- package/dist/esm/components/Logistics/index.d.ts +36 -0
- package/dist/esm/components/Logistics/index.js +40 -1
- package/dist/esm/components/LogisticsInterception/index.d.ts +15 -0
- package/dist/esm/components/LogisticsInterception/index.js +16 -1
- package/dist/esm/components/LogisticsMoreInterception/index.d.ts +44 -13
- package/dist/esm/components/LogisticsMoreInterception/index.js +46 -15
- package/dist/esm/components/LogisticsMoreTrajectory/index.d.ts +56 -3
- package/dist/esm/components/LogisticsMoreTrajectory/index.js +62 -9
- package/dist/esm/components/LogisticsTrajectory/index.d.ts +48 -11
- package/dist/esm/components/LogisticsTrajectory/index.js +45 -8
- package/dist/esm/components/MsgStatus/index.d.ts +31 -4
- package/dist/esm/components/MsgStatus/index.js +72 -36
- package/dist/esm/components/MultSelect/index.d.ts +16 -0
- package/dist/esm/components/MultSelect/index.js +17 -1
- package/dist/esm/components/NewPaymentStatus/index.d.ts +41 -0
- package/dist/esm/components/NewPaymentStatus/index.js +105 -0
- package/dist/esm/components/NodeDeadLine/index.d.ts +2 -0
- package/dist/esm/components/NodeDeadLine/index.js +3 -1
- package/dist/esm/components/NodeInput/index.d.ts +6 -4
- package/dist/esm/components/NodeInput/index.js +9 -7
- package/dist/esm/components/NodeStayDuration/index.d.ts +2 -0
- package/dist/esm/components/NodeStayDuration/index.js +3 -1
- package/dist/esm/components/Ordinary/index.d.ts +27 -6
- package/dist/esm/components/Ordinary/index.js +39 -8
- package/dist/esm/components/OutFlowWorkOrderId/index.d.ts +34 -0
- package/dist/esm/components/OutFlowWorkOrderId/index.js +101 -0
- package/dist/esm/components/Payment/index.d.ts +25 -0
- package/dist/esm/components/Payment/index.js +26 -1
- package/dist/esm/components/PaymentVoucherCode/index.d.ts +20 -0
- package/dist/esm/components/PaymentVoucherCode/index.js +22 -2
- package/dist/esm/components/Picture/index.d.ts +18 -3
- package/dist/esm/components/Picture/index.js +31 -16
- package/dist/esm/components/PlatForm/index.d.ts +2 -0
- package/dist/esm/components/PlatForm/index.js +2 -0
- package/dist/esm/components/PostIng/index.d.ts +32 -0
- package/dist/esm/components/PostIng/index.js +39 -1
- package/dist/esm/components/PrevSubmitter/index.d.ts +2 -0
- package/dist/esm/components/PrevSubmitter/index.js +2 -0
- package/dist/esm/components/Radio/index.d.ts +26 -0
- package/dist/esm/components/Radio/index.js +27 -1
- package/dist/esm/components/Rate/index.d.ts +22 -3
- package/dist/esm/components/Rate/index.js +49 -30
- package/dist/esm/components/ReceiverAddress/index.d.ts +15 -0
- package/dist/esm/components/ReceiverAddress/index.js +16 -1
- package/dist/esm/components/ReceiverMobile/index.d.ts +23 -3
- package/dist/esm/components/ReceiverMobile/index.js +29 -9
- package/dist/esm/components/ReceiverName/index.d.ts +18 -3
- package/dist/esm/components/ReceiverName/index.js +23 -8
- package/dist/esm/components/Remark/index.d.ts +49 -0
- package/dist/esm/components/Remark/index.js +59 -1
- package/dist/esm/components/ReturnLogistics/index.d.ts +37 -6
- package/dist/esm/components/ReturnLogistics/index.js +50 -16
- package/dist/esm/components/Select/index.d.ts +4 -1
- package/dist/esm/components/Select/index.js +32 -30
- package/dist/esm/components/SendGood/index.d.ts +54 -0
- package/dist/esm/components/SendGood/index.js +215 -0
- package/dist/esm/components/ShopInput/index.d.ts +7 -5
- package/dist/esm/components/ShopInput/index.js +10 -8
- package/dist/esm/components/ShopName/index.d.ts +15 -0
- package/dist/esm/components/ShopName/index.js +16 -1
- package/dist/esm/components/StatusSelect/AdjustWorkOrderStatus.d.ts +30 -0
- package/dist/esm/components/StatusSelect/AdjustWorkOrderStatus.js +68 -0
- package/dist/esm/components/StatusSelect/CreateStatus.d.ts +7 -0
- package/dist/esm/components/StatusSelect/CreateStatus.js +41 -0
- package/dist/esm/components/StatusSelect/InvoiceStatus.d.ts +30 -0
- package/dist/esm/components/StatusSelect/InvoiceStatus.js +65 -0
- package/dist/esm/components/StatusSelect/InvoicingStatus.d.ts +30 -0
- package/dist/esm/components/StatusSelect/InvoicingStatus.js +65 -0
- package/dist/esm/components/StatusSelect/ReissueStatus.d.ts +30 -0
- package/dist/esm/components/StatusSelect/ReissueStatus.js +65 -0
- package/dist/esm/components/StatusSelect/index.d.ts +15 -1
- package/dist/esm/components/StatusSelect/index.js +30 -93
- package/dist/esm/components/Submitter/index.d.ts +6 -4
- package/dist/esm/components/Submitter/index.js +9 -7
- package/dist/esm/components/SystemOrder/index.d.ts +39 -0
- package/dist/esm/components/SystemOrder/index.js +162 -0
- package/dist/esm/components/SystemOrderNo/index.d.ts +18 -3
- package/dist/esm/components/SystemOrderNo/index.js +24 -9
- package/dist/esm/components/TemplateSelect/index.d.ts +2 -0
- package/dist/esm/components/TemplateSelect/index.js +3 -1
- package/dist/esm/components/TextArea/index.d.ts +15 -0
- package/dist/esm/components/TextArea/index.js +16 -1
- package/dist/esm/components/ThirdItemSelect/index.d.ts +29 -3
- package/dist/esm/components/ThirdItemSelect/index.js +37 -11
- package/dist/esm/components/TradeDateTime/BsSendTime.d.ts +23 -0
- package/dist/esm/components/TradeDateTime/BsSendTime.js +46 -0
- package/dist/esm/components/TradeDateTime/BsSigningTime.d.ts +23 -0
- package/dist/esm/components/TradeDateTime/BsSigningTime.js +46 -0
- package/dist/esm/components/TradeDateTime/BsTradePaymentTime.d.ts +23 -0
- package/dist/esm/components/TradeDateTime/BsTradePaymentTime.js +46 -0
- package/dist/esm/components/TradeDateTime/TradeClosingDateTime.d.ts +23 -0
- package/dist/esm/components/TradeDateTime/TradeClosingDateTime.js +46 -0
- package/dist/esm/components/TradeDateTime/TradeCreateDateTime.d.ts +23 -0
- package/dist/esm/components/TradeDateTime/TradeCreateDateTime.js +46 -0
- package/dist/esm/components/TradeDateTime/TradeDeliveryDateTime.d.ts +23 -0
- package/dist/esm/components/TradeDateTime/TradeDeliveryDateTime.js +46 -0
- package/dist/esm/components/TradeDateTime/TradePaymentDateTime.d.ts +23 -0
- package/dist/esm/components/TradeDateTime/TradePaymentDateTime.js +46 -0
- package/dist/esm/components/TradeDateTime/index.d.ts +3 -4
- package/dist/esm/components/TradeDateTime/index.js +14 -39
- package/dist/esm/components/TradeId/index.d.ts +25 -5
- package/dist/esm/components/TradeId/index.js +29 -9
- package/dist/esm/components/WDT/WdtGoods/index.d.ts +30 -0
- package/dist/esm/components/WDT/WdtGoods/index.js +37 -1
- package/dist/esm/components/WDT/WdtLogistics/index.d.ts +93 -0
- package/dist/esm/components/WDT/WdtLogistics/index.js +227 -0
- package/dist/esm/components/WDT/WdtRessuie/index.d.ts +39 -0
- package/dist/esm/components/WDT/WdtRessuie/index.js +44 -1
- package/dist/esm/components/WDT/WdtSendGood/index.d.ts +41 -0
- package/dist/esm/components/WDT/WdtSendGood/index.js +73 -0
- package/dist/esm/components/WDT/WdtSystemOrder/index.d.ts +21 -0
- package/dist/esm/components/WDT/WdtSystemOrder/index.js +48 -0
- package/dist/esm/components/WLN/WlnGoods/index.d.ts +30 -0
- package/dist/esm/components/WLN/WlnGoods/index.js +31 -1
- package/dist/esm/components/WLN/WlnLogistics/index.d.ts +88 -0
- package/dist/esm/components/WLN/WlnLogistics/index.js +222 -0
- package/dist/esm/components/WLN/WlnSendGood/index.d.ts +36 -0
- package/dist/esm/components/WLN/WlnSendGood/index.js +68 -0
- package/dist/esm/components/WLN/WlnSystemOrder/index.d.ts +21 -0
- package/dist/esm/components/WLN/WlnSystemOrder/index.js +48 -0
- package/dist/esm/components/WorkOrderId/index.d.ts +2 -0
- package/dist/esm/components/WorkOrderId/index.js +3 -1
- package/dist/esm/constant.d.ts +2 -0
- package/dist/esm/constant.js +3 -1
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +46 -20
- package/dist/esm/index.d.ts +39 -6
- package/dist/esm/index.js +39 -6
- package/package.json +6 -5
|
@@ -1,149 +1,48 @@
|
|
|
1
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
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); } }
|
|
6
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; }
|
|
7
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); }
|
|
8
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; }
|
|
9
13
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
10
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); }
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
},
|
|
27
|
-
WLN_SYSTEM_ORDER: {
|
|
28
|
-
key: 'wlnSystemShowOrder',
|
|
29
|
-
name: '万里牛',
|
|
30
|
-
typeName: '订单类型',
|
|
31
|
-
tagName: '标记',
|
|
32
|
-
selectId: 'wlnSystemSelectIds'
|
|
33
|
-
},
|
|
34
|
-
WDT_SYSTEM_ORDER: {
|
|
35
|
-
key: "wdtSystemShowOrder",
|
|
36
|
-
name: "旺店通",
|
|
37
|
-
typeName: "订单类型",
|
|
38
|
-
tagName: "订单标签",
|
|
39
|
-
selectId: "wdtSystemSelectIds"
|
|
15
|
+
import SystemOrder from "../../SystemOrder";
|
|
16
|
+
var BsSystemOrder = /*#__PURE__*/function (_SystemOrder) {
|
|
17
|
+
_inherits(BsSystemOrder, _SystemOrder);
|
|
18
|
+
var _super = _createSuper(BsSystemOrder);
|
|
19
|
+
function BsSystemOrder(options) {
|
|
20
|
+
var _this;
|
|
21
|
+
_classCallCheck(this, BsSystemOrder);
|
|
22
|
+
_this = _super.call(this, options);
|
|
23
|
+
_this.suffixKey = "bsSystemShowOrder";
|
|
24
|
+
_this.suffixName = "bs";
|
|
25
|
+
_this.suffixTypeName = "单据类型";
|
|
26
|
+
_this.suffixTagName = "标签";
|
|
27
|
+
_this.suffixSelectId = "bsSystemSelectIds";
|
|
28
|
+
_this.type = "BS_SYSTEM_ORDER";
|
|
29
|
+
return _this;
|
|
40
30
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
_defineProperty(this, "formField", void 0);
|
|
55
|
-
_defineProperty(this, "canSort", void 0);
|
|
56
|
-
_defineProperty(this, "dataType", void 0);
|
|
57
|
-
_defineProperty(this, "children", void 0);
|
|
58
|
-
_defineProperty(this, "renderClient", function (record) {
|
|
59
|
-
return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ItemView, {
|
|
60
|
-
id: _this.id,
|
|
61
|
-
label: _this.name,
|
|
62
|
-
value: /*#__PURE__*/React.createElement(BsSystemOrderTable, {
|
|
63
|
-
value: record === null || record === void 0 ? void 0 : record["".concat(_this.id)],
|
|
64
|
-
type: _this.type
|
|
65
|
-
})
|
|
66
|
-
})) : null;
|
|
67
|
-
});
|
|
68
|
-
_defineProperty(this, "renderPc", function () {
|
|
69
|
-
return null;
|
|
70
|
-
});
|
|
71
|
-
_defineProperty(this, "renderLog", function (r) {
|
|
72
|
-
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(typeMap[_this.type].key)])) return null;
|
|
73
|
-
return /*#__PURE__*/React.createElement(BsSystemOrderTable, {
|
|
74
|
-
value: {
|
|
75
|
-
showOrderInfo: r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(typeMap[_this.type].key)],
|
|
76
|
-
selectIds: r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(typeMap[_this.type].selectId)]
|
|
77
|
-
},
|
|
78
|
-
type: _this.type
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
_defineProperty(this, "getComponentValue", function (r) {
|
|
82
|
-
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat(typeMap[_this.type].key)];
|
|
83
|
-
});
|
|
84
|
-
_defineProperty(this, "renderExport", function () {
|
|
85
|
-
return null;
|
|
86
|
-
});
|
|
87
|
-
_defineProperty(this, "editRender", function (p) {
|
|
88
|
-
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
89
|
-
title: _this.name,
|
|
90
|
-
name: _this.id,
|
|
91
|
-
rules: _this.rules,
|
|
92
|
-
required: false,
|
|
93
|
-
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
94
|
-
display: p === null || p === void 0 ? void 0 : p.display,
|
|
95
|
-
component: /*#__PURE__*/React.createElement(SystemOrder, _extends({}, _this.componentConfig, {
|
|
96
|
-
onChange: p === null || p === void 0 ? void 0 : p.onChange,
|
|
97
|
-
type: _this.type
|
|
98
|
-
}))
|
|
99
|
-
});
|
|
100
|
-
});
|
|
101
|
-
_defineProperty(this, "filterConfig", function (item) {
|
|
102
|
-
return [{
|
|
103
|
-
searchDefaultConditions: SYMBOL.in,
|
|
104
|
-
type: item.type,
|
|
105
|
-
id: "".concat(item.id, "_").concat(typeMap[_this.type].selectId),
|
|
106
|
-
// 过滤组件id
|
|
107
|
-
name: item.name,
|
|
108
|
-
// 过滤组件名称
|
|
109
|
-
filterComponentType: 'Input',
|
|
110
|
-
formatFilterValue: function formatFilterValue(input) {
|
|
111
|
-
return batchInput(input);
|
|
112
|
-
}
|
|
113
|
-
}];
|
|
114
|
-
});
|
|
115
|
-
this.name = options.name;
|
|
116
|
-
this.id = options.id;
|
|
117
|
-
this.sortField = "".concat(options.id, "_").concat(typeMap[options.type].key);
|
|
118
|
-
this.formField = "".concat(options.id, "_").concat(typeMap[options.type].key);
|
|
119
|
-
this.type = options.type;
|
|
120
|
-
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
121
|
-
this.isCombinationComponent = true;
|
|
122
|
-
this.canSort = false;
|
|
123
|
-
this.children = [new BsHeaderChild(_objectSpread(_objectSpread({}, options), {}, {
|
|
124
|
-
name: typeMap[options.type].typeName,
|
|
125
|
-
id: "".concat(options.id, "_").concat(typeMap[options.type].key, "_billType"),
|
|
126
|
-
width: 150
|
|
127
|
-
})), new BsHeaderChild(_objectSpread(_objectSpread({}, options), {}, {
|
|
128
|
-
name: '系统订单号',
|
|
129
|
-
id: "".concat(options.id, "_").concat(typeMap[options.type].key, "_billNo"),
|
|
130
|
-
width: 150
|
|
131
|
-
})), new BsHeaderChild(_objectSpread(_objectSpread({}, options), {}, {
|
|
132
|
-
name: typeMap[options.type].tagName,
|
|
133
|
-
id: "".concat(options.id, "_").concat(typeMap[options.type].key, "_billTag"),
|
|
134
|
-
width: 150
|
|
135
|
-
}))];
|
|
136
|
-
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
137
|
-
this.rules = this !== null && this !== void 0 && (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
|
138
|
-
required: true,
|
|
139
|
-
validator: function validator(_, value) {
|
|
140
|
-
var _value$selectIds;
|
|
141
|
-
if (!value || !(value !== null && value !== void 0 && (_value$selectIds = value.selectIds) !== null && _value$selectIds !== void 0 && _value$selectIds.length)) {
|
|
142
|
-
return Promise.reject(new Error("\u8BF7\u9009\u62E9".concat(typeMap[options.type].name, "\u7CFB\u7EDF\u8BA2\u5355\u53F7")));
|
|
143
|
-
}
|
|
144
|
-
return Promise.resolve();
|
|
31
|
+
return _createClass(BsSystemOrder);
|
|
32
|
+
}(SystemOrder);
|
|
33
|
+
_defineProperty(BsSystemOrder, "group", "THIRD_COMPONENT");
|
|
34
|
+
_defineProperty(BsSystemOrder, "configSchema", {
|
|
35
|
+
componentConfig: {
|
|
36
|
+
required: false
|
|
37
|
+
},
|
|
38
|
+
name: "bs系统订单号",
|
|
39
|
+
uniqueKey: "4mUSkNIkcj",
|
|
40
|
+
schema: {
|
|
41
|
+
required: {
|
|
42
|
+
title: "必填",
|
|
43
|
+
type: "boolean"
|
|
145
44
|
}
|
|
146
|
-
}
|
|
147
|
-
this.dataType = 'object';
|
|
45
|
+
}
|
|
148
46
|
});
|
|
47
|
+
_defineProperty(BsSystemOrder, "type", "BS_SYSTEM_ORDER");
|
|
149
48
|
export default BsSystemOrder;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import CommonInput from "../CommonInput";
|
|
2
|
+
import { PickOption } from "../../type";
|
|
3
|
+
declare class BusinessOrderNo extends CommonInput {
|
|
4
|
+
static group: string;
|
|
5
|
+
static configSchema: {
|
|
6
|
+
componentConfig: {};
|
|
7
|
+
name: string;
|
|
8
|
+
uniqueKey: string;
|
|
9
|
+
schema: {
|
|
10
|
+
status: {
|
|
11
|
+
widget: string;
|
|
12
|
+
type: string;
|
|
13
|
+
default: {
|
|
14
|
+
created: number;
|
|
15
|
+
upgrade: number;
|
|
16
|
+
};
|
|
17
|
+
props: {
|
|
18
|
+
showOptionsKey: number[];
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
static type: string;
|
|
24
|
+
constructor(options: PickOption);
|
|
25
|
+
}
|
|
26
|
+
export default BusinessOrderNo;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 CommonInput from "../CommonInput";
|
|
16
|
+
import { SHOW_NOT_WRITE } from "../../constant";
|
|
17
|
+
var BusinessOrderNo = /*#__PURE__*/function (_CommonInput) {
|
|
18
|
+
_inherits(BusinessOrderNo, _CommonInput);
|
|
19
|
+
var _super = _createSuper(BusinessOrderNo);
|
|
20
|
+
function BusinessOrderNo(options) {
|
|
21
|
+
var _this;
|
|
22
|
+
_classCallCheck(this, BusinessOrderNo);
|
|
23
|
+
_this = _super.call(this, options);
|
|
24
|
+
_this.suffixKey = "businessOrderNo";
|
|
25
|
+
_this.suffixDisabled = true;
|
|
26
|
+
_this.suffixPlaceholder = "自动获取无需填写";
|
|
27
|
+
_this.type = "BUSINESS_ORDER_NO";
|
|
28
|
+
_this.canSort = false;
|
|
29
|
+
return _this;
|
|
30
|
+
}
|
|
31
|
+
return _createClass(BusinessOrderNo);
|
|
32
|
+
}(CommonInput);
|
|
33
|
+
_defineProperty(BusinessOrderNo, "group", "SPECIAL_COMPONENT");
|
|
34
|
+
_defineProperty(BusinessOrderNo, "configSchema", {
|
|
35
|
+
componentConfig: {},
|
|
36
|
+
name: "业务订单号",
|
|
37
|
+
uniqueKey: "4i9IZhYqx6",
|
|
38
|
+
schema: {
|
|
39
|
+
status: {
|
|
40
|
+
widget: "StatusConfig",
|
|
41
|
+
type: "object",
|
|
42
|
+
default: {
|
|
43
|
+
created: SHOW_NOT_WRITE,
|
|
44
|
+
upgrade: SHOW_NOT_WRITE
|
|
45
|
+
},
|
|
46
|
+
props: {
|
|
47
|
+
showOptionsKey: [2, 0]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
_defineProperty(BusinessOrderNo, "type", "BUSINESS_ORDER_NO");
|
|
53
|
+
export default BusinessOrderNo;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import BasicSelect from "../Select";
|
|
2
|
+
import { PickOption } from "../../type";
|
|
3
|
+
declare class BuyerMessageNotice extends BasicSelect {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
type: string;
|
|
7
|
+
suffixKey: string;
|
|
8
|
+
static group: string;
|
|
9
|
+
static configSchema: {
|
|
10
|
+
componentConfig: {
|
|
11
|
+
required: boolean;
|
|
12
|
+
options: {
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
name: string;
|
|
18
|
+
uniqueKey: string;
|
|
19
|
+
schema: {
|
|
20
|
+
required: {
|
|
21
|
+
title: string;
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
status: {
|
|
25
|
+
widget: string;
|
|
26
|
+
type: string;
|
|
27
|
+
default: {
|
|
28
|
+
created: number;
|
|
29
|
+
upgrade: number;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
static type: string;
|
|
35
|
+
constructor(options: PickOption);
|
|
36
|
+
}
|
|
37
|
+
export default BuyerMessageNotice;
|
|
@@ -0,0 +1,66 @@
|
|
|
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 BasicSelect from "../Select";
|
|
16
|
+
import { SHOW_WRITE } from "../../constant";
|
|
17
|
+
var BuyerMessageNotice = /*#__PURE__*/function (_BasicSelect) {
|
|
18
|
+
_inherits(BuyerMessageNotice, _BasicSelect);
|
|
19
|
+
var _super = _createSuper(BuyerMessageNotice);
|
|
20
|
+
function BuyerMessageNotice(options) {
|
|
21
|
+
var _this;
|
|
22
|
+
_classCallCheck(this, BuyerMessageNotice);
|
|
23
|
+
_this = _super.call(this, options);
|
|
24
|
+
_defineProperty(_assertThisInitialized(_this), "name", void 0);
|
|
25
|
+
_defineProperty(_assertThisInitialized(_this), "id", void 0);
|
|
26
|
+
_defineProperty(_assertThisInitialized(_this), "type", void 0);
|
|
27
|
+
_defineProperty(_assertThisInitialized(_this), "suffixKey", void 0);
|
|
28
|
+
_this.name = options.name;
|
|
29
|
+
_this.id = options.id;
|
|
30
|
+
_this.suffixKey = "buyerMessageNotice";
|
|
31
|
+
_this.type = "BUYER_MESSAGE_NOTICE";
|
|
32
|
+
return _this;
|
|
33
|
+
}
|
|
34
|
+
return _createClass(BuyerMessageNotice);
|
|
35
|
+
}(BasicSelect);
|
|
36
|
+
_defineProperty(BuyerMessageNotice, "group", "SPECIAL_COMPONENT");
|
|
37
|
+
_defineProperty(BuyerMessageNotice, "configSchema", {
|
|
38
|
+
componentConfig: {
|
|
39
|
+
required: false,
|
|
40
|
+
options: [{
|
|
41
|
+
label: "未通知",
|
|
42
|
+
value: "未通知"
|
|
43
|
+
}, {
|
|
44
|
+
label: "已通知",
|
|
45
|
+
value: "已通知"
|
|
46
|
+
}]
|
|
47
|
+
},
|
|
48
|
+
name: "买家消息通知(勿填)",
|
|
49
|
+
uniqueKey: "Dfs86Ack86",
|
|
50
|
+
schema: {
|
|
51
|
+
required: {
|
|
52
|
+
title: "必填",
|
|
53
|
+
type: "boolean"
|
|
54
|
+
},
|
|
55
|
+
status: {
|
|
56
|
+
widget: "StatusConfig",
|
|
57
|
+
type: "object",
|
|
58
|
+
default: {
|
|
59
|
+
created: SHOW_WRITE,
|
|
60
|
+
upgrade: SHOW_WRITE
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
_defineProperty(BuyerMessageNotice, "type", "BUYER_MESSAGE_NOTICE");
|
|
66
|
+
export default BuyerMessageNotice;
|
|
@@ -13,6 +13,26 @@ declare class EBuyerNick implements ComponentInterface {
|
|
|
13
13
|
canSort: boolean;
|
|
14
14
|
children: ComponentInterface[];
|
|
15
15
|
dataType: ComponentInterface["dataType"];
|
|
16
|
+
static group: string;
|
|
17
|
+
static configSchema: {
|
|
18
|
+
componentConfig: {
|
|
19
|
+
required: boolean;
|
|
20
|
+
replaceWarn: boolean;
|
|
21
|
+
};
|
|
22
|
+
name: string;
|
|
23
|
+
uniqueKey: string;
|
|
24
|
+
schema: {
|
|
25
|
+
required: {
|
|
26
|
+
title: string;
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
replaceWarn: {
|
|
30
|
+
title: string;
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
static type: string;
|
|
16
36
|
constructor(options: PickOption);
|
|
17
37
|
renderTaoBaoWangWang: (record: any, params: any) => React.JSX.Element;
|
|
18
38
|
renderClient: (record: any, params: any) => React.JSX.Element | null;
|
|
@@ -118,7 +118,7 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
|
118
118
|
});
|
|
119
119
|
this.name = options.name;
|
|
120
120
|
this.id = options.id;
|
|
121
|
-
this.type =
|
|
121
|
+
this.type = "BUYER_NICK_INPUT";
|
|
122
122
|
this.sortField = "".concat(options.id, "_buyerNick");
|
|
123
123
|
this.formField = "".concat(options.id, "_buyerNick");
|
|
124
124
|
this.isCombinationComponent = false;
|
|
@@ -138,5 +138,24 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
|
138
138
|
}
|
|
139
139
|
// 渲染淘宝端的时候需要亮灯
|
|
140
140
|
);
|
|
141
|
-
|
|
141
|
+
_defineProperty(EBuyerNick, "group", "E_COMPONENT");
|
|
142
|
+
_defineProperty(EBuyerNick, "configSchema", {
|
|
143
|
+
componentConfig: {
|
|
144
|
+
required: false,
|
|
145
|
+
replaceWarn: false
|
|
146
|
+
},
|
|
147
|
+
name: "买家昵称",
|
|
148
|
+
uniqueKey: "cUztapBEyd",
|
|
149
|
+
schema: {
|
|
150
|
+
required: {
|
|
151
|
+
title: "必填",
|
|
152
|
+
type: "boolean"
|
|
153
|
+
},
|
|
154
|
+
replaceWarn: {
|
|
155
|
+
title: "重复校验",
|
|
156
|
+
type: "boolean"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
_defineProperty(EBuyerNick, "type", "BUYER_NICK_INPUT");
|
|
142
161
|
export default EBuyerNick;
|
|
@@ -12,6 +12,24 @@ declare class Calculation implements ComponentInterface {
|
|
|
12
12
|
canSort: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
dataType: ComponentInterface["dataType"];
|
|
15
|
+
static group: string;
|
|
16
|
+
static configSchema: {
|
|
17
|
+
componentConfig: {
|
|
18
|
+
config: {
|
|
19
|
+
unit: string;
|
|
20
|
+
display: boolean;
|
|
21
|
+
calcList: never[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
name: string;
|
|
25
|
+
schema: {
|
|
26
|
+
config: {
|
|
27
|
+
type: string;
|
|
28
|
+
widget: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
static type: string;
|
|
15
33
|
constructor(options: PickOption);
|
|
16
34
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
17
35
|
renderLog: (r: Record) => React.JSX.Element | null;
|
|
@@ -46,7 +46,7 @@ var Calculation = /*#__PURE__*/_createClass(function Calculation(options) {
|
|
|
46
46
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
47
47
|
id: _this.id,
|
|
48
48
|
label: _this.name,
|
|
49
|
-
value: "".concat(record === null || record === void 0 ? void 0 : record[_this.id], " ").concat((_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : (_this$componentConfig3 = _this$componentConfig2.config) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.unit) !== null && _this$componentConfig !== void 0 ? _this$componentConfig :
|
|
49
|
+
value: "".concat(record === null || record === void 0 ? void 0 : record[_this.id], " ").concat((_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : (_this$componentConfig3 = _this$componentConfig2.config) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.unit) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : "")
|
|
50
50
|
}) : null;
|
|
51
51
|
});
|
|
52
52
|
_defineProperty(this, "editRender", function (p) {
|
|
@@ -59,7 +59,7 @@ var Calculation = /*#__PURE__*/_createClass(function Calculation(options) {
|
|
|
59
59
|
required: false,
|
|
60
60
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
61
61
|
style: {
|
|
62
|
-
display: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && (_this$componentConfig5 = _this$componentConfig4.config) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.display ?
|
|
62
|
+
display: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && (_this$componentConfig5 = _this$componentConfig4.config) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.display ? "unset" : "none"
|
|
63
63
|
} // TODO: 样式隐藏
|
|
64
64
|
,
|
|
65
65
|
component: /*#__PURE__*/React.createElement(CalculationInput, _extends({}, _this.componentConfig, {
|
|
@@ -87,7 +87,7 @@ var Calculation = /*#__PURE__*/_createClass(function Calculation(options) {
|
|
|
87
87
|
this.id = options.id;
|
|
88
88
|
this.sortField = "".concat(options.id, "_numericalCalculation");
|
|
89
89
|
this.formField = "".concat(options.id, "_numericalCalculation");
|
|
90
|
-
this.type =
|
|
90
|
+
this.type = "NUMERICAL_CALCULATION";
|
|
91
91
|
this.componentConfig = options.componentConfig;
|
|
92
92
|
this.rules = [];
|
|
93
93
|
this.isCombinationComponent = false;
|
|
@@ -95,4 +95,22 @@ var Calculation = /*#__PURE__*/_createClass(function Calculation(options) {
|
|
|
95
95
|
this.children = [];
|
|
96
96
|
this.dataType = "number";
|
|
97
97
|
});
|
|
98
|
+
_defineProperty(Calculation, "group", "BASIC_COMPONENT");
|
|
99
|
+
_defineProperty(Calculation, "configSchema", {
|
|
100
|
+
componentConfig: {
|
|
101
|
+
config: {
|
|
102
|
+
unit: "",
|
|
103
|
+
display: true,
|
|
104
|
+
calcList: []
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
name: "数值计算",
|
|
108
|
+
schema: {
|
|
109
|
+
config: {
|
|
110
|
+
type: "object",
|
|
111
|
+
widget: "CalculationOptions"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
_defineProperty(Calculation, "type", "NUMERICAL_CALCULATION");
|
|
98
116
|
export default Calculation;
|
|
@@ -1,19 +1,34 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, Record } from
|
|
2
|
-
import React from
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
|
|
2
|
+
import React from "react";
|
|
3
3
|
declare class BasicCascader implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
sortField: string;
|
|
7
7
|
type: string;
|
|
8
8
|
rules: any[];
|
|
9
|
-
componentConfig: ComponentInterface[
|
|
9
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
formField: string;
|
|
12
12
|
canSort: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
|
-
dataType: ComponentInterface[
|
|
15
|
-
format: ComponentInterface[
|
|
14
|
+
dataType: ComponentInterface["dataType"];
|
|
15
|
+
format: ComponentInterface["format"];
|
|
16
16
|
options: ComponentInterface['options'];
|
|
17
|
+
static group: string;
|
|
18
|
+
static configSchema: {
|
|
19
|
+
componentConfig: {
|
|
20
|
+
required: boolean;
|
|
21
|
+
options: never[];
|
|
22
|
+
};
|
|
23
|
+
name: string;
|
|
24
|
+
schema: {
|
|
25
|
+
required: {
|
|
26
|
+
title: string;
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
static type: string;
|
|
17
32
|
constructor(options: PickOption);
|
|
18
33
|
/**
|
|
19
34
|
* 通过值计算展示内容
|