pcm-shared-components 2.0.16 → 2.0.18
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.
package/dist/components/Timelines/ReservationTimelineComponent/components/SearchLotsTextBox.js
CHANGED
|
@@ -5,7 +5,8 @@ const SearchLotsTextBox = props => {
|
|
|
5
5
|
const {
|
|
6
6
|
lot_search,
|
|
7
7
|
setLotSearch,
|
|
8
|
-
setFocusOnFilter
|
|
8
|
+
setFocusOnFilter,
|
|
9
|
+
label
|
|
9
10
|
} = props;
|
|
10
11
|
return /*#__PURE__*/React.createElement("div", {
|
|
11
12
|
style: {}
|
|
@@ -15,8 +16,9 @@ const SearchLotsTextBox = props => {
|
|
|
15
16
|
paddingBottom: 12
|
|
16
17
|
},
|
|
17
18
|
id: "lot_filter_search",
|
|
18
|
-
label:
|
|
19
|
+
label: label,
|
|
19
20
|
value: lot_search,
|
|
21
|
+
variant: "standard",
|
|
20
22
|
onChange: e => {
|
|
21
23
|
setLotSearch(e.target.value);
|
|
22
24
|
},
|
|
@@ -819,6 +819,7 @@ export const ReservationTimelineComponent = props => {
|
|
|
819
819
|
}, /*#__PURE__*/React.createElement(ZoomOut, null)), String(editResId).length === 0 && /*#__PURE__*/React.createElement("div", {
|
|
820
820
|
className: "flex ml-6 "
|
|
821
821
|
}, /*#__PURE__*/React.createElement(SearchLotsTextBox, {
|
|
822
|
+
label: i18next.t('reservation_grid.header.lot_number'),
|
|
822
823
|
lot_search: lot_search,
|
|
823
824
|
setLotSearch: setLotSearch,
|
|
824
825
|
setFocusOnFilter: setFocusOnFilter,
|
package/dist/index.js
CHANGED