From e2126472b2bb7ff1204207bacc8ebdec63e194ff Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 27 Feb 2022 13:49:34 -0600 Subject: [PATCH] Fixed runtime issues with vue Entire demo tree has been tested and is fully functional, including all the options and save manager functionality --- public/index.html | 5 +- src/App.vue | 4 +- src/components/common/notify.css | 22 - src/components/common/table.css | 56 +++ src/components/features/Achievement.vue | 72 +-- src/components/features/Bar.vue | 88 ++-- src/components/features/Challenge.vue | 159 ++++--- src/components/features/Clickable.vue | 105 +++-- src/components/features/Grid.vue | 40 +- src/components/features/GridCell.vue | 46 +- src/components/features/Infobox.vue | 57 ++- src/components/features/MainDisplay.vue | 13 +- src/components/features/MarkNode.vue | 2 +- src/components/features/Milestone.vue | 97 ++-- src/components/features/Tab.vue | 6 +- src/components/features/TabButton.vue | 51 ++- src/components/features/TabFamily.vue | 192 +++++--- src/components/features/Upgrade.vue | 132 +++--- src/components/features/tree/Tree.vue | 65 ++- src/components/features/tree/TreeNode.vue | 67 ++- src/components/fields/Select.vue | 31 +- src/components/fields/Slider.vue | 7 +- src/components/fields/Text.vue | 1 + src/components/fields/Toggle.vue | 10 +- src/components/system/Column.vue | 11 +- src/components/system/Game.vue | 15 +- src/components/system/Layer.vue | 35 +- src/components/system/Link.vue | 2 + src/components/system/LinkNode.vue | 4 +- src/components/system/Links.vue | 27 +- src/components/system/Modal.vue | 2 +- src/components/system/Nav.vue | 2 +- src/components/system/Options.vue | 32 +- src/components/system/Resource.vue | 7 +- src/components/system/Row.vue | 11 +- src/components/system/Save.vue | 4 +- src/components/system/SavesManager.vue | 33 +- src/components/system/Sticky.vue | 1 + src/components/system/TPS.vue | 33 +- src/components/system/Tooltip.vue | 32 +- src/components/system/VerticalRule.vue | 2 +- src/data/common.tsx | 133 +++--- src/data/layers/aca/a.tsx | 88 ++-- src/data/layers/aca/c.tsx | 531 ++++++++++++---------- src/data/layers/aca/f.tsx | 76 ++-- src/data/mod.tsx | 77 ++-- src/data/modInfo.json | 2 +- src/data/themes.ts | 4 +- src/features/achievement.tsx | 54 ++- src/features/bar.ts | 82 +++- src/features/board.ts | 220 +++++---- src/features/buyable.tsx | 226 +++++---- src/features/challenge.ts | 230 ++++++---- src/features/clickable.ts | 61 ++- src/features/conversion.ts | 176 ++++--- src/features/feature.ts | 28 +- src/features/grid.ts | 160 ++++--- src/features/hotkey.ts | 21 +- src/features/infobox.ts | 68 ++- src/features/milestone.tsx | 99 ++-- src/features/reset.ts | 62 ++- src/features/resource.ts | 92 ++-- src/features/tab.ts | 32 +- src/features/tabFamily.ts | 90 ++-- src/features/tooltip.ts | 5 + src/features/tree.ts | 134 +++--- src/features/upgrade.ts | 144 +++--- src/game/events.ts | 4 + src/game/layers.ts | 56 +-- src/game/notifications.ts | 13 + src/game/player.ts | 15 +- src/game/settings.ts | 6 +- src/main.ts | 8 + src/util/computed.ts | 16 +- src/util/proxies.ts | 81 ++-- src/util/save.ts | 4 +- src/util/vue.tsx | 124 ++--- 77 files changed, 2941 insertions(+), 1862 deletions(-) delete mode 100644 src/components/common/notify.css diff --git a/public/index.html b/public/index.html index 5a9799b..af732bd 100644 --- a/public/index.html +++ b/public/index.html @@ -5,7 +5,10 @@ - + + + + <%= htmlWebpackPlugin.options.title %> diff --git a/src/App.vue b/src/App.vue index b662bbc..ac86be1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,14 +3,14 @@
diff --git a/src/components/features/GridCell.vue b/src/components/features/GridCell.vue index 54f31bb..741befb 100644 --- a/src/components/features/GridCell.vue +++ b/src/components/features/GridCell.vue @@ -1,9 +1,13 @@