@wikicasa-dev/components 0.1.0 → 0.1.2
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/UIKit/BaseAccordion.vue.d.ts +25 -0
- package/dist/UIKit/BaseAlert.vue.d.ts +16 -0
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +103 -0
- package/dist/UIKit/BaseBadge.vue.d.ts +14 -0
- package/dist/UIKit/BaseButton.vue.d.ts +90 -0
- package/dist/UIKit/BaseCloseButton.vue.d.ts +2 -0
- package/dist/UIKit/BaseComplexToggle.vue.d.ts +83 -0
- package/dist/UIKit/BaseDropDown.vue.d.ts +78 -0
- package/dist/UIKit/BaseIcon.vue.d.ts +52 -0
- package/dist/UIKit/BaseNavItem.vue.d.ts +43 -0
- package/dist/UIKit/BasePagination.vue.d.ts +67 -0
- package/dist/UIKit/BasePaper.vue.d.ts +2 -0
- package/dist/UIKit/BaseSearchBox.vue.d.ts +4 -0
- package/dist/UIKit/BaseSelect.vue.d.ts +150 -0
- package/dist/UIKit/BaseSlider.vue.d.ts +42 -0
- package/dist/UIKit/BaseTab.vue.d.ts +60 -0
- package/dist/UIKit/BaseToggle.vue.d.ts +36 -0
- package/dist/UIKit/BaseTooltip.vue.d.ts +56 -0
- package/dist/UIKit/BaseUploadFile.vue.d.ts +37 -0
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +101 -0
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +55 -0
- package/dist/UIKit/Radio/RadioButton.vue.d.ts +26 -0
- package/dist/UIKit/Radio/RadioGroup.vue.d.ts +36 -0
- package/dist/components/base/StaticSpinner.vue.d.ts +23 -0
- package/dist/components.js +6574 -135
- package/dist/components.umd.cjs +14 -1
- package/dist/main.d.ts +27 -0
- package/dist/style.css +1 -1
- package/package.json +8 -8
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import { FeedbackLabels, SelectOptions, Nullable } from "@wikicasa-dev/types";
|
|
3
|
+
import { decodeTextWithEntities } from "@wikicasa-dev/utilities";
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
type: {
|
|
6
|
+
type: () => "select" | "autocomplete";
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
modelValue: PropType<string | SelectOptions>;
|
|
10
|
+
feedback: {
|
|
11
|
+
type: () => FeedbackLabels;
|
|
12
|
+
};
|
|
13
|
+
isValid: {
|
|
14
|
+
type: () => Nullable<boolean>;
|
|
15
|
+
default: null;
|
|
16
|
+
};
|
|
17
|
+
options: {
|
|
18
|
+
type: () => SelectOptions[];
|
|
19
|
+
};
|
|
20
|
+
withCustomLi: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
manualOpenDropdown: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
manualCloseDropdown: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
dropdownBorder: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
border: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
leftIcon: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
required: false;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
labelText: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
required: false;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
dropdownPosition: {
|
|
51
|
+
type: () => "down" | "up";
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
writable: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
}, unknown, {
|
|
59
|
+
openDropdown: boolean;
|
|
60
|
+
handleCloseDropdownOnBodyClick: Nullable<() => void>;
|
|
61
|
+
keepFloatingLabel: boolean;
|
|
62
|
+
firstUpdate: boolean;
|
|
63
|
+
selectedValue: Nullable<SelectOptions>;
|
|
64
|
+
}, {
|
|
65
|
+
selectEl(): HTMLElement | null;
|
|
66
|
+
curValue(): Nullable<string>;
|
|
67
|
+
}, {
|
|
68
|
+
decodeTextWithEntities: typeof decodeTextWithEntities;
|
|
69
|
+
handleFocusIn(): void;
|
|
70
|
+
handleOptionSelect(opt: SelectOptions): void;
|
|
71
|
+
handleOnSelectClick(e: Event): void;
|
|
72
|
+
showOpenDropdownArrow(): void;
|
|
73
|
+
showCloseDropdownArrow(): void;
|
|
74
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "input" | "focusin" | "update:modelValue" | "mouseleave" | "changed-value" | "dropdown-closed" | "close-dropdown")[], "click" | "input" | "focusin" | "update:modelValue" | "mouseleave" | "changed-value" | "dropdown-closed" | "close-dropdown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
|
+
type: {
|
|
76
|
+
type: () => "select" | "autocomplete";
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
modelValue: PropType<string | SelectOptions>;
|
|
80
|
+
feedback: {
|
|
81
|
+
type: () => FeedbackLabels;
|
|
82
|
+
};
|
|
83
|
+
isValid: {
|
|
84
|
+
type: () => Nullable<boolean>;
|
|
85
|
+
default: null;
|
|
86
|
+
};
|
|
87
|
+
options: {
|
|
88
|
+
type: () => SelectOptions[];
|
|
89
|
+
};
|
|
90
|
+
withCustomLi: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
manualOpenDropdown: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
manualCloseDropdown: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
dropdownBorder: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
border: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
leftIcon: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
required: false;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
labelText: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
required: false;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
dropdownPosition: {
|
|
121
|
+
type: () => "down" | "up";
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
writable: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
128
|
+
}>> & {
|
|
129
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
130
|
+
onFocusin?: ((...args: any[]) => any) | undefined;
|
|
131
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
132
|
+
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
"onChanged-value"?: ((...args: any[]) => any) | undefined;
|
|
135
|
+
"onDropdown-closed"?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
"onClose-dropdown"?: ((...args: any[]) => any) | undefined;
|
|
137
|
+
}, {
|
|
138
|
+
isValid: Nullable<boolean>;
|
|
139
|
+
labelText: string;
|
|
140
|
+
type: "select" | "autocomplete";
|
|
141
|
+
border: boolean;
|
|
142
|
+
leftIcon: string;
|
|
143
|
+
manualCloseDropdown: boolean;
|
|
144
|
+
withCustomLi: boolean;
|
|
145
|
+
manualOpenDropdown: boolean;
|
|
146
|
+
dropdownBorder: boolean;
|
|
147
|
+
dropdownPosition: "down" | "up";
|
|
148
|
+
writable: boolean;
|
|
149
|
+
}, {}>;
|
|
150
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Nullable } from "@wikicasa-dev/types";
|
|
2
|
+
type Inputs = "min-input" | "max-input";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
type: {
|
|
5
|
+
type: () => "linear" | "logarithmic";
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
}, unknown, {
|
|
9
|
+
leftSliderLimit: number;
|
|
10
|
+
rightSliderLimit: number;
|
|
11
|
+
minValue: number;
|
|
12
|
+
maxValue: number;
|
|
13
|
+
sliderMinValue: number;
|
|
14
|
+
sliderMaxValue: number;
|
|
15
|
+
minlval: number;
|
|
16
|
+
maxlval: number;
|
|
17
|
+
scale: number;
|
|
18
|
+
}, {
|
|
19
|
+
fromSlider(): Nullable<HTMLInputElement>;
|
|
20
|
+
toSlider(): Nullable<HTMLInputElement>;
|
|
21
|
+
fromInput(): Nullable<HTMLInputElement>;
|
|
22
|
+
toInput(): Nullable<HTMLInputElement>;
|
|
23
|
+
}, {
|
|
24
|
+
handleInputChange(from: Inputs, value: string): void;
|
|
25
|
+
getCurrentPosition(value: number): number;
|
|
26
|
+
getCurrentValue(position: number): number;
|
|
27
|
+
controlFromInput(_: HTMLInputElement, controlSlider: HTMLInputElement): void;
|
|
28
|
+
controlToInput(toSlider: HTMLInputElement, controlSlider: HTMLInputElement): void;
|
|
29
|
+
controlFromSlider(fromSlider: Nullable<HTMLInputElement>, toSlider: Nullable<HTMLInputElement>): void;
|
|
30
|
+
controlToSlider(fromSlider: Nullable<HTMLInputElement>, toSlider: Nullable<HTMLInputElement>): void;
|
|
31
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("minChanged" | "maxChanged")[], "minChanged" | "maxChanged", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
type: {
|
|
33
|
+
type: () => "linear" | "logarithmic";
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
}>> & {
|
|
37
|
+
onMinChanged?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onMaxChanged?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
type: "linear" | "logarithmic";
|
|
41
|
+
}, {}>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
interface ITab {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
iconName?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
navTabsCustomClass: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
};
|
|
11
|
+
firstLabel: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
firstIconName: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
18
|
+
secondLabel: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
secondIconName: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
25
|
+
tabs: {
|
|
26
|
+
type: PropType<ITab[]>;
|
|
27
|
+
};
|
|
28
|
+
}, unknown, {
|
|
29
|
+
selectedId: string;
|
|
30
|
+
}, {}, {
|
|
31
|
+
handleClick(id: string): void;
|
|
32
|
+
clickTab(id: string): void;
|
|
33
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickedTab"[], "clickedTab", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
navTabsCustomClass: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
};
|
|
37
|
+
firstLabel: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
firstIconName: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
};
|
|
44
|
+
secondLabel: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
secondIconName: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
};
|
|
51
|
+
tabs: {
|
|
52
|
+
type: PropType<ITab[]>;
|
|
53
|
+
};
|
|
54
|
+
}>> & {
|
|
55
|
+
onClickedTab?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
firstLabel: string;
|
|
58
|
+
secondLabel: string;
|
|
59
|
+
}, {}>;
|
|
60
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
withRightLabel: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
label: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, unknown, unknown, {}, {
|
|
15
|
+
handleToggle({ target }: Event): void;
|
|
16
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
withRightLabel: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
label: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
modelValue: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}>> & {
|
|
30
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
label: string;
|
|
33
|
+
modelValue: boolean;
|
|
34
|
+
withRightLabel: boolean;
|
|
35
|
+
}, {}>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
theme: {
|
|
3
|
+
type: () => {
|
|
4
|
+
color: "blue" | "white";
|
|
5
|
+
size: "sm" | "md" | "lg";
|
|
6
|
+
};
|
|
7
|
+
default(): {
|
|
8
|
+
color: string;
|
|
9
|
+
size: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
direction: {
|
|
13
|
+
type: () => "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
customTooltipClass: {
|
|
17
|
+
type: () => "mail-alert";
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
showTooltipContentManually: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
theme: {
|
|
26
|
+
type: () => {
|
|
27
|
+
color: "blue" | "white";
|
|
28
|
+
size: "sm" | "md" | "lg";
|
|
29
|
+
};
|
|
30
|
+
default(): {
|
|
31
|
+
color: string;
|
|
32
|
+
size: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
direction: {
|
|
36
|
+
type: () => "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
customTooltipClass: {
|
|
40
|
+
type: () => "mail-alert";
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
showTooltipContentManually: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
}>>, {
|
|
48
|
+
theme: {
|
|
49
|
+
color: "blue" | "white";
|
|
50
|
+
size: "sm" | "md" | "lg";
|
|
51
|
+
};
|
|
52
|
+
direction: "left" | "top" | "bottom" | "right" | "top-center" | "bottom-center";
|
|
53
|
+
customTooltipClass: "mail-alert";
|
|
54
|
+
showTooltipContentManually: boolean;
|
|
55
|
+
}, {}>;
|
|
56
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
withMargin: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
labelText: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
clear: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, unknown, any, {}, {
|
|
15
|
+
handleInput({ target }: InputEvent): void;
|
|
16
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cleared" | "uploaded")[], "cleared" | "uploaded", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
withMargin: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
labelText: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
clear: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}>> & {
|
|
30
|
+
onCleared?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
onUploaded?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
labelText: string;
|
|
34
|
+
clear: boolean;
|
|
35
|
+
withMargin: boolean;
|
|
36
|
+
}, {}>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Nullable } from "@wikicasa-dev/types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
id: {
|
|
4
|
+
type: StringConstructor[];
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
inputClass: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
inline: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
label: {
|
|
16
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
17
|
+
required: false;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
labelClass: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
required: false;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
isValid: {
|
|
26
|
+
type: () => Nullable<boolean>;
|
|
27
|
+
default: null;
|
|
28
|
+
};
|
|
29
|
+
modelValue: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
containerId: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
required: false;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
handleLabelClick: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
}, unknown, unknown, {
|
|
43
|
+
checkboxEl(): HTMLInputElement;
|
|
44
|
+
}, {
|
|
45
|
+
handleChange(_: Event): void;
|
|
46
|
+
handleClick(): void;
|
|
47
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:modelValue" | "change")[], "click" | "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
id: {
|
|
49
|
+
type: StringConstructor[];
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
inputClass: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
inline: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
label: {
|
|
61
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
62
|
+
required: false;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
labelClass: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
required: false;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
isValid: {
|
|
71
|
+
type: () => Nullable<boolean>;
|
|
72
|
+
default: null;
|
|
73
|
+
};
|
|
74
|
+
modelValue: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
containerId: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
required: false;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
handleLabelClick: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
}>> & {
|
|
88
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
isValid: Nullable<boolean>;
|
|
93
|
+
label: string | number;
|
|
94
|
+
modelValue: boolean;
|
|
95
|
+
inputClass: string;
|
|
96
|
+
inline: boolean;
|
|
97
|
+
labelClass: string;
|
|
98
|
+
containerId: string;
|
|
99
|
+
handleLabelClick: boolean;
|
|
100
|
+
}, {}>;
|
|
101
|
+
export default _default;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { CheckboxButtonType } from "@wikicasa-dev/types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
checkboxValues: {
|
|
4
|
+
type: () => CheckboxButtonType[];
|
|
5
|
+
};
|
|
6
|
+
valuesObj: {
|
|
7
|
+
type: () => Record<string | number, unknown>;
|
|
8
|
+
};
|
|
9
|
+
formCheckInline: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
customClass: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
reset: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}, unknown, {
|
|
22
|
+
checkedValues: CheckboxButtonType[];
|
|
23
|
+
checkedValuesObj: Record<string | number, unknown>;
|
|
24
|
+
}, {}, {
|
|
25
|
+
isActive(elem: CheckboxButtonType): boolean;
|
|
26
|
+
handleChange(checkboxValue: CheckboxButtonType): void;
|
|
27
|
+
handleCheckboxChange(checkboxValue: CheckboxButtonType): void;
|
|
28
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "resetted")[], "update:modelValue" | "resetted", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
checkboxValues: {
|
|
30
|
+
type: () => CheckboxButtonType[];
|
|
31
|
+
};
|
|
32
|
+
valuesObj: {
|
|
33
|
+
type: () => Record<string | number, unknown>;
|
|
34
|
+
};
|
|
35
|
+
formCheckInline: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
customClass: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
reset: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
}>> & {
|
|
48
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onResetted?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
reset: boolean;
|
|
52
|
+
customClass: string;
|
|
53
|
+
formCheckInline: boolean;
|
|
54
|
+
}, {}>;
|
|
55
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
label: {
|
|
3
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
isChecked: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
};
|
|
9
|
+
}, unknown, unknown, {}, {
|
|
10
|
+
emitChange(): void;
|
|
11
|
+
handleClick(): void;
|
|
12
|
+
handleOnInput(): void;
|
|
13
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
label: {
|
|
15
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
isChecked: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
};
|
|
21
|
+
}>> & {
|
|
22
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
isChecked: boolean;
|
|
25
|
+
}, {}>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { RadioButtonType, Nullable } from "@wikicasa-dev/types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
initialValue: {
|
|
4
|
+
type: () => RadioButtonType;
|
|
5
|
+
};
|
|
6
|
+
radioValues: {
|
|
7
|
+
type: () => RadioButtonType[];
|
|
8
|
+
};
|
|
9
|
+
resetRadio: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}, unknown, {
|
|
14
|
+
selectedValue: Nullable<RadioButtonType>;
|
|
15
|
+
}, {}, {
|
|
16
|
+
handleChange(elem: RadioButtonType): void;
|
|
17
|
+
reset(): void;
|
|
18
|
+
isActive(elem: RadioButtonType): boolean;
|
|
19
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "resetted")[], "update:modelValue" | "resetted", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
initialValue: {
|
|
21
|
+
type: () => RadioButtonType;
|
|
22
|
+
};
|
|
23
|
+
radioValues: {
|
|
24
|
+
type: () => RadioButtonType[];
|
|
25
|
+
};
|
|
26
|
+
resetRadio: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>> & {
|
|
31
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onResetted?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
resetRadio: boolean;
|
|
35
|
+
}, {}>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
thickness: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
color: {
|
|
7
|
+
type: () => "tw-stroke-black" | "tw-stroke-white";
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
thickness: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
color: {
|
|
16
|
+
type: () => "tw-stroke-black" | "tw-stroke-white";
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
color: "tw-stroke-black" | "tw-stroke-white";
|
|
21
|
+
thickness: number;
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|