@zajno/common 1.3.0-beta → 1.3.3

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.
Files changed (152) hide show
  1. package/.github/workflows/CI.yml +8 -0
  2. package/coverage/clover.xml +428 -360
  3. package/coverage/coverage-final.json +20 -19
  4. package/coverage/lcov-report/index.html +44 -44
  5. package/coverage/lcov-report/src/__tests__/helpers/index.html +1 -1
  6. package/coverage/lcov-report/src/__tests__/helpers/main.ts.html +2 -2
  7. package/coverage/lcov-report/src/async/arrays.ts.html +1 -1
  8. package/coverage/lcov-report/src/async/index.html +1 -1
  9. package/coverage/lcov-report/src/dates/calc.ts.html +1 -1
  10. package/coverage/lcov-report/src/dates/convert.ts.html +1 -1
  11. package/coverage/lcov-report/src/dates/datex.ts.html +1 -1
  12. package/coverage/lcov-report/src/dates/format.ts.html +1 -1
  13. package/coverage/lcov-report/src/dates/index.html +1 -1
  14. package/coverage/lcov-report/src/dates/index.ts.html +1 -1
  15. package/coverage/lcov-report/src/dates/parse.ts.html +1 -1
  16. package/coverage/lcov-report/src/dates/period.ts.html +1 -1
  17. package/coverage/lcov-report/src/dates/shift.ts.html +1 -1
  18. package/coverage/lcov-report/src/dates/types.ts.html +1 -1
  19. package/coverage/lcov-report/src/dates/yearDate.ts.html +1 -1
  20. package/coverage/lcov-report/src/enumHelper.ts.html +1 -1
  21. package/coverage/lcov-report/src/event.ts.html +3 -3
  22. package/coverage/lcov-report/src/index.html +21 -21
  23. package/coverage/lcov-report/src/lazy.light.ts.html +3 -3
  24. package/coverage/lcov-report/src/logger/batch.ts.html +107 -0
  25. package/coverage/lcov-report/src/logger/console.ts.html +10 -25
  26. package/coverage/lcov-report/src/logger/index.html +54 -39
  27. package/coverage/lcov-report/src/logger/index.ts.html +88 -61
  28. package/coverage/lcov-report/src/logger/named.ts.html +31 -31
  29. package/coverage/lcov-report/src/logger/proxy.ts.html +13 -13
  30. package/coverage/lcov-report/src/math/arrays.ts.html +293 -32
  31. package/coverage/lcov-report/src/math/calc.ts.html +11 -11
  32. package/coverage/lcov-report/src/math/distribution.ts.html +2 -2
  33. package/coverage/lcov-report/src/math/index.html +11 -11
  34. package/coverage/lcov-report/src/math/index.ts.html +6 -6
  35. package/coverage/lcov-report/src/transitionObserver.ts.html +5 -5
  36. package/coverage/lcov-report/src/types.ts.html +33 -18
  37. package/coverage/lcov-report/src/validation/ValidationErrors.ts.html +1 -1
  38. package/coverage/lcov-report/src/validation/creditCard.ts.html +1 -1
  39. package/coverage/lcov-report/src/validation/helpers.ts.html +1 -1
  40. package/coverage/lcov-report/src/validation/index.html +1 -1
  41. package/coverage/lcov-report/src/validation/index.ts.html +1 -1
  42. package/coverage/lcov-report/src/validation/types.ts.html +1 -1
  43. package/coverage/lcov-report/src/validation/validators.ts.html +1 -1
  44. package/coverage/lcov-report/src/validation/wrappers.ts.html +1 -1
  45. package/coverage/lcov-report/src/viewModels/FlagModel.ts.html +21 -18
  46. package/coverage/lcov-report/src/viewModels/MultiSelectModel.ts.html +136 -94
  47. package/coverage/lcov-report/src/viewModels/NumberModel.ts.html +19 -10
  48. package/coverage/lcov-report/src/viewModels/SelectModel.ts.html +19 -10
  49. package/coverage/lcov-report/src/viewModels/Validatable.ts.html +12 -12
  50. package/coverage/lcov-report/src/viewModels/index.html +45 -45
  51. package/coverage/lcov-report/src/viewModels/wrappers.ts.html +3 -15
  52. package/coverage/lcov.info +871 -720
  53. package/lib/event.d.ts.map +1 -1
  54. package/lib/event.js +1 -1
  55. package/lib/event.js.map +1 -1
  56. package/lib/logger/batch.d.ts +3 -0
  57. package/lib/logger/batch.d.ts.map +1 -0
  58. package/lib/logger/batch.js +12 -0
  59. package/lib/logger/batch.js.map +1 -0
  60. package/lib/logger/console.d.ts +0 -1
  61. package/lib/logger/console.d.ts.map +1 -1
  62. package/lib/logger/console.js +0 -3
  63. package/lib/logger/console.js.map +1 -1
  64. package/lib/logger/file.d.ts +15 -0
  65. package/lib/logger/file.d.ts.map +1 -0
  66. package/lib/logger/file.js +43 -0
  67. package/lib/logger/file.js.map +1 -0
  68. package/lib/logger/index.d.ts +7 -6
  69. package/lib/logger/index.d.ts.map +1 -1
  70. package/lib/logger/index.js +34 -21
  71. package/lib/logger/index.js.map +1 -1
  72. package/lib/logger/named.js +3 -3
  73. package/lib/logger/named.js.map +1 -1
  74. package/lib/logger/proxy.d.ts +1 -1
  75. package/lib/logger/proxy.d.ts.map +1 -1
  76. package/lib/logger/proxy.js +2 -2
  77. package/lib/logger/proxy.js.map +1 -1
  78. package/lib/math/arrays.d.ts +16 -0
  79. package/lib/math/arrays.d.ts.map +1 -1
  80. package/lib/math/arrays.js +77 -1
  81. package/lib/math/arrays.js.map +1 -1
  82. package/lib/transitionObserver.d.ts.map +1 -1
  83. package/lib/transitionObserver.js +2 -2
  84. package/lib/transitionObserver.js.map +1 -1
  85. package/lib/types.d.ts +4 -0
  86. package/lib/types.d.ts.map +1 -1
  87. package/lib/types.js +6 -2
  88. package/lib/types.js.map +1 -1
  89. package/lib/viewModels/FlagModel.d.ts +4 -4
  90. package/lib/viewModels/FlagModel.d.ts.map +1 -1
  91. package/lib/viewModels/FlagModel.js +1 -0
  92. package/lib/viewModels/FlagModel.js.map +1 -1
  93. package/lib/viewModels/MultiSelectModel.d.ts +9 -3
  94. package/lib/viewModels/MultiSelectModel.d.ts.map +1 -1
  95. package/lib/viewModels/MultiSelectModel.js +16 -2
  96. package/lib/viewModels/MultiSelectModel.js.map +1 -1
  97. package/lib/viewModels/NumberModel.d.ts +4 -2
  98. package/lib/viewModels/NumberModel.d.ts.map +1 -1
  99. package/lib/viewModels/NumberModel.js +1 -0
  100. package/lib/viewModels/NumberModel.js.map +1 -1
  101. package/lib/viewModels/{PromptModalViewModel.d.ts → PromptModal.d.ts} +1 -1
  102. package/lib/viewModels/PromptModal.d.ts.map +1 -0
  103. package/lib/viewModels/{PromptModalViewModel.js → PromptModal.js} +1 -1
  104. package/lib/viewModels/PromptModal.js.map +1 -0
  105. package/lib/viewModels/SelectModel.d.ts +4 -2
  106. package/lib/viewModels/SelectModel.d.ts.map +1 -1
  107. package/lib/viewModels/SelectModel.js +1 -0
  108. package/lib/viewModels/SelectModel.js.map +1 -1
  109. package/lib/viewModels/TextModel.d.ts +4 -3
  110. package/lib/viewModels/TextModel.d.ts.map +1 -1
  111. package/lib/viewModels/TextModel.js +5 -11
  112. package/lib/viewModels/TextModel.js.map +1 -1
  113. package/lib/viewModels/ValuesCollector.d.ts +1 -3
  114. package/lib/viewModels/ValuesCollector.d.ts.map +1 -1
  115. package/lib/viewModels/ValuesCollector.js.map +1 -1
  116. package/lib/viewModels/index.d.ts +2 -1
  117. package/lib/viewModels/index.d.ts.map +1 -1
  118. package/lib/viewModels/index.js +2 -1
  119. package/lib/viewModels/index.js.map +1 -1
  120. package/lib/viewModels/types.d.ts +16 -0
  121. package/lib/viewModels/types.d.ts.map +1 -0
  122. package/lib/viewModels/types.js +3 -0
  123. package/lib/viewModels/types.js.map +1 -0
  124. package/lib/viewModels/wrappers.d.ts +1 -4
  125. package/lib/viewModels/wrappers.d.ts.map +1 -1
  126. package/lib/viewModels/wrappers.js.map +1 -1
  127. package/package.json +1 -1
  128. package/src/event.ts +2 -2
  129. package/src/logger/__tests__/{index.test.ts → logger.test.ts} +97 -41
  130. package/src/logger/batch.ts +9 -0
  131. package/src/logger/console.ts +0 -5
  132. package/src/logger/file.ts +46 -0
  133. package/src/logger/index.ts +37 -28
  134. package/src/logger/named.ts +3 -3
  135. package/src/logger/proxy.ts +2 -2
  136. package/src/math/__tests__/arrays.test.ts +53 -0
  137. package/src/math/arrays.ts +87 -0
  138. package/src/transitionObserver.ts +2 -2
  139. package/src/types.ts +6 -1
  140. package/src/viewModels/FlagModel.ts +5 -4
  141. package/src/viewModels/MultiSelectModel.ts +19 -5
  142. package/src/viewModels/NumberModel.ts +5 -2
  143. package/src/viewModels/{PromptModalViewModel.ts → PromptModal.ts} +0 -0
  144. package/src/viewModels/SelectModel.ts +5 -2
  145. package/src/viewModels/TextModel.ts +6 -6
  146. package/src/viewModels/ValuesCollector.ts +1 -4
  147. package/src/viewModels/__tests__/multiSelect.test.ts +127 -12
  148. package/src/viewModels/index.ts +2 -1
  149. package/src/viewModels/types.ts +19 -0
  150. package/src/viewModels/wrappers.ts +1 -5
  151. package/lib/viewModels/PromptModalViewModel.d.ts.map +0 -1
  152. package/lib/viewModels/PromptModalViewModel.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
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"/>
2
+ <coverage generated="1638196798397" clover="3.2.0">
3
+ <project timestamp="1638196798397" name="All files">
4
+ <metrics statements="1133" coveredstatements="984" conditionals="693" coveredconditionals="568" methods="336" coveredmethods="251" elements="2162" coveredelements="1803" complexity="0" loc="1133" ncloc="1133" packages="8" files="39" classes="39"/>
5
5
  <package name="src">
