@finos/legend-extension-dsl-text 4.0.14 → 5.0.0

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 (142) hide show
  1. package/lib/{DSLText_Extension.d.ts → DSL_Text_Extension.d.ts} +2 -2
  2. package/lib/DSL_Text_Extension.d.ts.map +1 -0
  3. package/lib/{DSLText_Extension.js → DSL_Text_Extension.js} +8 -8
  4. package/lib/DSL_Text_Extension.js.map +1 -0
  5. package/lib/components/studio/{DSLText_CodeSnippets.d.ts → DSL_Text_CodeSnippets.d.ts} +1 -1
  6. package/lib/components/studio/DSL_Text_CodeSnippets.d.ts.map +1 -0
  7. package/lib/components/studio/{DSLText_CodeSnippets.js → DSL_Text_CodeSnippets.js} +1 -1
  8. package/lib/components/studio/DSL_Text_CodeSnippets.js.map +1 -0
  9. package/lib/components/studio/{DSLText_LegendStudioApplicationPlugin.d.ts → DSL_Text_LegendStudioApplicationPlugin.d.ts} +2 -2
  10. package/lib/components/studio/DSL_Text_LegendStudioApplicationPlugin.d.ts.map +1 -0
  11. package/lib/components/studio/{DSLText_LegendStudioApplicationPlugin.js → DSL_Text_LegendStudioApplicationPlugin.js} +10 -10
  12. package/lib/components/studio/DSL_Text_LegendStudioApplicationPlugin.js.map +1 -0
  13. package/lib/components/studio/{DSLText_LegendStudioDocumentation.d.ts → DSL_Text_LegendStudioDocumentation.d.ts} +1 -1
  14. package/lib/components/studio/DSL_Text_LegendStudioDocumentation.d.ts.map +1 -0
  15. package/lib/components/studio/{DSLText_LegendStudioDocumentation.js → DSL_Text_LegendStudioDocumentation.js} +1 -1
  16. package/lib/components/studio/DSL_Text_LegendStudioDocumentation.js.map +1 -0
  17. package/lib/components/studio/{TextElementEditor.d.ts → DSL_Text_TextElementEditor.d.ts} +2 -1
  18. package/lib/components/studio/DSL_Text_TextElementEditor.d.ts.map +1 -0
  19. package/lib/components/studio/{TextElementEditor.js → DSL_Text_TextElementEditor.js} +5 -5
  20. package/lib/components/studio/DSL_Text_TextElementEditor.js.map +1 -0
  21. package/lib/graph/{DSLText_HashUtils.d.ts → DSL_Text_HashUtils.d.ts} +1 -1
  22. package/lib/graph/DSL_Text_HashUtils.d.ts.map +1 -0
  23. package/lib/graph/{DSLText_HashUtils.js → DSL_Text_HashUtils.js} +1 -1
  24. package/lib/graph/DSL_Text_HashUtils.js.map +1 -0
  25. package/lib/graph/{DSLText_PureGraphPlugin.d.ts → DSL_Text_PureGraphPlugin.d.ts} +2 -2
  26. package/lib/graph/DSL_Text_PureGraphPlugin.d.ts.map +1 -0
  27. package/lib/graph/{DSLText_PureGraphPlugin.js → DSL_Text_PureGraphPlugin.js} +3 -3
  28. package/lib/graph/DSL_Text_PureGraphPlugin.js.map +1 -0
  29. package/lib/graph/helpers/{DSLText_Helper.d.ts → DSL_Text_Helper.d.ts} +2 -2
  30. package/lib/graph/helpers/DSL_Text_Helper.d.ts.map +1 -0
  31. package/lib/graph/helpers/{DSLText_Helper.js → DSL_Text_Helper.js} +2 -2
  32. package/lib/graph/helpers/DSL_Text_Helper.js.map +1 -0
  33. package/lib/graph/metamodel/pure/model/packageableElements/text/{DSLText_Text.d.ts → DSL_Text_Text.d.ts} +1 -1
  34. package/lib/graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.d.ts.map +1 -0
  35. package/lib/graph/metamodel/pure/model/packageableElements/text/{DSLText_Text.js → DSL_Text_Text.js} +2 -2
  36. package/lib/graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js.map +1 -0
  37. package/lib/graphManager/{DSLText_GraphManagerHelper.d.ts → DSL_Text_GraphManagerHelper.d.ts} +2 -2
  38. package/lib/graphManager/DSL_Text_GraphManagerHelper.d.ts.map +1 -0
  39. package/lib/graphManager/{DSLText_GraphManagerHelper.js → DSL_Text_GraphManagerHelper.js} +2 -2
  40. package/lib/graphManager/DSL_Text_GraphManagerHelper.js.map +1 -0
  41. package/lib/graphManager/{DSLText_PureGraphManagerPlugin.d.ts → DSL_Text_PureGraphManagerPlugin.d.ts} +2 -2
  42. package/lib/graphManager/DSL_Text_PureGraphManagerPlugin.d.ts.map +1 -0
  43. package/lib/graphManager/{DSLText_PureGraphManagerPlugin.js → DSL_Text_PureGraphManagerPlugin.js} +4 -4
  44. package/lib/graphManager/DSL_Text_PureGraphManagerPlugin.js.map +1 -0
  45. package/lib/graphManager/action/changeDetection/{DSLText_ObserverHelper.d.ts → DSL_Text_ObserverHelper.d.ts} +2 -2
  46. package/lib/graphManager/action/changeDetection/DSL_Text_ObserverHelper.d.ts.map +1 -0
  47. package/lib/graphManager/action/changeDetection/{DSLText_ObserverHelper.js → DSL_Text_ObserverHelper.js} +1 -1
  48. package/lib/graphManager/action/changeDetection/DSL_Text_ObserverHelper.js.map +1 -0
  49. package/lib/graphManager/protocol/pure/{DSLText_PureProtocolProcessorPlugin.d.ts → DSL_Text_PureProtocolProcessorPlugin.d.ts} +2 -2
  50. package/lib/graphManager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.d.ts.map +1 -0
  51. package/lib/graphManager/protocol/pure/{DSLText_PureProtocolProcessorPlugin.js → DSL_Text_PureProtocolProcessorPlugin.js} +6 -6
  52. package/lib/graphManager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.js.map +1 -0
  53. package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/{V1_DSLText_Text.d.ts → V1_DSL_Text_Text.d.ts} +1 -1
  54. package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSL_Text_Text.d.ts.map +1 -0
  55. package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/{V1_DSLText_Text.js → V1_DSL_Text_Text.js} +2 -2
  56. package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSL_Text_Text.js.map +1 -0
  57. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLText_GraphBuilderHelper.d.ts → V1_DSL_Text_GraphBuilderHelper.d.ts} +2 -2
  58. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_Text_GraphBuilderHelper.d.ts.map +1 -0
  59. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLText_GraphBuilderHelper.js → V1_DSL_Text_GraphBuilderHelper.js} +2 -2
  60. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_Text_GraphBuilderHelper.js.map +1 -0
  61. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLText_ProtocolHelper.d.ts → V1_DSL_Text_ProtocolHelper.d.ts} +2 -2
  62. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_Text_ProtocolHelper.d.ts.map +1 -0
  63. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLText_ProtocolHelper.js → V1_DSL_Text_ProtocolHelper.js} +2 -2
  64. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_Text_ProtocolHelper.js.map +1 -0
  65. package/lib/index.css +1 -1
  66. package/lib/index.d.ts +2 -2
  67. package/lib/index.d.ts.map +1 -1
  68. package/lib/index.js +2 -2
  69. package/lib/index.js.map +1 -1
  70. package/lib/package.json +7 -7
  71. package/lib/stores/studio/{DSLText_GraphModifierHelper.d.ts → DSL_Text_GraphModifierHelper.d.ts} +2 -2
  72. package/lib/stores/studio/DSL_Text_GraphModifierHelper.d.ts.map +1 -0
  73. package/lib/stores/studio/{DSLText_GraphModifierHelper.js → DSL_Text_GraphModifierHelper.js} +1 -1
  74. package/lib/stores/studio/DSL_Text_GraphModifierHelper.js.map +1 -0
  75. package/lib/stores/studio/{DSLText_LegendStudioApplicationNavigationContext.d.ts → DSL_Text_LegendStudioApplicationNavigationContext.d.ts} +1 -1
  76. package/lib/stores/studio/DSL_Text_LegendStudioApplicationNavigationContext.d.ts.map +1 -0
  77. package/lib/stores/studio/{DSLText_LegendStudioApplicationNavigationContext.js → DSL_Text_LegendStudioApplicationNavigationContext.js} +1 -1
  78. package/lib/stores/studio/DSL_Text_LegendStudioApplicationNavigationContext.js.map +1 -0
  79. package/lib/stores/studio/{TextEditorState.d.ts → DSL_Text_TextEditorState.d.ts} +2 -2
  80. package/lib/stores/studio/DSL_Text_TextEditorState.d.ts.map +1 -0
  81. package/lib/stores/studio/{TextEditorState.js → DSL_Text_TextEditorState.js} +2 -2
  82. package/lib/stores/studio/DSL_Text_TextEditorState.js.map +1 -0
  83. package/package.json +14 -14
  84. package/src/{DSLText_Extension.ts → DSL_Text_Extension.ts} +7 -7
  85. package/src/components/studio/{DSLText_CodeSnippets.ts → DSL_Text_CodeSnippets.ts} +0 -0
  86. package/src/components/studio/{DSLText_LegendStudioApplicationPlugin.tsx → DSL_Text_LegendStudioApplicationPlugin.tsx} +9 -9
  87. package/src/components/studio/{DSLText_LegendStudioDocumentation.ts → DSL_Text_LegendStudioDocumentation.ts} +0 -0
  88. package/src/components/studio/{TextElementEditor.tsx → DSL_Text_TextElementEditor.tsx} +4 -4
  89. package/src/graph/{DSLText_HashUtils.ts → DSL_Text_HashUtils.ts} +0 -0
  90. package/src/graph/{DSLText_PureGraphPlugin.ts → DSL_Text_PureGraphPlugin.ts} +2 -2
  91. package/src/graph/helpers/{DSLText_Helper.ts → DSL_Text_Helper.ts} +1 -1
  92. package/src/graph/metamodel/pure/model/packageableElements/text/{DSLText_Text.ts → DSL_Text_Text.ts} +1 -1
  93. package/src/graphManager/{DSLText_GraphManagerHelper.ts → DSL_Text_GraphManagerHelper.ts} +1 -1
  94. package/src/graphManager/{DSLText_PureGraphManagerPlugin.ts → DSL_Text_PureGraphManagerPlugin.ts} +3 -3
  95. package/src/graphManager/action/changeDetection/{DSLText_ObserverHelper.ts → DSL_Text_ObserverHelper.ts} +1 -1
  96. package/src/graphManager/protocol/pure/{DSLText_PureProtocolProcessorPlugin.ts → DSL_Text_PureProtocolProcessorPlugin.ts} +5 -5
  97. package/src/graphManager/protocol/pure/v1/model/packageableElements/text/{V1_DSLText_Text.ts → V1_DSL_Text_Text.ts} +1 -1
  98. package/src/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLText_GraphBuilderHelper.ts → V1_DSL_Text_GraphBuilderHelper.ts} +2 -2
  99. package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLText_ProtocolHelper.ts → V1_DSL_Text_ProtocolHelper.ts} +1 -1
  100. package/src/index.ts +2 -2
  101. package/src/stores/studio/{DSLText_GraphModifierHelper.ts → DSL_Text_GraphModifierHelper.ts} +1 -1
  102. package/src/stores/studio/{DSLText_LegendStudioApplicationNavigationContext.ts → DSL_Text_LegendStudioApplicationNavigationContext.ts} +0 -0
  103. package/src/stores/studio/{TextEditorState.ts → DSL_Text_TextEditorState.ts} +1 -1
  104. package/tsconfig.json +19 -19
  105. package/lib/DSLText_Extension.d.ts.map +0 -1
  106. package/lib/DSLText_Extension.js.map +0 -1
  107. package/lib/components/studio/DSLText_CodeSnippets.d.ts.map +0 -1
  108. package/lib/components/studio/DSLText_CodeSnippets.js.map +0 -1
  109. package/lib/components/studio/DSLText_LegendStudioApplicationPlugin.d.ts.map +0 -1
  110. package/lib/components/studio/DSLText_LegendStudioApplicationPlugin.js.map +0 -1
  111. package/lib/components/studio/DSLText_LegendStudioDocumentation.d.ts.map +0 -1
  112. package/lib/components/studio/DSLText_LegendStudioDocumentation.js.map +0 -1
  113. package/lib/components/studio/TextElementEditor.d.ts.map +0 -1
  114. package/lib/components/studio/TextElementEditor.js.map +0 -1
  115. package/lib/graph/DSLText_HashUtils.d.ts.map +0 -1
  116. package/lib/graph/DSLText_HashUtils.js.map +0 -1
  117. package/lib/graph/DSLText_PureGraphPlugin.d.ts.map +0 -1
  118. package/lib/graph/DSLText_PureGraphPlugin.js.map +0 -1
  119. package/lib/graph/helpers/DSLText_Helper.d.ts.map +0 -1
  120. package/lib/graph/helpers/DSLText_Helper.js.map +0 -1
  121. package/lib/graph/metamodel/pure/model/packageableElements/text/DSLText_Text.d.ts.map +0 -1
  122. package/lib/graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js.map +0 -1
  123. package/lib/graphManager/DSLText_GraphManagerHelper.d.ts.map +0 -1
  124. package/lib/graphManager/DSLText_GraphManagerHelper.js.map +0 -1
  125. package/lib/graphManager/DSLText_PureGraphManagerPlugin.d.ts.map +0 -1
  126. package/lib/graphManager/DSLText_PureGraphManagerPlugin.js.map +0 -1
  127. package/lib/graphManager/action/changeDetection/DSLText_ObserverHelper.d.ts.map +0 -1
  128. package/lib/graphManager/action/changeDetection/DSLText_ObserverHelper.js.map +0 -1
  129. package/lib/graphManager/protocol/pure/DSLText_PureProtocolProcessorPlugin.d.ts.map +0 -1
  130. package/lib/graphManager/protocol/pure/DSLText_PureProtocolProcessorPlugin.js.map +0 -1
  131. package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSLText_Text.d.ts.map +0 -1
  132. package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSLText_Text.js.map +0 -1
  133. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.d.ts.map +0 -1
  134. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.js.map +0 -1
  135. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.d.ts.map +0 -1
  136. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.js.map +0 -1
  137. package/lib/stores/studio/DSLText_GraphModifierHelper.d.ts.map +0 -1
  138. package/lib/stores/studio/DSLText_GraphModifierHelper.js.map +0 -1
  139. package/lib/stores/studio/DSLText_LegendStudioApplicationNavigationContext.d.ts.map +0 -1
  140. package/lib/stores/studio/DSLText_LegendStudioApplicationNavigationContext.js.map +0 -1
  141. package/lib/stores/studio/TextEditorState.d.ts.map +0 -1
  142. package/lib/stores/studio/TextEditorState.js.map +0 -1
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { usingConstantValueSchema } from '@finos/legend-shared';
17
17
  import { createModelSchema, primitive } from 'serializr';
