@xy-planning-network/trees 0.10.5 → 0.10.6-rc1
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/style.css +1 -1
- package/dist/trees.es.js +4084 -4179
- package/dist/trees.umd.js +10 -10
- package/package.json +5 -5
- package/src/lib-components/forms/BaseInput.vue +18 -29
- package/src/lib-components/forms/Checkbox.vue +8 -9
- package/src/lib-components/forms/DateRangePicker.vue +21 -22
- package/src/lib-components/forms/DateTimeInput.vue +14 -24
- package/src/lib-components/forms/MultiCheckboxes.vue +33 -35
- package/src/lib-components/forms/Radio.vue +8 -11
- package/src/lib-components/forms/RadioCards.vue +8 -12
- package/src/lib-components/forms/Select.vue +10 -26
- package/src/lib-components/forms/TextArea.vue +11 -17
- package/src/lib-components/forms/Toggle.vue +6 -7
- package/src/lib-components/forms/YesOrNoRadio.vue +10 -12
- package/src/lib-components/layout/DateFilter.vue +8 -4
- package/src/lib-components/lists/DynamicTable.vue +7 -8
- package/src/lib-components/navigation/ActionsDropdown.vue +2 -0
- package/src/lib-components/navigation/Paginator.vue +17 -20
- package/src/lib-components/navigation/Tabs.vue +6 -18
- package/src/lib-components/overlays/ContentModal.vue +13 -9
- package/src/lib-components/overlays/Modal.vue +14 -11
- package/src/lib-components/overlays/Popover/Popover.vue +2 -0
- package/src/lib-components/overlays/Slideover.vue +13 -15
- package/types/composables/forms.d.ts +16 -2
- package/types/composables/nav.d.ts +1 -1
- package/types/composables/useActionItems.d.ts +1 -1
- package/types/composables/useFlashes.d.ts +1 -1
- package/types/composables/useSpinner.d.ts +6 -6
- package/types/composables/useTable.d.ts +1 -1
- package/types/entry.d.ts +0 -2
- package/types/helpers/Slots.d.ts +2 -0
- package/types/lib-components/forms/BaseInput.vue.d.ts +13 -36
- package/types/lib-components/forms/Checkbox.vue.d.ts +10 -35
- package/types/lib-components/forms/DateRangePicker.vue.d.ts +15 -38
- package/types/lib-components/forms/DateTimeInput.vue.d.ts +10 -35
- package/types/lib-components/forms/FieldsetLegend.vue.d.ts +4 -29
- package/types/lib-components/forms/InputError.vue.d.ts +4 -25
- package/types/lib-components/forms/InputHelp.vue.d.ts +4 -27
- package/types/lib-components/forms/InputLabel.vue.d.ts +4 -29
- package/types/lib-components/forms/MultiCheckboxes.vue.d.ts +13 -36
- package/types/lib-components/forms/Radio.vue.d.ts +10 -35
- package/types/lib-components/forms/RadioCards.vue.d.ts +16 -13
- package/types/lib-components/forms/Select.vue.d.ts +10 -35
- package/types/lib-components/forms/TextArea.vue.d.ts +10 -35
- package/types/lib-components/forms/Toggle.vue.d.ts +12 -36
- package/types/lib-components/forms/YesOrNoRadio.vue.d.ts +10 -35
- package/types/lib-components/indicators/InlineAlert.vue.d.ts +11 -42
- package/types/lib-components/indicators/ProgressCircles.vue.d.ts +3 -12
- package/types/lib-components/indicators/ProgressCirclesLabeled.vue.d.ts +3 -12
- package/types/lib-components/indicators/XYSpinner.vue.d.ts +1 -1
- package/types/lib-components/layout/DateFilter.vue.d.ts +7 -16
- package/types/lib-components/layout/SidebarLayout.vue.d.ts +4 -25
- package/types/lib-components/layout/StackedLayout.vue.d.ts +4 -25
- package/types/lib-components/lists/Cards.vue.d.ts +3 -12
- package/types/lib-components/lists/DataTable.vue.d.ts +4 -31
- package/types/lib-components/lists/DetailList.vue.d.ts +5 -36
- package/types/lib-components/lists/DownloadCell.vue.d.ts +3 -12
- package/types/lib-components/lists/DynamicTable.vue.d.ts +8 -35
- package/types/lib-components/lists/StaticTable.vue.d.ts +21 -0
- package/types/lib-components/lists/StaticTableActionSlot.vue.d.ts +27 -0
- package/types/lib-components/lists/Table.vue.d.ts +39 -0
- package/types/lib-components/lists/TableActionButtons.vue.d.ts +4 -25
- package/types/lib-components/navigation/ActionsDropdown.vue.d.ts +4 -26
- package/types/lib-components/navigation/ActionsDropdownCallback.vue.d.ts +18 -0
- package/types/lib-components/navigation/ActionsDropdownEmit.vue.d.ts +22 -0
- package/types/lib-components/navigation/Paginator.vue.d.ts +7 -17
- package/types/lib-components/navigation/Steps.vue.d.ts +6 -33
- package/types/lib-components/navigation/Tabs.vue.d.ts +12 -37
- package/types/lib-components/overlays/AlertModal.vue.d.ts +68 -0
- package/types/lib-components/overlays/ContentModal.vue.d.ts +14 -35
- package/types/lib-components/overlays/Flash.vue.d.ts +1 -1
- package/types/lib-components/overlays/Modal.vue.d.ts +19 -49
- package/types/lib-components/overlays/Popover/Popover.vue.d.ts +4 -27
- package/types/lib-components/overlays/Popover/PopoverContent.vue.d.ts +1 -1
- package/types/lib-components/overlays/Slideover.vue.d.ts +12 -21
- package/types/lib-components/overlays/Spinner.vue.d.ts +1 -1
- package/types/lib-components/overlays/Tooltip.vue.d.ts +4 -27
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import type { Placement } from "@floating-ui/vue";
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
as?: string | undefined;
|
|
4
4
|
position?: Placement | "auto" | undefined;
|
|
5
|
-
}
|
|
6
|
-
as: string;
|
|
7
|
-
position: string;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
9
6
|
as?: string | undefined;
|
|
10
7
|
position?: Placement | "auto" | undefined;
|
|
11
|
-
}>, {
|
|
12
|
-
as: string;
|
|
13
|
-
position: string;
|
|
14
|
-
}>>>, {
|
|
8
|
+
}> & Readonly<{}>, {
|
|
15
9
|
as: string;
|
|
16
10
|
position: Placement | "auto";
|
|
17
|
-
}, {}>, {
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
18
12
|
button?(_: {
|
|
19
13
|
open: any;
|
|
20
14
|
close: any;
|
|
@@ -25,25 +19,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
19
|
}): any;
|
|
26
20
|
}>;
|
|
27
21
|
export default _default;
|
|
28
|
-
type __VLS_WithDefaults<P, D> = {
|
|
29
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
-
default: D[K];
|
|
31
|
-
}> : P[K];
|
|
32
|
-
};
|
|
33
|
-
type __VLS_Prettify<T> = {
|
|
34
|
-
[K in keyof T]: T[K];
|
|
35
|
-
} & {};
|
|
36
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
23
|
new (): {
|
|
38
24
|
$slots: S;
|
|
39
25
|
};
|
|
40
26
|
};
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToOption<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: import('vue').PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
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, {}, any>, {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
}>;
|
|
4
4
|
export default _default;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare
|
|
2
|
-
header: string;
|
|
3
|
-
description: string;
|
|
4
|
-
modelValue: boolean;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
close: (val: boolean) => void;
|
|
7
|
-
"update:modelValue": (val: boolean) => void;
|
|
8
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
9
2
|
header: string;
|
|
10
3
|
description: string;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_PublicProps = {
|
|
11
6
|
modelValue: boolean;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
7
|
+
} & typeof __VLS_typeProps;
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (modelValue: boolean) => any;
|
|
10
|
+
} & {
|
|
11
|
+
close: () => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
onClose?: (() => any) | undefined;
|
|
14
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
16
16
|
default?(_: {}): any;
|
|
17
17
|
footer?(_: {}): any;
|
|
18
18
|
}>;
|
|
@@ -22,12 +22,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
22
22
|
$slots: S;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToOption<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: import('vue').PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,42 +1,19 @@
|
|
|
1
1
|
import type { Placement } from "@floating-ui/vue";
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
as?: string | undefined;
|
|
4
4
|
position?: Placement | "auto" | undefined;
|
|
5
|
-
}
|
|
6
|
-
as: string;
|
|
7
|
-
position: string;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
9
6
|
as?: string | undefined;
|
|
10
7
|
position?: Placement | "auto" | undefined;
|
|
11
|
-
}>, {
|
|
12
|
-
as: string;
|
|
13
|
-
position: string;
|
|
14
|
-
}>>>, {
|
|
8
|
+
}> & Readonly<{}>, {
|
|
15
9
|
as: string;
|
|
16
10
|
position: Placement | "auto";
|
|
17
|
-
}, {}>, {
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
18
12
|
default?(_: {}): any;
|
|
19
13
|
}>;
|
|
20
14
|
export default _default;
|
|
21
|
-
type __VLS_WithDefaults<P, D> = {
|
|
22
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
23
|
-
default: D[K];
|
|
24
|
-
}> : P[K];
|
|
25
|
-
};
|
|
26
|
-
type __VLS_Prettify<T> = {
|
|
27
|
-
[K in keyof T]: T[K];
|
|
28
|
-
} & {};
|
|
29
15
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
16
|
new (): {
|
|
31
17
|
$slots: S;
|
|
32
18
|
};
|
|
33
19
|
};
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToOption<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: import('vue').PropType<T[K]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
};
|