@profitliga/ui 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/components/BottomSheet/BottomSheet.css +1 -1
  2. package/dist/components/BottomSheet/BottomSheet.vue.js +1 -1
  3. package/dist/components/BottomSheet/BottomSheet.vue2.js +56 -56
  4. package/dist/components/Drawer/Drawer.vue.d.ts +1 -1
  5. package/dist/components/Drawer/Drawer.vue.js +4 -4
  6. package/dist/components/RangeCalendar/RangeCalendar.css +1 -1
  7. package/dist/components/RangeCalendar/RangeCalendar.vue.js +2 -2
  8. package/dist/components/RangeCalendar/RangeCalendar.vue2.js +42 -42
  9. package/dist/components/v2/Checkbox/Checkbox.css +1 -1
  10. package/dist/components/v2/Checkbox/Checkbox.vue.js +2 -2
  11. package/dist/components/v2/Checkbox/Checkbox.vue2.js +26 -26
  12. package/dist/components/v2/Combobox/Combobox.css +1 -1
  13. package/dist/components/v2/Combobox/Combobox.types.d.ts +49 -3
  14. package/dist/components/v2/Combobox/Combobox.vue.d.ts +23 -52
  15. package/dist/components/v2/Combobox/Combobox.vue.js +2 -2
  16. package/dist/components/v2/Combobox/Combobox.vue2.js +219 -193
  17. package/dist/components/v2/DatePicker/DatePicker.vue.d.ts +2 -2
  18. package/dist/components/v2/Divider/Divider.css +1 -1
  19. package/dist/components/v2/Divider/Divider.vue.js +1 -1
  20. package/dist/components/v2/Divider/Divider.vue2.js +10 -10
  21. package/dist/components/v2/DropdownMenu/DropdownMenu.vue.d.ts +2 -2
  22. package/dist/components/v2/File/FilePreviewDialog.vue.d.ts +1 -1
  23. package/dist/components/v2/FileUpload/FileUpload.vue.d.ts +1 -1
  24. package/dist/components/v2/FileUpload/FileUploadInline.vue.d.ts +1 -1
  25. package/dist/components/v2/InputNumber/InputNumber.css +1 -1
  26. package/dist/components/v2/InputNumber/InputNumber.vue.js +2 -2
  27. package/dist/components/v2/InputNumber/InputNumber.vue2.js +2 -2
  28. package/dist/components/v2/InputSelect/InputSelect.vue.d.ts +1 -1
  29. package/dist/components/v2/Popover/Popover.vue.d.ts +1 -1
  30. package/dist/components/v2/Select/Select.css +1 -1
  31. package/dist/components/v2/Select/Select.types.d.ts +50 -3
  32. package/dist/components/v2/Select/Select.vue.d.ts +20 -40
  33. package/dist/components/v2/Select/Select.vue.js +1 -1
  34. package/dist/components/v2/Select/Select.vue2.js +187 -164
  35. package/dist/components/v2/Tooltip/Tooltip.vue.d.ts +1 -1
  36. package/dist/components/v2/Tooltip/TooltipContent.vue.d.ts +1 -1
  37. package/package.json +1 -1
@@ -1,53 +1,24 @@
1
- import { ComboboxOptionData, ComboboxProps, ComboboxValue, ComboboxSize } from './Combobox.types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { TBreakpoints } from '../../../types/global.types';
4
- import { PopoverSide, PopoverAlign } from '..';
5
- type __VLS_Props = ComboboxProps;
6
- type __VLS_PublicProps = {
7
- modelValue?: ComboboxValue | ComboboxValue[] | undefined;
8
- 'search'?: string;
9
- } & __VLS_Props;
10
- declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
- search: (query: string) => any;
12
- "update:modelValue": (value: ComboboxValue | ComboboxValue[] | undefined) => any;
13
- select: (option: ComboboxOptionData) => any;
14
- change: (value: ComboboxValue | ComboboxValue[] | undefined) => any;
15
- "update:search": (value: string) => any;
16
- }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
- onSearch?: ((query: string) => any) | undefined;
18
- "onUpdate:modelValue"?: ((value: ComboboxValue | ComboboxValue[] | undefined) => any) | undefined;
19
- onSelect?: ((option: ComboboxOptionData) => any) | undefined;
20
- onChange?: ((value: ComboboxValue | ComboboxValue[] | undefined) => any) | undefined;
21
- "onUpdate:search"?: ((value: string) => any) | undefined;
22
- }>, {
23
- multiple: boolean;
24
- filter: boolean;
25
- label: string;
26
- size: ComboboxSize;
27
- placeholder: string;
28
- disabled: boolean;
29
- width: number;
30
- loading: boolean;
31
- breakpointMobile: TBreakpoints;
32
- invalid: boolean;
33
- errorText: string;
34
- side: PopoverSide;
35
- sideOffset: number;
36
- align: PopoverAlign;
37
- alignOffset: number;
38
- ariaLabel: string;
39
- testId: string;
40
- supportText: string;
41
- searchPlaceholder: string;
42
- emptyText: string;
43
- notFoundText: string;
44
- loadingText: string;
45
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
46
- fieldRef: HTMLDivElement;
47
- contentRef: HTMLDivElement;
48
- inputRef: HTMLInputElement;
49
- chipsRef: HTMLSpanElement;
50
- counterRef: HTMLSpanElement;
51
- listRef: HTMLDivElement;
52
- }, any>;
1
+ import { ComboboxOptionData, ComboboxProps, ComboboxSlots, ComboboxValue } from './Combobox.types';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ declare const _default: <T extends ComboboxOptionData = ComboboxOptionData>(__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 onSearch?: ((query: string) => any) | undefined;
6
+ readonly "onUpdate:modelValue"?: ((value: ComboboxValue | ComboboxValue[] | undefined) => any) | undefined;
7
+ readonly onSelect?: ((option: T) => any) | undefined;
8
+ readonly onChange?: ((value: ComboboxValue | ComboboxValue[] | undefined) => any) | undefined;
9
+ readonly "onUpdate:search"?: ((value: string) => any) | undefined;
10
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue" | "onChange" | "onSelect" | "onSearch" | "onUpdate:search"> & ({
11
+ modelValue?: ComboboxValue | ComboboxValue[] | undefined;
12
+ search?: string;
13
+ } & ComboboxProps<T>) & Partial<{}>> & PublicProps;
14
+ expose(exposed: ShallowUnwrapRef<{}>): void;
15
+ attrs: any;
16
+ slots: Readonly<ComboboxSlots<T>> & ComboboxSlots<T>;
17
+ emit: (((evt: "search", query: string) => void) & ((evt: "select", option: T) => void) & ((evt: "change", value: ComboboxValue | ComboboxValue[] | undefined) => void)) & (((evt: "update:modelValue", value: ComboboxValue | ComboboxValue[] | undefined) => void) & ((evt: "update:search", value: string) => void));
18
+ }>) => VNode & {
19
+ __ctx?: Awaited<typeof __VLS_setup>;
20
+ };
53
21
  export default _default;
22
+ type __VLS_PrettifyLocal<T> = {
23
+ [K in keyof T]: T[K];
24
+ } & {};
@@ -2,7 +2,7 @@ import './Combobox.css';
2
2
  import o from "./Combobox.vue2.js";
3
3
  /* empty css */
4
4
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8c5e944b"]]);
5
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-621b3df7"]]);
6
6
  export {
7
- _ as default
7
+ p as default
8
8
  };