@gamepark/react-game 6.38.4 → 7.0.0-beta.0
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/components/Avatar/Avatar.d.ts +6 -6
- package/dist/components/Avatar/Avatar.js +63 -63
- package/dist/components/Avatar/ChatSpeechBubble.d.ts +8 -8
- package/dist/components/Avatar/ChatSpeechBubble.js +80 -77
- package/dist/components/Avatar/ChatSpeechBubble.js.map +1 -1
- package/dist/components/Avatar/SpeechBubble.d.ts +15 -15
- package/dist/components/Avatar/SpeechBubble.js +72 -72
- package/dist/components/Avatar/SpeechBubble.js.map +1 -1
- package/dist/components/Avatar/index.d.ts +3 -3
- package/dist/components/Avatar/index.js +19 -19
- package/dist/components/GamePoints/GamePointIcon.d.ts +2 -2
- package/dist/components/GamePoints/GamePointIcon.js +25 -25
- package/dist/components/GamePoints/GamePoints.d.ts +8 -8
- package/dist/components/GamePoints/GamePoints.js +73 -73
- package/dist/components/GamePoints/GamePoints.js.map +1 -1
- package/dist/components/GamePoints/index.d.ts +2 -2
- package/dist/components/GamePoints/index.js +18 -18
- package/dist/components/GameProvider/GameContext.d.ts +28 -28
- package/dist/components/GameProvider/GameContext.js +19 -19
- package/dist/components/GameProvider/GameContext.js.map +1 -1
- package/dist/components/GameProvider/GameProvider.d.ts +9 -9
- package/dist/components/GameProvider/GameProvider.js +151 -151
- package/dist/components/GameProvider/GameProvider.js.map +1 -1
- package/dist/components/GameProvider/index.d.ts +2 -2
- package/dist/components/GameProvider/index.js +18 -18
- package/dist/components/Header/Header.d.ts +7 -7
- package/dist/components/Header/Header.js +44 -44
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/HeaderText.d.ts +11 -11
- package/dist/components/Header/HeaderText.js +39 -39
- package/dist/components/Header/HeaderText.js.map +1 -1
- package/dist/components/Header/MaterialHeader.d.ts +11 -11
- package/dist/components/Header/MaterialHeader.js +112 -112
- package/dist/components/Header/MaterialHeader.js.map +1 -1
- package/dist/components/Header/index.d.ts +3 -3
- package/dist/components/Header/index.js +19 -19
- package/dist/components/ImagesLoader/ImagesLoader.d.ts +5 -5
- package/dist/components/ImagesLoader/ImagesLoader.js +26 -26
- package/dist/components/ImagesLoader/ImagesLoader.js.map +1 -1
- package/dist/components/ImagesLoader/index.d.ts +1 -1
- package/dist/components/ImagesLoader/index.js +17 -17
- package/dist/components/JournalTabs/Chat/Chat.d.ts +8 -8
- package/dist/components/JournalTabs/Chat/Chat.js +36 -36
- package/dist/components/JournalTabs/Chat/Chat.js.map +1 -1
- package/dist/components/JournalTabs/Chat/ChatMessage.d.ts +7 -7
- package/dist/components/JournalTabs/Chat/ChatMessage.js +18 -29
- package/dist/components/JournalTabs/Chat/ChatMessage.js.map +1 -1
- package/dist/components/JournalTabs/Chat/ChatMessageAuthor.d.ts +3 -3
- package/dist/components/JournalTabs/Chat/ChatMessageAuthor.js +37 -37
- package/dist/components/JournalTabs/Chat/ChatMessageAuthor.js.map +1 -1
- package/dist/components/JournalTabs/Chat/ChatTextInput.d.ts +19 -19
- package/dist/components/JournalTabs/Chat/ChatTextInput.js +76 -87
- package/dist/components/JournalTabs/Chat/ChatTextInput.js.map +1 -1
- package/dist/components/JournalTabs/Chat/CommonChat.d.ts +13 -12
- package/dist/components/JournalTabs/Chat/CommonChat.js +57 -58
- package/dist/components/JournalTabs/Chat/CommonChat.js.map +1 -1
- package/dist/components/JournalTabs/Chat/LocalChat.d.ts +6 -6
- package/dist/components/JournalTabs/Chat/LocalChat.js +64 -64
- package/dist/components/JournalTabs/Chat/RemoteChat.d.ts +7 -7
- package/dist/components/JournalTabs/Chat/RemoteChat.js +45 -45
- package/dist/components/JournalTabs/Chat/SignInToChat.d.ts +1 -1
- package/dist/components/JournalTabs/Chat/SignInToChat.js +24 -35
- package/dist/components/JournalTabs/Chat/SignInToChat.js.map +1 -1
- package/dist/components/JournalTabs/Chat/index.d.ts +5 -5
- package/dist/components/JournalTabs/Chat/index.js +21 -21
- package/dist/components/JournalTabs/History/GameOverHistory.d.ts +1 -1
- package/dist/components/JournalTabs/History/GameOverHistory.js +24 -35
- package/dist/components/JournalTabs/History/GameOverHistory.js.map +1 -1
- package/dist/components/JournalTabs/History/History.d.ts +7 -7
- package/dist/components/JournalTabs/History/History.js +62 -62
- package/dist/components/JournalTabs/History/History.js.map +1 -1
- package/dist/components/JournalTabs/History/HistoryEntry.d.ts +9 -9
- package/dist/components/JournalTabs/History/HistoryEntry.js +45 -45
- package/dist/components/JournalTabs/History/HistoryEntry.js.map +1 -1
- package/dist/components/JournalTabs/History/StartGameHistory.d.ts +2 -2
- package/dist/components/JournalTabs/History/StartGameHistory.js +19 -30
- package/dist/components/JournalTabs/History/StartGameHistory.js.map +1 -1
- package/dist/components/JournalTabs/History/index.d.ts +2 -2
- package/dist/components/JournalTabs/History/index.js +18 -18
- package/dist/components/JournalTabs/JournalTabs.d.ts +6 -6
- package/dist/components/JournalTabs/JournalTabs.js +82 -93
- package/dist/components/JournalTabs/JournalTabs.js.map +1 -1
- package/dist/components/JournalTabs/index.d.ts +1 -1
- package/dist/components/JournalTabs/index.js +17 -17
- package/dist/components/Letterbox/Letterbox.d.ts +8 -8
- package/dist/components/Letterbox/Letterbox.js +42 -42
- package/dist/components/Letterbox/Letterbox.js.map +1 -1
- package/dist/components/Letterbox/index.d.ts +1 -1
- package/dist/components/Letterbox/index.js +17 -17
- package/dist/components/LoadingScreen/LoadingScreen.d.ts +12 -12
- package/dist/components/LoadingScreen/LoadingScreen.js +102 -102
- package/dist/components/LoadingScreen/LoadingScreen.js.map +1 -1
- package/dist/components/LoadingScreen/index.d.ts +1 -1
- package/dist/components/LoadingScreen/index.js +17 -17
- package/dist/components/Log/InternalLiveLogContainer.d.ts +6 -6
- package/dist/components/Log/InternalLiveLogContainer.js +117 -117
- package/dist/components/Log/InternalLiveLogContainer.js.map +1 -1
- package/dist/components/Log/LiveLogButton.d.ts +1 -1
- package/dist/components/Log/LiveLogButton.js +23 -34
- package/dist/components/Log/LiveLogButton.js.map +1 -1
- package/dist/components/Log/LiveLogContainer.d.ts +3 -3
- package/dist/components/Log/LiveLogContainer.js +25 -25
- package/dist/components/Log/LogDescription.d.ts +24 -24
- package/dist/components/Log/LogDescription.js +2 -2
- package/dist/components/Log/LogItem.d.ts +11 -11
- package/dist/components/Log/LogItem.js +44 -44
- package/dist/components/Log/LogItem.js.map +1 -1
- package/dist/components/Log/index.d.ts +3 -3
- package/dist/components/Log/index.js +19 -19
- package/dist/components/Picture/Picture.d.ts +8 -8
- package/dist/components/Picture/Picture.js +34 -34
- package/dist/components/Picture/index.d.ts +1 -1
- package/dist/components/Picture/index.js +17 -17
- package/dist/components/PlayerPanel/Counters.d.ts +14 -14
- package/dist/components/PlayerPanel/Counters.js +50 -44
- package/dist/components/PlayerPanel/Counters.js.map +1 -1
- package/dist/components/PlayerPanel/PlayerPanel.d.ts +8 -8
- package/dist/components/PlayerPanel/PlayerPanel.js +55 -55
- package/dist/components/PlayerPanel/PlayerPanel.js.map +1 -1
- package/dist/components/PlayerPanel/StyledPlayerPanel.d.ts +24 -24
- package/dist/components/PlayerPanel/StyledPlayerPanel.js +93 -117
- package/dist/components/PlayerPanel/StyledPlayerPanel.js.map +1 -1
- package/dist/components/PlayerPanel/index.d.ts +3 -3
- package/dist/components/PlayerPanel/index.js +19 -19
- package/dist/components/PlayerTimer/PlayerTimer.d.ts +13 -13
- package/dist/components/PlayerTimer/PlayerTimer.js +73 -73
- package/dist/components/PlayerTimer/PlayerTimer.js.map +1 -1
- package/dist/components/PlayerTimer/index.d.ts +1 -1
- package/dist/components/PlayerTimer/index.js +17 -17
- package/dist/components/Scoring/ScoringDescription.d.ts +8 -8
- package/dist/components/Scoring/ScoringDescription.js +2 -2
- package/dist/components/Scoring/index.d.ts +1 -1
- package/dist/components/Scoring/index.js +17 -17
- package/dist/components/buttons/PlayMoveButton/PlayMoveButton.d.ts +14 -14
- package/dist/components/buttons/PlayMoveButton/PlayMoveButton.js +137 -137
- package/dist/components/buttons/PlayMoveButton/PlayMoveButton.js.map +1 -1
- package/dist/components/buttons/PlayMoveButton/index.d.ts +1 -1
- package/dist/components/buttons/PlayMoveButton/index.js +17 -17
- package/dist/components/buttons/ThemeButton/ThemeButton.d.ts +3 -3
- package/dist/components/buttons/ThemeButton/ThemeButton.js +21 -21
- package/dist/components/buttons/ThemeButton/index.d.ts +1 -1
- package/dist/components/buttons/ThemeButton/index.js +17 -17
- package/dist/components/buttons/UndoMovesButton/UndoMovesButton.d.ts +7 -7
- package/dist/components/buttons/UndoMovesButton/UndoMovesButton.js +72 -72
- package/dist/components/buttons/UndoMovesButton/UndoMovesButton.js.map +1 -1
- package/dist/components/buttons/UndoMovesButton/index.d.ts +1 -1
- package/dist/components/buttons/UndoMovesButton/index.js +17 -17
- package/dist/components/buttons/index.d.ts +3 -3
- package/dist/components/buttons/index.js +19 -19
- package/dist/components/dialogs/Dialog.d.ts +11 -11
- package/dist/components/dialogs/Dialog.js +84 -84
- package/dist/components/dialogs/Dialog.js.map +1 -1
- package/dist/components/dialogs/FailuresDialog.d.ts +2 -2
- package/dist/components/dialogs/FailuresDialog.js +84 -84
- package/dist/components/dialogs/FailuresDialog.js.map +1 -1
- package/dist/components/dialogs/ResultDialog/RematchDisplay.d.ts +6 -6
- package/dist/components/dialogs/ResultDialog/RematchDisplay.js +65 -73
- package/dist/components/dialogs/ResultDialog/RematchDisplay.js.map +1 -1
- package/dist/components/dialogs/ResultDialog/RematchSection.d.ts +5 -5
- package/dist/components/dialogs/ResultDialog/RematchSection.js +30 -41
- package/dist/components/dialogs/ResultDialog/RematchSection.js.map +1 -1
- package/dist/components/dialogs/ResultDialog/ResultDialog.d.ts +7 -7
- package/dist/components/dialogs/ResultDialog/ResultDialog.js +103 -103
- package/dist/components/dialogs/ResultDialog/ResultDialog.js.map +1 -1
- package/dist/components/dialogs/ResultDialog/index.d.ts +2 -2
- package/dist/components/dialogs/ResultDialog/index.js +18 -18
- package/dist/components/dialogs/ResultDialog/useScoringTable.d.ts +2 -2
- package/dist/components/dialogs/ResultDialog/useScoringTable.js +42 -42
- package/dist/components/dialogs/RulesDialog/LocationRulesDialogContent.d.ts +5 -5
- package/dist/components/dialogs/RulesDialog/LocationRulesDialogContent.js +35 -44
- package/dist/components/dialogs/RulesDialog/LocationRulesDialogContent.js.map +1 -1
- package/dist/components/dialogs/RulesDialog/MaterialRulesDialog.d.ts +3 -3
- package/dist/components/dialogs/RulesDialog/MaterialRulesDialog.js +39 -39
- package/dist/components/dialogs/RulesDialog/MaterialRulesDialog.js.map +1 -1
- package/dist/components/dialogs/RulesDialog/MaterialRulesDialogContent.d.ts +5 -5
- package/dist/components/dialogs/RulesDialog/MaterialRulesDialogContent.js +139 -139
- package/dist/components/dialogs/RulesDialog/MaterialRulesDialogContent.js.map +1 -1
- package/dist/components/dialogs/RulesDialog/RulesDialog.d.ts +6 -6
- package/dist/components/dialogs/RulesDialog/RulesDialog.js +44 -44
- package/dist/components/dialogs/RulesDialog/RulesDialog.js.map +1 -1
- package/dist/components/dialogs/RulesDialog/RulesHelpDialogContent.d.ts +6 -6
- package/dist/components/dialogs/RulesDialog/RulesHelpDialogContent.js +29 -40
- package/dist/components/dialogs/RulesDialog/RulesHelpDialogContent.js.map +1 -1
- package/dist/components/dialogs/RulesDialog/index.d.ts +2 -2
- package/dist/components/dialogs/RulesDialog/index.js +18 -18
- package/dist/components/dialogs/index.d.ts +4 -4
- package/dist/components/dialogs/index.js +20 -20
- package/dist/components/index.d.ts +17 -17
- package/dist/components/index.js +33 -33
- package/dist/components/material/ComponentDescription.d.ts +52 -52
- package/dist/components/material/ComponentDescription.js +40 -40
- package/dist/components/material/Dices/CubicDiceDescription.d.ts +21 -21
- package/dist/components/material/Dices/CubicDiceDescription.js +129 -132
- package/dist/components/material/Dices/CubicDiceDescription.js.map +1 -1
- package/dist/components/material/Dices/index.d.ts +1 -1
- package/dist/components/material/Dices/index.js +17 -17
- package/dist/components/material/DraggableMaterial.d.ts +9 -9
- package/dist/components/material/DraggableMaterial.js +256 -259
- package/dist/components/material/DraggableMaterial.js.map +1 -1
- package/dist/components/material/FlatMaterial/BoardDescription.d.ts +3 -3
- package/dist/components/material/FlatMaterial/BoardDescription.js +27 -27
- package/dist/components/material/FlatMaterial/CardDescription.d.ts +6 -6
- package/dist/components/material/FlatMaterial/CardDescription.js +56 -31
- package/dist/components/material/FlatMaterial/CardDescription.js.map +1 -1
- package/dist/components/material/FlatMaterial/FlatMaterial.d.ts +31 -38
- package/dist/components/material/FlatMaterial/FlatMaterial.js +159 -170
- package/dist/components/material/FlatMaterial/FlatMaterial.js.map +1 -1
- package/dist/components/material/FlatMaterial/MoneyDescription.d.ts +7 -7
- package/dist/components/material/FlatMaterial/MoneyDescription.js +35 -38
- package/dist/components/material/FlatMaterial/MoneyDescription.js.map +1 -1
- package/dist/components/material/FlatMaterial/PolyhexDescription.d.ts +20 -20
- package/dist/components/material/FlatMaterial/PolyhexDescription.js +73 -48
- package/dist/components/material/FlatMaterial/PolyhexDescription.js.map +1 -1
- package/dist/components/material/FlatMaterial/TokenDescription.d.ts +10 -10
- package/dist/components/material/FlatMaterial/TokenDescription.js +68 -43
- package/dist/components/material/FlatMaterial/TokenDescription.js.map +1 -1
- package/dist/components/material/FlatMaterial/index.d.ts +6 -6
- package/dist/components/material/FlatMaterial/index.js +22 -22
- package/dist/components/material/GameTable/DropPreview.d.ts +2 -2
- package/dist/components/material/GameTable/DropPreview.js +75 -75
- package/dist/components/material/GameTable/DropPreview.js.map +1 -1
- package/dist/components/material/GameTable/DynamicItemsDisplay.d.ts +4 -4
- package/dist/components/material/GameTable/DynamicItemsDisplay.js +88 -88
- package/dist/components/material/GameTable/GameMaterialDisplay.d.ts +7 -7
- package/dist/components/material/GameTable/GameMaterialDisplay.js +33 -33
- package/dist/components/material/GameTable/GameTable.d.ts +20 -20
- package/dist/components/material/GameTable/GameTable.js +143 -143
- package/dist/components/material/GameTable/GameTable.js.map +1 -1
- package/dist/components/material/GameTable/GameTableNavigation.d.ts +6 -6
- package/dist/components/material/GameTable/GameTableNavigation.js +72 -72
- package/dist/components/material/GameTable/GameTableNavigation.js.map +1 -1
- package/dist/components/material/GameTable/ItemDisplay.d.ts +20 -21
- package/dist/components/material/GameTable/ItemDisplay.js +180 -183
- package/dist/components/material/GameTable/ItemDisplay.js.map +1 -1
- package/dist/components/material/GameTable/StaticItemsDisplay.d.ts +5 -5
- package/dist/components/material/GameTable/StaticItemsDisplay.js +93 -96
- package/dist/components/material/GameTable/StaticItemsDisplay.js.map +1 -1
- package/dist/components/material/GameTable/StaticLocationsDisplay.d.ts +5 -5
- package/dist/components/material/GameTable/StaticLocationsDisplay.js +32 -32
- package/dist/components/material/GameTable/focus/FocusProvider.d.ts +12 -10
- package/dist/components/material/GameTable/focus/FocusProvider.js +84 -99
- package/dist/components/material/GameTable/focus/FocusProvider.js.map +1 -1
- package/dist/components/material/GameTable/focus/MaterialFocus.d.ts +20 -20
- package/dist/components/material/GameTable/focus/MaterialFocus.js +2 -2
- package/dist/components/material/GameTable/focus/index.d.ts +2 -2
- package/dist/components/material/GameTable/focus/index.js +18 -18
- package/dist/components/material/GameTable/index.d.ts +3 -3
- package/dist/components/material/GameTable/index.js +19 -19
- package/dist/components/material/ImageLoader/MaterialImageLoader.d.ts +5 -5
- package/dist/components/material/ImageLoader/MaterialImageLoader.js +93 -93
- package/dist/components/material/ImageLoader/MaterialImageLoader.js.map +1 -1
- package/dist/components/material/ImageLoader/index.d.ts +1 -1
- package/dist/components/material/ImageLoader/index.js +17 -17
- package/dist/components/material/ItemMenuButton.d.ts +14 -14
- package/dist/components/material/ItemMenuButton.js +74 -74
- package/dist/components/material/ItemMenuButton.js.map +1 -1
- package/dist/components/material/ItemMenuWrapper.d.ts +11 -11
- package/dist/components/material/ItemMenuWrapper.js +68 -68
- package/dist/components/material/MaterialComponent.d.ts +17 -17
- package/dist/components/material/MaterialComponent.js +48 -48
- package/dist/components/material/MaterialComponent.js.map +1 -1
- package/dist/components/material/MaterialComponentType.d.ts +7 -7
- package/dist/components/material/MaterialComponentType.js +11 -11
- package/dist/components/material/MaterialComponentType.js.map +1 -1
- package/dist/components/material/MaterialDescription.d.ts +176 -176
- package/dist/components/material/MaterialDescription.js +292 -295
- package/dist/components/material/MaterialDescription.js.map +1 -1
- package/dist/components/material/MobileMaterialDescription.d.ts +10 -10
- package/dist/components/material/MobileMaterialDescription.js +92 -70
- package/dist/components/material/MobileMaterialDescription.js.map +1 -1
- package/dist/components/material/Wheel/WheelContent.d.ts +14 -14
- package/dist/components/material/Wheel/WheelContent.js +40 -51
- package/dist/components/material/Wheel/WheelContent.js.map +1 -1
- package/dist/components/material/Wheel/WheelDescription.d.ts +20 -20
- package/dist/components/material/Wheel/WheelDescription.js +125 -125
- package/dist/components/material/Wheel/WheelDescription.js.map +1 -1
- package/dist/components/material/Wheel/WheelItem.d.ts +15 -15
- package/dist/components/material/Wheel/WheelItem.js +53 -53
- package/dist/components/material/Wheel/WheelItem.js.map +1 -1
- package/dist/components/material/Wheel/index.d.ts +1 -1
- package/dist/components/material/Wheel/index.js +17 -17
- package/dist/components/material/Writing/WritingDescription.d.ts +12 -12
- package/dist/components/material/Writing/WritingDescription.js +106 -117
- package/dist/components/material/Writing/WritingDescription.js.map +1 -1
- package/dist/components/material/Writing/index.d.ts +1 -1
- package/dist/components/material/Writing/index.js +17 -17
- package/dist/components/material/animations/CreateItemAnimations.d.ts +15 -15
- package/dist/components/material/animations/CreateItemAnimations.js +80 -80
- package/dist/components/material/animations/CreateItemAnimations.js.map +1 -1
- package/dist/components/material/animations/DeleteItemAnimations.d.ts +14 -14
- package/dist/components/material/animations/DeleteItemAnimations.js +72 -72
- package/dist/components/material/animations/DeleteItemAnimations.js.map +1 -1
- package/dist/components/material/animations/DeleteItemAtOnceAnimations.d.ts +12 -12
- package/dist/components/material/animations/DeleteItemAtOnceAnimations.js +62 -62
- package/dist/components/material/animations/DeleteItemAtOnceAnimations.js.map +1 -1
- package/dist/components/material/animations/ItemAnimations.d.ts +11 -11
- package/dist/components/material/animations/ItemAnimations.js +57 -57
- package/dist/components/material/animations/MaterialAnimations.d.ts +19 -19
- package/dist/components/material/animations/MaterialAnimations.js +58 -58
- package/dist/components/material/animations/MaterialAnimations.js.map +1 -1
- package/dist/components/material/animations/MaterialGameAnimations.d.ts +33 -33
- package/dist/components/material/animations/MaterialGameAnimations.js +152 -130
- package/dist/components/material/animations/MaterialGameAnimations.js.map +1 -1
- package/dist/components/material/animations/MoveItemAnimations.d.ts +16 -16
- package/dist/components/material/animations/MoveItemAnimations.js +121 -124
- package/dist/components/material/animations/MoveItemAnimations.js.map +1 -1
- package/dist/components/material/animations/MoveItemAtOnceAnimations.d.ts +14 -14
- package/dist/components/material/animations/MoveItemAtOnceAnimations.js +75 -75
- package/dist/components/material/animations/MoveItemAtOnceAnimations.js.map +1 -1
- package/dist/components/material/animations/RollItemAnimations.d.ts +13 -13
- package/dist/components/material/animations/RollItemAnimations.js +121 -121
- package/dist/components/material/animations/RollItemAnimations.js.map +1 -1
- package/dist/components/material/animations/ShuffleAnimations.d.ts +8 -8
- package/dist/components/material/animations/ShuffleAnimations.js +33 -33
- package/dist/components/material/animations/ShuffleAnimations.js.map +1 -1
- package/dist/components/material/animations/getFirstStockItemTransforms.util.d.ts +2 -2
- package/dist/components/material/animations/getFirstStockItemTransforms.util.js +27 -30
- package/dist/components/material/animations/getFirstStockItemTransforms.util.js.map +1 -1
- package/dist/components/material/animations/index.d.ts +8 -8
- package/dist/components/material/animations/index.js +26 -26
- package/dist/components/material/animations/rotations.utils.d.ts +3 -3
- package/dist/components/material/animations/rotations.utils.js +126 -126
- package/dist/components/material/animations/rotations.utils.js.map +1 -1
- package/dist/components/material/animations/transformItem.util.d.ts +2 -2
- package/dist/components/material/animations/transformItem.util.js +36 -37
- package/dist/components/material/animations/transformItem.util.js.map +1 -1
- package/dist/components/material/index.d.ts +15 -15
- package/dist/components/material/index.js +31 -31
- package/dist/components/material/locations/DropAreaDescription.d.ts +12 -12
- package/dist/components/material/locations/DropAreaDescription.js +83 -61
- package/dist/components/material/locations/DropAreaDescription.js.map +1 -1
- package/dist/components/material/locations/HexGridDropAreaDescription.d.ts +13 -13
- package/dist/components/material/locations/HexGridDropAreaDescription.js +119 -97
- package/dist/components/material/locations/HexGridDropAreaDescription.js.map +1 -1
- package/dist/components/material/locations/LocationComponent.d.ts +15 -16
- package/dist/components/material/locations/LocationComponent.js +105 -105
- package/dist/components/material/locations/LocationComponent.js.map +1 -1
- package/dist/components/material/locations/LocationDescription.d.ts +45 -45
- package/dist/components/material/locations/LocationDescription.js +138 -141
- package/dist/components/material/locations/LocationDescription.js.map +1 -1
- package/dist/components/material/locations/LocationDisplay.d.ts +13 -13
- package/dist/components/material/locations/LocationDisplay.js +84 -84
- package/dist/components/material/locations/LocationsMask.d.ts +6 -6
- package/dist/components/material/locations/LocationsMask.js +25 -39
- package/dist/components/material/locations/LocationsMask.js.map +1 -1
- package/dist/components/material/locations/SimpleDropArea.d.ts +11 -11
- package/dist/components/material/locations/SimpleDropArea.js +106 -106
- package/dist/components/material/locations/SimpleDropArea.js.map +1 -1
- package/dist/components/material/locations/index.d.ts +5 -5
- package/dist/components/material/locations/index.js +21 -21
- package/dist/components/material/sound/AudioLoader.d.ts +20 -20
- package/dist/components/material/sound/AudioLoader.js +119 -119
- package/dist/components/material/sound/AudioLoader.js.map +1 -1
- package/dist/components/material/sound/MaterialGameSounds.d.ts +8 -8
- package/dist/components/material/sound/MaterialGameSounds.js +122 -122
- package/dist/components/material/sound/MaterialGameSounds.js.map +1 -1
- package/dist/components/material/sound/MaterialSoundConfig.d.ts +11 -11
- package/dist/components/material/sound/MaterialSoundConfig.js +10 -10
- package/dist/components/material/sound/MaterialSoundLoader.d.ts +8 -8
- package/dist/components/material/sound/MaterialSoundLoader.js +76 -79
- package/dist/components/material/sound/MaterialSoundLoader.js.map +1 -1
- package/dist/components/material/sound/index.d.ts +2 -2
- package/dist/components/material/sound/index.js +18 -18
- package/dist/components/material/sound/sound.utils.d.ts +2 -2
- package/dist/components/material/sound/sound.utils.js +14 -14
- package/dist/components/material/sound/sound.utils.js.map +1 -1
- package/dist/components/material/utils/IsLocationSubset.d.ts +2 -2
- package/dist/components/material/utils/IsLocationSubset.js +14 -17
- package/dist/components/material/utils/IsLocationSubset.js.map +1 -1
- package/dist/components/material/utils/getBestDropMove.d.ts +4 -4
- package/dist/components/material/utils/getBestDropMove.js +32 -33
- package/dist/components/material/utils/getBestDropMove.js.map +1 -1
- package/dist/components/material/utils/index.d.ts +1 -1
- package/dist/components/material/utils/index.js +17 -17
- package/dist/components/material/utils/isDroppedItem.d.ts +4 -4
- package/dist/components/material/utils/isDroppedItem.js +27 -27
- package/dist/components/material/utils/isPlacedOnItem.d.ts +3 -3
- package/dist/components/material/utils/isPlacedOnItem.js +13 -13
- package/dist/components/material/utils/isRotationMove.d.ts +3 -3
- package/dist/components/material/utils/isRotationMove.js +21 -24
- package/dist/components/material/utils/isRotationMove.js.map +1 -1
- package/dist/components/material/utils/useIsAnimatingPlayerAction.d.ts +1 -1
- package/dist/components/material/utils/useIsAnimatingPlayerAction.js +14 -14
- package/dist/components/menus/EjectPlayer/EjectPlayerButton.d.ts +2 -2
- package/dist/components/menus/EjectPlayer/EjectPlayerButton.js +34 -34
- package/dist/components/menus/EjectPlayer/EjectPlayerDialog.d.ts +4 -10
- package/dist/components/menus/EjectPlayer/EjectPlayerDialog.js +74 -74
- package/dist/components/menus/EjectPlayer/EjectPlayerDialog.js.map +1 -1
- package/dist/components/menus/EjectPlayer/EjectPlayerPopButton.d.ts +2 -2
- package/dist/components/menus/EjectPlayer/EjectPlayerPopButton.js +52 -52
- package/dist/components/menus/EjectPlayer/index.d.ts +3 -3
- package/dist/components/menus/EjectPlayer/index.js +19 -19
- package/dist/components/menus/Fullscreen/FullscreenButton.d.ts +1 -1
- package/dist/components/menus/Fullscreen/FullscreenButton.js +17 -28
- package/dist/components/menus/Fullscreen/FullscreenButton.js.map +1 -1
- package/dist/components/menus/Fullscreen/FullscreenDialog.d.ts +2 -2
- package/dist/components/menus/Fullscreen/FullscreenDialog.js +62 -62
- package/dist/components/menus/Fullscreen/FullscreenDialog.js.map +1 -1
- package/dist/components/menus/Fullscreen/FullscreenPopButton.d.ts +1 -1
- package/dist/components/menus/Fullscreen/FullscreenPopButton.js +45 -56
- package/dist/components/menus/Fullscreen/FullscreenPopButton.js.map +1 -1
- package/dist/components/menus/Fullscreen/index.d.ts +3 -3
- package/dist/components/menus/Fullscreen/index.js +19 -19
- package/dist/components/menus/GiveUpButton/GiveUpButton.d.ts +1 -1
- package/dist/components/menus/GiveUpButton/GiveUpButton.js +78 -89
- package/dist/components/menus/GiveUpButton/GiveUpButton.js.map +1 -1
- package/dist/components/menus/GiveUpButton/index.d.ts +1 -1
- package/dist/components/menus/GiveUpButton/index.js +17 -17
- package/dist/components/menus/Menu/LogoIcon.d.ts +2 -2
- package/dist/components/menus/Menu/LogoIcon.js +17 -17
- package/dist/components/menus/Menu/LogoIcon.js.map +1 -1
- package/dist/components/menus/Menu/Menu.d.ts +3 -3
- package/dist/components/menus/Menu/Menu.js +106 -117
- package/dist/components/menus/Menu/Menu.js.map +1 -1
- package/dist/components/menus/Menu/MenuPopButton.d.ts +7 -7
- package/dist/components/menus/Menu/MenuPopButton.js +68 -68
- package/dist/components/menus/Menu/MenuPopButton.js.map +1 -1
- package/dist/components/menus/Menu/NavButton.d.ts +7 -7
- package/dist/components/menus/Menu/NavButton.js +32 -32
- package/dist/components/menus/Menu/index.d.ts +1 -1
- package/dist/components/menus/Menu/index.js +17 -17
- package/dist/components/menus/PlayerQuit/TrackPlayersQuit.d.ts +1 -1
- package/dist/components/menus/PlayerQuit/TrackPlayersQuit.js +52 -63
- package/dist/components/menus/PlayerQuit/TrackPlayersQuit.js.map +1 -1
- package/dist/components/menus/PlayerQuit/index.d.ts +1 -1
- package/dist/components/menus/PlayerQuit/index.js +17 -17
- package/dist/components/menus/RestartTutorialButton/RestartTutorialButton.d.ts +1 -1
- package/dist/components/menus/RestartTutorialButton/RestartTutorialButton.js +24 -35
- package/dist/components/menus/RestartTutorialButton/RestartTutorialButton.js.map +1 -1
- package/dist/components/menus/RestartTutorialButton/index.d.ts +1 -1
- package/dist/components/menus/RestartTutorialButton/index.js +17 -17
- package/dist/components/menus/Result/Medal.d.ts +4 -4
- package/dist/components/menus/Result/Medal.js +41 -41
- package/dist/components/menus/Result/Medal.js.map +1 -1
- package/dist/components/menus/Result/MedalBronze.d.ts +2 -2
- package/dist/components/menus/Result/MedalBronze.js +17 -17
- package/dist/components/menus/Result/MedalBronze.js.map +1 -1
- package/dist/components/menus/Result/MedalGold.d.ts +2 -2
- package/dist/components/menus/Result/MedalGold.js +17 -17
- package/dist/components/menus/Result/MedalGold.js.map +1 -1
- package/dist/components/menus/Result/MedalSilver.d.ts +2 -2
- package/dist/components/menus/Result/MedalSilver.js +17 -17
- package/dist/components/menus/Result/MedalSilver.js.map +1 -1
- package/dist/components/menus/Result/ResultButton.d.ts +2 -2
- package/dist/components/menus/Result/ResultButton.js +25 -25
- package/dist/components/menus/Result/ResultPopButton.d.ts +2 -2
- package/dist/components/menus/Result/ResultPopButton.js +37 -37
- package/dist/components/menus/Result/index.d.ts +3 -3
- package/dist/components/menus/Result/index.js +19 -19
- package/dist/components/menus/SoundButton/SoundButton.d.ts +1 -1
- package/dist/components/menus/SoundButton/SoundButton.js +17 -28
- package/dist/components/menus/SoundButton/SoundButton.js.map +1 -1
- package/dist/components/menus/SoundButton/index.d.ts +1 -1
- package/dist/components/menus/SoundButton/index.js +17 -17
- package/dist/components/menus/TimeStatsButton/TimeStatsButton.d.ts +1 -1
- package/dist/components/menus/TimeStatsButton/TimeStatsButton.js +82 -93
- package/dist/components/menus/TimeStatsButton/TimeStatsButton.js.map +1 -1
- package/dist/components/menus/TimeStatsButton/index.d.ts +1 -1
- package/dist/components/menus/TimeStatsButton/index.js +17 -17
- package/dist/components/menus/UndoButton/UndoButton.d.ts +1 -1
- package/dist/components/menus/UndoButton/UndoButton.js +33 -44
- package/dist/components/menus/UndoButton/UndoButton.js.map +1 -1
- package/dist/components/menus/UndoButton/UndoPopButton.d.ts +1 -1
- package/dist/components/menus/UndoButton/UndoPopButton.js +40 -51
- package/dist/components/menus/UndoButton/UndoPopButton.js.map +1 -1
- package/dist/components/menus/UndoButton/index.d.ts +2 -2
- package/dist/components/menus/UndoButton/index.js +18 -18
- package/dist/components/menus/index.d.ts +6 -6
- package/dist/components/menus/index.js +22 -22
- package/dist/components/menus/menuCss.d.ts +9 -9
- package/dist/components/menus/menuCss.js +19 -19
- package/dist/components/tutorial/MaterialTutorial.d.ts +43 -43
- package/dist/components/tutorial/MaterialTutorial.js +40 -40
- package/dist/components/tutorial/MaterialTutorial.js.map +1 -1
- package/dist/components/tutorial/MaterialTutorialDisplay.d.ts +1 -1
- package/dist/components/tutorial/MaterialTutorialDisplay.js +108 -112
- package/dist/components/tutorial/MaterialTutorialDisplay.js.map +1 -1
- package/dist/components/tutorial/TutorialRulesWrapper.d.ts +3 -3
- package/dist/components/tutorial/TutorialRulesWrapper.js +142 -146
- package/dist/components/tutorial/TutorialRulesWrapper.js.map +1 -1
- package/dist/components/tutorial/index.d.ts +1 -1
- package/dist/components/tutorial/index.js +17 -17
- package/dist/css/GameTheme.d.ts +23 -23
- package/dist/css/GameTheme.js +21 -21
- package/dist/css/addStylesheetUrl.d.ts +1 -1
- package/dist/css/addStylesheetUrl.js +10 -10
- package/dist/css/backgroundCss.d.ts +1 -1
- package/dist/css/backgroundCss.js +11 -11
- package/dist/css/buttonCss.d.ts +3 -3
- package/dist/css/buttonCss.js +13 -13
- package/dist/css/componentSizeCss.d.ts +5 -5
- package/dist/css/componentSizeCss.js +22 -22
- package/dist/css/cursorCss.d.ts +3 -3
- package/dist/css/cursorCss.js +12 -12
- package/dist/css/fadeIn.d.ts +1 -1
- package/dist/css/fadeIn.js +12 -12
- package/dist/css/index.d.ts +10 -10
- package/dist/css/index.js +26 -26
- package/dist/css/shadowEffect.d.ts +1 -1
- package/dist/css/shadowEffect.js +10 -10
- package/dist/css/shineEffect.d.ts +1 -1
- package/dist/css/shineEffect.js +11 -11
- package/dist/css/transformCss.d.ts +2 -2
- package/dist/css/transformCss.js +18 -18
- package/dist/hooks/index.d.ts +27 -27
- package/dist/hooks/index.js +43 -43
- package/dist/hooks/useActions.d.ts +2 -2
- package/dist/hooks/useActions.js +8 -8
- package/dist/hooks/useAnimations.d.ts +4 -4
- package/dist/hooks/useAnimations.js +58 -58
- package/dist/hooks/useAnimations.js.map +1 -1
- package/dist/hooks/useDraggedItem.d.ts +2 -2
- package/dist/hooks/useDraggedItem.js +33 -34
- package/dist/hooks/useDraggedItem.js.map +1 -1
- package/dist/hooks/useFailures.d.ts +1 -1
- package/dist/hooks/useFailures.js +10 -10
- package/dist/hooks/useFailures.js.map +1 -1
- package/dist/hooks/useFlatHistory.d.ts +13 -13
- package/dist/hooks/useFlatHistory.js +159 -162
- package/dist/hooks/useFlatHistory.js.map +1 -1
- package/dist/hooks/useFullscreen.d.ts +5 -5
- package/dist/hooks/useFullscreen.js +51 -51
- package/dist/hooks/useFullscreen.js.map +1 -1
- package/dist/hooks/useGame.d.ts +1 -1
- package/dist/hooks/useGame.js +7 -8
- package/dist/hooks/useGame.js.map +1 -1
- package/dist/hooks/useGiveUp.d.ts +1 -1
- package/dist/hooks/useGiveUp.js +16 -16
- package/dist/hooks/useGiveUp.js.map +1 -1
- package/dist/hooks/useItemLocations.d.ts +8 -8
- package/dist/hooks/useItemLocations.js +122 -126
- package/dist/hooks/useItemLocations.js.map +1 -1
- package/dist/hooks/useItemLocator.d.ts +2 -2
- package/dist/hooks/useItemLocator.js +8 -9
- package/dist/hooks/useItemLocator.js.map +1 -1
- package/dist/hooks/useKeyDown.d.ts +1 -1
- package/dist/hooks/useKeyDown.js +16 -16
- package/dist/hooks/useKeyDown.js.map +1 -1
- package/dist/hooks/useLegalMoves.d.ts +2 -2
- package/dist/hooks/useLegalMoves.js +18 -19
- package/dist/hooks/useLegalMoves.js.map +1 -1
- package/dist/hooks/useLocators.d.ts +1 -1
- package/dist/hooks/useLocators.js +7 -7
- package/dist/hooks/useMaterialContext.d.ts +2 -2
- package/dist/hooks/useMaterialContext.js +16 -17
- package/dist/hooks/useMaterialContext.js.map +1 -1
- package/dist/hooks/useMaterialDescription.d.ts +2 -2
- package/dist/hooks/useMaterialDescription.js +9 -10
- package/dist/hooks/useMaterialDescription.js.map +1 -1
- package/dist/hooks/useNow.d.ts +6 -6
- package/dist/hooks/useNow.js +37 -37
- package/dist/hooks/useNow.js.map +1 -1
- package/dist/hooks/useNumberOfPlayers.d.ts +1 -1
- package/dist/hooks/useNumberOfPlayers.js +6 -6
- package/dist/hooks/useOpponentWithMaxTime.d.ts +5 -5
- package/dist/hooks/useOpponentWithMaxTime.js +60 -60
- package/dist/hooks/useOpponentWithMaxTime.js.map +1 -1
- package/dist/hooks/usePlay.d.ts +2 -2
- package/dist/hooks/usePlay.js +23 -23
- package/dist/hooks/usePlay.js.map +1 -1
- package/dist/hooks/usePlayerId.d.ts +2 -2
- package/dist/hooks/usePlayerId.js +10 -10
- package/dist/hooks/usePlayerName.d.ts +1 -1
- package/dist/hooks/usePlayerName.js +25 -26
- package/dist/hooks/usePlayerName.js.map +1 -1
- package/dist/hooks/usePlayerTime.d.ts +1 -1
- package/dist/hooks/usePlayerTime.js +50 -50
- package/dist/hooks/usePlayerTime.js.map +1 -1
- package/dist/hooks/usePlayers.d.ts +8 -8
- package/dist/hooks/usePlayers.js +95 -95
- package/dist/hooks/usePlayers.js.map +1 -1
- package/dist/hooks/useRankedPlayers.d.ts +5 -5
- package/dist/hooks/useRankedPlayers.js +37 -37
- package/dist/hooks/useRankedPlayers.js.map +1 -1
- package/dist/hooks/useResultText.d.ts +1 -1
- package/dist/hooks/useResultText.js +71 -71
- package/dist/hooks/useResultText.js.map +1 -1
- package/dist/hooks/useRules.d.ts +2 -2
- package/dist/hooks/useRules.js +17 -18
- package/dist/hooks/useRules.js.map +1 -1
- package/dist/hooks/useSound.d.ts +1 -1
- package/dist/hooks/useSound.js +35 -35
- package/dist/hooks/useSound.js.map +1 -1
- package/dist/hooks/useStaticLocations.d.ts +2 -2
- package/dist/hooks/useStaticLocations.js +98 -102
- package/dist/hooks/useStaticLocations.js.map +1 -1
- package/dist/hooks/useTutorialStep.d.ts +2 -2
- package/dist/hooks/useTutorialStep.js +13 -14
- package/dist/hooks/useTutorialStep.js.map +1 -1
- package/dist/hooks/useUndo.d.ts +7 -7
- package/dist/hooks/useUndo.js +99 -102
- package/dist/hooks/useUndo.js.map +1 -1
- package/dist/hooks/useWebP.d.ts +1 -1
- package/dist/hooks/useWebP.js +79 -79
- package/dist/hooks/useZoomToElements.d.ts +13 -13
- package/dist/hooks/useZoomToElements.js +91 -92
- package/dist/hooks/useZoomToElements.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +23 -23
- package/dist/locators/DeckLocator.d.ts +10 -10
- package/dist/locators/DeckLocator.js +34 -34
- package/dist/locators/DeckLocator.js.map +1 -1
- package/dist/locators/FlexLocator.d.ts +57 -57
- package/dist/locators/FlexLocator.js +117 -117
- package/dist/locators/FlexLocator.js.map +1 -1
- package/dist/locators/HandLocator.d.ts +96 -96
- package/dist/locators/HandLocator.js +176 -176
- package/dist/locators/HandLocator.js.map +1 -1
- package/dist/locators/HexagonalGridLocator.d.ts +95 -95
- package/dist/locators/HexagonalGridLocator.js +303 -308
- package/dist/locators/HexagonalGridLocator.js.map +1 -1
- package/dist/locators/ListLocator.d.ts +54 -54
- package/dist/locators/ListLocator.js +123 -123
- package/dist/locators/ListLocator.js.map +1 -1
- package/dist/locators/Locator.d.ts +275 -273
- package/dist/locators/Locator.js +416 -421
- package/dist/locators/Locator.js.map +1 -1
- package/dist/locators/PileLocator.d.ts +53 -53
- package/dist/locators/PileLocator.js +184 -184
- package/dist/locators/PileLocator.js.map +1 -1
- package/dist/locators/index.d.ts +8 -8
- package/dist/locators/index.js +24 -24
- package/dist/locators/utils/getRelativePlayerIndex.util.d.ts +2 -2
- package/dist/locators/utils/getRelativePlayerIndex.util.js +13 -14
- package/dist/locators/utils/getRelativePlayerIndex.util.js.map +1 -1
- package/dist/locators/utils/index.d.ts +1 -1
- package/dist/locators/utils/index.js +17 -17
- package/dist/utilities/DeepPartial.d.ts +6 -6
- package/dist/utilities/DeepPartial.js +2 -2
- package/dist/utilities/combineEventListeners.d.ts +7 -7
- package/dist/utilities/combineEventListeners.js +48 -49
- package/dist/utilities/combineEventListeners.js.map +1 -1
- package/dist/utilities/findIfUnique.util.d.ts +7 -7
- package/dist/utilities/findIfUnique.util.js +21 -22
- package/dist/utilities/findIfUnique.util.js.map +1 -1
- package/dist/utilities/index.d.ts +4 -4
- package/dist/utilities/index.js +20 -20
- package/dist/utilities/pusher.d.ts +2 -0
- package/dist/utilities/pusher.js +16 -0
- package/dist/utilities/pusher.js.map +1 -0
- package/dist/utilities/translation.util.d.ts +10 -10
- package/dist/utilities/translation.util.js +37 -37
- package/dist/utilities/zoom-pan-pinch/animations.constants.d.ts +16 -16
- package/dist/utilities/zoom-pan-pinch/animations.constants.js +81 -81
- package/dist/utilities/zoom-pan-pinch/animations.util.d.ts +8 -8
- package/dist/utilities/zoom-pan-pinch/animations.util.js +77 -77
- package/dist/utilities/zoom-pan-pinch/animations.util.js.map +1 -1
- package/dist/utilities/zoom-pan-pinch/bounds.util.d.ts +17 -17
- package/dist/utilities/zoom-pan-pinch/bounds.util.js +84 -84
- package/dist/utilities/zoom-pan-pinch/bounds.util.js.map +1 -1
- package/dist/utilities/zoom-pan-pinch/calculation.util.d.ts +14 -14
- package/dist/utilities/zoom-pan-pinch/calculation.util.js +23 -23
- package/dist/utilities/zoom-pan-pinch/index.d.ts +9 -9
- package/dist/utilities/zoom-pan-pinch/index.js +25 -25
- package/dist/utilities/zoom-pan-pinch/zoom.util.d.ts +4 -4
- package/dist/utilities/zoom-pan-pinch/zoom.util.js +15 -16
- package/dist/utilities/zoom-pan-pinch/zoom.util.js.map +1 -1
- package/package.json +21 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AAA;AACH,CAAC"}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { Coordinates, Location, MaterialItem, XYCoordinates } from '@gamepark/rules-api';
|
|
2
|
-
import { LocationDescription } from '../components';
|
|
3
|
-
import { ItemContext, Locator, MaterialContext } from './Locator';
|
|
4
|
-
/**
|
|
5
|
-
* This Locator places items at regular intervals.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ListLocator<P extends number = number, M extends number = number, L extends number = number> extends Locator<P, M, L> {
|
|
8
|
-
constructor(clone?: Partial<ListLocator>);
|
|
9
|
-
/**
|
|
10
|
-
* The default gap between 2 consecutive items
|
|
11
|
-
*/
|
|
12
|
-
gap?: Partial<Coordinates>;
|
|
13
|
-
/**
|
|
14
|
-
* Function to override to provide a {@link gap} that depends on the context
|
|
15
|
-
* @param _location Location to position
|
|
16
|
-
* @param _context Context of the game
|
|
17
|
-
* @returns The default gap between 2 consecutive items
|
|
18
|
-
*/
|
|
19
|
-
getGap(_location: Location<P, L>, _context: MaterialContext<P, M, L>): Partial<Coordinates>;
|
|
20
|
-
/**
|
|
21
|
-
* The maximum number of items that can be displayed in the list before the gap between items is reduced to fill in the same space.
|
|
22
|
-
*/
|
|
23
|
-
maxCount?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Function to override to provide a {@link maxCount that depends on the context
|
|
26
|
-
* @param _location Location to position
|
|
27
|
-
* @param _context Context of the game
|
|
28
|
-
* @returns The maximum number of items that can be displayed in the list before the gap between items is reduced to fill in the same space.
|
|
29
|
-
*/
|
|
30
|
-
getMaxCount(_location: Location<P, L>, _context: MaterialContext<P, M, L>): number | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* The maximum gap between the first and the last items. See {@link maxCount} to get a maxGap based on a max number of items.
|
|
33
|
-
*/
|
|
34
|
-
maxGap?: Partial<Coordinates>;
|
|
35
|
-
/**
|
|
36
|
-
* Function to override to provide a {@link maxGap} that depends on the context
|
|
37
|
-
* @param location Location to position
|
|
38
|
-
* @param context Context of the game
|
|
39
|
-
* @returns The maximum gap between the first and the last items
|
|
40
|
-
*/
|
|
41
|
-
getMaxGap(location: Location<P, L>, context: MaterialContext<P, M, L>): Partial<Coordinates>;
|
|
42
|
-
/**
|
|
43
|
-
* The number of items displayed in the list
|
|
44
|
-
* @param location Location area of the items
|
|
45
|
-
* @param context Context of the game
|
|
46
|
-
* @returns number of items in the location area
|
|
47
|
-
*/
|
|
48
|
-
countListItems(location: Location<P, L>, context: MaterialContext<P, M, L>): number;
|
|
49
|
-
protected getAreaCoordinates(location: Location<P, L>, context: MaterialContext<P, M, L>): Partial<Coordinates>;
|
|
50
|
-
protected getCurrentMaxGap(location: Location<P, L>, context: MaterialContext<P, M, L>): XYCoordinates;
|
|
51
|
-
getLocationCoordinates(location: Location<P, L>, context: MaterialContext<P, M, L>, index?: number | undefined): Partial<Coordinates>;
|
|
52
|
-
getItemCoordinates(item: MaterialItem<P, L>, context: ItemContext<P, M, L>): Partial<Coordinates>;
|
|
53
|
-
protected generateLocationDescriptionFromDraggedItem(location: Location<P, L>, context: ItemContext<P, M, L>): LocationDescription<P, M, L> | undefined;
|
|
54
|
-
}
|
|
1
|
+
import { Coordinates, Location, MaterialItem, XYCoordinates } from '@gamepark/rules-api';
|
|
2
|
+
import { LocationDescription } from '../components';
|
|
3
|
+
import { ItemContext, Locator, MaterialContext } from './Locator';
|
|
4
|
+
/**
|
|
5
|
+
* This Locator places items at regular intervals.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ListLocator<P extends number = number, M extends number = number, L extends number = number> extends Locator<P, M, L> {
|
|
8
|
+
constructor(clone?: Partial<ListLocator>);
|
|
9
|
+
/**
|
|
10
|
+
* The default gap between 2 consecutive items
|
|
11
|
+
*/
|
|
12
|
+
gap?: Partial<Coordinates>;
|
|
13
|
+
/**
|
|
14
|
+
* Function to override to provide a {@link gap} that depends on the context
|
|
15
|
+
* @param _location Location to position
|
|
16
|
+
* @param _context Context of the game
|
|
17
|
+
* @returns The default gap between 2 consecutive items
|
|
18
|
+
*/
|
|
19
|
+
getGap(_location: Location<P, L>, _context: MaterialContext<P, M, L>): Partial<Coordinates>;
|
|
20
|
+
/**
|
|
21
|
+
* The maximum number of items that can be displayed in the list before the gap between items is reduced to fill in the same space.
|
|
22
|
+
*/
|
|
23
|
+
maxCount?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Function to override to provide a {@link maxCount that depends on the context
|
|
26
|
+
* @param _location Location to position
|
|
27
|
+
* @param _context Context of the game
|
|
28
|
+
* @returns The maximum number of items that can be displayed in the list before the gap between items is reduced to fill in the same space.
|
|
29
|
+
*/
|
|
30
|
+
getMaxCount(_location: Location<P, L>, _context: MaterialContext<P, M, L>): number | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The maximum gap between the first and the last items. See {@link maxCount} to get a maxGap based on a max number of items.
|
|
33
|
+
*/
|
|
34
|
+
maxGap?: Partial<Coordinates>;
|
|
35
|
+
/**
|
|
36
|
+
* Function to override to provide a {@link maxGap} that depends on the context
|
|
37
|
+
* @param location Location to position
|
|
38
|
+
* @param context Context of the game
|
|
39
|
+
* @returns The maximum gap between the first and the last items
|
|
40
|
+
*/
|
|
41
|
+
getMaxGap(location: Location<P, L>, context: MaterialContext<P, M, L>): Partial<Coordinates>;
|
|
42
|
+
/**
|
|
43
|
+
* The number of items displayed in the list
|
|
44
|
+
* @param location Location area of the items
|
|
45
|
+
* @param context Context of the game
|
|
46
|
+
* @returns number of items in the location area
|
|
47
|
+
*/
|
|
48
|
+
countListItems(location: Location<P, L>, context: MaterialContext<P, M, L>): number;
|
|
49
|
+
protected getAreaCoordinates(location: Location<P, L>, context: MaterialContext<P, M, L>): Partial<Coordinates>;
|
|
50
|
+
protected getCurrentMaxGap(location: Location<P, L>, context: MaterialContext<P, M, L>): XYCoordinates;
|
|
51
|
+
getLocationCoordinates(location: Location<P, L>, context: MaterialContext<P, M, L>, index?: number | undefined): Partial<Coordinates>;
|
|
52
|
+
getItemCoordinates(item: MaterialItem<P, L>, context: ItemContext<P, M, L>): Partial<Coordinates>;
|
|
53
|
+
protected generateLocationDescriptionFromDraggedItem(location: Location<P, L>, context: ItemContext<P, M, L>): LocationDescription<P, M, L> | undefined;
|
|
54
|
+
}
|
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ListLocator = void 0;
|
|
19
|
-
var components_1 = require("../components");
|
|
20
|
-
var Locator_1 = require("./Locator");
|
|
21
|
-
/**
|
|
22
|
-
* This Locator places items at regular intervals.
|
|
23
|
-
*/
|
|
24
|
-
var ListLocator = /** @class */ (function (_super) {
|
|
25
|
-
__extends(ListLocator, _super);
|
|
26
|
-
function ListLocator(clone) {
|
|
27
|
-
var _this = _super.call(this) || this;
|
|
28
|
-
Object.assign(_this, clone);
|
|
29
|
-
return _this;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Function to override to provide a {@link gap} that depends on the context
|
|
33
|
-
* @param _location Location to position
|
|
34
|
-
* @param _context Context of the game
|
|
35
|
-
* @returns The default gap between 2 consecutive items
|
|
36
|
-
*/
|
|
37
|
-
ListLocator.prototype.getGap = function (_location, _context) {
|
|
38
|
-
var _a;
|
|
39
|
-
return (_a = this.gap) !== null && _a !== void 0 ? _a : {};
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Function to override to provide a {@link maxCount that depends on the context
|
|
43
|
-
* @param _location Location to position
|
|
44
|
-
* @param _context Context of the game
|
|
45
|
-
* @returns The maximum number of items that can be displayed in the list before the gap between items is reduced to fill in the same space.
|
|
46
|
-
*/
|
|
47
|
-
ListLocator.prototype.getMaxCount = function (_location, _context) {
|
|
48
|
-
return this.maxCount;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Function to override to provide a {@link maxGap} that depends on the context
|
|
52
|
-
* @param location Location to position
|
|
53
|
-
* @param context Context of the game
|
|
54
|
-
* @returns The maximum gap between the first and the last items
|
|
55
|
-
*/
|
|
56
|
-
ListLocator.prototype.getMaxGap = function (location, context) {
|
|
57
|
-
if (this.maxGap)
|
|
58
|
-
return this.maxGap;
|
|
59
|
-
var maxCount = this.getMaxCount(location, context);
|
|
60
|
-
if (maxCount === undefined)
|
|
61
|
-
return {};
|
|
62
|
-
var _a = this.getGap(location, context), x = _a.x, y = _a.y, z = _a.z;
|
|
63
|
-
return {
|
|
64
|
-
x: x ? x * (maxCount - 1) : x,
|
|
65
|
-
y: y ? y * (maxCount - 1) : y,
|
|
66
|
-
z: z ? z * (maxCount - 1) : z
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* The number of items displayed in the list
|
|
71
|
-
* @param location Location area of the items
|
|
72
|
-
* @param context Context of the game
|
|
73
|
-
* @returns number of items in the location area
|
|
74
|
-
*/
|
|
75
|
-
ListLocator.prototype.countListItems = function (location, context) {
|
|
76
|
-
var _a;
|
|
77
|
-
return Math.min((_a = this.limit) !== null && _a !== void 0 ? _a : Infinity, this.countItems(location, context));
|
|
78
|
-
};
|
|
79
|
-
ListLocator.prototype.getAreaCoordinates = function (location, context) {
|
|
80
|
-
var _a = this.getCoordinates(location, context), _b = _a.x, x = _b === void 0 ? 0 : _b, _c = _a.y, y = _c === void 0 ? 0 : _c, _d = _a.z, z = _d === void 0 ? 0 : _d;
|
|
81
|
-
var _e = this.getCurrentMaxGap(location, context), mx = _e.x, my = _e.y;
|
|
82
|
-
return { x: x + mx / 2, y: y + my / 2, z: z };
|
|
83
|
-
};
|
|
84
|
-
ListLocator.prototype.getCurrentMaxGap = function (location, context) {
|
|
85
|
-
var _a = this.getGap(location, context), _b = _a.x, gx = _b === void 0 ? 0 : _b, _c = _a.y, gy = _c === void 0 ? 0 : _c;
|
|
86
|
-
var _d = this.getMaxGap(location, context), mgx = _d.x, mgy = _d.y;
|
|
87
|
-
var gapCount = Math.max(0, this.countListItems(location, context) - 1);
|
|
88
|
-
return { x: (mgx !== null && mgx !== void 0 ? mgx : gx * gapCount), y: (mgy !== null && mgy !== void 0 ? mgy : gy * gapCount) };
|
|
89
|
-
};
|
|
90
|
-
ListLocator.prototype.getLocationCoordinates = function (location, context, index) {
|
|
91
|
-
if (index === void 0) { index = this.getLocationIndex(location, context); }
|
|
92
|
-
if (index === undefined)
|
|
93
|
-
return this.getAreaCoordinates(location, context);
|
|
94
|
-
var _a = this.getCoordinates(location, context), _b = _a.x, x = _b === void 0 ? 0 : _b, _c = _a.y, y = _c === void 0 ? 0 : _c, _d = _a.z, z = _d === void 0 ? 0 : _d;
|
|
95
|
-
var _e = this.getGap(location, context), _f = _e.x, gx = _f === void 0 ? 0 : _f, _g = _e.y, gy = _g === void 0 ? 0 : _g, _h = _e.z, gz = _h === void 0 ? 0.05 : _h;
|
|
96
|
-
var _j = this.getMaxGap(location, context), mgx = _j.x, mgy = _j.y, mgz = _j.z;
|
|
97
|
-
var count = this.countListItems(location, context);
|
|
98
|
-
return {
|
|
99
|
-
x: x + index * (mgx && count > 1 ? mgx * Math.min(gx / mgx, 1 / (count - 1)) : gx),
|
|
100
|
-
y: y + index * (mgy && count > 1 ? mgy * Math.min(gy / mgy, 1 / (count - 1)) : gy),
|
|
101
|
-
z: z + index * (mgz && count > 1 ? mgz * Math.min(gz / mgz, 1 / (count - 1)) : gz)
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
ListLocator.prototype.getItemCoordinates = function (item, context) {
|
|
105
|
-
return this.getLocationCoordinates(item.location, context, this.getItemIndex(item, context));
|
|
106
|
-
};
|
|
107
|
-
ListLocator.prototype.generateLocationDescriptionFromDraggedItem = function (location, context) {
|
|
108
|
-
var _a, _b, _c, _d;
|
|
109
|
-
var item = (0, Locator_1.getItemFromContext)(context);
|
|
110
|
-
var _e = (_b = (_a = context.material[context.type]) === null || _a === void 0 ? void 0 : _a.getSize(item.id)) !== null && _b !== void 0 ? _b : {}, _f = _e.width, width = _f === void 0 ? 0 : _f, _g = _e.height, height = _g === void 0 ? 0 : _g;
|
|
111
|
-
var borderRadius = (_d = (_c = context.material[context.type]) === null || _c === void 0 ? void 0 : _c.getBorderRadius(item.id)) !== null && _d !== void 0 ? _d : 0;
|
|
112
|
-
if (this.getLocationIndex(location, context) !== undefined)
|
|
113
|
-
return new components_1.DropAreaDescription({ width: width, height: height, borderRadius: borderRadius });
|
|
114
|
-
var _h = this.getCurrentMaxGap(location, context), x = _h.x, y = _h.y;
|
|
115
|
-
return new components_1.DropAreaDescription({
|
|
116
|
-
width: width + Math.abs(x),
|
|
117
|
-
height: height + Math.abs(y),
|
|
118
|
-
borderRadius: borderRadius
|
|
119
|
-
});
|
|
120
|
-
};
|
|
121
|
-
return ListLocator;
|
|
122
|
-
}(Locator_1.Locator));
|
|
123
|
-
exports.ListLocator = ListLocator;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ListLocator = void 0;
|
|
19
|
+
var components_1 = require("../components");
|
|
20
|
+
var Locator_1 = require("./Locator");
|
|
21
|
+
/**
|
|
22
|
+
* This Locator places items at regular intervals.
|
|
23
|
+
*/
|
|
24
|
+
var ListLocator = /** @class */ (function (_super) {
|
|
25
|
+
__extends(ListLocator, _super);
|
|
26
|
+
function ListLocator(clone) {
|
|
27
|
+
var _this = _super.call(this) || this;
|
|
28
|
+
Object.assign(_this, clone);
|
|
29
|
+
return _this;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Function to override to provide a {@link gap} that depends on the context
|
|
33
|
+
* @param _location Location to position
|
|
34
|
+
* @param _context Context of the game
|
|
35
|
+
* @returns The default gap between 2 consecutive items
|
|
36
|
+
*/
|
|
37
|
+
ListLocator.prototype.getGap = function (_location, _context) {
|
|
38
|
+
var _a;
|
|
39
|
+
return (_a = this.gap) !== null && _a !== void 0 ? _a : {};
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Function to override to provide a {@link maxCount that depends on the context
|
|
43
|
+
* @param _location Location to position
|
|
44
|
+
* @param _context Context of the game
|
|
45
|
+
* @returns The maximum number of items that can be displayed in the list before the gap between items is reduced to fill in the same space.
|
|
46
|
+
*/
|
|
47
|
+
ListLocator.prototype.getMaxCount = function (_location, _context) {
|
|
48
|
+
return this.maxCount;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Function to override to provide a {@link maxGap} that depends on the context
|
|
52
|
+
* @param location Location to position
|
|
53
|
+
* @param context Context of the game
|
|
54
|
+
* @returns The maximum gap between the first and the last items
|
|
55
|
+
*/
|
|
56
|
+
ListLocator.prototype.getMaxGap = function (location, context) {
|
|
57
|
+
if (this.maxGap)
|
|
58
|
+
return this.maxGap;
|
|
59
|
+
var maxCount = this.getMaxCount(location, context);
|
|
60
|
+
if (maxCount === undefined)
|
|
61
|
+
return {};
|
|
62
|
+
var _a = this.getGap(location, context), x = _a.x, y = _a.y, z = _a.z;
|
|
63
|
+
return {
|
|
64
|
+
x: x ? x * (maxCount - 1) : x,
|
|
65
|
+
y: y ? y * (maxCount - 1) : y,
|
|
66
|
+
z: z ? z * (maxCount - 1) : z
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* The number of items displayed in the list
|
|
71
|
+
* @param location Location area of the items
|
|
72
|
+
* @param context Context of the game
|
|
73
|
+
* @returns number of items in the location area
|
|
74
|
+
*/
|
|
75
|
+
ListLocator.prototype.countListItems = function (location, context) {
|
|
76
|
+
var _a;
|
|
77
|
+
return Math.min((_a = this.limit) !== null && _a !== void 0 ? _a : Infinity, this.countItems(location, context));
|
|
78
|
+
};
|
|
79
|
+
ListLocator.prototype.getAreaCoordinates = function (location, context) {
|
|
80
|
+
var _a = this.getCoordinates(location, context), _b = _a.x, x = _b === void 0 ? 0 : _b, _c = _a.y, y = _c === void 0 ? 0 : _c, _d = _a.z, z = _d === void 0 ? 0 : _d;
|
|
81
|
+
var _e = this.getCurrentMaxGap(location, context), mx = _e.x, my = _e.y;
|
|
82
|
+
return { x: x + mx / 2, y: y + my / 2, z: z };
|
|
83
|
+
};
|
|
84
|
+
ListLocator.prototype.getCurrentMaxGap = function (location, context) {
|
|
85
|
+
var _a = this.getGap(location, context), _b = _a.x, gx = _b === void 0 ? 0 : _b, _c = _a.y, gy = _c === void 0 ? 0 : _c;
|
|
86
|
+
var _d = this.getMaxGap(location, context), mgx = _d.x, mgy = _d.y;
|
|
87
|
+
var gapCount = Math.max(0, this.countListItems(location, context) - 1);
|
|
88
|
+
return { x: (mgx !== null && mgx !== void 0 ? mgx : gx * gapCount), y: (mgy !== null && mgy !== void 0 ? mgy : gy * gapCount) };
|
|
89
|
+
};
|
|
90
|
+
ListLocator.prototype.getLocationCoordinates = function (location, context, index) {
|
|
91
|
+
if (index === void 0) { index = this.getLocationIndex(location, context); }
|
|
92
|
+
if (index === undefined)
|
|
93
|
+
return this.getAreaCoordinates(location, context);
|
|
94
|
+
var _a = this.getCoordinates(location, context), _b = _a.x, x = _b === void 0 ? 0 : _b, _c = _a.y, y = _c === void 0 ? 0 : _c, _d = _a.z, z = _d === void 0 ? 0 : _d;
|
|
95
|
+
var _e = this.getGap(location, context), _f = _e.x, gx = _f === void 0 ? 0 : _f, _g = _e.y, gy = _g === void 0 ? 0 : _g, _h = _e.z, gz = _h === void 0 ? 0.05 : _h;
|
|
96
|
+
var _j = this.getMaxGap(location, context), mgx = _j.x, mgy = _j.y, mgz = _j.z;
|
|
97
|
+
var count = this.countListItems(location, context);
|
|
98
|
+
return {
|
|
99
|
+
x: x + index * (mgx && count > 1 ? mgx * Math.min(gx / mgx, 1 / (count - 1)) : gx),
|
|
100
|
+
y: y + index * (mgy && count > 1 ? mgy * Math.min(gy / mgy, 1 / (count - 1)) : gy),
|
|
101
|
+
z: z + index * (mgz && count > 1 ? mgz * Math.min(gz / mgz, 1 / (count - 1)) : gz)
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
ListLocator.prototype.getItemCoordinates = function (item, context) {
|
|
105
|
+
return this.getLocationCoordinates(item.location, context, this.getItemIndex(item, context));
|
|
106
|
+
};
|
|
107
|
+
ListLocator.prototype.generateLocationDescriptionFromDraggedItem = function (location, context) {
|
|
108
|
+
var _a, _b, _c, _d;
|
|
109
|
+
var item = (0, Locator_1.getItemFromContext)(context);
|
|
110
|
+
var _e = (_b = (_a = context.material[context.type]) === null || _a === void 0 ? void 0 : _a.getSize(item.id)) !== null && _b !== void 0 ? _b : {}, _f = _e.width, width = _f === void 0 ? 0 : _f, _g = _e.height, height = _g === void 0 ? 0 : _g;
|
|
111
|
+
var borderRadius = (_d = (_c = context.material[context.type]) === null || _c === void 0 ? void 0 : _c.getBorderRadius(item.id)) !== null && _d !== void 0 ? _d : 0;
|
|
112
|
+
if (this.getLocationIndex(location, context) !== undefined)
|
|
113
|
+
return new components_1.DropAreaDescription({ width: width, height: height, borderRadius: borderRadius });
|
|
114
|
+
var _h = this.getCurrentMaxGap(location, context), x = _h.x, y = _h.y;
|
|
115
|
+
return new components_1.DropAreaDescription({
|
|
116
|
+
width: width + Math.abs(x),
|
|
117
|
+
height: height + Math.abs(y),
|
|
118
|
+
borderRadius: borderRadius
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
return ListLocator;
|
|
122
|
+
}(Locator_1.Locator));
|
|
123
|
+
exports.ListLocator = ListLocator;
|
|
124
124
|
//# sourceMappingURL=ListLocator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListLocator.js","sourceRoot":"","sources":["../../src/locators/ListLocator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,4CAAwE;AACxE,qCAAqF;AAErF;;GAEG;AACH;IAAkH,+BAAgB;IAEhI,qBAAY,KAA4B;
|
|
1
|
+
{"version":3,"file":"ListLocator.js","sourceRoot":"","sources":["../../src/locators/ListLocator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,4CAAwE;AACxE,qCAAqF;AAErF;;GAEG;AACH;IAAkH,+BAAgB;IAEhI,qBAAY,KAA4B;QACtC,YAAA,MAAK,WAAE,SAAA;QACP,MAAM,CAAC,MAAM,CAAC,KAAI,EAAE,KAAK,CAAC,CAAA;;IAC5B,CAAC;IAOD;;;;;OAKG;IACH,4BAAM,GAAN,UAAO,SAAyB,EAAE,QAAkC;;QAClE,OAAO,MAAA,IAAI,CAAC,GAAG,m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