@kmkf-fe-packages/services-components 0.7.5-alpha.1 → 0.7.5-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/dist/esm/components/ActualPayment/index.d.ts +4 -0
  2. package/dist/esm/components/ActualPayment/index.js +48 -0
  3. package/dist/esm/components/Address/index.d.ts +1 -0
  4. package/dist/esm/components/Address/index.js +2 -0
  5. package/dist/esm/components/Alipay/index.d.ts +1 -0
  6. package/dist/esm/components/Alipay/index.js +2 -0
  7. package/dist/esm/components/AlipayAccount/index.d.ts +1 -0
  8. package/dist/esm/components/AlipayAccount/index.js +2 -0
  9. package/dist/esm/components/AlipayName/index.d.ts +1 -0
  10. package/dist/esm/components/AlipayName/index.js +2 -0
  11. package/dist/esm/components/BuyerNick/index.d.ts +1 -0
  12. package/dist/esm/components/BuyerNick/index.js +2 -0
  13. package/dist/esm/components/Cascader/index.d.ts +1 -0
  14. package/dist/esm/components/Cascader/index.js +19 -8
  15. package/dist/esm/components/Checkbox/index.d.ts +1 -0
  16. package/dist/esm/components/Checkbox/index.js +2 -0
  17. package/dist/esm/components/CommonDataTime/index.d.ts +1 -0
  18. package/dist/esm/components/CommonDataTime/index.js +2 -0
  19. package/dist/esm/components/CompletedUser/index.d.ts +1 -0
  20. package/dist/esm/components/CompletedUser/index.js +2 -0
  21. package/dist/esm/components/DataTime/index.d.ts +2 -12
  22. package/dist/esm/components/DataTime/index.js +11 -3
  23. package/dist/esm/components/EItemEnCode/index.d.ts +1 -0
  24. package/dist/esm/components/EItemEnCode/index.js +2 -0
  25. package/dist/esm/components/EItemId/index.d.ts +1 -0
  26. package/dist/esm/components/EItemId/index.js +2 -0
  27. package/dist/esm/components/EItemSelect/index.d.ts +1 -0
  28. package/dist/esm/components/EItemSelect/index.js +2 -0
  29. package/dist/esm/components/ErpTradeId/index.d.ts +1 -0
  30. package/dist/esm/components/ErpTradeId/index.js +2 -0
  31. package/dist/esm/components/Express/index.d.ts +1 -0
  32. package/dist/esm/components/Express/index.js +2 -0
  33. package/dist/esm/components/ExpressCode/index.d.ts +1 -0
  34. package/dist/esm/components/ExpressCode/index.js +2 -0
  35. package/dist/esm/components/FlowStatusSelect/index.d.ts +1 -0
  36. package/dist/esm/components/FlowStatusSelect/index.js +2 -0
  37. package/dist/esm/components/Grade/index.d.ts +1 -0
  38. package/dist/esm/components/Grade/index.js +2 -0
  39. package/dist/esm/components/Handler/index.d.ts +1 -0
  40. package/dist/esm/components/Handler/index.js +2 -0
  41. package/dist/esm/components/Input/index.d.ts +1 -0
  42. package/dist/esm/components/Input/index.js +2 -0
  43. package/dist/esm/components/JstItemSelect/index.d.ts +1 -0
  44. package/dist/esm/components/JstItemSelect/index.js +2 -0
  45. package/dist/esm/components/JstLogistics/index.d.ts +1 -0
  46. package/dist/esm/components/JstLogistics/index.js +2 -0
  47. package/dist/esm/components/JstSendGood/index.d.ts +1 -0
  48. package/dist/esm/components/JstSendGood/index.js +2 -0
  49. package/dist/esm/components/JstSupply/index.d.ts +1 -0
  50. package/dist/esm/components/JstSupply/index.js +2 -0
  51. package/dist/esm/components/Logistics/index.d.ts +1 -0
  52. package/dist/esm/components/Logistics/index.js +2 -0
  53. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -0
  54. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +2 -0
  55. package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +1 -0
  56. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +2 -0
  57. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +1 -0
  58. package/dist/esm/components/LogisticsInterception/InterceptType.js +2 -0
  59. package/dist/esm/components/LogisticsInterception/index.d.ts +1 -0
  60. package/dist/esm/components/LogisticsInterception/index.js +2 -0
  61. package/dist/esm/components/MultSelect/index.d.ts +1 -0
  62. package/dist/esm/components/MultSelect/index.js +2 -0
  63. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +1 -0
  64. package/dist/esm/components/Ordinary/OrdinaryHeader.js +2 -0
  65. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +4 -0
  66. package/dist/esm/components/Ordinary/OrdinaryMoney.js +48 -0
  67. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +1 -0
  68. package/dist/esm/components/Ordinary/OrdinarySerial.js +2 -0
  69. package/dist/esm/components/Ordinary/index.d.ts +4 -0
  70. package/dist/esm/components/Ordinary/index.js +2 -0
  71. package/dist/esm/components/Payment/AlipayNick.d.ts +1 -0
  72. package/dist/esm/components/Payment/AlipayNick.js +2 -0
  73. package/dist/esm/components/Payment/AlipayNo.d.ts +1 -0
  74. package/dist/esm/components/Payment/AlipayNo.js +2 -0
  75. package/dist/esm/components/Payment/AlipayTime.d.ts +1 -0
  76. package/dist/esm/components/Payment/AlipayTime.js +2 -0
  77. package/dist/esm/components/Payment/BuyerNick.d.ts +1 -0
  78. package/dist/esm/components/Payment/BuyerNick.js +2 -0
  79. package/dist/esm/components/Payment/PaymentAmount.d.ts +4 -0
  80. package/dist/esm/components/Payment/PaymentAmount.js +48 -0
  81. package/dist/esm/components/Payment/PaymentStatus.d.ts +1 -0
  82. package/dist/esm/components/Payment/PaymentStatus.js +2 -0
  83. package/dist/esm/components/Payment/PaymentTid.d.ts +1 -0
  84. package/dist/esm/components/Payment/PaymentTid.js +2 -0
  85. package/dist/esm/components/Payment/index.d.ts +4 -0
  86. package/dist/esm/components/Payment/index.js +2 -0
  87. package/dist/esm/components/Picture/index.d.ts +1 -0
  88. package/dist/esm/components/Picture/index.js +2 -0
  89. package/dist/esm/components/PlatForm/index.d.ts +1 -0
  90. package/dist/esm/components/PlatForm/index.js +2 -0
  91. package/dist/esm/components/Radio/index.d.ts +1 -0
  92. package/dist/esm/components/Radio/index.js +2 -0
  93. package/dist/esm/components/Rate/index.d.ts +1 -0
  94. package/dist/esm/components/Rate/index.js +2 -0
  95. package/dist/esm/components/ReceiverAddress/index.d.ts +1 -0
  96. package/dist/esm/components/ReceiverAddress/index.js +3 -1
  97. package/dist/esm/components/ReceiverMobile/index.d.ts +1 -0
  98. package/dist/esm/components/ReceiverMobile/index.js +2 -0
  99. package/dist/esm/components/ReceiverName/index.d.ts +1 -0
  100. package/dist/esm/components/ReceiverName/index.js +2 -0
  101. package/dist/esm/components/Remark/index.d.ts +1 -0
  102. package/dist/esm/components/Remark/index.js +2 -0
  103. package/dist/esm/components/ReturnLogistics/index.d.ts +1 -0
  104. package/dist/esm/components/ReturnLogistics/index.js +2 -0
  105. package/dist/esm/components/Select/index.d.ts +1 -0
  106. package/dist/esm/components/Select/index.js +2 -0
  107. package/dist/esm/components/ShopInput/index.d.ts +1 -0
  108. package/dist/esm/components/ShopInput/index.js +2 -0
  109. package/dist/esm/components/ShopName/index.d.ts +1 -0
  110. package/dist/esm/components/ShopName/index.js +2 -0
  111. package/dist/esm/components/Submitter/index.d.ts +1 -0
  112. package/dist/esm/components/Submitter/index.js +2 -0
  113. package/dist/esm/components/SystemOrderNo/index.d.ts +1 -0
  114. package/dist/esm/components/SystemOrderNo/index.js +2 -0
  115. package/dist/esm/components/TemplateSelect/index.d.ts +1 -0
  116. package/dist/esm/components/TemplateSelect/index.js +2 -0
  117. package/dist/esm/components/TextArea/index.d.ts +1 -0
  118. package/dist/esm/components/TextArea/index.js +2 -0
  119. package/dist/esm/components/ThirdItemSelect/index.d.ts +1 -0
  120. package/dist/esm/components/ThirdItemSelect/index.js +2 -0
  121. package/dist/esm/components/TradeDateTime/index.d.ts +1 -0
  122. package/dist/esm/components/TradeDateTime/index.js +2 -0
  123. package/dist/esm/components/TradeId/index.d.ts +1 -0
  124. package/dist/esm/components/TradeId/index.js +2 -0
  125. package/dist/esm/components/WorkOrderId/index.d.ts +1 -0
  126. package/dist/esm/components/WorkOrderId/index.js +4 -2
  127. package/dist/esm/type.d.ts +2 -0
  128. package/package.json +4 -4
