@pisell/private-materials 3.0.137 → 3.0.139

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.
@@ -142,6 +142,9 @@ var Single = function Single(_ref) {
142
142
  */
143
143
  var renderItem = useCallback(function (fieldData) {
144
144
  var _fields = form.field || [];
145
+ _fields = _fields.filter(function (item) {
146
+ return item.status !== 'hide';
147
+ });
145
148
  return /*#__PURE__*/React.createElement(CollapsibleList, {
146
149
  list: _fields,
147
150
  renderItem: function renderItem(field) {
@@ -229,7 +229,7 @@ var header = function header(_ref) {
229
229
  key: 'booking_checkout',
230
230
  data: {
231
231
  order_id: state.bookingId,
232
- callbackType: "pisell2"
232
+ callbackType: 'pisell2'
233
233
  }
234
234
  }));
235
235
  case 2:
@@ -383,7 +383,7 @@ var header = function header(_ref) {
383
383
  open: false
384
384
  });
385
385
  }
386
- }, locales.getText('pisell2.text.status.cancelled')), /*#__PURE__*/React.createElement(Button, {
386
+ }, locales.getText('page.booking.text.go-back')), /*#__PURE__*/React.createElement(Button, {
387
387
  className: "go-payments-footer-btn",
388
388
  type: "primary",
389
389
  size: "large",
@@ -118,6 +118,7 @@ var Single = ({
118
118
  const renderItem = (0, import_react.useCallback)(
119
119
  (fieldData) => {
120
120
  let _fields = form.field || [];
121
+ _fields = _fields.filter((item) => item.status !== "hide");
121
122
  return /* @__PURE__ */ import_react.default.createElement(
122
123
  import_collapsibleList.default,
123
124
  {
@@ -218,7 +218,7 @@ var header = ({ state, dispatch }) => {
218
218
  setModalContentState({ open: false });
219
219
  }
220
220
  },
221
- import_utils.locales.getText("pisell2.text.status.cancelled")
221
+ import_utils.locales.getText("page.booking.text.go-back")
222
222
  ), /* @__PURE__ */ import_react.default.createElement(
223
223
  import_antd.Button,
224
224
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.0.137",
3
+ "version": "3.0.139",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,10 +59,10 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
- "@pisell/utils": "1.0.42",
63
- "@pisell/date-picker": "1.0.100",
64
62
  "@pisell/materials": "3.0.47",
65
- "@pisell/icon": "0.0.11"
63
+ "@pisell/icon": "0.0.11",
64
+ "@pisell/utils": "1.0.42",
65
+ "@pisell/date-picker": "1.0.100"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",