@finos/legend-extension-dsl-data-space 10.3.12 → 10.3.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkBH,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,0DAA0D,CAAC;AAYlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAQ1E,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,oBAAoB,UACxB,aAAa,KACnB,eAGD,CAAC;AACH,eAAO,MAAM,0BAA0B,WAC7B,eAAe,KACtB,MAAM,SAiCR,CAAC;AA4QF,eAAO,MAAM,4CAA4C,sBACpC,0BAA0B,KAC5C,MAAM,SAIR,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmBH,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,0DAA0D,CAAC;AAYlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAQ1E,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,oBAAoB,UACxB,aAAa,KACnB,eAGD,CAAC;AACH,eAAO,MAAM,0BAA0B,WAC7B,eAAe,KACtB,MAAM,SAiCR,CAAC;AA+QF,eAAO,MAAM,4CAA4C,sBACpC,0BAA0B,KAC5C,MAAM,SAIR,CAAC"}
@@ -14,7 +14,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { CustomSelectorInput, createFilter, DropdownMenu, MenuContentItem, MenuContent, MenuContentItemIcon, CheckIcon, MenuContentItemLabel, SearchIcon, PanelHeaderActions, PanelHeader, MoreVerticalIcon, } from '@finos/legend-art';
17
+ import { CustomSelectorInput, createFilter, DropdownMenu, MenuContentItem, MenuContent, MenuContentItemIcon, CheckIcon, MenuContentItemLabel, SearchIcon, PanelHeaderActions, PanelHeader, MoreVerticalIcon, compareLabelFn, } from '@finos/legend-art';
18
18
  import { observer } from 'mobx-react-lite';
19
19
  import { useApplicationStore } from '@finos/legend-application';
20
20
  import { resolveUsableDataSpaceClasses, } from '../../stores/query-builder/DataSpaceQueryBuilderState.js';
@@ -55,7 +55,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
55
55
  // data space
56
56
  const dataSpaceOptions = queryBuilderState.dataSpaces
57
57
  .map(buildDataSpaceOption)
