@kmkf-fe-packages/services-components 0.6.3 → 0.7.1-alpha.0

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 (148) hide show
  1. package/README.md +2 -0
  2. package/dist/esm/commonComponents/ItemView/index.d.ts +1 -1
  3. package/dist/esm/commonComponents/OperationLog/index.d.ts +8 -0
  4. package/dist/esm/commonComponents/OperationLog/index.js +127 -0
  5. package/dist/esm/commonComponents/PlatformAvatar/index.d.ts +7 -0
  6. package/dist/esm/commonComponents/PlatformAvatar/index.js +28 -0
  7. package/dist/esm/commonComponents/QueryLogisticsTrack/index.d.ts +9 -0
  8. package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +92 -0
  9. package/dist/esm/commonComponents/ShopList/index.d.ts +13 -0
  10. package/dist/esm/commonComponents/ShopList/index.js +34 -0
  11. package/dist/esm/components/ActualPayment/index.d.ts +12 -13
  12. package/dist/esm/components/ActualPayment/index.js +28 -26
  13. package/dist/esm/components/Address/index.d.ts +9 -16
  14. package/dist/esm/components/Address/index.js +17 -26
  15. package/dist/esm/components/Alipay/index.d.ts +15 -19
  16. package/dist/esm/components/Alipay/index.js +15 -20
  17. package/dist/esm/components/AlipayAccount/index.d.ts +13 -15
  18. package/dist/esm/components/AlipayAccount/index.js +29 -28
  19. package/dist/esm/components/AlipayName/index.d.ts +13 -15
  20. package/dist/esm/components/AlipayName/index.js +29 -28
  21. package/dist/esm/components/BuyerNick/index.d.ts +14 -15
  22. package/dist/esm/components/BuyerNick/index.js +41 -28
  23. package/dist/esm/components/Cascader/index.d.ts +13 -25
  24. package/dist/esm/components/Cascader/index.js +38 -31
  25. package/dist/esm/components/Checkbox/index.d.ts +15 -11
  26. package/dist/esm/components/Checkbox/index.js +45 -26
  27. package/dist/esm/components/CommonDataTime/index.d.ts +11 -11
  28. package/dist/esm/components/CommonDataTime/index.js +27 -24
  29. package/dist/esm/components/CompletedUser/index.d.ts +30 -0
  30. package/dist/esm/components/CompletedUser/index.js +64 -0
  31. package/dist/esm/components/DataTime/index.d.ts +12 -11
  32. package/dist/esm/components/DataTime/index.js +30 -26
  33. package/dist/esm/components/EItemEnCode/index.d.ts +11 -11
  34. package/dist/esm/components/EItemEnCode/index.js +34 -27
  35. package/dist/esm/components/EItemId/index.d.ts +11 -11
  36. package/dist/esm/components/EItemId/index.js +34 -27
  37. package/dist/esm/components/EItemSelect/index.d.ts +6 -12
  38. package/dist/esm/components/EItemSelect/index.js +16 -24
  39. package/dist/esm/components/ErpTradeId/index.d.ts +12 -13
  40. package/dist/esm/components/ErpTradeId/index.js +28 -26
  41. package/dist/esm/components/Express/index.d.ts +15 -17
  42. package/dist/esm/components/Express/index.js +30 -36
  43. package/dist/esm/components/ExpressCode/index.d.ts +16 -18
  44. package/dist/esm/components/ExpressCode/index.js +34 -32
  45. package/dist/esm/components/FlowStatusSelect/index.d.ts +16 -34
  46. package/dist/esm/components/FlowStatusSelect/index.js +38 -25
  47. package/dist/esm/components/GetFormItem/index.d.ts +3 -3
  48. package/dist/esm/components/GetFormItem/index.js +3 -3
  49. package/dist/esm/components/Grade/index.d.ts +6 -12
  50. package/dist/esm/components/Grade/index.js +14 -23
  51. package/dist/esm/components/Handler/index.d.ts +32 -0
  52. package/dist/esm/components/Handler/index.js +74 -0
  53. package/dist/esm/components/Input/index.d.ts +11 -12
  54. package/dist/esm/components/Input/index.js +29 -28
  55. package/dist/esm/components/JstItemSelect/index.d.ts +13 -13
  56. package/dist/esm/components/JstItemSelect/index.js +48 -28
  57. package/dist/esm/components/JstLogistics/index.d.ts +21 -13
  58. package/dist/esm/components/JstLogistics/index.js +50 -29
  59. package/dist/esm/components/JstSendGood/index.d.ts +12 -12
  60. package/dist/esm/components/JstSendGood/index.js +54 -29
  61. package/dist/esm/components/JstSupply/index.d.ts +12 -12
  62. package/dist/esm/components/JstSupply/index.js +54 -29
  63. package/dist/esm/components/Logistics/index.d.ts +23 -27
  64. package/dist/esm/components/Logistics/index.js +19 -20
  65. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +33 -0
  66. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +134 -0
  67. package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +38 -0
  68. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +102 -0
  69. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +36 -0
  70. package/dist/esm/components/LogisticsInterception/InterceptType.js +84 -0
  71. package/dist/esm/components/LogisticsInterception/columnHeader.d.ts +5 -0
  72. package/dist/esm/components/LogisticsInterception/columnHeader.js +55 -0
  73. package/dist/esm/components/LogisticsInterception/index.d.ts +75 -0
  74. package/dist/esm/components/LogisticsInterception/index.js +136 -0
  75. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +30 -0
  76. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +74 -0
  77. package/dist/esm/components/MultSelect/index.d.ts +12 -12
  78. package/dist/esm/components/MultSelect/index.js +31 -24
  79. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +11 -22
  80. package/dist/esm/components/Ordinary/OrdinaryHeader.js +26 -32
  81. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +11 -22
  82. package/dist/esm/components/Ordinary/OrdinaryMoney.js +25 -31
  83. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +11 -17
  84. package/dist/esm/components/Ordinary/OrdinarySerial.js +26 -22
  85. package/dist/esm/components/Ordinary/index.d.ts +17 -24
  86. package/dist/esm/components/Ordinary/index.js +20 -12
  87. package/dist/esm/components/Payment/AlipayNick.d.ts +11 -22
  88. package/dist/esm/components/Payment/AlipayNick.js +29 -34
  89. package/dist/esm/components/Payment/AlipayNo.d.ts +11 -21
  90. package/dist/esm/components/Payment/AlipayNo.js +29 -34
  91. package/dist/esm/components/Payment/AlipayTime.d.ts +11 -23
  92. package/dist/esm/components/Payment/AlipayTime.js +26 -35
  93. package/dist/esm/components/Payment/BuyerNick.d.ts +11 -22
  94. package/dist/esm/components/Payment/BuyerNick.js +26 -32
  95. package/dist/esm/components/Payment/PaymentAmount.d.ts +11 -22
  96. package/dist/esm/components/Payment/PaymentAmount.js +24 -30
  97. package/dist/esm/components/Payment/PaymentStatus.d.ts +17 -29
  98. package/dist/esm/components/Payment/PaymentStatus.js +48 -41
  99. package/dist/esm/components/Payment/PaymentTid.d.ts +11 -22
  100. package/dist/esm/components/Payment/PaymentTid.js +24 -30
  101. package/dist/esm/components/Payment/index.d.ts +36 -97
  102. package/dist/esm/components/Payment/index.js +22 -20
  103. package/dist/esm/components/Picture/index.d.ts +11 -11
  104. package/dist/esm/components/Picture/index.js +14 -19
  105. package/dist/esm/components/PlatForm/index.d.ts +31 -0
  106. package/dist/esm/components/PlatForm/index.js +67 -0
  107. package/dist/esm/components/Radio/index.d.ts +15 -10
  108. package/dist/esm/components/Radio/index.js +34 -20
  109. package/dist/esm/components/Rate/index.d.ts +6 -11
  110. package/dist/esm/components/Rate/index.js +17 -30
  111. package/dist/esm/components/ReceiverAddress/index.d.ts +11 -14
  112. package/dist/esm/components/ReceiverAddress/index.js +22 -29
  113. package/dist/esm/components/ReceiverMobile/index.d.ts +11 -12
  114. package/dist/esm/components/ReceiverMobile/index.js +29 -27
  115. package/dist/esm/components/ReceiverName/index.d.ts +11 -12
  116. package/dist/esm/components/ReceiverName/index.js +29 -27
  117. package/dist/esm/components/Remark/index.d.ts +14 -11
  118. package/dist/esm/components/Remark/index.js +31 -23
  119. package/dist/esm/components/ReturnLogistics/index.d.ts +26 -25
  120. package/dist/esm/components/ReturnLogistics/index.js +19 -10
  121. package/dist/esm/components/Select/index.d.ts +12 -11
  122. package/dist/esm/components/Select/index.js +28 -23
  123. package/dist/esm/components/ShopInput/index.d.ts +28 -0
  124. package/dist/esm/components/ShopInput/index.js +76 -0
  125. package/dist/esm/components/ShopName/index.d.ts +12 -13
  126. package/dist/esm/components/ShopName/index.js +28 -25
  127. package/dist/esm/components/Submitter/index.d.ts +30 -0
  128. package/dist/esm/components/Submitter/index.js +64 -0
  129. package/dist/esm/components/SystemOrderNo/index.d.ts +13 -14
  130. package/dist/esm/components/SystemOrderNo/index.js +27 -25
  131. package/dist/esm/components/TemplateSelect/index.d.ts +13 -13
  132. package/dist/esm/components/TemplateSelect/index.js +29 -24
  133. package/dist/esm/components/TextArea/index.d.ts +11 -11
  134. package/dist/esm/components/TextArea/index.js +27 -24
  135. package/dist/esm/components/ThirdItemSelect/index.d.ts +11 -11
  136. package/dist/esm/components/ThirdItemSelect/index.js +36 -28
  137. package/dist/esm/components/TradeDateTime/index.d.ts +13 -5
  138. package/dist/esm/components/TradeDateTime/index.js +52 -17
  139. package/dist/esm/components/TradeId/index.d.ts +11 -6
  140. package/dist/esm/components/TradeId/index.js +27 -14
  141. package/dist/esm/components/WorkOrderId/index.d.ts +11 -12
  142. package/dist/esm/components/WorkOrderId/index.js +36 -29
  143. package/dist/esm/factory.d.ts +3 -0
  144. package/dist/esm/factory.js +105 -0
  145. package/dist/esm/index.d.ts +52 -40
  146. package/dist/esm/index.js +13 -1
  147. package/dist/esm/type.d.ts +53 -45
  148. package/package.json +10 -5
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type';
3
+ declare class ShopInput implements ComponentInterface {
4
+ name: string;
5
+ id: string;
6
+ type: string;
7
+ componentConfig: ComponentInterface["componentConfig"];
8
+ effects: ComponentInterface["effects"];
9
+ isCombinationComponent: boolean;
10
+ children: ComponentInterface[];
11
+ constructor(options: PickOption);
12
+ renderPc: (shopName: unknown, record: any) => JSX.Element;
13
+ renderLog: (record: Record) => any;
14
+ getComponentValue: (r: Record) => any;
15
+ renderExport: (value: any, record: Record) => any;
16
+ renderClient: () => null;
17
+ editRender: () => null;
18
+ filterConfig: (item: ColumnConfig) => {
19
+ type: string;
20
+ id: string;
21
+ name: string;
22
+ filterComponentType: "ShopList";
23
+ shopList: any[];
24
+ mode: string;
25
+ filterFn: (value: string) => (i: Record) => boolean | undefined;
26
+ };
27
+ }
28
+ export default ShopInput;
@@ -0,0 +1,76 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
+ import React from 'react';
9
+ import PlatformAvatar from "../../commonComponents/PlatformAvatar";
10
+ import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
11
+ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
12
+ var _this = this;
13
+ _classCallCheck(this, ShopInput);
14
+ _defineProperty(this, "name", void 0);
15
+ _defineProperty(this, "id", void 0);
16
+ _defineProperty(this, "type", void 0);
17
+ _defineProperty(this, "componentConfig", void 0);
18
+ _defineProperty(this, "effects", void 0);
19
+ _defineProperty(this, "isCombinationComponent", void 0);
20
+ _defineProperty(this, "children", void 0);
21
+ _defineProperty(this, "renderPc", function (shopName, record) {
22
+ return /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(PlatformAvatar, {
23
+ type: record === null || record === void 0 ? void 0 : record.platform,
24
+ styles: {
25
+ marginRight: 5
26
+ }
27
+ }), record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
28
+ });
29
+ _defineProperty(this, "renderLog", function (record) {
30
+ if (!(record !== null && record !== void 0 && record[_this.id])) return null;
31
+ return record === null || record === void 0 ? void 0 : record["".concat(_this.id)];
32
+ });
33
+ _defineProperty(this, "getComponentValue", function (r) {
34
+ return r === null || r === void 0 ? void 0 : r[_this.id];
35
+ });
36
+ _defineProperty(this, "renderExport", function (value, record) {
37
+ var _record;
38
+ return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--';
39
+ });
40
+ _defineProperty(this, "renderClient", function () {
41
+ return null;
42
+ });
43
+ _defineProperty(this, "editRender", function () {
44
+ return null;
45
+ });
46
+ _defineProperty(this, "filterConfig", function (item) {
47
+ var _this$effects;
48
+ return {
49
+ type: item.type,
50
+ id: item.id,
51
+ // 过滤组件id
52
+ name: item.name,
53
+ // 过滤组件名称
54
+ filterComponentType: 'ShopList',
55
+ shopList: (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopList) || [],
56
+ mode: 'multiple',
57
+ filterFn: function filterFn(value) {
58
+ return function (i) {
59
+ var _this$effects2, _this$effects2$shopLi, _this$effects2$shopLi2, _this$effects2$shopLi3;
60
+ return _this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : (_this$effects2$shopLi = _this$effects2.shopList) === null || _this$effects2$shopLi === void 0 ? void 0 : (_this$effects2$shopLi2 = _this$effects2$shopLi.filter(function (item) {
61
+ return value === null || value === void 0 ? void 0 : value.includes(item.shopId);
62
+ })) === null || _this$effects2$shopLi2 === void 0 ? void 0 : (_this$effects2$shopLi3 = _this$effects2$shopLi2.map(function (item) {
63
+ return item.shopName;
64
+ })) === null || _this$effects2$shopLi3 === void 0 ? void 0 : _this$effects2$shopLi3.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
65
+ };
66
+ }
67
+ };
68
+ });
69
+ this.name = "店铺名称";
70
+ this.id = "shopName";
71
+ this.type = "SHOP_INPUT";
72
+ this.effects = options === null || options === void 0 ? void 0 : options.effects;
73
+ this.isCombinationComponent = false;
74
+ this.children = [];
75
+ });
76
+ export default ShopInput;
@@ -1,27 +1,26 @@
1
1
  /// <reference types="react" />
