@e-llm-studio/citation 0.0.233 → 0.0.234-beta.1

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 (41) hide show
  1. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
  2. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  3. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  4. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  5. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  6. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  7. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  8. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  9. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  10. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js +1 -1
  11. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  12. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  13. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  14. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  15. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  16. package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  17. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  18. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  19. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  20. package/dist/features/PromptemonViewer/PromptemonViewer.js +1 -1
  21. package/dist/types/src/CognitiveCompareTest.d.ts.map +1 -1
  22. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -1
  23. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -1
  24. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +0 -13
  25. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -1
  26. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +899 -1422
  27. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +1 -1
  28. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +1 -1
  29. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -1
  30. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -1
  31. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -1
  32. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +1 -2
  33. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -1
  34. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -1
  35. package/package.json +2 -2
  36. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js +0 -2
  37. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js.map +0 -1
  38. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js +0 -2
  39. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js.map +0 -1
  40. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts +0 -11
  41. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"guidelines.mockData.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4/B1B,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6S1B,CAAA"}
1
+ {"version":3,"file":"guidelines.mockData.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAs6C1B,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsE1B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/CognitiveCompare/Guidelines/utils/helper.ts"],"names":[],"mappings":"AA6IA,eAAO,MAAM,uCAAuC,eAAgB,MAAM,WAmGzE,CAAC;AAEF,eAAO,MAAM,yBAAyB;oBAKpB,GAAG;;;YAkDpB,CAAC;AAGF,eAAO,MAAM,yBAAyB,QAAS,MAAM,KAAG;IAAE,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;CAiBxH,CAAC"}
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/CognitiveCompare/Guidelines/utils/helper.ts"],"names":[],"mappings":"AA6FA,eAAO,MAAM,uCAAuC,eAAgB,MAAM,WAsFzE,CAAC;AAEF,eAAO,MAAM,yBAAyB;oBAKpB,GAAG;;;YAkDpB,CAAC;AAGF,eAAO,MAAM,yBAAyB,QAAS,MAAM,KAAG;IAAE,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;CAgBxH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"processGuidelinesMarkdown.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB;oBAKpB,GAAG;;;YA4CpB,CAAC"}
1
+ {"version":3,"file":"processGuidelinesMarkdown.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB;oBAKpB,GAAG;;;YAkCpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SectionAccordion.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SectionAccordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AA0BjD,OAAO,EAAsB,YAAY,EAAgB,MAAM,0BAA0B,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAyF3E,KAAK,qBAAqB,GAAG;IAC3B,OAAO,EAAE,YAAY,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,EAAE,wBAAwB,GAAG,IAAI,CAAC;CAC7C,CAAC;AAEF,QAAA,MAAM,gBAAgB,6FAUnB,qBAAqB,4CAs4BvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"SectionAccordion.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SectionAccordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AA0BjD,OAAO,EAAsB,YAAY,EAAgB,MAAM,0BAA0B,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAyF3E,KAAK,qBAAqB,GAAG;IAC3B,OAAO,EAAE,YAAY,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,EAAE,wBAAwB,GAAG,IAAI,CAAC;CAC7C,CAAC;AAEF,QAAA,MAAM,gBAAgB,6FAUnB,qBAAqB,4CAq4BvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SvgConnectors.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SvgConnectors.tsx"],"names":[],"mappings":";AAOA,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACb,MAAM,0BAA0B,CAAC;AAiBlC,KAAK,kBAAkB,GAAG;IACxB,eAAe,EAAE,KAAK,CAAC,gBAAgB,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAC9D,aAAa,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,UAAU,E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M,EAAE,cAAc,GAAG,IAAI,CAAC,CAAC,CAAC;IACxE,eAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,eAAe,EACf,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACL,YAAY,EACZ,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EAChB,2BAA2B,EAC3B,sBAAsB,EACtB,cAAc,EACd,QAAQ,EACR,eAAe,GAChB,EAAE,kBAAkB,2CA8NpB"}
1
+ {"version":3,"file":"SvgConnectors.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/components/SvgConnectors.tsx"],"names":[],"mappings":";AAOA,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACb,MAAM,0BAA0B,CAAC;AAgBlC,KAAK,kBAAkB,GAAG;IACxB,eAAe,EAAE,KAAK,CAAC,gBAAgB,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAC9D,aAAa,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC/D,kBAAkB,EAAE;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IAC7B,YAAY,EAAE,OAAO,CAAC;IACtB,uBAAuB,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAChD,cAAc,EAAE,OAAO,CAAC;IACxB,qB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B,EAAE,kBAAkB,2CAmNpB"}
@@ -1,9 +1,8 @@
1
- import { ComparisonRow, SectionBlock, ProposedRuleData, RuleData, ComparisonConfig } from "../CognitiveCompareTypes";
1
+ import { SectionBlock, ProposedRuleData, RuleData, ComparisonConfig } from "../CognitiveCompareTypes";
2
2
  export declare const useCognitiveTreeData: (treeData: Record<string, any> | undefined, maintainRelativeOrder: boolean, deviationData: Record<string, any> | null, resolvedComparisonConfig: ComparisonConfig, enableDeviationSchemaBackwardCompatibility?: boolean, guidelinesData?: Record<string, any> | null) => {
3
3
  isGuidelineMode: boolean;
4
4
  activeProposed: ProposedRuleData;
5
5
  activeVariants: never[] | RuleData[];
6
- comparisonRows: ComparisonRow[];
7
6
  existingRule: RuleData;
8
7
  proposedSections: SectionBlock[];
9
8
  existingSections: SectionBlock[];
@@ -1 +1 @@
1
- {"version":3,"file":"useCompareData.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useCompareData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAKrH,eAAO,MAAM,oBAAoB,aACrB,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,yBAClB,OAAO,iBACf,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,4BACf,gBAAgB,+CACE,OAAO,mBAClC,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;;;;;;;;;;;;;;;;;CAotB5C,CAAC"}
1
+ {"version":3,"file":"useCompareData.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useCompareData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAItG,eAAO,MAAM,oBAAoB,aACrB,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,yBAClB,OAAO,iBACf,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,4BACf,gBAAgB,+CACE,OAAO,mBAClC,OAAO,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;;;;;;;;;;;;;;;;CAkqB5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useLinesCalculator.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useLinesCalculator.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,kBAAkB,qhCA2C5B,GAAG;;;;YAG6D,MAAM;YAAM,MAAM;WAAK,MAAM;;;YAA7B,MAAM;YAAM,MAAM;WAAK,MAAM;;;;;eAIhC,MAAM;gBAAU,MAAM;;;;;;4BA+2BrC,GAAG;CAiOnD,CAAA"}
1
+ {"version":3,"file":"useLinesCalculator.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/hooks/useLinesCalculator.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,kBAAkB,qhCA2C5B,GAAG;;;;YAG6D,MAAM;YAAM,MAAM;WAAK,MAAM;;;YAA7B,MAAM;YAAM,MAAM;WAAK,MAAM;;;;;eAIhC,MAAM;gBAAU,MAAM;;;;;;4BA61BrC,GAAG;CAiOnD,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/citation",
3
- "version": "0.0.233",
3
+ "version": "0.0.234-beta.1",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -261,7 +261,6 @@
261
261
  "@rollup/plugin-strip": "3.0.4",
262
262
  "@rollup/plugin-url": "^8.0.2",
263
263
  "@svgr/rollup": "8.1.0",
264
- "@tanstack/react-query": "^4.44.0",
265
264
  "@types/react": "17.0.83",
266
265
  "@types/react-dom": "17.0.26",
267
266
  "@types/react-router-dom": "5.3.3",
@@ -288,6 +287,7 @@
288
287
  "rollup-plugin-visualizer": "5.12.0",
289
288
  "ts-loader": "9.5.1",
290
289
  "typescript": "4.9.5",
290
+ "@tanstack/react-query": "^4.44.0",
291
291
  "wavesurfer.js": "^7.12.1",
292
292
  "webpack-bundle-analyzer": "^4.10.2"
293
293
  },
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),t=function(n,t){return(null==n?void 0:n.contentId)||(null==n?void 0:n.id)||t},e=function(n,t,e,i){return{id:"".concat(t,":").concat(e,":empty"),nodeId:n,title:"",content:"",change_history:"",subsections:[],relation:"not_defined",selfIndex:-1,refIndexes:[],refContentIds:[],displayTitle:!1,displayContent:!1,layoutKey:"".concat(t,":").concat(e,":empty"),comparisonRowId:t,isMappingContinuation:Boolean(i),continuationSourceRowId:i}},i=function(i,o,l,r,d,u){var a,c;if(void 0===u&&(u=!1),!i)return e(l,r,d);var s=Number(null==o?void 0:o.selfIndex),f=null!=o&&Number.isFinite(s)&&s>=0;return n.__assign(n.__assign({},i),{refIndexes:f?[s]:[],refContentIds:(null==o?void 0:o.contentId)?[o.contentId]:[],layoutKey:"".concat(r,":").concat(d,":").concat(t(i,String(d))),comparisonRowId:r,isMultipleMapping:u||i.isMultipleMapping||(null!==(c=null===(a=i.refContentIds)||void 0===a?void 0:a.length)&&void 0!==c?c:0)>1})};exports.buildComparisonRows=function(n,o,l){if(0===o.length&&0===l.length)return[];var r=o.length>0?o:[void 0],d=l.length>0?l:[void 0],u=[];return r.forEach(function(o,r){var a=d[0],c=[n,r,t(o,"empty-left"),0,t(a,"empty-right")].join("::");d.forEach(function(d,a){var s=[n,r,t(o,"empty-left"),a,t(d,"empty-right")].join("::"),f=null!=o&&a>0;u.push({id:s,nodeId:n,left:f?e(n,s,"left",c):i(o,d,n,s,"left",l.length>1),right:i(d,o,n,s,"right"),leftOrdinal:r,rightOrdinal:a})})}),u};
2
- //# sourceMappingURL=buildComparisonRows.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buildComparisonRows.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as n}from"tslib";var t=function(n,t){return(null==n?void 0:n.contentId)||(null==n?void 0:n.id)||t},e=function(n,t,e,o){return{id:"".concat(t,":").concat(e,":empty"),nodeId:n,title:"",content:"",change_history:"",subsections:[],relation:"not_defined",selfIndex:-1,refIndexes:[],refContentIds:[],displayTitle:!1,displayContent:!1,layoutKey:"".concat(t,":").concat(e,":empty"),comparisonRowId:t,isMappingContinuation:Boolean(o),continuationSourceRowId:o}},o=function(o,i,l,r,d,c){var a,u;if(void 0===c&&(c=!1),!o)return e(l,r,d);var f=Number(null==i?void 0:i.selfIndex),p=null!=i&&Number.isFinite(f)&&f>=0;return n(n({},o),{refIndexes:p?[f]:[],refContentIds:(null==i?void 0:i.contentId)?[i.contentId]:[],layoutKey:"".concat(r,":").concat(d,":").concat(t(o,String(d))),comparisonRowId:r,isMultipleMapping:c||o.isMultipleMapping||(null!==(u=null===(a=o.refContentIds)||void 0===a?void 0:a.length)&&void 0!==u?u:0)>1})},i=function(n,i,l){if(0===i.length&&0===l.length)return[];var r=i.length>0?i:[void 0],d=l.length>0?l:[void 0],c=[];return r.forEach(function(i,r){var a=d[0],u=[n,r,t(i,"empty-left"),0,t(a,"empty-right")].join("::");d.forEach(function(d,a){var f=[n,r,t(i,"empty-left"),a,t(d,"empty-right")].join("::"),p=null!=i&&a>0;c.push({id:f,nodeId:n,left:p?e(n,f,"left",u):o(i,d,n,f,"left",l.length>1),right:o(d,i,n,f,"right"),leftOrdinal:r,rightOrdinal:a})})}),c};export{i as buildComparisonRows};
2
- //# sourceMappingURL=buildComparisonRows.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buildComparisonRows.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- import { ComparisonRow, SectionBlock } from "../CognitiveCompareTypes";
2
- /**
3
- * Converts a comparison node into concrete Side-by-Side mapping rows.
4
- *
5
- * A comparison node represents a relationship, not a positional list. Expanding
6
- * every left/right edge keeps the existing index-based renderer correct without
7
- * dropping one-to-many or many-to-one mappings. Empty sides become explicit
8
- * placeholder blocks so both rendered arrays always have identical lengths.
9
- */
10
- export declare const buildComparisonRows: (nodeId: string, leftBlocks: SectionBlock[], rightBlocks: SectionBlock[]) => ComparisonRow[];
11
- //# sourceMappingURL=buildComparisonRows.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buildComparisonRows.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/utils/buildComparisonRows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA4DvE;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,WACtB,MAAM,cACF,YAAY,EAAE,eACb,YAAY,EAAE,KAC1B,aAAa,EAmDf,CAAC"}