pixi-rainman-game-engine 0.1.19 → 0.1.21

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 (72) hide show
  1. package/README.md +10 -16
  2. package/dist/SettingsUI/SystemSettings/SystemSettingsComponent.d.ts +0 -1
  3. package/dist/SettingsUI/SystemSettings/SystemSettingsComponent.jsx +7 -6
  4. package/dist/SettingsUI/components/AutoplaySettings/index.d.ts +0 -1
  5. package/dist/SettingsUI/components/AutoplaySettings/index.jsx +26 -38
  6. package/dist/SettingsUI/components/Bet/BetControls.d.ts +0 -1
  7. package/dist/SettingsUI/components/Bet/BetControls.jsx +9 -9
  8. package/dist/SettingsUI/components/Bet/index.d.ts +0 -1
  9. package/dist/SettingsUI/components/Bet/index.jsx +1 -3
  10. package/dist/SettingsUI/components/Button/index.d.ts +2 -0
  11. package/dist/SettingsUI/components/Button/index.jsx +6 -0
  12. package/dist/SettingsUI/components/BuyFreeSpins/index.d.ts +0 -1
  13. package/dist/SettingsUI/components/BuyFreeSpins/index.jsx +6 -6
  14. package/dist/SettingsUI/components/CloseModalButton/index.d.ts +0 -1
  15. package/dist/SettingsUI/components/CloseModalButton/index.jsx +3 -3
  16. package/dist/SettingsUI/components/GameRules/index.d.ts +0 -1
  17. package/dist/SettingsUI/components/GameRules/index.jsx +11 -13
  18. package/dist/SettingsUI/components/Modal/index.d.ts +10 -0
  19. package/dist/SettingsUI/components/Modal/index.jsx +24 -0
  20. package/dist/SettingsUI/components/OptionButton/index.jsx +1 -1
  21. package/dist/SettingsUI/components/RichLimitingSlider/index.d.ts +0 -1
  22. package/dist/SettingsUI/components/RichLimitingSlider/index.jsx +8 -8
  23. package/dist/SettingsUI/components/SlidingSwitch/index.d.ts +0 -1
  24. package/dist/SettingsUI/components/SlidingSwitch/index.jsx +4 -5
  25. package/dist/SettingsUI/components/SpeedSettingsPopup/index.d.ts +0 -1
  26. package/dist/SettingsUI/components/SpeedSettingsPopup/index.jsx +6 -6
  27. package/dist/SettingsUI/components/SpeedSwitchButton/index.jsx +6 -5
  28. package/dist/SettingsUI/components/SwitchWithHeader/index.d.ts +0 -1
  29. package/dist/SettingsUI/components/SwitchWithHeader/index.jsx +5 -6
  30. package/dist/SettingsUI/components/SymbolMultiplierPopup/index.d.ts +1 -2
  31. package/dist/SettingsUI/components/SymbolMultiplierPopup/index.jsx +17 -15
  32. package/dist/SettingsUI/components/UXSettings/index.d.ts +0 -1
  33. package/dist/SettingsUI/components/UXSettings/index.jsx +8 -21
  34. package/dist/SettingsUI/components/VolumeSettings/index.d.ts +0 -1
  35. package/dist/SettingsUI/components/VolumeSettings/index.jsx +4 -5
  36. package/dist/SettingsUI/hooks/index.d.ts +1 -0
  37. package/dist/SettingsUI/hooks/index.js +1 -0
  38. package/dist/SettingsUI/hooks/useClickOutside.d.ts +6 -0
  39. package/dist/SettingsUI/hooks/useClickOutside.js +20 -0
  40. package/dist/SettingsUI/index.css +46 -26
  41. package/dist/SettingsUI/index.d.ts +1 -1
  42. package/dist/SettingsUI/index.jsx +15 -14
  43. package/dist/SettingsUI/packedStyles.css +1617 -0
  44. package/dist/SettingsUI/utils/tw.d.ts +2 -0
  45. package/dist/SettingsUI/utils/tw.js +3 -0
  46. package/dist/application/ApiConfig/ApiConfig.d.ts +1 -1
  47. package/dist/application/ApiConfig/ApiConfig.js +2 -2
  48. package/dist/application/setup.js +1 -1
  49. package/dist/components/AbstractMainContainer/AbstractMainContainer.js +3 -2
  50. package/dist/components/dictionary/locales/en.json +2 -1
  51. package/dist/components/messageBox/MessageBox.js +10 -6
  52. package/dist/components/symbols/AbstractSymbolsColumn.js +3 -5
  53. package/dist/connectivity/serverData.d.ts +20 -0
  54. package/dist/controllers/AbstractController.d.ts +1 -0
  55. package/dist/controllers/AbstractController.js +12 -0
  56. package/dist/stores/SettingsStore.d.ts +5 -0
  57. package/dist/stores/SettingsStore.js +11 -0
  58. package/dist/utils/common/screenHelpers.js +1 -1
  59. package/package.json +9 -4
  60. package/dist/SettingsUI/SystemSettings/systemSettings.css +0 -41
  61. package/dist/SettingsUI/components/AutoplaySettings/autoplaySettings.css +0 -267
  62. package/dist/SettingsUI/components/Bet/bet.css +0 -104
  63. package/dist/SettingsUI/components/BuyFreeSpins/buyFreeSpin.css +0 -46
  64. package/dist/SettingsUI/components/CloseModalButton/closeModalButton.css +0 -20
  65. package/dist/SettingsUI/components/GameRules/gameRules.css +0 -96
  66. package/dist/SettingsUI/components/RichLimitingSlider/richLimitingSlider.css +0 -39
  67. package/dist/SettingsUI/components/SlidingSwitch/slidingSwitch.css +0 -126
  68. package/dist/SettingsUI/components/SpeedSettingsPopup/speedSettingsPopup.css +0 -119
  69. package/dist/SettingsUI/components/SwitchWithHeader/headerStyle.css +0 -28
  70. package/dist/SettingsUI/components/SymbolMultiplierPopup/symbolPopup.css +0 -101
  71. package/dist/SettingsUI/components/UXSettings/UXSettings.css +0 -28
  72. package/dist/SettingsUI/components/VolumeSettings/volume.css +0 -54
