@kmkf-fe-packages/services-components 2.2.44-beta.41 → 2.2.44-beta.44

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.
@@ -1,6 +1,6 @@
1
1
  import LogisticsInterception from "../components/LogisticsInterception";
2
2
  import LogisticsMoreInterception from "../components/LogisticsMoreInterception";
3
- export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/BS/BsLogistics").default | import("../components/TradeId").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/Checkbox").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/SelectOption").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/PicturePro").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/File").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/ShopName").default | import("../components/BuyerNick").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/ReceiverAddress").default | import("../components/TradeDateTime").default | import("../components/Logistics").default | import("../components/ReturnLogistics").default | import("../components/ActualPayment").default | import("../components/Remark").default | import("../components/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/EItemEnCode").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Payment").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSendGood").default | import("../components/JST/JstSupply").default | import("../components/BS/BsSystemOrder").default | import("../components/BS/BsGoods").default | import("../components/BsE3/BsGoods").default | import("../components/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").default | import("../components/BsE3/BsReissueE3").default | import("../components/BS/BsExchange").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/FlowStatusSelect").default | import("../components/FlowMarkSelect").default | import("../components/FlowTag").default | import("../components/TemplateSelect").default | import("../components/WorkOrderId").default | LogisticsInterception | LogisticsMoreInterception | import("../components/LogisticsTrajectory").default | import("../components/LogisticsMoreTrajectory").default | import("../components/PlatForm").default | import("../components/ShopInput").default | import("../components/Submitter").default | import("../components/PrevSubmitter").default | import("../components/FlowCreator").default | import("../components/Handler").default | import("../components/CompletedUser").default | import("../components/FlowWorkOrderId").default | import("../components/StatusSelect").default | import("../components/Calculation").default | import("../components/CommonSystemOrder").default | import("../components/CommonMultiStatus").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/WLN/WlnGoods").default | import("../components/BS/BsPosting").default | import("../components/NodeInput").default | import("../components/FlowWorkOrderStatus").default | import("../components/MsgStatus").default | import("../components/WDT/WdtGoods").default | import("../components/WDT/WdtRessuie").default | import("../components/WDT/WdtReturn").default | import("../components/WDT/WdtExchange").default | import("../components/WDT/WdtShopSelect").default | import("../components/KM/KmVideo").default | import("../components/CommonInput").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/AfterSalesOrderId").default | import("../components/GY/GyGoods").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/SKX/SkxIdInputSelect").default | import("../components/SKX/SkxGoods").default | import("../components/OrderSubForm").default;
3
+ export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/ActualPayment").default | import("../components/Address").default | import("../components/AfterSalesOrderId").default | import("../components/Alipay").default | import("../components/BS/BsExchange").default | import("../components/BS/BsGoods").default | import("../components/BS/BsLogistics").default | import("../components/BS/BsPosting").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/BS/BsSystemOrder").default | import("../components/BsE3/BsGoods").default | import("../components/BsE3/BsReissueE3").default | import("../components/BuyerNick").default | import("../components/Calculation").default | import("../components/Cascader").default | import("../components/Checkbox").default | import("../components/CommonDataTime").default | import("../components/CommonInput").default | import("../components/CommonMultiStatus").default | import("../components/CommonSystemOrder").default | import("../components/CompletedUser").default | import("../components/DataTime").default | import("../components/EItemEnCode").default | import("../components/EItemId").default | import("../components/EItemSelect").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Select").default | import("../components/SelectOption").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/PicturePro").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/File").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/TradeId").default | import("../components/ShopName").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/ReceiverAddress").default | import("../components/TradeDateTime").default | import("../components/Logistics").default | import("../components/ReturnLogistics").default | import("../components/Remark").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Payment").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSendGood").default | import("../components/JST/JstSupply").default | import("../components/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").default | import("../components/FlowStatusSelect").default | import("../components/FlowMarkSelect").default | import("../components/FlowTag").default | import("../components/TemplateSelect").default | import("../components/WorkOrderId").default | LogisticsInterception | LogisticsMoreInterception | import("../components/LogisticsTrajectory").default | import("../components/LogisticsMoreTrajectory").default | import("../components/PlatForm").default | import("../components/ShopInput").default | import("../components/Submitter").default | import("../components/PrevSubmitter").default | import("../components/FlowCreator").default | import("../components/Handler").default | import("../components/FlowWorkOrderId").default | import("../components/StatusSelect").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/WLN/WlnGoods").default | import("../components/NodeInput").default | import("../components/FlowWorkOrderStatus").default | import("../components/MsgStatus").default | import("../components/WDT/WdtGoods").default | import("../components/WDT/WdtRessuie").default | import("../components/WDT/WdtReturn").default | import("../components/WDT/WdtExchange").default | import("../components/WDT/WdtShopSelect").default | import("../components/KM/KmVideo").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/GY/GyGoods").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/SKX/SkxIdInputSelect").default | import("../components/SKX/SkxGoods").default | import("../components/OrderSubForm").default | import("../components/FlowOverallStatusSelect").default;
4
4
  export declare const useColumnsConfig: ({ queryWorkOrderDetail, flatTemplateList, shopList, sortState, onChangeSort, handleReset, handleSubmit, handleChangeSingleWorkOrderMark, userList, tbAppKey, isShare, openSingleColumnsFilter, openSingleColumnsSort, }: {
5
5
  queryWorkOrderDetail?: ((p: any) => void) | undefined;
6
6
  flatTemplateList?: any;
@@ -1,17 +1,17 @@
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 BsSystemOrder 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["componentConfig"];
10
- effects: ComponentInterface["effects"];
9
+ componentConfig: ComponentInterface['componentConfig'];
10
+ effects: ComponentInterface['effects'];
11
11
  isCombinationComponent: boolean;
12
12
  formField: string;
13
13
  canSort: boolean;
14
- dataType: ComponentInterface["dataType"];
14
+ dataType: ComponentInterface['dataType'];
15
15
  children: ComponentInterface[];
16
16
  sortChildField: {
17
17
  name: string;
@@ -19,6 +19,7 @@ declare class BsSystemOrder implements ComponentInterface {
19
19
  dataType: string;
20
20
  [key: string]: any;
21
21
  }[];
22
+ compoundConfig: ComponentInterface['compoundConfig'];
22
23
  constructor(options: PickOption);
23
24
  getSortChildFields: () => any;
24
25
  renderClient: (record: any) => React.JSX.Element | null;
@@ -2,21 +2,27 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2
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
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
4
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
6
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
7
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
9
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
10
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
11
  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
12
  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
13
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8
14
  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
15
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
16
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
- import React from "react";
17
+ import React from 'react';
12
18
  import GetFormItem from "../../GetFormItem";
13
19
  import ItemView from "../../../commonComponents/ItemView";
14
- import { isNull, KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, JY_SYSTEM_ORDER_CONFIG, JKY_SYSTEM_ORDER_CONFIG, WDT_RETURN_BILL_NO_CONFIG } from "@kmkf-fe-packages/kmkf-utils";
15
- import { BsSystemOrder as SystemOrder } from "@kmkf-fe-packages/basic-components";
20
+ import { isNull, KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, JY_SYSTEM_ORDER_CONFIG, JKY_SYSTEM_ORDER_CONFIG, WDT_RETURN_BILL_NO_CONFIG } from '@kmkf-fe-packages/kmkf-utils';
21
+ import { BsSystemOrder as SystemOrder } from '@kmkf-fe-packages/basic-components';
16
22
  import { BsSystemOrderTable } from "../../Common";
17
23
  import { BsHeaderChild } from "../common/index";
18
24
  import { SYMBOL, batchInput } from "../../../constant";
19
- import { getSystemShowHead } from "@kmkf-fe-packages/kmkf-utils";
25
+ import { getSystemShowHead } from '@kmkf-fe-packages/kmkf-utils';
20
26
  var typeMap = {
21
27
  BS_SYSTEM_ORDER: BS_SYSTEM_ORDER_CONFIG,
22
28
  KM_SYSTEM_ORDER: KM_SYSTEM_ORDER_CONFIG,
@@ -34,7 +40,9 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
34
40
  _getSystemShowHead,
35
41
  _typeMap$options$type,
36
42
  _options$componentCon,
37
- _this$componentConfig6;
43
+ _this$componentConfig6,
44
+ _typeMap$options$type2,
45
+ _typeMap$options$type3;
38
46
  _classCallCheck(this, BsSystemOrder);
39
47
  _defineProperty(this, "name", void 0);
40
48
  _defineProperty(this, "id", void 0);
@@ -49,20 +57,29 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
49
57
  _defineProperty(this, "dataType", void 0);
50
58
  _defineProperty(this, "children", void 0);
51
59
  _defineProperty(this, "sortChildField", void 0);
60
+ _defineProperty(this, "compoundConfig", void 0);
52
61
  _defineProperty(this, "getSortChildFields", function () {
53
- var _typeMap$_this$type, _this$componentConfig;
54
- return getSystemShowHead({
55
- columns: ((_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.columns) || [],
62
+ var _typeMap$_this$type, _typeMap$_this$type2, _typeMap$_this$type3, _this$componentConfig;
63
+ return [{
64
+ name: '绑定订单号',
65
+ key: (_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.orderNo,
66
+ dataType: 'string'
67
+ }, {
68
+ name: '选中系统订单号',
69
+ key: (_typeMap$_this$type2 = typeMap[_this.type]) === null || _typeMap$_this$type2 === void 0 ? void 0 : _typeMap$_this$type2.selectId,
70
+ dataType: 'array'
71
+ }].concat(_toConsumableArray(getSystemShowHead({
72
+ columns: ((_typeMap$_this$type3 = typeMap[_this.type]) === null || _typeMap$_this$type3 === void 0 ? void 0 : _typeMap$_this$type3.columns) || [],
56
73
  showHeader: (_this === null || _this === void 0 ? void 0 : (_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.showHeader) || []
57
74
  }).filter(function (item) {
58
- return !["picUrl"].includes(item.dataIndex);
75
+ return !['picUrl'].includes(item.dataIndex);
59
76
  }).map(function (item) {
60
77
  return {
61
78
  name: item.title,
62
79
  key: "".concat(_this.id, "_").concat(item.dataIndex),
63
- dataType: "arrayObject"
80
+ dataType: 'arrayObject'
64
81
  };
65
- });
82
+ })));
66
83
  });
67
84
  _defineProperty(this, "renderClient", function (record) {
68
85
  var _this$componentConfig2;
@@ -106,7 +123,7 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
106
123
  required: false,
107
124
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
108
125
  display: p === null || p === void 0 ? void 0 : p.display,
109
- tooltip: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.showTooltip ? (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.tooltip : "",
126
+ tooltip: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.showTooltip ? (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.tooltip : '',
110
127
  component: /*#__PURE__*/React.createElement(SystemOrder, _extends({}, _this.componentConfig, {
111
128
  onChange: p === null || p === void 0 ? void 0 : p.onChange,
112
129
  type: _this.type
@@ -121,7 +138,7 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
121
138
  // 过滤组件id
122
139
  name: item.name,
123
140
  // 过滤组件名称
124
- filterComponentType: "Input",
141
+ filterComponentType: 'Input',
125
142
  formatFilterValue: function formatFilterValue(input) {
126
143
  return batchInput(input);
127
144
  }
@@ -158,7 +175,19 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
158
175
  return Promise.resolve();
159
176
  }
160
177
  }] : [];
161
- this.dataType = "object";
178
+ this.dataType = 'object';
162
179
  this.sortChildField = this.getSortChildFields();
180
+ this.compoundConfig = [{
181
+ name: "\u7ED1\u5B9A\u8BA2\u5355\u53F7",
182
+ id: "".concat(options.id, "_").concat((_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.orderNo)
183
+ }, {
184
+ name: "\u9009\u4E2D\u7CFB\u7EDF\u8BA2\u5355\u53F7",
185
+ id: "".concat(options.id, "_").concat((_typeMap$options$type3 = typeMap[options.type]) === null || _typeMap$options$type3 === void 0 ? void 0 : _typeMap$options$type3.selectId)
186
+ }, {
187
+ name: "\u5546\u54C1\u5217\u8868",
188
+ id: "".concat(options.id, "_jySystemShowOrder"),
189
+ standardDateType: 'Array',
190
+ exampleValue: '[{"country":"","select":false,"payTime":"","isMallDeliveryAbnormal":0,"shopName":"","warehouseName":"","sourcePlatformName":"","fuzzyMobile":"","cityName":"","contact":"","modified":"","shopId":0,"tradeType":"","fuzzyAddress":"","tradeNo":"","districtName":"","mobile":"","sendTime":"","tradeTime":"","subOrderDetails":[{"gift":0,"mallSellingPrice":0,"bfit":false,"mallSkuId":"","productId":"","specCode":"","sellTotal":0,"mallProductId":"","sellPrice":0,"mallProductName":"","oid":"","uuid":"","productName":"","skuName":"","productCode":"","specName":"","mallSkuName":"","sellCount":0,"divideOrderFee":0,"settlementPrice":0,"goodsCode":"","systemOrderNo":"","goodsName":"","skuCode":""}],"sourcePlatformCode":"","warehouseId":0,"tradeStatus":"","endTime":"","provinceName":"","tradeId":"","fuzzyContact":""}]'
191
+ }];
163
192
  });
164
193
  export default BsSystemOrder;
@@ -1,19 +1,21 @@
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 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["componentConfig"];
9
+ componentConfig: ComponentInterface['componentConfig'];
10
10
  isCombinationComponent: boolean;
11
11
  formField: string;
12
12
  canSort: boolean;
13
13
  children: ComponentInterface[];
14
- dataType: ComponentInterface["dataType"];
15
- format: ComponentInterface["format"];
16
- options: ComponentInterface["options"];
14
+ dataType: ComponentInterface['dataType'];
15
+ format: ComponentInterface['format'];
16
+ options: ComponentInterface['options'];
17
+ exampleValue?: string;
18
+ standardDateType: ComponentInterface['standardDateType'];
17
19
  constructor(options: PickOption);
18
20
  /**
19
21
  * 通过值计算展示内容
@@ -6,13 +6,13 @@ 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";
10
- import { Cascader } from "antd";
11
- import intersection from "lodash/intersection";
9
+ import React from 'react';
10
+ import { Cascader } from 'antd';
11
+ import intersection from 'lodash/intersection';
12
12
  import GetFormItem from "../GetFormItem";
13
- import { findLabelBySelectValue, transMultSelectOptions, tree } from "@kmkf-fe-packages/kmkf-utils";
13
+ import { findLabelBySelectValue, transMultSelectOptions, tree } from '@kmkf-fe-packages/kmkf-utils';
14
14
  import ItemView from "../../commonComponents/ItemView";
15
- import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
15
+ import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
16
16
  import { SYMBOL } from "../../constant";
17
17
  var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
18
18
  var _this = this,
@@ -31,11 +31,13 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
31
31
  _defineProperty(this, "dataType", void 0);
32
32
  _defineProperty(this, "format", void 0);
33
33
  _defineProperty(this, "options", void 0);
34
+ _defineProperty(this, "exampleValue", void 0);
35
+ _defineProperty(this, "standardDateType", void 0);
34
36
  _defineProperty(this, "getValues", function (value) {
35
37
  var _findLabelBySelectVal, _findLabelBySelectVal2, _this$componentConfig;
36
38
  return (_findLabelBySelectVal = findLabelBySelectValue(value, (_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.options)) === null || _findLabelBySelectVal === void 0 ? void 0 : (_findLabelBySelectVal2 = _findLabelBySelectVal.map(function (i) {
37
39
  return i.label;
38
- })) === null || _findLabelBySelectVal2 === void 0 ? void 0 : _findLabelBySelectVal2.join(",");
40
+ })) === null || _findLabelBySelectVal2 === void 0 ? void 0 : _findLabelBySelectVal2.join(',');
39
41
  });
40
42
  _defineProperty(this, "renderClient", function (record) {
41
43
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -51,7 +53,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
51
53
  }
52
54
  return /*#__PURE__*/React.createElement("span", null, (_ref = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_multSelect")]) || []) === null || _ref === void 0 ? void 0 : (_ref$map = _ref.map(function (item) {
53
55
  return item === null || item === void 0 ? void 0 : item.label;
54
- })) === null || _ref$map === void 0 ? void 0 : _ref$map.join(","));
56
+ })) === null || _ref$map === void 0 ? void 0 : _ref$map.join(','));
55
57
  // return (
56
58
  // <span>
57
59
  // {findLabelBySelectValue(
@@ -75,11 +77,11 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
75
77
  _defineProperty(this, "renderExport", function (value, record) {
76
78
  var _ref2, _ref2$map;
77
79
  if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_multSelect")]) === undefined) {
78
- return "--";
80
+ return '--';
79
81
  }
80
82
  return (_ref2 = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_multSelect")]) || []) === null || _ref2 === void 0 ? void 0 : (_ref2$map = _ref2.map(function (item) {
81
83
  return item === null || item === void 0 ? void 0 : item.label;
82
- })) === null || _ref2$map === void 0 ? void 0 : _ref2$map.join(",");
84
+ })) === null || _ref2$map === void 0 ? void 0 : _ref2$map.join(',');
83
85
  // return findLabelBySelectValue(
