@baravak/risloo-profile-cli 4.22.1 → 4.25.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 +1 -1
- package/src/helpers/gauge.js +3 -3
- package/src/publish/json/profiles/16PF93.json +193 -790
- package/src/publish/json/profiles/16PF9A.json +42 -58
- package/src/publish/json/profiles/16PFOld93.json +2623 -0
- package/src/samples/16PF93.js +132 -110
- package/src/samples/16PF9A.js +113 -67
- package/src/samples/16PFOld93.js +158 -0
- package/src/samples/AAI93.js +1 -4
- package/src/samples/CAATS93.js +1 -1
- package/views/profiles/samples/16PF93.hbs +97 -47
- package/views/profiles/samples/16PF9A.hbs +84 -48
- package/views/profiles/samples/16PFOld93.hbs +3 -0
package/src/samples/AAI93.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
const { Profile
|
|
2
|
-
const polygonXY = require("../helpers/polygonXY");
|
|
3
|
-
const polygonDefaultStart = require("../helpers/polygonDefaultStart");
|
|
4
|
-
const round = require("../handlebars/helpers/round");
|
|
1
|
+
const { Profile } = require("../Profile");
|
|
5
2
|
const gauge = require("../helpers/gauge");
|
|
6
3
|
|
|
7
4
|
class AAI93 extends Profile {
|
package/src/samples/CAATS93.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { Profile, Mappings } = require("../Profile");
|
|
2
2
|
const GMIT93 = require("./GMIT93");
|
|
3
3
|
const RIASEC93 = require("./RIASEC93");
|
|
4
|
-
const _16PF = require("./
|
|
4
|
+
const _16PF = require("./16PFOld93");
|
|
5
5
|
|
|
6
6
|
class CAATS93 extends Profile {
|
|
7
7
|
// Number of pages
|
|
@@ -1,54 +1,104 @@
|
|
|
1
1
|
{{#> layout}}
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="top-gradient">
|
|
4
|
+
<stop stop-color="#F3F4F6"/>
|
|
5
|
+
<stop offset="1" stop-color="#F9FAFB" stop-opacity="0.5"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="down-gradient" >
|
|
8
|
+
<stop stop-color="#F9FAFB" stop-opacity="0.5"/>
|
|
9
|
+
<stop offset="1" stop-color="#F3F4F6"/>
|
|
10
|
+
</linearGradient>
|
|
2
11
|
|
|
12
|
+
{{#each alertStyle as |style key|}}
|
|
13
|
+
<linearGradient id="{{key}}_header" x1="0%" y1="0%" x2="0%" y2="100%">
|
|
14
|
+
<stop stop-color="{{style.headerGradients.[1]}}"/>
|
|
15
|
+
<stop offset="1" stop-color="{{style.headerGradients.[0]}}"/>
|
|
16
|
+
</linearGradient>
|
|
17
|
+
<linearGradient id="{{key}}_footer" x1="0%" y1="0%" x2="0%" y2="100%">
|
|
18
|
+
<stop stop-color="{{style.footerGradient}}"/>
|
|
19
|
+
<stop offset="1" stop-color="{{style.primary}}"/>
|
|
20
|
+
</linearGradient>
|
|
21
|
+
{{/each}}
|
|
22
|
+
</defs>
|
|
3
23
|
<g transform="translate({{spec.profile.padding.x}}, {{spec.profile.padding.y}})">
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
<rect x="
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
{{#with @root.spec.items as | itemsSpec |}}
|
|
23
|
-
<g transform="translate(0, {{math index '*' itemsSpec.offsetY}})">
|
|
24
|
-
<g transform="translate(0, 7.2)">
|
|
25
|
-
<line x1="18" y1="0" x2="-147.6" y2="0" stroke="#E4E4E7" />
|
|
26
|
-
<g font-size="14.4" font-weight="400">
|
|
27
|
-
<text x="220" y="0" fill="#71717A" font-weight="500" text-anchor="middle" dy="3">{{item.label.fr}}</text>
|
|
28
|
-
<text x="32.4" y="0" fill="#1E40AF" text-anchor="end" dy="3">{{item.label.right}}</text>
|
|
29
|
-
<text x="-162.5" y="0" fill="#155E75" text-anchor="start" dy="3">{{item.label.left}}</text>
|
|
30
|
-
</g>
|
|
31
|
-
</g>
|
|
32
|
-
<g transform="translate(-{{item.offset}}, 0)">
|
|
33
|
-
<rect x="0" y="0" width="16.2" height="16.2" fill="{{item.fill}}" fill-opacity="{{item.opacity}}" rx="3.6" />
|
|
34
|
-
<text x="8.1" y="8.1" fill="#FFFFFF" font-size="12.6" font-weight="400" text-anchor="middle" dy="3.5">{{item.mark}}</text>
|
|
35
|
-
</g>
|
|
36
|
-
</g>
|
|
37
|
-
{{/with}}
|
|
24
|
+
<g transform="translate(0, 25)">
|
|
25
|
+
{{#each factors as |factor|}}
|
|
26
|
+
<g transform="translate(0, {{math @index '*' 36}})">
|
|
27
|
+
{{bar 32 32 (object tl=4 bl=4 tr=0 br=0) (toRad 0) fill="#E5E7EB99" transform="translate(321, 0)"}}
|
|
28
|
+
<rect x="353" width="40" height="32" fill="url(#top-gradient)" stroke="none"/>
|
|
29
|
+
<rect x="393" width="394" height="32" fill="#F9FAFB80" stroke="none"/>
|
|
30
|
+
{{bar 40 32 (object tl=0 bl=0 tr=4 br=4) (toRad 0) fill="url(#down-gradient)" transform="translate(786, 0)"}}
|
|
31
|
+
<text x="305" y="16" font-size="13" font-weight="400" fill="#6B7280" text-anchor="start" dy=".25em">
|
|
32
|
+
<tspan font-size="14" font-weight="500">{{factor.mark}}</tspan>
|
|
33
|
+
<tspan font-size="2">⠀</tspan>
|
|
34
|
+
<tspan>از</tspan>
|
|
35
|
+
<tspan>{{factor.lable.max}}</tspan>
|
|
36
|
+
</text>
|
|
37
|
+
<text x="337" y="16" font-size="14" font-weight="500" fill="#6B7280" text-anchor="middle" dy=".3em">{{factor.lable.eng}}</text>
|
|
38
|
+
<text x="102" y="16" font-size="14" font-weight="400" fill="#6B7280" text-anchor="end" dy=".25em">{{factor.lable.title}}</text>
|
|
39
|
+
<text x="505" y="16" font-size="14" font-weight="400" fill="#155E75" text-anchor="start" dy=".25em">{{factor.lable.top}}</text>
|
|
40
|
+
<text x="701" y="16" font-size="14" font-weight="400" fill="#1E40AF" text-anchor="end" dy=".25em">{{factor.lable.down}}</text>
|
|
41
|
+
</g>
|
|
38
42
|
{{/each}}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
</g>
|
|
44
|
+
<text x="531" y="8" font-size="12" font-weight="400" fill="#155E75" text-anchor="middle" dy=".25em">10</text>
|
|
45
|
+
<text x="675" y="8" font-size="12" font-weight="400" fill="#1E40AF" text-anchor="middle" dy=".25em">1</text>
|
|
46
|
+
<rect x="523" y="21" opacity="0.1" width="16" height="580" rx="4" fill="#0E7490"/>
|
|
47
|
+
<rect x="539" y="21" opacity="0.07" width="16" height="580" rx="4" fill="#0E7490"/>
|
|
48
|
+
<rect x="555" y="21" opacity="0.05" width="16" height="580" rx="4" fill="#0E7490"/>
|
|
49
|
+
|
|
50
|
+
<rect x="571" y="21" opacity="0.15" width="16" height="580" rx="4" fill="#E5E7EB"/>
|
|
51
|
+
|
|
52
|
+
<rect x="619" y="21" opacity="0.1" width="16" height="580" rx="4" fill="#E5E7EB"/>
|
|
53
|
+
|
|
54
|
+
<rect x="635" y="21" opacity="0.05" width="16" height="580" rx="4" fill="#1D4ED8"/>
|
|
55
|
+
<rect x="651" y="21" opacity="0.07" width="16" height="580" rx="4" fill="#1D4ED8"/>
|
|
56
|
+
<rect x="667" y="21" opacity="0.1" width="16" height="580" rx="4" fill="#1D4ED8"/>
|
|
57
|
+
<g transform="translate(513, 25)" fill="#E5E7EB">
|
|
58
|
+
{{#forLoop 0 16 1}}
|
|
59
|
+
<rect width="180" height="2" y="{{math 15 '+' (math i '*' 36)}}"/>
|
|
60
|
+
<rect width="2" height="2" y="{{math 15 '+' (math i '*' 36)}}" fill="#D1D5DB"/>
|
|
61
|
+
<rect x="178" width="2" height="2" y="{{math 15 '+' (math i '*' 36)}}" fill="#D1D5DB"/>
|
|
62
|
+
{{/forLoop}}
|
|
63
|
+
{{#each factors as |factor|}}
|
|
64
|
+
<rect x="{{math 170 '-' (math factor.mark '*' 16)}}" y="{{math 8 '+' (math @index '*' 36)}}" width="16" height="16" rx="4" fill="{{factor.lable.style.[0]}}" opacity="{{factor.lable.style.[1]}}"/>
|
|
65
|
+
<text x="{{math 178 '-' (math factor.mark '*' 16)}}" y="{{math 16 '+' (math @index '*' 36)}}" font-size="14" font-weight="600" fill="#FFFFFF" text-anchor="middle" dy=".3em">{{factor.mark}}</text>
|
|
66
|
+
{{/each}}
|
|
67
|
+
</g>
|
|
68
|
+
<rect width="826" height="1" rx="0.5" y="617" fill="#F3F4F6"/>
|
|
69
|
+
<g transform="translate(349, 634)">
|
|
70
|
+
{{bar 247 31 (object tl=6 bl=0 tr=6 br=0) (toRad 0) fill=final.style.headerUrl transform="translate(0.5, 0.5)" stroke=final.style.footerGradient}}
|
|
71
|
+
{{bar 248 28 (object tl=0 bl=6 tr=0 br=6) (toRad 0) fill=final.style.footerUrl transform="translate(0, 32)"}}
|
|
72
|
+
<text x="235" y="16" font-size="12" font-weight="400" fill="{{final.style.primary}}" text-anchor="start" dy=".25em">پاسخ سوال ۱۸۷ (بررسی اعتبار)</text>
|
|
73
|
+
<g transform="translate(72, 12.5)">
|
|
74
|
+
<path d="M0.916504 4H9.08317M0.916504 4L4.4165 7.5M0.916504 4L4.4165 0.5" stroke="{{final.style.primary}}" stroke-linecap="round" stroke-linejoin="round"/>
|
|
75
|
+
</g>
|
|
76
|
+
<text x="37" y="16" font-size="14" font-weight="600" fill="{{final.style.primary}}" text-anchor="middle" dy=".25em">{{final.text}}</text>
|
|
77
|
+
<text x="124" y="46" font-size="13" font-weight="600" fill="#FFFFFF" text-anchor="middle" dy=".25em">{{final.textType}}</text>
|
|
78
|
+
</g>
|
|
79
|
+
|
|
80
|
+
<g transform="translate(609, 634)">
|
|
81
|
+
{{bar 175 31 (object tl=6 bl=0 tr=6 br=0) (toRad 0) fill=bCount.style.headerUrl transform="translate(0.5, 0.5)" stroke=bCount.style.footerGradient}}
|
|
82
|
+
{{bar 176 28 (object tl=0 bl=6 tr=0 br=6) (toRad 0) fill=bCount.style.footerUrl transform="translate(0, 32)"}}
|
|
83
|
+
<text x="163" y="16" font-size="12" font-weight="400" fill="{{bCount.style.primary}}" text-anchor="start" dy=".25em">تعداد گزینه «ب»</text>
|
|
84
|
+
<g transform="translate(56.5, 12.5)">
|
|
85
|
+
<path d="M0.916504 4H9.08317M0.916504 4L4.4165 7.5M0.916504 4L4.4165 0.5" stroke="{{bCount.style.primary}}" stroke-linecap="round" stroke-linejoin="round"/>
|
|
86
|
+
</g>
|
|
87
|
+
<text x="37" y="16" font-size="14" font-weight="600" fill="{{bCount.style.primary}}" text-anchor="middle" dy=".25em">{{bCount.mark}}</text>
|
|
88
|
+
<text x="88" y="46" font-size="13" font-weight="600" fill="#FFFFFF" text-anchor="middle" dy=".25em">{{bCount.text}}</text>
|
|
89
|
+
</g>
|
|
90
|
+
<g transform="translate(36, 87)">
|
|
91
|
+
{{#each secondary as |item|}}
|
|
92
|
+
<g transform="translate({{math item.position.[0] '*' 112}}, {{math item.position.[1] '*' 140}})">
|
|
93
|
+
<circle cx="0" cy="0" r="36" fill="{{ternary (boolean item.mark '>='10) '#64748b' '#F1F5F9'}}"/>
|
|
94
|
+
<circle cx="0" cy="0" r="{{math 36 '*' 0.7}}" fill="white"/>
|
|
95
|
+
{{#if (boolean item.mark '<' 10)}}
|
|
96
|
+
{{gauge 36 (math 36 '*' 0.7) (object tl=0 tr=0 bl=0 br=0) (object start=circle.circle.angles.start end=circle.zeta) direction fill='#64748b'}}
|
|
97
|
+
{{/if}}
|
|
98
|
+
<text y="0" text-anchor="middle" dy=".25em" font-size="15" font-weight="600" fill="#475569">{{value}}</text>
|
|
99
|
+
<text y="44" x="0" text-anchor="middle" dy="1em" font-size="14" font-weight="400" fill="#334155">{{label.fr}}</text>
|
|
48
100
|
</g>
|
|
49
|
-
{{/
|
|
50
|
-
|
|
51
|
-
</g>
|
|
101
|
+
{{/each}}
|
|
102
|
+
</g>
|
|
52
103
|
</g>
|
|
53
|
-
|
|
54
104
|
{{/layout}}
|
|
@@ -1,57 +1,93 @@
|
|
|
1
1
|
{{#> layout}}
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="top-gradient">
|
|
4
|
+
<stop stop-color="#F3F4F6"/>
|
|
5
|
+
<stop offset="1" stop-color="#F9FAFB" stop-opacity="0.5"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="down-gradient">
|
|
8
|
+
<stop stop-color="#F9FAFB" stop-opacity="0.5"/>
|
|
9
|
+
<stop offset="1" stop-color="#F3F4F6"/>
|
|
10
|
+
</linearGradient>
|
|
2
11
|
|
|
12
|
+
{{#each alertStyle as |style key|}}
|
|
13
|
+
<linearGradient id="{{key}}_header" x1="0%" y1="0%" x2="0%" y2="100%">
|
|
14
|
+
<stop stop-color="{{style.headerGradients.[1]}}"/>
|
|
15
|
+
<stop offset="1" stop-color="{{style.headerGradients.[0]}}"/>
|
|
16
|
+
</linearGradient>
|
|
17
|
+
<linearGradient id="{{key}}_footer" x1="0%" y1="0%" x2="0%" y2="100%">
|
|
18
|
+
<stop stop-color="{{style.footerGradient}}"/>
|
|
19
|
+
<stop offset="1" stop-color="{{style.primary}}"/>
|
|
20
|
+
</linearGradient>
|
|
21
|
+
{{/each}}
|
|
22
|
+
</defs>
|
|
3
23
|
<g transform="translate({{spec.profile.padding.x}}, {{spec.profile.padding.y}})">
|
|
4
|
-
<g transform="translate(
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
<text x="
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
24
|
+
<g transform="translate(0, 25)">
|
|
25
|
+
{{#each factors as |factor|}}
|
|
26
|
+
<g transform="translate(0, {{math @index '*' 36}})">
|
|
27
|
+
{{bar 32 32 (object tl=4 bl=4 tr=0 br=0) (toRad 0) fill="#E5E7EB99" transform="translate(62, 0)"}}
|
|
28
|
+
<rect x="94" width="120" height="32" fill="url(#top-gradient)" stroke="none"/>
|
|
29
|
+
<rect x="214" width="572" height="32" fill="#F9FAFB80" stroke="none"/>
|
|
30
|
+
{{bar 40 32 (object tl=0 bl=0 tr=4 br=4) (toRad 0) fill="url(#down-gradient)" transform="translate(786, 0)"}}
|
|
31
|
+
<text x="46" y="16" font-size="13" font-weight="400" fill="#6B7280" text-anchor="start" dy=".25em">
|
|
32
|
+
<tspan font-size="14" font-weight="500">{{factor.mark}}</tspan>
|
|
33
|
+
<tspan font-size="2">⠀</tspan>
|
|
34
|
+
<tspan>از</tspan>
|
|
35
|
+
<tspan>{{factor.lable.max}}</tspan>
|
|
36
|
+
</text>
|
|
37
|
+
<text x="78" y="16" font-size="14" font-weight="500" fill="#6B7280" text-anchor="middle" dy=".3em">{{factor.lable.eng}}</text>
|
|
38
|
+
<text x="102" y="16" font-size="14" font-weight="400" fill="#6B7280" text-anchor="end" dy=".25em">{{factor.lable.title}}</text>
|
|
39
|
+
<text x="431" y="16" font-size="14" font-weight="400" fill="#155E75" text-anchor="start" dy=".25em">{{factor.lable.top}}</text>
|
|
40
|
+
<text x="627" y="16" font-size="14" font-weight="400" fill="#1E40AF" text-anchor="end" dy=".25em">{{factor.lable.down}}</text>
|
|
41
|
+
</g>
|
|
42
|
+
{{/each}}
|
|
43
|
+
</g>
|
|
44
|
+
<text x="449" y="8" font-size="12" font-weight="400" fill="#155E75" text-anchor="middle" dy=".25em">10</text>
|
|
45
|
+
<text x="609" y="8" font-size="12" font-weight="400" fill="#1E40AF" text-anchor="middle" dy=".25em">0</text>
|
|
46
|
+
<rect x="441" y="21" opacity="0.1" width="16" height="580" rx="4" fill="#0E7490"/>
|
|
47
|
+
<rect x="457" y="21" opacity="0.07" width="16" height="580" rx="4" fill="#0E7490"/>
|
|
48
|
+
<rect x="473" y="21" opacity="0.05" width="16" height="580" rx="4" fill="#0E7490"/>
|
|
17
49
|
|
|
18
|
-
|
|
19
|
-
|
|
50
|
+
<rect x="489" y="21" opacity="0.2" width="16" height="580" rx="4" fill="#E5E7EB"/>
|
|
51
|
+
<rect x="505" y="21" opacity="0.1" width="16" height="580" rx="4" fill="#E5E7EB"/>
|
|
52
|
+
|
|
53
|
+
<rect x="537" y="21" opacity="0.2" width="16" height="580" rx="4" fill="#E5E7EB"/>
|
|
54
|
+
<rect x="553" y="21" opacity="0.1" width="16" height="580" rx="4" fill="#E5E7EB"/>
|
|
20
55
|
|
|
21
|
-
|
|
22
|
-
|
|
56
|
+
<rect x="569" y="21" opacity="0.05" width="16" height="580" rx="4" fill="#1D4ED8"/>
|
|
57
|
+
<rect x="585" y="21" opacity="0.07" width="16" height="580" rx="4" fill="#1D4ED8"/>
|
|
58
|
+
<rect x="601" y="21" opacity="0.1" width="16" height="580" rx="4" fill="#1D4ED8"/>
|
|
59
|
+
<g transform="translate(439, 25)" fill="#E5E7EB">
|
|
60
|
+
{{#forLoop 0 16 1}}
|
|
61
|
+
<rect width="180" height="2" y="{{math 15 '+' (math i '*' 36)}}"/>
|
|
62
|
+
<rect width="2" height="2" y="{{math 15 '+' (math i '*' 36)}}" fill="#D1D5DB"/>
|
|
63
|
+
<rect x="178" width="2" height="2" y="{{math 15 '+' (math i '*' 36)}}" fill="#D1D5DB"/>
|
|
64
|
+
{{/forLoop}}
|
|
65
|
+
{{#each factors as |factor|}}
|
|
66
|
+
<rect x="{{math 162 '-' (math factor.mark '*' 16)}}" y="{{math 8 '+' (math @index '*' 36)}}" width="16" height="16" rx="4" fill="{{factor.lable.style.[0]}}" opacity="{{factor.lable.style.[1]}}"/>
|
|
67
|
+
<text x="{{math 170 '-' (math factor.mark '*' 16)}}" y="{{math 16 '+' (math @index '*' 36)}}" font-size="14" font-weight="600" fill="#FFFFFF" text-anchor="middle" dy=".3em">{{factor.mark}}</text>
|
|
68
|
+
{{/each}}
|
|
69
|
+
</g>
|
|
70
|
+
<rect width="826" height="1" rx="0.5" y="617" fill="#F3F4F6"/>
|
|
71
|
+
<g transform="translate(274, 634)">
|
|
72
|
+
{{bar 247 31 (object tl=6 bl=0 tr=6 br=0) (toRad 0) fill=final.style.headerUrl transform="translate(0.5, 0.5)" stroke=final.style.footerGradient}}
|
|
73
|
+
{{bar 248 28 (object tl=0 bl=6 tr=0 br=6) (toRad 0) fill=final.style.footerUrl transform="translate(0, 32)"}}
|
|
74
|
+
<text x="235" y="16" font-size="12" font-weight="400" fill="{{final.style.primary}}" text-anchor="start" dy=".25em">پاسخ سوال ۱۸۷ (بررسی اعتبار)</text>
|
|
75
|
+
<g transform="translate(72, 12.5)">
|
|
76
|
+
<path d="M0.916504 4H9.08317M0.916504 4L4.4165 7.5M0.916504 4L4.4165 0.5" stroke="{{final.style.primary}}" stroke-linecap="round" stroke-linejoin="round"/>
|
|
77
|
+
</g>
|
|
78
|
+
<text x="37" y="16" font-size="14" font-weight="600" fill="{{final.style.primary}}" text-anchor="middle" dy=".25em">{{final.text}}</text>
|
|
79
|
+
<text x="124" y="46" font-size="13" font-weight="600" fill="#FFFFFF" text-anchor="middle" dy=".25em">{{final.textType}}</text>
|
|
80
|
+
</g>
|
|
23
81
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<
|
|
30
|
-
<g transform="translate(0, 7.2)">
|
|
31
|
-
<line x1="18" y1="0" x2="-147.6" y2="0" stroke="#E4E4E7" />
|
|
32
|
-
<g font-size="14.4" font-weight="400">
|
|
33
|
-
<text x="220" y="0" fill="#71717A" font-weight="500" text-anchor="middle" dy="3">{{item.label.fr}}</text>
|
|
34
|
-
<text x="32.4" y="0" fill="#1E40AF" text-anchor="end" dy="3">{{item.label.right}}</text>
|
|
35
|
-
<text x="-162.5" y="0" fill="#155E75" text-anchor="start" dy="3">{{item.label.left}}</text>
|
|
36
|
-
</g>
|
|
37
|
-
</g>
|
|
38
|
-
<g transform="translate(-{{item.offset}}, 0)">
|
|
39
|
-
<rect x="0" y="0" width="16.2" height="16.2" fill="{{item.fill}}" fill-opacity="{{item.opacity}}" rx="3.6" />
|
|
40
|
-
<text x="8.1" y="8.1" fill="#FFFFFF" font-size="12.6" font-weight="400" text-anchor="middle" dy="3.5">{{item.mark}}</text>
|
|
41
|
-
</g>
|
|
42
|
-
</g>
|
|
43
|
-
{{/with}}
|
|
44
|
-
{{/each}} --}}
|
|
45
|
-
</g>
|
|
46
|
-
<g transform="translate(0, 21.5)">
|
|
47
|
-
{{#each items as | item index |}}
|
|
48
|
-
<g transform="translate(0, {{math 33.3 '*' index}})">
|
|
49
|
-
<line x1="119.5" y1="10" x2="121.5" y2="10" stroke="#D1D5DB" stroke-width="2" />
|
|
50
|
-
<line x1="121.5" y1="10" x2="297.5" y2="10" stroke="#E5E7EB" stroke-width="2" />
|
|
51
|
-
<line x1="297.5" y1="10" x2="299.5" y2="10" stroke="#D1D5DB" stroke-width="2" />
|
|
82
|
+
<g transform="translate(534, 634)">
|
|
83
|
+
{{bar 175 31 (object tl=6 bl=0 tr=6 br=0) (toRad 0) fill=bCount.style.headerUrl transform="translate(0.5, 0.5)" stroke=bCount.style.footerGradient}}
|
|
84
|
+
{{bar 176 28 (object tl=0 bl=6 tr=0 br=6) (toRad 0) fill=bCount.style.footerUrl transform="translate(0, 32)"}}
|
|
85
|
+
<text x="163" y="16" font-size="12" font-weight="400" fill="{{bCount.style.primary}}" text-anchor="start" dy=".25em">تعداد گزینه «ب»</text>
|
|
86
|
+
<g transform="translate(56.5, 12.5)">
|
|
87
|
+
<path d="M0.916504 4H9.08317M0.916504 4L4.4165 7.5M0.916504 4L4.4165 0.5" stroke="{{bCount.style.primary}}" stroke-linecap="round" stroke-linejoin="round"/>
|
|
52
88
|
</g>
|
|
53
|
-
{{
|
|
54
|
-
|
|
89
|
+
<text x="37" y="16" font-size="14" font-weight="600" fill="{{bCount.style.primary}}" text-anchor="middle" dy=".25em">{{bCount.mark}}</text>
|
|
90
|
+
<text x="88" y="46" font-size="13" font-weight="600" fill="#FFFFFF" text-anchor="middle" dy=".25em">{{bCount.text}}</text>
|
|
91
|
+
</g>
|
|
55
92
|
</g>
|
|
56
|
-
|
|
57
93
|
{{/layout}}
|