@fewangsit/wangsvue-fats 1.0.0-alpha.154 → 1.0.0-alpha.155

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,52 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+ /**
4
+ * DatePicker component props
5
+ */
6
+ export interface DatePickerProps {
7
+ /**
8
+ * DatePicker modelValue is day index from 0
9
+ */
10
+ modelValue?: number[];
11
+ /**
12
+ * DatePicker initialValue is day index from 0
13
+ */
14
+ initialValue?: number[];
15
+ /**
16
+ * Display label on top of Date Input.
17
+ */
18
+ label?: string;
19
+ /**
20
+ * Enable Validator using vee-validate. Combine with Form that handle form validation.
21
+ */
22
+ useValidator?: boolean;
23
+ /**
24
+ * When used as field in From Validation using Form,
25
+ * specify the unique field name, match with your needs for API request.
26
+ */
27
+ fieldName?: string;
28
+ /**
29
+ * Whether this field should be filled or not.
30
+ */
31
+ mandatory?: boolean;
32
+ /**
33
+ * Sets the invalid state.
34
+ */
35
+ invalid?: boolean;
36
+ /**
37
+ * Set the custom validator message.
38
+ * By default each field has preserved with its validator message, you don't need to worrying about the message.
39
+ */
40
+ errorMessage?: { empty: string };
41
+ }
42
+
43
+ /**
44
+ * DatePicker component emits
45
+ */
46
+ export type DatePickerEmits = {
47
+ 'update:modelValue': [days?: number[]];
48
+ };
49
+
50
+ declare const DatePicker: DefineComponent<DatePickerProps, DatePickerEmits>;
51
+
52
+ export default DatePicker;
@@ -0,0 +1,52 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+ /**
4
+ * DayPicker component props
5
+ */
6
+ export interface DayPickerProps {
7
+ /**
8
+ * DayPicker modelValue is day index from 0
9
+ */
10
+ modelValue?: number[];
11
+ /**
12
+ * DayPicker initialValue is day index from 0
13
+ */
14
+ initialValue?: number[];
15
+ /**
16
+ * Display label on top of Date Input.
17
+ */
18
+ label?: string;
19
+ /**
20
+ * Enable Validator using vee-validate. Combine with Form that handle form validation.
21
+ */
22
+ useValidator?: boolean;
23
+ /**
24
+ * When used as field in From Validation using Form,
25
+ * specify the unique field name, match with your needs for API request.
26
+ */
27
+ fieldName?: string;
28
+ /**
29
+ * Whether this field should be filled or not.
30
+ */
31
+ mandatory?: boolean;
32
+ /**
33
+ * Sets the invalid state.
34
+ */
35
+ invalid?: boolean;
36
+ /**
37
+ * Set the custom validator message.
38
+ * By default each field has preserved with its validator message, you don't need to worrying about the message.
39
+ */
40
+ errorMessage?: { empty: string };
41
+ }
42
+
43
+ /**
44
+ * DayPicker component emits
45
+ */
46
+ export type DayPickerEmits = {
47
+ 'update:modelValue': [days?: number[]];
48
+ };
49
+
50
+ declare const DayPicker: DefineComponent<DayPickerProps, DayPickerEmits>;
51
+
52
+ export default DayPicker;
@@ -69,6 +69,8 @@ export { default as UserWithIcon } from './userwithicon/UserWithIcon.vue';
69
69
  export { default as FilterContainer } from './filtercontainer/FilterContainer.vue';
70
70
  export { default as InputSearch } from './inputsearch/InputSearch.vue';
71
71
  export { default as TransactionRoles } from './transactionroles/TransactionRoles.vue';
72
+ export { default as DatePicker } from './datepicker/DatePicker.vue';
73
+ export { default as DayPicker } from './daypicker/DayPicker.vue';
72
74
  export { default as DialogPrintQR } from './dialogprintqr/DialogPrintQR.vue';
73
75
  export { default as DialogAssetNameDetail } from './dialogassetnamedetail/DialogAssetNameDetail.vue';
74
76
  export { default as DialogReportTag } from './dialogreporttag/DialogReportTag.vue';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue-fats",
3
- "version": "1.0.0-alpha.154",
3
+ "version": "1.0.0-alpha.155",
4
4
  "author": "Wangsit FE Developer",
5
5
  "description": "Fixed Asset Tagsamurai VueJS Component Library",
6
6
  "type": "module",