@idea-ionic/agenda 8.1.1 → 8.1.3

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,5 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { Calendar } from 'idea-toolbox';
3
+ import { IDEACalendarsService } from './calendars.service';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class IDEACalendarItemComponent {
5
6
  private _alert;
@@ -7,7 +8,7 @@ export declare class IDEACalendarItemComponent {
7
8
  private _message;
8
9
  private _loading;
9
10
  private _translate;
10
- private _calendars;
11
+ _calendars: IDEACalendarsService;
11
12
  /**
12
13
  * The calendar to show.
13
14
  */
@@ -28,8 +29,12 @@ export declare class IDEACalendarItemComponent {
28
29
  * Report to parent components a change.
29
30
  */
30
31
  somethingChanged: EventEmitter<Calendar>;
32
+ /**
33
+ * The URL to be used on the redirect calls.
34
+ */
35
+ baseURL: string;
31
36
  manageCalendar(): Promise<void>;
32
- private linkExtCalendarOrDelete;
37
+ linkExtCalendarOrDelete(): Promise<void>;
33
38
  static ɵfac: i0.ɵɵFactoryDeclaration<IDEACalendarItemComponent, never>;
34
- 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; }; }, { "somethingChanged": "somethingChanged"; }, never, never, false, never>;
39
+ 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>;
35
40
  }
@@ -16,7 +16,7 @@ export declare class IDEACalendarsService {
16
16
  /**
17
17
  * Get the ion-icon of an external service from its name.
18
18
  */
19
- getServiceIcon(service: ExternalCalendarSources): string;
19
+ getServiceIcon(service: ExternalCalendarSources | string): string;
20
20
  /**
21
21
  * Get the base URL for API request (shared/private calendar).
22
22
  */
@@ -40,7 +40,7 @@ export declare class IDEACalendarsService {
40
40
  /**
41
41
  * Link the calendar with the chosen external service (auth flow).
42
42
  */
43
- linkExtService(cal: Calendar): Promise<void>;
43
+ linkExtService(cal: Calendar, baseURL: string): Promise<void>;
44
44
  private showAlertLinkingCalendar;
45
45
  /**
46
46
  * Get the external calendars list of the external service.