@@ -17,6 +17,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
17
17
  _classCallCheck(this, AlipayTime);
18
18
  _defineProperty(this, "name", void 0);
19
19
  _defineProperty(this, "id", void 0);
20
+ _defineProperty(this, "sortField", void 0);
20
21
  _defineProperty(this, "type", void 0);
21
22
  _defineProperty(this, "rules", void 0);
22
23
  _defineProperty(this, "componentConfig", void 0);
@@ -84,6 +85,7 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
84
85
  });
85
86
  this.name = '打款时间';
86
87
  this.id = "".concat(options.id, "_enterprisePaymentTime");
88
+ this.sortField = "".concat(options.id, "_enterprisePaymentTime");
87
89
  this.type = options.type;
88
90
  this.componentConfig = options.componentConfig;
89
91
  this.rules = [];
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  declare class BuyerNick implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  rules: any[];
8
9
  componentConfig: ComponentInterface["componentConfig"];
@@ -23,6 +23,7 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
23
23
  _classCallCheck(this, BuyerNick);
24
24
  _defineProperty(this, "name", void 0);
25
25
  _defineProperty(this, "id", void 0);
26
+ _defineProperty(this, "sortField", void 0);
26
27
  _defineProperty(this, "type", void 0);
27
28
  _defineProperty(this, "rules", void 0);
