@vitrosoftware/common-ui-ts 1.1.188 → 1.1.190

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.
@@ -1,15 +1,24 @@
1
1
  .vitro-list {
2
2
  background: #fff;
3
3
  border-radius: 4px;
4
+ max-width: 372px;
5
+ }
6
+
7
+ :global(.vitro-views-dialog.vitro-views-dialog-mobile) .vitro-list,
8
+ :global([class^="_search_vitro-search-mobile"]) .vitro-list {
4
9
  max-width: 252px;
5
10
  }
6
11
 
7
12
  .vitro-list :global(.ps) > div:first-child {
8
- padding-left: 12px;
13
+ padding-left: 0;
9
14
  }
10
15
 
11
16
  .vitro-item {
12
- margin-bottom: 4px;
17
+ padding: 2px 15px 2px 12px;
18
+ }
19
+
20
+ .vitro-item:hover {
21
+ background: #F3F8FF;
13
22
  }
14
23
 
15
24
  .vitro-item:last-child {
@@ -21,4 +30,68 @@
21
30
  display: block;
22
31
  line-height: 24px;
23
32
  padding: 0 4px 0 4px;
33
+ color: #222d44;
34
+ }
35
+
36
+ :global(.vitro-views-dialog:not(.vitro-views-dialog-mobile)) .vitro-item a,
37
+ :global([class^="_search_vitro-filter-container"]) .vitro-item a {
38
+ overflow: hidden;
39
+ text-overflow: ellipsis;
40
+ white-space: nowrap;
41
+ }
42
+
43
+ :global([class^="_search_vitro-search-mobile_"]) :global([class^="_search_vitro-filter-container"]) .vitro-item a {
44
+ overflow: initial;
45
+ text-overflow: initial;
46
+ white-space: initial;
47
+ }
48
+
49
+ :global(.vitro-list-item-tooltip) {
50
+ padding: 0;
51
+ pointer-events: none;
52
+ height: 28px;
53
+ }
54
+
55
+ :global(.vitro-list-item-tooltip) :global(.tooltip-arrow) {
56
+ display: none;
57
+ }
58
+
59
+ :global(.vitro-list-item-tooltip) :global(.tooltip-inner) {
60
+ max-width: none;
61
+ background: #ffffff;
62
+ pointer-events: none;
63
+ color: inherit;
64
+ padding: 3px 16px 3px 15px;
65
+ background: #F3F8FF;
66
+ overflow: hidden;
67
+ white-space: nowrap;
68
+ text-overflow: ellipsis;
69
+ }
70
+
71
+ @media (min-width: 1201px) {
72
+ :global(.vitro-list-item-tooltip) {
73
+ max-width: calc(50% + 109px);
74
+ }
75
+ }
76
+
77
+ @media (min-width: 1025px) and (max-width: 1200px) {
78
+ :global(.vitro-list-item-tooltip) {
79
+ max-width: calc(100% - 490px);
80
+ }
81
+ }
82
+
83
+ @media (min-width: 821px) and (max-width: 1024px) {
84
+ :global(.vitro-list-item-tooltip) {
85
+ max-width: calc(100% - 440px);
86
+ }
87
+ }
88
+
89
+ @media (min-width: 800px) and (max-width: 821px) {
90
+ :global(.vitro-list-item-tooltip) {
91
+ max-width: calc(100% - 430px);
92
+ }
93
+ }
94
+
95
+ :global(.vitro-list-item-tooltip.vitro-search-list-item-tooltip) {
96
+ max-width: 382px;
24
97
  }
@@ -247,4 +247,8 @@
247
247
  bottom: 40px;
248
248
  right: 0;
249
249
  margin: 0;
250
+ }
251
+
252
+ .vitro-criterion-container-mobile .vitro-label {
253
+ max-width: calc(100% - 96px);
250
254
  }
@@ -33,5 +33,5 @@
33
33
 
