@bonlineza/luxity-lib 2.39.9 → 2.40.1

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.
@@ -9797,12 +9797,10 @@
9797
9797
 
9798
9798
  var _data$data$user = data.data.user,
9799
9799
  email_interest_send_schedule = _data$data$user.email_interest_send_schedule,
9800
- whatsapp_interest_send_schedule = _data$data$user.whatsapp_interest_send_schedule,
9801
- can_receive_whatsapp_interest_notifications = _data$data$user.can_receive_whatsapp_interest_notifications;
9800
+ whatsapp_interest_send_schedule = _data$data$user.whatsapp_interest_send_schedule;
9802
9801
 
9803
9802
  _this.setState({
9804
9803
  options: options,
9805
- canReceiveWhatsAppNotifications: !!can_receive_whatsapp_interest_notifications,
9806
9804
  emailSelectedOption: options.find(function (item) {
9807
9805
  return item.value === email_interest_send_schedule;
9808
9806
  }),
@@ -9817,16 +9815,15 @@
9817
9815
  options = _this$state.options,
9818
9816
  emailSelectedOption = _this$state.emailSelectedOption,
9819
9817
  whatsappSelectedOption = _this$state.whatsappSelectedOption,
9820
- canReceiveWhatsAppNotifications = _this$state.canReceiveWhatsAppNotifications,
9821
9818
  updating = _this$state.request.fetching;
9822
9819
  return /*#__PURE__*/React__default.createElement(NotifyContainer, null, /*#__PURE__*/React__default.createElement(LuxityNotifications, null), /*#__PURE__*/React__default.createElement(LuxityPageReady, {
9823
9820
  getRequestPromise: _this.props.getSchedule,
9824
9821
  onData: function onData(data) {
9825
9822
  return _this.onData(data);
9826
9823
  }
9827
- }, /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
9824
+ }, /*#__PURE__*/React__default.createElement("div", {
9828
9825
  className: "notification-settings"
9829
- }, canReceiveWhatsAppNotifications && /*#__PURE__*/React__default.createElement("div", {
9826
+ }, /*#__PURE__*/React__default.createElement("div", {
9830
9827
  className: "notification-row-wrapper"
9831
9828
  }, /*#__PURE__*/React__default.createElement("div", {
9832
9829
  className: "notification-dropdown-label"
@@ -9864,14 +9861,13 @@
9864
9861
  return _this.postUpdate(option, 'EMAIL');
9865
9862
  },
9866
9863
  value: emailSelectedOption
9867
- }))))));
9864
+ })))));
9868
9865
  });
9869
9866
 
9870
9867
  _this.state = {
9871
9868
  options: [],
9872
9869
  emailSelectedOption: null,
9873
9870
  whatsappSelectedOption: null,
9874
- canReceiveWhatsAppNotifications: false,
9875
9871
  request: _objectSpread2({}, request)
9876
9872
  };
9877
9873
  return _this;
@@ -10134,11 +10130,13 @@
10134
10130
  className = _ref.className,
10135
10131
  title = _ref.title,
10136
10132
  searchPlaceHolder = _ref.searchPlaceHolder,
