@everymatrix/lottery-program-wof 1.43.4 → 1.45.3

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.
Files changed (75) hide show
  1. package/es2015/lottery-program-wof.cjs +1 -0
  2. package/es2015/lottery-program-wof.js +16 -0
  3. package/package.json +14 -37
  4. package/CHANGELOG.md +0 -12
  5. package/README.md +0 -30
  6. package/babel.config.js +0 -6
  7. package/dist/lottery-program-wof.js +0 -11886
  8. package/dist/lottery-program-wof.js.map +0 -1
  9. package/index.html +0 -42
  10. package/index.js +0 -1
  11. package/public/favicon.png +0 -0
  12. package/public/reset.css +0 -48
  13. package/rollup.config.js +0 -61
  14. package/src/LotteryProgramWof.svelte +0 -214
  15. package/src/api/api.ts +0 -2016
  16. package/src/api/configuration.ts +0 -65
  17. package/src/api/custom.d.ts +0 -2
  18. package/src/api/index.ts +0 -15
  19. package/src/business.partition.ts +0 -98
  20. package/src/business.ts +0 -186
  21. package/src/calc.point.ts +0 -67
  22. package/src/calc.temp.ts +0 -29
  23. package/src/calc.ts +0 -28
  24. package/src/class.process.ts +0 -130
  25. package/src/class.spinable.ts +0 -60
  26. package/src/class.spinable.util.ts +0 -10
  27. package/src/class.spinner.ts +0 -176
  28. package/src/class.spinner.util.ts +0 -92
  29. package/src/class.svgcalc.ts +0 -249
  30. package/src/i18n.ts +0 -38
  31. package/src/images/Thankyou_1.svg +0 -100
  32. package/src/images/Thankyou_2.svg +0 -112
  33. package/src/images/Thankyou_3.svg +0 -87
  34. package/src/images/Thankyou_4.svg +0 -114
  35. package/src/images/gift.svg +0 -964
  36. package/src/images/theme.bg.blackring.svg +0 -10
  37. package/src/images/theme.bg.halo.svg +0 -27
  38. package/src/images/theme1Bg3.svg +0 -15
  39. package/src/images/theme2Arrow.svg +0 -24
  40. package/src/images/theme2Bg3.svg +0 -11
  41. package/src/images/theme2Center.svg +0 -36
  42. package/src/images/theme3Arrow.svg +0 -25
  43. package/src/images/theme3Bg1.svg +0 -29
  44. package/src/images/theme3Bg2.svg +0 -19
  45. package/src/images/theme3Center.svg +0 -77
  46. package/src/images/theme7Arrow.svg +0 -67
  47. package/src/images/theme7Bg1.svg +0 -786
  48. package/src/images/theme7Bg2.svg +0 -40
  49. package/src/images/theme7Bg3.svg +0 -26
  50. package/src/images/theme7Center.svg +0 -72
  51. package/src/images/theme7Light.svg +0 -17
  52. package/src/images/themeCenter1.svg +0 -76
  53. package/src/images/themeCenter2.svg +0 -58
  54. package/src/images/themePartitionLight.svg +0 -19
  55. package/src/images/themePointerArea.svg +0 -44
  56. package/src/images/themeShadow.svg +0 -27
  57. package/src/index.ts +0 -4
  58. package/src/message.ts +0 -28
  59. package/src/private.item.svelte +0 -172
  60. package/src/private.item.svg.scss +0 -302
  61. package/src/private.item.svg.svelte +0 -356
  62. package/src/private.loader.svelte +0 -61
  63. package/src/private.message.svelte +0 -236
  64. package/src/private.outcomes.svelte +0 -203
  65. package/src/private.tabs.svelte +0 -106
  66. package/src/themes.image.center.ts +0 -68
  67. package/src/themes.ts +0 -52
  68. package/src/translations.js +0 -218
  69. package/src/types.business.ts +0 -20
  70. package/src/types.ts +0 -79
  71. package/src/util.ts +0 -90
  72. package/src/widget.ts +0 -27
  73. package/stories/LotteryProgramWof.stories.js +0 -13
  74. package/svelte.config.js +0 -7
  75. package/tsconfig.json +0 -11