6
- <metrics statements="173" coveredstatements="151" conditionals="95" coveredconditionals="79" methods="64" coveredmethods="52"/>
6
+ <metrics statements="175" coveredstatements="154" conditionals="99" coveredconditionals="82" methods="66" coveredmethods="54"/>
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
9
  <line num="1" count="5" type="stmt"/>
@@ -86,15 +86,15 @@
86
86
  <file name="lazy.light.ts" path="/Users/idudinov/projects/zajno-common-utils/src/lazy.light.ts">
87
87
  <metrics statements="7" coveredstatements="6" conditionals="2" coveredconditionals="2" methods="4" coveredmethods="3"/>
88
88
  <line num="9" count="2" type="stmt"/>
89
- <line num="10" count="8" type="stmt"/>
89
+ <line num="10" count="11" type="stmt"/>
90
90
  <line num="14" count="19" type="cond" truecount="2" falsecount="0"/>
91
91
  <line num="15" count="1" type="stmt"/>
92
92
  <line num="17" count="19" type="stmt"/>
93
- <line num="19" count="12" type="stmt"/>
93
+ <line num="19" count="27" type="stmt"/>
94
94
  <line num="21" count="0" type="stmt"/>
95
95
  </file>
96
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"/>
97
+ <metrics statements="86" coveredstatements="77" conditionals="42" coveredconditionals="33" methods="22" coveredmethods="18"/>
98
98
  <line num="1" count="1" type="stmt"/>
99
99
  <line num="2" count="1" type="stmt"/>
100
100
  <line num="3" count="1" type="stmt"/>
@@ -151,7 +151,7 @@
151
151
  <line num="106" count="3" type="stmt"/>
152
152
  <line num="108" count="3" type="stmt"/>
153
153
  <line num="112" count="0" type="stmt"/>
154
- <line num="118" count="0" type="stmt"/>
154
+ <line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
155
155
  <line num="119" count="0" type="stmt"/>
156
156
  <line num="122" count="7" type="stmt"/>
157
157
  <line num="123" count="12" type="stmt"/>
@@ -183,14 +183,16 @@
183
183
  <line num="173" count="3" type="stmt"/>
184
184
  </file>
185
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"/>
186
+ <metrics statements="9" coveredstatements="8" conditionals="8" coveredconditionals="7" methods="4" coveredmethods="4"/>
187
+ <line num="9" count="8" type="cond" truecount="2" falsecount="0"/>
188
+ <line num="10" count="8" type="stmt"/>
189
+ <line num="11" count="80" type="cond" truecount="2" falsecount="0"/>
190
+ <line num="12" count="6" type="stmt"/>
191
+ <line num="14" count="74" type="cond" truecount="1" falsecount="1"/>
192
+ <line num="15" count="74" type="stmt"/>
193
193
  <line num="17" count="0" type="stmt"/>
194
+ <line num="24" count="8" type="cond" truecount="2" falsecount="0"/>
195
+ <line num="25" count="8" type="stmt"/>
194
196
  </file>
195
197
  </package>
196
198
  <package name="src.__tests__.helpers">
@@ -200,7 +202,7 @@
200
202
  <line num="1" count="2" type="stmt"/>
201
203
  <line num="2" count="2" type="stmt"/>
202
204
  <line num="4" count="2" type="stmt"/>
203
- <line num="5" count="14" type="stmt"/>
205
+ <line num="5" count="15" type="stmt"/>
204
206
  <line num="9" count="833" type="stmt"/>
205
207
  <line num="10" count="833" type="stmt"/>
206
208
  </file>
@@ -598,230 +600,285 @@
598
600
  </file>
599
601
  </package>
600
602
  <package name="src.logger">
601
- <metrics statements="87" coveredstatements="65" conditionals="42" coveredconditionals="28" methods="30" coveredmethods="21"/>
603
+ <metrics statements="97" coveredstatements="69" conditionals="46" coveredconditionals="27" methods="35" coveredmethods="24"/>
604
+ <file name="batch.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/batch.ts">
605
+ <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
606
+ <line num="3" count="2" type="stmt"/>
607
+ <line num="4" count="3" type="stmt"/>
608
+ <line num="5" count="2" type="stmt"/>
609
+ <line num="6" count="2" type="stmt"/>
610
+ <line num="7" count="2" type="stmt"/>
611
+ </file>
602
612
  <file name="console.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/console.ts">