10137
- onSearchChanged = _ref.onSearchChanged;
10133
+ onSearchChanged = _ref.onSearchChanged,
10134
+ _ref$searchable = _ref.searchable,
10135
+ searchable = _ref$searchable === void 0 ? true : _ref$searchable;
10138
10136
  return /*#__PURE__*/React__default.createElement(InterestsSubheading, {
10139
10137
  className: "".concat(className, " ").concat(baseClass, "__title"),
10140
10138
  title: title
10141
- }, /*#__PURE__*/React__default.createElement("div", {
10139
+ }, searchable && /*#__PURE__*/React__default.createElement("div", {
10142
10140
  className: "title__search"
10143
10141
  }, /*#__PURE__*/React__default.createElement(Search, null), /*#__PURE__*/React__default.createElement("input", {
10144
10142
  placeholder: searchPlaceHolder,
@@ -10222,6 +10220,7 @@
10222
10220
  resultProcessor = _this$props.resultProcessor,
10223
10221
  itemRenderer = _this$props.itemRenderer,
10224
10222
  searchPlaceHolder = _this$props.searchPlaceHolder,
10223
+ searchable = _this$props.searchable,
10225
10224
  graphApi = _this$props.graphApi,
10226
10225
  identifier = _this$props.identifier,
10227
10226
  requestInstance = _this$props.requestInstance;
@@ -10231,6 +10230,7 @@
10231
10230
  title: title,
10232
10231
  baseClass: baseClass,
10233
10232
  searchPlaceHolder: searchPlaceHolder,
10233
+ searchable: searchable,
10234
10234
  onSearchChanged: _this.onSearchChanged
10235
10235
  }), /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(GraphQLMultiSelector$1, {
10236
10236
  triggerRequest: function triggerRequest() {
@@ -10284,6 +10284,7 @@
10284
10284
  LuxityGraphQLMultiselector.defaultProps = {
10285
10285
  baseClass: '',
10286
10286
  searchPlaceHolder: '',
10287
+ searchable: true,
10287
10288
  queryLimitIncrement: 12,
10288
10289
  baseQueryLimit: 12
10289
10290
  };
@@ -10379,6 +10380,48 @@
10379
10380
  }
10380
10381
  };
10381
10382
 
10383
+ var ApparelSizeSelector = function ApparelSizeSelector(_ref) {
10384
+ var onChange = _ref.onChange,
10385
+ category = _ref.category,
10386
+ graphApi = _ref.graphApi,
10387
+ itemRenderer = _ref.itemRenderer,
10388
+ getGraphQuery = _ref.getGraphQuery,
10389
+ resultProcessor = _ref.resultProcessor,
10390
+ requestInstance = _ref.requestInstance;
10391
+ return /*#__PURE__*/React__default.createElement(LuxityGraphQLMultiselector, {
10392
+ title: "Sizes",
10393
+ queryId: "getApparelSizes",
10394
+ baseQueryLimit: 16,
10395
+ baseClass: "apparel-size-selector",
10396
+ identifier: "apparel-size-selector",
10397
+ searchable: false,
10398
+ category: category,
10399
+ onChange: onChange,
10400
+ graphApi: graphApi,
10401
+ itemRenderer: itemRenderer,
10402
+ getGraphQuery: getGraphQuery,
10403
+ resultProcessor: resultProcessor,
10404
+ requestInstance: requestInstance
10405
+ });
10406
+ };
10407
+
10408
+ ApparelSizeSelector.defaultProps = {
10409
+ itemRenderer: ItemRenderer,
10410
+ resultProcessor: function resultProcessor(result) {
10411
+ return {
10412
+ data: (result.data.data.luxity_universal_apparel_size_list || []).map(function (_ref2) {
10413
+ var id = _ref2.id,
10414
+ size = _ref2.size;
10415
+ return {
10416
+ id: id,
10417
+ name: size
10418
+ };
10419
+ }),
10420
+ has_more_pages: false
10421
+ };
10422
+ }
10423
+ };
10424
+
10382
10425
  var shoeSizeTypes = {
10383
10426
  uk: {
10384
10427
  label: 'UK',
@@ -10755,6 +10798,7 @@
10755
10798
  min_price: null,
10756
10799
  max_price: null,
10757
10800
  styles: [],
10801
+ apparel_sizes: [],
10758
10802
  gender: [],
10759
10803
  condition: [],
10760
10804
  request: _objectSpread2({}, request),
@@ -10784,7 +10828,8 @@
10784
10828
  _this.setState({
10785
10829
  category_type: categoryType,
10786
10830
  brands: [],
10787
- styles: []
10831
+ styles: [],
10832
+ apparel_sizes: []
10788
10833
  });
10789
10834
  });
10790
10835
 
@@ -10833,6 +10878,14 @@
10833
10878
  });
10834
10879
  });