2
- import { ComponentInterface, PickOption, DataType, Record } from '../../type';
2
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
3
3
  declare class BasicInput implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
6
  type: string;
7
7
  rules: any[];
8
- canFilter: boolean;
9
- canGroup: boolean;
10
- canHidden: boolean;
11
- dataType: DataType;
12
- showContains: boolean;
13
8
  componentConfig: ComponentInterface["componentConfig"];
9
+ isCombinationComponent: boolean;
10
+ children: ComponentInterface[];
14
11
  constructor(options: PickOption);
15
- render: (value: string) => JSX.Element;
16
12
  renderClient: (record: any) => JSX.Element | null;
17
13
  renderPc: (value: any, record: Record) => JSX.Element;
14
+ renderLog: (r: Record) => JSX.Element | null;
15
+ getComponentValue: (r: Record) => any;
18
16
  renderExport: (value: any, record: Record) => any;
19
- editRender: (value: any) => JSX.Element;
20
- getColumns: () => this & {
21
- dataIndex: string;
22
- title: string;
23
- componentType: (value: any) => JSX.Element;
24
- renderExport: (value: any, record: Record) => any;
17
+ editRender: () => JSX.Element;
18
+ filterConfig: (item: ColumnConfig) => {
19
+ type: string;
20
+ id: string;
21
+ name: string;
22
+ filterComponentType: "Input";
23
+ filterFn: (value: string) => (i: Record) => boolean;
25
24
  };
26
25
  }
