@kmkf-fe-packages/services-components 1.17.8-beta.7 → 1.17.9

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.
@@ -17,14 +17,7 @@ declare class EItemEncode implements ComponentInterface {
17
17
  dataType: ComponentInterface["dataType"];
18
18
  showHeader: string[];
19
19
  platform?: ComponentInterface["platform"];
20
- sortChildField: {
21
- name: string;
22
- key: string;
23
- dataType: string;
24
- [key: string]: any;
25
- }[];
26
20
  constructor(options: PickOption);
27
- getSortChildFields: () => any;
28
21
  renderClient: (record: any) => React.JSX.Element | null;
29
22
  renderPc: (value: unknown, record: Record) => React.JSX.Element | null;
30
23
  renderLog: (r: Record) => React.JSX.Element | null;
@@ -36,27 +36,6 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
36
36
  _defineProperty(this, "dataType", void 0);
37
37
  _defineProperty(this, "showHeader", void 0);
38
38
  _defineProperty(this, "platform", void 0);
39
- _defineProperty(this, "sortChildField", void 0);
40
- _defineProperty(this, "getSortChildFields", function () {
41
- var _this$showHeader, _this$showHeader$filt;
42
- var mapping = {
43
- title: '商品名称',
44
- outerId: '商品编码',
45
- numIid: '商品id',
46
- skuId: 'skuId',
47
- outerSkuId: 'sku编码',
48
- propertiesName: 'sku信息'
49
- };
50
- return (_this$showHeader = _this.showHeader) === null || _this$showHeader === void 0 ? void 0 : (_this$showHeader$filt = _this$showHeader.filter(function (item) {
51
- return !!mapping[item];
52
- })) === null || _this$showHeader$filt === void 0 ? void 0 : _this$showHeader$filt.map(function (item) {
53
- return {
54
- name: mapping[item],
55
- key: "".concat(_this.id, "_").concat(item),
56
- dataType: "string"
57
- };
58
- });
59
- });
60
39
  _defineProperty(this, "renderClient", function (record) {
61
40
  if (isNull(record === null || record === void 0 ? void 0 : record[_this.id])) return null;
62
41
  return /*#__PURE__*/React.createElement(ItemView, {
@@ -174,7 +153,6 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
174
153
  return Promise.resolve();
175
154
  }
176
155
  }] : [];
177
- this.dataType = "array";
178
- this.sortChildField = this.getSortChildFields();
156
+ this.dataType = "object";
179
157
  });
180
158
  export default EItemEncode;
@@ -110,7 +110,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
110
110
  this.workOrderUniqueKey = options === null || options === void 0 ? void 0 : options.workOrderUniqueKey;
