@bigbinary/neeto-form-frontend 1.0.21 → 1.0.23
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/README.md +40 -0
- package/dist/index.cjs.js +504 -354
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +500 -355
- package/dist/index.js.map +1 -1
- package/dist/main.css +1 -1
- package/index.d.ts +41 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4679,7 +4679,7 @@ var _excluded$j = ["formId", "preview"],
|
|
|
4679
4679
|
_excluded3$2 = ["formId", "submissionId"];
|
|
4680
4680
|
function cov_2atpj3pe74() {
|
|
4681
4681
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/hooks/useFormApi.js";
|
|
4682
|
-
var hash = "
|
|
4682
|
+
var hash = "8fa4d575d531b22ae37aae78db7d51fee2442712";
|
|
4683
4683
|
var global = new Function("return this")();
|
|
4684
4684
|
var gcv = "__coverage__";
|
|
4685
4685
|
var coverageData = {
|
|
@@ -4721,7 +4721,7 @@ function cov_2atpj3pe74() {
|
|
|
4721
4721
|
column: 29
|
|
4722
4722
|
},
|
|
4723
4723
|
end: {
|
|
4724
|
-
line:
|
|
4724
|
+
line: 34,
|
|
4725
4725
|
column: 4
|
|
4726
4726
|
}
|
|
4727
4727
|
},
|
|
@@ -4731,7 +4731,7 @@ function cov_2atpj3pe74() {
|
|
|
4731
4731
|
column: 2
|
|
4732
4732
|
},
|
|
4733
4733
|
end: {
|
|
4734
|
-
line:
|
|
4734
|
+
line: 34,
|
|
4735
4735
|
column: 4
|
|
4736
4736
|
}
|
|
4737
4737
|
},
|
|
@@ -4782,496 +4782,536 @@ function cov_2atpj3pe74() {
|
|
|
4782
4782
|
},
|
|
4783
4783
|
end: {
|
|
4784
4784
|
line: 31,
|
|
4785
|
-
column:
|
|
4785
|
+
column: 56
|
|
4786
4786
|
}
|
|
4787
4787
|
},
|
|
4788
4788
|
"10": {
|
|
4789
4789
|
start: {
|
|
4790
|
-
line:
|
|
4791
|
-
column:
|
|
4790
|
+
line: 32,
|
|
4791
|
+
column: 6
|
|
4792
4792
|
},
|
|
4793
4793
|
end: {
|
|
4794
|
-
line:
|
|
4795
|
-
column:
|
|
4794
|
+
line: 32,
|
|
4795
|
+
column: 33
|
|
4796
4796
|
}
|
|
4797
4797
|
},
|
|
4798
4798
|
"11": {
|
|
4799
4799
|
start: {
|
|
4800
4800
|
line: 36,
|
|
4801
|
-
column:
|
|
4801
|
+
column: 29
|
|
4802
4802
|
},
|
|
4803
4803
|
end: {
|
|
4804
|
-
line:
|
|
4804
|
+
line: 57,
|
|
4805
4805
|
column: 4
|
|
4806
4806
|
}
|
|
4807
4807
|
},
|
|
4808
4808
|
"12": {
|
|
4809
4809
|
start: {
|
|
4810
|
-
line:
|
|
4810
|
+
line: 37,
|
|
4811
|
+
column: 2
|
|
4812
|
+
},
|
|
4813
|
+
end: {
|
|
4814
|
+
line: 57,
|
|
4815
|
+
column: 4
|
|
4816
|
+
}
|
|
4817
|
+
},
|
|
4818
|
+
"13": {
|
|
4819
|
+
start: {
|
|
4820
|
+
line: 37,
|
|
4811
4821
|
column: 34
|
|
4812
4822
|
},
|
|
4813
4823
|
end: {
|
|
4814
|
-
line:
|
|
4824
|
+
line: 37,
|
|
4815
4825
|
column: 69
|
|
4816
4826
|
}
|
|
4817
4827
|
},
|
|
4818
|
-
"
|
|
4828
|
+
"14": {
|
|
4819
4829
|
start: {
|
|
4820
|
-
line:
|
|
4830
|
+
line: 40,
|
|
4821
4831
|
column: 6
|
|
4822
4832
|
},
|
|
4823
4833
|
end: {
|
|
4824
|
-
line:
|
|
4834
|
+
line: 43,
|
|
4825
4835
|
column: 10
|
|
4826
4836
|
}
|
|
4827
4837
|
},
|
|
4828
|
-
"
|
|
4838
|
+
"15": {
|
|
4829
4839
|
start: {
|
|
4830
|
-
line:
|
|
4840
|
+
line: 40,
|
|
4831
4841
|
column: 68
|
|
4832
4842
|
},
|
|
4833
4843
|
end: {
|
|
4834
|
-
line:
|
|
4844
|
+
line: 43,
|
|
4835
4845
|
column: 7
|
|
4836
4846
|
}
|
|
4837
4847
|
},
|
|
4838
|
-
"
|
|
4848
|
+
"16": {
|
|
4839
4849
|
start: {
|
|
4840
|
-
line:
|
|
4850
|
+
line: 45,
|
|
4841
4851
|
column: 6
|
|
4842
4852
|
},
|
|
4843
4853
|
end: {
|
|
4844
|
-
line:
|
|
4854
|
+
line: 51,
|
|
4845
4855
|
column: 8
|
|
4846
4856
|
}
|
|
4847
4857
|
},
|
|
4848
|
-
"
|
|
4858
|
+
"17": {
|
|
4849
4859
|
start: {
|
|
4850
|
-
line:
|
|
4860
|
+
line: 47,
|
|
4851
4861
|
column: 17
|
|
4852
4862
|
},
|
|
4853
4863
|
end: {
|
|
4854
|
-
line:
|
|
4864
|
+
line: 50,
|
|
4855
4865
|
column: 9
|
|
4856
4866
|
}
|
|
4857
4867
|
},
|
|
4858
|
-
"
|
|
4868
|
+
"18": {
|
|
4859
4869
|
start: {
|
|
4860
|
-
line:
|
|
4870
|
+
line: 52,
|
|
4861
4871
|
column: 6
|
|
4862
4872
|
},
|
|
4863
4873
|
end: {
|
|
4864
|
-
line:
|
|
4865
|
-
column:
|
|
4874
|
+
line: 52,
|
|
4875
|
+
column: 56
|
|
4866
4876
|
}
|
|
4867
4877
|
},
|
|
4868
|
-
"
|
|
4878
|
+
"19": {
|
|
4879
|
+
start: {
|
|
4880
|
+
line: 53,
|
|
4881
|
+
column: 6
|
|
4882
|
+
},
|
|
4883
|
+
end: {
|
|
4884
|
+
line: 53,
|
|
4885
|
+
column: 64
|
|
4886
|
+
}
|
|
4887
|
+
},
|
|
4888
|
+
"20": {
|
|
4889
|
+
start: {
|
|
4890
|
+
line: 54,
|
|
4891
|
+
column: 6
|
|
4892
|
+
},
|
|
4893
|
+
end: {
|
|
4894
|
+
line: 54,
|
|
4895
|
+
column: 77
|
|
4896
|
+
}
|
|
4897
|
+
},
|
|
4898
|
+
"21": {
|
|
4869
4899
|
start: {
|
|
4870
4900
|
line: 55,
|
|
4901
|
+
column: 6
|
|
4902
|
+
},
|
|
4903
|
+
end: {
|
|
4904
|
+
line: 55,
|
|
4905
|
+
column: 51
|
|
4906
|
+
}
|
|
4907
|
+
},
|
|
4908
|
+
"22": {
|
|
4909
|
+
start: {
|
|
4910
|
+
line: 59,
|
|
4871
4911
|
column: 34
|
|
4872
4912
|
},
|
|
4873
4913
|
end: {
|
|
4874
|
-
line:
|
|
4914
|
+
line: 78,
|
|
4875
4915
|
column: 4
|
|
4876
4916
|
}
|
|
4877
4917
|
},
|
|
4878
|
-
"
|
|
4918
|
+
"23": {
|
|
4879
4919
|
start: {
|
|
4880
|
-
line:
|
|
4920
|
+
line: 60,
|
|
4881
4921
|
column: 2
|
|
4882
4922
|
},
|
|
4883
4923
|
end: {
|
|
4884
|
-
line:
|
|
4924
|
+
line: 78,
|
|
4885
4925
|
column: 4
|
|
4886
4926
|
}
|
|
4887
4927
|
},
|
|
4888
|
-
"
|
|
4928
|
+
"24": {
|
|
4889
4929
|
start: {
|
|
4890
|
-
line:
|
|
4930
|
+
line: 60,
|
|
4891
4931
|
column: 34
|
|
4892
4932
|
},
|
|
4893
4933
|
end: {
|
|
4894
|
-
line:
|
|
4934
|
+
line: 60,
|
|
4895
4935
|
column: 74
|
|
4896
4936
|
}
|
|
4897
4937
|
},
|
|
4898
|
-
"
|
|
4938
|
+
"25": {
|
|
4899
4939
|
start: {
|
|
4900
|
-
line:
|
|
4940
|
+
line: 63,
|
|
4901
4941
|
column: 29
|
|
4902
4942
|
},
|
|
4903
4943
|
end: {
|
|
4904
|
-
line:
|
|
4944
|
+
line: 63,
|
|
4905
4945
|
column: 33
|
|
4906
4946
|
}
|
|
4907
4947
|
},
|
|
4908
|
-
"
|
|
4948
|
+
"26": {
|
|
4909
4949
|
start: {
|
|
4910
|
-
line:
|
|
4950
|
+
line: 64,
|
|
4911
4951
|
column: 6
|
|
4912
4952
|
},
|
|
4913
4953
|
end: {
|
|
4914
|
-
line:
|
|
4954
|
+
line: 67,
|
|
4915
4955
|
column: 10
|
|
4916
4956
|
}
|
|
4917
4957
|
},
|
|
4918
|
-
"
|
|
4958
|
+
"27": {
|
|
4919
4959
|
start: {
|
|
4920
|
-
line:
|
|
4960
|
+
line: 64,
|
|
4921
4961
|
column: 68
|
|
4922
4962
|
},
|
|
4923
4963
|
end: {
|
|
4924
|
-
line:
|
|
4964
|
+
line: 67,
|
|
4925
4965
|
column: 7
|
|
4926
4966
|
}
|
|
4927
4967
|
},
|
|
4928
|
-
"
|
|
4968
|
+
"28": {
|
|
4929
4969
|
start: {
|
|
4930
|
-
line:
|
|
4970
|
+
line: 69,
|
|
4931
4971
|
column: 6
|
|
4932
4972
|
},
|
|
4933
4973
|
end: {
|
|
4934
|
-
line:
|
|
4974
|
+
line: 75,
|
|
4935
4975
|
column: 8
|
|
4936
4976
|
}
|
|
4937
4977
|
},
|
|
4938
|
-
"
|
|
4978
|
+
"29": {
|
|
4939
4979
|
start: {
|
|
4940
|
-
line:
|
|
4980
|
+
line: 71,
|
|
4941
4981
|
column: 17
|
|
4942
4982
|
},
|
|
4943
4983
|
end: {
|
|
4944
|
-
line:
|
|
4984
|
+
line: 74,
|
|
4945
4985
|
column: 9
|
|
4946
4986
|
}
|
|
4947
4987
|
},
|
|
4948
|
-
"
|
|
4988
|
+
"30": {
|
|
4949
4989
|
start: {
|
|
4950
|
-
line:
|
|
4990
|
+
line: 76,
|
|
4951
4991
|
column: 6
|
|
4952
4992
|
},
|
|
4953
4993
|
end: {
|
|
4954
|
-
line:
|
|
4994
|
+
line: 76,
|
|
4955
4995
|
column: 54
|
|
4956
4996
|
}
|
|
4957
4997
|
},
|
|
4958
|
-
"
|
|
4998
|
+
"31": {
|
|
4959
4999
|
start: {
|
|
4960
|
-
line:
|
|
5000
|
+
line: 80,
|
|
4961
5001
|
column: 24
|
|
4962
5002
|
},
|
|
4963
5003
|
end: {
|
|
4964
|
-
line:
|
|
5004
|
+
line: 85,
|
|
4965
5005
|
column: 4
|
|
4966
5006
|
}
|
|
4967
5007
|
},
|
|
4968
|
-
"
|
|
5008
|
+
"32": {
|
|
4969
5009
|
start: {
|
|
4970
|
-
line:
|
|
5010
|
+
line: 81,
|
|
4971
5011
|
column: 2
|
|
4972
5012
|
},
|
|
4973
5013
|
end: {
|
|
4974
|
-
line:
|
|
5014
|
+
line: 85,
|
|
4975
5015
|
column: 4
|
|
4976
5016
|
}
|
|
4977
5017
|
},
|
|
4978
|
-
"
|
|
5018
|
+
"33": {
|
|
4979
5019
|
start: {
|
|
4980
|
-
line:
|
|
5020
|
+
line: 87,
|
|
4981
5021
|
column: 29
|
|
4982
5022
|
},
|
|
4983
5023
|
end: {
|
|
4984
|
-
line:
|
|
5024
|
+
line: 97,
|
|
4985
5025
|
column: 4
|
|
4986
5026
|
}
|
|
4987
5027
|
},
|
|
4988
|
-
"
|
|
5028
|
+
"34": {
|
|
4989
5029
|
start: {
|
|
4990
|
-
line:
|
|
5030
|
+
line: 88,
|
|
4991
5031
|
column: 2
|
|
4992
5032
|
},
|
|
4993
5033
|
end: {
|
|
4994
|
-
line:
|
|
5034
|
+
line: 97,
|
|
4995
5035
|
column: 4
|
|
4996
5036
|
}
|
|
4997
5037
|
},
|
|
4998
|
-
"
|
|
5038
|
+
"35": {
|
|
4999
5039
|
start: {
|
|
5000
|
-
line:
|
|
5040
|
+
line: 88,
|
|
5001
5041
|
column: 26
|
|
5002
5042
|
},
|
|
5003
5043
|
end: {
|
|
5004
|
-
line:
|
|
5044
|
+
line: 88,
|
|
5005
5045
|
column: 54
|
|
5006
5046
|
}
|
|
5007
5047
|
},
|
|
5008
|
-
"
|
|
5048
|
+
"36": {
|
|
5009
5049
|
start: {
|
|
5010
|
-
line:
|
|
5050
|
+
line: 91,
|
|
5011
5051
|
column: 25
|
|
5012
5052
|
},
|
|
5013
5053
|
end: {
|
|
5014
|
-
line:
|
|
5054
|
+
line: 91,
|
|
5015
5055
|
column: 29
|
|
5016
5056
|
}
|
|
5017
5057
|
},
|
|
5018
|
-
"
|
|
5058
|
+
"37": {
|
|
5019
5059
|
start: {
|
|
5020
|
-
line:
|
|
5060
|
+
line: 92,
|
|
5021
5061
|
column: 6
|
|
5022
5062
|
},
|
|
5023
5063
|
end: {
|
|
5024
|
-
line:
|
|
5064
|
+
line: 92,
|
|
5025
5065
|
column: 56
|
|
5026
5066
|
}
|
|
5027
5067
|
},
|
|
5028
|
-
"
|
|
5068
|
+
"38": {
|
|
5029
5069
|
start: {
|
|
5030
|
-
line:
|
|
5070
|
+
line: 93,
|
|
5031
5071
|
column: 6
|
|
5032
5072
|
},
|
|
5033
5073
|
end: {
|
|
5034
|
-
line:
|
|
5074
|
+
line: 93,
|
|
5035
5075
|
column: 64
|
|
5036
5076
|
}
|
|
5037
5077
|
},
|
|
5038
|
-
"
|
|
5078
|
+
"39": {
|
|
5039
5079
|
start: {
|
|
5040
|
-
line:
|
|
5080
|
+
line: 94,
|
|
5041
5081
|
column: 6
|
|
5042
5082
|
},
|
|
5043
5083
|
end: {
|
|
5044
|
-
line:
|
|
5084
|
+
line: 94,
|
|
5045
5085
|
column: 77
|
|
5046
5086
|
}
|
|
5047
5087
|
},
|
|
5048
|
-
"
|
|
5088
|
+
"40": {
|
|
5049
5089
|
start: {
|
|
5050
|
-
line:
|
|
5090
|
+
line: 95,
|
|
5051
5091
|
column: 6
|
|
5052
5092
|
},
|
|
5053
5093
|
end: {
|
|
5054
|
-
line:
|
|
5094
|
+
line: 95,
|
|
5055
5095
|
column: 54
|
|
5056
5096
|
}
|
|
5057
5097
|
},
|
|
5058
|
-
"
|
|
5098
|
+
"41": {
|
|
5059
5099
|
start: {
|
|
5060
|
-
line:
|
|
5100
|
+
line: 99,
|
|
5061
5101
|
column: 30
|
|
5062
5102
|
},
|
|
5063
5103
|
end: {
|
|
5064
|
-
line:
|
|
5104
|
+
line: 108,
|
|
5065
5105
|
column: 3
|
|
5066
5106
|
}
|
|
5067
5107
|
},
|
|
5068
|
-
"
|
|
5108
|
+
"42": {
|
|
5069
5109
|
start: {
|
|
5070
|
-
line:
|
|
5110
|
+
line: 100,
|
|
5071
5111
|
column: 2
|
|
5072
5112
|
},
|
|
5073
5113
|
end: {
|
|
5074
|
-
line:
|
|
5114
|
+
line: 108,
|
|
5075
5115
|
column: 3
|
|
5076
5116
|
}
|
|
5077
5117
|
},
|
|
5078
|
-
"
|
|
5118
|
+
"43": {
|
|
5079
5119
|
start: {
|
|
5080
|
-
line:
|
|
5120
|
+
line: 102,
|
|
5081
5121
|
column: 10
|
|
5082
5122
|
},
|
|
5083
5123
|
end: {
|
|
5084
|
-
line:
|
|
5124
|
+
line: 102,
|
|
5085
5125
|
column: 45
|
|
5086
5126
|
}
|
|
5087
5127
|
},
|
|
5088
|
-
"
|
|
5128
|
+
"44": {
|
|
5089
5129
|
start: {
|
|
5090
|
-
line:
|
|
5130
|
+
line: 110,
|
|
5091
5131
|
column: 29
|
|
5092
5132
|
},
|
|
5093
5133
|
end: {
|
|
5094
|
-
line:
|
|
5134
|
+
line: 119,
|
|
5095
5135
|
column: 3
|
|
5096
5136
|
}
|
|
5097
5137
|
},
|
|
5098
|
-
"
|
|
5138
|
+
"45": {
|
|
5099
5139
|
start: {
|
|
5100
|
-
line:
|
|
5140
|
+
line: 111,
|
|
5101
5141
|
column: 2
|
|
5102
5142
|
},
|
|
5103
5143
|
end: {
|
|
5104
|
-
line:
|
|
5144
|
+
line: 119,
|
|
5105
5145
|
column: 3
|
|
5106
5146
|
}
|
|
5107
5147
|
},
|
|
5108
|
-
"
|
|
5148
|
+
"46": {
|
|
5109
5149
|
start: {
|
|
5110
|
-
line:
|
|
5150
|
+
line: 113,
|
|
5111
5151
|
column: 10
|
|
5112
5152
|
},
|
|
5113
5153
|
end: {
|
|
5114
|
-
line:
|
|
5154
|
+
line: 113,
|
|
5115
5155
|
column: 64
|
|
5116
5156
|
}
|
|
5117
5157
|
},
|
|
5118
|
-
"
|
|
5158
|
+
"47": {
|
|
5119
5159
|
start: {
|
|
5120
|
-
line:
|
|
5160
|
+
line: 121,
|
|
5121
5161
|
column: 35
|
|
5122
5162
|
},
|
|
5123
5163
|
end: {
|
|
5124
|
-
line:
|
|
5164
|
+
line: 142,
|
|
5125
5165
|
column: 3
|
|
5126
5166
|
}
|
|
5127
5167
|
},
|
|
5128
|
-
"
|
|
5168
|
+
"48": {
|
|
5129
5169
|
start: {
|
|
5130
|
-
line:
|
|
5170
|
+
line: 122,
|
|
5131
5171
|
column: 2
|
|
5132
5172
|
},
|
|
5133
5173
|
end: {
|
|
5134
|
-
line:
|
|
5174
|
+
line: 142,
|
|
5135
5175
|
column: 3
|
|
5136
5176
|
}
|
|
5137
5177
|
},
|
|
5138
|
-
"
|
|
5178
|
+
"49": {
|
|
5139
5179
|
start: {
|
|
5140
|
-
line:
|
|
5180
|
+
line: 123,
|
|
5141
5181
|
column: 28
|
|
5142
5182
|
},
|
|
5143
5183
|
end: {
|
|
5144
|
-
line:
|
|
5184
|
+
line: 123,
|
|
5145
5185
|
column: 73
|
|
5146
5186
|
}
|
|
5147
5187
|
},
|
|
5148
|
-
"
|
|
5188
|
+
"50": {
|
|
5149
5189
|
start: {
|
|
5150
|
-
line:
|
|
5190
|
+
line: 127,
|
|
5151
5191
|
column: 35
|
|
5152
5192
|
},
|
|
5153
5193
|
end: {
|
|
5154
|
-
line:
|
|
5194
|
+
line: 127,
|
|
5155
5195
|
column: 39
|
|
5156
5196
|
}
|
|
5157
5197
|
},
|
|
5158
|
-
"
|
|
5198
|
+
"51": {
|
|
5159
5199
|
start: {
|
|
5160
|
-
line:
|
|
5200
|
+
line: 128,
|
|
5161
5201
|
column: 8
|
|
5162
5202
|
},
|
|
5163
5203
|
end: {
|
|
5164
|
-
line:
|
|
5204
|
+
line: 128,
|
|
5165
5205
|
column: 72
|
|
5166
5206
|
}
|
|
5167
5207
|
},
|
|
5168
|
-
"
|
|
5208
|
+
"52": {
|
|
5169
5209
|
start: {
|
|
5170
|
-
line:
|
|
5210
|
+
line: 129,
|
|
5171
5211
|
column: 8
|
|
5172
5212
|
},
|
|
5173
5213
|
end: {
|
|
5174
|
-
line:
|
|
5214
|
+
line: 132,
|
|
5175
5215
|
column: 10
|
|
5176
5216
|
}
|
|
5177
5217
|
},
|
|
5178
|
-
"
|
|
5218
|
+
"53": {
|
|
5179
5219
|
start: {
|
|
5180
|
-
line:
|
|
5220
|
+
line: 134,
|
|
5181
5221
|
column: 8
|
|
5182
5222
|
},
|
|
5183
5223
|
end: {
|
|
5184
|
-
line:
|
|
5224
|
+
line: 138,
|
|
5185
5225
|
column: 11
|
|
5186
5226
|
}
|
|
5187
5227
|
},
|
|
5188
|
-
"
|
|
5228
|
+
"54": {
|
|
5189
5229
|
start: {
|
|
5190
|
-
line:
|
|
5230
|
+
line: 139,
|
|
5191
5231
|
column: 8
|
|
5192
5232
|
},
|
|
5193
5233
|
end: {
|
|
5194
|
-
line:
|
|
5234
|
+
line: 139,
|
|
5195
5235
|
column: 56
|
|
5196
5236
|
}
|
|
5197
5237
|
},
|
|
5198
|
-
"
|
|
5238
|
+
"55": {
|
|
5199
5239
|
start: {
|
|
5200
|
-
line:
|
|
5240
|
+
line: 144,
|
|
5201
5241
|
column: 35
|
|
5202
5242
|
},
|
|
5203
5243
|
end: {
|
|
5204
|
-
line:
|
|
5244
|
+
line: 165,
|
|
5205
5245
|
column: 3
|
|
5206
5246
|
}
|
|
5207
5247
|
},
|
|
5208
|
-
"
|
|
5248
|
+
"56": {
|
|
5209
5249
|
start: {
|
|
5210
|
-
line:
|
|
5250
|
+
line: 145,
|
|
5211
5251
|
column: 2
|
|
5212
5252
|
},
|
|
5213
5253
|
end: {
|
|
5214
|
-
line:
|
|
5254
|
+
line: 165,
|
|
5215
5255
|
column: 3
|
|
5216
5256
|
}
|
|
5217
5257
|
},
|
|
5218
|
-
"
|
|
5258
|
+
"57": {
|
|
5219
5259
|
start: {
|
|
5220
|
-
line:
|
|
5260
|
+
line: 146,
|
|
5221
5261
|
column: 28
|
|
5222
5262
|
},
|
|
5223
5263
|
end: {
|
|
5224
|
-
line:
|
|
5264
|
+
line: 146,
|
|
5225
5265
|
column: 79
|
|
5226
5266
|
}
|
|
5227
5267
|
},
|
|
5228
|
-
"
|
|
5268
|
+
"58": {
|
|
5229
5269
|
start: {
|
|
5230
|
-
line:
|
|
5270
|
+
line: 150,
|
|
5231
5271
|
column: 35
|
|
5232
5272
|
},
|
|
5233
5273
|
end: {
|
|
5234
|
-
line:
|
|
5274
|
+
line: 150,
|
|
5235
5275
|
column: 39
|
|
5236
5276
|
}
|
|
5237
5277
|
},
|
|
5238
|
-
"
|
|
5278
|
+
"59": {
|
|
5239
5279
|
start: {
|
|
5240
|
-
line:
|
|
5280
|
+
line: 151,
|
|
5241
5281
|
column: 8
|
|
5242
5282
|
},
|
|
5243
5283
|
end: {
|
|
5244
|
-
line:
|
|
5284
|
+
line: 151,
|
|
5245
5285
|
column: 72
|
|
5246
5286
|
}
|
|
5247
5287
|
},
|
|
5248
|
-
"
|
|
5288
|
+
"60": {
|
|
5249
5289
|
start: {
|
|
5250
|
-
line:
|
|
5290
|
+
line: 152,
|
|
5251
5291
|
column: 8
|
|
5252
5292
|
},
|
|
5253
5293
|
end: {
|
|
5254
|
-
line:
|
|
5294
|
+
line: 155,
|
|
5255
5295
|
column: 10
|
|
5256
5296
|
}
|
|
5257
5297
|
},
|
|
5258
|
-
"
|
|
5298
|
+
"61": {
|
|
5259
5299
|
start: {
|
|
5260
|
-
line:
|
|
5300
|
+
line: 157,
|
|
5261
5301
|
column: 8
|
|
5262
5302
|
},
|
|
5263
5303
|
end: {
|
|
5264
|
-
line:
|
|
5304
|
+
line: 161,
|
|
5265
5305
|
column: 11
|
|
5266
5306
|
}
|
|
5267
5307
|
},
|
|
5268
|
-
"
|
|
5308
|
+
"62": {
|
|
5269
5309
|
start: {
|
|
5270
|
-
line:
|
|
5310
|
+
line: 162,
|
|
5271
5311
|
column: 8
|
|
5272
5312
|
},
|
|
5273
5313
|
end: {
|
|
5274
|
-
line:
|
|
5314
|
+
line: 162,
|
|
5275
5315
|
column: 56
|
|
5276
5316
|
}
|
|
5277
5317
|
}
|
|
@@ -5343,7 +5383,7 @@ function cov_2atpj3pe74() {
|
|
|
5343
5383
|
column: 2
|
|
5344
5384
|
},
|
|
5345
5385
|
end: {
|
|
5346
|
-
line:
|
|
5386
|
+
line: 34,
|
|
5347
5387
|
column: 4
|
|
5348
5388
|
}
|
|
5349
5389
|
},
|
|
@@ -5367,7 +5407,7 @@ function cov_2atpj3pe74() {
|
|
|
5367
5407
|
column: 23
|
|
5368
5408
|
},
|
|
5369
5409
|
end: {
|
|
5370
|
-
line:
|
|
5410
|
+
line: 33,
|
|
5371
5411
|
column: 5
|
|
5372
5412
|
}
|
|
5373
5413
|
},
|
|
@@ -5401,577 +5441,577 @@ function cov_2atpj3pe74() {
|
|
|
5401
5441
|
name: "(anonymous_5)",
|
|
5402
5442
|
decl: {
|
|
5403
5443
|
start: {
|
|
5404
|
-
line:
|
|
5444
|
+
line: 36,
|
|
5405
5445
|
column: 29
|
|
5406
5446
|
},
|
|
5407
5447
|
end: {
|
|
5408
|
-
line:
|
|
5448
|
+
line: 36,
|
|
5409
5449
|
column: 30
|
|
5410
5450
|
}
|
|
5411
5451
|
},
|
|
5412
5452
|
loc: {
|
|
5413
5453
|
start: {
|
|
5414
|
-
line:
|
|
5454
|
+
line: 37,
|
|
5415
5455
|
column: 2
|
|
5416
5456
|
},
|
|
5417
5457
|
end: {
|
|
5418
|
-
line:
|
|
5458
|
+
line: 57,
|
|
5419
5459
|
column: 4
|
|
5420
5460
|
}
|
|
5421
5461
|
},
|
|
5422
|
-
line:
|
|
5462
|
+
line: 37
|
|
5423
5463
|
},
|
|
5424
5464
|
"6": {
|
|
5425
5465
|
name: "(anonymous_6)",
|
|
5426
5466
|
decl: {
|
|
5427
5467
|
start: {
|
|
5428
|
-
line:
|
|
5468
|
+
line: 37,
|
|
5429
5469
|
column: 14
|
|
5430
5470
|
},
|
|
5431
5471
|
end: {
|
|
5432
|
-
line:
|
|
5472
|
+
line: 37,
|
|
5433
5473
|
column: 15
|
|
5434
5474
|
}
|
|
5435
5475
|
},
|
|
5436
5476
|
loc: {
|
|
5437
5477
|
start: {
|
|
5438
|
-
line:
|
|
5478
|
+
line: 37,
|
|
5439
5479
|
column: 34
|
|
5440
5480
|
},
|
|
5441
5481
|
end: {
|
|
5442
|
-
line:
|
|
5482
|
+
line: 37,
|
|
5443
5483
|
column: 69
|
|
5444
5484
|
}
|
|
5445
5485
|
},
|
|
5446
|
-
line:
|
|
5486
|
+
line: 37
|
|
5447
5487
|
},
|
|
5448
5488
|
"7": {
|
|
5449
5489
|
name: "(anonymous_7)",
|
|
5450
5490
|
decl: {
|
|
5451
5491
|
start: {
|
|
5452
|
-
line:
|
|
5492
|
+
line: 39,
|
|
5453
5493
|
column: 15
|
|
5454
5494
|
},
|
|
5455
5495
|
end: {
|
|
5456
|
-
line:
|
|
5496
|
+
line: 39,
|
|
5457
5497
|
column: 16
|
|
5458
5498
|
}
|
|
5459
5499
|
},
|
|
5460
5500
|
loc: {
|
|
5461
5501
|
start: {
|
|
5462
|
-
line:
|
|
5502
|
+
line: 39,
|
|
5463
5503
|
column: 33
|
|
5464
5504
|
},
|
|
5465
5505
|
end: {
|
|
5466
|
-
line:
|
|
5506
|
+
line: 56,
|
|
5467
5507
|
column: 5
|
|
5468
5508
|
}
|
|
5469
5509
|
},
|
|
5470
|
-
line:
|
|
5510
|
+
line: 39
|
|
5471
5511
|
},
|
|
5472
5512
|
"8": {
|
|
5473
5513
|
name: "(anonymous_8)",
|
|
5474
5514
|
decl: {
|
|
5475
5515
|
start: {
|
|
5476
|
-
line:
|
|
5516
|
+
line: 40,
|
|
5477
5517
|
column: 59
|
|
5478
5518
|
},
|
|
5479
5519
|
end: {
|
|
5480
|
-
line:
|
|
5520
|
+
line: 40,
|
|
5481
5521
|
column: 60
|
|
5482
5522
|
}
|
|
5483
5523
|
},
|
|
5484
5524
|
loc: {
|
|
5485
5525
|
start: {
|
|
5486
|
-
line:
|
|
5526
|
+
line: 40,
|
|
5487
5527
|
column: 68
|
|
5488
5528
|
},
|
|
5489
5529
|
end: {
|
|
5490
|
-
line:
|
|
5530
|
+
line: 43,
|
|
5491
5531
|
column: 7
|
|
5492
5532
|
}
|
|
5493
5533
|
},
|
|
5494
|
-
line:
|
|
5534
|
+
line: 40
|
|
5495
5535
|
},
|
|
5496
5536
|
"9": {
|
|
5497
5537
|
name: "(anonymous_9)",
|
|
5498
5538
|
decl: {
|
|
5499
5539
|
start: {
|
|
5500
|
-
line:
|
|
5540
|
+
line: 47,
|
|
5501
5541
|
column: 8
|
|
5502
5542
|
},
|
|
5503
5543
|
end: {
|
|
5504
|
-
line:
|
|
5544
|
+
line: 47,
|
|
5505
5545
|
column: 9
|
|
5506
5546
|
}
|
|
5507
5547
|
},
|
|
5508
5548
|
loc: {
|
|
5509
5549
|
start: {
|
|
5510
|
-
line:
|
|
5550
|
+
line: 47,
|
|
5511
5551
|
column: 17
|
|
5512
5552
|
},
|
|
5513
5553
|
end: {
|
|
5514
|
-
line:
|
|
5554
|
+
line: 50,
|
|
5515
5555
|
column: 9
|
|
5516
5556
|
}
|
|
5517
5557
|
},
|
|
5518
|
-
line:
|
|
5558
|
+
line: 47
|
|
5519
5559
|
},
|
|
5520
5560
|
"10": {
|
|
5521
5561
|
name: "(anonymous_10)",
|
|
5522
5562
|
decl: {
|
|
5523
5563
|
start: {
|
|
5524
|
-
line:
|
|
5564
|
+
line: 59,
|
|
5525
5565
|
column: 34
|
|
5526
5566
|
},
|
|
5527
5567
|
end: {
|
|
5528
|
-
line:
|
|
5568
|
+
line: 59,
|
|
5529
5569
|
column: 35
|
|
5530
5570
|
}
|
|
5531
5571
|
},
|
|
5532
5572
|
loc: {
|
|
5533
5573
|
start: {
|
|
5534
|
-
line:
|
|
5574
|
+
line: 60,
|
|
5535
5575
|
column: 2
|
|
5536
5576
|
},
|
|
5537
5577
|
end: {
|
|
5538
|
-
line:
|
|
5578
|
+
line: 78,
|
|
5539
5579
|
column: 4
|
|
5540
5580
|
}
|
|
5541
5581
|
},
|
|
5542
|
-
line:
|
|
5582
|
+
line: 60
|
|
5543
5583
|
},
|
|
5544
5584
|
"11": {
|
|
5545
5585
|
name: "(anonymous_11)",
|
|
5546
5586
|
decl: {
|
|
5547
5587
|
start: {
|
|
5548
|
-
line:
|
|
5588
|
+
line: 60,
|
|
5549
5589
|
column: 14
|
|
5550
5590
|
},
|
|
5551
5591
|
end: {
|
|
5552
|
-
line:
|
|
5592
|
+
line: 60,
|
|
5553
5593
|
column: 15
|
|
5554
5594
|
}
|
|
5555
5595
|
},
|
|
5556
5596
|
loc: {
|
|
5557
5597
|
start: {
|
|
5558
|
-
line:
|
|
5598
|
+
line: 60,
|
|
5559
5599
|
column: 34
|
|
5560
5600
|
},
|
|
5561
5601
|
end: {
|
|
5562
|
-
line:
|
|
5602
|
+
line: 60,
|
|
5563
5603
|
column: 74
|
|
5564
5604
|
}
|
|
5565
5605
|
},
|
|
5566
|
-
line:
|
|
5606
|
+
line: 60
|
|
5567
5607
|
},
|
|
5568
5608
|
"12": {
|
|
5569
5609
|
name: "(anonymous_12)",
|
|
5570
5610
|
decl: {
|
|
5571
5611
|
start: {
|
|
5572
|
-
line:
|
|
5612
|
+
line: 62,
|
|
5573
5613
|
column: 15
|
|
5574
5614
|
},
|
|
5575
5615
|
end: {
|
|
5576
|
-
line:
|
|
5616
|
+
line: 62,
|
|
5577
5617
|
column: 16
|
|
5578
5618
|
}
|
|
5579
5619
|
},
|
|
5580
5620
|
loc: {
|
|
5581
5621
|
start: {
|
|
5582
|
-
line:
|
|
5622
|
+
line: 62,
|
|
5583
5623
|
column: 28
|
|
5584
5624
|
},
|
|
5585
5625
|
end: {
|
|
5586
|
-
line:
|
|
5626
|
+
line: 77,
|
|
5587
5627
|
column: 5
|
|
5588
5628
|
}
|
|
5589
5629
|
},
|
|
5590
|
-
line:
|
|
5630
|
+
line: 62
|
|
5591
5631
|
},
|
|
5592
5632
|
"13": {
|
|
5593
5633
|
name: "(anonymous_13)",
|
|
5594
5634
|
decl: {
|
|
5595
5635
|
start: {
|
|
5596
|
-
line:
|
|
5636
|
+
line: 64,
|
|
5597
5637
|
column: 59
|
|
5598
5638
|
},
|
|
5599
5639
|
end: {
|
|
5600
|
-
line:
|
|
5640
|
+
line: 64,
|
|
5601
5641
|
column: 60
|
|
5602
5642
|
}
|
|
5603
5643
|
},
|
|
5604
5644
|
loc: {
|
|
5605
5645
|
start: {
|
|
5606
|
-
line:
|
|
5646
|
+
line: 64,
|
|
5607
5647
|
column: 68
|
|
5608
5648
|
},
|
|
5609
5649
|
end: {
|
|
5610
|
-
line:
|
|
5650
|
+
line: 67,
|
|
5611
5651
|
column: 7
|
|
5612
5652
|
}
|
|
5613
5653
|
},
|
|
5614
|
-
line:
|
|
5654
|
+
line: 64
|
|
5615
5655
|
},
|
|
5616
5656
|
"14": {
|
|
5617
5657
|
name: "(anonymous_14)",
|
|
5618
5658
|
decl: {
|
|
5619
5659
|
start: {
|
|
5620
|
-
line:
|
|
5660
|
+
line: 71,
|
|
5621
5661
|
column: 8
|
|
5622
5662
|
},
|
|
5623
5663
|
end: {
|
|
5624
|
-
line:
|
|
5664
|
+
line: 71,
|
|
5625
5665
|
column: 9
|
|
5626
5666
|
}
|
|
5627
5667
|
},
|
|
5628
5668
|
loc: {
|
|
5629
5669
|
start: {
|
|
5630
|
-
line:
|
|
5670
|
+
line: 71,
|
|
5631
5671
|
column: 17
|
|
5632
5672
|
},
|
|
5633
5673
|
end: {
|
|
5634
|
-
line:
|
|
5674
|
+
line: 74,
|
|
5635
5675
|
column: 9
|
|
5636
5676
|
}
|
|
5637
5677
|
},
|
|
5638
|
-
line:
|
|
5678
|
+
line: 71
|
|
5639
5679
|
},
|
|
5640
5680
|
"15": {
|
|
5641
5681
|
name: "(anonymous_15)",
|
|
5642
5682
|
decl: {
|
|
5643
5683
|
start: {
|
|
5644
|
-
line:
|
|
5684
|
+
line: 80,
|
|
5645
5685
|
column: 24
|
|
5646
5686
|
},
|
|
5647
5687
|
end: {
|
|
5648
|
-
line:
|
|
5688
|
+
line: 80,
|
|
5649
5689
|
column: 25
|
|
5650
5690
|
}
|
|
5651
5691
|
},
|
|
5652
5692
|
loc: {
|
|
5653
5693
|
start: {
|
|
5654
|
-
line:
|
|
5694
|
+
line: 81,
|
|
5655
5695
|
column: 2
|
|
5656
5696
|
},
|
|
5657
5697
|
end: {
|
|
5658
|
-
line:
|
|
5698
|
+
line: 85,
|
|
5659
5699
|
column: 4
|
|
5660
5700
|
}
|
|
5661
5701
|
},
|
|
5662
|
-
line:
|
|
5702
|
+
line: 81
|
|
5663
5703
|
},
|
|
5664
5704
|
"16": {
|
|
5665
5705
|
name: "(anonymous_16)",
|
|
5666
5706
|
decl: {
|
|
5667
5707
|
start: {
|
|
5668
|
-
line:
|
|
5708
|
+
line: 87,
|
|
5669
5709
|
column: 29
|
|
5670
5710
|
},
|
|
5671
5711
|
end: {
|
|
5672
|
-
line:
|
|
5712
|
+
line: 87,
|
|
5673
5713
|
column: 30
|
|
5674
5714
|
}
|
|
5675
5715
|
},
|
|
5676
5716
|
loc: {
|
|
5677
5717
|
start: {
|
|
5678
|
-
line:
|
|
5718
|
+
line: 88,
|
|
5679
5719
|
column: 2
|
|
5680
5720
|
},
|
|
5681
5721
|
end: {
|
|
5682
|
-
line:
|
|
5722
|
+
line: 97,
|
|
5683
5723
|
column: 4
|
|
5684
5724
|
}
|
|
5685
5725
|
},
|
|
5686
|
-
line:
|
|
5726
|
+
line: 88
|
|
5687
5727
|
},
|
|
5688
5728
|
"17": {
|
|
5689
5729
|
name: "(anonymous_17)",
|
|
5690
5730
|
decl: {
|
|
5691
5731
|
start: {
|
|
5692
|
-
line:
|
|
5732
|
+
line: 88,
|
|
5693
5733
|
column: 14
|
|
5694
5734
|
},
|
|
5695
5735
|
end: {
|
|
5696
|
-
line:
|
|
5736
|
+
line: 88,
|
|
5697
5737
|
column: 15
|
|
5698
5738
|
}
|
|
5699
5739
|
},
|
|
5700
5740
|
loc: {
|
|
5701
5741
|
start: {
|
|
5702
|
-
line:
|
|
5742
|
+
line: 88,
|
|
5703
5743
|
column: 26
|
|
5704
5744
|
},
|
|
5705
5745
|
end: {
|
|
5706
|
-
line:
|
|
5746
|
+
line: 88,
|
|
5707
5747
|
column: 54
|
|
5708
5748
|
}
|
|
5709
5749
|
},
|
|
5710
|
-
line:
|
|
5750
|
+
line: 88
|
|
5711
5751
|
},
|
|
5712
5752
|
"18": {
|
|
5713
5753
|
name: "(anonymous_18)",
|
|
5714
5754
|
decl: {
|
|
5715
5755
|
start: {
|
|
5716
|
-
line:
|
|
5756
|
+
line: 90,
|
|
5717
5757
|
column: 15
|
|
5718
5758
|
},
|
|
5719
5759
|
end: {
|
|
5720
|
-
line:
|
|
5760
|
+
line: 90,
|
|
5721
5761
|
column: 16
|
|
5722
5762
|
}
|
|
5723
5763
|
},
|
|
5724
5764
|
loc: {
|
|
5725
5765
|
start: {
|
|
5726
|
-
line:
|
|
5766
|
+
line: 90,
|
|
5727
5767
|
column: 28
|
|
5728
5768
|
},
|
|
5729
5769
|
end: {
|
|
5730
|
-
line:
|
|
5770
|
+
line: 96,
|
|
5731
5771
|
column: 5
|
|
5732
5772
|
}
|
|
5733
5773
|
},
|
|
5734
|
-
line:
|
|
5774
|
+
line: 90
|
|
5735
5775
|
},
|
|
5736
5776
|
"19": {
|
|
5737
5777
|
name: "(anonymous_19)",
|
|
5738
5778
|
decl: {
|
|
5739
5779
|
start: {
|
|
5740
|
-
line:
|
|
5780
|
+
line: 99,
|
|
5741
5781
|
column: 30
|
|
5742
5782
|
},
|
|
5743
5783
|
end: {
|
|
5744
|
-
line:
|
|
5784
|
+
line: 99,
|
|
5745
5785
|
column: 31
|
|
5746
5786
|
}
|
|
5747
5787
|
},
|
|
5748
5788
|
loc: {
|
|
5749
5789
|
start: {
|
|
5750
|
-
line:
|
|
5790
|
+
line: 100,
|
|
5751
5791
|
column: 2
|
|
5752
5792
|
},
|
|
5753
5793
|
end: {
|
|
5754
|
-
line:
|
|
5794
|
+
line: 108,
|
|
5755
5795
|
column: 3
|
|
5756
5796
|
}
|
|
5757
5797
|
},
|
|
5758
|
-
line:
|
|
5798
|
+
line: 100
|
|
5759
5799
|
},
|
|
5760
5800
|
"20": {
|
|
5761
5801
|
name: "(anonymous_20)",
|
|
5762
5802
|
decl: {
|
|
5763
5803
|
start: {
|
|
5764
|
-
line:
|
|
5804
|
+
line: 102,
|
|
5765
5805
|
column: 4
|
|
5766
5806
|
},
|
|
5767
5807
|
end: {
|
|
5768
|
-
line:
|
|
5808
|
+
line: 102,
|
|
5769
5809
|
column: 5
|
|
5770
5810
|
}
|
|
5771
5811
|
},
|
|
5772
5812
|
loc: {
|
|
5773
5813
|
start: {
|
|
5774
|
-
line:
|
|
5814
|
+
line: 102,
|
|
5775
5815
|
column: 10
|
|
5776
5816
|
},
|
|
5777
5817
|
end: {
|
|
5778
|
-
line:
|
|
5818
|
+
line: 102,
|
|
5779
5819
|
column: 45
|
|
5780
5820
|
}
|
|
5781
5821
|
},
|
|
5782
|
-
line:
|
|
5822
|
+
line: 102
|
|
5783
5823
|
},
|
|
5784
5824
|
"21": {
|
|
5785
5825
|
name: "(anonymous_21)",
|
|
5786
5826
|
decl: {
|
|
5787
5827
|
start: {
|
|
5788
|
-
line:
|
|
5828
|
+
line: 110,
|
|
5789
5829
|
column: 29
|
|
5790
5830
|
},
|
|
5791
5831
|
end: {
|
|
5792
|
-
line:
|
|
5832
|
+
line: 110,
|
|
5793
5833
|
column: 30
|
|
5794
5834
|
}
|
|
5795
5835
|
},
|
|
5796
5836
|
loc: {
|
|
5797
5837
|
start: {
|
|
5798
|
-
line:
|
|
5838
|
+
line: 111,
|
|
5799
5839
|
column: 2
|
|
5800
5840
|
},
|
|
5801
5841
|
end: {
|
|
5802
|
-
line:
|
|
5842
|
+
line: 119,
|
|
5803
5843
|
column: 3
|
|
5804
5844
|
}
|
|
5805
5845
|
},
|
|
5806
|
-
line:
|
|
5846
|
+
line: 111
|
|
5807
5847
|
},
|
|
5808
5848
|
"22": {
|
|
5809
5849
|
name: "(anonymous_22)",
|
|
5810
5850
|
decl: {
|
|
5811
5851
|
start: {
|
|
5812
|
-
line:
|
|
5852
|
+
line: 113,
|
|
5813
5853
|
column: 4
|
|
5814
5854
|
},
|
|
5815
5855
|
end: {
|
|
5816
|
-
line:
|
|
5856
|
+
line: 113,
|
|
5817
5857
|
column: 5
|
|
5818
5858
|
}
|
|
5819
5859
|
},
|
|
5820
5860
|
loc: {
|
|
5821
5861
|
start: {
|
|
5822
|
-
line:
|
|
5862
|
+
line: 113,
|
|
5823
5863
|
column: 10
|
|
5824
5864
|
},
|
|
5825
5865
|
end: {
|
|
5826
|
-
line:
|
|
5866
|
+
line: 113,
|
|
5827
5867
|
column: 64
|
|
5828
5868
|
}
|
|
5829
5869
|
},
|
|
5830
|
-
line:
|
|
5870
|
+
line: 113
|
|
5831
5871
|
},
|
|
5832
5872
|
"23": {
|
|
5833
5873
|
name: "(anonymous_23)",
|
|
5834
5874
|
decl: {
|
|
5835
5875
|
start: {
|
|
5836
|
-
line:
|
|
5876
|
+
line: 121,
|
|
5837
5877
|
column: 35
|
|
5838
5878
|
},
|
|
5839
5879
|
end: {
|
|
5840
|
-
line:
|
|
5880
|
+
line: 121,
|
|
5841
5881
|
column: 36
|
|
5842
5882
|
}
|
|
5843
5883
|
},
|
|
5844
5884
|
loc: {
|
|
5845
5885
|
start: {
|
|
5846
|
-
line:
|
|
5886
|
+
line: 122,
|
|
5847
5887
|
column: 2
|
|
5848
5888
|
},
|
|
5849
5889
|
end: {
|
|
5850
|
-
line:
|
|
5890
|
+
line: 142,
|
|
5851
5891
|
column: 3
|
|
5852
5892
|
}
|
|
5853
5893
|
},
|
|
5854
|
-
line:
|
|
5894
|
+
line: 122
|
|
5855
5895
|
},
|
|
5856
5896
|
"24": {
|
|
5857
5897
|
name: "(anonymous_24)",
|
|
5858
5898
|
decl: {
|
|
5859
5899
|
start: {
|
|
5860
|
-
line:
|
|
5900
|
+
line: 123,
|
|
5861
5901
|
column: 4
|
|
5862
5902
|
},
|
|
5863
5903
|
end: {
|
|
5864
|
-
line:
|
|
5904
|
+
line: 123,
|
|
5865
5905
|
column: 5
|
|
5866
5906
|
}
|
|
5867
5907
|
},
|
|
5868
5908
|
loc: {
|
|
5869
5909
|
start: {
|
|
5870
|
-
line:
|
|
5910
|
+
line: 123,
|
|
5871
5911
|
column: 28
|
|
5872
5912
|
},
|
|
5873
5913
|
end: {
|
|
5874
|
-
line:
|
|
5914
|
+
line: 123,
|
|
5875
5915
|
column: 73
|
|
5876
5916
|
}
|
|
5877
5917
|
},
|
|
5878
|
-
line:
|
|
5918
|
+
line: 123
|
|
5879
5919
|
},
|
|
5880
5920
|
"25": {
|
|
5881
5921
|
name: "(anonymous_25)",
|
|
5882
5922
|
decl: {
|
|
5883
5923
|
start: {
|
|
5884
|
-
line:
|
|
5924
|
+
line: 126,
|
|
5885
5925
|
column: 17
|
|
5886
5926
|
},
|
|
5887
5927
|
end: {
|
|
5888
|
-
line:
|
|
5928
|
+
line: 126,
|
|
5889
5929
|
column: 18
|
|
5890
5930
|
}
|
|
5891
5931
|
},
|
|
5892
5932
|
loc: {
|
|
5893
5933
|
start: {
|
|
5894
|
-
line:
|
|
5934
|
+
line: 126,
|
|
5895
5935
|
column: 30
|
|
5896
5936
|
},
|
|
5897
5937
|
end: {
|
|
5898
|
-
line:
|
|
5938
|
+
line: 140,
|
|
5899
5939
|
column: 7
|
|
5900
5940
|
}
|
|
5901
5941
|
},
|
|
5902
|
-
line:
|
|
5942
|
+
line: 126
|
|
5903
5943
|
},
|
|
5904
5944
|
"26": {
|
|
5905
5945
|
name: "(anonymous_26)",
|
|
5906
5946
|
decl: {
|
|
5907
5947
|
start: {
|
|
5908
|
-
line:
|
|
5948
|
+
line: 144,
|
|
5909
5949
|
column: 35
|
|
5910
5950
|
},
|
|
5911
5951
|
end: {
|
|
5912
|
-
line:
|
|
5952
|
+
line: 144,
|
|
5913
5953
|
column: 36
|
|
5914
5954
|
}
|
|
5915
5955
|
},
|
|
5916
5956
|
loc: {
|
|
5917
5957
|
start: {
|
|
5918
|
-
line:
|
|
5958
|
+
line: 145,
|
|
5919
5959
|
column: 2
|
|
5920
5960
|
},
|
|
5921
5961
|
end: {
|
|
5922
|
-
line:
|
|
5962
|
+
line: 165,
|
|
5923
5963
|
column: 3
|
|
5924
5964
|
}
|
|
5925
5965
|
},
|
|
5926
|
-
line:
|
|
5966
|
+
line: 145
|
|
5927
5967
|
},
|
|
5928
5968
|
"27": {
|
|
5929
5969
|
name: "(anonymous_27)",
|
|
5930
5970
|
decl: {
|
|
5931
5971
|
start: {
|
|
5932
|
-
line:
|
|
5972
|
+
line: 146,
|
|
5933
5973
|
column: 4
|
|
5934
5974
|
},
|
|
5935
5975
|
end: {
|
|
5936
|
-
line:
|
|
5976
|
+
line: 146,
|
|
5937
5977
|
column: 5
|
|
5938
5978
|
}
|
|
5939
5979
|
},
|
|
5940
5980
|
loc: {
|
|
5941
5981
|
start: {
|
|
5942
|
-
line:
|
|
5982
|
+
line: 146,
|
|
5943
5983
|
column: 28
|
|
5944
5984
|
},
|
|
5945
5985
|
end: {
|
|
5946
|
-
line:
|
|
5986
|
+
line: 146,
|
|
5947
5987
|
column: 79
|
|
5948
5988
|
}
|
|
5949
5989
|
},
|
|
5950
|
-
line:
|
|
5990
|
+
line: 146
|
|
5951
5991
|
},
|
|
5952
5992
|
"28": {
|
|
5953
5993
|
name: "(anonymous_28)",
|
|
5954
5994
|
decl: {
|
|
5955
5995
|
start: {
|
|
5956
|
-
line:
|
|
5996
|
+
line: 149,
|
|
5957
5997
|
column: 17
|
|
5958
5998
|
},
|
|
5959
5999
|
end: {
|
|
5960
|
-
line:
|
|
6000
|
+
line: 149,
|
|
5961
6001
|
column: 18
|
|
5962
6002
|
}
|
|
5963
6003
|
},
|
|
5964
6004
|
loc: {
|
|
5965
6005
|
start: {
|
|
5966
|
-
line:
|
|
6006
|
+
line: 149,
|
|
5967
6007
|
column: 30
|
|
5968
6008
|
},
|
|
5969
6009
|
end: {
|
|
5970
|
-
line:
|
|
6010
|
+
line: 163,
|
|
5971
6011
|
column: 7
|
|
5972
6012
|
}
|
|
5973
6013
|
},
|
|
5974
|
-
line:
|
|
6014
|
+
line: 149
|
|
5975
6015
|
}
|
|
5976
6016
|
},
|
|
5977
6017
|
branchMap: {
|
|
@@ -6044,167 +6084,167 @@ function cov_2atpj3pe74() {
|
|
|
6044
6084
|
"2": {
|
|
6045
6085
|
loc: {
|
|
6046
6086
|
start: {
|
|
6047
|
-
line:
|
|
6087
|
+
line: 55,
|
|
6048
6088
|
column: 6
|
|
6049
6089
|
},
|
|
6050
6090
|
end: {
|
|
6051
|
-
line:
|
|
6091
|
+
line: 55,
|
|
6052
6092
|
column: 50
|
|
6053
6093
|
}
|
|
6054
6094
|
},
|
|
6055
6095
|
type: "binary-expr",
|
|
6056
6096
|
locations: [{
|
|
6057
6097
|
start: {
|
|
6058
|
-
line:
|
|
6098
|
+
line: 55,
|
|
6059
6099
|
column: 6
|
|
6060
6100
|
},
|
|
6061
6101
|
end: {
|
|
6062
|
-
line:
|
|
6102
|
+
line: 55,
|
|
6063
6103
|
column: 23
|
|
6064
6104
|
}
|
|
6065
6105
|
}, {
|
|
6066
6106
|
start: {
|
|
6067
|
-
line:
|
|
6107
|
+
line: 55,
|
|
6068
6108
|
column: 27
|
|
6069
6109
|
},
|
|
6070
6110
|
end: {
|
|
6071
|
-
line:
|
|
6111
|
+
line: 55,
|
|
6072
6112
|
column: 50
|
|
6073
6113
|
}
|
|
6074
6114
|
}],
|
|
6075
|
-
line:
|
|
6115
|
+
line: 55
|
|
6076
6116
|
},
|
|
6077
6117
|
"3": {
|
|
6078
6118
|
loc: {
|
|
6079
6119
|
start: {
|
|
6080
|
-
line:
|
|
6120
|
+
line: 76,
|
|
6081
6121
|
column: 6
|
|
6082
6122
|
},
|
|
6083
6123
|
end: {
|
|
6084
|
-
line:
|
|
6124
|
+
line: 76,
|
|
6085
6125
|
column: 53
|
|
6086
6126
|
}
|
|
6087
6127
|
},
|
|
6088
6128
|
type: "binary-expr",
|
|
6089
6129
|
locations: [{
|
|
6090
6130
|
start: {
|
|
6091
|
-
line:
|
|
6131
|
+
line: 76,
|
|
6092
6132
|
column: 6
|
|
6093
6133
|
},
|
|
6094
6134
|
end: {
|
|
6095
|
-
line:
|
|
6135
|
+
line: 76,
|
|
6096
6136
|
column: 23
|
|
6097
6137
|
}
|
|
6098
6138
|
}, {
|
|
6099
6139
|
start: {
|
|
6100
|
-
line:
|
|
6140
|
+
line: 76,
|
|
6101
6141
|
column: 27
|
|
6102
6142
|
},
|
|
6103
6143
|
end: {
|
|
6104
|
-
line:
|
|
6144
|
+
line: 76,
|
|
6105
6145
|
column: 53
|
|
6106
6146
|
}
|
|
6107
6147
|
}],
|
|
6108
|
-
line:
|
|
6148
|
+
line: 76
|
|
6109
6149
|
},
|
|
6110
6150
|
"4": {
|
|
6111
6151
|
loc: {
|
|
6112
6152
|
start: {
|
|
6113
|
-
line:
|
|
6153
|
+
line: 95,
|
|
6114
6154
|
column: 6
|
|
6115
6155
|
},
|
|
6116
6156
|
end: {
|
|
6117
|
-
line:
|
|
6157
|
+
line: 95,
|
|
6118
6158
|
column: 53
|
|
6119
6159
|
}
|
|
6120
6160
|
},
|
|
6121
6161
|
type: "binary-expr",
|
|
6122
6162
|
locations: [{
|
|
6123
6163
|
start: {
|
|
6124
|
-
line:
|
|
6164
|
+
line: 95,
|
|
6125
6165
|
column: 6
|
|
6126
6166
|
},
|
|
6127
6167
|
end: {
|
|
6128
|
-
line:
|
|
6168
|
+
line: 95,
|
|
6129
6169
|
column: 23
|
|
6130
6170
|
}
|
|
6131
6171
|
}, {
|
|
6132
6172
|
start: {
|
|
6133
|
-
line:
|
|
6173
|
+
line: 95,
|
|
6134
6174
|
column: 27
|
|
6135
6175
|
},
|
|
6136
6176
|
end: {
|
|
6137
|
-
line:
|
|
6177
|
+
line: 95,
|
|
6138
6178
|
column: 53
|
|
6139
6179
|
}
|
|
6140
6180
|
}],
|
|
6141
|
-
line:
|
|
6181
|
+
line: 95
|
|
6142
6182
|
},
|
|
6143
6183
|
"5": {
|
|
6144
6184
|
loc: {
|
|
6145
6185
|
start: {
|
|
6146
|
-
line:
|
|
6186
|
+
line: 139,
|
|
6147
6187
|
column: 8
|
|
6148
6188
|
},
|
|
6149
6189
|
end: {
|
|
6150
|
-
line:
|
|
6190
|
+
line: 139,
|
|
6151
6191
|
column: 55
|
|
6152
6192
|
}
|
|
6153
6193
|
},
|
|
6154
6194
|
type: "binary-expr",
|
|
6155
6195
|
locations: [{
|
|
6156
6196
|
start: {
|
|
6157
|
-
line:
|
|
6197
|
+
line: 139,
|
|
6158
6198
|
column: 8
|
|
6159
6199
|
},
|
|
6160
6200
|
end: {
|
|
6161
|
-
line:
|
|
6201
|
+
line: 139,
|
|
6162
6202
|
column: 25
|
|
6163
6203
|
}
|
|
6164
6204
|
}, {
|
|
6165
6205
|
start: {
|
|
6166
|
-
line:
|
|
6206
|
+
line: 139,
|
|
6167
6207
|
column: 29
|
|
6168
6208
|
},
|
|
6169
6209
|
end: {
|
|
6170
|
-
line:
|
|
6210
|
+
line: 139,
|
|
6171
6211
|
column: 55
|
|
6172
6212
|
}
|
|
6173
6213
|
}],
|
|
6174
|
-
line:
|
|
6214
|
+
line: 139
|
|
6175
6215
|
},
|
|
6176
6216
|
"6": {
|
|
6177
6217
|
loc: {
|
|
6178
6218
|
start: {
|
|
6179
|
-
line:
|
|
6219
|
+
line: 162,
|
|
6180
6220
|
column: 8
|
|
6181
6221
|
},
|
|
6182
6222
|
end: {
|
|
6183
|
-
line:
|
|
6223
|
+
line: 162,
|
|
6184
6224
|
column: 55
|
|
6185
6225
|
}
|
|
6186
6226
|
},
|
|
6187
6227
|
type: "binary-expr",
|
|
6188
6228
|
locations: [{
|
|
6189
6229
|
start: {
|
|
6190
|
-
line:
|
|
6230
|
+
line: 162,
|
|
6191
6231
|
column: 8
|
|
6192
6232
|
},
|
|
6193
6233
|
end: {
|
|
6194
|
-
line:
|
|
6234
|
+
line: 162,
|
|
6195
6235
|
column: 25
|
|
6196
6236
|
}
|
|
6197
6237
|
}, {
|
|
6198
6238
|
start: {
|
|
6199
|
-
line:
|
|
6239
|
+
line: 162,
|
|
6200
6240
|
column: 29
|
|
6201
6241
|
},
|
|
6202
6242
|
end: {
|
|
6203
|
-
line:
|
|
6243
|
+
line: 162,
|
|
6204
6244
|
column: 55
|
|
6205
6245
|
}
|
|
6206
6246
|
}],
|
|
6207
|
-
line:
|
|
6247
|
+
line: 162
|
|
6208
6248
|
}
|
|
6209
6249
|
},
|
|
6210
6250
|
s: {
|
|
@@ -6266,7 +6306,11 @@ function cov_2atpj3pe74() {
|
|
|
6266
6306
|
"55": 0,
|
|
6267
6307
|
"56": 0,
|
|
6268
6308
|
"57": 0,
|
|
6269
|
-
"58": 0
|
|
6309
|
+
"58": 0,
|
|
6310
|
+
"59": 0,
|
|
6311
|
+
"60": 0,
|
|
6312
|
+
"61": 0,
|
|
6313
|
+
"62": 0
|
|
6270
6314
|
},
|
|
6271
6315
|
f: {
|
|
6272
6316
|
"0": 0,
|
|
@@ -6309,7 +6353,7 @@ function cov_2atpj3pe74() {
|
|
|
6309
6353
|
"6": [0, 0]
|
|
6310
6354
|
},
|
|
6311
6355
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
6312
|
-
hash: "
|
|
6356
|
+
hash: "8fa4d575d531b22ae37aae78db7d51fee2442712"
|
|
6313
6357
|
};
|
|
6314
6358
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
6315
6359
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -6344,16 +6388,80 @@ var useForm = function useForm(_ref) {
|
|
|
6344
6388
|
}, options));
|
|
6345
6389
|
};
|
|
6346
6390
|
cov_2atpj3pe74().s[3]++;
|
|
6347
|
-
|
|
6348
|
-
cov_2atpj3pe74().
|
|
6391
|
+
var useCreateForm = function useCreateForm(options) {
|
|
6392
|
+
cov_2atpj3pe74().f[2]++;
|
|
6393
|
+
cov_2atpj3pe74().s[4]++;
|
|
6394
|
+
return useMutation(neetoFormApi.createForm, _objectSpread$f(_objectSpread$f({}, options), {}, {
|
|
6395
|
+
onSuccess: function onSuccess(form) {
|
|
6396
|
+
var _options$onSuccess;
|
|
6397
|
+
cov_2atpj3pe74().f[3]++;
|
|
6398
|
+
cov_2atpj3pe74().s[5]++;
|
|
6399
|
+
queryClient.setQueryData(QUERY_KEYS.QUESTIONS, function (forms) {
|
|
6400
|
+
cov_2atpj3pe74().f[4]++;
|
|
6401
|
+
cov_2atpj3pe74().s[6]++;
|
|
6402
|
+
return (cov_2atpj3pe74().b[1][0]++, forms) && (cov_2atpj3pe74().b[1][1]++, [].concat(_toConsumableArray$1(forms), [form]));
|
|
6403
|
+
});
|
|
6404
|
+
cov_2atpj3pe74().s[7]++;
|
|
6405
|
+
queryClient.setQueryData([QUERY_KEYS.QUESTIONS, form.id], form);
|
|
6406
|
+
cov_2atpj3pe74().s[8]++;
|
|
6407
|
+
queryClient.setQueryData([QUERY_KEYS.QUESTIONS, "preview/".concat(form.id)], form);
|
|
6408
|
+
cov_2atpj3pe74().s[9]++;
|
|
6409
|
+
queryClient.invalidateQueries([QUERY_KEYS.FORMS]);
|
|
6410
|
+
cov_2atpj3pe74().s[10]++;
|
|
6411
|
+
options === null || options === void 0 ? void 0 : (_options$onSuccess = options.onSuccess) === null || _options$onSuccess === void 0 ? void 0 : _options$onSuccess.call(options, form);
|
|
6412
|
+
}
|
|
6413
|
+
}));
|
|
6414
|
+
};
|
|
6415
|
+
cov_2atpj3pe74().s[11]++;
|
|
6416
|
+
var useUpdateForm = function useUpdateForm(options) {
|
|
6417
|
+
cov_2atpj3pe74().f[5]++;
|
|
6418
|
+
cov_2atpj3pe74().s[12]++;
|
|
6419
|
+
return useMutation(function (_ref2) {
|
|
6420
|
+
var id = _ref2.id,
|
|
6421
|
+
values = _ref2.values;
|
|
6422
|
+
cov_2atpj3pe74().f[6]++;
|
|
6423
|
+
cov_2atpj3pe74().s[13]++;
|
|
6424
|
+
return neetoFormApi.updateForm(id, values);
|
|
6425
|
+
}, _objectSpread$f(_objectSpread$f({}, options), {}, {
|
|
6426
|
+
onSuccess: function onSuccess(data, _ref3) {
|
|
6427
|
+
var id = _ref3.id;
|
|
6428
|
+
cov_2atpj3pe74().f[7]++;
|
|
6429
|
+
cov_2atpj3pe74().s[14]++;
|
|
6430
|
+
queryClient.setQueryData([QUERY_KEYS.QUESTIONS, id], function (form) {
|
|
6431
|
+
cov_2atpj3pe74().f[8]++;
|
|
6432
|
+
cov_2atpj3pe74().s[15]++;
|
|
6433
|
+
return _objectSpread$f(_objectSpread$f({}, form), {}, {
|
|
6434
|
+
title: data.title
|
|
6435
|
+
});
|
|
6436
|
+
});
|
|
6437
|
+
cov_2atpj3pe74().s[16]++;
|
|
6438
|
+
queryClient.setQueryData([QUERY_KEYS.QUESTIONS, "preview/".concat(id)], function (form) {
|
|
6439
|
+
cov_2atpj3pe74().f[9]++;
|
|
6440
|
+
cov_2atpj3pe74().s[17]++;
|
|
6441
|
+
return _objectSpread$f(_objectSpread$f({}, form), {}, {
|
|
6442
|
+
title: data.title
|
|
6443
|
+
});
|
|
6444
|
+
});
|
|
6445
|
+
cov_2atpj3pe74().s[18]++;
|
|
6446
|
+
queryClient.invalidateQueries([QUERY_KEYS.FORMS]);
|
|
6447
|
+
cov_2atpj3pe74().s[19]++;
|
|
6448
|
+
queryClient.invalidateQueries([QUERY_KEYS.QUESTIONS, id]);
|
|
6449
|
+
cov_2atpj3pe74().s[20]++;
|
|
6450
|
+
queryClient.invalidateQueries([QUERY_KEYS.QUESTIONS, "preview/".concat(id)]);
|
|
6451
|
+
cov_2atpj3pe74().s[21]++;
|
|
6452
|
+
(cov_2atpj3pe74().b[2][0]++, options.onSuccess) && (cov_2atpj3pe74().b[2][1]++, options.onSuccess(data));
|
|
6453
|
+
}
|
|
6454
|
+
}));
|
|
6455
|
+
};
|
|
6456
|
+
cov_2atpj3pe74().s[22]++;
|
|
6349
6457
|
var useUpdateQuestions = function useUpdateQuestions(options) {
|
|
6350
6458
|
cov_2atpj3pe74().f[10]++;
|
|
6351
|
-
cov_2atpj3pe74().s[
|
|
6459
|
+
cov_2atpj3pe74().s[23]++;
|
|
6352
6460
|
return useMutation(function (_ref4) {
|
|
6353
6461
|
var id = _ref4.id,
|
|
6354
6462
|
values = _ref4.values;
|
|
6355
6463
|
cov_2atpj3pe74().f[11]++;
|
|
6356
|
-
cov_2atpj3pe74().s[
|
|
6464
|
+
cov_2atpj3pe74().s[24]++;
|
|
6357
6465
|
return neetoFormApi.updateQuestions(id, values);
|
|
6358
6466
|
}, _objectSpread$f(_objectSpread$f({}, options), {}, {
|
|
6359
6467
|
onSuccess: function onSuccess() {
|
|
@@ -6361,59 +6469,95 @@ var useUpdateQuestions = function useUpdateQuestions(options) {
|
|
|
6361
6469
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
6362
6470
|
args[_key] = arguments[_key];
|
|
6363
6471
|
}
|
|
6364
|
-
var _ref5 = (cov_2atpj3pe74().s[
|
|
6472
|
+
var _ref5 = (cov_2atpj3pe74().s[25]++, args),
|
|
6365
6473
|
_ref6 = _slicedToArray$6(_ref5, 2),
|
|
6366
6474
|
data = _ref6[0],
|
|
6367
6475
|
id = _ref6[1].id;
|
|
6368
|
-
cov_2atpj3pe74().s[
|
|
6476
|
+
cov_2atpj3pe74().s[26]++;
|
|
6369
6477
|
queryClient.setQueryData([QUERY_KEYS.QUESTIONS, id], function (form) {
|
|
6370
6478
|
cov_2atpj3pe74().f[13]++;
|
|
6371
|
-
cov_2atpj3pe74().s[
|
|
6479
|
+
cov_2atpj3pe74().s[27]++;
|
|
6372
6480
|
return _objectSpread$f(_objectSpread$f({}, form), {}, {
|
|
6373
6481
|
questions: data.questions
|
|
6374
6482
|
});
|
|
6375
6483
|
});
|
|
6376
|
-
cov_2atpj3pe74().s[
|
|
6484
|
+
cov_2atpj3pe74().s[28]++;
|
|
6377
6485
|
queryClient.setQueryData([QUERY_KEYS.QUESTIONS, "preview/".concat(id)], function (form) {
|
|
6378
6486
|
cov_2atpj3pe74().f[14]++;
|
|
6379
|
-
cov_2atpj3pe74().s[
|
|
6487
|
+
cov_2atpj3pe74().s[29]++;
|
|
6380
6488
|
return _objectSpread$f(_objectSpread$f({}, form), {}, {
|
|
6381
6489
|
questions: data.questions
|
|
6382
6490
|
});
|
|
6383
6491
|
});
|
|
6384
|
-
cov_2atpj3pe74().s[
|
|
6492
|
+
cov_2atpj3pe74().s[30]++;
|
|
6385
6493
|
(cov_2atpj3pe74().b[3][0]++, options.onSuccess) && (cov_2atpj3pe74().b[3][1]++, options.onSuccess.apply(options, args));
|
|
6386
6494
|
}
|
|
6387
6495
|
}));
|
|
6388
6496
|
};
|
|
6389
|
-
cov_2atpj3pe74().s[
|
|
6390
|
-
|
|
6391
|
-
cov_2atpj3pe74().
|
|
6392
|
-
cov_2atpj3pe74().s[
|
|
6497
|
+
cov_2atpj3pe74().s[31]++;
|
|
6498
|
+
var useForms = function useForms(options) {
|
|
6499
|
+
cov_2atpj3pe74().f[15]++;
|
|
6500
|
+
cov_2atpj3pe74().s[32]++;
|
|
6501
|
+
return useQuery([QUERY_KEYS.FORMS], neetoFormApi.getForms, _objectSpread$f({
|
|
6502
|
+
keepPreviousData: true,
|
|
6503
|
+
staleTime: DEFAULT_STALE_TIME
|
|
6504
|
+
}, options));
|
|
6505
|
+
};
|
|
6506
|
+
cov_2atpj3pe74().s[33]++;
|
|
6507
|
+
var useDeleteForm = function useDeleteForm(options) {
|
|
6508
|
+
cov_2atpj3pe74().f[16]++;
|
|
6509
|
+
cov_2atpj3pe74().s[34]++;
|
|
6510
|
+
return useMutation(function (_ref7) {
|
|
6511
|
+
var id = _ref7.id;
|
|
6512
|
+
cov_2atpj3pe74().f[17]++;
|
|
6513
|
+
cov_2atpj3pe74().s[35]++;
|
|
6514
|
+
return neetoFormApi.destroyForm(id);
|
|
6515
|
+
}, _objectSpread$f(_objectSpread$f({}, options), {}, {
|
|
6516
|
+
onSuccess: function onSuccess() {
|
|
6517
|
+
cov_2atpj3pe74().f[18]++;
|
|
6518
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
6519
|
+
args[_key2] = arguments[_key2];
|
|
6520
|
+
}
|
|
6521
|
+
var _ref8 = (cov_2atpj3pe74().s[36]++, args),
|
|
6522
|
+
_ref9 = _slicedToArray$6(_ref8, 2),
|
|
6523
|
+
id = _ref9[1].id;
|
|
6524
|
+
cov_2atpj3pe74().s[37]++;
|
|
6525
|
+
queryClient.invalidateQueries([QUERY_KEYS.FORMS]);
|
|
6526
|
+
cov_2atpj3pe74().s[38]++;
|
|
6527
|
+
queryClient.invalidateQueries([QUERY_KEYS.QUESTIONS, id]);
|
|
6528
|
+
cov_2atpj3pe74().s[39]++;
|
|
6529
|
+
queryClient.invalidateQueries([QUERY_KEYS.QUESTIONS, "preview/".concat(id)]);
|
|
6530
|
+
cov_2atpj3pe74().s[40]++;
|
|
6531
|
+
(cov_2atpj3pe74().b[4][0]++, options.onSuccess) && (cov_2atpj3pe74().b[4][1]++, options.onSuccess.apply(options, args));
|
|
6532
|
+
}
|
|
6533
|
+
}));
|
|
6534
|
+
};
|
|
6535
|
+
cov_2atpj3pe74().s[41]++;
|
|
6536
|
+
cov_2atpj3pe74().s[44]++;
|
|
6393
6537
|
var useSubmission = function useSubmission(_ref11) {
|
|
6394
6538
|
var formId = _ref11.formId,
|
|
6395
6539
|
submissionId = _ref11.submissionId,
|
|
6396
6540
|
options = _objectWithoutProperties$1(_ref11, _excluded3$2);
|
|
6397
6541
|
cov_2atpj3pe74().f[21]++;
|
|
6398
|
-
cov_2atpj3pe74().s[
|
|
6542
|
+
cov_2atpj3pe74().s[45]++;
|
|
6399
6543
|
return useQuery([QUERY_KEYS.SUBMISSION, formId, submissionId], function () {
|
|
6400
6544
|
cov_2atpj3pe74().f[22]++;
|
|
6401
|
-
cov_2atpj3pe74().s[
|
|
6545
|
+
cov_2atpj3pe74().s[46]++;
|
|
6402
6546
|
return neetoFormApi.getPublicSubmission(formId, submissionId);
|
|
6403
6547
|
}, _objectSpread$f(_objectSpread$f({}, options), {}, {
|
|
6404
6548
|
keepPreviousData: true,
|
|
6405
6549
|
staleTime: DEFAULT_STALE_TIME
|
|
6406
6550
|
}));
|
|
6407
6551
|
};
|
|
6408
|
-
cov_2atpj3pe74().s[
|
|
6552
|
+
cov_2atpj3pe74().s[47]++;
|
|
6409
6553
|
var useCreateSubmission = function useCreateSubmission(options) {
|
|
6410
6554
|
cov_2atpj3pe74().f[23]++;
|
|
6411
|
-
cov_2atpj3pe74().s[
|
|
6555
|
+
cov_2atpj3pe74().s[48]++;
|
|
6412
6556
|
return useMutation(function (_ref12) {
|
|
6413
6557
|
var formId = _ref12.formId,
|
|
6414
6558
|
values = _ref12.values;
|
|
6415
6559
|
cov_2atpj3pe74().f[24]++;
|
|
6416
|
-
cov_2atpj3pe74().s[
|
|
6560
|
+
cov_2atpj3pe74().s[49]++;
|
|
6417
6561
|
return neetoFormApi.submitPublicForm(formId, values);
|
|
6418
6562
|
}, _objectSpread$f(_objectSpread$f({}, options), {}, {
|
|
6419
6563
|
onSuccess: function onSuccess() {
|
|
@@ -6422,30 +6566,30 @@ var useCreateSubmission = function useCreateSubmission(options) {
|
|
|
6422
6566
|
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
6423
6567
|
args[_key3] = arguments[_key3];
|
|
6424
6568
|
}
|
|
6425
|
-
var _ref13 = (cov_2atpj3pe74().s[
|
|
6569
|
+
var _ref13 = (cov_2atpj3pe74().s[50]++, args),
|
|
6426
6570
|
_ref14 = _slicedToArray$6(_ref13, 2),
|
|
6427
6571
|
data = _ref14[0],
|
|
6428
6572
|
formId = _ref14[1].formId;
|
|
6429
|
-
cov_2atpj3pe74().s[
|
|
6573
|
+
cov_2atpj3pe74().s[51]++;
|
|
6430
6574
|
queryClient.invalidateQueries([QUERY_KEYS.SUBMISSIONS, formId]);
|
|
6431
|
-
cov_2atpj3pe74().s[
|
|
6575
|
+
cov_2atpj3pe74().s[52]++;
|
|
6432
6576
|
queryClient.setQueryData([QUERY_KEYS.SUBMISSION, formId, data === null || data === void 0 ? void 0 : (_data$submission = data.submission) === null || _data$submission === void 0 ? void 0 : _data$submission.id], data === null || data === void 0 ? void 0 : data.submission);
|
|
6433
|
-
cov_2atpj3pe74().s[
|
|
6577
|
+
cov_2atpj3pe74().s[53]++;
|
|
6434
6578
|
queryClient.invalidateQueries([QUERY_KEYS.SUBMISSION, formId, data === null || data === void 0 ? void 0 : (_data$submission2 = data.submission) === null || _data$submission2 === void 0 ? void 0 : _data$submission2.id]);
|
|
6435
|
-
cov_2atpj3pe74().s[
|
|
6579
|
+
cov_2atpj3pe74().s[54]++;
|
|
6436
6580
|
(cov_2atpj3pe74().b[5][0]++, options.onSuccess) && (cov_2atpj3pe74().b[5][1]++, options.onSuccess.apply(options, args));
|
|
6437
6581
|
}
|
|
6438
6582
|
}));
|
|
6439
6583
|
};
|
|
6440
|
-
cov_2atpj3pe74().s[
|
|
6584
|
+
cov_2atpj3pe74().s[55]++;
|
|
6441
6585
|
var useUpdateSubmission = function useUpdateSubmission(options) {
|
|
6442
6586
|
cov_2atpj3pe74().f[26]++;
|
|
6443
|
-
cov_2atpj3pe74().s[
|
|
6587
|
+
cov_2atpj3pe74().s[56]++;
|
|
6444
6588
|
return useMutation(function (_ref15) {
|
|
6445
6589
|
var formId = _ref15.formId,
|
|
6446
6590
|
values = _ref15.values;
|
|
6447
6591
|
cov_2atpj3pe74().f[27]++;
|
|
6448
|
-
cov_2atpj3pe74().s[
|
|
6592
|
+
cov_2atpj3pe74().s[57]++;
|
|
6449
6593
|
return neetoFormApi.updatePublicSubmission(formId, values);
|
|
6450
6594
|
}, _objectSpread$f(_objectSpread$f({}, options), {}, {
|
|
6451
6595
|
onSuccess: function onSuccess() {
|
|
@@ -6454,17 +6598,17 @@ var useUpdateSubmission = function useUpdateSubmission(options) {
|
|
|
6454
6598
|
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
6455
6599
|
args[_key4] = arguments[_key4];
|
|
6456
6600
|
}
|
|
6457
|
-
var _ref16 = (cov_2atpj3pe74().s[
|
|
6601
|
+
var _ref16 = (cov_2atpj3pe74().s[58]++, args),
|
|
6458
6602
|
_ref17 = _slicedToArray$6(_ref16, 2),
|
|
6459
6603
|
data = _ref17[0],
|
|
6460
6604
|
formId = _ref17[1].formId;
|
|
6461
|
-
cov_2atpj3pe74().s[
|
|
6605
|
+
cov_2atpj3pe74().s[59]++;
|
|
6462
6606
|
queryClient.invalidateQueries([QUERY_KEYS.SUBMISSIONS, formId]);
|
|
6463
|
-
cov_2atpj3pe74().s[
|
|
6607
|
+
cov_2atpj3pe74().s[60]++;
|
|
6464
6608
|
queryClient.setQueryData([QUERY_KEYS.SUBMISSION, formId, data === null || data === void 0 ? void 0 : (_data$submission3 = data.submission) === null || _data$submission3 === void 0 ? void 0 : _data$submission3.id], data === null || data === void 0 ? void 0 : data.submission);
|
|
6465
|
-
cov_2atpj3pe74().s[
|
|
6609
|
+
cov_2atpj3pe74().s[61]++;
|
|
6466
6610
|
queryClient.invalidateQueries([QUERY_KEYS.SUBMISSION, formId, data.submission.id]);
|
|
6467
|
-
cov_2atpj3pe74().s[
|
|
6611
|
+
cov_2atpj3pe74().s[62]++;
|
|
6468
6612
|
(cov_2atpj3pe74().b[6][0]++, options.onSuccess) && (cov_2atpj3pe74().b[6][1]++, options.onSuccess.apply(options, args));
|
|
6469
6613
|
}
|
|
6470
6614
|
}));
|
|
@@ -26562,7 +26706,7 @@ var StarRating$1 = function StarRating(_ref) {
|
|
|
26562
26706
|
|
|
26563
26707
|
function cov_12g0frjp3f() {
|
|
26564
26708
|
var path = "/home/runner/work/neeto-form-frontend/neeto-form-frontend/src/components/BuildForm/Questions/Fields/Terms.jsx";
|
|
26565
|
-
var hash = "
|
|
26709
|
+
var hash = "50a6a5478901569baa5371825dde943e5ebb13c4";
|
|
26566
26710
|
var global = new Function("return this")();
|
|
26567
26711
|
var gcv = "__coverage__";
|
|
26568
26712
|
var coverageData = {
|
|
@@ -26574,7 +26718,7 @@ function cov_12g0frjp3f() {
|
|
|
26574
26718
|
column: 14
|
|
26575
26719
|
},
|
|
26576
26720
|
end: {
|
|
26577
|
-
line:
|
|
26721
|
+
line: 36,
|
|
26578
26722
|
column: 1
|
|
26579
26723
|
}
|
|
26580
26724
|
},
|
|
@@ -26644,17 +26788,17 @@ function cov_12g0frjp3f() {
|
|
|
26644
26788
|
column: 2
|
|
26645
26789
|
},
|
|
26646
26790
|
end: {
|
|
26647
|
-
line:
|
|
26791
|
+
line: 35,
|
|
26648
26792
|
column: 4
|
|
26649
26793
|
}
|
|
26650
26794
|
},
|
|
26651
26795
|
"8": {
|
|
26652
26796
|
start: {
|
|
26653
|
-
line:
|
|
26797
|
+
line: 31,
|
|
26654
26798
|
column: 10
|
|
26655
26799
|
},
|
|
26656
26800
|
end: {
|
|
26657
|
-
line:
|
|
26801
|
+
line: 31,
|
|
26658
26802
|
column: 25
|
|
26659
26803
|
}
|
|
26660
26804
|
}
|
|
@@ -26678,7 +26822,7 @@ function cov_12g0frjp3f() {
|
|
|
26678
26822
|
column: 28
|
|
26679
26823
|
},
|
|
26680
26824
|
end: {
|
|
26681
|
-
line:
|
|
26825
|
+
line: 36,
|
|
26682
26826
|
column: 1
|
|
26683
26827
|
}
|
|
26684
26828
|
},
|
|
@@ -26712,25 +26856,25 @@ function cov_12g0frjp3f() {
|
|
|
26712
26856
|
name: "(anonymous_2)",
|
|
26713
26857
|
decl: {
|
|
26714
26858
|
start: {
|
|
26715
|
-
line:
|
|
26859
|
+
line: 30,
|
|
26716
26860
|
column: 18
|
|
26717
26861
|
},
|
|
26718
26862
|
end: {
|
|
26719
|
-
line:
|
|
26863
|
+
line: 30,
|
|
26720
26864
|
column: 19
|
|
26721
26865
|
}
|
|
26722
26866
|
},
|
|
26723
26867
|
loc: {
|
|
26724
26868
|
start: {
|
|
26725
|
-
line:
|
|
26869
|
+
line: 30,
|
|
26726
26870
|
column: 26
|
|
26727
26871
|
},
|
|
26728
26872
|
end: {
|
|
26729
|
-
line:
|
|
26873
|
+
line: 32,
|
|
26730
26874
|
column: 9
|
|
26731
26875
|
}
|
|
26732
26876
|
},
|
|
26733
|
-
line:
|
|
26877
|
+
line: 30
|
|
26734
26878
|
}
|
|
26735
26879
|
},
|
|
26736
26880
|
branchMap: {
|
|
@@ -26788,7 +26932,7 @@ function cov_12g0frjp3f() {
|
|
|
26788
26932
|
"0": [0, 0]
|
|
26789
26933
|
},
|
|
26790
26934
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
26791
|
-
hash: "
|
|
26935
|
+
hash: "50a6a5478901569baa5371825dde943e5ebb13c4"
|
|
26792
26936
|
};
|
|
26793
26937
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
26794
26938
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -26839,7 +26983,8 @@ var Terms$2 = function Terms(_ref) {
|
|
|
26839
26983
|
error: error,
|
|
26840
26984
|
id: "editor",
|
|
26841
26985
|
initialValue: value,
|
|
26842
|
-
|
|
26986
|
+
key: "".concat(name, ".label"),
|
|
26987
|
+
name: "".concat(name, ".label"),
|
|
26843
26988
|
ref: editorRef,
|
|
26844
26989
|
onChange: function onChange(text) {
|
|
26845
26990
|
cov_12g0frjp3f().f[2]++;
|
|
@@ -65352,5 +65497,5 @@ function cov_26ii2dyz6b() {
|
|
|
65352
65497
|
}
|
|
65353
65498
|
cov_26ii2dyz6b();
|
|
65354
65499
|
|
|
65355
|
-
export { BuildForm, ExternalForm, NeetoFormProvider, Submission, useBuildFormState, useFormSubmission };
|
|
65500
|
+
export { BuildForm, ExternalForm, NeetoFormProvider, Submission, useBuildFormState, useCreateForm, useDeleteForm, useForm, useFormSubmission, useForms, useUpdateForm };
|
|
65356
65501
|
//# sourceMappingURL=index.js.map
|