@pisell/private-materials 3.3.11 → 3.3.13

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.
@@ -165,23 +165,20 @@ var Resource = /*#__PURE__*/forwardRef(function (props, ref) {
165
165
  isSkip: skipResourceStep
166
166
  });
167
167
  if (!skipResourceStep) {
168
- _context2.next = 13;
168
+ _context2.next = 12;
169
169
  break;
170
170
  }
171
- if (isLogin) {
172
- appointmentBooking.next();
173
- }
174
171
  return _context2.abrupt("return", true);
175
- case 13:
172
+ case 12:
176
173
  return _context2.abrupt("return", false);
177
- case 16:
178
- _context2.prev = 16;
174
+ case 15:
175
+ _context2.prev = 15;
179
176
  _context2.t0 = _context2["catch"](0);
180
- case 18:
177
+ case 17:
181
178
  case "end":
182
179
  return _context2.stop();
183
180
  }
184
- }, _callee2, null, [[0, 16]]);
181
+ }, _callee2, null, [[0, 15]]);
185
182
  }));
186
183
  return function checkAndSkipResourceStep() {
187
184
  return _ref.apply(this, arguments);
@@ -436,6 +436,8 @@ export var checkHasFormStep = function checkHasFormStep(_ref2) {
436
436
  }
437
437
  });
438
438
  return true;
439
+ } else {
440
+ appointmentBooking.next();
439
441
  }
440
442
  var result = checkHolder({
441
443
  isFormSubject: isFormSubject,
@@ -125,9 +125,6 @@ var Resource = (0, import_react.forwardRef)((props, ref) => {
125
125
  isSkip: skipResourceStep
126
126
  });
127
127
  if (skipResourceStep) {
128
- if (isLogin) {
129
- appointmentBooking.next();
130
- }
131
128
  return true;
132
129
  }
133
130
  return false;
@@ -314,6 +314,8 @@ var checkHasFormStep = ({ isSkip, checkHolder, checkAccount, carts, setCarts, ha
314
314
  }
315
315
  });
316
316
  return true;
317
+ } else {
318
+ appointmentBooking.next();
317
319
  }
318
320
  const result = checkHolder({
319
321
  isFormSubject,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.3.11",
3
+ "version": "3.3.13",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -60,9 +60,9 @@
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
62
  "@pisell/utils": "1.0.42",
63
- "@pisell/icon": "0.0.11",
63
+ "@pisell/materials": "3.3.5",
64
64
  "@pisell/date-picker": "3.0.2",
65
- "@pisell/materials": "3.3.5"
65
+ "@pisell/icon": "0.0.11"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",