@idea-ionic/uncommon 8.5.12 → 8.6.0-beta.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/fesm2022/idea-ionic-uncommon.mjs +85 -85
- package/fesm2022/idea-ionic-uncommon.mjs.map +1 -1
- package/index.d.ts +1405 -3
- package/package.json +12 -13
- package/esm2022/idea-ionic-uncommon.mjs +0 -5
- package/esm2022/public-api.mjs +0 -26
- package/esm2022/src/AWSAPI.service.mjs +0 -431
- package/esm2022/src/AWSAPISocket.service.mjs +0 -188
- package/esm2022/src/address/address.component.mjs +0 -409
- package/esm2022/src/announcement/announcement.component.mjs +0 -72
- package/esm2022/src/cachedResources.service.mjs +0 -55
- package/esm2022/src/colors/colorPicker.component.mjs +0 -191
- package/esm2022/src/contacts/contacts.component.mjs +0 -188
- package/esm2022/src/dateTime/calendarPicker.component.mjs +0 -213
- package/esm2022/src/dateTime/dateTime.component.mjs +0 -217
- package/esm2022/src/duration/duration.component.mjs +0 -195
- package/esm2022/src/echo/echo.page.mjs +0 -233
- package/esm2022/src/echo/echo.routes.mjs +0 -6
- package/esm2022/src/errorReporting.service.mjs +0 -69
- package/esm2022/src/mde/mde.component.mjs +0 -143
- package/esm2022/src/mde/mdeToolbar.component.mjs +0 -25
- package/esm2022/src/offline/cacheableResource.component.mjs +0 -56
- package/esm2022/src/offline/offline.service.mjs +0 -63
- package/esm2022/src/offline/offlineData.service.mjs +0 -480
- package/esm2022/src/offline/offlineIndicator.component.mjs +0 -105
- package/esm2022/src/offline/offlineManager.component.mjs +0 -101
- package/esm2022/src/pushNotifications.service.mjs +0 -57
- package/esm2022/src/sentiment/sentiment.component.mjs +0 -112
- package/esm2022/src/timeInterval/fromTimeToTime.component.mjs +0 -171
- package/esm2022/src/timeInterval/timeInterval.component.mjs +0 -206
- package/esm2022/src/tinCan.service.mjs +0 -49
- package/public-api.d.ts +0 -25
- package/src/AWSAPI.service.d.ts +0 -178
- package/src/AWSAPISocket.service.d.ts +0 -129
- package/src/address/address.component.d.ts +0 -64
- package/src/announcement/announcement.component.d.ts +0 -23
- package/src/cachedResources.service.d.ts +0 -34
- package/src/colors/colorPicker.component.d.ts +0 -78
- package/src/contacts/contacts.component.d.ts +0 -31
- package/src/dateTime/calendarPicker.component.d.ts +0 -45
- package/src/dateTime/dateTime.component.d.ts +0 -81
- package/src/duration/duration.component.d.ts +0 -68
- package/src/echo/echo.page.d.ts +0 -34
- package/src/echo/echo.routes.d.ts +0 -2
- package/src/errorReporting.service.d.ts +0 -26
- package/src/mde/mde.component.d.ts +0 -39
- package/src/mde/mdeToolbar.component.d.ts +0 -5
- package/src/offline/cacheableResource.component.d.ts +0 -11
- package/src/offline/offline.service.d.ts +0 -39
- package/src/offline/offlineData.service.d.ts +0 -281
- package/src/offline/offlineIndicator.component.d.ts +0 -25
- package/src/offline/offlineManager.component.d.ts +0 -17
- package/src/pushNotifications.service.d.ts +0 -26
- package/src/sentiment/sentiment.component.d.ts +0 -35
- package/src/timeInterval/fromTimeToTime.component.d.ts +0 -61
- package/src/timeInterval/timeInterval.component.d.ts +0 -84
- package/src/tinCan.service.d.ts +0 -31
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { Sentiment } from 'idea-toolbox';
|
|
3
|
-
import { IDEAOfflineService } from '../offline/offline.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IDEASentimentComponent implements OnChanges {
|
|
6
|
-
protected _env: any;
|
|
7
|
-
private _API;
|
|
8
|
-
private _translate;
|
|
9
|
-
_offline: IDEAOfflineService;
|
|
10
|
-
/**
|
|
11
|
-
* The sentiment detected from the input text.
|
|
12
|
-
*/
|
|
13
|
-
sentiment: Sentiment;
|
|
14
|
-
/**
|
|
15
|
-
* The input text.
|
|
16
|
-
*/
|
|
17
|
-
text: string;
|
|
18
|
-
/**
|
|
19
|
-
* Lines preferences for the item.
|
|
20
|
-
*/
|
|
21
|
-
lines: string;
|
|
22
|
-
/**
|
|
23
|
-
* The color for the component.
|
|
24
|
-
*/
|
|
25
|
-
color: string;
|
|
26
|
-
/**
|
|
27
|
-
* Triggers when the sentiment change.
|
|
28
|
-
*/
|
|
29
|
-
change: EventEmitter<Sentiment>;
|
|
30
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
-
private detectSentiment;
|
|
32
|
-
getColorBySentiment(sentiment?: Sentiment | string): string;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IDEASentimentComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IDEASentimentComponent, "idea-sentiment", never, { "text": { "alias": "text"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { TimeInterval } from 'idea-toolbox';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class IDEAFromTimeToTimeComponent implements OnInit {
|
|
5
|
-
private _modal;
|
|
6
|
-
private _translate;
|
|
7
|
-
/**
|
|
8
|
-
* The time interval to set.
|
|
9
|
-
*/
|
|
10
|
-
timeInterval: TimeInterval;
|
|
11
|
-
/**
|
|
12
|
-
* Whether we should start picking the time displaying the afternoon (PM) or the morning (AM, default).
|
|
13
|
-
*/
|
|
14
|
-
period: Periods;
|
|
15
|
-
/**
|
|
16
|
-
* A time to use as lower limit for the possible choices.
|
|
17
|
-
*/
|
|
18
|
-
notEarlierThan: number;
|
|
19
|
-
/**
|
|
20
|
-
* A time to use as upper limit for the possible choices.
|
|
21
|
-
*/
|
|
22
|
-
notLaterThan: number;
|
|
23
|
-
/**
|
|
24
|
-
* The title of the component.
|
|
25
|
-
*/
|
|
26
|
-
title: string;
|
|
27
|
-
segment: Segments;
|
|
28
|
-
Segments: typeof Segments;
|
|
29
|
-
Periods: typeof Periods;
|
|
30
|
-
timeIntervalWC: TimeInterval;
|
|
31
|
-
minutes: number;
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
-
setInterval(hours: number, minutes?: number): void;
|
|
34
|
-
private timeToMs;
|
|
35
|
-
getClockButtonContent(hours: number, minutes?: number): string;
|
|
36
|
-
private contextualizeHour;
|
|
37
|
-
equalsFrom(hours: number, minutes?: number): boolean;
|
|
38
|
-
isAllowed(hours: number, minutes?: number): boolean;
|
|
39
|
-
isHourOfOppositeMeridian(hours: number, minutes?: number): boolean;
|
|
40
|
-
msToTimeString(time: number): string;
|
|
41
|
-
save(): void;
|
|
42
|
-
reset(): void;
|
|
43
|
-
close(): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IDEAFromTimeToTimeComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IDEAFromTimeToTimeComponent, "idea-from-time-to-time", never, { "timeInterval": { "alias": "timeInterval"; "required": false; }; "period": { "alias": "period"; "required": false; }; "notEarlierThan": { "alias": "notEarlierThan"; "required": false; }; "notLaterThan": { "alias": "notLaterThan"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* The two stages of the component, to pick the start and the end of the interval.
|
|
49
|
-
*/
|
|
50
|
-
declare enum Segments {
|
|
51
|
-
FROM = "FROM",
|
|
52
|
-
TO = "TO"
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* The two possible periods of the component, to interpret the clock the right way.
|
|
56
|
-
*/
|
|
57
|
-
export declare enum Periods {
|
|
58
|
-
AM = "AM",
|
|
59
|
-
PM = "PM"
|
|
60
|
-
}
|
|
61
|
-
export {};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, SimpleChanges, OnInit, OnDestroy, OnChanges } from '@angular/core';
|
|
2
|
-
import { TimeInterval } from 'idea-toolbox';
|
|
3
|
-
import { Periods } from './fromTimeToTime.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IDEATimeIntervalComponent implements OnInit, OnDestroy, OnChanges {
|
|
6
|
-
private _modal;
|
|
7
|
-
private _translate;
|
|
8
|
-
/**
|
|
9
|
-
* The time interval to set.
|
|
10
|
-
*/
|
|
11
|
-
timeInterval: TimeInterval;
|
|
12
|
-
/**
|
|
13
|
-
* Whether we should start picking the time displaying the afternoon (PM) or the morning (AM, default).
|
|
14
|
-
*/
|
|
15
|
-
period: Periods;
|
|
16
|
-
/**
|
|
17
|
-
* A time to use as lower limit for the possible choices.
|
|
18
|
-
*/
|
|
19
|
-
notEarlierThan: number;
|
|
20
|
-
/**
|
|
21
|
-
* A time to use as upper limit for the possible choices.
|
|
22
|
-
*/
|
|
23
|
-
notLaterThan: number;
|
|
24
|
-
/**
|
|
25
|
-
* The label for the field.
|
|
26
|
-
*/
|
|
27
|
-
label: string;
|
|
28
|
-
/**
|
|
29
|
-
* The icon for the field.
|
|
30
|
-
*/
|
|
31
|
-
icon: string;
|
|
32
|
-
/**
|
|
33
|
-
* The color of the icon.
|
|
34
|
-
*/
|
|
35
|
-
iconColor: string;
|
|
36
|
-
/**
|
|
37
|
-
* A placeholder for the field.
|
|
38
|
-
*/
|
|
39
|
-
placeholder: string;
|
|
40
|
-
/**
|
|
41
|
-
* If true, the component is disabled.
|
|
42
|
-
*/
|
|
43
|
-
disabled: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* If true, the field has a tappable effect when disabled.
|
|
46
|
-
*/
|
|
47
|
-
tappableWhenDisabled: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* If true, the obligatory dot is shown.
|
|
50
|
-
*/
|
|
51
|
-
obligatory: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Lines preferences for the item.
|
|
54
|
-
*/
|
|
55
|
-
lines: string;
|
|
56
|
-
/**
|
|
57
|
-
* The color for the component.
|
|
58
|
-
*/
|
|
59
|
-
color: string;
|
|
60
|
-
/**
|
|
61
|
-
* On select event.
|
|
62
|
-
*/
|
|
63
|
-
select: EventEmitter<void>;
|
|
64
|
-
/**
|
|
65
|
-
* Icon select.
|
|
66
|
-
*/
|
|
67
|
-
iconSelect: EventEmitter<void>;
|
|
68
|
-
/**
|
|
69
|
-
* On select (with the field disabled) event.
|
|
70
|
-
*/
|
|
71
|
-
selectWhenDisabled: EventEmitter<void>;
|
|
72
|
-
valueToDisplay: string;
|
|
73
|
-
private langChangeSubscription;
|
|
74
|
-
isOpening: boolean;
|
|
75
|
-
ngOnInit(): void;
|
|
76
|
-
ngOnDestroy(): void;
|
|
77
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
78
|
-
private getValueToDisplay;
|
|
79
|
-
pickTimeInterval(): Promise<void>;
|
|
80
|
-
doSelectWhenDisabled(): void;
|
|
81
|
-
doIconSelect(event: any): void;
|
|
82
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IDEATimeIntervalComponent, never>;
|
|
83
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IDEATimeIntervalComponent, "idea-time-interval", never, { "timeInterval": { "alias": "timeInterval"; "required": false; }; "period": { "alias": "period"; "required": false; }; "notEarlierThan": { "alias": "notEarlierThan"; "required": false; }; "notLaterThan": { "alias": "notLaterThan"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tappableWhenDisabled": { "alias": "tappableWhenDisabled"; "required": false; }; "obligatory": { "alias": "obligatory"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "select": "select"; "iconSelect": "iconSelect"; "selectWhenDisabled": "selectWhenDisabled"; }, never, never, true, never>;
|
|
84
|
-
}
|
package/src/tinCan.service.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated use a specific App service instead.
|
|
4
|
-
*/
|
|
5
|
-
export declare class IDEATinCanService {
|
|
6
|
-
protected data: any;
|
|
7
|
-
constructor();
|
|
8
|
-
/**
|
|
9
|
-
* Set a variable with the given value.
|
|
10
|
-
* @param variable variable to set
|
|
11
|
-
* @param value value to assign to the variable
|
|
12
|
-
*/
|
|
13
|
-
set(variable: string, value: any): void;
|
|
14
|
-
/**
|
|
15
|
-
* Get the content of a variable.
|
|
16
|
-
* @param variable variable to acquire
|
|
17
|
-
* @param getAndDelete if set, delete the variable after the acquisition
|
|
18
|
-
*/
|
|
19
|
-
get(variable: string, getAndDelete?: boolean): any;
|
|
20
|
-
/**
|
|
21
|
-
* Remove a variable.
|
|
22
|
-
* @param variable variable to remove
|
|
23
|
-
*/
|
|
24
|
-
remove(variable: string): void;
|
|
25
|
-
/**
|
|
26
|
-
* Clear all the variables.
|
|
27
|
-
*/
|
|
28
|
-
clear(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IDEATinCanService, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IDEATinCanService>;
|
|
31
|
-
}
|