@unsource/ui 2.9.36 → 2.9.37
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/dist/module.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { CoinGateway, Wallet } from '../types/models.js';
|
|
2
|
+
import type { SelectCustomClass } from '~/src/runtime/components/UnSelect.vue';
|
|
2
3
|
type __VLS_Props = {
|
|
4
|
+
customClass?: SelectCustomClass;
|
|
3
5
|
gatewayFilter?: (item: CoinGateway, i: number) => boolean;
|
|
4
6
|
walletsFilter?: (item: Wallet, i: number) => boolean;
|
|
5
7
|
walletsDisable?: (item: Wallet, i: number) => boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<UnSelect
|
|
3
3
|
v-model="selectedPayment"
|
|
4
|
-
:custom-class="{ innerWrapper: '<md:(!max-h-unset bg-white !pb-0 !border-(1 solid transparent))' }"
|
|
4
|
+
:custom-class="_mergeWith(customClass, { innerWrapper: '<md:(!max-h-unset bg-white !pb-0 !border-(1 solid transparent))' })"
|
|
5
5
|
value-key="value"
|
|
6
6
|
light
|
|
7
7
|
class="z-1 grow-1 shrink-0"
|
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
</template>
|
|
12
12
|
|
|
13
13
|
<script setup>
|
|
14
|
-
import { _ceil, computed, useGateways, useWallets, watch } from "#imports";
|
|
15
|
-
const { gatewayFilter, walletsFilter, walletsDisable } = defineProps({
|
|
14
|
+
import { _ceil, _merge, _mergeWith, computed, useGateways, useWallets, watch } from "#imports";
|
|
15
|
+
const { gatewayFilter, walletsFilter, walletsDisable, customClass = {} } = defineProps({
|
|
16
|
+
customClass: { type: Object, required: false },
|
|
16
17
|
gatewayFilter: { type: Function, required: false },
|
|
17
18
|
walletsFilter: { type: Function, required: false },
|
|
18
19
|
walletsDisable: { type: Function, required: false }
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { CoinGateway, Wallet } from '../types/models.js';
|
|
2
|
+
import type { SelectCustomClass } from '~/src/runtime/components/UnSelect.vue';
|
|
2
3
|
type __VLS_Props = {
|
|
4
|
+
customClass?: SelectCustomClass;
|
|
3
5
|
gatewayFilter?: (item: CoinGateway, i: number) => boolean;
|
|
4
6
|
walletsFilter?: (item: Wallet, i: number) => boolean;
|
|
5
7
|
walletsDisable?: (item: Wallet, i: number) => boolean;
|