34
34
  .vitro-add-field-dialog :global(.ps) > div:first-child {
35
35
  max-height: 204px;
36
- max-width: 242px;
36
+ max-width: 372px;
37
37
  }
@@ -57,6 +57,10 @@
57
57
  max-width: calc(100% - 87px);
58
58
  }
59
59
 
60
+ .vitro-search-mobile .vitro-filter [class^="_criterion_vitro-control"] {
61
+ max-width: none;
62
+ }
63
+
60
64
  .vitro-add-field {
61
65
  margin: 18px 0 16px 66px;
62
66
  }
@@ -88,7 +92,13 @@
88
92
 
89
93
  .vitro-add-field-dialog :global(.ps) > div:first-child {
90
94
  max-height: 204px;
91
- max-width: 242px;
95
+ max-width: 372px;
96
+ }
97
+
98
+ @media (max-width: 799px) {
99
+ .vitro-add-field-dialog :global(.ps) > div:first-child {
100
+ max-width: 242px !important;
101
+ }
92
102
  }
93
103
 
94
104
  .vitro-button-group {
@@ -192,10 +202,6 @@
192
202
  padding-top: 0;
193
203
  }
194
204
 
195
- .vitro-settings-dialog-mobile .vitro-filter-container :global(.ps) > div > div {
196
- padding: 0;
197
- }
198
-
199
205
  .vitro-settings-dialog-mobile .vitro-scrollbar > div > div > :global(.vitro-block):first-child > div > div {
200
206
  margin: 0;
201
207
  }
package/dist/index.css CHANGED
@@ -6777,6 +6777,10 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
6777
6777
  bottom: 40px;
6778
6778
  right: 0;
6779
6779
  margin: 0;
6780
+ }
6781
+
6782
+ ._criterion_vitro-criterion-container-mobile_1yxaJHi ._criterion_vitro-label_3F6a8dj {
6783
+ max-width: calc(100% - 96px);
6780
6784
  }
