@kazee-ds/vue 0.5.5 → 0.6.0
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 +3 -1
- package/dist/index.js +2842 -1346
- package/dist/index.js.map +1 -1
- package/dist/types/Alert.vue.d.ts +2 -1
- package/dist/types/Badge.vue.d.ts +2 -1
- package/dist/types/Breadcrumb.vue.d.ts +2 -1
- package/dist/types/Button.vue.d.ts +2 -1
- package/dist/types/ButtonGroup.d.ts +9 -0
- package/dist/types/Card.vue.d.ts +3 -2
- package/dist/types/Chart.vue.d.ts +2 -1
- package/dist/types/Checkbox.vue.d.ts +2 -1
- package/dist/types/CheckboxIndicator.vue.d.ts +14 -0
- package/dist/types/Combobox.vue.d.ts +2 -1
- package/dist/types/CompositionListBox.vue.d.ts +32 -0
- package/dist/types/CompositionListBoxItem.vue.d.ts +23 -0
- package/dist/types/CompositionListBoxItemIndicator.vue.d.ts +15 -0
- package/dist/types/CompositionListBoxSection.vue.d.ts +15 -0
- package/dist/types/DataTable.vue.d.ts +2 -1
- package/dist/types/DataTableRoot.vue.d.ts +26 -0
- package/dist/types/DataTableSortButton.vue.d.ts +18 -0
- package/dist/types/DateRangePanel.vue.d.ts +4 -3
- package/dist/types/DateRangePicker.vue.d.ts +5 -3
- package/dist/types/Description.vue.d.ts +16 -0
- package/dist/types/Dialog.vue.d.ts +3 -2
- package/dist/types/DropdownMenu.vue.d.ts +3 -2
- package/dist/types/DropdownMenuBranch.vue.d.ts +2 -1
- package/dist/types/Empty.vue.d.ts +2 -1
- package/dist/types/Field.vue.d.ts +2 -1
- package/dist/types/FieldError.vue.d.ts +16 -0
- package/dist/types/FieldFeedback.vue.d.ts +2 -1
- package/dist/types/Form.vue.d.ts +2 -1
- package/dist/types/Input.vue.d.ts +3 -2
- package/dist/types/InputControl.vue.d.ts +40 -0
- package/dist/types/InputLabel.vue.d.ts +13 -0
- package/dist/types/InputRoot.vue.d.ts +37 -0
- package/dist/types/Label.vue.d.ts +2 -1
- package/dist/types/Listbox.vue.d.ts +2 -1
- package/dist/types/MenuItemContent.vue.d.ts +2 -1
- package/dist/types/NumberField.vue.d.ts +2 -1
- package/dist/types/Pagination.vue.d.ts +2 -1
- package/dist/types/Popover.vue.d.ts +2 -1
- package/dist/types/RadioGroup.vue.d.ts +2 -1
- package/dist/types/Select.vue.d.ts +3 -2
- package/dist/types/SelectClearButton.vue.d.ts +15 -0
- package/dist/types/SelectGroup.d.ts +9 -0
- package/dist/types/SelectPopover.vue.d.ts +13 -0
- package/dist/types/SelectRoot.vue.d.ts +44 -0
- package/dist/types/SelectTrigger.vue.d.ts +13 -0
- package/dist/types/SelectValue.vue.d.ts +19 -0
- package/dist/types/Separator.vue.d.ts +2 -1
- package/dist/types/Sidebar.vue.d.ts +2 -1
- package/dist/types/SidebarNavigation.vue.d.ts +13 -0
- package/dist/types/SidebarRoot.vue.d.ts +26 -0
- package/dist/types/SidebarToggle.vue.d.ts +15 -0
- package/dist/types/Skeleton.vue.d.ts +2 -1
- package/dist/types/Spinner.vue.d.ts +2 -1
- package/dist/types/Switch.vue.d.ts +2 -1
- package/dist/types/Table.vue.d.ts +2 -1
- package/dist/types/Tabs.vue.d.ts +2 -1
- package/dist/types/TabsListView.vue.d.ts +2 -1
- package/dist/types/Textarea.vue.d.ts +2 -1
- package/dist/types/TextareaControl.vue.d.ts +13 -0
- package/dist/types/Toast.vue.d.ts +3 -1
- package/dist/types/ToastActionButton.vue.d.ts +16 -0
- package/dist/types/ToastCloseButton.vue.d.ts +13 -0
- package/dist/types/ToastProvider.vue.d.ts +6 -1
- package/dist/types/ToggleButton.vue.d.ts +2 -1
- package/dist/types/ToggleButtonGroup.vue.d.ts +3 -2
- package/dist/types/ToggleGroup.vue.d.ts +3 -2
- package/dist/types/Tooltip.vue.d.ts +2 -1
- package/dist/types/composition-factory.d.ts +20 -0
- package/dist/types/composition.d.ts +581 -0
- package/dist/types/data-table-composition-context.d.ts +8 -0
- package/dist/types/feedback-context.d.ts +8 -0
- package/dist/types/index.d.ts +312 -30
- package/dist/types/input-composition-context.d.ts +15 -0
- package/dist/types/select-composition-context.d.ts +18 -0
- package/dist/types/sidebar-composition-context.d.ts +7 -0
- package/dist/types/styling.d.ts +5 -0
- package/dist/types/toast-composition-context.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { ButtonSize, ButtonVariant } from './types.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'root'> & {
|
|
3
4
|
/** Visual style. Use `danger` for destructive actions such as delete. */
|
|
4
5
|
variant?: ButtonVariant;
|
|
5
6
|
/** Accessible name for icon-only buttons. */
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { type PropType, type VNode } from 'vue';
|
|
2
2
|
import type { ButtonSize, ButtonVariant } from './types.js';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
classNames: {
|
|
5
|
+
type: PropType<Partial<Record<"root", string>>>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
4
8
|
label: {
|
|
5
9
|
type: StringConstructor;
|
|
6
10
|
required: true;
|
|
@@ -29,6 +33,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
33
|
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
34
|
[key: string]: any;
|
|
31
35
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
classNames: {
|
|
37
|
+
type: PropType<Partial<Record<"root", string>>>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
32
40
|
label: {
|
|
33
41
|
type: StringConstructor;
|
|
34
42
|
required: true;
|
|
@@ -55,6 +63,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
55
63
|
default: undefined;
|
|
56
64
|
};
|
|
57
65
|
}>> & Readonly<{}>, {
|
|
66
|
+
classNames: Partial<Record<"root", string>>;
|
|
58
67
|
dir: "ltr" | "rtl";
|
|
59
68
|
variant: ButtonVariant;
|
|
60
69
|
size: ButtonSize;
|
package/dist/types/Card.vue.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
type
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
2
|
+
type __VLS_Props = StylingProps<'actions' | 'content' | 'description' | 'footer' | 'header' | 'heading' | 'root' | 'title' | 'titleRow'> & {
|
|
2
3
|
title?: string;
|
|
3
4
|
description?: string;
|
|
4
5
|
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
@@ -11,8 +12,8 @@ type __VLS_Slots = {
|
|
|
11
12
|
footer?: () => unknown;
|
|
12
13
|
};
|
|
13
14
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
|
-
title: string;
|
|
15
15
|
description: string;
|
|
16
|
+
title: string;
|
|
16
17
|
headingLevel: 2 | 3 | 4 | 5 | 6;
|
|
17
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { ChartDatum } from './dashboard-types.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'axis' | 'bar' | 'description' | 'label' | 'line' | 'plot' | 'root' | 'title'> & {
|
|
3
4
|
label: string;
|
|
4
5
|
data: ChartDatum[];
|
|
5
6
|
type?: 'bar' | 'line';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type CheckboxIndicatorProps } from 'reka-ui';
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<CheckboxIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CheckboxIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type SelectOption } from './selection-options.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'check' | 'clear' | 'closeIcon' | 'control' | 'description' | 'empty' | 'error' | 'icon' | 'input' | 'item' | 'itemLabel' | 'label' | 'leading' | 'list' | 'popover' | 'required' | 'root' | 'toggle'> & {
|
|
3
4
|
label: string;
|
|
4
5
|
options: SelectOption[];
|
|
5
6
|
modelValue?: string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'vue';
|
|
2
|
+
interface Props extends /* @vue-ignore */ HTMLAttributes {
|
|
3
|
+
modelValue?: string | string[];
|
|
4
|
+
defaultValue?: string | string[];
|
|
5
|
+
selectionMode?: 'single' | 'multiple';
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
dir?: 'ltr' | 'rtl';
|
|
8
|
+
}
|
|
9
|
+
declare var __VLS_7: {}, __VLS_23: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_7) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_23) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
dir: "ltr" | "rtl";
|
|
21
|
+
modelValue: string | string[];
|
|
22
|
+
defaultValue: string | string[];
|
|
23
|
+
selectionMode: "multiple" | "single";
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value?: string;
|
|
3
|
+
id?: string;
|
|
4
|
+
textValue?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_13: {}, __VLS_21: {}, __VLS_29: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_13) => any;
|
|
10
|
+
} & {
|
|
11
|
+
default?: (props: typeof __VLS_21) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_29) => any;
|
|
14
|
+
};
|
|
15
|
+
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>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare var __VLS_7: {}, __VLS_20: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_20) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare var __VLS_7: {}, __VLS_15: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_15) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { DataTableColumn, DataTableRow, TableSort } from './data-table-types.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'body' | 'caption' | 'cell' | 'column' | 'empty' | 'error' | 'header' | 'root' | 'row' | 'scroll' | 'sort' | 'status' | 'table'> & {
|
|
3
4
|
caption: string;
|
|
4
5
|
columns: DataTableColumn[];
|
|
5
6
|
rows: DataTableRow[];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TableSort } from './data-table-types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
sort?: TableSort | null;
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {
|
|
8
|
+
sort: TableSort | null | undefined;
|
|
9
|
+
loading: boolean;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_1) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"update:sort": (sort: TableSort) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
"onUpdate:sort"?: ((sort: TableSort) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
columnId: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {
|
|
5
|
+
direction: "ascending" | "descending" | undefined;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
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>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type DateRange, type DateRangeOptions, type DateRangeLabels } from './date-range-model.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'apply' | 'body' | 'calendar' | 'cancel' | 'clear' | 'content' | 'day' | 'field' | 'footer' | 'grid' | 'heading' | 'inputs' | 'intro' | 'jump' | 'main' | 'month' | 'months' | 'nav' | 'navigation' | 'preset' | 'presets' | 'root' | 'summary' | 'validation' | 'weekday'> & {
|
|
3
4
|
options: DateRangeOptions;
|
|
4
5
|
draft: DateRange;
|
|
5
6
|
labels: DateRangeLabels;
|
|
@@ -10,12 +11,12 @@ type __VLS_Props = {
|
|
|
10
11
|
};
|
|
11
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
13
|
cancel: () => any;
|
|
13
|
-
draft: (value: DateRange) => any;
|
|
14
14
|
apply: () => any;
|
|
15
|
+
draft: (value: DateRange) => any;
|
|
15
16
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
17
|
onCancel?: (() => any) | undefined;
|
|
17
|
-
onDraft?: ((value: DateRange) => any) | undefined;
|
|
18
18
|
onApply?: (() => any) | undefined;
|
|
19
|
+
onDraft?: ((value: DateRange) => any) | undefined;
|
|
19
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
21
|
declare const _default: typeof __VLS_export;
|
|
21
22
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type DateRange, type DateRangeOptions } from './date-range-model.js';
|
|
2
3
|
interface Props extends DateRangeOptions {
|
|
3
4
|
modelValue?: DateRange | null;
|
|
@@ -6,11 +7,12 @@ interface Props extends DateRangeOptions {
|
|
|
6
7
|
required?: boolean;
|
|
7
8
|
invalid?: boolean;
|
|
8
9
|
}
|
|
9
|
-
|
|
10
|
+
type __VLS_Props = StylingProps<'apply' | 'body' | 'calendar' | 'cancel' | 'chevron' | 'clear' | 'content' | 'day' | 'description' | 'error' | 'field' | 'footer' | 'grid' | 'heading' | 'icon' | 'inputs' | 'intro' | 'jump' | 'label' | 'main' | 'month' | 'months' | 'nav' | 'navigation' | 'panel' | 'preset' | 'presets' | 'root' | 'summary' | 'trigger' | 'validation' | 'value' | 'weekday'> & Props;
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
12
|
"update:modelValue": (value: DateRange | null) => any;
|
|
11
13
|
"update:open": (open: boolean) => any;
|
|
12
14
|
apply: (value: DateRange | null) => any;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
16
|
"onUpdate:modelValue"?: ((value: DateRange | null) => any) | undefined;
|
|
15
17
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
16
18
|
onApply?: ((value: DateRange | null) => any) | undefined;
|
|
@@ -29,7 +31,7 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
29
31
|
defaultOpen: boolean;
|
|
30
32
|
visibleMonths: 1 | 2;
|
|
31
33
|
weekStartsOn: 0 | 1;
|
|
32
|
-
display: "
|
|
34
|
+
display: "popover" | "inline";
|
|
33
35
|
showInputs: boolean;
|
|
34
36
|
showMonthYearPicker: boolean;
|
|
35
37
|
triggerDisplay: "text" | "icon";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
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>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { ButtonVariant } from './types.js';
|
|
2
3
|
import type { DialogSize, DialogPlacement, DialogScroll, DialogBackdrop } from './overlay-model.js';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
+
type __VLS_Props = StylingProps<'backdrop' | 'body' | 'close' | 'content' | 'description' | 'footer' | 'footerClose' | 'header' | 'panel' | 'root' | 'title' | 'trigger'> & {
|
|
4
5
|
triggerLabel: string;
|
|
5
6
|
title: string;
|
|
6
7
|
description?: string;
|
|
@@ -38,10 +39,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
38
39
|
scroll: DialogScroll;
|
|
39
40
|
open: boolean;
|
|
40
41
|
defaultOpen: boolean;
|
|
42
|
+
backdrop: DialogBackdrop;
|
|
41
43
|
closeLabel: string;
|
|
42
44
|
triggerVariant: ButtonVariant;
|
|
43
45
|
placement: DialogPlacement;
|
|
44
|
-
backdrop: DialogBackdrop;
|
|
45
46
|
dismissable: boolean;
|
|
46
47
|
keyboardDismissDisabled: boolean;
|
|
47
48
|
showCloseButton: boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type MenuSelectionMode, type MenuPlacement } from './overlay-model.js';
|
|
2
3
|
import type { DropdownMenuItem } from './dashboard-types.js';
|
|
3
4
|
import type { ButtonVariant } from './types.js';
|
|
4
|
-
type __VLS_Props = {
|
|
5
|
+
type __VLS_Props = StylingProps<'arrow' | 'check' | 'description' | 'heading' | 'icon' | 'item' | 'panel' | 'root' | 'separator' | 'shortcut' | 'text' | 'trigger'> & {
|
|
5
6
|
triggerLabel: string;
|
|
6
7
|
items: DropdownMenuItem[];
|
|
7
8
|
open?: boolean;
|
|
@@ -35,10 +36,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
35
36
|
disabled: boolean;
|
|
36
37
|
open: boolean;
|
|
37
38
|
defaultOpen: boolean;
|
|
39
|
+
selectionMode: MenuSelectionMode;
|
|
38
40
|
triggerVariant: ButtonVariant;
|
|
39
41
|
placement: MenuPlacement;
|
|
40
42
|
selectedKeys: string[];
|
|
41
|
-
selectionMode: MenuSelectionMode;
|
|
42
43
|
closeOnSelect: boolean;
|
|
43
44
|
defaultSelectedKeys: string[];
|
|
44
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type MenuSelectionMode } from './overlay-model.js';
|
|
2
3
|
import type { DropdownMenuItem as Item } from './dashboard-types.js';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
+
type __VLS_Props = StylingProps<'arrow' | 'check' | 'description' | 'heading' | 'icon' | 'item' | 'panel' | 'root' | 'separator' | 'shortcut' | 'text'> & {
|
|
4
5
|
items: Item[];
|
|
5
6
|
selectedKeys: string[];
|
|
6
7
|
selectionMode: MenuSelectionMode;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
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>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
package/dist/types/Form.vue.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { InputSize, InputType, InputVariant, InputMode, InputEnterKeyHint } from './types.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'boundary' | 'control' | 'description' | 'error' | 'group' | 'label' | 'prefix' | 'root' | 'suffix'> & {
|
|
3
4
|
label: string;
|
|
4
5
|
defaultValue?: string;
|
|
5
6
|
description?: string;
|
|
@@ -71,12 +72,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
71
72
|
errorMessage: string;
|
|
72
73
|
defaultValue: string;
|
|
73
74
|
placeholder: string;
|
|
75
|
+
enterKeyHint: InputEnterKeyHint;
|
|
74
76
|
readonly: boolean;
|
|
75
77
|
autoComplete: string;
|
|
76
78
|
maxLength: number;
|
|
77
79
|
minLength: number;
|
|
78
80
|
inputMode: InputMode;
|
|
79
|
-
enterKeyHint: InputEnterKeyHint;
|
|
80
81
|
spellCheck: boolean;
|
|
81
82
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
82
83
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
interface NativeControlAttributes {
|
|
2
|
+
id?: string;
|
|
3
|
+
type?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
autocomplete?: string;
|
|
6
|
+
inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
7
|
+
min?: string | number;
|
|
8
|
+
max?: string | number;
|
|
9
|
+
step?: string | number;
|
|
10
|
+
minlength?: string | number;
|
|
11
|
+
maxlength?: string | number;
|
|
12
|
+
pattern?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
readonly?: boolean;
|
|
16
|
+
required?: boolean;
|
|
17
|
+
form?: string;
|
|
18
|
+
rows?: string | number;
|
|
19
|
+
cols?: string | number;
|
|
20
|
+
wrap?: string;
|
|
21
|
+
'aria-label'?: string;
|
|
22
|
+
'aria-labelledby'?: string;
|
|
23
|
+
'aria-describedby'?: string;
|
|
24
|
+
'aria-invalid'?: boolean | 'true' | 'false' | 'grammar' | 'spelling';
|
|
25
|
+
onBlur?: (event: FocusEvent) => void;
|
|
26
|
+
onFocus?: (event: FocusEvent) => void;
|
|
27
|
+
onKeydown?: (event: KeyboardEvent) => void;
|
|
28
|
+
onKeyup?: (event: KeyboardEvent) => void;
|
|
29
|
+
onInput?: (event: Event) => void;
|
|
30
|
+
onChange?: (event: Event) => void;
|
|
31
|
+
}
|
|
32
|
+
interface Props extends /* @vue-ignore */ NativeControlAttributes {
|
|
33
|
+
multiline?: boolean;
|
|
34
|
+
}
|
|
35
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {
|
|
36
|
+
element: import("vue").Ref<HTMLInputElement | HTMLTextAreaElement | undefined, HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
37
|
+
focus: () => void | undefined;
|
|
38
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
2
|
+
type __VLS_Props = StylingProps<'label' | 'root'> & {
|
|
3
|
+
id?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
dir?: 'ltr' | 'rtl';
|
|
13
|
+
};
|
|
14
|
+
declare var __VLS_1: {};
|
|
15
|
+
type __VLS_Slots = {} & {
|
|
16
|
+
default?: (props: typeof __VLS_1) => any;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (value: string) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
id: string;
|
|
24
|
+
label: string;
|
|
25
|
+
dir: "ltr" | "rtl";
|
|
26
|
+
name: string;
|
|
27
|
+
modelValue: string;
|
|
28
|
+
defaultValue: string;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import { type ListboxOption, type ListboxSelectionMode } from './listbox-selection.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'check' | 'description' | 'empty' | 'error' | 'item' | 'label' | 'list' | 'root' | 'text'> & {
|
|
3
4
|
label: string;
|
|
4
5
|
options: ListboxOption[];
|
|
5
6
|
modelValue?: string[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { DropdownMenuItem } from './dashboard-types.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'arrow' | 'check' | 'description' | 'icon' | 'root' | 'shortcut' | 'text'> & {
|
|
3
4
|
item: DropdownMenuItem;
|
|
4
5
|
selectable: boolean;
|
|
5
6
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type StylingProps } from './styling.js';
|
|
1
2
|
import type { RadioOption } from './types.js';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
+
type __VLS_Props = StylingProps<'control' | 'description' | 'dot' | 'error' | 'item' | 'items' | 'label' | 'root'> & {
|
|
3
4
|
label: string;
|
|
4
5
|
options: RadioOption[];
|
|
5
6
|
defaultValue?: string;
|