@pie-lib/graphing-module 2.5.0 → 2.5.2

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/module/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import {_dll_prop_types, _dll_lodash, _dll_pie_lib__render_ui, _dll_material_ui__core_styles, _dll_react, _dll_classnames, _dll_react_dom, _dll_debug, _dll_material_ui__core, _dll_material_ui__core_styles_color_manipulator, _dll_material_ui__icons} from "../../shared-module@^1.14.0/module/index.js";
2
- import {_dll_pie_lib__editable_html} from "../../editable-html-module@^5.6.0/module/index.js";
3
- import {_dll_pie_lib__drag} from "../../drag-module@^2.8.0/module/index.js";
4
- import {_dll_pie_lib__config_ui} from "../../config-module@^2.19.0/module/index.js";
1
+ import {_dll_prop_types, _dll_lodash, _dll_pie_lib__render_ui, _dll_material_ui__core_styles, _dll_react, _dll_classnames, _dll_react_dom, _dll_debug, _dll_material_ui__core, _dll_material_ui__core_styles_color_manipulator, _dll_material_ui__icons} from "../../shared-module@^1.14.2/module/index.js";
2
+ import {_dll_pie_lib__editable_html} from "../../editable-html-module@^5.6.2/module/index.js";
3
+ import {_dll_pie_lib__drag} from "../../drag-module@^2.8.2/module/index.js";
4
+ import {_dll_pie_lib__config_ui} from "../../config-module@^2.19.2/module/index.js";
5
5
  var xhtml = "http://www.w3.org/1999/xhtml";
