From 6ffb48b7b6506338edee0fe8c1a392dd2520d247 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Wed, 24 Mar 2021 16:23:39 +0200 Subject: [PATCH] Began migration to Vuetify 2.x expect a lot to be broken --- app/.meteor/packages | 6 +- app/.meteor/versions | 12 +- app/imports/ui/components/CoinValue.vue | 2 +- app/imports/ui/components/ColorPicker.vue | 2 +- app/imports/ui/components/ColumnLayout.vue | 2 +- app/imports/ui/components/IncrementButton.vue | 2 +- app/imports/ui/components/IncrementMenu.vue | 2 +- app/imports/ui/components/LabeledFab.vue | 2 +- app/imports/ui/components/MarkdownText.vue | 2 +- app/imports/ui/components/ToolbarCard.vue | 2 +- .../ui/components/TreeDetailLayout.vue | 4 +- .../computation/EmbedInlineComputations.vue | 2 +- .../ui/components/global/DatePicker.vue | 2 +- .../ui/components/global/IconPicker.vue | 6 +- .../ui/components/global/SmartCheckbox.vue | 2 +- .../ui/components/global/SmartCombobox.vue | 2 +- .../ui/components/global/SmartSelect.vue | 2 +- .../ui/components/global/SmartSwitch.vue | 2 +- app/imports/ui/components/global/SvgIcon.vue | 2 +- app/imports/ui/components/global/TextArea.vue | 2 +- .../ui/components/global/TextField.vue | 2 +- app/imports/ui/components/propertyToolbar.vue | 50 ++-- app/imports/ui/components/rolls/Check.vue | 8 +- .../ui/components/snackbars/Snackbars.vue | 2 +- app/imports/ui/components/tree/TreeNode.vue | 6 +- .../ui/components/tree/TreeNodeList.vue | 2 +- app/imports/ui/creature/CreatureForm.vue | 2 +- .../ui/creature/CreatureFormDialog.vue | 2 +- app/imports/ui/creature/CreatureListTile.vue | 24 +- app/imports/ui/creature/RestButton.vue | 2 +- .../character/CharacterCreationDialog.vue | 2 +- .../character/CharacterDeleteDialog.vue | 2 +- .../ui/creature/character/CharacterSheet.vue | 2 +- .../creature/character/CharacterSheetFab.vue | 2 +- .../character/CharacterSheetRightDrawer.vue | 2 +- .../character/CharacterSheetToolbar.vue | 40 ++- .../creature/character/MiniCharacterSheet.vue | 2 +- .../characterSheetTabs/CharacterTab.vue | 42 +-- .../characterSheetTabs/FeaturesTab.vue | 2 +- .../characterSheetTabs/InventoryTab.vue | 74 +++--- .../characterSheetTabs/SpellsTab.vue | 2 +- .../character/characterSheetTabs/StatsTab.vue | 18 +- .../character/characterSheetTabs/TreeTab.vue | 2 +- .../CreaturePropertiesTree.vue | 2 +- .../CreaturePropertyCreationDialog.vue | 2 +- .../CreaturePropertyDialog.vue | 4 +- .../CreaturePropertyFromLibraryDialog.vue | 2 +- .../CreaturePropertyInsertForm.vue | 4 +- .../creature/experiences/ExperienceForm.vue | 2 +- .../experiences/ExperienceInsertDialog.vue | 4 +- .../experiences/ExperienceListDialog.vue | 34 +-- .../ui/creature/slots/SlotDetailsDialog.vue | 2 +- .../ui/creature/slots/SlotFillDialog.vue | 6 +- app/imports/ui/creature/slots/Slots.vue | 16 +- .../dialogStack/DeleteConfirmationDialog.vue | 4 +- app/imports/ui/dialogStack/DialogBase.vue | 2 +- app/imports/ui/dialogStack/DialogStack.vue | 8 +- .../ui/documentation/FunctionReference.vue | 2 +- app/imports/ui/icons/IconAdmin.vue | 2 +- app/imports/ui/icons/SvgIconByName.vue | 2 +- app/imports/ui/layouts/AppLayout.vue | 18 +- app/imports/ui/layouts/Sidebar.vue | 80 +++--- app/imports/ui/library/LibraryAndNode.vue | 2 +- app/imports/ui/library/LibraryBrowser.vue | 2 +- .../ui/library/LibraryContentsContainer.vue | 2 +- .../ui/library/LibraryCreationDialog.vue | 2 +- app/imports/ui/library/LibraryEditDialog.vue | 2 +- .../ui/library/LibraryNodeCreationDialog.vue | 2 +- app/imports/ui/library/LibraryNodeDialog.vue | 4 +- .../ui/library/LibraryNodeInsertForm.vue | 4 +- .../ui/library/MoveLibraryNodeDialog.vue | 2 +- .../ui/library/SingleLibraryToolbar.vue | 2 +- app/imports/ui/log/CharacterLog.vue | 2 +- app/imports/ui/log/LogEntry.vue | 2 +- app/imports/ui/pages/About.vue | 22 +- app/imports/ui/pages/Account.vue | 68 ++--- app/imports/ui/pages/CharacterList.vue | 10 +- app/imports/ui/pages/CharacterSheetPage.vue | 2 +- app/imports/ui/pages/Feedback.vue | 2 +- app/imports/ui/pages/Home.vue | 242 +++++++++--------- app/imports/ui/pages/InviteError.vue | 2 +- app/imports/ui/pages/InviteSuccess.vue | 2 +- app/imports/ui/pages/LaunchCountdown.vue | 2 +- app/imports/ui/pages/Library.vue | 2 +- app/imports/ui/pages/PatreonLevelTooLow.vue | 2 +- app/imports/ui/pages/Register.vue | 2 +- app/imports/ui/pages/SignIn.vue | 4 +- app/imports/ui/pages/Tabletop.vue | 2 +- app/imports/ui/pages/Tabletops.vue | 14 +- .../components/actions/ActionCard.vue | 4 +- .../actions/AttributeConsumedView.vue | 4 +- .../components/actions/ItemConsumedView.vue | 6 +- .../actions/SelectItemToConsume.vue | 6 +- .../components/attributes/AbilityListTile.vue | 18 +- .../components/attributes/AttributeCard.vue | 4 +- .../components/attributes/HealthBar.vue | 2 +- .../components/attributes/HealthBarCard.vue | 2 +- .../attributes/HealthBarCardContainer.vue | 2 +- .../components/attributes/HitDiceListTile.vue | 18 +- .../components/attributes/ResourceCard.vue | 4 +- .../attributes/SpellSlotListTile.vue | 26 +- .../components/attributes/SplitListLayout.vue | 4 +- .../DamageMultiplierCard.vue | 50 ++-- .../components/features/FeatureCard.vue | 2 +- .../components/inventory/ContainerCard.vue | 4 +- .../components/inventory/ItemList.vue | 2 +- .../components/inventory/ItemListTile.vue | 30 +-- .../components/persona/NoteCard.vue | 2 +- .../components/skills/SkillListTile.vue | 18 +- .../spells/CastSpellWithSlotDialog.vue | 20 +- .../components/spells/SpellList.vue | 2 +- .../components/spells/SpellListCard.vue | 2 +- .../components/spells/SpellListTile.vue | 30 +-- .../ui/properties/forms/ActionForm.vue | 4 +- .../ui/properties/forms/AdjustmentForm.vue | 4 +- .../ui/properties/forms/AttackForm.vue | 2 +- .../forms/AttributeConsumedForm.vue | 4 +- .../ui/properties/forms/AttributeForm.vue | 8 +- .../forms/AttributesConsumedListForm.vue | 4 +- app/imports/ui/properties/forms/BuffForm.vue | 2 +- .../ui/properties/forms/ClassLevelForm.vue | 4 +- .../ui/properties/forms/ConstantForm.vue | 4 +- .../ui/properties/forms/ContainerForm.vue | 8 +- .../ui/properties/forms/DamageForm.vue | 4 +- .../properties/forms/DamageMultiplierForm.vue | 4 +- .../ui/properties/forms/EffectForm.vue | 2 +- .../ui/properties/forms/FeatureForm.vue | 2 +- .../ui/properties/forms/FolderForm.vue | 4 +- .../ui/properties/forms/ItemConsumedForm.vue | 4 +- app/imports/ui/properties/forms/ItemForm.vue | 8 +- .../forms/ItemsConsumedListForm.vue | 4 +- app/imports/ui/properties/forms/NoteForm.vue | 2 +- .../ui/properties/forms/ProficiencyForm.vue | 4 +- .../ui/properties/forms/ResourcesForm.vue | 16 +- app/imports/ui/properties/forms/RollForm.vue | 4 +- .../ui/properties/forms/SavingThrowForm.vue | 2 +- app/imports/ui/properties/forms/SkillForm.vue | 6 +- .../ui/properties/forms/SlotFillerForm.vue | 2 +- app/imports/ui/properties/forms/SlotForm.vue | 4 +- app/imports/ui/properties/forms/SpellForm.vue | 8 +- .../ui/properties/forms/SpellListForm.vue | 4 +- .../ui/properties/forms/ToggleForm.vue | 2 +- .../forms/shared/CalculationErrorList.vue | 2 +- .../properties/forms/shared/FormSection.vue | 2 +- .../properties/forms/shared/FormSections.vue | 2 +- .../forms/shared/ProficiencySelect.vue | 2 +- .../ui/properties/shared/ProficiencyIcon.vue | 2 +- .../ui/properties/shared/PropertyIcon.vue | 2 +- .../ui/properties/shared/PropertySelector.vue | 4 +- .../ui/properties/shared/PropertyViewer.vue | 2 +- .../shared/SelectablePropertyDialog.vue | 2 +- .../treeNodeViews/AdjustmentTreeNode.vue | 4 +- .../treeNodeViews/ClassLevelTreeNode.vue | 4 +- .../treeNodeViews/DamageTreeNode.vue | 4 +- .../treeNodeViews/DefaultTreeNode.vue | 4 +- .../treeNodeViews/EffectTreeNode.vue | 4 +- .../properties/treeNodeViews/ItemTreeNode.vue | 4 +- .../properties/treeNodeViews/TreeNodeView.vue | 2 +- .../ui/properties/viewers/ActionViewer.vue | 4 +- .../properties/viewers/AdjustmentViewer.vue | 22 +- .../ui/properties/viewers/AttackViewer.vue | 2 +- .../ui/properties/viewers/AttributeViewer.vue | 2 +- .../ui/properties/viewers/BuffViewer.vue | 2 +- .../properties/viewers/ClassLevelViewer.vue | 2 +- .../ui/properties/viewers/ConstantViewer.vue | 2 +- .../ui/properties/viewers/ContainerViewer.vue | 4 +- .../viewers/DamageMultiplierViewer.vue | 2 +- .../ui/properties/viewers/DamageViewer.vue | 2 +- .../ui/properties/viewers/EffectViewer.vue | 26 +- .../ui/properties/viewers/FeatureViewer.vue | 2 +- .../ui/properties/viewers/FolderViewer.vue | 2 +- .../ui/properties/viewers/ItemViewer.vue | 6 +- .../ui/properties/viewers/NoteViewer.vue | 2 +- .../properties/viewers/ProficiencyViewer.vue | 2 +- .../ui/properties/viewers/RollViewer.vue | 2 +- .../properties/viewers/SavingThrowViewer.vue | 2 +- .../ui/properties/viewers/SkillViewer.vue | 2 +- .../properties/viewers/SlotFillerViewer.vue | 2 +- .../ui/properties/viewers/SlotViewer.vue | 2 +- .../ui/properties/viewers/SpellListViewer.vue | 2 +- .../ui/properties/viewers/SpellViewer.vue | 2 +- .../ui/properties/viewers/ToggleViewer.vue | 2 +- .../viewers/shared/PropertyDescription.vue | 2 +- .../viewers/shared/PropertyField.vue | 2 +- .../viewers/shared/PropertyName.vue | 2 +- .../viewers/shared/PropertyTags.vue | 2 +- .../viewers/shared/PropertyVariableName.vue | 2 +- app/imports/ui/sharing/ShareDialog.vue | 54 ++-- .../ui/tabletop/SelectCreaturesDialog.vue | 2 +- .../ui/tabletop/TabletopActionCards.vue | 2 +- app/imports/ui/tabletop/TabletopComponent.vue | 2 +- .../ui/tabletop/TabletopCreatureCard.vue | 2 +- app/imports/ui/tabletop/TabletopLog.vue | 2 +- app/imports/ui/tabletop/TabletopMap.vue | 2 +- app/imports/ui/tabletop/TabletopToolbar.vue | 2 +- app/imports/ui/theme.js | 21 -- app/imports/ui/themes.js | 22 ++ .../ui/user/DeleteUserAccountDialog.vue | 4 +- app/imports/ui/user/InviteDialog.vue | 2 +- app/imports/ui/user/TierTooLowDialog.vue | 2 +- app/imports/ui/user/UsernameDialog.vue | 2 +- app/imports/ui/vueSetup.js | 21 +- app/package-lock.json | 158 +++++++++++- app/package.json | 16 +- 204 files changed, 985 insertions(+), 833 deletions(-) delete mode 100644 app/imports/ui/theme.js create mode 100644 app/imports/ui/themes.js diff --git a/app/.meteor/packages b/app/.meteor/packages index 8caba63d..c5561d9d 100644 --- a/app/.meteor/packages +++ b/app/.meteor/packages @@ -4,7 +4,6 @@ # but you can also edit it by hand. accounts-password@1.7.0 -accounts-ui@1.3.2 random@1.2.0 dburles:collection-helpers reactive-var@1.0.11 @@ -33,7 +32,6 @@ reactive-dict@1.3.0 percolate:synced-cron ongoworks:speakingurl service-configuration@1.0.11 -google-config-ui@1.0.1 dynamic-import@0.6.0 ddp-rate-limiter@1.0.9 rate-limit@1.0.9 @@ -42,7 +40,7 @@ akryum:vue-router2 static-html aldeed:collection2@3.0.0 aldeed:schema-index -akryum:vue-component +zer0th:meteor-vuetify-loader accounts-patreon bozhao:link-accounts peerlibrary:reactive-publish @@ -51,3 +49,5 @@ simple:rest-method-mixin mikowals:batch-insert peerlibrary:subscription-data seba:minifiers-autoprefixer +akryum:vue-component +akryum:vue-sass diff --git a/app/.meteor/versions b/app/.meteor/versions index 48847eee..979c561e 100644 --- a/app/.meteor/versions +++ b/app/.meteor/versions @@ -3,13 +3,12 @@ accounts-google@1.3.3 accounts-oauth@1.2.0 accounts-password@1.7.0 accounts-patreon@0.1.0 -accounts-ui@1.3.2 -accounts-ui-unstyled@1.4.3 akryum:npm-check@0.1.2 akryum:vue-component@0.15.2 akryum:vue-component-dev-client@0.4.7 akryum:vue-component-dev-server@0.1.4 akryum:vue-router2@0.2.3 +akryum:vue-sass@0.1.2 aldeed:collection2@3.2.1 aldeed:schema-index@3.0.0 allow-deny@1.1.0 @@ -18,7 +17,6 @@ babel-compiler@7.6.0 babel-runtime@1.5.0 base64@1.0.12 binary-heap@1.0.11 -blaze@2.3.4 blaze-tools@1.0.10 boilerplate-generator@1.7.1 bozhao:link-accounts@2.3.2 @@ -48,7 +46,6 @@ email@2.0.0 es5-shim@4.8.0 fetch@0.1.1 geojson-utils@1.0.10 -google-config-ui@1.0.1 google-oauth@1.3.0 hot-code-push@1.0.4 html-tools@1.0.11 @@ -58,7 +55,6 @@ id-map@1.1.0 inter-process-messaging@0.1.1 lai:collection-extensions@0.2.1_1 launch-screen@1.2.0 -less@3.0.1 livedata@1.0.18 localstorage@1.2.0 logging@1.2.0 @@ -84,7 +80,6 @@ npm-bcrypt@0.9.3 npm-mongo@3.8.1 oauth@1.3.2 oauth2@1.3.0 -observe-sequence@1.0.16 ongoworks:speakingurl@9.0.0 ordered-dict@1.1.0 patreon-oauth@0.1.0 @@ -118,15 +113,11 @@ simple:json-routes@2.1.0 simple:rest@1.1.1 simple:rest-method-mixin@1.0.1 socket-stream-client@0.3.1 -spacebars@1.0.15 spacebars-compiler@1.1.3 srp@1.1.0 standard-minifier-js@2.6.0 static-html@1.2.2 templates:array@1.0.3 -templating@1.3.2 -templating-compiler@1.3.3 -templating-runtime@1.3.2 templating-tools@1.1.2 tmeasday:check-npm-versions@0.3.2 tracker@1.2.0 @@ -134,3 +125,4 @@ underscore@1.0.10 url@1.3.1 webapp@1.10.0 webapp-hashing@1.1.0 +zer0th:meteor-vuetify-loader@0.1.30 diff --git a/app/imports/ui/components/CoinValue.vue b/app/imports/ui/components/CoinValue.vue index e97a9b99..b13aa9ef 100644 --- a/app/imports/ui/components/CoinValue.vue +++ b/app/imports/ui/components/CoinValue.vue @@ -18,7 +18,7 @@ - diff --git a/app/imports/ui/creature/character/characterSheetTabs/CharacterTab.vue b/app/imports/ui/creature/character/characterSheetTabs/CharacterTab.vue index 781d4541..5543438a 100644 --- a/app/imports/ui/creature/character/characterSheetTabs/CharacterTab.vue +++ b/app/imports/ui/creature/character/characterSheetTabs/CharacterTab.vue @@ -42,17 +42,17 @@ Level {{ creature.variables.level.value }} - - - + + {{ creature.variables.milestoneLevels.value }} Milestone levels - - + - - + + {{ classLevel.name }} - - - + + + {{ classLevel.level }} - - + + @@ -116,7 +116,7 @@ - diff --git a/app/imports/ui/pages/Home.vue b/app/imports/ui/pages/Home.vue index ac26e16b..3a516202 100644 --- a/app/imports/ui/pages/Home.vue +++ b/app/imports/ui/pages/Home.vue @@ -1,139 +1,137 @@ - diff --git a/app/imports/ui/pages/LaunchCountdown.vue b/app/imports/ui/pages/LaunchCountdown.vue index 899092f4..100c1db6 100644 --- a/app/imports/ui/pages/LaunchCountdown.vue +++ b/app/imports/ui/pages/LaunchCountdown.vue @@ -25,7 +25,7 @@ - diff --git a/app/imports/ui/properties/components/damageMultipliers/DamageMultiplierCard.vue b/app/imports/ui/properties/components/damageMultipliers/DamageMultiplierCard.vue index d8647c37..c50048ca 100644 --- a/app/imports/ui/properties/components/damageMultipliers/DamageMultiplierCard.vue +++ b/app/imports/ui/properties/components/damageMultipliers/DamageMultiplierCard.vue @@ -3,41 +3,41 @@ - - - + + + Vulnerabilities - - + + {{ weaknesses }} - - - - - - + + + + + + Resistances - - + + {{ resistances }} - - - - - - + + + + + + Immunities - - + + {{ immunities }} - - - + + + - diff --git a/app/imports/ui/properties/forms/shared/ProficiencySelect.vue b/app/imports/ui/properties/forms/shared/ProficiencySelect.vue index 83bf7c31..92dd81b7 100644 --- a/app/imports/ui/properties/forms/shared/ProficiencySelect.vue +++ b/app/imports/ui/properties/forms/shared/ProficiencySelect.vue @@ -19,7 +19,7 @@ - diff --git a/app/imports/ui/tabletop/TabletopToolbar.vue b/app/imports/ui/tabletop/TabletopToolbar.vue index d5b9913f..16a822f9 100644 --- a/app/imports/ui/tabletop/TabletopToolbar.vue +++ b/app/imports/ui/tabletop/TabletopToolbar.vue @@ -13,7 +13,7 @@ -