@wikicasa-dev/components 2.0.5-0.alpha-6 → 2.0.5
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/BaseAccordion.js +1 -1
- package/dist/BaseAccordionBtn.js +1 -1
- package/dist/BaseAccordionContent.js +1 -1
- package/dist/BaseAccordionItem.js +1 -1
- package/dist/BaseAlert.js +1 -1
- package/dist/BaseAutocomplete.js +1 -1
- package/dist/BaseBadge.js +1 -1
- package/dist/BaseBreadcrumb.js +1 -1
- package/dist/BaseButton.js +1 -1
- package/dist/BaseCard.js +16 -16
- package/dist/BaseComplexToggle.js +4 -4
- package/dist/BaseDropDown.js +1 -1
- package/dist/BaseFloatingLabel.js +19 -21
- package/dist/BaseIcon.js +4 -4
- package/dist/BaseInput.js +100 -106
- package/dist/BaseModal.js +1 -1
- package/dist/BasePagination.js +1 -1
- package/dist/BasePaper.js +2 -2
- package/dist/BaseShimmerLoader.js +2 -2
- package/dist/BaseSlider.js +222 -173
- package/dist/BaseSnackbar.js +3 -3
- package/dist/BaseTabList.js +1 -1
- package/dist/BaseTabPanel.js +1 -1
- package/dist/BaseTabView.js +1 -1
- package/dist/BaseTextarea.js +15 -16
- package/dist/BaseToggle.js +4 -4
- package/dist/BaseTooltip.js +3 -3
- package/dist/BaseUploadFile.js +1 -1
- package/dist/CheckboxBtn.js +6 -10
- package/dist/CheckboxGroup.js +1 -1
- package/dist/DoughnutChart.js +1 -1
- package/dist/IntersectionObservable.js +1 -1
- package/dist/IntersectionObserver.js +1 -1
- package/dist/LineChart.js +1 -1
- package/dist/RadioButton.js +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/SelectItem.js +1 -1
- package/dist/ShimmerMultiLine.js +1 -1
- package/dist/StaticSpinner.js +2 -2
- package/dist/SwiperCarousel.js +1 -1
- package/dist/SwiperSlide.js +2 -2
- package/dist/UIKit/AccessibleSelect.vue.d.ts +103 -49
- package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +12 -9
- package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +17 -12
- package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +14 -10
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +33 -20
- package/dist/UIKit/BaseAlert.vue.d.ts +8 -8
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +198 -39
- package/dist/UIKit/BaseBadge.vue.d.ts +7 -7
- package/dist/UIKit/BaseBreadcrumb.vue.d.ts +10 -8
- package/dist/UIKit/BaseButton.vue.d.ts +30 -17
- package/dist/UIKit/BaseCard.vue.d.ts +23 -14
- package/dist/UIKit/BaseComplexToggle.vue.d.ts +6 -7
- package/dist/UIKit/BaseDropDown.vue.d.ts +40 -39
- package/dist/UIKit/BaseFloatingLabel.vue.d.ts +13 -8
- package/dist/UIKit/BaseIcon.vue.d.ts +9 -3
- package/dist/UIKit/BaseInput.vue.d.ts +20 -20
- package/dist/UIKit/BaseModal.vue.d.ts +60 -35
- package/dist/UIKit/BasePagination.vue.d.ts +14 -7
- package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +12 -10
- package/dist/UIKit/BaseSlider.vue.d.ts +175 -20
- package/dist/UIKit/BaseSnackbar.vue.d.ts +14 -7
- package/dist/UIKit/BaseTextarea.vue.d.ts +10 -9
- package/dist/UIKit/BaseToggle.vue.d.ts +5 -6
- package/dist/UIKit/BaseTooltip.vue.d.ts +20 -13
- package/dist/UIKit/BaseUploadFile.vue.d.ts +19 -13
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +31 -18
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +43 -23
- package/dist/UIKit/Radio/RadioButton.vue.d.ts +11 -7
- package/dist/UIKit/Radio/RadioGroup.vue.d.ts +7 -8
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +6 -6
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +8 -54
- package/dist/UIKit/StaticSpinner.vue.d.ts +5 -3
- package/dist/UIKit/Tab/BaseTab.vue.d.ts +10 -8
- package/dist/UIKit/Tab/BaseTabList.vue.d.ts +7 -5
- package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +11 -9
- package/dist/UIKit/Tab/BaseTabView.vue.d.ts +8 -8
- package/dist/UIKit/types.d.ts +1 -4
- package/dist/assets/BaseAlert.css +1 -1
- package/dist/assets/BaseBadge.css +1 -1
- package/dist/assets/BaseCard.css +1 -1
- package/dist/assets/BaseFloatingLabel.css +1 -1
- package/dist/assets/BaseInput.css +1 -1
- package/dist/assets/BaseSlider.css +1 -1
- package/dist/assets/BaseTextarea.css +1 -1
- package/dist/assets/BaseTooltip.css +1 -1
- package/dist/assets/CheckboxBtn.css +1 -1
- package/dist/assets/SwiperCarousel.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/chart/DoughnutChart.vue.d.ts +5 -3
- package/dist/chart/LineChart.vue.d.ts +6 -16
- package/dist/chart/composables/useChartjsModules.d.ts +1 -1
- package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.YIp2u7gd.js +231 -0
- package/dist/chunks/{ArrowIcon.Bq6Xr3uH.js → ArrowIcon.CCFMdsq6.js} +1 -1
- package/dist/chunks/{BaseAccordion.vue_vue_type_script_setup_true_lang.C34SZThb.js → BaseAccordion.vue_vue_type_script_setup_true_lang.R7qkuKlw.js} +2 -2
- package/dist/chunks/{BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js → BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DsDqk9iP.js} +4 -4
- package/dist/chunks/{BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js → BaseAccordionContent.vue_vue_type_script_setup_true_lang.C0aiiljz.js} +2 -2
- package/dist/chunks/{BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js → BaseAccordionItem.vue_vue_type_script_setup_true_lang.Caagpb9M.js} +8 -8
- package/dist/chunks/{BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js → BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js} +2 -2
- package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.C64T2OK4.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.m5rScY4N.js} +84 -89
- package/dist/chunks/{BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js → BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js} +2 -2
- package/dist/chunks/{BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js → BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BH2c3gOe.js} +18 -18
- package/dist/chunks/{BaseButton.vue_vue_type_script_setup_true_lang.ChUdDzP1.js → BaseButton.vue_vue_type_script_setup_true_lang.BWZPE2Gf.js} +4 -4
- package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.DoEvtblv.js → BaseDropDown.vue_vue_type_script_setup_true_lang.BscSQ5bW.js} +46 -59
- package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.CautEumd.js +142 -0
- package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.DxPb8OYe.js +163 -0
- package/dist/chunks/{BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js → BaseTabList.vue_vue_type_script_setup_true_lang.CohlLou1.js} +2 -2
- package/dist/chunks/{BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js → BaseTabPanel.vue_vue_type_script_setup_true_lang.DoZHWHt1.js} +2 -2
- package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.Ar2KNVYH.js +95 -0
- package/dist/chunks/{BaseUploadFile.vue_vue_type_script_setup_true_lang.Cgu0FMFv.js → BaseUploadFile.vue_vue_type_script_setup_true_lang.2elmVcZt.js} +1 -1
- package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.CAO5UUO3.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.JlHKkjHJ.js} +37 -37
- package/dist/chunks/{CloseIcon.BZ4U3aiI.js → CloseIcon.DIkr4soH.js} +1 -1
- package/dist/chunks/{DoughnutChart.vue_vue_type_script_setup_true_lang.B8wxbJBV.js → DoughnutChart.vue_vue_type_script_setup_true_lang.C4QPaUsI.js} +3 -3
- package/dist/chunks/{IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js → IntersectionObservable.vue_vue_type_script_setup_true_lang.BBMxY-re.js} +2 -2
- package/dist/chunks/{IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js → IntersectionObserver.vue_vue_type_script_setup_true_lang.CQHjzQc3.js} +2 -2
- package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CNkvmtfq.js +37 -0
- package/dist/chunks/ObjectUtils.BOUbloeg.js +10 -0
- package/dist/chunks/PharmacyIcon.56ql_DYl.js +19 -0
- package/dist/chunks/{RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js → RadioButton.vue_vue_type_script_setup_true_lang.CiJAhkRj.js} +2 -2
- package/dist/chunks/{RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js → RadioGroup.vue_vue_type_script_setup_true_lang.BalzO73O.js} +6 -6
- package/dist/chunks/{SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js → SelectItem.vue_vue_type_script_setup_true_lang.GPFf7fjA.js} +2 -2
- package/dist/chunks/{ShimmerMultiLine.vue_vue_type_script_setup_true_lang.CF7CkxXk.js → ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DuLXZx8X.js} +3 -3
- package/dist/chunks/SwiperCarousel.DWUl3bgn.js +718 -0
- package/dist/chunks/{index.D_1s8S8L.js → index.D6IWh9UY.js} +7 -9
- package/dist/chunks/{useBreakpoints.BXk8Xcw3.js → types-B0dZ7OiV.D29wNgoj.js} +832 -2812
- package/dist/chunks/useKeyboardController.CutKeclN.js +41 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +9 -10
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +2 -5
- package/dist/components/carousel/SwiperCarousel.vue.d.ts +9 -9
- package/dist/components/carousel/SwiperSlide.vue.d.ts +2 -3
- package/dist/index.d.ts +1 -2
- package/dist/index.js +33 -35
- package/dist/useChartjsModules.js +1 -1
- package/package.json +28 -30
- package/dist/SimpleSlider.js +0 -83
- package/dist/UIKit/Slider/SimpleSlider.vue.d.ts +0 -19
- package/dist/assets/SimpleSlider.css +0 -1
- package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.aBS46udY.js +0 -246
- package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.Cy2ThBHM.js +0 -151
- package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.D_X7MS6X.js +0 -164
- package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js +0 -105
- package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CXNsFiyD.js +0 -42
- package/dist/chunks/ObjectUtils.DwkJjVq1.js +0 -10
- package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +0 -11
- package/dist/chunks/SwiperCarousel.C8hJ7R2K.js +0 -749
- package/dist/chunks/polyline.DjpLdMaW.js +0 -5256
|
@@ -1,48 +1,207 @@
|
|
|
1
1
|
import { Nullable, BaseAutocompleteThemes } from '@wikicasa-dev/types';
|
|
2
|
-
import { AccessibleSelectOptions
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
* If true, we will close the dropdown when the user clicks or touches the body of the document
|
|
25
|
-
*/
|
|
26
|
-
closeDropdownOnBodyPressed?: boolean;
|
|
27
|
-
inputClasses?: ClassTypeProp;
|
|
28
|
-
fieldsetClasses?: ClassTypeProp;
|
|
29
|
-
dataCy?: string;
|
|
30
|
-
}) & Partial<{}>> & import('vue').PublicProps;
|
|
31
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
32
|
-
select: () => void;
|
|
33
|
-
}>): void;
|
|
34
|
-
attrs: any;
|
|
2
|
+
import { AccessibleSelectOptions } from './types';
|
|
3
|
+
type ModelValueType<T = unknown> = AccessibleSelectOptions<T>;
|
|
4
|
+
declare let __VLS_typeProps: {
|
|
5
|
+
border?: boolean;
|
|
6
|
+
isValid?: Nullable<boolean>;
|
|
7
|
+
theme?: BaseAutocompleteThemes;
|
|
8
|
+
label?: string;
|
|
9
|
+
disableCb?: boolean;
|
|
10
|
+
onInputChangeCb: (v: string) => Promise<AccessibleSelectOptions[]>;
|
|
11
|
+
onOptionSelectedCb?: Nullable<(v: AccessibleSelectOptions) => void>;
|
|
12
|
+
keepState?: Nullable<"closed" | "open">;
|
|
13
|
+
cleanupOnClose?: boolean;
|
|
14
|
+
dropdownClasses?: string;
|
|
15
|
+
/**
|
|
16
|
+
* If true, we will close the dropdown when the user clicks or touches the body of the document
|
|
17
|
+
*/
|
|
18
|
+
closeDropdownOnBodyPressed?: boolean;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_PublicProps = {
|
|
21
|
+
modelValue?: ModelValueType | undefined;
|
|
22
|
+
} & typeof __VLS_typeProps;
|
|
23
|
+
declare function __VLS_template(): {
|
|
35
24
|
slots: {
|
|
36
25
|
lefticon?(_: {}): any;
|
|
37
26
|
righticon?(_: {
|
|
38
27
|
handleClean: () => void;
|
|
39
28
|
}): any;
|
|
40
29
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
30
|
+
refs: {
|
|
31
|
+
baseInput: ({
|
|
32
|
+
$: import('vue').ComponentInternalInstance;
|
|
33
|
+
$data: {};
|
|
34
|
+
$props: {
|
|
35
|
+
readonly modelValue?: string | number | undefined;
|
|
36
|
+
readonly inputClass?: (import('@wikicasa-dev/types').ClassType | unknown[]) | undefined;
|
|
37
|
+
readonly labelText?: string | undefined;
|
|
38
|
+
readonly feedback?: import('./types').FeedbackLabels | undefined;
|
|
39
|
+
readonly isValid?: Nullable<boolean> | undefined;
|
|
40
|
+
readonly keepFloatingLabel?: boolean | undefined;
|
|
41
|
+
readonly formatter?: Nullable<Partial<{
|
|
42
|
+
formatFn: (n: number | string) => string;
|
|
43
|
+
unFormatFn: (v: string) => string | number | null;
|
|
44
|
+
}>> | undefined;
|
|
45
|
+
readonly onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
46
|
+
readonly "onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
|
|
47
|
+
readonly onFocusin?: (() => any) | undefined;
|
|
48
|
+
readonly onFocusout?: (() => any) | undefined;
|
|
49
|
+
readonly onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
50
|
+
readonly onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
51
|
+
readonly onKeydownEnterPressed?: (() => any) | undefined;
|
|
52
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
53
|
+
$attrs: {
|
|
54
|
+
[x: string]: unknown;
|
|
55
|
+
};
|
|
56
|
+
$refs: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
};
|
|
59
|
+
$slots: Readonly<{
|
|
60
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
63
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
64
|
+
$host: Element | null;
|
|
65
|
+
$emit: ((event: "click", args_0: MouseEvent) => void) & ((event: "update:modelValue", modelValue: string | number | undefined) => void) & ((event: "focusin") => void) & ((event: "focusout") => void) & ((event: "keydown", args_0: KeyboardEvent) => void) & ((event: "keyup", args_0: KeyboardEvent) => void) & ((event: "keydownEnterPressed") => void);
|
|
66
|
+
$el: any;
|
|
67
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
68
|
+
modelValue?: string | number | undefined;
|
|
69
|
+
} & {
|
|
70
|
+
inputClass?: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
71
|
+
labelText?: string;
|
|
72
|
+
feedback?: import('./types').FeedbackLabels;
|
|
73
|
+
isValid?: Nullable<boolean>;
|
|
74
|
+
keepFloatingLabel?: boolean;
|
|
75
|
+
formatter?: Nullable<Partial<{
|
|
76
|
+
formatFn: (n: number | string) => string;
|
|
77
|
+
unFormatFn: (v: string) => string | number | null;
|
|
78
|
+
}>>;
|
|
79
|
+
}> & Readonly<{
|
|
80
|
+
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
81
|
+
"onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
|
|
82
|
+
onFocusin?: (() => any) | undefined;
|
|
83
|
+
onFocusout?: (() => any) | undefined;
|
|
84
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
85
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
86
|
+
onKeydownEnterPressed?: (() => any) | undefined;
|
|
87
|
+
}>, {
|
|
88
|
+
select: () => void;
|
|
89
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
90
|
+
click: (args_0: MouseEvent) => any;
|
|
91
|
+
"update:modelValue": (modelValue: string | number | undefined) => any;
|
|
92
|
+
focusin: () => any;
|
|
93
|
+
focusout: () => any;
|
|
94
|
+
keydown: (args_0: KeyboardEvent) => any;
|
|
95
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
96
|
+
keydownEnterPressed: () => any;
|
|
97
|
+
}, string, {
|
|
98
|
+
inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
99
|
+
isValid: Nullable<boolean>;
|
|
100
|
+
labelText: string;
|
|
101
|
+
keepFloatingLabel: boolean;
|
|
102
|
+
formatter: Nullable<Partial<{
|
|
103
|
+
formatFn: (n: number | string) => string;
|
|
104
|
+
unFormatFn: (v: string) => string | number | null;
|
|
105
|
+
}>>;
|
|
106
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
107
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
108
|
+
created?: (() => void) | (() => void)[];
|
|
109
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
110
|
+
mounted?: (() => void) | (() => void)[];
|
|
111
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
112
|
+
updated?: (() => void) | (() => void)[];
|
|
113
|
+
activated?: (() => void) | (() => void)[];
|
|
114
|
+
deactivated?: (() => void) | (() => void)[];
|
|
115
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
116
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
117
|
+
destroyed?: (() => void) | (() => void)[];
|
|
118
|
+
unmounted?: (() => void) | (() => void)[];
|
|
119
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
120
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
121
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
122
|
+
};
|
|
123
|
+
$forceUpdate: () => void;
|
|
124
|
+
$nextTick: typeof import('vue').nextTick;
|
|
125
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
126
|
+
} & Readonly<{
|
|
127
|
+
inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
128
|
+
isValid: Nullable<boolean>;
|
|
129
|
+
labelText: string;
|
|
130
|
+
keepFloatingLabel: boolean;
|
|
131
|
+
formatter: Nullable<Partial<{
|
|
132
|
+
formatFn: (n: number | string) => string;
|
|
133
|
+
unFormatFn: (v: string) => string | number | null;
|
|
134
|
+
}>>;
|
|
135
|
+
}> & Omit<Readonly<{
|
|
136
|
+
modelValue?: string | number | undefined;
|
|
137
|
+
} & {
|
|
138
|
+
inputClass?: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
139
|
+
labelText?: string;
|
|
140
|
+
feedback?: import('./types').FeedbackLabels;
|
|
141
|
+
isValid?: Nullable<boolean>;
|
|
142
|
+
keepFloatingLabel?: boolean;
|
|
143
|
+
formatter?: Nullable<Partial<{
|
|
144
|
+
formatFn: (n: number | string) => string;
|
|
145
|
+
unFormatFn: (v: string) => string | number | null;
|
|
146
|
+
}>>;
|
|
147
|
+
}> & Readonly<{
|
|
148
|
+
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
149
|
+
"onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
|
|
150
|
+
onFocusin?: (() => any) | undefined;
|
|
151
|
+
onFocusout?: (() => any) | undefined;
|
|
152
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
153
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
154
|
+
onKeydownEnterPressed?: (() => any) | undefined;
|
|
155
|
+
}>, "select" | ("inputClass" | "isValid" | "labelText" | "keepFloatingLabel" | "formatter")> & import('vue').ShallowUnwrapRef<{
|
|
156
|
+
select: () => void;
|
|
157
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
158
|
+
$slots: {
|
|
159
|
+
leftIcon?(_: {}): any;
|
|
160
|
+
righticon?(_: {
|
|
161
|
+
handleClean: () => void;
|
|
162
|
+
handleShowPasswd: () => void;
|
|
163
|
+
curType: string;
|
|
164
|
+
}): any;
|
|
165
|
+
feedback?(_: {}): any;
|
|
166
|
+
"under-label"?(_: {}): any;
|
|
167
|
+
};
|
|
168
|
+
}) | null;
|
|
169
|
+
};
|
|
170
|
+
attrs: Partial<{}>;
|
|
44
171
|
};
|
|
172
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
173
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
174
|
+
select: () => void;
|
|
175
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
176
|
+
click: () => any;
|
|
177
|
+
"update:modelValue": (modelValue: ModelValueType<unknown> | undefined) => any;
|
|
178
|
+
keydown: (args_0: KeyboardEvent) => any;
|
|
179
|
+
keydownEnterPressed: () => any;
|
|
180
|
+
"update:dropdownState": (args_0: boolean) => any;
|
|
181
|
+
changedValue: (args_0: string) => any;
|
|
182
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
183
|
+
onClick?: (() => any) | undefined;
|
|
184
|
+
"onUpdate:modelValue"?: ((modelValue: ModelValueType<unknown> | undefined) => any) | undefined;
|
|
185
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
186
|
+
onKeydownEnterPressed?: (() => any) | undefined;
|
|
187
|
+
"onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
188
|
+
onChangedValue?: ((args_0: string) => any) | undefined;
|
|
189
|
+
}>, {
|
|
190
|
+
label: string;
|
|
191
|
+
isValid: Nullable<boolean>;
|
|
192
|
+
border: boolean;
|
|
193
|
+
dropdownClasses: string;
|
|
194
|
+
keepState: Nullable<"closed" | "open">;
|
|
195
|
+
theme: BaseAutocompleteThemes;
|
|
196
|
+
disableCb: boolean;
|
|
197
|
+
onOptionSelectedCb: Nullable<(v: AccessibleSelectOptions) => void>;
|
|
198
|
+
cleanupOnClose: boolean;
|
|
199
|
+
closeDropdownOnBodyPressed: boolean;
|
|
200
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
201
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
45
202
|
export default _default;
|
|
46
|
-
type
|
|
47
|
-
|
|
48
|
-
|
|
203
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
204
|
+
new (): {
|
|
205
|
+
$slots: S;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
badgeClass?: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary" | "uikit-badge-w-danger";
|
|
3
|
-
};
|
|
4
1
|
declare function __VLS_template(): {
|
|
5
|
-
attrs: Partial<{}>;
|
|
6
2
|
slots: {
|
|
7
3
|
default?(_: {}): any;
|
|
8
4
|
};
|
|
9
5
|
refs: {};
|
|
10
|
-
|
|
6
|
+
attrs: Partial<{}>;
|
|
11
7
|
};
|
|
12
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
14
|
-
badgeClass: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary"
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
10
|
+
badgeClass: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary";
|
|
11
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
12
|
+
badgeClass: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary";
|
|
13
|
+
}> & Readonly<{}>, {
|
|
14
|
+
badgeClass: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary";
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
17
|
export default _default;
|
|
@@ -8,13 +8,7 @@ type BreadcrumbItemsType = {
|
|
|
8
8
|
type BreadcrumbItemsTypeWithIdx = BreadcrumbItemsType & {
|
|
9
9
|
idx: number;
|
|
10
10
|
};
|
|
11
|
-
type __VLS_Props = {
|
|
12
|
-
items: BreadcrumbItemsType[];
|
|
13
|
-
listClasses?: ClassType;
|
|
14
|
-
listItemClasses?: ClassType;
|
|
15
|
-
};
|
|
16
11
|
declare function __VLS_template(): {
|
|
17
|
-
attrs: Partial<{}>;
|
|
18
12
|
slots: {
|
|
19
13
|
item?(_: {
|
|
20
14
|
item: BreadcrumbItemsTypeWithIdx;
|
|
@@ -22,10 +16,18 @@ declare function __VLS_template(): {
|
|
|
22
16
|
separator?(_: {}): any;
|
|
23
17
|
};
|
|
24
18
|
refs: {};
|
|
25
|
-
|
|
19
|
+
attrs: Partial<{}>;
|
|
26
20
|
};
|
|
27
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
23
|
+
items: BreadcrumbItemsType[];
|
|
24
|
+
listClasses?: ClassType;
|
|
25
|
+
listItemClasses?: ClassType;
|
|
26
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
27
|
+
items: BreadcrumbItemsType[];
|
|
28
|
+
listClasses?: ClassType;
|
|
29
|
+
listItemClasses?: ClassType;
|
|
30
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
32
|
export default _default;
|
|
31
33
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { ButtonType } from './types';
|
|
2
2
|
type HTMLButtonType = "button" | "submit" | "reset" | undefined;
|
|
3
|
-
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {
|
|
6
|
+
hover: boolean;
|
|
7
|
+
}): any;
|
|
8
|
+
spinner?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
4
15
|
btnClass?: ButtonType;
|
|
5
16
|
outlined?: boolean;
|
|
6
17
|
size?: "sm" | "lg" | "";
|
|
@@ -15,28 +26,30 @@ type __VLS_Props = {
|
|
|
15
26
|
title?: string;
|
|
16
27
|
dataCy?: string;
|
|
17
28
|
type?: HTMLButtonType;
|
|
18
|
-
}
|
|
19
|
-
declare function __VLS_template(): {
|
|
20
|
-
attrs: Partial<{}>;
|
|
21
|
-
slots: {
|
|
22
|
-
default?(_: {
|
|
23
|
-
hover: boolean;
|
|
24
|
-
}): any;
|
|
25
|
-
spinner?(_: {}): any;
|
|
26
|
-
};
|
|
27
|
-
refs: {};
|
|
28
|
-
rootEl: HTMLButtonElement;
|
|
29
|
-
};
|
|
30
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
30
|
click: (e: Event) => any;
|
|
33
31
|
mouseover: (e: Event) => any;
|
|
34
32
|
mouseout: (e: Event) => any;
|
|
35
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
34
|
+
btnClass?: ButtonType;
|
|
35
|
+
outlined?: boolean;
|
|
36
|
+
size?: "sm" | "lg" | "";
|
|
37
|
+
withMinWidth?: boolean;
|
|
38
|
+
keepActive?: boolean;
|
|
39
|
+
isLoading?: boolean;
|
|
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;
|
|
48
|
+
}> & Readonly<{
|
|
36
49
|
onClick?: ((e: Event) => any) | undefined;
|
|
37
50
|
onMouseover?: ((e: Event) => any) | undefined;
|
|
38
51
|
onMouseout?: ((e: Event) => any) | undefined;
|
|
39
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
52
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
53
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
54
|
export default _default;
|
|
42
55
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,25 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
type?: CardTypes;
|
|
4
|
-
rootComponent?: CardRootTypes;
|
|
5
|
-
cardImgClasses?: ClassTypeProp;
|
|
6
|
-
cardBodyClasses?: ClassTypeProp;
|
|
7
|
-
};
|
|
1
|
+
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
import { CardRootTypes, CardTypes } from './types';
|
|
8
3
|
declare function __VLS_template(): {
|
|
9
|
-
attrs: Partial<{}>;
|
|
10
4
|
slots: {
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
"card-image"?(_: {}): any;
|
|
6
|
+
"card-description"?(_: {}): any;
|
|
13
7
|
};
|
|
14
8
|
refs: {};
|
|
15
|
-
|
|
9
|
+
attrs: Partial<{}>;
|
|
16
10
|
};
|
|
17
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
+
type?: CardTypes;
|
|
14
|
+
rootComponent?: CardRootTypes;
|
|
15
|
+
cardImgClasses?: ClassType;
|
|
16
|
+
cardBodyClasses?: ClassType;
|
|
17
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
18
|
click: () => any;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
20
|
+
type?: CardTypes;
|
|
21
|
+
rootComponent?: CardRootTypes;
|
|
22
|
+
cardImgClasses?: ClassType;
|
|
23
|
+
cardBodyClasses?: ClassType;
|
|
24
|
+
}> & Readonly<{
|
|
21
25
|
onClick?: (() => any) | undefined;
|
|
22
|
-
}>, {
|
|
26
|
+
}>, {
|
|
27
|
+
type: CardTypes;
|
|
28
|
+
rootComponent: CardRootTypes;
|
|
29
|
+
cardImgClasses: ClassType;
|
|
30
|
+
cardBodyClasses: ClassType;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
32
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
33
|
export default _default;
|
|
25
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -6,7 +6,7 @@ type BorderPrefix = "border-w-";
|
|
|
6
6
|
type ColorsType = "black" | "primary" | "secondary" | "dark-primary" | "carbon" | "gray" | "warning" | "danger" | "lavender";
|
|
7
7
|
type BtnBgColorType = `${TwPrefix}${BgPrefix}${ColorsType}` | "";
|
|
8
8
|
type BorderColorType = `${TwPrefix}${BorderPrefix}${ColorsType}`;
|
|
9
|
-
|
|
9
|
+
declare let __VLS_typeProps: {
|
|
10
10
|
labels: ComplexToggleType;
|
|
11
11
|
type?: "full" | "padded";
|
|
12
12
|
mode?: "mobile" | "";
|
|
@@ -17,28 +17,27 @@ type __VLS_Props = {
|
|
|
17
17
|
};
|
|
18
18
|
type __VLS_PublicProps = {
|
|
19
19
|
modelValue?: Nullable<ToggleType> | undefined;
|
|
20
|
-
} &
|
|
20
|
+
} & typeof __VLS_typeProps;
|
|
21
21
|
declare function __VLS_template(): {
|
|
22
|
-
attrs: Partial<{}>;
|
|
23
22
|
slots: {
|
|
24
23
|
left_icon?(_: {}): any;
|
|
25
24
|
right_icon?(_: {}): any;
|
|
26
25
|
};
|
|
27
26
|
refs: {};
|
|
28
|
-
|
|
27
|
+
attrs: Partial<{}>;
|
|
29
28
|
};
|
|
30
29
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
30
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
-
"update:modelValue": (
|
|
31
|
+
"update:modelValue": (modelValue: Nullable<ToggleType> | undefined) => any;
|
|
33
32
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
34
|
-
"onUpdate:modelValue"?: ((
|
|
33
|
+
"onUpdate:modelValue"?: ((modelValue: Nullable<ToggleType> | undefined) => any) | undefined;
|
|
35
34
|
}>, {
|
|
36
35
|
type: "full" | "padded";
|
|
37
36
|
size: "" | "lg";
|
|
38
37
|
mode: "mobile" | "";
|
|
39
38
|
btnBgColor: BtnBgColorType;
|
|
40
39
|
borderContainerColor: BorderColorType;
|
|
41
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
42
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
42
|
export default _default;
|
|
44
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ClassType } from './types';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
dropdownClasses?: ClassType;
|
|
5
|
-
btnClasses?: string;
|
|
6
|
-
withArrowIcon?: boolean;
|
|
7
|
-
btnLabel?: string;
|
|
8
|
-
labelClasses?: ClassType;
|
|
9
|
-
direction?: "up" | "down";
|
|
10
|
-
arrowWidth?: number;
|
|
11
|
-
arrowStrokeColor?: `#${string}`;
|
|
12
|
-
isAbsolute?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Use v-model:toggleDropdown instead
|
|
15
|
-
*/
|
|
16
|
-
openDropdown?: boolean;
|
|
17
|
-
closeWhenClickedOutside?: boolean;
|
|
18
|
-
dropdownElement?: "div" | "ul" | "ol";
|
|
19
|
-
keepState?: "opened" | "closed" | "";
|
|
20
|
-
activateKeyboardController?: boolean;
|
|
21
|
-
dataCy?: string;
|
|
22
|
-
};
|
|
23
|
-
type __VLS_PublicProps = {
|
|
24
|
-
"toggleDropdown"?: Optional<boolean>;
|
|
25
|
-
} & __VLS_Props;
|
|
1
|
+
import { ClassType } from '@wikicasa-dev/types';
|
|
26
2
|
declare function __VLS_template(): {
|
|
27
|
-
attrs: Partial<{}>;
|
|
28
3
|
slots: {
|
|
29
4
|
btn_slot?(_: {
|
|
30
5
|
toggleDropdown: () => void;
|
|
@@ -35,30 +10,58 @@ declare function __VLS_template(): {
|
|
|
35
10
|
toggleDropdown: () => void;
|
|
36
11
|
activeIdx: number;
|
|
37
12
|
selectedIdx: number;
|
|
38
|
-
setActiveIdx: (idx?: Nullable<number>) => void;
|
|
39
|
-
setSelectedIdx: (idx?: Nullable<number>) => void;
|
|
40
13
|
}): any;
|
|
41
14
|
};
|
|
42
15
|
refs: {
|
|
43
16
|
dropdown: unknown;
|
|
44
17
|
};
|
|
45
|
-
|
|
18
|
+
attrs: Partial<{}>;
|
|
46
19
|
};
|
|
47
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
48
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
22
|
+
dropdownClasses?: ClassType;
|
|
23
|
+
btnClasses?: string;
|
|
24
|
+
withArrowIcon?: boolean;
|
|
25
|
+
btnLabel?: string;
|
|
26
|
+
labelClasses?: ClassType;
|
|
27
|
+
direction?: "up" | "down";
|
|
28
|
+
arrowWidth?: number;
|
|
29
|
+
arrowStrokeColor?: `#${string}`;
|
|
30
|
+
isAbsolute?: boolean;
|
|
31
|
+
openDropdown?: boolean;
|
|
32
|
+
closeWhenClickedOutside?: boolean;
|
|
33
|
+
dropdownElement?: "div" | "ul" | "ol";
|
|
34
|
+
keepState?: "opened" | "closed" | "";
|
|
35
|
+
activateKeyboardController?: boolean;
|
|
36
|
+
dataCy?: string;
|
|
37
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
49
38
|
click: () => any;
|
|
50
|
-
"update:toggleDropdown": (value: Optional<boolean>) => any;
|
|
51
39
|
"update:dropdownState": (args_0: boolean) => any;
|
|
52
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
40
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
41
|
+
dropdownClasses?: ClassType;
|
|
42
|
+
btnClasses?: string;
|
|
43
|
+
withArrowIcon?: boolean;
|
|
44
|
+
btnLabel?: string;
|
|
45
|
+
labelClasses?: ClassType;
|
|
46
|
+
direction?: "up" | "down";
|
|
47
|
+
arrowWidth?: number;
|
|
48
|
+
arrowStrokeColor?: `#${string}`;
|
|
49
|
+
isAbsolute?: boolean;
|
|
50
|
+
openDropdown?: boolean;
|
|
51
|
+
closeWhenClickedOutside?: boolean;
|
|
52
|
+
dropdownElement?: "div" | "ul" | "ol";
|
|
53
|
+
keepState?: "opened" | "closed" | "";
|
|
54
|
+
activateKeyboardController?: boolean;
|
|
55
|
+
dataCy?: string;
|
|
56
|
+
}> & Readonly<{
|
|
53
57
|
onClick?: (() => any) | undefined;
|
|
54
|
-
"onUpdate:toggleDropdown"?: ((value: Optional<boolean>) => any) | undefined;
|
|
55
58
|
"onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
56
59
|
}>, {
|
|
57
|
-
dataCy: string;
|
|
58
60
|
arrowWidth: number;
|
|
61
|
+
dataCy: string;
|
|
59
62
|
btnClasses: string;
|
|
60
|
-
labelClasses:
|
|
61
|
-
dropdownClasses:
|
|
63
|
+
labelClasses: ClassType;
|
|
64
|
+
dropdownClasses: ClassType;
|
|
62
65
|
withArrowIcon: boolean;
|
|
63
66
|
btnLabel: string;
|
|
64
67
|
direction: "up" | "down";
|
|
@@ -69,9 +72,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
69
72
|
dropdownElement: "div" | "ul" | "ol";
|
|
70
73
|
keepState: "opened" | "closed" | "";
|
|
71
74
|
activateKeyboardController: boolean;
|
|
72
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
73
|
-
dropdown: unknown;
|
|
74
|
-
}, any>;
|
|
75
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
75
76
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
76
77
|
export default _default;
|
|
77
78
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import { Nullable } from '@wikicasa-dev/types';
|
|
2
|
-
import { ClassTypeProp } from './types';
|
|
3
2
|
type LabelState = "inline-label" | "floating-label";
|
|
4
|
-
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
4
|
labelState?: LabelState;
|
|
6
5
|
isValid?: Nullable<boolean>;
|
|
7
6
|
labelText: string;
|
|
8
7
|
disabled?: string | boolean;
|
|
9
|
-
|
|
10
|
-
labelTextClasses?: ClassTypeProp;
|
|
11
|
-
};
|
|
12
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
9
|
click: (...args: any[]) => void;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
11
|
+
labelState?: LabelState;
|
|
12
|
+
isValid?: Nullable<boolean>;
|
|
13
|
+
labelText: string;
|
|
14
|
+
disabled?: string | boolean;
|
|
15
|
+
}> & Readonly<{
|
|
15
16
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
16
|
-
}>, {
|
|
17
|
+
}>, {
|
|
18
|
+
disabled: string | boolean;
|
|
19
|
+
isValid: Nullable<boolean>;
|
|
20
|
+
labelState: LabelState;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
22
|
export default _default;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
-
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
lazyLoading?: boolean;
|
|
4
4
|
altAttribute?: string;
|
|
5
5
|
iconType?: "icon-sm" | "icon-md" | "icon-lg" | "icon-xl" | "icon-xxl";
|
|
6
6
|
iconClass?: ClassType;
|
|
7
7
|
width?: number;
|
|
8
8
|
height?: number;
|
|
9
|
-
}
|
|
10
|
-
|
|
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>;
|
|
11
17
|
export default _default;
|