@dataclouder/ngx-core 0.1.40 → 0.1.42
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 +133 -31
- package/fesm2022/dataclouder-ngx-core.mjs.map +1 -1
- package/index.d.ts +28 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -713,6 +713,7 @@ declare abstract class EntityBaseFormComponent<T extends {
|
|
|
713
713
|
protected router: Router;
|
|
714
714
|
toastService: _dataclouder_ngx_core.ToastAlertsAbstractService;
|
|
715
715
|
id: i0.InputSignal<string>;
|
|
716
|
+
entityInput: i0.InputSignal<T>;
|
|
716
717
|
entity: i0.WritableSignal<T>;
|
|
717
718
|
private entityIdFromUrl;
|
|
718
719
|
entityId: i0.Signal<string>;
|
|
@@ -725,8 +726,10 @@ declare abstract class EntityBaseFormComponent<T extends {
|
|
|
725
726
|
};
|
|
726
727
|
saveDirtyValues(): Promise<T>;
|
|
727
728
|
private loadEntityEffect;
|
|
729
|
+
private loadEntityById;
|
|
730
|
+
private createNewEntity;
|
|
728
731
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntityBaseFormComponent<any>, never>;
|
|
729
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EntityBaseFormComponent<any>, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
732
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EntityBaseFormComponent<any>, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "entityInput": { "alias": "entity"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
730
733
|
}
|
|
731
734
|
|
|
732
735
|
declare enum EModelQuality {
|
|
@@ -930,6 +933,29 @@ declare class AudioNotificationService {
|
|
|
930
933
|
static ɵprov: i0.ɵɵInjectableDeclaration<AudioNotificationService>;
|
|
931
934
|
}
|
|
932
935
|
|
|
936
|
+
declare class MobileService {
|
|
937
|
+
protected router: Router;
|
|
938
|
+
eventInstall: any;
|
|
939
|
+
isMobileAgent: boolean;
|
|
940
|
+
hasReponsiveView: i0.WritableSignal<boolean>;
|
|
941
|
+
hasMobileView: boolean;
|
|
942
|
+
private readonly mobileWidthThreshold;
|
|
943
|
+
private readonly responsibleWidthThreshold;
|
|
944
|
+
private screenWidth$;
|
|
945
|
+
screenHeight$: Observable<number>;
|
|
946
|
+
private isMobile$;
|
|
947
|
+
constructor();
|
|
948
|
+
isMobileRoute(currentRoute?: string): boolean;
|
|
949
|
+
getPlatform(): string;
|
|
950
|
+
isNativeMobileOrMobileRoute(): boolean;
|
|
951
|
+
isNativeMobile(): boolean;
|
|
952
|
+
getScreenWidth(): Observable<number>;
|
|
953
|
+
installByUser(): void;
|
|
954
|
+
private checkMobileAgent;
|
|
955
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MobileService, never>;
|
|
956
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MobileService>;
|
|
957
|
+
}
|
|
958
|
+
|
|
933
959
|
interface ILangTranslation {
|
|
934
960
|
en: string;
|
|
935
961
|
es: string;
|
|
@@ -995,5 +1021,5 @@ declare const CharacterEventActions: {
|
|
|
995
1021
|
label: string;
|
|
996
1022
|
}[];
|
|
997
1023
|
|
|
998
|
-
export { APP_CONFIG, AppConfigService, AudioNotificationService, AudioSpeed, AudioSpeedReverse, CharacterEventActions, ChatUserSettings, ConfirmComponent, ConfirmService, DCFilterBarComponent, DCProgressToastComponent, DcAuditableViewerComponent, DcExtensionsViewerComponent, DcLearnableFormComponent, DcLearnableViewerComponent, DcManageableFormComponent, DcManageableViewerComponent, DcReactionsViewerComponent, EModelQuality, EmptyStateComponent, EntityBaseFormComponent, EntityBaseListComponent, EntityCommunicationService, FlagPipe, FormUtilsService, GetPathPipe, HTTP_CORE_CONFIG, HttpCoreService, IAIModel, LANGUAGES, LangDescTranslation, LoadingBarComponent, LoadingBarService, ModelQualityOptions, MoodState, MoodStateOptions, OptionValue, PaginationBase, PromptService, QuickTableComponent, SUPPORTED_LANGUAGES, TOAST_ALERTS_TOKEN, ToastAlertsAbstractService, UiStateService, availibleFilters, extractJsonFromString, formatCamelCaseString, getLangDesc, getSupportedLanguageOptions, provideToastAlert, sortOptions, sortTypes };
|
|
1024
|
+
export { APP_CONFIG, AppConfigService, AudioNotificationService, AudioSpeed, AudioSpeedReverse, CharacterEventActions, ChatUserSettings, ConfirmComponent, ConfirmService, DCFilterBarComponent, DCProgressToastComponent, DcAuditableViewerComponent, DcExtensionsViewerComponent, DcLearnableFormComponent, DcLearnableViewerComponent, DcManageableFormComponent, DcManageableViewerComponent, DcReactionsViewerComponent, EModelQuality, EmptyStateComponent, EntityBaseFormComponent, EntityBaseListComponent, EntityCommunicationService, FlagPipe, FormUtilsService, GetPathPipe, HTTP_CORE_CONFIG, HttpCoreService, IAIModel, LANGUAGES, LangDescTranslation, LoadingBarComponent, LoadingBarService, MobileService, ModelQualityOptions, MoodState, MoodStateOptions, OptionValue, PaginationBase, PromptService, QuickTableComponent, SUPPORTED_LANGUAGES, TOAST_ALERTS_TOKEN, ToastAlertsAbstractService, UiStateService, availibleFilters, extractJsonFromString, formatCamelCaseString, getLangDesc, getSupportedLanguageOptions, provideToastAlert, sortOptions, sortTypes };
|
|
999
1025
|
export type { AppException, ConfirmOptions, DeleteHttpParams, DeletedData, FiltersConfig, GetHttpParams, HttpCoreConfig, HttpCoreError, IAppConfig, IAuditable, ICustomFilter, IExtensionable, IFilterQueryResponse, ILangTranslation, ILanguageData, ILearnable, IManageable, IReactable, LearnableForm, ListFilterBarOptions, OnActionEvent, PColumn, PostHttpParams, PromptOptions, PutHttpParams, SortOption, ToastData };
|