@oanda/labs-correlation-widget 1.0.167 → 1.0.169
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/CHANGELOG.md +1284 -29308
- package/dist/module/CorrelationWidget/CorrelationWidget.js +19 -12
- package/dist/module/CorrelationWidget/CorrelationWidget.js.map +1 -1
- package/dist/module/CorrelationWidget/Main.js +23 -16
- package/dist/module/CorrelationWidget/Main.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Grid/GridCell.js +17 -10
- package/dist/module/CorrelationWidget/components/Grid/GridCell.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Grid/GridHeader.js +16 -9
- package/dist/module/CorrelationWidget/components/Grid/GridHeader.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Grid/GridLegend.js +26 -19
- package/dist/module/CorrelationWidget/components/Grid/GridLegend.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Grid/index.js +38 -3
- package/dist/module/CorrelationWidget/components/Grid/index.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Grid/types.js +5 -1
- package/dist/module/CorrelationWidget/components/Heatmap/Heatmap.js +31 -24
- package/dist/module/CorrelationWidget/components/Heatmap/Heatmap.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Heatmap/HeatmapGrid.js +24 -16
- package/dist/module/CorrelationWidget/components/Heatmap/HeatmapGrid.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Heatmap/index.js +16 -1
- package/dist/module/CorrelationWidget/components/Heatmap/index.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Heatmap/types.js +5 -1
- package/dist/module/CorrelationWidget/components/Heatmap/utils.js +7 -1
- package/dist/module/CorrelationWidget/components/Heatmap/utils.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Matrix/Matrix.js +29 -22
- package/dist/module/CorrelationWidget/components/Matrix/Matrix.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Matrix/MatrixGrid.js +22 -14
- package/dist/module/CorrelationWidget/components/Matrix/MatrixGrid.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Matrix/index.js +16 -1
- package/dist/module/CorrelationWidget/components/Matrix/index.js.map +1 -1
- package/dist/module/CorrelationWidget/components/Matrix/types.js +5 -1
- package/dist/module/CorrelationWidget/components/index.js +38 -3
- package/dist/module/CorrelationWidget/components/index.js.map +1 -1
- package/dist/module/CorrelationWidget/config.js +18 -13
- package/dist/module/CorrelationWidget/config.js.map +1 -1
- package/dist/module/CorrelationWidget/index.js +16 -1
- package/dist/module/CorrelationWidget/index.js.map +1 -1
- package/dist/module/CorrelationWidget/render.js +13 -10
- package/dist/module/CorrelationWidget/render.js.map +1 -1
- package/dist/module/CorrelationWidget/types.js +5 -1
- package/dist/module/gql/getCorrelationHeatmap.js +8 -3
- package/dist/module/gql/getCorrelationHeatmap.js.map +1 -1
- package/dist/module/gql/getCorrelationMatrix.js +8 -3
- package/dist/module/gql/getCorrelationMatrix.js.map +1 -1
- package/dist/module/gql/types/fragment-masking.js +11 -3
- package/dist/module/gql/types/fragment-masking.js.map +1 -1
- package/dist/module/gql/types/gql.js +9 -2
- package/dist/module/gql/types/gql.js.map +1 -1
- package/dist/module/gql/types/graphql.js +22 -16
- package/dist/module/gql/types/graphql.js.map +1 -1
- package/dist/module/gql/types/index.js +27 -2
- package/dist/module/gql/types/index.js.map +1 -1
- package/dist/module/index.js +16 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/translations/index.js +21 -14
- package/dist/module/translations/index.js.map +1 -1
- package/dist/module/translations/translations.js +7 -1
- package/dist/module/translations/translations.js.map +1 -1
- package/dist/types/gql/getCorrelationHeatmap.d.ts +1 -1
- package/dist/types/gql/getCorrelationMatrix.d.ts +1 -1
- package/package.json +8 -4
- package/tsconfig.types.json +2 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/gql/types/index.ts"],"sourcesContent":["export * from './fragment-masking';\nexport * from './gql';\n"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["_fragmentMasking","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_gql"],"sources":["../../../../src/gql/types/index.ts"],"sourcesContent":["export * from './fragment-masking';\nexport * from './gql';\n"],"mappings":";;;;;AAAA,IAAAA,gBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,gBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,gBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,gBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,IAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,IAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,IAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,IAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
package/dist/module/index.js
CHANGED
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _CorrelationWidget = require("./CorrelationWidget");
|
|
7
|
+
Object.keys(_CorrelationWidget).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _CorrelationWidget[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _CorrelationWidget[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
2
17
|
//# sourceMappingURL=index.js.map
|
package/dist/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/index.ts"],"sourcesContent":["export * from './CorrelationWidget';\n"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["_CorrelationWidget","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../src/index.ts"],"sourcesContent":["export * from './CorrelationWidget';\n"],"mappings":";;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,kBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,kBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,kBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -1,20 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.translations = void 0;
|
|
7
|
+
var _monoI18n = require("@oanda/mono-i18n");
|
|
8
|
+
var _en = _interopRequireDefault(require("./sources/en.json"));
|
|
9
|
+
var _es = _interopRequireDefault(require("./sources/es.json"));
|
|
10
|
+
var _th = _interopRequireDefault(require("./sources/th.json"));
|
|
11
|
+
var _zh_TW = _interopRequireDefault(require("./sources/zh_TW.json"));
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
const translations = exports.translations = {
|
|
14
|
+
[_monoI18n.Locale.en]: {
|
|
15
|
+
translation: _en.default
|
|
9
16
|
},
|
|
10
|
-
[Locale.zhTW]: {
|
|
11
|
-
translation:
|
|
17
|
+
[_monoI18n.Locale.zhTW]: {
|
|
18
|
+
translation: _zh_TW.default
|
|
12
19
|
},
|
|
13
|
-
[Locale.es]: {
|
|
14
|
-
translation:
|
|
20
|
+
[_monoI18n.Locale.es]: {
|
|
21
|
+
translation: _es.default
|
|
15
22
|
},
|
|
16
|
-
[Locale.th]: {
|
|
17
|
-
translation:
|
|
23
|
+
[_monoI18n.Locale.th]: {
|
|
24
|
+
translation: _th.default
|
|
18
25
|
}
|
|
19
26
|
};
|
|
20
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["_monoI18n","require","_en","_interopRequireDefault","_es","_th","_zh_TW","e","__esModule","default","translations","exports","Locale","en","translation","zhTW","es","th"],"sources":["../../../src/translations/index.ts"],"sourcesContent":["import type { Translations } from '@oanda/mono-i18n';\nimport { Locale } from '@oanda/mono-i18n';\n\nimport en from './sources/en.json';\nimport es from './sources/es.json';\nimport th from './sources/th.json';\nimport zhTW from './sources/zh_TW.json';\nimport type { defaultTranslations } from './translations';\n\nexport type TranslationKey = keyof typeof defaultTranslations;\n\nexport const translations: Translations = {\n [Locale.en]: { translation: en },\n [Locale.zhTW]: { translation: zhTW },\n [Locale.es]: { translation: es },\n [Locale.th]: { translation: th },\n};\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAEA,IAAAC,GAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,GAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,GAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,MAAA,GAAAH,sBAAA,CAAAF,OAAA;AAAwC,SAAAE,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAKjC,MAAMG,YAA0B,GAAAC,OAAA,CAAAD,YAAA,GAAG;EACxC,CAACE,gBAAM,CAACC,EAAE,GAAG;IAAEC,WAAW,EAAED;EAAG,CAAC;EAChC,CAACD,gBAAM,CAACG,IAAI,GAAG;IAAED,WAAW,EAAEC;EAAK,CAAC;EACpC,CAACH,gBAAM,CAACI,EAAE,GAAG;IAAEF,WAAW,EAAEE;EAAG,CAAC;EAChC,CAACJ,gBAAM,CAACK,EAAE,GAAG;IAAEH,WAAW,EAAEG;EAAG;AACjC,CAAC","ignoreList":[]}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.defaultTranslations = void 0;
|
|
7
|
+
const defaultTranslations = exports.defaultTranslations = {};
|
|
2
8
|
//# sourceMappingURL=translations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.js","names":["defaultTranslations"],"sources":["../../../src/translations/translations.ts"],"sourcesContent":["export const defaultTranslations = {};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.js","names":["defaultTranslations","exports"],"sources":["../../../src/translations/translations.ts"],"sourcesContent":["export const defaultTranslations = {};\n"],"mappings":";;;;;;AAAO,MAAMA,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const getCorrelationHeatmap: import("
|
|
1
|
+
declare const getCorrelationHeatmap: import("graphql").DocumentNode;
|
|
2
2
|
export { getCorrelationHeatmap };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const getCorrelationMatrix: import("
|
|
1
|
+
declare const getCorrelationMatrix: import("graphql").DocumentNode;
|
|
2
2
|
export { getCorrelationMatrix };
|
package/package.json
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oanda/labs-correlation-widget",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.169",
|
|
4
4
|
"description": "Labs Correlation Widget",
|
|
5
5
|
"main": "dist/main/index.js",
|
|
6
6
|
"module": "dist/module/index.js",
|
|
7
7
|
"types": "dist/types/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
|
+
"build:cjs": "babel --root-mode upward src --out-dir dist/main --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments --copy-files --ignore \"**/*.d.ts\"",
|
|
10
|
+
"build:esm": "babel --root-mode upward src --out-dir dist/module --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments --copy-files --ignore \"**/*.d.ts\"",
|
|
11
|
+
"build:types": "rm -rf dist/types && tsc --project tsconfig.types.json",
|
|
12
|
+
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
|
|
13
|
+
"clean": "rm -rf dist/",
|
|
9
14
|
"codegen": "graphql-codegen --config codegen.ts",
|
|
10
15
|
"translations:pull": "op run --env-file=\"../../.env\" -- lokalise pull"
|
|
11
16
|
},
|
|
@@ -13,7 +18,7 @@
|
|
|
13
18
|
"author": "OANDA",
|
|
14
19
|
"license": "UNLICENSED",
|
|
15
20
|
"dependencies": {
|
|
16
|
-
"@oanda/labs-widget-common": "^1.0.
|
|
21
|
+
"@oanda/labs-widget-common": "^1.0.254",
|
|
17
22
|
"@oanda/mono-i18n": "10.0.1",
|
|
18
23
|
"echarts": "6.0.0",
|
|
19
24
|
"echarts-for-react": "3.0.4",
|
|
@@ -23,6 +28,5 @@
|
|
|
23
28
|
"@graphql-codegen/cli": "5.0.0",
|
|
24
29
|
"@graphql-codegen/client-preset": "4.1.0",
|
|
25
30
|
"@graphql-codegen/typescript": "4.0.1"
|
|
26
|
-
}
|
|
27
|
-
"gitHead": "ae201544a004425cf83a3ba9356adbda66f7d0fd"
|
|
31
|
+
}
|
|
28
32
|
}
|