18
- import { V1_Text } from '../../model/packageableElements/text/V1_DSLText_Text.js';
18
+ import { V1_Text } from '../../model/packageableElements/text/V1_DSL_Text_Text.js';
19
19
  export const V1_TEXT_ELEMENT_PROTOCOL_TYPE = 'text';
20
20
  export const V1_textModelSchema = createModelSchema(V1_Text, {
21
21
  _type: usingConstantValueSchema(V1_TEXT_ELEMENT_PROTOCOL_TYPE),
@@ -24,4 +24,4 @@ export const V1_textModelSchema = createModelSchema(V1_Text, {
24
24
  package: primitive(),
25
25
  type: primitive(),
26
26
  });
27
- //# sourceMappingURL=V1_DSLText_ProtocolHelper.js.map
27
+ //# sourceMappingURL=V1_DSL_Text_ProtocolHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSL_Text_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_Text_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,0DAA0D,CAAC;AAEnF,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC;AAEpD,MAAM,CAAC,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,OAAO,EAAE;IAC3D,KAAK,EAAE,wBAAwB,CAAC,6BAA6B,CAAC;IAC9D,OAAO,EAAE,SAAS,EAAE;IACpB,IAAI,EAAE,SAAS,EAAE;IACjB,OAAO,EAAE,SAAS,EAAE;IACpB,IAAI,EAAE,SAAS,EAAE;CAClB,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-text v4.0.14
1
+ /** @license @finos/legend-extension-dsl-text v5.0.0
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/index.d.ts CHANGED
@@ -13,6 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export * from './DSLText_Extension.js';
17
- export { DSLText_LegendStudioApplicationPlugin } from './components/studio/DSLText_LegendStudioApplicationPlugin.js';
16
+ export * from './DSL_Text_Extension.js';
17
+ export { DSL_Text_LegendStudioApplicationPlugin } from './components/studio/DSL_Text_LegendStudioApplicationPlugin.js';
18
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,qCAAqC,EAAE,MAAM,8DAA8D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,sCAAsC,EAAE,MAAM,+DAA+D,CAAC"}
package/lib/index.js CHANGED
@@ -13,6 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export * from './DSLText_Extension.js';
17
- export { DSLText_LegendStudioApplicationPlugin } from './components/studio/DSLText_LegendStudioApplicationPlugin.js';
16
+ export * from './DSL_Text_Extension.js';
17
+ export { DSL_Text_LegendStudioApplicationPlugin } from './components/studio/DSL_Text_LegendStudioApplicationPlugin.js';
18
18
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,qCAAqC,EAAE,MAAM,8DAA8D,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,sCAAsC,EAAE,MAAM,+DAA+D,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-text",
3
- "version": "4.0.14",
3
+ "version": "5.0.0",
4
4
  "description": "Legend extension for Text DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -49,7 +49,7 @@
49
49
  "@finos/legend-graph": "workspace:*",
50
50
  "@finos/legend-shared": "workspace:*",
51
51
  "@finos/legend-storage": "workspace:*",
52
- "@types/react": "18.0.20",
52
+ "@types/react": "18.0.21",
53
53
  "mobx": "6.6.2",
54
54
  "mobx-react-lite": "3.4.0",
55
55
  "react": "18.2.0",
@@ -57,14 +57,14 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@finos/legend-dev-utils": "workspace:*",
60
- "@jest/globals": "29.0.3",
60
+ "@jest/globals": "29.1.2",
61
61
  "cross-env": "7.0.3",
62
- "eslint": "8.23.1",
63
- "jest": "29.0.3",
62
+ "eslint": "8.24.0",
63
+ "jest": "29.1.2",
64
64
  "npm-run-all": "4.1.5",
65
65
  "rimraf": "3.0.2",
66
- "sass": "1.54.9",
67
- "typescript": "4.8.3"
66
+ "sass": "1.55.0",
67
+ "typescript": "4.8.4"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "react": "^18.0.0"
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
16
+ import type { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
17
17
  export declare const text_setType: (text: Text, type: string) => void;
18
18
  export declare const text_setContent: (text: Text, content: string) => void;
19
- //# sourceMappingURL=DSLText_GraphModifierHelper.d.ts.map
19
+ //# sourceMappingURL=DSL_Text_GraphModifierHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_Text_GraphModifierHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DSL_Text_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4EAA4E,CAAC;AAEvG,eAAO,MAAM,YAAY,SAAiB,IAAI,QAAQ,MAAM,KAAG,IAE7D,CAAC;AAEH,eAAO,MAAM,eAAe,SAAiB,IAAI,WAAW,MAAM,KAAG,IAEnE,CAAC"}
@@ -20,4 +20,4 @@ export const text_setType = action((text, type) => {
20
20
  export const text_setContent = action((text, content) => {
21
21
  text.content = content;
22
22
  });
23
- //# sourceMappingURL=DSLText_GraphModifierHelper.js.map
23
+ //# sourceMappingURL=DSL_Text_GraphModifierHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_Text_GraphModifierHelper.js","sourceRoot":"","sources":["../../../src/stores/studio/DSL_Text_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAG9B,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,CAAC,IAAU,EAAE,IAAY,EAAQ,EAAE;IACpE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;AACnB,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,CAAC,IAAU,EAAE,OAAe,EAAQ,EAAE;IAC1E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACzB,CAAC,CAAC,CAAC"}
@@ -16,4 +16,4 @@
16
16
  export declare enum DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY {
17
17
  TEXT_EDITOR = "dsl-text.studiop.editor.text-editor"
18
18
  }
19
- //# sourceMappingURL=DSLText_LegendStudioApplicationNavigationContext.d.ts.map
19
+ //# sourceMappingURL=DSL_Text_LegendStudioApplicationNavigationContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_Text_LegendStudioApplicationNavigationContext.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DSL_Text_LegendStudioApplicationNavigationContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,yDAAyD;IACnE,WAAW,wCAAwC;CACpD"}
@@ -17,4 +17,4 @@ export var DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY;
17
17
  (function (DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY) {
18
18
  DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY["TEXT_EDITOR"] = "dsl-text.studiop.editor.text-editor";
19
19
  })(DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY = DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY || (DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY = {}));
20
- //# sourceMappingURL=DSLText_LegendStudioApplicationNavigationContext.js.map
20
+ //# sourceMappingURL=DSL_Text_LegendStudioApplicationNavigationContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_Text_LegendStudioApplicationNavigationContext.js","sourceRoot":"","sources":["../../../src/stores/studio/DSL_Text_LegendStudioApplicationNavigationContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,yDAEX;AAFD,WAAY,yDAAyD;IACnE,gHAAmD,CAAA;AACrD,CAAC,EAFW,yDAAyD,GAAzD,yDAAyD,KAAzD,yDAAyD,QAEpE"}
@@ -15,10 +15,10 @@
15
15
  */
16
16
  import { type EditorStore, ElementEditorState } from '@finos/legend-application-studio';
17
17
  import type { PackageableElement } from '@finos/legend-graph';
18
- import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
18
+ import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
19
19
  export declare class TextEditorState extends ElementEditorState {
20
20
  constructor(editorStore: EditorStore, element: PackageableElement);
21
21
  get textElement(): Text;
22
22
  reprocess(newElement: PackageableElement, editorStore: EditorStore): ElementEditorState;
23
23
  }
24
- //# sourceMappingURL=TextEditorState.d.ts.map
24
+ //# sourceMappingURL=DSL_Text_TextEditorState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_Text_TextEditorState.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DSL_Text_TextEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,KAAK,WAAW,EAChB,kBAAkB,EACnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,4EAA4E,CAAC;AAElG,qBAAa,eAAgB,SAAQ,kBAAkB;gBACzC,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,kBAAkB;IASjE,IAAI,WAAW,IAAI,IAAI,CAMtB;IAED,SAAS,CACP,UAAU,EAAE,kBAAkB,EAC9B,WAAW,EAAE,WAAW,GACvB,kBAAkB;CAItB"}
@@ -16,7 +16,7 @@
16
16
  import { computed, action, makeObservable } from 'mobx';
17
17
  import { guaranteeType } from '@finos/legend-shared';
18
18
  import { ElementEditorState, } from '@finos/legend-application-studio';
19
- import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
19
+ import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
20
20
  export class TextEditorState extends ElementEditorState {
21
21
  constructor(editorStore, element) {
22
22
  super(editorStore, element);
@@ -33,4 +33,4 @@ export class TextEditorState extends ElementEditorState {
33
33
  return textEditorState;
34
34
  }
35
35
  }
36
- //# sourceMappingURL=TextEditorState.js.map
36
+ //# sourceMappingURL=DSL_Text_TextEditorState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_Text_TextEditorState.js","sourceRoot":"","sources":["../../../src/stores/studio/DSL_Text_TextEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAEL,kBAAkB,GACnB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,IAAI,EAAE,MAAM,4EAA4E,CAAC;AAElG,MAAM,OAAO,eAAgB,SAAQ,kBAAkB;IACrD,YAAY,WAAwB,EAAE,OAA2B;QAC/D,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAE5B,cAAc,CAAC,IAAI,EAAE;YACnB,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,MAAM;SAClB,CAAC,CAAC;IACL,CAAC;IAED,IAAI,WAAW;QACb,OAAO,aAAa,CAClB,IAAI,CAAC,OAAO,EACZ,IAAI,EACJ,iEAAiE,CAClE,CAAC;IACJ,CAAC;IAED,SAAS,CACP,UAA8B,EAC9B,WAAwB;QAExB,MAAM,eAAe,GAAG,IAAI,eAAe,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QACrE,OAAO,eAAe,CAAC;IACzB,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-text",
3
- "version": "4.0.14",
3
+ "version": "5.0.0",
4
4
  "description": "Legend extension for Text DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,28 +43,28 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "7.2.1",
47
- "@finos/legend-application-studio": "16.0.2",
48
- "@finos/legend-art": "3.2.1",
49
- "@finos/legend-graph": "15.0.0",
50
- "@finos/legend-shared": "6.1.1",
51
- "@finos/legend-storage": "3.0.10",
52
- "@types/react": "18.0.20",
46
+ "@finos/legend-application": "8.0.1",
47
+ "@finos/legend-application-studio": "18.0.0",
48
+ "@finos/legend-art": "3.3.0",
49
+ "@finos/legend-graph": "17.0.0",
50
+ "@finos/legend-shared": "6.1.3",
51
+ "@finos/legend-storage": "3.0.12",
52
+ "@types/react": "18.0.21",
53
53
  "mobx": "6.6.2",
54
54
  "mobx-react-lite": "3.4.0",
55
55
  "react": "18.2.0",
56
56
  "serializr": "2.0.5"
57
57
  },
58
58
  "devDependencies": {
59
- "@finos/legend-dev-utils": "2.0.16",
60
- "@jest/globals": "29.0.3",
59
+ "@finos/legend-dev-utils": "2.0.18",
60
+ "@jest/globals": "29.1.2",
61
61
  "cross-env": "7.0.3",
62
- "eslint": "8.23.1",
63
- "jest": "29.0.3",
62
+ "eslint": "8.24.0",
63
+ "jest": "29.1.2",
64
64
  "npm-run-all": "4.1.5",
65
65
  "rimraf": "3.0.2",
66
- "sass": "1.54.9",
67
- "typescript": "4.8.3"
66
+ "sass": "1.55.0",
67
+ "typescript": "4.8.4"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "react": "^18.0.0"
@@ -16,16 +16,16 @@
16
16
 
17
17
  import packageJson from '../package.json';
18
18
  import { AbstractPreset } from '@finos/legend-shared';
19
- import { DSLText_PureGraphManagerPlugin } from './graphManager/DSLText_PureGraphManagerPlugin.js';
20
- import { DSLText_PureProtocolProcessorPlugin } from './graphManager/protocol/pure/DSLText_PureProtocolProcessorPlugin.js';
21
- import { DSLText_PureGraphPlugin } from './graph/DSLText_PureGraphPlugin.js';
19
+ import { DSL_Text_PureGraphManagerPlugin as DSL_Text_PureGraphManagerPlugin } from './graphManager/DSL_Text_PureGraphManagerPlugin.js';
20
+ import { DSL_Text_PureProtocolProcessorPlugin as DSL_Text_PureProtocolProcessorPlugin } from './graphManager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.js';
21
+ import { DSL_Text_PureGraphPlugin as DSL_Text_PureGraphPlugin } from './graph/DSL_Text_PureGraphPlugin.js';
22
22
 
23
- export class DSLText_GraphManagerPreset extends AbstractPreset {
23
+ export class DSL_Text_GraphManagerPreset extends AbstractPreset {
24
24
  constructor() {
25
25
  super(packageJson.extensions.graphManagerPreset, packageJson.version, [
26
- new DSLText_PureGraphPlugin(),
27
- new DSLText_PureGraphManagerPlugin(),
28
- new DSLText_PureProtocolProcessorPlugin(),
26
+ new DSL_Text_PureGraphPlugin(),
27
+ new DSL_Text_PureGraphManagerPlugin(),
28
+ new DSL_Text_PureProtocolProcessorPlugin(),
29
29
  ]);
30
30
  }
31
31
  }
@@ -34,27 +34,27 @@ import {
34
34
  type PureGrammarParserElementDocumentationGetter,
35
35
  } from '@finos/legend-application-studio';
36
36
  import { FileIcon } from '@finos/legend-art';
37
- import { TextEditorState } from '../../stores/studio/TextEditorState.js';
38
- import { TextElementEditor } from './TextElementEditor.js';
37
+ import { TextEditorState } from '../../stores/studio/DSL_Text_TextEditorState.js';
38
+ import { TextElementEditor } from './DSL_Text_TextElementEditor.js';
39
39
  import type { PackageableElement } from '@finos/legend-graph';
40
- import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
41
- import { DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSLText_LegendStudioDocumentation.js';
40
+ import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
41
+ import { DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSL_Text_LegendStudioDocumentation.js';
42
42
  import {
43
43
  PURE_GRAMMAR_TEXT_ELEMENT_TYPE_LABEL,
44
44
  PURE_GRAMMAR_TEXT_PARSER_NAME,
45
- } from '../../graphManager/DSLText_PureGraphManagerPlugin.js';
45
+ } from '../../graphManager/DSL_Text_PureGraphManagerPlugin.js';
46
46
  import {
47
47
  MARKDOWN_TEXT_SNIPPET,
48
48
  PLAIN_TEXT_SNIPPET,
49
- } from './DSLText_CodeSnippets.js';
50
- import { create_TextElement } from '../../graph/helpers/DSLText_Helper.js';
49
+ } from './DSL_Text_CodeSnippets.js';
50
+ import { create_TextElement } from '../../graph/helpers/DSL_Text_Helper.js';
51
51
  import type { DocumentationEntry } from '@finos/legend-application';
52
- import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSLText_LegendStudioApplicationNavigationContext.js';
52
+ import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSL_Text_LegendStudioApplicationNavigationContext.js';
53
53
 
54
54
  const TEXT_ELEMENT_TYPE = 'TEXT';
55
55
  const TEXT_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_TEXT';
56
56
 
57
- export class DSLText_LegendStudioApplicationPlugin
57
+ export class DSL_Text_LegendStudioApplicationPlugin
58
58
  extends LegendStudioApplicationPlugin
59
59
  implements DSL_LegendStudioApplicationPlugin_Extension
60
60
  {
@@ -21,7 +21,7 @@ import {
21
21
  StudioTextInputEditor,
22
22
  useEditorStore,
23
23
  } from '@finos/legend-application-studio';
24
- import { TextEditorState } from '../../stores/studio/TextEditorState.js';
24
+ import { TextEditorState } from '../../stores/studio/DSL_Text_TextEditorState.js';
25
25
  import {
26
26
  OpenPreviewIcon,
27
27
  LockIcon,
@@ -42,9 +42,9 @@ import {
42
42
  import {
43
43
  text_setContent,
44
44
  text_setType,
45
- } from '../../stores/studio/DSLText_GraphModifierHelper.js';
46
- import { TEXT_TYPE } from '../../graph/helpers/DSLText_Helper.js';
47
- import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSLText_LegendStudioApplicationNavigationContext.js';
45
+ } from '../../stores/studio/DSL_Text_GraphModifierHelper.js';
46
+ import { TEXT_TYPE } from '../../graph/helpers/DSL_Text_Helper.js';
47
+ import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSL_Text_LegendStudioApplicationNavigationContext.js';
48
48
 
49
49
  const getTextElementEditorLanguage = (
50
50
  type: string | undefined,
@@ -15,11 +15,11 @@
15
15
  */
16
16
 
17
17
  import packageJson from '../../package.json';
18
- import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
18
+ import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
19
19
  import type { Clazz } from '@finos/legend-shared';
20
20
  import { type PackageableElement, PureGraphPlugin } from '@finos/legend-graph';
21
21
 
22
- export class DSLText_PureGraphPlugin extends PureGraphPlugin {
22
+ export class DSL_Text_PureGraphPlugin extends PureGraphPlugin {
23
23
  constructor() {
24
24
  super(packageJson.extensions.pureGraphPlugin, packageJson.version);
25
25
  }
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
17
+ import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
18
18
 
19
19
  export enum TEXT_TYPE {
20
20
  PLAIN_TEXT = 'plainText',
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { TEXT_HASH_STRUCTURE } from '../../../../../DSLText_HashUtils.js';
18
+ import { TEXT_HASH_STRUCTURE } from '../../../../../DSL_Text_HashUtils.js';
19
19
  import {
20
20
  type PackageableElementVisitor,
21
21
  PackageableElement,
@@ -16,7 +16,7 @@
16
16
 
17
17
  import type { BasicModel, PureModel } from '@finos/legend-graph';
18
18
  import { guaranteeNonNullable } from '@finos/legend-shared';
19
- import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
19
+ import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
20
20
 
21
21
  export const getText = (path: string, graph: PureModel): Text =>
22
22
  graph.getExtensionElement(path, Text, `Can't find text element '${path}'`);
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import packageJson from '../../package.json';
18
- import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
18
+ import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
19
19
  import {
20
20
  PureGraphManagerPlugin,
21
21
  type ObserverContext,
@@ -23,12 +23,12 @@ import {
23
23
  type PackageableElement,
24
24
  type PureGrammarElementLabeler,
25
25
  } from '@finos/legend-graph';
26
- import { observe_Text } from './action/changeDetection/DSLText_ObserverHelper.js';
26
+ import { observe_Text } from './action/changeDetection/DSL_Text_ObserverHelper.js';
27
27
 
28
28
  export const PURE_GRAMMAR_TEXT_PARSER_NAME = 'Text';
29
29
  export const PURE_GRAMMAR_TEXT_ELEMENT_TYPE_LABEL = 'Text';
30
30
 
31
- export class DSLText_PureGraphManagerPlugin extends PureGraphManagerPlugin {
31
+ export class DSL_Text_PureGraphManagerPlugin extends PureGraphManagerPlugin {
32
32
  constructor() {
33
33
  super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
34
34
  }
@@ -19,7 +19,7 @@ import {
19
19
  skipObserved,
20
20
  } from '@finos/legend-graph';
21
21
  import { makeObservable, observable, override } from 'mobx';
22
- import type { Text } from '../../../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
22
+ import type { Text } from '../../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
23
23
 
24
24
  export const observe_Text = skipObserved((metamodel: Text): Text => {
25
25
  observe_Abstract_PackageableElement(metamodel);
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import packageJson from '../../../../package.json';
18
- import { V1_Text } from './v1/model/packageableElements/text/V1_DSLText_Text.js';
18
+ import { V1_Text } from './v1/model/packageableElements/text/V1_DSL_Text_Text.js';
19
19
  import {
20
20
  type PlainObject,
21
21
  guaranteeNonNullable,
@@ -25,9 +25,9 @@ import { deserialize, serialize } from 'serializr';
25
25
  import {
26
26
  V1_textModelSchema,
27
27
  V1_TEXT_ELEMENT_PROTOCOL_TYPE,
28
- } from './v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.js';
29
- import { getOwnText } from '../../DSLText_GraphManagerHelper.js';
30
- import { Text } from '../../../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
28
+ } from './v1/transformation/pureProtocol/V1_DSL_Text_ProtocolHelper.js';
29
+ import { getOwnText } from '../../DSL_Text_GraphManagerHelper.js';
30
+ import { Text } from '../../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
31
31
  import {
32
32
  type PackageableElement,
33
33
  type V1_ElementProtocolClassifierPathGetter,
@@ -45,7 +45,7 @@ import {
45
45
 
46
46
  const TEXT_ELEMENT_CLASSIFIER_PATH = 'meta::pure::metamodel::text::Text';
47
47
 
48
- export class DSLText_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
48
+ export class DSL_Text_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
49
49
  constructor() {
50
50
  super(
51
51
  packageJson.extensions.pureProtocolProcessorPlugin,
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { TEXT_HASH_STRUCTURE } from '../../../../../../../graph/DSLText_HashUtils.js';
18
+ import { TEXT_HASH_STRUCTURE } from '../../../../../../../graph/DSL_Text_HashUtils.js';
19
19
  import {
20
20
  type V1_PackageableElementVisitor,
21
21
  V1_PackageableElement,
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { getText } from '../../../../../DSLText_GraphManagerHelper.js';
18
- import type { Text } from '../../../../../../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
17
+ import { getText } from '../../../../../DSL_Text_GraphManagerHelper.js';
18
+ import type { Text } from '../../../../../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
19
19
  import type {
20
20
  PackageableElementImplicitReference,
21
21
  V1_GraphBuilderContext,
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { usingConstantValueSchema } from '@finos/legend-shared';
18
18
  import { createModelSchema, primitive } from 'serializr';
19
- import { V1_Text } from '../../model/packageableElements/text/V1_DSLText_Text.js';
19
+ import { V1_Text } from '../../model/packageableElements/text/V1_DSL_Text_Text.js';
20
20
 
21
21
  export const V1_TEXT_ELEMENT_PROTOCOL_TYPE = 'text';
22
22
 
package/src/index.ts CHANGED
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- export * from './DSLText_Extension.js';
18
- export { DSLText_LegendStudioApplicationPlugin } from './components/studio/DSLText_LegendStudioApplicationPlugin.js';
17
+ export * from './DSL_Text_Extension.js';
18
+ export { DSL_Text_LegendStudioApplicationPlugin } from './components/studio/DSL_Text_LegendStudioApplicationPlugin.js';
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { action } from 'mobx';
18
- import type { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
18
+ import type { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
19
19
 
20
20
  export const text_setType = action((text: Text, type: string): void => {
21
21
  text.type = type;
@@ -21,7 +21,7 @@ import {
21
21
  ElementEditorState,
22
22
  } from '@finos/legend-application-studio';
23
23
  import type { PackageableElement } from '@finos/legend-graph';
24
- import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js';
24
+ import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
25
25
 
26
26
  export class TextEditorState extends ElementEditorState {
27
27
  constructor(editorStore: EditorStore, element: PackageableElement) {
package/tsconfig.json CHANGED
@@ -33,26 +33,26 @@
33
33
  }
34
34
  ],
35
35
  "files": [
36
- "./src/DSLText_Extension.ts",
36
+ "./src/DSL_Text_Extension.ts",
37
37
  "./src/index.ts",
38
- "./src/components/studio/DSLText_CodeSnippets.ts",
39
- "./src/components/studio/DSLText_LegendStudioDocumentation.ts",
40
- "./src/graph/DSLText_HashUtils.ts",
41
- "./src/graph/DSLText_PureGraphPlugin.ts",
42
- "./src/graph/helpers/DSLText_Helper.ts",
43
- "./src/graph/metamodel/pure/model/packageableElements/text/DSLText_Text.ts",
44
- "./src/graphManager/DSLText_GraphManagerHelper.ts",
45
- "./src/graphManager/DSLText_PureGraphManagerPlugin.ts",
46
- "./src/graphManager/action/changeDetection/DSLText_ObserverHelper.ts",
47
- "./src/graphManager/protocol/pure/DSLText_PureProtocolProcessorPlugin.ts",
48
- "./src/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSLText_Text.ts",
49
- "./src/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.ts",
50
- "./src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.ts",
51
- "./src/stores/studio/DSLText_GraphModifierHelper.ts",
52
- "./src/stores/studio/DSLText_LegendStudioApplicationNavigationContext.ts",
53
- "./src/stores/studio/TextEditorState.ts",
54
- "./src/components/studio/DSLText_LegendStudioApplicationPlugin.tsx",
55
- "./src/components/studio/TextElementEditor.tsx"
38
+ "./src/components/studio/DSL_Text_CodeSnippets.ts",
39
+ "./src/components/studio/DSL_Text_LegendStudioDocumentation.ts",
40
+ "./src/graph/DSL_Text_HashUtils.ts",
41
+ "./src/graph/DSL_Text_PureGraphPlugin.ts",
42
+ "./src/graph/helpers/DSL_Text_Helper.ts",
43
+ "./src/graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.ts",
44
+ "./src/graphManager/DSL_Text_GraphManagerHelper.ts",
45
+ "./src/graphManager/DSL_Text_PureGraphManagerPlugin.ts",
46
+ "./src/graphManager/action/changeDetection/DSL_Text_ObserverHelper.ts",
47
+ "./src/graphManager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.ts",
48
+ "./src/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSL_Text_Text.ts",
49
+ "./src/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_Text_GraphBuilderHelper.ts",
50
+ "./src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_Text_ProtocolHelper.ts",
51
+ "./src/stores/studio/DSL_Text_GraphModifierHelper.ts",
52
+ "./src/stores/studio/DSL_Text_LegendStudioApplicationNavigationContext.ts",
53
+ "./src/stores/studio/DSL_Text_TextEditorState.ts",
54
+ "./src/components/studio/DSL_Text_LegendStudioApplicationPlugin.tsx",
55
+ "./src/components/studio/DSL_Text_TextElementEditor.tsx"
56
56
  ],
57
57
  "include": [
58
58
  "src/**/*.ts",
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLText_Extension.d.ts","sourceRoot":"","sources":["../src/DSLText_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAKtD,qBAAa,0BAA2B,SAAQ,cAAc;;CAQ7D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLText_Extension.js","sourceRoot":"","sources":["../src/DSLText_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AAClG,OAAO,EAAE,mCAAmC,EAAE,MAAM,qEAAqE,CAAC;AAC1H,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAE7E,MAAM,OAAO,0BAA2B,SAAQ,cAAc;IAC5D;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,kBAAkB,EAAE,WAAW,CAAC,OAAO,EAAE;YACpE,IAAI,uBAAuB,EAAE;YAC7B,IAAI,8BAA8B,EAAE;YACpC,IAAI,mCAAmC,EAAE;SAC1C,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLText_CodeSnippets.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLText_CodeSnippets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,kBAAkB,wDAG7B,CAAC;AAEH,eAAO,MAAM,qBAAqB,2EAIhC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLText_CodeSnippets.js","sourceRoot":"","sources":["../../../src/components/studio/DSLText_CodeSnippets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;EAGhC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;;EAInC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLText_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLText_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,6BAA6B,EAC7B,KAAK,0BAA0B,EAG/B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,2CAA2C,EAEhD,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EACrD,KAAK,2CAA2C,EACjD,MAAM,kCAAkC,CAAC;AAsB1C,qBAAa,qCACX,SAAQ,6BACR,YAAW,2CAA2C;;IAM7C,iCAAiC,IAAI,MAAM,EAAE;IAO7C,gDAAgD,IAAI,MAAM,EAAE;IAMrE,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,8BAA8B,IAAI,qBAAqB,EAAE;IAWzD,mCAAmC,IAAI,0BAA0B,EAAE;IAenE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,8BAA8B,IAAI,qBAAqB,EAAE;IAWzD,6CAA6C,IAAI,MAAM,EAAE;IAIzD,oDAAoD,IAAI,2CAA2C,EAAE;IAmBrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;CAsBhH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLText_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLText_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLText_LegendStudioDocumentation.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLText_LegendStudioDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,wCAAwC;IAClD,cAAc,4BAA4B;IAC1C,oBAAoB,kCAAkC;CACvD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLText_LegendStudioDocumentation.js","sourceRoot":"","sources":["../../../src/components/studio/DSLText_LegendStudioDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,wCAGX;AAHD,WAAY,wCAAwC;IAClD,sFAA0C,CAAA;IAC1C,kGAAsD,CAAA;AACxD,CAAC,EAHW,wCAAwC,GAAxC,wCAAwC,KAAxC,wCAAwC,QAGnD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextElementEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/TextElementEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8CH,eAAO,MAAM,iBAAiB;;CAmH5B,CAAC"}