@copart/ops-tool-kit 1.12.0-alpha.2 → 1.12.0-alpha.3
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/ops-tool-kit.js +3 -13
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +1 -1
package/dist/ops-tool-kit.js
CHANGED
|
@@ -32,7 +32,7 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
|
32
32
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
33
33
|
|
|
34
34
|
const name$r = "@copart/ops-tool-kit";
|
|
35
|
-
const version$7 = "1.12.0-alpha.
|
|
35
|
+
const version$7 = "1.12.0-alpha.3";
|
|
36
36
|
const main$1 = "dist/ops-tool-kit.js";
|
|
37
37
|
const style = "dist/ops-tool-kit.css";
|
|
38
38
|
const files = [
|
|
@@ -22949,14 +22949,12 @@ var onRenderItem = function onRenderItem(item) {
|
|
|
22949
22949
|
return item.render();
|
|
22950
22950
|
};
|
|
22951
22951
|
var OverflowMenu = function OverflowMenu(props) {
|
|
22952
|
-
console.log('***props=', props);
|
|
22953
22952
|
var dataToRender = {
|
|
22954
22953
|
primary: props.items,
|
|
22955
22954
|
overflow: []
|
|
22956
22955
|
};
|
|
22957
22956
|
var clickHandler = props.clickHandler;
|
|
22958
22957
|
var onReduceData = function onReduceData(currentData) {
|
|
22959
|
-
console.log('***currentData=', currentData);
|
|
22960
22958
|
if (currentData.primary.length === 0) {
|
|
22961
22959
|
return undefined;
|
|
22962
22960
|
}
|
|
@@ -22965,10 +22963,6 @@ var OverflowMenu = function OverflowMenu(props) {
|
|
|
22965
22963
|
var primary = currentData.primary.filter(function (item) {
|
|
22966
22964
|
return item.key === 'notifications';
|
|
22967
22965
|
});
|
|
22968
|
-
console.log('***onReduceData', {
|
|
22969
|
-
primary: primary,
|
|
22970
|
-
overflow: overflow
|
|
22971
|
-
});
|
|
22972
22966
|
return {
|
|
22973
22967
|
primary: primary,
|
|
22974
22968
|
overflow: overflow
|
|
@@ -22980,10 +22974,6 @@ var OverflowMenu = function OverflowMenu(props) {
|
|
|
22980
22974
|
}
|
|
22981
22975
|
var overflow = currentData.overflow.slice(1);
|
|
22982
22976
|
var primary = [].concat(_toConsumableArray(currentData.primary), _toConsumableArray(currentData.overflow.slice(0, 1)));
|
|
22983
|
-
console.log('***onGrowData', {
|
|
22984
|
-
primary: primary,
|
|
22985
|
-
overflow: overflow
|
|
22986
|
-
});
|
|
22987
22977
|
return {
|
|
22988
22978
|
primary: primary,
|
|
22989
22979
|
overflow: overflow
|
|
@@ -31992,7 +31982,6 @@ var AppBar$1 = function AppBar(props) {
|
|
|
31992
31982
|
setCount = _useState22[1];
|
|
31993
31983
|
var mihelpRef = React.useRef(null);
|
|
31994
31984
|
var mihelpIconRef = React.useRef(null);
|
|
31995
|
-
console.log("***mobileMenuVisible=", mobileMenuVisible);
|
|
31996
31985
|
React.useLayoutEffect(function () {
|
|
31997
31986
|
setCount(count + 1);
|
|
31998
31987
|
}, [width]);
|
|
@@ -45994,7 +45983,8 @@ var AppFrame = function AppFrame(props) {
|
|
|
45994
45983
|
setShowNavigationCounts: setShowNavigationCounts
|
|
45995
45984
|
}) : null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45996
45985
|
style: {
|
|
45997
|
-
marginLeft: props.showNavigation ? navigationWidth : '0px'
|
|
45986
|
+
marginLeft: props.showNavigation ? navigationWidth : '0px',
|
|
45987
|
+
height: '100%'
|
|
45998
45988
|
}
|
|
45999
45989
|
}, props.children))))));
|
|
46000
45990
|
};
|