27
26
  export default BasicInput;
@@ -1,6 +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 ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
3
  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
4
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
@@ -12,7 +10,7 @@ import React from 'react';
12
10
  import { ApaasInput } from '@kmkf-fe-packages/basic-components';
13
11
  import GetFormItem from "../GetFormItem";
14
12
  import ItemView from "../../commonComponents/ItemView";
15
- import { isNull } from '@kmkf-fe-packages/kmkf-utils';
13
+ import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
16
14
  var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
17
15
  var _this = this;
18
16
  _classCallCheck(this, BasicInput);
@@ -20,31 +18,32 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
20
18
  _defineProperty(this, "id", void 0);
21
19
  _defineProperty(this, "type", void 0);
22
20
  _defineProperty(this, "rules", void 0);
23
- _defineProperty(this, "canFilter", void 0);
24
- _defineProperty(this, "canGroup", void 0);
25
- _defineProperty(this, "canHidden", void 0);
26
- _defineProperty(this, "dataType", void 0);
27
- _defineProperty(this, "showContains", void 0);
28
21
  _defineProperty(this, "componentConfig", void 0);
29
- _defineProperty(this, "render", function (value) {
30
- return /*#__PURE__*/React.createElement("span", null, value);
31
- });
22
+ _defineProperty(this, "isCombinationComponent", void 0);
23
+ _defineProperty(this, "children", void 0);
32
24
  _defineProperty(this, "renderClient", function (record) {
33
25
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
34
26
  id: _this.id,
35
27
  label: _this.name,
36
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
28
+ value: record === null || record === void 0 ? void 0 : record[_this.id]
37
29
  }) : null;
