@finos/legend-application-studio 27.1.0 → 27.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/__lib__/LegendStudioEvent.d.ts +1 -0
- package/lib/__lib__/LegendStudioEvent.d.ts.map +1 -1
- package/lib/__lib__/LegendStudioEvent.js +1 -0
- package/lib/__lib__/LegendStudioEvent.js.map +1 -1
- package/lib/components/editor/editor-group/FunctionEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/FunctionEditor.js +28 -24
- package/lib/components/editor/editor-group/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/{DatabaseBuilder.d.ts → DatabaseBuilderWizard.d.ts} +4 -11
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts.map +1 -0
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +48 -0
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -0
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts +32 -0
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts.map +1 -0
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js +99 -0
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js.map +1 -0
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +5 -4
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +62 -12
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +101 -137
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts +11 -0
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +27 -2
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts +0 -7
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +20 -77
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +3 -3
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +6 -1
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/editor/ExplorerTreeState.d.ts +4 -4
- package/lib/stores/editor/ExplorerTreeState.d.ts.map +1 -1
- package/lib/stores/editor/ExplorerTreeState.js +4 -4
- package/lib/stores/editor/ExplorerTreeState.js.map +1 -1
- package/lib/stores/editor/NewElementState.d.ts.map +1 -1
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts +12 -12
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js +45 -46
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts +20 -29
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +60 -141
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderWizardState.d.ts +33 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderWizardState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderWizardState.js +71 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderWizardState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.d.ts +2 -2
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.js +2 -2
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.d.ts +14 -19
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js +30 -65
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts +56 -78
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js +285 -384
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestingHelper.d.ts +23 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestingHelper.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestingHelper.js +129 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestingHelper.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js +2 -2
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +12 -2
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js +15 -8
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.d.ts +7 -4
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js +53 -10
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts +2 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +20 -16
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
- package/lib/stores/editor/panel-group/SQLPlaygroundPanelState.d.ts +3 -48
- package/lib/stores/editor/panel-group/SQLPlaygroundPanelState.d.ts.map +1 -1
- package/lib/stores/editor/panel-group/SQLPlaygroundPanelState.js +12 -350
- package/lib/stores/editor/panel-group/SQLPlaygroundPanelState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts +5 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.js +26 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts +1 -1
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -1
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js +3 -0
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
- package/lib/stores/editor/utils/MockDataUtils.d.ts.map +1 -1
- package/lib/stores/editor/utils/MockDataUtils.js +3 -0
- package/lib/stores/editor/utils/MockDataUtils.js.map +1 -1
- package/lib/stores/editor/utils/TestableUtils.d.ts +11 -1
- package/lib/stores/editor/utils/TestableUtils.d.ts.map +1 -1
- package/lib/stores/editor/utils/TestableUtils.js +50 -1
- package/lib/stores/editor/utils/TestableUtils.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.d.ts +5 -4
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js +4 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -1
- package/package.json +9 -9
- package/src/__lib__/LegendStudioEvent.ts +1 -1
- package/src/components/editor/editor-group/FunctionEditor.tsx +133 -118
- package/src/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.tsx +191 -0
- package/src/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.tsx +227 -0
- package/src/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.tsx +1 -1
- package/src/components/editor/editor-group/data-editor/EmbeddedDataEditor.tsx +34 -37
- package/src/components/editor/editor-group/data-editor/RelationalCSVDataEditor.tsx +134 -31
- package/src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx +296 -414
- package/src/components/editor/editor-group/testable/TestableSharedComponents.tsx +88 -3
- package/src/components/editor/panel-group/SQLPlaygroundPanel.tsx +47 -211
- package/src/components/editor/side-bar/Explorer.tsx +3 -3
- package/src/components/editor/side-bar/WorkflowManager.tsx +10 -0
- package/src/stores/editor/ExplorerTreeState.ts +6 -9
- package/src/stores/editor/NewElementState.ts +0 -1
- package/src/stores/editor/editor-state/element-editor-state/FunctionEditorState.ts +44 -50
- package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +88 -212
- package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderWizardState.ts +102 -0
- package/src/stores/editor/editor-state/element-editor-state/data/DataEditorState.ts +7 -1
- package/src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts +48 -77
- package/src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts +407 -617
- package/src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestingHelper.ts +243 -0
- package/src/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.ts +6 -2
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +18 -1
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +20 -12
- package/src/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.ts +76 -18
- package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +29 -24
- package/src/stores/editor/panel-group/SQLPlaygroundPanelState.ts +13 -533
- package/src/stores/editor/sidebar-state/WorkflowManagerState.ts +47 -0
- package/src/stores/editor/sidebar-state/testable/GlobalTestRunnerState.ts +4 -1
- package/src/stores/editor/utils/MockDataUtils.ts +2 -0
- package/src/stores/editor/utils/TestableUtils.ts +73 -0
- package/src/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.ts +15 -12
- package/tsconfig.json +4 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilder.d.ts.map +0 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilder.js +0 -133
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilder.js.map +0 -1
- package/src/components/editor/editor-group/connection-editor/DatabaseBuilder.tsx +0 -397
|
@@ -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 EmbeddedData, type ModelData, type DataElement,
|
|
16
|
+
import { type EmbeddedData, type ModelData, type DataElement, RelationalCSVData, type Database, type RelationalCSVDataTable, DataElementReference, ExternalFormatData, ModelStoreData, ModelEmbeddedData } from '@finos/legend-graph';
|
|
17
17
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
18
18
|
export declare const createEmbeddedData: (type: string, editorStore: EditorStore) => EmbeddedData;
|
|
19
19
|
export declare abstract class EmbeddedDataState {
|
|
@@ -47,7 +47,8 @@ export declare class UnsupportedModelDataState extends ModelDataState {
|
|
|
47
47
|
export declare class ModelStoreDataState extends EmbeddedDataState {
|
|
48
48
|
embeddedData: ModelStoreData;
|
|
49
49
|
modelDataStates: ModelDataState[];
|
|
50
|
-
|
|
50
|
+
hideClass: boolean;
|
|
51
|
+
constructor(editorStore: EditorStore, embeddedData: ModelStoreData, hideClass?: boolean);
|
|
51
52
|
label(): string;
|
|
52
53
|
buildStates(): ModelDataState[];
|
|
53
54
|
}
|
|
@@ -57,26 +58,16 @@ export declare class RelationalCSVDataTableState {
|
|
|
57
58
|
constructor(table: RelationalCSVDataTable, editorStore: EditorStore);
|
|
58
59
|
updateTableValues(val: string): void;
|
|
59
60
|
}
|
|
60
|
-
export declare class IdentifierTableState {
|
|
61
|
-
table: RelationalCSVDataTable | undefined;
|
|
62
|
-
dataState: RelationalCSVDataState;
|
|
63
|
-
schemaName: string;
|
|
64
|
-
tableName: string;
|
|
65
|
-
constructor(dataState: RelationalCSVDataState);
|
|
66
|
-
setTable(table: RelationalCSVDataTable | undefined): void;
|
|
67
|
-
setTableName(val: string): void;
|
|
68
|
-
setSchemaName(val: string): void;
|
|
69
|
-
get isEditingDisabled(): boolean;
|
|
70
|
-
handleSubmit(): void;
|
|
71
|
-
}
|
|
72
61
|
export declare class RelationalCSVDataState extends EmbeddedDataState {
|
|
73
62
|
embeddedData: RelationalCSVData;
|
|
74
|
-
showTableIdentifierModal: boolean;
|
|
75
|
-
tableIdentifierState: IdentifierTableState;
|
|
76
63
|
selectedTable: RelationalCSVDataTableState | undefined;
|
|
77
64
|
showImportCSVModal: boolean;
|
|
65
|
+
database: Database | undefined;
|
|
66
|
+
showTableIdentifierModal: boolean;
|
|
67
|
+
tableToEdit: RelationalCSVDataTable | undefined;
|
|
78
68
|
constructor(editorStore: EditorStore, embeddedData: RelationalCSVData);
|
|
79
69
|
setShowImportCsvModal(val: boolean): void;
|
|
70
|
+
setDatabase(val: Database | undefined): void;
|
|
80
71
|
openIdentifierModal(renameTable?: RelationalCSVDataTable | undefined): void;
|
|
81
72
|
closeCSVModal(): void;
|
|
82
73
|
closeModal(): void;
|
|
@@ -86,16 +77,20 @@ export declare class RelationalCSVDataState extends EmbeddedDataState {
|
|
|
86
77
|
changeSelectedTable(val: RelationalCSVDataTable): void;
|
|
87
78
|
label(): string;
|
|
88
79
|
}
|
|
80
|
+
export interface EmbeddedDataStateOption {
|
|
81
|
+
hideSource?: boolean;
|
|
82
|
+
}
|
|
89
83
|
export declare class DataElementReferenceState extends EmbeddedDataState {
|
|
90
84
|
embeddedData: DataElementReference;
|
|
91
85
|
embeddedDataValueState: EmbeddedDataState;
|
|
92
|
-
|
|
86
|
+
options?: EmbeddedDataStateOption | undefined;
|
|
87
|
+
constructor(editorStore: EditorStore, embeddedData: DataElementReference, options?: EmbeddedDataStateOption);
|
|
93
88
|
label(): string;
|
|
94
89
|
setDataElement(dataElement: DataElement): void;
|
|
95
|
-
buildValueState(): EmbeddedDataState;
|
|
90
|
+
buildValueState(options?: EmbeddedDataStateOption): EmbeddedDataState;
|
|
96
91
|
}
|
|
97
92
|
export declare class UnsupportedDataState extends EmbeddedDataState {
|
|
98
93
|
label(): string;
|
|
99
94
|
}
|
|
100
|
-
export declare function buildEmbeddedDataEditorState(_embeddedData: EmbeddedData, editorStore: EditorStore): EmbeddedDataState;
|
|
95
|
+
export declare function buildEmbeddedDataEditorState(_embeddedData: EmbeddedData, editorStore: EditorStore, options?: EmbeddedDataStateOption): EmbeddedDataState;
|
|
101
96
|
//# sourceMappingURL=EmbeddedDataState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddedDataState.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,
|
|
1
|
+
{"version":3,"file":"EmbeddedDataState.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,iBAAiB,EACjB,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAC3B,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAU7B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAY3D,eAAO,MAAM,kBAAkB,SACvB,MAAM,eACC,WAAW,KACvB,YAsCF,CAAC;AAEF,8BAAsB,iBAAiB;IACrC,WAAW,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C,EAAE,uBAAuB,GAAG,iBAAiB;CAOtE;AAED,qBAAa,oBAAqB,SAAQ,iBAAiB;IACzD,KAAK,IAAI,MAAM;CAGhB;AAED,wBAAgB,4BAA4B,CAC1C,aAAa,EAAE,YAAY,EAC3B,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE,uBAAuB,GAChC,iBAAiB,CA+BnB"}
|
|
@@ -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 { DataElementReference, ExternalFormatData, ModelStoreData,
|
|
16
|
+
import { RelationalCSVData, DataElementReference, ExternalFormatData, ModelStoreData, ModelEmbeddedData, } from '@finos/legend-graph';
|
|
17
17
|
import { ContentType, guaranteeNonEmptyString, tryToFormatLosslessJSONString, UnsupportedOperationError, uuid, } from '@finos/legend-shared';
|
|
18
18
|
import { action, makeObservable, observable } from 'mobx';
|
|
19
|
-
import { dataElementReference_setDataElement, externalFormatData_setContentType, externalFormatData_setData, relationalData_addTable, relationalData_deleteData,
|
|
19
|
+
import { dataElementReference_setDataElement, externalFormatData_setContentType, externalFormatData_setData, relationalData_addTable, relationalData_deleteData, relationalData_setTableValues, } from '../../../../graph-modifier/DSL_Data_GraphModifierHelper.js';
|
|
20
20
|
import { EmbeddedDataType } from '../../ExternalFormatState.js';
|
|
21
21
|
import { TEMPORARY__createRelationalDataFromCSV } from '../../../utils/TestableUtils.js';
|
|
22
22
|
export const createEmbeddedData = (type, editorStore) => {
|
|
@@ -103,13 +103,20 @@ export class UnsupportedModelDataState extends ModelDataState {
|
|
|
103
103
|
export class ModelStoreDataState extends EmbeddedDataState {
|
|
104
104
|
embeddedData;
|
|
105
105
|
modelDataStates = [];
|
|
106
|
-
|
|
106
|
+
hideClass = false;
|
|
107
|
+
constructor(editorStore, embeddedData, hideClass) {
|
|
107
108
|
super(editorStore, embeddedData);
|
|
109
|
+
makeObservable(this, {
|
|
110
|
+
hideClass: observable,
|
|
111
|
+
modelDataStates: observable,
|
|
112
|
+
buildStates: action,
|
|
113
|
+
});
|
|
108
114
|
this.embeddedData = embeddedData;
|
|
109
115
|
this.modelDataStates = this.buildStates();
|
|
116
|
+
this.hideClass = Boolean(hideClass);
|
|
110
117
|
}
|
|
111
118
|
label() {
|
|
112
|
-
return '
|
|
119
|
+
return 'Model Store Data';
|
|
113
120
|
}
|
|
114
121
|
buildStates() {
|
|
115
122
|
return (this.embeddedData.modelData?.map((modelData) => {
|
|
@@ -135,70 +142,25 @@ export class RelationalCSVDataTableState {
|
|
|
135
142
|
relationalData_setTableValues(this.table, val);
|
|
136
143
|
}
|
|
137
144
|
}
|
|
138
|
-
export class IdentifierTableState {
|
|
139
|
-
table;
|
|
140
|
-
dataState;
|
|
141
|
-
schemaName = '';
|
|
142
|
-
tableName = '';
|
|
143
|
-
constructor(dataState) {
|
|
144
|
-
this.dataState = dataState;
|
|
145
|
-
makeObservable(this, {
|
|
146
|
-
dataState: observable,
|
|
147
|
-
schemaName: observable,
|
|
148
|
-
tableName: observable,
|
|
149
|
-
table: observable,
|
|
150
|
-
setTableName: action,
|
|
151
|
-
setSchemaName: action,
|
|
152
|
-
setTable: action,
|
|
153
|
-
handleSubmit: action,
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
setTable(table) {
|
|
157
|
-
this.table = table;
|
|
158
|
-
if (table) {
|
|
159
|
-
this.tableName = table.table;
|
|
160
|
-
this.schemaName = table.schema;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
setTableName(val) {
|
|
164
|
-
this.tableName = val;
|
|
165
|
-
}
|
|
166
|
-
setSchemaName(val) {
|
|
167
|
-
this.schemaName = val;
|
|
168
|
-
}
|
|
169
|
-
get isEditingDisabled() {
|
|
170
|
-
if (!(this.tableName && this.schemaName)) {
|
|
171
|
-
return true;
|
|
172
|
-
}
|
|
173
|
-
return Boolean(this.dataState.embeddedData.tables.find((t) => `${t.table}.${t.schema}` === `${this.tableName}.${this.schemaName}`));
|
|
174
|
-
}
|
|
175
|
-
handleSubmit() {
|
|
176
|
-
const table = this.table ?? new RelationalCSVDataTable();
|
|
177
|
-
relationalData_setTableSchemaName(table, this.schemaName);
|
|
178
|
-
relationalData_setTableName(table, this.tableName);
|
|
179
|
-
if (!this.table) {
|
|
180
|
-
table.values = '';
|
|
181
|
-
relationalData_addTable(this.dataState.embeddedData, table);
|
|
182
|
-
this.dataState.changeSelectedTable(table);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
145
|
export class RelationalCSVDataState extends EmbeddedDataState {
|
|
187
146
|
embeddedData;
|
|
188
|
-
showTableIdentifierModal = false;
|
|
189
|
-
tableIdentifierState;
|
|
190
147
|
selectedTable;
|
|
191
148
|
showImportCSVModal = false;
|
|
149
|
+
database;
|
|
150
|
+
//
|
|
151
|
+
showTableIdentifierModal = false;
|
|
152
|
+
tableToEdit;
|
|
192
153
|
constructor(editorStore, embeddedData) {
|
|
193
154
|
super(editorStore, embeddedData);
|
|
194
155
|
makeObservable(this, {
|
|
195
156
|
selectedTable: observable,
|
|
196
157
|
showTableIdentifierModal: observable,
|
|
197
158
|
deleteTable: observable,
|
|
198
|
-
tableIdentifierState: observable,
|
|
199
159
|
showImportCSVModal: observable,
|
|
160
|
+
database: observable,
|
|
200
161
|
resetSelectedTable: action,
|
|
201
162
|
changeSelectedTable: action,
|
|
163
|
+
setDatabase: action,
|
|
202
164
|
closeModal: action,
|
|
203
165
|
openIdentifierModal: action,
|
|
204
166
|
setShowImportCsvModal: action,
|
|
@@ -206,23 +168,24 @@ export class RelationalCSVDataState extends EmbeddedDataState {
|
|
|
206
168
|
importCSV: action,
|
|
207
169
|
});
|
|
208
170
|
this.embeddedData = embeddedData;
|
|
209
|
-
this.tableIdentifierState = new IdentifierTableState(this);
|
|
210
171
|
this.resetSelectedTable();
|
|
211
172
|
}
|
|
212
173
|
setShowImportCsvModal(val) {
|
|
213
174
|
this.showImportCSVModal = val;
|
|
214
175
|
}
|
|
176
|
+
setDatabase(val) {
|
|
177
|
+
this.database = val;
|
|
178
|
+
}
|
|
215
179
|
openIdentifierModal(renameTable) {
|
|
216
180
|
this.showTableIdentifierModal = true;
|
|
217
|
-
this.
|
|
181
|
+
this.tableToEdit = renameTable;
|
|
218
182
|
}
|
|
219
183
|
closeCSVModal() {
|
|
220
184
|
this.showImportCSVModal = false;
|
|
221
185
|
}
|
|
222
186
|
closeModal() {
|
|
223
|
-
this.tableIdentifierState.setSchemaName('');
|
|
224
|
-
this.tableIdentifierState.setTableName('');
|
|
225
187
|
this.showTableIdentifierModal = false;
|
|
188
|
+
this.tableToEdit = undefined;
|
|
226
189
|
}
|
|
227
190
|
importCSV(val) {
|
|
228
191
|
const generated = TEMPORARY__createRelationalDataFromCSV(val);
|
|
@@ -254,9 +217,11 @@ export class RelationalCSVDataState extends EmbeddedDataState {
|
|
|
254
217
|
export class DataElementReferenceState extends EmbeddedDataState {
|
|
255
218
|
embeddedData;
|
|
256
219
|
embeddedDataValueState;
|
|
257
|
-
|
|
220
|
+
options;
|
|
221
|
+
constructor(editorStore, embeddedData, options) {
|
|
258
222
|
super(editorStore, embeddedData);
|
|
259
223
|
this.embeddedData = embeddedData;
|
|
224
|
+
this.options = options;
|
|
260
225
|
this.embeddedDataValueState = this.buildValueState();
|
|
261
226
|
}
|
|
262
227
|
label() {
|
|
@@ -266,8 +231,8 @@ export class DataElementReferenceState extends EmbeddedDataState {
|
|
|
266
231
|
dataElementReference_setDataElement(this.embeddedData, dataElement, this.editorStore.changeDetectionState.observerContext);
|
|
267
232
|
this.embeddedDataValueState = this.buildValueState();
|
|
268
233
|
}
|
|
269
|
-
buildValueState() {
|
|
270
|
-
return buildEmbeddedDataEditorState(this.embeddedData.dataElement.value.data, this.editorStore);
|
|
234
|
+
buildValueState(options) {
|
|
235
|
+
return buildEmbeddedDataEditorState(this.embeddedData.dataElement.value.data, this.editorStore, this.options);
|
|
271
236
|
}
|
|
272
237
|
}
|
|
273
238
|
export class UnsupportedDataState extends EmbeddedDataState {
|
|
@@ -275,19 +240,19 @@ export class UnsupportedDataState extends EmbeddedDataState {
|
|
|
275
240
|
return 'Unsupported embedded data';
|
|
276
241
|
}
|
|
277
242
|
}
|
|
278
|
-
export function buildEmbeddedDataEditorState(_embeddedData, editorStore) {
|
|
243
|
+
export function buildEmbeddedDataEditorState(_embeddedData, editorStore, options) {
|
|
279
244
|
const embeddedData = _embeddedData;
|
|
280
245
|
if (embeddedData instanceof ExternalFormatData) {
|
|
281
246
|
return new ExternalFormatDataState(editorStore, embeddedData);
|
|
282
247
|
}
|
|
283
248
|
else if (embeddedData instanceof ModelStoreData) {
|
|
284
|
-
return new ModelStoreDataState(editorStore, embeddedData);
|
|
249
|
+
return new ModelStoreDataState(editorStore, embeddedData, options?.hideSource);
|
|
285
250
|
}
|
|
286
251
|
else if (embeddedData instanceof RelationalCSVData) {
|
|
287
252
|
return new RelationalCSVDataState(editorStore, embeddedData);
|
|
288
253
|
}
|
|
289
254
|
else if (embeddedData instanceof DataElementReference) {
|
|
290
|
-
return new DataElementReferenceState(editorStore, embeddedData);
|
|
255
|
+
return new DataElementReferenceState(editorStore, embeddedData, options);
|
|
291
256
|
}
|
|
292
257
|
else {
|
|
293
258
|
const extraEmbeddedDataEditorStateBuilders = editorStore.pluginManager
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddedDataState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAIL,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,
|
|
1
|
+
{"version":3,"file":"EmbeddedDataState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAIL,iBAAiB,EAGjB,oBAAoB,EAC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B;IACzD,KAAK;QACH,OAAO,2BAA2B,CAAC;IACrC,CAAC;CACF;AAED,MAAM,UAAU,4BAA4B,CAC1C,aAA2B,EAC3B,WAAwB,EACxB,OAAiC;IAEjC,MAAM,YAAY,GAAG,aAAa,CAAC;IACnC,IAAI,YAAY,YAAY,kBAAkB,EAAE;QAC9C,OAAO,IAAI,uBAAuB,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;KAC/D;SAAM,IAAI,YAAY,YAAY,cAAc,EAAE;QACjD,OAAO,IAAI,mBAAmB,CAC5B,WAAW,EACX,YAAY,EACZ,OAAO,EAAE,UAAU,CACpB,CAAC;KACH;SAAM,IAAI,YAAY,YAAY,iBAAiB,EAAE;QACpD,OAAO,IAAI,sBAAsB,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;KAC9D;SAAM,IAAI,YAAY,YAAY,oBAAoB,EAAE;QACvD,OAAO,IAAI,yBAAyB,CAAC,WAAW,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;KAC1E;SAAM;QACL,MAAM,oCAAoC,GAAG,WAAW,CAAC,aAAa;aACnE,qBAAqB,EAAE;aACvB,OAAO,CACN,CAAC,MAAM,EAAE,EAAE,CAEP,MACD,CAAC,uCAAuC,EAAE,EAAE,IAAI,EAAE,CACtD,CAAC;QACJ,KAAK,MAAM,YAAY,IAAI,oCAAoC,EAAE;YAC/D,MAAM,KAAK,GAAG,YAAY,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;YACtD,IAAI,KAAK,EAAE;gBACT,OAAO,KAAK,CAAC;aACd;SACF;QACD,OAAO,IAAI,oBAAoB,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;KAC5D;AACH,CAAC"}
|
|
@@ -13,138 +13,116 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { type Mapping,
|
|
16
|
+
import { type Mapping, MappingTestSuite, type Class, type MappingModelCoverageAnalysisResult, type RawLambda, MappingTest, type AtomicTest, type EmbeddedData, type Store, type DataElement, type TestResult, StoreTestData } from '@finos/legend-graph';
|
|
17
17
|
import { ActionState, type GeneratorFn } from '@finos/legend-shared';
|
|
18
18
|
import { LambdaEditorState } from '@finos/legend-query-builder';
|
|
19
19
|
import { type MappingEditorState } from '../MappingEditorState.js';
|
|
20
20
|
import { TESTABLE_TEST_TAB, TestableTestEditorState, TestableTestSuiteEditorState } from '../../testable/TestableEditorState.js';
|
|
21
21
|
import { EmbeddedDataEditorState } from '../../data/DataEditorState.js';
|
|
22
22
|
import type { EditorStore } from '../../../../EditorStore.js';
|
|
23
|
-
export declare enum MAPPING_TEST_SUITE_TYPE {
|
|
24
|
-
DATA = "DATA",
|
|
25
|
-
QUERY = "QUERY"
|
|
26
|
-
}
|
|
27
|
-
export declare class MappingTestableQueryState extends LambdaEditorState {
|
|
28
|
-
editorStore: EditorStore;
|
|
29
|
-
parent: MappingQueryTestSuite | MappingQueryTest;
|
|
30
|
-
isInitializingLambda: boolean;
|
|
31
|
-
query: RawLambda;
|
|
32
|
-
constructor(editorStore: EditorStore, parent: MappingQueryTestSuite | MappingQueryTest, query: RawLambda);
|
|
33
|
-
get lambdaId(): string;
|
|
34
|
-
setIsInitializingLambda(val: boolean): void;
|
|
35
|
-
updateLamba(val: RawLambda): GeneratorFn<void>;
|
|
36
|
-
convertLambdaObjectToGrammarString(pretty?: boolean): GeneratorFn<void>;
|
|
37
|
-
convertLambdaGrammarStringToObject(): GeneratorFn<void>;
|
|
38
|
-
}
|
|
39
|
-
export declare abstract class MappingTestState extends TestableTestEditorState {
|
|
40
|
-
readonly mappingTestableState: MappingTestableState;
|
|
41
|
-
readonly uuid: string;
|
|
42
|
-
test: MappingTest;
|
|
43
|
-
constructor(editorStore: EditorStore, mappingTestableState: MappingTestableState, test: MappingTest);
|
|
44
|
-
abstract defaultTab(): TESTABLE_TEST_TAB;
|
|
45
|
-
}
|
|
46
23
|
export declare class StoreTestDataState {
|
|
47
24
|
readonly editorStore: EditorStore;
|
|
48
|
-
readonly testDataState:
|
|
25
|
+
readonly testDataState: MappingTestDataState;
|
|
49
26
|
storeTestData: StoreTestData;
|
|
50
|
-
generatingTestDataSate: ActionState;
|
|
51
27
|
embeddedEditorState: EmbeddedDataEditorState;
|
|
52
|
-
|
|
28
|
+
dataElementModal: boolean;
|
|
29
|
+
constructor(editorStore: EditorStore, testDataState: MappingTestDataState, value: StoreTestData);
|
|
30
|
+
setDataElementModal(val: boolean): void;
|
|
31
|
+
changeEmbeddedData(val: EmbeddedData): void;
|
|
53
32
|
}
|
|
54
|
-
export declare class
|
|
33
|
+
export declare class MappingTestDataState {
|
|
55
34
|
readonly editorStore: EditorStore;
|
|
56
35
|
readonly mappingTestableState: MappingTestableState;
|
|
57
36
|
selectedDataState: StoreTestDataState | undefined;
|
|
58
|
-
dataHolder:
|
|
37
|
+
dataHolder: MappingTest;
|
|
59
38
|
showNewModal: boolean;
|
|
60
|
-
constructor(editorStore: EditorStore, mappingTestableState: MappingTestableState, holder:
|
|
39
|
+
constructor(editorStore: EditorStore, mappingTestableState: MappingTestableState, holder: MappingTest);
|
|
61
40
|
initDefaultStore(): void;
|
|
62
41
|
setShowModal(val: boolean): void;
|
|
63
42
|
openStoreTestData(val: StoreTestData): void;
|
|
64
43
|
deleteStoreTestData(val: StoreTestData): void;
|
|
65
44
|
addStoreTestData(val: Store, type: string, dataElement: DataElement | undefined): void;
|
|
66
45
|
}
|
|
67
|
-
export declare class
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
46
|
+
export declare class MappingTestState extends TestableTestEditorState {
|
|
47
|
+
readonly parentState: MappingTestSuiteState;
|
|
48
|
+
readonly mappingTestableState: MappingTestableState;
|
|
49
|
+
readonly uuid: string;
|
|
50
|
+
test: MappingTest;
|
|
51
|
+
dataState: MappingTestDataState;
|
|
52
|
+
constructor(editorStore: EditorStore, parentSuiteState: MappingTestSuiteState, test: MappingTest);
|
|
71
53
|
defaultTab(): TESTABLE_TEST_TAB;
|
|
72
|
-
buildQueryState(): MappingTestableQueryState;
|
|
73
54
|
}
|
|
74
|
-
export declare class
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
55
|
+
export declare class MappingTestSuiteQueryState extends LambdaEditorState {
|
|
56
|
+
editorStore: EditorStore;
|
|
57
|
+
parent: MappingTestSuite;
|
|
58
|
+
isInitializingLambda: boolean;
|
|
59
|
+
query: RawLambda;
|
|
60
|
+
constructor(editorStore: EditorStore, parent: MappingTestSuite, query: RawLambda);
|
|
61
|
+
get lambdaId(): string;
|
|
62
|
+
setIsInitializingLambda(val: boolean): void;
|
|
63
|
+
updateLamba(val: RawLambda): GeneratorFn<void>;
|
|
64
|
+
convertLambdaObjectToGrammarString(pretty?: boolean): GeneratorFn<void>;
|
|
65
|
+
convertLambdaGrammarStringToObject(): GeneratorFn<void>;
|
|
79
66
|
}
|
|
80
|
-
export declare
|
|
67
|
+
export declare class MappingTestSuiteState extends TestableTestSuiteEditorState {
|
|
81
68
|
readonly mappingTestableState: MappingTestableState;
|
|
82
69
|
suite: MappingTestSuite;
|
|
83
70
|
testStates: MappingTestState[];
|
|
84
71
|
selectTestState: MappingTestState | undefined;
|
|
85
72
|
showCreateModal: boolean;
|
|
73
|
+
queryState: MappingTestSuiteQueryState;
|
|
86
74
|
constructor(editorStore: EditorStore, mappingTestableState: MappingTestableState, suite: MappingTestSuite);
|
|
87
75
|
buildTestStates(): MappingTestState[];
|
|
88
|
-
|
|
89
|
-
|
|
76
|
+
buildTestState(val: AtomicTest): MappingTestState | undefined;
|
|
77
|
+
buildQueryState(): MappingTestSuiteQueryState;
|
|
78
|
+
createStoreTestData(targetClass: Class | undefined): StoreTestData | undefined;
|
|
90
79
|
addNewTest(id: string, _class: Class | undefined): void;
|
|
91
|
-
abstract createNewTest(id: string, _class: Class | undefined): MappingTest;
|
|
92
80
|
setShowModal(val: boolean): void;
|
|
93
81
|
changeTest(val: MappingTest): void;
|
|
94
82
|
deleteTest(val: MappingTest): void;
|
|
95
83
|
removeTestState(val: MappingTest): void;
|
|
96
84
|
}
|
|
97
|
-
export declare class MappingDataTestSuiteState extends MappingTestSuiteState {
|
|
98
|
-
suite: MappingDataTestSuite;
|
|
99
|
-
dataState: MappingTestableDataState;
|
|
100
|
-
testStates: MappingQueryTestState[];
|
|
101
|
-
selectTestState: MappingQueryTestState | undefined;
|
|
102
|
-
constructor(editorStore: EditorStore, mappingTestableState: MappingTestableState, suite: MappingDataTestSuite);
|
|
103
|
-
buildTestState(val: MappingTest): MappingTestState | undefined;
|
|
104
|
-
createNewTest(id: string, _class: Class | undefined): MappingTest;
|
|
105
|
-
getDefaultClass(): Class | undefined;
|
|
106
|
-
}
|
|
107
|
-
export declare class MappingQueryTestSuiteState extends MappingTestSuiteState {
|
|
108
|
-
suite: MappingQueryTestSuite;
|
|
109
|
-
testStates: MappingDataTestState[];
|
|
110
|
-
selectTestState: MappingDataTestState | undefined;
|
|
111
|
-
queryState: MappingTestableQueryState;
|
|
112
|
-
constructor(editorStore: EditorStore, mappingTestableState: MappingTestableState, suite: MappingQueryTestSuite);
|
|
113
|
-
buildTestState(val: MappingTest): MappingTestState | undefined;
|
|
114
|
-
createNewTest(id: string, _class: Class | undefined): MappingTest;
|
|
115
|
-
buildQueryState(): MappingTestableQueryState;
|
|
116
|
-
getDefaultClass(): Class | undefined;
|
|
117
|
-
}
|
|
118
85
|
export declare class CreateSuiteState {
|
|
119
86
|
readonly editorStore: EditorStore;
|
|
120
87
|
readonly mappingTestableState: MappingTestableState;
|
|
121
88
|
showModal: boolean;
|
|
122
89
|
isCreatingSuiteState: ActionState;
|
|
123
90
|
constructor(editorStore: EditorStore, mappingTestableState: MappingTestableState);
|
|
124
|
-
|
|
125
|
-
createAndAddTestSuite(_class: Class, type: MAPPING_TEST_SUITE_TYPE, name: string, testName: string): GeneratorFn<void>;
|
|
126
|
-
createDefaultQuery(_class: Class): RawLambda;
|
|
127
|
-
attemptToGenerateTestData(setImpl: SetImplementation, editorStore: EditorStore): StoreTestData | undefined;
|
|
91
|
+
createAndAddTestSuite(_class: Class, suiteName: string, testName: string): GeneratorFn<void>;
|
|
128
92
|
}
|
|
129
93
|
export declare class MappingTestableState {
|
|
130
94
|
readonly editorStore: EditorStore;
|
|
131
95
|
readonly mappingEditorState: MappingEditorState;
|
|
132
|
-
selectedTestSuite: MappingTestSuiteState | undefined;
|
|
133
|
-
testableComponentToRename: MappingTestSuite | MappingTest | TestAssertion | undefined;
|
|
134
|
-
createSuiteState: CreateSuiteState;
|
|
135
96
|
mappingModelCoverageAnalysisState: ActionState;
|
|
136
97
|
mappingModelCoverageAnalysisResult: MappingModelCoverageAnalysisResult | undefined;
|
|
98
|
+
testableComponentToRename: MappingTestSuite | MappingTest | undefined;
|
|
99
|
+
createSuiteState: CreateSuiteState | undefined;
|
|
100
|
+
isRunningTestableSuitesState: ActionState;
|
|
101
|
+
isRunningFailingSuitesState: ActionState;
|
|
102
|
+
selectedTestSuite: MappingTestSuiteState | undefined;
|
|
103
|
+
testableResults: TestResult[] | undefined;
|
|
104
|
+
runningSuite: MappingTestSuite | undefined;
|
|
137
105
|
constructor(editorStore: EditorStore, mappingEditorState: MappingEditorState);
|
|
138
106
|
get mapping(): Mapping;
|
|
139
|
-
|
|
107
|
+
get suiteCount(): number;
|
|
108
|
+
get passingSuites(): MappingTestSuite[];
|
|
109
|
+
get failingSuites(): MappingTestSuite[];
|
|
110
|
+
get staticSuites(): MappingTestSuite[];
|
|
111
|
+
resolveSuiteResults(suite: MappingTestSuite): TestResult[] | undefined;
|
|
112
|
+
clearTestResultsForSuite(suite: MappingTestSuite): void;
|
|
113
|
+
setTestableResults(val: TestResult[] | undefined): void;
|
|
140
114
|
init(): void;
|
|
115
|
+
openCreateModal(): void;
|
|
116
|
+
closeCreateModal(): void;
|
|
117
|
+
renameTestableComponent(val: string | undefined): void;
|
|
141
118
|
changeSuite(suite: MappingTestSuite): void;
|
|
142
|
-
setRenameComponent(testSuite: MappingTestSuite |
|
|
119
|
+
setRenameComponent(testSuite: MappingTestSuite | MappingTest | undefined): void;
|
|
143
120
|
deleteTestSuite(testSuite: MappingTestSuite): void;
|
|
144
|
-
|
|
145
|
-
buildTestSuiteState(val: MappingTestSuite): MappingTestSuiteState | undefined;
|
|
121
|
+
buildTestSuiteState(val: MappingTestSuite): MappingTestSuiteState;
|
|
146
122
|
analyzeMappingModelCoverage(): GeneratorFn<void>;
|
|
147
|
-
|
|
148
|
-
|
|
123
|
+
runSuite(suite: MappingTestSuite): GeneratorFn<void>;
|
|
124
|
+
runTestable(): GeneratorFn<void>;
|
|
125
|
+
runAllFailingSuites(): GeneratorFn<void>;
|
|
126
|
+
handleNewResults(results: TestResult[]): void;
|
|
149
127
|
}
|
|
150
128
|
//# sourceMappingURL=MappingTestableState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MappingTestableState.d.ts","sourceRoot":"","sources":["../../../../../../../src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,OAAO,EACZ,
|
|
1
|
+
{"version":3,"file":"MappingTestableState.d.ts","sourceRoot":"","sources":["../../../../../../../src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,OAAO,EACZ,gBAAgB,EAChB,KAAK,KAAK,EACV,KAAK,kCAAkC,EACvC,KAAK,SAAS,EACd,WAAW,EACX,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,KAAK,EACV,KAAK,WAAW,EAChB,KAAK,UAAU,EAMf,aAAa,EAMd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,WAAW,EAEX,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EA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