@eo-sdk/client 9.3.0-rc.2 → 9.4.0-rc.1

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.
Files changed (43) hide show
  1. package/app/eo-framework/actions/action.module.d.ts +3 -1
  2. package/app/eo-framework/actions/actions/signature-action/signature/signature.component.d.ts +96 -0
  3. package/app/eo-framework/actions/actions/signature-action/signature-action.component.d.ts +19 -0
  4. package/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.d.ts +1 -0
  5. package/app/eo-framework/object-form/object-form/form-element-table/row-edit/row-edit.component.d.ts +1 -0
  6. package/assets/_default/i18n/de.json +17 -5
  7. package/assets/_default/i18n/en.json +32 -20
  8. package/assets/_default/svg/ic_signature.svg +1 -0
  9. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +97 -0
  10. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js.map +1 -1
  11. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js +2 -2
  12. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
  13. package/bundles/eo-sdk-client.umd.js +172 -21
  14. package/bundles/eo-sdk-client.umd.js.map +1 -1
  15. package/bundles/eo-sdk-client.umd.min.js +1 -1
  16. package/bundles/eo-sdk-client.umd.min.js.map +1 -1
  17. package/eo-sdk-client.d.ts +12 -10
  18. package/eo-sdk-client.metadata.json +1 -1
  19. package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
  20. package/esm2015/app/eo-framework/actions/action.module.js +9 -3
  21. package/esm2015/app/eo-framework/actions/actions/delete-action/delete/delete.component.js +2 -2
  22. package/esm2015/app/eo-framework/actions/actions/signature-action/signature/signature.component.js +109 -0
  23. package/esm2015/app/eo-framework/actions/actions/signature-action/signature-action.component.js +38 -0
  24. package/esm2015/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.js +3 -2
  25. package/esm2015/app/eo-framework/object-form/object-form/form-element-table/row-edit/row-edit.component.js +3 -2
  26. package/esm2015/app/eo-framework/object-form/object-form.module.js +2 -2
  27. package/esm2015/app/eo-framework/tree/tree.component.js +2 -2
  28. package/esm2015/app/eo-framework/ui/signature-tab/signature-tab.component.js +2 -2
  29. package/esm2015/app/eo-framework/upload-overlay/upload-overlay.component.js +2 -2
  30. package/esm2015/eo-sdk-client.js +13 -11
  31. package/esm2015/projects/eo-sdk/core/lib/eo-core.module.js +3 -1
  32. package/esm2015/projects/eo-sdk/core/lib/service/signing/signing.service.js +97 -0
  33. package/esm2015/projects/eo-sdk/core/public_api.js +2 -1
  34. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +96 -1
  35. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
  36. package/fesm2015/eo-sdk-client.js +156 -13
  37. package/fesm2015/eo-sdk-client.js.map +1 -1
  38. package/package.json +2 -2
  39. package/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.metadata.json +1 -1
  40. package/projects/eo-sdk/core/lib/service/signing/signing.service.d.ts +83 -0
  41. package/projects/eo-sdk/core/package.json +1 -1
  42. package/projects/eo-sdk/core/public_api.d.ts +1 -0
  43. package/proxy.config.json +5 -0
@@ -5931,6 +5931,100 @@ AuthInterceptor.ctorParameters = () => [
5931
5931
  { type: AuthService }
5932
5932
  ];
5933
5933
 
