@xy-planning-network/trees 0.10.4 → 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.
Files changed (78) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/trees.es.js +4085 -4179
  3. package/dist/trees.umd.js +10 -10
  4. package/package.json +5 -5
  5. package/src/lib-components/forms/BaseInput.vue +18 -29
  6. package/src/lib-components/forms/Checkbox.vue +8 -9
  7. package/src/lib-components/forms/DateRangePicker.vue +21 -22
  8. package/src/lib-components/forms/DateTimeInput.vue +14 -24
  9. package/src/lib-components/forms/MultiCheckboxes.vue +39 -44
  10. package/src/lib-components/forms/Radio.vue +8 -11
  11. package/src/lib-components/forms/RadioCards.vue +8 -12
  12. package/src/lib-components/forms/Select.vue +10 -26
  13. package/src/lib-components/forms/TextArea.vue +11 -17
  14. package/src/lib-components/forms/Toggle.vue +6 -7
  15. package/src/lib-components/forms/YesOrNoRadio.vue +10 -12
  16. package/src/lib-components/layout/DateFilter.vue +8 -4
  17. package/src/lib-components/lists/DynamicTable.vue +7 -8
  18. package/src/lib-components/navigation/ActionsDropdown.vue +2 -0
  19. package/src/lib-components/navigation/Paginator.vue +17 -20
  20. package/src/lib-components/navigation/Tabs.vue +6 -18
  21. package/src/lib-components/overlays/ContentModal.vue +16 -10
  22. package/src/lib-components/overlays/Modal.vue +14 -11
  23. package/src/lib-components/overlays/Popover/Popover.vue +2 -0
  24. package/src/lib-components/overlays/Slideover.vue +13 -15
  25. package/types/composables/forms.d.ts +16 -2
  26. package/types/composables/nav.d.ts +1 -1
  27. package/types/composables/useActionItems.d.ts +1 -1
  28. package/types/composables/useFlashes.d.ts +1 -1
  29. package/types/composables/useSpinner.d.ts +6 -6
  30. package/types/composables/useTable.d.ts +1 -1
  31. package/types/entry.d.ts +0 -2
  32. package/types/helpers/Slots.d.ts +2 -0
  33. package/types/lib-components/forms/BaseInput.vue.d.ts +13 -36
  34. package/types/lib-components/forms/Checkbox.vue.d.ts +10 -35
  35. package/types/lib-components/forms/DateRangePicker.vue.d.ts +15 -38
  36. package/types/lib-components/forms/DateTimeInput.vue.d.ts +10 -35
  37. package/types/lib-components/forms/FieldsetLegend.vue.d.ts +4 -29
  38. package/types/lib-components/forms/InputError.vue.d.ts +4 -25
  39. package/types/lib-components/forms/InputHelp.vue.d.ts +4 -27
  40. package/types/lib-components/forms/InputLabel.vue.d.ts +4 -29
  41. package/types/lib-components/forms/MultiCheckboxes.vue.d.ts +13 -36
  42. package/types/lib-components/forms/Radio.vue.d.ts +10 -35
  43. package/types/lib-components/forms/RadioCards.vue.d.ts +16 -13
  44. package/types/lib-components/forms/Select.vue.d.ts +10 -35
  45. package/types/lib-components/forms/TextArea.vue.d.ts +10 -35
  46. package/types/lib-components/forms/Toggle.vue.d.ts +12 -36
  47. package/types/lib-components/forms/YesOrNoRadio.vue.d.ts +10 -35
  48. package/types/lib-components/indicators/InlineAlert.vue.d.ts +12 -43
  49. package/types/lib-components/indicators/ProgressCircles.vue.d.ts +3 -12
  50. package/types/lib-components/indicators/ProgressCirclesLabeled.vue.d.ts +3 -12
  51. package/types/lib-components/indicators/XYSpinner.vue.d.ts +1 -1
  52. package/types/lib-components/layout/DateFilter.vue.d.ts +7 -16
  53. package/types/lib-components/layout/SidebarLayout.vue.d.ts +4 -25
  54. package/types/lib-components/layout/StackedLayout.vue.d.ts +4 -25
  55. package/types/lib-components/lists/Cards.vue.d.ts +3 -12
  56. package/types/lib-components/lists/DataTable.vue.d.ts +4 -31
  57. package/types/lib-components/lists/DetailList.vue.d.ts +5 -36
  58. package/types/lib-components/lists/DownloadCell.vue.d.ts +3 -12
  59. package/types/lib-components/lists/DynamicTable.vue.d.ts +8 -35
  60. package/types/lib-components/lists/StaticTable.vue.d.ts +21 -0
  61. package/types/lib-components/lists/StaticTableActionSlot.vue.d.ts +27 -0
  62. package/types/lib-components/lists/Table.vue.d.ts +39 -0
  63. package/types/lib-components/lists/TableActionButtons.vue.d.ts +4 -25
  64. package/types/lib-components/navigation/ActionsDropdown.vue.d.ts +4 -26
  65. package/types/lib-components/navigation/ActionsDropdownCallback.vue.d.ts +18 -0
  66. package/types/lib-components/navigation/ActionsDropdownEmit.vue.d.ts +22 -0
  67. package/types/lib-components/navigation/Paginator.vue.d.ts +7 -17
  68. package/types/lib-components/navigation/Steps.vue.d.ts +6 -33
  69. package/types/lib-components/navigation/Tabs.vue.d.ts +12 -37
  70. package/types/lib-components/overlays/AlertModal.vue.d.ts +68 -0
  71. package/types/lib-components/overlays/ContentModal.vue.d.ts +15 -31
  72. package/types/lib-components/overlays/Flash.vue.d.ts +1 -1
  73. package/types/lib-components/overlays/Modal.vue.d.ts +19 -49
  74. package/types/lib-components/overlays/Popover/Popover.vue.d.ts +4 -27
  75. package/types/lib-components/overlays/Popover/PopoverContent.vue.d.ts +1 -1
  76. package/types/lib-components/overlays/Slideover.vue.d.ts +12 -21
  77. package/types/lib-components/overlays/Spinner.vue.d.ts +1 -1
  78. package/types/lib-components/overlays/Tooltip.vue.d.ts +4 -27
