@copart/ops-tool-kit 1.6.2 → 1.6.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 +95 -78
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +1 -1
package/dist/ops-tool-kit.js
CHANGED
|
@@ -33,7 +33,7 @@ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
|
33
33
|
var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
34
34
|
|
|
35
35
|
const name$e = "@copart/ops-tool-kit";
|
|
36
|
-
const version$3 = "1.6.
|
|
36
|
+
const version$3 = "1.6.3";
|
|
37
37
|
const main = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -2584,13 +2584,11 @@ function set$1(target, path, value, options) {
|
|
|
2584
2584
|
|
|
2585
2585
|
let opts = options || {};
|
|
2586
2586
|
const isArray = Array.isArray(path);
|
|
2587
|
-
|
|
2588
2587
|
if (!isArray && typeof path !== 'string') {
|
|
2589
2588
|
return target;
|
|
2590
2589
|
}
|
|
2591
2590
|
|
|
2592
2591
|
let merge = opts.merge;
|
|
2593
|
-
|
|
2594
2592
|
if (merge && typeof merge !== 'function') {
|
|
2595
2593
|
merge = Object.assign;
|
|
2596
2594
|
}
|
|
@@ -2633,7 +2631,8 @@ function result(target, path, value, merge) {
|
|
|
2633
2631
|
function split(path, options) {
|
|
2634
2632
|
const id = createKey(path, options);
|
|
2635
2633
|
if (set$1.memo[id]) return set$1.memo[id];
|
|
2636
|
-
|
|
2634
|
+
|
|
2635
|
+
const char = (options && options.separator) ? options.separator : '.';
|
|
2637
2636
|
let keys = [];
|
|
2638
2637
|
let res = [];
|
|
2639
2638
|
|
|
@@ -2645,32 +2644,25 @@ function split(path, options) {
|
|
|
2645
2644
|
|
|
2646
2645
|
for (let i = 0; i < keys.length; i++) {
|
|
2647
2646
|
let prop = keys[i];
|
|
2648
|
-
|
|
2649
2647
|
while (prop && prop.slice(-1) === '\\' && keys[i + 1]) {
|
|
2650
2648
|
prop = prop.slice(0, -1) + char + keys[++i];
|
|
2651
2649
|
}
|
|
2652
|
-
|
|
2653
2650
|
res.push(prop);
|
|
2654
2651
|
}
|
|
2655
|
-
|
|
2656
2652
|
set$1.memo[id] = res;
|
|
2657
2653
|
return res;
|
|
2658
2654
|
}
|
|
2659
2655
|
|
|
2660
2656
|
function createKey(pattern, options) {
|
|
2661
2657
|
let id = pattern;
|
|
2662
|
-
|
|
2663
2658
|
if (typeof options === 'undefined') {
|
|
2664
2659
|
return id + '';
|
|
2665
2660
|
}
|
|
2666
|
-
|
|
2667
2661
|
const keys = Object.keys(options);
|
|
2668
|
-
|
|
2669
2662
|
for (let i = 0; i < keys.length; i++) {
|
|
2670
2663
|
const key = keys[i];
|
|
2671
2664
|
id += ';' + key + '=' + String(options[key]);
|
|
2672
2665
|
}
|
|
2673
|
-
|
|
2674
2666
|
return id;
|
|
2675
2667
|
}
|
|
2676
2668
|
|
|
@@ -6669,72 +6661,87 @@ exports.all = function () {
|
|
|
6669
6661
|
var stack$1 = process.env.STACK;
|
|
6670
6662
|
|
|
6671
6663
|
var getDefaultYard = function getDefaultYard(country) {
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
zip: {
|
|
6686
|
-
zip1: "500032"
|
|
6687
|
-
}
|
|
6664
|
+
if (stack$1 === 'uk') {
|
|
6665
|
+
return {
|
|
6666
|
+
name: "COPART UK",
|
|
6667
|
+
number: 400,
|
|
6668
|
+
userSecurityLevel: "1",
|
|
6669
|
+
address: {
|
|
6670
|
+
city: "WOOTTON",
|
|
6671
|
+
country: "GBR",
|
|
6672
|
+
line1: "ACREY FIELDS",
|
|
6673
|
+
state: "GB",
|
|
6674
|
+
zip: {
|
|
6675
|
+
zip1: "MK43",
|
|
6676
|
+
zip2: ""
|
|
6688
6677
|
}
|
|
6689
|
-
}
|
|
6678
|
+
}
|
|
6679
|
+
};
|
|
6680
|
+
} else {
|
|
6681
|
+
switch (country) {
|
|
6682
|
+
case 'IN':
|
|
6683
|
+
return {
|
|
6684
|
+
name: "CITC",
|
|
6685
|
+
number: 8003,
|
|
6686
|
+
address: {
|
|
6687
|
+
city: "HYDERABAD",
|
|
6688
|
+
country: "IND",
|
|
6689
|
+
line1: "PSR PRIME TOWERS 5TH FLOOR",
|
|
6690
|
+
line2: "SURVEY NO 126P, GACHIBOWLI",
|
|
6691
|
+
state: "TS",
|
|
6692
|
+
zip: {
|
|
6693
|
+
zip1: "500032"
|
|
6694
|
+
}
|
|
6695
|
+
}
|
|
6696
|
+
};
|
|
6690
6697
|
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6698
|
+
case 'US':
|
|
6699
|
+
return {
|
|
6700
|
+
name: "CORPORATE",
|
|
6701
|
+
number: 700,
|
|
6702
|
+
address: {
|
|
6703
|
+
city: "DALLAS",
|
|
6704
|
+
country: "USA",
|
|
6705
|
+
line1: "14185 DALLAS PARKWAY #300",
|
|
6706
|
+
state: "TX",
|
|
6707
|
+
zip: {
|
|
6708
|
+
zip1: "75254"
|
|
6709
|
+
}
|
|
6702
6710
|
}
|
|
6703
|
-
}
|
|
6704
|
-
};
|
|
6711
|
+
};
|
|
6705
6712
|
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6713
|
+
case 'UK':
|
|
6714
|
+
return {
|
|
6715
|
+
name: "COPART UK",
|
|
6716
|
+
number: 400,
|
|
6717
|
+
userSecurityLevel: "1",
|
|
6718
|
+
address: {
|
|
6719
|
+
city: "WOOTTON",
|
|
6720
|
+
country: "GBR",
|
|
6721
|
+
line1: "ACREY FIELDS",
|
|
6722
|
+
state: "GB",
|
|
6723
|
+
zip: {
|
|
6724
|
+
zip1: "MK43",
|
|
6725
|
+
zip2: ""
|
|
6726
|
+
}
|
|
6720
6727
|
}
|
|
6721
|
-
}
|
|
6722
|
-
};
|
|
6728
|
+
};
|
|
6723
6729
|
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6730
|
+
default:
|
|
6731
|
+
return {
|
|
6732
|
+
name: "CORPORATE",
|
|
6733
|
+
number: 700,
|
|
6734
|
+
address: {
|
|
6735
|
+
city: "DALLAS",
|
|
6736
|
+
country: "USA",
|
|
6737
|
+
line1: "14185 DALLAS PARKWAY #300",
|
|
6738
|
+
state: "TX",
|
|
6739
|
+
zip: {
|
|
6740
|
+
zip1: "75254"
|
|
6741
|
+
}
|
|
6735
6742
|
}
|
|
6736
|
-
}
|
|
6737
|
-
|
|
6743
|
+
};
|
|
6744
|
+
}
|
|
6738
6745
|
}
|
|
6739
6746
|
}; // TODO: Dynamic INVALID_CREDENTIALS error with X tries until locked.
|
|
6740
6747
|
|
|
@@ -22144,7 +22151,7 @@ FeedbackDialog.defaultProps = {
|
|
|
22144
22151
|
}
|
|
22145
22152
|
};
|
|
22146
22153
|
|
|
22147
|
-
var css_248z$b = ".utilities_ops-app-frame_AppBarComponent_AppBar--root {\n background-color: var(--blue);\n background-color: var(--blue);\n height: 64px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n white-space: nowrap;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--leftItems {\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogo {\n display: flex;\n align-items: center;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogoNew {\n display: flex;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--moduleName {\n color: white;\n font-size: 11px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col {\n display: flex;\n color: white;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col svg {\n color: white;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n width: 6rem;\n margin-top: 0rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--text {\n margin-top: 0.6rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--iconText {\n margin-top: 0.4rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchBar,\n.utilities_ops-app-frame_AppBarComponent_AppBar--placeholderDiv {\n margin-top: -0.2rem;\n margin-left: 2rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarLeft > img.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n display: inline;\n display: initial;\n}\n\n@font-face {\n font-family: 'Open Sans';\n font-style: italic;\n font-weight: 600;\n src: url(https://fonts.gstatic.com/s/opensans/v18/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2)\n format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appTitle {\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n font-style: italic;\n font-size: 14px;\n position: relative;\n left: 16px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--item {\n display: flex;\n color: white;\n font-size: 13px;\n cursor: pointer;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 10px;\n margin-right: 7px;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault {\n color: white;\n cursor: default;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n background-color: white;\n border-radius: 20px;\n margin: 5px;\n padding: 0px 10px;\n height: 25px;\n font-weight: bold;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--light {\n border: 1px solid #1d5ab9;\n justify-content: flex-start;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightDefault {\n color: black;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline,\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n background-color: white;\n border-radius: 20px;\n display: flex;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable i {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline {\n color: red;\n margin: 5px 0px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline svg {\n margin-right: 5px;\n margin-left: 5px;\n width: 24px;\n height: 24px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--SpinnerWrapper {\n margin-left: 5px;\n display: inline-flex;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i {\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i {\n line-height: unset;\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable {\n color: green;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n color: red;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 10px !important;\n margin-right: 10px !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 10px !important;\n margin-right: 10px !important;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--feedback {\n margin: 0 !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems {\n width: 100%;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button {\n cursor: pointer;\n position: relative;\n top: 2px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button i {\n color: #fff;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetContainer {\n position: absolute;\n display: flex;\n height: 100vh;\n width: 100vw;\n bottom: 0;\n z-index: 10000;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHide {\n background-color: rgba(0,0,0,.5);\n width: calc(100vw - 443px);\n}\n\n@media only screen and (max-width: 1024px) {\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 5px;\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 2px;\n }\n}\n";
|
|
22154
|
+
var css_248z$b = ".utilities_ops-app-frame_AppBarComponent_AppBar--root {\n background-color: var(--blue);\n background-color: var(--blue);\n height: 64px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n white-space: nowrap;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--leftItems {\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogo {\n display: flex;\n align-items: center;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogoNew {\n display: flex;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--moduleName {\n color: white;\n font-size: 11px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col {\n display: flex;\n color: white;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col svg {\n color: white;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n width: 6rem;\n margin-top: 0rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--text {\n margin-top: 0.6rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--iconText {\n margin-top: 0.4rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchBar,\n.utilities_ops-app-frame_AppBarComponent_AppBar--placeholderDiv {\n margin-top: -0.2rem;\n margin-left: 2rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarLeft > img.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n display: inline;\n display: initial;\n}\n\n@font-face {\n font-family: 'Open Sans';\n font-style: italic;\n font-weight: 600;\n src: url(https://fonts.gstatic.com/s/opensans/v18/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2)\n format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appTitle {\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n font-style: italic;\n font-size: 14px;\n position: relative;\n left: 16px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--item {\n display: flex;\n color: white;\n font-size: 13px;\n cursor: pointer;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 10px;\n margin-right: 7px;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault {\n color: white;\n cursor: default;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n background-color: white;\n border-radius: 20px;\n margin: 5px;\n padding: 0px 10px;\n height: 25px;\n font-weight: bold;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--light {\n border: 1px solid #1d5ab9;\n justify-content: flex-start;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightDefault {\n color: black;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline,\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n background-color: white;\n border-radius: 20px;\n display: flex;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable i {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline {\n color: red;\n margin: 5px 0px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline svg {\n margin-right: 5px;\n margin-left: 5px;\n width: 24px;\n height: 24px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--SpinnerWrapper {\n margin-left: 5px;\n display: inline-flex;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i {\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i {\n line-height: unset;\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable {\n color: green;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n color: red;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 10px !important;\n margin-right: 10px !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 10px !important;\n margin-right: 10px !important;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--feedback {\n margin: 0 !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems {\n width: 100%;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button {\n cursor: pointer;\n position: relative;\n top: 2px;\n margin-left: 10px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button i {\n color: #fff;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetContainer {\n position: absolute;\n display: flex;\n height: 100vh;\n width: 100vw;\n bottom: 0;\n z-index: 10000;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHide {\n background-color: rgba(0,0,0,.5);\n width: calc(100vw - 443px);\n}\n\n@media only screen and (max-width: 1024px) {\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 5px;\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 2px;\n }\n}\n";
|
|
22148
22155
|
styleInject(css_248z$b);
|
|
22149
22156
|
|
|
22150
22157
|
var LogOutMenu = function LogOutMenu(_ref) {
|
|
@@ -25080,7 +25087,7 @@ var generateAppBarElements = function generateAppBarElements(props, showCallout)
|
|
|
25080
25087
|
return props.setIdeaNoteVisible(true);
|
|
25081
25088
|
}
|
|
25082
25089
|
}, React__default["default"].createElement(coreComponents.Icon, {
|
|
25083
|
-
name: "
|
|
25090
|
+
name: "emoji_objects",
|
|
25084
25091
|
variant: "material",
|
|
25085
25092
|
style: {
|
|
25086
25093
|
color: 'white',
|
|
@@ -25844,7 +25851,7 @@ var IconComponent = function IconComponent(_ref) {
|
|
|
25844
25851
|
*/
|
|
25845
25852
|
|
|
25846
25853
|
var b = "function" === typeof Symbol && Symbol.for,
|
|
25847
|
-
c
|
|
25854
|
+
c = b ? Symbol.for("react.element") : 60103,
|
|
25848
25855
|
d = b ? Symbol.for("react.portal") : 60106,
|
|
25849
25856
|
e = b ? Symbol.for("react.fragment") : 60107,
|
|
25850
25857
|
f = b ? Symbol.for("react.strict_mode") : 60108,
|
|
@@ -25868,7 +25875,7 @@ function z(a) {
|
|
|
25868
25875
|
var u = a.$$typeof;
|
|
25869
25876
|
|
|
25870
25877
|
switch (u) {
|
|
25871
|
-
case c
|
|
25878
|
+
case c:
|
|
25872
25879
|
switch (a = a.type, a) {
|
|
25873
25880
|
case l:
|
|
25874
25881
|
case m:
|
|
@@ -25907,7 +25914,7 @@ var AsyncMode = l;
|
|
|
25907
25914
|
var ConcurrentMode = m;
|
|
25908
25915
|
var ContextConsumer = k;
|
|
25909
25916
|
var ContextProvider = h;
|
|
25910
|
-
var Element$1 = c
|
|
25917
|
+
var Element$1 = c;
|
|
25911
25918
|
var ForwardRef = n;
|
|
25912
25919
|
var Fragment = e;
|
|
25913
25920
|
var Lazy = t;
|
|
@@ -25932,7 +25939,7 @@ var isContextProvider = function (a) {
|
|
|
25932
25939
|
};
|
|
25933
25940
|
|
|
25934
25941
|
var isElement = function (a) {
|
|
25935
|
-
return "object" === typeof a && null !== a && a.$$typeof === c
|
|
25942
|
+
return "object" === typeof a && null !== a && a.$$typeof === c;
|
|
25936
25943
|
};
|
|
25937
25944
|
|
|
25938
25945
|
var isForwardRef = function (a) {
|
|
@@ -30282,6 +30289,17 @@ var APP_BAR_CONFIGS = {
|
|
|
30282
30289
|
|
|
30283
30290
|
var coreAppConfig = storage$1.getLocalItem('opsportal-core:config');
|
|
30284
30291
|
var enableNewToolkitFeatures = coreAppConfig.enableNewToolkitFeatures;
|
|
30292
|
+
|
|
30293
|
+
var getIdeaNoteEnabledStatus = function getIdeaNoteEnabledStatus(tileData) {
|
|
30294
|
+
var coreAppConfig = storage$1.getLocalItem('opsportal-core:config');
|
|
30295
|
+
|
|
30296
|
+
if (isCoreRoute || coreAppConfig.enableIdeaNoteGlobally) {
|
|
30297
|
+
return coreAppConfig.enableIdeaNote;
|
|
30298
|
+
} else {
|
|
30299
|
+
return tileData.enableIdeaNote;
|
|
30300
|
+
}
|
|
30301
|
+
};
|
|
30302
|
+
|
|
30285
30303
|
var SETTINGS_ITEMS = [{
|
|
30286
30304
|
key: 'userName',
|
|
30287
30305
|
name: ''
|
|
@@ -30387,6 +30405,7 @@ var AppBar = function AppBar(_ref) {
|
|
|
30387
30405
|
|
|
30388
30406
|
var tileData = findAppData(coreAppConfig.tiles || []) || {};
|
|
30389
30407
|
var mihelpAppPath = !isCoreRoute ? tileData.mihelpAppPath : null;
|
|
30408
|
+
var isIdeaNoteEnabled = getIdeaNoteEnabledStatus(tileData);
|
|
30390
30409
|
|
|
30391
30410
|
var handleHelpClick = function handleHelpClick() {
|
|
30392
30411
|
var country = storage$1.getSessionItem('dashboard', 'selectedCountryA3code');
|
|
@@ -30405,8 +30424,6 @@ var AppBar = function AppBar(_ref) {
|
|
|
30405
30424
|
isMihelpEnabled = Boolean(mihelpAppPath);
|
|
30406
30425
|
}
|
|
30407
30426
|
|
|
30408
|
-
var isIdeaNoteEnabled = coreAppConfig.enableIdeaNote;
|
|
30409
|
-
|
|
30410
30427
|
var feedbackConfig = function feedbackConfig() {
|
|
30411
30428
|
var _storage$coreConfig;
|
|
30412
30429
|
|