@epam/ai-dial-attachment-canvas 1.1.0-dev.400 → 1.1.0-dev.405

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 (49) hide show
  1. package/{LazyContentBoundary-CqvIcNMp.js → LazyContentBoundary-DkAcpR4S.js} +3 -2
  2. package/{PdfContent-CU1Q5IV6.js → PdfContent-BBUc0_SC.js} +1 -1
  3. package/{renderer-module-contract-BNGz8HvO-BmSLiM0k.js → bounded-raw-part-cache-BfbSxRIL-DD07NKh9.js} +2448 -8979
  4. package/chart-ex-B0DgG3Dt.js +1009 -0
  5. package/comment-occurrence-CqejEuts-7SeKCBXk.js +6 -0
  6. package/comment-ui-runtime-DEtgcmj7-B1G7PH4z.js +170 -0
  7. package/comment-ui-runtime-TLHustXJ-DWCXG2mL.js +2 -0
  8. package/comment-ui-runtime-lXwVOgjW-Be4RALsI.js +112 -0
  9. package/comments-CAn2A_Xh-CdgNAj0h.js +282 -0
  10. package/components/AttachmentCanvas/AttachmentCanvas.d.ts.map +1 -1
  11. package/components/AttachmentCanvasBody/AttachmentCanvasBody.d.ts.map +1 -1
  12. package/components/AttachmentCanvasContainer/AttachmentCanvasContainer.d.ts.map +1 -1
  13. package/components/McpAppCanvasRenderer/McpAppCanvasRenderer.d.ts.map +1 -1
  14. package/components/OoxmlContent/OoxmlContent.d.ts +7 -3
  15. package/components/OoxmlContent/OoxmlContent.d.ts.map +1 -1
  16. package/delimited-text-worker-host-DcHj_JZt-DWJmaPag.js +25 -0
  17. package/docx-B9qBTEkj.js +29822 -0
  18. package/hooks/useOpenAttachmentCanvas/useOpenAttachmentCanvas.d.ts +1 -1
  19. package/index.css +1 -1
  20. package/index.d.ts +9 -7
  21. package/index.d.ts.map +1 -1
  22. package/index.js +446 -359
  23. package/line-distribute-IsUGfHXm-DeITjLzJ.js +1234 -0
  24. package/line-metrics-CBbw80Ko-DoOuwYxZ.js +60 -0
  25. package/models/attachment-canvas.d.ts +19 -5
  26. package/models/attachment-canvas.d.ts.map +1 -1
  27. package/package.json +5 -5
  28. package/pptx-dkJw0-Vx.js +9179 -0
  29. package/read-only-comment-decoration-BTnWEeo5-BNhbteYc.js +94 -0
  30. package/read-only-comment-margin-plStyGfE-mggNAMB_.js +189 -0
  31. package/render-worker-host-BEfLZvSL-COy91Rd8.js +7 -0
  32. package/render-worker-host-Ba6Fchqr-DZeKpMWD.js +7 -0
  33. package/render-worker-host-C3xwtHnv-BBGHFdo9.js +7 -0
  34. package/renderer-module-contract-Cu-GKuPd-Bt0YZuzB.js +10063 -0
  35. package/types/attachment-canvas.d.ts +3 -2
  36. package/types/attachment-canvas.d.ts.map +1 -1
  37. package/utils/content.d.ts +3 -3
  38. package/utils/content.d.ts.map +1 -1
  39. package/utils/download.d.ts.map +1 -1
  40. package/visible-index-DPoQYSDt-9lRc-2Ik.js +162 -0
  41. package/xlsx-BAXMTJTG.js +8585 -0
  42. package/docx-TK1kGI6t.js +0 -27179
  43. package/highlight-rect-BuX5rWP4-BMOCuZYw.js +0 -1037
  44. package/pptx-DfVqSUxc.js +0 -7410
  45. package/render-worker-host-Br7ZDyGE-ByESfBjH.js +0 -7
  46. package/render-worker-host-CM1JXVqg-DGwZpsUd.js +0 -7
  47. package/render-worker-host-DFtd9Z-J-DU7fugLI.js +0 -7
  48. package/visible-index-BjesVGhg-DvGeguMs.js +0 -133
  49. package/xlsx-44AZTEry.js +0 -7800
