@idea-ionic/agenda 8.5.13 → 8.6.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.
- package/fesm2022/idea-ionic-agenda.mjs +27 -27
- package/fesm2022/idea-ionic-agenda.mjs.map +1 -1
- package/index.d.ts +417 -3
- package/package.json +15 -17
- package/esm2022/idea-ionic-agenda.mjs +0 -5
- package/esm2022/public-api.mjs +0 -8
- package/esm2022/src/agenda.component.mjs +0 -323
- package/esm2022/src/agenda.module.mjs +0 -53
- package/esm2022/src/calendar.component.mjs +0 -110
- package/esm2022/src/calendarCreation.component.mjs +0 -121
- package/esm2022/src/calendarItem.component.mjs +0 -120
- package/esm2022/src/calendars.service.mjs +0 -212
- package/esm2022/src/dateFormatter.provider.mjs +0 -25
- package/public-api.d.ts +0 -7
- package/src/agenda.component.d.ts +0 -202
- package/src/agenda.module.d.ts +0 -16
- package/src/calendar.component.d.ts +0 -38
- package/src/calendarCreation.component.d.ts +0 -44
- package/src/calendarItem.component.d.ts +0 -40
- package/src/calendars.service.d.ts +0 -77
- package/src/dateFormatter.provider.d.ts +0 -13
package/index.d.ts
CHANGED
|
@@ -1,5 +1,419 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import { IonContent } from '@ionic/angular/standalone';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import * as i10 from 'angular-calendar';
|
|
6
|
+
import { CalendarEvent, CalendarView, CalendarWeekViewBeforeRenderEvent, CalendarMonthViewBeforeRenderEvent, CalendarEventTimesChangedEvent, CalendarDateFormatter, DateFormatterParams } from 'angular-calendar';
|
|
7
|
+
import * as i8 from '@idea-ionic/common';
|
|
8
|
+
import { IDEATranslationsService } from '@idea-ionic/common';
|
|
9
|
+
import { ExternalCalendarSources, Calendar, Check, Membership, Team } from 'idea-toolbox';
|
|
10
|
+
import * as i5 from '@angular/common';
|
|
11
|
+
import * as i6 from '@angular/forms';
|
|
12
|
+
import * as i7 from '@ionic/angular';
|
|
13
|
+
import * as i9 from '@idea-ionic/uncommon';
|
|
14
|
+
|
|
15
|
+
declare class IDEAAgendaComponent implements OnInit {
|
|
16
|
+
private _cdr;
|
|
17
|
+
private _platform;
|
|
18
|
+
_translate: IDEATranslationsService;
|
|
19
|
+
/**
|
|
20
|
+
* The events to display in the calendar.
|
|
21
|
+
*/
|
|
22
|
+
events: AgendaEvent[];
|
|
23
|
+
/**
|
|
24
|
+
* An array of day indexes (0 = sunday, 1 = monday, etc.) that will be hidden on the view.
|
|
25
|
+
*/
|
|
26
|
+
excludeDays: number[];
|
|
27
|
+
/**
|
|
28
|
+
* The day start hours in 24 hour time. Must be 0-23
|
|
29
|
+
*/
|
|
30
|
+
dayStartHour: number;
|
|
31
|
+
/**
|
|
32
|
+
* The day start hours in 24 hour time. Must be 0-23
|
|
33
|
+
*/
|
|
34
|
+
dayEndHour: number;
|
|
35
|
+
/**
|
|
36
|
+
* The number of segments in an hour. Must divide equally into 60.
|
|
37
|
+
*/
|
|
38
|
+
hourSegments: number;
|
|
39
|
+
/**
|
|
40
|
+
* Whether to open the current day's details right away in month view.
|
|
41
|
+
*/
|
|
42
|
+
activeDayIsOpen: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The view mode for the agenda.
|
|
45
|
+
*/
|
|
46
|
+
view: CalendarView;
|
|
47
|
+
/**
|
|
48
|
+
* The allowed view mode for the agenda.
|
|
49
|
+
*/
|
|
50
|
+
allowedViews: CalendarView[];
|
|
51
|
+
/**
|
|
52
|
+
* Whether to block any day/slot in the past.
|
|
53
|
+
*/
|
|
54
|
+
onlyFuture: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Some notes to show underneath the calendar's header.
|
|
57
|
+
*/
|
|
58
|
+
titleNotes: string;
|
|
59
|
+
/**
|
|
60
|
+
* The template for new events created by drag&drop.
|
|
61
|
+
*/
|
|
62
|
+
newEventTemplate: AgendaEvent;
|
|
63
|
+
/**
|
|
64
|
+
* Whether (and how) to allow the creation of events by drag&drop.
|
|
65
|
+
* If enabled, on mobile it requires the `parentContent` to be set for a correct execution.
|
|
66
|
+
*/
|
|
67
|
+
allowDragToCreate: DragToCreateOptions;
|
|
68
|
+
/**
|
|
69
|
+
* The parent ion-content, in case we want to control its scrollability for drag&drop features.
|
|
70
|
+
*/
|
|
71
|
+
parentContent: IonContent;
|
|
72
|
+
/**
|
|
73
|
+
* Trigger when an event is selected.
|
|
74
|
+
*/
|
|
75
|
+
selectEvent: EventEmitter<AgendaEvent>;
|
|
76
|
+
/**
|
|
77
|
+
* Trigger when a day is selected.
|
|
78
|
+
*/
|
|
79
|
+
selectDay: EventEmitter<Date>;
|
|
80
|
+
/**
|
|
81
|
+
* Trigger when a time slot is selected.
|
|
82
|
+
*/
|
|
83
|
+
selectSlot: EventEmitter<Date>;
|
|
84
|
+
/**
|
|
85
|
+
* Trigger when a new event is added by drag and drop.
|
|
86
|
+
*/
|
|
87
|
+
newEventByDrag: EventEmitter<AgendaEvent>;
|
|
88
|
+
/**
|
|
89
|
+
* Trigger when an event changed date (drag&drop or resize).
|
|
90
|
+
*/
|
|
91
|
+
changeEvent: EventEmitter<AgendaEvent>;
|
|
92
|
+
/**
|
|
93
|
+
* Trigger when the view date of reference changed (because we moved inside the calendar).
|
|
94
|
+
*/
|
|
95
|
+
changeDate: EventEmitter<Date>;
|
|
96
|
+
/**
|
|
97
|
+
* Trigger before the rendering of the week or day view.
|
|
98
|
+
*/
|
|
99
|
+
beforeWeekOrDayViewRenderEmitter: EventEmitter<CalendarWeekViewBeforeRenderEvent>;
|
|
100
|
+
/**
|
|
101
|
+
* Trigger before the rendering of the month view.
|
|
102
|
+
*/
|
|
103
|
+
beforeMonthViewRenderEmitter: EventEmitter<CalendarMonthViewBeforeRenderEvent>;
|
|
104
|
+
CalendarView: typeof CalendarView;
|
|
105
|
+
Attendance: typeof EventAttendance;
|
|
106
|
+
viewDate: Date;
|
|
107
|
+
refresh: Subject<void>;
|
|
108
|
+
/**
|
|
109
|
+
* @hide
|
|
110
|
+
*/
|
|
111
|
+
locale: string;
|
|
112
|
+
/**
|
|
113
|
+
* @hide
|
|
114
|
+
*/
|
|
115
|
+
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
116
|
+
darkMode: boolean;
|
|
117
|
+
ngOnInit(): void;
|
|
118
|
+
isMobile(): boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Run some checks before the month view is rendered (e.g. disable invalid days).
|
|
121
|
+
*/
|
|
122
|
+
beforeMonthViewRender(event: CalendarMonthViewBeforeRenderEvent): void;
|
|
123
|
+
/**
|
|
124
|
+
* Run some checks before the week/day view is rendered (e.g. disable invalid days).
|
|
125
|
+
*/
|
|
126
|
+
beforeWeekOrDayViewRender(event: CalendarWeekViewBeforeRenderEvent): void;
|
|
127
|
+
dateIsValid(date: any, sameDayIsValid?: boolean): boolean;
|
|
128
|
+
setView(view: CalendarView): void;
|
|
129
|
+
viewDateChanged(newDate: Date): void;
|
|
130
|
+
changeDay({ date, events }: {
|
|
131
|
+
date: Date;
|
|
132
|
+
events: AgendaEvent[];
|
|
133
|
+
}): void;
|
|
134
|
+
eventTimesChanged({ event, newStart, newEnd }: CalendarEventTimesChangedEvent): void;
|
|
135
|
+
getAlternateColor(color: string, amount: number, opacity?: number): string | undefined;
|
|
136
|
+
getTooltipContent(event: AgendaEvent): string;
|
|
137
|
+
getPreviewDescription(description: string): string;
|
|
138
|
+
startDragToCreate(event: Event, segmentDate: Date, segmentElement: HTMLElement): void;
|
|
139
|
+
private getFixedEndDateWithMinimumSegmentDuration;
|
|
140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAAgendaComponent, never>;
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDEAAgendaComponent, "idea-agenda", never, { "events": { "alias": "events"; "required": false; }; "excludeDays": { "alias": "excludeDays"; "required": false; }; "dayStartHour": { "alias": "dayStartHour"; "required": false; }; "dayEndHour": { "alias": "dayEndHour"; "required": false; }; "hourSegments": { "alias": "hourSegments"; "required": false; }; "activeDayIsOpen": { "alias": "activeDayIsOpen"; "required": false; }; "view": { "alias": "view"; "required": false; }; "allowedViews": { "alias": "allowedViews"; "required": false; }; "onlyFuture": { "alias": "onlyFuture"; "required": false; }; "titleNotes": { "alias": "titleNotes"; "required": false; }; "newEventTemplate": { "alias": "newEventTemplate"; "required": false; }; "allowDragToCreate": { "alias": "allowDragToCreate"; "required": false; }; "parentContent": { "alias": "parentContent"; "required": false; }; }, { "selectEvent": "selectEvent"; "selectDay": "selectDay"; "selectSlot": "selectSlot"; "newEventByDrag": "newEventByDrag"; "changeEvent": "changeEvent"; "changeDate": "changeDate"; "beforeWeekOrDayViewRenderEmitter": "beforeWeekOrDayViewRenderEmitter"; "beforeMonthViewRenderEmitter": "beforeMonthViewRenderEmitter"; }, never, never, false, never>;
|
|
142
|
+
}
|
|
1
143
|
/**
|
|
2
|
-
*
|
|
144
|
+
* A richer version of the classic CalendarEvent.
|
|
3
145
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
146
|
+
interface AgendaEvent extends CalendarEvent {
|
|
147
|
+
/**
|
|
148
|
+
* A brief description for the event.
|
|
149
|
+
*/
|
|
150
|
+
description?: string;
|
|
151
|
+
/**
|
|
152
|
+
* The customer/stakeholder/target of the event.
|
|
153
|
+
*/
|
|
154
|
+
target?: string;
|
|
155
|
+
/**
|
|
156
|
+
* The location of the event.
|
|
157
|
+
*/
|
|
158
|
+
location?: string;
|
|
159
|
+
/**
|
|
160
|
+
* A list of URLs of images to show as small avatars.
|
|
161
|
+
*/
|
|
162
|
+
avatars?: {
|
|
163
|
+
id: string;
|
|
164
|
+
url: string;
|
|
165
|
+
title: string;
|
|
166
|
+
}[];
|
|
167
|
+
/**
|
|
168
|
+
* A list of ion-icons to show.
|
|
169
|
+
*/
|
|
170
|
+
icons?: {
|
|
171
|
+
name: string;
|
|
172
|
+
title: string;
|
|
173
|
+
}[];
|
|
174
|
+
/**
|
|
175
|
+
* The colors of the event displayed.
|
|
176
|
+
*/
|
|
177
|
+
color?: {
|
|
178
|
+
primary: string;
|
|
179
|
+
secondary?: string;
|
|
180
|
+
} | any;
|
|
181
|
+
/**
|
|
182
|
+
* Whether the event is external; external events are less important UI-wise.
|
|
183
|
+
*/
|
|
184
|
+
external?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* The attendance status to this event, if any.
|
|
187
|
+
*/
|
|
188
|
+
attendance?: EventAttendance;
|
|
189
|
+
/**
|
|
190
|
+
* A standard and unique id for the event, valid across multiple sources.
|
|
191
|
+
*/
|
|
192
|
+
iCalUID?: string;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Possible attendance statuses for the event.
|
|
196
|
+
*/
|
|
197
|
+
declare enum EventAttendance {
|
|
198
|
+
DECLINED = -1,
|
|
199
|
+
NEEDS_ACTION = 0,
|
|
200
|
+
TENTATIVE = 1,
|
|
201
|
+
ACCEPTED = 2
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* The options to allow (or not) drag&drop to create a new event.
|
|
205
|
+
*/
|
|
206
|
+
declare enum DragToCreateOptions {
|
|
207
|
+
DISABLED = 0,
|
|
208
|
+
ONLY_SAME_DAY = 1,
|
|
209
|
+
FREE = 2
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Note: to test locally, you need to temporarily change the redirect URI:
|
|
214
|
+
* - in the lambda `idea_calendars`, e.g. `SCARLETT_URL`;
|
|
215
|
+
* - in the client config file: `APP_URL`.
|
|
216
|
+
* In both cases, the value should be set to `http://localhost:8100` (or according to the local URL).
|
|
217
|
+
*/
|
|
218
|
+
declare class IDEACalendarsService {
|
|
219
|
+
protected _env: any;
|
|
220
|
+
private _modal;
|
|
221
|
+
private _alert;
|
|
222
|
+
private _loading;
|
|
223
|
+
private _API;
|
|
224
|
+
private _translate;
|
|
225
|
+
/**
|
|
226
|
+
* Get the ion-icon of an external service from its name.
|
|
227
|
+
*/
|
|
228
|
+
getServiceIcon(service: ExternalCalendarSources | string): string;
|
|
229
|
+
/**
|
|
230
|
+
* Get the base URL for API request (shared/private calendar).
|
|
231
|
+
*/
|
|
232
|
+
getRequestURL(calendar: Calendar): string;
|
|
233
|
+
/**
|
|
234
|
+
* Create a new calendar.
|
|
235
|
+
*/
|
|
236
|
+
postCalendar(cal: Calendar): Promise<Calendar>;
|
|
237
|
+
/**
|
|
238
|
+
* Update an existing calendar.
|
|
239
|
+
*/
|
|
240
|
+
putCalendar(cal: Calendar): Promise<Calendar>;
|
|
241
|
+
/**
|
|
242
|
+
* Delete a calendar.
|
|
243
|
+
*/
|
|
244
|
+
deleteCalendar(cal: Calendar): Promise<void>;
|
|
245
|
+
/**
|
|
246
|
+
* Associate an external calendar with the given calendar.
|
|
247
|
+
*/
|
|
248
|
+
setExternalCalendar(cal: Calendar, externalId: string): Promise<Calendar>;
|
|
249
|
+
/**
|
|
250
|
+
* Link the calendar with the chosen external service (auth flow).
|
|
251
|
+
*/
|
|
252
|
+
linkExtService(cal: Calendar, baseURL: string): Promise<void>;
|
|
253
|
+
private showAlertLinkingCalendar;
|
|
254
|
+
/**
|
|
255
|
+
* Get the external calendars list of the external service.
|
|
256
|
+
*/
|
|
257
|
+
getExternalCalendars(cal: Calendar): Promise<ExtCalendar[]>;
|
|
258
|
+
/**
|
|
259
|
+
* If the external service is linked, choose an external calendar and set it for the chosen calendar.
|
|
260
|
+
* @return the updated calendar.
|
|
261
|
+
*/
|
|
262
|
+
chooseAndSetExternalCalendar(cal: Calendar): Promise<Calendar>;
|
|
263
|
+
/**
|
|
264
|
+
* Open the modal to pick a calendar from the external service.
|
|
265
|
+
* @return the id of the external calendar.
|
|
266
|
+
*/
|
|
267
|
+
private openModalAndPickExternalCalendar;
|
|
268
|
+
/**
|
|
269
|
+
* First sync of the extenal calendar.
|
|
270
|
+
*/
|
|
271
|
+
syncCalendar(cal: Calendar): Promise<void>;
|
|
272
|
+
/**
|
|
273
|
+
* Helper to recursively sync an the extenal calendar.
|
|
274
|
+
*/
|
|
275
|
+
private syncCalendarHelper;
|
|
276
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEACalendarsService, never>;
|
|
277
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IDEACalendarsService>;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Helper structure to define external services' calendars (basic info).
|
|
281
|
+
*/
|
|
282
|
+
interface ExtCalendar {
|
|
283
|
+
id: string;
|
|
284
|
+
name: string;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
declare class IDEACalendarComponent implements OnInit {
|
|
288
|
+
private _modal;
|
|
289
|
+
private _alert;
|
|
290
|
+
private _tc;
|
|
291
|
+
private _loading;
|
|
292
|
+
private _message;
|
|
293
|
+
private _API;
|
|
294
|
+
private _translate;
|
|
295
|
+
_calendars: IDEACalendarsService;
|
|
296
|
+
/**
|
|
297
|
+
* The calendar to manage.
|
|
298
|
+
*/
|
|
299
|
+
calendar: Calendar;
|
|
300
|
+
/**
|
|
301
|
+
* Whether we want to enable advanced permissions (based on the memberships) on the calendar.
|
|
302
|
+
*/
|
|
303
|
+
advancedPermissions: boolean;
|
|
304
|
+
/**
|
|
305
|
+
* Whether the calendar color is an important detail or it shouldn't be shown.
|
|
306
|
+
*/
|
|
307
|
+
hideColor: boolean;
|
|
308
|
+
calendarWC: Calendar;
|
|
309
|
+
membershipsChecks: Check[];
|
|
310
|
+
membership: Membership;
|
|
311
|
+
errors: Set<string>;
|
|
312
|
+
DEFAULT_COLOR: string;
|
|
313
|
+
ngOnInit(): Promise<void>;
|
|
314
|
+
hasFieldAnError(field: string): boolean;
|
|
315
|
+
save(): Promise<void>;
|
|
316
|
+
delete(): Promise<void>;
|
|
317
|
+
close(): void;
|
|
318
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEACalendarComponent, never>;
|
|
319
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDEACalendarComponent, "idea-calendar", never, { "calendar": { "alias": "calendar"; "required": false; }; "advancedPermissions": { "alias": "advancedPermissions"; "required": false; }; "hideColor": { "alias": "hideColor"; "required": false; }; }, {}, never, never, false, never>;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
declare class IDEACalendarItemComponent {
|
|
323
|
+
private _alert;
|
|
324
|
+
private _modal;
|
|
325
|
+
private _message;
|
|
326
|
+
private _loading;
|
|
327
|
+
private _translate;
|
|
328
|
+
_calendars: IDEACalendarsService;
|
|
329
|
+
/**
|
|
330
|
+
* The calendar to show.
|
|
331
|
+
*/
|
|
332
|
+
calendar: Calendar;
|
|
333
|
+
/**
|
|
334
|
+
* Whether the component is disabled.
|
|
335
|
+
*/
|
|
336
|
+
disabled: boolean;
|
|
337
|
+
/**
|
|
338
|
+
* Whether we want to enable advanced permissions (based on the memberships) on the calendar.
|
|
339
|
+
*/
|
|
340
|
+
advancedPermissions: boolean;
|
|
341
|
+
/**
|
|
342
|
+
* Whether the calendar color is an important detail or it shouldn't be shown.
|
|
343
|
+
*/
|
|
344
|
+
hideColor: boolean;
|
|
345
|
+
/**
|
|
346
|
+
* The URL to be used on the redirect calls.
|
|
347
|
+
*/
|
|
348
|
+
baseURL: string;
|
|
349
|
+
/**
|
|
350
|
+
* Report to parent components a change.
|
|
351
|
+
*/
|
|
352
|
+
somethingChanged: EventEmitter<Calendar>;
|
|
353
|
+
manageCalendar(): Promise<void>;
|
|
354
|
+
linkExtCalendarOrDelete(): Promise<void>;
|
|
355
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEACalendarItemComponent, never>;
|
|
356
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDEACalendarItemComponent, "idea-calendar-item", never, { "calendar": { "alias": "calendar"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "advancedPermissions": { "alias": "advancedPermissions"; "required": false; }; "hideColor": { "alias": "hideColor"; "required": false; }; "baseURL": { "alias": "baseURL"; "required": false; }; }, { "somethingChanged": "somethingChanged"; }, never, never, false, never>;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
declare class IDEACalendarCreationComponent implements OnInit {
|
|
360
|
+
private _modal;
|
|
361
|
+
private _loading;
|
|
362
|
+
private _message;
|
|
363
|
+
private _translate;
|
|
364
|
+
private _tc;
|
|
365
|
+
_calendars: IDEACalendarsService;
|
|
366
|
+
/**
|
|
367
|
+
* Whether we want to allow the creation of only a particular type of calendar, based on the scope.
|
|
368
|
+
*/
|
|
369
|
+
fixScope: CalendarScopes;
|
|
370
|
+
/**
|
|
371
|
+
* Whether we want to allow the creation of local calendars.
|
|
372
|
+
*/
|
|
373
|
+
onlyExternalCalendars: boolean;
|
|
374
|
+
/**
|
|
375
|
+
* The URL to be used on the redirect calls.
|
|
376
|
+
*/
|
|
377
|
+
baseURL: string;
|
|
378
|
+
team: Team;
|
|
379
|
+
membership: Membership;
|
|
380
|
+
calendar: Calendar;
|
|
381
|
+
DEFAULT_COLOR: string;
|
|
382
|
+
SOURCES: string[];
|
|
383
|
+
ngOnInit(): void;
|
|
384
|
+
resetScope(): void;
|
|
385
|
+
canChangeScope(): boolean;
|
|
386
|
+
scopeIsSet(): boolean;
|
|
387
|
+
saveNewCalendar(service?: ExternalCalendarSources | string): Promise<void>;
|
|
388
|
+
close(): void;
|
|
389
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEACalendarCreationComponent, never>;
|
|
390
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDEACalendarCreationComponent, "idea-calendar-creation", never, { "fixScope": { "alias": "fixScope"; "required": false; }; "onlyExternalCalendars": { "alias": "onlyExternalCalendars"; "required": false; }; "baseURL": { "alias": "baseURL"; "required": false; }; }, {}, never, never, false, never>;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* The possible scopes of the calendar.
|
|
394
|
+
*/
|
|
395
|
+
declare enum CalendarScopes {
|
|
396
|
+
SHARED = "shared",// teamId
|
|
397
|
+
PRIVATE = "private"
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
declare class IDEAAgendaModule {
|
|
401
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAAgendaModule, never>;
|
|
402
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IDEAAgendaModule, [typeof IDEAAgendaComponent, typeof IDEACalendarComponent, typeof IDEACalendarItemComponent, typeof IDEACalendarCreationComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.IonicModule, typeof i8.IDEATranslationsModule, typeof i9.IDEAColorPickerComponent, typeof i8.IDEACheckerComponent, typeof i8.IDEAUserAvatarComponent, typeof i10.CalendarModule], [typeof IDEAAgendaComponent, typeof IDEACalendarComponent, typeof IDEACalendarItemComponent, typeof IDEACalendarCreationComponent]>;
|
|
403
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IDEAAgendaModule>;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
declare class CustomDateFormatter extends CalendarDateFormatter {
|
|
407
|
+
monthViewColumnHeader: ({ date, locale }: DateFormatterParams) => string;
|
|
408
|
+
monthViewTitle: ({ date, locale }: DateFormatterParams) => string;
|
|
409
|
+
weekViewHour: ({ date, locale }: DateFormatterParams) => string;
|
|
410
|
+
weekViewColumnHeader: ({ date, locale }: DateFormatterParams) => string;
|
|
411
|
+
weekViewTitle: ({ date, locale }: DateFormatterParams) => string;
|
|
412
|
+
dayViewHour: ({ date, locale }: DateFormatterParams) => string;
|
|
413
|
+
dayViewTitle: ({ date, locale }: DateFormatterParams) => string;
|
|
414
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomDateFormatter, never>;
|
|
415
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CustomDateFormatter>;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
export { CalendarScopes, CustomDateFormatter, DragToCreateOptions, EventAttendance, IDEAAgendaComponent, IDEAAgendaModule, IDEACalendarComponent, IDEACalendarCreationComponent, IDEACalendarItemComponent, IDEACalendarsService };
|
|
419
|
+
export type { AgendaEvent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idea-ionic/agenda",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.6.0",
|
|
4
4
|
"description": "IDEA Ionic agenda (calendar)",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": "ITER IDEA <info@iter-idea.com> (https://iter-idea.com)",
|
|
@@ -18,27 +18,27 @@
|
|
|
18
18
|
"url": "https://github.com/iter-idea/IDEA-Ionic8-extra/issues"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@angular/animations": "^
|
|
22
|
-
"@angular/common": "^
|
|
23
|
-
"@angular/core": "^
|
|
24
|
-
"@angular/forms": "^
|
|
25
|
-
"@angular/platform-browser": "^
|
|
26
|
-
"@angular/platform-browser-dynamic": "^
|
|
27
|
-
"@angular/router": "^
|
|
28
|
-
"@capacitor/browser": "^
|
|
29
|
-
"@capacitor/core": "^
|
|
21
|
+
"@angular/animations": "^20.1.3",
|
|
22
|
+
"@angular/common": "^20.1.3",
|
|
23
|
+
"@angular/core": "^20.1.3",
|
|
24
|
+
"@angular/forms": "^20.1.3",
|
|
25
|
+
"@angular/platform-browser": "^20.1.3",
|
|
26
|
+
"@angular/platform-browser-dynamic": "^20.1.3",
|
|
27
|
+
"@angular/router": "^20.1.3",
|
|
28
|
+
"@capacitor/browser": "^7.0.1",
|
|
29
|
+
"@capacitor/core": "^7.4.2",
|
|
30
30
|
"@idea-ionic/common": "^8.x.x",
|
|
31
31
|
"@idea-ionic/uncommon": "^8.x.x",
|
|
32
|
-
"@ionic/angular": "^8.
|
|
32
|
+
"@ionic/angular": "^8.6.5",
|
|
33
33
|
"@ionic/storage-angular": "^4.0.0",
|
|
34
34
|
"angular-calendar": "^0.31.1",
|
|
35
|
-
"date-fns": "^
|
|
35
|
+
"date-fns": "^4.1.0",
|
|
36
36
|
"idea-toolbox": "^7.x.x",
|
|
37
37
|
"rxjs": "~7.8.0",
|
|
38
|
-
"zone.js": "~0.
|
|
38
|
+
"zone.js": "~0.15.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"color-parse": "^2.0.
|
|
41
|
+
"color-parse": "^2.0.2",
|
|
42
42
|
"tslib": "^2.4.1"
|
|
43
43
|
},
|
|
44
44
|
"sideEffects": false,
|
|
@@ -50,9 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
".": {
|
|
52
52
|
"types": "./index.d.ts",
|
|
53
|
-
"esm2022": "./esm2022/idea-ionic-agenda.mjs",
|
|
54
|
-
"esm": "./esm2022/idea-ionic-agenda.mjs",
|
|
55
53
|
"default": "./fesm2022/idea-ionic-agenda.mjs"
|
|
56
54
|
}
|
|
57
55
|
}
|
|
58
|
-
}
|
|
56
|
+
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlYS1pb25pYy1hZ2VuZGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9tb2R1bGVzL2FnZW5kYS9pZGVhLWlvbmljLWFnZW5kYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
package/esm2022/public-api.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './src/agenda.module';
|
|
2
|
-
export * from './src/agenda.component';
|
|
3
|
-
export * from './src/calendar.component';
|
|
4
|
-
export * from './src/calendarCreation.component';
|
|
5
|
-
export * from './src/calendarItem.component';
|
|
6
|
-
export * from './src/calendars.service';
|
|
7
|
-
export * from './src/dateFormatter.provider';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZHVsZXMvYWdlbmRhL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyw4QkFBOEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3JjL2FnZW5kYS5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvYWdlbmRhLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9jYWxlbmRhci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvY2FsZW5kYXJDcmVhdGlvbi5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvY2FsZW5kYXJJdGVtLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9jYWxlbmRhcnMuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9kYXRlRm9ybWF0dGVyLnByb3ZpZGVyJztcbiJdfQ==
|