@zajno/common 1.2.6 → 1.3.0
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 +410 -144
- package/coverage/coverage-final.json +38 -30
- package/coverage/lcov-report/index.html +34 -19
- 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 +3 -3
- package/coverage/lcov-report/src/index.html +49 -19
- 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 +113 -41
- 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/{enumHelper.ts.html → src/viewModels/SelectModel.ts.html} +158 -152
- 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-report/transitionObserver.ts.html +77 -41
- package/coverage/lcov.info +765 -184
- package/lib/timeHelper.d.ts +3 -0
- package/lib/timeHelper.d.ts.map +1 -1
- package/lib/timeHelper.js +3 -0
- package/lib/timeHelper.js.map +1 -1
- package/lib/transitionObserver.d.ts +3 -1
- package/lib/transitionObserver.d.ts.map +1 -1
- package/lib/transitionObserver.js +25 -5
- package/lib/transitionObserver.js.map +1 -1
- 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/PromptModal.d.ts +31 -0
- package/lib/viewModels/PromptModal.d.ts.map +1 -0
- package/lib/viewModels/PromptModal.js +57 -0
- package/lib/viewModels/PromptModal.js.map +1 -0
- 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 -23
- 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/__tests__/transitionObserver.test.ts +10 -5
- package/src/timeHelper.ts +3 -0
- package/src/transitionObserver.ts +32 -8
- 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/PromptModal.ts +65 -0
- package/src/viewModels/SelectModel.ts +125 -0
- package/src/viewModels/{TextInputViewModel.ts → TextModel.ts} +22 -26
- 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/yarn-error.log +3709 -0
- package/lib/viewModels/PromptModalViewModel.d.ts +0 -27
- package/lib/viewModels/PromptModalViewModel.d.ts.map +0 -1
- package/lib/viewModels/PromptModalViewModel.js +0 -56
- package/lib/viewModels/PromptModalViewModel.js.map +0 -1
- 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/PromptModalViewModel.ts +0 -71
- 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="1637697071821" clover="3.2.0">
|
|
3
|
+
<project timestamp="1637697071822" 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="
|
|
7
|
-
<file name="enumHelper.ts" path="/Users/idudinov/projects/common-utils/src/enumHelper.ts">
|
|
6
|
+
<metrics statements="173" coveredstatements="151" conditionals="95" coveredconditionals="79" methods="64" coveredmethods="52"/>
|
|
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"/>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<line num="117" count="14" type="stmt"/>
|
|
58
58
|
<line num="121" count="1" type="stmt"/>
|
|
59
59
|
</file>
|
|
60
|
-
<file name="event.ts" path="/Users/idudinov/projects/common-utils/src/event.ts">
|
|
60
|
+
<file name="event.ts" path="/Users/idudinov/projects/zajno-common-utils/src/event.ts">
|
|
61
61
|
<metrics statements="23" coveredstatements="13" conditionals="6" coveredconditionals="4" methods="11" coveredmethods="4"/>
|
|
62
62
|
<line num="1" count="1" type="stmt"/>
|
|
63
63
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
<line num="28" count="1" type="stmt"/>
|
|
71
71
|
<line num="29" count="0" type="stmt"/>
|
|
72
72
|
<line num="34" count="0" type="stmt"/>
|
|
73
|
-
<line num="38" count="
|
|
74
|
-
<line num="39" count="
|
|
73
|
+
<line num="38" count="11" type="stmt"/>
|
|
74
|
+
<line num="39" count="11" type="stmt"/>
|
|
75
75
|
<line num="40" count="4" type="stmt"/>
|
|
76
76
|
<line num="41" count="4" type="stmt"/>
|
|
77
77
|
<line num="43" count="0" type="stmt"/>
|
|
@@ -83,8 +83,18 @@
|
|
|
83
83
|
<line num="60" count="0" type="stmt"/>
|
|
84
84
|
<line num="64" count="0" type="stmt"/>
|
|
85
85
|
</file>
|
|
86
|
-
<file name="
|
|
87
|
-
<metrics statements="
|
|
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>
|
|
96
|
+
<file name="transitionObserver.ts" path="/Users/idudinov/projects/zajno-common-utils/src/transitionObserver.ts">
|
|
97
|
+
<metrics statements="86" coveredstatements="77" conditionals="40" coveredconditionals="33" methods="22" coveredmethods="18"/>
|
|
88
98
|
<line num="1" count="1" type="stmt"/>
|
|
89
99
|
<line num="2" count="1" type="stmt"/>
|
|
90
100
|
<line num="3" count="1" type="stmt"/>
|
|
@@ -102,65 +112,90 @@
|
|
|
102
112
|
<line num="27" count="6" type="stmt"/>
|
|
103
113
|
<line num="31" count="1" type="stmt"/>
|
|
104
114
|
<line num="32" count="3" type="stmt"/>
|
|
105
|
-
<line num="
|
|
106
|
-
<line num="
|
|
107
|
-
<line num="37" count="7" type="stmt"/>
|
|
115
|
+
<line num="34" count="3" type="stmt"/>
|
|
116
|
+
<line num="35" count="19" type="stmt"/>
|
|
108
117
|
<line num="38" count="7" type="stmt"/>
|
|
109
118
|
<line num="39" count="7" type="stmt"/>
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="
|
|
113
|
-
<line num="
|
|
114
|
-
<line num="
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="
|
|
117
|
-
<line num="
|
|
118
|
-
<line num="
|
|
119
|
-
<line num="
|
|
120
|
-
<line num="
|
|
121
|
-
<line num="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="
|
|
127
|
-
<line num="
|
|
128
|
-
<line num="
|
|
129
|
-
<line num="
|
|
119
|
+
<line num="40" count="7" type="stmt"/>
|
|
120
|
+
<line num="41" count="7" type="stmt"/>
|
|
121
|
+
<line num="42" count="7" type="stmt"/>
|
|
122
|
+
<line num="46" count="3" type="stmt"/>
|
|
123
|
+
<line num="47" count="3" type="stmt"/>
|
|
124
|
+
<line num="51" count="5" type="stmt"/>
|
|
125
|
+
<line num="52" count="5" type="stmt"/>
|
|
126
|
+
<line num="56" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
127
|
+
<line num="57" count="0" type="stmt"/>
|
|
128
|
+
<line num="59" count="7" type="stmt"/>
|
|
129
|
+
<line num="60" count="7" type="stmt"/>
|
|
130
|
+
<line num="64" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
131
|
+
<line num="65" count="1" type="stmt"/>
|
|
132
|
+
<line num="67" count="1" type="stmt"/>
|
|
133
|
+
<line num="71" count="2" type="stmt"/>
|
|
134
|
+
<line num="72" count="2" type="stmt"/>
|
|
135
|
+
<line num="76" count="4" type="stmt"/>
|
|
136
|
+
<line num="80" count="0" type="stmt"/>
|
|
137
|
+
<line num="81" count="0" type="stmt"/>
|
|
138
|
+
<line num="85" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
139
|
+
<line num="86" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
140
|
+
<line num="87" count="0" type="stmt"/>
|
|
141
|
+
<line num="90" count="3" type="stmt"/>
|
|
142
|
+
<line num="91" count="3" type="stmt"/>
|
|
143
|
+
<line num="93" count="3" type="stmt"/>
|
|
144
|
+
<line num="94" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
130
145
|
<line num="95" count="0" type="stmt"/>
|
|
131
146
|
<line num="96" count="0" type="stmt"/>
|
|
132
|
-
<line num="
|
|
133
|
-
<line num="
|
|
134
|
-
<line num="
|
|
135
|
-
<line num="
|
|
136
|
-
<line num="
|
|
137
|
-
<line num="
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
140
|
-
<line num="
|
|
141
|
-
<line num="
|
|
142
|
-
<line num="
|
|
143
|
-
<line num="
|
|
144
|
-
<line num="
|
|
145
|
-
<line num="
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="129" count="
|
|
148
|
-
<line num="
|
|
149
|
-
<line num="
|
|
150
|
-
<line num="
|
|
151
|
-
<line num="
|
|
152
|
-
<line num="
|
|
153
|
-
<line num="141" count="
|
|
154
|
-
<line num="
|
|
155
|
-
<line num="
|
|
156
|
-
<line num="
|
|
157
|
-
<line num="
|
|
158
|
-
<line num="
|
|
147
|
+
<line num="100" count="3" type="stmt"/>
|
|
148
|
+
<line num="101" count="2" type="stmt"/>
|
|
149
|
+
<line num="102" count="2" type="stmt"/>
|
|
150
|
+
<line num="104" count="3" type="stmt"/>
|
|
151
|
+
<line num="106" count="3" type="stmt"/>
|
|
152
|
+
<line num="108" count="3" type="stmt"/>
|
|
153
|
+
<line num="112" count="0" type="stmt"/>
|
|
154
|
+
<line num="118" count="0" type="stmt"/>
|
|
155
|
+
<line num="119" count="0" type="stmt"/>
|
|
156
|
+
<line num="122" count="7" type="stmt"/>
|
|
157
|
+
<line num="123" count="12" type="stmt"/>
|
|
158
|
+
<line num="124" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
159
|
+
<line num="125" count="5" type="stmt"/>
|
|
160
|
+
<line num="126" count="5" type="stmt"/>
|
|
161
|
+
<line num="128" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
162
|
+
<line num="129" count="1" type="stmt"/>
|
|
163
|
+
<line num="133" count="7" type="stmt"/>
|
|
164
|
+
<line num="134" count="22" type="stmt"/>
|
|
165
|
+
<line num="136" count="22" type="cond" truecount="4" falsecount="0"/>
|
|
166
|
+
<line num="138" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
167
|
+
<line num="139" count="18" type="cond" truecount="4" falsecount="0"/>
|
|
168
|
+
<line num="141" count="14" type="cond" truecount="4" falsecount="0"/>
|
|
169
|
+
<line num="146" count="4" type="stmt"/>
|
|
170
|
+
<line num="149" count="22" type="stmt"/>
|
|
171
|
+
<line num="151" count="22" type="stmt"/>
|
|
172
|
+
<line num="153" count="22" type="cond" truecount="2" falsecount="0"/>
|
|
173
|
+
<line num="154" count="11" type="stmt"/>
|
|
174
|
+
<line num="156" count="11" type="cond" truecount="1" falsecount="1"/>
|
|
175
|
+
<line num="157" count="11" type="stmt"/>
|
|
176
|
+
<line num="160" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
177
|
+
<line num="161" count="1" type="stmt"/>
|
|
178
|
+
<line num="165" count="22" type="stmt"/>
|
|
179
|
+
<line num="169" count="3" type="stmt"/>
|
|
180
|
+
<line num="170" count="3" type="stmt"/>
|
|
181
|
+
<line num="171" count="3" type="stmt"/>
|
|
182
|
+
<line num="172" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
183
|
+
<line num="173" count="3" type="stmt"/>
|
|
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"/>
|
|
159
194
|
</file>
|
|
160
195
|
</package>
|
|
161
196
|
<package name="src.__tests__.helpers">
|
|
162
197
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
163
|
-
<file name="main.ts" path="/Users/idudinov/projects/common-utils/src/__tests__/helpers/main.ts">
|
|
198
|
+
<file name="main.ts" path="/Users/idudinov/projects/zajno-common-utils/src/__tests__/helpers/main.ts">
|
|
164
199
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
165
200
|
<line num="1" count="2" type="stmt"/>
|
|
166
201
|
<line num="2" count="2" type="stmt"/>
|
|
@@ -172,24 +207,24 @@
|
|
|
172
207
|
</package>
|
|
173
208
|
<package name="src.async">
|
|
174
209
|
<metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
175
|
-
<file name="arrays.ts" path="/Users/idudinov/projects/common-utils/src/async/arrays.ts">
|
|
210
|
+
<file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/async/arrays.ts">
|
|
176
211
|
<metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
177
|
-
<line num="3" count="
|
|
212
|
+
<line num="3" count="3" type="stmt"/>
|
|
178
213
|
<line num="4" count="0" type="stmt"/>
|
|
179
214
|
<line num="5" count="0" type="stmt"/>
|
|
180
215
|
<line num="6" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
181
216
|
<line num="7" count="0" type="stmt"/>
|
|
182
217
|
<line num="11" count="0" type="stmt"/>
|
|
183
|
-
<line num="14" count="
|
|
218
|
+
<line num="14" count="3" type="stmt"/>
|
|
184
219
|
<line num="15" count="0" type="stmt"/>
|
|
185
220
|
<line num="16" count="0" type="stmt"/>
|
|
186
221
|
<line num="17" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
187
222
|
<line num="18" count="0" type="stmt"/>
|
|
188
223
|
<line num="22" count="0" type="stmt"/>
|
|
189
|
-
<line num="25" count="
|
|
224
|
+
<line num="25" count="3" type="stmt"/>
|
|
190
225
|
<line num="26" count="0" type="stmt"/>
|
|
191
226
|
<line num="27" count="0" type="stmt"/>
|
|
192
|
-
<line num="31" count="
|
|
227
|
+
<line num="31" count="3" type="stmt"/>
|
|
193
228
|
<line num="32" count="0" type="stmt"/>
|
|
194
229
|
<line num="33" count="0" type="stmt"/>
|
|
195
230
|
<line num="34" count="0" type="stmt"/>
|
|
@@ -199,7 +234,7 @@
|
|
|
199
234
|
</package>
|
|
200
235
|
<package name="src.dates">
|
|
201
236
|
<metrics statements="332" coveredstatements="332" conditionals="289" coveredconditionals="284" methods="59" coveredmethods="59"/>
|
|
202
|
-
<file name="calc.ts" path="/Users/idudinov/projects/common-utils/src/dates/calc.ts">
|
|
237
|
+
<file name="calc.ts" path="/Users/idudinov/projects/zajno-common-utils/src/dates/calc.ts">
|
|
203
238
|
<metrics statements="40" coveredstatements="40" conditionals="30" coveredconditionals="29" methods="7" coveredmethods="7"/>
|
|
204
239
|
<line num="1" count="1" type="stmt"/>
|
|
205
240
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -242,7 +277,7 @@
|
|
|
242
277
|
<line num="69" count="1" type="stmt"/>
|
|
243
278
|
<line num="71" count="1" type="stmt"/>
|
|
244
279
|
</file>
|
|
245
|
-
<file name="convert.ts" path="/Users/idudinov/projects/common-utils/src/dates/convert.ts">
|
|
280
|
+
<file name="convert.ts" path="/Users/idudinov/projects/zajno-common-utils/src/dates/convert.ts">
|
|
246
281
|
<metrics statements="109" coveredstatements="109" conditionals="59" coveredconditionals="59" methods="18" coveredmethods="18"/>
|
|
247
282
|
<line num="1" count="1" type="stmt"/>
|
|
248
283
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -354,7 +389,7 @@
|
|
|
354
389
|
<line num="197" count="12" type="stmt"/>
|
|
355
390
|
<line num="201" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
356
391
|
</file>
|
|
357
|
-
<file name="datex.ts" path="/Users/idudinov/projects/common-utils/src/dates/datex.ts">
|
|
392
|
+
<file name="datex.ts" path="/Users/idudinov/projects/zajno-common-utils/src/dates/datex.ts">
|
|
358
393
|
<metrics statements="25" coveredstatements="25" conditionals="50" coveredconditionals="50" methods="4" coveredmethods="4"/>
|
|
359
394
|
<line num="3" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
360
395
|
<line num="4" count="1" type="stmt"/>
|
|
@@ -382,7 +417,7 @@
|
|
|
382
417
|
<line num="37" count="7" type="stmt"/>
|
|
383
418
|
<line num="40" count="329" type="cond" truecount="2" falsecount="0"/>
|
|
384
419
|
</file>
|
|
385
|
-
<file name="format.ts" path="/Users/idudinov/projects/common-utils/src/dates/format.ts">
|
|
420
|
+
<file name="format.ts" path="/Users/idudinov/projects/zajno-common-utils/src/dates/format.ts">
|
|
386
421
|
<metrics statements="51" coveredstatements="51" conditionals="54" coveredconditionals="53" methods="10" coveredmethods="10"/>
|
|
387
422
|
<line num="1" count="1" type="stmt"/>
|
|
388
423
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -436,7 +471,7 @@
|
|
|
436
471
|
<line num="96" count="8" type="stmt"/>
|
|
437
472
|
<line num="101" count="7" type="stmt"/>
|
|
438
473
|
</file>
|
|
439
|
-
<file name="index.ts" path="/Users/idudinov/projects/common-utils/src/dates/index.ts">
|
|
474
|
+
<file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/dates/index.ts">
|
|
440
475
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
441
476
|
<line num="1" count="1" type="stmt"/>
|
|
442
477
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -448,7 +483,7 @@
|
|
|
448
483
|
<line num="8" count="1" type="stmt"/>
|
|
449
484
|
<line num="9" count="1" type="stmt"/>
|
|
450
485
|
</file>
|
|
451
|
-
<file name="parse.ts" path="/Users/idudinov/projects/common-utils/src/dates/parse.ts">
|
|
486
|
+
<file name="parse.ts" path="/Users/idudinov/projects/zajno-common-utils/src/dates/parse.ts">
|
|
452
487
|
<metrics statements="7" coveredstatements="7" conditionals="5" coveredconditionals="5" methods="2" coveredmethods="2"/>
|
|
453
488
|
<line num="2" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
454
489
|
<line num="4" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -458,7 +493,7 @@
|
|
|
458
493
|
<line num="8" count="1" type="stmt"/>
|
|
459
494
|
<line num="10" count="1" type="stmt"/>
|
|
460
495
|
</file>
|
|
461
|
-
<file name="period.ts" path="/Users/idudinov/projects/common-utils/src/dates/period.ts">
|
|
496
|
+
<file name="period.ts" path="/Users/idudinov/projects/zajno-common-utils/src/dates/period.ts">
|
|
462
497
|
<metrics statements="11" coveredstatements="11" conditionals="7" coveredconditionals="6" methods="5" coveredmethods="5"/>
|
|
463
498
|
<line num="1" count="1" type="stmt"/>
|
|
464
499
|
<line num="5" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -472,7 +507,7 @@
|
|
|
472
507
|
<line num="19" count="1" type="stmt"/>
|
|
473
508
|
<line num="20" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
474
509
|
</file>
|
|
475
|
-
<file name="shift.ts" path="/Users/idudinov/projects/common-utils/src/dates/shift.ts">
|
|
510
|
+
<file name="shift.ts" path="/Users/idudinov/projects/zajno-common-utils/src/dates/shift.ts">
|
|
476
511
|
<metrics statements="54" coveredstatements="54" conditionals="22" coveredconditionals="22" methods="5" coveredmethods="5"/>
|
|
477
512
|
<line num="1" count="1" type="stmt"/>
|
|
478
513
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -529,7 +564,7 @@
|
|
|
529
564
|
<line num="88" count="32" type="stmt"/>
|
|
530
565
|
<line num="89" count="32" type="stmt"/>
|
|
531
566
|
</file>
|
|
532
|
-
<file name="types.ts" path="/Users/idudinov/projects/common-utils/src/dates/types.ts">
|
|
567
|
+
<file name="types.ts" path="/Users/idudinov/projects/zajno-common-utils/src/dates/types.ts">
|
|
533
568
|
<metrics statements="10" coveredstatements="10" conditionals="9" coveredconditionals="9" methods="2" coveredmethods="2"/>
|
|
534
569
|
<line num="5" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
535
570
|
<line num="6" count="1" type="stmt"/>
|
|
@@ -542,7 +577,7 @@
|
|
|
542
577
|
<line num="24" count="17" type="stmt"/>
|
|
543
578
|
<line num="27" count="3" type="stmt"/>
|
|
544
579
|
</file>
|
|
545
|
-
<file name="yearDate.ts" path="/Users/idudinov/projects/common-utils/src/dates/yearDate.ts">
|
|
580
|
+
<file name="yearDate.ts" path="/Users/idudinov/projects/zajno-common-utils/src/dates/yearDate.ts">
|
|
546
581
|
<metrics statements="16" coveredstatements="16" conditionals="53" coveredconditionals="51" methods="6" coveredmethods="6"/>
|
|
547
582
|
<line num="1" count="1" type="stmt"/>
|
|
548
583
|
<line num="6" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -564,7 +599,7 @@
|
|
|
564
599
|
</package>
|
|
565
600
|
<package name="src.logger">
|
|
566
601
|
<metrics statements="87" coveredstatements="65" conditionals="42" coveredconditionals="28" methods="30" coveredmethods="21"/>
|
|
567
|
-
<file name="console.ts" path="/Users/idudinov/projects/common-utils/src/logger/console.ts">
|
|
602
|
+
<file name="console.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/console.ts">
|
|
568
603
|
<metrics statements="25" coveredstatements="5" conditionals="11" coveredconditionals="1" methods="8" coveredmethods="1"/>
|
|
569
604
|
<line num="2" count="2" type="stmt"/>
|
|
570
605
|
<line num="4" count="2" type="stmt"/>
|
|
@@ -592,7 +627,7 @@
|
|
|
592
627
|
<line num="52" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
593
628
|
<line num="53" count="0" type="stmt"/>
|
|
594
629
|
</file>
|
|
595
|
-
<file name="index.ts" path="/Users/idudinov/projects/common-utils/src/logger/index.ts">
|
|
630
|
+
<file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/index.ts">
|
|
596
631
|
<metrics statements="27" coveredstatements="27" conditionals="12" coveredconditionals="12" methods="8" coveredmethods="7"/>
|
|
597
632
|
<line num="2" count="2" type="stmt"/>
|
|
598
633
|
<line num="3" count="2" type="stmt"/>
|
|
@@ -622,7 +657,7 @@
|
|
|
622
657
|
<line num="60" count="2" type="stmt"/>
|
|
623
658
|
<line num="62" count="2" type="stmt"/>
|
|
624
659
|
</file>
|
|
625
|
-
<file name="named.ts" path="/Users/idudinov/projects/common-utils/src/logger/named.ts">
|
|
660
|
+
<file name="named.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/named.ts">
|
|
626
661
|
<metrics statements="24" coveredstatements="23" conditionals="12" coveredconditionals="11" methods="11" coveredmethods="10"/>
|
|
627
662
|
<line num="3" count="2" type="stmt"/>
|
|
628
663
|
<line num="5" count="2" type="stmt"/>
|
|
@@ -649,7 +684,7 @@
|
|
|
649
684
|
<line num="44" count="44" type="stmt"/>
|
|
650
685
|
<line num="45" count="44" type="stmt"/>
|
|
651
686
|
</file>
|
|
652
|
-
<file name="proxy.ts" path="/Users/idudinov/projects/common-utils/src/logger/proxy.ts">
|
|
687
|
+
<file name="proxy.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/proxy.ts">
|
|
653
688
|
<metrics statements="11" coveredstatements="10" conditionals="7" coveredconditionals="4" methods="3" coveredmethods="3"/>
|
|
654
689
|
<line num="2" count="2" type="stmt"/>
|
|
655
690
|
<line num="4" count="2" type="stmt"/>
|
|
@@ -666,7 +701,7 @@
|
|
|
666
701
|
</package>
|
|
667
702
|
<package name="src.math">
|
|
668
703
|
<metrics statements="152" coveredstatements="152" conditionals="119" coveredconditionals="112" methods="34" coveredmethods="34"/>
|
|
669
|
-
<file name="arrays.ts" path="/Users/idudinov/projects/common-utils/src/math/arrays.ts">
|
|
704
|
+
<file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/arrays.ts">
|
|
670
705
|
<metrics statements="96" coveredstatements="96" conditionals="59" coveredconditionals="55" methods="24" coveredmethods="24"/>
|
|
671
706
|
<line num="1" count="3" type="stmt"/>
|
|
672
707
|
<line num="3" count="3" type="stmt"/>
|
|
@@ -765,7 +800,7 @@
|
|
|
765
800
|
<line num="170" count="1" type="stmt"/>
|
|
766
801
|
<line num="173" count="7" type="stmt"/>
|
|
767
802
|
</file>
|
|
768
|
-
<file name="calc.ts" path="/Users/idudinov/projects/common-utils/src/math/calc.ts">
|
|
803
|
+
<file name="calc.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/calc.ts">
|
|
769
804
|
<metrics statements="33" coveredstatements="33" conditionals="40" coveredconditionals="37" methods="7" coveredmethods="7"/>
|
|
770
805
|
<line num="2" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
771
806
|
<line num="3" count="13" type="cond" truecount="4" falsecount="0"/>
|
|
@@ -801,7 +836,7 @@
|
|
|
801
836
|
<line num="63" count="8" type="stmt"/>
|
|
802
837
|
<line num="64" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
803
838
|
</file>
|
|
804
|
-
<file name="distribution.ts" path="/Users/idudinov/projects/common-utils/src/math/distribution.ts">
|
|
839
|
+
<file name="distribution.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/distribution.ts">
|
|
805
840
|
<metrics statements="8" coveredstatements="8" conditionals="10" coveredconditionals="10" methods="1" coveredmethods="1"/>
|
|
806
841
|
<line num="8" count="3" type="stmt"/>
|
|
807
842
|
<line num="9" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
@@ -812,7 +847,7 @@
|
|
|
812
847
|
<line num="16" count="3" type="stmt"/>
|
|
813
848
|
<line num="19" count="4" type="stmt"/>
|
|
814
849
|
</file>
|
|
815
|
-
<file name="index.ts" path="/Users/idudinov/projects/common-utils/src/math/index.ts">
|
|
850
|
+
<file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/index.ts">
|
|
816
851
|
<metrics statements="15" coveredstatements="15" conditionals="10" coveredconditionals="10" methods="2" coveredmethods="2"/>
|
|
817
852
|
<line num="2" count="2" type="stmt"/>
|
|
818
853
|
<line num="3" count="2" type="stmt"/>
|
|
@@ -833,50 +868,50 @@
|
|
|
833
868
|
</package>
|
|
834
869
|
<package name="src.validation">
|
|
835
870
|
<metrics statements="87" coveredstatements="45" conditionals="58" coveredconditionals="6" methods="29" coveredmethods="4"/>
|
|
836
|
-
<file name="ValidationErrors.ts" path="/Users/idudinov/projects/common-utils/src/validation/ValidationErrors.ts">
|
|
871
|
+
<file name="ValidationErrors.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/ValidationErrors.ts">
|
|
837
872
|
<metrics statements="21" coveredstatements="21" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
838
|
-
<line num="1" count="
|
|
839
|
-
<line num="3" count="
|
|
840
|
-
<line num="4" count="
|
|
841
|
-
<line num="5" count="
|
|
842
|
-
<line num="6" count="
|
|
843
|
-
<line num="7" count="
|
|
844
|
-
<line num="8" count="
|
|
845
|
-
<line num="9" count="
|
|
846
|
-
<line num="10" count="
|
|
847
|
-
<line num="11" count="
|
|
848
|
-
<line num="12" count="
|
|
849
|
-
<line num="13" count="
|
|
850
|
-
<line num="14" count="
|
|
851
|
-
<line num="15" count="
|
|
852
|
-
<line num="17" count="
|
|
853
|
-
<line num="18" count="
|
|
854
|
-
<line num="19" count="
|
|
855
|
-
<line num="20" count="
|
|
856
|
-
<line num="21" count="
|
|
857
|
-
<line num="24" count="
|
|
858
|
-
<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"/>
|
|
859
894
|
</file>
|
|
860
|
-
<file name="creditCard.ts" path="/Users/idudinov/projects/common-utils/src/validation/creditCard.ts">
|
|
895
|
+
<file name="creditCard.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/creditCard.ts">
|
|
861
896
|
<metrics statements="7" coveredstatements="3" conditionals="8" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
862
|
-
<line num="1" count="
|
|
863
|
-
<line num="3" count="
|
|
897
|
+
<line num="1" count="4" type="stmt"/>
|
|
898
|
+
<line num="3" count="4" type="stmt"/>
|
|
864
899
|
<line num="12" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
865
900
|
<line num="16" count="0" type="stmt"/>
|
|
866
901
|
<line num="17" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
867
902
|
<line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
868
|
-
<line num="21" count="
|
|
903
|
+
<line num="21" count="4" type="stmt"/>
|
|
869
904
|
</file>
|
|
870
|
-
<file name="helpers.ts" path="/Users/idudinov/projects/common-utils/src/validation/helpers.ts">
|
|
905
|
+
<file name="helpers.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/helpers.ts">
|
|
871
906
|
<metrics statements="19" coveredstatements="5" conditionals="9" coveredconditionals="0" methods="5" coveredmethods="0"/>
|
|
872
|
-
<line num="1" count="
|
|
873
|
-
<line num="2" count="
|
|
874
|
-
<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"/>
|
|
875
910
|
<line num="5" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
876
|
-
<line num="8" count="
|
|
911
|
+
<line num="8" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
877
912
|
<line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
878
913
|
<line num="10" count="0" type="stmt"/>
|
|
879
|
-
<line num="14" count="
|
|
914
|
+
<line num="14" count="4" type="stmt"/>
|
|
880
915
|
<line num="19" count="0" type="stmt"/>
|
|
881
916
|
<line num="21" count="0" type="stmt"/>
|
|
882
917
|
<line num="22" count="0" type="stmt"/>
|
|
@@ -889,27 +924,27 @@
|
|
|
889
924
|
<line num="42" count="0" type="stmt"/>
|
|
890
925
|
<line num="46" count="0" type="stmt"/>
|
|
891
926
|
</file>
|
|
892
|
-
<file name="index.ts" path="/Users/idudinov/projects/common-utils/src/validation/index.ts">
|
|
927
|
+
<file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/index.ts">
|
|
893
928
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
894
|
-
<line num="1" count="
|
|
895
|
-
<line num="2" count="
|
|
896
|
-
<line num="3" count="
|
|
897
|
-
<line num="4" count="
|
|
898
|
-
<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"/>
|
|
899
934
|
</file>
|
|
900
|
-
<file name="types.ts" path="/Users/idudinov/projects/common-utils/src/validation/types.ts">
|
|
935
|
+
<file name="types.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/types.ts">
|
|
901
936
|
<metrics statements="4" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
902
|
-
<line num="8" count="
|
|
937
|
+
<line num="8" count="4" type="stmt"/>
|
|
903
938
|
<line num="9" count="0" type="stmt"/>
|
|
904
939
|
<line num="12" count="0" type="stmt"/>
|
|
905
940
|
<line num="13" count="0" type="stmt"/>
|
|
906
941
|
</file>
|
|
907
|
-
<file name="validators.ts" path="/Users/idudinov/projects/common-utils/src/validation/validators.ts">
|
|
942
|
+
<file name="validators.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/validators.ts">
|
|
908
943
|
<metrics statements="21" coveredstatements="6" conditionals="33" coveredconditionals="3" methods="13" coveredmethods="2"/>
|
|
909
|
-
<line num="1" count="
|
|
910
|
-
<line num="2" count="
|
|
911
|
-
<line num="4" count="
|
|
912
|
-
<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"/>
|
|
913
948
|
<line num="31" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
914
949
|
<line num="33" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
915
950
|
<line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -928,12 +963,12 @@
|
|
|
928
963
|
<line num="53" count="802" type="cond" truecount="2" falsecount="0"/>
|
|
929
964
|
<line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
930
965
|
</file>
|
|
931
|
-
<file name="wrappers.ts" path="/Users/idudinov/projects/common-utils/src/validation/wrappers.ts">
|
|
966
|
+
<file name="wrappers.ts" path="/Users/idudinov/projects/zajno-common-utils/src/validation/wrappers.ts">
|
|
932
967
|
<metrics statements="10" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="6" coveredmethods="0"/>
|
|
933
|
-
<line num="1" count="
|
|
934
|
-
<line num="3" count="
|
|
935
|
-
<line num="4" count="
|
|
936
|
-
<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"/>
|
|
937
972
|
<line num="8" count="0" type="stmt"/>
|
|
938
973
|
<line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
939
974
|
<line num="14" count="0" type="stmt"/>
|
|
@@ -942,5 +977,236 @@
|
|
|
942
977
|
<line num="23" count="0" type="stmt"/>
|
|
943
978
|
</file>
|
|
944
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>
|
|
945
1211
|
</project>
|
|
946
1212
|
</coverage>
|