@tilde-nlp/ngx-common 8.0.1 → 8.0.2
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/tilde-nlp-ngx-common.mjs +7 -8
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/index.d.ts +4 -3
- package/package.json +1 -1
- package/web-components/index.html +1 -1
- package/web-components/main.js +24 -24
- package/web-components/polyfills.js +4 -3
- package/web-components/styles.css +1 -1
|
@@ -1465,8 +1465,9 @@ class DateAgoPipe {
|
|
|
1465
1465
|
get localizationPrefix() { return this.settings?.localizationPrefix ?? this.defaultSettings.localizationPrefix; }
|
|
1466
1466
|
get justNowKey() { return this.settings?.justNowKey ?? this.defaultSettings.justNowKey; }
|
|
1467
1467
|
get justNowSeconds() { return this.settings?.justNowSeconds ?? this.defaultSettings.justNowSeconds; }
|
|
1468
|
-
constructor(translate, _ref, settings) {
|
|
1468
|
+
constructor(translate, translatePipe, _ref, settings) {
|
|
1469
1469
|
this.translate = translate;
|
|
1470
|
+
this.translatePipe = translatePipe;
|
|
1470
1471
|
this._ref = _ref;
|
|
1471
1472
|
this.settings = settings;
|
|
1472
1473
|
this.defaultSettings = {
|
|
@@ -1522,8 +1523,7 @@ class DateAgoPipe {
|
|
|
1522
1523
|
if (!dateAgo) {
|
|
1523
1524
|
return "";
|
|
1524
1525
|
}
|
|
1525
|
-
|
|
1526
|
-
return translatePipe.transform(`${this.localizationPrefix}.${dateAgo.key}`, { value: dateAgo.howMany });
|
|
1526
|
+
return this.translatePipe.transform(`${this.localizationPrefix}.${dateAgo.key}`, { value: dateAgo.howMany });
|
|
1527
1527
|
}
|
|
1528
1528
|
calculateDateAgo(value, enableMultiplePostfix) {
|
|
1529
1529
|
if (value) {
|
|
@@ -1549,7 +1549,7 @@ class DateAgoPipe {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
return null;
|
|
1551
1551
|
}
|
|
1552
|
-
static { this.ɵfac = function DateAgoPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateAgoPipe)(i0.ɵɵdirectiveInject(i1$1.TranslateService, 16), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef, 16), i0.ɵɵdirectiveInject(DateAgoSettingsToken, 24)); }; }
|
|
1552
|
+
static { this.ɵfac = function DateAgoPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateAgoPipe)(i0.ɵɵdirectiveInject(i1$1.TranslateService, 16), i0.ɵɵdirectiveInject(i1$1.TranslatePipe, 16), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef, 16), i0.ɵɵdirectiveInject(DateAgoSettingsToken, 24)); }; }
|
|
1553
1553
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "dateAgo", type: DateAgoPipe, pure: false, standalone: false }); }
|
|
1554
1554
|
}
|
|
1555
1555
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateAgoPipe, [{
|
|
@@ -1559,7 +1559,7 @@ class DateAgoPipe {
|
|
|
1559
1559
|
pure: false,
|
|
1560
1560
|
standalone: false
|
|
1561
1561
|
}]
|
|
1562
|
-
}], () => [{ type: i1$1.TranslateService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
1562
|
+
}], () => [{ type: i1$1.TranslateService }, { type: i1$1.TranslatePipe }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
1563
1563
|
type: Inject,
|
|
1564
1564
|
args: [DateAgoSettingsToken]
|
|
1565
1565
|
}, {
|
|
@@ -6704,7 +6704,6 @@ class TextToSpeechComponent {
|
|
|
6704
6704
|
type: Component,
|
|
6705
6705
|
args: [{ selector: 'lib-text-to-speech', imports: [
|
|
6706
6706
|
CommonModule,
|
|
6707
|
-
MatButton,
|
|
6708
6707
|
MatIconButton,
|
|
6709
6708
|
MatIcon,
|
|
6710
6709
|
FormsModule,
|
|
@@ -6720,7 +6719,7 @@ class TextToSpeechComponent {
|
|
|
6720
6719
|
}], voices: [{
|
|
6721
6720
|
type: Input
|
|
6722
6721
|
}] }); })();
|
|
6723
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextToSpeechComponent, { className: "TextToSpeechComponent", filePath: "lib/text-to-speech/text-to-speech.component.ts", lineNumber:
|
|
6722
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextToSpeechComponent, { className: "TextToSpeechComponent", filePath: "lib/text-to-speech/text-to-speech.component.ts", lineNumber: 33 }); })();
|
|
6724
6723
|
|
|
6725
6724
|
var LLMActions;
|
|
6726
6725
|
(function (LLMActions) {
|
|
@@ -7409,7 +7408,7 @@ class NewFeatureDialogWrapperComponent {
|
|
|
7409
7408
|
type: Component,
|
|
7410
7409
|
args: [{
|
|
7411
7410
|
selector: 'lib-new-feature-dialog-wrapper',
|
|
7412
|
-
imports: [CommonModule, MatDialogModule
|
|
7411
|
+
imports: [CommonModule, MatDialogModule],
|
|
7413
7412
|
template: ''
|
|
7414
7413
|
}]
|
|
7415
7414
|
}], null, { titleLocalizationKey: [{
|