@epam/ai-dial-attachment-canvas 1.2.0-dev.3 → 1.2.0-dev.38

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 (55) hide show
  1. package/{LazyContentBoundary-CRXN6PG3.js → LazyContentBoundary-tNE1ExbI.js} +2 -1
  2. package/{PdfContent-D71LPAe3.js → PdfContent-BoAtghsO.js} +1 -1
  3. package/PdfContent.css +1 -1
  4. package/{attachment-canvas-nvhW3tKV.js → attachment-canvas-BgwyzrRC.js} +2 -2
  5. package/components/AttachmentCanvas/AttachmentCanvas.d.ts.map +1 -1
  6. package/components/AttachmentCanvasBody/AttachmentCanvasBody.d.ts.map +1 -1
  7. package/components/AttachmentCanvasContainer/AttachmentCanvasContainer.d.ts.map +1 -1
  8. package/components/InlineGroupedVisualizer/InlineGroupedVisualizer.d.ts +36 -0
  9. package/components/InlineGroupedVisualizer/InlineGroupedVisualizer.d.ts.map +1 -0
  10. package/components/PdfContent/PdfContent.d.ts.map +1 -1
  11. package/components/VisualizerCanvasRenderer/VisualizerCanvasRenderer.d.ts +5 -3
  12. package/components/VisualizerCanvasRenderer/VisualizerCanvasRenderer.d.ts.map +1 -1
  13. package/context/AttachmentCanvasContext.d.ts.map +1 -1
  14. package/hooks/useOpenAttachmentCanvas/useOpenAttachmentCanvas.d.ts +14 -1
  15. package/hooks/useOpenAttachmentCanvas/useOpenAttachmentCanvas.d.ts.map +1 -1
  16. package/index.css +2 -1
  17. package/index.d.ts +6 -3
  18. package/index.d.ts.map +1 -1
  19. package/index.js +567 -496
  20. package/models/attachment-canvas.d.ts +41 -10
  21. package/models/attachment-canvas.d.ts.map +1 -1
  22. package/{ooxml-highlight-surfaces-CaMjx8u-.js → ooxml-highlight-surfaces-BzgOKpBV.js} +182 -74
  23. package/package.json +3 -3
  24. package/types/attachment-canvas.d.ts +6 -1
  25. package/types/attachment-canvas.d.ts.map +1 -1
  26. package/utils/content.d.ts +16 -2
  27. package/utils/content.d.ts.map +1 -1
  28. package/utils/download.d.ts.map +1 -1
  29. package/utils/ooxml-highlight-surfaces.d.ts.map +1 -1
  30. package/utils/ooxml-table-row-highlight.d.ts +8 -0
  31. package/utils/ooxml-table-row-highlight.d.ts.map +1 -0
  32. package/utils/visualizer.d.ts +29 -1
  33. package/utils/visualizer.d.ts.map +1 -1
  34. package/utils/vite-external-matcher.d.ts +5 -5
  35. package/utils/vite-external-matcher.d.ts.map +1 -1
  36. package/bounded-raw-part-cache-Cg1BsSZQ-DN8p45IK.js +0 -37900
  37. package/chart-ex-DsESBs97.js +0 -1009
  38. package/comment-occurrence-C8Y2uoVr-C1cxz2TU.js +0 -6
  39. package/comment-ui-runtime-BfE7MJZn-DhQ_eg15.js +0 -112
  40. package/comment-ui-runtime-BsK8pmUT-EgWiymew.js +0 -2
  41. package/comment-ui-runtime-DcJOYlw--B15auUq-.js +0 -170
  42. package/comments-Diid5ujN-BdQhRNjI.js +0 -282
  43. package/delimited-text-worker-host-BVY-Ecni-AimUmSn0.js +0 -25
  44. package/docx-B-VcIRoc.js +0 -29870
  45. package/line-distribute-Dtudnqhs--BYZNgzX.js +0 -1237
  46. package/line-metrics-B60C86uh-DfQUk7X1.js +0 -60
  47. package/pptx-CnoDB8Fv.js +0 -9211
  48. package/read-only-comment-decoration-Dz7eTQ4d-Cl3RKKH6.js +0 -94
  49. package/read-only-comment-margin-DkgzASAl-BbDxMI5E.js +0 -189
  50. package/render-worker-host-BfbnEChF-D2thMRGX.js +0 -7
  51. package/render-worker-host-DNL9dWRh-Bky38ZHE.js +0 -7
  52. package/render-worker-host-IkHrYOci-DbjyHK7U.js +0 -7
  53. package/renderer-module-contract-D91rkYHH-BtfSKxb4.js +0 -10063
  54. package/visible-index-BgiHEc1z-BOzE9X5U.js +0 -162
  55. package/xlsx-Dn0XSlTO.js +0 -8610
@@ -1,60 +0,0 @@
1
- //#region ../../node_modules/@silurus/ooxml/dist/line-metrics-B60C86uh.js
2
- var e = [
3
- [(e) => e.includes("meiryo ui") || e.includes("meiryoui") || e.includes("メイリオ") && e.includes("ui"), {
4
- asc: 2171 * 1.3 / 2048,
5
- desc: 430 * 1.3 / 2048,
6
- eaOnly: !0
7
- }],
8
- [(e) => e.includes("meiryo") || e.includes("メイリオ"), {
9
- asc: 2210 / 2048,
10
- desc: 1059 / 2048
11
- }],
12
- [(e) => !e.includes("ui") && (e.includes("yu mincho") || e.includes("yumincho") || e.includes("游明朝") || e.includes("yu gothic") || e.includes("yugothic") || e.includes("游ゴシック")), {
13
- asc: 1802 * 1.3 / 2048,
14
- desc: 455 * 1.3 / 2048,
15
- eaOnly: !0
16
- }],
17
- [(e) => e.includes("sakkal majalla") || e.includes("majalla"), {
18
- asc: 1810 / 2048,
19
- desc: 1050 / 2048
20
- }],
21
- [(e) => e === "times new roman", {
22
- asc: 1825 / 2048,
23
- desc: 530 / 2048
24
- }],
25
- [(e) => e === "arial", {
26
- asc: 1854 / 2048,
27
- desc: 501 / 2048
28
- }]
29
- ];
30
- function t(t, n) {
31
- if (!t) return null;
32
- let r = t.toLowerCase();
33
- for (let [t, i] of e) if (t(r) && (n || !i.eaOnly)) return i;
34
- return null;
35
- }
36
- function n(e, n = !1) {
37
- let r = t(e, n);
38
- return r === null ? null : r.asc + r.desc;
39
- }
40
- function r(e, t, r = !1) {
41
- let i = n(e, r);
42
- return i === null ? 0 : i * t;
43
- }
44
- function i(e, n, r, i, a = !1) {
45
- let o = t(e, a);
46
- if (o === null) return {
47
- ascent: r,
48
- descent: i
49
- };
50
- let s = (o.asc + o.desc) * n;
51
- return r + i <= s ? {
52
- ascent: r,
53
- descent: i
54
- } : {
55
- ascent: o.asc * n,
56
- descent: o.desc * n
57
- };
58
- }
59
- //#endregion
60
- export { r as n, i as t };