@epam/ai-dial-quotations 1.1.16 → 1.1.18

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 (2) hide show
  1. package/index.js +2 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -239,10 +239,10 @@ var T = {
239
239
  let t = P(e);
240
240
  return t == null ? [] : [t];
241
241
  }), r = H(e);
242
- if (!(n.length === 0 && r.length === 0)) return F([n, r]);
242
+ if (n.length !== 0 || r.length !== 0) return F([n, r]);
243
243
  }, ae = (e) => {
244
244
  let t = e.target?.selector, n = t?.type === "html_tag" ? t.id : void 0, r = typeof n == "string" ? n : void 0, i = ie(e);
245
- if (!(r == null && i == null)) return re(`${r ?? ""}|${i ?? ""}`);
245
+ if (r != null || i != null) return re(`${r ?? ""}|${i ?? ""}`);
246
246
  }, oe = (e) => e.flatMap((e, t) => {
247
247
  let n = e.body?.selector;
248
248
  if (n == null) return [];
@@ -532,5 +532,4 @@ var T = {
532
532
  }
533
533
  } };
534
534
  }));
535
- //#endregion
536
535
  export { E as CitationCard, k as CitationCardProvider, M as CitationDropdown, D as CitationMarker, I as annotationHighlightId, H as annotationToOfficeHighlightLocations, oe as annotationsToPdfHighlights, Te as gatherSameSourceAnnotations, se as getAnnotationPdfPage, De as getReferenceAttachmentGroups, we as groupAnnotations, Z as groupAnnotationsByCitId, X as groupAnnotationsBySource, U as injectCitationSentinels, R as isDocxRangeSelector, V as isExcelRcRangeSelector, z as isPptxRangeSelector, Q as isReferenceOnlyAttachment, $ as parsePdfPageReference, K as replaceSentinelsInChildren, L as resolveMessageAnnotations, G as stripCitTagsWhileStreaming, de as useAnnotations, pe as useCitationCard, A as useCitationCardContext, xe as useCitationMarkdownComponents };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-quotations",
3
3
  "description": "Citation and annotation components, hooks, and utilities for AI DIAL conversations",
4
- "version": "1.1.16",
4
+ "version": "1.1.18",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": "^19.2.8",
26
- "@epam/ai-dial-chat-shared": "1.1.16",
26
+ "@epam/ai-dial-chat-shared": "1.1.18",
27
27
  "@epam/ai-dial-ui-kit": "^0.14.2"
28
28
  },
29
29
  "repository": {