@finos/legend-application-query 12.0.9 → 13.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__lib__/LegendQueryEvent.d.ts +1 -0
- package/lib/__lib__/LegendQueryEvent.d.ts.map +1 -1
- package/lib/__lib__/LegendQueryEvent.js +1 -0
- package/lib/__lib__/LegendQueryEvent.js.map +1 -1
- package/lib/__lib__/LegendQueryTelemetryHelper.d.ts +7 -6
- package/lib/__lib__/LegendQueryTelemetryHelper.d.ts.map +1 -1
- package/lib/__lib__/LegendQueryTelemetryHelper.js +15 -12
- package/lib/__lib__/LegendQueryTelemetryHelper.js.map +1 -1
- package/lib/__lib__/LegendQueryUserDataHelper.d.ts +27 -0
- package/lib/__lib__/LegendQueryUserDataHelper.d.ts.map +1 -0
- package/lib/__lib__/LegendQueryUserDataHelper.js +63 -0
- package/lib/__lib__/LegendQueryUserDataHelper.js.map +1 -0
- package/lib/components/EditExistingQuerySetup.d.ts.map +1 -1
- package/lib/components/EditExistingQuerySetup.js +7 -71
- package/lib/components/EditExistingQuerySetup.js.map +1 -1
- package/lib/components/QueryEditor.d.ts.map +1 -1
- package/lib/components/QueryEditor.js +47 -97
- package/lib/components/QueryEditor.js.map +1 -1
- package/lib/components/QueryProductionizerSetup.d.ts.map +1 -1
- package/lib/components/QueryProductionizerSetup.js +6 -47
- package/lib/components/QueryProductionizerSetup.js.map +1 -1
- package/lib/components/QuerySetup.d.ts +3 -3
- package/lib/components/QuerySetup.d.ts.map +1 -1
- package/lib/components/QuerySetup.js +1 -1
- package/lib/components/QuerySetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/EditExistingQuerySetupStore.d.ts +3 -12
- package/lib/stores/EditExistingQuerySetupStore.d.ts.map +1 -1
- package/lib/stores/EditExistingQuerySetupStore.js +27 -64
- package/lib/stores/EditExistingQuerySetupStore.js.map +1 -1
- package/lib/stores/LegendQueryApplicationPlugin.d.ts +4 -3
- package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/stores/QueryEditorStore.d.ts +25 -39
- package/lib/stores/QueryEditorStore.d.ts.map +1 -1
- package/lib/stores/QueryEditorStore.js +44 -81
- package/lib/stores/QueryEditorStore.js.map +1 -1
- package/lib/stores/QueryProductionizerSetupStore.d.ts +4 -10
- package/lib/stores/QueryProductionizerSetupStore.d.ts.map +1 -1
- package/lib/stores/QueryProductionizerSetupStore.js +29 -62
- package/lib/stores/QueryProductionizerSetupStore.js.map +1 -1
- package/lib/stores/QuerySetupStore.d.ts.map +1 -1
- package/lib/stores/QuerySetupStore.js +4 -1
- package/lib/stores/QuerySetupStore.js.map +1 -1
- package/package.json +10 -10
- package/src/__lib__/LegendQueryEvent.ts +1 -0
- package/src/__lib__/LegendQueryTelemetryHelper.ts +19 -26
- package/src/__lib__/LegendQueryUserDataHelper.ts +92 -0
- package/src/components/EditExistingQuerySetup.tsx +10 -204
- package/src/components/QueryEditor.tsx +87 -291
- package/src/components/QueryProductionizerSetup.tsx +9 -124
- package/src/components/QuerySetup.tsx +1 -1
- package/src/index.ts +4 -1
- package/src/stores/EditExistingQuerySetupStore.ts +54 -87
- package/src/stores/LegendQueryApplicationPlugin.ts +4 -3
- package/src/stores/QueryEditorStore.ts +91 -107
- package/src/stores/QueryProductionizerSetupStore.ts +55 -84
- package/src/stores/QuerySetupStore.ts +10 -1
- package/tsconfig.json +1 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,MAAM,EACN,qBAAqB,EACrB,iBAAiB,EACjB,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AAW,GAAG,MAAM,CAAC,gCAAgC,CAAC,YAAY,CAAC,CAAC;IAE1E,OAAO,CACL,KAAC,gCAAgC,IAC/B,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,YAExB,KAAC,WAAW,KAAG,GACkB,CACpC,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryProductionizerSetup.d.ts","sourceRoot":"","sources":["../../src/components/QueryProductionizerSetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
1
|
+
{"version":3,"file":"QueryProductionizerSetup.d.ts","sourceRoot":"","sources":["../../src/components/QueryProductionizerSetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA6EH,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAM5C,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
/**
|
3
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
4
|
*
|
@@ -14,18 +14,16 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { ArrowLeftIcon
|
18
|
-
import {
|
19
|
-
import { flowResult } from 'mobx';
|
17
|
+
import { ArrowLeftIcon } from '@finos/legend-art';
|
18
|
+
import { guaranteeType } from '@finos/legend-shared';
|
20
19
|
import { observer, useLocalObservable } from 'mobx-react-lite';
|
21
|
-
import { useContext
|
20
|
+
import { useContext } from 'react';
|
22
21
|
import { useApplicationStore } from '@finos/legend-application';
|
23
22
|
import { useLegendQueryApplicationStore, useLegendQueryBaseStore, } from './LegendQueryFrameworkProvider.js';
|
24
23
|
import { QueryProductionizerSetupStore } from '../stores/QueryProductionizerSetupStore.js';
|
25
24
|
import { BaseQuerySetup, BaseQuerySetupStoreContext } from './QuerySetup.js';
|
26
|
-
import { buildQueryOption, } from '@finos/legend-query-builder';
|
27
25
|
import { generateQuerySetupRoute } from '../__lib__/LegendQueryNavigation.js';
|
28
|
-
import {
|
26
|
+
import { QueryLoader } from '@finos/legend-query-builder';
|
29
27
|
const QueryProductionizerSetupStoreProvider = ({ children }) => {
|
30
28
|
const applicationStore = useLegendQueryApplicationStore();
|
31
29
|
const baseStore = useLegendQueryBaseStore();
|
@@ -36,50 +34,11 @@ const useQueryProductionizerSetupStore = () => guaranteeType(useContext(BaseQuer
|
|
36
34
|
const QueryProductionizerSetupContent = observer(() => {
|
37
35
|
const applicationStore = useApplicationStore();
|
38
36
|
const setupStore = useQueryProductionizerSetupStore();
|
39
|
-
const querySearchRef = useRef(null);
|
40
|
-
const [searchText, setSearchText] = useState('');
|
41
37
|
// actions
|
42
38
|
const back = () => {
|
43
39
|
applicationStore.navigationService.navigator.goToLocation(generateQuerySetupRoute());
|
44
40
|
};
|
45
|
-
|
46
|
-
if (setupStore.currentQuery) {
|
47
|
-
setupStore
|
48
|
-
.loadQueryProductionizer()
|
49
|
-
.catch(applicationStore.alertUnhandledError);
|
50
|
-
}
|
51
|
-
};
|
52
|
-
const canProceed = setupStore.currentQuery;
|
53
|
-
// query
|
54
|
-
const queryOptions = setupStore.queries.map(buildQueryOption);
|
55
|
-
const selectedQueryOption = setupStore.currentQuery
|
56
|
-
? buildQueryOption(setupStore.currentQuery)
|
57
|
-
: null;
|
58
|
-
const onQueryOptionChange = (option) => {
|
59
|
-
if (option?.value !== setupStore.currentQuery) {
|
60
|
-
setupStore.setCurrentQuery(option?.value.id);
|
61
|
-
}
|
62
|
-
};
|
63
|
-
// search text
|
64
|
-
const debouncedLoadQueries = useMemo(() => debounce((input) => {
|
65
|
-
flowResult(setupStore.loadQueries(input)).catch(applicationStore.alertUnhandledError);
|
66
|
-
}, 500), [applicationStore, setupStore]);
|
67
|
-
const onSearchTextChange = (value) => {
|
68
|
-
if (value !== searchText) {
|
69
|
-
setSearchText(value);
|
70
|
-
debouncedLoadQueries.cancel();
|
71
|
-
debouncedLoadQueries(value);
|
72
|
-
}
|
73
|
-
};
|
74
|
-
useEffect(() => {
|
75
|
-
flowResult(setupStore.loadQueries('')).catch(applicationStore.alertUnhandledError);
|
76
|
-
}, [setupStore, applicationStore]);
|
77
|
-
useEffect(() => {
|
78
|
-
querySearchRef.current?.focus();
|
79
|
-
}, []);
|
80
|
-
return (_jsxs("div", { className: "query-setup__wizard query-setup__productionize-query", children: [_jsxs("div", { className: "query-setup__wizard__header query-setup__productionize-query__header", children: [_jsx("button", { className: "query-setup__wizard__header__btn", onClick: back, title: "Back to Main Menu", children: _jsx(ArrowLeftIcon, {}) }), _jsx("div", { className: "query-setup__wizard__header__title", children: "Productionizing an existing query..." }), _jsx("button", { className: clsx('query-setup__wizard__header__btn', {
|
81
|
-
'query-setup__wizard__header__btn--ready': canProceed,
|
82
|
-
}), onClick: next, disabled: !canProceed, title: "Productionize query", children: _jsx(ArrowRightIcon, {}) })] }), _jsxs("div", { className: "query-setup__wizard__content", children: [_jsxs("div", { className: "query-setup__wizard__group query-setup__wizard__group--inline", children: [_jsx("div", { className: "query-setup__wizard__group__title", children: _jsx(SearchIcon, {}) }), _jsx(CustomSelectorInput, { ref: querySearchRef, className: "query-setup__wizard__selector", options: queryOptions, isLoading: setupStore.loadQueriesState.isInProgress, onInputChange: onSearchTextChange, inputValue: searchText, onChange: onQueryOptionChange, value: selectedQueryOption, placeholder: "Search for query by name...", isClearable: true, escapeClearsValue: true, darkMode: true })] }), _jsxs("div", { className: "query-setup__productionize-query__preview", children: [_jsx(PanelLoadingIndicator, { isLoading: setupStore.loadQueryState.isInProgress }), setupStore.currentQuery && (_jsxs(_Fragment, { children: [!setupStore.currentQueryInfo && (_jsx(BlankPanelContent, { children: `Can't preview query` })), setupStore.currentQueryInfo && (_jsx(CodeEditor, { inputValue: setupStore.currentQueryInfo.content, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE, showMiniMap: false, hideGutter: true }))] })), !setupStore.currentQuery && (_jsx(BlankPanelContent, { children: "No query to preview" }))] })] })] }));
|
41
|
+
return (_jsxs("div", { className: "query-setup__wizard query-setup__productionize-query", children: [_jsxs("div", { className: "query-setup__wizard__header query-setup__productionize-query__header", children: [_jsx("button", { className: "query-setup__wizard__header__btn", onClick: back, title: "Back to Main Menu", children: _jsx(ArrowLeftIcon, {}) }), _jsx("div", { className: "query-setup__wizard__header__title", children: "Productionizing an existing query..." })] }), _jsx("div", { className: "query-setup__productionize-query__content", children: _jsx(QueryLoader, { queryLoaderState: setupStore.queryLoaderState, loadActionLabel: "productionize query" }) })] }));
|
83
42
|
});
|
84
43
|
export const QueryProductionizerSetup = () => (_jsx(QueryProductionizerSetupStoreProvider, { children: _jsx(BaseQuerySetup, { children: _jsx(QueryProductionizerSetupContent, {}) }) }));
|
85
44
|
//# sourceMappingURL=QueryProductionizerSetup.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryProductionizerSetup.js","sourceRoot":"","sources":["../../src/components/QueryProductionizerSetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"QueryProductionizerSetup.js","sourceRoot":"","sources":["../../src/components/QueryProductionizerSetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,8BAA8B,EAC9B,uBAAu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AAK,EAAC,mBAAmB,YAEzB,KAAC,aAAa,KAAG,GACV,EACT,cAAK,SAAS,EAAC,oCAAoC,qDAE7C,IACF,EACN,cAAK,SAAS,EAAC,2CAA2C,YACxD,KAAC,WAAW,IACV,gBAAgB,EAAE,UAAU,CAAC,gBAAgB,EAC7C,eAAe,EAAC,qBAAqB,GACrC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAa,GAAG,EAAE,CAAC,CACtD,KAAC,qCAAqC,cACpC,KAAC,cAAc,cACb,KAAC,+BAA+B,KAAG,GACpB,GACqB,CACzC,CAAC"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
17
|
import { QuerySetupLandingPageStore, type BaseQuerySetupStore } from '../stores/QuerySetupStore.js';
|
18
18
|
import { type StoreProjectData } from '@finos/legend-server-depot';
|
19
19
|
export type ProjectOption = {
|
@@ -28,8 +28,8 @@ export type VersionOption = {
|
|
28
28
|
export declare const buildVersionOption: (version: string) => VersionOption;
|
29
29
|
export declare const useQuerySetupLandingPageStore: () => QuerySetupLandingPageStore;
|
30
30
|
export declare const withQuerySetupLandingPageStore: (WrappedComponent: React.FC) => React.FC;
|
31
|
-
export declare const QuerySetupLandingPage:
|
32
|
-
export declare const BaseQuerySetupStoreContext:
|
31
|
+
export declare const QuerySetupLandingPage: import("react").FC<{}>;
|
32
|
+
export declare const BaseQuerySetupStoreContext: import("react").Context<BaseQuerySetupStore | undefined>;
|
33
33
|
export declare const useBaseQuerySetupStore: () => BaseQuerySetupStore;
|
34
34
|
export declare const BaseQuerySetup: ((props: {
|
35
35
|
children: React.ReactNode;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QuerySetup.d.ts","sourceRoot":"","sources":["../../src/components/QuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
1
|
+
{"version":3,"file":"QuerySetup.d.ts","sourceRoot":"","sources":["../../src/components/QuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAwBH,OAAO,EACL,0BAA0B,EAC1B,KAAK,mBAAmB,EACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,4BAA4B,CAAC;AAKpC,MAAM,MAAM,aAAa,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,gBAAgB,CAAA;CAAE,CAAC;AACvE,eAAO,MAAM,kBAAkB,YACpB,gBAAgB,KACxB,aAGD,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7D,eAAO,MAAM,kBAAkB,YAAa,MAAM,KAAG,aAWpD,CAAC;AAoBF,eAAO,MAAM,6BAA6B,QAAO,0BAI9C,CAAC;AAEJ,eAAO,MAAM,8BAA8B,qBACvB,MAAM,EAAE,KACzB,MAAM,EAON,CAAC;AA+JJ,eAAO,MAAM,qBAAqB,wBAoHjC,CAAC;AAEF,eAAO,MAAM,0BAA0B,0DAE3B,CAAC;AAEb,eAAO,MAAM,sBAAsB,QAAO,mBAIvC,CAAC;AAEJ,eAAO,MAAM,cAAc,WACjB;IAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;CAAE;;CAwCtC,CAAC"}
|
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
17
17
|
import { clsx, PanelLoadingIndicator, QuestionCircleIcon, CogIcon, MoreHorizontalIcon, DropdownMenu, PencilIcon, ThinChevronDownIcon, CircleIcon, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, MenuContentDivider, AssistantIcon, } from '@finos/legend-art';
|
18
18
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
19
19
|
import { observer, useLocalObservable } from 'mobx-react-lite';
|
20
|
-
import
|
20
|
+
import { createContext, useContext, useEffect } from 'react';
|
21
21
|
import { LEGEND_QUERY_SETUP_QUERY_PARAM_TOKEN } from '../__lib__/LegendQueryNavigation.js';
|
22
22
|
import { QuerySetupLandingPageStore, } from '../stores/QuerySetupStore.js';
|
23
23
|
import { MASTER_SNAPSHOT_ALIAS, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QuerySetup.js","sourceRoot":"","sources":["../../src/components/QuerySetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,kBAAkB,EAClB,OAAO,EACP,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,mBAAmB,EACnB,UAAU,EACV,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,kBAAkB,EAClB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,
|
1
|
+
{"version":3,"file":"QuerySetup.js","sourceRoot":"","sources":["../../src/components/QuerySetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,kBAAkB,EAClB,OAAO,EACP,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,mBAAmB,EACnB,UAAU,EACV,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,kBAAkB,EAClB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;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AyB,aACtC,cAAK,SAAS,EAAC,+BAA+B,GAAO,EACrD,cAAK,SAAS,EAAC,gCAAgC,YAC7C,iBACE,SAAS,EAAE,IAAI,CACb,0EAA0E,EAC1E;wCACE,kDAAkD,EAChD,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,QAAQ;qCAC9C,CACF,EACD,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,kBAAkB,YAExB,KAAC,aAAa,KAAG,GACV,GACL,IACF,IACL,CACJ,IACA,CACJ,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/** @license @finos/legend-application-query
|
1
|
+
/** @license @finos/legend-application-query v13.0.1
|
2
2
|
* Copyright (c) 2020-present, Goldman Sachs
|
3
3
|
*
|
4
4
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -14,4 +14,4 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
.query-setup{display:flex;justify-content:center;width:100%;height:calc(100% - 2.2rem);padding:20rem;overflow:overlay}.query-setup__status-bar{display:flex;align-items:center;display:flex;justify-content:space-between;height:2.2rem;background:var(--color-blue-100);color:var(--color-light-grey-0);padding:0 .5rem 0 1rem}.query-setup__status-bar__left{height:100%;display:flex;align-items:center}.query-setup__status-bar__right{height:100%;display:flex;align-items:center}.query-setup__status-bar__action{display:flex;align-items:center;justify-content:center;cursor:pointer;background:none;height:100%;width:3rem}.query-setup__status-bar__action__toggler{color:var(--color-dark-shade-300)}.query-setup__status-bar__action__toggler--toggled{color:var(--color-light-grey-0)}.query-setup__landing-page{display:flex;flex-direction:column;width:62rem}.query-setup__landing-page__title{display:flex;align-items:center;justify-content:flex-start;color:var(--color-light-grey-400);font-family:"Roboto Mono",monospace;font-size:1.4rem;margin-bottom:1rem;cursor:default;user-select:none}.query-setup__landing-page__title__question-mark{margin-left:.7rem;color:var(--color-dark-grey-500);font-size:1.6rem}.query-setup__landing-page__title__question-mark:hover{color:var(--color-yellow-100);cursor:help}.query-setup__landing-page__action-group{display:flex;flex-direction:column;background:var(--color-dark-grey-80);border-radius:.2rem;position:relative}.query-setup__landing-page__action-group__tag{display:flex;align-items:center;height:1.6rem;background:var(--color-blue-200);color:var(--color-light-grey-0);font-size:1.1rem;padding:.5rem;border-radius:.2rem;margin-left:.5rem;position:absolute;top:-0.5rem;font-weight:700;font-family:"Roboto Mono",monospace;user-select:none;cursor:default}.query-setup__landing-page__action-group--studio .query-setup__landing-page__action-group__tag{background:var(--color-purple-200)}.query-setup__landing-page__action-group__header{display:flex;align-items:center;justify-content:flex-end;height:2.5rem}.query-setup__landing-page__action-group__config{display:flex;align-items:center;justify-content:center;height:2.5rem;width:2.5rem;cursor:pointer;color:var(--color-dark-grey-400);position:relative}.query-setup__landing-page__action-group__config:hover{color:var(--color-dark-grey-500)}.query-setup__landing-page__action-group__config__status{position:absolute;right:.4rem;bottom:.2rem}.query-setup__landing-page__action-group__config__status svg{font-size:.8rem;color:var(--color-blue-100)}.query-setup__landing-page__action-group__body{display:flex;justify-content:center}.query-setup__landing-page__action-group__body__column{display:flex;align-items:center;flex-direction:column;width:28rem}.query-setup__landing-page__action-group__body__column+.query-setup__landing-page__action-group__body__column{border-left:.2rem solid var(--color-dark-grey-50)}.query-setup__landing-page__action-group__footer{display:flex;align-items:center;justify-content:center;height:2.5rem}.query-setup__landing-page__action-group__footer__content{display:flex;align-items:flex-start;justify-content:flex-end;width:54rem;height:2.5rem}.query-setup__landing-page__action-group__footer__btn svg{font-size:2rem;color:var(--color-dark-grey-400)}.query-setup__landing-page__action-group__footer__btn:hover svg{color:var(--color-dark-grey-500)}.query-setup__landing-page__action-group+.query-setup__landing-page__action-group{margin-top:1rem}.query-setup__landing-page__action{display:flex;align-items:center;height:3.4rem;width:26rem;border-radius:.2rem;background:var(--color-light-grey-400);user-select:none}.query-setup__landing-page__action--existing-query:hover{background:var(--color-magenta-50)}.query-setup__landing-page__action--taxonomy-query:hover{background:var(--color-blue-50)}.query-setup__landing-page__action--service-query:hover{background:var(--color-blue-50)}.query-setup__landing-page__action--productionize-query:hover{background:var(--color-orange-100)}.query-setup__landing-page__action--create-mapping-query:hover{background:var(--color-lime-75)}.query-setup__landing-page__action--studio{width:54rem}.query-setup__landing-page__action--studio:hover{background:var(--color-lime-75)}.query-setup__landing-page__action--advanced{background:var(--color-dark-grey-400)}.query-setup__landing-page__action__icon{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:3.4rem;width:3.4rem;border-right:.1rem solid var(--color-dark-shade-300)}.query-setup__landing-page__action__icon svg{color:var(--color-dark-shade-800)}.query-setup__landing-page__action__label{display:flex;align-items:center;padding:0 1.5rem;height:100%;width:100%;color:var(--color-dark-shade-800);font-size:1.2rem;font-weight:500}.query-setup__landing-page__action+.query-setup__landing-page__action{margin-top:.5rem}.query-setup__landing-page__icon--search{font-size:2rem}.query-setup__landing-page__footer{display:flex;justify-content:flex-end;padding:.5rem 1rem}.query-setup__landing-page__footer__more-btn svg{font-size:2.6rem;color:var(--color-dark-grey-250);animation:bouncedown .5s alternate ease infinite}.query-setup__landing-page__footer__more-btn:hover svg{color:var(--color-dark-grey-400)}@keyframes bouncedown{from{transform:translateY(0.2rem)}to{transform:translateY(-0.2rem)}}.query-setup__landing-page__config-menu .menu__item{font-size:1.2rem;height:2.2rem}.query-setup__landing-page__config-menu .menu__item__icon svg{font-size:1.2rem}.query-setup__landing-page__config-menu .menu__item__label{font-size:1.2rem;margin-left:.5rem}.query-setup__wizard{display:flex;flex-direction:column;width:60rem;background:var(--color-dark-grey-80);border-radius:.2rem}.query-setup__wizard__header{display:flex;align-items:center;height:3.4rem;border-radius:.2rem .2rem 0 0}.query-setup__wizard__header__btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:100%;width:5rem}.query-setup__wizard__header__btn svg{font-size:1.2rem;color:var(--color-dark-shade-250)}.query-setup__wizard__header__btn:not([disabled]):hover svg{color:var(--color-dark-shade-800)}.query-setup__wizard__header__btn--ready svg{color:var(--color-dark-shade-800);animation:nudge-horizontal .5s infinite ease}.query-setup__wizard__header__btn[disabled]{background:var(--color-dark-grey-80);cursor:not-allowed}.query-setup__wizard__header__btn[disabled] svg{color:var(--color-dark-grey-280)}.query-setup__wizard__header__title{display:flex;align-items:center;height:100%;width:calc(100% - 10rem);padding:0 2rem;color:var(--color-dark-shade-800);font-family:"Roboto Mono",monospace;font-size:1.3rem;border-left:.1rem solid var(--color-dark-shade-250);cursor:default}.query-setup__wizard__content{display:flex;align-items:center;flex-direction:column;height:calc(100% - 3.4rem)}.query-setup__wizard__group__title{display:flex;align-items:center;height:3.4rem;color:var(--color-light-grey-400);font-family:"Roboto Mono",monospace;font-size:1.3rem;user-select:none}.query-setup__wizard__group--inline{height:2.8rem;display:flex}.query-setup__wizard__group--inline .query-setup__wizard__group__title{margin-right:.5rem;justify-content:center;width:2.8rem;height:2.8rem}.query-setup__wizard__group+.query-setup__wizard__group{margin-top:1rem}.query-setup__wizard__selector{width:50rem}@keyframes nudge-horizontal{from{transform:translateX(0.1rem)}to{transform:translateX(-0.1rem)}}.query-setup__create-query{height:38.2rem}.query-setup__create-query__header{background:var(--color-lime-75)}.query-setup__create-query__project{display:flex;align-items:center;justify-content:center;flex-direction:column;height:16.9rem;padding:2.5rem 0 1rem}.query-setup__create-query__graph{display:flex;flex-direction:column;height:13.4rem;width:50rem}.query-setup__create-query__graph__loader{height:13.4rem;border:.1rem solid var(--color-dark-grey-200);margin-top:2rem}.query-setup__service-query{height:32.2rem}.query-setup__service-query__header{background:var(--color-blue-50)}.query-setup__service-query__project{display:flex;align-items:center;justify-content:center;flex-direction:column;height:16.9rem;padding:2.5rem 0 1rem}.query-setup__service-query__graph{display:flex;flex-direction:column;height:8.4rem;width:50rem}.query-setup__service-query__graph__loader{height:13.4rem;border:.1rem solid var(--color-dark-grey-200);margin-top:2rem}.query-setup__service-query .query-setup__wizard__group{width:100%}.query-setup__existing-service-query{width:calc(100% - 10rem);height:10.2rem}.query-setup__existing-service-query__header{background:var(--color-blue-50)}.query-setup__existing-service-query__search-bar{height:2.8rem;width:100%}.query-setup__existing-service-query .query-setup__wizard__selector{width:100%}.query-setup__existing-service-query .query-setup__wizard__content{display:flex;align-items:center;padding:2rem}.query-setup__existing-query__header{background:var(--color-magenta-50)}.query-setup__existing-query .query-setup__wizard__content{padding:3rem}.query-setup__existing-query .query-setup__wizard__selector{width:46.7rem}.query-setup__existing-query__input{display:flex;align-items:center;width:50rem}.query-setup__existing-query__query-option{display:flex;align-items:center}.query-setup__existing-query__query-option__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;width:calc(100% - 6rem)}.query-setup__existing-query__query-option__action{display:flex;align-items:center;justify-content:center;width:5rem;height:1.8rem;border-radius:.2rem;font-size:1rem;font-weight:500;background:var(--color-dark-grey-250);color:var(--color-dark-grey-500);margin-left:1rem}.query-setup__existing-query__query-option__action:hover{background:var(--color-magenta-50);color:var(--color-dark-shade-800)}.query-setup__existing-query__query-option__user{display:flex;align-items:center;justify-content:center;width:5rem;height:1.8rem;border-radius:.2rem;font-size:1rem;font-weight:500;background:var(--color-dark-grey-250);color:var(--color-dark-grey-500);margin-left:1rem}.query-setup__existing-query__query-option__user--mine{background:var(--color-magenta-50);color:var(--color-dark-shade-800)}.query-setup__existing-query__preview{width:53.3rem;height:30rem;margin-top:.5rem;position:relative;border:.1rem solid var(--color-dark-grey-200)}.query-setup__existing-query__btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;height:2.8rem;background:var(--color-dark-grey-100);border:.1rem solid var(--color-dark-grey-250);margin-left:.5rem;border-radius:.2rem}.query-setup__existing-query__btn svg{color:var(--color-dark-grey-500)}.query-setup__existing-query__btn--active{background:var(--color-magenta-50);border:none}.query-setup__existing-query__btn--active svg{color:var(--color-dark-shade-300)}.query-setup__productionize-query__header{background:var(--color-magenta-50)}.query-setup__productionize-query .query-setup__wizard__content{padding:3rem}.query-setup__productionize-query .query-setup__wizard__selector{width:50rem}.query-setup__productionize-query__query-option{display:flex;align-items:center}.query-setup__productionize-query__query-option__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;width:100%}.query-setup__productionize-query__preview{width:53.3rem;height:30rem;margin-top:.5rem;position:relative;border:.1rem solid var(--color-dark-grey-200)}.query-setup__productionize-query__btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;height:2.8rem;background:var(--color-dark-grey-100);border:.1rem solid var(--color-dark-grey-250);margin-left:.5rem;border-radius:.2rem}.query-setup__productionize-query__btn svg{color:var(--color-dark-grey-500)}.query-setup__productionize-query__btn--active{background:var(--color-magenta-50);border:none}.query-setup__productionize-query__btn--active svg{color:var(--color-dark-shade-300)}.query-editor{display:flex;flex-direction:column;width:100%;height:100%}.query-editor__header{display:flex;align-items:center;height:3.4rem;padding:.2rem;background:var(--color-dark-grey-80);border-bottom:.1rem solid var(--color-dark-grey-100)}.query-editor__header__menu{height:3.4rem;width:5rem;border-right:.1rem solid var(--color-dark-grey-200)}.query-editor__header__menu-item{display:flex;align-items:center;justify-content:center;height:3.4rem;width:100%;color:var(--color-dark-grey-400)}.query-editor__header__menu-item svg{font-size:2.3rem}.query-editor__header__content{display:flex;align-items:center;display:flex;justify-content:space-between;height:100%;width:100%}.query-editor__header__content__title{color:var(--color-light-grey-180);flex:1;margin:0 1rem;padding:.5rem;margin-right:10%}.query-editor__header__actions{display:flex;align-items:center;height:100%}.query-editor__header__action{display:flex;align-items:center;justify-content:center;height:2.8rem;min-width:2rem;padding:0 .5rem;border-radius:.2rem;margin:0 .3rem}.query-editor__header__action svg{color:var(--color-light-grey-100)}.query-editor__header__action__label{margin-left:.5rem;font-size:1.2rem}.query-editor__header__action__icon--load{font-size:2rem;margin-bottom:.1rem}.query-editor__header__action__icon--bulb--light{color:var(--color-yellow-100) !important}.query-editor__header__action__icon--bulb--light:hover,.query-editor__header__action__icon--bulb--dark:hover{color:var(--color-yellow-200) !important}.query-editor__header__action__icon--bulb--dark{color:var(--color-light-grey-50) !important}.query-editor__header__action__icon--service{font-size:1.2rem}.query-editor__header__action__icon--productionize{font-size:1.3rem}.query-editor__header__action__view-project{display:flex;align-items:center;width:4.4rem;padding:0}.query-editor__header__action__view-project__btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:.2rem 0 0 .2rem;padding:0 .5rem}.query-editor__header__action__view-project__dropdown-trigger{display:flex;align-items:center;height:2.8rem;width:1.6rem;border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-200);cursor:pointer}.query-editor__header__action__view-project__dropdown-trigger svg{font-size:1.2rem}.query-editor__header__action+.query-editor__header__action{margin-left:.2rem}.query-editor__content{height:calc(100% - 3.4rem);width:100%}.query-editor__query-loader__filter-section__section__toggler{display:flex;align-items:center;margin-top:1rem}.query-editor__query-loader__filter-section__section__toggler__btn{align-self:flex-start;padding-top:.2rem}.query-editor__query-loader__filter-section__section__toggler__btn svg{font-size:2rem;color:var(--color-dark-grey-250)}.query-editor__query-loader__filter-section__section__toggler__btn:hover svg{font-size:2rem;color:var(--color-dark-grey-280)}.query-editor__query-loader__filter-section__section__toggler__btn--toggled svg{font-size:2rem;color:var(--color-blue-150)}.query-editor__query-loader__filter-section__section__toggler__btn--toggled:hover svg{font-size:2rem;color:var(--color-blue-100)}.query-editor__query-loader__filter-section__section__toggler__prompt{word-break:break-word;margin-left:.8rem;color:var(--color-light-grey-400);line-height:2rem;cursor:pointer}.query-editor__query-loader__search-section{display:flex;align-items:center;justify-content:center;margin-top:.5rem;border-bottom:.1rem solid var(--color-dark-grey-250);height:4.4rem;position:relative}.query-editor__query-loader__search-section__input{font-size:1.3rem;height:2.8rem;padding-right:2.8rem;padding-left:1rem;width:100%;background:var(--color-dark-grey-85);border-radius:.2rem;border:.1rem solid var(--color-dark-grey-200)}.query-editor__query-loader__search-section__input__container{display:flex;align-items:center;justify-content:center;position:relative;height:2.8rem;width:100%}.query-editor__query-loader__search-section__input--searching{padding-right:5.6rem}.query-editor__query-loader__search-section__input__search__icon{display:flex;align-items:center;justify-content:center;position:absolute;right:.2rem;height:2.8rem;width:2.8rem}.query-editor__query-loader__search-section__input__search__icon svg{color:var(--color-light-shade-100)}.query-editor__query-loader__search-section__input__clear-btn{display:flex;align-items:center;justify-content:center;position:absolute;right:.2rem;height:2.8rem;width:2.8rem}.query-editor__query-loader__search-section__input__clear-btn svg{color:var(--color-dark-grey-400)}.query-editor__query-loader__search-section__input__clear-btn:hover svg{color:var(--color-dark-grey-500)}.query-editor__query-loader__body{padding:0;margin-top:2rem;margin-bottom:4rem;height:40rem;overflow-y:scroll}.query-editor__query-loader__body .table{width:100%;color:var(--color-light-grey-400);font-family:"Roboto Mono",monospace}.query-editor__query-loader__body .table th{font-weight:bold}.query-editor__query-loader__body__table__row:hover{color:var(--color-light-grey-50);background:var(--color-dark-grey-350)}.query-editor__query-loader__body__table__row--selected:hover,.query-editor__query-loader__body__table__row--selected{background:var(--color-blue-500)}.query-export{width:50vw;padding:0;overflow:hidden}.query-export .input{width:100%}/*# sourceMappingURL=index.css.map */
|
17
|
+
.query-setup{display:flex;justify-content:center;width:100%;height:calc(100% - 2.2rem);padding:20rem;overflow:overlay}.query-setup__status-bar{display:flex;align-items:center;display:flex;justify-content:space-between;height:2.2rem;background:var(--color-blue-100);color:var(--color-light-grey-0);padding:0 .5rem 0 1rem}.query-setup__status-bar__left{height:100%;display:flex;align-items:center}.query-setup__status-bar__right{height:100%;display:flex;align-items:center}.query-setup__status-bar__action{display:flex;align-items:center;justify-content:center;cursor:pointer;background:none;height:100%;width:3rem}.query-setup__status-bar__action__toggler{color:var(--color-dark-shade-300)}.query-setup__status-bar__action__toggler--toggled{color:var(--color-light-grey-0)}.query-setup__landing-page{display:flex;flex-direction:column;width:62rem}.query-setup__landing-page__title{display:flex;align-items:center;justify-content:flex-start;color:var(--color-light-grey-400);font-family:"Roboto Mono",monospace;font-size:1.4rem;margin-bottom:1rem;cursor:default;user-select:none}.query-setup__landing-page__title__question-mark{margin-left:.7rem;color:var(--color-dark-grey-500);font-size:1.6rem}.query-setup__landing-page__title__question-mark:hover{color:var(--color-yellow-100);cursor:help}.query-setup__landing-page__action-group{display:flex;flex-direction:column;background:var(--color-dark-grey-80);border-radius:.2rem;position:relative}.query-setup__landing-page__action-group__tag{display:flex;align-items:center;height:1.6rem;background:var(--color-blue-200);color:var(--color-light-grey-0);font-size:1.1rem;padding:.5rem;border-radius:.2rem;margin-left:.5rem;position:absolute;top:-0.5rem;font-weight:700;font-family:"Roboto Mono",monospace;user-select:none;cursor:default}.query-setup__landing-page__action-group--studio .query-setup__landing-page__action-group__tag{background:var(--color-purple-200)}.query-setup__landing-page__action-group__header{display:flex;align-items:center;justify-content:flex-end;height:2.5rem}.query-setup__landing-page__action-group__config{display:flex;align-items:center;justify-content:center;height:2.5rem;width:2.5rem;cursor:pointer;color:var(--color-dark-grey-400);position:relative}.query-setup__landing-page__action-group__config:hover{color:var(--color-dark-grey-500)}.query-setup__landing-page__action-group__config__status{position:absolute;right:.4rem;bottom:.2rem}.query-setup__landing-page__action-group__config__status svg{font-size:.8rem;color:var(--color-blue-100)}.query-setup__landing-page__action-group__body{display:flex;justify-content:center}.query-setup__landing-page__action-group__body__column{display:flex;align-items:center;flex-direction:column;width:28rem}.query-setup__landing-page__action-group__body__column+.query-setup__landing-page__action-group__body__column{border-left:.2rem solid var(--color-dark-grey-50)}.query-setup__landing-page__action-group__footer{display:flex;align-items:center;justify-content:center;height:2.5rem}.query-setup__landing-page__action-group__footer__content{display:flex;align-items:flex-start;justify-content:flex-end;width:54rem;height:2.5rem}.query-setup__landing-page__action-group__footer__btn svg{font-size:2rem;color:var(--color-dark-grey-400)}.query-setup__landing-page__action-group__footer__btn:hover svg{color:var(--color-dark-grey-500)}.query-setup__landing-page__action-group+.query-setup__landing-page__action-group{margin-top:1rem}.query-setup__landing-page__action{display:flex;align-items:center;height:3.4rem;width:26rem;border-radius:.2rem;background:var(--color-light-grey-400);user-select:none}.query-setup__landing-page__action--existing-query:hover{background:var(--color-magenta-50)}.query-setup__landing-page__action--taxonomy-query:hover{background:var(--color-blue-50)}.query-setup__landing-page__action--service-query:hover{background:var(--color-blue-50)}.query-setup__landing-page__action--productionize-query:hover{background:var(--color-orange-100)}.query-setup__landing-page__action--create-mapping-query:hover{background:var(--color-lime-75)}.query-setup__landing-page__action--studio{width:54rem}.query-setup__landing-page__action--studio:hover{background:var(--color-lime-75)}.query-setup__landing-page__action--advanced{background:var(--color-dark-grey-400)}.query-setup__landing-page__action__icon{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:3.4rem;width:3.4rem;border-right:.1rem solid var(--color-dark-shade-300)}.query-setup__landing-page__action__icon svg{color:var(--color-dark-shade-800)}.query-setup__landing-page__action__label{display:flex;align-items:center;padding:0 1.5rem;height:100%;width:100%;color:var(--color-dark-shade-800);font-size:1.2rem;font-weight:500}.query-setup__landing-page__action+.query-setup__landing-page__action{margin-top:.5rem}.query-setup__landing-page__icon--search{font-size:2rem}.query-setup__landing-page__footer{display:flex;justify-content:flex-end;padding:.5rem 1rem}.query-setup__landing-page__footer__more-btn svg{font-size:2.6rem;color:var(--color-dark-grey-250);animation:bouncedown .5s alternate ease infinite}.query-setup__landing-page__footer__more-btn:hover svg{color:var(--color-dark-grey-400)}@keyframes bouncedown{from{transform:translateY(0.2rem)}to{transform:translateY(-0.2rem)}}.query-setup__landing-page__config-menu .menu__item{font-size:1.2rem;height:2.2rem}.query-setup__landing-page__config-menu .menu__item__icon svg{font-size:1.2rem}.query-setup__landing-page__config-menu .menu__item__label{font-size:1.2rem;margin-left:.5rem}.query-setup__wizard{display:flex;flex-direction:column;width:60rem;background:var(--color-dark-grey-80);border-radius:.2rem}.query-setup__wizard__header{display:flex;align-items:center;height:3.4rem;border-radius:.2rem .2rem 0 0}.query-setup__wizard__header__btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:100%;width:5rem}.query-setup__wizard__header__btn svg{font-size:1.2rem;color:var(--color-dark-shade-250)}.query-setup__wizard__header__btn:not([disabled]):hover svg{color:var(--color-dark-shade-800)}.query-setup__wizard__header__btn--ready svg{color:var(--color-dark-shade-800);animation:nudge-horizontal .5s infinite ease}.query-setup__wizard__header__btn[disabled]{background:var(--color-dark-grey-80);cursor:not-allowed}.query-setup__wizard__header__btn[disabled] svg{color:var(--color-dark-grey-280)}.query-setup__wizard__header__title{display:flex;align-items:center;height:100%;width:calc(100% - 10rem);padding:0 2rem;color:var(--color-dark-shade-800);font-family:"Roboto Mono",monospace;font-size:1.3rem;border-left:.1rem solid var(--color-dark-shade-250);cursor:default}.query-setup__wizard__content{display:flex;align-items:center;flex-direction:column;height:calc(100% - 3.4rem)}.query-setup__wizard__group__title{display:flex;align-items:center;height:3.4rem;color:var(--color-light-grey-400);font-family:"Roboto Mono",monospace;font-size:1.3rem;user-select:none}.query-setup__wizard__group--inline{height:2.8rem;display:flex}.query-setup__wizard__group--inline .query-setup__wizard__group__title{margin-right:.5rem;justify-content:center;width:2.8rem;height:2.8rem}.query-setup__wizard__group+.query-setup__wizard__group{margin-top:1rem}.query-setup__wizard__selector{width:50rem}@keyframes nudge-horizontal{from{transform:translateX(0.1rem)}to{transform:translateX(-0.1rem)}}.query-setup__create-query{height:38.2rem}.query-setup__create-query__header{background:var(--color-lime-75)}.query-setup__create-query__project{display:flex;align-items:center;justify-content:center;flex-direction:column;height:16.9rem;padding:2.5rem 0 1rem}.query-setup__create-query__graph{display:flex;flex-direction:column;height:13.4rem;width:50rem}.query-setup__create-query__graph__loader{height:13.4rem;border:.1rem solid var(--color-dark-grey-200);margin-top:2rem}.query-setup__service-query{height:32.2rem}.query-setup__service-query__header{background:var(--color-blue-50)}.query-setup__service-query__project{display:flex;align-items:center;justify-content:center;flex-direction:column;height:16.9rem;padding:2.5rem 0 1rem}.query-setup__service-query__graph{display:flex;flex-direction:column;height:8.4rem;width:50rem}.query-setup__service-query__graph__loader{height:13.4rem;border:.1rem solid var(--color-dark-grey-200);margin-top:2rem}.query-setup__service-query .query-setup__wizard__group{width:100%}.query-setup__existing-service-query{width:calc(100% - 10rem);height:10.2rem}.query-setup__existing-service-query__header{background:var(--color-blue-50)}.query-setup__existing-service-query__search-bar{height:2.8rem;width:100%}.query-setup__existing-service-query .query-setup__wizard__selector{width:100%}.query-setup__existing-service-query .query-setup__wizard__content{display:flex;align-items:center;padding:2rem}.query-setup__existing-query{position:absolute;bottom:10vh;top:10vh}.query-setup__existing-query__header{background:var(--color-magenta-50)}.query-setup__existing-query__content{height:calc(100% - 3.4rem)}.query-setup__productionize-query{position:absolute;bottom:10vh;top:10vh}.query-setup__productionize-query__header{background:var(--color-magenta-50)}.query-setup__productionize-query__content{height:calc(100% - 3.4rem)}.query-editor{display:flex;flex-direction:column;width:100%;height:100%}.query-editor__header{display:flex;align-items:center;height:3.4rem;padding:.2rem;background:var(--color-dark-grey-80)}.query-editor__header__menu{height:3.4rem;width:5rem;border-right:.1rem solid var(--color-dark-grey-200)}.query-editor__header__menu-item{display:flex;align-items:center;justify-content:center;height:3.4rem;width:100%;color:var(--color-dark-grey-400)}.query-editor__header__menu-item svg{font-size:2.3rem}.query-editor__header__content{display:flex;align-items:center;display:flex;justify-content:space-between;height:100%;width:100%}.query-editor__header__content__title{color:var(--color-light-grey-180);flex:1;margin:0 1rem;padding:.5rem;margin-right:10%}.query-editor__header__actions{display:flex;align-items:center;height:100%}.query-editor__header__action{display:flex;align-items:center;justify-content:center;height:2.8rem;min-width:2rem;padding:0 1rem;border-radius:.2rem;margin:0 .3rem}.query-editor__header__action svg{color:var(--color-light-grey-100)}.query-editor__header__action__label{margin-left:.5rem;font-size:1.2rem}.query-editor__header__action__theme-toggler{border:.1rem solid var(--color-dark-grey-280)}.query-editor__header__action__icon--load{font-size:2rem;margin-bottom:.1rem}.query-editor__header__action__icon--bulb--light{color:var(--color-yellow-100) !important}.query-editor__header__action__icon--bulb--light:hover,.query-editor__header__action__icon--bulb--dark:hover{color:var(--color-yellow-200) !important}.query-editor__header__action__icon--bulb--dark{color:var(--color-light-grey-50) !important}.query-editor__header__action__icon--service{font-size:1.2rem}.query-editor__header__action__icon--productionize{font-size:1.3rem}.query-editor__header__action__view-project{display:flex;align-items:center;width:4.4rem;padding:0}.query-editor__header__action__view-project__btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:.2rem 0 0 .2rem;padding:0 .5rem}.query-editor__header__action__view-project__dropdown-trigger{display:flex;align-items:center;height:2.8rem;width:1.6rem;border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-200);cursor:pointer}.query-editor__header__action__view-project__dropdown-trigger svg{font-size:1.2rem}.query-editor__header__action+.query-editor__header__action{margin-left:0}.query-editor__header__action__dropdown-trigger{margin-left:.5rem}.query-editor__content{height:calc(100% - 3.4rem);width:100%}.query-export{width:50vw;padding:0;overflow:hidden}.query-export .input{width:100%}/*# sourceMappingURL=index.css.map */
|
package/lib/index.css.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../style/_query-setup.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_query-editor.scss"],"names":[],"mappings":"AAkBA,aCiBE,aACA,uBDfA,WACA,2BACA,cACA,iBAGF,yBCGE,aACA,mBAiBA,aACA,8BDlBA,cACA,iCACA,gCACA,uBAEA,+BACE,YACA,aACA,mBAGF,gCACE,YACA,aACA,mBAGF,iCCxBA,aACA,mBACA,uBDyBE,eACA,gBACA,YACA,WAEA,0CACE,kCAEA,mDACE,gCAMR,2BACE,aACA,sBACA,YAEA,kCCzCA,aACA,mBD2CE,2BACA,kCACA,oCACA,iBACA,mBACA,eACA,iBAGF,iDACE,kBACA,iCACA,iBAEA,uDACE,8BACA,YAIJ,yCACE,aACA,sBACA,qCACA,oBACA,kBAEA,8CCvEF,aACA,mBDyEI,cACA,iCACA,gCACA,iBACA,cACA,oBACA,kBACA,kBACA,YACA,gBACA,oCACA,iBACA,eAGF,+FACE,mCAGF,iDC7FF,aACA,mBD+FI,yBACA,cAGF,iDC1GF,aACA,mBACA,uBD2GI,cACA,aACA,eACA,iCACA,kBAEA,uDACE,iCAGF,yDACE,kBACA,YACA,aAEA,6DACE,gBACA,4BAKN,+CCxHF,aACA,uBD2HE,uDCjIF,aACA,mBDmII,sBACA,YAEA,8GACE,kDAIJ,iDClJF,aACA,mBACA,uBDmJI,cAEA,0DACE,aACA,uBACA,yBACA,YACA,cAIA,0DACE,eACA,iCAGF,gEACE,iCAKN,kFACE,gBAIJ,mCC1KA,aACA,mBD4KE,cACA,YACA,oBACA,uCACA,iBAEA,yDACE,mCAGF,yDACE,gCAGF,wDACE,gCAGF,8DACE,mCAGF,+DACE,gCAGF,2CACE,YAEA,iDACE,gCAIJ,6CACE,sCAGF,yCCzNF,aACA,mBACA,uBA2BA,YACA,cD+LI,cACA,aACA,qDAEA,6CACE,kCAIJ,0CChOF,aACA,mBDkOI,iBACA,YACA,WACA,kCACA,iBACA,gBAGF,sEACE,iBAIJ,yCACE,eAGF,mCACE,aACA,yBACA,mBAGE,iDACE,iBACA,iCACA,iDAGF,uDACE,iCAIJ,sBACE,KACE,6BAGF,GACE,+BAMJ,oDACE,iBACA,cAGF,8DACE,iBAGF,2DACE,iBACA,kBAKN,qBACE,aACA,sBACA,YACA,qCACA,oBAEA,6BCxSA,aACA,mBD0SE,cACA,8BAEA,kCCpTF,aACA,mBACA,uBA2BA,YACA,cD0RI,YACA,WAEA,sCACE,iBACA,kCAIA,4DACE,kCAIJ,6CACE,kCACA,6CAGF,4CACE,qCACA,mBAEA,gDACE,iCAKN,oCC/UF,aACA,mBDiVI,YACA,yBACA,eACA,kCACA,oCACA,iBACA,oDACA,eAIJ,8BC7VA,aACA,mBD+VE,sBACA,2BAIA,mCCrWF,aACA,mBDuWI,cACA,kCACA,oCACA,iBACA,iBAIJ,oCACE,cACA,aAGF,uEACE,mBACA,uBACA,aACA,cAGF,wDACE,gBAGF,+BACE,YAIJ,4BACE,KACE,6BAGF,GACE,+BAIJ,2BACE,eAEA,mCACE,gCAGF,oCC5ZA,aACA,mBACA,uBD6ZE,sBACA,eACA,sBAGF,kCACE,aACA,sBACA,eACA,YAEA,0CACE,eACA,8CACA,gBAKN,4BACE,eAEA,oCACE,gCAGF,qCCzbA,aACA,mBACA,uBD0bE,sBACA,eACA,sBAGF,mCACE,aACA,sBACA,cACA,YAEA,2CACE,eACA,8CACA,gBAIJ,wDACE,WAIJ,qCACE,yBACA,eAEA,6CACE,gCAGF,iDACE,cACA,WAGF,oEACE,WAGF,mEC9dA,aACA,mBDgeE,
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../style/_query-setup.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_query-editor.scss"],"names":[],"mappings":"AAkBA,aCiBE,aACA,uBDfA,WACA,2BACA,cACA,iBAGF,yBCGE,aACA,mBAiBA,aACA,8BDlBA,cACA,iCACA,gCACA,uBAEA,+BACE,YACA,aACA,mBAGF,gCACE,YACA,aACA,mBAGF,iCCxBA,aACA,mBACA,uBDyBE,eACA,gBACA,YACA,WAEA,0CACE,kCAEA,mDACE,gCAMR,2BACE,aACA,sBACA,YAEA,kCCzCA,aACA,mBD2CE,2BACA,kCACA,oCACA,iBACA,mBACA,eACA,iBAGF,iDACE,kBACA,iCACA,iBAEA,uDACE,8BACA,YAIJ,yCACE,aACA,sBACA,qCACA,oBACA,kBAEA,8CCvEF,aACA,mBDyEI,cACA,iCACA,gCACA,iBACA,cACA,oBACA,kBACA,kBACA,YACA,gBACA,oCACA,iBACA,eAGF,+FACE,mCAGF,iDC7FF,aACA,mBD+FI,yBACA,cAGF,iDC1GF,aACA,mBACA,uBD2GI,cACA,aACA,eACA,iCACA,kBAEA,uDACE,iCAGF,yDACE,kBACA,YACA,aAEA,6DACE,gBACA,4BAKN,+CCxHF,aACA,uBD2HE,uDCjIF,aACA,mBDmII,sBACA,YAEA,8GACE,kDAIJ,iDClJF,aACA,mBACA,uBDmJI,cAEA,0DACE,aACA,uBACA,yBACA,YACA,cAIA,0DACE,eACA,iCAGF,gEACE,iCAKN,kFACE,gBAIJ,mCC1KA,aACA,mBD4KE,cACA,YACA,oBACA,uCACA,iBAEA,yDACE,mCAGF,yDACE,gCAGF,wDACE,gCAGF,8DACE,mCAGF,+DACE,gCAGF,2CACE,YAEA,iDACE,gCAIJ,6CACE,sCAGF,yCCzNF,aACA,mBACA,uBA2BA,YACA,cD+LI,cACA,aACA,qDAEA,6CACE,kCAIJ,0CChOF,aACA,mBDkOI,iBACA,YACA,WACA,kCACA,iBACA,gBAGF,sEACE,iBAIJ,yCACE,eAGF,mCACE,aACA,yBACA,mBAGE,iDACE,iBACA,iCACA,iDAGF,uDACE,iCAIJ,sBACE,KACE,6BAGF,GACE,+BAMJ,oDACE,iBACA,cAGF,8DACE,iBAGF,2DACE,iBACA,kBAKN,qBACE,aACA,sBACA,YACA,qCACA,oBAEA,6BCxSA,aACA,mBD0SE,cACA,8BAEA,kCCpTF,aACA,mBACA,uBA2BA,YACA,cD0RI,YACA,WAEA,sCACE,iBACA,kCAIA,4DACE,kCAIJ,6CACE,kCACA,6CAGF,4CACE,qCACA,mBAEA,gDACE,iCAKN,oCC/UF,aACA,mBDiVI,YACA,yBACA,eACA,kCACA,oCACA,iBACA,oDACA,eAIJ,8BC7VA,aACA,mBD+VE,sBACA,2BAIA,mCCrWF,aACA,mBDuWI,cACA,kCACA,oCACA,iBACA,iBAIJ,oCACE,cACA,aAGF,uEACE,mBACA,uBACA,aACA,cAGF,wDACE,gBAGF,+BACE,YAIJ,4BACE,KACE,6BAGF,GACE,+BAIJ,2BACE,eAEA,mCACE,gCAGF,oCC5ZA,aACA,mBACA,uBD6ZE,sBACA,eACA,sBAGF,kCACE,aACA,sBACA,eACA,YAEA,0CACE,eACA,8CACA,gBAKN,4BACE,eAEA,oCACE,gCAGF,qCCzbA,aACA,mBACA,uBD0bE,sBACA,eACA,sBAGF,mCACE,aACA,sBACA,cACA,YAEA,2CACE,eACA,8CACA,gBAIJ,wDACE,WAIJ,qCACE,yBACA,eAEA,6CACE,gCAGF,iDACE,cACA,WAGF,oEACE,WAGF,mEC9dA,aACA,mBDgeE,aAIJ,6BACE,kBACA,YACA,SAEA,qCACE,mCAGF,sCACE,2BAIJ,kCACE,kBACA,YACA,SAEA,0CACE,mCAGF,2CACE,2BEzgBJ,cACE,aACA,sBACA,WACA,YAEA,sBDMA,aACA,mBCJE,cACA,cACA,qCAEA,4BACE,cACA,WACA,oDAGF,iCDbF,aACA,mBACA,uBCcI,cACA,WACA,iCAEA,qCACE,iBAIJ,+BDnBF,aACA,mBAiBA,aACA,8BCII,YACA,WAEA,sCACE,kCACA,OACA,cACA,cACA,iBAIJ,+BDnCF,aACA,mBCqCI,YAGF,8BD/CF,aACA,mBACA,uBCgDI,cACA,eACA,eACA,oBACA,eAEA,kCACE,kCAGF,qCACE,kBACA,iBAGF,6CACE,8CAIA,0CACE,eACA,oBAGF,iDACE,yCAGF,6GAEE,yCAGF,gDACE,4CAGF,6CACE,iBAGF,mDACE,iBAIJ,4CD3FJ,aACA,mBC6FM,aACA,UAEA,iDDvGN,aACA,mBACA,uBCwGQ,cACA,aACA,8BACA,gBAGF,8DD1GN,aACA,mBC4GQ,cACA,aACA,8BACA,oDACA,eAEA,kEACE,iBAMR,4DACE,cAGF,gDACE,kBAIJ,uBACE,2BACA,WAIJ,cACE,WACA,UACA,gBAEA,qBACE","file":"index.css"}
|
package/lib/index.d.ts
CHANGED
@@ -18,7 +18,7 @@ export * from './application/LegendQueryApplicationConfig.js';
|
|
18
18
|
export * from './application/LegendQueryPluginManager.js';
|
19
19
|
export * from './__lib__/LegendQueryEvent.js';
|
20
20
|
export * from './__lib__/LegendQueryEventHelper.js';
|
21
|
-
export { generateExistingQueryEditorRoute } from './__lib__/LegendQueryNavigation.js';
|
21
|
+
export { generateExistingQueryEditorRoute, generateServiceQueryCreatorRoute, } from './__lib__/LegendQueryNavigation.js';
|
22
22
|
export { useLegendQueryApplicationStore, useLegendQueryBaseStore, } from './components/LegendQueryFrameworkProvider.js';
|
23
23
|
export type { LegendQueryApplicationStore } from './stores/LegendQueryBaseStore.js';
|
24
24
|
export * from './stores/LegendQueryApplicationPlugin.js';
|
package/lib/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,OAAO,EACL,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,8CAA8C,CAAC;AACtD,YAAY,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAGpF,cAAc,0CAA0C,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,EAChB,wBAAwB,EACxB,KAAK,yBAAyB,GAC/B,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EACL,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC"}
|
package/lib/index.js
CHANGED
@@ -19,7 +19,7 @@ export * from './application/LegendQueryApplicationConfig.js';
|
|
19
19
|
export * from './application/LegendQueryPluginManager.js';
|
20
20
|
export * from './__lib__/LegendQueryEvent.js';
|
21
21
|
export * from './__lib__/LegendQueryEventHelper.js';
|
22
|
-
export { generateExistingQueryEditorRoute } from './__lib__/LegendQueryNavigation.js';
|
22
|
+
export { generateExistingQueryEditorRoute, generateServiceQueryCreatorRoute, } from './__lib__/LegendQueryNavigation.js';
|
23
23
|
export { useLegendQueryApplicationStore, useLegendQueryBaseStore, } from './components/LegendQueryFrameworkProvider.js';
|
24
24
|
// stores
|
25
25
|
export * from './stores/LegendQueryApplicationPlugin.js';
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc;AACd,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc;AACd,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,OAAO,EACL,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,8CAA8C,CAAC;AAGtD,SAAS;AACT,cAAc,0CAA0C,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,EAChB,wBAAwB,GAEzB,MAAM,8BAA8B,CAAC;AAEtC,aAAa;AACb,OAAO,EACL,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC"}
|
package/lib/package.json
CHANGED
@@ -13,21 +13,12 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import {
|
16
|
+
import { QueryLoaderState } from '@finos/legend-query-builder';
|
17
|
+
import { BaseQuerySetupStore } from './QuerySetupStore.js';
|
17
18
|
import type { DepotServerClient } from '@finos/legend-server-depot';
|
18
|
-
import { ActionState, type GeneratorFn } from '@finos/legend-shared';
|
19
19
|
import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
|
20
|
-
import { BaseQuerySetupStore } from './QuerySetupStore.js';
|
21
20
|
export declare class EditExistingQuerySetupStore extends BaseQuerySetupStore {
|
22
|
-
readonly
|
23
|
-
readonly loadQueryState: ActionState;
|
24
|
-
queries: LightQuery[];
|
25
|
-
currentQuery?: LightQuery | undefined;
|
26
|
-
currentQueryInfo?: QueryInfo | undefined;
|
27
|
-
showCurrentUserQueriesOnly: boolean;
|
21
|
+
readonly queryLoaderState: QueryLoaderState;
|
28
22
|
constructor(applicationStore: LegendQueryApplicationStore, depotServerClient: DepotServerClient);
|
29
|
-
setShowCurrentUserQueriesOnly(val: boolean): void;
|
30
|
-
setCurrentQuery(queryId: string | undefined): GeneratorFn<void>;
|
31
|
-
loadQueries(searchText: string): GeneratorFn<void>;
|
32
23
|
}
|
33
24
|
//# sourceMappingURL=EditExistingQuerySetupStore.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditExistingQuerySetupStore.d.ts","sourceRoot":"","sources":["../../src/stores/EditExistingQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"EditExistingQuerySetupStore.d.ts","sourceRoot":"","sources":["../../src/stores/EditExistingQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAGpE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAK7E,qBAAa,2BAA4B,SAAQ,mBAAmB;IAClE,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;gBAG1C,gBAAgB,EAAE,2BAA2B,EAC7C,iBAAiB,EAAE,iBAAiB;CAmDvC"}
|
@@ -13,75 +13,38 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import {
|
17
|
-
import { QuerySearchSpecification, } from '@finos/legend-graph';
|
18
|
-
import { ActionState, assertErrorThrown, } from '@finos/legend-shared';
|
19
|
-
import { action, flow, makeObservable, observable } from 'mobx';
|
16
|
+
import { QueryLoaderState } from '@finos/legend-query-builder';
|
20
17
|
import { BaseQuerySetupStore } from './QuerySetupStore.js';
|
18
|
+
import { quantifyList } from '@finos/legend-shared';
|
19
|
+
import { LegendQueryUserDataHelper } from '../__lib__/LegendQueryUserDataHelper.js';
|
20
|
+
import { generateExistingQueryEditorRoute } from '../__lib__/LegendQueryNavigation.js';
|
21
|
+
import { LegendQueryTelemetryHelper } from '../__lib__/LegendQueryTelemetryHelper.js';
|
21
22
|
export class EditExistingQuerySetupStore extends BaseQuerySetupStore {
|
22
|
-
|
23
|
-
loadQueryState = ActionState.create();
|
24
|
-
queries = [];
|
25
|
-
currentQuery;
|
26
|
-
currentQueryInfo;
|
27
|
-
showCurrentUserQueriesOnly = false;
|
23
|
+
queryLoaderState;
|
28
24
|
constructor(applicationStore, depotServerClient) {
|
29
25
|
super(applicationStore, depotServerClient);
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
26
|
+
this.queryLoaderState = new QueryLoaderState(applicationStore, this.graphManagerState, {
|
27
|
+
loadQuery: (query) => {
|
28
|
+
this.queryLoaderState.setQueryLoaderDialogOpen(false);
|
29
|
+
this.applicationStore.navigationService.navigator.goToLocation(generateExistingQueryEditorRoute(query.id), { ignoreBlocking: true });
|
30
|
+
},
|
31
|
+
fetchDefaultQueries: () => this.graphManagerState.graphManager.getQueries(LegendQueryUserDataHelper.getRecentlyViewedQueries(this.applicationStore.userDataService)),
|
32
|
+
generateDefaultQueriesSummaryText: (queries) => queries.length
|
33
|
+
? `Showing ${quantifyList(queries, 'recently viewed query', 'recently viewed queries')}`
|
34
|
+
: `No recently viewed queries`,
|
35
|
+
onQueryDeleted: (query) => LegendQueryUserDataHelper.removeRecentlyViewedQuery(this.applicationStore.userDataService, query.id),
|
36
|
+
onQueryRenamed: (query) => {
|
37
|
+
LegendQueryTelemetryHelper.logEvent_RenameQuerySucceeded(applicationStore.telemetryService, {
|
38
|
+
query: {
|
39
|
+
id: query.id,
|
40
|
+
name: query.name,
|
41
|
+
groupId: query.groupId,
|
42
|
+
artifactId: query.artifactId,
|
43
|
+
versionId: query.versionId,
|
44
|
+
},
|
45
|
+
});
|
46
|
+
},
|
38
47
|
});
|
39
48
|
}
|
40
|
-
setShowCurrentUserQueriesOnly(val) {
|
41
|
-
this.showCurrentUserQueriesOnly = val;
|
42
|
-
}
|
43
|
-
*setCurrentQuery(queryId) {
|
44
|
-
if (queryId) {
|
45
|
-
try {
|
46
|
-
this.loadQueryState.inProgress();
|
47
|
-
this.currentQuery =
|
48
|
-
(yield this.graphManagerState.graphManager.getLightQuery(queryId));
|
49
|
-
const queryInfo = (yield this.graphManagerState.graphManager.getQueryInfo(queryId));
|
50
|
-
queryInfo.content =
|
51
|
-
(yield this.graphManagerState.graphManager.prettyLambdaContent(queryInfo.content));
|
52
|
-
this.currentQueryInfo = queryInfo;
|
53
|
-
}
|
54
|
-
catch (error) {
|
55
|
-
assertErrorThrown(error);
|
56
|
-
this.applicationStore.notificationService.notifyError(error);
|
57
|
-
}
|
58
|
-
finally {
|
59
|
-
this.loadQueryState.reset();
|
60
|
-
}
|
61
|
-
}
|
62
|
-
else {
|
63
|
-
this.currentQuery = undefined;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
*loadQueries(searchText) {
|
67
|
-
const isValidSearchString = searchText.length >= DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH;
|
68
|
-
this.loadQueriesState.inProgress();
|
69
|
-
try {
|
70
|
-
const searchSpecification = new QuerySearchSpecification();
|
71
|
-
searchSpecification.searchTerm = isValidSearchString
|
72
|
-
? searchText
|
73
|
-
: undefined;
|
74
|
-
searchSpecification.limit = DEFAULT_TYPEAHEAD_SEARCH_LIMIT;
|
75
|
-
searchSpecification.showCurrentUserQueriesOnly =
|
76
|
-
this.showCurrentUserQueriesOnly;
|
77
|
-
this.queries = (yield this.graphManagerState.graphManager.searchQueries(searchSpecification));
|
78
|
-
this.loadQueriesState.pass();
|
79
|
-
}
|
80
|
-
catch (error) {
|
81
|
-
assertErrorThrown(error);
|
82
|
-
this.applicationStore.notificationService.notifyError(error);
|
83
|
-
this.loadQueriesState.fail();
|
84
|
-
}
|
85
|
-
}
|
86
49
|
}
|
87
50
|
//# sourceMappingURL=EditExistingQuerySetupStore.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditExistingQuerySetupStore.js","sourceRoot":"","sources":["../../src/stores/EditExistingQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"EditExistingQuerySetupStore.js","sourceRoot":"","sources":["../../src/stores/EditExistingQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;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AQ,EAAE,CAC9B,yBAAyB,CAAC,yBAAyB,CACjD,IAAI,CAAC,gBAAgB,CAAC,eAAe,EACrC,KAAK,CAAC,EAAE,CACT;YACH,cAAc,EAAE,CAAC,KAAK,EAAQ,EAAE;gBAC9B,0BAA0B,CAAC,6BAA6B,CACtD,gBAAgB,CAAC,gBAAgB,EACjC;oBACE,KAAK,EAAE;wBACL,EAAE,EAAE,KAAK,CAAC,EAAE;wBACZ,IAAI,EAAE,KAAK,CAAC,IAAI;wBAChB,OAAO,EAAE,KAAK,CAAC,OAAO;wBACtB,UAAU,EAAE,KAAK,CAAC,UAAU;wBAC5B,SAAS,EAAE,KAAK,CAAC,SAAS;qBAC3B;iBACF,CACF,CAAC;YACJ,CAAC;SACF,CACF,CAAC;IACJ,CAAC;CACF"}
|
@@ -44,7 +44,8 @@ export type QueryEditorActionConfiguration = {
|
|
44
44
|
key: string;
|
45
45
|
renderer: (editorStore: QueryEditorStore, queryBuilderState: QueryBuilderState) => React.ReactNode | undefined;
|
46
46
|
};
|
47
|
-
export type
|
47
|
+
export type QueryEditorHelpMenuActionConfiguration = {
|
48
|
+
key: string;
|
48
49
|
title?: string;
|
49
50
|
label: string;
|
50
51
|
onClick: () => void;
|
@@ -62,9 +63,9 @@ export declare abstract class LegendQueryApplicationPlugin extends LegendApplica
|
|
62
63
|
*/
|
63
64
|
getExtraQuerySetupActionConfigurations?(): QuerySetupActionConfiguration[];
|
64
65
|
/**
|
65
|
-
* Get the list of help
|
66
|
+
* Get the list of query editor help menu action configurations.
|
66
67
|
*/
|
67
|
-
|
68
|
+
getExtraQueryEditorHelpMenuActionConfigurations?(): QueryEditorHelpMenuActionConfiguration[];
|
68
69
|
/**
|
69
70
|
* Get the list of existing query editor state builders.
|
70
71
|
*/
|