@kmkf-fe-packages/services-components 0.7.5-alpha.8 → 0.7.6

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 (132) hide show
  1. package/dist/esm/components/ActualPayment/index.d.ts +1 -7
  2. package/dist/esm/components/ActualPayment/index.js +2 -46
  3. package/dist/esm/components/Address/index.d.ts +3 -21
  4. package/dist/esm/components/Address/index.js +3 -35
  5. package/dist/esm/components/Alipay/index.d.ts +0 -3
  6. package/dist/esm/components/Alipay/index.js +0 -4
  7. package/dist/esm/components/AlipayAccount/index.d.ts +0 -3
  8. package/dist/esm/components/AlipayAccount/index.js +0 -6
  9. package/dist/esm/components/AlipayName/index.d.ts +0 -3
  10. package/dist/esm/components/AlipayName/index.js +0 -6
  11. package/dist/esm/components/BuyerNick/index.d.ts +0 -3
  12. package/dist/esm/components/BuyerNick/index.js +0 -6
  13. package/dist/esm/components/Cascader/index.d.ts +1 -12
  14. package/dist/esm/components/Cascader/index.js +8 -35
  15. package/dist/esm/components/Checkbox/index.d.ts +1 -6
  16. package/dist/esm/components/Checkbox/index.js +5 -13
  17. package/dist/esm/components/CommonDataTime/index.d.ts +0 -4
  18. package/dist/esm/components/CommonDataTime/index.js +0 -13
  19. package/dist/esm/components/CompletedUser/index.d.ts +4 -9
  20. package/dist/esm/components/CompletedUser/index.js +1 -9
  21. package/dist/esm/components/DataTime/index.d.ts +8 -3
  22. package/dist/esm/components/DataTime/index.js +4 -24
  23. package/dist/esm/components/EItemEnCode/index.d.ts +0 -3
  24. package/dist/esm/components/EItemEnCode/index.js +1 -7
  25. package/dist/esm/components/EItemId/index.d.ts +0 -3
  26. package/dist/esm/components/EItemId/index.js +1 -7
  27. package/dist/esm/components/EItemSelect/index.d.ts +0 -2
  28. package/dist/esm/components/EItemSelect/index.js +0 -4
  29. package/dist/esm/components/ErpTradeId/index.d.ts +0 -4
  30. package/dist/esm/components/ErpTradeId/index.js +1 -10
  31. package/dist/esm/components/Express/index.d.ts +1 -6
  32. package/dist/esm/components/Express/index.js +1 -9
  33. package/dist/esm/components/ExpressCode/index.d.ts +0 -3
  34. package/dist/esm/components/ExpressCode/index.js +0 -6
  35. package/dist/esm/components/FlowStatusSelect/index.d.ts +4 -9
  36. package/dist/esm/components/FlowStatusSelect/index.js +6 -14
  37. package/dist/esm/components/Grade/index.d.ts +0 -2
  38. package/dist/esm/components/Grade/index.js +0 -4
  39. package/dist/esm/components/Handler/index.d.ts +4 -9
  40. package/dist/esm/components/Handler/index.js +1 -9
  41. package/dist/esm/components/Input/index.d.ts +0 -3
  42. package/dist/esm/components/Input/index.js +1 -7
  43. package/dist/esm/components/JstItemSelect/index.d.ts +0 -3
  44. package/dist/esm/components/JstItemSelect/index.js +15 -23
  45. package/dist/esm/components/JstLogistics/index.d.ts +2 -8
  46. package/dist/esm/components/JstLogistics/index.js +1 -10
  47. package/dist/esm/components/JstSendGood/index.d.ts +0 -3
  48. package/dist/esm/components/JstSendGood/index.js +0 -7
  49. package/dist/esm/components/JstSupply/index.d.ts +0 -3
  50. package/dist/esm/components/JstSupply/index.js +0 -7
  51. package/dist/esm/components/Logistics/index.d.ts +1 -7
  52. package/dist/esm/components/Logistics/index.js +0 -4
  53. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -3
  54. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +0 -4
  55. package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +5 -10
  56. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +1 -9
  57. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +5 -10
  58. package/dist/esm/components/LogisticsInterception/InterceptType.js +1 -9
  59. package/dist/esm/components/LogisticsInterception/index.d.ts +5 -14
  60. package/dist/esm/components/LogisticsInterception/index.js +0 -4
  61. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +0 -2
  62. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +0 -4
  63. package/dist/esm/components/MultSelect/index.d.ts +1 -6
  64. package/dist/esm/components/MultSelect/index.js +2 -10
  65. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +0 -3
  66. package/dist/esm/components/Ordinary/OrdinaryHeader.js +3 -9
  67. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -7
  68. package/dist/esm/components/Ordinary/OrdinaryMoney.js +4 -48
  69. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +0 -3
  70. package/dist/esm/components/Ordinary/OrdinarySerial.js +0 -6
  71. package/dist/esm/components/Ordinary/index.d.ts +2 -12
  72. package/dist/esm/components/Ordinary/index.js +0 -4
  73. package/dist/esm/components/Payment/AlipayNick.d.ts +0 -3
  74. package/dist/esm/components/Payment/AlipayNick.js +0 -6
  75. package/dist/esm/components/Payment/AlipayNo.d.ts +0 -3
  76. package/dist/esm/components/Payment/AlipayNo.js +0 -6
  77. package/dist/esm/components/Payment/AlipayTime.d.ts +0 -4
  78. package/dist/esm/components/Payment/AlipayTime.js +0 -13
  79. package/dist/esm/components/Payment/BuyerNick.d.ts +0 -3
  80. package/dist/esm/components/Payment/BuyerNick.js +0 -6
  81. package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -7
  82. package/dist/esm/components/Payment/PaymentAmount.js +1 -45
  83. package/dist/esm/components/Payment/PaymentStatus.d.ts +4 -9
  84. package/dist/esm/components/Payment/PaymentStatus.js +1 -9
  85. package/dist/esm/components/Payment/PaymentTid.d.ts +0 -4
  86. package/dist/esm/components/Payment/PaymentTid.js +0 -9
  87. package/dist/esm/components/Payment/index.d.ts +4 -34
  88. package/dist/esm/components/Payment/index.js +0 -4
  89. package/dist/esm/components/Picture/index.d.ts +0 -2
  90. package/dist/esm/components/Picture/index.js +0 -4
  91. package/dist/esm/components/PlatForm/index.d.ts +1 -4
  92. package/dist/esm/components/PlatForm/index.js +0 -6
  93. package/dist/esm/components/Radio/index.d.ts +1 -6
  94. package/dist/esm/components/Radio/index.js +5 -13
  95. package/dist/esm/components/Rate/index.d.ts +0 -2
  96. package/dist/esm/components/Rate/index.js +0 -4
  97. package/dist/esm/components/ReceiverAddress/index.d.ts +1 -3
  98. package/dist/esm/components/ReceiverAddress/index.js +0 -4
  99. package/dist/esm/components/ReceiverMobile/index.d.ts +0 -3
  100. package/dist/esm/components/ReceiverMobile/index.js +1 -7
  101. package/dist/esm/components/ReceiverName/index.d.ts +0 -3
  102. package/dist/esm/components/ReceiverName/index.js +1 -7
  103. package/dist/esm/components/Remark/index.d.ts +0 -3
  104. package/dist/esm/components/Remark/index.js +1 -7
  105. package/dist/esm/components/ReturnLogistics/index.d.ts +1 -7
  106. package/dist/esm/components/ReturnLogistics/index.js +0 -4
  107. package/dist/esm/components/Select/index.d.ts +1 -6
  108. package/dist/esm/components/Select/index.js +2 -10
  109. package/dist/esm/components/ShopInput/index.d.ts +2 -8
  110. package/dist/esm/components/ShopInput/index.js +2 -19
  111. package/dist/esm/components/ShopName/index.d.ts +0 -3
  112. package/dist/esm/components/ShopName/index.js +1 -7
  113. package/dist/esm/components/Submitter/index.d.ts +4 -10
  114. package/dist/esm/components/Submitter/index.js +1 -17
  115. package/dist/esm/components/SystemOrderNo/index.d.ts +0 -4
  116. package/dist/esm/components/SystemOrderNo/index.js +1 -10
  117. package/dist/esm/components/TemplateSelect/index.d.ts +0 -3
  118. package/dist/esm/components/TemplateSelect/index.js +0 -6
  119. package/dist/esm/components/TextArea/index.d.ts +0 -3
  120. package/dist/esm/components/TextArea/index.js +1 -7
  121. package/dist/esm/components/ThirdItemSelect/index.d.ts +0 -3
  122. package/dist/esm/components/ThirdItemSelect/index.js +1 -7
  123. package/dist/esm/components/TradeDateTime/index.d.ts +0 -4
  124. package/dist/esm/components/TradeDateTime/index.js +2 -16
  125. package/dist/esm/components/TradeId/index.d.ts +0 -4
  126. package/dist/esm/components/TradeId/index.js +1 -10
  127. package/dist/esm/components/WorkOrderId/index.d.ts +0 -3
  128. package/dist/esm/components/WorkOrderId/index.js +3 -15
  129. package/dist/esm/type.d.ts +2 -10
  130. package/package.json +4 -4
  131. package/dist/esm/constant.d.ts +0 -14
  132. package/dist/esm/constant.js +0 -14
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  declare class OrdinaryMoney implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
- sortField: string;
7
6
  type: string;
