@dolanske/vui 1.1.1 → 1.1.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.
- package/LICENSE +1 -1
- package/package.json +1 -1
- package/src/components/Card/card.scss +2 -0
- package/src/components/Divider/Divider.vue +1 -7
- package/src/components/Divider/divider.scss +9 -7
- package/src/components/Grid/Grid.vue +5 -0
- package/src/components/Select/Select.vue +0 -1
- package/src/components/Select/select.scss +4 -0
- package/src/components/Spinner/spinner.scss +1 -1
- package/src/examples/ExampleTabs.vue +17 -0
- package/src/style/layout.scss +3 -0
- package/src/vite-env.d.ts +1 -1
- package/dist/components/Accordion/Accordion.vue.d.ts +0 -47
- package/dist/components/Accordion/AccordionGroup.vue.d.ts +0 -35
- package/dist/components/Alert/Alert.vue.d.ts +0 -36
- package/dist/components/Avatar/Avatar.vue.d.ts +0 -25
- package/dist/components/Badge/Badge.vue.d.ts +0 -22
- package/dist/components/Breadcrumbs/BreadcrumbItem.vue.d.ts +0 -22
- package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +0 -28
- package/dist/components/Button/Button.vue.d.ts +0 -32
- package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts +0 -22
- package/dist/components/Calendar/Calendar.vue.d.ts +0 -27
- package/dist/components/Card/Card.vue.d.ts +0 -26
- package/dist/components/Checkbox/Checkbox.vue.d.ts +0 -33
- package/dist/components/CopyClipboard/CopyClipboard.vue.d.ts +0 -41
- package/dist/components/Divider/Divider.vue.d.ts +0 -23
- package/dist/components/Drawer/Drawer.vue.d.ts +0 -53
- package/dist/components/Dropdown/Dropdown.vue.d.ts +0 -183
- package/dist/components/Dropdown/DropdownItem.vue.d.ts +0 -23
- package/dist/components/Dropdown/DropdownTitle.vue.d.ts +0 -21
- package/dist/components/Flex/Flex.vue.d.ts +0 -41
- package/dist/components/Grid/Grid.vue.d.ts +0 -33
- package/dist/components/Input/Color.vue.d.ts +0 -11
- package/dist/components/Input/Counter.vue.d.ts +0 -19
- package/dist/components/Input/Dropzone.vue.d.ts +0 -193
- package/dist/components/Input/File.vue.d.ts +0 -8
- package/dist/components/Input/Input.vue.d.ts +0 -56
- package/dist/components/Input/Password.vue.d.ts +0 -6
- package/dist/components/Input/Textarea.vue.d.ts +0 -31
- package/dist/components/Kbd/Kbd.vue.d.ts +0 -23
- package/dist/components/Kbd/KbdGroup.vue.d.ts +0 -24
- package/dist/components/Modal/Confirm.vue.d.ts +0 -43
- package/dist/components/Modal/Modal.vue.d.ts +0 -58
- package/dist/components/OTP/OTP.vue.d.ts +0 -44
- package/dist/components/OTP/OTPItem.vue.d.ts +0 -5
- package/dist/components/Pagination/Pagination.vue.d.ts +0 -46
- package/dist/components/Pagination/pagination.d.ts +0 -12
- package/dist/components/Popout/Popout.vue.d.ts +0 -42
- package/dist/components/Progress/Progress.vue.d.ts +0 -33
- package/dist/components/Radio/Radio.vue.d.ts +0 -29
- package/dist/components/Radio/RadioGroup.vue.d.ts +0 -32
- package/dist/components/Select/Select.vue.d.ts +0 -35
- package/dist/components/Sheet/Sheet.vue.d.ts +0 -47
- package/dist/components/Sidebar/Sidebar.vue.d.ts +0 -70
- package/dist/components/Skeleton/Skeleton.vue.d.ts +0 -8
- package/dist/components/Spinner/Spinner.vue.d.ts +0 -6
- package/dist/components/Switch/Switch.vue.d.ts +0 -28
- package/dist/components/Table/Cell.vue.d.ts +0 -22
- package/dist/components/Table/Head.vue.d.ts +0 -30
- package/dist/components/Table/Root.vue.d.ts +0 -41
- package/dist/components/Table/SelectAll.vue.d.ts +0 -2
- package/dist/components/Table/SelectRow.vue.d.ts +0 -6
- package/dist/components/Table/index.d.ts +0 -6
- package/dist/components/Table/table.d.ts +0 -68
- package/dist/components/Tabs/Tab.vue.d.ts +0 -22
- package/dist/components/Tabs/Tabs.vue.d.ts +0 -48
- package/dist/components/Toast/Toasts.vue.d.ts +0 -2
- package/dist/components/Toast/toast.d.ts +0 -287
- package/dist/components/Tooltip/Tooltip.vue.d.ts +0 -33
- package/dist/index.d.ts +0 -56
- package/dist/internal/Backdrop/Backdrop.vue.d.ts +0 -21
- package/dist/shared/helpers.d.ts +0 -32
- package/dist/shared/theme.d.ts +0 -3
- package/dist/shared/types.d.ts +0 -24
- package/dist/vui.css +0 -1
- package/dist/vui.js +0 -16130
package/LICENSE
CHANGED
|
@@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you
|
|
|
671
671
|
may consider it more useful to permit linking proprietary applications with
|
|
672
672
|
the library. If this is what you want to do, use the GNU Lesser General
|
|
673
673
|
Public License instead of this License. But first, please read
|
|
674
|
-
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
|
674
|
+
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
package/package.json
CHANGED
|
@@ -19,7 +19,6 @@ const {
|
|
|
19
19
|
|
|
20
20
|
const h = computed(() => formatUnitValue(size))
|
|
21
21
|
const w = computed(() => vertical ? h.value : 'initial')
|
|
22
|
-
const bW = computed(() => `${thickness}px`)
|
|
23
22
|
const m = computed(() => formatUnitValue(margin))
|
|
24
23
|
</script>
|
|
25
24
|
|
|
@@ -31,14 +30,9 @@ const m = computed(() => formatUnitValue(margin))
|
|
|
31
30
|
height: h,
|
|
32
31
|
}"
|
|
33
32
|
>
|
|
33
|
+
<hr :style="{ [vertical ? 'borderRightWidth' : 'borderBottomWidth']: `${thickness}px` }">
|
|
34
34
|
<div v-if="$slots.default" class="vui-divider-slot">
|
|
35
35
|
<slot />
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
</template>
|
|
39
|
-
|
|
40
|
-
<style lang="scss" scoped>
|
|
41
|
-
.vui-divider:before {
|
|
42
|
-
border-width: v-bind(bW);
|
|
43
|
-
}
|
|
44
|
-
</style>
|
|
@@ -6,20 +6,22 @@
|
|
|
6
6
|
height: 32px;
|
|
7
7
|
width: 100%;
|
|
8
8
|
|
|
9
|
-
&.vertical
|
|
10
|
-
border-bottom: none;
|
|
11
|
-
border-right: 1px solid var(--color-border);
|
|
9
|
+
&.vertical hr {
|
|
12
10
|
transform: translateX(-50%);
|
|
13
11
|
width: 1px;
|
|
14
12
|
height: 100%;
|
|
13
|
+
border-right-color: var(--color-border);
|
|
14
|
+
border-right-style: solid;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
content: '';
|
|
17
|
+
hr {
|
|
19
18
|
display: block;
|
|
20
19
|
transform: translateY(-50%);
|
|
21
20
|
width: 100%;
|
|
22
|
-
|
|
21
|
+
height: 1px;
|
|
22
|
+
border: none;
|
|
23
|
+
border-bottom-color: var(--color-border);
|
|
24
|
+
border-bottom-style: solid;
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
.vui-divider-slot {
|
|
@@ -28,7 +30,7 @@
|
|
|
28
30
|
left: 50%;
|
|
29
31
|
transform: translate(-50%, -50%);
|
|
30
32
|
|
|
31
|
-
& > *:first-child {
|
|
33
|
+
& > *:first-child {
|
|
32
34
|
outline: 3px solid var(--color-bg);
|
|
33
35
|
}
|
|
34
36
|
}
|
|
@@ -19,6 +19,8 @@ interface Props {
|
|
|
19
19
|
yStart?: boolean
|
|
20
20
|
yEnd?: boolean
|
|
21
21
|
yBaseline?: boolean
|
|
22
|
+
|
|
23
|
+
expand?: boolean
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -62,6 +64,8 @@ const aA = computed(() => {
|
|
|
62
64
|
})
|
|
63
65
|
|
|
64
66
|
const aD = computed(() => props.inline ? 'inline-grid' : 'grid')
|
|
67
|
+
|
|
68
|
+
const aH = computed(() => props.expand ? '100%' : 'auto')
|
|
65
69
|
</script>
|
|
66
70
|
|
|
67
71
|
<template>
|
|
@@ -72,6 +76,7 @@ const aD = computed(() => props.inline ? 'inline-grid' : 'grid')
|
|
|
72
76
|
gridTemplateColumns: aTC,
|
|
73
77
|
gridTemplateRows: aTR,
|
|
74
78
|
alignItems: aA,
|
|
79
|
+
width: aH,
|
|
75
80
|
}"
|
|
76
81
|
>
|
|
77
82
|
<slot />
|
|
@@ -4,8 +4,13 @@ import { ref } from 'vue'
|
|
|
4
4
|
import Button from '../components/Button/Button.vue'
|
|
5
5
|
import Tab from '../components/Tabs/Tab.vue'
|
|
6
6
|
import Tabs from '../components/Tabs/Tabs.vue'
|
|
7
|
+
import Flex from '../components/Flex/Flex.vue'
|
|
7
8
|
|
|
8
9
|
const activeTab = ref('Home')
|
|
10
|
+
|
|
11
|
+
// Dynamic test
|
|
12
|
+
const dynamicTabs = ref(['First', 'Second', "Third"])
|
|
13
|
+
const activeDynamic = ref(dynamicTabs.value[0])
|
|
9
14
|
</script>
|
|
10
15
|
|
|
11
16
|
<template>
|
|
@@ -113,6 +118,18 @@ const activeTab = ref('Home')
|
|
|
113
118
|
</Tabs>
|
|
114
119
|
</td>
|
|
115
120
|
</tr>
|
|
121
|
+
<!-- <tr>
|
|
122
|
+
<th>Dynamic</th>
|
|
123
|
+
<td>
|
|
124
|
+
<Flex>
|
|
125
|
+
<Button @click="dynamicTabs.push(`Tab ${dynamicTabs.length}`)">Add</Button>
|
|
126
|
+
<Button @click="dynamicTabs.shift()">Remove</Button>
|
|
127
|
+
</Flex>
|
|
128
|
+
<Tabs v-model="dynamicTabs">
|
|
129
|
+
<Tab v-for="tab in dynamicTabs" />
|
|
130
|
+
</Tabs>
|
|
131
|
+
</td>
|
|
132
|
+
</tr> -->
|
|
116
133
|
</tbody>
|
|
117
134
|
</table>
|
|
118
135
|
</div>
|
package/src/style/layout.scss
CHANGED
package/src/vite-env.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
1
|
+
/// <reference types="vite/client" />
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export interface AccordionProps {
|
|
2
|
-
open?: boolean;
|
|
3
|
-
label?: string;
|
|
4
|
-
card?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare function open(): void;
|
|
7
|
-
declare function close(): void;
|
|
8
|
-
declare function toggle(): void;
|
|
9
|
-
declare function __VLS_template(): {
|
|
10
|
-
attrs: Partial<{}>;
|
|
11
|
-
slots: {
|
|
12
|
-
trigger?(_: {
|
|
13
|
-
open: typeof open;
|
|
14
|
-
close: typeof close;
|
|
15
|
-
toggle: typeof toggle;
|
|
16
|
-
isOpen: boolean;
|
|
17
|
-
}): any;
|
|
18
|
-
header?(_: {}): any;
|
|
19
|
-
default?(_: {}): any;
|
|
20
|
-
};
|
|
21
|
-
refs: {
|
|
22
|
-
content: HTMLDivElement;
|
|
23
|
-
};
|
|
24
|
-
rootEl: HTMLDivElement;
|
|
25
|
-
};
|
|
26
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
-
declare const __VLS_component: import('vue').DefineComponent<AccordionProps, {
|
|
28
|
-
open: typeof open;
|
|
29
|
-
close: typeof close;
|
|
30
|
-
toggle: typeof toggle;
|
|
31
|
-
isOpen: import('vue').Ref<boolean, boolean>;
|
|
32
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
-
open: () => any;
|
|
34
|
-
close: () => any;
|
|
35
|
-
}, string, import('vue').PublicProps, Readonly<AccordionProps> & Readonly<{
|
|
36
|
-
onOpen?: (() => any) | undefined;
|
|
37
|
-
onClose?: (() => any) | undefined;
|
|
38
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
39
|
-
content: HTMLDivElement;
|
|
40
|
-
}, HTMLDivElement>;
|
|
41
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
|
-
export default _default;
|
|
43
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
-
new (): {
|
|
45
|
-
$slots: S;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
|
-
import { AccordionProps } from './Accordion.vue';
|
|
3
|
-
interface Props {
|
|
4
|
-
/**
|
|
5
|
-
* If set to true, if an accordion opens, all other close
|
|
6
|
-
*/
|
|
7
|
-
single?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare function __VLS_template(): {
|
|
10
|
-
attrs: Partial<{}>;
|
|
11
|
-
slots: Readonly<{
|
|
12
|
-
default: () => Array<VNode & {
|
|
13
|
-
props: AccordionProps;
|
|
14
|
-
}>;
|
|
15
|
-
}> & {
|
|
16
|
-
default: () => Array<VNode & {
|
|
17
|
-
props: AccordionProps;
|
|
18
|
-
}>;
|
|
19
|
-
};
|
|
20
|
-
refs: {
|
|
21
|
-
accordion: unknown[];
|
|
22
|
-
};
|
|
23
|
-
rootEl: any;
|
|
24
|
-
};
|
|
25
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
|
-
accordion: unknown[];
|
|
28
|
-
}, any>;
|
|
29
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
-
export default _default;
|
|
31
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
-
new (): {
|
|
33
|
-
$slots: S;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
variant?: 'neutral' | 'info' | 'success' | 'warning' | 'danger';
|
|
3
|
-
/**
|
|
4
|
-
* Override the variant's default icon
|
|
5
|
-
*/
|
|
6
|
-
icon?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Setting a title and description will use slightly different styling other
|
|
9
|
-
* than slots.
|
|
10
|
-
*/
|
|
11
|
-
title?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Use strong color
|
|
14
|
-
*/
|
|
15
|
-
filled?: boolean;
|
|
16
|
-
description?: string;
|
|
17
|
-
}
|
|
18
|
-
declare function __VLS_template(): {
|
|
19
|
-
attrs: Partial<{}>;
|
|
20
|
-
slots: {
|
|
21
|
-
default?(_: {}): any;
|
|
22
|
-
default?(_: {}): any;
|
|
23
|
-
end?(_: {}): any;
|
|
24
|
-
};
|
|
25
|
-
refs: {};
|
|
26
|
-
rootEl: HTMLDivElement;
|
|
27
|
-
};
|
|
28
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
30
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
-
export default _default;
|
|
32
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
-
new (): {
|
|
34
|
-
$slots: S;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Sizes } from '../../shared/types';
|
|
2
|
-
interface Props {
|
|
3
|
-
size?: Sizes | number;
|
|
4
|
-
url?: string;
|
|
5
|
-
fallback?: string;
|
|
6
|
-
icon?: string;
|
|
7
|
-
alt?: string;
|
|
8
|
-
}
|
|
9
|
-
declare function __VLS_template(): {
|
|
10
|
-
attrs: Partial<{}>;
|
|
11
|
-
slots: {
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
};
|
|
14
|
-
refs: {};
|
|
15
|
-
rootEl: HTMLDivElement;
|
|
16
|
-
};
|
|
17
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
-
export default _default;
|
|
21
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
-
new (): {
|
|
23
|
-
$slots: S;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
variant?: 'neutral' | 'danger' | 'warning' | 'success' | 'info' | 'accent';
|
|
3
|
-
outline?: boolean;
|
|
4
|
-
filled?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare function __VLS_template(): {
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
|
-
slots: {
|
|
9
|
-
default?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: HTMLDivElement;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
-
export default _default;
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface BreadcrumbItemProps {
|
|
2
|
-
label?: string;
|
|
3
|
-
href?: string;
|
|
4
|
-
}
|
|
5
|
-
declare function __VLS_template(): {
|
|
6
|
-
attrs: Partial<{}>;
|
|
7
|
-
slots: {
|
|
8
|
-
default?(_: {}): any;
|
|
9
|
-
default?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: HTMLLIElement;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<BreadcrumbItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BreadcrumbItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
-
export default _default;
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
|
-
import { BreadcrumbItemProps } from './BreadcrumbItem.vue';
|
|
3
|
-
interface Props {
|
|
4
|
-
separator?: string;
|
|
5
|
-
}
|
|
6
|
-
declare function __VLS_template(): {
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
|
-
slots: Readonly<{
|
|
9
|
-
default: () => Array<VNode & {
|
|
10
|
-
props: BreadcrumbItemProps;
|
|
11
|
-
}>;
|
|
12
|
-
}> & {
|
|
13
|
-
default: () => Array<VNode & {
|
|
14
|
-
props: BreadcrumbItemProps;
|
|
15
|
-
}>;
|
|
16
|
-
};
|
|
17
|
-
refs: {};
|
|
18
|
-
rootEl: HTMLUListElement;
|
|
19
|
-
};
|
|
20
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
22
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
-
export default _default;
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Sizes } from '../../shared/types';
|
|
2
|
-
export type Variants = 'fill' | 'danger' | 'success' | 'link' | 'accent' | 'gray';
|
|
3
|
-
interface Props {
|
|
4
|
-
loading?: boolean;
|
|
5
|
-
size?: Sizes;
|
|
6
|
-
expand?: boolean;
|
|
7
|
-
square?: boolean;
|
|
8
|
-
icon?: string;
|
|
9
|
-
variant?: Variants;
|
|
10
|
-
outline?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
plain?: boolean;
|
|
13
|
-
}
|
|
14
|
-
declare function __VLS_template(): {
|
|
15
|
-
attrs: Partial<{}>;
|
|
16
|
-
slots: {
|
|
17
|
-
start?(_: {}): any;
|
|
18
|
-
default?(_: {}): any;
|
|
19
|
-
end?(_: {}): any;
|
|
20
|
-
};
|
|
21
|
-
refs: {};
|
|
22
|
-
rootEl: HTMLButtonElement;
|
|
23
|
-
};
|
|
24
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
26
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
-
export default _default;
|
|
28
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
-
new (): {
|
|
30
|
-
$slots: S;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Space } from '../../shared/types';
|
|
2
|
-
interface Props {
|
|
3
|
-
vertical?: boolean;
|
|
4
|
-
gap?: Space | number;
|
|
5
|
-
}
|
|
6
|
-
declare function __VLS_template(): {
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
|
-
slots: {
|
|
9
|
-
default?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: HTMLDivElement;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
-
export default _default;
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { VueDatePickerProps } from '@vuepic/vue-datepicker';
|
|
2
|
-
type __VLS_Props = VueDatePickerProps & {
|
|
3
|
-
expand?: boolean;
|
|
4
|
-
};
|
|
5
|
-
declare function __VLS_template(): {
|
|
6
|
-
attrs: Partial<{}>;
|
|
7
|
-
slots: {
|
|
8
|
-
trigger?(_: {}): any;
|
|
9
|
-
};
|
|
10
|
-
refs: {};
|
|
11
|
-
rootEl: any;
|
|
12
|
-
};
|
|
13
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
|
-
expand: boolean;
|
|
16
|
-
format: string | ((date: Date) => string) | ((dates: Date[]) => string);
|
|
17
|
-
autoApply: boolean;
|
|
18
|
-
autoPosition: boolean | "top" | "bottom";
|
|
19
|
-
monthNameFormat: "long" | "short";
|
|
20
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
-
export default _default;
|
|
23
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
-
new (): {
|
|
25
|
-
$slots: S;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export interface Props {
|
|
2
|
-
separators?: boolean;
|
|
3
|
-
headerSeparator?: boolean;
|
|
4
|
-
footerSeparator?: boolean;
|
|
5
|
-
padding?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare function __VLS_template(): {
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
|
-
slots: {
|
|
10
|
-
header?(_: {}): any;
|
|
11
|
-
'header-end'?(_: {}): any;
|
|
12
|
-
default?(_: {}): any;
|
|
13
|
-
footer?(_: {}): any;
|
|
14
|
-
};
|
|
15
|
-
refs: {};
|
|
16
|
-
rootEl: HTMLDivElement;
|
|
17
|
-
};
|
|
18
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
-
export default _default;
|
|
22
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
-
new (): {
|
|
24
|
-
$slots: S;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
label?: string;
|
|
3
|
-
iconOn?: string;
|
|
4
|
-
iconOff?: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
checked?: boolean;
|
|
7
|
-
accent?: boolean;
|
|
8
|
-
}
|
|
9
|
-
type __VLS_Props = Props;
|
|
10
|
-
type __VLS_PublicProps = {
|
|
11
|
-
modelValue?: boolean;
|
|
12
|
-
} & __VLS_Props;
|
|
13
|
-
declare function __VLS_template(): {
|
|
14
|
-
attrs: Partial<{}>;
|
|
15
|
-
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
16
|
-
refs: {};
|
|
17
|
-
rootEl: HTMLDivElement;
|
|
18
|
-
};
|
|
19
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
-
change: (checked: boolean) => any;
|
|
22
|
-
"update:modelValue": (value: boolean) => any;
|
|
23
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
-
onChange?: ((checked: boolean) => any) | undefined;
|
|
25
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
/**
|
|
3
|
-
* Text to copy
|
|
4
|
-
*/
|
|
5
|
-
text: string;
|
|
6
|
-
/**
|
|
7
|
-
* Wether to show a tooltip after successful copy
|
|
8
|
-
*/
|
|
9
|
-
confirm?: string | boolean;
|
|
10
|
-
/**
|
|
11
|
-
* How long will the copy confirmation tooltip be visible in milliseconds.
|
|
12
|
-
*/
|
|
13
|
-
confirmTime?: number;
|
|
14
|
-
}
|
|
15
|
-
declare function __VLS_template(): {
|
|
16
|
-
attrs: Partial<{}>;
|
|
17
|
-
slots: {
|
|
18
|
-
default?(_: {
|
|
19
|
-
copy: (text: string) => Promise<void>;
|
|
20
|
-
copied: boolean;
|
|
21
|
-
}): any;
|
|
22
|
-
confirm?(_: {}): any;
|
|
23
|
-
};
|
|
24
|
-
refs: {
|
|
25
|
-
anchor: HTMLDivElement;
|
|
26
|
-
tooltip: HTMLDivElement;
|
|
27
|
-
};
|
|
28
|
-
rootEl: any;
|
|
29
|
-
};
|
|
30
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
32
|
-
anchor: HTMLDivElement;
|
|
33
|
-
tooltip: HTMLDivElement;
|
|
34
|
-
}, any>;
|
|
35
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
-
export default _default;
|
|
37
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
-
new (): {
|
|
39
|
-
$slots: S;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
thickness?: number;
|
|
3
|
-
size?: number | string;
|
|
4
|
-
vertical?: boolean;
|
|
5
|
-
margin?: string | number;
|
|
6
|
-
}
|
|
7
|
-
declare function __VLS_template(): {
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
|
-
slots: {
|
|
10
|
-
default?(_: {}): any;
|
|
11
|
-
};
|
|
12
|
-
refs: {};
|
|
13
|
-
rootEl: HTMLDivElement;
|
|
14
|
-
};
|
|
15
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|