rimelight-components 1.7.14 → 1.7.15
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.
|
@@ -4,11 +4,11 @@ type __VLS_Props = {
|
|
|
4
4
|
to?: string;
|
|
5
5
|
target?: string;
|
|
6
6
|
};
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_18: {}, __VLS_43: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_18) => any;
|
|
10
10
|
} & {
|
|
11
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_43) => any;
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -20,8 +20,35 @@ const tooltip = computed(() => config.value.tooltip);
|
|
|
20
20
|
</script>
|
|
21
21
|
|
|
22
22
|
<template>
|
|
23
|
-
<
|
|
23
|
+
<div class="block">
|
|
24
|
+
<NuxtLink v-if="to" :to="to" :target="target" class="cursor-pointer">
|
|
25
|
+
<UAlert
|
|
26
|
+
:title="$t(title)"
|
|
27
|
+
:color="variant"
|
|
28
|
+
variant="subtle"
|
|
29
|
+
:close="{
|
|
30
|
+
class: 'pointer-events-none focus-visible:outline-none'
|
|
31
|
+
}"
|
|
32
|
+
>
|
|
33
|
+
<template #leading>
|
|
34
|
+
<UIcon :name="icon" class="size-6" />
|
|
35
|
+
</template>
|
|
36
|
+
<template #description>
|
|
37
|
+
<slot />
|
|
38
|
+
</template>
|
|
39
|
+
<template #close>
|
|
40
|
+
<UTooltip v-if="tooltip" :text="$t(tooltip)">
|
|
41
|
+
<UIcon
|
|
42
|
+
name="lucide:circle-question-mark"
|
|
43
|
+
class="pointer-events-auto size-5"
|
|
44
|
+
/>
|
|
45
|
+
</UTooltip>
|
|
46
|
+
</template>
|
|
47
|
+
</UAlert>
|
|
48
|
+
</NuxtLink>
|
|
49
|
+
|
|
24
50
|
<UAlert
|
|
51
|
+
v-else
|
|
25
52
|
:title="$t(title)"
|
|
26
53
|
:color="variant"
|
|
27
54
|
variant="subtle"
|
|
@@ -37,34 +64,9 @@ const tooltip = computed(() => config.value.tooltip);
|
|
|
37
64
|
</template>
|
|
38
65
|
<template #close>
|
|
39
66
|
<UTooltip v-if="tooltip" :text="$t(tooltip)">
|
|
40
|
-
<UIcon
|
|
41
|
-
name="lucide:circle-question-mark"
|
|
42
|
-
class="pointer-events-auto size-5"
|
|
43
|
-
/>
|
|
67
|
+
<UIcon name="lucide:circle-question-mark" class="size-5" />
|
|
44
68
|
</UTooltip>
|
|
45
69
|
</template>
|
|
46
70
|
</UAlert>
|
|
47
|
-
</
|
|
48
|
-
|
|
49
|
-
<UAlert
|
|
50
|
-
v-else
|
|
51
|
-
:title="$t(title)"
|
|
52
|
-
:color="variant"
|
|
53
|
-
variant="subtle"
|
|
54
|
-
:close="{
|
|
55
|
-
class: 'pointer-events-none focus-visible:outline-none'
|
|
56
|
-
}"
|
|
57
|
-
>
|
|
58
|
-
<template #leading>
|
|
59
|
-
<UIcon :name="icon" class="size-6" />
|
|
60
|
-
</template>
|
|
61
|
-
<template #description>
|
|
62
|
-
<slot />
|
|
63
|
-
</template>
|
|
64
|
-
<template #close>
|
|
65
|
-
<UTooltip v-if="tooltip" :text="$t(tooltip)">
|
|
66
|
-
<UIcon name="lucide:circle-question-mark" class="size-5" />
|
|
67
|
-
</UTooltip>
|
|
68
|
-
</template>
|
|
69
|
-
</UAlert>
|
|
71
|
+
</div>
|
|
70
72
|
</template>
|
|
@@ -4,11 +4,11 @@ type __VLS_Props = {
|
|
|
4
4
|
to?: string;
|
|
5
5
|
target?: string;
|
|
6
6
|
};
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_18: {}, __VLS_43: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
|
-
default?: (props: typeof
|
|
9
|
+
default?: (props: typeof __VLS_18) => any;
|
|
10
10
|
} & {
|
|
11
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_43) => any;
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/package.json
CHANGED