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