@zajno/common 1.2.8 → 1.3.0-beta
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/coverage/clover.xml +312 -61
- package/coverage/coverage-final.json +17 -9
- package/coverage/lcov-report/index.html +33 -18
- package/coverage/lcov-report/src/__tests__/helpers/index.html +1 -1
- package/coverage/lcov-report/src/__tests__/helpers/main.ts.html +1 -1
- package/coverage/lcov-report/src/async/arrays.ts.html +5 -5
- package/coverage/lcov-report/src/async/index.html +1 -1
- package/coverage/lcov-report/src/dates/calc.ts.html +1 -1
- package/coverage/lcov-report/src/dates/convert.ts.html +1 -1
- package/coverage/lcov-report/src/dates/datex.ts.html +1 -1
- package/coverage/lcov-report/src/dates/format.ts.html +1 -1
- package/coverage/lcov-report/src/dates/index.html +1 -1
- package/coverage/lcov-report/src/dates/index.ts.html +1 -1
- package/coverage/lcov-report/src/dates/parse.ts.html +1 -1
- package/coverage/lcov-report/src/dates/period.ts.html +1 -1
- package/coverage/lcov-report/src/dates/shift.ts.html +1 -1
- package/coverage/lcov-report/src/dates/types.ts.html +1 -1
- package/coverage/lcov-report/src/dates/yearDate.ts.html +1 -1
- package/coverage/lcov-report/src/enumHelper.ts.html +11 -11
- package/coverage/lcov-report/src/event.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +39 -9
- package/coverage/lcov-report/src/lazy.light.ts.html +155 -0
- package/coverage/lcov-report/src/logger/console.ts.html +1 -1
- package/coverage/lcov-report/src/logger/index.html +1 -1
- package/coverage/lcov-report/src/logger/index.ts.html +1 -1
- package/coverage/lcov-report/src/logger/named.ts.html +1 -1
- package/coverage/lcov-report/src/logger/proxy.ts.html +1 -1
- package/coverage/lcov-report/src/math/arrays.ts.html +1 -1
- package/coverage/lcov-report/src/math/calc.ts.html +1 -1
- package/coverage/lcov-report/src/math/distribution.ts.html +1 -1
- package/coverage/lcov-report/src/math/index.html +1 -1
- package/coverage/lcov-report/src/math/index.ts.html +1 -1
- package/coverage/lcov-report/src/transitionObserver.ts.html +1 -1
- package/coverage/lcov-report/src/types.ts.html +143 -0
- package/coverage/lcov-report/src/validation/ValidationErrors.ts.html +22 -22
- package/coverage/lcov-report/src/validation/creditCard.ts.html +4 -4
- package/coverage/lcov-report/src/validation/helpers.ts.html +6 -6
- package/coverage/lcov-report/src/validation/index.html +1 -1
- package/coverage/lcov-report/src/validation/index.ts.html +6 -6
- package/coverage/lcov-report/src/validation/types.ts.html +2 -2
- package/coverage/lcov-report/src/validation/validators.ts.html +5 -5
- package/coverage/lcov-report/src/validation/wrappers.ts.html +5 -5
- package/coverage/lcov-report/src/viewModels/FlagModel.ts.html +209 -0
- package/coverage/lcov-report/src/viewModels/LabeledFlagModel.ts.html +146 -0
- package/coverage/lcov-report/src/viewModels/MultiSelectModel.ts.html +530 -0
- package/coverage/lcov-report/src/viewModels/NumberModel.ts.html +188 -0
- package/coverage/lcov-report/src/viewModels/SelectModel.ts.html +455 -0
- package/coverage/lcov-report/src/viewModels/SelectViewModel.ts.html +434 -0
- package/coverage/lcov-report/src/viewModels/Validatable.ts.html +329 -0
- package/coverage/lcov-report/src/viewModels/index.html +186 -0
- package/coverage/lcov-report/src/viewModels/wrappers.ts.html +239 -0
- package/coverage/lcov.info +619 -66
- package/lib/types.d.ts +5 -0
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js +14 -0
- package/lib/types.js.map +1 -1
- package/lib/viewModels/FlagModel.d.ts +19 -0
- package/lib/viewModels/FlagModel.d.ts.map +1 -0
- package/lib/viewModels/FlagModel.js +38 -0
- package/lib/viewModels/FlagModel.js.map +1 -0
- package/lib/viewModels/MultiSelectModel.d.ts +41 -0
- package/lib/viewModels/MultiSelectModel.d.ts.map +1 -0
- package/lib/viewModels/MultiSelectModel.js +150 -0
- package/lib/viewModels/MultiSelectModel.js.map +1 -0
- package/lib/viewModels/NumberModel.d.ts +16 -0
- package/lib/viewModels/NumberModel.d.ts.map +1 -0
- package/lib/viewModels/NumberModel.js +40 -0
- package/lib/viewModels/NumberModel.js.map +1 -0
- package/lib/viewModels/PromptModalViewModel.d.ts +20 -16
- package/lib/viewModels/PromptModalViewModel.d.ts.map +1 -1
- package/lib/viewModels/PromptModalViewModel.js +37 -36
- package/lib/viewModels/PromptModalViewModel.js.map +1 -1
- package/lib/viewModels/{SelectViewModel.d.ts → SelectModel.d.ts} +14 -8
- package/lib/viewModels/SelectModel.d.ts.map +1 -0
- package/lib/viewModels/SelectModel.js +109 -0
- package/lib/viewModels/SelectModel.js.map +1 -0
- package/lib/viewModels/{TextInputViewModel.d.ts → TextModel.d.ts} +10 -9
- package/lib/viewModels/TextModel.d.ts.map +1 -0
- package/lib/viewModels/{TextInputViewModel.js → TextModel.js} +8 -17
- package/lib/viewModels/TextModel.js.map +1 -0
- package/lib/viewModels/Validatable.d.ts +9 -7
- package/lib/viewModels/Validatable.d.ts.map +1 -1
- package/lib/viewModels/Validatable.js +22 -8
- package/lib/viewModels/Validatable.js.map +1 -1
- package/lib/viewModels/ValuesCollector.d.ts +28 -0
- package/lib/viewModels/ValuesCollector.d.ts.map +1 -0
- package/lib/viewModels/ValuesCollector.js +51 -0
- package/lib/viewModels/ValuesCollector.js.map +1 -0
- package/lib/viewModels/index.d.ts +7 -5
- package/lib/viewModels/index.d.ts.map +1 -1
- package/lib/viewModels/index.js +7 -5
- package/lib/viewModels/index.js.map +1 -1
- package/lib/viewModels/wrappers.d.ts +15 -0
- package/lib/viewModels/wrappers.d.ts.map +1 -0
- package/lib/viewModels/wrappers.js +43 -0
- package/lib/viewModels/wrappers.js.map +1 -0
- package/package.json +1 -1
- package/src/types.ts +16 -0
- package/src/viewModels/FlagModel.ts +43 -0
- package/src/viewModels/MultiSelectModel.ts +150 -0
- package/src/viewModels/NumberModel.ts +36 -0
- package/src/viewModels/PromptModalViewModel.ts +43 -49
- package/src/viewModels/SelectModel.ts +125 -0
- package/src/viewModels/{TextInputViewModel.ts → TextModel.ts} +22 -25
- package/src/viewModels/Validatable.ts +26 -11
- package/src/viewModels/ValuesCollector.ts +84 -0
- package/src/viewModels/__tests__/multiSelect.test.ts +23 -0
- package/src/viewModels/__tests__/select.test.ts +71 -0
- package/src/viewModels/__tests__/wrappers.test.ts +79 -0
- package/src/viewModels/index.ts +9 -5
- package/src/viewModels/wrappers.ts +53 -0
- package/lib/viewModels/RadioButtonGroupViewModel.d.ts +0 -11
- package/lib/viewModels/RadioButtonGroupViewModel.d.ts.map +0 -1
- package/lib/viewModels/RadioButtonGroupViewModel.js +0 -51
- package/lib/viewModels/RadioButtonGroupViewModel.js.map +0 -1
- package/lib/viewModels/RadioButtonViewModel.d.ts +0 -9
- package/lib/viewModels/RadioButtonViewModel.d.ts.map +0 -1
- package/lib/viewModels/RadioButtonViewModel.js +0 -32
- package/lib/viewModels/RadioButtonViewModel.js.map +0 -1
- package/lib/viewModels/SelectViewModel.d.ts.map +0 -1
- package/lib/viewModels/SelectViewModel.js +0 -88
- package/lib/viewModels/SelectViewModel.js.map +0 -1
- package/lib/viewModels/TextInputViewModel.d.ts.map +0 -1
- package/lib/viewModels/TextInputViewModel.js.map +0 -1
- package/src/viewModels/RadioButtonGroupViewModel.ts +0 -47
- package/src/viewModels/RadioButtonViewModel.ts +0 -26
- package/src/viewModels/SelectViewModel.ts +0 -88
package/coverage/clover.xml
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1637573855803" clover="3.2.0">
|
|
3
|
+
<project timestamp="1637573855803" name="All files">
|
|
4
|
+
<metrics statements="1068" coveredstatements="908" conditionals="658" coveredconditionals="537" methods="315" coveredmethods="221" elements="2041" coveredelements="1666" complexity="0" loc="1068" ncloc="1068" packages="8" files="38" classes="38"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="173" coveredstatements="151" conditionals="95" coveredconditionals="79" methods="64" coveredmethods="52"/>
|
|
7
7
|
<file name="enumHelper.ts" path="/Users/idudinov/projects/zajno-common-utils/src/enumHelper.ts">
|
|
8
8
|
<metrics statements="50" coveredstatements="50" conditionals="41" coveredconditionals="36" methods="25" coveredmethods="25"/>
|
|
9
|
-
<line num="1" count="
|
|
9
|
+
<line num="1" count="5" type="stmt"/>
|
|
10
10
|
<line num="2" count="1" type="stmt"/>
|
|
11
11
|
<line num="3" count="1" type="stmt"/>
|
|
12
12
|
<line num="6" count="1" type="stmt"/>
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
<line num="28" count="1" type="stmt"/>
|
|
22
22
|
<line num="30" count="3" type="stmt"/>
|
|
23
23
|
<line num="31" count="2" type="stmt"/>
|
|
24
|
-
<line num="39" count="
|
|
25
|
-
<line num="40" count="
|
|
26
|
-
<line num="41" count="
|
|
27
|
-
<line num="44" count="
|
|
28
|
-
<line num="45" count="
|
|
29
|
-
<line num="47" count="
|
|
30
|
-
<line num="48" count="
|
|
31
|
-
<line num="50" count="
|
|
24
|
+
<line num="39" count="5" type="stmt"/>
|
|
25
|
+
<line num="40" count="6" type="stmt"/>
|
|
26
|
+
<line num="41" count="6" type="stmt"/>
|
|
27
|
+
<line num="44" count="6" type="stmt"/>
|
|
28
|
+
<line num="45" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
29
|
+
<line num="47" count="6" type="stmt"/>
|
|
30
|
+
<line num="48" count="146" type="stmt"/>
|
|
31
|
+
<line num="50" count="73" type="stmt"/>
|
|
32
32
|
<line num="54" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
33
33
|
<line num="55" count="9" type="stmt"/>
|
|
34
34
|
<line num="61" count="1" type="stmt"/>
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
<line num="73" count="2" type="stmt"/>
|
|
41
41
|
<line num="75" count="7" type="stmt"/>
|
|
42
42
|
<line num="76" count="4" type="stmt"/>
|
|
43
|
-
<line num="82" count="
|
|
43
|
+
<line num="82" count="5" type="stmt"/>
|
|
44
44
|
<line num="84" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
45
45
|
<line num="85" count="1" type="stmt"/>
|
|
46
46
|
<line num="88" count="3" type="stmt"/>
|
|
@@ -83,6 +83,16 @@
|
|
|
83
83
|
<line num="60" count="0" type="stmt"/>
|
|
84
84
|
<line num="64" count="0" type="stmt"/>
|
|
85
85
|
</file>
|
|
86
|
+
<file name="lazy.light.ts" path="/Users/idudinov/projects/zajno-common-utils/src/lazy.light.ts">
|
|
87
|
+
<metrics statements="7" coveredstatements="6" conditionals="2" coveredconditionals="2" methods="4" coveredmethods="3"/>
|
|
88
|
+
<line num="9" count="2" type="stmt"/>
|
|
89
|
+
<line num="10" count="8" type="stmt"/>
|
|
90
|
+
<line num="14" count="19" type="cond" truecount="2" falsecount="0"/>
|
|
91
|
+
<line num="15" count="1" type="stmt"/>
|
|
92
|
+
<line num="17" count="19" type="stmt"/>
|
|
93
|
+
<line num="19" count="12" type="stmt"/>
|
|
94
|
+
<line num="21" count="0" type="stmt"/>
|
|
95
|
+
</file>
|
|
86
96
|
<file name="transitionObserver.ts" path="/Users/idudinov/projects/zajno-common-utils/src/transitionObserver.ts">
|
|
87
97
|
<metrics statements="86" coveredstatements="77" conditionals="40" coveredconditionals="33" methods="22" coveredmethods="18"/>
|
|
88
98
|
<line num="1" count="1" type="stmt"/>
|
|
@@ -172,6 +182,16 @@
|
|
|
172
182
|
<line num="172" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
173
183
|
<line num="173" count="3" type="stmt"/>
|
|
174
184
|
</file>
|
|
185
|
+
<file name="types.ts" path="/Users/idudinov/projects/zajno-common-utils/src/types.ts">
|
|
186
|
+
<metrics statements="7" coveredstatements="5" conditionals="6" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
187
|
+
<line num="9" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
188
|
+
<line num="10" count="3" type="stmt"/>
|
|
189
|
+
<line num="11" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
190
|
+
<line num="12" count="0" type="stmt"/>
|
|
191
|
+
<line num="14" count="13" type="cond" truecount="1" falsecount="1"/>
|
|
192
|
+
<line num="15" count="13" type="stmt"/>
|
|
193
|
+
<line num="17" count="0" type="stmt"/>
|
|
194
|
+
</file>
|
|
175
195
|
</package>
|
|
176
196
|
<package name="src.__tests__.helpers">
|
|
177
197
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
@@ -189,22 +209,22 @@
|
|
|
189
209
|
<metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
190
210
|
<file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/async/arrays.ts">
|
|
191
211
|
<metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
192
|
-
<line num="3" count="
|
|
212
|
+
<line num="3" count="3" type="stmt"/>
|
|
193
213
|
<line num="4" count="0" type="stmt"/>
|
|
194
214
|
<line num="5" count="0" type="stmt"/>
|
|
195
215
|
<line num="6" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
196
216
|
<line num="7" count="0" type="stmt"/>
|
|
197
217
|
<line num="11" count="0" type="stmt"/>
|
|
198
|
-
<line num="14" count="
|
|
218
|
+
<line num="14" count="3" type="stmt"/>
|
|
199
219
|
<line num="15" count="0" type="stmt"/>
|
|
200
220
|
<line num="16" count="0" type="stmt"/>
|
|
201
221
|
<line num="17" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
202
222
|
<line num="18" count="0" type="stmt"/>
|
|
203
223
|
<line num="22" count="0" type="stmt"/>
|
|
204
|
-
<line num="25" count="
|
|
224
|
+
<line num="25" count="3" type="stmt"/>
|
|
205
225
|
<line num="26" count="0" type="stmt"/>
|
|
206
226
|
<line num="27" count="0" type="stmt"/>
|
|
207
|
-
<line num="31" count="
|
|
227
|
+
<line num="31" count="3" type="stmt"/>
|
|
208
228
|
<line num="32" count="0" type="stmt"/>
|
|
209
229
|
<line num="33" count="0" type="stmt"/>
|
|
210
230
|
<line num="34" count="0" type="stmt"/>
|
|
@@ -850,48 +870,48 @@
|
|
|
850
870
|
<metrics statements="87" coveredstatements="45" conditionals="58" coveredconditionals="6" methods="29" coveredmethods="4"/>
|
|
851
871
|
<file name="ValidationErrors.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/ValidationErrors.ts">
|
|
852
872
|
<metrics statements="21" coveredstatements="21" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
853
|
-
<line num="1" count="
|
|
854
|
-
<line num="3" count="
|
|
855
|
-
<line num="4" count="
|
|
856
|
-
<line num="5" count="
|
|
857
|
-
<line num="6" count="
|
|
858
|
-
<line num="7" count="
|
|
859
|
-
<line num="8" count="
|
|
860
|
-
<line num="9" count="
|
|
861
|
-
<line num="10" count="
|
|
862
|
-
<line num="11" count="
|
|
863
|
-
<line num="12" count="
|
|
864
|
-
<line num="13" count="
|
|
865
|
-
<line num="14" count="
|
|
866
|
-
<line num="15" count="
|
|
867
|
-
<line num="17" count="
|
|
868
|
-
<line num="18" count="
|
|
869
|
-
<line num="19" count="
|
|
870
|
-
<line num="20" count="
|
|
871
|
-
<line num="21" count="
|
|
872
|
-
<line num="24" count="
|
|
873
|
-
<line num="25" count="
|
|
873
|
+
<line num="1" count="4" type="stmt"/>
|
|
874
|
+
<line num="3" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
875
|
+
<line num="4" count="4" type="stmt"/>
|
|
876
|
+
<line num="5" count="4" type="stmt"/>
|
|
877
|
+
<line num="6" count="4" type="stmt"/>
|
|
878
|
+
<line num="7" count="4" type="stmt"/>
|
|
879
|
+
<line num="8" count="4" type="stmt"/>
|
|
880
|
+
<line num="9" count="4" type="stmt"/>
|
|
881
|
+
<line num="10" count="4" type="stmt"/>
|
|
882
|
+
<line num="11" count="4" type="stmt"/>
|
|
883
|
+
<line num="12" count="4" type="stmt"/>
|
|
884
|
+
<line num="13" count="4" type="stmt"/>
|
|
885
|
+
<line num="14" count="4" type="stmt"/>
|
|
886
|
+
<line num="15" count="4" type="stmt"/>
|
|
887
|
+
<line num="17" count="4" type="stmt"/>
|
|
888
|
+
<line num="18" count="4" type="stmt"/>
|
|
889
|
+
<line num="19" count="4" type="stmt"/>
|
|
890
|
+
<line num="20" count="4" type="stmt"/>
|
|
891
|
+
<line num="21" count="4" type="stmt"/>
|
|
892
|
+
<line num="24" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
893
|
+
<line num="25" count="4" type="stmt"/>
|
|
874
894
|
</file>
|
|
875
895
|
<file name="creditCard.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/creditCard.ts">
|
|
876
896
|
<metrics statements="7" coveredstatements="3" conditionals="8" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
877
|
-
<line num="1" count="
|
|
878
|
-
<line num="3" count="
|
|
897
|
+
<line num="1" count="4" type="stmt"/>
|
|
898
|
+
<line num="3" count="4" type="stmt"/>
|
|
879
899
|
<line num="12" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
880
900
|
<line num="16" count="0" type="stmt"/>
|
|
881
901
|
<line num="17" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
882
902
|
<line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
883
|
-
<line num="21" count="
|
|
903
|
+
<line num="21" count="4" type="stmt"/>
|
|
884
904
|
</file>
|
|
885
905
|
<file name="helpers.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/helpers.ts">
|
|
886
906
|
<metrics statements="19" coveredstatements="5" conditionals="9" coveredconditionals="0" methods="5" coveredmethods="0"/>
|
|
887
|
-
<line num="1" count="
|
|
888
|
-
<line num="2" count="
|
|
889
|
-
<line num="4" count="
|
|
907
|
+
<line num="1" count="4" type="stmt"/>
|
|
908
|
+
<line num="2" count="4" type="stmt"/>
|
|
909
|
+
<line num="4" count="4" type="stmt"/>
|
|
890
910
|
<line num="5" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
891
|
-
<line num="8" count="
|
|
911
|
+
<line num="8" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
892
912
|
<line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
893
913
|
<line num="10" count="0" type="stmt"/>
|
|
894
|
-
<line num="14" count="
|
|
914
|
+
<line num="14" count="4" type="stmt"/>
|
|
895
915
|
<line num="19" count="0" type="stmt"/>
|
|
896
916
|
<line num="21" count="0" type="stmt"/>
|
|
897
917
|
<line num="22" count="0" type="stmt"/>
|
|
@@ -906,25 +926,25 @@
|
|
|
906
926
|
</file>
|
|
907
927
|
<file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/index.ts">
|
|
908
928
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
909
|
-
<line num="1" count="
|
|
910
|
-
<line num="2" count="
|
|
911
|
-
<line num="3" count="
|
|
912
|
-
<line num="4" count="
|
|
913
|
-
<line num="5" count="
|
|
929
|
+
<line num="1" count="4" type="stmt"/>
|
|
930
|
+
<line num="2" count="4" type="stmt"/>
|
|
931
|
+
<line num="3" count="4" type="stmt"/>
|
|
932
|
+
<line num="4" count="4" type="stmt"/>
|
|
933
|
+
<line num="5" count="4" type="stmt"/>
|
|
914
934
|
</file>
|
|
915
935
|
<file name="types.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/types.ts">
|
|
916
936
|
<metrics statements="4" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
917
|
-
<line num="8" count="
|
|
937
|
+
<line num="8" count="4" type="stmt"/>
|
|
918
938
|
<line num="9" count="0" type="stmt"/>
|
|
919
939
|
<line num="12" count="0" type="stmt"/>
|
|
920
940
|
<line num="13" count="0" type="stmt"/>
|
|
921
941
|
</file>
|
|
922
942
|
<file name="validators.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/validators.ts">
|
|
923
943
|
<metrics statements="21" coveredstatements="6" conditionals="33" coveredconditionals="3" methods="13" coveredmethods="2"/>
|
|
924
|
-
<line num="1" count="
|
|
925
|
-
<line num="2" count="
|
|
926
|
-
<line num="4" count="
|
|
927
|
-
<line num="29" count="
|
|
944
|
+
<line num="1" count="4" type="stmt"/>
|
|
945
|
+
<line num="2" count="4" type="stmt"/>
|
|
946
|
+
<line num="4" count="4" type="stmt"/>
|
|
947
|
+
<line num="29" count="4" type="stmt"/>
|
|
928
948
|
<line num="31" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
929
949
|
<line num="33" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
930
950
|
<line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -945,10 +965,10 @@
|
|
|
945
965
|
</file>
|
|
946
966
|
<file name="wrappers.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/wrappers.ts">
|
|
947
967
|
<metrics statements="10" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="6" coveredmethods="0"/>
|
|
948
|
-
<line num="1" count="
|
|
949
|
-
<line num="3" count="
|
|
950
|
-
<line num="4" count="
|
|
951
|
-
<line num="6" count="
|
|
968
|
+
<line num="1" count="4" type="stmt"/>
|
|
969
|
+
<line num="3" count="4" type="stmt"/>
|
|
970
|
+
<line num="4" count="4" type="stmt"/>
|
|
971
|
+
<line num="6" count="4" type="stmt"/>
|
|
952
972
|
<line num="8" count="0" type="stmt"/>
|
|
953
973
|
<line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
954
974
|
<line num="14" count="0" type="stmt"/>
|
|
@@ -957,5 +977,236 @@
|
|
|
957
977
|
<line num="23" count="0" type="stmt"/>
|
|
958
978
|
</file>
|
|
959
979
|
</package>
|
|
980
|
+
<package name="src.viewModels">
|
|
981
|
+
<metrics statements="210" coveredstatements="153" conditionals="51" coveredconditionals="28" methods="93" coveredmethods="49"/>
|
|
982
|
+
<file name="FlagModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/FlagModel.ts">
|
|
983
|
+
<metrics statements="11" coveredstatements="9" conditionals="1" coveredconditionals="1" methods="5" coveredmethods="3"/>
|
|
984
|
+
<line num="1" count="3" type="stmt"/>
|
|
985
|
+
<line num="16" count="3" type="stmt"/>
|
|
986
|
+
<line num="19" count="14" type="stmt"/>
|
|
987
|
+
<line num="22" count="14" type="stmt"/>
|
|
988
|
+
<line num="23" count="14" type="stmt"/>
|
|
989
|
+
<line num="27" count="39" type="stmt"/>
|
|
990
|
+
<line num="31" count="38" type="stmt"/>
|
|
991
|
+
<line num="35" count="14" type="stmt"/>
|
|
992
|
+
<line num="36" count="0" type="stmt"/>
|
|
993
|
+
<line num="40" count="14" type="stmt"/>
|
|
994
|
+
<line num="41" count="0" type="stmt"/>
|
|
995
|
+
</file>
|
|
996
|
+
<file name="MultiSelectModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/MultiSelectModel.ts">
|
|
997
|
+
<metrics statements="75" coveredstatements="37" conditionals="10" coveredconditionals="0" methods="36" coveredmethods="8"/>
|
|
998
|
+
<line num="1" count="1" type="stmt"/>
|
|
999
|
+
<line num="2" count="1" type="stmt"/>
|
|
1000
|
+
<line num="3" count="1" type="stmt"/>
|
|
1001
|
+
<line num="4" count="1" type="stmt"/>
|
|
1002
|
+
<line num="6" count="1" type="stmt"/>
|
|
1003
|
+
<line num="8" count="1" type="stmt"/>
|
|
1004
|
+
<line num="11" count="3" type="stmt"/>
|
|
1005
|
+
<line num="13" count="3" type="stmt"/>
|
|
1006
|
+
<line num="14" count="3" type="stmt"/>
|
|
1007
|
+
<line num="16" count="3" type="stmt"/>
|
|
1008
|
+
<line num="17" count="3" type="stmt"/>
|
|
1009
|
+
<line num="20" count="3" type="stmt"/>
|
|
1010
|
+
<line num="21" count="3" type="stmt"/>
|
|
1011
|
+
<line num="24" count="3" type="stmt"/>
|
|
1012
|
+
<line num="25" count="3" type="stmt"/>
|
|
1013
|
+
<line num="26" count="3" type="stmt"/>
|
|
1014
|
+
<line num="27" count="3" type="stmt"/>
|
|
1015
|
+
<line num="31" count="1" type="stmt"/>
|
|
1016
|
+
<line num="33" count="1" type="stmt"/>
|
|
1017
|
+
<line num="35" count="0" type="stmt"/>
|
|
1018
|
+
<line num="38" count="1" type="stmt"/>
|
|
1019
|
+
<line num="39" count="4" type="stmt"/>
|
|
1020
|
+
<line num="43" count="1" type="stmt"/>
|
|
1021
|
+
<line num="44" count="0" type="stmt"/>
|
|
1022
|
+
<line num="48" count="1" type="stmt"/>
|
|
1023
|
+
<line num="49" count="0" type="stmt"/>
|
|
1024
|
+
<line num="50" count="0" type="stmt"/>
|
|
1025
|
+
<line num="53" count="0" type="stmt"/>
|
|
1026
|
+
<line num="54" count="0" type="stmt"/>
|
|
1027
|
+
<line num="56" count="1" type="stmt"/>
|
|
1028
|
+
<line num="57" count="0" type="stmt"/>
|
|
1029
|
+
<line num="59" count="0" type="stmt"/>
|
|
1030
|
+
<line num="61" count="0" type="stmt"/>
|
|
1031
|
+
<line num="63" count="3" type="stmt"/>
|
|
1032
|
+
<line num="64" count="0" type="stmt"/>
|
|
1033
|
+
<line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1034
|
+
<line num="66" count="0" type="stmt"/>
|
|
1035
|
+
<line num="70" count="3" type="stmt"/>
|
|
1036
|
+
<line num="71" count="3" type="stmt"/>
|
|
1037
|
+
<line num="74" count="3" type="stmt"/>
|
|
1038
|
+
<line num="75" count="0" type="stmt"/>
|
|
1039
|
+
<line num="78" count="3" type="stmt"/>
|
|
1040
|
+
<line num="79" count="0" type="stmt"/>
|
|
1041
|
+
<line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1042
|
+
<line num="81" count="0" type="stmt"/>
|
|
1043
|
+
<line num="85" count="3" type="stmt"/>
|
|
1044
|
+
<line num="86" count="3" type="stmt"/>
|
|
1045
|
+
<line num="89" count="3" type="stmt"/>
|
|
1046
|
+
<line num="90" count="0" type="stmt"/>
|
|
1047
|
+
<line num="94" count="3" type="stmt"/>
|
|
1048
|
+
<line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1049
|
+
<line num="96" count="0" type="stmt"/>
|
|
1050
|
+
<line num="99" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1051
|
+
<line num="100" count="0" type="stmt"/>
|
|
1052
|
+
<line num="102" count="0" type="stmt"/>
|
|
1053
|
+
<line num="105" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1054
|
+
<line num="106" count="0" type="stmt"/>
|
|
1055
|
+
<line num="109" count="0" type="stmt"/>
|
|
1056
|
+
<line num="110" count="0" type="stmt"/>
|
|
1057
|
+
<line num="111" count="0" type="stmt"/>
|
|
1058
|
+
<line num="113" count="0" type="stmt"/>
|
|
1059
|
+
<line num="117" count="3" type="stmt"/>
|
|
1060
|
+
<line num="118" count="0" type="stmt"/>
|
|
1061
|
+
<line num="119" count="0" type="stmt"/>
|
|
1062
|
+
<line num="123" count="3" type="stmt"/>
|
|
1063
|
+
<line num="124" count="3" type="stmt"/>
|
|
1064
|
+
<line num="128" count="0" type="stmt"/>
|
|
1065
|
+
<line num="130" count="0" type="stmt"/>
|
|
1066
|
+
<line num="132" count="0" type="stmt"/>
|
|
1067
|
+
<line num="136" count="0" type="stmt"/>
|
|
1068
|
+
<line num="137" count="0" type="stmt"/>
|
|
1069
|
+
<line num="139" count="0" type="stmt"/>
|
|
1070
|
+
<line num="141" count="0" type="stmt"/>
|
|
1071
|
+
<line num="145" count="1" type="stmt"/>
|
|
1072
|
+
<line num="148" count="0" type="stmt"/>
|
|
1073
|
+
</file>
|
|
1074
|
+
<file name="NumberModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/NumberModel.ts">
|
|
1075
|
+
<metrics statements="14" coveredstatements="13" conditionals="3" coveredconditionals="1" methods="6" coveredmethods="3"/>
|
|
1076
|
+
<line num="1" count="1" type="stmt"/>
|
|
1077
|
+
<line num="8" count="1" type="stmt"/>
|
|
1078
|
+
<line num="11" count="3" type="stmt"/>
|
|
1079
|
+
<line num="13" count="3" type="stmt"/>
|
|
1080
|
+
<line num="16" count="3" type="stmt"/>
|
|
1081
|
+
<line num="17" count="3" type="stmt"/>
|
|
1082
|
+
<line num="18" count="3" type="stmt"/>
|
|
1083
|
+
<line num="21" count="2" type="stmt"/>
|
|
1084
|
+
<line num="22" count="1" type="stmt"/>
|
|
1085
|
+
<line num="25" count="3" type="stmt"/>
|
|
1086
|
+
<line num="26" count="0" type="stmt"/>
|
|
1087
|
+
<line num="30" count="3" type="cond" truecount="0" falsecount="1"/>
|
|
1088
|
+
<line num="33" count="3" type="cond" truecount="0" falsecount="1"/>
|
|
1089
|
+
<line num="36" count="1" type="stmt"/>
|
|
1090
|
+
</file>
|
|
1091
|
+
<file name="SelectModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/SelectModel.ts">
|
|
1092
|
+
<metrics statements="55" coveredstatements="53" conditionals="16" coveredconditionals="15" methods="24" coveredmethods="22"/>
|
|
1093
|
+
<line num="1" count="1" type="stmt"/>
|
|
1094
|
+
<line num="2" count="1" type="stmt"/>
|
|
1095
|
+
<line num="3" count="1" type="stmt"/>
|
|
1096
|
+
<line num="4" count="1" type="stmt"/>
|
|
1097
|
+
<line num="6" count="1" type="stmt"/>
|
|
1098
|
+
<line num="8" count="1" type="stmt"/>
|
|
1099
|
+
<line num="10" count="5" type="stmt"/>
|
|
1100
|
+
<line num="12" count="5" type="stmt"/>
|
|
1101
|
+
<line num="13" count="5" type="stmt"/>
|
|
1102
|
+
<line num="14" count="5" type="stmt"/>
|
|
1103
|
+
<line num="16" count="5" type="stmt"/>
|
|
1104
|
+
<line num="19" count="5" type="stmt"/>
|
|
1105
|
+
<line num="20" count="5" type="stmt"/>
|
|
1106
|
+
<line num="23" count="5" type="stmt"/>
|
|
1107
|
+
<line num="24" count="5" type="stmt"/>
|
|
1108
|
+
<line num="26" count="5" type="stmt"/>
|
|
1109
|
+
<line num="27" count="5" type="stmt"/>
|
|
1110
|
+
<line num="30" count="1" type="stmt"/>
|
|
1111
|
+
<line num="33" count="1" type="stmt"/>
|
|
1112
|
+
<line num="34" count="34" type="stmt"/>
|
|
1113
|
+
<line num="38" count="8" type="stmt"/>
|
|
1114
|
+
<line num="42" count="1" type="stmt"/>
|
|
1115
|
+
<line num="45" count="0" type="stmt"/>
|
|
1116
|
+
<line num="47" count="6" type="stmt"/>
|
|
1117
|
+
<line num="48" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1118
|
+
<line num="51" count="0" type="stmt"/>
|
|
1119
|
+
<line num="53" count="4" type="stmt"/>
|
|
1120
|
+
<line num="54" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
1121
|
+
<line num="55" count="3" type="stmt"/>
|
|
1122
|
+
<line num="60" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
1123
|
+
<line num="64" count="5" type="stmt"/>
|
|
1124
|
+
<line num="65" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1125
|
+
<line num="66" count="4" type="stmt"/>
|
|
1126
|
+
<line num="71" count="11" type="stmt"/>
|
|
1127
|
+
<line num="75" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
1128
|
+
<line num="76" count="4" type="stmt"/>
|
|
1129
|
+
<line num="79" count="12" type="stmt"/>
|
|
1130
|
+
<line num="82" count="12" type="stmt"/>
|
|
1131
|
+
<line num="83" count="12" type="stmt"/>
|
|
1132
|
+
<line num="85" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
1133
|
+
<line num="86" count="33" type="stmt"/>
|
|
1134
|
+
<line num="89" count="12" type="stmt"/>
|
|
1135
|
+
<line num="93" count="5" type="stmt"/>
|
|
1136
|
+
<line num="94" count="1" type="stmt"/>
|
|
1137
|
+
<line num="95" count="1" type="stmt"/>
|
|
1138
|
+
<line num="99" count="1" type="stmt"/>
|
|
1139
|
+
<line num="101" count="3" type="stmt"/>
|
|
1140
|
+
<line num="103" count="9" type="stmt"/>
|
|
1141
|
+
<line num="107" count="18" type="stmt"/>
|
|
1142
|
+
<line num="108" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
1143
|
+
<line num="109" count="7" type="stmt"/>
|
|
1144
|
+
<line num="113" count="3" type="stmt"/>
|
|
1145
|
+
<line num="116" count="1" type="stmt"/>
|
|
1146
|
+
<line num="121" count="1" type="stmt"/>
|
|
1147
|
+
<line num="123" count="3" type="stmt"/>
|
|
1148
|
+
</file>
|
|
1149
|
+
<file name="Validatable.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/Validatable.ts">
|
|
1150
|
+
<metrics statements="36" coveredstatements="25" conditionals="21" coveredconditionals="11" methods="12" coveredmethods="6"/>
|
|
1151
|
+
<line num="1" count="2" type="stmt"/>
|
|
1152
|
+
<line num="2" count="2" type="stmt"/>
|
|
1153
|
+
<line num="3" count="2" type="stmt"/>
|
|
1154
|
+
<line num="13" count="2" type="stmt"/>
|
|
1155
|
+
<line num="14" count="2" type="stmt"/>
|
|
1156
|
+
<line num="16" count="8" type="stmt"/>
|
|
1157
|
+
<line num="17" count="8" type="stmt"/>
|
|
1158
|
+
<line num="20" count="8" type="stmt"/>
|
|
1159
|
+
<line num="22" count="8" type="stmt"/>
|
|
1160
|
+
<line num="25" count="8" type="stmt"/>
|
|
1161
|
+
<line num="26" count="8" type="stmt"/>
|
|
1162
|
+
<line num="31" count="0" type="stmt"/>
|
|
1163
|
+
<line num="33" count="1" type="stmt"/>
|
|
1164
|
+
<line num="36" count="8" type="cond" truecount="5" falsecount="1"/>
|
|
1165
|
+
<line num="37" count="8" type="cond" truecount="3" falsecount="1"/>
|
|
1166
|
+
<line num="38" count="8" type="stmt"/>
|
|
1167
|
+
<line num="42" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1168
|
+
<line num="43" count="0" type="stmt"/>
|
|
1169
|
+
<line num="46" count="1" type="stmt"/>
|
|
1170
|
+
<line num="47" count="1" type="stmt"/>
|
|
1171
|
+
<line num="48" count="1" type="stmt"/>
|
|
1172
|
+
<line num="52" count="0" type="stmt"/>
|
|
1173
|
+
<line num="55" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1174
|
+
<line num="56" count="1" type="stmt"/>
|
|
1175
|
+
<line num="58" count="0" type="stmt"/>
|
|
1176
|
+
<line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1177
|
+
<line num="61" count="1" type="stmt"/>
|
|
1178
|
+
<line num="65" count="0" type="stmt"/>
|
|
1179
|
+
<line num="66" count="0" type="stmt"/>
|
|
1180
|
+
<line num="70" count="2" type="stmt"/>
|
|
1181
|
+
<line num="71" count="1" type="stmt"/>
|
|
1182
|
+
<line num="72" count="1" type="stmt"/>
|
|
1183
|
+
<line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1184
|
+
<line num="77" count="0" type="stmt"/>
|
|
1185
|
+
<line num="80" count="0" type="stmt"/>
|
|
1186
|
+
<line num="81" count="0" type="stmt"/>
|
|
1187
|
+
</file>
|
|
1188
|
+
<file name="wrappers.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/wrappers.ts">
|
|
1189
|
+
<metrics statements="19" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="10" coveredmethods="7"/>
|
|
1190
|
+
<line num="1" count="3" type="stmt"/>
|
|
1191
|
+
<line num="8" count="3" type="stmt"/>
|
|
1192
|
+
<line num="9" count="6" type="stmt"/>
|
|
1193
|
+
<line num="10" count="6" type="stmt"/>
|
|
1194
|
+
<line num="13" count="13" type="stmt"/>
|
|
1195
|
+
<line num="16" count="6" type="stmt"/>
|
|
1196
|
+
<line num="19" count="3" type="stmt"/>
|
|
1197
|
+
<line num="20" count="3" type="stmt"/>
|
|
1198
|
+
<line num="23" count="6" type="stmt"/>
|
|
1199
|
+
<line num="24" count="3" type="stmt"/>
|
|
1200
|
+
<line num="27" count="3" type="stmt"/>
|
|
1201
|
+
<line num="30" count="3" type="stmt"/>
|
|
1202
|
+
<line num="31" count="0" type="stmt"/>
|
|
1203
|
+
<line num="32" count="0" type="stmt"/>
|
|
1204
|
+
<line num="33" count="0" type="stmt"/>
|
|
1205
|
+
<line num="43" count="3" type="stmt"/>
|
|
1206
|
+
<line num="47" count="2" type="stmt"/>
|
|
1207
|
+
<line num="48" count="2" type="stmt"/>
|
|
1208
|
+
<line num="52" count="1" type="stmt"/>
|
|
1209
|
+
</file>
|
|
1210
|
+
</package>
|
|
960
1211
|
</project>
|
|
961
1212
|
</coverage>
|