@@ -12,12 +12,12 @@ export interface UseSpinnerDisplay extends SpinnerControl {
12
12
  showMsg: Ref<boolean>;
13
13
  }
14
14
  export declare function useSpinnerDisplay(): {
15
- idx: Ref<number>;
16
- loading: Ref<boolean>;
17
- maxIdx: Ref<number>;
18
- messages: Ref<string[]>;
19
- msg: Ref<string>;
20
- showMsg: Ref<boolean>;
15
+ idx: Ref<number, number>;
16
+ loading: Ref<boolean, boolean>;
17
+ maxIdx: Ref<number, number>;
18
+ messages: Ref<string[], string[]>;
19
+ msg: Ref<string, string>;
20
+ showMsg: Ref<boolean, boolean>;
21
21
  show: (spinMessages?: string[]) => void;
22
22
  hide: () => void;
23
23
  };
@@ -15,7 +15,7 @@ export declare const useTable: (rowData: TableRowsData | Ref<TableRowsData>, col
15
15
  disabled: boolean | undefined;
16
16
  onClick: () => void;
17
17
  show: boolean | undefined;
18
- icon?: import("vue").RenderFunction | import("vue").FunctionalComponent<{}, {}, any> | undefined;
18
+ icon?: import("vue").RenderFunction | import("vue").FunctionalComponent<{}, {}, any, {}> | undefined;
19
19
  label: string;
20
20
  }[];
21
21
  rowData: import("./table").TableRowData;
package/types/entry.d.ts CHANGED
@@ -2,7 +2,6 @@ import { Plugin } from "vue";
2
2
  import BaseAPI, { isHttpCancel, isHttpError, setBaseAPIDefaults } from "./api/base";
3
3
  import type { HttpPromise, HttpError, QueryParams, ReqOptions, ReqPayload, TrailsPromise, TrailsPromisePaged, TrailsResp, TrailsRespPaged } from "./api/client";
4
4
  import { emailPattern, looseToNumber, phonePattern, textInputTypes, useInputField } from "./composables/forms";
