wt-front-shared 19.0.8 → 19.0.10

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.
@@ -1843,7 +1843,6 @@ class Behavior {
1843
1843
  }
1844
1844
  }
1845
1845
 
1846
- ;
1847
1846
  class LoginSendBehavior extends Behavior {
1848
1847
  constructor(action, result) {
1849
1848
  super(action);
@@ -1853,6 +1852,7 @@ class LoginSendBehavior extends Behavior {
1853
1852
  resolve() {
1854
1853
  const status = this.result.data.status;
1855
1854
  let returnedActions;
1855
+ console.log('LoginSendBehavior', this.result.data);
1856
1856
  switch (status) {
1857
1857
  case ResponseStatus.STATUS_200: {
1858
1858
  const response = this.result.data;
@@ -1982,7 +1982,6 @@ class BaseAPIService {
1982
1982
  );
1983
1983
  }*/
1984
1984
  doRequest(paramsConfig, endPoint) {
1985
- console.log('doRequest', paramsConfig);
1986
1985
  const itemId = paramsConfig?.id || paramsConfig?.itemId || paramsConfig?.where?.slug;
1987
1986
  const formId = paramsConfig?.formId;
1988
1987
  const request = this.api.createRequest(paramsConfig, endPoint);
@@ -2022,16 +2021,6 @@ class BaseAPIService {
2022
2021
  }
2023
2022
  });
2024
2023
  }
2025
- console.log('base-api.updateRequestData', {
2026
- endPointUrl,
2027
- itemId,
2028
- secondEndPointUrl,
2029
- formId: response?.body?.meta?.formId || formId,
2030
- method: params.httpMethod,
2031
- status: this.statuses.LOADED,
2032
- data: response?.body?.data,
2033
- subRouting
2034
- });
2035
2024
  this.requestsFacade.updateRequestData({
2036
2025
  endPointUrl,
2037
2026
  itemId,
@@ -2498,8 +2487,6 @@ class RequestsFacade {
2498
2487
  this.store.dispatch(CreateRequestListenerByFormId({ payload: { formId } }));
2499
2488
  }
2500
2489
  updateRequestData(payload) {
2501
- console.log('request.updateRequestData', payload);
2502
- console.log('request.updateRequestData.formId', payload.formId);
2503
2490
  this.store.dispatch(UpdateRequestData({
2504
2491
  payload: {
2505
2492
  url: payload.url,
@@ -3037,6 +3024,7 @@ class UsersEffects {
3037
3024
  password,
3038
3025
  formId
3039
3026
  };
3027
+ console.log('config', config);
3040
3028
  return this.usersService.loginSend(config)
3041
3029
  .pipe(flatMap((r) => new LoginSendBehavior(action, r).resolve()));
3042
3030
  }), catchError(error => of(LoginSendFail(error)))));