windmill-components 1.522.0 → 1.531.0
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/package/components/AIAgentLogViewer.svelte +123 -0
- package/package/components/AIAgentLogViewer.svelte.d.ts +13 -0
- package/package/components/AppConnectInner.svelte +10 -10
- package/package/components/AutoscalingConfigEditor.svelte +76 -2
- package/package/components/Dev.svelte +12 -28
- package/package/components/DiffEditor.svelte +6 -3
- package/package/components/DiffEditor.svelte.d.ts +1 -0
- package/package/components/DisplayResult.svelte +16 -10
- package/package/components/DisplayResult.svelte.d.ts +1 -0
- package/package/components/EditableSchemaForm.svelte +5 -2
- package/package/components/Editor.svelte +26 -8
- package/package/components/Editor.svelte.d.ts +1 -1
- package/package/components/EditorBar.svelte +25 -5
- package/package/components/EditorSettings.svelte +6 -0
- package/package/components/FirstStepInputs.svelte +2 -2
- package/package/components/FlowBuilder.svelte +18 -36
- package/package/components/FlowGraphViewerStep.svelte +7 -0
- package/package/components/FlowJobResult.svelte +15 -63
- package/package/components/FlowJobResult.svelte.d.ts +10 -4
- package/package/components/FlowLogViewer.svelte +660 -0
- package/package/components/FlowLogViewer.svelte.d.ts +34 -0
- package/package/components/FlowLogViewerWrapper.svelte +52 -0
- package/package/components/FlowLogViewerWrapper.svelte.d.ts +21 -0
- package/package/components/FlowLoopIterationPreview.svelte +3 -3
- package/package/components/FlowPreviewContent.svelte +4 -5
- package/package/components/FlowPreviewContent.svelte.d.ts +7 -7
- package/package/components/FlowPreviewResult.svelte +4 -5
- package/package/components/FlowPreviewResult.svelte.d.ts +3 -5
- package/package/components/FlowStatusViewer.svelte +28 -16
- package/package/components/FlowStatusViewer.svelte.d.ts +19 -27
- package/package/components/FlowStatusViewerInner.svelte +483 -296
- package/package/components/FlowStatusViewerInner.svelte.d.ts +27 -33
- package/package/components/FlowTimeline.svelte +11 -13
- package/package/components/FlowTimeline.svelte.d.ts +6 -5
- package/package/components/HighlightCode.svelte +4 -1
- package/package/components/IconedResourceType.svelte +9 -5
- package/package/components/JobLoader.svelte +61 -8
- package/package/components/JobLoader.svelte.d.ts +9 -1
- package/package/components/LogViewer.svelte +8 -2
- package/package/components/LogViewer.svelte.d.ts +1 -0
- package/package/components/LogViewerHeader.svelte +32 -0
- package/package/components/LogViewerHeader.svelte.d.ts +8 -0
- package/package/components/ModulePreviewForm.svelte +10 -6
- package/package/components/ModulePreviewResultViewer.svelte +16 -0
- package/package/components/ModulePreviewResultViewer.svelte.d.ts +1 -1
- package/package/components/ModuleTest.svelte +59 -16
- package/package/components/RelativeLineNumbers.svelte +16 -0
- package/package/components/RelativeLineNumbers.svelte.d.ts +18 -0
- package/package/components/ResourceEditor.svelte +9 -4
- package/package/components/ScriptBuilder.svelte +13 -11
- package/package/components/ScriptEditor.svelte +2 -2
- package/package/components/SimpleEditor.svelte +10 -4
- package/package/components/SimpleEditor.svelte.d.ts +1 -0
- package/package/components/TemplateEditor.svelte +1 -1
- package/package/components/UserSettings.svelte +4 -4
- package/package/components/apps/components/display/AppAccordionList.svelte +1 -1
- package/package/components/apps/components/display/AppCarouselList.svelte +10 -8
- package/package/components/apps/components/display/AppJobIdFlowStatus.svelte +3 -3
- package/package/components/apps/components/display/table/AppAggridTable.svelte +2 -2
- package/package/components/apps/components/helpers/HiddenComponent.svelte +0 -1
- package/package/components/apps/components/helpers/InputValue.svelte +6 -1
- package/package/components/apps/components/helpers/NonRunnableComponent.svelte +8 -4
- package/package/components/apps/components/helpers/NonRunnableComponent.svelte.d.ts +1 -1
- package/package/components/apps/components/helpers/RunnableComponent.svelte +7 -8
- package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +1 -1
- package/package/components/apps/components/helpers/RunnableWrapper.svelte +12 -3
- package/package/components/apps/components/helpers/RunnableWrapper.svelte.d.ts +1 -1
- package/package/components/apps/components/inputs/AppCodeInputComponent.svelte +0 -5
- package/package/components/apps/components/layout/AppConditionalWrapper.svelte +1 -1
- package/package/components/apps/components/layout/AppContainer.svelte +1 -1
- package/package/components/apps/components/layout/AppDecisionTree.svelte +31 -20
- package/package/components/apps/components/layout/AppDrawer.svelte +1 -1
- package/package/components/apps/components/layout/AppList.svelte +9 -8
- package/package/components/apps/components/layout/AppModal.svelte +1 -1
- package/package/components/apps/components/layout/AppSplitpanes.svelte +5 -2
- package/package/components/apps/components/layout/AppStepper.svelte +9 -5
- package/package/components/apps/components/layout/AppTabs.svelte +2 -2
- package/package/components/apps/editor/AppJobsDrawer.svelte +2 -2
- package/package/components/apps/editor/GridEditor.svelte +24 -19
- package/package/components/apps/editor/GridEditor.svelte.d.ts +4 -1
- package/package/components/apps/editor/GridViewer.svelte +1 -1
- package/package/components/apps/editor/SubGridEditor.svelte +7 -11
- package/package/components/apps/editor/SubGridEditor.svelte.d.ts +3 -19
- package/package/components/apps/editor/appUtils.js +17 -68
- package/package/components/apps/editor/component/ComponentInner.svelte +845 -694
- package/package/components/apps/editor/component/componentCallbacks.svelte.js +8 -1
- package/package/components/apps/editor/contextPanel/components/OutputHeader.svelte +9 -46
- package/package/components/apps/editor/settingsPanel/DecisionTreeGraphEditor.svelte +29 -43
- package/package/components/apps/editor/settingsPanel/InputsSpecEditor.svelte +2 -1
- package/package/components/apps/editor/settingsPanel/InputsSpecEditor.svelte.d.ts +1 -0
- package/package/components/apps/editor/settingsPanel/inputEditor/EvalV2InputEditor.svelte +2 -2
- package/package/components/apps/editor/settingsPanel/inputEditor/EvalV2InputEditor.svelte.d.ts +1 -0
- package/package/components/apps/svelte-grid/Grid.svelte +23 -25
- package/package/components/apps/svelte-grid/Grid.svelte.d.ts +21 -9
- package/package/components/apps/svelte-grid/MoveResize.svelte +13 -15
- package/package/components/apps/svelte-grid/MoveResize.svelte.d.ts +17 -24
- package/package/components/apps/utils.d.ts +2 -0
- package/package/components/apps/utils.js +22 -0
- package/package/components/auditLogs/AuditLogsFilters.svelte.d.ts +1 -1
- package/package/components/common/fileDownload/FileDownload.svelte +1 -3
- package/package/components/common/fileDownload/FileDownload.svelte.d.ts +4 -18
- package/package/components/common/languageIcons/LanguageIcon.svelte +5 -2
- package/package/components/copilot/FlowInlineScriptAIButton.svelte +58 -0
- package/package/components/copilot/FlowInlineScriptAIButton.svelte.d.ts +3 -0
- package/package/components/copilot/MetadataGen.svelte +19 -1
- package/package/components/copilot/MetadataGen.svelte.d.ts +1 -1
- package/package/components/copilot/ScriptGen.svelte +23 -31
- package/package/components/copilot/ScriptGen.svelte.d.ts +0 -1
- package/package/components/copilot/autocomplete/Autocompletor.js +2 -0
- package/package/components/copilot/chat/AIChatDisplay.svelte +4 -4
- package/package/components/copilot/chat/AIChatInput.svelte +29 -6
- package/package/components/copilot/chat/AIChatManager.svelte.js +110 -26
- package/package/components/copilot/chat/AIChatMessage.svelte +3 -0
- package/package/components/copilot/chat/ToolContentDisplay.svelte +84 -0
- package/package/components/copilot/chat/ToolContentDisplay.svelte.d.ts +11 -0
- package/package/components/copilot/chat/ToolExecutionDisplay.svelte +105 -0
- package/package/components/copilot/chat/ToolExecutionDisplay.svelte.d.ts +7 -0
- package/package/components/copilot/chat/api/apiTools.d.ts +7 -0
- package/package/components/copilot/chat/api/apiTools.js +192 -0
- package/package/components/copilot/chat/api/core.d.ts +7 -0
- package/package/components/copilot/chat/api/core.js +61 -0
- package/package/components/copilot/chat/flow/FlowAIChat.svelte +4 -6
- package/package/components/copilot/chat/flow/core.js +213 -42
- package/package/components/copilot/chat/flow/utils.js +3 -0
- package/package/components/copilot/chat/monaco-adapter.d.ts +1 -1
- package/package/components/copilot/chat/monaco-adapter.js +10 -4
- package/package/components/copilot/chat/navigator/core.d.ts +1 -1
- package/package/components/copilot/chat/navigator/core.js +20 -22
- package/package/components/copilot/chat/script/core.d.ts +11 -3
- package/package/components/copilot/chat/script/core.js +92 -15
- package/package/components/copilot/chat/shared.d.ts +30 -3
- package/package/components/copilot/chat/shared.js +228 -9
- package/package/components/copilot/lib.d.ts +1 -1
- package/package/components/copilot/lib.js +15 -6
- package/package/components/custom_ui.d.ts +2 -0
- package/package/components/details/DetailPageLayout.svelte +34 -33
- package/package/components/flow_builder.d.ts +1 -2
- package/package/components/flows/FlowEditor.svelte +3 -3
- package/package/components/flows/FlowEditor.svelte.d.ts +7 -6
- package/package/components/flows/common/FlowCard.svelte +2 -2
- package/package/components/flows/common/FlowCard.svelte.d.ts +1 -0
- package/package/components/flows/common/FlowCardHeader.svelte +13 -4
- package/package/components/flows/common/FlowCardHeader.svelte.d.ts +1 -0
- package/package/components/flows/content/BranchPredicateEditor.svelte +4 -7
- package/package/components/flows/content/BranchPredicateEditor.svelte.d.ts +12 -11
- package/package/components/flows/content/FlowConstants.svelte +3 -3
- package/package/components/flows/content/FlowEditorPanel.svelte +3 -3
- package/package/components/flows/content/FlowEditorPanel.svelte.d.ts +2 -4
- package/package/components/flows/content/FlowInputsQuick.svelte +2 -1
- package/package/components/flows/content/FlowLoop.svelte +2 -2
- package/package/components/flows/content/FlowModuleComponent.svelte +130 -108
- package/package/components/flows/content/FlowModuleComponent.svelte.d.ts +1 -0
- package/package/components/flows/content/FlowModuleEarlyStop.svelte +2 -2
- package/package/components/flows/content/FlowModuleSkip.svelte +1 -1
- package/package/components/flows/content/FlowModuleSleep.svelte +1 -1
- package/package/components/flows/content/FlowModuleSuspend.svelte +1 -1
- package/package/components/flows/content/FlowModuleWrapper.svelte +15 -5
- package/package/components/flows/content/FlowModuleWrapper.svelte.d.ts +1 -0
- package/package/components/flows/content/FlowResult.svelte +2 -3
- package/package/components/flows/content/FlowResult.svelte.d.ts +2 -4
- package/package/components/flows/content/FlowWhileLoop.svelte +1 -1
- package/package/components/flows/dfs.d.ts +3 -1
- package/package/components/flows/dfs.js +5 -1
- package/package/components/flows/flowInfers.js +78 -0
- package/package/components/flows/flowState.d.ts +2 -3
- package/package/components/flows/flowState.js +2 -2
- package/package/components/flows/flowStateUtils.svelte.d.ts +4 -4
- package/package/components/flows/flowStateUtils.svelte.js +14 -13
- package/package/components/flows/flowStore.d.ts +3 -4
- package/package/components/flows/header/FlowPreviewButtons.svelte +2 -1
- package/package/components/flows/header/FlowYamlEditor.svelte +10 -1
- package/package/components/flows/map/FlowGraphPreviewButton.svelte +1 -1
- package/package/components/flows/map/FlowJobsMenu.svelte +7 -3
- package/package/components/flows/map/FlowJobsMenu.svelte.d.ts +1 -0
- package/package/components/flows/map/FlowModuleSchemaItem.svelte +12 -12
- package/package/components/flows/map/FlowModuleSchemaMap.svelte +26 -19
- package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +6 -4
- package/package/components/flows/map/InsertModuleInner.svelte +9 -1
- package/package/components/flows/map/InsertModuleInner.svelte.d.ts +1 -0
- package/package/components/flows/map/MapItem.svelte +4 -2
- package/package/components/flows/pickers/TopLevelNode.svelte +4 -1
- package/package/components/flows/propPicker/InputPickerInner.svelte +5 -4
- package/package/components/flows/propPicker/OutputBadge.svelte +11 -9
- package/package/components/flows/propPicker/OutputPickerInner.svelte +10 -1
- package/package/components/flows/propPicker/OutputPickerInner.svelte.d.ts +1 -1
- package/package/components/flows/testSteps.svelte.d.ts +3 -2
- package/package/components/flows/testSteps.svelte.js +26 -23
- package/package/components/flows/types.d.ts +1 -1
- package/package/components/flows/utils.d.ts +3 -5
- package/package/components/flows/utils.js +3 -4
- package/package/components/git_sync/GitSyncContext.svelte.js +2 -1
- package/package/components/graph/FlowGraphV2.svelte +44 -24
- package/package/components/graph/FlowGraphV2.svelte.d.ts +5 -2
- package/package/components/graph/graphBuilder.svelte.d.ts +49 -17
- package/package/components/graph/graphBuilder.svelte.js +30 -14
- package/package/components/graph/model.d.ts +9 -6
- package/package/components/graph/renderers/edges/BaseEdge.svelte +3 -3
- package/package/components/graph/renderers/edges/BaseEdge.svelte.d.ts +2 -3
- package/package/components/graph/renderers/nodes/AIToolNode.svelte +234 -0
- package/package/components/graph/renderers/nodes/AIToolNode.svelte.d.ts +24 -0
- package/package/components/graph/renderers/nodes/AssetNode.svelte +15 -10
- package/package/components/graph/renderers/nodes/AssetNode.svelte.d.ts +18 -1
- package/package/components/graph/renderers/nodes/BranchAllEndNode.svelte +1 -1
- package/package/components/graph/renderers/nodes/BranchAllStart.svelte +1 -1
- package/package/components/graph/renderers/nodes/BranchOneStart.svelte +1 -1
- package/package/components/graph/renderers/nodes/ForLoopEndNode.svelte +2 -2
- package/package/components/graph/renderers/nodes/ForLoopStartNode.svelte +1 -1
- package/package/components/graph/renderers/nodes/ModuleNode.svelte +21 -21
- package/package/components/graph/renderers/nodes/NewAIToolNode.svelte +64 -0
- package/package/components/graph/renderers/nodes/NewAIToolNode.svelte.d.ts +7 -0
- package/package/components/graph/renderers/nodes/branchOneEndNode.svelte +1 -1
- package/package/components/icons/RubyIcon.svelte +656 -0
- package/package/components/icons/RubyIcon.svelte.d.ts +7 -0
- package/package/components/instanceSettings.js +9 -0
- package/package/components/modulesTest.svelte.d.ts +6 -3
- package/package/components/modulesTest.svelte.js +32 -0
- package/package/components/preview/FlowPreviewStatus.svelte +3 -1
- package/package/components/raw_apps/RawAppEditor.svelte +27 -26
- package/package/components/raw_apps/RawAppEditor.svelte.d.ts +17 -17
- package/package/components/runs/{JobPreview.svelte → JobRunsPreview.svelte} +1 -4
- package/package/components/runs/{JobPreview.svelte.d.ts → JobRunsPreview.svelte.d.ts} +3 -3
- package/package/components/runs/RunRow.svelte +5 -1
- package/package/components/schema/AddProperty.svelte +41 -36
- package/package/components/schema/AddProperty.svelte.d.ts +2 -2
- package/package/components/schema/AddPropertyV2.svelte +41 -37
- package/package/components/schema/AddPropertyV2.svelte.d.ts +1 -1
- package/package/components/schema/FlowPropertyEditor.svelte +8 -6
- package/package/components/search/RunsSearch.svelte +1 -1
- package/package/components/settings/CreateToken.svelte +132 -12
- package/package/components/settings/CreateToken.svelte.d.ts +3 -20
- package/package/components/settings/TokenDisplay.svelte +18 -42
- package/package/components/settings/TokenDisplay.svelte.d.ts +0 -1
- package/package/components/settings/TokensTable.svelte +2 -4
- package/package/components/settings/TokensTable.svelte.d.ts +3 -19
- package/package/components/settings/WorkspaceUserSettings.svelte +428 -69
- package/package/components/sidebar/MenuButton.svelte +12 -10
- package/package/components/stepHistoryLoader.svelte.d.ts +2 -2
- package/package/components/stepHistoryLoader.svelte.js +7 -12
- package/package/components/triggers/http/OpenAPISpecGenerator.svelte +2 -2
- package/package/components/tutorials/FlowBuilderTutorialBranchOne.svelte +1 -1
- package/package/components/tutorials/FlowBuilderTutorialForLoop.svelte +4 -4
- package/package/components/tutorials/utils.js +3 -0
- package/package/components/worker_group.d.ts +4 -1
- package/package/components/worker_group.js +3 -2
- package/package/editorLangUtils.d.ts +1 -1
- package/package/editorLangUtils.js +2 -0
- package/package/editorUtils.d.ts +2 -1
- package/package/editorUtils.js +2 -1
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +296 -8
- package/package/gen/schemas.gen.js +364 -70
- package/package/gen/services.gen.d.ts +118 -16
- package/package/gen/services.gen.js +226 -19
- package/package/gen/types.gen.d.ts +660 -16
- package/package/hubPaths.json +7 -4
- package/package/infer.js +10 -1
- package/package/monaco_workers/graphql.worker.bundle.js +144 -110
- package/package/script_helpers.d.ts +3 -0
- package/package/script_helpers.js +58 -3
- package/package/scripts.d.ts +1 -1
- package/package/scripts.js +3 -2
- package/package/stores.d.ts +2 -0
- package/package/stores.js +2 -0
- package/package/svelte5Utils.svelte.d.ts +16 -0
- package/package/svelte5Utils.svelte.js +26 -0
- package/package/utils.d.ts +1 -1
- package/package.json +20 -19
- package/package/components/AllFlowLogs.svelte +0 -31
- package/package/components/AllFlowLogs.svelte.d.ts +0 -8
- package/package/components/copilot/chat/navigator/apiTools.d.ts +0 -68
- package/package/components/copilot/chat/navigator/apiTools.js +0 -258
|
@@ -73,712 +73,863 @@ import AppUserResource from '../../components/inputs/AppUserResource.svelte';
|
|
|
73
73
|
import { Button } from '../../../common';
|
|
74
74
|
import { Loader2 } from 'lucide-svelte';
|
|
75
75
|
let { component, render, componentContainerHeight, errorHandledByComponent = $bindable(), inlineEditorOpened = $bindable(), initializing = $bindable(undefined) } = $props();
|
|
76
|
+
// Define the component groups for efficient range checking
|
|
77
|
+
const chunk1Components = new Set([
|
|
78
|
+
'accordionlistcomponent',
|
|
79
|
+
'agchartscomponent',
|
|
80
|
+
'agchartscomponentee',
|
|
81
|
+
'aggridcomponent',
|
|
82
|
+
'aggridcomponentee',
|
|
83
|
+
'aggridinfinitecomponent',
|
|
84
|
+
'aggridinfinitecomponentee',
|
|
85
|
+
'alertcomponent',
|
|
86
|
+
'barchartcomponent',
|
|
87
|
+
'buttoncomponent'
|
|
88
|
+
]);
|
|
89
|
+
const chunk2Components = new Set([
|
|
90
|
+
'carousellistcomponent',
|
|
91
|
+
'chartjscomponent',
|
|
92
|
+
'chartjscomponentv2',
|
|
93
|
+
'checkboxcomponent',
|
|
94
|
+
'codeinputcomponent',
|
|
95
|
+
'conditionalwrapper',
|
|
96
|
+
'containercomponent',
|
|
97
|
+
'currencycomponent',
|
|
98
|
+
'customcomponent',
|
|
99
|
+
'dateinputcomponent'
|
|
100
|
+
]);
|
|
101
|
+
const chunk3Components = new Set([
|
|
102
|
+
'dateselectcomponent',
|
|
103
|
+
'dateslidercomponent',
|
|
104
|
+
'datetimeinputcomponent',
|
|
105
|
+
'dbexplorercomponent',
|
|
106
|
+
'decisiontreecomponent',
|
|
107
|
+
'displaycomponent',
|
|
108
|
+
'downloadcomponent',
|
|
109
|
+
'drawercomponent',
|
|
110
|
+
'emailinputcomponent',
|
|
111
|
+
'fileinputcomponent'
|
|
112
|
+
]);
|
|
113
|
+
const chunk4Components = new Set([
|
|
114
|
+
'flowstatuscomponent',
|
|
115
|
+
'formbuttoncomponent',
|
|
116
|
+
'formcomponent',
|
|
117
|
+
'horizontaldividercomponent',
|
|
118
|
+
'horizontalsplitpanescomponent',
|
|
119
|
+
'htmlcomponent',
|
|
120
|
+
'iconcomponent',
|
|
121
|
+
'imagecomponent',
|
|
122
|
+
'jobiddisplaycomponent',
|
|
123
|
+
'jobidflowstatuscomponent'
|
|
124
|
+
]);
|
|
125
|
+
const chunk5Components = new Set([
|
|
126
|
+
'jobidlogcomponent',
|
|
127
|
+
'listcomponent',
|
|
128
|
+
'logcomponent',
|
|
129
|
+
'mapcomponent',
|
|
130
|
+
'mardowncomponent',
|
|
131
|
+
'menucomponent',
|
|
132
|
+
'modalcomponent',
|
|
133
|
+
'multiselectcomponent',
|
|
134
|
+
'multiselectcomponentv2',
|
|
135
|
+
'navbarcomponent'
|
|
136
|
+
]);
|
|
137
|
+
const chunk6Components = new Set([
|
|
138
|
+
'numberinputcomponent',
|
|
139
|
+
'passwordinputcomponent',
|
|
140
|
+
'pdfcomponent',
|
|
141
|
+
'piechartcomponent',
|
|
142
|
+
'plotlycomponent',
|
|
143
|
+
'plotlycomponentv2',
|
|
144
|
+
'quillcomponent',
|
|
145
|
+
'rangecomponent',
|
|
146
|
+
'recomputeallcomponent',
|
|
147
|
+
'resourceselectcomponent'
|
|
148
|
+
]);
|
|
149
|
+
const chunk7Components = new Set([
|
|
150
|
+
's3fileinputcomponent',
|
|
151
|
+
'scatterchartcomponent',
|
|
152
|
+
'schemaformcomponent',
|
|
153
|
+
'selectcomponent',
|
|
154
|
+
'selectstepcomponent',
|
|
155
|
+
'selecttabcomponent',
|
|
156
|
+
'slidercomponent',
|
|
157
|
+
'statcomponent',
|
|
158
|
+
'steppercomponent'
|
|
159
|
+
]);
|
|
160
|
+
const chunk8Components = new Set([
|
|
161
|
+
'tablecomponent',
|
|
162
|
+
'tabscomponent',
|
|
163
|
+
'textareainputcomponent',
|
|
164
|
+
'textcomponent',
|
|
165
|
+
'textinputcomponent',
|
|
166
|
+
'timeinputcomponent',
|
|
167
|
+
'timeseriescomponent',
|
|
168
|
+
'userresourcecomponent',
|
|
169
|
+
'vegalitecomponent',
|
|
170
|
+
'verticaldividercomponent'
|
|
171
|
+
]);
|
|
172
|
+
const chunk9Components = new Set(['verticalsplitpanescomponent']);
|
|
76
173
|
</script>
|
|
77
174
|
|
|
78
175
|
<svelte:boundary
|
|
79
176
|
onerror={(e) => {
|
|
80
|
-
console.error(e)
|
|
177
|
+
console.error('Error displaying component ' + component.id, component, e)
|
|
81
178
|
}}
|
|
82
179
|
>
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
180
|
+
<!-- Chunk 1: accordionlistcomponent - buttoncomponent -->
|
|
181
|
+
{#if chunk1Components.has(component.type)}
|
|
182
|
+
{#if component.type === 'accordionlistcomponent'}
|
|
183
|
+
<AppAccordionList
|
|
184
|
+
id={component.id}
|
|
185
|
+
componentInput={component.componentInput}
|
|
186
|
+
customCss={component.customCss}
|
|
187
|
+
{componentContainerHeight}
|
|
188
|
+
{render}
|
|
189
|
+
bind:initializing
|
|
190
|
+
/>
|
|
191
|
+
{:else if component.type === 'agchartscomponent'}
|
|
192
|
+
<AppAgCharts
|
|
193
|
+
configuration={component.configuration}
|
|
194
|
+
id={component.id}
|
|
195
|
+
customCss={component.customCss}
|
|
196
|
+
bind:initializing
|
|
197
|
+
componentInput={component.componentInput}
|
|
198
|
+
{render}
|
|
199
|
+
/>
|
|
200
|
+
{:else if component.type === 'agchartscomponentee'}
|
|
201
|
+
<AppAgCharts
|
|
202
|
+
configuration={component.configuration}
|
|
203
|
+
id={component.id}
|
|
204
|
+
customCss={component.customCss}
|
|
205
|
+
bind:initializing
|
|
206
|
+
componentInput={component.componentInput}
|
|
207
|
+
license={component.license}
|
|
208
|
+
ee={true}
|
|
209
|
+
{render}
|
|
210
|
+
/>
|
|
211
|
+
{:else if component.type === 'aggridcomponent'}
|
|
212
|
+
<AppAggridTable
|
|
213
|
+
id={component.id}
|
|
214
|
+
configuration={component.configuration}
|
|
215
|
+
bind:initializing
|
|
216
|
+
componentInput={component.componentInput}
|
|
217
|
+
customCss={component.customCss}
|
|
218
|
+
actions={component.actions ?? []}
|
|
219
|
+
actionsOrder={component.actionsOrder ?? undefined}
|
|
220
|
+
{render}
|
|
221
|
+
/>
|
|
222
|
+
{:else if component.type === 'aggridcomponentee'}
|
|
223
|
+
<AppAggridTableEe
|
|
224
|
+
license={component.license}
|
|
225
|
+
id={component.id}
|
|
226
|
+
configuration={component.configuration}
|
|
227
|
+
bind:initializing
|
|
228
|
+
componentInput={component.componentInput}
|
|
229
|
+
customCss={component.customCss}
|
|
230
|
+
actions={component.actions ?? []}
|
|
231
|
+
actionsOrder={component.actionsOrder ?? undefined}
|
|
232
|
+
{render}
|
|
233
|
+
/>
|
|
234
|
+
{:else if component.type === 'aggridinfinitecomponent'}
|
|
235
|
+
<AppAggridInfiniteTable
|
|
236
|
+
id={component.id}
|
|
237
|
+
configuration={component.configuration}
|
|
238
|
+
bind:initializing
|
|
239
|
+
componentInput={component.componentInput}
|
|
240
|
+
customCss={component.customCss}
|
|
241
|
+
actions={component.actions ?? []}
|
|
242
|
+
{render}
|
|
243
|
+
/>
|
|
244
|
+
{:else if component.type === 'aggridinfinitecomponentee'}
|
|
245
|
+
<AppAggridInfiniteTableEe
|
|
246
|
+
license={component.license}
|
|
247
|
+
id={component.id}
|
|
248
|
+
configuration={component.configuration}
|
|
249
|
+
bind:initializing
|
|
250
|
+
componentInput={component.componentInput}
|
|
251
|
+
customCss={component.customCss}
|
|
252
|
+
actions={component.actions ?? []}
|
|
253
|
+
{render}
|
|
254
|
+
/>
|
|
255
|
+
{:else if component.type === 'alertcomponent'}
|
|
256
|
+
<AppAlert
|
|
257
|
+
id={component.id}
|
|
258
|
+
configuration={component.configuration}
|
|
259
|
+
customCss={component.customCss}
|
|
260
|
+
verticalAlignment={component.verticalAlignment}
|
|
261
|
+
{render}
|
|
262
|
+
/>
|
|
263
|
+
{:else if component.type === 'barchartcomponent'}
|
|
264
|
+
<AppBarChart
|
|
265
|
+
configuration={component.configuration}
|
|
266
|
+
id={component.id}
|
|
267
|
+
customCss={component.customCss}
|
|
268
|
+
bind:initializing
|
|
269
|
+
componentInput={component.componentInput}
|
|
270
|
+
{render}
|
|
271
|
+
/>
|
|
272
|
+
{:else if component.type === 'buttoncomponent'}
|
|
273
|
+
<AppButton
|
|
274
|
+
id={component.id}
|
|
275
|
+
verticalAlignment={component.verticalAlignment}
|
|
276
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
277
|
+
configuration={component.configuration}
|
|
278
|
+
customCss={component.customCss}
|
|
279
|
+
componentInput={component.componentInput}
|
|
280
|
+
recomputeIds={component.recomputeIds}
|
|
281
|
+
bind:errorHandledByComponent
|
|
282
|
+
{render}
|
|
283
|
+
/>
|
|
284
|
+
{/if}
|
|
285
|
+
{/if}
|
|
286
|
+
|
|
287
|
+
<!-- Chunk 2: carousellistcomponent - dateinputcomponent -->
|
|
288
|
+
{#if chunk2Components.has(component.type)}
|
|
289
|
+
{#if component.type === 'carousellistcomponent'}
|
|
290
|
+
<AppCarouselList
|
|
291
|
+
id={component.id}
|
|
292
|
+
configuration={component.configuration}
|
|
293
|
+
componentInput={component.componentInput}
|
|
294
|
+
customCss={component.customCss}
|
|
295
|
+
{componentContainerHeight}
|
|
296
|
+
{render}
|
|
297
|
+
bind:initializing
|
|
298
|
+
/>
|
|
299
|
+
{:else if component.type === 'chartjscomponent'}
|
|
300
|
+
<AppChartJs
|
|
301
|
+
configuration={component.configuration}
|
|
302
|
+
id={component.id}
|
|
303
|
+
customCss={component.customCss}
|
|
304
|
+
bind:initializing
|
|
305
|
+
componentInput={component.componentInput}
|
|
306
|
+
{render}
|
|
307
|
+
/>
|
|
308
|
+
{:else if component.type === 'chartjscomponentv2'}
|
|
309
|
+
<AppChartJsV2
|
|
310
|
+
configuration={component.configuration}
|
|
311
|
+
id={component.id}
|
|
312
|
+
customCss={component.customCss}
|
|
313
|
+
bind:initializing
|
|
314
|
+
componentInput={component.componentInput}
|
|
315
|
+
datasets={component.datasets}
|
|
316
|
+
xData={component.xData}
|
|
317
|
+
{render}
|
|
318
|
+
/>
|
|
319
|
+
{:else if component.type === 'checkboxcomponent'}
|
|
320
|
+
<AppCheckbox
|
|
321
|
+
id={component.id}
|
|
322
|
+
verticalAlignment={component.verticalAlignment}
|
|
323
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
324
|
+
configuration={component.configuration}
|
|
325
|
+
customCss={component.customCss}
|
|
326
|
+
recomputeIds={component.recomputeIds}
|
|
327
|
+
onToggle={component.onToggle}
|
|
328
|
+
{render}
|
|
329
|
+
/>
|
|
330
|
+
{:else if component.type === 'codeinputcomponent'}
|
|
331
|
+
<AppCodeInputComponent id={component.id} configuration={component.configuration} {render} />
|
|
332
|
+
{:else if component.type === 'conditionalwrapper' && component.conditions}
|
|
333
|
+
<AppConditionalWrapper
|
|
334
|
+
id={component.id}
|
|
335
|
+
conditions={component.conditions}
|
|
336
|
+
customCss={component.customCss}
|
|
337
|
+
onTabChange={component.onTabChange}
|
|
338
|
+
{componentContainerHeight}
|
|
339
|
+
{render}
|
|
340
|
+
/>
|
|
341
|
+
{:else if component.type === 'containercomponent'}
|
|
342
|
+
<AppContainer
|
|
343
|
+
groupFields={component.groupFields}
|
|
344
|
+
id={component.id}
|
|
345
|
+
customCss={component.customCss}
|
|
346
|
+
{componentContainerHeight}
|
|
347
|
+
{render}
|
|
348
|
+
/>
|
|
349
|
+
{:else if component.type === 'currencycomponent'}
|
|
350
|
+
<AppCurrencyInput
|
|
351
|
+
verticalAlignment={component.verticalAlignment}
|
|
352
|
+
configuration={component.configuration}
|
|
353
|
+
id={component.id}
|
|
354
|
+
customCss={component.customCss}
|
|
355
|
+
{render}
|
|
356
|
+
/>
|
|
357
|
+
{:else if component.type === 'customcomponent'}
|
|
358
|
+
<AppCustomComponent
|
|
359
|
+
customComponent={component.customComponent}
|
|
360
|
+
id={component.id}
|
|
361
|
+
componentInput={component.componentInput}
|
|
362
|
+
{render}
|
|
363
|
+
/>
|
|
364
|
+
{:else if component.type === 'dateinputcomponent'}
|
|
365
|
+
<AppDateInput
|
|
366
|
+
verticalAlignment={component.verticalAlignment}
|
|
367
|
+
configuration={component.configuration}
|
|
368
|
+
inputType="date"
|
|
369
|
+
id={component.id}
|
|
370
|
+
customCss={component.customCss}
|
|
371
|
+
onChange={component.onChange}
|
|
372
|
+
{render}
|
|
373
|
+
/>
|
|
374
|
+
{/if}
|
|
375
|
+
{/if}
|
|
376
|
+
|
|
377
|
+
<!-- Chunk 3: dateselectcomponent - fileinputcomponent -->
|
|
378
|
+
{#if chunk3Components.has(component.type)}
|
|
379
|
+
{#if component.type === 'dateselectcomponent'}
|
|
380
|
+
<AppDateSelect
|
|
381
|
+
id={component.id}
|
|
382
|
+
configuration={component.configuration}
|
|
383
|
+
customCss={component.customCss}
|
|
384
|
+
verticalAlignment={component.verticalAlignment}
|
|
385
|
+
{render}
|
|
386
|
+
/>
|
|
387
|
+
{:else if component.type === 'dateslidercomponent'}
|
|
388
|
+
<AppDateSliderInput
|
|
389
|
+
verticalAlignment={component.verticalAlignment}
|
|
390
|
+
configuration={component.configuration}
|
|
391
|
+
id={component.id}
|
|
392
|
+
customCss={component.customCss}
|
|
393
|
+
{render}
|
|
394
|
+
/>
|
|
395
|
+
{:else if component.type === 'datetimeinputcomponent'}
|
|
396
|
+
<AppDateTimeInput
|
|
397
|
+
verticalAlignment={component.verticalAlignment}
|
|
398
|
+
configuration={component.configuration}
|
|
399
|
+
inputType="date"
|
|
400
|
+
id={component.id}
|
|
401
|
+
customCss={component.customCss}
|
|
402
|
+
onChange={component.onChange}
|
|
403
|
+
{render}
|
|
404
|
+
/>
|
|
405
|
+
{:else if component.type === 'dbexplorercomponent'}
|
|
406
|
+
<AppDbExplorer
|
|
407
|
+
configuration={component.configuration}
|
|
408
|
+
id={component.id}
|
|
409
|
+
customCss={component.customCss}
|
|
410
|
+
actions={component.actions ?? []}
|
|
411
|
+
bind:initializing
|
|
412
|
+
{render}
|
|
413
|
+
/>
|
|
414
|
+
{:else if component.type === 'decisiontreecomponent' && component.nodes}
|
|
415
|
+
<AppDecisionTree
|
|
416
|
+
id={component.id}
|
|
417
|
+
nodes={component.nodes}
|
|
418
|
+
customCss={component.customCss}
|
|
419
|
+
{componentContainerHeight}
|
|
420
|
+
{render}
|
|
421
|
+
/>
|
|
422
|
+
{:else if component.type === 'displaycomponent'}
|
|
423
|
+
<AppDisplayComponent
|
|
424
|
+
id={component.id}
|
|
425
|
+
customCss={component.customCss}
|
|
426
|
+
bind:initializing
|
|
427
|
+
componentInput={component.componentInput}
|
|
428
|
+
configuration={component.configuration}
|
|
429
|
+
{render}
|
|
430
|
+
/>
|
|
431
|
+
{:else if component.type === 'downloadcomponent'}
|
|
432
|
+
<AppDownload
|
|
433
|
+
id={component.id}
|
|
434
|
+
verticalAlignment={component.verticalAlignment}
|
|
435
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
436
|
+
configuration={component.configuration}
|
|
437
|
+
customCss={component.customCss}
|
|
438
|
+
{render}
|
|
439
|
+
/>
|
|
440
|
+
{:else if component.type === 'drawercomponent'}
|
|
441
|
+
<AppDrawer
|
|
442
|
+
verticalAlignment={component.verticalAlignment}
|
|
443
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
444
|
+
configuration={component.configuration}
|
|
445
|
+
id={component.id}
|
|
446
|
+
customCss={component.customCss}
|
|
447
|
+
onOpenRecomputeIds={component.onOpenRecomputeIds}
|
|
448
|
+
onCloseRecomputeIds={component.onCloseRecomputeIds}
|
|
449
|
+
{render}
|
|
450
|
+
/>
|
|
451
|
+
{:else if component.type === 'emailinputcomponent'}
|
|
452
|
+
<AppTextInput
|
|
453
|
+
verticalAlignment={component.verticalAlignment}
|
|
454
|
+
configuration={component.configuration}
|
|
455
|
+
inputType="email"
|
|
456
|
+
appCssKey="emailinputcomponent"
|
|
457
|
+
id={component.id}
|
|
458
|
+
customCss={component.customCss}
|
|
459
|
+
onChange={component.onChange}
|
|
460
|
+
{render}
|
|
461
|
+
/>
|
|
462
|
+
{:else if component.type === 'fileinputcomponent'}
|
|
463
|
+
<AppFileInput
|
|
464
|
+
configuration={component.configuration}
|
|
465
|
+
id={component.id}
|
|
466
|
+
customCss={component.customCss}
|
|
467
|
+
onFileChange={component.onFileChange}
|
|
468
|
+
{render}
|
|
469
|
+
/>
|
|
470
|
+
{/if}
|
|
471
|
+
{/if}
|
|
472
|
+
|
|
473
|
+
<!-- Chunk 4: flowstatuscomponent - jobidflowstatuscomponent -->
|
|
474
|
+
{#if chunk4Components.has(component.type)}
|
|
475
|
+
{#if component.type === 'flowstatuscomponent'}
|
|
476
|
+
<AppFlowStatusComponent />
|
|
477
|
+
{:else if component.type === 'formbuttoncomponent'}
|
|
478
|
+
<AppFormButton
|
|
479
|
+
id={component.id}
|
|
480
|
+
verticalAlignment={component.verticalAlignment}
|
|
481
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
482
|
+
configuration={component.configuration}
|
|
483
|
+
customCss={component.customCss}
|
|
484
|
+
componentInput={component.componentInput}
|
|
485
|
+
recomputeIds={component.recomputeIds}
|
|
486
|
+
bind:errorHandledByComponent
|
|
487
|
+
{render}
|
|
488
|
+
/>
|
|
489
|
+
{:else if component.type === 'formcomponent'}
|
|
490
|
+
<AppForm
|
|
491
|
+
id={component.id}
|
|
492
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
493
|
+
configuration={component.configuration}
|
|
494
|
+
customCss={component.customCss}
|
|
495
|
+
componentInput={component.componentInput}
|
|
496
|
+
recomputeIds={component.recomputeIds}
|
|
497
|
+
bind:errorHandledByComponent
|
|
498
|
+
{render}
|
|
499
|
+
/>
|
|
500
|
+
{:else if component.type === 'horizontaldividercomponent'}
|
|
501
|
+
<AppDivider
|
|
502
|
+
verticalAlignment={component.verticalAlignment}
|
|
503
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
504
|
+
configuration={component.configuration}
|
|
505
|
+
id={component.id}
|
|
506
|
+
customCss={component.customCss}
|
|
507
|
+
position="horizontal"
|
|
508
|
+
{render}
|
|
509
|
+
/>
|
|
510
|
+
{:else if component.type === 'horizontalsplitpanescomponent'}
|
|
511
|
+
<AppSplitpanes
|
|
512
|
+
id={component.id}
|
|
513
|
+
customCss={component.customCss}
|
|
514
|
+
panes={component.panes}
|
|
515
|
+
{componentContainerHeight}
|
|
516
|
+
horizontal={true}
|
|
517
|
+
{render}
|
|
518
|
+
/>
|
|
519
|
+
{:else if component.type === 'htmlcomponent'}
|
|
520
|
+
<AppHtml
|
|
521
|
+
id={component.id}
|
|
522
|
+
customCss={component.customCss}
|
|
523
|
+
bind:initializing
|
|
524
|
+
componentInput={component.componentInput}
|
|
525
|
+
{render}
|
|
526
|
+
/>
|
|
527
|
+
{:else if component.type === 'iconcomponent'}
|
|
528
|
+
<AppIcon
|
|
529
|
+
verticalAlignment={component.verticalAlignment}
|
|
530
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
531
|
+
configuration={component.configuration}
|
|
532
|
+
id={component.id}
|
|
533
|
+
customCss={component.customCss}
|
|
534
|
+
{render}
|
|
535
|
+
/>
|
|
536
|
+
{:else if component.type === 'imagecomponent'}
|
|
537
|
+
<AppImage
|
|
538
|
+
configuration={component.configuration}
|
|
539
|
+
id={component.id}
|
|
540
|
+
customCss={component.customCss}
|
|
541
|
+
{render}
|
|
542
|
+
/>
|
|
543
|
+
{:else if component.type === 'jobiddisplaycomponent'}
|
|
544
|
+
<AppDisplayComponentByJobId
|
|
545
|
+
id={component.id}
|
|
546
|
+
customCss={component.customCss}
|
|
547
|
+
bind:initializing
|
|
223
548
|
configuration={component.configuration}
|
|
549
|
+
{render}
|
|
550
|
+
/>
|
|
551
|
+
{:else if component.type === 'jobidflowstatuscomponent'}
|
|
552
|
+
<AppJobIdFlowStatus
|
|
553
|
+
id={component.id}
|
|
554
|
+
customCss={component.customCss}
|
|
555
|
+
bind:initializing
|
|
556
|
+
configuration={component.configuration}
|
|
557
|
+
{render}
|
|
558
|
+
/>
|
|
559
|
+
{/if}
|
|
560
|
+
{/if}
|
|
561
|
+
|
|
562
|
+
<!-- Chunk 5: jobidlogcomponent - navbarcomponent -->
|
|
563
|
+
{#if chunk5Components.has(component.type)}
|
|
564
|
+
{#if component.type === 'jobidlogcomponent'}
|
|
565
|
+
<AppJobIdLogComponent
|
|
566
|
+
id={component.id}
|
|
567
|
+
customCss={component.customCss}
|
|
568
|
+
bind:initializing
|
|
569
|
+
configuration={component.configuration}
|
|
570
|
+
{render}
|
|
571
|
+
/>
|
|
572
|
+
{:else if component.type === 'listcomponent'}
|
|
573
|
+
<AppList
|
|
574
|
+
id={component.id}
|
|
575
|
+
customCss={component.customCss}
|
|
576
|
+
configuration={component.configuration}
|
|
577
|
+
componentInput={component.componentInput}
|
|
578
|
+
{render}
|
|
579
|
+
bind:initializing
|
|
580
|
+
/>
|
|
581
|
+
{:else if component.type === 'logcomponent'}
|
|
582
|
+
<AppLogsComponent />
|
|
583
|
+
{:else if component.type === 'mapcomponent'}
|
|
584
|
+
<AppMap
|
|
585
|
+
configuration={component.configuration}
|
|
586
|
+
id={component.id}
|
|
587
|
+
customCss={component.customCss}
|
|
588
|
+
{render}
|
|
589
|
+
/>
|
|
590
|
+
{:else if component.type === 'mardowncomponent'}
|
|
591
|
+
<AppMarkdown
|
|
592
|
+
id={component.id}
|
|
593
|
+
customCss={component.customCss}
|
|
594
|
+
bind:initializing
|
|
595
|
+
componentInput={component.componentInput}
|
|
596
|
+
configuration={component.configuration}
|
|
597
|
+
{render}
|
|
598
|
+
/>
|
|
599
|
+
{:else if component.type === 'menucomponent'}
|
|
600
|
+
<AppMenu
|
|
601
|
+
id={component.id}
|
|
602
|
+
verticalAlignment={component.verticalAlignment}
|
|
603
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
604
|
+
configuration={component.configuration}
|
|
605
|
+
customCss={component.customCss}
|
|
606
|
+
menuItems={component.menuItems}
|
|
607
|
+
{render}
|
|
608
|
+
/>
|
|
609
|
+
{:else if component.type === 'modalcomponent'}
|
|
610
|
+
<AppModal
|
|
611
|
+
verticalAlignment={component.verticalAlignment}
|
|
612
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
613
|
+
configuration={component.configuration}
|
|
614
|
+
id={component.id}
|
|
615
|
+
customCss={component.customCss}
|
|
616
|
+
onOpenRecomputeIds={component.onOpenRecomputeIds}
|
|
617
|
+
onCloseRecomputeIds={component.onCloseRecomputeIds}
|
|
618
|
+
{render}
|
|
619
|
+
/>
|
|
620
|
+
{:else if component.type === 'multiselectcomponent'}
|
|
621
|
+
<AppMultiSelect id={component.id} verticalAlignment={component.verticalAlignment} {render} />
|
|
622
|
+
{:else if component.type === 'multiselectcomponentv2'}
|
|
623
|
+
<AppMultiSelectV2
|
|
624
|
+
id={component.id}
|
|
625
|
+
configuration={component.configuration}
|
|
626
|
+
customCss={component.customCss}
|
|
627
|
+
verticalAlignment={component.verticalAlignment}
|
|
628
|
+
{render}
|
|
629
|
+
/>
|
|
630
|
+
{:else if component.type === 'navbarcomponent'}
|
|
631
|
+
<AppNavbar
|
|
632
|
+
id={component.id}
|
|
633
|
+
configuration={component.configuration}
|
|
634
|
+
customCss={component.customCss}
|
|
635
|
+
navbarItems={component.navbarItems}
|
|
636
|
+
{render}
|
|
637
|
+
/>
|
|
638
|
+
{/if}
|
|
639
|
+
{/if}
|
|
640
|
+
|
|
641
|
+
<!-- Chunk 6: numberinputcomponent - resourceselectcomponent -->
|
|
642
|
+
{#if chunk6Components.has(component.type)}
|
|
643
|
+
{#if component.type === 'numberinputcomponent'}
|
|
644
|
+
<AppNumberInput
|
|
645
|
+
verticalAlignment={component.verticalAlignment}
|
|
646
|
+
configuration={component.configuration}
|
|
647
|
+
id={component.id}
|
|
648
|
+
customCss={component.customCss}
|
|
649
|
+
onChange={component.onChange}
|
|
650
|
+
{render}
|
|
651
|
+
/>
|
|
652
|
+
{:else if component.type === 'passwordinputcomponent'}
|
|
653
|
+
<AppTextInput
|
|
654
|
+
verticalAlignment={component.verticalAlignment}
|
|
655
|
+
configuration={component.configuration}
|
|
656
|
+
inputType="password"
|
|
657
|
+
appCssKey="passwordinputcomponent"
|
|
658
|
+
id={component.id}
|
|
659
|
+
customCss={component.customCss}
|
|
660
|
+
onChange={component.onChange}
|
|
661
|
+
{render}
|
|
662
|
+
/>
|
|
663
|
+
{:else if component.type === 'pdfcomponent'}
|
|
664
|
+
<AppPdf
|
|
665
|
+
configuration={component.configuration}
|
|
666
|
+
id={component.id}
|
|
667
|
+
customCss={component.customCss}
|
|
668
|
+
{render}
|
|
669
|
+
/>
|
|
670
|
+
{:else if component.type === 'piechartcomponent'}
|
|
671
|
+
<AppPieChart
|
|
672
|
+
configuration={component.configuration}
|
|
673
|
+
id={component.id}
|
|
674
|
+
customCss={component.customCss}
|
|
675
|
+
bind:initializing
|
|
676
|
+
componentInput={component.componentInput}
|
|
677
|
+
{render}
|
|
678
|
+
/>
|
|
679
|
+
{:else if component.type === 'plotlycomponent'}
|
|
680
|
+
<PlotlyHtml
|
|
681
|
+
id={component.id}
|
|
682
|
+
configuration={component.configuration}
|
|
683
|
+
bind:initializing
|
|
684
|
+
componentInput={component.componentInput}
|
|
685
|
+
{render}
|
|
686
|
+
/>
|
|
687
|
+
{:else if component.type === 'plotlycomponentv2'}
|
|
688
|
+
<PlotlyHtmlV2
|
|
689
|
+
id={component.id}
|
|
690
|
+
configuration={component.configuration}
|
|
691
|
+
bind:initializing
|
|
692
|
+
componentInput={component.componentInput}
|
|
693
|
+
datasets={component.datasets}
|
|
694
|
+
xData={component.xData}
|
|
695
|
+
{render}
|
|
696
|
+
/>
|
|
697
|
+
{:else if component.type === 'quillcomponent'}
|
|
698
|
+
<AppQuillEditor id={component.id} configuration={component.configuration} {render} />
|
|
699
|
+
{:else if component.type === 'rangecomponent'}
|
|
700
|
+
<AppRangeInput
|
|
701
|
+
verticalAlignment={component.verticalAlignment}
|
|
702
|
+
configuration={component.configuration}
|
|
703
|
+
id={component.id}
|
|
704
|
+
customCss={component.customCss}
|
|
705
|
+
{render}
|
|
706
|
+
/>
|
|
707
|
+
{:else if component.type === 'recomputeallcomponent'}
|
|
708
|
+
<AppRecomputeAll
|
|
709
|
+
id={component.id}
|
|
710
|
+
customCss={component.customCss}
|
|
711
|
+
bind:initializing
|
|
712
|
+
configuration={component.configuration}
|
|
713
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
714
|
+
{render}
|
|
715
|
+
/>
|
|
716
|
+
{:else if component.type === 'resourceselectcomponent'}
|
|
717
|
+
<AppSelect
|
|
718
|
+
recomputeIds={component.recomputeIds}
|
|
719
|
+
id={component.id}
|
|
720
|
+
verticalAlignment={component.verticalAlignment}
|
|
721
|
+
configuration={component.configuration}
|
|
722
|
+
customCss={component.customCss}
|
|
723
|
+
onSelect={component.onSelect}
|
|
724
|
+
{render}
|
|
725
|
+
/>
|
|
726
|
+
{/if}
|
|
727
|
+
{/if}
|
|
728
|
+
|
|
729
|
+
<!-- Chunk 7: s3fileinputcomponent - steppercomponent -->
|
|
730
|
+
{#if chunk7Components.has(component.type)}
|
|
731
|
+
{#if component.type === 's3fileinputcomponent'}
|
|
732
|
+
<AppS3FileInput
|
|
733
|
+
configuration={component.configuration}
|
|
734
|
+
id={component.id}
|
|
735
|
+
customCss={component.customCss}
|
|
736
|
+
onFileChange={component.onFileChange}
|
|
737
|
+
{render}
|
|
738
|
+
/>
|
|
739
|
+
{:else if component.type === 'scatterchartcomponent'}
|
|
740
|
+
<AppScatterChart
|
|
741
|
+
configuration={component.configuration}
|
|
742
|
+
id={component.id}
|
|
743
|
+
customCss={component.customCss}
|
|
744
|
+
bind:initializing
|
|
745
|
+
componentInput={component.componentInput}
|
|
746
|
+
{render}
|
|
747
|
+
/>
|
|
748
|
+
{:else if component.type === 'schemaformcomponent'}
|
|
749
|
+
<AppSchemaForm
|
|
750
|
+
id={component.id}
|
|
751
|
+
componentInput={component.componentInput}
|
|
752
|
+
configuration={component.configuration}
|
|
753
|
+
customCss={component.customCss}
|
|
754
|
+
{initializing}
|
|
755
|
+
{render}
|
|
756
|
+
/>
|
|
757
|
+
{:else if component.type === 'selectcomponent'}
|
|
758
|
+
<AppSelect
|
|
759
|
+
recomputeIds={component.recomputeIds}
|
|
760
|
+
id={component.id}
|
|
761
|
+
verticalAlignment={component.verticalAlignment}
|
|
762
|
+
configuration={component.configuration}
|
|
763
|
+
customCss={component.customCss}
|
|
764
|
+
onSelect={component.onSelect}
|
|
765
|
+
{render}
|
|
766
|
+
/>
|
|
767
|
+
{:else if component.type === 'selectstepcomponent'}
|
|
768
|
+
<AppSelectStep
|
|
769
|
+
id={component.id}
|
|
770
|
+
verticalAlignment={component.verticalAlignment}
|
|
771
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
772
|
+
configuration={component.configuration}
|
|
773
|
+
customCss={component.customCss}
|
|
774
|
+
{render}
|
|
775
|
+
/>
|
|
776
|
+
{:else if component.type === 'selecttabcomponent'}
|
|
777
|
+
<AppSelectTab
|
|
778
|
+
id={component.id}
|
|
779
|
+
verticalAlignment={component.verticalAlignment}
|
|
780
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
781
|
+
configuration={component.configuration}
|
|
782
|
+
customCss={component.customCss}
|
|
783
|
+
{render}
|
|
784
|
+
/>
|
|
785
|
+
{:else if component.type === 'slidercomponent'}
|
|
786
|
+
<AppSliderInputs
|
|
787
|
+
verticalAlignment={component.verticalAlignment}
|
|
788
|
+
configuration={component.configuration}
|
|
789
|
+
id={component.id}
|
|
790
|
+
customCss={component.customCss}
|
|
791
|
+
{render}
|
|
792
|
+
/>
|
|
793
|
+
{:else if component.type === 'statcomponent'}
|
|
794
|
+
<AppStatCard
|
|
795
|
+
id={component.id}
|
|
796
|
+
configuration={component.configuration}
|
|
797
|
+
customCss={component.customCss}
|
|
798
|
+
{render}
|
|
799
|
+
/>
|
|
800
|
+
{:else if component.type === 'steppercomponent' && component.tabs}
|
|
801
|
+
<AppStepper
|
|
802
|
+
id={component.id}
|
|
803
|
+
tabs={component.tabs}
|
|
804
|
+
customCss={component.customCss}
|
|
805
|
+
{componentContainerHeight}
|
|
806
|
+
componentInput={component.componentInput}
|
|
807
|
+
onNext={component.onNext}
|
|
808
|
+
onPrevious={component.onPrevious}
|
|
809
|
+
{render}
|
|
810
|
+
/>
|
|
811
|
+
{/if}
|
|
812
|
+
{/if}
|
|
813
|
+
|
|
814
|
+
<!-- Chunk 8: tablecomponent - verticaldividercomponent -->
|
|
815
|
+
{#if chunk8Components.has(component.type)}
|
|
816
|
+
{#if component.type === 'tablecomponent'}
|
|
817
|
+
{#await import('../../components/display/table/AppTable.svelte')}
|
|
818
|
+
<Loader2 />
|
|
819
|
+
{:then Module}
|
|
820
|
+
<Module.default
|
|
821
|
+
configuration={component.configuration}
|
|
822
|
+
id={component.id}
|
|
823
|
+
customCss={component.customCss}
|
|
824
|
+
bind:initializing
|
|
825
|
+
componentInput={component.componentInput}
|
|
826
|
+
actionButtons={component.actionButtons}
|
|
827
|
+
{render}
|
|
828
|
+
/>
|
|
829
|
+
{/await}
|
|
830
|
+
{:else if component.type === 'tabscomponent' && component.tabs}
|
|
831
|
+
<AppTabs
|
|
832
|
+
configuration={component.configuration}
|
|
833
|
+
id={component.id}
|
|
834
|
+
tabs={component.tabs}
|
|
835
|
+
disabledTabs={component.disabledTabs}
|
|
836
|
+
onTabChange={component.onTabChange}
|
|
837
|
+
customCss={component.customCss}
|
|
838
|
+
{componentContainerHeight}
|
|
839
|
+
{render}
|
|
840
|
+
/>
|
|
841
|
+
{:else if component.type === 'textareainputcomponent'}
|
|
842
|
+
<AppTextInput
|
|
843
|
+
id={component.id}
|
|
844
|
+
verticalAlignment={component.verticalAlignment}
|
|
845
|
+
configuration={component.configuration}
|
|
846
|
+
customCss={component.customCss}
|
|
847
|
+
inputType="textarea"
|
|
848
|
+
appCssKey="textareainputcomponent"
|
|
849
|
+
onChange={component.onChange}
|
|
850
|
+
{render}
|
|
851
|
+
/>
|
|
852
|
+
{:else if component.type === 'textcomponent'}
|
|
853
|
+
<AppText
|
|
224
854
|
id={component.id}
|
|
855
|
+
verticalAlignment={component.verticalAlignment}
|
|
856
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
857
|
+
configuration={component.configuration}
|
|
225
858
|
customCss={component.customCss}
|
|
226
859
|
bind:initializing
|
|
860
|
+
bind:editorMode={inlineEditorOpened}
|
|
227
861
|
componentInput={component.componentInput}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
/>
|
|
285
|
-
{:else if component.type === 'textcomponent'}
|
|
286
|
-
<AppText
|
|
287
|
-
id={component.id}
|
|
288
|
-
verticalAlignment={component.verticalAlignment}
|
|
289
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
290
|
-
configuration={component.configuration}
|
|
291
|
-
customCss={component.customCss}
|
|
292
|
-
bind:initializing
|
|
293
|
-
bind:editorMode={inlineEditorOpened}
|
|
294
|
-
componentInput={component.componentInput}
|
|
295
|
-
{render}
|
|
296
|
-
/>
|
|
297
|
-
{:else if component.type === 'codeinputcomponent'}
|
|
298
|
-
<AppCodeInputComponent id={component.id} configuration={component.configuration} {render} />
|
|
299
|
-
{:else if component.type === 'buttoncomponent'}
|
|
300
|
-
<AppButton
|
|
301
|
-
id={component.id}
|
|
302
|
-
verticalAlignment={component.verticalAlignment}
|
|
303
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
304
|
-
configuration={component.configuration}
|
|
305
|
-
customCss={component.customCss}
|
|
306
|
-
componentInput={component.componentInput}
|
|
307
|
-
recomputeIds={component.recomputeIds}
|
|
308
|
-
bind:errorHandledByComponent
|
|
309
|
-
{render}
|
|
310
|
-
/>
|
|
311
|
-
{:else if component.type === 'downloadcomponent'}
|
|
312
|
-
<AppDownload
|
|
313
|
-
id={component.id}
|
|
314
|
-
verticalAlignment={component.verticalAlignment}
|
|
315
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
316
|
-
configuration={component.configuration}
|
|
317
|
-
customCss={component.customCss}
|
|
318
|
-
{render}
|
|
319
|
-
/>
|
|
320
|
-
{:else if component.type === 'selectcomponent' || component.type === 'resourceselectcomponent'}
|
|
321
|
-
<AppSelect
|
|
322
|
-
recomputeIds={component.recomputeIds}
|
|
323
|
-
id={component.id}
|
|
324
|
-
verticalAlignment={component.verticalAlignment}
|
|
325
|
-
configuration={component.configuration}
|
|
326
|
-
customCss={component.customCss}
|
|
327
|
-
onSelect={component.onSelect}
|
|
328
|
-
{render}
|
|
329
|
-
/>
|
|
330
|
-
{:else if component.type === 'userresourcecomponent'}
|
|
331
|
-
<AppUserResource
|
|
332
|
-
id={component.id}
|
|
333
|
-
verticalAlignment={component.verticalAlignment}
|
|
334
|
-
configuration={component.configuration}
|
|
335
|
-
customCss={component.customCss}
|
|
336
|
-
{render}
|
|
337
|
-
/>
|
|
338
|
-
{:else if component.type === 'multiselectcomponent'}
|
|
339
|
-
<AppMultiSelect id={component.id} verticalAlignment={component.verticalAlignment} {render} />
|
|
340
|
-
{:else if component.type === 'multiselectcomponentv2'}
|
|
341
|
-
<AppMultiSelectV2
|
|
342
|
-
id={component.id}
|
|
343
|
-
configuration={component.configuration}
|
|
344
|
-
customCss={component.customCss}
|
|
345
|
-
verticalAlignment={component.verticalAlignment}
|
|
346
|
-
{render}
|
|
347
|
-
/>
|
|
348
|
-
{:else if component.type === 'formcomponent'}
|
|
349
|
-
<AppForm
|
|
350
|
-
id={component.id}
|
|
351
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
352
|
-
configuration={component.configuration}
|
|
353
|
-
customCss={component.customCss}
|
|
354
|
-
componentInput={component.componentInput}
|
|
355
|
-
recomputeIds={component.recomputeIds}
|
|
356
|
-
bind:errorHandledByComponent
|
|
357
|
-
{render}
|
|
358
|
-
/>
|
|
359
|
-
{:else if component.type === 'formbuttoncomponent'}
|
|
360
|
-
<AppFormButton
|
|
361
|
-
id={component.id}
|
|
362
|
-
verticalAlignment={component.verticalAlignment}
|
|
363
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
364
|
-
configuration={component.configuration}
|
|
365
|
-
customCss={component.customCss}
|
|
366
|
-
componentInput={component.componentInput}
|
|
367
|
-
recomputeIds={component.recomputeIds}
|
|
368
|
-
bind:errorHandledByComponent
|
|
369
|
-
{render}
|
|
370
|
-
/>
|
|
371
|
-
{:else if component.type === 'checkboxcomponent'}
|
|
372
|
-
<AppCheckbox
|
|
373
|
-
id={component.id}
|
|
374
|
-
verticalAlignment={component.verticalAlignment}
|
|
375
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
376
|
-
configuration={component.configuration}
|
|
377
|
-
customCss={component.customCss}
|
|
378
|
-
recomputeIds={component.recomputeIds}
|
|
379
|
-
onToggle={component.onToggle}
|
|
380
|
-
{render}
|
|
381
|
-
/>
|
|
382
|
-
{:else if component.type === 'textinputcomponent'}
|
|
383
|
-
<AppTextInput
|
|
384
|
-
id={component.id}
|
|
385
|
-
verticalAlignment={component.verticalAlignment}
|
|
386
|
-
configuration={component.configuration}
|
|
387
|
-
customCss={component.customCss}
|
|
388
|
-
onChange={component.onChange}
|
|
389
|
-
{render}
|
|
390
|
-
/>
|
|
391
|
-
{:else if component.type === 'quillcomponent'}
|
|
392
|
-
<AppQuillEditor id={component.id} configuration={component.configuration} {render} />
|
|
393
|
-
{:else if component.type === 'textareainputcomponent'}
|
|
394
|
-
<AppTextInput
|
|
395
|
-
id={component.id}
|
|
396
|
-
verticalAlignment={component.verticalAlignment}
|
|
397
|
-
configuration={component.configuration}
|
|
398
|
-
customCss={component.customCss}
|
|
399
|
-
inputType="textarea"
|
|
400
|
-
appCssKey="textareainputcomponent"
|
|
401
|
-
onChange={component.onChange}
|
|
402
|
-
{render}
|
|
403
|
-
/>
|
|
404
|
-
{:else if component.type === 'emailinputcomponent'}
|
|
405
|
-
<AppTextInput
|
|
406
|
-
verticalAlignment={component.verticalAlignment}
|
|
407
|
-
configuration={component.configuration}
|
|
408
|
-
inputType="email"
|
|
409
|
-
appCssKey="emailinputcomponent"
|
|
410
|
-
id={component.id}
|
|
411
|
-
customCss={component.customCss}
|
|
412
|
-
onChange={component.onChange}
|
|
413
|
-
{render}
|
|
414
|
-
/>
|
|
415
|
-
{:else if component.type === 'passwordinputcomponent'}
|
|
416
|
-
<AppTextInput
|
|
417
|
-
verticalAlignment={component.verticalAlignment}
|
|
418
|
-
configuration={component.configuration}
|
|
419
|
-
inputType="password"
|
|
420
|
-
appCssKey="passwordinputcomponent"
|
|
421
|
-
id={component.id}
|
|
422
|
-
customCss={component.customCss}
|
|
423
|
-
onChange={component.onChange}
|
|
424
|
-
{render}
|
|
425
|
-
/>
|
|
426
|
-
{:else if component.type === 'dateinputcomponent'}
|
|
427
|
-
<AppDateInput
|
|
428
|
-
verticalAlignment={component.verticalAlignment}
|
|
429
|
-
configuration={component.configuration}
|
|
430
|
-
inputType="date"
|
|
431
|
-
id={component.id}
|
|
432
|
-
customCss={component.customCss}
|
|
433
|
-
onChange={component.onChange}
|
|
434
|
-
{render}
|
|
435
|
-
/>
|
|
436
|
-
{:else if component.type === 'timeinputcomponent'}
|
|
437
|
-
<AppTimeInput
|
|
438
|
-
verticalAlignment={component.verticalAlignment}
|
|
439
|
-
configuration={component.configuration}
|
|
440
|
-
id={component.id}
|
|
441
|
-
customCss={component.customCss}
|
|
442
|
-
onChange={component.onChange}
|
|
443
|
-
{render}
|
|
444
|
-
/>
|
|
445
|
-
{:else if component.type === 'datetimeinputcomponent'}
|
|
446
|
-
<AppDateTimeInput
|
|
447
|
-
verticalAlignment={component.verticalAlignment}
|
|
448
|
-
configuration={component.configuration}
|
|
449
|
-
inputType="date"
|
|
450
|
-
id={component.id}
|
|
451
|
-
customCss={component.customCss}
|
|
452
|
-
onChange={component.onChange}
|
|
453
|
-
{render}
|
|
454
|
-
/>
|
|
455
|
-
{:else if component.type === 'numberinputcomponent'}
|
|
456
|
-
<AppNumberInput
|
|
457
|
-
verticalAlignment={component.verticalAlignment}
|
|
458
|
-
configuration={component.configuration}
|
|
459
|
-
id={component.id}
|
|
460
|
-
customCss={component.customCss}
|
|
461
|
-
onChange={component.onChange}
|
|
462
|
-
{render}
|
|
463
|
-
/>
|
|
464
|
-
{:else if component.type === 'currencycomponent'}
|
|
465
|
-
<AppCurrencyInput
|
|
466
|
-
verticalAlignment={component.verticalAlignment}
|
|
467
|
-
configuration={component.configuration}
|
|
468
|
-
id={component.id}
|
|
469
|
-
customCss={component.customCss}
|
|
470
|
-
{render}
|
|
471
|
-
/>
|
|
472
|
-
{:else if component.type === 'slidercomponent'}
|
|
473
|
-
<AppSliderInputs
|
|
474
|
-
verticalAlignment={component.verticalAlignment}
|
|
475
|
-
configuration={component.configuration}
|
|
476
|
-
id={component.id}
|
|
477
|
-
customCss={component.customCss}
|
|
478
|
-
{render}
|
|
479
|
-
/>
|
|
480
|
-
{:else if component.type === 'dateslidercomponent'}
|
|
481
|
-
<AppDateSliderInput
|
|
482
|
-
verticalAlignment={component.verticalAlignment}
|
|
483
|
-
configuration={component.configuration}
|
|
484
|
-
id={component.id}
|
|
485
|
-
customCss={component.customCss}
|
|
486
|
-
{render}
|
|
487
|
-
/>
|
|
488
|
-
{:else if component.type === 'horizontaldividercomponent'}
|
|
489
|
-
<AppDivider
|
|
490
|
-
verticalAlignment={component.verticalAlignment}
|
|
491
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
492
|
-
configuration={component.configuration}
|
|
493
|
-
id={component.id}
|
|
494
|
-
customCss={component.customCss}
|
|
495
|
-
position="horizontal"
|
|
496
|
-
{render}
|
|
497
|
-
/>
|
|
498
|
-
{:else if component.type === 'verticaldividercomponent'}
|
|
499
|
-
<AppDivider
|
|
500
|
-
verticalAlignment={component.verticalAlignment}
|
|
501
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
502
|
-
configuration={component.configuration}
|
|
503
|
-
id={component.id}
|
|
504
|
-
customCss={component.customCss}
|
|
505
|
-
position="vertical"
|
|
506
|
-
{render}
|
|
507
|
-
/>
|
|
508
|
-
{:else if component.type === 'rangecomponent'}
|
|
509
|
-
<AppRangeInput
|
|
510
|
-
verticalAlignment={component.verticalAlignment}
|
|
511
|
-
configuration={component.configuration}
|
|
512
|
-
id={component.id}
|
|
513
|
-
customCss={component.customCss}
|
|
514
|
-
{render}
|
|
515
|
-
/>
|
|
516
|
-
{:else if component.type === 'tabscomponent' && component.tabs}
|
|
517
|
-
<AppTabs
|
|
518
|
-
configuration={component.configuration}
|
|
519
|
-
id={component.id}
|
|
520
|
-
tabs={component.tabs}
|
|
521
|
-
disabledTabs={component.disabledTabs}
|
|
522
|
-
onTabChange={component.onTabChange}
|
|
523
|
-
customCss={component.customCss}
|
|
524
|
-
{componentContainerHeight}
|
|
525
|
-
{render}
|
|
526
|
-
/>
|
|
527
|
-
{:else if component.type === 'steppercomponent' && component.tabs}
|
|
528
|
-
<AppStepper
|
|
529
|
-
id={component.id}
|
|
530
|
-
tabs={component.tabs}
|
|
531
|
-
customCss={component.customCss}
|
|
532
|
-
{componentContainerHeight}
|
|
533
|
-
componentInput={component.componentInput}
|
|
534
|
-
onNext={component.onNext}
|
|
535
|
-
onPrevious={component.onPrevious}
|
|
536
|
-
{render}
|
|
537
|
-
/>
|
|
538
|
-
{:else if component.type === 'conditionalwrapper' && component.conditions}
|
|
539
|
-
<AppConditionalWrapper
|
|
540
|
-
id={component.id}
|
|
541
|
-
conditions={component.conditions}
|
|
542
|
-
customCss={component.customCss}
|
|
543
|
-
onTabChange={component.onTabChange}
|
|
544
|
-
{componentContainerHeight}
|
|
545
|
-
{render}
|
|
546
|
-
/>
|
|
547
|
-
{:else if component.type === 'containercomponent'}
|
|
548
|
-
<AppContainer
|
|
549
|
-
groupFields={component.groupFields}
|
|
550
|
-
id={component.id}
|
|
551
|
-
customCss={component.customCss}
|
|
552
|
-
{componentContainerHeight}
|
|
553
|
-
{render}
|
|
554
|
-
/>
|
|
555
|
-
{:else if component.type === 'listcomponent'}
|
|
556
|
-
<AppList
|
|
557
|
-
id={component.id}
|
|
558
|
-
customCss={component.customCss}
|
|
559
|
-
configuration={component.configuration}
|
|
560
|
-
componentInput={component.componentInput}
|
|
561
|
-
{render}
|
|
562
|
-
bind:initializing
|
|
563
|
-
/>
|
|
564
|
-
{:else if component.type === 'verticalsplitpanescomponent'}
|
|
565
|
-
<AppSplitpanes
|
|
566
|
-
id={component.id}
|
|
567
|
-
customCss={component.customCss}
|
|
568
|
-
panes={component.panes}
|
|
569
|
-
{componentContainerHeight}
|
|
570
|
-
{render}
|
|
571
|
-
/>
|
|
572
|
-
{:else if component.type === 'horizontalsplitpanescomponent'}
|
|
573
|
-
<AppSplitpanes
|
|
574
|
-
id={component.id}
|
|
575
|
-
customCss={component.customCss}
|
|
576
|
-
panes={component.panes}
|
|
577
|
-
{componentContainerHeight}
|
|
578
|
-
horizontal={true}
|
|
579
|
-
{render}
|
|
580
|
-
/>
|
|
581
|
-
{:else if component.type === 'iconcomponent'}
|
|
582
|
-
<AppIcon
|
|
583
|
-
verticalAlignment={component.verticalAlignment}
|
|
584
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
585
|
-
configuration={component.configuration}
|
|
586
|
-
id={component.id}
|
|
587
|
-
customCss={component.customCss}
|
|
588
|
-
{render}
|
|
589
|
-
/>
|
|
590
|
-
{:else if component.type === 'fileinputcomponent'}
|
|
591
|
-
<AppFileInput
|
|
592
|
-
configuration={component.configuration}
|
|
593
|
-
id={component.id}
|
|
594
|
-
customCss={component.customCss}
|
|
595
|
-
onFileChange={component.onFileChange}
|
|
596
|
-
{render}
|
|
597
|
-
/>
|
|
598
|
-
{:else if component.type === 's3fileinputcomponent'}
|
|
599
|
-
<AppS3FileInput
|
|
600
|
-
configuration={component.configuration}
|
|
601
|
-
id={component.id}
|
|
602
|
-
customCss={component.customCss}
|
|
603
|
-
onFileChange={component.onFileChange}
|
|
604
|
-
{render}
|
|
605
|
-
/>
|
|
606
|
-
{:else if component.type === 'imagecomponent'}
|
|
607
|
-
<AppImage
|
|
608
|
-
configuration={component.configuration}
|
|
609
|
-
id={component.id}
|
|
610
|
-
customCss={component.customCss}
|
|
611
|
-
{render}
|
|
612
|
-
/>
|
|
613
|
-
{:else if component.type === 'drawercomponent'}
|
|
614
|
-
<AppDrawer
|
|
615
|
-
verticalAlignment={component.verticalAlignment}
|
|
616
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
617
|
-
configuration={component.configuration}
|
|
618
|
-
id={component.id}
|
|
619
|
-
customCss={component.customCss}
|
|
620
|
-
onOpenRecomputeIds={component.onOpenRecomputeIds}
|
|
621
|
-
onCloseRecomputeIds={component.onCloseRecomputeIds}
|
|
622
|
-
{render}
|
|
623
|
-
/>
|
|
624
|
-
{:else if component.type === 'mapcomponent'}
|
|
625
|
-
<AppMap
|
|
626
|
-
configuration={component.configuration}
|
|
627
|
-
id={component.id}
|
|
628
|
-
customCss={component.customCss}
|
|
629
|
-
{render}
|
|
630
|
-
/>
|
|
631
|
-
{:else if component.type === 'pdfcomponent'}
|
|
632
|
-
<AppPdf
|
|
633
|
-
configuration={component.configuration}
|
|
634
|
-
id={component.id}
|
|
635
|
-
customCss={component.customCss}
|
|
636
|
-
{render}
|
|
637
|
-
/>
|
|
638
|
-
{:else if component.type === 'modalcomponent'}
|
|
639
|
-
<AppModal
|
|
640
|
-
verticalAlignment={component.verticalAlignment}
|
|
641
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
642
|
-
configuration={component.configuration}
|
|
643
|
-
id={component.id}
|
|
644
|
-
customCss={component.customCss}
|
|
645
|
-
onOpenRecomputeIds={component.onOpenRecomputeIds}
|
|
646
|
-
onCloseRecomputeIds={component.onCloseRecomputeIds}
|
|
647
|
-
{render}
|
|
648
|
-
/>
|
|
649
|
-
{:else if component.type === 'schemaformcomponent'}
|
|
650
|
-
<AppSchemaForm
|
|
651
|
-
id={component.id}
|
|
652
|
-
componentInput={component.componentInput}
|
|
653
|
-
configuration={component.configuration}
|
|
654
|
-
customCss={component.customCss}
|
|
655
|
-
{initializing}
|
|
656
|
-
{render}
|
|
657
|
-
/>
|
|
658
|
-
{:else if component.type === 'selecttabcomponent'}
|
|
659
|
-
<AppSelectTab
|
|
660
|
-
id={component.id}
|
|
661
|
-
verticalAlignment={component.verticalAlignment}
|
|
662
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
663
|
-
configuration={component.configuration}
|
|
664
|
-
customCss={component.customCss}
|
|
665
|
-
{render}
|
|
666
|
-
/>
|
|
667
|
-
{:else if component.type === 'selectstepcomponent'}
|
|
668
|
-
<AppSelectStep
|
|
669
|
-
id={component.id}
|
|
670
|
-
verticalAlignment={component.verticalAlignment}
|
|
671
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
672
|
-
configuration={component.configuration}
|
|
673
|
-
customCss={component.customCss}
|
|
674
|
-
{render}
|
|
675
|
-
/>
|
|
676
|
-
{:else if component.type === 'chartjscomponent'}
|
|
677
|
-
<AppChartJs
|
|
678
|
-
configuration={component.configuration}
|
|
679
|
-
id={component.id}
|
|
680
|
-
customCss={component.customCss}
|
|
681
|
-
bind:initializing
|
|
682
|
-
componentInput={component.componentInput}
|
|
683
|
-
{render}
|
|
684
|
-
/>
|
|
685
|
-
{:else if component.type === 'chartjscomponentv2'}
|
|
686
|
-
<AppChartJsV2
|
|
687
|
-
configuration={component.configuration}
|
|
688
|
-
id={component.id}
|
|
689
|
-
customCss={component.customCss}
|
|
690
|
-
bind:initializing
|
|
691
|
-
componentInput={component.componentInput}
|
|
692
|
-
datasets={component.datasets}
|
|
693
|
-
xData={component.xData}
|
|
694
|
-
{render}
|
|
695
|
-
/>
|
|
696
|
-
{:else if component.type === 'carousellistcomponent'}
|
|
697
|
-
<AppCarouselList
|
|
698
|
-
id={component.id}
|
|
699
|
-
configuration={component.configuration}
|
|
700
|
-
componentInput={component.componentInput}
|
|
701
|
-
customCss={component.customCss}
|
|
702
|
-
{componentContainerHeight}
|
|
703
|
-
{render}
|
|
704
|
-
bind:initializing
|
|
705
|
-
/>
|
|
706
|
-
{:else if component.type === 'accordionlistcomponent'}
|
|
707
|
-
<AppAccordionList
|
|
708
|
-
id={component.id}
|
|
709
|
-
componentInput={component.componentInput}
|
|
710
|
-
customCss={component.customCss}
|
|
711
|
-
{componentContainerHeight}
|
|
712
|
-
{render}
|
|
713
|
-
bind:initializing
|
|
714
|
-
/>
|
|
715
|
-
{:else if component.type === 'statcomponent'}
|
|
716
|
-
<AppStatCard
|
|
717
|
-
id={component.id}
|
|
718
|
-
configuration={component.configuration}
|
|
719
|
-
customCss={component.customCss}
|
|
720
|
-
{render}
|
|
721
|
-
/>
|
|
722
|
-
{:else if component.type === 'menucomponent'}
|
|
723
|
-
<AppMenu
|
|
724
|
-
id={component.id}
|
|
725
|
-
verticalAlignment={component.verticalAlignment}
|
|
726
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
727
|
-
configuration={component.configuration}
|
|
728
|
-
customCss={component.customCss}
|
|
729
|
-
menuItems={component.menuItems}
|
|
730
|
-
{render}
|
|
731
|
-
/>
|
|
732
|
-
{:else if component.type === 'decisiontreecomponent' && component.nodes}
|
|
733
|
-
<AppDecisionTree
|
|
734
|
-
id={component.id}
|
|
735
|
-
nodes={component.nodes}
|
|
736
|
-
customCss={component.customCss}
|
|
737
|
-
{componentContainerHeight}
|
|
738
|
-
{render}
|
|
739
|
-
/>
|
|
740
|
-
{:else if component.type === 'alertcomponent'}
|
|
741
|
-
<AppAlert
|
|
742
|
-
id={component.id}
|
|
743
|
-
configuration={component.configuration}
|
|
744
|
-
customCss={component.customCss}
|
|
745
|
-
verticalAlignment={component.verticalAlignment}
|
|
746
|
-
{render}
|
|
747
|
-
/>
|
|
748
|
-
{:else if component.type === 'navbarcomponent'}
|
|
749
|
-
<AppNavbar
|
|
750
|
-
id={component.id}
|
|
751
|
-
configuration={component.configuration}
|
|
752
|
-
customCss={component.customCss}
|
|
753
|
-
navbarItems={component.navbarItems}
|
|
754
|
-
{render}
|
|
755
|
-
/>
|
|
756
|
-
{:else if component.type === 'dateselectcomponent'}
|
|
757
|
-
<AppDateSelect
|
|
758
|
-
id={component.id}
|
|
759
|
-
configuration={component.configuration}
|
|
760
|
-
customCss={component.customCss}
|
|
761
|
-
verticalAlignment={component.verticalAlignment}
|
|
762
|
-
{render}
|
|
763
|
-
/>
|
|
764
|
-
{:else if component.type === 'jobiddisplaycomponent'}
|
|
765
|
-
<AppDisplayComponentByJobId
|
|
766
|
-
id={component.id}
|
|
767
|
-
customCss={component.customCss}
|
|
768
|
-
bind:initializing
|
|
769
|
-
configuration={component.configuration}
|
|
770
|
-
{render}
|
|
771
|
-
/>
|
|
772
|
-
{:else if component.type === 'recomputeallcomponent'}
|
|
773
|
-
<AppRecomputeAll
|
|
774
|
-
id={component.id}
|
|
775
|
-
customCss={component.customCss}
|
|
776
|
-
bind:initializing
|
|
777
|
-
configuration={component.configuration}
|
|
778
|
-
horizontalAlignment={component.horizontalAlignment}
|
|
779
|
-
{render}
|
|
780
|
-
/>
|
|
862
|
+
{render}
|
|
863
|
+
/>
|
|
864
|
+
{:else if component.type === 'textinputcomponent'}
|
|
865
|
+
<AppTextInput
|
|
866
|
+
id={component.id}
|
|
867
|
+
verticalAlignment={component.verticalAlignment}
|
|
868
|
+
configuration={component.configuration}
|
|
869
|
+
customCss={component.customCss}
|
|
870
|
+
onChange={component.onChange}
|
|
871
|
+
{render}
|
|
872
|
+
/>
|
|
873
|
+
{:else if component.type === 'timeinputcomponent'}
|
|
874
|
+
<AppTimeInput
|
|
875
|
+
verticalAlignment={component.verticalAlignment}
|
|
876
|
+
configuration={component.configuration}
|
|
877
|
+
id={component.id}
|
|
878
|
+
customCss={component.customCss}
|
|
879
|
+
onChange={component.onChange}
|
|
880
|
+
{render}
|
|
881
|
+
/>
|
|
882
|
+
{:else if component.type === 'timeseriescomponent'}
|
|
883
|
+
<AppTimeseries
|
|
884
|
+
id={component.id}
|
|
885
|
+
customCss={component.customCss}
|
|
886
|
+
configuration={component.configuration}
|
|
887
|
+
bind:initializing
|
|
888
|
+
componentInput={component.componentInput}
|
|
889
|
+
{render}
|
|
890
|
+
/>
|
|
891
|
+
{:else if component.type === 'userresourcecomponent'}
|
|
892
|
+
<AppUserResource
|
|
893
|
+
id={component.id}
|
|
894
|
+
verticalAlignment={component.verticalAlignment}
|
|
895
|
+
configuration={component.configuration}
|
|
896
|
+
customCss={component.customCss}
|
|
897
|
+
{render}
|
|
898
|
+
/>
|
|
899
|
+
{:else if component.type === 'vegalitecomponent'}
|
|
900
|
+
<VegaLiteHtml
|
|
901
|
+
configuration={component.configuration}
|
|
902
|
+
id={component.id}
|
|
903
|
+
bind:initializing
|
|
904
|
+
componentInput={component.componentInput}
|
|
905
|
+
{render}
|
|
906
|
+
/>
|
|
907
|
+
{:else if component.type === 'verticaldividercomponent'}
|
|
908
|
+
<AppDivider
|
|
909
|
+
verticalAlignment={component.verticalAlignment}
|
|
910
|
+
horizontalAlignment={component.horizontalAlignment}
|
|
911
|
+
configuration={component.configuration}
|
|
912
|
+
id={component.id}
|
|
913
|
+
customCss={component.customCss}
|
|
914
|
+
position="vertical"
|
|
915
|
+
{render}
|
|
916
|
+
/>
|
|
917
|
+
{/if}
|
|
781
918
|
{/if}
|
|
919
|
+
|
|
920
|
+
<!-- Chunk 9: verticalsplitpanescomponent -->
|
|
921
|
+
{#if chunk9Components.has(component.type)}
|
|
922
|
+
{#if component.type === 'verticalsplitpanescomponent'}
|
|
923
|
+
<AppSplitpanes
|
|
924
|
+
id={component.id}
|
|
925
|
+
customCss={component.customCss}
|
|
926
|
+
panes={component.panes}
|
|
927
|
+
{componentContainerHeight}
|
|
928
|
+
{render}
|
|
929
|
+
/>
|
|
930
|
+
{/if}
|
|
931
|
+
{/if}
|
|
932
|
+
|
|
782
933
|
{#snippet failed(error, reset)}
|
|
783
934
|
<div class="flex flex-col items-center justify-center bg-red-100 p-10 h-full w-full">
|
|
784
935
|
<h3 class="text-red-500 text-2xl font-bold">Rendering of component failed</h3>
|