8
7
  rules: any[];
9
8
  componentConfig: ComponentInterface["componentConfig"];
@@ -11,7 +10,6 @@ declare class OrdinaryMoney implements ComponentInterface {
11
10
  align: ALignType;
12
11
  width: number;
13
12
  isCombinationComponent: boolean;
14
- canSort: boolean;
15
13
  children: ComponentInterface[];
16
14
  constructor(options: PickOption);
17
15
  renderPc: (value: unknown, r: Record) => any;
@@ -21,14 +19,10 @@ declare class OrdinaryMoney implements ComponentInterface {
21
19
  renderClient: (record: any) => React.JSX.Element | null;
22
20
  editRender: () => React.JSX.Element;
23
21
  filterConfig: (item: ColumnConfig) => {
24
- searchDefaultConditions: "between";
25
22
  type: string;
26
23
  id: string;
27
24
  name: string;
28
- filterComponentType: "Rate";
29
- rules: {
30
- validator: (_: any, value: Array<number>) => Promise<undefined>;
31
- }[];
25
+ filterComponentType: "Input";
32
26
  filterFn: (value: string) => (i: Record) => boolean;
33
27
  };
34
28
  }
@@ -1,7 +1,4 @@
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); }); }; }
5
2
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
6
3
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
7
4
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -13,13 +10,11 @@ import GetFormItem from "../GetFormItem";
13
10
  import { ApaasInput } from '@kmkf-fe-packages/basic-components';
