Update omorphia to 0.7.3
This commit is contained in:
parent
ad1f9b3626
commit
17c0ba4662
@ -18,7 +18,7 @@
|
|||||||
"floating-vue": "^2.0.0-beta.20",
|
"floating-vue": "^2.0.0-beta.20",
|
||||||
"mixpanel-browser": "^2.47.0",
|
"mixpanel-browser": "^2.47.0",
|
||||||
"ofetch": "^1.0.1",
|
"ofetch": "^1.0.1",
|
||||||
"omorphia": "^0.4.38",
|
"omorphia": "^0.7.3",
|
||||||
"pinia": "^2.1.3",
|
"pinia": "^2.1.3",
|
||||||
"qrcode.vue": "^3.4.0",
|
"qrcode.vue": "^3.4.0",
|
||||||
"tauri-plugin-window-state-api": "github:tauri-apps/tauri-plugin-window-state#v1",
|
"tauri-plugin-window-state-api": "github:tauri-apps/tauri-plugin-window-state#v1",
|
||||||
|
|||||||
284
theseus_gui/pnpm-lock.yaml
generated
284
theseus_gui/pnpm-lock.yaml
generated
@ -21,8 +21,8 @@ dependencies:
|
|||||||
specifier: ^1.0.1
|
specifier: ^1.0.1
|
||||||
version: 1.0.1
|
version: 1.0.1
|
||||||
omorphia:
|
omorphia:
|
||||||
specifier: ^0.4.38
|
specifier: ^0.7.3
|
||||||
version: 0.4.38
|
version: 0.7.3(vue@3.3.4)
|
||||||
pinia:
|
pinia:
|
||||||
specifier: ^2.1.3
|
specifier: ^2.1.3
|
||||||
version: 2.1.3(vue@3.3.4)
|
version: 2.1.3(vue@3.3.4)
|
||||||
@ -31,7 +31,7 @@ dependencies:
|
|||||||
version: 3.4.0(vue@3.3.4)
|
version: 3.4.0(vue@3.3.4)
|
||||||
tauri-plugin-window-state-api:
|
tauri-plugin-window-state-api:
|
||||||
specifier: github:tauri-apps/tauri-plugin-window-state#v1
|
specifier: github:tauri-apps/tauri-plugin-window-state#v1
|
||||||
version: github.com/tauri-apps/tauri-plugin-window-state/5ea9eb0d4a9affd17269f92c0085935046be3f4a
|
version: github.com/tauri-apps/tauri-plugin-window-state/91fafb628cd0c83ad52bdf9029cad212381f740a
|
||||||
vite-svg-loader:
|
vite-svg-loader:
|
||||||
specifier: ^4.0.0
|
specifier: ^4.0.0
|
||||||
version: 4.0.0
|
version: 4.0.0
|
||||||
@ -105,6 +105,110 @@ packages:
|
|||||||
'@babel/helper-validator-identifier': 7.19.1
|
'@babel/helper-validator-identifier': 7.19.1
|
||||||
to-fast-properties: 2.0.0
|
to-fast-properties: 2.0.0
|
||||||
|
|
||||||
|
/@codemirror/autocomplete@6.12.0(@codemirror/language@6.10.0)(@codemirror/state@6.4.0)(@codemirror/view@6.23.0)(@lezer/common@1.2.1):
|
||||||
|
resolution: {integrity: sha512-r4IjdYFthwbCQyvqnSlx0WBHRHi8nBvU+WjJxFUij81qsBfhNudf/XKKmmC2j3m0LaOYUQTf3qiEK1J8lO1sdg==}
|
||||||
|
peerDependencies:
|
||||||
|
'@codemirror/language': ^6.0.0
|
||||||
|
'@codemirror/state': ^6.0.0
|
||||||
|
'@codemirror/view': ^6.0.0
|
||||||
|
'@lezer/common': ^1.0.0
|
||||||
|
dependencies:
|
||||||
|
'@codemirror/language': 6.10.0
|
||||||
|
'@codemirror/state': 6.4.0
|
||||||
|
'@codemirror/view': 6.23.0
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@codemirror/commands@6.3.3:
|
||||||
|
resolution: {integrity: sha512-dO4hcF0fGT9tu1Pj1D2PvGvxjeGkbC6RGcZw6Qs74TH+Ed1gw98jmUgd2axWvIZEqTeTuFrg1lEB1KV6cK9h1A==}
|
||||||
|
dependencies:
|
||||||
|
'@codemirror/language': 6.10.0
|
||||||
|
'@codemirror/state': 6.4.0
|
||||||
|
'@codemirror/view': 6.23.0
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@codemirror/lang-css@6.2.1(@codemirror/view@6.23.0):
|
||||||
|
resolution: {integrity: sha512-/UNWDNV5Viwi/1lpr/dIXJNWiwDxpw13I4pTUAsNxZdg6E0mI2kTQb0P2iHczg1Tu+H4EBgJR+hYhKiHKko7qg==}
|
||||||
|
dependencies:
|
||||||
|
'@codemirror/autocomplete': 6.12.0(@codemirror/language@6.10.0)(@codemirror/state@6.4.0)(@codemirror/view@6.23.0)(@lezer/common@1.2.1)
|
||||||
|
'@codemirror/language': 6.10.0
|
||||||
|
'@codemirror/state': 6.4.0
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
'@lezer/css': 1.1.7
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- '@codemirror/view'
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@codemirror/lang-html@6.4.7:
|
||||||
|
resolution: {integrity: sha512-y9hWSSO41XlcL4uYwWyk0lEgTHcelWWfRuqmvcAmxfCs0HNWZdriWo/EU43S63SxEZpc1Hd50Itw7ktfQvfkUg==}
|
||||||
|
dependencies:
|
||||||
|
'@codemirror/autocomplete': 6.12.0(@codemirror/language@6.10.0)(@codemirror/state@6.4.0)(@codemirror/view@6.23.0)(@lezer/common@1.2.1)
|
||||||
|
'@codemirror/lang-css': 6.2.1(@codemirror/view@6.23.0)
|
||||||
|
'@codemirror/lang-javascript': 6.2.1
|
||||||
|
'@codemirror/language': 6.10.0
|
||||||
|
'@codemirror/state': 6.4.0
|
||||||
|
'@codemirror/view': 6.23.0
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
'@lezer/css': 1.1.7
|
||||||
|
'@lezer/html': 1.3.8
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@codemirror/lang-javascript@6.2.1:
|
||||||
|
resolution: {integrity: sha512-jlFOXTejVyiQCW3EQwvKH0m99bUYIw40oPmFjSX2VS78yzfe0HELZ+NEo9Yfo1MkGRpGlj3Gnu4rdxV1EnAs5A==}
|
||||||
|
dependencies:
|
||||||
|
'@codemirror/autocomplete': 6.12.0(@codemirror/language@6.10.0)(@codemirror/state@6.4.0)(@codemirror/view@6.23.0)(@lezer/common@1.2.1)
|
||||||
|
'@codemirror/language': 6.10.0
|
||||||
|
'@codemirror/lint': 6.4.2
|
||||||
|
'@codemirror/state': 6.4.0
|
||||||
|
'@codemirror/view': 6.23.0
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
'@lezer/javascript': 1.4.13
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@codemirror/lang-markdown@6.2.4:
|
||||||
|
resolution: {integrity: sha512-UghkA1vSMs8bT7RSZM6vsIocigyah2bV00eRQuZy76401UmFZdsTsbQNBGdyxRQDOLeEvF5iFwap0BM8LKyd+g==}
|
||||||
|
dependencies:
|
||||||
|
'@codemirror/autocomplete': 6.12.0(@codemirror/language@6.10.0)(@codemirror/state@6.4.0)(@codemirror/view@6.23.0)(@lezer/common@1.2.1)
|
||||||
|
'@codemirror/lang-html': 6.4.7
|
||||||
|
'@codemirror/language': 6.10.0
|
||||||
|
'@codemirror/state': 6.4.0
|
||||||
|
'@codemirror/view': 6.23.0
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
'@lezer/markdown': 1.2.0
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@codemirror/language@6.10.0:
|
||||||
|
resolution: {integrity: sha512-2vaNn9aPGCRFKWcHPFksctzJ8yS5p7YoaT+jHpc0UGKzNuAIx4qy6R5wiqbP+heEEdyaABA582mNqSHzSoYdmg==}
|
||||||
|
dependencies:
|
||||||
|
'@codemirror/state': 6.4.0
|
||||||
|
'@codemirror/view': 6.23.0
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
'@lezer/highlight': 1.2.0
|
||||||
|
'@lezer/lr': 1.3.14
|
||||||
|
style-mod: 4.1.0
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@codemirror/lint@6.4.2:
|
||||||
|
resolution: {integrity: sha512-wzRkluWb1ptPKdzlsrbwwjYCPLgzU6N88YBAmlZi8WFyuiEduSd05MnJYNogzyc8rPK7pj6m95ptUApc8sHKVA==}
|
||||||
|
dependencies:
|
||||||
|
'@codemirror/state': 6.4.0
|
||||||
|
'@codemirror/view': 6.23.0
|
||||||
|
crelt: 1.0.6
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@codemirror/state@6.4.0:
|
||||||
|
resolution: {integrity: sha512-hm8XshYj5Fo30Bb922QX9hXB/bxOAVH+qaqHBzw5TKa72vOeslyGwd4X8M0c1dJ9JqxlaMceOQ8RsL9tC7gU0A==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@codemirror/view@6.23.0:
|
||||||
|
resolution: {integrity: sha512-/51px9N4uW8NpuWkyUX+iam5+PM6io2fm+QmRnzwqBy5v/pwGg9T0kILFtYeum8hjuvENtgsGNKluOfqIICmeQ==}
|
||||||
|
dependencies:
|
||||||
|
'@codemirror/state': 6.4.0
|
||||||
|
style-mod: 4.1.0
|
||||||
|
w3c-keyname: 2.2.8
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@esbuild/android-arm64@0.17.19:
|
/@esbuild/android-arm64@0.17.19:
|
||||||
resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==}
|
resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@ -373,6 +477,53 @@ packages:
|
|||||||
/@jridgewell/sourcemap-codec@1.4.15:
|
/@jridgewell/sourcemap-codec@1.4.15:
|
||||||
resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
|
resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
|
||||||
|
|
||||||
|
/@lezer/common@1.2.1:
|
||||||
|
resolution: {integrity: sha512-yemX0ZD2xS/73llMZIK6KplkjIjf2EvAHcinDi/TfJ9hS25G0388+ClHt6/3but0oOxinTcQHJLDXh6w1crzFQ==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@lezer/css@1.1.7:
|
||||||
|
resolution: {integrity: sha512-7BlFFAKNn/b39jJLrhdLSX5A2k56GIJvyLqdmm7UU+7XvequY084iuKDMAEhAmAzHnwDE8FK4OQtsIUssW91tg==}
|
||||||
|
dependencies:
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
'@lezer/highlight': 1.2.0
|
||||||
|
'@lezer/lr': 1.3.14
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@lezer/highlight@1.2.0:
|
||||||
|
resolution: {integrity: sha512-WrS5Mw51sGrpqjlh3d4/fOwpEV2Hd3YOkp9DBt4k8XZQcoTHZFB7sx030A6OcahF4J1nDQAa3jXlTVVYH50IFA==}
|
||||||
|
dependencies:
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@lezer/html@1.3.8:
|
||||||
|
resolution: {integrity: sha512-EXseJ3pUzWxE6XQBQdqWHZqqlGQRSuNMBcLb6mZWS2J2v+QZhOObD+3ZIKIcm59ntTzyor4LqFTb72iJc3k23Q==}
|
||||||
|
dependencies:
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
'@lezer/highlight': 1.2.0
|
||||||
|
'@lezer/lr': 1.3.14
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@lezer/javascript@1.4.13:
|
||||||
|
resolution: {integrity: sha512-5IBr8LIO3xJdJH1e9aj/ZNLE4LSbdsx25wFmGRAZsj2zSmwAYjx26JyU/BYOCpRQlu1jcv1z3vy4NB9+UkfRow==}
|
||||||
|
dependencies:
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
'@lezer/highlight': 1.2.0
|
||||||
|
'@lezer/lr': 1.3.14
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@lezer/lr@1.3.14:
|
||||||
|
resolution: {integrity: sha512-z5mY4LStlA3yL7aHT/rqgG614cfcvklS+8oFRFBYrs4YaWLJyKKM4+nN6KopToX0o9Hj6zmH6M5kinOYuy06ug==}
|
||||||
|
dependencies:
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@lezer/markdown@1.2.0:
|
||||||
|
resolution: {integrity: sha512-d7MwsfAukZJo1GpPrcPGa3MxaFFOqNp0gbqF+3F7pTeNDOgeJN1muXzx1XXDPt+Ac+/voCzsH7qXqnn+xReG/g==}
|
||||||
|
dependencies:
|
||||||
|
'@lezer/common': 1.2.1
|
||||||
|
'@lezer/highlight': 1.2.0
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@nodelib/fs.scandir@2.1.5:
|
/@nodelib/fs.scandir@2.1.5:
|
||||||
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
||||||
engines: {node: '>= 8'}
|
engines: {node: '>= 8'}
|
||||||
@ -419,8 +570,8 @@ packages:
|
|||||||
engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
|
engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@tauri-apps/api@1.4.0:
|
/@tauri-apps/api@1.5.3:
|
||||||
resolution: {integrity: sha512-Jd6HPoTM1PZSFIzq7FB8VmMu3qSSyo/3lSwLpoapW+lQ41CL5Dow2KryLg+gyazA/58DRWI9vu/XpEeHK4uMdw==}
|
resolution: {integrity: sha512-zxnDjHHKjOsrIzZm6nO5Xapb/BxqUq1tc7cGkFXsFkGTsSWgCPH1D8mm0XS9weJY2OaR73I3k3S+b7eSzJDfqA==}
|
||||||
engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
|
engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
@ -629,6 +780,10 @@ packages:
|
|||||||
/@vue/shared@3.3.4:
|
/@vue/shared@3.3.4:
|
||||||
resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==}
|
resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==}
|
||||||
|
|
||||||
|
/@yr/monotone-cubic-spline@1.0.3:
|
||||||
|
resolution: {integrity: sha512-FQXkOta0XBSUPHndIKON2Y9JeQz5ZeMqLYZVVK93FliNBFm7LNMIZmY6FrMEB9XPcDbE2bekMbZD6kzDkxwYjA==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/acorn-jsx@5.3.2(acorn@8.8.2):
|
/acorn-jsx@5.3.2(acorn@8.8.2):
|
||||||
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
|
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -672,6 +827,18 @@ packages:
|
|||||||
picomatch: 2.3.1
|
picomatch: 2.3.1
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/apexcharts@3.45.1:
|
||||||
|
resolution: {integrity: sha512-pPjj/SA6dfPvR/IKRZF0STdfBGpBh3WRt7K0DFuW9P8erypYkX17EHu3/molPRfo2zSiQwTVpshHC5ncysqfkA==}
|
||||||
|
dependencies:
|
||||||
|
'@yr/monotone-cubic-spline': 1.0.3
|
||||||
|
svg.draggable.js: 2.2.2
|
||||||
|
svg.easing.js: 2.0.0
|
||||||
|
svg.filter.js: 2.0.2
|
||||||
|
svg.pathmorphing.js: 0.1.3
|
||||||
|
svg.resize.js: 1.4.3
|
||||||
|
svg.select.js: 3.0.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
/argparse@2.0.1:
|
/argparse@2.0.1:
|
||||||
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
|
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
|
||||||
|
|
||||||
@ -726,7 +893,7 @@ packages:
|
|||||||
normalize-path: 3.0.0
|
normalize-path: 3.0.0
|
||||||
readdirp: 3.6.0
|
readdirp: 3.6.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
fsevents: 2.3.2
|
fsevents: 2.3.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/color-convert@2.0.1:
|
/color-convert@2.0.1:
|
||||||
@ -753,6 +920,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
|
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/crelt@1.0.6:
|
||||||
|
resolution: {integrity: sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/cross-spawn@7.0.3:
|
/cross-spawn@7.0.3:
|
||||||
resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}
|
resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}
|
||||||
engines: {node: '>= 8'}
|
engines: {node: '>= 8'}
|
||||||
@ -1106,8 +1277,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
|
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/fsevents@2.3.2:
|
/fsevents@2.3.3:
|
||||||
resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
|
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
|
||||||
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
|
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
requiresBuild: true
|
requiresBuild: true
|
||||||
@ -1355,9 +1526,17 @@ packages:
|
|||||||
ufo: 1.1.2
|
ufo: 1.1.2
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/omorphia@0.4.38:
|
/omorphia@0.7.3(vue@3.3.4):
|
||||||
resolution: {integrity: sha512-V0vEarmAart6Gf5WuPUZ58TuIiQf7rI5HJpmYU7FVbtdvZ3q08VqyKZflCddbeBSFQ4/N+A+sNr/ELf/jz+Cug==}
|
resolution: {integrity: sha512-Xk9o3xk/rFuZeR0LLoJNbOEvnQjAh6wOTZrksgCDAVuX30cSnpuihI9lsZNlH+4V1TXOB5FpVSHBEA/+LGzwHQ==}
|
||||||
|
peerDependencies:
|
||||||
|
vue: ^3.3.4
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@codemirror/commands': 6.3.3
|
||||||
|
'@codemirror/lang-markdown': 6.2.4
|
||||||
|
'@codemirror/language': 6.10.0
|
||||||
|
'@codemirror/state': 6.4.0
|
||||||
|
'@codemirror/view': 6.23.0
|
||||||
|
apexcharts: 3.45.1
|
||||||
dayjs: 1.11.7
|
dayjs: 1.11.7
|
||||||
floating-vue: 2.0.0-beta.20(vue@3.3.4)
|
floating-vue: 2.0.0-beta.20(vue@3.3.4)
|
||||||
highlight.js: 11.8.0
|
highlight.js: 11.8.0
|
||||||
@ -1366,6 +1545,7 @@ packages:
|
|||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
vue-router: 4.2.1(vue@3.3.4)
|
vue-router: 4.2.1(vue@3.3.4)
|
||||||
vue-select: 4.0.0-beta.6(vue@3.3.4)
|
vue-select: 4.0.0-beta.6(vue@3.3.4)
|
||||||
|
vue3-apexcharts: 1.4.4(apexcharts@3.45.1)(vue@3.3.4)
|
||||||
xss: 1.0.14
|
xss: 1.0.14
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
@ -1521,7 +1701,7 @@ packages:
|
|||||||
engines: {node: '>=10.0.0'}
|
engines: {node: '>=10.0.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
fsevents: 2.3.2
|
fsevents: 2.3.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/rollup@3.23.0:
|
/rollup@3.23.0:
|
||||||
@ -1529,7 +1709,7 @@ packages:
|
|||||||
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
|
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
fsevents: 2.3.2
|
fsevents: 2.3.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/run-parallel@1.2.0:
|
/run-parallel@1.2.0:
|
||||||
@ -1589,6 +1769,10 @@ packages:
|
|||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/style-mod@4.1.0:
|
||||||
|
resolution: {integrity: sha512-Ca5ib8HrFn+f+0n4N4ScTIA9iTOQ7MaGS1ylHcoVqW9J7w2w8PzN6g9gKmTYgGEBH8e120+RCmhpje6jC5uGWA==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/supports-color@7.2.0:
|
/supports-color@7.2.0:
|
||||||
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
|
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
@ -1596,6 +1780,60 @@ packages:
|
|||||||
has-flag: 4.0.0
|
has-flag: 4.0.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/svg.draggable.js@2.2.2:
|
||||||
|
resolution: {integrity: sha512-JzNHBc2fLQMzYCZ90KZHN2ohXL0BQJGQimK1kGk6AvSeibuKcIdDX9Kr0dT9+UJ5O8nYA0RB839Lhvk4CY4MZw==}
|
||||||
|
engines: {node: '>= 0.8.0'}
|
||||||
|
dependencies:
|
||||||
|
svg.js: 2.7.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/svg.easing.js@2.0.0:
|
||||||
|
resolution: {integrity: sha512-//ctPdJMGy22YoYGV+3HEfHbm6/69LJUTAqI2/5qBvaNHZ9uUFVC82B0Pl299HzgH13rKrBgi4+XyXXyVWWthA==}
|
||||||
|
engines: {node: '>= 0.8.0'}
|
||||||
|
dependencies:
|
||||||
|
svg.js: 2.7.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/svg.filter.js@2.0.2:
|
||||||
|
resolution: {integrity: sha512-xkGBwU+dKBzqg5PtilaTb0EYPqPfJ9Q6saVldX+5vCRy31P6TlRCP3U9NxH3HEufkKkpNgdTLBJnmhDHeTqAkw==}
|
||||||
|
engines: {node: '>= 0.8.0'}
|
||||||
|
dependencies:
|
||||||
|
svg.js: 2.7.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/svg.js@2.7.1:
|
||||||
|
resolution: {integrity: sha512-ycbxpizEQktk3FYvn/8BH+6/EuWXg7ZpQREJvgacqn46gIddG24tNNe4Son6omdXCnSOaApnpZw6MPCBA1dODA==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/svg.pathmorphing.js@0.1.3:
|
||||||
|
resolution: {integrity: sha512-49HWI9X4XQR/JG1qXkSDV8xViuTLIWm/B/7YuQELV5KMOPtXjiwH4XPJvr/ghEDibmLQ9Oc22dpWpG0vUDDNww==}
|
||||||
|
engines: {node: '>= 0.8.0'}
|
||||||
|
dependencies:
|
||||||
|
svg.js: 2.7.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/svg.resize.js@1.4.3:
|
||||||
|
resolution: {integrity: sha512-9k5sXJuPKp+mVzXNvxz7U0uC9oVMQrrf7cFsETznzUDDm0x8+77dtZkWdMfRlmbkEEYvUn9btKuZ3n41oNA+uw==}
|
||||||
|
engines: {node: '>= 0.8.0'}
|
||||||
|
dependencies:
|
||||||
|
svg.js: 2.7.1
|
||||||
|
svg.select.js: 2.1.2
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/svg.select.js@2.1.2:
|
||||||
|
resolution: {integrity: sha512-tH6ABEyJsAOVAhwcCjF8mw4crjXSI1aa7j2VQR8ZuJ37H2MBUbyeqYr5nEO7sSN3cy9AR9DUwNg0t/962HlDbQ==}
|
||||||
|
engines: {node: '>= 0.8.0'}
|
||||||
|
dependencies:
|
||||||
|
svg.js: 2.7.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/svg.select.js@3.0.1:
|
||||||
|
resolution: {integrity: sha512-h5IS/hKkuVCbKSieR9uQCj9w+zLHoPh+ce19bBYyqF53g6mnPB8sAtIbe1s9dh2S2fCmYX2xel1Ln3PJBbK4kw==}
|
||||||
|
engines: {node: '>= 0.8.0'}
|
||||||
|
dependencies:
|
||||||
|
svg.js: 2.7.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
/svgo@3.0.2:
|
/svgo@3.0.2:
|
||||||
resolution: {integrity: sha512-Z706C1U2pb1+JGP48fbazf3KxHrWOsLme6Rv7imFBn5EnuanDW1GPaA/P1/dvObE670JDePC3mnj0k0B7P0jjQ==}
|
resolution: {integrity: sha512-Z706C1U2pb1+JGP48fbazf3KxHrWOsLme6Rv7imFBn5EnuanDW1GPaA/P1/dvObE670JDePC3mnj0k0B7P0jjQ==}
|
||||||
engines: {node: '>=14.0.0'}
|
engines: {node: '>=14.0.0'}
|
||||||
@ -1704,7 +1942,7 @@ packages:
|
|||||||
rollup: 3.23.0
|
rollup: 3.23.0
|
||||||
sass: 1.62.1
|
sass: 1.62.1
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
fsevents: 2.3.2
|
fsevents: 2.3.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vue-demi@0.14.5(vue@3.3.4):
|
/vue-demi@0.14.5(vue@3.3.4):
|
||||||
@ -1789,6 +2027,16 @@ packages:
|
|||||||
vue-resize: 2.0.0-alpha.1(vue@3.3.4)
|
vue-resize: 2.0.0-alpha.1(vue@3.3.4)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/vue3-apexcharts@1.4.4(apexcharts@3.45.1)(vue@3.3.4):
|
||||||
|
resolution: {integrity: sha512-TH89uZrxGjaDvkaYAISvj8+k6Bf1rUKFillc8oJirs5XZEPiwM1ELKZQ786wz0rfPqkSHHny2lqqUCK7Rw+LcQ==}
|
||||||
|
peerDependencies:
|
||||||
|
apexcharts: '> 3.0.0'
|
||||||
|
vue: '> 3.0.0'
|
||||||
|
dependencies:
|
||||||
|
apexcharts: 3.45.1
|
||||||
|
vue: 3.3.4
|
||||||
|
dev: false
|
||||||
|
|
||||||
/vue@3.3.4:
|
/vue@3.3.4:
|
||||||
resolution: {integrity: sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==}
|
resolution: {integrity: sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -1798,6 +2046,10 @@ packages:
|
|||||||
'@vue/server-renderer': 3.3.4(vue@3.3.4)
|
'@vue/server-renderer': 3.3.4(vue@3.3.4)
|
||||||
'@vue/shared': 3.3.4
|
'@vue/shared': 3.3.4
|
||||||
|
|
||||||
|
/w3c-keyname@2.2.8:
|
||||||
|
resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/which@2.0.2:
|
/which@2.0.2:
|
||||||
resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
|
resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
|
||||||
engines: {node: '>= 8'}
|
engines: {node: '>= 8'}
|
||||||
@ -1838,10 +2090,10 @@ packages:
|
|||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
github.com/tauri-apps/tauri-plugin-window-state/5ea9eb0d4a9affd17269f92c0085935046be3f4a:
|
github.com/tauri-apps/tauri-plugin-window-state/91fafb628cd0c83ad52bdf9029cad212381f740a:
|
||||||
resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-window-state/tar.gz/5ea9eb0d4a9affd17269f92c0085935046be3f4a}
|
resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-window-state/tar.gz/91fafb628cd0c83ad52bdf9029cad212381f740a}
|
||||||
name: tauri-plugin-window-state-api
|
name: tauri-plugin-window-state-api
|
||||||
version: 0.0.0
|
version: 0.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@tauri-apps/api': 1.4.0
|
'@tauri-apps/api': 1.5.3
|
||||||
dev: false
|
dev: false
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import {
|
|||||||
HomeIcon,
|
HomeIcon,
|
||||||
SearchIcon,
|
SearchIcon,
|
||||||
LibraryIcon,
|
LibraryIcon,
|
||||||
PlusIcon,
|
|
||||||
SettingsIcon,
|
SettingsIcon,
|
||||||
FileIcon,
|
FileIcon,
|
||||||
Button,
|
Button,
|
||||||
@ -14,7 +13,8 @@ import {
|
|||||||
Card,
|
Card,
|
||||||
} from 'omorphia'
|
} from 'omorphia'
|
||||||
import { useLoading, useTheming } from '@/store/state'
|
import { useLoading, useTheming } from '@/store/state'
|
||||||
import AccountsCard from '@/components/ui/AccountsCard.vue'
|
import AccountsCard from './components/ui/AccountsCard.vue'
|
||||||
|
import AccountDropdown from '@/components/ui/platform/AccountDropdown.vue'
|
||||||
import InstanceCreationModal from '@/components/ui/InstanceCreationModal.vue'
|
import InstanceCreationModal from '@/components/ui/InstanceCreationModal.vue'
|
||||||
import { get } from '@/helpers/settings'
|
import { get } from '@/helpers/settings'
|
||||||
import Breadcrumbs from '@/components/ui/Breadcrumbs.vue'
|
import Breadcrumbs from '@/components/ui/Breadcrumbs.vue'
|
||||||
@ -159,7 +159,7 @@ const openSupport = async () => {
|
|||||||
__tauriModule: 'Shell',
|
__tauriModule: 'Shell',
|
||||||
message: {
|
message: {
|
||||||
cmd: 'open',
|
cmd: 'open',
|
||||||
path: 'https://discord.gg/modrinth',
|
path: 'https://support.modrinth.com/',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -288,8 +288,6 @@ command_listener(async (e) => {
|
|||||||
|
|
||||||
<div class="button-row push-right">
|
<div class="button-row push-right">
|
||||||
<Button @click="showLauncherLogsFolder"><FileIcon />Open launcher logs</Button>
|
<Button @click="showLauncherLogsFolder"><FileIcon />Open launcher logs</Button>
|
||||||
|
|
||||||
<Button @click="openSupport"><ChatIcon />Get support</Button>
|
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
@ -326,23 +324,26 @@ command_listener(async (e) => {
|
|||||||
</div>
|
</div>
|
||||||
<div class="settings pages-list">
|
<div class="settings pages-list">
|
||||||
<Button
|
<Button
|
||||||
v-tooltip="'Create profile'"
|
v-tooltip="'Get Support'"
|
||||||
class="sleek-primary collapsed-button"
|
transparent
|
||||||
icon-only
|
icon-only
|
||||||
:disabled="offline"
|
class="page-item collapsed-button"
|
||||||
@click="() => $refs.installationModal.show()"
|
@click="openSupport"
|
||||||
>
|
>
|
||||||
<PlusIcon />
|
<ChatIcon />
|
||||||
</Button>
|
</Button>
|
||||||
<RouterLink v-tooltip="'Settings'" to="/settings" class="btn icon-only collapsed-button">
|
<RouterLink v-tooltip="'Settings'" to="/settings" class="btn icon-only collapsed-button">
|
||||||
<SettingsIcon />
|
<SettingsIcon />
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
|
<AccountDropdown />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="view">
|
<div class="view">
|
||||||
<div class="appbar-row">
|
<div class="appbar-row">
|
||||||
|
<!-- Top Bar -->
|
||||||
<div data-tauri-drag-region class="appbar">
|
<div data-tauri-drag-region class="appbar">
|
||||||
<section class="navigation-controls">
|
<section class="navigation-controls">
|
||||||
|
Logo
|
||||||
<Breadcrumbs data-tauri-drag-region />
|
<Breadcrumbs data-tauri-drag-region />
|
||||||
</section>
|
</section>
|
||||||
<section class="mod-stats">
|
<section class="mod-stats">
|
||||||
@ -400,6 +401,9 @@ command_listener(async (e) => {
|
|||||||
.navigation-controls {
|
.navigation-controls {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
width: min-content;
|
width: min-content;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
.appbar-row {
|
.appbar-row {
|
||||||
@ -441,7 +445,7 @@ command_listener(async (e) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
--appbar-height: 3.25rem;
|
--appbar-height: 3.5rem;
|
||||||
--sidebar-width: 4.5rem;
|
--sidebar-width: 4.5rem;
|
||||||
|
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
@ -544,6 +548,7 @@ command_listener(async (e) => {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
|
|
||||||
|
.page-item,
|
||||||
a {
|
a {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -558,8 +563,14 @@ command_listener(async (e) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--color-button-bg);
|
|
||||||
color: var(--color-contrast);
|
color: var(--color-contrast);
|
||||||
|
background: var(--color-button-bg);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.router-link-active:hover {
|
||||||
|
color: var(--color-brand);
|
||||||
|
background: var(--color-brand-highlight);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -639,9 +650,9 @@ command_listener(async (e) => {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.video {
|
.video {
|
||||||
|
|||||||
@ -15,7 +15,7 @@ import {
|
|||||||
XIcon,
|
XIcon,
|
||||||
Button,
|
Button,
|
||||||
formatCategoryHeader,
|
formatCategoryHeader,
|
||||||
ModalConfirm,
|
ConfirmModal,
|
||||||
} from 'omorphia'
|
} from 'omorphia'
|
||||||
import ContextMenu from '@/components/ui/ContextMenu.vue'
|
import ContextMenu from '@/components/ui/ContextMenu.vue'
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
@ -233,7 +233,7 @@ const filteredResults = computed(() => {
|
|||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<ModalConfirm
|
<ConfirmModal
|
||||||
ref="confirmModal"
|
ref="confirmModal"
|
||||||
title="Are you sure you want to delete this instance?"
|
title="Are you sure you want to delete this instance?"
|
||||||
description="If you proceed, all data for your instance will be removed. You will not be able to recover it."
|
description="If you proceed, all data for your instance will be removed. You will not be able to recover it."
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import {
|
|||||||
ExternalIcon,
|
ExternalIcon,
|
||||||
EyeIcon,
|
EyeIcon,
|
||||||
ChevronRightIcon,
|
ChevronRightIcon,
|
||||||
ModalConfirm,
|
ConfirmModal,
|
||||||
} from 'omorphia'
|
} from 'omorphia'
|
||||||
import Instance from '@/components/ui/Instance.vue'
|
import Instance from '@/components/ui/Instance.vue'
|
||||||
import { computed, onMounted, onUnmounted, ref } from 'vue'
|
import { computed, onMounted, onUnmounted, ref } from 'vue'
|
||||||
@ -227,7 +227,7 @@ onUnmounted(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ModalConfirm
|
<ConfirmModal
|
||||||
ref="deleteConfirmModal"
|
ref="deleteConfirmModal"
|
||||||
title="Are you sure you want to delete this instance?"
|
title="Are you sure you want to delete this instance?"
|
||||||
description="If you proceed, all data for your instance will be removed. You will not be able to recover it."
|
description="If you proceed, all data for your instance will be removed. You will not be able to recover it."
|
||||||
|
|||||||
@ -1,9 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="action-groups">
|
<div class="action-groups">
|
||||||
<a href="https://discord.modrinth.com" class="link">
|
|
||||||
<ChatIcon />
|
|
||||||
<span> Get support </span>
|
|
||||||
</a>
|
|
||||||
<Button
|
<Button
|
||||||
v-if="currentLoadingBars.length > 0"
|
v-if="currentLoadingBars.length > 0"
|
||||||
ref="infoButton"
|
ref="infoButton"
|
||||||
@ -124,7 +120,6 @@ import { refreshOffline, isOffline } from '@/helpers/utils.js'
|
|||||||
import ProgressBar from '@/components/ui/ProgressBar.vue'
|
import ProgressBar from '@/components/ui/ProgressBar.vue'
|
||||||
import { handleError } from '@/store/notifications.js'
|
import { handleError } from '@/store/notifications.js'
|
||||||
import { mixpanel_track } from '@/helpers/mixpanel'
|
import { mixpanel_track } from '@/helpers/mixpanel'
|
||||||
import { ChatIcon } from '@/assets/icons'
|
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const card = ref(null)
|
const card = ref(null)
|
||||||
|
|||||||
56
theseus_gui/src/components/ui/platform/AccountDropdown.vue
Normal file
56
theseus_gui/src/components/ui/platform/AccountDropdown.vue
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
<template>
|
||||||
|
<div class="account-dropdown">
|
||||||
|
<OverflowMenu
|
||||||
|
class="btn btn-transparent headless-button"
|
||||||
|
:options="[
|
||||||
|
{
|
||||||
|
id: 'play',
|
||||||
|
color: 'danger',
|
||||||
|
action: () => {},
|
||||||
|
hoverFilledOnly: true,
|
||||||
|
},
|
||||||
|
]"
|
||||||
|
direction="up"
|
||||||
|
position="right"
|
||||||
|
>
|
||||||
|
<Avatar circle size="sm" :src="credentials?.user?.avatar_url" />
|
||||||
|
<template #play> <LogOutIcon /> Sign out </template>
|
||||||
|
</OverflowMenu>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
import { onMounted, ref } from 'vue'
|
||||||
|
import { Avatar, OverflowMenu, LogOutIcon } from 'omorphia'
|
||||||
|
import { get as getCredentials } from '@/helpers/mr_auth.js'
|
||||||
|
import { useNotifications } from '@/store/notifications.js'
|
||||||
|
|
||||||
|
const notifs = useNotifications()
|
||||||
|
|
||||||
|
const credentials = ref(null)
|
||||||
|
|
||||||
|
const refreshCredentials = async () => {
|
||||||
|
try {
|
||||||
|
credentials.value = await getCredentials()
|
||||||
|
} catch (error) {
|
||||||
|
notifs.addNotification({
|
||||||
|
title: 'An error occurred',
|
||||||
|
text: error.message ?? error,
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
console.error(error)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
onMounted(async () => {
|
||||||
|
await refreshCredentials()
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.account-dropdown {
|
||||||
|
*.headless-button {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -43,7 +43,7 @@
|
|||||||
Update all
|
Update all
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<DropdownButton
|
<!-- <DropdownButton
|
||||||
v-if="!isPackLocked"
|
v-if="!isPackLocked"
|
||||||
:options="['search', 'from_file']"
|
:options="['search', 'from_file']"
|
||||||
default-value="search"
|
default-value="search"
|
||||||
@ -59,7 +59,7 @@
|
|||||||
<FolderOpenIcon />
|
<FolderOpenIcon />
|
||||||
<span class="no-wrap"> Add from file </span>
|
<span class="no-wrap"> Add from file </span>
|
||||||
</template>
|
</template>
|
||||||
</DropdownButton>
|
</DropdownButton> -->
|
||||||
</Card>
|
</Card>
|
||||||
<Pagination
|
<Pagination
|
||||||
v-if="projects.length > 0"
|
v-if="projects.length > 0"
|
||||||
@ -284,7 +284,10 @@
|
|||||||
<h3>No projects found</h3>
|
<h3>No projects found</h3>
|
||||||
<p class="empty-subtitle">Add a project to get started</p>
|
<p class="empty-subtitle">Add a project to get started</p>
|
||||||
<div class="empty-action">
|
<div class="empty-action">
|
||||||
<DropdownButton
|
<div class="joined-buttons">
|
||||||
|
<Button color="primary"> Search </Button>
|
||||||
|
</div>
|
||||||
|
<!-- <DropdownButton
|
||||||
:options="['search', 'from_file']"
|
:options="['search', 'from_file']"
|
||||||
default-value="search"
|
default-value="search"
|
||||||
name="add-content-dropdown-from-empty"
|
name="add-content-dropdown-from-empty"
|
||||||
@ -299,7 +302,7 @@
|
|||||||
<FolderOpenIcon />
|
<FolderOpenIcon />
|
||||||
<span class="no-wrap"> Add from file </span>
|
<span class="no-wrap"> Add from file </span>
|
||||||
</template>
|
</template>
|
||||||
</DropdownButton>
|
</DropdownButton> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Pagination
|
<Pagination
|
||||||
@ -378,7 +381,6 @@ import {
|
|||||||
FolderOpenIcon,
|
FolderOpenIcon,
|
||||||
Checkbox,
|
Checkbox,
|
||||||
formatProjectType,
|
formatProjectType,
|
||||||
DropdownButton,
|
|
||||||
Modal,
|
Modal,
|
||||||
XIcon,
|
XIcon,
|
||||||
ShareIcon,
|
ShareIcon,
|
||||||
@ -393,7 +395,7 @@ import {
|
|||||||
DropdownSelect,
|
DropdownSelect,
|
||||||
} from 'omorphia'
|
} from 'omorphia'
|
||||||
import { computed, onUnmounted, ref, watch } from 'vue'
|
import { computed, onUnmounted, ref, watch } from 'vue'
|
||||||
import { useRouter } from 'vue-router'
|
// import { useRouter } from 'vue-router'
|
||||||
import {
|
import {
|
||||||
add_project_from_path,
|
add_project_from_path,
|
||||||
get,
|
get,
|
||||||
@ -404,7 +406,7 @@ import {
|
|||||||
} from '@/helpers/profile.js'
|
} from '@/helpers/profile.js'
|
||||||
import { handleError } from '@/store/notifications.js'
|
import { handleError } from '@/store/notifications.js'
|
||||||
import { mixpanel_track } from '@/helpers/mixpanel'
|
import { mixpanel_track } from '@/helpers/mixpanel'
|
||||||
import { open } from '@tauri-apps/api/dialog'
|
// import { open } from '@tauri-apps/api/dialog'
|
||||||
import { listen } from '@tauri-apps/api/event'
|
import { listen } from '@tauri-apps/api/event'
|
||||||
import { convertFileSrc } from '@tauri-apps/api/tauri'
|
import { convertFileSrc } from '@tauri-apps/api/tauri'
|
||||||
import { highlightModInProfile } from '@/helpers/utils.js'
|
import { highlightModInProfile } from '@/helpers/utils.js'
|
||||||
@ -412,7 +414,7 @@ import { MenuIcon, ToggleIcon, TextInputIcon, AddProjectImage, PackageIcon } fro
|
|||||||
import ExportModal from '@/components/ui/ExportModal.vue'
|
import ExportModal from '@/components/ui/ExportModal.vue'
|
||||||
import ModpackVersionModal from '@/components/ui/ModpackVersionModal.vue'
|
import ModpackVersionModal from '@/components/ui/ModpackVersionModal.vue'
|
||||||
|
|
||||||
const router = useRouter()
|
// const router = useRouter()
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
instance: {
|
instance: {
|
||||||
@ -844,22 +846,22 @@ const handleRightClick = (event, mod) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleContentOptionClick = async (args) => {
|
// const handleContentOptionClick = async (args) => {
|
||||||
if (args.option === 'search') {
|
// if (args.option === 'search') {
|
||||||
await router.push({
|
// await router.push({
|
||||||
path: `/browse/${props.instance.metadata.loader === 'vanilla' ? 'datapack' : 'mod'}`,
|
// path: `/browse/${props.instance.metadata.loader === 'vanilla' ? 'datapack' : 'mod'}`,
|
||||||
query: { i: props.instance.path },
|
// query: { i: props.instance.path },
|
||||||
})
|
// })
|
||||||
} else if (args.option === 'from_file') {
|
// } else if (args.option === 'from_file') {
|
||||||
const newProject = await open({ multiple: true })
|
// const newProject = await open({ multiple: true })
|
||||||
if (!newProject) return
|
// if (!newProject) return
|
||||||
|
|
||||||
for (const project of newProject) {
|
// for (const project of newProject) {
|
||||||
await add_project_from_path(props.instance.path, project, 'mod').catch(handleError)
|
// await add_project_from_path(props.instance.path, project, 'mod').catch(handleError)
|
||||||
}
|
// }
|
||||||
initProjects(await get(props.instance.path).catch(handleError))
|
// initProjects(await get(props.instance.path).catch(handleError))
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
watch(selectAll, () => {
|
watch(selectAll, () => {
|
||||||
for (const [key, value] of Array.from(selectionMap.value)) {
|
for (const [key, value] of Array.from(selectionMap.value)) {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<ModalConfirm
|
<ConfirmModal
|
||||||
ref="modal_confirm"
|
ref="modal_confirm"
|
||||||
title="Are you sure you want to delete this instance?"
|
title="Are you sure you want to delete this instance?"
|
||||||
description="If you proceed, all data for your instance will be removed. You will not be able to recover it."
|
description="If you proceed, all data for your instance will be removed. You will not be able to recover it."
|
||||||
@ -525,7 +525,7 @@ import {
|
|||||||
SaveIcon,
|
SaveIcon,
|
||||||
LockIcon,
|
LockIcon,
|
||||||
HammerIcon,
|
HammerIcon,
|
||||||
ModalConfirm,
|
ConfirmModal,
|
||||||
DownloadIcon,
|
DownloadIcon,
|
||||||
ClipboardCopyIcon,
|
ClipboardCopyIcon,
|
||||||
Button,
|
Button,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user