28
29
  _defineProperty(this, "componentConfig", void 0);
@@ -98,6 +99,7 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
98
99
  });
99
100
  this.name = '买家昵称';
100
101
  this.id = "".concat(options.id, "_enterprisePaymentBuyerNick");
102
+ this.sortField = "".concat(options.id, "_enterprisePaymentBuyerNick");
101
103
  this.type = options.type;
102
104
  this.componentConfig = options.componentConfig;
103
105
  this.effects = options.effects;
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  declare class PaymentAmount implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  rules: any[];
8
9
  componentConfig: ComponentInterface["componentConfig"];
@@ -24,6 +25,9 @@ declare class PaymentAmount implements ComponentInterface {
24
25
  id: string;
25
26
  name: string;
26
27
  filterComponentType: "Rate";
28
+ rules: {
29
+ validator: (_: any, value: Array<number>) => Promise<void>;
30
+ }[];
27
31
  filterFn: (value: string) => (i: Record) => boolean;
28
32
  };
29
33
  }
@@ -1,4 +1,7 @@
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 _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
3
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
4
+ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
2
5
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
3
6
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
7
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -16,6 +19,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
16
19
  _classCallCheck(this, PaymentAmount);
17
20
  _defineProperty(this, "name", void 0);
18
21
  _defineProperty(this, "id", void 0);
