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