@xy-planning-network/trees 0.15.2 → 0.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/trees.es.js +17051 -12088
- package/dist/trees.umd.js +81 -13
- package/package.json +3 -2
- package/src/index.css +10 -0
- package/src/lib-components/forms/Combobox.vue +240 -0
- package/src/lib-components/forms/FileUpload.vue +596 -0
- package/src/lib-components/forms/FormCell.vue +52 -0
- package/src/lib-components/forms/FormDisplay.vue +96 -0
- package/src/lib-components/forms/FormGrid.vue +23 -0
- package/src/lib-components/forms/FormSection.vue +57 -0
- package/src/lib-components/forms/InputDisplay.vue +36 -0
- package/src/lib-components/forms/InputHelp.vue +9 -2
- package/src/lib-components/forms/MultiSelect.vue +404 -0
- package/src/lib-components/forms/RadioCards.vue +14 -1
- package/src/lib-components/forms/RepeaterDisplay.vue +214 -0
- package/src/lib-components/indicators/DismissableBadge.vue +31 -0
- package/types/composables/badge.d.ts +8 -0
- package/types/composables/forms.d.ts +22 -0
- package/types/composables/http.d.ts +8 -0
- package/types/composables/index.d.ts +4 -0
- package/types/composables/useFieldsSchema.d.ts +115 -0
- package/types/composables/useInlineMarkdown.d.ts +20 -0
- package/types/composables/useRepeater.d.ts +116 -0
- package/types/entry.d.ts +2 -1
- package/types/helpers/Bytes.d.ts +14 -0
- package/types/helpers/GetProperty.d.ts +21 -0
- package/types/helpers/SetProperty.d.ts +18 -0
- package/types/lib-components/forms/BaseInput.vue.d.ts +1 -1
- package/types/lib-components/forms/Checkbox.vue.d.ts +1 -1
- package/types/lib-components/forms/Combobox.vue.d.ts +16 -0
- package/types/lib-components/forms/DateRangePicker.vue.d.ts +3 -3
- package/types/lib-components/forms/DateTimeInput.vue.d.ts +1 -1
- package/types/lib-components/forms/FileUpload.vue.d.ts +19 -0
- package/types/lib-components/forms/FormCell.vue.d.ts +15 -0
- package/types/lib-components/forms/FormDisplay.vue.d.ts +30 -0
- package/types/lib-components/forms/FormGrid.vue.d.ts +19 -0
- package/types/lib-components/forms/FormSection.vue.d.ts +16 -0
- package/types/lib-components/forms/InputDisplay.vue.d.ts +14 -0
- package/types/lib-components/forms/MultiCheckboxes.vue.d.ts +1 -1
- package/types/lib-components/forms/MultiSelect.vue.d.ts +22 -0
- package/types/lib-components/forms/NumberInput.vue.d.ts +3 -3
- package/types/lib-components/forms/Radio.vue.d.ts +1 -1
- package/types/lib-components/forms/RadioCards.vue.d.ts +3 -0
- package/types/lib-components/forms/RangeCalendar.vue.d.ts +1 -1
- package/types/lib-components/forms/RepeaterDisplay.vue.d.ts +29 -0
- package/types/lib-components/forms/Select.vue.d.ts +1 -1
- package/types/lib-components/forms/TextArea.vue.d.ts +1 -1
- package/types/lib-components/forms/YesOrNoRadio.vue.d.ts +1 -1
- package/types/lib-components/index.d.ts +54 -89
- package/types/lib-components/indicators/DismissableBadge.vue.d.ts +13 -0
- package/types/lib-components/overlays/ContentModal.vue.d.ts +1 -1
- package/types/lib-components/overlays/Modal.vue.d.ts +1 -1
- package/types/lib-components/overlays/Slideover.vue.d.ts +1 -1
|
@@ -34,10 +34,10 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
34
34
|
} | undefined) => any;
|
|
35
35
|
}, import("vue").PublicProps, {
|
|
36
36
|
actions: import("../../composables/forms").DateRangeAction[];
|
|
37
|
-
borderless: boolean;
|
|
38
37
|
maxRange: number;
|
|
39
38
|
maxValue: Date | null;
|
|
40
39
|
minValue: Date;
|
|
40
|
+
borderless: boolean;
|
|
41
41
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
42
42
|
P: {};
|
|
43
43
|
B: {};
|
|
@@ -63,10 +63,10 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
63
63
|
} | undefined) => any) | undefined;
|
|
64
64
|
}>, {}, {}, {}, {}, {
|
|
65
65
|
actions: import("../../composables/forms").DateRangeAction[];
|
|
66
|
-
borderless: boolean;
|
|
67
66
|
maxRange: number;
|
|
68
67
|
maxValue: Date | null;
|
|
69
68
|
minValue: Date;
|
|
69
|
+
borderless: boolean;
|
|
70
70
|
}> | null>>;
|
|
71
71
|
input: Readonly<import("vue").ShallowRef<HTMLInputElement | null>>;
|
|
72
72
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -83,11 +83,11 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
83
83
|
label: string;
|
|
84
84
|
actions: import("../../composables/forms").DateRangeAction[];
|
|
85
85
|
position: "bottom" | "bottom-start" | "bottom-end";
|
|
86
|
+
help: string;
|
|
86
87
|
modelValue: {
|
|
87
88
|
minDate: number;
|
|
88
89
|
maxDate: number;
|
|
89
90
|
};
|
|
90
|
-
help: string;
|
|
91
91
|
placeholder: string;
|
|
92
92
|
maxRange: number;
|
|
93
93
|
maxValue: Date | null;
|
|
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
|
-
modelValue: string | null;
|
|
13
12
|
help: string;
|
|
13
|
+
modelValue: string | null;
|
|
14
14
|
placeholder: string;
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type FileUploadInput } from "../../composables/forms";
|
|
2
|
+
type __VLS_Props = FileUploadInput;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: FileUploadInput["modelValue"];
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: import("../../composables/forms").FileUploadValue | undefined) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: import("../../composables/forms").FileUploadValue | undefined) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
label: string;
|
|
12
|
+
help: string;
|
|
13
|
+
modelValue: import("../../composables/forms").FileUploadValue;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
accept: string[];
|
|
16
|
+
multiple: boolean;
|
|
17
|
+
fileField: string;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
start?: boolean;
|
|
3
|
+
span: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
4
|
+
};
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
start: boolean;
|
|
7
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ReqMethod } from "../../api/client";
|
|
2
|
+
import { type FieldsSchema } from "../../composables/useFieldsSchema";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
action: string;
|
|
5
|
+
btnText?: string;
|
|
6
|
+
btnDisabled?: boolean;
|
|
7
|
+
columns: 1 | 2;
|
|
8
|
+
flashError?: boolean;
|
|
9
|
+
flashSuccess?: boolean;
|
|
10
|
+
method: ReqMethod;
|
|
11
|
+
schema: FieldsSchema;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_PublicProps = {
|
|
14
|
+
modelValue?: Record<string, any>;
|
|
15
|
+
} & __VLS_Props;
|
|
16
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
error: (error: any) => any;
|
|
18
|
+
success: (result: any) => any;
|
|
19
|
+
"update:modelValue": (value: Record<string, any>) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
+
onError?: ((error: any) => any) | undefined;
|
|
22
|
+
onSuccess?: ((result: any) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
btnText: string;
|
|
26
|
+
btnDisabled: boolean;
|
|
27
|
+
flashError: boolean;
|
|
28
|
+
flashSuccess: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
as?: string;
|
|
3
|
+
btnText?: string;
|
|
4
|
+
btnDisabled?: boolean;
|
|
5
|
+
columns: 1 | 2;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
as: string;
|
|
9
|
+
btnText: string;
|
|
10
|
+
btnDisabled: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
description?: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type FieldsSchema } from "../../composables/useFieldsSchema";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
columns: 1 | 2;
|
|
4
|
+
schema: FieldsSchema;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = {
|
|
7
|
+
modelValue: Record<string, any>;
|
|
8
|
+
} & __VLS_Props;
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: Record<string, any>) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
"onUpdate:modelValue"?: ((value: (string | number)[] | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
|
-
modelValue: (string | number)[] | null;
|
|
13
12
|
help: string;
|
|
13
|
+
modelValue: (string | number)[] | null;
|
|
14
14
|
placeholder: string;
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
16
16
|
errorInput: HTMLInputElement;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type MultiChoiceInput } from "../../composables/forms";
|
|
2
|
+
type __VLS_Props = MultiChoiceInput & {
|
|
3
|
+
customValues?: boolean;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
modelValue?: MultiChoiceInput["modelValue"];
|
|
7
|
+
modelModifiers?: Record<never, true>;
|
|
8
|
+
} & __VLS_Props;
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: (string | number)[] | null | undefined) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: (string | number)[] | null | undefined) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
label: string;
|
|
15
|
+
help: string;
|
|
16
|
+
modelValue: (string | number)[] | null;
|
|
17
|
+
placeholder: string;
|
|
18
|
+
customValues: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
20
|
+
errorInput: HTMLInputElement;
|
|
21
|
+
}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -12,10 +12,10 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
12
12
|
}>, {
|
|
13
13
|
label: string;
|
|
14
14
|
type: "number" | "money" | "raw-number";
|
|
15
|
-
modelValue: number | null;
|
|
16
|
-
max: number;
|
|
17
|
-
min: number;
|
|
18
15
|
help: string;
|
|
16
|
+
min: number;
|
|
17
|
+
max: number;
|
|
18
|
+
modelValue: number | null;
|
|
19
19
|
placeholder: string;
|
|
20
20
|
precision: number;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
|
-
modelValue: string | number | null;
|
|
13
12
|
help: string;
|
|
13
|
+
modelValue: string | number | null;
|
|
14
14
|
placeholder: string;
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -2,6 +2,7 @@ import type { InputOption } from "../../composables/forms";
|
|
|
2
2
|
declare const _default: <T extends InputOption>(__VLS_props: {
|
|
3
3
|
readonly "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
4
4
|
modelValue?: string | number | null | undefined;
|
|
5
|
+
modelModifiers?: Record<never, true> | undefined;
|
|
5
6
|
options: T[];
|
|
6
7
|
label?: string | undefined;
|
|
7
8
|
help?: string | undefined;
|
|
@@ -22,6 +23,7 @@ declare const _default: <T extends InputOption>(__VLS_props: {
|
|
|
22
23
|
props: {
|
|
23
24
|
readonly "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
24
25
|
modelValue?: string | number | null | undefined;
|
|
26
|
+
modelModifiers?: Record<never, true> | undefined;
|
|
25
27
|
options: T[];
|
|
26
28
|
label?: string | undefined;
|
|
27
29
|
help?: string | undefined;
|
|
@@ -46,6 +48,7 @@ declare const _default: <T extends InputOption>(__VLS_props: {
|
|
|
46
48
|
props: {
|
|
47
49
|
readonly "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
48
50
|
modelValue?: string | number | null | undefined;
|
|
51
|
+
modelModifiers?: Record<never, true> | undefined;
|
|
49
52
|
options: T[];
|
|
50
53
|
label?: string | undefined;
|
|
51
54
|
help?: string | undefined;
|
|
@@ -26,9 +26,9 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
26
26
|
} | undefined) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
actions: DateRangeAction[];
|
|
29
|
-
borderless: boolean;
|
|
30
29
|
maxRange: number;
|
|
31
30
|
maxValue: Date | null;
|
|
32
31
|
minValue: Date;
|
|
32
|
+
borderless: boolean;
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RepeaterRow } from "../../composables/useRepeater";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
type: RepeaterRow["type"];
|
|
4
|
+
title?: string;
|
|
5
|
+
help?: string;
|
|
6
|
+
count: number;
|
|
7
|
+
min?: number;
|
|
8
|
+
max?: number;
|
|
9
|
+
rows: RepeaterRow[];
|
|
10
|
+
addText?: string;
|
|
11
|
+
addDisabled?: boolean;
|
|
12
|
+
removeDisabled?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
add: () => any;
|
|
16
|
+
remove: (index: number) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onAdd?: (() => any) | undefined;
|
|
19
|
+
onRemove?: ((index: number) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
title: string;
|
|
22
|
+
help: string;
|
|
23
|
+
min: number;
|
|
24
|
+
max: number;
|
|
25
|
+
addText: string;
|
|
26
|
+
addDisabled: boolean;
|
|
27
|
+
removeDisabled: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
export default _default;
|
|
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
|
-
modelValue: string | number | null;
|
|
13
12
|
help: string;
|
|
13
|
+
modelValue: string | number | null;
|
|
14
14
|
placeholder: string;
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
|
-
modelValue: string | number | null;
|
|
13
12
|
help: string;
|
|
13
|
+
modelValue: string | number | null;
|
|
14
14
|
placeholder: string;
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
"onUpdate:modelValue"?: ((value: boolean | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
|
-
modelValue: boolean | null;
|
|
13
12
|
help: string;
|
|
13
|
+
modelValue: boolean | null;
|
|
14
14
|
placeholder: string;
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -1,93 +1,58 @@
|
|
|
1
|
-
import { default as ActionsButtonGroup } from "./navigation/ActionsButtonGroup.vue";
|
|
2
|
-
import { default as ActionsDropdown } from "./navigation/ActionsDropdown.vue";
|
|
3
|
-
import { default as Cards } from "./lists/Cards.vue";
|
|
4
|
-
import { default as ContentModal } from "./overlays/ContentModal.vue";
|
|
5
|
-
import { default as DateFilter } from "./layout/DateFilter.vue";
|
|
6
|
-
import { default as DetailList } from "./lists/DetailList.vue";
|
|
7
|
-
import { default as DownloadCell } from "./lists/DownloadCell.vue";
|
|
8
|
-
import { default as Flash } from "./overlays/Flash.vue";
|
|
9
|
-
import { default as InlineAlert } from "./indicators/InlineAlert.vue";
|
|
10
|
-
import { default as Modal } from "./overlays/Modal.vue";
|
|
11
|
-
import { default as SidebarLayout } from "./layout/SidebarLayout.vue";
|
|
12
|
-
import { default as Popover } from "./overlays/Popover/Popover.vue";
|
|
13
|
-
import { default as PopoverPosition } from "./overlays/Popover/Popover.vue";
|
|
14
|
-
import { default as PopoverContent } from "./overlays/Popover/PopoverContent.vue";
|
|
15
|
-
import { default as Slideover } from "./overlays/Slideover.vue";
|
|
16
|
-
import { default as Tooltip } from "./overlays/Tooltip.vue";
|
|
17
|
-
import { default as StackedLayout } from "./layout/StackedLayout.vue";
|
|
18
|
-
import { default as Paginator } from "./navigation/Paginator.vue";
|
|
19
|
-
import { default as Spinner } from "./overlays/Spinner.vue";
|
|
20
|
-
import { default as DataTable } from "./lists/DataTable.vue";
|
|
21
|
-
import { default as Steps } from "./navigation/Steps.vue";
|
|
22
|
-
import { default as DynamicTable } from "./lists/DynamicTable.vue";
|
|
23
|
-
import { default as TablePaginator } from "./navigation/TablePaginator.vue";
|
|
24
|
-
import { default as Tabs } from "./navigation/Tabs.vue";
|
|
25
|
-
import { default as Toggle } from "./forms/Toggle.vue";
|
|
26
|
-
import { default as XYSpinner } from "./indicators/XYSpinner.vue";
|
|
27
|
-
import { default as ProgressCircles } from "./indicators/ProgressCircles.vue";
|
|
28
|
-
import { default as ProgressCirclesLabeled } from "./indicators/ProgressCirclesLabeled.vue";
|
|
29
|
-
import { default as BaseInput } from "./forms/BaseInput.vue";
|
|
30
|
-
import { default as Checkbox } from "./forms/Checkbox.vue";
|
|
31
|
-
import { default as DateRangePicker } from "./forms/DateRangePicker.vue";
|
|
32
|
-
import { default as DateTime } from "./forms/DateTimeInput.vue";
|
|
33
|
-
import { default as InputError } from "./forms/InputError.vue";
|
|
34
|
-
import { default as InputHelp } from "./forms/InputHelp.vue";
|
|
35
|
-
import { default as InputLabel } from "./forms/InputLabel.vue";
|
|
36
|
-
import { default as FieldsetLegend } from "./forms/FieldsetLegend.vue";
|
|
37
|
-
import { default as MultiCheckboxes } from "./forms/MultiCheckboxes.vue";
|
|
38
|
-
import { default as NumberInput } from "./forms/NumberInput.vue";
|
|
39
|
-
import { default as Radio } from "./forms/Radio.vue";
|
|
40
|
-
import { default as RadioCards } from "./forms/RadioCards.vue";
|
|
41
|
-
import { default as RangeCalendar } from "./forms/RangeCalendar.vue";
|
|
42
|
-
import { default as Select } from "./forms/Select.vue";
|
|
43
|
-
import { default as TextArea } from "./forms/TextArea.vue";
|
|
44
|
-
import { default as YesOrNoRadio } from "./forms/YesOrNoRadio.vue";
|
|
45
|
-
export { ActionsButtonGroup, ActionsDropdown, Cards, ContentModal, DateFilter, DetailList, DownloadCell, Flash, InlineAlert, Modal, SidebarLayout, Slideover, StackedLayout, Popover, PopoverContent, PopoverPosition, // Type export
|
|
46
|
-
Paginator, Spinner, DataTable, Steps, DynamicTable, Tabs, TablePaginator, Toggle, Tooltip, BaseInput, Checkbox, DateRangePicker, DateTime, InputError, InputHelp, InputLabel, FieldsetLegend, MultiCheckboxes, NumberInput, Radio, RadioCards, RangeCalendar, Select, TextArea, YesOrNoRadio, XYSpinner, ProgressCircles, ProgressCirclesLabeled, };
|
|
47
1
|
/**
|
|
48
2
|
* declare global component types for App.use(Trees)
|
|
49
3
|
*/
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
ActionsDropdown: typeof ActionsDropdown;
|
|
53
|
-
Cards: typeof Cards;
|
|
54
|
-
ContentModal: typeof ContentModal;
|
|
55
|
-
DateFilter: typeof DateFilter;
|
|
56
|
-
DetailList: typeof DetailList;
|
|
57
|
-
DownloadCell: typeof DownloadCell;
|
|
58
|
-
Flash: typeof Flash;
|
|
59
|
-
Modal: typeof Modal;
|
|
60
|
-
SidebarLayout: typeof SidebarLayout;
|
|
61
|
-
Slideover: typeof Slideover;
|
|
62
|
-
Popover: typeof Popover;
|
|
63
|
-
PopoverContent: typeof PopoverContent;
|
|
64
|
-
StackedLayout: typeof StackedLayout;
|
|
65
|
-
Paginator: typeof Paginator;
|
|
66
|
-
Spinner: typeof Spinner;
|
|
67
|
-
DataTable: typeof DataTable;
|
|
68
|
-
DynamicTable: typeof DynamicTable;
|
|
69
|
-
Steps: typeof Steps;
|
|
70
|
-
Tabs: typeof Tabs;
|
|
71
|
-
TablePaginator: typeof TablePaginator;
|
|
72
|
-
Toggle: typeof Toggle;
|
|
73
|
-
Tooltip: typeof Tooltip;
|
|
74
|
-
BaseInput: typeof BaseInput;
|
|
75
|
-
Checkbox: typeof Checkbox;
|
|
76
|
-
DateRangePicker: typeof DateRangePicker;
|
|
77
|
-
DateTime: typeof DateTime;
|
|
78
|
-
InputError: typeof InputError;
|
|
79
|
-
InputHelp: typeof InputHelp;
|
|
80
|
-
InputLabel: typeof InputLabel;
|
|
81
|
-
FieldsetLegend: typeof FieldsetLegend;
|
|
82
|
-
MultiCheckboxes: typeof MultiCheckboxes;
|
|
83
|
-
NumberInput: typeof NumberInput;
|
|
84
|
-
Radio: typeof Radio;
|
|
85
|
-
RadioCards: typeof RadioCards;
|
|
86
|
-
RangeCalendar: typeof RangeCalendar;
|
|
87
|
-
Select: typeof Select;
|
|
88
|
-
TextArea: typeof TextArea;
|
|
89
|
-
YesOrNoRadio: typeof YesOrNoRadio;
|
|
90
|
-
XYSpinner: typeof XYSpinner;
|
|
91
|
-
ProgressCircles: typeof ProgressCircles;
|
|
92
|
-
ProgressCirclesLabeled: typeof ProgressCirclesLabeled;
|
|
4
|
+
type LibComponents = typeof import("./index");
|
|
5
|
+
export interface TreesComponents extends LibComponents {
|
|
93
6
|
}
|
|
7
|
+
export { default as ActionsButtonGroup } from "./navigation/ActionsButtonGroup.vue";
|
|
8
|
+
export { default as ActionsDropdown } from "./navigation/ActionsDropdown.vue";
|
|
9
|
+
export { default as BaseInput } from "./forms/BaseInput.vue";
|
|
10
|
+
export { default as Cards } from "./lists/Cards.vue";
|
|
11
|
+
export { default as Checkbox } from "./forms/Checkbox.vue";
|
|
12
|
+
export { default as Combobox } from "./forms/Combobox.vue";
|
|
13
|
+
export { default as ContentModal } from "./overlays/ContentModal.vue";
|
|
14
|
+
export { default as DataTable } from "./lists/DataTable.vue";
|
|
15
|
+
export { default as DateFilter } from "./layout/DateFilter.vue";
|
|
16
|
+
export { default as DateRangePicker } from "./forms/DateRangePicker.vue";
|
|
17
|
+
export { default as DateTime } from "./forms/DateTimeInput.vue";
|
|
18
|
+
export { default as DetailList } from "./lists/DetailList.vue";
|
|
19
|
+
export { default as DismissableBadge } from "./indicators/DismissableBadge.vue";
|
|
20
|
+
export { default as DownloadCell } from "./lists/DownloadCell.vue";
|
|
21
|
+
export { default as DynamicTable } from "./lists/DynamicTable.vue";
|
|
22
|
+
export { default as FieldsetLegend } from "./forms/FieldsetLegend.vue";
|
|
23
|
+
export { default as FileUpload } from "./forms/FileUpload.vue";
|
|
24
|
+
export { default as Flash } from "./overlays/Flash.vue";
|
|
25
|
+
export { default as FormCell } from "./forms/FormCell.vue";
|
|
26
|
+
export { default as FormDisplay } from "./forms/FormDisplay.vue";
|
|
27
|
+
export { default as FormGrid } from "./forms/FormGrid.vue";
|
|
28
|
+
export { default as FormSection } from "./forms/FormSection.vue";
|
|
29
|
+
export { default as InlineAlert } from "./indicators/InlineAlert.vue";
|
|
30
|
+
export { default as InputDisplay } from "./forms/InputDisplay.vue";
|
|
31
|
+
export { default as InputError } from "./forms/InputError.vue";
|
|
32
|
+
export { default as InputHelp } from "./forms/InputHelp.vue";
|
|
33
|
+
export { default as InputLabel } from "./forms/InputLabel.vue";
|
|
34
|
+
export { default as Modal } from "./overlays/Modal.vue";
|
|
35
|
+
export { default as MultiCheckboxes } from "./forms/MultiCheckboxes.vue";
|
|
36
|
+
export { default as MultiSelect } from "./forms/MultiSelect.vue";
|
|
37
|
+
export { default as NumberInput } from "./forms/NumberInput.vue";
|
|
38
|
+
export { default as Paginator } from "./navigation/Paginator.vue";
|
|
39
|
+
export { default as Popover } from "./overlays/Popover/Popover.vue";
|
|
40
|
+
export { default as PopoverContent } from "./overlays/Popover/PopoverContent.vue";
|
|
41
|
+
export { default as ProgressCircles } from "./indicators/ProgressCircles.vue";
|
|
42
|
+
export { default as ProgressCirclesLabeled } from "./indicators/ProgressCirclesLabeled.vue";
|
|
43
|
+
export { default as Radio } from "./forms/Radio.vue";
|
|
44
|
+
export { default as RadioCards } from "./forms/RadioCards.vue";
|
|
45
|
+
export { default as RangeCalendar } from "./forms/RangeCalendar.vue";
|
|
46
|
+
export { default as Select } from "./forms/Select.vue";
|
|
47
|
+
export { default as SidebarLayout } from "./layout/SidebarLayout.vue";
|
|
48
|
+
export { default as Slideover } from "./overlays/Slideover.vue";
|
|
49
|
+
export { default as Spinner } from "./overlays/Spinner.vue";
|
|
50
|
+
export { default as StackedLayout } from "./layout/StackedLayout.vue";
|
|
51
|
+
export { default as Steps } from "./navigation/Steps.vue";
|
|
52
|
+
export { default as TablePaginator } from "./navigation/TablePaginator.vue";
|
|
53
|
+
export { default as Tabs } from "./navigation/Tabs.vue";
|
|
54
|
+
export { default as TextArea } from "./forms/TextArea.vue";
|
|
55
|
+
export { default as Toggle } from "./forms/Toggle.vue";
|
|
56
|
+
export { default as Tooltip } from "./overlays/Tooltip.vue";
|
|
57
|
+
export { default as XYSpinner } from "./indicators/XYSpinner.vue";
|
|
58
|
+
export { default as YesOrNoRadio } from "./forms/YesOrNoRadio.vue";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BadgeKind } from "../../composables/badge";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
kind?: BadgeKind;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
dismiss: (label: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onDismiss?: ((label: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
kind: BadgeKind;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
13
|
+
export default _default;
|
|
@@ -12,8 +12,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
afterLeave: () => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
14
|
onClose?: (() => any) | undefined;
|
|
15
|
-
onAfterLeave?: (() => any) | undefined;
|
|
16
15
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
16
|
+
onAfterLeave?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
title: string;
|
|
19
19
|
btnText: string;
|
|
@@ -17,8 +17,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
18
|
onClose?: (() => any) | undefined;
|
|
19
19
|
onSubmit?: (() => any) | undefined;
|
|
20
|
-
onAfterLeave?: (() => any) | undefined;
|
|
21
20
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
|
+
onAfterLeave?: (() => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
title: string;
|
|
24
24
|
disabled: boolean;
|
|
@@ -13,8 +13,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
13
13
|
afterLeave: () => any;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
15
|
onClose?: (() => any) | undefined;
|
|
16
|
-
onAfterLeave?: (() => any) | undefined;
|
|
17
16
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
onAfterLeave?: (() => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
size: "sm" | "md" | "lg";
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|