From 89412a224c5bb7328f564c1c4c7f08d5a4c7d306 Mon Sep 17 00:00:00 2001 From: Matteias Collet Date: Sun, 28 Jun 2020 00:35:46 +0200 Subject: [PATCH] add optgroup component --- docs/.vuepress/components/Generator.vue | 2 +- .../components/GroupSelectComponent.vue | 85 +++++++ docs/.vuepress/components/StageLoader.vue | 230 +++--------------- docs/.vuepress/data/stageLoaderLevels.json | 163 +++++++++++++ docs/.vuepress/data/stageLoaderPresets.json | 105 ++++++++ 5 files changed, 384 insertions(+), 201 deletions(-) create mode 100644 docs/.vuepress/components/GroupSelectComponent.vue create mode 100644 docs/.vuepress/data/stageLoaderLevels.json create mode 100644 docs/.vuepress/data/stageLoaderPresets.json diff --git a/docs/.vuepress/components/Generator.vue b/docs/.vuepress/components/Generator.vue index 3109b99..953e9df 100644 --- a/docs/.vuepress/components/Generator.vue +++ b/docs/.vuepress/components/Generator.vue @@ -175,7 +175,7 @@ export default { this.selectedFormat = e; }, onStageLoaderChanged(e) { - this.useStageLoader = e; + this.useStageLoader = e === true || e === "true"; }, onCheatSelectionChanged(e) { this.selectedCheats = e; diff --git a/docs/.vuepress/components/GroupSelectComponent.vue b/docs/.vuepress/components/GroupSelectComponent.vue new file mode 100644 index 0000000..0cf3f30 --- /dev/null +++ b/docs/.vuepress/components/GroupSelectComponent.vue @@ -0,0 +1,85 @@ + + + + + diff --git a/docs/.vuepress/components/StageLoader.vue b/docs/.vuepress/components/StageLoader.vue index 187e73e..b5ccde5 100644 --- a/docs/.vuepress/components/StageLoader.vue +++ b/docs/.vuepress/components/StageLoader.vue @@ -19,220 +19,44 @@
-
-
- -
-
- -
-
- -
+
+ +
+
+