@finos/legend-extension-dsl-text 6.0.224 → 6.0.226

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_Text_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtE,OAAO,EACL,6BAA6B,EAe7B,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,IAAI,EAAE,MAAM,4EAA4E,CAAC;AAClG,OAAO,EAAE,wCAAwC,EAAE,MAAM,4DAA4D,CAAC;AACtH,OAAO,EACL,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,OAAO,EAAE,yDAAyD,EAAE,MAAM,2EAA2E,CAAC;AAGtJ,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACjC,MAAM,sCAAsC,GAAG,uBAAuB,CAAC;AAEvE,MAAM,6BAA6B,GAAG,MAAM,CAAC;AAC7C,MAAM,oCAAoC,GAAG,MAAM,CAAC;AAEpD,MAAM,OAAO,sCACX,SAAQ,6BAA6B;IAGrC;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,uBAAuB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEQ,iCAAiC;QACxC,OAAO;YACL,wCAAwC,CAAC,oBAAoB;YAC7D,wCAAwC,CAAC,cAAc;SACxD,CAAC;IACJ,CAAC;IAEQ,gDAAgD;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AC;SACF,CAAC;IACJ,CAAC;IAED,iDAAiD;QAC/C,OAAO;YACL,CAAC,WAAwB,EAA+B,EAAE,CAAC;gBACzD;oBACE,IAAI,EAAE,6BAA6B;oBACnC,WAAW,EAAE,OAAO;oBACpB,aAAa,EACX,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAC3D,wCAAwC,CAAC,cAAc,CACxD;oBACH,UAAU,EAAE,6BAA6B;iBAC1C;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,6BAA6B;gBAC7C,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,oCAAoC;wBAC1C,WAAW,EAAE,YAAY;wBACzB,UAAU,EAAE,kBAAkB;qBAC/B;oBACD;wBACE,IAAI,EAAE,oCAAoC;wBAC1C,WAAW,EAAE,UAAU;wBACvB,UAAU,EAAE,qBAAqB;qBAClC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;IAED,0DAA0D;QACxD,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACzC,CAAC;CACF"}
1
+ {"version":3,"file":"DSL_Text_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtE,OAAO,EACL,6BAA6B,EAe7B,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,IAAI,EAAE,MAAM,4EAA4E,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AE,UAAU;wBACvB,UAAU,EAAE,qBAAqB;qBAClC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;IAED,0DAA0D;QACxD,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACzC,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextElementEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/TextElementEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2CH,eAAO,MAAM,iBAAiB;;CAwH5B,CAAC"}
1
+ {"version":3,"file":"TextElementEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/TextElementEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyCH,eAAO,MAAM,iBAAiB;;CAwH5B,CAAC"}
@@ -24,7 +24,8 @@ import { useApplicationNavigationContext } from '@finos/legend-application';
24
24
  import { text_setContent, text_setType, } from '../../stores/studio/DSL_Text_GraphModifierHelper.js';
25
25
  import { TEXT_TYPE } from '../../graph/helpers/DSL_Text_Helper.js';
26
26
  import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../__lib__/studio/DSL_Text_LegendStudioApplicationNavigationContext.js';