38
30
  });
39
31
  _defineProperty(this, "renderPc", function (value, record) {
40
32
  var _record;
41
33
  return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_shopName")]) !== null && _record !== void 0 ? _record : '--');
42
34
  });
35
+ _defineProperty(this, "renderLog", function (r) {
36
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_shopName")])) return null;
37
+ return _this.renderPc(undefined, r);
38
+ });
39
+ _defineProperty(this, "getComponentValue", function (r) {
40
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_shopName")];
41
+ });
43
42
  _defineProperty(this, "renderExport", function (value, record) {
44
43
  var _record2;
45
44
  return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_shopName")]) !== null && _record2 !== void 0 ? _record2 : '--';
46
45
  });
47
- _defineProperty(this, "editRender", function (value) {
46
+ _defineProperty(this, "editRender", function () {
48
47
  var _this$componentConfig, _this$componentConfig2;
49
48
  return /*#__PURE__*/React.createElement(GetFormItem, {
50
49
  title: _this.name,
@@ -56,23 +55,27 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
56
55
  }))
57
56
  });
58
57
  });
59
- _defineProperty(this, "getColumns", function () {
60
- return _objectSpread(_objectSpread({}, _this), {}, {
61
- dataIndex: _this.id,
62
- title: _this.name,
63
- componentType: _this.editRender,
64
- renderExport: _this.renderExport
65
- });
58
+ _defineProperty(this, "filterConfig", function (item) {
59
+ return {
60
+ type: item.type,
61
+ id: item.id,
62
+ // 过滤组件id
63
+ name: item.name,
64
+ // 过滤组件名称
65
+ filterComponentType: 'Input',
66
+ filterFn: function filterFn(value) {
67
+ return function (i) {
68
+ return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'shopName')).includes(value);
69
+ };
70
+ }
71
+ };
66
72
  });
