@tilde-nlp/ngx-translate 2.1.2 → 2.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.
- package/esm2020/lib/i18n/en.mjs +2 -2
- package/esm2020/lib/modules/tld-term/services/api-v2/mt-term-v2.service.mjs +2 -2
- package/esm2020/lib/modules/tld-term/services/models/combined-collection.model.mjs +3 -8
- package/esm2020/lib/modules/tld-text/components/tld-translate-text/tld-translate-text.component.mjs +2 -7
- package/fesm2015/tilde-nlp-ngx-translate.mjs +5 -16
- package/fesm2015/tilde-nlp-ngx-translate.mjs.map +1 -1
- package/fesm2020/tilde-nlp-ngx-translate.mjs +5 -15
- package/fesm2020/tilde-nlp-ngx-translate.mjs.map +1 -1
- package/lib/modules/tld-term/services/models/combined-collection.model.d.ts +4 -4
- package/lib/modules/tld-text/components/tld-translate-text/tld-translate-text.component.d.ts +0 -1
- package/package.json +1 -1
- package/src/assets/webcomponent/tld-translate.js +1 -1
- package/tilde-nlp-ngx-translate-2.1.3.tgz +0 -0
- package/tilde-nlp-ngx-translate-2.1.2.tgz +0 -0
|
@@ -11,6 +11,10 @@ export declare class CombinedCollection {
|
|
|
11
11
|
termCollection: ITldTermCollection;
|
|
12
12
|
termTooltipKey: CombinedCollectionTooltipKey;
|
|
13
13
|
source: EngineTermCollectionSource;
|
|
14
|
+
/**
|
|
15
|
+
* Modified date from term api or last updated from mt api.
|
|
16
|
+
*/
|
|
17
|
+
lastUpdated: Date;
|
|
14
18
|
static importingStatuses: MtCollectionStatus[];
|
|
15
19
|
static findExistingCollectionFromList(collections: Iterable<CombinedCollection>, collection: CombinedCollection): CombinedCollection;
|
|
16
20
|
static findExistingIndexFromList(collections: Iterable<CombinedCollection>, collection: CombinedCollection): number;
|
|
@@ -36,10 +40,6 @@ export declare class CombinedCollection {
|
|
|
36
40
|
*/
|
|
37
41
|
get termId(): string;
|
|
38
42
|
get mtStatus(): MtCollectionStatus;
|
|
39
|
-
/**
|
|
40
|
-
* Last updated date from mt api.
|
|
41
|
-
*/
|
|
42
|
-
get lastUpdated(): Date;
|
|
43
43
|
/**
|
|
44
44
|
* Collection name. If has term collection, takes from there. If not, then returns mt collection name.
|
|
45
45
|
*/
|
package/lib/modules/tld-text/components/tld-translate-text/tld-translate-text.component.d.ts
CHANGED
|
@@ -85,7 +85,6 @@ export declare class TldTranslateTextComponent implements OnInit, OnDestroy {
|
|
|
85
85
|
private readonly mobileBreakpoints;
|
|
86
86
|
constructor(translateTextService: TldTranslateTextService, clipboard: Clipboard, alerts: TldAlertService, config: TldTranslateConfigService, tldScrollService: TldScrollService, tldSystem: TldSystemService, audioService: AudioRecordService, voiceInputService: TldVoiceInputService, fileService: TldTranslateFileService, breakpointObserver: BreakpointObserver);
|
|
87
87
|
ngOnInit(): void;
|
|
88
|
-
capitalizeFirstLetter(s: string): string;
|
|
89
88
|
copy(): void;
|
|
90
89
|
switchFocusFromCopy(event: any): void;
|
|
91
90
|
fileChange(files: File[]): void;
|