27
- import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-editor';
27
+ import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
28
+ import { CodeEditor } from '@finos/legend-lego/code-editor';
28
29
  const getTextElementEditorLanguage = (type) => {
29
30
  switch (type) {
30
31
  case TEXT_TYPE.MARKDOWN:
@@ -1 +1 @@
1
- {"version":3,"file":"TextElementEditor.js","sourceRoot":"","sources":["../../../src/components/studio/TextElementEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAA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AE,KAAK,EAAE,WAAW,CAAC,OAAO,EAAE,EACrC,SAAS,EAAC,wCAAwC,GAClD,GACE,GACS,CAClB,IACmB,CACvB,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,6BAA6B,YAC1C,KAAC,UAAU,IACT,QAAQ,EAAE,4BAA4B,CAAC,WAAW,CAAC,IAAI,CAAC,EACxD,UAAU,EAAE,WAAW,CAAC,OAAO,EAC/B,WAAW,EAAE,aAAa,EAC1B,WAAW,EAAE,IAAI,GACjB,GACE,CACP,GACG,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"TextElementEditor.js","sourceRoot":"","sources":["../../../src/components/studio/TextElementEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EACL,eAAe,EACf,QAAQ,EACR,aAAa,EACb,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,YAAY,GACb,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,yDAAyD,EAAE,MAAM,2EAA2E,CAAC;AACtJ,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MA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aAAa,CAAC,CAAC,WAAW,CAAC,YAEhD,KAAC,eAAe,KAAG,GACZ,CACV,CAAC,CAAC,CAAC,IAAI,IACJ,GACF,EACN,cAAK,SAAS,EAAC,gBAAgB,YAC5B,kBAAkB,CAAC,CAAC,CAAC,CACpB,MAAC,mBAAmB,IAAC,WAAW,EAAC,UAAU,aACzC,KAAC,cAAc,IAAC,OAAO,EAAE,GAAG,YAC1B,cAAK,SAAS,EAAC,6BAA6B,YAC1C,KAAC,UAAU,IACT,QAAQ,EAAE,4BAA4B,CAAC,WAAW,CAAC,IAAI,CAAC,EACxD,UAAU,EAAE,WAAW,CAAC,OAAO,EAC/B,WAAW,EAAE,aAAa,EAC1B,WAAW,EAAE,IAAI,GACjB,GACE,GACS,EAChB,WAAW,IAAI,KAAC,sBAAsB,KAAG,EACzC,WAAW,IAAI,CACd,KAAC,cAAc,IAAC,OAAO,EAAE,GAAG,YAC1B,cAAK,SAAS,EAAC,8BAA8B,YAC3C,KAAC,kBAAkB,IACjB,KAAK,EAAE,EAAE,KAAK,EAAE,WAAW,CAAC,OAAO,EAAE,EACrC,SAAS,EAAC,wCAAwC,GAClD,GACE,GACS,CAClB,IACmB,CACvB,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,6BAA6B,YAC1C,KAAC,UAAU,IACT,QAAQ,EAAE,4BAA4B,CAAC,WAAW,CAAC,IAAI,CAAC,EACxD,UAAU,EAAE,WAAW,CAAC,OAAO,EAC/B,WAAW,EAAE,aAAa,EAC1B,WAAW,EAAE,IAAI,GACjB,GACE,CACP,GACG,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-text v6.0.224
1
+ /** @license @finos/legend-extension-dsl-text v6.0.226
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-text",
3
- "version": "6.0.224",
3
+ "version": "6.0.226",
4
4
  "description": "Legend extension for Text DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -47,12 +47,13 @@
47
47
  "@finos/legend-application": "workspace:*",
48
48
  "@finos/legend-application-studio": "workspace:*",
49
49
  "@finos/legend-art": "workspace:*",
50
+ "@finos/legend-code-editor": "workspace:*",
50
51
  "@finos/legend-graph": "workspace:*",
51
52
  "@finos/legend-lego": "workspace:*",
52
53
  "@finos/legend-shared": "workspace:*",
53
54
  "@finos/legend-storage": "workspace:*",
54
- "@types/react": "18.3.7",
55
- "mobx": "6.13.2",
55
+ "@types/react": "18.3.9",
56
+ "mobx": "6.13.3",
56
57
  "mobx-react-lite": "4.0.7",
57
58
  "react": "18.3.1",
58
59
  "serializr": "3.0.2"
@@ -65,7 +66,7 @@
65
66
  "jest": "29.7.0",
66
67
  "npm-run-all": "4.1.5",
67
68
  "rimraf": "6.0.1",
68
- "sass": "1.79.1",
69
+ "sass": "1.79.3",
69
70
  "typescript": "5.6.2"
70
71
  },
71
72
  "peerDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-text",
3
- "version": "6.0.224",
3
+ "version": "6.0.226",
4
4
  "description": "Legend extension for Text DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,28 +44,29 @@
44
44
  "test:watch": "jest --watch"
45
45
  },
46
46
  "dependencies": {
47
- "@finos/legend-application": "15.1.31",
48
- "@finos/legend-application-studio": "28.18.34",
49
- "@finos/legend-art": "7.1.58",
50
- "@finos/legend-graph": "31.10.32",
51
- "@finos/legend-lego": "1.2.71",
52
- "@finos/legend-shared": "10.0.55",
53
- "@finos/legend-storage": "3.0.105",
54
- "@types/react": "18.3.7",
55
- "mobx": "6.13.2",
47
+ "@finos/legend-application": "16.0.0",
48
+ "@finos/legend-application-studio": "28.18.36",
49
+ "@finos/legend-art": "7.1.59",
50
+ "@finos/legend-code-editor": "1.2.73",
51
+ "@finos/legend-graph": "31.10.34",
52
+ "@finos/legend-lego": "1.0.0",
53
+ "@finos/legend-shared": "10.0.56",
54
+ "@finos/legend-storage": "3.0.106",
55
+ "@types/react": "18.3.9",
56
+ "mobx": "6.13.3",
56
57
  "mobx-react-lite": "4.0.7",
57
58
  "react": "18.3.1",
58
59
  "serializr": "3.0.2"
59
60
  },
60
61
  "devDependencies": {
61
- "@finos/legend-dev-utils": "2.1.21",
62
+ "@finos/legend-dev-utils": "2.1.23",
62
63
  "@jest/globals": "29.7.0",
63
64
  "cross-env": "7.0.3",
64
65
  "eslint": "8.57.1",
65
66
  "jest": "29.7.0",
66
67
  "npm-run-all": "4.1.5",
67
68
  "rimraf": "6.0.1",
68
- "sass": "1.79.1",
69
+ "sass": "1.79.3",
69
70
  "typescript": "5.6.2"
70
71
  },
71
72
  "peerDependencies": {
@@ -44,9 +44,9 @@ import {
44
44
  PLAIN_TEXT_SNIPPET,
45
45
  } from '../../__lib__/studio/DSL_Text_LegendStudioCodeSnippet.js';
46
46
  import { create_TextElement } from '../../graph/helpers/DSL_Text_Helper.js';
47
- import type { DocumentationEntry } from '@finos/legend-application';
48
47
  import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../__lib__/studio/DSL_Text_LegendStudioApplicationNavigationContext.js';
49
- import type { PureGrammarTextSuggestion } from '@finos/legend-lego/code-editor';
48
+ import type { PureGrammarTextSuggestion } from '@finos/legend-code-editor';
49
+ import type { DocumentationEntry } from '@finos/legend-shared';
50
50
 
51
51
  const TEXT_ELEMENT_TYPE = 'TEXT';
52
52
  const TEXT_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_TEXT';
@@ -38,10 +38,8 @@ import {
38
38
  } from '../../stores/studio/DSL_Text_GraphModifierHelper.js';
39
39
  import { TEXT_TYPE } from '../../graph/helpers/DSL_Text_Helper.js';
40
40
  import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../__lib__/studio/DSL_Text_LegendStudioApplicationNavigationContext.js';
41
- import {
42
- CODE_EDITOR_LANGUAGE,
43
- CodeEditor,
44
- } from '@finos/legend-lego/code-editor';
41
+ import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
42
+ import { CodeEditor } from '@finos/legend-lego/code-editor';
45
43
 
46
44
  const getTextElementEditorLanguage = (
47
45
  type: string | undefined,