@copart/ops-tool-kit 1.7.6-alpha.2 → 1.7.6-alpha.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.7.6-alpha.2";
36
+ const version$3 = "1.7.6-alpha.4";
37
37
  const main = "dist/ops-tool-kit.js";
38
38
  const style = "dist/ops-tool-kit.css";
39
39
  const files = [
@@ -3906,28 +3906,28 @@ function () {
3906
3906
  */
3907
3907
  // This method of obtaining a reference to the global object needs to be
3908
3908
  // kept identical to the way it is obtained in runtime.js
3909
- var g$2 = function () {
3909
+ var g$1 = function () {
3910
3910
  return this || typeof self === "object" && self;
3911
3911
  }() || Function("return this")(); // Use `getOwnPropertyNames` because not all browsers support calling
3912
3912
  // `hasOwnProperty` on the global `self` object in a worker. See #183.
3913
3913
 
3914
3914
 
3915
- var hadRuntime = g$2.regeneratorRuntime && Object.getOwnPropertyNames(g$2).indexOf("regeneratorRuntime") >= 0; // Save the old regeneratorRuntime in case it needs to be restored later.
3915
+ var hadRuntime = g$1.regeneratorRuntime && Object.getOwnPropertyNames(g$1).indexOf("regeneratorRuntime") >= 0; // Save the old regeneratorRuntime in case it needs to be restored later.
3916
3916
 
3917
- var oldRuntime = hadRuntime && g$2.regeneratorRuntime; // Force reevalutation of runtime.js.
3917
+ var oldRuntime = hadRuntime && g$1.regeneratorRuntime; // Force reevalutation of runtime.js.
3918
3918
 
3919
- g$2.regeneratorRuntime = undefined;
3919
+ g$1.regeneratorRuntime = undefined;
3920
3920
  var runtimeModule = runtime;
3921
3921
 
3922
3922
  if (hadRuntime) {
3923
3923
  // Restore the original runtime.
3924
- g$2.regeneratorRuntime = oldRuntime;
3924
+ g$1.regeneratorRuntime = oldRuntime;
3925
3925
  } else {
3926
3926
  // Remove the global property added by runtime.js.
3927
3927
  try {
3928
- delete g$2.regeneratorRuntime;
3928
+ delete g$1.regeneratorRuntime;
3929
3929
  } catch (e) {
3930
- g$2.regeneratorRuntime = undefined;
3930
+ g$1.regeneratorRuntime = undefined;
3931
3931
  }
3932
3932
  }
3933
3933
 
@@ -26040,7 +26040,7 @@ var b = "function" === typeof Symbol && Symbol.for,
26040
26040
  d = b ? Symbol.for("react.portal") : 60106,
26041
26041
  e = b ? Symbol.for("react.fragment") : 60107,
26042
26042
  f = b ? Symbol.for("react.strict_mode") : 60108,
26043
- g$1 = b ? Symbol.for("react.profiler") : 60114,
26043
+ g = b ? Symbol.for("react.profiler") : 60114,
26044
26044
  h = b ? Symbol.for("react.provider") : 60109,
26045
26045
  k = b ? Symbol.for("react.context") : 60110,
26046
26046
  l = b ? Symbol.for("react.async_mode") : 60111,
@@ -26065,7 +26065,7 @@ function z(a) {
26065
26065
  case l:
26066
26066
  case m:
26067
26067
  case e:
26068
- case g$1:
26068
+ case g:
26069
26069
  case f:
26070
26070
  case p:
26071
26071
  return a;
@@ -26105,7 +26105,7 @@ var Fragment = e;
26105
26105
  var Lazy = t;
26106
26106
  var Memo = r;
26107
26107
  var Portal = d;
26108
- var Profiler = g$1;
26108
+ var Profiler = g;
26109
26109
  var StrictMode = f;
26110
26110
  var Suspense = p;
26111
26111
 
@@ -26148,7 +26148,7 @@ var isPortal = function (a) {
26148
26148
  };
26149
26149
 
26150
26150
  var isProfiler = function (a) {
26151
- return z(a) === g$1;
26151
+ return z(a) === g;
26152
26152
  };
26153
26153
 
26154
26154
  var isStrictMode = function (a) {
@@ -26160,7 +26160,7 @@ var isSuspense = function (a) {
26160
26160
  };
26161
26161
 
26162
26162
  var isValidElementType = function (a) {
26163
- return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g$1 || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
26163
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
26164
26164
  };
26165
26165
 
26166
26166
  var typeOf = z;
@@ -30700,7 +30700,6 @@ var emailAddressAllowed = function emailAddressAllowed(emailAddress, tile) {
30700
30700
 
30701
30701
  var appFunctionIdAllowed = function appFunctionIdAllowed() {
30702
30702
  var coreAppPermissions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
30703
- var allPermissionIds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
30704
30703
  var permissionIds = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
30705
30704
  var tile = arguments.length > 3 ? arguments[3] : undefined;
30706
30705
  var id = tile.appFunctionId;
@@ -30708,12 +30707,7 @@ var appFunctionIdAllowed = function appFunctionIdAllowed() {
30708
30707
  if (!id) {
30709
30708
  return true; // not defined in config so just allow the tile to be viewed for now
30710
30709
  } else if (global.STACK === 'g') {
30711
- if (['view_miorg', 'view_mitime', 'view_midriverpay'].includes(id)) {
30712
- // special case for miorg/mitime to check all permissions
30713
- return includes$1(id, allPermissionIds);
30714
- } else {
30715
- return includes$1(id, permissionIds);
30716
- }
30710
+ return includes$1(id, permissionIds);
30717
30711
  } // Check appfunction in opsportal-core permissions
30718
30712
  else {
30719
30713
  return !isEmpty$2(coreAppPermissions) && !isNil$1(coreAppPermissions.find(function (permission) {
@@ -30883,7 +30877,7 @@ function (_React$PureComponent) {
30883
30877
  return _context.abrupt("return", this.allowAccess(PATH_NOT_FOUND));
30884
30878
 
30885
30879
  case 15:
30886
- if (!(process.env.STACK !== g)) {
30880
+ if (!(process.env.STACK !== 'g')) {
30887
30881
  _context.next = 21;
30888
30882
  break;
30889
30883
  }