@kitten-science/kitten-scientists 2.0.0-beta.10-dev-2a02d77 → 2.0.0-beta.10-20250408-e60ebe9
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/lib/BonfireManager.d.ts +3 -3
- package/lib/BonfireManager.d.ts.map +1 -1
- package/lib/BonfireManager.js +10 -10
- package/lib/BonfireManager.js.map +1 -1
- package/lib/Engine.d.ts +89 -89
- package/lib/Engine.d.ts.map +1 -1
- package/lib/Engine.js +17 -17
- package/lib/Engine.js.map +1 -1
- package/lib/KittenScientists.d.ts.map +1 -1
- package/lib/KittenScientists.js +2 -2
- package/lib/KittenScientists.js.map +1 -1
- package/lib/ReligionManager.d.ts +2 -2
- package/lib/ReligionManager.d.ts.map +1 -1
- package/lib/ReligionManager.js +5 -5
- package/lib/ReligionManager.js.map +1 -1
- package/lib/ScienceManager.d.ts +2 -2
- package/lib/ScienceManager.d.ts.map +1 -1
- package/lib/ScienceManager.js +2 -2
- package/lib/ScienceManager.js.map +1 -1
- package/lib/SpaceManager.d.ts +2 -2
- package/lib/SpaceManager.d.ts.map +1 -1
- package/lib/SpaceManager.js +2 -2
- package/lib/SpaceManager.js.map +1 -1
- package/lib/TimeControlManager.d.ts +2 -2
- package/lib/TimeControlManager.d.ts.map +1 -1
- package/lib/TimeControlManager.js +87 -58
- package/lib/TimeControlManager.js.map +1 -1
- package/lib/TimeManager.d.ts +2 -2
- package/lib/TimeManager.d.ts.map +1 -1
- package/lib/TimeManager.js +3 -3
- package/lib/TimeManager.js.map +1 -1
- package/lib/TradeManager.d.ts +3 -3
- package/lib/TradeManager.d.ts.map +1 -1
- package/lib/TradeManager.js +4 -4
- package/lib/TradeManager.js.map +1 -1
- package/lib/UpgradeManager.js +3 -3
- package/lib/UpgradeManager.js.map +1 -1
- package/lib/VillageManager.d.ts +3 -3
- package/lib/VillageManager.d.ts.map +1 -1
- package/lib/VillageManager.js +2 -2
- package/lib/VillageManager.js.map +1 -1
- package/lib/WorkshopManager.d.ts +3 -3
- package/lib/WorkshopManager.d.ts.map +1 -1
- package/lib/WorkshopManager.js +4 -4
- package/lib/WorkshopManager.js.map +1 -1
- package/lib/helper/BulkPurchaseHelper.d.ts +1 -1
- package/lib/helper/BulkPurchaseHelper.d.ts.map +1 -1
- package/lib/helper/BulkPurchaseHelper.js +5 -5
- package/lib/helper/BulkPurchaseHelper.js.map +1 -1
- package/lib/i18n/en-US.json +20 -20
- package/lib/i18n/translations/da-DK.json +20 -20
- package/lib/i18n/translations/de-DE.json +20 -20
- package/lib/i18n/translations/fr-FR.json +20 -20
- package/lib/i18n/translations/he-IL.json +20 -20
- package/lib/i18n/translations/ko-KR.json +20 -20
- package/lib/i18n/translations/ru-RU.json +20 -20
- package/lib/i18n/translations/zh-CN.json +20 -20
- package/lib/images/Icons.d.ts +8 -8
- package/lib/images/Icons.d.ts.map +1 -1
- package/lib/images/Icons.js +8 -8
- package/lib/images/Icons.js.map +1 -1
- package/lib/settings/BonfireSettings.d.ts.map +1 -1
- package/lib/settings/BonfireSettings.js.map +1 -1
- package/lib/settings/BuildingUpgradeSettings.d.ts.map +1 -1
- package/lib/settings/BuildingUpgradeSettings.js.map +1 -1
- package/lib/settings/ElectLeaderSettings.d.ts.map +1 -1
- package/lib/settings/ElectLeaderSettings.js.map +1 -1
- package/lib/settings/EmbassySettings.d.ts.map +1 -1
- package/lib/settings/EmbassySettings.js.map +1 -1
- package/lib/settings/EngineSettings.d.ts.map +1 -1
- package/lib/settings/EngineSettings.js.map +1 -1
- package/lib/settings/LogFilterSettings.d.ts.map +1 -1
- package/lib/settings/LogFilterSettings.js.map +1 -1
- package/lib/settings/MissionSettings.d.ts.map +1 -1
- package/lib/settings/MissionSettings.js.map +1 -1
- package/lib/settings/PolicySettings.d.ts.map +1 -1
- package/lib/settings/PolicySettings.js.map +1 -1
- package/lib/settings/ReligionSettings.d.ts.map +1 -1
- package/lib/settings/ReligionSettings.js.map +1 -1
- package/lib/settings/ResetBonfireSettings.d.ts.map +1 -1
- package/lib/settings/ResetBonfireSettings.js.map +1 -1
- package/lib/settings/ResetReligionSettings.d.ts.map +1 -1
- package/lib/settings/ResetReligionSettings.js.map +1 -1
- package/lib/settings/ResetResourcesSettings.d.ts.map +1 -1
- package/lib/settings/ResetResourcesSettings.js.map +1 -1
- package/lib/settings/ResetSettings.d.ts.map +1 -1
- package/lib/settings/ResetSettings.js.map +1 -1
- package/lib/settings/ResetSpaceSettings.d.ts.map +1 -1
- package/lib/settings/ResetSpaceSettings.js.map +1 -1
- package/lib/settings/ResetTimeSettings.d.ts.map +1 -1
- package/lib/settings/ResetTimeSettings.js.map +1 -1
- package/lib/settings/ResetUpgradeSettings.d.ts.map +1 -1
- package/lib/settings/ResetUpgradeSettings.js.map +1 -1
- package/lib/settings/ResourcesSettings.d.ts.map +1 -1
- package/lib/settings/ResourcesSettings.js +1 -1
- package/lib/settings/ResourcesSettings.js.map +1 -1
- package/lib/settings/ScienceSettings.d.ts.map +1 -1
- package/lib/settings/ScienceSettings.js.map +1 -1
- package/lib/settings/Settings.d.ts.map +1 -1
- package/lib/settings/Settings.js.map +1 -1
- package/lib/settings/SpaceSettings.d.ts.map +1 -1
- package/lib/settings/SpaceSettings.js.map +1 -1
- package/lib/settings/StateSettings.d.ts.map +1 -1
- package/lib/settings/StateSettings.js.map +1 -1
- package/lib/settings/TechSettings.d.ts.map +1 -1
- package/lib/settings/TechSettings.js.map +1 -1
- package/lib/settings/TimeControlSettings.d.ts.map +1 -1
- package/lib/settings/TimeControlSettings.js.map +1 -1
- package/lib/settings/TimeSettings.d.ts.map +1 -1
- package/lib/settings/TimeSettings.js.map +1 -1
- package/lib/settings/TimeSkipHeatSettings.d.ts.map +1 -1
- package/lib/settings/TimeSkipHeatSettings.js.map +1 -1
- package/lib/settings/TimeSkipSettings.d.ts.map +1 -1
- package/lib/settings/TimeSkipSettings.js.map +1 -1
- package/lib/settings/TradeSettings.d.ts.map +1 -1
- package/lib/settings/TradeSettings.js +2 -2
- package/lib/settings/TradeSettings.js.map +1 -1
- package/lib/settings/UpgradeSettings.d.ts.map +1 -1
- package/lib/settings/UpgradeSettings.js.map +1 -1
- package/lib/settings/VillageSettings.d.ts.map +1 -1
- package/lib/settings/VillageSettings.js.map +1 -1
- package/lib/settings/WorkshopSettings.d.ts.map +1 -1
- package/lib/settings/WorkshopSettings.js.map +1 -1
- package/lib/types/game.d.ts +2 -2
- package/lib/types/game.d.ts.map +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/village.d.ts.map +1 -1
- package/lib/ui/BonfireSettingsUi.d.ts +1 -1
- package/lib/ui/BonfireSettingsUi.d.ts.map +1 -1
- package/lib/ui/BonfireSettingsUi.js +5 -5
- package/lib/ui/BonfireSettingsUi.js.map +1 -1
- package/lib/ui/BuildSectionTools.js +4 -4
- package/lib/ui/BuildSectionTools.js.map +1 -1
- package/lib/ui/BuildingUpgradeSettingsUi.js +4 -4
- package/lib/ui/BuildingUpgradeSettingsUi.js.map +1 -1
- package/lib/ui/EmbassySettingsUi.d.ts +1 -1
- package/lib/ui/EmbassySettingsUi.d.ts.map +1 -1
- package/lib/ui/EmbassySettingsUi.js +8 -8
- package/lib/ui/EmbassySettingsUi.js.map +1 -1
- package/lib/ui/EngineSettingsUi.d.ts +1 -1
- package/lib/ui/EngineSettingsUi.d.ts.map +1 -1
- package/lib/ui/EngineSettingsUi.js +1 -1
- package/lib/ui/EngineSettingsUi.js.map +1 -1
- package/lib/ui/InternalsUi.js +1 -1
- package/lib/ui/InternalsUi.js.map +1 -1
- package/lib/ui/LogFilterSettingsUi.js +1 -1
- package/lib/ui/LogFilterSettingsUi.js.map +1 -1
- package/lib/ui/MissionSettingsUi.js +3 -3
- package/lib/ui/MissionSettingsUi.js.map +1 -1
- package/lib/ui/PolicySettingsUi.js +3 -3
- package/lib/ui/PolicySettingsUi.js.map +1 -1
- package/lib/ui/ReligionSettingsUi.d.ts +1 -2
- package/lib/ui/ReligionSettingsUi.d.ts.map +1 -1
- package/lib/ui/ReligionSettingsUi.js +27 -27
- package/lib/ui/ReligionSettingsUi.js.map +1 -1
- package/lib/ui/ResetBonfireSettingsUi.d.ts.map +1 -1
- package/lib/ui/ResetBonfireSettingsUi.js +10 -8
- package/lib/ui/ResetBonfireSettingsUi.js.map +1 -1
- package/lib/ui/ResetReligionSettingsUi.d.ts.map +1 -1
- package/lib/ui/ResetReligionSettingsUi.js +10 -5
- package/lib/ui/ResetReligionSettingsUi.js.map +1 -1
- package/lib/ui/ResetResourcesSettingsUi.d.ts.map +1 -1
- package/lib/ui/ResetResourcesSettingsUi.js +11 -6
- package/lib/ui/ResetResourcesSettingsUi.js.map +1 -1
- package/lib/ui/ResetSettingsUi.d.ts.map +1 -1
- package/lib/ui/ResetSettingsUi.js +5 -5
- package/lib/ui/ResetSettingsUi.js.map +1 -1
- package/lib/ui/ResetSpaceSettingsUi.d.ts.map +1 -1
- package/lib/ui/ResetSpaceSettingsUi.js +10 -5
- package/lib/ui/ResetSpaceSettingsUi.js.map +1 -1
- package/lib/ui/ResetTimeSettingsUi.d.ts.map +1 -1
- package/lib/ui/ResetTimeSettingsUi.js +10 -5
- package/lib/ui/ResetTimeSettingsUi.js.map +1 -1
- package/lib/ui/ResetUpgradesSettingsUi.js +1 -1
- package/lib/ui/ResetUpgradesSettingsUi.js.map +1 -1
- package/lib/ui/ResourcesSettingsUi.d.ts.map +1 -1
- package/lib/ui/ResourcesSettingsUi.js +2 -2
- package/lib/ui/ResourcesSettingsUi.js.map +1 -1
- package/lib/ui/ScienceSettingsUi.d.ts +0 -1
- package/lib/ui/ScienceSettingsUi.d.ts.map +1 -1
- package/lib/ui/ScienceSettingsUi.js +15 -15
- package/lib/ui/ScienceSettingsUi.js.map +1 -1
- package/lib/ui/SpaceSettingsUi.d.ts +1 -1
- package/lib/ui/SpaceSettingsUi.d.ts.map +1 -1
- package/lib/ui/SpaceSettingsUi.js +5 -5
- package/lib/ui/SpaceSettingsUi.js.map +1 -1
- package/lib/ui/StateManagementUi.d.ts +0 -1
- package/lib/ui/StateManagementUi.d.ts.map +1 -1
- package/lib/ui/StateManagementUi.js +12 -12
- package/lib/ui/StateManagementUi.js.map +1 -1
- package/lib/ui/TechSettingsUi.d.ts +1 -1
- package/lib/ui/TechSettingsUi.d.ts.map +1 -1
- package/lib/ui/TechSettingsUi.js +7 -7
- package/lib/ui/TechSettingsUi.js.map +1 -1
- package/lib/ui/TimeControlSettingsUi.d.ts.map +1 -1
- package/lib/ui/TimeControlSettingsUi.js +6 -6
- package/lib/ui/TimeControlSettingsUi.js.map +1 -1
- package/lib/ui/TimeSettingsUi.d.ts +1 -1
- package/lib/ui/TimeSettingsUi.d.ts.map +1 -1
- package/lib/ui/TimeSettingsUi.js +4 -4
- package/lib/ui/TimeSettingsUi.js.map +1 -1
- package/lib/ui/TimeSkipHeatSettingsUi.d.ts +1 -1
- package/lib/ui/TimeSkipHeatSettingsUi.d.ts.map +1 -1
- package/lib/ui/TimeSkipHeatSettingsUi.js +6 -6
- package/lib/ui/TimeSkipHeatSettingsUi.js.map +1 -1
- package/lib/ui/TimeSkipSettingsUi.d.ts.map +1 -1
- package/lib/ui/TimeSkipSettingsUi.js +4 -4
- package/lib/ui/TimeSkipSettingsUi.js.map +1 -1
- package/lib/ui/TradeSettingsUi.d.ts +1 -1
- package/lib/ui/TradeSettingsUi.d.ts.map +1 -1
- package/lib/ui/TradeSettingsUi.js +17 -19
- package/lib/ui/TradeSettingsUi.js.map +1 -1
- package/lib/ui/UpgradeSettingsUi.d.ts +1 -1
- package/lib/ui/UpgradeSettingsUi.d.ts.map +1 -1
- package/lib/ui/UpgradeSettingsUi.js +7 -7
- package/lib/ui/UpgradeSettingsUi.js.map +1 -1
- package/lib/ui/UserInterface.d.ts +1 -3
- package/lib/ui/UserInterface.d.ts.map +1 -1
- package/lib/ui/UserInterface.js +14 -16
- package/lib/ui/UserInterface.js.map +1 -1
- package/lib/ui/VillageSettingsUi.d.ts.map +1 -1
- package/lib/ui/VillageSettingsUi.js +14 -14
- package/lib/ui/VillageSettingsUi.js.map +1 -1
- package/lib/ui/WorkshopSettingsUi.d.ts +1 -1
- package/lib/ui/WorkshopSettingsUi.d.ts.map +1 -1
- package/lib/ui/WorkshopSettingsUi.js +9 -9
- package/lib/ui/WorkshopSettingsUi.js.map +1 -1
- package/lib/ui/components/Button.d.ts +0 -2
- package/lib/ui/components/Button.d.ts.map +1 -1
- package/lib/ui/components/Button.js +24 -22
- package/lib/ui/components/Button.js.map +1 -1
- package/lib/ui/components/CollapsiblePanel.d.ts +1 -3
- package/lib/ui/components/CollapsiblePanel.d.ts.map +1 -1
- package/lib/ui/components/CollapsiblePanel.js +4 -6
- package/lib/ui/components/CollapsiblePanel.js.map +1 -1
- package/lib/ui/components/Container.d.ts +0 -2
- package/lib/ui/components/Container.d.ts.map +1 -1
- package/lib/ui/components/Container.js +0 -2
- package/lib/ui/components/Container.js.map +1 -1
- package/lib/ui/components/CyclesList.js +2 -2
- package/lib/ui/components/CyclesList.js.map +1 -1
- package/lib/ui/components/Delimiter.d.ts +0 -2
- package/lib/ui/components/Delimiter.d.ts.map +1 -1
- package/lib/ui/components/Delimiter.js +1 -4
- package/lib/ui/components/Delimiter.js.map +1 -1
- package/lib/ui/components/Dialog.d.ts +1 -3
- package/lib/ui/components/Dialog.d.ts.map +1 -1
- package/lib/ui/components/Dialog.js +0 -2
- package/lib/ui/components/Dialog.js.map +1 -1
- package/lib/ui/components/ExplainerListItem.d.ts +0 -2
- package/lib/ui/components/ExplainerListItem.d.ts.map +1 -1
- package/lib/ui/components/ExplainerListItem.js +1 -4
- package/lib/ui/components/ExplainerListItem.js.map +1 -1
- package/lib/ui/components/Fieldset.d.ts +0 -2
- package/lib/ui/components/Fieldset.d.ts.map +1 -1
- package/lib/ui/components/Fieldset.js +3 -6
- package/lib/ui/components/Fieldset.js.map +1 -1
- package/lib/ui/components/HeaderListItem.d.ts +0 -2
- package/lib/ui/components/HeaderListItem.d.ts.map +1 -1
- package/lib/ui/components/HeaderListItem.js +1 -4
- package/lib/ui/components/HeaderListItem.js.map +1 -1
- package/lib/ui/components/IconButton.d.ts +0 -2
- package/lib/ui/components/IconButton.d.ts.map +1 -1
- package/lib/ui/components/IconButton.js +19 -18
- package/lib/ui/components/IconButton.js.map +1 -1
- package/lib/ui/components/IconSettingsPanel.d.ts.map +1 -1
- package/lib/ui/components/IconSettingsPanel.js +8 -1
- package/lib/ui/components/IconSettingsPanel.js.map +1 -1
- package/lib/ui/components/Input.d.ts +1 -3
- package/lib/ui/components/Input.d.ts.map +1 -1
- package/lib/ui/components/Input.js +0 -2
- package/lib/ui/components/Input.js.map +1 -1
- package/lib/ui/components/ListItem.d.ts +0 -2
- package/lib/ui/components/ListItem.d.ts.map +1 -1
- package/lib/ui/components/ListItem.js +0 -2
- package/lib/ui/components/ListItem.js.map +1 -1
- package/lib/ui/components/OptionsListItem.d.ts +0 -2
- package/lib/ui/components/OptionsListItem.d.ts.map +1 -1
- package/lib/ui/components/OptionsListItem.js +12 -10
- package/lib/ui/components/OptionsListItem.js.map +1 -1
- package/lib/ui/components/Paragraph.d.ts +0 -2
- package/lib/ui/components/Paragraph.d.ts.map +1 -1
- package/lib/ui/components/Paragraph.js +0 -2
- package/lib/ui/components/Paragraph.js.map +1 -1
- package/lib/ui/components/RadioItem.d.ts +0 -2
- package/lib/ui/components/RadioItem.d.ts.map +1 -1
- package/lib/ui/components/RadioItem.js +10 -10
- package/lib/ui/components/RadioItem.js.map +1 -1
- package/lib/ui/components/SeasonsList.js +2 -2
- package/lib/ui/components/SeasonsList.js.map +1 -1
- package/lib/ui/components/SettingLimitedListItem.d.ts +1 -1
- package/lib/ui/components/SettingLimitedListItem.d.ts.map +1 -1
- package/lib/ui/components/SettingLimitedListItem.js +1 -1
- package/lib/ui/components/SettingLimitedListItem.js.map +1 -1
- package/lib/ui/components/SettingLimitedTriggerListItem.d.ts +1 -1
- package/lib/ui/components/SettingLimitedTriggerListItem.d.ts.map +1 -1
- package/lib/ui/components/SettingLimitedTriggerListItem.js +1 -1
- package/lib/ui/components/SettingLimitedTriggerListItem.js.map +1 -1
- package/lib/ui/components/SettingListItem.d.ts +0 -1
- package/lib/ui/components/SettingListItem.d.ts.map +1 -1
- package/lib/ui/components/SettingListItem.js +25 -21
- package/lib/ui/components/SettingListItem.js.map +1 -1
- package/lib/ui/components/SettingMaxListItem.d.ts +1 -1
- package/lib/ui/components/SettingMaxListItem.d.ts.map +1 -1
- package/lib/ui/components/SettingMaxListItem.js +1 -1
- package/lib/ui/components/SettingMaxListItem.js.map +1 -1
- package/lib/ui/components/SettingMaxTriggerListItem.d.ts +2 -2
- package/lib/ui/components/SettingMaxTriggerListItem.d.ts.map +1 -1
- package/lib/ui/components/SettingMaxTriggerListItem.js +2 -2
- package/lib/ui/components/SettingMaxTriggerListItem.js.map +1 -1
- package/lib/ui/components/SettingTriggerListItem.d.ts +1 -1
- package/lib/ui/components/SettingTriggerListItem.d.ts.map +1 -1
- package/lib/ui/components/SettingTriggerListItem.js +1 -1
- package/lib/ui/components/SettingTriggerListItem.js.map +1 -1
- package/lib/ui/components/SettingsList.d.ts +0 -2
- package/lib/ui/components/SettingsList.d.ts.map +1 -1
- package/lib/ui/components/SettingsList.js +5 -8
- package/lib/ui/components/SettingsList.js.map +1 -1
- package/lib/ui/components/TextButton.d.ts +0 -2
- package/lib/ui/components/TextButton.d.ts.map +1 -1
- package/lib/ui/components/TextButton.js +14 -14
- package/lib/ui/components/TextButton.js.map +1 -1
- package/lib/ui/components/UiComponent.d.ts +7 -7
- package/lib/ui/components/UiComponent.d.ts.map +1 -1
- package/lib/ui/components/UiComponent.js +52 -7
- package/lib/ui/components/UiComponent.js.map +1 -1
- package/lib/ui/components/WorkshopCraftListItem.d.ts +3 -3
- package/lib/ui/components/WorkshopCraftListItem.d.ts.map +1 -1
- package/lib/ui/components/WorkshopCraftListItem.js +3 -3
- package/lib/ui/components/WorkshopCraftListItem.js.map +1 -1
- package/lib/ui/components/buttons/ConsumeButton.d.ts +0 -1
- package/lib/ui/components/buttons/ConsumeButton.d.ts.map +1 -1
- package/lib/ui/components/buttons/ConsumeButton.js +8 -8
- package/lib/ui/components/buttons/ConsumeButton.js.map +1 -1
- package/lib/ui/components/buttons/ExpandoButton.d.ts +0 -2
- package/lib/ui/components/buttons/ExpandoButton.d.ts.map +1 -1
- package/lib/ui/components/buttons/ExpandoButton.js +11 -10
- package/lib/ui/components/buttons/ExpandoButton.js.map +1 -1
- package/lib/ui/components/buttons/LimitedButton.d.ts +0 -1
- package/lib/ui/components/buttons/LimitedButton.d.ts.map +1 -1
- package/lib/ui/components/buttons/LimitedButton.js +9 -10
- package/lib/ui/components/buttons/LimitedButton.js.map +1 -1
- package/lib/ui/components/buttons/PaddingButton.d.ts +0 -2
- package/lib/ui/components/buttons/PaddingButton.d.ts.map +1 -1
- package/lib/ui/components/buttons/PaddingButton.js +1 -4
- package/lib/ui/components/buttons/PaddingButton.js.map +1 -1
- package/lib/ui/components/buttons/StockButton.d.ts +0 -1
- package/lib/ui/components/buttons/StockButton.d.ts.map +1 -1
- package/lib/ui/components/buttons/StockButton.js +13 -14
- package/lib/ui/components/buttons/StockButton.js.map +1 -1
- package/lib/ui/components/buttons/TriggerButton.d.ts +1 -2
- package/lib/ui/components/buttons/TriggerButton.d.ts.map +1 -1
- package/lib/ui/components/buttons/TriggerButton.js +13 -16
- package/lib/ui/components/buttons/TriggerButton.js.map +1 -1
- package/lib/ui/components/buttons-text/BuyButton.d.ts +0 -1
- package/lib/ui/components/buttons-text/BuyButton.d.ts.map +1 -1
- package/lib/ui/components/buttons-text/BuyButton.js +7 -5
- package/lib/ui/components/buttons-text/BuyButton.js.map +1 -1
- package/lib/ui/components/buttons-text/SellButton.d.ts +0 -1
- package/lib/ui/components/buttons-text/SellButton.d.ts.map +1 -1
- package/lib/ui/components/buttons-text/SellButton.js +7 -5
- package/lib/ui/components/buttons-text/SellButton.js.map +1 -1
- package/output/kitten-scientists.inject.js +5769 -5747
- package/package.json +4 -2
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { isNil } from "@oliversalzburg/js-utils/data/nil.js";
|
|
2
|
-
import { InvalidOperationError } from "@oliversalzburg/js-utils/errors/InvalidOperationError.js";
|
|
3
1
|
import { Icons } from "../../../images/Icons.js";
|
|
4
2
|
import { SettingTrigger, } from "../../../settings/Settings.js";
|
|
5
3
|
import { Button } from "../Button.js";
|
|
@@ -7,25 +5,24 @@ export class TriggerButton extends Button {
|
|
|
7
5
|
behavior;
|
|
8
6
|
setting;
|
|
9
7
|
constructor(parent, setting, _locale, options) {
|
|
10
|
-
super(parent, "", Icons.Trigger,
|
|
8
|
+
super(parent, "", Icons.Trigger, {
|
|
9
|
+
...options,
|
|
10
|
+
onRefresh: () => {
|
|
11
|
+
const triggerValue = this.behavior === "integer"
|
|
12
|
+
? this.host.renderAbsolute(this.setting.trigger, "invariant")
|
|
13
|
+
: this.host.renderPercentage(this.setting.trigger, "invariant", true);
|
|
14
|
+
this.updateTitle(this.host.engine.i18n("ui.trigger", [triggerValue]));
|
|
15
|
+
if (this.options?.renderLabel ?? true) {
|
|
16
|
+
this.updateLabel(triggerValue);
|
|
17
|
+
}
|
|
18
|
+
options?.onRefresh?.();
|
|
19
|
+
},
|
|
20
|
+
});
|
|
11
21
|
this.behavior = setting instanceof SettingTrigger ? "percentage" : "integer";
|
|
12
|
-
if (isNil(options?.onClick)) {
|
|
13
|
-
throw new InvalidOperationError("Missing click handler on TriggerButton.");
|
|
14
|
-
}
|
|
15
22
|
this.setting = setting;
|
|
16
23
|
}
|
|
17
24
|
toString() {
|
|
18
25
|
return `[${TriggerButton.name}#${this.componentId}]`;
|
|
19
26
|
}
|
|
20
|
-
refreshUi() {
|
|
21
|
-
super.refreshUi();
|
|
22
|
-
const triggerValue = this.behavior === "integer"
|
|
23
|
-
? this.host.renderAbsolute(this.setting.trigger, "invariant")
|
|
24
|
-
: this.host.renderPercentage(this.setting.trigger, "invariant", true);
|
|
25
|
-
this.updateTitle(this.host.engine.i18n("ui.trigger", [triggerValue]));
|
|
26
|
-
if (this.options?.renderLabel ?? true) {
|
|
27
|
-
this.updateLabel(triggerValue);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
27
|
}
|
|
31
28
|
//# sourceMappingURL=TriggerButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerButton.js","sourceRoot":"","sources":["../../../../source/ui/components/buttons/TriggerButton.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TriggerButton.js","sourceRoot":"","sources":["../../../../source/ui/components/buttons/TriggerButton.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAGL,cAAc,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,MAAM,EAAsB,MAAM,cAAc,CAAC;AAU1D,MAAM,OAAO,aAAc,SAAQ,MAAM;IAE9B,QAAQ,CAAwB;IAChC,OAAO,CAAoC;IAEpD,YACE,MAAmB,EACnB,OAA0C,EAC1C,OAAwC,EACxC,OAA6B;QAE7B,KAAK,CAAC,MAAM,EAAE,EAAE,EAAE,KAAK,CAAC,OAAO,EAAE;YAC/B,GAAG,OAAO;YACV,SAAS,EAAE,GAAG,EAAE;gBACd,MAAM,YAAY,GAChB,IAAI,CAAC,QAAQ,KAAK,SAAS;oBACzB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC;oBAC7D,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC;gBAE1E,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;gBACtE,IAAI,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,IAAI,EAAE,CAAC;oBACtC,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;gBACjC,CAAC;gBACD,OAAO,EAAE,SAAS,EAAE,EAAE,CAAC;YACzB,CAAC;SACF,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,GAAG,OAAO,YAAY,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;QAE7E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,aAAa,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,GAAG,CAAC;IACvD,CAAC;CACF"}
|
|
@@ -8,6 +8,5 @@ export declare class BuyButton extends TextButton {
|
|
|
8
8
|
readonly setting: SettingBuy;
|
|
9
9
|
constructor(parent: UiComponent, setting: SettingBuy, locale: SettingOptions<SupportedLocale>, options?: BuyButtonOptions);
|
|
10
10
|
toString(): string;
|
|
11
|
-
refreshUi(): void;
|
|
12
11
|
}
|
|
13
12
|
//# sourceMappingURL=BuyButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuyButton.d.ts","sourceRoot":"","sources":["../../../../source/ui/components/buttons-text/BuyButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAEhF,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,SAAS,CAAC,GAAG,iBAAiB,CAAC;AAEvE,qBAAa,SAAU,SAAQ,UAAU;IACvC,SAAiB,OAAO,EAAE,gBAAgB,CAAC;IAC3C,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC;gBAG3B,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,UAAU,EACnB,MAAM,EAAE,cAAc,CAAC,eAAe,CAAC,EACvC,OAAO,CAAC,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"BuyButton.d.ts","sourceRoot":"","sources":["../../../../source/ui/components/buttons-text/BuyButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAEhF,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,SAAS,CAAC,GAAG,iBAAiB,CAAC;AAEvE,qBAAa,SAAU,SAAQ,UAAU;IACvC,SAAiB,OAAO,EAAE,gBAAgB,CAAC;IAC3C,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC;gBAG3B,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,UAAU,EACnB,MAAM,EAAE,cAAc,CAAC,eAAe,CAAC,EACvC,OAAO,CAAC,EAAE,gBAAgB;IA4C5B,QAAQ,IAAI,MAAM;CAGnB"}
|
|
@@ -18,6 +18,13 @@ export class BuyButton extends TextButton {
|
|
|
18
18
|
}
|
|
19
19
|
setting.buy = parent.host.parseAbsolute(value) ?? setting.buy;
|
|
20
20
|
},
|
|
21
|
+
onRefresh: () => {
|
|
22
|
+
this.element.prop("title", this.host.engine.i18n("blackcoin.buy.title", [
|
|
23
|
+
this.host.renderAbsolute(this.setting.buy),
|
|
24
|
+
]));
|
|
25
|
+
this.element.text(this.host.engine.i18n("blackcoin.buy", [this.host.renderAbsolute(this.setting.buy)]));
|
|
26
|
+
options?.onRefresh?.();
|
|
27
|
+
},
|
|
21
28
|
});
|
|
22
29
|
this.element.addClass(styles.buyButton);
|
|
23
30
|
this.setting = setting;
|
|
@@ -25,10 +32,5 @@ export class BuyButton extends TextButton {
|
|
|
25
32
|
toString() {
|
|
26
33
|
return `[${BuyButton.name}#${this.componentId}]`;
|
|
27
34
|
}
|
|
28
|
-
refreshUi() {
|
|
29
|
-
super.refreshUi();
|
|
30
|
-
this.element.prop("title", this.host.engine.i18n("blackcoin.buy.title", [this.host.renderAbsolute(this.setting.buy)]));
|
|
31
|
-
this.element.text(this.host.engine.i18n("blackcoin.buy", [this.host.renderAbsolute(this.setting.buy)]));
|
|
32
|
-
}
|
|
33
35
|
}
|
|
34
36
|
//# sourceMappingURL=BuyButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuyButton.js","sourceRoot":"","sources":["../../../../source/ui/components/buttons-text/BuyButton.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,UAAU,EAA0B,MAAM,kBAAkB,CAAC;AAEtE,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAI5C,MAAM,OAAO,SAAU,SAAQ,UAAU;IAE9B,OAAO,CAAa;IAE7B,YACE,MAAmB,EACnB,OAAmB,EACnB,MAAuC,EACvC,OAA0B;QAE1B,KAAK,CAAC,MAAM,EAAE,SAAS,EAAE;YACvB,OAAO,EAAE,KAAK,IAAI,EAAE;gBAClB,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,MAAM,CAC/B,MAAM,EACN,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAAC,EAC/C,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,2BAA2B,EAAE;oBACnD,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,QAAQ,CAAC;iBACzD,CAAC,EACF,M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C;CACF"}
|
|
@@ -8,6 +8,5 @@ export declare class SellButton extends TextButton {
|
|
|
8
8
|
readonly setting: SettingSell;
|
|
9
9
|
constructor(parent: UiComponent, setting: SettingSell, locale: SettingOptions<SupportedLocale>, options?: SellButtonOptions);
|
|
10
10
|
toString(): string;
|
|
11
|
-
refreshUi(): void;
|
|
12
11
|
}
|
|
13
12
|
//# sourceMappingURL=SellButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SellButton.d.ts","sourceRoot":"","sources":["../../../../source/ui/components/buttons-text/SellButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEjF,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,UAAU,CAAC,GAAG,iBAAiB,CAAC;AAEzE,qBAAa,UAAW,SAAQ,UAAU;IACxC,SAAiB,OAAO,EAAE,iBAAiB,CAAC;IAC5C,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;gBAG5B,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,cAAc,CAAC,eAAe,CAAC,EACvC,OAAO,CAAC,EAAE,iBAAiB;
|
|
1
|
+
{"version":3,"file":"SellButton.d.ts","sourceRoot":"","sources":["../../../../source/ui/components/buttons-text/SellButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEjF,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,UAAU,CAAC,GAAG,iBAAiB,CAAC;AAEzE,qBAAa,UAAW,SAAQ,UAAU;IACxC,SAAiB,OAAO,EAAE,iBAAiB,CAAC;IAC5C,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;gBAG5B,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,cAAc,CAAC,eAAe,CAAC,EACvC,OAAO,CAAC,EAAE,iBAAiB;IA4C7B,QAAQ,IAAI,MAAM;CAGnB"}
|
|
@@ -18,6 +18,13 @@ export class SellButton extends TextButton {
|
|
|
18
18
|
}
|
|
19
19
|
setting.sell = parent.host.parseAbsolute(value) ?? setting.sell;
|
|
20
20
|
},
|
|
21
|
+
onRefresh: () => {
|
|
22
|
+
this.element.prop("title", this.host.engine.i18n("blackcoin.sell.title", [
|
|
23
|
+
this.host.renderAbsolute(this.setting.sell),
|
|
24
|
+
]));
|
|
25
|
+
this.element.text(this.host.engine.i18n("blackcoin.sell", [this.host.renderAbsolute(this.setting.sell)]));
|
|
26
|
+
options?.onRefresh?.();
|
|
27
|
+
},
|
|
21
28
|
});
|
|
22
29
|
this.element.addClass(styles.sellButton);
|
|
23
30
|
this.setting = setting;
|
|
@@ -25,10 +32,5 @@ export class SellButton extends TextButton {
|
|
|
25
32
|
toString() {
|
|
26
33
|
return `[${SellButton.name}#${this.componentId}]`;
|
|
27
34
|
}
|
|
28
|
-
refreshUi() {
|
|
29
|
-
super.refreshUi();
|
|
30
|
-
this.element.prop("title", this.host.engine.i18n("blackcoin.sell.title", [this.host.renderAbsolute(this.setting.sell)]));
|
|
31
|
-
this.element.text(this.host.engine.i18n("blackcoin.sell", [this.host.renderAbsolute(this.setting.sell)]));
|
|
32
|
-
}
|
|
33
35
|
}
|
|
34
36
|
//# sourceMappingURL=SellButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SellButton.js","sourceRoot":"","sources":["../../../../source/ui/components/buttons-text/SellButton.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,UAAU,EAA0B,MAAM,kBAAkB,CAAC;AAEtE,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAI7C,MAAM,OAAO,UAAW,SAAQ,UAAU;IAE/B,OAAO,CAAc;IAE9B,YACE,MAAmB,EACnB,OAAoB,EACpB,MAAuC,EACvC,OAA2B;QAE3B,KAAK,CAAC,MAAM,EAAE,SAAS,EAAE;YACvB,OAAO,EAAE,KAAK,IAAI,EAAE;gBAClB,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,MAAM,CAC/B,MAAM,EACN,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,uBAAuB,CAAC,EAChD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,4BAA4B,EAAE;oBACpD,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC;iBAC1D,CAAC,EACF,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,EACxC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAC1D,CAAC;gBAEF,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;oBACxB,OAAO;gBACT,CAAC;gBAED,IAAI,KAAK,KAAK,EAAE,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;oBAC1C,OAAO,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;oBAClB,OAAO;gBACT,CAAC;gBAED,OAAO,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,OAAO,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