@pie-lib/graphing-module 1.11.31 → 1.12.1
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 +50 -39
- package/module/manifest.json +7 -7
- package/package.json +1 -1
package/module/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {_dll_prop_types, _dll_pie_lib__render_ui, _dll_material_ui__core_styles, _dll_react, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_material_ui__core, _dll_material_ui__core_styles_color_manipulator, _dll_material_ui__icons} from "../../shared-module@^1.6.
|
|
2
|
-
import {_dll_pie_lib__editable_html} from "../../editable-html-module@^3.7.
|
|
3
|
-
import {_dll_pie_lib__drag} from "../../drag-module@^2.1.
|
|
4
|
-
import {_dll_pie_lib__config_ui} from "../../config-module@^2.8.
|
|
1
|
+
import {_dll_prop_types, _dll_pie_lib__render_ui, _dll_material_ui__core_styles, _dll_react, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_material_ui__core, _dll_material_ui__core_styles_color_manipulator, _dll_material_ui__icons} from "../../shared-module@^1.6.31/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__editable_html} from "../../editable-html-module@^3.7.8/module/index.js";
|
|
3
|
+
import {_dll_pie_lib__drag} from "../../drag-module@^2.1.34/module/index.js";
|
|
4
|
+
import {_dll_pie_lib__config_ui} from "../../config-module@^2.8.18/module/index.js";
|
|
5
5
|
const PropTypes$E = _dll_prop_types;
|
|
6
6
|
const BaseDomainRangeType = {
|
|
7
7
|
min: PropTypes$E.number.isRequired,
|
|
@@ -15537,7 +15537,7 @@ function _isNativeReflectConstruct$2() {
|
|
|
15537
15537
|
}
|
|
15538
15538
|
}
|
|
15539
15539
|
var checkedLoadedFor = {};
|
|
15540
|
-
var Translator = (function (_EventEmitter) {
|
|
15540
|
+
var Translator$1 = (function (_EventEmitter) {
|
|
15541
15541
|
_inherits(Translator, _EventEmitter);
|
|
15542
15542
|
var _super = _createSuper$2(Translator);
|
|
15543
15543
|
function Translator(services) {
|
|
@@ -17252,7 +17252,7 @@ var I18n = (function (_EventEmitter) {
|
|
|
17252
17252
|
s.i18nFormat = createClassOnDemand(this.modules.i18nFormat);
|
|
17253
17253
|
if (s.i18nFormat.init) s.i18nFormat.init(this);
|
|
17254
17254
|
}
|
|
17255
|
-
this.translator = new Translator(this.services, this.options);
|
|
17255
|
+
this.translator = new Translator$1(this.services, this.options);
|
|
17256
17256
|
this.translator.on('*', function (event) {
|
|
17257
17257
|
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
17258
17258
|
args[_key2 - 1] = arguments[_key2];
|
|
@@ -17612,7 +17612,7 @@ var I18n = (function (_EventEmitter) {
|
|
|
17612
17612
|
clone.services.utils = {
|
|
17613
17613
|
hasLoadedNamespace: clone.hasLoadedNamespace.bind(clone)
|
|
17614
17614
|
};
|
|
17615
|
-
clone.translator = new Translator(clone.services, clone.options);
|
|
17615
|
+
clone.translator = new Translator$1(clone.services, clone.options);
|
|
17616
17616
|
clone.translator.on('*', function (event) {
|
|
17617
17617
|
for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
|
|
17618
17618
|
args[_key4 - 1] = arguments[_key4];
|
|
@@ -17794,27 +17794,36 @@ instance.init({
|
|
|
17794
17794
|
es: es
|
|
17795
17795
|
}
|
|
17796
17796
|
});
|
|
17797
|
-
var
|
|
17798
|
-
|
|
17799
|
-
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
17805
|
-
|
|
17806
|
-
|
|
17807
|
-
|
|
17808
|
-
|
|
17809
|
-
|
|
17810
|
-
|
|
17811
|
-
|
|
17797
|
+
var Translator = {
|
|
17798
|
+
translator: {
|
|
17799
|
+
...instance,
|
|
17800
|
+
t: (key, options) => {
|
|
17801
|
+
const {lng} = options;
|
|
17802
|
+
switch (lng) {
|
|
17803
|
+
case "en_US":
|
|
17804
|
+
case "en-US":
|
|
17805
|
+
options.lng = "en";
|
|
17806
|
+
break;
|
|
17807
|
+
case "es_ES":
|
|
17808
|
+
case "es-ES":
|
|
17809
|
+
case "es_MX":
|
|
17810
|
+
case "es-MX":
|
|
17811
|
+
options.lng = "es";
|
|
17812
|
+
break;
|
|
17813
|
+
}
|
|
17814
|
+
return instance.t(key, {
|
|
17815
|
+
lng,
|
|
17816
|
+
...options
|
|
17817
|
+
});
|
|
17812
17818
|
}
|
|
17813
|
-
|
|
17814
|
-
|
|
17815
|
-
|
|
17816
|
-
|
|
17817
|
-
}
|
|
17819
|
+
},
|
|
17820
|
+
languageOptions: [{
|
|
17821
|
+
value: "en_US",
|
|
17822
|
+
label: "English (US)"
|
|
17823
|
+
}, {
|
|
17824
|
+
value: "es_ES",
|
|
17825
|
+
label: "Spanish"
|
|
17826
|
+
}]
|
|
17818
17827
|
};
|
|
17819
17828
|
const React$5 = _dll_react;
|
|
17820
17829
|
const PropTypes$5 = _dll_prop_types;
|
|
@@ -17847,6 +17856,7 @@ function _optionalChain(ops) {
|
|
|
17847
17856
|
}
|
|
17848
17857
|
return value;
|
|
17849
17858
|
}
|
|
17859
|
+
const {translator: translator$1} = Translator;
|
|
17850
17860
|
const buttonStyles = () => ({
|
|
17851
17861
|
root: {
|
|
17852
17862
|
color: color$3.text(),
|
|
@@ -17888,9 +17898,9 @@ const MiniButton = withStyles$3(buttonStyles)(props => {
|
|
|
17888
17898
|
__self: undefined,
|
|
17889
17899
|
__source: {
|
|
17890
17900
|
fileName: _jsxFileName$5,
|
|
17891
|
-
lineNumber:
|
|
17901
|
+
lineNumber: 43
|
|
17892
17902
|
}
|
|
17893
|
-
}, translator.t(`graphing.${translatorKey}`, {
|
|
17903
|
+
}, translator$1.t(`graphing.${translatorKey}`, {
|
|
17894
17904
|
lng: language
|
|
17895
17905
|
}));
|
|
17896
17906
|
});
|
|
@@ -17944,7 +17954,7 @@ class ToggleBar extends React$5.Component {
|
|
|
17944
17954
|
__self: this,
|
|
17945
17955
|
__source: {
|
|
17946
17956
|
fileName: _jsxFileName$5,
|
|
17947
|
-
lineNumber:
|
|
17957
|
+
lineNumber: 99
|
|
17948
17958
|
}
|
|
17949
17959
|
}, (options || []).map((option, index) => {
|
|
17950
17960
|
if ((allTools || []).includes(option)) {
|
|
@@ -17960,7 +17970,7 @@ class ToggleBar extends React$5.Component {
|
|
|
17960
17970
|
__self: this,
|
|
17961
17971
|
__source: {
|
|
17962
17972
|
fileName: _jsxFileName$5,
|
|
17963
|
-
lineNumber:
|
|
17973
|
+
lineNumber: 106
|
|
17964
17974
|
}
|
|
17965
17975
|
}, React$5.createElement(MiniButton, {
|
|
17966
17976
|
className: cn(classes.button, isSelected && classes.selected),
|
|
@@ -17973,7 +17983,7 @@ class ToggleBar extends React$5.Component {
|
|
|
17973
17983
|
__self: this,
|
|
17974
17984
|
__source: {
|
|
17975
17985
|
fileName: _jsxFileName$5,
|
|
17976
|
-
lineNumber:
|
|
17986
|
+
lineNumber: 114
|
|
17977
17987
|
}
|
|
17978
17988
|
}));
|
|
17979
17989
|
}
|
|
@@ -18033,21 +18043,21 @@ class Item extends React$5.Component {
|
|
|
18033
18043
|
__self: this,
|
|
18034
18044
|
__source: {
|
|
18035
18045
|
fileName: _jsxFileName$5,
|
|
18036
|
-
lineNumber:
|
|
18046
|
+
lineNumber: 188
|
|
18037
18047
|
}
|
|
18038
18048
|
}, connectDragSource(connectDropTarget(React$5.createElement('div', {
|
|
18039
18049
|
className: isDragging && classes.hidden,
|
|
18040
18050
|
__self: this,
|
|
18041
18051
|
__source: {
|
|
18042
18052
|
fileName: _jsxFileName$5,
|
|
18043
|
-
lineNumber:
|
|
18053
|
+
lineNumber: 189
|
|
18044
18054
|
}
|
|
18045
18055
|
}, children))), connectDragPreview(React$5.createElement('div', {
|
|
18046
18056
|
className: classes.under,
|
|
18047
18057
|
__self: this,
|
|
18048
18058
|
__source: {
|
|
18049
18059
|
fileName: _jsxFileName$5,
|
|
18050
|
-
lineNumber:
|
|
18060
|
+
lineNumber: 190
|
|
18051
18061
|
}
|
|
18052
18062
|
}, children)));
|
|
18053
18063
|
}
|
|
@@ -18179,6 +18189,7 @@ const {Button: Button} = _dll_material_ui__core;
|
|
|
18179
18189
|
const {withStyles: withStyles$2} = _dll_material_ui__core;
|
|
18180
18190
|
const {color: color$2} = _dll_pie_lib__render_ui;
|
|
18181
18191
|
const _jsxFileName$3 = "/home/circleci/repo/packages/graphing/src/undo-redo.jsx";
|
|
18192
|
+
const {translator} = Translator;
|
|
18182
18193
|
class UndoRedo extends React$3.Component {
|
|
18183
18194
|
static __initStatic() {
|
|
18184
18195
|
this.propTypes = {
|
|
@@ -18200,7 +18211,7 @@ class UndoRedo extends React$3.Component {
|
|
|
18200
18211
|
__self: this,
|
|
18201
18212
|
__source: {
|
|
18202
18213
|
fileName: _jsxFileName$3,
|
|
18203
|
-
lineNumber:
|
|
18214
|
+
lineNumber: 25
|
|
18204
18215
|
}
|
|
18205
18216
|
}, React$3.createElement(Button, {
|
|
18206
18217
|
classes: {
|
|
@@ -18210,7 +18221,7 @@ class UndoRedo extends React$3.Component {
|
|
|
18210
18221
|
__self: this,
|
|
18211
18222
|
__source: {
|
|
18212
18223
|
fileName: _jsxFileName$3,
|
|
18213
|
-
lineNumber:
|
|
18224
|
+
lineNumber: 26
|
|
18214
18225
|
}
|
|
18215
18226
|
}, translator.t("common:undo", {
|
|
18216
18227
|
lng: language
|
|
@@ -18222,7 +18233,7 @@ class UndoRedo extends React$3.Component {
|
|
|
18222
18233
|
__self: this,
|
|
18223
18234
|
__source: {
|
|
18224
18235
|
fileName: _jsxFileName$3,
|
|
18225
|
-
lineNumber:
|
|
18236
|
+
lineNumber: 29
|
|
18226
18237
|
}
|
|
18227
18238
|
}, translator.t("graphing.redo", {
|
|
18228
18239
|
lng: language
|
|
@@ -18234,7 +18245,7 @@ class UndoRedo extends React$3.Component {
|
|
|
18234
18245
|
__self: this,
|
|
18235
18246
|
__source: {
|
|
18236
18247
|
fileName: _jsxFileName$3,
|
|
18237
|
-
lineNumber:
|
|
18248
|
+
lineNumber: 32
|
|
18238
18249
|
}
|
|
18239
18250
|
}, translator.t("graphing.reset", {
|
|
18240
18251
|
lng: language
|
package/module/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/graphing-module",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"mappings": {
|
|
5
5
|
"@pie-lib/plot": "_dll_pie_lib__plot",
|
|
6
6
|
"@pie-lib/graphing": "_dll_pie_lib__graphing",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"version": "2.6.13"
|
|
14
14
|
},
|
|
15
15
|
"@pie-lib/graphing": {
|
|
16
|
-
"version": "2.
|
|
16
|
+
"version": "2.13.1"
|
|
17
17
|
},
|
|
18
18
|
"d3-scale": {
|
|
19
19
|
"version": "2.2.2"
|
|
@@ -22,24 +22,24 @@
|
|
|
22
22
|
"version": "1.4.2"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
"hash": "
|
|
25
|
+
"hash": "2c9a1298eb400612dde1ed6c99f6cf9c66dab7dc"
|
|
26
26
|
},
|
|
27
27
|
"modules": [
|
|
28
28
|
{
|
|
29
29
|
"name": "@pie-lib/shared-module",
|
|
30
|
-
"version": "^1.6.
|
|
30
|
+
"version": "^1.6.31"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "@pie-lib/editable-html-module",
|
|
34
|
-
"version": "^3.7.
|
|
34
|
+
"version": "^3.7.8"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"name": "@pie-lib/drag-module",
|
|
38
|
-
"version": "^2.1.
|
|
38
|
+
"version": "^2.1.34"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"name": "@pie-lib/config-module",
|
|
42
|
-
"version": "^2.8.
|
|
42
|
+
"version": "^2.8.18"
|
|
43
43
|
}
|
|
44
44
|
],
|
|
45
45
|
"isLocal": true
|