5
- import { useModel } from "./composables/setupHelpers";
6
5
  import { debounce as debounceFn, debounceLeading } from "./helpers/Debounce";
7
6
  import { throttle as throttleFn } from "./helpers/Throttle";
8
7
  declare const install: Exclude<Plugin["install"], undefined>;
@@ -13,5 +12,4 @@ export { BaseAPI, isHttpCancel, isHttpError, setBaseAPIDefaults };
13
12
  export type { HttpPromise, HttpError, QueryParams, ReqOptions, ReqPayload, TrailsPromise, TrailsPromisePaged, TrailsResp, TrailsRespPaged, };
14
13
  export type * from "./composables/forms";
15
14
  export { emailPattern, looseToNumber, phonePattern, textInputTypes, useInputField, };
16
- export { useModel };
17
15
  export { debounceFn, debounceLeading, throttleFn };
@@ -0,0 +1,2 @@
1
+ import { Slot } from "vue";
2
+ export declare function hasSlotContent(slot: Slot | undefined, slotProps?: {}): boolean;
@@ -1,43 +1,20 @@
1
1
  import type { TextLikeInput } from "../../composables/forms";
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TextLikeInput>, {
3
- help: string;
4
- label: string;
5
- modelValue: undefined;
6
- placeholder: string;
2
+ declare let __VLS_typeProps: TextLikeInput;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: TextLikeInput["modelValue"];
5
+ } & typeof __VLS_typeProps;
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
7
+ input: Readonly<import("vue").ShallowRef<HTMLInputElement | null>>;
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (modelValue: string | number | null | undefined) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((modelValue: string | number | null | undefined) => any) | undefined;
7
12
  }>, {
8
- input: import("vue").Ref<HTMLInputElement | null>;
9
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- "update:modelValue": (...args: any[]) => void;
11
- "update:error": (...args: any[]) => void;
12
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TextLikeInput>, {
13
- help: string;
14
- label: string;
15
- modelValue: undefined;
16
- placeholder: string;
17
- }>>> & {
18
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
19
- "onUpdate:error"?: ((...args: any[]) => any) | undefined;
20
- }, {
21
13
  label: string;
22
14
  modelValue: string | number | null;
23
15
  help: string;
24
16
  placeholder: string;
25
- }, {}>;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
18
+ input: HTMLInputElement;
19
+ }, any>;
26
20
  export default _default;
27
- type __VLS_WithDefaults<P, D> = {
28
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
- default: D[K];
30
- }> : P[K];
31
- };
32
- type __VLS_Prettify<T> = {
33
- [K in keyof T]: T[K];
34
- } & {};
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToOption<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
@@ -1,41 +1,16 @@
1
1
  import type { BooleanInput } from "../../composables/forms";
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BooleanInput>, {
3
- help: string;
4
- label: string;
5
- modelValue: undefined;
6
- placeholder: string;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- "update:modelValue": (...args: any[]) => void;
9
- "update:error": (...args: any[]) => void;
10
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BooleanInput>, {
11
- help: string;
12
- label: string;
13
- modelValue: undefined;
14
- placeholder: string;
15
- }>>> & {
16
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
17
- "onUpdate:error"?: ((...args: any[]) => any) | undefined;
18
- }, {
2
+ declare let __VLS_typeProps: BooleanInput;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: BooleanInput["modelValue"];
5
+ } & typeof __VLS_typeProps;
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (modelValue: boolean | null | undefined) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ "onUpdate:modelValue"?: ((modelValue: boolean | null | undefined) => any) | undefined;
10
+ }>, {
19
11
  label: string;
20
12
  modelValue: boolean | null;
21
13
  help: string;
22
14
  placeholder: string;
23
- }, {}>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
16
  export default _default;
25
- type __VLS_WithDefaults<P, D> = {
26
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
- default: D[K];
28
- }> : P[K];
29
- };
30
- type __VLS_Prettify<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToOption<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
40
- };
41
- };
@@ -1,51 +1,28 @@
1
1
  import "flatpickr/dist/flatpickr.min.css";
2
2
  import type { DateRangeInput } from "../../composables/forms";