22
+ _defineProperty(this, "sortField", void 0);
19
23
  _defineProperty(this, "type", void 0);
20
24
  _defineProperty(this, "rules", void 0);
21
25
  _defineProperty(this, "componentConfig", void 0);
@@ -62,6 +66,49 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
62
66
  id: "".concat(item.id, "_enterprisePaymentRefundFee"),
63
67
  name: "".concat(item.name, "-\u6253\u6B3E\u91D1\u989D"),
64
68
  filterComponentType: 'Rate',
69
+ rules: [{
70
+ validator: function () {
71
+ var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_, value) {
72
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
73
+ while (1) switch (_context.prev = _context.next) {
74
+ case 0:
75
+ if (!((value === null || value === void 0 ? void 0 : value.length) > 0)) {
76
+ _context.next = 7;
77
+ break;
78
+ }
79
+ if (!(value !== null && value !== void 0 && value.every(function (v) {
80
+ return isNull(v);
81
+ }))) {
82
+ _context.next = 3;
83
+ break;
84
+ }
85
+ return _context.abrupt("return", Promise.resolve());
86
+ case 3:
87
+ if (!(value !== null && value !== void 0 && value.some(function (v) {
88
+ return isNull(v);
89
+ }))) {
90
+ _context.next = 5;
91
+ break;
92
+ }
93
+ return _context.abrupt("return", Promise.reject(new Error('请输入正确的金额区间范围')));
94
+ case 5:
95
+ if (!(value[0] > value[1])) {
96
+ _context.next = 7;
97
+ break;
98
+ }
99
+ return _context.abrupt("return", Promise.reject(new Error('开始金额必须小于结束金额')));
100
+ case 7:
101
+ case "end":
102
+ return _context.stop();
103
+ }
104
+ }, _callee);
105
+ }));
106
+ function validator(_x, _x2) {
107
+ return _validator.apply(this, arguments);
108
+ }
109
+ return validator;
110
+ }()
111
+ }],
65
112
  filterFn: function filterFn(value) {
66
113
  return function (i) {
67
114
  return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentRefundFee')).includes(value);
@@ -71,6 +118,7 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
71
118
  });
72
119
  this.name = '打款金额';
73
120
  this.id = "".concat(options.id, "_enterprisePaymentRefundFee");
121
+ this.sortField = "".concat(options.id, "_enterprisePaymentRefundFee");
74
122
  this.type = options.type;
75
123
  this.componentConfig = options.componentConfig;
76
124
  this.isCombinationComponent = false;
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  declare class PaymentStatus implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  rules: any[];
8
9
  componentConfig: ComponentInterface["componentConfig"];
@@ -14,6 +14,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
14
14
  _classCallCheck(this, PaymentStatus);
15
15
  _defineProperty(this, "name", void 0);
16
16
  _defineProperty(this, "id", void 0);
17
+ _defineProperty(this, "sortField", void 0);
17
18
  _defineProperty(this, "type", void 0);
18
19
  _defineProperty(this, "rules", void 0);
19
20
  _defineProperty(this, "componentConfig", void 0);
@@ -67,6 +68,7 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
67
68
  });
68
69
  this.name = '打款状态';
69
70
  this.id = "".concat(options.id, "_enterprisePaymentStatus");
71
+ this.sortField = "".concat(options.id, "_enterprisePaymentStatus");
70
72
  this.type = options.type;
71
73
  this.componentConfig = options.componentConfig;
72
74
  this.rules = [];
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  declare class PaymentTid implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  rules: any[];
8
9
  componentConfig: ComponentInterface["componentConfig"];
@@ -16,6 +16,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
16
16
  _classCallCheck(this, PaymentTid);
17
17
  _defineProperty(this, "name", void 0);
18
18
  _defineProperty(this, "id", void 0);
19
+ _defineProperty(this, "sortField", void 0);
19
20
  _defineProperty(this, "type", void 0);
20
21
  _defineProperty(this, "rules", void 0);
21
22
  _defineProperty(this, "componentConfig", void 0);
@@ -74,6 +75,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
74
75
  });
