@xy-planning-network/trees 0.6.4 → 0.6.5-rc-2
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 +5726 -8347
- package/dist/trees.umd.js +7 -7
- package/eslint-config-base/index.js +25 -0
- package/package.json +20 -22
- package/prettier-config/index.js +7 -0
- package/src/lib-components/overlays/ContentModal.vue +1 -1
- package/src/lib-components/overlays/Modal.vue +2 -2
- package/src/lib-components/overlays/Slideover.vue +2 -1
- package/types/api/client.d.ts +3 -3
- package/types/api/url.d.ts +1 -0
- package/types/composables/useFlashes.d.ts +7 -7
- package/types/composables/usePopper.d.ts +19 -0
- package/types/composables/useSpinner.d.ts +1 -1
- package/types/lib-components/forms/BaseInput.vue.d.ts +28 -25
- package/types/lib-components/forms/Checkbox.vue.d.ts +23 -17
- package/types/lib-components/forms/DateRangePicker.vue.d.ts +29 -26
- package/types/lib-components/forms/FieldsetLegend.vue.d.ts +26 -7
- package/types/lib-components/forms/InputHelp.vue.d.ts +21 -12
- package/types/lib-components/forms/InputLabel.vue.d.ts +26 -20
- package/types/lib-components/forms/MultiCheckboxes.vue.d.ts +46 -41
- package/types/lib-components/forms/Radio.vue.d.ts +44 -37
- package/types/lib-components/forms/RadioCards.vue.d.ts +64 -42
- package/types/lib-components/forms/Select.vue.d.ts +34 -37
- package/types/lib-components/forms/TextArea.vue.d.ts +26 -20
- package/types/lib-components/forms/Toggle.vue.d.ts +19 -8
- package/types/lib-components/forms/YesOrNoRadio.vue.d.ts +30 -27
- package/types/lib-components/indicators/XYSpinner.vue.d.ts +8 -1
- package/types/lib-components/layout/DateFilter.vue.d.ts +4 -4
- package/types/lib-components/layout/SidebarLayout.vue.d.ts +31 -19
- package/types/lib-components/layout/StackedLayout.vue.d.ts +33 -25
- package/types/lib-components/lists/Cards.vue.d.ts +4 -4
- package/types/lib-components/lists/DetailList.vue.d.ts +35 -22
- package/types/lib-components/lists/DownloadCell.vue.d.ts +4 -4
- package/types/lib-components/lists/StaticTable.vue.d.ts +4 -4
- package/types/lib-components/lists/Table.vue.d.ts +23 -17
- package/types/lib-components/navigation/ActionsDropdown.vue.d.ts +4 -4
- package/types/lib-components/navigation/Paginator.vue.d.ts +4 -4
- package/types/lib-components/navigation/Steps.vue.d.ts +29 -32
- package/types/lib-components/navigation/Tabs.vue.d.ts +24 -18
- package/types/lib-components/overlays/ContentModal.vue.d.ts +30 -13
- package/types/lib-components/overlays/Flash.vue.d.ts +1 -1
- package/types/lib-components/overlays/Modal.vue.d.ts +37 -29
- package/types/lib-components/overlays/Popover/Popover.vue.d.ts +39 -16
- package/types/lib-components/overlays/Popover/PopoverContent.vue.d.ts +8 -1
- package/types/lib-components/overlays/Slideover.vue.d.ts +14 -6
- package/types/lib-components/overlays/Spinner.vue.d.ts +1 -1
- package/types/lib-components/overlays/Tooltip.vue.d.ts +31 -15
- package/types/types/lists.d.ts +12 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* eslint-env node */
|
|
2
|
+
require("@rushstack/eslint-patch/modern-module-resolution")
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
root: true,
|
|
6
|
+
extends: [
|
|
7
|
+
"plugin:vue/vue3-essential",
|
|
8
|
+
"eslint:recommended",
|
|
9
|
+
"@vue/eslint-config-typescript",
|
|
10
|
+
"@vue/eslint-config-prettier/skip-formatting",
|
|
11
|
+
],
|
|
12
|
+
parserOptions: {
|
|
13
|
+
ecmaVersion: "latest",
|
|
14
|
+
},
|
|
15
|
+
rules: {
|
|
16
|
+
"vue/multi-word-component-names": 0,
|
|
17
|
+
"@typescript-eslint/no-explicit-any": 0,
|
|
18
|
+
"@typescript-eslint/no-empty-interface": [
|
|
19
|
+
"error",
|
|
20
|
+
{
|
|
21
|
+
allowSingleExtends: true,
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xy-planning-network/trees",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5-rc-2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "github:xy-planning-network/trees",
|
|
7
7
|
"files": [
|
|
8
8
|
"config/*",
|
|
9
9
|
"dist/*",
|
|
10
|
+
"eslint-config-base/*",
|
|
11
|
+
"prettier-config/*",
|
|
10
12
|
"src/**/*.css",
|
|
11
13
|
"src/**/*.vue",
|
|
12
14
|
"types/*"
|
|
@@ -22,7 +24,7 @@
|
|
|
22
24
|
],
|
|
23
25
|
"scripts": {
|
|
24
26
|
"dev": "vite",
|
|
25
|
-
"build": "
|
|
27
|
+
"build": "npm run lint && vue-tsc -p src --emitDeclarationOnly && vite build && npm run copy:types && tsc-alias -p src/tsconfig.json",
|
|
26
28
|
"build:docs": "vue-tsc -p dev --noEmit && vite build --config vite.docs.config.ts",
|
|
27
29
|
"copy:types": "copyfiles -f ./src/*.d.ts ./types",
|
|
28
30
|
"lint": "eslint --ext .js,.ts,.vue src",
|
|
@@ -34,32 +36,28 @@
|
|
|
34
36
|
},
|
|
35
37
|
"devDependencies": {
|
|
36
38
|
"@point-hub/vue-highlight": "^0.1.4",
|
|
39
|
+
"@rushstack/eslint-patch": "^1.2.0",
|
|
37
40
|
"@tailwindcss/forms": "^0.5.3",
|
|
38
41
|
"@tailwindcss/line-clamp": "^0.4.2",
|
|
39
42
|
"@tailwindcss/typography": "^0.5.7",
|
|
40
|
-
"@types/node": "^
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"
|
|
45
|
-
"@vue/eslint-config-typescript": "^9.1.0",
|
|
46
|
-
"autoprefixer": "^10.4.13",
|
|
43
|
+
"@types/node": "^18.15.11",
|
|
44
|
+
"@vitejs/plugin-vue": "^4.1.0",
|
|
45
|
+
"@vue/eslint-config-prettier": "^7.1.0",
|
|
46
|
+
"@vue/eslint-config-typescript": "^11.0.2",
|
|
47
|
+
"autoprefixer": "^10.4.14",
|
|
47
48
|
"copyfiles": "^2.4.1",
|
|
48
|
-
"deepmerge": "^4.
|
|
49
|
-
"eslint": "^8.
|
|
50
|
-
"eslint-
|
|
51
|
-
"eslint-import-resolver-typescript": "^2.5.0",
|
|
52
|
-
"eslint-plugin-import": "^2.25.3",
|
|
53
|
-
"eslint-plugin-prettier": "^3.4.1",
|
|
54
|
-
"eslint-plugin-vue": "^8.2.0",
|
|
49
|
+
"deepmerge": "^4.3.1",
|
|
50
|
+
"eslint": "^8.38.0",
|
|
51
|
+
"eslint-plugin-vue": "^9.10.0",
|
|
55
52
|
"mitt": "^2.1.0",
|
|
56
|
-
"postcss": "^8.4.
|
|
53
|
+
"postcss": "^8.4.21",
|
|
54
|
+
"prettier": "^2.8.7",
|
|
57
55
|
"tailwindcss": "^3.2.1",
|
|
58
|
-
"tsc-alias": "^1.5
|
|
59
|
-
"typescript": "^
|
|
60
|
-
"vite": "^2.
|
|
61
|
-
"vite-plugin-environment": "^1.
|
|
62
|
-
"vue-tsc": "^
|
|
56
|
+
"tsc-alias": "^1.8.5",
|
|
57
|
+
"typescript": "^5.0.4",
|
|
58
|
+
"vite": "^4.2.1",
|
|
59
|
+
"vite-plugin-environment": "^1.1.3",
|
|
60
|
+
"vue-tsc": "^1.2.0"
|
|
63
61
|
},
|
|
64
62
|
"dependencies": {
|
|
65
63
|
"@headlessui/vue": "^1.4.2",
|
|
@@ -72,7 +72,7 @@ const updateModelValue = (value: boolean) => {
|
|
|
72
72
|
<div>
|
|
73
73
|
<slot name="icon"></slot>
|
|
74
74
|
<div class="mt-3 text-center sm:mt-5">
|
|
75
|
-
<DialogTitle as="h3"
|
|
75
|
+
<DialogTitle as="h3">{{ title }}</DialogTitle>
|
|
76
76
|
<div class="mt-2">
|
|
77
77
|
<slot></slot>
|
|
78
78
|
</div>
|
|
@@ -96,8 +96,8 @@ const updateModelValue = (value: boolean) => {
|
|
|
96
96
|
<DialogTitle
|
|
97
97
|
as="h3"
|
|
98
98
|
class="text-center text-lg leading-6 font-medium text-gray-900"
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
>{{ title }}</DialogTitle
|
|
100
|
+
>
|
|
101
101
|
<div class="mt-2">
|
|
102
102
|
<slot></slot>
|
|
103
103
|
</div>
|
|
@@ -56,7 +56,8 @@ const close = () => {
|
|
|
56
56
|
>
|
|
57
57
|
<div class="py-6 px-4 bg-blue-700 sm:px-6">
|
|
58
58
|
<div class="flex items-center justify-between">
|
|
59
|
-
<DialogTitle as="h3" class="text-white"
|
|
59
|
+
<DialogTitle as="h3" class="text-white">
|
|
60
|
+
{{ header }}
|
|
60
61
|
</DialogTitle>
|
|
61
62
|
<div class="ml-3 h-7 flex items-center">
|
|
62
63
|
<button
|
package/types/api/client.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ReqMethod
|
|
3
3
|
* The HTTP request methods that our http client supports.
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export type ReqMethod = "DELETE" | "delete" | "GET" | "get" | "PATCH" | "patch" | "POST" | "post" | "PUT" | "put";
|
|
6
6
|
/**
|
|
7
7
|
* ReqOptions
|
|
8
8
|
* The set of options available for any http client request.
|
|
@@ -133,12 +133,12 @@ export interface TrailsRespPaged<T = any> {
|
|
|
133
133
|
* QueryParams
|
|
134
134
|
* Http GET request query params.
|
|
135
135
|
*/
|
|
136
|
-
export
|
|
136
|
+
export type QueryParams = Record<string, any>;
|
|
137
137
|
/**
|
|
138
138
|
* ReqPayload
|
|
139
139
|
* Http POST and PUT payloads.
|
|
140
140
|
*/
|
|
141
|
-
export
|
|
141
|
+
export type ReqPayload = Record<string, any> | FormData;
|
|
142
142
|
/**
|
|
143
143
|
* HttpClient
|
|
144
144
|
* The http client interface the BaseAPI implements.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getBaseUrl(): string;
|
|
@@ -20,11 +20,11 @@ export interface FlashMessage {
|
|
|
20
20
|
/**
|
|
21
21
|
* FlashType is used to set the style of the flash that is displayed.
|
|
22
22
|
*/
|
|
23
|
-
export
|
|
23
|
+
export type FlashType = "warning" | "error" | "info" | "success";
|
|
24
24
|
/**
|
|
25
25
|
* A storage type for flash management.
|
|
26
26
|
*/
|
|
27
|
-
export
|
|
27
|
+
export type FlashStore = Map<string, FlashMessage>;
|
|
28
28
|
/**
|
|
29
29
|
* A Flasher instance config.
|
|
30
30
|
*/
|
|
@@ -78,9 +78,9 @@ export declare function useFlashes(flasherConfig?: FlasherConfig): {
|
|
|
78
78
|
export declare const loadWindowFlashes: (flasher: Flasher) => void;
|
|
79
79
|
export declare function useAppFlashes(): UseFlashes;
|
|
80
80
|
export declare const useAppFlasher: {
|
|
81
|
-
error(msg: string, persistent?: boolean
|
|
82
|
-
info(msg: string, persistent?: boolean
|
|
83
|
-
success(msg: string, persistent?: boolean
|
|
84
|
-
warning(msg: string, persistent?: boolean
|
|
85
|
-
genericError(email?: string
|
|
81
|
+
error(msg: string, persistent?: boolean): void;
|
|
82
|
+
info(msg: string, persistent?: boolean): void;
|
|
83
|
+
success(msg: string, persistent?: boolean): void;
|
|
84
|
+
warning(msg: string, persistent?: boolean): void;
|
|
85
|
+
genericError(email?: string, persistent?: boolean): void;
|
|
86
86
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { VNode } from "vue";
|
|
2
|
+
import { Options, Placement } from "@popperjs/core";
|
|
3
|
+
export declare type PopperPosition = Placement;
|
|
4
|
+
export declare const offsetModifier: (skidding: number, distance: number) => {
|
|
5
|
+
options: {
|
|
6
|
+
offset: () => number[];
|
|
7
|
+
};
|
|
8
|
+
name: "offset";
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
phase: import("@popperjs/core").ModifierPhases;
|
|
11
|
+
requires?: string[] | undefined;
|
|
12
|
+
requiresIfExists?: string[] | undefined;
|
|
13
|
+
fn: (arg0: import("@popperjs/core").ModifierArguments<import("@popperjs/core/lib/modifiers/offset").Options>) => void | import("@popperjs/core").State;
|
|
14
|
+
effect?: ((arg0: import("@popperjs/core").ModifierArguments<import("@popperjs/core/lib/modifiers/offset").Options>) => void | (() => void)) | undefined;
|
|
15
|
+
data?: import("@popperjs/core").Obj | undefined;
|
|
16
|
+
};
|
|
17
|
+
export declare function usePopper(opts: Partial<Options>): import("vue").Ref<VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}> | HTMLElement | undefined>[];
|
|
@@ -23,6 +23,6 @@ export declare function useSpinnerDisplay(): {
|
|
|
23
23
|
};
|
|
24
24
|
export declare function useAppSpinnerDisplay(): UseSpinnerDisplay;
|
|
25
25
|
export declare const useAppSpinner: {
|
|
26
|
-
show: (msgs?: string[]
|
|
26
|
+
show: (msgs?: string[]) => void;
|
|
27
27
|
hide: () => void;
|
|
28
28
|
};
|
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
type:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
label
|
|
12
|
-
type: import("vue").PropType<string>;
|
|
13
|
-
} & {
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
modelValue: {
|
|
17
|
-
type: import("vue").PropType<string | number>;
|
|
18
|
-
} & {
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type: string;
|
|
3
|
+
help?: string | undefined;
|
|
4
|
+
label?: string | undefined;
|
|
5
|
+
modelValue?: string | number | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
help: string;
|
|
8
|
+
label: string;
|
|
9
|
+
modelValue: string;
|
|
10
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
11
|
+
label?: unknown;
|
|
22
12
|
type?: unknown;
|
|
23
13
|
help?: unknown;
|
|
24
|
-
label?: unknown;
|
|
25
14
|
modelValue?: unknown;
|
|
26
15
|
} & {
|
|
27
|
-
type: string;
|
|
28
|
-
modelValue: string | number;
|
|
29
16
|
label: string;
|
|
17
|
+
type: string;
|
|
30
18
|
help: string;
|
|
19
|
+
modelValue: string | number;
|
|
31
20
|
} & {}> & {
|
|
32
21
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
22
|
}, {
|
|
34
|
-
modelValue: string | number;
|
|
35
23
|
label: string;
|
|
36
24
|
help: string;
|
|
25
|
+
modelValue: string | number;
|
|
37
26
|
}>;
|
|
38
27
|
export default _default;
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
type __VLS_WithDefaults<P, D> = {
|
|
38
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
39
|
+
default: D[K];
|
|
40
|
+
} : P[K];
|
|
41
|
+
};
|
|
@@ -1,26 +1,18 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
label
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
help:
|
|
8
|
-
|
|
9
|
-
} & {
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
modelValue: {
|
|
13
|
-
type: import("vue").PropType<boolean>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
label?: string | undefined;
|
|
3
|
+
help?: string | undefined;
|
|
4
|
+
modelValue: boolean;
|
|
5
|
+
}>, {
|
|
6
|
+
label: string;
|
|
7
|
+
help: string;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
17
9
|
label?: unknown;
|
|
18
10
|
help?: unknown;
|
|
19
11
|
modelValue?: unknown;
|
|
20
12
|
} & {
|
|
21
|
-
modelValue: boolean;
|
|
22
13
|
label: string;
|
|
23
14
|
help: string;
|
|
15
|
+
modelValue: boolean;
|
|
24
16
|
} & {}> & {
|
|
25
17
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
18
|
}, {
|
|
@@ -28,3 +20,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
20
|
help: string;
|
|
29
21
|
}>;
|
|
30
22
|
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
|
+
};
|
|
@@ -1,39 +1,28 @@
|
|
|
1
1
|
import "flatpickr/dist/flatpickr.min.css";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
modelValue: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
maxDate: number;
|
|
7
|
-
}>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
startDate: {
|
|
11
|
-
type: import("vue").PropType<number>;
|
|
12
|
-
} & {
|
|
13
|
-
default: number;
|
|
14
|
-
};
|
|
15
|
-
label: {
|
|
16
|
-
type: import("vue").PropType<string>;
|
|
17
|
-
} & {
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
help: {
|
|
21
|
-
type: import("vue").PropType<string>;
|
|
22
|
-
} & {
|
|
23
|
-
default: string;
|
|
4
|
+
minDate: number;
|
|
5
|
+
maxDate: number;
|
|
24
6
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
7
|
+
startDate?: number | undefined;
|
|
8
|
+
label?: string | undefined;
|
|
9
|
+
help?: string | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
startDate: number;
|
|
12
|
+
label: string;
|
|
13
|
+
help: string;
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
28
15
|
label?: unknown;
|
|
29
16
|
help?: unknown;
|
|
17
|
+
modelValue?: unknown;
|
|
18
|
+
startDate?: unknown;
|
|
30
19
|
} & {
|
|
20
|
+
label: string;
|
|
21
|
+
help: string;
|
|
31
22
|
modelValue: {
|
|
32
23
|
minDate: number;
|
|
33
24
|
maxDate: number;
|
|
34
25
|
};
|
|
35
|
-
label: string;
|
|
36
|
-
help: string;
|
|
37
26
|
startDate: number;
|
|
38
27
|
} & {}> & {
|
|
39
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -43,3 +32,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
32
|
startDate: number;
|
|
44
33
|
}>;
|
|
45
34
|
export default _default;
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToRuntimeProps<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
|
+
};
|
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
46
|
+
default: D[K];
|
|
47
|
+
} : P[K];
|
|
48
|
+
};
|
|
@@ -1,14 +1,33 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
tag
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
tag?: string | undefined;
|
|
3
|
+
}>, {
|
|
4
|
+
tag: string;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
8
6
|
tag?: unknown;
|
|
9
7
|
} & {
|
|
10
8
|
tag: string;
|
|
11
9
|
} & {}>, {
|
|
12
10
|
tag: string;
|
|
11
|
+
}>, {
|
|
12
|
+
default: (_: {}) => any;
|
|
13
13
|
}>;
|
|
14
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;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
} : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
tag
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
type: import("vue").PropType<string>;
|
|
9
|
-
} & {
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
tag?: string | undefined;
|
|
3
|
+
text?: string | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
tag: string;
|
|
6
|
+
text: string;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
13
8
|
tag?: unknown;
|
|
14
9
|
text?: unknown;
|
|
15
10
|
} & {
|
|
@@ -20,3 +15,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
15
|
text: string;
|
|
21
16
|
}>;
|
|
22
17
|
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,30 +1,36 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
disabled
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
label:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
tag: {
|
|
13
|
-
type: import("vue").PropType<string>;
|
|
14
|
-
} & {
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
18
|
-
disabled?: unknown;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
disabled?: boolean | undefined;
|
|
3
|
+
label?: string | undefined;
|
|
4
|
+
tag?: string | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
label: string;
|
|
8
|
+
tag: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
19
10
|
label?: unknown;
|
|
11
|
+
disabled?: unknown;
|
|
20
12
|
tag?: unknown;
|
|
21
13
|
} & {
|
|
22
|
-
disabled: boolean;
|
|
23
14
|
label: string;
|
|
15
|
+
disabled: boolean;
|
|
24
16
|
tag: string;
|
|
25
17
|
} & {}>, {
|
|
26
|
-
disabled: boolean;
|
|
27
18
|
label: string;
|
|
19
|
+
disabled: boolean;
|
|
28
20
|
tag: string;
|
|
29
21
|
}>;
|
|
30
22
|
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
|
+
};
|