maidraw 0.3.1 → 0.4.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/assets/themes/cn/2024Landscape/manifest.json +9 -0
- package/assets/themes/cn/2024Portrait/manifest.json +18 -0
- package/assets/themes/jp/buddiesLandscape/manifest.json +9 -0
- package/assets/themes/jp/buddiesPlusLandscape/manifest.json +9 -0
- package/assets/themes/jp/buddiesPlusPortrait/manifest.json +18 -0
- package/assets/themes/jp/buddiesPortrait/manifest.json +18 -0
- package/assets/themes/jp/finaleLandscape/manifest.json +9 -0
- package/assets/themes/jp/finalePortrait/manifest.json +18 -0
- package/assets/themes/jp/prismLandscape/manifest.json +9 -0
- package/assets/themes/jp/prismPlusLandscape/manifest.json +9 -0
- package/assets/themes/jp/prismPlusPortrait/manifest.json +18 -0
- package/assets/themes/jp/prismPortrait/manifest.json +18 -0
- package/dist/mai/best50/index.d.ts +6 -1
- package/dist/mai/best50/index.js +489 -538
- package/dist/mai/best50/index.js.map +1 -1
- package/dist/mai/best50/lib/divingFish/index.d.ts +5 -7
- package/dist/mai/best50/lib/divingFish/index.js +5 -43
- package/dist/mai/best50/lib/divingFish/index.js.map +1 -1
- package/dist/mai/best50/lib/index.d.ts +16 -1
- package/dist/mai/best50/lib/index.js +83 -2
- package/dist/mai/best50/lib/index.js.map +1 -1
- package/dist/mai/best50/lib/kamaiTachi/index.d.ts +5 -8
- package/dist/mai/best50/lib/kamaiTachi/index.js +81 -75
- package/dist/mai/best50/lib/kamaiTachi/index.js.map +1 -1
- package/dist/mai/best50/lib/lxns/index.d.ts +5 -9
- package/dist/mai/best50/lib/lxns/index.js +13 -57
- package/dist/mai/best50/lib/lxns/index.js.map +1 -1
- package/dist/mai/best50/type.d.ts +145 -0
- package/dist/mai/best50/type.js +3 -0
- package/dist/mai/best50/type.js.map +1 -0
- package/dist/type.d.ts +0 -106
- package/package.json +3 -1
|
@@ -139,6 +139,15 @@
|
|
|
139
139
|
"x": 110,
|
|
140
140
|
"y": 345,
|
|
141
141
|
"height": 129
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "text",
|
|
145
|
+
"size": 32,
|
|
146
|
+
"x": 2480,
|
|
147
|
+
"y": 1407,
|
|
148
|
+
"borderColor": "#000000",
|
|
149
|
+
"align": "right",
|
|
150
|
+
"content": "Generated by saltbot | maimaidx.cab/discord | maimaidx.cab/invite"
|
|
142
151
|
}
|
|
143
152
|
]
|
|
144
153
|
}
|
|
@@ -139,6 +139,24 @@
|
|
|
139
139
|
"x": 580,
|
|
140
140
|
"y": 145,
|
|
141
141
|
"height": 150
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "text",
|
|
145
|
+
"size": 32,
|
|
146
|
+
"x": 60,
|
|
147
|
+
"y": 415,
|
|
148
|
+
"borderColor": "#000000",
|
|
149
|
+
"align": "left",
|
|
150
|
+
"content": "Generated by saltbot |"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "text",
|
|
154
|
+
"size": 28,
|
|
155
|
+
"x": 445,
|
|
156
|
+
"y": 385,
|
|
157
|
+
"borderColor": "#000000",
|
|
158
|
+
"align": "left",
|
|
159
|
+
"content": "maimaidx.cab/invite\nmaimaidx.cab/discord"
|
|
142
160
|
}
|
|
143
161
|
]
|
|
144
162
|
}
|
|
@@ -139,6 +139,15 @@
|
|
|
139
139
|
"x": 110,
|
|
140
140
|
"y": 345,
|
|
141
141
|
"height": 129
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "text",
|
|
145
|
+
"size": 32,
|
|
146
|
+
"x": 2480,
|
|
147
|
+
"y": 1407,
|
|
148
|
+
"borderColor": "#000000",
|
|
149
|
+
"align": "right",
|
|
150
|
+
"content": "Generated by saltbot | maimaidx.cab/discord | maimaidx.cab/invite"
|
|
142
151
|
}
|
|
143
152
|
]
|
|
144
153
|
}
|
|
@@ -139,6 +139,15 @@
|
|
|
139
139
|
"x": 110,
|
|
140
140
|
"y": 345,
|
|
141
141
|
"height": 129
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "text",
|
|
145
|
+
"size": 32,
|
|
146
|
+
"x": 2480,
|
|
147
|
+
"y": 1407,
|
|
148
|
+
"borderColor": "#000000",
|
|
149
|
+
"align": "right",
|
|
150
|
+
"content": "Generated by saltbot | maimaidx.cab/discord | maimaidx.cab/invite"
|
|
142
151
|
}
|
|
143
152
|
]
|
|
144
153
|
}
|
|
@@ -139,6 +139,24 @@
|
|
|
139
139
|
"x": 580,
|
|
140
140
|
"y": 145,
|
|
141
141
|
"height": 150
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "text",
|
|
145
|
+
"size": 32,
|
|
146
|
+
"x": 60,
|
|
147
|
+
"y": 415,
|
|
148
|
+
"borderColor": "#000000",
|
|
149
|
+
"align": "left",
|
|
150
|
+
"content": "Generated by saltbot |"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "text",
|
|
154
|
+
"size": 28,
|
|
155
|
+
"x": 445,
|
|
156
|
+
"y": 385,
|
|
157
|
+
"borderColor": "#000000",
|
|
158
|
+
"align": "left",
|
|
159
|
+
"content": "maimaidx.cab/invite\nmaimaidx.cab/discord"
|
|
142
160
|
}
|
|
143
161
|
]
|
|
144
162
|
}
|
|
@@ -139,6 +139,24 @@
|
|
|
139
139
|
"x": 580,
|
|
140
140
|
"y": 145,
|
|
141
141
|
"height": 150
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "text",
|
|
145
|
+
"size": 32,
|
|
146
|
+
"x": 60,
|
|
147
|
+
"y": 415,
|
|
148
|
+
"borderColor": "#000000",
|
|
149
|
+
"align": "left",
|
|
150
|
+
"content": "Generated by saltbot |"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "text",
|
|
154
|
+
"size": 28,
|
|
155
|
+
"x": 445,
|
|
156
|
+
"y": 385,
|
|
157
|
+
"borderColor": "#000000",
|
|
158
|
+
"align": "left",
|
|
159
|
+
"content": "maimaidx.cab/invite\nmaimaidx.cab/discord"
|
|
142
160
|
}
|
|
143
161
|
]
|
|
144
162
|
}
|
|
@@ -123,6 +123,15 @@
|
|
|
123
123
|
"x": 110,
|
|
124
124
|
"y": 345,
|
|
125
125
|
"height": 129
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "text",
|
|
129
|
+
"size": 32,
|
|
130
|
+
"x": 2480,
|
|
131
|
+
"y": 1407,
|
|
132
|
+
"borderColor": "#000000",
|
|
133
|
+
"align": "right",
|
|
134
|
+
"content": "Generated by saltbot | maimai.cab/discord | maimai.cab/invite"
|
|
126
135
|
}
|
|
127
136
|
]
|
|
128
137
|
}
|
|
@@ -123,6 +123,24 @@
|
|
|
123
123
|
"x": 580,
|
|
124
124
|
"y": 145,
|
|
125
125
|
"height": 150
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "text",
|
|
129
|
+
"size": 32,
|
|
130
|
+
"x": 60,
|
|
131
|
+
"y": 415,
|
|
132
|
+
"borderColor": "#000000",
|
|
133
|
+
"align": "left",
|
|
134
|
+
"content": "Generated by saltbot |"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"type": "text",
|
|
138
|
+
"size": 28,
|
|
139
|
+
"x": 445,
|
|
140
|
+
"y": 385,
|
|
141
|
+
"borderColor": "#000000",
|
|
142
|
+
"align": "left",
|
|
143
|
+
"content": "maimai.cab/invite\nmaimai.cab/discord"
|
|
126
144
|
}
|
|
127
145
|
]
|
|
128
146
|
}
|
|
@@ -139,6 +139,15 @@
|
|
|
139
139
|
"x": 110,
|
|
140
140
|
"y": 345,
|
|
141
141
|
"height": 129
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "text",
|
|
145
|
+
"size": 32,
|
|
146
|
+
"x": 2480,
|
|
147
|
+
"y": 1407,
|
|
148
|
+
"borderColor": "#000000",
|
|
149
|
+
"align": "right",
|
|
150
|
+
"content": "Generated by saltbot | maimaidx.cab/discord | maimaidx.cab/invite"
|
|
142
151
|
}
|
|
143
152
|
]
|
|
144
153
|
}
|
|
@@ -139,6 +139,15 @@
|
|
|
139
139
|
"x": 110,
|
|
140
140
|
"y": 345,
|
|
141
141
|
"height": 129
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "text",
|
|
145
|
+
"size": 32,
|
|
146
|
+
"x": 2480,
|
|
147
|
+
"y": 1407,
|
|
148
|
+
"borderColor": "#000000",
|
|
149
|
+
"align": "right",
|
|
150
|
+
"content": "Generated by saltbot | maimaidx.cab/discord | maimaidx.cab/invite"
|
|
142
151
|
}
|
|
143
152
|
]
|
|
144
153
|
}
|
|
@@ -139,6 +139,24 @@
|
|
|
139
139
|
"x": 580,
|
|
140
140
|
"y": 145,
|
|
141
141
|
"height": 150
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "text",
|
|
145
|
+
"size": 32,
|
|
146
|
+
"x": 60,
|
|
147
|
+
"y": 415,
|
|
148
|
+
"borderColor": "#000000",
|
|
149
|
+
"align": "left",
|
|
150
|
+
"content": "Generated by saltbot |"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "text",
|
|
154
|
+
"size": 28,
|
|
155
|
+
"x": 445,
|
|
156
|
+
"y": 385,
|
|
157
|
+
"borderColor": "#000000",
|
|
158
|
+
"align": "left",
|
|
159
|
+
"content": "maimaidx.cab/invite\nmaimaidx.cab/discord"
|
|
142
160
|
}
|
|
143
161
|
]
|
|
144
162
|
}
|
|
@@ -139,6 +139,24 @@
|
|
|
139
139
|
"x": 580,
|
|
140
140
|
"y": 145,
|
|
141
141
|
"height": 150
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "text",
|
|
145
|
+
"size": 32,
|
|
146
|
+
"x": 60,
|
|
147
|
+
"y": 415,
|
|
148
|
+
"borderColor": "#000000",
|
|
149
|
+
"align": "left",
|
|
150
|
+
"content": "Generated by saltbot |"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "text",
|
|
154
|
+
"size": 28,
|
|
155
|
+
"x": 445,
|
|
156
|
+
"y": 385,
|
|
157
|
+
"borderColor": "#000000",
|
|
158
|
+
"align": "left",
|
|
159
|
+
"content": "maimaidx.cab/invite\nmaimaidx.cab/discord"
|
|
142
160
|
}
|
|
143
161
|
]
|
|
144
162
|
}
|
|
@@ -16,10 +16,15 @@ export declare class Best50 {
|
|
|
16
16
|
static hasTheme(name: string): boolean;
|
|
17
17
|
private static validateManifest;
|
|
18
18
|
private static primaryTheme;
|
|
19
|
-
private static primaryThemePath;
|
|
20
19
|
static loadTheme(path: string): boolean;
|
|
21
20
|
private static getTheme;
|
|
22
21
|
private static getThemeFile;
|
|
22
|
+
private static findMaxFitString;
|
|
23
|
+
private static drawText;
|
|
24
|
+
private static drawImageModule;
|
|
25
|
+
private static drawScoreGridModule;
|
|
26
|
+
private static drawProfileModule;
|
|
27
|
+
private static drawTextModule;
|
|
23
28
|
static draw(name: string, rating: number, newScores: IScore[], oldScores: IScore[], options?: {
|
|
24
29
|
scale?: number;
|
|
25
30
|
theme?: string;
|