@finos/legend-extension-dsl-text 4.0.15 → 5.0.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.
- package/lib/{DSLText_Extension.d.ts → DSL_Text_Extension.d.ts} +2 -2
- package/lib/DSL_Text_Extension.d.ts.map +1 -0
- package/lib/{DSLText_Extension.js → DSL_Text_Extension.js} +8 -8
- package/lib/DSL_Text_Extension.js.map +1 -0
- package/lib/components/studio/{DSLText_CodeSnippets.d.ts → DSL_Text_CodeSnippets.d.ts} +1 -1
- package/lib/components/studio/DSL_Text_CodeSnippets.d.ts.map +1 -0
- package/lib/components/studio/{DSLText_CodeSnippets.js → DSL_Text_CodeSnippets.js} +1 -1
- package/lib/components/studio/DSL_Text_CodeSnippets.js.map +1 -0
- package/lib/components/studio/{DSLText_LegendStudioApplicationPlugin.d.ts → DSL_Text_LegendStudioApplicationPlugin.d.ts} +2 -2
- package/lib/components/studio/DSL_Text_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/studio/{DSLText_LegendStudioApplicationPlugin.js → DSL_Text_LegendStudioApplicationPlugin.js} +10 -10
- package/lib/components/studio/DSL_Text_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/studio/{DSLText_LegendStudioDocumentation.d.ts → DSL_Text_LegendStudioDocumentation.d.ts} +1 -1
- package/lib/components/studio/DSL_Text_LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/components/studio/{DSLText_LegendStudioDocumentation.js → DSL_Text_LegendStudioDocumentation.js} +1 -1
- package/lib/components/studio/DSL_Text_LegendStudioDocumentation.js.map +1 -0
- package/lib/components/studio/{TextElementEditor.d.ts → DSL_Text_TextElementEditor.d.ts} +2 -1
- package/lib/components/studio/DSL_Text_TextElementEditor.d.ts.map +1 -0
- package/lib/components/studio/{TextElementEditor.js → DSL_Text_TextElementEditor.js} +5 -5
- package/lib/components/studio/DSL_Text_TextElementEditor.js.map +1 -0
- package/lib/graph/{DSLText_HashUtils.d.ts → DSL_Text_HashUtils.d.ts} +1 -1
- package/lib/graph/DSL_Text_HashUtils.d.ts.map +1 -0
- package/lib/graph/{DSLText_HashUtils.js → DSL_Text_HashUtils.js} +1 -1
- package/lib/graph/DSL_Text_HashUtils.js.map +1 -0
- package/lib/graph/{DSLText_PureGraphPlugin.d.ts → DSL_Text_PureGraphPlugin.d.ts} +2 -2
- package/lib/graph/DSL_Text_PureGraphPlugin.d.ts.map +1 -0
- package/lib/graph/{DSLText_PureGraphPlugin.js → DSL_Text_PureGraphPlugin.js} +3 -3
- package/lib/graph/DSL_Text_PureGraphPlugin.js.map +1 -0
- package/lib/graph/helpers/{DSLText_Helper.d.ts → DSL_Text_Helper.d.ts} +2 -2
- package/lib/graph/helpers/DSL_Text_Helper.d.ts.map +1 -0
- package/lib/graph/helpers/{DSLText_Helper.js → DSL_Text_Helper.js} +2 -2
- package/lib/graph/helpers/DSL_Text_Helper.js.map +1 -0
- package/lib/graph/metamodel/pure/model/packageableElements/text/{DSLText_Text.d.ts → DSL_Text_Text.d.ts} +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/model/packageableElements/text/{DSLText_Text.js → DSL_Text_Text.js} +2 -2
- package/lib/graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js.map +1 -0
- package/lib/graphManager/{DSLText_GraphManagerHelper.d.ts → DSL_Text_GraphManagerHelper.d.ts} +2 -2
- package/lib/graphManager/DSL_Text_GraphManagerHelper.d.ts.map +1 -0
- package/lib/graphManager/{DSLText_GraphManagerHelper.js → DSL_Text_GraphManagerHelper.js} +2 -2
- package/lib/graphManager/DSL_Text_GraphManagerHelper.js.map +1 -0
- package/lib/graphManager/{DSLText_PureGraphManagerPlugin.d.ts → DSL_Text_PureGraphManagerPlugin.d.ts} +2 -2
- package/lib/graphManager/DSL_Text_PureGraphManagerPlugin.d.ts.map +1 -0
- package/lib/graphManager/{DSLText_PureGraphManagerPlugin.js → DSL_Text_PureGraphManagerPlugin.js} +4 -4
- package/lib/graphManager/DSL_Text_PureGraphManagerPlugin.js.map +1 -0
- package/lib/graphManager/action/changeDetection/{DSLText_ObserverHelper.d.ts → DSL_Text_ObserverHelper.d.ts} +2 -2
- package/lib/graphManager/action/changeDetection/DSL_Text_ObserverHelper.d.ts.map +1 -0
- package/lib/graphManager/action/changeDetection/{DSLText_ObserverHelper.js → DSL_Text_ObserverHelper.js} +1 -1
- package/lib/graphManager/action/changeDetection/DSL_Text_ObserverHelper.js.map +1 -0
- package/lib/graphManager/protocol/pure/{DSLText_PureProtocolProcessorPlugin.d.ts → DSL_Text_PureProtocolProcessorPlugin.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/{DSLText_PureProtocolProcessorPlugin.js → DSL_Text_PureProtocolProcessorPlugin.js} +6 -6
- package/lib/graphManager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/{V1_DSLText_Text.d.ts → V1_DSL_Text_Text.d.ts} +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSL_Text_Text.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/{V1_DSLText_Text.js → V1_DSL_Text_Text.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSL_Text_Text.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLText_GraphBuilderHelper.d.ts → V1_DSL_Text_GraphBuilderHelper.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_Text_GraphBuilderHelper.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLText_GraphBuilderHelper.js → V1_DSL_Text_GraphBuilderHelper.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_Text_GraphBuilderHelper.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLText_ProtocolHelper.d.ts → V1_DSL_Text_ProtocolHelper.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_Text_ProtocolHelper.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLText_ProtocolHelper.js → V1_DSL_Text_ProtocolHelper.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_Text_ProtocolHelper.js.map +1 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/package.json +4 -4
- package/lib/stores/studio/{DSLText_GraphModifierHelper.d.ts → DSL_Text_GraphModifierHelper.d.ts} +2 -2
- package/lib/stores/studio/DSL_Text_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/studio/{DSLText_GraphModifierHelper.js → DSL_Text_GraphModifierHelper.js} +1 -1
- package/lib/stores/studio/DSL_Text_GraphModifierHelper.js.map +1 -0
- package/lib/stores/studio/{DSLText_LegendStudioApplicationNavigationContext.d.ts → DSL_Text_LegendStudioApplicationNavigationContext.d.ts} +1 -1
- package/lib/stores/studio/DSL_Text_LegendStudioApplicationNavigationContext.d.ts.map +1 -0
- package/lib/stores/studio/{DSLText_LegendStudioApplicationNavigationContext.js → DSL_Text_LegendStudioApplicationNavigationContext.js} +1 -1
- package/lib/stores/studio/DSL_Text_LegendStudioApplicationNavigationContext.js.map +1 -0
- package/lib/stores/studio/{TextEditorState.d.ts → DSL_Text_TextEditorState.d.ts} +2 -2
- package/lib/stores/studio/DSL_Text_TextEditorState.d.ts.map +1 -0
- package/lib/stores/studio/{TextEditorState.js → DSL_Text_TextEditorState.js} +2 -2
- package/lib/stores/studio/DSL_Text_TextEditorState.js.map +1 -0
- package/package.json +11 -11
- package/src/{DSLText_Extension.ts → DSL_Text_Extension.ts} +7 -7
- package/src/components/studio/{DSLText_CodeSnippets.ts → DSL_Text_CodeSnippets.ts} +0 -0
- package/src/components/studio/{DSLText_LegendStudioApplicationPlugin.tsx → DSL_Text_LegendStudioApplicationPlugin.tsx} +9 -9
- package/src/components/studio/{DSLText_LegendStudioDocumentation.ts → DSL_Text_LegendStudioDocumentation.ts} +0 -0
- package/src/components/studio/{TextElementEditor.tsx → DSL_Text_TextElementEditor.tsx} +4 -4
- package/src/graph/{DSLText_HashUtils.ts → DSL_Text_HashUtils.ts} +0 -0
- package/src/graph/{DSLText_PureGraphPlugin.ts → DSL_Text_PureGraphPlugin.ts} +2 -2
- package/src/graph/helpers/{DSLText_Helper.ts → DSL_Text_Helper.ts} +1 -1
- package/src/graph/metamodel/pure/model/packageableElements/text/{DSLText_Text.ts → DSL_Text_Text.ts} +1 -1
- package/src/graphManager/{DSLText_GraphManagerHelper.ts → DSL_Text_GraphManagerHelper.ts} +1 -1
- package/src/graphManager/{DSLText_PureGraphManagerPlugin.ts → DSL_Text_PureGraphManagerPlugin.ts} +3 -3
- package/src/graphManager/action/changeDetection/{DSLText_ObserverHelper.ts → DSL_Text_ObserverHelper.ts} +1 -1
- package/src/graphManager/protocol/pure/{DSLText_PureProtocolProcessorPlugin.ts → DSL_Text_PureProtocolProcessorPlugin.ts} +5 -5
- package/src/graphManager/protocol/pure/v1/model/packageableElements/text/{V1_DSLText_Text.ts → V1_DSL_Text_Text.ts} +1 -1
- package/src/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLText_GraphBuilderHelper.ts → V1_DSL_Text_GraphBuilderHelper.ts} +2 -2
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLText_ProtocolHelper.ts → V1_DSL_Text_ProtocolHelper.ts} +1 -1
- package/src/index.ts +2 -2
- package/src/stores/studio/{DSLText_GraphModifierHelper.ts → DSL_Text_GraphModifierHelper.ts} +1 -1
- package/src/stores/studio/{DSLText_LegendStudioApplicationNavigationContext.ts → DSL_Text_LegendStudioApplicationNavigationContext.ts} +0 -0
- package/src/stores/studio/{TextEditorState.ts → DSL_Text_TextEditorState.ts} +1 -1
- package/tsconfig.json +19 -19
- package/lib/DSLText_Extension.d.ts.map +0 -1
- package/lib/DSLText_Extension.js.map +0 -1
- package/lib/components/studio/DSLText_CodeSnippets.d.ts.map +0 -1
- package/lib/components/studio/DSLText_CodeSnippets.js.map +0 -1
- package/lib/components/studio/DSLText_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/studio/DSLText_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/studio/DSLText_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/components/studio/DSLText_LegendStudioDocumentation.js.map +0 -1
- package/lib/components/studio/TextElementEditor.d.ts.map +0 -1
- package/lib/components/studio/TextElementEditor.js.map +0 -1
- package/lib/graph/DSLText_HashUtils.d.ts.map +0 -1
- package/lib/graph/DSLText_HashUtils.js.map +0 -1
- package/lib/graph/DSLText_PureGraphPlugin.d.ts.map +0 -1
- package/lib/graph/DSLText_PureGraphPlugin.js.map +0 -1
- package/lib/graph/helpers/DSLText_Helper.d.ts.map +0 -1
- package/lib/graph/helpers/DSLText_Helper.js.map +0 -1
- package/lib/graph/metamodel/pure/model/packageableElements/text/DSLText_Text.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/model/packageableElements/text/DSLText_Text.js.map +0 -1
- package/lib/graphManager/DSLText_GraphManagerHelper.d.ts.map +0 -1
- package/lib/graphManager/DSLText_GraphManagerHelper.js.map +0 -1
- package/lib/graphManager/DSLText_PureGraphManagerPlugin.d.ts.map +0 -1
- package/lib/graphManager/DSLText_PureGraphManagerPlugin.js.map +0 -1
- package/lib/graphManager/action/changeDetection/DSLText_ObserverHelper.d.ts.map +0 -1
- package/lib/graphManager/action/changeDetection/DSLText_ObserverHelper.js.map +0 -1
- package/lib/graphManager/protocol/pure/DSLText_PureProtocolProcessorPlugin.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/DSLText_PureProtocolProcessorPlugin.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSLText_Text.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSLText_Text.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.js.map +0 -1
- package/lib/stores/studio/DSLText_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/studio/DSLText_GraphModifierHelper.js.map +0 -1
- package/lib/stores/studio/DSLText_LegendStudioApplicationNavigationContext.d.ts.map +0 -1
- package/lib/stores/studio/DSLText_LegendStudioApplicationNavigationContext.js.map +0 -1
- package/lib/stores/studio/TextEditorState.d.ts.map +0 -1
- package/lib/stores/studio/TextEditorState.js.map +0 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { AbstractPreset } from '@finos/legend-shared';
|
|
17
|
-
export declare class
|
|
17
|
+
export declare class DSL_Text_GraphManagerPreset extends AbstractPreset {
|
|
18
18
|
constructor();
|
|
19
19
|
}
|
|
20
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=DSL_Text_Extension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_Extension.d.ts","sourceRoot":"","sources":["../src/DSL_Text_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAKtD,qBAAa,2BAA4B,SAAQ,cAAc;;CAQ9D"}
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import packageJson from '../package.json';
|
|
17
17
|
import { AbstractPreset } from '@finos/legend-shared';
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
export class
|
|
18
|
+
import { DSL_Text_PureGraphManagerPlugin as DSL_Text_PureGraphManagerPlugin } from './graphManager/DSL_Text_PureGraphManagerPlugin.js';
|
|
19
|
+
import { DSL_Text_PureProtocolProcessorPlugin as DSL_Text_PureProtocolProcessorPlugin } from './graphManager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.js';
|
|
20
|
+
import { DSL_Text_PureGraphPlugin as DSL_Text_PureGraphPlugin } from './graph/DSL_Text_PureGraphPlugin.js';
|
|
21
|
+
export class DSL_Text_GraphManagerPreset extends AbstractPreset {
|
|
22
22
|
constructor() {
|
|
23
23
|
super(packageJson.extensions.graphManagerPreset, packageJson.version, [
|
|
24
|
-
new
|
|
25
|
-
new
|
|
26
|
-
new
|
|
24
|
+
new DSL_Text_PureGraphPlugin(),
|
|
25
|
+
new DSL_Text_PureGraphManagerPlugin(),
|
|
26
|
+
new DSL_Text_PureProtocolProcessorPlugin(),
|
|
27
27
|
]);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
//# sourceMappingURL=
|
|
30
|
+
//# sourceMappingURL=DSL_Text_Extension.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_Extension.js","sourceRoot":"","sources":["../src/DSL_Text_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,+BAA+B,IAAI,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AACvI,OAAO,EAAE,oCAAoC,IAAI,oCAAoC,EAAE,MAAM,sEAAsE,CAAC;AACpK,OAAO,EAAE,wBAAwB,IAAI,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE3G,MAAM,OAAO,2BAA4B,SAAQ,cAAc;IAC7D;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,kBAAkB,EAAE,WAAW,CAAC,OAAO,EAAE;YACpE,IAAI,wBAAwB,EAAE;YAC9B,IAAI,+BAA+B,EAAE;YACrC,IAAI,oCAAoC,EAAE;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const PLAIN_TEXT_SNIPPET = "Text ${1:model::NewText}\n{\n content: '${2:}';\n}";
|
|
17
17
|
export declare const MARKDOWN_TEXT_SNIPPET = "Text ${1:model::NewText}\n{\n type: markdown;\n content: '${2:}';\n}";
|
|
18
|
-
//# sourceMappingURL=
|
|
18
|
+
//# sourceMappingURL=DSL_Text_CodeSnippets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_CodeSnippets.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_CodeSnippets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,kBAAkB,wDAG7B,CAAC;AAEH,eAAO,MAAM,qBAAqB,2EAIhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_CodeSnippets.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_CodeSnippets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;EAGhC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;;EAInC,CAAC"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { LegendStudioApplicationPlugin, type NewElementFromStateCreator, type ElementEditorStateCreator, type ElementClassifier, type DragElementClassifier, type ElementIconGetter, type ElementEditorRenderer, type DSL_LegendStudioApplicationPlugin_Extension, type PureGrammarParserDocumentationGetter, type PureGrammarParserKeywordSuggestionGetter, type PureGrammarParserElementSnippetSuggestionsGetter, type PureGrammarParserElementDocumentationGetter } from '@finos/legend-application-studio';
|
|
17
|
-
export declare class
|
|
17
|
+
export declare class DSL_Text_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin implements DSL_LegendStudioApplicationPlugin_Extension {
|
|
18
18
|
constructor();
|
|
19
19
|
getExtraRequiredDocumentationKeys(): string[];
|
|
20
20
|
getExtraAccessEventLoggingApplicationContextKeys(): string[];
|
|
@@ -31,4 +31,4 @@ export declare class DSLText_LegendStudioApplicationPlugin extends LegendStudioA
|
|
|
31
31
|
getExtraPureGrammarParserKeywordSuggestionGetters(): PureGrammarParserKeywordSuggestionGetter[];
|
|
32
32
|
getExtraPureGrammarParserElementSnippetSuggestionsGetters(): PureGrammarParserElementSnippetSuggestionsGetter[];
|
|
33
33
|
}
|
|
34
|
-
//# sourceMappingURL=
|
|
34
|
+
//# sourceMappingURL=DSL_Text_LegendStudioApplicationPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_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,sCACX,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"}
|
|
@@ -17,17 +17,17 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
17
17
|
import packageJson from '../../../package.json';
|
|
18
18
|
import { LegendStudioApplicationPlugin, } from '@finos/legend-application-studio';
|
|
19
19
|
import { FileIcon } from '@finos/legend-art';
|
|
20
|
-
import { TextEditorState } from '../../stores/studio/
|
|
21
|
-
import { TextElementEditor } from './
|
|
22
|
-
import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/
|
|
23
|
-
import { DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY } from './
|
|
24
|
-
import { PURE_GRAMMAR_TEXT_ELEMENT_TYPE_LABEL, PURE_GRAMMAR_TEXT_PARSER_NAME, } from '../../graphManager/
|
|
25
|
-
import { MARKDOWN_TEXT_SNIPPET, PLAIN_TEXT_SNIPPET, } from './
|
|
26
|
-
import { create_TextElement } from '../../graph/helpers/
|
|
27
|
-
import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/
|
|
20
|
+
import { TextEditorState } from '../../stores/studio/DSL_Text_TextEditorState.js';
|
|
21
|
+
import { TextElementEditor } from './DSL_Text_TextElementEditor.js';
|
|
22
|
+
import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
|
23
|
+
import { DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSL_Text_LegendStudioDocumentation.js';
|
|
24
|
+
import { PURE_GRAMMAR_TEXT_ELEMENT_TYPE_LABEL, PURE_GRAMMAR_TEXT_PARSER_NAME, } from '../../graphManager/DSL_Text_PureGraphManagerPlugin.js';
|
|
25
|
+
import { MARKDOWN_TEXT_SNIPPET, PLAIN_TEXT_SNIPPET, } from './DSL_Text_CodeSnippets.js';
|
|
26
|
+
import { create_TextElement } from '../../graph/helpers/DSL_Text_Helper.js';
|
|
27
|
+
import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSL_Text_LegendStudioApplicationNavigationContext.js';
|
|
28
28
|
const TEXT_ELEMENT_TYPE = 'TEXT';
|
|
29
29
|
const TEXT_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_TEXT';
|
|
30
|
-
export class
|
|
30
|
+
export class DSL_Text_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin {
|
|
31
31
|
constructor() {
|
|
32
32
|
super(packageJson.extensions.applicationStudioPlugin, packageJson.version);
|
|
33
33
|
}
|
|
@@ -161,4 +161,4 @@ export class DSLText_LegendStudioApplicationPlugin extends LegendStudioApplicati
|
|
|
161
161
|
];
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
//# sourceMappingURL=
|
|
164
|
+
//# sourceMappingURL=DSL_Text_LegendStudioApplicationPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_LegendStudioApplicationPlug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;qBAClC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -17,4 +17,4 @@ export declare enum DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY {
|
|
|
17
17
|
GRAMMAR_PARSER = "dsl-text.grammar.parser",
|
|
18
18
|
GRAMMAR_ELEMENT_TEXT = "dsl-text.grammar.element.text"
|
|
19
19
|
}
|
|
20
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=DSL_Text_LegendStudioDocumentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_LegendStudioDocumentation.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_LegendStudioDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,wCAAwC;IAClD,cAAc,4BAA4B;IAC1C,oBAAoB,kCAAkC;CACvD"}
|
|
@@ -18,4 +18,4 @@ export var DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY;
|
|
|
18
18
|
DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY["GRAMMAR_PARSER"] = "dsl-text.grammar.parser";
|
|
19
19
|
DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY["GRAMMAR_ELEMENT_TEXT"] = "dsl-text.grammar.element.text";
|
|
20
20
|
})(DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY = DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY || (DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY = {}));
|
|
21
|
-
//# sourceMappingURL=
|
|
21
|
+
//# sourceMappingURL=DSL_Text_LegendStudioDocumentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_LegendStudioDocumentation.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_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"}
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
16
17
|
export declare const TextElementEditor: (() => JSX.Element) & {
|
|
17
18
|
displayName: string;
|
|
18
19
|
};
|
|
19
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=DSL_Text_TextElementEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_TextElementEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_TextElementEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA8CH,eAAO,MAAM,iBAAiB;;CAmH5B,CAAC"}
|
|
@@ -18,12 +18,12 @@ import { useRef, useEffect, useState } from 'react';
|
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
19
|
import { prettyCONSTName } from '@finos/legend-shared';
|
|
20
20
|
import { StudioTextInputEditor, useEditorStore, } from '@finos/legend-application-studio';
|
|
21
|
-
import { TextEditorState } from '../../stores/studio/
|
|
21
|
+
import { TextEditorState } from '../../stores/studio/DSL_Text_TextEditorState.js';
|
|
22
22
|
import { OpenPreviewIcon, LockIcon, CaretDownIcon, DropdownMenu, MenuContent, MenuContentItem, MarkdownTextViewer, ResizablePanel, ResizablePanelGroup, ResizablePanelSplitter, getControlledResizablePanelProps, } from '@finos/legend-art';
|
|
23
23
|
import { EDITOR_LANGUAGE, useApplicationNavigationContext, } from '@finos/legend-application';
|
|
24
|
-
import { text_setContent, text_setType, } from '../../stores/studio/
|
|
25
|
-
import { TEXT_TYPE } from '../../graph/helpers/
|
|
26
|
-
import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/
|
|
24
|
+
import { text_setContent, text_setType, } from '../../stores/studio/DSL_Text_GraphModifierHelper.js';
|
|
25
|
+
import { TEXT_TYPE } from '../../graph/helpers/DSL_Text_Helper.js';
|
|
26
|
+
import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSL_Text_LegendStudioApplicationNavigationContext.js';
|
|
27
27
|
const getTextElementEditorLanguage = (type) => {
|
|
28
28
|
switch (type) {
|
|
29
29
|
case TEXT_TYPE.MARKDOWN:
|
|
@@ -62,4 +62,4 @@ export const TextElementEditor = observer(() => {
|
|
|
62
62
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
|
63
63
|
}, children: _jsxs("div", { className: "text-element-editor__header__configs__type", children: [_jsx("div", { className: "text-element-editor__header__configs__type__label", children: prettyCONSTName(textElement.type) }), _jsx("div", { className: "text-element-editor__header__configs__type__icon", children: _jsx(CaretDownIcon, {}) })] }) }), isMarkdown ? (_jsx("button", { title: showPreview ? `Hide Preview` : `Show Preview`, className: `text-element-editor__preview-btn ${showPreview ? `text-element-editor__preview-btn__active` : ''}`, onClick: () => changePreview(!showPreview), children: _jsx(OpenPreviewIcon, {}) })) : null] }) }), isMarkdown ? renderMarkdownView() : renderPlainTextEditorView()] }));
|
|
64
64
|
});
|
|
65
|
-
//# sourceMappingURL=
|
|
65
|
+
//# sourceMappingURL=DSL_Text_TextElementEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_TextElementEditor.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Text_TextElementEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,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AAW,CAAC,YAEhD,KAAC,eAAe,KAAG,GACZ,CACV,CAAC,CAAC,CAAC,IAAI,IACJ,GACF,EACL,UAAU,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC,CAAC,CAAC,yBAAyB,EAAE,IAC5D,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_HashUtils.d.ts","sourceRoot":"","sources":["../../src/graph/DSL_Text_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,mBAAmB;IAC7B,IAAI,SAAS;CACd"}
|
|
@@ -17,4 +17,4 @@ export var TEXT_HASH_STRUCTURE;
|
|
|
17
17
|
(function (TEXT_HASH_STRUCTURE) {
|
|
18
18
|
TEXT_HASH_STRUCTURE["TEXT"] = "TEXT";
|
|
19
19
|
})(TEXT_HASH_STRUCTURE = TEXT_HASH_STRUCTURE || (TEXT_HASH_STRUCTURE = {}));
|
|
20
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=DSL_Text_HashUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_HashUtils.js","sourceRoot":"","sources":["../../src/graph/DSL_Text_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;AACf,CAAC,EAFW,mBAAmB,GAAnB,mBAAmB,KAAnB,mBAAmB,QAE9B"}
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import type { Clazz } from '@finos/legend-shared';
|
|
17
17
|
import { type PackageableElement, PureGraphPlugin } from '@finos/legend-graph';
|
|
18
|
-
export declare class
|
|
18
|
+
export declare class DSL_Text_PureGraphPlugin extends PureGraphPlugin {
|
|
19
19
|
constructor();
|
|
20
20
|
getExtraPureGraphExtensionClasses(): Clazz<PackageableElement>[];
|
|
21
21
|
}
|
|
22
|
-
//# sourceMappingURL=
|
|
22
|
+
//# sourceMappingURL=DSL_Text_PureGraphPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_PureGraphPlugin.d.ts","sourceRoot":"","sources":["../../src/graph/DSL_Text_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,kBAAkB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE/E,qBAAa,wBAAyB,SAAQ,eAAe;;IAKlD,iCAAiC,IAAI,KAAK,CAAC,kBAAkB,CAAC,EAAE;CAG1E"}
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import packageJson from '../../package.json';
|
|
17
|
-
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/
|
|
17
|
+
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
|
18
18
|
import { PureGraphPlugin } from '@finos/legend-graph';
|
|
19
|
-
export class
|
|
19
|
+
export class DSL_Text_PureGraphPlugin extends PureGraphPlugin {
|
|
20
20
|
constructor() {
|
|
21
21
|
super(packageJson.extensions.pureGraphPlugin, packageJson.version);
|
|
22
22
|
}
|
|
@@ -24,4 +24,4 @@ export class DSLText_PureGraphPlugin extends PureGraphPlugin {
|
|
|
24
24
|
return [Text];
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
//# sourceMappingURL=
|
|
27
|
+
//# sourceMappingURL=DSL_Text_PureGraphPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSL_Text_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,yEAAyE,CAAC;AAE/F,OAAO,EAA2B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE/E,MAAM,OAAO,wBAAyB,SAAQ,eAAe;IAC3D;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAEQ,iCAAiC;QACxC,OAAO,CAAC,IAAI,CAAC,CAAC;IAChB,CAAC;CACF"}
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/
|
|
16
|
+
import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
|
17
17
|
export declare enum TEXT_TYPE {
|
|
18
18
|
PLAIN_TEXT = "plainText",
|
|
19
19
|
MARKDOWN = "markdown"
|
|
20
20
|
}
|
|
21
21
|
export declare const create_TextElement: (name: string) => Text;
|
|
22
|
-
//# sourceMappingURL=
|
|
22
|
+
//# sourceMappingURL=DSL_Text_Helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_Helper.d.ts","sourceRoot":"","sources":["../../../src/graph/helpers/DSL_Text_Helper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,4EAA4E,CAAC;AAElG,oBAAY,SAAS;IACnB,UAAU,cAAc;IACxB,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,kBAAkB,SAAU,MAAM,KAAG,IAMjD,CAAC"}
|
|
@@ -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 { Text } from '../../graph/metamodel/pure/model/packageableElements/text/
|
|
16
|
+
import { Text } from '../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
|
17
17
|
export var TEXT_TYPE;
|
|
18
18
|
(function (TEXT_TYPE) {
|
|
19
19
|
TEXT_TYPE["PLAIN_TEXT"] = "plainText";
|
|
@@ -25,4 +25,4 @@ export const create_TextElement = (name) => {
|
|
|
25
25
|
metamodel.content = '';
|
|
26
26
|
return metamodel;
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=
|
|
28
|
+
//# sourceMappingURL=DSL_Text_Helper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_Helper.js","sourceRoot":"","sources":["../../../src/graph/helpers/DSL_Text_Helper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,4EAA4E,CAAC;AAElG,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,qCAAwB,CAAA;IACxB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,GAAT,SAAS,KAAT,SAAS,QAGpB;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAQ,EAAE;IACvD,MAAM,SAAS,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IACjC,SAAS,CAAC,IAAI,GAAG,SAAS,CAAC,UAAU,CAAC;IACtC,SAAS,CAAC,OAAO,GAAG,EAAE,CAAC;IAEvB,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
|
|
@@ -21,4 +21,4 @@ export declare class Text extends PackageableElement implements Hashable {
|
|
|
21
21
|
protected get _elementHashCode(): string;
|
|
22
22
|
accept_PackageableElementVisitor<T>(visitor: PackageableElementVisitor<T>): T;
|
|
23
23
|
}
|
|
24
|
-
//# sourceMappingURL=
|
|
24
|
+
//# sourceMappingURL=DSL_Text_Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_Text.d.ts","sourceRoot":"","sources":["../../../../../../../src/graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EACL,KAAK,yBAAyB,EAC9B,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAE7B,qBAAa,IAAK,SAAQ,kBAAmB,YAAW,QAAQ;IAC9D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,EAAG,MAAM,CAAC;IAEjB,cAAuB,gBAAgB,IAAI,MAAM,CAOhD;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,GACpC,CAAC;CAGL"}
|
package/lib/graph/metamodel/pure/model/packageableElements/text/{DSLText_Text.js → DSL_Text_Text.js}
RENAMED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
|
17
|
-
import { TEXT_HASH_STRUCTURE } from '../../../../../
|
|
17
|
+
import { TEXT_HASH_STRUCTURE } from '../../../../../DSL_Text_HashUtils.js';
|
|
18
18
|
import { PackageableElement, } from '@finos/legend-graph';
|
|
19
19
|
export class Text extends PackageableElement {
|
|
20
20
|
type;
|
|
@@ -31,4 +31,4 @@ export class Text extends PackageableElement {
|
|
|
31
31
|
return visitor.visit_PackageableElement(this);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
//# sourceMappingURL=
|
|
34
|
+
//# sourceMappingURL=DSL_Text_Text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_Text.js","sourceRoot":"","sources":["../../../../../../../src/graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAEL,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAO,IAAK,SAAQ,kBAAkB;IAC1C,IAAI,CAAsB;IAC1B,OAAO,CAAU;IAEjB,IAAuB,gBAAgB;QACrC,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,IAAI;YACxB,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,IAAI,IAAI,EAAE;YACf,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
package/lib/graphManager/{DSLText_GraphManagerHelper.d.ts → DSL_Text_GraphManagerHelper.d.ts}
RENAMED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { BasicModel, PureModel } from '@finos/legend-graph';
|
|
17
|
-
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/
|
|
17
|
+
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
|
18
18
|
export declare const getText: (path: string, graph: PureModel) => Text;
|
|
19
19
|
export declare const getOwnText: (path: string, graph: BasicModel) => Text;
|
|
20
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=DSL_Text_GraphManagerHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_GraphManagerHelper.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSL_Text_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,EAAE,IAAI,EAAE,MAAM,yEAAyE,CAAC;AAE/F,eAAO,MAAM,OAAO,SAAU,MAAM,SAAS,SAAS,KAAG,IACmB,CAAC;AAE7E,eAAO,MAAM,UAAU,SAAU,MAAM,SAAS,UAAU,KAAG,IAI1D,CAAC"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
17
|
-
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/
|
|
17
|
+
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
|
18
18
|
export const getText = (path, graph) => graph.getExtensionElement(path, Text, `Can't find text element '${path}'`);
|
|
19
19
|
export const getOwnText = (path, graph) => guaranteeNonNullable(graph.getOwnNullableExtensionElement(path, Text), `Can't find text '${path}'`);
|
|
20
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=DSL_Text_GraphManagerHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_GraphManagerHelper.js","sourceRoot":"","sources":["../../src/graphManager/DSL_Text_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,yEAAyE,CAAC;AAE/F,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAY,EAAE,KAAgB,EAAQ,EAAE,CAC9D,KAAK,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,4BAA4B,IAAI,GAAG,CAAC,CAAC;AAE7E,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,IAAY,EAAE,KAAiB,EAAQ,EAAE,CAClE,oBAAoB,CAClB,KAAK,CAAC,8BAA8B,CAAC,IAAI,EAAE,IAAI,CAAC,EAChD,oBAAoB,IAAI,GAAG,CAC5B,CAAC"}
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
import { PureGraphManagerPlugin, type ElementObserver, type PureGrammarElementLabeler } from '@finos/legend-graph';
|
|
17
17
|
export declare const PURE_GRAMMAR_TEXT_PARSER_NAME = "Text";
|
|
18
18
|
export declare const PURE_GRAMMAR_TEXT_ELEMENT_TYPE_LABEL = "Text";
|
|
19
|
-
export declare class
|
|
19
|
+
export declare class DSL_Text_PureGraphManagerPlugin extends PureGraphManagerPlugin {
|
|
20
20
|
constructor();
|
|
21
21
|
getExtraPureGrammarParserNames(): string[];
|
|
22
22
|
getExtraPureGrammarKeywords(): string[];
|
|
23
23
|
getExtraPureGrammarElementLabelers(): PureGrammarElementLabeler[];
|
|
24
24
|
getExtraElementObservers(): ElementObserver[];
|
|
25
25
|
}
|
|
26
|
-
//# sourceMappingURL=
|
|
26
|
+
//# sourceMappingURL=DSL_Text_PureGraphManagerPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSL_Text_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,sBAAsB,EAEtB,KAAK,eAAe,EAEpB,KAAK,yBAAyB,EAC/B,MAAM,qBAAqB,CAAC;AAG7B,eAAO,MAAM,6BAA6B,SAAS,CAAC;AACpD,eAAO,MAAM,oCAAoC,SAAS,CAAC;AAE3D,qBAAa,+BAAgC,SAAQ,sBAAsB;;IAKhE,8BAA8B,IAAI,MAAM,EAAE;IAI1C,2BAA2B,IAAI,MAAM,EAAE;IAIvC,kCAAkC,IAAI,yBAAyB,EAAE;IAWjE,wBAAwB,IAAI,eAAe,EAAE;CAavD"}
|
package/lib/graphManager/{DSLText_PureGraphManagerPlugin.js → DSL_Text_PureGraphManagerPlugin.js}
RENAMED
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import packageJson from '../../package.json';
|
|
17
|
-
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/
|
|
17
|
+
import { Text } from '../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
|
18
18
|
import { PureGraphManagerPlugin, } from '@finos/legend-graph';
|
|
19
|
-
import { observe_Text } from './action/changeDetection/
|
|
19
|
+
import { observe_Text } from './action/changeDetection/DSL_Text_ObserverHelper.js';
|
|
20
20
|
export const PURE_GRAMMAR_TEXT_PARSER_NAME = 'Text';
|
|
21
21
|
export const PURE_GRAMMAR_TEXT_ELEMENT_TYPE_LABEL = 'Text';
|
|
22
|
-
export class
|
|
22
|
+
export class DSL_Text_PureGraphManagerPlugin extends PureGraphManagerPlugin {
|
|
23
23
|
constructor() {
|
|
24
24
|
super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
|
|
25
25
|
}
|
|
@@ -50,4 +50,4 @@ export class DSLText_PureGraphManagerPlugin extends PureGraphManagerPlugin {
|
|
|
50
50
|
];
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
//# sourceMappingURL=
|
|
53
|
+
//# sourceMappingURL=DSL_Text_PureGraphManagerPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graphManager/DSL_Text_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,yEAAyE,CAAC;AAC/F,OAAO,EACL,sBAAsB,GAKvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AAEnF,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC;AACpD,MAAM,CAAC,MAAM,oCAAoC,GAAG,MAAM,CAAC;AAE3D,MAAM,OAAO,+BAAgC,SAAQ,sBAAsB;IACzE;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,sBAAsB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEQ,8BAA8B;QACrC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACzC,CAAC;IAEQ,2BAA2B;QAClC,OAAO,CAAC,oCAAoC,CAAC,CAAC;IAChD,CAAC;IAEQ,kCAAkC;QACzC,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,IAAI,EAAE;oBAC3B,OAAO,oCAAoC,CAAC;iBAC7C;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,wBAAwB;QAC/B,OAAO;YACL,CACE,OAA2B,EAC3B,OAAwB,EACQ,EAAE;gBAClC,IAAI,OAAO,YAAY,IAAI,EAAE;oBAC3B,OAAO,YAAY,CAAC,OAAO,CAAC,CAAC;iBAC9B;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -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
|
-
import type { Text } from '../../../graph/metamodel/pure/model/packageableElements/text/
|
|
16
|
+
import type { Text } from '../../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
|
17
17
|
export declare const observe_Text: (metamodel: Text) => Text;
|
|
18
|
-
//# sourceMappingURL=
|
|
18
|
+
//# sourceMappingURL=DSL_Text_ObserverHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_ObserverHelper.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSL_Text_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,+EAA+E,CAAC;AAE1G,eAAO,MAAM,YAAY,2BAUvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_ObserverHelper.js","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSL_Text_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mCAAmC,EACnC,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAG5D,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CAAC,CAAC,SAAe,EAAQ,EAAE;IACjE,mCAAmC,CAAC,SAAS,CAAC,CAAC;IAE/C,cAAc,CAA2B,SAAS,EAAE;QAClD,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,UAAU;QACnB,gBAAgB,EAAE,QAAQ;KAC3B,CAAC,CAAC;IAEH,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC,CAAC"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { type V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement, PureProtocolProcessorPlugin, V1_ElementBuilder } from '@finos/legend-graph';
|
|
17
|
-
export declare class
|
|
17
|
+
export declare class DSL_Text_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
|
|
18
18
|
constructor();
|
|
19
19
|
V1_getExtraElementBuilders(): V1_ElementBuilder<V1_PackageableElement>[];
|
|
20
20
|
V1_getExtraElementClassifierPathGetters(): V1_ElementProtocolClassifierPathGetter[];
|
|
@@ -22,4 +22,4 @@ export declare class DSLText_PureProtocolProcessorPlugin extends PureProtocolPro
|
|
|
22
22
|
V1_getExtraElementProtocolDeserializers(): V1_ElementProtocolDeserializer[];
|
|
23
23
|
V1_getExtraElementTransformers(): V1_ElementTransformer[];
|
|
24
24
|
}
|
|
25
|
-
//# sourceMappingURL=
|
|
25
|
+
//# sourceMappingURL=DSL_Text_PureProtocolProcessorPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,EAEL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,iBAAiB,EAGlB,MAAM,qBAAqB,CAAC;AAI7B,qBAAa,oCAAqC,SAAQ,2BAA2B;;IAQ1E,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IAsCxE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;CAmBnE"}
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import packageJson from '../../../../package.json';
|
|
17
|
-
import { V1_Text } from './v1/model/packageableElements/text/
|
|
17
|
+
import { V1_Text } from './v1/model/packageableElements/text/V1_DSL_Text_Text.js';
|
|
18
18
|
import { guaranteeNonNullable, assertType, } from '@finos/legend-shared';
|
|
19
19
|
import { deserialize, serialize } from 'serializr';
|
|
20
|
-
import { V1_textModelSchema, V1_TEXT_ELEMENT_PROTOCOL_TYPE, } from './v1/transformation/pureProtocol/
|
|
21
|
-
import { getOwnText } from '../../
|
|
22
|
-
import { Text } from '../../../graph/metamodel/pure/model/packageableElements/text/
|
|
20
|
+
import { V1_textModelSchema, V1_TEXT_ELEMENT_PROTOCOL_TYPE, } from './v1/transformation/pureProtocol/V1_DSL_Text_ProtocolHelper.js';
|
|
21
|
+
import { getOwnText } from '../../DSL_Text_GraphManagerHelper.js';
|
|
22
|
+
import { Text } from '../../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
|
23
23
|
import { PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_buildFullPath, } from '@finos/legend-graph';
|
|
24
24
|
const TEXT_ELEMENT_CLASSIFIER_PATH = 'meta::pure::metamodel::text::Text';
|
|
25
|
-
export class
|
|
25
|
+
export class DSL_Text_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
|
|
26
26
|
constructor() {
|
|
27
27
|
super(packageJson.extensions.pureProtocolProcessorPlugin, packageJson.version);
|
|
28
28
|
}
|
|
@@ -95,4 +95,4 @@ export class DSLText_PureProtocolProcessorPlugin extends PureProtocolProcessorPl
|
|
|
95
95
|
];
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
//# sourceMappingURL=
|
|
98
|
+
//# sourceMappingURL=DSL_Text_PureProtocolProcessorPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_Text_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL_Text_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,yDAAyD,CAAC;AAClF,OAAO,EAEL,oBAAoB,EACpB,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,kBAAkB,EAClB,6BAA6B,GAC9B,MAAM,gEAAgE,CA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,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;oBAC/B,OAAO,QAAQ,CAAC;iBACjB;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -21,4 +21,4 @@ export declare class V1_Text extends V1_PackageableElement implements Hashable {
|
|
|
21
21
|
get hashCode(): string;
|
|
22
22
|
accept_PackageableElementVisitor<T>(visitor: V1_PackageableElementVisitor<T>): T;
|
|
23
23
|
}
|
|
24
|
-
//# sourceMappingURL=
|
|
24
|
+
//# sourceMappingURL=V1_DSL_Text_Text.d.ts.map
|
package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSL_Text_Text.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSL_Text_Text.d.ts","sourceRoot":"","sources":["../../../../../../../../src/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSL_Text_Text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EACL,KAAK,4BAA4B,EACjC,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,qBAAa,OAAQ,SAAQ,qBAAsB,YAAW,QAAQ;IACpE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,EAAG,MAAM,CAAC;IAEjB,IAAa,QAAQ,IAAI,MAAM,CAO9B;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,GACvC,CAAC;CAGL"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
|
17
|
-
import { TEXT_HASH_STRUCTURE } from '../../../../../../../graph/
|
|
17
|
+
import { TEXT_HASH_STRUCTURE } from '../../../../../../../graph/DSL_Text_HashUtils.js';
|
|
18
18
|
import { V1_PackageableElement, } from '@finos/legend-graph';
|
|
19
19
|
export class V1_Text extends V1_PackageableElement {
|
|
20
20
|
type;
|
|
@@ -31,4 +31,4 @@ export class V1_Text extends V1_PackageableElement {
|
|
|
31
31
|
return visitor.visit_PackageableElement(this);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
//# sourceMappingURL=
|
|
34
|
+
//# sourceMappingURL=V1_DSL_Text_Text.js.map
|
package/lib/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSL_Text_Text.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSL_Text_Text.js","sourceRoot":"","sources":["../../../../../../../../src/graphManager/protocol/pure/v1/model/packageableElements/text/V1_DSL_Text_Text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AACvF,OAAO,EAEL,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAO,OAAQ,SAAQ,qBAAqB;IAChD,IAAI,CAAsB;IAC1B,OAAO,CAAU;IAEjB,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,IAAI;YACxB,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,IAAI,IAAI,EAAE;YACf,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAwC;QAExC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -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/
|
|
16
|
+
import type { Text } from '../../../../../../graph/metamodel/pure/model/packageableElements/text/DSL_Text_Text.js';
|
|
17
17
|
import type { PackageableElementImplicitReference, V1_GraphBuilderContext } from '@finos/legend-graph';
|
|
18
18
|
export declare const V1_resolveText: (path: string, context: V1_GraphBuilderContext) => PackageableElementImplicitReference<Text>;
|
|
19
|
-
//# sourceMappingURL=
|
|
19
|
+
//# sourceMappingURL=V1_DSL_Text_GraphBuilderHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSL_Text_GraphBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_Text_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,wFAAwF,CAAC;AACnH,OAAO,KAAK,EACV,mCAAmC,EACnC,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,cAAc,SACnB,MAAM,WACH,sBAAsB,KAC9B,oCAAoC,IAAI,CAGxC,CAAC"}
|
|
@@ -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
|
-
import { getText } from '../../../../../
|
|
16
|
+
import { getText } from '../../../../../DSL_Text_GraphManagerHelper.js';
|
|
17
17
|
export const V1_resolveText = (path, context) => context.createImplicitPackageableElementReference(path, (_path) => getText(_path, context.graph));
|
|
18
|
-
//# sourceMappingURL=
|
|
18
|
+
//# sourceMappingURL=V1_DSL_Text_GraphBuilderHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSL_Text_GraphBuilderHelper.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_Text_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AAOxE,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,IAAY,EACZ,OAA+B,EACY,EAAE,CAC7C,OAAO,CAAC,yCAAyC,CAAC,IAAI,EAAE,CAAC,KAAa,EAAE,EAAE,CACxE,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CAC9B,CAAC"}
|
|
@@ -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 { V1_Text } from '../../model/packageableElements/text/
|
|
16
|
+
import { V1_Text } from '../../model/packageableElements/text/V1_DSL_Text_Text.js';
|
|
17
17
|
export declare const V1_TEXT_ELEMENT_PROTOCOL_TYPE = "text";
|
|
18
18
|
export declare const V1_textModelSchema: import("serializr").ModelSchema<V1_Text>;
|
|
19
|
-
//# sourceMappingURL=
|
|
19
|
+
//# sourceMappingURL=V1_DSL_Text_ProtocolHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSL_Text_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_Text_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,OAAO,EAAE,MAAM,0DAA0D,CAAC;AAEnF,eAAO,MAAM,6BAA6B,SAAS,CAAC;AAEpD,eAAO,MAAM,kBAAkB,0CAM7B,CAAC"}
|