@finos/legend-lego 2.0.196 → 2.0.198

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 (71) hide show
  1. package/lib/code-editor/CodeEditor.d.ts.map +1 -1
  2. package/lib/code-editor/CodeEditor.js +14 -1
  3. package/lib/code-editor/CodeEditor.js.map +1 -1
  4. package/lib/index.css +2 -2
  5. package/lib/index.css.map +1 -1
  6. package/lib/legend-ai/LegendAIDocEnrichment.d.ts +60 -0
  7. package/lib/legend-ai/LegendAIDocEnrichment.d.ts.map +1 -0
  8. package/lib/legend-ai/LegendAIDocEnrichment.js +429 -0
  9. package/lib/legend-ai/LegendAIDocEnrichment.js.map +1 -0
  10. package/lib/legend-ai/LegendAITypes.d.ts +127 -1
  11. package/lib/legend-ai/LegendAITypes.d.ts.map +1 -1
  12. package/lib/legend-ai/LegendAITypes.js +111 -2
  13. package/lib/legend-ai/LegendAITypes.js.map +1 -1
  14. package/lib/legend-ai/LegendAI_LegendApplicationPlugin_Extension.d.ts +14 -1
  15. package/lib/legend-ai/LegendAI_LegendApplicationPlugin_Extension.d.ts.map +1 -1
  16. package/lib/legend-ai/LegendAI_LegendApplicationPlugin_Extension.js.map +1 -1
  17. package/lib/legend-ai/__test-utils__/LegendAITestUtils.d.ts +2 -1
  18. package/lib/legend-ai/__test-utils__/LegendAITestUtils.d.ts.map +1 -1
  19. package/lib/legend-ai/__test-utils__/LegendAITestUtils.js +37 -2
  20. package/lib/legend-ai/__test-utils__/LegendAITestUtils.js.map +1 -1
  21. package/lib/legend-ai/components/LegendAIAnalysisPanel.d.ts.map +1 -1
  22. package/lib/legend-ai/components/LegendAIAnalysisPanel.js +11 -12
  23. package/lib/legend-ai/components/LegendAIAnalysisPanel.js.map +1 -1
  24. package/lib/legend-ai/components/LegendAIAnalysisUtils.d.ts +7 -0
  25. package/lib/legend-ai/components/LegendAIAnalysisUtils.d.ts.map +1 -1
  26. package/lib/legend-ai/components/LegendAIAnalysisUtils.js +106 -41
  27. package/lib/legend-ai/components/LegendAIAnalysisUtils.js.map +1 -1
  28. package/lib/legend-ai/components/LegendAIChat.d.ts +1 -5
  29. package/lib/legend-ai/components/LegendAIChat.d.ts.map +1 -1
  30. package/lib/legend-ai/components/LegendAIChat.js +168 -109
  31. package/lib/legend-ai/components/LegendAIChat.js.map +1 -1
  32. package/lib/legend-ai/components/LegendAIChatHelpers.d.ts +21 -0
  33. package/lib/legend-ai/components/LegendAIChatHelpers.d.ts.map +1 -0
  34. package/lib/legend-ai/components/LegendAIChatHelpers.js +85 -0
  35. package/lib/legend-ai/components/LegendAIChatHelpers.js.map +1 -0
  36. package/lib/legend-ai/components/LegendAIChatInput.d.ts +21 -0
  37. package/lib/legend-ai/components/LegendAIChatInput.d.ts.map +1 -0
  38. package/lib/legend-ai/components/LegendAIChatInput.js +78 -0
  39. package/lib/legend-ai/components/LegendAIChatInput.js.map +1 -0
  40. package/lib/legend-ai/components/LegendAIScopeSelector.d.ts +25 -0
  41. package/lib/legend-ai/components/LegendAIScopeSelector.d.ts.map +1 -0
  42. package/lib/legend-ai/components/LegendAIScopeSelector.js +85 -0
  43. package/lib/legend-ai/components/LegendAIScopeSelector.js.map +1 -0
  44. package/lib/legend-ai/index.d.ts +8 -3
  45. package/lib/legend-ai/index.d.ts.map +1 -1
  46. package/lib/legend-ai/index.js +8 -3
  47. package/lib/legend-ai/index.js.map +1 -1
  48. package/lib/legend-ai/stores/LegendAIChatProcessors.d.ts +105 -0
  49. package/lib/legend-ai/stores/LegendAIChatProcessors.d.ts.map +1 -0
  50. package/lib/legend-ai/stores/LegendAIChatProcessors.js +1482 -0
  51. package/lib/legend-ai/stores/LegendAIChatProcessors.js.map +1 -0
  52. package/lib/legend-ai/stores/LegendAIChatState.d.ts +2 -35
  53. package/lib/legend-ai/stores/LegendAIChatState.d.ts.map +1 -1
  54. package/lib/legend-ai/stores/LegendAIChatState.js +114 -949
  55. package/lib/legend-ai/stores/LegendAIChatState.js.map +1 -1
  56. package/package.json +5 -5
  57. package/src/code-editor/CodeEditor.tsx +19 -0
  58. package/src/legend-ai/LegendAIDocEnrichment.ts +572 -0
  59. package/src/legend-ai/LegendAITypes.ts +213 -5
  60. package/src/legend-ai/LegendAI_LegendApplicationPlugin_Extension.ts +25 -0
  61. package/src/legend-ai/__test-utils__/LegendAITestUtils.ts +55 -1
  62. package/src/legend-ai/components/LegendAIAnalysisPanel.tsx +14 -34
  63. package/src/legend-ai/components/LegendAIAnalysisUtils.ts +157 -47
  64. package/src/legend-ai/components/LegendAIChat.tsx +389 -206
  65. package/src/legend-ai/components/LegendAIChatHelpers.ts +117 -0
  66. package/src/legend-ai/components/LegendAIChatInput.tsx +209 -0
  67. package/src/legend-ai/components/LegendAIScopeSelector.tsx +199 -0
  68. package/src/legend-ai/index.ts +31 -4
  69. package/src/legend-ai/stores/LegendAIChatProcessors.ts +2563 -0
  70. package/src/legend-ai/stores/LegendAIChatState.ts +161 -1697
  71. package/tsconfig.json +5 -0