67
73
  this.name = options.name;
68
74
  this.id = options.id;
69
75
  this.type = options.type;
70
- this.canFilter = true;
71
- this.canGroup = true;
72
- this.canHidden = true;
73
- this.dataType = 'string';
74
- this.showContains = true;
75
76
  this.componentConfig = options.componentConfig;
76
77
  this.rules = [];
78
+ this.isCombinationComponent = false;
79
+ this.children = [];
77
80
  });
78
81
  export default BasicInput;
@@ -0,0 +1,30 @@
1
+ /// <reference types="react" />
2
+ import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type';
3
+ declare class Submitter implements ComponentInterface {
4
+ name: string;
5
+ id: string;
6
+ type: string;
7
+ componentConfig: ComponentInterface["componentConfig"];
8
+ effects: ComponentInterface["effects"];
9
+ isCombinationComponent: boolean;
10
+ children: ComponentInterface[];
11
+ constructor(options: PickOption);
12
+ renderPc: (value: unknown, record: Record) => JSX.Element;
13
+ renderLog: () => null;
14
+ getComponentValue: (r: Record) => any;
15
+ renderExport: (value: any, record: Record) => any;
16
+ renderClient: () => null;
17
+ editRender: () => null;
18
+ filterConfig: (item: ColumnConfig) => {
19
+ type: string;
20
+ id: string;
21
+ name: string;
22
+ filterComponentType: "MultipleSelect";
23
+ options: {
24
+ label: string;
25
+ value: string;
26
+ }[] | undefined;
27
+ filterFn: (value: string) => (i: Record) => boolean;
28
+ };
29
+ }
30
+ export default Submitter;
@@ -0,0 +1,64 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
3
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
+ import React from 'react';
9
+ import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
10
+ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
11
+ var _this = this;
12
+ _classCallCheck(this, Submitter);
13
+ _defineProperty(this, "name", void 0);
14
+ _defineProperty(this, "id", void 0);
15
+ _defineProperty(this, "type", void 0);
16
+ _defineProperty(this, "componentConfig", void 0);
17
+ _defineProperty(this, "effects", void 0);
18
+ _defineProperty(this, "isCombinationComponent", void 0);
19
+ _defineProperty(this, "children", void 0);
20
+ _defineProperty(this, "renderPc", function (value, record) {
21
+ var _record;
22
+ return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--');
23
+ });
24
+ _defineProperty(this, "renderLog", function () {
25
+ return null;
26
+ });
27
+ _defineProperty(this, "getComponentValue", function (r) {
28
+ return r === null || r === void 0 ? void 0 : r[_this.id];
29
+ });
30
+ _defineProperty(this, "renderExport", function (value, record) {
31
+ var _record2;
32
+ return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record2 !== void 0 ? _record2 : '--';
33
+ });
34
+ _defineProperty(this, "renderClient", function () {
35
+ return null;
36
+ });
37
+ _defineProperty(this, "editRender", function () {
38
+ return null;
39
+ });
40
+ _defineProperty(this, "filterConfig", function (item) {
41
+ var _this$effects;
42
+ return {
43
+ type: item.type,
44
+ id: item.id,
45
+ // 过滤组件id
46
+ name: item.name,
47
+ // 过滤组件名称
48
+ filterComponentType: 'MultipleSelect',
49
+ options: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList,
50
+ filterFn: function filterFn(value) {
51
+ return function (i) {
52
+ return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
53
+ };
54
+ }
55
+ };
56
+ });
57
+ this.name = "提交人";
58
+ this.id = "submitter";
59
+ this.type = "OPERATOR_INPUT";
60
+ this.effects = options === null || options === void 0 ? void 0 : options.effects;
61
+ this.isCombinationComponent = false;
62
+ this.children = [];
63
+ });
64
+ export default Submitter;
@@ -1,28 +1,27 @@
1
1
  /// <reference types="react" />
