@arsedizioni/ars-utils 19.2.19 → 19.2.20
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/clipper.common/common/definitions.d.ts +1 -1
- package/clipper.common/common/services/clipper.service.d.ts +8 -8
- package/clipper.ui/documents.d.ts +1 -1
- package/clipper.ui/ui/browser/browser-dialog/browser-dialog.component.d.ts +6 -6
- package/clipper.ui/ui/browser/browser.component.d.ts +2 -2
- package/clipper.ui/ui/document/document.component.d.ts +9 -9
- package/clipper.ui/ui/document-manager/document-manager.d.ts +3 -3
- package/clipper.ui/ui/document-menu/document-menu.component.d.ts +2 -2
- package/clipper.ui/ui/references/references.component.d.ts +6 -6
- package/clipper.ui/ui/search-calendar/search-calendar.component.d.ts +2 -2
- package/clipper.ui/ui/search-facets/search-facets.component.d.ts +1 -1
- package/clipper.ui/ui/search-result-manager/search-result-manager.d.ts +9 -9
- package/core/definitions.d.ts +39 -39
- package/core/pipes/format.pipe.d.ts +1 -1
- package/core/pipes/replace.pipe.d.ts +1 -1
- package/core/pipes/safe-html.pipe.d.ts +1 -1
- package/core/pipes/safe-url.pipe.d.ts +1 -1
- package/core/pipes/search-callback.pipe.d.ts +1 -1
- package/core/pipes/search-filter.pipe.d.ts +1 -1
- package/core/selectable.d.ts +4 -4
- package/core/services/broadcast.service.d.ts +1 -1
- package/core/services/broadcastChannelManager.d.ts +1 -1
- package/core/system.d.ts +8 -8
- package/evolution.common/common/definitions.d.ts +218 -218
- package/evolution.common/common/services/evolution.service.d.ts +5 -5
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +10 -11
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +31 -31
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +7 -7
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-help.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +4 -4
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +35 -39
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +11 -11
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/help/components/help-viewer/help-viewer.component.d.ts +4 -4
- package/help/definitions.d.ts +1 -1
- package/package.json +5 -5
- package/support.common/common/definitions.d.ts +23 -23
- package/support.common/common/services/support.service.d.ts +1 -1
- package/support.ui/ui/notifications-browser/notification/notification.component.d.ts +2 -2
- package/tinymce/full-screen-editor/full-screen-editor.component.d.ts +2 -2
- package/ui/ui/definitions.d.ts +4 -4
- package/ui/ui/dialogs/confirm/confirm-dialog.component.d.ts +7 -7
- package/ui/ui/dialogs/credentials/credentials-dialog.component.d.ts +9 -9
- package/ui/ui/dialogs/info/info-dialog.component.d.ts +5 -5
- package/ui/ui/dialogs/recover-password/recover-password-dialog.component.d.ts +1 -1
- package/ui/ui/dialogs/reset-password/reset-password-dialog.component.d.ts +3 -3
- package/ui/ui/dialogs/toast/toast.component.d.ts +2 -2
- package/ui/ui/services/dialog.service.d.ts +9 -9
- package/ui.application/ui/components/button-selector/button-selector.component.d.ts +2 -2
- package/ui.application/ui/components/chips-selector/chips-selector.component.d.ts +1 -1
- package/ui.application/ui/components/file-input/file-input.component.d.ts +1 -1
- package/ui.application/ui/components/file-preview/file-preview.component.d.ts +3 -3
- package/ui.application/ui/components/filter-bar/filter-bar.component.d.ts +3 -3
- package/ui.application/ui/definitions.d.ts +49 -49
- package/ui.application/ui/dialogs/prompt/prompt-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/prompt-date/prompt-date-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/prompt-time/prompt-time-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/select/select-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/select-file/select-file-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/select-picture/select-picture-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/send-to/send-to-dialog.component.d.ts +5 -5
- package/ui.application/ui/filters.d.ts +28 -28
- package/ui.application/ui/services/applicationDialog.service.d.ts +14 -14
|
@@ -4,13 +4,13 @@ export interface EvolutionLoginResult extends LoginResult<EvolutionUserInfo> {
|
|
|
4
4
|
}
|
|
5
5
|
export interface EvolutionLoginInfo {
|
|
6
6
|
context: EvolutionUserInfo;
|
|
7
|
-
userCredentials?: string
|
|
8
|
-
OAUTH?: LoginOAuthType
|
|
7
|
+
userCredentials?: string;
|
|
8
|
+
OAUTH?: LoginOAuthType;
|
|
9
9
|
}
|
|
10
10
|
export interface EvolutionUserLink {
|
|
11
|
-
id?: number
|
|
11
|
+
id?: number;
|
|
12
12
|
userId: number;
|
|
13
|
-
userName?: string
|
|
13
|
+
userName?: string;
|
|
14
14
|
key: string;
|
|
15
15
|
}
|
|
16
16
|
export interface EvolutionUserModuleInfo {
|
|
@@ -24,12 +24,12 @@ export interface EvolutionLicenceModuleInfo {
|
|
|
24
24
|
name: string;
|
|
25
25
|
availableUsers: number;
|
|
26
26
|
usedUsers: number;
|
|
27
|
-
availableOption1?: number
|
|
28
|
-
usedOption1?: number
|
|
29
|
-
availableOption2?: number
|
|
30
|
-
usedOption2?: number
|
|
31
|
-
availableOption3?: number
|
|
32
|
-
usedOption3?: number
|
|
27
|
+
availableOption1?: number;
|
|
28
|
+
usedOption1?: number;
|
|
29
|
+
availableOption2?: number;
|
|
30
|
+
usedOption2?: number;
|
|
31
|
+
availableOption3?: number;
|
|
32
|
+
usedOption3?: number;
|
|
33
33
|
}
|
|
34
34
|
export interface EvolutionUserInfo {
|
|
35
35
|
licenceId: number;
|
|
@@ -37,33 +37,33 @@ export interface EvolutionUserInfo {
|
|
|
37
37
|
companyName: string;
|
|
38
38
|
firstName: string;
|
|
39
39
|
fullName: string;
|
|
40
|
-
flags?: number
|
|
40
|
+
flags?: number;
|
|
41
41
|
email: string;
|
|
42
|
-
sessionId?: string
|
|
43
|
-
isTemporary?: boolean
|
|
42
|
+
sessionId?: string;
|
|
43
|
+
isTemporary?: boolean;
|
|
44
44
|
role: number;
|
|
45
45
|
scope: number;
|
|
46
46
|
roleName: string;
|
|
47
47
|
roleLevel: number;
|
|
48
48
|
allowedModules: EvolutionUserModuleInfo[];
|
|
49
|
-
dashboard?: number
|
|
50
|
-
dashboard2?: string
|
|
51
|
-
code?: string
|
|
52
|
-
subjectId?: number
|
|
53
|
-
subjectName?: string
|
|
54
|
-
siteId?: number
|
|
55
|
-
siteName?: string
|
|
56
|
-
siteCostCenter?: string
|
|
57
|
-
departmentId?: number
|
|
58
|
-
departmentName?: string
|
|
59
|
-
expiryDate?: string
|
|
60
|
-
isExpired?: boolean
|
|
61
|
-
isAdministrator?: boolean
|
|
62
|
-
isPowerUser?: boolean
|
|
63
|
-
isObserver?: boolean
|
|
64
|
-
isUser?: boolean
|
|
65
|
-
isSupportUser?: boolean
|
|
66
|
-
isGod?: boolean
|
|
49
|
+
dashboard?: number;
|
|
50
|
+
dashboard2?: string;
|
|
51
|
+
code?: string;
|
|
52
|
+
subjectId?: number;
|
|
53
|
+
subjectName?: string;
|
|
54
|
+
siteId?: number;
|
|
55
|
+
siteName?: string;
|
|
56
|
+
siteCostCenter?: string;
|
|
57
|
+
departmentId?: number;
|
|
58
|
+
departmentName?: string;
|
|
59
|
+
expiryDate?: string;
|
|
60
|
+
isExpired?: boolean;
|
|
61
|
+
isAdministrator?: boolean;
|
|
62
|
+
isPowerUser?: boolean;
|
|
63
|
+
isObserver?: boolean;
|
|
64
|
+
isUser?: boolean;
|
|
65
|
+
isSupportUser?: boolean;
|
|
66
|
+
isGod?: boolean;
|
|
67
67
|
administrators: string;
|
|
68
68
|
availableModules: EvolutionLicenceModuleInfo[];
|
|
69
69
|
availableEmployees: number;
|
|
@@ -87,15 +87,15 @@ export declare enum ERPModule {
|
|
|
87
87
|
Documenti = 128
|
|
88
88
|
}
|
|
89
89
|
export interface EvolutionPlaceable {
|
|
90
|
-
licenceId?: number
|
|
91
|
-
companyName?: string
|
|
92
|
-
subjectId?: number
|
|
93
|
-
subjectName?: string
|
|
94
|
-
siteId?: number
|
|
95
|
-
siteName?: string
|
|
96
|
-
departmentId?: number
|
|
97
|
-
departmentName?: string
|
|
98
|
-
placeId?: number
|
|
90
|
+
licenceId?: number;
|
|
91
|
+
companyName?: string;
|
|
92
|
+
subjectId?: number;
|
|
93
|
+
subjectName?: string;
|
|
94
|
+
siteId?: number;
|
|
95
|
+
siteName?: string;
|
|
96
|
+
departmentId?: number;
|
|
97
|
+
departmentName?: string;
|
|
98
|
+
placeId?: number;
|
|
99
99
|
}
|
|
100
100
|
export declare enum ERPExportType {
|
|
101
101
|
Basic = 1,
|
|
@@ -157,16 +157,16 @@ export declare enum ERPExportPart {
|
|
|
157
157
|
}
|
|
158
158
|
export interface EvolutionExportModel<T> extends SendToModel {
|
|
159
159
|
searchParams: T;
|
|
160
|
-
selection?: number[]
|
|
160
|
+
selection?: number[];
|
|
161
161
|
type: ERPExportType;
|
|
162
|
-
sort?: number
|
|
162
|
+
sort?: number;
|
|
163
163
|
source: ERPExportSource;
|
|
164
164
|
format: ERPExportFormat;
|
|
165
|
-
parts?: ERPExportPart[]
|
|
166
|
-
automateReport?: boolean
|
|
167
|
-
automatedReportId?: number
|
|
165
|
+
parts?: ERPExportPart[];
|
|
166
|
+
automateReport?: boolean;
|
|
167
|
+
automatedReportId?: number;
|
|
168
168
|
automatedReportSheetName?: string;
|
|
169
|
-
formatExtension?: string
|
|
169
|
+
formatExtension?: string;
|
|
170
170
|
}
|
|
171
171
|
export declare enum ERPComplianceLawsSelectionType {
|
|
172
172
|
Analysis = 1,
|
|
@@ -349,206 +349,206 @@ export interface EvolutionPermission {
|
|
|
349
349
|
}
|
|
350
350
|
export interface EvolutionPlacePermission extends EvolutionPermission {
|
|
351
351
|
id: number;
|
|
352
|
-
subjectId?: number
|
|
353
|
-
siteId?: number
|
|
354
|
-
departmentId?: number
|
|
352
|
+
subjectId?: number;
|
|
353
|
+
siteId?: number;
|
|
354
|
+
departmentId?: number;
|
|
355
355
|
mode: number;
|
|
356
356
|
}
|
|
357
357
|
export interface EvolutionContextInfo {
|
|
358
358
|
id: number;
|
|
359
|
-
userId?: number
|
|
359
|
+
userId?: number;
|
|
360
360
|
name: string;
|
|
361
361
|
permission: EvolutionPermission;
|
|
362
362
|
placePermission: ERPPlacePermission;
|
|
363
363
|
costCenter: string;
|
|
364
|
-
selected?: boolean
|
|
365
|
-
level?: number
|
|
366
|
-
levelTitle?: string
|
|
364
|
+
selected?: boolean;
|
|
365
|
+
level?: number;
|
|
366
|
+
levelTitle?: string;
|
|
367
367
|
}
|
|
368
368
|
export declare class EvolutionComplianceContextInfo {
|
|
369
|
-
licenceId?: number
|
|
370
|
-
licencedCompany?: string
|
|
371
|
-
registerTitle?: string
|
|
372
|
-
registerId?: number
|
|
373
|
-
siteName?: string
|
|
374
|
-
siteId?: number
|
|
375
|
-
userId?: number
|
|
376
|
-
items?: EvolutionContextInfo[]
|
|
369
|
+
licenceId?: number;
|
|
370
|
+
licencedCompany?: string;
|
|
371
|
+
registerTitle?: string;
|
|
372
|
+
registerId?: number;
|
|
373
|
+
siteName?: string;
|
|
374
|
+
siteId?: number;
|
|
375
|
+
userId?: number;
|
|
376
|
+
items?: EvolutionContextInfo[];
|
|
377
377
|
}
|
|
378
378
|
export interface EvolutionChangeContextModel {
|
|
379
|
-
userId?: number
|
|
380
|
-
licenceId?: number
|
|
381
|
-
subjectId?: number
|
|
382
|
-
siteId?: number
|
|
383
|
-
registerId?: number
|
|
384
|
-
role?: ERPComplianceProfileRole
|
|
385
|
-
permission?: ERPPlacePermission
|
|
386
|
-
option1Value?: number
|
|
387
|
-
option2Value?: number
|
|
388
|
-
option3Value?: number
|
|
389
|
-
allowObservers?: boolean
|
|
390
|
-
allowDisabled?: boolean
|
|
379
|
+
userId?: number;
|
|
380
|
+
licenceId?: number;
|
|
381
|
+
subjectId?: number;
|
|
382
|
+
siteId?: number;
|
|
383
|
+
registerId?: number;
|
|
384
|
+
role?: ERPComplianceProfileRole;
|
|
385
|
+
permission?: ERPPlacePermission;
|
|
386
|
+
option1Value?: number;
|
|
387
|
+
option2Value?: number;
|
|
388
|
+
option3Value?: number;
|
|
389
|
+
allowObservers?: boolean;
|
|
390
|
+
allowDisabled?: boolean;
|
|
391
391
|
}
|
|
392
392
|
export interface EvolutionComplianceLaw extends EvolutionPlaceable {
|
|
393
|
-
id?: number
|
|
394
|
-
state?: number
|
|
395
|
-
complianceRegisterId?: number
|
|
396
|
-
lot?: number
|
|
397
|
-
topicId?: string
|
|
398
|
-
topicPath?: string
|
|
399
|
-
topicName?: string
|
|
400
|
-
summary?: string
|
|
401
|
-
scope?: number
|
|
402
|
-
source?: string
|
|
403
|
-
references?: EvolutionComplianceLawReference[]
|
|
404
|
-
originalLawId?: number
|
|
405
|
-
originRegion?: string
|
|
406
|
-
origin?: number
|
|
407
|
-
originAlternativeDescription?: string
|
|
408
|
-
description?: string
|
|
409
|
-
documentShortTitle?: string
|
|
410
|
-
documentTitle?: string
|
|
411
|
-
documentNumber?: string
|
|
412
|
-
documentDate?: Date
|
|
413
|
-
documentLastUpdate?: string
|
|
414
|
-
documentLastUpdateShortTitle?: string
|
|
415
|
-
documentUpdateNotes?: string
|
|
416
|
-
documentValidated?: boolean
|
|
417
|
-
documentId?: string
|
|
418
|
-
documentModel?: number
|
|
419
|
-
documentReferences?: string
|
|
420
|
-
documentNotes?: string
|
|
421
|
-
documentForceGlobalCheckForUpdates?: boolean
|
|
422
|
-
complianceCheckItem1?: boolean
|
|
423
|
-
complianceCheckItem2?: boolean
|
|
424
|
-
complianceCheckItem3?: boolean
|
|
425
|
-
complianceCheckItem4?: boolean
|
|
426
|
-
complianceCheckItem5?: boolean
|
|
427
|
-
complianceCheckItem6?: boolean
|
|
428
|
-
complianceCheckItem7?: boolean
|
|
429
|
-
complianceCheckItem8?: boolean
|
|
430
|
-
complianceCheckItem9?: boolean
|
|
431
|
-
complianceCheckItem10?: boolean
|
|
432
|
-
complianceCheckItem11?: boolean
|
|
433
|
-
complianceCheckItem12?: boolean
|
|
434
|
-
alternativeComplianceCheckItem?: boolean
|
|
435
|
-
alternativeComplianceDescription?: string
|
|
436
|
-
applicability?: number
|
|
437
|
-
analyzedBy?: string
|
|
438
|
-
analystOperatorId?: number
|
|
439
|
-
analysisExpiringDate?: Date
|
|
440
|
-
analysisDate?: Date
|
|
441
|
-
analysisNotes?: string
|
|
442
|
-
analysisNoticeDate?: string
|
|
443
|
-
group1?: string
|
|
444
|
-
group2?: string
|
|
445
|
-
count?: number
|
|
446
|
-
created?: Date
|
|
447
|
-
createdBy?: string
|
|
448
|
-
lastUpdated?: Date
|
|
449
|
-
lastUpdatedBy?: string
|
|
393
|
+
id?: number;
|
|
394
|
+
state?: number;
|
|
395
|
+
complianceRegisterId?: number;
|
|
396
|
+
lot?: number;
|
|
397
|
+
topicId?: string;
|
|
398
|
+
topicPath?: string;
|
|
399
|
+
topicName?: string;
|
|
400
|
+
summary?: string;
|
|
401
|
+
scope?: number;
|
|
402
|
+
source?: string;
|
|
403
|
+
references?: EvolutionComplianceLawReference[];
|
|
404
|
+
originalLawId?: number;
|
|
405
|
+
originRegion?: string;
|
|
406
|
+
origin?: number;
|
|
407
|
+
originAlternativeDescription?: string;
|
|
408
|
+
description?: string;
|
|
409
|
+
documentShortTitle?: string;
|
|
410
|
+
documentTitle?: string;
|
|
411
|
+
documentNumber?: string;
|
|
412
|
+
documentDate?: Date;
|
|
413
|
+
documentLastUpdate?: string;
|
|
414
|
+
documentLastUpdateShortTitle?: string;
|
|
415
|
+
documentUpdateNotes?: string;
|
|
416
|
+
documentValidated?: boolean;
|
|
417
|
+
documentId?: string;
|
|
418
|
+
documentModel?: number;
|
|
419
|
+
documentReferences?: string;
|
|
420
|
+
documentNotes?: string;
|
|
421
|
+
documentForceGlobalCheckForUpdates?: boolean;
|
|
422
|
+
complianceCheckItem1?: boolean;
|
|
423
|
+
complianceCheckItem2?: boolean;
|
|
424
|
+
complianceCheckItem3?: boolean;
|
|
425
|
+
complianceCheckItem4?: boolean;
|
|
426
|
+
complianceCheckItem5?: boolean;
|
|
427
|
+
complianceCheckItem6?: boolean;
|
|
428
|
+
complianceCheckItem7?: boolean;
|
|
429
|
+
complianceCheckItem8?: boolean;
|
|
430
|
+
complianceCheckItem9?: boolean;
|
|
431
|
+
complianceCheckItem10?: boolean;
|
|
432
|
+
complianceCheckItem11?: boolean;
|
|
433
|
+
complianceCheckItem12?: boolean;
|
|
434
|
+
alternativeComplianceCheckItem?: boolean;
|
|
435
|
+
alternativeComplianceDescription?: string;
|
|
436
|
+
applicability?: number;
|
|
437
|
+
analyzedBy?: string;
|
|
438
|
+
analystOperatorId?: number;
|
|
439
|
+
analysisExpiringDate?: Date;
|
|
440
|
+
analysisDate?: Date;
|
|
441
|
+
analysisNotes?: string;
|
|
442
|
+
analysisNoticeDate?: string;
|
|
443
|
+
group1?: string;
|
|
444
|
+
group2?: string;
|
|
445
|
+
count?: number;
|
|
446
|
+
created?: Date;
|
|
447
|
+
createdBy?: string;
|
|
448
|
+
lastUpdated?: Date;
|
|
449
|
+
lastUpdatedBy?: string;
|
|
450
450
|
}
|
|
451
451
|
export interface EvolutionComplianceLawDocumentInfo {
|
|
452
|
-
documentId?: string
|
|
453
|
-
documentId2?: string
|
|
454
|
-
title2?: string
|
|
455
|
-
title1?: string
|
|
456
|
-
number?: string
|
|
457
|
-
date?: Date
|
|
458
|
-
origin?: number
|
|
459
|
-
originDescription?: string
|
|
460
|
-
originAlternativeDescription?: string
|
|
461
|
-
originRegion?: string
|
|
462
|
-
notes?: string
|
|
463
|
-
references?: EvolutionComplianceLawReference[]
|
|
464
|
-
forceGlobalCheckForUpdates?: boolean
|
|
465
|
-
validated?: boolean
|
|
466
|
-
description?: string
|
|
452
|
+
documentId?: string;
|
|
453
|
+
documentId2?: string;
|
|
454
|
+
title2?: string;
|
|
455
|
+
title1?: string;
|
|
456
|
+
number?: string;
|
|
457
|
+
date?: Date;
|
|
458
|
+
origin?: number;
|
|
459
|
+
originDescription?: string;
|
|
460
|
+
originAlternativeDescription?: string;
|
|
461
|
+
originRegion?: string;
|
|
462
|
+
notes?: string;
|
|
463
|
+
references?: EvolutionComplianceLawReference[];
|
|
464
|
+
forceGlobalCheckForUpdates?: boolean;
|
|
465
|
+
validated?: boolean;
|
|
466
|
+
description?: string;
|
|
467
467
|
}
|
|
468
468
|
export interface EvolutionComplianceLawsAddParams extends EvolutionComplianceLaw {
|
|
469
|
-
context?: EvolutionComplianceContextInfo
|
|
470
|
-
documents?: EvolutionComplianceLawDocumentInfo[]
|
|
471
|
-
shouldNotifyAnalysisCompletionAgain?: boolean
|
|
472
|
-
scopes?: number[]
|
|
473
|
-
sites?: number[]
|
|
474
|
-
registers?: number[]
|
|
469
|
+
context?: EvolutionComplianceContextInfo;
|
|
470
|
+
documents?: EvolutionComplianceLawDocumentInfo[];
|
|
471
|
+
shouldNotifyAnalysisCompletionAgain?: boolean;
|
|
472
|
+
scopes?: number[];
|
|
473
|
+
sites?: number[];
|
|
474
|
+
registers?: number[];
|
|
475
475
|
}
|
|
476
476
|
export interface EvolutionComplianceLaswExportParams extends EvolutionExportModel<any> {
|
|
477
477
|
}
|
|
478
478
|
export interface EvolutionComplianceLawReference {
|
|
479
|
-
id?: number
|
|
480
|
-
complianceLawId?: number
|
|
479
|
+
id?: number;
|
|
480
|
+
complianceLawId?: number;
|
|
481
481
|
text: string;
|
|
482
|
-
description?: string
|
|
482
|
+
description?: string;
|
|
483
483
|
anchor: string;
|
|
484
484
|
}
|
|
485
485
|
export interface EvolutionComplianceActivity extends EvolutionPlaceable {
|
|
486
486
|
id: number;
|
|
487
487
|
state: number;
|
|
488
|
-
monitoringActivityId?: number
|
|
489
|
-
monitoringActivityTaskId?: number
|
|
490
|
-
complianceRegisterId?: number
|
|
491
|
-
childId?: number
|
|
492
|
-
parentId?: number
|
|
493
|
-
lot?: number
|
|
494
|
-
summary?: string
|
|
495
|
-
scope?: number
|
|
496
|
-
topicId?: string
|
|
497
|
-
topicPath?: string
|
|
498
|
-
topicName?: string
|
|
499
|
-
mandatory?: boolean
|
|
500
|
-
obligationType?: number
|
|
501
|
-
obligationAuthorityId?: number
|
|
502
|
-
obligationNotes?: string
|
|
503
|
-
obligationCheckPoint?: boolean
|
|
504
|
-
description?: string
|
|
505
|
-
deadlineRecurrent?: boolean
|
|
506
|
-
deadlineFrequency?: number
|
|
507
|
-
deadlineFrequencyType?: number
|
|
508
|
-
deadlineFrequencyEndOfMonth?: boolean
|
|
509
|
-
deadlineFirstNoticeDays?: number
|
|
510
|
-
deadlineLastNoticeDays?: number
|
|
511
|
-
deadlineFirstNoticeDate?: Date
|
|
512
|
-
deadlineLastNoticeDate?: Date
|
|
513
|
-
deadlineExpiringDate?: Date
|
|
514
|
-
planningNoticeDate?: Date
|
|
515
|
-
planningExpiringDate?: Date
|
|
516
|
-
planningDate?: Date
|
|
517
|
-
plannedBy?: string
|
|
518
|
-
plannerOperatorId?: number
|
|
519
|
-
planningApplicability?: number
|
|
520
|
-
planningNotificationAdditionalEmailHeader?: string
|
|
521
|
-
planningNotificationAdditionalEmails?: string
|
|
522
|
-
planningNotificationAdditionalEmailsForAlertsOnly?: string
|
|
523
|
-
planningNamedExecutorOperatorId?: number
|
|
524
|
-
planningNamedExecutorName?: string
|
|
525
|
-
planningNamedExecutorManagerOperatorId?: number
|
|
526
|
-
planningNamedExecutorManagerName?: string
|
|
527
|
-
planningScheduleNextFromExecutionDate?: boolean
|
|
528
|
-
planningNotes?: string
|
|
529
|
-
executorOperatorId?: number
|
|
530
|
-
executed?: boolean
|
|
531
|
-
executedBy?: string
|
|
532
|
-
executionDate?: Date
|
|
533
|
-
externalReference?: string
|
|
534
|
-
externalDescription?: string
|
|
535
|
-
group1?: string
|
|
536
|
-
group2?: string
|
|
537
|
-
notes?: string
|
|
538
|
-
created?: Date
|
|
539
|
-
createdBy?: string
|
|
540
|
-
lastUpdated?: Date
|
|
541
|
-
lastUpdatedBy?: string
|
|
488
|
+
monitoringActivityId?: number;
|
|
489
|
+
monitoringActivityTaskId?: number;
|
|
490
|
+
complianceRegisterId?: number;
|
|
491
|
+
childId?: number;
|
|
492
|
+
parentId?: number;
|
|
493
|
+
lot?: number;
|
|
494
|
+
summary?: string;
|
|
495
|
+
scope?: number;
|
|
496
|
+
topicId?: string;
|
|
497
|
+
topicPath?: string;
|
|
498
|
+
topicName?: string;
|
|
499
|
+
mandatory?: boolean;
|
|
500
|
+
obligationType?: number;
|
|
501
|
+
obligationAuthorityId?: number;
|
|
502
|
+
obligationNotes?: string;
|
|
503
|
+
obligationCheckPoint?: boolean;
|
|
504
|
+
description?: string;
|
|
505
|
+
deadlineRecurrent?: boolean;
|
|
506
|
+
deadlineFrequency?: number;
|
|
507
|
+
deadlineFrequencyType?: number;
|
|
508
|
+
deadlineFrequencyEndOfMonth?: boolean;
|
|
509
|
+
deadlineFirstNoticeDays?: number;
|
|
510
|
+
deadlineLastNoticeDays?: number;
|
|
511
|
+
deadlineFirstNoticeDate?: Date;
|
|
512
|
+
deadlineLastNoticeDate?: Date;
|
|
513
|
+
deadlineExpiringDate?: Date;
|
|
514
|
+
planningNoticeDate?: Date;
|
|
515
|
+
planningExpiringDate?: Date;
|
|
516
|
+
planningDate?: Date;
|
|
517
|
+
plannedBy?: string;
|
|
518
|
+
plannerOperatorId?: number;
|
|
519
|
+
planningApplicability?: number;
|
|
520
|
+
planningNotificationAdditionalEmailHeader?: string;
|
|
521
|
+
planningNotificationAdditionalEmails?: string;
|
|
522
|
+
planningNotificationAdditionalEmailsForAlertsOnly?: string;
|
|
523
|
+
planningNamedExecutorOperatorId?: number;
|
|
524
|
+
planningNamedExecutorName?: string;
|
|
525
|
+
planningNamedExecutorManagerOperatorId?: number;
|
|
526
|
+
planningNamedExecutorManagerName?: string;
|
|
527
|
+
planningScheduleNextFromExecutionDate?: boolean;
|
|
528
|
+
planningNotes?: string;
|
|
529
|
+
executorOperatorId?: number;
|
|
530
|
+
executed?: boolean;
|
|
531
|
+
executedBy?: string;
|
|
532
|
+
executionDate?: Date;
|
|
533
|
+
externalReference?: string;
|
|
534
|
+
externalDescription?: string;
|
|
535
|
+
group1?: string;
|
|
536
|
+
group2?: string;
|
|
537
|
+
notes?: string;
|
|
538
|
+
created?: Date;
|
|
539
|
+
createdBy?: string;
|
|
540
|
+
lastUpdated?: Date;
|
|
541
|
+
lastUpdatedBy?: string;
|
|
542
542
|
}
|
|
543
543
|
export interface EvolutionComplianceActivitiesAddParams extends EvolutionComplianceActivity {
|
|
544
|
-
context?: EvolutionComplianceContextInfo
|
|
545
|
-
complianceLawId?: number
|
|
546
|
-
monitoringLawId?: number
|
|
547
|
-
enableLawChangesTracking?: boolean
|
|
548
|
-
enableActivityLawsPopulation?: boolean
|
|
549
|
-
shouldNotifyPlanningCompletionAgain?: boolean
|
|
550
|
-
scopes?: number[]
|
|
551
|
-
sites?: number[]
|
|
552
|
-
registers?: number[]
|
|
553
|
-
document?: EvolutionComplianceLawDocumentInfo
|
|
544
|
+
context?: EvolutionComplianceContextInfo;
|
|
545
|
+
complianceLawId?: number;
|
|
546
|
+
monitoringLawId?: number;
|
|
547
|
+
enableLawChangesTracking?: boolean;
|
|
548
|
+
enableActivityLawsPopulation?: boolean;
|
|
549
|
+
shouldNotifyPlanningCompletionAgain?: boolean;
|
|
550
|
+
scopes?: number[];
|
|
551
|
+
sites?: number[];
|
|
552
|
+
registers?: number[];
|
|
553
|
+
document?: EvolutionComplianceLawDocumentInfo;
|
|
554
554
|
}
|
|
@@ -13,7 +13,7 @@ export declare class EvolutionService implements OnDestroy {
|
|
|
13
13
|
private _flags;
|
|
14
14
|
get flags(): EvolutionServiceFlags;
|
|
15
15
|
private _loginInfo;
|
|
16
|
-
get loginInfo(): EvolutionUserInfo |
|
|
16
|
+
get loginInfo(): EvolutionUserInfo | undefined;
|
|
17
17
|
readonly loggedIn: import("@angular/core").WritableSignal<boolean>;
|
|
18
18
|
readonly loggingIn: import("@angular/core").WritableSignal<boolean>;
|
|
19
19
|
private keepAlive;
|
|
@@ -67,12 +67,12 @@ export declare class EvolutionService implements OnDestroy {
|
|
|
67
67
|
* @param oauthAccessToken: the optional OAuth2 access token
|
|
68
68
|
* @param onSucces: function to execute on seccess
|
|
69
69
|
*/
|
|
70
|
-
autoLogin(email?: string |
|
|
70
|
+
autoLogin(email?: string | undefined, password?: string | undefined, remember?: boolean | undefined, oauth?: LoginOAuthType | undefined, oauthAccessToken?: string | undefined, onSucces?: Function | undefined): boolean;
|
|
71
71
|
/**
|
|
72
72
|
* Perform auto logout
|
|
73
73
|
* @param onSucces: function to execute on seccess
|
|
74
74
|
*/
|
|
75
|
-
autoLogout(onSucces?: Function |
|
|
75
|
+
autoLogout(onSucces?: Function | undefined): void;
|
|
76
76
|
/**
|
|
77
77
|
* Perform login
|
|
78
78
|
* @param email: the optional email if using OAuth2
|
|
@@ -82,7 +82,7 @@ export declare class EvolutionService implements OnDestroy {
|
|
|
82
82
|
* @param oauthAccessToken: the optional OAuth2 access token
|
|
83
83
|
* @returns: the login result
|
|
84
84
|
*/
|
|
85
|
-
login(email?: string |
|
|
85
|
+
login(email?: string | undefined, password?: string | undefined, remember?: boolean | undefined, oauth?: LoginOAuthType | undefined, oauthAccessToken?: string | undefined): import("rxjs").Observable<ApiResult<EvolutionLoginResult>>;
|
|
86
86
|
/**
|
|
87
87
|
* Perform logout
|
|
88
88
|
*/
|
|
@@ -127,7 +127,7 @@ export declare class EvolutionService implements OnDestroy {
|
|
|
127
127
|
* @param group: the group number
|
|
128
128
|
* @param register: the optional register id. Default is null.
|
|
129
129
|
*/
|
|
130
|
-
getGroups(group?: number, register?: number |
|
|
130
|
+
getGroups(group?: number, register?: number | undefined): import("rxjs").Observable<ApiResult<string[]>>;
|
|
131
131
|
/**
|
|
132
132
|
* Change context
|
|
133
133
|
*/
|
|
@@ -1602,7 +1602,7 @@ class ClipperDashboard {
|
|
|
1602
1602
|
* @param model : the optional model
|
|
1603
1603
|
* @returns the module unread items
|
|
1604
1604
|
*/
|
|
1605
|
-
getUnreadItems(module, model) {
|
|
1605
|
+
getUnreadItems(module, model = undefined) {
|
|
1606
1606
|
if (model) {
|
|
1607
1607
|
return this.unreadItemsByModel()?.find((x) => x[0] === model)?.[1];
|
|
1608
1608
|
}
|
|
@@ -1981,12 +1981,11 @@ class ClipperService {
|
|
|
1981
1981
|
this.keepAlive = 0;
|
|
1982
1982
|
this._serviceUri = '';
|
|
1983
1983
|
this._flags = ClipperServiceFlags.None;
|
|
1984
|
-
this._loginInfo = null;
|
|
1985
1984
|
this.loggedIn = signal(sessionStorage.getItem("clipper_oauth_token") !== null);
|
|
1986
1985
|
this.loggingIn = signal(false);
|
|
1987
|
-
this.snapshot = signal(
|
|
1986
|
+
this.snapshot = signal(undefined);
|
|
1988
1987
|
this.supportsRS = signal(false);
|
|
1989
|
-
this.referencesSnapshot = signal(
|
|
1988
|
+
this.referencesSnapshot = signal(undefined);
|
|
1990
1989
|
this.dashboard = new ClipperDashboard();
|
|
1991
1990
|
this.bag = signal([]);
|
|
1992
1991
|
this.bagTotal = computed(() => {
|
|
@@ -2188,7 +2187,7 @@ class ClipperService {
|
|
|
2188
2187
|
* @param oauthAccessToken: the optional OAuth2 access token
|
|
2189
2188
|
* @param onSucces: function to execute on seccess
|
|
2190
2189
|
*/
|
|
2191
|
-
autoLogin(email =
|
|
2190
|
+
autoLogin(email = undefined, password = undefined, remember = false, oauth = undefined, oauthAccessToken = sessionStorage.getItem("clipper_oauth_token"), onSucces = undefined) {
|
|
2192
2191
|
this.login(email, password, remember, oauth, oauthAccessToken)
|
|
2193
2192
|
.subscribe({
|
|
2194
2193
|
next: r => {
|
|
@@ -2210,7 +2209,7 @@ class ClipperService {
|
|
|
2210
2209
|
* Perform auto logout
|
|
2211
2210
|
* @param onSucces: function to execute on seccess
|
|
2212
2211
|
*/
|
|
2213
|
-
autoLogout(onSucces =
|
|
2212
|
+
autoLogout(onSucces = undefined) {
|
|
2214
2213
|
if (!this.loggedIn())
|
|
2215
2214
|
return;
|
|
2216
2215
|
this.logout().subscribe({
|
|
@@ -2239,7 +2238,7 @@ class ClipperService {
|
|
|
2239
2238
|
* @param oauthAccessToken: the optional OAuth2 access token
|
|
2240
2239
|
* @returns: the login result
|
|
2241
2240
|
*/
|
|
2242
|
-
login(email =
|
|
2241
|
+
login(email = undefined, password = undefined, remember = false, oauth = undefined, oauthAccessToken = sessionStorage.getItem("clipper_oauth_token")) {
|
|
2243
2242
|
this.loggingIn.set(true);
|
|
2244
2243
|
return this.httpClient
|
|
2245
2244
|
.post(this._serviceUri + '/login2', {
|
|
@@ -2507,7 +2506,7 @@ class ClipperService {
|
|
|
2507
2506
|
/**
|
|
2508
2507
|
* Retrieve the taxonomy
|
|
2509
2508
|
*/
|
|
2510
|
-
getTaxonomy(params =
|
|
2509
|
+
getTaxonomy(params = undefined) {
|
|
2511
2510
|
return this.httpClient.post(this._serviceUri + '/taxonomy', params ?? { model: 0, countItems: false });
|
|
2512
2511
|
}
|
|
2513
2512
|
/**
|
|
@@ -2928,7 +2927,7 @@ class ClipperService {
|
|
|
2928
2927
|
* @param id: the folder id or null to export all folders
|
|
2929
2928
|
* @param teamId: the optional team id. Default null (personal)
|
|
2930
2929
|
*/
|
|
2931
|
-
exportArchiveFolders(id =
|
|
2930
|
+
exportArchiveFolders(id = undefined, teamId = undefined) {
|
|
2932
2931
|
let url = this._serviceUri + '/archive/export/?';
|
|
2933
2932
|
if (id) {
|
|
2934
2933
|
url += 'id=' + id;
|
|
@@ -3046,7 +3045,7 @@ class ClipperService {
|
|
|
3046
3045
|
* @param id : the binary id to download
|
|
3047
3046
|
* @param otp : the optional one time password
|
|
3048
3047
|
*/
|
|
3049
|
-
downloadArchiveFile(id, otp =
|
|
3048
|
+
downloadArchiveFile(id, otp = undefined) {
|
|
3050
3049
|
return this.httpClient.get(this._serviceUri + '/archive/files/download/?id=' + id + '&otp=' + (otp ?? ''), { responseType: 'blob' });
|
|
3051
3050
|
}
|
|
3052
3051
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
@@ -3128,7 +3127,7 @@ class ClipperAuthInterceptor {
|
|
|
3128
3127
|
* @param request : the request
|
|
3129
3128
|
* @param token: the token or null to use curre3nt
|
|
3130
3129
|
*/
|
|
3131
|
-
addTokenToRequest(request, token =
|
|
3130
|
+
addTokenToRequest(request, token = undefined) {
|
|
3132
3131
|
if (request.url.startsWith(this.clipperService.serviceUri)) {
|
|
3133
3132
|
if (this.clipperService.loggedIn()) {
|
|
3134
3133
|
if (!token)
|