@bigbinary/neeto-approvals-frontend 0.0.32 → 0.0.33
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 +636 -390
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +637 -391
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +1 -0
package/dist/index.cjs.js
CHANGED
|
@@ -4087,7 +4087,6 @@ var alerts$1 = {
|
|
|
4087
4087
|
};
|
|
4088
4088
|
var buttons$1 = {
|
|
4089
4089
|
cancel: "Cancel",
|
|
4090
|
-
proceed: "Proceed",
|
|
4091
4090
|
saveChanges: "Save changes",
|
|
4092
4091
|
approve: "Approve",
|
|
4093
4092
|
decline: "Decline"
|
|
@@ -4111,7 +4110,7 @@ var common$1 = {
|
|
|
4111
4110
|
add_: "Add {{what}}",
|
|
4112
4111
|
edit_: "Edit {{what}}",
|
|
4113
4112
|
name: "Name",
|
|
4114
|
-
notFound_: "There are no {{what}} to show
|
|
4113
|
+
notFound_: "There are no {{what}} to show",
|
|
4115
4114
|
notFound: "Could not find the approval request.",
|
|
4116
4115
|
visibility: "Visibility",
|
|
4117
4116
|
variable: "Variable",
|
|
@@ -4130,10 +4129,10 @@ var common$1 = {
|
|
|
4130
4129
|
cancelledBy: "Cancelled by",
|
|
4131
4130
|
waitingFor: "Waiting for",
|
|
4132
4131
|
templateDetails: "Template details",
|
|
4133
|
-
field: "Field"
|
|
4132
|
+
field: "Field",
|
|
4133
|
+
noDataHelpText: "Here is how you can use <a>{{entity}}.</a>"
|
|
4134
4134
|
};
|
|
4135
4135
|
var validations$1 = {
|
|
4136
|
-
enterEmail: "Please enter a valid email",
|
|
4137
4136
|
limitExceeded: "You have exceeded the limit of {{limit}} characters for the {{what}}.",
|
|
4138
4137
|
approver: "Please select a approver",
|
|
4139
4138
|
required: "{{what}} is required",
|
|
@@ -4487,6 +4486,21 @@ var routes = (cov_ntmkgtql1().s[2]++, {
|
|
|
4487
4486
|
"public": "approvals/public/request/:id"
|
|
4488
4487
|
});
|
|
4489
4488
|
|
|
4489
|
+
function _extends() {
|
|
4490
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
4491
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
4492
|
+
var source = arguments[i];
|
|
4493
|
+
for (var key in source) {
|
|
4494
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
4495
|
+
target[key] = source[key];
|
|
4496
|
+
}
|
|
4497
|
+
}
|
|
4498
|
+
}
|
|
4499
|
+
return target;
|
|
4500
|
+
};
|
|
4501
|
+
return _extends.apply(this, arguments);
|
|
4502
|
+
}
|
|
4503
|
+
|
|
4490
4504
|
function cov_20kjg9hoah() {
|
|
4491
4505
|
var path = "/home/runner/work/neeto-approvals-frontend/neeto-approvals-frontend/src/common/constants.js";
|
|
4492
4506
|
var hash = "1eb0e6bd61af1c742f2053e510ed97b54ae066e5";
|
|
@@ -7126,6 +7140,110 @@ var usePaginate = function usePaginate() {
|
|
|
7126
7140
|
};
|
|
7127
7141
|
};
|
|
7128
7142
|
|
|
7143
|
+
function cov_2lfpxvwnxy() {
|
|
7144
|
+
var path = "/home/runner/work/neeto-approvals-frontend/neeto-approvals-frontend/src/utils.jsx";
|
|
7145
|
+
var hash = "e7411ea8c98b022bf232a1a0ee7068551443833d";
|
|
7146
|
+
var global = new Function("return this")();
|
|
7147
|
+
var gcv = "__coverage__";
|
|
7148
|
+
var coverageData = {
|
|
7149
|
+
path: "/home/runner/work/neeto-approvals-frontend/neeto-approvals-frontend/src/utils.jsx",
|
|
7150
|
+
statementMap: {
|
|
7151
|
+
"0": {
|
|
7152
|
+
start: {
|
|
7153
|
+
line: 6,
|
|
7154
|
+
column: 36
|
|
7155
|
+
},
|
|
7156
|
+
end: {
|
|
7157
|
+
line: 20,
|
|
7158
|
+
column: 1
|
|
7159
|
+
}
|
|
7160
|
+
},
|
|
7161
|
+
"1": {
|
|
7162
|
+
start: {
|
|
7163
|
+
line: 7,
|
|
7164
|
+
column: 2
|
|
7165
|
+
},
|
|
7166
|
+
end: {
|
|
7167
|
+
line: 19,
|
|
7168
|
+
column: 4
|
|
7169
|
+
}
|
|
7170
|
+
}
|
|
7171
|
+
},
|
|
7172
|
+
fnMap: {
|
|
7173
|
+
"0": {
|
|
7174
|
+
name: "(anonymous_0)",
|
|
7175
|
+
decl: {
|
|
7176
|
+
start: {
|
|
7177
|
+
line: 6,
|
|
7178
|
+
column: 36
|
|
7179
|
+
},
|
|
7180
|
+
end: {
|
|
7181
|
+
line: 6,
|
|
7182
|
+
column: 37
|
|
7183
|
+
}
|
|
7184
|
+
},
|
|
7185
|
+
loc: {
|
|
7186
|
+
start: {
|
|
7187
|
+
line: 7,
|
|
7188
|
+
column: 2
|
|
7189
|
+
},
|
|
7190
|
+
end: {
|
|
7191
|
+
line: 19,
|
|
7192
|
+
column: 4
|
|
7193
|
+
}
|
|
7194
|
+
},
|
|
7195
|
+
line: 7
|
|
7196
|
+
}
|
|
7197
|
+
},
|
|
7198
|
+
branchMap: {},
|
|
7199
|
+
s: {
|
|
7200
|
+
"0": 0,
|
|
7201
|
+
"1": 0
|
|
7202
|
+
},
|
|
7203
|
+
f: {
|
|
7204
|
+
"0": 0
|
|
7205
|
+
},
|
|
7206
|
+
b: {},
|
|
7207
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
7208
|
+
hash: "e7411ea8c98b022bf232a1a0ee7068551443833d"
|
|
7209
|
+
};
|
|
7210
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
7211
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
7212
|
+
coverage[path] = coverageData;
|
|
7213
|
+
}
|
|
7214
|
+
var actualCoverage = coverage[path];
|
|
7215
|
+
{
|
|
7216
|
+
// @ts-ignore
|
|
7217
|
+
cov_2lfpxvwnxy = function () {
|
|
7218
|
+
return actualCoverage;
|
|
7219
|
+
};
|
|
7220
|
+
}
|
|
7221
|
+
return actualCoverage;
|
|
7222
|
+
}
|
|
7223
|
+
cov_2lfpxvwnxy();
|
|
7224
|
+
cov_2lfpxvwnxy().s[0]++;
|
|
7225
|
+
var renderNoDataHelpText = function renderNoDataHelpText(_ref) {
|
|
7226
|
+
var entity = _ref.entity,
|
|
7227
|
+
url = _ref.url;
|
|
7228
|
+
cov_2lfpxvwnxy().f[0]++;
|
|
7229
|
+
cov_2lfpxvwnxy().s[1]++;
|
|
7230
|
+
return /*#__PURE__*/React__default["default"].createElement(Trans, {
|
|
7231
|
+
i18nKey: "common.noDataHelpText",
|
|
7232
|
+
values: {
|
|
7233
|
+
entity: entity
|
|
7234
|
+
},
|
|
7235
|
+
components: {
|
|
7236
|
+
a: /*#__PURE__*/React__default["default"].createElement(reactRouterDom.Link, {
|
|
7237
|
+
className: "neeto-ui-text-primary-600 underline",
|
|
7238
|
+
target: "_blank",
|
|
7239
|
+
to: {
|
|
7240
|
+
pathname: url
|
|
7241
|
+
}
|
|
7242
|
+
})
|
|
7243
|
+
}
|
|
7244
|
+
});
|
|
7245
|
+
};
|
|
7246
|
+
|
|
7129
7247
|
function cov_ibhjin420() {
|
|
7130
7248
|
var path = "/home/runner/work/neeto-approvals-frontend/neeto-approvals-frontend/src/components/Approvals/Approvers/constants.js";
|
|
7131
7249
|
var hash = "2ccde0ad333e8d6b1af2f20443ee3b7916ef0426";
|
|
@@ -8614,7 +8732,7 @@ var Header$1 = /*#__PURE__*/React__default["default"].memo(Header);
|
|
|
8614
8732
|
|
|
8615
8733
|
function cov_k73dvs42g() {
|
|
8616
8734
|
var path = "/home/runner/work/neeto-approvals-frontend/neeto-approvals-frontend/src/components/Approvals/Approvers/index.jsx";
|
|
8617
|
-
var hash = "
|
|
8735
|
+
var hash = "c76dbd578cae6374ac09a57b8aa2b3f8cf76916f";
|
|
8618
8736
|
var global = new Function("return this")();
|
|
8619
8737
|
var gcv = "__coverage__";
|
|
8620
8738
|
var coverageData = {
|
|
@@ -8622,321 +8740,341 @@ function cov_k73dvs42g() {
|
|
|
8622
8740
|
statementMap: {
|
|
8623
8741
|
"0": {
|
|
8624
8742
|
start: {
|
|
8625
|
-
line:
|
|
8743
|
+
line: 30,
|
|
8626
8744
|
column: 18
|
|
8627
8745
|
},
|
|
8628
8746
|
end: {
|
|
8629
|
-
line:
|
|
8747
|
+
line: 197,
|
|
8630
8748
|
column: 1
|
|
8631
8749
|
}
|
|
8632
8750
|
},
|
|
8633
8751
|
"1": {
|
|
8634
8752
|
start: {
|
|
8635
|
-
line:
|
|
8753
|
+
line: 31,
|
|
8636
8754
|
column: 32
|
|
8637
8755
|
},
|
|
8638
8756
|
end: {
|
|
8639
|
-
line:
|
|
8757
|
+
line: 31,
|
|
8640
8758
|
column: 63
|
|
8641
8759
|
}
|
|
8642
8760
|
},
|
|
8643
8761
|
"2": {
|
|
8644
8762
|
start: {
|
|
8645
|
-
line:
|
|
8763
|
+
line: 32,
|
|
8646
8764
|
column: 60
|
|
8647
8765
|
},
|
|
8648
8766
|
end: {
|
|
8649
|
-
line:
|
|
8767
|
+
line: 32,
|
|
8650
8768
|
column: 75
|
|
8651
8769
|
}
|
|
8652
8770
|
},
|
|
8653
8771
|
"3": {
|
|
8654
8772
|
start: {
|
|
8655
|
-
line:
|
|
8773
|
+
line: 33,
|
|
8656
8774
|
column: 46
|
|
8657
8775
|
},
|
|
8658
8776
|
end: {
|
|
8659
|
-
line:
|
|
8777
|
+
line: 33,
|
|
8660
8778
|
column: 58
|
|
8661
8779
|
}
|
|
8662
8780
|
},
|
|
8663
8781
|
"4": {
|
|
8664
8782
|
start: {
|
|
8665
|
-
line:
|
|
8783
|
+
line: 34,
|
|
8666
8784
|
column: 50
|
|
8667
8785
|
},
|
|
8668
8786
|
end: {
|
|
8669
|
-
line:
|
|
8787
|
+
line: 34,
|
|
8670
8788
|
column: 62
|
|
8671
8789
|
}
|
|
8672
8790
|
},
|
|
8673
8791
|
"5": {
|
|
8674
8792
|
start: {
|
|
8675
|
-
line:
|
|
8793
|
+
line: 35,
|
|
8676
8794
|
column: 26
|
|
8677
8795
|
},
|
|
8678
8796
|
end: {
|
|
8679
|
-
line:
|
|
8797
|
+
line: 35,
|
|
8680
8798
|
column: 67
|
|
8681
8799
|
}
|
|
8682
8800
|
},
|
|
8683
8801
|
"6": {
|
|
8684
8802
|
start: {
|
|
8685
|
-
line:
|
|
8803
|
+
line: 37,
|
|
8686
8804
|
column: 52
|
|
8687
8805
|
},
|
|
8688
8806
|
end: {
|
|
8689
|
-
line:
|
|
8807
|
+
line: 37,
|
|
8690
8808
|
column: 65
|
|
8691
8809
|
}
|
|
8692
8810
|
},
|
|
8693
8811
|
"7": {
|
|
8694
8812
|
start: {
|
|
8695
|
-
line:
|
|
8813
|
+
line: 39,
|
|
8696
8814
|
column: 16
|
|
8697
8815
|
},
|
|
8698
8816
|
end: {
|
|
8699
|
-
line:
|
|
8817
|
+
line: 39,
|
|
8700
8818
|
column: 32
|
|
8701
8819
|
}
|
|
8702
8820
|
},
|
|
8703
8821
|
"8": {
|
|
8704
8822
|
start: {
|
|
8705
|
-
line:
|
|
8823
|
+
line: 44,
|
|
8706
8824
|
column: 6
|
|
8707
8825
|
},
|
|
8708
8826
|
end: {
|
|
8709
|
-
line:
|
|
8827
|
+
line: 55,
|
|
8710
8828
|
column: 3
|
|
8711
8829
|
}
|
|
8712
8830
|
},
|
|
8713
8831
|
"9": {
|
|
8714
8832
|
start: {
|
|
8715
|
-
line:
|
|
8833
|
+
line: 52,
|
|
8716
8834
|
column: 8
|
|
8717
8835
|
},
|
|
8718
8836
|
end: {
|
|
8719
|
-
line:
|
|
8837
|
+
line: 52,
|
|
8720
8838
|
column: 74
|
|
8721
8839
|
}
|
|
8722
8840
|
},
|
|
8723
8841
|
"10": {
|
|
8724
8842
|
start: {
|
|
8725
|
-
line:
|
|
8843
|
+
line: 57,
|
|
8726
8844
|
column: 60
|
|
8727
8845
|
},
|
|
8728
8846
|
end: {
|
|
8729
|
-
line:
|
|
8847
|
+
line: 57,
|
|
8730
8848
|
column: 79
|
|
8731
8849
|
}
|
|
8732
8850
|
},
|
|
8733
8851
|
"11": {
|
|
8734
8852
|
start: {
|
|
8735
|
-
line:
|
|
8853
|
+
line: 59,
|
|
8736
8854
|
column: 22
|
|
8737
8855
|
},
|
|
8738
8856
|
end: {
|
|
8739
|
-
line:
|
|
8857
|
+
line: 66,
|
|
8740
8858
|
column: 3
|
|
8741
8859
|
}
|
|
8742
8860
|
},
|
|
8743
8861
|
"12": {
|
|
8744
8862
|
start: {
|
|
8745
|
-
line:
|
|
8863
|
+
line: 60,
|
|
8746
8864
|
column: 17
|
|
8747
8865
|
},
|
|
8748
8866
|
end: {
|
|
8749
|
-
line:
|
|
8867
|
+
line: 60,
|
|
8750
8868
|
column: 41
|
|
8751
8869
|
}
|
|
8752
8870
|
},
|
|
8753
8871
|
"13": {
|
|
8754
8872
|
start: {
|
|
8755
|
-
line:
|
|
8873
|
+
line: 61,
|
|
8756
8874
|
column: 4
|
|
8757
8875
|
},
|
|
8758
8876
|
end: {
|
|
8759
|
-
line:
|
|
8877
|
+
line: 65,
|
|
8760
8878
|
column: 7
|
|
8761
8879
|
}
|
|
8762
8880
|
},
|
|
8763
8881
|
"14": {
|
|
8764
8882
|
start: {
|
|
8765
|
-
line:
|
|
8883
|
+
line: 68,
|
|
8766
8884
|
column: 24
|
|
8767
8885
|
},
|
|
8768
8886
|
end: {
|
|
8769
|
-
line:
|
|
8887
|
+
line: 70,
|
|
8770
8888
|
column: 3
|
|
8771
8889
|
}
|
|
8772
8890
|
},
|
|
8773
8891
|
"15": {
|
|
8774
8892
|
start: {
|
|
8775
|
-
line:
|
|
8893
|
+
line: 69,
|
|
8776
8894
|
column: 4
|
|
8777
8895
|
},
|
|
8778
8896
|
end: {
|
|
8779
|
-
line:
|
|
8897
|
+
line: 69,
|
|
8780
8898
|
column: 34
|
|
8781
8899
|
}
|
|
8782
8900
|
},
|
|
8783
8901
|
"16": {
|
|
8784
8902
|
start: {
|
|
8785
|
-
line:
|
|
8903
|
+
line: 72,
|
|
8786
8904
|
column: 18
|
|
8787
8905
|
},
|
|
8788
8906
|
end: {
|
|
8789
|
-
line:
|
|
8907
|
+
line: 75,
|
|
8790
8908
|
column: 4
|
|
8791
8909
|
}
|
|
8792
8910
|
},
|
|
8793
8911
|
"17": {
|
|
8794
8912
|
start: {
|
|
8795
|
-
line:
|
|
8913
|
+
line: 77,
|
|
8796
8914
|
column: 23
|
|
8797
8915
|
},
|
|
8798
8916
|
end: {
|
|
8799
|
-
line:
|
|
8917
|
+
line: 80,
|
|
8800
8918
|
column: 3
|
|
8801
8919
|
}
|
|
8802
8920
|
},
|
|
8803
8921
|
"18": {
|
|
8804
8922
|
start: {
|
|
8805
|
-
line:
|
|
8923
|
+
line: 78,
|
|
8806
8924
|
column: 4
|
|
8807
8925
|
},
|
|
8808
8926
|
end: {
|
|
8809
|
-
line:
|
|
8927
|
+
line: 78,
|
|
8810
8928
|
column: 35
|
|
8811
8929
|
}
|
|
8812
8930
|
},
|
|
8813
8931
|
"19": {
|
|
8814
8932
|
start: {
|
|
8815
|
-
line:
|
|
8933
|
+
line: 79,
|
|
8816
8934
|
column: 4
|
|
8817
8935
|
},
|
|
8818
8936
|
end: {
|
|
8819
|
-
line:
|
|
8937
|
+
line: 79,
|
|
8820
8938
|
column: 28
|
|
8821
8939
|
}
|
|
8822
8940
|
},
|
|
8823
8941
|
"20": {
|
|
8824
8942
|
start: {
|
|
8825
|
-
line:
|
|
8943
|
+
line: 82,
|
|
8826
8944
|
column: 28
|
|
8827
8945
|
},
|
|
8828
8946
|
end: {
|
|
8829
|
-
line:
|
|
8947
|
+
line: 88,
|
|
8830
8948
|
column: 3
|
|
8831
8949
|
}
|
|
8832
8950
|
},
|
|
8833
8951
|
"21": {
|
|
8834
8952
|
start: {
|
|
8835
|
-
line:
|
|
8953
|
+
line: 83,
|
|
8836
8954
|
column: 4
|
|
8837
8955
|
},
|
|
8838
8956
|
end: {
|
|
8839
|
-
line:
|
|
8957
|
+
line: 87,
|
|
8840
8958
|
column: 7
|
|
8841
8959
|
}
|
|
8842
8960
|
},
|
|
8843
8961
|
"22": {
|
|
8844
8962
|
start: {
|
|
8845
|
-
line:
|
|
8963
|
+
line: 90,
|
|
8846
8964
|
column: 22
|
|
8847
8965
|
},
|
|
8848
8966
|
end: {
|
|
8849
|
-
line:
|
|
8967
|
+
line: 97,
|
|
8850
8968
|
column: 3
|
|
8851
8969
|
}
|
|
8852
8970
|
},
|
|
8853
8971
|
"23": {
|
|
8854
8972
|
start: {
|
|
8855
|
-
line:
|
|
8973
|
+
line: 91,
|
|
8856
8974
|
column: 4
|
|
8857
8975
|
},
|
|
8858
8976
|
end: {
|
|
8859
|
-
line:
|
|
8977
|
+
line: 96,
|
|
8860
8978
|
column: 6
|
|
8861
8979
|
}
|
|
8862
8980
|
},
|
|
8863
8981
|
"24": {
|
|
8864
8982
|
start: {
|
|
8865
|
-
line:
|
|
8983
|
+
line: 95,
|
|
8866
8984
|
column: 21
|
|
8867
8985
|
},
|
|
8868
8986
|
end: {
|
|
8869
|
-
line:
|
|
8987
|
+
line: 95,
|
|
8870
8988
|
column: 51
|
|
8871
8989
|
}
|
|
8872
8990
|
},
|
|
8873
8991
|
"25": {
|
|
8874
8992
|
start: {
|
|
8875
|
-
line:
|
|
8876
|
-
column:
|
|
8993
|
+
line: 99,
|
|
8994
|
+
column: 17
|
|
8877
8995
|
},
|
|
8878
8996
|
end: {
|
|
8879
|
-
line:
|
|
8880
|
-
column:
|
|
8997
|
+
line: 99,
|
|
8998
|
+
column: 65
|
|
8881
8999
|
}
|
|
8882
9000
|
},
|
|
8883
9001
|
"26": {
|
|
8884
9002
|
start: {
|
|
8885
|
-
line:
|
|
8886
|
-
column:
|
|
9003
|
+
line: 101,
|
|
9004
|
+
column: 21
|
|
8887
9005
|
},
|
|
8888
9006
|
end: {
|
|
8889
|
-
line:
|
|
8890
|
-
column:
|
|
9007
|
+
line: 112,
|
|
9008
|
+
column: 3
|
|
8891
9009
|
}
|
|
8892
9010
|
},
|
|
8893
9011
|
"27": {
|
|
8894
9012
|
start: {
|
|
8895
9013
|
line: 106,
|
|
8896
|
-
column:
|
|
9014
|
+
column: 21
|
|
8897
9015
|
},
|
|
8898
9016
|
end: {
|
|
8899
|
-
line:
|
|
8900
|
-
column:
|
|
9017
|
+
line: 106,
|
|
9018
|
+
column: 51
|
|
8901
9019
|
}
|
|
8902
9020
|
},
|
|
8903
9021
|
"28": {
|
|
8904
9022
|
start: {
|
|
8905
|
-
line:
|
|
8906
|
-
column:
|
|
9023
|
+
line: 114,
|
|
9024
|
+
column: 2
|
|
8907
9025
|
},
|
|
8908
9026
|
end: {
|
|
8909
|
-
line:
|
|
8910
|
-
column:
|
|
9027
|
+
line: 120,
|
|
9028
|
+
column: 3
|
|
8911
9029
|
}
|
|
8912
9030
|
},
|
|
8913
9031
|
"29": {
|
|
8914
9032
|
start: {
|
|
8915
|
-
line:
|
|
8916
|
-
column:
|
|
9033
|
+
line: 115,
|
|
9034
|
+
column: 4
|
|
8917
9035
|
},
|
|
8918
9036
|
end: {
|
|
8919
|
-
line:
|
|
8920
|
-
column:
|
|
9037
|
+
line: 119,
|
|
9038
|
+
column: 6
|
|
8921
9039
|
}
|
|
8922
9040
|
},
|
|
8923
9041
|
"30": {
|
|
8924
9042
|
start: {
|
|
8925
|
-
line:
|
|
9043
|
+
line: 122,
|
|
9044
|
+
column: 2
|
|
9045
|
+
},
|
|
9046
|
+
end: {
|
|
9047
|
+
line: 196,
|
|
9048
|
+
column: 4
|
|
9049
|
+
}
|
|
9050
|
+
},
|
|
9051
|
+
"31": {
|
|
9052
|
+
start: {
|
|
9053
|
+
line: 153,
|
|
9054
|
+
column: 14
|
|
9055
|
+
},
|
|
9056
|
+
end: {
|
|
9057
|
+
line: 153,
|
|
9058
|
+
column: 48
|
|
9059
|
+
}
|
|
9060
|
+
},
|
|
9061
|
+
"32": {
|
|
9062
|
+
start: {
|
|
9063
|
+
line: 192,
|
|
8926
9064
|
column: 23
|
|
8927
9065
|
},
|
|
8928
9066
|
end: {
|
|
8929
|
-
line:
|
|
9067
|
+
line: 192,
|
|
8930
9068
|
column: 46
|
|
8931
9069
|
}
|
|
8932
9070
|
},
|
|
8933
|
-
"
|
|
9071
|
+
"33": {
|
|
8934
9072
|
start: {
|
|
8935
|
-
line:
|
|
9073
|
+
line: 193,
|
|
8936
9074
|
column: 24
|
|
8937
9075
|
},
|
|
8938
9076
|
end: {
|
|
8939
|
-
line:
|
|
9077
|
+
line: 193,
|
|
8940
9078
|
column: 58
|
|
8941
9079
|
}
|
|
8942
9080
|
}
|
|
@@ -8946,383 +9084,383 @@ function cov_k73dvs42g() {
|
|
|
8946
9084
|
name: "(anonymous_0)",
|
|
8947
9085
|
decl: {
|
|
8948
9086
|
start: {
|
|
8949
|
-
line:
|
|
9087
|
+
line: 30,
|
|
8950
9088
|
column: 18
|
|
8951
9089
|
},
|
|
8952
9090
|
end: {
|
|
8953
|
-
line:
|
|
9091
|
+
line: 30,
|
|
8954
9092
|
column: 19
|
|
8955
9093
|
}
|
|
8956
9094
|
},
|
|
8957
9095
|
loc: {
|
|
8958
9096
|
start: {
|
|
8959
|
-
line:
|
|
8960
|
-
column:
|
|
9097
|
+
line: 30,
|
|
9098
|
+
column: 56
|
|
8961
9099
|
},
|
|
8962
9100
|
end: {
|
|
8963
|
-
line:
|
|
9101
|
+
line: 197,
|
|
8964
9102
|
column: 1
|
|
8965
9103
|
}
|
|
8966
9104
|
},
|
|
8967
|
-
line:
|
|
9105
|
+
line: 30
|
|
8968
9106
|
},
|
|
8969
9107
|
"1": {
|
|
8970
9108
|
name: "(anonymous_1)",
|
|
8971
9109
|
decl: {
|
|
8972
9110
|
start: {
|
|
8973
|
-
line:
|
|
9111
|
+
line: 51,
|
|
8974
9112
|
column: 17
|
|
8975
9113
|
},
|
|
8976
9114
|
end: {
|
|
8977
|
-
line:
|
|
9115
|
+
line: 51,
|
|
8978
9116
|
column: 18
|
|
8979
9117
|
}
|
|
8980
9118
|
},
|
|
8981
9119
|
loc: {
|
|
8982
9120
|
start: {
|
|
8983
|
-
line:
|
|
9121
|
+
line: 51,
|
|
8984
9122
|
column: 30
|
|
8985
9123
|
},
|
|
8986
9124
|
end: {
|
|
8987
|
-
line:
|
|
9125
|
+
line: 53,
|
|
8988
9126
|
column: 7
|
|
8989
9127
|
}
|
|
8990
9128
|
},
|
|
8991
|
-
line:
|
|
9129
|
+
line: 51
|
|
8992
9130
|
},
|
|
8993
9131
|
"2": {
|
|
8994
9132
|
name: "(anonymous_2)",
|
|
8995
9133
|
decl: {
|
|
8996
9134
|
start: {
|
|
8997
|
-
line:
|
|
9135
|
+
line: 59,
|
|
8998
9136
|
column: 22
|
|
8999
9137
|
},
|
|
9000
9138
|
end: {
|
|
9001
|
-
line:
|
|
9139
|
+
line: 59,
|
|
9002
9140
|
column: 23
|
|
9003
9141
|
}
|
|
9004
9142
|
},
|
|
9005
9143
|
loc: {
|
|
9006
9144
|
start: {
|
|
9007
|
-
line:
|
|
9145
|
+
line: 59,
|
|
9008
9146
|
column: 34
|
|
9009
9147
|
},
|
|
9010
9148
|
end: {
|
|
9011
|
-
line:
|
|
9149
|
+
line: 66,
|
|
9012
9150
|
column: 3
|
|
9013
9151
|
}
|
|
9014
9152
|
},
|
|
9015
|
-
line:
|
|
9153
|
+
line: 59
|
|
9016
9154
|
},
|
|
9017
9155
|
"3": {
|
|
9018
9156
|
name: "(anonymous_3)",
|
|
9019
9157
|
decl: {
|
|
9020
9158
|
start: {
|
|
9021
|
-
line:
|
|
9159
|
+
line: 68,
|
|
9022
9160
|
column: 24
|
|
9023
9161
|
},
|
|
9024
9162
|
end: {
|
|
9025
|
-
line:
|
|
9163
|
+
line: 68,
|
|
9026
9164
|
column: 25
|
|
9027
9165
|
}
|
|
9028
9166
|
},
|
|
9029
9167
|
loc: {
|
|
9030
9168
|
start: {
|
|
9031
|
-
line:
|
|
9169
|
+
line: 68,
|
|
9032
9170
|
column: 36
|
|
9033
9171
|
},
|
|
9034
9172
|
end: {
|
|
9035
|
-
line:
|
|
9173
|
+
line: 70,
|
|
9036
9174
|
column: 3
|
|
9037
9175
|
}
|
|
9038
9176
|
},
|
|
9039
|
-
line:
|
|
9177
|
+
line: 68
|
|
9040
9178
|
},
|
|
9041
9179
|
"4": {
|
|
9042
9180
|
name: "(anonymous_4)",
|
|
9043
9181
|
decl: {
|
|
9044
9182
|
start: {
|
|
9045
|
-
line:
|
|
9183
|
+
line: 77,
|
|
9046
9184
|
column: 23
|
|
9047
9185
|
},
|
|
9048
9186
|
end: {
|
|
9049
|
-
line:
|
|
9187
|
+
line: 77,
|
|
9050
9188
|
column: 24
|
|
9051
9189
|
}
|
|
9052
9190
|
},
|
|
9053
9191
|
loc: {
|
|
9054
9192
|
start: {
|
|
9055
|
-
line:
|
|
9193
|
+
line: 77,
|
|
9056
9194
|
column: 37
|
|
9057
9195
|
},
|
|
9058
9196
|
end: {
|
|
9059
|
-
line:
|
|
9197
|
+
line: 80,
|
|
9060
9198
|
column: 3
|
|
9061
9199
|
}
|
|
9062
9200
|
},
|
|
9063
|
-
line:
|
|
9201
|
+
line: 77
|
|
9064
9202
|
},
|
|
9065
9203
|
"5": {
|
|
9066
9204
|
name: "(anonymous_5)",
|
|
9067
9205
|
decl: {
|
|
9068
9206
|
start: {
|
|
9069
|
-
line:
|
|
9207
|
+
line: 82,
|
|
9070
9208
|
column: 28
|
|
9071
9209
|
},
|
|
9072
9210
|
end: {
|
|
9073
|
-
line:
|
|
9211
|
+
line: 82,
|
|
9074
9212
|
column: 29
|
|
9075
9213
|
}
|
|
9076
9214
|
},
|
|
9077
9215
|
loc: {
|
|
9078
9216
|
start: {
|
|
9079
|
-
line:
|
|
9217
|
+
line: 82,
|
|
9080
9218
|
column: 47
|
|
9081
9219
|
},
|
|
9082
9220
|
end: {
|
|
9083
|
-
line:
|
|
9221
|
+
line: 88,
|
|
9084
9222
|
column: 3
|
|
9085
9223
|
}
|
|
9086
9224
|
},
|
|
9087
|
-
line:
|
|
9225
|
+
line: 82
|
|
9088
9226
|
},
|
|
9089
9227
|
"6": {
|
|
9090
9228
|
name: "(anonymous_6)",
|
|
9091
9229
|
decl: {
|
|
9092
9230
|
start: {
|
|
9093
|
-
line:
|
|
9231
|
+
line: 90,
|
|
9094
9232
|
column: 22
|
|
9095
9233
|
},
|
|
9096
9234
|
end: {
|
|
9097
|
-
line:
|
|
9235
|
+
line: 90,
|
|
9098
9236
|
column: 23
|
|
9099
9237
|
}
|
|
9100
9238
|
},
|
|
9101
9239
|
loc: {
|
|
9102
9240
|
start: {
|
|
9103
|
-
line:
|
|
9241
|
+
line: 91,
|
|
9104
9242
|
column: 4
|
|
9105
9243
|
},
|
|
9106
9244
|
end: {
|
|
9107
|
-
line:
|
|
9245
|
+
line: 96,
|
|
9108
9246
|
column: 6
|
|
9109
9247
|
}
|
|
9110
9248
|
},
|
|
9111
|
-
line:
|
|
9249
|
+
line: 91
|
|
9112
9250
|
},
|
|
9113
9251
|
"7": {
|
|
9114
9252
|
name: "(anonymous_7)",
|
|
9115
9253
|
decl: {
|
|
9116
9254
|
start: {
|
|
9117
|
-
line:
|
|
9255
|
+
line: 95,
|
|
9118
9256
|
column: 15
|
|
9119
9257
|
},
|
|
9120
9258
|
end: {
|
|
9121
|
-
line:
|
|
9259
|
+
line: 95,
|
|
9122
9260
|
column: 16
|
|
9123
9261
|
}
|
|
9124
9262
|
},
|
|
9125
9263
|
loc: {
|
|
9126
9264
|
start: {
|
|
9127
|
-
line:
|
|
9265
|
+
line: 95,
|
|
9128
9266
|
column: 21
|
|
9129
9267
|
},
|
|
9130
9268
|
end: {
|
|
9131
|
-
line:
|
|
9269
|
+
line: 95,
|
|
9132
9270
|
column: 51
|
|
9133
9271
|
}
|
|
9134
9272
|
},
|
|
9135
|
-
line:
|
|
9273
|
+
line: 95
|
|
9136
9274
|
},
|
|
9137
9275
|
"8": {
|
|
9138
9276
|
name: "(anonymous_8)",
|
|
9139
9277
|
decl: {
|
|
9140
9278
|
start: {
|
|
9141
|
-
line:
|
|
9142
|
-
column:
|
|
9279
|
+
line: 106,
|
|
9280
|
+
column: 15
|
|
9143
9281
|
},
|
|
9144
9282
|
end: {
|
|
9145
|
-
line:
|
|
9146
|
-
column:
|
|
9283
|
+
line: 106,
|
|
9284
|
+
column: 16
|
|
9147
9285
|
}
|
|
9148
9286
|
},
|
|
9149
9287
|
loc: {
|
|
9150
9288
|
start: {
|
|
9151
|
-
line:
|
|
9152
|
-
column:
|
|
9289
|
+
line: 106,
|
|
9290
|
+
column: 21
|
|
9153
9291
|
},
|
|
9154
9292
|
end: {
|
|
9155
|
-
line:
|
|
9156
|
-
column:
|
|
9293
|
+
line: 106,
|
|
9294
|
+
column: 51
|
|
9157
9295
|
}
|
|
9158
9296
|
},
|
|
9159
|
-
line:
|
|
9297
|
+
line: 106
|
|
9160
9298
|
},
|
|
9161
9299
|
"9": {
|
|
9162
9300
|
name: "(anonymous_9)",
|
|
9163
9301
|
decl: {
|
|
9164
9302
|
start: {
|
|
9165
9303
|
line: 152,
|
|
9166
|
-
column:
|
|
9304
|
+
column: 30
|
|
9167
9305
|
},
|
|
9168
9306
|
end: {
|
|
9169
9307
|
line: 152,
|
|
9170
|
-
column:
|
|
9308
|
+
column: 31
|
|
9171
9309
|
}
|
|
9172
9310
|
},
|
|
9173
9311
|
loc: {
|
|
9174
9312
|
start: {
|
|
9175
|
-
line:
|
|
9176
|
-
column:
|
|
9313
|
+
line: 153,
|
|
9314
|
+
column: 14
|
|
9177
9315
|
},
|
|
9178
9316
|
end: {
|
|
9179
|
-
line:
|
|
9180
|
-
column:
|
|
9317
|
+
line: 153,
|
|
9318
|
+
column: 48
|
|
9181
9319
|
}
|
|
9182
9320
|
},
|
|
9183
|
-
line:
|
|
9321
|
+
line: 153
|
|
9184
9322
|
},
|
|
9185
9323
|
"10": {
|
|
9186
9324
|
name: "(anonymous_10)",
|
|
9187
9325
|
decl: {
|
|
9188
9326
|
start: {
|
|
9189
|
-
line:
|
|
9327
|
+
line: 192,
|
|
9190
9328
|
column: 17
|
|
9191
9329
|
},
|
|
9192
9330
|
end: {
|
|
9193
|
-
line:
|
|
9331
|
+
line: 192,
|
|
9194
9332
|
column: 18
|
|
9195
9333
|
}
|
|
9196
9334
|
},
|
|
9197
9335
|
loc: {
|
|
9198
9336
|
start: {
|
|
9199
|
-
line:
|
|
9337
|
+
line: 192,
|
|
9200
9338
|
column: 23
|
|
9201
9339
|
},
|
|
9202
9340
|
end: {
|
|
9203
|
-
line:
|
|
9341
|
+
line: 192,
|
|
9204
9342
|
column: 46
|
|
9205
9343
|
}
|
|
9206
9344
|
},
|
|
9207
|
-
line:
|
|
9345
|
+
line: 192
|
|
9208
9346
|
},
|
|
9209
9347
|
"11": {
|
|
9210
9348
|
name: "(anonymous_11)",
|
|
9211
9349
|
decl: {
|
|
9212
9350
|
start: {
|
|
9213
|
-
line:
|
|
9351
|
+
line: 193,
|
|
9214
9352
|
column: 18
|
|
9215
9353
|
},
|
|
9216
9354
|
end: {
|
|
9217
|
-
line:
|
|
9355
|
+
line: 193,
|
|
9218
9356
|
column: 19
|
|
9219
9357
|
}
|
|
9220
9358
|
},
|
|
9221
9359
|
loc: {
|
|
9222
9360
|
start: {
|
|
9223
|
-
line:
|
|
9361
|
+
line: 193,
|
|
9224
9362
|
column: 24
|
|
9225
9363
|
},
|
|
9226
9364
|
end: {
|
|
9227
|
-
line:
|
|
9365
|
+
line: 193,
|
|
9228
9366
|
column: 58
|
|
9229
9367
|
}
|
|
9230
9368
|
},
|
|
9231
|
-
line:
|
|
9369
|
+
line: 193
|
|
9232
9370
|
}
|
|
9233
9371
|
},
|
|
9234
9372
|
branchMap: {
|
|
9235
9373
|
"0": {
|
|
9236
9374
|
loc: {
|
|
9237
9375
|
start: {
|
|
9238
|
-
line:
|
|
9376
|
+
line: 42,
|
|
9239
9377
|
column: 10
|
|
9240
9378
|
},
|
|
9241
9379
|
end: {
|
|
9242
|
-
line:
|
|
9380
|
+
line: 42,
|
|
9243
9381
|
column: 49
|
|
9244
9382
|
}
|
|
9245
9383
|
},
|
|
9246
9384
|
type: "default-arg",
|
|
9247
9385
|
locations: [{
|
|
9248
9386
|
start: {
|
|
9249
|
-
line:
|
|
9387
|
+
line: 42,
|
|
9250
9388
|
column: 47
|
|
9251
9389
|
},
|
|
9252
9390
|
end: {
|
|
9253
|
-
line:
|
|
9391
|
+
line: 42,
|
|
9254
9392
|
column: 49
|
|
9255
9393
|
}
|
|
9256
9394
|
}],
|
|
9257
|
-
line:
|
|
9395
|
+
line: 42
|
|
9258
9396
|
},
|
|
9259
9397
|
"1": {
|
|
9260
9398
|
loc: {
|
|
9261
9399
|
start: {
|
|
9262
|
-
line:
|
|
9400
|
+
line: 42,
|
|
9263
9401
|
column: 12
|
|
9264
9402
|
},
|
|
9265
9403
|
end: {
|
|
9266
|
-
line:
|
|
9404
|
+
line: 42,
|
|
9267
9405
|
column: 26
|
|
9268
9406
|
}
|
|
9269
9407
|
},
|
|
9270
9408
|
type: "default-arg",
|
|
9271
9409
|
locations: [{
|
|
9272
9410
|
start: {
|
|
9273
|
-
line:
|
|
9411
|
+
line: 42,
|
|
9274
9412
|
column: 24
|
|
9275
9413
|
},
|
|
9276
9414
|
end: {
|
|
9277
|
-
line:
|
|
9415
|
+
line: 42,
|
|
9278
9416
|
column: 26
|
|
9279
9417
|
}
|
|
9280
9418
|
}],
|
|
9281
|
-
line:
|
|
9419
|
+
line: 42
|
|
9282
9420
|
},
|
|
9283
9421
|
"2": {
|
|
9284
9422
|
loc: {
|
|
9285
9423
|
start: {
|
|
9286
|
-
line:
|
|
9424
|
+
line: 42,
|
|
9287
9425
|
column: 28
|
|
9288
9426
|
},
|
|
9289
9427
|
end: {
|
|
9290
|
-
line:
|
|
9428
|
+
line: 42,
|
|
9291
9429
|
column: 42
|
|
9292
9430
|
}
|
|
9293
9431
|
},
|
|
9294
9432
|
type: "default-arg",
|
|
9295
9433
|
locations: [{
|
|
9296
9434
|
start: {
|
|
9297
|
-
line:
|
|
9435
|
+
line: 42,
|
|
9298
9436
|
column: 41
|
|
9299
9437
|
},
|
|
9300
9438
|
end: {
|
|
9301
|
-
line:
|
|
9439
|
+
line: 42,
|
|
9302
9440
|
column: 42
|
|
9303
9441
|
}
|
|
9304
9442
|
}],
|
|
9305
|
-
line:
|
|
9443
|
+
line: 42
|
|
9306
9444
|
},
|
|
9307
9445
|
"3": {
|
|
9308
9446
|
loc: {
|
|
9309
9447
|
start: {
|
|
9310
|
-
line:
|
|
9448
|
+
line: 114,
|
|
9311
9449
|
column: 2
|
|
9312
9450
|
},
|
|
9313
9451
|
end: {
|
|
9314
|
-
line:
|
|
9452
|
+
line: 120,
|
|
9315
9453
|
column: 3
|
|
9316
9454
|
}
|
|
9317
9455
|
},
|
|
9318
9456
|
type: "if",
|
|
9319
9457
|
locations: [{
|
|
9320
9458
|
start: {
|
|
9321
|
-
line:
|
|
9459
|
+
line: 114,
|
|
9322
9460
|
column: 2
|
|
9323
9461
|
},
|
|
9324
9462
|
end: {
|
|
9325
|
-
line:
|
|
9463
|
+
line: 120,
|
|
9326
9464
|
column: 3
|
|
9327
9465
|
}
|
|
9328
9466
|
}, {
|
|
@@ -9335,73 +9473,106 @@ function cov_k73dvs42g() {
|
|
|
9335
9473
|
column: undefined
|
|
9336
9474
|
}
|
|
9337
9475
|
}],
|
|
9338
|
-
line:
|
|
9476
|
+
line: 114
|
|
9339
9477
|
},
|
|
9340
9478
|
"4": {
|
|
9341
9479
|
loc: {
|
|
9342
9480
|
start: {
|
|
9343
|
-
line:
|
|
9481
|
+
line: 134,
|
|
9344
9482
|
column: 10
|
|
9345
9483
|
},
|
|
9346
9484
|
end: {
|
|
9347
|
-
line:
|
|
9485
|
+
line: 139,
|
|
9348
9486
|
column: 11
|
|
9349
9487
|
}
|
|
9350
9488
|
},
|
|
9351
9489
|
type: "binary-expr",
|
|
9352
9490
|
locations: [{
|
|
9353
9491
|
start: {
|
|
9354
|
-
line:
|
|
9492
|
+
line: 134,
|
|
9355
9493
|
column: 10
|
|
9356
9494
|
},
|
|
9357
9495
|
end: {
|
|
9358
|
-
line:
|
|
9496
|
+
line: 134,
|
|
9359
9497
|
column: 22
|
|
9360
9498
|
}
|
|
9361
9499
|
}, {
|
|
9362
9500
|
start: {
|
|
9363
|
-
line:
|
|
9501
|
+
line: 135,
|
|
9364
9502
|
column: 12
|
|
9365
9503
|
},
|
|
9366
9504
|
end: {
|
|
9367
|
-
line:
|
|
9505
|
+
line: 138,
|
|
9368
9506
|
column: 25
|
|
9369
9507
|
}
|
|
9370
9508
|
}],
|
|
9371
|
-
line:
|
|
9509
|
+
line: 134
|
|
9372
9510
|
},
|
|
9373
9511
|
"5": {
|
|
9374
9512
|
loc: {
|
|
9375
9513
|
start: {
|
|
9376
|
-
line:
|
|
9514
|
+
line: 142,
|
|
9377
9515
|
column: 7
|
|
9378
9516
|
},
|
|
9379
9517
|
end: {
|
|
9380
|
-
line:
|
|
9518
|
+
line: 168,
|
|
9381
9519
|
column: 7
|
|
9382
9520
|
}
|
|
9383
9521
|
},
|
|
9384
9522
|
type: "cond-expr",
|
|
9385
9523
|
locations: [{
|
|
9386
9524
|
start: {
|
|
9387
|
-
line:
|
|
9525
|
+
line: 143,
|
|
9388
9526
|
column: 8
|
|
9389
9527
|
},
|
|
9390
9528
|
end: {
|
|
9391
|
-
line:
|
|
9529
|
+
line: 160,
|
|
9392
9530
|
column: 14
|
|
9393
9531
|
}
|
|
9394
9532
|
}, {
|
|
9395
9533
|
start: {
|
|
9396
|
-
line:
|
|
9534
|
+
line: 162,
|
|
9397
9535
|
column: 8
|
|
9398
9536
|
},
|
|
9399
9537
|
end: {
|
|
9400
|
-
line:
|
|
9538
|
+
line: 167,
|
|
9401
9539
|
column: 14
|
|
9402
9540
|
}
|
|
9403
9541
|
}],
|
|
9404
|
-
line:
|
|
9542
|
+
line: 142
|
|
9543
|
+
},
|
|
9544
|
+
"6": {
|
|
9545
|
+
loc: {
|
|
9546
|
+
start: {
|
|
9547
|
+
line: 165,
|
|
9548
|
+
column: 17
|
|
9549
|
+
},
|
|
9550
|
+
end: {
|
|
9551
|
+
line: 165,
|
|
9552
|
+
column: 46
|
|
9553
|
+
}
|
|
9554
|
+
},
|
|
9555
|
+
type: "binary-expr",
|
|
9556
|
+
locations: [{
|
|
9557
|
+
start: {
|
|
9558
|
+
line: 165,
|
|
9559
|
+
column: 17
|
|
9560
|
+
},
|
|
9561
|
+
end: {
|
|
9562
|
+
line: 165,
|
|
9563
|
+
column: 32
|
|
9564
|
+
}
|
|
9565
|
+
}, {
|
|
9566
|
+
start: {
|
|
9567
|
+
line: 165,
|
|
9568
|
+
column: 36
|
|
9569
|
+
},
|
|
9570
|
+
end: {
|
|
9571
|
+
line: 165,
|
|
9572
|
+
column: 46
|
|
9573
|
+
}
|
|
9574
|
+
}],
|
|
9575
|
+
line: 165
|
|
9405
9576
|
}
|
|
9406
9577
|
},
|
|
9407
9578
|
s: {
|
|
@@ -9436,7 +9607,9 @@ function cov_k73dvs42g() {
|
|
|
9436
9607
|
"28": 0,
|
|
9437
9608
|
"29": 0,
|
|
9438
9609
|
"30": 0,
|
|
9439
|
-
"31": 0
|
|
9610
|
+
"31": 0,
|
|
9611
|
+
"32": 0,
|
|
9612
|
+
"33": 0
|
|
9440
9613
|
},
|
|
9441
9614
|
f: {
|
|
9442
9615
|
"0": 0,
|
|
@@ -9458,10 +9631,11 @@ function cov_k73dvs42g() {
|
|
|
9458
9631
|
"2": [0],
|
|
9459
9632
|
"3": [0, 0],
|
|
9460
9633
|
"4": [0, 0],
|
|
9461
|
-
"5": [0, 0]
|
|
9634
|
+
"5": [0, 0],
|
|
9635
|
+
"6": [0, 0]
|
|
9462
9636
|
},
|
|
9463
9637
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
9464
|
-
hash: "
|
|
9638
|
+
hash: "c76dbd578cae6374ac09a57b8aa2b3f8cf76916f"
|
|
9465
9639
|
};
|
|
9466
9640
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
9467
9641
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -9481,7 +9655,8 @@ function ownKeys$a(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
9481
9655
|
function _objectSpread$a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$a(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9482
9656
|
cov_k73dvs42g().s[0]++;
|
|
9483
9657
|
var Approvers = function Approvers(_ref) {
|
|
9484
|
-
var setIsMenubarOpen = _ref.setIsMenubarOpen
|
|
9658
|
+
var setIsMenubarOpen = _ref.setIsMenubarOpen,
|
|
9659
|
+
helpDocUrl = _ref.helpDocUrl;
|
|
9485
9660
|
cov_k73dvs42g().f[0]++;
|
|
9486
9661
|
var _ref2 = (cov_k73dvs42g().s[1]++, React.useState(DEFAULT_FILTER_VALUES)),
|
|
9487
9662
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
@@ -9578,17 +9753,34 @@ var Approvers = function Approvers(_ref) {
|
|
|
9578
9753
|
}
|
|
9579
9754
|
});
|
|
9580
9755
|
};
|
|
9581
|
-
cov_k73dvs42g().s[25]
|
|
9756
|
+
var entity = (cov_k73dvs42g().s[25]++, t("common.approver", PLURAL).toLocaleLowerCase());
|
|
9757
|
+
var otherProps = (cov_k73dvs42g().s[26]++, {
|
|
9758
|
+
primaryButtonProps: {
|
|
9759
|
+
label: t("common.add_", {
|
|
9760
|
+
what: t("common.approver", SINGULAR).toLocaleLowerCase()
|
|
9761
|
+
}),
|
|
9762
|
+
onClick: function onClick() {
|
|
9763
|
+
cov_k73dvs42g().f[8]++;
|
|
9764
|
+
cov_k73dvs42g().s[27]++;
|
|
9765
|
+
return setIsNewApproverPaneOpen(true);
|
|
9766
|
+
}
|
|
9767
|
+
},
|
|
9768
|
+
helpText: renderNoDataHelpText({
|
|
9769
|
+
entity: entity,
|
|
9770
|
+
url: helpDocUrl
|
|
9771
|
+
})
|
|
9772
|
+
});
|
|
9773
|
+
cov_k73dvs42g().s[28]++;
|
|
9582
9774
|
if (isApproverLoading) {
|
|
9583
9775
|
cov_k73dvs42g().b[3][0]++;
|
|
9584
|
-
cov_k73dvs42g().s[
|
|
9776
|
+
cov_k73dvs42g().s[29]++;
|
|
9585
9777
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9586
9778
|
className: "neeto-approvals-page-loader"
|
|
9587
9779
|
}, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null));
|
|
9588
9780
|
} else {
|
|
9589
9781
|
cov_k73dvs42g().b[3][1]++;
|
|
9590
9782
|
}
|
|
9591
|
-
cov_k73dvs42g().s[
|
|
9783
|
+
cov_k73dvs42g().s[30]++;
|
|
9592
9784
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Header$1, {
|
|
9593
9785
|
actionBlock: /*#__PURE__*/React__default["default"].createElement(ActionBlock, null),
|
|
9594
9786
|
filters: filters,
|
|
@@ -9614,8 +9806,8 @@ var Approvers = function Approvers(_ref) {
|
|
|
9614
9806
|
rowData: approvers,
|
|
9615
9807
|
totalCount: totalCount,
|
|
9616
9808
|
handlePageChange: function handlePageChange(index, size) {
|
|
9617
|
-
cov_k73dvs42g().f[
|
|
9618
|
-
cov_k73dvs42g().s[
|
|
9809
|
+
cov_k73dvs42g().f[9]++;
|
|
9810
|
+
cov_k73dvs42g().s[31]++;
|
|
9619
9811
|
return handleTablePagination(index, size);
|
|
9620
9812
|
},
|
|
9621
9813
|
paginationProps: {
|
|
@@ -9624,21 +9816,11 @@ var Approvers = function Approvers(_ref) {
|
|
|
9624
9816
|
onChange: handleTableChange
|
|
9625
9817
|
}))) : (cov_k73dvs42g().b[5][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9626
9818
|
className: "flex h-full w-full flex-grow items-center justify-center"
|
|
9627
|
-
}, /*#__PURE__*/React__default["default"].createElement(neetoui.NoData, {
|
|
9628
|
-
primaryButtonProps: {
|
|
9629
|
-
label: t("common.add_", {
|
|
9630
|
-
what: t("common.approver", SINGULAR).toLocaleLowerCase()
|
|
9631
|
-
}),
|
|
9632
|
-
onClick: function onClick() {
|
|
9633
|
-
cov_k73dvs42g().f[9]++;
|
|
9634
|
-
cov_k73dvs42g().s[29]++;
|
|
9635
|
-
return setIsNewApproverPaneOpen(true);
|
|
9636
|
-
}
|
|
9637
|
-
},
|
|
9819
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.NoData, _extends({
|
|
9638
9820
|
title: t("common.notFound_", {
|
|
9639
|
-
what:
|
|
9821
|
+
what: entity
|
|
9640
9822
|
})
|
|
9641
|
-
}))), /*#__PURE__*/React__default["default"].createElement(Create$2, {
|
|
9823
|
+
}, (cov_k73dvs42g().b[6][0]++, !filters.search) && (cov_k73dvs42g().b[6][1]++, otherProps))))), /*#__PURE__*/React__default["default"].createElement(Create$2, {
|
|
9642
9824
|
handleTablePagination: handleTablePagination,
|
|
9643
9825
|
isNewApproverPaneOpen: isNewApproverPaneOpen,
|
|
9644
9826
|
pageProperties: pageProperties,
|
|
@@ -9662,12 +9844,12 @@ var Approvers = function Approvers(_ref) {
|
|
|
9662
9844
|
}),
|
|
9663
9845
|
onClose: function onClose() {
|
|
9664
9846
|
cov_k73dvs42g().f[10]++;
|
|
9665
|
-
cov_k73dvs42g().s[
|
|
9847
|
+
cov_k73dvs42g().s[32]++;
|
|
9666
9848
|
return setApproverToDelete("");
|
|
9667
9849
|
},
|
|
9668
9850
|
onSubmit: function onSubmit() {
|
|
9669
9851
|
cov_k73dvs42g().f[11]++;
|
|
9670
|
-
cov_k73dvs42g().s[
|
|
9852
|
+
cov_k73dvs42g().s[33]++;
|
|
9671
9853
|
return handleDelete(approverToDelete === null || approverToDelete === void 0 ? void 0 : approverToDelete.id);
|
|
9672
9854
|
}
|
|
9673
9855
|
}));
|
|
@@ -15162,7 +15344,7 @@ var columnData = function columnData(_ref2) {
|
|
|
15162
15344
|
|
|
15163
15345
|
function cov_1poe88m6n4() {
|
|
15164
15346
|
var path = "/home/runner/work/neeto-approvals-frontend/neeto-approvals-frontend/src/components/Approvals/Templates/index.jsx";
|
|
15165
|
-
var hash = "
|
|
15347
|
+
var hash = "dd574d948c99ad618212d3826bd15f31057f480b";
|
|
15166
15348
|
var global = new Function("return this")();
|
|
15167
15349
|
var gcv = "__coverage__";
|
|
15168
15350
|
var coverageData = {
|
|
@@ -15170,311 +15352,331 @@ function cov_1poe88m6n4() {
|
|
|
15170
15352
|
statementMap: {
|
|
15171
15353
|
"0": {
|
|
15172
15354
|
start: {
|
|
15173
|
-
line:
|
|
15355
|
+
line: 32,
|
|
15174
15356
|
column: 18
|
|
15175
15357
|
},
|
|
15176
15358
|
end: {
|
|
15177
|
-
line:
|
|
15359
|
+
line: 196,
|
|
15178
15360
|
column: 1
|
|
15179
15361
|
}
|
|
15180
15362
|
},
|
|
15181
15363
|
"1": {
|
|
15182
15364
|
start: {
|
|
15183
|
-
line:
|
|
15365
|
+
line: 33,
|
|
15184
15366
|
column: 32
|
|
15185
15367
|
},
|
|
15186
15368
|
end: {
|
|
15187
|
-
line:
|
|
15369
|
+
line: 33,
|
|
15188
15370
|
column: 63
|
|
15189
15371
|
}
|
|
15190
15372
|
},
|
|
15191
15373
|
"2": {
|
|
15192
15374
|
start: {
|
|
15193
|
-
line:
|
|
15375
|
+
line: 34,
|
|
15194
15376
|
column: 50
|
|
15195
15377
|
},
|
|
15196
15378
|
end: {
|
|
15197
|
-
line:
|
|
15379
|
+
line: 34,
|
|
15198
15380
|
column: 62
|
|
15199
15381
|
}
|
|
15200
15382
|
},
|
|
15201
15383
|
"3": {
|
|
15202
15384
|
start: {
|
|
15203
|
-
line:
|
|
15385
|
+
line: 35,
|
|
15204
15386
|
column: 48
|
|
15205
15387
|
},
|
|
15206
15388
|
end: {
|
|
15207
|
-
line:
|
|
15389
|
+
line: 35,
|
|
15208
15390
|
column: 60
|
|
15209
15391
|
}
|
|
15210
15392
|
},
|
|
15211
15393
|
"4": {
|
|
15212
15394
|
start: {
|
|
15213
|
-
line:
|
|
15395
|
+
line: 36,
|
|
15214
15396
|
column: 26
|
|
15215
15397
|
},
|
|
15216
15398
|
end: {
|
|
15217
|
-
line:
|
|
15399
|
+
line: 36,
|
|
15218
15400
|
column: 67
|
|
15219
15401
|
}
|
|
15220
15402
|
},
|
|
15221
15403
|
"5": {
|
|
15222
15404
|
start: {
|
|
15223
|
-
line:
|
|
15405
|
+
line: 37,
|
|
15224
15406
|
column: 18
|
|
15225
15407
|
},
|
|
15226
15408
|
end: {
|
|
15227
|
-
line:
|
|
15409
|
+
line: 37,
|
|
15228
15410
|
column: 30
|
|
15229
15411
|
}
|
|
15230
15412
|
},
|
|
15231
15413
|
"6": {
|
|
15232
15414
|
start: {
|
|
15233
|
-
line:
|
|
15415
|
+
line: 39,
|
|
15234
15416
|
column: 52
|
|
15235
15417
|
},
|
|
15236
15418
|
end: {
|
|
15237
|
-
line:
|
|
15419
|
+
line: 39,
|
|
15238
15420
|
column: 65
|
|
15239
15421
|
}
|
|
15240
15422
|
},
|
|
15241
15423
|
"7": {
|
|
15242
15424
|
start: {
|
|
15243
|
-
line:
|
|
15425
|
+
line: 41,
|
|
15244
15426
|
column: 16
|
|
15245
15427
|
},
|
|
15246
15428
|
end: {
|
|
15247
|
-
line:
|
|
15429
|
+
line: 41,
|
|
15248
15430
|
column: 32
|
|
15249
15431
|
}
|
|
15250
15432
|
},
|
|
15251
15433
|
"8": {
|
|
15252
15434
|
start: {
|
|
15253
|
-
line:
|
|
15435
|
+
line: 46,
|
|
15254
15436
|
column: 6
|
|
15255
15437
|
},
|
|
15256
15438
|
end: {
|
|
15257
|
-
line:
|
|
15439
|
+
line: 57,
|
|
15258
15440
|
column: 3
|
|
15259
15441
|
}
|
|
15260
15442
|
},
|
|
15261
15443
|
"9": {
|
|
15262
15444
|
start: {
|
|
15263
|
-
line:
|
|
15445
|
+
line: 54,
|
|
15264
15446
|
column: 8
|
|
15265
15447
|
},
|
|
15266
15448
|
end: {
|
|
15267
|
-
line:
|
|
15449
|
+
line: 54,
|
|
15268
15450
|
column: 74
|
|
15269
15451
|
}
|
|
15270
15452
|
},
|
|
15271
15453
|
"10": {
|
|
15272
15454
|
start: {
|
|
15273
|
-
line:
|
|
15455
|
+
line: 59,
|
|
15274
15456
|
column: 60
|
|
15275
15457
|
},
|
|
15276
15458
|
end: {
|
|
15277
|
-
line:
|
|
15459
|
+
line: 59,
|
|
15278
15460
|
column: 79
|
|
15279
15461
|
}
|
|
15280
15462
|
},
|
|
15281
15463
|
"11": {
|
|
15282
15464
|
start: {
|
|
15283
|
-
line:
|
|
15465
|
+
line: 61,
|
|
15284
15466
|
column: 22
|
|
15285
15467
|
},
|
|
15286
15468
|
end: {
|
|
15287
|
-
line:
|
|
15469
|
+
line: 63,
|
|
15288
15470
|
column: 3
|
|
15289
15471
|
}
|
|
15290
15472
|
},
|
|
15291
15473
|
"12": {
|
|
15292
15474
|
start: {
|
|
15293
|
-
line:
|
|
15475
|
+
line: 62,
|
|
15294
15476
|
column: 4
|
|
15295
15477
|
},
|
|
15296
15478
|
end: {
|
|
15297
|
-
line:
|
|
15479
|
+
line: 62,
|
|
15298
15480
|
column: 79
|
|
15299
15481
|
}
|
|
15300
15482
|
},
|
|
15301
15483
|
"13": {
|
|
15302
15484
|
start: {
|
|
15303
|
-
line:
|
|
15485
|
+
line: 65,
|
|
15304
15486
|
column: 24
|
|
15305
15487
|
},
|
|
15306
15488
|
end: {
|
|
15307
|
-
line:
|
|
15489
|
+
line: 67,
|
|
15308
15490
|
column: 3
|
|
15309
15491
|
}
|
|
15310
15492
|
},
|
|
15311
15493
|
"14": {
|
|
15312
15494
|
start: {
|
|
15313
|
-
line:
|
|
15495
|
+
line: 66,
|
|
15314
15496
|
column: 4
|
|
15315
15497
|
},
|
|
15316
15498
|
end: {
|
|
15317
|
-
line:
|
|
15499
|
+
line: 66,
|
|
15318
15500
|
column: 34
|
|
15319
15501
|
}
|
|
15320
15502
|
},
|
|
15321
15503
|
"15": {
|
|
15322
15504
|
start: {
|
|
15323
|
-
line:
|
|
15505
|
+
line: 69,
|
|
15324
15506
|
column: 18
|
|
15325
15507
|
},
|
|
15326
15508
|
end: {
|
|
15327
|
-
line:
|
|
15509
|
+
line: 72,
|
|
15328
15510
|
column: 4
|
|
15329
15511
|
}
|
|
15330
15512
|
},
|
|
15331
15513
|
"16": {
|
|
15332
15514
|
start: {
|
|
15333
|
-
line:
|
|
15515
|
+
line: 74,
|
|
15334
15516
|
column: 23
|
|
15335
15517
|
},
|
|
15336
15518
|
end: {
|
|
15337
|
-
line:
|
|
15519
|
+
line: 77,
|
|
15338
15520
|
column: 3
|
|
15339
15521
|
}
|
|
15340
15522
|
},
|
|
15341
15523
|
"17": {
|
|
15342
15524
|
start: {
|
|
15343
|
-
line:
|
|
15525
|
+
line: 75,
|
|
15344
15526
|
column: 4
|
|
15345
15527
|
},
|
|
15346
15528
|
end: {
|
|
15347
|
-
line:
|
|
15529
|
+
line: 75,
|
|
15348
15530
|
column: 35
|
|
15349
15531
|
}
|
|
15350
15532
|
},
|
|
15351
15533
|
"18": {
|
|
15352
15534
|
start: {
|
|
15353
|
-
line:
|
|
15535
|
+
line: 76,
|
|
15354
15536
|
column: 4
|
|
15355
15537
|
},
|
|
15356
15538
|
end: {
|
|
15357
|
-
line:
|
|
15539
|
+
line: 76,
|
|
15358
15540
|
column: 28
|
|
15359
15541
|
}
|
|
15360
15542
|
},
|
|
15361
15543
|
"19": {
|
|
15362
15544
|
start: {
|
|
15363
|
-
line:
|
|
15545
|
+
line: 79,
|
|
15364
15546
|
column: 28
|
|
15365
15547
|
},
|
|
15366
15548
|
end: {
|
|
15367
|
-
line:
|
|
15549
|
+
line: 85,
|
|
15368
15550
|
column: 3
|
|
15369
15551
|
}
|
|
15370
15552
|
},
|
|
15371
15553
|
"20": {
|
|
15372
15554
|
start: {
|
|
15373
|
-
line:
|
|
15555
|
+
line: 80,
|
|
15374
15556
|
column: 4
|
|
15375
15557
|
},
|
|
15376
15558
|
end: {
|
|
15377
|
-
line:
|
|
15559
|
+
line: 84,
|
|
15378
15560
|
column: 7
|
|
15379
15561
|
}
|
|
15380
15562
|
},
|
|
15381
15563
|
"21": {
|
|
15382
15564
|
start: {
|
|
15383
|
-
line:
|
|
15565
|
+
line: 87,
|
|
15384
15566
|
column: 22
|
|
15385
15567
|
},
|
|
15386
15568
|
end: {
|
|
15387
|
-
line:
|
|
15569
|
+
line: 94,
|
|
15388
15570
|
column: 3
|
|
15389
15571
|
}
|
|
15390
15572
|
},
|
|
15391
15573
|
"22": {
|
|
15392
15574
|
start: {
|
|
15393
|
-
line:
|
|
15575
|
+
line: 88,
|
|
15394
15576
|
column: 4
|
|
15395
15577
|
},
|
|
15396
15578
|
end: {
|
|
15397
|
-
line:
|
|
15579
|
+
line: 93,
|
|
15398
15580
|
column: 6
|
|
15399
15581
|
}
|
|
15400
15582
|
},
|
|
15401
15583
|
"23": {
|
|
15402
15584
|
start: {
|
|
15403
|
-
line:
|
|
15585
|
+
line: 96,
|
|
15586
|
+
column: 17
|
|
15587
|
+
},
|
|
15588
|
+
end: {
|
|
15589
|
+
line: 96,
|
|
15590
|
+
column: 65
|
|
15591
|
+
}
|
|
15592
|
+
},
|
|
15593
|
+
"24": {
|
|
15594
|
+
start: {
|
|
15595
|
+
line: 98,
|
|
15596
|
+
column: 21
|
|
15597
|
+
},
|
|
15598
|
+
end: {
|
|
15599
|
+
line: 109,
|
|
15600
|
+
column: 3
|
|
15601
|
+
}
|
|
15602
|
+
},
|
|
15603
|
+
"25": {
|
|
15604
|
+
start: {
|
|
15605
|
+
line: 111,
|
|
15404
15606
|
column: 2
|
|
15405
15607
|
},
|
|
15406
15608
|
end: {
|
|
15407
|
-
line:
|
|
15609
|
+
line: 117,
|
|
15408
15610
|
column: 3
|
|
15409
15611
|
}
|
|
15410
15612
|
},
|
|
15411
|
-
"
|
|
15613
|
+
"26": {
|
|
15412
15614
|
start: {
|
|
15413
|
-
line:
|
|
15615
|
+
line: 112,
|
|
15414
15616
|
column: 4
|
|
15415
15617
|
},
|
|
15416
15618
|
end: {
|
|
15417
|
-
line:
|
|
15619
|
+
line: 116,
|
|
15418
15620
|
column: 6
|
|
15419
15621
|
}
|
|
15420
15622
|
},
|
|
15421
|
-
"
|
|
15623
|
+
"27": {
|
|
15422
15624
|
start: {
|
|
15423
|
-
line:
|
|
15625
|
+
line: 119,
|
|
15424
15626
|
column: 2
|
|
15425
15627
|
},
|
|
15426
15628
|
end: {
|
|
15427
|
-
line:
|
|
15629
|
+
line: 195,
|
|
15428
15630
|
column: 4
|
|
15429
15631
|
}
|
|
15430
15632
|
},
|
|
15431
|
-
"
|
|
15633
|
+
"28": {
|
|
15432
15634
|
start: {
|
|
15433
|
-
line:
|
|
15635
|
+
line: 152,
|
|
15434
15636
|
column: 14
|
|
15435
15637
|
},
|
|
15436
15638
|
end: {
|
|
15437
|
-
line:
|
|
15639
|
+
line: 152,
|
|
15438
15640
|
column: 48
|
|
15439
15641
|
}
|
|
15440
15642
|
},
|
|
15441
|
-
"
|
|
15643
|
+
"29": {
|
|
15442
15644
|
start: {
|
|
15443
|
-
line:
|
|
15645
|
+
line: 159,
|
|
15444
15646
|
column: 14
|
|
15445
15647
|
},
|
|
15446
15648
|
end: {
|
|
15447
|
-
line:
|
|
15649
|
+
line: 159,
|
|
15448
15650
|
column: 49
|
|
15449
15651
|
}
|
|
15450
15652
|
},
|
|
15451
|
-
"
|
|
15653
|
+
"30": {
|
|
15452
15654
|
start: {
|
|
15453
|
-
line:
|
|
15655
|
+
line: 186,
|
|
15454
15656
|
column: 23
|
|
15455
15657
|
},
|
|
15456
15658
|
end: {
|
|
15457
|
-
line:
|
|
15659
|
+
line: 186,
|
|
15458
15660
|
column: 46
|
|
15459
15661
|
}
|
|
15460
15662
|
},
|
|
15461
|
-
"
|
|
15663
|
+
"31": {
|
|
15462
15664
|
start: {
|
|
15463
|
-
line:
|
|
15665
|
+
line: 187,
|
|
15464
15666
|
column: 24
|
|
15465
15667
|
},
|
|
15466
15668
|
end: {
|
|
15467
|
-
line:
|
|
15669
|
+
line: 187,
|
|
15468
15670
|
column: 58
|
|
15469
15671
|
}
|
|
15470
15672
|
},
|
|
15471
|
-
"
|
|
15673
|
+
"32": {
|
|
15472
15674
|
start: {
|
|
15473
|
-
line:
|
|
15675
|
+
line: 192,
|
|
15474
15676
|
column: 23
|
|
15475
15677
|
},
|
|
15476
15678
|
end: {
|
|
15477
|
-
line:
|
|
15679
|
+
line: 192,
|
|
15478
15680
|
column: 45
|
|
15479
15681
|
}
|
|
15480
15682
|
}
|
|
@@ -15484,383 +15686,383 @@ function cov_1poe88m6n4() {
|
|
|
15484
15686
|
name: "(anonymous_0)",
|
|
15485
15687
|
decl: {
|
|
15486
15688
|
start: {
|
|
15487
|
-
line:
|
|
15689
|
+
line: 32,
|
|
15488
15690
|
column: 18
|
|
15489
15691
|
},
|
|
15490
15692
|
end: {
|
|
15491
|
-
line:
|
|
15693
|
+
line: 32,
|
|
15492
15694
|
column: 19
|
|
15493
15695
|
}
|
|
15494
15696
|
},
|
|
15495
15697
|
loc: {
|
|
15496
15698
|
start: {
|
|
15497
|
-
line:
|
|
15498
|
-
column:
|
|
15699
|
+
line: 32,
|
|
15700
|
+
column: 71
|
|
15499
15701
|
},
|
|
15500
15702
|
end: {
|
|
15501
|
-
line:
|
|
15703
|
+
line: 196,
|
|
15502
15704
|
column: 1
|
|
15503
15705
|
}
|
|
15504
15706
|
},
|
|
15505
|
-
line:
|
|
15707
|
+
line: 32
|
|
15506
15708
|
},
|
|
15507
15709
|
"1": {
|
|
15508
15710
|
name: "(anonymous_1)",
|
|
15509
15711
|
decl: {
|
|
15510
15712
|
start: {
|
|
15511
|
-
line:
|
|
15713
|
+
line: 53,
|
|
15512
15714
|
column: 17
|
|
15513
15715
|
},
|
|
15514
15716
|
end: {
|
|
15515
|
-
line:
|
|
15717
|
+
line: 53,
|
|
15516
15718
|
column: 18
|
|
15517
15719
|
}
|
|
15518
15720
|
},
|
|
15519
15721
|
loc: {
|
|
15520
15722
|
start: {
|
|
15521
|
-
line:
|
|
15723
|
+
line: 53,
|
|
15522
15724
|
column: 30
|
|
15523
15725
|
},
|
|
15524
15726
|
end: {
|
|
15525
|
-
line:
|
|
15727
|
+
line: 55,
|
|
15526
15728
|
column: 7
|
|
15527
15729
|
}
|
|
15528
15730
|
},
|
|
15529
|
-
line:
|
|
15731
|
+
line: 53
|
|
15530
15732
|
},
|
|
15531
15733
|
"2": {
|
|
15532
15734
|
name: "(anonymous_2)",
|
|
15533
15735
|
decl: {
|
|
15534
15736
|
start: {
|
|
15535
|
-
line:
|
|
15737
|
+
line: 61,
|
|
15536
15738
|
column: 22
|
|
15537
15739
|
},
|
|
15538
15740
|
end: {
|
|
15539
|
-
line:
|
|
15741
|
+
line: 61,
|
|
15540
15742
|
column: 23
|
|
15541
15743
|
}
|
|
15542
15744
|
},
|
|
15543
15745
|
loc: {
|
|
15544
15746
|
start: {
|
|
15545
|
-
line:
|
|
15747
|
+
line: 61,
|
|
15546
15748
|
column: 28
|
|
15547
15749
|
},
|
|
15548
15750
|
end: {
|
|
15549
|
-
line:
|
|
15751
|
+
line: 63,
|
|
15550
15752
|
column: 3
|
|
15551
15753
|
}
|
|
15552
15754
|
},
|
|
15553
|
-
line:
|
|
15755
|
+
line: 61
|
|
15554
15756
|
},
|
|
15555
15757
|
"3": {
|
|
15556
15758
|
name: "(anonymous_3)",
|
|
15557
15759
|
decl: {
|
|
15558
15760
|
start: {
|
|
15559
|
-
line:
|
|
15761
|
+
line: 65,
|
|
15560
15762
|
column: 24
|
|
15561
15763
|
},
|
|
15562
15764
|
end: {
|
|
15563
|
-
line:
|
|
15765
|
+
line: 65,
|
|
15564
15766
|
column: 25
|
|
15565
15767
|
}
|
|
15566
15768
|
},
|
|
15567
15769
|
loc: {
|
|
15568
15770
|
start: {
|
|
15569
|
-
line:
|
|
15771
|
+
line: 65,
|
|
15570
15772
|
column: 36
|
|
15571
15773
|
},
|
|
15572
15774
|
end: {
|
|
15573
|
-
line:
|
|
15775
|
+
line: 67,
|
|
15574
15776
|
column: 3
|
|
15575
15777
|
}
|
|
15576
15778
|
},
|
|
15577
|
-
line:
|
|
15779
|
+
line: 65
|
|
15578
15780
|
},
|
|
15579
15781
|
"4": {
|
|
15580
15782
|
name: "(anonymous_4)",
|
|
15581
15783
|
decl: {
|
|
15582
15784
|
start: {
|
|
15583
|
-
line:
|
|
15785
|
+
line: 74,
|
|
15584
15786
|
column: 23
|
|
15585
15787
|
},
|
|
15586
15788
|
end: {
|
|
15587
|
-
line:
|
|
15789
|
+
line: 74,
|
|
15588
15790
|
column: 24
|
|
15589
15791
|
}
|
|
15590
15792
|
},
|
|
15591
15793
|
loc: {
|
|
15592
15794
|
start: {
|
|
15593
|
-
line:
|
|
15795
|
+
line: 74,
|
|
15594
15796
|
column: 37
|
|
15595
15797
|
},
|
|
15596
15798
|
end: {
|
|
15597
|
-
line:
|
|
15799
|
+
line: 77,
|
|
15598
15800
|
column: 3
|
|
15599
15801
|
}
|
|
15600
15802
|
},
|
|
15601
|
-
line:
|
|
15803
|
+
line: 74
|
|
15602
15804
|
},
|
|
15603
15805
|
"5": {
|
|
15604
15806
|
name: "(anonymous_5)",
|
|
15605
15807
|
decl: {
|
|
15606
15808
|
start: {
|
|
15607
|
-
line:
|
|
15809
|
+
line: 79,
|
|
15608
15810
|
column: 28
|
|
15609
15811
|
},
|
|
15610
15812
|
end: {
|
|
15611
|
-
line:
|
|
15813
|
+
line: 79,
|
|
15612
15814
|
column: 29
|
|
15613
15815
|
}
|
|
15614
15816
|
},
|
|
15615
15817
|
loc: {
|
|
15616
15818
|
start: {
|
|
15617
|
-
line:
|
|
15819
|
+
line: 79,
|
|
15618
15820
|
column: 47
|
|
15619
15821
|
},
|
|
15620
15822
|
end: {
|
|
15621
|
-
line:
|
|
15823
|
+
line: 85,
|
|
15622
15824
|
column: 3
|
|
15623
15825
|
}
|
|
15624
15826
|
},
|
|
15625
|
-
line:
|
|
15827
|
+
line: 79
|
|
15626
15828
|
},
|
|
15627
15829
|
"6": {
|
|
15628
15830
|
name: "(anonymous_6)",
|
|
15629
15831
|
decl: {
|
|
15630
15832
|
start: {
|
|
15631
|
-
line:
|
|
15833
|
+
line: 87,
|
|
15632
15834
|
column: 22
|
|
15633
15835
|
},
|
|
15634
15836
|
end: {
|
|
15635
|
-
line:
|
|
15837
|
+
line: 87,
|
|
15636
15838
|
column: 23
|
|
15637
15839
|
}
|
|
15638
15840
|
},
|
|
15639
15841
|
loc: {
|
|
15640
15842
|
start: {
|
|
15641
|
-
line:
|
|
15843
|
+
line: 88,
|
|
15642
15844
|
column: 4
|
|
15643
15845
|
},
|
|
15644
15846
|
end: {
|
|
15645
|
-
line:
|
|
15847
|
+
line: 93,
|
|
15646
15848
|
column: 6
|
|
15647
15849
|
}
|
|
15648
15850
|
},
|
|
15649
|
-
line:
|
|
15851
|
+
line: 88
|
|
15650
15852
|
},
|
|
15651
15853
|
"7": {
|
|
15652
15854
|
name: "(anonymous_7)",
|
|
15653
15855
|
decl: {
|
|
15654
15856
|
start: {
|
|
15655
|
-
line:
|
|
15857
|
+
line: 151,
|
|
15656
15858
|
column: 30
|
|
15657
15859
|
},
|
|
15658
15860
|
end: {
|
|
15659
|
-
line:
|
|
15861
|
+
line: 151,
|
|
15660
15862
|
column: 31
|
|
15661
15863
|
}
|
|
15662
15864
|
},
|
|
15663
15865
|
loc: {
|
|
15664
15866
|
start: {
|
|
15665
|
-
line:
|
|
15867
|
+
line: 152,
|
|
15666
15868
|
column: 14
|
|
15667
15869
|
},
|
|
15668
15870
|
end: {
|
|
15669
|
-
line:
|
|
15871
|
+
line: 152,
|
|
15670
15872
|
column: 48
|
|
15671
15873
|
}
|
|
15672
15874
|
},
|
|
15673
|
-
line:
|
|
15875
|
+
line: 152
|
|
15674
15876
|
},
|
|
15675
15877
|
"8": {
|
|
15676
15878
|
name: "(anonymous_8)",
|
|
15677
15879
|
decl: {
|
|
15678
15880
|
start: {
|
|
15679
|
-
line:
|
|
15881
|
+
line: 158,
|
|
15680
15882
|
column: 24
|
|
15681
15883
|
},
|
|
15682
15884
|
end: {
|
|
15683
|
-
line:
|
|
15885
|
+
line: 158,
|
|
15684
15886
|
column: 25
|
|
15685
15887
|
}
|
|
15686
15888
|
},
|
|
15687
15889
|
loc: {
|
|
15688
15890
|
start: {
|
|
15689
|
-
line:
|
|
15891
|
+
line: 159,
|
|
15690
15892
|
column: 14
|
|
15691
15893
|
},
|
|
15692
15894
|
end: {
|
|
15693
|
-
line:
|
|
15895
|
+
line: 159,
|
|
15694
15896
|
column: 49
|
|
15695
15897
|
}
|
|
15696
15898
|
},
|
|
15697
|
-
line:
|
|
15899
|
+
line: 159
|
|
15698
15900
|
},
|
|
15699
15901
|
"9": {
|
|
15700
15902
|
name: "(anonymous_9)",
|
|
15701
15903
|
decl: {
|
|
15702
15904
|
start: {
|
|
15703
|
-
line:
|
|
15905
|
+
line: 186,
|
|
15704
15906
|
column: 17
|
|
15705
15907
|
},
|
|
15706
15908
|
end: {
|
|
15707
|
-
line:
|
|
15909
|
+
line: 186,
|
|
15708
15910
|
column: 18
|
|
15709
15911
|
}
|
|
15710
15912
|
},
|
|
15711
15913
|
loc: {
|
|
15712
15914
|
start: {
|
|
15713
|
-
line:
|
|
15915
|
+
line: 186,
|
|
15714
15916
|
column: 23
|
|
15715
15917
|
},
|
|
15716
15918
|
end: {
|
|
15717
|
-
line:
|
|
15919
|
+
line: 186,
|
|
15718
15920
|
column: 46
|
|
15719
15921
|
}
|
|
15720
15922
|
},
|
|
15721
|
-
line:
|
|
15923
|
+
line: 186
|
|
15722
15924
|
},
|
|
15723
15925
|
"10": {
|
|
15724
15926
|
name: "(anonymous_10)",
|
|
15725
15927
|
decl: {
|
|
15726
15928
|
start: {
|
|
15727
|
-
line:
|
|
15929
|
+
line: 187,
|
|
15728
15930
|
column: 18
|
|
15729
15931
|
},
|
|
15730
15932
|
end: {
|
|
15731
|
-
line:
|
|
15933
|
+
line: 187,
|
|
15732
15934
|
column: 19
|
|
15733
15935
|
}
|
|
15734
15936
|
},
|
|
15735
15937
|
loc: {
|
|
15736
15938
|
start: {
|
|
15737
|
-
line:
|
|
15939
|
+
line: 187,
|
|
15738
15940
|
column: 24
|
|
15739
15941
|
},
|
|
15740
15942
|
end: {
|
|
15741
|
-
line:
|
|
15943
|
+
line: 187,
|
|
15742
15944
|
column: 58
|
|
15743
15945
|
}
|
|
15744
15946
|
},
|
|
15745
|
-
line:
|
|
15947
|
+
line: 187
|
|
15746
15948
|
},
|
|
15747
15949
|
"11": {
|
|
15748
15950
|
name: "(anonymous_11)",
|
|
15749
15951
|
decl: {
|
|
15750
15952
|
start: {
|
|
15751
|
-
line:
|
|
15953
|
+
line: 192,
|
|
15752
15954
|
column: 17
|
|
15753
15955
|
},
|
|
15754
15956
|
end: {
|
|
15755
|
-
line:
|
|
15957
|
+
line: 192,
|
|
15756
15958
|
column: 18
|
|
15757
15959
|
}
|
|
15758
15960
|
},
|
|
15759
15961
|
loc: {
|
|
15760
15962
|
start: {
|
|
15761
|
-
line:
|
|
15963
|
+
line: 192,
|
|
15762
15964
|
column: 23
|
|
15763
15965
|
},
|
|
15764
15966
|
end: {
|
|
15765
|
-
line:
|
|
15967
|
+
line: 192,
|
|
15766
15968
|
column: 45
|
|
15767
15969
|
}
|
|
15768
15970
|
},
|
|
15769
|
-
line:
|
|
15971
|
+
line: 192
|
|
15770
15972
|
}
|
|
15771
15973
|
},
|
|
15772
15974
|
branchMap: {
|
|
15773
15975
|
"0": {
|
|
15774
15976
|
loc: {
|
|
15775
15977
|
start: {
|
|
15776
|
-
line:
|
|
15978
|
+
line: 44,
|
|
15777
15979
|
column: 10
|
|
15778
15980
|
},
|
|
15779
15981
|
end: {
|
|
15780
|
-
line:
|
|
15982
|
+
line: 44,
|
|
15781
15983
|
column: 49
|
|
15782
15984
|
}
|
|
15783
15985
|
},
|
|
15784
15986
|
type: "default-arg",
|
|
15785
15987
|
locations: [{
|
|
15786
15988
|
start: {
|
|
15787
|
-
line:
|
|
15989
|
+
line: 44,
|
|
15788
15990
|
column: 47
|
|
15789
15991
|
},
|
|
15790
15992
|
end: {
|
|
15791
|
-
line:
|
|
15993
|
+
line: 44,
|
|
15792
15994
|
column: 49
|
|
15793
15995
|
}
|
|
15794
15996
|
}],
|
|
15795
|
-
line:
|
|
15997
|
+
line: 44
|
|
15796
15998
|
},
|
|
15797
15999
|
"1": {
|
|
15798
16000
|
loc: {
|
|
15799
16001
|
start: {
|
|
15800
|
-
line:
|
|
16002
|
+
line: 44,
|
|
15801
16003
|
column: 12
|
|
15802
16004
|
},
|
|
15803
16005
|
end: {
|
|
15804
|
-
line:
|
|
16006
|
+
line: 44,
|
|
15805
16007
|
column: 26
|
|
15806
16008
|
}
|
|
15807
16009
|
},
|
|
15808
16010
|
type: "default-arg",
|
|
15809
16011
|
locations: [{
|
|
15810
16012
|
start: {
|
|
15811
|
-
line:
|
|
16013
|
+
line: 44,
|
|
15812
16014
|
column: 24
|
|
15813
16015
|
},
|
|
15814
16016
|
end: {
|
|
15815
|
-
line:
|
|
16017
|
+
line: 44,
|
|
15816
16018
|
column: 26
|
|
15817
16019
|
}
|
|
15818
16020
|
}],
|
|
15819
|
-
line:
|
|
16021
|
+
line: 44
|
|
15820
16022
|
},
|
|
15821
16023
|
"2": {
|
|
15822
16024
|
loc: {
|
|
15823
16025
|
start: {
|
|
15824
|
-
line:
|
|
16026
|
+
line: 44,
|
|
15825
16027
|
column: 28
|
|
15826
16028
|
},
|
|
15827
16029
|
end: {
|
|
15828
|
-
line:
|
|
16030
|
+
line: 44,
|
|
15829
16031
|
column: 42
|
|
15830
16032
|
}
|
|
15831
16033
|
},
|
|
15832
16034
|
type: "default-arg",
|
|
15833
16035
|
locations: [{
|
|
15834
16036
|
start: {
|
|
15835
|
-
line:
|
|
16037
|
+
line: 44,
|
|
15836
16038
|
column: 41
|
|
15837
16039
|
},
|
|
15838
16040
|
end: {
|
|
15839
|
-
line:
|
|
16041
|
+
line: 44,
|
|
15840
16042
|
column: 42
|
|
15841
16043
|
}
|
|
15842
16044
|
}],
|
|
15843
|
-
line:
|
|
16045
|
+
line: 44
|
|
15844
16046
|
},
|
|
15845
16047
|
"3": {
|
|
15846
16048
|
loc: {
|
|
15847
16049
|
start: {
|
|
15848
|
-
line:
|
|
16050
|
+
line: 111,
|
|
15849
16051
|
column: 2
|
|
15850
16052
|
},
|
|
15851
16053
|
end: {
|
|
15852
|
-
line:
|
|
16054
|
+
line: 117,
|
|
15853
16055
|
column: 3
|
|
15854
16056
|
}
|
|
15855
16057
|
},
|
|
15856
16058
|
type: "if",
|
|
15857
16059
|
locations: [{
|
|
15858
16060
|
start: {
|
|
15859
|
-
line:
|
|
16061
|
+
line: 111,
|
|
15860
16062
|
column: 2
|
|
15861
16063
|
},
|
|
15862
16064
|
end: {
|
|
15863
|
-
line:
|
|
16065
|
+
line: 117,
|
|
15864
16066
|
column: 3
|
|
15865
16067
|
}
|
|
15866
16068
|
}, {
|
|
@@ -15873,73 +16075,106 @@ function cov_1poe88m6n4() {
|
|
|
15873
16075
|
column: undefined
|
|
15874
16076
|
}
|
|
15875
16077
|
}],
|
|
15876
|
-
line:
|
|
16078
|
+
line: 111
|
|
15877
16079
|
},
|
|
15878
16080
|
"4": {
|
|
15879
16081
|
loc: {
|
|
15880
16082
|
start: {
|
|
15881
|
-
line:
|
|
16083
|
+
line: 131,
|
|
15882
16084
|
column: 10
|
|
15883
16085
|
},
|
|
15884
16086
|
end: {
|
|
15885
|
-
line:
|
|
16087
|
+
line: 138,
|
|
15886
16088
|
column: 11
|
|
15887
16089
|
}
|
|
15888
16090
|
},
|
|
15889
16091
|
type: "binary-expr",
|
|
15890
16092
|
locations: [{
|
|
15891
16093
|
start: {
|
|
15892
|
-
line:
|
|
16094
|
+
line: 131,
|
|
15893
16095
|
column: 10
|
|
15894
16096
|
},
|
|
15895
16097
|
end: {
|
|
15896
|
-
line:
|
|
16098
|
+
line: 131,
|
|
15897
16099
|
column: 22
|
|
15898
16100
|
}
|
|
15899
16101
|
}, {
|
|
15900
16102
|
start: {
|
|
15901
|
-
line:
|
|
16103
|
+
line: 132,
|
|
15902
16104
|
column: 12
|
|
15903
16105
|
},
|
|
15904
16106
|
end: {
|
|
15905
|
-
line:
|
|
16107
|
+
line: 137,
|
|
15906
16108
|
column: 25
|
|
15907
16109
|
}
|
|
15908
16110
|
}],
|
|
15909
|
-
line:
|
|
16111
|
+
line: 131
|
|
15910
16112
|
},
|
|
15911
16113
|
"5": {
|
|
15912
16114
|
loc: {
|
|
15913
16115
|
start: {
|
|
15914
|
-
line:
|
|
16116
|
+
line: 141,
|
|
15915
16117
|
column: 7
|
|
15916
16118
|
},
|
|
15917
16119
|
end: {
|
|
15918
|
-
line:
|
|
16120
|
+
line: 170,
|
|
15919
16121
|
column: 7
|
|
15920
16122
|
}
|
|
15921
16123
|
},
|
|
15922
16124
|
type: "cond-expr",
|
|
15923
16125
|
locations: [{
|
|
15924
16126
|
start: {
|
|
15925
|
-
line:
|
|
16127
|
+
line: 142,
|
|
15926
16128
|
column: 8
|
|
15927
16129
|
},
|
|
15928
16130
|
end: {
|
|
15929
|
-
line:
|
|
16131
|
+
line: 162,
|
|
15930
16132
|
column: 14
|
|
15931
16133
|
}
|
|
15932
16134
|
}, {
|
|
15933
16135
|
start: {
|
|
15934
|
-
line:
|
|
16136
|
+
line: 164,
|
|
15935
16137
|
column: 8
|
|
15936
16138
|
},
|
|
15937
16139
|
end: {
|
|
15938
|
-
line:
|
|
16140
|
+
line: 169,
|
|
15939
16141
|
column: 14
|
|
15940
16142
|
}
|
|
15941
16143
|
}],
|
|
15942
|
-
line:
|
|
16144
|
+
line: 141
|
|
16145
|
+
},
|
|
16146
|
+
"6": {
|
|
16147
|
+
loc: {
|
|
16148
|
+
start: {
|
|
16149
|
+
line: 167,
|
|
16150
|
+
column: 17
|
|
16151
|
+
},
|
|
16152
|
+
end: {
|
|
16153
|
+
line: 167,
|
|
16154
|
+
column: 46
|
|
16155
|
+
}
|
|
16156
|
+
},
|
|
16157
|
+
type: "binary-expr",
|
|
16158
|
+
locations: [{
|
|
16159
|
+
start: {
|
|
16160
|
+
line: 167,
|
|
16161
|
+
column: 17
|
|
16162
|
+
},
|
|
16163
|
+
end: {
|
|
16164
|
+
line: 167,
|
|
16165
|
+
column: 32
|
|
16166
|
+
}
|
|
16167
|
+
}, {
|
|
16168
|
+
start: {
|
|
16169
|
+
line: 167,
|
|
16170
|
+
column: 36
|
|
16171
|
+
},
|
|
16172
|
+
end: {
|
|
16173
|
+
line: 167,
|
|
16174
|
+
column: 46
|
|
16175
|
+
}
|
|
16176
|
+
}],
|
|
16177
|
+
line: 167
|
|
15943
16178
|
}
|
|
15944
16179
|
},
|
|
15945
16180
|
s: {
|
|
@@ -15973,7 +16208,9 @@ function cov_1poe88m6n4() {
|
|
|
15973
16208
|
"27": 0,
|
|
15974
16209
|
"28": 0,
|
|
15975
16210
|
"29": 0,
|
|
15976
|
-
"30": 0
|
|
16211
|
+
"30": 0,
|
|
16212
|
+
"31": 0,
|
|
16213
|
+
"32": 0
|
|
15977
16214
|
},
|
|
15978
16215
|
f: {
|
|
15979
16216
|
"0": 0,
|
|
@@ -15995,10 +16232,11 @@ function cov_1poe88m6n4() {
|
|
|
15995
16232
|
"2": [0],
|
|
15996
16233
|
"3": [0, 0],
|
|
15997
16234
|
"4": [0, 0],
|
|
15998
|
-
"5": [0, 0]
|
|
16235
|
+
"5": [0, 0],
|
|
16236
|
+
"6": [0, 0]
|
|
15999
16237
|
},
|
|
16000
16238
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
16001
|
-
hash: "
|
|
16239
|
+
hash: "dd574d948c99ad618212d3826bd15f31057f480b"
|
|
16002
16240
|
};
|
|
16003
16241
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
16004
16242
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -16019,7 +16257,8 @@ function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) {
|
|
|
16019
16257
|
cov_1poe88m6n4().s[0]++;
|
|
16020
16258
|
var Templates = function Templates(_ref) {
|
|
16021
16259
|
var setIsMenubarOpen = _ref.setIsMenubarOpen,
|
|
16022
|
-
approvalsPath = _ref.approvalsPath
|
|
16260
|
+
approvalsPath = _ref.approvalsPath,
|
|
16261
|
+
helpDocUrl = _ref.helpDocUrl;
|
|
16023
16262
|
cov_1poe88m6n4().f[0]++;
|
|
16024
16263
|
var _ref2 = (cov_1poe88m6n4().s[1]++, React.useState(DEFAULT_FILTER_VALUES)),
|
|
16025
16264
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
@@ -16107,17 +16346,30 @@ var Templates = function Templates(_ref) {
|
|
|
16107
16346
|
})
|
|
16108
16347
|
});
|
|
16109
16348
|
};
|
|
16110
|
-
cov_1poe88m6n4().s[23]
|
|
16349
|
+
var entity = (cov_1poe88m6n4().s[23]++, t("common.template", PLURAL).toLocaleLowerCase());
|
|
16350
|
+
var otherProps = (cov_1poe88m6n4().s[24]++, {
|
|
16351
|
+
primaryButtonProps: {
|
|
16352
|
+
label: t("common.add_", {
|
|
16353
|
+
what: t("common.approvalTemplate", SINGULAR).toLocaleLowerCase()
|
|
16354
|
+
}),
|
|
16355
|
+
to: "".concat(approvalsPath).concat(routes.templates["new"])
|
|
16356
|
+
},
|
|
16357
|
+
helpText: renderNoDataHelpText({
|
|
16358
|
+
entity: entity,
|
|
16359
|
+
url: helpDocUrl
|
|
16360
|
+
})
|
|
16361
|
+
});
|
|
16362
|
+
cov_1poe88m6n4().s[25]++;
|
|
16111
16363
|
if (isTemplateLoading) {
|
|
16112
16364
|
cov_1poe88m6n4().b[3][0]++;
|
|
16113
|
-
cov_1poe88m6n4().s[
|
|
16365
|
+
cov_1poe88m6n4().s[26]++;
|
|
16114
16366
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16115
16367
|
className: "neeto-approvals-page-loader"
|
|
16116
16368
|
}, /*#__PURE__*/React__default["default"].createElement(PageLoader__default["default"], null));
|
|
16117
16369
|
} else {
|
|
16118
16370
|
cov_1poe88m6n4().b[3][1]++;
|
|
16119
16371
|
}
|
|
16120
|
-
cov_1poe88m6n4().s[
|
|
16372
|
+
cov_1poe88m6n4().s[27]++;
|
|
16121
16373
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Header$1, {
|
|
16122
16374
|
actionBlock: /*#__PURE__*/React__default["default"].createElement(ActionBlock, null),
|
|
16123
16375
|
filters: filters,
|
|
@@ -16144,7 +16396,7 @@ var Templates = function Templates(_ref) {
|
|
|
16144
16396
|
totalCount: totalCount,
|
|
16145
16397
|
handlePageChange: function handlePageChange(index, size) {
|
|
16146
16398
|
cov_1poe88m6n4().f[7]++;
|
|
16147
|
-
cov_1poe88m6n4().s[
|
|
16399
|
+
cov_1poe88m6n4().s[28]++;
|
|
16148
16400
|
return handleTablePagination(index, size);
|
|
16149
16401
|
},
|
|
16150
16402
|
paginationProps: {
|
|
@@ -16153,22 +16405,16 @@ var Templates = function Templates(_ref) {
|
|
|
16153
16405
|
onChange: handleTableChange,
|
|
16154
16406
|
onRowClick: function onRowClick(_, templateDetails) {
|
|
16155
16407
|
cov_1poe88m6n4().f[8]++;
|
|
16156
|
-
cov_1poe88m6n4().s[
|
|
16408
|
+
cov_1poe88m6n4().s[29]++;
|
|
16157
16409
|
return setTemplateDetails(templateDetails);
|
|
16158
16410
|
}
|
|
16159
16411
|
}))) : (cov_1poe88m6n4().b[5][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16160
16412
|
className: "flex h-full w-full flex-grow items-center justify-center"
|
|
16161
|
-
}, /*#__PURE__*/React__default["default"].createElement(neetoui.NoData, {
|
|
16162
|
-
primaryButtonProps: {
|
|
16163
|
-
label: t("common.add_", {
|
|
16164
|
-
what: t("common.approvalTemplate", SINGULAR).toLocaleLowerCase()
|
|
16165
|
-
}),
|
|
16166
|
-
to: "".concat(approvalsPath).concat(routes.templates["new"])
|
|
16167
|
-
},
|
|
16413
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.NoData, _extends({
|
|
16168
16414
|
title: t("common.notFound_", {
|
|
16169
|
-
what:
|
|
16415
|
+
what: entity
|
|
16170
16416
|
})
|
|
16171
|
-
}))), /*#__PURE__*/React__default["default"].createElement(neetoui.Alert, {
|
|
16417
|
+
}, (cov_1poe88m6n4().b[6][0]++, !filters.search) && (cov_1poe88m6n4().b[6][1]++, otherProps))))), /*#__PURE__*/React__default["default"].createElement(neetoui.Alert, {
|
|
16172
16418
|
isOpen: !!templateToDelete,
|
|
16173
16419
|
isSubmitting: isDeleting,
|
|
16174
16420
|
message: /*#__PURE__*/React__default["default"].createElement(Trans, {
|
|
@@ -16183,12 +16429,12 @@ var Templates = function Templates(_ref) {
|
|
|
16183
16429
|
}),
|
|
16184
16430
|
onClose: function onClose() {
|
|
16185
16431
|
cov_1poe88m6n4().f[9]++;
|
|
16186
|
-
cov_1poe88m6n4().s[
|
|
16432
|
+
cov_1poe88m6n4().s[30]++;
|
|
16187
16433
|
return setTemplateToDelete("");
|
|
16188
16434
|
},
|
|
16189
16435
|
onSubmit: function onSubmit() {
|
|
16190
16436
|
cov_1poe88m6n4().f[10]++;
|
|
16191
|
-
cov_1poe88m6n4().s[
|
|
16437
|
+
cov_1poe88m6n4().s[31]++;
|
|
16192
16438
|
return handleDelete(templateToDelete === null || templateToDelete === void 0 ? void 0 : templateToDelete.id);
|
|
16193
16439
|
}
|
|
16194
16440
|
}), /*#__PURE__*/React__default["default"].createElement(TemplateDetails, {
|
|
@@ -16196,7 +16442,7 @@ var Templates = function Templates(_ref) {
|
|
|
16196
16442
|
templateDetails: templateDetails,
|
|
16197
16443
|
onClose: function onClose() {
|
|
16198
16444
|
cov_1poe88m6n4().f[11]++;
|
|
16199
|
-
cov_1poe88m6n4().s[
|
|
16445
|
+
cov_1poe88m6n4().s[32]++;
|
|
16200
16446
|
return setTemplateDetails("");
|
|
16201
16447
|
}
|
|
16202
16448
|
}));
|