@solfacil/girassol 0.11.0 → 0.13.0
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/components.d.ts +2 -0
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +12053 -3004
- package/dist/girassol.umd.js +9 -8
- package/dist/style.css +1 -1
- package/dist/types/components/collapsible/Collapsible.vue.d.ts +114 -0
- package/dist/types/components/collapsible/collapsible.spec.d.ts +1 -0
- package/dist/types/components/collapsible/index.d.ts +2 -0
- package/dist/types/components/collapsible/types.d.ts +4 -0
- package/dist/types/components/date-picker/DatePicker.vue.d.ts +129 -0
- package/dist/types/components/date-picker/datepicker.spec.d.ts +1 -0
- package/dist/types/components/date-picker/index.d.ts +2 -0
- package/dist/types/components/date-picker/types.d.ts +15 -0
- package/dist/types/components/empty-state/EmptyState.vue.d.ts +5 -5
- package/dist/types/components/filters/chip/removable-chip/RemovableChip.vue.d.ts +4 -4
- package/dist/types/components/filters/chip/selectable-chip/SelectableChip.vue.d.ts +1 -1
- package/dist/types/components/forms/button/button/Button.vue.d.ts +4 -4
- package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +1 -1
- package/dist/types/components/forms/inputs/input-text/InputText.vue.d.ts +4 -4
- package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +8 -8
- package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +1 -1
- package/dist/types/components/forms/select/Select.vue.d.ts +10 -10
- package/dist/types/components/informations/tag/Tag.vue.d.ts +4 -4
- package/dist/types/components/modal/Modal.vue.d.ts +9 -9
- package/dist/types/components/search/Search.vue.d.ts +10 -10
- package/dist/types/components/tabs/Tabs.vue.d.ts +20 -12
- package/dist/types/index.d.ts +848 -543
- package/package.json +2 -1
|
@@ -5,8 +5,8 @@ declare const _default: {
|
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
title: Modal['title'];
|
|
8
|
-
target: string;
|
|
9
8
|
size: Modal['size'];
|
|
9
|
+
target: string;
|
|
10
10
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
11
|
id: Modal['id'];
|
|
12
12
|
size?: import("./types").Size | undefined;
|
|
@@ -24,13 +24,13 @@ declare const _default: {
|
|
|
24
24
|
mobile: string;
|
|
25
25
|
};
|
|
26
26
|
}>>> & {
|
|
27
|
-
onClose?: (() => any) | undefined;
|
|
28
27
|
onOpen?: (() => any) | undefined;
|
|
28
|
+
onClose?: (() => any) | undefined;
|
|
29
29
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
30
30
|
"onAction:primary"?: (() => any) | undefined;
|
|
31
31
|
"onAction:secondary"?: (() => any) | undefined;
|
|
32
32
|
"onAction:tertiary"?: (() => any) | undefined;
|
|
33
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "
|
|
33
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "size" | "target">;
|
|
34
34
|
$attrs: {
|
|
35
35
|
[x: string]: unknown;
|
|
36
36
|
};
|
|
@@ -42,7 +42,7 @@ declare const _default: {
|
|
|
42
42
|
}>;
|
|
43
43
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
44
44
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
45
|
-
$emit: ((event: "
|
|
45
|
+
$emit: ((event: "open") => void) & ((event: "close") => void) & ((event: "update:isOpen", value: boolean) => void) & ((event: "action:primary") => void) & ((event: "action:secondary") => void) & ((event: "action:tertiary") => void);
|
|
46
46
|
$el: any;
|
|
47
47
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
48
48
|
id: Modal['id'];
|
|
@@ -61,8 +61,8 @@ declare const _default: {
|
|
|
61
61
|
mobile: string;
|
|
62
62
|
};
|
|
63
63
|
}>>> & {
|
|
64
|
-
onClose?: (() => any) | undefined;
|
|
65
64
|
onOpen?: (() => any) | undefined;
|
|
65
|
+
onClose?: (() => any) | undefined;
|
|
66
66
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
67
67
|
"onAction:primary"?: (() => any) | undefined;
|
|
68
68
|
"onAction:secondary"?: (() => any) | undefined;
|
|
@@ -84,8 +84,8 @@ declare const _default: {
|
|
|
84
84
|
"action:tertiary": () => void;
|
|
85
85
|
}, string, {
|
|
86
86
|
title: Modal['title'];
|
|
87
|
-
target: string;
|
|
88
87
|
size: Modal['size'];
|
|
88
|
+
target: string;
|
|
89
89
|
}> & {
|
|
90
90
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
91
91
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -123,8 +123,8 @@ declare const _default: {
|
|
|
123
123
|
mobile: string;
|
|
124
124
|
};
|
|
125
125
|
}>>> & {
|
|
126
|
-
onClose?: (() => any) | undefined;
|
|
127
126
|
onOpen?: (() => any) | undefined;
|
|
127
|
+
onClose?: (() => any) | undefined;
|
|
128
128
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
129
129
|
"onAction:primary"?: (() => any) | undefined;
|
|
130
130
|
"onAction:secondary"?: (() => any) | undefined;
|
|
@@ -153,8 +153,8 @@ declare const _default: {
|
|
|
153
153
|
mobile: string;
|
|
154
154
|
};
|
|
155
155
|
}>>> & {
|
|
156
|
-
onClose?: (() => any) | undefined;
|
|
157
156
|
onOpen?: (() => any) | undefined;
|
|
157
|
+
onClose?: (() => any) | undefined;
|
|
158
158
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
159
159
|
"onAction:primary"?: (() => any) | undefined;
|
|
160
160
|
"onAction:secondary"?: (() => any) | undefined;
|
|
@@ -176,8 +176,8 @@ declare const _default: {
|
|
|
176
176
|
"action:tertiary": () => void;
|
|
177
177
|
}, string, {
|
|
178
178
|
title: Modal['title'];
|
|
179
|
-
target: string;
|
|
180
179
|
size: Modal['size'];
|
|
180
|
+
target: string;
|
|
181
181
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
182
182
|
$slots: {
|
|
183
183
|
default: (_: {}) => any;
|
|
@@ -4,10 +4,10 @@ declare const _default: {
|
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
|
-
variant: import("./types").Variants;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
size: "small" | "medium";
|
|
10
7
|
modelValue: string;
|
|
8
|
+
size: "small" | "medium";
|
|
9
|
+
placeholder: string;
|
|
10
|
+
variant: import("./types").Variants;
|
|
11
11
|
ariaLabel: Search['ariaLabel'];
|
|
12
12
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
id: Search['id'];
|
|
@@ -25,7 +25,7 @@ declare const _default: {
|
|
|
25
25
|
}>>> & {
|
|
26
26
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
27
27
|
onSearch?: ((value: string) => any) | undefined;
|
|
28
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
28
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "size" | "placeholder" | "variant" | "ariaLabel">;
|
|
29
29
|
$attrs: {
|
|
30
30
|
[x: string]: unknown;
|
|
31
31
|
};
|
|
@@ -60,10 +60,10 @@ declare const _default: {
|
|
|
60
60
|
} & {
|
|
61
61
|
"update:modelValue": (value: string) => void;
|
|
62
62
|
}, string, {
|
|
63
|
-
variant: import("./types").Variants;
|
|
64
|
-
placeholder: string;
|
|
65
|
-
size: "small" | "medium";
|
|
66
63
|
modelValue: string;
|
|
64
|
+
size: "small" | "medium";
|
|
65
|
+
placeholder: string;
|
|
66
|
+
variant: import("./types").Variants;
|
|
67
67
|
ariaLabel: Search['ariaLabel'];
|
|
68
68
|
}> & {
|
|
69
69
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -126,10 +126,10 @@ declare const _default: {
|
|
|
126
126
|
} & {
|
|
127
127
|
"update:modelValue": (value: string) => void;
|
|
128
128
|
}, string, {
|
|
129
|
-
variant: import("./types").Variants;
|
|
130
|
-
placeholder: string;
|
|
131
|
-
size: "small" | "medium";
|
|
132
129
|
modelValue: string;
|
|
130
|
+
size: "small" | "medium";
|
|
131
|
+
placeholder: string;
|
|
132
|
+
variant: import("./types").Variants;
|
|
133
133
|
ariaLabel: Search['ariaLabel'];
|
|
134
134
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
135
135
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Tabs } from './types';
|
|
1
|
+
import type { TabList, Tabs } from './types';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
new (...args: any[]): {
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
tabList: Tabs['tabList'];
|
|
8
8
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
9
|
id: Tabs['id'];
|
|
10
|
-
tabList?:
|
|
10
|
+
tabList?: TabList[] | undefined;
|
|
11
11
|
onlyLine?: Tabs['onlyLine'];
|
|
12
12
|
}>, {
|
|
13
13
|
tabList: () => ({
|
|
@@ -22,7 +22,8 @@ declare const _default: {
|
|
|
22
22
|
disabled?: undefined;
|
|
23
23
|
})[];
|
|
24
24
|
}>>> & {
|
|
25
|
-
"onUpdate:tabList"?: ((tab:
|
|
25
|
+
"onUpdate:tabList"?: ((tab: TabList[]) => any) | undefined;
|
|
26
|
+
"onTabitem:active"?: ((tab: TabList) => any) | undefined;
|
|
26
27
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tabList">;
|
|
27
28
|
$attrs: {
|
|
28
29
|
[x: string]: unknown;
|
|
@@ -35,11 +36,11 @@ declare const _default: {
|
|
|
35
36
|
}>;
|
|
36
37
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
37
38
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
38
|
-
$emit: (event: "update:tabList", tab:
|
|
39
|
+
$emit: ((event: "update:tabList", tab: TabList[]) => void) & ((event: "tabitem:active", tab: TabList) => void);
|
|
39
40
|
$el: any;
|
|
40
41
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
41
42
|
id: Tabs['id'];
|
|
42
|
-
tabList?:
|
|
43
|
+
tabList?: TabList[] | undefined;
|
|
43
44
|
onlyLine?: Tabs['onlyLine'];
|
|
44
45
|
}>, {
|
|
45
46
|
tabList: () => ({
|
|
@@ -54,9 +55,12 @@ declare const _default: {
|
|
|
54
55
|
disabled?: undefined;
|
|
55
56
|
})[];
|
|
56
57
|
}>>> & {
|
|
57
|
-
"onUpdate:tabList"?: ((tab:
|
|
58
|
+
"onUpdate:tabList"?: ((tab: TabList[]) => any) | undefined;
|
|
59
|
+
"onTabitem:active"?: ((tab: TabList) => any) | undefined;
|
|
58
60
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
|
-
"update:tabList": (tab:
|
|
61
|
+
"update:tabList": (tab: TabList[]) => void;
|
|
62
|
+
} & {
|
|
63
|
+
"tabitem:active": (tab: TabList) => void;
|
|
60
64
|
}, string, {
|
|
61
65
|
tabList: Tabs['tabList'];
|
|
62
66
|
}> & {
|
|
@@ -81,7 +85,7 @@ declare const _default: {
|
|
|
81
85
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
82
86
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
83
87
|
id: Tabs['id'];
|
|
84
|
-
tabList?:
|
|
88
|
+
tabList?: TabList[] | undefined;
|
|
85
89
|
onlyLine?: Tabs['onlyLine'];
|
|
86
90
|
}>, {
|
|
87
91
|
tabList: () => ({
|
|
@@ -96,14 +100,15 @@ declare const _default: {
|
|
|
96
100
|
disabled?: undefined;
|
|
97
101
|
})[];
|
|
98
102
|
}>>> & {
|
|
99
|
-
"onUpdate:tabList"?: ((tab:
|
|
103
|
+
"onUpdate:tabList"?: ((tab: TabList[]) => any) | undefined;
|
|
104
|
+
"onTabitem:active"?: ((tab: TabList) => any) | undefined;
|
|
100
105
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
101
106
|
__isFragment?: undefined;
|
|
102
107
|
__isTeleport?: undefined;
|
|
103
108
|
__isSuspense?: undefined;
|
|
104
109
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
105
110
|
id: Tabs['id'];
|
|
106
|
-
tabList?:
|
|
111
|
+
tabList?: TabList[] | undefined;
|
|
107
112
|
onlyLine?: Tabs['onlyLine'];
|
|
108
113
|
}>, {
|
|
109
114
|
tabList: () => ({
|
|
@@ -118,9 +123,12 @@ declare const _default: {
|
|
|
118
123
|
disabled?: undefined;
|
|
119
124
|
})[];
|
|
120
125
|
}>>> & {
|
|
121
|
-
"onUpdate:tabList"?: ((tab:
|
|
126
|
+
"onUpdate:tabList"?: ((tab: TabList[]) => any) | undefined;
|
|
127
|
+
"onTabitem:active"?: ((tab: TabList) => any) | undefined;
|
|
122
128
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
123
|
-
"update:tabList": (tab:
|
|
129
|
+
"update:tabList": (tab: TabList[]) => void;
|
|
130
|
+
} & {
|
|
131
|
+
"tabitem:active": (tab: TabList) => void;
|
|
124
132
|
}, string, {
|
|
125
133
|
tabList: Tabs['tabList'];
|
|
126
134
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|