@wikicasa-dev/components 2.1.4-alpha.24 → 2.1.4-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/UIKit/AccessibleSelect.d.ts +2 -2
- package/dist/UIKit/Accordion/BaseAccordion.d.ts +28 -26
- package/dist/UIKit/Accordion/BaseAccordionContent.d.ts +4 -4
- package/dist/UIKit/Accordion/BaseAccordionItem.d.ts +40 -14
- package/dist/UIKit/Accordion/BaseAccordionItem.js +2 -3
- package/dist/UIKit/BaseAutocomplete.d.ts +13 -15
- package/dist/UIKit/BaseAutocomplete.js +2 -3
- package/dist/UIKit/BaseBadge.d.ts +38 -2
- package/dist/UIKit/BaseDropDown.d.ts +36 -21
- package/dist/UIKit/BaseDropDown.js +2 -3
- package/dist/UIKit/BaseInput.d.ts +7 -6
- package/dist/UIKit/BaseModal.d.ts +2 -2
- package/dist/UIKit/BasePagination.d.ts +1 -7
- package/dist/UIKit/BaseSelect.d.ts +2 -2
- package/dist/UIKit/BaseTextarea.d.ts +2 -2
- package/dist/UIKit/BaseTextarea.js +2 -2
- package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +2 -2
- package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +3 -3
- package/dist/UIKit/Radio/RadioButton.d.ts +2 -2
- package/dist/UIKit/types.d.ts +5 -8
- package/dist/assets/packages/components/lib/UIKit/BaseAlert.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseBadge.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseComplexToggle.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseInput.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BasePin.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseSelect.css +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseTextarea.css +1 -1
- package/dist/assets/packages/components/src/tailwind.css +1 -1
- package/dist/index.js +91 -94
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +10 -0
- package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/keyboard.js +13 -13
- package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/shared/classes-to-selector.js +1 -1
- package/dist/packages/components/lazyModules/Swiper/autoplay.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/controller.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/free-mode.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/keyboard.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/navigation.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/pagination.js +2 -2
- package/dist/packages/components/lazyModules/Swiper/thumbs.js +2 -2
- package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +24 -24
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +28 -25
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js +128 -59
- package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +143 -110
- package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +45 -16
- package/dist/packages/components/lib/UIKit/BaseBanner.vue.js +9 -9
- package/dist/packages/components/lib/UIKit/BaseButton.vue.js +26 -23
- package/dist/packages/components/lib/UIKit/BaseChip.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/BaseCollapse.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +99 -83
- package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +4 -4
- package/dist/packages/components/lib/UIKit/BaseInput.vue.js +51 -52
- package/dist/packages/components/lib/UIKit/BaseModal.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/BaseNotificationBadge.vue.js +1 -1
- package/dist/packages/components/lib/UIKit/BasePagination.vue.js +40 -63
- package/dist/packages/components/lib/UIKit/BasePin.vue.js +1 -1
- package/dist/packages/components/lib/UIKit/BaseSelect.vue.js +14 -14
- package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +8 -8
- package/dist/packages/components/lib/UIKit/BaseUploadFile.vue.js +1 -1
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +4 -4
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +9 -7
- package/dist/packages/components/lib/UIKit/DatePicker.vue.js +2 -2
- package/dist/packages/components/lib/UIKit/InputDropdown.vue.js +38 -39
- package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +1 -1
- package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +6 -7
- package/package.json +31 -24
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/cloneDeep.js +0 -4
- package/dist/_virtual/create-plugin.js +0 -4
- package/dist/_virtual/createPlugin.js +0 -4
- package/dist/_virtual/default-theme.js +0 -4
- package/dist/_virtual/defaultTheme.js +0 -7
- package/dist/_virtual/plugin.js +0 -7
- package/dist/assets/packages/components/lib/UIKit/Accordion/BaseAccordionItem.css +0 -1
- package/dist/assets/packages/components/lib/UIKit/BaseAutocomplete.css +0 -1
- package/dist/assets/packages/components/lib/UIKit/BaseDropDown.css +0 -1
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22-alpha.4/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +0 -8
- package/dist/node_modules/.pnpm/tailwindcss@3.4.15_ts-node@10.9.2_@types_node@24.0.1_typescript@5.8.3_/node_modules/tailwindcss/defaultTheme.js +0 -11
- package/dist/node_modules/.pnpm/tailwindcss@3.4.15_ts-node@10.9.2_@types_node@24.0.1_typescript@5.8.3_/node_modules/tailwindcss/lib/public/create-plugin.js +0 -25
- package/dist/node_modules/.pnpm/tailwindcss@3.4.15_ts-node@10.9.2_@types_node@24.0.1_typescript@5.8.3_/node_modules/tailwindcss/lib/public/default-theme.js +0 -26
- package/dist/node_modules/.pnpm/tailwindcss@3.4.15_ts-node@10.9.2_@types_node@24.0.1_typescript@5.8.3_/node_modules/tailwindcss/lib/util/cloneDeep.js +0 -23
- package/dist/node_modules/.pnpm/tailwindcss@3.4.15_ts-node@10.9.2_@types_node@24.0.1_typescript@5.8.3_/node_modules/tailwindcss/lib/util/createPlugin.js +0 -34
- package/dist/node_modules/.pnpm/tailwindcss@3.4.15_ts-node@10.9.2_@types_node@24.0.1_typescript@5.8.3_/node_modules/tailwindcss/plugin.js +0 -11
- package/dist/node_modules/.pnpm/tailwindcss@3.4.15_ts-node@10.9.2_@types_node@24.0.1_typescript@5.8.3_/node_modules/tailwindcss/stubs/config.full.js +0 -1068
- package/dist/packages/components/plugins/buttonPlugin.js +0 -232
- package/dist/tailwind.config.js +0 -147
- package/plugins/buttonPlugin.ts +0 -290
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/free-mode.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/navigation.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/pagination.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/zoom.css +0 -0
- /package/dist/assets/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/swiper.css +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/ArrowFilledIcon.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/CheckIcon.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_svg-icons@1.2.15-alpha.1_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3}/node_modules/@wikicasa-dev/svg-icons/dist/svgIconFactory-BpnFimFz.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_utilities@1.1.22-alpha.4 → @wikicasa-dev_utilities@1.1.21}/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_vue-composables@0.0.24-alpha.5_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3}/node_modules/@wikicasa-dev/vue-composables/dist/useBreakpoints.js +0 -0
- /package/dist/node_modules/.pnpm/{@wikicasa-dev_vue-composables@0.0.24-alpha.5_vue@3.5.16_typescript@5.8.3_ → @wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3}/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/autoplay.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/autoplay.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/controller.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/controller.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/free-mode.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/keyboard.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/navigation.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/pagination.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/thumbs.css.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/thumbs.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/modules/zoom.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/shared/create-element-if-not-defined.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/shared/ssr-window.esm.js +0 -0
- /package/dist/node_modules/.pnpm/{swiper@11.2.10 → swiper@11.2.8}/node_modules/swiper/shared/utils.js +0 -0
|
@@ -2,11 +2,11 @@ import { AccessibleSelectOptions } from './types';
|
|
|
2
2
|
import { ClassType, Optional } from '@wikicasa-dev/types';
|
|
3
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
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
-
readonly "onUpdate:modelValue"?: ((value: Optional<AccessibleSelectOptions<T, LabelID>>) => any) | undefined;
|
|
6
5
|
readonly onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
6
|
+
readonly "onUpdate:modelValue"?: ((value: Optional<AccessibleSelectOptions<T, LabelID>>) => any) | undefined;
|
|
7
7
|
readonly "onUpdate:toggleDropdown"?: ((value: Optional<boolean>) => any) | undefined;
|
|
8
8
|
readonly "onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
9
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "
|
|
9
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onClick" | "onUpdate:modelValue" | "onUpdate:toggleDropdown" | "onUpdate:dropdownState"> & ({
|
|
10
10
|
modelValue?: Optional<AccessibleSelectOptions<T, LabelID>>;
|
|
11
11
|
toggleDropdown?: Optional<boolean>;
|
|
12
12
|
} & {
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
collapsible?: AccordionRootProps["collapsible"];
|
|
13
|
-
/**
|
|
14
|
-
* Determines whether a "single" or "multiple" items can be selected at a time.
|
|
15
|
-
*/
|
|
16
|
-
type: T;
|
|
17
|
-
}) & Partial<{}>> & import('vue').PublicProps;
|
|
18
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
19
|
-
attrs: any;
|
|
1
|
+
import { AccordionItem } from '@wikicasa-dev/types';
|
|
2
|
+
import { AccordionItemDecorated } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** If true, there will be just one accordion open */
|
|
5
|
+
autoClose?: boolean;
|
|
6
|
+
/** If true, the prevAccordion will be updated when you click on the accordion button */
|
|
7
|
+
autoUpdate?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
20
11
|
slots: {
|
|
21
|
-
default?(_: {
|
|
12
|
+
default?(_: {
|
|
13
|
+
updatePrev: <T>(a: AccordionItem, _accordionItems?: AccordionItemDecorated<T>) => void;
|
|
14
|
+
prev: {
|
|
15
|
+
title?: string | undefined;
|
|
16
|
+
id: string | number;
|
|
17
|
+
active?: boolean | undefined;
|
|
18
|
+
} | null;
|
|
19
|
+
}): any;
|
|
22
20
|
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
|
+
refs: {};
|
|
22
|
+
rootEl: any;
|
|
26
23
|
};
|
|
24
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
+
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>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
27
|
export default _default;
|
|
28
|
-
type
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ClassType } from '@wikicasa-dev/types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
id: string | number;
|
|
4
4
|
accordionOpen: boolean;
|
|
5
|
-
accordionOpenClasses?:
|
|
6
|
-
accordionClosedClasses?:
|
|
7
|
-
accordionContentClasses?:
|
|
5
|
+
accordionOpenClasses?: ClassType;
|
|
6
|
+
accordionClosedClasses?: ClassType;
|
|
7
|
+
accordionContentClasses?: ClassType;
|
|
8
8
|
};
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
10
|
attrs: Partial<{}>;
|
|
@@ -1,30 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
title?: string;
|
|
1
|
+
import { AccordionItem, ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
type __VLS_Props = AccordionItem & {
|
|
5
3
|
arrowColor?: `#${string}`;
|
|
6
4
|
arrowWidth?: number;
|
|
5
|
+
/** If true, when you click the container of the button and the title of the accordion, the accordion will expand */
|
|
6
|
+
onContainerClickExpand?: boolean;
|
|
7
|
+
rootClasses?: ClassType;
|
|
7
8
|
dataCy?: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
btnClasses?: ClassType;
|
|
10
|
+
itemProp?: string;
|
|
11
|
+
arrowClasses?: ClassType;
|
|
12
|
+
btnWrapperClasses?: ClassType;
|
|
13
|
+
accordionContentClasses?: ClassType;
|
|
14
|
+
accordionOpenClasses?: ClassType;
|
|
15
|
+
accordionCloseClasses?: ClassType;
|
|
16
|
+
accordionClasses?: ClassType;
|
|
13
17
|
};
|
|
14
18
|
declare function __VLS_template(): {
|
|
15
19
|
attrs: Partial<{}>;
|
|
16
20
|
slots: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
custom_content?(_: {}): any;
|
|
22
|
+
custom_btn?(_: {
|
|
23
|
+
btnId: string;
|
|
24
|
+
isOpen: boolean;
|
|
25
|
+
toggleAccordion: () => void;
|
|
26
|
+
}): any;
|
|
27
|
+
custom_accordion?(_: {
|
|
28
|
+
id: string | number;
|
|
29
|
+
isOpen: boolean;
|
|
30
|
+
toggleAccordion: () => void;
|
|
31
|
+
}): any;
|
|
32
|
+
custom_accordion_content?(_: {
|
|
33
|
+
isOpen: boolean;
|
|
34
|
+
}): any;
|
|
35
|
+
default?(_: {
|
|
36
|
+
isOpen: boolean;
|
|
20
37
|
}): any;
|
|
21
|
-
default?(_: {}): any;
|
|
22
38
|
};
|
|
23
39
|
refs: {};
|
|
24
40
|
rootEl: any;
|
|
25
41
|
};
|
|
26
42
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
|
+
click: () => any;
|
|
45
|
+
accordionOpened: (a: AccordionItem) => any;
|
|
46
|
+
accordionClosed: (a: AccordionItem) => any;
|
|
47
|
+
"update:accordionState": (args_0: boolean) => any;
|
|
48
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
49
|
+
onClick?: (() => any) | undefined;
|
|
50
|
+
onAccordionOpened?: ((a: AccordionItem) => any) | undefined;
|
|
51
|
+
onAccordionClosed?: ((a: AccordionItem) => any) | undefined;
|
|
52
|
+
"onUpdate:accordionState"?: ((args_0: boolean) => any) | undefined;
|
|
53
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
54
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
55
|
export default _default;
|
|
30
56
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '../../assets/packages/components/lib/UIKit/Accordion/BaseAccordionItem.css';/* empty css */
|
|
1
|
+
import f from "../../packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js";
|
|
3
2
|
export {
|
|
4
|
-
|
|
3
|
+
f as default
|
|
5
4
|
};
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import { Nullable,
|
|
1
|
+
import { Nullable, BaseAutocompleteThemes } from '@wikicasa-dev/types';
|
|
2
2
|
import { AccessibleSelectOptions, ClassTypeProp } from './types';
|
|
3
|
-
declare const _default: <T, LabelID extends string | number | undefined
|
|
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
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
-
readonly "onUpdate:modelValue"?: ((value: Optional<AccessibleSelectOptions<T, LabelID, TComponent>>) => any) | undefined;
|
|
6
5
|
readonly onClick?: (() => any) | undefined;
|
|
6
|
+
readonly "onUpdate:modelValue"?: ((value: AccessibleSelectOptions<T, LabelID> | undefined) => any) | undefined;
|
|
7
7
|
readonly "onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
8
8
|
readonly onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
9
9
|
readonly onKeydownEnterPressed?: (() => any) | undefined;
|
|
10
10
|
readonly onChangedValue?: ((args_0: string) => any) | undefined;
|
|
11
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "
|
|
12
|
-
modelValue?:
|
|
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
13
|
} & {
|
|
14
14
|
isValid?: Nullable<boolean>;
|
|
15
|
+
theme?: BaseAutocompleteThemes;
|
|
16
|
+
label?: string;
|
|
15
17
|
disableCb?: boolean;
|
|
16
|
-
onInputChangeCb: (v: string) => Promise<AccessibleSelectOptions<T, LabelID
|
|
17
|
-
onOptionSelectedCb?: Nullable<(v: AccessibleSelectOptions<T, LabelID
|
|
18
|
+
onInputChangeCb: (v: string) => Promise<AccessibleSelectOptions<T, LabelID>[]>;
|
|
19
|
+
onOptionSelectedCb?: Nullable<(v: AccessibleSelectOptions<T, LabelID>) => void>;
|
|
18
20
|
keepState?: Nullable<"closed" | "open">;
|
|
19
21
|
cleanupOnClose?: boolean;
|
|
20
22
|
dropdownClasses?: string;
|
|
@@ -24,23 +26,19 @@ declare const _default: <T, LabelID extends string | number | undefined, TCompon
|
|
|
24
26
|
closeDropdownOnBodyPressed?: boolean;
|
|
25
27
|
inputClasses?: ClassTypeProp;
|
|
26
28
|
fieldsetClasses?: ClassTypeProp;
|
|
27
|
-
placeholder?: string;
|
|
28
29
|
dataCy?: string;
|
|
29
|
-
withBorder?: boolean;
|
|
30
|
-
withCleanBtn?: boolean;
|
|
31
30
|
}) & Partial<{}>> & import('vue').PublicProps;
|
|
32
31
|
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
33
32
|
select: () => void;
|
|
34
33
|
}>): void;
|
|
35
34
|
attrs: any;
|
|
36
35
|
slots: {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
toggleDropdown: () => void;
|
|
36
|
+
lefticon?(_: {}): any;
|
|
37
|
+
righticon?(_: {
|
|
38
|
+
handleClean: () => void;
|
|
41
39
|
}): any;
|
|
42
40
|
};
|
|
43
|
-
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:
|
|
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);
|
|
44
42
|
}>) => import('vue').VNode & {
|
|
45
43
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
46
44
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '../assets/packages/components/lib/UIKit/BaseAutocomplete.css';/* empty css */
|
|
1
|
+
import f from "../packages/components/lib/UIKit/BaseAutocomplete.vue.js";
|
|
3
2
|
export {
|
|
4
|
-
|
|
3
|
+
f as default
|
|
5
4
|
};
|
|
@@ -1,6 +1,42 @@
|
|
|
1
|
+
declare const badgeType: {
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Old style
|
|
4
|
+
*/
|
|
5
|
+
readonly warning: "uikit-badge-w-warning";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Old style
|
|
8
|
+
*/
|
|
9
|
+
readonly lavender: "uikit-badge-w-lavender";
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Old style
|
|
12
|
+
*/
|
|
13
|
+
readonly danger: "uikit-badge-w-danger";
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Old style
|
|
16
|
+
*/
|
|
17
|
+
readonly "outline-tag": "uikit-badge-outline-tag";
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Old style
|
|
20
|
+
*/
|
|
21
|
+
readonly "primary-sm": "uikit-badge-w-primary-sm";
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Old style
|
|
24
|
+
*/
|
|
25
|
+
readonly "dark-primary": "uikit-badge-w-dark-primary";
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated Old style
|
|
28
|
+
*/
|
|
29
|
+
readonly "outline-tag-listing": "uikit-badge-outline-tag-listing";
|
|
30
|
+
readonly gold: "uikit-badge-gold";
|
|
31
|
+
readonly silver: "uikit-badge-silver";
|
|
32
|
+
readonly premium: "uikit-badge-premium";
|
|
33
|
+
readonly luxury: "uikit-badge-luxury";
|
|
34
|
+
readonly alert: "uikit-badge-alert";
|
|
35
|
+
readonly new: "uikit-badge-new";
|
|
36
|
+
readonly discount: "uikit-badge-discount";
|
|
37
|
+
};
|
|
1
38
|
type __VLS_Props = {
|
|
2
|
-
badgeClass?:
|
|
3
|
-
type?: "rounded" | "squared" | "default";
|
|
39
|
+
badgeClass?: keyof typeof badgeType;
|
|
4
40
|
};
|
|
5
41
|
declare function __VLS_template(): {
|
|
6
42
|
attrs: Partial<{}>;
|
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
import { Nullable, Optional } from '@wikicasa-dev/types';
|
|
2
|
-
import {
|
|
2
|
+
import { ClassType } from './types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
|
+
dropdownClasses?: ClassType;
|
|
5
|
+
btnClasses?: string;
|
|
4
6
|
withArrowIcon?: boolean;
|
|
7
|
+
btnLabel?: string;
|
|
8
|
+
labelClasses?: ClassType;
|
|
5
9
|
direction?: "up" | "down";
|
|
10
|
+
arrowWidth?: number;
|
|
11
|
+
arrowStrokeColor?: `#${string}`;
|
|
6
12
|
isAbsolute?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use v-model:toggleDropdown instead
|
|
15
|
+
*/
|
|
16
|
+
openDropdown?: boolean;
|
|
7
17
|
closeWhenClickedOutside?: boolean;
|
|
8
18
|
dropdownElement?: "div" | "ul" | "ol";
|
|
19
|
+
keepState?: "opened" | "closed" | "";
|
|
9
20
|
activateKeyboardController?: boolean;
|
|
10
21
|
disableSpaceHandler?: boolean;
|
|
11
|
-
dropdownClasses?: ClassTypeProp;
|
|
12
|
-
btnProps?: Partial<{
|
|
13
|
-
classes: ClassTypeProp;
|
|
14
|
-
type: BtnVariant;
|
|
15
|
-
label: string;
|
|
16
|
-
}>;
|
|
17
|
-
arrowProps?: Partial<{
|
|
18
|
-
classes?: ClassTypeProp;
|
|
19
|
-
height?: number;
|
|
20
|
-
width?: number;
|
|
21
|
-
strokeColor?: `#${string}`;
|
|
22
|
-
}>;
|
|
23
|
-
labelClasses?: ClassTypeProp;
|
|
24
22
|
dataCy?: string;
|
|
25
23
|
};
|
|
26
24
|
type __VLS_PublicProps = {
|
|
27
|
-
"
|
|
25
|
+
"toggleDropdown"?: Optional<boolean>;
|
|
28
26
|
} & __VLS_Props;
|
|
29
27
|
declare function __VLS_template(): {
|
|
30
28
|
attrs: Partial<{}>;
|
|
31
29
|
slots: {
|
|
32
|
-
|
|
30
|
+
btn_slot?(_: {
|
|
33
31
|
toggleDropdown: () => void;
|
|
34
32
|
isOpen: boolean;
|
|
35
33
|
setActiveIdx: (idx?: Nullable<number>) => void;
|
|
@@ -46,22 +44,39 @@ declare function __VLS_template(): {
|
|
|
46
44
|
refs: {
|
|
47
45
|
dropdown: unknown;
|
|
48
46
|
};
|
|
49
|
-
rootEl:
|
|
47
|
+
rootEl: any;
|
|
50
48
|
};
|
|
51
49
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
52
50
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
53
51
|
click: () => any;
|
|
52
|
+
"update:toggleDropdown": (value: Optional<boolean>) => any;
|
|
54
53
|
"update:dropdownState": (args_0: boolean) => any;
|
|
55
|
-
"update:open": (value: Optional<boolean>) => any;
|
|
56
54
|
"update:selectedIdx": (args_0: number) => any;
|
|
57
55
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
58
56
|
onClick?: (() => any) | undefined;
|
|
57
|
+
"onUpdate:toggleDropdown"?: ((value: Optional<boolean>) => any) | undefined;
|
|
59
58
|
"onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
60
|
-
"onUpdate:open"?: ((value: Optional<boolean>) => any) | undefined;
|
|
61
59
|
"onUpdate:selectedIdx"?: ((args_0: number) => any) | undefined;
|
|
62
|
-
}>, {
|
|
60
|
+
}>, {
|
|
61
|
+
dataCy: string;
|
|
62
|
+
arrowWidth: number;
|
|
63
|
+
btnClasses: string;
|
|
64
|
+
labelClasses: string | Record<string, boolean> | ClassType[] | null;
|
|
65
|
+
dropdownClasses: string | Record<string, boolean> | ClassType[] | null;
|
|
66
|
+
withArrowIcon: boolean;
|
|
67
|
+
btnLabel: string;
|
|
68
|
+
direction: "up" | "down";
|
|
69
|
+
arrowStrokeColor: `#${string}`;
|
|
70
|
+
isAbsolute: boolean;
|
|
71
|
+
openDropdown: boolean;
|
|
72
|
+
closeWhenClickedOutside: boolean;
|
|
73
|
+
dropdownElement: "div" | "ul" | "ol";
|
|
74
|
+
keepState: "opened" | "closed" | "";
|
|
75
|
+
activateKeyboardController: boolean;
|
|
76
|
+
disableSpaceHandler: boolean;
|
|
77
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
63
78
|
dropdown: unknown;
|
|
64
|
-
},
|
|
79
|
+
}, any>;
|
|
65
80
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
66
81
|
export default _default;
|
|
67
82
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '../assets/packages/components/lib/UIKit/BaseDropDown.css';/* empty css */
|
|
1
|
+
import f from "../packages/components/lib/UIKit/BaseDropDown.vue.js";
|
|
3
2
|
export {
|
|
4
|
-
|
|
3
|
+
f as default
|
|
5
4
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Nullable, InputTypeHTMLAttribute } from '@wikicasa-dev/types';
|
|
2
|
-
import { ClassTypeProp, FeedbackLabels } from './types';
|
|
2
|
+
import { ClassType, ClassTypeProp, FeedbackLabels } from './types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
|
+
inputClass?: ClassType | ClassType[];
|
|
4
5
|
labelText?: string;
|
|
5
6
|
feedback?: FeedbackLabels;
|
|
6
7
|
isValid?: Nullable<boolean>;
|
|
@@ -9,11 +10,11 @@ type __VLS_Props = {
|
|
|
9
10
|
formatFn: (n: number | string) => string;
|
|
10
11
|
unFormatFn: (v: string) => string | number | null;
|
|
11
12
|
}>>;
|
|
12
|
-
inputClass?: ClassTypeProp;
|
|
13
13
|
labelClasses?: ClassTypeProp;
|
|
14
14
|
labelTextClasses?: ClassTypeProp;
|
|
15
|
+
withLeftIcon?: boolean;
|
|
16
|
+
withRightIcon?: boolean;
|
|
15
17
|
dataCy?: string;
|
|
16
|
-
withBorder?: boolean;
|
|
17
18
|
};
|
|
18
19
|
type __VLS_PublicProps = {
|
|
19
20
|
modelValue?: string | number | undefined;
|
|
@@ -22,7 +23,7 @@ declare function __VLS_template(): {
|
|
|
22
23
|
attrs: Partial<{}>;
|
|
23
24
|
slots: {
|
|
24
25
|
leftIcon?(_: {}): any;
|
|
25
|
-
|
|
26
|
+
righticon?(_: {
|
|
26
27
|
handleClean: () => void;
|
|
27
28
|
handleShowPasswd: () => void;
|
|
28
29
|
curType: InputTypeHTMLAttribute;
|
|
@@ -39,16 +40,16 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
39
40
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
40
41
|
select: () => void;
|
|
41
42
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
-
"update:modelValue": (value: string | number | undefined) => any;
|
|
43
43
|
click: (args_0: MouseEvent) => any;
|
|
44
|
+
"update:modelValue": (value: string | number | undefined) => any;
|
|
44
45
|
focusin: (args_0: FocusEvent) => any;
|
|
45
46
|
focusout: (args_0: FocusEvent) => any;
|
|
46
47
|
keydown: (args_0: KeyboardEvent) => any;
|
|
47
48
|
keyup: (args_0: KeyboardEvent) => any;
|
|
48
49
|
keydownEnterPressed: () => any;
|
|
49
50
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
50
|
-
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
51
51
|
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
52
53
|
onFocusin?: ((args_0: FocusEvent) => any) | undefined;
|
|
53
54
|
onFocusout?: ((args_0: FocusEvent) => any) | undefined;
|
|
54
55
|
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
@@ -43,12 +43,12 @@ declare function __VLS_template(): {
|
|
|
43
43
|
};
|
|
44
44
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
45
45
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
46
|
-
closed: () => any;
|
|
47
46
|
opened: () => any;
|
|
47
|
+
closed: () => any;
|
|
48
48
|
dialogClick: (args_0: MouseEvent) => any;
|
|
49
49
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
50
|
-
onClosed?: (() => any) | undefined;
|
|
51
50
|
onOpened?: (() => any) | undefined;
|
|
51
|
+
onClosed?: (() => any) | undefined;
|
|
52
52
|
onDialogClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
53
53
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
54
54
|
backdropEl: HTMLDivElement;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Component } from 'vue';
|
|
1
|
+
import { Optional } from '@wikicasa-dev/types';
|
|
3
2
|
type __VLS_Props = {
|
|
4
3
|
/**
|
|
5
4
|
* Number of elements in the list
|
|
@@ -18,11 +17,6 @@ type __VLS_Props = {
|
|
|
18
17
|
nextLabel?: string;
|
|
19
18
|
prevDataCy?: string;
|
|
20
19
|
nextDataCy?: string;
|
|
21
|
-
linkProps?: Record<string, unknown>;
|
|
22
|
-
linkTag?: Component | "a";
|
|
23
|
-
baseUrl?: string;
|
|
24
|
-
pageQueryParameter?: string;
|
|
25
|
-
formatter?: (value?: Nullable<number>) => string;
|
|
26
20
|
};
|
|
27
21
|
type __VLS_PublicProps = {
|
|
28
22
|
"pageNumber"?: Optional<number>;
|
|
@@ -2,9 +2,9 @@ import { AccessibleSelectOptions, ClassTypeProp } from './types';
|
|
|
2
2
|
import { Optional } from '@wikicasa-dev/types';
|
|
3
3
|
declare const _default: <TPayload, TID 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
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
-
readonly "onUpdate:modelValue"?: ((value: Optional<AccessibleSelectOptions<TPayload, TID>>) => any) | undefined;
|
|
6
5
|
readonly onChange?: ((args_0: Event) => any) | undefined;
|
|
7
|
-
|
|
6
|
+
readonly "onUpdate:modelValue"?: ((value: Optional<AccessibleSelectOptions<TPayload, TID>>) => any) | undefined;
|
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & ({
|
|
8
8
|
modelValue?: Optional<AccessibleSelectOptions<TPayload, TID>>;
|
|
9
9
|
} & {
|
|
10
10
|
labelText?: string;
|
|
@@ -15,14 +15,14 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
15
15
|
clearTextareaElem: () => void;
|
|
16
16
|
focusDisabledTextarea: () => void;
|
|
17
17
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
-
"update:modelValue": (value: string | undefined) => any;
|
|
19
18
|
click: (args_0: MouseEvent) => any;
|
|
19
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
20
20
|
focusin: (args_0: FocusEvent) => any;
|
|
21
21
|
focusout: (args_0: FocusEvent) => any;
|
|
22
22
|
keydown: (args_0: KeyboardEvent) => any;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
25
24
|
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
26
26
|
onFocusin?: ((args_0: FocusEvent) => any) | undefined;
|
|
27
27
|
onFocusout?: ((args_0: FocusEvent) => any) | undefined;
|
|
28
28
|
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "../packages/components/lib/UIKit/BaseTextarea.vue.js";
|
|
2
2
|
import '../assets/packages/components/lib/UIKit/BaseTextarea.css';/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-48b631cc"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -29,13 +29,13 @@ declare function __VLS_template(): {
|
|
|
29
29
|
};
|
|
30
30
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
31
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
-
"update:modelValue": (args_0: boolean) => any;
|
|
33
32
|
click: (args_0: MouseEvent) => any;
|
|
34
33
|
change: (args_0: EventPayload) => any;
|
|
34
|
+
"update:modelValue": (args_0: boolean) => any;
|
|
35
35
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
|
-
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
37
36
|
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
38
37
|
onChange?: ((args_0: EventPayload) => any) | undefined;
|
|
38
|
+
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
39
39
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
40
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
41
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CheckboxButtonType, GetterIdType,
|
|
1
|
+
import { CheckboxButtonType, GetterIdType, ClassType } from '../types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
checkboxData?: CheckboxButtonType[];
|
|
4
4
|
formCheckInline?: boolean;
|
|
5
5
|
reset?: boolean;
|
|
6
|
-
checkboxContainerClasses?:
|
|
6
|
+
checkboxContainerClasses?: ClassType;
|
|
7
7
|
/**
|
|
8
8
|
* [ResetCheckbox required] If true, when you check all the checkboxes, the reset one will be checked
|
|
9
9
|
*/
|
|
@@ -54,7 +54,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
54
54
|
dataCy: string;
|
|
55
55
|
checkboxData: CheckboxButtonType[];
|
|
56
56
|
formCheckInline: boolean;
|
|
57
|
-
checkboxContainerClasses: string | Record<string, boolean> |
|
|
57
|
+
checkboxContainerClasses: string | Record<string, boolean> | ClassType[] | null;
|
|
58
58
|
autoCheckResetAll: boolean;
|
|
59
59
|
autoCheckResetEmpty: boolean;
|
|
60
60
|
manualToggleResetButton: boolean;
|
|
@@ -8,19 +8,19 @@ type __VLS_Props = {
|
|
|
8
8
|
labelClasses?: ClassType;
|
|
9
9
|
};
|
|
10
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
"update:modelValue": (args_0: boolean) => any;
|
|
12
11
|
change: (args_0: {
|
|
13
12
|
id: string | number;
|
|
14
13
|
label: string;
|
|
15
14
|
name?: string;
|
|
16
15
|
}) => any;
|
|
16
|
+
"update:modelValue": (args_0: boolean) => any;
|
|
17
17
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
-
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
19
18
|
onChange?: ((args_0: {
|
|
20
19
|
id: string | number;
|
|
21
20
|
label: string;
|
|
22
21
|
name?: string;
|
|
23
22
|
}) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
24
24
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
25
25
|
checkbox: HTMLInputElement;
|
|
26
26
|
}, HTMLDivElement>;
|
package/dist/UIKit/types.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Icon, LabelItem, IconItem } from '@wikicasa-dev/types';
|
|
2
|
-
import { Component } from 'vue';
|
|
1
|
+
import { Icon, LabelItem, IconItem, AccordionItem } from '@wikicasa-dev/types';
|
|
3
2
|
export type CardTypes = "mini" | "vertical" | "news" | "";
|
|
4
3
|
export type CardRootTypes = "div" | "article";
|
|
5
4
|
/** Toggle types */
|
|
@@ -45,19 +44,18 @@ export type FeedbackLabels = {
|
|
|
45
44
|
export type SelectOptions<T = void> = IconItem & LabelItem & {
|
|
46
45
|
payload?: T;
|
|
47
46
|
};
|
|
48
|
-
export type AccessibleSelectOptions<TData = unknown, TID = string | number | undefined
|
|
47
|
+
export type AccessibleSelectOptions<TData = unknown, TID = string | number | undefined> = IconItem & LabelItem<TID> & {
|
|
49
48
|
visibleLabel?: string;
|
|
50
|
-
} & TData
|
|
51
|
-
icon?: TComponent;
|
|
52
|
-
};
|
|
49
|
+
} & TData;
|
|
53
50
|
export type RadioButtonType<T = unknown> = {
|
|
54
51
|
id?: string | number | null;
|
|
55
52
|
label: string | number;
|
|
56
53
|
payload?: T;
|
|
57
54
|
active?: boolean;
|
|
58
55
|
};
|
|
56
|
+
export type AccordionItemDecorated<T = unknown> = Record<string | number, T & Partial<AccordionItem>>;
|
|
59
57
|
export type BtnVariant = "primary" | "secondary" | "ternary" | "quaternary" | "warning" | "danger" | "transparent" | "light" | "show-more" | "multi-selection" | "single-selection" | "facile";
|
|
60
|
-
type ClassType = string | Record<string, boolean> | null | undefined | ClassType[];
|
|
58
|
+
export type ClassType = string | Record<string, boolean> | null | undefined | ClassType[];
|
|
61
59
|
export type ClassTypeProp = ClassType | ClassType[];
|
|
62
60
|
export type SegmentedControlItemType<T = unknown> = {
|
|
63
61
|
label: string;
|
|
@@ -67,4 +65,3 @@ export type SegmentedControlItemType<T = unknown> = {
|
|
|
67
65
|
single?: boolean;
|
|
68
66
|
payload?: T;
|
|
69
67
|
};
|
|
70
|
-
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.uikit-alert{--uikit-alert-bg-color: #e9effe;--uikit-alert-text-color: #2b5dff;background-color:var(--uikit-alert-bg-color);color:var(--uikit-alert-text-color)}.uikit-alert.uikit-alert-w-danger{--uikit-alert-bg-color: #fff4f4;--uikit-alert-text-color: #F20003}.uikit-alert.uikit-alert-w-
|
|
1
|
+
.uikit-alert{--uikit-alert-bg-color: #e9effe;--uikit-alert-text-color: #2b5dff;background-color:var(--uikit-alert-bg-color);color:var(--uikit-alert-text-color)}.uikit-alert.uikit-alert-w-danger{--uikit-alert-bg-color: #fff4f4;--uikit-alert-text-color: #F20003}.uikit-alert.uikit-alert-w-dark-primary{--uikit-alert-bg-color: #2a3761;--uikit-alert-text-color: #fff}.toast-root{will-change:animation,transform,opacity}.toast-root[data-state=open]{animation:slideLeft .1s ease-out}.toast-root[data-state=closed]{animation:slideRight .1s ease-out}.toast-root[data-swipe=move]{transform:translate(var(--reka-toast-swipe-move-x))}.toast-root[data-swipe=cancel]{transform:translate(0);transition:transform .2s ease-out}.toast-root[data-swipe=end]{animation:slideRight .1s ease-out}@keyframes slideLeft{0%{transform:translate(100%);opacity:0}to{transform:translate(var(--reka-toast-swipe-end-x));opacity:1}}@keyframes slideRight{0%{transform:translate(var(--reka-toast-swipe-end-x));opacity:1}to{transform:translate(100%);opacity:0}}
|