@coopenomics/desktop 2025.5.2 → 2025.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@coopenomics/desktop",
|
3
|
-
"version": "2025.5.
|
3
|
+
"version": "2025.5.4",
|
4
4
|
"description": "A Desktop Project",
|
5
5
|
"productName": "Desktop App",
|
6
6
|
"author": "Alex Ant <dacom.dark.sun@gmail.com>",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
"start": "node -r ./alias-resolver.js dist/ssr/index.js"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@coopenomics/controller": "2025.5.
|
28
|
-
"@coopenomics/sdk": "2025.5.
|
27
|
+
"@coopenomics/controller": "2025.5.4",
|
28
|
+
"@coopenomics/sdk": "2025.5.3",
|
29
29
|
"@dicebear/collection": "^9.0.1",
|
30
30
|
"@dicebear/core": "^9.0.1",
|
31
31
|
"@fortawesome/fontawesome-svg-core": "^6.5.2",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"@wharfkit/wallet-plugin-privatekey": "^1.1.0",
|
50
50
|
"axios": "^1.2.1",
|
51
51
|
"compression": "^1.7.4",
|
52
|
-
"cooptypes": "2025.5.
|
52
|
+
"cooptypes": "2025.5.3",
|
53
53
|
"dompurify": "^3.1.7",
|
54
54
|
"dotenv": "^16.4.5",
|
55
55
|
"email-regex": "^5.0.0",
|
@@ -101,5 +101,5 @@
|
|
101
101
|
"npm": ">= 6.13.4",
|
102
102
|
"yarn": ">= 1.21.1"
|
103
103
|
},
|
104
|
-
"gitHead": "
|
104
|
+
"gitHead": "8d7c91933210969a574f111dd24e8270142e6717"
|
105
105
|
}
|
@@ -33,7 +33,7 @@ div(v-if="extension").row
|
|
33
33
|
span.q-ml-xs удалить
|
34
34
|
|
35
35
|
div.col-md-9.col-sm-8.col-xs-12.q-pa-md
|
36
|
-
div(v-if="isMain")
|
36
|
+
div(v-if="isMain").info-card
|
37
37
|
div
|
38
38
|
span.text-h1 {{extension.title}}
|
39
39
|
//- q-chip(square dense size="sm" color="green" outline v-if="extension.is_installed && extension.enabled").q-ml-sm установлено
|
@@ -45,19 +45,21 @@ div(v-if="extension").row
|
|
45
45
|
ClientOnly
|
46
46
|
template(#default)
|
47
47
|
vue-markdown(:source="extension.readme").description.q-mt-md
|
48
|
-
div(v-if="(isSettings || isInstall) && extension.schema")
|
48
|
+
div(v-if="(isSettings || isInstall) && extension.schema").info-card
|
49
49
|
q-form(ref="myFormRef")
|
50
50
|
div(v-if="isEmpty && !isInstall")
|
51
51
|
div.q-pa-md
|
52
52
|
p.text-h6 Нет настроек
|
53
53
|
span Расширение не предоставило настроек для изменения.
|
54
|
-
div(v-if="!isEmpty")
|
54
|
+
div(v-if="!isEmpty && !isInstall")
|
55
55
|
|
56
56
|
//- vue-markdown(:source="extension.instructions").description.q-mt-md
|
57
57
|
ClientOnly
|
58
58
|
template(#default)
|
59
|
-
vue-markdown(v-if="extension.instructions" :source="extension.instructions").description.q-mt-md
|
60
|
-
|
59
|
+
vue-markdown(v-if="extension.instructions && isInstall" :source="extension.instructions").description.q-mt-md
|
60
|
+
div
|
61
|
+
p.text-h5 Настройки
|
62
|
+
ZodForm(:schema="extension.schema" v-model="data").q-mt-lg
|
61
63
|
|
62
64
|
</template>
|
63
65
|
<script lang="ts" setup>
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<template lang="pug">
|
2
2
|
div
|
3
|
-
|
3
|
+
div(flat v-for="(property, propertyName) in schema.properties" :key="propertyName")
|
4
4
|
div(v-if="isVisible(property)")
|
5
5
|
component(
|
6
6
|
standout="bg-teal text-white"
|
7
7
|
:is="getComponentType(property)"
|
8
8
|
v-bind="getComponentProps(property, propertyName)"
|
9
|
-
).q-mt-
|
9
|
+
).q-mt-lg
|
10
10
|
// Слот для prepend, если указано
|
11
11
|
template(v-slot:prepend v-if="property.description?.prepend")
|
12
12
|
span {{ property.description.prepend }}
|