@epam/ai-dial-attachment-canvas 1.0.0-dev.536 → 1.0.0-dev.539

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 (3) hide show
  1. package/index.css +1 -1
  2. package/index.js +15 -15
  3. package/package.json +3 -3
package/index.css CHANGED
@@ -1,2 +1,2 @@
1
- ._GzYRV{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;line-height:1.2}._3eOF8{margin-right:5px;font-weight:700}._3eOF8+._3eOF8{margin-left:-5px}._1MFti{cursor:pointer}._f10Tu{-webkit-user-select:none;user-select:none;margin-right:5px;font-size:1.2em}._1UmXx:after{content:"▸"}._1LId0:after{content:"▾"}._1pNG9{margin-right:5px}._1pNG9:after{content:"...";font-size:.8em}._2IvMF{background:#eee}._2bkNM{margin:0;padding:0 10px}._1BXBN{margin:0;padding:0}._1MGIk{color:#000;margin-right:5px;font-weight:600}._3uHL6{color:#000}._2T6PJ,._1Gho6{color:#df113a}._vGjyY{color:#2a3f3c}._1bQdo{color:#0b75f5}._3zQKs{color:#469038}._1xvuR{color:#43413d}._oLqym,._2AXVT,._2KJWg{color:#000}._11RoI{background:#002b36}._17H2C,._3QHg2,._3fDAz{color:#fdf6e3}._2bSDX{color:#fdf6e3;margin-right:5px;font-weight:bolder}._gsbQL{color:#fdf6e3}._LaAZe,._GTKgm{color:#81b5ac}._Chy1W{color:#cb4b16}._2bveF{color:#d33682}._2vRm-{color:#ae81ff}._1prJR{color:#268bd2}._body_kzbno_2{color:var(--ac-text,var(--text-primary,#161b2d))}._statusLabel_kzbno_6{color:var(--text-secondary,#575f73)}._errorIcon_kzbno_10{color:var(--text-error,#ae2f2f)}._jsonWrapper_kzbno_14{border-color:var(--stroke-secondary,#d1dbea);background-color:var(--bg-layer-1,#e0e6f0)}._jsonContainer_kzbno_19{font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace;font-size:.8125rem;line-height:1.6}._jsonLabel_kzbno_25,._jsonClickableLabel_kzbno_29{color:var(--text-primary,#161b2d)}._jsonPunctuation_kzbno_33{color:var(--text-secondary,#575f73)}._jsonStringValue_kzbno_37{color:var(--text-accent-secondary,#007274)}._jsonNumberValue_kzbno_41{color:var(--text-accent-primary,#124ace)}._jsonBooleanValue_kzbno_45{color:var(--text-warning,#7f6300)}._jsonNullValue_kzbno_49,._jsonExpandIcon_kzbno_53{color:var(--text-secondary,#575f73)}._jsonExpandIcon_kzbno_53:hover{color:var(--text-primary,#161b2d)}._jsonExpandIcon_kzbno_53:after{content:"▶";vertical-align:middle;font-size:.6em}._jsonCollapseIcon_kzbno_65{color:var(--text-secondary,#575f73)}._jsonCollapseIcon_kzbno_65:hover{color:var(--text-primary,#161b2d)}._jsonCollapseIcon_kzbno_65:after{content:"▼";vertical-align:middle;font-size:.6em}.pdf-container:has(+.pdf-container){padding:0}._jsonCollapsedContent_kzbno_81{color:var(--text-secondary,#575f73);background-color:var(--bg-layer-3,#fcfcfc);font-size:.75em}._jsonCollapsedContent_kzbno_81:after{content:"…"}
1
+ ._GzYRV{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;line-height:1.2}._3eOF8{margin-right:5px;font-weight:700}._3eOF8+._3eOF8{margin-left:-5px}._1MFti{cursor:pointer}._f10Tu{-webkit-user-select:none;user-select:none;margin-right:5px;font-size:1.2em}._1UmXx:after{content:"▸"}._1LId0:after{content:"▾"}._1pNG9{margin-right:5px}._1pNG9:after{content:"...";font-size:.8em}._2IvMF{background:#eee}._2bkNM{margin:0;padding:0 10px}._1BXBN{margin:0;padding:0}._1MGIk{color:#000;margin-right:5px;font-weight:600}._3uHL6{color:#000}._2T6PJ,._1Gho6{color:#df113a}._vGjyY{color:#2a3f3c}._1bQdo{color:#0b75f5}._3zQKs{color:#469038}._1xvuR{color:#43413d}._oLqym,._2AXVT,._2KJWg{color:#000}._11RoI{background:#002b36}._17H2C,._3QHg2,._3fDAz{color:#fdf6e3}._2bSDX{color:#fdf6e3;margin-right:5px;font-weight:bolder}._gsbQL{color:#fdf6e3}._LaAZe,._GTKgm{color:#81b5ac}._Chy1W{color:#cb4b16}._2bveF{color:#d33682}._2vRm-{color:#ae81ff}._1prJR{color:#268bd2}._body_t1fhd_2{color:var(--ac-text,var(--text-primary,#161b2d))}._statusLabel_t1fhd_6{color:var(--text-secondary,#575f73)}._errorIcon_t1fhd_10{color:var(--text-error,#ae2f2f)}._jsonWrapper_t1fhd_14{border-color:var(--stroke-secondary,#d1dbea);background-color:var(--bg-layer-1,#e0e6f0)}._jsonContainer_t1fhd_19{font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace;font-size:.8125rem;line-height:1.6}._jsonLabel_t1fhd_25,._jsonClickableLabel_t1fhd_29{color:var(--text-primary,#161b2d)}._jsonPunctuation_t1fhd_33{color:var(--text-secondary,#575f73)}._jsonStringValue_t1fhd_37{color:var(--text-success,#007274)}._jsonNumberValue_t1fhd_41{color:var(--text-accent-primary,#124ace)}._jsonBooleanValue_t1fhd_45{color:var(--text-warning,#7f6300)}._jsonNullValue_t1fhd_49,._jsonExpandIcon_t1fhd_53{color:var(--text-secondary,#575f73)}._jsonExpandIcon_t1fhd_53:hover{color:var(--text-primary,#161b2d)}._jsonExpandIcon_t1fhd_53:after{content:"▶";vertical-align:middle;font-size:.6em}._jsonCollapseIcon_t1fhd_65{color:var(--text-secondary,#575f73)}._jsonCollapseIcon_t1fhd_65:hover{color:var(--text-primary,#161b2d)}._jsonCollapseIcon_t1fhd_65:after{content:"▼";vertical-align:middle;font-size:.6em}.pdf-container:has(+.pdf-container){padding:0}._jsonCollapsedContent_t1fhd_81{color:var(--text-secondary,#575f73);background-color:var(--bg-layer-3,#fcfcfc);font-size:.75em}._jsonCollapsedContent_t1fhd_81:after{content:"…"}
2
2
  /*$vite$:1*/
package/index.js CHANGED
@@ -17058,21 +17058,21 @@ var To = fo.map((e) => ({
17058
17058
  })]
17059
17059
  });
