heroes-of-chess-components 0.6.3 → 0.6.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.
- package/dist/lib/assets/tickets/index.js +1 -0
- package/dist/lib/assets/tickets/vulgaritiesInChat.svg +50 -0
- package/dist/lib/data/AllTickets.js +8 -1
- package/dist/lib/hooks/booking/useBooking.tsx +1 -1
- package/dist/lib/hooks/notifications/types.d.ts +1 -0
- package/dist/lib/hooks/notifications/useNotifications.tsx +2 -0
- package/package.json +1 -1
|
@@ -22,6 +22,7 @@ export { default as HocIconTicketTouchPrinter } from "./touchPrinter.svg";
|
|
|
22
22
|
export { default as HocIconTicketTouchThePC } from "./touchThePC.svg";
|
|
23
23
|
export { default as HocIconTicketTrashOutside } from "./trashOutside.svg";
|
|
24
24
|
export { default as HocIconTicketVulgarities } from "./vulgarities.svg";
|
|
25
|
+
export { default as HocIconTicketVulgaritiesInChat } from "./vulgaritiesInChat.svg";
|
|
25
26
|
export { default as HocIconTicketNotRemoveMat } from "./notRemoveMat.svg";
|
|
26
27
|
export { default as HocIconTicketNotYoutube } from "./notYoutube.svg";
|
|
27
28
|
export { default as HocIconSpam } from "./spamIcon.svg";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="Capa_2" data-name="Capa 2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 44.89 44.89">
|
|
3
|
+
<defs>
|
|
4
|
+
<style>
|
|
5
|
+
.cls-1, .cls-2 {
|
|
6
|
+
fill: #7025be;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.cls-3 {
|
|
10
|
+
fill: #dcccff;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.cls-2 {
|
|
14
|
+
fill-rule: evenodd;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.cls-4 {
|
|
18
|
+
fill: url(#Degradado_sin_nombre_20);
|
|
19
|
+
}
|
|
20
|
+
</style>
|
|
21
|
+
<linearGradient id="Degradado_sin_nombre_20" data-name="Degradado sin nombre 20" x1="22.45" y1="44.89" x2="22.45" y2="0" gradientUnits="userSpaceOnUse">
|
|
22
|
+
<stop offset="0" stop-color="#b99aff"/>
|
|
23
|
+
<stop offset=".29" stop-color="#bfa3ff"/>
|
|
24
|
+
<stop offset=".79" stop-color="#d2beff"/>
|
|
25
|
+
<stop offset="1" stop-color="#dcccff"/>
|
|
26
|
+
</linearGradient>
|
|
27
|
+
</defs>
|
|
28
|
+
<g id="Capa_1-2" data-name="Capa 1">
|
|
29
|
+
<g id="vulgaridades_chat" data-name="vulgaridades chat">
|
|
30
|
+
<circle class="cls-4" cx="22.45" cy="22.45" r="22.45"/>
|
|
31
|
+
<g>
|
|
32
|
+
<circle class="cls-3" cx="22.04" cy="22.18" r="14.71"/>
|
|
33
|
+
<path class="cls-2" d="M22.45,4.62c9.85,0,17.83,7.98,17.83,17.83s-7.98,17.83-17.83,17.83S4.62,32.29,4.62,22.45,12.6,4.62,22.45,4.62ZM36.05,22.45c0-2.89-.91-5.57-2.45-7.77l-18.93,18.93c2.2,1.54,4.88,2.45,7.77,2.45,7.52,0,13.61-6.09,13.61-13.61ZM11.6,30.63L30.63,11.6c-2.28-1.72-5.11-2.76-8.19-2.76-7.51,0-13.61,6.09-13.61,13.61,0,3.08,1.03,5.91,2.76,8.19Z"/>
|
|
34
|
+
</g>
|
|
35
|
+
<g>
|
|
36
|
+
<path class="cls-3" d="M15.09,16.22h15.11l1.69,1.41.14,8.87-1.69,1.41s-8.21.12-8.25.12-1.41,3.18-4.36,3.15l-.1-3.3s-3.7.92-4.45-1.53l-.19-8.17s.56-2.17,2.09-1.98Z"/>
|
|
37
|
+
<path class="cls-1" d="M17.29,21.14h.53c.12-.4.02-1.12.63-.77.12.13,0,.6-.04.77.81-.07.66.75-.1.59l-.05.59c.26-.04.59.03.53.36-.07.36-.58.16-.66.28-.07.26,0,.96-.47.82-.35-.11-.1-.61-.15-.86h-.53c-.12.27.01.97-.46.88-.38-.07-.15-.61-.13-.88-.81.08-.65-.75.1-.59l.05-.59c-.83.06-.64-.7.1-.61.15-.26-.02-.82.37-.85.54-.04.17.78.26.87ZM17.74,21.73l-.54.02-.1.57h.59s.05-.59.05-.59Z"/>
|
|
38
|
+
<path class="cls-1" d="M25.14,23.73c-.29.23-.63-.14-.42-.44l2.13-2.83c.2-.3.68-.12.54.24l-2.25,3.03Z"/>
|
|
39
|
+
<path class="cls-1" d="M26.96,22.04c1.07-.17,1.45,1.3.5,1.68-1.19.48-1.73-1.48-.5-1.68ZM27.06,22.63c-.27.06-.31.39-.06.53.45.26.62-.65.06-.53Z"/>
|
|
40
|
+
<path class="cls-1" d="M24.85,20.27c1.11-.11,1.3,1.59.23,1.75-1.16.18-1.41-1.64-.23-1.75ZM24.72,21.38c.28.28.77-.3.33-.5-.37-.17-.51.33-.33.5Z"/>
|
|
41
|
+
<path class="cls-1" d="M19.79,20.27c.24-.04.34.21.36.41.04.43.05,1.5,0,1.91-.06.44-.54.42-.59.06-.08-.65.07-1.49,0-2.16,0-.1.14-.2.23-.21Z"/>
|
|
42
|
+
<path class="cls-1" d="M28.87,20.27c.15,0,.29.16.31.3.05.36.05,1.71,0,2.06s-.54.36-.59,0-.05-1.76,0-2.11c.02-.15.12-.25.28-.26Z"/>
|
|
43
|
+
<path class="cls-1" d="M20.03,23.27c.22.21.01.65-.33.5-.39-.17.01-.81.33-.5Z"/>
|
|
44
|
+
<path class="cls-1" d="M29.07,23.73c-.26.22-.62-.15-.43-.41.25-.35.78.12.43.41Z"/>
|
|
45
|
+
<path class="cls-1" d="M23.48,22.26c-.13-.44-.66-.01-.8.21l-.27-.37c.62-.29.88-1.02.37-1.55-.59-.61-1.67-.14-1.6.71.01.13.12.29.09.38-.02.09-.28.27-.36.38-.69,1.01.55,2.3,1.56,1.56l.19-.17.11.11h0l.09.09.16.16c.71-.03.32-.52.06-.85,0-.16.48-.34.39-.68ZM21.35,22.91c-.1-.24-.03-.69.26-.73.07,0,.09,0,.14.04.03.02.48.6.49.64.09.34-.67.54-.89.05ZM22.18,21.54c-.51.1-.55-.6-.13-.68.44-.08.54.6.13.68Z"/>
|
|
46
|
+
<path class="cls-1" d="M32.43,18.81c-.08-1.44-.71-2.35-1.81-2.81-.45-.19-.94-.26-1.42-.26h-4.94s-3,0-3,0h0s-6,0-6,0c-1.44,0-2.55,1.53-2.63,2.87-.13,2.18.03,4.53.06,6.75.02,1.45,1.06,2.74,2.5,2.93.07,0,.14.02.22.02.53.04,1.16-.06,1.67,0,.11.01.19.04.27.12v3.07c1.72.11,3.43-.69,4.36-2.15.16-.25.41-.95.64-1.03,2.45-.09,4.91.06,7.35-.06.43-.02.85-.12,1.23-.32.95-.5,1.43-1.42,1.5-2.61.11-1.96.1-4.57,0-6.54ZM30.93,27.04c-.26.22-.57.35-.91.42-.27.06-.54.08-.82.07l-4.48-.07c-.82,0-1.75.02-2.25.06-1.06.09-1.03.85-1.53,1.56-.67.94-1.67,1.48-2.81,1.63v-2.38c-.08-.46-.57-.77-1.01-.81-1.15-.1-2.39.32-3.24-.73-.45-.56-.48-1.06-.46-1.6v-6.77c.1-1,.93-1.8,1.93-1.9h14.4c1.09.14,1.81.99,1.89,2.09.11,1.65.01,3.64,0,5.31,0,1.1.22,2.33-.71,3.12Z"/>
|
|
47
|
+
</g>
|
|
48
|
+
</g>
|
|
49
|
+
</g>
|
|
50
|
+
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HocIconTicketFights, HocIconTicketScatteredToys, HocIconTicketVulgarities, HocIconTicketLaziness, HocIconTicketToBotherOthers, HocIconTicketSurrender, HocIconTicketToSpillThePaint, HocIconTicketTakeThings, HocIconTicketMistreatThings, HocIconTicketMisuseTablet, HocIconTicketDownloadApps, HocIconTicketPassword, HocIconTicketMoveChair, HocIconTicketStorageRoom, HocIconTicketTouchThePC, HocIconTicketInterrupt, HocIconTicketCheatGames, HocIconTicketTrashOutside, HocIconTicketTakeOutTrash, HocIconTicketScatteredShoes, HocIconTicketTouchPrinter, HocIconTicketNotRun, HocIconTicketNotJump, HocIconTicketNotRemoveMat, HocIconTicketNotYoutube, HocIconSpam, HocIconNotObjectInMouth, HocIconDoNotBurp, HocIconDoNotFart, HocIconDoNotReportBugs, HocIconDoNotUsePhone } from "../assets/tickets";
|
|
1
|
+
import { HocIconTicketFights, HocIconTicketScatteredToys, HocIconTicketVulgarities, HocIconTicketLaziness, HocIconTicketToBotherOthers, HocIconTicketSurrender, HocIconTicketToSpillThePaint, HocIconTicketTakeThings, HocIconTicketMistreatThings, HocIconTicketMisuseTablet, HocIconTicketDownloadApps, HocIconTicketPassword, HocIconTicketMoveChair, HocIconTicketStorageRoom, HocIconTicketTouchThePC, HocIconTicketInterrupt, HocIconTicketCheatGames, HocIconTicketTrashOutside, HocIconTicketTakeOutTrash, HocIconTicketScatteredShoes, HocIconTicketTouchPrinter, HocIconTicketNotRun, HocIconTicketNotJump, HocIconTicketNotRemoveMat, HocIconTicketNotYoutube, HocIconSpam, HocIconNotObjectInMouth, HocIconDoNotBurp, HocIconDoNotFart, HocIconDoNotReportBugs, HocIconDoNotUsePhone, HocIconTicketVulgaritiesInChat } from "../assets/tickets";
|
|
2
2
|
export var allTickets = [{
|
|
3
3
|
title: "Fights",
|
|
4
4
|
titleIt: "Litigi",
|
|
@@ -20,6 +20,13 @@ export var allTickets = [{
|
|
|
20
20
|
level: 4,
|
|
21
21
|
type: "ticket-penalty-vulgarities",
|
|
22
22
|
description: "È vietato usare volgarità o espressioni violente davanti ai compagni durante la lezione."
|
|
23
|
+
}, {
|
|
24
|
+
title: "Vulgarities in chat",
|
|
25
|
+
titleIt: "Volgarità in chat",
|
|
26
|
+
icon: HocIconTicketVulgaritiesInChat,
|
|
27
|
+
level: 4,
|
|
28
|
+
type: "ticket-penalty-vulgarities",
|
|
29
|
+
description: "È vietato usare volgarità o espressioni violente in chat."
|
|
23
30
|
}, {
|
|
24
31
|
title: "Laziness",
|
|
25
32
|
titleIt: "Pigrizia",
|
|
@@ -157,7 +157,7 @@ const useBooking = (): UseBookingReturn => {
|
|
|
157
157
|
mixt: true,
|
|
158
158
|
alertMessage: client ? false : true,
|
|
159
159
|
};
|
|
160
|
-
} else if (hourData === "09:00 - 12:00") {
|
|
160
|
+
} else if (hourData === "09:00 - 12:00" || hourData === "14:00 - 17:00") {
|
|
161
161
|
if (!client)
|
|
162
162
|
return {
|
|
163
163
|
allowed: false,
|
|
@@ -12,6 +12,7 @@ export type NotificationType =
|
|
|
12
12
|
| "ticket-penalty-fight"
|
|
13
13
|
| "ticket-penalty-scattered-toys"
|
|
14
14
|
| "ticket-penalty-vulgarities"
|
|
15
|
+
| "ticket-penalty-vulgarities-in-chat"
|
|
15
16
|
| "ticket-penalty-laziness"
|
|
16
17
|
| "ticket-penalty-bother-others"
|
|
17
18
|
| "ticket-penalty-surrender"
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
HocIconTicketFights,
|
|
29
29
|
HocIconTicketScatteredToys,
|
|
30
30
|
HocIconTicketVulgarities,
|
|
31
|
+
HocIconTicketVulgaritiesInChat,
|
|
31
32
|
HocIconTicketLaziness,
|
|
32
33
|
HocIconTicketToBotherOthers,
|
|
33
34
|
HocIconTicketSurrender,
|
|
@@ -94,6 +95,7 @@ export default function useNotifications(): UseNotificationsReturn {
|
|
|
94
95
|
"ticket-penalty-fight": HocIconTicketFights,
|
|
95
96
|
"ticket-penalty-scattered-toys": HocIconTicketScatteredToys,
|
|
96
97
|
"ticket-penalty-vulgarities": HocIconTicketVulgarities,
|
|
98
|
+
"ticket-penalty-vulgarities-in-chat": HocIconTicketVulgaritiesInChat,
|
|
97
99
|
"ticket-penalty-laziness": HocIconTicketLaziness,
|
|
98
100
|
"ticket-penalty-bother-others": HocIconTicketToBotherOthers,
|
|
99
101
|
"ticket-penalty-surrender": HocIconTicketSurrender,
|