@unsource/ui 2.8.0 → 2.8.2

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.
Files changed (22) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/{UnModal/Transfer.vue → UnModalTransfer.vue} +1 -0
  3. package/dist/runtime/components/{UnModal/Withdrawal.d.vue.ts → UnModalWalletIncrease.d.vue.ts} +1 -1
  4. package/dist/runtime/components/{UnModal/WalletIncrease.vue → UnModalWalletIncrease.vue} +1 -1
  5. package/dist/runtime/components/{UnModal/WalletIncrease.d.vue.ts → UnModalWalletIncrease.vue.d.ts} +1 -1
  6. package/dist/runtime/components/{UnModal/Withdrawal.vue.d.ts → UnModalWithdrawal.d.vue.ts} +1 -1
  7. package/dist/runtime/components/{UnModal/Withdrawal.vue → UnModalWithdrawal.vue} +2 -2
  8. package/dist/runtime/components/{UnModal/WalletIncrease.vue.d.ts → UnModalWithdrawal.vue.d.ts} +1 -1
  9. package/dist/runtime/components/UnWallet.vue +1 -1
  10. package/dist/runtime/components/UnWalletActions.d.vue.ts +1 -1
  11. package/dist/runtime/components/UnWalletActions.vue +1 -1
  12. package/dist/runtime/components/UnWalletActions.vue.d.ts +1 -1
  13. package/dist/runtime/composables/global.js +1 -0
  14. package/package.json +1 -1
  15. /package/dist/runtime/components/{UnModal/PaymentMethod.d.vue.ts → UnModalPaymentMethod.d.vue.ts} +0 -0
  16. /package/dist/runtime/components/{UnModal/PaymentMethod.vue → UnModalPaymentMethod.vue} +0 -0
  17. /package/dist/runtime/components/{UnModal/PaymentMethod.vue.d.ts → UnModalPaymentMethod.vue.d.ts} +0 -0
  18. /package/dist/runtime/components/{UnModal/Transfer.d.vue.ts → UnModalTransfer.d.vue.ts} +0 -0
  19. /package/dist/runtime/components/{UnModal/Transfer.vue.d.ts → UnModalTransfer.vue.d.ts} +0 -0
  20. /package/dist/runtime/components/{UnModal/WalletSelection.d.vue.ts → UnModalWalletSelection.d.vue.ts} +0 -0
  21. /package/dist/runtime/components/{UnModal/WalletSelection.vue → UnModalWalletSelection.vue} +0 -0
  22. /package/dist/runtime/components/{UnModal/WalletSelection.vue.d.ts → UnModalWalletSelection.vue.d.ts} +0 -0
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unsource-ui",
3
3
  "configKey": "unsourceUi",
4
- "version": "2.8.0",
4
+ "version": "2.8.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -39,6 +39,7 @@ import {
39
39
  _debounce,
40
40
  ajv,
41
41
  computed,
42
+ ref,
42
43
  s2n,
43
44
  submitPayment,
44
45
  useGet,
@@ -1,4 +1,4 @@
1
- import type { Wallet } from '../../types/models.js';
1
+ import type { Wallet } from '../types/models.js';
2
2
  type __VLS_Props = {
3
3
  wallet: Wallet;
4
4
  };
@@ -26,7 +26,7 @@
26
26
  </template>
27
27
 
28
28
  <script setup>
29
- import { s2n, submitPayment } from "#imports";
29
+ import { ref, s2n, submitPayment } from "#imports";
30
30
  const { wallet } = defineProps({
31
31
  wallet: { type: Object, required: true }
32
32
  });
@@ -1,4 +1,4 @@
1
- import type { Wallet } from '../../types/models.js';
1
+ import type { Wallet } from '../types/models.js';
2
2
  type __VLS_Props = {
3
3
  wallet: Wallet;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { Wallet } from '../../types/models.js';
1
+ import type { Wallet } from '../types/models.js';
2
2
  type __VLS_Props = {
3
3
  wallet: Wallet;
4
4
  };
@@ -20,8 +20,8 @@
20
20
  </template>
21
21
 
22
22
  <script setup>
23
- import { saveWithdraw } from "../../composables/services";
24
- import { computed, navigateTo, useNuxtApp, useTemplateRef } from "#imports";
23
+ import { saveWithdraw } from "../composables/services";
24
+ import { computed, navigateTo, ref, useNuxtApp, useTemplateRef } from "#imports";
25
25
  const { wallet } = defineProps({
26
26
  wallet: { type: Object, required: true }
27
27
  });
@@ -1,4 +1,4 @@
1
- import type { Wallet } from '../../types/models.js';
1
+ import type { Wallet } from '../types/models.js';
2
2
  type __VLS_Props = {
3
3
  wallet: Wallet;
4
4
  };
@@ -96,7 +96,7 @@
96
96
  </template>
97
97
 
98
98
  <script setup>
99
- import { _ceil, _round, computed, useAsyncData, useNuxtApp, useUser, useWallets } from "#imports";
99
+ import { _ceil, _round, computed, ref, useAsyncData, useNuxtApp, useUser, useWallets } from "#imports";
100
100
  import { getMyTransactions } from "../composables/services";
101
101
  const { multi = true, trxQuery = {} } = defineProps({
102
102
  multi: { type: Boolean, required: false },
@@ -1,4 +1,4 @@
1
- import type { Wallet } from '../types/wallet.js';
1
+ import type { Wallet } from '../types/models.js';
2
2
  type __VLS_Props = {
3
3
  selectedWallet: Wallet | null;
4
4
  noWithdraw?: boolean;
@@ -28,7 +28,7 @@
28
28
 
29
29
  <script setup>
30
30
  defineProps({
31
- selectedWallet: { type: null, required: true },
31
+ selectedWallet: { type: [Object, null], required: true },
32
32
  noWithdraw: { type: Boolean, required: false },
33
33
  noDeposit: { type: Boolean, required: false },
34
34
  noTransfer: { type: Boolean, required: false }
@@ -1,4 +1,4 @@
1
- import type { Wallet } from '../types/wallet.js';
1
+ import type { Wallet } from '../types/models.js';
2
2
  type __VLS_Props = {
3
3
  selectedWallet: Wallet | null;
4
4
  noWithdraw?: boolean;
@@ -12,6 +12,7 @@ import {
12
12
  ref,
13
13
  useDevice,
14
14
  useGet,
15
+ useI18n,
15
16
  useNuxtApp,
16
17
  usePost,
17
18
  useState
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsource/ui",
3
- "version": "2.8.0",
3
+ "version": "2.8.2",
4
4
  "private": false,
5
5
  "description": "nuxt ui kit for unsource env",
6
6
  "repository": "https://github.com/alisa2142/unsource-ui",