2
- import { ComponentInterface, PickOption, DataType, Record } from '../../type';
2
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
3
3
  declare class SystemOrderNo implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
6
  type: string;
7
7
  rules: any[];
8
- canFilter: boolean;
9
- canGroup: boolean;
10
- canHidden: boolean;
11
- dataType: DataType;
12
- showContains: boolean;
13
8
  componentConfig: ComponentInterface["componentConfig"];
14
9
  effects: ComponentInterface["effects"];
10
+ isCombinationComponent: boolean;
11
+ children: ComponentInterface[];
15
12
  constructor(options: PickOption);
16
- render: (value: string) => JSX.Element;
17
13
  renderClient: (record: Record) => JSX.Element | null;
18
- renderPc: (value: string, record: Record) => JSX.Element;
14
+ renderPc: (value: unknown, record: Record) => JSX.Element;
15
+ renderLog: (r: Record) => JSX.Element | null;
16
+ getComponentValue: (r: Record) => any;
19
17
  renderExport: (value: string, record: Record) => any;
20
- editRender: (value: any) => JSX.Element;
21
- getColumns: () => this & {
22
- dataIndex: string;
23
- title: string;
24
- componentType: (value: any) => JSX.Element;
25
- renderExport: (value: string, record: Record) => any;
18
+ editRender: () => JSX.Element;
19
+ filterConfig: (item: ColumnConfig) => {
20
+ type: string;
21
+ id: string;
22
+ name: string;
23
+ filterComponentType: "Input";
24
+ filterFn: (value: string) => (i: Record) => boolean;
26
25
  };
27
26
  }
28
27
  export default SystemOrderNo;
@@ -1,6 +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 ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
3
  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
4
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
@@ -12,7 +10,7 @@ import React from 'react';
12
10
  import { ApaasInput } from '@kmkf-fe-packages/basic-components';
13
11
  import GetFormItem from "../GetFormItem";
14
12
  import ItemView from "../../commonComponents/ItemView";
15
- import { isNull } from '@kmkf-fe-packages/kmkf-utils';
13
+ import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
16
14
  var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
17
15
  var _this = this;
