From b91a7cdc28930326ee8888b66932a9ffa298a5f0 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Tue, 25 May 2021 20:57:02 -0500 Subject: [PATCH] Implemented proxies --- jsconfig.json | 5 + src/App.vue | 8 +- src/components/{system => }/fields/Select.vue | 0 src/components/{system => }/fields/Toggle.vue | 0 src/components/{system => }/fields/fields.css | 0 src/components/system/Info.vue | 6 +- src/components/system/LayerProvider.vue | 20 + src/components/system/LayerTab.vue | 24 + src/components/system/Nav.vue | 2 +- src/components/system/Options.vue | 16 +- src/components/system/TPS.vue | 2 +- src/components/system/Tabs.vue | 15 +- src/data/layers.js | 9 - src/data/layers/demo-infinity.js | 145 +++ src/data/layers/demo.js | 962 ++++++++++++++++++ src/data/mod.js | 101 +- src/data/modInfo.json | 19 + src/main.js | 5 +- src/store/index.js | 10 +- src/store/layers.js | 194 ++++ src/store/mutations.js | 16 - src/store/proxies.js | 168 +++ src/util/bignum.js | 10 +- src/util/break_eternity.js | 4 +- src/util/common.js | 8 + src/util/features.js | 73 ++ src/util/load.js | 9 +- 27 files changed, 1724 insertions(+), 107 deletions(-) create mode 100644 jsconfig.json rename src/components/{system => }/fields/Select.vue (100%) rename src/components/{system => }/fields/Toggle.vue (100%) rename src/components/{system => }/fields/fields.css (100%) create mode 100644 src/components/system/LayerProvider.vue create mode 100644 src/components/system/LayerTab.vue delete mode 100644 src/data/layers.js create mode 100644 src/data/layers/demo-infinity.js create mode 100644 src/data/layers/demo.js create mode 100644 src/data/modInfo.json create mode 100644 src/store/layers.js delete mode 100644 src/store/mutations.js create mode 100644 src/store/proxies.js create mode 100644 src/util/features.js diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..adc4c61 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,5 @@ +{ + "include": [ + "./src/components/**/*" + ] +} diff --git a/src/App.vue b/src/App.vue index 7f2d055..194c949 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,10 +7,10 @@ + + diff --git a/src/components/system/LayerTab.vue b/src/components/system/LayerTab.vue new file mode 100644 index 0000000..d5d630d --- /dev/null +++ b/src/components/system/LayerTab.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/src/components/system/Nav.vue b/src/components/system/Nav.vue index 3b4e394..7f2a83e 100644 --- a/src/components/system/Nav.vue +++ b/src/components/system/Nav.vue @@ -41,7 +41,7 @@