6781
6785
  ._item_vitro-criterion-container_3cAvpK0 {
6782
6786
  width: 100%;
@@ -6872,7 +6876,7 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
6872
6876
 
6873
6877
  ._criterion-field-iterator_vitro-add-field-dialog_3QlfaQE .ps > div:first-child {
6874
6878
  max-height: 204px;
6875
- max-width: 242px;
6879
+ max-width: 372px;
6876
6880
  }
6877
6881
  ._search-input_vitro-search-input_3M9i4Gi {
6878
6882
  height: 32px;
@@ -6991,15 +6995,24 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
6991
6995
  ._list_vitro-list_1I2JJ6w {
6992
6996
  background: #fff;
6993
6997
  border-radius: 4px;
6998
+ max-width: 372px;
6999
+ }
7000
+
7001
+ .vitro-views-dialog.vitro-views-dialog-mobile ._list_vitro-list_1I2JJ6w,
7002
+ [class^="_search_vitro-search-mobile"] ._list_vitro-list_1I2JJ6w {
6994
7003
  max-width: 252px;
6995
7004
  }
6996
7005
 
6997
7006
  ._list_vitro-list_1I2JJ6w .ps > div:first-child {
6998
- padding-left: 12px;
7007
+ padding-left: 0;
6999
7008
  }
7000
7009
 
7001
7010
  ._list_vitro-item_2XsFSic {
7002
- margin-bottom: 4px;
7011
+ padding: 2px 15px 2px 12px;
7012
+ }
7013
+
7014
+ ._list_vitro-item_2XsFSic:hover {
7015
+ background: #F3F8FF;
7003
7016
  }
7004
7017
 
7005
7018
  ._list_vitro-item_2XsFSic:last-child {
@@ -7011,6 +7024,70 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
7011
7024
  display: block;
7012
7025
  line-height: 24px;
7013
7026
  padding: 0 4px 0 4px;
7027
+ color: #222d44;
7028
+ }
7029
+
7030
+ .vitro-views-dialog:not(.vitro-views-dialog-mobile) ._list_vitro-item_2XsFSic a,
7031
+ [class^="_search_vitro-filter-container"] ._list_vitro-item_2XsFSic a {
7032
+ overflow: hidden;
7033
+ text-overflow: ellipsis;
7034
+ white-space: nowrap;
7035
+ }
7036
+
7037
+ [class^="_search_vitro-search-mobile_"] [class^="_search_vitro-filter-container"] ._list_vitro-item_2XsFSic a {
7038
+ overflow: initial;
7039
+ text-overflow: initial;
7040
+ white-space: initial;
7041
+ }
7042
+
7043
+ .vitro-list-item-tooltip {
7044
+ padding: 0;
7045
+ pointer-events: none;
7046
+ height: 28px;
7047
+ }
7048
+
7049
+ .vitro-list-item-tooltip .tooltip-arrow {
7050
+ display: none;
7051
+ }
7052
+
7053
+ .vitro-list-item-tooltip .tooltip-inner {
7054
+ max-width: none;
7055
+ background: #ffffff;
7056
+ pointer-events: none;
7057
+ color: inherit;
7058
+ padding: 3px 16px 3px 15px;
7059
+ background: #F3F8FF;
7060
+ overflow: hidden;
7061
+ white-space: nowrap;
7062
+ text-overflow: ellipsis;
7063
+ }
7064
+
7065
+ @media (min-width: 1201px) {
7066
+ .vitro-list-item-tooltip {
7067
+ max-width: calc(50% + 109px);
7068
+ }
7069
+ }
7070
+
7071
+ @media (min-width: 1025px) and (max-width: 1200px) {
7072
+ .vitro-list-item-tooltip {
7073
+ max-width: calc(100% - 490px);
7074
+ }
7075
+ }
7076
+
7077
+ @media (min-width: 821px) and (max-width: 1024px) {
7078
+ .vitro-list-item-tooltip {
7079
+ max-width: calc(100% - 440px);
7080
+ }
7081
+ }
7082
+
7083
+ @media (min-width: 800px) and (max-width: 821px) {
7084
+ .vitro-list-item-tooltip {
7085
+ max-width: calc(100% - 430px);
7086
+ }
7087
+ }
7088
+
7089
+ .vitro-list-item-tooltip.vitro-search-list-item-tooltip {
7090
+ max-width: 382px;
7014
7091
  }
7015
7092
 
7016
7093
  ._search_vitro-search_QkJksC_ {
@@ -7072,6 +7149,10 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
7072
7149
  max-width: calc(100% - 87px);
7073
7150
  }
7074
7151
 
7152
+ ._search_vitro-search-mobile_XsKRflV ._search_vitro-filter_2n-Y-mS [class^="_criterion_vitro-control"] {
7153
+ max-width: none;
7154
+ }
7155
+
7075
7156
  ._search_vitro-add-field_2hHt1Z2 {
7076
7157
  margin: 18px 0 16px 66px;
7077
7158
  }
@@ -7103,7 +7184,13 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
7103
7184
 
7104
7185
  ._search_vitro-add-field-dialog_3gC92SF .ps > div:first-child {
7105
7186
  max-height: 204px;
7106
- max-width: 242px;
7187
+ max-width: 372px;
7188
+ }
7189
+
7190
+ @media (max-width: 799px) {
7191
+ ._search_vitro-add-field-dialog_3gC92SF .ps > div:first-child {
7192
+ max-width: 242px !important;
7193
+ }
7107
7194
  }
7108
7195
 
7109
7196
  ._search_vitro-button-group_1VuZJdq {
@@ -7207,10 +7294,6 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
7207
7294
  padding-top: 0;
7208
7295
  }
7209
7296
 
7210
- ._search_vitro-settings-dialog-mobile_1no71m6 ._search_vitro-filter-container_3p6D0hI .ps > div > div {
7211
- padding: 0;
7212
- }
7213
-
7214
7297
  ._search_vitro-settings-dialog-mobile_1no71m6 ._search_vitro-scrollbar_3Xg3VXI > div > div > .vitro-block:first-child > div > div {
7215
7298
  margin: 0;
7216
7299
  }
package/dist/index.js CHANGED
@@ -20719,7 +20719,7 @@ var TreeViewServiceImpl = /*#__PURE__*/function () {
20719
20719
 
20720
20720
  var TreeViewConfigServiceImpl = /*#__PURE__*/function () {
20721
20721
  function TreeViewConfigServiceImpl() {}
20722
- TreeViewConfigServiceImpl.getConfig = function getConfig(id, checkboxSelect, saveChecked, expandNodeIdList, selectNodeId) {
20722
+ TreeViewConfigServiceImpl.getConfig = function getConfig(id, checkboxSelect, saveChecked, expandNodeIdList, selectNodeId, isSortable) {
20723
20723
  return {
20724
20724
  core: {
20725
20725
  check_callback: true,
@@ -20730,10 +20730,13 @@ var TreeViewConfigServiceImpl = /*#__PURE__*/function () {
20730
20730
  data: function data(obj, cb) {}
20731
20731
  },
20732
20732
  plugins: function () {
20733
- var pluginList = [PLUGIN.UNIQUE, PLUGIN.TYPES, PLUGIN.WHOLEROW, PLUGIN.THEMES, PLUGIN.SORT, PLUGIN.STATE, PLUGIN.DND];
20733
+ var pluginList = [PLUGIN.UNIQUE, PLUGIN.TYPES, PLUGIN.WHOLEROW, PLUGIN.THEMES, PLUGIN.STATE, PLUGIN.DND];
20734
20734
  if (checkboxSelect) {
20735
20735
  pluginList.push(PLUGIN.CHECKBOX);
20736
20736
  }
20737
+ if (isSortable) {
20738
+ pluginList.push(PLUGIN.SORT);
20739
+ }
20737
20740
  return pluginList;
20738
20741
  }(),
20739
20742
  types: {
@@ -20803,7 +20806,7 @@ var TreeView = function TreeView(props) {
20803
20806
  var jsTreeRef = React.useRef(null);
20804
20807
  var jsTreeView;
20805
20808
  React.useEffect(function () {
20806
- setConfig(TreeViewConfigServiceImpl.getConfig(props.id, props.isCheckboxSelect, props.isSaveCheckboxState, props.expandNodeIdList, props.selectNodeId));
20809
+ setConfig(TreeViewConfigServiceImpl.getConfig(props.id, props.isCheckboxSelect, props.isSaveCheckboxState, props.expandNodeIdList, props.selectNodeId, props.isSortable));
20807
20810
  }, [props.id]);
20808
20811
  React.useEffect(function () {
20809
20812
  if (jsTreeTreeView && jsTreeRef.current) {
@@ -60933,6 +60936,7 @@ var Tooltip$1 = function Tooltip(props) {
60933
60936
  show: props.isShow,
60934
60937
  flip: props.isFlip,
60935
60938
  trigger: TRIGGER.HOVER,
60939
+ popperConfig: props.popperConfig || {},
60936
60940
  overlay: React__default.createElement(TooltipComponent, {
60937
60941
  className: styles$c['vitro-tooltip'] + (props.className ? CTRL.SPACE + props.className : CTRL.EMPTY),
60938
60942
  style: props.style
@@ -63078,7 +63082,7 @@ var Viewer = function Viewer(props) {
63078
63082
  };
63079
63083
 
63080
63084
  var name = "@vitrosoftware/common-ui-ts";
63081
- var version$1 = "1.1.188";
63085
+ var version$1 = "1.1.190";
63082
63086
  var description = "vitro software common ui ts";
63083
63087
  var author = "";
63084
63088
  var license = "MIT";
@@ -68060,7 +68064,10 @@ var SearchValueList = function SearchValueList(props) {
68060
68064
  className: props.inputClassName,
68061
68065
  isMobileView: Boolean(props.isMobileView)
68062
68066
  })), React__default.createElement(ScrollBar, null, props.children, itemList && itemList.length ? itemList.map(function (item) {
68063
- return props.valueTemplate(item);
68067
+ var _props$isItemOverflow, _props$isItemOverflow2;
68068
+ return props.valueTemplate(item, (_props$isItemOverflow = props.isItemOverflowList) === null || _props$isItemOverflow === void 0 ? void 0 : (_props$isItemOverflow2 = _props$isItemOverflow.find(function (x) {
68069
+ return x.id === item.id;
68070
+ })) === null || _props$isItemOverflow2 === void 0 ? void 0 : _props$isItemOverflow2.isShow);
68064
68071
  }) : React__default.createElement("span", {
68065
68072
  className: styles$1l['vitro-empty-placeholder']
68066
68073
  }, props.emptyPlaceHolder || localeService.create(LOCALE$9.EMPTY_PLACEHOLDER))));
@@ -68068,16 +68075,103 @@ var SearchValueList = function SearchValueList(props) {
68068
68075
 
68069
68076
  var styles$1m = {"vitro-list":"_list_vitro-list_1I2JJ6w","vitro-item":"_list_vitro-item_2XsFSic"};
68070
68077
 
68078
+ var CSS_CLASS_ITEM_TOOLTIP = 'vitro-list-item-tooltip';
68079
+ var CSS_CLASS_SEARCH_ITEM_TOOLTIP = 'vitro-search-list-item-tooltip';
68080
+ var CSS_CLASS_ITEM = 'vitro-item';
68081
+ var CSS_CLASS_LIST = 'vitro-list';
68082
+ var CSS_CLASS_SEARCH_VALUE_LIST = 'vitro-search-value-list';
68083
+ var OFFSET = 'offset';
68071
68084
  var List$1 = React.forwardRef(function (props, ref) {
68085
+ var _useState = React.useState([]),
68086
+ isItemOverflowList = _useState[0],
68087
+ setIsItemOverflowList = _useState[1];
68088
+ var itemRef = React.useRef([]);
68089
+ React.useEffect(function () {
68090
+ var _props$itemList;
68091
+ if ((_props$itemList = props.itemList) !== null && _props$itemList !== void 0 && _props$itemList.length) {
68092
+ var _isItemOverflowList = [];
68093
+ props.itemList.forEach(function (item) {
68094
+ _isItemOverflowList.push({
68095
+ id: item.id,
68096
+ isShow: false
68097
+ });
68098
+ });
68099
+ setIsItemOverflowList(_isItemOverflowList);
68100
+ }
68101
+ }, []);
68072
68102
  var _onClick = function onClick(id) {
68073
68103
  if (props.onClick) {
68074
68104
  props.onClick(id);
68075
68105
  }
68076
68106
  };
68077
- var getItemTemplate = function getItemTemplate(item) {
68107
+ var popperConfig = {
68108
+ modifiers: [{
68109
+ name: OFFSET,
68110
+ options: {
68111
+ offset: function offset(offsetProps) {
68112
+ var _offsetProps$referenc, _offsetProps$referenc2;
68113
+ var offsetX = offsetProps !== null && offsetProps !== void 0 && (_offsetProps$referenc = offsetProps.reference) !== null && _offsetProps$referenc !== void 0 && _offsetProps$referenc.width ? -1 * (offsetProps === null || offsetProps === void 0 ? void 0 : (_offsetProps$referenc2 = offsetProps.reference) === null || _offsetProps$referenc2 === void 0 ? void 0 : _offsetProps$referenc2.width) : 0;
68114
+ return [0, offsetX];
68115
+ }
68116
+ }
68117
+ }]
68118
+ };
68119
+ var isTextOverflow = function isTextOverflow(elm) {
68120
+ if (elm) {
68121
+ return elm.offsetWidth < elm.scrollWidth;
68122
+ }
68123
+ return false;
68124
+ };
68125
+ var onItemHover = function onItemHover(itemId) {
68126
+ var item = isItemOverflowList.find(function (x) {
68127
+ return x.id === itemId;
68128
+ });
68129
+ var isShow = itemRef.current[itemId] ? isTextOverflow(itemRef.current[itemId]) : false;
68130
+ if (item && item.isShow !== isShow) {
68131
+ setIsItemOverflowList(isItemOverflowList.map(function (x) {
68132
+ if (x.id === itemId) {
68133
+ return _extends({}, x, {
68134
+ isShow: isShow
68135
+ });
68136
+ } else {
68137
+ return x;
68138
+ }
68139
+ }));
68140
+ } else {
68141
+ isItemOverflowList.push({
68142
+ id: itemId,
68143
+ isShow: isShow
68144
+ });
68145
+ }
68146
+ };
68147
+ var getItemTemplate = function getItemTemplate(item, isShow) {
68148
+ return React__default.createElement(Tooltip$1, {
68149
+ placement: PLACEMENT.RIGHT,
68150
+ text: item.name,
68151
+ popperConfig: popperConfig,
68152
+ className: CSS_CLASS_ITEM_TOOLTIP + (props.isSearch ? CTRL.SPACE + CSS_CLASS_SEARCH_ITEM_TOOLTIP : CTRL.EMPTY),
68153
+ isShow: isShow ? undefined : false
68154
+ }, React__default.createElement("div", {
68155
+ className: styles$1m[CSS_CLASS_ITEM]
68156
+ }, React__default.createElement("a", {
68157
+ ref: function ref(element) {
68158
+ return itemRef.current[item.id] = element;
68159
+ },
68160
+ onClick: function onClick() {
68161
+ return _onClick(item.id);
68162
+ },
68163
+ onMouseOver: function onMouseOver() {
68164
+ return onItemHover(item.id);
68165
+ }
68166
+ }, item.name)));
68167
+ };
68168
+ var getItemTemplateMobile = function getItemTemplateMobile(item) {
68078
68169
  return React__default.createElement("div", {
68079
- className: styles$1m['vitro-item']
68170
+ className: styles$1m[CSS_CLASS_ITEM]
68080
68171
  }, React__default.createElement("a", {
68172
+ ref: function ref(element) {
68173
+ return itemRef.current[item.id] = element;
68174
+ },
68081
68175
  onClick: function onClick() {
68082
68176
  return _onClick(item.id);
68083
68177
  }
@@ -68087,17 +68181,18 @@ var List$1 = React.forwardRef(function (props, ref) {
68087
68181
  return item.name;
68088
68182
  };
68089
68183
  return React__default.createElement("div", {
68090
- className: styles$1m['vitro-list'],
68184
+ className: styles$1m[CSS_CLASS_LIST],
68091
68185
  ref: ref
68092
68186
  }, React__default.createElement(SearchValueList, {
68093
68187
  itemList: props.itemList,
68094
- valueTemplate: getItemTemplate,
68188
+ valueTemplate: props.isMobileView ? getItemTemplateMobile : getItemTemplate,
68095
68189
  filterValueTemplate: filterValueTemplate,
68096
- className: styles$1m['vitro-search-value-list']
68190
+ className: styles$1m[CSS_CLASS_SEARCH_VALUE_LIST],
68191
+ isItemOverflowList: isItemOverflowList
68097
68192
  }));
68098
68193
  });
68099
68194
 
68100
- var styles$1n = {"vitro-search":"_search_vitro-search_QkJksC_","vitro-active":"_search_vitro-active_1HhQOCR","vitro-settings-dialog":"_search_vitro-settings-dialog_1_c5bIg","vitro-filter-container":"_search_vitro-filter-container_3p6D0hI","vitro-filter":"_search_vitro-filter_2n-Y-mS","vitro-field-iterator":"_search_vitro-field-iterator_2xhcd1b","vitro-add-field":"_search_vitro-add-field_2hHt1Z2","vitro-add-field-button":"_search_vitro-add-field-button_30hdXYn","vitro-add-field-dialog":"_search_vitro-add-field-dialog_3gC92SF","vitro-button-group":"_search_vitro-button-group_1VuZJdq","vitro-button":"_search_vitro-button_1kaitIg","vitro-button-cancel":"_search_vitro-button-cancel_1M8UkMM","vitro-button-settings":"_search_vitro-button-settings_oJCn__t","vitro-search-mobile":"_search_vitro-search-mobile_XsKRflV","vitro-settings-dialog-mobile":"_search_vitro-settings-dialog-mobile_1no71m6","vitro-settings-dialog-header":"_search_vitro-settings-dialog-header_vID4BE6","vitro-settings-dialog-footer":"_search_vitro-settings-dialog-footer_11fP4FC","vitro-scrollbar":"_search_vitro-scrollbar_3Xg3VXI"};
68195
+ var styles$1n = {"vitro-search":"_search_vitro-search_QkJksC_","vitro-active":"_search_vitro-active_1HhQOCR","vitro-settings-dialog":"_search_vitro-settings-dialog_1_c5bIg","vitro-filter-container":"_search_vitro-filter-container_3p6D0hI","vitro-filter":"_search_vitro-filter_2n-Y-mS","vitro-field-iterator":"_search_vitro-field-iterator_2xhcd1b","vitro-search-mobile":"_search_vitro-search-mobile_XsKRflV","vitro-add-field":"_search_vitro-add-field_2hHt1Z2","vitro-add-field-button":"_search_vitro-add-field-button_30hdXYn","vitro-add-field-dialog":"_search_vitro-add-field-dialog_3gC92SF","vitro-button-group":"_search_vitro-button-group_1VuZJdq","vitro-button":"_search_vitro-button_1kaitIg","vitro-button-cancel":"_search_vitro-button-cancel_1M8UkMM","vitro-button-settings":"_search_vitro-button-settings_oJCn__t","vitro-settings-dialog-mobile":"_search_vitro-settings-dialog-mobile_1no71m6","vitro-settings-dialog-header":"_search_vitro-settings-dialog-header_vID4BE6","vitro-settings-dialog-footer":"_search_vitro-settings-dialog-footer_11fP4FC","vitro-scrollbar":"_search_vitro-scrollbar_3Xg3VXI"};
68101
68196
 
68102
68197
  var AddFieldButton = React.forwardRef(function (props, ref) {
68103
68198
  var _props$filterContaine;
@@ -68147,7 +68242,9 @@ var AddFieldButton = React.forwardRef(function (props, ref) {
68147
68242
  }, React__default.createElement(List$1, {
68148
68243
  ref: addFieldListRef,
68149
68244
  itemList: props.fieldList,
68150
- onClick: onFieldListChange
68245
+ onClick: onFieldListChange,
68246
+ isMobileView: props.isMobileView,
68247
+ isSearch: props.isSearch
68151
68248
  })));
68152
68249
  });
68153
68250
 
@@ -68438,7 +68535,8 @@ var Search = function Search(props) {
68438
68535
  onFieldListChange: onFieldListChange,
68439
68536
  isAllFieldsVisible: props.isAllFieldsVisible,
68440
68537
  filterContainerRef: filterContainerRef,
68441
- onBlur: onBlurAddFieldDialog
68538
+ onBlur: onBlurAddFieldDialog,
68539
+ isSearch: true
68442
68540
  }), !props.isMobileView && React__default.createElement(ButtonGroup, {
68443
68541
  className: styles$1n['vitro-button-group']
68444
68542
  }, React__default.createElement(Button$2, {