@bigbinary/neeto-rules-frontend 0.2.0 → 0.2.1
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.cjs.js +84 -84
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +84 -84
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -49597,7 +49597,7 @@ var NoteField = function NoteField(_ref) {
|
|
|
49597
49597
|
|
|
49598
49598
|
function cov_2mb0ufoovu() {
|
|
49599
49599
|
var path = "/home/runner/work/neeto-rules-frontend/neeto-rules-frontend/src/components/NeetoRules/Element/Actions/ActionSubItem/index.jsx";
|
|
49600
|
-
var hash = "
|
|
49600
|
+
var hash = "5c3fbbed6a1e549abc1d3f170659daa136e88285";
|
|
49601
49601
|
var global = new Function("return this")();
|
|
49602
49602
|
var gcv = "__coverage__";
|
|
49603
49603
|
var coverageData = {
|
|
@@ -49699,103 +49699,103 @@ function cov_2mb0ufoovu() {
|
|
|
49699
49699
|
column: 2
|
|
49700
49700
|
},
|
|
49701
49701
|
end: {
|
|
49702
|
-
line:
|
|
49702
|
+
line: 86,
|
|
49703
49703
|
column: 3
|
|
49704
49704
|
}
|
|
49705
49705
|
},
|
|
49706
49706
|
"10": {
|
|
49707
49707
|
start: {
|
|
49708
|
-
line:
|
|
49708
|
+
line: 77,
|
|
49709
49709
|
column: 4
|
|
49710
49710
|
},
|
|
49711
49711
|
end: {
|
|
49712
|
-
line:
|
|
49712
|
+
line: 85,
|
|
49713
49713
|
column: 6
|
|
49714
49714
|
}
|
|
49715
49715
|
},
|
|
49716
49716
|
"11": {
|
|
49717
49717
|
start: {
|
|
49718
|
-
line:
|
|
49718
|
+
line: 88,
|
|
49719
49719
|
column: 2
|
|
49720
49720
|
},
|
|
49721
49721
|
end: {
|
|
49722
|
-
line:
|
|
49722
|
+
line: 98,
|
|
49723
49723
|
column: 3
|
|
49724
49724
|
}
|
|
49725
49725
|
},
|
|
49726
49726
|
"12": {
|
|
49727
49727
|
start: {
|
|
49728
|
-
line:
|
|
49728
|
+
line: 89,
|
|
49729
49729
|
column: 4
|
|
49730
49730
|
},
|
|
49731
49731
|
end: {
|
|
49732
|
-
line:
|
|
49732
|
+
line: 97,
|
|
49733
49733
|
column: 6
|
|
49734
49734
|
}
|
|
49735
49735
|
},
|
|
49736
49736
|
"13": {
|
|
49737
49737
|
start: {
|
|
49738
|
-
line:
|
|
49738
|
+
line: 100,
|
|
49739
49739
|
column: 2
|
|
49740
49740
|
},
|
|
49741
49741
|
end: {
|
|
49742
|
-
line:
|
|
49742
|
+
line: 111,
|
|
49743
49743
|
column: 3
|
|
49744
49744
|
}
|
|
49745
49745
|
},
|
|
49746
49746
|
"14": {
|
|
49747
49747
|
start: {
|
|
49748
|
-
line:
|
|
49748
|
+
line: 101,
|
|
49749
49749
|
column: 4
|
|
49750
49750
|
},
|
|
49751
49751
|
end: {
|
|
49752
|
-
line:
|
|
49752
|
+
line: 110,
|
|
49753
49753
|
column: 6
|
|
49754
49754
|
}
|
|
49755
49755
|
},
|
|
49756
49756
|
"15": {
|
|
49757
49757
|
start: {
|
|
49758
|
-
line:
|
|
49758
|
+
line: 113,
|
|
49759
49759
|
column: 2
|
|
49760
49760
|
},
|
|
49761
49761
|
end: {
|
|
49762
|
-
line:
|
|
49762
|
+
line: 115,
|
|
49763
49763
|
column: 3
|
|
49764
49764
|
}
|
|
49765
49765
|
},
|
|
49766
49766
|
"16": {
|
|
49767
49767
|
start: {
|
|
49768
|
-
line:
|
|
49768
|
+
line: 114,
|
|
49769
49769
|
column: 4
|
|
49770
49770
|
},
|
|
49771
49771
|
end: {
|
|
49772
|
-
line:
|
|
49772
|
+
line: 114,
|
|
49773
49773
|
column: 77
|
|
49774
49774
|
}
|
|
49775
49775
|
},
|
|
49776
49776
|
"17": {
|
|
49777
49777
|
start: {
|
|
49778
|
-
line:
|
|
49778
|
+
line: 117,
|
|
49779
49779
|
column: 2
|
|
49780
49780
|
},
|
|
49781
49781
|
end: {
|
|
49782
|
-
line:
|
|
49782
|
+
line: 121,
|
|
49783
49783
|
column: 3
|
|
49784
49784
|
}
|
|
49785
49785
|
},
|
|
49786
49786
|
"18": {
|
|
49787
49787
|
start: {
|
|
49788
|
-
line:
|
|
49788
|
+
line: 118,
|
|
49789
49789
|
column: 4
|
|
49790
49790
|
},
|
|
49791
49791
|
end: {
|
|
49792
|
-
line:
|
|
49792
|
+
line: 120,
|
|
49793
49793
|
column: 6
|
|
49794
49794
|
}
|
|
49795
49795
|
},
|
|
49796
49796
|
"19": {
|
|
49797
49797
|
start: {
|
|
49798
|
-
line:
|
|
49798
|
+
line: 123,
|
|
49799
49799
|
column: 2
|
|
49800
49800
|
},
|
|
49801
49801
|
end: {
|
|
@@ -50000,7 +50000,7 @@ function cov_2mb0ufoovu() {
|
|
|
50000
50000
|
column: 2
|
|
50001
50001
|
},
|
|
50002
50002
|
end: {
|
|
50003
|
-
line:
|
|
50003
|
+
line: 86,
|
|
50004
50004
|
column: 3
|
|
50005
50005
|
}
|
|
50006
50006
|
},
|
|
@@ -50011,7 +50011,7 @@ function cov_2mb0ufoovu() {
|
|
|
50011
50011
|
column: 2
|
|
50012
50012
|
},
|
|
50013
50013
|
end: {
|
|
50014
|
-
line:
|
|
50014
|
+
line: 86,
|
|
50015
50015
|
column: 3
|
|
50016
50016
|
}
|
|
50017
50017
|
}, {
|
|
@@ -50029,55 +50029,55 @@ function cov_2mb0ufoovu() {
|
|
|
50029
50029
|
"5": {
|
|
50030
50030
|
loc: {
|
|
50031
50031
|
start: {
|
|
50032
|
-
line:
|
|
50033
|
-
column:
|
|
50032
|
+
line: 88,
|
|
50033
|
+
column: 2
|
|
50034
50034
|
},
|
|
50035
50035
|
end: {
|
|
50036
|
-
line:
|
|
50037
|
-
column:
|
|
50036
|
+
line: 98,
|
|
50037
|
+
column: 3
|
|
50038
50038
|
}
|
|
50039
50039
|
},
|
|
50040
|
-
type: "
|
|
50040
|
+
type: "if",
|
|
50041
50041
|
locations: [{
|
|
50042
50042
|
start: {
|
|
50043
|
-
line:
|
|
50044
|
-
column:
|
|
50043
|
+
line: 88,
|
|
50044
|
+
column: 2
|
|
50045
50045
|
},
|
|
50046
50046
|
end: {
|
|
50047
|
-
line:
|
|
50048
|
-
column:
|
|
50047
|
+
line: 98,
|
|
50048
|
+
column: 3
|
|
50049
50049
|
}
|
|
50050
50050
|
}, {
|
|
50051
50051
|
start: {
|
|
50052
|
-
line:
|
|
50053
|
-
column:
|
|
50052
|
+
line: undefined,
|
|
50053
|
+
column: undefined
|
|
50054
50054
|
},
|
|
50055
50055
|
end: {
|
|
50056
|
-
line:
|
|
50057
|
-
column:
|
|
50056
|
+
line: undefined,
|
|
50057
|
+
column: undefined
|
|
50058
50058
|
}
|
|
50059
50059
|
}],
|
|
50060
|
-
line:
|
|
50060
|
+
line: 88
|
|
50061
50061
|
},
|
|
50062
50062
|
"6": {
|
|
50063
50063
|
loc: {
|
|
50064
50064
|
start: {
|
|
50065
|
-
line:
|
|
50065
|
+
line: 100,
|
|
50066
50066
|
column: 2
|
|
50067
50067
|
},
|
|
50068
50068
|
end: {
|
|
50069
|
-
line:
|
|
50069
|
+
line: 111,
|
|
50070
50070
|
column: 3
|
|
50071
50071
|
}
|
|
50072
50072
|
},
|
|
50073
50073
|
type: "if",
|
|
50074
50074
|
locations: [{
|
|
50075
50075
|
start: {
|
|
50076
|
-
line:
|
|
50076
|
+
line: 100,
|
|
50077
50077
|
column: 2
|
|
50078
50078
|
},
|
|
50079
50079
|
end: {
|
|
50080
|
-
line:
|
|
50080
|
+
line: 111,
|
|
50081
50081
|
column: 3
|
|
50082
50082
|
}
|
|
50083
50083
|
}, {
|
|
@@ -50090,27 +50090,27 @@ function cov_2mb0ufoovu() {
|
|
|
50090
50090
|
column: undefined
|
|
50091
50091
|
}
|
|
50092
50092
|
}],
|
|
50093
|
-
line:
|
|
50093
|
+
line: 100
|
|
50094
50094
|
},
|
|
50095
50095
|
"7": {
|
|
50096
50096
|
loc: {
|
|
50097
50097
|
start: {
|
|
50098
|
-
line:
|
|
50098
|
+
line: 113,
|
|
50099
50099
|
column: 2
|
|
50100
50100
|
},
|
|
50101
50101
|
end: {
|
|
50102
|
-
line:
|
|
50102
|
+
line: 115,
|
|
50103
50103
|
column: 3
|
|
50104
50104
|
}
|
|
50105
50105
|
},
|
|
50106
50106
|
type: "if",
|
|
50107
50107
|
locations: [{
|
|
50108
50108
|
start: {
|
|
50109
|
-
line:
|
|
50109
|
+
line: 113,
|
|
50110
50110
|
column: 2
|
|
50111
50111
|
},
|
|
50112
50112
|
end: {
|
|
50113
|
-
line:
|
|
50113
|
+
line: 115,
|
|
50114
50114
|
column: 3
|
|
50115
50115
|
}
|
|
50116
50116
|
}, {
|
|
@@ -50123,27 +50123,27 @@ function cov_2mb0ufoovu() {
|
|
|
50123
50123
|
column: undefined
|
|
50124
50124
|
}
|
|
50125
50125
|
}],
|
|
50126
|
-
line:
|
|
50126
|
+
line: 113
|
|
50127
50127
|
},
|
|
50128
50128
|
"8": {
|
|
50129
50129
|
loc: {
|
|
50130
50130
|
start: {
|
|
50131
|
-
line:
|
|
50131
|
+
line: 117,
|
|
50132
50132
|
column: 2
|
|
50133
50133
|
},
|
|
50134
50134
|
end: {
|
|
50135
|
-
line:
|
|
50135
|
+
line: 121,
|
|
50136
50136
|
column: 3
|
|
50137
50137
|
}
|
|
50138
50138
|
},
|
|
50139
50139
|
type: "if",
|
|
50140
50140
|
locations: [{
|
|
50141
50141
|
start: {
|
|
50142
|
-
line:
|
|
50142
|
+
line: 117,
|
|
50143
50143
|
column: 2
|
|
50144
50144
|
},
|
|
50145
50145
|
end: {
|
|
50146
|
-
line:
|
|
50146
|
+
line: 121,
|
|
50147
50147
|
column: 3
|
|
50148
50148
|
}
|
|
50149
50149
|
}, {
|
|
@@ -50156,27 +50156,27 @@ function cov_2mb0ufoovu() {
|
|
|
50156
50156
|
column: undefined
|
|
50157
50157
|
}
|
|
50158
50158
|
}],
|
|
50159
|
-
line:
|
|
50159
|
+
line: 117
|
|
50160
50160
|
},
|
|
50161
50161
|
"9": {
|
|
50162
50162
|
loc: {
|
|
50163
50163
|
start: {
|
|
50164
|
-
line:
|
|
50164
|
+
line: 123,
|
|
50165
50165
|
column: 2
|
|
50166
50166
|
},
|
|
50167
50167
|
end: {
|
|
50168
|
-
line:
|
|
50168
|
+
line: 136,
|
|
50169
50169
|
column: 3
|
|
50170
50170
|
}
|
|
50171
50171
|
},
|
|
50172
50172
|
type: "if",
|
|
50173
50173
|
locations: [{
|
|
50174
50174
|
start: {
|
|
50175
|
-
line:
|
|
50175
|
+
line: 123,
|
|
50176
50176
|
column: 2
|
|
50177
50177
|
},
|
|
50178
50178
|
end: {
|
|
50179
|
-
line:
|
|
50179
|
+
line: 136,
|
|
50180
50180
|
column: 3
|
|
50181
50181
|
}
|
|
50182
50182
|
}, {
|
|
@@ -50189,40 +50189,40 @@ function cov_2mb0ufoovu() {
|
|
|
50189
50189
|
column: undefined
|
|
50190
50190
|
}
|
|
50191
50191
|
}],
|
|
50192
|
-
line:
|
|
50192
|
+
line: 123
|
|
50193
50193
|
},
|
|
50194
50194
|
"10": {
|
|
50195
50195
|
loc: {
|
|
50196
50196
|
start: {
|
|
50197
|
-
line:
|
|
50198
|
-
column:
|
|
50197
|
+
line: 124,
|
|
50198
|
+
column: 4
|
|
50199
50199
|
},
|
|
50200
50200
|
end: {
|
|
50201
|
-
line:
|
|
50202
|
-
column:
|
|
50201
|
+
line: 125,
|
|
50202
|
+
column: 49
|
|
50203
50203
|
}
|
|
50204
50204
|
},
|
|
50205
|
-
type: "
|
|
50205
|
+
type: "binary-expr",
|
|
50206
50206
|
locations: [{
|
|
50207
50207
|
start: {
|
|
50208
|
-
line:
|
|
50209
|
-
column:
|
|
50208
|
+
line: 124,
|
|
50209
|
+
column: 4
|
|
50210
50210
|
},
|
|
50211
50211
|
end: {
|
|
50212
|
-
line:
|
|
50213
|
-
column:
|
|
50212
|
+
line: 124,
|
|
50213
|
+
column: 49
|
|
50214
50214
|
}
|
|
50215
50215
|
}, {
|
|
50216
50216
|
start: {
|
|
50217
|
-
line:
|
|
50218
|
-
column:
|
|
50217
|
+
line: 125,
|
|
50218
|
+
column: 4
|
|
50219
50219
|
},
|
|
50220
50220
|
end: {
|
|
50221
|
-
line:
|
|
50222
|
-
column:
|
|
50221
|
+
line: 125,
|
|
50222
|
+
column: 49
|
|
50223
50223
|
}
|
|
50224
50224
|
}],
|
|
50225
|
-
line:
|
|
50225
|
+
line: 124
|
|
50226
50226
|
}
|
|
50227
50227
|
},
|
|
50228
50228
|
s: {
|
|
@@ -50267,7 +50267,7 @@ function cov_2mb0ufoovu() {
|
|
|
50267
50267
|
"10": [0, 0]
|
|
50268
50268
|
},
|
|
50269
50269
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
50270
|
-
hash: "
|
|
50270
|
+
hash: "5c3fbbed6a1e549abc1d3f170659daa136e88285"
|
|
50271
50271
|
};
|
|
50272
50272
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
50273
50273
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -50357,7 +50357,7 @@ var ActionSubItems = function ActionSubItems(_ref) {
|
|
|
50357
50357
|
cov_2mb0ufoovu().b[3][1]++;
|
|
50358
50358
|
}
|
|
50359
50359
|
cov_2mb0ufoovu().s[9]++;
|
|
50360
|
-
if ((
|
|
50360
|
+
if ((selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.note) {
|
|
50361
50361
|
var _action$metadata2;
|
|
50362
50362
|
cov_2mb0ufoovu().b[4][0]++;
|
|
50363
50363
|
cov_2mb0ufoovu().s[10]++;
|
|
@@ -50374,7 +50374,7 @@ var ActionSubItems = function ActionSubItems(_ref) {
|
|
|
50374
50374
|
cov_2mb0ufoovu().s[11]++;
|
|
50375
50375
|
if ((selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.list) {
|
|
50376
50376
|
var _action$metadata3;
|
|
50377
|
-
cov_2mb0ufoovu().b[
|
|
50377
|
+
cov_2mb0ufoovu().b[5][0]++;
|
|
50378
50378
|
cov_2mb0ufoovu().s[12]++;
|
|
50379
50379
|
return /*#__PURE__*/React.createElement(ListField, {
|
|
50380
50380
|
index: index,
|
|
@@ -50384,12 +50384,12 @@ var ActionSubItems = function ActionSubItems(_ref) {
|
|
|
50384
50384
|
values: (_action$metadata3 = action.metadata) === null || _action$metadata3 === void 0 ? void 0 : _action$metadata3.value
|
|
50385
50385
|
});
|
|
50386
50386
|
} else {
|
|
50387
|
-
cov_2mb0ufoovu().b[
|
|
50387
|
+
cov_2mb0ufoovu().b[5][1]++;
|
|
50388
50388
|
}
|
|
50389
50389
|
cov_2mb0ufoovu().s[13]++;
|
|
50390
50390
|
if ((selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.multiSelect) {
|
|
50391
50391
|
var _action$metadata4;
|
|
50392
|
-
cov_2mb0ufoovu().b[
|
|
50392
|
+
cov_2mb0ufoovu().b[6][0]++;
|
|
50393
50393
|
cov_2mb0ufoovu().s[14]++;
|
|
50394
50394
|
return /*#__PURE__*/React.createElement(MultiSelect$1, {
|
|
50395
50395
|
dropDownOptions: options,
|
|
@@ -50400,11 +50400,11 @@ var ActionSubItems = function ActionSubItems(_ref) {
|
|
|
50400
50400
|
values: (_action$metadata4 = action.metadata) === null || _action$metadata4 === void 0 ? void 0 : _action$metadata4.value
|
|
50401
50401
|
});
|
|
50402
50402
|
} else {
|
|
50403
|
-
cov_2mb0ufoovu().b[
|
|
50403
|
+
cov_2mb0ufoovu().b[6][1]++;
|
|
50404
50404
|
}
|
|
50405
50405
|
cov_2mb0ufoovu().s[15]++;
|
|
50406
50406
|
if (ACTION_INPUT_TYPES.includes(selectedField === null || selectedField === void 0 ? void 0 : selectedField.type)) {
|
|
50407
|
-
cov_2mb0ufoovu().b[
|
|
50407
|
+
cov_2mb0ufoovu().b[7][0]++;
|
|
50408
50408
|
cov_2mb0ufoovu().s[16]++;
|
|
50409
50409
|
return /*#__PURE__*/React.createElement(Input, {
|
|
50410
50410
|
index: index,
|
|
@@ -50412,11 +50412,11 @@ var ActionSubItems = function ActionSubItems(_ref) {
|
|
|
50412
50412
|
selectedField: selectedField
|
|
50413
50413
|
});
|
|
50414
50414
|
} else {
|
|
50415
|
-
cov_2mb0ufoovu().b[
|
|
50415
|
+
cov_2mb0ufoovu().b[7][1]++;
|
|
50416
50416
|
}
|
|
50417
50417
|
cov_2mb0ufoovu().s[17]++;
|
|
50418
50418
|
if ((selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.date) {
|
|
50419
|
-
cov_2mb0ufoovu().b[
|
|
50419
|
+
cov_2mb0ufoovu().b[8][0]++;
|
|
50420
50420
|
cov_2mb0ufoovu().s[18]++;
|
|
50421
50421
|
return /*#__PURE__*/React.createElement(DateField$1, {
|
|
50422
50422
|
index: index,
|
|
@@ -50424,12 +50424,12 @@ var ActionSubItems = function ActionSubItems(_ref) {
|
|
|
50424
50424
|
selectedField: selectedField
|
|
50425
50425
|
});
|
|
50426
50426
|
} else {
|
|
50427
|
-
cov_2mb0ufoovu().b[
|
|
50427
|
+
cov_2mb0ufoovu().b[8][1]++;
|
|
50428
50428
|
}
|
|
50429
50429
|
cov_2mb0ufoovu().s[19]++;
|
|
50430
|
-
if ((selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.longText) {
|
|
50430
|
+
if ((cov_2mb0ufoovu().b[10][0]++, (selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.longText) || (cov_2mb0ufoovu().b[10][1]++, (selectedField === null || selectedField === void 0 ? void 0 : selectedField.type) === ACTION_TYPES.textarea)) {
|
|
50431
50431
|
var _action$metadata5;
|
|
50432
|
-
cov_2mb0ufoovu().b[
|
|
50432
|
+
cov_2mb0ufoovu().b[9][0]++;
|
|
50433
50433
|
cov_2mb0ufoovu().s[20]++;
|
|
50434
50434
|
return /*#__PURE__*/React.createElement(LongTextField, {
|
|
50435
50435
|
index: index,
|
|
@@ -50439,7 +50439,7 @@ var ActionSubItems = function ActionSubItems(_ref) {
|
|
|
50439
50439
|
value: (_action$metadata5 = action.metadata) === null || _action$metadata5 === void 0 ? void 0 : _action$metadata5.value
|
|
50440
50440
|
});
|
|
50441
50441
|
} else {
|
|
50442
|
-
cov_2mb0ufoovu().b[
|
|
50442
|
+
cov_2mb0ufoovu().b[9][1]++;
|
|
50443
50443
|
}
|
|
50444
50444
|
cov_2mb0ufoovu().s[21]++;
|
|
50445
50445
|
return null;
|