58
- .sort((a, b) => a.label.localeCompare(b.label));
58
+ .sort(compareLabelFn);
59
59
  const selectedDataSpaceOption = {
60
60
  label: queryBuilderState.dataSpace.title ?? queryBuilderState.dataSpace.name,
61
61
  value: {
@@ -75,7 +75,8 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
75
75
  // execution context
76
76
  const executionContextOptions = queryBuilderState.dataSpace.executionContexts
77
77
  .map(buildExecutionContextOption)
78
- .sort((a, b) => a.label.localeCompare(b.label));
78
+ .sort(compareLabelFn);
79
+ const showExecutionContextOptions = executionContextOptions.length > 1;
79
80
  const selectedExecutionContextOption = buildExecutionContextOption(queryBuilderState.executionContext);
80
81
  const onExecutionContextOptionChange = (option) => {
81
82
  if (option.value === queryBuilderState.executionContext) {
@@ -89,7 +90,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
89
90
  const runtimeOptions = getMappingCompatibleRuntimes(queryBuilderState.executionContext.mapping.value, queryBuilderState.graphManagerState.usableRuntimes)
90
91
  .map((rt) => new RuntimePointer(PackageableElementExplicitReference.create(rt)))
91
92
  .map(buildRuntimeValueOption)
92
- .sort((a, b) => a.label.localeCompare(b.label));
93
+ .sort(compareLabelFn);
93
94
  const selectedRuntimeOption = queryBuilderState.executionContextState
94
95
  .runtimeValue
95
96
  ? buildRuntimeValueOption(queryBuilderState.executionContextState.runtimeValue)
@@ -116,10 +117,10 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
116
117
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
117
118
  transformOrigin: { vertical: 'top', horizontal: 'right' },
118
119
  }, children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) }) }) }), _jsxs("div", { className: "query-builder__setup__config-group__content", children: [_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "data space", htmlFor: "query-builder__setup__data-space-selector", children: "Data Space" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__data-space-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", options: dataSpaceOptions, isLoading: queryBuilderState.loadDataSpacesState.isInProgress, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space...", escapeClearsValue: true, darkMode: !applicationStore.layoutService
119
- .TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: formatDataSpaceOptionLabel }), queryBuilderState.isAdvancedDataSpaceSearchEnabled && (_jsxs(_Fragment, { children: [_jsx("button", { tabIndex: -1, className: "query-builder__setup__data-space-searcher__btn btn--dark", onClick: openDataSpaceAdvancedSearch, title: "Open advanced search for data space...", children: _jsx(SearchIcon, {}) }), queryBuilderState.advancedSearchState && (_jsx(DataSpaceAdvancedSearchModal, { searchState: queryBuilderState.advancedSearchState, onClose: () => queryBuilderState.hideAdvancedSearchPanel() }))] }))] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "execution context", htmlFor: "query-builder__setup__context-selector", children: "Context" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__context-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose an execution context...", options: executionContextOptions, disabled: executionContextOptions.length < 1 ||
120
+ .TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: formatDataSpaceOptionLabel }), queryBuilderState.isAdvancedDataSpaceSearchEnabled && (_jsxs(_Fragment, { children: [_jsx("button", { tabIndex: -1, className: "query-builder__setup__data-space-searcher__btn btn--dark", onClick: openDataSpaceAdvancedSearch, title: "Open advanced search for data space...", children: _jsx(SearchIcon, {}) }), queryBuilderState.advancedSearchState && (_jsx(DataSpaceAdvancedSearchModal, { searchState: queryBuilderState.advancedSearchState, onClose: () => queryBuilderState.hideAdvancedSearchPanel() }))] }))] }), Boolean(showExecutionContextOptions) && (_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "execution context", htmlFor: "query-builder__setup__context-selector", children: "Context" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__context-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose an execution context...", options: executionContextOptions, disabled: executionContextOptions.length < 1 ||
120
121
  (executionContextOptions.length === 1 &&
121
122
  Boolean(selectedExecutionContextOption)), onChange: onExecutionContextOptionChange, value: selectedExecutionContextOption, darkMode: !applicationStore.layoutService
122
- .TEMPORARY__isLightColorThemeEnabled })] }), queryBuilderState.showRuntimeSelector && (_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", htmlFor: "query-builder__setup__runtime-selector", children: "Runtime" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__runtime-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a runtime...", noMatchMessage: "No compatible runtime found for specified execution context", options: runtimeOptions, onChange: changeRuntime, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
123
+ .TEMPORARY__isLightColorThemeEnabled })] })), queryBuilderState.showRuntimeSelector && (_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", htmlFor: "query-builder__setup__runtime-selector", children: "Runtime" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__runtime-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a runtime...", noMatchMessage: "No compatible runtime found for specified execution context", options: runtimeOptions, onChange: changeRuntime, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
123
124
  .TEMPORARY__isLightColorThemeEnabled, filterOption: runtimeFilterOption, formatOptionLabel: getRuntimeOptionFormatter({
124
125
  darkMode: !applicationStore.layoutService
125
126
  .TEMPORARY__isLightColorThemeEnabled,
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,UAAU,EACV,kBAAkB,EAClB,WAAW,EACX,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,4BAA4B,EAC5B,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,u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C3C,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;yCAC5B,mCAAmC;iCACzC,CAAC,GACF,IACE,CACP,EACD,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,iBAAiB,CAAC,aAAa,EAC9C,cAAc,EAAC,4DAA4D,GAC3E,GACE,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAC1D,iBAA6C,EAC5B,EAAE,CAAC,CACpB,KAAC,sCAAsC,IACrC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,UAAU,EACV,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,4BAA4B,EAC5B,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAA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E,GACE,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAC1D,iBAA6C,EAC5B,EAAE,CAAC,CACpB,KAAC,sCAAsC,IACrC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { V1_DataSpace } from './v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
17
17
  import { type PlainObject } from '@finos/legend-shared';
18
- import { type V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement, type V1_PureModelContextData, type DSL_Mapping_PureProtocolProcessorPlugin_Extension, type V1_MappingIncludeBuilder, type V1_MappingIncludeTransformer, type V1_MappingIncludeProtocolSerializer, type V1_MappingIncludeProtocolDeserializer, type V1_MappingIncludeIdentifierBuilder, PureProtocolProcessorPlugin, V1_ElementBuilder, type V1_ElementPointerType } from '@finos/legend-graph';
18
+ import { type V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement, type V1_PureModelContextData, type DSL_Mapping_PureProtocolProcessorPlugin_Extension, type V1_MappingIncludeBuilder, type V1_MappingIncludeTransformer, type V1_MappingIncludeProtocolSerializer, type V1_MappingIncludeProtocolDeserializer, type V1_MappingIncludeIdentifierBuilder, type V1_SavedQueryExecutionBuilder, type V1_ElementPointerType, PureProtocolProcessorPlugin, V1_ElementBuilder } from '@finos/legend-graph';
19
19
  export declare const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = "meta::pure::metamodel::dataSpace::DataSpace";
20
20
  export declare const DATA_SPACE_ELEMENT_POINTER = "DATASPACE";
21
21
  export declare class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin implements DSL_Mapping_PureProtocolProcessorPlugin_Extension {
@@ -32,6 +32,7 @@ export declare class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProto
32
32
  V1_getExtraMappingIncludeProtocolSerializers(): V1_MappingIncludeProtocolSerializer[];
33
33
  V1_getExtraMappingIncludeProtocolDeserializers(): V1_MappingIncludeProtocolDeserializer[];
34
34
  V1_getExtraMappingIncludeIdentifierBuilders(): V1_MappingIncludeIdentifierBuilder[];
35
+ V1_getExtraSavedQueryExecutionBuilder(): V1_SavedQueryExecutionBuilder[];
35
36
  }
36
37
  export declare const extractDataSpaceTaxonomyNodes: (json: PlainObject<V1_DataSpace>) => string[];
37
38
  //# sourceMappingURL=DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAQb,MAAM,wEAAwE,CAAC;AAChF,OAAO,EACL,KAAK,WAAW,EAOjB,MAAM,sBAAsB,CAAC;AAuB9B,OAAO,EAEL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAM5B,KAAK,iDAAiD,EACtD,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,EASvC,2BAA2B,EAC3B,iBAAiB,EASjB,KAAK,qBAAqB,EAK3B,MAAM,qBAAqB,CAAC;AAK7B,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,eAAO,MAAM,0BAA0B,cAAc,CAAC;AAEtD,qBAAa,yCACX,SAAQ,2BACR,YAAW,iDAAiD;;IASnD,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IAgMxE,uBAAuB,IAAI,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAIjE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,8BAA8B,IAAI,qBAAqB,EAAE;IAWzD,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;IA4HlE,iCAAiC,IAAI,wBAAwB,EAAE;IAwB/D,qCAAqC,IAAI,4BAA4B,EAAE;IAiBvE,4CAA4C,IAAI,mCAAmC,EAAE;IAarF,8CAA8C,IAAI,qCAAqC,EAAE;IAWzF,2CAA2C,IAAI,kCAAkC,EAAE;CAUpF;AAED,eAAO,MAAM,6BAA6B,SAClC,YAAY,YAAY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAQb,MAAM,wEAAwE,CAAC;AAChF,OAAO,EACL,KAAK,WAAW,EAQjB,MAAM,sBAAsB,CAAC;AAuB9B,OAAO,EAEL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAM5B,KAAK,iDAAiD,EACtD,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,EAEvC,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAS1B,2BAA2B,EAC3B,iBAAiB,EAclB,MAAM,qBAAqB,CAAC;AAM7B,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,eAAO,MAAM,0BAA0B,cAAc,CAAC;AAEtD,qBAAa,yCACX,SAAQ,2BACR,YAAW,iDAAiD;;IASnD,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IAgMxE,uBAAuB,IAAI,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAIjE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,8BAA8B,IAAI,qBAAqB,EAAE;IAWzD,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;IA4HlE,iCAAiC,IAAI,wBAAwB,EAAE;IAwB/D,qCAAqC,IAAI,4BAA4B,EAAE;IAiBvE,4CAA4C,IAAI,mCAAmC,EAAE;IAarF,8CAA8C,IAAI,qCAAqC,EAAE;IAWzF,2CAA2C,IAAI,kCAAkC,EAAE;IAW1E,qCAAqC,IAAI,6BAA6B,EAAE;CA4ClF;AAED,eAAO,MAAM,6BAA6B,SAClC,YAAY,YAAY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
@@ -16,13 +16,13 @@
16
16
  import packageJson from '../../../../package.json' assert { type: 'json' };
17
17
  import V1_SYSTEM_MODELS from './v1/V1_DSL_DataSpace_SystemModels.json' assert { type: 'json' };
18
18
  import { V1_DataSpace, V1_DataSpaceDiagram, V1_DataSpaceElementPointer, V1_DataSpaceExecutionContext, V1_DataSpacePackageableElementExecutable, V1_DataSpaceSupportCombinedInfo, V1_DataSpaceSupportEmail, V1_DataSpaceTemplateExecutable, } from './v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
19
- import { guaranteeNonEmptyString, guaranteeNonNullable, UnsupportedOperationError, isNonNullable, assertType, guaranteeType, } from '@finos/legend-shared';
19
+ import { guaranteeNonEmptyString, guaranteeNonNullable, UnsupportedOperationError, isNonNullable, assertType, guaranteeType, returnUndefOnError, } from '@finos/legend-shared';
20
20
  import { deserialize } from 'serializr';
21
21
  import { V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE, V1_deserializeDataSpace, V1_MAPPING_INCLUDE_DATASPACE_TYPE, V1_serializeDataSpace, V1_serializeMappingInclude, V1_deserializeMappingInclude, } from './v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js';
22
22
  import { V1_resolveDataSpace } from './v1/transformation/pureGraph/V1_DSL_DataSpace_GraphBuilderHelper.js';
23
23
  import { getOwnDataSpace } from '../../DSL_DataSpace_GraphManagerHelper.js';
24
24
  import { DataSpace, DataSpaceExecutionContext, DataSpaceSupportCombinedInfo, DataSpaceSupportEmail, DataSpaceDiagram, DataSpaceElementPointer, DataSpaceExecutableTemplate, DataSpacePackageableElementExecutable, } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
25
- import { V1_taggedValueModelSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_buildFullPath, Class, Enumeration, Association, Package, V1_RawValueSpecificationTransformer, V1_buildRawLambdaWithResolvedPaths, V1_buildEmbeddedData, V1_transformEmbeddedData, DataElementReference, V1_DataElementReference, } from '@finos/legend-graph';
25
+ import { V1_taggedValueModelSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_buildFullPath, Class, Enumeration, Association, Package, V1_RawValueSpecificationTransformer, V1_buildRawLambdaWithResolvedPaths, V1_buildEmbeddedData, V1_transformEmbeddedData, DataElementReference, V1_DataElementReference, QueryDataSpaceExecutionContextInfo, } from '@finos/legend-graph';
26
26
  import { V1_resolveDiagram } from '@finos/legend-extension-dsl-diagram/graph';
27
27
  import { V1_MappingIncludeDataSpace } from './v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js';
28
28
  import { MappingIncludeDataSpace } from '../../../graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.js';
@@ -338,6 +338,38 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
338
338
  },
339
339
  ];
340
340
  }
