@finos/legend-extension-dsl-data-space 9.1.5 → 9.1.7
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/DSL_DataSpace_LegendApplicationPlugin.d.ts +0 -4
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +0 -3
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/DataSpaceDataAccess.d.ts +23 -0
- package/lib/components/DataSpaceDataAccess.d.ts.map +1 -0
- package/lib/components/DataSpaceDataAccess.js +34 -0
- package/lib/components/DataSpaceDataAccess.js.map +1 -0
- package/lib/components/DataSpaceDescription.d.ts +23 -0
- package/lib/components/DataSpaceDescription.d.ts.map +1 -0
- package/lib/components/DataSpaceDescription.js +26 -0
- package/lib/components/DataSpaceDescription.js.map +1 -0
- package/lib/components/DataSpaceDiagramViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceDiagramViewer.js +7 -9
- package/lib/components/DataSpaceDiagramViewer.js.map +1 -1
- package/lib/components/DataSpaceExecutionContextViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceExecutionContextViewer.js +6 -6
- package/lib/components/DataSpaceExecutionContextViewer.js.map +1 -1
- package/lib/components/DataSpaceMarkdownTextViewer.d.ts +20 -0
- package/lib/components/DataSpaceMarkdownTextViewer.d.ts.map +1 -0
- package/lib/components/DataSpaceMarkdownTextViewer.js +25 -0
- package/lib/components/DataSpaceMarkdownTextViewer.js.map +1 -0
- package/lib/components/DataSpaceModelsDocumentation.d.ts.map +1 -1
- package/lib/components/DataSpaceModelsDocumentation.js +33 -35
- package/lib/components/DataSpaceModelsDocumentation.js.map +1 -1
- package/lib/components/DataSpacePlaceholder.d.ts +20 -0
- package/lib/components/DataSpacePlaceholder.d.ts.map +1 -0
- package/lib/components/DataSpacePlaceholder.js +18 -0
- package/lib/components/DataSpacePlaceholder.js.map +1 -0
- package/lib/components/DataSpaceQuickStart.d.ts +7 -1
- package/lib/components/DataSpaceQuickStart.d.ts.map +1 -1
- package/lib/components/DataSpaceQuickStart.js +92 -1
- package/lib/components/DataSpaceQuickStart.js.map +1 -1
- package/lib/components/DataSpaceSupportPanel.js +1 -1
- package/lib/components/DataSpaceSupportPanel.js.map +1 -1
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +21 -8
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/DataSpaceWiki.d.ts.map +1 -1
- package/lib/components/DataSpaceWiki.js +4 -28
- package/lib/components/DataSpaceWiki.js.map +1 -1
- package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.d.ts +5 -0
- package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.d.ts.map +1 -1
- package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.js +7 -0
- package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.js.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +3 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +5 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +14 -2
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.d.ts +32 -0
- package/lib/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.js +17 -0
- package/lib/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/DataSpaceViewerState.d.ts +1 -0
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +6 -0
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/package.json +12 -12
- package/src/components/DSL_DataSpace_LegendApplicationPlugin.ts +0 -9
- package/src/components/DataSpaceDataAccess.tsx +66 -0
- package/src/components/DataSpaceDescription.tsx +55 -0
- package/src/components/DataSpaceDiagramViewer.tsx +69 -61
- package/src/components/DataSpaceExecutionContextViewer.tsx +12 -18
- package/src/components/DataSpaceMarkdownTextViewer.tsx +33 -0
- package/src/components/DataSpaceModelsDocumentation.tsx +59 -52
- package/src/components/DataSpacePlaceholder.tsx +21 -0
- package/src/components/DataSpaceQuickStart.tsx +366 -0
- package/src/components/DataSpaceSupportPanel.tsx +4 -4
- package/src/components/DataSpaceViewer.tsx +58 -32
- package/src/components/DataSpaceWiki.tsx +5 -40
- package/src/graphManager/DSL_DataSpace_PureGraphManagerPlugin.ts +9 -0
- package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +8 -0
- package/src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +21 -2
- package/src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +1 -1
- package/src/index.ts +2 -4
- package/src/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.ts +41 -0
- package/src/stores/DataSpaceViewerState.ts +15 -0
- package/tsconfig.json +5 -0
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license @finos/legend-extension-dsl-data-space v9.1.
|
|
1
|
+
/** @license @finos/legend-extension-dsl-data-space v9.1.7
|
|
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
|
-
@import"@ag-grid-community/styles/ag-grid.css";@import"@ag-grid-community/styles/ag-theme-balham.css";@import"@finos/legend-extension-dsl-diagram/lib/index.css";.data-space__viewer{height:100%;width:100%;position:relative;background:var(--color-dark-grey-80);color:var(--color-light-grey-200);font-family:Roboto,sans-serif}.data-space__viewer__body{display:flex;align-items:center;flex-direction:column;height:100%;width:100%;overflow:auto}.data-space__viewer__frame{display:flex;width:140rem;height:100%;padding:4rem}.data-space__viewer__frame--boundless{height:initial}.data-space__viewer__content{display:flex;width:100%;padding:4rem;box-shadow:var(--color-dark-shade-280) 0 .1rem .5rem 0}.data-space__viewer__panel{height:100%;width:100%;overflow:auto}.data-space__viewer__activity-bar{width:5rem;position:absolute;left:2rem;top:4rem;overflow-x:hidden;overflow-y:hidden;border-radius:.2rem;background:var(--color-dark-grey-100)}.data-space__viewer__activity-bar__menu{height:3.4rem;border-bottom:.1rem solid var(--color-dark-grey-200)}.data-space__viewer__activity-bar__menu-item{display:flex;align-items:center;justify-content:center;height:3.4rem;width:100%;color:var(--color-dark-grey-400)}.data-space__viewer__activity-bar__menu-item svg{font-size:2.4rem}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column}.data-space__viewer__activity-bar__item{display:flex;align-items:center;justify-content:center;height:5rem;width:5rem;color:var(--color-dark-grey-400);cursor:pointer}.data-space__viewer__activity-bar__item svg{font-size:2.2rem}.data-space__viewer__activity-bar__item:hover{color:var(--color-light-grey-250);cursor:pointer}.data-space__viewer__activity-bar__item--active{color:var(--color-light-grey-250)}.data-space__viewer__activity-bar__divider{flex-grow:0;flex-shrink:0;border-radius:.1rem;height:.1rem;background:var(--color-dark-grey-300);margin:.5rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--home{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--launch{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--access{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--dataset{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--availability{font-size:3rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--cost{font-size:3rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--governance{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--info{font-size:2.4rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--support{font-size:2.4rem}.data-space__viewer__wiki{display:flex;flex-direction:column;width:100%}.data-space__viewer__wiki__section{display:flex;flex-direction:column}.data-space__viewer__wiki__section__header{height:3rem;font-size:2.4rem;color:var(--color-hclight-blue-60);text-transform:uppercase;font-weight:500;border-bottom:.2rem solid var(--color-hclight-blue-60);margin-bottom:2rem;margin-top:3rem}.data-space__viewer__wiki__section__content{margin-bottom:3rem}.data-space__viewer__description{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.data-space__viewer__description__content{width:100%;border:.1rem solid var(--color-blue-300)}.data-space__viewer__description__content__markdown-content{color:var(--color-light-grey-200)}.data-space__viewer__description--empty{display:flex;align-items:center;justify-content:center;height:100%;width:100%;font-weight:500;color:var(--color-dark-grey-300);border-radius:.2rem;border:.2rem dashed var(--color-dark-grey-280)}.data-space__viewer__diagram-viewer{height:70rem}.data-space__viewer__diagram-viewer__carousel{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagram-viewer__carousel .diagram-canvas{border-radius:.2rem}.data-space__viewer__diagram-viewer__carousel__frame{height:100%;width:100%;display:flex;position:relative}.data-space__viewer__diagram-viewer__carousel__frame__display{height:100%;width:100%;display:flex;position:relative}.data-space__viewer__diagram-viewer__carousel__frame__navigator{display:flex;align-items:center;justify-content:center;height:100%;width:5rem;background:rgba(0,0,0,0);position:absolute;top:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--back{left:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--back:hover{background-image:linear-gradient(90deg, var(--color-dark-shade-50), transparent)}.data-space__viewer__diagram-viewer__carousel__frame__navigator--next{right:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--next:hover{background-image:linear-gradient(270deg, var(--color-dark-shade-50), transparent)}.data-space__viewer__diagram-viewer__carousel__frame__navigator svg{color:var(--color-dark-shade-800);font-size:2.6rem}.data-space__viewer__diagram-viewer__carousel__frame__navigator:hover{cursor:pointer}.data-space__viewer__diagram-viewer__carousel__frame__navigator:hover svg{color:var(--color-dark-shade-800)}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]{cursor:not-allowed}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]:hover{background:rgba(0,0,0,0)}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled] svg,.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]:hover svg{color:var(--color-dark-shade-200)}.data-space__viewer__diagram-viewer__carousel__frame__indicators{display:flex;align-items:center;justify-content:center;height:3rem;width:100%;position:absolute;bottom:0;background:rgba(0,0,0,0);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagram-viewer__carousel__frame__indicators__notch{display:flex;align-items:center;justify-content:center;height:100%;background:var(--color-dark-shade-0);padding:0 3rem;border-radius:1rem 1rem 0 0}.data-space__viewer__diagram-viewer__carousel__frame__indicator{margin:0 .5rem}.data-space__viewer__diagram-viewer__carousel__frame__indicator svg{font-size:1.2rem;color:var(--color-dark-shade-50)}.data-space__viewer__diagram-viewer__carousel__frame__indicator--active svg{color:var(--color-blue-150)}.data-space__viewer__diagram-viewer__carousel__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagram-viewer__carousel__dropdown{width:100%}.data-space__viewer__diagram-viewer__carousel__dropdown__container{padding:.3rem}.data-space__viewer__models-documentation{height:70rem}.data-space__viewer__models-documentation__search{display:flex;align-items:center;height:3.8rem;justify-content:flex-end}.data-space__viewer__models-documentation__search__input-group{display:flex;align-items:center;position:relative;width:15rem}.data-space__viewer__models-documentation__grid{height:calc(100% - 3.8rem);width:100%;--ag-font-family: "Roboto"}.data-space__viewer__models-documentation__grid .ag-header-cell-text{font-weight:700}.data-space__viewer__models-documentation__grid .ag-cell-value{word-break:break-word}.data-space__viewer__execution-context__context-icon{color:var(--color-light-grey-200)}.data-space__viewer__execution-context__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution-context__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__execution-context__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution-context__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space__viewer__execution-context__entry__content__dropdown{width:100%}.data-space__viewer__execution-context__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution-context__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution-context__entry__content__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution-context__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution-context__description{margin-top:.5rem;margin-bottom:.5rem;cursor:default;user-select:none;padding:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__execution-context__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__execution-context__mapping{margin-bottom:.5rem}.data-space__viewer__info{padding:2rem}.data-space__viewer__info__project-info__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-blue-100);color:var(--color-dark-grey-100);font-weight:500}.data-space__viewer__info__project-info__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 17.8rem);padding:0 1rem;background:var(--color-dark-grey-100);font-weight:500;color:var(--color-blue-50);font-family:"Roboto Mono",monospace}.data-space__viewer__info__project-info__link{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-shade-100);border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-250)}.data-space__viewer__info__project-info__link svg{font-size:1.2rem}.data-space__viewer__info__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__info__section__title{display:flex;align-items:center;font-weight:500;color:var(--color-dark-grey-500);margin-bottom:1rem;line-height:2rem;cursor:default}.data-space__viewer__info__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__info__tagged-value__tag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__tagged-value__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 15rem);border-radius:0 .2rem .2rem 0;padding:0 1rem;line-height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-400)}.data-space__viewer__info__steoreotype{display:flex;align-items:center;height:100%;border-radius:.2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__section__placeholder{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;color:var(--color-dark-grey-300);font-weight:500;border:.2rem dashed var(--color-dark-grey-200)}.data-space__viewer__support{padding:2rem}.data-space__viewer__support__email__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__support__email__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__support__email__entry__icon svg{font-size:1.6rem;color:var(--color-light-grey-200)}.data-space__viewer__support__email__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space-preview__dialog{height:calc(100vh - 4rem);width:calc(100vw - 4rem);border:none !important}.data-space-preview__dialog__container__content{max-height:100vh !important}.data-space-preview__dialog__header{display:flex;align-items:center;height:3.8rem}.data-space-preview__dialog__header__actions{display:flex;align-items:center;height:100%}.data-space-preview__dialog__header__action{display:flex;align-items:center;justify-content:center;height:100%;width:3.8rem}.data-space-preview__dialog__header__action svg{font-size:1.6rem;color:var(--color-dark-shade-300)}.data-space-preview__dialog__header__action:hover svg{color:var(--color-dark-shade-800)}.data-space-preview__dialog__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-80)}.data-space-preview__dialog__content--failed{display:flex;align-items:center;height:2.8rem}.data-space-preview__dialog__content--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space-preview__dialog__content--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}.query-setup__landing-page__action--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-builder__setup__data-space-setup .query-builder__setup.panel{height:9.8rem}.query-builder__setup__data-space-setup .query-builder__side-bar__content{height:calc(100% - 9.8rem)}.query-builder__setup__data-space--with-runtime .query-builder__setup.panel{height:16.4rem}.query-builder__setup__data-space--with-runtime .query-builder__side-bar__content{height:calc(100% - 16.4rem)}.query-builder__setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-builder__setup__data-space__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__icon__execution-context{color:var(--color-lime-75)}.query-builder__setup__data-space-searcher__btn{flex-grow:0;flex-shrink:0;height:2.8rem;width:2.8rem;margin-left:.5rem}.data-space-advanced-search__dialog{height:calc(100vh - 4rem);width:calc(100vw - 4rem);border:none !important}.data-space-advanced-search__dialog__container__content{max-height:100vh !important}.data-space-advanced-search__dialog__header{display:flex;align-items:center;height:3.8rem}.data-space-advanced-search__dialog__header__actions{display:flex;align-items:center;height:100%}.data-space-advanced-search__dialog__header__action{display:flex;align-items:center;justify-content:center;height:100%;width:3.8rem}.data-space-advanced-search__dialog__header__action svg{font-size:1.6rem;color:var(--color-dark-shade-300)}.data-space-advanced-search__dialog__header__action:hover svg{color:var(--color-dark-shade-800)}.data-space-advanced-search__dialog__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-80)}.data-space-advanced-search__dialog__input{display:flex;align-items:center;padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.data-space-advanced-search__dialog__input__icon{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;margin-right:.5rem}.data-space-advanced-search__dialog__input__selector{width:calc(100% - 3.3rem)}.data-space-advanced-search__dialog__input__use-snapshot-btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:0 .2rem .2rem 0;background:var(--color-dark-grey-300)}.data-space-advanced-search__dialog__input__use-snapshot-btn svg{color:var(--color-light-grey-50)}.data-space-advanced-search__dialog__input__use-snapshot-btn--active{background:var(--color-blue-100)}.data-space-advanced-search__dialog__input__proceed-btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;height:2.8rem;color:var(--color-light-grey-200);margin-left:.5rem}.data-space-advanced-search__dialog__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.data-space-advanced-search__dialog__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.data-space-advanced-search__dialog__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.data-space-advanced-search__dialog__view{height:calc(100% - 3.8rem);width:100%}.data-space-advanced-search__dialog__view--failed{display:flex;align-items:center;height:2.8rem}.data-space-advanced-search__dialog__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space-advanced-search__dialog__view--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}.query-builder__setup__mapping-execution .query-builder__setup.panel{height:9.8rem}.query-builder__setup__mapping-execution .query-builder__side-bar__content{height:calc(100% - 9.8rem)}:root{--color-data-space: var(--color-blue-50)}.icon--data-space{color:var(--color-data-space)}/*# sourceMappingURL=index.css.map */
|
|
17
|
+
@import"@ag-grid-community/styles/ag-grid.css";@import"@ag-grid-community/styles/ag-theme-balham.css";@import"@finos/legend-extension-dsl-diagram/lib/index.css";.data-space__viewer{height:100%;width:100%;position:relative;background:var(--color-dark-grey-80);color:var(--color-light-grey-200);font-family:Roboto,sans-serif}.data-space__viewer__header{display:flex;justify-content:center;position:absolute;top:0;height:9rem;width:100%;z-index:1;background:rgba(0,0,0,0);transition:all .5s ease}.data-space__viewer__header--floating{background:var(--color-dark-grey-85);box-shadow:var(--color-dark-shade-280) 0 0 .5rem 0}.data-space__viewer__header__content{width:min(140rem,80vw);position:relative}.data-space__viewer__header__content--expanded{width:80vw}.data-space__viewer__header__title{display:flex;align-items:center;justify-content:center;position:absolute;left:8rem;top:2rem;height:5rem;border-radius:.5rem;padding:0 3rem;user-select:none;background:var(--color-blue-200)}.data-space__viewer__header__title__label{font-size:2.4rem;font-weight:500;color:var(--color-light-grey-0)}.data-space__viewer__header__title__verified-badge{margin-left:1rem;font-size:3rem;color:var(--color-light-grey-0)}.data-space__viewer__body{display:flex;align-items:center;flex-direction:column;height:100%;width:100%;overflow:overlay}.data-space__viewer__frame{display:flex;width:min(140rem,80vw);height:100%;padding:4rem;position:relative}.data-space__viewer__frame--expanded{width:80vw}.data-space__viewer__frame--boundless{height:initial}.data-space__viewer__content{display:flex;width:100%;padding:4rem;box-shadow:var(--color-dark-shade-280) 0 .1rem .5rem 0}.data-space__viewer__panel{height:100%;width:100%;overflow:auto;padding:2rem 0}.data-space__viewer__grid{--ag-font-family: "Roboto";--ag-border-color: var(--color-dark-grey-200);--ag-background-color: var(--color-dark-grey-50);--ag-foreground-color: var(--color-light-grey-200);--ag-header-background-color: var(--color-dark-grey-100);--ag-header-foreground-color: var(--color-light-grey-50);--ag-balham-active-color: var(--color-blue-200);--ag-odd-row-background-color: var(--color-dark-grey-50);--ag-even-row-background-color: var(--color-dark-grey-50);--ag-row-hover-color: var(--color-dark-blue-shade-100);--ag-row-border-color: var(--color-dark-grey-200)}.data-space__viewer__grid .ag-header-cell-text{font-weight:700}.data-space__viewer__grid .ag-cell-value{word-break:break-word}.data-space__viewer__activity-bar{width:5rem;position:absolute;left:2rem;top:11rem;overflow-x:hidden;overflow-y:hidden;border-radius:.2rem;background:var(--color-dark-grey-100)}.data-space__viewer__activity-bar__menu{height:3.4rem;border-bottom:.1rem solid var(--color-dark-grey-200)}.data-space__viewer__activity-bar__menu-item{display:flex;align-items:center;justify-content:center;height:3.4rem;width:100%;color:var(--color-dark-grey-400)}.data-space__viewer__activity-bar__menu-item svg{font-size:2.4rem}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column}.data-space__viewer__activity-bar__item{display:flex;align-items:center;justify-content:center;height:5rem;width:5rem;color:var(--color-dark-grey-400);cursor:pointer}.data-space__viewer__activity-bar__item svg{font-size:2.2rem}.data-space__viewer__activity-bar__item:hover{color:var(--color-light-grey-250);cursor:pointer}.data-space__viewer__activity-bar__item--active{color:var(--color-light-grey-250)}.data-space__viewer__activity-bar__divider{flex-grow:0;flex-shrink:0;border-radius:.1rem;height:.1rem;background:var(--color-dark-grey-300);margin:.5rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--home{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--launch{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--access{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--dataset{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--availability{font-size:3rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--cost{font-size:3rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--governance{font-size:2.8rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--info{font-size:2.4rem}.data-space__viewer__activity-bar__item .data-space__viewer__activity-bar__icon--support{font-size:2.4rem}.data-space__viewer__wiki{display:flex;flex-direction:column;width:100%}.data-space__viewer__wiki__section{flex-direction:column}.data-space__viewer__wiki__section__header{display:flex;align-items:center;justify-content:space-between;height:3rem;border-bottom:.2rem solid var(--color-blue-100);margin-bottom:2rem;margin-top:4rem;user-select:none;color:var(--color-blue-100)}.data-space__viewer__wiki__section__header__label{display:flex;align-items:center;font-size:2.4rem;text-transform:uppercase;font-weight:500}.data-space__viewer__wiki__section__header__anchor{display:flex;align-items:center;margin-left:.5rem;cursor:pointer}.data-space__viewer__wiki__section__header__anchor svg{color:var(--color-dark-grey-300)}.data-space__viewer__wiki__section__header__anchor:hover svg{color:var(--color-dark-grey-400)}.data-space__viewer__wiki__section__header__documentation{color:var(--color-blue-100)}.data-space__viewer__wiki__section__content{margin-bottom:3rem}.data-space__viewer__wiki__placeholder{display:flex;align-items:center;justify-content:center;height:15rem;width:100%;font-weight:500;border-radius:.2rem;color:var(--color-dark-grey-300);background:var(--color-dark-grey-100);user-select:none}.data-space__viewer__markdown-text-viewer{color:var(--color-light-grey-200);padding:0}.data-space__viewer__description{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.data-space__viewer__description__content{width:100%}.data-space__viewer__diagram-viewer{height:70rem}.data-space__viewer__diagram-viewer__carousel{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagram-viewer__carousel .diagram-canvas{border-radius:.2rem}.data-space__viewer__diagram-viewer__carousel__frame{height:100%;width:100%;display:flex;position:relative}.data-space__viewer__diagram-viewer__carousel__frame__display{height:100%;width:100%;display:flex;position:relative}.data-space__viewer__diagram-viewer__carousel__frame__navigator{display:flex;align-items:center;justify-content:center;height:100%;width:5rem;background:rgba(0,0,0,0);position:absolute;top:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--back{left:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--back:hover{background-image:linear-gradient(90deg, var(--color-dark-shade-50), transparent)}.data-space__viewer__diagram-viewer__carousel__frame__navigator--next{right:0}.data-space__viewer__diagram-viewer__carousel__frame__navigator--next:hover{background-image:linear-gradient(270deg, var(--color-dark-shade-50), transparent)}.data-space__viewer__diagram-viewer__carousel__frame__navigator svg{color:var(--color-dark-shade-800);font-size:2.6rem}.data-space__viewer__diagram-viewer__carousel__frame__navigator:hover{cursor:pointer}.data-space__viewer__diagram-viewer__carousel__frame__navigator:hover svg{color:var(--color-dark-shade-800)}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]{cursor:not-allowed}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]:hover{background:rgba(0,0,0,0)}.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled] svg,.data-space__viewer__diagram-viewer__carousel__frame__navigator[disabled]:hover svg{color:var(--color-dark-shade-200)}.data-space__viewer__diagram-viewer__carousel__frame__indicators{display:flex;align-items:center;justify-content:center;height:3rem;width:100%;position:absolute;bottom:0;background:rgba(0,0,0,0);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagram-viewer__carousel__frame__indicators__notch{display:flex;align-items:center;justify-content:center;height:100%;background:var(--color-dark-shade-0);padding:0 3rem;border-radius:1rem 1rem 0 0}.data-space__viewer__diagram-viewer__carousel__frame__indicator{margin:0 .5rem}.data-space__viewer__diagram-viewer__carousel__frame__indicator svg{font-size:1.2rem;color:var(--color-dark-shade-50)}.data-space__viewer__diagram-viewer__carousel__frame__indicator--active svg{color:var(--color-blue-150)}.data-space__viewer__diagram-viewer__carousel__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagram-viewer__carousel__dropdown{width:100%}.data-space__viewer__diagram-viewer__carousel__dropdown__container{padding:.3rem}.data-space__viewer__models-documentation{height:70rem}.data-space__viewer__models-documentation__search{display:flex;align-items:center;height:3.8rem;justify-content:flex-end}.data-space__viewer__models-documentation__search__input-group{display:flex;align-items:center;position:relative;width:20rem}.data-space__viewer__models-documentation__search__input-group__input{width:100%;height:2.8rem;padding-left:2.8rem}.data-space__viewer__models-documentation__search__input-group__icon{display:flex;align-items:center;justify-content:center;position:absolute;height:2.8rem;width:2.8rem}.data-space__viewer__models-documentation__grid{height:calc(100% - 3.8rem);width:100%}.data-space__viewer__quickstart__item{margin:3rem 0}.data-space__viewer__quickstart__item__header{display:flex;align-items:center;height:3rem;margin-bottom:1rem}.data-space__viewer__quickstart__item__header__title{color:var(--color-light-grey-400);font-size:2rem;font-weight:500;user-select:none}.data-space__viewer__quickstart__item__header__type{display:flex;align-items:center;height:2rem;padding:0 .5rem;border-radius:.5rem;background:var(--color-dark-grey-300);color:var(--color-light-grey-150);user-select:none;margin-left:.5rem;font-size:1.2rem;font-weight:500}.data-space__viewer__quickstart__item__header__type--tds{background:var(--color-magenta-100)}.data-space__viewer__quickstart__item__header__anchor{display:flex;align-items:center;margin-left:.5rem;cursor:pointer}.data-space__viewer__quickstart__item__header__anchor svg{color:var(--color-dark-grey-300)}.data-space__viewer__quickstart__item__header__anchor:hover svg{color:var(--color-dark-grey-400)}.data-space__viewer__quickstart__item__description{margin-bottom:1rem}.data-space__viewer__quickstart__item__content{display:flex;flex-direction:column;margin-top:1rem}.data-space__viewer__quickstart__item__content__tab__header{display:flex;align-items:center;justify-content:space-between;height:3.4rem;padding-bottom:1rem;border-bottom:.1rem solid var(--color-dark-grey-280)}.data-space__viewer__quickstart__item__content__tabs{display:flex;align-items:center}.data-space__viewer__quickstart__item__content__tab{display:flex;align-items:center;padding:0 1rem;color:var(--color-dark-grey-300)}.data-space__viewer__quickstart__item__content__tab__icon--query{font-size:1.6rem}.data-space__viewer__quickstart__item__content__tab__icon+.data-space__viewer__quickstart__item__content__tab__label{margin-left:.5rem}.data-space__viewer__quickstart__item__content__tab:hover .data-space__viewer__quickstart__item__content__tab__label{color:var(--color-dark-grey-400)}.data-space__viewer__quickstart__item__content__tab:hover .data-space__viewer__quickstart__item__content__tab__icon svg{color:var(--color-dark-grey-400)}.data-space__viewer__quickstart__item__content__tab--active:hover .data-space__viewer__quickstart__item__content__tab__label,.data-space__viewer__quickstart__item__content__tab--active .data-space__viewer__quickstart__item__content__tab__label{color:var(--color-blue-200);font-weight:500}.data-space__viewer__quickstart__item__content__tab--active:hover .data-space__viewer__quickstart__item__content__tab__icon svg,.data-space__viewer__quickstart__item__content__tab--active .data-space__viewer__quickstart__item__content__tab__icon svg{color:var(--color-blue-200)}.data-space__viewer__quickstart__item__content__tab__content{margin-top:1rem;height:40rem}.data-space__viewer__quickstart__tds__column-specs{height:100%}.data-space__viewer__quickstart__tds__query{display:flex;align-items:center;justify-content:center;height:100%;border:.1rem solid var(--color-dark-grey-200)}.data-space__viewer__quickstart__tds__query__actions{display:flex;flex-direction:column}.data-space__viewer__quickstart__tds__query__action{display:flex;align-items:center;justify-content:center;height:2.8rem;width:25rem;border-radius:.2rem}.data-space__viewer__quickstart__tds__query__action+.data-space__viewer__quickstart__tds__query__action{margin-top:.5rem}.data-space__viewer__quickstart__tds__query-text{display:flex;flex-direction:column;height:100%}.data-space__viewer__quickstart__tds__query-text__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-200);position:relative}.data-space__viewer__quickstart__tds__query-text__actions{display:flex;align-items:center;justify-content:flex-end;height:3.8rem}.data-space__viewer__quickstart__tds__query-text__action{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem}.data-space__viewer__quickstart__tds__query-text__action svg{color:var(--color-dark-grey-500)}.data-space__viewer__quickstart__tds__query-text__action:hover svg{color:var(--color-light-grey-400)}.data-space__viewer__execution-context__context-icon{color:var(--color-lime-75)}.data-space__viewer__execution-context__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution-context__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__execution-context__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution-context__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space__viewer__execution-context__entry__content__dropdown{width:100%}.data-space__viewer__execution-context__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution-context__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution-context__entry__content__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution-context__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution-context__mapping{margin-bottom:.5rem}.data-space__viewer__info__project-info__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-blue-100);color:var(--color-dark-grey-100);font-weight:500}.data-space__viewer__info__project-info__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 17.8rem);padding:0 1rem;background:var(--color-dark-grey-100);font-weight:500;color:var(--color-blue-50);font-family:"Roboto Mono",monospace}.data-space__viewer__info__project-info__link{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-shade-100);border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-250)}.data-space__viewer__info__project-info__link svg{font-size:1.2rem}.data-space__viewer__info__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__info__section__title{display:flex;align-items:center;font-weight:500;color:var(--color-dark-grey-500);margin-bottom:1rem;line-height:2rem;cursor:default}.data-space__viewer__info__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__info__tagged-value__tag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__tagged-value__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 15rem);border-radius:0 .2rem .2rem 0;padding:0 1rem;line-height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-400)}.data-space__viewer__info__steoreotype{display:flex;align-items:center;height:100%;border-radius:.2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__section__placeholder{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;color:var(--color-dark-grey-300);font-weight:500;border:.2rem dashed var(--color-dark-grey-200)}.data-space__viewer__support__email__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__support__email__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__support__email__entry__icon svg{font-size:1.6rem;color:var(--color-light-grey-200)}.data-space__viewer__support__email__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space-preview__dialog{height:calc(100vh - 4rem);width:calc(100vw - 4rem);border:none !important}.data-space-preview__dialog__container__content{max-height:100vh !important}.data-space-preview__dialog__header{display:flex;align-items:center;height:3.8rem}.data-space-preview__dialog__header__actions{display:flex;align-items:center;height:100%}.data-space-preview__dialog__header__action{display:flex;align-items:center;justify-content:center;height:100%;width:3.8rem}.data-space-preview__dialog__header__action svg{font-size:1.6rem;color:var(--color-dark-shade-300)}.data-space-preview__dialog__header__action:hover svg{color:var(--color-dark-shade-800)}.data-space-preview__dialog__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-80)}.data-space-preview__dialog__content--failed{display:flex;align-items:center;height:2.8rem}.data-space-preview__dialog__content--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space-preview__dialog__content--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}.query-setup__landing-page__action--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-builder__setup__data-space-setup .query-builder__setup.panel{height:9.8rem}.query-builder__setup__data-space-setup .query-builder__side-bar__content{height:calc(100% - 9.8rem)}.query-builder__setup__data-space--with-runtime .query-builder__setup.panel{height:16.4rem}.query-builder__setup__data-space--with-runtime .query-builder__side-bar__content{height:calc(100% - 16.4rem)}.query-builder__setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-builder__setup__data-space__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__icon__execution-context{color:var(--color-lime-75)}.query-builder__setup__data-space-searcher__btn{flex-grow:0;flex-shrink:0;height:2.8rem;width:2.8rem;margin-left:.5rem}.data-space-advanced-search__dialog{height:calc(100vh - 4rem);width:calc(100vw - 4rem);border:none !important}.data-space-advanced-search__dialog__container__content{max-height:100vh !important}.data-space-advanced-search__dialog__header{display:flex;align-items:center;height:3.8rem}.data-space-advanced-search__dialog__header__actions{display:flex;align-items:center;height:100%}.data-space-advanced-search__dialog__header__action{display:flex;align-items:center;justify-content:center;height:100%;width:3.8rem}.data-space-advanced-search__dialog__header__action svg{font-size:1.6rem;color:var(--color-dark-shade-300)}.data-space-advanced-search__dialog__header__action:hover svg{color:var(--color-dark-shade-800)}.data-space-advanced-search__dialog__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-80)}.data-space-advanced-search__dialog__input{display:flex;align-items:center;padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.data-space-advanced-search__dialog__input__icon{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;margin-right:.5rem}.data-space-advanced-search__dialog__input__selector{width:calc(100% - 3.3rem)}.data-space-advanced-search__dialog__input__use-snapshot-btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:0 .2rem .2rem 0;background:var(--color-dark-grey-300)}.data-space-advanced-search__dialog__input__use-snapshot-btn svg{color:var(--color-light-grey-50)}.data-space-advanced-search__dialog__input__use-snapshot-btn--active{background:var(--color-blue-100)}.data-space-advanced-search__dialog__input__proceed-btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;height:2.8rem;color:var(--color-light-grey-200);margin-left:.5rem}.data-space-advanced-search__dialog__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.data-space-advanced-search__dialog__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.data-space-advanced-search__dialog__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.data-space-advanced-search__dialog__view{height:calc(100% - 3.8rem);width:100%}.data-space-advanced-search__dialog__view--failed{display:flex;align-items:center;height:2.8rem}.data-space-advanced-search__dialog__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space-advanced-search__dialog__view--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}.query-builder__setup__mapping-execution .query-builder__setup.panel{height:9.8rem}.query-builder__setup__mapping-execution .query-builder__side-bar__content{height:calc(100% - 9.8rem)}:root{--color-data-space: var(--color-blue-50)}.icon--data-space{color:var(--color-data-space)}/*# sourceMappingURL=index.css.map */
|
package/lib/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-studio-plugin.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,+CACA,uDAEA,2DCDR,oBACE,YACA,WACA,kBACA,qCACA,
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-studio-plugin.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,+CACA,uDAEA,2DCDR,oBACE,YACA,WACA,kBACA,qCACA,kCACA,8BAEA,4BCSA,aACA,uBDPE,kBACA,MACA,YACA,WACA,UACA,yBACA,wBAEA,sCACE,qCACA,mDAGF,qCACE,uBACA,kBAGF,+CACE,WAGF,mCC3BF,aACA,mBACA,uBD4BI,kBACA,UACA,SACA,YACA,oBACA,eACA,iBACA,iCAEA,0CACE,iBACA,gBACA,gCAGF,mDACE,iBACA,eACA,gCAKN,0BACE,aACA,mBACA,sBACA,YACA,WACA,iBAGF,2BACE,aACA,uBACA,YACA,aACA,kBAGF,qCACE,WAGF,sCACE,eAGF,6BACE,aACA,WACA,aACA,uDAGF,2BACE,YACA,WACA,cACA,eAGF,0BACE,2BAIA,8CACA,iDACA,mDACA,yDACA,yDACA,gDACA,yDACA,0DACA,uDACA,kDAEA,+CACE,gBAGF,yCACE,sBAKN,kCACE,WACA,kBACA,UACA,UACA,kBACA,kBACA,oBACA,sCAEA,wCACE,cACA,qDAGF,6CCrIA,aACA,mBACA,uBDsIE,cACA,WACA,iCAEA,iDACE,iBAIJ,yCACE,YACA,gBACA,kBACA,aACA,sBAGF,wCCzJA,aACA,mBACA,uBD0JE,YACA,WACA,iCACA,eAGF,4CACE,iBAGF,8CACE,kCACA,eAGF,gDACE,kCAGF,2CClJA,YACA,cDoJE,oBACA,aACA,sCACA,aAIA,sFACE,iBAGF,wFACE,iBAGF,wFACE,iBAGF,yFACE,iBAGF,8FACE,eAGF,sFACE,eAGF,4FACE,iBAGF,sFACE,iBAGF,yFACE,iBAKN,0BACE,aACA,sBACA,WAEA,mCACE,sBAEA,2CCjOF,aACA,mBDmOI,8BACA,YACA,gDACA,mBACA,gBACA,iBACA,4BAEA,kDC5OJ,aACA,mBD8OM,iBACA,yBACA,gBAGF,mDCpPJ,aACA,mBDsPM,kBACA,eAEA,uDACE,iCAGF,6DACE,iCAIJ,0DACE,4BAIJ,4CACE,mBAIJ,uCCnRA,aACA,mBACA,uBDoRE,aACA,WACA,gBACA,oBACA,iCACA,sCACA,iBAIJ,0CACE,kCACA,UAGF,iCCrSE,aACA,mBACA,uBDsSA,YACA,WAEA,0CACE,WAIJ,oCACE,aAEA,8CACE,aACA,sBACA,YACA,WAEA,8DACE,oBAGF,qDACE,YACA,WACA,aACA,kBAEA,8DACE,YACA,WACA,aACA,kBAGF,gEC1UJ,aACA,mBACA,uBD2UM,YACA,WACA,yBACA,kBACA,MAEA,sEACE,OAEA,4EACE,iFAQJ,sEACE,QAEA,4EACE,kFAQJ,oEACE,kCACA,iBAGF,sEACE,eAEA,0EACE,kCAIJ,0EACE,mBAEA,gFACE,yBAGF,kKAEE,kCAKN,iECtYJ,aACA,mBACA,uBDuYM,YACA,WACA,kBACA,SACA,yBACA,kCACA,gBACA,iBACA,eAGF,wECpZJ,aACA,mBACA,uBDqZM,YACA,qCACA,eACA,4BAGF,gEACE,eAEA,oEACE,iBACA,iCAIJ,4EACE,4BAIJ,uDACE,2BACA,WAGF,wDACE,WAEA,mEACE,cAMR,0CACE,aAEA,kDCvbA,aACA,mBDybE,cACA,yBAEA,+DC7bF,aACA,mBD+bI,kBACA,YAEA,sEACE,WACA,cACA,oBAGF,qEC/cJ,aACA,mBACA,uBDgdM,kBACA,cACA,aAKN,gDACE,2BACA,WAKF,sCACE,cAGF,8CC9dA,aACA,mBDgeE,YACA,mBAGF,qDACE,kCACA,eACA,gBACA,iBAGF,oDC5eA,aACA,mBD8eE,YACA,gBACA,oBACA,sCACA,kCACA,iBACA,kBACA,iBACA,gBAEA,yDACE,oCAIJ,sDC9fA,aACA,mBDggBE,kBACA,eAEA,0DACE,iCAGF,gEACE,iCAIJ,mDACE,mBAGF,+CACE,aACA,sBACA,gBAEA,4DCthBF,aACA,mBDwhBI,8BACA,cACA,oBACA,qDAGF,qDC/hBF,aACA,mBDkiBE,oDCniBF,aACA,mBDqiBI,eACA,iCAIA,iEACE,iBAIJ,qHACE,kBAGF,qHACE,iCAIA,wHACE,iCAIJ,oPAEE,4BACA,gBAKA,0PACE,4BAIJ,6DACE,gBACA,aAIJ,mDACE,YAGF,4CC3lBA,aACA,mBACA,uBD4lBE,YACA,8CAEA,qDACE,aACA,sBAGF,oDCtmBF,aACA,mBACA,uBDumBI,cACA,YACA,oBAEA,wGACE,iBAKN,iDACE,aACA,sBACA,YAEA,0DACE,2BACA,8CACA,kBAGF,0DCxnBF,aACA,mBD0nBI,yBACA,cAGF,yDCroBF,aACA,mBACA,uBDsoBI,cACA,aAEA,6DACE,iCAGF,mEACE,kCAON,qDACE,2BAGF,8CCrpBA,aACA,mBDupBE,cACA,WAEA,oDCjqBF,aACA,mBACA,uBDkqBI,cACA,aACA,8BACA,sCAEA,wDACE,iBAIJ,uDCxqBF,aACA,mBD0qBI,cACA,0BACA,8BACA,8CACA,kCACA,eACA,sCACA,kDACA,iBAEA,iEACE,WAEA,4EACE,cAGF,yEC5rBN,aACA,mBD+rBM,8EChsBN,aACA,mBDksBQ,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAIJ,6DACE,oCAKN,gDACE,oBAKF,+CC/sBA,mBACA,uBACA,gBACA,sBACA,gBD8sBE,YACA,YACA,8BACA,eACA,mBACA,iCACA,iCACA,gBAGF,+CC5tBA,mBACA,uBACA,gBACA,sBACA,gBD2tBE,YACA,2BACA,eACA,sCACA,gBACA,2BACA,oCAGF,8CCxvBA,aACA,mBACA,uBDyvBE,YACA,aACA,sCACA,mCACA,8BACA,oDAEA,kDACE,iBAIJ,mCACE,eACA,oBAGF,0CCtwBA,aACA,mBDwwBE,gBACA,iCACA,mBACA,iBACA,eAGF,0CChxBA,aACA,mBDkxBE,cACA,eACA,WAGF,6CC9wBA,mBACA,uBACA,gBACA,sBACA,gBD6wBE,YACA,YACA,8BACA,eACA,mBACA,mCACA,kCACA,gBAGF,+CC3xBA,mBACA,uBACA,gBACA,sBACA,gBD0xBE,YACA,yBACA,8BACA,eACA,mBACA,sCACA,kCAGF,uCCjzBA,aACA,mBDmzBE,YACA,oBACA,eACA,mBACA,mCACA,kCACA,gBAGF,gDCn0BA,aACA,mBACA,uBDo0BE,YACA,WACA,iCACA,gBACA,+CAMA,2CC10BF,aACA,mBD40BI,cACA,WAEA,iDCt1BJ,aACA,mBACA,uBDu1BM,cACA,aACA,8BACA,sCAEA,qDACE,iBACA,kCAIJ,oDC91BJ,aACA,mBDg2BM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,oCACA,sCACA,kDACA,iBEt3BR,4BACE,0BACA,yBACA,uBAEA,gDACE,4BAGF,oCDGA,aACA,mBCDE,cAGF,6CDHA,aACA,mBCKE,YAGF,4CDfA,aACA,mBACA,uBCgBE,YACA,aAEA,gDACE,iBACA,kCAGF,sDACE,kCAIJ,qCACE,2BACA,6CAEA,6CD7BF,aACA,mBC+BI,cAEA,mDDxCJ,aACA,mBACA,uBCyCM,YAGF,mDACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBC3DR,qDACE,mCAGF,6CACE,iBAIA,oEACE,cAGF,0EACE,2BAMA,4EACE,eAGF,kFACE,4BAIJ,0CFPA,mBACA,uBACA,gBACA,sBACA,gBEME,oBAGF,gDACE,iBACA,iCACA,kBACA,mBAGF,+CACE,iBACA,2BACA,kBACA,mBAGF,2DACE,2BAKF,gDFpBA,YACA,cEsBE,cACA,aACA,kBAIJ,oCACE,0BACA,yBACA,uBAEA,wDACE,4BAGF,4CF7DA,aACA,mBE+DE,cAGF,qDFnEA,aACA,mBEqEE,YAGF,oDF/EA,aACA,mBACA,uBEgFE,YACA,aAEA,wDACE,iBACA,kCAGF,8DACE,kCAIJ,6CACE,2BACA,6CAGF,2CF9FA,aACA,mBEgGE,cACA,WACA,cACA,sCAGF,iDF7GA,aACA,mBACA,uBA2BA,YACA,cEmFE,aACA,mBAGF,qDACE,0BAGF,6DFzHA,aACA,mBACA,uBE0HE,cACA,aACA,8BACA,sCAEA,iEACE,iCAGF,qEACE,iCAIJ,wDF1IA,aACA,mBACA,uBA2BA,YACA,cEgHE,aACA,cACA,kCACA,kBAGF,4CFpIA,mBACA,uBACA,gBACA,sBACA,gBEmIE,oBAGF,kDACE,iBACA,iCACA,kBACA,mBAGF,iDACE,iBACA,2BACA,kBACA,mBAGF,0CACE,2BACA,WAEA,kDFtKF,aACA,mBEwKI,cAEA,wDFjLJ,aACA,mBACA,uBEkLM,YAGF,wDACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBAON,qEACE,cAGF,2EACE,2BC7MJ,MACE,yCAGF,kBACE","file":"index.css"}
|
package/lib/index.d.ts
CHANGED
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
export * from './DSL_DataSpace_Extension.js';
|
|
17
17
|
export { DSL_DataSpace_LegendStudioApplicationPlugin } from './components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js';
|
|
18
18
|
export { DSL_DataSpace_LegendQueryApplicationPlugin } from './components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js';
|
|
19
|
-
export {
|
|
19
|
+
export { DSL_DataSpace_LegendApplicationPlugin } from './components/DSL_DataSpace_LegendApplicationPlugin.js';
|
|
20
|
+
export * from './stores/DSL_DataSpace_LegendApplicationPlugin_Extension.js';
|
|
20
21
|
export { DataSpaceViewer } from './components/DataSpaceViewer.js';
|
|
21
22
|
export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
|
|
22
23
|
export { DataSpaceViewerState } from './stores/DataSpaceViewerState.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;AAEH,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,2CAA2C,EAAE,MAAM,oEAAoE,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,kEAAkE,CAAC;AAC9H,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,2CAA2C,EAAE,MAAM,oEAAoE,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,kEAAkE,CAAC;AAC9H,OAAO,EAAE,qCAAqC,EAAE,MAAM,uDAAuD,CAAC;AAC9G,cAAc,6DAA6D,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,2EAA2E,CAAC;AAEnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,oDAAoD,CAAC;AACnE,OAAO,EAAE,sCAAsC,EAAE,MAAM,yEAAyE,CAAC;AACjI,cAAc,sDAAsD,CAAC;AAErE,cAAc,4DAA4D,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
export * from './DSL_DataSpace_Extension.js';
|
|
17
17
|
export { DSL_DataSpace_LegendStudioApplicationPlugin } from './components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js';
|
|
18
18
|
export { DSL_DataSpace_LegendQueryApplicationPlugin } from './components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js';
|
|
19
|
-
export { DSL_DataSpace_LegendApplicationPlugin
|
|
19
|
+
export { DSL_DataSpace_LegendApplicationPlugin } from './components/DSL_DataSpace_LegendApplicationPlugin.js';
|
|
20
|
+
export * from './stores/DSL_DataSpace_LegendApplicationPlugin_Extension.js';
|
|
20
21
|
export { DataSpaceViewer } from './components/DataSpaceViewer.js';
|
|
21
22
|
export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
|
|
22
23
|
export { DataSpaceViewerState } from './stores/DataSpaceViewerState.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,8BAA8B,CAAC;AAC7C,OAAO,EAAE,2CAA2C,EAAE,MAAM,oEAAoE,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,kEAAkE,CAAC;AAC9H,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,2CAA2C,EAAE,MAAM,oEAAoE,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,kEAAkE,CAAC;AAC9H,OAAO,EAAE,qCAAqC,EAAE,MAAM,uDAAuD,CAAC;AAC9G,cAAc,6DAA6D,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,2EAA2E,CAAC;AAEnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,oDAAoD,CAAC;AACnE,OAAO,EAAE,sCAAsC,EAAE,MAAM,yEAAyE,CAAC;AACjI,cAAc,sDAAsD,CAAC;AAErE,cAAc,4DAA4D,CAAC"}
|
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.7",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"@finos/legend-server-depot": "workspace:*",
|
|
58
58
|
"@finos/legend-shared": "workspace:*",
|
|
59
59
|
"@finos/legend-storage": "workspace:*",
|
|
60
|
-
"@types/react": "18.0.
|
|
60
|
+
"@types/react": "18.0.30",
|
|
61
61
|
"mobx": "6.9.0",
|
|
62
|
-
"mobx-react-lite": "
|
|
62
|
+
"mobx-react-lite": "4.0.2",
|
|
63
63
|
"react": "18.2.0",
|
|
64
64
|
"react-dom": "18.2.0",
|
|
65
65
|
"serializr": "3.0.2"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
17
|
+
import type { LegendApplicationPlugin } from '@finos/legend-application';
|
|
18
|
+
import type { DataSpaceViewerState } from './DataSpaceViewerState.js';
|
|
19
|
+
import type { DataSpaceExecutableAnalysisResult, DataSpaceExecutableTDSResult } from '../graphManager/action/analytics/DataSpaceAnalysis.js';
|
|
20
|
+
export type TDSExecutableActionConfiguration = {
|
|
21
|
+
key: string;
|
|
22
|
+
title: string;
|
|
23
|
+
icon?: React.ReactNode | undefined;
|
|
24
|
+
renderer: (dataSpaceViewerState: DataSpaceViewerState, executableAnalysisResult: DataSpaceExecutableAnalysisResult, tdsResult: DataSpaceExecutableTDSResult) => React.ReactNode | undefined;
|
|
25
|
+
};
|
|
26
|
+
export interface DSL_DataSpace_LegendApplicationPlugin_Extension extends LegendApplicationPlugin {
|
|
27
|
+
/**
|
|
28
|
+
* Get the list of configurations of actions for TDS executable
|
|
29
|
+
*/
|
|
30
|
+
getExtraDataSpaceTDSExecutableActionConfigurations?(): TDSExecutableActionConfiguration[];
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=DSL_DataSpace_LegendApplicationPlugin_Extension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EACV,iCAAiC,EACjC,4BAA4B,EAC7B,MAAM,uDAAuD,CAAC;AAE/D,MAAM,MAAM,gCAAgC,GAAG;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;IACnC,QAAQ,EAAE,CACR,oBAAoB,EAAE,oBAAoB,EAC1C,wBAAwB,EAAE,iCAAiC,EAC3D,SAAS,EAAE,4BAA4B,KACpC,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,MAAM,WAAW,+CACf,SAAQ,uBAAuB;IAC/B;;OAEG;IACH,kDAAkD,CAAC,IAAI,gCAAgC,EAAE,CAAC;CAC3F"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=DSL_DataSpace_LegendApplicationPlugin_Extension.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin_Extension.js","sourceRoot":"","sources":["../../src/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -55,6 +55,7 @@ export declare class DataSpaceViewerState {
|
|
|
55
55
|
get renderer(): DiagramRenderer;
|
|
56
56
|
get isDiagramRendererInitialized(): boolean;
|
|
57
57
|
get diagramCursorClass(): string;
|
|
58
|
+
get isVerified(): boolean;
|
|
58
59
|
setRenderer(val: DiagramRenderer): void;
|
|
59
60
|
setCurrentDiagram(val: DataSpaceDiagramAnalysisResult): void;
|
|
60
61
|
setCurrentActivity(val: DATA_SPACE_VIEWER_ACTIVITY_MODE): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EACL,KAAK,SAAS,EACd,KAAK,eAAe,EAErB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EACV,uBAAuB,EACvB,8BAA8B,EAC9B,uCAAuC,EACxC,MAAM,uDAAuD,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"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"}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import { DIAGRAM_INTERACTION_MODE, } from '@finos/legend-extension-dsl-diagram';
|
|
17
17
|
import { getNullableFirstElement, guaranteeNonNullable, } from '@finos/legend-shared';
|
|
18
18
|
import { action, computed, makeObservable, observable } from 'mobx';
|
|
19
|
+
import { PURE_DATA_SPACE_INFO_PROFILE_PATH, PURE_DATA_SPACE_INFO_PROFILE_VERIFIED_STEREOTYPE, } from '../graphManager/DSL_DataSpace_PureGraphManagerPlugin.js';
|
|
19
20
|
export var DATA_SPACE_VIEWER_ACTIVITY_MODE;
|
|
20
21
|
(function (DATA_SPACE_VIEWER_ACTIVITY_MODE) {
|
|
21
22
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["DESCRIPTION"] = "DESCRIPTION";
|
|
@@ -55,6 +56,7 @@ export class DataSpaceViewerState {
|
|
|
55
56
|
currentExecutionContext: observable,
|
|
56
57
|
currentRuntime: observable,
|
|
57
58
|
isExpandedModeEnabled: observable,
|
|
59
|
+
isVerified: computed,
|
|
58
60
|
renderer: computed,
|
|
59
61
|
setRenderer: action,
|
|
60
62
|
setCurrentDiagram: action,
|
|
@@ -105,6 +107,10 @@ export class DataSpaceViewerState {
|
|
|
105
107
|
return '';
|
|
106
108
|
}
|
|
107
109
|
}
|
|
110
|
+
get isVerified() {
|
|
111
|
+
return Boolean(this.dataSpaceAnalysisResult.stereotypes.find((stereotype) => stereotype.profile === PURE_DATA_SPACE_INFO_PROFILE_PATH &&
|
|
112
|
+
stereotype.value === PURE_DATA_SPACE_INFO_PROFILE_VERIFIED_STEREOTYPE));
|
|
113
|
+
}
|
|
108
114
|
setRenderer(val) {
|
|
109
115
|
this._renderer = val;
|
|
110
116
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAGL,wBAAwB,GACzB,MAAM,qCAAqC,CAAC;AAK7C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.7",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -47,25 +47,25 @@
|
|
|
47
47
|
"@ag-grid-community/core": "29.2.0",
|
|
48
48
|
"@ag-grid-community/react": "29.2.0",
|
|
49
49
|
"@ag-grid-community/styles": "29.2.0",
|
|
50
|
-
"@finos/legend-application": "13.0.
|
|
51
|
-
"@finos/legend-application-query": "11.0.
|
|
52
|
-
"@finos/legend-application-studio": "23.1.
|
|
53
|
-
"@finos/legend-art": "5.0.
|
|
54
|
-
"@finos/legend-extension-dsl-diagram": "7.1.
|
|
55
|
-
"@finos/legend-graph": "25.0.
|
|
56
|
-
"@finos/legend-query-builder": "1.0.
|
|
57
|
-
"@finos/legend-server-depot": "4.4.
|
|
50
|
+
"@finos/legend-application": "13.0.6",
|
|
51
|
+
"@finos/legend-application-query": "11.0.6",
|
|
52
|
+
"@finos/legend-application-studio": "23.1.2",
|
|
53
|
+
"@finos/legend-art": "5.0.39",
|
|
54
|
+
"@finos/legend-extension-dsl-diagram": "7.1.46",
|
|
55
|
+
"@finos/legend-graph": "25.0.1",
|
|
56
|
+
"@finos/legend-query-builder": "1.0.6",
|
|
57
|
+
"@finos/legend-server-depot": "4.4.9",
|
|
58
58
|
"@finos/legend-shared": "8.0.3",
|
|
59
59
|
"@finos/legend-storage": "3.0.43",
|
|
60
|
-
"@types/react": "18.0.
|
|
60
|
+
"@types/react": "18.0.30",
|
|
61
61
|
"mobx": "6.9.0",
|
|
62
|
-
"mobx-react-lite": "
|
|
62
|
+
"mobx-react-lite": "4.0.2",
|
|
63
63
|
"react": "18.2.0",
|
|
64
64
|
"react-dom": "18.2.0",
|
|
65
65
|
"serializr": "3.0.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@finos/legend-dev-utils": "2.0.
|
|
68
|
+
"@finos/legend-dev-utils": "2.0.48",
|
|
69
69
|
"@jest/globals": "29.5.0",
|
|
70
70
|
"cross-env": "7.0.3",
|
|
71
71
|
"eslint": "8.36.0",
|
|
@@ -19,11 +19,6 @@ import {
|
|
|
19
19
|
type LegendApplicationPluginManager,
|
|
20
20
|
} from '@finos/legend-application';
|
|
21
21
|
import packageJson from '../../package.json';
|
|
22
|
-
import type { DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
23
|
-
|
|
24
|
-
export type CheckEntitlementEditorRender = (
|
|
25
|
-
dataSpaceViewerState: DataSpaceViewerState,
|
|
26
|
-
) => React.ReactNode | undefined;
|
|
27
22
|
|
|
28
23
|
export class DSL_DataSpace_LegendApplicationPlugin extends LegendApplicationPlugin {
|
|
29
24
|
static NAME = packageJson.extensions.applicationPlugin;
|
|
@@ -37,8 +32,4 @@ export class DSL_DataSpace_LegendApplicationPlugin extends LegendApplicationPlug
|
|
|
37
32
|
): void {
|
|
38
33
|
pluginManager.registerApplicationPlugin(this);
|
|
39
34
|
}
|
|
40
|
-
|
|
41
|
-
getCheckEntitlementsEditorRender(): CheckEntitlementEditorRender | undefined {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
35
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { observer } from 'mobx-react-lite';
|
|
18
|
+
import { AnchorLinkIcon, QuestionCircleIcon } from '@finos/legend-art';
|
|
19
|
+
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
20
|
+
import { useApplicationStore } from '@finos/legend-application';
|
|
21
|
+
import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
|
|
22
|
+
|
|
23
|
+
export const DataSpaceDataAccess = observer(
|
|
24
|
+
(props: { dataSpaceViewerState: DataSpaceViewerState }) => {
|
|
25
|
+
const { dataSpaceViewerState } = props;
|
|
26
|
+
const applicationStore = useApplicationStore();
|
|
27
|
+
const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
|
|
28
|
+
const documentationUrl = analysisResult.supportInfo?.documentationUrl;
|
|
29
|
+
|
|
30
|
+
const seeDocumentation = (): void => {
|
|
31
|
+
if (documentationUrl) {
|
|
32
|
+
applicationStore.navigationService.navigator.visitAddress(
|
|
33
|
+
documentationUrl,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
return (
|
|
39
|
+
<div className="data-space__viewer__wiki__section">
|
|
40
|
+
<div className="data-space__viewer__wiki__section__header">
|
|
41
|
+
<div className="data-space__viewer__wiki__section__header__label">
|
|
42
|
+
Data Access
|
|
43
|
+
<div className="data-space__viewer__wiki__section__header__anchor">
|
|
44
|
+
<AnchorLinkIcon />
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
{Boolean(documentationUrl) && (
|
|
48
|
+
<button
|
|
49
|
+
className="data-space__viewer__wiki__section__header__documentation"
|
|
50
|
+
tabIndex={-1}
|
|
51
|
+
onClick={seeDocumentation}
|
|
52
|
+
title="See Documentation"
|
|
53
|
+
>
|
|
54
|
+
<QuestionCircleIcon />
|
|
55
|
+
</button>
|
|
56
|
+
)}
|
|
57
|
+
</div>
|
|
58
|
+
<div className="data-space__viewer__wiki__section__content">
|
|
59
|
+
<div className="data-space__viewer__data-access">
|
|
60
|
+
<DataSpaceWikiPlaceholder message="View Data Access (Work in Progress)" />
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
);
|
|
65
|
+
},
|
|
66
|
+
);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { AnchorLinkIcon } from '@finos/legend-art';
|
|
18
|
+
import type { DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
19
|
+
import { observer } from 'mobx-react-lite';
|
|
20
|
+
import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
|
|
21
|
+
import { DataSpaceMarkdownTextViewer } from './DataSpaceMarkdownTextViewer.js';
|
|
22
|
+
|
|
23
|
+
export const DataSpaceDescription = observer(
|
|
24
|
+
(props: { dataSpaceViewerState: DataSpaceViewerState }) => {
|
|
25
|
+
const { dataSpaceViewerState } = props;
|
|
26
|
+
const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<div className="data-space__viewer__wiki__section">
|
|
30
|
+
<div className="data-space__viewer__wiki__section__header">
|
|
31
|
+
<div className="data-space__viewer__wiki__section__header__label">
|
|
32
|
+
Description
|
|
33
|
+
<div className="data-space__viewer__wiki__section__header__anchor">
|
|
34
|
+
<AnchorLinkIcon />
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div className="data-space__viewer__wiki__section__content">
|
|
39
|
+
{analysisResult.description !== undefined && (
|
|
40
|
+
<div className="data-space__viewer__description">
|
|
41
|
+
<div className="data-space__viewer__description__content">
|
|
42
|
+
<DataSpaceMarkdownTextViewer
|
|
43
|
+
value={analysisResult.description}
|
|
44
|
+
/>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
)}
|
|
48
|
+
{analysisResult.description === undefined && (
|
|
49
|
+
<DataSpaceWikiPlaceholder message="No description provided" />
|
|
50
|
+
)}
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
);
|
|
54
|
+
},
|
|
55
|
+
);
|