3
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<DateRangeInput>, {
4
- maxRange: number;
5
- modelValue: () => {
6
- maxDate: number;
3
+ declare let __VLS_typeProps: DateRangeInput;
4
+ type __VLS_PublicProps = {
5
+ modelValue?: DateRangeInput["modelValue"];
6
+ } & typeof __VLS_typeProps;
7
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:modelValue": (modelValue: {
7
9
  minDate: number;
8
- };
9
- placeholder: string;
10
- startDate: number;
11
- help: string;
12
- label: string;
13
- }>, {}, 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<DateRangeInput>, {
14
- maxRange: number;
15
- modelValue: () => {
16
10
  maxDate: number;
11
+ } | undefined) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((modelValue: {
17
14
  minDate: number;
18
- };
19
- placeholder: string;
20
- startDate: number;
21
- help: string;
22
- label: string;
23
- }>>>, {
15
+ maxDate: number;
16
+ } | undefined) => any) | undefined;
17
+ }>, {
24
18
  label: string;
25
19
  modelValue: {
26
20
  minDate: number;
27
21
  maxDate: number;
28
22
  };
29
- help: string;
30
- placeholder: string;
31
23
  maxRange: number;
32
24
  startDate: number;
33
- }, {}>;
25
+ help: string;
26
+ placeholder: string;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
28
  export default _default;
35
- type __VLS_WithDefaults<P, D> = {
36
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
- default: D[K];
38
- }> : P[K];
39
- };
40
- type __VLS_Prettify<T> = {
41
- [K in keyof T]: T[K];
42
- } & {};
43
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
- type __VLS_TypePropsToOption<T> = {
45
- [K in keyof T]-?: {} extends Pick<T, K> ? {
46
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
- } : {
48
- type: import('vue').PropType<T[K]>;
49
- required: true;
50
- };
51
- };
@@ -1,41 +1,16 @@
1
1
  import type { DateTimeInput } from "../../composables/forms";
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<DateTimeInput>, {
3
- help: string;
4
- label: string;
5
- modelValue: undefined;
6
- placeholder: string;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- "update:modelValue": (...args: any[]) => void;
9
- "update:error": (...args: any[]) => void;
10
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DateTimeInput>, {
11
- help: string;
12
- label: string;
13
- modelValue: undefined;
14
- placeholder: string;
15
- }>>> & {
16
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
17
- "onUpdate:error"?: ((...args: any[]) => any) | undefined;
18
- }, {
2
+ declare let __VLS_typeProps: DateTimeInput;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: DateTimeInput["modelValue"];
5
+ } & typeof __VLS_typeProps;
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (modelValue: string | null | undefined) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ "onUpdate:modelValue"?: ((modelValue: string | null | undefined) => any) | undefined;
10
+ }>, {
19
11
  label: string;
20
12
  modelValue: string | null;
21
13
  help: string;
22
14
  placeholder: string;
23
- }, {}>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
16
  export default _default;
25
- type __VLS_WithDefaults<P, D> = {
26
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
- default: D[K];
28
- }> : P[K];
29
- };
30
- type __VLS_Prettify<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToOption<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
40
- };
41
- };
@@ -1,39 +1,14 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  label?: string | undefined;
3
3
  required?: boolean | undefined;
4
4
  tag?: string | undefined;
5
- }>, {
6
- label: string;
7
- required: boolean;
8
- tag: string;
9
- }>, {}, 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<{
10
6
  label?: string | undefined;
11
7
  required?: boolean | undefined;
12
8
  tag?: string | undefined;
13
- }>, {
14
- label: string;
15
- required: boolean;
16
- tag: string;
17
- }>>>, {
9
+ }> & Readonly<{}>, {
18
10
  label: string;
19
11
  required: boolean;
20
12
  tag: string;
21
- }, {}>;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
14
  export default _default;
23
- type __VLS_WithDefaults<P, D> = {
24
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
25
- default: D[K];
26
- }> : P[K];
27
- };
28
- type __VLS_Prettify<T> = {
29
- [K in keyof T]: T[K];
30
- } & {};
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -1,29 +1,8 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  text?: string | undefined;
3
- }>, {
4
- text: string;
5
- }>, {}, 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<{
3
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
6
4
  text?: string | undefined;
7
- }>, {
8
- text: string;
9
- }>>>, {
5
+ }> & Readonly<{}>, {
10
6
  text: string;
11
- }, {}>;
7
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
8
  export default _default;
