@eo-sdk/client 10.0.1 → 10.1.0-rc.2
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/app/eo-client/about-state/about-state.component.d.ts.map +1 -1
- package/app/eo-client/dashboard/dashboard.component.d.ts +9 -1
- package/app/eo-client/dashboard/dashboard.component.d.ts.map +1 -1
- package/app/eo-client/dashboard/widgets/info-inbox-widget/info-inbox-setup/info-inbox-setup.component.d.ts.map +1 -1
- package/app/eo-client/dashboard/widgets/info-intray-widget/info-intray-setup/info-intray-setup.component.d.ts.map +1 -1
- package/app/eo-framework/actions/actions/signature-action/signature/signature.component.d.ts +13 -61
- package/app/eo-framework/actions/actions/signature-action/signature/signature.component.d.ts.map +1 -1
- package/app/eo-framework/app-shell/app-bar/app-bar.component.d.ts +5 -0
- package/app/eo-framework/app-shell/app-bar/app-bar.component.d.ts.map +1 -1
- package/app/eo-framework/app-shell/app-bar/side-bar/side-bar.component.d.ts +3 -7
- package/app/eo-framework/app-shell/app-bar/side-bar/side-bar.component.d.ts.map +1 -1
- package/app/eo-framework/form-elements/datetime-range/datetime-range.component.d.ts +2 -0
- package/app/eo-framework/form-elements/datetime-range/datetime-range.component.d.ts.map +1 -1
- package/app/eo-framework/form-elements/reference/reference.component.d.ts.map +1 -1
- package/app/eo-framework/frame/frame.component.d.ts +5 -0
- package/app/eo-framework/frame/frame.component.d.ts.map +1 -1
- package/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.d.ts.map +1 -1
- package/assets/_default/i18n/de.json +5 -0
- package/assets/_default/i18n/en.json +5 -0
- package/esm2020/app/eo-client/about-state/about-state.component.mjs +3 -3
- package/esm2020/app/eo-client/dashboard/dashboard.component.mjs +43 -3
- package/esm2020/app/eo-client/dashboard/widgets/iframe-widget/iframe-setup/iframe-setup.component.mjs +4 -4
- package/esm2020/app/eo-client/dashboard/widgets/info-inbox-widget/info-inbox-setup/info-inbox-setup.component.mjs +16 -12
- package/esm2020/app/eo-client/dashboard/widgets/info-intray-widget/info-intray-setup/info-intray-setup.component.mjs +16 -13
- package/esm2020/app/eo-framework/actions/actions/signature-action/signature/signature.component.mjs +52 -31
- package/esm2020/app/eo-framework/app-shell/app-bar/app-bar.component.mjs +14 -3
- package/esm2020/app/eo-framework/app-shell/app-bar/side-bar/side-bar.component.mjs +6 -20
- package/esm2020/app/eo-framework/form-elements/datetime-range/datetime-range.component.mjs +8 -4
- package/esm2020/app/eo-framework/form-elements/reference/reference.component.mjs +3 -3
- package/esm2020/app/eo-framework/frame/frame.component.mjs +19 -1
- package/esm2020/app/eo-framework/object-details/object-details.component.mjs +3 -3
- package/esm2020/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.mjs +5 -4
- package/esm2020/app/eo-framework/ui/signature-tab/signature-tab.component.mjs +3 -3
- package/esm2020/projects/eo-sdk/core/lib/service/signing/signing.service.mjs +33 -3
- package/esm2020/projects/eo-sdk/core/lib/service/user/user.service.mjs +11 -1
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs +42 -2
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs.map +1 -1
- package/fesm2015/eo-sdk-client.mjs +155 -71
- package/fesm2015/eo-sdk-client.mjs.map +1 -1
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs +42 -2
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs.map +1 -1
- package/fesm2020/eo-sdk-client.mjs +158 -75
- package/fesm2020/eo-sdk-client.mjs.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/lib/service/signing/signing.service.d.ts +7 -54
- package/projects/eo-sdk/core/lib/service/signing/signing.service.d.ts.map +1 -1
- package/projects/eo-sdk/core/lib/service/user/user.service.d.ts +5 -0
- package/projects/eo-sdk/core/lib/service/user/user.service.d.ts.map +1 -1
|
@@ -3208,6 +3208,16 @@ class UserService {
|
|
|
3208
3208
|
this.refreshCurrentUser().subscribe();
|
|
3209
3209
|
}));
|
|
3210
3210
|
}
|
|
3211
|
+
/**
|
|
3212
|
+
* Save or change the visibility state of dashboard toolbar for the current user
|
|
3213
|
+
* @param toolbarVisibility The visibility state
|
|
3214
|
+
*/
|
|
3215
|
+
saveToolbarState(toolbarVisibility) {
|
|
3216
|
+
this.user.userSettings.toolbarVisibility = toolbarVisibility;
|
|
3217
|
+
return this.backend.put('/user/config/web', this.user.userSettings).pipe(map(() => {
|
|
3218
|
+
this.refreshCurrentUser().subscribe();
|
|
3219
|
+
}));
|
|
3220
|
+
}
|
|
3211
3221
|
}
|
|
3212
3222
|
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: UserService, deps: [{ token: BackendService }, { token: i1.TranslateService }, { token: Logger }, { token: EventService }, { token: SystemService }, { token: i1$1.HttpClient }, { token: Config }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3213
3223
|
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
@@ -6149,6 +6159,14 @@ class SigningService {
|
|
|
6149
6159
|
const uri = `/request/${id}`;
|
|
6150
6160
|
return this.canSign ? this.backend.post(uri, signingData, '/signing') : of(null);
|
|
6151
6161
|
}
|
|
6162
|
+
/**
|
|
6163
|
+
* Gives the setup informations about the configured signing preferences
|
|
6164
|
+
* @returns Observable<any>
|
|
6165
|
+
*/
|
|
6166
|
+
getInfo() {
|
|
6167
|
+
const uri = `/info`;
|
|
6168
|
+
return this.canSign ? this.backend.get(uri, '/signing') : of(null);
|
|
6169
|
+
}
|
|
6152
6170
|
/**
|
|
6153
6171
|
* Cancels the signing process of a DMS Object
|
|
6154
6172
|
* @param id the id of the dms object
|
|
@@ -6159,8 +6177,8 @@ class SigningService {
|
|
|
6159
6177
|
const uri = `/cancel/${id}?comment=${comment}`;
|
|
6160
6178
|
return this.backend.put(uri, null, '/signing');
|
|
6161
6179
|
}
|
|
6162
|
-
getLocalizedSigningForm() {
|
|
6163
|
-
|
|
6180
|
+
getLocalizedSigningForm(phoneRequired = false) {
|
|
6181
|
+
let form = {
|
|
6164
6182
|
'size': 'small',
|
|
6165
6183
|
'readonly': false,
|
|
6166
6184
|
'name': 'yuvsigners',
|
|
@@ -6226,6 +6244,28 @@ class SigningService {
|
|
|
6226
6244
|
}
|
|
6227
6245
|
]
|
|
6228
6246
|
};
|
|
6247
|
+
if (phoneRequired) {
|
|
6248
|
+
form.elements.push({
|
|
6249
|
+
'size': 'small',
|
|
6250
|
+
'multiline': false,
|
|
6251
|
+
'readonly': false,
|
|
6252
|
+
'name': 'yuvsignerphone',
|
|
6253
|
+
'qname': 'yuvsigning.yuvsigners.yuvsignerphone',
|
|
6254
|
+
'hitname': 'yuvsigning.yuvsigners.yuvsignerphone',
|
|
6255
|
+
'label': this.translate.instant('eo.action.signature.yuvsigners.yuvsignerphone'),
|
|
6256
|
+
'type': 'STRING',
|
|
6257
|
+
'indexname': 'str_yuvsignerphone',
|
|
6258
|
+
'autocomplete': true,
|
|
6259
|
+
'selectedforenrichment': false,
|
|
6260
|
+
'maxlen': 100,
|
|
6261
|
+
'minlen': 0,
|
|
6262
|
+
'required': true,
|
|
6263
|
+
'sortable': true,
|
|
6264
|
+
'searchable': true,
|
|
6265
|
+
'description': '+49 17643521'
|
|
6266
|
+
});
|
|
6267
|
+
}
|
|
6268
|
+
return form;
|
|
6229
6269
|
}
|
|
6230
6270
|
signatureRequested(item) {
|
|
6231
6271
|
return !!item.data.yuvsigstatus;
|