6
6
  var namespaces = {
7
7
  svg: "http://www.w3.org/2000/svg",
@@ -1092,7 +1092,7 @@ const cn$4 = _dll_classnames;
1092
1092
  const {withStyles: withStyles$n} = _dll_material_ui__core_styles;
1093
1093
  const PropTypes$G = _dll_prop_types;
1094
1094
  const EditableHtml$2 = _dll_pie_lib__editable_html;
1095
- const _jsxFileName$C = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/plot/src/label.jsx";
1095
+ const _jsxFileName$C = "/home/circleci/repo/packages/plot/src/label.jsx";
1096
1096
  const LabelComponent = props => {
1097
1097
  const {classes, disabledLabel, graphHeight, graphWidth, isChartBottomLabel, isDefineChartBottomLabel, isChartLeftLabel, isDefineChartLeftLabel, placeholder, text, side, onChange, mathMlOptions = {}, charactersLimit, titleHeight} = props;
1098
1098
  const [rotatedToHorizontal, setRotatedToHorizontal] = useState$2(false);
@@ -1233,7 +1233,7 @@ const cn$3 = _dll_classnames;
1233
1233
  const {color: color$i} = _dll_pie_lib__render_ui;
1234
1234
  const {Readable: Readable$2} = _dll_pie_lib__render_ui;
1235
1235
  const EditableHtml$1 = _dll_pie_lib__editable_html;
1236
- const _jsxFileName$B = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/plot/src/root.jsx";
1236
+ const _jsxFileName$B = "/home/circleci/repo/packages/plot/src/root.jsx";
1237
1237
  function _optionalChain$1(ops) {
1238
1238
  let lastAccessLHS = undefined;
1239
1239
  let value = ops[0];
@@ -1262,9 +1262,12 @@ class Root$1 extends React$K.Component {
1262
1262
  Root$1.prototype.__init2.call(this);
1263
1263
  Root$1.prototype.__init3.call(this);
1264
1264
  Root$1.prototype.__init4.call(this);
1265
+ Root$1.prototype.__init5.call(this);
1266
+ Root$1.prototype.__init6.call(this);
1265
1267
  this.state = {
1266
1268
  titleHeight: 0
1267
1269
  };
1270
+ this.resizeObserver = null;
1268
1271
  }
1269
1272
  static __initStatic() {
1270
1273
  this.propTypes = {
@@ -1311,10 +1314,12 @@ class Root$1 extends React$K.Component {
1311
1314
  const g = select(this.g);
1312
1315
  g.on('mousemove', this.mouseMove.bind(this, g));
1313
1316
  this.measureTitleHeight();
1317
+ this.setupVisibilityObserver();
1314
1318
  }
1315
1319
  componentWillUnmount() {
1316
1320
  const g = select(this.g);
1317
1321
  g.on('mousemove', null);
1322
+ this.cleanupVisibilityObserver();
1318
1323
  }
1319
1324
  componentDidUpdate(prevProps) {
1320
1325
  if (prevProps.title !== this.props.title) {
@@ -1350,12 +1355,43 @@ class Root$1 extends React$K.Component {
1350
1355
  titleHeight,
1351
1356
  prevTitle: this.props.title
1352
1357
  });
1358
+ if (!this.resizeObserver && typeof ResizeObserver !== 'undefined') {
1359
+ this.setupVisibilityObserver();
1360
+ }
1353
1361
  }
1354
1362
  };
1355
1363
  }
1356
1364
  __init4() {
1357
1365
  this.handleKeyDown = () => {
1358
- setTimeout(this.measureTitleHeight, 0);
1366
+ setTimeout(() => {
1367
+ this.measureTitleHeight();
1368
+ }, 0);
1369
+ };
1370
+ }
1371
+ __init5() {
1372
+ this.setupVisibilityObserver = () => {
1373
+ if (typeof ResizeObserver !== 'undefined' && this.titleRef) {
1374
+ this.resizeObserver = new ResizeObserver(entries => {
1375
+ for (let entry of entries) {
1376
+ const {width, height} = entry.contentRect;
1377
+ if (width > 0 && height > 0) {
1378
+ setTimeout(() => {
1379
+ this.measureTitleHeight();
1380
+ }, 10);
1381
+ break;
1382
+ }
1383
+ }
1384
+ });
1385
+ this.resizeObserver.observe(this.titleRef);
1386
+ }
1387
+ };
1388
+ }
1389
+ __init6() {
1390
+ this.cleanupVisibilityObserver = () => {
1391
+ if (this.resizeObserver) {
1392
+ this.resizeObserver.disconnect();
1393
+ this.resizeObserver = null;
1394
+ }
1359
1395
  };
1360
1396
  }
1361
1397
  render() {
@@ -1377,7 +1413,7 @@ class Root$1 extends React$K.Component {
1377
1413
  __self: this,
1378
1414
  __source: {
1379
1415
  fileName: _jsxFileName$B,
1380
- lineNumber: 168
1416
+ lineNumber: 204
1381
1417
  }
1382
1418
  }, showPixelGuides && React$K.createElement('div', {
1383
1419
  className: classes.topPixelGuides,
@@ -1387,7 +1423,7 @@ class Root$1 extends React$K.Component {
1387
1423
  __self: this,
1388
1424
  __source: {
1389
1425
  fileName: _jsxFileName$B,
1390
- lineNumber: 170
1426
+ lineNumber: 206
1391
1427
  }
1392
1428
  }, [...Array(nbOfVerticalLines + 1).keys()].map(value => React$K.createElement(Readable$2, {
1393
1429
  false: true,
@@ -1395,26 +1431,26 @@ class Root$1 extends React$K.Component {
1395
1431
  __self: this,
1396
1432
  __source: {
1397
1433
  fileName: _jsxFileName$B,
1398
- lineNumber: 172
1434
+ lineNumber: 208
1399
1435
  }
1400
1436
  }, React$K.createElement('div', {
1401
1437
  className: classes.topPixelIndicator,
1402
1438
  __self: this,
1403
1439
  __source: {
1404
1440
  fileName: _jsxFileName$B,
1405
- lineNumber: 173
1441
+ lineNumber: 209
1406
1442
  }
1407
1443
  }, React$K.createElement('div', {
1408
1444
  __self: this,
1409
1445
  __source: {
1410
1446
  fileName: _jsxFileName$B,
1411
- lineNumber: 174
1447
+ lineNumber: 210
1412
1448
  }
1413
1449
  }, value * 100, "px"), React$K.createElement('div', {
1414
1450
  __self: this,
1415
1451
  __source: {
1416
1452
  fileName: _jsxFileName$B,
1417
- lineNumber: 175
1453
+ lineNumber: 211
1418
1454
  }
1419
1455
  }, "|"))))), showTitle && (disabledTitle ? React$K.createElement('div', {
1420
1456
  ref: r => this.titleRef = r,
@@ -1433,14 +1469,14 @@ class Root$1 extends React$K.Component {
1433
1469
  __self: this,
1434
1470
  __source: {
1435
1471
  fileName: _jsxFileName$B,
1436
- lineNumber: 183
1472
+ lineNumber: 219
1437
1473
  }
1438
1474
  }) : React$K.createElement('div', {
1439
1475
  ref: r => this.titleRef = r,
1440
1476
  __self: this,
1441
1477
  __source: {
1442
1478
  fileName: _jsxFileName$B,
1443
- lineNumber: 193
1479
+ lineNumber: 229
1444
1480
  }
1445
1481
  }, React$K.createElement(EditableHtml$1, {
1446
1482
  style: isChart && ({
@@ -1462,7 +1498,7 @@ class Root$1 extends React$K.Component {
1462
1498
  __self: this,
1463
1499
  __source: {
1464
1500
  fileName: _jsxFileName$B,
1465
- lineNumber: 194
1501
+ lineNumber: 230
1466
1502
  }
1467
1503
  }))), showLabels && !isChart && React$K.createElement(Label$1, {
1468
1504
  side: "top",
@@ -1477,14 +1513,14 @@ class Root$1 extends React$K.Component {
1477
1513
  __self: this,
1478
1514
  __source: {
1479
1515
  fileName: _jsxFileName$B,
1480
- lineNumber: 217
1516
+ lineNumber: 253
1481
1517
  }
1482
1518
  }), React$K.createElement('div', {
1483
1519
  className: classes.wrapper,
1484
1520
  __self: this,
1485
1521
  __source: {
1486
1522
  fileName: _jsxFileName$B,
1487
- lineNumber: 229
1523
+ lineNumber: 265
1488
1524
  }
1489
1525
  }, showLabels && React$K.createElement(Label$1, {
1490
1526
  side: "left",
@@ -1501,7 +1537,7 @@ class Root$1 extends React$K.Component {
1501
1537
  __self: this,
1502
1538
  __source: {
1503
1539
  fileName: _jsxFileName$B,
1504
- lineNumber: 231
1540
+ lineNumber: 267
1505
1541
  }
1506
1542
  }), React$K.createElement('svg', {
1507
1543
  width: finalWidth,
@@ -1510,7 +1546,7 @@ class Root$1 extends React$K.Component {
1510
1546
  __self: this,
1511
1547
  __source: {
1512
1548
  fileName: _jsxFileName$B,
1513
- lineNumber: 245
1549
+ lineNumber: 281
1514
1550
  }
1515
1551
  }, React$K.createElement('g', {
1516
1552
  ref: r => {
@@ -1524,7 +1560,7 @@ class Root$1 extends React$K.Component {
1524
1560
  __self: this,
1525
1561
  __source: {
1526
1562
  fileName: _jsxFileName$B,
1527
- lineNumber: 246
1563
+ lineNumber: 282
1528
1564
  }
1529
1565
  }, children)), showLabels && !isChart && React$K.createElement(Label$1, {
1530
1566
  side: "right",
@@ -1539,7 +1575,7 @@ class Root$1 extends React$K.Component {
1539
1575
  __self: this,
1540
1576
  __source: {
1541
1577
  fileName: _jsxFileName$B,
1542
- lineNumber: 260
1578
+ lineNumber: 296
1543
1579
  }
1544
1580
  }), showPixelGuides && React$K.createElement('div', {
1545
1581
  className: classes.sidePixelGuides,
@@ -1550,7 +1586,7 @@ class Root$1 extends React$K.Component {
1550
1586
  __self: this,
1551
1587
  __source: {
1552
1588
  fileName: _jsxFileName$B,
1553
- lineNumber: 273
1589
+ lineNumber: 309
1554
1590
  }
1555
1591
  }, [...Array(nbOfHorizontalLines + 1).keys()].reverse().map(value => React$K.createElement(Readable$2, {
1556
1592
  false: true,
@@ -1558,14 +1594,14 @@ class Root$1 extends React$K.Component {
1558
1594
  __self: this,
1559
1595
  __source: {
1560
1596
  fileName: _jsxFileName$B,
1561
- lineNumber: 281
1597
+ lineNumber: 317
1562
1598
  }
1563
1599
  }, React$K.createElement('div', {
1564
1600
  className: classes.sidePixelIndicator,
1565
1601
  __self: this,
1566
1602
  __source: {
1567
1603
  fileName: _jsxFileName$B,
1568
- lineNumber: 282
1604
+ lineNumber: 318
1569
1605
  }
1570
1606
  }, "━ ", value * 100, "px"))))), showLabels && React$K.createElement(Label$1, {
1571
1607
  side: "bottom",
@@ -1583,7 +1619,7 @@ class Root$1 extends React$K.Component {
1583
1619
  __self: this,
1584
1620
  __source: {
1585
1621
  fileName: _jsxFileName$B,
1586
- lineNumber: 289
1622
+ lineNumber: 325
1587
1623
  }
1588
1624
  }));
1589
1625
  }
@@ -3022,7 +3058,7 @@ const React$J = _dll_react;
3022
3058
  const PropTypes$E = _dll_prop_types;
3023
3059
  const debug$d = _dll_debug;
3024
3060
  const {isFunction: isFunction$1} = _dll_lodash;
3025
- const _jsxFileName$A = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/plot/src/grid-draggable.jsx";
3061
+ const _jsxFileName$A = "/home/circleci/repo/packages/plot/src/grid-draggable.jsx";
3026
3062
  var _class$1;
3027
3063
  const log$d = debug$d('pie-lib:plot:grid-draggable');
3028
3064
  const deltaFn = (scale, snap, val) => delta => {
@@ -6982,7 +7018,7 @@ const React$E = _dll_react;
6982
7018
  const PropTypes$z = _dll_prop_types;
6983
7019
  const classNames$g = _dll_classnames;
6984
7020
  const {withStyles: withStyles$l} = _dll_material_ui__core_styles;
6985
- const _jsxFileName$z = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/axis/arrow.jsx";
7021
+ const _jsxFileName$z = "/home/circleci/repo/packages/graphing/src/axis/arrow.jsx";
6986
7022
  const style = theme => ({
6987
7023
  root: {
6988
7024
  fill: `var(--arrow-color, ${theme.palette.common.black})`
@@ -7190,7 +7226,7 @@ const PropTypes$y = _dll_prop_types;
7190
7226
  const {withStyles: withStyles$k} = _dll_material_ui__core;
7191
7227
  const {color: color$g} = _dll_pie_lib__render_ui;
7192
7228
  const {Readable: Readable$1} = _dll_pie_lib__render_ui;
7193
- const _jsxFileName$y = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/axis/axes.jsx";
7229
+ const _jsxFileName$y = "/home/circleci/repo/packages/graphing/src/axis/axes.jsx";
7194
7230
  const AxisPropTypes = {
7195
7231
  includeArrows: PropTypes$y.object,
7196
7232
  graphProps: PropTypes$y.object
@@ -7785,7 +7821,7 @@ function Grid$2(_ref) {
7785
7821
  const React$A = _dll_react;
7786
7822
  const PropTypes$v = _dll_prop_types;
7787
7823
  const {withStyles: withStyles$j} = _dll_material_ui__core_styles;
7788
- const _jsxFileName$x = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/grid.jsx";
7824
+ const _jsxFileName$x = "/home/circleci/repo/packages/graphing/src/grid.jsx";
7789
7825
  class Grid extends React$A.Component {
7790
7826
  constructor(...args) {
7791
7827
  super(...args);
@@ -7885,7 +7921,7 @@ const {color: color$f} = _dll_pie_lib__render_ui;
7885
7921
  const {Readable: Readable} = _dll_pie_lib__render_ui;
7886
7922
  const cn$2 = _dll_classnames;
7887
7923
  const EditableHtml = _dll_pie_lib__editable_html;
7888
- const _jsxFileName$w = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/labels.jsx";
7924
+ const _jsxFileName$w = "/home/circleci/repo/packages/graphing/src/labels.jsx";
7889
7925
  const rotations = {
7890
7926
  left: -90,
7891
7927
  top: 0,
@@ -8113,7 +8149,7 @@ Labels.__initStatic3();
8113
8149
  Labels.__initStatic4();
8114
8150
  const React$y = _dll_react;
8115
8151
  const PropTypes$t = _dll_prop_types;
8116
- const _jsxFileName$v = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/bg.jsx";
8152
+ const _jsxFileName$v = "/home/circleci/repo/packages/graphing/src/bg.jsx";
8117
8153
  class Bg extends React$y.Component {
8118
8154
  constructor(...args) {
8119
8155
  super(...args);
@@ -8197,7 +8233,7 @@ const PropTypes$s = _dll_prop_types;
8197
8233
  const {isEqual: isEqual$4} = _dll_lodash;
8198
8234
  const {cloneDeep: cloneDeep$1} = _dll_lodash;
8199
8235
  const debug$b = _dll_debug;
8200
- const _jsxFileName$u = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/graph.jsx";
8236
+ const _jsxFileName$u = "/home/circleci/repo/packages/graphing/src/graph.jsx";
8201
8237
  const log$b = debug$b('pie-lib:graphing:graph');
8202
8238
  const graphPropTypes = {
8203
8239
  axesSettings: PropTypes$s.shape(AxisPropTypes),
@@ -10183,7 +10219,7 @@ const PropTypes$q = _dll_prop_types;
10183
10219
  const {color: color$d} = _dll_pie_lib__render_ui;
10184
10220
  const {withStyles: withStyles$h} = _dll_material_ui__core_styles;
10185
10221
  const {InputBase: InputBase} = _dll_material_ui__core;
10186
- const _jsxFileName$t = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/coordinates-label.jsx";
10222
+ const _jsxFileName$t = "/home/circleci/repo/packages/graphing/src/coordinates-label.jsx";
10187
10223
  const styles$9 = theme => ({
10188
10224
  input: {
10189
10225
  fontFamily: theme.typography.fontFamily,
@@ -10248,7 +10284,7 @@ CoordinatesLabel.propTypes = {
10248
10284
  };
10249
10285
  var CoordinatesLabel$1 = withStyles$h(styles$9)(CoordinatesLabel);
10250
10286
  const React$s = _dll_react;
10251
- const _jsxFileName$s = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/icons/MissingSVG.jsx";
10287
+ const _jsxFileName$s = "/home/circleci/repo/packages/graphing/src/tools/shared/icons/MissingSVG.jsx";
10252
10288
  const MissingSVG = ({scale, x, y}) => React$s.createElement('svg', {
10253
10289
  width: "9",
10254
10290
  height: "10",
@@ -10275,7 +10311,7 @@ const MissingSVG = ({scale, x, y}) => React$s.createElement('svg', {
10275
10311
  }
10276
10312
  }));
10277
10313
  const React$r = _dll_react;
10278
- const _jsxFileName$r = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/icons/CorrectSVG.jsx";
10314
+ const _jsxFileName$r = "/home/circleci/repo/packages/graphing/src/tools/shared/icons/CorrectSVG.jsx";
10279
10315
  const CorrectSVG = ({scale, x, y}) => React$r.createElement('svg', {
10280
10316
  width: "11",
10281
10317
  height: "13",
@@ -10303,7 +10339,7 @@ const CorrectSVG = ({scale, x, y}) => React$r.createElement('svg', {
10303
10339
  }
10304
10340
  }));
10305
10341
  const React$q = _dll_react;
10306
- const _jsxFileName$q = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/icons/IncorrectSVG.jsx";
10342
+ const _jsxFileName$q = "/home/circleci/repo/packages/graphing/src/tools/shared/icons/IncorrectSVG.jsx";
10307
10343
  const IncorrectSVG = ({scale, x, y}) => React$q.createElement('svg', {
10308
10344
  width: "14px",
10309
10345
  height: "14px",
@@ -10334,7 +10370,7 @@ const React$p = _dll_react;
10334
10370
  const PropTypes$p = _dll_prop_types;
10335
10371
  const classNames$f = _dll_classnames;
10336
10372
  const ReactDOM$4 = _dll_react_dom;
10337
- const _jsxFileName$p = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/point/base-point.jsx";
10373
+ const _jsxFileName$p = "/home/circleci/repo/packages/graphing/src/tools/shared/point/base-point.jsx";
10338
10374
  class RawBp extends React$p.Component {
10339
10375
  static __initStatic() {
10340
10376
  this.propTypes = {
@@ -10447,7 +10483,7 @@ const React$o = _dll_react;
10447
10483
  const PropTypes$o = _dll_prop_types;
10448
10484
  const classNames$e = _dll_classnames;
10449
10485
  const {isEqual: isEqual$3} = _dll_lodash;
10450
- const _jsxFileName$o = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/point/arrow-point.jsx";
10486
+ const _jsxFileName$o = "/home/circleci/repo/packages/graphing/src/tools/shared/point/arrow-point.jsx";
10451
10487
  class RawArrow extends React$o.Component {
10452
10488
  static __initStatic() {
10453
10489
  this.propTypes = {
@@ -10510,7 +10546,7 @@ RawArrow.__initStatic();
10510
10546
  RawArrow.__initStatic2();
10511
10547
  const React$n = _dll_react;
10512
10548
  const PropTypes$n = _dll_prop_types;
10513
- const _jsxFileName$n = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/arrow-head.jsx";
10549
+ const _jsxFileName$n = "/home/circleci/repo/packages/graphing/src/tools/shared/arrow-head.jsx";
10514
10550
  const ArrowHead = ({size, transform, points}) => React$n.createElement('polygon', {
10515
10551
  points: points || `0,0 ${size},${size / 2} 0,${size}`,
10516
10552
  transform: transform,
@@ -10569,7 +10605,7 @@ ArrowMarker.defaultProps = {
10569
10605
  const React$m = _dll_react;
10570
10606
  const PropTypes$m = _dll_prop_types;
10571
10607
  const classNames$d = _dll_classnames;
10572
- const _jsxFileName$m = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/point/arrow.jsx";
10608
+ const _jsxFileName$m = "/home/circleci/repo/packages/graphing/src/tools/shared/point/arrow.jsx";
10573
10609
  class Arrow$1 extends React$m.Component {
10574
10610
  static __initStatic() {
10575
10611
  this.propTypes = {
@@ -10983,7 +11019,7 @@ const useDebounce = (value, delay) => {
10983
11019
  };
10984
11020
  const React$l = _dll_react;
10985
11021
  const PropTypes$k = _dll_prop_types;
10986
- const _jsxFileName$l = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/label-svg-icon.jsx";
11022
+ const _jsxFileName$l = "/home/circleci/repo/packages/graphing/src/label-svg-icon.jsx";
10987
11023
  const SvgIcon = ({type}) => {
10988
11024
  const icons = {
10989
11025
  correct: React$l.createElement('svg', {
@@ -11060,7 +11096,7 @@ const cn$1 = _dll_classnames;
11060
11096
  const PropTypes$j = _dll_prop_types;
11061
11097
  const {withStyles: withStyles$f} = _dll_material_ui__core_styles;
11062
11098
  const {color: color$b} = _dll_pie_lib__render_ui;
11063
- const _jsxFileName$k = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/mark-label.jsx";
11099
+ const _jsxFileName$k = "/home/circleci/repo/packages/graphing/src/mark-label.jsx";
11064
11100
  const inputStyles = theme => ({
11065
11101
  float: 'right',
11066
11102
  padding: theme.spacing.unit * 0.5,
@@ -11332,7 +11368,7 @@ const React$j = _dll_react;
11332
11368
  const ReactDOM$3 = _dll_react_dom;
11333
11369
  const {isEqual: isEqual$2} = _dll_lodash;
11334
11370
  const {isEmpty: isEmpty$3} = _dll_lodash;
11335
- const _jsxFileName$j = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/point/component.jsx";
11371
+ const _jsxFileName$j = "/home/circleci/repo/packages/graphing/src/tools/point/component.jsx";
11336
11372
  class Point extends React$j.Component {
11337
11373
  static __initStatic() {
11338
11374
  this.propTypes = {
@@ -11488,7 +11524,7 @@ const PropTypes$i = _dll_prop_types;
11488
11524
  const {withStyles: withStyles$e} = _dll_material_ui__core_styles;
11489
11525
  const classNames$c = _dll_classnames;
11490
11526
  const {color: color$a} = _dll_pie_lib__render_ui;
11491
- const _jsxFileName$i = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/circle/bg-circle.jsx";
11527
+ const _jsxFileName$i = "/home/circleci/repo/packages/graphing/src/tools/circle/bg-circle.jsx";
11492
11528
  class RawCircle extends React$i.Component {
11493
11529
  static __initStatic() {
11494
11530
  this.propTypes = {
@@ -11576,7 +11612,7 @@ const PropTypes$h = _dll_prop_types;
11576
11612
  const {withStyles: withStyles$d} = _dll_material_ui__core_styles;
11577
11613
  const classNames$b = _dll_classnames;
11578
11614
  const {color: color$9} = _dll_pie_lib__render_ui;
11579
- const _jsxFileName$h = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/line/line-path.jsx";
11615
+ const _jsxFileName$h = "/home/circleci/repo/packages/graphing/src/tools/shared/line/line-path.jsx";
11580
11616
  class RawLinePath extends React$h.Component {
11581
11617
  static __initStatic() {
11582
11618
  this.propTypes = {
@@ -11673,7 +11709,7 @@ const {isEmpty: isEmpty$2} = _dll_lodash;
11673
11709
  const PropTypes$g = _dll_prop_types;
11674
11710
  const ReactDOM$2 = _dll_react_dom;
11675
11711
  const {color: color$8} = _dll_pie_lib__render_ui;
11676
- const _jsxFileName$g = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/line/index.jsx";
11712
+ const _jsxFileName$g = "/home/circleci/repo/packages/graphing/src/tools/shared/line/index.jsx";
11677
11713
  var _class;
11678
11714
  const lineTool = (type, Component) => () => ({
11679
11715
  type,
@@ -12153,7 +12189,7 @@ const styles$5 = {
12153
12189
  };
12154
12190
  const React$f = _dll_react;
12155
12191
  const PropTypes$f = _dll_prop_types;
12156
- const _jsxFileName$f = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/line/with-root-edge.jsx";
12192
+ const _jsxFileName$f = "/home/circleci/repo/packages/graphing/src/tools/shared/line/with-root-edge.jsx";
12157
12193
  const toRootEdge = m => {
12158
12194
  const out = {
12159
12195
  ...m
@@ -12280,7 +12316,7 @@ const classNames$a = _dll_classnames;
12280
12316
  const ReactDOM$1 = _dll_react_dom;
12281
12317
  const {isEmpty: isEmpty$1} = _dll_lodash;
12282
12318
  const {color: color$7} = _dll_pie_lib__render_ui;
12283
- const _jsxFileName$e = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/circle/component.jsx";
12319
+ const _jsxFileName$e = "/home/circleci/repo/packages/graphing/src/tools/circle/component.jsx";
12284
12320
  const opacityPulsate = opacity => ({
12285
12321
  '0%': {
12286
12322
  opacity: '0.0'
@@ -12632,7 +12668,7 @@ const PropTypes$d = _dll_prop_types;
12632
12668
  const {withStyles: withStyles$b} = _dll_material_ui__core_styles;
12633
12669
  const {color: color$6} = _dll_pie_lib__render_ui;
12634
12670
  const classNames$9 = _dll_classnames;
12635
- const _jsxFileName$d = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/polygon/line.jsx";
12671
+ const _jsxFileName$d = "/home/circleci/repo/packages/graphing/src/tools/polygon/line.jsx";
12636
12672
  class RawLine extends React$d.Component {
12637
12673
  static __initStatic() {
12638
12674
  this.propTypes = {
@@ -12721,7 +12757,7 @@ const {withStyles: withStyles$a} = _dll_material_ui__core_styles;
12721
12757
  const classNames$8 = _dll_classnames;
12722
12758
  const {color: color$5} = _dll_pie_lib__render_ui;
12723
12759
  const {fade: fade} = _dll_material_ui__core_styles_color_manipulator;
12724
- const _jsxFileName$c = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/polygon/polygon.jsx";
12760
+ const _jsxFileName$c = "/home/circleci/repo/packages/graphing/src/tools/polygon/polygon.jsx";
12725
12761
  const getPointString = (points, scale) => {
12726
12762
  return (points || []).map(p => {
12727
12763
  const scaledPoint = {
@@ -12816,7 +12852,7 @@ const {initial: initial} = _dll_lodash;
12816
12852
  const {isEmpty: isEmpty} = _dll_lodash;
12817
12853
  const debug$9 = _dll_debug;
12818
12854
  const ReactDOM = _dll_react_dom;
12819
- const _jsxFileName$b = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/polygon/component.jsx";
12855
+ const _jsxFileName$b = "/home/circleci/repo/packages/graphing/src/tools/polygon/component.jsx";
12820
12856
  const log$9 = debug$9('pie-lib:graphing:polygon');
12821
12857
  const buildLines = (points, closed) => {
12822
12858
  const expanded = points.reduce((acc, p, index) => {
@@ -13575,7 +13611,7 @@ const React$a = _dll_react;
13575
13611
  const PropTypes$a = _dll_prop_types;
13576
13612
  const classNames$7 = _dll_classnames;
13577
13613
  const {withStyles: withStyles$8} = _dll_material_ui__core_styles;
13578
- const _jsxFileName$a = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/line/component.jsx";
13614
+ const _jsxFileName$a = "/home/circleci/repo/packages/graphing/src/tools/line/component.jsx";
13579
13615
  const lineStyles$2 = theme => ({
13580
13616
  line: styles$5.line(theme),
13581
13617
  enabledArrow: styles$5.arrow(theme),
@@ -13651,7 +13687,7 @@ const React$9 = _dll_react;
13651
13687
  const PropTypes$9 = _dll_prop_types;
13652
13688
  const {withStyles: withStyles$7} = _dll_material_ui__core_styles;
13653
13689
  const classNames$6 = _dll_classnames;
13654
- const _jsxFileName$9 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/segment/component.jsx";
13690
+ const _jsxFileName$9 = "/home/circleci/repo/packages/graphing/src/tools/segment/component.jsx";
13655
13691
  const lineStyles$1 = theme => ({
13656
13692
  line: styles$5.line(theme),
13657
13693
  disabled: styles$5.disabled(theme),
@@ -13696,7 +13732,7 @@ const React$8 = _dll_react;
13696
13732
  const PropTypes$8 = _dll_prop_types;
13697
13733
  const {withStyles: withStyles$6} = _dll_material_ui__core_styles;
13698
13734
  const classNames$5 = _dll_classnames;
13699
- const _jsxFileName$8 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/ray/component.jsx";
13735
+ const _jsxFileName$8 = "/home/circleci/repo/packages/graphing/src/tools/ray/component.jsx";
13700
13736
  const rayStyles = theme => ({
13701
13737
  line: styles$5.line(theme),
13702
13738
  enabledArrow: styles$5.arrow(theme),
@@ -13771,7 +13807,7 @@ const React$7 = _dll_react;
13771
13807
  const PropTypes$7 = _dll_prop_types;
13772
13808
  const classNames$4 = _dll_classnames;
13773
13809
  const {withStyles: withStyles$5} = _dll_material_ui__core_styles;
13774
- const _jsxFileName$7 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/vector/component.jsx";
13810
+ const _jsxFileName$7 = "/home/circleci/repo/packages/graphing/src/tools/vector/component.jsx";
13775
13811
  const lineStyles = theme => ({
13776
13812
  line: styles$5.line(theme),
13777
13813
  disabled: styles$5.disabled(theme),
@@ -17008,7 +17044,7 @@ const {color: color$4} = _dll_pie_lib__render_ui;
17008
17044
  const {withDragContext: withDragContext} = _dll_pie_lib__drag;
17009
17045
  const {DragSource: DragSource} = _dll_pie_lib__drag;
17010
17046
  const {DropTarget: DropTarget} = _dll_pie_lib__drag;
17011
- const _jsxFileName$6 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/toggle-bar.jsx";
17047
+ const _jsxFileName$6 = "/home/circleci/repo/packages/graphing/src/toggle-bar.jsx";
17012
17048
  function _optionalChain(ops) {
17013
17049
  let lastAccessLHS = undefined;
17014
17050
  let value = ops[0];
@@ -17280,7 +17316,7 @@ const DragTool = DropTarget(DRAG_TYPE, itemTarget, collectTarget)(DragSource(DRA
17280
17316
  const React$5 = _dll_react;
17281
17317
  const PropTypes$5 = _dll_prop_types;
17282
17318
  const classNames$3 = _dll_classnames;
17283
- const _jsxFileName$5 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tool-menu.jsx";
17319
+ const _jsxFileName$5 = "/home/circleci/repo/packages/graphing/src/tool-menu.jsx";
17284
17320
  class ToolMenu extends React$5.Component {
17285
17321
  constructor(...args) {
17286
17322
  super(...args);
@@ -17344,7 +17380,7 @@ const classNames$2 = _dll_classnames;
17344
17380
  const {Button: Button} = _dll_material_ui__core;
17345
17381
  const {withStyles: withStyles$3} = _dll_material_ui__core;
17346
17382
  const {color: color$3} = _dll_pie_lib__render_ui;
17347
- const _jsxFileName$4 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/undo-redo.jsx";
17383
+ const _jsxFileName$4 = "/home/circleci/repo/packages/graphing/src/undo-redo.jsx";
17348
17384
  const {translator} = Translator;
17349
17385
  class UndoRedo extends React$4.Component {
17350
17386
  static __initStatic() {
@@ -17432,7 +17468,7 @@ const {ExpansionPanelDetails: ExpansionPanelDetails$1} = _dll_material_ui__core;
17432
17468
  const {ExpansionPanelSummary: ExpansionPanelSummary$1} = _dll_material_ui__core;
17433
17469
  const {Typography: Typography$1} = _dll_material_ui__core;
17434
17470
  const {ExpandMore: ExpandMoreIcon$1} = _dll_material_ui__icons;
17435
- const _jsxFileName$3 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/graph-with-controls.jsx";
17471
+ const _jsxFileName$3 = "/home/circleci/repo/packages/graphing/src/graph-with-controls.jsx";
17436
17472
  const setToolbarAvailability = toolbarTools => toolsArr.map(tA => ({
17437
17473
  ...tA,
17438
17474
  toolbar: !!toolbarTools.find(t => t === tA.type)
@@ -17681,7 +17717,7 @@ const lastActionMiddleware = () => next => action => {
17681
17717
  const React$2 = _dll_react;
17682
17718
  const PropTypes$2 = _dll_prop_types;
17683
17719
  const {isEqual: isEqual} = _dll_lodash;
17684
- const _jsxFileName$2 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/container/index.jsx";
17720
+ const _jsxFileName$2 = "/home/circleci/repo/packages/graphing/src/container/index.jsx";
17685
17721
  const mapStateToProps = s => ({
17686
17722
  marks: s.marks.present
17687
17723
  });
@@ -17773,7 +17809,7 @@ const {ExpandMore: ExpandMoreIcon} = _dll_material_ui__icons;
17773
17809
  const {NumberTextFieldCustom: NumberTextFieldCustom} = _dll_pie_lib__config_ui;
17774
17810
  const {Toggle: Toggle} = _dll_pie_lib__config_ui;
17775
17811
  const EditableHTML = _dll_pie_lib__editable_html;
17776
- const _jsxFileName$1 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/grid-setup.jsx";
17812
+ const _jsxFileName$1 = "/home/circleci/repo/packages/graphing/src/grid-setup.jsx";
17777
17813
  const GridConfig = props => {
17778
17814
  const {classes, disabled, displayedFields, labelValue, labelValues, gridValue, gridValues, onChange} = props;
17779
17815
  const {labelStep = {}, step = {}} = displayedFields;
@@ -18309,7 +18345,7 @@ const PropTypes = _dll_prop_types;
18309
18345
  const classNames = _dll_classnames;
18310
18346
  const {withStyles: withStyles} = _dll_material_ui__core_styles;
18311
18347
  const {color: color} = _dll_pie_lib__render_ui;
18312
- const _jsxFileName = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/key-legend.jsx";
18348
+ const _jsxFileName = "/home/circleci/repo/packages/graphing/src/key-legend.jsx";
18313
18349
  const styles = theme => ({
18314
18350
  container: {
18315
18351
  backgroundColor: color.defaults.WHITE,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/graphing-module",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
4
4
  "mappings": {
5
5
  "@pie-lib/plot": "_dll_pie_lib__plot",
6
6
  "@pie-lib/graphing": "_dll_pie_lib__graphing"
@@ -19,19 +19,19 @@
19
19
  "modules": [
20
20
  {
21
21
  "name": "@pie-lib/shared-module",
22
- "version": "^1.14.0"
22
+ "version": "^1.14.2"
23
23
  },
24
24
  {
25
25
  "name": "@pie-lib/editable-html-module",
26
- "version": "^5.6.0"
26
+ "version": "^5.6.2"
27
27
  },
28
28
  {
29
29
  "name": "@pie-lib/drag-module",
30
- "version": "^2.8.0"
30
+ "version": "^2.8.2"
31
31
  },
32
32
  {
33
33
  "name": "@pie-lib/config-module",
34
- "version": "^2.19.0"
34
+ "version": "^2.19.2"
35
35
  }
36
36
  ],
37
37
  "isLocal": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/graphing-module",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
4
4
  "module": "module/index.js",
5
5
  "repository": "pie-framework/pie-lib",
6
6
  "publishConfig": {