13
- type __VLS_WithDefaults<P, D> = {
14
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
15
- default: D[K];
16
- }> : P[K];
17
- };
18
- type __VLS_Prettify<T> = {
19
- [K in keyof T]: T[K];
20
- } & {};
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
@@ -1,34 +1,11 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  tag?: string | undefined;
3
3
  text?: string | undefined;
4
- }>, {
5
- tag: string;
6
- text: string;
7
- }>, {}, 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<{
4
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
8
5
  tag?: string | undefined;
9
6
  text?: string | undefined;
10
- }>, {
11
- tag: string;
12
- text: string;
13
- }>>>, {
7
+ }> & Readonly<{}>, {
14
8
  text: string;
15
9
  tag: string;
16
- }, {}>;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
11
  export default _default;
18
- type __VLS_WithDefaults<P, D> = {
19
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
20
- default: D[K];
21
- }> : P[K];
22
- };
23
- type __VLS_Prettify<T> = {
24
- [K in keyof T]: T[K];
25
- } & {};
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToOption<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K> ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- } : {
31
- type: import('vue').PropType<T[K]>;
32
- required: true;
33
- };
34
- };
@@ -1,39 +1,14 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  label?: string | undefined;
3
3
  required?: boolean | undefined;
4
4
  tag?: string | undefined;
5
- }>, {
6
- label: string;
7
- required: boolean;
8
- tag: string;
9
- }>, {}, 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<{
10
6
  label?: string | undefined;
11
7
  required?: boolean | undefined;
12
8
  tag?: string | undefined;
13
- }>, {
14
- label: string;
15
- required: boolean;
16
- tag: string;
17
- }>>>, {
9
+ }> & Readonly<{}>, {
18
10
  label: string;
19
11
  required: boolean;
20
12
  tag: string;
21
- }, {}>;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
14
  export default _default;
23
- type __VLS_WithDefaults<P, D> = {
24
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
25
- default: D[K];
26
- }> : P[K];
27
- };
28
- type __VLS_Prettify<T> = {
29
- [K in keyof T]: T[K];
30
- } & {};
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToOption<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
@@ -1,41 +1,18 @@
1
- import type { MultiChoiceInput, ColumnedInput } from "../../composables/forms";
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MultiChoiceInput & ColumnedInput>, {
3
- help: string;
4
- label: string;
5
- modelValue: undefined;
6
- placeholder: string;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- "update:modelValue": (...args: any[]) => void;
9
- "update:error": (...args: any[]) => void;
10
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<MultiChoiceInput & ColumnedInput>, {
11
- help: string;
12
- label: string;
13
- modelValue: undefined;
14
- placeholder: string;
15
- }>>> & {
16
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
17
- "onUpdate:error"?: ((...args: any[]) => any) | undefined;
18
- }, {
1
+ import { MultiChoiceInput, ColumnedInput } from "../../composables/forms";
2
+ declare let __VLS_typeProps: MultiChoiceInput & ColumnedInput;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: MultiChoiceInput["modelValue"];
5
+ } & typeof __VLS_typeProps;
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (modelValue: (string | number)[] | null | undefined) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ "onUpdate:modelValue"?: ((modelValue: (string | number)[] | null | undefined) => any) | undefined;
10
+ }>, {
19
11
  label: string;
20
12
  modelValue: (string | number)[] | null;
21
13
  help: string;
22
14
  placeholder: string;
23
- }, {}>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
16
+ errorInput: HTMLInputElement;
17
+ }, any>;
24
18
  export default _default;
