@caipira/tamandua 0.0.43 → 0.0.44
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/{Button-CAiIEdkK.js → Button-DxCwFAWy.js} +21 -23
- package/dist/Button.css +1 -1
- package/dist/Button.js +2 -2
- package/dist/{Drawer-omdZnBPG.js → Drawer-KwhQs5WA.js} +8 -8
- package/dist/Drawer.css +1 -1
- package/dist/Drawer.js +2 -2
- package/dist/FormItem.js +2 -2
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-CV7IVjE4.js +84 -0
- package/dist/InputCheckbox.css +1 -0
- package/dist/InputCheckbox.js +2 -2
- package/dist/{InputCheckbox.vue_vue_type_script_setup_true_lang-Bh8HA3Ay.js → InputCheckbox.vue_vue_type_style_index_0_lang-BONJ9l1D.js} +1 -0
- package/dist/InputMultiplier.js +2 -2
- package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-BFDBZk2M.js +66 -0
- package/dist/InputRadio.css +1 -0
- package/dist/InputRadio.js +2 -2
- package/dist/{InputRadio.vue_vue_type_script_setup_true_lang-Cu7lzDAh.js → InputRadio.vue_vue_type_style_index_0_lang-IqPZ9Qzl.js} +1 -0
- package/dist/InputText.js +2 -2
- package/dist/InputText.vue_vue_type_script_setup_true_lang-D4nIMRiz.js +39 -0
- package/dist/{ProgressCircle-BY2eeyGY.js → ProgressCircle-Cpmi2CpO.js} +4 -4
- package/dist/ProgressCircle.css +1 -1
- package/dist/ProgressCircle.js +2 -2
- package/dist/components.js +8 -8
- package/dist/index.css +1 -29
- package/dist/{plugin-DLFPglIt.js → plugin-BjXXC0b-.js} +1 -1
- package/dist/{plugin-DRcJuXpS.js → plugin-CrUFQdOK.js} +1 -1
- package/dist/{plugin-Bog7k3Qf.js → plugin-D6dx276z.js} +1 -1
- package/dist/{plugin-Bbt6pP0l.js → plugin-DDUNw6fL.js} +1 -1
- package/dist/{plugin-DcWjzc_X.js → plugin-DQ6digu2.js} +1 -1
- package/dist/{plugin-DLkeyKDM.js → plugin-Dz7BPW4D.js} +1 -1
- package/dist/{plugin-DXSsGfRI.js → plugin-MAzqwXys.js} +1 -1
- package/dist/{plugin-U6NcpOUL.js → plugin-WcNmSb_y.js} +1 -1
- package/dist/{plugins-DXwzOgCo.js → plugins-Dwz7OLJO.js} +15 -13
- package/dist/plugins.js +91 -89
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Button/Button.vue.d.ts +47 -6
- package/dist/types/components/ChartTreemap/ChartTreemap.vue.d.ts +12 -3
- package/dist/types/components/Drawer/Drawer.vue.d.ts +44 -2
- package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +12 -3
- package/dist/types/components/GraphySubtitle/GraphySubtitle.vue.d.ts +25 -2
- package/dist/types/components/GraphyTitle/GraphyTitle.vue.d.ts +12 -3
- package/dist/types/components/Icon/Icon.vue.d.ts +30 -3
- package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +37 -2
- package/dist/types/components/InputColor/InputColor.vue.d.ts +32 -2
- package/dist/types/components/InputDate/InputDate.vue.d.ts +16 -3
- package/dist/types/components/InputMultiplier/InputMultiplier.vue.d.ts +40 -2
- package/dist/types/components/InputRadio/InputRadio.vue.d.ts +12 -3
- package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +29 -2
- package/dist/types/components/InputSwitch/InputSwitch.vue.d.ts +32 -2
- package/dist/types/components/InputText/InputText.vue.d.ts +46 -38
- package/dist/types/components/InputText/types.d.ts +0 -2
- package/dist/types/components/InputTextarea/InputTextarea.vue.d.ts +38 -2
- package/dist/types/components/Modal/Modal.vue.d.ts +49 -2
- package/dist/types/components/Pagination/Pagination.vue.d.ts +39 -2
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +33 -2
- package/dist/types/components/Popover/Popover.vue.d.ts +9 -9
- package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +37 -2
- package/package.json +1 -1
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-CjW-P8Xf.js +0 -80
- package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-BJJQTQzF.js +0 -74
- package/dist/InputText.vue_vue_type_script_setup_true_lang-Dyvx9Ob-.js +0 -40
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +0 -14
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}, {}
|
|
1
|
+
import { InputDateProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<InputDateProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
"update:model-value": (val: Date) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InputDateProps>>> & {
|
|
6
|
+
"onUpdate:model-value"?: ((val: Date) => any) | undefined;
|
|
7
|
+
}, {}, {}>;
|
|
4
8
|
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,4 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { InputMultiplierProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputMultiplierProps>, {
|
|
4
|
+
component: string;
|
|
5
|
+
label: string;
|
|
6
|
+
listeners: () => {};
|
|
7
|
+
inputProps: () => {};
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:model-value": (value: any[]) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputMultiplierProps>, {
|
|
11
|
+
component: string;
|
|
12
|
+
label: string;
|
|
13
|
+
listeners: () => {};
|
|
14
|
+
inputProps: () => {};
|
|
15
|
+
}>>> & {
|
|
16
|
+
"onUpdate:model-value"?: ((value: any[]) => any) | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
label: string;
|
|
19
|
+
component: import("vue").Component | "t-input-text" | "t-input-phone";
|
|
20
|
+
inputProps: any;
|
|
21
|
+
listeners: {
|
|
22
|
+
[key: string]: (...args: any[]) => void;
|
|
23
|
+
};
|
|
3
24
|
}, {}>;
|
|
4
25
|
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<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
|
+
};
|
|
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
|
+
} & {};
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}, {}>;
|
|
1
|
+
import { InputRadioProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<InputRadioProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InputRadioProps>>>, {}, {}>;
|
|
4
4
|
export default _default;
|
|
5
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
7
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
9
|
+
} : {
|
|
10
|
+
type: import('vue').PropType<T[K]>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -1,9 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { InputRadioGroupProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputRadioGroupProps>, {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:model-value": (val: string) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputRadioGroupProps>, {
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}>>> & {
|
|
10
|
+
"onUpdate:model-value"?: ((val: string) => any) | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
disabled: boolean;
|
|
3
13
|
}, {}>, {
|
|
4
14
|
default?(_: {}): any;
|
|
5
15
|
}>;
|
|
6
16
|
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
7
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
35
|
new (): {
|
|
9
36
|
$slots: S;
|
|
@@ -1,4 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { InputSwitchProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputSwitchProps>, {
|
|
4
|
+
label: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:model-value": (val: boolean) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputSwitchProps>, {
|
|
9
|
+
label: string;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}>>> & {
|
|
12
|
+
"onUpdate:model-value"?: ((val: boolean) => any) | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
label: string;
|
|
15
|
+
disabled: boolean;
|
|
3
16
|
}, {}>;
|
|
4
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 ? __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
|
+
} & {};
|
|
@@ -1,48 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: import("vue").PropType<any>;
|
|
3
|
+
disableStyle: {
|
|
4
|
+
type: import("vue").PropType<boolean>;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
type: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
disabled: {
|
|
12
|
+
type: import("vue").PropType<boolean>;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
placeholder: {
|
|
16
|
+
type: import("vue").PropType<string>;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
autocomplete: {
|
|
20
|
+
type: import("vue").PropType<string>;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
24
|
"keyup.enter": (val: any) => void;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
14
|
-
modelValue:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
modelValue: import("vue").PropType<any>;
|
|
27
|
+
disableStyle: {
|
|
28
|
+
type: import("vue").PropType<boolean>;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
type: {
|
|
32
|
+
type: import("vue").PropType<string>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
type: import("vue").PropType<boolean>;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
placeholder: {
|
|
40
|
+
type: import("vue").PropType<string>;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
autocomplete: {
|
|
44
|
+
type: import("vue").PropType<string>;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
}>> & {
|
|
22
48
|
"onKeyup.enter"?: ((val: any) => any) | undefined;
|
|
23
49
|
}, {
|
|
24
50
|
disableStyle: boolean;
|
|
25
51
|
type: string;
|
|
26
52
|
disabled: boolean;
|
|
27
|
-
modelValue: string;
|
|
28
53
|
placeholder: string;
|
|
29
54
|
autocomplete: string;
|
|
30
55
|
}, {}>;
|
|
31
56
|
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
type __VLS_WithDefaults<P, D> = {
|
|
42
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
-
default: D[K];
|
|
44
|
-
}> : P[K];
|
|
45
|
-
};
|
|
46
|
-
type __VLS_Prettify<T> = {
|
|
47
|
-
[K in keyof T]: T[K];
|
|
48
|
-
} & {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export type InputTextProps = {
|
|
2
|
-
modelValue?: string;
|
|
3
2
|
type?: string;
|
|
4
3
|
placeholder?: string;
|
|
5
4
|
autocomplete?: string;
|
|
@@ -7,6 +6,5 @@ export type InputTextProps = {
|
|
|
7
6
|
disableStyle?: boolean;
|
|
8
7
|
};
|
|
9
8
|
export type InputTextEvents = {
|
|
10
|
-
(e: "update:model-value", val: string): void;
|
|
11
9
|
(e: "keyup.enter", val: any): void;
|
|
12
10
|
};
|
|
@@ -1,4 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { InputTextareaProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputTextareaProps>, {
|
|
4
|
+
type: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
placeholder: undefined;
|
|
7
|
+
disableStyle: boolean;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:model-value": (val: string) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputTextareaProps>, {
|
|
11
|
+
type: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
placeholder: undefined;
|
|
14
|
+
disableStyle: boolean;
|
|
15
|
+
}>>> & {
|
|
16
|
+
"onUpdate:model-value"?: ((val: string) => any) | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
disableStyle: boolean;
|
|
19
|
+
type: string;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
placeholder: string;
|
|
3
22
|
}, {}>;
|
|
4
23
|
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
38
|
+
type __VLS_Prettify<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
@@ -1,11 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { ModalProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
|
|
4
|
+
title: string;
|
|
5
|
+
showHeader: boolean;
|
|
6
|
+
injectStyle: () => {
|
|
7
|
+
wrapper: string;
|
|
8
|
+
body: string;
|
|
9
|
+
container: string;
|
|
10
|
+
};
|
|
11
|
+
hasBackdrop: boolean;
|
|
12
|
+
disableStyle: boolean;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
closed: () => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps>, {
|
|
16
|
+
title: string;
|
|
17
|
+
showHeader: boolean;
|
|
18
|
+
injectStyle: () => {
|
|
19
|
+
wrapper: string;
|
|
20
|
+
body: string;
|
|
21
|
+
container: string;
|
|
22
|
+
};
|
|
23
|
+
hasBackdrop: boolean;
|
|
24
|
+
disableStyle: boolean;
|
|
25
|
+
}>>> & {
|
|
26
|
+
onClosed?: (() => any) | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
disableStyle: boolean;
|
|
29
|
+
title: string;
|
|
30
|
+
showHeader: boolean;
|
|
31
|
+
injectStyle: any;
|
|
32
|
+
hasBackdrop: boolean;
|
|
3
33
|
}, {}>, {
|
|
4
34
|
header?(_: {}): any;
|
|
5
35
|
default?(_: {}): any;
|
|
6
36
|
footer?(_: {}): any;
|
|
7
37
|
}>;
|
|
8
38
|
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 ? __VLS_Prettify<P[K] & {
|
|
50
|
+
default: D[K];
|
|
51
|
+
}> : P[K];
|
|
52
|
+
};
|
|
53
|
+
type __VLS_Prettify<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|
|
9
56
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
57
|
new (): {
|
|
11
58
|
$slots: S;
|
|
@@ -1,4 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { PaginationProps } from './types.js';
|
|
2
|
+
import { Pagination } from '../../types/ui.js';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PaginationProps>, {
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
pagination: () => Pagination;
|
|
7
|
+
pageLengths: () => number[];
|
|
8
|
+
showDescription: boolean;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
updated: (val: Pagination) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PaginationProps>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
pagination: () => Pagination;
|
|
14
|
+
pageLengths: () => number[];
|
|
15
|
+
showDescription: boolean;
|
|
16
|
+
}>>> & {
|
|
17
|
+
onUpdated?: ((val: Pagination) => any) | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
pagination: Pagination;
|
|
21
|
+
pageLengths: number[];
|
|
22
|
+
showDescription: boolean;
|
|
3
23
|
}, {}>;
|
|
4
24
|
export default _default;
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_WithDefaults<P, D> = {
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
+
default: D[K];
|
|
37
|
+
}> : P[K];
|
|
38
|
+
};
|
|
39
|
+
type __VLS_Prettify<T> = {
|
|
40
|
+
[K in keyof T]: T[K];
|
|
41
|
+
} & {};
|
|
@@ -1,11 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { ElementPosition } from '../../enums/ui.js';
|
|
2
|
+
import { PopconfirmProps } from './types.js';
|
|
3
|
+
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PopconfirmProps>, {
|
|
5
|
+
message: string;
|
|
6
|
+
placement: ElementPosition;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
confirm: () => void;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PopconfirmProps>, {
|
|
10
|
+
message: string;
|
|
11
|
+
placement: ElementPosition;
|
|
12
|
+
}>>> & {
|
|
13
|
+
onConfirm?: (() => any) | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
message: string;
|
|
16
|
+
placement: "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start";
|
|
3
17
|
}, {}>, {
|
|
4
18
|
default?(_: {
|
|
5
19
|
onTogglePopover: any;
|
|
6
20
|
}): any;
|
|
7
21
|
}>;
|
|
8
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 ? __VLS_Prettify<P[K] & {
|
|
34
|
+
default: D[K];
|
|
35
|
+
}> : P[K];
|
|
36
|
+
};
|
|
37
|
+
type __VLS_Prettify<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
9
40
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
41
|
new (): {
|
|
11
42
|
$slots: S;
|
|
@@ -14,14 +14,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
14
14
|
type: import("vue").PropType<"top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start">;
|
|
15
15
|
default: ElementPosition;
|
|
16
16
|
};
|
|
17
|
-
slotWrapperClasses: {
|
|
18
|
-
type: import("vue").PropType<string>;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
17
|
trigger: {
|
|
22
18
|
type: import("vue").PropType<"click" | "hover">;
|
|
23
19
|
default: ElementTrigger;
|
|
24
20
|
};
|
|
21
|
+
slotWrapperClasses: {
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
25
|
}, {
|
|
26
26
|
name: string;
|
|
27
27
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -38,20 +38,20 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
38
38
|
type: import("vue").PropType<"top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start">;
|
|
39
39
|
default: ElementPosition;
|
|
40
40
|
};
|
|
41
|
-
slotWrapperClasses: {
|
|
42
|
-
type: import("vue").PropType<string>;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
41
|
trigger: {
|
|
46
42
|
type: import("vue").PropType<"click" | "hover">;
|
|
47
43
|
default: ElementTrigger;
|
|
48
44
|
};
|
|
45
|
+
slotWrapperClasses: {
|
|
46
|
+
type: import("vue").PropType<string>;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
49
|
}>>, {
|
|
50
50
|
disabled: boolean;
|
|
51
51
|
width: "auto" | "static";
|
|
52
52
|
placement: "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start";
|
|
53
|
-
slotWrapperClasses: string;
|
|
54
53
|
trigger: "click" | "hover";
|
|
54
|
+
slotWrapperClasses: string;
|
|
55
55
|
}, {}>, {
|
|
56
56
|
default?(_: {
|
|
57
57
|
onTogglePopover: (isVisible?: boolean) => void;
|
|
@@ -1,9 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { ProgressCircleProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProgressCircleProps>, {
|
|
4
|
+
value: number;
|
|
5
|
+
width: number;
|
|
6
|
+
strokeWidth: number;
|
|
7
|
+
strokeColor: string;
|
|
8
|
+
backgroundColor: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProgressCircleProps>, {
|
|
10
|
+
value: number;
|
|
11
|
+
width: number;
|
|
12
|
+
strokeWidth: number;
|
|
13
|
+
strokeColor: string;
|
|
14
|
+
backgroundColor: string;
|
|
15
|
+
}>>>, {
|
|
16
|
+
value: number;
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
strokeWidth: number;
|
|
19
|
+
width: number;
|
|
20
|
+
strokeColor: string;
|
|
3
21
|
}, {}>, {
|
|
4
22
|
default?(_: {}): any;
|
|
5
23
|
}>;
|
|
6
24
|
export default _default;
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_WithDefaults<P, D> = {
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
+
default: D[K];
|
|
37
|
+
}> : P[K];
|
|
38
|
+
};
|
|
39
|
+
type __VLS_Prettify<T> = {
|
|
40
|
+
[K in keyof T]: T[K];
|
|
41
|
+
} & {};
|
|
7
42
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
43
|
new (): {
|
|
9
44
|
$slots: S;
|
package/package.json
CHANGED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, useSlots as C, inject as S, computed as _, provide as $, resolveComponent as I, openBlock as t, createElementBlock as l, createElementVNode as r, normalizeClass as s, Fragment as d, unref as n, renderSlot as a, createVNode as b, withCtx as v, renderList as B, toDisplayString as F, createCommentVNode as N } from "vue";
|
|
2
|
-
const V = { class: "w-full" }, w = {
|
|
3
|
-
key: 0,
|
|
4
|
-
class: "float-right"
|
|
5
|
-
};
|
|
6
|
-
let E = 0;
|
|
7
|
-
const z = /* @__PURE__ */ k({
|
|
8
|
-
name: "TFormItem",
|
|
9
|
-
__name: "FormItem",
|
|
10
|
-
props: {
|
|
11
|
-
label: {},
|
|
12
|
-
rules: {},
|
|
13
|
-
inline: { type: Boolean, default: !0 }
|
|
14
|
-
},
|
|
15
|
-
setup(x) {
|
|
16
|
-
const c = x, u = `formitem_${++E}`, i = C(), p = [], o = S("formStyle", { label: "", input: "" }), m = _(() => {
|
|
17
|
-
if (!i || !i.default)
|
|
18
|
-
return !1;
|
|
19
|
-
const e = i?.default();
|
|
20
|
-
return e ? e[0].type.name === "TInputCheckbox" : !1;
|
|
21
|
-
}), y = _(() => m.value === !0);
|
|
22
|
-
return $("id", u), (e, T) => {
|
|
23
|
-
const f = I("t-graphy-label");
|
|
24
|
-
return t(), l("div", V, [
|
|
25
|
-
r("div", {
|
|
26
|
-
class: s(["flex items-center gap-2 my-3", { "flex-col": !c.inline }])
|
|
27
|
-
}, [
|
|
28
|
-
y.value ? (t(), l(d, { key: 0 }, [
|
|
29
|
-
r("div", {
|
|
30
|
-
class: s(["text-right", { [n(o).label]: !0 }])
|
|
31
|
-
}, [
|
|
32
|
-
a(e.$slots, "default")
|
|
33
|
-
], 2),
|
|
34
|
-
b(f, {
|
|
35
|
-
text: c.label,
|
|
36
|
-
for: u,
|
|
37
|
-
class: s([{
|
|
38
|
-
[n(o).input]: !0,
|
|
39
|
-
"cursor-pointer": m.value
|
|
40
|
-
}, "text-left"])
|
|
41
|
-
}, {
|
|
42
|
-
default: v(() => [
|
|
43
|
-
a(e.$slots, "label")
|
|
44
|
-
]),
|
|
45
|
-
_: 3
|
|
46
|
-
}, 8, ["text", "class"])
|
|
47
|
-
], 64)) : (t(), l(d, { key: 1 }, [
|
|
48
|
-
b(f, {
|
|
49
|
-
text: c.label,
|
|
50
|
-
for: u,
|
|
51
|
-
class: s([{
|
|
52
|
-
[n(o).label]: !0,
|
|
53
|
-
"cursor-pointer": m.value
|
|
54
|
-
}, "text-right"])
|
|
55
|
-
}, {
|
|
56
|
-
default: v(() => [
|
|
57
|
-
a(e.$slots, "label")
|
|
58
|
-
]),
|
|
59
|
-
_: 3
|
|
60
|
-
}, 8, ["text", "class"]),
|
|
61
|
-
r("div", {
|
|
62
|
-
class: s({ [n(o).input]: !0 })
|
|
63
|
-
}, [
|
|
64
|
-
a(e.$slots, "default")
|
|
65
|
-
], 2)
|
|
66
|
-
], 64))
|
|
67
|
-
], 2),
|
|
68
|
-
p ? (t(), l("div", w, [
|
|
69
|
-
(t(), l(d, null, B(p, (h, g) => r("span", {
|
|
70
|
-
class: "text-sm text-red-600",
|
|
71
|
-
key: g
|
|
72
|
-
}, F(h), 1)), 64))
|
|
73
|
-
])) : N("", !0)
|
|
74
|
-
]);
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
export {
|
|
79
|
-
z as _
|
|
80
|
-
};
|