From 8f0f0e715b95a832b3814877893f07daef6d99df Mon Sep 17 00:00:00 2001 From: a Date: Thu, 7 Jul 2022 02:54:36 -0500 Subject: [PATCH] item moving --- src/App.vue | 21 ++- src/components/CharacterCard.vue | 14 +- src/components/CharacterInventory.vue | 89 ++++++++-- src/components/CharacterRoulette.vue | 5 +- src/components/OrderDisplay.vue | 127 +++++++++++++++ src/components/Sidebar.vue | 24 ++- src/lib/columns/column.ts | 5 +- src/lib/columns/column_impl.ts | 26 ++- src/lib/lifeto/api.ts | 37 +---- src/lib/lifeto/lifeto.ts | 43 +++-- src/lib/lifeto/order.ts | 226 ++++++++++++++++++++++++++ src/lib/lifeto/order_manager.ts | 155 ++++++++++++++++++ src/lib/lifeto/stateful.ts | 16 +- src/lib/session.ts | 50 +++--- src/lib/storage.ts | 24 ++- src/lib/table.ts | 34 +++- src/state/state.ts | 45 ++--- 17 files changed, 807 insertions(+), 134 deletions(-) create mode 100644 src/components/OrderDisplay.vue create mode 100644 src/lib/lifeto/order.ts create mode 100644 src/lib/lifeto/order_manager.ts diff --git a/src/App.vue b/src/App.vue index 0269914..d230c8d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,10 +3,15 @@ import CharacterInventory from "./components/CharacterInventory.vue" import Login from "./pages/login.vue" import CharacterRoulette from "./components/CharacterRoulette.vue"; import Sidebar from "./components/Sidebar.vue"; +import { loadStore } from "./state/state"; +import OrderDisplay from "./components/OrderDisplay.vue"; +loadStore()