@everymatrix/lottery-program-wof 1.22.5 → 1.22.6

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.
@@ -1,13 +0,0 @@
1
-
2
- interface ImageSize {
3
- width: number
4
- height: number
5
- }
6
-
7
- export const renderSvgImageProps = (center: number, href: string, size: ImageSize, offset = {x: 0, y: 0}) => ({
8
- x: center - size.width / 2 - offset.x,
9
- y: center - size.height / 2 - offset.y,
10
- width: size.width,
11
- height: size.height,
12
- href,
13
- })
@@ -1,29 +0,0 @@
1
-
2
- // @ts-ignore
3
- import pointerArrowSvg from './images/pointerArrow.svg'
4
- // @ts-ignore
5
- import pointerArrow3Svg from './images/pointerArrow3.svg'
6
- // @ts-ignore
7
- import pointerArrow6Svg from './images/pointerArrow6.svg'
8
-
9
- export const themedCssPointer = (themeIndex: number) => {
10
-
11
- switch(themeIndex){
12
- case 1:
13
- return `
14
- background-image: url("${pointerArrowSvg}");
15
- background-position: center 46px;
16
- `
17
- case 2:
18
- return `
19
- background-image: url("${pointerArrow3Svg}");
20
- background-position: center 18px;
21
- `
22
- case 6:
23
- return `
24
- background-image: url("${pointerArrow6Svg}");
25
- background-position: center 15px;
26
- `
27
- default: return ``
28
- }
29
- }
@@ -1,222 +0,0 @@
1
- export const partitionStrokeSteps = [
2
- {
3
- offset: "0",
4
- color: "#F28F00",
5
- },
6
- {
7
- offset: "0.27",
8
- color: "#F5A318",
9
- },
10
- {
11
- offset: "0.85",
12
- color: "#FCD755",
13
- },
14
- {
15
- offset: "1",
16
- color: "#FFE767",
17
- },
18
- ]
19
-
20
- export const partitions1 = {
21
- colorSchema: [
22
- [
23
- {
24
- color: '#009C9C',
25
- offset: 0,
26
- },
27
- {
28
- color: '#002634',
29
- offset: 1,
30
- }
31
- ],
32
- [
33
- {
34
- color: '#AA00BF',
35
- offset: 0,
36
- },
37
- {
38
- color: '#3B0031',
39
- offset: 1,
40
- }
41
- ],
42
- [
43
- {
44
- color: '#0068CD',
45
- offset: 0,
46
- },
47
- {
48
- color: '#150D42',
49
- offset: 1,
50
- }
51
- ],
52
- [
53
- {
54
- color: '#DA005B',
55
- offset: 0,
56
- },
57
- {
58
- color: '#400021',
59
- offset: 1,
60
- }
61
- ],
62
- ]
63
- }
64
-
65
- export const partitions2 = {
66
- colorSchema: [
67
- [
68
- {
69
- color: '#006666',
70
- offset: 0,
71
- },
72
- {
73
- color: '#007F76',
74
- offset: 0.13,
75
- },
76
- {
77
- color: '#00B59B',
78
- offset: 0.42,
79
- },
80
- {
81
- color: '#00DDB5',
82
- offset: 0.67,
83
- },
84
- {
85
- color: '#00F6C6',
86
- offset: 0.88,
87
- },
88
- {
89
- color: '#00FFCC',
90
- offset: 1,
91
- }
92
- ],
93
- [
94
- {
95
- color: '#580065',
96
- offset: 0.23,
97
- },
98
- {
99
- color: '#D453FF',
100
- offset: 0.91,
101
- }
102
- ],
103
- [
104
- {
105
- color: '#FFE767',
106
- offset: 0,
107
- },
108
- {
109
- color: '#F28F00',
110
- offset: 1,
111
- }
112
- ],
113
- [
114
- {
115
- color: '#900A42',
116
- offset: 1 / 100 * 22.59,
117
- },
118
- {
119
- color: '#960A44',
120
- offset: 1 / 100 * 23.94,
121
- },
122
- {
123
- color: '#B60B53',
124
- offset: 1 / 100 * 31.36,
125
- },
126
- {
127
- color: '#D00C5E',
128
- offset: 1 / 100 * 39.45,
129
- },
130
- {
131
- color: '#E40D67',
132
- offset: 1 / 100 * 48.22,
133
- },
134
- {
135
- color: '#F30D6E',
136
- offset: 1 / 100 * 57.66,
137
- },
138
- {
139
- color: '#FB0D71',
140
- offset: 1 / 100 * 69.8,
141
- },
142
- {
143
- color: '#FE0E73',
144
- offset: 1 / 100 * 90.03,
145
- },
146
- ]
147
- ]
148
- }
149
-
150
- export const partitions3 = {
151
- colorSchema: [
152
- [
153
- {
154
- color: '#3B0031',
155
- offset: 0,
156
- },
157
- {
158
- color: '#7E008E',
159
- offset: 1,
160
- },
161
- ],
162
- [
163
- {
164
- color: '#5A005F',
165
- offset: 0,
166
- },
167
- {
168
- color: '#EA53FF',
169
- offset: 1,
170
- }
171
- ],
172
- [
173
- {
174
- color: '#B300C3',
175
- offset: 0,
176
- },
177
- {
178
- color: '#4D003B',
179
- offset: 1,
180
- }
181
- ],
182
- [
183
- {
184
- color: '#59007B',
185
- offset: 0,
186
- },
187
- {
188
- color: '#B753FF',
189
- offset: 1,
190
- },
191
- ]
192
- ]
193
- }
194
-
195
- export const partitions4 = {
196
- colorSchema: [
197
- [
198
- {
199
- color: '#F6AD3F',
200
- offset: 0.17,
201
- },
202
- {
203
- color: '#AF8531',
204
- offset: 1,
205
- },
206
- ],
207
- [
208
- {
209
- color: '#323234',
210
- offset: 0,
211
- },
212
- {
213
- color: '#272425',
214
- offset: 0.55,
215
- },
216
- {
217
- color: '#231F1F',
218
- offset: 1,
219
- }
220
- ],
221
- ]
222
- }