@yuuvis/client-core 2.6.3 → 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 +17 -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/lib/service/system/system.enum.d.ts +1 -0
- package/package.json +1 -1
|
@@ -76,6 +76,7 @@ const SystemType = {
|
|
|
76
76
|
DOCUMENT: 'system:document',
|
|
77
77
|
FOLDER: 'system:folder',
|
|
78
78
|
AUDIT: 'system:audit',
|
|
79
|
+
ITEM: 'system:item',
|
|
79
80
|
RELATIONSHIP: 'system:relationship',
|
|
80
81
|
SOT: 'system:secondary'
|
|
81
82
|
};
|
|
@@ -4542,7 +4543,8 @@ class PendingChangesService {
|
|
|
4542
4543
|
* Returns whether or not the component|service has pending tasks.
|
|
4543
4544
|
* Checks via confirm dialog
|
|
4544
4545
|
* @param component
|
|
4545
|
-
* @returns
|
|
4546
|
+
* @returns false if there are no pending changes or user confirmed
|
|
4547
|
+
* to continue, true if there are pending changes and user canceled the action
|
|
4546
4548
|
*/
|
|
4547
4549
|
check(component) {
|
|
4548
4550
|
if (component && component.hasPendingChanges ? !component.hasPendingChanges() : !this.hasPendingTask()) {
|
|
@@ -5562,9 +5564,22 @@ const provideYuvClientCore = (options = { translations: [] }, customEvents, cust
|
|
|
5562
5564
|
]);
|
|
5563
5565
|
};
|
|
5564
5566
|
|
|
5567
|
+
const AVAILABLE_BACKEND_APPS = new InjectionToken('Available Backend application', {
|
|
5568
|
+
factory: () => undefined
|
|
5569
|
+
});
|
|
5570
|
+
const provideAvailabilityManagement = (user) => {
|
|
5571
|
+
return { provide: AVAILABLE_BACKEND_APPS, useValue: user };
|
|
5572
|
+
};
|
|
5573
|
+
const CLIENT_APP_REQUIREMENTS = new InjectionToken('Application / Extension requirements for client shell', {
|
|
5574
|
+
factory: () => null
|
|
5575
|
+
});
|
|
5576
|
+
const provideRequirements = (requirements) => {
|
|
5577
|
+
return { provide: CLIENT_APP_REQUIREMENTS, useValue: requirements };
|
|
5578
|
+
};
|
|
5579
|
+
|
|
5565
5580
|
/**
|
|
5566
5581
|
* Generated bundle index. Do not edit.
|
|
5567
5582
|
*/
|
|
5568
5583
|
|
|
5569
|
-
export { AFO_STATE, AdministrationRoles, ApiBase, AppCacheService, AuditField, AuditService, AuthService, BackendService, BaseObjectTypeField, BpmService, CORE_CONFIG, CUSTOM_CONFIG, CUSTOM_YUV_EVENT_PREFIX, CatalogService, Classification, ClassificationPrefix, ClientDefaultsObjectTypeField, ClipboardService, ColumnConfigSkipFields, ConfigService, ConnectionService, ContentStreamAllowed, ContentStreamField, CoreConfig, DeviceScreenOrientation, DeviceService, DialogCloseGuard, Direction, DmsObject, DmsService, EventService, FileSizePipe, IdmService, InternalFieldType, KeysPipe, LocaleCurrencyPipe, LocaleDatePipe, LocaleDecimalPipe, LocaleNumberPipe, LocalePercentPipe, Logger, LoginStateName, NativeNotificationService, NotificationService, ObjectConfigService, ObjectFormControl, ObjectFormControlWrapper, ObjectFormGroup, ObjectTag, ObjectTypeClassification, ObjectTypePropertyClassification, Operator, OperatorLabel, ParentField, PendingChangesGuard, PendingChangesService, PredictionService, ProcessAction, RelationshipTypeField, RetentionField, RetentionService, SafeHtmlPipe, SafeUrlPipe, SearchService, SearchUtils, SecondaryObjectTypeClassification, SessionStorageService, Situation, Sort, SystemResult, SystemSOT, SystemService, SystemType, TENANT_HEADER, TabGuardDirective, ToastService, UploadService, UserRoles, UserService, UserStorageService, Utils, YUV_USER, YuvError, YuvEventType, YuvUser, init_moduleFnc, provideUser, provideYuvClientCore };
|
|
5584
|
+
export { AFO_STATE, AVAILABLE_BACKEND_APPS, AdministrationRoles, ApiBase, AppCacheService, AuditField, AuditService, AuthService, BackendService, BaseObjectTypeField, BpmService, CLIENT_APP_REQUIREMENTS, CORE_CONFIG, CUSTOM_CONFIG, CUSTOM_YUV_EVENT_PREFIX, CatalogService, Classification, ClassificationPrefix, ClientDefaultsObjectTypeField, ClipboardService, ColumnConfigSkipFields, ConfigService, ConnectionService, ContentStreamAllowed, ContentStreamField, CoreConfig, DeviceScreenOrientation, DeviceService, DialogCloseGuard, Direction, DmsObject, DmsService, EventService, FileSizePipe, IdmService, InternalFieldType, KeysPipe, LocaleCurrencyPipe, LocaleDatePipe, LocaleDecimalPipe, LocaleNumberPipe, LocalePercentPipe, Logger, LoginStateName, NativeNotificationService, NotificationService, ObjectConfigService, ObjectFormControl, ObjectFormControlWrapper, ObjectFormGroup, ObjectTag, ObjectTypeClassification, ObjectTypePropertyClassification, Operator, OperatorLabel, ParentField, PendingChangesGuard, PendingChangesService, PredictionService, ProcessAction, RelationshipTypeField, RetentionField, RetentionService, SafeHtmlPipe, SafeUrlPipe, SearchService, SearchUtils, SecondaryObjectTypeClassification, SessionStorageService, Situation, Sort, SystemResult, SystemSOT, SystemService, SystemType, TENANT_HEADER, TabGuardDirective, ToastService, UploadService, UserRoles, UserService, UserStorageService, Utils, YUV_USER, YuvError, YuvEventType, YuvUser, init_moduleFnc, provideAvailabilityManagement, provideRequirements, provideUser, provideYuvClientCore };
|
|
5570
5585
|
//# sourceMappingURL=yuuvis-client-core.mjs.map
|