@wikicasa-dev/components 1.10.1 → 2.0.1
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/AccessibleSelect.js +1 -1
- package/dist/BaseAutocomplete.js +1 -1
- package/dist/BaseButton.js +1 -1
- package/dist/BaseDropDown.js +1 -1
- package/dist/BaseIcon.js +24 -36
- package/dist/BaseModal.js +1 -1
- package/dist/BaseTabList.js +1 -1
- package/dist/BaseTabView.js +1 -1
- package/dist/CheckboxBtn.js +39 -40
- package/dist/CheckboxGroup.js +1 -1
- package/dist/RadioButton.js +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/StaticSpinner.js +2 -2
- package/dist/UIKit/AccessibleSelect.vue.d.ts +35 -0
- package/dist/UIKit/BaseButton.vue.d.ts +21 -26
- package/dist/UIKit/BaseDropDown.vue.d.ts +3 -0
- package/dist/UIKit/BaseFloatingLabel.vue.d.ts +1 -1
- package/dist/UIKit/BaseIcon.vue.d.ts +16 -49
- package/dist/UIKit/BaseUploadFile.vue.d.ts +2 -2
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +21 -9
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +36 -15
- package/dist/UIKit/Radio/RadioButton.vue.d.ts +18 -9
- package/dist/UIKit/Radio/RadioGroup.vue.d.ts +16 -16
- package/dist/UIKit/StaticSpinner.vue.d.ts +1 -4
- package/dist/UIKit/types.d.ts +5 -0
- package/dist/assets/BaseIcon.css +1 -1
- package/dist/assets/CheckboxBtn.css +1 -1
- package/dist/assets/StaticSpinner.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/chunks/{AccessibleSelect.vue_vue_type_script_setup_true_lang.BlYI8zO3.js → AccessibleSelect.vue_vue_type_script_setup_true_lang.MhVm5k0I.js} +43 -35
- package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.FVR77AHA.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.CwGssIPe.js} +1 -1
- package/dist/chunks/BaseButton.vue_vue_type_script_setup_true_lang.BWZPE2Gf.js +66 -0
- package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.B6bPMnvl.js → BaseDropDown.vue_vue_type_script_setup_true_lang.H0XcZCcL.js} +16 -15
- package/dist/chunks/{BaseModal.vue_vue_type_style_index_0_lang.Bl0EkSNw.js → BaseModal.vue_vue_type_style_index_0_lang.CautEumd.js} +2 -2
- package/dist/chunks/{BaseTabView.vue_vue_type_script_setup_true_lang.CrzWV8VV.js → BaseTabView.vue_vue_type_script_setup_true_lang.7M1aa7PG.js} +1 -1
- package/dist/chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.JlHKkjHJ.js +111 -0
- package/dist/chunks/RadioButton.vue_vue_type_script_setup_true_lang.CiJAhkRj.js +58 -0
- package/dist/chunks/RadioGroup.vue_vue_type_script_setup_true_lang.BalzO73O.js +62 -0
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/dist/chunks/BaseButton.vue_vue_type_script_setup_true_lang.dlLTK59i.js +0 -79
- package/dist/chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.D-AjsQLI.js +0 -100
- package/dist/chunks/RadioButton.vue_vue_type_script_setup_true_lang.DR6a7QAi.js +0 -53
- package/dist/chunks/RadioGroup.vue_vue_type_script_setup_true_lang.BYlMCUWP.js +0 -59
- package/dist/chunks/{BaseTabList.vue_vue_type_script_setup_true_lang.BEX0zH-7.js → BaseTabList.vue_vue_type_script_setup_true_lang.tsvA8m8Z.js} +1 -1
package/dist/AccessibleSelect.js
CHANGED
package/dist/BaseAutocomplete.js
CHANGED
package/dist/BaseButton.js
CHANGED
package/dist/BaseDropDown.js
CHANGED
package/dist/BaseIcon.js
CHANGED
|
@@ -1,40 +1,28 @@
|
|
|
1
|
-
import { defineComponent as e, openBlock as a, createElementBlock as i, normalizeClass as
|
|
2
|
-
import { _ as
|
|
3
|
-
import './assets/BaseIcon.css';const r = e({
|
|
4
|
-
|
|
1
|
+
import { defineComponent as e, openBlock as a, createElementBlock as i, normalizeClass as o, normalizeStyle as s } from "vue";
|
|
2
|
+
import { _ as l } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
|
+
import './assets/BaseIcon.css';const n = ["id", "alt", "src", "width", "height", "loading"], r = /* @__PURE__ */ e({
|
|
4
|
+
__name: "BaseIcon",
|
|
5
5
|
props: {
|
|
6
|
-
lazyLoading: { type: Boolean
|
|
7
|
-
altAttribute: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
6
|
+
lazyLoading: { type: Boolean },
|
|
7
|
+
altAttribute: {},
|
|
8
|
+
iconType: { default: "icon-md" },
|
|
9
|
+
iconClass: { default: "uikit-mr-5px" },
|
|
10
|
+
width: {},
|
|
11
|
+
height: {}
|
|
12
|
+
},
|
|
13
|
+
setup(d) {
|
|
14
|
+
return (t, c) => (a(), i("img", {
|
|
15
|
+
id: t.$attrs.id,
|
|
16
|
+
class: o(["uikit-inline-block", t.iconType, t.iconClass]),
|
|
17
|
+
alt: t.altAttribute || t.$attrs.alt,
|
|
18
|
+
style: s(t.$attrs.style),
|
|
19
|
+
src: t.$attrs.src ? t.$attrs.src : "",
|
|
20
|
+
width: t.width,
|
|
21
|
+
height: t.height,
|
|
22
|
+
loading: t.lazyLoading ? "lazy" : "eager"
|
|
23
|
+
}, null, 14, n));
|
|
23
24
|
}
|
|
24
|
-
}),
|
|
25
|
-
function d(t, p, c, f, m, u) {
|
|
26
|
-
return a(), i("img", {
|
|
27
|
-
id: t.$attrs.id,
|
|
28
|
-
class: n(["uikit-inline-block", t.iconType, t.iconClass]),
|
|
29
|
-
alt: t.altAttribute || t.$attrs.alt,
|
|
30
|
-
style: o(t.$attrs.style),
|
|
31
|
-
src: t.$attrs.src ? t.$attrs.src : "",
|
|
32
|
-
width: t.$attrs.width,
|
|
33
|
-
height: t.$attrs.height,
|
|
34
|
-
loading: t.lazyLoading ? "lazy" : "eager"
|
|
35
|
-
}, null, 14, l);
|
|
36
|
-
}
|
|
37
|
-
const h = /* @__PURE__ */ s(r, [["render", d], ["__scopeId", "data-v-8b2e5b08"]]);
|
|
25
|
+
}), m = /* @__PURE__ */ l(r, [["__scopeId", "data-v-40c30bac"]]);
|
|
38
26
|
export {
|
|
39
|
-
|
|
27
|
+
m as default
|
|
40
28
|
};
|
package/dist/BaseModal.js
CHANGED
package/dist/BaseTabList.js
CHANGED
package/dist/BaseTabView.js
CHANGED
package/dist/CheckboxBtn.js
CHANGED
|
@@ -1,73 +1,72 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import './assets/CheckboxBtn.css';const v = ["id"],
|
|
1
|
+
import { defineComponent as b, useId as f, computed as h, openBlock as r, createElementBlock as s, normalizeClass as l, withModifiers as o, createElementVNode as u, renderSlot as m, toDisplayString as C, createCommentVNode as g } from "vue";
|
|
2
|
+
import { _ as y } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
|
+
import './assets/CheckboxBtn.css';const v = ["id"], V = ["id", "data-cy", "checked", "disabled"], B = ["for"], w = /* @__PURE__ */ b({
|
|
4
4
|
__name: "CheckboxBtn",
|
|
5
5
|
props: {
|
|
6
6
|
id: {},
|
|
7
|
+
dataCy: {},
|
|
8
|
+
disabled: { type: Boolean },
|
|
9
|
+
checked: { type: Boolean, default: () => {
|
|
10
|
+
} },
|
|
11
|
+
required: { type: Boolean },
|
|
7
12
|
inputClass: {},
|
|
8
13
|
inline: { type: Boolean, default: !1 },
|
|
9
14
|
label: { default: "" },
|
|
10
15
|
labelClass: {},
|
|
11
16
|
isValid: { default: null },
|
|
12
17
|
containerId: {},
|
|
13
|
-
containerClass: {},
|
|
14
18
|
handleLabelClick: { type: Boolean, default: !0 },
|
|
15
19
|
modelValue: { type: Boolean, default: !1 }
|
|
16
20
|
},
|
|
17
|
-
emits: ["click", "change", "
|
|
18
|
-
setup(i, { emit:
|
|
19
|
-
const
|
|
20
|
-
const e =
|
|
21
|
-
|
|
22
|
-
id: i.id ??
|
|
21
|
+
emits: ["click", "change", "update:modelValue"],
|
|
22
|
+
setup(i, { emit: c }) {
|
|
23
|
+
const a = c, d = f(), n = h(() => `${i.id ?? d}`), k = () => {
|
|
24
|
+
const e = i.checked ?? i.modelValue;
|
|
25
|
+
a("change", {
|
|
26
|
+
id: i.id ?? d,
|
|
23
27
|
label: i.label,
|
|
24
28
|
checked: !e
|
|
25
|
-
}),
|
|
26
|
-
},
|
|
27
|
-
|
|
29
|
+
}), a("update:modelValue", !e);
|
|
30
|
+
}, p = () => {
|
|
31
|
+
k(), i.handleLabelClick && a("click");
|
|
28
32
|
};
|
|
29
|
-
return (e, t) => (
|
|
33
|
+
return (e, t) => (r(), s("div", {
|
|
30
34
|
id: e.containerId,
|
|
31
|
-
class:
|
|
32
|
-
|
|
33
|
-
{ "uikit-py-10px": !e.inline && !e.$attrs["wrapper-margin-y"] },
|
|
34
|
-
e.$attrs["wrapper-margin-y"],
|
|
35
|
-
e.containerClass
|
|
36
|
-
]]),
|
|
37
|
-
onClick: r(b, ["stop"])
|
|
35
|
+
class: l(["uikit-group uikit-relative uikit-items-center uikit-pl-30px hover:uikit-cursor-pointer", [{ "uikit-inline-flex": e.inline }, { "uikit-flex": !e.inline }]]),
|
|
36
|
+
onClick: o(p, ["stop"])
|
|
38
37
|
}, [
|
|
39
|
-
|
|
40
|
-
id:
|
|
38
|
+
u("input", {
|
|
39
|
+
id: n.value,
|
|
41
40
|
ref: "checkbox",
|
|
42
|
-
"data-cy": e
|
|
43
|
-
class:
|
|
41
|
+
"data-cy": e.dataCy,
|
|
42
|
+
class: l(["uikit-pointer-events-none uikit-absolute uikit-left-0 uikit-size-4 uikit-appearance-none uikit-rounded-3xs uikit-border uikit-border-solid uikit-border-w-secondary uikit-bg-white checked:uikit-bg-center checked:uikit-bg-no-repeat group-hover:uikit-cursor-pointer", [
|
|
44
43
|
{ "!uikit-border-w-danger": e.isValid === !1 },
|
|
45
44
|
e.inputClass,
|
|
46
45
|
e.isValid === !1 ? "checked-bg-invalid" : "checked-bg"
|
|
47
46
|
]]),
|
|
48
47
|
type: "checkbox",
|
|
49
|
-
checked: e
|
|
50
|
-
disabled: e
|
|
51
|
-
onChange: t[0] || (t[0] =
|
|
48
|
+
checked: e.checked ?? e.modelValue,
|
|
49
|
+
disabled: e.disabled,
|
|
50
|
+
onChange: t[0] || (t[0] = o(() => {
|
|
52
51
|
}, ["prevent", "stop"])),
|
|
53
|
-
onClick: t[1] || (t[1] =
|
|
52
|
+
onClick: t[1] || (t[1] = o(() => {
|
|
54
53
|
}, ["prevent", "stop"]))
|
|
55
|
-
}, null, 42,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
class:
|
|
59
|
-
for:
|
|
60
|
-
}, C(e.label), 11,
|
|
61
|
-
e
|
|
54
|
+
}, null, 42, V),
|
|
55
|
+
m(e.$slots, "label", {}, () => [
|
|
56
|
+
u("label", {
|
|
57
|
+
class: l(["uikit-text-sm group-hover:uikit-cursor-pointer", [e.labelClass, { "uikit-text-w-danger": e.isValid === !1 }]]),
|
|
58
|
+
for: n.value
|
|
59
|
+
}, C(e.label), 11, B),
|
|
60
|
+
e.required ? (r(), s("span", {
|
|
62
61
|
key: 0,
|
|
63
|
-
class:
|
|
62
|
+
class: l(["required after:uikit-content-['*']", [
|
|
64
63
|
e.isValid !== !1 ? "after:uikit-text-w-primary" : "after:uikit-text-w-danger"
|
|
65
64
|
]])
|
|
66
|
-
}, null, 2)) :
|
|
65
|
+
}, null, 2)) : g("", !0)
|
|
67
66
|
], !0)
|
|
68
67
|
], 10, v));
|
|
69
68
|
}
|
|
70
|
-
}),
|
|
69
|
+
}), z = /* @__PURE__ */ y(w, [["__scopeId", "data-v-be174811"]]);
|
|
71
70
|
export {
|
|
72
|
-
|
|
71
|
+
z as default
|
|
73
72
|
};
|
package/dist/CheckboxGroup.js
CHANGED
package/dist/RadioButton.js
CHANGED
package/dist/RadioGroup.js
CHANGED
package/dist/StaticSpinner.js
CHANGED
|
@@ -22,7 +22,7 @@ import './assets/StaticSpinner.css';const c = {
|
|
|
22
22
|
}, null, 8, i)
|
|
23
23
|
]));
|
|
24
24
|
}
|
|
25
|
-
}),
|
|
25
|
+
}), d = /* @__PURE__ */ n(a, [["__scopeId", "data-v-10e0c0fd"]]);
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
d as default
|
|
28
28
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AccessibleSelectOptions } from './types';
|
|
2
|
+
import { ClassType } from '@wikicasa-dev/types';
|
|
2
3
|
declare function __VLS_template(): {
|
|
3
4
|
slots: {
|
|
4
5
|
lefticon?(_: {}): any;
|
|
@@ -25,6 +26,16 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
25
26
|
*/
|
|
26
27
|
closeOnBodyPressed?: boolean;
|
|
27
28
|
border?: boolean;
|
|
29
|
+
fieldsetClasses?: ClassType;
|
|
30
|
+
legendClasses?: ClassType;
|
|
31
|
+
dropdownClasses?: ClassType;
|
|
32
|
+
arrowIcon?: Partial<{
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
strokeColor: `#${string}`;
|
|
36
|
+
classes: ClassType;
|
|
37
|
+
}>;
|
|
38
|
+
dataCy?: string;
|
|
28
39
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
40
|
"update:modelValue": (args_0: AccessibleSelectOptions) => any;
|
|
30
41
|
}, string, import('vue').PublicProps, Readonly<{
|
|
@@ -43,15 +54,39 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
43
54
|
*/
|
|
44
55
|
closeOnBodyPressed?: boolean;
|
|
45
56
|
border?: boolean;
|
|
57
|
+
fieldsetClasses?: ClassType;
|
|
58
|
+
legendClasses?: ClassType;
|
|
59
|
+
dropdownClasses?: ClassType;
|
|
60
|
+
arrowIcon?: Partial<{
|
|
61
|
+
width: number;
|
|
62
|
+
height: number;
|
|
63
|
+
strokeColor: `#${string}`;
|
|
64
|
+
classes: ClassType;
|
|
65
|
+
}>;
|
|
66
|
+
dataCy?: string;
|
|
46
67
|
}> & Readonly<{
|
|
47
68
|
"onUpdate:modelValue"?: ((args_0: AccessibleSelectOptions) => any) | undefined;
|
|
48
69
|
}>, {
|
|
49
70
|
label: string;
|
|
71
|
+
arrowIcon: Partial<{
|
|
72
|
+
width: number;
|
|
73
|
+
height: number;
|
|
74
|
+
strokeColor: `#${string}`;
|
|
75
|
+
classes: ClassType;
|
|
76
|
+
}>;
|
|
77
|
+
dataCy: string;
|
|
50
78
|
isValid: boolean | null;
|
|
51
79
|
modelValue: AccessibleSelectOptions;
|
|
52
80
|
dropdownPosition: "top" | "bottom";
|
|
81
|
+
feedback: Partial<{
|
|
82
|
+
valid: string;
|
|
83
|
+
invalid: string;
|
|
84
|
+
}>;
|
|
53
85
|
closeOnBodyPressed: boolean;
|
|
54
86
|
border: boolean;
|
|
87
|
+
fieldsetClasses: ClassType;
|
|
88
|
+
legendClasses: ClassType;
|
|
89
|
+
dropdownClasses: ClassType;
|
|
55
90
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
56
91
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
57
92
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ButtonType } from './types';
|
|
2
|
+
type HTMLButtonType = "button" | "submit" | "reset" | undefined;
|
|
2
3
|
declare function __VLS_template(): {
|
|
3
4
|
slots: {
|
|
4
5
|
default?(_: {
|
|
@@ -11,50 +12,44 @@ declare function __VLS_template(): {
|
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
14
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
14
|
-
|
|
15
|
-
btnClass?: ButtonTypes;
|
|
15
|
+
btnClass?: ButtonType;
|
|
16
16
|
outlined?: boolean;
|
|
17
17
|
size?: "sm" | "lg" | "";
|
|
18
|
-
|
|
19
|
-
iconNameHovering?: string;
|
|
20
|
-
iconClass?: string;
|
|
21
|
-
isEmpty?: boolean;
|
|
18
|
+
withMinWidth?: boolean;
|
|
22
19
|
keepActive?: boolean;
|
|
23
20
|
isLoading?: boolean;
|
|
24
21
|
disabled?: boolean;
|
|
22
|
+
ariaLabel?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Add the title for screen readers when the button consists of just an icon
|
|
25
|
+
*/
|
|
26
|
+
title?: string;
|
|
27
|
+
dataCy?: string;
|
|
28
|
+
type?: HTMLButtonType;
|
|
25
29
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
30
|
click: (e: Event) => any;
|
|
27
31
|
mouseover: (e: Event) => any;
|
|
28
32
|
mouseout: (e: Event) => any;
|
|
29
33
|
}, string, import('vue').PublicProps, Readonly<{
|
|
30
|
-
|
|
31
|
-
btnClass?: ButtonTypes;
|
|
34
|
+
btnClass?: ButtonType;
|
|
32
35
|
outlined?: boolean;
|
|
33
36
|
size?: "sm" | "lg" | "";
|
|
34
|
-
|
|
35
|
-
iconNameHovering?: string;
|
|
36
|
-
iconClass?: string;
|
|
37
|
-
isEmpty?: boolean;
|
|
37
|
+
withMinWidth?: boolean;
|
|
38
38
|
keepActive?: boolean;
|
|
39
39
|
isLoading?: boolean;
|
|
40
40
|
disabled?: boolean;
|
|
41
|
+
ariaLabel?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Add the title for screen readers when the button consists of just an icon
|
|
44
|
+
*/
|
|
45
|
+
title?: string;
|
|
46
|
+
dataCy?: string;
|
|
47
|
+
type?: HTMLButtonType;
|
|
41
48
|
}> & Readonly<{
|
|
42
49
|
onClick?: ((e: Event) => any) | undefined;
|
|
43
50
|
onMouseover?: ((e: Event) => any) | undefined;
|
|
44
51
|
onMouseout?: ((e: Event) => any) | undefined;
|
|
45
|
-
}>, {
|
|
46
|
-
disabled: boolean;
|
|
47
|
-
size: "sm" | "lg" | "";
|
|
48
|
-
iconName: string;
|
|
49
|
-
iconClass: string;
|
|
50
|
-
lazyLoadIcon: boolean;
|
|
51
|
-
btnClass: ButtonTypes;
|
|
52
|
-
outlined: boolean;
|
|
53
|
-
iconNameHovering: string;
|
|
54
|
-
isEmpty: boolean;
|
|
55
|
-
keepActive: boolean;
|
|
56
|
-
isLoading: boolean;
|
|
57
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
52
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
58
53
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
59
54
|
export default _default;
|
|
60
55
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -32,6 +32,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
32
32
|
dropdownElement?: "div" | "ul" | "ol";
|
|
33
33
|
keepState?: "opened" | "closed" | "";
|
|
34
34
|
activateKeyboardController?: boolean;
|
|
35
|
+
dataCy?: string;
|
|
35
36
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
37
|
click: () => any;
|
|
37
38
|
"update:dropdownState": (args_0: boolean) => any;
|
|
@@ -49,11 +50,13 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
49
50
|
dropdownElement?: "div" | "ul" | "ol";
|
|
50
51
|
keepState?: "opened" | "closed" | "";
|
|
51
52
|
activateKeyboardController?: boolean;
|
|
53
|
+
dataCy?: string;
|
|
52
54
|
}> & Readonly<{
|
|
53
55
|
onClick?: (() => any) | undefined;
|
|
54
56
|
"onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
55
57
|
}>, {
|
|
56
58
|
arrowWidth: number;
|
|
59
|
+
dataCy: string;
|
|
57
60
|
btnClasses: string;
|
|
58
61
|
labelClasses: ClassType;
|
|
59
62
|
dropdownClasses: ClassType;
|
|
@@ -15,8 +15,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
15
15
|
}> & Readonly<{
|
|
16
16
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
isValid: Nullable<boolean>;
|
|
19
18
|
disabled: string | boolean;
|
|
19
|
+
isValid: Nullable<boolean>;
|
|
20
20
|
labelState: LabelState;
|
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
export default _default;
|
|
@@ -1,50 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
iconClass: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
-
lazyLoading: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
altAttribute: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
iconName: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
iconType: {
|
|
36
|
-
type: () => "icon-sm" | "icon-md" | "icon-lg" | "icon-xl" | "icon-xxl";
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
iconClass: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
}>> & Readonly<{}>, {
|
|
44
|
-
lazyLoading: boolean;
|
|
45
|
-
altAttribute: string;
|
|
46
|
-
iconName: string;
|
|
47
|
-
iconType: "icon-sm" | "icon-md" | "icon-lg" | "icon-xl" | "icon-xxl";
|
|
48
|
-
iconClass: string;
|
|
49
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
lazyLoading?: boolean;
|
|
4
|
+
altAttribute?: string;
|
|
5
|
+
iconType?: "icon-sm" | "icon-md" | "icon-lg" | "icon-xl" | "icon-xxl";
|
|
6
|
+
iconClass?: ClassType;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
10
|
+
lazyLoading?: boolean;
|
|
11
|
+
altAttribute?: string;
|
|
12
|
+
iconType?: "icon-sm" | "icon-md" | "icon-lg" | "icon-xl" | "icon-xxl";
|
|
13
|
+
iconClass?: ClassType;
|
|
14
|
+
width?: number;
|
|
15
|
+
height?: number;
|
|
16
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
50
17
|
export default _default;
|
|
@@ -33,11 +33,11 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
33
33
|
onUploaded?: ((args_0: File) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
35
|
clear: boolean;
|
|
36
|
-
labelText: string;
|
|
37
36
|
labelClasses: ClassType;
|
|
38
37
|
fieldsetClasses: ClassType;
|
|
39
|
-
floatingLabelClasses: ClassType;
|
|
40
38
|
legendClasses: ClassType;
|
|
39
|
+
labelText: string;
|
|
40
|
+
floatingLabelClasses: ClassType;
|
|
41
41
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
43
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nullable } from '@wikicasa-dev/types';
|
|
1
|
+
import { ClassType, Nullable } from '@wikicasa-dev/types';
|
|
2
2
|
type EventPayload = {
|
|
3
3
|
id: string | number;
|
|
4
4
|
label: string | number;
|
|
@@ -16,34 +16,46 @@ declare function __VLS_template(): {
|
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
18
18
|
id?: string | number;
|
|
19
|
-
|
|
19
|
+
dataCy?: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
checked?: boolean;
|
|
22
|
+
required?: boolean;
|
|
23
|
+
inputClass?: ClassType;
|
|
20
24
|
inline?: boolean;
|
|
21
25
|
label?: string | number;
|
|
22
|
-
labelClass?:
|
|
26
|
+
labelClass?: ClassType;
|
|
23
27
|
isValid?: Nullable<boolean>;
|
|
24
28
|
containerId?: string;
|
|
25
|
-
|
|
29
|
+
/**
|
|
30
|
+
* If false, the click event won't be emitted
|
|
31
|
+
*/
|
|
26
32
|
handleLabelClick?: boolean;
|
|
27
33
|
modelValue?: boolean;
|
|
28
34
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
35
|
click: () => any;
|
|
30
36
|
change: (args_0: EventPayload) => any;
|
|
31
|
-
"
|
|
37
|
+
"update:modelValue": (args_0: boolean) => any;
|
|
32
38
|
}, string, import('vue').PublicProps, Readonly<{
|
|
33
39
|
id?: string | number;
|
|
34
|
-
|
|
40
|
+
dataCy?: string;
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
checked?: boolean;
|
|
43
|
+
required?: boolean;
|
|
44
|
+
inputClass?: ClassType;
|
|
35
45
|
inline?: boolean;
|
|
36
46
|
label?: string | number;
|
|
37
|
-
labelClass?:
|
|
47
|
+
labelClass?: ClassType;
|
|
38
48
|
isValid?: Nullable<boolean>;
|
|
39
49
|
containerId?: string;
|
|
40
|
-
|
|
50
|
+
/**
|
|
51
|
+
* If false, the click event won't be emitted
|
|
52
|
+
*/
|
|
41
53
|
handleLabelClick?: boolean;
|
|
42
54
|
modelValue?: boolean;
|
|
43
55
|
}> & Readonly<{
|
|
44
56
|
onClick?: (() => any) | undefined;
|
|
45
57
|
onChange?: ((args_0: EventPayload) => any) | undefined;
|
|
46
|
-
"
|
|
58
|
+
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
47
59
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
48
60
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
61
|
export default _default;
|