@kmkf-fe-packages/services-components 0.7.2 → 0.7.3-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.
- package/dist/esm/commonComponents/Wangwang/index.d.ts +2 -2
- package/dist/esm/components/ActualPayment/index.d.ts +1 -0
- package/dist/esm/components/ActualPayment/index.js +2 -0
- package/dist/esm/components/Address/index.d.ts +11 -3
- package/dist/esm/components/Address/index.js +19 -3
- package/dist/esm/components/Alipay/index.d.ts +1 -0
- package/dist/esm/components/AlipayAccount/index.d.ts +1 -0
- package/dist/esm/components/AlipayAccount/index.js +2 -0
- package/dist/esm/components/AlipayName/index.d.ts +1 -0
- package/dist/esm/components/AlipayName/index.js +2 -0
- package/dist/esm/components/BuyerNick/index.d.ts +1 -0
- package/dist/esm/components/BuyerNick/index.js +2 -0
- package/dist/esm/components/Cascader/index.d.ts +1 -0
- package/dist/esm/components/Cascader/index.js +2 -0
- package/dist/esm/components/Checkbox/index.d.ts +1 -0
- package/dist/esm/components/Checkbox/index.js +2 -0
- package/dist/esm/components/Common/index.d.ts +5 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +1 -0
- package/dist/esm/components/CommonDataTime/index.js +2 -0
- package/dist/esm/components/CompletedUser/index.d.ts +1 -0
- package/dist/esm/components/CompletedUser/index.js +2 -0
- package/dist/esm/components/DataTime/ApaasDate.d.ts +2 -2
- package/dist/esm/components/DataTime/index.d.ts +1 -0
- package/dist/esm/components/DataTime/index.js +2 -0
- package/dist/esm/components/EItemEnCode/ItemEncode.d.ts +2 -2
- package/dist/esm/components/EItemEnCode/index.d.ts +1 -0
- package/dist/esm/components/EItemEnCode/index.js +2 -0
- package/dist/esm/components/EItemId/ItemId.d.ts +2 -2
- package/dist/esm/components/EItemId/index.d.ts +1 -0
- package/dist/esm/components/EItemId/index.js +2 -0
- package/dist/esm/components/EItemSelect/ItemSelect.d.ts +2 -2
- package/dist/esm/components/ErpTradeId/index.d.ts +1 -0
- package/dist/esm/components/ErpTradeId/index.js +2 -0
- package/dist/esm/components/Express/index.d.ts +1 -0
- package/dist/esm/components/Express/index.js +2 -0
- package/dist/esm/components/ExpressCode/index.d.ts +1 -0
- package/dist/esm/components/ExpressCode/index.js +2 -0
- package/dist/esm/components/ExpressCompany/index.d.ts +2 -2
- package/dist/esm/components/FlowStatusSelect/index.d.ts +1 -0
- package/dist/esm/components/FlowStatusSelect/index.js +2 -0
- package/dist/esm/components/Handler/index.d.ts +1 -0
- package/dist/esm/components/Handler/index.js +2 -0
- package/dist/esm/components/Input/index.d.ts +1 -0
- package/dist/esm/components/Input/index.js +2 -0
- package/dist/esm/components/JstItemSelect/index.d.ts +1 -0
- package/dist/esm/components/JstItemSelect/index.js +19 -15
- package/dist/esm/components/JstLogistics/index.d.ts +2 -0
- package/dist/esm/components/JstLogistics/index.js +3 -0
- package/dist/esm/components/JstSendGood/index.d.ts +1 -0
- package/dist/esm/components/JstSendGood/index.js +3 -0
- package/dist/esm/components/JstSupply/index.d.ts +1 -0
- package/dist/esm/components/JstSupply/index.js +3 -0
- package/dist/esm/components/Logistics/index.d.ts +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -1
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +2 -1
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +2 -1
- package/dist/esm/components/LogisticsInterception/InterceptType.js +2 -0
- package/dist/esm/components/LogisticsInterception/index.d.ts +3 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +2 -0
- package/dist/esm/components/MultSelect/index.d.ts +1 -0
- package/dist/esm/components/MultSelect/index.js +2 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +2 -0
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +2 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.js +2 -0
- package/dist/esm/components/Ordinary/index.d.ts +10 -2
- package/dist/esm/components/Payment/AlipayNick.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayNick.js +2 -0
- package/dist/esm/components/Payment/AlipayNo.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayNo.js +2 -0
- package/dist/esm/components/Payment/AlipayTime.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayTime.js +2 -0
- package/dist/esm/components/Payment/BuyerNick.d.ts +1 -0
- package/dist/esm/components/Payment/BuyerNick.js +2 -0
- package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentAmount.js +2 -0
- package/dist/esm/components/Payment/PaymentStatus.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentStatus.js +2 -0
- package/dist/esm/components/Payment/PaymentTid.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentTid.js +2 -0
- package/dist/esm/components/Payment/index.d.ts +10 -0
- package/dist/esm/components/PlatForm/index.d.ts +2 -1
- package/dist/esm/components/PlatForm/index.js +2 -0
- package/dist/esm/components/Popover/index.d.ts +2 -2
- package/dist/esm/components/Radio/index.d.ts +1 -0
- package/dist/esm/components/Radio/index.js +2 -0
- package/dist/esm/components/ReceiverAddress/index.d.ts +1 -1
- package/dist/esm/components/ReceiverMobile/index.d.ts +1 -0
- package/dist/esm/components/ReceiverMobile/index.js +2 -0
- package/dist/esm/components/ReceiverName/index.d.ts +1 -0
- package/dist/esm/components/ReceiverName/index.js +2 -0
- package/dist/esm/components/Remark/index.d.ts +1 -0
- package/dist/esm/components/Remark/index.js +2 -0
- package/dist/esm/components/ReturnLogistics/index.d.ts +2 -0
- package/dist/esm/components/Select/index.d.ts +1 -0
- package/dist/esm/components/Select/index.js +2 -0
- package/dist/esm/components/ShopInput/index.d.ts +1 -0
- package/dist/esm/components/ShopInput/index.js +2 -0
- package/dist/esm/components/ShopName/index.d.ts +1 -0
- package/dist/esm/components/ShopName/index.js +2 -0
- package/dist/esm/components/Submitter/index.d.ts +1 -0
- package/dist/esm/components/Submitter/index.js +2 -0
- package/dist/esm/components/SystemOrderNo/index.d.ts +1 -0
- package/dist/esm/components/SystemOrderNo/index.js +2 -0
- package/dist/esm/components/TemplateSelect/index.d.ts +1 -0
- package/dist/esm/components/TemplateSelect/index.js +2 -0
- package/dist/esm/components/TextArea/index.d.ts +1 -0
- package/dist/esm/components/TextArea/index.js +2 -0
- package/dist/esm/components/ThirdItemSelect/ItemEncode.d.ts +2 -2
- package/dist/esm/components/ThirdItemSelect/index.d.ts +1 -0
- package/dist/esm/components/ThirdItemSelect/index.js +2 -0
- package/dist/esm/components/TradeDateTime/index.d.ts +1 -0
- package/dist/esm/components/TradeDateTime/index.js +2 -0
- package/dist/esm/components/TradeId/index.d.ts +1 -0
- package/dist/esm/components/TradeId/index.js +2 -0
- package/dist/esm/components/WorkOrderId/index.d.ts +1 -0
- package/dist/esm/components/WorkOrderId/index.js +2 -0
- package/dist/esm/constant.d.ts +14 -0
- package/dist/esm/constant.js +14 -0
- package/dist/esm/type.d.ts +3 -0
- package/package.json +4 -4
|
@@ -38,12 +38,21 @@ declare class Logistics implements ComponentInterface {
|
|
|
38
38
|
renderExport: () => null;
|
|
39
39
|
editRender: (value: any) => React.JSX.Element;
|
|
40
40
|
filterConfig: (item: ColumnConfig) => ({
|
|
41
|
+
searchDefaultConditions: "in";
|
|
41
42
|
type: string;
|
|
42
43
|
id: string;
|
|
43
44
|
name: string;
|
|
44
45
|
filterComponentType: "Input";
|
|
45
46
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
46
47
|
} | {
|
|
48
|
+
searchDefaultConditions: "between";
|
|
49
|
+
type: string;
|
|
50
|
+
id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
filterComponentType: "Input";
|
|
53
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
54
|
+
} | {
|
|
55
|
+
searchDefaultConditions: "in";
|
|
47
56
|
type: string;
|
|
48
57
|
id: string;
|
|
49
58
|
name: string;
|
|
@@ -54,6 +63,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
54
63
|
}[];
|
|
55
64
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
56
65
|
} | {
|
|
66
|
+
searchDefaultConditions: "between";
|
|
57
67
|
type: string;
|
|
58
68
|
id: string;
|
|
59
69
|
name: string;
|
|
@@ -8,7 +8,7 @@ declare class PlatForm implements ComponentInterface {
|
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
|
-
platInstance: PlatData
|
|
11
|
+
platInstance: InstanceType<typeof PlatData>;
|
|
12
12
|
constructor();
|
|
13
13
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
14
14
|
renderExport: (value: any, record: Record) => string;
|
|
@@ -17,6 +17,7 @@ declare class PlatForm implements ComponentInterface {
|
|
|
17
17
|
renderClient: () => null;
|
|
18
18
|
editRender: () => null;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
searchDefaultConditions: "in";
|
|
20
21
|
type: string;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
@@ -7,6 +7,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
7
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
8
|
import React from 'react';
|
|
9
9
|
import { PlatData, filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
|
+
import { SYMBOL } from "../../constant";
|
|
10
11
|
var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
11
12
|
var _this = this;
|
|
12
13
|
_classCallCheck(this, PlatForm);
|
|
@@ -43,6 +44,7 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm() {
|
|
|
43
44
|
_defineProperty(this, "filterConfig", function (item) {
|
|
44
45
|
var platData = _this.platInstance.getPlatSelectList();
|
|
45
46
|
return {
|
|
47
|
+
searchDefaultConditions: SYMBOL.in,
|
|
46
48
|
type: item.type,
|
|
47
49
|
id: item.id,
|
|
48
50
|
// 过滤组件id
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const Popover: ({ Overlay, ShowComponent }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Popover: ({ Overlay, ShowComponent }: any) => React.JSX.Element;
|
|
3
3
|
export default Popover;
|
|
@@ -24,6 +24,7 @@ declare class BasicRadio implements ComponentInterface {
|
|
|
24
24
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
25
25
|
editRender: () => React.JSX.Element;
|
|
26
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
|
+
searchDefaultConditions: "in";
|
|
27
28
|
type: string;
|
|
28
29
|
id: string;
|
|
29
30
|
name: string;
|
|
@@ -11,6 +11,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
11
11
|
import ItemView from "../../commonComponents/ItemView";
|
|
12
12
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
13
13
|
import get from 'lodash/get';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
|
|
15
16
|
var _this = this,
|
|
16
17
|
_this$componentConfig3;
|
|
@@ -68,6 +69,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
|
|
|
68
69
|
_defineProperty(this, "filterConfig", function (item) {
|
|
69
70
|
var _item$config, _item$config2, _item$config2$options, _item$config3;
|
|
70
71
|
return {
|
|
72
|
+
searchDefaultConditions: SYMBOL.in,
|
|
71
73
|
type: item.type,
|
|
72
74
|
id: item.id,
|
|
73
75
|
// 过滤组件id
|
|
@@ -14,7 +14,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
14
14
|
effects: ComponentInterface["effects"];
|
|
15
15
|
isCombinationComponent: boolean;
|
|
16
16
|
children: ComponentInterface[];
|
|
17
|
-
addressDateInstance: AddressData
|
|
17
|
+
addressDateInstance: InstanceType<typeof AddressData>;
|
|
18
18
|
constructor(options: PickOption);
|
|
19
19
|
render: (value: Value) => React.JSX.Element;
|
|
20
20
|
transTextToNumber: (value?: string) => string | number | undefined;
|
|
@@ -17,6 +17,7 @@ declare class ReceiverMobile implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: any, record: Record) => any;
|
|
18
18
|
editRender: (value: any) => React.JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
searchDefaultConditions: "in";
|
|
20
21
|
type: string;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
@@ -11,6 +11,7 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, ReceiverMobile);
|
|
@@ -68,6 +69,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
68
69
|
});
|
|
69
70
|
_defineProperty(this, "filterConfig", function (item) {
|
|
70
71
|
return {
|
|
72
|
+
searchDefaultConditions: SYMBOL.in,
|
|
71
73
|
type: item.type,
|
|
72
74
|
id: item.id,
|
|
73
75
|
// 过滤组件id
|
|
@@ -17,6 +17,7 @@ declare class ReceiverName implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: any, record: Record) => any;
|
|
18
18
|
editRender: () => React.JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
searchDefaultConditions: "in";
|
|
20
21
|
type: string;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
@@ -11,6 +11,7 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, ReceiverName);
|
|
@@ -65,6 +66,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
65
66
|
});
|
|
66
67
|
_defineProperty(this, "filterConfig", function (item) {
|
|
67
68
|
return {
|
|
69
|
+
searchDefaultConditions: SYMBOL.in,
|
|
68
70
|
type: item.type,
|
|
69
71
|
id: item.id,
|
|
70
72
|
// 过滤组件id
|
|
@@ -26,6 +26,7 @@ declare class ERemark implements ComponentInterface {
|
|
|
26
26
|
renderExport: (value: unknown, record: Record) => any;
|
|
27
27
|
editRender: () => React.JSX.Element;
|
|
28
28
|
filterConfig: (item: ColumnConfig) => {
|
|
29
|
+
searchDefaultConditions: "in";
|
|
29
30
|
type: string;
|
|
30
31
|
id: string;
|
|
31
32
|
name: string;
|
|
@@ -17,6 +17,7 @@ import trade5 from "./flag/trade-icon-flag-5.png";
|
|
|
17
17
|
import get from 'lodash/get';
|
|
18
18
|
import ItemView from "../../commonComponents/ItemView";
|
|
19
19
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
20
|
+
import { SYMBOL } from "../../constant";
|
|
20
21
|
var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
21
22
|
var _this = this,
|
|
22
23
|
_this$componentConfig3;
|
|
@@ -84,6 +85,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
84
85
|
});
|
|
85
86
|
_defineProperty(this, "filterConfig", function (item) {
|
|
86
87
|
return {
|
|
88
|
+
searchDefaultConditions: SYMBOL.in,
|
|
87
89
|
type: item.type,
|
|
88
90
|
id: item.id,
|
|
89
91
|
// 过滤组件id
|
|
@@ -30,6 +30,7 @@ declare class ReturnLogistics implements ComponentInterface {
|
|
|
30
30
|
renderExport: () => null;
|
|
31
31
|
editRender: (value: any) => React.JSX.Element;
|
|
32
32
|
filterConfig: (item: ColumnConfig) => ({
|
|
33
|
+
searchDefaultConditions: "in";
|
|
33
34
|
type: string;
|
|
34
35
|
id: string;
|
|
35
36
|
name: string;
|
|
@@ -37,6 +38,7 @@ declare class ReturnLogistics implements ComponentInterface {
|
|
|
37
38
|
options: any[];
|
|
38
39
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
39
40
|
} | {
|
|
41
|
+
searchDefaultConditions: "in";
|
|
40
42
|
type: string;
|
|
41
43
|
id: string;
|
|
42
44
|
name: string;
|
|
@@ -16,6 +16,7 @@ declare class BasicSelect implements ComponentInterface {
|
|
|
16
16
|
getComponentValue: (r: Record) => any;
|
|
17
17
|
renderExport: (value: any, record: Record) => any;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
searchDefaultConditions: "in";
|
|
19
20
|
type: string;
|
|
20
21
|
id: string;
|
|
21
22
|
name: string;
|
|
@@ -11,6 +11,7 @@ import { ApaasSelect } from '@kmkf-fe-packages/basic-components';
|
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, BasicSelect);
|
|
@@ -59,6 +60,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
59
60
|
_defineProperty(this, "filterConfig", function (item) {
|
|
60
61
|
var _item$config;
|
|
61
62
|
return {
|
|
63
|
+
searchDefaultConditions: SYMBOL.in,
|
|
62
64
|
type: item.type,
|
|
63
65
|
id: item.id,
|
|
64
66
|
// 过滤组件id
|
|
@@ -8,6 +8,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import PlatformAvatar from "../../commonComponents/PlatformAvatar";
|
|
10
10
|
import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
|
+
import { SYMBOL } from "../../constant";
|
|
11
12
|
var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
12
13
|
var _this = this;
|
|
13
14
|
_classCallCheck(this, ShopInput);
|
|
@@ -46,6 +47,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
46
47
|
_defineProperty(this, "filterConfig", function (item) {
|
|
47
48
|
var _this$effects;
|
|
48
49
|
return {
|
|
50
|
+
searchDefaultConditions: SYMBOL.in,
|
|
49
51
|
type: item.type,
|
|
50
52
|
id: item.id,
|
|
51
53
|
// 过滤组件id
|
|
@@ -16,6 +16,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
16
16
|
renderExport: (value: any, record: Record) => any;
|
|
17
17
|
editRender: () => React.JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
searchDefaultConditions: "in";
|
|
19
20
|
type: string;
|
|
20
21
|
id: string;
|
|
21
22
|
name: string;
|
|
@@ -11,6 +11,7 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, BasicInput);
|
|
@@ -57,6 +58,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
57
58
|
});
|
|
58
59
|
_defineProperty(this, "filterConfig", function (item) {
|
|
59
60
|
return {
|
|
61
|
+
searchDefaultConditions: SYMBOL.in,
|
|
60
62
|
type: item.type,
|
|
61
63
|
id: item.id,
|
|
62
64
|
// 过滤组件id
|
|
@@ -7,6 +7,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
7
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
8
|
import React from 'react';
|
|
9
9
|
import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
|
+
import { SYMBOL } from "../../constant";
|
|
10
11
|
var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
11
12
|
var _this = this;
|
|
12
13
|
_classCallCheck(this, Submitter);
|
|
@@ -40,6 +41,7 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
40
41
|
_defineProperty(this, "filterConfig", function (item) {
|
|
41
42
|
var _this$effects;
|
|
42
43
|
return {
|
|
44
|
+
searchDefaultConditions: SYMBOL.in,
|
|
43
45
|
type: item.type,
|
|
44
46
|
id: item.id,
|
|
45
47
|
// 过滤组件id
|
|
@@ -17,6 +17,7 @@ declare class SystemOrderNo implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: string, record: Record) => any;
|
|
18
18
|
editRender: () => React.JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
searchDefaultConditions: "in";
|
|
20
21
|
type: string;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
@@ -11,6 +11,7 @@ import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, SystemOrderNo);
|
|
@@ -58,6 +59,7 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
|
58
59
|
});
|
|
59
60
|
_defineProperty(this, "filterConfig", function (item) {
|
|
60
61
|
return {
|
|
62
|
+
searchDefaultConditions: SYMBOL.in,
|
|
61
63
|
type: item.type,
|
|
62
64
|
id: item.id,
|
|
63
65
|
// 过滤组件id
|
|
@@ -9,6 +9,7 @@ import React from 'react';
|
|
|
9
9
|
import find from 'lodash/find';
|
|
10
10
|
import get from 'lodash/get';
|
|
11
11
|
import { filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
12
|
+
import { SYMBOL } from "../../constant";
|
|
12
13
|
var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options) {
|
|
13
14
|
var _this = this;
|
|
14
15
|
_classCallCheck(this, TemplateSelect);
|
|
@@ -58,6 +59,7 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
|
|
|
58
59
|
_defineProperty(this, "filterConfig", function (item) {
|
|
59
60
|
var _this$effects3;
|
|
60
61
|
return {
|
|
62
|
+
searchDefaultConditions: SYMBOL.in,
|
|
61
63
|
type: item.type,
|
|
62
64
|
id: item.id,
|
|
63
65
|
// 过滤组件id
|
|
@@ -16,6 +16,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
16
16
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
17
17
|
editRender: () => React.JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
searchDefaultConditions: "in";
|
|
19
20
|
type: string;
|
|
20
21
|
id: string;
|
|
21
22
|
name: string;
|
|
@@ -11,6 +11,7 @@ import { ApaasTextArea } from '@kmkf-fe-packages/basic-components';
|
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, BasicInput);
|
|
@@ -57,6 +58,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
57
58
|
});
|
|
58
59
|
_defineProperty(this, "filterConfig", function (item) {
|
|
59
60
|
return {
|
|
61
|
+
searchDefaultConditions: SYMBOL.in,
|
|
60
62
|
type: item.type,
|
|
61
63
|
id: item.id,
|
|
62
64
|
// 过滤组件id
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { GoodsProps } from '@kmkf-fe-packages/basic-components/dist/common/Goods';
|
|
3
|
-
declare const ItemEncode: (props: JSX.IntrinsicAttributes & GoodsProps) => JSX.Element;
|
|
3
|
+
declare const ItemEncode: (props: JSX.IntrinsicAttributes & GoodsProps) => React.JSX.Element;
|
|
4
4
|
export default ItemEncode;
|
|
@@ -17,6 +17,7 @@ declare class ThirdItemSelect implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: any, record: Record) => any;
|
|
18
18
|
editRender: () => React.JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
searchDefaultConditions: "in";
|
|
20
21
|
type: string;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
@@ -12,6 +12,7 @@ import ItemEncode from "./ItemEncode";
|
|
|
12
12
|
import { GoodImage } from "../Common";
|
|
13
13
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
14
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
|
+
import { SYMBOL } from "../../constant";
|
|
15
16
|
var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options) {
|
|
16
17
|
var _this = this,
|
|
17
18
|
_this$componentConfig2;
|
|
@@ -76,6 +77,7 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
|
|
|
76
77
|
});
|
|
77
78
|
_defineProperty(this, "filterConfig", function (item) {
|
|
78
79
|
return {
|
|
80
|
+
searchDefaultConditions: SYMBOL.in,
|
|
79
81
|
type: item.type,
|
|
80
82
|
id: item.id,
|
|
81
83
|
// 过滤组件id
|
|
@@ -25,6 +25,7 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
25
25
|
editRender: () => React.JSX.Element;
|
|
26
26
|
getKeyByComponentType: (type: string) => "tradeCreateDateTime" | "tradePaymentDateTime" | "tradeDeliveryDateTime" | "tradeClosingDateTime" | undefined;
|
|
27
27
|
filterConfig: (item: ColumnConfig) => {
|
|
28
|
+
searchDefaultConditions: "between";
|
|
28
29
|
type: string;
|
|
29
30
|
id: string;
|
|
30
31
|
name: string;
|
|
@@ -11,6 +11,7 @@ import { DateTime } from "../DataTime";
|
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, BasicDataTime);
|
|
@@ -90,6 +91,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
90
91
|
});
|
|
91
92
|
_defineProperty(this, "filterConfig", function (item) {
|
|
92
93
|
return {
|
|
94
|
+
searchDefaultConditions: SYMBOL.between,
|
|
93
95
|
type: item.type,
|
|
94
96
|
id: item.id,
|
|
95
97
|
// 过滤组件id
|
|
@@ -23,6 +23,7 @@ declare class ETradeId implements ComponentInterface {
|
|
|
23
23
|
renderExport: (value: unknown, record: Record) => any;
|
|
24
24
|
editRender: (value: any) => React.JSX.Element;
|
|
25
25
|
filterConfig: (item: ColumnConfig) => {
|
|
26
|
+
searchDefaultConditions: "in";
|
|
26
27
|
type: string;
|
|
27
28
|
id: string;
|
|
28
29
|
name: string;
|
|
@@ -11,6 +11,7 @@ import { TradeId } from '@kmkf-fe-packages/basic-components';
|
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { SYMBOL } from "../../constant";
|
|
14
15
|
var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
|
|
15
16
|
var _this = this;
|
|
16
17
|
_classCallCheck(this, ETradeId);
|
|
@@ -71,6 +72,7 @@ var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
|
|
|
71
72
|
});
|
|
72
73
|
_defineProperty(this, "filterConfig", function (item) {
|
|
73
74
|
return {
|
|
75
|
+
searchDefaultConditions: SYMBOL.in,
|
|
74
76
|
type: item.type,
|
|
75
77
|
id: item.id,
|
|
76
78
|
// 过滤组件id
|
|
@@ -14,6 +14,7 @@ import { filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
|
14
14
|
import GetFormItem from "../GetFormItem";
|
|
15
15
|
import repeatPng from "./img/repeat.png";
|
|
16
16
|
import copy from 'copy-to-clipboard';
|
|
17
|
+
import { SYMBOL } from "../../constant";
|
|
17
18
|
var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
18
19
|
var _this = this;
|
|
19
20
|
_classCallCheck(this, WorkOrderId);
|
|
@@ -83,6 +84,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
83
84
|
});
|
|
84
85
|
_defineProperty(this, "filterConfig", function (item) {
|
|
85
86
|
return {
|
|
87
|
+
searchDefaultConditions: SYMBOL.in,
|
|
86
88
|
type: item.type,
|
|
87
89
|
id: item.id,
|
|
88
90
|
// 过滤组件id
|
package/dist/esm/type.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { FormInstance } from "antd";
|
|
3
|
+
import { SYMBOL } from './constant';
|
|
3
4
|
export declare type DataType = "string" | "number" | "array" | "dateArray" | "date" | "tradeId";
|
|
4
5
|
export declare type ALignType = "left" | "right" | "center";
|
|
6
|
+
export declare type QuerySymbol = keyof typeof SYMBOL;
|
|
5
7
|
export declare type Record = {
|
|
6
8
|
[props in string]: any;
|
|
7
9
|
};
|
|
8
10
|
export declare type FilterConfigType = {
|
|
11
|
+
searchDefaultConditions: QuerySymbol;
|
|
9
12
|
type: string;
|
|
10
13
|
id: string;
|
|
11
14
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3-alpha.0",
|
|
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.7.
|
|
30
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.7.
|
|
29
|
+
"@kmkf-fe-packages/basic-components": "^0.7.3-alpha.0",
|
|
30
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.7.3-alpha.0"
|
|
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": "
|
|
43
|
+
"gitHead": "b0f87f2b77d722025171a0f3e03132a8684da6e0"
|
|
44
44
|
}
|