603
- <metrics statements="25" coveredstatements="5" conditionals="11" coveredconditionals="1" methods="8" coveredmethods="1"/>
613
+ <metrics statements="24" coveredstatements="4" conditionals="10" coveredconditionals="0" methods="7" coveredmethods="0"/>
604
614
  <line num="2" count="2" type="stmt"/>
605
615
  <line num="4" count="2" type="stmt"/>
606
616
  <line num="6" count="2" type="stmt"/>
607
- <line num="8" count="0" type="stmt"/>
608
- <line num="11" count="7" type="stmt"/>
609
- <line num="15" count="2" type="stmt"/>
610
- <line num="16" count="0" type="stmt"/>
611
- <line num="17" count="0" type="stmt"/>
612
- <line num="18" count="0" type="stmt"/>
613
- <line num="20" count="0" type="stmt"/>
614
- <line num="23" count="0" type="cond" truecount="0" falsecount="2"/>
617
+ <line num="7" count="0" type="stmt"/>
618
+ <line num="10" count="2" type="stmt"/>
619
+ <line num="11" count="0" type="stmt"/>
620
+ <line num="12" count="0" type="stmt"/>
621
+ <line num="13" count="0" type="stmt"/>
622
+ <line num="15" count="0" type="stmt"/>
623
+ <line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
624
+ <line num="22" count="0" type="stmt"/>
625
+ <line num="26" count="0" type="stmt"/>
615
626
  <line num="27" count="0" type="stmt"/>
616
627
  <line num="31" count="0" type="stmt"/>
617
628
  <line num="32" count="0" type="stmt"/>
618
- <line num="36" count="0" type="stmt"/>
629
+ <line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
619
630
  <line num="37" count="0" type="stmt"/>
620
- <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
621
- <line num="42" count="0" type="stmt"/>
622
- <line num="43" count="0" type="stmt"/>
623
- <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
624
- <line num="49" count="0" type="stmt"/>
625
- <line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
626
- <line num="51" count="0" type="stmt"/>
627
- <line num="52" count="0" type="cond" truecount="0" falsecount="2"/>
628
- <line num="53" count="0" type="stmt"/>
631
+ <line num="38" count="0" type="stmt"/>
632
+ <line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
633
+ <line num="44" count="0" type="stmt"/>
634
+ <line num="45" count="0" type="cond" truecount="0" falsecount="2"/>
635
+ <line num="46" count="0" type="stmt"/>
636
+ <line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
637
+ <line num="48" count="0" type="stmt"/>
629
638
  </file>
630
639
  <file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/index.ts">
631
- <metrics statements="27" coveredstatements="27" conditionals="12" coveredconditionals="12" methods="8" coveredmethods="7"/>
632
- <line num="2" count="2" type="stmt"/>
640
+ <metrics statements="36" coveredstatements="30" conditionals="18" coveredconditionals="13" methods="10" coveredmethods="7"/>
641
+ <line num="1" count="2" type="stmt"/>
633
642
  <line num="3" count="2" type="stmt"/>
643
+ <line num="4" count="2" type="stmt"/>
634
644
  <line num="5" count="2" type="stmt"/>
635
- <line num="7" count="9" type="stmt"/>
636
- <line num="13" count="2" type="cond" truecount="2" falsecount="0"/>
637
- <line num="15" count="2" type="stmt"/>
638
- <line num="18" count="131" type="stmt"/>
639
- <line num="20" count="49" type="stmt"/>
640
- <line num="24" count="21" type="stmt"/>
641
- <line num="28" count="61" type="cond" truecount="2" falsecount="0"/>
642
- <line num="29" count="55" type="stmt"/>
643
- <line num="32" count="6" type="stmt"/>
644
- <line num="37" count="2" type="cond" truecount="1" falsecount="0"/>
645
- <line num="38" count="39" type="stmt"/>
646
- <line num="39" count="39" type="stmt"/>
647
- <line num="40" count="39" type="stmt"/>
648
- <line num="41" count="39" type="stmt"/>
649
- <line num="44" count="2" type="stmt"/>
650
- <line num="45" count="42" type="cond" truecount="2" falsecount="0"/>
651
- <line num="46" count="21" type="stmt"/>
652
- <line num="49" count="21" type="stmt"/>
653
- <line num="51" count="21" type="cond" truecount="2" falsecount="0"/>
654
- <line num="52" count="37" type="stmt"/>
655
- <line num="54" count="92" type="stmt"/>
656
- <line num="58" count="33" type="stmt"/>
657
- <line num="60" count="2" type="stmt"/>
658
- <line num="62" count="2" type="stmt"/>
645
+ <line num="6" count="2" type="stmt"/>
646
+ <line num="8" count="2" type="stmt"/>
647
+ <line num="9" count="5" type="stmt"/>
648
+ <line num="14" count="2" type="cond" truecount="2" falsecount="0"/>
649
+ <line num="16" count="2" type="stmt"/>
650
+ <line num="18" count="2" type="cond" truecount="1" falsecount="0"/>
651
+ <line num="19" count="52" type="stmt"/>
652
+ <line num="20" count="52" type="stmt"/>
653
+ <line num="21" count="52" type="stmt"/>
654
+ <line num="22" count="52" type="stmt"/>
655
+ <line num="25" count="2" type="cond" truecount="0" falsecount="1"/>
656
+ <line num="26" count="0" type="stmt"/>
657
+ <line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
658
+ <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
659
+ <line num="29" count="0" type="stmt"/>
660
+ <line num="31" count="0" type="stmt"/>
661
+ <line num="33" count="0" type="stmt"/>
662
+ <line num="36" count="2" type="stmt"/>
663
+ <line num="37" count="38" type="cond" truecount="2" falsecount="0"/>
664
+ <line num="38" count="15" type="stmt"/>
665
+ <line num="41" count="23" type="stmt"/>
666
+ <line num="43" count="23" type="cond" truecount="2" falsecount="0"/>
667
+ <line num="44" count="62" type="stmt"/>
668
+ <line num="46" count="105" type="stmt"/>
669
+ <line num="50" count="29" type="stmt"/>
670
+ <line num="52" count="2" type="stmt"/>
671
+ <line num="54" count="2" type="stmt"/>
672
+ <line num="57" count="157" type="cond" truecount="2" falsecount="0"/>
673
+ <line num="58" count="157" type="stmt"/>
674
+ <line num="60" count="71" type="stmt"/>
675
+ <line num="64" count="25" type="stmt"/>
676
+ <line num="68" count="61" type="stmt"/>
659
677
  </file>
660
678
  <file name="named.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/named.ts">
661
- <metrics statements="24" coveredstatements="23" conditionals="12" coveredconditionals="11" methods="11" coveredmethods="10"/>
679
+ <metrics statements="21" coveredstatements="20" conditionals="12" coveredconditionals="11" methods="8" coveredmethods="7"/>
662
680
  <line num="3" count="2" type="stmt"/>
663
681
  <line num="5" count="2" type="stmt"/>
664
- <line num="6" count="46" type="stmt"/>
665
- <line num="7" count="46" type="stmt"/>
666
- <line num="8" count="46" type="stmt"/>
667
- <line num="10" count="46" type="stmt"/>
682
+ <line num="6" count="52" type="stmt"/>
683
+ <line num="7" count="52" type="stmt"/>
684
+ <line num="8" count="52" type="stmt"/>
685
+ <line num="10" count="52" type="stmt"/>
668
686
  <line num="12" count="0" type="stmt"/>
669
- <line num="17" count="46" type="stmt"/>
670
- <line num="19" count="46" type="cond" truecount="2" falsecount="0"/>
671
- <line num="20" count="39" type="stmt"/>
672
- <line num="22" count="7" type="stmt"/>
673
- <line num="27" count="131" type="cond" truecount="2" falsecount="0"/>
674
- <line num="29" count="131" type="stmt"/>
675
- <line num="30" count="9" type="cond" truecount="2" falsecount="0"/>
676
- <line num="31" count="1" type="stmt"/>
677
- <line num="33" count="131" type="stmt"/>
678
- <line num="34" count="9" type="cond" truecount="2" falsecount="0"/>
679
- <line num="35" count="1" type="stmt"/>
680
- <line num="37" count="131" type="stmt"/>
681
- <line num="38" count="9" type="cond" truecount="2" falsecount="0"/>
682
- <line num="39" count="1" type="stmt"/>
683
- <line num="43" count="44" type="stmt"/>
684
- <line num="44" count="44" type="stmt"/>
685
- <line num="45" count="44" type="stmt"/>
687
+ <line num="17" count="52" type="stmt"/>
688
+ <line num="19" count="52" type="cond" truecount="2" falsecount="0"/>
689
+ <line num="20" count="21" type="stmt"/>
690
+ <line num="22" count="31" type="stmt"/>
691
+ <line num="27" count="126" type="cond" truecount="2" falsecount="0"/>
692
+ <line num="29" count="126" type="stmt"/>
693
+ <line num="30" count="7" type="cond" truecount="2" falsecount="0"/>
694
+ <line num="33" count="126" type="stmt"/>
695
+ <line num="34" count="7" type="cond" truecount="2" falsecount="0"/>
696
+ <line num="37" count="126" type="stmt"/>
697
+ <line num="38" count="7" type="cond" truecount="2" falsecount="0"/>
698
+ <line num="43" count="93" type="stmt"/>
699
+ <line num="44" count="93" type="stmt"/>
700
+ <line num="45" count="93" type="stmt"/>
686
701
  </file>
687
702
  <file name="proxy.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/proxy.ts">
688
- <metrics statements="11" coveredstatements="10" conditionals="7" coveredconditionals="4" methods="3" coveredmethods="3"/>
703
+ <metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="3" methods="3" coveredmethods="3"/>
689
704
  <line num="2" count="2" type="stmt"/>
690
705
  <line num="4" count="2" type="stmt"/>
691
706
  <line num="10" count="2" type="stmt"/>
692
- <line num="12" count="30" type="cond" truecount="2" falsecount="0"/>
693
- <line num="14" count="39" type="stmt"/>
694
- <line num="17" count="39" type="stmt"/>
695
- <line num="18" count="39" type="stmt"/>
696
- <line num="22" count="92" type="cond" truecount="1" falsecount="1"/>
697
- <line num="23" count="92" type="cond" truecount="1" falsecount="1"/>
698
- <line num="24" count="92" type="stmt"/>
707
+ <line num="12" count="66" type="cond" truecount="1" falsecount="1"/>
708
+ <line num="14" count="52" type="stmt"/>
709
+ <line num="17" count="52" type="stmt"/>
710
+ <line num="18" count="52" type="stmt"/>
711
+ <line num="22" count="105" type="cond" truecount="1" falsecount="1"/>
712
+ <line num="23" count="105" type="cond" truecount="1" falsecount="1"/>
713
+ <line num="24" count="105" type="stmt"/>
699
714
  <line num="26" count="0" type="stmt"/>
700
715
  </file>
701
716
  </package>
702
717
  <package name="src.math">
703
- <metrics statements="152" coveredstatements="152" conditionals="119" coveredconditionals="112" methods="34" coveredmethods="34"/>
718
+ <metrics statements="194" coveredstatements="194" conditionals="140" coveredconditionals="134" methods="39" coveredmethods="39"/>
704
719
  <file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/arrays.ts">
705
- <metrics statements="96" coveredstatements="96" conditionals="59" coveredconditionals="55" methods="24" coveredmethods="24"/>
706
- <line num="1" count="3" type="stmt"/>
707
- <line num="3" count="3" type="stmt"/>
708
- <line num="4" count="3" type="cond" truecount="4" falsecount="0"/>
709
- <line num="5" count="2" type="stmt"/>
710
- <line num="8" count="1" type="stmt"/>
720
+ <metrics statements="138" coveredstatements="138" conditionals="80" coveredconditionals="77" methods="29" coveredmethods="29"/>
721
+ <line num="1" count="6" type="stmt"/>
722
+ <line num="2" count="6" type="stmt"/>
723
+ <line num="4" count="6" type="stmt"/>
724
+ <line num="5" count="3" type="cond" truecount="4" falsecount="0"/>
725
+ <line num="6" count="2" type="stmt"/>
711
726
  <line num="9" count="1" type="stmt"/>
712
- <line num="10" count="3" type="stmt"/>
713
- <line num="11" count="3" type="cond" truecount="1" falsecount="1"/>
714
- <line num="12" count="3" type="stmt"/>
715
- <line num="16" count="1" type="stmt"/>
716
- <line num="19" count="3" type="stmt"/>
717
- <line num="20" count="17" type="cond" truecount="4" falsecount="0"/>
718
- <line num="21" count="4" type="stmt"/>
719
- <line num="24" count="13" type="stmt"/>
727
+ <line num="10" count="1" type="stmt"/>
728
+ <line num="11" count="3" type="stmt"/>
729
+ <line num="12" count="3" type="cond" truecount="1" falsecount="1"/>
730
+ <line num="13" count="3" type="stmt"/>
731
+ <line num="17" count="1" type="stmt"/>
732
+ <line num="20" count="6" type="stmt"/>
733
+ <line num="21" count="17" type="cond" truecount="4" falsecount="0"/>
734
+ <line num="22" count="4" type="stmt"/>
720
735
  <line num="25" count="13" type="stmt"/>
721
- <line num="26" count="23" type="cond" truecount="2" falsecount="0"/>
736
+ <line num="26" count="13" type="stmt"/>
722
737
  <line num="27" count="23" type="cond" truecount="2" falsecount="0"/>
723
- <line num="28" count="10" type="stmt"/>
724
- <line num="32" count="12" type="stmt"/>
725
- <line num="35" count="3" type="cond" truecount="1" falsecount="0"/>
726
- <line num="36" count="7" type="stmt"/>
727
- <line num="39" count="3" type="cond" truecount="1" falsecount="0"/>
728
- <line num="40" count="7" type="stmt"/>
729
- <line num="43" count="3" type="cond" truecount="1" falsecount="0"/>
730
- <line num="44" count="5" type="cond" truecount="4" falsecount="0"/>
731
- <line num="45" count="2" type="stmt"/>
732
- <line num="48" count="3" type="stmt"/>
738
+ <line num="28" count="23" type="cond" truecount="2" falsecount="0"/>
739
+ <line num="29" count="10" type="stmt"/>
740
+ <line num="33" count="12" type="stmt"/>
741
+ <line num="36" count="6" type="cond" truecount="1" falsecount="0"/>
742
+ <line num="37" count="7" type="stmt"/>
743
+ <line num="40" count="6" type="cond" truecount="1" falsecount="0"/>
744
+ <line num="41" count="7" type="stmt"/>
745
+ <line num="44" count="6" type="cond" truecount="1" falsecount="0"/>
746
+ <line num="45" count="5" type="cond" truecount="4" falsecount="0"/>
747
+ <line num="46" count="2" type="stmt"/>
733
748
  <line num="49" count="3" type="stmt"/>
734
- <line num="50" count="9" type="cond" truecount="2" falsecount="0"/>
735
- <line num="51" count="9" type="stmt"/>
736
- <line num="54" count="3" type="stmt"/>
737
- <line num="57" count="3" type="stmt"/>
738
- <line num="58" count="5" type="cond" truecount="4" falsecount="0"/>
739
- <line num="59" count="2" type="stmt"/>
740
- <line num="62" count="3" type="stmt"/>
749
+ <line num="50" count="3" type="stmt"/>
750
+ <line num="51" count="9" type="cond" truecount="2" falsecount="0"/>
751
+ <line num="52" count="9" type="stmt"/>
752
+ <line num="55" count="3" type="stmt"/>
753
+ <line num="58" count="6" type="stmt"/>
754
+ <line num="59" count="5" type="cond" truecount="4" falsecount="0"/>
755
+ <line num="60" count="2" type="stmt"/>
741
756
  <line num="63" count="3" type="stmt"/>
742
- <line num="64" count="7" type="cond" truecount="2" falsecount="0"/>
743
- <line num="65" count="4" type="stmt"/>
744
- <line num="68" count="2" type="stmt"/>
745
- <line num="71" count="3" type="stmt"/>
746
- <line num="72" count="4" type="cond" truecount="6" falsecount="0"/>
747
- <line num="73" count="2" type="stmt"/>
748
- <line num="74" count="3" type="stmt"/>
749
- <line num="75" count="2" type="cond" truecount="2" falsecount="0"/>
750
- <line num="76" count="1" type="stmt"/>
751
- <line num="81" count="2" type="stmt"/>
752
- <line num="84" count="3" type="stmt"/>
753
- <line num="85" count="3" type="cond" truecount="2" falsecount="0"/>
754
- <line num="86" count="1" type="stmt"/>
755
- <line num="89" count="2" type="stmt"/>
756
- <line num="90" count="2" type="stmt"/>
757
- <line num="91" count="2" type="stmt"/>
758
- <line num="92" count="2" type="cond" truecount="2" falsecount="0"/>
759
- <line num="93" count="2" type="stmt"/>
760
- <line num="96" count="3" type="stmt"/>
761
- <line num="99" count="3" type="stmt"/>
762
- <line num="100" count="4" type="cond" truecount="2" falsecount="0"/>
763
- <line num="101" count="1" type="stmt"/>
764
- <line num="104" count="2" type="stmt"/>
765
- <line num="105" count="2" type="stmt"/>
766
- <line num="108" count="3" type="stmt"/>
767
- <line num="109" count="3" type="stmt"/>
768
- <line num="110" count="3" type="stmt"/>
769
- <line num="111" count="3" type="stmt"/>
770
- <line num="118" count="3" type="cond" truecount="1" falsecount="0"/>
771
- <line num="119" count="1" type="cond" truecount="5" falsecount="3"/>
772
- <line num="121" count="1" type="stmt"/>
773
- <line num="122" count="2" type="stmt"/>
774
- <line num="123" count="2" type="stmt"/>
775
- <line num="126" count="1" type="stmt"/>
776
- <line num="129" count="3" type="stmt"/>
757
+ <line num="64" count="3" type="stmt"/>
758
+ <line num="65" count="7" type="cond" truecount="2" falsecount="0"/>
759
+ <line num="66" count="4" type="stmt"/>
760
+ <line num="69" count="2" type="stmt"/>
761
+ <line num="72" count="6" type="stmt"/>
762
+ <line num="73" count="4" type="cond" truecount="6" falsecount="0"/>
763
+ <line num="74" count="2" type="stmt"/>
764
+ <line num="75" count="3" type="stmt"/>
765
+ <line num="76" count="2" type="cond" truecount="2" falsecount="0"/>
766
+ <line num="77" count="1" type="stmt"/>
767
+ <line num="82" count="2" type="stmt"/>
768
+ <line num="85" count="6" type="stmt"/>
769
+ <line num="86" count="8" type="cond" truecount="4" falsecount="0"/>
770
+ <line num="87" count="2" type="stmt"/>
771
+ <line num="90" count="6" type="cond" truecount="2" falsecount="0"/>
772
+ <line num="91" count="6" type="stmt"/>
773
+ <line num="97" count="6" type="stmt"/>
774
+ <line num="98" count="7" type="stmt"/>
775
+ <line num="99" count="7" type="stmt"/>
776
+ <line num="100" count="7" type="cond" truecount="2" falsecount="0"/>
777
+ <line num="101" count="3" type="stmt"/>
778
+ <line num="104" count="4" type="stmt"/>
779
+ <line num="107" count="6" type="stmt"/>
780
+ <line num="108" count="1" type="stmt"/>
781
+ <line num="111" count="6" type="stmt"/>
782
+ <line num="112" count="6" type="stmt"/>
783
+ <line num="115" count="6" type="stmt"/>
784
+ <line num="116" count="9" type="cond" truecount="4" falsecount="0"/>
785
+ <line num="117" count="2" type="stmt"/>
786
+ <line num="120" count="7" type="stmt"/>
787
+ <line num="121" count="7" type="stmt"/>
788
+ <line num="122" count="7" type="stmt"/>
789
+ <line num="128" count="7" type="stmt"/>
790
+ <line num="129" count="9" type="cond" truecount="2" falsecount="0"/>
777
791
  <line num="130" count="2" type="stmt"/>
778
- <line num="131" count="2" type="stmt"/>
779
- <line num="132" count="4" type="stmt"/>
780
- <line num="133" count="4" type="stmt"/>
781
- <line num="134" count="4" type="cond" truecount="2" falsecount="0"/>
782
- <line num="135" count="3" type="stmt"/>
783
- <line num="136" count="3" type="stmt"/>
784
- <line num="139" count="4" type="stmt"/>
785
- <line num="142" count="1" type="stmt"/>
786
- <line num="145" count="3" type="stmt"/>
787
- <line num="146" count="2" type="stmt"/>
788
- <line num="147" count="2" type="stmt"/>
789
- <line num="148" count="4" type="stmt"/>
790
- <line num="149" count="4" type="stmt"/>
792
+ <line num="133" count="7" type="stmt"/>
793
+ <line num="137" count="7" type="stmt"/>
794
+ <line num="139" count="1" type="stmt"/>
795
+ <line num="142" count="7" type="stmt"/>
796
+ <line num="143" count="7" type="stmt"/>
797
+ <line num="146" count="6" type="stmt"/>
798
+ <line num="147" count="7" type="cond" truecount="2" falsecount="0"/>
799
+ <line num="150" count="6" type="stmt"/>
800
+ <line num="151" count="3" type="cond" truecount="2" falsecount="0"/>
791
801
  <line num="152" count="1" type="stmt"/>
792
- <line num="155" count="3" type="stmt"/>
802
+ <line num="155" count="2" type="stmt"/>
793
803
  <line num="156" count="2" type="stmt"/>
794
804
  <line num="157" count="2" type="stmt"/>
805
+ <line num="158" count="2" type="cond" truecount="2" falsecount="0"/>
795
806
  <line num="159" count="2" type="stmt"/>
796
- <line num="160" count="4" type="stmt"/>
797
- <line num="165" count="1" type="stmt"/>
798
- <line num="168" count="3" type="cond" truecount="1" falsecount="0"/>
799
- <line num="169" count="4" type="cond" truecount="2" falsecount="0"/>
800
- <line num="170" count="1" type="stmt"/>
801
- <line num="173" count="7" type="stmt"/>
807
+ <line num="162" count="3" type="stmt"/>
808
+ <line num="165" count="6" type="stmt"/>
809
+ <line num="166" count="4" type="cond" truecount="2" falsecount="0"/>
810
+ <line num="167" count="1" type="stmt"/>
811
+ <line num="170" count="2" type="stmt"/>
812
+ <line num="171" count="2" type="stmt"/>
813
+ <line num="174" count="6" type="stmt"/>
814
+ <line num="175" count="5" type="stmt"/>
815
+ <line num="176" count="5" type="stmt"/>
816
+ <line num="177" count="5" type="stmt"/>
817
+ <line num="184" count="6" type="cond" truecount="1" falsecount="0"/>
818
+ <line num="185" count="4" type="cond" truecount="7" falsecount="1"/>
819
+ <line num="187" count="4" type="stmt"/>
820
+ <line num="188" count="4" type="stmt"/>
821
+ <line num="189" count="4" type="stmt"/>
822
+ <line num="192" count="4" type="stmt"/>
823
+ <line num="195" count="6" type="stmt"/>
824
+ <line num="196" count="2" type="stmt"/>
825
+ <line num="197" count="2" type="stmt"/>
826
+ <line num="198" count="4" type="stmt"/>
827
+ <line num="199" count="4" type="stmt"/>
828
+ <line num="200" count="4" type="cond" truecount="2" falsecount="0"/>
829
+ <line num="201" count="3" type="stmt"/>
830
+ <line num="202" count="3" type="stmt"/>
831
+ <line num="205" count="4" type="stmt"/>
832
+ <line num="208" count="1" type="stmt"/>
833
+ <line num="211" count="6" type="stmt"/>
834
+ <line num="212" count="2" type="stmt"/>
835
+ <line num="213" count="2" type="stmt"/>
836
+ <line num="214" count="4" type="stmt"/>
837
+ <line num="215" count="4" type="stmt"/>
838
+ <line num="218" count="1" type="stmt"/>
839
+ <line num="221" count="6" type="stmt"/>
840
+ <line num="222" count="2" type="stmt"/>
841
+ <line num="223" count="2" type="stmt"/>
842
+ <line num="225" count="2" type="stmt"/>
843
+ <line num="226" count="4" type="stmt"/>
844
+ <line num="231" count="1" type="stmt"/>
845
+ <line num="234" count="6" type="cond" truecount="1" falsecount="0"/>
846
+ <line num="235" count="4" type="cond" truecount="2" falsecount="0"/>
847
+ <line num="236" count="1" type="stmt"/>
848
+ <line num="239" count="7" type="stmt"/>
849
+ <line num="244" count="6" type="stmt"/>
850
+ <line num="245" count="3" type="stmt"/>
851
+ <line num="248" count="3" type="cond" truecount="2" falsecount="0"/>
852
+ <line num="249" count="1" type="stmt"/>
853
+ <line num="252" count="2" type="stmt"/>
854
+ <line num="255" count="6" type="cond" truecount="0" falsecount="1"/>
855
+ <line num="256" count="1" type="stmt"/>
856
+ <line num="257" count="1" type="stmt"/>
857
+ <line num="258" count="5" type="stmt"/>
858
+ <line num="260" count="1" type="stmt"/>
802
859
  </file>
803
860
  <file name="calc.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/calc.ts">
804
861
  <metrics statements="33" coveredstatements="33" conditionals="40" coveredconditionals="37" methods="7" coveredmethods="7"/>
805
- <line num="2" count="4" type="cond" truecount="3" falsecount="0"/>
862
+ <line num="2" count="7" type="cond" truecount="3" falsecount="0"/>
806
863
  <line num="3" count="13" type="cond" truecount="4" falsecount="0"/>
807
864
  <line num="4" count="3" type="cond" truecount="4" falsecount="0"/>
808
865
  <line num="7" count="10" type="cond" truecount="4" falsecount="0"/>
809
866
  <line num="8" count="3" type="cond" truecount="4" falsecount="0"/>
810
867
  <line num="11" count="7" type="stmt"/>
811
- <line num="14" count="4" type="stmt"/>
868
+ <line num="14" count="7" type="stmt"/>
812
869
  <line num="15" count="5" type="stmt"/>
813
- <line num="18" count="4" type="stmt"/>
870
+ <line num="18" count="7" type="stmt"/>
814
871
  <line num="19" count="4" type="stmt"/>
815
872
  <line num="20" count="4" type="stmt"/>
816
873
  <line num="21" count="4" type="cond" truecount="2" falsecount="0"/>
817
- <line num="24" count="4" type="stmt"/>
874
+ <line num="24" count="7" type="stmt"/>
818
875
  <line num="25" count="2" type="stmt"/>
819
876
  <line num="26" count="2" type="stmt"/>
820
877
  <line num="28" count="2" type="cond" truecount="7" falsecount="1"/>
821
878
  <line num="33" count="2" type="cond" truecount="2" falsecount="0"/>
822
879
  <line num="34" count="1" type="stmt"/>
823
880
  <line num="37" count="1" type="stmt"/>
824
- <line num="46" count="4" type="cond" truecount="1" falsecount="0"/>
881
+ <line num="46" count="7" type="cond" truecount="1" falsecount="0"/>
825
882
  <line num="47" count="9" type="stmt"/>
826
883
  <line num="48" count="9" type="stmt"/>
827
884
  <line num="49" count="9" type="stmt"/>
@@ -829,16 +886,16 @@
829
886
  <line num="51" count="1" type="stmt"/>
830
887
  <line num="52" count="7" type="stmt"/>
831
888
  <line num="54" count="9" type="stmt"/>
832
- <line num="57" count="4" type="stmt"/>
889
+ <line num="57" count="7" type="stmt"/>
833
890
  <line num="58" count="2" type="stmt"/>
834
- <line num="61" count="4" type="cond" truecount="1" falsecount="2"/>
835
- <line num="62" count="8" type="stmt"/>
836
- <line num="63" count="8" type="stmt"/>
837
- <line num="64" count="8" type="cond" truecount="2" falsecount="0"/>
891
+ <line num="61" count="7" type="cond" truecount="1" falsecount="2"/>
892
+ <line num="62" count="10" type="stmt"/>
893
+ <line num="63" count="10" type="stmt"/>
894
+ <line num="64" count="10" type="cond" truecount="2" falsecount="0"/>
838
895
  </file>
839
896
  <file name="distribution.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/distribution.ts">
840
897
  <metrics statements="8" coveredstatements="8" conditionals="10" coveredconditionals="10" methods="1" coveredmethods="1"/>
841
- <line num="8" count="3" type="stmt"/>
898
+ <line num="8" count="6" type="stmt"/>
842
899
  <line num="9" count="4" type="cond" truecount="4" falsecount="0"/>
843
900
  <line num="10" count="4" type="cond" truecount="2" falsecount="0"/>
844
901
  <line num="11" count="1" type="stmt"/>
@@ -849,17 +906,17 @@
849
906
  </file>
850
907
  <file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/index.ts">
851
908
  <metrics statements="15" coveredstatements="15" conditionals="10" coveredconditionals="10" methods="2" coveredmethods="2"/>
852
- <line num="2" count="2" type="stmt"/>
853
- <line num="3" count="2" type="stmt"/>
854
- <line num="4" count="2" type="stmt"/>
855
- <line num="6" count="2" type="stmt"/>
909
+ <line num="2" count="5" type="stmt"/>
910
+ <line num="3" count="5" type="stmt"/>
911
+ <line num="4" count="5" type="stmt"/>
912
+ <line num="6" count="5" type="stmt"/>
856
913
  <line num="7" count="11" type="cond" truecount="2" falsecount="0"/>
857
914
  <line num="9" count="11" type="stmt"/>
858
915
  <line num="11" count="3" type="stmt"/>
859
916
  <line num="13" count="2" type="stmt"/>
860
917
  <line num="15" count="2" type="stmt"/>
861
918
  <line num="17" count="4" type="stmt"/>
862
- <line num="21" count="2" type="stmt"/>
919
+ <line num="21" count="5" type="stmt"/>
863
920
  <line num="22" count="20" type="stmt"/>
864
921
  <line num="23" count="20" type="cond" truecount="4" falsecount="0"/>
865
922
  <line num="24" count="5" type="stmt"/>
@@ -978,173 +1035,184 @@
978
1035
  </file>
979
1036
  </package>
980
1037
  <package name="src.viewModels">
981
- <metrics statements="210" coveredstatements="153" conditionals="51" coveredconditionals="28" methods="93" coveredmethods="49"/>
1038
+ <metrics statements="221" coveredstatements="180" conditionals="57" coveredconditionals="35" methods="102" coveredmethods="69"/>
982
1039
  <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"/>
1040
+ <metrics statements="12" coveredstatements="9" conditionals="1" coveredconditionals="1" methods="6" coveredmethods="3"/>
984
1041
  <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"/>
1042
+ <line num="15" count="3" type="stmt"/>
1043
+ <line num="18" count="17" type="stmt"/>
1044
+ <line num="21" count="17" type="stmt"/>
1045
+ <line num="22" count="17" type="stmt"/>
1046
+ <line num="26" count="39" type="stmt"/>
1047
+ <line num="30" count="38" type="stmt"/>
1048
+ <line num="33" count="0" type="stmt"/>
1049
+ <line num="36" count="17" type="stmt"/>
1050
+ <line num="37" count="0" type="stmt"/>
1051
+ <line num="41" count="17" type="stmt"/>
1052
+ <line num="42" count="0" type="stmt"/>
995
1053
  </file>
996
1054
  <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"/>
1055
+ <metrics statements="83" coveredstatements="64" conditionals="16" coveredconditionals="7" methods="42" coveredmethods="28"/>
998
1056
  <line num="1" count="1" type="stmt"/>
999
1057
  <line num="2" count="1" type="stmt"/>
1000
1058
  <line num="3" count="1" type="stmt"/>
1001
1059
  <line num="4" count="1" type="stmt"/>
1002
1060
  <line num="6" count="1" type="stmt"/>
1003
1061
  <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"/>
1062
+ <line num="10" count="1" type="stmt"/>
1063
+ <line num="13" count="6" type="stmt"/>
1064
+ <line num="15" count="6" type="stmt"/>
1065
+ <line num="16" count="6" type="stmt"/>
1066
+ <line num="18" count="6" type="stmt"/>
1067
+ <line num="19" count="6" type="stmt"/>
1068
+ <line num="22" count="6" type="stmt"/>
1069
+ <line num="23" count="6" type="stmt"/>
1070
+ <line num="26" count="6" type="stmt"/>
1071
+ <line num="27" count="6" type="stmt"/>
1072
+ <line num="28" count="6" type="stmt"/>
1073
+ <line num="29" count="6" type="stmt"/>
1074
+ <line num="33" count="25" type="stmt"/>
1075
+ <line num="35" count="7" type="stmt"/>
1076
+ <line num="37" count="0" type="stmt"/>
1077
+ <line num="40" count="1" type="stmt"/>
1078
+ <line num="41" count="49" type="stmt"/>
1079
+ <line num="45" count="1" type="stmt"/>
1080
+ <line num="46" count="9" type="stmt"/>
1081
+ <line num="50" count="1" type="stmt"/>
1082
+ <line num="51" count="21" type="stmt"/>
1083
+ <line num="52" count="21" type="stmt"/>
1084
+ <line num="55" count="0" type="stmt"/>
1085
+ <line num="56" count="0" type="stmt"/>
1086
+ <line num="58" count="11" type="stmt"/>
1087
+ <line num="59" count="18" type="stmt"/>
1088
+ <line num="61" count="4" type="stmt"/>
1089
+ <line num="62" count="4" type="stmt"/>
1090
+ <line num="63" count="0" type="stmt"/>
1091
+ <line num="66" count="1" type="cond" truecount="0" falsecount="4"/>
1092
+ <line num="68" count="0" type="stmt"/>
1093
+ <line num="70" count="6" type="stmt"/>
1094
+ <line num="71" count="4" type="stmt"/>
1095
+ <line num="72" count="4" type="cond" truecount="1" falsecount="1"/>
1096
+ <line num="73" count="4" type="stmt"/>
1097
+ <line num="77" count="6" type="stmt"/>
1098
+ <line num="78" count="6" type="stmt"/>
1099
+ <line num="81" count="6" type="stmt"/>
1100
+ <line num="82" count="1" type="stmt"/>
1101
+ <line num="85" count="6" type="stmt"/>
1102
+ <line num="86" count="2" type="stmt"/>
1103
+ <line num="87" count="2" type="cond" truecount="1" falsecount="1"/>
1104
+ <line num="88" count="2" type="stmt"/>
1105
+ <line num="92" count="6" type="stmt"/>
1106
+ <line num="93" count="6" type="stmt"/>
1107
+ <line num="96" count="6" type="stmt"/>
1108
+ <line num="97" count="0" type="stmt"/>
1109
+ <line num="101" count="6" type="stmt"/>
1110
+ <line num="102" count="8" type="cond" truecount="1" falsecount="1"/>
1111
+ <line num="103" count="0" type="stmt"/>
1112
+ <line num="106" count="8" type="cond" truecount="2" falsecount="0"/>
1113
+ <line num="107" count="5" type="stmt"/>
1114
+ <line num="109" count="3" type="stmt"/>
1115
+ <line num="112" count="8" type="cond" truecount="1" falsecount="1"/>
1116
+ <line num="113" count="8" type="stmt"/>
1117
+ <line num="116" count="0" type="stmt"/>
1118
+ <line num="117" count="0" type="stmt"/>
1060
1119
  <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"/>
1120
+ <line num="120" count="0" type="stmt"/>
1121
+ <line num="124" count="6" type="stmt"/>
1122
+ <line num="125" count="6" type="stmt"/>
1123
+ <line num="127" count="6" type="stmt"/>
1124
+ <line num="128" count="1" type="stmt"/>
1125
+ <line num="129" count="1" type="stmt"/>
1126
+ <line num="133" count="7" type="stmt"/>
1127
+ <line num="134" count="7" type="stmt"/>
1128
+ <line num="136" count="7" type="cond" truecount="1" falsecount="1"/>
1068
1129
  <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"/>
1130
+ <line num="142" count="0" type="stmt"/>
1131
+ <line num="144" count="0" type="stmt"/>
1132
+ <line num="146" count="0" type="stmt"/>
1133
+ <line num="150" count="0" type="stmt"/>
1134
+ <line num="151" count="0" type="stmt"/>
1135
+ <line num="153" count="0" type="stmt"/>
1136
+ <line num="155" count="0" type="stmt"/>
1137
+ <line num="159" count="1" type="stmt"/>
1138
+ <line num="162" count="3" type="stmt"/>
1073
1139
  </file>
1074
1140
  <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"/>
1141
+ <metrics statements="15" coveredstatements="13" conditionals="3" coveredconditionals="1" methods="7" coveredmethods="3"/>
1076
1142
  <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"/>
1143
+ <line num="9" count="1" type="stmt"/>
1144
+ <line num="12" count="3" type="stmt"/>
1145
+ <line num="14" count="3" type="stmt"/>
1081
1146
  <line num="17" count="3" type="stmt"/>
1082
1147
  <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"/>
1148
+ <line num="19" count="3" type="stmt"/>
1149
+ <line num="22" count="2" type="stmt"/>
1150
+ <line num="23" count="1" type="stmt"/>
1151
+ <line num="25" count="0" type="stmt"/>
1152
+ <line num="28" count="3" type="stmt"/>
1153
+ <line num="29" count="0" type="stmt"/>
1088
1154
  <line num="33" count="3" type="cond" truecount="0" falsecount="1"/>
