@pie-lib/graphing-module 2.0.0 → 2.2.0

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,51 +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.10.0/module/index.js";
2
- import {_dll_pie_lib__editable_html} from "../../editable-html-module@^5.1.0/module/index.js";
3
- import {_dll_pie_lib__drag} from "../../drag-module@^2.4.0/module/index.js";
4
- import {_dll_pie_lib__config_ui} from "../../config-module@^2.14.0/module/index.js";
5
- const PropTypes$H = _dll_prop_types;
6
- const BaseDomainRangeType = {
7
- min: PropTypes$H.number.isRequired,
8
- max: PropTypes$H.number.isRequired,
9
- step: PropTypes$H.number
10
- };
11
- const DomainType = PropTypes$H.shape(BaseDomainRangeType);
12
- const RangeType = PropTypes$H.shape(BaseDomainRangeType);
13
- const SizeType = PropTypes$H.shape({
14
- width: PropTypes$H.number.isRequired,
15
- height: PropTypes$H.number.isRequired
16
- });
17
- const PointType = PropTypes$H.shape({
18
- x: PropTypes$H.number.isRequired,
19
- y: PropTypes$H.number.isRequired
20
- });
21
- const ChildrenType = PropTypes$H.oneOfType([PropTypes$H.arrayOf(PropTypes$H.node), PropTypes$H.node]).isRequired;
22
- const ScaleType = PropTypes$H.shape({
23
- x: PropTypes$H.func.isRequired,
24
- y: PropTypes$H.func.isRequired
25
- });
26
- const SnapType = PropTypes$H.shape({
27
- x: PropTypes$H.func.isRequired,
28
- y: PropTypes$H.func.isRequired
29
- });
30
- const GraphPropsType = PropTypes$H.shape({
31
- scale: ScaleType.isRequired,
32
- snap: SnapType.isRequired,
33
- domain: DomainType.isRequired,
34
- range: RangeType.isRequired,
35
- size: SizeType.isRequired
36
- });
37
- var types = Object.freeze({
38
- __proto__: null,
39
- BaseDomainRangeType: BaseDomainRangeType,
40
- DomainType: DomainType,
41
- RangeType: RangeType,
42
- SizeType: SizeType,
43
- PointType: PointType,
44
- ChildrenType: ChildrenType,
45
- ScaleType: ScaleType,
46
- SnapType: SnapType,
47
- GraphPropsType: GraphPropsType
48
- });
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.11.0/module/index.js";
2
+ import {_dll_pie_lib__editable_html} from "../../editable-html-module@^5.3.0/module/index.js";
3
+ import {_dll_pie_lib__drag} from "../../drag-module@^2.5.0/module/index.js";
4
+ import {_dll_pie_lib__config_ui} from "../../config-module@^2.16.0/module/index.js";
49
5
  var xhtml = "http://www.w3.org/1999/xhtml";
50
6
  var namespaces = {
51
7
  svg: "http://www.w3.org/2000/svg",
@@ -736,6 +692,50 @@ function mouse(node) {
736
692
  if (event.changedTouches) event = event.changedTouches[0];
737
693
  return clientPoint(node, event);
738
694
  }
695
+ const PropTypes$H = _dll_prop_types;
696
+ const BaseDomainRangeType = {
697
+ min: PropTypes$H.number.isRequired,
698
+ max: PropTypes$H.number.isRequired,
699
+ step: PropTypes$H.number
700
+ };
701
+ const DomainType = PropTypes$H.shape(BaseDomainRangeType);
702
+ const RangeType = PropTypes$H.shape(BaseDomainRangeType);
703
+ const SizeType = PropTypes$H.shape({
704
+ width: PropTypes$H.number.isRequired,
705
+ height: PropTypes$H.number.isRequired
706
+ });
707
+ const PointType = PropTypes$H.shape({
708
+ x: PropTypes$H.number.isRequired,
709
+ y: PropTypes$H.number.isRequired
710
+ });
711
+ const ChildrenType = PropTypes$H.oneOfType([PropTypes$H.arrayOf(PropTypes$H.node), PropTypes$H.node]).isRequired;
712
+ const ScaleType = PropTypes$H.shape({
713
+ x: PropTypes$H.func.isRequired,
714
+ y: PropTypes$H.func.isRequired
715
+ });
716
+ const SnapType = PropTypes$H.shape({
717
+ x: PropTypes$H.func.isRequired,
718
+ y: PropTypes$H.func.isRequired
719
+ });
720
+ const GraphPropsType = PropTypes$H.shape({
721
+ scale: ScaleType.isRequired,
722
+ snap: SnapType.isRequired,
723
+ domain: DomainType.isRequired,
724
+ range: RangeType.isRequired,
725
+ size: SizeType.isRequired
726
+ });
727
+ var types = Object.freeze({
728
+ __proto__: null,
729
+ BaseDomainRangeType: BaseDomainRangeType,
730
+ DomainType: DomainType,
731
+ RangeType: RangeType,
732
+ SizeType: SizeType,
733
+ PointType: PointType,
734
+ ChildrenType: ChildrenType,
735
+ ScaleType: ScaleType,
736
+ SnapType: SnapType,
737
+ GraphPropsType: GraphPropsType
738
+ });
739
739
  var commonjsGlobal$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
740
740
  var invariant = function (condition, format, a, b, c, d, e, f) {
741
741
  {
@@ -1089,7 +1089,7 @@ const cn$4 = _dll_classnames;
1089
1089
  const {withStyles: withStyles$n} = _dll_material_ui__core_styles;
1090
1090
  const PropTypes$G = _dll_prop_types;
1091
1091
  const EditableHtml$2 = _dll_pie_lib__editable_html;
1092
- const _jsxFileName$C = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/plot/src/label.jsx";
1092
+ const _jsxFileName$C = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/plot/src/label.jsx";
1093
1093
  const LabelComponent = props => {
1094
1094
  const {classes, disabledLabel, graphHeight, graphWidth, isChartBottomLabel, isDefineChartBottomLabel, isChartLeftLabel, isDefineChartLeftLabel, placeholder, text, side, onChange, mathMlOptions = {}, charactersLimit, titleHeight} = props;
1095
1095
  const [rotatedToHorizontal, setRotatedToHorizontal] = useState$2(false);
@@ -1226,11 +1226,11 @@ var Label$1 = withStyles$n(theme => ({
1226
1226
  const React$K = _dll_react;
1227
1227
  const {withStyles: withStyles$m} = _dll_material_ui__core_styles;
1228
1228
  const PropTypes$F = _dll_prop_types;
1229
+ const cn$3 = _dll_classnames;
1229
1230
  const {color: color$i} = _dll_pie_lib__render_ui;
1230
1231
  const {Readable: Readable$2} = _dll_pie_lib__render_ui;
1231
- const cn$3 = _dll_classnames;
1232
1232
  const EditableHtml$1 = _dll_pie_lib__editable_html;
1233
- const _jsxFileName$B = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/plot/src/root.jsx";
1233
+ const _jsxFileName$B = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/plot/src/root.jsx";
1234
1234
  function _optionalChain$1(ops) {
1235
1235
  let lastAccessLHS = undefined;
1236
1236
  let value = ops[0];
@@ -1340,7 +1340,7 @@ class Root$1 extends React$K.Component {
1340
1340
  }
1341
1341
  __init3() {
1342
1342
  this.measureTitleHeight = () => {
1343
- const titleElement = document.getElementById('editable-title');
1343
+ const titleElement = this.titleRef;
1344
1344
  if (titleElement) {
1345
1345
  const titleHeight = titleElement.clientHeight;
1346
1346
  this.setState({
@@ -1374,7 +1374,7 @@ class Root$1 extends React$K.Component {
1374
1374
  __self: this,
1375
1375
  __source: {
1376
1376
  fileName: _jsxFileName$B,
1377
- lineNumber: 167
1377
+ lineNumber: 168
1378
1378
  }
1379
1379
  }, showPixelGuides && React$K.createElement('div', {
1380
1380
  className: classes.topPixelGuides,
@@ -1384,7 +1384,7 @@ class Root$1 extends React$K.Component {
1384
1384
  __self: this,
1385
1385
  __source: {
1386
1386
  fileName: _jsxFileName$B,
1387
- lineNumber: 169
1387
+ lineNumber: 170
1388
1388
  }
1389
1389
  }, [...Array(nbOfVerticalLines + 1).keys()].map(value => React$K.createElement(Readable$2, {
1390
1390
  false: true,
@@ -1392,29 +1392,29 @@ class Root$1 extends React$K.Component {
1392
1392
  __self: this,
1393
1393
  __source: {
1394
1394
  fileName: _jsxFileName$B,
1395
- lineNumber: 171
1395
+ lineNumber: 172
1396
1396
  }
1397
1397
  }, React$K.createElement('div', {
1398
1398
  className: classes.topPixelIndicator,
1399
1399
  __self: this,
1400
1400
  __source: {
1401
1401
  fileName: _jsxFileName$B,
1402
- lineNumber: 172
1402
+ lineNumber: 173
1403
1403
  }
1404
1404
  }, React$K.createElement('div', {
1405
1405
  __self: this,
1406
1406
  __source: {
1407
1407
  fileName: _jsxFileName$B,
1408
- lineNumber: 173
1408
+ lineNumber: 174
1409
1409
  }
1410
1410
  }, value * 100, "px"), React$K.createElement('div', {
1411
1411
  __self: this,
1412
1412
  __source: {
1413
1413
  fileName: _jsxFileName$B,
1414
- lineNumber: 174
1414
+ lineNumber: 175
1415
1415
  }
1416
1416
  }, "|"))))), showTitle && (disabledTitle ? React$K.createElement('div', {
1417
- id: "editable-title",
1417
+ ref: r => this.titleRef = r,
1418
1418
  style: {
1419
1419
  ...isChart && ({
1420
1420
  width: finalWidth
@@ -1430,14 +1430,14 @@ class Root$1 extends React$K.Component {
1430
1430
  __self: this,
1431
1431
  __source: {
1432
1432
  fileName: _jsxFileName$B,
1433
- lineNumber: 182
1433
+ lineNumber: 183
1434
1434
  }
1435
1435
  }) : React$K.createElement('div', {
1436
- id: "editable-title",
1436
+ ref: r => this.titleRef = r,
1437
1437
  __self: this,
1438
1438
  __source: {
1439
1439
  fileName: _jsxFileName$B,
1440
- lineNumber: 192
1440
+ lineNumber: 193
1441
1441
  }
1442
1442
  }, React$K.createElement(EditableHtml$1, {
1443
1443
  style: isChart && ({
@@ -1459,7 +1459,7 @@ class Root$1 extends React$K.Component {
1459
1459
  __self: this,
1460
1460
  __source: {
1461
1461
  fileName: _jsxFileName$B,
1462
- lineNumber: 193
1462
+ lineNumber: 194
1463
1463
  }
1464
1464
  }))), showLabels && !isChart && React$K.createElement(Label$1, {
1465
1465
  side: "top",
@@ -1474,14 +1474,14 @@ class Root$1 extends React$K.Component {
1474
1474
  __self: this,
1475
1475
  __source: {
1476
1476
  fileName: _jsxFileName$B,
1477
- lineNumber: 216
1477
+ lineNumber: 217
1478
1478
  }
1479
1479
  }), React$K.createElement('div', {
1480
1480
  className: classes.wrapper,
1481
1481
  __self: this,
1482
1482
  __source: {
1483
1483
  fileName: _jsxFileName$B,
1484
- lineNumber: 228
1484
+ lineNumber: 229
1485
1485
  }
1486
1486
  }, showLabels && React$K.createElement(Label$1, {
1487
1487
  side: "left",
@@ -1498,7 +1498,7 @@ class Root$1 extends React$K.Component {
1498
1498
  __self: this,
1499
1499
  __source: {
1500
1500
  fileName: _jsxFileName$B,
1501
- lineNumber: 230
1501
+ lineNumber: 231
1502
1502
  }
1503
1503
  }), React$K.createElement('svg', {
1504
1504
  width: finalWidth,
@@ -1507,7 +1507,7 @@ class Root$1 extends React$K.Component {
1507
1507
  __self: this,
1508
1508
  __source: {
1509
1509
  fileName: _jsxFileName$B,
1510
- lineNumber: 244
1510
+ lineNumber: 245
1511
1511
  }
1512
1512
  }, React$K.createElement('g', {
1513
1513
  ref: r => {
@@ -1521,7 +1521,7 @@ class Root$1 extends React$K.Component {
1521
1521
  __self: this,
1522
1522
  __source: {
1523
1523
  fileName: _jsxFileName$B,
1524
- lineNumber: 245
1524
+ lineNumber: 246
1525
1525
  }
1526
1526
  }, children)), showLabels && !isChart && React$K.createElement(Label$1, {
1527
1527
  side: "right",
@@ -1536,7 +1536,7 @@ class Root$1 extends React$K.Component {
1536
1536
  __self: this,
1537
1537
  __source: {
1538
1538
  fileName: _jsxFileName$B,
1539
- lineNumber: 259
1539
+ lineNumber: 260
1540
1540
  }
1541
1541
  }), showPixelGuides && React$K.createElement('div', {
1542
1542
  className: classes.sidePixelGuides,
@@ -1547,7 +1547,7 @@ class Root$1 extends React$K.Component {
1547
1547
  __self: this,
1548
1548
  __source: {
1549
1549
  fileName: _jsxFileName$B,
1550
- lineNumber: 272
1550
+ lineNumber: 273
1551
1551
  }
1552
1552
  }, [...Array(nbOfHorizontalLines + 1).keys()].reverse().map(value => React$K.createElement(Readable$2, {
1553
1553
  false: true,
@@ -1555,14 +1555,14 @@ class Root$1 extends React$K.Component {
1555
1555
  __self: this,
1556
1556
  __source: {
1557
1557
  fileName: _jsxFileName$B,
1558
- lineNumber: 280
1558
+ lineNumber: 281
1559
1559
  }
1560
1560
  }, React$K.createElement('div', {
1561
1561
  className: classes.sidePixelIndicator,
1562
1562
  __self: this,
1563
1563
  __source: {
1564
1564
  fileName: _jsxFileName$B,
1565
- lineNumber: 281
1565
+ lineNumber: 282
1566
1566
  }
1567
1567
  }, "━ ", value * 100, "px"))))), showLabels && React$K.createElement(Label$1, {
1568
1568
  side: "bottom",
@@ -1580,7 +1580,7 @@ class Root$1 extends React$K.Component {
1580
1580
  __self: this,
1581
1581
  __source: {
1582
1582
  fileName: _jsxFileName$B,
1583
- lineNumber: 288
1583
+ lineNumber: 289
1584
1584
  }
1585
1585
  }));
1586
1586
  }
@@ -1592,7 +1592,8 @@ const styles$a = theme => ({
1592
1592
  color: color$i.defaults.TEXT,
1593
1593
  backgroundColor: theme.palette.common.white,
1594
1594
  touchAction: 'none',
1595
- position: 'relative'
1595
+ position: 'relative',
1596
+ boxSizing: 'unset'
1596
1597
  },
1597
1598
  wrapper: {
1598
1599
  display: 'flex',
@@ -3018,7 +3019,7 @@ const React$J = _dll_react;
3018
3019
  const PropTypes$E = _dll_prop_types;
3019
3020
  const debug$c = _dll_debug;
3020
3021
  const {isFunction: isFunction$1} = _dll_lodash;
3021
- const _jsxFileName$A = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/plot/src/grid-draggable.jsx";
3022
+ const _jsxFileName$A = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/plot/src/grid-draggable.jsx";
3022
3023
  var _class$1;
3023
3024
  const log$c = debug$c('pie-lib:plot:grid-draggable');
3024
3025
  const deltaFn = (scale, snap, val) => delta => {
@@ -6978,7 +6979,7 @@ const React$E = _dll_react;
6978
6979
  const PropTypes$z = _dll_prop_types;
6979
6980
  const classNames$g = _dll_classnames;
6980
6981
  const {withStyles: withStyles$l} = _dll_material_ui__core_styles;
6981
- const _jsxFileName$z = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/axis/arrow.jsx";
6982
+ const _jsxFileName$z = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/axis/arrow.jsx";
6982
6983
  const style = theme => ({
6983
6984
  root: {
6984
6985
  fill: `var(--arrow-color, ${theme.palette.common.black})`
@@ -7186,7 +7187,7 @@ const PropTypes$y = _dll_prop_types;
7186
7187
  const {withStyles: withStyles$k} = _dll_material_ui__core;
7187
7188
  const {color: color$g} = _dll_pie_lib__render_ui;
7188
7189
  const {Readable: Readable$1} = _dll_pie_lib__render_ui;
7189
- const _jsxFileName$y = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/axis/axes.jsx";
7190
+ const _jsxFileName$y = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/axis/axes.jsx";
7190
7191
  const AxisPropTypes = {
7191
7192
  includeArrows: PropTypes$y.object,
7192
7193
  graphProps: PropTypes$y.object
@@ -7781,7 +7782,7 @@ function Grid$2(_ref) {
7781
7782
  const React$A = _dll_react;
7782
7783
  const PropTypes$v = _dll_prop_types;
7783
7784
  const {withStyles: withStyles$j} = _dll_material_ui__core_styles;
7784
- const _jsxFileName$x = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/grid.jsx";
7785
+ const _jsxFileName$x = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/grid.jsx";
7785
7786
  class Grid extends React$A.Component {
7786
7787
  constructor(...args) {
7787
7788
  super(...args);
@@ -7881,7 +7882,7 @@ const {color: color$f} = _dll_pie_lib__render_ui;
7881
7882
  const {Readable: Readable} = _dll_pie_lib__render_ui;
7882
7883
  const cn$2 = _dll_classnames;
7883
7884
  const EditableHtml = _dll_pie_lib__editable_html;
7884
- const _jsxFileName$w = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/labels.jsx";
7885
+ const _jsxFileName$w = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/labels.jsx";
7885
7886
  const rotations = {
7886
7887
  left: -90,
7887
7888
  top: 0,
@@ -8109,7 +8110,7 @@ Labels.__initStatic3();
8109
8110
  Labels.__initStatic4();
8110
8111
  const React$y = _dll_react;
8111
8112
  const PropTypes$t = _dll_prop_types;
8112
- const _jsxFileName$v = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/bg.jsx";
8113
+ const _jsxFileName$v = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/bg.jsx";
8113
8114
  class Bg extends React$y.Component {
8114
8115
  constructor(...args) {
8115
8116
  super(...args);
@@ -8193,7 +8194,7 @@ const PropTypes$s = _dll_prop_types;
8193
8194
  const {isEqual: isEqual$4} = _dll_lodash;
8194
8195
  const {cloneDeep: cloneDeep$1} = _dll_lodash;
8195
8196
  const debug$a = _dll_debug;
8196
- const _jsxFileName$u = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/graph.jsx";
8197
+ const _jsxFileName$u = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/graph.jsx";
8197
8198
  const log$a = debug$a('pie-lib:graphing:graph');
8198
8199
  const graphPropTypes = {
8199
8200
  axesSettings: PropTypes$s.shape(AxisPropTypes),
@@ -9855,7 +9856,7 @@ const PropTypes$q = _dll_prop_types;
9855
9856
  const {color: color$d} = _dll_pie_lib__render_ui;
9856
9857
  const {withStyles: withStyles$h} = _dll_material_ui__core_styles;
9857
9858
  const {InputBase: InputBase} = _dll_material_ui__core;
9858
- const _jsxFileName$t = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/coordinates-label.jsx";
9859
+ const _jsxFileName$t = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/coordinates-label.jsx";
9859
9860
  const styles$9 = theme => ({
9860
9861
  input: {
9861
9862
  fontFamily: theme.typography.fontFamily,
@@ -9920,7 +9921,7 @@ CoordinatesLabel.propTypes = {
9920
9921
  };
9921
9922
  var CoordinatesLabel$1 = withStyles$h(styles$9)(CoordinatesLabel);
9922
9923
  const React$s = _dll_react;
9923
- const _jsxFileName$s = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/shared/icons/MissingSVG.jsx";
9924
+ const _jsxFileName$s = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/icons/MissingSVG.jsx";
9924
9925
  const MissingSVG = ({scale, x, y}) => React$s.createElement('svg', {
9925
9926
  width: "9",
9926
9927
  height: "10",
@@ -9947,7 +9948,7 @@ const MissingSVG = ({scale, x, y}) => React$s.createElement('svg', {
9947
9948
  }
9948
9949
  }));
9949
9950
  const React$r = _dll_react;
9950
- const _jsxFileName$r = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/shared/icons/CorrectSVG.jsx";
9951
+ const _jsxFileName$r = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/icons/CorrectSVG.jsx";
9951
9952
  const CorrectSVG = ({scale, x, y}) => React$r.createElement('svg', {
9952
9953
  width: "11",
9953
9954
  height: "13",
@@ -9975,7 +9976,7 @@ const CorrectSVG = ({scale, x, y}) => React$r.createElement('svg', {
9975
9976
  }
9976
9977
  }));
9977
9978
  const React$q = _dll_react;
9978
- const _jsxFileName$q = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/shared/icons/IncorrectSVG.jsx";
9979
+ const _jsxFileName$q = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/icons/IncorrectSVG.jsx";
9979
9980
  const IncorrectSVG = ({scale, x, y}) => React$q.createElement('svg', {
9980
9981
  width: "14px",
9981
9982
  height: "14px",
@@ -10006,7 +10007,7 @@ const React$p = _dll_react;
10006
10007
  const PropTypes$p = _dll_prop_types;
10007
10008
  const classNames$f = _dll_classnames;
10008
10009
  const ReactDOM$4 = _dll_react_dom;
10009
- const _jsxFileName$p = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/shared/point/base-point.jsx";
10010
+ const _jsxFileName$p = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/point/base-point.jsx";
10010
10011
  class RawBp extends React$p.Component {
10011
10012
  static __initStatic() {
10012
10013
  this.propTypes = {
@@ -10119,7 +10120,7 @@ const React$o = _dll_react;
10119
10120
  const PropTypes$o = _dll_prop_types;
10120
10121
  const classNames$e = _dll_classnames;
10121
10122
  const {isEqual: isEqual$3} = _dll_lodash;
10122
- const _jsxFileName$o = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/shared/point/arrow-point.jsx";
10123
+ const _jsxFileName$o = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/point/arrow-point.jsx";
10123
10124
  class RawArrow extends React$o.Component {
10124
10125
  static __initStatic() {
10125
10126
  this.propTypes = {
@@ -10182,7 +10183,7 @@ RawArrow.__initStatic();
10182
10183
  RawArrow.__initStatic2();
10183
10184
  const React$n = _dll_react;
10184
10185
  const PropTypes$n = _dll_prop_types;
10185
- const _jsxFileName$n = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/shared/arrow-head.jsx";
10186
+ const _jsxFileName$n = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/arrow-head.jsx";
10186
10187
  const ArrowHead = ({size, transform, points}) => React$n.createElement('polygon', {
10187
10188
  points: points || `0,0 ${size},${size / 2} 0,${size}`,
10188
10189
  transform: transform,
@@ -10241,7 +10242,7 @@ ArrowMarker.defaultProps = {
10241
10242
  const React$m = _dll_react;
10242
10243
  const PropTypes$m = _dll_prop_types;
10243
10244
  const classNames$d = _dll_classnames;
10244
- const _jsxFileName$m = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/shared/point/arrow.jsx";
10245
+ const _jsxFileName$m = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/point/arrow.jsx";
10245
10246
  class Arrow$1 extends React$m.Component {
10246
10247
  static __initStatic() {
10247
10248
  this.propTypes = {
@@ -10655,7 +10656,7 @@ const useDebounce = (value, delay) => {
10655
10656
  };
10656
10657
  const React$l = _dll_react;
10657
10658
  const PropTypes$k = _dll_prop_types;
10658
- const _jsxFileName$l = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/label-svg-icon.jsx";
10659
+ const _jsxFileName$l = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/label-svg-icon.jsx";
10659
10660
  const SvgIcon = ({type}) => {
10660
10661
  const icons = {
10661
10662
  correct: React$l.createElement('svg', {
@@ -10732,7 +10733,7 @@ const cn$1 = _dll_classnames;
10732
10733
  const PropTypes$j = _dll_prop_types;
10733
10734
  const {withStyles: withStyles$f} = _dll_material_ui__core_styles;
10734
10735
  const {color: color$b} = _dll_pie_lib__render_ui;
10735
- const _jsxFileName$k = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/mark-label.jsx";
10736
+ const _jsxFileName$k = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/mark-label.jsx";
10736
10737
  const inputStyles = theme => ({
10737
10738
  float: 'right',
10738
10739
  padding: theme.spacing.unit * 0.5,
@@ -11004,7 +11005,7 @@ const React$j = _dll_react;
11004
11005
  const ReactDOM$3 = _dll_react_dom;
11005
11006
  const {isEqual: isEqual$2} = _dll_lodash;
11006
11007
  const {isEmpty: isEmpty$3} = _dll_lodash;
11007
- const _jsxFileName$j = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/point/component.jsx";
11008
+ const _jsxFileName$j = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/point/component.jsx";
11008
11009
  class Point extends React$j.Component {
11009
11010
  static __initStatic() {
11010
11011
  this.propTypes = {
@@ -11160,7 +11161,7 @@ const PropTypes$i = _dll_prop_types;
11160
11161
  const {withStyles: withStyles$e} = _dll_material_ui__core_styles;
11161
11162
  const classNames$c = _dll_classnames;
11162
11163
  const {color: color$a} = _dll_pie_lib__render_ui;
11163
- const _jsxFileName$i = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/circle/bg-circle.jsx";
11164
+ const _jsxFileName$i = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/circle/bg-circle.jsx";
11164
11165
  class RawCircle extends React$i.Component {
11165
11166
  static __initStatic() {
11166
11167
  this.propTypes = {
@@ -11248,7 +11249,7 @@ const PropTypes$h = _dll_prop_types;
11248
11249
  const {withStyles: withStyles$d} = _dll_material_ui__core_styles;
11249
11250
  const classNames$b = _dll_classnames;
11250
11251
  const {color: color$9} = _dll_pie_lib__render_ui;
11251
- const _jsxFileName$h = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/shared/line/line-path.jsx";
11252
+ const _jsxFileName$h = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/line/line-path.jsx";
11252
11253
  class RawLinePath extends React$h.Component {
11253
11254
  static __initStatic() {
11254
11255
  this.propTypes = {
@@ -11345,7 +11346,7 @@ const {isEmpty: isEmpty$2} = _dll_lodash;
11345
11346
  const PropTypes$g = _dll_prop_types;
11346
11347
  const ReactDOM$2 = _dll_react_dom;
11347
11348
  const {color: color$8} = _dll_pie_lib__render_ui;
11348
- const _jsxFileName$g = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/shared/line/index.jsx";
11349
+ const _jsxFileName$g = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/line/index.jsx";
11349
11350
  var _class;
11350
11351
  const lineTool = (type, Component) => () => ({
11351
11352
  type,
@@ -11825,7 +11826,7 @@ const styles$5 = {
11825
11826
  };
11826
11827
  const React$f = _dll_react;
11827
11828
  const PropTypes$f = _dll_prop_types;
11828
- const _jsxFileName$f = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/shared/line/with-root-edge.jsx";
11829
+ const _jsxFileName$f = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/line/with-root-edge.jsx";
11829
11830
  const toRootEdge = m => {
11830
11831
  const out = {
11831
11832
  ...m
@@ -11952,7 +11953,7 @@ const classNames$a = _dll_classnames;
11952
11953
  const ReactDOM$1 = _dll_react_dom;
11953
11954
  const {isEmpty: isEmpty$1} = _dll_lodash;
11954
11955
  const {color: color$7} = _dll_pie_lib__render_ui;
11955
- const _jsxFileName$e = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/circle/component.jsx";
11956
+ const _jsxFileName$e = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/circle/component.jsx";
11956
11957
  const opacityPulsate = opacity => ({
11957
11958
  '0%': {
11958
11959
  opacity: '0.0'
@@ -12304,7 +12305,7 @@ const PropTypes$d = _dll_prop_types;
12304
12305
  const {withStyles: withStyles$b} = _dll_material_ui__core_styles;
12305
12306
  const {color: color$6} = _dll_pie_lib__render_ui;
12306
12307
  const classNames$9 = _dll_classnames;
12307
- const _jsxFileName$d = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/polygon/line.jsx";
12308
+ const _jsxFileName$d = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/polygon/line.jsx";
12308
12309
  class RawLine extends React$d.Component {
12309
12310
  static __initStatic() {
12310
12311
  this.propTypes = {
@@ -12393,7 +12394,7 @@ const {withStyles: withStyles$a} = _dll_material_ui__core_styles;
12393
12394
  const classNames$8 = _dll_classnames;
12394
12395
  const {color: color$5} = _dll_pie_lib__render_ui;
12395
12396
  const {fade: fade} = _dll_material_ui__core_styles_color_manipulator;
12396
- const _jsxFileName$c = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/polygon/polygon.jsx";
12397
+ const _jsxFileName$c = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/polygon/polygon.jsx";
12397
12398
  const getPointString = (points, scale) => {
12398
12399
  return (points || []).map(p => {
12399
12400
  const scaledPoint = {
@@ -12488,7 +12489,7 @@ const {initial: initial} = _dll_lodash;
12488
12489
  const {isEmpty: isEmpty} = _dll_lodash;
12489
12490
  const debug$9 = _dll_debug;
12490
12491
  const ReactDOM = _dll_react_dom;
12491
- const _jsxFileName$b = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/polygon/component.jsx";
12492
+ const _jsxFileName$b = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/polygon/component.jsx";
12492
12493
  const log$9 = debug$9('pie-lib:graphing:polygon');
12493
12494
  const buildLines = (points, closed) => {
12494
12495
  const expanded = points.reduce((acc, p, index) => {
@@ -13247,7 +13248,7 @@ const React$a = _dll_react;
13247
13248
  const PropTypes$a = _dll_prop_types;
13248
13249
  const classNames$7 = _dll_classnames;
13249
13250
  const {withStyles: withStyles$8} = _dll_material_ui__core_styles;
13250
- const _jsxFileName$a = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/line/component.jsx";
13251
+ const _jsxFileName$a = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/line/component.jsx";
13251
13252
  const lineStyles$2 = theme => ({
13252
13253
  line: styles$5.line(theme),
13253
13254
  enabledArrow: styles$5.arrow(theme),
@@ -13323,7 +13324,7 @@ const React$9 = _dll_react;
13323
13324
  const PropTypes$9 = _dll_prop_types;
13324
13325
  const {withStyles: withStyles$7} = _dll_material_ui__core_styles;
13325
13326
  const classNames$6 = _dll_classnames;
13326
- const _jsxFileName$9 = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/segment/component.jsx";
13327
+ const _jsxFileName$9 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/segment/component.jsx";
13327
13328
  const lineStyles$1 = theme => ({
13328
13329
  line: styles$5.line(theme),
13329
13330
  disabled: styles$5.disabled(theme),
@@ -13368,7 +13369,7 @@ const React$8 = _dll_react;
13368
13369
  const PropTypes$8 = _dll_prop_types;
13369
13370
  const {withStyles: withStyles$6} = _dll_material_ui__core_styles;
13370
13371
  const classNames$5 = _dll_classnames;
13371
- const _jsxFileName$8 = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/ray/component.jsx";
13372
+ const _jsxFileName$8 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/ray/component.jsx";
13372
13373
  const rayStyles = theme => ({
13373
13374
  line: styles$5.line(theme),
13374
13375
  enabledArrow: styles$5.arrow(theme),
@@ -13443,7 +13444,7 @@ const React$7 = _dll_react;
13443
13444
  const PropTypes$7 = _dll_prop_types;
13444
13445
  const classNames$4 = _dll_classnames;
13445
13446
  const {withStyles: withStyles$5} = _dll_material_ui__core_styles;
13446
- const _jsxFileName$7 = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tools/vector/component.jsx";
13447
+ const _jsxFileName$7 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/vector/component.jsx";
13447
13448
  const lineStyles = theme => ({
13448
13449
  line: styles$5.line(theme),
13449
13450
  disabled: styles$5.disabled(theme),
@@ -16680,7 +16681,7 @@ const {color: color$4} = _dll_pie_lib__render_ui;
16680
16681
  const {withDragContext: withDragContext} = _dll_pie_lib__drag;
16681
16682
  const {DragSource: DragSource} = _dll_pie_lib__drag;
16682
16683
  const {DropTarget: DropTarget} = _dll_pie_lib__drag;
16683
- const _jsxFileName$6 = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/toggle-bar.jsx";
16684
+ const _jsxFileName$6 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/toggle-bar.jsx";
16684
16685
  function _optionalChain(ops) {
16685
16686
  let lastAccessLHS = undefined;
16686
16687
  let value = ops[0];
@@ -16952,7 +16953,7 @@ const DragTool = DropTarget(DRAG_TYPE, itemTarget, collectTarget)(DragSource(DRA
16952
16953
  const React$5 = _dll_react;
16953
16954
  const PropTypes$5 = _dll_prop_types;
16954
16955
  const classNames$3 = _dll_classnames;
16955
- const _jsxFileName$5 = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/tool-menu.jsx";
16956
+ const _jsxFileName$5 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tool-menu.jsx";
16956
16957
  class ToolMenu extends React$5.Component {
16957
16958
  constructor(...args) {
16958
16959
  super(...args);
@@ -17016,7 +17017,7 @@ const classNames$2 = _dll_classnames;
17016
17017
  const {Button: Button} = _dll_material_ui__core;
17017
17018
  const {withStyles: withStyles$3} = _dll_material_ui__core;
17018
17019
  const {color: color$3} = _dll_pie_lib__render_ui;
17019
- const _jsxFileName$4 = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/undo-redo.jsx";
17020
+ const _jsxFileName$4 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/undo-redo.jsx";
17020
17021
  const {translator} = Translator;
17021
17022
  class UndoRedo extends React$4.Component {
17022
17023
  static __initStatic() {
@@ -17104,7 +17105,7 @@ const {ExpansionPanelDetails: ExpansionPanelDetails$1} = _dll_material_ui__core;
17104
17105
  const {ExpansionPanelSummary: ExpansionPanelSummary$1} = _dll_material_ui__core;
17105
17106
  const {Typography: Typography$1} = _dll_material_ui__core;
17106
17107
  const {ExpandMore: ExpandMoreIcon$1} = _dll_material_ui__icons;
17107
- const _jsxFileName$3 = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/graph-with-controls.jsx";
17108
+ const _jsxFileName$3 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/graph-with-controls.jsx";
17108
17109
  const setToolbarAvailability = toolbarTools => toolsArr.map(tA => ({
17109
17110
  ...tA,
17110
17111
  toolbar: !!toolbarTools.find(t => t === tA.type)
@@ -17353,7 +17354,7 @@ const lastActionMiddleware = () => next => action => {
17353
17354
  const React$2 = _dll_react;
17354
17355
  const PropTypes$2 = _dll_prop_types;
17355
17356
  const {isEqual: isEqual} = _dll_lodash;
17356
- const _jsxFileName$2 = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/container/index.jsx";
17357
+ const _jsxFileName$2 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/container/index.jsx";
17357
17358
  const mapStateToProps = s => ({
17358
17359
  marks: s.marks.present
17359
17360
  });
@@ -17445,7 +17446,7 @@ const {ExpandMore: ExpandMoreIcon} = _dll_material_ui__icons;
17445
17446
  const {NumberTextFieldCustom: NumberTextFieldCustom} = _dll_pie_lib__config_ui;
17446
17447
  const {Toggle: Toggle} = _dll_pie_lib__config_ui;
17447
17448
  const EditableHTML = _dll_pie_lib__editable_html;
17448
- const _jsxFileName$1 = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/grid-setup.jsx";
17449
+ const _jsxFileName$1 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/grid-setup.jsx";
17449
17450
  const GridConfig = props => {
17450
17451
  const {classes, disabled, displayedFields, labelValue, labelValues, gridValue, gridValues, onChange} = props;
17451
17452
  const {labelStep = {}, step = {}} = displayedFields;
@@ -17981,7 +17982,7 @@ const PropTypes = _dll_prop_types;
17981
17982
  const classNames = _dll_classnames;
17982
17983
  const {withStyles: withStyles} = _dll_material_ui__core_styles;
17983
17984
  const {color: color} = _dll_pie_lib__render_ui;
17984
- const _jsxFileName = "/Users/lakatosandrei/CoreSpring/pie-lib/packages/graphing/src/key-legend.jsx";
17985
+ const _jsxFileName = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/key-legend.jsx";
17985
17986
  const styles = theme => ({
17986
17987
  container: {
17987
17988
  backgroundColor: color.defaults.WHITE,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/graphing-module",
3
- "version": "2.0.0",
3
+ "version": "2.2.0",
4
4
  "mappings": {
5
5
  "@pie-lib/plot": "_dll_pie_lib__plot",
6
6
  "@pie-lib/graphing": "_dll_pie_lib__graphing"
@@ -8,30 +8,30 @@
8
8
  "versionInfo": {
9
9
  "data": {
10
10
  "@pie-lib/plot": {
11
- "version": "2.16.1"
11
+ "version": "2.19.0"
12
12
  },
13
13
  "@pie-lib/graphing": {
14
- "version": "2.23.1"
14
+ "version": "2.26.0"
15
15
  }
16
16
  },
17
- "hash": "d4ac6c0bac1e906dabc12f2ee65255d2423156a2"
17
+ "hash": "0d55439cc5ee5fc43715b495c37baa993eded44e"
18
18
  },
19
19
  "modules": [
20
20
  {
21
21
  "name": "@pie-lib/shared-module",
22
- "version": "^1.10.0"
22
+ "version": "^1.11.0"
23
23
  },
24
24
  {
25
25
  "name": "@pie-lib/editable-html-module",
26
- "version": "^5.1.0"
26
+ "version": "^5.3.0"
27
27
  },
28
28
  {
29
29
  "name": "@pie-lib/drag-module",
30
- "version": "^2.4.0"
30
+ "version": "^2.5.0"
31
31
  },
32
32
  {
33
33
  "name": "@pie-lib/config-module",
34
- "version": "^2.14.0"
34
+ "version": "^2.16.0"
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.0.0",
3
+ "version": "2.2.0",
4
4
  "module": "module/index.js",
5
5
  "repository": "pie-framework/pie-lib",
6
6
  "publishConfig": {