@finos/legend-extension-dsl-text 1.0.17 → 1.0.20
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.js +2 -2
- package/lib/components/studio/DSLText_LegendStudioPlugin.js.map +1 -1
- package/lib/components/studio/TextElementEditor.js +3 -3
- package/lib/components/studio/TextElementEditor.js.map +1 -1
- package/lib/graph/DSLText_PureGraphPlugin.js +1 -1
- package/lib/graph/DSLText_PureGraphPlugin.js.map +1 -1
- package/lib/graphManager/DSLText_GraphManagerHelper.d.ts +1 -1
- package/lib/graphManager/DSLText_GraphManagerHelper.d.ts.map +1 -1
- package/lib/graphManager/DSLText_GraphManagerHelper.js +1 -1
- package/lib/graphManager/DSLText_GraphManagerHelper.js.map +1 -1
- package/lib/graphManager/DSLText_PureGraphManagerPlugin.js +1 -1
- package/lib/graphManager/DSLText_PureGraphManagerPlugin.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/text/{Text.d.ts → DSLText_Text.d.ts} +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/text/DSLText_Text.d.ts.map +1 -0
- package/lib/models/metamodels/pure/model/packageableElements/text/{Text.js → DSLText_Text.js} +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/text/DSLText_Text.js.map +1 -0
- package/lib/models/protocols/pure/DSLText_PureProtocolProcessorPlugin.js +2 -2
- package/lib/models/protocols/pure/DSLText_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/text/{V1_Text.d.ts → V1_DSLText_Text.d.ts} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/text/V1_DSLText_Text.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/text/{V1_Text.js → V1_DSLText_Text.js} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/text/V1_DSLText_Text.js.map +1 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.d.ts +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.d.ts +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.js +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.js.map +1 -1
- package/lib/package.json +79 -0
- package/lib/stores/studio/TextEditorState.d.ts +1 -1
- package/lib/stores/studio/TextEditorState.d.ts.map +1 -1
- package/lib/stores/studio/TextEditorState.js +1 -1
- package/lib/stores/studio/TextEditorState.js.map +1 -1
- package/package.json +17 -17
- package/src/components/studio/DSLText_LegendStudioPlugin.tsx +1 -1
- package/src/components/studio/TextElementEditor.tsx +1 -1
- package/src/graph/DSLText_PureGraphPlugin.ts +1 -1
- package/src/graphManager/DSLText_GraphManagerHelper.ts +1 -1
- package/src/graphManager/DSLText_PureGraphManagerPlugin.ts +1 -1
- package/src/models/metamodels/pure/model/packageableElements/text/{Text.ts → DSLText_Text.ts} +0 -0
- package/src/models/protocols/pure/DSLText_PureProtocolProcessorPlugin.ts +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/text/{V1_Text.ts → V1_DSLText_Text.ts} +0 -0
- package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.ts +1 -1
- package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.ts +1 -1
- package/src/stores/studio/TextEditorState.ts +1 -1
- package/tsconfig.json +2 -2
- package/CHANGELOG.md +0 -79
- package/lib/models/metamodels/pure/model/packageableElements/text/Text.d.ts.map +0 -1
- package/lib/models/metamodels/pure/model/packageableElements/text/Text.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/text/V1_Text.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/text/V1_Text.js.map +0 -1
|
@@ -19,7 +19,7 @@ import { LegendStudioPlugin, } from '@finos/legend-studio';
|
|
|
19
19
|
import { FileIcon } from '@finos/legend-art';
|
|
20
20
|
import { TextEditorState } from '../../stores/studio/TextEditorState';
|
|
21
21
|
import { TextElementEditor } from './TextElementEditor';
|
|
22
|
-
import { Text } from '../../models/metamodels/pure/model/packageableElements/text/
|
|
22
|
+
import { Text } from '../../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
23
23
|
const TEXT_ELEMENT_TYPE = 'TEXT';
|
|
24
24
|
const TEXT_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_TEXT';
|
|
25
25
|
export class DSLText_LegendStudioPlugin extends LegendStudioPlugin {
|
|
@@ -43,7 +43,7 @@ export class DSLText_LegendStudioPlugin extends LegendStudioPlugin {
|
|
|
43
43
|
return [
|
|
44
44
|
(type) => {
|
|
45
45
|
if (type === TEXT_ELEMENT_TYPE) {
|
|
46
|
-
return (_jsx("div", { className: "icon icon--text-element", children: _jsx(FileIcon, {}
|
|
46
|
+
return (_jsx("div", { className: "icon icon--text-element", children: _jsx(FileIcon, {}) }));
|
|
47
47
|
}
|
|
48
48
|
return undefined;
|
|
49
49
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLText_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLText_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,kBAAkB,GAWnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DSLText_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLText_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,kBAAkB,GAWnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,IAAI,EAAE,MAAM,0EAA0E,CAAC;AAEhG,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACjC,MAAM,sCAAsC,GAAG,uBAAuB,CAAC;AAEvE,MAAM,OAAO,0BACX,SAAQ,kBAAkB;IAG1B;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,YAAY,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,6BAA6B;QAC3B,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC7B,CAAC;IAED,0BAA0B;QACxB,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,IAAI,EAAE;oBAC3B,OAAO,iBAAiB,CAAC;iBAC1B;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,0BAA0B;QACxB,OAAO;YACL,CAAC,IAAY,EAA+B,EAAE;gBAC5C,IAAI,IAAI,KAAK,iBAAiB,EAAE;oBAC9B,OAAO,CACL,cAAK,SAAS,EAAC,yBAAyB,YACtC,KAAC,QAAQ,KAAG,GACR,CACP,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,8BAA8B;QAC5B,OAAO;YACL,CAAC,kBAAsC,EAA+B,EAAE;gBACtE,IAAI,kBAAkB,YAAY,eAAe,EAAE;oBACjD,OAAO,KAAC,iBAAiB,MAAM,kBAAkB,CAAC,IAAI,CAAI,CAAC;iBAC5D;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,mCAAmC;QACjC,OAAO;YACL,CACE,IAAY,EACZ,IAAY,EACZ,KAAsB,EACU,EAAE;gBAClC,IAAI,IAAI,KAAK,iBAAiB,EAAE;oBAC9B,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;iBACvB;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,kCAAkC;QAChC,OAAO;YACL,CACE,WAAwB,EACxB,OAA2B,EACK,EAAE;gBAClC,IAAI,OAAO,YAAY,IAAI,EAAE;oBAC3B,OAAO,IAAI,eAAe,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;iBAClD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,4CAA4C;QAC1C,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,IAAI,EAAE;oBAC3B,OAAO,sCAAsC,CAAC;iBAC/C;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iCAAiC;QAC/B,OAAO,CAAC,sCAAsC,CAAC,CAAC;IAClD,CAAC;CACF"}
|
|
@@ -21,7 +21,7 @@ import { StudioTextInputEditor, useEditorStore } from '@finos/legend-studio';
|
|
|
21
21
|
import { TextEditorState } from '../../stores/studio/TextEditorState';
|
|
22
22
|
import { LockIcon, CaretDownIcon, DropdownMenu, MenuContent, MenuContentItem, } from '@finos/legend-art';
|
|
23
23
|
import { EDITOR_LANGUAGE } from '@finos/legend-application';
|
|
24
|
-
import { TEXT_TYPE } from '../../models/metamodels/pure/model/packageableElements/text/
|
|
24
|
+
import { TEXT_TYPE } from '../../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
25
25
|
const getTextElementEditorLanguage = (type) => {
|
|
26
26
|
switch (type) {
|
|
27
27
|
case TEXT_TYPE.MARKDOWN:
|
|
@@ -47,9 +47,9 @@ export const TextElementEditor = observer(() => {
|
|
|
47
47
|
typeNameRef.current?.focus();
|
|
48
48
|
}
|
|
49
49
|
}, [isReadOnly]);
|
|
50
|
-
return (_jsxs("div", { className: "panel text-element-editor", children: [_jsx("div", { className: "panel__header text-element-editor__header", children: _jsxs("div", { className: "text-element-editor__header__configs", children: [isReadOnly && (_jsx("div", { className: "text-element-editor__header__lock", children: _jsx(LockIcon, {}
|
|
50
|
+
return (_jsxs("div", { className: "panel text-element-editor", children: [_jsx("div", { className: "panel__header text-element-editor__header", children: _jsxs("div", { className: "text-element-editor__header__configs", children: [isReadOnly && (_jsx("div", { className: "text-element-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx(DropdownMenu, { disabled: isReadOnly, className: "edit-panel__element-view", content: _jsx(MenuContent, { children: Object.values(TEXT_TYPE).map((mode) => (_jsx(MenuContentItem, { className: "text-element-editor__header__configs__option", onClick: changeType(mode), children: prettyCONSTName(mode) }, mode))) }), menuProps: {
|
|
51
51
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
|
52
52
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
|
53
|
-
}, 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) }
|
|
53
|
+
}, 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, {}) })] }) })] }) }), _jsx("div", { className: "panel__content text-element-editor__editor", children: _jsx(StudioTextInputEditor, { language: getTextElementEditorLanguage(textElement.type), inputValue: textElement.content, updateInput: changeContent }) })] }));
|
|
54
54
|
});
|
|
55
55
|
//# sourceMappingURL=TextElementEditor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextElementEditor.js","sourceRoot":"","sources":["../../../src/components/studio/TextElementEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,eAAe,EACf,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EACL,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,WAAW,EACX,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TextElementEditor.js","sourceRoot":"","sources":["../../../src/components/studio/TextElementEditor.tsx"],"names":[],"mappings":"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"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import packageJson from '../../package.json';
|
|
17
|
-
import { Text } from '../models/metamodels/pure/model/packageableElements/text/
|
|
17
|
+
import { Text } from '../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
18
18
|
import { PureGraphPlugin } from '@finos/legend-graph';
|
|
19
19
|
export class DSLText_PureGraphPlugin extends PureGraphPlugin {
|
|
20
20
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLText_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSLText_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"DSLText_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSLText_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,uEAAuE,CAAC;AAE7F,OAAO,EAA2B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE/E,MAAM,OAAO,uBAAwB,SAAQ,eAAe;IAC1D;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"}
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { PureModel } from '@finos/legend-graph';
|
|
17
|
-
import { Text } from '../models/metamodels/pure/model/packageableElements/text/
|
|
17
|
+
import { Text } from '../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
18
18
|
export declare const getText: (path: string, graph: PureModel) => Text;
|
|
19
19
|
//# sourceMappingURL=DSLText_GraphManagerHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLText_GraphManagerHelper.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLText_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"DSLText_GraphManagerHelper.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLText_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,uEAAuE,CAAC;AAE7F,eAAO,MAAM,OAAO,SAAU,MAAM,SAAS,SAAS,KAAG,IACmB,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 { Text } from '../models/metamodels/pure/model/packageableElements/text/
|
|
16
|
+
import { Text } from '../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
17
17
|
export const getText = (path, graph) => graph.getExtensionElement(path, Text, `Can't find text element '${path}'`);
|
|
18
18
|
//# sourceMappingURL=DSLText_GraphManagerHelper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLText_GraphManagerHelper.js","sourceRoot":"","sources":["../../src/graphManager/DSLText_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,IAAI,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"DSLText_GraphManagerHelper.js","sourceRoot":"","sources":["../../src/graphManager/DSLText_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,IAAI,EAAE,MAAM,uEAAuE,CAAC;AAE7F,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"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import packageJson from '../../package.json';
|
|
17
|
-
import { Text } from '../models/metamodels/pure/model/packageableElements/text/
|
|
17
|
+
import { Text } from '../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
18
18
|
import { PureGraphManagerPlugin, } from '@finos/legend-graph';
|
|
19
19
|
const PURE_GRAMMAR_TEXT_PARSER_NAME = 'Text';
|
|
20
20
|
const PURE_GRAMMAR_TEXT_ELEMENT_TYPE_LABEL = 'Text';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLText_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graphManager/DSLText_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"DSLText_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graphManager/DSLText_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,uEAAuE,CAAC;AAC7F,OAAO,EACL,sBAAsB,GAGvB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,6BAA6B,GAAG,MAAM,CAAC;AAC7C,MAAM,oCAAoC,GAAG,MAAM,CAAC;AAEpD,MAAM,OAAO,8BAA+B,SAAQ,sBAAsB;IACxE;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;CACF"}
|
package/lib/index.css
CHANGED
package/lib/models/metamodels/pure/model/packageableElements/text/{Text.d.ts → DSLText_Text.d.ts}
RENAMED
|
@@ -28,4 +28,4 @@ export declare class Text extends PackageableElement implements Hashable {
|
|
|
28
28
|
protected get _elementHashCode(): string;
|
|
29
29
|
accept_PackageableElementVisitor<T>(visitor: PackageableElementVisitor<T>): T;
|
|
30
30
|
}
|
|
31
|
-
//# sourceMappingURL=
|
|
31
|
+
//# sourceMappingURL=DSLText_Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLText_Text.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/text/DSLText_Text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EACL,KAAK,yBAAyB,EAC9B,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAE7B,oBAAY,SAAS;IACnB,UAAU,cAAc;IACxB,QAAQ,aAAa;CACtB;AAED,qBAAa,IAAK,SAAQ,kBAAmB,YAAW,QAAQ;IAC9D,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;gBAEJ,IAAI,EAAE,MAAM;IAexB,OAAO,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI;IAG9B,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAIjC,cAAuB,gBAAgB,IAAI,MAAM,CAOhD;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,GACpC,CAAC;CAGL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLText_Text.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/text/DSLText_Text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAEL,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,qCAAwB,CAAA;IACxB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAED,MAAM,OAAO,IAAK,SAAQ,kBAAkB;IAC1C,IAAI,CAAY;IAChB,OAAO,CAAS;IAEhB,YAAY,IAAY;QACtB,KAAK,CAAC,IAAI,CAAC,CAAC;QAEZ,cAAc,CAA2B,IAAI,EAAE;YAC7C,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,UAAU;YACnB,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,MAAM;YAClB,gBAAgB,EAAE,QAAQ;SAC3B,CAAC,CAAC;QAEH,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC,UAAU,CAAC;QACjC,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;IACpB,CAAC;IAED,OAAO,CAAC,IAAe;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IACD,UAAU,CAAC,OAAe;QACxB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,IAAuB,gBAAgB;QACrC,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,IAAI;YACxB,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -14,12 +14,12 @@
|
|
|
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_DSLText_Text';
|
|
18
18
|
import { guaranteeNonNullable, assertType, } from '@finos/legend-shared';
|
|
19
19
|
import { deserialize, serialize } from 'serializr';
|
|
20
20
|
import { V1_textModelSchema, V1_TEXT_ELEMENT_PROTOCOL_TYPE, } from './v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper';
|
|
21
21
|
import { getText } from '../../../graphManager/DSLText_GraphManagerHelper';
|
|
22
|
-
import { Text, TEXT_TYPE, } from '../../metamodels/pure/model/packageableElements/text/
|
|
22
|
+
import { Text, TEXT_TYPE, } from '../../metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
23
23
|
import { PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, } from '@finos/legend-graph';
|
|
24
24
|
const TEXT_ELEMENT_CLASSIFIER_PATH = 'meta::pure::metamodel::text::Text';
|
|
25
25
|
export class DSLText_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLText_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLText_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DSLText_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLText_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"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"}
|
|
@@ -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_DSLText_Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLText_Text.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/text/V1_DSLText_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,EAAG,MAAM,CAAC;IACd,OAAO,EAAG,MAAM,CAAC;IAEjB,IAAa,QAAQ,IAAI,MAAM,CAO9B;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,GACvC,CAAC;CAGL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLText_Text.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/text/V1_DSLText_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,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAO,OAAQ,SAAQ,qBAAqB;IAChD,IAAI,CAAU;IACd,OAAO,CAAU;IAEjB,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,IAAI;YACxB,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAwC;QAExC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.d.ts
CHANGED
|
@@ -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 '../../../../../metamodels/pure/model/packageableElements/text/
|
|
16
|
+
import type { Text } from '../../../../../metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
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
19
|
//# sourceMappingURL=V1_DSLText_GraphBuilderHelper.d.ts.map
|
package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DSLText_GraphBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"V1_DSLText_GraphBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4EAA4E,CAAC;AACvG,OAAO,KAAK,EACV,mCAAmC,EACnC,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,cAAc,SACnB,MAAM,WACH,sBAAsB,KAC9B,oCAAoC,IAAI,CAGxC,CAAC"}
|
package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.d.ts
CHANGED
|
@@ -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_DSLText_Text';
|
|
17
17
|
export declare const V1_TEXT_ELEMENT_PROTOCOL_TYPE = "text";
|
|
18
18
|
export declare const V1_textModelSchema: import("serializr").ModelSchema<V1_Text>;
|
|
19
19
|
//# sourceMappingURL=V1_DSLText_ProtocolHelper.d.ts.map
|
package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DSLText_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"V1_DSLText_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAE/E,eAAO,MAAM,6BAA6B,SAAS,CAAC;AAEpD,eAAO,MAAM,kBAAkB,0CAM7B,CAAC"}
|
package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.js
CHANGED
|
@@ -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/
|
|
18
|
+
import { V1_Text } from '../../model/packageableElements/text/V1_DSLText_Text';
|
|
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),
|
package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DSLText_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_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,
|
|
1
|
+
{"version":3,"file":"V1_DSLText_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_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,sDAAsD,CAAC;AAE/E,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/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@finos/legend-extension-dsl-text",
|
|
3
|
+
"version": "1.0.20",
|
|
4
|
+
"description": "Legend extension for Text DSL",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"legend",
|
|
7
|
+
"legend-extension",
|
|
8
|
+
"dsl",
|
|
9
|
+
"dsl-text"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/finos/legend-studio/tree/master/packages/legend-extension-dsl-text",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/finos/legend-studio/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/finos/legend-studio.git",
|
|
18
|
+
"directory": "packages/legend-extension-dsl-text"
|
|
19
|
+
},
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"type": "module",
|
|
23
|
+
"main": "lib/index.js",
|
|
24
|
+
"module": "lib/index.js",
|
|
25
|
+
"types": "lib/index.d.ts",
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "yarn clean && yarn build:sass && yarn build:ts",
|
|
28
|
+
"build:sass": "cross-env INIT_CWD=$INIT_CWD node ../../scripts/workflow/buildSass.js",
|
|
29
|
+
"build:ts": "tsc --project ./tsconfig.build.json",
|
|
30
|
+
"clean": "npm-run-all clean:cache clean:lib",
|
|
31
|
+
"clean:cache": "rimraf \"build\"",
|
|
32
|
+
"clean:lib": "rimraf \"lib\"",
|
|
33
|
+
"dev": "npm-run-all --parallel dev:sass dev:ts",
|
|
34
|
+
"dev:sass": "sass style lib --watch --load-path=../../node_modules/@finos/legend-art/scss",
|
|
35
|
+
"dev:ts": "tsc --watch --preserveWatchOutput",
|
|
36
|
+
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location ./build/.eslintcache --report-unused-disable-directives --parser-options=project:\"./tsconfig.json\" \"./src/**/*.{js,ts,tsx}\"",
|
|
37
|
+
"publish:prepare": "node ../../scripts/release/preparePublishContent.js",
|
|
38
|
+
"publish:snapshot": "node ../../scripts/release/publishDevSnapshot.js",
|
|
39
|
+
"test": "jest",
|
|
40
|
+
"test:watch": "jest --watch"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@finos/legend-application": "workspace:*",
|
|
44
|
+
"@finos/legend-art": "workspace:*",
|
|
45
|
+
"@finos/legend-graph": "workspace:*",
|
|
46
|
+
"@finos/legend-model-storage": "workspace:*",
|
|
47
|
+
"@finos/legend-shared": "workspace:*",
|
|
48
|
+
"@finos/legend-studio": "workspace:*",
|
|
49
|
+
"@types/react": "17.0.41",
|
|
50
|
+
"mobx": "6.5.0",
|
|
51
|
+
"mobx-react-lite": "3.3.0",
|
|
52
|
+
"monaco-editor": "0.33.0",
|
|
53
|
+
"react": "17.0.2",
|
|
54
|
+
"serializr": "2.0.5"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@finos/legend-dev-utils": "workspace:*",
|
|
58
|
+
"cross-env": "7.0.3",
|
|
59
|
+
"eslint": "8.11.0",
|
|
60
|
+
"jest": "27.5.1",
|
|
61
|
+
"npm-run-all": "4.1.5",
|
|
62
|
+
"rimraf": "3.0.2",
|
|
63
|
+
"sass": "1.49.9",
|
|
64
|
+
"typescript": "4.6.2"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"react": "^17.0.0"
|
|
68
|
+
},
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"directory": "build/publishContent"
|
|
71
|
+
},
|
|
72
|
+
"extensions": {
|
|
73
|
+
"graphPreset": "@finos/legend-graph-preset-dsl-text",
|
|
74
|
+
"pureProtocolProcessorPlugin": "@finos/legend-graph-plugin-dsl-text-pure-protocol-processor",
|
|
75
|
+
"pureGraphManagerPlugin": "@finos/legend-graph-plugin-dsl-text-pure-graph-manager",
|
|
76
|
+
"pureGraphPlugin": "@finos/legend-graph-plugin-dsl-text-pure-graph",
|
|
77
|
+
"studioPlugin": "@finos/legend-studio-plugin-dsl-text"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { type EditorStore, ElementEditorState } from '@finos/legend-studio';
|
|
17
17
|
import type { PackageableElement } from '@finos/legend-graph';
|
|
18
|
-
import { Text } from '../../models/metamodels/pure/model/packageableElements/text/
|
|
18
|
+
import { Text } from '../../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
19
19
|
export declare class TextEditorState extends ElementEditorState {
|
|
20
20
|
constructor(editorStore: EditorStore, element: PackageableElement);
|
|
21
21
|
get textElement(): Text;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextEditorState.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/TextEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,KAAK,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TextEditorState.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/TextEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,KAAK,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,0EAA0E,CAAC;AAEhG,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-studio';
|
|
19
|
-
import { Text } from '../../models/metamodels/pure/model/packageableElements/text/
|
|
19
|
+
import { Text } from '../../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
20
20
|
export class TextEditorState extends ElementEditorState {
|
|
21
21
|
constructor(editorStore, element) {
|
|
22
22
|
super(editorStore, element);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextEditorState.js","sourceRoot":"","sources":["../../../src/stores/studio/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,EAAoB,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE5E,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TextEditorState.js","sourceRoot":"","sources":["../../../src/stores/studio/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,EAAoB,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE5E,OAAO,EAAE,IAAI,EAAE,MAAM,0EAA0E,CAAC;AAEhG,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": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "Legend extension for Text DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"module": "lib/index.js",
|
|
25
25
|
"types": "lib/index.d.ts",
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "yarn clean && yarn build:sass && yarn build:
|
|
27
|
+
"build": "yarn clean && yarn build:sass && yarn build:ts",
|
|
28
28
|
"build:sass": "cross-env INIT_CWD=$INIT_CWD node ../../scripts/workflow/buildSass.js",
|
|
29
|
-
"build:
|
|
29
|
+
"build:ts": "tsc --project ./tsconfig.build.json",
|
|
30
30
|
"clean": "npm-run-all clean:cache clean:lib",
|
|
31
31
|
"clean:cache": "rimraf \"build\"",
|
|
32
32
|
"clean:lib": "rimraf \"lib\"",
|
|
33
|
-
"dev": "npm-run-all --parallel dev:sass dev:
|
|
33
|
+
"dev": "npm-run-all --parallel dev:sass dev:ts",
|
|
34
34
|
"dev:sass": "sass style lib --watch --load-path=../../node_modules/@finos/legend-art/scss",
|
|
35
|
-
"dev:
|
|
35
|
+
"dev:ts": "tsc --watch --preserveWatchOutput",
|
|
36
36
|
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location ./build/.eslintcache --report-unused-disable-directives --parser-options=project:\"./tsconfig.json\" \"./src/**/*.{js,ts,tsx}\"",
|
|
37
37
|
"publish:prepare": "node ../../scripts/release/preparePublishContent.js",
|
|
38
38
|
"publish:snapshot": "node ../../scripts/release/publishDevSnapshot.js",
|
|
@@ -40,28 +40,28 @@
|
|
|
40
40
|
"test:watch": "jest --watch"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@finos/legend-application": "1.
|
|
44
|
-
"@finos/legend-art": "0.3.
|
|
45
|
-
"@finos/legend-graph": "1.
|
|
46
|
-
"@finos/legend-model-storage": "0.0.
|
|
47
|
-
"@finos/legend-shared": "1.2.
|
|
48
|
-
"@finos/legend-studio": "
|
|
49
|
-
"@types/react": "17.0.
|
|
50
|
-
"mobx": "6.
|
|
43
|
+
"@finos/legend-application": "1.2.2",
|
|
44
|
+
"@finos/legend-art": "0.3.9",
|
|
45
|
+
"@finos/legend-graph": "1.3.0",
|
|
46
|
+
"@finos/legend-model-storage": "0.0.22",
|
|
47
|
+
"@finos/legend-shared": "1.2.4",
|
|
48
|
+
"@finos/legend-studio": "3.1.0",
|
|
49
|
+
"@types/react": "17.0.41",
|
|
50
|
+
"mobx": "6.5.0",
|
|
51
51
|
"mobx-react-lite": "3.3.0",
|
|
52
|
-
"monaco-editor": "0.
|
|
52
|
+
"monaco-editor": "0.33.0",
|
|
53
53
|
"react": "17.0.2",
|
|
54
54
|
"serializr": "2.0.5"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@finos/legend-dev-utils": "0.3.
|
|
57
|
+
"@finos/legend-dev-utils": "0.3.13",
|
|
58
58
|
"cross-env": "7.0.3",
|
|
59
|
-
"eslint": "8.
|
|
59
|
+
"eslint": "8.11.0",
|
|
60
60
|
"jest": "27.5.1",
|
|
61
61
|
"npm-run-all": "4.1.5",
|
|
62
62
|
"rimraf": "3.0.2",
|
|
63
63
|
"sass": "1.49.9",
|
|
64
|
-
"typescript": "4.
|
|
64
|
+
"typescript": "4.6.2"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"react": "^17.0.0"
|
|
@@ -32,7 +32,7 @@ import { FileIcon } from '@finos/legend-art';
|
|
|
32
32
|
import { TextEditorState } from '../../stores/studio/TextEditorState';
|
|
33
33
|
import { TextElementEditor } from './TextElementEditor';
|
|
34
34
|
import type { PackageableElement } from '@finos/legend-graph';
|
|
35
|
-
import { Text } from '../../models/metamodels/pure/model/packageableElements/text/
|
|
35
|
+
import { Text } from '../../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
36
36
|
|
|
37
37
|
const TEXT_ELEMENT_TYPE = 'TEXT';
|
|
38
38
|
const TEXT_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_TEXT';
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
MenuContentItem,
|
|
31
31
|
} from '@finos/legend-art';
|
|
32
32
|
import { EDITOR_LANGUAGE } from '@finos/legend-application';
|
|
33
|
-
import { TEXT_TYPE } from '../../models/metamodels/pure/model/packageableElements/text/
|
|
33
|
+
import { TEXT_TYPE } from '../../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
34
34
|
|
|
35
35
|
const getTextElementEditorLanguage = (type: TEXT_TYPE): EDITOR_LANGUAGE => {
|
|
36
36
|
switch (type) {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../package.json';
|
|
18
|
-
import { Text } from '../models/metamodels/pure/model/packageableElements/text/
|
|
18
|
+
import { Text } from '../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
19
19
|
import type { Clazz } from '@finos/legend-shared';
|
|
20
20
|
import { type PackageableElement, PureGraphPlugin } from '@finos/legend-graph';
|
|
21
21
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import type { PureModel } from '@finos/legend-graph';
|
|
18
|
-
import { Text } from '../models/metamodels/pure/model/packageableElements/text/
|
|
18
|
+
import { Text } from '../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
19
19
|
|
|
20
20
|
export const getText = (path: string, graph: PureModel): Text =>
|
|
21
21
|
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 '../models/metamodels/pure/model/packageableElements/text/
|
|
18
|
+
import { Text } from '../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
19
19
|
import {
|
|
20
20
|
PureGraphManagerPlugin,
|
|
21
21
|
type PackageableElement,
|
package/src/models/metamodels/pure/model/packageableElements/text/{Text.ts → DSLText_Text.ts}
RENAMED
|
File without changes
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../../../package.json';
|
|
18
|
-
import { V1_Text } from './v1/model/packageableElements/text/
|
|
18
|
+
import { V1_Text } from './v1/model/packageableElements/text/V1_DSLText_Text';
|
|
19
19
|
import {
|
|
20
20
|
type PlainObject,
|
|
21
21
|
guaranteeNonNullable,
|
|
@@ -30,7 +30,7 @@ import { getText } from '../../../graphManager/DSLText_GraphManagerHelper';
|
|
|
30
30
|
import {
|
|
31
31
|
Text,
|
|
32
32
|
TEXT_TYPE,
|
|
33
|
-
} from '../../metamodels/pure/model/packageableElements/text/
|
|
33
|
+
} from '../../metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
34
34
|
import {
|
|
35
35
|
type PackageableElement,
|
|
36
36
|
type V1_ElementProtocolClassifierPathGetter,
|
|
File without changes
|
package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.ts
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { getText } from '../../../../../../graphManager/DSLText_GraphManagerHelper';
|
|
18
|
-
import type { Text } from '../../../../../metamodels/pure/model/packageableElements/text/
|
|
18
|
+
import type { Text } from '../../../../../metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
19
19
|
import type {
|
|
20
20
|
PackageableElementImplicitReference,
|
|
21
21
|
V1_GraphBuilderContext,
|
package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.ts
CHANGED
|
@@ -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/
|
|
19
|
+
import { V1_Text } from '../../model/packageableElements/text/V1_DSLText_Text';
|
|
20
20
|
|
|
21
21
|
export const V1_TEXT_ELEMENT_PROTOCOL_TYPE = 'text';
|
|
22
22
|
|
|
@@ -18,7 +18,7 @@ import { computed, action, makeObservable } from 'mobx';
|
|
|
18
18
|
import { guaranteeType } from '@finos/legend-shared';
|
|
19
19
|
import { type EditorStore, ElementEditorState } from '@finos/legend-studio';
|
|
20
20
|
import type { PackageableElement } from '@finos/legend-graph';
|
|
21
|
-
import { Text } from '../../models/metamodels/pure/model/packageableElements/text/
|
|
21
|
+
import { Text } from '../../models/metamodels/pure/model/packageableElements/text/DSLText_Text';
|
|
22
22
|
|
|
23
23
|
export class TextEditorState extends ElementEditorState {
|
|
24
24
|
constructor(editorStore: EditorStore, element: PackageableElement) {
|
package/tsconfig.json
CHANGED
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"./src/graphManager/DSLText_GraphManagerHelper.ts",
|
|
43
43
|
"./src/graphManager/DSLText_PureGraphManagerPlugin.ts",
|
|
44
44
|
"./src/models/DSLText_ModelUtils.ts",
|
|
45
|
-
"./src/models/metamodels/pure/model/packageableElements/text/
|
|
45
|
+
"./src/models/metamodels/pure/model/packageableElements/text/DSLText_Text.ts",
|
|
46
46
|
"./src/models/protocols/pure/DSLText_PureProtocolProcessorPlugin.ts",
|
|
47
|
-
"./src/models/protocols/pure/v1/model/packageableElements/text/
|
|
47
|
+
"./src/models/protocols/pure/v1/model/packageableElements/text/V1_DSLText_Text.ts",
|
|
48
48
|
"./src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLText_GraphBuilderHelper.ts",
|
|
49
49
|
"./src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLText_ProtocolHelper.ts",
|
|
50
50
|
"./src/stores/studio/TextEditorState.ts",
|
package/CHANGELOG.md
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
# @finos/legend-extension-dsl-text
|
|
2
|
-
|
|
3
|
-
## 1.0.17
|
|
4
|
-
|
|
5
|
-
## 1.0.16
|
|
6
|
-
|
|
7
|
-
## 1.0.15
|
|
8
|
-
|
|
9
|
-
## 1.0.14
|
|
10
|
-
|
|
11
|
-
## 1.0.13
|
|
12
|
-
|
|
13
|
-
## 1.0.12
|
|
14
|
-
|
|
15
|
-
## 1.0.11
|
|
16
|
-
|
|
17
|
-
## 1.0.10
|
|
18
|
-
|
|
19
|
-
## 1.0.9
|
|
20
|
-
|
|
21
|
-
## 1.0.8
|
|
22
|
-
|
|
23
|
-
## 1.0.7
|
|
24
|
-
|
|
25
|
-
## 1.0.6
|
|
26
|
-
|
|
27
|
-
## 1.0.5
|
|
28
|
-
|
|
29
|
-
## 1.0.4
|
|
30
|
-
|
|
31
|
-
## 1.0.3
|
|
32
|
-
|
|
33
|
-
## 1.0.2
|
|
34
|
-
|
|
35
|
-
## 1.0.1
|
|
36
|
-
|
|
37
|
-
## 1.0.0
|
|
38
|
-
|
|
39
|
-
### Major Changes
|
|
40
|
-
|
|
41
|
-
- [#692](https://github.com/finos/legend-studio/pull/692) [`caab0e67`](https://github.com/finos/legend-studio/commit/caab0e6772181e514b246fe6030a02e7169952cc) ([@akphi](https://github.com/akphi)) - **BREAKING CHANGE:** Remove `LegendStudioPreset` and `LegendQueryPreset` and expose `LegendStudioPlugin` and `LegendQueryPlugin` respectively as we now prefer the usage of `@finos/legend-graph-extension-collection` to better manage graph presets.
|
|
42
|
-
|
|
43
|
-
## 0.0.17
|
|
44
|
-
|
|
45
|
-
## 0.0.16
|
|
46
|
-
|
|
47
|
-
## 0.0.15
|
|
48
|
-
|
|
49
|
-
## 0.0.14
|
|
50
|
-
|
|
51
|
-
## 0.0.13
|
|
52
|
-
|
|
53
|
-
## 0.0.12
|
|
54
|
-
|
|
55
|
-
## 0.0.11
|
|
56
|
-
|
|
57
|
-
## 0.0.10
|
|
58
|
-
|
|
59
|
-
## 0.0.9
|
|
60
|
-
|
|
61
|
-
## 0.0.8
|
|
62
|
-
|
|
63
|
-
## 0.0.7
|
|
64
|
-
|
|
65
|
-
## 0.0.6
|
|
66
|
-
|
|
67
|
-
## 0.0.5
|
|
68
|
-
|
|
69
|
-
## 0.0.4
|
|
70
|
-
|
|
71
|
-
## 0.0.3
|
|
72
|
-
|
|
73
|
-
## 0.0.2
|
|
74
|
-
|
|
75
|
-
## 0.0.1
|
|
76
|
-
|
|
77
|
-
### Patch Changes
|
|
78
|
-
|
|
79
|
-
- [#436](https://github.com/finos/legend-studio/pull/436) [`356eda33`](https://github.com/finos/legend-studio/commit/356eda33c4efd9345ea48ae2e81dda4ad0029a09) ([@akphi](https://github.com/akphi)) - Merge `@finos/legend-graph-preset-dsl-text` and `@finos/legend-studio-preset-dsl-text` to become `@finos/legend-extension-dsl-text`.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/text/Text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EACL,KAAK,yBAAyB,EAC9B,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAE7B,oBAAY,SAAS;IACnB,UAAU,cAAc;IACxB,QAAQ,aAAa;CACtB;AAED,qBAAa,IAAK,SAAQ,kBAAmB,YAAW,QAAQ;IAC9D,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;gBAEJ,IAAI,EAAE,MAAM;IAexB,OAAO,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI;IAG9B,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAIjC,cAAuB,gBAAgB,IAAI,MAAM,CAOhD;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,GACpC,CAAC;CAGL"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/model/packageableElements/text/Text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAEL,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,qCAAwB,CAAA;IACxB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAED,MAAM,OAAO,IAAK,SAAQ,kBAAkB;IAC1C,IAAI,CAAY;IAChB,OAAO,CAAS;IAEhB,YAAY,IAAY;QACtB,KAAK,CAAC,IAAI,CAAC,CAAC;QAEZ,cAAc,CAA2B,IAAI,EAAE;YAC7C,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,UAAU;YACnB,OAAO,EAAE,MAAM;YACf,UAAU,EAAE,MAAM;YAClB,gBAAgB,EAAE,QAAQ;SAC3B,CAAC,CAAC;QAEH,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC,UAAU,CAAC;QACjC,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;IACpB,CAAC;IAED,OAAO,CAAC,IAAe;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IACD,UAAU,CAAC,OAAe;QACxB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,IAAuB,gBAAgB;QACrC,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,IAAI;YACxB,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"V1_Text.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/text/V1_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,EAAG,MAAM,CAAC;IACd,OAAO,EAAG,MAAM,CAAC;IAEjB,IAAa,QAAQ,IAAI,MAAM,CAO9B;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,GACvC,CAAC;CAGL"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"V1_Text.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/text/V1_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,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAO,OAAQ,SAAQ,qBAAqB;IAChD,IAAI,CAAU;IACd,OAAO,CAAU;IAEjB,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,mBAAmB,CAAC,IAAI;YACxB,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAwC;QAExC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|