qesuite 1.0.69 → 1.0.71

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/index.js CHANGED
@@ -168,7 +168,7 @@ var Specification = class {
168
168
  full_tolerance;
169
169
  // methods
170
170
  ParseSpec(spec) {
171
- let string = spec.replace(/\,/g, ".").toUpperCase().replace(/MIN/g, ">").replace(/MAX/g, "<").replace(/\-\-/g, "\u2014");
171
+ let string = spec.replace(/\,/g, ".").toUpperCase().replace(/MIN/g, ">").replace(/MAX/g, "<").replace(/\-\-/g, "\u2014").replace("+-", "\xB1").replace("+/-", "\xB1");
172
172
  let nominal;
173
173
  let USL;
174
174
  let LSL;
@@ -12338,7 +12338,6 @@ function NestedGRR(data, tolerance, graphName, hideGraph) {
12338
12338
  };
12339
12339
  results.chart = CreateSummaryChart([charts.VarComp, charts.ByPart, charts.R, charts.ByOperator, charts.Xbar], graphName ? `Gage R&R (Nested) Report for ${graphName}` : "Gage R&R (Nested) Report");
12340
12340
  }
12341
- document.body.appendChild(results.chart);
12342
12341
  return results;
12343
12342
  }
12344
12343
  function NumberOfDistinctCategories(stdParts, stdGage) {
package/dist/index.mjs CHANGED
@@ -42,7 +42,7 @@ var Specification = class {
42
42
  full_tolerance;
43
43
  // methods
44
44
  ParseSpec(spec) {
45
- let string = spec.replace(/\,/g, ".").toUpperCase().replace(/MIN/g, ">").replace(/MAX/g, "<").replace(/\-\-/g, "\u2014");
45
+ let string = spec.replace(/\,/g, ".").toUpperCase().replace(/MIN/g, ">").replace(/MAX/g, "<").replace(/\-\-/g, "\u2014").replace("+-", "\xB1").replace("+/-", "\xB1");
46
46
  let nominal;
47
47
  let USL;
48
48
  let LSL;
@@ -12212,7 +12212,6 @@ function NestedGRR(data, tolerance, graphName, hideGraph) {
12212
12212
  };
12213
12213
  results.chart = CreateSummaryChart([charts.VarComp, charts.ByPart, charts.R, charts.ByOperator, charts.Xbar], graphName ? `Gage R&R (Nested) Report for ${graphName}` : "Gage R&R (Nested) Report");
12214
12214
  }
12215
- document.body.appendChild(results.chart);
12216
12215
  return results;
12217
12216
  }
12218
12217
  function NumberOfDistinctCategories(stdParts, stdGage) {
package/index.ts CHANGED
@@ -52,7 +52,7 @@ export class Specification{
52
52
  ParseSpec(spec: string) {
53
53
  // This function parses specs and returns an array of values, in this order:
54
54
  // Nominal, USL, LSL, Units, Tolerance(if UT and LT differ then {UT, LT})
55
- let string = spec.replace(/\,/g, ".").toUpperCase().replace(/MIN/g, ">").replace(/MAX/g, "<").replace(/\-\-/g,"—");
55
+ let string = spec.replace(/\,/g, ".").toUpperCase().replace(/MIN/g, ">").replace(/MAX/g, "<").replace(/\-\-/g,"—").replace("+-", "±").replace("+/-", "±");
56
56
  let nominal;
57
57
  let USL;
58
58
  let LSL;
@@ -13216,7 +13216,7 @@ export function NestedGRR(data: GRRData, tolerance?: number, graphName?: boolean
13216
13216
  results.chart = CreateSummaryChart([charts.VarComp, charts.ByPart, charts.R, charts.ByOperator, charts.Xbar], graphName ? `Gage R&R (Nested) Report for ${graphName}` : 'Gage R&R (Nested) Report')
13217
13217
 
13218
13218
  }
13219
- document.body.appendChild(results.chart)
13219
+
13220
13220
  return results
13221
13221
  }
13222
13222
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qesuite",
3
- "version": "1.0.69",
3
+ "version": "1.0.71",
4
4
  "description": "Performs advanced statistical analysis of data. Specifically designed for engineering statistical analysis",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -0,0 +1 @@
1
+ Removed document.body.appendChild() from NestedGRR()
@@ -0,0 +1 @@
1
+ - added a replacement of +- and +/- with ± on parse spec