75
76
  this.name = '订单编号';
76
77
  this.id = "".concat(options.id, "_enterprisePaymentTid");
78
+ this.sortField = "".concat(options.id, "_enterprisePaymentTid");
77
79
  this.type = options.type;
78
80
  this.componentConfig = options.componentConfig;
79
81
  this.rules = [];
@@ -10,6 +10,7 @@ import PaymentTid from './PaymentTid';
10
10
  declare class Logistics implements ComponentInterface {
11
11
  name: string;
12
12
  id: string;
13
+ sortField: string;
13
14
  type: string;
14
15
  rules: any[];
15
16
  componentConfig: ComponentInterface["componentConfig"];
@@ -51,6 +52,9 @@ declare class Logistics implements ComponentInterface {
51
52
  id: string;
52
53
  name: string;
53
54
  filterComponentType: "Rate";
55
+ rules: {
56
+ validator: (_: any, value: number[]) => Promise<void>;
57
+ }[];
54
58
  filterFn: (value: string) => (i: Record) => boolean;
55
59
  } | {
56
60
  searchDefaultConditions: "like";
@@ -23,6 +23,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
23
23
  _classCallCheck(this, Logistics);
24
24
  _defineProperty(this, "name", void 0);
25
25
  _defineProperty(this, "id", void 0);
26
+ _defineProperty(this, "sortField", void 0);
26
27
  _defineProperty(this, "type", void 0);
27
28
  _defineProperty(this, "rules", void 0);
28
29
  _defineProperty(this, "componentConfig", void 0);
@@ -76,6 +77,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
76
77
  });
77
78
  this.name = options.name;
78
79
  this.id = options.id;
80
+ this.sortField = options.id;
79
81
  this.type = options.type;
80
82
  this.componentConfig = options.componentConfig;
81
83
  this.paymentTid = new PaymentTid(options);
@@ -4,6 +4,7 @@ declare type Value = string[] | undefined;
4
4
  declare class BasicPicture implements ComponentInterface {
5
5
  name: string;
6
6
  id: string;
7
+ sortField: string;
7
8
  type: string;
8
9
  rules: any[];
9
10
  componentConfig: ComponentInterface["componentConfig"];
@@ -18,6 +18,7 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
18
18
  _classCallCheck(this, BasicPicture);
19
19
  _defineProperty(this, "name", void 0);
20
20
  _defineProperty(this, "id", void 0);
21
+ _defineProperty(this, "sortField", void 0);
21
22
  _defineProperty(this, "type", void 0);
22
23
  _defineProperty(this, "rules", void 0);
23
24
  _defineProperty(this, "componentConfig", void 0);
@@ -105,6 +106,7 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
105
106
  });
106
107
  this.name = options.name;
107
108
  this.id = options.id;
109
+ this.sortField = "".concat(options.id, "_picture");
108
110
  this.type = options.type;
109
111
  this.componentConfig = options.componentConfig;
110
112
  this.rules = [];