5934
+ /**
5935
+ * Collection of Signing Services
5936
+ */
5937
+ class SigningService {
5938
+ constructor(backend, translate) {
5939
+ this.backend = backend;
5940
+ this.translate = translate;
5941
+ }
5942
+ /**
5943
+ * Sign the document of a DMS Object
5944
+ * @param id the id of the dms object
5945
+ * @param signingData the signing informations
5946
+ * @returns Observable<any>
5947
+ */
5948
+ signDocument(id, signingData) {
5949
+ const uri = `/request/${id}`;
5950
+ return this.backend.post(uri, signingData, '/signing');
5951
+ }
5952
+ getLocalizedSigningForm() {
5953
+ return {
5954
+ 'size': 'small',
5955
+ 'readonly': false,
5956
+ 'name': 'yuvsigners',
5957
+ 'qname': 'yuvsigning.yuvsigners',
5958
+ 'hitname': 'yuvsigning.yuvsigners',
5959
+ 'label': 'Signers',
5960
+ 'type': 'TABLE',
5961
+ 'indexname': 'tab_yuvsigning_yuvsigners',
5962
+ 'required': false,
5963
+ 'elements': [
5964
+ {
5965
+ 'readonly': false,
5966
+ 'name': 'yuvsignerorder',
5967
+ 'qname': 'yuvsigning.yuvsigners.yuvsignerorder',
5968
+ 'hitname': 'yuvsigning.yuvsigners.yuvsignerorder',
5969
+ 'label': this.translate.instant('eo.action.signature.yuvsigners.yuvsignerorder'),
5970
+ 'type': 'NUMBER',
5971
+ 'indexname': 'num_yuvsignerorder',
5972
+ 'scale': 0,
5973
+ 'precision': 10,
5974
+ 'grouping': false,
5975
+ 'selectedforenrichment': false,
5976
+ 'required': false,
5977
+ 'sortable': true,
5978
+ 'searchable': true
5979
+ },
5980
+ {
5981
+ 'size': 'small',
5982
+ 'multiline': false,
5983
+ 'readonly': false,
5984
+ 'name': 'yuvsignername',
5985
+ 'qname': 'yuvsigning.yuvsigners.yuvsignername',
5986
+ 'hitname': 'yuvsigning.yuvsigners.yuvsignername',
5987
+ 'label': this.translate.instant('eo.action.signature.yuvsigners.yuvsignername'),
5988
+ 'type': 'STRING',
5989
+ 'indexname': 'str_yuvsignername',
5990
+ 'autocomplete': true,
5991
+ 'selectedforenrichment': false,
5992
+ 'maxlen': 50,
5993
+ 'minlen': 0,
5994
+ 'required': false,
5995
+ 'sortable': true,
5996
+ 'searchable': true
5997
+ },
5998
+ {
5999
+ 'size': 'small',
6000
+ 'multiline': false,
6001
+ 'readonly': false,
6002
+ 'name': 'yuvsigneremail',
6003
+ 'qname': 'yuvsigning.yuvsigners.yuvsigneremail',
6004
+ 'hitname': 'yuvsigning.yuvsigners.yuvsigneremail',
6005
+ 'label': this.translate.instant('eo.action.signature.yuvsigners.yuvsigneremail'),
6006
+ 'type': 'STRING',
6007
+ 'indexname': 'str_yuvsigneremail',
6008
+ 'autocomplete': true,
6009
+ 'selectedforenrichment': false,
6010
+ 'maxlen': 200,
6011
+ 'minlen': 0,
6012
+ 'required': false,
6013
+ 'sortable': true,
6014
+ 'searchable': true
6015
+ }
6016
+ ]
6017
+ };
6018
+ }
6019
+ }
6020
+ SigningService.decorators = [
6021
+ { type: Injectable }
6022
+ ];
6023
+ SigningService.ctorParameters = () => [
6024
+ { type: BackendService },
6025
+ { type: TranslateService }
6026
+ ];
6027
+
5934
6028
  /**
5935
6029
  * Main module for connecting an app to an yuuvis<sup>&reg;</sup> RAD backend. To use it just import int in your app module:
5936
6030
  *
@@ -6006,6 +6100,7 @@ EoCoreModule.decorators = [
6006
6100
  SystemService,
6007
6101
  AppCacheService,
6008
6102
  DmsService,
6103
+ SigningService,
6009
6104
  Config,
6010
6105
  PrepareService,
6011
6106
  InboxService,
@@ -6065,5 +6160,5 @@ class UploadFileItem {
6065
6160
  * Generated bundle index. Do not edit.
6066
6161
  */
6067
6162
 
6068
- export { AppCacheService, AuthService, BackendService, BpmService, CORE_CONFIG, CUSTOM_CONFIG, CapabilitiesService, ClipboardAction, ClipboardService, Config, CoreConfig, CoreInit, Direction, DmsObject, DmsObjectAttachment, DmsObjectHistoryEntry, DmsService, EnaioEvent, EnvironmentEnaio, EnvironmentService, EoCoreModule, EoError, EoSharedModule, EoUser, EoxMissingTranslationHandler, EoxTranslateJsonLoader, EventService, FieldDefinition, InboxItem, InboxService, LocalStorageService, Logger, NotificationsService, ObjectType, PrepareService, PreparedItem, Process, QueryScope, RangeValue, SearchFilter, SearchQuery, SearchResult, SearchService, SearchState, SortOption, StoredQueriesService, StoredQuery, SubscriptionMode, SystemService, SystemStatusEnum, UploadFileItem, UploadRegistryService, UploadService, UploadTarget, UserService, Utils, WorkItem, WorkItemHistoryEntry, init_module, SystemStatusService as ɵa, ConsoleLogService as ɵb, AuthInterceptor as ɵc };
6163
+ export { AppCacheService, AuthService, BackendService, BpmService, CORE_CONFIG, CUSTOM_CONFIG, CapabilitiesService, ClipboardAction, ClipboardService, Config, CoreConfig, CoreInit, Direction, DmsObject, DmsObjectAttachment, DmsObjectHistoryEntry, DmsService, EnaioEvent, EnvironmentEnaio, EnvironmentService, EoCoreModule, EoError, EoSharedModule, EoUser, EoxMissingTranslationHandler, EoxTranslateJsonLoader, EventService, FieldDefinition, InboxItem, InboxService, LocalStorageService, Logger, NotificationsService, ObjectType, PrepareService, PreparedItem, Process, QueryScope, RangeValue, SearchFilter, SearchQuery, SearchResult, SearchService, SearchState, SigningService, SortOption, StoredQueriesService, StoredQuery, SubscriptionMode, SystemService, SystemStatusEnum, UploadFileItem, UploadRegistryService, UploadService, UploadTarget, UserService, Utils, WorkItem, WorkItemHistoryEntry, init_module, SystemStatusService as ɵa, ConsoleLogService as ɵb, AuthInterceptor as ɵc };
6069
6164
  //# sourceMappingURL=eo-sdk-client-projects-eo-sdk-core.js.map