@kmkf-fe-packages/services-components 0.8.18-alpha.0 → 0.8.18-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,27 @@
1
+ @font-face {
2
+ font-family: "iconfont"; /* Project id 4268558 */
3
+ src: url('iconfont.woff2?t=1695866470942') format('woff2'),
4
+ url('iconfont.woff?t=1695866470942') format('woff'),
5
+ url('iconfont.ttf?t=1695866470942') format('truetype');
6
+ }
7
+
8
+ .iconfont {
9
+ font-family: "iconfont" !important;
10
+ font-size: 16px;
11
+ font-style: normal;
12
+ -webkit-font-smoothing: antialiased;
13
+ -moz-osx-font-smoothing: grayscale;
14
+ }
15
+
16
+ .icon-xingxing:before {
17
+ content: "\e646";
18
+ }
19
+
20
+ .icon-xingxing1:before {
21
+ content: "\e60e";
22
+ }
23
+
24
+ .icon-qizhi:before {
25
+ content: "\e636";
26
+ }
27
+
@@ -0,0 +1,43 @@
1
+ window._iconfont_svg_string_4268558 = '<svg><symbol id="icon-xingxing" viewBox="0 0 1024 1024"><path d="M733.653 918.642c-12.368 0-25.232-2.968-36.116-8.905l-184.043-96.474-183.548 96.969c-11.379 5.937-23.747 8.905-36.611 8.905-15.337 0-30.674-4.453-43.042-12.863-23.747-16.326-36.116-44.032-31.169-71.737l35.621-209.274L99.894 473.872c-20.284-19.79-27.211-47.99-17.811-74.211 9.4-26.221 32.158-44.526 60.358-48.484L353.2 320.503l91.527-186.022C457.095 109.25 484.305 92.924 513 92.924c29.19 0 55.905 16.326 68.274 41.558L672.8 320.503l210.758 30.674c28.2 3.958 51.453 22.758 60.358 48.484 9.4 26.221 2.474 54.916-17.811 74.705L771.253 625.262l35.621 209.274c4.947 27.705-7.421 55.411-31.169 71.737-11.873 7.916-26.715 12.369-42.052 12.369zM513.495 743.504c8.905 0 17.316 1.979 25.232 5.937l190.969 100.432c0.989 0.495 2.474 0.99 3.958 0.99 1.979 0 3.463-0.495 4.947-1.484s2.474-2.968 2.474-4.453l-37.105-217.19c-2.968-16.821 2.969-34.137 14.842-46.011l160.295-156.337c0.989-0.989 1.979-2.474 1.484-4.453-0.495-1.484-2.968-3.463-5.937-3.958L655.98 385.314c-17.316-2.474-32.653-13.358-40.074-29.19l-94.99-192.948c-0.989-1.979-3.958-3.463-6.926-3.463s-5.937 1.484-6.926 3.958l-94.99 192.948c-7.916 15.832-22.758 26.221-40.074 29.19l-219.664 31.663c-2.968 0.495-5.442 2.474-5.937 3.958-0.495 1.484 0 2.968 1.484 4.453l160.295 156.832c12.368 11.874 17.811 29.19 14.842 46.011l-37.105 216.695c-0.495 1.484 0.495 3.463 2.474 4.947 1.484 0.989 2.968 1.484 4.947 1.484 1.484 0 2.968-0.495 4.453-0.989l190.474-100.432c7.916-4.453 16.326-6.927 25.232-6.927z" ></path></symbol><symbol id="icon-xingxing1" viewBox="0 0 1024 1024"><path d="M575.852903 115.426402L661.092435 288.054362c10.130509 20.465674 29.675227 34.689317 52.289797 37.963825l190.433097 27.62866c56.996902 8.288598 79.7138 78.281203 38.475467 118.496253l-137.836314 134.35715c-16.372539 15.963226-23.84251 38.987109-19.954032 61.49935l32.540421 189.716799c9.721195 56.792245-49.833916 100.077146-100.793444 73.267113L545.870691 841.446188a69.491196 69.491196 0 0 0-64.67153 0l-170.376737 89.537324c-50.959528 26.810033-110.51464-16.474868-100.793444-73.267113L242.569401 667.9996c3.888478-22.512241-3.581493-45.536125-19.954032-61.49935L84.779055 472.245428c-41.238333-40.215049-18.521435-110.207655 38.475467-118.496252l190.433097-27.62866c22.61457-3.274508 42.159288-17.498151 52.289797-37.963826L451.319277 115.426402c25.479764-51.675827 99.053862-51.675827 124.533626 0z" fill="#C6C6C6" ></path></symbol><symbol id="icon-qizhi" viewBox="0 0 1024 1024"><path d="M215.4 160.6H177c-8.9 0-16 7.2-16 16V849c0 8.9 7.2 16 16 16h38.4c8.9 0 16-7.2 16-16V176.7c0.1-8.9-7.1-16.1-16-16.1zM848.1 236c-189 152.5-378-180.6-567.1-28.2-8.8 7.1-16 21.3-16 30.1v430.9c0 8.9 7.2 9 16 1.9 189-152.5 378.1 180.7 567.1 28.2 8.9-7.1 16-21.3 16-30.1V237.9c0.1-8.8-7.1-9-16-1.9z" fill="#231815" ></path></symbol></svg>', function (n) {
2
+ var t = (t = document.getElementsByTagName("script"))[t.length - 1],
3
+ e = t.getAttribute("data-injectcss"),
4
+ t = t.getAttribute("data-disable-injectsvg");
5
+ if (!t) {
6
+ var c,
7
+ _i,
8
+ o,
9
+ l,
10
+ d,
11
+ s = function s(t, e) {
12
+ e.parentNode.insertBefore(t, e);
13
+ };
14
+ if (e && !n.__iconfont__svg__cssinject__) {
15
+ n.__iconfont__svg__cssinject__ = !0;
16
+ try {
17
+ document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
18
+ } catch (t) {
19
+ console && console.log(t);
20
+ }
21
+ }
22
+ c = function c() {
23
+ var t,
24
+ e = document.createElement("div");
25
+ e.innerHTML = n._iconfont_svg_string_4268558, (e = e.getElementsByTagName("svg")[0]) && (e.setAttribute("aria-hidden", "true"), e.style.position = "absolute", e.style.width = 0, e.style.height = 0, e.style.overflow = "hidden", e = e, (t = document.body).firstChild ? s(e, t.firstChild) : t.appendChild(e));
26
+ }, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(c, 0) : (_i = function i() {
27
+ document.removeEventListener("DOMContentLoaded", _i, !1), c();
28
+ }, document.addEventListener("DOMContentLoaded", _i, !1)) : document.attachEvent && (o = c, l = n.document, d = !1, r(), l.onreadystatechange = function () {
29
+ "complete" == l.readyState && (l.onreadystatechange = null, a());
30
+ });
31
+ }
32
+ function a() {
33
+ d || (d = !0, o());
34
+ }
35
+ function r() {
36
+ try {
37
+ l.documentElement.doScroll("left");
38
+ } catch (t) {
39
+ return void setTimeout(r, 50);
40
+ }
41
+ a();
42
+ }
43
+ }(window);
@@ -0,0 +1,30 @@
1
+ {
2
+ "id": "4268558",
3
+ "name": "kmkf-fe-packages",
4
+ "font_family": "iconfont",
5
+ "css_prefix_text": "icon-",
6
+ "description": "工单包项目",
7
+ "glyphs": [
8
+ {
9
+ "icon_id": "5226923",
10
+ "name": "星星",
11
+ "font_class": "xingxing",
12
+ "unicode": "e646",
13
+ "unicode_decimal": 58950
14
+ },
15
+ {
16
+ "icon_id": "8727201",
17
+ "name": "星星",
18
+ "font_class": "xingxing1",
19
+ "unicode": "e60e",
20
+ "unicode_decimal": 58894
21
+ },
22
+ {
23
+ "icon_id": "18928517",
24
+ "name": "旗帜",
25
+ "font_class": "qizhi",
26
+ "unicode": "e636",
27
+ "unicode_decimal": 58934
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,41 @@
1
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
+ import React from 'react';
3
+ import './icon/iconfont.css';
4
+ declare class FlowMarkSelect implements ComponentInterface {
5
+ name: string;
6
+ id: string;
7
+ sortField: string;
8
+ type: string;
9
+ rules: any[];
10
+ componentConfig: ComponentInterface['componentConfig'];
11
+ effects: ComponentInterface['effects'];
12
+ workOrderMark: any[];
13
+ isCombinationComponent: boolean;
14
+ formField: string;
15
+ canSort: boolean;
16
+ children: ComponentInterface[];
17
+ dataType: ComponentInterface['dataType'];
18
+ constructor(options: PickOption);
19
+ renderMenu: (record: Record) => React.JSX.Element;
20
+ renderPc: (value: any, record: Record) => React.JSX.Element;
21
+ renderLog: (r: Record) => React.JSX.Element | null;
22
+ getComponentValue: (r: Record) => any;
23
+ renderExport: (value: any, record: Record) => any;
24
+ renderClient: (record: any) => React.JSX.Element | null;
25
+ editRender: (p: any) => React.JSX.Element;
26
+ filterConfig: (item: ColumnConfig) => {
27
+ searchDefaultConditions: "in";
28
+ type: string;
29
+ id: string;
30
+ name: string;
31
+ filterComponentType: "MultipleSelect";
32
+ props: {
33
+ options: {
34
+ label: string;
35
+ value: string;
36
+ }[];
37
+ };
38
+ filterFn: (value: string[]) => (i: Record) => boolean;
39
+ };
40
+ }
41
+ export default FlowMarkSelect;
@@ -0,0 +1,205 @@
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
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
+ function _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
+ 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
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
+ import React from 'react';
12
+ import { Dropdown, Menu } from 'antd';
13
+ import ItemView from "../../commonComponents/ItemView";
14
+ import { ApaasSelect } from '@kmkf-fe-packages/basic-components';
15
+ import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
16
+ import GetFormItem from "../GetFormItem";
17
+ import { SYMBOL } from "../../constant";
18
+ import "./icon/iconfont.css";
19
+ var FlowMarkSelect = /*#__PURE__*/_createClass(function FlowMarkSelect(options) {
20
+ var _this = this;
21
+ _classCallCheck(this, FlowMarkSelect);
22
+ _defineProperty(this, "name", void 0);
23
+ _defineProperty(this, "id", void 0);
24
+ _defineProperty(this, "sortField", void 0);
25
+ _defineProperty(this, "type", void 0);
26
+ _defineProperty(this, "rules", void 0);
27
+ _defineProperty(this, "componentConfig", void 0);
28
+ _defineProperty(this, "effects", void 0);
29
+ _defineProperty(this, "workOrderMark", void 0);
30
+ _defineProperty(this, "isCombinationComponent", void 0);
31
+ _defineProperty(this, "formField", void 0);
32
+ _defineProperty(this, "canSort", void 0);
33
+ _defineProperty(this, "children", void 0);
34
+ _defineProperty(this, "dataType", void 0);
35
+ _defineProperty(this, "renderMenu", function (record) {
36
+ var menu = /*#__PURE__*/React.createElement(Menu, {
37
+ onClick: function onClick(_ref) {
38
+ var _this$effects, _this$effects2;
39
+ var key = _ref.key,
40
+ domEvent = _ref.domEvent;
41
+ domEvent.stopPropagation();
42
+ typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.handleChangeSingleWorkOrderMark) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.handleChangeSingleWorkOrderMark(key, record));
43
+ }
44
+ }, _this.workOrderMark.map(function (item) {
45
+ return /*#__PURE__*/React.createElement(Menu.Item, {
46
+ key: item.value
47
+ }, item.label);
48
+ }));
49
+ return menu;
50
+ });
51
+ _defineProperty(this, "renderPc", function (value, record) {
52
+ var mark = _this.workOrderMark.find(function (item) {
53
+ return item.value === (record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
54
+ });
55
+ return /*#__PURE__*/React.createElement(Dropdown, {
56
+ overlay: _this.renderMenu(record)
57
+ }, /*#__PURE__*/React.createElement("span", null, (mark === null || mark === void 0 ? void 0 : mark.label) || '--'));
58
+ });
59
+ _defineProperty(this, "renderLog", function (r) {
60
+ var mark = _this.workOrderMark.find(function (item) {
61
+ return item.value === (r === null || r === void 0 ? void 0 : r["".concat(_this.id)]);
62
+ });
63
+ if (!mark) return null;
64
+ return _this.renderPc(undefined, r);
65
+ });
66
+ _defineProperty(this, "getComponentValue", function (r) {
67
+ var mark = _this.workOrderMark.find(function (item) {
68
+ return item.value === (r === null || r === void 0 ? void 0 : r["".concat(_this.id)]);
69
+ });
70
+ return mark;
71
+ });
72
+ _defineProperty(this, "renderExport", function (value, record) {
73
+ var MARK_MAP = {
74
+ 1: '白色标记',
75
+ 2: '红色标记',
76
+ 3: '黄色标记',
77
+ 4: '蓝色标记',
78
+ 5: '绿色标记',
79
+ 6: '紫色标记'
80
+ };
81
+ var mark = _this.workOrderMark.find(function (item) {
82
+ return item.value === (record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
83
+ });
84
+ return mark ? MARK_MAP[mark === null || mark === void 0 ? void 0 : mark.value] : '--';
85
+ });
86
+ _defineProperty(this, "renderClient", function (record) {
87
+ return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
88
+ id: _this.id,
89
+ label: _this.name,
90
+ value: (record === null || record === void 0 ? void 0 : record[_this.id]) || ''
91
+ }) : null;
92
+ });
93
+ _defineProperty(this, "editRender", function (p) {
94
+ var _this$componentConfig, _this$componentConfig2;
95
+ return /*#__PURE__*/React.createElement(GetFormItem, {
96
+ title: _this.name,
97
+ name: _this.id,
98
+ rules: _this.rules,
99
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
100
+ required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
101
+ component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
102
+ placeholder: "\u8BF7\u9009\u62E9".concat(_this.name)
103
+ }))
104
+ });
105
+ });
106
+ _defineProperty(this, "filterConfig", function (item) {
107
+ return {
108
+ searchDefaultConditions: SYMBOL.in,
109
+ type: item.type,
110
+ id: item.id,
111
+ // 过滤组件id
112
+ name: item.name,
113
+ // 过滤组件名称
114
+ filterComponentType: 'MultipleSelect',
115
+ props: {
116
+ //不使用workOrderMark的数据,筛选会深拷贝
117
+ options: [{
118
+ label: '空白',
119
+ value: '1'
120
+ }, {
121
+ label: '红色',
122
+ value: '2'
123
+ }, {
124
+ label: '黄色',
125
+ value: '3'
126
+ }, {
127
+ label: '蓝色',
128
+ value: '4'
129
+ }, {
130
+ label: '绿色',
131
+ value: '5'
132
+ }, {
133
+ label: '紫色',
134
+ value: '6'
135
+ }]
136
+ },
137
+ filterFn: function filterFn(value) {
138
+ return function (i) {
139
+ return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
140
+ };
141
+ }
142
+ };
143
+ });
144
+ this.name = '标记';
145
+ this.id = 'markFlag';
146
+ this.sortField = 'markFlag';
147
+ this.formField = 'markFlag';
148
+ this.type = 'FLOW_MARK_SELECT';
149
+ this.effects = options.effects;
150
+ this.rules = [];
151
+ this.isCombinationComponent = false;
152
+ this.canSort = false;
153
+ this.children = [];
154
+ this.workOrderMark = [{
155
+ label: /*#__PURE__*/React.createElement("span", {
156
+ className: "iconfont icon-xingxing"
157
+ }),
158
+ value: '1'
159
+ }, {
160
+ label: /*#__PURE__*/React.createElement("span", {
161
+ className: "iconfont icon-xingxing1",
162
+ style: {
163
+ color: '#ff0000'
164
+ }
165
+ }),
166
+ value: '2'
167
+ }, {
168
+ label: /*#__PURE__*/React.createElement("span", {
169
+ className: "iconfont icon-xingxing1",
170
+ style: {
171
+ color: '#f6b343'
172
+ }
173
+ }),
174
+ value: '3'
175
+ }, {
176
+ label: /*#__PURE__*/React.createElement("span", {
177
+ className: "iconfont icon-xingxing1",
178
+ style: {
179
+ color: '#4d90f7'
180
+ }
181
+ }),
182
+ value: '4'
183
+ }, {
184
+ label: /*#__PURE__*/React.createElement("span", {
185
+ className: "iconfont icon-xingxing1",
186
+ style: {
187
+ color: '#6ed86c'
188
+ }
189
+ }),
190
+ value: '5'
191
+ }, {
192
+ label: /*#__PURE__*/React.createElement("span", {
193
+ className: "iconfont icon-xingxing1",
194
+ style: {
195
+ color: '#be4ed1'
196
+ }
197
+ }),
198
+ value: '6'
199
+ }];
200
+ this.componentConfig = _objectSpread(_objectSpread({}, options.componentConfig), {}, {
201
+ options: this.workOrderMark
202
+ });
203
+ this.dataType = 'string';
204
+ });
205
+ export default FlowMarkSelect;
@@ -1,3 +1,3 @@
1
- import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, StatusSelect, CommonTradeId, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration } from "./index";
2
- import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => ActualPayment | BsExchange | BsGoods | BsReissue | BsReturn | BsSystemOrder | BuyerNick | Calculation | BasicCascader | CommonMultiStatus | CommonSystemOrder | CommonTradeId | ItemEnCode | ItemId | ItemSelect | ErpTradeId | BasicFile | FlowStatusSelect | FlowWorkOrderId | HandlerDeadLine | BasicInput | JstItemSelect | JstLogistics | JstSendGood | JstSupply | LogisticsTrajectory | NodeDeadLine | NodeStayDuration | Payment | BasicPicture | BasicPosting | BasicRadio | BasicRate | ReceiverAddress | ReceiverMobile | ReceiverName | BasicSelect | ShopInput | StatusSelect | BasicTextArea | ThirdItemSelect | BasicDataTime | TradeDateTime | TradeId | WorkOrderId | BasicAddress | BasicCheckbox | BasicMultSelect | BasicGrade | CommonDataTime | ShopName | Logistics | ReturnLogistics | ERemark | AliPay | SystemOrderNo | Ordinary | TemplateSelect | LogisticsInterception | PlatForm | Submitter | Handler | CompletedUser;
1
+ import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, StatusSelect, CommonTradeId, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration } from './index';
2
+ import { PickOption } from './type';
3
+ export declare const factory: (type: string, options: PickOption) => ActualPayment | BasicAddress | AliPay | BsExchange | BsGoods | BsReissue | BsReturn | BsSystemOrder | BuyerNick | Calculation | BasicCascader | BasicCheckbox | CommonDataTime | CommonMultiStatus | CommonSystemOrder | CommonTradeId | CompletedUser | BasicDataTime | ItemEnCode | ItemId | ItemSelect | ErpTradeId | BasicFile | FlowMarkSelect | FlowStatusSelect | FlowWorkOrderId | BasicGrade | Handler | HandlerDeadLine | BasicInput | JstItemSelect | JstLogistics | JstSendGood | JstSupply | Logistics | LogisticsInterception | LogisticsTrajectory | BasicMultSelect | NodeDeadLine | NodeStayDuration | Ordinary | Payment | BasicPicture | PlatForm | BasicPosting | BasicRadio | BasicRate | ReceiverAddress | ReceiverMobile | ReceiverName | ERemark | ReturnLogistics | BasicSelect | ShopInput | ShopName | StatusSelect | Submitter | SystemOrderNo | TemplateSelect | BasicTextArea | ThirdItemSelect | TradeDateTime | TradeId | WorkOrderId;
@@ -1,156 +1,158 @@
1
- import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, StatusSelect, CommonTradeId, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration } from "./index";
1
+ import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, Handler, CompletedUser, LogisticsInterception, LogisticsTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, StatusSelect, CommonTradeId, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration } from "./index";
2
2
  export var factory = function factory(type, options) {
3
3
  var _options$componentCon;
4
4
  switch (type) {
5
- case "PLATFORM_INPUT":
5
+ case 'PLATFORM_INPUT':
6
6
  return new PlatForm();
7
- case "SHOP_INPUT":
7
+ case 'SHOP_INPUT':
8
8
  return new ShopInput(options);
9
- case "OPERATOR_INPUT":
9
+ case 'OPERATOR_INPUT':
10
10
  return new Submitter(options);
11
- case "HANDLER_INPUT":
11
+ case 'HANDLER_INPUT':
12
12
  return new Handler(options);
13
- case "COMPLETED_USER_INPUT":
13
+ case 'COMPLETED_USER_INPUT':
14
14
  return new CompletedUser(options);
15
- case "INPUT":
15
+ case 'INPUT':
16
16
  return new BasicInput(options);
17
- case "RADIO":
17
+ case 'RADIO':
18
18
  return new BasicRadio(options);
19
- case "TEXTAREA":
19
+ case 'TEXTAREA':
20
20
  return new BasicTextArea(options);
21
- case "CHECKBOX":
21
+ case 'CHECKBOX':
22
22
  return new BasicCheckbox(options);
23
- case "DATETIME":
23
+ case 'DATETIME':
24
24
  return new BasicDataTime(options);
25
- case "SELECT":
26
- case "BUYER_MESSAGE_NOTICE":
25
+ case 'SELECT':
26
+ case 'BUYER_MESSAGE_NOTICE':
27
27
  return new BasicSelect(options);
28
- case "PICTURE":
28
+ case 'PICTURE':
29
29
  return new BasicPicture(options);
30
- case "BASIC_MULT_SELECT":
30
+ case 'BASIC_MULT_SELECT':
31
31
  return new BasicMultSelect(options);
32
- case "MULT_SELECT":
32
+ case 'MULT_SELECT':
33
33
  return new BasicCascader(options);
34
- case "BASIC_ADDRESS":
34
+ case 'BASIC_ADDRESS':
35
35
  return new BasicAddress(options);
36
- case "BASIC_GRADE":
36
+ case 'BASIC_GRADE':
37
37
  return new BasicGrade(options);
38
- case "RATE":
38
+ case 'RATE':
39
39
  return new BasicRate(options);
40
- case "FILE":
40
+ case 'FILE':
41
41
  return new BasicFile(options);
42
- case "POSTING":
42
+ case 'POSTING':
43
43
  return new BasicPosting(options);
44
- case "SHOP_NAME_INPUT":
44
+ case 'SHOP_NAME_INPUT':
45
45
  return new ShopName(options);
46
- case "TRADE_ID_INPUT":
46
+ case 'TRADE_ID_INPUT':
47
47
  return options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.erpFlag ? new ErpTradeId(options) : new TradeId(options);
48
- case "BUYER_NICK_INPUT":
48
+ case 'BUYER_NICK_INPUT':
49
49
  return new BuyerNick(options);
50
- case "RECEIVER_NAME_INPUT":
50
+ case 'RECEIVER_NAME_INPUT':
51
51
  return new ReceiverName(options);
52
- case "RECEIVER_MOBILE_INPUT":
52
+ case 'RECEIVER_MOBILE_INPUT':
53
53
  return new ReceiverMobile(options);
54
- case "RECEIVER_ADDRESS_INPUT":
54
+ case 'RECEIVER_ADDRESS_INPUT':
55
55
  return new ReceiverAddress(options);
56
- case "TRADE_CREATE_DATETIME":
57
- case "TRADE_PAYMENT_DATETIME":
58
- case "TRADE_DELIVERY_DATETIME":
59
- case "TRADE_CLOSING_DATETIME":
60
- case "BS_SIGNING_TIME":
61
- case "BS_SEND_TIME":
62
- case "BS_TRADE_PAYMENT_TIME":
56
+ case 'TRADE_CREATE_DATETIME':
57
+ case 'TRADE_PAYMENT_DATETIME':
58
+ case 'TRADE_DELIVERY_DATETIME':
59
+ case 'TRADE_CLOSING_DATETIME':
60
+ case 'BS_SIGNING_TIME':
61
+ case 'BS_SEND_TIME':
62
+ case 'BS_TRADE_PAYMENT_TIME':
63
63
  return new TradeDateTime(options);
64
- case "EXPRESS_LOGISTICS_SELECT":
64
+ case 'EXPRESS_LOGISTICS_SELECT':
65
65
  return new Logistics(options);
66
- case "RETURN_LOGISTICS_SELECT":
66
+ case 'RETURN_LOGISTICS_SELECT':
67
67
  return new ReturnLogistics(options);
68
- case "ACTUAL_PAYMENT":
69
- case "BS_NET_RECEIPTS":
70
- case "BS_DEPOSIT":
71
- case "BS_PACKAGE_WEIGHT":
68
+ case 'ACTUAL_PAYMENT':
69
+ case 'BS_NET_RECEIPTS':
70
+ case 'BS_DEPOSIT':
71
+ case 'BS_PACKAGE_WEIGHT':
72
72
  return new ActualPayment(options);
73
- case "REMARK_INPUT":
73
+ case 'REMARK_INPUT':
74
74
  return new ERemark(options);
75
- case "ITEM_SELECT":
75
+ case 'ITEM_SELECT':
76
76
  return new ItemSelect(options);
77
- case "ITEM_ID":
77
+ case 'ITEM_ID':
78
78
  return new ItemId(options);
79
- case "ITEM_ENCODE":
79
+ case 'ITEM_ENCODE':
80
80
  return new ItemEnCode(options);
81
- case "ALI_PAY_INPUT":
81
+ case 'ALI_PAY_INPUT':
82
82
  return new AliPay(options);
83
- case "ORDINARY_INVOICE":
83
+ case 'ORDINARY_INVOICE':
84
84
  return new Ordinary(options);
85
- case "ITEM_SELECT_THIRD":
85
+ case 'ITEM_SELECT_THIRD':
86
86
  return new ThirdItemSelect(options);
87
- case "ENTERPRISE_PAYMENT":
87
+ case 'ENTERPRISE_PAYMENT':
88
88
  return new Payment(options);
89
- case "SYSTEM_ORDER_NO":
89
+ case 'SYSTEM_ORDER_NO':
90
90
  return new SystemOrderNo(options);
91
- case "LOGISTICS_INTERCEPTION":
91
+ case 'LOGISTICS_INTERCEPTION':
92
92
  return new LogisticsInterception(options);
93
- case "LOGISTICS_TRAJECTORY":
93
+ case 'LOGISTICS_TRAJECTORY':
94
94
  return new LogisticsTrajectory(options);
95
- case "WORK_ORDER_ID_INPUT":
95
+ case 'WORK_ORDER_ID_INPUT':
96
96
  return new WorkOrderId(options);
97
- case "FLOW_STATUS_SELECT":
97
+ case 'FLOW_STATUS_SELECT':
98
98
  return new FlowStatusSelect(options);
99
- case "COMPLETED_DATETIME":
99
+ case 'FLOW_MARK_SELECT':
100
+ return new FlowMarkSelect(options);
101
+ case 'COMPLETED_DATETIME':
100
102
  return new CommonDataTime(options);
101
- case "CREATED_DATETIME":
103
+ case 'CREATED_DATETIME':
102
104
  return new CommonDataTime(options);
103
- case "UPDATE_DATETIME":
105
+ case 'UPDATE_DATETIME':
104
106
  return new CommonDataTime(options);
105
- case "TEMPLATE_ID_INPUT":
107
+ case 'TEMPLATE_ID_INPUT':
106
108
  return new TemplateSelect(options);
107
- case "JST_LOGISTICS":
108
- case "BS_LOGISTICS":
109
- case "REISSUE_LOGISTICS":
109
+ case 'JST_LOGISTICS':
110
+ case 'BS_LOGISTICS':
111
+ case 'REISSUE_LOGISTICS':
110
112
  return new JstLogistics(options);
111
- case "JST_ITEM_SELECT_THIRD":
113
+ case 'JST_ITEM_SELECT_THIRD':
112
114
  return new JstItemSelect(options);
113
- case "JST_SUPPLY":
115
+ case 'JST_SUPPLY':
114
116
  return new JstSupply(options);
115
- case "BS_SYSTEM_ORDER":
117
+ case 'BS_SYSTEM_ORDER':
116
118
  return new BsSystemOrder(options);
117
- case "JST_SEND_GOOD":
118
- case "BS_SEND_GOOD":
119
+ case 'JST_SEND_GOOD':
120
+ case 'BS_SEND_GOOD':
119
121
  return new JstSendGood(options);
120
- case "BS_POSTING":
122
+ case 'BS_POSTING':
121
123
  return new BasicPosting(options);
122
- case "BS_GOODS":
124
+ case 'BS_GOODS':
123
125
  return new BsGoods(options);
124
- case "BS_EXCHANGE_GOODS":
126
+ case 'BS_EXCHANGE_GOODS':
125
127
  return new BsExchange(options);
126
- case "BS_REISSUE_GOODS":
128
+ case 'BS_REISSUE_GOODS':
127
129
  return new BsReissue(options);
128
- case "BS_RETURN_GOODS":
130
+ case 'BS_RETURN_GOODS':
129
131
  return new BsReturn(options);
130
- case "BS_DELIVERY_NO":
131
- case "RETURN_GOODS_TRADE_ID":
132
+ case 'BS_DELIVERY_NO':
133
+ case 'RETURN_GOODS_TRADE_ID':
132
134
  return new CommonSystemOrder(options);
133
- case "FLOW_WORK_ORDER_ID_INPUT":
135
+ case 'FLOW_WORK_ORDER_ID_INPUT':
134
136
  return new FlowWorkOrderId(options);
135
- case "OUTER_WORK_ORDER_ID_INPUT":
137
+ case 'OUTER_WORK_ORDER_ID_INPUT':
136
138
  return new FlowWorkOrderId(options);
137
- case "REISSUE_STATUS":
138
- case "EXCHANGE_STATUS":
139
- case "ADJUST_WORK_ORDER_STATUS":
140
- case "CREATE_STATUS":
139
+ case 'REISSUE_STATUS':
140
+ case 'EXCHANGE_STATUS':
141
+ case 'ADJUST_WORK_ORDER_STATUS':
142
+ case 'CREATE_STATUS':
141
143
  return new StatusSelect(options);
142
- case "RETURN_GOODS_STATUS":
144
+ case 'RETURN_GOODS_STATUS':
143
145
  return new CommonMultiStatus(options);
144
- case "REISSUE_TRADE_ID":
145
- case "EXCHANGE_TRADE_ID":
146
+ case 'REISSUE_TRADE_ID':
147
+ case 'EXCHANGE_TRADE_ID':
146
148
  return new CommonTradeId(options);
147
- case "NUMERICAL_CALCULATION":
149
+ case 'NUMERICAL_CALCULATION':
148
150
  return new Calculation(options);
149
- case "NODE_DEAD_LINE_INPUT":
151
+ case 'NODE_DEAD_LINE_INPUT':
150
152
  return new NodeDeadLine(options);
151
- case "HANDLER_DEAD_LINE_INPUT":
153
+ case 'HANDLER_DEAD_LINE_INPUT':
152
154
  return new HandlerDeadLine(options);
153
- case "NODE_STAY_DURATION_INPUT":
155
+ case 'NODE_STAY_DURATION_INPUT':
154
156
  return new NodeStayDuration(options);
155
157
  default:
156
158
  return new BasicInput(options);
@@ -1,69 +1,70 @@
1
- export { default as BasicInput } from "./components/Input";
2
- export { default as BasicAddress } from "./components/Address";
3
- export { default as BasicCascader } from "./components/Cascader";
4
- export { default as BasicCheckbox } from "./components/Checkbox";
5
- export { default as BasicDataTime } from "./components/DataTime";
6
- export { default as BasicSelect } from "./components/Select";
7
- export { default as BasicRadio } from "./components/Radio";
8
- export { default as BasicTextArea } from "./components/TextArea";
9
- export { default as BasicPicture } from "./components/Picture";
10
- export { default as BasicMultSelect } from "./components/MultSelect";
11
- export { default as BasicGrade } from "./components/Grade";
12
- export { default as BasicRate } from "./components/Rate";
13
- export { default as BasicFile } from "./components/File";
14
- export { default as BasicPosting } from "./components/PostIng";
15
- export { default as CommonDataTime } from "./components/CommonDataTime";
16
- export { default as TradeId } from "./components/TradeId";
17
- export { default as ErpTradeId } from "./components/ErpTradeId";
18
- export { default as ShopName } from "./components/ShopName";
19
- export { default as BuyerNick } from "./components/BuyerNick";
20
- export { default as ReceiverName } from "./components/ReceiverName";
21
- export { default as ReceiverMobile } from "./components/ReceiverMobile";
22
- export { default as ReceiverAddress } from "./components/ReceiverAddress";
23
- export { default as TradeDateTime } from "./components/TradeDateTime";
24
- export { default as Logistics } from "./components/Logistics";
25
- export { default as ReturnLogistics } from "./components/ReturnLogistics";
26
- export { default as ActualPayment } from "./components/ActualPayment";
27
- export { default as ERemark } from "./components/Remark";
28
- export { default as AliPay } from "./components/Alipay";
29
- export { default as ItemSelect } from "./components/EItemSelect";
30
- export { default as ItemId } from "./components/EItemId";
31
- export { default as ItemEnCode } from "./components/EItemEnCode";
32
- export { default as SystemOrderNo } from "./components/SystemOrderNo";
33
- export { default as Ordinary } from "./components/Ordinary";
34
- export { default as ThirdItemSelect } from "./components/ThirdItemSelect";
35
- export { default as Payment } from "./components/Payment";
36
- export { default as JstLogistics } from "./components/JST/JstLogistics";
37
- export { default as JstItemSelect } from "./components/JST/JstItemSelect";
38
- export { default as JstSendGood } from "./components/JST/JstSendGood";
39
- export { default as JstSupply } from "./components/JST/JstSupply";
40
- export { default as BsSystemOrder } from "./components/BS/BsSystemOrder";
41
- export { default as BsGoods } from "./components/BS/BsGoods";
42
- export { default as BsExchange } from "./components/BS/BsExchange";
43
- export { default as BsReissue } from "./components/BS/BsReissue";
44
- export { default as BsReturn } from "./components/BS/BsReturn";
45
- export { default as FlowStatusSelect } from "./components/FlowStatusSelect";
46
- export { default as TemplateSelect } from "./components/TemplateSelect";
47
- export { default as WorkOrderId } from "./components/WorkOrderId";
48
- export { default as LogisticsInterception } from "./components/LogisticsInterception";
49
- export { default as LogisticsTrajectory } from "./components/LogisticsTrajectory";
50
- export { default as PlatForm } from "./components/PlatForm";
51
- export { default as ShopInput } from "./components/ShopInput";
52
- export { default as Submitter } from "./components/Submitter";
53
- export { default as Handler } from "./components/Handler";
54
- export { default as CompletedUser } from "./components/CompletedUser";
55
- export { default as FlowWorkOrderId } from "./components/FlowWorkOrderId";
56
- export { default as StatusSelect } from "./components/StatusSelect";
57
- export { default as CommonTradeId } from "./components/CommonTradeId";
58
- export { default as Calculation } from "./components/Calculation";
59
- export { default as CommonSystemOrder } from "./components/CommonSystemOrder";
60
- export { default as CommonMultiStatus } from "./components/CommonMultiStatus";
61
- export { default as NodeDeadLine } from "./components/NodeDeadLine";
62
- export { default as HandlerDeadLine } from "./components/HandlerDeadLine";
63
- export { default as NodeStayDuration } from "./components/NodeStayDuration";
64
- export { factory } from "./factory";
65
- export { default as PlatformAvatar } from "./commonComponents/PlatformAvatar";
66
- export { default as PlatBuyer } from "./commonComponents/PlatBuyer";
67
- export { default as ShopList } from "./commonComponents/ShopList";
68
- export { default as OperationLog } from "./commonComponents/OperationLog";
69
- export { default as GetFormItem } from "./components/GetFormItem";
1
+ export { default as BasicInput } from './components/Input';
2
+ export { default as BasicAddress } from './components/Address';
3
+ export { default as BasicCascader } from './components/Cascader';
4
+ export { default as BasicCheckbox } from './components/Checkbox';
5
+ export { default as BasicDataTime } from './components/DataTime';
6
+ export { default as BasicSelect } from './components/Select';
7
+ export { default as BasicRadio } from './components/Radio';
8
+ export { default as BasicTextArea } from './components/TextArea';
9
+ export { default as BasicPicture } from './components/Picture';
10
+ export { default as BasicMultSelect } from './components/MultSelect';
11
+ export { default as BasicGrade } from './components/Grade';
12
+ export { default as BasicRate } from './components/Rate';
13
+ export { default as BasicFile } from './components/File';
14
+ export { default as BasicPosting } from './components/PostIng';
15
+ export { default as CommonDataTime } from './components/CommonDataTime';
16
+ export { default as TradeId } from './components/TradeId';
17
+ export { default as ErpTradeId } from './components/ErpTradeId';
18
+ export { default as ShopName } from './components/ShopName';
19
+ export { default as BuyerNick } from './components/BuyerNick';
20
+ export { default as ReceiverName } from './components/ReceiverName';
21
+ export { default as ReceiverMobile } from './components/ReceiverMobile';
22
+ export { default as ReceiverAddress } from './components/ReceiverAddress';
23
+ export { default as TradeDateTime } from './components/TradeDateTime';
24
+ export { default as Logistics } from './components/Logistics';
25
+ export { default as ReturnLogistics } from './components/ReturnLogistics';
26
+ export { default as ActualPayment } from './components/ActualPayment';
27
+ export { default as ERemark } from './components/Remark';
28
+ export { default as AliPay } from './components/Alipay';
29
+ export { default as ItemSelect } from './components/EItemSelect';
30
+ export { default as ItemId } from './components/EItemId';
31
+ export { default as ItemEnCode } from './components/EItemEnCode';
32
+ export { default as SystemOrderNo } from './components/SystemOrderNo';
33
+ export { default as Ordinary } from './components/Ordinary';
34
+ export { default as ThirdItemSelect } from './components/ThirdItemSelect';
35
+ export { default as Payment } from './components/Payment';
36
+ export { default as JstLogistics } from './components/JST/JstLogistics';
37
+ export { default as JstItemSelect } from './components/JST/JstItemSelect';
38
+ export { default as JstSendGood } from './components/JST/JstSendGood';
39
+ export { default as JstSupply } from './components/JST/JstSupply';
40
+ export { default as BsSystemOrder } from './components/BS/BsSystemOrder';
41
+ export { default as BsGoods } from './components/BS/BsGoods';
42
+ export { default as BsExchange } from './components/BS/BsExchange';
43
+ export { default as BsReissue } from './components/BS/BsReissue';
44
+ export { default as BsReturn } from './components/BS/BsReturn';
45
+ export { default as FlowStatusSelect } from './components/FlowStatusSelect';
46
+ export { default as FlowMarkSelect } from './components/FlowMarkSelect';
47
+ export { default as TemplateSelect } from './components/TemplateSelect';
48
+ export { default as WorkOrderId } from './components/WorkOrderId';
49
+ export { default as LogisticsInterception } from './components/LogisticsInterception';
50
+ export { default as LogisticsTrajectory } from './components/LogisticsTrajectory';
51
+ export { default as PlatForm } from './components/PlatForm';
52
+ export { default as ShopInput } from './components/ShopInput';
53
+ export { default as Submitter } from './components/Submitter';
54
+ export { default as Handler } from './components/Handler';
55
+ export { default as CompletedUser } from './components/CompletedUser';
56
+ export { default as FlowWorkOrderId } from './components/FlowWorkOrderId';
57
+ export { default as StatusSelect } from './components/StatusSelect';
58
+ export { default as CommonTradeId } from './components/CommonTradeId';
59
+ export { default as Calculation } from './components/Calculation';
60
+ export { default as CommonSystemOrder } from './components/CommonSystemOrder';
61
+ export { default as CommonMultiStatus } from './components/CommonMultiStatus';
62
+ export { default as NodeDeadLine } from './components/NodeDeadLine';
63
+ export { default as HandlerDeadLine } from './components/HandlerDeadLine';
64
+ export { default as NodeStayDuration } from './components/NodeStayDuration';
65
+ export { factory } from './factory';
66
+ export { default as PlatformAvatar } from './commonComponents/PlatformAvatar';
67
+ export { default as PlatBuyer } from './commonComponents/PlatBuyer';
68
+ export { default as ShopList } from './commonComponents/ShopList';
69
+ export { default as OperationLog } from './commonComponents/OperationLog';
70
+ export { default as GetFormItem } from './components/GetFormItem';
package/dist/esm/index.js CHANGED
@@ -43,6 +43,7 @@ export { default as BsExchange } from "./components/BS/BsExchange";
43
43
  export { default as BsReissue } from "./components/BS/BsReissue";
44
44
  export { default as BsReturn } from "./components/BS/BsReturn";
45
45
  export { default as FlowStatusSelect } from "./components/FlowStatusSelect";
46
+ export { default as FlowMarkSelect } from "./components/FlowMarkSelect";
46
47
  export { default as TemplateSelect } from "./components/TemplateSelect";
47
48
  export { default as WorkOrderId } from "./components/WorkOrderId";
48
49
  export { default as LogisticsInterception } from "./components/LogisticsInterception";
@@ -39,7 +39,7 @@ export interface ComponentInterface {
39
39
  width?: number;
40
40
  align?: ALignType;
41
41
  dataType: "string" | "number" | "boolean" | "array" | "range" | "object";
42
- format?: "dateTime" | "date" | "time" | "cascader" | 'shopInput';
42
+ format?: "dateTime" | "date" | "time" | "cascader" | "shopInput";
43
43
  options?: Array<any>;
44
44
  /**
45
45
  * @description 组件下标
@@ -153,6 +153,7 @@ export interface ComponentInterface {
153
153
  queryWorkOrderDetail?: (r: Record) => void;
154
154
  handleOpenRepeatList?: (r: Record) => void;
155
155
  handleOpenRepeatDetail?: (r: Record) => void;
156
+ handleChangeSingleWorkOrderMark?: (t: string, r: Record) => void;
156
157
  templateList?: any[];
157
158
  isEditing?: boolean;
158
159
  form?: FormInstance;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.8.18-alpha.0",
3
+ "version": "0.8.18-alpha.11",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -26,8 +26,8 @@
26
26
  "father": "^4.1.7"
27
27
  },
28
28
  "dependencies": {
29
- "@kmkf-fe-packages/basic-components": "^0.8.18-alpha.0",
30
- "@kmkf-fe-packages/kmkf-utils": "^0.8.17"
29
+ "@kmkf-fe-packages/basic-components": "^0.8.18-alpha.11",
30
+ "@kmkf-fe-packages/kmkf-utils": "^0.8.18-alpha.11"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@ant-design/icons": "^4.7.0",
@@ -40,5 +40,5 @@
40
40
  "gitHooks": {
41
41
  "pre-commit": "lint-staged"
42
42
  },
43
- "gitHead": "52d8f54a3d76e8e97f6f4262746af4061dc72950"
43
+ "gitHead": "7f357c30362e63f97fce44626d5858dc86a29646"
44
44
  }