inboxlookup_screen 1.0.6 → 1.0.8
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/package.json
CHANGED
|
@@ -146,9 +146,9 @@
|
|
|
146
146
|
margin-bottom: 4px;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.lookupscreenpopup-
|
|
150
|
-
height: 36px;
|
|
151
|
-
padding: 6px 8px;
|
|
149
|
+
.lookupscreenpopup-content>.form-group>input {
|
|
150
|
+
height: 36px !important;
|
|
151
|
+
padding: 6px 8px !important;
|
|
152
152
|
border: 1px solid #dcdcdc;
|
|
153
153
|
border-radius: 4px;
|
|
154
154
|
background: #f9f9f9;
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.arcflow-lookupscreen .dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-list-item-selected {
|
|
164
|
-
background-color:
|
|
164
|
+
background-color: transparent !important;
|
|
165
165
|
|
|
166
166
|
}
|
|
167
167
|
|
|
@@ -9,7 +9,6 @@ import DataGrid, {
|
|
|
9
9
|
Item,
|
|
10
10
|
GroupItem, HeaderFilter, FilterRow,
|
|
11
11
|
} from 'devextreme-react/data-grid';
|
|
12
|
-
import Button from 'devextreme-react/button'; // <-- THIS import MUST be here
|
|
13
12
|
import CustomStore from 'devextreme/data/custom_store';
|
|
14
13
|
import Popup from 'devextreme-react/popup';
|
|
15
14
|
import 'devextreme/dist/css/dx.light.css';
|
|
@@ -29,7 +28,7 @@ const getFieldMetaAPI = (sheetId) =>
|
|
|
29
28
|
|
|
30
29
|
let lastAppliedFilter = null;
|
|
31
30
|
|
|
32
|
-
const OrdersMasterDetail = ({ dataSource, keyExpr }) => {
|
|
31
|
+
const OrdersMasterDetail = ({ dataSource, keyExpr, token, BaseUrl }) => {
|
|
33
32
|
const [orders, setOrders] = useState([]);
|
|
34
33
|
const [selectedOrder, setSelectedOrder] = useState(null);
|
|
35
34
|
const [selectedService, setSelectedService] = useState(DEFAULT_SERVICE);
|
|
@@ -58,7 +57,6 @@ const OrdersMasterDetail = ({ dataSource, keyExpr }) => {
|
|
|
58
57
|
const [autoExpandAll, setAutoExpandAll] = useState(true);
|
|
59
58
|
const [popupVisible, setPopupVisible] = useState(false);
|
|
60
59
|
const [actionValue, setActionValue] = useState(null);
|
|
61
|
-
const [assignPopupVisible, setAssignPopupVisible] = useState(false);
|
|
62
60
|
const [proceedEnabled, setProceedEnabled] = useState(false); // ✅ NEW: control button enabled state
|
|
63
61
|
const [popupSummary, setPopupSummary] = useState({
|
|
64
62
|
type: '',
|
|
@@ -679,12 +677,6 @@ const OrdersMasterDetail = ({ dataSource, keyExpr }) => {
|
|
|
679
677
|
return () => window.removeEventListener("storage", handleStorageChange);
|
|
680
678
|
}, []);
|
|
681
679
|
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
/* ----------------------------
|
|
686
|
-
API call (tab close / logout only)
|
|
687
|
-
----------------------------- */
|
|
688
680
|
const updateSearchHistoryAPI = () => {
|
|
689
681
|
if (!searchHistoryRef.current.length) return;
|
|
690
682
|
|
|
@@ -697,9 +689,6 @@ const OrdersMasterDetail = ({ dataSource, keyExpr }) => {
|
|
|
697
689
|
);
|
|
698
690
|
};
|
|
699
691
|
|
|
700
|
-
/* ----------------------------
|
|
701
|
-
Tab switch & close
|
|
702
|
-
----------------------------- */
|
|
703
692
|
useEffect(() => {
|
|
704
693
|
const handleVisibilityChange = () => {
|
|
705
694
|
if (document.visibilityState === "hidden") {
|
|
@@ -736,24 +725,6 @@ const OrdersMasterDetail = ({ dataSource, keyExpr }) => {
|
|
|
736
725
|
rowId: index + 1
|
|
737
726
|
}));
|
|
738
727
|
|
|
739
|
-
const handleColumnReorder = (e) => {
|
|
740
|
-
alert("bsvdchg")
|
|
741
|
-
console.log("selectedOrder", selectedOrder)
|
|
742
|
-
if (!selectedOrder) return;
|
|
743
|
-
|
|
744
|
-
const payload = {
|
|
745
|
-
sheetId: selectedOrder.id,
|
|
746
|
-
fieldName: e.column.dataField,
|
|
747
|
-
fromIndex: e.fromIndex,
|
|
748
|
-
toIndex: e.toIndex
|
|
749
|
-
};
|
|
750
|
-
|
|
751
|
-
axios.post(
|
|
752
|
-
"http://localhost:5017/api/excel-sheets/columns/reorder",
|
|
753
|
-
payload
|
|
754
|
-
).catch(err => console.error("Column reorder save failed", err));
|
|
755
|
-
};
|
|
756
|
-
|
|
757
728
|
|
|
758
729
|
useEffect(() => {
|
|
759
730
|
// If all filters are cleared → show all records
|