@@ -4,6 +4,7 @@ import { PlatData } from '@kmkf-fe-packages/kmkf-utils';
4
4
  declare class PlatForm implements ComponentInterface {
5
5
  name: string;
6
6
  id: string;
7
+ sortField: string;
7
8
  type: string;
8
9
  componentConfig: ComponentInterface["componentConfig"];
9
10
  isCombinationComponent: boolean;
@@ -13,6 +13,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
13
13
  _classCallCheck(this, PlatForm);
14
14
  _defineProperty(this, "name", void 0);
15
15
  _defineProperty(this, "id", void 0);
16
+ _defineProperty(this, "sortField", void 0);
16
17
  _defineProperty(this, "type", void 0);
17
18
  _defineProperty(this, "componentConfig", void 0);
18
19
  _defineProperty(this, "isCombinationComponent", void 0);
@@ -63,6 +64,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
63
64
  this.name = "平台";
64
65
  this.id = "platform";
65
66
  this.type = "PLATFORM_INPUT";
67
+ this.sortField = 'platform';
66
68
  this.isCombinationComponent = false;
67
69
  this.canSort = false;
68
70
  this.children = [];
@@ -7,6 +7,7 @@ declare type Value = {
7
7
  declare class BasicRadio implements ComponentInterface {
8
8
  name: string;
9
9
  id: string;
10
+ sortField: string;
10
11
  type: string;
11
12
  rules: any[];
12
13
  componentConfig: ComponentInterface["componentConfig"];
@@ -18,6 +18,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
18
18
  _classCallCheck(this, BasicRadio);
19
19
  _defineProperty(this, "name", void 0);
20
20
  _defineProperty(this, "id", void 0);
21
+ _defineProperty(this, "sortField", void 0);
21
22
  _defineProperty(this, "type", void 0);
22
23
  _defineProperty(this, "rules", void 0);
23
24
  _defineProperty(this, "componentConfig", void 0);
@@ -95,6 +96,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
95
96
  this.type = options.type;
96
97
  this.isCombinationComponent = false;
97
98
  this.canSort = true;
99
+ this.sortField = "".concat(options.id, "_radio");
98
100
  this.children = [];
99
101
  this.componentConfig = options.componentConfig;
100
102
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
@@ -8,6 +8,7 @@ declare type Value = {
8
8
  declare class BasicRate implements ComponentInterface {
9
9
  name: string;
10
10
  id: string;
11
+ sortField: string;
11
12
  type: string;
12
13
  rules: any[];
13
14
  componentConfig: ComponentInterface["componentConfig"];
@@ -17,6 +17,7 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
17
17
  _classCallCheck(this, BasicRate);
18
18
  _defineProperty(this, "name", void 0);
19
19
  _defineProperty(this, "id", void 0);
20
+ _defineProperty(this, "sortField", void 0);
20
21
  _defineProperty(this, "type", void 0);
21
22
  _defineProperty(this, "rules", void 0);
22
23
  _defineProperty(this, "componentConfig", void 0);
@@ -122,6 +123,7 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
122
123
  });
123
124
  this.name = options.name;
124
125
  this.id = options.id;
126
+ this.sortField = "".concat(options.id, "_rate");
125
127
  this.type = options.type;
126
128
  this.componentConfig = options.componentConfig;
127
129
  this.isCombinationComponent = false;
@@ -8,6 +8,7 @@ declare type Value = {
8
8
  declare class BasicInput implements ComponentInterface {
9
9
  name: string;
10
10
  id: string;
11
+ sortField: string;
11
12
  type: string;
12
13
  rules: any[];
13
14
  componentConfig: ComponentInterface["componentConfig"];
@@ -18,6 +18,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
18
18
  _classCallCheck(this, BasicInput);
19
19
  _defineProperty(this, "name", void 0);
20
20
  _defineProperty(this, "id", void 0);
21
+ _defineProperty(this, "sortField", void 0);
21
22
  _defineProperty(this, "type", void 0);
22
23
  _defineProperty(this, "rules", void 0);
23
24
  _defineProperty(this, "componentConfig", void 0);
@@ -105,10 +106,11 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
105
106
  });
106
107
  this.name = options.name;
107
108
  this.id = options.id;
109
+ this.sortField = options.id;
108
110
  this.type = options.type;
109
111
  this.componentConfig = options.componentConfig;
110
112
  this.isCombinationComponent = false;
111
- this.canSort = true;
113
+ this.canSort = false;
112
114
  this.children = [];
113
115
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
114
116
  validator: function validator(_, value) {
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  declare class ReceiverMobile implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  rules: any[];
8
9
  componentConfig: ComponentInterface["componentConfig"];
@@ -17,6 +17,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
17
17
  _classCallCheck(this, ReceiverMobile);
18
18
  _defineProperty(this, "name", void 0);
19
19
  _defineProperty(this, "id", void 0);
20
+ _defineProperty(this, "sortField", void 0);
20
21
  _defineProperty(this, "type", void 0);
21
22
  _defineProperty(this, "rules", void 0);
22
23
  _defineProperty(this, "componentConfig", void 0);
@@ -86,6 +87,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
86
87
  });
87
88
  this.name = options.name;
88
89
  this.id = options.id;
90
+ this.sortField = "".concat(options.id, "_receiveMobile");
89
91
  this.type = options.type;
90
92
  this.componentConfig = options.componentConfig;
91
93
  this.rules = [];
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  declare class ReceiverName implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  rules: any[];
8
9
  componentConfig: ComponentInterface["componentConfig"];
@@ -17,6 +17,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
17
17
  _classCallCheck(this, ReceiverName);
18
18
  _defineProperty(this, "name", void 0);
19
19
  _defineProperty(this, "id", void 0);
20
+ _defineProperty(this, "sortField", void 0);
20
21
  _defineProperty(this, "type", void 0);
21
22
  _defineProperty(this, "rules", void 0);
22
23
  _defineProperty(this, "componentConfig", void 0);
@@ -83,6 +84,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
83
84
  });
