kts-components-document-access-point 1.2.17 → 1.2.18
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/index.esm.js +24 -4
- package/dist/index.js +24 -4
- package/package.json +1 -1
- package/src/DocumentsEdit/DocumentsEditController/DocumentsEditControllerState/RuleState/index.ts +25 -1
- package/src/DocumentsEdit/ui/EditRule/ui/RuleForm/fn/algorithmFormComponent/index.tsx +1 -1
- package/src/DocumentsList/ui/ModalComfirm/index.tsx +1 -1
- package/src/DocumentsRule/ui/main/index.tsx +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -318,6 +318,16 @@ var RuleState = function RuleState() {
|
|
|
318
318
|
type: 'string',
|
|
319
319
|
label: '非空',
|
|
320
320
|
operator: ['notBlank']
|
|
321
|
+
}, {
|
|
322
|
+
name: 'exclude',
|
|
323
|
+
type: 'string',
|
|
324
|
+
label: '不包含',
|
|
325
|
+
operator: ['exclude']
|
|
326
|
+
}, {
|
|
327
|
+
name: 'include',
|
|
328
|
+
type: 'string',
|
|
329
|
+
label: '包含',
|
|
330
|
+
operator: ['include']
|
|
321
331
|
}, // integer/number -----------------------------------------------------------------------------------
|
|
322
332
|
{
|
|
323
333
|
name: 'enumNumber',
|
|
@@ -446,10 +456,20 @@ var RuleState = function RuleState() {
|
|
|
446
456
|
}]
|
|
447
457
|
},
|
|
448
458
|
enum: {
|
|
449
|
-
label: '
|
|
459
|
+
label: '值',
|
|
450
460
|
type: 'array',
|
|
451
461
|
name: 'enum'
|
|
452
462
|
},
|
|
463
|
+
exclude: {
|
|
464
|
+
label: '值',
|
|
465
|
+
type: 'array',
|
|
466
|
+
name: 'exclude'
|
|
467
|
+
},
|
|
468
|
+
include: {
|
|
469
|
+
label: '值',
|
|
470
|
+
type: 'array',
|
|
471
|
+
name: 'include'
|
|
472
|
+
},
|
|
453
473
|
const: {
|
|
454
474
|
label: '固定值',
|
|
455
475
|
type: 'string',
|
|
@@ -1996,7 +2016,7 @@ function algorithmFormComponent(operator, ruleProperties, readOnly) {
|
|
|
1996
2016
|
}), /*#__PURE__*/React.createElement(Input, {
|
|
1997
2017
|
readOnly: readOnly,
|
|
1998
2018
|
suffix: /*#__PURE__*/React.createElement(Tooltip, {
|
|
1999
|
-
title: "\
|
|
2019
|
+
title: "\u82E5\u6709\u591A\u4E2A\u503C\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u9017\u53F7\u201C,\u201D\u9694\u5F00\u3002"
|
|
2000
2020
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
2001
2021
|
component: SvgIcon,
|
|
2002
2022
|
style: {
|
|
@@ -2768,7 +2788,7 @@ function modalcomfirm(props) {
|
|
|
2768
2788
|
});
|
|
2769
2789
|
data = selectItems.map(function (item) {
|
|
2770
2790
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
2771
|
-
|
|
2791
|
+
senderParticipantId: targetId,
|
|
2772
2792
|
privateList: [],
|
|
2773
2793
|
sendPublic: true,
|
|
2774
2794
|
senderParticipantNote: note && note.remarkName
|
|
@@ -5059,7 +5079,7 @@ function Rule(props) {
|
|
|
5059
5079
|
return item.participantId === targetId;
|
|
5060
5080
|
});
|
|
5061
5081
|
data = _objectSpread2(_objectSpread2({}, record), {}, {
|
|
5062
|
-
|
|
5082
|
+
senderParticipantId: targetId,
|
|
5063
5083
|
privateList: [],
|
|
5064
5084
|
sendPublic: true,
|
|
5065
5085
|
senderParticipantNote: note && note.remarkName
|
package/dist/index.js
CHANGED
|
@@ -332,6 +332,16 @@ var RuleState = function RuleState() {
|
|
|
332
332
|
type: 'string',
|
|
333
333
|
label: '非空',
|
|
334
334
|
operator: ['notBlank']
|
|
335
|
+
}, {
|
|
336
|
+
name: 'exclude',
|
|
337
|
+
type: 'string',
|
|
338
|
+
label: '不包含',
|
|
339
|
+
operator: ['exclude']
|
|
340
|
+
}, {
|
|
341
|
+
name: 'include',
|
|
342
|
+
type: 'string',
|
|
343
|
+
label: '包含',
|
|
344
|
+
operator: ['include']
|
|
335
345
|
}, // integer/number -----------------------------------------------------------------------------------
|
|
336
346
|
{
|
|
337
347
|
name: 'enumNumber',
|
|
@@ -460,10 +470,20 @@ var RuleState = function RuleState() {
|
|
|
460
470
|
}]
|
|
461
471
|
},
|
|
462
472
|
enum: {
|
|
463
|
-
label: '
|
|
473
|
+
label: '值',
|
|
464
474
|
type: 'array',
|
|
465
475
|
name: 'enum'
|
|
466
476
|
},
|
|
477
|
+
exclude: {
|
|
478
|
+
label: '值',
|
|
479
|
+
type: 'array',
|
|
480
|
+
name: 'exclude'
|
|
481
|
+
},
|
|
482
|
+
include: {
|
|
483
|
+
label: '值',
|
|
484
|
+
type: 'array',
|
|
485
|
+
name: 'include'
|
|
486
|
+
},
|
|
467
487
|
const: {
|
|
468
488
|
label: '固定值',
|
|
469
489
|
type: 'string',
|
|
@@ -2010,7 +2030,7 @@ function algorithmFormComponent(operator, ruleProperties, readOnly) {
|
|
|
2010
2030
|
}), /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Input, {
|
|
2011
2031
|
readOnly: readOnly,
|
|
2012
2032
|
suffix: /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Tooltip, {
|
|
2013
|
-
title: "\
|
|
2033
|
+
title: "\u82E5\u6709\u591A\u4E2A\u503C\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u9017\u53F7\u201C,\u201D\u9694\u5F00\u3002"
|
|
2014
2034
|
}, /*#__PURE__*/React__default['default'].createElement(Icon__default['default'], {
|
|
2015
2035
|
component: SvgIcon,
|
|
2016
2036
|
style: {
|
|
@@ -2782,7 +2802,7 @@ function modalcomfirm(props) {
|
|
|
2782
2802
|
});
|
|
2783
2803
|
data = selectItems.map(function (item) {
|
|
2784
2804
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
2785
|
-
|
|
2805
|
+
senderParticipantId: targetId,
|
|
2786
2806
|
privateList: [],
|
|
2787
2807
|
sendPublic: true,
|
|
2788
2808
|
senderParticipantNote: note && note.remarkName
|
|
@@ -5073,7 +5093,7 @@ function Rule(props) {
|
|
|
5073
5093
|
return item.participantId === targetId;
|
|
5074
5094
|
});
|
|
5075
5095
|
data = _objectSpread2(_objectSpread2({}, record), {}, {
|
|
5076
|
-
|
|
5096
|
+
senderParticipantId: targetId,
|
|
5077
5097
|
privateList: [],
|
|
5078
5098
|
sendPublic: true,
|
|
5079
5099
|
senderParticipantNote: note && note.remarkName
|
package/package.json
CHANGED
package/src/DocumentsEdit/DocumentsEditController/DocumentsEditControllerState/RuleState/index.ts
CHANGED
|
@@ -67,6 +67,18 @@ export default class RuleState {
|
|
|
67
67
|
label: '非空',
|
|
68
68
|
operator: ['notBlank'],
|
|
69
69
|
},
|
|
70
|
+
{
|
|
71
|
+
name: 'exclude',
|
|
72
|
+
type: 'string',
|
|
73
|
+
label: '不包含',
|
|
74
|
+
operator: ['exclude'],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'include',
|
|
78
|
+
type: 'string',
|
|
79
|
+
label: '包含',
|
|
80
|
+
operator: ['include'],
|
|
81
|
+
},
|
|
70
82
|
|
|
71
83
|
// integer/number -----------------------------------------------------------------------------------
|
|
72
84
|
{
|
|
@@ -201,11 +213,23 @@ export default class RuleState {
|
|
|
201
213
|
},
|
|
202
214
|
|
|
203
215
|
enum: {
|
|
204
|
-
label: '
|
|
216
|
+
label: '值',
|
|
205
217
|
type: 'array',
|
|
206
218
|
name: 'enum',
|
|
207
219
|
},
|
|
208
220
|
|
|
221
|
+
exclude: {
|
|
222
|
+
label: '值',
|
|
223
|
+
type: 'array',
|
|
224
|
+
name: 'exclude',
|
|
225
|
+
},
|
|
226
|
+
|
|
227
|
+
include: {
|
|
228
|
+
label: '值',
|
|
229
|
+
type: 'array',
|
|
230
|
+
name: 'include',
|
|
231
|
+
},
|
|
232
|
+
|
|
209
233
|
const: {
|
|
210
234
|
label: '固定值',
|
|
211
235
|
type: 'string',
|
|
@@ -90,7 +90,7 @@ export default function algorithmFormComponent(operator: IOperator, ruleProperti
|
|
|
90
90
|
<Input
|
|
91
91
|
readOnly={readOnly}
|
|
92
92
|
suffix={
|
|
93
|
-
<Tooltip title="
|
|
93
|
+
<Tooltip title="若有多个值,请使用英文逗号“,”隔开。">
|
|
94
94
|
<Icon component={IconSvg} style={{ color: 'rgba(0,0,0,.45)' }} />
|
|
95
95
|
</Tooltip>
|
|
96
96
|
}
|
|
@@ -28,7 +28,7 @@ export default function modalcomfirm(props: any) {
|
|
|
28
28
|
const data = selectItems.map((item: any) => {
|
|
29
29
|
return {
|
|
30
30
|
...item,
|
|
31
|
-
|
|
31
|
+
senderParticipantId: targetId,
|
|
32
32
|
privateList: [],
|
|
33
33
|
sendPublic: true,
|
|
34
34
|
senderParticipantNote: note && note.remarkName
|
|
@@ -187,7 +187,7 @@ export default function Rule(props: any) {
|
|
|
187
187
|
const note = targetList.find(item => item.participantId === targetId)
|
|
188
188
|
const data = {
|
|
189
189
|
...record,
|
|
190
|
-
|
|
190
|
+
senderParticipantId: targetId,
|
|
191
191
|
privateList: [],
|
|
192
192
|
sendPublic: true,
|
|
193
193
|
senderParticipantNote: note && note.remarkName
|