18
16
  _classCallCheck(this, SystemOrderNo);
@@ -20,16 +18,10 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
20
18
  _defineProperty(this, "id", void 0);
21
19
  _defineProperty(this, "type", void 0);
22
20
  _defineProperty(this, "rules", void 0);
23
- _defineProperty(this, "canFilter", void 0);
24
- _defineProperty(this, "canGroup", void 0);
25
- _defineProperty(this, "canHidden", void 0);
26
- _defineProperty(this, "dataType", void 0);
27
- _defineProperty(this, "showContains", void 0);
28
21
  _defineProperty(this, "componentConfig", void 0);
29
22
  _defineProperty(this, "effects", void 0);
30
- _defineProperty(this, "render", function (value) {
31
- return /*#__PURE__*/React.createElement("span", null, value);
32
- });
23
+ _defineProperty(this, "isCombinationComponent", void 0);
24
+ _defineProperty(this, "children", void 0);
33
25
  _defineProperty(this, "renderClient", function (record) {
34
26
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
35
27
  id: _this.id,
@@ -41,11 +33,18 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
41
33
  var _record;
42
34
  return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_systemOrderNo")]) !== null && _record !== void 0 ? _record : '--');
43
35
  });
36
+ _defineProperty(this, "renderLog", function (r) {
37
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_systemOrderNo")])) return null;
38
+ return _this.renderPc(undefined, r);
39
+ });
40
+ _defineProperty(this, "getComponentValue", function (r) {
41
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_systemOrderNo")];
42
+ });
44
43
  _defineProperty(this, "renderExport", function (value, record) {
45
44
  var _record2;
46
45
  return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_systemOrderNo")]) !== null && _record2 !== void 0 ? _record2 : '--';
47
46
  });
48
- _defineProperty(this, "editRender", function (value) {
47
+ _defineProperty(this, "editRender", function () {
49
48
  var _this$componentConfig, _this$componentConfig2;
50
49
  return /*#__PURE__*/React.createElement(GetFormItem, {
51
50
  title: _this.name,
@@ -57,25 +56,28 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
57
56
  }))
58
57
  });
59
58
  });
60
- _defineProperty(this, "getColumns", function () {
61
- return _objectSpread(_objectSpread({}, _this), {}, {
62
- dataIndex: _this.id,
63
- title: _this.name,
64
- componentType: _this.editRender,
65
- renderExport: _this.renderExport
66
- });
67
- ;
59
+ _defineProperty(this, "filterConfig", function (item) {
60
+ return {
61
+ type: item.type,
62
+ id: item.id,
63
+ // 过滤组件id
64
+ name: item.name,
65
+ // 过滤组件名称
66
+ filterComponentType: 'Input',
67
+ filterFn: function filterFn(value) {
68
+ return function (i) {
69
+ return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, 'systemOrderNo'), value);
70
+ };
71
+ }
72
+ };
68
73
  });
69
74
  this.name = options.name;
70
75
  this.id = options.id;
71
76
  this.type = options.type;
72
- this.canFilter = true;
73
- this.canGroup = true;
74
- this.canHidden = true;
75
- this.dataType = 'string';
76
- this.showContains = true;
77
77
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
78
78
  this.componentConfig = options.componentConfig;
79
79
  this.rules = [];
80
+ this.isCombinationComponent = false;
81
+ this.children = [];
80
82
  });
81
83
  export default SystemOrderNo;
@@ -1,28 +1,28 @@
1
1
  /// <reference types="react" />
2
- import { ComponentInterface, PickOption, DataType, Record } from '../../type';
2
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
3
3
  declare class TemplateSelect implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
6
6
  type: string;
7
7
  rules: any[];
8
- canFilter: boolean;
9
- canGroup: boolean;
10
- canHidden: boolean;
11
- dataType: DataType;
12
- showContains: boolean;
13
8
  componentConfig: ComponentInterface["componentConfig"];
14
9
  effects: ComponentInterface["effects"];
10
+ isCombinationComponent: boolean;
11
+ children: ComponentInterface[];
15
12
  constructor(options: PickOption);
16
13
  renderPc: (value: any, record: Record) => JSX.Element;
14
+ renderLog: (r: Record) => JSX.Element | null;
15
+ getComponentValue: (r: Record) => any;
17
16
  renderExport: (value: any, record: Record) => string;
18
- render: () => null;
19
17
  renderClient: () => null;
