@copart/ops-tool-kit 1.7.0 → 1.7.1

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.0";
36
+ const version$3 = "1.7.1";
37
37
  const main = "dist/ops-tool-kit.js";
38
38
  const style = "dist/ops-tool-kit.css";
39
39
  const files = [
@@ -67,9 +67,9 @@ const devDependencies = {
67
67
  "@babel/runtime": "7.0.0",
68
68
  "@rollup/plugin-babel": "^5.0.3",
69
69
  "@rollup/plugin-commonjs": "^13.0.0",
70
- "@rollup/plugin-node-resolve": "^8.4.0",
71
- "@rollup/plugin-json": "^4.1.0",
72
70
  "@rollup/plugin-image": "2.0.5",
71
+ "@rollup/plugin-json": "^4.1.0",
72
+ "@rollup/plugin-node-resolve": "^8.4.0",
73
73
  autoprefixer: "9.4.2",
74
74
  "babel-jest": "23.6.0",
75
75
  "babel-loader": "8.0.4",
@@ -89,8 +89,8 @@ const devDependencies = {
89
89
  "rollup-plugin-postcss": "^3.1.3"
90
90
  };
91
91
  const peerDependencies = {
92
- react: "*",
93
- "@copart/core-components": "^1.4.47"
92
+ "@copart/core-components": "^1.4.47",
93
+ react: "*"
94
94
  };
95
95
  const dependencies = {
96
96
  "@reacting/purist": "0.1.0",
@@ -106,8 +106,8 @@ const dependencies = {
106
106
  "office-ui-fabric-react": "7.105.5",
107
107
  querystringify: "^2.0.0",
108
108
  ramda: "0.26.1",
109
- "react-portal": "^4.2.0",
110
109
  "react-modal": "3.11.2",
110
+ "react-portal": "^4.2.0",
111
111
  "set-value": "^3.0.0",
112
112
  "storage-changed": "^2.0.0",
113
113
  warning: "^4.0.1"
@@ -6333,6 +6333,7 @@ function () {
6333
6333
  return refreshToken();
6334
6334
 
6335
6335
  case 9:
6336
+ _context.sent;
6336
6337
  _context.next = 12;
6337
6338
  return fetcher.request(error.response.config);
6338
6339
 
@@ -23484,7 +23485,7 @@ var saveSettings$1 = function saveSettings(self) {
23484
23485
  }
23485
23486
  }
23486
23487
  });
23487
- _self$state = self.state, selectedYard = _self$state.selectedYardNumber, selectedRole = _self$state.selectedRole, selectedLanguage = _self$state.selectedLanguage, selectedCurrency = _self$state.selectedCurrency, roles = _self$state.roles;
23488
+ _self$state = self.state, selectedYard = _self$state.selectedYardNumber, selectedRole = _self$state.selectedRole, selectedLanguage = _self$state.selectedLanguage, selectedCurrency = _self$state.selectedCurrency, roles = _self$state.roles, _self$state.selectedRoleOption;
23488
23489
  roleOptionFromState = roles.find(function (roleOption) {
23489
23490
  return frontEndUtils.regex.beautifyRoleText(roleOption.roleName) === selectedRole;
23490
23491
  }) || head$1(roles);
@@ -30490,10 +30491,7 @@ var AppBar = function AppBar(_ref) {
30490
30491
 
30491
30492
  var handleHelpClick = function handleHelpClick() {
30492
30493
  var country = storage$1.getSessionItem('dashboard', 'selectedCountryA3code');
30493
- browserCookies.set('mihelpCountry', country.toLowerCase(), {
30494
- domain: '.copart.com'
30495
- });
30496
- var uri = mihelpAppPath ? "".concat(coreAppConfig.mihelpUri, "/applications/").concat(mihelpAppPath) : coreAppConfig.mihelpUri;
30494
+ var uri = mihelpAppPath ? "".concat(coreAppConfig.mihelpUri, "/applications/").concat(mihelpAppPath, "?re=").concat(country.toLowerCase()) : "".concat(coreAppConfig.mihelpUri, "?re=").concat(country.toLowerCase());
30497
30495
  window.open(uri, "_blank");
30498
30496
  };
30499
30497
 
@@ -34514,7 +34512,7 @@ var core = createCommonjsModule(function (module, exports) {
34514
34512
  (function (root, factory) {
34515
34513
  {
34516
34514
  // CommonJS
34517
- module.exports = exports = factory();
34515
+ module.exports = factory();
34518
34516
  }
34519
34517
  })(commonjsGlobal, function () {
34520
34518
  /*globals window, global, require*/
@@ -35292,7 +35290,7 @@ var x64Core = createCommonjsModule(function (module, exports) {
35292
35290
  (function (root, factory) {
35293
35291
  {
35294
35292
  // CommonJS
35295
- module.exports = exports = factory(core);
35293
+ module.exports = factory(core);
35296
35294
  }
35297
35295
  })(commonjsGlobal, function (CryptoJS) {
35298
35296
  (function (undefined$1) {
@@ -35581,7 +35579,7 @@ var libTypedarrays = createCommonjsModule(function (module, exports) {
35581
35579
  (function (root, factory) {
35582
35580
  {
35583
35581
  // CommonJS
35584
- module.exports = exports = factory(core);
35582
+ module.exports = factory(core);
35585
35583
  }
35586
35584
  })(commonjsGlobal, function (CryptoJS) {
35587
35585
  (function () {
@@ -35639,7 +35637,7 @@ var encUtf16 = createCommonjsModule(function (module, exports) {
35639
35637
  (function (root, factory) {
35640
35638
  {
35641
35639
  // CommonJS
35642
- module.exports = exports = factory(core);
35640
+ module.exports = factory(core);
35643
35641
  }
35644
35642
  })(commonjsGlobal, function (CryptoJS) {
35645
35643
  (function () {
@@ -35781,7 +35779,7 @@ var encBase64 = createCommonjsModule(function (module, exports) {
35781
35779
  (function (root, factory) {
35782
35780
  {
35783
35781
  // CommonJS
35784
- module.exports = exports = factory(core);
35782
+ module.exports = factory(core);
35785
35783
  }
35786
35784
  })(commonjsGlobal, function (CryptoJS) {
35787
35785
  (function () {
@@ -35912,7 +35910,7 @@ var encBase64url = createCommonjsModule(function (module, exports) {
35912
35910
  (function (root, factory) {
35913
35911
  {
35914
35912
  // CommonJS
35915
- module.exports = exports = factory(core);
35913
+ module.exports = factory(core);
35916
35914
  }
35917
35915
  })(commonjsGlobal, function (CryptoJS) {
35918
35916
  (function () {
@@ -36048,7 +36046,7 @@ var md5 = createCommonjsModule(function (module, exports) {
36048
36046
  (function (root, factory) {
36049
36047
  {
36050
36048
  // CommonJS
36051
- module.exports = exports = factory(core);
36049
+ module.exports = factory(core);
36052
36050
  }
36053
36051
  })(commonjsGlobal, function (CryptoJS) {
36054
36052
  (function (Math) {
@@ -36277,7 +36275,7 @@ var sha1$1 = createCommonjsModule(function (module, exports) {
36277
36275
  (function (root, factory) {
36278
36276
  {
36279
36277
  // CommonJS
36280
- module.exports = exports = factory(core);
36278
+ module.exports = factory(core);
36281
36279
  }
36282
36280
  })(commonjsGlobal, function (CryptoJS) {
36283
36281
  (function () {
@@ -36409,7 +36407,7 @@ var sha256 = createCommonjsModule(function (module, exports) {
36409
36407
  (function (root, factory) {
36410
36408
  {
36411
36409
  // CommonJS
36412
- module.exports = exports = factory(core);
36410
+ module.exports = factory(core);
36413
36411
  }
36414
36412
  })(commonjsGlobal, function (CryptoJS) {
36415
36413
  (function (Math) {
@@ -36583,7 +36581,7 @@ var sha224 = createCommonjsModule(function (module, exports) {
36583
36581
  (function (root, factory, undef) {
36584
36582
  {
36585
36583
  // CommonJS
36586
- module.exports = exports = factory(core, sha256);
36584
+ module.exports = factory(core, sha256);
36587
36585
  }
36588
36586
  })(commonjsGlobal, function (CryptoJS) {
36589
36587
  (function () {
@@ -36651,7 +36649,7 @@ var sha512 = createCommonjsModule(function (module, exports) {
36651
36649
  (function (root, factory, undef) {
36652
36650
  {
36653
36651
  // CommonJS
36654
- module.exports = exports = factory(core, x64Core);
36652
+ module.exports = factory(core, x64Core);
36655
36653
  }
36656
36654
  })(commonjsGlobal, function (CryptoJS) {
36657
36655
  (function () {
@@ -36901,7 +36899,7 @@ var sha384 = createCommonjsModule(function (module, exports) {
36901
36899
  (function (root, factory, undef) {
36902
36900
  {
36903
36901
  // CommonJS
36904
- module.exports = exports = factory(core, x64Core, sha512);
36902
+ module.exports = factory(core, x64Core, sha512);
36905
36903
  }
36906
36904
  })(commonjsGlobal, function (CryptoJS) {
36907
36905
  (function () {
@@ -36970,7 +36968,7 @@ var sha3 = createCommonjsModule(function (module, exports) {
36970
36968
  (function (root, factory, undef) {
36971
36969
  {
36972
36970
  // CommonJS
36973
- module.exports = exports = factory(core, x64Core);
36971
+ module.exports = factory(core, x64Core);
36974
36972
  }
36975
36973
  })(commonjsGlobal, function (CryptoJS) {
36976
36974
  (function (Math) {
@@ -37274,7 +37272,7 @@ var ripemd160 = createCommonjsModule(function (module, exports) {
37274
37272
  (function (root, factory) {
37275
37273
  {
37276
37274
  // CommonJS
37277
- module.exports = exports = factory(core);
37275
+ module.exports = factory(core);
37278
37276
  }
37279
37277
  })(commonjsGlobal, function (CryptoJS) {
37280
37278
  /** @preserve
@@ -37499,7 +37497,7 @@ var hmac = createCommonjsModule(function (module, exports) {
37499
37497
  (function (root, factory) {
37500
37498
  {
37501
37499
  // CommonJS
37502
- module.exports = exports = factory(core);
37500
+ module.exports = factory(core);
37503
37501
  }
37504
37502
  })(commonjsGlobal, function (CryptoJS) {
37505
37503
  (function () {
@@ -37627,7 +37625,7 @@ var pbkdf2 = createCommonjsModule(function (module, exports) {
37627
37625
  (function (root, factory, undef) {
37628
37626
  {
37629
37627
  // CommonJS
37630
- module.exports = exports = factory(core, sha1$1, hmac);
37628
+ module.exports = factory(core, sha1$1, hmac);
37631
37629
  }
37632
37630
  })(commonjsGlobal, function (CryptoJS) {
37633
37631
  (function () {
@@ -37758,7 +37756,7 @@ var evpkdf = createCommonjsModule(function (module, exports) {
37758
37756
  (function (root, factory, undef) {
37759
37757
  {
37760
37758
  // CommonJS
37761
- module.exports = exports = factory(core, sha1$1, hmac);
37759
+ module.exports = factory(core, sha1$1, hmac);
37762
37760
  }
37763
37761
  })(commonjsGlobal, function (CryptoJS) {
37764
37762
  (function () {
@@ -37880,7 +37878,7 @@ var cipherCore = createCommonjsModule(function (module, exports) {
37880
37878
  (function (root, factory, undef) {
37881
37879
  {
37882
37880
  // CommonJS
37883
- module.exports = exports = factory(core, evpkdf);
37881
+ module.exports = factory(core, evpkdf);
37884
37882
  }
37885
37883
  })(commonjsGlobal, function (CryptoJS) {
37886
37884
  /**
@@ -38722,7 +38720,7 @@ var modeCfb = createCommonjsModule(function (module, exports) {
38722
38720
  (function (root, factory, undef) {
38723
38721
  {
38724
38722
  // CommonJS
38725
- module.exports = exports = factory(core, cipherCore);
38723
+ module.exports = factory(core, cipherCore);
38726
38724
  }
38727
38725
  })(commonjsGlobal, function (CryptoJS) {
38728
38726
  /**
@@ -38785,7 +38783,7 @@ var modeCtr = createCommonjsModule(function (module, exports) {
38785
38783
  (function (root, factory, undef) {
38786
38784
  {
38787
38785
  // CommonJS
38788
- module.exports = exports = factory(core, cipherCore);
38786
+ module.exports = factory(core, cipherCore);
38789
38787
  }
38790
38788
  })(commonjsGlobal, function (CryptoJS) {
38791
38789
  /**
@@ -38830,7 +38828,7 @@ var modeCtrGladman = createCommonjsModule(function (module, exports) {
38830
38828
  (function (root, factory, undef) {
38831
38829
  {
38832
38830
  // CommonJS
38833
- module.exports = exports = factory(core, cipherCore);
38831
+ module.exports = factory(core, cipherCore);
38834
38832
  }
38835
38833
  })(commonjsGlobal, function (CryptoJS) {
38836
38834
  /** @preserve
@@ -38923,7 +38921,7 @@ var modeOfb = createCommonjsModule(function (module, exports) {
38923
38921
  (function (root, factory, undef) {
38924
38922
  {
38925
38923
  // CommonJS
38926
- module.exports = exports = factory(core, cipherCore);
38924
+ module.exports = factory(core, cipherCore);
38927
38925
  }
38928
38926
  })(commonjsGlobal, function (CryptoJS) {
38929
38927
  /**
@@ -38965,7 +38963,7 @@ var modeEcb = createCommonjsModule(function (module, exports) {
38965
38963
  (function (root, factory, undef) {
38966
38964
  {
38967
38965
  // CommonJS
38968
- module.exports = exports = factory(core, cipherCore);
38966
+ module.exports = factory(core, cipherCore);
38969
38967
  }
38970
38968
  })(commonjsGlobal, function (CryptoJS) {
38971
38969
  /**
@@ -38995,7 +38993,7 @@ var padAnsix923 = createCommonjsModule(function (module, exports) {
38995
38993
  (function (root, factory, undef) {
38996
38994
  {
38997
38995
  // CommonJS
38998
- module.exports = exports = factory(core, cipherCore);
38996
+ module.exports = factory(core, cipherCore);
38999
38997
  }
39000
38998
  })(commonjsGlobal, function (CryptoJS) {
39001
38999
  /**
@@ -39031,7 +39029,7 @@ var padIso10126 = createCommonjsModule(function (module, exports) {
39031
39029
  (function (root, factory, undef) {
39032
39030
  {
39033
39031
  // CommonJS
39034
- module.exports = exports = factory(core, cipherCore);
39032
+ module.exports = factory(core, cipherCore);
39035
39033
  }
39036
39034
  })(commonjsGlobal, function (CryptoJS) {
39037
39035
  /**
@@ -39062,7 +39060,7 @@ var padIso97971 = createCommonjsModule(function (module, exports) {
39062
39060
  (function (root, factory, undef) {
39063
39061
  {
39064
39062
  // CommonJS
39065
- module.exports = exports = factory(core, cipherCore);
39063
+ module.exports = factory(core, cipherCore);
39066
39064
  }
39067
39065
  })(commonjsGlobal, function (CryptoJS) {
39068
39066
  /**
@@ -39091,7 +39089,7 @@ var padZeropadding = createCommonjsModule(function (module, exports) {
39091
39089
  (function (root, factory, undef) {
39092
39090
  {
39093
39091
  // CommonJS
39094
- module.exports = exports = factory(core, cipherCore);
39092
+ module.exports = factory(core, cipherCore);
39095
39093
  }
39096
39094
  })(commonjsGlobal, function (CryptoJS) {
39097
39095
  /**
@@ -39128,7 +39126,7 @@ var padNopadding = createCommonjsModule(function (module, exports) {
39128
39126
  (function (root, factory, undef) {
39129
39127
  {
39130
39128
  // CommonJS
39131
- module.exports = exports = factory(core, cipherCore);
39129
+ module.exports = factory(core, cipherCore);
39132
39130
  }
39133
39131
  })(commonjsGlobal, function (CryptoJS) {
39134
39132
  /**
@@ -39147,7 +39145,7 @@ var formatHex = createCommonjsModule(function (module, exports) {
39147
39145
  (function (root, factory, undef) {
39148
39146
  {
39149
39147
  // CommonJS
39150
- module.exports = exports = factory(core, cipherCore);
39148
+ module.exports = factory(core, cipherCore);
39151
39149
  }
39152
39150
  })(commonjsGlobal, function (CryptoJS) {
39153
39151
  (function (undefined$1) {
@@ -39207,7 +39205,7 @@ var aes = createCommonjsModule(function (module, exports) {
39207
39205
  (function (root, factory, undef) {
39208
39206
  {
39209
39207
  // CommonJS
39210
- module.exports = exports = factory(core, encBase64, md5, evpkdf, cipherCore);
39208
+ module.exports = factory(core, encBase64, md5, evpkdf, cipherCore);
39211
39209
  }
39212
39210
  })(commonjsGlobal, function (CryptoJS) {
39213
39211
  (function () {
@@ -39416,7 +39414,7 @@ var tripledes = createCommonjsModule(function (module, exports) {
39416
39414
  (function (root, factory, undef) {
39417
39415
  {
39418
39416
  // CommonJS
39419
- module.exports = exports = factory(core, encBase64, md5, evpkdf, cipherCore);
39417
+ module.exports = factory(core, encBase64, md5, evpkdf, cipherCore);
39420
39418
  }
39421
39419
  })(commonjsGlobal, function (CryptoJS) {
39422
39420
  (function () {
@@ -40144,7 +40142,7 @@ var rc4 = createCommonjsModule(function (module, exports) {
40144
40142
  (function (root, factory, undef) {
40145
40143
  {
40146
40144
  // CommonJS
40147
- module.exports = exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40145
+ module.exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40148
40146
  }
40149
40147
  })(commonjsGlobal, function (CryptoJS) {
40150
40148
  (function () {
@@ -40268,7 +40266,7 @@ var rabbit = createCommonjsModule(function (module, exports) {
40268
40266
  (function (root, factory, undef) {
40269
40267
  {
40270
40268
  // CommonJS
40271
- module.exports = exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40269
+ module.exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40272
40270
  }
40273
40271
  })(commonjsGlobal, function (CryptoJS) {
40274
40272
  (function () {
@@ -40423,7 +40421,7 @@ var rabbitLegacy = createCommonjsModule(function (module, exports) {
40423
40421
  (function (root, factory, undef) {
40424
40422
  {
40425
40423
  // CommonJS
40426
- module.exports = exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40424
+ module.exports = factory(core, encBase64, md5, evpkdf, cipherCore);
40427
40425
  }
40428
40426
  })(commonjsGlobal, function (CryptoJS) {
40429
40427
  (function () {
@@ -40577,7 +40575,7 @@ var cryptoJs = createCommonjsModule(function (module, exports) {
40577
40575
  (function (root, factory, undef) {
40578
40576
  {
40579
40577
  // CommonJS
40580
- module.exports = exports = factory(core, x64Core, libTypedarrays, encUtf16, encBase64, encBase64url, md5, sha1$1, sha256, sha224, sha512, sha384, sha3, ripemd160, hmac, pbkdf2, evpkdf, cipherCore, modeCfb, modeCtr, modeCtrGladman, modeOfb, modeEcb, padAnsix923, padIso10126, padIso97971, padZeropadding, padNopadding, formatHex, aes, tripledes, rc4, rabbit, rabbitLegacy);
40578
+ module.exports = factory(core, x64Core, libTypedarrays, encUtf16, encBase64, encBase64url, md5, sha1$1, sha256, sha224, sha512, sha384, sha3, ripemd160, hmac, pbkdf2, evpkdf, cipherCore, modeCfb, modeCtr, modeCtrGladman, modeOfb, modeEcb, padAnsix923, padIso10126, padIso97971, padZeropadding, padNopadding, formatHex, aes, tripledes, rc4, rabbit, rabbitLegacy);
40581
40579
  }
40582
40580
  })(commonjsGlobal, function (CryptoJS) {
40583
40581
  return CryptoJS;