@opengis/form 0.0.79 → 0.0.80

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 (29) hide show
  1. package/README.md +61 -73
  2. package/dist/components/inputs/base/vs-input-text.vue.d.ts +1 -1
  3. package/dist/components/inputs/base/vs-input-text.vue.d.ts.map +1 -1
  4. package/dist/components/inputs/date/datepicker/Datepicker.vue.d.ts +956 -0
  5. package/dist/components/inputs/date/datepicker/Datepicker.vue.d.ts.map +1 -0
  6. package/dist/components/inputs/date/datepicker/DayPicker.vue.d.ts +206 -0
  7. package/dist/components/inputs/date/datepicker/DayPicker.vue.d.ts.map +1 -0
  8. package/dist/components/inputs/date/datepicker/MonthPicker.vue.d.ts +142 -0
  9. package/dist/components/inputs/date/datepicker/MonthPicker.vue.d.ts.map +1 -0
  10. package/dist/components/inputs/date/datepicker/PickerPopup.vue.d.ts +74 -0
  11. package/dist/components/inputs/date/datepicker/PickerPopup.vue.d.ts.map +1 -0
  12. package/dist/components/inputs/date/datepicker/Timepicker.vue.d.ts +132 -0
  13. package/dist/components/inputs/date/datepicker/Timepicker.vue.d.ts.map +1 -0
  14. package/dist/components/inputs/date/datepicker/YearPicker.vue.d.ts +122 -0
  15. package/dist/components/inputs/date/datepicker/YearPicker.vue.d.ts.map +1 -0
  16. package/dist/components/inputs/date/datepicker/types.d.ts +16 -0
  17. package/dist/components/inputs/date/datepicker/types.d.ts.map +1 -0
  18. package/dist/components/inputs/date/vs-input-date2.vue.d.ts +17 -0
  19. package/dist/components/inputs/date/vs-input-date2.vue.d.ts.map +1 -0
  20. package/dist/components/modal/modal-edit.vue.d.ts.map +1 -1
  21. package/dist/index.css +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/index.js +4526 -3198
  24. package/dist/index.umd.cjs +3 -3
  25. package/dist/types/form.d.ts +4 -1
  26. package/dist/types/form.d.ts.map +1 -1
  27. package/dist/utils/dateHelper.d.ts +57 -0
  28. package/dist/utils/dateHelper.d.ts.map +1 -0
  29. package/package.json +68 -68
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Datepicker.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/date/datepicker/Datepicker.vue"],"names":[],"mappings":"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"}
@@ -0,0 +1,206 @@
1
+ import { PropType } from 'vue';
2
+ import type { WeekDayNumber } from '../../../../types/form';
3
+ import type { DatepickerItem } from './types';
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ selected: {
6
+ type: PropType<Date>;
7
+ required: false;
8
+ };
9
+ pageDate: {
10
+ type: PropType<Date>;
11
+ required: true;
12
+ };
13
+ format: {
14
+ type: StringConstructor;
15
+ required: false;
16
+ default: string;
17
+ };
18
+ headingFormat: {
19
+ type: StringConstructor;
20
+ required: false;
21
+ default: string;
22
+ };
23
+ weekdayFormat: {
24
+ type: StringConstructor;
25
+ required: false;
26
+ default: string;
27
+ };
28
+ weekStartsOn: {
29
+ type: PropType<WeekDayNumber>;
30
+ required: false;
31
+ default: number;
32
+ validator: (i: unknown) => boolean;
33
+ };
34
+ customWeekdays: {
35
+ type: PropType<string[]>;
36
+ required: false;
37
+ };
38
+ lowerLimit: {
39
+ type: PropType<Date>;
40
+ required: false;
41
+ };
42
+ upperLimit: {
43
+ type: PropType<Date>;
44
+ required: false;
45
+ };
46
+ disabledDates: {
47
+ type: PropType<{
48
+ dates?: Date[];
49
+ predicate?: (target: Date) => boolean;
50
+ }>;
51
+ required: false;
52
+ };
53
+ allowOutsideInterval: {
54
+ type: BooleanConstructor;
55
+ required: false;
56
+ default: boolean;
57
+ };
58
+ }>, {
59
+ weekDays: import("vue").ComputedRef<string[]>;
60
+ days: import("vue").ComputedRef<DatepickerItem[]>;
61
+ heading: import("vue").ComputedRef<string>;
62
+ leftDisabled: import("vue").ComputedRef<boolean | undefined>;
63
+ rightDisabled: import("vue").ComputedRef<boolean | undefined>;
64
+ previousPage: () => void;
65
+ nextPage: () => void;
66
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
67
+ 'update:pageDate': (date: Date) => boolean;
68
+ select: (date: Date) => boolean;
69
+ back: () => true;
70
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
71
+ selected: {
72
+ type: PropType<Date>;
73
+ required: false;
74
+ };
75
+ pageDate: {
76
+ type: PropType<Date>;
77
+ required: true;
78
+ };
79
+ format: {
80
+ type: StringConstructor;
81
+ required: false;
82
+ default: string;
83
+ };
84
+ headingFormat: {
85
+ type: StringConstructor;
86
+ required: false;
87
+ default: string;
88
+ };
89
+ weekdayFormat: {
90
+ type: StringConstructor;
91
+ required: false;
92
+ default: string;
93
+ };
94
+ weekStartsOn: {
95
+ type: PropType<WeekDayNumber>;
96
+ required: false;
97
+ default: number;
98
+ validator: (i: unknown) => boolean;
99
+ };
100
+ customWeekdays: {
101
+ type: PropType<string[]>;
102
+ required: false;
103
+ };
104
+ lowerLimit: {
105
+ type: PropType<Date>;
106
+ required: false;
107
+ };
108
+ upperLimit: {
109
+ type: PropType<Date>;
110
+ required: false;
111
+ };
112
+ disabledDates: {
113
+ type: PropType<{
114
+ dates?: Date[];
115
+ predicate?: (target: Date) => boolean;
116
+ }>;
117
+ required: false;
118
+ };
119
+ allowOutsideInterval: {
120
+ type: BooleanConstructor;
121
+ required: false;
122
+ default: boolean;
123
+ };
124
+ }>> & Readonly<{
125
+ onSelect?: ((date: Date) => any) | undefined;
126
+ "onUpdate:pageDate"?: ((date: Date) => any) | undefined;
127
+ onBack?: (() => any) | undefined;
128
+ }>, {
129
+ format: string;
130
+ headingFormat: string;
131
+ weekdayFormat: string;
132
+ weekStartsOn: WeekDayNumber;
133
+ allowOutsideInterval: boolean;
134
+ }, {}, {
135
+ PickerPopup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
136
+ headingClickable: {
137
+ type: BooleanConstructor;
138
+ default: boolean;
139
+ };
140
+ leftDisabled: {
141
+ type: BooleanConstructor;
142
+ default: boolean;
143
+ };
144
+ rightDisabled: {
145
+ type: BooleanConstructor;
146
+ default: boolean;
147
+ };
148
+ columnCount: {
149
+ type: NumberConstructor;
150
+ default: number;
151
+ };
152
+ items: {
153
+ type: PropType<DatepickerItem[]>;
154
+ default: () => DatepickerItem[];
155
+ };
156
+ viewMode: {
157
+ type: PropType<import("./PickerPopup.vue").ViewMode>;
158
+ required: true;
159
+ validate: (x: unknown) => boolean;
160
+ };
161
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
162
+ elementClick: (value: Date) => boolean;
163
+ left: () => true;
164
+ right: () => true;
165
+ heading: () => true;
166
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
167
+ headingClickable: {
168
+ type: BooleanConstructor;
169
+ default: boolean;
170
+ };
171
+ leftDisabled: {
172
+ type: BooleanConstructor;
173
+ default: boolean;
174
+ };
175
+ rightDisabled: {
176
+ type: BooleanConstructor;
177
+ default: boolean;
178
+ };
179
+ columnCount: {
180
+ type: NumberConstructor;
181
+ default: number;
182
+ };
183
+ items: {
184
+ type: PropType<DatepickerItem[]>;
185
+ default: () => DatepickerItem[];
186
+ };
187
+ viewMode: {
188
+ type: PropType<import("./PickerPopup.vue").ViewMode>;
189
+ required: true;
190
+ validate: (x: unknown) => boolean;
191
+ };
192
+ }>> & Readonly<{
193
+ onLeft?: (() => any) | undefined;
194
+ onHeading?: (() => any) | undefined;
195
+ onElementClick?: ((value: Date) => any) | undefined;
196
+ onRight?: (() => any) | undefined;
197
+ }>, {
198
+ items: DatepickerItem[];
199
+ headingClickable: boolean;
200
+ leftDisabled: boolean;
201
+ rightDisabled: boolean;
202
+ columnCount: number;
203
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
204
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
205
+ export default _default;
206
+ //# sourceMappingURL=DayPicker.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DayPicker.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/date/datepicker/DayPicker.vue"],"names":[],"mappings":"AAAA,OAgOO,EAA+C,QAAQ,EAAE,MAAM,KAAK,CAAA;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAqB3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;;;cAazB,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;cAmBZ,QAAQ,CAAC,aAAa,CAAC;;;uBAGxB,OAAO,KAAG,OAAO;;;cAIjB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;cAInB,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,IAAI,CAAC;;;;cAIZ,QAAQ,CAAC;YACvB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;YACd,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,KAAK,OAAO,CAAA;SACtC,CAAC;;;;;;;;;;;;;;;;;8BAnDsB,IAAI;mBACf,IAAI;;;;cAKH,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;cAmBZ,QAAQ,CAAC,aAAa,CAAC;;;uBAGxB,OAAO,KAAG,OAAO;;;cAIjB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;cAInB,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,IAAI,CAAC;;;;cAIZ,QAAQ,CAAC;YACvB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;YACd,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,KAAK,OAAO,CAAA;SACtC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAxDR,wBAwKE"}
@@ -0,0 +1,142 @@
1
+ import { PropType } from 'vue';
2
+ import type { DatepickerItem } from './types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ /**
5
+ * Currently selected date, needed for highlighting
6
+ */
7
+ selected: {
8
+ type: PropType<Date>;
9
+ required: false;
10
+ };
11
+ pageDate: {
12
+ type: PropType<Date>;
13
+ required: true;
14
+ };
15
+ format: {
16
+ type: StringConstructor;
17
+ required: false;
18
+ default: string;
19
+ };
20
+ lowerLimit: {
21
+ type: PropType<Date>;
22
+ required: false;
23
+ };
24
+ upperLimit: {
25
+ type: PropType<Date>;
26
+ required: false;
27
+ };
28
+ }>, {
29
+ months: import("vue").ComputedRef<DatepickerItem[]>;
30
+ heading: import("vue").ComputedRef<number>;
31
+ leftDisabled: import("vue").ComputedRef<boolean | undefined>;
32
+ rightDisabled: import("vue").ComputedRef<boolean | undefined>;
33
+ previousPage: () => void;
34
+ nextPage: () => void;
35
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
+ 'update:pageDate': (date: Date) => boolean;
37
+ select: (date: Date) => boolean;
38
+ back: () => true;
39
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
+ /**
41
+ * Currently selected date, needed for highlighting
42
+ */
43
+ selected: {
44
+ type: PropType<Date>;
45
+ required: false;
46
+ };
47
+ pageDate: {
48
+ type: PropType<Date>;
49
+ required: true;
50
+ };
51
+ format: {
52
+ type: StringConstructor;
53
+ required: false;
54
+ default: string;
55
+ };
56
+ lowerLimit: {
57
+ type: PropType<Date>;
58
+ required: false;
59
+ };
60
+ upperLimit: {
61
+ type: PropType<Date>;
62
+ required: false;
63
+ };
64
+ }>> & Readonly<{
65
+ onSelect?: ((date: Date) => any) | undefined;
66
+ "onUpdate:pageDate"?: ((date: Date) => any) | undefined;
67
+ onBack?: (() => any) | undefined;
68
+ }>, {
69
+ format: string;
70
+ }, {}, {
71
+ PickerPopup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
72
+ headingClickable: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
76
+ leftDisabled: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ rightDisabled: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ columnCount: {
85
+ type: NumberConstructor;
86
+ default: number;
87
+ };
88
+ items: {
89
+ type: PropType<DatepickerItem[]>;
90
+ default: () => DatepickerItem[];
91
+ };
92
+ viewMode: {
93
+ type: PropType<import("./PickerPopup.vue").ViewMode>;
94
+ required: true;
95
+ validate: (x: unknown) => boolean;
96
+ };
97
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
98
+ elementClick: (value: Date) => boolean;
99
+ left: () => true;
100
+ right: () => true;
101
+ heading: () => true;
102
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
103
+ headingClickable: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ leftDisabled: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ rightDisabled: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ columnCount: {
116
+ type: NumberConstructor;
117
+ default: number;
118
+ };
119
+ items: {
120
+ type: PropType<DatepickerItem[]>;
121
+ default: () => DatepickerItem[];
122
+ };
123
+ viewMode: {
124
+ type: PropType<import("./PickerPopup.vue").ViewMode>;
125
+ required: true;
126
+ validate: (x: unknown) => boolean;
127
+ };
128
+ }>> & Readonly<{
129
+ onLeft?: (() => any) | undefined;
130
+ onHeading?: (() => any) | undefined;
131
+ onElementClick?: ((value: Date) => any) | undefined;
132
+ onRight?: (() => any) | undefined;
133
+ }>, {
134
+ items: DatepickerItem[];
135
+ headingClickable: boolean;
136
+ leftDisabled: boolean;
137
+ rightDisabled: boolean;
138
+ columnCount: number;
139
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
140
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
141
+ export default _default;
142
+ //# sourceMappingURL=MonthPicker.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MonthPicker.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/date/datepicker/MonthPicker.vue"],"names":[],"mappings":"AAAA,OA2IO,EAA6B,QAAQ,EAAE,MAAM,KAAK,CAAA;AAkBzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;;IAYzC;;OAEG;;cAEa,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;cASd,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;;;8BA1BJ,IAAI;mBACf,IAAI;;;IAInB;;OAEG;;cAEa,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;cASd,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/BlC,wBAiGE"}
@@ -0,0 +1,74 @@
1
+ import { PropType } from 'vue';
2
+ import type { DatepickerItem } from './types';
3
+ export type ViewMode = 'year' | 'month' | 'day' | 'time' | 'custom';
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ headingClickable: {
6
+ type: BooleanConstructor;
7
+ default: boolean;
8
+ };
9
+ leftDisabled: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ rightDisabled: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ columnCount: {
18
+ type: NumberConstructor;
19
+ default: number;
20
+ };
21
+ items: {
22
+ type: PropType<DatepickerItem[]>;
23
+ default: () => DatepickerItem[];
24
+ };
25
+ viewMode: {
26
+ type: PropType<ViewMode>;
27
+ required: true;
28
+ validate: (x: unknown) => boolean;
29
+ };
30
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
+ elementClick: (value: Date) => boolean;
32
+ left: () => true;
33
+ right: () => true;
34
+ heading: () => true;
35
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
+ headingClickable: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ leftDisabled: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ rightDisabled: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ columnCount: {
49
+ type: NumberConstructor;
50
+ default: number;
51
+ };
52
+ items: {
53
+ type: PropType<DatepickerItem[]>;
54
+ default: () => DatepickerItem[];
55
+ };
56
+ viewMode: {
57
+ type: PropType<ViewMode>;
58
+ required: true;
59
+ validate: (x: unknown) => boolean;
60
+ };
61
+ }>> & Readonly<{
62
+ onLeft?: (() => any) | undefined;
63
+ onHeading?: (() => any) | undefined;
64
+ onElementClick?: ((value: Date) => any) | undefined;
65
+ onRight?: (() => any) | undefined;
66
+ }>, {
67
+ items: DatepickerItem[];
68
+ headingClickable: boolean;
69
+ leftDisabled: boolean;
70
+ rightDisabled: boolean;
71
+ columnCount: number;
72
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
73
+ export default _default;
74
+ //# sourceMappingURL=PickerPopup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PickerPopup.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/date/datepicker/PickerPopup.vue"],"names":[],"mappings":"AAAA,OAyPO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAA;AAE/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,CAAA;;;;;;;;;;;;;;;;;;;cA4B9C,QAAQ,CAAC,cAAc,EAAE,CAAC;uBAC5B,cAAc,EAAE;;;cAGb,QAAQ,CAAC,QAAQ,CAAC;;sBAEpB,OAAO;;;0BA7BD,IAAI;;;;;;;;;;;;;;;;;;;;;;cAuBT,QAAQ,CAAC,cAAc,EAAE,CAAC;uBAC5B,cAAc,EAAE;;;cAGb,QAAQ,CAAC,QAAQ,CAAC;;sBAEpB,OAAO;;;;;;;;;;;;;;AA/B3B,wBAkCE"}
@@ -0,0 +1,132 @@
1
+ import { Ref, PropType, ComputedRef } from 'vue';
2
+ import type { TimepickerListItem } from './types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ selected: {
5
+ type: PropType<Date>;
6
+ required: false;
7
+ };
8
+ pageDate: {
9
+ type: PropType<Date>;
10
+ required: true;
11
+ };
12
+ visible: {
13
+ type: BooleanConstructor;
14
+ required: true;
15
+ };
16
+ disabledTime: {
17
+ type: PropType<{
18
+ dates?: Date[];
19
+ predicate?: (target: Date) => boolean;
20
+ }>;
21
+ required: false;
22
+ };
23
+ }>, {
24
+ hoursListRef: Ref<HTMLElement | null, HTMLElement | null>;
25
+ minutesListRef: Ref<HTMLElement | null, HTMLElement | null>;
26
+ hours: Ref<number, number>;
27
+ minutes: Ref<number, number>;
28
+ hoursList: ComputedRef<TimepickerListItem[]>;
29
+ minutesList: ComputedRef<TimepickerListItem[]>;
30
+ padStartZero: (item: number) => string;
31
+ selectMinutes: (item: TimepickerListItem) => void;
32
+ isEnabled: (target: Date) => boolean;
33
+ scroll: () => void;
34
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
+ select: (date: Date) => boolean;
36
+ back: () => true;
37
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
+ selected: {
39
+ type: PropType<Date>;
40
+ required: false;
41
+ };
42
+ pageDate: {
43
+ type: PropType<Date>;
44
+ required: true;
45
+ };
46
+ visible: {
47
+ type: BooleanConstructor;
48
+ required: true;
49
+ };
50
+ disabledTime: {
51
+ type: PropType<{
52
+ dates?: Date[];
53
+ predicate?: (target: Date) => boolean;
54
+ }>;
55
+ required: false;
56
+ };
57
+ }>> & Readonly<{
58
+ onSelect?: ((date: Date) => any) | undefined;
59
+ onBack?: (() => any) | undefined;
60
+ }>, {}, {}, {
61
+ PickerPopup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
62
+ headingClickable: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ leftDisabled: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ rightDisabled: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ columnCount: {
75
+ type: NumberConstructor;
76
+ default: number;
77
+ };
78
+ items: {
79
+ type: PropType<import("./types").DatepickerItem[]>;
80
+ default: () => import("./types").DatepickerItem[];
81
+ };
82
+ viewMode: {
83
+ type: PropType<import("./PickerPopup.vue").ViewMode>;
84
+ required: true;
85
+ validate: (x: unknown) => boolean;
86
+ };
87
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
88
+ elementClick: (value: Date) => boolean;
89
+ left: () => true;
90
+ right: () => true;
91
+ heading: () => true;
92
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
93
+ headingClickable: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
96
+ };
97
+ leftDisabled: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ };
101
+ rightDisabled: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ columnCount: {
106
+ type: NumberConstructor;
107
+ default: number;
108
+ };
109
+ items: {
110
+ type: PropType<import("./types").DatepickerItem[]>;
111
+ default: () => import("./types").DatepickerItem[];
112
+ };
113
+ viewMode: {
114
+ type: PropType<import("./PickerPopup.vue").ViewMode>;
115
+ required: true;
116
+ validate: (x: unknown) => boolean;
117
+ };
118
+ }>> & Readonly<{
119
+ onLeft?: (() => any) | undefined;
120
+ onHeading?: (() => any) | undefined;
121
+ onElementClick?: ((value: Date) => any) | undefined;
122
+ onRight?: (() => any) | undefined;
123
+ }>, {
124
+ items: import("./types").DatepickerItem[];
125
+ headingClickable: boolean;
126
+ leftDisabled: boolean;
127
+ rightDisabled: boolean;
128
+ columnCount: number;
129
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
130
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
131
+ export default _default;
132
+ //# sourceMappingURL=Timepicker.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Timepicker.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/date/datepicker/Timepicker.vue"],"names":[],"mappings":"AAwOA,OAAO,EAML,GAAG,EACH,QAAQ,EACR,WAAW,EACZ,MAAM,KAAK,CAAA;AAQZ,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;;;cAmC7B,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,IAAI,CAAC;;;;;;;;cAQZ,QAAQ,CAAC;YACvB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;YACd,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,KAAK,OAAO,CAAA;SACtC,CAAC;;;;;;;;;;yBA+FwB,MAAM,KAAG,MAAM;0BAzCd,kBAAkB;wBA6BpB,IAAI,KAAG,OAAO;;;mBAvG1B,IAAI;;;;cAKH,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,IAAI,CAAC;;;;;;;;cAQZ,QAAQ,CAAC;YACvB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;YACd,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,KAAK,OAAO,CAAA;SACtC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAzBR,wBAuIE"}