@defaultusr/dai-ui 1.0.4
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/README.md +5 -0
- package/dist/assets/main.css +1 -0
- package/dist/chunks/index.W-qQIppj.js +2383 -0
- package/dist/main.js +1286 -0
- package/dist/nuxt.js +44 -0
- package/dist/types/components/btn.vue.d.ts +33 -0
- package/dist/types/components/checkbox.vue.d.ts +19 -0
- package/dist/types/components/combobox/combobox.vue.d.ts +20 -0
- package/dist/types/components/combobox/comboboxInput.vue.d.ts +2 -0
- package/dist/types/components/combobox/comboboxOption.vue.d.ts +18 -0
- package/dist/types/components/combobox/comboboxOptions.vue.d.ts +12 -0
- package/dist/types/components/formControl/btn.vue.d.ts +12 -0
- package/dist/types/components/formControl/formControl.vue.d.ts +37 -0
- package/dist/types/components/formControl/inputGroup.vue.d.ts +23 -0
- package/dist/types/components/formControl/label.vue.d.ts +15 -0
- package/dist/types/components/formControl.vue.d.ts +38 -0
- package/dist/types/components/input.vue.d.ts +38 -0
- package/dist/types/components/menu/menuItem.vue.d.ts +18 -0
- package/dist/types/components/menu/menuItems.vue.d.ts +12 -0
- package/dist/types/components/modal.vue.d.ts +22 -0
- package/dist/types/components/notifications/notification.vue.d.ts +20 -0
- package/dist/types/components/notifications/notificationQueue.vue.d.ts +30 -0
- package/dist/types/components/offcanvas.vue.d.ts +30 -0
- package/dist/types/components/popoverDialog.vue.d.ts +12 -0
- package/dist/types/components/progressbar.vue.d.ts +12 -0
- package/dist/types/components/radio.vue.d.ts +20 -0
- package/dist/types/components/select.vue.d.ts +27 -0
- package/dist/types/components/switch.vue.d.ts +13 -0
- package/dist/types/components/tabs/tab.vue.d.ts +17 -0
- package/dist/types/components/tabs/tabList.vue.d.ts +12 -0
- package/dist/types/components/textarea.vue.d.ts +16 -0
- package/dist/types/composables/classList.d.ts +3 -0
- package/dist/types/main.d.ts +24 -0
- package/dist/types/nuxt.d.ts +2 -0
- package/dist/types/unocss.preset.d.ts +3 -0
- package/dist/unocss.preset.js +133 -0
- package/package.json +78 -0
package/dist/nuxt.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineNuxtModule as n, addComponent as a } from "@nuxt/kit";
|
|
2
|
+
const p = n({
|
|
3
|
+
defaults: {
|
|
4
|
+
prefix: "Dai"
|
|
5
|
+
},
|
|
6
|
+
setup(e) {
|
|
7
|
+
const t = [
|
|
8
|
+
"Popover",
|
|
9
|
+
"Menu",
|
|
10
|
+
"TabContainer",
|
|
11
|
+
"TabPanel",
|
|
12
|
+
"Btn",
|
|
13
|
+
"Input",
|
|
14
|
+
"Textarea",
|
|
15
|
+
"Select",
|
|
16
|
+
"Checkbox",
|
|
17
|
+
"Radio",
|
|
18
|
+
"Switch",
|
|
19
|
+
"PopoverDialog",
|
|
20
|
+
"Combobox",
|
|
21
|
+
"ComboboxInput",
|
|
22
|
+
"ComboboxOptions",
|
|
23
|
+
"ComboboxOption",
|
|
24
|
+
"MenuItems",
|
|
25
|
+
"MenuItem",
|
|
26
|
+
"Tab",
|
|
27
|
+
"TabList",
|
|
28
|
+
"Offcanvas",
|
|
29
|
+
"Notification",
|
|
30
|
+
"NotificationQueue",
|
|
31
|
+
"Progressbar",
|
|
32
|
+
"Modal"
|
|
33
|
+
];
|
|
34
|
+
for (const o of t)
|
|
35
|
+
a({
|
|
36
|
+
name: `${e.prefix}${o}`,
|
|
37
|
+
export: o,
|
|
38
|
+
filePath: "nyet-ui"
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
p as default
|
|
44
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
submit?: boolean | string;
|
|
3
|
+
reset?: boolean;
|
|
4
|
+
href?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
iconAfter?: string;
|
|
7
|
+
color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
8
|
+
variant?: "flat" | "muted" | "plain" | "outlined";
|
|
9
|
+
plain?: boolean;
|
|
10
|
+
muted?: boolean;
|
|
11
|
+
outlined?: boolean;
|
|
12
|
+
size?: "small" | "medium" | "large";
|
|
13
|
+
sm?: boolean;
|
|
14
|
+
lg?: boolean;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
block?: boolean;
|
|
17
|
+
rounded?: boolean;
|
|
18
|
+
condensed?: boolean;
|
|
19
|
+
};
|
|
20
|
+
declare var __VLS_7: {};
|
|
21
|
+
type __VLS_Slots = {} & {
|
|
22
|
+
default?: (props: typeof __VLS_7) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
|
+
color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
3
|
+
validators?: Array<(v: string) => boolean | string>;
|
|
4
|
+
showValidationError?: boolean;
|
|
5
|
+
label?: string;
|
|
6
|
+
hint?: string;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
9
|
+
modelValue?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
17
|
+
showValidationError: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare var __VLS_11: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_11) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
6
|
+
modelValue?: any;
|
|
7
|
+
}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (value: any) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
10
|
+
modelValue?: any;
|
|
11
|
+
}> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: any;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_7: {
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
isSelected: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_12: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_12) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export interface IFormControlProps {
|
|
2
|
+
id?: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
labelInline?: boolean;
|
|
5
|
+
labelInside?: boolean;
|
|
6
|
+
hint?: string;
|
|
7
|
+
validationMessage?: string;
|
|
8
|
+
outlined?: boolean;
|
|
9
|
+
muted?: boolean;
|
|
10
|
+
rounded?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
invalid?: boolean;
|
|
13
|
+
lg?: boolean;
|
|
14
|
+
sm?: boolean;
|
|
15
|
+
autocomplete?: string | boolean;
|
|
16
|
+
}
|
|
17
|
+
declare var __VLS_9: {
|
|
18
|
+
attrs: {
|
|
19
|
+
class: string;
|
|
20
|
+
id: string;
|
|
21
|
+
disabled: boolean | undefined;
|
|
22
|
+
autocomplete: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_Slots = {} & {
|
|
26
|
+
default?: (props: typeof __VLS_9) => any;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_component: import("vue").DefineComponent<IFormControlProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IFormControlProps> & Readonly<{}>, {
|
|
29
|
+
autocomplete: string | boolean;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
labelFor?: string;
|
|
4
|
+
outlined?: boolean;
|
|
5
|
+
muted?: boolean;
|
|
6
|
+
rounded?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
invalid?: boolean;
|
|
9
|
+
lg?: boolean;
|
|
10
|
+
sm?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_5: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_5) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
text: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
containerId?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
labelInline?: boolean;
|
|
6
|
+
labelInside?: boolean;
|
|
7
|
+
hint?: string;
|
|
8
|
+
validationMessage?: string;
|
|
9
|
+
outlined?: boolean;
|
|
10
|
+
muted?: boolean;
|
|
11
|
+
rounded?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
invalid?: boolean;
|
|
14
|
+
lg?: boolean;
|
|
15
|
+
sm?: boolean;
|
|
16
|
+
autocomplete?: string | boolean;
|
|
17
|
+
};
|
|
18
|
+
declare var __VLS_1: {
|
|
19
|
+
attrs: {
|
|
20
|
+
class: string;
|
|
21
|
+
id: string;
|
|
22
|
+
disabled: boolean | undefined;
|
|
23
|
+
autocomplete: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_Slots = {} & {
|
|
27
|
+
default?: (props: typeof __VLS_1) => any;
|
|
28
|
+
};
|
|
29
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
30
|
+
autocomplete: string | boolean;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FactoryArg } from "imask";
|
|
2
|
+
import { IFormControlProps } from "./formControl/formControl.vue";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
type?: "text" | "number" | "email" | "tel" | "password" | "date" | "datetime-local" | "time" | "color" | "url" | "file";
|
|
5
|
+
mask?: FactoryArg;
|
|
6
|
+
pattern?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
clearable?: boolean;
|
|
9
|
+
validators?: Array<(v: string) => boolean | string>;
|
|
10
|
+
showValidationError?: boolean;
|
|
11
|
+
} & IFormControlProps;
|
|
12
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
13
|
+
modelValue?: string | number;
|
|
14
|
+
"files"?: HTMLInputElement["files"];
|
|
15
|
+
};
|
|
16
|
+
declare var __VLS_6: {}, __VLS_8: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
prepend?: (props: typeof __VLS_6) => any;
|
|
19
|
+
} & {
|
|
20
|
+
append?: (props: typeof __VLS_8) => any;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (value: string | number | undefined) => any;
|
|
24
|
+
"update:files": (value: FileList | null | undefined) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
27
|
+
"onUpdate:files"?: ((value: FileList | null | undefined) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
type: "text" | "number" | "email" | "tel" | "password" | "date" | "datetime-local" | "time" | "color" | "url" | "file";
|
|
30
|
+
showValidationError: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
icon?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_7: {
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
isSelected: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_12: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_12) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare function close(): void;
|
|
2
|
+
type __VLS_PublicProps = {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_11: {
|
|
6
|
+
close: typeof close;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_11) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
3
|
+
icon?: "success" | "info" | "warning" | "error";
|
|
4
|
+
message: string;
|
|
5
|
+
detail?: string;
|
|
6
|
+
dismissible?: boolean;
|
|
7
|
+
timeout?: number;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
10
|
+
modelValue?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
dismissible: boolean;
|
|
18
|
+
timeout: number;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface NotificationParams {
|
|
2
|
+
type?: "success" | "info" | "warning" | "error";
|
|
3
|
+
color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
4
|
+
message: string;
|
|
5
|
+
detail?: string;
|
|
6
|
+
dismissible?: boolean;
|
|
7
|
+
timeout?: number;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
length?: number;
|
|
11
|
+
timeout?: number;
|
|
12
|
+
position?: "fixed" | "absolute" | "static";
|
|
13
|
+
positionX?: "left" | "center" | "right";
|
|
14
|
+
positionY?: "top" | "bottom";
|
|
15
|
+
};
|
|
16
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
17
|
+
"queue"?: NotificationParams[];
|
|
18
|
+
};
|
|
19
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:queue": (value: NotificationParams[]) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
+
"onUpdate:queue"?: ((value: NotificationParams[]) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
length: number;
|
|
25
|
+
position: "fixed" | "absolute" | "static";
|
|
26
|
+
timeout: number;
|
|
27
|
+
positionX: "left" | "center" | "right";
|
|
28
|
+
positionY: "top" | "bottom";
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
position?: "left" | "right";
|
|
4
|
+
push?: boolean;
|
|
5
|
+
closeOnOutsideClick?: boolean;
|
|
6
|
+
lg?: boolean;
|
|
7
|
+
xl?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
10
|
+
modelValue?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_11: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_11) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
position: "left" | "right";
|
|
22
|
+
closeOnOutsideClick: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_12: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_12) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value?: number | string;
|
|
3
|
+
color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
4
|
+
height?: number | string;
|
|
5
|
+
rounded?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
9
|
+
rounded: boolean;
|
|
10
|
+
height: number | string;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: unknown;
|
|
3
|
+
color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
4
|
+
validators?: Array<(v: string) => boolean | string>;
|
|
5
|
+
showValidationError?: boolean;
|
|
6
|
+
label?: string;
|
|
7
|
+
hint?: string;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
10
|
+
modelValue?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
18
|
+
showValidationError: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: <I extends {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
6
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
|
|
7
|
+
options: Array<I>;
|
|
8
|
+
optionText?: keyof I;
|
|
9
|
+
optionValue?: keyof I;
|
|
10
|
+
validators?: Array<(v: string) => boolean | string>;
|
|
11
|
+
showValidationError?: boolean;
|
|
12
|
+
} & {
|
|
13
|
+
modelValue?: any;
|
|
14
|
+
}) & Partial<{}>> & import("vue").PublicProps;
|
|
15
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
16
|
+
attrs: any;
|
|
17
|
+
slots: {
|
|
18
|
+
default?: (props: {}) => any;
|
|
19
|
+
};
|
|
20
|
+
emit: (evt: "update:modelValue", value: any) => void;
|
|
21
|
+
}>) => import("vue").VNode & {
|
|
22
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_PrettifyLocal<T> = {
|
|
26
|
+
[K in keyof T as K]: T[K];
|
|
27
|
+
} & {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
hint?: string;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
6
|
+
modelValue?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
ariaControls?: string;
|
|
4
|
+
value: any;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_7: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_11: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_11) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
autosize?: boolean;
|
|
3
|
+
validators?: Array<(v: string) => boolean | string>;
|
|
4
|
+
showValidationError?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
showValidationError: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export { Popover, Menu, TabContainer, TabPanel } from "vue-composable-ui";
|
|
2
|
+
export { useClassList } from "./composables/classList";
|
|
3
|
+
export { default as Btn } from "./components/btn.vue";
|
|
4
|
+
export { default as Input } from "./components/input.vue";
|
|
5
|
+
export { default as Textarea } from "./components/textarea.vue";
|
|
6
|
+
export { default as Select } from "./components/select.vue";
|
|
7
|
+
export { default as Checkbox } from "./components/checkbox.vue";
|
|
8
|
+
export { default as Radio } from "./components/radio.vue";
|
|
9
|
+
export { default as Switch } from "./components/switch.vue";
|
|
10
|
+
export { default as PopoverDialog } from "./components/popoverDialog.vue";
|
|
11
|
+
export { default as Combobox } from "./components/combobox/combobox.vue";
|
|
12
|
+
export { default as ComboboxInput } from "./components/combobox/comboboxInput.vue";
|
|
13
|
+
export { default as ComboboxOptions } from "./components/combobox/comboboxOptions.vue";
|
|
14
|
+
export { default as ComboboxOption } from "./components/combobox/comboboxOption.vue";
|
|
15
|
+
export { default as MenuItems } from "./components/menu/menuItems.vue";
|
|
16
|
+
export { default as MenuItem } from "./components/menu/menuItem.vue";
|
|
17
|
+
export { default as Tab } from "./components/tabs/tab.vue";
|
|
18
|
+
export { default as TabList } from "./components/tabs/tabList.vue";
|
|
19
|
+
export { default as Offcanvas } from "./components/offcanvas.vue";
|
|
20
|
+
export { default as Notification } from "./components/notifications/notification.vue";
|
|
21
|
+
export { default as NotificationQueue } from "./components/notifications/notificationQueue.vue";
|
|
22
|
+
export type { NotificationParams } from "./components/notifications/notificationQueue.vue";
|
|
23
|
+
export { default as Progressbar } from "./components/progressbar.vue";
|
|
24
|
+
export { default as Modal } from "./components/modal.vue";
|