@dataclouder/ngx-core 0.1.25 → 0.1.27
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/dataclouder-ngx-core.mjs +156 -4
- package/fesm2022/dataclouder-ngx-core.mjs.map +1 -1
- package/lib/models/character-models.d.ts +5 -0
- package/lib/models/extension.model.d.ts +1 -2
- package/lib/models/languages.model.d.ts +7 -0
- package/lib/services/ui-state.service.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -19,8 +19,7 @@ export interface ILearnable {
|
|
|
19
19
|
}
|
|
20
20
|
export interface IManageable {
|
|
21
21
|
isPublic: boolean;
|
|
22
|
-
|
|
23
|
-
status?: 'draft' | 'review' | 'approved' | 'published' | 'archived';
|
|
22
|
+
status?: 'draft' | 'review' | 'published' | 'archived';
|
|
24
23
|
}
|
|
25
24
|
export interface IReactable {
|
|
26
25
|
reactionsCount?: {
|
|
@@ -2,6 +2,7 @@ export interface ILangTranslation {
|
|
|
2
2
|
en: string;
|
|
3
3
|
es: string;
|
|
4
4
|
}
|
|
5
|
+
export declare const SUPPORTED_LANGUAGES: string[];
|
|
5
6
|
export interface ILanguageData {
|
|
6
7
|
nativeName: string;
|
|
7
8
|
flag: string;
|
|
@@ -12,5 +13,11 @@ export interface ILanguageData {
|
|
|
12
13
|
translations: ILangTranslation;
|
|
13
14
|
flagImg?: string;
|
|
14
15
|
status: 'ready' | 'commingsoon' | 'almostready';
|
|
16
|
+
speakers: number;
|
|
15
17
|
}
|
|
16
18
|
export declare const LANGUAGES: Record<string, ILanguageData>;
|
|
19
|
+
export declare function getLangDesc(langCode: string, lang: string): string;
|
|
20
|
+
export declare function getSupportedLanguageOptions(lang?: 'es' | 'en'): {
|
|
21
|
+
value: string;
|
|
22
|
+
label: string;
|
|
23
|
+
}[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WritableSignal } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UiStateService {
|
|
4
|
+
chatDrawerVisible: WritableSignal<boolean>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiStateService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiStateService>;
|
|
7
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -23,4 +23,6 @@ export * from './lib/services/confirm.service';
|
|
|
23
23
|
export * from './lib/services/prompt.service';
|
|
24
24
|
export * from './lib/services/http-core.service';
|
|
25
25
|
export * from './lib/services/entity-cominication.service';
|
|
26
|
+
export * from './lib/services/ui-state.service';
|
|
26
27
|
export * from './lib/models/languages.model';
|
|
28
|
+
export * from './lib/models/character-models';
|