@@ -1,133 +0,0 @@
1
- import { Tn as e, W as t, jt as n, zt as r } from "./renderer-module-contract-BNGz8HvO-BmSLiM0k.js";
2
- //#region ../../node_modules/@silurus/ooxml/dist/resource-measurement-CgMubiAI.js
3
- function i(e, t) {
4
- return t ? `${e}|duo:${t.clr1}:${t.clr2}` : e;
5
- }
6
- var a = "duotone";
7
- async function o(o, s, c, l, u = {}) {
8
- let { offscreenFactory: d, ...f } = u, p = await n(o, s, l, f);
9
- return !c || !p ? p : t(a, i(o, c), l, async () => {
10
- let { w: t, h: n } = r(p);
11
- if (t <= 0 || n <= 0) return {
12
- bitmap: p,
13
- owned: !1
14
- };
15
- let i = await e(p, c, {
16
- width: t,
17
- height: n,
18
- offscreenFactory: d
19
- });
20
- return {
21
- bitmap: i,
22
- owned: i !== p
23
- };
24
- });
25
- }
26
- function s(e, t) {
27
- if (!Number.isSafeInteger(e) || e < 0) throw Error(`${t} must be a non-negative safe integer`);
28
- }
29
- function c(e, t, n) {
30
- return s(e, "resource measurement"), s(t, "resource measurement"), s(n, "resource measurement limit"), e > n || t > n || t > n - e ? n === 2 ** 53 - 1 ? n : n + 1 : e + t;
31
- }
32
- function l(e, t = 2 ** 53 - 1) {
33
- s(t, "resource measurement limit");
34
- let n = 0;
35
- for (let r = 0; r < e.length; r += 1) {
36
- let i = e.charCodeAt(r), a;
37
- if (i <= 127) a = 1;
38
- else if (i <= 2047) a = 2;
39
- else if (i >= 55296 && i <= 56319 && r + 1 < e.length) {
40
- let t = e.charCodeAt(r + 1);
41
- t >= 56320 && t <= 57343 ? (a = 4, r += 1) : a = 3;
42
- } else a = 3;
43
- if (n = c(n, a, t), n > t) return n;
44
- }
45
- return n;
46
- }
47
- function u(e, t = 2 ** 53 - 1) {
48
- s(t, "resource measurement limit");
49
- let n = c(0, 2, t);
50
- if (n > t) return n;
51
- for (let r = 0; r < e.length; r += 1) {
52
- let i = e.charCodeAt(r), a;
53
- if (i === 34 || i === 92 || i === 8 || i === 9 || i === 10 || i === 12 || i === 13) a = 2;
54
- else if (i <= 31) a = 6;
55
- else if (i <= 127) a = 1;
56
- else if (i <= 2047) a = 2;
57
- else if (i >= 55296 && i <= 56319 && r + 1 < e.length) {
58
- let t = e.charCodeAt(r + 1);
59
- t >= 56320 && t <= 57343 ? (a = 4, r += 1) : a = 6;
60
- } else a = i >= 55296 && i <= 57343 ? 6 : 3;
61
- if (n = c(n, a, t), n > t) return n;
62
- }
63
- return n;
64
- }
65
- function d(e, t) {
66
- return c(0, e, t);
67
- }
68
- function f(e, t = 2 ** 53 - 1, n = !1) {
69
- if (s(t, "resource measurement limit"), e === null) return {
70
- jsonBytes: d(4, t),
71
- stringValueUtf8Bytes: 0
72
- };
73
- if (typeof e == "string") return {
74
- jsonBytes: u(e, t),
75
- stringValueUtf8Bytes: l(e, t)
76
- };
77
- if (typeof e == "boolean") return {
78
- jsonBytes: d(e ? 4 : 5, t),
79
- stringValueUtf8Bytes: 0
80
- };
81
- if (typeof e == "number") return {
82
- jsonBytes: d((Number.isFinite(e) ? String(Object.is(e, -0) ? 0 : e) : "null").length, t),
83
- stringValueUtf8Bytes: 0
84
- };
85
- if (typeof e == "bigint") throw TypeError("BigInt values cannot be serialized to JSON");
86
- if (Array.isArray(e)) {
87
- let n = d(2, t), r = 0;
88
- for (let i = 0; i < e.length; i += 1) {
89
- i !== 0 && (n = c(n, 1, t));
90
- let a = f(e[i], t, !0);
91
- n = c(n, a.jsonBytes, t), r = c(r, a.stringValueUtf8Bytes, t);
92
- }
93
- return {
94
- jsonBytes: n,
95
- stringValueUtf8Bytes: r
96
- };
97
- }
98
- if (typeof e == "object") {
99
- let n = d(2, t), r = 0, i = 0;
100
- for (let [a, o] of Object.entries(e)) {
101
- if (o === void 0 || typeof o == "function" || typeof o == "symbol") continue;
102
- i++ !== 0 && (n = c(n, 1, t)), n = c(n, u(a, t), t), n = c(n, 1, t);
103
- let e = f(o, t);
104
- n = c(n, e.jsonBytes, t), r = c(r, e.stringValueUtf8Bytes, t);
105
- }
106
- return {
107
- jsonBytes: n,
108
- stringValueUtf8Bytes: r
109
- };
110
- }
111
- return {
112
- jsonBytes: n ? d(4, t) : 0,
113
- stringValueUtf8Bytes: 0
114
- };
115
- }
116
- //#endregion
117
- //#region ../../node_modules/@silurus/ooxml/dist/visible-index-BjesVGhg.js
118
- function p(e, t, n, r) {
119
- for (let i = e + t; i >= 0 && i < r; i += t) if (!n(i)) return i;
120
- return e;
121
- }
122
- function m(e, t, n) {
123
- if (n === 0 || !t(e)) return e;
124
- let r = p(e, 1, t, n);
125
- return r === e ? p(e, -1, t, n) : r;
126
- }
127
- function h(e, t) {
128
- let n = 0;
129
- for (let r = 0; r < t; r++) e(r) || n++;
130
- return n;
131
- }
132
- //#endregion
133
- export { f as a, c as i, h as n, l as o, m as r, o as s, p as t };