@kmkf-fe-packages/services-components 0.5.2-alpha.3 → 0.5.2-alpha.4
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.
- package/dist/esm/commonComponents/PlatformAvatar/index.d.ts +7 -0
- package/dist/esm/commonComponents/PlatformAvatar/index.js +28 -0
- package/dist/esm/components/CompletedUser/index.d.ts +17 -0
- package/dist/esm/components/CompletedUser/index.js +41 -0
- package/dist/esm/components/Handler/index.d.ts +21 -0
- package/dist/esm/components/Handler/index.js +44 -0
- package/dist/esm/components/ShopInput/index.d.ts +17 -0
- package/dist/esm/components/ShopInput/index.js +46 -0
- package/dist/esm/components/Submitter/index.d.ts +17 -0
- package/dist/esm/components/Submitter/index.js +41 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +5 -1
- package/package.json +2 -2
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CSSProperties, PropsWithChildren } from 'react';
|
|
2
|
+
declare type PlatformAvatarProps = {
|
|
3
|
+
type: number | string;
|
|
4
|
+
styles?: CSSProperties;
|
|
5
|
+
};
|
|
6
|
+
declare const PlatformAvatar: (props: PropsWithChildren<PlatformAvatarProps>) => JSX.Element;
|
|
7
|
+
export default PlatformAvatar;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 _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; }
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
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); }
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { PlatData } from '@kmkf-fe-packages/kmkf-utils';
|
|
9
|
+
var PlatformAvatar = function PlatformAvatar(props) {
|
|
10
|
+
var _platDatInstance$getP;
|
|
11
|
+
var _props$styles = props.styles,
|
|
12
|
+
styles = _props$styles === void 0 ? {} : _props$styles,
|
|
13
|
+
type = props.type;
|
|
14
|
+
var platDatInstance = PlatData.getInstance();
|
|
15
|
+
var platIcon = (_platDatInstance$getP = platDatInstance.getPlatData()) === null || _platDatInstance$getP === void 0 ? void 0 : _platDatInstance$getP.find(function (item) {
|
|
16
|
+
return item.platformType === type;
|
|
17
|
+
});
|
|
18
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("img", {
|
|
19
|
+
alt: "",
|
|
20
|
+
src: platIcon === null || platIcon === void 0 ? void 0 : platIcon.img,
|
|
21
|
+
style: _objectSpread({
|
|
22
|
+
width: '20px',
|
|
23
|
+
height: '20px',
|
|
24
|
+
objectFit: 'contain'
|
|
25
|
+
}, styles)
|
|
26
|
+
}), props.children);
|
|
27
|
+
};
|
|
28
|
+
export default PlatformAvatar;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentInterface, Record } from '../../type';
|
|
3
|
+
declare class CompletedUser implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
type: string;
|
|
7
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
8
|
+
isCombinationComponent: boolean;
|
|
9
|
+
children: ComponentInterface[];
|
|
10
|
+
constructor();
|
|
11
|
+
renderPc: (value: string, record: Record) => JSX.Element;
|
|
12
|
+
renderExport: (value: any, record: Record) => any;
|
|
13
|
+
render: () => null;
|
|
14
|
+
renderClient: () => null;
|
|
15
|
+
editRender: () => null;
|
|
16
|
+
}
|
|
17
|
+
export default CompletedUser;
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser() {
|
|
10
|
+
var _this = this;
|
|
11
|
+
_classCallCheck(this, CompletedUser);
|
|
12
|
+
_defineProperty(this, "name", void 0);
|
|
13
|
+
_defineProperty(this, "id", void 0);
|
|
14
|
+
_defineProperty(this, "type", void 0);
|
|
15
|
+
_defineProperty(this, "componentConfig", void 0);
|
|
16
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
17
|
+
_defineProperty(this, "children", void 0);
|
|
18
|
+
_defineProperty(this, "renderPc", function (value, record) {
|
|
19
|
+
var _record;
|
|
20
|
+
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--');
|
|
21
|
+
});
|
|
22
|
+
_defineProperty(this, "renderExport", function (value, record) {
|
|
23
|
+
var _record2;
|
|
24
|
+
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
25
|
+
});
|
|
26
|
+
_defineProperty(this, "render", function () {
|
|
27
|
+
return null;
|
|
28
|
+
});
|
|
29
|
+
_defineProperty(this, "renderClient", function () {
|
|
30
|
+
return null;
|
|
31
|
+
});
|
|
32
|
+
_defineProperty(this, "editRender", function () {
|
|
33
|
+
return null;
|
|
34
|
+
});
|
|
35
|
+
this.name = "完成人";
|
|
36
|
+
this.id = "completedUserName";
|
|
37
|
+
this.type = "COMPLETED_USER_INPUT";
|
|
38
|
+
this.isCombinationComponent = false;
|
|
39
|
+
this.children = [];
|
|
40
|
+
});
|
|
41
|
+
export default CompletedUser;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentInterface, Record } from '../../type';
|
|
3
|
+
declare class Handler implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
type: string;
|
|
7
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
8
|
+
isCombinationComponent: boolean;
|
|
9
|
+
children: ComponentInterface[];
|
|
10
|
+
constructor();
|
|
11
|
+
renderPc: (value: {
|
|
12
|
+
account: string;
|
|
13
|
+
}[], record: Record) => JSX.Element;
|
|
14
|
+
renderExport: (value: {
|
|
15
|
+
account: string;
|
|
16
|
+
}[], record: Record) => string;
|
|
17
|
+
render: () => null;
|
|
18
|
+
renderClient: () => null;
|
|
19
|
+
editRender: () => null;
|
|
20
|
+
}
|
|
21
|
+
export default Handler;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
var Handler = /*#__PURE__*/_createClass(function Handler() {
|
|
10
|
+
_classCallCheck(this, Handler);
|
|
11
|
+
_defineProperty(this, "name", void 0);
|
|
12
|
+
_defineProperty(this, "id", void 0);
|
|
13
|
+
_defineProperty(this, "type", void 0);
|
|
14
|
+
_defineProperty(this, "componentConfig", void 0);
|
|
15
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
16
|
+
_defineProperty(this, "children", void 0);
|
|
17
|
+
_defineProperty(this, "renderPc", function (value, record) {
|
|
18
|
+
var _value$map$join, _value$map;
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", null, (_value$map$join = value === null || value === void 0 ? void 0 : (_value$map = value.map(function (item) {
|
|
20
|
+
return item.account;
|
|
21
|
+
})) === null || _value$map === void 0 ? void 0 : _value$map.join('、')) !== null && _value$map$join !== void 0 ? _value$map$join : '--');
|
|
22
|
+
});
|
|
23
|
+
_defineProperty(this, "renderExport", function (value, record) {
|
|
24
|
+
var _value$map$join2, _value$map2;
|
|
25
|
+
return (_value$map$join2 = value === null || value === void 0 ? void 0 : (_value$map2 = value.map(function (item) {
|
|
26
|
+
return item.account;
|
|
27
|
+
})) === null || _value$map2 === void 0 ? void 0 : _value$map2.join('、')) !== null && _value$map$join2 !== void 0 ? _value$map$join2 : '--';
|
|
28
|
+
});
|
|
29
|
+
_defineProperty(this, "render", function () {
|
|
30
|
+
return null;
|
|
31
|
+
});
|
|
32
|
+
_defineProperty(this, "renderClient", function () {
|
|
33
|
+
return null;
|
|
34
|
+
});
|
|
35
|
+
_defineProperty(this, "editRender", function () {
|
|
36
|
+
return null;
|
|
37
|
+
});
|
|
38
|
+
this.name = "处理人";
|
|
39
|
+
this.id = "handlerList";
|
|
40
|
+
this.type = "HANDLER_INPUT";
|
|
41
|
+
this.isCombinationComponent = false;
|
|
42
|
+
this.children = [];
|
|
43
|
+
});
|
|
44
|
+
export default Handler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentInterface, Record } from '../../type';
|
|
3
|
+
declare class ShopInput implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
type: string;
|
|
7
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
8
|
+
isCombinationComponent: boolean;
|
|
9
|
+
children: ComponentInterface[];
|
|
10
|
+
constructor();
|
|
11
|
+
renderPc: (shopName: string, record: any) => JSX.Element;
|
|
12
|
+
renderExport: (value: any, record: Record) => any;
|
|
13
|
+
render: () => null;
|
|
14
|
+
renderClient: () => null;
|
|
15
|
+
editRender: () => null;
|
|
16
|
+
}
|
|
17
|
+
export default ShopInput;
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
var ShopInput = /*#__PURE__*/_createClass(function ShopInput() {
|
|
11
|
+
var _this = this;
|
|
12
|
+
_classCallCheck(this, ShopInput);
|
|
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, "isCombinationComponent", void 0);
|
|
18
|
+
_defineProperty(this, "children", void 0);
|
|
19
|
+
_defineProperty(this, "renderPc", function (shopName, record) {
|
|
20
|
+
return /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(PlatformAvatar, {
|
|
21
|
+
type: record === null || record === void 0 ? void 0 : record.platform,
|
|
22
|
+
styles: {
|
|
23
|
+
marginRight: 5
|
|
24
|
+
}
|
|
25
|
+
}), shopName);
|
|
26
|
+
});
|
|
27
|
+
_defineProperty(this, "renderExport", function (value, record) {
|
|
28
|
+
var _record;
|
|
29
|
+
return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--';
|
|
30
|
+
});
|
|
31
|
+
_defineProperty(this, "render", function () {
|
|
32
|
+
return null;
|
|
33
|
+
});
|
|
34
|
+
_defineProperty(this, "renderClient", function () {
|
|
35
|
+
return null;
|
|
36
|
+
});
|
|
37
|
+
_defineProperty(this, "editRender", function () {
|
|
38
|
+
return null;
|
|
39
|
+
});
|
|
40
|
+
this.name = "店铺名称";
|
|
41
|
+
this.id = "shopName";
|
|
42
|
+
this.type = "SHOP_INPUT";
|
|
43
|
+
this.isCombinationComponent = false;
|
|
44
|
+
this.children = [];
|
|
45
|
+
});
|
|
46
|
+
export default ShopInput;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentInterface, Record } from '../../type';
|
|
3
|
+
declare class Submitter implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
type: string;
|
|
7
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
8
|
+
isCombinationComponent: boolean;
|
|
9
|
+
children: ComponentInterface[];
|
|
10
|
+
constructor();
|
|
11
|
+
renderPc: (value: string, record: Record) => JSX.Element;
|
|
12
|
+
renderExport: (value: any, record: Record) => any;
|
|
13
|
+
render: () => null;
|
|
14
|
+
renderClient: () => null;
|
|
15
|
+
editRender: () => null;
|
|
16
|
+
}
|
|
17
|
+
export default Submitter;
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
var Submitter = /*#__PURE__*/_createClass(function Submitter() {
|
|
10
|
+
var _this = this;
|
|
11
|
+
_classCallCheck(this, Submitter);
|
|
12
|
+
_defineProperty(this, "name", void 0);
|
|
13
|
+
_defineProperty(this, "id", void 0);
|
|
14
|
+
_defineProperty(this, "type", void 0);
|
|
15
|
+
_defineProperty(this, "componentConfig", void 0);
|
|
16
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
17
|
+
_defineProperty(this, "children", void 0);
|
|
18
|
+
_defineProperty(this, "renderPc", function (value, record) {
|
|
19
|
+
var _record;
|
|
20
|
+
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--');
|
|
21
|
+
});
|
|
22
|
+
_defineProperty(this, "renderExport", function (value, record) {
|
|
23
|
+
var _record2;
|
|
24
|
+
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
25
|
+
});
|
|
26
|
+
_defineProperty(this, "render", function () {
|
|
27
|
+
return null;
|
|
28
|
+
});
|
|
29
|
+
_defineProperty(this, "renderClient", function () {
|
|
30
|
+
return null;
|
|
31
|
+
});
|
|
32
|
+
_defineProperty(this, "editRender", function () {
|
|
33
|
+
return null;
|
|
34
|
+
});
|
|
35
|
+
this.name = "提交人";
|
|
36
|
+
this.id = "submitter";
|
|
37
|
+
this.type = "OPERATOR_INPUT";
|
|
38
|
+
this.isCombinationComponent = false;
|
|
39
|
+
this.children = [];
|
|
40
|
+
});
|
|
41
|
+
export default Submitter;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -40,3 +40,7 @@ export { default as TemplateSelect } from './components/TemplateSelect';
|
|
|
40
40
|
export { default as WorkOrderId } from './components/WorkOrderId';
|
|
41
41
|
export { default as LogisticsInterception } from './components/LogisticsInterception';
|
|
42
42
|
export { default as PlatForm } from './components/PlatForm';
|
|
43
|
+
export { default as ShopInput } from './components/ShopInput';
|
|
44
|
+
export { default as Submitter } from './components/Submitter';
|
|
45
|
+
export { default as Handler } from './components/Handler';
|
|
46
|
+
export { default as CompletedUser } from './components/CompletedUser';
|
package/dist/esm/index.js
CHANGED
|
@@ -39,4 +39,8 @@ export { default as FlowStatusSelect } from "./components/FlowStatusSelect";
|
|
|
39
39
|
export { default as TemplateSelect } from "./components/TemplateSelect";
|
|
40
40
|
export { default as WorkOrderId } from "./components/WorkOrderId";
|
|
41
41
|
export { default as LogisticsInterception } from "./components/LogisticsInterception";
|
|
42
|
-
export { default as PlatForm } from "./components/PlatForm";
|
|
42
|
+
export { default as PlatForm } from "./components/PlatForm";
|
|
43
|
+
export { default as ShopInput } from "./components/ShopInput";
|
|
44
|
+
export { default as Submitter } from "./components/Submitter";
|
|
45
|
+
export { default as Handler } from "./components/Handler";
|
|
46
|
+
export { default as CompletedUser } from "./components/CompletedUser";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.5.2-alpha.
|
|
3
|
+
"version": "0.5.2-alpha.4",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"gitHooks": {
|
|
36
36
|
"pre-commit": "lint-staged"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "3ec8a398366e29d2c467d97d284338e1931ae576"
|
|
39
39
|
}
|