@copart/ops-tool-kit 1.6.1 → 1.6.4

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.
@@ -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.1";
36
+ const version$3 = "1.6.4";
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
- const char = options && options.separator ? options.separator : '.';
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
- var userCountryCode = country || (stack$1 === c ? 'US' : 'GB');
6673
-
6674
- switch (userCountryCode) {
6675
- case 'IN':
6676
- return {
6677
- name: "CITC",
6678
- number: 8003,
6679
- address: {
6680
- city: "HYDERABAD",
6681
- country: "IND",
6682
- line1: "PSR PRIME TOWERS 5TH FLOOR",
6683
- line2: "SURVEY NO 126P, GACHIBOWLI",
6684
- state: "TS",
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
- case 'US':
6692
- return {
6693
- name: "CORPORATE",
6694
- number: 700,
6695
- address: {
6696
- city: "DALLAS",
6697
- country: "USA",
6698
- line1: "14185 DALLAS PARKWAY #300",
6699
- state: "TX",
6700
- zip: {
6701
- zip1: "75254"
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
- case 'UK':
6707
- case 'GB':
6708
- return {
6709
- name: "COPART UK",
6710
- number: 400,
6711
- userSecurityLevel: "1",
6712
- address: {
6713
- city: "WOOTTON",
6714
- country: "GBR",
6715
- line1: "ACREY FIELDS",
6716
- state: "GB",
6717
- zip: {
6718
- zip1: "MK43",
6719
- zip2: ""
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
- default:
6725
- return {
6726
- name: "CORPORATE",
6727
- number: 700,
6728
- address: {
6729
- city: "DALLAS",
6730
- country: "USA",
6731
- line1: "14185 DALLAS PARKWAY #300",
6732
- state: "TX",
6733
- zip: {
6734
- zip1: "75254"
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: 100%;\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) {
@@ -24855,7 +24862,8 @@ var generateAppBarElements = function generateAppBarElements(props, showCallout)
24855
24862
  config = props.config,
24856
24863
  _props$navigateTo = props.navigateTo,
24857
24864
  navigateTo = _props$navigateTo === void 0 ? function (url) {} : _props$navigateTo,
24858
- isMihelpEnabled = props.isMihelpEnabled;
24865
+ isMihelpEnabled = props.isMihelpEnabled,
24866
+ isIdeaNoteEnabled = props.isIdeaNoteEnabled;
24859
24867
  var coreAppConfig = storage.getLocalItem('opsportal-core:config');
24860
24868
  var enableNewToolkitFeatures = coreAppConfig.enableNewToolkitFeatures,
24861
24869
  showSettingsMenuByTileConfig = coreAppConfig.showSettingsMenuByTileConfig;
@@ -25018,6 +25026,16 @@ var generateAppBarElements = function generateAppBarElements(props, showCallout)
25018
25026
  }, {
25019
25027
  key: 'help',
25020
25028
  name: 'Help',
25029
+ onRender: function onRender() {
25030
+ return React__default["default"].createElement("div", {
25031
+ className: "utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items",
25032
+ onClick: handleHelpClick
25033
+ }, React__default["default"].createElement(OverFlowIcon, {
25034
+ name: "help"
25035
+ }), React__default["default"].createElement(OverFlowText, {
25036
+ text: "MiHelp"
25037
+ }));
25038
+ },
25021
25039
  renderIf: isMihelpEnabled,
25022
25040
  render: function render() {
25023
25041
  return React__default["default"].createElement(Help, {
@@ -25068,7 +25086,21 @@ var generateAppBarElements = function generateAppBarElements(props, showCallout)
25068
25086
  }
25069
25087
  }, {
25070
25088
  key: 'ideaNote',
25071
- renderIf: true,
25089
+ name: 'Innov8Hub',
25090
+ onRender: function onRender(_, dismissMenu) {
25091
+ return React__default["default"].createElement("div", {
25092
+ className: "utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items",
25093
+ onClick: function onClick() {
25094
+ props.setIdeaNoteVisible(true);
25095
+ dismissMenu();
25096
+ }
25097
+ }, React__default["default"].createElement(OverFlowIcon, {
25098
+ name: "emoji_objects"
25099
+ }), React__default["default"].createElement(OverFlowText, {
25100
+ text: "Innov8Hub"
25101
+ }));
25102
+ },
25103
+ renderIf: isIdeaNoteEnabled,
25072
25104
  render: function render() {
25073
25105
  return React__default["default"].createElement("div", {
25074
25106
  className: "utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items",
@@ -25079,7 +25111,7 @@ var generateAppBarElements = function generateAppBarElements(props, showCallout)
25079
25111
  return props.setIdeaNoteVisible(true);
25080
25112
  }
25081
25113
  }, React__default["default"].createElement(coreComponents.Icon, {
25082
- name: "reviews",
25114
+ name: "emoji_objects",
25083
25115
  variant: "material",
25084
25116
  style: {
25085
25117
  color: 'white',
@@ -25238,7 +25270,8 @@ var AppBar$1 = function AppBar(props) {
25238
25270
  bottom: '0',
25239
25271
  right: '0',
25240
25272
  height: '100vh',
25241
- width: '443px',
25273
+ width: '90vw',
25274
+ maxWidth: '443px',
25242
25275
  backgroundColor: 'white'
25243
25276
  },
25244
25277
  src: "https://idea-widget.ideanote.io?config=66ff516339"
@@ -25843,7 +25876,7 @@ var IconComponent = function IconComponent(_ref) {
25843
25876
  */
25844
25877
 
25845
25878
  var b = "function" === typeof Symbol && Symbol.for,
25846
- c$1 = b ? Symbol.for("react.element") : 60103,
25879
+ c = b ? Symbol.for("react.element") : 60103,
25847
25880
  d = b ? Symbol.for("react.portal") : 60106,
25848
25881
  e = b ? Symbol.for("react.fragment") : 60107,
25849
25882
  f = b ? Symbol.for("react.strict_mode") : 60108,
@@ -25867,7 +25900,7 @@ function z(a) {
25867
25900
  var u = a.$$typeof;
25868
25901
 
25869
25902
  switch (u) {
25870
- case c$1:
25903
+ case c:
25871
25904
  switch (a = a.type, a) {
25872
25905
  case l:
25873
25906
  case m:
@@ -25906,7 +25939,7 @@ var AsyncMode = l;
25906
25939
  var ConcurrentMode = m;
25907
25940
  var ContextConsumer = k;
25908
25941
  var ContextProvider = h;
25909
- var Element$1 = c$1;
25942
+ var Element$1 = c;
25910
25943
  var ForwardRef = n;
25911
25944
  var Fragment = e;
25912
25945
  var Lazy = t;
@@ -25931,7 +25964,7 @@ var isContextProvider = function (a) {
25931
25964
  };
25932
25965
 
25933
25966
  var isElement = function (a) {
25934
- return "object" === typeof a && null !== a && a.$$typeof === c$1;
25967
+ return "object" === typeof a && null !== a && a.$$typeof === c;
25935
25968
  };
25936
25969
 
25937
25970
  var isForwardRef = function (a) {
@@ -30281,6 +30314,17 @@ var APP_BAR_CONFIGS = {
30281
30314
 
30282
30315
  var coreAppConfig = storage$1.getLocalItem('opsportal-core:config');
30283
30316
  var enableNewToolkitFeatures = coreAppConfig.enableNewToolkitFeatures;
30317
+
30318
+ var getIdeaNoteEnabledStatus = function getIdeaNoteEnabledStatus(tileData) {
30319
+ var coreAppConfig = storage$1.getLocalItem('opsportal-core:config');
30320
+
30321
+ if (isCoreRoute || coreAppConfig.enableIdeaNoteGlobally) {
30322
+ return coreAppConfig.enableIdeaNote;
30323
+ } else {
30324
+ return tileData.enableIdeaNote;
30325
+ }
30326
+ };
30327
+
30284
30328
  var SETTINGS_ITEMS = [{
30285
30329
  key: 'userName',
30286
30330
  name: ''
@@ -30386,6 +30430,7 @@ var AppBar = function AppBar(_ref) {
30386
30430
 
30387
30431
  var tileData = findAppData(coreAppConfig.tiles || []) || {};
30388
30432
  var mihelpAppPath = !isCoreRoute ? tileData.mihelpAppPath : null;
30433
+ var isIdeaNoteEnabled = getIdeaNoteEnabledStatus(tileData);
30389
30434
 
30390
30435
  var handleHelpClick = function handleHelpClick() {
30391
30436
  var country = storage$1.getSessionItem('dashboard', 'selectedCountryA3code');
@@ -30451,6 +30496,7 @@ var AppBar = function AppBar(_ref) {
30451
30496
  onLogoutItemClicked: handleSettingsItemClick,
30452
30497
  handleHelpClick: handleHelpClick,
30453
30498
  isMihelpEnabled: isMihelpEnabled,
30499
+ isIdeaNoteEnabled: isIdeaNoteEnabled,
30454
30500
  sendFeedback: fetcher.sendFeedback,
30455
30501
  feedbackConfig: feedbackConfig(),
30456
30502
  stack: process.env.STACK,