@finos/legend-extension-dsl-data-space 9.0.3 → 9.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/query/DataSpaceAdvancedSearchModal.d.ts.map +1 -1
- package/lib/components/query/DataSpaceAdvancedSearchModal.js +2 -2
- package/lib/components/query/DataSpaceAdvancedSearchModal.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +8 -8
- package/src/components/query/DataSpaceAdvancedSearchModal.tsx +14 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceAdvancedSearchModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
|
1
|
+
{"version":3,"file":"DataSpaceAdvancedSearchModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA2BH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAQvG,eAAO,MAAM,4BAA4B,WAC/B;IACN,WAAW,EAAE,4BAA4B,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;;CAyMF,CAAC"}
|
|
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { useApplicationStore } from '@finos/legend-application';
|
|
18
|
-
import { BoltIcon, clsx, BlankPanelContent, TimesCircleIcon, PanelLoadingIndicator, CustomSelectorInput, SearchIcon, Dialog, TimesIcon, ArrowRightIcon, } from '@finos/legend-art';
|
|
18
|
+
import { BoltIcon, clsx, BlankPanelContent, TimesCircleIcon, PanelLoadingIndicator, CustomSelectorInput, SearchIcon, Dialog, TimesIcon, ArrowRightIcon, Modal, ModalHeader, ModalTitle, ModalHeaderActions, } from '@finos/legend-art';
|
|
19
19
|
import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
20
20
|
import { debounce } from '@finos/legend-shared';
|
|
21
21
|
import { flowResult } from 'mobx';
|
|
@@ -75,7 +75,7 @@ export const DataSpaceAdvancedSearchModal = observer((props) => {
|
|
|
75
75
|
paper: 'editor-modal__content data-space-advanced-search__dialog__container__content',
|
|
76
76
|
}, TransitionProps: {
|
|
77
77
|
onEnter: handleEnter,
|
|
78
|
-
}, children: _jsxs(
|
|
78
|
+
}, children: _jsxs(Modal, { darkMode: true, className: "editor-modal data-space-advanced-search__dialog", children: [_jsxs(ModalHeader, { className: "data-space-advanced-search__dialog__header", children: [_jsx(ModalTitle, { title: "Search for data space " }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", title: "Close", onClick: onClose, children: _jsx(TimesIcon, {}) }) })] }), _jsxs("div", { className: "data-space-advanced-search__dialog__content", children: [_jsxs("div", { className: "data-space-advanced-search__dialog__input", children: [_jsx("div", { className: "data-space-advanced-search__dialog__input__icon", children: _jsx(SearchIcon, {}) }), _jsx(CustomSelectorInput, { ref: dataSpaceSearchRef, className: "data-space-advanced-search__dialog__input__selector", options: dataSpaceOptions, isLoading: searchState.loadDataSpacesState.isInProgress, onInputChange: onSearchTextChange, inputValue: searchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space by name...", isClearable: true, escapeClearsValue: true, darkMode: true, formatOptionLabel: formatDataSpaceOptionLabel }), _jsx("button", { className: clsx('data-space-advanced-search__dialog__input__use-snapshot-btn', {
|
|
79
79
|
'data-space-advanced-search__dialog__input__use-snapshot-btn--active': searchState.toGetSnapShot,
|
|
80
80
|
}), tabIndex: -1, title: `[${searchState.toGetSnapShot ? 'on' : 'off'}] Toggle show data spaces from snapshot releases instead of latest releases`, onClick: toggleGetSnapshot, children: _jsx(BoltIcon, {}) }), _jsx("button", { className: "data-space-advanced-search__dialog__input__proceed-btn", tabIndex: -1, title: "Proceed to create query", onClick: proceedToCreateQuery, children: _jsx(ArrowRightIcon, {}) })] }), _jsxs("div", { className: "data-space-advanced-search__dialog__view", children: [_jsx(PanelLoadingIndicator, { isLoading: searchState.loadDataSpaceState.isInProgress }), searchState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: searchState.dataSpaceViewerState })), !searchState.dataSpaceViewerState && (_jsxs(_Fragment, { children: [searchState.loadDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: searchState.loadDataSpaceState.message })), searchState.loadDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "data-space-advanced-search__dialog__view--failed", children: [_jsx("div", { className: "data-space-advanced-search__dialog__view--failed__icon", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { className: "data-space-advanced-search__dialog__view--failed__text", children: "Can't load data space" })] }) }))] }))] })] })] }) }));
|
|
81
81
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceAdvancedSearchModal.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,MAAM,EACN,SAAS,EACT,cAAc,
|
|
1
|
+
{"version":3,"file":"DataSpaceAdvancedSearchModal.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,mBAAmB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AAK,EAAC,yBAAyB,EAC/B,OAAO,EAAE,oBAAoB,YAE7B,KAAC,cAAc,KAAG,GACX,IACL,EACN,eAAK,SAAS,EAAC,0CAA0C,aACvD,KAAC,qBAAqB,IACpB,SAAS,EAAE,WAAW,CAAC,kBAAkB,CAAC,YAAY,GACtD,EACD,WAAW,CAAC,oBAAoB,IAAI,CACnC,KAAC,eAAe,IACd,oBAAoB,EAAE,WAAW,CAAC,oBAAoB,GACtD,CACH,EACA,CAAC,WAAW,CAAC,oBAAoB,IAAI,CACpC,8BACG,WAAW,CAAC,kBAAkB,CAAC,YAAY,IAAI,CAC9C,KAAC,iBAAiB,cACf,WAAW,CAAC,kBAAkB,CAAC,OAAO,GACrB,CACrB,EACA,WAAW,CAAC,kBAAkB,CAAC,SAAS,IAAI,CAC3C,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,kDAAkD,aAC/D,cAAK,SAAS,EAAC,wDAAwD,YACrE,KAAC,eAAe,KAAG,GACf,EACN,cAAK,SAAS,EAAC,wDAAwD,sCAEjE,IACF,GACY,CACrB,IACA,CACJ,IACG,IACF,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.5",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"test:watch": "jest --watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@finos/legend-application": "10.0.
|
|
47
|
-
"@finos/legend-application-query": "9.0.
|
|
48
|
-
"@finos/legend-application-studio": "20.0.
|
|
49
|
-
"@finos/legend-art": "5.0.
|
|
50
|
-
"@finos/legend-extension-dsl-diagram": "7.0.
|
|
51
|
-
"@finos/legend-graph": "19.2.
|
|
52
|
-
"@finos/legend-query-builder": "0.
|
|
46
|
+
"@finos/legend-application": "10.0.5",
|
|
47
|
+
"@finos/legend-application-query": "9.0.5",
|
|
48
|
+
"@finos/legend-application-studio": "20.0.3",
|
|
49
|
+
"@finos/legend-art": "5.0.3",
|
|
50
|
+
"@finos/legend-extension-dsl-diagram": "7.0.9",
|
|
51
|
+
"@finos/legend-graph": "19.2.1",
|
|
52
|
+
"@finos/legend-query-builder": "0.4.1",
|
|
53
53
|
"@finos/legend-server-depot": "4.1.4",
|
|
54
54
|
"@finos/legend-shared": "6.2.0",
|
|
55
55
|
"@finos/legend-storage": "3.0.15",
|
|
@@ -27,6 +27,10 @@ import {
|
|
|
27
27
|
Dialog,
|
|
28
28
|
TimesIcon,
|
|
29
29
|
ArrowRightIcon,
|
|
30
|
+
Modal,
|
|
31
|
+
ModalHeader,
|
|
32
|
+
ModalTitle,
|
|
33
|
+
ModalHeaderActions,
|
|
30
34
|
} from '@finos/legend-art';
|
|
31
35
|
import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
32
36
|
import { debounce } from '@finos/legend-shared';
|
|
@@ -151,10 +155,13 @@ export const DataSpaceAdvancedSearchModal = observer(
|
|
|
151
155
|
onEnter: handleEnter,
|
|
152
156
|
}}
|
|
153
157
|
>
|
|
154
|
-
<
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
+
<Modal
|
|
159
|
+
darkMode={true}
|
|
160
|
+
className="editor-modal data-space-advanced-search__dialog"
|
|
161
|
+
>
|
|
162
|
+
<ModalHeader className="data-space-advanced-search__dialog__header">
|
|
163
|
+
<ModalTitle title="Search for data space " />
|
|
164
|
+
<ModalHeaderActions>
|
|
158
165
|
<button
|
|
159
166
|
className="modal__header__action"
|
|
160
167
|
title="Close"
|
|
@@ -162,8 +169,8 @@ export const DataSpaceAdvancedSearchModal = observer(
|
|
|
162
169
|
>
|
|
163
170
|
<TimesIcon />
|
|
164
171
|
</button>
|
|
165
|
-
</
|
|
166
|
-
</
|
|
172
|
+
</ModalHeaderActions>
|
|
173
|
+
</ModalHeader>
|
|
167
174
|
<div className="data-space-advanced-search__dialog__content">
|
|
168
175
|
<div className="data-space-advanced-search__dialog__input">
|
|
169
176
|
<div className="data-space-advanced-search__dialog__input__icon">
|
|
@@ -241,7 +248,7 @@ export const DataSpaceAdvancedSearchModal = observer(
|
|
|
241
248
|
)}
|
|
242
249
|
</div>
|
|
243
250
|
</div>
|
|
244
|
-
</
|
|
251
|
+
</Modal>
|
|
245
252
|
</Dialog>
|
|
246
253
|
);
|
|
247
254
|
},
|