@caipira/tamandua 0.0.34 → 0.0.35
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/InputSelect.js +2 -2
- package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-BlA3DIYZ.js → InputSelect.vue_vue_type_script_setup_true_lang-vCtwK795.js} +4 -1
- package/dist/ModalForm.js +2 -2
- package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-BpkPebgZ.js → ModalForm.vue_vue_type_script_setup_true_lang-Da80UtoI.js} +1 -1
- package/dist/components.js +2 -2
- package/dist/{plugin-JFEZqDsu.js → plugin-BqzDqLcd.js} +1 -1
- package/dist/{plugin-Daf_swsz.js → plugin-cVdTR_s6.js} +1 -1
- package/dist/{plugins-Bc8aBhAD.js → plugins-MQbI25Au.js} +3 -3
- package/dist/plugins.js +3 -3
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Dropdown/types.d.ts +3 -3
- package/dist/types/components/InputPassword/index.d.ts +1 -1
- package/dist/types/components/InputPrice/index.d.ts +1 -1
- package/dist/types/components/InputSelect/InputSelect.story.d.ts +3 -3
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +8 -8
- package/dist/types/components/InputSelect/index.d.ts +1 -1
- package/dist/types/components/InputSelect/types.d.ts +8 -8
- package/dist/types/components/ModalForm/ModalForm.vue.d.ts +1 -1
- package/dist/types/components/ModalForm/types.d.ts +2 -2
- package/dist/types/components/index.d.ts +4 -4
- package/dist/types/form/crud.d.ts +1 -1
- package/package.json +2 -2
package/dist/InputSelect.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as r } from "./plugin-
|
|
1
|
+
import { _ as p } from "./InputSelect.vue_vue_type_script_setup_true_lang-vCtwK795.js";
|
|
2
|
+
import { p as r } from "./plugin-cVdTR_s6.js";
|
|
3
3
|
export {
|
|
4
4
|
p as InputSelect,
|
|
5
5
|
r as InputSelectPlugin
|
|
@@ -12,7 +12,10 @@ const ce = ["placeholder", "disabled", "readonly"], de = { key: 1 }, fe = {
|
|
|
12
12
|
props: {
|
|
13
13
|
size: { default: re.Default },
|
|
14
14
|
options: { default: () => [] },
|
|
15
|
-
mapper: { type: Function, default: (f) => ({
|
|
15
|
+
mapper: { type: Function, default: (f) => ({
|
|
16
|
+
value: f.id ?? f.uuid,
|
|
17
|
+
label: f
|
|
18
|
+
}) },
|
|
16
19
|
filter: { type: Function, default: (f, T) => T.label.toLowerCase().indexOf(f.toLowerCase()) >= 0 },
|
|
17
20
|
tooltip: { default: "" },
|
|
18
21
|
disabled: { type: Boolean },
|
package/dist/ModalForm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as a } from "./ModalForm.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as l } from "./plugin-
|
|
1
|
+
import { _ as a } from "./ModalForm.vue_vue_type_script_setup_true_lang-Da80UtoI.js";
|
|
2
|
+
import { p as l } from "./plugin-BqzDqLcd.js";
|
|
3
3
|
export {
|
|
4
4
|
a as ModalForm,
|
|
5
5
|
l as ModalFormPlugin
|
|
@@ -13,7 +13,7 @@ const I = {
|
|
|
13
13
|
},
|
|
14
14
|
emits: ["saved", "closed"],
|
|
15
15
|
setup(y, { expose: C, emit: k }) {
|
|
16
|
-
const i = y, v = k, e = c(
|
|
16
|
+
const i = y, v = k, e = c(), p = c(!1), f = c(""), r = c(), s = N(() => i.forms.find((u) => u.key === f.value)), g = (u, t) => {
|
|
17
17
|
f.value = u, e.value = new A(s.value?.title, r), t ? e.value?.edit(t) : e.value?.show();
|
|
18
18
|
}, w = () => {
|
|
19
19
|
e.value?.onSave(!p.value), v("saved");
|
package/dist/components.js
CHANGED
|
@@ -24,13 +24,13 @@ import { _ as U } from "./InputPhone.vue_vue_type_script_setup_true_lang-B4TULqL
|
|
|
24
24
|
import { _ as W } from "./InputPrice.vue_vue_type_script_setup_true_lang-BX4rsYIr.js";
|
|
25
25
|
import { _ as Y } from "./InputRadio.vue_vue_type_script_setup_true_lang-Cu7lzDAh.js";
|
|
26
26
|
import "vue";
|
|
27
|
-
import { _ as $ } from "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
27
|
+
import { _ as $ } from "./InputSelect.vue_vue_type_script_setup_true_lang-vCtwK795.js";
|
|
28
28
|
import { _ as or } from "./InputSwitch.vue_vue_type_script_setup_true_lang-Dq_U-mFJ.js";
|
|
29
29
|
import { _ as er } from "./InputText.vue_vue_type_script_setup_true_lang-Dyvx9Ob-.js";
|
|
30
30
|
import { _ as pr } from "./InputTextarea.vue_vue_type_script_setup_true_lang-DRo5eIw4.js";
|
|
31
31
|
import { _ as sr } from "./Link.vue_vue_type_script_setup_true_lang-DeBJ2UGi.js";
|
|
32
32
|
import { _ as fr } from "./Modal.vue_vue_type_script_setup_true_lang-DLl5shGS.js";
|
|
33
|
-
import { _ as nr } from "./ModalForm.vue_vue_type_script_setup_true_lang-
|
|
33
|
+
import { _ as nr } from "./ModalForm.vue_vue_type_script_setup_true_lang-Da80UtoI.js";
|
|
34
34
|
import { _ as ur } from "./Pagination.vue_vue_type_script_setup_true_lang-PLZQJUd0.js";
|
|
35
35
|
import { _ as lr } from "./Popconfirm.vue_vue_type_script_setup_true_lang-XyjBUx0p.js";
|
|
36
36
|
import { _ as hr } from "./Popover.vue_vue_type_script_setup_true_lang-dnL75W40.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r } from "./register-component-B-fdqewb.js";
|
|
2
|
-
import { _ as s } from "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as s } from "./InputSelect.vue_vue_type_script_setup_true_lang-vCtwK795.js";
|
|
3
3
|
const m = {
|
|
4
4
|
install(o) {
|
|
5
5
|
r(o, s);
|
|
@@ -32,15 +32,15 @@ import { p as y } from "./plugin-BN2jubTY.js";
|
|
|
32
32
|
import { p as T } from "./plugin-CrHDShgh.js";
|
|
33
33
|
import { p as S } from "./plugin-z8Hr_T_O.js";
|
|
34
34
|
import { p as v } from "./plugin-Bog7k3Qf.js";
|
|
35
|
-
import "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
36
|
-
import { p as C } from "./plugin-
|
|
35
|
+
import "./InputSelect.vue_vue_type_script_setup_true_lang-vCtwK795.js";
|
|
36
|
+
import { p as C } from "./plugin-cVdTR_s6.js";
|
|
37
37
|
import { p as G } from "./plugin-DT7LVAli.js";
|
|
38
38
|
import { p as k } from "./plugin-Bbt6pP0l.js";
|
|
39
39
|
import { p as w } from "./plugin-BQFwx3d5.js";
|
|
40
40
|
import "./Link.vue_vue_type_script_setup_true_lang-DeBJ2UGi.js";
|
|
41
41
|
import { p as x } from "./plugin-dL6oP11N.js";
|
|
42
42
|
import { p as D } from "./plugin-BZC231Oj.js";
|
|
43
|
-
import { p as F } from "./plugin-
|
|
43
|
+
import { p as F } from "./plugin-BqzDqLcd.js";
|
|
44
44
|
import { p as L } from "./plugin-YUomn9tF.js";
|
|
45
45
|
import "./Popconfirm.vue_vue_type_script_setup_true_lang-XyjBUx0p.js";
|
|
46
46
|
import { p as M } from "./plugin-Ee4Z5Rtp.js";
|
package/dist/plugins.js
CHANGED
|
@@ -32,15 +32,15 @@ import { p as nr } from "./plugin-BN2jubTY.js";
|
|
|
32
32
|
import { p as ur } from "./plugin-CrHDShgh.js";
|
|
33
33
|
import { p as Pr } from "./plugin-z8Hr_T_O.js";
|
|
34
34
|
import { p as gr } from "./plugin-Bog7k3Qf.js";
|
|
35
|
-
import "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
36
|
-
import { p as fr } from "./plugin-
|
|
35
|
+
import "./InputSelect.vue_vue_type_script_setup_true_lang-vCtwK795.js";
|
|
36
|
+
import { p as fr } from "./plugin-cVdTR_s6.js";
|
|
37
37
|
import { p as hr } from "./plugin-DT7LVAli.js";
|
|
38
38
|
import { p as Tr } from "./plugin-Bbt6pP0l.js";
|
|
39
39
|
import { p as yr } from "./plugin-BQFwx3d5.js";
|
|
40
40
|
import "./Link.vue_vue_type_script_setup_true_lang-DeBJ2UGi.js";
|
|
41
41
|
import { p as Cr } from "./plugin-dL6oP11N.js";
|
|
42
42
|
import { p as Sr } from "./plugin-BZC231Oj.js";
|
|
43
|
-
import { p as vr } from "./plugin-
|
|
43
|
+
import { p as vr } from "./plugin-BqzDqLcd.js";
|
|
44
44
|
import { p as Dr } from "./plugin-YUomn9tF.js";
|
|
45
45
|
import "./Popconfirm.vue_vue_type_script_setup_true_lang-XyjBUx0p.js";
|
|
46
46
|
import { p as Lr } from "./plugin-Ee4Z5Rtp.js";
|
package/dist/tamandua.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getCurrentInstance } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { InputSelectOption } from '../InputSelect/types.js';
|
|
3
3
|
|
|
4
4
|
export type DropdownProps = {
|
|
5
|
-
items?:
|
|
5
|
+
items?: InputSelectOption[];
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
multiple?: boolean;
|
|
8
8
|
isVisible?: boolean;
|
|
@@ -14,7 +14,7 @@ export type DropdownProps = {
|
|
|
14
14
|
};
|
|
15
15
|
interface SelectEvent {
|
|
16
16
|
index: number;
|
|
17
|
-
option:
|
|
17
|
+
option: InputSelectOption;
|
|
18
18
|
hold: boolean;
|
|
19
19
|
}
|
|
20
20
|
export type DropdownEvents = {
|
|
@@ -2,4 +2,4 @@ import { default as InputPasswordPlugin } from './plugin.js';
|
|
|
2
2
|
import { default as InputPassword } from './InputPassword.vue';
|
|
3
3
|
|
|
4
4
|
export { InputPassword, InputPasswordPlugin };
|
|
5
|
-
export type { InputPasswordProps, InputPasswordEvents } from './types.js';
|
|
5
|
+
export type { InputPasswordProps, InputPasswordModel, InputPasswordEvents, } from './types.js';
|
|
@@ -2,4 +2,4 @@ import { default as InputPricePlugin } from './plugin.js';
|
|
|
2
2
|
import { default as InputPrice } from './InputPrice.vue';
|
|
3
3
|
|
|
4
4
|
export { InputPrice, InputPricePlugin };
|
|
5
|
-
export type { InputPriceProps, InputPriceEvents } from './types.js';
|
|
5
|
+
export type { InputPriceModel, InputPriceProps, InputPriceEvents, } from './types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { InputSelectOption } from './types.js';
|
|
1
2
|
import { APISearchFilters } from '../../types/api.js';
|
|
2
|
-
import { SelectOption } from './types.js';
|
|
3
3
|
import { Pagination } from '../../types/ui.js';
|
|
4
4
|
|
|
5
5
|
declare const _default: {
|
|
@@ -30,10 +30,10 @@ export declare const Select: (args: any) => {
|
|
|
30
30
|
}[];
|
|
31
31
|
value3: import('vue').Ref<never[]>;
|
|
32
32
|
search(filters?: APISearchFilters): Promise<{
|
|
33
|
-
items:
|
|
33
|
+
items: InputSelectOption[];
|
|
34
34
|
pagination: Pagination;
|
|
35
35
|
}>;
|
|
36
|
-
mapper(book: any):
|
|
36
|
+
mapper(book: any): InputSelectOption;
|
|
37
37
|
};
|
|
38
38
|
template: string;
|
|
39
39
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ElementSize, ElementPosition } from '../../enums/ui.js';
|
|
2
|
-
import {
|
|
2
|
+
import { InputSelectProps, InputSelectOption } from './types.js';
|
|
3
3
|
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputSelectProps>, {
|
|
5
5
|
size: ElementSize;
|
|
6
6
|
options: () => never[];
|
|
7
|
-
mapper: (i: any) =>
|
|
8
|
-
filter: (input: string, option:
|
|
7
|
+
mapper: (i: any) => InputSelectOption;
|
|
8
|
+
filter: (input: string, option: InputSelectOption) => boolean;
|
|
9
9
|
tooltip: string;
|
|
10
10
|
multiple: boolean;
|
|
11
11
|
placeholder: string;
|
|
@@ -22,8 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputSelectProps>, {
|
|
23
23
|
size: ElementSize;
|
|
24
24
|
options: () => never[];
|
|
25
|
-
mapper: (i: any) =>
|
|
26
|
-
filter: (input: string, option:
|
|
25
|
+
mapper: (i: any) => InputSelectOption;
|
|
26
|
+
filter: (input: string, option: InputSelectOption) => boolean;
|
|
27
27
|
tooltip: string;
|
|
28
28
|
multiple: boolean;
|
|
29
29
|
placeholder: string;
|
|
@@ -38,12 +38,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
38
38
|
}>>> & {
|
|
39
39
|
"onUpdate:model-value"?: ((val: any) => any) | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
filter: (input: string, option:
|
|
41
|
+
filter: (input: string, option: InputSelectOption) => boolean;
|
|
42
42
|
size: ElementSize;
|
|
43
43
|
multiple: boolean;
|
|
44
|
-
options:
|
|
44
|
+
options: InputSelectOption[];
|
|
45
45
|
placeholder: string;
|
|
46
|
-
mapper: (i: any) =>
|
|
46
|
+
mapper: (i: any) => InputSelectOption;
|
|
47
47
|
tooltip: string;
|
|
48
48
|
isSearchable: boolean;
|
|
49
49
|
dropdownPlacement: "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start";
|
|
@@ -2,4 +2,4 @@ import { default as InputSelectPlugin } from './plugin.js';
|
|
|
2
2
|
import { default as InputSelect } from './InputSelect.vue';
|
|
3
3
|
|
|
4
4
|
export { InputSelect, InputSelectPlugin };
|
|
5
|
-
export type { InputSelectProps, InputSelectEvents } from './types.js';
|
|
5
|
+
export type { InputSelectValue, InputSelectProps, InputSelectOption, InputSelectEvents, } from './types.js';
|
|
@@ -3,8 +3,8 @@ import { APISearchFilters } from '../../types/api.js';
|
|
|
3
3
|
import { Pagination } from '../../types/ui.js';
|
|
4
4
|
|
|
5
5
|
export type SelectValuePrimitives = string | number;
|
|
6
|
-
export type
|
|
7
|
-
export type
|
|
6
|
+
export type InputSelectValue = SelectValuePrimitives | Array<SelectValuePrimitives>;
|
|
7
|
+
export type InputSelectOption = {
|
|
8
8
|
/** Optional icon, to be appended to the label */
|
|
9
9
|
icon?: `${Icon}`;
|
|
10
10
|
/** Option label, either a string or an object containing the props necessary to render the option */
|
|
@@ -22,7 +22,7 @@ export type SelectOption = {
|
|
|
22
22
|
action?: never;
|
|
23
23
|
} | {
|
|
24
24
|
/** Option value */
|
|
25
|
-
value:
|
|
25
|
+
value: InputSelectValue;
|
|
26
26
|
action?: never;
|
|
27
27
|
isGroupLabel?: never;
|
|
28
28
|
} | {
|
|
@@ -36,11 +36,11 @@ export type SelectOption = {
|
|
|
36
36
|
});
|
|
37
37
|
export type InputSelectProps = {
|
|
38
38
|
size?: ElementSize;
|
|
39
|
-
options?:
|
|
40
|
-
/** Mapper to convert search results to
|
|
41
|
-
mapper?: (i: any) =>
|
|
39
|
+
options?: InputSelectOption[];
|
|
40
|
+
/** Mapper to convert search results to InputSelectOption */
|
|
41
|
+
mapper?: (i: any) => InputSelectOption;
|
|
42
42
|
/** Filter function */
|
|
43
|
-
filter?: (input: string, option:
|
|
43
|
+
filter?: (input: string, option: InputSelectOption) => boolean;
|
|
44
44
|
tooltip?: string;
|
|
45
45
|
disabled?: boolean;
|
|
46
46
|
resource?: (filters?: APISearchFilters | undefined) => Promise<{
|
|
@@ -48,7 +48,7 @@ export type InputSelectProps = {
|
|
|
48
48
|
pagination: Pagination;
|
|
49
49
|
}>;
|
|
50
50
|
multiple?: boolean;
|
|
51
|
-
modelValue?:
|
|
51
|
+
modelValue?: InputSelectValue;
|
|
52
52
|
placeholder?: string;
|
|
53
53
|
initialValue?: any;
|
|
54
54
|
/** Indicates whether the user can search the options */
|
|
@@ -21,7 +21,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
21
21
|
onClosed?: (() => any) | undefined;
|
|
22
22
|
onSaved?: (() => any) | undefined;
|
|
23
23
|
}, {
|
|
24
|
-
options: import("../
|
|
24
|
+
options: import("../index.js").InputSelectOption[];
|
|
25
25
|
formClass: string;
|
|
26
26
|
}, {}>;
|
|
27
27
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { InputSelectOption } from '../InputSelect/types.js';
|
|
1
2
|
import { ComponentExposed } from 'vue-component-type-helpers';
|
|
2
|
-
import { SelectOption } from '../InputSelect/types.js';
|
|
3
3
|
import { default as Form } from '../Form/Form.vue';
|
|
4
4
|
|
|
5
5
|
export type FormItem = {
|
|
@@ -10,7 +10,7 @@ export type FormItem = {
|
|
|
10
10
|
};
|
|
11
11
|
export type ModalFormProps = {
|
|
12
12
|
forms: FormItem[];
|
|
13
|
-
options?:
|
|
13
|
+
options?: InputSelectOption[];
|
|
14
14
|
formClass?: string;
|
|
15
15
|
};
|
|
16
16
|
export type ModalFormEvents = {
|
|
@@ -15,11 +15,11 @@ import { Link, LinkProps, LinkEvents } from './Link/index.js';
|
|
|
15
15
|
import { InputTextarea, InputTextareaProps, InputTextareaEvents } from './InputTextarea/index.js';
|
|
16
16
|
import { InputText, InputTextProps, InputTextEvents } from './InputText/index.js';
|
|
17
17
|
import { InputSwitch, InputSwitchProps, InputSwitchEvents } from './InputSwitch/index.js';
|
|
18
|
-
import { InputSelect, InputSelectProps, InputSelectEvents } from './InputSelect/index.js';
|
|
18
|
+
import { InputSelect, InputSelectValue, InputSelectProps, InputSelectOption, InputSelectEvents } from './InputSelect/index.js';
|
|
19
19
|
import { InputRadio, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents } from './InputRadio/index.js';
|
|
20
|
-
import { InputPrice, InputPriceProps, InputPriceEvents } from './InputPrice/index.js';
|
|
20
|
+
import { InputPrice, InputPriceModel, InputPriceProps, InputPriceEvents } from './InputPrice/index.js';
|
|
21
21
|
import { InputPhone, InputPhoneProps, InputPhoneEvents } from './InputPhone/index.js';
|
|
22
|
-
import { InputPassword, InputPasswordProps, InputPasswordEvents } from './InputPassword/index.js';
|
|
22
|
+
import { InputPassword, InputPasswordModel, InputPasswordProps, InputPasswordEvents } from './InputPassword/index.js';
|
|
23
23
|
import { InputMultiplier, InputMultiplierProps, InputMultiplierEvents } from './InputMultiplier/index.js';
|
|
24
24
|
import { InputDate, InputDateProps, InputDateEvents } from './InputDate/index.js';
|
|
25
25
|
import { InputColor, InputColorProps, InputColorEvents } from './InputColor/index.js';
|
|
@@ -43,4 +43,4 @@ import { Backdrop, BackdropProps, BackdropEvents } from './Backdrop/index.js';
|
|
|
43
43
|
import { Avatar, AvatarProps } from './Avatar/index.js';
|
|
44
44
|
|
|
45
45
|
export { Avatar, Backdrop, Button, ChartLine, ChartTreemap, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon, InputAvatar, InputCheckbox, InputColor, InputDate, InputMultiplier, InputPassword, InputPhone, InputPrice, InputRadio, InputSelect, InputSwitch, InputText, InputTextarea, Link, Modal, ModalForm, Pagination, Popconfirm, Popover, ProgressCircle, ProgressLine, SensitiveInfo, Skeleton, Tab, Table, Tag, Toast, };
|
|
46
|
-
export type { AvatarProps, BackdropProps, BackdropEvents, ButtonProps, ButtonEvents, ChartLineProps, ChartTreemapProps, DrawerProps, DrawerEvents, DropdownProps, DropdownEvents, FileDropProps, FileDropEvents, FormProps, FormEvents, FormItemProps, GraphyEmptyProps, GraphyLabelProps, GraphyPriceProps, GraphySubtitleProps, GraphyTitleProps, IconProps, InputAvatarProps, InputAvatarEvents, InputCheckboxProps, InputCheckboxEvents, InputColorProps, InputColorEvents, InputDateProps, InputDateEvents, InputMultiplierEvents, InputPasswordProps, InputPasswordEvents, InputPhoneProps, InputPhoneEvents, InputPriceProps, InputPriceEvents, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents, InputSelectProps, InputSelectEvents, InputSwitchProps, InputSwitchEvents, InputMultiplierProps, InputTextProps, InputTextEvents, InputTextareaProps, InputTextareaEvents, LinkProps, LinkEvents, ModalProps, ModalEvents, ModalFormProps, ModalFormEvents, PaginationProps, PaginationEvents, PopconfirmProps, PopconfirmEvents, PopoverProps, ProgressCircleProps, ProgressLineProps, SensitiveInfoProps, SkeletonProps, TabProps, TableProps, TableEvents, TagEvents, TagProps, ToastProps, ToastEvents, };
|
|
46
|
+
export type { AvatarProps, BackdropProps, BackdropEvents, ButtonProps, ButtonEvents, ChartLineProps, ChartTreemapProps, DrawerProps, DrawerEvents, DropdownProps, DropdownEvents, FileDropProps, FileDropEvents, FormProps, FormEvents, FormItemProps, GraphyEmptyProps, GraphyLabelProps, GraphyPriceProps, GraphySubtitleProps, GraphyTitleProps, IconProps, InputAvatarProps, InputAvatarEvents, InputCheckboxProps, InputCheckboxEvents, InputColorProps, InputColorEvents, InputDateProps, InputDateEvents, InputMultiplierEvents, InputPasswordModel, InputPasswordProps, InputPasswordEvents, InputPhoneProps, InputPhoneEvents, InputPriceModel, InputPriceProps, InputPriceEvents, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents, InputSelectValue, InputSelectProps, InputSelectOption, InputSelectEvents, InputSwitchProps, InputSwitchEvents, InputMultiplierProps, InputTextProps, InputTextEvents, InputTextareaProps, InputTextareaEvents, LinkProps, LinkEvents, ModalProps, ModalEvents, ModalFormProps, ModalFormEvents, PaginationProps, PaginationEvents, PopconfirmProps, PopconfirmEvents, PopoverProps, ProgressCircleProps, ProgressLineProps, SensitiveInfoProps, SkeletonProps, TabProps, TableProps, TableEvents, TagEvents, TagProps, ToastProps, ToastEvents, };
|
|
@@ -13,7 +13,7 @@ export default class CrudService {
|
|
|
13
13
|
};
|
|
14
14
|
isLoading: boolean;
|
|
15
15
|
formReference: ComponentExposed<typeof ModalForm> | undefined;
|
|
16
|
-
constructor(entity: string, formReference:
|
|
16
|
+
constructor(entity: string, formReference: any);
|
|
17
17
|
get isEditing(): boolean;
|
|
18
18
|
get isCreating(): boolean;
|
|
19
19
|
show(state?: FormStates): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caipira/tamandua",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UI library for the Caipira ecosystem",
|
|
6
6
|
"license": "GPL-3.0-only",
|
|
@@ -114,4 +114,4 @@
|
|
|
114
114
|
"vue": "^3.4.21",
|
|
115
115
|
"vue-tsc": "^2.0.13"
|
|
116
116
|
}
|
|
117
|
-
}
|
|
117
|
+
}
|