pangea-lib 4.0.48 → 4.0.50

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.
@@ -1,6 +1,6 @@
1
1
  import { Id, StrOrFn } from '../types';
2
2
 
3
- type CalendarEvent = {
3
+ type Event = {
4
4
  id: Id;
5
5
  start: Date;
6
6
  end: Date;
@@ -21,7 +21,7 @@ type Range = {
21
21
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
22
22
  modelValue: {
23
23
  required: true;
24
- type: import('vue').PropType<CalendarEvent[]>;
24
+ type: import('vue').PropType<Event[]>;
25
25
  };
26
26
  searchRange: import('vue').PropType<Range>;
27
27
  noEventsLabel: {
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
52
52
  type: import('vue').PropType<Vacation[]>;
53
53
  };
54
54
  updateDatesFn: {
55
- type: import('vue').PropType<(event: CalendarEvent) => Promise<void>>;
55
+ type: import('vue').PropType<(event: Event) => Promise<void>>;
56
56
  };
57
57
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
58
58
  createEvent: (range: Range) => void;
@@ -60,7 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
60
60
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
61
61
  modelValue: {
62
62
  required: true;
63
- type: import('vue').PropType<CalendarEvent[]>;
63
+ type: import('vue').PropType<Event[]>;
64
64
  };
65
65
  searchRange: import('vue').PropType<Range>;
66
66
  noEventsLabel: {
@@ -91,14 +91,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
91
91
  type: import('vue').PropType<Vacation[]>;
92
92
  };
93
93
  updateDatesFn: {
94
- type: import('vue').PropType<(event: CalendarEvent) => Promise<void>>;
94
+ type: import('vue').PropType<(event: Event) => Promise<void>>;
95
95
  };
96
96
  }>> & {
97
97
  onCreateEvent?: (range: Range) => any;
98
98
  onRefreshList?: (range: Range) => any;
99
99
  }, {}, {}>, {
100
100
  event?(_: {
101
- event: CalendarEvent;
101
+ event: Event;
102
102
  }): any;
103
103
  }>;
104
104
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "4.0.48",
4
+ "version": "4.0.50",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",