@copart/ops-tool-kit 1.12.10 → 1.12.11

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/changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.12.10
2
+
3
+ - Added support for user status visibility by app via `storage.coreConfig?.checkUserStatusByApp` flag and `showUserStatus` property in app tile configurations.
4
+
1
5
  ### 1.12.9
2
6
 
3
7
  - Added support for hiding user status functionality via `storage.coreConfig?.hideUserStatus` config flag. When enabled, user status data is not loaded and status indicators are not displayed in LogOutMenu and ProfileDetails components.
@@ -47,7 +47,7 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
47
47
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
48
48
 
49
49
  const name$r = "@copart/ops-tool-kit";
50
- const version$8 = "1.12.10";
50
+ const version$8 = "1.12.11";
51
51
  const main$1 = "dist/ops-tool-kit.js";
52
52
  const style = "dist/ops-tool-kit.css";
53
53
  const files = [
@@ -70296,6 +70296,11 @@ var NO_SCROLL = {};
70296
70296
  var defaultSystemPrompt = 'Format all of the subsequent AI responses in valid HTML5, without markdown code blocks or any additional formatting, ensuring that the response consists only of raw HTML tags. Format your response in this structure:<html> <p> Your answer here </p> </html>';
70297
70297
  var AppFrame = function AppFrame(props) {
70298
70298
  var _props$mihelpAgentPro, _props$mihelpAgentPro2, _props$mihelpAgentPro3, _props$mihelpAgentPro4, _props$mihelpAgentPro5, _props$mihelpAgentPro6, _props$mihelpAgentPro7, _props$mihelpAgentPro8;
70299
+ // Set window.toolkitEnv synchronously so it's available for child components that mount immediately
70300
+ if (props.env) {
70301
+ window.toolkitEnv = props.env;
70302
+ }
70303
+
70299
70304
  // Check if the child AppBar is mounted
70300
70305
  var _useState = React.useState(false),
70301
70306
  _useState2 = _slicedToArray(_useState, 2),
@@ -70385,7 +70390,7 @@ var AppFrame = function AppFrame(props) {
70385
70390
  window.toolkitEnv = props.env;
70386
70391
  }
70387
70392
  setChatBotEnableStatus();
70388
- }, [props]);
70393
+ }, [props.env]);
70389
70394
  var authGuardProps = _objectSpread2(_objectSpread2({}, props), {}, {
70390
70395
  setAppBarMounted: setAppBarMounted
70391
70396
  });