@@ -1,203 +0,0 @@
1
- <svelte:options tag={'lottery-program-wof-private-outcomes'} />
2
-
3
- <script lang="ts">
4
- import type { WheelOfFortunePartition } from "./api";
5
- import { api } from "./business";
6
- import { onMountMessageLifeCycle } from "./message";
7
- import type { LotteryProgramForPlayer } from "./types.business";
8
- import { _ } from './i18n';
9
- import './private.loader.svelte'
10
- import { Lang } from "./types";
11
- import { setClientStyling } from "./widget";
12
-
13
- // properties
14
- export let lang: Lang = Lang.en
15
- export let endpoint: string = ''
16
- export let session: string = ''
17
- export let clientstyling:string = ''
18
- export let id: string = ''
19
-
20
- let rootContainer: HTMLElement
21
- $: clientstyling && rootContainer && setClientStyling(rootContainer, clientstyling);
22
-
23
- interface RenderReady {
24
- id: string,
25
- }
26
-
27
- interface PartitionsR extends RenderReady {
28
- partitions: WheelOfFortunePartition[]
29
- }
30
-
31
- interface outcomesItemR extends RenderReady {
32
- outcomes: any[]
33
- isLoading: boolean
34
- }
35
-
36
- let bonuses: LotteryProgramForPlayer[]
37
- let ids: string[] = []
38
- let partitionsList: PartitionsR[] = []
39
- let outcomesList: outcomesItemR[] = [];
40
-
41
- const getName = (objectI18n: any) => objectI18n?.name['*']
42
-
43
- const getPrize = (outcome, id) => {
44
- const partitions = partitionsList.filter(partitionsItem => partitionsItem.id === id)[0].partitions
45
- const index = outcome.draw.result?.wheelOfFortunePartitionIndex
46
-
47
- return !index ? 'Loss' : getName(partitions[index])
48
- }
49
-
50
- const eventShowOutcome = async () => {
51
-
52
- outcomesList = []
53
- ids.map(id => {
54
- outcomesList.push({
55
- id,
56
- outcomes: [],
57
- isLoading: true,
58
- })
59
- })
60
-
61
- ids.map(async id => {
62
- const result = await api.outcome(endpoint, session, id)
63
- const outcomes = result.items
64
- outcomesList = outcomesList.map(o => {
65
- if(o.id === id){
66
- return {
67
- ...o,
68
- outcomes,
69
- isLoading: false,
70
- }
71
- }else{
72
- return o
73
- }
74
- })
75
- })
76
- }
77
-
78
- const updateData = () => {
79
- ids =
80
- bonuses.map(l => l.program.id)
81
-
82
- partitionsList =
83
- bonuses.map(bonus => ({
84
- id: bonus.program.id,
85
- partitions: bonus.program.wheelOfFortune.partitions,
86
- }))
87
- }
88
-
89
- $: bonuses && updateData()
90
-
91
- onMountMessageLifeCycle({
92
- 'wof-private-bonuses-outcomes': (data) => {
93
- bonuses = data.bonuses
94
- },
95
- 'wof-private-message-outcomes': () => {
96
- eventShowOutcome()
97
- }
98
- })
99
-
100
- </script>
101
-
102
- <div class="Outcomes" bind:this={rootContainer}>
103
- <div class="TableContainer">
104
- <table>
105
- {#each outcomesList as outcomesItem}
106
- {#if outcomesItem.isLoading}
107
- <wof-loader />
108
- {:else}
109
- {#if !outcomesItem.outcomes || outcomesItem.outcomes.length === 0}
110
- <div class="OutcomeNoContent">{$_('wof.NoHistories')}</div>
111
- {:else}
112
- <div>
113
- <tr>{getName(bonuses.filter(l => l.program.id === outcomesItem.id)[0].program)}</tr>
114
- </div>
115
- <thead>
116
- <tr>
117
- <th>{$_('wof.Rewards')}</th>
118
- <th>{$_('wof.Status')}</th>
119
- <th>{$_('wof.Time')}</th>
120
- </tr>
121
- </thead>
122
- <tbody style={outcomesItem.outcomes.length <= 5 ? 'overflow: hidden;' : ''}>
123
- {#each outcomesItem.outcomes as outcome}
124
- <tr>
125
- <td>{@html getPrize(outcome, outcomesItem.id)}</td>
126
- <td>{outcome.draw.state}</td>
127
- <td>{(new Date(outcome.draw.time).toLocaleString(undefined, { timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone }))}</td>
128
- </tr>
129
- {/each}
130
- </tbody>
131
- {/if}
132
- {/if}
133
- {/each}
134
- </table>
135
- </div>
136
- </div>
137
-
138
- <style lang="scss">
139
-
140
- :host {
141
- font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
142
- width: 100%;
143
- }
144
-
145
- *,
146
- *::before,
147
- *::after {
148
- margin: 0;
149
- padding: 0;
150
- list-style: none;
151
- text-decoration: none;
152
- outline: none;
153
- box-sizing: border-box;
154
- }
155
-
156
- .Outcomes {
157
-
158
- width: 80%;
159
- margin: 30px auto;
160
- }
161
-
162
- .OutcomeTitle {
163
- color: #FFF;
164
- font-weight: 700;
165
- padding: 20px 0;
166
- }
167
- .OutcomeNoContent {
168
- color: #FFF;
169
- font-weight: 700;
170
- padding: 20px 20px;
171
- }
172
-
173
- // .TableContainer tbody {
174
- // max-height: 300px;
175
- // overflow-y: auto;
176
- // }
177
-
178
- table {
179
-
180
- color: #FFFFFF;
181
- width: 100%;
182
- text-align: center;
183
- tr {
184
- margin-top: 10px;
185
- line-height: normal;
186
- }
187
-
188
- }
189
-
190
- table tbody {
191
- display: block;
192
- max-height: 300px;
193
- overflow-y: scroll;
194
- margin: 30px 0;
195
- }
196
-
197
- table thead, table tbody tr {
198
- display: table;
199
- width: 100%;
200
- table-layout: fixed;
201
- }
202
-
203
- </style>
@@ -1,106 +0,0 @@
1
- <svelte:options tag={'lottery-program-wof-private-tabs'} />
2
-
3
- <script lang="ts">
4
- import { _postMessage } from "./message";
5
- import { Lang, Tab } from "./types";
6
- import { _ } from './i18n';
7
- import { setClientStyling } from "./widget";
8
-
9
- // properties
10
- export let lang: Lang = Lang.en
11
- export let endpoint: string = ''
12
- export let session: string = ''
13
- export let clientstyling:string = ''
14
- export let isshowhistory: string = 'true'
15
-
16
- let rootContainer: HTMLElement
17
- $: clientstyling && rootContainer && setClientStyling(rootContainer, clientstyling);
18
-
19
- let tab: Tab = Tab.Program;
20
-
21
- const onTabClick = (_tab) => {
22
- switch(_tab){
23
- case Tab.Program:
24
- break;
25
- case Tab.History:
26
- _postMessage({type: 'wof-private-message-outcomes'})
27
- break;
28
- }
29
-
30
- tab = _tab
31
- }
32
- </script>
33
- {#if isshowhistory === 'true'}
34
- <section class="TabBar" bind:this={rootContainer}>
35
- <ul>
36
- {#each Object.keys(Tab) as _tab, i}
37
- <li
38
- class:active={_tab === tab}
39
- class="TabItem"
40
- on:click={() => onTabClick(_tab)}
41
- >
42
- <span>
43
- {$_(`wof.${_tab}`)}
44
- </span>
45
- </li>
46
- {/each}
47
- </ul>
48
- </section>
49
- {/if}
50
-
51
- {#each Object.keys(Tab) as _tab}
52
- {#if tab === _tab}
53
- <slot name={`tab-${_tab}`} />
54
- {/if}
55
- {/each}
56
-
57
-
58
- <style lang="scss">
59
-
60
- :host {
61
- font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
62
- width: 100%;
63
- }
64
-
65
- *,
66
- *::before,
67
- *::after {
68
- margin: 0;
69
- padding: 0;
70
- list-style: none;
71
- text-decoration: none;
72
- outline: none;
73
- box-sizing: border-box;
74
- }
75
-
76
- .TabBar {
77
- width: 100%;
78
- display: flex;
79
- align-items: center;
80
- flex-direction: column;
81
- padding: 20px 0;
82
-
83
- ul {
84
- max-width: 600px;
85
- width: 100%;
86
-
87
- li {
88
- color: #FFFFFF;
89
- display: inline-block;
90
- }
91
- }
92
-
93
- ul {
94
- border-bottom: 3px #ccc solid;
95
-
96
- li {
97
- padding: 6px 10px;
98
- cursor: pointer;
99
- &.active {
100
- border-bottom: 3px #d46666 solid;
101
- margin-bottom: -6px;
102
- }
103
- }
104
- }
105
- }
106
- </style>
@@ -1,68 +0,0 @@
1
- // @ts-nocheck
2
- import themeBgHalo from './images/theme.bg.halo.svg'
3
- import themeBgBlackRing from './images/theme.bg.blackring.svg'
4
- import themeCenter1 from './images/themeCenter1.svg'
5
- import themeCenter2 from './images/themeCenter2.svg'
6
- import themePartitionLight from './images/themePartitionLight.svg'
7
- import themePointerArea from './images/themePointerArea.svg'
8
-
9
- import theme1Bg3 from './images/theme1Bg3.svg'
10
- import theme2Bg3 from './images/theme2Bg3.svg'
11
- import theme2Arrow from './images/theme2Arrow.svg'
12
-
13
- import theme3Bg1 from './images/theme3Bg1.svg'
14
- import theme3Bg2 from './images/theme3Bg2.svg'
15
- import theme3Arrow from './images/theme3Arrow.svg'
16
-
17
- import theme7Bg1 from './images/theme7Bg1.svg'
18
- import theme7Bg2 from './images/theme7Bg2.svg'
19
- import theme7Bg3 from './images/theme7Bg3.svg'
20
-
21
- import theme2Center from './images/theme2Center.svg'
22
- import theme3Center from './images/theme3Center.svg'
23
- import theme7Center from './images/theme7Center.svg'
24
- import theme7Light from './images/theme7Light.svg'
25
- import theme7Arrow from './images/theme7Arrow.svg'
26
-
27
- import themeShadow from './images/themeShadow.svg'
28
-
29
- const defineBottom = () => `
30
- --img-theme-BgBlackRing: url("${themeBgBlackRing}");
31
- --img-theme-BgHalo: url("${themeBgHalo}");
32
- --img-theme1-bg3: url("${theme1Bg3}");
33
- --img-theme2-bg3: url("${theme2Bg3}");
34
- --img-theme3-bg2: url("${theme3Bg2}");
35
- --img-theme3-bg1: url("${theme3Bg1}");
36
-
37
- --img-theme7-bg3: url("${theme7Bg3}");
38
- --img-theme7-bg2: url("${theme7Bg2}");
39
- --img-theme7-bg1: url("${theme7Bg1}");
40
-
41
- `
42
-
43
- const defineMiddle = () => `
44
- --img-theme-center1: url("${themeCenter1}");
45
- --img-theme2-center: url("${theme2Center}");
46
- --img-theme2-arrow: url("${theme2Arrow}");
47
- --img-theme3-center: url("${theme3Center}");
48
- --img-theme3-arrow: url("${theme3Arrow}");
49
- --img-theme7-arrow: url("${theme7Arrow}");
50
- --img-theme-center2: url("${themeCenter2}");
51
- --img-theme7-center: url("${theme7Center}");
52
- `
53
-
54
- const defineTop = () => `
55
- --img-theme-shadow: url("${themeShadow}");
56
- --img-theme7-light: url("${theme7Light}");
57
- `
58
-
59
- export const defines = () =>
60
- [
61
- defineBottom(),
62
- defineMiddle(),
63
- defineTop(),
64
- `
65
- --img-theme-partition-light: url("${themePartitionLight}");
66
- --img-theme-pointer-area: url("${themePointerArea}");
67
- `
68
- ].join(' ')
package/src/themes.ts DELETED
@@ -1,52 +0,0 @@
1
- import { PointerMode } from "./types"
2
-
3
- const sizeSchema1 = {
4
- radius : 247,
5
- rRingInner: 253,
6
- rRingOuter: 294,
7
- rBg1: 300,
8
- }
9
-
10
- const sizeSchema2 = {
11
- radius : 247,
12
- rRingInner: 259,
13
- rRingOuter: 280,
14
- rBg1: 286,
15
- }
16
- const sizeSchema3 = {
17
- radius : 247,
18
- rRingInner: 275,
19
- rRingOuter: 280,
20
- rBg1: 286,
21
- }
22
-
23
- export const themes = [
24
- {
25
- size: sizeSchema1,
26
- pointerMode: PointerMode.Partition,
27
- },
28
- {
29
- size: sizeSchema2,
30
- pointerMode: PointerMode.Arrow,
31
- },
32
- {
33
- size: sizeSchema1,
34
- pointerMode: PointerMode.Arrow,
35
- },
36
- {
37
- size: sizeSchema1,
38
- pointerMode: PointerMode.Partition,
39
- },
40
- {
41
- size: sizeSchema1,
42
- pointerMode: PointerMode.Arrow,
43
- },
44
- {
45
- size: sizeSchema2,
46
- pointerMode: PointerMode.Arrow,
47
- },
48
- {
49
- size: sizeSchema3,
50
- pointerMode: PointerMode.Arrow,
51
- },
52
- ]
@@ -1,218 +0,0 @@
1
- export const TRANSLATIONS = {
2
- "en": {
3
- "wof": {
4
- "NoContent": "You don't have any lottery programs available now.",
5
- "NoNext": "You don't have any spins available. Please check <a href=\"javascript:void(0)\">Terms and Conditions</a>",
6
- "NoHistories": "No histories",
7
- "Program": "Program",
8
- "History": "History",
9
- "ActiveTickets": "Active Tickets",
10
- "ImplicitTickets": "Implicit Tickets",
11
- "RemainingTimes": "Remaining Times",
12
- "Retry": "Network is a bit busy now, please click OK to re-spin",
13
- "ShowNext": "The Wheel will be available on<br /> <strong>{startTime}</strong> <br />Please wait till it is open.",
14
- "DrawFailed": "The prize assignment may be failed, please contact customer support for more details",
15
- "Timeout": "Network is a bit busy now, please try again later.",
16
- "ErrorNetwork": "You are offline, please check your network settings",
17
- "ErrorJSON": "Unexpected Data Response, please contact customer support",
18
- "Congratulation": "Congratulations! You won a {prize}!",
19
- "OK": "OK",
20
- "Rewards": "Rewards",
21
- "Status": "Status",
22
- "Time": "Time",
23
- "Loss": "OOPs! You are close to a prize!"
24
- }
25
- },
26
- "hr": {
27
- "wof": {
28
- "NoContent": "Nemate nijedan dostupan lutrijski program.",
29
- "NoNext": "Nemate dostupnih okretaja. Molimo provjerite <a href=\"javascript:void(0)\">Uvjeti i odredbe</a>",
30
- "NoHistories": "Nema povijesti",
31
- "Program": "Program",
32
- "History": "Povijest",
33
- "ActiveTickets": "Aktivne Karte",
34
- "ImplicitTickets": "Implicitne Karte",
35
- "RemainingTimes": "Preostalo Vrijeme",
36
- "Retry": "Mreža je trenutno zauzeta, molimo kliknite OK za ponovno okretanje",
37
- "ShowNext": "Kolo će biti dostupno<br /> <strong>{startTime}</strong> <br />Molimo pričekajte da se otvori.",
38
- "DrawFailed": "Dodjela nagrada možda nije uspjela, molimo kontaktirajte korisničku podršku za više detalja",
39
- "Timeout": "Mreža je trenutno zauzeta, molimo pokušajte kasnije.",
40
- "ErrorNetwork": "Niste povezani, molimo provjerite postavke mreže",
41
- "ErrorJSON": "Neočekivan odgovor podataka, molimo kontaktirajte korisničku podršku",
42
- "Congratulation": "Čestitamo! Osvojili ste {prize}!",
43
- "OK": "OK",
44
- "Rewards": "Nagrade",
45
- "Status": "Status",
46
- "Time": "Vrijeme",
47
- "Loss": "OOPs! Blizu ste nagrade!"
48
- }
49
- },
50
- "zh": {
51
- "wof": {
52
- "NoContent": "You don't have any lottery programs available now.",
53
- "NoNext": "You don't have any spins available. Please check <a href=\"javascript:void(0)\">Terms and Conditions</a>",
54
- "NoHistories": "No histories",
55
- "Program": "Program",
56
- "History": "History",
57
- "ActiveTickets": "Active Tickets",
58
- "ImplicitTickets": "Implicit Tickets",
59
- "RemainingTimes": "Remaining Times",
60
- "Retry": "Network is a bit busy now, please click OK to re-spin",
61
- "ShowNext": "The Wheel will be available on<br /> <strong>{startTime}</strong> <br />Please wait till it is open.",
62
- "DrawFailed": "The prize assignment may be failed, please contact customer support for more details",
63
- "Timeout": "Network is a bit busy now, please try again later.",
64
- "ErrorNetwork": "You are offline, please check your network settings",
65
- "ErrorJSON": "Unexpected Data Response, please contact customer support",
66
- "Congratulation": "Congratulations! You won a {prize}!",
67
- "OK": "OK",
68
- "Rewards": "Rewards",
69
- "Status": "Status",
70
- "Time": "Time",
71
- "Loss": "OOPs! You are close to a prize!"
72
- }
73
- },
74
- "fr": {
75
- "wof": {
76
- "NoContent": "You don't have any lottery programs available now.",
77
- "NoNext": "You don't have any spins available. Please check <a href=\"javascript:void(0)\">Terms and Conditions</a>",
78
- "NoHistories": "No histories",
79
- "Program": "Program",
80
- "History": "History",
81
- "ActiveTickets": "Active Tickets",
82
- "ImplicitTickets": "Implicit Tickets",
83
- "RemainingTimes": "Remaining Times",
84
- "Retry": "Network is a bit busy now, please click OK to re-spin",
85
- "ShowNext": "The Wheel will be available on<br /> <strong>{startTime}</strong> <br />Please wait till it is open.",
86
- "DrawFailed": "The prize assignment may be failed, please contact customer support for more details",
87
- "Timeout": "Network is a bit busy now, please try again later.",
88
- "ErrorNetwork": "You are offline, please check your network settings",
89
- "ErrorJSON": "Unexpected Data Response, please contact customer support",
90
- "Congratulation": "Congratulations! You won a {prize}!",
91
- "OK": "OK",
92
- "Rewards": "Rewards",
93
- "Status": "Status",
94
- "Time": "Time",
95
- "Loss": "OOPs! You are close to a prize!"
96
- }
97
- },
98
- "ro": {
99
- "wof": {
100
- "NoContent": "You don't have any lottery programs available now.",
101
- "NoNext": "You don't have any spins available. Please check <a href=\"javascript:void(0)\">Terms and Conditions</a>",
102
- "NoHistories": "No histories",
103
- "Program": "Program",
104
- "History": "History",
105
- "ActiveTickets": "Active Tickets",
106
- "ImplicitTickets": "Implicit Tickets",
107
- "RemainingTimes": "Remaining Times",
108
- "Retry": "Network is a bit busy now, please click OK to re-spin",
109
- "ShowNext": "The Wheel will be available on<br /> <strong>{startTime}</strong> <br />Please wait till it is open.",
110
- "DrawFailed": "The prize assignment may be failed, please contact customer support for more details",
111
- "Timeout": "Network is a bit busy now, please try again later.",
112
- "ErrorNetwork": "You are offline, please check your network settings",
113
- "ErrorJSON": "Unexpected Data Response, please contact customer support",
114
- "Congratulation": "Congratulations! You won a {prize}!",
115
- "OK": "OK",
116
- "Rewards": "Rewards",
117
- "Status": "Status",
118
- "Time": "Time",
119
- "Loss": "OOPs! You are close to a prize!"
120
- }
121
- },
122
- "es": {
123
- "wof": {
124
- "NoContent": "You don't have any lottery programs available now.",
125
- "NoNext": "You don't have any spins available. Please check <a href=\"javascript:void(0)\">Terms and Conditions</a>",
126
- "NoHistories": "No histories",
127
- "Program": "Program",
128
- "History": "History",
129
- "ActiveTickets": "Active Tickets",
130
- "ImplicitTickets": "Implicit Tickets",
131
- "RemainingTimes": "Remaining Times",
132
- "Retry": "Network is a bit busy now, please click OK to re-spin",
133
- "ShowNext": "The Wheel will be available on<br /> <strong>{startTime}</strong> <br />Please wait till it is open.",
134
- "DrawFailed": "The prize assignment may be failed, please contact customer support for more details",
135
- "Timeout": "Network is a bit busy now, please try again later.",
136
- "ErrorNetwork": "You are offline, please check your network settings",
137
- "ErrorJSON": "Unexpected Data Response, please contact customer support",
138
- "Congratulation": "Congratulations! You won a {prize}!",
139
- "OK": "OK",
140
- "Rewards": "Rewards",
141
- "Status": "Status",
142
- "Time": "Time",
143
- "Loss": "OOPs! You are close to a prize!"
144
- }
145
- },
146
- "pt": {
147
- "wof": {
148
- "NoContent": "You don't have any lottery programs available now.",
149
- "NoNext": "You don't have any spins available. Please check <a href=\"javascript:void(0)\">Terms and Conditions</a>",
150
- "NoHistories": "No histories",
151
- "Program": "Program",
152
- "History": "History",
153
- "ActiveTickets": "Active Tickets",
154
- "ImplicitTickets": "Implicit Tickets",
155
- "RemainingTimes": "Remaining Times",
156
- "Retry": "Network is a bit busy now, please click OK to re-spin",
157
- "ShowNext": "The Wheel will be available on<br /> <strong>{startTime}</strong> <br />Please wait till it is open.",
158
- "DrawFailed": "The prize assignment may be failed, please contact customer support for more details",
159
- "Timeout": "Network is a bit busy now, please try again later.",
160
- "ErrorNetwork": "You are offline, please check your network settings",
161
- "ErrorJSON": "Unexpected Data Response, please contact customer support",
162
- "Congratulation": "Congratulations! You won a {prize}!",
163
- "OK": "OK",
164
- "Rewards": "Rewards",
165
- "Status": "Status",
166
- "Time": "Time",
167
- "Loss": "OOPs! You are close to a prize!"
168
- }
169
- },
170
- "de": {
171
- "wof": {
172
- "NoContent": "You don't have any lottery programs available now.",
173
- "NoNext": "You don't have any spins available. Please check <a href=\"javascript:void(0)\">Terms and Conditions</a>",
174
- "NoHistories": "No histories",
175
- "Program": "Program",
176
- "History": "History",
177
- "ActiveTickets": "Active Tickets",
178
- "ImplicitTickets": "Implicit Tickets",
179
- "RemainingTimes": "Remaining Times",
180
- "Retry": "Network is a bit busy now, please click OK to re-spin",
181
- "ShowNext": "The Wheel will be available on<br /> <strong>{startTime}</strong> <br />Please wait till it is open.",
182
- "DrawFailed": "The prize assignment may be failed, please contact customer support for more details",
183
- "Timeout": "Network is a bit busy now, please try again later.",
184
- "ErrorNetwork": "You are offline, please check your network settings",
185
- "ErrorJSON": "Unexpected Data Response, please contact customer support",
186
- "Congratulation": "Congratulations! You won a {prize}!",
187
- "OK": "OK",
188
- "Rewards": "Rewards",
189
- "Status": "Status",
190
- "Time": "Time",
191
- "Loss": "OOPs! You are close to a prize!"
192
- }
193
- },
194
- "tr": {
195
- "wof": {
196
- "NoContent": "Şu anda herhangi bir piyango programınız yok.",
197
- "NoNext": "Kullanılabilir herhangi bir döndürmeniz yok. Lütfen <a href=javascript:void(0)'>Şartlar ve Koşullar</a>'ı kontrol edin",
198
- "NoHistories": "Geçmiş yok",
199
- "Program": "programı",
200
- "History": "Tarih",
201
- "ActiveTickets": "Aktif Biletler",
202
- "ImplicitTickets": "Örtülü Biletler",
203
- "RemainingTimes": "Kalan Süreler",
204
- "Retry": "Ağ şu anda biraz meşgul, lütfen yeniden döndürmek için Tamam'a tıklayın",
205
- "ShowNext": "Çark şu tarihte satışa sunulacak:<br /> <strong>{startTime}</strong> <br />Lütfen açılana kadar bekleyin.",
206
- "DrawFailed": "Ödül ataması başarısız olabilir, daha fazla ayrıntı için lütfen müşteri desteğiyle iletişime geçin",
207
- "Timeout": "Ağ şu anda biraz meşgul, lütfen daha sonra tekrar deneyin.",
208
- "ErrorNetwork": "Çevrimdışısınız, lütfen ağ ayarlarınızı kontrol edin",
209
- "ErrorJSON": "Beklenmeyen Veri Yanıtı, lütfen müşteri desteğiyle iletişime geçin",
210
- "Congratulation": "Tebrikler! Bir {ödül} kazandınız!",
211
- "OK": "TAMAM",
212
- "Rewards": "Ödüller",
213
- "Status": "Durum",
214
- "Time": "Zaman",
215
- "Loss": "Ah! Bir ödüle yaklaştınız!"
216
- }
217
- }
218
- }
@@ -1,20 +0,0 @@
1
- import type {
2
- LotteryProgramDraw,
3
- LotteryProgramILotteryProgramForPlayer,
4
- LotteryProgramIQueryLotteryProgramForPlayerResult
5
- } from "./api";
6
-
7
-
8
- export type LotteryProgramForPlayer = LotteryProgramILotteryProgramForPlayer
9
-
10
- export enum CurrentInfo {
11
- ActiveTickets = 'ActiveTickets',
12
- ImplicitTickets = 'ImplicitTickets',
13
- RemainingTimes = 'RemainingTimes',
14
- }
15
-
16
- export type ApiLotteriesResult = LotteryProgramIQueryLotteryProgramForPlayerResult
17
-
18
- export interface ApiDrawResult {
19
- item?: LotteryProgramDraw;
20
- }