@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,34 +1,28 @@
|
|
|
1
1
|
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
labelText?: string;
|
|
5
|
+
clear?: boolean;
|
|
6
|
+
labelClasses?: ClassType;
|
|
7
|
+
floatingLabelClasses?: ClassType;
|
|
8
|
+
fieldsetClasses?: ClassType;
|
|
9
|
+
legendClasses?: ClassType;
|
|
10
|
+
};
|
|
2
11
|
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
3
13
|
slots: {
|
|
4
14
|
label?(_: {
|
|
5
15
|
filename: string;
|
|
6
16
|
}): any;
|
|
7
17
|
};
|
|
8
18
|
refs: {};
|
|
9
|
-
|
|
19
|
+
rootEl: any;
|
|
10
20
|
};
|
|
11
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
-
id: string;
|
|
14
|
-
labelText?: string;
|
|
15
|
-
clear?: boolean;
|
|
16
|
-
labelClasses?: ClassType;
|
|
17
|
-
floatingLabelClasses?: ClassType;
|
|
18
|
-
fieldsetClasses?: ClassType;
|
|
19
|
-
legendClasses?: ClassType;
|
|
20
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
23
|
cleared: () => any;
|
|
22
24
|
uploaded: (args_0: File) => any;
|
|
23
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
24
|
-
id: string;
|
|
25
|
-
labelText?: string;
|
|
26
|
-
clear?: boolean;
|
|
27
|
-
labelClasses?: ClassType;
|
|
28
|
-
floatingLabelClasses?: ClassType;
|
|
29
|
-
fieldsetClasses?: ClassType;
|
|
30
|
-
legendClasses?: ClassType;
|
|
31
|
-
}> & Readonly<{
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
26
|
onCleared?: (() => any) | undefined;
|
|
33
27
|
onUploaded?: ((args_0: File) => any) | undefined;
|
|
34
28
|
}>, {
|
|
@@ -4,17 +4,7 @@ type EventPayload = {
|
|
|
4
4
|
label: string | number;
|
|
5
5
|
checked: boolean;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
slots: {
|
|
9
|
-
label?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {
|
|
12
|
-
checkbox: HTMLInputElement;
|
|
13
|
-
};
|
|
14
|
-
attrs: Partial<{}>;
|
|
15
|
-
};
|
|
16
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
7
|
+
type __VLS_Props = {
|
|
18
8
|
id?: string | number;
|
|
19
9
|
dataCy?: string;
|
|
20
10
|
disabled?: boolean;
|
|
@@ -31,32 +21,29 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
31
21
|
*/
|
|
32
22
|
handleLabelClick?: boolean;
|
|
33
23
|
modelValue?: boolean;
|
|
34
|
-
}
|
|
24
|
+
};
|
|
25
|
+
declare function __VLS_template(): {
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
|
+
slots: {
|
|
28
|
+
label?(_: {}): any;
|
|
29
|
+
};
|
|
30
|
+
refs: {
|
|
31
|
+
checkbox: HTMLInputElement;
|
|
32
|
+
};
|
|
33
|
+
rootEl: HTMLDivElement;
|
|
34
|
+
};
|
|
35
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
36
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
37
|
click: () => any;
|
|
36
38
|
change: (args_0: EventPayload) => any;
|
|
37
39
|
"update:modelValue": (args_0: boolean) => any;
|
|
38
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
39
|
-
id?: string | number;
|
|
40
|
-
dataCy?: string;
|
|
41
|
-
disabled?: boolean;
|
|
42
|
-
checked?: boolean;
|
|
43
|
-
required?: boolean;
|
|
44
|
-
inputClass?: ClassType;
|
|
45
|
-
inline?: boolean;
|
|
46
|
-
label?: string | number;
|
|
47
|
-
labelClass?: ClassType;
|
|
48
|
-
isValid?: Nullable<boolean>;
|
|
49
|
-
containerId?: string;
|
|
50
|
-
/**
|
|
51
|
-
* If false, the click event won't be emitted
|
|
52
|
-
*/
|
|
53
|
-
handleLabelClick?: boolean;
|
|
54
|
-
modelValue?: boolean;
|
|
55
|
-
}> & Readonly<{
|
|
40
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
56
41
|
onClick?: (() => any) | undefined;
|
|
57
42
|
onChange?: ((args_0: EventPayload) => any) | undefined;
|
|
58
43
|
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
59
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
44
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
45
|
+
checkbox: HTMLInputElement;
|
|
46
|
+
}, HTMLDivElement>;
|
|
60
47
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
61
48
|
export default _default;
|
|
62
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,24 +1,6 @@
|
|
|
1
1
|
import { CheckboxButtonType, GetterIdType } from '../types';
|
|
2
2
|
import { ClassType } from '@wikicasa-dev/types';
|
|
3
|
-
|
|
4
|
-
slots: {
|
|
5
|
-
default?(_: {
|
|
6
|
-
isActive: (elem: CheckboxButtonType | string | number) => boolean;
|
|
7
|
-
handleChange: (checkboxValue: CheckboxButtonType) => void;
|
|
8
|
-
checkboxesData: CheckboxButtonType[];
|
|
9
|
-
}): any;
|
|
10
|
-
checkbox_elements?(_: {
|
|
11
|
-
isActive: (elem: CheckboxButtonType | string | number) => boolean;
|
|
12
|
-
handleChange: (checkboxValue: CheckboxButtonType) => void;
|
|
13
|
-
checkboxesData: CheckboxButtonType[];
|
|
14
|
-
reset: () => void;
|
|
15
|
-
}): any;
|
|
16
|
-
};
|
|
17
|
-
refs: {};
|
|
18
|
-
attrs: Partial<{}>;
|
|
19
|
-
};
|
|
20
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
3
|
+
type __VLS_Props = {
|
|
22
4
|
checkboxData?: CheckboxButtonType[];
|
|
23
5
|
formCheckInline?: boolean;
|
|
24
6
|
reset?: boolean;
|
|
@@ -40,33 +22,31 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
40
22
|
getKey?: GetterIdType;
|
|
41
23
|
groupId?: string;
|
|
42
24
|
dataCy?: string;
|
|
43
|
-
}
|
|
25
|
+
};
|
|
26
|
+
declare function __VLS_template(): {
|
|
27
|
+
attrs: Partial<{}>;
|
|
28
|
+
slots: {
|
|
29
|
+
default?(_: {
|
|
30
|
+
isActive: (elem: CheckboxButtonType | string | number) => boolean;
|
|
31
|
+
handleChange: (checkboxValue: CheckboxButtonType) => void;
|
|
32
|
+
checkboxesData: CheckboxButtonType[];
|
|
33
|
+
}): any;
|
|
34
|
+
checkbox_elements?(_: {
|
|
35
|
+
isActive: (elem: CheckboxButtonType | string | number) => boolean;
|
|
36
|
+
handleChange: (checkboxValue: CheckboxButtonType) => void;
|
|
37
|
+
checkboxesData: CheckboxButtonType[];
|
|
38
|
+
reset: () => void;
|
|
39
|
+
}): any;
|
|
40
|
+
};
|
|
41
|
+
refs: {};
|
|
42
|
+
rootEl: any;
|
|
43
|
+
};
|
|
44
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
45
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
46
|
"update:modelValue": (args_0: CheckboxButtonType[]) => any;
|
|
45
47
|
resetted: () => any;
|
|
46
48
|
checkedGroup: (args_0: string) => any;
|
|
47
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
48
|
-
checkboxData?: CheckboxButtonType[];
|
|
49
|
-
formCheckInline?: boolean;
|
|
50
|
-
reset?: boolean;
|
|
51
|
-
checkboxContainerClasses?: ClassType;
|
|
52
|
-
/**
|
|
53
|
-
* [ResetCheckbox required] If true, when you check all the checkboxes, the reset one will be checked
|
|
54
|
-
*/
|
|
55
|
-
autoCheckResetAll?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* [ResetCheckbox required] If true, when you uncheck all the checkboxes, the reset one will be checked
|
|
58
|
-
*/
|
|
59
|
-
autoCheckResetEmpty?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* [ResetCheckbox required]
|
|
62
|
-
* If true, you can manually toggle the reset button.
|
|
63
|
-
* Otherwise, if autoCheckResetEmpty is false, the reset button would never be unchecked when the user clicks on it
|
|
64
|
-
*/
|
|
65
|
-
manualToggleResetButton?: boolean;
|
|
66
|
-
getKey?: GetterIdType;
|
|
67
|
-
groupId?: string;
|
|
68
|
-
dataCy?: string;
|
|
69
|
-
}> & Readonly<{
|
|
49
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
70
50
|
"onUpdate:modelValue"?: ((args_0: CheckboxButtonType[]) => any) | undefined;
|
|
71
51
|
onResetted?: (() => any) | undefined;
|
|
72
52
|
onCheckedGroup?: ((args_0: string) => any) | undefined;
|
|
@@ -1,31 +1,27 @@
|
|
|
1
1
|
import { ClassType, Nullable } from '@wikicasa-dev/types';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
id?: Nullable<string | number>;
|
|
4
4
|
name?: string;
|
|
5
5
|
label: string;
|
|
6
6
|
modelValue?: boolean;
|
|
7
7
|
inputClasses?: ClassType;
|
|
8
8
|
labelClasses?: ClassType;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
11
|
change: (args_0: {
|
|
11
12
|
id: string | number;
|
|
12
13
|
label: string;
|
|
13
14
|
name?: string;
|
|
14
15
|
}) => any;
|
|
15
16
|
"update:modelValue": (args_0: boolean) => any;
|
|
16
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
17
|
-
id?: Nullable<string | number>;
|
|
18
|
-
name?: string;
|
|
19
|
-
label: string;
|
|
20
|
-
modelValue?: boolean;
|
|
21
|
-
inputClasses?: ClassType;
|
|
22
|
-
labelClasses?: ClassType;
|
|
23
|
-
}> & Readonly<{
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
18
|
onChange?: ((args_0: {
|
|
25
19
|
id: string | number;
|
|
26
20
|
label: string;
|
|
27
21
|
name?: string;
|
|
28
22
|
}) => any) | undefined;
|
|
29
23
|
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
30
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
25
|
+
checkbox: HTMLInputElement;
|
|
26
|
+
}, HTMLDivElement>;
|
|
31
27
|
export default _default;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { RadioButtonType } from '../types';
|
|
2
2
|
import { ClassType, Nullable, Optional } from '@wikicasa-dev/types';
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = {
|
|
4
4
|
radioValues?: RadioButtonType[];
|
|
5
5
|
dataCy?: string;
|
|
6
6
|
radioContainerClasses?: ClassType;
|
|
7
7
|
};
|
|
8
8
|
type __VLS_PublicProps = {
|
|
9
9
|
"resetRadio"?: Optional<boolean>;
|
|
10
|
-
} &
|
|
10
|
+
} & __VLS_Props;
|
|
11
11
|
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
12
13
|
slots: {
|
|
13
14
|
default?(_: {
|
|
14
15
|
handleClick: (elem: RadioButtonType) => void;
|
|
15
16
|
activeValue: {
|
|
16
|
-
id?:
|
|
17
|
+
id?: string | number | null | undefined;
|
|
17
18
|
label: string | number;
|
|
18
19
|
payload?: unknown;
|
|
19
20
|
active?: boolean | undefined;
|
|
@@ -24,7 +25,7 @@ declare function __VLS_template(): {
|
|
|
24
25
|
radio_elements?(_: {
|
|
25
26
|
handleClick: (elem: RadioButtonType) => void;
|
|
26
27
|
activeValue: {
|
|
27
|
-
id?:
|
|
28
|
+
id?: string | number | null | undefined;
|
|
28
29
|
label: string | number;
|
|
29
30
|
payload?: unknown;
|
|
30
31
|
active?: boolean | undefined;
|
|
@@ -34,15 +35,15 @@ declare function __VLS_template(): {
|
|
|
34
35
|
}): any;
|
|
35
36
|
};
|
|
36
37
|
refs: {};
|
|
37
|
-
|
|
38
|
+
rootEl: any;
|
|
38
39
|
};
|
|
39
40
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
40
41
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
42
|
"update:modelValue": (args_0: Nullable<RadioButtonType>) => any;
|
|
42
|
-
"update:resetRadio": (
|
|
43
|
+
"update:resetRadio": (value: Optional<boolean>) => any;
|
|
43
44
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
44
45
|
"onUpdate:modelValue"?: ((args_0: Nullable<RadioButtonType>) => any) | undefined;
|
|
45
|
-
"onUpdate:resetRadio"?: ((
|
|
46
|
+
"onUpdate:resetRadio"?: ((value: Optional<boolean>) => any) | undefined;
|
|
46
47
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
47
48
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
48
49
|
export default _default;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
shimmerClasses?: ClassType;
|
|
4
|
+
};
|
|
2
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
3
7
|
slots: {
|
|
4
8
|
default?(_: {}): any;
|
|
5
9
|
};
|
|
6
10
|
refs: {};
|
|
7
|
-
|
|
11
|
+
rootEl: any;
|
|
8
12
|
};
|
|
9
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
|
-
shimmerClasses?: ClassType;
|
|
12
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
-
shimmerClasses?: ClassType;
|
|
14
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
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, {}, any>;
|
|
15
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
16
|
export default _default;
|
|
17
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,17 +1,63 @@
|
|
|
1
1
|
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
lines?: number;
|
|
4
4
|
randomLength?: boolean;
|
|
5
5
|
shimmerClasses?: ClassType;
|
|
6
6
|
inheritHeight?: boolean;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
randomLength?: boolean;
|
|
10
|
-
shimmerClasses?: ClassType;
|
|
11
|
-
inheritHeight?: boolean;
|
|
12
|
-
}> & Readonly<{}>, {
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
9
|
lines: number;
|
|
14
10
|
randomLength: boolean;
|
|
15
11
|
inheritHeight: boolean;
|
|
16
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
13
|
+
shimmerLines: (({
|
|
14
|
+
$: import('vue').ComponentInternalInstance;
|
|
15
|
+
$data: {};
|
|
16
|
+
$props: {
|
|
17
|
+
readonly shimmerClasses?: ClassType | undefined;
|
|
18
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
19
|
+
$attrs: {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
$refs: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
$slots: Readonly<{
|
|
26
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
27
|
+
}>;
|
|
28
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
29
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
30
|
+
$host: Element | null;
|
|
31
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
32
|
+
$el: any;
|
|
33
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
34
|
+
shimmerClasses?: ClassType;
|
|
35
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
36
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
37
|
+
created?: (() => void) | (() => void)[];
|
|
38
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
39
|
+
mounted?: (() => void) | (() => void)[];
|
|
40
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
41
|
+
updated?: (() => void) | (() => void)[];
|
|
42
|
+
activated?: (() => void) | (() => void)[];
|
|
43
|
+
deactivated?: (() => void) | (() => void)[];
|
|
44
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
45
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
46
|
+
destroyed?: (() => void) | (() => void)[];
|
|
47
|
+
unmounted?: (() => void) | (() => void)[];
|
|
48
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
49
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
50
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
51
|
+
};
|
|
52
|
+
$forceUpdate: () => void;
|
|
53
|
+
$nextTick: typeof import('vue').nextTick;
|
|
54
|
+
$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;
|
|
55
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
56
|
+
shimmerClasses?: ClassType;
|
|
57
|
+
}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
58
|
+
$slots: {
|
|
59
|
+
default?(_: {}): any;
|
|
60
|
+
};
|
|
61
|
+
}) | null)[];
|
|
62
|
+
}, any>;
|
|
17
63
|
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Optional } from '@wikicasa-dev/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
min?: number;
|
|
4
|
+
max?: number;
|
|
5
|
+
step?: number;
|
|
6
|
+
dataCy?: string;
|
|
7
|
+
logarithmic?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
modelValue?: Optional<number>;
|
|
11
|
+
} & __VLS_Props;
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: Optional<number>) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: Optional<number>) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
|
+
customSlider: HTMLDivElement;
|
|
18
|
+
}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
thickness?: number;
|
|
3
3
|
strokeColor?: string;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
strokeColor?: string;
|
|
7
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
};
|
|
5
|
+
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, {}, SVGSVGElement>;
|
|
8
6
|
export default _default;
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
activeTabPanelIdx?: number;
|
|
4
|
+
headerTitle?: string;
|
|
5
|
+
tabPanelClasses?: ClassType;
|
|
6
|
+
};
|
|
2
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
3
9
|
slots: {
|
|
4
10
|
header?(_: {}): any;
|
|
5
11
|
};
|
|
6
12
|
refs: {};
|
|
7
|
-
|
|
13
|
+
rootEl: any;
|
|
8
14
|
};
|
|
9
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
|
-
activeTabPanelIdx?: number;
|
|
12
|
-
headerTitle?: string;
|
|
13
|
-
tabPanelClasses?: ClassType;
|
|
14
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
-
activeTabPanelIdx?: number;
|
|
16
|
-
headerTitle?: string;
|
|
17
|
-
tabPanelClasses?: ClassType;
|
|
18
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
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, {}, any>;
|
|
19
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
18
|
export default _default;
|
|
21
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
-
|
|
2
|
+
import { TabType } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
3
4
|
uid: string;
|
|
4
5
|
tabListClasses?: ClassType;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}> & Readonly<{
|
|
11
|
-
onTabClick?: ((e: Event, tabIdx: number) => any) | undefined;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
tabClick: (e: Event, tabIdx: number, tabElement: TabType) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onTabClick?: ((e: Event, tabIdx: number, tabElement: TabType) => any) | undefined;
|
|
12
11
|
}>, {
|
|
13
12
|
tabListClasses: ClassType;
|
|
14
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
14
|
export default _default;
|
|
@@ -1,22 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id: string;
|
|
3
|
+
active?: boolean;
|
|
4
|
+
labelledBy: string;
|
|
5
|
+
};
|
|
1
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
2
8
|
slots: {
|
|
3
9
|
default?(_: {}): any;
|
|
4
10
|
};
|
|
5
11
|
refs: {};
|
|
6
|
-
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
7
13
|
};
|
|
8
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
10
|
-
id: string;
|
|
11
|
-
active?: boolean;
|
|
12
|
-
labelledBy: string;
|
|
13
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
14
|
-
id: string;
|
|
15
|
-
active?: boolean;
|
|
16
|
-
labelledBy: string;
|
|
17
|
-
}> & Readonly<{}>, {
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
16
|
active: boolean;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
19
|
export default _default;
|
|
22
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
-
|
|
2
|
+
import { TabType } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
3
4
|
tabsPosition?: "top" | "bottom";
|
|
4
5
|
tabViewDescription: string;
|
|
5
6
|
tabListClasses?: ClassType;
|
|
7
|
+
dataCy?: string;
|
|
6
8
|
};
|
|
7
9
|
type __VLS_PublicProps = {
|
|
8
10
|
"activeIdx"?: number | undefined;
|
|
9
|
-
} &
|
|
11
|
+
} & __VLS_Props;
|
|
10
12
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
13
|
tabClicked: (args_0: {
|
|
12
14
|
tabIdx: number;
|
|
15
|
+
tabElement: TabType;
|
|
13
16
|
}) => any;
|
|
14
|
-
"update:activeIdx": (
|
|
17
|
+
"update:activeIdx": (value: number | undefined) => any;
|
|
15
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
19
|
onTabClicked?: ((args_0: {
|
|
17
20
|
tabIdx: number;
|
|
21
|
+
tabElement: TabType;
|
|
18
22
|
}) => any) | undefined;
|
|
19
|
-
"onUpdate:activeIdx"?: ((
|
|
20
|
-
}>, {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
"onUpdate:activeIdx"?: ((value: number | undefined) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
25
|
+
root: HTMLDivElement;
|
|
26
|
+
}, any>;
|
|
24
27
|
export default _default;
|
package/dist/UIKit/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Icon, LabelItem, IconItem, AccordionItem } from '@wikicasa-dev/types';
|
|
2
2
|
import { TwPrefix } from '../types';
|
|
3
3
|
export type CardTypes = "mini" | "vertical" | "news" | "";
|
|
4
4
|
export type CardRootTypes = "div" | "article";
|
|
@@ -31,6 +31,7 @@ export type CheckboxButtonType<T = string | number, T1 = string | number, T2 = u
|
|
|
31
31
|
checked?: boolean;
|
|
32
32
|
reset?: boolean;
|
|
33
33
|
payload?: T2;
|
|
34
|
+
dataCy?: string;
|
|
34
35
|
};
|
|
35
36
|
export type CheckboxButtonTypeObj = Omit<CheckboxButtonType, "checked"> & {
|
|
36
37
|
checked: boolean;
|
|
@@ -56,4 +57,6 @@ export type RadioButtonType<T = unknown> = {
|
|
|
56
57
|
export type AccordionItemDecorated<T = unknown> = Record<string | number, T & Partial<AccordionItem>>;
|
|
57
58
|
type BtnPrefix = "btn-";
|
|
58
59
|
export type ButtonType = `${TwPrefix}${BtnPrefix}${"w-primary" | "w-secondary" | "w-warning" | "w-danger" | "transparent" | "light" | "show-more" | "multi-selection" | "single-selection" | "facile"}`;
|
|
60
|
+
export type ClassType = string | Record<string, boolean> | null | undefined | ClassType[];
|
|
61
|
+
export type ClassTypeProp = ClassType | ClassType[];
|
|
59
62
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.uikit-alert{border-radius:12px;padding:1rem;font-weight:500}.uikit-alert.uikit-alert-w-primary{--tw-bg-opacity: 1;background-color:rgb(233 239 254 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(43 93 255 / var(--tw-text-opacity, 1))}.uikit-alert.uikit-alert-w-danger{--tw-bg-opacity: 1;background-color:rgb(255 244 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(250 79 100 / var(--tw-text-opacity, 1))}
|
|
1
|
+
.uikit-alert{border-radius:12px;padding:1rem;font-weight:500}.uikit-alert.uikit-alert-w-primary{--tw-bg-opacity: 1;background-color:rgb(233 239 254 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(43 93 255 / var(--tw-text-opacity, 1))}.uikit-alert.uikit-alert-w-danger{--tw-bg-opacity: 1;background-color:rgb(255 244 244 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(250 79 100 / var(--tw-text-opacity, 1))}.uikit-alert.uikit-alert-w-dark-primary{--tw-bg-opacity: 1;background-color:rgb(42 55 97 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.uikit-badge{display:inline-flex;height:1.75rem;cursor:default;align-items:center;justify-content:center;border-radius:20px;padding-left:11px;padding-right:11px;padding-top:.25rem;padding-bottom:.25rem;font-weight:600}.uikit-badge-w-warning{--tw-bg-opacity: 1;background-color:rgb(255 209 103 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(42 55 97 / var(--tw-text-opacity, 1))}.uikit-badge-w-lavender{--tw-bg-opacity: 1;background-color:rgb(233 239 254 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(42 55 97 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 6px #79797929;--tw-shadow-colored: 0 1px 6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.uikit-badge-outline-tag{height:2.25rem;border-radius:20px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(34 34 34 / var(--tw-border-opacity, 1));padding-left:18px;padding-right:18px;padding-top:.5rem;padding-bottom:.5rem;font-weight:400;--tw-text-opacity: 1;color:rgb(34 34 34 / var(--tw-text-opacity, 1))}.uikit-badge-outline-tag-listing{border-radius:20px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(34 34 34 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));font-size:12px;line-height:16px;font-weight:400;--tw-text-opacity: 1;color:rgb(34 34 34 / var(--tw-text-opacity, 1))}.uikit-badge-w-primary-sm{height:23px;border-radius:10px;--tw-bg-opacity: 1;background-color:rgb(43 93 255 / var(--tw-bg-opacity, 1));font-size:10px;line-height:14px;font-weight:500;line-height:inherit;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.uikit-badge-w-dark-primary{z-index:10;--tw-bg-opacity: 1;background-color:rgb(42 55 97 / var(--tw-bg-opacity, 1));padding-left:11px;padding-right:11px}@media (min-width: 576px){.uikit-badge-w-dark-primary{padding-right:10px;font-size:12px;line-height:16px}}
|
|
1
|
+
.uikit-badge{display:inline-flex;height:1.75rem;cursor:default;align-items:center;justify-content:center;border-radius:20px;padding-left:11px;padding-right:11px;padding-top:.25rem;padding-bottom:.25rem;font-weight:600}.uikit-badge-w-warning{--tw-bg-opacity: 1;background-color:rgb(255 209 103 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(42 55 97 / var(--tw-text-opacity, 1))}.uikit-badge-w-lavender{--tw-bg-opacity: 1;background-color:rgb(233 239 254 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(42 55 97 / var(--tw-text-opacity, 1));--tw-shadow: 0 1px 6px #79797929;--tw-shadow-colored: 0 1px 6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.uikit-badge-outline-tag{height:2.25rem;border-radius:20px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(34 34 34 / var(--tw-border-opacity, 1));padding-left:18px;padding-right:18px;padding-top:.5rem;padding-bottom:.5rem;font-weight:400;--tw-text-opacity: 1;color:rgb(34 34 34 / var(--tw-text-opacity, 1))}.uikit-badge-outline-tag-listing{border-radius:20px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(34 34 34 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));font-size:12px;line-height:16px;font-weight:400;--tw-text-opacity: 1;color:rgb(34 34 34 / var(--tw-text-opacity, 1))}.uikit-badge-w-primary-sm{height:23px;border-radius:10px;--tw-bg-opacity: 1;background-color:rgb(43 93 255 / var(--tw-bg-opacity, 1));font-size:10px;line-height:14px;font-weight:500;line-height:inherit;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.uikit-badge-w-dark-primary{z-index:10;--tw-bg-opacity: 1;background-color:rgb(42 55 97 / var(--tw-bg-opacity, 1));padding-left:11px;padding-right:11px}@media (min-width: 576px){.uikit-badge-w-dark-primary{padding-right:10px;font-size:12px;line-height:16px}}.uikit-badge-w-danger{--tw-bg-opacity: 1;background-color:rgb(250 79 100 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}
|
package/dist/assets/BaseCard.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.card[data-v-
|
|
1
|
+
.card[data-v-923393ce]{--card-max-height: none;--card-max-width: 930px;--card-height: auto;--card-width: auto;--card-border-radius-top-left: 20px;--card-border-radius-top-right: 20px;--card-border-radius-bottom-left: 20px;--card-border-radius-bottom-right: 20px;border-top-left-radius:var(--card-border-radius-top-left);border-top-right-radius:var(--card-border-radius-top-right);border-bottom-left-radius:var(--card-border-radius-bottom-left);border-bottom-right-radius:var(--card-border-radius-bottom-right);height:var(--card-height);width:var(--card-width);max-width:var(--card-max-width);max-height:var(--card-max-height);position:relative;z-index:0;display:flex;overflow:hidden;--tw-shadow: 0 0 8px #2222221F;--tw-shadow-colored: 0 0 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media screen and (min-width: 576px){.card[data-v-923393ce]{--card-img-max-width: 300px;--card-height: 240px }}.card .card-body[data-v-923393ce]{--card-body-width: 100%;box-sizing:border-box;width:var(--card-body-width);padding:10px 15px}.card .card-img[data-v-923393ce]{--card-img-height: var(--card-height);--card-img-width: 100%;--card-img-max-height: none;--card-img-max-width: none;height:var(--card-img-height);width:var(--card-img-width);max-width:var(--card-img-max-width);max-height:var(--card-img-max-height)}@media screen and (min-width: 576px){.card .card-img[data-v-923393ce]{--card-img-max-width: 300px }}.card.vertical[data-v-923393ce]{--card-vertical-height: var(--card-height);height:var(--card-vertical-height);flex-direction:column}@media not all and (min-width: 576px){.card.vertical[data-v-923393ce]{min-height:100px;min-width:335px}}@media screen and (min-width: 576px){.card.vertical[data-v-923393ce]{--card-vertical-height: fit-content }}.card.vertical .card-img[data-v-923393ce]{--card-vertical-img-height: 200px;--card-img-width: 100%;--card-img-max-width: 100%;height:var(--card-vertical-img-height)}.card.mini[data-v-923393ce]{--card-max-height: 100px;--card-max-width: 370px}.card.mini .card-img[data-v-923393ce]{--card-img-max-height: 110px;--card-img-max-width: 120px}@media (min-width: 576px){.card.news-card[data-v-923393ce]{flex-direction:column}}.card.news-card[data-v-923393ce]{--card-height: 270px}@media screen and (max-width: 576px){.card.news-card[data-v-923393ce]{--card-height: 100px;--card-width: 320px }.card.news-card .card-img[data-v-923393ce]{--card-height: 100px;--card-img-max-width: 100px }}@media screen and (min-width: 576px){.card.news-card .card-img[data-v-923393ce]{--card-height: 150px;--card-img-max-width: 100% }}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.floating-label[data-v-
|
|
1
|
+
.floating-label[data-v-2b36371e]{top:-10px;left:1.25rem;border-radius:5px;font-size:14px;line-height:18px}.inline-label[data-v-2b36371e]{top:.75rem;background-color:transparent;font-size:16px;line-height:20px}.inline-label>span[data-v-2b36371e]{--tw-text-opacity: 1;color:rgb(109 118 135 / var(--tw-text-opacity, 1))}.floating-label[data-v-2b36371e],.inline-label[data-v-2b36371e]{transition-property:top,left;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;will-change:top,left}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.input-wrapper[data-v-
|
|
1
|
+
.input-wrapper[data-v-919095a8]{--icon-default-size: 44px}.invalid-bg[data-v-919095a8]{--invalid-img: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMicgaGVpZ2h0PScxMicgZmlsbD0nbm9uZScgc3Ryb2tlPScjRkE0RjY0Jz48Y2lyY2xlIGN4PSc2JyBjeT0nNicgcj0nNC41Jy8+PHBhdGggc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcgZD0nTTUuOCAzLjZoLjRMNiA2LjV6Jy8+PGNpcmNsZSBjeD0nNicgY3k9JzguMicgcj0nLjYnIGZpbGw9JyNGQTRGNjQnIHN0cm9rZT0nbm9uZScvPjwvc3ZnPg==);background-image:var(--invalid-img)}.valid-bg[data-v-919095a8]{--valid-img: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA4IDgnPjxwYXRoIGZpbGw9JyMyQjVERkYnIGQ9J00yLjMgNi43My42IDQuNTNjLS40LTEuMDQuNDYtMS40IDEuMS0uOGwxLjEgMS40IDMuNC0zLjhjLjYtLjYzIDEuNi0uMjcgMS4yLjdsLTQgNC42Yy0uNDMuNS0uOC40LTEuMS4xeicvPjwvc3ZnPg==);background-image:var(--valid-img)}.invalid-bg[data-v-919095a8],.valid-bg[data-v-919095a8]{background-position:top 10px right 12px;background-size:20px}.has-right-icon[data-v-919095a8]>label.inline-label{right:var(--icon-default-size)}.has-left-icon[data-v-919095a8]>label.inline-label{left:var(--icon-default-size)}[data-v-919095a8] .text-input-icon{position:absolute;z-index:20;box-sizing:border-box;--icon-size-sm: 16px;--icon-size-md: 20px;--icon-size-lg: 25px}[data-v-919095a8] .text-input-icon.left{left:5px}[data-v-919095a8] .text-input-icon.right{right:5px}[data-v-919095a8] .text-input-icon{--icon-top: 5px;--icon-size: var(--icon-size-sm);width:var(--icon-default-size);height:var(--icon-default-size);padding:calc((var(--icon-default-size) - var(--icon-size)) / 2);top:var(--icon-top)}[data-v-919095a8] .text-input-icon.md{--icon-size: var(--icon-size-md)}[data-v-919095a8] .text-input-icon.lg{--icon-top: 0;--icon-size: var(--icon-size-lg)}.under-label[data-v-919095a8]{left:4px;font-style:italic}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-
|
|
1
|
+
[data-v-581ec7f4] .form-control{max-width:none!important}.range_container[data-v-581ec7f4]{padding-top:15px}.sliders_control[data-v-581ec7f4]{position:relative;min-height:30px}.form_control[data-v-581ec7f4]{position:relative;display:flex;justify-content:space-between;font-size:24px;color:#635a5a}input[type=range][data-v-581ec7f4]{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:3px;width:100%;position:absolute;background-color:#b4c2f0;pointer-events:none}input[type=range][data-v-581ec7f4]::-webkit-slider-thumb:hover{background:#f7f7f7}input[type=range][data-v-581ec7f4]::-webkit-slider-thumb:active{box-shadow:inset 0 0 3px #387bbe,0 0 9px #387bbe;-webkit-box-shadow:inset 0 0 3px #387bbe,0 0 9px #387bbe}input[type=range][data-v-581ec7f4]::-moz-range-thumb{-moz-appearance:none;appearance:none;pointer-events:all;width:24px;height:24px;background-color:#fff;border-radius:50%;box-shadow:0 0 0 1px #c6c6c6;cursor:pointer}input[type=range][data-v-581ec7f4]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;pointer-events:all;width:24px;height:24px;background-color:#fff;border:2px solid #2B5DFF;border-radius:50%;cursor:pointer}input[type=number][data-v-581ec7f4]{color:#8a8383;width:50px;height:30px;font-size:20px;border:none}input[type=number][data-v-581ec7f4]::-webkit-inner-spin-button,input[type=number][data-v-581ec7f4]::-webkit-outer-spin-button{opacity:1}.fromSlider[data-v-581ec7f4]{height:0!important;z-index:1}.toSlider[data-v-581ec7f4]{height:3px!important}
|