10835
10880
 
10881
+ _defineProperty(_assertThisInitialized(_this), "onApparelSizesChanged", function (apparelSizesArray) {
10882
+ _this.setState({
10883
+ apparel_sizes: apparelSizesArray.map(function (apparelSize) {
10884
+ return apparelSize.id;
10885
+ })
10886
+ });
10887
+ });
10888
+
10836
10889
  _defineProperty(_assertThisInitialized(_this), "onConditionChanged", function (conditions) {
10837
10890
  _this.setState({
10838
10891
  condition: conditions.map(function (condition) {
@@ -10862,6 +10915,7 @@
10862
10915
  min_price = _this$state.min_price,
10863
10916
  max_price = _this$state.max_price,
10864
10917
  styles = _this$state.styles,
10918
+ apparel_sizes = _this$state.apparel_sizes,
10865
10919
  category_type = _this$state.category_type,
10866
10920
  requestState = _this$state.request,
10867
10921
  gender = _this$state.gender,
@@ -10887,8 +10941,11 @@
10887
10941
  max_shoe_size_id: max_shoe_size_id,
10888
10942
  shoe_size_type: shoe_size_type
10889
10943
  } : {};
10944
+ var apparelSizesPayload = category_type === interestCategories.APPAREL ? {
10945
+ apparel_sizes: apparel_sizes
10946
+ } : {};
10890
10947
 
10891
- var payload = _objectSpread2(_objectSpread2({}, basePayload), shoeSizesPayload);
10948
+ var payload = _objectSpread2(_objectSpread2(_objectSpread2({}, basePayload), shoeSizesPayload), apparelSizesPayload);
10892
10949
 
10893
10950
  simpleRequest(_this.props.requestInstance, _this.props.addInterestApi, method.POST, payload, function () {
10894
10951
  _this.setState({
@@ -10945,6 +11002,7 @@
10945
11002
  baseGraphApi = _this$props.baseGraphApi,
10946
11003
  getBrandsGraphQuery = _this$props.getBrandsGraphQuery,
10947
11004
  getStylesGraphQuery = _this$props.getStylesGraphQuery,
11005
+ getApparelSizesGraphQuery = _this$props.getApparelSizesGraphQuery,
10948
11006
  getShoesGraphQuery = _this$props.getShoesGraphQuery,
10949
11007
  defaultShoeSizeType = _this$props.defaultShoeSizeType,
10950
11008
  getConditionsGraphQuery = _this$props.getConditionsGraphQuery;
@@ -10976,6 +11034,12 @@
10976
11034
  requestInstance: requestInstance,
10977
11035
  graphApi: "".concat(baseGraphApi, "?id=getStyles"),
10978
11036
  getGraphQuery: getStylesGraphQuery
11037
+ }), category_type === interestCategories.APPAREL && /*#__PURE__*/React__default.createElement(ApparelSizeSelector, {
11038
+ category: category_type,
11039
+ onChange: _this.onApparelSizesChanged,
11040
+ requestInstance: requestInstance,
11041
+ graphApi: "".concat(baseGraphApi, "?id=getApparelSizes"),
11042
+ getGraphQuery: getApparelSizesGraphQuery
10979
11043
  }), /*#__PURE__*/React__default.createElement(ConditionSelector, {
10980
11044
  onChange: _this.onConditionChanged,
10981
11045
  requestInstance: requestInstance,
@@ -11794,6 +11858,7 @@
11794
11858
  baseGraphApi = _this$props2.baseGraphApi,
11795
11859
  getBrandsGraphQuery = _this$props2.getBrandsGraphQuery,
11796
11860
  getStylesGraphQuery = _this$props2.getStylesGraphQuery,
11861
+ getApparelSizesGraphQuery = _this$props2.getApparelSizesGraphQuery,
11797
11862
  getShoesGraphQuery = _this$props2.getShoesGraphQuery,
11798
11863
  deleteInterestApi = _this$props2.deleteInterestApi,
11799
11864
  setSchedule = _this$props2.setSchedule,
@@ -11848,6 +11913,7 @@
11848
11913
  baseGraphApi: baseGraphApi,
11849
11914
  getBrandsGraphQuery: getBrandsGraphQuery,
11850
11915
  getStylesGraphQuery: getStylesGraphQuery,
11916
+ getApparelSizesGraphQuery: getApparelSizesGraphQuery,
11851
11917
  getShoesGraphQuery: getShoesGraphQuery,
11852
11918
  defaultShoeSizeType: defaultShoeSizeType,
11853
11919
  addInterestTitle: "Category Interest",
@@ -737,11 +737,13 @@
737
737
  className = _ref.className,
738
738
  title = _ref.title,
739
739
  searchPlaceHolder = _ref.searchPlaceHolder,
740
- onSearchChanged = _ref.onSearchChanged;
740
+ onSearchChanged = _ref.onSearchChanged,
741
+ _ref$searchable = _ref.searchable,
742
+ searchable = _ref$searchable === void 0 ? true : _ref$searchable;
741
743
  return /*#__PURE__*/React__default.createElement(InterestsSubheading, {
742
744
  className: "".concat(className, " ").concat(baseClass, "__title"),
743
745
  title: title
744
- }, /*#__PURE__*/React__default.createElement("div", {
746
+ }, searchable && /*#__PURE__*/React__default.createElement("div", {
745
747
  className: "title__search"
746
748
  }, /*#__PURE__*/React__default.createElement(Search, null), /*#__PURE__*/React__default.createElement("input", {
747
749
  placeholder: searchPlaceHolder,
@@ -825,6 +827,7 @@
825
827
  resultProcessor = _this$props.resultProcessor,
826
828
  itemRenderer = _this$props.itemRenderer,
827
829
  searchPlaceHolder = _this$props.searchPlaceHolder,
830
+ searchable = _this$props.searchable,
828
831
  graphApi = _this$props.graphApi,
829
832
  identifier = _this$props.identifier,
830
833
  requestInstance = _this$props.requestInstance;
@@ -834,6 +837,7 @@
834
837
  title: title,
835
838
  baseClass: baseClass,
836
839
  searchPlaceHolder: searchPlaceHolder,
840
+ searchable: searchable,
837
841
  onSearchChanged: _this.onSearchChanged
838
842
  }), /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(GraphQLMultiSelector$1, {
839
843
  triggerRequest: function triggerRequest() {
@@ -887,6 +891,7 @@
887
891
  LuxityGraphQLMultiselector.defaultProps = {
888
892
  baseClass: '',
889
893
  searchPlaceHolder: '',
894
+ searchable: true,
890
895
  queryLimitIncrement: 12,
891
896
  baseQueryLimit: 12
892
897
  };
@@ -9797,12 +9797,10 @@
9797
9797
 
9798
9798
  var _data$data$user = data.data.user,
9799
9799
  email_interest_send_schedule = _data$data$user.email_interest_send_schedule,
9800
- whatsapp_interest_send_schedule = _data$data$user.whatsapp_interest_send_schedule,
9801
- can_receive_whatsapp_interest_notifications = _data$data$user.can_receive_whatsapp_interest_notifications;
9800
+ whatsapp_interest_send_schedule = _data$data$user.whatsapp_interest_send_schedule;
9802
9801
 
9803
9802
  _this.setState({
9804
9803
  options: options,
9805
- canReceiveWhatsAppNotifications: !!can_receive_whatsapp_interest_notifications,
9806
9804
  emailSelectedOption: options.find(function (item) {
9807
9805
  return item.value === email_interest_send_schedule;
9808
9806
  }),
@@ -9817,16 +9815,15 @@
9817
9815
  options = _this$state.options,
9818
9816
  emailSelectedOption = _this$state.emailSelectedOption,
9819
9817
  whatsappSelectedOption = _this$state.whatsappSelectedOption,
9820
- canReceiveWhatsAppNotifications = _this$state.canReceiveWhatsAppNotifications,
9821
9818
  updating = _this$state.request.fetching;
9822
9819
  return /*#__PURE__*/React__default.createElement(NotifyContainer, null, /*#__PURE__*/React__default.createElement(LuxityNotifications, null), /*#__PURE__*/React__default.createElement(LuxityPageReady, {
9823
9820
  getRequestPromise: _this.props.getSchedule,
9824
9821
  onData: function onData(data) {
9825
9822
  return _this.onData(data);
9826
9823
  }
9827
- }, /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
9824
+ }, /*#__PURE__*/React__default.createElement("div", {
9828
9825
  className: "notification-settings"
9829
- }, canReceiveWhatsAppNotifications && /*#__PURE__*/React__default.createElement("div", {
9826
+ }, /*#__PURE__*/React__default.createElement("div", {
9830
9827
  className: "notification-row-wrapper"
9831
9828
  }, /*#__PURE__*/React__default.createElement("div", {
9832
9829
  className: "notification-dropdown-label"
@@ -9864,14 +9861,13 @@
9864
9861
  return _this.postUpdate(option, 'EMAIL');
9865
9862
  },
9866
9863
  value: emailSelectedOption
9867
- }))))));
9864
+ })))));
9868
9865
  });
9869
9866
 
9870
9867
  _this.state = {
9871
9868
  options: [],
9872
9869
  emailSelectedOption: null,
9873
9870
  whatsappSelectedOption: null,
9874
- canReceiveWhatsAppNotifications: false,
9875
9871
  request: _objectSpread2({}, request)
9876
9872
  };
9877
9873
  return _this;
@@ -10134,11 +10130,13 @@
10134
10130
  className = _ref.className,
10135
10131
  title = _ref.title,
10136
10132
  searchPlaceHolder = _ref.searchPlaceHolder,
10137
- onSearchChanged = _ref.onSearchChanged;
10133
+ onSearchChanged = _ref.onSearchChanged,
10134
+ _ref$searchable = _ref.searchable,
10135
+ searchable = _ref$searchable === void 0 ? true : _ref$searchable;
10138
10136
  return /*#__PURE__*/React__default.createElement(InterestsSubheading, {
10139
10137
  className: "".concat(className, " ").concat(baseClass, "__title"),
10140
10138
  title: title
10141
- }, /*#__PURE__*/React__default.createElement("div", {
10139
+ }, searchable && /*#__PURE__*/React__default.createElement("div", {
10142
10140
  className: "title__search"
10143
10141
  }, /*#__PURE__*/React__default.createElement(Search, null), /*#__PURE__*/React__default.createElement("input", {
10144
10142
  placeholder: searchPlaceHolder,
@@ -10222,6 +10220,7 @@
10222
10220
  resultProcessor = _this$props.resultProcessor,
10223
10221
  itemRenderer = _this$props.itemRenderer,
10224
10222
  searchPlaceHolder = _this$props.searchPlaceHolder,
10223
+ searchable = _this$props.searchable,
10225
10224
  graphApi = _this$props.graphApi,
10226
10225
  identifier = _this$props.identifier,
10227
10226
  requestInstance = _this$props.requestInstance;
@@ -10231,6 +10230,7 @@
10231
10230
  title: title,
10232
10231
  baseClass: baseClass,
10233
10232
  searchPlaceHolder: searchPlaceHolder,
10233
+ searchable: searchable,
10234
10234
  onSearchChanged: _this.onSearchChanged
10235
10235
  }), /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(GraphQLMultiSelector$1, {
10236
10236
  triggerRequest: function triggerRequest() {
@@ -10284,6 +10284,7 @@
10284
10284
  LuxityGraphQLMultiselector.defaultProps = {
10285
10285
  baseClass: '',
10286
10286
  searchPlaceHolder: '',
10287
+ searchable: true,
10287
10288
  queryLimitIncrement: 12,
10288
10289
  baseQueryLimit: 12
10289
10290
  };
@@ -10379,6 +10380,48 @@
10379
10380
  }
10380
10381
  };
10381
10382
 
10383
+ var ApparelSizeSelector = function ApparelSizeSelector(_ref) {
10384
+ var onChange = _ref.onChange,
10385
+ category = _ref.category,
10386
+ graphApi = _ref.graphApi,
10387
+ itemRenderer = _ref.itemRenderer,
10388
+ getGraphQuery = _ref.getGraphQuery,
10389
+ resultProcessor = _ref.resultProcessor,
10390
+ requestInstance = _ref.requestInstance;
10391
+ return /*#__PURE__*/React__default.createElement(LuxityGraphQLMultiselector, {
10392
+ title: "Sizes",
10393
+ queryId: "getApparelSizes",
10394
+ baseQueryLimit: 16,
10395
+ baseClass: "apparel-size-selector",
10396
+ identifier: "apparel-size-selector",
10397
+ searchable: false,
10398
+ category: category,
10399
+ onChange: onChange,
10400
+ graphApi: graphApi,
10401
+ itemRenderer: itemRenderer,
10402
+ getGraphQuery: getGraphQuery,
10403
+ resultProcessor: resultProcessor,
10404
+ requestInstance: requestInstance
10405
+ });
10406
+ };
10407
+
10408
+ ApparelSizeSelector.defaultProps = {
10409
+ itemRenderer: ItemRenderer,
10410
+ resultProcessor: function resultProcessor(result) {
10411
+ return {
10412
+ data: (result.data.data.luxity_universal_apparel_size_list || []).map(function (_ref2) {
10413
+ var id = _ref2.id,
10414
+ size = _ref2.size;
10415
+ return {
10416
+ id: id,
10417
+ name: size
10418
+ };
10419
+ }),
10420
+ has_more_pages: false
10421
+ };
10422
+ }
10423
+ };
10424
+
10382
10425
  var shoeSizeTypes = {
10383
10426
  uk: {
10384
10427
  label: 'UK',
@@ -10755,6 +10798,7 @@
10755
10798
  min_price: null,
10756
10799
  max_price: null,
10757
10800
  styles: [],
10801
+ apparel_sizes: [],
10758
10802
  gender: [],
10759
10803
  condition: [],
10760
10804
  request: _objectSpread2({}, request),
@@ -10784,7 +10828,8 @@
10784
10828
  _this.setState({
10785
10829
  category_type: categoryType,
10786
10830
  brands: [],
10787
- styles: []
10831
+ styles: [],
10832
+ apparel_sizes: []
10788
10833
  });
10789
10834
  });
10790
10835
 
@@ -10833,6 +10878,14 @@
10833
10878
  });
10834
10879
  });
10835
10880
 
10881
+ _defineProperty(_assertThisInitialized(_this), "onApparelSizesChanged", function (apparelSizesArray) {
10882
+ _this.setState({
10883
+ apparel_sizes: apparelSizesArray.map(function (apparelSize) {
10884
+ return apparelSize.id;
10885
+ })
10886
+ });
10887
+ });
10888
+
10836
10889
  _defineProperty(_assertThisInitialized(_this), "onConditionChanged", function (conditions) {
10837
10890
  _this.setState({
10838
10891
  condition: conditions.map(function (condition) {
@@ -10862,6 +10915,7 @@
10862
10915
  min_price = _this$state.min_price,
10863
10916
  max_price = _this$state.max_price,
10864
10917
  styles = _this$state.styles,
10918
+ apparel_sizes = _this$state.apparel_sizes,
10865
10919
  category_type = _this$state.category_type,
10866
10920
  requestState = _this$state.request,
10867
10921
  gender = _this$state.gender,
@@ -10887,8 +10941,11 @@
10887
10941
  max_shoe_size_id: max_shoe_size_id,
10888
10942
  shoe_size_type: shoe_size_type
10889
10943
  } : {};
10944
+ var apparelSizesPayload = category_type === interestCategories.APPAREL ? {
10945
+ apparel_sizes: apparel_sizes
10946
+ } : {};
10890
10947
 
10891
- var payload = _objectSpread2(_objectSpread2({}, basePayload), shoeSizesPayload);
10948
+ var payload = _objectSpread2(_objectSpread2(_objectSpread2({}, basePayload), shoeSizesPayload), apparelSizesPayload);
10892
10949
 
10893
10950
  simpleRequest(_this.props.requestInstance, _this.props.addInterestApi, method.POST, payload, function () {
10894
10951
  _this.setState({
@@ -10945,6 +11002,7 @@
10945
11002
  baseGraphApi = _this$props.baseGraphApi,
10946
11003
  getBrandsGraphQuery = _this$props.getBrandsGraphQuery,
10947
11004
  getStylesGraphQuery = _this$props.getStylesGraphQuery,
11005
+ getApparelSizesGraphQuery = _this$props.getApparelSizesGraphQuery,
10948
11006
  getShoesGraphQuery = _this$props.getShoesGraphQuery,
10949
11007
  defaultShoeSizeType = _this$props.defaultShoeSizeType,
10950
11008
  getConditionsGraphQuery = _this$props.getConditionsGraphQuery;
@@ -10976,6 +11034,12 @@
10976
11034
  requestInstance: requestInstance,
10977
11035
  graphApi: "".concat(baseGraphApi, "?id=getStyles"),
10978
11036
  getGraphQuery: getStylesGraphQuery
11037
+ }), category_type === interestCategories.APPAREL && /*#__PURE__*/React__default.createElement(ApparelSizeSelector, {
11038
+ category: category_type,
11039
+ onChange: _this.onApparelSizesChanged,
11040
+ requestInstance: requestInstance,
11041
+ graphApi: "".concat(baseGraphApi, "?id=getApparelSizes"),
11042
+ getGraphQuery: getApparelSizesGraphQuery
10979
11043
  }), /*#__PURE__*/React__default.createElement(ConditionSelector, {
10980
11044
  onChange: _this.onConditionChanged,
10981
11045
  requestInstance: requestInstance,
@@ -11794,6 +11858,7 @@
11794
11858
  baseGraphApi = _this$props2.baseGraphApi,
11795
11859
  getBrandsGraphQuery = _this$props2.getBrandsGraphQuery,
11796
11860
  getStylesGraphQuery = _this$props2.getStylesGraphQuery,
11861
+ getApparelSizesGraphQuery = _this$props2.getApparelSizesGraphQuery,
11797
11862
  getShoesGraphQuery = _this$props2.getShoesGraphQuery,
11798
11863
  deleteInterestApi = _this$props2.deleteInterestApi,
11799
11864
  setSchedule = _this$props2.setSchedule,
@@ -11848,6 +11913,7 @@
11848
11913
  baseGraphApi: baseGraphApi,
11849
11914
  getBrandsGraphQuery: getBrandsGraphQuery,
11850
11915
  getStylesGraphQuery: getStylesGraphQuery,
11916
+ getApparelSizesGraphQuery: getApparelSizesGraphQuery,
11851
11917
  getShoesGraphQuery: getShoesGraphQuery,
11852
11918
  defaultShoeSizeType: defaultShoeSizeType,
11853
11919
  addInterestTitle: "Category Interest",