forked from M-Labs/web2019
shop: update generated JS
This commit is contained in:
parent
c98354db63
commit
b9b9620c67
|
@ -362,7 +362,7 @@ var Layout = /*#__PURE__*/function (_React$PureComponent) {
|
||||||
className: "form-group"
|
className: "form-group"
|
||||||
}, /*#__PURE__*/React.createElement("p", {
|
}, /*#__PURE__*/React.createElement("p", {
|
||||||
className: "small"
|
className: "small"
|
||||||
}, "Add your own configuration below. Should be something like:", /*#__PURE__*/React.createElement("br", null), JSON.stringify({
|
}, "Input the JSON description below. Should be something like:", /*#__PURE__*/React.createElement("br", null), JSON.stringify({
|
||||||
"items": [{
|
"items": [{
|
||||||
"pn": "1123"
|
"pn": "1123"
|
||||||
}, {
|
}, {
|
||||||
|
@ -380,7 +380,7 @@ var Layout = /*#__PURE__*/function (_React$PureComponent) {
|
||||||
value: this.state.customconf,
|
value: this.state.customconf,
|
||||||
className: "form-control w-100",
|
className: "form-control w-100",
|
||||||
rows: "5",
|
rows: "5",
|
||||||
placeholder: "Add your custom configuration here. e.g "
|
placeholder: "Input JSON description here."
|
||||||
})), this.state.error ? /*#__PURE__*/React.createElement("div", {
|
})), this.state.error ? /*#__PURE__*/React.createElement("div", {
|
||||||
className: "form-group"
|
className: "form-group"
|
||||||
}, /*#__PURE__*/React.createElement("p", {
|
}, /*#__PURE__*/React.createElement("p", {
|
||||||
|
@ -1044,7 +1044,7 @@ var OrderPanel = /*#__PURE__*/function (_React$PureComponent8) {
|
||||||
style: {
|
style: {
|
||||||
'cursor': 'pointer'
|
'cursor': 'pointer'
|
||||||
},
|
},
|
||||||
value: "Import configurations",
|
value: "Import JSON",
|
||||||
onClick: onClickOpenImport
|
onClick: onClickOpenImport
|
||||||
})), isMobile ? /*#__PURE__*/React.createElement("div", {
|
})), isMobile ? /*#__PURE__*/React.createElement("div", {
|
||||||
className: "mobileBtnDisplaySideMenu"
|
className: "mobileBtnDisplaySideMenu"
|
||||||
|
@ -1278,7 +1278,7 @@ var OrderForm = /*#__PURE__*/function (_React$PureComponent9) {
|
||||||
'cursor': 'pointer',
|
'cursor': 'pointer',
|
||||||
'fontWeight': '700'
|
'fontWeight': '700'
|
||||||
},
|
},
|
||||||
value: "Show configurations",
|
value: "Show JSON",
|
||||||
onClick: onClickShow
|
onClick: onClickShow
|
||||||
}), /*#__PURE__*/React.createElement("input", {
|
}), /*#__PURE__*/React.createElement("input", {
|
||||||
className: "btn btn-primary w-100 m-0 ml-sm-2",
|
className: "btn btn-primary w-100 m-0 ml-sm-2",
|
||||||
|
@ -1894,10 +1894,7 @@ var Shop = /*#__PURE__*/function (_React$PureComponent12) {
|
||||||
axios.post(data.API_RFQ, {
|
axios.post(data.API_RFQ, {
|
||||||
email: email,
|
email: email,
|
||||||
note: note,
|
note: note,
|
||||||
configuration: JSON.stringify(crate),
|
configuration: JSON.stringify(crate)
|
||||||
headers: {
|
|
||||||
'X-MLABS-OH': 'rlebcleu'
|
|
||||||
}
|
|
||||||
}).then(function (response) {
|
}).then(function (response) {
|
||||||
_this12.setState({
|
_this12.setState({
|
||||||
isProcessing: false,
|
isProcessing: false,
|
||||||
|
|
Loading…
Reference in New Issue