@yuuvis/client-core 2.7.0 → 2.8.0
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/yuuvis-client-core.mjs +16 -2
- package/fesm2022/yuuvis-client-core.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/service/available-backend-apps/available-backend-apps.model.d.ts +6 -0
- package/lib/service/available-backend-apps/available-backend-apps.provider.d.ts +6 -0
- package/lib/service/available-backend-apps/index.d.ts +2 -0
- package/lib/service/pending-changes/pending-changes.service.d.ts +2 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { Requirements, YuvAvailableBackendApps } from './available-backend-apps.model';
|
|
3
|
+
export declare const AVAILABLE_BACKEND_APPS: InjectionToken<YuvAvailableBackendApps[] | undefined>;
|
|
4
|
+
export declare const provideAvailabilityManagement: (user: YuvAvailableBackendApps[]) => Provider;
|
|
5
|
+
export declare const CLIENT_APP_REQUIREMENTS: InjectionToken<Requirements | null>;
|
|
6
|
+
export declare const provideRequirements: (requirements: Requirements) => Provider;
|
|
@@ -44,7 +44,8 @@ export declare class PendingChangesService {
|
|
|
44
44
|
* Returns whether or not the component|service has pending tasks.
|
|
45
45
|
* Checks via confirm dialog
|
|
46
46
|
* @param component
|
|
47
|
-
* @returns
|
|
47
|
+
* @returns false if there are no pending changes or user confirmed
|
|
48
|
+
* to continue, true if there are pending changes and user canceled the action
|
|
48
49
|
*/
|
|
49
50
|
check(component?: PendingChangesComponent): boolean;
|
|
50
51
|
checkForPendingTasks(taskIds: string | string[]): boolean;
|