@xy-planning-network/trees 0.11.0-rc3 → 0.11.1-dev
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 +3326 -3177
- package/dist/trees.umd.js +9 -9
- package/package.json +2 -2
- package/src/index.css +24 -5
- package/src/lib-components/forms/BaseInput.vue +5 -0
- package/src/lib-components/forms/MultiCheckboxes.vue +4 -4
- package/src/lib-components/indicators/AppIcon.vue +97 -0
- package/src/lib-components/layout/SidebarLayout.vue +4 -41
- package/src/lib-components/layout/UserMenu.vue +87 -0
- package/src/lib-components/navigation/Paginator.vue +3 -3
- package/src/lib-components/overlays/TooltipWrapper.vue +73 -0
- package/types/composables/forms.d.ts +13 -0
- package/types/composables/nav.d.ts +23 -1
- package/types/entry.d.ts +2 -2
- 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 +6 -12
- 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/index.d.ts +3 -1
- package/types/lib-components/indicators/AppIcon.vue.d.ts +24 -0
- 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 +6 -10
- package/types/lib-components/layout/StackedLayout.vue.d.ts +4 -9
- package/types/lib-components/layout/UserMenu.vue.d.ts +8 -0
- 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/lib-components/overlays/TooltipWrapper.vue.d.ts +18 -0
- 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,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
label?: string
|
|
3
|
-
required?: boolean
|
|
4
|
-
tag?: string
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
required?: boolean | undefined;
|
|
8
|
-
tag?: string | undefined;
|
|
9
|
-
}> & Readonly<{}>, {
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
required?: boolean;
|
|
4
|
+
tag?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
7
|
label: string;
|
|
11
8
|
required: boolean;
|
|
12
9
|
tag: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MultiChoiceInput, ColumnedInput } from "../../composables/forms";
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = MultiChoiceInput & ColumnedInput;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
4
|
modelValue?: MultiChoiceInput["modelValue"];
|
|
5
|
-
} &
|
|
5
|
+
} & __VLS_Props;
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (
|
|
7
|
+
"update:modelValue": (value: (string | number)[] | null | undefined) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((
|
|
9
|
+
"onUpdate:modelValue"?: ((value: (string | number)[] | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
12
|
modelValue: (string | number)[] | null;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { OptionsInput, ColumnedInput } from "../../composables/forms";
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = OptionsInput & ColumnedInput;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
4
|
modelValue?: OptionsInput["modelValue"];
|
|
5
|
-
} &
|
|
5
|
+
} & __VLS_Props;
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (
|
|
7
|
+
"update:modelValue": (value: string | number | null | undefined) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
12
|
modelValue: string | number | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InputOption } from "../../composables/forms";
|
|
2
2
|
declare const _default: <T extends InputOption>(__VLS_props: {
|
|
3
|
-
readonly "onUpdate:modelValue"?: ((
|
|
3
|
+
readonly "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
4
4
|
modelValue?: string | number | null | undefined;
|
|
5
5
|
options: T[];
|
|
6
6
|
label?: string | undefined;
|
|
@@ -17,12 +17,10 @@ declare const _default: <T extends InputOption>(__VLS_props: {
|
|
|
17
17
|
}): any;
|
|
18
18
|
};
|
|
19
19
|
attrs: any;
|
|
20
|
-
emit:
|
|
21
|
-
'update:modelValue': [modelValue: string | number | null | undefined];
|
|
22
|
-
};
|
|
20
|
+
emit: (evt: "update:modelValue", value: string | number | null | undefined) => void;
|
|
23
21
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
24
22
|
props: {
|
|
25
|
-
readonly "onUpdate:modelValue"?: ((
|
|
23
|
+
readonly "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
26
24
|
modelValue?: string | number | null | undefined;
|
|
27
25
|
options: T[];
|
|
28
26
|
label?: string | undefined;
|
|
@@ -40,15 +38,13 @@ declare const _default: <T extends InputOption>(__VLS_props: {
|
|
|
40
38
|
option: T;
|
|
41
39
|
}): any;
|
|
42
40
|
};
|
|
43
|
-
emit:
|
|
44
|
-
'update:modelValue': [modelValue: string | number | null | undefined];
|
|
45
|
-
};
|
|
41
|
+
emit: (evt: "update:modelValue", value: string | number | null | undefined) => void;
|
|
46
42
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
47
43
|
[key: string]: any;
|
|
48
44
|
}> & {
|
|
49
45
|
__ctx?: {
|
|
50
46
|
props: {
|
|
51
|
-
readonly "onUpdate:modelValue"?: ((
|
|
47
|
+
readonly "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
52
48
|
modelValue?: string | number | null | undefined;
|
|
53
49
|
options: T[];
|
|
54
50
|
label?: string | undefined;
|
|
@@ -66,9 +62,7 @@ declare const _default: <T extends InputOption>(__VLS_props: {
|
|
|
66
62
|
option: T;
|
|
67
63
|
}): any;
|
|
68
64
|
};
|
|
69
|
-
emit:
|
|
70
|
-
'update:modelValue': [modelValue: string | number | null | undefined];
|
|
71
|
-
};
|
|
65
|
+
emit: (evt: "update:modelValue", value: string | number | null | undefined) => void;
|
|
72
66
|
} | undefined;
|
|
73
67
|
};
|
|
74
68
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { OptionsInput } from "../../composables/forms";
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = OptionsInput;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
4
|
modelValue?: OptionsInput["modelValue"];
|
|
5
|
-
} &
|
|
5
|
+
} & __VLS_Props;
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (
|
|
7
|
+
"update:modelValue": (value: string | number | null | undefined) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
12
|
modelValue: string | number | null;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { TextareaInput } from "../../composables/forms";
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = TextareaInput;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
4
|
modelValue?: TextareaInput["modelValue"];
|
|
5
|
-
} &
|
|
5
|
+
} & __VLS_Props;
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (
|
|
7
|
+
"update:modelValue": (value: string | number | null | undefined) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
12
|
modelValue: string | number | null;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
label?: string;
|
|
3
3
|
help?: string;
|
|
4
4
|
};
|
|
5
5
|
type __VLS_PublicProps = {
|
|
6
6
|
modelValue?: boolean;
|
|
7
|
-
} &
|
|
7
|
+
} & __VLS_Props;
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (
|
|
9
|
+
"update:modelValue": (value: boolean) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
|
-
"onUpdate:modelValue"?: ((
|
|
11
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
label: string;
|
|
14
14
|
help: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { BooleanInput } from "../../composables/forms";
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = BooleanInput;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
4
|
modelValue?: BooleanInput["modelValue"];
|
|
5
|
-
} &
|
|
5
|
+
} & __VLS_Props;
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (
|
|
7
|
+
"update:modelValue": (value: boolean | null | undefined) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((
|
|
9
|
+
"onUpdate:modelValue"?: ((value: boolean | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
12
|
modelValue: boolean | null;
|
|
@@ -5,6 +5,7 @@ import { default as DateFilter } from "./layout/DateFilter.vue";
|
|
|
5
5
|
import { default as DetailList } from "./lists/DetailList.vue";
|
|
6
6
|
import { default as DownloadCell } from "./lists/DownloadCell.vue";
|
|
7
7
|
import { default as Flash } from "./overlays/Flash.vue";
|
|
8
|
+
import { default as AppIcon } from "./indicators/AppIcon.vue";
|
|
8
9
|
import { default as InlineAlert } from "./indicators/InlineAlert.vue";
|
|
9
10
|
import { default as Modal } from "./overlays/Modal.vue";
|
|
10
11
|
import { default as SidebarLayout } from "./layout/SidebarLayout.vue";
|
|
@@ -38,7 +39,7 @@ import { default as RadioCards } from "./forms/RadioCards.vue";
|
|
|
38
39
|
import { default as Select } from "./forms/Select.vue";
|
|
39
40
|
import { default as TextArea } from "./forms/TextArea.vue";
|
|
40
41
|
import { default as YesOrNoRadio } from "./forms/YesOrNoRadio.vue";
|
|
41
|
-
export { ActionsDropdown, Cards, ContentModal, DateFilter, DetailList, DownloadCell, Flash, InlineAlert, Modal, SidebarLayout, Slideover, StackedLayout, Popover, PopoverContent, PopoverPosition, // Type export
|
|
42
|
+
export { ActionsDropdown, Cards, ContentModal, DateFilter, DetailList, DownloadCell, Flash, AppIcon, InlineAlert, Modal, SidebarLayout, Slideover, StackedLayout, Popover, PopoverContent, PopoverPosition, // Type export
|
|
42
43
|
Paginator, Spinner, DataTable, Steps, DynamicTable, Tabs, Toggle, Tooltip, BaseInput, Checkbox, DateRangePicker, DateTime, InputError, InputHelp, InputLabel, FieldsetLegend, MultiCheckboxes, Radio, RadioCards, Select, TextArea, YesOrNoRadio, XYSpinner, ProgressCircles, ProgressCirclesLabeled, };
|
|
43
44
|
/**
|
|
44
45
|
* declare global component types for App.use(Trees)
|
|
@@ -51,6 +52,7 @@ export interface TreesComponents {
|
|
|
51
52
|
DetailList: typeof DetailList;
|
|
52
53
|
DownloadCell: typeof DownloadCell;
|
|
53
54
|
Flash: typeof Flash;
|
|
55
|
+
AppIcon: typeof AppIcon;
|
|
54
56
|
Modal: typeof Modal;
|
|
55
57
|
SidebarLayout: typeof SidebarLayout;
|
|
56
58
|
Slideover: typeof Slideover;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Component, FunctionalComponent, RenderFunction } from "vue";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
bgColor?: `bg-${string}`;
|
|
4
|
+
iconColor?: `text-${string}`;
|
|
5
|
+
icon: FunctionalComponent | Component | RenderFunction;
|
|
6
|
+
indicator?: string | number | boolean;
|
|
7
|
+
size?: "xs" | "sm" | "base" | "lg" | "xl";
|
|
8
|
+
type?: "circle" | "square";
|
|
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<{}>, {
|
|
11
|
+
type: "circle" | "square";
|
|
12
|
+
size: "base" | "xs" | "sm" | "lg" | "xl";
|
|
13
|
+
bgColor: `bg-${string}`;
|
|
14
|
+
iconColor: `text-${string}`;
|
|
15
|
+
indicator: string | number | boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -1,26 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
btnLink?: string
|
|
3
|
-
btnText?: string
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
btnLink?: string;
|
|
3
|
+
btnText?: string;
|
|
4
4
|
content: string | string[];
|
|
5
|
-
dismissable?: boolean
|
|
6
|
-
secondaryBtnLink?: string
|
|
7
|
-
secondaryBtnText?: string
|
|
8
|
-
title?: string
|
|
9
|
-
kind: "
|
|
10
|
-
}
|
|
5
|
+
dismissable?: boolean;
|
|
6
|
+
secondaryBtnLink?: string;
|
|
7
|
+
secondaryBtnText?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
kind: "alert" | "warn" | "info" | "success";
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
12
|
click: (e: Event) => any;
|
|
12
13
|
close: (closed: true) => any;
|
|
13
14
|
"click:secondary": (e: Event) => any;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
15
|
-
btnLink?: string | undefined;
|
|
16
|
-
btnText?: string | undefined;
|
|
17
|
-
content: string | string[];
|
|
18
|
-
dismissable?: boolean | undefined;
|
|
19
|
-
secondaryBtnLink?: string | undefined;
|
|
20
|
-
secondaryBtnText?: string | undefined;
|
|
21
|
-
title?: string | undefined;
|
|
22
|
-
kind: "info" | "success" | "alert" | "warn";
|
|
23
|
-
}> & Readonly<{
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
16
|
onClick?: ((e: Event) => any) | undefined;
|
|
25
17
|
onClose?: ((closed: true) => any) | undefined;
|
|
26
18
|
"onClick:secondary"?: ((e: Event) => any) | undefined;
|
|
@@ -2,7 +2,7 @@ interface Step {
|
|
|
2
2
|
name: string;
|
|
3
3
|
description?: string;
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
type __VLS_Props = {
|
|
6
6
|
/**
|
|
7
7
|
* current sets the "current" step using an index of the steps prop
|
|
8
8
|
* to show all steps in an "incomplete" state set step to -1
|
|
@@ -10,13 +10,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
*/
|
|
11
11
|
current: number;
|
|
12
12
|
steps: Step[];
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
* current sets the "current" step using an index of the steps prop
|
|
16
|
-
* to show all steps in an "incomplete" state set step to -1
|
|
17
|
-
* to show all steps in an "complete" state set step to a value >= steps.length
|
|
18
|
-
*/
|
|
19
|
-
current: number;
|
|
20
|
-
steps: Step[];
|
|
21
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
};
|
|
14
|
+
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, {}, HTMLElement>;
|
|
22
15
|
export default _default;
|
|
@@ -2,7 +2,7 @@ interface Step {
|
|
|
2
2
|
name: string;
|
|
3
3
|
description?: string;
|
|
4
4
|
}
|
|
5
|
-
|
|
5
|
+
type __VLS_Props = {
|
|
6
6
|
/**
|
|
7
7
|
* current sets the "current" step using an index of the steps prop
|
|
8
8
|
* to show all steps in an "incomplete" state set step to -1
|
|
@@ -10,13 +10,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
*/
|
|
11
11
|
current: number;
|
|
12
12
|
steps: Step[];
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
* current sets the "current" step using an index of the steps prop
|
|
16
|
-
* to show all steps in an "incomplete" state set step to -1
|
|
17
|
-
* to show all steps in an "complete" state set step to a value >= steps.length
|
|
18
|
-
*/
|
|
19
|
-
current: number;
|
|
20
|
-
steps: Step[];
|
|
21
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
};
|
|
14
|
+
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>;
|
|
22
15
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>, {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
}>;
|
|
4
4
|
export default _default;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { DateRange } from "../../composables/date";
|
|
2
2
|
import { SortDir } from "../../composables/list";
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = {
|
|
4
4
|
dateRange: DateRange;
|
|
5
5
|
sortDir: SortDir;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
8
|
"sort-dir-changed": (val: SortDir) => any;
|
|
8
9
|
"date-range-changed": (val: DateRange) => any;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
10
|
-
dateRange: DateRange;
|
|
11
|
-
sortDir: SortDir;
|
|
12
|
-
}> & Readonly<{
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
11
|
"onSort-dir-changed"?: ((val: SortDir) => any) | undefined;
|
|
14
12
|
"onDate-range-changed"?: ((val: DateRange) => any) | undefined;
|
|
15
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import type { NavItem } from "../../composables/nav";
|
|
2
|
-
|
|
3
|
-
activeUrl?: string
|
|
1
|
+
import type { NavItem, UserMenuItem } from "../../composables/nav";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
activeUrl?: string;
|
|
4
4
|
iconUrl: string;
|
|
5
5
|
navigation: NavItem[];
|
|
6
|
-
userNavigation:
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
iconUrl: string;
|
|
10
|
-
navigation: NavItem[];
|
|
11
|
-
userNavigation: NavItem[];
|
|
12
|
-
}> & Readonly<{}>, {
|
|
6
|
+
userNavigation: UserMenuItem[];
|
|
7
|
+
};
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
9
|
activeUrl: string;
|
|
14
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
15
11
|
"sidebar-nav"?(_: {}): any;
|
|
@@ -1,18 +1,13 @@
|
|
|
1
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
7
|
navigation: NavItem[];
|
|
8
8
|
userNavigation: NavItem[];
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
currentUser: User;
|
|
12
|
-
iconUrl: string;
|
|
13
|
-
navigation: NavItem[];
|
|
14
|
-
userNavigation: NavItem[];
|
|
15
|
-
}> & Readonly<{}>, {
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UserMenuItem } from "../../composables/nav";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
menu?: UserMenuItem[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
menu: UserMenuItem[];
|
|
7
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -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;
|