84
85
  this.name = options.name;
85
86
  this.id = options.id;
87
+ this.sortField = "".concat(options.id, "_receiveName");
86
88
  this.type = options.type;
87
89
  this.componentConfig = options.componentConfig;
88
90
  this.rules = [];
@@ -7,6 +7,7 @@ declare type Value = {
7
7
  declare class ERemark implements ComponentInterface {
8
8
  name: string;
9
9
  id: string;
10
+ sortField: string;
10
11
  type: string;
11
12
  rules: any[];
12
13
  componentConfig: ComponentInterface["componentConfig"];
@@ -24,6 +24,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
24
24
  _classCallCheck(this, ERemark);
25
25
  _defineProperty(this, "name", void 0);
26
26
  _defineProperty(this, "id", void 0);
27
+ _defineProperty(this, "sortField", void 0);
27
28
  _defineProperty(this, "type", void 0);
28
29
  _defineProperty(this, "rules", void 0);
29
30
  _defineProperty(this, "componentConfig", void 0);
@@ -102,6 +103,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
102
103
  });
103
104
  this.name = options.name;
104
105
  this.id = options.id;
106
+ this.sortField = "".concat(options.id, "_remark");
105
107
  this.type = options.type;
106
108
  this.componentConfig = options.componentConfig;
107
109
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
@@ -6,6 +6,7 @@ import ExpressCode from '../ExpressCode';
6
6
  declare class ReturnLogistics implements ComponentInterface {
7
7
  name: string;
8
8
  id: string;
9
+ sortField: string;
9
10
  type: string;
10
11
  rules: any[];
11
12
  canFilter: boolean;
@@ -20,6 +20,7 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
20
20
  _classCallCheck(this, ReturnLogistics);
21
21
  _defineProperty(this, "name", void 0);
22
22
  _defineProperty(this, "id", void 0);
23
+ _defineProperty(this, "sortField", void 0);
23
24
  _defineProperty(this, "type", void 0);
24
25
  _defineProperty(this, "rules", void 0);
25
26
  _defineProperty(this, "canFilter", void 0);
@@ -74,6 +75,7 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
74
75
  });
75
76
  this.name = options.name;
76
77
  this.id = options.id;
78
+ this.sortField = options.id;
77
79
  this.type = options.type;
78
80
  this.canFilter = false;
79
81
  this.canGroup = false;
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  declare class BasicSelect implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  rules: any[];
8
9
  componentConfig: ComponentInterface["componentConfig"];
@@ -17,6 +17,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
17
17
  _classCallCheck(this, BasicSelect);
18
18
  _defineProperty(this, "name", void 0);
19
19
  _defineProperty(this, "id", void 0);
20
+ _defineProperty(this, "sortField", void 0);
20
21
  _defineProperty(this, "type", void 0);
21
22
  _defineProperty(this, "rules", void 0);
22
23
  _defineProperty(this, "componentConfig", void 0);
@@ -80,6 +81,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
80
81
  });
81
82
  this.name = options.name;
82
83
  this.id = options.id;
