@baravak/risloo-profile-cli 3.1.0 → 3.1.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/handlebars/importPartials.js +1 -1
- package/src/publish/json/profiles/PMCIEF93.json +9293 -1
- package/src/samples/JPFQ93.js +13 -13
- package/src/samples/PMCIEF93.js +219 -15
- package/views/profiles/samples/FACES93_1.hbs +1 -88
- package/views/profiles/samples/FACES93_1_partial.hbs +89 -0
- package/views/profiles/samples/FACES93_2.hbs +2 -33
- package/views/profiles/samples/FACES93_2_1_partial.hbs +20 -0
- package/views/profiles/samples/FACES93_2_2_partial.hbs +13 -0
- package/views/profiles/samples/JPFQ93.hbs +1 -40
- package/views/profiles/samples/JPFQ93_partial.hbs +27 -0
- package/views/profiles/samples/PMCIEF93.hbs +345 -2
|
@@ -1,44 +1,5 @@
|
|
|
1
1
|
{{#> layout}}
|
|
2
|
-
|
|
3
|
-
<defs>
|
|
4
|
-
<linearGradient id="horizontal-shadow">
|
|
5
|
-
<stop offset="0%" stop-color="black" />
|
|
6
|
-
<stop offset="100%" stop-color="transparent" />
|
|
7
|
-
</linearGradient>
|
|
8
|
-
<linearGradient id="vertical-shadow" gradientTransform="rotate(90)">
|
|
9
|
-
<stop offset="0%" stop-color="transparent" />
|
|
10
|
-
<stop offset="100%" stop-color="black" />
|
|
11
|
-
</linearGradient>
|
|
12
|
-
</defs>
|
|
13
|
-
|
|
14
2
|
<g transform="translate({{spec.profile.padding.x}}, {{spec.profile.padding.y}})">
|
|
15
|
-
{{
|
|
16
|
-
{{#each dataset.score}}
|
|
17
|
-
<g transform="translate(0, {{math 5 '+' ( math 51 '*' @key )}})">
|
|
18
|
-
<text y="0" x="129" dominant-baseline="hanging" text-anchor="start" font-size="18px" font-weight="400">{{label.fr}}</text>
|
|
19
|
-
<g transform="translate(147, 0)">
|
|
20
|
-
{{bar (math label.width '*' 4.5) 30 (object tl=0 tr=15 bl=0 br=15) (toRad 0) fill=label.background opacity='.8'}}
|
|
21
|
-
{{bar (math mark '*' 4.5) 30 (object tl=0 tr=15 bl=0 br=15) (toRad 0) fill=label.fill opacity='.8'}}
|
|
22
|
-
<text y="17" x="{{math (math label.width '*' 4.5) '+' 7.5 }}" dominant-baseline="middle" text-anchor="start" font-size="24px" fill="{{label.fill}}" font-weight="500" direction="ltr">
|
|
23
|
-
{{mark}}
|
|
24
|
-
<tspan font-size="18px" fill="#D4D4D8" font-weight="400">/ {{label.width}}</tspan>
|
|
25
|
-
</text>
|
|
26
|
-
</g>
|
|
27
|
-
</g>
|
|
28
|
-
{{/each}}
|
|
29
|
-
<g transform="translate(642.5, 428)">
|
|
30
|
-
<g transform="translate(9, 0)">
|
|
31
|
-
{{bar 9 378 (object tl=0 tr=0 bl=4.5 br=4.5) (toRad 180) fill='#E4E4E7'}}
|
|
32
|
-
{{bar 9 markSum (object tl=0 tr=0 bl=4.5 br=4.5) (toRad 180) fill='#52525B'}}
|
|
33
|
-
</g>
|
|
34
|
-
<text x="4.5" y="-387" dominant-baseline="auto" text-anchor="middle" fill="#A1A1AA" font-size="18px" font-weight="400">378</text>
|
|
35
|
-
<text x="21" y="{{math markSum '*' -1}}" dominant-baseline="middle" text-anchor="start" font-size="24px" fill="#3F3F46" font-weight="500" direction="ltr">{{markSum}}</text>
|
|
36
|
-
<text transform="rotate(-90, 0, 0)" x="-3" y="-28" dominant-baseline="hanging" text-anchor="end" font-size="18px" font-weight="400">نمره کل</text>
|
|
37
|
-
|
|
38
|
-
<rect x="-3" y="0" width="15" height="3" fill="#FFFFFF" style="filter: drop-shadow(0 -3px 5px rgba(0,0,0, .5));"/>
|
|
39
|
-
</g>
|
|
40
|
-
<g transform="translate(144.5, 0)">
|
|
41
|
-
<rect x="0" y="0" width="3" height="450" rx="1" fill="#FFFFFF" style="filter: drop-shadow(3px 0 5px rgba(0,0,0, .5));"/>
|
|
42
|
-
</g>
|
|
3
|
+
{{> JPFQ93_partial}}
|
|
43
4
|
</g>
|
|
44
5
|
{{/ layout}}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{{#each dataset.score}}
|
|
2
|
+
<g transform="translate(0, {{math 5 '+' ( math 51 '*' @key )}})">
|
|
3
|
+
<text y="0" x="169" text-anchor="start" font-size="24px" font-weight="400" dy="24px" fill="#3F3F46">{{label.fr}}</text>
|
|
4
|
+
<g transform="translate(186, 0)">
|
|
5
|
+
{{bar (math label.width '*' 4.5) 30 (object tl=0 tr=15 bl=0 br=15) (toRad 0) fill=label.background opacity='.8'}}
|
|
6
|
+
{{bar (math mark '*' 4.5) 30 (object tl=0 tr=15 bl=0 br=15) (toRad 0) fill=label.fill opacity='.8'}}
|
|
7
|
+
<text y="17" x="{{math (math label.width '*' 4.5) '+' 7.5 }}" dy="6px" text-anchor="start" direction="ltr">
|
|
8
|
+
<tspan fill="{{label.fill}}" font-size="36px" font-weight="500">
|
|
9
|
+
{{mark}}
|
|
10
|
+
</tspan>
|
|
11
|
+
<tspan font-size="24px" fill="#71717A" font-weight="400">/ {{label.width}}</tspan>
|
|
12
|
+
</text>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
{{/each}}
|
|
16
|
+
<rect x="183" y="3" width="3" height="450" rx="1" fill="#FFFFFF" style="filter: drop-shadow(3px 0 5px rgba(0,0,0, .5));"/>
|
|
17
|
+
<g transform="translate(612, 447)">
|
|
18
|
+
<g transform="translate(53, -3)">
|
|
19
|
+
{{bar 9 378 (object tl=0 tr=0 bl=4.5 br=4.5) (toRad 180) fill='#E4E4E7'}}
|
|
20
|
+
{{bar 9 markSum (object tl=0 tr=0 bl=4.5 br=4.5) (toRad 180) fill='#52525B'}}
|
|
21
|
+
</g>
|
|
22
|
+
<text x="49.5" y="-410.5" dominant-baseline="auto" text-anchor="middle" fill="#71717A" font-size="30px" font-weight="400">378</text>
|
|
23
|
+
<text x="66" y="{{math markSum '*' -1}}" dy="6" text-anchor="start" font-size="36px" fill="#3F3F46" font-weight="500" direction="ltr">{{markSum}}</text>
|
|
24
|
+
<text transform="rotate(-90, 0, 0)" x="0" y="0" text-anchor="end" dy="18" font-size="24px" font-weight="400" fill="#52525B">نمره کل</text>
|
|
25
|
+
|
|
26
|
+
<rect x="41" y="-3" width="15" height="3" fill="#FFFFFF" style="filter: drop-shadow(0 -3px 5px rgba(0,0,0, .5));"/>
|
|
27
|
+
</g>
|
|
@@ -1,8 +1,351 @@
|
|
|
1
1
|
{{#> layout}}
|
|
2
|
+
{{setVar "angles" (array -146.3 146.3 -33.7 33.7)}}
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="bg">
|
|
5
|
+
<stop offset="0%" stop-color="#22C55E"/>
|
|
6
|
+
<stop offset="100%" stop-color="#15803D"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
{{#each angles as | angle index |}}
|
|
9
|
+
<marker id="pointer{{math index '+' 1}}" markerWidth="6" markerHeight="10" refX="4.5" refY="5" orient="{{angle}}" markerUnits="userSpaceOnUse">
|
|
10
|
+
<polyline points="1 1, 5 5, 1 9" fill="none" stroke="#000000" stroke-opacity="0.15" stroke-width="1" stroke-linecap="round" />
|
|
11
|
+
</marker>
|
|
12
|
+
{{/each}}
|
|
13
|
+
<marker id="marker1" markerWidth="8" markerHeight="12" refX="7.5" refY="6" orient="-90" markerUnits="userSpaceOnUse">
|
|
14
|
+
<polyline points="1 1, 7 6, 1 11" fill="none" stroke="#3F3F46" stroke-width="2" stroke-linecap="round" />
|
|
15
|
+
</marker>
|
|
16
|
+
<marker id="marker2" markerWidth="8" markerHeight="12" refX="7.5" refY="6" orient="0" markerUnits="userSpaceOnUse">
|
|
17
|
+
<polyline points="1 1, 7 6, 1 11" fill="none" stroke="#3F3F46" stroke-width="2" stroke-linecap="round" />
|
|
18
|
+
</marker>
|
|
19
|
+
<linearGradient id="axis_8_1" x1="0%" y1="0%" x2="100%" y2="0%">
|
|
20
|
+
<stop offset="0%" style="stop-color:#F43F5E;stop-opacity:1" />
|
|
21
|
+
<stop offset="100%" style="stop-color:#B91C1C;stop-opacity:1" />
|
|
22
|
+
</linearGradient>
|
|
23
|
+
|
|
24
|
+
<linearGradient id="axis_3_1" x1="0%" y1="0%" x2="100%" y2="0%">
|
|
25
|
+
<stop offset="0%" style="stop-color:#FDBA74;stop-opacity:1" />
|
|
26
|
+
<stop offset="100%" style="stop-color:#EA580C;stop-opacity:1" />
|
|
27
|
+
</linearGradient>
|
|
28
|
+
|
|
29
|
+
<linearGradient id="axis_3" x1="0%" y1="100%" x2="0%" y2="0%">
|
|
30
|
+
<stop offset="0%" style="stop-color:#A1A1AA;stop-opacity:1" />
|
|
31
|
+
<stop offset="100%" style="stop-color:#52525B;stop-opacity:1" />
|
|
32
|
+
</linearGradient>
|
|
33
|
+
</defs>
|
|
2
34
|
|
|
3
|
-
<defs>
|
|
4
|
-
</defs>
|
|
5
35
|
|
|
6
36
|
<g transform="translate({{spec.profile.padding.x}}, {{spec.profile.padding.y}})">
|
|
37
|
+
<g transform="translate(0, 0)">
|
|
38
|
+
<circle cx="8" cy="8" r="8" fill="none" stroke="#A1A1AA" stroke-dasharray="4,2"/>
|
|
39
|
+
<text x="8" y="8" text-anchor="middle" dy="3.5" font-size="10px" fill="#52525B">۷</text>
|
|
40
|
+
<text x="-45" y="4" transform="rotate(-90, 0, 0)" text-anchor="start" dy="3.5" font-size="10px" fill="#52525B">کارکرد شخصیت</text>
|
|
41
|
+
<g transform="translate(16, 0)">
|
|
42
|
+
{{#with JPFQ93_Context}}
|
|
43
|
+
<g transform="scale(.3333333, .3333333)">
|
|
44
|
+
{{> JPFQ93_partial}}
|
|
45
|
+
</g>
|
|
46
|
+
{{/with}}
|
|
47
|
+
</g>
|
|
48
|
+
<g transform="translate(0, 175)">
|
|
49
|
+
{{#with axis_7_2}}
|
|
50
|
+
<text x="-39" y="4" transform="rotate(-90, 0, 0)" text-anchor="start" dy="3.5" font-size="10px" fill="#52525B">آمادگیها بر اساس نظریه اریکسون</text>
|
|
51
|
+
<g transform="translate(30, 0)">
|
|
52
|
+
<g transform="translate(0, 156)">
|
|
53
|
+
{{#each items}}
|
|
54
|
+
<g transform="translate({{math 12 '+' (math @key '*' 39)}}, 0)">
|
|
55
|
+
<g transform="translate(2, 0)">
|
|
56
|
+
{{bar 2 (math label.max '*' 3) (object tl=0 tr=0 bl=1 br=1) (toRad 180) fill='#E4E4E7'}}
|
|
57
|
+
<text x="-3" y="{{math -1 '+' (math -1 '*' (math label.max '*' 3))}}" text-anchor="start" font-size="10px" fill="#71717A" font-weight="400">{{label.max}}</text>
|
|
58
|
+
<text x="0" y="4" text-anchor="middle" dy="7" font-size="8px" fill="#0E7490" font-weight="400">{{label.fr}}</text>
|
|
59
|
+
<g transform="translate(4, 0)">
|
|
60
|
+
{{bar 6 (math mark '*' 3) (object tl=0 tr=0 bl=1 br=1) (toRad 180) fill='#0E7490'}}
|
|
61
|
+
<text x="2" y="{{math -1 '+' (math -1 '*' (math mark '*' 3))}}" text-anchor="end" font-size="12px" fill="#0E7490" font-weight="500">{{mark}}</text>
|
|
62
|
+
</g>
|
|
63
|
+
</g>
|
|
64
|
+
</g>
|
|
65
|
+
{{/each}}
|
|
66
|
+
{{bar 225 1 (object tl=0 tr=0 bl=0 br=0) (toRad 0) fill='#D4D4D8'}}
|
|
67
|
+
</g>
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
</g>
|
|
72
|
+
<g transform="translate(30, 181)">
|
|
73
|
+
<text x="0" y="12" text-anchor="end" dy="6" font-size="8px" fill="#52525B">نمره کل</text>
|
|
74
|
+
<g transform="translate(33, 18)">
|
|
75
|
+
{{bar 176 2 (object tl=1 tr=1 bl=1 br=1) (toRad 0) fill='#E4E4E7'}}
|
|
76
|
+
</g>
|
|
77
|
+
<g transform="translate(33, 14)">
|
|
78
|
+
{{bar raw.mark 6 (object tl=1 tr=1 bl=1 br=1) (toRad 0) fill='#166534'}}
|
|
79
|
+
</g>
|
|
80
|
+
<text x="{{math raw.mark '+' 33}}" y="0" text-anchor="start" dy="8" font-size="12px" fill="#14532D" font-weight="400px">{{raw.mark}}</text>
|
|
81
|
+
<text x="{{math raw.mark '+' 33}}" y="27" text-anchor="start" dy="5" font-size="10px" fill="#52525B" font-weight="400px">٪{{percentage.mark}}</text>
|
|
82
|
+
<text x="216" y="16" text-anchor="end" dy="5" font-size="8px" fill="#71717A" font-weight="400px">176</text>
|
|
83
|
+
</g>
|
|
84
|
+
{{/with}}
|
|
85
|
+
</g>
|
|
86
|
+
<g transform="translate(0, 435)">
|
|
87
|
+
<g transform="translate(39, 0)">
|
|
88
|
+
{{#each axis_8_1.items}}
|
|
89
|
+
<g transform="translate(2, {{math 2 '+' (math @key '*' 21)}})">
|
|
90
|
+
<text x="52" y="5" text-anchor="start" dy="3.5" font-size="8px" fill="#9F1239">{{label.fr}}</text>
|
|
91
|
+
<g transform="translate(54, 6)">
|
|
92
|
+
{{bar (math label.max '*' 2) 2 (object tl=0 tr=0 bl=0 br=0) (toRad 0) fill="#F4F4F5"}}
|
|
93
|
+
<text x="{{math 11 '+' (math label.max '*' 2)}}" dy="2" text-anchor="left" font-size="8px" fill="#71717A" font-weight="400">{{label.max}}</text>
|
|
94
|
+
<g transform="translate(0, -2)">
|
|
95
|
+
<text x="{{math 5 '+' (math mark '*' 2)}}" text-anchor="left" font-size="10px" fill="#BE123C" font-weight="500">{{mark}}</text>
|
|
96
|
+
{{#if mark }}
|
|
97
|
+
{{bar (math mark '*' 2) 4 (object tl=0 tr=4 bl=0 br=0) (toRad 0) fill="url(#axis_8_1)"}}
|
|
98
|
+
{{/if}}
|
|
99
|
+
</g>
|
|
100
|
+
</g>
|
|
101
|
+
</g>
|
|
102
|
+
{{/each}}
|
|
103
|
+
<line x1="56" x2="56" y1="2" y2="56" stroke="#E4E4E7" />
|
|
104
|
+
</g>
|
|
105
|
+
<g transform="translate(207, 16)">
|
|
106
|
+
<text x="0" y="0" text-anchor="middle" dy="3.5" font-size="16px" fill="#2563EB" font-weight="600">{{axis_8_1.raw.mark}}</text>
|
|
107
|
+
<text x="0" y="10" text-anchor="middle" dy="3.5" font-size="8px" fill="#71717A" font-weight="400">٪{{axis_8_1.percentage.mark}}</text>
|
|
108
|
+
<text x="0" y="15" text-anchor="middle" dy="3.5" font-size="8px" fill="#2563EB" font-weight="500" transform="rotate(-90,0,0)">نمره کل</text>
|
|
109
|
+
</g>
|
|
110
|
+
<g transform="translate(34, 76)">
|
|
111
|
+
{{#forLoop 0 35 1 }}
|
|
112
|
+
{{bar 4 24 (object tl=1 tr=1 bl=1 br=1) (toRad 0) fill=(ternary (boolean i '<' @root.dswls.raw.mark) '#65A30D' '#F4F4F5' ) transform=(concat (concat "translate(" (math i '*' 6)) ",0)")}}
|
|
113
|
+
{{/forLoop}}
|
|
114
|
+
<text x="{{math @root.dswls.raw.mark '*' 6 }}" y="40" dx="4" font-size="12px" fill="#4D7C0F" font-weight="500">{{@root.dswls.raw.mark}}</text>
|
|
115
|
+
<text x="226" y="15" font-size="8px" fill="#71717A" font-weight="400">35</text>
|
|
116
|
+
</g>
|
|
117
|
+
</g>
|
|
118
|
+
</g>
|
|
119
|
+
|
|
120
|
+
<g transform="translate(0, 421)">
|
|
121
|
+
<circle cx="4" cy="4" r="8" fill="none" stroke="#A1A1AA" stroke-dasharray="4,2"/>
|
|
122
|
+
<text x="4" y="4" text-anchor="middle" dy="3.5" font-size="10px" fill="#52525B">۸</text>
|
|
123
|
+
<text x="-23" y="4" transform="rotate(-90, 0, 0)" text-anchor="start" dy="3.5" font-size="10px" fill="#52525B">سلامت جسم</text>
|
|
124
|
+
<text x="-94" y="4" transform="rotate(-90, 0, 0)" text-anchor="start" dy="3.5" font-size="10px" fill="#52525B">داینر</text>
|
|
125
|
+
</g>
|
|
126
|
+
|
|
127
|
+
<g transform="translate(0, 581)">
|
|
128
|
+
<circle cx="4" cy="4" r="8" fill="none" stroke="#A1A1AA" stroke-dasharray="4,2"/>
|
|
129
|
+
<text x="4" y="4" text-anchor="middle" dy="3.5" font-size="10px" fill="#52525B">۹</text>
|
|
130
|
+
<text x="-34" y="4" transform="rotate(-90, 0, 0)" text-anchor="start" dy="3.5" font-size="10px" fill="#52525B">ارزشهای آلپورت</text>
|
|
131
|
+
|
|
132
|
+
<g transform="translate(37, 0)">
|
|
133
|
+
{{#with alvvct}}
|
|
134
|
+
{{#each items}}
|
|
135
|
+
<text x="4" text-anchor="middle" dy="3.5" font-size="10px" font-weight="500" fill="#57534E" transform="{{concat "translate(" (concat (math 33 '+' (math @key '*' 32)) ", 7)")}}">{{mark}}</text>
|
|
136
|
+
{{bar 8 105 (object tl=0 tr=0 br=2 bl=2) (toRad 180) fill="#F4F4F5" transform=(concat "translate(" (concat (math 41 '+' (math @key '*' 32)) ", 120)"))}}
|
|
137
|
+
{{bar 8 (math (math mark '*' 105) '/' 70) (object tl=0 tr=0 br=2 bl=2) (toRad 180) fill=(ternary (boolean (math @key '%' 2) '==' 0) '#78716C' '#6B7280') transform=(concat "translate(" (concat (math 41 '+' (math @key '*' 32)) ", 120)"))}}
|
|
138
|
+
<text x="4" y="4" text-anchor="middle" dy="3.5" font-size="8px" font-weight="400" fill="#57534E" transform="{{concat "translate(" (concat (math 33 '+' (math @key '*' 32)) ", 124)")}}">{{label.fr}}</text>
|
|
139
|
+
{{/each}}
|
|
140
|
+
<line x1="18" x2="28" y1="16" y2="16" stroke="#D4D4D8" stroke-width="1px" stroke-dasharray="2,2" />
|
|
141
|
+
<text x="5" y="16" text-anchor="end" dy="2" font-size="8px" font-weight="400" fill="#71717A">70</text>
|
|
142
|
+
|
|
143
|
+
<line x1="18" x2="28" y1="105" y2="105" stroke="#D4D4D8" stroke-width="1px" stroke-dasharray="2,2" />
|
|
144
|
+
<text x="5" y="105" text-anchor="end" dy="2" font-size="8px" font-weight="400" fill="#71717A">10</text>
|
|
145
|
+
|
|
146
|
+
<line x1="0" x2="224" y1="120" y2="120" stroke="#A1A1AA" stroke-width="1px" />
|
|
147
|
+
{{/with}}
|
|
148
|
+
</g>
|
|
149
|
+
</g>
|
|
150
|
+
|
|
151
|
+
<g transform="translate(642, 0)">
|
|
152
|
+
<circle cx="0" cy="0" r="8" fill="none" stroke="#A1A1AA" stroke-dasharray="4,2" transform="translate(8, 26)"/>
|
|
153
|
+
<text text-anchor="middle" dy="3.5" font-size="10px" fill="#52525B" transform="translate(8, 26)">2</text>
|
|
154
|
+
<text x="-53" y="4" transform="rotate(-90, 0, 0)" text-anchor="start" dy="5" font-size="10px" fill="#52525B">نحوه آشنایی</text>
|
|
155
|
+
<text x="180" y="30" text-anchor="start" font-size="8px" font-weight="400">
|
|
156
|
+
<tspan>درصد</tspan>
|
|
157
|
+
<tspan font-size="10px" font-weight="500">{{axis_2.percentage.mark}}٪</tspan>
|
|
158
|
+
</text>
|
|
159
|
+
|
|
160
|
+
<text x="180" y="60" text-anchor="start" font-size="10px" font-weight="400">
|
|
161
|
+
<tspan>نمره</tspan>
|
|
162
|
+
<tspan>51 / </tspan>
|
|
163
|
+
<tspan font-size="12px" font-weight="500">{{axis_2.raw.mark}}</tspan>
|
|
164
|
+
</text>
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
</g>
|
|
168
|
+
|
|
169
|
+
<g transform="translate(642, 125)">
|
|
170
|
+
<circle cx="0" cy="0" r="8" fill="none" stroke="#A1A1AA" stroke-dasharray="4,2" transform="translate(8, 26)"/>
|
|
171
|
+
<text text-anchor="middle" dy="3.5" font-size="10px" fill="#52525B" transform="translate(8, 26)">3</text>
|
|
172
|
+
<g transform="translate(0, 34)">
|
|
173
|
+
<text x="-45" y="4" transform="rotate(-90, 0, 0)" text-anchor="middle" dy="5" font-size="10px" fill="#52525B">معیار انتخاب</text>
|
|
174
|
+
<g transform="translate(84, 0)">
|
|
175
|
+
{{#each axis_3.selection.items}}
|
|
176
|
+
<g transform="translate(2, {{math 11 '+' (math @key '*' 18)}})">
|
|
177
|
+
<rect x="59px" y="-2" width="{{math label.max '*' 3}}px" height="2px" fill="#F4F4F5"/>
|
|
178
|
+
{{#if (boolean mark '>' 0)}}
|
|
179
|
+
{{bar (math mark '*' 3) 4 (object tl=0 tr=4 bl=0 br=0) (toRad 0) fill="url(#axis_3_1)" transform="translate(59, -4)"}}
|
|
180
|
+
{{/if}}
|
|
181
|
+
<text x="{{math 59 '+' (math mark '*' 3)}}" y="-7" text-anchor="end" font-size="10px" font-weight="500" fill="#EA580C">{{ternary (boolean mark '>=' 1) mark '0'}}</text>
|
|
182
|
+
<text x="{{math 61 '+' (math label.max '*' 3)}}" y="0" text-anchor="end" font-size="8px" fill="#52525B">{{label.max}}</text>
|
|
183
|
+
<text x="56" y="0" text-anchor="start" font-size="8px" fill="#C2410C">{{label.fr}}</text>
|
|
184
|
+
</g>
|
|
185
|
+
{{/each}}
|
|
186
|
+
<rect x="61px" y="2px" width="1px" height="88px" fill="#E4E4E7"/>
|
|
187
|
+
</g>
|
|
188
|
+
<rect x="48px" y="{{math 13 '+' (math 76 '-' axis_3.selection.raw.label.max) }}px" width="2px" height="{{axis_3.selection.raw.label.max}}px" fill="#F4F4F5"/>
|
|
189
|
+
<text x="50" y="{{math 7 '+' (math 76 '-' axis_3.selection.raw.label.max) }}px" text-anchor="middle" font-size="8px" font-weight="400" fill="#71717A">{{axis_3.selection.raw.label.max}}</text>
|
|
190
|
+
{{bar 4 axis_3.selection.raw.mark (object tl=0 tr=0 bl=4 br=0) (toRad 180) fill="url(#axis_3)" transform="translate(52, 89)"}}
|
|
191
|
+
{{bar 6 1 (object tl=0.5 tr=0.5 bl=0.5 br=0.5) (toRad 0) fill="#E4E4E7" transform="translate(47, 89)"}}
|
|
192
|
+
<text x="-89" y="43" text-anchor="end" font-size="8px" font-weight="400" fill="#3F3F46" transform="rotate(-90, 0, 0)">نمره کل</text>
|
|
193
|
+
<text x="{{math -89 '+' axis_3.selection.raw.mark}}" y="43" text-anchor="end" font-size="8px" font-weight="400" fill="#52525B" transform="rotate(-90, 0, 0)">٪{{axis_3.selection.percentage.mark}}</text>
|
|
194
|
+
</g>
|
|
195
|
+
<g transform="translate(0, 142)">
|
|
196
|
+
<text x="-28.5" y="4" transform="rotate(-90, 0, 0)" text-anchor="middle" dy="5" font-size="10px" fill="#52525B">قصد و نیت</text>
|
|
197
|
+
<g transform="translate(32, 0)">
|
|
198
|
+
{{#each (array 10 10 10 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100)}}
|
|
199
|
+
{{bar 3 (math @key '*' 2) (object tl=1 tr=1 bl=1 br=1) (toRad 180)
|
|
200
|
+
fill=(ternary (boolean @key '>=' @root.axis_3_intention.raw.mark) '#A1A1AA' '#65A30D')
|
|
201
|
+
opacity= (math (math this '/' 100) '*' (ternary (boolean @key '>=' @root.axis_3_intention.raw.mark) 0.7 1))
|
|
202
|
+
transform=(concat "translate(" (concat (math 3 '+' (math @key '*' 4)) ", 42)"))}}
|
|
203
|
+
{{/each}}
|
|
204
|
+
<text transform="translate({{math @root.axis_3_intention.raw.mark '*' 4}}, {{math 40 '-' (math @root.axis_3_intention.raw.mark '*' 2) }}) rotate(-30, 0, 0)"
|
|
205
|
+
text-anchor="{{ternary (boolean @root.axis_3_intention.raw.mark '>=' 5 ) 'start' 'end'}}" font-size="10px" fill="#52525B">٪{{@root.axis_3_intention.percentage.mark}}</text>
|
|
206
|
+
|
|
207
|
+
<text x="{{math @root.axis_3_intention.raw.mark '*' 4}}" y="52" font-weight="500" text-anchor="middle" font-size="12px" fill="#4D7C0F">{{@root.axis_3_intention.raw.mark}}</text>
|
|
208
|
+
<text x="90" y="42" font-weight="400" text-anchor="end" font-size="8px" fill="#52525B">22</text>
|
|
209
|
+
</g>
|
|
210
|
+
<g transform="translate(155, 0)">
|
|
211
|
+
{{bar 56 12 (object tl=1 tr=1 bl=1 br=1) (toRad 0) fill="#C026D3"}}
|
|
212
|
+
<text x="28" y="8" font-weight="500" text-anchor="middle" font-size="8px" fill="#FFFFFF">نمره کل محور 3</text>
|
|
213
|
+
<text x="28" y="26" font-weight="600" text-anchor="middle" font-size="14px" fill="#C026D3">{{axis_3.raw.mark}}</text>
|
|
214
|
+
<text x="28" y="35" font-weight="400" text-anchor="middle" font-size="8px" fill="#52525B">٪{{axis_3.percentage.mark}}</text>
|
|
215
|
+
</g>
|
|
216
|
+
</g>
|
|
217
|
+
</g>
|
|
218
|
+
|
|
219
|
+
<g transform="translate(642, 358)">
|
|
220
|
+
{{!-- <rect width="261" height="226px" opacity=".1" /> --}}
|
|
221
|
+
<circle cx="0" cy="0" r="8" fill="none" stroke="#A1A1AA" stroke-dasharray="4,2" transform="translate(8, 26)"/>
|
|
222
|
+
<text text-anchor="middle" dy="3.5" font-size="10px" fill="#52525B" transform="translate(8, 26)">4</text>
|
|
223
|
+
<text x="-60" y="4" transform="rotate(-90, 0, 0)" text-anchor="start" dy="5" font-size="10px" fill="#52525B">باورهای غیرمنطقی</text>
|
|
224
|
+
<g transform="translate(30, 0)">
|
|
225
|
+
{{#with mibq}}
|
|
226
|
+
{{#each items as | item itemKey |}}
|
|
227
|
+
{{bar 1 (math 3 '+' (math label.max '*' 2)) (object br=0.5 bl=0.5 tr=0 tl=0) (toRad 180) fill="#E4E4E7" transform=(concat 'translate(' (concat (math 25 '+' (math @key '*' 40)) ',165)'))}}
|
|
228
|
+
{{#forLoop 0 mark 1}}
|
|
229
|
+
{{bar 9 2 (object tl=1 tr=1 bl=1 br=1) (toRad 0) fill=item.label.bg
|
|
230
|
+
transform=(concat 'translate('(concat
|
|
231
|
+
(math 20 '+' (math @key '*' 40))
|
|
232
|
+
(concat ',' (concat
|
|
233
|
+
(math 163 '-' (math i '*' 2))
|
|
234
|
+
')'))
|
|
235
|
+
))
|
|
236
|
+
}}
|
|
237
|
+
{{/forLoop}}
|
|
238
|
+
<text x="{{math 31 '+' (math @key '*' 40) }}" y="{{math 163 '-' (math mark '*' 2)}}" text-anchor="end" font-size="12px" font-weight="500" fill="{{label.bg}}">{{mark}}</text>
|
|
239
|
+
<text x="{{math 25 '+' (math @key '*' 40) }}" y="{{math 159 '-' (math label.max '*' 2)}}" text-anchor="start" font-size="8px" font-weight="400" fill="#71717A">{{mark}}</text>
|
|
240
|
+
{{#each (wrapOnNewline label.fr) as | line index |}}
|
|
241
|
+
<text x="{{math 25 '+' (math itemKey '*' 40) }}" y="{{math 175 '+' (math index '*' 10)}}" text-anchor="middle" font-size="8px" font-weight="400" fill="{{item.label.color}}">{{line}}</text>
|
|
242
|
+
{{/each}}
|
|
243
|
+
{{/each}}
|
|
244
|
+
{{/with}}
|
|
245
|
+
<rect y="165px" width="215" height="1" fill="#A1A1AA" />
|
|
246
|
+
</g>
|
|
247
|
+
<g transform="translate(0, 196)">
|
|
248
|
+
<text y="19" text-anchor="end" font-size="8px" font-weight="400" fill="#52525B">نمره کل</text>
|
|
249
|
+
<rect x="31" y="16" width="215" height="2" fill="#E4E4E7" />
|
|
250
|
+
{{bar mibq.raw.mark 6 (object tl=1 tr=0 bl=1 br=0) (toRad 0) fill="#065F46" transform="translate(31, 14)"}}
|
|
251
|
+
<rect x="{{math 30 '+' mibq.raw.mark}}" y="12" width="1" height="10" fill="#065F46" />
|
|
252
|
+
<text x="{{math 30 '+' mibq.raw.mark}}" y="11" text-anchor="middle" font-size="12px" font-weight="500" fill="#064E3B">{{mibq.raw.mark}}</text>
|
|
253
|
+
<text x="{{math 30 '+' mibq.raw.mark}}" y="32" text-anchor="middle" font-size="10px" font-weight="400" fill="#71717A">٪{{mibq.percentage.mark}}</text>
|
|
254
|
+
<text x="249" y="19" text-anchor="end" font-size="8px" font-weight="400" fill="#71717A">216</text>
|
|
255
|
+
</g>
|
|
256
|
+
</g>
|
|
257
|
+
<g transform="translate(643, 600)">
|
|
258
|
+
<circle cx="0" cy="0" r="8" fill="none" stroke="#A1A1AA" stroke-dasharray="4,2" transform="translate(8, 26)"/>
|
|
259
|
+
<text text-anchor="middle" dy="3.5" font-size="10px" fill="#52525B" transform="translate(8, 26)">5</text>
|
|
260
|
+
<text x="-70" y="4" transform="rotate(-90, 0, 0)" text-anchor="middle" dy="5" font-size="10px" fill="#52525B">وضعیت مالی</text>
|
|
261
|
+
{{#with axis_5}}
|
|
262
|
+
<g transform="translate(6, 12)">
|
|
263
|
+
{{#forLoop 1 5 1}}
|
|
264
|
+
<line x1="{{math 53 '+' (math i '*' 40)}}" x2="{{math 53 '+' (math i '*' 40)}}" y1="3" y2="103" stroke="#F4F4F5" stroke-width="1px" stroke-dasharray="3 3"/>
|
|
265
|
+
<text x="{{math 50 '+' (math i '*' 40)}}" y="9" text-anchor="start" font-size="8px" fill="#52525B" font-weight="400">{{math i '*' 4}}</text>
|
|
266
|
+
{{/forLoop}}
|
|
267
|
+
{{#each items}}
|
|
268
|
+
<g transform="translate(0, {{math 11 '+' (math @key '*' 18)}})">
|
|
269
|
+
{{#if (boolean mark '<' 2)}}
|
|
270
|
+
{{bar (math 7 '+' (math mark '*' 3)) 16 (object tr=8 br=8 tl=0 bl=0) (toRad 0) fill=label.color transform="translate(54, 0)"}}
|
|
271
|
+
<text x="{{math 60 '+' (math mark '*' 1)}}" y="12" text-anchor="start" font-size="12px" fill="#FFFFFF" font-weight="500">{{mark}}</text>
|
|
272
|
+
{{else}}
|
|
273
|
+
{{bar (math 10 '*' mark) 16 (object tr=8 br=8 tl=0 bl=0) (toRad 0) fill=label.color transform="translate(54, 0)"}}
|
|
274
|
+
<text x="{{math 50 '+' (math mark '*' 10)}}" y="12" text-anchor="start" font-size="12px" fill="#FFFFFF" font-weight="500">{{mark}}</text>
|
|
275
|
+
{{/if}}
|
|
276
|
+
<text x="49" y="10" text-anchor="start" font-size="8px" fill="#3F3F46" font-weight="400">{{label.fr}}</text>
|
|
277
|
+
</g>
|
|
278
|
+
{{/each}}
|
|
279
|
+
<rect x="53" y="8" width="1" height="95" rx="1" fill="#FFFFFF" style="filter: drop-shadow(1px 0px 3px rgba(0,0,0, .5));"/>
|
|
280
|
+
</g>
|
|
281
|
+
<g transform="translate(224, 12)">
|
|
282
|
+
<text x="18" y="9" text-anchor="middle" font-size="8px" fill="#52525B" font-weight="400">80</text>
|
|
283
|
+
{{bar 3 80 (object tl=1.5 tr=1.5 br=0 bl=0) (toRad 0) fill="#E4E4E7" transform="translate(15, 16)"}}
|
|
284
|
+
{{bar 3 raw.mark (object tl=0 tr=0 br=1.5 bl=1.5) (toRad 180) fill="#52525B" transform="translate(18, 96)"}}
|
|
285
|
+
<rect x="14" y="96" width="5" height="1" fill="#FFFFFF" style="filter: drop-shadow(0 -1px 3px rgba(0,0,0, .5));"/>
|
|
286
|
+
<text x="-97" y="8" text-anchor="end" font-size="8px" font-weight="400" fill="#3F3F46" transform="rotate(-90, 0, 0)">نمره کل</text>
|
|
287
|
+
<text x="-16" y="8" text-anchor="start" font-size="8px" font-weight="400" fill="#52525B" transform="rotate(-90, 0, 0)">٪{{percentage.mark}}</text>
|
|
288
|
+
<text x="21" y="{{math 20 '+' (math 80 '-' raw.mark)}}" text-anchor="end" font-size="12px" fill="#3F3F46" font-weight="500">{{raw.mark}}</text>
|
|
289
|
+
</g>
|
|
290
|
+
{{/with}}
|
|
291
|
+
</g>
|
|
292
|
+
<g transform="translate(293, 0)">
|
|
293
|
+
{{!-- <rect width="350" height="714" opacity=".05"/> --}}
|
|
294
|
+
<circle cx="0" cy="0" r="8" fill="none" stroke="#A1A1AA" stroke-dasharray="4,2" transform="translate(8, 26)"/>
|
|
295
|
+
<text text-anchor="middle" dy="3.5" font-size="10px" fill="#52525B" transform="translate(8, 26)">6</text>
|
|
296
|
+
<text x="-230" y="4" transform="rotate(-90, 0, 0)" text-anchor="middle" dy="5" font-size="10px" fill="#52525B">FACES</text>
|
|
297
|
+
|
|
298
|
+
<g transform="translate(0, 6) scale(.4, .4)">
|
|
299
|
+
{{setVar "row1" (array "#FECACA" "#FEF9C3" "#FEF9C3" "#FEF9C3" "#FECACA")}}
|
|
300
|
+
{{setVar "row2" (array "#FEF9C3" "#D1FAE5" "#D1FAE5" "#D1FAE5" "#FEF9C3")}}
|
|
301
|
+
{{setVar "stops" (array 0 15 35 65 85 100)}}
|
|
302
|
+
{{setVar "fills" (array row1 row2 row2 row2 row1)}}
|
|
303
|
+
{{#with FACES93_Context_page1}}
|
|
304
|
+
{{> FACES93_1_partial}}
|
|
305
|
+
{{/with}}
|
|
306
|
+
</g>
|
|
307
|
+
<g transform="translate(170, 400) scale(.40, .40)">
|
|
308
|
+
{{#with FACES93_Context_page2}}
|
|
309
|
+
{{> FACES93_2_1_partial}}
|
|
310
|
+
{{/with}}
|
|
311
|
+
</g>
|
|
312
|
+
<g transform="translate(0, 430) scale(.4, .4)">
|
|
313
|
+
{{#with FACES93_Context_page2}}
|
|
314
|
+
{{> FACES93_2_2_partial}}
|
|
315
|
+
{{/with}}
|
|
316
|
+
</g>
|
|
317
|
+
</g>
|
|
318
|
+
<g transform="translate(293, 500)">
|
|
319
|
+
<text x="-110" y="4" transform="rotate(-90, 0, 0)" text-anchor="middle" dy="5" font-size="10px" fill="#52525B">سبک فرزندپروری</text>
|
|
320
|
+
<g transform="translate(300, 20)">
|
|
321
|
+
{{#each pastq.items}}
|
|
322
|
+
<text x="0" y="{{math @key '*' 30}}" text-anchor="start" font-size="10px" font-weight="400">
|
|
323
|
+
<tspan>{{label.fr}}: </tspan>
|
|
324
|
+
<tspan >{{label.max}}/</tspan>
|
|
325
|
+
<tspan font-weight="500" font-size="12px">{{ternary (boolean mark '>=' 0) mark '0'}}</tspan>
|
|
326
|
+
</text>
|
|
327
|
+
{{/each}}
|
|
328
|
+
<text x="0" y="150" text-anchor="start" font-size="12px" font-weight="400">
|
|
329
|
+
<tspan>جمع کل</tspan>
|
|
330
|
+
<tspan >{{pastq.raw.label.max}}/</tspan>
|
|
331
|
+
<tspan font-weight="500" font-size="14px">{{ternary (boolean pastq.raw.mark '>=' 0) pastq.raw.mark '0'}}</tspan>
|
|
332
|
+
</text>
|
|
333
|
+
</g>
|
|
334
|
+
|
|
335
|
+
</g>
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
<line x1="278" x2="278" y1="0" y2="732" stroke="#E4E4E7" stroke-width="2px" stroke-dasharray="10 10"/>
|
|
340
|
+
<line x1="625" x2="625" y1="0" y2="732" stroke="#E4E4E7" stroke-width="2px" stroke-dasharray="10 10"/>
|
|
341
|
+
|
|
342
|
+
<line x1="0" x2="281" y1="405" y2="405" stroke="#E4E4E7" stroke-width="2px" stroke-dasharray="10 10"/>
|
|
343
|
+
<line x1="0" x2="281" y1="565" y2="565" stroke="#E4E4E7" stroke-width="2px" stroke-dasharray="10 10"/>
|
|
344
|
+
|
|
345
|
+
<line x1="643" x2="903" y1="125" y2="125" stroke="#E4E4E7" stroke-width="2px" stroke-dasharray="10 10"/>
|
|
346
|
+
<line x1="643" x2="903" y1="342" y2="342" stroke="#E4E4E7" stroke-width="2px" stroke-dasharray="10 10"/>
|
|
347
|
+
<line x1="643" x2="903" y1="600" y2="600" stroke="#E4E4E7" stroke-width="2px" stroke-dasharray="10 10"/>
|
|
348
|
+
|
|
7
349
|
</g>
|
|
350
|
+
|
|
8
351
|
{{/ layout}}
|