@open-xamu-co/ui-components-vue 4.0.0-next.21 → 4.0.0-next.23

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/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  Xamu UI
2
2
 
3
+ # [@open-xamu-co/ui-components-vue-v4.0.0-next.23](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v4.0.0-next.22...@open-xamu-co/ui-components-vue-v4.0.0-next.23) (2026-05-14)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **collapse:** target indicator modifier ([9860062](https://github.com/xamu-co/ui/commit/986006200559aa48d2345931cb3d3d075f14d3c1))
9
+ * **vue:** fixes & refactoring for async options handling ([f4d51bf](https://github.com/xamu-co/ui/commit/f4d51bf69ff8e9e8f62c0e645fd3596fb96bc642))
10
+
11
+
12
+ ### Features
13
+
14
+ * **forms:** accept async function for input options ([e8ebf68](https://github.com/xamu-co/ui/commit/e8ebf688f4fd71bd049883eb2961b36be579b1c2))
15
+ * **vue:** select filter with async options ([c36568c](https://github.com/xamu-co/ui/commit/c36568cfe7e68d0902b3cc8035c50d3dc99d22c5))
16
+
17
+
18
+
19
+
20
+
21
+ Updating dependant packages with "@open-xamu-co/ui-components-vue" version "4.0.0-next.23"
22
+ Updating "nuxt"
23
+ Succesfully updated "nuxt" package
24
+
25
+ # [@open-xamu-co/ui-components-vue-v4.0.0-next.22](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v4.0.0-next.21...@open-xamu-co/ui-components-vue-v4.0.0-next.22) (2026-05-11)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **vue:** allow setting max file size from input meta ([876d45e](https://github.com/xamu-co/ui/commit/876d45ed27005fa3188b2806c93f8d04c9692e42))
31
+
32
+
33
+
34
+
35
+
36
+ Updating dependant packages with "@open-xamu-co/ui-components-vue" version "4.0.0-next.22"
37
+ Updating "nuxt"
38
+ Succesfully updated "nuxt" package
39
+
3
40
  # [@open-xamu-co/ui-components-vue-v4.0.0-next.21](https://github.com/xamu-co/ui/compare/@open-xamu-co/ui-components-vue-v4.0.0-next.20...@open-xamu-co/ui-components-vue-v4.0.0-next.21) (2026-05-10)
4
41
 
5
42
 
@@ -10,6 +10,7 @@ interface Collapse extends iUseThemeProps {
10
10
  title?: string;
11
11
  checked?: boolean;
12
12
  el?: vComponent | string;
13
+ headerClasses?: string;
13
14
  }
14
15
  declare var __VLS_7: {}, __VLS_20: {};
15
16
  type __VLS_Slots = {} & {
@@ -4,4 +4,5 @@ declare const meta: Meta<typeof FormInputComponent>;
4
4
  type Story = StoryObj<typeof meta>;
5
5
  export declare const Sample: Story;
6
6
  export declare const Code: Story;
7
+ export declare const AsyncOptions: Story;
7
8
  export default meta;
@@ -1,4 +1,4 @@
1
- import type { tFormInput } from "@open-xamu-co/ui-common-types";
1
+ import type { iFormOption, tFormInput } from "@open-xamu-co/ui-common-types";
2
2
  type __VLS_Props = {
3
3
  input: tFormInput;
4
4
  /**
@@ -8,12 +8,13 @@ type __VLS_Props = {
8
8
  /**
9
9
  * Currently selected values
10
10
  * When `input.multiple === true`
11
+ * @example [selectedValue, ...otherValues]
11
12
  */
12
13
  selectedValues?: (number | string)[];
13
14
  };
14
15
  declare var __VLS_1: {
15
- key: number;
16
- options: {
16
+ key: string | number;
17
+ options: ((v?: string | number, signal?: AbortSignal) => Promise<iFormOption[]>) | {
17
18
  icon?: import("@fortawesome/fontawesome-common-types").IconName | undefined;
18
19
  pattern?: string | undefined;
19
20
  placeholder?: string | undefined;
@@ -63,7 +63,7 @@ declare const __VLS_export: <T, P extends any[] = any[]>(__VLS_props: NonNullabl
63
63
  content: NonNullable<T>;
64
64
  refresh: (opts?: any) => Promise<void>;
65
65
  loading: boolean;
66
- errors: unknown;
66
+ errors: any;
67
67
  hydrate: (newContent: T | null, newErrors?: unknown) => void;
68
68
  }) => any;
69
69
  };
@@ -1,7 +1,11 @@
1
1
  import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
+ import type { iFormOption } from "@open-xamu-co/ui-common-types";
2
3
  import SelectFilter from "./Filter.vue";
3
4
  declare const meta: Meta<typeof SelectFilter>;
4
5
  type Story = StoryObj<typeof meta>;
5
6
  export declare const Sample: Story;
6
7
  export declare const WithOptions: Story;
8
+ /** Emulate async options loader */
9
+ export declare function mockOptionsLoader(query?: string | number): Promise<iFormOption[]>;
10
+ export declare const AsyncOptions: Story;
7
11
  export default meta;
@@ -20,6 +20,6 @@ type tAsyncDataHandler<T> = (nuxtApp?: any, options?: {
20
20
  *
21
21
  * @see https://nuxt.com/docs/api/composables/use-async-data#type
22
22
  */
23
- export declare function useAsyncDataFn<T, E>(handler: tAsyncDataHandler<T>, options?: AsyncDataOptions<T>): iAsyncData<T, E>;
24
- export declare function useAsyncDataFn<T, E>(key: string, handler: tAsyncDataHandler<T>, options?: AsyncDataOptions<T>): iAsyncData<T, E>;
23
+ export declare function useAsyncDataFn<T, E = any>(handler: tAsyncDataHandler<T>, options?: AsyncDataOptions<T>): iAsyncData<T, E>;
24
+ export declare function useAsyncDataFn<T, E = any>(key: string, handler: tAsyncDataHandler<T>, options?: AsyncDataOptions<T>): iAsyncData<T, E>;
25
25
  export {};