341
+ V1_getExtraSavedQueryExecutionBuilder() {
342
+ return [
343
+ (queryExec, entites) => {
344
+ if (queryExec instanceof QueryDataSpaceExecutionContextInfo) {
345
+ const dataSpace = queryExec.dataSpacePath;
346
+ const dataSpaceEntity = entites.find((e) => e.path === dataSpace);
347
+ if (dataSpaceEntity) {
348
+ const content = dataSpaceEntity.content;
349
+ if (content._type === V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE) {
350
+ const v1DataSpace = returnUndefOnError(() => V1_deserializeDataSpace(content));
351
+ if (v1DataSpace) {
352
+ if (v1DataSpace.executionContexts.length === 1) {
353
+ const exec = guaranteeNonNullable(v1DataSpace.executionContexts[0]);
354
+ return {
355
+ mapping: exec.mapping.path,
356
+ runtime: exec.defaultRuntime.path,
357
+ };
358
+ }
359
+ const resvoled = queryExec.executionKey ?? v1DataSpace.defaultExecutionContext;
360
+ const resolvedExec = guaranteeNonNullable(v1DataSpace.executionContexts.find((e) => e.name === resvoled));
361
+ return {
362
+ mapping: resolvedExec.mapping.path,
363
+ runtime: resolvedExec.defaultRuntime.path,
364
+ };
365
+ }
366
+ }
367
+ }
368
+ }
369
+ return undefined;
370
+ },
371
+ ];
372
+ }
341
373
  }
