@unsource/ui 2.9.38 → 2.9.45
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/.vscode/settings.json +3 -3
- package/README.md +84 -84
- package/dist/module.json +1 -1
- package/dist/runtime/components/UnCollapsible.vue +24 -24
- package/dist/runtime/components/UnForm.d.vue.ts +19 -6
- package/dist/runtime/components/UnForm.vue +21 -2
- package/dist/runtime/components/UnForm.vue.d.ts +19 -6
- package/dist/runtime/components/UnFormItem.d.vue.ts +18 -1
- package/dist/runtime/components/UnFormItem.vue +21 -7
- package/dist/runtime/components/UnFormItem.vue.d.ts +18 -1
- package/dist/runtime/components/UnFormList.d.vue.ts +18 -1
- package/dist/runtime/components/UnFormList.vue +26 -18
- package/dist/runtime/components/UnFormList.vue.d.ts +18 -1
- package/dist/runtime/components/UnInput.d.vue.ts +4 -2
- package/dist/runtime/components/UnInput.vue +7 -5
- package/dist/runtime/components/UnInput.vue.d.ts +4 -2
- package/dist/runtime/components/UnList.vue +26 -26
- package/dist/runtime/components/UnProfile.vue +45 -45
- package/dist/runtime/components/UnRadioItem.vue +24 -24
- package/dist/runtime/components/UnSelect.vue +114 -108
- package/dist/runtime/components/UnTableRow.vue +74 -74
- package/dist/runtime/components/UnWalletActions.vue +25 -25
- package/dist/runtime/server/tsconfig.json +3 -3
- package/package.json +103 -103
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="border-t-(1 solid border) flex flex-wrap children:grow-1 sticky bottom-0 mt-auto z-2 bg-white rounded-t-xl -mx-4 <md:-mx-3 px-4 py-3 gap-3">
|
|
3
|
-
<UnCard
|
|
4
|
-
:item="selectedWallet"
|
|
5
|
-
class="basis-full"
|
|
6
|
-
/>
|
|
7
|
-
<UnButton
|
|
8
|
-
v-if="selectedWallet?.coin?.withdrawable && !noWithdraw"
|
|
9
|
-
variant="primary-fill"
|
|
10
|
-
class="basis-full"
|
|
11
|
-
label="برداشت"
|
|
12
|
-
@click="$emit('withdraw')"
|
|
13
|
-
/>
|
|
14
|
-
<UnButton
|
|
15
|
-
v-if="selectedWallet?.coin?.transferable && !noTransfer"
|
|
16
|
-
variant="primary-fill"
|
|
17
|
-
label="انتقال"
|
|
18
|
-
@click="$emit('transfer')"
|
|
19
|
-
/>
|
|
20
|
-
<UnButton
|
|
21
|
-
v-if="selectedWallet?.coin?.depositable && !noDeposit"
|
|
22
|
-
variant="primary-fill"
|
|
23
|
-
label="افزایش اعتبار"
|
|
24
|
-
@click="$emit('deposit')"
|
|
25
|
-
/>
|
|
26
|
-
</div>
|
|
2
|
+
<div class="border-t-(1 solid border) flex flex-wrap children:grow-1 sticky bottom-0 mt-auto z-2 bg-white rounded-t-xl -mx-4 <md:-mx-3 px-4 py-3 gap-3">
|
|
3
|
+
<UnCard
|
|
4
|
+
:item="selectedWallet"
|
|
5
|
+
class="basis-full"
|
|
6
|
+
/>
|
|
7
|
+
<UnButton
|
|
8
|
+
v-if="selectedWallet?.coin?.withdrawable && !noWithdraw"
|
|
9
|
+
variant="primary-fill"
|
|
10
|
+
class="basis-full"
|
|
11
|
+
label="برداشت"
|
|
12
|
+
@click="$emit('withdraw')"
|
|
13
|
+
/>
|
|
14
|
+
<UnButton
|
|
15
|
+
v-if="selectedWallet?.coin?.transferable && !noTransfer"
|
|
16
|
+
variant="primary-fill"
|
|
17
|
+
label="انتقال"
|
|
18
|
+
@click="$emit('transfer')"
|
|
19
|
+
/>
|
|
20
|
+
<UnButton
|
|
21
|
+
v-if="selectedWallet?.coin?.depositable && !noDeposit"
|
|
22
|
+
variant="primary-fill"
|
|
23
|
+
label="افزایش اعتبار"
|
|
24
|
+
@click="$emit('deposit')"
|
|
25
|
+
/>
|
|
26
|
+
</div>
|
|
27
27
|
</template>
|
|
28
28
|
|
|
29
29
|
<script setup>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../.nuxt/tsconfig.server.json",
|
|
3
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../.nuxt/tsconfig.server.json",
|
|
3
|
+
}
|
package/package.json
CHANGED
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@unsource/ui",
|
|
3
|
-
"version": "2.9.
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "nuxt ui kit for unsource env",
|
|
6
|
-
"repository": "https://github.com/alisa2142/unsource-ui",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"type": "module",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/types.d.mts",
|
|
12
|
-
"import": "./dist/module.mjs"
|
|
13
|
-
},
|
|
14
|
-
"./assets/*": "./dist/runtime/assets/*",
|
|
15
|
-
"./composables/*": "./dist/runtime/composables/*"
|
|
16
|
-
},
|
|
17
|
-
"main": "./dist/module.mjs",
|
|
18
|
-
"typesVersions": {
|
|
19
|
-
"*": {
|
|
20
|
-
".": [
|
|
21
|
-
"./dist/types.d.mts"
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"dist"
|
|
27
|
-
],
|
|
28
|
-
"scripts": {
|
|
29
|
-
"prepack": "nuxt-module-build build",
|
|
30
|
-
"dev": "npm run dev:prepare && nuxi dev playground",
|
|
31
|
-
"dev:build": "nuxi build playground",
|
|
32
|
-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
33
|
-
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
|
34
|
-
"lint": "eslint .",
|
|
35
|
-
"test": "vitest run",
|
|
36
|
-
"test:watch": "vitest watch",
|
|
37
|
-
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
38
|
-
},
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"@neshan-maps-platform/vue3-openlayers": "^2.0.1",
|
|
41
|
-
"@nuxt/kit": "~3.19.3",
|
|
42
|
-
"@nuxtjs/device": "^3.2.4",
|
|
43
|
-
"@nuxtjs/i18n": "^10.1.2",
|
|
44
|
-
"@persian-tools/persian-tools": "^4.0.4",
|
|
45
|
-
"@types/big.js": "^6.2.2",
|
|
46
|
-
"@types/numeral": "^2.0.5",
|
|
47
|
-
"@vueuse/components": "^
|
|
48
|
-
"@vueuse/core": "^
|
|
49
|
-
"@vueuse/nuxt": "^
|
|
50
|
-
"ajv": "^8.17.1",
|
|
51
|
-
"big.js": "^7.0.1",
|
|
52
|
-
"defu": "^6.1.4",
|
|
53
|
-
"floating-vue": "^5.2.2",
|
|
54
|
-
"handlebars": "^4.7.8",
|
|
55
|
-
"jalali-moment": "^3.3.11",
|
|
56
|
-
"numeral": "^2.0.6",
|
|
57
|
-
"nuxt-lodash": "^2.5.3",
|
|
58
|
-
"nuxt-swiper": "^1.2.2",
|
|
59
|
-
"ol": "^8.2.0",
|
|
60
|
-
"persian-number": "^1.6.0",
|
|
61
|
-
"socket.io-client": "^4.8.1",
|
|
62
|
-
"swiper": "^11.2.10",
|
|
63
|
-
"unocss-preset-scrollbar": "^3.2.0",
|
|
64
|
-
"vue-json-pretty": "^2.6.0",
|
|
65
|
-
"vue3-otp-input": "^0.5.40",
|
|
66
|
-
"vue3-persian-datetime-picker": "^1.2.2",
|
|
67
|
-
"vue3-toastify": "^0.2.8"
|
|
68
|
-
},
|
|
69
|
-
"peerDependencies": {
|
|
70
|
-
"ajv": "^8.17.1",
|
|
71
|
-
"big.js": "^7.0.1",
|
|
72
|
-
"handlebars": "^4.7.8",
|
|
73
|
-
"jalali-moment": "^3.3.11",
|
|
74
|
-
"numeral": "^2.0.6",
|
|
75
|
-
"nuxt-lodash": "^2.5.3",
|
|
76
|
-
"nuxt-swiper": "^1.2.2",
|
|
77
|
-
"persian-number": "^1.6.0",
|
|
78
|
-
"socket.io-client": "^4.8.1",
|
|
79
|
-
"swiper": "^11.2.10",
|
|
80
|
-
"unocss-preset-scrollbar": "^3.2.0",
|
|
81
|
-
"vue3-toastify": "^0.2.8"
|
|
82
|
-
},
|
|
83
|
-
"devDependencies": {
|
|
84
|
-
"@nuxt/devtools": "^2.6.5",
|
|
85
|
-
"@nuxt/eslint-config": "^1.9.0",
|
|
86
|
-
"@nuxt/icon": "1.15.0",
|
|
87
|
-
"@nuxt/module-builder": "^1.0.2",
|
|
88
|
-
"@nuxt/schema": "^3.19.3",
|
|
89
|
-
"@nuxt/test-utils": "^3.19.2",
|
|
90
|
-
"@types/node": "latest",
|
|
91
|
-
"@unhead/vue": "^1.11.20",
|
|
92
|
-
"@unocss/nuxt": "^66.5.9",
|
|
93
|
-
"changelogen": "^0.6.2",
|
|
94
|
-
"eslint": "^9.37.0",
|
|
95
|
-
"nuxt": "~3.19.3",
|
|
96
|
-
"sass": "^1.93.2",
|
|
97
|
-
"sass-embedded": "^1.93.2",
|
|
98
|
-
"typescript": "~5.9.3",
|
|
99
|
-
"unocss": "^66.5.9",
|
|
100
|
-
"vitest": "^3.2.4",
|
|
101
|
-
"vue-tsc": "^3.1.0"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@unsource/ui",
|
|
3
|
+
"version": "2.9.45",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "nuxt ui kit for unsource env",
|
|
6
|
+
"repository": "https://github.com/alisa2142/unsource-ui",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/types.d.mts",
|
|
12
|
+
"import": "./dist/module.mjs"
|
|
13
|
+
},
|
|
14
|
+
"./assets/*": "./dist/runtime/assets/*",
|
|
15
|
+
"./composables/*": "./dist/runtime/composables/*"
|
|
16
|
+
},
|
|
17
|
+
"main": "./dist/module.mjs",
|
|
18
|
+
"typesVersions": {
|
|
19
|
+
"*": {
|
|
20
|
+
".": [
|
|
21
|
+
"./dist/types.d.mts"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"prepack": "nuxt-module-build build",
|
|
30
|
+
"dev": "npm run dev:prepare && nuxi dev playground",
|
|
31
|
+
"dev:build": "nuxi build playground",
|
|
32
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
33
|
+
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
|
34
|
+
"lint": "eslint .",
|
|
35
|
+
"test": "vitest run",
|
|
36
|
+
"test:watch": "vitest watch",
|
|
37
|
+
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@neshan-maps-platform/vue3-openlayers": "^2.0.1",
|
|
41
|
+
"@nuxt/kit": "~3.19.3",
|
|
42
|
+
"@nuxtjs/device": "^3.2.4",
|
|
43
|
+
"@nuxtjs/i18n": "^10.1.2",
|
|
44
|
+
"@persian-tools/persian-tools": "^4.0.4",
|
|
45
|
+
"@types/big.js": "^6.2.2",
|
|
46
|
+
"@types/numeral": "^2.0.5",
|
|
47
|
+
"@vueuse/components": "^13.9.0",
|
|
48
|
+
"@vueuse/core": "^13.9.0",
|
|
49
|
+
"@vueuse/nuxt": "^13.9.0",
|
|
50
|
+
"ajv": "^8.17.1",
|
|
51
|
+
"big.js": "^7.0.1",
|
|
52
|
+
"defu": "^6.1.4",
|
|
53
|
+
"floating-vue": "^5.2.2",
|
|
54
|
+
"handlebars": "^4.7.8",
|
|
55
|
+
"jalali-moment": "^3.3.11",
|
|
56
|
+
"numeral": "^2.0.6",
|
|
57
|
+
"nuxt-lodash": "^2.5.3",
|
|
58
|
+
"nuxt-swiper": "^1.2.2",
|
|
59
|
+
"ol": "^8.2.0",
|
|
60
|
+
"persian-number": "^1.6.0",
|
|
61
|
+
"socket.io-client": "^4.8.1",
|
|
62
|
+
"swiper": "^11.2.10",
|
|
63
|
+
"unocss-preset-scrollbar": "^3.2.0",
|
|
64
|
+
"vue-json-pretty": "^2.6.0",
|
|
65
|
+
"vue3-otp-input": "^0.5.40",
|
|
66
|
+
"vue3-persian-datetime-picker": "^1.2.2",
|
|
67
|
+
"vue3-toastify": "^0.2.8"
|
|
68
|
+
},
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"ajv": "^8.17.1",
|
|
71
|
+
"big.js": "^7.0.1",
|
|
72
|
+
"handlebars": "^4.7.8",
|
|
73
|
+
"jalali-moment": "^3.3.11",
|
|
74
|
+
"numeral": "^2.0.6",
|
|
75
|
+
"nuxt-lodash": "^2.5.3",
|
|
76
|
+
"nuxt-swiper": "^1.2.2",
|
|
77
|
+
"persian-number": "^1.6.0",
|
|
78
|
+
"socket.io-client": "^4.8.1",
|
|
79
|
+
"swiper": "^11.2.10",
|
|
80
|
+
"unocss-preset-scrollbar": "^3.2.0",
|
|
81
|
+
"vue3-toastify": "^0.2.8"
|
|
82
|
+
},
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"@nuxt/devtools": "^2.6.5",
|
|
85
|
+
"@nuxt/eslint-config": "^1.9.0",
|
|
86
|
+
"@nuxt/icon": "1.15.0",
|
|
87
|
+
"@nuxt/module-builder": "^1.0.2",
|
|
88
|
+
"@nuxt/schema": "^3.19.3",
|
|
89
|
+
"@nuxt/test-utils": "^3.19.2",
|
|
90
|
+
"@types/node": "latest",
|
|
91
|
+
"@unhead/vue": "^1.11.20",
|
|
92
|
+
"@unocss/nuxt": "^66.5.9",
|
|
93
|
+
"changelogen": "^0.6.2",
|
|
94
|
+
"eslint": "^9.37.0",
|
|
95
|
+
"nuxt": "~3.19.3",
|
|
96
|
+
"sass": "^1.93.2",
|
|
97
|
+
"sass-embedded": "^1.93.2",
|
|
98
|
+
"typescript": "~5.9.3",
|
|
99
|
+
"unocss": "^66.5.9",
|
|
100
|
+
"vitest": "^3.2.4",
|
|
101
|
+
"vue-tsc": "^3.1.0"
|
|
102
|
+
}
|
|
103
|
+
}
|