@fewangsit/wangsvue-fats 1.0.0-alpha.113 → 1.0.0-alpha.115

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.
@@ -0,0 +1,28 @@
1
+ import { ImageGallery } from '../image/Image.vue.d';
2
+ import { ClassComponent } from '../ts-helpers';
3
+
4
+ export interface CarouselProps {
5
+ /**
6
+ * An array of image object to be displayed.
7
+ */
8
+ value: ImageGallery[] | undefined;
9
+ }
10
+
11
+ /**
12
+ * **TSVue v2 - Carousel**
13
+ *
14
+ * _Carousel is a component for displaying a collection of images or content in a sliding or rotating fashion.
15
+ * You can navigate through the items using the provided next and previous functions._
16
+ *
17
+ * --- ---
18
+ * ![TSVue](https://ik.imagekit.io/kurniadev/TS-HEAD-BLACK.png)
19
+ *
20
+ * @group components
21
+ */
22
+ declare class Carousel extends ClassComponent<
23
+ CarouselProps,
24
+ unknown,
25
+ unknown
26
+ > {}
27
+
28
+ export default Carousel;
@@ -1,3 +1,4 @@
1
+ import { AxiosResponse } from 'axios';
1
2
  import { DefineComponent, Slot } from 'vue';
2
3
 
3
4
  import {
@@ -36,9 +37,14 @@ export interface MultiSelectFilterField extends MultiSelectProps {
36
37
  field: string;
37
38
  optionField?: string; // @example - actionOptions
38
39
  params?: QueryParams; // Additional QueryParams for the fetchOptionFn
40
+
41
+ /**
42
+ * @param args - The query parameters to be passed to the fetchOptionFn.
43
+ */
39
44
  fetchOptionFn?:
40
45
  | ((args?: any) => Option[] | undefined) // Sync function to fetch options
41
- | ((args?: any) => Promise<Option[] | undefined>); // Async function
46
+ | ((args?: any) => Promise<Option[] | undefined>) // Async function
47
+ | ((args?: any) => Promise<AxiosResponse<FetchOptionResponse<any>>>); // The service method handle fetching options
42
48
  }
43
49
 
44
50
  export interface DropdownFilterField extends DropdownProps {
@@ -17,6 +17,7 @@ export { default as ButtonSync } from './buttonsync/ButtonSync.vue';
17
17
  export { default as ButtonToggle } from './buttontoggle/ButtonToggle.vue';
18
18
  export { default as Calendar } from './calendar/Calendar.vue';
19
19
  export { default as Card } from './card/Card.vue';
20
+ export { default as Carousel } from './carousel/Carousel.vue';
20
21
  export { default as Checkbox } from './checkbox/Checkbox.vue';
21
22
  export { default as DataTable } from './datatable/DataTable.vue';
22
23
  export { default as Dialog } from './dialog/Dialog.vue';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue-fats",
3
- "version": "1.0.0-alpha.113",
3
+ "version": "1.0.0-alpha.115",
4
4
  "author": "Wangsit FE Developer",
5
5
  "description": "Fixed Asset Tagsamurai VueJS Component Library",
6
6
  "type": "module",