@xy-planning-network/trees 0.7.4 → 0.7.5-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/trees.es.js +3939 -3561
- package/dist/trees.umd.js +10 -10
- package/package.json +2 -2
- package/src/index.css +0 -16
- package/src/lib-components/forms/BaseInput.vue +90 -75
- package/src/lib-components/forms/Checkbox.vue +50 -34
- package/src/lib-components/forms/DateRangePicker.vue +56 -32
- package/src/lib-components/forms/FieldsetLegend.vue +28 -8
- package/src/lib-components/forms/InputHelp.vue +2 -4
- package/src/lib-components/forms/InputLabel.vue +27 -12
- package/src/lib-components/forms/MultiCheckboxes.vue +117 -74
- package/src/lib-components/forms/Radio.vue +79 -66
- package/src/lib-components/forms/RadioCards.vue +72 -70
- package/src/lib-components/forms/Select.vue +59 -56
- package/src/lib-components/forms/TextArea.vue +54 -47
- package/src/lib-components/forms/Toggle.vue +61 -18
- package/src/lib-components/forms/YesOrNoRadio.vue +75 -67
- package/src/lib-components/lists/DynamicTable.vue +43 -20
- package/types/composables/forms.d.ts +118 -0
- package/types/helpers/Debounce.d.ts +1 -1
- package/types/lib-components/forms/BaseInput.vue.d.ts +58 -34
- package/types/lib-components/forms/Checkbox.vue.d.ts +50 -29
- package/types/lib-components/forms/DateRangePicker.vue.d.ts +71 -39
- package/types/lib-components/forms/FieldsetLegend.vue.d.ts +30 -31
- package/types/lib-components/forms/InputHelp.vue.d.ts +19 -27
- package/types/lib-components/forms/InputLabel.vue.d.ts +28 -32
- package/types/lib-components/forms/MultiCheckboxes.vue.d.ts +77 -56
- package/types/lib-components/forms/Radio.vue.d.ts +64 -56
- package/types/lib-components/forms/RadioCards.vue.d.ts +68 -71
- package/types/lib-components/forms/Select.vue.d.ts +55 -44
- package/types/lib-components/forms/TextArea.vue.d.ts +50 -32
- package/types/lib-components/forms/Toggle.vue.d.ts +29 -24
- package/types/lib-components/forms/YesOrNoRadio.vue.d.ts +51 -38
- package/types/lib-components/indicators/XYSpinner.vue.d.ts +1 -1
- package/types/lib-components/layout/DateFilter.vue.d.ts +28 -20
- package/types/lib-components/layout/SidebarLayout.vue.d.ts +38 -32
- package/types/lib-components/layout/StackedLayout.vue.d.ts +45 -33
- package/types/lib-components/lists/Cards.vue.d.ts +14 -17
- package/types/lib-components/lists/DataTable.vue.d.ts +31 -31
- package/types/lib-components/lists/DetailList.vue.d.ts +38 -34
- package/types/lib-components/lists/DownloadCell.vue.d.ts +18 -15
- package/types/lib-components/lists/DynamicTable.vue.d.ts +32 -32
- 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 +11 -23
- package/types/lib-components/navigation/ActionsDropdown.vue.d.ts +11 -23
- 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 +12 -15
- package/types/lib-components/navigation/Steps.vue.d.ts +54 -39
- package/types/lib-components/navigation/Tabs.vue.d.ts +34 -34
- package/types/lib-components/overlays/ContentModal.vue.d.ts +22 -28
- package/types/lib-components/overlays/Modal.vue.d.ts +48 -43
- package/types/lib-components/overlays/Popover/Popover.vue.d.ts +23 -31
- package/types/lib-components/overlays/Popover/PopoverContent.vue.d.ts +1 -1
- package/types/lib-components/overlays/Slideover.vue.d.ts +30 -22
- package/types/lib-components/overlays/Tooltip.vue.d.ts +20 -28
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Ref } from "vue";
|
|
2
|
+
export interface Input {
|
|
3
|
+
modelValue?: any;
|
|
4
|
+
error?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
help?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface InputOption {
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
help?: string;
|
|
12
|
+
label: string;
|
|
13
|
+
sublabel?: string;
|
|
14
|
+
value: string | number;
|
|
15
|
+
}
|
|
16
|
+
export interface BooleanInput extends Input {
|
|
17
|
+
modelValue?: boolean | null;
|
|
18
|
+
}
|
|
19
|
+
export interface DateRangeInput extends Input {
|
|
20
|
+
modelValue?: {
|
|
21
|
+
minDate: number;
|
|
22
|
+
maxDate: number;
|
|
23
|
+
};
|
|
24
|
+
maxRange?: number;
|
|
25
|
+
startDate?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface TextLikeInput extends Input {
|
|
28
|
+
modelValue?: string | number | null;
|
|
29
|
+
type: TextInputType;
|
|
30
|
+
}
|
|
31
|
+
export interface TextareaInput extends Input {
|
|
32
|
+
modelValue?: string | number | null;
|
|
33
|
+
}
|
|
34
|
+
export interface OptionsInput extends Input {
|
|
35
|
+
modelValue?: string | number | null;
|
|
36
|
+
options: InputOption[];
|
|
37
|
+
}
|
|
38
|
+
export interface MultiChoiceInput extends Input {
|
|
39
|
+
max?: number;
|
|
40
|
+
min?: number;
|
|
41
|
+
modelValue?: (string | number)[] | null;
|
|
42
|
+
options: InputOption[];
|
|
43
|
+
}
|
|
44
|
+
export interface ColumnedInput {
|
|
45
|
+
columns?: 2 | 3;
|
|
46
|
+
}
|
|
47
|
+
export declare const defaultInputProps: {
|
|
48
|
+
error: string;
|
|
49
|
+
help: string;
|
|
50
|
+
label: string;
|
|
51
|
+
modelValue: undefined;
|
|
52
|
+
placeholder: string;
|
|
53
|
+
};
|
|
54
|
+
export type TextInputType = "date" | "datetime-local" | "email" | "month" | "number" | "password" | "search" | "tel" | "text" | "time" | "url" | "week";
|
|
55
|
+
interface UseInputFieldConfig<T extends Input> {
|
|
56
|
+
props: T;
|
|
57
|
+
targetInput: Ref<HTMLInputElement | null>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* useInputField provides a number of computed values, refs, and methods to support
|
|
61
|
+
* wiring up reactive inputs.
|
|
62
|
+
*
|
|
63
|
+
* @param config UseInputFieldConfig
|
|
64
|
+
*/
|
|
65
|
+
export declare const useInputField: <T extends Input>(config: UseInputFieldConfig<T>) => {
|
|
66
|
+
attrs: {
|
|
67
|
+
[x: string]: unknown;
|
|
68
|
+
};
|
|
69
|
+
inputID: import("vue").ComputedRef<string>;
|
|
70
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
|
71
|
+
isRequired: import("vue").ComputedRef<boolean>;
|
|
72
|
+
nameAttr: import("vue").ComputedRef<string>;
|
|
73
|
+
modelState: Ref<T["modelValue"]>;
|
|
74
|
+
errorState: Ref<T["error"]>;
|
|
75
|
+
onInvalid: (e: Event) => void;
|
|
76
|
+
validate: (e: Event) => void;
|
|
77
|
+
inputValidation: (...args: any[]) => void;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* hasAttribute determines if an HTML attribute value exists. The conditions are based on
|
|
81
|
+
* whether or not the attribute will be set on the HTML element.
|
|
82
|
+
* @param attrs
|
|
83
|
+
* @param name
|
|
84
|
+
*/
|
|
85
|
+
export declare const hasAttribute: (attrs: Record<string, unknown>, name: string) => boolean;
|
|
86
|
+
/**
|
|
87
|
+
* email validation regex pattern
|
|
88
|
+
* used with input type="email" in the pattern attribute for html5 validation
|
|
89
|
+
* exported as a raw string to support the escape backslash characters
|
|
90
|
+
*/
|
|
91
|
+
export declare const emailPattern: string;
|
|
92
|
+
/**
|
|
93
|
+
* password validation regex pattern
|
|
94
|
+
* used with input type="password" in the pattern attribute for html5 validation
|
|
95
|
+
* exported as a raw string to support the escape backslash characters
|
|
96
|
+
*/
|
|
97
|
+
export declare const passwordPattern: string;
|
|
98
|
+
/**
|
|
99
|
+
* phone number validation regex pattern
|
|
100
|
+
* used with input type="tel" in the pattern attribute for html5 validation
|
|
101
|
+
*/
|
|
102
|
+
export declare const phonePattern: string;
|
|
103
|
+
/**
|
|
104
|
+
* This is used for the .number modifier in v-model
|
|
105
|
+
*/
|
|
106
|
+
export declare const looseToNumber: (val: any) => any;
|
|
107
|
+
/**
|
|
108
|
+
* useLocalModel supports a two-way binding between a reactive prop and
|
|
109
|
+
* a local ref. It effectively allows you to do prop mutations in a way that
|
|
110
|
+
* vue considers safe.
|
|
111
|
+
*
|
|
112
|
+
* vue/core has a version of this in it's experimental mode called useModel
|
|
113
|
+
*
|
|
114
|
+
* @param props component props
|
|
115
|
+
* @param name component prop name to sync
|
|
116
|
+
*/
|
|
117
|
+
export declare const useLocalModel: <T extends Record<string, any>, K extends keyof T>(props: T, name: K) => Ref<T[K]>;
|
|
118
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function debounce(
|
|
1
|
+
export declare function debounce(fn: (...args: any[]) => void, wait?: number): (...args: any[]) => void;
|
|
2
2
|
export declare function debounceLeading(func: () => void, timeout?: number): (...args: any[]) => void;
|
|
@@ -1,40 +1,64 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
label: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
type: {
|
|
7
|
+
type: import("vue").PropType<import("../../composables/forms").TextInputType>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: import("vue").PropType<string | number | null>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
error: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
help: {
|
|
19
|
+
type: import("vue").PropType<string>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
placeholder: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
"update:modelValue": (...args: any[]) => void;
|
|
28
|
+
"update:error": (...args: any[]) => void;
|
|
29
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
label: {
|
|
31
|
+
type: import("vue").PropType<string>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
type: {
|
|
35
|
+
type: import("vue").PropType<import("../../composables/forms").TextInputType>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
modelValue: {
|
|
39
|
+
type: import("vue").PropType<string | number | null>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
error: {
|
|
43
|
+
type: import("vue").PropType<string>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
help: {
|
|
47
|
+
type: import("vue").PropType<string>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
placeholder: {
|
|
51
|
+
type: import("vue").PropType<string>;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
}>> & {
|
|
20
55
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
"onUpdate:error"?: ((...args: any[]) => any) | undefined;
|
|
21
57
|
}, {
|
|
22
58
|
label: string;
|
|
59
|
+
modelValue: string | number | null;
|
|
60
|
+
error: string;
|
|
23
61
|
help: string;
|
|
24
|
-
|
|
62
|
+
placeholder: string;
|
|
25
63
|
}, {}>;
|
|
26
64
|
export default _default;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
type __VLS_WithDefaults<P, D> = {
|
|
37
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
38
|
-
default: D[K];
|
|
39
|
-
} : P[K];
|
|
40
|
-
};
|
|
@@ -1,35 +1,56 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
-
label
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
help:
|
|
15
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
label: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: import("vue").PropType<boolean | null>;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
error: {
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
help: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
placeholder: {
|
|
19
|
+
type: import("vue").PropType<string>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (...args: any[]) => void;
|
|
24
|
+
"update:error": (...args: any[]) => void;
|
|
25
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
label: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: import("vue").PropType<boolean | null>;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
error: {
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
help: {
|
|
39
|
+
type: import("vue").PropType<string>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
placeholder: {
|
|
43
|
+
type: import("vue").PropType<string>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
}>> & {
|
|
16
47
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
"onUpdate:error"?: ((...args: any[]) => any) | undefined;
|
|
17
49
|
}, {
|
|
18
50
|
label: string;
|
|
51
|
+
modelValue: boolean | null;
|
|
52
|
+
error: string;
|
|
19
53
|
help: string;
|
|
54
|
+
placeholder: string;
|
|
20
55
|
}, {}>;
|
|
21
56
|
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
} : P[K];
|
|
35
|
-
};
|
|
@@ -1,52 +1,84 @@
|
|
|
1
1
|
import "flatpickr/dist/flatpickr.min.css";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
label: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
3
7
|
modelValue: {
|
|
4
|
-
|
|
5
|
-
|
|
8
|
+
type: import("vue").PropType<{
|
|
9
|
+
minDate: number;
|
|
10
|
+
maxDate: number;
|
|
11
|
+
}>;
|
|
12
|
+
default: () => {
|
|
13
|
+
maxDate: number;
|
|
14
|
+
minDate: number;
|
|
15
|
+
};
|
|
6
16
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
17
|
+
error: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
help: {
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
placeholder: {
|
|
26
|
+
type: import("vue").PropType<string>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
maxRange: {
|
|
30
|
+
type: import("vue").PropType<number>;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
startDate: {
|
|
34
|
+
type: import("vue").PropType<number>;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
label: {
|
|
39
|
+
type: import("vue").PropType<string>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
modelValue: {
|
|
43
|
+
type: import("vue").PropType<{
|
|
44
|
+
minDate: number;
|
|
45
|
+
maxDate: number;
|
|
46
|
+
}>;
|
|
47
|
+
default: () => {
|
|
48
|
+
maxDate: number;
|
|
49
|
+
minDate: number;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
error: {
|
|
53
|
+
type: import("vue").PropType<string>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
help: {
|
|
57
|
+
type: import("vue").PropType<string>;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
placeholder: {
|
|
61
|
+
type: import("vue").PropType<string>;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
maxRange: {
|
|
65
|
+
type: import("vue").PropType<number>;
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
68
|
+
startDate: {
|
|
69
|
+
type: import("vue").PropType<number>;
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
}>>, {
|
|
14
73
|
label: string;
|
|
15
|
-
help: string;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
74
|
modelValue: {
|
|
18
75
|
minDate: number;
|
|
19
76
|
maxDate: number;
|
|
20
77
|
};
|
|
21
|
-
|
|
22
|
-
startDate?: number | undefined;
|
|
23
|
-
label?: string | undefined;
|
|
24
|
-
help?: string | undefined;
|
|
25
|
-
}>, {
|
|
26
|
-
maxRange: number;
|
|
27
|
-
startDate: number;
|
|
28
|
-
label: string;
|
|
29
|
-
help: string;
|
|
30
|
-
}>>> & {
|
|
31
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
label: string;
|
|
78
|
+
error: string;
|
|
34
79
|
help: string;
|
|
80
|
+
placeholder: string;
|
|
35
81
|
maxRange: number;
|
|
36
82
|
startDate: number;
|
|
37
83
|
}, {}>;
|
|
38
84
|
export default _default;
|
|
39
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
-
} : {
|
|
44
|
-
type: import('vue').PropType<T[K]>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
type __VLS_WithDefaults<P, D> = {
|
|
49
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
50
|
-
default: D[K];
|
|
51
|
-
} : P[K];
|
|
52
|
-
};
|
|
@@ -1,33 +1,32 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}>>>, {
|
|
10
|
-
tag: string;
|
|
11
|
-
}, {}>, {
|
|
12
|
-
default: (_: {}) => any;
|
|
13
|
-
}>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
-
} : {
|
|
20
|
-
type: import('vue').PropType<T[K]>;
|
|
21
|
-
required: true;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
label: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
required: {
|
|
7
|
+
type: import("vue").PropType<boolean>;
|
|
8
|
+
default: boolean;
|
|
22
9
|
};
|
|
23
|
-
|
|
24
|
-
type
|
|
25
|
-
|
|
26
|
-
default: D[K];
|
|
27
|
-
} : P[K];
|
|
28
|
-
};
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
10
|
+
tag: {
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
12
|
+
default: string;
|
|
32
13
|
};
|
|
33
|
-
}
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
label: {
|
|
16
|
+
type: import("vue").PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
required: {
|
|
20
|
+
type: import("vue").PropType<boolean>;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
tag: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>>, {
|
|
28
|
+
label: string;
|
|
29
|
+
required: boolean;
|
|
30
|
+
tag: string;
|
|
31
|
+
}, {}>;
|
|
32
|
+
export default _default;
|
|
@@ -1,31 +1,23 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
-
tag
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
text:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
tag:
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
tag: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
text: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
tag: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
text: {
|
|
16
|
+
type: import("vue").PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
14
20
|
tag: string;
|
|
15
21
|
text: string;
|
|
16
22
|
}, {}>;
|
|
17
23
|
export default _default;
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: import('vue').PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
type __VLS_WithDefaults<P, D> = {
|
|
28
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
29
|
-
default: D[K];
|
|
30
|
-
} : P[K];
|
|
31
|
-
};
|
|
@@ -1,36 +1,32 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
label:
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
label: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
required: {
|
|
7
|
+
type: import("vue").PropType<boolean>;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
tag: {
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
label: {
|
|
16
|
+
type: import("vue").PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
required: {
|
|
20
|
+
type: import("vue").PropType<boolean>;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
tag: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>>, {
|
|
18
28
|
label: string;
|
|
19
|
-
|
|
29
|
+
required: boolean;
|
|
20
30
|
tag: string;
|
|
21
31
|
}, {}>;
|
|
22
32
|
export default _default;
|
|
23
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
-
} : {
|
|
28
|
-
type: import('vue').PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
type __VLS_WithDefaults<P, D> = {
|
|
33
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
34
|
-
default: D[K];
|
|
35
|
-
} : P[K];
|
|
36
|
-
};
|