@pie-lib/graphing-module 2.5.5 → 2.5.7
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 +139 -124
- package/module/manifest.json +8 -8
- package/package.json +1 -1
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.
|
|
2
|
-
import {_dll_pie_lib__editable_html} from "../../editable-html-module@^5.6.
|
|
3
|
-
import {_dll_pie_lib__drag} from "../../drag-module@^2.8.
|
|
4
|
-
import {_dll_pie_lib__config_ui} from "../../config-module@^2.19.
|
|
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.7/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__editable_html} from "../../editable-html-module@^5.6.7/module/index.js";
|
|
3
|
+
import {_dll_pie_lib__drag} from "../../drag-module@^2.8.7/module/index.js";
|
|
4
|
+
import {_dll_pie_lib__config_ui} from "../../config-module@^2.19.7/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 = "/
|
|
1095
|
+
const _jsxFileName$C = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/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 = "/
|
|
1236
|
+
const _jsxFileName$B = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/plot/src/root.jsx";
|
|
1237
1237
|
function _optionalChain$1(ops) {
|
|
1238
1238
|
let lastAccessLHS = undefined;
|
|
1239
1239
|
let value = ops[0];
|
|
@@ -3058,7 +3058,7 @@ const React$J = _dll_react;
|
|
|
3058
3058
|
const PropTypes$E = _dll_prop_types;
|
|
3059
3059
|
const debug$d = _dll_debug;
|
|
3060
3060
|
const {isFunction: isFunction$1} = _dll_lodash;
|
|
3061
|
-
const _jsxFileName$A = "/
|
|
3061
|
+
const _jsxFileName$A = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/plot/src/grid-draggable.jsx";
|
|
3062
3062
|
var _class$1;
|
|
3063
3063
|
const log$d = debug$d('pie-lib:plot:grid-draggable');
|
|
3064
3064
|
const deltaFn = (scale, snap, val) => delta => {
|
|
@@ -4441,7 +4441,7 @@ const create = (domain, range, size, getRootNode) => {
|
|
|
4441
4441
|
getRootNode
|
|
4442
4442
|
};
|
|
4443
4443
|
};
|
|
4444
|
-
var index$
|
|
4444
|
+
var index$3 = Object.freeze({
|
|
4445
4445
|
__proto__: null,
|
|
4446
4446
|
Root: Root$2,
|
|
4447
4447
|
Draggable: LocalDraggable,
|
|
@@ -4712,8 +4712,8 @@ var Point$1 = (function () {
|
|
|
4712
4712
|
const React$I = _dll_react;
|
|
4713
4713
|
const cx$4 = _dll_classnames;
|
|
4714
4714
|
const PropTypes$D = _dll_prop_types;
|
|
4715
|
-
function _extends$
|
|
4716
|
-
_extends$
|
|
4715
|
+
function _extends$9() {
|
|
4716
|
+
_extends$9 = Object.assign || (function (target) {
|
|
4717
4717
|
for (var i = 1; i < arguments.length; i++) {
|
|
4718
4718
|
var source = arguments[i];
|
|
4719
4719
|
for (var key in source) {
|
|
@@ -4724,7 +4724,7 @@ function _extends$7() {
|
|
|
4724
4724
|
}
|
|
4725
4725
|
return target;
|
|
4726
4726
|
});
|
|
4727
|
-
return _extends$
|
|
4727
|
+
return _extends$9.apply(this, arguments);
|
|
4728
4728
|
}
|
|
4729
4729
|
function _objectWithoutPropertiesLoose$5(source, excluded) {
|
|
4730
4730
|
if (source == null) return {};
|
|
@@ -4805,7 +4805,7 @@ function Line$5(_ref) {
|
|
|
4805
4805
|
x: 1,
|
|
4806
4806
|
y: 1
|
|
4807
4807
|
}) : _ref$to, _ref$fill = _ref.fill, fill = _ref$fill === void 0 ? 'transparent' : _ref$fill, _ref$className = _ref.className, className = _ref$className === void 0 ? '' : _ref$className, innerRef = _ref.innerRef, restProps = _objectWithoutProperties$5(_ref, ["from", "to", "fill", "className", "innerRef"]);
|
|
4808
|
-
return React$I.createElement("line", _extends$
|
|
4808
|
+
return React$I.createElement("line", _extends$9({
|
|
4809
4809
|
ref: innerRef,
|
|
4810
4810
|
className: cx$4('vx-line', className),
|
|
4811
4811
|
x1: from.x,
|
|
@@ -4835,7 +4835,7 @@ function LinePath$1(_ref) {
|
|
|
4835
4835
|
if (children) return children({
|
|
4836
4836
|
path: path$$1
|
|
4837
4837
|
});
|
|
4838
|
-
return React$I.createElement("path", _extends$
|
|
4838
|
+
return React$I.createElement("path", _extends$9({
|
|
4839
4839
|
ref: innerRef,
|
|
4840
4840
|
className: cx$4('vx-linepath', className),
|
|
4841
4841
|
d: path$$1(data),
|
|
@@ -5116,8 +5116,8 @@ function LinePath$1(_ref) {
|
|
|
5116
5116
|
const React$H = _dll_react;
|
|
5117
5117
|
const cx$3 = _dll_classnames;
|
|
5118
5118
|
const PropTypes$C = _dll_prop_types;
|
|
5119
|
-
function _extends$
|
|
5120
|
-
_extends$
|
|
5119
|
+
function _extends$8() {
|
|
5120
|
+
_extends$8 = Object.assign || (function (target) {
|
|
5121
5121
|
for (var i = 1; i < arguments.length; i++) {
|
|
5122
5122
|
var source = arguments[i];
|
|
5123
5123
|
for (var key in source) {
|
|
@@ -5128,7 +5128,7 @@ function _extends$6() {
|
|
|
5128
5128
|
}
|
|
5129
5129
|
return target;
|
|
5130
5130
|
});
|
|
5131
|
-
return _extends$
|
|
5131
|
+
return _extends$8.apply(this, arguments);
|
|
5132
5132
|
}
|
|
5133
5133
|
function _objectWithoutPropertiesLoose$4(source, excluded) {
|
|
5134
5134
|
if (source == null) return {};
|
|
@@ -5166,7 +5166,7 @@ Group$1.propTypes = {
|
|
|
5166
5166
|
};
|
|
5167
5167
|
function Group$1(_ref) {
|
|
5168
5168
|
var _ref$top = _ref.top, top = _ref$top === void 0 ? 0 : _ref$top, _ref$left = _ref.left, left = _ref$left === void 0 ? 0 : _ref$left, transform = _ref.transform, className = _ref.className, children = _ref.children, restProps = _objectWithoutProperties$4(_ref, ["top", "left", "transform", "className", "children"]);
|
|
5169
|
-
return React$H.createElement("g", _extends$
|
|
5169
|
+
return React$H.createElement("g", _extends$8({
|
|
5170
5170
|
className: cx$3('vx-group', className),
|
|
5171
5171
|
transform: transform || ("translate(").concat(left, ", ").concat(top, ")")
|
|
5172
5172
|
}, restProps), children);
|
|
@@ -6110,8 +6110,8 @@ function _createClass$2(Constructor, protoProps, staticProps) {
|
|
|
6110
6110
|
if (staticProps) _defineProperties$1(Constructor, staticProps);
|
|
6111
6111
|
return Constructor;
|
|
6112
6112
|
}
|
|
6113
|
-
function _extends$
|
|
6114
|
-
_extends$
|
|
6113
|
+
function _extends$7() {
|
|
6114
|
+
_extends$7 = Object.assign || (function (target) {
|
|
6115
6115
|
for (var i = 1; i < arguments.length; i++) {
|
|
6116
6116
|
var source = arguments[i];
|
|
6117
6117
|
for (var key in source) {
|
|
@@ -6122,7 +6122,7 @@ function _extends$5() {
|
|
|
6122
6122
|
}
|
|
6123
6123
|
return target;
|
|
6124
6124
|
});
|
|
6125
|
-
return _extends$
|
|
6125
|
+
return _extends$7.apply(this, arguments);
|
|
6126
6126
|
}
|
|
6127
6127
|
function _inherits$2(subClass, superClass) {
|
|
6128
6128
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -6633,7 +6633,7 @@ var Text = (function (_Component) {
|
|
|
6633
6633
|
style: {
|
|
6634
6634
|
overflow: 'visible'
|
|
6635
6635
|
}
|
|
6636
|
-
}, React$G.createElement("text", _extends$
|
|
6636
|
+
}, React$G.createElement("text", _extends$7({}, textProps, {
|
|
6637
6637
|
textAnchor: textAnchor
|
|
6638
6638
|
}), wordsByLines.map(function (line, index) {
|
|
6639
6639
|
return React$G.createElement("tspan", {
|
|
@@ -6687,8 +6687,8 @@ function _defineProperty$2(obj, key, value) {
|
|
|
6687
6687
|
}
|
|
6688
6688
|
return obj;
|
|
6689
6689
|
}
|
|
6690
|
-
function _extends$
|
|
6691
|
-
_extends$
|
|
6690
|
+
function _extends$6() {
|
|
6691
|
+
_extends$6 = Object.assign || (function (target) {
|
|
6692
6692
|
for (var i = 1; i < arguments.length; i++) {
|
|
6693
6693
|
var source = arguments[i];
|
|
6694
6694
|
for (var key in source) {
|
|
@@ -6699,7 +6699,7 @@ function _extends$4() {
|
|
|
6699
6699
|
}
|
|
6700
6700
|
return target;
|
|
6701
6701
|
});
|
|
6702
|
-
return _extends$
|
|
6702
|
+
return _extends$6.apply(this, arguments);
|
|
6703
6703
|
}
|
|
6704
6704
|
function _objectSpread$7(target) {
|
|
6705
6705
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -6879,7 +6879,7 @@ function Axis(_ref) {
|
|
|
6879
6879
|
x: tickToPoint.x,
|
|
6880
6880
|
y: tickToPoint.y + (horizontal && !isTop ? tickLabelFontSize : 0),
|
|
6881
6881
|
formattedValue: format(val, index)
|
|
6882
|
-
}, tickLabelPropsObj)) : React$F.createElement(Text, _extends$
|
|
6882
|
+
}, tickLabelPropsObj)) : React$F.createElement(Text, _extends$6({
|
|
6883
6883
|
x: tickToPoint.x,
|
|
6884
6884
|
y: tickToPoint.y + (horizontal && !isTop ? tickLabelFontSize : 0)
|
|
6885
6885
|
}, tickLabelPropsObj), format(val, index)));
|
|
@@ -6890,7 +6890,7 @@ function Axis(_ref) {
|
|
|
6890
6890
|
stroke: stroke,
|
|
6891
6891
|
strokeWidth: strokeWidth,
|
|
6892
6892
|
strokeDasharray: strokeDasharray
|
|
6893
|
-
}), label && React$F.createElement(Text, _extends$
|
|
6893
|
+
}), label && React$F.createElement(Text, _extends$6({
|
|
6894
6894
|
className: cx$2('vx-axis-label', labelClassName)
|
|
6895
6895
|
}, labelTransform({
|
|
6896
6896
|
labelOffset: labelOffset,
|
|
@@ -7018,7 +7018,7 @@ const React$E = _dll_react;
|
|
|
7018
7018
|
const PropTypes$z = _dll_prop_types;
|
|
7019
7019
|
const classNames$g = _dll_classnames;
|
|
7020
7020
|
const {withStyles: withStyles$l} = _dll_material_ui__core_styles;
|
|
7021
|
-
const _jsxFileName$z = "/
|
|
7021
|
+
const _jsxFileName$z = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/axis/arrow.jsx";
|
|
7022
7022
|
const style = theme => ({
|
|
7023
7023
|
root: {
|
|
7024
7024
|
fill: `var(--arrow-color, ${theme.palette.common.black})`
|
|
@@ -7226,7 +7226,7 @@ const PropTypes$y = _dll_prop_types;
|
|
|
7226
7226
|
const {withStyles: withStyles$k} = _dll_material_ui__core;
|
|
7227
7227
|
const {color: color$g} = _dll_pie_lib__render_ui;
|
|
7228
7228
|
const {Readable: Readable$1} = _dll_pie_lib__render_ui;
|
|
7229
|
-
const _jsxFileName$y = "/
|
|
7229
|
+
const _jsxFileName$y = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/axis/axes.jsx";
|
|
7230
7230
|
const AxisPropTypes = {
|
|
7231
7231
|
includeArrows: PropTypes$y.object,
|
|
7232
7232
|
graphProps: PropTypes$y.object
|
|
@@ -7583,8 +7583,8 @@ Axes.__initStatic6();
|
|
|
7583
7583
|
const React$C = _dll_react;
|
|
7584
7584
|
const cx$1 = _dll_classnames;
|
|
7585
7585
|
const PropTypes$x = _dll_prop_types;
|
|
7586
|
-
function _extends$
|
|
7587
|
-
_extends$
|
|
7586
|
+
function _extends$5() {
|
|
7587
|
+
_extends$5 = Object.assign || (function (target) {
|
|
7588
7588
|
for (var i = 1; i < arguments.length; i++) {
|
|
7589
7589
|
var source = arguments[i];
|
|
7590
7590
|
for (var key in source) {
|
|
@@ -7595,7 +7595,7 @@ function _extends$3() {
|
|
|
7595
7595
|
}
|
|
7596
7596
|
return target;
|
|
7597
7597
|
});
|
|
7598
|
-
return _extends$
|
|
7598
|
+
return _extends$5.apply(this, arguments);
|
|
7599
7599
|
}
|
|
7600
7600
|
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
7601
7601
|
if (source == null) return {};
|
|
@@ -7633,7 +7633,7 @@ Group.propTypes = {
|
|
|
7633
7633
|
};
|
|
7634
7634
|
function Group(_ref) {
|
|
7635
7635
|
var _ref$top = _ref.top, top = _ref$top === void 0 ? 0 : _ref$top, _ref$left = _ref.left, left = _ref$left === void 0 ? 0 : _ref$left, transform = _ref.transform, className = _ref.className, children = _ref.children, restProps = _objectWithoutProperties$2(_ref, ["top", "left", "transform", "className", "children"]);
|
|
7636
|
-
return React$C.createElement("g", _extends$
|
|
7636
|
+
return React$C.createElement("g", _extends$5({
|
|
7637
7637
|
className: cx$1('vx-group', className),
|
|
7638
7638
|
transform: transform || ("translate(").concat(left, ", ").concat(top, ")")
|
|
7639
7639
|
}, restProps), children);
|
|
@@ -7641,8 +7641,8 @@ function Group(_ref) {
|
|
|
7641
7641
|
const React$B = _dll_react;
|
|
7642
7642
|
const cx = _dll_classnames;
|
|
7643
7643
|
const PropTypes$w = _dll_prop_types;
|
|
7644
|
-
function _extends$
|
|
7645
|
-
_extends$
|
|
7644
|
+
function _extends$4() {
|
|
7645
|
+
_extends$4 = Object.assign || (function (target) {
|
|
7646
7646
|
for (var i = 1; i < arguments.length; i++) {
|
|
7647
7647
|
var source = arguments[i];
|
|
7648
7648
|
for (var key in source) {
|
|
@@ -7653,7 +7653,7 @@ function _extends$2() {
|
|
|
7653
7653
|
}
|
|
7654
7654
|
return target;
|
|
7655
7655
|
});
|
|
7656
|
-
return _extends$
|
|
7656
|
+
return _extends$4.apply(this, arguments);
|
|
7657
7657
|
}
|
|
7658
7658
|
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
7659
7659
|
if (source == null) return {};
|
|
@@ -7714,7 +7714,7 @@ function Rows(_ref) {
|
|
|
7714
7714
|
x: width,
|
|
7715
7715
|
y: y
|
|
7716
7716
|
});
|
|
7717
|
-
return React$B.createElement(Line$5, _extends$
|
|
7717
|
+
return React$B.createElement(Line$5, _extends$4({
|
|
7718
7718
|
key: ("row-line-").concat(d, "-").concat(i),
|
|
7719
7719
|
from: fromPoint,
|
|
7720
7720
|
to: toPoint,
|
|
@@ -7757,7 +7757,7 @@ function Columns(_ref) {
|
|
|
7757
7757
|
x: x,
|
|
7758
7758
|
y: height
|
|
7759
7759
|
});
|
|
7760
|
-
return React$B.createElement(Line$5, _extends$
|
|
7760
|
+
return React$B.createElement(Line$5, _extends$4({
|
|
7761
7761
|
key: ("column-line-").concat(d, "-").concat(i),
|
|
7762
7762
|
from: fromPoint,
|
|
7763
7763
|
to: toPoint,
|
|
@@ -7794,7 +7794,7 @@ function Grid$2(_ref) {
|
|
|
7794
7794
|
className: cx('vx-grid', className),
|
|
7795
7795
|
top: top,
|
|
7796
7796
|
left: left
|
|
7797
|
-
}, React$B.createElement(Rows, _extends$
|
|
7797
|
+
}, React$B.createElement(Rows, _extends$4({
|
|
7798
7798
|
className: className,
|
|
7799
7799
|
scale: yScale,
|
|
7800
7800
|
width: width,
|
|
@@ -7805,7 +7805,7 @@ function Grid$2(_ref) {
|
|
|
7805
7805
|
style: rowLineStyle,
|
|
7806
7806
|
offset: yOffset,
|
|
7807
7807
|
tickValues: rowTickValues
|
|
7808
|
-
}, restProps)), React$B.createElement(Columns, _extends$
|
|
7808
|
+
}, restProps)), React$B.createElement(Columns, _extends$4({
|
|
7809
7809
|
className: className,
|
|
7810
7810
|
scale: xScale,
|
|
7811
7811
|
height: height,
|
|
@@ -7821,7 +7821,7 @@ function Grid$2(_ref) {
|
|
|
7821
7821
|
const React$A = _dll_react;
|
|
7822
7822
|
const PropTypes$v = _dll_prop_types;
|
|
7823
7823
|
const {withStyles: withStyles$j} = _dll_material_ui__core_styles;
|
|
7824
|
-
const _jsxFileName$x = "/
|
|
7824
|
+
const _jsxFileName$x = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/grid.jsx";
|
|
7825
7825
|
class Grid extends React$A.Component {
|
|
7826
7826
|
constructor(...args) {
|
|
7827
7827
|
super(...args);
|
|
@@ -7921,7 +7921,7 @@ const {color: color$f} = _dll_pie_lib__render_ui;
|
|
|
7921
7921
|
const {Readable: Readable} = _dll_pie_lib__render_ui;
|
|
7922
7922
|
const cn$2 = _dll_classnames;
|
|
7923
7923
|
const EditableHtml = _dll_pie_lib__editable_html;
|
|
7924
|
-
const _jsxFileName$w = "/
|
|
7924
|
+
const _jsxFileName$w = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/labels.jsx";
|
|
7925
7925
|
const rotations = {
|
|
7926
7926
|
left: -90,
|
|
7927
7927
|
top: 0,
|
|
@@ -8149,7 +8149,7 @@ Labels.__initStatic3();
|
|
|
8149
8149
|
Labels.__initStatic4();
|
|
8150
8150
|
const React$y = _dll_react;
|
|
8151
8151
|
const PropTypes$t = _dll_prop_types;
|
|
8152
|
-
const _jsxFileName$v = "/
|
|
8152
|
+
const _jsxFileName$v = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/bg.jsx";
|
|
8153
8153
|
class Bg extends React$y.Component {
|
|
8154
8154
|
constructor(...args) {
|
|
8155
8155
|
super(...args);
|
|
@@ -8233,7 +8233,7 @@ const PropTypes$s = _dll_prop_types;
|
|
|
8233
8233
|
const {isEqual: isEqual$4} = _dll_lodash;
|
|
8234
8234
|
const {cloneDeep: cloneDeep$1} = _dll_lodash;
|
|
8235
8235
|
const debug$b = _dll_debug;
|
|
8236
|
-
const _jsxFileName$u = "/
|
|
8236
|
+
const _jsxFileName$u = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/graph.jsx";
|
|
8237
8237
|
const log$b = debug$b('pie-lib:graphing:graph');
|
|
8238
8238
|
const graphPropTypes = {
|
|
8239
8239
|
axesSettings: PropTypes$s.shape(AxisPropTypes),
|
|
@@ -8628,8 +8628,8 @@ function _assertThisInitialized$1(self) {
|
|
|
8628
8628
|
}
|
|
8629
8629
|
return self;
|
|
8630
8630
|
}
|
|
8631
|
-
function _extends$
|
|
8632
|
-
_extends$
|
|
8631
|
+
function _extends$3() {
|
|
8632
|
+
_extends$3 = Object.assign || (function (target) {
|
|
8633
8633
|
for (var i = 1; i < arguments.length; i++) {
|
|
8634
8634
|
var source = arguments[i];
|
|
8635
8635
|
for (var key in source) {
|
|
@@ -8640,7 +8640,7 @@ function _extends$1() {
|
|
|
8640
8640
|
}
|
|
8641
8641
|
return target;
|
|
8642
8642
|
});
|
|
8643
|
-
return _extends$
|
|
8643
|
+
return _extends$3.apply(this, arguments);
|
|
8644
8644
|
}
|
|
8645
8645
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
8646
8646
|
if (source == null) return {};
|
|
@@ -8915,7 +8915,7 @@ function connectAdvanced(selectorFactory, _ref) {
|
|
|
8915
8915
|
}
|
|
8916
8916
|
var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';
|
|
8917
8917
|
var displayName = getDisplayName(wrappedComponentName);
|
|
8918
|
-
var selectorFactoryOptions = _extends$
|
|
8918
|
+
var selectorFactoryOptions = _extends$3({}, connectOptions, {
|
|
8919
8919
|
getDisplayName: getDisplayName,
|
|
8920
8920
|
methodName: methodName,
|
|
8921
8921
|
renderCountProp: renderCountProp,
|
|
@@ -8960,7 +8960,7 @@ function connectAdvanced(selectorFactory, _ref) {
|
|
|
8960
8960
|
lastChildProps = childProps;
|
|
8961
8961
|
lastForwardRef = forwardRef;
|
|
8962
8962
|
lastComponent = WrappedComponent;
|
|
8963
|
-
lastChildElement = React$u.createElement(WrappedComponent, _extends$
|
|
8963
|
+
lastChildElement = React$u.createElement(WrappedComponent, _extends$3({}, childProps, {
|
|
8964
8964
|
ref: forwardRef
|
|
8965
8965
|
}));
|
|
8966
8966
|
}
|
|
@@ -9516,7 +9516,7 @@ function whenMapStateToPropsIsMissing(mapStateToProps) {
|
|
|
9516
9516
|
}
|
|
9517
9517
|
var defaultMapStateToPropsFactories = [whenMapStateToPropsIsFunction, whenMapStateToPropsIsMissing];
|
|
9518
9518
|
function defaultMergeProps(stateProps, dispatchProps, ownProps) {
|
|
9519
|
-
return _extends$
|
|
9519
|
+
return _extends$3({}, ownProps, stateProps, dispatchProps);
|
|
9520
9520
|
}
|
|
9521
9521
|
function wrapMergePropsFunc(mergeProps) {
|
|
9522
9522
|
return function initMergePropsProxy(dispatch, _ref) {
|
|
@@ -9647,7 +9647,7 @@ function createConnect(_temp) {
|
|
|
9647
9647
|
var initMapStateToProps = match(mapStateToProps, mapStateToPropsFactories, 'mapStateToProps');
|
|
9648
9648
|
var initMapDispatchToProps = match(mapDispatchToProps, mapDispatchToPropsFactories, 'mapDispatchToProps');
|
|
9649
9649
|
var initMergeProps = match(mergeProps, mergePropsFactories, 'mergeProps');
|
|
9650
|
-
return connectHOC(selectorFactory, _extends$
|
|
9650
|
+
return connectHOC(selectorFactory, _extends$3({
|
|
9651
9651
|
methodName: 'connect',
|
|
9652
9652
|
getDisplayName: function getDisplayName(name) {
|
|
9653
9653
|
return "Connect(" + name + ")";
|
|
@@ -10219,7 +10219,7 @@ const PropTypes$q = _dll_prop_types;
|
|
|
10219
10219
|
const {color: color$d} = _dll_pie_lib__render_ui;
|
|
10220
10220
|
const {withStyles: withStyles$h} = _dll_material_ui__core_styles;
|
|
10221
10221
|
const {InputBase: InputBase} = _dll_material_ui__core;
|
|
10222
|
-
const _jsxFileName$t = "/
|
|
10222
|
+
const _jsxFileName$t = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/coordinates-label.jsx";
|
|
10223
10223
|
const styles$9 = theme => ({
|
|
10224
10224
|
input: {
|
|
10225
10225
|
fontFamily: theme.typography.fontFamily,
|
|
@@ -10284,7 +10284,7 @@ CoordinatesLabel.propTypes = {
|
|
|
10284
10284
|
};
|
|
10285
10285
|
var CoordinatesLabel$1 = withStyles$h(styles$9)(CoordinatesLabel);
|
|
10286
10286
|
const React$s = _dll_react;
|
|
10287
|
-
const _jsxFileName$s = "/
|
|
10287
|
+
const _jsxFileName$s = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/icons/MissingSVG.jsx";
|
|
10288
10288
|
const MissingSVG = ({scale, x, y}) => React$s.createElement('svg', {
|
|
10289
10289
|
width: "9",
|
|
10290
10290
|
height: "10",
|
|
@@ -10311,7 +10311,7 @@ const MissingSVG = ({scale, x, y}) => React$s.createElement('svg', {
|
|
|
10311
10311
|
}
|
|
10312
10312
|
}));
|
|
10313
10313
|
const React$r = _dll_react;
|
|
10314
|
-
const _jsxFileName$r = "/
|
|
10314
|
+
const _jsxFileName$r = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/icons/CorrectSVG.jsx";
|
|
10315
10315
|
const CorrectSVG = ({scale, x, y}) => React$r.createElement('svg', {
|
|
10316
10316
|
width: "11",
|
|
10317
10317
|
height: "13",
|
|
@@ -10339,7 +10339,7 @@ const CorrectSVG = ({scale, x, y}) => React$r.createElement('svg', {
|
|
|
10339
10339
|
}
|
|
10340
10340
|
}));
|
|
10341
10341
|
const React$q = _dll_react;
|
|
10342
|
-
const _jsxFileName$q = "/
|
|
10342
|
+
const _jsxFileName$q = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/icons/IncorrectSVG.jsx";
|
|
10343
10343
|
const IncorrectSVG = ({scale, x, y}) => React$q.createElement('svg', {
|
|
10344
10344
|
width: "14px",
|
|
10345
10345
|
height: "14px",
|
|
@@ -10370,7 +10370,7 @@ const React$p = _dll_react;
|
|
|
10370
10370
|
const PropTypes$p = _dll_prop_types;
|
|
10371
10371
|
const classNames$f = _dll_classnames;
|
|
10372
10372
|
const ReactDOM$4 = _dll_react_dom;
|
|
10373
|
-
const _jsxFileName$p = "/
|
|
10373
|
+
const _jsxFileName$p = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/point/base-point.jsx";
|
|
10374
10374
|
class RawBp extends React$p.Component {
|
|
10375
10375
|
static __initStatic() {
|
|
10376
10376
|
this.propTypes = {
|
|
@@ -10483,7 +10483,7 @@ const React$o = _dll_react;
|
|
|
10483
10483
|
const PropTypes$o = _dll_prop_types;
|
|
10484
10484
|
const classNames$e = _dll_classnames;
|
|
10485
10485
|
const {isEqual: isEqual$3} = _dll_lodash;
|
|
10486
|
-
const _jsxFileName$o = "/
|
|
10486
|
+
const _jsxFileName$o = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/point/arrow-point.jsx";
|
|
10487
10487
|
class RawArrow extends React$o.Component {
|
|
10488
10488
|
static __initStatic() {
|
|
10489
10489
|
this.propTypes = {
|
|
@@ -10546,7 +10546,7 @@ RawArrow.__initStatic();
|
|
|
10546
10546
|
RawArrow.__initStatic2();
|
|
10547
10547
|
const React$n = _dll_react;
|
|
10548
10548
|
const PropTypes$n = _dll_prop_types;
|
|
10549
|
-
const _jsxFileName$n = "/
|
|
10549
|
+
const _jsxFileName$n = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/arrow-head.jsx";
|
|
10550
10550
|
const ArrowHead = ({size, transform, points}) => React$n.createElement('polygon', {
|
|
10551
10551
|
points: points || `0,0 ${size},${size / 2} 0,${size}`,
|
|
10552
10552
|
transform: transform,
|
|
@@ -10605,7 +10605,7 @@ ArrowMarker.defaultProps = {
|
|
|
10605
10605
|
const React$m = _dll_react;
|
|
10606
10606
|
const PropTypes$m = _dll_prop_types;
|
|
10607
10607
|
const classNames$d = _dll_classnames;
|
|
10608
|
-
const _jsxFileName$m = "/
|
|
10608
|
+
const _jsxFileName$m = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/point/arrow.jsx";
|
|
10609
10609
|
class Arrow$1 extends React$m.Component {
|
|
10610
10610
|
static __initStatic() {
|
|
10611
10611
|
this.propTypes = {
|
|
@@ -10726,7 +10726,7 @@ const require$$1 = _dll_prop_types;
|
|
|
10726
10726
|
Object.defineProperty(AutosizeInput$1, "__esModule", {
|
|
10727
10727
|
value: true
|
|
10728
10728
|
});
|
|
10729
|
-
var _extends = Object.assign || (function (target) {
|
|
10729
|
+
var _extends$2 = Object.assign || (function (target) {
|
|
10730
10730
|
for (var i = 1; i < arguments.length; i++) {
|
|
10731
10731
|
var source = arguments[i];
|
|
10732
10732
|
for (var key in source) {
|
|
@@ -10956,9 +10956,9 @@ var AutosizeInput = (function (_Component) {
|
|
|
10956
10956
|
}
|
|
10957
10957
|
return currentValue;
|
|
10958
10958
|
});
|
|
10959
|
-
var wrapperStyle = _extends({}, this.props.style);
|
|
10959
|
+
var wrapperStyle = _extends$2({}, this.props.style);
|
|
10960
10960
|
if (!wrapperStyle.display) wrapperStyle.display = 'inline-block';
|
|
10961
|
-
var inputStyle = _extends({
|
|
10961
|
+
var inputStyle = _extends$2({
|
|
10962
10962
|
boxSizing: 'content-box',
|
|
10963
10963
|
width: this.state.inputWidth + 'px'
|
|
10964
10964
|
}, this.props.inputStyle);
|
|
@@ -10970,7 +10970,7 @@ var AutosizeInput = (function (_Component) {
|
|
|
10970
10970
|
return _react2.default.createElement('div', {
|
|
10971
10971
|
className: this.props.className,
|
|
10972
10972
|
style: wrapperStyle
|
|
10973
|
-
}, this.renderStyles(), _react2.default.createElement('input', _extends({}, inputProps, {
|
|
10973
|
+
}, this.renderStyles(), _react2.default.createElement('input', _extends$2({}, inputProps, {
|
|
10974
10974
|
ref: this.inputRef
|
|
10975
10975
|
})), _react2.default.createElement('div', {
|
|
10976
10976
|
ref: this.sizerRef,
|
|
@@ -11019,7 +11019,7 @@ const useDebounce = (value, delay) => {
|
|
|
11019
11019
|
};
|
|
11020
11020
|
const React$l = _dll_react;
|
|
11021
11021
|
const PropTypes$k = _dll_prop_types;
|
|
11022
|
-
const _jsxFileName$l = "/
|
|
11022
|
+
const _jsxFileName$l = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/label-svg-icon.jsx";
|
|
11023
11023
|
const SvgIcon = ({type}) => {
|
|
11024
11024
|
const icons = {
|
|
11025
11025
|
correct: React$l.createElement('svg', {
|
|
@@ -11096,7 +11096,7 @@ const cn$1 = _dll_classnames;
|
|
|
11096
11096
|
const PropTypes$j = _dll_prop_types;
|
|
11097
11097
|
const {withStyles: withStyles$f} = _dll_material_ui__core_styles;
|
|
11098
11098
|
const {color: color$b} = _dll_pie_lib__render_ui;
|
|
11099
|
-
const _jsxFileName$k = "/
|
|
11099
|
+
const _jsxFileName$k = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/mark-label.jsx";
|
|
11100
11100
|
const inputStyles = theme => ({
|
|
11101
11101
|
float: 'right',
|
|
11102
11102
|
padding: theme.spacing.unit * 0.5,
|
|
@@ -11368,7 +11368,7 @@ const React$j = _dll_react;
|
|
|
11368
11368
|
const ReactDOM$3 = _dll_react_dom;
|
|
11369
11369
|
const {isEqual: isEqual$2} = _dll_lodash;
|
|
11370
11370
|
const {isEmpty: isEmpty$3} = _dll_lodash;
|
|
11371
|
-
const _jsxFileName$j = "/
|
|
11371
|
+
const _jsxFileName$j = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/point/component.jsx";
|
|
11372
11372
|
class Point extends React$j.Component {
|
|
11373
11373
|
static __initStatic() {
|
|
11374
11374
|
this.propTypes = {
|
|
@@ -11524,7 +11524,7 @@ const PropTypes$i = _dll_prop_types;
|
|
|
11524
11524
|
const {withStyles: withStyles$e} = _dll_material_ui__core_styles;
|
|
11525
11525
|
const classNames$c = _dll_classnames;
|
|
11526
11526
|
const {color: color$a} = _dll_pie_lib__render_ui;
|
|
11527
|
-
const _jsxFileName$i = "/
|
|
11527
|
+
const _jsxFileName$i = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/circle/bg-circle.jsx";
|
|
11528
11528
|
class RawCircle extends React$i.Component {
|
|
11529
11529
|
static __initStatic() {
|
|
11530
11530
|
this.propTypes = {
|
|
@@ -11612,7 +11612,7 @@ const PropTypes$h = _dll_prop_types;
|
|
|
11612
11612
|
const {withStyles: withStyles$d} = _dll_material_ui__core_styles;
|
|
11613
11613
|
const classNames$b = _dll_classnames;
|
|
11614
11614
|
const {color: color$9} = _dll_pie_lib__render_ui;
|
|
11615
|
-
const _jsxFileName$h = "/
|
|
11615
|
+
const _jsxFileName$h = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/line/line-path.jsx";
|
|
11616
11616
|
class RawLinePath extends React$h.Component {
|
|
11617
11617
|
static __initStatic() {
|
|
11618
11618
|
this.propTypes = {
|
|
@@ -11709,7 +11709,7 @@ const {isEmpty: isEmpty$2} = _dll_lodash;
|
|
|
11709
11709
|
const PropTypes$g = _dll_prop_types;
|
|
11710
11710
|
const ReactDOM$2 = _dll_react_dom;
|
|
11711
11711
|
const {color: color$8} = _dll_pie_lib__render_ui;
|
|
11712
|
-
const _jsxFileName$g = "/
|
|
11712
|
+
const _jsxFileName$g = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/line/index.jsx";
|
|
11713
11713
|
var _class;
|
|
11714
11714
|
const lineTool = (type, Component) => () => ({
|
|
11715
11715
|
type,
|
|
@@ -12189,7 +12189,7 @@ const styles$5 = {
|
|
|
12189
12189
|
};
|
|
12190
12190
|
const React$f = _dll_react;
|
|
12191
12191
|
const PropTypes$f = _dll_prop_types;
|
|
12192
|
-
const _jsxFileName$f = "/
|
|
12192
|
+
const _jsxFileName$f = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/shared/line/with-root-edge.jsx";
|
|
12193
12193
|
const toRootEdge = m => {
|
|
12194
12194
|
const out = {
|
|
12195
12195
|
...m
|
|
@@ -12316,7 +12316,7 @@ const classNames$a = _dll_classnames;
|
|
|
12316
12316
|
const ReactDOM$1 = _dll_react_dom;
|
|
12317
12317
|
const {isEmpty: isEmpty$1} = _dll_lodash;
|
|
12318
12318
|
const {color: color$7} = _dll_pie_lib__render_ui;
|
|
12319
|
-
const _jsxFileName$e = "/
|
|
12319
|
+
const _jsxFileName$e = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/circle/component.jsx";
|
|
12320
12320
|
const opacityPulsate = opacity => ({
|
|
12321
12321
|
'0%': {
|
|
12322
12322
|
opacity: '0.0'
|
|
@@ -12668,7 +12668,7 @@ const PropTypes$d = _dll_prop_types;
|
|
|
12668
12668
|
const {withStyles: withStyles$b} = _dll_material_ui__core_styles;
|
|
12669
12669
|
const {color: color$6} = _dll_pie_lib__render_ui;
|
|
12670
12670
|
const classNames$9 = _dll_classnames;
|
|
12671
|
-
const _jsxFileName$d = "/
|
|
12671
|
+
const _jsxFileName$d = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/polygon/line.jsx";
|
|
12672
12672
|
class RawLine extends React$d.Component {
|
|
12673
12673
|
static __initStatic() {
|
|
12674
12674
|
this.propTypes = {
|
|
@@ -12757,7 +12757,7 @@ const {withStyles: withStyles$a} = _dll_material_ui__core_styles;
|
|
|
12757
12757
|
const classNames$8 = _dll_classnames;
|
|
12758
12758
|
const {color: color$5} = _dll_pie_lib__render_ui;
|
|
12759
12759
|
const {fade: fade} = _dll_material_ui__core_styles_color_manipulator;
|
|
12760
|
-
const _jsxFileName$c = "/
|
|
12760
|
+
const _jsxFileName$c = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/polygon/polygon.jsx";
|
|
12761
12761
|
const getPointString = (points, scale) => {
|
|
12762
12762
|
return (points || []).map(p => {
|
|
12763
12763
|
const scaledPoint = {
|
|
@@ -12852,7 +12852,7 @@ const {initial: initial} = _dll_lodash;
|
|
|
12852
12852
|
const {isEmpty: isEmpty} = _dll_lodash;
|
|
12853
12853
|
const debug$9 = _dll_debug;
|
|
12854
12854
|
const ReactDOM = _dll_react_dom;
|
|
12855
|
-
const _jsxFileName$b = "/
|
|
12855
|
+
const _jsxFileName$b = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/polygon/component.jsx";
|
|
12856
12856
|
const log$9 = debug$9('pie-lib:graphing:polygon');
|
|
12857
12857
|
const buildLines = (points, closed) => {
|
|
12858
12858
|
const expanded = points.reduce((acc, p, index) => {
|
|
@@ -13339,6 +13339,20 @@ const tool$8 = () => ({
|
|
|
13339
13339
|
});
|
|
13340
13340
|
const debug$8 = _dll_debug;
|
|
13341
13341
|
const _ = _dll_lodash;
|
|
13342
|
+
function _extends$1() {
|
|
13343
|
+
_extends$1 = Object.assign || (function (target) {
|
|
13344
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
13345
|
+
var source = arguments[i];
|
|
13346
|
+
for (var key in source) {
|
|
13347
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
13348
|
+
target[key] = source[key];
|
|
13349
|
+
}
|
|
13350
|
+
}
|
|
13351
|
+
}
|
|
13352
|
+
return target;
|
|
13353
|
+
});
|
|
13354
|
+
return _extends$1.apply(this, arguments);
|
|
13355
|
+
}
|
|
13342
13356
|
const log$8 = debug$8('pie-lib:graphing:tools:utils');
|
|
13343
13357
|
const FREQ_DIVIDER = 16;
|
|
13344
13358
|
const getAmplitudeAndFreq = (root, edge) => {
|
|
@@ -13370,11 +13384,10 @@ const xPoints = (root, freq, min, max) => {
|
|
|
13370
13384
|
return _.concat(leftpoints, rightpoints);
|
|
13371
13385
|
};
|
|
13372
13386
|
const sinY = (amplitude, freq, shift) => x => {
|
|
13373
|
-
shift = {
|
|
13387
|
+
shift = _extends$1({
|
|
13374
13388
|
phase: 0,
|
|
13375
|
-
vertical: 0
|
|
13376
|
-
|
|
13377
|
-
};
|
|
13389
|
+
vertical: 0
|
|
13390
|
+
}, shift);
|
|
13378
13391
|
const TWO_PI = Math.PI * 2;
|
|
13379
13392
|
const num = TWO_PI * (x - shift.phase);
|
|
13380
13393
|
const frac = num / freq;
|
|
@@ -13383,9 +13396,7 @@ const sinY = (amplitude, freq, shift) => x => {
|
|
|
13383
13396
|
return amplitude * sinFloat + shift.vertical;
|
|
13384
13397
|
};
|
|
13385
13398
|
const parabolaFromTwoPoints = (root, edge) => {
|
|
13386
|
-
edge = edge || ({
|
|
13387
|
-
...root
|
|
13388
|
-
});
|
|
13399
|
+
edge = edge || _extends$1({}, root);
|
|
13389
13400
|
const mirrorEdge = {
|
|
13390
13401
|
x: root.x - (edge.x - root.x),
|
|
13391
13402
|
y: edge.y
|
|
@@ -13419,9 +13430,7 @@ const pointsToABC = (one, two, three) => {
|
|
|
13419
13430
|
};
|
|
13420
13431
|
const parabola = (a, b, c) => x => a * Math.pow(x, 2) + b * x + c;
|
|
13421
13432
|
const absoluteFromTwoPoints = (root, edge) => {
|
|
13422
|
-
edge = edge || ({
|
|
13423
|
-
...root
|
|
13424
|
-
});
|
|
13433
|
+
edge = edge || _extends$1({}, root);
|
|
13425
13434
|
const a = pointsToAForAbsolute(root, edge);
|
|
13426
13435
|
return absolute(a, root.x, root.y);
|
|
13427
13436
|
};
|
|
@@ -13436,9 +13445,7 @@ const pointsToAForAbsolute = (one, two) => {
|
|
|
13436
13445
|
};
|
|
13437
13446
|
const absolute = (a, h, k) => x => a * Math.abs(x - h) + k;
|
|
13438
13447
|
const exponentialFromTwoPoints = (root, edge) => {
|
|
13439
|
-
edge = edge || ({
|
|
13440
|
-
...root
|
|
13441
|
-
});
|
|
13448
|
+
edge = edge || _extends$1({}, root);
|
|
13442
13449
|
const {a, b} = pointsToABForExponential(root, edge);
|
|
13443
13450
|
return exponential(a, b);
|
|
13444
13451
|
};
|
|
@@ -13455,21 +13462,17 @@ const pointsToABForExponential = (one, two) => {
|
|
|
13455
13462
|
const exponential = (a, b) => x => a * Math.pow(b, x);
|
|
13456
13463
|
const buildDataPoints = (domain, range, root, edge, yFn, excludeOutsidePoints = false) => {
|
|
13457
13464
|
log$8('[buildDataPoints] domain:', domain, 'range:', range, 'root:', root, 'edge:', edge);
|
|
13458
|
-
domain = {
|
|
13465
|
+
domain = _extends$1({
|
|
13459
13466
|
min: 0,
|
|
13460
13467
|
max: 0,
|
|
13461
|
-
step: 1
|
|
13462
|
-
|
|
13463
|
-
|
|
13464
|
-
range = {
|
|
13468
|
+
step: 1
|
|
13469
|
+
}, domain);
|
|
13470
|
+
range = _extends$1({
|
|
13465
13471
|
min: 0,
|
|
13466
13472
|
max: 0,
|
|
13467
|
-
step: 1
|
|
13468
|
-
|
|
13469
|
-
};
|
|
13470
|
-
edge = edge ? edge : {
|
|
13471
|
-
...root
|
|
13472
|
-
};
|
|
13473
|
+
step: 1
|
|
13474
|
+
}, range);
|
|
13475
|
+
edge = edge ? edge : _extends$1({}, root);
|
|
13473
13476
|
const minX = Math.min(root.x, edge.x);
|
|
13474
13477
|
const xPts = xPoints(minX, domain.step, domain.min - domain.step, domain.max + domain.step);
|
|
13475
13478
|
log$8('[buildDataPoints]:xPts:', xPts);
|
|
@@ -13611,7 +13614,7 @@ const React$a = _dll_react;
|
|
|
13611
13614
|
const PropTypes$a = _dll_prop_types;
|
|
13612
13615
|
const classNames$7 = _dll_classnames;
|
|
13613
13616
|
const {withStyles: withStyles$8} = _dll_material_ui__core_styles;
|
|
13614
|
-
const _jsxFileName$a = "/
|
|
13617
|
+
const _jsxFileName$a = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/line/component.jsx";
|
|
13615
13618
|
const lineStyles$2 = theme => ({
|
|
13616
13619
|
line: styles$5.line(theme),
|
|
13617
13620
|
enabledArrow: styles$5.arrow(theme),
|
|
@@ -13687,7 +13690,7 @@ const React$9 = _dll_react;
|
|
|
13687
13690
|
const PropTypes$9 = _dll_prop_types;
|
|
13688
13691
|
const {withStyles: withStyles$7} = _dll_material_ui__core_styles;
|
|
13689
13692
|
const classNames$6 = _dll_classnames;
|
|
13690
|
-
const _jsxFileName$9 = "/
|
|
13693
|
+
const _jsxFileName$9 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/segment/component.jsx";
|
|
13691
13694
|
const lineStyles$1 = theme => ({
|
|
13692
13695
|
line: styles$5.line(theme),
|
|
13693
13696
|
disabled: styles$5.disabled(theme),
|
|
@@ -13732,7 +13735,7 @@ const React$8 = _dll_react;
|
|
|
13732
13735
|
const PropTypes$8 = _dll_prop_types;
|
|
13733
13736
|
const {withStyles: withStyles$6} = _dll_material_ui__core_styles;
|
|
13734
13737
|
const classNames$5 = _dll_classnames;
|
|
13735
|
-
const _jsxFileName$8 = "/
|
|
13738
|
+
const _jsxFileName$8 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/ray/component.jsx";
|
|
13736
13739
|
const rayStyles = theme => ({
|
|
13737
13740
|
line: styles$5.line(theme),
|
|
13738
13741
|
enabledArrow: styles$5.arrow(theme),
|
|
@@ -13807,7 +13810,7 @@ const React$7 = _dll_react;
|
|
|
13807
13810
|
const PropTypes$7 = _dll_prop_types;
|
|
13808
13811
|
const classNames$4 = _dll_classnames;
|
|
13809
13812
|
const {withStyles: withStyles$5} = _dll_material_ui__core_styles;
|
|
13810
|
-
const _jsxFileName$7 = "/
|
|
13813
|
+
const _jsxFileName$7 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tools/vector/component.jsx";
|
|
13811
13814
|
const lineStyles = theme => ({
|
|
13812
13815
|
line: styles$5.line(theme),
|
|
13813
13816
|
disabled: styles$5.disabled(theme),
|
|
@@ -13967,7 +13970,7 @@ const labelTool = {
|
|
|
13967
13970
|
type: 'label'
|
|
13968
13971
|
};
|
|
13969
13972
|
const toolsArr = [tool$9(), tool$5(), tool$6(), tool$a(), tool$8(), tool$3(), tool$4(), tool$7(), tool$2(), tool$1(), tool(), labelTool];
|
|
13970
|
-
var index$
|
|
13973
|
+
var index$2 = Object.freeze({
|
|
13971
13974
|
__proto__: null,
|
|
13972
13975
|
allTools: allTools,
|
|
13973
13976
|
toolsArr: toolsArr,
|
|
@@ -14683,7 +14686,7 @@ function _isNativeReflectConstruct$2() {
|
|
|
14683
14686
|
}
|
|
14684
14687
|
}
|
|
14685
14688
|
var checkedLoadedFor = {};
|
|
14686
|
-
var Translator
|
|
14689
|
+
var Translator = (function (_EventEmitter) {
|
|
14687
14690
|
_inherits(Translator, _EventEmitter);
|
|
14688
14691
|
var _super = _createSuper$2(Translator);
|
|
14689
14692
|
function Translator(services) {
|
|
@@ -16398,7 +16401,7 @@ var I18n = (function (_EventEmitter) {
|
|
|
16398
16401
|
s.i18nFormat = createClassOnDemand(this.modules.i18nFormat);
|
|
16399
16402
|
if (s.i18nFormat.init) s.i18nFormat.init(this);
|
|
16400
16403
|
}
|
|
16401
|
-
this.translator = new Translator
|
|
16404
|
+
this.translator = new Translator(this.services, this.options);
|
|
16402
16405
|
this.translator.on('*', function (event) {
|
|
16403
16406
|
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
16404
16407
|
args[_key2 - 1] = arguments[_key2];
|
|
@@ -16758,7 +16761,7 @@ var I18n = (function (_EventEmitter) {
|
|
|
16758
16761
|
clone.services.utils = {
|
|
16759
16762
|
hasLoadedNamespace: clone.hasLoadedNamespace.bind(clone)
|
|
16760
16763
|
};
|
|
16761
|
-
clone.translator = new Translator
|
|
16764
|
+
clone.translator = new Translator(clone.services, clone.options);
|
|
16762
16765
|
clone.translator.on('*', function (event) {
|
|
16763
16766
|
for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
|
|
16764
16767
|
args[_key4 - 1] = arguments[_key4];
|
|
@@ -16807,6 +16810,20 @@ instance.setDefaultNamespace;
|
|
|
16807
16810
|
instance.hasLoadedNamespace;
|
|
16808
16811
|
instance.loadNamespaces;
|
|
16809
16812
|
instance.loadLanguages;
|
|
16813
|
+
function _extends() {
|
|
16814
|
+
_extends = Object.assign || (function (target) {
|
|
16815
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
16816
|
+
var source = arguments[i];
|
|
16817
|
+
for (var key in source) {
|
|
16818
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
16819
|
+
target[key] = source[key];
|
|
16820
|
+
}
|
|
16821
|
+
}
|
|
16822
|
+
}
|
|
16823
|
+
return target;
|
|
16824
|
+
});
|
|
16825
|
+
return _extends.apply(this, arguments);
|
|
16826
|
+
}
|
|
16810
16827
|
var en = {
|
|
16811
16828
|
translation: {
|
|
16812
16829
|
categorize: {
|
|
@@ -17004,9 +17021,8 @@ instance.init({
|
|
|
17004
17021
|
es: es
|
|
17005
17022
|
}
|
|
17006
17023
|
});
|
|
17007
|
-
var
|
|
17008
|
-
translator: {
|
|
17009
|
-
...instance,
|
|
17024
|
+
var index$1 = {
|
|
17025
|
+
translator: _extends({}, instance, {
|
|
17010
17026
|
t: (key, options) => {
|
|
17011
17027
|
const {lng} = options;
|
|
17012
17028
|
switch (lng) {
|
|
@@ -17021,12 +17037,11 @@ var Translator = {
|
|
|
17021
17037
|
options.lng = 'es';
|
|
17022
17038
|
break;
|
|
17023
17039
|
}
|
|
17024
|
-
return instance.t(key, {
|
|
17025
|
-
lng
|
|
17026
|
-
|
|
17027
|
-
});
|
|
17040
|
+
return instance.t(key, _extends({
|
|
17041
|
+
lng
|
|
17042
|
+
}, options));
|
|
17028
17043
|
}
|
|
17029
|
-
},
|
|
17044
|
+
}),
|
|
17030
17045
|
languageOptions: [{
|
|
17031
17046
|
value: 'en_US',
|
|
17032
17047
|
label: 'English (US)'
|
|
@@ -17044,7 +17059,7 @@ const {color: color$4} = _dll_pie_lib__render_ui;
|
|
|
17044
17059
|
const {withDragContext: withDragContext} = _dll_pie_lib__drag;
|
|
17045
17060
|
const {DragSource: DragSource} = _dll_pie_lib__drag;
|
|
17046
17061
|
const {DropTarget: DropTarget} = _dll_pie_lib__drag;
|
|
17047
|
-
const _jsxFileName$6 = "/
|
|
17062
|
+
const _jsxFileName$6 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/toggle-bar.jsx";
|
|
17048
17063
|
function _optionalChain(ops) {
|
|
17049
17064
|
let lastAccessLHS = undefined;
|
|
17050
17065
|
let value = ops[0];
|
|
@@ -17066,7 +17081,7 @@ function _optionalChain(ops) {
|
|
|
17066
17081
|
}
|
|
17067
17082
|
return value;
|
|
17068
17083
|
}
|
|
17069
|
-
const {translator: translator$1} =
|
|
17084
|
+
const {translator: translator$1} = index$1;
|
|
17070
17085
|
const buttonStyles = () => ({
|
|
17071
17086
|
root: {
|
|
17072
17087
|
color: color$4.text()
|
|
@@ -17316,7 +17331,7 @@ const DragTool = DropTarget(DRAG_TYPE, itemTarget, collectTarget)(DragSource(DRA
|
|
|
17316
17331
|
const React$5 = _dll_react;
|
|
17317
17332
|
const PropTypes$5 = _dll_prop_types;
|
|
17318
17333
|
const classNames$3 = _dll_classnames;
|
|
17319
|
-
const _jsxFileName$5 = "/
|
|
17334
|
+
const _jsxFileName$5 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/tool-menu.jsx";
|
|
17320
17335
|
class ToolMenu extends React$5.Component {
|
|
17321
17336
|
constructor(...args) {
|
|
17322
17337
|
super(...args);
|
|
@@ -17380,8 +17395,8 @@ const classNames$2 = _dll_classnames;
|
|
|
17380
17395
|
const {Button: Button} = _dll_material_ui__core;
|
|
17381
17396
|
const {withStyles: withStyles$3} = _dll_material_ui__core;
|
|
17382
17397
|
const {color: color$3} = _dll_pie_lib__render_ui;
|
|
17383
|
-
const _jsxFileName$4 = "/
|
|
17384
|
-
const {translator} =
|
|
17398
|
+
const _jsxFileName$4 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/undo-redo.jsx";
|
|
17399
|
+
const {translator} = index$1;
|
|
17385
17400
|
class UndoRedo extends React$4.Component {
|
|
17386
17401
|
static __initStatic() {
|
|
17387
17402
|
this.propTypes = {
|
|
@@ -17468,7 +17483,7 @@ const {ExpansionPanelDetails: ExpansionPanelDetails$1} = _dll_material_ui__core;
|
|
|
17468
17483
|
const {ExpansionPanelSummary: ExpansionPanelSummary$1} = _dll_material_ui__core;
|
|
17469
17484
|
const {Typography: Typography$1} = _dll_material_ui__core;
|
|
17470
17485
|
const {ExpandMore: ExpandMoreIcon$1} = _dll_material_ui__icons;
|
|
17471
|
-
const _jsxFileName$3 = "/
|
|
17486
|
+
const _jsxFileName$3 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/graph-with-controls.jsx";
|
|
17472
17487
|
const setToolbarAvailability = toolbarTools => toolsArr.map(tA => ({
|
|
17473
17488
|
...tA,
|
|
17474
17489
|
toolbar: !!toolbarTools.find(t => t === tA.type)
|
|
@@ -17717,7 +17732,7 @@ const lastActionMiddleware = () => next => action => {
|
|
|
17717
17732
|
const React$2 = _dll_react;
|
|
17718
17733
|
const PropTypes$2 = _dll_prop_types;
|
|
17719
17734
|
const {isEqual: isEqual} = _dll_lodash;
|
|
17720
|
-
const _jsxFileName$2 = "/
|
|
17735
|
+
const _jsxFileName$2 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/container/index.jsx";
|
|
17721
17736
|
const mapStateToProps = s => ({
|
|
17722
17737
|
marks: s.marks.present
|
|
17723
17738
|
});
|
|
@@ -17809,7 +17824,7 @@ const {ExpandMore: ExpandMoreIcon} = _dll_material_ui__icons;
|
|
|
17809
17824
|
const {NumberTextFieldCustom: NumberTextFieldCustom} = _dll_pie_lib__config_ui;
|
|
17810
17825
|
const {Toggle: Toggle} = _dll_pie_lib__config_ui;
|
|
17811
17826
|
const EditableHTML = _dll_pie_lib__editable_html;
|
|
17812
|
-
const _jsxFileName$1 = "/
|
|
17827
|
+
const _jsxFileName$1 = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/grid-setup.jsx";
|
|
17813
17828
|
const GridConfig = props => {
|
|
17814
17829
|
const {classes, disabled, displayedFields, labelValue, labelValues, gridValue, gridValues, onChange} = props;
|
|
17815
17830
|
const {labelStep = {}, step = {}} = displayedFields;
|
|
@@ -18345,7 +18360,7 @@ const PropTypes = _dll_prop_types;
|
|
|
18345
18360
|
const classNames = _dll_classnames;
|
|
18346
18361
|
const {withStyles: withStyles} = _dll_material_ui__core_styles;
|
|
18347
18362
|
const {color: color} = _dll_pie_lib__render_ui;
|
|
18348
|
-
const _jsxFileName = "/
|
|
18363
|
+
const _jsxFileName = "/Users/carlacostea/Pie_Work/pie-framework/pie-lib/packages/graphing/src/key-legend.jsx";
|
|
18349
18364
|
const styles = theme => ({
|
|
18350
18365
|
container: {
|
|
18351
18366
|
backgroundColor: color.defaults.WHITE,
|
|
@@ -18798,7 +18813,7 @@ var index = Object.freeze({
|
|
|
18798
18813
|
GraphContainer: Root,
|
|
18799
18814
|
GridSetup: gridSetup,
|
|
18800
18815
|
ToolMenu: ToolMenu,
|
|
18801
|
-
tools: index$
|
|
18816
|
+
tools: index$2,
|
|
18802
18817
|
KeyLegend: keyLegend
|
|
18803
18818
|
});
|
|
18804
|
-
export {index as _dll_pie_lib__graphing, index$
|
|
18819
|
+
export {index as _dll_pie_lib__graphing, index$3 as _dll_pie_lib__plot};
|
package/module/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/graphing-module",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.7",
|
|
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.23.
|
|
11
|
+
"version": "2.23.2"
|
|
12
12
|
},
|
|
13
13
|
"@pie-lib/graphing": {
|
|
14
|
-
"version": "2.30.
|
|
14
|
+
"version": "2.30.2"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"hash": "
|
|
17
|
+
"hash": "ae735428913b8f652039f729cb7236e81a483de2"
|
|
18
18
|
},
|
|
19
19
|
"modules": [
|
|
20
20
|
{
|
|
21
21
|
"name": "@pie-lib/shared-module",
|
|
22
|
-
"version": "^1.14.
|
|
22
|
+
"version": "^1.14.7"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "@pie-lib/editable-html-module",
|
|
26
|
-
"version": "^5.6.
|
|
26
|
+
"version": "^5.6.7"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"name": "@pie-lib/drag-module",
|
|
30
|
-
"version": "^2.8.
|
|
30
|
+
"version": "^2.8.7"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "@pie-lib/config-module",
|
|
34
|
-
"version": "^2.19.
|
|
34
|
+
"version": "^2.19.7"
|
|
35
35
|
}
|
|
36
36
|
],
|
|
37
37
|
"isLocal": true
|