adata-ui 3.1.21 → 3.1.23
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 +1 -1
- package/dist/runtime/components/ColorMode.vue +1 -2
- package/dist/runtime/components/EmptyHeader.vue +15 -0
- package/dist/runtime/components/EmptyHeader.vue.d.ts +2 -0
- package/dist/runtime/components/button/Button.vue.d.ts +1 -1
- package/dist/runtime/components/checkbox/Checkbox.vue.d.ts +1 -1
- package/dist/runtime/components/forms/input/textarea/ATextarea.vue.d.ts +1 -1
- package/dist/runtime/components/radio-button/RadioButton.vue.d.ts +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import AToggle from "./Toggle.vue";
|
|
3
2
|
import Sun from "#icons/color-mode/sun.vue";
|
|
4
3
|
import Moon from "#icons/color-mode/moon.vue";
|
|
5
4
|
import { useColorMode, computed, onMounted } from "#imports";
|
|
@@ -32,7 +31,7 @@ onMounted(() => {
|
|
|
32
31
|
|
|
33
32
|
<template>
|
|
34
33
|
<client-only>
|
|
35
|
-
<
|
|
34
|
+
<adt-toggle
|
|
36
35
|
v-model="mode"
|
|
37
36
|
size="2xl"
|
|
38
37
|
:on-icon="Moon"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div class="h-16 bg-white border-b-[1px] border-deepblue-900/10 dark:bg-gray-900">
|
|
7
|
+
<div class="a-container flex items-center justify-end h-full">
|
|
8
|
+
<adt-color-mode/>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<style scoped>
|
|
14
|
+
|
|
15
|
+
</style>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -20,12 +20,12 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
20
20
|
size: "sm" | "md" | "lg" | "xl";
|
|
21
21
|
view: "default" | "outline" | "transparent";
|
|
22
22
|
disabled: boolean;
|
|
23
|
-
active: boolean;
|
|
24
23
|
variant: "primary" | "success" | "danger" | "gray" | "ghost";
|
|
25
24
|
form: "icon" | "button";
|
|
26
25
|
iconClass: string;
|
|
27
26
|
loading: boolean;
|
|
28
27
|
block: boolean;
|
|
28
|
+
active: boolean;
|
|
29
29
|
to: string;
|
|
30
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -25,8 +25,8 @@ type __VLS_Slots = {} & {
|
|
|
25
25
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
26
26
|
name: string;
|
|
27
27
|
size: "lg" | "sm";
|
|
28
|
-
modelValue: string | number | Array<any> | object | boolean | null;
|
|
29
28
|
value: string | number | object | null;
|
|
29
|
+
modelValue: string | number | Array<any> | object | boolean | null;
|
|
30
30
|
side: "right" | "left" | null;
|
|
31
31
|
masterControl: boolean;
|
|
32
32
|
emptyCheckboxClass: string;
|
|
@@ -24,9 +24,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
24
24
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
size: "sm" | "md";
|
|
27
|
+
error: string | boolean;
|
|
27
28
|
disabled: boolean;
|
|
28
29
|
required: boolean;
|
|
29
|
-
error: string | boolean;
|
|
30
30
|
label: string;
|
|
31
31
|
readonly: boolean;
|
|
32
32
|
clearable: boolean;
|
|
@@ -22,8 +22,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
22
22
|
} & {
|
|
23
23
|
change: () => any;
|
|
24
24
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
25
|
-
"onUpdate:modelValue"?: ((value: string | number | boolean | null | undefined) => any) | undefined;
|
|
26
25
|
onChange?: (() => any) | undefined;
|
|
26
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean | null | undefined) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
name: string;
|
|
29
29
|
size: "lg" | "sm";
|