111
111
  this.rules = [{
112
112
  validator: function validator(_, value) {
113
- var _this$componentConfig6, _this$componentConfig7, _this$componentConfig8, _this$componentConfig9, _this$componentConfig10, _this$componentConfig11;
113
+ var _this$componentConfig6, _this$componentConfig7, _this$componentConfig8, _this$componentConfig9, _this$componentConfig10;
114
114
  if (!value) {
115
115
  return Promise.resolve();
116
116
  }
@@ -127,14 +127,11 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
127
127
  if (testList.length && !isTest) {
128
128
  return Promise.reject(new Error("请填写正确的格式"));
129
129
  }
130
- if ((_this$componentConfig9 = _this.componentConfig) !== null && _this$componentConfig9 !== void 0 && _this$componentConfig9.isNumber && value > Number.MAX_SAFE_INTEGER) {
131
- return Promise.reject(new Error("输入数值超出最大数字上限,请使用文本框替代当前数字输入框组件"));
132
- }
133
- if ((_this$componentConfig10 = _this.componentConfig) !== null && _this$componentConfig10 !== void 0 && (_this$componentConfig11 = _this$componentConfig10.rulesOptions) !== null && _this$componentConfig11 !== void 0 && _this$componentConfig11.length) {
134
- var _this$componentConfig12;
135
- var rulesList = (_this$componentConfig12 = _this.componentConfig) === null || _this$componentConfig12 === void 0 ? void 0 : _this$componentConfig12.rulesOptions.filter(function (item) {
136
- var _this$componentConfig13;
137
- return (((_this$componentConfig13 = _this.componentConfig) === null || _this$componentConfig13 === void 0 ? void 0 : _this$componentConfig13.selectRules) || []).includes(item.id);
130
+ if ((_this$componentConfig9 = _this.componentConfig) !== null && _this$componentConfig9 !== void 0 && (_this$componentConfig10 = _this$componentConfig9.rulesOptions) !== null && _this$componentConfig10 !== void 0 && _this$componentConfig10.length) {
131
+ var _this$componentConfig11;
132
+ var rulesList = (_this$componentConfig11 = _this.componentConfig) === null || _this$componentConfig11 === void 0 ? void 0 : _this$componentConfig11.rulesOptions.filter(function (item) {
133
+ var _this$componentConfig12;
134
+ return (((_this$componentConfig12 = _this.componentConfig) === null || _this$componentConfig12 === void 0 ? void 0 : _this$componentConfig12.selectRules) || []).includes(item.id);
138
135
  });
139
136
  if (!rulesList.length) {
140
137
  return Promise.resolve();
@@ -157,8 +154,8 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
157
154
  validateTrigger: "onBlur",
158
155
  validator: function () {
159
156
  var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_, value) {
160
- var _this$componentConfig14;
161
- var _resultList$, params, _yield$replaceCheck, resultList, _this$componentConfig15, _this$componentConfig16, _this$componentConfig17, messageMap;
157
+ var _this$componentConfig13;
158
+ var _resultList$, params, _yield$replaceCheck, resultList, _this$componentConfig14, _this$componentConfig15, _this$componentConfig16, messageMap;
162
159
  return _regeneratorRuntime().wrap(function _callee$(_context) {
163
160
  while (1) switch (_context.prev = _context.next) {
164
161
  case 0:
@@ -168,7 +165,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
168
165
  }
169
166
  return _context.abrupt("return", Promise.resolve());
170
167
  case 2:
171
- if (!((_this$componentConfig14 = _this.componentConfig) !== null && _this$componentConfig14 !== void 0 && _this$componentConfig14.replaceWarn)) {
168
+ if (!((_this$componentConfig13 = _this.componentConfig) !== null && _this$componentConfig13 !== void 0 && _this$componentConfig13.replaceWarn)) {
172
169
  _context.next = 11;
173
170
  break;
174
171
  }
@@ -195,7 +192,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
195
192
  currFlow: "数据已存在本模版中,不能重复提交",
196
193
  allWorkOrder: "数据已存在其他模版中,不能重复提交"
197
194
  };
198
- return _context.abrupt("return", Promise.reject(new Error(messageMap[(_this$componentConfig15 = (_this$componentConfig16 = _this.componentConfig) === null || _this$componentConfig16 === void 0 ? void 0 : (_this$componentConfig17 = _this$componentConfig16.repeatConfig) === null || _this$componentConfig17 === void 0 ? void 0 : _this$componentConfig17.repeatRange) !== null && _this$componentConfig15 !== void 0 ? _this$componentConfig15 : ""] || "内容已存在,不能重复提交")));
195
+ return _context.abrupt("return", Promise.reject(new Error(messageMap[(_this$componentConfig14 = (_this$componentConfig15 = _this.componentConfig) === null || _this$componentConfig15 === void 0 ? void 0 : (_this$componentConfig16 = _this$componentConfig15.repeatConfig) === null || _this$componentConfig16 === void 0 ? void 0 : _this$componentConfig16.repeatRange) !== null && _this$componentConfig14 !== void 0 ? _this$componentConfig14 : ""] || "内容已存在,不能重复提交")));
199
196
  case 11:
200
197
  case "end":
201
198
  return _context.stop();
@@ -19,7 +19,6 @@ declare class JstSendGood implements ComponentInterface {
19
19
  canSort: boolean;
20
20
  children: ComponentInterface[];
21
21
  dataType: ComponentInterface["dataType"];
22
- format: ComponentInterface["format"];
23
22
  constructor(options: PickOption);
24
23
  getSortChildFields: (type: string, options: PickOption, fieldType?: string) => any;
25
24
  renderClient: (record: Record) => React.JSX.Element | null;
@@ -47,5 +46,8 @@ declare class JstSendGood implements ComponentInterface {
47
46
  filterFn: (value: string) => (i: Record) => any;
48
47
  props?: undefined;
49
48
  })[];
49
+ formDataTransform: (v: Array<{
50
+ sendName: string;
51
+ }>) => string[];
50
52
  }
51
53
  export default JstSendGood;
@@ -60,7 +60,6 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
60
60
  _defineProperty(this, "canSort", void 0);
61
61
  _defineProperty(this, "children", void 0);
62
62
  _defineProperty(this, "dataType", void 0);
63
- _defineProperty(this, "format", void 0);
64
63
  _defineProperty(this, "getSortChildFields", function (type, options, fieldType) {
65
64
  var _typeMap$options$type, _typeMap$options$type2;
66
65
  var sendName = {
@@ -203,6 +202,14 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
203
202
  }
204
203
  }];
205
204
  });
205
+ _defineProperty(this, "formDataTransform", function (v) {
206
+ var _v$map;
207
+ return v === null || v === void 0 ? void 0 : (_v$map = v.map(function (item) {
208
+ return item.sendName;
209
+ })) === null || _v$map === void 0 ? void 0 : _v$map.filter(function (item) {
210
+ return !isNull(item);
211
+ });
212
+ });
206
213
  this.name = _options.name;
207
214
  this.id = _options.id;
208
215
  this.sortField = "".concat(_options.id, "_").concat((_typeMap$_options$typ = typeMap[_options.type]) === null || _typeMap$_options$typ === void 0 ? void 0 : _typeMap$_options$typ.key);
@@ -237,6 +244,5 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
237
244
  this.isCombinationComponent = false;
238
245
  this.canSort = false;
239
246
  this.children = [];
240
- this.format = 'object';
241
247
  });
242
248
  export default JstSendGood;
@@ -21,7 +21,6 @@ import BsHeaderChild from "../BS/common/BsHeaderChild";
21
21
  import GetFormItem from "../GetFormItem";
22
22
  import ItemView from "../../commonComponents/ItemView";
23
23
  import { isNull } from "@kmkf-fe-packages/kmkf-utils";
24
- import { difference } from 'lodash';
25
24
  import { SYMBOL } from "../../constant";
26
25
  var SubForm = /*#__PURE__*/_createClass(function SubForm(options) {
27
26
  var _this = this;
@@ -161,22 +160,9 @@ var SubForm = /*#__PURE__*/_createClass(function SubForm(options) {
161
160
  }
162
161
  return prv;
163
162
  }, {});
164
- // TODO: 补充确省字段
165
- var fillKeysValue = value === null || value === void 0 ? void 0 : value.map(function (item) {
166
- var _this$componentConfig11, _this$componentConfig12;
167
- var lostKeys = difference((_this$componentConfig11 = _this.componentConfig) === null || _this$componentConfig11 === void 0 ? void 0 : (_this$componentConfig12 = _this$componentConfig11.tableHeader) === null || _this$componentConfig12 === void 0 ? void 0 : _this$componentConfig12.map(function (item) {
168
- return item.key;
169
- }), Object.keys(item));
170
- if (!isNull(lostKeys)) {
171
- return lostKeys.reduce(function (prv, next) {
172
- return _objectSpread(_objectSpread({}, prv), {}, _defineProperty({}, next, undefined));
173
- }, item);
174
- }
175
- return item;
176
- });
177
- var msg = (fillKeysValue || []).reduce(function (prv, next) {
163
+ var msg = (value || []).reduce(function (prv, next) {
178
164
  Object.keys(next).forEach(function (key) {
179
- if (result[key] && isNull(next[key])) {
165
+ if (result[key] && !next[key]) {
180
166
  prv = result[key];
181
167
  }
182
168
  });
@@ -13,14 +13,7 @@ declare class ThirdItemSelect implements ComponentInterface {
13
13
  canSort: boolean;
14
14
  children: ComponentInterface[];
15
15
  dataType: ComponentInterface['dataType'];
16
- sortChildField: {
17
- name: string;
18
- key: string;
19
- dataType: string;
20
- [key: string]: any;
21
- }[];
22
16
  constructor(options: PickOption);
23
- getSortChildFields: () => any;
24
17
  renderClient: (record: Record) => React.JSX.Element | null;
25
18
  renderPc: (value: any, record: Record) => React.JSX.Element;
26
19
  renderLog: (r: Record) => React.JSX.Element | null;
@@ -15,7 +15,7 @@ import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
15
15
  import { SYMBOL } from "../../constant";
16
16
  var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options) {
17
17
  var _this = this,
18
- _this$componentConfig6;
18
+ _this$componentConfig4;
19
19
  _classCallCheck(this, ThirdItemSelect);
20
20
  _defineProperty(this, "name", void 0);
21
21
  _defineProperty(this, "id", void 0);
@@ -29,26 +29,6 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
29
29
  _defineProperty(this, "canSort", void 0);
30
30
  _defineProperty(this, "children", void 0);
31
31
  _defineProperty(this, "dataType", void 0);
32
- _defineProperty(this, "sortChildField", void 0);
33
- _defineProperty(this, "getSortChildFields", function () {
34
- var _this$componentConfig, _this$componentConfig2;
35
- var list = [];
36
- if ((_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.enableItemId) {
37
- list.push({
38
- name: '供应商编码',
39
- key: "".concat(_this.id, "_itemId"),
40
- dataType: "string"
41
- });
42
- }
43
- if ((_this$componentConfig2 = _this.componentConfig) !== null && _this$componentConfig2 !== void 0 && _this$componentConfig2.enableSupplierName) {
44
- list.push({
45
- name: '供应商名称',
46
- key: "".concat(_this.id, "_supplierName"),
47
- dataType: "string"
48
- });
49
- }
50
- return list;
51
- });
52
32
  _defineProperty(this, "renderClient", function (record) {
53
33
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
54
34
  id: _this.id,
@@ -88,7 +68,7 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
88
68
  });
89
69
  });
90
70
  _defineProperty(this, "editRender", function (p) {
91
- var _this$componentConfig3, _this$componentConfig4, _this$componentConfig5, _this$effects, _this$effects2;
71
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$effects, _this$effects2;
92
72
  return /*#__PURE__*/React.createElement(GetFormItem, {
93
73
  title: _this.name,
94
74
  name: _this.id,
@@ -96,9 +76,9 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
96
76
  required: false,
97
77
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
98
78
  display: p === null || p === void 0 ? void 0 : p.display,
99
- tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
79
+ tooltip: (_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.showTooltip ? (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.tooltip : '',
100
80
  component: /*#__PURE__*/React.createElement(ItemEncode, _extends({}, _this.componentConfig, {
101
- maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
81
+ maxLength: ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.maxLength) || 20,
102
82
  type: 4,
103
83
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
104
84
  shopList: ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList) || [],
@@ -138,29 +118,28 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
138
118
  this.isCombinationComponent = false;
139
119
  this.canSort = false;
140
120
  this.children = [];
141
- this.dataType = 'array';
142
- this.rules = (_this$componentConfig6 = this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.required ? [{
121
+ this.dataType = 'object';
122
+ this.rules = (_this$componentConfig4 = this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.required ? [{
143
123
  required: true,
144
124
  validator: function validator(_, value) {
145
- var _this$componentConfig7, _this$componentConfig8;
125
+ var _this$componentConfig5, _this$componentConfig6;
146
126
  if (!value || !value.length) {
147
127
  return Promise.reject(new Error('请选择宝贝'));
148
128
  }
149
129
  var hasNotId = (value || []).some(function (item) {
150
130
  return !item.itemId && !item.supplierItemOuterId;
151
131
  });
152
- if ((_this$componentConfig7 = _this.componentConfig) !== null && _this$componentConfig7 !== void 0 && _this$componentConfig7.enableItemId && hasNotId) {
132
+ if ((_this$componentConfig5 = _this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.enableItemId && hasNotId) {
153
133
  return Promise.reject(new Error('请输入供应商编码'));
154
134
  }
155
135
  var hasNotName = (value || []).some(function (item) {
156
136
  return !item.supplierName;
157
137
  });
158
- if ((_this$componentConfig8 = _this.componentConfig) !== null && _this$componentConfig8 !== void 0 && _this$componentConfig8.enableSupplierName && hasNotName) {
138
+ if ((_this$componentConfig6 = _this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.enableSupplierName && hasNotName) {
159
139
  return Promise.reject(new Error('请输入供应商名称'));
160
140
  }
161
141
  return Promise.resolve();
162
142
  }
163
143
  }] : [];
164
- this.sortChildField = this.getSortChildFields();
165
144
  });
166
145
  export default ThirdItemSelect;
@@ -1,3 +1,3 @@
1
1
  import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, KmErpSendGood, AfterSalesOrderId } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => BasicCascader | StatusSelect | TradeId | BasicInput | BasicAddress | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode | Label | KmErpSendGood | AfterSalesOrderId;
3
+ export declare const factory: (type: string, options: PickOption) => BasicCascader | BasicCheckbox | FlowWorkOrderId | JstSendGood | JstSupply | LogisticsInterception | LogisticsMoreInterception | MsgStatus | PaymentVoucherCode | StatusSelect | SubForm | TradeId | BasicInput | BasicAddress | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | Label | KmErpSendGood | AfterSalesOrderId;
@@ -48,7 +48,7 @@ export interface ComponentInterface {
48
48
  width?: number;
49
49
  align?: ALignType;
50
50
  dataType: "string" | "number" | "boolean" | "array" | "range" | "object";
51
- format?: "dateTime" | "date" | "time" | "cascader" | "shopInput" | "staffGroup" | "object";
51
+ format?: "dateTime" | "date" | "time" | "cascader" | "shopInput" | "staffGroup";
52
52
  options?: Array<any>;
53
53
  templateId?: string;
54
54
  flowTemplateKey?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "1.17.8-beta.7",
3
+ "version": "1.17.9",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -21,8 +21,8 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@kmkf-fe-packages/basic-components": "1.17.8-beta.4",
25
- "@kmkf-fe-packages/kmkf-utils": "1.17.8-beta.4",
24
+ "@kmkf-fe-packages/basic-components": "^1.17.9",
25
+ "@kmkf-fe-packages/kmkf-utils": "^1.17.9",
26
26
  "b64-to-blob": "^1.2.19",
27
27
  "html2canvas": "^1.4.1",
28
28
  "react-pdf-js": "^5.1.0"
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "6f185f0c191ff14bd0b57660baf6305cfdd30d62",
44
+ "gitHead": "f473c7c5fd4745f82792a9f5ebec47636da5100a",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }