@baravak/risloo-profile-cli 4.7.0 → 4.8.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/package.json +1 -1
- package/src/publish/json/profiles/MACI93.json +2183 -0
- package/src/samples/JSIQ9Q.js +25 -3
- package/src/samples/JSIQ9V.js +25 -3
- package/src/samples/MACI93.js +414 -0
- package/views/profiles/samples/JSIQ9Q_1.hbs +6 -6
- package/views/profiles/samples/JSIQ9Q_2.hbs +8 -4
- package/views/profiles/samples/JSIQ9V_1.hbs +10 -10
- package/views/profiles/samples/JSIQ9V_2.hbs +7 -4
- package/views/profiles/samples/MACI93_1.hbs +206 -0
- package/views/profiles/samples/MACI93_2.hbs +180 -0
- package/views/profiles/samples/MACI93_3.hbs +129 -0
- package/views/profiles/samples/MACI93_4.hbs +129 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{{#> layout}}
|
|
2
|
+
<defs>
|
|
3
|
+
<filter id="linebreak" x="0" y="0" width="7" height="630" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
4
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
5
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
6
|
+
<feOffset dx="1"/>
|
|
7
|
+
<feGaussianBlur stdDeviation="1.5"/>
|
|
8
|
+
<feComposite in2="hardAlpha" operator="out"/>
|
|
9
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/>
|
|
10
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_407_82399"/>
|
|
11
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_407_82399" result="shape"/>
|
|
12
|
+
</filter>
|
|
13
|
+
<linearGradient id="blueBar">
|
|
14
|
+
<stop stop-color="#93C5FD"/>
|
|
15
|
+
<stop offset="1" stop-color="#2563EB"/>
|
|
16
|
+
</linearGradient>
|
|
17
|
+
<linearGradient id="grayBar">
|
|
18
|
+
<stop stop-color="#E2E8F0"/>
|
|
19
|
+
<stop offset="1" stop-color="#CBD5E1"/>
|
|
20
|
+
</linearGradient>
|
|
21
|
+
<linearGradient id="coldGrayBar">
|
|
22
|
+
<stop stop-color="#CBD5E1"/>
|
|
23
|
+
<stop offset="1" stop-color="#94A3B8"/>
|
|
24
|
+
</linearGradient>
|
|
25
|
+
<linearGradient id="hotGrayBar">
|
|
26
|
+
<stop stop-color="#D4D4D8"/>
|
|
27
|
+
<stop offset="1" stop-color="#A1A1AA"/>
|
|
28
|
+
</linearGradient>
|
|
29
|
+
<linearGradient id="yellowBar">
|
|
30
|
+
<stop stop-color="#FEF08A"/>
|
|
31
|
+
<stop offset="1" stop-color="#EAB308"/>
|
|
32
|
+
</linearGradient>
|
|
33
|
+
<linearGradient id="orangeBar">
|
|
34
|
+
<stop stop-color="#FDBA74"/>
|
|
35
|
+
<stop offset="1" stop-color="#EA580C"/>
|
|
36
|
+
</linearGradient>
|
|
37
|
+
<linearGradient id="redBar">
|
|
38
|
+
<stop stop-color="#FDA4AF"/>
|
|
39
|
+
<stop offset="1" stop-color="#E11D48"/>
|
|
40
|
+
</linearGradient>
|
|
41
|
+
<clipPath id="defaultBar">
|
|
42
|
+
{{bar 360 16 (object tr=2 br=2 bl=0 tl=0) (toRad 0)}}
|
|
43
|
+
</clipPath>
|
|
44
|
+
</defs>
|
|
45
|
+
<g transform="translate(4, 20)">
|
|
46
|
+
<g transform="translate(110, -16)">
|
|
47
|
+
<g transform="translate(252, 59)">
|
|
48
|
+
{{#each grasman as | item index |}}
|
|
49
|
+
<g transform="translate(0, {{math 104 '*' index}})">
|
|
50
|
+
<g transform="translate(-252, -4)">
|
|
51
|
+
{{bar 36 72 (object tr=0 br=0 bl=2 tl=2) (toRad 0) fill=item.style.bg transform="translate(0, 4)"}}
|
|
52
|
+
<rect x="36.5" y=".5" width="47" height="79" stroke="{{item.style.border}}" fill="{{item.style.bg}}" rx="4" />
|
|
53
|
+
<line x1="3" x2="33" y1="40" y2="40" stroke="{{item.style.border}}" />
|
|
54
|
+
<text x="18" y="22" text-anchor="middle" dy=".3em" font-size="13" font-weight="500" fill="{{item.style.color}}" class="eng-font">{{item.label}}</text>
|
|
55
|
+
<text x="18" y="58" text-anchor="middle" dy=".3em" font-size="13" font-weight="600" fill="{{item.style.color}}" class="eng-font">{{item.br}}</text>
|
|
56
|
+
<text text-anchor="middle" dy=".3em" font-size="13" font-weight="500" fill="{{item.style.color}}" transform="rotate(-90) translate(-40, 60)">{{item.fa}}</text>
|
|
57
|
+
</g>
|
|
58
|
+
{{#each item.subs as | sub isub |}}
|
|
59
|
+
<g transform="translate(0, {{math 28 '*' isub}})">
|
|
60
|
+
<text y="8" text-anchor="start" dy=".3em" font-size="13" font-weight="{{sub.style.weight}}" fill="{{sub.style.color}}" class="eng-font">{{sub.fa}}</text>
|
|
61
|
+
<text x="13" y="8" text-anchor="start" dy=".3em" font-size="13" font-weight="{{sub.style.weight}}" fill="{{sub.style.color}}" class="eng-font">-</text>
|
|
62
|
+
<text x="37" y="8" text-anchor="middle" dy=".3em" font-size="13" font-weight="{{sub.style.weight}}" fill="{{sub.style.color}}" class="eng-font">{{sub.label}}</text>
|
|
63
|
+
<rect x="370" width="36" height="16" rx="2" fill="{{sub.style.bg}}" />
|
|
64
|
+
<text x="388" y="8" text-anchor="middle" dy=".3em" font-size="13" font-weight="400" fill="{{sub.style.color}}" class="eng-font">{{sub.raw}}</text>
|
|
65
|
+
{{bar 300 16 (object tr=2 br=2 bl=0 tl=0) (toRad 0) fill=sub.style.bg transform="translate(57, 0)"}}
|
|
66
|
+
</g>
|
|
67
|
+
|
|
68
|
+
{{/each}}
|
|
69
|
+
</g>
|
|
70
|
+
{{/each}}
|
|
71
|
+
</g>
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
<g>
|
|
75
|
+
<text x="{{math 307 '+' (math 60 '*' 0)}}" y="23" text-anchor="middle" dy=".3em" font-size="12" font-weight="600" fill="#9CA3AF">BR</text>
|
|
76
|
+
<text x="{{math 307 '+' (math 60 '*' 1)}}" y="23" text-anchor="middle" dy=".3em" font-size="12" font-weight="400" fill="#9CA3AF">60</text>
|
|
77
|
+
<text x="{{math 307 '+' (math 60 '*' 2)}}" y="23" text-anchor="middle" dy=".3em" font-size="12" font-weight="400" fill="#9CA3AF">70</text>
|
|
78
|
+
<text x="{{math 307 '+' (math 60 '*' 2.5)}}" y="3" text-anchor="middle" dy=".3em" font-size="12" font-weight="400" fill="#9CA3AF">75</text>
|
|
79
|
+
<text x="{{math 307 '+' (math 60 '*' 3)}}" y="23" text-anchor="middle" dy=".3em" font-size="12" font-weight="400" fill="#9CA3AF">80</text>
|
|
80
|
+
<text x="{{math 307 '+' (math 60 '*' 4)}}" y="23" text-anchor="middle" dy=".3em" font-size="12" font-weight="400" fill="#9CA3AF">90</text>
|
|
81
|
+
<text x="{{math 307 '+' (math 60 '*' 5)}}" y="23" text-anchor="start" dy=".3em" font-size="12" font-weight="400" fill="#9CA3AF">100</text>
|
|
82
|
+
<g transform="translate(622, 20)">
|
|
83
|
+
<path d="M3.5 1V8M3.5 8L6.5 5M3.5 8L0.5 5" stroke="#9CA3AF" stroke-width="0.75" stroke-linecap="round" stroke-linejoin="round"/>
|
|
84
|
+
</g>
|
|
85
|
+
<text x="633" y="23" text-anchor="end" dy=".3em" font-size="12" font-weight="400" fill="#9CA3AF">نمره خام</text>
|
|
86
|
+
|
|
87
|
+
<line x1="{{math 367 '+' (math 60 '*' 0)}}" x2="{{math 367 '+' (math 60 '*' 0)}}" y1="46" y2="667" stroke="#E5E7EB" stroke-dasharray="6 6" stroke-linecap="round"/>
|
|
88
|
+
<line x1="{{math 367 '+' (math 60 '*' 1)}}" x2="{{math 367 '+' (math 60 '*' 1)}}" y1="46" y2="667" stroke="#E5E7EB" stroke-dasharray="6 6" stroke-linecap="round"/>
|
|
89
|
+
<line x1="{{math 367 '+' (math 60 '*' 1.5)}}" x2="{{math 367 '+' (math 60 '*' 1.5)}}" y1="17" y2="667" stroke="#E5E7EB" stroke-linecap="round"/>
|
|
90
|
+
<line x1="{{math 367 '+' (math 60 '*' 2)}}" x2="{{math 367 '+' (math 60 '*' 2)}}" y1="46" y2="667" stroke="#E5E7EB" stroke-dasharray="6 6" stroke-linecap="round"/>
|
|
91
|
+
<line x1="{{math 367 '+' (math 60 '*' 3)}}" x2="{{math 367 '+' (math 60 '*' 3)}}" y1="46" y2="667" stroke="#E5E7EB" stroke-dasharray="6 6" stroke-linecap="round"/>
|
|
92
|
+
<line x1="{{math 367 '+' (math 60 '*' 4)}}" x2="{{math 367 '+' (math 60 '*' 4)}}" y1="46" y2="667" stroke="#E5E7EB" stroke-dasharray="6 6" stroke-linecap="round"/>
|
|
93
|
+
</g>
|
|
94
|
+
|
|
95
|
+
<g transform="translate(252, 59)">
|
|
96
|
+
{{#each grasman as | item index |}}
|
|
97
|
+
{{#each item.subs as | sub isub |}}
|
|
98
|
+
<g transform="translate(0, {{math (math 104 '*' index) '+' (math 28 '*' isub)}})">
|
|
99
|
+
{{bar sub.pixel 16 (object tr=2 br=2 bl=0 tl=0) (toRad 0) fill=sub.style.key transform="translate(57, 0)"}}
|
|
100
|
+
</g>
|
|
101
|
+
{{/each}}
|
|
102
|
+
{{/each}}
|
|
103
|
+
</g>
|
|
104
|
+
<g opacity="0.5" filter="url(#linebreak)" transform="translate(307, 40)">
|
|
105
|
+
<line x1="2.5" y1="3.5" x2="2.5" y2="626.5" stroke="white" stroke-linecap="round"/>
|
|
106
|
+
</g>
|
|
107
|
+
</g>
|
|
108
|
+
|
|
109
|
+
<g transform="translate(0, 650)">
|
|
110
|
+
<g transform="translate(2, 2)">
|
|
111
|
+
<rect width="17" height="17" rx="4" stroke="#CBD5E1" fill="none" />
|
|
112
|
+
<text text-anchor="middle" x="9" y="9" dy=".3em" font-size="10" font-weight="400" fill="#94A3B8" >1</text>
|
|
113
|
+
</g>
|
|
114
|
+
<g transform="translate(22, 2)">
|
|
115
|
+
<rect width="17" height="17" rx="4" stroke="#CBD5E1" fill="none" />
|
|
116
|
+
<text text-anchor="middle" x="9" y="9" dy=".3em" font-size="10" font-weight="400" fill="#94A3B8" >2</text>
|
|
117
|
+
</g>
|
|
118
|
+
<g transform="translate(2, 22)">
|
|
119
|
+
<rect width="17" height="17" rx="4" stroke="#CBD5E1" fill="none" />
|
|
120
|
+
<text text-anchor="middle" x="9" y="9" dy=".3em" font-size="10" font-weight="400" fill="#94A3B8" >3</text>
|
|
121
|
+
</g>
|
|
122
|
+
<g transform="translate(20, 20)">
|
|
123
|
+
<rect width="20" height="20" rx="4" fill="#007BA4" />
|
|
124
|
+
<text text-anchor="middle" x="10" y="10" dy=".3em" font-size="12" font-weight="600" fill="#FFFFFF" >4</text>
|
|
125
|
+
</g>
|
|
126
|
+
</g>
|
|
127
|
+
</g>
|
|
128
|
+
|
|
129
|
+
{{/layout}}
|