84
86
  // (record?.[`${this.id}_multSelect`] || [])?.map(
85
87
  // (item: any) => item.actived
@@ -98,14 +100,14 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
98
100
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
99
101
  required: (_this$componentConfig2 = (_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.required) !== null && _this$componentConfig2 !== void 0 ? _this$componentConfig2 : false,
100
102
  display: p === null || p === void 0 ? void 0 : p.display,
101
- tooltip: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.showTooltip ? (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.tooltip : "",
103
+ tooltip: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.showTooltip ? (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.tooltip : '',
102
104
  component: /*#__PURE__*/React.createElement(Cascader, _extends({}, _this.componentConfig, {
103
105
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
104
106
  options: transMultSelectOptions(((_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.options) || []),
105
107
  fieldNames: {
106
- label: "label",
107
- value: "actived",
108
- children: "children"
108
+ label: 'label',
109
+ value: 'actived',
110
+ children: 'children'
109
111
  },
110
112
  showSearch: true,
111
113
  onChange: p === null || p === void 0 ? void 0 : p.onChange
@@ -122,26 +124,26 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
122
124
  // 过滤组件id
123
125
  name: item.name,
124
126
  // 过滤组件名称
125
- filterComponentType: "Cascader",
127
+ filterComponentType: 'Cascader',
126
128
  props: {
127
129
  options: options,
128
130
  multiple: true,
129
- maxTagCount: "responsive",
131
+ maxTagCount: 'responsive',
130
132
  fieldNames: {
131
- label: "label",
132
- value: "actived",
133
- children: "children"
133
+ label: 'label',
134
+ value: 'actived',
135
+ children: 'children'
134
136
  }
135
137
  },
136
138
  filterFn: function filterFn(value) {
137
139
  return function (i) {
138
- return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, "basicMultSelect")).length > 0;
140
+ return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
139
141
  };
140
142
  },
141
143
  formatFilterValue: function formatFilterValue(val) {
142
144
  if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
143
145
  return val.map(function (item) {
144
- var node = tree.findNodeByValue(options, "actived", item[item.length - 1]);
146
+ var node = tree.findNodeByValue(options, 'actived', item[item.length - 1]);
145
147
  if (node) {
146
148
  var label = node.label,
147
149
  actived = node.actived;
@@ -165,9 +167,11 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
165
167
  this.children = [];
166
168
  this.isCombinationComponent = false;
167
169
  this.canSort = true;
168
- this.dataType = "array";
169
- this.format = "cascader";
170
+ this.dataType = 'array';
171
+ this.format = 'cascader';
170
172
  this.options = ((_this$componentConfig7 = this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.options) || [];
173
+ this.standardDateType = 'Array';
174
+ this.exampleValue = '[{"label":"卖家补偿","actived":3},{"label":"麦基修改","actived":"3-1"}]';
171
175
  }
172
176
 
173
177
  /**
@@ -1,19 +1,19 @@
1
- import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
2
- import React from "react";
3
- import AlipayNick from "./AlipayNick";
4
- import AlipayNo from "./AlipayNo";
5
- import AlipayTime from "./AlipayTime";
6
- import BuyerNick from "./BuyerNick";
7
- import PaymentAmount from "./PaymentAmount";
8
- import PaymentStatus from "./PaymentStatus";
9
- import PaymentTid from "./PaymentTid";
1
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
+ import React from 'react';
3
+ import AlipayNick from './AlipayNick';
4
+ import AlipayNo from './AlipayNo';
5
+ import AlipayTime from './AlipayTime';
6
+ import BuyerNick from './BuyerNick';
7
+ import PaymentAmount from './PaymentAmount';
8
+ import PaymentStatus from './PaymentStatus';
9
+ import PaymentTid from './PaymentTid';
10
10
  declare class Logistics implements ComponentInterface {
11
11
  name: string;
12
12
  id: string;
13
13
  sortField: string;
14
14
  type: string;
15
15
  rules: any[];
16
- componentConfig: ComponentInterface["componentConfig"];
16
+ componentConfig: ComponentInterface['componentConfig'];
17
17
  paymentTid: PaymentTid;
18
18
  paymentStatus: PaymentStatus;
19
19
  paymentAmount: PaymentAmount;
@@ -25,8 +25,9 @@ declare class Logistics implements ComponentInterface {
25
25
  formField: string;
26
26
  canSort: boolean;
27
27
  children: ComponentInterface[];
28
- dataType: ComponentInterface["dataType"];
29
- effects: ComponentInterface["effects"];
28
+ dataType: ComponentInterface['dataType'];
29
+ effects: ComponentInterface['effects'];
30
+ compoundConfig: ComponentInterface['compoundConfig'];
30
31
  constructor(options: PickOption);
31
32
  renderClient: (record: any, params: any) => React.JSX.Element;
32
33
  renderPc: () => null;
@@ -8,8 +8,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
8
8
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
9
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
10
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
- import React from "react";
12
- import { Payment as ApaasPayment } from "@kmkf-fe-packages/basic-components";
11
+ import React from 'react';
12
+ import { Payment as ApaasPayment } from '@kmkf-fe-packages/basic-components';
13
13
  import GetFormItem from "../GetFormItem";
14
14
  import AlipayNick from "./AlipayNick";
15
15
  import AlipayNo from "./AlipayNo";
@@ -40,6 +40,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
40
40
  _defineProperty(this, "children", void 0);
41
41
  _defineProperty(this, "dataType", void 0);
42
42
  _defineProperty(this, "effects", void 0);
43
+ _defineProperty(this, "compoundConfig", void 0);
43
44
  _defineProperty(this, "renderClient", function (record, params) {
44
45
  return /*#__PURE__*/React.createElement(React.Fragment, null, _this.alipayNick.renderClient(record), _this.paymentAmount.renderClient(record), _this.alipayNo.renderClient(record), _this.buyerNick.renderClient(record, params), _this.paymentTid.renderClient(record), _this.paymentStatus.renderClient(record), _this.payTime.renderClient(record));
45
46
  });
@@ -104,32 +105,51 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
104
105
  validator: function validator(_, value) {
105
106
  var _this$componentConfig6, _this$componentConfig7, _this$componentConfig8, _this$componentConfig9;
106
107
  if ((_this$componentConfig6 = _this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.required && !(value !== null && value !== void 0 && value.enterprisePaymentRefundFee)) {
107
- return Promise.reject(new Error("请输入打款金额"));
108
+ return Promise.reject(new Error('请输入打款金额'));
108
109
  } else if (value !== null && value !== void 0 && value.enterprisePaymentRefundFee && !/^(([1-9]{1}\d*)|(0{1}))(\.\d{1,2})?$/.test(value === null || value === void 0 ? void 0 : value.enterprisePaymentRefundFee)) {
109
- return Promise.reject(new Error("打款金额最多2位小数"));
110
+ return Promise.reject(new Error('打款金额最多2位小数'));
110
111
  }
111
112
  if ((_this$componentConfig7 = _this.componentConfig) !== null && _this$componentConfig7 !== void 0 && _this$componentConfig7.required && !(value !== null && value !== void 0 && value.enterprisePaymentTid)) {
112
- return Promise.reject(new Error("请输入订单编号"));
113
+ return Promise.reject(new Error('请输入订单编号'));
113
114
  } else if (value.enterprisePaymentTid && !/^[0-9a-zA-Z_-]{1,}$/.test(value.enterprisePaymentTid)) {
114
- return Promise.reject(new Error("请输入正确的订单编号"));
115
+ return Promise.reject(new Error('请输入正确的订单编号'));
115
116
  }
116
117
  if ((_this$componentConfig8 = _this.componentConfig) !== null && _this$componentConfig8 !== void 0 && _this$componentConfig8.zhiFubaoRequired && !(value !== null && value !== void 0 && value.enterprisePaymentAlipayNick)) {
117
- return Promise.reject(new Error("请输入支付宝名称"));
118
+ return Promise.reject(new Error('请输入支付宝名称'));
118
119
  }
119
120
  if ((_this$componentConfig9 = _this.componentConfig) !== null && _this$componentConfig9 !== void 0 && _this$componentConfig9.zhiFubaoRequired && !(value !== null && value !== void 0 && value.enterprisePaymentAlipayNo)) {
120
- return Promise.reject(new Error("请输入支付宝账号"));
121
+ return Promise.reject(new Error('请输入支付宝账号'));
121
122
  } else if (value.enterprisePaymentAlipayNo && !/^(?:1[3-9]\d{9}|[a-zA-Z\d._-]*\@[a-zA-Z\d.-]{1,10}\.[a-zA-Z\d]{1,20})$/.test(value.enterprisePaymentAlipayNo)) {
122
- return Promise.reject(new Error("请输入正确的支付宝账号格式"));
123
+ return Promise.reject(new Error('请输入正确的支付宝账号格式'));
123
124
  }
124
125
  //支付宝信息不能只填一个,否则不能打款
125
126
  if (value !== null && value !== void 0 && value.enterprisePaymentAlipayNick || value !== null && value !== void 0 && value.enterprisePaymentAlipayNo) {
126
127
  if (!(value !== null && value !== void 0 && value.enterprisePaymentAlipayNick && value !== null && value !== void 0 && value.enterprisePaymentAlipayNo)) {
127
- return Promise.reject(new Error("支付宝姓名/账号都要填写"));
128
+ return Promise.reject(new Error('支付宝姓名/账号都要填写'));
128
129
  }
129
130
  }
130
131
  return Promise.resolve();
131
132
  }
132
133
  }];
133
- this.dataType = "object";
134
+ this.dataType = 'object';
135
+ this.compoundConfig = [{
136
+ name: "\u8BA2\u5355\u7F16\u53F7",
137
+ id: "".concat(options.id, "_enterprisePaymentTid")
138
+ }, {
139
+ name: "\u6253\u6B3E\u91D1\u989D",
140
+ id: "".concat(options.id, "_enterprisePaymentRefundFee")
141
+ }, {
142
+ name: "\u4E70\u5BB6\u6635\u79F0",
143
+ id: "".concat(options.id, "_enterprisePaymentBuyerNick")
144
+ }, {
145
+ name: "\u652F\u4ED8\u5B9D\u59D3\u540D",
146
+ id: "".concat(options.id, "_enterprisePaymentAlipayNick")
147
+ }, {
148
+ name: "\u652F\u4ED8\u5B9D\u8D26\u53F7",
149
+ id: "".concat(options.id, "_enterprisePaymentAlipayNo")
150
+ }, {
151
+ name: "\u6253\u6B3E\u72B6\u6001",
152
+ id: "".concat(options.id, "_enterprisePaymentStatus")
153
+ }];
134
154
  });
135
155
  export default Logistics;
@@ -1,6 +1,6 @@
1
- import { ComponentInterface, PickOption, Record } from "../../type";
2
- import React from "react";
3
- import "./index.less";
1
+ import { ComponentInterface, PickOption, Record } from '../../type';
2
+ import React from 'react';
3
+ import './index.less';
4
4
  declare type Value = {
5
5
  url: string;
6
6
  name: string;
@@ -11,19 +11,21 @@ declare class BasicPicturePro implements ComponentInterface {
11
11
  sortField: string;
12
12
  type: string;
13
13
  rules: any[];
14
- componentConfig: ComponentInterface["componentConfig"];
14
+ componentConfig: ComponentInterface['componentConfig'];
15
15
  isCombinationComponent: boolean;
16
16
  formField: string;
17
17
  canSort: boolean;
18
18
  children: ComponentInterface[];
19
- dataType: ComponentInterface["dataType"];
20
- currenEnv: ComponentInterface["platform"];
19
+ dataType: ComponentInterface['dataType'];
20
+ currenEnv: ComponentInterface['platform'];
21
21
  sortChildField: {
22
22
  name: string;
23
23
  key: string;
24
24
  dataType: string;
25
25
  [key: string]: any;
26
26
  }[];
27
+ exampleValue?: string;
28
+ standardDateType: ComponentInterface['standardDateType'];
27
29
  constructor(options: PickOption);
28
30
  formatPictures: (pictures: string) => string[];
29
31
  getSortChildFields: () => any;
@@ -8,17 +8,17 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
8
8
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
9
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
10
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
- import React from "react";
12
- import { ApaasUploadProAsync } from "@kmkf-fe-packages/basic-components";
11
+ import React from 'react';
12
+ import { ApaasUploadProAsync } from '@kmkf-fe-packages/basic-components';
13
13
  import GetFormItem from "../GetFormItem";
14
14
  import ItemView from "../../commonComponents/ItemView";
15
15
  import PictureName from "./PictureName";
16
16
  import PictureUrl from "./PictureUrl";
17
- import { isNull } from "@kmkf-fe-packages/kmkf-utils";
17
+ import { isNull } from '@kmkf-fe-packages/kmkf-utils';
18
18
  import "./index.less";
19
- import { Image, Tooltip, message } from "antd";
20
- import { DownloadOutlined, CopyOutlined } from "@ant-design/icons";
21
- import copy from "copy-to-clipboard";
19
+ import { Image, Tooltip, message } from 'antd';
20
+ import { DownloadOutlined, CopyOutlined } from '@ant-design/icons';
21
+ import copy from 'copy-to-clipboard';
22
22
  import { hostUrl } from "../../constant";
23
23
  var BasicPicturePro = /*#__PURE__*/_createClass(function BasicPicturePro(options) {
24
24
  var _this = this,
@@ -37,20 +37,22 @@ var BasicPicturePro = /*#__PURE__*/_createClass(function BasicPicturePro(options
37
37
  _defineProperty(this, "dataType", void 0);
38
38
  _defineProperty(this, "currenEnv", void 0);
39
39
  _defineProperty(this, "sortChildField", void 0);
40
+ _defineProperty(this, "exampleValue", void 0);
41
+ _defineProperty(this, "standardDateType", void 0);
40
42
  _defineProperty(this, "formatPictures", function (pictures) {
41
- pictures = pictures.replace(/[\[\]]/g, "");
42
- pictures = pictures.replace(/\s/g, "");
43
- return pictures ? pictures.split(",") : [];
43
+ pictures = pictures.replace(/[\[\]]/g, '');
44
+ pictures = pictures.replace(/\s/g, '');
45
+ return pictures ? pictures.split(',') : [];
44
46
  });
45
47
  _defineProperty(this, "getSortChildFields", function () {
46
48
  return [{
47
- name: "图片名称",
49
+ name: '图片名称',
48
50
  key: "".concat(_this.id, "_name"),
49
- dataType: "arrayObject"
51
+ dataType: 'arrayObject'
50
52
  }, {
51
- name: "图片链接",
53
+ name: '图片链接',
52
54
  key: "".concat(_this.id, "_url"),
53
- dataType: "arrayObject"
55
+ dataType: 'arrayObject'
54
56
  }];
55
57
  });
56
58
  _defineProperty(this, "render", function (value) {
@@ -60,29 +62,29 @@ var BasicPicturePro = /*#__PURE__*/_createClass(function BasicPicturePro(options
60
62
  }
61
63
  var copyText = value.map(function (item) {
62
64
  return item.name;
63
- }).join(",");
65
+ }).join(',');
64
66
  var onCopy = function onCopy() {
65
67
  copy(copyText);
66
- message.success("图片名称复制成功");
68
+ message.success('图片名称复制成功');
67
69
  };
68
70
  return /*#__PURE__*/React.createElement("div", {
69
71
  className: "pictureProClient"
70
72
  }, /*#__PURE__*/React.createElement(Image.PreviewGroup, {
71
- preview: _this.currenEnv === "ks" ? {
72
- getContainer: (_document = document) === null || _document === void 0 ? void 0 : _document.getElementById("root")
73
+ preview: _this.currenEnv === 'ks' ? {
74
+ getContainer: (_document = document) === null || _document === void 0 ? void 0 : _document.getElementById('root')
73
75
  } : true
74
76
  }, value.map(function (item) {
75
77
  var finalImage = "".concat(/^pic\/[\s\S]*$/.test(item.url) ? "".concat(hostUrl, "/").concat(item.url) : item.url, "?x-oss-process=image/resize,h_60,w_60");
76
78
  var showImage = /^pic\/[\s\S]*$/.test(item.url) ? "".concat(hostUrl, "/").concat(item.url) : item.url;
77
79
  var downloadHandle = function downloadHandle() {
78
- if (_this.currenEnv === "pc") {
80
+ if (_this.currenEnv === 'pc') {
79
81
  try {
80
82
  fetch("".concat(hostUrl, "/").concat(item.url)).then(function (res) {
81
83
  return res.blob();
82
84
  }).then(function (blob) {
83
- var a = document.createElement("a");
85
+ var a = document.createElement('a');
84
86
  document.body.appendChild(a);
85
- a.style.display = "none";
87
+ a.style.display = 'none';
86
88
  var url = window.URL.createObjectURL(blob);
87
89
  a.href = url;
88
90
  a.download = item.name;
@@ -95,7 +97,7 @@ var BasicPicturePro = /*#__PURE__*/_createClass(function BasicPicturePro(options
95
97
  }
96
98
  } else {
97
99
  copy("".concat(hostUrl, "/").concat(item.url));
98
- message.success("图片链接复制成功");
100
+ message.success('图片链接复制成功');
99
101
  }
100
102
  };
101
103
  return /*#__PURE__*/React.createElement("div", {
@@ -108,15 +110,15 @@ var BasicPicturePro = /*#__PURE__*/_createClass(function BasicPicturePro(options
108
110
  preview: {
109
111
  src: showImage
110
112
  },
111
- width: "100%",
112
- height: "100%"
113
+ width: '100%',
114
+ height: '100%'
113
115
  })), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Tooltip, {
114
116
  title: item.name
115
117
  }, /*#__PURE__*/React.createElement("div", {
116
118
  className: "pictureProText"
117
119
  }, item.name)), /*#__PURE__*/React.createElement("div", {
118
120
  className: "pictureProOperate"
119
- }, _this.currenEnv === "pc" ? /*#__PURE__*/React.createElement(DownloadOutlined, {
121
+ }, _this.currenEnv === 'pc' ? /*#__PURE__*/React.createElement(DownloadOutlined, {
120
122
  className: "downloadIcon",
121
123
  onClick: downloadHandle
122
124
  }) : /*#__PURE__*/React.createElement(CopyOutlined, {
@@ -154,9 +156,9 @@ var BasicPicturePro = /*#__PURE__*/_createClass(function BasicPicturePro(options
154
156
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
155
157
  display: p === null || p === void 0 ? void 0 : p.display,
156
158
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
157
- tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : "",
159
+ tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
158
160
  component: /*#__PURE__*/React.createElement(ApaasUploadProAsync, _extends({}, _this.componentConfig, {
159
- uniqueKey: "picturePro",
161
+ uniqueKey: 'picturePro',
160
162
  hostUrl: hostUrl,
161
163
  platform: _this.currenEnv
162
164
  }))
@@ -178,16 +180,18 @@ var BasicPicturePro = /*#__PURE__*/_createClass(function BasicPicturePro(options
178
180
  this.isCombinationComponent = true;
179
181
  this.canSort = true;
180
182
  this.children = [new PictureName(_objectSpread(_objectSpread({}, options), {}, {
181
- name: "图片名称",
183
+ name: '图片名称',
182
184
  id: "".concat(options.id, "_pictureProList_name"),
183
185
  width: 250
184
186
  })), new PictureUrl(_objectSpread(_objectSpread({}, options), {}, {
185
- name: "图片详情",
187
+ name: '图片详情',
186
188
  id: "".concat(options.id, "_pictureProList_url"),
187
189
  width: 200
188
190
  }))];
189
- this.dataType = "object";
191
+ this.dataType = 'object';
190
192
  this.currenEnv = options === null || options === void 0 ? void 0 : (_options$effects = options.effects) === null || _options$effects === void 0 ? void 0 : _options$effects.env;
191
193
  this.sortChildField = this.getSortChildFields();
194
+ this.exampleValue = '[{"name":"c.jpeg","url":"https://kefu.kuaimai.com/pic/c.jpeg"}]';
195
+ this.standardDateType = 'Array';
192
196
  });
193
197
  export default BasicPicturePro;
@@ -31,7 +31,7 @@ declare class BasicPosting implements ComponentInterface {
31
31
  sortColumns: SortColumnsField;
32
32
  headerProvince: boolean;
33
33
  constructor(options: PickOption);
34
- getChildren: () => (Province | City | District | Detail | ReceiverName | ReceiverMobile | undefined)[];
34
+ getChildren: () => (City | Detail | District | Province | ReceiverMobile | ReceiverName | undefined)[];
35
35
  getSortColumns: (sortColumns: string | undefined) => SortColumnsField;
36
36
  renderPc: (value: any, record: Record) => React.JSX.Element | null;
37
37
  renderLog: (r: Record) => React.JSX.Element | null;
@@ -1,6 +1,6 @@
1
- import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../../type";
2
- import React from "react";
3
- import CommonHeaderGoods from "../../CommonHeaderGood";
1
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../../type';
2
+ import React from 'react';
3
+ import CommonHeaderGoods from '../../CommonHeaderGood';
4
4
  declare const CONFIG_MAP: Record;
5
5
  declare class PublicGoods implements ComponentInterface {
6
6
  name: string;
@@ -8,13 +8,13 @@ declare class PublicGoods implements ComponentInterface {
8
8
  sortField: string;
9
9
  type: keyof typeof CONFIG_MAP;
10
10
  rules: any[];
11
- componentConfig: ComponentInterface["componentConfig"];
12
- effects: ComponentInterface["effects"];
11
+ componentConfig: ComponentInterface['componentConfig'];
12
+ effects: ComponentInterface['effects'];
13
13
  isCombinationComponent: boolean;
14
14
  formField: string;
15
15
  canSort: boolean;
16
16
  children: ComponentInterface[];
17
- dataType: ComponentInterface["dataType"];
17
+ dataType: ComponentInterface['dataType'];
18
18
  headers: CommonHeaderGoods;
19
19
  sortChildField: {
20
20
  name: string;
@@ -8,39 +8,39 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
8
8
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
9
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
10
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
- import React from "react";
11
+ import React from 'react';
12
12
  import GetFormItem from "../../GetFormItem";
13
13
  import { BsGoodsTable } from "../../Common";
14
14
  import CommonHeaderGoods from "../../CommonHeaderGood";
15
15
  import ItemView from "../../../commonComponents/ItemView";
16
- import { isNull } from "@kmkf-fe-packages/kmkf-utils";
17
- import { CommonGoods as Goods } from "@kmkf-fe-packages/basic-components";
16
+ import { isNull } from '@kmkf-fe-packages/kmkf-utils';
17
+ import { CommonGoods as Goods } from '@kmkf-fe-packages/basic-components';
18
18
  import { getColumnsMap } from "../../Common/constants/columnsBaseInfoMap";
19
19
  import { SYMBOL } from "../../../constant";
20
20
  var CONFIG_MAP = {
21
21
  JST_GOODS: {
22
- name: "聚水潭",
23
- key: "jstGoods"
22
+ name: '聚水潭',
23
+ key: 'jstGoods'
24
24
  },
25
25
  KM_GOODS: {
26
- name: "快麦ERP",
27
- key: "kmGoods"
26
+ name: '快麦ERP',
27
+ key: 'kmGoods'
28
28
  },
29
29
  JY_GOODS: {
30
- name: "巨益",
31
- key: "jyGoods"
30
+ name: '巨益',
31
+ key: 'jyGoods'
32
32
  },
33
33
  JKY_GOODS: {
34
34
  name: "吉客云",
35
35
  key: "jkyGoods"
36
36
  },
37
37
  WDT_AFTERSALE_GOODS: {
38
- name: "旺店通售后",
39
- key: "wdtAftersaleGoods"
38
+ name: '旺店通售后',
39
+ key: 'wdtAftersaleGoods'
40
40
  },
41
41
  JST_AFTERSALE_GOODS: {
42
- name: "jst售后",
43
- key: "jstAftersaleGoods"
42
+ name: 'jst售后',
43
+ key: 'jstAftersaleGoods'
44
44
  }
45
45
  };
46
46
  var PublicGoods = /*#__PURE__*/_createClass(function PublicGoods(options) {
@@ -65,12 +65,12 @@ var PublicGoods = /*#__PURE__*/_createClass(function PublicGoods(options) {
65
65
  _defineProperty(this, "getSortChildFields", function () {
66
66
  var Columns = getColumnsMap();
67
67
  return Columns[_this.type].filter(function (item) {
68
- return !["picUrl"].includes(item.dataIndex);
68
+ return !['picUrl'].includes(item.dataIndex);
69
69
  }).map(function (item) {
70
70
  return {
71
71
  name: item.title,
72
72
  key: "".concat(_this.id, "_").concat(item.dataIndex),
73
- dataType: "arrayObject"
73
+ dataType: 'arrayObject'
74
74
  };
75
75
  });
76
76
  });
@@ -114,7 +114,7 @@ var PublicGoods = /*#__PURE__*/_createClass(function PublicGoods(options) {
114
114
  required: false,
115
115
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
116
116
  display: p === null || p === void 0 ? void 0 : p.display,
117
- tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : "",
117
+ tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
118
118
  component: /*#__PURE__*/React.createElement(Goods, _extends({}, _this.componentConfig, {
119
119
  maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
120
120
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
@@ -134,7 +134,7 @@ var PublicGoods = /*#__PURE__*/_createClass(function PublicGoods(options) {
134
134
  // 过滤组件id
135
135
  name: item.name,
136
136
  // 过滤组件名称
137
- filterComponentType: "Input"
137
+ filterComponentType: 'Input'
138
138
  }];
139
139
  });
140
140
  this.type = options.type;
@@ -148,7 +148,7 @@ var PublicGoods = /*#__PURE__*/_createClass(function PublicGoods(options) {
148
148
  this.canSort = false;
149
149
  this.headers = new CommonHeaderGoods(_objectSpread(_objectSpread({}, options), {}, {
150
150
  id: "".concat(options.id, "_").concat(key),
151
- name: "商品信息"
151
+ name: '商品信息'
152
152
  }));
153
153
  this.children = [this.headers];
154
154
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
@@ -163,7 +163,7 @@ var PublicGoods = /*#__PURE__*/_createClass(function PublicGoods(options) {
163
163
  return Promise.resolve();
164
164
  }
165
165
  }] : [];
166
- this.dataType = "object";
166
+ this.dataType = 'object';
167
167
  this.sortChildField = this.getSortChildFields();
168
168
  });
169
169
  export default PublicGoods;
@@ -1,6 +1,6 @@
1
- import { ComponentInterface, PickOption, Record } from "../../type";
2
- import React from "react";
3
- import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
1
+ import { ComponentInterface, PickOption, Record } from '../../type';
2
+ import React from 'react';
3
+ import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
4
4
  declare type Value = {
5
5
  address?: (string | number)[];
6
6
  detail?: string;
@@ -11,14 +11,15 @@ declare class BasicInput implements ComponentInterface {
11
11
  sortField: string;
12
12
  type: string;
13
13
  rules: any[];
14
- componentConfig: ComponentInterface["componentConfig"];
15
- effects: ComponentInterface["effects"];
14
+ componentConfig: ComponentInterface['componentConfig'];
15
+ effects: ComponentInterface['effects'];
16
16
  isCombinationComponent: boolean;
17
17
  formField: string;
18
18
  canSort: boolean;
19
19
  children: ComponentInterface[];
20
20
  addressDateInstance: InstanceType<typeof AddressData>;
21
- dataType: ComponentInterface["dataType"];
21
+ dataType: ComponentInterface['dataType'];
22
+ compoundConfig: ComponentInterface['compoundConfig'];
22
23
  constructor(options: PickOption);
23
24
  render: (value: Value) => React.JSX.Element;
24
25
  transTextToNumber: (value?: string) => string | number | undefined;
@@ -8,17 +8,17 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
8
8
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
9
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
10
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
- import React from "react";
12
- import { Address } from "@kmkf-fe-packages/basic-components";
13
- import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
11
+ import React from 'react';
12
+ import { Address } from '@kmkf-fe-packages/basic-components';
13
+ import { AddressData } from '@kmkf-fe-packages/kmkf-utils';
14
14
  import GetFormItem from "../GetFormItem";
15
15
  import ItemView from "../../commonComponents/ItemView";
16
- import { isNull } from "@kmkf-fe-packages/kmkf-utils";
17
- import every from "lodash/every";
16
+ import { isNull } from '@kmkf-fe-packages/kmkf-utils';
17
+ import every from 'lodash/every';
18
18
  import { queryWorkOrderDetail } from "../../service/api";
19
- import copy from "copy-to-clipboard";
20
- import { message } from "antd";
21
- import { CopyOutlined } from "@ant-design/icons";
19
+ import copy from 'copy-to-clipboard';
20
+ import { message } from 'antd';
21
+ import { CopyOutlined } from '@ant-design/icons';
22
22
  var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
23
23
  var _this = this,
24
24
  _this$componentConfig5;
@@ -36,13 +36,14 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
36
36
  _defineProperty(this, "children", void 0);
37
37
  _defineProperty(this, "addressDateInstance", void 0);
38
38
  _defineProperty(this, "dataType", void 0);
39
+ _defineProperty(this, "compoundConfig", void 0);
39
40
  _defineProperty(this, "render", function (value) {
40
41
  var _value$address;
41
42
  return /*#__PURE__*/React.createElement("span", {
42
43
  className: "pointer"
43
44
  }, value === null || value === void 0 ? void 0 : (_value$address = value.address) === null || _value$address === void 0 ? void 0 : _value$address.map(function (suffix) {
44
45
  return _this.addressDateInstance.getNameByCode(suffix);
45
- }).join(""), value === null || value === void 0 ? void 0 : value.detail);
46
+ }).join(''), value === null || value === void 0 ? void 0 : value.detail);
46
47
  });
47
48
  _defineProperty(this, "transTextToNumber", function (value) {
48
49
  return value ? +value : value;
@@ -66,10 +67,10 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
66
67
  e.stopPropagation();
67
68
  _context.prev = 1;
68
69
  addressText = (_address = address) === null || _address === void 0 ? void 0 : _address.map(function () {
69
- var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
70
+ var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
70
71
  return _this.addressDateInstance.getNameByCode(suffix);
71
- }).join("");
72
- if (!(detail.indexOf("*") > -1)) {
72
+ }).join('');
73
+ if (!(detail.indexOf('*') > -1)) {
73
74
  _context.next = 12;
74
75
  break;
75
76
  }
@@ -85,13 +86,13 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
85
86
  success = _yield$queryWorkOrder.success;
86
87
  if (success) {
87
88
  copy("".concat(addressText).concat(data === null || data === void 0 ? void 0 : (_data$jsonMap = data.jsonMap) === null || _data$jsonMap === void 0 ? void 0 : _data$jsonMap["".concat(_this.id, "_address")]));
88
- message.success("复制成功");
89
+ message.success('复制成功');
89
90
  }
90
91
  _context.next = 14;
91
92
  break;
92
93
  case 12:
93
94
  copy("".concat(addressText).concat(detail));
94
- message.success("复制成功");
95
+ message.success('复制成功');
95
96
  case 14:
96
97
  _context.next = 19;
97
98
  break;
@@ -113,15 +114,15 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
113
114
  className: "pointer",
114
115
  onClick: function onClick(e) {
115
116
  var _this$effects, _this$effects2;
116
- typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === "function" && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
117
+ typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
117
118
  e.stopPropagation();
118
119
  }
119
120
  }, (_address2 = address) === null || _address2 === void 0 ? void 0 : _address2.map(function () {
120
- var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
121
+ var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
121
122
  return _this.addressDateInstance.getNameByCode(suffix);
122
- }).join(""), detail, " ", /*#__PURE__*/React.createElement(CopyOutlined, {
123
+ }).join(''), detail, ' ', /*#__PURE__*/React.createElement(CopyOutlined, {
123
124
  style: {
124
- color: "#1B5BF3"
125
+ color: '#1B5BF3'
125
126
  },
126
127
  onClick: function onClick(e) {
127
128
  return copyHandler(e, record);
@@ -136,9 +137,9 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
136
137
  }) ? [] : address;
137
138
  var detail = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_address")];
138
139
  return "".concat((_address3 = address) === null || _address3 === void 0 ? void 0 : _address3.map(function () {
139
- var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
140
+ var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
140
141
  return _this.addressDateInstance.getNameByCode(suffix);
141
- }).join(""), " ").concat(detail || "");
142
+ }).join(''), " ").concat(detail || '');
142
143
  });
143
144
  _defineProperty(this, "getComponentValue", function (r) {
144
145
  return {
@@ -149,7 +150,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
149
150
  _defineProperty(this, "renderExport", function (value, record) {
150
151
  var _address4;
151
152
  if (record["".concat(_this.id, "_province")] === undefined) {
152
- return "--";
153
+ return '--';
153
154
  }
154
155
  var address = [_this.transTextToNumber(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_province")]), _this.transTextToNumber(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_city")]), _this.transTextToNumber(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_district")])];
155
156
  address = every(address, function (item) {
@@ -157,9 +158,9 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
157
158
  }) ? [] : address;
158
159
  var detail = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_address")];
159
160
  return "".concat((_address4 = address) === null || _address4 === void 0 ? void 0 : _address4.map(function () {
160
- var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
161
+ var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
161
162
  return _this.addressDateInstance.getNameByCode(suffix);
162
- }).join(""), " ").concat(detail || "");
163
+ }).join(''), " ").concat(detail || '');
163
164
  });
164
165
  _defineProperty(this, "renderClient", function (record) {
165
166
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -177,7 +178,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
177
178
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
178
179
  display: p === null || p === void 0 ? void 0 : p.display,
179
180
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
180
- tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : "",
181
+ tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
181
182
  component: /*#__PURE__*/React.createElement(Address, _this.componentConfig)
182
183
  });
183
184
  });
@@ -197,16 +198,29 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
197
198
  validator: function validator(_, value) {
198
199
  var _value$address2;
199
200
  if (!(value !== null && value !== void 0 && (_value$address2 = value.address) !== null && _value$address2 !== void 0 && _value$address2.length)) {
200
- return Promise.reject(new Error("请选择地址"));
201
+ return Promise.reject(new Error('请选择地址'));
201
202
  }
202
203
  if (!(value !== null && value !== void 0 && value.detail)) {
203
- return Promise.reject(new Error("请填写详细地址"));
204
+ return Promise.reject(new Error('请填写详细地址'));
204
205
  }
205
206
  return Promise.resolve();
206
207
  }
207
208
  }] : [];
208
209
  this.effects = options.effects;
209
210
  this.addressDateInstance = AddressData.getInstance();
210
- this.dataType = "object";
211
+ this.dataType = 'object';
212
+ this.compoundConfig = [{
213
+ name: "\u7701",
214
+ id: "".concat(options.id, "_province")
215
+ }, {
216
+ name: "\u5E02",
217
+ id: "".concat(options.id, "_city")
218
+ }, {
219
+ name: "\u533A",
220
+ id: "".concat(options.id, "_district")
221
+ }, {
222
+ name: "\u8BE6\u7EC6\u5730\u5740",
223
+ id: "".concat(options.id, "_address")
224
+ }];
211
225
  });
212
226
  export default BasicInput;
@@ -1,3 +1,3 @@
1
1
  import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm, FlowOverallStatusSelect } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => BsSystemOrder | CommonMultiStatus | JstSendGood | MsgStatus | BasicPicturePro | PublicGoods | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsGoods | BsE3Goods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | FlowOverallStatusSelect;
3
+ export declare const factory: (type: string, options: PickOption) => ActualPayment | BasicAddress | AfterSalesOrderId | AliPay | BsExchange | BsGoods | BsLogistics | BsPosting | BsReissue | BsReturn | BsSystemOrder | BsE3Goods | BsE3Reissue | BuyerNick | Calculation | BasicCascader | BasicCheckbox | CommonDataTime | CommonInput | CommonMultiStatus | CommonSystemOrder | CompletedUser | BasicDataTime | ItemEnCode | ItemId | ItemSelect | BasicInput | BasicTypeInput | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ERemark | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSendGood | JstSupply | PublicGoods | PublicReissueGoods | PublicExchange | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | FlowWorkOrderId | StatusSelect | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | PaymentVoucherCode | Label | MemberLevel | GyGoods | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | FlowOverallStatusSelect;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.2.44-beta.41",
3
+ "version": "2.2.44-beta.44",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -21,8 +21,8 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@kmkf-fe-packages/basic-components": "2.2.44-beta.41",
25
- "@kmkf-fe-packages/kmkf-utils": "2.2.44-beta.41",
24
+ "@kmkf-fe-packages/basic-components": "2.2.44-beta.44",
25
+ "@kmkf-fe-packages/kmkf-utils": "2.2.44-beta.44",
26
26
  "b64-to-blob": "^1.2.19",
27
27
  "html2canvas": "^1.4.1",
28
28
  "react-pdf-js": "^5.1.0"
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "1f3f957279fc8c5801abc588a33e6c9055839d64",
44
+ "gitHead": "ff472b154949c2fca9fda0596a4c7ece7856043c",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }