@oanda/labs-crowd-view-widget 1.0.67 → 1.0.69

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +556 -0
  2. package/dist/main/CrowdViewWidget/components/Chart/chartOptions/getTooltipConfig.js +3 -1
  3. package/dist/main/CrowdViewWidget/components/Chart/chartOptions/getTooltipConfig.js.map +1 -1
  4. package/dist/main/CrowdViewWidget/components/Chart/chartUtils/getTooltipFormatter.js +9 -6
  5. package/dist/main/CrowdViewWidget/components/Chart/chartUtils/getTooltipFormatter.js.map +1 -1
  6. package/dist/main/CrowdViewWidget/components/Chart/dataUtils/processSentiments.js +1 -1
  7. package/dist/main/CrowdViewWidget/components/Chart/dataUtils/processSentiments.js.map +1 -1
  8. package/dist/main/gql/getSentiments.js +0 -1
  9. package/dist/main/gql/getSentiments.js.map +1 -1
  10. package/dist/main/gql/types/gql.js +1 -1
  11. package/dist/main/gql/types/gql.js.map +1 -1
  12. package/dist/main/gql/types/graphql.js +0 -6
  13. package/dist/main/gql/types/graphql.js.map +1 -1
  14. package/dist/main/translations/sources/ja.json +1 -1
  15. package/dist/module/CrowdViewWidget/components/Chart/chartOptions/getTooltipConfig.js +3 -1
  16. package/dist/module/CrowdViewWidget/components/Chart/chartOptions/getTooltipConfig.js.map +1 -1
  17. package/dist/module/CrowdViewWidget/components/Chart/chartUtils/getTooltipFormatter.js +9 -6
  18. package/dist/module/CrowdViewWidget/components/Chart/chartUtils/getTooltipFormatter.js.map +1 -1
  19. package/dist/module/CrowdViewWidget/components/Chart/dataUtils/processSentiments.js +1 -1
  20. package/dist/module/CrowdViewWidget/components/Chart/dataUtils/processSentiments.js.map +1 -1
  21. package/dist/module/gql/getSentiments.js +0 -1
  22. package/dist/module/gql/getSentiments.js.map +1 -1
  23. package/dist/module/gql/types/gql.js +1 -1
  24. package/dist/module/gql/types/gql.js.map +1 -1
  25. package/dist/module/gql/types/graphql.js +0 -6
  26. package/dist/module/gql/types/graphql.js.map +1 -1
  27. package/dist/module/translations/sources/ja.json +1 -1
  28. package/dist/types/CrowdViewWidget/components/Chart/chartUtils/getTooltipFormatter.d.ts +2 -1
  29. package/dist/types/gql/types/gql.d.ts +2 -2
  30. package/dist/types/gql/types/graphql.d.ts +0 -1
  31. package/package.json +3 -3
  32. package/src/CrowdViewWidget/components/Chart/chartOptions/getTooltipConfig.ts +2 -0
  33. package/src/CrowdViewWidget/components/Chart/chartUtils/getTooltipFormatter.ts +8 -3
  34. package/src/CrowdViewWidget/components/Chart/dataUtils/processSentiments.ts +3 -1
  35. package/src/gql/getSentiments.ts +0 -1
  36. package/src/gql/types/gql.ts +3 -3
  37. package/src/gql/types/graphql.ts +1 -9
  38. package/src/translations/sources/ja.json +1 -1
  39. package/test/components/Chart/utils/chartUtils.test.ts +4 -0
  40. package/test/components/Chart/utils/processSentiments.test.ts +0 -10
package/CHANGELOG.md CHANGED
@@ -3,6 +3,562 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 1.0.69 (2026-01-20)
7
+
8
+
9
+
10
+ ## 1.0.250 (2026-01-20)
11
+
12
+
13
+
14
+ ## 1.0.249 (2026-01-12)
15
+
16
+
17
+
18
+ ## 1.0.248 (2026-01-09)
19
+
20
+
21
+
22
+ ## 1.0.247 (2026-01-08)
23
+
24
+
25
+
26
+ ## 1.0.246 (2026-01-08)
27
+
28
+
29
+
30
+ ## 1.0.245 (2026-01-07)
31
+
32
+
33
+
34
+ ## 1.0.244 (2026-01-02)
35
+
36
+
37
+
38
+ ## 1.0.243 (2025-12-30)
39
+
40
+
41
+
42
+ ## 1.0.242 (2025-12-16)
43
+
44
+
45
+
46
+ ## 1.0.241 (2025-12-16)
47
+
48
+
49
+
50
+ ## 1.0.240 (2025-12-15)
51
+
52
+
53
+
54
+ ## 1.0.239 (2025-12-12)
55
+
56
+
57
+
58
+ ## 1.0.238 (2025-12-11)
59
+
60
+
61
+
62
+ ## 1.0.237 (2025-12-09)
63
+
64
+
65
+
66
+ ## 1.0.236 (2025-12-05)
67
+
68
+
69
+
70
+ ## 1.0.235 (2025-12-04)
71
+
72
+
73
+
74
+ ## 1.0.234 (2025-11-27)
75
+
76
+
77
+
78
+ ## 1.0.233 (2025-11-27)
79
+
80
+
81
+
82
+ ## 1.0.232 (2025-11-27)
83
+
84
+
85
+
86
+ ## 1.0.231 (2025-11-07)
87
+
88
+
89
+
90
+ ## 1.0.230 (2025-11-05)
91
+
92
+
93
+
94
+ ## 1.0.229 (2025-11-05)
95
+
96
+
97
+
98
+ ## 1.0.228 (2025-11-05)
99
+
100
+
101
+
102
+ ## 1.0.227 (2025-10-31)
103
+
104
+
105
+
106
+ ## 1.0.226 (2025-10-29)
107
+
108
+
109
+
110
+ ## 1.0.225 (2025-10-09)
111
+
112
+
113
+
114
+ ## 1.0.224 (2025-09-29)
115
+
116
+
117
+
118
+ ## 1.0.223 (2025-09-29)
119
+
120
+
121
+
122
+ ## 1.0.222 (2025-09-17)
123
+
124
+
125
+
126
+ ## 1.0.221 (2025-09-11)
127
+
128
+
129
+
130
+ ## 1.0.220 (2025-09-09)
131
+
132
+
133
+
134
+ ## 1.0.219 (2025-09-02)
135
+
136
+
137
+
138
+ ## 1.0.218 (2025-09-01)
139
+
140
+
141
+
142
+ ## 1.0.217 (2025-08-25)
143
+
144
+
145
+
146
+ ## 1.0.216 (2025-08-18)
147
+
148
+
149
+
150
+ ## 1.0.215 (2025-08-18)
151
+
152
+
153
+
154
+ ## 1.0.214 (2025-08-14)
155
+
156
+
157
+
158
+ ## 1.0.213 (2025-08-12)
159
+
160
+
161
+
162
+ ## 1.0.212 (2025-08-05)
163
+
164
+
165
+
166
+ ## 1.0.211 (2025-08-05)
167
+
168
+
169
+
170
+ ## 1.0.210 (2025-07-31)
171
+
172
+
173
+
174
+ ## 1.0.209 (2025-07-31)
175
+
176
+
177
+
178
+ ## 1.0.208 (2025-07-24)
179
+
180
+
181
+
182
+ ## 1.0.207 (2025-07-18)
183
+
184
+
185
+
186
+ ## 1.0.206 (2025-07-18)
187
+
188
+
189
+
190
+ ## 1.0.205 (2025-07-17)
191
+
192
+
193
+
194
+ ## 1.0.204 (2025-07-09)
195
+
196
+
197
+
198
+ ## 1.0.203 (2025-06-16)
199
+
200
+
201
+
202
+ ## 1.0.202 (2025-06-04)
203
+
204
+
205
+
206
+ ## 1.0.201 (2025-06-02)
207
+
208
+
209
+
210
+ ## 1.0.200 (2025-05-30)
211
+
212
+
213
+
214
+ ## 1.0.199 (2025-05-29)
215
+
216
+
217
+
218
+ ## 1.0.198 (2025-05-26)
219
+
220
+
221
+
222
+ ## 1.0.197 (2025-05-23)
223
+
224
+
225
+
226
+ ## 1.0.196 (2025-05-22)
227
+
228
+
229
+
230
+ ## 1.0.195 (2025-05-21)
231
+
232
+
233
+
234
+ ## 1.0.194 (2025-05-21)
235
+
236
+
237
+
238
+ ## 1.0.193 (2025-05-15)
239
+
240
+
241
+
242
+ ## 1.0.192 (2025-05-14)
243
+
244
+
245
+
246
+ ## 1.0.191 (2025-04-30)
247
+
248
+
249
+
250
+ ## 1.0.190 (2025-04-28)
251
+
252
+
253
+
254
+ ## 1.0.189 (2025-04-23)
255
+
256
+
257
+
258
+ ## 1.0.188 (2025-04-22)
259
+
260
+
261
+
262
+ ## 1.0.187 (2025-04-18)
263
+
264
+
265
+
266
+ ## 1.0.186 (2025-04-10)
267
+
268
+
269
+
270
+ ## 1.0.185 (2025-04-09)
271
+
272
+
273
+
274
+ ## 1.0.184 (2025-04-08)
275
+
276
+
277
+
278
+ ## 1.0.183 (2025-04-04)
279
+
280
+ **Note:** Version bump only for package @oanda/labs-crowd-view-widget
281
+
282
+
283
+
284
+
285
+
286
+ ## 1.0.68 (2026-01-20)
287
+
288
+
289
+
290
+ ## 1.0.249 (2026-01-12)
291
+
292
+
293
+
294
+ ## 1.0.248 (2026-01-09)
295
+
296
+
297
+
298
+ ## 1.0.247 (2026-01-08)
299
+
300
+
301
+
302
+ ## 1.0.246 (2026-01-08)
303
+
304
+
305
+
306
+ ## 1.0.245 (2026-01-07)
307
+
308
+
309
+
310
+ ## 1.0.244 (2026-01-02)
311
+
312
+
313
+
314
+ ## 1.0.243 (2025-12-30)
315
+
316
+
317
+
318
+ ## 1.0.242 (2025-12-16)
319
+
320
+
321
+
322
+ ## 1.0.241 (2025-12-16)
323
+
324
+
325
+
326
+ ## 1.0.240 (2025-12-15)
327
+
328
+
329
+
330
+ ## 1.0.239 (2025-12-12)
331
+
332
+
333
+
334
+ ## 1.0.238 (2025-12-11)
335
+
336
+
337
+
338
+ ## 1.0.237 (2025-12-09)
339
+
340
+
341
+
342
+ ## 1.0.236 (2025-12-05)
343
+
344
+
345
+
346
+ ## 1.0.235 (2025-12-04)
347
+
348
+
349
+
350
+ ## 1.0.234 (2025-11-27)
351
+
352
+
353
+
354
+ ## 1.0.233 (2025-11-27)
355
+
356
+
357
+
358
+ ## 1.0.232 (2025-11-27)
359
+
360
+
361
+
362
+ ## 1.0.231 (2025-11-07)
363
+
364
+
365
+
366
+ ## 1.0.230 (2025-11-05)
367
+
368
+
369
+
370
+ ## 1.0.229 (2025-11-05)
371
+
372
+
373
+
374
+ ## 1.0.228 (2025-11-05)
375
+
376
+
377
+
378
+ ## 1.0.227 (2025-10-31)
379
+
380
+
381
+
382
+ ## 1.0.226 (2025-10-29)
383
+
384
+
385
+
386
+ ## 1.0.225 (2025-10-09)
387
+
388
+
389
+
390
+ ## 1.0.224 (2025-09-29)
391
+
392
+
393
+
394
+ ## 1.0.223 (2025-09-29)
395
+
396
+
397
+
398
+ ## 1.0.222 (2025-09-17)
399
+
400
+
401
+
402
+ ## 1.0.221 (2025-09-11)
403
+
404
+
405
+
406
+ ## 1.0.220 (2025-09-09)
407
+
408
+
409
+
410
+ ## 1.0.219 (2025-09-02)
411
+
412
+
413
+
414
+ ## 1.0.218 (2025-09-01)
415
+
416
+
417
+
418
+ ## 1.0.217 (2025-08-25)
419
+
420
+
421
+
422
+ ## 1.0.216 (2025-08-18)
423
+
424
+
425
+
426
+ ## 1.0.215 (2025-08-18)
427
+
428
+
429
+
430
+ ## 1.0.214 (2025-08-14)
431
+
432
+
433
+
434
+ ## 1.0.213 (2025-08-12)
435
+
436
+
437
+
438
+ ## 1.0.212 (2025-08-05)
439
+
440
+
441
+
442
+ ## 1.0.211 (2025-08-05)
443
+
444
+
445
+
446
+ ## 1.0.210 (2025-07-31)
447
+
448
+
449
+
450
+ ## 1.0.209 (2025-07-31)
451
+
452
+
453
+
454
+ ## 1.0.208 (2025-07-24)
455
+
456
+
457
+
458
+ ## 1.0.207 (2025-07-18)
459
+
460
+
461
+
462
+ ## 1.0.206 (2025-07-18)
463
+
464
+
465
+
466
+ ## 1.0.205 (2025-07-17)
467
+
468
+
469
+
470
+ ## 1.0.204 (2025-07-09)
471
+
472
+
473
+
474
+ ## 1.0.203 (2025-06-16)
475
+
476
+
477
+
478
+ ## 1.0.202 (2025-06-04)
479
+
480
+
481
+
482
+ ## 1.0.201 (2025-06-02)
483
+
484
+
485
+
486
+ ## 1.0.200 (2025-05-30)
487
+
488
+
489
+
490
+ ## 1.0.199 (2025-05-29)
491
+
492
+
493
+
494
+ ## 1.0.198 (2025-05-26)
495
+
496
+
497
+
498
+ ## 1.0.197 (2025-05-23)
499
+
500
+
501
+
502
+ ## 1.0.196 (2025-05-22)
503
+
504
+
505
+
506
+ ## 1.0.195 (2025-05-21)
507
+
508
+
509
+
510
+ ## 1.0.194 (2025-05-21)
511
+
512
+
513
+
514
+ ## 1.0.193 (2025-05-15)
515
+
516
+
517
+
518
+ ## 1.0.192 (2025-05-14)
519
+
520
+
521
+
522
+ ## 1.0.191 (2025-04-30)
523
+
524
+
525
+
526
+ ## 1.0.190 (2025-04-28)
527
+
528
+
529
+
530
+ ## 1.0.189 (2025-04-23)
531
+
532
+
533
+
534
+ ## 1.0.188 (2025-04-22)
535
+
536
+
537
+
538
+ ## 1.0.187 (2025-04-18)
539
+
540
+
541
+
542
+ ## 1.0.186 (2025-04-10)
543
+
544
+
545
+
546
+ ## 1.0.185 (2025-04-09)
547
+
548
+
549
+
550
+ ## 1.0.184 (2025-04-08)
551
+
552
+
553
+
554
+ ## 1.0.183 (2025-04-04)
555
+
556
+ **Note:** Version bump only for package @oanda/labs-crowd-view-widget
557
+
558
+
559
+
560
+
561
+
6
562
  ## 1.0.67 (2026-01-12)
7
563
 
8
564
 
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.getTooltipConfig = void 0;
7
+ var _monoI18n = require("@oanda/mono-i18n");
7
8
  var _chartUtils = require("../chartUtils");
8
9
  const getTooltipConfig = _ref => {
9
10
  let {
@@ -43,7 +44,8 @@ const getTooltipConfig = _ref => {
43
44
  sentimentShorts,
44
45
  isDesktop,
45
46
  locale,
46
- isDark
47
+ isDark,
48
+ isJapanese: locale === _monoI18n.Locale.ja
47
49
  }),
48
50
  hideDelay: 0,
49
51
  axisPointer: {
@@ -1 +1 @@
1
- {"version":3,"file":"getTooltipConfig.js","names":["_chartUtils","require","getTooltipConfig","_ref","bookType","bucketWidth","buckets","labelCallback","selectedPriceRef","tooltipLinesColor","sentimentLongs","sentimentShorts","isDesktop","isDark","locale","backgroundColor","shadowColor","extraCssText","padding","textStyle","fontSize","lineHeight","alwaysShowContent","trigger","formatter","params","getTooltipFormatter","selectedPrice","current","hideDelay","axisPointer","type","axis","lineStyle","color","crossStyle","z","confine","position","exports"],"sources":["../../../../../../src/CrowdViewWidget/components/Chart/chartOptions/getTooltipConfig.ts"],"sourcesContent":["import type { TooltipComponentOption } from 'echarts';\n\nimport type { BookType } from '../../../../gql/types/graphql';\nimport { getTooltipFormatter } from '../chartUtils';\nimport type { Bucket, TooltipParam } from '../types';\n\ninterface GetTooltipConfigParams {\n bookType: BookType;\n bucketWidth: number;\n buckets: Bucket[][];\n labelCallback: (key: string, params?: Record<string, unknown>) => string;\n selectedPriceRef: { current: number };\n tooltipLinesColor: string;\n sentimentLongs: (number | null)[];\n sentimentShorts: (number | null)[];\n isDesktop: boolean;\n isDark: boolean;\n locale: string;\n}\n\nexport const getTooltipConfig = ({\n bookType,\n bucketWidth,\n buckets,\n labelCallback,\n selectedPriceRef,\n tooltipLinesColor,\n sentimentLongs,\n sentimentShorts,\n isDesktop,\n isDark,\n locale,\n}: GetTooltipConfigParams): TooltipComponentOption => ({\n backgroundColor: 'transparent',\n shadowColor: 'transparent',\n extraCssText: 'width: 100%; z-index: 5;',\n padding: 4,\n textStyle: isDesktop\n ? {\n fontSize: 12,\n }\n : {\n fontSize: 10,\n lineHeight: 12,\n },\n alwaysShowContent: true,\n trigger: 'axis' as const,\n formatter: (params) =>\n getTooltipFormatter({\n bookType,\n bucketWidth,\n buckets,\n labelCallback,\n params: params as unknown as TooltipParam[],\n selectedPrice: selectedPriceRef.current,\n sentimentLongs,\n sentimentShorts,\n isDesktop,\n locale,\n isDark,\n }),\n hideDelay: 0,\n axisPointer: {\n type: 'cross' as const,\n axis: 'x' as const,\n lineStyle: {\n color: tooltipLinesColor,\n },\n crossStyle: {\n color: tooltipLinesColor,\n },\n z: 30,\n },\n confine: true,\n position: [0, 0],\n});\n"],"mappings":";;;;;;AAGA,IAAAA,WAAA,GAAAC,OAAA;AAiBO,MAAMC,gBAAgB,GAAGC,IAAA;EAAA,IAAC;IAC/BC,QAAQ;IACRC,WAAW;IACXC,OAAO;IACPC,aAAa;IACbC,gBAAgB;IAChBC,iBAAiB;IACjBC,cAAc;IACdC,eAAe;IACfC,SAAS;IACTC,MAAM;IACNC;EACsB,CAAC,GAAAX,IAAA;EAAA,OAA8B;IACrDY,eAAe,EAAE,aAAa;IAC9BC,WAAW,EAAE,aAAa;IAC1BC,YAAY,EAAE,0BAA0B;IACxCC,OAAO,EAAE,CAAC;IACVC,SAAS,EAAEP,SAAS,GAChB;MACEQ,QAAQ,EAAE;IACZ,CAAC,GACD;MACEA,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACd,CAAC;IACLC,iBAAiB,EAAE,IAAI;IACvBC,OAAO,EAAE,MAAe;IACxBC,SAAS,EAAGC,MAAM,IAChB,IAAAC,+BAAmB,EAAC;MAClBtB,QAAQ;MACRC,WAAW;MACXC,OAAO;MACPC,aAAa;MACbkB,MAAM,EAAEA,MAAmC;MAC3CE,aAAa,EAAEnB,gBAAgB,CAACoB,OAAO;MACvClB,cAAc;MACdC,eAAe;MACfC,SAAS;MACTE,MAAM;MACND;IACF,CAAC,CAAC;IACJgB,SAAS,EAAE,CAAC;IACZC,WAAW,EAAE;MACXC,IAAI,EAAE,OAAgB;MACtBC,IAAI,EAAE,GAAY;MAClBC,SAAS,EAAE;QACTC,KAAK,EAAEzB;MACT,CAAC;MACD0B,UAAU,EAAE;QACVD,KAAK,EAAEzB;MACT,CAAC;MACD2B,CAAC,EAAE;IACL,CAAC;IACDC,OAAO,EAAE,IAAI;IACbC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC;EACjB,CAAC;AAAA,CAAC;AAACC,OAAA,CAAArC,gBAAA,GAAAA,gBAAA","ignoreList":[]}
1
+ {"version":3,"file":"getTooltipConfig.js","names":["_monoI18n","require","_chartUtils","getTooltipConfig","_ref","bookType","bucketWidth","buckets","labelCallback","selectedPriceRef","tooltipLinesColor","sentimentLongs","sentimentShorts","isDesktop","isDark","locale","backgroundColor","shadowColor","extraCssText","padding","textStyle","fontSize","lineHeight","alwaysShowContent","trigger","formatter","params","getTooltipFormatter","selectedPrice","current","isJapanese","Locale","ja","hideDelay","axisPointer","type","axis","lineStyle","color","crossStyle","z","confine","position","exports"],"sources":["../../../../../../src/CrowdViewWidget/components/Chart/chartOptions/getTooltipConfig.ts"],"sourcesContent":["import { Locale } from '@oanda/mono-i18n';\nimport type { TooltipComponentOption } from 'echarts';\n\nimport type { BookType } from '../../../../gql/types/graphql';\nimport { getTooltipFormatter } from '../chartUtils';\nimport type { Bucket, TooltipParam } from '../types';\n\ninterface GetTooltipConfigParams {\n bookType: BookType;\n bucketWidth: number;\n buckets: Bucket[][];\n labelCallback: (key: string, params?: Record<string, unknown>) => string;\n selectedPriceRef: { current: number };\n tooltipLinesColor: string;\n sentimentLongs: (number | null)[];\n sentimentShorts: (number | null)[];\n isDesktop: boolean;\n isDark: boolean;\n locale: string;\n}\n\nexport const getTooltipConfig = ({\n bookType,\n bucketWidth,\n buckets,\n labelCallback,\n selectedPriceRef,\n tooltipLinesColor,\n sentimentLongs,\n sentimentShorts,\n isDesktop,\n isDark,\n locale,\n}: GetTooltipConfigParams): TooltipComponentOption => ({\n backgroundColor: 'transparent',\n shadowColor: 'transparent',\n extraCssText: 'width: 100%; z-index: 5;',\n padding: 4,\n textStyle: isDesktop\n ? {\n fontSize: 12,\n }\n : {\n fontSize: 10,\n lineHeight: 12,\n },\n alwaysShowContent: true,\n trigger: 'axis' as const,\n formatter: (params) =>\n getTooltipFormatter({\n bookType,\n bucketWidth,\n buckets,\n labelCallback,\n params: params as unknown as TooltipParam[],\n selectedPrice: selectedPriceRef.current,\n sentimentLongs,\n sentimentShorts,\n isDesktop,\n locale,\n isDark,\n isJapanese: locale === Locale.ja,\n }),\n hideDelay: 0,\n axisPointer: {\n type: 'cross' as const,\n axis: 'x' as const,\n lineStyle: {\n color: tooltipLinesColor,\n },\n crossStyle: {\n color: tooltipLinesColor,\n },\n z: 30,\n },\n confine: true,\n position: [0, 0],\n});\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAIA,IAAAC,WAAA,GAAAD,OAAA;AAiBO,MAAME,gBAAgB,GAAGC,IAAA;EAAA,IAAC;IAC/BC,QAAQ;IACRC,WAAW;IACXC,OAAO;IACPC,aAAa;IACbC,gBAAgB;IAChBC,iBAAiB;IACjBC,cAAc;IACdC,eAAe;IACfC,SAAS;IACTC,MAAM;IACNC;EACsB,CAAC,GAAAX,IAAA;EAAA,OAA8B;IACrDY,eAAe,EAAE,aAAa;IAC9BC,WAAW,EAAE,aAAa;IAC1BC,YAAY,EAAE,0BAA0B;IACxCC,OAAO,EAAE,CAAC;IACVC,SAAS,EAAEP,SAAS,GAChB;MACEQ,QAAQ,EAAE;IACZ,CAAC,GACD;MACEA,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACd,CAAC;IACLC,iBAAiB,EAAE,IAAI;IACvBC,OAAO,EAAE,MAAe;IACxBC,SAAS,EAAGC,MAAM,IAChB,IAAAC,+BAAmB,EAAC;MAClBtB,QAAQ;MACRC,WAAW;MACXC,OAAO;MACPC,aAAa;MACbkB,MAAM,EAAEA,MAAmC;MAC3CE,aAAa,EAAEnB,gBAAgB,CAACoB,OAAO;MACvClB,cAAc;MACdC,eAAe;MACfC,SAAS;MACTE,MAAM;MACND,MAAM;MACNgB,UAAU,EAAEf,MAAM,KAAKgB,gBAAM,CAACC;IAChC,CAAC,CAAC;IACJC,SAAS,EAAE,CAAC;IACZC,WAAW,EAAE;MACXC,IAAI,EAAE,OAAgB;MACtBC,IAAI,EAAE,GAAY;MAClBC,SAAS,EAAE;QACTC,KAAK,EAAE5B;MACT,CAAC;MACD6B,UAAU,EAAE;QACVD,KAAK,EAAE5B;MACT,CAAC;MACD8B,CAAC,EAAE;IACL,CAAC;IACDC,OAAO,EAAE,IAAI;IACbC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC;EACjB,CAAC;AAAA,CAAC;AAACC,OAAA,CAAAxC,gBAAA,GAAAA,gBAAA","ignoreList":[]}
@@ -107,7 +107,8 @@ const getTooltipFormatter = _ref3 => {
107
107
  sentimentShorts,
108
108
  isDesktop,
109
109
  locale,
110
- isDark
110
+ isDark,
111
+ isJapanese
111
112
  } = _ref3;
112
113
  if (!params || !Array.isArray(params) || params.length === 0) {
113
114
  return '';
@@ -148,7 +149,8 @@ const getTooltipFormatter = _ref3 => {
148
149
  candleSection,
149
150
  sentimentSection,
150
151
  bookSection,
151
- isDark
152
+ isDark,
153
+ isJapanese
152
154
  });
153
155
  }
154
156
  return buildMobileTooltip({
@@ -165,19 +167,20 @@ const buildDesktopTooltip = _ref4 => {
165
167
  candleSection,
166
168
  sentimentSection,
167
169
  bookSection,
168
- isDark
170
+ isDark,
171
+ isJapanese
169
172
  } = _ref4;
170
173
  const backgroundColor = isDark ? _labsWidgetCommon.colorPalette.black : _labsWidgetCommon.colorPalette.white;
171
174
  const fullWidth = TOOLTIP_STYLES.FULL_WIDTH;
172
175
  return `<div style="width: ${fullWidth}; background-color: ${backgroundColor};">
173
176
  <div style="width: ${fullWidth}; display: flex; justify-content: space-between;">
174
- <div style="width: 40%;">
177
+ <div style="${isJapanese ? 'width: 45%;' : 'width: 40%;'}">
175
178
  ${candleSection}
176
179
  </div>
177
- <div style="width: 22%;">
180
+ <div style="${isJapanese ? 'width: 24%;' : 'width: 22%;'}">
178
181
  ${sentimentSection}
179
182
  </div>
180
- <div style="width: 38%;">
183
+ <div style="${isJapanese ? 'width: 31%;' : 'width: 38%;'}">
181
184
  ${bookSection}
182
185
  </div>
183
186
  </div>