@finos/legend-extension-dsl-text 3.1.1 → 3.1.2
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/components/studio/{DSLText_LegendStudioPlugin.d.ts → DSLText_LegendStudioApplicationPlugin.d.ts} +3 -3
- package/lib/components/studio/DSLText_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/studio/{DSLText_LegendStudioPlugin.js → DSLText_LegendStudioApplicationPlugin.js} +3 -3
- package/lib/components/studio/DSLText_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +5 -5
- package/package.json +12 -12
- package/src/components/studio/{DSLText_LegendStudioPlugin.tsx → DSLText_LegendStudioApplicationPlugin.tsx} +8 -8
- package/src/index.ts +1 -1
- package/tsconfig.json +1 -1
- package/lib/components/studio/DSLText_LegendStudioPlugin.d.ts.map +0 -1
- package/lib/components/studio/DSLText_LegendStudioPlugin.js.map +0 -1
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
17
|
-
export declare class
|
|
16
|
+
import { LegendStudioApplicationPlugin, type NewElementFromStateCreator, type ElementEditorStateCreator, type ElementTypeGetter, type ElementProjectExplorerDnDTypeGetter, type ElementIconGetter, type ElementEditorRenderer, type DSL_LegendStudioApplicationPlugin_Extension, type PureGrammarParserDocumentationGetter, type PureGrammarParserKeywordSuggestionGetter, type PureGrammarParserElementSnippetSuggestionsGetter, type PureGrammarParserElementDocumentationGetter } from '@finos/legend-studio';
|
|
17
|
+
export declare class DSLText_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_LegendStudioPlugin extends LegendStudioPlugin imple
|
|
|
31
31
|
getExtraPureGrammarParserKeywordSuggestionGetters(): PureGrammarParserKeywordSuggestionGetter[];
|
|
32
32
|
getExtraPureGrammarParserElementSnippetSuggestionsGetters(): PureGrammarParserElementSnippetSuggestionsGetter[];
|
|
33
33
|
}
|
|
34
|
-
//# sourceMappingURL=
|
|
34
|
+
//# sourceMappingURL=DSLText_LegendStudioApplicationPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,2CAA2C,EAEhD,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EACrD,KAAK,2CAA2C,EACjD,MAAM,sBAAsB,CAAC;AAsB9B,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,4CAA4C,IAAI,mCAAmC,EAAE;IAWrF,qCAAqC,IAAI,MAAM,EAAE;IAIjD,oDAAoD,IAAI,2CAA2C,EAAE;IAmBrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;CAsBhH"}
|
|
@@ -15,7 +15,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import packageJson from '../../../package.json';
|
|
18
|
-
import {
|
|
18
|
+
import { LegendStudioApplicationPlugin, } from '@finos/legend-studio';
|
|
19
19
|
import { FileIcon } from '@finos/legend-art';
|
|
20
20
|
import { TextEditorState } from '../../stores/studio/TextEditorState.js';
|
|
21
21
|
import { TextElementEditor } from './TextElementEditor.js';
|
|
@@ -27,7 +27,7 @@ import { create_TextElement } from '../../helper/DSLText_Helper.js';
|
|
|
27
27
|
import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSLText_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 DSLText_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin {
|
|
31
31
|
constructor() {
|
|
32
32
|
super(packageJson.extensions.studioPlugin, packageJson.version);
|
|
33
33
|
}
|
|
@@ -161,4 +161,4 @@ export class DSLText_LegendStudioPlugin extends LegendStudioPlugin {
|
|
|
161
161
|
];
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
//# sourceMappingURL=
|
|
164
|
+
//# sourceMappingURL=DSLText_LegendStudioApplicationPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLText_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLText_LegendStudioApplic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B;qBAClC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
|
package/lib/index.css
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
export * from './DSLText_Extension.js';
|
|
17
|
-
export {
|
|
17
|
+
export { DSLText_LegendStudioApplicationPlugin } from './components/studio/DSLText_LegendStudioApplicationPlugin.js';
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -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,
|
|
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"}
|
package/lib/index.js
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
export * from './DSLText_Extension.js';
|
|
17
|
-
export {
|
|
17
|
+
export { DSLText_LegendStudioApplicationPlugin } from './components/studio/DSLText_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,
|
|
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"}
|
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-text",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "Legend extension for Text DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@finos/legend-dev-utils": "workspace:*",
|
|
60
|
-
"@jest/globals": "28.1.
|
|
60
|
+
"@jest/globals": "28.1.3",
|
|
61
61
|
"cross-env": "7.0.3",
|
|
62
|
-
"eslint": "8.
|
|
63
|
-
"jest": "28.1.
|
|
62
|
+
"eslint": "8.20.0",
|
|
63
|
+
"jest": "28.1.3",
|
|
64
64
|
"npm-run-all": "4.1.5",
|
|
65
65
|
"rimraf": "3.0.2",
|
|
66
|
-
"sass": "1.
|
|
66
|
+
"sass": "1.54.0",
|
|
67
67
|
"typescript": "4.7.4"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-text",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "Legend extension for Text DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"test:watch": "jest --watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@finos/legend-application": "
|
|
47
|
-
"@finos/legend-art": "2.0.
|
|
48
|
-
"@finos/legend-graph": "
|
|
49
|
-
"@finos/legend-model-storage": "2.0.
|
|
50
|
-
"@finos/legend-shared": "
|
|
51
|
-
"@finos/legend-studio": "
|
|
46
|
+
"@finos/legend-application": "7.0.0",
|
|
47
|
+
"@finos/legend-art": "2.0.9",
|
|
48
|
+
"@finos/legend-graph": "11.0.0",
|
|
49
|
+
"@finos/legend-model-storage": "2.0.7",
|
|
50
|
+
"@finos/legend-shared": "5.0.0",
|
|
51
|
+
"@finos/legend-studio": "12.0.0",
|
|
52
52
|
"@types/react": "18.0.15",
|
|
53
53
|
"mobx": "6.6.1",
|
|
54
54
|
"mobx-react-lite": "3.4.0",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"serializr": "2.0.5"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@finos/legend-dev-utils": "2.0.
|
|
60
|
-
"@jest/globals": "28.1.
|
|
59
|
+
"@finos/legend-dev-utils": "2.0.6",
|
|
60
|
+
"@jest/globals": "28.1.3",
|
|
61
61
|
"cross-env": "7.0.3",
|
|
62
|
-
"eslint": "8.
|
|
63
|
-
"jest": "28.1.
|
|
62
|
+
"eslint": "8.20.0",
|
|
63
|
+
"jest": "28.1.3",
|
|
64
64
|
"npm-run-all": "4.1.5",
|
|
65
65
|
"rimraf": "3.0.2",
|
|
66
|
-
"sass": "1.
|
|
66
|
+
"sass": "1.54.0",
|
|
67
67
|
"typescript": "4.7.4"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../../package.json';
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
LegendStudioApplicationPlugin,
|
|
20
20
|
type NewElementFromStateCreator,
|
|
21
21
|
type EditorStore,
|
|
22
22
|
type ElementEditorState,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
type ElementProjectExplorerDnDTypeGetter,
|
|
26
26
|
type ElementIconGetter,
|
|
27
27
|
type ElementEditorRenderer,
|
|
28
|
-
type
|
|
28
|
+
type DSL_LegendStudioApplicationPlugin_Extension,
|
|
29
29
|
type NewElementState,
|
|
30
30
|
type PureGrammarParserDocumentationGetter,
|
|
31
31
|
type PureGrammarParserKeywordSuggestionGetter,
|
|
@@ -48,15 +48,15 @@ import {
|
|
|
48
48
|
PLAIN_TEXT_SNIPPET,
|
|
49
49
|
} from './DSLText_CodeSnippets.js';
|
|
50
50
|
import { create_TextElement } from '../../helper/DSLText_Helper.js';
|
|
51
|
-
import type {
|
|
51
|
+
import type { DocumentationEntry } from '@finos/legend-application';
|
|
52
52
|
import { DSL_TEXT_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSLText_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
|
|
58
|
-
extends
|
|
59
|
-
implements
|
|
57
|
+
export class DSLText_LegendStudioApplicationPlugin
|
|
58
|
+
extends LegendStudioApplicationPlugin
|
|
59
|
+
implements DSL_LegendStudioApplicationPlugin_Extension
|
|
60
60
|
{
|
|
61
61
|
constructor() {
|
|
62
62
|
super(packageJson.extensions.studioPlugin, packageJson.version);
|
|
@@ -166,7 +166,7 @@ export class DSLText_LegendStudioPlugin
|
|
|
166
166
|
editorStore: EditorStore,
|
|
167
167
|
parserKeyword: string,
|
|
168
168
|
elementKeyword: string,
|
|
169
|
-
):
|
|
169
|
+
): DocumentationEntry | undefined => {
|
|
170
170
|
if (parserKeyword === PURE_GRAMMAR_TEXT_PARSER_NAME) {
|
|
171
171
|
if (elementKeyword === PURE_GRAMMAR_TEXT_ELEMENT_TYPE_LABEL) {
|
|
172
172
|
return editorStore.applicationStore.documentationService.getDocEntry(
|
|
@@ -184,7 +184,7 @@ export class DSLText_LegendStudioPlugin
|
|
|
184
184
|
(
|
|
185
185
|
editorStore: EditorStore,
|
|
186
186
|
parserKeyword: string,
|
|
187
|
-
):
|
|
187
|
+
): DocumentationEntry | undefined => {
|
|
188
188
|
if (parserKeyword === PURE_GRAMMAR_TEXT_PARSER_NAME) {
|
|
189
189
|
return editorStore.applicationStore.documentationService.getDocEntry(
|
|
190
190
|
DSL_TEXT_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER,
|
package/src/index.ts
CHANGED
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
export * from './DSLText_Extension.js';
|
|
18
|
-
export {
|
|
18
|
+
export { DSLText_LegendStudioApplicationPlugin } from './components/studio/DSLText_LegendStudioApplicationPlugin.js';
|
package/tsconfig.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"./src/stores/studio/DSLText_GraphModifierHelper.ts",
|
|
52
52
|
"./src/stores/studio/DSLText_LegendStudioApplicationNavigationContext.ts",
|
|
53
53
|
"./src/stores/studio/TextEditorState.ts",
|
|
54
|
-
"./src/components/studio/
|
|
54
|
+
"./src/components/studio/DSLText_LegendStudioApplicationPlugin.tsx",
|
|
55
55
|
"./src/components/studio/TextElementEditor.tsx"
|
|
56
56
|
],
|
|
57
57
|
"include": [
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DSLText_LegendStudioPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLText_LegendStudioPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,kBAAkB,EAClB,KAAK,0BAA0B,EAG/B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gCAAgC,EAErC,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EACrD,KAAK,2CAA2C,EACjD,MAAM,sBAAsB,CAAC;AAsB9B,qBAAa,0BACX,SAAQ,kBACR,YAAW,gCAAgC;;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