@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.
@@ -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.38",
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": "^14.1.0",
48
- "@vueuse/core": "^14.1.0",
49
- "@vueuse/nuxt": "^14.1.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
- }
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
+ }