@finos/legend-application 3.0.3 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/application/LegendApplication.d.ts +2 -2
- package/lib/application/LegendApplication.d.ts.map +1 -1
- package/lib/application/LegendApplication.js +4 -4
- package/lib/application/LegendApplication.js.map +1 -1
- package/lib/application/LegendApplicationPluginManager.d.ts +3 -3
- package/lib/application/LegendApplicationPluginManager.d.ts.map +1 -1
- package/lib/components/ActionAlert.d.ts +1 -0
- package/lib/components/ActionAlert.d.ts.map +1 -1
- package/lib/components/ActionAlert.js +2 -2
- package/lib/components/ActionAlert.js.map +1 -1
- package/lib/components/ApplicationStoreProvider.d.ts +3 -3
- package/lib/components/ApplicationStoreProvider.d.ts.map +1 -1
- package/lib/components/ApplicationStoreProvider.js +2 -2
- package/lib/components/ApplicationStoreProvider.js.map +1 -1
- package/lib/components/ApplicationStoreProviderTestUtils.d.ts +5 -5
- package/lib/components/ApplicationStoreProviderTestUtils.d.ts.map +1 -1
- package/lib/components/ApplicationStoreProviderTestUtils.js +5 -4
- package/lib/components/ApplicationStoreProviderTestUtils.js.map +1 -1
- package/lib/components/ApplicationTestID.js +1 -1
- package/lib/components/ApplicationTestID.js.map +1 -1
- package/lib/components/BasicValueSpecificationEditor.d.ts +44 -0
- package/lib/components/BasicValueSpecificationEditor.d.ts.map +1 -0
- package/lib/components/BasicValueSpecificationEditor.js +276 -0
- package/lib/components/BasicValueSpecificationEditor.js.map +1 -0
- package/lib/components/BlockingAlert.d.ts +1 -0
- package/lib/components/BlockingAlert.d.ts.map +1 -1
- package/lib/components/BlockingAlert.js +1 -1
- package/lib/components/BlockingAlert.js.map +1 -1
- package/lib/components/CustomDatePicker.d.ts +38 -0
- package/lib/components/CustomDatePicker.d.ts.map +1 -0
- package/lib/components/CustomDatePicker.js +592 -0
- package/lib/components/CustomDatePicker.js.map +1 -0
- package/lib/components/DocumentationLink.d.ts +1 -1
- package/lib/components/DocumentationLink.js +2 -2
- package/lib/components/DocumentationLink.js.map +1 -1
- package/lib/components/LambdaEditor.d.ts +2 -1
- package/lib/components/LambdaEditor.d.ts.map +1 -1
- package/lib/components/LambdaEditor.js +3 -3
- package/lib/components/LambdaEditor.js.map +1 -1
- package/lib/components/LambdaParameterValuesEditor.d.ts +25 -0
- package/lib/components/LambdaParameterValuesEditor.d.ts.map +1 -0
- package/lib/components/LambdaParameterValuesEditor.js +52 -0
- package/lib/components/LambdaParameterValuesEditor.js.map +1 -0
- package/lib/components/LegendApplicationComponentFrameworkProvider.d.ts +1 -1
- package/lib/components/LegendApplicationComponentFrameworkProvider.js +3 -3
- package/lib/components/LegendApplicationComponentFrameworkProvider.js.map +1 -1
- package/lib/components/LegendApplicationNavigationContextServiceUtils.d.ts +32 -0
- package/lib/components/LegendApplicationNavigationContextServiceUtils.d.ts.map +1 -0
- package/lib/components/LegendApplicationNavigationContextServiceUtils.js +57 -0
- package/lib/components/LegendApplicationNavigationContextServiceUtils.js.map +1 -0
- package/lib/components/NotificationManager.d.ts +1 -0
- package/lib/components/NotificationManager.d.ts.map +1 -1
- package/lib/components/NotificationManager.js +2 -2
- package/lib/components/NotificationManager.js.map +1 -1
- package/lib/components/TextInputEditor.d.ts +2 -2
- package/lib/components/TextInputEditor.d.ts.map +1 -1
- package/lib/components/TextInputEditor.js +2 -2
- package/lib/components/TextInputEditor.js.map +1 -1
- package/lib/components/{AppHeader.d.ts → VirtualAssistant.d.ts} +5 -5
- package/lib/components/VirtualAssistant.d.ts.map +1 -0
- package/lib/components/VirtualAssistant.js +171 -0
- package/lib/components/VirtualAssistant.js.map +1 -0
- package/lib/components/WebApplicationNavigatorProvider.d.ts +2 -2
- package/lib/components/WebApplicationNavigatorProvider.d.ts.map +1 -1
- package/lib/components/WebApplicationNavigatorProvider.js +1 -1
- package/lib/components/WebApplicationNavigatorProvider.js.map +1 -1
- package/lib/components/WebApplicationNavigatorProviderTestUtils.d.ts +2 -2
- package/lib/components/WebApplicationNavigatorProviderTestUtils.d.ts.map +1 -1
- package/lib/components/WebApplicationNavigatorProviderTestUtils.js +3 -2
- package/lib/components/WebApplicationNavigatorProviderTestUtils.js.map +1 -1
- package/lib/const.js +2 -2
- package/lib/const.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +30 -22
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +32 -22
- package/lib/index.js.map +1 -1
- package/lib/stores/ApplicationEvent.d.ts +9 -7
- package/lib/stores/ApplicationEvent.d.ts.map +1 -1
- package/lib/stores/ApplicationEvent.js +10 -8
- package/lib/stores/ApplicationEvent.js.map +1 -1
- package/lib/stores/ApplicationStore.d.ts +15 -9
- package/lib/stores/ApplicationStore.d.ts.map +1 -1
- package/lib/stores/ApplicationStore.js +26 -21
- package/lib/stores/ApplicationStore.js.map +1 -1
- package/lib/stores/ApplicationStoreTestUtils.d.ts +3 -3
- package/lib/stores/ApplicationStoreTestUtils.d.ts.map +1 -1
- package/lib/stores/ApplicationStoreTestUtils.js +2 -2
- package/lib/stores/ApplicationStoreTestUtils.js.map +1 -1
- package/lib/stores/ApplicationTelemetry.d.ts +1 -1
- package/lib/stores/ApplicationTelemetry.d.ts.map +1 -1
- package/lib/stores/ApplicationTelemetry.js +2 -2
- package/lib/stores/ApplicationTelemetry.js.map +1 -1
- package/lib/stores/CJS__Fuse.cjs +35 -0
- package/lib/stores/CJS__Fuse.cjs.map +1 -0
- package/lib/stores/CJS__Fuse.d.cts +28 -0
- package/lib/stores/CJS__Fuse.d.cts.map +1 -0
- package/lib/stores/LambdaParameterState.d.ts +59 -0
- package/lib/stores/LambdaParameterState.d.ts.map +1 -0
- package/lib/stores/LambdaParameterState.js +184 -0
- package/lib/stores/LambdaParameterState.js.map +1 -0
- package/lib/stores/LegendApplicationAssistantService.d.ts +63 -0
- package/lib/stores/LegendApplicationAssistantService.d.ts.map +1 -0
- package/lib/stores/LegendApplicationAssistantService.js +167 -0
- package/lib/stores/LegendApplicationAssistantService.js.map +1 -0
- package/lib/stores/LegendApplicationConfig.d.ts +5 -4
- package/lib/stores/LegendApplicationConfig.d.ts.map +1 -1
- package/lib/stores/LegendApplicationConfig.js +8 -3
- package/lib/stores/LegendApplicationConfig.js.map +1 -1
- package/lib/stores/LegendApplicationDocumentationService.d.ts +70 -0
- package/lib/stores/LegendApplicationDocumentationService.d.ts.map +1 -0
- package/lib/stores/LegendApplicationDocumentationService.js +152 -0
- package/lib/stores/LegendApplicationDocumentationService.js.map +1 -0
- package/lib/stores/LegendApplicationEventService.d.ts +22 -0
- package/lib/stores/LegendApplicationEventService.d.ts.map +1 -0
- package/lib/stores/LegendApplicationEventService.js +25 -0
- package/lib/stores/LegendApplicationEventService.js.map +1 -0
- package/lib/stores/LegendApplicationNavigationContextService.d.ts +74 -0
- package/lib/stores/LegendApplicationNavigationContextService.d.ts.map +1 -0
- package/lib/stores/LegendApplicationNavigationContextService.js +118 -0
- package/lib/stores/LegendApplicationNavigationContextService.js.map +1 -0
- package/lib/stores/LegendApplicationPlugin.d.ts +6 -2
- package/lib/stores/LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendApplicationPlugin.js.map +1 -1
- package/lib/stores/PureLanguageSupport.d.ts.map +1 -1
- package/lib/stores/PureLanguageSupport.js +8 -2
- package/lib/stores/PureLanguageSupport.js.map +1 -1
- package/lib/stores/ValueSpecificationModifierHelper.d.ts +27 -0
- package/lib/stores/ValueSpecificationModifierHelper.d.ts.map +1 -0
- package/lib/stores/ValueSpecificationModifierHelper.js +49 -0
- package/lib/stores/ValueSpecificationModifierHelper.js.map +1 -0
- package/package.json +24 -18
- package/src/application/LegendApplication.tsx +6 -6
- package/src/application/LegendApplicationPluginManager.tsx +3 -3
- package/src/components/ActionAlert.tsx +2 -2
- package/src/components/ApplicationStoreProvider.tsx +4 -4
- package/src/components/ApplicationStoreProviderTestUtils.tsx +7 -6
- package/src/components/BasicValueSpecificationEditor.tsx +703 -0
- package/src/components/BlockingAlert.tsx +1 -1
- package/src/components/CustomDatePicker.tsx +1235 -0
- package/src/components/DocumentationLink.tsx +2 -2
- package/src/components/LambdaEditor.tsx +4 -4
- package/src/components/LambdaParameterValuesEditor.tsx +114 -0
- package/src/components/LegendApplicationComponentFrameworkProvider.tsx +3 -3
- package/src/components/LegendApplicationNavigationContextServiceUtils.tsx +63 -0
- package/src/components/NotificationManager.tsx +2 -2
- package/src/components/TextInputEditor.tsx +2 -2
- package/src/components/VirtualAssistant.tsx +600 -0
- package/src/components/WebApplicationNavigatorProvider.tsx +1 -1
- package/src/components/WebApplicationNavigatorProviderTestUtils.tsx +3 -2
- package/src/index.ts +39 -28
- package/src/stores/ApplicationEvent.ts +11 -7
- package/src/stores/ApplicationStore.ts +29 -27
- package/src/stores/ApplicationStoreTestUtils.ts +4 -4
- package/src/stores/ApplicationTelemetry.ts +2 -2
- package/src/stores/CJS__Fuse.cts +28 -0
- package/src/stores/LambdaParameterState.ts +314 -0
- package/src/stores/LegendApplicationAssistantService.ts +218 -0
- package/src/stores/LegendApplicationConfig.ts +20 -6
- package/src/stores/LegendApplicationDocumentationService.ts +276 -0
- package/src/stores/LegendApplicationEventService.ts +32 -0
- package/src/stores/LegendApplicationNavigationContextService.ts +131 -0
- package/src/stores/LegendApplicationPlugin.ts +10 -2
- package/src/stores/PureLanguageSupport.ts +8 -2
- package/src/stores/ValueSpecificationModifierHelper.ts +104 -0
- package/tsconfig.json +18 -12
- package/lib/components/AppHeader.d.ts.map +0 -1
- package/lib/components/AppHeader.js +0 -26
- package/lib/components/AppHeader.js.map +0 -1
- package/lib/stores/LegendApplicationDocumentationRegistry.d.ts +0 -36
- package/lib/stores/LegendApplicationDocumentationRegistry.d.ts.map +0 -1
- package/lib/stores/LegendApplicationDocumentationRegistry.js +0 -47
- package/lib/stores/LegendApplicationDocumentationRegistry.js.map +0 -1
- package/src/components/AppHeader.tsx +0 -49
- package/src/stores/LegendApplicationDocumentationRegistry.ts +0 -81
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { clsx, BasePopper, TimesIcon, SearchIcon, MapMarkerIcon, CloseIcon, ContextMenu, MenuContent, MenuContentItem, MarkdownTextViewer, ChevronDownIcon, ChevronRightIcon, BlankPanelContent, BeardIcon, SunglassesIcon, WizardHatIcon, FaceLaughWinkIcon, VerticalDragHandleThinIcon, CircleIcon, PanelLoadingIndicator, } from '@finos/legend-art';
|
|
18
|
+
import { ContentType, debounce, downloadFileUsingDataURI, isString, uuid, } from '@finos/legend-shared';
|
|
19
|
+
import { format } from 'date-fns';
|
|
20
|
+
import { observer } from 'mobx-react-lite';
|
|
21
|
+
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
22
|
+
import { DATE_TIME_FORMAT, TAB_SIZE } from '../const.js';
|
|
23
|
+
import { VIRTUAL_ASSISTANT_TAB, } from '../stores/LegendApplicationAssistantService.js';
|
|
24
|
+
import { useApplicationStore } from './ApplicationStoreProvider.js';
|
|
25
|
+
import Draggable from 'react-draggable';
|
|
26
|
+
const WIZARD_GREETING = `Bonjour, It's Pierre!`;
|
|
27
|
+
const VirtualAssistantDocumentationEntryViewer = observer((props) => {
|
|
28
|
+
const { entry } = props;
|
|
29
|
+
const applicationStore = useApplicationStore();
|
|
30
|
+
const toggleExpand = () => entry.setIsOpen(!entry.isOpen);
|
|
31
|
+
const copyDocumentationKey = applicationStore.guardUnhandledError(() => applicationStore.copyTextToClipboard(entry.documentationKey));
|
|
32
|
+
return (_jsx(ContextMenu, { className: "virtual-assistant__doc-entry", menuProps: {
|
|
33
|
+
elevation: 7,
|
|
34
|
+
classes: {
|
|
35
|
+
root: 'virtual-assistant__context-menu',
|
|
36
|
+
},
|
|
37
|
+
}, content: _jsx(MenuContent, { children: _jsx(MenuContentItem, { onClick: copyDocumentationKey, children: "Copy Documentation Key" }) }), children: _jsxs("div", { className: "virtual-assistant__doc-entry", children: [_jsxs("div", { className: "virtual-assistant__doc-entry__header", children: [_jsx("button", { className: clsx('virtual-assistant__doc-entry__expand-icon', {
|
|
38
|
+
'virtual-assistant__doc-entry__expand-icon--disabled': !entry.content,
|
|
39
|
+
}), disabled: !entry.content, tabIndex: -1, onClick: toggleExpand, children: entry.isOpen ? _jsx(ChevronDownIcon, {}) : _jsx(ChevronRightIcon, {}) }), entry.url ? (_jsx("a", { className: "virtual-assistant__doc-entry__title virtual-assistant__doc-entry__title--link", rel: "noopener noreferrer", target: "_blank", href: entry.url, title: "Click to see external documentation", children: entry.title })) : (_jsx("div", { className: "virtual-assistant__doc-entry__title", onClick: toggleExpand, children: entry.title }))] }), entry.isOpen && entry.content && (_jsx("div", { className: "virtual-assistant__doc-entry__content", children: isString(entry.content) ? (_jsx("div", { className: "virtual-assistant__doc-entry__content__text", children: entry.content })) : (_jsx(MarkdownTextViewer, { className: "virtual-assistant__doc-entry__content__markdown-text", value: entry.content })) }))] }) }));
|
|
40
|
+
});
|
|
41
|
+
const VirtualAssistantContextualSupportPanel = observer(() => {
|
|
42
|
+
const applicationStore = useApplicationStore();
|
|
43
|
+
const assistantService = applicationStore.assistantService;
|
|
44
|
+
const contextualEntry = assistantService.currentContextualDocumentationEntry;
|
|
45
|
+
const copyContextIDToClipboard = applicationStore.guardUnhandledError(() => applicationStore.copyTextToClipboard(contextualEntry?.context ?? ''));
|
|
46
|
+
const copyCurrentContextIDToClipboard = applicationStore.guardUnhandledError(() => applicationStore.copyTextToClipboard(applicationStore.navigationContextService.currentContext?.value ?? ''));
|
|
47
|
+
const copyContextStackToClipboard = applicationStore.guardUnhandledError(() => applicationStore.copyTextToClipboard(applicationStore.navigationContextService.contextStack
|
|
48
|
+
.map((context) => context.value)
|
|
49
|
+
.join(' > ')));
|
|
50
|
+
return (_jsxs(ContextMenu, { className: "virtual-assistant__contextual-support", disabled: !contextualEntry, menuProps: {
|
|
51
|
+
elevation: 7,
|
|
52
|
+
classes: {
|
|
53
|
+
root: 'virtual-assistant__context-menu',
|
|
54
|
+
},
|
|
55
|
+
}, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: copyContextIDToClipboard, children: "Copy Context ID" }), _jsx(MenuContentItem, { onClick: copyCurrentContextIDToClipboard, children: "Copy Current Context ID" }), _jsx(MenuContentItem, { onClick: copyContextStackToClipboard, children: "Copy Context Stack" })] }), children: [contextualEntry && (_jsxs("div", { className: "virtual-assistant__contextual-support__content", children: [contextualEntry.title && (_jsx("div", { className: "virtual-assistant__contextual-support__title", children: contextualEntry.title })), contextualEntry.content && (_jsx(_Fragment, { children: isString(contextualEntry.content) ? (_jsx("div", { className: "virtual-assistant__contextual-support__text", children: contextualEntry.content })) : (_jsx(MarkdownTextViewer, { className: "virtual-assistant__contextual-support__markdown-text", value: contextualEntry.content })) })), contextualEntry.related.length && (_jsxs("div", { className: "virtual-assistant__contextual-support__relevant-entries", children: [_jsxs("div", { className: "virtual-assistant__contextual-support__relevant-entries__title", children: ["Related entries (", contextualEntry.related.length, ")"] }), contextualEntry.related.map((entry) => (_jsx(VirtualAssistantDocumentationEntryViewer, { entry: entry }, entry.uuid)))] }))] })), !contextualEntry && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "virtual-assistant__contextual-support__placeholder", children: [_jsx(FaceLaughWinkIcon, { className: "virtual-assistant__contextual-support__placeholder__icon" }), _jsx("div", { className: "virtual-assistant__contextual-support__placeholder__message", children: "No contextual documentation found!" }), _jsx("div", { className: "virtual-assistant__contextual-support__placeholder__instruction", children: "Keep using the app, when contextual doc available, we will let you know!" })] }) }))] }));
|
|
56
|
+
});
|
|
57
|
+
const VirtualAssistantSearchPanel = observer(() => {
|
|
58
|
+
const applicationStore = useApplicationStore();
|
|
59
|
+
const searchInputRef = useRef(null);
|
|
60
|
+
const assistantService = applicationStore.assistantService;
|
|
61
|
+
const searchText = assistantService.searchText;
|
|
62
|
+
const debouncedSearch = useMemo(() => debounce(() => assistantService.search(), 100), [assistantService]);
|
|
63
|
+
const onSearchTextChange = (event) => {
|
|
64
|
+
assistantService.setSearchText(event.target.value);
|
|
65
|
+
debouncedSearch();
|
|
66
|
+
};
|
|
67
|
+
const clearSearchText = () => {
|
|
68
|
+
assistantService.resetSearch();
|
|
69
|
+
searchInputRef.current?.focus();
|
|
70
|
+
};
|
|
71
|
+
const results = assistantService.searchResults;
|
|
72
|
+
const resultCount = assistantService.searchResults.length > 99
|
|
73
|
+
? '99+'
|
|
74
|
+
: assistantService.searchResults.length;
|
|
75
|
+
const downloadDocRegistry = () => {
|
|
76
|
+
downloadFileUsingDataURI(`documentation-registry_${format(new Date(Date.now()), DATE_TIME_FORMAT)}.json`, JSON.stringify(applicationStore.documentationService.publishDocRegistry(), undefined, TAB_SIZE), ContentType.APPLICATION_JSON);
|
|
77
|
+
};
|
|
78
|
+
const downloadContextualDocRegistry = () => {
|
|
79
|
+
downloadFileUsingDataURI(`documentation-registry_${format(new Date(Date.now()), DATE_TIME_FORMAT)}.json`, JSON.stringify(applicationStore.documentationService.publishContextualDocRegistry(), undefined, TAB_SIZE), ContentType.APPLICATION_JSON);
|
|
80
|
+
};
|
|
81
|
+
useEffect(() => {
|
|
82
|
+
searchInputRef.current?.focus();
|
|
83
|
+
}, []);
|
|
84
|
+
return (_jsxs("div", { className: "virtual-assistant__search", children: [_jsxs("div", { className: "virtual-assistant__search__header", children: [_jsx("input", { ref: searchInputRef, className: clsx('virtual-assistant__search__input input--dark', {
|
|
85
|
+
'virtual-assistant__search__input--searching': searchText,
|
|
86
|
+
}), onChange: onSearchTextChange, value: searchText, placeholder: "Ask me a question" }), !searchText ? (_jsx("div", { className: "virtual-assistant__search__input__search__icon", children: _jsx(SearchIcon, {}) })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "virtual-assistant__search__input__search__count", children: resultCount }), _jsx("button", { className: "virtual-assistant__search__input__clear-btn", tabIndex: -1, onClick: clearSearchText, title: "Clear", children: _jsx(TimesIcon, {}) })] }))] }), _jsxs("div", { className: "virtual-assistant__search__content", children: [_jsx(PanelLoadingIndicator, { isLoading: assistantService.searchState.isInProgress }), Boolean(results.length) && (_jsx("div", { className: "virtual-assistant__search__results", children: results.map((result) => (_jsx(VirtualAssistantDocumentationEntryViewer, { entry: result }, result.uuid))) })), searchText && !results.length && (_jsx(BlankPanelContent, { children: _jsx("div", { className: "virtual-assistant__search__results__placeholder", children: "no result" }) })), !searchText && !results.length && (_jsx(ContextMenu, { className: "virtual-assistant__character__container", menuProps: {
|
|
87
|
+
elevation: 7,
|
|
88
|
+
classes: {
|
|
89
|
+
root: 'virtual-assistant__context-menu',
|
|
90
|
+
},
|
|
91
|
+
}, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: downloadDocRegistry, children: "Download documentation registry" }), _jsx(MenuContentItem, { onClick: downloadContextualDocRegistry, children: "Download contextual documentation registry" })] }), children: _jsxs("div", { className: "virtual-assistant__character", children: [_jsxs("div", { className: "virtual-assistant__character__figure", children: [_jsx(WizardHatIcon, { className: "virtual-assistant__character__hat" }), _jsx(SunglassesIcon, { className: "virtual-assistant__character__glasses" }), _jsx(BeardIcon, { className: "virtual-assistant__character__beard" })] }), _jsx("div", { className: "virtual-assistant__character__greeting", children: WIZARD_GREETING }), _jsx("div", { className: "virtual-assistant__character__question", children: "How can I help today?" })] }) }))] })] }));
|
|
92
|
+
});
|
|
93
|
+
const VirtualAssistantPanel = observer((props) => {
|
|
94
|
+
const { triggerElement } = props;
|
|
95
|
+
const applicationStore = useApplicationStore();
|
|
96
|
+
const assistantService = applicationStore.assistantService;
|
|
97
|
+
const currentContextualDocumentationEntry = assistantService.currentContextualDocumentationEntry;
|
|
98
|
+
const selectedTab = assistantService.selectedTab;
|
|
99
|
+
const selectSearch = () => assistantService.setSelectedTab(VIRTUAL_ASSISTANT_TAB.SEARCH);
|
|
100
|
+
const selectContextualDoc = () => assistantService.setSelectedTab(VIRTUAL_ASSISTANT_TAB.CONTEXTUAL_SUPPORT);
|
|
101
|
+
const closeAssistantPanel = () => assistantService.setIsOpen(false);
|
|
102
|
+
return (_jsx(BasePopper, { open: assistantService.isOpen, className: "virtual-assistant__panel__container", anchorEl: triggerElement,
|
|
103
|
+
// NOTE: make sure the assistant is always fully displayed (not cropped)
|
|
104
|
+
placement: "auto-start", children: _jsxs("div", { className: "virtual-assistant__panel", children: [_jsxs("div", { className: "virtual-assistant__panel__header", children: [_jsxs("div", { className: "virtual-assistant__panel__header__tabs", children: [_jsx("div", { className: clsx('virtual-assistant__panel__header__tab', {
|
|
105
|
+
'virtual-assistant__panel__header__tab--active': selectedTab === VIRTUAL_ASSISTANT_TAB.SEARCH,
|
|
106
|
+
}), onClick: selectSearch, title: "Search", children: _jsx("div", { className: "virtual-assistant__panel__header__tab__content", children: _jsx(SearchIcon, {}) }) }), _jsx("div", { className: clsx('virtual-assistant__panel__header__tab', {
|
|
107
|
+
'virtual-assistant__panel__header__tab--active': selectedTab === VIRTUAL_ASSISTANT_TAB.CONTEXTUAL_SUPPORT,
|
|
108
|
+
}), onClick: selectContextualDoc, title: "Contextual Support", children: _jsxs("div", { className: "virtual-assistant__panel__header__tab__content", children: [_jsx(MapMarkerIcon, {}), currentContextualDocumentationEntry && (_jsx("div", { className: "virtual-assistant__panel__header__tab__indicator", title: "Contextual support available" }))] }) })] }), _jsx("div", { className: "virtual-assistant__panel__header__actions", children: _jsx("button", { className: "virtual-assistant__panel__header__action", tabIndex: -1, onClick: closeAssistantPanel, title: "Close panel", children: _jsx(CloseIcon, { className: "virtual-assistant__panel__icon__close" }) }) })] }), _jsxs("div", { className: "virtual-assistant__panel__content", children: [selectedTab === VIRTUAL_ASSISTANT_TAB.SEARCH && (_jsx(VirtualAssistantSearchPanel, {})), selectedTab === VIRTUAL_ASSISTANT_TAB.CONTEXTUAL_SUPPORT && (_jsx(VirtualAssistantContextualSupportPanel, {}))] })] }) }));
|
|
109
|
+
});
|
|
110
|
+
export const VirtualAssistant = observer(() => {
|
|
111
|
+
const [isDragging, setIsDragging] = useState(false);
|
|
112
|
+
const [_key, _setKey] = useState(uuid());
|
|
113
|
+
const applicationStore = useApplicationStore();
|
|
114
|
+
const assistantRef = useRef(null);
|
|
115
|
+
const assistantService = applicationStore.assistantService;
|
|
116
|
+
const currentContextualDocumentationEntry = assistantService.currentContextualDocumentationEntry;
|
|
117
|
+
const toggleAssistantPanel = () => {
|
|
118
|
+
const newVal = !assistantService.isOpen;
|
|
119
|
+
// open the contextual help tab when contextual help is available
|
|
120
|
+
if (newVal && currentContextualDocumentationEntry) {
|
|
121
|
+
assistantService.setSelectedTab(VIRTUAL_ASSISTANT_TAB.CONTEXTUAL_SUPPORT);
|
|
122
|
+
}
|
|
123
|
+
assistantService.setIsOpen(!assistantService.isOpen);
|
|
124
|
+
};
|
|
125
|
+
const hideAssistant = () => applicationStore.assistantService.hideAssistant();
|
|
126
|
+
const resetPosition = () => {
|
|
127
|
+
// close the panel since
|
|
128
|
+
assistantService.setIsOpen(false);
|
|
129
|
+
_setKey(uuid());
|
|
130
|
+
};
|
|
131
|
+
// drag and drop
|
|
132
|
+
const onDragEnd = () => setIsDragging(false);
|
|
133
|
+
const onDragStart = () => setIsDragging(true);
|
|
134
|
+
useEffect(() => {
|
|
135
|
+
if (assistantService.isHidden) {
|
|
136
|
+
// reset to default position when we hide the assistant
|
|
137
|
+
// so that when we open it the position is reset
|
|
138
|
+
_setKey(uuid());
|
|
139
|
+
}
|
|
140
|
+
}, [assistantService.isHidden]);
|
|
141
|
+
return (_jsx(Draggable
|
|
142
|
+
// this is a trick so we could reset the default position of the assistant
|
|
143
|
+
// See https://github.com/react-grid-layout/react-draggable/issues/214#issuecomment-270021423
|
|
144
|
+
, {
|
|
145
|
+
// make sure we cannot drag and drop outside of the screen
|
|
146
|
+
bounds: "parent", onStart: onDragStart, onStop: onDragEnd,
|
|
147
|
+
// limit the dnd trigger to only the drag handle
|
|
148
|
+
handle: ".virtual-assistant__station__drag-handle", children: _jsx("div", { className: "virtual-assistant",
|
|
149
|
+
// NOTE: we have to set the `ref` at this level so even when the assistant is hidden
|
|
150
|
+
// the element is still in the DOM so when we programmatically show the assistant panel
|
|
151
|
+
// the anchor is available in time
|
|
152
|
+
ref: assistantRef, children: _jsxs("div", { className: clsx('virtual-assistant__station', {
|
|
153
|
+
'virtual-assistant__station--hidden': assistantService.isHidden,
|
|
154
|
+
'virtual-assistant__station--active': Boolean(currentContextualDocumentationEntry),
|
|
155
|
+
}), children: [_jsx("button", { className: "virtual-assistant__station__trigger", tabIndex: -1, onClick: toggleAssistantPanel, title: assistantService.isOpen
|
|
156
|
+
? `Click to close assistant panel`
|
|
157
|
+
: `${currentContextualDocumentationEntry
|
|
158
|
+
? 'Contextual support available.\n'
|
|
159
|
+
: ''}Click to open assistant panel...`, children: assistantService.isOpen ? (_jsx(CloseIcon, { className: "virtual-assistant__station__trigger__close" })) : currentContextualDocumentationEntry ? (_jsx(CircleIcon, { className: "virtual-assistant__station__trigger__circle" })) : null }), !isDragging &&
|
|
160
|
+
assistantService.isOpen &&
|
|
161
|
+
!assistantService.isHidden &&
|
|
162
|
+
assistantRef.current && (_jsx(VirtualAssistantPanel, { triggerElement: assistantRef.current })), _jsx(ContextMenu, { className: clsx('virtual-assistant__station__drag-handle', {
|
|
163
|
+
'virtual-assistant__station__drag-handle--dragging': isDragging,
|
|
164
|
+
}), menuProps: {
|
|
165
|
+
elevation: 7,
|
|
166
|
+
classes: {
|
|
167
|
+
root: 'virtual-assistant__context-menu',
|
|
168
|
+
},
|
|
169
|
+
}, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: resetPosition, children: "Reset Position" }), _jsx(MenuContentItem, { onClick: hideAssistant, children: "Hide Assistant" })] }), children: _jsx("div", { className: "virtual-assistant__station__drag-handle__content", title: isDragging ? undefined : 'Grab to drag assistant', children: _jsx(VerticalDragHandleThinIcon, {}) }) })] }, currentContextualDocumentationEntry?.uuid ?? '') }) }, _key));
|
|
170
|
+
});
|
|
171
|
+
//# sourceMappingURL=VirtualAssistant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VirtualAssistant.js","sourceRoot":"","sources":["../../src/components/VirtualAssistant.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,IAAI,EACJ,UAAU,EACV,SAAS,EACT,UAAU,EACV,aAAa,EACb,SAAS,EACT,WAAW,EACX,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,0BAA0B,EAC1B,UAAU,EACV,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,WAAW,EACX,QAAQ,EACR,wBAAwB,EACxB,QAAQ,EACR,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAEL,qBAAqB,GACtB,M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AAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,wBAAwB,YAExD,KAAC,0BAA0B,KAAG,GAC1B,GACM,KA/DT,mCAAmC,EAAE,IAAI,IAAI,EAAE,CAgEhD,GACF,IAnFD,IAAI,CAoFC,CACb,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" />
|
|
17
|
-
import { WebApplicationNavigator } from '../stores/WebApplicationNavigator';
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
17
|
+
import { WebApplicationNavigator } from '../stores/WebApplicationNavigator.js';
|
|
18
18
|
export declare const WebApplicationNavigatorProvider: React.FC<{
|
|
19
19
|
children: React.ReactNode;
|
|
20
20
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebApplicationNavigatorProvider.d.ts","sourceRoot":"","sources":["../../src/components/WebApplicationNavigatorProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAOH,OAAO,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"WebApplicationNavigatorProvider.d.ts","sourceRoot":"","sources":["../../src/components/WebApplicationNavigatorProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAOH,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAM/E,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC;IACrD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAUA,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAAO,uBAI3C,CAAC"}
|
|
@@ -18,7 +18,7 @@ import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
|
18
18
|
import { useLocalObservable } from 'mobx-react-lite';
|
|
19
19
|
import { createContext, useContext } from 'react';
|
|
20
20
|
import { useHistory } from 'react-router';
|
|
21
|
-
import { WebApplicationNavigator } from '../stores/WebApplicationNavigator';
|
|
21
|
+
import { WebApplicationNavigator } from '../stores/WebApplicationNavigator.js';
|
|
22
22
|
const WebApplicationNavigatorContext = createContext(undefined);
|
|
23
23
|
export const WebApplicationNavigatorProvider = ({ children }) => {
|
|
24
24
|
const history = useHistory();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebApplicationNavigatorProvider.js","sourceRoot":"","sources":["../../src/components/WebApplicationNavigatorProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"WebApplicationNavigatorProvider.js","sourceRoot":"","sources":["../../src/components/WebApplicationNavigatorProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,MAAM,8BAA8B,GAAG,aAAa,CAElD,SAAS,CAAC,CAAC;AAEb,MAAM,CAAC,MAAM,+BAA+B,GAEvC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpB,MAAM,OAAO,GAAG,UAAU,EAAa,CAAC;IACxC,MAAM,SAAS,GAAG,kBAAkB,CAClC,GAAG,EAAE,CAAC,IAAI,uBAAuB,CAAC,OAAO,CAAC,CAC3C,CAAC;IACF,OAAO,CACL,KAAC,8BAA8B,CAAC,QAAQ,IAAC,KAAK,EAAE,SAAS,YACtD,QAAQ,GAC+B,CAC3C,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAA4B,EAAE,CACtE,oBAAoB,CAClB,UAAU,CAAC,8BAA8B,CAAC,EAC1C,iDAAiD,CAClD,CAAC"}
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { WebApplicationNavigator } from '../stores/WebApplicationNavigator';
|
|
16
|
+
import { WebApplicationNavigator } from '../stores/WebApplicationNavigator.js';
|
|
17
17
|
import { type History } from 'history';
|
|
18
18
|
export declare const TEST__provideMockedWebApplicationNavigator: (customization?: {
|
|
19
19
|
mock?: WebApplicationNavigator;
|
|
20
20
|
history?: History;
|
|
21
|
-
}
|
|
21
|
+
}) => WebApplicationNavigator;
|
|
22
22
|
//# sourceMappingURL=WebApplicationNavigatorProviderTestUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebApplicationNavigatorProviderTestUtils.d.ts","sourceRoot":"","sources":["../../src/components/WebApplicationNavigatorProviderTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"WebApplicationNavigatorProviderTestUtils.d.ts","sourceRoot":"","sources":["../../src/components/WebApplicationNavigatorProviderTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAuB,KAAK,OAAO,EAAE,MAAM,SAAS,CAAC;AAE5D,eAAO,MAAM,0CAA0C,mBAAoB;IACzE,IAAI,CAAC,EAAE,uBAAuB,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,KAAG,uBAYH,CAAC"}
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import {
|
|
16
|
+
import { jest } from '@jest/globals';
|
|
17
|
+
import { WebApplicationNavigator } from '../stores/WebApplicationNavigator.js';
|
|
17
18
|
import { createMemoryHistory } from 'history';
|
|
18
19
|
export const TEST__provideMockedWebApplicationNavigator = (customization) => {
|
|
19
20
|
const value = customization?.mock ??
|
|
20
21
|
new WebApplicationNavigator(customization?.history ?? createMemoryHistory());
|
|
21
|
-
const MockWebApplicationNavigatorProvider = require('./WebApplicationNavigatorProvider'); // eslint-disable-line @typescript-eslint/no-unsafe-assignment
|
|
22
|
+
const MockWebApplicationNavigatorProvider = require('./WebApplicationNavigatorProvider.js'); // eslint-disable-line @typescript-eslint/no-unsafe-assignment
|
|
22
23
|
MockWebApplicationNavigatorProvider.useWebApplicationNavigator = jest.fn();
|
|
23
24
|
MockWebApplicationNavigatorProvider.useWebApplicationNavigator.mockReturnValue(value);
|
|
24
25
|
return value;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebApplicationNavigatorProviderTestUtils.js","sourceRoot":"","sources":["../../src/components/WebApplicationNavigatorProviderTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"WebApplicationNavigatorProviderTestUtils.js","sourceRoot":"","sources":["../../src/components/WebApplicationNavigatorProviderTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAgB,MAAM,SAAS,CAAC;AAE5D,MAAM,CAAC,MAAM,0CAA0C,GAAG,CAAC,aAG1D,EAA2B,EAAE;IAC5B,MAAM,KAAK,GACT,aAAa,EAAE,IAAI;QACnB,IAAI,uBAAuB,CACzB,aAAa,EAAE,OAAO,IAAI,mBAAmB,EAAE,CAChD,CAAC;IACJ,MAAM,mCAAmC,GAAG,OAAO,CAAC,sCAAsC,CAAC,CAAC,CAAC,8DAA8D;IAC3J,mCAAmC,CAAC,0BAA0B,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;IAC3E,mCAAmC,CAAC,0BAA0B,CAAC,eAAe,CAC5E,KAAK,CACN,CAAC;IACF,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
|
package/lib/const.js
CHANGED
|
@@ -21,7 +21,7 @@ export const MONOSPACED_FONT_FAMILY = 'Roboto Mono';
|
|
|
21
21
|
export var EDITOR_THEME;
|
|
22
22
|
(function (EDITOR_THEME) {
|
|
23
23
|
EDITOR_THEME["LEGEND"] = "LEGEND";
|
|
24
|
-
})(EDITOR_THEME || (EDITOR_THEME = {}));
|
|
24
|
+
})(EDITOR_THEME = EDITOR_THEME || (EDITOR_THEME = {}));
|
|
25
25
|
export var EDITOR_LANGUAGE;
|
|
26
26
|
(function (EDITOR_LANGUAGE) {
|
|
27
27
|
EDITOR_LANGUAGE["TEXT"] = "text";
|
|
@@ -30,5 +30,5 @@ export var EDITOR_LANGUAGE;
|
|
|
30
30
|
EDITOR_LANGUAGE["JAVA"] = "java";
|
|
31
31
|
EDITOR_LANGUAGE["MARKDOWN"] = "markdown";
|
|
32
32
|
EDITOR_LANGUAGE["SQL"] = "sql";
|
|
33
|
-
})(EDITOR_LANGUAGE || (EDITOR_LANGUAGE = {}));
|
|
33
|
+
})(EDITOR_LANGUAGE = EDITOR_LANGUAGE || (EDITOR_LANGUAGE = {}));
|
|
34
34
|
//# sourceMappingURL=const.js.map
|
package/lib/const.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.js","sourceRoot":"","sources":["../src/const.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,kCAAkC,GAC7C,+BAA+B,CAAC;AAClC,MAAM,CAAC,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;AAC5D,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AAExC,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC;AAE1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAEpD,MAAM,CAAN,IAAY,YAEX;AAFD,WAAY,YAAY;IACtB,iCAAiB,CAAA;AACnB,CAAC,EAFW,YAAY,KAAZ,YAAY,QAEvB;AAED,MAAM,CAAN,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,wCAAqB,CAAA;IACrB,8BAAW,CAAA;AACb,CAAC,EAPW,eAAe,KAAf,eAAe,QAO1B"}
|
|
1
|
+
{"version":3,"file":"const.js","sourceRoot":"","sources":["../src/const.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,kCAAkC,GAC7C,+BAA+B,CAAC;AAClC,MAAM,CAAC,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;AAC5D,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AAExC,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC;AAE1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAEpD,MAAM,CAAN,IAAY,YAEX;AAFD,WAAY,YAAY;IACtB,iCAAiB,CAAA;AACnB,CAAC,EAFW,YAAY,GAAZ,YAAY,KAAZ,YAAY,QAEvB;AAED,MAAM,CAAN,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,wCAAqB,CAAA;IACrB,8BAAW,CAAA;AACb,CAAC,EAPW,eAAe,GAAf,eAAe,KAAf,eAAe,QAO1B"}
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license @finos/legend-application
|
|
1
|
+
/** @license @finos/legend-application v4.0.2
|
|
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
|
-
:root{--color-primitive: var(--color-light-blue-200);--color-enum-value: var(--color-green-100);--color-enumeration: var(--color-medium-green-100);--color-measure: var(--color-medium-green-100);--color-unit: var(--color-medium-green-100);--color-class: var(--color-purple-100);--color-mapping: var(--color-teal-50);--color-function: var(--color-light-blue-20);--color-profile: var(--color-lime-75);--color-generated: var(--color-pink-200);--color-system: var(--color-light-blue-50);--color-dependency: var(--color-lime-50);--color-config: var(--color-orange-100);--color-flat-data: var(--color-orange-100);--color-relational: var(--color-blue-500);--color-file-generation: var(--color-blue-50);--color-database: var(--color-orange-100);--color-schema: var(--color-medium-green-500);--color-table: var(--color-light-blue-200);--color-association: var(--color-light-grey-400);--color-service: var(--color-blue-40);--color-runtime: var(--color-red-180);--color-connection: var(--color-yellow-100);--color-data: var(--color-light-blue-50)}.color--class{color:var(--color-class)}.color--enumeration{color:var(--color-enumeration)}.color--unit{color:var(--color-unit)}.color--measure{color:var(--color-measure)}.color--association{color:var(--color-association)}.color--primitive{color:var(--color-primitive)}.color--enum-value{color:var(--color-enum-value)}.color--mapping{color:var(--color-mapping)}.color--function{color:var(--color-function)}.color--file-generation{color:var(--color-file-generation)}.color--profile{color:var(--color-profile)}.color--generated{color:var(--color-generated)}.color--system{color:var(--color-system)}.color--dependency{color:var(--color-dependency)}.color--config{color:var(--color-config)}.color--flat-data{color:var(--color-flat-data)}.color--database{color:var(--color-database)}.color--table{color:var(--color-table)}.color--schema{color:var(--color-schema)}.color--service{color:var(--color-service)}.color--connection{color:var(--color-connection)}.color--runtime{color:var(--color-runtime)}.color--data{color:var(--color-data)}.background--pureinstance,.background--class{background:var(--color-class)}.background--enumeration{background:var(--color-enumeration)}.background--unit{background:var(--color-unit)}.background--measure{background:var(--color-measure)}.background--association{background:var(--color-association)}.background--primitive{background:var(--color-primitive)}.background--enum-value{background:var(--color-enum-value)}.background--mapping{background:var(--color-mapping)}.background--profile{background:var(--color-profile)}.background--flat-data{background:var(--color-flat-data)}.background--database{background:var(--color-database)}.background--service{background:var(--color-service)}.background--connection{background:var(--color-connection)}.background--runtime{background:var(--color-runtime)}.background--relational{background:var(--color-relational)}.background--data{background:var(--color-data)}.app{height:100%}.app__page{height:100%}.app a{text-decoration:none}.app__header{display:flex;justify-content:space-between;width:100%;background:var(--color-dark-grey-200);height:4.8rem}.app__header__content{display:flex;justify-content:space-between;width:100%;left:0;right:0;margin:0 auto;height:4.8rem;padding:0}.app__header__title{display:flex;align-items:center;justify-content:left;flex-direction:row;font-weight:300;font-size:1.3rem;padding-right:1rem;white-space:nowrap;overflow:hidden !important;text-overflow:ellipsis}.app__header__logo{display:flex;align-items:center;justify-content:center;fill:var(--color-text-label);width:4.8rem;height:4.8rem;cursor:pointer}.app__header__logo svg{display:none;font-size:2rem;color:var(--color-light-grey-100)}.app__header__tag{display:inline-flex;align-items:center;margin-left:1rem;background:var(--color-dark-grey-300);padding:0 .5rem;border-radius:.3rem;height:2.4rem;font-size:1.8rem;font-family:"Roboto Condensed",sans-serif;font-weight:400;color:var(--color-text-label);cursor:default}.app__header__tag__name{padding:0 .7rem;font-size:1.6rem;background:var(--color-dark-grey-300);color:var(--color-light-grey-200);font-weight:400;border-radius:.3rem 0 0 .3rem}.app__header__tag__value{padding:0 .7rem;font-size:1.6rem;margin-left:0;color:var(--color-light-grey-100);font-weight:400;background:var(--color-blue-200);border-radius:0 .3rem .3rem 0}.app__header__app-name{cursor:pointer}.app__header__actions{display:flex;align-items:center}.app__header__action{display:flex;align-items:center;justify-content:center;width:4.8rem;height:100%}.app__header__action svg{color:var(--color-light-grey-400);cursor:pointer}.app__header__menu{width:15rem}.app__header__menu__item{display:flex;align-items:center;justify-content:center}.app__header__menu-btn svg{font-size:2rem}.app__content{background:var(--color-dark-grey-50);height:calc(100% - 4.8rem)}.blocking-alert{padding:0}.blocking-alert__root-container{margin-top:0 !important}.blocking-alert__container{align-items:center !important}.blocking-alert .btn{display:flex;align-items:center;justify-content:center;height:2.8rem;border-radius:.1rem;border:none;color:var(--color-light-grey-50)}.blocking-alert .modal__body{line-height:2.2rem;cursor:default;text-align:justify}.blocking-alert__message{text-align:center}.blocking-alert__message__prompt{text-align:center;font-size:1.2rem;color:var(--color-blue-150);font-weight:500}.blocking-alert__summary-text{color:var(--color-light-grey-400);font-weight:500}.blocking-alert__prompt-text{color:var(--color-blue-50);font-size:1.3rem;margin-top:1rem;font-weight:500}.blocking-alert--standard{border:.1rem solid var(--color-blue-200)}.blocking-alert--caution{border:.1rem solid var(--color-pink-400)}.blocking-alert--caution .mode__header{background:var(--color-pink-400)}.blocking-alert--caution .blocking-alert__prompt-text{color:var(--color-pink-300)}.documentation-link{cursor:pointer}.backdrop{background:var(--color-dark-shade-230) !important;z-index:100 !important}.backdrop__element{z-index:100;position:relative;box-shadow:var(--color-dark-shade-280) 0 .1rem .3rem .1rem}.lambda-editor{display:flex;align-items:center;height:2.8rem;flex:1 0 auto;min-width:0;border-radius:.2rem;background:var(--color-dark-grey-300)}.lambda-editor .monaco-editor .margin,.lambda-editor .monaco-editor .monaco-editor-background{background:var(--color-dark-grey-300) !important}.lambda-editor .monaco-editor .decorationsOverviewRuler{display:none}.lambda-editor__editor__input{position:relative;height:100%;width:100%}.lambda-editor__editor__input__compressed .scroll-decoration{box-shadow:none}.lambda-editor__editor__input__compressed .selected-text,.lambda-editor__editor__input__compressed .selectionHighlight{height:2.6rem !important}.lambda-editor__editor__input__compressed .cursors-layer .cursor{top:.3rem !important;height:2rem !important}.lambda-editor__editor__input__compressed .view-line{display:flex;align-items:center;height:2.6rem !important}.lambda-editor__editor__info{display:flex;align-items:center;height:100%;padding:0 .5rem;border:.1rem solid var(--color-dark-grey-300);border-right:none;border-left:none;background:var(--color-dark-grey-300)}.lambda-editor__editor__expected-return-type{display:flex;align-items:center;justify-content:center;height:100%;height:1.8rem;border-radius:.2rem;padding:0 .5rem;color:var(--color-dark-grey-400);background:var(--color-light-grey-0);border:.1rem solid var(--color-light-grey-0);font-size:1.1rem;cursor:default}.lambda-editor__editor__expected-return-type--clickable{cursor:pointer}.lambda-editor__editor__expected-return-type--highlighted{border-color:var(--color-yellow-0);background:var(--color-yellow-0);color:var(--color-dark-grey-0)}.lambda-editor__editor__expand-btn{display:flex;align-items:center;justify-content:center;height:100%;width:1.6rem;background:var(--color-dark-grey-280);border:.1rem solid var(--color-dark-grey-280);color:var(--color-light-grey-100);border-radius:0 .2rem .2rem 0;cursor:pointer}.lambda-editor__editor__expand-btn[disabled]{color:var(--color-dark-grey-400);cursor:not-allowed}.lambda-editor__expanded{height:28rem !important}.lambda-editor__expanded .lambda-editor__editor__info{align-items:flex-start;padding:.4rem .5rem}.lambda-editor__expanded .lambda-editor__editor__expand-btn{background:var(--color-dark-grey-280);border-color:var(--color-dark-grey-280)}.lambda-editor--dnd-match .lambda-editor__editor__expected-return-type{background:var(--color-yellow-0);border-color:var(--color-yellow-0);color:var(--color-dark-grey-0)}.lambda-editor__action{width:2.8rem;min-width:2.8rem;background:var(--color-dark-grey-250);height:100%;border-left:.1rem solid var(--color-dark-shade-300)}.lambda-editor__action svg{color:var(--color-light-grey-200)}.lambda-editor__error-feedback{width:100%;margin-top:.5rem;background:var(--color-red-100);color:var(--color-light-grey-0);border-radius:.2rem;cursor:default}.lambda-editor__error-feedback__error__message{display:inline-flex;line-height:1.6rem;padding:.5rem}.lambda-editor__error-feedback__parsing-error__content{display:flex;justify-content:space-between;border-top:.1rem solid var(--color-dark-shade-230);padding:.5rem}.lambda-editor__error-feedback__parsing-error__discard-changes-btn{cursor:pointer;font-size:1.2rem;height:1.8rem;background:var(--color-dark-shade-230);white-space:nowrap;border-radius:.2rem;padding:0 .5rem;color:var(--color-light-grey-50)}.lambda-editor__popup__modal__content{width:100%;height:100%;background:var(--color-dark-grey-50)}.lambda-editor__popup__modal--has-error{border:.1rem solid var(--color-red-200) !important}.lambda-editor__popup__modal--has-error .modal__header{background:var(--color-red-200)}.lambda-editor__popup__modal--has-error .modal__title__error-badge{display:flex;align-items:center;justify-content:center;margin-right:1rem;background:var(--color-red-400);height:2.2rem;border-radius:.2rem;padding:.5rem;font-size:1.2rem;user-select:none}.lambda-editor__popup__content{height:100% !important;background:var(--color-dark-grey-50);padding-top:1rem}.lambda-editor__popup__content .monaco-editor .margin,.lambda-editor__popup__content .monaco-editor .monaco-editor-background{background:var(--color-dark-grey-50) !important}.notification__position{bottom:3rem !important;right:1rem !important}.notification__content{background-color:var(--color-dark-grey-200) !important;color:var(--color-light-grey-150) !important;border-radius:.3rem !important;align-items:flex-start !important}.notification__message__content{display:flex;align-items:flex-start;cursor:pointer}.notification__message__content:active{background:var(--color-dark-grey-100)}.notification__message__content__icon{padding-top:.2rem;padding-right:1rem}.notification__message__content__icon svg{font-size:1.6rem}.notification__message__content__icon--info{color:var(--color-light-grey-200)}.notification__message__content__icon--error{color:var(--color-red-100)}.notification__message__content__icon--warning{color:var(--color-yellow-200)}.notification__message__content__icon--success{color:var(--color-green-100)}.notification__message__content__text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;max-height:20rem;max-width:60rem}.notification__message__content__text--expanded{overflow:auto;white-space:pre-line;width:60rem}.notification__actions{padding:.8rem 0 .8rem 1rem !important}.notification__action{display:flex;align-items:center;justify-content:center;width:2rem;color:var(--color-dark-grey-400) !important}.notification__action:hover{color:var(--color-light-grey-400) !important}.text-editor__container{height:100%;width:100%;background:var(--color-dark-grey-50)}.text-editor__body{height:100%;width:100%;position:absolute;top:0;left:0}/*# sourceMappingURL=index.css.map */
|
|
17
|
+
:root{--color-primitive: var(--color-light-blue-200);--color-enum-value: var(--color-green-100);--color-enumeration: var(--color-medium-green-100);--color-measure: var(--color-medium-green-100);--color-unit: var(--color-medium-green-100);--color-class: var(--color-purple-100);--color-mapping: var(--color-teal-50);--color-function: var(--color-light-blue-20);--color-profile: var(--color-lime-75);--color-generated: var(--color-pink-200);--color-system: var(--color-light-blue-50);--color-dependency: var(--color-lime-50);--color-config: var(--color-orange-100);--color-flat-data: var(--color-orange-100);--color-relational: var(--color-blue-500);--color-file-generation: var(--color-blue-50);--color-database: var(--color-orange-100);--color-schema: var(--color-medium-green-500);--color-table: var(--color-light-blue-200);--color-association: var(--color-light-grey-400);--color-service: var(--color-blue-40);--color-runtime: var(--color-red-180);--color-connection: var(--color-yellow-100);--color-data: var(--color-light-blue-50)}.color--class{color:var(--color-class)}.color--enumeration{color:var(--color-enumeration)}.color--unit{color:var(--color-unit)}.color--measure{color:var(--color-measure)}.color--association{color:var(--color-association)}.color--primitive{color:var(--color-primitive)}.color--enum-value{color:var(--color-enum-value)}.color--mapping{color:var(--color-mapping)}.color--function{color:var(--color-function)}.color--file-generation{color:var(--color-file-generation)}.color--profile{color:var(--color-profile)}.color--generated{color:var(--color-generated)}.color--system{color:var(--color-system)}.color--dependency{color:var(--color-dependency)}.color--config{color:var(--color-config)}.color--flat-data{color:var(--color-flat-data)}.color--database{color:var(--color-database)}.color--table{color:var(--color-table)}.color--schema{color:var(--color-schema)}.color--service{color:var(--color-service)}.color--connection{color:var(--color-connection)}.color--runtime{color:var(--color-runtime)}.color--data{color:var(--color-data)}.background--pureinstance,.background--class{background:var(--color-class)}.background--enumeration{background:var(--color-enumeration)}.background--unit{background:var(--color-unit)}.background--measure{background:var(--color-measure)}.background--association{background:var(--color-association)}.background--primitive{background:var(--color-primitive)}.background--enum-value{background:var(--color-enum-value)}.background--mapping{background:var(--color-mapping)}.background--profile{background:var(--color-profile)}.background--flat-data{background:var(--color-flat-data)}.background--database{background:var(--color-database)}.background--service{background:var(--color-service)}.background--connection{background:var(--color-connection)}.background--runtime{background:var(--color-runtime)}.background--relational{background:var(--color-relational)}.background--data{background:var(--color-data)}.app{height:100%}.app__page{height:100%;background:var(--color-dark-grey-50)}.app__info__group{margin-top:1rem;background:var(--color-dark-grey-85);padding:1.5rem;border-radius:.2rem}.app__info__entry{display:flex;cursor:default;padding:.2rem 0;font-family:"Roboto Mono",monospace}.app__info__entry__title{margin-right:.5rem;color:var(--color-dark-grey-500)}.app__info__entry__value{color:var(--color-light-grey-200)}.app__info__entry__value a{text-decoration:none;font-weight:700;color:var(--color-blue-50)}.app__info__extensions{height:15rem;margin-top:1rem;width:70rem}.app__info__extensions__header{display:flex;align-items:center;height:2.2rem;background:var(--color-dark-grey-100);border-radius:.2rem .2rem 0 0;padding:0 1rem}.app__info__extensions__header__title{cursor:default;font-size:1.2rem;font-weight:700;color:var(--color-dark-grey-500);font-family:"Roboto Mono",monospace}.app__info__extensions__content{height:calc(100% - 2.2rem);overflow:auto;padding:1rem;background:var(--color-dark-grey-85);border-radius:0 0 .2rem .2rem}.app__info__extensions__tree__node__icon{flex-grow:0;flex-shrink:0;display:flex;width:4rem}.app__info__extensions__tree__node__icon__expand{flex-grow:0;flex-shrink:0;width:2rem}.app__info__extensions__tree__node__icon__expand svg{font-size:1.4rem}.app__info__extensions__tree__node__icon__type{flex-grow:0;flex-shrink:0;width:2rem}.app__info__extensions__tree__node__icon__type svg{font-size:1.4rem;color:var(--color-blue-100)}.app__info__extensions__tree__node__label{display:flex;flex:0 0 auto;height:2rem;line-height:2rem;min-width:0;white-space:normal;user-select:none;font-family:"Roboto Mono",monospace}.app__info__extensions__tree__node__label__title{font-size:1.2rem}.app__info__extensions__tree__node__label__version{display:flex;align-items:center;justify-content:center;height:2rem;margin-left:1rem}.app__info__extensions__tree__node__label__version__label{display:flex;align-items:center;justify-content:center;height:1.6rem;padding:.5rem;background:var(--color-dark-grey-280);font-size:1rem;border-radius:.2rem}.blocking-alert{padding:0}.blocking-alert__root-container{margin-top:0 !important}.blocking-alert__container{align-items:center !important}.blocking-alert .btn{display:flex;align-items:center;justify-content:center;height:2.8rem;border-radius:.1rem;border:none;color:var(--color-light-grey-50)}.blocking-alert .modal__body{line-height:2.2rem;cursor:default;text-align:justify}.blocking-alert__message{text-align:center}.blocking-alert__message__prompt{text-align:center;font-size:1.2rem;color:var(--color-blue-150);font-weight:500}.blocking-alert__summary-text{color:var(--color-light-grey-400);font-weight:500}.blocking-alert__prompt-text{color:var(--color-blue-50);font-size:1.3rem;margin-top:1rem;font-weight:500}.blocking-alert--standard{border:.1rem solid var(--color-blue-200)}.blocking-alert--caution{border:.1rem solid var(--color-pink-400)}.blocking-alert--caution .mode__header{background:var(--color-pink-400)}.blocking-alert--caution .blocking-alert__prompt-text{color:var(--color-pink-300)}.documentation-link{cursor:pointer}.backdrop{background:var(--color-dark-shade-230) !important;z-index:100 !important}.backdrop__element{z-index:100;position:relative;box-shadow:var(--color-dark-shade-280) 0 .1rem .3rem .1rem}.lambda-editor{display:flex;align-items:center;height:2.8rem;flex:1 0 auto;min-width:0;border-radius:.2rem;background:var(--color-dark-grey-300)}.lambda-editor .monaco-editor .margin,.lambda-editor .monaco-editor .monaco-editor-background{background:var(--color-dark-grey-300) !important}.lambda-editor .monaco-editor .decorationsOverviewRuler{display:none}.lambda-editor__editor__input{position:relative;height:100%;width:100%}.lambda-editor__editor__input__compressed .scroll-decoration{box-shadow:none}.lambda-editor__editor__input__compressed .selected-text,.lambda-editor__editor__input__compressed .selectionHighlight{height:2.6rem !important}.lambda-editor__editor__input__compressed .cursors-layer .cursor{top:.3rem !important;height:2rem !important}.lambda-editor__editor__input__compressed .view-line{display:flex;align-items:center;height:2.6rem !important}.lambda-editor__editor__info{display:flex;align-items:center;height:100%;padding:0 .5rem;border:.1rem solid var(--color-dark-grey-300);border-right:none;border-left:none;background:var(--color-dark-grey-300)}.lambda-editor__editor__expected-return-type{display:flex;align-items:center;justify-content:center;height:100%;height:1.8rem;border-radius:.2rem;padding:0 .5rem;color:var(--color-dark-grey-400);background:var(--color-light-grey-0);border:.1rem solid var(--color-light-grey-0);font-size:1.1rem;cursor:default}.lambda-editor__editor__expected-return-type--clickable{cursor:pointer}.lambda-editor__editor__expected-return-type--highlighted{border-color:var(--color-yellow-0);background:var(--color-yellow-0);color:var(--color-dark-grey-0)}.lambda-editor__editor__expand-btn{display:flex;align-items:center;justify-content:center;height:100%;width:1.6rem;background:var(--color-dark-grey-280);border:.1rem solid var(--color-dark-grey-280);color:var(--color-light-grey-100);border-radius:0 .2rem .2rem 0;cursor:pointer}.lambda-editor__editor__expand-btn[disabled]{color:var(--color-dark-grey-400);cursor:not-allowed}.lambda-editor__expanded{height:28rem !important}.lambda-editor__expanded .lambda-editor__editor__info{align-items:flex-start;padding:.4rem .5rem}.lambda-editor__expanded .lambda-editor__editor__expand-btn{background:var(--color-dark-grey-280);border-color:var(--color-dark-grey-280)}.lambda-editor--dnd-match .lambda-editor__editor__expected-return-type{background:var(--color-yellow-0);border-color:var(--color-yellow-0);color:var(--color-dark-grey-0)}.lambda-editor__action{width:2.8rem;min-width:2.8rem;background:var(--color-dark-grey-250);height:100%;border-left:.1rem solid var(--color-dark-shade-300)}.lambda-editor__action svg{color:var(--color-light-grey-200)}.lambda-editor__error-feedback{width:100%;margin-top:.5rem;background:var(--color-red-100);color:var(--color-light-grey-0);border-radius:.2rem;cursor:default}.lambda-editor__error-feedback__error__message{display:inline-flex;line-height:1.6rem;padding:.5rem}.lambda-editor__error-feedback__parsing-error__content{display:flex;justify-content:space-between;border-top:.1rem solid var(--color-dark-shade-230);padding:.5rem}.lambda-editor__error-feedback__parsing-error__discard-changes-btn{cursor:pointer;font-size:1.2rem;height:1.8rem;background:var(--color-dark-shade-230);white-space:nowrap;border-radius:.2rem;padding:0 .5rem;color:var(--color-light-grey-50)}.lambda-editor__popup__modal__content{width:100%;height:100%;background:var(--color-dark-grey-50)}.lambda-editor__popup__modal--has-error{border:.1rem solid var(--color-red-200) !important}.lambda-editor__popup__modal--has-error .modal__header{background:var(--color-red-200)}.lambda-editor__popup__modal--has-error .modal__title__error-badge{display:flex;align-items:center;justify-content:center;margin-right:1rem;background:var(--color-red-400);height:2.2rem;border-radius:.2rem;padding:.5rem;font-size:1.2rem;user-select:none}.lambda-editor__popup__content{height:100% !important;background:var(--color-dark-grey-50);padding-top:1rem}.lambda-editor__popup__content .monaco-editor .margin,.lambda-editor__popup__content .monaco-editor .monaco-editor-background{background:var(--color-dark-grey-50) !important}.notification__position{bottom:3rem !important;right:1rem !important}.notification__content{background-color:var(--color-dark-grey-200) !important;color:var(--color-light-grey-150) !important;border-radius:.3rem !important;align-items:flex-start !important}.notification__message__content{display:flex;align-items:flex-start;cursor:pointer}.notification__message__content:active{background:var(--color-dark-grey-100)}.notification__message__content__icon{padding-top:.2rem;padding-right:1rem}.notification__message__content__icon svg{font-size:1.6rem}.notification__message__content__icon--info{color:var(--color-light-grey-200)}.notification__message__content__icon--error{color:var(--color-red-100)}.notification__message__content__icon--warning{color:var(--color-yellow-200)}.notification__message__content__icon--success{color:var(--color-green-100)}.notification__message__content__text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;max-height:20rem;max-width:60rem}.notification__message__content__text--expanded{overflow:auto;white-space:pre-line;width:60rem}.notification__actions{padding:.8rem 0 .8rem 1rem !important}.notification__action{display:flex;align-items:center;justify-content:center;width:2rem;color:var(--color-dark-grey-400) !important}.notification__action:hover{color:var(--color-light-grey-400) !important}.text-editor__container{height:100%;width:100%;background:var(--color-dark-grey-50)}.text-editor__body{height:100%;width:100%;position:absolute;top:0;left:0}.virtual-assistant{position:absolute;z-index:10000;bottom:9rem;right:1rem}.virtual-assistant__context-menu{z-index:10100}.virtual-assistant__station{display:flex;align-items:center;justify-content:flex-end;height:3.4rem;width:5.1rem;border-radius:1.7rem 1.1rem .2em 1.7rem;background:var(--color-dark-grey-50);opacity:.9;border:.1rem solid var(--color-blue-50);transition:width .1s ease-in-out}.virtual-assistant__station__trigger{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:50%;background:var(--color-blue-50);margin:.3rem 0 .3rem .2rem}.virtual-assistant__station__trigger__close{font-size:2.6rem;color:var(--color-dark-shade-800);position:relative}.virtual-assistant__station__trigger__circle{font-size:2.2rem;color:var(--color-dark-grey-80);animation:opacity-pulse 1.2s infinite ease-in-out alternate-reverse}@keyframes opacity-pulse{from{opacity:.1}to{opacity:.3}}.virtual-assistant__station--hidden{display:none}.virtual-assistant__station__drag-handle{height:3.4rem;width:2rem;cursor:grab}.virtual-assistant__station__drag-handle__content{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.virtual-assistant__station__drag-handle--dragging{cursor:grabbing}.virtual-assistant__station__drag-handle svg{font-size:2rem;color:var(--color-light-shade-100)}.virtual-assistant__station--active{border-color:var(--color-yellow-100);animation:border-flash .5s;animation-iteration-count:3}.virtual-assistant__station--active .virtual-assistant__station__trigger{background:var(--color-yellow-100);animation:background-flash .5s;animation-iteration-count:3}@keyframes border-flash{from{border-color:var(--color-dark-grey-50)}to{border-color:var(--color-yellow-100)}}@keyframes background-flash{from{background:var(--color-dark-grey-50)}to{background:var(--color-yellow-100)}}.virtual-assistant__panel{height:40rem;width:30rem;margin:1rem;border-radius:.2rem;background:var(--color-dark-grey-100);border:.1rem solid var(--color-dark-grey-200);box-shadow:0 1.1rem 1.5rem -0.7rem,var(--color-light-shade-280),0 2.4rem 3.8rem .3rem var(--color-light-shade-280),0 .9rem 4.6rem .8rem var(--color-light-shade-280)}.virtual-assistant__panel__container{z-index:10000}.virtual-assistant__panel__header{display:flex;align-items:center;justify-content:space-between;background:var(--color-dark-grey-250);height:2.8rem}.virtual-assistant__panel__header__actions{display:flex;align-items:center}.virtual-assistant__panel__header__action{display:flex;align-items:center;justify-content:center;width:2.8rem;height:2.8rem}.virtual-assistant__panel__header__action svg{color:var(--color-dark-grey-400)}.virtual-assistant__panel__header__action:hover svg{color:var(--color-dark-grey-500)}.virtual-assistant__panel__header__tabs{display:flex;height:2.8rem;color:var(--color-dark-grey-400)}.virtual-assistant__panel__header__tab{padding:0 1rem;border-right:.1rem solid var(--color-dark-grey-100)}.virtual-assistant__panel__header__tab:hover{background:var(--color-dark-grey-280)}.virtual-assistant__panel__header__tab__content{display:flex;align-items:center;justify-content:center;cursor:pointer;height:2.8rem;width:6rem;border-bottom:.3rem solid var(--color-dark-grey-300);padding-top:.1rem;position:relative}.virtual-assistant__panel__header__tab__content svg{font-size:1.5rem;color:var(--color-dark-grey-400)}.virtual-assistant__panel__header__tab__indicator{position:absolute;top:.5rem;right:1rem;height:1rem;width:1rem;border-radius:50%;background:var(--color-yellow-200)}.virtual-assistant__panel__header__tab:hover .virtual-assistant__panel__header__tab__content svg{color:var(--color-dark-grey-500)}.virtual-assistant__panel__header__tab--active:hover .virtual-assistant__panel__header__tab__content,.virtual-assistant__panel__header__tab--active .virtual-assistant__panel__header__tab__content{border-bottom:.3rem solid var(--color-yellow-300)}.virtual-assistant__panel__header__tab--active:hover .virtual-assistant__panel__header__tab__content svg,.virtual-assistant__panel__header__tab--active .virtual-assistant__panel__header__tab__content svg{color:var(--color-light-grey-200)}.virtual-assistant__panel__content{height:calc(100% - 2.8rem)}.virtual-assistant__panel__icon__close{font-size:2.4rem}.virtual-assistant__search{height:100%}.virtual-assistant__search__header{display:flex;align-items:center;justify-content:center;padding:.3rem;border-bottom:.1rem solid var(--color-dark-grey-250);height:3.4rem;position:relative}.virtual-assistant__search__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)}.virtual-assistant__search__input--searching{padding-right:5.6rem}.virtual-assistant__search__input__search__count{display:flex;align-items:center;justify-content:center;position:absolute;right:2.8rem;border-radius:.8rem;height:1.6rem;width:2.8rem;font-size:1.1rem;font-weight:700;background:var(--color-yellow-100);color:var(--color-dark-grey-280);user-select:none;cursor:default}.virtual-assistant__search__input__search__icon{display:flex;align-items:center;justify-content:center;position:absolute;right:.3rem;height:2.8rem;width:2.8rem}.virtual-assistant__search__input__search__icon svg{color:var(--color-light-shade-100)}.virtual-assistant__search__input__clear-btn{display:flex;align-items:center;justify-content:center;position:absolute;right:.3rem;height:2.8rem;width:2.8rem}.virtual-assistant__search__input__clear-btn svg{color:var(--color-dark-grey-400)}.virtual-assistant__search__input__clear-btn:hover svg{color:var(--color-dark-grey-500)}.virtual-assistant__search__content{height:calc(100% - 3.4rem)}.virtual-assistant__search__results{height:100%;overflow-y:auto;padding:1rem}.virtual-assistant__search__results__placeholder{font-family:"Roboto Mono",monospace;font-size:1.3rem;color:var(--color-light-grey-400)}.virtual-assistant__doc-entry+.virtual-assistant__doc-entry{margin-top:.5rem}.virtual-assistant__doc-entry__header{display:flex}.virtual-assistant__doc-entry__expand-icon{display:flex;align-items:flex-start;width:2rem;min-width:2rem;padding-top:.3rem}.virtual-assistant__doc-entry__expand-icon svg{color:var(--color-light-grey-50)}.virtual-assistant__doc-entry__expand-icon--disabled svg{color:var(--color-dark-grey-300)}.virtual-assistant__doc-entry__title{line-height:1.5;font-weight:500;color:var(--color-light-grey-50);cursor:pointer;user-select:none}.virtual-assistant__doc-entry__title--link{color:var(--color-blue-40);text-decoration:none}.virtual-assistant__doc-entry__content{margin-top:.5rem;padding-left:2rem}.virtual-assistant__doc-entry__content__text{color:var(--color-light-grey-50);line-height:1.5;background:var(--color-dark-grey-80);border-radius:.2rem;padding:1rem}.virtual-assistant__doc-entry__content__markdown-text{padding:1rem;border-radius:.2rem}.virtual-assistant__character{display:flex;align-items:center;justify-content:center;flex-direction:column}.virtual-assistant__character__container{display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden}.virtual-assistant__character__greeting{font-family:"Roboto Mono",monospace;font-size:1.3rem;color:var(--color-light-grey-400);margin-top:.6rem;cursor:default;user-select:none}.virtual-assistant__character__question{font-family:"Roboto Mono",monospace;font-size:1.3rem;font-weight:700;color:var(--color-light-grey-0);margin-top:.6rem;cursor:default;user-select:none}.virtual-assistant__character__figure{display:flex;align-items:center;justify-content:center;position:relative;width:10rem;height:20rem}.virtual-assistant__character__hat{position:absolute;font-size:8rem;color:var(--color-orange-150);top:0}.virtual-assistant__character__glasses{position:absolute;font-size:8rem;color:var(--color-dark-grey-300);top:6rem}.virtual-assistant__character__beard{position:absolute;color:var(--color-yellow-200);font-size:8rem;top:11rem}.virtual-assistant__contextual-support{height:100%}.virtual-assistant__contextual-support__content{height:100%;overflow-y:auto;padding:1.5rem}.virtual-assistant__contextual-support__title{line-height:1.5;font-weight:700;color:var(--color-light-grey-50);cursor:pointer;user-select:none;font-size:1.5rem;margin-bottom:1rem}.virtual-assistant__contextual-support__text{color:var(--color-light-grey-50);line-height:1.5;background:var(--color-dark-grey-80);border-radius:.2rem;padding:1rem;margin-bottom:1rem}.virtual-assistant__contextual-support__markdown-text{padding:1rem;border-radius:.2rem;margin-bottom:1rem}.virtual-assistant__contextual-support__relevant-entries__title{color:var(--color-dark-grey-500);font-family:"Roboto Mono",monospace;font-size:1.3rem;margin-bottom:1rem}.virtual-assistant__contextual-support__placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column}.virtual-assistant__contextual-support__placeholder__icon{font-size:5rem;color:var(--color-yellow-200)}.virtual-assistant__contextual-support__placeholder__message{font-family:"Roboto Mono",monospace;font-size:1.3rem;color:var(--color-light-grey-400);margin-top:1rem}.virtual-assistant__contextual-support__placeholder__instruction{font-family:"Roboto Mono",monospace;font-size:1.3rem;font-weight:700;color:var(--color-dark-grey-300);margin-top:.5rem}.value-spec-editor{display:flex;align-items:center;height:100%;width:100%}.value-spec-editor__reset-btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;height:2.8rem;width:2.8rem;background:var(--color-dark-grey-200);border-radius:0 50% 50% 0}.value-spec-editor__reset-btn svg{font-size:1.8rem;color:var(--color-light-grey-400)}.value-spec-editor__reset-btn:hover svg{color:var(--color-light-grey-200)}.value-spec-editor__enum-selector{width:100%}.value-spec-editor ::-webkit-calendar-picker-indicator{filter:invert(0.8)}.value-spec-editor--unsupported{display:flex;align-items:center;justify-content:center;width:100%;height:2.2rem;background:var(--color-dark-grey-280);border-radius:.2rem;font-size:1.1rem}.value-spec-editor__date-picker__trigger{display:flex;align-items:center;justify-content:center;width:100%;height:2.8rem;color:var(--color-light-grey-400);border:.1rem solid var(--color-dark-grey-300);font-size:1.2rem}.value-spec-editor__date-picker__absolute-date{padding:2rem;border-top:.1rem solid var(--color-dark-grey-50)}.value-spec-editor__date-picker__absolute-date__input{height:2.8rem;border:.1rem solid var(--color-dark-grey-300);color-scheme:dark;font-size:1.2rem}.value-spec-editor__date-picker__custom-date{display:flex;align-items:center;justify-content:center;padding:2rem;border-top:.1rem solid var(--color-dark-grey-50)}.value-spec-editor__date-picker__custom-date__input{width:100%}.value-spec-editor__date-picker__custom-date__input-label{color:var(--color-light-grey-200);margin-bottom:1rem}.value-spec-editor__date-picker__custom-date__input-text-editor{display:flex;align-items:center;height:2.8rem;width:6rem;border:.1rem solid var(--color-dark-grey-300);color:var(--color-light-grey-200);background:var(--color-dark-grey-100);text-align:center;padding:0}.value-spec-editor__date-picker__custom-date__input-dropdown{color:var(--color-light-grey-200);width:10rem;font-size:.2rem;margin-left:.5rem}.value-spec-editor__date-picker__custom-date__input-dropdown--full{width:100%;margin-left:0}.value-spec-editor__dropdown{margin-top:.5rem}.value-spec-editor__parameter{display:flex;height:2.2rem;border-radius:.2rem;margin:0;color:var(--color-light-grey-150);background:var(--color-pink-400);width:100%}.value-spec-editor__parameter__icon{display:flex;align-items:center;justify-content:center;width:2rem;min-width:2rem;background:var(--color-dark-shade-100);border-radius:.2rem 0 0 .2rem}.value-spec-editor__parameter__label{display:flex;align-items:center;user-select:none;justify-content:space-between;width:100%}.value-spec-editor__parameter__text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;padding:0 1rem;font-size:1.2rem;font-weight:700;width:100%}.value-spec-editor__parameter__info{display:flex;align-items:center;cursor:help;height:2rem;width:2rem}.value-spec-editor__parameter__reset-btn{display:flex;align-items:center;justify-content:center;height:2rem;width:2rem;margin-right:.5rem}.value-spec-editor__parameter__reset-btn svg{font-size:1.8rem;color:var(--color-light-grey-200)}.value-spec-editor__input{height:100%;max-width:100%;width:100%;font-size:1.2rem;padding:0 .5rem;background:var(--color-dark-grey-100);border:.1rem solid var(--color-dark-grey-200);border-radius:0}.value-spec-editor__toggler__btn{display:flex;align-items:center;width:100%;padding:.5rem;height:100%;border:.1rem solid var(--color-dark-grey-200)}.value-spec-editor__toggler__btn svg{font-size:2rem;color:var(--color-dark-grey-250)}.value-spec-editor__toggler__btn:hover svg{font-size:2rem;color:var(--color-dark-grey-280)}.value-spec-editor__toggler__btn[disabled] svg,.value-spec-editor__toggler__btn[disabled]:hover svg{cursor:not-allowed;color:var(--color-dark-grey-250)}.value-spec-editor__toggler__btn--toggled svg{font-size:2rem;color:var(--color-blue-150)}.value-spec-editor__toggler__btn--toggled:hover svg{font-size:2rem;color:var(--color-blue-100)}.value-spec-editor__toggler__btn--toggled[disabled] svg,.value-spec-editor__toggler__btn--toggled[disabled]:hover svg{cursor:not-allowed;color:var(--color-dark-grey-300)}.value-spec-editor__list-editor__preview{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;line-height:2.2rem;width:calc(100% - 1.8rem);height:2.2rem;font-size:1.1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-250);padding-left:.5rem;color:var(--color-light-grey-300);cursor:pointer}.value-spec-editor__list-editor__save-button{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;min-width:2.8rem}.value-spec-editor__list-editor__save-button svg{font-size:1.2rem}.value-spec-editor__list-editor__edit-icon{display:flex;align-items:center;justify-content:center;height:2.2rem;width:2.7rem;min-width:2.7rem;background:var(--color-dark-grey-250);border-radius:0 .9rem .9rem 0}.value-spec-editor__list-editor__edit-icon svg{font-size:1.2rem;color:var(--color-light-grey-250)}.value-spec-editor:hover .value-spec-editor__list-editor__preview,.value-spec-editor:hover .value-spec-editor__list-editor__edit-icon{background:var(--color-dark-grey-300)}.value-spec-paramater__tooltip{border-radius:.2rem !important;background:var(--color-dark-grey-200) !important;opacity:.9 !important;transition:none}.value-spec-paramater__tooltip--right{margin:0 .5rem !important}.value-spec-paramater__tooltip__arrow{color:var(--color-dark-grey-200) !important;opacity:.9 !important}.value-spec-paramater__tooltip__content{padding:.5rem}.value-spec-paramater__tooltip__item{display:flex;align-items:center}.value-spec-paramater__tooltip__item__label{font-size:1.3rem;user-select:none;cursor:default;color:var(--color-dark-grey-500)}.value-spec-paramater__tooltip__item__value{font-size:1.3rem;user-select:none;cursor:default;font-weight:500;margin-left:.5rem}.lambda__parameters__editor{padding:2rem;width:100%}.lambda__parameters__editor__modal{height:65vh;width:65vh}.lambda__parameters__editor__modal__body{overflow:auto;padding:2rem !important;height:60vh}.lambda__parameters__editor__value__label{display:flex;align-items:center;color:var(--color-light-grey-50);margin-bottom:.5rem;line-height:2rem;cursor:default}.lambda__parameters__editor__value__name{display:flex;align-items:center;background:var(--color-dark-grey-250);color:var(--color-light-grey-200);margin-left:.5rem;border-radius:.2rem;font-size:1rem;padding:0 .5rem;height:1.6rem;font-weight:500}/*# sourceMappingURL=index.css.map */
|
package/lib/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../style/_extensions.scss","../style/components/_app.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/components/_blocking-alert.scss","../style/components/_documentation-link.scss","../style/components/_backdrop.scss","../style/components/_lambda-editor.scss","../style/components/_notification.scss","../style/components/_text-editor.scss"],"names":[],"mappings":"AAgBA,MACE,+CACA,2CAEA,mDACA,+CACA,4CACA,uCACA,sCACA,6CACA,sCACA,yCACA,2CACA,yCACA,wCACA,2CACA,0CACA,8CACA,0CACA,8CACA,2CACA,iDACA,sCACA,sCACA,4CACA,yCAIA,cACE,yBAGF,oBACE,+BAGF,aACE,wBAGF,gBACE,2BAGF,oBACE,+BAGF,kBACE,6BAGF,mBACE,8BAGF,gBACE,2BAGF,iBACE,4BAGF,wBACE,mCAGF,gBACE,2BAGF,kBACE,6BAGF,eACE,0BAGF,mBACE,8BAGF,eACE,0BAGF,kBACE,6BAGF,iBACE,4BAGF,cACE,yBAGF,eACE,0BAGF,gBACE,2BAGF,mBACE,8BAGF,gBACE,2BAGF,aACE,wBAKF,6CAEE,8BAGF,yBACE,oCAGF,kBACE,6BAGF,qBACE,gCAGF,yBACE,oCAGF,uBACE,kCAGF,wBACE,mCAGF,qBACE,gCAGF,qBACE,gCAGF,uBACE,kCAGF,sBACE,iCAGF,qBACE,gCAGF,wBACE,mCAGF,qBACE,gCAGF,wBACE,mCAGF,kBACE,6BCvLJ,KACE,YAEA,WACE,
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../style/_extensions.scss","../style/components/_app.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/components/_blocking-alert.scss","../style/components/_documentation-link.scss","../style/components/_backdrop.scss","../style/components/_lambda-editor.scss","../style/components/_notification.scss","../style/components/_text-editor.scss","../style/components/_virtual-assistant.scss","../style/components/_value-spec-editor.scss"],"names":[],"mappings":"AAgBA,MACE,+CACA,2CAEA,mDACA,+CACA,4CACA,uCACA,sCACA,6CACA,sCACA,yCACA,2CACA,yCACA,wCACA,2CACA,0CACA,8CACA,0CACA,8CACA,2CACA,iDACA,sCACA,sCACA,4CACA,yCAIA,cACE,yBAGF,oBACE,+BAGF,aACE,wBAGF,gBACE,2BAGF,oBACE,+BAGF,kBACE,6BAGF,mBACE,8BAGF,gBACE,2BAGF,iBACE,4BAGF,wBACE,mCAGF,gBACE,2BAGF,kBACE,6BAGF,eACE,0BAGF,mBACE,8BAGF,eACE,0BAGF,kBACE,6BAGF,iBACE,4BAGF,cACE,yBAGF,eACE,0BAGF,gBACE,2BAGF,mBACE,8BAGF,gBACE,2BAGF,aACE,wBAKF,6CAEE,8BAGF,yBACE,oCAGF,kBACE,6BAGF,qBACE,gCAGF,yBACE,oCAGF,uBACE,kCAGF,wBACE,mCAGF,qBACE,gCAGF,qBACE,gCAGF,uBACE,kCAGF,sBACE,iCAGF,qBACE,gCAGF,wBACE,mCAGF,qBACE,gCAGF,wBACE,mCAGF,kBACE,6BCvLJ,KACE,YAEA,WACE,YACA,qCAIA,kBACE,gBACA,qCACA,eACA,oBAGF,kBACE,aACA,eACA,gBACA,oCAGF,yBACE,mBACA,iCAGF,yBACE,kCAGF,2BACE,qBACA,gBACA,2BAGF,uBACE,aACA,gBACA,YAEA,+BC/BJ,aACA,mBDiCM,cACA,sCACA,8BACA,eAEA,sCACE,eACA,iBACA,gBACA,iCACA,oCAIJ,gCACE,2BACA,cACA,aACA,qCACA,8BAIA,yCClCN,YACA,cDoCQ,aACA,WAGF,iDCzCN,YACA,cD2CQ,WAEA,qDACE,iBAIJ,+CCnDN,YACA,cDqDQ,WAEA,mDACE,iBACA,4BAIJ,0CACE,aACA,cACA,YACA,iBACA,YACA,mBACA,iBACA,oCAEA,iDACE,iBAGF,mDCzGR,aACA,mBACA,uBD0GU,YACA,iBAGF,0DChHR,aACA,mBACA,uBDiHU,cACA,cACA,sCACA,eACA,oBE7HZ,gBACE,UAEA,gCACE,wBAGF,2BACE,8BAGF,qBDLA,aACA,mBACA,uBCME,cACA,oBACA,YACA,iCAGF,6BACE,mBACA,eACA,mBAGF,yBACE,kBAGF,iCACE,kBACA,iBACA,4BACA,gBAGF,8BACE,kCACA,gBAGF,6BACE,2BACA,iBACA,gBACA,gBAGF,0BACE,yCAGF,yBACE,yCAEA,uCACE,iCAGF,sDACE,4BC/DN,oBACE,eCDF,UACE,kDACA,uBAEA,mBACE,YACA,kBACA,2DCLJ,eJYE,aACA,mBIVA,cACA,cACA,YACA,oBACA,sCAKE,8FAEE,iDAGF,wDACE,aAIJ,8BACE,kBACA,YACA,WAIA,6DACE,gBAIF,uHAEE,yBAGF,iEACE,qBACA,uBAGF,qDJhCF,aACA,mBIkCI,yBAIJ,6BJvCA,aACA,mBIyCE,YACA,gBACA,8CACA,kBACA,iBACA,sCAGF,6CJxDA,aACA,mBACA,uBIyDE,YACA,cACA,oBACA,gBACA,iCACA,qCACA,6CACA,iBACA,eAGF,wDACE,eAGF,0DACE,mCACA,iCACA,+BAGF,mCJhFA,aACA,mBACA,uBIiFE,YACA,aACA,sCACA,8CACA,kCACA,8BACA,eAGF,6CACE,iCACA,mBAGF,yBACE,wBAGF,sDACE,uBACA,oBAGF,4DACE,sCACA,wCAGF,uEACE,iCACA,mCACA,+BAGF,uBACE,aACA,iBACA,sCACA,YACA,oDAEA,2BACE,kCAKN,+BACE,WACA,iBACA,gCACA,gCACA,oBACA,eAEA,+CACE,oBACA,mBACA,cAGF,uDJxHA,aACA,8BI0HE,mDACA,cAGF,mEACE,eACA,iBACA,cACA,uCACA,mBACA,oBACA,gBACA,iCAMA,sCACE,WACA,YACA,qCAIJ,wCACE,mDAEA,uDACE,gCAGF,mEJnLF,aACA,mBACA,uBIoLI,kBACA,gCACA,cACA,oBACA,cACA,iBACA,iBAIJ,+BACE,uBACA,qCACA,iBAGE,8HAEE,gDC7MN,wBACE,uBACA,sBAGF,uBACE,uDACA,6CACA,+BACA,kCAGF,gCACE,aACA,uBACA,eAEA,uCACE,sCAIJ,sCACE,kBACA,mBAGF,0CACE,iBAGF,4CACE,kCAGF,6CACE,2BAGF,+CACE,8BAGF,+CACE,6BAGF,sCL1BA,mBACA,uBACA,gBACA,sBACA,gBKyBE,iBACA,gBAEA,gDACE,cAIA,qBACA,YAIJ,uBACE,sCAGF,sBL9DA,aACA,mBACA,uBK+DE,WACA,4CAGF,4BACE,6CC7EF,wBACE,YACA,WACA,qCAGF,mBACE,YACA,WACA,kBACA,MACA,OCVJ,mBACE,kBAGA,cAIA,YACA,WAEA,iCAGE,cAGF,4BPLA,aACA,mBOOE,yBACA,cACA,aAEA,wCACA,qCACA,WACA,wCACA,iCAGF,qCPzBA,aACA,mBACA,uBO0BE,cACA,aACA,kBACA,gCACA,2BAEA,4CACE,iBACA,kCACA,kBAGF,6CACE,iBACA,gCACA,oEAGF,yBACE,KACE,WAGF,GACE,YAKN,oCACE,aAGF,yCACE,cACA,WACA,YAEA,kDPlEF,aACA,mBACA,uBOmEI,YACA,WAGF,mDACE,gBAGF,6CACE,eACA,mCAIJ,oCACE,qCACA,2BACA,4BAGF,yEACE,mCACA,+BACA,4BAGF,wBACE,KACE,uCAGF,GACE,sCAIJ,4BACE,KACE,qCAGF,GACE,oCAKN,0BACE,aACA,YACA,YACA,oBACA,sCACA,8CACA,qKAIA,qCAGE,cAGF,kCP/HA,aACA,mBOiIE,8BACA,sCACA,cAEA,2CPtIF,aACA,mBOyIE,0CPhJF,aACA,mBACA,uBOiJI,aACA,cAEA,8CACE,iCAGF,oDACE,iCAKN,wCACE,aACA,cACA,iCAGF,uCACE,eACA,oDAEA,6CACE,sCAIJ,gDP/KA,aACA,mBACA,uBOgLE,eACA,cACA,WACA,qDACA,kBACA,kBAEA,oDACE,iBACA,iCAIJ,kDACE,kBACA,UACA,WACA,YACA,WACA,kBACA,mCAGF,iGACE,iCAGF,oMAEE,kDAEA,4MACE,kCAIJ,mCACE,2BAGF,uCACE,iBAIJ,2BACE,YAEA,mCPlOA,aACA,mBACA,uBOmOE,cACA,qDACA,cACA,kBAGF,kCACE,iBACA,cACA,qBACA,kBACA,WACA,qCACA,oBACA,8CAEA,6CACE,qBAGF,iDPzPF,aACA,mBACA,uBO0PI,kBACA,aACA,oBACA,cACA,aACA,iBACA,gBACA,mCACA,iCACA,iBACA,eAGF,gDPzQF,aACA,mBACA,uBO0QI,kBACA,YACA,cACA,aAEA,oDACE,mCAIJ,6CPtRF,aACA,mBACA,uBOuRI,kBACA,YACA,cACA,aAEA,iDACE,iCAGF,uDACE,iCAKN,oCACE,2BAGF,oCACE,YACA,gBACA,aAGF,iDACE,oCACA,iBACA,kCAKF,4DACE,iBAGF,sCACE,aAGF,2CACE,aACA,uBACA,WACA,eACA,kBAEA,+CACE,iCAKF,yDACE,iCAIJ,qCACE,gBACA,gBACA,iCACA,eACA,iBAGF,2CACE,2BACA,qBAGF,uCACE,iBACA,kBAGF,6CACE,iCACA,gBACA,qCACA,oBACA,aAGF,sDACE,aACA,oBAIJ,8BPpXE,aACA,mBACA,uBOqXA,sBAEA,yCPzXA,aACA,mBACA,uBO0XE,WACA,YACA,gBAGF,wCACE,oCACA,iBACA,kCACA,iBACA,eACA,iBAGF,wCACE,oCACA,iBACA,gBACA,gCACA,iBACA,eACA,iBAGF,sCPpZA,aACA,mBACA,uBOqZE,kBACA,YACA,aAGF,mCACE,kBACA,eACA,8BACA,MAGF,uCACE,kBACA,eACA,iCACA,SAGF,qCACE,kBACA,8BACA,eACA,UAIJ,uCACE,YAEA,gDACE,YACA,gBACA,eAGF,8CACE,gBACA,gBACA,iCACA,eACA,iBACA,iBACA,mBAGF,6CACE,iCACA,gBACA,qCACA,oBACA,aACA,mBAGF,sDACE,aACA,oBACA,mBAIA,gEACE,iCACA,oCACA,iBACA,mBAIJ,oDP7dA,aACA,mBACA,uBO8dE,sBAEA,0DACE,eACA,8BAGF,6DACE,oCACA,iBACA,kCACA,gBAGF,iEACE,oCACA,iBACA,gBACA,iCACA,iBCzfN,mBRYE,aACA,mBQVA,YACA,WAEA,2CRCA,mBACA,uBA2BA,YACA,cQ1BE,cACA,aACA,sCACA,0BAEA,kCACE,iBACA,kCAGF,wCACE,kCAIJ,kCACE,WAGF,uDACE,mBAGF,gCR3BA,aACA,mBACA,uBQ4BE,WACA,cACA,sCACA,oBACA,iBAIA,yCRtCF,aACA,mBACA,uBQuCI,WACA,cACA,kCACA,8CACA,iBAGF,+CACE,aACA,iDAEA,sDACE,cACA,8CACA,kBACA,iBAIJ,6CR5DF,aACA,mBACA,uBQ6DI,aACA,iDAEA,oDACE,WAGF,0DACE,kCACA,mBAGF,gERrEJ,aACA,mBQuEM,cACA,WACA,8CACA,kCACA,sCACA,kBACA,UAGF,6DAEE,kCACA,YACA,gBACA,kBAGF,mEACE,WACA,cAKN,6BACE,iBAGF,8BACE,aACA,cACA,oBACA,SACA,kCACA,iCACA,WAEA,oCRnHF,aACA,mBACA,uBQoHI,WACA,eACA,uCACA,8BAGF,qCRtHF,aACA,mBQwHI,iBACA,8BACA,WAGF,oCRpHF,mBACA,uBACA,gBACA,sBACA,gBQmHI,eACA,iBACA,gBACA,WAGF,oCRvIF,aACA,mBQyII,YACA,YACA,WAGF,yCRrJF,aACA,mBACA,uBQsJI,YACA,WACA,mBAEA,6CACE,iBACA,kCAKN,0BACE,YACA,eACA,WACA,iBACA,gBACA,sCACA,8CACA,gBAGF,iCRxKA,aACA,mBQ0KE,WACA,cACA,YACA,8CAEA,qCACE,eACA,iCAGF,2CACE,eACA,iCAGF,oGAEE,mBACA,iCAKF,8CACE,eACA,4BAGF,oDACE,eACA,4BAGF,sHAEE,mBACA,iCAIJ,yCRzMA,mBACA,uBACA,gBACA,sBACA,gBQwME,mBACA,0BACA,cACA,iBACA,oCACA,sCACA,mBACA,kCACA,eAGF,6CRvOA,aACA,mBACA,uBQwOE,cACA,aACA,iBAEA,iDACE,iBAIJ,2CRnPA,aACA,mBACA,uBQoPE,cACA,aACA,iBACA,sCACA,8BAEA,+CACE,iBACA,kCAIJ,sIAEE,sCAIJ,+BACE,+BACA,iDACA,sBACA,gBAEA,sCACE,0BAGF,sCACE,4CACA,sBAGF,wCACE,cAGF,qCRrRA,aACA,mBQwRA,4CACE,iBACA,iBACA,eACA,iCAGF,4CACE,iBACA,iBACA,eACA,gBACA,kBAIJ,4BACE,aACA,WAEA,mCACE,YACA,WAGF,yCACE,cACA,wBACA,YAIA,0CRzTF,aACA,mBQ2TI,iCACA,oBACA,iBACA,eAGF,yCRlUF,aACA,mBQoUI,sCACA,kCACA,kBACA,oBACA,eACA,gBACA,cACA","file":"index.css"}
|
package/lib/index.d.ts
CHANGED
|
@@ -13,26 +13,34 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
export * from './const';
|
|
17
|
-
export * from './application/LegendApplicationPluginManager';
|
|
18
|
-
export * from './application/LegendApplication';
|
|
19
|
-
export * from './components/ApplicationStoreProvider';
|
|
20
|
-
export * from './components/WebApplicationNavigatorProvider';
|
|
21
|
-
export * from './components/LegendApplicationComponentFrameworkProvider';
|
|
22
|
-
export * from './components/
|
|
23
|
-
export * from './components/
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export * from './components/
|
|
27
|
-
export * from './components/
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './
|
|
31
|
-
export * from './stores/
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export * from './stores/
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export * from './stores/
|
|
16
|
+
export * from './const.js';
|
|
17
|
+
export * from './application/LegendApplicationPluginManager.js';
|
|
18
|
+
export * from './application/LegendApplication.js';
|
|
19
|
+
export * from './components/ApplicationStoreProvider.js';
|
|
20
|
+
export * from './components/WebApplicationNavigatorProvider.js';
|
|
21
|
+
export * from './components/LegendApplicationComponentFrameworkProvider.js';
|
|
22
|
+
export * from './components/LegendApplicationNavigationContextServiceUtils.js';
|
|
23
|
+
export * from './components/ApplicationStoreProviderTestUtils.js';
|
|
24
|
+
export * from './components/WebApplicationNavigatorProviderTestUtils.js';
|
|
25
|
+
export * from './components/VirtualAssistant.js';
|
|
26
|
+
export * from './components/DocumentationLink.js';
|
|
27
|
+
export * from './components/TextInputEditor.js';
|
|
28
|
+
export * from './components/LambdaEditor.js';
|
|
29
|
+
export * from './components/BasicValueSpecificationEditor.js';
|
|
30
|
+
export * from './components/LambdaParameterValuesEditor.js';
|
|
31
|
+
export * from './stores/ApplicationStore.js';
|
|
32
|
+
export * from './stores/ApplicationTelemetry.js';
|
|
33
|
+
export * from './stores/ApplicationEvent.js';
|
|
34
|
+
export * from './stores/LegendApplicationConfig.js';
|
|
35
|
+
export { WebApplicationNavigator } from './stores/WebApplicationNavigator.js';
|
|
36
|
+
export { LambdaEditorState } from './stores/LambdaEditorState.js';
|
|
37
|
+
export * from './stores/PackageableElementOption.js';
|
|
38
|
+
export * from './stores/LegendApplicationDocumentationService.js';
|
|
39
|
+
export * from './stores/LegendApplicationEventService.js';
|
|
40
|
+
export * from './stores/LegendApplicationAssistantService.js';
|
|
41
|
+
export * from './stores/LegendApplicationNavigationContextService.js';
|
|
42
|
+
export * from './stores/LegendApplicationPlugin.js';
|
|
43
|
+
export * from './stores/ApplicationStoreTestUtils.js';
|
|
44
|
+
export * from './stores/ValueSpecificationModifierHelper.js';
|
|
45
|
+
export * from './stores/LambdaParameterState.js';
|
|
38
46
|
//# sourceMappingURL=index.d.ts.map
|
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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,YAAY,CAAC;AAE3B,cAAc,iDAAiD,CAAC;AAChE,cAAc,oCAAoC,CAAC;AAEnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAChE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,gEAAgE,CAAC;AAE/E,cAAc,mDAAmD,CAAC;AAClE,cAAc,0DAA0D,CAAC;AAIzE,cAAc,kCAAkC,CAAC;AAEjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAE5D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,cAAc,sCAAsC,CAAC;AACrD,cAAc,mDAAmD,CAAC;AAClE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,uDAAuD,CAAC;AACtE,cAAc,qCAAqC,CAAC;AAEpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kCAAkC,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -13,26 +13,36 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
export * from './const';
|
|
17
|
-
export * from './application/LegendApplicationPluginManager';
|
|
18
|
-
export * from './application/LegendApplication';
|
|
19
|
-
export * from './components/ApplicationStoreProvider';
|
|
20
|
-
export * from './components/WebApplicationNavigatorProvider';
|
|
21
|
-
export * from './components/LegendApplicationComponentFrameworkProvider';
|
|
22
|
-
export * from './components/
|
|
23
|
-
export * from './components/
|
|
24
|
-
export
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export * from './components/
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './
|
|
31
|
-
export * from './
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export * from './stores/
|
|
35
|
-
export * from './stores/
|
|
36
|
-
export * from './stores/
|
|
37
|
-
export
|
|
16
|
+
export * from './const.js';
|
|
17
|
+
export * from './application/LegendApplicationPluginManager.js';
|
|
18
|
+
export * from './application/LegendApplication.js';
|
|
19
|
+
export * from './components/ApplicationStoreProvider.js';
|
|
20
|
+
export * from './components/WebApplicationNavigatorProvider.js';
|
|
21
|
+
export * from './components/LegendApplicationComponentFrameworkProvider.js';
|
|
22
|
+
export * from './components/LegendApplicationNavigationContextServiceUtils.js';
|
|
23
|
+
export * from './components/ApplicationStoreProviderTestUtils.js';
|
|
24
|
+
export * from './components/WebApplicationNavigatorProviderTestUtils.js';
|
|
25
|
+
// TODO: consider moving this to `LegendApplicationComponentFrameworkProvider`
|
|
26
|
+
// once we think we can add virtual assistant support for all apps
|
|
27
|
+
export * from './components/VirtualAssistant.js';
|
|
28
|
+
export * from './components/DocumentationLink.js';
|
|
29
|
+
export * from './components/TextInputEditor.js';
|
|
30
|
+
export * from './components/LambdaEditor.js';
|
|
31
|
+
export * from './components/BasicValueSpecificationEditor.js';
|
|
32
|
+
export * from './components/LambdaParameterValuesEditor.js';
|
|
33
|
+
export * from './stores/ApplicationStore.js';
|
|
34
|
+
export * from './stores/ApplicationTelemetry.js';
|
|
35
|
+
export * from './stores/ApplicationEvent.js';
|
|
36
|
+
export * from './stores/LegendApplicationConfig.js';
|
|
37
|
+
export { WebApplicationNavigator } from './stores/WebApplicationNavigator.js';
|
|
38
|
+
export { LambdaEditorState } from './stores/LambdaEditorState.js';
|
|
39
|
+
export * from './stores/PackageableElementOption.js';
|
|
40
|
+
export * from './stores/LegendApplicationDocumentationService.js';
|
|
41
|
+
export * from './stores/LegendApplicationEventService.js';
|
|
42
|
+
export * from './stores/LegendApplicationAssistantService.js';
|
|
43
|
+
export * from './stores/LegendApplicationNavigationContextService.js';
|
|
44
|
+
export * from './stores/LegendApplicationPlugin.js';
|
|
45
|
+
export * from './stores/ApplicationStoreTestUtils.js';
|
|
46
|
+
export * from './stores/ValueSpecificationModifierHelper.js';
|
|
47
|
+
export * from './stores/LambdaParameterState.js';
|
|
38
48
|
//# sourceMappingURL=index.js.map
|
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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,YAAY,CAAC;AAE3B,cAAc,iDAAiD,CAAC;AAChE,cAAc,oCAAoC,CAAC;AAEnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAChE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,gEAAgE,CAAC;AAE/E,cAAc,mDAAmD,CAAC;AAClE,cAAc,0DAA0D,CAAC;AAEzE,8EAA8E;AAC9E,kEAAkE;AAClE,cAAc,kCAAkC,CAAC;AAEjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAE5D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,cAAc,sCAAsC,CAAC;AACrD,cAAc,mDAAmD,CAAC;AAClE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,uDAAuD,CAAC;AACtE,cAAc,qCAAqC,CAAC;AAEpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kCAAkC,CAAC"}
|