valtech-components 2.0.301 → 2.0.302
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/esm2022/lib/examples/user-issue-test.component.mjs +267 -0
- package/esm2022/lib/services/lang-provider/lang-provider.service.mjs +11 -5
- package/esm2022/lib/shared/utils/content.mjs +8 -2
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/valtech-components.mjs +279 -6
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/examples/user-issue-test.component.d.ts +31 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Simple test component to diagnose the user's specific issue.
|
|
5
|
+
* Tests the exact pattern the user is using.
|
|
6
|
+
*/
|
|
7
|
+
export declare class UserIssueTestComponent implements OnInit {
|
|
8
|
+
private contentService;
|
|
9
|
+
private langService;
|
|
10
|
+
currentLang$: import("rxjs").Observable<string>;
|
|
11
|
+
saveButtonDirect$: import("rxjs").Observable<string>;
|
|
12
|
+
cancelButtonDirect$: import("rxjs").Observable<string>;
|
|
13
|
+
private contentHelper;
|
|
14
|
+
saveButtonHelper$: import("rxjs").Observable<string>;
|
|
15
|
+
cancelButtonHelper$: import("rxjs").Observable<string>;
|
|
16
|
+
saveButtonLang$: import("rxjs").Observable<string>;
|
|
17
|
+
cancelButtonLang$: import("rxjs").Observable<string>;
|
|
18
|
+
directUpdateCount: number;
|
|
19
|
+
helperUpdateCount: number;
|
|
20
|
+
langServiceUpdateCount: number;
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
switchToSpanish(): void;
|
|
23
|
+
switchToEnglish(): void;
|
|
24
|
+
getSaveTextSync(): string;
|
|
25
|
+
getCancelTextSync(): string;
|
|
26
|
+
getAvailableLanguages(): string;
|
|
27
|
+
hasContentSave(): boolean;
|
|
28
|
+
hasContentCancel(): boolean;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserIssueTestComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserIssueTestComponent, "val-user-issue-test", never, {}, {}, never, never, true, never>;
|
|
31
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -92,6 +92,7 @@ export * from './lib/examples/multi-language-demo.component';
|
|
|
92
92
|
export * from './lib/examples/reactive-components-demo.component';
|
|
93
93
|
export * from './lib/examples/reactivity-test.component';
|
|
94
94
|
export * from './lib/examples/selector-examples.component';
|
|
95
|
+
export * from './lib/examples/user-issue-test.component';
|
|
95
96
|
export * from './lib/services/content.service';
|
|
96
97
|
export * from './lib/services/download.service';
|
|
97
98
|
export * from './lib/services/icons.service';
|