wt-front-shared 1.0.56 → 1.0.57
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/esm2020/lib/core/+state/requests/requests.actions.mjs +1 -1
- package/esm2020/lib/core/+state/requests/requests.reducer.mjs +3 -3
- package/esm2020/lib/core/components/site-helper/site-helper.component.mjs +1 -5
- package/esm2020/lib/core/services/reducer/reducer.service.mjs +1 -1
- package/esm2020/lib/models/models/request.model.mjs +1 -1
- package/fesm2015/wt-front-shared.mjs +2 -6
- package/fesm2015/wt-front-shared.mjs.map +1 -1
- package/fesm2020/wt-front-shared.mjs +2 -6
- package/fesm2020/wt-front-shared.mjs.map +1 -1
- package/lib/core/+state/requests/requests.actions.d.ts +3 -3
- package/lib/core/services/reducer/reducer.service.d.ts +26 -24
- package/lib/models/models/request.model.d.ts +0 -2
- package/package.json +1 -1
|
@@ -2253,7 +2253,7 @@ const _requestsStateReducer = createReducer(initialState$f, on(CreateRequestList
|
|
|
2253
2253
|
};
|
|
2254
2254
|
}
|
|
2255
2255
|
}), on(UpdateRequestData, (state, action) => {
|
|
2256
|
-
const { endPointUrl, secondEndPointUrl, status, error, itemId, method,
|
|
2256
|
+
const { endPointUrl, secondEndPointUrl, status, error, itemId, method, data } = action.payload;
|
|
2257
2257
|
const ids = getRequestIdVariants(endPointUrl, action.payload?.itemId, method, secondEndPointUrl);
|
|
2258
2258
|
let existsId = getExistId(state.ids, ids);
|
|
2259
2259
|
if (existsId) {
|
|
@@ -2265,7 +2265,7 @@ const _requestsStateReducer = createReducer(initialState$f, on(CreateRequestList
|
|
|
2265
2265
|
itemId,
|
|
2266
2266
|
status,
|
|
2267
2267
|
error,
|
|
2268
|
-
data:
|
|
2268
|
+
data: { ...data }
|
|
2269
2269
|
})
|
|
2270
2270
|
};
|
|
2271
2271
|
}
|
|
@@ -10238,7 +10238,6 @@ class SiteHelperComponent {
|
|
|
10238
10238
|
}
|
|
10239
10239
|
}
|
|
10240
10240
|
runSiteHelper(configuration) {
|
|
10241
|
-
console.log('runSiteHelper', this.siteHelperRunning, configuration);
|
|
10242
10241
|
this.stopSiteTour();
|
|
10243
10242
|
if (this.siteHelperRunning) {
|
|
10244
10243
|
this.activeConfigStep = -1;
|
|
@@ -10248,10 +10247,8 @@ class SiteHelperComponent {
|
|
|
10248
10247
|
else if (this.configurations[this.pageUrl]) {
|
|
10249
10248
|
const helperKey = `url-${this.pageUrl}`;
|
|
10250
10249
|
const cookieKey = this.getCookieKey(helperKey);
|
|
10251
|
-
console.log('helperKey', helperKey, cookieKey);
|
|
10252
10250
|
if (!this.cookieService.get(cookieKey)) {
|
|
10253
10251
|
this.currentSiteHelperKey = `url-${this.pageUrl}`;
|
|
10254
|
-
console.log('this.currentSiteHelperKey', this.currentSiteHelperKey);
|
|
10255
10252
|
this.currentSiteHelperConfiguration = this.configurations[this.pageUrl];
|
|
10256
10253
|
}
|
|
10257
10254
|
}
|
|
@@ -10261,7 +10258,6 @@ class SiteHelperComponent {
|
|
|
10261
10258
|
}
|
|
10262
10259
|
}
|
|
10263
10260
|
async runSiteHelperNextStep() {
|
|
10264
|
-
console.log('runSiteHelperNextStep');
|
|
10265
10261
|
if (!this.siteHelperRunning) {
|
|
10266
10262
|
return;
|
|
10267
10263
|
}
|