pangea-lib 3.1.64 → 3.1.67

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.
@@ -9,12 +9,10 @@ type CalendarEvent = {
9
9
  type Holiday = {
10
10
  month: number;
11
11
  day: number;
12
- label: string;
13
12
  };
14
13
  type Vacation = {
15
14
  start: string;
16
15
  end: string;
17
- label: string;
18
16
  };
19
17
  type Colors = {
20
18
  menuColor: string;
@@ -54,15 +52,19 @@ declare const _default: import('vue').DefineComponent<{
54
52
  };
55
53
  hideWeekends: {
56
54
  type: import('vue').PropType<boolean>;
55
+ default: boolean;
57
56
  };
58
57
  timeFrom: {
59
58
  type: import('vue').PropType<number>;
59
+ default: number;
60
60
  };
61
61
  timeTo: {
62
62
  type: import('vue').PropType<number>;
63
+ default: number;
63
64
  };
64
65
  timeStep: {
65
66
  type: import('vue').PropType<number>;
67
+ default: number;
66
68
  };
67
69
  holidays: {
68
70
  type: import('vue').PropType<Holiday[]>;
@@ -73,22 +75,11 @@ declare const _default: import('vue').DefineComponent<{
73
75
  vacations: {
74
76
  type: import('vue').PropType<Vacation[]>;
75
77
  };
76
- withSeeDetailsButton: {
77
- type: import('vue').PropType<boolean>;
78
- };
79
- withEditButton: {
80
- type: import('vue').PropType<boolean>;
81
- };
82
78
  updateDatesFn: {
83
79
  type: import('vue').PropType<(event: CalendarEvent) => Promise<void>>;
84
80
  };
85
- deleteFn: {
86
- type: import('vue').PropType<(event: CalendarEvent) => Promise<void>>;
87
- };
88
81
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
89
82
  createEvent: (start: Date, end?: Date) => void;
90
- seeEventDetails: (event: CalendarEvent) => void;
91
- editEvent: (event: CalendarEvent) => void;
92
83
  refreshList: (range: SearchRange) => void;
93
84
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
94
85
  modelValue: {
@@ -117,15 +108,19 @@ declare const _default: import('vue').DefineComponent<{
117
108
  };
118
109
  hideWeekends: {
119
110
  type: import('vue').PropType<boolean>;
111
+ default: boolean;
120
112
  };
121
113
  timeFrom: {
122
114
  type: import('vue').PropType<number>;
115
+ default: number;
123
116
  };
124
117
  timeTo: {
125
118
  type: import('vue').PropType<number>;
119
+ default: number;
126
120
  };
127
121
  timeStep: {
128
122
  type: import('vue').PropType<number>;
123
+ default: number;
129
124
  };
130
125
  holidays: {
131
126
  type: import('vue').PropType<Holiday[]>;
@@ -136,24 +131,17 @@ declare const _default: import('vue').DefineComponent<{
136
131
  vacations: {
137
132
  type: import('vue').PropType<Vacation[]>;
138
133
  };
139
- withSeeDetailsButton: {
140
- type: import('vue').PropType<boolean>;
141
- };
142
- withEditButton: {
143
- type: import('vue').PropType<boolean>;
144
- };
145
134
  updateDatesFn: {
146
135
  type: import('vue').PropType<(event: CalendarEvent) => Promise<void>>;
147
136
  };
148
- deleteFn: {
149
- type: import('vue').PropType<(event: CalendarEvent) => Promise<void>>;
150
- };
151
137
  }>> & {
152
138
  onCreateEvent?: (start: Date, end?: Date) => any;
153
- onSeeEventDetails?: (event: CalendarEvent) => any;
154
- onEditEvent?: (event: CalendarEvent) => any;
155
139
  onRefreshList?: (range: SearchRange) => any;
156
140
  }, {
157
141
  colors: Colors;
142
+ hideWeekends: boolean;
143
+ timeFrom: number;
144
+ timeTo: number;
145
+ timeStep: number;
158
146
  }, {}>;
159
147
  export default _default;
@@ -19,9 +19,6 @@ declare const _default: import('vue').DefineComponent<{
19
19
  rounded: {
20
20
  type: import('vue').PropType<boolean>;
21
21
  };
22
- deleteFn: {
23
- type: import('vue').PropType<() => Promise<void>>;
24
- };
25
22
  width: {
26
23
  type: import('vue').PropType<string>;
27
24
  };
@@ -34,6 +31,9 @@ declare const _default: import('vue').DefineComponent<{
34
31
  uploadFn: {
35
32
  type: import('vue').PropType<(params: UploadImageParams) => Promise<Image>>;
36
33
  };
34
+ deleteFn: {
35
+ type: import('vue').PropType<() => Promise<void>>;
36
+ };
37
37
  buttonsLayout: {
38
38
  type: import('vue').PropType<"horizontal" | "vertical">;
39
39
  default: string;
@@ -56,9 +56,6 @@ declare const _default: import('vue').DefineComponent<{
56
56
  rounded: {
57
57
  type: import('vue').PropType<boolean>;
58
58
  };
59
- deleteFn: {
60
- type: import('vue').PropType<() => Promise<void>>;
61
- };
62
59
  width: {
63
60
  type: import('vue').PropType<string>;
64
61
  };
@@ -71,6 +68,9 @@ declare const _default: import('vue').DefineComponent<{
71
68
  uploadFn: {
72
69
  type: import('vue').PropType<(params: UploadImageParams) => Promise<Image>>;
73
70
  };
71
+ deleteFn: {
72
+ type: import('vue').PropType<() => Promise<void>>;
73
+ };
74
74
  buttonsLayout: {
75
75
  type: import('vue').PropType<"horizontal" | "vertical">;
76
76
  default: string;
@@ -41,12 +41,6 @@ export type AppOptions = {
41
41
  timeoutTime: NotificationTimeoutTime;
42
42
  preventRemove: boolean;
43
43
  };
44
- calendar: {
45
- hideWeekends: boolean;
46
- timeFrom?: number;
47
- timeTo?: number;
48
- timeStep?: number;
49
- };
50
44
  };
51
45
  export type AppOptionsStore = {
52
46
  language: Language;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "3.1.64",
4
+ "version": "3.1.67",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",