tsv2-library 0.0.99 → 0.1.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.
@@ -0,0 +1,72 @@
1
+ import { DefineComponent } from 'vue';
2
+ import { QueryParams } from '../DataTable/DataTable.vue.d';
3
+
4
+ /**
5
+ * Props for DialogAssetNameDetail component
6
+ */
7
+ export interface DialogAssetNameDetailProps {
8
+ /**
9
+ * The header of the dialog.
10
+ *
11
+ * @defaultValue "Select User"
12
+ */
13
+ header?: string;
14
+
15
+ /**
16
+ * The description of the table.
17
+ *
18
+ * @defaultValue "Select user"
19
+ */
20
+ description?: string;
21
+
22
+ /**
23
+ * Specifies the visibility of the dialog.
24
+ * @defaultValue false
25
+ */
26
+ visible?: boolean | undefined;
27
+
28
+ /**
29
+ * List that will be show above the table
30
+ * @defaultValue undefined
31
+ */
32
+ list?: string[];
33
+
34
+ /**
35
+ * The function to fetch data on DataTable mounted and on queryParams dependencies updated.
36
+ *
37
+ * @param params this is required
38
+ */
39
+ fetchFunction?: (params: QueryParams) => Promise<FetchResponse | undefined>;
40
+ }
41
+
42
+ /**
43
+ * Emits for DialogAssetNameDetail component
44
+ */
45
+ export type DialogAssetNameDetailEmits = {
46
+ /**
47
+ * Emits when the dialog is closed. Wether from cancel button, close button, or ESC button pressed.
48
+ */
49
+ 'update:visible': [state: boolean];
50
+
51
+ /**
52
+ * Emits when you done selected user.
53
+ */
54
+ 'selected': [user: any];
55
+ };
56
+
57
+ /**
58
+ * **TSVue - DialogAssetNameDetail**
59
+ *
60
+ * _DialogAssetNameDetail is a component for displaying asset name detail._
61
+ *
62
+ * --- ---
63
+ * ![TSVue](https://ik.imagekit.io/kurniadev/TS-HEAD-BLACK.png)
64
+ *
65
+ * @group components
66
+ */
67
+ declare const DialogAssetNameDetail: DefineComponent<
68
+ DialogAssetNameDetailProps,
69
+ DialogAssetNameDetailEmits
70
+ >;
71
+
72
+ export default DialogAssetNameDetail;
@@ -0,0 +1,4 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "apply"[], "apply", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
2
+ onApply?: ((...args: any[]) => any) | undefined;
3
+ }, {}, {}>;
4
+ export default _sfc_main;
@@ -7,7 +7,14 @@ export interface InputRangeNumberProps {
7
7
  /**
8
8
  * Number modelValue of the input.
9
9
  */
10
- modelValue?: number[];
10
+ modelValue?: number;
11
+ /**
12
+ * Sets the initial value of the field.
13
+ * This will only available with option 'useValidator'.
14
+ *
15
+ * In usecase like edit form, you need to display the previous inputted value.
16
+ */
17
+ value?: number;
11
18
  /**
12
19
  * The input label. Tell the user what input is this.
13
20
  */
@@ -36,7 +43,7 @@ export type InputRangeNumberEmits = {
36
43
  /**
37
44
  * Emits when the both input already filled.
38
45
  */
39
- 'update:modelValue': [payload?: number[]];
46
+ 'update:modelValue': [value?: number];
40
47
  };
41
48
 
42
49
  /**
@@ -0,0 +1,6 @@
1
+ import { DataTableParams } from '../types/dataTable.type';
2
+ export type GetHolderListFilter = {
3
+ division?: string;
4
+ position?: string;
5
+ };
6
+ export type GetHolderListParams = DataTableParams & GetHolderListFilter;