1089
- <line num="36" count="1" type="stmt"/>
1155
+ <line num="36" count="3" type="cond" truecount="0" falsecount="1"/>
1156
+ <line num="39" count="1" type="stmt"/>
1090
1157
  </file>
1091
1158
  <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"/>
1159
+ <metrics statements="56" coveredstatements="53" conditionals="16" coveredconditionals="15" methods="25" coveredmethods="22"/>
1093
1160
  <line num="1" count="1" type="stmt"/>
1094
1161
  <line num="2" count="1" type="stmt"/>
1095
1162
  <line num="3" count="1" type="stmt"/>
1096
1163
  <line num="4" count="1" type="stmt"/>
1097
1164
  <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"/>
1165
+ <line num="9" count="1" type="stmt"/>
1166
+ <line num="11" count="5" type="stmt"/>
1101
1167
  <line num="13" count="5" type="stmt"/>
1102
1168
  <line num="14" count="5" type="stmt"/>
1103
- <line num="16" count="5" type="stmt"/>
1104
- <line num="19" count="5" type="stmt"/>
1169
+ <line num="15" count="5" type="stmt"/>
1170
+ <line num="17" count="5" type="stmt"/>
1105
1171
  <line num="20" count="5" type="stmt"/>
1106
- <line num="23" count="5" type="stmt"/>
1172
+ <line num="21" count="5" type="stmt"/>
1107
1173
  <line num="24" count="5" type="stmt"/>
1108
- <line num="26" count="5" type="stmt"/>
1174
+ <line num="25" count="5" type="stmt"/>
1109
1175
  <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"/>
1176
+ <line num="28" count="5" type="stmt"/>
1177
+ <line num="31" count="1" type="stmt"/>
1178
+ <line num="34" count="1" type="stmt"/>
1179
+ <line num="35" count="34" type="stmt"/>
1180
+ <line num="39" count="8" type="stmt"/>
1181
+ <line num="43" count="1" type="stmt"/>
1182
+ <line num="46" count="0" type="stmt"/>
1183
+ <line num="48" count="6" type="stmt"/>
1184
+ <line num="49" count="6" type="cond" truecount="2" falsecount="0"/>
1185
+ <line num="52" count="0" type="stmt"/>
1186
+ <line num="54" count="4" type="stmt"/>
1187
+ <line num="55" count="4" type="cond" truecount="2" falsecount="0"/>
1188
+ <line num="56" count="3" type="stmt"/>
1189
+ <line num="61" count="5" type="cond" truecount="1" falsecount="1"/>
1190
+ <line num="65" count="5" type="stmt"/>
1191
+ <line num="66" count="5" type="cond" truecount="2" falsecount="0"/>
1192
+ <line num="67" count="4" type="stmt"/>
1193
+ <line num="71" count="0" type="stmt"/>
1194
+ <line num="74" count="11" type="stmt"/>
1195
+ <line num="78" count="16" type="cond" truecount="2" falsecount="0"/>
1196
+ <line num="79" count="4" type="stmt"/>
1130
1197
  <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"/>
1198
+ <line num="85" count="12" type="stmt"/>
1199
+ <line num="86" count="12" type="stmt"/>
1200
+ <line num="88" count="12" type="cond" truecount="2" falsecount="0"/>
1201
+ <line num="89" count="33" type="stmt"/>
1202
+ <line num="92" count="12" type="stmt"/>
1203
+ <line num="96" count="5" type="stmt"/>
1204
+ <line num="97" count="1" type="stmt"/>
1205
+ <line num="98" count="1" type="stmt"/>
1206
+ <line num="102" count="1" type="stmt"/>
1207
+ <line num="104" count="3" type="stmt"/>
1208
+ <line num="106" count="9" type="stmt"/>
1209
+ <line num="110" count="18" type="stmt"/>
1210
+ <line num="111" count="15" type="cond" truecount="2" falsecount="0"/>
1211
+ <line num="112" count="7" type="stmt"/>
1212
+ <line num="116" count="3" type="stmt"/>
1213
+ <line num="119" count="1" type="stmt"/>
1214
+ <line num="124" count="1" type="stmt"/>
1215
+ <line num="126" count="3" type="stmt"/>
1148
1216
  </file>
1149
1217
  <file name="Validatable.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/Validatable.ts">
1150
1218
  <metrics statements="36" coveredstatements="25" conditionals="21" coveredconditionals="11" methods="12" coveredmethods="6"/>
@@ -1153,17 +1221,17 @@
1153
1221
  <line num="3" count="2" type="stmt"/>
1154
1222
  <line num="13" count="2" type="stmt"/>
1155
1223
  <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"/>
1224
+ <line num="16" count="11" type="stmt"/>
1225
+ <line num="17" count="11" type="stmt"/>
1226
+ <line num="20" count="11" type="stmt"/>
1227
+ <line num="22" count="11" type="stmt"/>
1228
+ <line num="25" count="11" type="stmt"/>
1229
+ <line num="26" count="11" type="stmt"/>
1162
1230
  <line num="31" count="0" type="stmt"/>
1163
1231
  <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"/>
1232
+ <line num="36" count="11" type="cond" truecount="5" falsecount="1"/>
1233
+ <line num="37" count="11" type="cond" truecount="3" falsecount="1"/>
1234
+ <line num="38" count="11" type="stmt"/>
1167
1235
  <line num="42" count="1" type="cond" truecount="1" falsecount="1"/>
1168
1236
  <line num="43" count="0" type="stmt"/>
1169
1237
  <line num="46" count="1" type="stmt"/>
@@ -1178,8 +1246,8 @@
1178
1246
  <line num="65" count="0" type="stmt"/>
1179
1247
  <line num="66" count="0" type="stmt"/>
1180
1248
  <line num="70" count="2" type="stmt"/>
1181
- <line num="71" count="1" type="stmt"/>
1182
- <line num="72" count="1" type="stmt"/>
1249
+ <line num="71" count="2" type="stmt"/>
1250
+ <line num="72" count="2" type="stmt"/>
1183
1251
  <line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
1184
1252
  <line num="77" count="0" type="stmt"/>
1185
1253
  <line num="80" count="0" type="stmt"/>
@@ -1188,24 +1256,24 @@
1188
1256
  <file name="wrappers.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/wrappers.ts">
1189
1257
  <metrics statements="19" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="10" coveredmethods="7"/>
1190
1258
  <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"/>
1259
+ <line num="4" count="3" type="stmt"/>
1260
+ <line num="5" count="6" type="stmt"/>
1261
+ <line num="6" count="6" type="stmt"/>
1262
+ <line num="9" count="13" type="stmt"/>
1263
+ <line num="12" count="6" type="stmt"/>
1264
+ <line num="15" count="3" type="stmt"/>
1265
+ <line num="16" count="3" type="stmt"/>
1266
+ <line num="19" count="6" type="stmt"/>
1197
1267
  <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"/>
1268
+ <line num="23" count="3" type="stmt"/>
1269
+ <line num="26" count="3" type="stmt"/>
1270
+ <line num="27" count="0" type="stmt"/>
1271
+ <line num="28" count="0" type="stmt"/>
1272
+ <line num="29" count="0" type="stmt"/>
1273
+ <line num="39" count="3" type="stmt"/>
1274
+ <line num="43" count="2" type="stmt"/>
1275
+ <line num="44" count="2" type="stmt"/>
1276
+ <line num="48" count="1" type="stmt"/>
1209
1277
  </file>
1210
1278
  </package>
1211
1279
  </project>