package/tsconfig.json CHANGED
@@ -53,11 +53,14 @@
53
53
  "./src/code-editor/__test-utils__/MockedMonacoEditor.ts",
54
54
  "./src/data-grid/index.ts",
55
55
  "./src/graph-editor/index.ts",
56
+ "./src/legend-ai/LegendAIDocEnrichment.ts",
56
57
  "./src/legend-ai/LegendAITypes.ts",
57
58
  "./src/legend-ai/LegendAI_LegendApplicationPlugin_Extension.ts",
58
59
  "./src/legend-ai/index.ts",
59
60
  "./src/legend-ai/__test-utils__/LegendAITestUtils.ts",
60
61
  "./src/legend-ai/components/LegendAIAnalysisUtils.ts",
62
+ "./src/legend-ai/components/LegendAIChatHelpers.ts",
63
+ "./src/legend-ai/stores/LegendAIChatProcessors.ts",
61
64
  "./src/legend-ai/stores/LegendAIChatState.ts",
62
65
  "./src/model-documentation/ModelDocumentationAnalysis.ts",
63
66
  "./src/model-documentation/index.ts",
@@ -76,8 +79,10 @@
76
79
  "./src/legend-ai/components/LegendAIAnalysisPanel.tsx",
77
80
  "./src/legend-ai/components/LegendAICharts.tsx",
78
81
  "./src/legend-ai/components/LegendAIChat.tsx",
82
+ "./src/legend-ai/components/LegendAIChatInput.tsx",
79
83
  "./src/legend-ai/components/LegendAIErrorBoundary.tsx",
80
84
  "./src/legend-ai/components/LegendAIResultGrid.tsx",
85
+ "./src/legend-ai/components/LegendAIScopeSelector.tsx",
81
86
  "./src/model-documentation/ModelDocumentationState.tsx",
82
87
  "./src/model-documentation/ModelDocumentationViewer.tsx"
83
88
  ],