20
- editRender: (value: any) => null;
21
- getColumns: () => this & {
22
- dataIndex: string;
23
- title: string;
24
- componentType: (value: any) => null;
25
- renderExport: (value: any, record: Record) => string;
18
+ editRender: () => null;
19
+ filterConfig: (item: ColumnConfig) => {
20
+ type: string;
21
+ id: string;
22
+ name: string;
23
+ filterComponentType: "MultipleSelect";
24
+ filterFn: (value: string) => (i: Record) => boolean;
25
+ options: any[] | undefined;
26
26
  };
27
27
  }
28
28
  export default TemplateSelect;
@@ -1,6 +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 ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
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); } }
5
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; }
6
4
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -10,6 +8,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
10
8
  import React from 'react';
11
9
  import find from 'lodash/find';
12
10
  import get from 'lodash/get';
11
+ import { filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
13
12
  var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options) {
14
13
  var _this = this;
15
14
  _classCallCheck(this, TemplateSelect);
@@ -17,13 +16,10 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
17
16
  _defineProperty(this, "id", void 0);
18
17
  _defineProperty(this, "type", void 0);
19
18
  _defineProperty(this, "rules", void 0);
20
- _defineProperty(this, "canFilter", void 0);
21
- _defineProperty(this, "canGroup", void 0);
22
- _defineProperty(this, "canHidden", void 0);
23
- _defineProperty(this, "dataType", void 0);
24
- _defineProperty(this, "showContains", void 0);
25
19
  _defineProperty(this, "componentConfig", void 0);
26
20
  _defineProperty(this, "effects", void 0);
21
+ _defineProperty(this, "isCombinationComponent", void 0);
22
+ _defineProperty(this, "children", void 0);
27
23
  _defineProperty(this, "renderPc", function (value, record) {
28
24
  var _this$effects;
29
25
  if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) === undefined) {
@@ -35,6 +31,13 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
35
31
  });
36
32
  return /*#__PURE__*/React.createElement("span", null, "".concat(get(item, 'fLabel'), "/").concat(get(item, 'label')));
37
33
  });
34
+ _defineProperty(this, "renderLog", function (r) {
35
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
36
+ return _this.renderPc(undefined, r);
37
+ });
38
+ _defineProperty(this, "getComponentValue", function (r) {
39
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
40
+ });
38
41
  _defineProperty(this, "renderExport", function (value, record) {
39
42
  var _this$effects2;
40
43
  if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) === undefined) {
@@ -46,34 +49,36 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
46
49
  });
47
50
  return "".concat(get(item, 'fLabel'), "/").concat(get(item, 'label'));
48
51
  });
49
- _defineProperty(this, "render", function () {
50
- return null;
51
- });
52
52
  _defineProperty(this, "renderClient", function () {
53
53
  return null;
54
54
  });
55
- _defineProperty(this, "editRender", function (value) {
55
+ _defineProperty(this, "editRender", function () {
56
56
  return null;
57
57
  });
58
- _defineProperty(this, "getColumns", function () {
59
- return _objectSpread(_objectSpread({}, _this), {}, {
60
- dataIndex: _this.id,
61
- title: _this.name,
62
- componentType: _this.editRender,
63
- renderExport: _this.renderExport
64
- });
65
- ;
58
+ _defineProperty(this, "filterConfig", function (item) {
59
+ var _this$effects3;
60
+ return {
61
+ type: item.type,
62
+ id: item.id,
63
+ // 过滤组件id
64
+ name: item.name,
65
+ // 过滤组件名称
66
+ filterComponentType: 'MultipleSelect',
67
+ filterFn: function filterFn(value) {
68
+ return function (i) {
69
+ return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
70
+ };
71
+ },
72
+ options: (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.templateList
73
+ };
66
74
  });
67
75
  this.name = options.name;
68
76
  this.id = options.id;
69
77
  this.type = options.type;
70
- this.canFilter = true;
71
- this.canGroup = true;
72
- this.canHidden = true;
73
- this.dataType = 'string';
74
- this.showContains = true;
75
78
  this.componentConfig = options.componentConfig;
76
79
  this.rules = [];
77
80
  this.effects = options === null || options === void 0 ? void 0 : options.effects;
81
+ this.isCombinationComponent = false;
82
+ this.children = [];
78
83
  });
79
84
  export default TemplateSelect;