@xy-planning-network/trees 0.11.0-rc2 → 0.11.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/dist/trees.es.js +8 -8
- package/package.json +2 -2
- package/src/lib-components/forms/MultiCheckboxes.vue +4 -4
- package/src/lib-components/layout/SidebarLayout.vue +3 -3
- package/src/lib-components/layout/StackedLayout.vue +3 -3
- package/src/lib-components/navigation/Paginator.vue +3 -3
- package/types/composables/index.d.ts +2 -2
- package/types/composables/nav.d.ts +1 -1
- package/types/lib-components/forms/BaseInput.vue.d.ts +4 -4
- package/types/lib-components/forms/Checkbox.vue.d.ts +4 -4
- package/types/lib-components/forms/DateRangePicker.vue.d.ts +4 -4
- package/types/lib-components/forms/DateTimeInput.vue.d.ts +4 -4
- package/types/lib-components/forms/FieldsetLegend.vue.d.ts +6 -9
- package/types/lib-components/forms/InputError.vue.d.ts +4 -5
- package/types/lib-components/forms/InputHelp.vue.d.ts +5 -7
- package/types/lib-components/forms/InputLabel.vue.d.ts +6 -9
- package/types/lib-components/forms/MultiCheckboxes.vue.d.ts +4 -4
- package/types/lib-components/forms/Radio.vue.d.ts +4 -4
- package/types/lib-components/forms/RadioCards.vue.d.ts +9 -15
- package/types/lib-components/forms/Select.vue.d.ts +4 -4
- package/types/lib-components/forms/TextArea.vue.d.ts +4 -4
- package/types/lib-components/forms/Toggle.vue.d.ts +4 -4
- package/types/lib-components/forms/YesOrNoRadio.vue.d.ts +4 -4
- package/types/lib-components/indicators/InlineAlert.vue.d.ts +11 -19
- package/types/lib-components/indicators/ProgressCircles.vue.d.ts +3 -10
- package/types/lib-components/indicators/ProgressCirclesLabeled.vue.d.ts +3 -10
- package/types/lib-components/indicators/XYSpinner.vue.d.ts +1 -1
- package/types/lib-components/layout/DateFilter.vue.d.ts +4 -6
- package/types/lib-components/layout/SidebarLayout.vue.d.ts +7 -11
- package/types/lib-components/layout/StackedLayout.vue.d.ts +7 -12
- package/types/lib-components/lists/Cards.vue.d.ts +3 -7
- package/types/lib-components/lists/DataTable.vue.d.ts +5 -8
- package/types/lib-components/lists/DetailList.vue.d.ts +11 -42
- package/types/lib-components/lists/DownloadCell.vue.d.ts +3 -5
- package/types/lib-components/lists/DynamicTable.vue.d.ts +6 -9
- package/types/lib-components/lists/TableActionButtons.vue.d.ts +4 -5
- package/types/lib-components/navigation/ActionsDropdown.vue.d.ts +4 -5
- package/types/lib-components/navigation/Paginator.vue.d.ts +3 -3
- package/types/lib-components/navigation/Steps.vue.d.ts +9 -15
- package/types/lib-components/navigation/Tabs.vue.d.ts +5 -5
- package/types/lib-components/overlays/ContentModal.vue.d.ts +4 -4
- package/types/lib-components/overlays/Modal.vue.d.ts +4 -4
- package/types/lib-components/overlays/Popover/Popover.vue.d.ts +5 -7
- package/types/lib-components/overlays/Slideover.vue.d.ts +4 -4
- package/types/lib-components/overlays/Tooltip.vue.d.ts +5 -7
- package/types/composables/setupHelpers.d.ts +0 -15
- package/types/helpers/Slots.d.ts +0 -2
- package/types/lib-components/lists/StaticTable.vue.d.ts +0 -21
- package/types/lib-components/lists/StaticTableActionSlot.vue.d.ts +0 -27
- package/types/lib-components/lists/Table.vue.d.ts +0 -39
- package/types/lib-components/navigation/ActionsDropdownCallback.vue.d.ts +0 -18
- package/types/lib-components/navigation/ActionsDropdownEmit.vue.d.ts +0 -22
- package/types/lib-components/overlays/AlertModal.vue.d.ts +0 -68
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { NavItem } from "../../composables/nav";
|
|
2
2
|
import User from "../../composables/user";
|
|
3
|
-
|
|
4
|
-
activeUrl?: string
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
activeUrl?: string;
|
|
5
5
|
currentUser: User;
|
|
6
6
|
iconUrl: string;
|
|
7
|
-
navigation:
|
|
8
|
-
userNavigation:
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
currentUser: User;
|
|
12
|
-
iconUrl: string;
|
|
13
|
-
navigation: NavTypes.Item[];
|
|
14
|
-
userNavigation: NavTypes.Item[];
|
|
15
|
-
}> & Readonly<{}>, {
|
|
7
|
+
navigation: NavItem[];
|
|
8
|
+
userNavigation: NavItem[];
|
|
9
|
+
};
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
11
|
activeUrl: string;
|
|
17
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
18
13
|
header?(_: {}): any;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
cards: {
|
|
3
3
|
primary: string;
|
|
4
4
|
secondary: string;
|
|
5
5
|
}[];
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
primary: string;
|
|
9
|
-
secondary: string;
|
|
10
|
-
}[];
|
|
11
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
8
|
export default _default;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import type { TableActions, TableColumns, TableRowsData } from "../../composables/table";
|
|
2
|
-
|
|
3
|
-
tableActions?: TableActions<any
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
tableActions?: TableActions<any>;
|
|
4
4
|
tableColumns: TableColumns<any>;
|
|
5
5
|
tableData: TableRowsData;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
tableColumns: TableColumns<any>;
|
|
9
|
-
tableData: TableRowsData;
|
|
10
|
-
}> & Readonly<{}>, {
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
8
|
tableActions: TableActions<any>;
|
|
12
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
10
|
export default _default;
|
|
@@ -1,79 +1,48 @@
|
|
|
1
1
|
import { SortDir } from "../../composables/list";
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
/**
|
|
4
4
|
* borderless removes the default border styling applied around list items.
|
|
5
5
|
* This is useful when filters or pagination navigation components show,
|
|
6
6
|
* but less helpful when this component is dialed back in functionality.
|
|
7
7
|
*/
|
|
8
|
-
borderless?: boolean
|
|
8
|
+
borderless?: boolean;
|
|
9
9
|
/**
|
|
10
10
|
* defaultSort overrides the default field to sort items on.
|
|
11
11
|
*/
|
|
12
|
-
defaultSort?: string
|
|
12
|
+
defaultSort?: string;
|
|
13
13
|
/**
|
|
14
14
|
* defaultSortDir overrides the default order to sort items with.
|
|
15
15
|
*/
|
|
16
|
-
defaultSortDir?: SortDir
|
|
16
|
+
defaultSortDir?: SortDir;
|
|
17
17
|
/**
|
|
18
18
|
* disableDate turns off the date-range filter input.
|
|
19
19
|
*/
|
|
20
|
-
disableDate?: boolean
|
|
20
|
+
disableDate?: boolean;
|
|
21
21
|
/**
|
|
22
22
|
* disableNavigation hides navigation components from displaying.
|
|
23
23
|
* This makes the List as a "single-page" limiting the number of results via perPage.
|
|
24
24
|
*/
|
|
25
|
-
disableNavigation?: boolean
|
|
25
|
+
disableNavigation?: boolean;
|
|
26
26
|
/**
|
|
27
27
|
* perPage overrides the default number of items per page to retrieve.
|
|
28
28
|
*/
|
|
29
|
-
perPage?: number
|
|
29
|
+
perPage?: number;
|
|
30
30
|
/**
|
|
31
31
|
* url is the endpoint to retrieve list data from
|
|
32
32
|
*/
|
|
33
33
|
url: string;
|
|
34
|
-
}
|
|
34
|
+
};
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {
|
|
35
36
|
refresh: () => void;
|
|
36
37
|
reset: () => void;
|
|
37
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
38
|
-
/**
|
|
39
|
-
* borderless removes the default border styling applied around list items.
|
|
40
|
-
* This is useful when filters or pagination navigation components show,
|
|
41
|
-
* but less helpful when this component is dialed back in functionality.
|
|
42
|
-
*/
|
|
43
|
-
borderless?: boolean | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* defaultSort overrides the default field to sort items on.
|
|
46
|
-
*/
|
|
47
|
-
defaultSort?: string | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* defaultSortDir overrides the default order to sort items with.
|
|
50
|
-
*/
|
|
51
|
-
defaultSortDir?: SortDir | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* disableDate turns off the date-range filter input.
|
|
54
|
-
*/
|
|
55
|
-
disableDate?: boolean | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* disableNavigation hides navigation components from displaying.
|
|
58
|
-
* This makes the List as a "single-page" limiting the number of results via perPage.
|
|
59
|
-
*/
|
|
60
|
-
disableNavigation?: boolean | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* perPage overrides the default number of items per page to retrieve.
|
|
63
|
-
*/
|
|
64
|
-
perPage?: number | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* url is the endpoint to retrieve list data from
|
|
67
|
-
*/
|
|
68
|
-
url: string;
|
|
69
|
-
}> & Readonly<{}>, {
|
|
38
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
70
39
|
borderless: boolean;
|
|
71
40
|
defaultSort: string;
|
|
72
41
|
defaultSortDir: SortDir;
|
|
73
42
|
disableDate: boolean;
|
|
74
43
|
disableNavigation: boolean;
|
|
75
44
|
perPage: number;
|
|
76
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
77
46
|
default?(_: {
|
|
78
47
|
item: any;
|
|
79
48
|
}): any;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
propsData: Record<string, unknown>;
|
|
3
3
|
attribute: string;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
attribute: string;
|
|
7
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
|
8
6
|
export default _default;
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import type { DynamicTableOptions, TableActions, TableColumns } from "../../composables/table";
|
|
2
|
-
|
|
3
|
-
tableActions?: TableActions<any
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
tableActions?: TableActions<any>;
|
|
4
4
|
tableColumns: TableColumns<any>;
|
|
5
5
|
tableOptions: DynamicTableOptions;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
7
8
|
refresh: () => void;
|
|
8
9
|
reset: () => void;
|
|
9
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
11
|
"click:row": (v: any) => any;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
12
|
-
tableActions?: TableActions<any> | undefined;
|
|
13
|
-
tableColumns: TableColumns<any>;
|
|
14
|
-
tableOptions: DynamicTableOptions;
|
|
15
|
-
}> & Readonly<{
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
13
|
"onClick:row"?: ((v: any) => any) | undefined;
|
|
17
14
|
}>, {
|
|
18
15
|
tableActions: TableActions<any>;
|
|
19
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
17
|
export default _default;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { TableActionItem } from "../../composables";
|
|
2
|
-
|
|
3
|
-
actions?: TableActionItem
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
}> & Readonly<{}>, {
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
actions?: TableActionItem[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
6
|
actions: TableActionItem<import("../../composables").TableRowData>[];
|
|
8
7
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
8
|
export default _default;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { ActionItem } from "../../composables/nav";
|
|
2
|
-
|
|
3
|
-
actions?: ActionItem[]
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
}> & Readonly<{}>, {
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
actions?: ActionItem[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
6
|
actions: ActionItem[];
|
|
8
7
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
8
|
export default _default;
|
|
@@ -3,8 +3,8 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue: Pagination;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:modelValue": (
|
|
6
|
+
"update:modelValue": (value: Pagination) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
-
"onUpdate:modelValue"?: ((
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
8
|
+
"onUpdate:modelValue"?: ((value: Pagination) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
10
|
export default _default;
|
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
hideActions?: boolean
|
|
3
|
-
hidePrevious?: boolean
|
|
4
|
-
nextText?: string
|
|
5
|
-
previousText?: string
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
hideActions?: boolean;
|
|
3
|
+
hidePrevious?: boolean;
|
|
4
|
+
nextText?: string;
|
|
5
|
+
previousText?: string;
|
|
6
6
|
step: number;
|
|
7
7
|
total: number;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
10
|
next: (...args: any[]) => void;
|
|
10
11
|
previous: (...args: any[]) => void;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
12
|
-
hideActions?: boolean | undefined;
|
|
13
|
-
hidePrevious?: boolean | undefined;
|
|
14
|
-
nextText?: string | undefined;
|
|
15
|
-
previousText?: string | undefined;
|
|
16
|
-
step: number;
|
|
17
|
-
total: number;
|
|
18
|
-
}> & Readonly<{
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
13
|
onNext?: ((...args: any[]) => any) | undefined;
|
|
20
14
|
onPrevious?: ((...args: any[]) => any) | undefined;
|
|
21
15
|
}>, {
|
|
@@ -23,5 +17,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
17
|
hidePrevious: boolean;
|
|
24
18
|
nextText: string;
|
|
25
19
|
previousText: string;
|
|
26
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
21
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
pillDesign?: boolean;
|
|
3
3
|
tabs: Array<{
|
|
4
4
|
label: string;
|
|
@@ -7,12 +7,12 @@ declare let __VLS_typeProps: {
|
|
|
7
7
|
};
|
|
8
8
|
type __VLS_PublicProps = {
|
|
9
9
|
modelValue: string;
|
|
10
|
-
} &
|
|
10
|
+
} & __VLS_Props;
|
|
11
11
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
"update:modelValue": (
|
|
12
|
+
"update:modelValue": (value: string) => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: ((
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
pillDesign: boolean;
|
|
17
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
18
|
export default _default;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
btnText?: string;
|
|
3
3
|
title?: string;
|
|
4
4
|
};
|
|
5
5
|
type __VLS_PublicProps = {
|
|
6
6
|
modelValue: boolean;
|
|
7
|
-
} &
|
|
7
|
+
} & __VLS_Props;
|
|
8
8
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (
|
|
9
|
+
"update:modelValue": (value: boolean) => any;
|
|
10
10
|
} & {
|
|
11
11
|
close: () => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
13
|
onClose?: (() => any) | undefined;
|
|
14
|
-
"onUpdate:modelValue"?: ((
|
|
14
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
title: string;
|
|
17
17
|
btnText: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
destructive?: boolean;
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
wide?: boolean;
|
|
@@ -7,16 +7,16 @@ declare let __VLS_typeProps: {
|
|
|
7
7
|
};
|
|
8
8
|
type __VLS_PublicProps = {
|
|
9
9
|
modelValue: boolean;
|
|
10
|
-
} &
|
|
10
|
+
} & __VLS_Props;
|
|
11
11
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
"update:modelValue": (
|
|
12
|
+
"update:modelValue": (value: boolean) => any;
|
|
13
13
|
} & {
|
|
14
14
|
close: () => any;
|
|
15
15
|
submit: () => any;
|
|
16
16
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
17
|
onClose?: (() => any) | undefined;
|
|
18
18
|
onSubmit?: (() => any) | undefined;
|
|
19
|
-
"onUpdate:modelValue"?: ((
|
|
19
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
disabled: boolean;
|
|
22
22
|
title: string;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { Placement } from "@floating-ui/vue";
|
|
2
|
-
|
|
3
|
-
as?: string
|
|
4
|
-
position?: Placement | "auto"
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
position?: Placement | "auto" | undefined;
|
|
8
|
-
}> & Readonly<{}>, {
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
as?: string;
|
|
4
|
+
position?: Placement | "auto";
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
7
|
as: string;
|
|
10
8
|
position: Placement | "auto";
|
|
11
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
header: string;
|
|
3
3
|
description: string;
|
|
4
4
|
};
|
|
5
5
|
type __VLS_PublicProps = {
|
|
6
6
|
modelValue: boolean;
|
|
7
|
-
} &
|
|
7
|
+
} & __VLS_Props;
|
|
8
8
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (
|
|
9
|
+
"update:modelValue": (value: boolean) => any;
|
|
10
10
|
} & {
|
|
11
11
|
close: () => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
13
|
onClose?: (() => any) | undefined;
|
|
14
|
-
"onUpdate:modelValue"?: ((
|
|
14
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
16
16
|
default?(_: {}): any;
|
|
17
17
|
footer?(_: {}): any;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { Placement } from "@floating-ui/vue";
|
|
2
|
-
|
|
3
|
-
as?: string
|
|
4
|
-
position?: Placement | "auto"
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
position?: Placement | "auto" | undefined;
|
|
8
|
-
}> & Readonly<{}>, {
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
as?: string;
|
|
4
|
+
position?: Placement | "auto";
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
7
|
as: string;
|
|
10
8
|
position: Placement | "auto";
|
|
11
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Ref } from "vue";
|
|
2
|
-
/**
|
|
3
|
-
* useModel supports a two-way binding between a reactive prop and
|
|
4
|
-
* a local ref. It effectively allows you to do prop mutations in a way that
|
|
5
|
-
* vue considers safe.
|
|
6
|
-
*
|
|
7
|
-
* This is effectveily a copy of useModel from vuejs/core which is currently an experimental opt-in
|
|
8
|
-
*
|
|
9
|
-
* @param props component props
|
|
10
|
-
* @param name component prop name to sync
|
|
11
|
-
* @param options - local determines the reactivity pattern used when the prop you are tracking is optional, use local:true.
|
|
12
|
-
*/
|
|
13
|
-
export declare const useModel: <T extends Record<string, any>, K extends keyof T>(props: T, name: K, options?: {
|
|
14
|
-
local?: boolean;
|
|
15
|
-
}) => Ref<T[K]>;
|
package/types/helpers/Slots.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { TableColumn, TableRow } from "../../composables/table";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
columns: TableColumn<TableRow>[];
|
|
4
|
-
rows: TableRow[];
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
6
|
-
columns?: unknown;
|
|
7
|
-
rows?: unknown;
|
|
8
|
-
} & {
|
|
9
|
-
columns: TableColumn<TableRow>[];
|
|
10
|
-
rows: TableRow[];
|
|
11
|
-
} & {}>, {}>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as TableTypes from "../../composables/table";
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
tableData: Omit<TableTypes.Static, "currentUser">;
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
5
|
-
tableData?: unknown;
|
|
6
|
-
} & {
|
|
7
|
-
tableData: Omit<TableTypes.Static, "currentUser">;
|
|
8
|
-
} & {}>, {}>, {
|
|
9
|
-
actions: (_: {
|
|
10
|
-
row: Record<string, unknown>;
|
|
11
|
-
}) => any;
|
|
12
|
-
}>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
-
new (): {
|
|
25
|
-
$slots: S;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as TableTypes from "../../composables/table";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
clickable?: boolean | undefined;
|
|
4
|
-
loader?: boolean | undefined;
|
|
5
|
-
tableData: TableTypes.Dynamic;
|
|
6
|
-
}>, {
|
|
7
|
-
clickable: boolean;
|
|
8
|
-
loader: boolean;
|
|
9
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
handleClick: (v: any) => void;
|
|
11
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
12
|
-
tableData?: unknown;
|
|
13
|
-
clickable?: unknown;
|
|
14
|
-
loader?: unknown;
|
|
15
|
-
} & {
|
|
16
|
-
tableData: TableTypes.Dynamic;
|
|
17
|
-
clickable: boolean;
|
|
18
|
-
loader: boolean;
|
|
19
|
-
} & {}> & {
|
|
20
|
-
onHandleClick?: ((v: any) => any) | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
clickable: boolean;
|
|
23
|
-
loader: boolean;
|
|
24
|
-
}>;
|
|
25
|
-
export default _default;
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
-
} : {
|
|
31
|
-
type: import('vue').PropType<T[K]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
type __VLS_WithDefaults<P, D> = {
|
|
36
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
37
|
-
default: D[K];
|
|
38
|
-
} : P[K];
|
|
39
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { ActionMenuItemCallback } from "../../composables/nav";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
items: ActionMenuItemCallback[];
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
5
|
-
items?: unknown;
|
|
6
|
-
} & {
|
|
7
|
-
items: ActionMenuItemCallback[];
|
|
8
|
-
} & {}>, {}>;
|
|
9
|
-
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { ActionMenuEmit } from "../../composables/nav";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
items: ActionMenuEmit[];
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
click: (v: string) => void;
|
|
6
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
7
|
-
items?: unknown;
|
|
8
|
-
} & {
|
|
9
|
-
items: ActionMenuEmit[];
|
|
10
|
-
} & {}> & {
|
|
11
|
-
onClick?: ((v: string) => any) | undefined;
|
|
12
|
-
}, {}>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
title: {
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
modelValue: {
|
|
7
|
-
type: import("vue").PropType<boolean>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
content: {
|
|
11
|
-
type: import("vue").PropType<string | string[]>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
kind: {
|
|
15
|
-
type: import("vue").PropType<"alert" | "warn" | "info" | "success">;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
sticky: {
|
|
19
|
-
type: import("vue").PropType<boolean>;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
cancelText: {
|
|
23
|
-
type: import("vue").PropType<string>;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
submitText: {
|
|
27
|
-
type: import("vue").PropType<string>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
-
submit: (e?: void | undefined) => void;
|
|
32
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
-
title: {
|
|
34
|
-
type: import("vue").PropType<string>;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
modelValue: {
|
|
38
|
-
type: import("vue").PropType<boolean>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
content: {
|
|
42
|
-
type: import("vue").PropType<string | string[]>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
kind: {
|
|
46
|
-
type: import("vue").PropType<"alert" | "warn" | "info" | "success">;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
sticky: {
|
|
50
|
-
type: import("vue").PropType<boolean>;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
cancelText: {
|
|
54
|
-
type: import("vue").PropType<string>;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
submitText: {
|
|
58
|
-
type: import("vue").PropType<string>;
|
|
59
|
-
required: true;
|
|
60
|
-
};
|
|
61
|
-
}>> & {
|
|
62
|
-
onSubmit?: ((e?: void | undefined) => any) | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
title: string;
|
|
65
|
-
sticky: boolean;
|
|
66
|
-
cancelText: string;
|
|
67
|
-
}, {}>;
|
|
68
|
-
export default _default;
|