@wikicasa-dev/components 2.0.3 → 2.0.5-0.alpha-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/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 +21 -19
- package/dist/BaseIcon.js +4 -4
- package/dist/BaseInput.js +106 -100
- 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 +173 -222
- 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 +16 -15
- package/dist/BaseToggle.js +4 -4
- package/dist/BaseTooltip.js +3 -3
- package/dist/BaseUploadFile.js +1 -1
- package/dist/CheckboxBtn.js +10 -6
- 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/SimpleSlider.js +83 -0
- 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 +49 -103
- package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +9 -12
- package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +12 -17
- package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +10 -14
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +20 -33
- package/dist/UIKit/BaseAlert.vue.d.ts +8 -8
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +39 -198
- package/dist/UIKit/BaseBadge.vue.d.ts +7 -7
- package/dist/UIKit/BaseBreadcrumb.vue.d.ts +8 -10
- package/dist/UIKit/BaseButton.vue.d.ts +17 -30
- package/dist/UIKit/BaseCard.vue.d.ts +14 -23
- package/dist/UIKit/BaseComplexToggle.vue.d.ts +7 -6
- package/dist/UIKit/BaseDropDown.vue.d.ts +40 -38
- package/dist/UIKit/BaseFloatingLabel.vue.d.ts +8 -13
- package/dist/UIKit/BaseIcon.vue.d.ts +3 -9
- package/dist/UIKit/BaseInput.vue.d.ts +20 -20
- package/dist/UIKit/BaseModal.vue.d.ts +35 -60
- package/dist/UIKit/BasePagination.vue.d.ts +7 -14
- package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +10 -12
- package/dist/UIKit/BaseSlider.vue.d.ts +20 -175
- package/dist/UIKit/BaseSnackbar.vue.d.ts +7 -14
- package/dist/UIKit/BaseTextarea.vue.d.ts +9 -10
- package/dist/UIKit/BaseToggle.vue.d.ts +6 -5
- package/dist/UIKit/BaseTooltip.vue.d.ts +13 -20
- package/dist/UIKit/BaseUploadFile.vue.d.ts +13 -19
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +18 -31
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +23 -43
- package/dist/UIKit/Radio/RadioButton.vue.d.ts +7 -11
- package/dist/UIKit/Radio/RadioGroup.vue.d.ts +8 -7
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +6 -6
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +54 -8
- package/dist/UIKit/Slider/SimpleSlider.vue.d.ts +19 -0
- package/dist/UIKit/StaticSpinner.vue.d.ts +3 -5
- package/dist/UIKit/Tab/BaseTab.vue.d.ts +8 -10
- package/dist/UIKit/Tab/BaseTabList.vue.d.ts +8 -9
- package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +9 -11
- package/dist/UIKit/Tab/BaseTabView.vue.d.ts +11 -8
- package/dist/UIKit/types.d.ts +4 -1
- 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/SimpleSlider.css +1 -0
- package/dist/assets/SwiperCarousel.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/chart/DoughnutChart.vue.d.ts +3 -5
- package/dist/chart/LineChart.vue.d.ts +16 -6
- package/dist/chart/composables/useChartjsModules.d.ts +1 -1
- package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.aBS46udY.js +246 -0
- package/dist/chunks/{ArrowIcon.CCFMdsq6.js → ArrowIcon.Bq6Xr3uH.js} +1 -1
- package/dist/chunks/{BaseAccordion.vue_vue_type_script_setup_true_lang.R7qkuKlw.js → BaseAccordion.vue_vue_type_script_setup_true_lang.C34SZThb.js} +2 -2
- package/dist/chunks/{BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DsDqk9iP.js → BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js} +4 -4
- package/dist/chunks/{BaseAccordionContent.vue_vue_type_script_setup_true_lang.C0aiiljz.js → BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js} +2 -2
- package/dist/chunks/{BaseAccordionItem.vue_vue_type_script_setup_true_lang.Caagpb9M.js → BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js} +8 -8
- package/dist/chunks/{BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js → BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js} +2 -2
- package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.CwGssIPe.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.C64T2OK4.js} +89 -84
- package/dist/chunks/{BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js → BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js} +2 -2
- package/dist/chunks/{BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BH2c3gOe.js → BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js} +18 -18
- package/dist/chunks/{BaseButton.vue_vue_type_script_setup_true_lang.BWZPE2Gf.js → BaseButton.vue_vue_type_script_setup_true_lang.ChUdDzP1.js} +4 -4
- package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.H0XcZCcL.js → BaseDropDown.vue_vue_type_script_setup_true_lang.DoEvtblv.js} +62 -48
- package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.Cy2ThBHM.js +151 -0
- package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.D_X7MS6X.js +164 -0
- package/dist/chunks/{BaseTabList.vue_vue_type_script_setup_true_lang.CpIiJy6I.js → BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js} +3 -3
- package/dist/chunks/{BaseTabPanel.vue_vue_type_script_setup_true_lang.DoZHWHt1.js → BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js} +2 -2
- package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js +105 -0
- package/dist/chunks/{BaseUploadFile.vue_vue_type_script_setup_true_lang.2elmVcZt.js → BaseUploadFile.vue_vue_type_script_setup_true_lang.Cgu0FMFv.js} +1 -1
- package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.JlHKkjHJ.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.CAO5UUO3.js} +37 -37
- package/dist/chunks/{CloseIcon.DIkr4soH.js → CloseIcon.BZ4U3aiI.js} +1 -1
- package/dist/chunks/{DoughnutChart.vue_vue_type_script_setup_true_lang.C4QPaUsI.js → DoughnutChart.vue_vue_type_script_setup_true_lang.B8wxbJBV.js} +3 -3
- package/dist/chunks/{IntersectionObservable.vue_vue_type_script_setup_true_lang.BBMxY-re.js → IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js} +2 -2
- package/dist/chunks/{IntersectionObserver.vue_vue_type_script_setup_true_lang.CQHjzQc3.js → IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js} +2 -2
- package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CXNsFiyD.js +42 -0
- package/dist/chunks/ObjectUtils.DwkJjVq1.js +10 -0
- package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +11 -0
- package/dist/chunks/{RadioButton.vue_vue_type_script_setup_true_lang.CiJAhkRj.js → RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js} +2 -2
- package/dist/chunks/{RadioGroup.vue_vue_type_script_setup_true_lang.BalzO73O.js → RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js} +6 -6
- package/dist/chunks/{SelectItem.vue_vue_type_script_setup_true_lang.GPFf7fjA.js → SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js} +2 -2
- package/dist/chunks/{ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DuLXZx8X.js → ShimmerMultiLine.vue_vue_type_script_setup_true_lang.CF7CkxXk.js} +3 -3
- package/dist/chunks/SwiperCarousel.ZIrIp4kV.js +744 -0
- package/dist/chunks/{index.D6IWh9UY.js → index.D3A-yNFt.js} +9 -7
- package/dist/chunks/polyline.DjpLdMaW.js +5256 -0
- package/dist/chunks/{types-B0dZ7OiV.D29wNgoj.js → useBreakpoints.BXk8Xcw3.js} +2854 -874
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +10 -9
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +5 -2
- package/dist/components/carousel/SwiperCarousel.vue.d.ts +9 -9
- package/dist/components/carousel/SwiperSlide.vue.d.ts +3 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +35 -33
- package/dist/useChartjsModules.js +1 -1
- package/package.json +30 -28
- package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.YIp2u7gd.js +0 -231
- package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.CautEumd.js +0 -142
- package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.DxPb8OYe.js +0 -163
- package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.DGeL_YSc.js +0 -95
- package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CNkvmtfq.js +0 -37
- package/dist/chunks/ObjectUtils.BOUbloeg.js +0 -10
- package/dist/chunks/PharmacyIcon.56ql_DYl.js +0 -19
- package/dist/chunks/SwiperCarousel.DWUl3bgn.js +0 -718
- package/dist/chunks/useKeyboardController.CutKeclN.js +0 -41
|
@@ -1,207 +1,48 @@
|
|
|
1
1
|
import { Nullable, BaseAutocompleteThemes } from '@wikicasa-dev/types';
|
|
2
|
-
import { AccessibleSelectOptions } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
import { AccessibleSelectOptions, ClassTypeProp } from './types';
|
|
3
|
+
declare const _default: <T, LabelID extends string | number | undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly onClick?: (() => any) | undefined;
|
|
6
|
+
readonly "onUpdate:modelValue"?: ((value: AccessibleSelectOptions<T, LabelID> | undefined) => any) | undefined;
|
|
7
|
+
readonly "onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
8
|
+
readonly onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
9
|
+
readonly onKeydownEnterPressed?: (() => any) | undefined;
|
|
10
|
+
readonly onChangedValue?: ((args_0: string) => any) | undefined;
|
|
11
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onClick" | "onKeydown" | "onUpdate:modelValue" | "onUpdate:dropdownState" | "onKeydownEnterPressed" | "onChangedValue"> & ({
|
|
12
|
+
modelValue?: AccessibleSelectOptions<T, LabelID> | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
isValid?: Nullable<boolean>;
|
|
15
|
+
theme?: BaseAutocompleteThemes;
|
|
16
|
+
label?: string;
|
|
17
|
+
disableCb?: boolean;
|
|
18
|
+
onInputChangeCb: (v: string) => Promise<AccessibleSelectOptions<T, LabelID>[]>;
|
|
19
|
+
onOptionSelectedCb?: Nullable<(v: AccessibleSelectOptions<T, LabelID>) => void>;
|
|
20
|
+
keepState?: Nullable<"closed" | "open">;
|
|
21
|
+
cleanupOnClose?: boolean;
|
|
22
|
+
dropdownClasses?: string;
|
|
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;
|
|
24
35
|
slots: {
|
|
25
36
|
lefticon?(_: {}): any;
|
|
26
37
|
righticon?(_: {
|
|
27
38
|
handleClean: () => void;
|
|
28
39
|
}): any;
|
|
29
40
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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<{}>;
|
|
41
|
+
emit: (((evt: "click") => void) & ((evt: "update:dropdownState", args_0: boolean) => void) & ((evt: "keydown", args_0: KeyboardEvent) => void) & ((evt: "keydownEnterPressed") => void) & ((evt: "changedValue", args_0: string) => void)) & ((evt: "update:modelValue", value: AccessibleSelectOptions<T, LabelID> | undefined) => void);
|
|
42
|
+
}>) => import('vue').VNode & {
|
|
43
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
171
44
|
};
|
|
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"]>;
|
|
202
45
|
export default _default;
|
|
203
|
-
type
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
};
|
|
207
|
-
};
|
|
46
|
+
type __VLS_PrettifyLocal<T> = {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} & {};
|
|
@@ -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
|
+
};
|
|
1
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
2
6
|
slots: {
|
|
3
7
|
default?(_: {}): any;
|
|
4
8
|
};
|
|
5
9
|
refs: {};
|
|
6
|
-
|
|
10
|
+
rootEl: any;
|
|
7
11
|
};
|
|
8
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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";
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & 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" | "uikit-badge-w-danger";
|
|
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,7 +8,13 @@ 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
|
+
};
|
|
11
16
|
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
12
18
|
slots: {
|
|
13
19
|
item?(_: {
|
|
14
20
|
item: BreadcrumbItemsTypeWithIdx;
|
|
@@ -16,18 +22,10 @@ declare function __VLS_template(): {
|
|
|
16
22
|
separator?(_: {}): any;
|
|
17
23
|
};
|
|
18
24
|
refs: {};
|
|
19
|
-
|
|
25
|
+
rootEl: HTMLElement;
|
|
20
26
|
};
|
|
21
27
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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>;
|
|
28
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
31
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
30
|
export default _default;
|
|
33
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import { ButtonType } from './types';
|
|
2
2
|
type HTMLButtonType = "button" | "submit" | "reset" | undefined;
|
|
3
|
-
|
|
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<{
|
|
3
|
+
type __VLS_Props = {
|
|
15
4
|
btnClass?: ButtonType;
|
|
16
5
|
outlined?: boolean;
|
|
17
6
|
size?: "sm" | "lg" | "";
|
|
@@ -26,30 +15,28 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
26
15
|
title?: string;
|
|
27
16
|
dataCy?: string;
|
|
28
17
|
type?: HTMLButtonType;
|
|
29
|
-
}
|
|
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, {
|
|
30
32
|
click: (e: Event) => any;
|
|
31
33
|
mouseover: (e: Event) => any;
|
|
32
34
|
mouseout: (e: Event) => any;
|
|
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<{
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
49
36
|
onClick?: ((e: Event) => any) | undefined;
|
|
50
37
|
onMouseover?: ((e: Event) => any) | undefined;
|
|
51
38
|
onMouseout?: ((e: Event) => any) | undefined;
|
|
52
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
39
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
53
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
54
41
|
export default _default;
|
|
55
42
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,34 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { CardRootTypes, CardTypes, ClassTypeProp } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
type?: CardTypes;
|
|
4
|
+
rootComponent?: CardRootTypes;
|
|
5
|
+
cardImgClasses?: ClassTypeProp;
|
|
6
|
+
cardBodyClasses?: ClassTypeProp;
|
|
7
|
+
};
|
|
3
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
4
10
|
slots: {
|
|
5
|
-
|
|
6
|
-
|
|
11
|
+
'card-image'?(_: {}): any;
|
|
12
|
+
'card-description'?(_: {}): any;
|
|
7
13
|
};
|
|
8
14
|
refs: {};
|
|
9
|
-
|
|
15
|
+
rootEl: any;
|
|
10
16
|
};
|
|
11
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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, {
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
19
|
click: () => any;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
20
|
-
type?: CardTypes;
|
|
21
|
-
rootComponent?: CardRootTypes;
|
|
22
|
-
cardImgClasses?: ClassType;
|
|
23
|
-
cardBodyClasses?: ClassType;
|
|
24
|
-
}> & Readonly<{
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
21
|
onClick?: (() => any) | undefined;
|
|
26
|
-
}>, {
|
|
27
|
-
type: CardTypes;
|
|
28
|
-
rootComponent: CardRootTypes;
|
|
29
|
-
cardImgClasses: ClassType;
|
|
30
|
-
cardBodyClasses: ClassType;
|
|
31
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
24
|
export default _default;
|
|
34
25
|
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
|
+
type __VLS_Props = {
|
|
10
10
|
labels: ComplexToggleType;
|
|
11
11
|
type?: "full" | "padded";
|
|
12
12
|
mode?: "mobile" | "";
|
|
@@ -17,27 +17,28 @@ declare let __VLS_typeProps: {
|
|
|
17
17
|
};
|
|
18
18
|
type __VLS_PublicProps = {
|
|
19
19
|
modelValue?: Nullable<ToggleType> | undefined;
|
|
20
|
-
} &
|
|
20
|
+
} & __VLS_Props;
|
|
21
21
|
declare function __VLS_template(): {
|
|
22
|
+
attrs: Partial<{}>;
|
|
22
23
|
slots: {
|
|
23
24
|
left_icon?(_: {}): any;
|
|
24
25
|
right_icon?(_: {}): any;
|
|
25
26
|
};
|
|
26
27
|
refs: {};
|
|
27
|
-
|
|
28
|
+
rootEl: HTMLDivElement;
|
|
28
29
|
};
|
|
29
30
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
31
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
-
"update:modelValue": (
|
|
32
|
+
"update:modelValue": (value: Nullable<ToggleType> | undefined) => any;
|
|
32
33
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
33
|
-
"onUpdate:modelValue"?: ((
|
|
34
|
+
"onUpdate:modelValue"?: ((value: Nullable<ToggleType> | undefined) => any) | undefined;
|
|
34
35
|
}>, {
|
|
35
36
|
type: "full" | "padded";
|
|
36
37
|
size: "" | "lg";
|
|
37
38
|
mode: "mobile" | "";
|
|
38
39
|
btnBgColor: BtnBgColorType;
|
|
39
40
|
borderContainerColor: BorderColorType;
|
|
40
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
41
42
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
43
|
export default _default;
|
|
43
44
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,30 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Nullable, Optional } from '@wikicasa-dev/types';
|
|
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;
|
|
2
26
|
declare function __VLS_template(): {
|
|
27
|
+
attrs: Partial<{}>;
|
|
3
28
|
slots: {
|
|
4
29
|
btn_slot?(_: {
|
|
5
30
|
toggleDropdown: () => void;
|
|
@@ -10,66 +35,43 @@ declare function __VLS_template(): {
|
|
|
10
35
|
toggleDropdown: () => void;
|
|
11
36
|
activeIdx: number;
|
|
12
37
|
selectedIdx: number;
|
|
38
|
+
setActiveIdx: (idx?: Nullable<number>) => void;
|
|
39
|
+
setSelectedIdx: (idx?: Nullable<number>) => void;
|
|
13
40
|
}): any;
|
|
14
41
|
};
|
|
15
42
|
refs: {
|
|
16
43
|
dropdown: unknown;
|
|
17
44
|
};
|
|
18
|
-
|
|
45
|
+
rootEl: any;
|
|
19
46
|
};
|
|
20
47
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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
|
-
isAbsolute?: boolean;
|
|
30
|
-
openDropdown?: boolean;
|
|
31
|
-
closeWhenClickedOutside?: boolean;
|
|
32
|
-
dropdownElement?: "div" | "ul" | "ol";
|
|
33
|
-
keepState?: "opened" | "closed" | "";
|
|
34
|
-
activateKeyboardController?: boolean;
|
|
35
|
-
dataCy?: string;
|
|
36
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
49
|
click: () => any;
|
|
50
|
+
"update:toggleDropdown": (value: Optional<boolean>) => any;
|
|
38
51
|
"update:dropdownState": (args_0: boolean) => any;
|
|
39
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
40
|
-
dropdownClasses?: ClassType;
|
|
41
|
-
btnClasses?: string;
|
|
42
|
-
withArrowIcon?: boolean;
|
|
43
|
-
btnLabel?: string;
|
|
44
|
-
labelClasses?: ClassType;
|
|
45
|
-
direction?: "up" | "down";
|
|
46
|
-
arrowWidth?: number;
|
|
47
|
-
isAbsolute?: boolean;
|
|
48
|
-
openDropdown?: boolean;
|
|
49
|
-
closeWhenClickedOutside?: boolean;
|
|
50
|
-
dropdownElement?: "div" | "ul" | "ol";
|
|
51
|
-
keepState?: "opened" | "closed" | "";
|
|
52
|
-
activateKeyboardController?: boolean;
|
|
53
|
-
dataCy?: string;
|
|
54
|
-
}> & Readonly<{
|
|
52
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
55
53
|
onClick?: (() => any) | undefined;
|
|
54
|
+
"onUpdate:toggleDropdown"?: ((value: Optional<boolean>) => any) | undefined;
|
|
56
55
|
"onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
57
56
|
}>, {
|
|
58
|
-
arrowWidth: number;
|
|
59
57
|
dataCy: string;
|
|
58
|
+
arrowWidth: number;
|
|
60
59
|
btnClasses: string;
|
|
61
|
-
labelClasses: ClassType;
|
|
62
|
-
dropdownClasses: ClassType;
|
|
60
|
+
labelClasses: string | Record<string, boolean> | ClassType[] | null;
|
|
61
|
+
dropdownClasses: string | Record<string, boolean> | ClassType[] | null;
|
|
63
62
|
withArrowIcon: boolean;
|
|
64
63
|
btnLabel: string;
|
|
65
64
|
direction: "up" | "down";
|
|
65
|
+
arrowStrokeColor: `#${string}`;
|
|
66
66
|
isAbsolute: boolean;
|
|
67
67
|
openDropdown: boolean;
|
|
68
68
|
closeWhenClickedOutside: boolean;
|
|
69
69
|
dropdownElement: "div" | "ul" | "ol";
|
|
70
70
|
keepState: "opened" | "closed" | "";
|
|
71
71
|
activateKeyboardController: boolean;
|
|
72
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
72
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
73
|
+
dropdown: unknown;
|
|
74
|
+
}, any>;
|
|
73
75
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
74
76
|
export default _default;
|
|
75
77
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
import { Nullable } from '@wikicasa-dev/types';
|
|
2
|
+
import { ClassTypeProp } from './types';
|
|
2
3
|
type LabelState = "inline-label" | "floating-label";
|
|
3
|
-
|
|
4
|
+
type __VLS_Props = {
|
|
4
5
|
labelState?: LabelState;
|
|
5
6
|
isValid?: Nullable<boolean>;
|
|
6
7
|
labelText: string;
|
|
7
8
|
disabled?: string | boolean;
|
|
8
|
-
|
|
9
|
+
labelClasses?: ClassTypeProp;
|
|
10
|
+
labelTextClasses?: ClassTypeProp;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
13
|
click: (...args: any[]) => void;
|
|
10
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
11
|
-
labelState?: LabelState;
|
|
12
|
-
isValid?: Nullable<boolean>;
|
|
13
|
-
labelText: string;
|
|
14
|
-
disabled?: string | boolean;
|
|
15
|
-
}> & Readonly<{
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
15
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}>, {
|
|
18
|
-
disabled: string | boolean;
|
|
19
|
-
isValid: Nullable<boolean>;
|
|
20
|
-
labelState: LabelState;
|
|
21
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
22
17
|
export default _default;
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
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
|
-
|
|
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>;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLImageElement>;
|
|
17
11
|
export default _default;
|