14
11
  import ItemView from "../../commonComponents/ItemView";
15
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
16
- import { SYMBOL } from "../../constant";
17
13
  var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
18
14
  var _this = this;
19
15
  _classCallCheck(this, OrdinaryMoney);
20
16
  _defineProperty(this, "name", void 0);
21
17
  _defineProperty(this, "id", void 0);
22
- _defineProperty(this, "sortField", void 0);
23
18
  _defineProperty(this, "type", void 0);
24
19
  _defineProperty(this, "rules", void 0);
25
20
  _defineProperty(this, "componentConfig", void 0);
@@ -27,7 +22,6 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
27
22
  _defineProperty(this, "align", void 0);
28
23
  _defineProperty(this, "width", void 0);
29
24
  _defineProperty(this, "isCombinationComponent", void 0);
30
- _defineProperty(this, "canSort", void 0);
31
25
  _defineProperty(this, "children", void 0);
32
26
  _defineProperty(this, "renderPc", function (value, r) {
33
27
  var _r;
@@ -62,56 +56,19 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
62
56
  });
63
57
  _defineProperty(this, "filterConfig", function (item) {
64
58
  return {
65
- searchDefaultConditions: SYMBOL.between,
66
59
  type: item.type,
67
- id: "".concat(item.id, "_ordinaryMoney"),
68
- name: "".concat(item.name, "-\u5F00\u7968\u91D1\u989D"),
69
- filterComponentType: 'Rate',
70
- rules: [{
71
- validator: function () {
72
- var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_, value) {
73
- return _regeneratorRuntime().wrap(function _callee$(_context) {
74
- while (1) switch (_context.prev = _context.next) {
75
- case 0:
76
- if (!((value === null || value === void 0 ? void 0 : value.length) > 0)) {
77
- _context.next = 5;
78
- break;
79
- }
80
- if (!(value !== null && value !== void 0 && value.some(function (v) {
81
- return isNull(v);
82
- }))) {
83
- _context.next = 3;
84
- break;
85
- }
86
- return _context.abrupt("return", Promise.reject(new Error('请输入正确的金额区间范围')));
87
- case 3:
88
- if (!(value[0] > value[1])) {
89
- _context.next = 5;
90
- break;
91
- }
92
- return _context.abrupt("return", Promise.reject(new Error('开始金额必须小于结束金额')));
93
- case 5:
94
- case "end":
95
- return _context.stop();
96
- }
97
- }, _callee);
98
- }));
99
- function validator(_x, _x2) {
100
- return _validator.apply(this, arguments);
101
- }
102
- return validator;
103
- }()
104
- }],
60
+ id: "".concat(item.id, "_ordinaryTaitou"),
61
+ name: "".concat(item.name, "-\u53D1\u7968\u62AC\u5934"),
62
+ filterComponentType: 'Input',
105
63
  filterFn: function filterFn(value) {
106
64
  return function (i) {
107
- return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'ordinaryMoney')).includes(value);
65
+ return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'ordinaryTaitou')).includes(value);
108
66
  };
