@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
package/dist/trees.es.js
CHANGED
|
@@ -9225,13 +9225,13 @@ const of = /* @__PURE__ */ tf(nf, [["render", af]]), sf = { class: "absolute ins
|
|
|
9225
9225
|
}, ut), {
|
|
9226
9226
|
modelValue: {
|
|
9227
9227
|
...fe,
|
|
9228
|
-
// NOTE(spk): Vue handling of
|
|
9228
|
+
// NOTE(spk): The Vue.js specific handling of initial prop values null vs undefined
|
|
9229
9229
|
// means we can't rely on the the "default" param of defineModel here. Ensuring the
|
|
9230
9230
|
// getter returns an array type allows for a consistent checkbox v-model binding similar to
|
|
9231
|
-
// the example in the official Vue docs.
|
|
9231
|
+
// the example in the official Vue.js docs.
|
|
9232
9232
|
//
|
|
9233
|
-
// When a parent component passes a null v-model the parent ref stays null until
|
|
9234
|
-
//
|
|
9233
|
+
// When a parent component passes a null v-model the parent ref stays null until
|
|
9234
|
+
// a mutation occurs which is consistent with other input components.
|
|
9235
9235
|
get: (t) => Array.isArray(t) ? t : []
|
|
9236
9236
|
},
|
|
9237
9237
|
modelModifiers: {}
|
|
@@ -9240,13 +9240,13 @@ const of = /* @__PURE__ */ tf(nf, [["render", af]]), sf = { class: "absolute ins
|
|
|
9240
9240
|
setup(t) {
|
|
9241
9241
|
const n = t, e = Se(t, "modelValue", {
|
|
9242
9242
|
...fe,
|
|
9243
|
-
// NOTE(spk): Vue handling of
|
|
9243
|
+
// NOTE(spk): The Vue.js specific handling of initial prop values null vs undefined
|
|
9244
9244
|
// means we can't rely on the the "default" param of defineModel here. Ensuring the
|
|
9245
9245
|
// getter returns an array type allows for a consistent checkbox v-model binding similar to
|
|
9246
|
-
// the example in the official Vue docs.
|
|
9246
|
+
// the example in the official Vue.js docs.
|
|
9247
9247
|
//
|
|
9248
|
-
// When a parent component passes a null v-model the parent ref stays null until
|
|
9249
|
-
//
|
|
9248
|
+
// When a parent component passes a null v-model the parent ref stays null until
|
|
9249
|
+
// a mutation occurs which is consistent with other input components.
|
|
9250
9250
|
get: (g) => Array.isArray(g) ? g : []
|
|
9251
9251
|
}), { aria: r, inputID: a, isDisabled: o, errorState: i, validate: s } = dt(n), l = A(() => n.min || null), u = A(() => n.max || null), d = A(() => {
|
|
9252
9252
|
var v;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xy-planning-network/trees",
|
|
3
|
-
"version": "0.11.0
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "github:xy-planning-network/trees",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"unplugin-vue-components": "^0.27.4",
|
|
55
55
|
"unplugin-vue-markdown": "^0.25.2",
|
|
56
56
|
"vite": "^5.4.10",
|
|
57
|
-
"vue-tsc": "^2.1.
|
|
57
|
+
"vue-tsc": "^2.1.8"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@floating-ui/vue": "^1.0.1",
|
|
@@ -22,13 +22,13 @@ const props = withDefaults(
|
|
|
22
22
|
|
|
23
23
|
const modelState = defineModel<MultiChoiceInput["modelValue"]>({
|
|
24
24
|
...defaultModelOpts,
|
|
25
|
-
// NOTE(spk): Vue handling of
|
|
25
|
+
// NOTE(spk): The Vue.js specific handling of initial prop values null vs undefined
|
|
26
26
|
// means we can't rely on the the "default" param of defineModel here. Ensuring the
|
|
27
27
|
// getter returns an array type allows for a consistent checkbox v-model binding similar to
|
|
28
|
-
// the example in the official Vue docs.
|
|
28
|
+
// the example in the official Vue.js docs.
|
|
29
29
|
//
|
|
30
|
-
// When a parent component passes a null v-model the parent ref stays null until
|
|
31
|
-
//
|
|
30
|
+
// When a parent component passes a null v-model the parent ref stays null until
|
|
31
|
+
// a mutation occurs which is consistent with other input components.
|
|
32
32
|
get: (v) => {
|
|
33
33
|
if (!Array.isArray(v)) {
|
|
34
34
|
return []
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
} from "@headlessui/vue"
|
|
14
14
|
import { MenuAlt2Icon, XIcon } from "@heroicons/vue/outline"
|
|
15
15
|
import { CogIcon } from "@heroicons/vue/solid"
|
|
16
|
-
import
|
|
16
|
+
import type { NavItem } from "@/composables/nav"
|
|
17
17
|
import { ref } from "vue"
|
|
18
18
|
|
|
19
19
|
const props = withDefaults(
|
|
20
20
|
defineProps<{
|
|
21
21
|
activeUrl?: string
|
|
22
22
|
iconUrl: string
|
|
23
|
-
navigation:
|
|
24
|
-
userNavigation:
|
|
23
|
+
navigation: NavItem[]
|
|
24
|
+
userNavigation: NavItem[]
|
|
25
25
|
}>(),
|
|
26
26
|
{
|
|
27
27
|
activeUrl: "",
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
MenuItems,
|
|
12
12
|
} from "@headlessui/vue"
|
|
13
13
|
import { MenuIcon, UserCircleIcon, XIcon } from "@heroicons/vue/outline"
|
|
14
|
-
import
|
|
14
|
+
import type { NavItem } from "@/composables/nav"
|
|
15
15
|
import User from "@/composables/user"
|
|
16
16
|
|
|
17
17
|
const props = withDefaults(
|
|
@@ -19,8 +19,8 @@ const props = withDefaults(
|
|
|
19
19
|
activeUrl?: string
|
|
20
20
|
currentUser: User
|
|
21
21
|
iconUrl: string
|
|
22
|
-
navigation:
|
|
23
|
-
userNavigation:
|
|
22
|
+
navigation: NavItem[]
|
|
23
|
+
userNavigation: NavItem[]
|
|
24
24
|
}>(),
|
|
25
25
|
{
|
|
26
26
|
activeUrl: "",
|
|
@@ -5,9 +5,9 @@ import { computed } from "vue"
|
|
|
5
5
|
const pagination = defineModel<Pagination>({ required: true })
|
|
6
6
|
|
|
7
7
|
const changePage = (page: number): void => {
|
|
8
|
-
// NOTE(spk): reminder that defineModel does not change the
|
|
9
|
-
//
|
|
10
|
-
//
|
|
8
|
+
// NOTE(spk): reminder that defineModel does not change the
|
|
9
|
+
// one-way data flow philosphy of Vue.js replace the entire
|
|
10
|
+
// object to ensure the event is emitted.
|
|
11
11
|
pagination.value = {
|
|
12
12
|
...pagination.value,
|
|
13
13
|
page: page,
|
|
@@ -8,8 +8,8 @@ import { useFlashes, useAppFlashes, useAppFlasher } from "./useFlashes";
|
|
|
8
8
|
import type { FlashMessage, FlashType, FlashStore, Flasher } from "./useFlashes";
|
|
9
9
|
export type { FlashMessage, FlashType, FlashStore, Flasher };
|
|
10
10
|
export { useFlashes, useAppFlashes, useAppFlasher };
|
|
11
|
-
import type { URLParams, URLParamValue, UseTabHistoryOpts } from "./nav";
|
|
12
|
-
export type { URLParams, URLParamValue, UseTabHistoryOpts };
|
|
11
|
+
import type { ActionItem, NavItem, Pagination, URLParams, URLParamValue, UseTabHistoryOpts } from "./nav";
|
|
12
|
+
export type { ActionItem, NavItem, Pagination, URLParams, URLParamValue, UseTabHistoryOpts, };
|
|
13
13
|
import { useUrlSearchParams, useTabHistory } from "./nav";
|
|
14
14
|
export { useUrlSearchParams, useTabHistory };
|
|
15
15
|
import { useSpinnerDisplay, useAppSpinner } from "./useSpinner";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { TextLikeInput } from "../../composables/forms";
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = TextLikeInput;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
4
|
modelValue?: TextLikeInput["modelValue"];
|
|
5
|
-
} &
|
|
5
|
+
} & __VLS_Props;
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
7
7
|
input: Readonly<import("vue").ShallowRef<HTMLInputElement | null>>;
|
|
8
8
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (
|
|
9
|
+
"update:modelValue": (value: string | number | null | undefined) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
|
-
"onUpdate:modelValue"?: ((
|
|
11
|
+
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
label: string;
|
|
14
14
|
modelValue: string | number | null;
|
|
@@ -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;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "flatpickr/dist/flatpickr.min.css";
|
|
2
2
|
import type { DateRangeInput } from "../../composables/forms";
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = DateRangeInput;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
5
|
modelValue?: DateRangeInput["modelValue"];
|
|
6
|
-
} &
|
|
6
|
+
} & __VLS_Props;
|
|
7
7
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
"update:modelValue": (
|
|
8
|
+
"update:modelValue": (value: {
|
|
9
9
|
minDate: number;
|
|
10
10
|
maxDate: number;
|
|
11
11
|
} | undefined) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
-
"onUpdate:modelValue"?: ((
|
|
13
|
+
"onUpdate:modelValue"?: ((value: {
|
|
14
14
|
minDate: number;
|
|
15
15
|
maxDate: number;
|
|
16
16
|
} | undefined) => any) | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { DateTimeInput } from "../../composables/forms";
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = DateTimeInput;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
4
|
modelValue?: DateTimeInput["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 | null | undefined) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
label: string;
|
|
12
12
|
modelValue: string | null;
|
|
@@ -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,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
text?: string
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
}> & Readonly<{}>, {
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
text?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
5
|
text: string;
|
|
7
6
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
7
|
export default _default;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
tag?: string
|
|
3
|
-
text?: string
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
text?: string | undefined;
|
|
7
|
-
}> & Readonly<{}>, {
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
tag?: string;
|
|
3
|
+
text?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
6
|
text: string;
|
|
9
7
|
tag: string;
|
|
10
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -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;
|
|
@@ -13,16 +13,14 @@ declare const _default: <T extends InputOption>(__VLS_props: {
|
|
|
13
13
|
active: boolean;
|
|
14
14
|
checked: boolean;
|
|
15
15
|
disabled: boolean;
|
|
16
|
-
option: T
|
|
16
|
+
option: import("vue").Reactive<T>;
|
|
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;
|
|
@@ -37,18 +35,16 @@ declare const _default: <T extends InputOption>(__VLS_props: {
|
|
|
37
35
|
active: boolean;
|
|
38
36
|
checked: boolean;
|
|
39
37
|
disabled: boolean;
|
|
40
|
-
option: T
|
|
38
|
+
option: import("vue").Reactive<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;
|
|
@@ -63,12 +59,10 @@ declare const _default: <T extends InputOption>(__VLS_props: {
|
|
|
63
59
|
active: boolean;
|
|
64
60
|
checked: boolean;
|
|
65
61
|
disabled: boolean;
|
|
66
|
-
option: T
|
|
62
|
+
option: import("vue").Reactive<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;
|
|
@@ -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
|
|
2
|
-
|
|
3
|
-
activeUrl?: string
|
|
1
|
+
import type { NavItem } from "../../composables/nav";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
activeUrl?: string;
|
|
4
4
|
iconUrl: string;
|
|
5
|
-
navigation:
|
|
6
|
-
userNavigation:
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
iconUrl: string;
|
|
10
|
-
navigation: NavTypes.Item[];
|
|
11
|
-
userNavigation: NavTypes.Item[];
|
|
12
|
-
}> & Readonly<{}>, {
|
|
5
|
+
navigation: NavItem[];
|
|
6
|
+
userNavigation: NavItem[];
|
|
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;
|