@baravak/risloo-profile-cli 4.32.0 → 4.32.2
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
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{{#> layout}}
|
|
2
2
|
<defs>
|
|
3
3
|
{{#with forgivness}}
|
|
4
|
-
<linearGradient id="{{details.label.eng}}bg" x1="
|
|
5
|
-
<stop
|
|
6
|
-
<stop stop-color="{{details.label.color}}"/>
|
|
4
|
+
<linearGradient id="{{details.label.eng}}bg" x1="-1.8" y1="74" x2="81.7" y2="-112.75" gradientUnits="userSpaceOnUse">
|
|
5
|
+
<stop stop-color="{{details.label.secondary}}"/>
|
|
6
|
+
<stop offset="1" stop-color="{{details.label.color}}"/>
|
|
7
7
|
</linearGradient>
|
|
8
8
|
<clipPath id="{{details.label.eng}}cr">
|
|
9
9
|
{{gauge 125 (math 125 '*' 0.7) (object tl=6 tr=6 bl=6 br=6) (object start=circle.angles.start end=circle.angles.end) direction}}
|
|
10
10
|
</clipPath>
|
|
11
11
|
{{/with}}
|
|
12
12
|
{{#with gratitude}}
|
|
13
|
-
<linearGradient id="{{details.label.eng}}bg" x1="
|
|
14
|
-
<stop
|
|
15
|
-
<stop stop-color="{{details.label.color}}"/>
|
|
13
|
+
<linearGradient id="{{details.label.eng}}bg" x1="42.7" x2="125" y1="164" y2="-24" gradientUnits="userSpaceOnUse">
|
|
14
|
+
<stop stop-color="{{details.label.secondary}}"/>
|
|
15
|
+
<stop offset="1" stop-color="{{details.label.color}}"/>
|
|
16
16
|
</linearGradient>
|
|
17
17
|
<clipPath id="{{details.label.eng}}cr">
|
|
18
18
|
{{gauge 125 (math 125 '*' 0.7) (object tl=6 tr=6 bl=6 br=6) (object start=circle.angles.start end=circle.angles.end) direction}}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<clipPath id="tptalcr">
|
|
22
22
|
<rect width="280" height="28" rx="6" />
|
|
23
23
|
</clipPath>
|
|
24
|
-
<linearGradient id="totalbg">
|
|
24
|
+
<linearGradient id="totalbg" x1="0" x2="280" y1="0" y2="0" gradientUnits="userSpaceOnUse">
|
|
25
25
|
<stop stop-color="#94A3B8"/>
|
|
26
26
|
<stop offset="1" stop-color="#334155"/>
|
|
27
27
|
</linearGradient>
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
<g>
|
|
32
32
|
<g>
|
|
33
33
|
<g>
|
|
34
|
-
{{#if (boolean details.report '===' '
|
|
34
|
+
{{#if (boolean details.report '===' 'high')}}
|
|
35
35
|
<rect x="0.5" y="0.5" width="204" height="87" stroke-width="1" rx="8" stroke="#F3E8FF" fill="#FAF5FF" />
|
|
36
36
|
{{else}}
|
|
37
37
|
<rect width="205" height="88" rx="8" fill="#F8FAFC" />
|
|
38
38
|
{{/if}}
|
|
39
|
-
<text fill="{{ternary (boolean details.report '===' '
|
|
39
|
+
<text fill="{{ternary (boolean details.report '===' 'high') details.label.color '#64748B'}}" font-size="14">
|
|
40
40
|
<tspan x="16" y="22" text-anchor="end" font-weight="500" dy="0.3em">۳۰ الی ۶۰</tspan>
|
|
41
41
|
<tspan x="16" y="50" text-anchor="end" font-weight="400" dy="0.3em">فرد آمادگی آشکارسازی را دارد.</tspan>
|
|
42
42
|
</text>
|
|
@@ -47,21 +47,21 @@
|
|
|
47
47
|
{{else}}
|
|
48
48
|
<rect width="205" height="68" rx="8" fill="#F8FAFC" />
|
|
49
49
|
{{/if}}
|
|
50
|
-
<text fill="{{ternary (boolean details.report '===' 'moderate')
|
|
50
|
+
<text fill="{{ternary (boolean details.report '===' 'moderate') details.label.color '#64748B'}}" font-size="14">
|
|
51
51
|
<tspan x="16" y="22" text-anchor="end" font-weight="500" dy="0.3em">۱۰ الی ۲۹</tspan>
|
|
52
52
|
<tspan x="16" y="50" text-anchor="end" font-weight="400" dy="0.3em">-</tspan>
|
|
53
53
|
</text>
|
|
54
54
|
</g>
|
|
55
55
|
<g transform="translate(0, 174)">
|
|
56
|
-
{{#if (boolean details.report '===' '
|
|
56
|
+
{{#if (boolean details.report '===' 'low')}}
|
|
57
57
|
<rect x="0.5" y="0.5" width="204" height="87" stroke-width="1" rx="8" stroke="#F3E8FF" fill="#FAF5FF" />
|
|
58
58
|
{{else}}
|
|
59
59
|
<rect width="205" height="88" rx="8" fill="#F8FAFC" />
|
|
60
60
|
{{/if}}
|
|
61
|
-
<text fill="{{ternary (boolean details.report '===' '
|
|
61
|
+
<text fill="{{ternary (boolean details.report '===' 'low') details.label.color '#64748B'}}" font-size="14">
|
|
62
62
|
<tspan x="16" y="22" text-anchor="end" font-weight="500" dy="0.3em">۰ الی ۹</tspan>
|
|
63
63
|
<tspan x="16" y="50" text-anchor="end" font-weight="400" dy="0.3em">باید از مهارتهای پایه برای</tspan>
|
|
64
|
-
<tspan x="16" y="50" text-anchor="end" font-weight="400" dy="1.
|
|
64
|
+
<tspan x="16" y="50" text-anchor="end" font-weight="400" dy="1.6em">آمادگی فرد استفاده کرد.</tspan>
|
|
65
65
|
</text>
|
|
66
66
|
</g>
|
|
67
67
|
</g>
|
|
@@ -85,38 +85,38 @@
|
|
|
85
85
|
<g transform="translate(458, 0)">
|
|
86
86
|
<g transform="translate(173, 0)">
|
|
87
87
|
<g>
|
|
88
|
-
{{#if (boolean details.report '===' '
|
|
89
|
-
<rect x="0.5" y="0.5" width="204" height="87" stroke-width="1" rx="8" stroke="#
|
|
88
|
+
{{#if (boolean details.report '===' 'high')}}
|
|
89
|
+
<rect x="0.5" y="0.5" width="204" height="87" stroke-width="1" rx="8" stroke="#E0E7FF" fill="#EEF2FF" />
|
|
90
90
|
{{else}}
|
|
91
91
|
<rect width="205" height="88" rx="8" fill="#F8FAFC" />
|
|
92
92
|
{{/if}}
|
|
93
|
-
<text fill="{{ternary (boolean details.report '===' '
|
|
93
|
+
<text fill="{{ternary (boolean details.report '===' 'high') details.label.color '#64748B'}}" font-size="14">
|
|
94
94
|
<tspan x="189" y="22" text-anchor="start" font-weight="500" dy="0.3em">۲۷ الی ۵۲</tspan>
|
|
95
95
|
<tspan x="189" y="50" text-anchor="start" font-weight="400" dy="0.3em">فرد آمادگی دارد تا تمرینهای</tspan>
|
|
96
|
-
<tspan x="189" y="50" text-anchor="start" font-weight="400" dy="1.
|
|
96
|
+
<tspan x="189" y="50" text-anchor="start" font-weight="400" dy="1.6em">رهاسازی را شروع کند.</tspan>
|
|
97
97
|
</text>
|
|
98
98
|
</g>
|
|
99
99
|
<g transform="translate(0, 96)">
|
|
100
100
|
{{#if (boolean details.report '===' 'moderate')}}
|
|
101
|
-
<rect x="0.5" y="0.5" width="204" height="69" stroke-width="1" rx="8" stroke="#
|
|
101
|
+
<rect x="0.5" y="0.5" width="204" height="69" stroke-width="1" rx="8" stroke="#E0E7FF" fill="#EEF2FF" />
|
|
102
102
|
{{else}}
|
|
103
103
|
<rect width="205" height="68" rx="8" fill="#F8FAFC" />
|
|
104
104
|
{{/if}}
|
|
105
|
-
<text fill="{{ternary (boolean details.report '===' 'moderate')
|
|
105
|
+
<text fill="{{ternary (boolean details.report '===' 'moderate') details.label.color '#64748B'}}" font-size="14">
|
|
106
106
|
<tspan x="189" y="22" text-anchor="start" font-weight="500" dy="0.3em">۱۰ الی ۲۶</tspan>
|
|
107
107
|
<tspan x="189" y="50" text-anchor="start" font-weight="400" dy="0.3em">-</tspan>
|
|
108
108
|
</text>
|
|
109
109
|
</g>
|
|
110
110
|
<g transform="translate(0, 174)">
|
|
111
|
-
{{#if (boolean details.report '===' '
|
|
112
|
-
<rect x="0.5" y="0.5" width="204" height="87" stroke-width="1" rx="8" stroke="#
|
|
111
|
+
{{#if (boolean details.report '===' 'low')}}
|
|
112
|
+
<rect x="0.5" y="0.5" width="204" height="87" stroke-width="1" rx="8" stroke="#E0E7FF" fill="#EEF2FF" />
|
|
113
113
|
{{else}}
|
|
114
114
|
<rect width="205" height="88" rx="8" fill="#F8FAFC" />
|
|
115
115
|
{{/if}}
|
|
116
|
-
<text fill="{{ternary (boolean details.report '===' '
|
|
116
|
+
<text fill="{{ternary (boolean details.report '===' 'low') details.label.color '#64748B'}}" font-size="14">
|
|
117
117
|
<tspan x="189" y="22" text-anchor="start" font-weight="500" dy="0.3em">۰ الی ۹</tspan>
|
|
118
118
|
<tspan x="189" y="50" text-anchor="start" font-weight="400" dy="0.3em">فرد آمادگی رهاسازی را ندارد و</tspan>
|
|
119
|
-
<tspan x="189" y="50" text-anchor="start" font-weight="400" dy="1.
|
|
119
|
+
<tspan x="189" y="50" text-anchor="start" font-weight="400" dy="1.6em">باید درمان مقدماتی ادامه یابد.</tspan>
|
|
120
120
|
</text>
|
|
121
121
|
</g>
|
|
122
122
|
</g>
|
|
@@ -141,8 +141,10 @@
|
|
|
141
141
|
<text x="0" y="41" text-anchor="end" dy="0.3em" font-size="12" font-weight="400" fill="#64748B">0</text>
|
|
142
142
|
<text x="280" y="41" text-anchor="start" dy="0.3em" font-size="12" font-weight="400" fill="#64748B">112</text>
|
|
143
143
|
<text x="140" y="49" text-anchor="middle" dy="0.3em" font-size="12" font-weight="400" fill="#334155">نمره کل</text>
|
|
144
|
-
<
|
|
145
|
-
|
|
144
|
+
<g transform="translate({{math total.p '*' 280}}, 0)">
|
|
145
|
+
<text y="-19" text-anchor="middle" dy="0.3em" font-size="20" font-weight="600" fill="#334155">{{total.mark}}</text>
|
|
146
|
+
<text y="-36" text-anchor="middle" dy="0.3em" font-size="12" font-weight="400" fill="#334155">٪{{total.percentage}}</text>
|
|
147
|
+
</g>
|
|
146
148
|
</g>
|
|
147
149
|
</g>
|
|
148
150
|
|