17060
17060
  }, $ = {
17061
- body: "_body_kzbno_2",
17062
- statusLabel: "_statusLabel_kzbno_6",
17063
- errorIcon: "_errorIcon_kzbno_10",
17064
- jsonWrapper: "_jsonWrapper_kzbno_14",
17065
- jsonContainer: "_jsonContainer_kzbno_19",
17066
- jsonLabel: "_jsonLabel_kzbno_25",
17067
- jsonClickableLabel: "_jsonClickableLabel_kzbno_29",
17068
- jsonPunctuation: "_jsonPunctuation_kzbno_33",
17069
- jsonStringValue: "_jsonStringValue_kzbno_37",
17070
- jsonNumberValue: "_jsonNumberValue_kzbno_41",
17071
- jsonBooleanValue: "_jsonBooleanValue_kzbno_45",
17072
- jsonNullValue: "_jsonNullValue_kzbno_49",
17073
- jsonExpandIcon: "_jsonExpandIcon_kzbno_53",
17074
- jsonCollapseIcon: "_jsonCollapseIcon_kzbno_65",
17075
- jsonCollapsedContent: "_jsonCollapsedContent_kzbno_81"
17061
+ body: "_body_t1fhd_2",
17062
+ statusLabel: "_statusLabel_t1fhd_6",
17063
+ errorIcon: "_errorIcon_t1fhd_10",
17064
+ jsonWrapper: "_jsonWrapper_t1fhd_14",
17065
+ jsonContainer: "_jsonContainer_t1fhd_19",
17066
+ jsonLabel: "_jsonLabel_t1fhd_25",
17067
+ jsonClickableLabel: "_jsonClickableLabel_t1fhd_29",
17068
+ jsonPunctuation: "_jsonPunctuation_t1fhd_33",
17069
+ jsonStringValue: "_jsonStringValue_t1fhd_37",
17070
+ jsonNumberValue: "_jsonNumberValue_t1fhd_41",
17071
+ jsonBooleanValue: "_jsonBooleanValue_t1fhd_45",
17072
+ jsonNullValue: "_jsonNullValue_t1fhd_49",
17073
+ jsonExpandIcon: "_jsonExpandIcon_t1fhd_53",
17074
+ jsonCollapseIcon: "_jsonCollapseIcon_t1fhd_65",
17075
+ jsonCollapsedContent: "_jsonCollapsedContent_t1fhd_81"
17076
17076
  }, Ao = 2e3, jo = O(({ isOpen: t, onClose: i, content: o, fileName: s, labels: { ariaLabel: c, closeLabel: f = "Close", downloadLabel: p = "Download", copyTextLabel: m = "Copy text", copiedTextLabel: g = "Copied!", copyMarkdownLabel: _ = "Copy as Markdown", copiedMarkdownLabel: v = "Copied!", copyJsonLabel: y = "Copy as JSON", copiedJsonLabel: b = "Copied!", unsupportedLabel: C = "Preview is not supported for this file", loadErrorLabel: w = "Failed to load file", forbiddenErrorLabel: ne = "You don't have permission to access this file" }, onDownload: re, onCopyText: D, onCopyMarkdown: O, onCopyJson: ie, isMobile: A = !1, defaultWidth: fe, minWidth: pe = 320, maxWidth: me = 1500, onResizeStop: he, styles: ge, codeBlockTheme: F, loadPdf: _e }) => {
17077
17077
  let [ve, ye] = j(!1), [be, xe] = j(!1), [I, L] = j(!1), Se = oe(null), R = oe(null), Ce = oe(null), z = k(() => {
17078
17078
  D?.(), Se.current != null && clearTimeout(Se.current), ye(!0), Se.current = setTimeout(() => ye(!1), Ao);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-attachment-canvas",
3
3
  "description": "Canvas viewer for rendering attachment content — images, PDFs, JSON, markdown, and plain text",
4
- "version": "1.0.0-dev.536",
4
+ "version": "1.0.0-dev.539",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -17,8 +17,8 @@
17
17
  }
18
18
  },
19
19
  "peerDependencies": {
20
- "@epam/ai-dial-chat-shared": "1.0.0-dev.536",
21
- "@epam/ai-dial-sidebar": "1.0.0-dev.536",
20
+ "@epam/ai-dial-chat-shared": "1.0.0-dev.539",
21
+ "@epam/ai-dial-sidebar": "1.0.0-dev.539",
22
22
  "@epam/ai-dial-ui-kit": "0.12.0-dev.36",
23
23
  "@epam/pdf-highlighter-kit": ">=0.0.14",
24
24
  "@tabler/icons-react": "^3.44.0",