@baravak/risloo-profile-cli 4.7.0 → 4.7.1
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
package/src/samples/JSIQ9Q.js
CHANGED
|
@@ -212,8 +212,14 @@ class JSIQ9Q extends Profile {
|
|
|
212
212
|
_calcContext() {
|
|
213
213
|
const firstPageData = this.firstPage()
|
|
214
214
|
return [firstPageData, {
|
|
215
|
-
love:
|
|
216
|
-
|
|
215
|
+
love: {
|
|
216
|
+
percentage: 1 - firstPageData.items.love.percentagex,
|
|
217
|
+
mark: firstPageData.items.love.mark
|
|
218
|
+
},
|
|
219
|
+
power: {
|
|
220
|
+
percentage: 1 - firstPageData.items.power.percentagex,
|
|
221
|
+
mark: firstPageData.items.power.mark
|
|
222
|
+
},
|
|
217
223
|
titleAppend: firstPageData.titleAppend
|
|
218
224
|
}];
|
|
219
225
|
}
|
package/src/samples/JSIQ9V.js
CHANGED
|
@@ -213,8 +213,14 @@ class JSIQ9V extends Profile {
|
|
|
213
213
|
_calcContext() {
|
|
214
214
|
const firstPageData = this.firstPage()
|
|
215
215
|
return [firstPageData, {
|
|
216
|
-
love:
|
|
217
|
-
|
|
216
|
+
love: {
|
|
217
|
+
percentage: 1 - firstPageData.items.love.percentagex,
|
|
218
|
+
mark: firstPageData.items.love.mark
|
|
219
|
+
},
|
|
220
|
+
power: {
|
|
221
|
+
percentage: 1 - firstPageData.items.power.percentagex,
|
|
222
|
+
mark: firstPageData.items.power.mark
|
|
223
|
+
},
|
|
218
224
|
titleAppend: firstPageData.titleAppend
|
|
219
225
|
}];
|
|
220
226
|
}
|
|
@@ -118,10 +118,14 @@
|
|
|
118
118
|
</g>
|
|
119
119
|
|
|
120
120
|
<g>
|
|
121
|
-
<circle cx="{{math 470 '*' love}}" cy="{{math 470 '*' power}}" r="11" fill="none" stroke="#A16207" stroke-width="3" />
|
|
122
|
-
<circle cx="{{math 470 '*' love}}" cy="{{math 470 '*' power}}" r="3.5" fill="#A16207" />
|
|
123
|
-
<line x1="0" y1="{{math 470 '*' power}}" x2="{{math 470 '*' love}}" y2="{{math 470 '*' power}}" stroke="#A16207" stroke-linecap="round" stroke-dasharray="6 8"/>
|
|
124
|
-
<line x1="{{math 470 '*' love}}" y1="470" x2="{{math 470 '*' love}}" y2="{{math 470 '*' power}}" stroke="#A16207" stroke-linecap="round" stroke-dasharray="6 8"/>
|
|
121
|
+
<circle cx="{{math 470 '*' love.percentage}}" cy="{{math 470 '*' power.percentage}}" r="11" fill="none" stroke="#A16207" stroke-width="3" />
|
|
122
|
+
<circle cx="{{math 470 '*' love.percentage}}" cy="{{math 470 '*' power.percentage}}" r="3.5" fill="#A16207" />
|
|
123
|
+
<line x1="0" y1="{{math 470 '*' power.percentage}}" x2="{{math 470 '*' love.percentage}}" y2="{{math 470 '*' power.percentage}}" stroke="#A16207" stroke-linecap="round" stroke-dasharray="6 8"/>
|
|
124
|
+
<line x1="{{math 470 '*' love.percentage}}" y1="470" x2="{{math 470 '*' love.percentage}}" y2="{{math 470 '*' power.percentage}}" stroke="#A16207" stroke-linecap="round" stroke-dasharray="6 8"/>
|
|
125
|
+
|
|
126
|
+
<text x="{{math 470 '*' love.percentage}}" y="495" text-anchor="middle" font-size="20" font-weight="700" fill="#A16207">{{power.mark}}</text>
|
|
127
|
+
<text x="-10" y="{{math 470 '*' power.percentage}}" dy=".3em" text-anchor="start" font-size="20" font-weight="700" fill="#A16207">{{love.mark}}</text>
|
|
128
|
+
|
|
125
129
|
</g>
|
|
126
130
|
</g>
|
|
127
131
|
</g>
|
|
@@ -118,10 +118,13 @@
|
|
|
118
118
|
</g>
|
|
119
119
|
|
|
120
120
|
<g>
|
|
121
|
-
<circle cx="{{math 470 '*' love}}" cy="{{math 470 '*' power}}" r="11" fill="none" stroke="#A16207" stroke-width="3" />
|
|
122
|
-
<circle cx="{{math 470 '*' love}}" cy="{{math 470 '*' power}}" r="3.5" fill="#A16207" />
|
|
123
|
-
<line x1="0" y1="{{math 470 '*' power}}" x2="{{math 470 '*' love}}" y2="{{math 470 '*' power}}" stroke="#A16207" stroke-linecap="round" stroke-dasharray="6 8"/>
|
|
124
|
-
<line x1="{{math 470 '*' love}}" y1="470" x2="{{math 470 '*' love}}" y2="{{math 470 '*' power}}" stroke="#A16207" stroke-linecap="round" stroke-dasharray="6 8"/>
|
|
121
|
+
<circle cx="{{math 470 '*' love.percentage}}" cy="{{math 470 '*' power.percentage}}" r="11" fill="none" stroke="#A16207" stroke-width="3" />
|
|
122
|
+
<circle cx="{{math 470 '*' love.percentage}}" cy="{{math 470 '*' power.percentage}}" r="3.5" fill="#A16207" />
|
|
123
|
+
<line x1="0" y1="{{math 470 '*' power.percentage}}" x2="{{math 470 '*' love.percentage}}" y2="{{math 470 '*' power.percentage}}" stroke="#A16207" stroke-linecap="round" stroke-dasharray="6 8"/>
|
|
124
|
+
<line x1="{{math 470 '*' love.percentage}}" y1="470" x2="{{math 470 '*' love.percentage}}" y2="{{math 470 '*' power.percentage}}" stroke="#A16207" stroke-linecap="round" stroke-dasharray="6 8"/>
|
|
125
|
+
|
|
126
|
+
<text x="{{math 470 '*' love.percentage}}" y="495" text-anchor="middle" font-size="20" font-weight="700" fill="#A16207">{{power.mark}}</text>
|
|
127
|
+
<text x="-10" y="{{math 470 '*' power.percentage}}" dy=".3em" text-anchor="start" font-size="20" font-weight="700" fill="#A16207">{{love.mark}}</text>
|
|
125
128
|
</g>
|
|
126
129
|
</g>
|
|
127
130
|
</g>
|