@caipira/tamandua 0.0.61 → 0.0.62
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/InputPrice.js +2 -2
- package/dist/{InputPrice.vue_vue_type_script_setup_true_lang-C2wDVwnm.js → InputPrice.vue_vue_type_script_setup_true_lang-R3kHhxN2.js} +20 -20
- package/dist/InputSelect.js +2 -2
- package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-DgMRjecc.js → InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js} +79 -78
- package/dist/components.js +2 -2
- package/dist/date.js +170 -354
- package/dist/{plugin-fGlPPiqA.js → plugin-CZiSoM73.js} +1 -1
- package/dist/{plugin-CQ-FpZui.js → plugin-RM2wZuwL.js} +1 -1
- package/dist/{plugins-B1SFJH99.js → plugins-DD6fcgTJ.js} +3 -3
- package/dist/plugins.js +3 -3
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Avatar/Avatar.vue.d.ts +2 -2
- package/dist/types/components/Button/Button.vue.d.ts +13 -11
- package/dist/types/components/ChartLine/ChartLine.vue.d.ts +2 -2
- package/dist/types/components/Drawer/Drawer.vue.d.ts +8 -6
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +33 -31
- package/dist/types/components/Form/Form.vue.d.ts +8 -76
- package/dist/types/components/FormItem/FormItem.vue.d.ts +4 -2
- package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +4 -2
- package/dist/types/components/GraphyPrice/GraphyPrice.vue.d.ts +1 -1
- package/dist/types/components/Icon/Icon.vue.d.ts +1 -1
- package/dist/types/components/InputPrice/service.d.ts +1 -1
- package/dist/types/components/InputPrice/types.d.ts +1 -1
- package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +6 -4
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +35 -33
- package/dist/types/components/Link/Link.vue.d.ts +7 -5
- package/dist/types/components/Modal/Modal.vue.d.ts +8 -6
- package/dist/types/components/ModalForm/ModalForm.vue.d.ts +7 -5
- package/dist/types/components/Pagination/Pagination.vue.d.ts +1 -1
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +9 -7
- package/dist/types/components/Popover/Popover.vue.d.ts +4 -4
- package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +6 -4
- package/dist/types/components/ProgressLine/ProgressLine.vue.d.ts +6 -4
- package/dist/types/components/SensitiveInfo/SensitiveInfo.vue.d.ts +4 -2
- package/dist/types/components/Tab/Tab.vue.d.ts +4 -2
- package/dist/types/components/Table/Table.vue.d.ts +12 -73
- package/dist/types/components/Tag/Tag.vue.d.ts +6 -4
- package/dist/types/services/date.d.ts +2 -2
- package/package.json +14 -14
package/dist/plugins.js
CHANGED
|
@@ -32,11 +32,11 @@ import { p as nr } from "./plugin-BQPL19WY.js";
|
|
|
32
32
|
import { p as ur } from "./plugin-Br-QOjhk.js";
|
|
33
33
|
import { p as Pr } from "./plugin-B-YDK-TW.js";
|
|
34
34
|
import { p as gr } from "./plugin-CrHDShgh.js";
|
|
35
|
-
import { p as fr } from "./plugin-
|
|
35
|
+
import { p as fr } from "./plugin-RM2wZuwL.js";
|
|
36
36
|
import "./InputRadio.vue_vue_type_style_index_0_lang-DusKEybQ.js";
|
|
37
37
|
import { p as cr } from "./plugin-Y4yYnlO3.js";
|
|
38
|
-
import "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
39
|
-
import { p as yr } from "./plugin-
|
|
38
|
+
import "./InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js";
|
|
39
|
+
import { p as yr } from "./plugin-CZiSoM73.js";
|
|
40
40
|
import { p as Cr } from "./plugin-BZOU6h10.js";
|
|
41
41
|
import { p as br } from "./plugin-lYDlOt8p.js";
|
|
42
42
|
import { p as Sr } from "./plugin-BQFwx3d5.js";
|
package/dist/tamandua.js
CHANGED
|
@@ -19,8 +19,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
19
19
|
image: string;
|
|
20
20
|
text: string;
|
|
21
21
|
role: string;
|
|
22
|
-
size:
|
|
23
|
-
shape:
|
|
22
|
+
size: `${ElementSize}`;
|
|
23
|
+
shape: `${ElementShape}`;
|
|
24
24
|
disableStyle: boolean;
|
|
25
25
|
}, {}>;
|
|
26
26
|
export default _default;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ButtonType, ElementSize, ElementShape, ButtonVariant } from '../../enums/ui.js';
|
|
2
2
|
import { ButtonProps } from './types.js';
|
|
3
3
|
|
|
4
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
|
|
5
8
|
href: string;
|
|
6
9
|
type: ButtonType;
|
|
7
10
|
size: ElementSize;
|
|
@@ -44,7 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
44
47
|
};
|
|
45
48
|
}>>, {
|
|
46
49
|
role: string;
|
|
47
|
-
size:
|
|
50
|
+
size: `${ElementSize}`;
|
|
48
51
|
}, true, {}, {}, {
|
|
49
52
|
P: {};
|
|
50
53
|
B: {};
|
|
@@ -69,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
69
72
|
reference: import("vue").Ref<HTMLElement | null>;
|
|
70
73
|
}, {}, {}, {}, {
|
|
71
74
|
role: string;
|
|
72
|
-
size:
|
|
75
|
+
size: `${ElementSize}`;
|
|
73
76
|
}> | null>;
|
|
74
77
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
75
78
|
upload: (val: FileList) => void;
|
|
@@ -89,20 +92,19 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
89
92
|
onUpload?: ((val: FileList) => any) | undefined;
|
|
90
93
|
}, {
|
|
91
94
|
hover: boolean;
|
|
92
|
-
size:
|
|
93
|
-
shape:
|
|
94
|
-
type:
|
|
95
|
+
size: `${ElementSize}`;
|
|
96
|
+
shape: `${ElementShape}`;
|
|
97
|
+
type: `${ButtonType}`;
|
|
95
98
|
label: string;
|
|
96
|
-
variant:
|
|
99
|
+
variant: `${ButtonVariant}`;
|
|
97
100
|
outline: boolean;
|
|
98
101
|
multiple: boolean;
|
|
99
102
|
disabled: boolean;
|
|
100
103
|
iconProps: Partial<import("../types.js").IconProps> & {
|
|
101
|
-
class?: string
|
|
104
|
+
class?: string;
|
|
102
105
|
};
|
|
103
|
-
}, {}
|
|
104
|
-
|
|
105
|
-
}>;
|
|
106
|
+
}, {}>;
|
|
107
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
106
108
|
export default _default;
|
|
107
109
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
108
110
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -10,8 +10,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
10
10
|
};
|
|
11
11
|
}>>>, {
|
|
12
12
|
options: {
|
|
13
|
-
scatterplot?: boolean
|
|
14
|
-
grid?: boolean
|
|
13
|
+
scatterplot?: boolean;
|
|
14
|
+
grid?: boolean;
|
|
15
15
|
};
|
|
16
16
|
}, {}>;
|
|
17
17
|
export default _default;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { DrawerProps } from './types.js';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
header?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
footer?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<DrawerProps>, {
|
|
4
9
|
title: string;
|
|
5
10
|
style: () => {
|
|
6
11
|
footer: string;
|
|
@@ -25,11 +30,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
25
30
|
title: string;
|
|
26
31
|
direction: "rtl" | "ltr";
|
|
27
32
|
showHeader: boolean;
|
|
28
|
-
}, {}
|
|
29
|
-
|
|
30
|
-
default?(_: {}): any;
|
|
31
|
-
footer?(_: {}): any;
|
|
32
|
-
}>;
|
|
33
|
+
}, {}>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
35
|
export default _default;
|
|
34
36
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
37
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,7 +1,37 @@
|
|
|
1
1
|
import { DropdownProps } from './types.js';
|
|
2
2
|
import { InputSelectOption } from '../InputSelect/types.js';
|
|
3
3
|
|
|
4
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {
|
|
6
|
+
icon?: `${import('../../enums/ui.js').Icon}`;
|
|
7
|
+
label: string | object;
|
|
8
|
+
type?: string;
|
|
9
|
+
renderer?: string;
|
|
10
|
+
isGroupLabel: boolean;
|
|
11
|
+
value?: never;
|
|
12
|
+
action?: never;
|
|
13
|
+
} | {
|
|
14
|
+
icon?: `${import('../../enums/ui.js').Icon}`;
|
|
15
|
+
label: string | object;
|
|
16
|
+
type?: string;
|
|
17
|
+
renderer?: string;
|
|
18
|
+
value: import('../InputSelect/types.js').InputSelectValue;
|
|
19
|
+
action?: never;
|
|
20
|
+
isGroupLabel?: never;
|
|
21
|
+
} | {
|
|
22
|
+
icon?: `${import('../../enums/ui.js').Icon}`;
|
|
23
|
+
label: string | object;
|
|
24
|
+
type?: string;
|
|
25
|
+
renderer?: string;
|
|
26
|
+
action: (filters?: import('../../index.js').APISearchFilters) => Promise<{
|
|
27
|
+
items: unknown[];
|
|
28
|
+
pagination: import('../../index.js').Pagination;
|
|
29
|
+
}> | Promise<void> | void;
|
|
30
|
+
value?: never;
|
|
31
|
+
isGroupLabel?: never;
|
|
32
|
+
}): any;
|
|
33
|
+
};
|
|
34
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<DropdownProps>, {
|
|
5
35
|
items: () => never[];
|
|
6
36
|
loading: boolean;
|
|
7
37
|
multiple: boolean;
|
|
@@ -42,36 +72,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
42
72
|
wrapperPaddingClass: string;
|
|
43
73
|
optionRoundnessClass: string;
|
|
44
74
|
wrapperRoundnessClass: string;
|
|
45
|
-
}, {}
|
|
46
|
-
|
|
47
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
48
|
-
label: string | object;
|
|
49
|
-
type?: string | undefined;
|
|
50
|
-
renderer?: string | undefined;
|
|
51
|
-
isGroupLabel: boolean;
|
|
52
|
-
value?: undefined;
|
|
53
|
-
action?: undefined;
|
|
54
|
-
} | {
|
|
55
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
56
|
-
label: string | object;
|
|
57
|
-
type?: string | undefined;
|
|
58
|
-
renderer?: string | undefined;
|
|
59
|
-
value: import('../InputSelect/types.js').InputSelectValue;
|
|
60
|
-
action?: undefined;
|
|
61
|
-
isGroupLabel?: undefined;
|
|
62
|
-
} | {
|
|
63
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
64
|
-
label: string | object;
|
|
65
|
-
type?: string | undefined;
|
|
66
|
-
renderer?: string | undefined;
|
|
67
|
-
action: (filters?: import('../../index.js').APISearchFilters | undefined) => void | Promise<void> | Promise<{
|
|
68
|
-
items: unknown[];
|
|
69
|
-
pagination: import('../../index.js').Pagination;
|
|
70
|
-
}>;
|
|
71
|
-
value?: undefined;
|
|
72
|
-
isGroupLabel?: undefined;
|
|
73
|
-
}): any;
|
|
74
|
-
}>;
|
|
75
|
+
}, {}>;
|
|
76
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
75
77
|
export default _default;
|
|
76
78
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
77
79
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,45 +1,8 @@
|
|
|
1
|
-
import { FormSubmissionFormat } from '../../enums/form.js';
|
|
2
1
|
import { FormSchema, FormInstance } from '../../types/form.js';
|
|
3
|
-
import { FormEvents } from './types.js';
|
|
2
|
+
import { FormProps, FormEvents } from './types.js';
|
|
4
3
|
|
|
5
|
-
declare const _default: <T extends FormSchema>(__VLS_props: {
|
|
6
|
-
|
|
7
|
-
layout?: import('./types.js').FormLayout | undefined;
|
|
8
|
-
formStyle?: import('./types.js').FormStyle | undefined;
|
|
9
|
-
identifier?: string | number | undefined;
|
|
10
|
-
showSubmit?: boolean | undefined;
|
|
11
|
-
buttonProps?: import('../types.js').ButtonProps | undefined;
|
|
12
|
-
submissionFormat?: FormSubmissionFormat | undefined;
|
|
13
|
-
buttonWrapperClasses?: string | undefined;
|
|
14
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
|
15
|
-
attrs: any;
|
|
16
|
-
slots: {
|
|
17
|
-
default?(_: {
|
|
18
|
-
form: import('@vue/reactivity').DistrubuteRef<import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>>;
|
|
19
|
-
}): any;
|
|
20
|
-
};
|
|
21
|
-
emit: FormEvents;
|
|
22
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{
|
|
23
|
-
submit: () => Promise<{
|
|
24
|
-
isValid: boolean;
|
|
25
|
-
form: FormData | import("@/types/form.js").JSONForm;
|
|
26
|
-
}>;
|
|
27
|
-
reset: () => void;
|
|
28
|
-
setValues: (values: Partial<FormInstance<T extends undefined ? never : T>>) => void;
|
|
29
|
-
form: import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>;
|
|
30
|
-
setValue: <K extends keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>>(key: K, value: import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[K]) => void;
|
|
31
|
-
getValue: (key: keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>) => import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>];
|
|
32
|
-
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
33
|
-
props: {
|
|
34
|
-
schema?: T | undefined;
|
|
35
|
-
layout?: import('./types.js').FormLayout | undefined;
|
|
36
|
-
formStyle?: import('./types.js').FormStyle | undefined;
|
|
37
|
-
identifier?: string | number | undefined;
|
|
38
|
-
showSubmit?: boolean | undefined;
|
|
39
|
-
buttonProps?: import('../types.js').ButtonProps | undefined;
|
|
40
|
-
submissionFormat?: FormSubmissionFormat | undefined;
|
|
41
|
-
buttonWrapperClasses?: string | undefined;
|
|
42
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
4
|
+
declare const _default: <T extends FormSchema>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & FormProps<T>, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
43
6
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
44
7
|
submit: () => Promise<{
|
|
45
8
|
isValid: boolean;
|
|
@@ -52,45 +15,14 @@ declare const _default: <T extends FormSchema>(__VLS_props: {
|
|
|
52
15
|
getValue: (key: keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>) => import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>];
|
|
53
16
|
}>): void;
|
|
54
17
|
attrs: any;
|
|
55
|
-
slots: {
|
|
18
|
+
slots: ReturnType<() => {
|
|
56
19
|
default?(_: {
|
|
57
|
-
form:
|
|
20
|
+
form: any;
|
|
58
21
|
}): any;
|
|
59
|
-
}
|
|
22
|
+
}>;
|
|
60
23
|
emit: FormEvents;
|
|
61
|
-
}>) => import('vue').VNode
|
|
62
|
-
|
|
63
|
-
}> & {
|
|
64
|
-
__ctx?: {
|
|
65
|
-
props: {
|
|
66
|
-
schema?: T | undefined;
|
|
67
|
-
layout?: import('./types.js').FormLayout | undefined;
|
|
68
|
-
formStyle?: import('./types.js').FormStyle | undefined;
|
|
69
|
-
identifier?: string | number | undefined;
|
|
70
|
-
showSubmit?: boolean | undefined;
|
|
71
|
-
buttonProps?: import('../types.js').ButtonProps | undefined;
|
|
72
|
-
submissionFormat?: FormSubmissionFormat | undefined;
|
|
73
|
-
buttonWrapperClasses?: string | undefined;
|
|
74
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
75
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
76
|
-
submit: () => Promise<{
|
|
77
|
-
isValid: boolean;
|
|
78
|
-
form: FormData | import("@/types/form.js").JSONForm;
|
|
79
|
-
}>;
|
|
80
|
-
reset: () => void;
|
|
81
|
-
setValues: (values: Partial<FormInstance<T extends undefined ? never : T>>) => void;
|
|
82
|
-
form: import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>;
|
|
83
|
-
setValue: <K extends keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>>(key: K, value: import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[K]) => void;
|
|
84
|
-
getValue: (key: keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>) => import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>];
|
|
85
|
-
}>): void;
|
|
86
|
-
attrs: any;
|
|
87
|
-
slots: {
|
|
88
|
-
default?(_: {
|
|
89
|
-
form: import('@vue/reactivity').DistrubuteRef<import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>>;
|
|
90
|
-
}): any;
|
|
91
|
-
};
|
|
92
|
-
emit: FormEvents;
|
|
93
|
-
} | undefined;
|
|
24
|
+
}>) => import('vue').VNode & {
|
|
25
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
94
26
|
};
|
|
95
27
|
export default _default;
|
|
96
28
|
type __VLS_Prettify<T> = {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { FormItemProps } from './types.js';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
4
|
label?(_: {}): any;
|
|
5
5
|
default?(_: {}): any;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<FormItemProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FormItemProps>>>, {}, {}>;
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
7
9
|
export default _default;
|
|
8
10
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
11
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { GraphyLabelProps } from './types.js';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
4
|
default?(_: {}): any;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<GraphyLabelProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<GraphyLabelProps>>>, {}, {}>;
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
8
|
export default _default;
|
|
7
9
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
10
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
11
|
priceColor: string;
|
|
12
12
|
}>>>, {
|
|
13
13
|
animate: boolean;
|
|
14
|
-
variant:
|
|
14
|
+
variant: `${GraphyPriceVariant}`;
|
|
15
15
|
priceColor: string;
|
|
16
16
|
}, {}>;
|
|
17
17
|
export default _default;
|
|
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
11
|
size: ElementSize;
|
|
12
12
|
}>>>, {
|
|
13
13
|
role: string;
|
|
14
|
-
size:
|
|
14
|
+
size: `${ElementSize}`;
|
|
15
15
|
}, {}>;
|
|
16
16
|
export default _default;
|
|
17
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { InputRadioGroupProps } from './types.js';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputRadioGroupProps>, {
|
|
4
7
|
disabled: boolean;
|
|
5
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
9
|
"update:model-value": (val: string) => void;
|
|
@@ -10,9 +13,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
10
13
|
"onUpdate:model-value"?: ((val: string) => any) | undefined;
|
|
11
14
|
}, {
|
|
12
15
|
disabled: boolean;
|
|
13
|
-
}, {}
|
|
14
|
-
|
|
15
|
-
}>;
|
|
16
|
+
}, {}>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
18
|
export default _default;
|
|
17
19
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
20
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -3,7 +3,38 @@ import { InputSelectValue, InputSelectOption, SelectValuePrimitives } from './ty
|
|
|
3
3
|
import { APISearchFilters } from '../../types/api.js';
|
|
4
4
|
import { Pagination } from '../../types/ui.js';
|
|
5
5
|
|
|
6
|
-
declare
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
selection?(_: {
|
|
8
|
+
icon?: `${import('../../enums/ui.js').Icon}` | undefined;
|
|
9
|
+
label: string | object;
|
|
10
|
+
type?: string | undefined;
|
|
11
|
+
renderer?: string | undefined;
|
|
12
|
+
isGroupLabel: boolean;
|
|
13
|
+
value?: never | undefined;
|
|
14
|
+
action?: never | undefined;
|
|
15
|
+
} | {
|
|
16
|
+
icon?: `${import('../../enums/ui.js').Icon}` | undefined;
|
|
17
|
+
label: string | object;
|
|
18
|
+
type?: string | undefined;
|
|
19
|
+
renderer?: string | undefined;
|
|
20
|
+
value: SelectValuePrimitives | SelectValuePrimitives[];
|
|
21
|
+
action?: never | undefined;
|
|
22
|
+
isGroupLabel?: never | undefined;
|
|
23
|
+
} | {
|
|
24
|
+
icon?: `${import('../../enums/ui.js').Icon}` | undefined;
|
|
25
|
+
label: string | object;
|
|
26
|
+
type?: string | undefined;
|
|
27
|
+
renderer?: string | undefined;
|
|
28
|
+
action: (filters?: APISearchFilters) => Promise<{
|
|
29
|
+
items: unknown[];
|
|
30
|
+
pagination: Pagination;
|
|
31
|
+
}> | Promise<void> | void;
|
|
32
|
+
value?: never | undefined;
|
|
33
|
+
isGroupLabel?: never | undefined;
|
|
34
|
+
}): any;
|
|
35
|
+
default?(_: any): any;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
7
38
|
modelValue: import("vue").PropType<InputSelectValue>;
|
|
8
39
|
filter: {
|
|
9
40
|
type: import("vue").PropType<(input: string, option: InputSelectOption) => boolean>;
|
|
@@ -140,41 +171,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
140
171
|
placeholder: string;
|
|
141
172
|
mapper: (i: any) => InputSelectOption;
|
|
142
173
|
isSearchable: boolean;
|
|
143
|
-
dropdownPlacement:
|
|
174
|
+
dropdownPlacement: `${ElementPosition}`;
|
|
144
175
|
widthClass: string;
|
|
145
176
|
borderClass: string;
|
|
146
177
|
roundnessClass: string;
|
|
147
|
-
}, {}
|
|
148
|
-
|
|
149
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
150
|
-
label: string | object;
|
|
151
|
-
type?: string | undefined;
|
|
152
|
-
renderer?: string | undefined;
|
|
153
|
-
isGroupLabel: boolean;
|
|
154
|
-
value?: undefined;
|
|
155
|
-
action?: undefined;
|
|
156
|
-
} | {
|
|
157
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
158
|
-
label: string | object;
|
|
159
|
-
type?: string | undefined;
|
|
160
|
-
renderer?: string | undefined;
|
|
161
|
-
value: SelectValuePrimitives | SelectValuePrimitives[];
|
|
162
|
-
action?: undefined;
|
|
163
|
-
isGroupLabel?: undefined;
|
|
164
|
-
} | {
|
|
165
|
-
icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
|
|
166
|
-
label: string | object;
|
|
167
|
-
type?: string | undefined;
|
|
168
|
-
renderer?: string | undefined;
|
|
169
|
-
action: (filters?: APISearchFilters | undefined) => void | Promise<void> | Promise<{
|
|
170
|
-
items: unknown[];
|
|
171
|
-
pagination: Pagination;
|
|
172
|
-
}>;
|
|
173
|
-
value?: undefined;
|
|
174
|
-
isGroupLabel?: undefined;
|
|
175
|
-
}): any;
|
|
176
|
-
default?(_: any): any;
|
|
177
|
-
}>;
|
|
178
|
+
}, {}>;
|
|
179
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
178
180
|
export default _default;
|
|
179
181
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
180
182
|
new (): {
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { LinkType } from '../../enums/ui.js';
|
|
2
2
|
import { LinkProps } from './types.js';
|
|
3
3
|
|
|
4
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LinkProps>, {
|
|
5
8
|
link: string;
|
|
6
9
|
type: LinkType;
|
|
7
10
|
label: string;
|
|
@@ -14,13 +17,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
14
17
|
target: string;
|
|
15
18
|
disabled: boolean;
|
|
16
19
|
}>>>, {
|
|
17
|
-
type:
|
|
20
|
+
type: `${LinkType}`;
|
|
18
21
|
label: string;
|
|
19
22
|
disabled: boolean;
|
|
20
23
|
target: "_self" | "_blank" | "_parent" | "_top" | "_unfencedTop";
|
|
21
|
-
}, {}
|
|
22
|
-
|
|
23
|
-
}>;
|
|
24
|
+
}, {}>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
24
26
|
export default _default;
|
|
25
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
28
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { ModalProps } from './types.js';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
header?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
footer?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
|
|
4
9
|
title: string;
|
|
5
10
|
showHeader: boolean;
|
|
6
11
|
injectStyle: () => {
|
|
@@ -30,11 +35,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
30
35
|
showHeader: boolean;
|
|
31
36
|
injectStyle: any;
|
|
32
37
|
hasBackdrop: boolean;
|
|
33
|
-
}, {}
|
|
34
|
-
|
|
35
|
-
default?(_: {}): any;
|
|
36
|
-
footer?(_: {}): any;
|
|
37
|
-
}>;
|
|
38
|
+
}, {}>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
38
40
|
export default _default;
|
|
39
41
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
42
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { ModalFormProps } from './types.js';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
header?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalFormProps>, {
|
|
4
7
|
options: () => never[];
|
|
5
8
|
formClass: string;
|
|
6
9
|
}>, {
|
|
7
|
-
open: (key: string, id?: string
|
|
10
|
+
open: (key: string, id?: string) => void;
|
|
8
11
|
delete: () => void;
|
|
9
12
|
submit: () => Promise<{
|
|
10
13
|
isValid: boolean;
|
|
@@ -25,9 +28,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
25
28
|
}, {
|
|
26
29
|
options: import("../types.js").InputSelectOption[];
|
|
27
30
|
formClass: string;
|
|
28
|
-
}, {}
|
|
29
|
-
|
|
30
|
-
}>;
|
|
31
|
+
}, {}>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
31
33
|
export default _default;
|
|
32
34
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
35
|
type __VLS_TypePropsToRuntimeProps<T> = {
|