@idsoftsource/initial-process 3.6.4 → 3.6.5
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.
|
@@ -4332,7 +4332,6 @@ class PreviewComponent {
|
|
|
4332
4332
|
pageSize: 100,
|
|
4333
4333
|
filter: `forUser=${this.resolvedForUser}`,
|
|
4334
4334
|
targetUserId: this.effectiveTargetUserId,
|
|
4335
|
-
targetProviderId: this.effectiveTargetProviderId ?? undefined,
|
|
4336
4335
|
orderBy,
|
|
4337
4336
|
};
|
|
4338
4337
|
}
|
|
@@ -4610,7 +4609,6 @@ class PreviewComponent {
|
|
|
4610
4609
|
orderBy: 'createdDateTime asc',
|
|
4611
4610
|
filter: `mainType=${MainDocumentType.Certificate}`,
|
|
4612
4611
|
targetUserId: this.effectiveTargetUserId,
|
|
4613
|
-
targetProviderId: this.effectiveTargetProviderId ?? undefined,
|
|
4614
4612
|
};
|
|
4615
4613
|
const res = await firstValueFrom(this.userDocumentService.getUserDocument(query));
|
|
4616
4614
|
const saved = Array.isArray(res?.data) ? res.data : [];
|
|
@@ -4634,7 +4632,6 @@ class PreviewComponent {
|
|
|
4634
4632
|
orderBy: 'createdDateTime asc',
|
|
4635
4633
|
filter: `mainType=${MainDocumentType.License}`,
|
|
4636
4634
|
targetUserId: this.effectiveTargetUserId,
|
|
4637
|
-
targetProviderId: this.effectiveTargetProviderId ?? undefined,
|
|
4638
4635
|
};
|
|
4639
4636
|
const res = await firstValueFrom(this.userDocumentService
|
|
4640
4637
|
.getUserDocument(query));
|
|
@@ -4754,7 +4751,6 @@ class PreviewComponent {
|
|
|
4754
4751
|
orderBy: 'createdDateTime asc',
|
|
4755
4752
|
filter: `mainType=${MainDocumentType.Certificate}`,
|
|
4756
4753
|
targetUserId: this.effectiveTargetUserId,
|
|
4757
|
-
targetProviderId: this.effectiveTargetProviderId ?? undefined,
|
|
4758
4754
|
})),
|
|
4759
4755
|
firstValueFrom(this.userDocumentService.getUserDocument({
|
|
4760
4756
|
page: 1,
|
|
@@ -4762,7 +4758,6 @@ class PreviewComponent {
|
|
|
4762
4758
|
orderBy: 'createdDateTime asc',
|
|
4763
4759
|
filter: `mainType=${MainDocumentType.License}`,
|
|
4764
4760
|
targetUserId: this.effectiveTargetUserId,
|
|
4765
|
-
targetProviderId: this.effectiveTargetProviderId ?? undefined,
|
|
4766
4761
|
})),
|
|
4767
4762
|
firstValueFrom(this.userSkillSetService.getUserSkillSet(this.buildSectionQuery('skillSetName asc', /* includeForUser */ false))),
|
|
4768
4763
|
firstValueFrom(this.userToolService.getUserTool(this.buildSectionQuery('toolName asc', /* includeForUser */ false))),
|
|
@@ -7842,13 +7837,12 @@ class CertificationStore {
|
|
|
7842
7837
|
constructor(userDocumentService) {
|
|
7843
7838
|
this.userDocumentService = userDocumentService;
|
|
7844
7839
|
}
|
|
7845
|
-
loadFromApi(userId
|
|
7840
|
+
loadFromApi(userId) {
|
|
7846
7841
|
const query = {
|
|
7847
7842
|
page: 1,
|
|
7848
7843
|
pageSize: 10,
|
|
7849
7844
|
orderBy: 'createdDateTime asc',
|
|
7850
7845
|
filter: `mainType=${MainDocumentType.Certificate}`,
|
|
7851
|
-
targetProviderId,
|
|
7852
7846
|
};
|
|
7853
7847
|
this.userDocumentService
|
|
7854
7848
|
.getUserDocument(query)
|
|
@@ -7887,13 +7881,12 @@ class LicenseStore {
|
|
|
7887
7881
|
constructor(userDocumentService) {
|
|
7888
7882
|
this.userDocumentService = userDocumentService;
|
|
7889
7883
|
}
|
|
7890
|
-
loadFromApi(userId
|
|
7884
|
+
loadFromApi(userId) {
|
|
7891
7885
|
const query = {
|
|
7892
7886
|
page: 1,
|
|
7893
7887
|
pageSize: 10,
|
|
7894
7888
|
orderBy: 'createdDateTime asc',
|
|
7895
7889
|
filter: `mainType=${MainDocumentType.License}`,
|
|
7896
|
-
targetProviderId,
|
|
7897
7890
|
};
|
|
7898
7891
|
this.userDocumentService
|
|
7899
7892
|
.getUserDocument(query)
|
|
@@ -9063,7 +9056,7 @@ class CertificationComponent {
|
|
|
9063
9056
|
this.userdata = saved;
|
|
9064
9057
|
console.log(this.userdata);
|
|
9065
9058
|
this.userId = this.roleContextService?.tempUserContext()?.userId ?? await this.tokenService.getUserId();
|
|
9066
|
-
this.workStore.loadFromApi(this.userId
|
|
9059
|
+
this.workStore.loadFromApi(this.userId);
|
|
9067
9060
|
this.loadDocumentTypesDefault();
|
|
9068
9061
|
this.loadUserProfessionOptions();
|
|
9069
9062
|
this.loadProfessionTaxonomy();
|
|
@@ -9128,7 +9121,6 @@ class CertificationComponent {
|
|
|
9128
9121
|
pageSize: 100,
|
|
9129
9122
|
filter: `forUser=${this.resolvedForUser}`,
|
|
9130
9123
|
targetUserId: this.userId,
|
|
9131
|
-
targetProviderId: this.providerId,
|
|
9132
9124
|
orderBy: 'professionName asc',
|
|
9133
9125
|
}));
|
|
9134
9126
|
const saved = Array.isArray(refreshed?.data) ? refreshed.data : [];
|
|
@@ -9161,7 +9153,6 @@ class CertificationComponent {
|
|
|
9161
9153
|
pageSize: 100,
|
|
9162
9154
|
filter: `forUser=${this.resolvedForUser}`,
|
|
9163
9155
|
targetUserId: this.userId,
|
|
9164
|
-
targetProviderId: this.providerId,
|
|
9165
9156
|
orderBy: 'professionName asc',
|
|
9166
9157
|
}).subscribe({
|
|
9167
9158
|
next: (res) => {
|
|
@@ -9335,7 +9326,7 @@ class CertificationComponent {
|
|
|
9335
9326
|
this.deletingIndex.set(index);
|
|
9336
9327
|
this.userDocumentService.bulkDelete([exp.id]).subscribe({
|
|
9337
9328
|
next: () => {
|
|
9338
|
-
this.workStore.loadFromApi(this.userId
|
|
9329
|
+
this.workStore.loadFromApi(this.userId);
|
|
9339
9330
|
this.certificateForm.reset();
|
|
9340
9331
|
this.showedit = false;
|
|
9341
9332
|
this.isEditing.set(false);
|
|
@@ -9491,7 +9482,7 @@ class CertificationComponent {
|
|
|
9491
9482
|
this.proposalLoader = false;
|
|
9492
9483
|
return;
|
|
9493
9484
|
}
|
|
9494
|
-
this.workStore.loadFromApi(this.userId
|
|
9485
|
+
this.workStore.loadFromApi(this.userId);
|
|
9495
9486
|
this.triggerSuccess();
|
|
9496
9487
|
this.isEditing.set(false);
|
|
9497
9488
|
this.editingIndex = -1;
|
|
@@ -9516,7 +9507,7 @@ class CertificationComponent {
|
|
|
9516
9507
|
this.proposalLoader = false;
|
|
9517
9508
|
return;
|
|
9518
9509
|
}
|
|
9519
|
-
this.workStore.loadFromApi(this.userId
|
|
9510
|
+
this.workStore.loadFromApi(this.userId);
|
|
9520
9511
|
this.triggerSuccess();
|
|
9521
9512
|
this.isEditing.set(false);
|
|
9522
9513
|
this.proposalLoader = false;
|
|
@@ -10100,7 +10091,6 @@ class SkillsComponent {
|
|
|
10100
10091
|
pageSize: 100,
|
|
10101
10092
|
filter: `forUser=${this.resolvedForUser}`,
|
|
10102
10093
|
targetUserId: this.userId,
|
|
10103
|
-
targetProviderId: this.providerId,
|
|
10104
10094
|
orderBy: 'professionName asc',
|
|
10105
10095
|
}).subscribe({
|
|
10106
10096
|
next: (res) => {
|
|
@@ -10735,7 +10725,7 @@ class LicensesComponent {
|
|
|
10735
10725
|
this.userdata = saved;
|
|
10736
10726
|
console.log(this.userdata);
|
|
10737
10727
|
this.userId = this.roleContextService?.tempUserContext()?.userId ?? await this.tokenService.getUserId();
|
|
10738
|
-
this.workStore.loadFromApi(this.userId
|
|
10728
|
+
this.workStore.loadFromApi(this.userId);
|
|
10739
10729
|
this.loadDocumentTypesDefault();
|
|
10740
10730
|
}
|
|
10741
10731
|
loadDocumentTypes(searchText = '') {
|
|
@@ -10856,7 +10846,7 @@ class LicensesComponent {
|
|
|
10856
10846
|
this.deletingIndex.set(index);
|
|
10857
10847
|
this.userDocumentService.bulkDelete([exp.id]).subscribe({
|
|
10858
10848
|
next: () => {
|
|
10859
|
-
this.workStore.loadFromApi(this.userId
|
|
10849
|
+
this.workStore.loadFromApi(this.userId);
|
|
10860
10850
|
this.certificateForm.reset();
|
|
10861
10851
|
this.showedit = false;
|
|
10862
10852
|
this.isEditing.set(false);
|
|
@@ -11013,7 +11003,7 @@ class LicensesComponent {
|
|
|
11013
11003
|
this.proposalLoader = false;
|
|
11014
11004
|
return;
|
|
11015
11005
|
}
|
|
11016
|
-
this.workStore.loadFromApi(this.userId
|
|
11006
|
+
this.workStore.loadFromApi(this.userId);
|
|
11017
11007
|
this.triggerSuccess();
|
|
11018
11008
|
this.isEditing.set(false);
|
|
11019
11009
|
this.editingIndex = -1;
|
|
@@ -11038,7 +11028,7 @@ class LicensesComponent {
|
|
|
11038
11028
|
this.proposalLoader = false;
|
|
11039
11029
|
return;
|
|
11040
11030
|
}
|
|
11041
|
-
this.workStore.loadFromApi(this.userId
|
|
11031
|
+
this.workStore.loadFromApi(this.userId);
|
|
11042
11032
|
this.triggerSuccess();
|
|
11043
11033
|
this.isEditing.set(false);
|
|
11044
11034
|
this.proposalLoader = false;
|
|
@@ -11270,7 +11260,6 @@ class ToolsComponent {
|
|
|
11270
11260
|
pageSize: 100,
|
|
11271
11261
|
filter: `forUser=${this.resolvedForUser}`,
|
|
11272
11262
|
targetUserId: this.userId,
|
|
11273
|
-
targetProviderId: this.providerId,
|
|
11274
11263
|
orderBy: 'professionName asc',
|
|
11275
11264
|
}).subscribe({
|
|
11276
11265
|
next: (res) => {
|
|
@@ -36180,7 +36169,6 @@ class ProfessionComponent {
|
|
|
36180
36169
|
pageSize: 100,
|
|
36181
36170
|
filter: `forUser=${this.resolvedForUser}`,
|
|
36182
36171
|
targetUserId: this.userId,
|
|
36183
|
-
targetProviderId: this.providerId,
|
|
36184
36172
|
orderBy,
|
|
36185
36173
|
};
|
|
36186
36174
|
}
|