@copart/ops-tool-kit 1.10.0-alpha.29 → 1.10.0-alpha.30
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 +19 -16
- 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__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
|
33
33
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
34
34
|
|
|
35
35
|
const name$f = "@copart/ops-tool-kit";
|
|
36
|
-
const version$5 = "1.10.0-alpha.
|
|
36
|
+
const version$5 = "1.10.0-alpha.30";
|
|
37
37
|
const main$1 = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -2562,29 +2562,24 @@ var isobject = function isObject(val) {
|
|
|
2562
2562
|
};
|
|
2563
2563
|
|
|
2564
2564
|
function isObjectObject(o) {
|
|
2565
|
-
return isobject(o) === true
|
|
2566
|
-
&& Object.prototype.toString.call(o) === '[object Object]';
|
|
2565
|
+
return isobject(o) === true && Object.prototype.toString.call(o) === '[object Object]';
|
|
2567
2566
|
}
|
|
2568
2567
|
|
|
2569
2568
|
var isPlainObject = function isPlainObject(o) {
|
|
2570
|
-
var ctor,prot;
|
|
2569
|
+
var ctor, prot;
|
|
2570
|
+
if (isObjectObject(o) === false) return false; // If has modified constructor
|
|
2571
2571
|
|
|
2572
|
-
if (isObjectObject(o) === false) return false;
|
|
2573
|
-
|
|
2574
|
-
// If has modified constructor
|
|
2575
2572
|
ctor = o.constructor;
|
|
2576
|
-
if (typeof ctor !== 'function') return false;
|
|
2573
|
+
if (typeof ctor !== 'function') return false; // If has modified prototype
|
|
2577
2574
|
|
|
2578
|
-
// If has modified prototype
|
|
2579
2575
|
prot = ctor.prototype;
|
|
2580
|
-
if (isObjectObject(prot) === false) return false;
|
|
2576
|
+
if (isObjectObject(prot) === false) return false; // If constructor does not have an Object-specific method
|
|
2581
2577
|
|
|
2582
|
-
// If constructor does not have an Object-specific method
|
|
2583
2578
|
if (prot.hasOwnProperty('isPrototypeOf') === false) {
|
|
2584
2579
|
return false;
|
|
2585
|
-
}
|
|
2580
|
+
} // Most likely a plain Object
|
|
2581
|
+
|
|
2586
2582
|
|
|
2587
|
-
// Most likely a plain Object
|
|
2588
2583
|
return true;
|
|
2589
2584
|
};
|
|
2590
2585
|
|
|
@@ -2595,11 +2590,13 @@ function set$1(target, path, value, options) {
|
|
|
2595
2590
|
|
|
2596
2591
|
let opts = options || {};
|
|
2597
2592
|
const isArray = Array.isArray(path);
|
|
2593
|
+
|
|
2598
2594
|
if (!isArray && typeof path !== 'string') {
|
|
2599
2595
|
return target;
|
|
2600
2596
|
}
|
|
2601
2597
|
|
|
2602
2598
|
let merge = opts.merge;
|
|
2599
|
+
|
|
2603
2600
|
if (merge && typeof merge !== 'function') {
|
|
2604
2601
|
merge = Object.assign;
|
|
2605
2602
|
}
|
|
@@ -2642,8 +2639,7 @@ function result(target, path, value, merge) {
|
|
|
2642
2639
|
function split(path, options) {
|
|
2643
2640
|
const id = createKey(path, options);
|
|
2644
2641
|
if (set$1.memo[id]) return set$1.memo[id];
|
|
2645
|
-
|
|
2646
|
-
const char = (options && options.separator) ? options.separator : '.';
|
|
2642
|
+
const char = options && options.separator ? options.separator : '.';
|
|
2647
2643
|
let keys = [];
|
|
2648
2644
|
let res = [];
|
|
2649
2645
|
|
|
@@ -2655,25 +2651,32 @@ function split(path, options) {
|
|
|
2655
2651
|
|
|
2656
2652
|
for (let i = 0; i < keys.length; i++) {
|
|
2657
2653
|
let prop = keys[i];
|
|
2654
|
+
|
|
2658
2655
|
while (prop && prop.slice(-1) === '\\' && keys[i + 1]) {
|
|
2659
2656
|
prop = prop.slice(0, -1) + char + keys[++i];
|
|
2660
2657
|
}
|
|
2658
|
+
|
|
2661
2659
|
res.push(prop);
|
|
2662
2660
|
}
|
|
2661
|
+
|
|
2663
2662
|
set$1.memo[id] = res;
|
|
2664
2663
|
return res;
|
|
2665
2664
|
}
|
|
2666
2665
|
|
|
2667
2666
|
function createKey(pattern, options) {
|
|
2668
2667
|
let id = pattern;
|
|
2668
|
+
|
|
2669
2669
|
if (typeof options === 'undefined') {
|
|
2670
2670
|
return id + '';
|
|
2671
2671
|
}
|
|
2672
|
+
|
|
2672
2673
|
const keys = Object.keys(options);
|
|
2674
|
+
|
|
2673
2675
|
for (let i = 0; i < keys.length; i++) {
|
|
2674
2676
|
const key = keys[i];
|
|
2675
2677
|
id += ';' + key + '=' + String(options[key]);
|
|
2676
2678
|
}
|
|
2679
|
+
|
|
2677
2680
|
return id;
|
|
2678
2681
|
}
|
|
2679
2682
|
|
|
@@ -27284,7 +27287,7 @@ var HelpArticle = function HelpArticle(_ref) {
|
|
|
27284
27287
|
style: {
|
|
27285
27288
|
marginBottom: '12px'
|
|
27286
27289
|
}
|
|
27287
|
-
}, "
|
|
27290
|
+
}, "Please allow at least 72 hours for us to get back to you."), React__default["default"].createElement("span", {
|
|
27288
27291
|
style: {
|
|
27289
27292
|
marginBottom: '100px'
|
|
27290
27293
|
}
|