342
374
  export const extractDataSpaceTaxonomyNodes = (json) => {
343
375
  const ENTERPRISE_PROFILE_PATH = `meta::pure::profiles::enterprise`;
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC,SAAS,IAAI,EAAE,MAAM,EA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AC,GAAG,CAAC,OAAO,KAAK,uBAAuB;gBACnD,WAAW,CAAC,GAAG,CAAC,KAAK,KAAK,kBAAkB,CAC/C;iBACA,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE;gBACvB,WAAW,CAAC,KAAK;qBACd,KAAK,CAAC,kCAAkC,CAAC;qBACzC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;qBAC5B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;qBACjC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;YAClD,CAAC,CAAC,CAAC;QACP,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AAC3E,OAAO,gBAAgB,MAAM,yCAAyC,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AAC/F,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,0BAA0B,EAC1B,4BAA4B,EAC5B,wCAAwC,EACxC,+BAA+B,EAC/B,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,wEAAwE,CAAC;AAChF,OAAO,EAEL,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,UAAU,EACV,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,WA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,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;qBACjC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;YAClD,CAAC,CAAC,CAAC;QACP,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v10.3.12
1
+ /** @license @finos/legend-extension-dsl-data-space v10.3.14
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "10.3.12",
3
+ "version": "10.3.14",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "10.3.12",
3
+ "version": "10.3.14",
4
4
  "description": "Legend extension for Data Space 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": "15.1.0",
47
- "@finos/legend-art": "7.1.29",
48
- "@finos/legend-extension-dsl-diagram": "8.0.168",
49
- "@finos/legend-graph": "31.9.15",
50
- "@finos/legend-lego": "1.2.30",
51
- "@finos/legend-query-builder": "4.14.36",
46
+ "@finos/legend-application": "15.1.2",
47
+ "@finos/legend-art": "7.1.31",
48
+ "@finos/legend-extension-dsl-diagram": "8.0.170",
49
+ "@finos/legend-graph": "31.9.16",
50
+ "@finos/legend-lego": "1.2.32",
51
+ "@finos/legend-query-builder": "4.14.38",
52
52
  "@finos/legend-server-depot": "6.0.40",
53
53
  "@finos/legend-server-sdlc": "5.3.11",
54
54
  "@finos/legend-shared": "10.0.35",
@@ -27,6 +27,7 @@ import {
27
27
  PanelHeaderActions,
28
28
  PanelHeader,
29
29
  MoreVerticalIcon,
30
+ compareLabelFn,
30
31
  } from '@finos/legend-art';
31
32
  import { observer } from 'mobx-react-lite';
32
33
  import { useApplicationStore } from '@finos/legend-application';
@@ -129,7 +130,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
129
130
  // data space
130
131
  const dataSpaceOptions = queryBuilderState.dataSpaces
131
132
  .map(buildDataSpaceOption)
132
- .sort((a, b) => a.label.localeCompare(b.label));
133
+ .sort(compareLabelFn);
133
134
  const selectedDataSpaceOption: DataSpaceOption = {
134
135
  label:
135
136
  queryBuilderState.dataSpace.title ?? queryBuilderState.dataSpace.name,
@@ -155,7 +156,8 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
155
156
  const executionContextOptions =
156
157
  queryBuilderState.dataSpace.executionContexts
157
158
  .map(buildExecutionContextOption)
158
- .sort((a, b) => a.label.localeCompare(b.label));
159
+ .sort(compareLabelFn);
160
+ const showExecutionContextOptions = executionContextOptions.length > 1;
159
161
  const selectedExecutionContextOption = buildExecutionContextOption(
160
162
  queryBuilderState.executionContext,
161
163
  );
@@ -180,7 +182,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
180
182
  new RuntimePointer(PackageableElementExplicitReference.create(rt)),
181
183
  )
182
184
  .map(buildRuntimeValueOption)
183
- .sort((a, b) => a.label.localeCompare(b.label));
185
+ .sort(compareLabelFn);
184
186
  const selectedRuntimeOption = queryBuilderState.executionContextState
185
187
  .runtimeValue
186
188
  ? buildRuntimeValueOption(
@@ -296,32 +298,34 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
296
298
  </>
297
299
  )}
298
300
  </div>
299
- <div className="query-builder__setup__config-group__item">
300
- <label
301
- className="btn--sm query-builder__setup__config-group__item__label"
302
- title="execution context"
303
- htmlFor="query-builder__setup__context-selector"
304
- >
305
- Context
306
- </label>
307
- <CustomSelectorInput
308
- inputId="query-builder__setup__context-selector"
309
- className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
310
- placeholder="Choose an execution context..."
311
- options={executionContextOptions}
312
- disabled={
313
- executionContextOptions.length < 1 ||
314
- (executionContextOptions.length === 1 &&
315
- Boolean(selectedExecutionContextOption))
316
- }
317
- onChange={onExecutionContextOptionChange}
318
- value={selectedExecutionContextOption}
319
- darkMode={
320
- !applicationStore.layoutService
321
- .TEMPORARY__isLightColorThemeEnabled
322
- }
323
- />
324
- </div>
301
+ {Boolean(showExecutionContextOptions) && (
302
+ <div className="query-builder__setup__config-group__item">
303
+ <label
304
+ className="btn--sm query-builder__setup__config-group__item__label"
305
+ title="execution context"
306
+ htmlFor="query-builder__setup__context-selector"
307
+ >
308
+ Context
309
+ </label>
310
+ <CustomSelectorInput
311
+ inputId="query-builder__setup__context-selector"
312
+ className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
313
+ placeholder="Choose an execution context..."
314
+ options={executionContextOptions}
315
+ disabled={
316
+ executionContextOptions.length < 1 ||
317
+ (executionContextOptions.length === 1 &&
318
+ Boolean(selectedExecutionContextOption))
319
+ }
320
+ onChange={onExecutionContextOptionChange}
321
+ value={selectedExecutionContextOption}
322
+ darkMode={
323
+ !applicationStore.layoutService
324
+ .TEMPORARY__isLightColorThemeEnabled
325
+ }
326
+ />
327
+ </div>
328
+ )}
325
329
  {queryBuilderState.showRuntimeSelector && (
326
330
  <div className="query-builder__setup__config-group__item">
327
331
  <label
@@ -34,6 +34,7 @@ import {
34
34
  isNonNullable,
35
35
  assertType,
36
36
  guaranteeType,
37
+ returnUndefOnError,
37
38
  } from '@finos/legend-shared';
38
39
  import { deserialize } from 'serializr';
39
40
  import {
@@ -78,6 +79,9 @@ import {
78
79
  type V1_MappingIncludeProtocolSerializer,
79
80
  type V1_MappingIncludeProtocolDeserializer,
80
81
  type V1_MappingIncludeIdentifierBuilder,
82
+ type QueryExecutionContextInfo,
83
+ type V1_SavedQueryExecutionBuilder,
84
+ type V1_ElementPointerType,
81
85
  type V1_RawLambda,
82
86
  V1_taggedValueModelSchema,
83
87
  PackageableElementExplicitReference,
@@ -96,15 +100,16 @@ import {
96
100
  Package,
97
101
  V1_RawValueSpecificationTransformer,
98
102
  V1_buildRawLambdaWithResolvedPaths,
99
- type V1_ElementPointerType,
100
103
  V1_buildEmbeddedData,
101
104
  V1_transformEmbeddedData,
102
105
  DataElementReference,
103
106
  V1_DataElementReference,
107
+ QueryDataSpaceExecutionContextInfo,
104
108
  } from '@finos/legend-graph';
105
109
  import { V1_resolveDiagram } from '@finos/legend-extension-dsl-diagram/graph';
106
110
  import { V1_MappingIncludeDataSpace } from './v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js';
107
111
  import { MappingIncludeDataSpace } from '../../../graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.js';
112
+ import type { Entity } from '@finos/legend-storage';
108
113
 
109
114
  export const DATA_SPACE_ELEMENT_CLASSIFIER_PATH =
110
115
  'meta::pure::metamodel::dataSpace::DataSpace';
@@ -567,6 +572,51 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin
567
572
  },
568
573
  ];
569
574
  }
575
+
576
+ override V1_getExtraSavedQueryExecutionBuilder(): V1_SavedQueryExecutionBuilder[] {
577
+ return [
578
+ (
579
+ queryExec: QueryExecutionContextInfo,
580
+ entites: Entity[],
581
+ ): { mapping: string; runtime: string } | undefined => {
582
+ if (queryExec instanceof QueryDataSpaceExecutionContextInfo) {
583
+ const dataSpace = queryExec.dataSpacePath;
584
+ const dataSpaceEntity = entites.find((e) => e.path === dataSpace);
585
+ if (dataSpaceEntity) {
586
+ const content = dataSpaceEntity.content;
587
+ if (content._type === V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE) {
588
+ const v1DataSpace = returnUndefOnError(() =>
589
+ V1_deserializeDataSpace(content),
590
+ );
591
+ if (v1DataSpace) {
592
+ if (v1DataSpace.executionContexts.length === 1) {
593
+ const exec = guaranteeNonNullable(
594
+ v1DataSpace.executionContexts[0],
595
+ );
596
+ return {
597
+ mapping: exec.mapping.path,
598
+ runtime: exec.defaultRuntime.path,
599
+ };
600
+ }
601
+ const resvoled =
602
+ queryExec.executionKey ?? v1DataSpace.defaultExecutionContext;
603
+ const resolvedExec = guaranteeNonNullable(
604
+ v1DataSpace.executionContexts.find(
605
+ (e) => e.name === resvoled,
606
+ ),
607
+ );
608
+ return {
609
+ mapping: resolvedExec.mapping.path,
610
+ runtime: resolvedExec.defaultRuntime.path,
611
+ };
612
+ }
613
+ }
614
+ }
615
+ }
616
+ return undefined;
617
+ },
618
+ ];
619
+ }
570
620
  }
571
621
 
572
622
  export const extractDataSpaceTaxonomyNodes = (