84
+ this.sortField = "".concat(options.id, "_select");
83
85
  this.type = options.type;
84
86
  this.componentConfig = options.componentConfig;
85
87
  this.rules = [];
@@ -3,6 +3,7 @@ import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type
3
3
  declare class ShopInput implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  componentConfig: ComponentInterface["componentConfig"];
8
9
  effects: ComponentInterface["effects"];
@@ -14,6 +14,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
14
14
  _classCallCheck(this, ShopInput);
15
15
  _defineProperty(this, "name", void 0);
16
16
  _defineProperty(this, "id", void 0);
17
+ _defineProperty(this, "sortField", void 0);
17
18
  _defineProperty(this, "type", void 0);
18
19
  _defineProperty(this, "componentConfig", void 0);
19
20
  _defineProperty(this, "effects", void 0);
@@ -83,6 +84,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
83
84
  this.name = "店铺名称";
84
85
  this.id = "shopName";
85
86
  this.type = "SHOP_INPUT";
87
+ this.sortField = "shopName";
86
88
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
87
89
  this.isCombinationComponent = false;
88
90
  this.canSort = true;
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  declare class BasicInput implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  rules: any[];
8
9
  componentConfig: ComponentInterface["componentConfig"];
@@ -17,6 +17,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
17
17
  _classCallCheck(this, BasicInput);
18
18
  _defineProperty(this, "name", void 0);
19
19
  _defineProperty(this, "id", void 0);
20
+ _defineProperty(this, "sortField", void 0);
20
21
  _defineProperty(this, "type", void 0);
21
22
  _defineProperty(this, "rules", void 0);
22
23
  _defineProperty(this, "componentConfig", void 0);
@@ -76,6 +77,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
76
77
  this.name = options.name;
77
78
  this.id = options.id;
78
79
  this.type = options.type;
80
+ this.sortField = "".concat(options.id, "_shopName");
79
81
  this.componentConfig = options.componentConfig;
80
82
  this.rules = [];
81
83
  this.isCombinationComponent = false;
@@ -3,6 +3,7 @@ import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type
3
3
  declare class Submitter implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  componentConfig: ComponentInterface["componentConfig"];
8
9
  effects: ComponentInterface["effects"];
@@ -13,6 +13,7 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
13
13
  _classCallCheck(this, Submitter);
14
14
  _defineProperty(this, "name", void 0);
15
15
  _defineProperty(this, "id", void 0);
16
+ _defineProperty(this, "sortField", void 0);
16
17
  _defineProperty(this, "type", void 0);
17
18
  _defineProperty(this, "componentConfig", void 0);
18
19
  _defineProperty(this, "effects", void 0);
@@ -70,6 +71,7 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
70
71
  this.name = "提交人";
71
72
  this.id = "submitter";
72
73
  this.type = "OPERATOR_INPUT";
74
+ this.sortField = "submitter";
73
75
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
74
76
  this.isCombinationComponent = false;
75
77
  this.canSort = true;
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  declare class SystemOrderNo implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  rules: any[];
8
9
  componentConfig: ComponentInterface["componentConfig"];
@@ -17,6 +17,7 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
17
17
  _classCallCheck(this, SystemOrderNo);
18
18
  _defineProperty(this, "name", void 0);
19
19
  _defineProperty(this, "id", void 0);
20
+ _defineProperty(this, "sortField", void 0);
20
21
  _defineProperty(this, "type", void 0);
21
22
  _defineProperty(this, "rules", void 0);
22
23
  _defineProperty(this, "componentConfig", void 0);
@@ -79,6 +80,7 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
79
80
  });
80
81
  this.name = options.name;
81
82
  this.id = options.id;
83
+ this.sortField = "".concat(options.id, "_systemOrderNo");
82
84
  this.type = options.type;
83
85
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
84
86
  this.componentConfig = options.componentConfig;
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  declare class TemplateSelect implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
+ sortField: string;
6
7
  type: string;
7
8
  rules: any[];
8
9
  componentConfig: ComponentInterface["componentConfig"];