@idea-ionic/uncommon 8.2.1
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/LICENSE +373 -0
- package/README.md +21 -0
- package/css/global.scss +15 -0
- package/esm2022/idea-ionic-uncommon.mjs +5 -0
- package/esm2022/public-api.mjs +35 -0
- package/esm2022/src/AWSAPI.service.mjs +430 -0
- package/esm2022/src/AWSAPISocket.service.mjs +187 -0
- package/esm2022/src/address/address.component.mjs +94 -0
- package/esm2022/src/address/address.module.mjs +21 -0
- package/esm2022/src/announcement/announcement.component.mjs +41 -0
- package/esm2022/src/announcement/announcement.module.mjs +21 -0
- package/esm2022/src/cachedResources.service.mjs +55 -0
- package/esm2022/src/colors/colorPicker.component.mjs +135 -0
- package/esm2022/src/colors/colorPicker.module.mjs +20 -0
- package/esm2022/src/contacts/contacts.component.mjs +64 -0
- package/esm2022/src/contacts/contacts.module.mjs +21 -0
- package/esm2022/src/dateTime/calendarPicker.component.mjs +196 -0
- package/esm2022/src/dateTime/dateTime.component.mjs +133 -0
- package/esm2022/src/dateTime/dateTime.module.mjs +22 -0
- package/esm2022/src/duration/duration.component.mjs +77 -0
- package/esm2022/src/duration/duration.module.mjs +21 -0
- package/esm2022/src/echo/echo.module.mjs +26 -0
- package/esm2022/src/echo/echo.page.mjs +165 -0
- package/esm2022/src/errorReporting.service.mjs +68 -0
- package/esm2022/src/mde/mde.component.mjs +44 -0
- package/esm2022/src/mde/mde.module.mjs +22 -0
- package/esm2022/src/mde/mdeToolbar.component.mjs +12 -0
- package/esm2022/src/offline/cacheableResource.component.mjs +18 -0
- package/esm2022/src/offline/offline.module.mjs +22 -0
- package/esm2022/src/offline/offline.service.mjs +62 -0
- package/esm2022/src/offline/offlineData.service.mjs +479 -0
- package/esm2022/src/offline/offlineIndicator.component.mjs +58 -0
- package/esm2022/src/offline/offlineManager.component.mjs +84 -0
- package/esm2022/src/pushNotifications.service.mjs +56 -0
- package/esm2022/src/sentiment/sentiment.component.mjs +71 -0
- package/esm2022/src/sentiment/sentiment.module.mjs +21 -0
- package/esm2022/src/timeInterval/fromTimeToTime.component.mjs +155 -0
- package/esm2022/src/timeInterval/timeInterval.component.mjs +122 -0
- package/esm2022/src/timeInterval/timeInterval.module.mjs +22 -0
- package/esm2022/src/tinCan.service.mjs +49 -0
- package/fesm2022/idea-ionic-uncommon.mjs +2891 -0
- package/fesm2022/idea-ionic-uncommon.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +51 -0
- package/public-api.d.ts +34 -0
- package/src/AWSAPI.service.d.ts +178 -0
- package/src/AWSAPISocket.service.d.ts +129 -0
- package/src/address/address.component.d.ts +64 -0
- package/src/address/address.module.d.ts +11 -0
- package/src/announcement/announcement.component.d.ts +23 -0
- package/src/announcement/announcement.module.d.ts +11 -0
- package/src/cachedResources.service.d.ts +34 -0
- package/src/colors/colorPicker.component.d.ts +78 -0
- package/src/colors/colorPicker.module.d.ts +10 -0
- package/src/contacts/contacts.component.d.ts +31 -0
- package/src/contacts/contacts.module.d.ts +11 -0
- package/src/dateTime/calendarPicker.component.d.ts +45 -0
- package/src/dateTime/dateTime.component.d.ts +81 -0
- package/src/dateTime/dateTime.module.d.ts +12 -0
- package/src/duration/duration.component.d.ts +68 -0
- package/src/duration/duration.module.d.ts +11 -0
- package/src/echo/echo.module.d.ts +12 -0
- package/src/echo/echo.page.d.ts +34 -0
- package/src/errorReporting.service.d.ts +26 -0
- package/src/mde/mde.component.d.ts +39 -0
- package/src/mde/mde.module.d.ts +12 -0
- package/src/mde/mdeToolbar.component.d.ts +5 -0
- package/src/offline/cacheableResource.component.d.ts +11 -0
- package/src/offline/offline.module.d.ts +12 -0
- package/src/offline/offline.service.d.ts +39 -0
- package/src/offline/offlineData.service.d.ts +281 -0
- package/src/offline/offlineIndicator.component.d.ts +25 -0
- package/src/offline/offlineManager.component.d.ts +17 -0
- package/src/pushNotifications.service.d.ts +26 -0
- package/src/sentiment/sentiment.component.d.ts +35 -0
- package/src/sentiment/sentiment.module.d.ts +11 -0
- package/src/timeInterval/fromTimeToTime.component.d.ts +61 -0
- package/src/timeInterval/timeInterval.component.d.ts +84 -0
- package/src/timeInterval/timeInterval.module.d.ts +12 -0
- package/src/tinCan.service.d.ts +31 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./contacts.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@ionic/angular";
|
|
6
|
+
import * as i5 from "@idea-ionic/common";
|
|
7
|
+
export declare class IDEAContactsModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAContactsModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IDEAContactsModule, [typeof i1.IDEAContactsComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.IonicModule, typeof i5.IDEATranslationsModule, typeof i5.IDEASelectModule], [typeof i1.IDEAContactsComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IDEAContactsModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { epochDateTime, epochISOString } from 'idea-toolbox';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IDEACalendarPickerComponent implements OnInit {
|
|
5
|
+
private _modal;
|
|
6
|
+
private _alert;
|
|
7
|
+
private _translate;
|
|
8
|
+
inputDate: epochDateTime | epochISOString;
|
|
9
|
+
timePicker: boolean;
|
|
10
|
+
manualTimePicker: boolean;
|
|
11
|
+
title: string;
|
|
12
|
+
hideClearButton: boolean;
|
|
13
|
+
min: epochDateTime | epochISOString;
|
|
14
|
+
max: epochDateTime | epochISOString;
|
|
15
|
+
refDate: Date;
|
|
16
|
+
selectedDate: Date;
|
|
17
|
+
today: Date;
|
|
18
|
+
calendarGrid: Date[][];
|
|
19
|
+
hour: number;
|
|
20
|
+
minute: number;
|
|
21
|
+
hours: string[];
|
|
22
|
+
minutes: string[];
|
|
23
|
+
weekDays: string[];
|
|
24
|
+
dateMin: Date;
|
|
25
|
+
dateMax: Date;
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
getLocalisedDay(date: Date): number;
|
|
28
|
+
buildCalendarGrid(refDate: Date): void;
|
|
29
|
+
addYears(offset: number): void;
|
|
30
|
+
setYear(year: string | number): void;
|
|
31
|
+
addMonths(offset: number): void;
|
|
32
|
+
showMonths(): Promise<void>;
|
|
33
|
+
isDateSelectable(date: Date): boolean;
|
|
34
|
+
selectDate(date: Date): void;
|
|
35
|
+
selectHour(hour: string): void;
|
|
36
|
+
selectMinute(minute: string): void;
|
|
37
|
+
isSameDay(a: Date, b: Date): boolean;
|
|
38
|
+
isSameMonth(a: Date, b: Date): boolean;
|
|
39
|
+
isSameHour(hour: string): boolean;
|
|
40
|
+
isSameMinute(minute: string): boolean;
|
|
41
|
+
save(reset?: boolean): void;
|
|
42
|
+
close(): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEACalendarPickerComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDEACalendarPickerComponent, "idea-calendar-picker", never, { "inputDate": { "alias": "inputDate"; "required": false; }; "timePicker": { "alias": "timePicker"; "required": false; }; "manualTimePicker": { "alias": "manualTimePicker"; "required": false; }; "title": { "alias": "title"; "required": false; }; "hideClearButton": { "alias": "hideClearButton"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, {}, never, never, false, never>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EventEmitter, SimpleChanges, OnInit, OnDestroy, OnChanges } from '@angular/core';
|
|
2
|
+
import { epochDateTime, epochISOString } from 'idea-toolbox';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IDEADateTimeComponent implements OnInit, OnDestroy, OnChanges {
|
|
5
|
+
private _modal;
|
|
6
|
+
private _translate;
|
|
7
|
+
/**
|
|
8
|
+
* The date to show/pick.
|
|
9
|
+
*/
|
|
10
|
+
date: epochDateTime | epochISOString;
|
|
11
|
+
/**
|
|
12
|
+
* Whether to show the time picker (datetime) or not (date).
|
|
13
|
+
*/
|
|
14
|
+
timePicker: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Whether to show the MANUAL time picker (datetime) or not (date).
|
|
17
|
+
*/
|
|
18
|
+
manualTimePicker: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Whether to use the `epochISOString` format instead of `epochDateTime`.
|
|
21
|
+
*/
|
|
22
|
+
useISOFormat: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The label for the field.
|
|
25
|
+
*/
|
|
26
|
+
label: string;
|
|
27
|
+
/**
|
|
28
|
+
* The icon for the field.
|
|
29
|
+
*/
|
|
30
|
+
icon: string;
|
|
31
|
+
/**
|
|
32
|
+
* The color of the icon.
|
|
33
|
+
*/
|
|
34
|
+
iconColor: string;
|
|
35
|
+
/**
|
|
36
|
+
* Lines preferences for the item.
|
|
37
|
+
*/
|
|
38
|
+
lines: string;
|
|
39
|
+
/**
|
|
40
|
+
* The color for the component.
|
|
41
|
+
*/
|
|
42
|
+
color: string;
|
|
43
|
+
/**
|
|
44
|
+
* A placeholder for the field.
|
|
45
|
+
*/
|
|
46
|
+
placeholder: string;
|
|
47
|
+
/**
|
|
48
|
+
* If true, the component is disabled.
|
|
49
|
+
*/
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* If true, the obligatory dot is shown.
|
|
53
|
+
*/
|
|
54
|
+
obligatory: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* If true, hidew the clear button in the header.
|
|
57
|
+
*/
|
|
58
|
+
hideClearButton: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* If set, is the minimum date selectable.
|
|
61
|
+
*/
|
|
62
|
+
min: epochDateTime | epochISOString;
|
|
63
|
+
/**
|
|
64
|
+
* If set, is the maximum date selectable.
|
|
65
|
+
*/
|
|
66
|
+
max: epochDateTime | epochISOString;
|
|
67
|
+
dateChange: EventEmitter<any>;
|
|
68
|
+
iconSelect: EventEmitter<void>;
|
|
69
|
+
valueToDisplay: string;
|
|
70
|
+
private langChangeSubscription;
|
|
71
|
+
isOpening: boolean;
|
|
72
|
+
ngOnInit(): void;
|
|
73
|
+
ngOnDestroy(): void;
|
|
74
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
75
|
+
openCalendarPicker(): Promise<void>;
|
|
76
|
+
private getValueToDisplay;
|
|
77
|
+
doSelect(date: Date): void;
|
|
78
|
+
doIconSelect(event: Event): void;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEADateTimeComponent, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDEADateTimeComponent, "idea-date-time", never, { "date": { "alias": "date"; "required": false; }; "timePicker": { "alias": "timePicker"; "required": false; }; "manualTimePicker": { "alias": "manualTimePicker"; "required": false; }; "useISOFormat": { "alias": "useISOFormat"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "color": { "alias": "color"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "obligatory": { "alias": "obligatory"; "required": false; }; "hideClearButton": { "alias": "hideClearButton"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "dateChange": "dateChange"; "iconSelect": "iconSelect"; }, never, never, false, never>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dateTime.component";
|
|
3
|
+
import * as i2 from "./calendarPicker.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@ionic/angular";
|
|
7
|
+
import * as i6 from "@idea-ionic/common";
|
|
8
|
+
export declare class IDEADateTimeModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEADateTimeModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IDEADateTimeModule, [typeof i1.IDEADateTimeComponent, typeof i2.IDEACalendarPickerComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.IonicModule, typeof i6.IDEATranslationsModule], [typeof i1.IDEADateTimeComponent, typeof i2.IDEACalendarPickerComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IDEADateTimeModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { EventEmitter, SimpleChanges, OnChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IDEADurationComponent implements OnChanges {
|
|
4
|
+
/**
|
|
5
|
+
* The default number of seconds, to build the duration.
|
|
6
|
+
*/
|
|
7
|
+
default: number;
|
|
8
|
+
/**
|
|
9
|
+
* The label for the field.
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* The icon (alternative to the label) for the field.
|
|
14
|
+
*/
|
|
15
|
+
icon: string;
|
|
16
|
+
/**
|
|
17
|
+
* The title (hint) for the field.
|
|
18
|
+
*/
|
|
19
|
+
title: string;
|
|
20
|
+
/**
|
|
21
|
+
* If true, the component is disabled.
|
|
22
|
+
*/
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* If true, the obligatory dot is shown.
|
|
26
|
+
*/
|
|
27
|
+
obligatory: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Lines preferences for the item.
|
|
30
|
+
*/
|
|
31
|
+
lines: string;
|
|
32
|
+
/**
|
|
33
|
+
* The color for the component.
|
|
34
|
+
*/
|
|
35
|
+
color: string;
|
|
36
|
+
/**
|
|
37
|
+
* Whether to show or hide the seconds input.
|
|
38
|
+
*/
|
|
39
|
+
hideSeconds: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to show a shortened version of the labels.
|
|
42
|
+
*/
|
|
43
|
+
shortLabels: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* On change event. It emits a number of seconds representing the duration.
|
|
46
|
+
*/
|
|
47
|
+
set: EventEmitter<number>;
|
|
48
|
+
/**
|
|
49
|
+
* The hour part of the duration.
|
|
50
|
+
*/
|
|
51
|
+
hours: number;
|
|
52
|
+
/**
|
|
53
|
+
* The minutes part of the duration.
|
|
54
|
+
*/
|
|
55
|
+
minutes: number;
|
|
56
|
+
/**
|
|
57
|
+
* The seconds part of the duration.
|
|
58
|
+
*/
|
|
59
|
+
seconds: number;
|
|
60
|
+
constructor();
|
|
61
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
62
|
+
/**
|
|
63
|
+
* When one of the parts changes, emit the new duration.
|
|
64
|
+
*/
|
|
65
|
+
setDuration(type: string): void;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEADurationComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDEADurationComponent, "idea-duration", never, { "default": { "alias": "default"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "obligatory": { "alias": "obligatory"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "color": { "alias": "color"; "required": false; }; "hideSeconds": { "alias": "hideSeconds"; "required": false; }; "shortLabels": { "alias": "shortLabels"; "required": false; }; }, { "set": "set"; }, never, never, false, never>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./duration.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@ionic/angular";
|
|
6
|
+
import * as i5 from "@idea-ionic/common";
|
|
7
|
+
export declare class IDEADurationModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEADurationModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IDEADurationModule, [typeof i1.IDEADurationComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.IonicModule, typeof i5.IDEATranslationsModule], [typeof i1.IDEADurationComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IDEADurationModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./echo.page";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@ionic/angular";
|
|
6
|
+
import * as i5 from "@idea-ionic/common";
|
|
7
|
+
import * as i6 from "@angular/router";
|
|
8
|
+
export declare class IDEAEchoModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAEchoModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IDEAEchoModule, [typeof i1.IDEAEchoPage], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.IonicModule, typeof i5.IDEATranslationsModule, typeof i6.RouterModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IDEAEchoModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ExternalCalendarSources } from 'idea-toolbox';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IDEAEchoPage implements OnInit {
|
|
5
|
+
protected _env: any;
|
|
6
|
+
private _route;
|
|
7
|
+
private _tc;
|
|
8
|
+
private _loading;
|
|
9
|
+
private _API;
|
|
10
|
+
private _translate;
|
|
11
|
+
content: string;
|
|
12
|
+
htmlContent: string;
|
|
13
|
+
success: boolean;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
maintenanceMode(): void;
|
|
16
|
+
followRegistrationLink(code: string, user: string): Promise<void>;
|
|
17
|
+
followInvitationLink(code: string): Promise<void>;
|
|
18
|
+
followEmailChangeConfirmationLink(code: string): Promise<void>;
|
|
19
|
+
endGitHubIntegrationFlow(success: boolean): void;
|
|
20
|
+
endTrelloIntegrationFlow(token: string): void;
|
|
21
|
+
endExternalCalendarsIntegrationFlow(service: ExternalCalendarSources, code: string, calendarId: string): Promise<void>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAEchoPage, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDEAEchoPage, "idea-echo", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
25
|
+
export declare enum EchoRequests {
|
|
26
|
+
MAINTENANCE = "maintenance",
|
|
27
|
+
REGISTRATION = "registration",
|
|
28
|
+
INVITATION = "invitation",
|
|
29
|
+
EMAIL_CHANGE = "email-change",
|
|
30
|
+
GITHUB_INTEGRATION = "github-integration",
|
|
31
|
+
TRELLO_INTEGRATION = "trello-integration",
|
|
32
|
+
MICROSOFT_CALENDARS_INTEGRATION = "microsoft-calendars-integration",
|
|
33
|
+
GOOGLE_CALENDARS_INTEGRATION = "google-calendars-integration"
|
|
34
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Platform } from '@ionic/angular';
|
|
3
|
+
import { ClientInfo } from 'idea-toolbox';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IDEAErrorReportingService {
|
|
6
|
+
protected _env: any;
|
|
7
|
+
protected _http: HttpClient;
|
|
8
|
+
protected _platform: Platform;
|
|
9
|
+
apiStage: string;
|
|
10
|
+
apiUrl: string;
|
|
11
|
+
constructor();
|
|
12
|
+
/**
|
|
13
|
+
* Send the error report to the back-end.
|
|
14
|
+
*/
|
|
15
|
+
sendReport(error: Error, forceSend?: boolean): Promise<void>;
|
|
16
|
+
/**
|
|
17
|
+
* Whether we should send the reporting or we are in a scenario in which we should skip it.
|
|
18
|
+
*/
|
|
19
|
+
shouldSend(): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Acquire the client's info.
|
|
22
|
+
*/
|
|
23
|
+
getClientInfo(): ClientInfo;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAErrorReportingService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IDEAErrorReportingService>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IDEAMDEComponent implements OnInit {
|
|
4
|
+
private _modal;
|
|
5
|
+
/**
|
|
6
|
+
* Id to identify this specific Markdown Editor (default: 'mde').
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The title of the modal.
|
|
11
|
+
*/
|
|
12
|
+
title: string;
|
|
13
|
+
/**
|
|
14
|
+
* The header text content.
|
|
15
|
+
*/
|
|
16
|
+
header: string;
|
|
17
|
+
/**
|
|
18
|
+
* The sub-header description.
|
|
19
|
+
*/
|
|
20
|
+
description: string;
|
|
21
|
+
/**
|
|
22
|
+
* A series of text variables to substitute with values.
|
|
23
|
+
*/
|
|
24
|
+
variables: string[];
|
|
25
|
+
/**
|
|
26
|
+
* If set, will customize the initial value of the editor.
|
|
27
|
+
*/
|
|
28
|
+
initialValue: string;
|
|
29
|
+
/**
|
|
30
|
+
* Custom placeholder that should be displayed.
|
|
31
|
+
*/
|
|
32
|
+
placeholder: string;
|
|
33
|
+
value: string;
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
close(): void;
|
|
36
|
+
confirm(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAMDEComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDEAMDEComponent, "idea-mde", never, { "id": { "alias": "id"; "required": false; }; "title": { "alias": "title"; "required": false; }; "header": { "alias": "header"; "required": false; }; "description": { "alias": "description"; "required": false; }; "variables": { "alias": "variables"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./mde.component";
|
|
3
|
+
import * as i2 from "./mdeToolbar.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@ionic/angular";
|
|
7
|
+
import * as i6 from "@idea-ionic/common";
|
|
8
|
+
export declare class IDEAMDEModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAMDEModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IDEAMDEModule, [typeof i1.IDEAMDEComponent, typeof i2.IDEAMDEToolbarComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.IonicModule, typeof i6.IDEATranslationsModule], [typeof i1.IDEAMDEComponent, typeof i2.IDEAMDEToolbarComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IDEAMDEModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class IDEAMDEToolbarComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAMDEToolbarComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDEAMDEToolbarComponent, "idea-mde-toolbar", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IDEAOfflineDataService, CacheableResource } from './offlineData.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IDEACacheableResourceComponent {
|
|
4
|
+
_offline: IDEAOfflineDataService;
|
|
5
|
+
/**
|
|
6
|
+
* The resouece to manage.
|
|
7
|
+
*/
|
|
8
|
+
resource: CacheableResource;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEACacheableResourceComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDEACacheableResourceComponent, "idea-cacheable-resource", never, { "resource": { "alias": "resource"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./offlineManager.component";
|
|
3
|
+
import * as i2 from "./offlineIndicator.component";
|
|
4
|
+
import * as i3 from "./cacheableResource.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@ionic/angular";
|
|
7
|
+
import * as i6 from "@idea-ionic/common";
|
|
8
|
+
export declare class IDEAOfflineModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAOfflineModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IDEAOfflineModule, [typeof i1.IDEAOfflineManagerComponent, typeof i2.IDEAOfflineIndicatorComponent, typeof i3.IDEACacheableResourceComponent], [typeof i4.CommonModule, typeof i5.IonicModule, typeof i6.IDEATranslationsModule], [typeof i1.IDEAOfflineManagerComponent, typeof i2.IDEAOfflineIndicatorComponent, typeof i3.IDEACacheableResourceComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IDEAOfflineModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Observable, Subscription } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Utility to monitor the network connection.
|
|
5
|
+
* Note: don't use it directly, if you're also using IDEAOfflineDataService.
|
|
6
|
+
*/
|
|
7
|
+
export declare class IDEAOfflineService {
|
|
8
|
+
/**
|
|
9
|
+
* True/false if the platform is offline/online.
|
|
10
|
+
*/
|
|
11
|
+
protected _isOffline: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The observable for subscribing to online/offline status changes.
|
|
14
|
+
*/
|
|
15
|
+
protected observable: Observable<boolean>;
|
|
16
|
+
/**
|
|
17
|
+
* The handler for listenig to network changes.
|
|
18
|
+
*/
|
|
19
|
+
protected listenerHandler: any;
|
|
20
|
+
constructor();
|
|
21
|
+
/**
|
|
22
|
+
* Subscribe to be notified when the connection status changes.
|
|
23
|
+
*/
|
|
24
|
+
subscribe(callback: (isOnline: boolean) => void): Subscription;
|
|
25
|
+
/**
|
|
26
|
+
* Quickly check the connection status.
|
|
27
|
+
*/
|
|
28
|
+
isOnline(): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Quickly check the connection status.
|
|
31
|
+
*/
|
|
32
|
+
isOffline(): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Quickly check for online connection.
|
|
35
|
+
*/
|
|
36
|
+
check(): Promise<boolean>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAOfflineService, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IDEAOfflineService>;
|
|
39
|
+
}
|