109
67
  }
110
68
  };
111
69
  });
112
70
  this.name = '开票金额';
113
71
  this.id = "".concat(options.id, "_ordinaryMoney");
114
- this.sortField = "".concat(options.id, "_ordinaryMoney");
115
72
  this.type = options.type;
116
73
  this.componentConfig = options.componentConfig;
117
74
  this.rules = [{
@@ -126,7 +83,6 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
126
83
  this.effects = options.effects;
127
84
  this.width = 200;
128
85
  this.isCombinationComponent = false;
129
- this.canSort = true;
130
86
  this.children = [];
131
87
  });
132
88
  export default OrdinaryMoney;
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  declare class OrdinarySerial implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
- sortField: string;
7
6
  type: string;
8
7
  rules: any[];
9
8
  canFilter: boolean;
@@ -16,7 +15,6 @@ declare class OrdinarySerial implements ComponentInterface {
16
15
  align: ALignType;
17
16
  width: number;
18
17
  isCombinationComponent: boolean;
19
- canSort: boolean;
20
18
  children: ComponentInterface[];
21
19
  constructor(options: PickOption);
22
20
  renderClient: (record: any) => React.JSX.Element | null;
@@ -26,7 +24,6 @@ declare class OrdinarySerial implements ComponentInterface {
26
24
  renderExport: (value: any) => any;
27
25
  editRender: () => React.JSX.Element;
28
26
  filterConfig: (item: ColumnConfig) => {
29
- searchDefaultConditions: "like";
30
27
  type: string;
31
28
  id: string;
32
29
  name: string;
@@ -10,13 +10,11 @@ import GetFormItem from "../GetFormItem";
10
10
  import { ApaasInput } from '@kmkf-fe-packages/basic-components';
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
- import { SYMBOL } from "../../constant";
14
13
  var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options) {
15
14
  var _this = this;
16
15
  _classCallCheck(this, OrdinarySerial);
17
16
  _defineProperty(this, "name", void 0);
18
17
  _defineProperty(this, "id", void 0);
19
- _defineProperty(this, "sortField", void 0);
20
18
  _defineProperty(this, "type", void 0);
21
19
  _defineProperty(this, "rules", void 0);
22
20
  _defineProperty(this, "canFilter", void 0);
@@ -29,7 +27,6 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
29
27
  _defineProperty(this, "align", void 0);
30
28
  _defineProperty(this, "width", void 0);
31
29
  _defineProperty(this, "isCombinationComponent", void 0);
32
- _defineProperty(this, "canSort", void 0);
33
30
  _defineProperty(this, "children", void 0);
34
31
  _defineProperty(this, "renderClient", function (record) {
35
32
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -64,7 +61,6 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
64
61
  });
65
62
  _defineProperty(this, "filterConfig", function (item) {
66
63
  return {
67
- searchDefaultConditions: SYMBOL.like,
68
64
  type: item.type,
69
65
  id: "".concat(item.id, "_ordinarySerial"),
70
66
  name: "".concat(item.name, "-\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7"),
@@ -78,7 +74,6 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
78
74
  });
79
75
  this.name = '纳税人识别号';
80
76
  this.id = "".concat(options.id, "_ordinarySerial");
81
- this.sortField = "".concat(options.id, "_ordinarySerial");
82
77
  this.type = options.type;
83
78
  this.canFilter = true;
84
79
  this.canGroup = true;
@@ -91,7 +86,6 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
91
86
  this.effects = options.effects;
92
87
  this.width = 200;
93
88
  this.isCombinationComponent = false;
94
- this.canSort = true;
95
89
  this.children = [];
96
90
  });
97
91
  export default OrdinarySerial;
@@ -6,7 +6,6 @@ import OrdinarySerial from './OrdinarySerial';
6
6
  declare class Ordinary implements ComponentInterface {
7
7
  name: string;
8
8
  id: string;
9
- sortField: string;
10
9
  type: string;
11
10
  rules: any[];
12
11
  canFilter: boolean;
@@ -19,7 +18,6 @@ declare class Ordinary implements ComponentInterface {
19
18
  ordinaryHeader: OrdinaryHeader;
20
19
  ordinarySerial: OrdinarySerial;
21
20
  isCombinationComponent: boolean;
22
- canSort: boolean;
23
21
  children: ComponentInterface[];
24
22
  constructor(options: PickOption);
25
23
  editRender: () => React.JSX.Element;
@@ -32,20 +30,12 @@ declare class Ordinary implements ComponentInterface {
32
30
  };
33
31
  renderExport: () => null;
34
32
  renderClient: (record: any) => React.JSX.Element;
35
- filterConfig: (item: ColumnConfig) => ({
36
- searchDefaultConditions: "between";
37
- type: string;
38
- id: string;
39
- name: string;
40
- filterComponentType: "Rate";
41
- filterFn: (value: string) => (i: Record) => boolean;
42
- } | {
43
- searchDefaultConditions: "like";
33
+ filterConfig: (item: ColumnConfig) => {
44
34
  type: string;
45
35
  id: string;
46
36
  name: string;
47
37
  filterComponentType: "Input";
48
38
  filterFn: (value: string) => (i: Record) => boolean;
49
- })[];
39
+ }[];
50
40
  }
51
41
  export default Ordinary;
@@ -19,7 +19,6 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
19
19
  _classCallCheck(this, Ordinary);
20
20
  _defineProperty(this, "name", void 0);
21
21
  _defineProperty(this, "id", void 0);
22
- _defineProperty(this, "sortField", void 0);
23
22
  _defineProperty(this, "type", void 0);
24
23
  _defineProperty(this, "rules", void 0);
25
24
  _defineProperty(this, "canFilter", void 0);
@@ -32,7 +31,6 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
32
31
  _defineProperty(this, "ordinaryHeader", void 0);
33
32
  _defineProperty(this, "ordinarySerial", void 0);
34
33
  _defineProperty(this, "isCombinationComponent", void 0);
35
- _defineProperty(this, "canSort", void 0);
36
34
  _defineProperty(this, "children", void 0);
37
35
  _defineProperty(this, "editRender", function () {
38
36
  var _this$componentConfig, _this$componentConfig2;
@@ -68,7 +66,6 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
68
66
  });
69
67
  this.name = options.name;
70
68
  this.id = options.id;
71
- this.sortField = options.id;
72
69
  this.type = options.type;
73
70
  this.canFilter = false;
74
71
  this.canGroup = false;
@@ -80,7 +77,6 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
80
77
  this.ordinaryHeader = new OrdinaryHeader(options);
81
78
  this.ordinarySerial = new OrdinarySerial(options);
82
79
  this.isCombinationComponent = true;
83
- this.canSort = false;
84
80
  this.children = [this.ordinaryHeader, this.ordinaryMoney, this.ordinarySerial];
85
81
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
86
82
  validator: function validator(_, value) {
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  declare class PaymentTid implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
- sortField: string;
7
6
  type: string;
8
7
  rules: any[];
9
8
  componentConfig: ComponentInterface["componentConfig"];
@@ -11,7 +10,6 @@ declare class PaymentTid implements ComponentInterface {
11
10
  align: ALignType;
12
11
  width: number;
13
12
  isCombinationComponent: boolean;
14
- canSort: boolean;
15
13
  children: ComponentInterface[];
16
14
  constructor(options: PickOption);
17
15
  renderClient: (record: any) => React.JSX.Element | null;
@@ -21,7 +19,6 @@ declare class PaymentTid implements ComponentInterface {
21
19
  renderExport: (value: any, record: Record) => any;
22
20
  editRender: () => React.JSX.Element;
23
21
  filterConfig: (item: ColumnConfig) => {
24
- searchDefaultConditions: "eq";
25
22
  type: string;
26
23
  id: string;
27
24
  name: string;
@@ -10,13 +10,11 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
10
10
  import GetFormItem from "../GetFormItem";
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
- import { SYMBOL } from "../../constant";
14
13
  var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
15
14
  var _this = this;
16
15
  _classCallCheck(this, PaymentTid);
17
16
  _defineProperty(this, "name", void 0);
18
17
  _defineProperty(this, "id", void 0);
19
- _defineProperty(this, "sortField", void 0);
20
18
  _defineProperty(this, "type", void 0);
21
19
  _defineProperty(this, "rules", void 0);
22
20
  _defineProperty(this, "componentConfig", void 0);
@@ -24,7 +22,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
24
22
  _defineProperty(this, "align", void 0);
25
23
  _defineProperty(this, "width", void 0);
26
24
  _defineProperty(this, "isCombinationComponent", void 0);
27
- _defineProperty(this, "canSort", void 0);
28
25
  _defineProperty(this, "children", void 0);
29
26
  _defineProperty(this, "renderClient", function (record) {
30
27
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -68,7 +65,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
68
65
  });
69
66
  _defineProperty(this, "filterConfig", function (item) {
70
67
  return {
71
- searchDefaultConditions: SYMBOL.eq,
72
68
  type: item.type,
73
69
  id: "".concat(item.id, "_enterprisePaymentAlipayNick"),
74
70
  name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u59D3\u540D"),
@@ -82,7 +78,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
82
78
  });
83
79
  this.name = '支付宝姓名';
84
80
  this.id = "".concat(options.id, "_enterprisePaymentAlipayNick");
85
- this.sortField = "".concat(options.id, "_enterprisePaymentAlipayNick");
86
81
  this.type = options.type;
87
82
  this.componentConfig = options.componentConfig;
88
83
  this.effects = options.effects;
@@ -90,7 +85,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
90
85
  this.align = 'left';
91
86
  this.width = 200;
92
87
  this.isCombinationComponent = false;
93
- this.canSort = true;
94
88
  this.children = [];
95
89
  });
96
90
  export default PaymentTid;
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  declare class AlipayNo implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
- sortField: string;
7
6
  type: string;
8
7
  rules: any[];
9
8
  componentConfig: ComponentInterface["componentConfig"];
@@ -11,7 +10,6 @@ declare class AlipayNo implements ComponentInterface {
11
10
  align: ALignType;
12
11
  width: number;
13
12
  isCombinationComponent: boolean;
14
- canSort: boolean;
15
13
  children: ComponentInterface[];
16
14
  constructor(options: PickOption);
17
15
  renderClient: (record: any) => React.JSX.Element | null;
@@ -21,7 +19,6 @@ declare class AlipayNo implements ComponentInterface {
21
19
  renderExport: (value: any, record: Record) => any;
22
20
  editRender: () => React.JSX.Element;
23
21
  filterConfig: (item: ColumnConfig) => {
24
- searchDefaultConditions: "eq";
25
22
  type: string;
26
23
  id: string;
27
24
  name: string;
@@ -10,13 +10,11 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
10
10
  import GetFormItem from "../GetFormItem";
11
11
  import ItemView from "../../commonComponents/ItemView";
12
12
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
13
- import { SYMBOL } from "../../constant";
14
13
  var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
15
14
  var _this = this;
16
15
  _classCallCheck(this, AlipayNo);
17
16
  _defineProperty(this, "name", void 0);
18
17
  _defineProperty(this, "id", void 0);
19
- _defineProperty(this, "sortField", void 0);
20
18
  _defineProperty(this, "type", void 0);
21
19
  _defineProperty(this, "rules", void 0);
22
20
  _defineProperty(this, "componentConfig", void 0);
@@ -24,7 +22,6 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
24
22
  _defineProperty(this, "align", void 0);
25
23
  _defineProperty(this, "width", void 0);
26
24
  _defineProperty(this, "isCombinationComponent", void 0);
27
- _defineProperty(this, "canSort", void 0);
28
25
  _defineProperty(this, "children", void 0);
29
26
  _defineProperty(this, "renderClient", function (record) {
30
27
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -68,7 +65,6 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
68
65
  });
69
66
  _defineProperty(this, "filterConfig", function (item) {
70
67
  return {
71
- searchDefaultConditions: SYMBOL.eq,
72
68
  type: item.type,
73
69
  id: "".concat(item.id, "_enterprisePaymentAlipayNo"),
74
70
  name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u8D26\u53F7"),
@@ -82,13 +78,11 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
82
78
  });
83
79
  this.name = '支付宝账号';
84
80
  this.id = "".concat(options.id, "_enterprisePaymentAlipayNo");
85
- this.sortField = "".concat(options.id, "_enterprisePaymentAlipayNo");
86
81
  this.type = options.type;
87
82
  this.componentConfig = options.componentConfig;
88
83
  this.effects = options.effects;
89
84
  this.width = 200;
90
85
  this.isCombinationComponent = false;
91
- this.canSort = true;
92
86
  this.children = [];
93
87
  this.rules = [{
94
88
  validator: function validator(_, value) {
@@ -3,14 +3,12 @@ import React from 'react';
3
3
  declare class AlipayTime implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
- sortField: string;
7
6
  type: string;
8
7
  rules: any[];
9
8
  componentConfig: ComponentInterface["componentConfig"];
10
9
  align: ALignType;
11
10
  width: number;
12
11
  isCombinationComponent: boolean;
13
- canSort: boolean;
14
12
  children: ComponentInterface[];
15
13
  constructor(options: PickOption);
16
14
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -20,13 +18,11 @@ declare class AlipayTime implements ComponentInterface {
20
18
  renderExport: (value: string) => string | null;
21
19
  editRender: () => React.JSX.Element;
22
20
  filterConfig: (item: ColumnConfig) => {
23
- searchDefaultConditions: "between";
24
21
  type: string;
25
22
  id: string;
26
23
  name: string;
27
24
  filterComponentType: "Date";
28
25
  filterFn: (value: string[]) => (i: Record) => boolean;
29
- formatFilterValue: (val: Array<any>) => number[] | undefined;
30
26
  };
31
27
  }
32
28
  export default AlipayTime;
@@ -11,20 +11,17 @@ import moment from 'moment';
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
- import { SYMBOL } from "../../constant";
15
14
  var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
16
15
  var _this = this;
17
16
  _classCallCheck(this, AlipayTime);
18
17
  _defineProperty(this, "name", void 0);
19
18
  _defineProperty(this, "id", void 0);
20
- _defineProperty(this, "sortField", void 0);
21
19
  _defineProperty(this, "type", void 0);
22
20
  _defineProperty(this, "rules", void 0);
23
21
  _defineProperty(this, "componentConfig", void 0);
24
22
  _defineProperty(this, "align", void 0);
25
23
  _defineProperty(this, "width", void 0);
26
24
  _defineProperty(this, "isCombinationComponent", void 0);
27
- _defineProperty(this, "canSort", void 0);
28
25
  _defineProperty(this, "children", void 0);
29
26
  _defineProperty(this, "renderClient", function (record) {
30
27
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -63,7 +60,6 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
63
60
  });
64
61
  _defineProperty(this, "filterConfig", function (item) {
65
62
  return {
66
- searchDefaultConditions: SYMBOL.between,
67
63
  type: item.type,
68
64
  id: "".concat(item.id, "_enterprisePaymentTime"),
69
65
  name: "".concat(item.name, "-\u6253\u6B3E\u65F6\u95F4"),
@@ -73,26 +69,17 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
73
69
  var recordDateTime = _filterFn.filterTableListItemColumnValue(i, item.id, 'enterprisePaymentTime');
74
70
  return _filterFn.filterDateFn(value, recordDateTime);
75
71
  };
76
- },
77
- formatFilterValue: function formatFilterValue(val) {
78
- if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
79
- return val === null || val === void 0 ? void 0 : val.map(function (v) {
80
- return moment(v).valueOf();
81
- });
82
- }
83
72
  }
84
73
  };
85
74
  });
86
75
  this.name = '打款时间';
87
76
  this.id = "".concat(options.id, "_enterprisePaymentTime");
88
- this.sortField = "".concat(options.id, "_enterprisePaymentTime");
89
77
  this.type = options.type;
90
78
  this.componentConfig = options.componentConfig;
91
79
  this.rules = [];
92
80
  this.align = 'left';
93
81
  this.width = 200;
94
82
  this.isCombinationComponent = false;
95
- this.canSort = true;
96
83
  this.children = [];
97
84
  });
98
85
  export default AlipayTime;
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  declare class BuyerNick implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
- sortField: string;
7
6
  type: string;
8
7
  rules: any[];
9
8
  componentConfig: ComponentInterface["componentConfig"];
@@ -11,7 +10,6 @@ declare class BuyerNick implements ComponentInterface {
11
10
  align: ALignType;
12
11
  width: number;
13
12
  isCombinationComponent: boolean;
14
- canSort: boolean;
15
13
  children: ComponentInterface[];
16
14
  constructor(options: PickOption);
17
15
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -21,7 +19,6 @@ declare class BuyerNick implements ComponentInterface {
21
19
  getComponentValue: (r: Record) => any;
22
20
  renderExport: (value: string) => string;
23
21
  filterConfig: (item: ColumnConfig) => {
24
- searchDefaultConditions: "like";
25
22
  type: string;
26
23
  id: string;
27
24
  name: string;
@@ -17,13 +17,11 @@ import GetFormItem from "../GetFormItem";
17
17
  import ItemView from "../../commonComponents/ItemView";
18
18
  import PlatBuyer from "../../commonComponents/PlatBuyer";
19
19
  import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
20
- import { SYMBOL } from "../../constant";
21
20
  var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
22
21
  var _this = this;
23
22
  _classCallCheck(this, BuyerNick);
24
23
  _defineProperty(this, "name", void 0);
25
24
  _defineProperty(this, "id", void 0);
26
- _defineProperty(this, "sortField", void 0);
27
25
  _defineProperty(this, "type", void 0);
28
26
  _defineProperty(this, "rules", void 0);
29
27
  _defineProperty(this, "componentConfig", void 0);
@@ -31,7 +29,6 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
31
29
  _defineProperty(this, "align", void 0);
32
30
  _defineProperty(this, "width", void 0);
33
31
  _defineProperty(this, "isCombinationComponent", void 0);
34
- _defineProperty(this, "canSort", void 0);
35
32
  _defineProperty(this, "children", void 0);
36
33
  _defineProperty(this, "renderClient", function (record) {
37
34
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -85,7 +82,6 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
85
82
  });
86
83
  _defineProperty(this, "filterConfig", function (item) {
87
84
  return {
88
- searchDefaultConditions: SYMBOL.like,
89
85
  type: item.type,
90
86
  id: "".concat(item.id, "_enterprisePaymentBuyerNick"),
91
87
  name: "".concat(item.name, "-\u4E70\u5BB6\u6635\u79F0"),
@@ -99,7 +95,6 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
99
95
  });
100
96
  this.name = '买家昵称';
101
97
  this.id = "".concat(options.id, "_enterprisePaymentBuyerNick");
102
- this.sortField = "".concat(options.id, "_enterprisePaymentBuyerNick");
103
98
  this.type = options.type;
104
99
  this.componentConfig = options.componentConfig;
105
100
  this.effects = options.effects;
@@ -107,7 +102,6 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
107
102
  this.align = 'left';
108
103
  this.width = 200;
109
104
  this.isCombinationComponent = false;
110
- this.canSort = true;
111
105
  this.children = [];
112
106
  });
113
107
  export default BuyerNick;
@@ -3,14 +3,12 @@ import React from 'react';
3
3
  declare class PaymentAmount implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
- sortField: string;
7
6
  type: string;
8
7
  rules: any[];
9
8
  componentConfig: ComponentInterface["componentConfig"];
10
9
  align: ALignType;
11
10
  width: number;
12
11
  isCombinationComponent: boolean;
13
- canSort: boolean;
14
12
  children: ComponentInterface[];
15
13
  constructor(options: PickOption);
16
14
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -20,14 +18,10 @@ declare class PaymentAmount implements ComponentInterface {
20
18
  renderExport: (value: string) => string;
21
19
  editRender: () => React.JSX.Element;
22
20
  filterConfig: (item: ColumnConfig) => {
23
- searchDefaultConditions: "between";
24
21
  type: string;
25
22
  id: string;
26
23
  name: string;
27
- filterComponentType: "Rate";
28
- rules: {
29
- validator: (_: any, value: Array<number>) => Promise<undefined>;
30
- }[];
24
+ filterComponentType: "Input";
31
25
  filterFn: (value: string) => (i: Record) => boolean;
32
26
  };
33
27
  }