@@ -1,104 +0,0 @@
1
- .bet-container {
2
- display: flex;
3
- flex-direction: column;
4
- align-items: center;
5
- justify-content: center;
6
- width: 50%;
7
- margin: 0px 30px;
8
- }
9
-
10
- .bet-container__value {
11
- display: flex;
12
- align-items: center;
13
- justify-content: center;
14
- width: 150px;
15
- height: 60px;
16
- border-radius: 60px;
17
- border: 2px white;
18
- border-style: solid;
19
- margin: 0px 10px;
20
- }
21
-
22
- .bet-container__value p {
23
- font-size: 25px;
24
- }
25
-
26
- .bet-container__button {
27
- height: 62px;
28
- width: 62px;
29
- font-size: 40px;
30
- font-weight: bold;
31
- border-radius: 50%;
32
- background-color: rgba(0, 0, 0, 0);
33
- border: 2px solid white;
34
- color: white;
35
- text-align: center;
36
- cursor: pointer;
37
- }
38
-
39
- .bet-container h2 {
40
- text-align: center;
41
- color: white;
42
- text-transform: uppercase;
43
- }
44
-
45
- .bet-container__controls {
46
- display: flex;
47
- flex-direction: row;
48
- }
49
-
50
- .bet-container__button:hover {
51
- background-color: #fdf42550;
52
- color: #fdf425;
53
- border: 2px solid #fdf425;
54
- }
55
-
56
- @media only screen and (max-width: 900px) {
57
- #bet-layer.modal {
58
- width: 90vw;
59
- height: fit-content;
60
- top: 40vh;
61
- left: 5vw;
62
- }
63
-
64
- #bet-layer.modal-style {
65
- padding-inline: 1vw;
66
- padding-block: 1vh;
67
- }
68
-
69
- .bet-container {
70
- display: flex;
71
- flex-direction: column;
72
- width: 100%;
73
- }
74
-
75
- .bet-container__value {
76
- width: 100px;
77
- height: 60px;
78
- }
79
-
80
- .bet-container h2 {
81
- color: #ec5e27;
82
- }
83
-
84
- .bet-container__value p {
85
- font-size: 24px;
86
- }
87
-
88
- .bet-container__button {
89
- height: 64px;
90
- width: 64px;
91
- font-size: 32px;
92
- padding: 0px;
93
- }
94
- }
95
-
96
- @media only screen and (orientation: landscape) {
97
- #bet-layer.modal {
98
- top: 25vh;
99
- }
100
-
101
- .bet-container {
102
- padding-block: 2vh;
103
- }
104
- }
@@ -1,46 +0,0 @@
1
- .buyFreeSpins__container {
2
- display: flex;
3
- flex-direction: column;
4
- justify-content: center;
5
- align-items: center;
6
- height: 90%;
7
- width: 90%;
8
- padding-block: 20px;
9
- gap: 16px;
10
- }
11
-
12
- .buyFreeSpins__buttons-container {
13
- display: flex;
14
- flex-direction: row;
15
- gap: 16px;
16
- justify-content: space-between;
17
- align-items: center;
18
- }
19
-
20
- .buyFreeSpins__title-container {
21
- display: flex;
22
- flex-direction: row;
23
- }
24
-
25
- .optionButton {
26
- display: flex;
27
- flex-direction: column;
28
- justify-content: center;
29
- align-items: center;
30
- width: 120px;
31
- padding: 8px;
32
- border: 2px solid white;
33
- border-radius: 8px;
34
- font-size: 20px;
35
- }
36
-
37
- .optionButton:hover {
38
- cursor: pointer;
39
- opacity: 0.7;
40
- }
41
-
42
- .buyFreeSpins__error-message {
43
- color: #fa5f5f;
44
- font-size: 24px;
45
- text-align: center;
46
- }
@@ -1,20 +0,0 @@
1
- .close-modal-button {
2
- font-size: 30px;
3
- color: white;
4
- position: absolute;
5
- right: 30px;
6
- top: 15px;
7
- background-color: #00000000;
8
- border-style: none;
9
- }
10
-
11
- .close-modal-button:hover {
12
- color: #ffffff50;
13
- }
14
-
15
- @media only screen and (max-width: 900px) {
16
- .close-modal-button {
17
- right: 20px;
18
- top: 10px;
19
- }
20
- }
@@ -1,96 +0,0 @@
1
- .game-rules {
2
- display: flex;
3
- flex-direction: column;
4
- align-items: center;
5
- height: 90%;
6
- width: 90%;
7
- }
8
-
9
- .game-rules__content {
10
- text-align: justify;
11
- width: 90%;
12
- line-height: 20px;
13
- padding: 10px 20px;
14
- height: 100%;
15
- border-bottom-left-radius: 8px;
16
- border-bottom-right-radius: 8px;
17
- max-height: 60vh;
18
- font-size: 20px;
19
- }
20
-
21
- .game-rules__container {
22
- display: inline-block;
23
- margin-top: 20px;
24
- }
25
-
26
- .game-rules__scroll {
27
- height: 70%;
28
- }
29
-
30
- .game-rules__page-control {
31
- display: flex;
32
- flex-direction: row;
33
- height: 50px;
34
- position: absolute;
35
- left: 20px;
36
- bottom: 20px;
37
- }
38
-
39
- .page-left {
40
- background-size: contain;
41
- background-repeat: no-repeat no-repeat;
42
- background-image: url("/assets/settings/gameRules/left.png");
43
- opacity: 1;
44
- width: 22px;
45
- height: 100%;
46
- }
47
-
48
- .page-middle {
49
- background-repeat: no-repeat no-repeat;
50
- background-size: contain;
51
- background-image: url("/assets/settings/gameRules/cross.png");
52
- width: 30px;
53
- height: 100%;
54
- margin: 0px 10px;
55
- }
56
-
57
- .page-right {
58
- background-repeat: no-repeat no-repeat;
59
- background-size: contain;
60
- background-image: url("/assets/settings/gameRules/right.png");
61
- width: 22px;
62
- height: 100%;
63
- }
64
-
65
- .page-left:hover {
66
- opacity: 0.5;
67
- }
68
-
69
- .page-middle:hover {
70
- opacity: 0.5;
71
- }
72
-
73
- .page-right:hover {
74
- opacity: 0.5;
75
- }
76
-
77
- .rcs-custom-scroll-handle {
78
- position: absolute;
79
- right: 10px;
80
- }
81
-
82
- .custom-scroll .rcs-inner-handle {
83
- background-color: inherit;
84
- background-repeat: no-repeat no-repeat;
85
- background-size: cover;
86
- background-image: url("/assets/settings/slider/slidersDot.png");
87
- width: 20px;
88
- height: 20px;
89
- right: 10px;
90
- }
91
-
92
- @media only screen and (max-width: 450px) {
93
- .game-rules__content {
94
- padding: 10px 20px 10px 5px;
95
- }
96
- }
@@ -1,39 +0,0 @@
1
- .rich-slider {
2
- display: flex;
3
- flex-direction: row;
4
- align-items: center;
5
- padding-inline: 16px;
6
- }
7
-
8
- .rich-slider__slider {
9
- width: 100%;
10
- display: flex;
11
- flex-direction: column;
12
- align-items: center;
13
- }
14
-
15
- .rich-slider__number {
16
- margin: 10px 0px 10px 10px;
17
- width: 100px;
18
- height: 40px;
19
- border: solid white 2px;
20
- background-color: black;
21
- border-radius: 34px;
22
- font-size: x-large;
23
- font-weight: bold;
24
- color: white;
25
- display: flex;
26
- justify-content: center;
27
- align-items: center;
28
- }
29
-
30
- .rich-slider__description {
31
- text-transform: uppercase;
32
- }
33
-
34
- @media only screen and (max-width: 650px) {
35
- .rich-slider__description {
36
- padding-top: 4px;
37
- font-size: 9px;
38
- }
39
- }
@@ -1,126 +0,0 @@
1
- .switch {
2
- position: relative;
3
- display: inline-block;
4
- width: 80px;
5
- height: 34px;
6
- cursor: pointer;
7
- }
8
-
9
- .switch input {
10
- opacity: 0;
11
- width: 0;
12
- height: 0;
13
- }
14
-
15
- /* The slider */
16
- .switch-round-box {
17
- position: absolute;
18
- cursor: pointer;
19
- top: 0;
20
- left: 0;
21
- right: 0;
22
- bottom: 0;
23
- background-color: #00000000;
24
- border: 2px solid white;
25
- -webkit-transition: 0.4s;
26
- transition: 0.4s;
27
- border-radius: 34px;
28
- }
29
-
30
- .turtle-switch-round-box {
31
- position: absolute;
32
- cursor: pointer;
33
- top: 0;
34
- left: 0;
35
- right: 0;
36
- bottom: 0;
37
- background-color: #00000000;
38
- border: 2px solid white;
39
- -webkit-transition: 0.4s;
40
- transition: 0.4s;
41
- border-radius: 34px;
42
- }
43
-
44
- .turtle-switch__icon {
45
- position: relative;
46
- left: 7px;
47
- top: 7px;
48
- width: 24px;
49
- height: 20px;
50
- }
51
-
52
- .dot-container {
53
- position: relative;
54
- display: flex;
55
- flex-direction: row;
56
- width: 36px;
57
- justify-content: space-between;
58
- bottom: 10px;
59
- left: 36px;
60
- }
61
-
62
- .white-dot {
63
- position: relative;
64
- width: 10px;
65
- height: 10px;
66
- border-radius: 50%;
67
- background-color: #ffffff50;
68
- }
69
-
70
- .white-dot--active {
71
- background-color: #fff;
72
- }
73
-
74
- .switch-round-box:before {
75
- position: absolute;
76
- content: "";
77
- height: 26px;
78
- width: 26px;
79
- left: 3px;
80
- top: 2px;
81
- bottom: 4px;
82
- right: 4px;
83
- background-color: white;
84
- -webkit-transition: 0.4s;
85
- transition: 0.4s;
86
- border-radius: 50%;
87
- }
88
-
89
- .switch__text {
90
- margin: 0;
91
- position: absolute;
92
- top: 7px;
93
- right: 9px;
94
- }
95
-
96
- .switch__text--active {
97
- left: 9px;
98
- color: #fdf425;
99
- }
100
-
101
- .switch-round-box--active {
102
- box-shadow: 0 0 1px #fdf425;
103
- background-color: #fdf42550;
104
- border: 2px solid #fdf425;
105
- }
106
-
107
- .switch-round-box--active:before {
108
- -webkit-transform: translateX(45px);
109
- -ms-transform: translateX(45px);
110
- transform: translateX(45px);
111
- background-color: #fdf425;
112
- }
113
-
114
- @media only screen and (max-width: 900px) {
115
- .header-description {
116
- max-width: 150px;
117
- }
118
-
119
- .header-description h2 {
120
- font-size: 20px;
121
- }
122
-
123
- .header-description h6 {
124
- font-size: 10px;
125
- }
126
- }
@@ -1,119 +0,0 @@
1
- .speed-settings-modal {
2
- width: 50vw;
3
- height: 30vh;
4
- top: 40vh;
5
- left: 25vw;
6
- align-items: center;
7
- justify-content: center;
8
- }
9
-
10
- .speed-settings-popup {
11
- display: flex;
12
- flex-direction: column;
13
- align-items: center;
14
- width: 90%;
15
- height: 90%;
16
- justify-content: space-between;
17
- }
18
-
19
- .speed-settings-popup__title {
20
- font-size: 25px;
21
- color: white;
22
- text-transform: uppercase;
23
- margin-top: 10px;
24
- }
25
-
26
- .speed-settings-popup__speed-options {
27
- display: flex;
28
- flex-direction: row;
29
- justify-content: space-between;
30
- width: 100%;
31
- height: 120px;
32
- }
33
-
34
- .speed-settings-popup__option {
35
- display: flex;
36
- justify-content: center;
37
- align-items: center;
38
- background-image: url("/assets/settings/speedPopup/speed-frame.png");
39
- width: 145px;
40
- height: 78px;
41
- background-repeat: no-repeat no-repeat;
42
- background-size: contain;
43
- }
44
-
45
- .speed-settings-popup_option--active {
46
- background-image: url("/assets/settings/speedPopup/speed-frame-active.png");
47
- width: 145px;
48
- height: 78px;
49
- background-repeat: no-repeat no-repeat;
50
- background-size: contain;
51
- }
52
-
53
- .speed-settings-popup__icon.slow {
54
- width: 70px;
55
- }
56
-
57
- .speed-settings-popup__icon.normal {
58
- width: 35px;
59
- }
60
-
61
- .speed-settings-popup__icon.fast {
62
- width: 90px;
63
- }
64
-
65
- @media only screen and (max-width: 450px) {
66
- .speed-settings-modal {
67
- width: 80vw;
68
- height: 50vh;
69
- left: 10vw;
70
- top: 30vh;
71
- }
72
-
73
- .speed-settings-popup__title {
74
- margin-top: 10px;
75
- font-size: 14px;
76
- }
77
-
78
- .speed-settings-popup__speed-options {
79
- display: flex;
80
- flex-direction: column;
81
- justify-content: space-between;
82
- align-items: center;
83
- height: 75%;
84
- }
85
-
86
- .speed-settings-popup__option {
87
- width: 120px;
88
- height: 66px;
89
- }
90
-
91
- .speed-settings-popup__icon.slow {
92
- width: 60px;
93
- }
94
-
95
- .speed-settings-popup__icon.normal {
96
- width: 30px;
97
- }
98
-
99
- .speed-settings-popup__icon.fast {
100
- width: 70px;
101
- }
102
- }
103
-
104
- @media only screen and (max-height: 450px) {
105
- .speed-settings-modal {
106
- width: 80vw;
107
- height: 50vh;
108
- left: 10vw;
109
- top: 30vh;
110
- }
111
-
112
- .speed-settings-popup__title {
113
- font-size: 20px;
114
- }
115
-
116
- .speed-settings-popup__speed-options {
117
- height: 60%;
118
- }
119
- }
@@ -1,28 +0,0 @@
1
- .header-description {
2
- max-width: 200px;
3
- }
4
-
5
- .header-description__title {
6
- min-width: 200px;
7
- margin: 0px;
8
- text-transform: uppercase;
9
- }
10
-
11
- .header-description__text {
12
- max-width: 170px;
13
- margin: 0px;
14
- }
15
-
16
- @media only screen and (max-width: 900px) {
17
- .header-description {
18
- max-width: 150px;
19
- }
20
-
21
- .header-description h2 {
22
- font-size: 20px;
23
- }
24
-
25
- .header-description h6 {
26
- font-size: 10px;
27
- }
28
- }
@@ -1,101 +0,0 @@
1
- .symbol-multiplier-popup-modal {
2
- align-items: center;
3
- justify-content: center;
4
- padding: 20px 25px;
5
- }
6
-
7
- .symbol-multiplier-popup-modal.arrow-on-left {
8
- transform: translate(75px, -50%);
9
- }
10
-
11
- .symbol-multiplier-popup-modal.arrow-on-right {
12
- transform: translate(calc(-100% - 75px), -50%);
13
- }
14
-
15
- .symbol-popup {
16
- display: flex;
17
- flex-direction: column;
18
- width: 100%;
19
- height: 100%;
20
- justify-content: center;
21
- align-items: center;
22
- }
23
-
24
- .symbol-popup.arrow-on-left::after {
25
- content: "";
26
- position: absolute;
27
- display: block;
28
- background: url("/assets/settings/symbol-pointer.png");
29
- top: 50%;
30
- right: 100%;
31
- height: 25px;
32
- width: 25px;
33
- transform: translateY(-50%);
34
- }
35
-
36
- .symbol-popup.arrow-on-right::after {
37
- content: "";
38
- position: absolute;
39
- display: block;
40
- background: url("/assets/settings/symbol-pointer.png");
41
- top: 50%;
42
- left: 100%;
43
- height: 25px;
44
- width: 25px;
45
- transform: translate(0, -50%) rotate(180deg);
46
- }
47
-
48
- .symbol-popup__row {
49
- display: flex;
50
- flex-direction: row;
51
- justify-content: center;
52
- align-items: center;
53
- width: 80%;
54
- }
55
-
56
- .symbol-popup__prefix {
57
- font-size: 25px;
58
- color: #ec5e27;
59
- margin: 0;
60
- font-weight: 500;
61
- }
62
-
63
- .symbol-popup__value {
64
- font-size: 25px;
65
- font-weight: 500;
66
- text-align: left;
67
- margin-left: 20px;
68
- white-space: nowrap;
69
- }
70
-
71
- .symbol-popup__value--range {
72
- display: flex;
73
- flex-direction: column;
74
- font-size: 0.8em;
75
- font-weight: 400;
76
- margin-left: 20px;
77
- margin-bottom: 10px;
78
- text-align: left;
79
- }
80
-
81
- .symbol-popup__value--range > div {
82
- white-space: nowrap;
83
- }
84
-
85
- @media only screen and (max-width: 900px) {
86
- .symbol-popup__prefix {
87
- font-size: 15px;
88
- }
89
-
90
- .symbol-popup__value {
91
- font-size: 15px;
92
- }
93
-
94
- .symbol-multiplier-popup-modal.arrow-on-left {
95
- transform: translate(50px, -50%);
96
- }
97
-
98
- .symbol-multiplier-popup-modal.arrow-on-right {
99
- transform: translate(calc(-100% - 50px), -50%);
100
- }
101
- }
@@ -1,28 +0,0 @@
1
- .ux-settings {
2
- display: flex;
3
- flex-direction: column;
4
- align-items: center;
5
- justify-content: space-evenly;
6
- width: 50%;
7
- height: 100%;
8
- margin: 0px 30px;
9
- }
10
-
11
- .ux-settings__switch {
12
- width: 500px;
13
- }
14
-
15
- .ux-settings__switch-container {
16
- display: flex;
17
- flex-direction: column;
18
- align-items: center;
19
- justify-content: space-evenly;
20
- height: 80%;
21
- width: 100%;
22
- }
23
-
24
- @media only screen and (max-width: 1125px) {
25
- .ux-settings__switch {
26
- width: 250px;
27
- }
28
- }