25
- type __VLS_WithDefaults<P, D> = {
26
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
- default: D[K];
28
- }> : P[K];
29
- };
30
- type __VLS_Prettify<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToOption<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
40
- };
41
- };
@@ -1,41 +1,16 @@
1
1
  import type { OptionsInput, ColumnedInput } from "../../composables/forms";
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OptionsInput & ColumnedInput>, {
3
- help: string;
4
- label: string;
5
- modelValue: undefined;
6
- placeholder: string;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- "update:modelValue": (...args: any[]) => void;
9
- "update:error": (...args: any[]) => void;
10
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<OptionsInput & ColumnedInput>, {
11
- help: string;
12
- label: string;
13
- modelValue: undefined;
14
- placeholder: string;
15
- }>>> & {
16
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
17
- "onUpdate:error"?: ((...args: any[]) => any) | undefined;
18
- }, {
2
+ declare let __VLS_typeProps: OptionsInput & ColumnedInput;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: OptionsInput["modelValue"];
5
+ } & typeof __VLS_typeProps;
6
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (modelValue: string | number | null | undefined) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ "onUpdate:modelValue"?: ((modelValue: string | number | null | undefined) => any) | undefined;
10
+ }>, {
19
11
  label: string;
20
12
  modelValue: string | number | null;
21
13
  help: string;
22
14
  placeholder: string;
23
- }, {}>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
16
  export default _default;
25
- type __VLS_WithDefaults<P, D> = {
26
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
- default: D[K];
28
- }> : P[K];
29
- };
30
- type __VLS_Prettify<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToOption<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
40
- };
41
- };
@@ -1,9 +1,8 @@
1
1
  import type { InputOption } from "../../composables/forms";
2
2
  declare const _default: <T extends InputOption>(__VLS_props: {
3
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
4
- "onUpdate:error"?: ((...args: any[]) => any) | undefined;
5
- options: T[];
3
+ readonly "onUpdate:modelValue"?: ((modelValue: string | number | null | undefined) => any) | undefined;
6
4
  modelValue?: string | number | null | undefined;
5
+ options: T[];
7
6
  label?: string | undefined;
8
7
  help?: string | undefined;
9
8
  placeholder?: string | undefined;
@@ -18,13 +17,14 @@ declare const _default: <T extends InputOption>(__VLS_props: {
18
17
  option: T;
19
18
  }): any;
20
19
  };
21
- emit: (event: "update:modelValue" | "update:error", ...args: any[]) => void;
20
+ emit: {
21
+ 'update:modelValue': [modelValue: string | number | null | undefined];
22
+ };
22
23
  } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
23
24
  props: {
24
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
25
- "onUpdate:error"?: ((...args: any[]) => any) | undefined;
26
- options: T[];
25
+ readonly "onUpdate:modelValue"?: ((modelValue: string | number | null | undefined) => any) | undefined;
27
26
  modelValue?: string | number | null | undefined;
27
+ options: T[];
28
28
  label?: string | undefined;
29
29
  help?: string | undefined;
30
30
  placeholder?: string | undefined;
@@ -40,16 +40,17 @@ declare const _default: <T extends InputOption>(__VLS_props: {
40
40
  option: T;
41
41
  }): any;
42
42
  };
43
- emit: (event: "update:modelValue" | "update:error", ...args: any[]) => void;
43
+ emit: {
44
+ 'update:modelValue': [modelValue: string | number | null | undefined];
45
+ };
44
46
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
47
  [key: string]: any;
46
48
  }> & {
47
49
  __ctx?: {
48
50
  props: {
49
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
50
- "onUpdate:error"?: ((...args: any[]) => any) | undefined;
51
- options: T[];
51
+ readonly "onUpdate:modelValue"?: ((modelValue: string | number | null | undefined) => any) | undefined;
52
52
  modelValue?: string | number | null | undefined;
53
+ options: T[];
53
54
  label?: string | undefined;
54
55
  help?: string | undefined;
55
56
  placeholder?: string | undefined;
@@ -65,10 +66,12 @@ declare const _default: <T extends InputOption>(__VLS_props: {
65
66
  option: T;
66
67
  }): any;
67
68
  };
68
- emit: (event: "update:modelValue" | "update:error", ...args: any[]) => void;
69
+ emit: {
70
+ 'update:modelValue': [modelValue: string | number | null | undefined];
71
+ };
69
72
  } | undefined;
70
73
  };
71
74
  export default _default;
72
- type __VLS_Prettify<T> = {
75
+ type __VLS_PrettifyLocal<T> = {
73
76
  [K in keyof T]: T[K];
74
77
  } & {};