windmill-components 1.613.5 → 1.623.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/assets/tokens/tokens.json +1 -11
- package/package/ata/apis.js +5 -78
- package/package/components/AddUser.svelte +1 -1
- package/package/components/CenteredModal.svelte +24 -32
- package/package/components/CenteredModal.svelte.d.ts +27 -7
- package/package/components/CenteredPage.svelte +2 -5
- package/package/components/CenteredPage.svelte.d.ts +0 -2
- package/package/components/ConcurrentJobsChart.svelte +2 -3
- package/package/components/ConcurrentJobsChart.svelte.d.ts +2 -2
- package/package/components/CustomPopover.svelte +23 -20
- package/package/components/CustomPopover.svelte.d.ts +39 -14
- package/package/components/DBManager.svelte +17 -105
- package/package/components/DBManager.svelte.d.ts +1 -2
- package/package/components/DBManagerContent.svelte +3 -4
- package/package/components/DBManagerContent.svelte.d.ts +1 -1
- package/package/components/DBTableEditor.svelte +171 -210
- package/package/components/DBTableEditor.svelte.d.ts +3 -22
- package/package/components/Description.svelte +2 -3
- package/package/components/Dev.svelte +2 -36
- package/package/components/DiffDrawer.svelte +29 -8
- package/package/components/DiffEditor.svelte +2 -32
- package/package/components/DisplayResult.svelte +24 -32
- package/package/components/Editor.svelte +16 -70
- package/package/components/Editor.svelte.d.ts +0 -3
- package/package/components/EditorBar.svelte +1 -1
- package/package/components/FakeMonacoPlaceHolder.svelte +1 -1
- package/package/components/FlowBuilder.svelte +11 -17
- package/package/components/FlowPreviewContent.svelte +2 -3
- package/package/components/FlowPreviewResult.svelte +4 -0
- package/package/components/FlowRestartButton.svelte +3 -2
- package/package/components/FlowRestartButton.svelte.d.ts +0 -3
- package/package/components/FlowStatusViewerInner.svelte +33 -50
- package/package/components/FlowStatusViewerInner.svelte.d.ts +1 -1
- package/package/components/FlowStatusWaitingForEvents.svelte +23 -27
- package/package/components/FlowStatusWaitingForEvents.svelte.d.ts +18 -4
- package/package/components/FlowViewer.svelte +2 -103
- package/package/components/FlowViewer.svelte.d.ts +3 -9
- package/package/components/ForkWorkspaceBanner.svelte +13 -16
- package/package/components/GraphqlSchemaViewer.svelte +1 -8
- package/package/components/HistoricInputs.svelte +27 -25
- package/package/components/HistoricInputs.svelte.d.ts +2 -2
- package/package/components/InstanceSetting.svelte +0 -38
- package/package/components/InviteUser.svelte +42 -16
- package/package/components/InviteUser.svelte.d.ts +18 -4
- package/package/components/JsonInputs.svelte +8 -6
- package/package/components/JsonInputs.svelte.d.ts +8 -7
- package/package/components/LogViewer.svelte +33 -91
- package/package/components/Login.svelte +0 -21
- package/package/components/ManualPopover.svelte +6 -5
- package/package/components/ManualPopover.svelte.d.ts +35 -9
- package/package/components/MemoryFootprintViewer.svelte +6 -2
- package/package/components/ModulePreview.svelte +21 -23
- package/package/components/ModulePreview.svelte.d.ts +0 -1
- package/package/components/OAuthSetting.svelte +11 -23
- package/package/components/Path.svelte +2 -2
- package/package/components/Path.svelte.d.ts +1 -1
- package/package/components/ResourcePicker.svelte +0 -3
- package/package/components/ResourcePicker.svelte.d.ts +0 -1
- package/package/components/RunButton.svelte +15 -5
- package/package/components/RunButton.svelte.d.ts +19 -7
- package/package/components/RunChart.svelte +4 -8
- package/package/components/RunChart.svelte.d.ts +2 -2
- package/package/components/RunFormAdvancedPopup.svelte +1 -1
- package/package/components/RunsPage.svelte +539 -170
- package/package/components/RunsPage.svelte.d.ts +5 -5
- package/package/components/S3FilePicker.svelte +11 -7
- package/package/components/S3FilePickerInner.svelte +3 -2
- package/package/components/S3FilePickerInner.svelte.d.ts +2 -2
- package/package/components/SavedInputs.svelte +416 -0
- package/package/components/{tutorials/workspace/WorkspaceOnboardingOperatorTutorial.svelte.d.ts → SavedInputs.svelte.d.ts} +11 -8
- package/package/components/SchemaForm.svelte +19 -26
- package/package/components/SchemaFormWithArgPicker.svelte +3 -4
- package/package/components/ScriptBuilder.svelte +1 -1
- package/package/components/ScriptEditor.svelte +101 -575
- package/package/components/Section.svelte +1 -3
- package/package/components/ServiceLogsInner.svelte +4 -4
- package/package/components/ShareModal.svelte.d.ts +1 -1
- package/package/components/SimpleEditor.svelte +2 -46
- package/package/components/SuperadminSettingsInner.svelte +1 -1
- package/package/components/TemplateEditor.svelte +29 -54
- package/package/components/TemplateEditor.svelte.d.ts +102 -13
- package/package/components/UserSettings.svelte +1 -1
- package/package/components/WorkerTagPicker.svelte +1 -1
- package/package/components/WorkerTagSelect.svelte +2 -5
- package/package/components/WorkspaceTutorials.svelte +0 -5
- package/package/components/apps/components/buttons/AppButton.svelte +6 -21
- package/package/components/apps/components/buttons/AppForm.svelte +1 -2
- package/package/components/apps/components/buttons/AppFormButton.svelte +1 -2
- package/package/components/apps/components/display/dbtable/AppDbExplorer.svelte +4 -0
- package/package/components/apps/components/display/dbtable/metadata.js +30 -69
- package/package/components/apps/components/display/dbtable/queries/createTable.d.ts +24 -2
- package/package/components/apps/components/display/dbtable/queries/createTable.js +25 -11
- package/package/components/apps/components/display/dbtable/queries/select.d.ts +0 -2
- package/package/components/apps/components/display/dbtable/queries/select.js +6 -37
- package/package/components/apps/components/display/dbtable/utils.d.ts +1 -10
- package/package/components/apps/components/display/dbtable/utils.js +20 -52
- package/package/components/apps/components/helpers/HiddenComponent.svelte +1 -1
- package/package/components/apps/components/helpers/InputValue.svelte +1 -1
- package/package/components/apps/components/helpers/ResolveConfig.svelte +1 -1
- package/package/components/apps/components/helpers/RunnableComponent.svelte +2 -3
- package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +1 -1
- package/package/components/apps/components/helpers/RunnableWrapper.svelte +2 -2
- package/package/components/apps/editor/AppEditorHeader.svelte +1 -8
- package/package/components/apps/editor/AppEditorHeaderDeploy.svelte +29 -32
- package/package/components/apps/editor/AppEditorHeaderDeploy.svelte.d.ts +2 -2
- package/package/components/apps/editor/AppEditorHeaderDeployInitialDraft.svelte +4 -4
- package/package/components/apps/editor/AppEditorHeaderDeployInitialDraft.svelte.d.ts +3 -3
- package/package/components/apps/editor/PublicApp.svelte +30 -49
- package/package/components/apps/editor/PublicApp.svelte.d.ts +0 -1
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte +7 -77
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte.d.ts +2 -2
- package/package/components/apps/editor/inlineScriptsPanel/utils.d.ts +2 -2
- package/package/components/apps/editor/inlineScriptsPanel/utils.js +1 -10
- package/package/components/apps/inputType.d.ts +1 -6
- package/package/components/auditLogs/AuditLogsFilters.svelte +17 -9
- package/package/components/auditLogs/AuditLogsFilters.svelte.d.ts +1 -1
- package/package/components/common/button/model.js +1 -1
- package/package/components/common/calendarPicker/CalendarPicker.svelte.d.ts +1 -1
- package/package/components/common/languageIcons/TypeScript.svelte +3 -5
- package/package/components/common/languageIcons/TypeScript.svelte.d.ts +0 -1
- package/package/components/common/modal/Modal.svelte +3 -3
- package/package/components/copilot/autocomplete/Autocompletor.js +2 -3
- package/package/components/copilot/chat/AIButtonStyle.d.ts +1 -1
- package/package/components/copilot/chat/AIButtonStyle.js +1 -2
- package/package/components/copilot/chat/AIChat.svelte +1 -3
- package/package/components/copilot/chat/AIChatDisplay.svelte +4 -89
- package/package/components/copilot/chat/AIChatInput.svelte +0 -275
- package/package/components/copilot/chat/AIChatManager.svelte.js +1 -107
- package/package/components/copilot/chat/AiChatLayout.svelte +30 -15
- package/package/components/copilot/chat/ContextElementBadge.svelte +0 -44
- package/package/components/copilot/chat/DatatableCreationPolicy.svelte +33 -32
- package/package/components/copilot/chat/ProviderModelSelector.svelte +1 -1
- package/package/components/copilot/chat/__tests__/app/appEvalHelpers.js +0 -3
- package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.js +0 -4
- package/package/components/copilot/chat/app/core.d.ts +15 -56
- package/package/components/copilot/chat/app/core.js +22 -141
- package/package/components/copilot/chat/context.d.ts +2 -59
- package/package/components/copilot/chat/context.js +2 -6
- package/package/components/copilot/chat/flow/FlowAIChat.svelte +0 -22
- package/package/components/copilot/chat/flow/core.d.ts +1 -3
- package/package/components/copilot/chat/flow/core.js +2 -29
- package/package/components/copilot/chat/flow/openFlow.json +1 -1
- package/package/components/copilot/chat/flow/openFlowZod.d.ts +0 -1
- package/package/components/copilot/chat/flow/openFlowZod.js +2 -14
- package/package/components/copilot/chat/script/core.d.ts +1 -4
- package/package/components/copilot/chat/script/core.js +2 -38
- package/package/components/copilot/chat/shared.d.ts +0 -10
- package/package/components/copilot/chat/shared.js +0 -24
- package/package/components/copilot/lib.d.ts +1 -1
- package/package/components/custom_ui.d.ts +0 -2
- package/package/components/dbOps.d.ts +4 -18
- package/package/components/dbOps.js +3 -25
- package/package/components/flows/CreateActionsApp.svelte +4 -6
- package/package/components/flows/DebounceLimit.svelte.d.ts +1 -1
- package/package/components/flows/FlowHistoryInner.svelte +4 -15
- package/package/components/flows/content/AgentToolWrapper.svelte +1 -1
- package/package/components/flows/content/FlowInput.svelte +37 -211
- package/package/components/flows/content/FlowModuleComponent.svelte +67 -553
- package/package/components/flows/content/FlowModuleEarlyStop.svelte +10 -8
- package/package/components/flows/content/FlowModuleHeader.svelte +4 -7
- package/package/components/flows/content/FlowModuleWorkerTagSelect.svelte +1 -1
- package/package/components/flows/content/McpToolEditor.svelte +37 -50
- package/package/components/flows/content/McpToolEditor.svelte.d.ts +1 -0
- package/package/components/flows/conversations/FlowChat.svelte +2 -16
- package/package/components/flows/conversations/FlowChat.svelte.d.ts +1 -2
- package/package/components/flows/conversations/FlowChatInterface.svelte +6 -103
- package/package/components/flows/conversations/FlowChatInterface.svelte.d.ts +0 -2
- package/package/components/flows/conversations/FlowChatManager.svelte.js +21 -53
- package/package/components/flows/header/FlowImportExportMenu.svelte +1 -1
- package/package/components/flows/propPicker/PropPickerWrapper.svelte +1 -3
- package/package/components/flows/types.d.ts +0 -2
- package/package/components/git_sync/GitSyncRepositoryCard.svelte +8 -16
- package/package/components/home/ItemsList.svelte +5 -5
- package/package/components/home/TutorialBanner.svelte +18 -34
- package/package/components/icons/CssIcon.svelte +0 -20
- package/package/components/icons/CssIcon.svelte.d.ts +25 -7
- package/package/components/icons/JavaScriptIcon.svelte +2 -10
- package/package/components/icons/JavaScriptIcon.svelte.d.ts +0 -1
- package/package/components/icons/JsonIcon.svelte +2 -8
- package/package/components/icons/JsonIcon.svelte.d.ts +0 -1
- package/package/components/icons/ReactIcon.svelte +2 -10
- package/package/components/icons/ReactIcon.svelte.d.ts +0 -1
- package/package/components/icons/SvelteIcon.svelte +2 -10
- package/package/components/icons/SvelteIcon.svelte.d.ts +0 -1
- package/package/components/icons/VueIcon.svelte +2 -10
- package/package/components/icons/VueIcon.svelte.d.ts +0 -1
- package/package/components/instanceSettings.d.ts +1 -2
- package/package/components/instanceSettings.js +1 -32
- package/package/components/jobs/JobPreview.svelte +39 -46
- package/package/components/jobs/JobPreview.svelte.d.ts +0 -1
- package/package/components/monacoLanguagesOptions.js +15 -16
- package/package/components/propertyPicker/PropPicker.svelte +2 -16
- package/package/components/propertyPicker/PropPicker.svelte.d.ts +0 -2
- package/package/components/raw_apps/DefaultDatabaseSelector.svelte +5 -9
- package/package/components/raw_apps/FileEditorIcon.svelte +7 -12
- package/package/components/raw_apps/FileEditorIcon.svelte.d.ts +0 -2
- package/package/components/raw_apps/FileTreeNode.svelte +83 -119
- package/package/components/raw_apps/RawAppBackgroundRunner.svelte +8 -88
- package/package/components/raw_apps/RawAppDataTableList.svelte +9 -12
- package/package/components/raw_apps/RawAppEditor.svelte +68 -218
- package/package/components/raw_apps/RawAppEditorHeader.svelte +16 -33
- package/package/components/raw_apps/RawAppHistoryList.svelte +80 -264
- package/package/components/raw_apps/RawAppHistoryList.svelte.d.ts +0 -1
- package/package/components/raw_apps/RawAppHistoryManager.svelte.d.ts +1 -15
- package/package/components/raw_apps/RawAppHistoryManager.svelte.js +12 -46
- package/package/components/raw_apps/RawAppInlineScriptEditor.svelte +47 -549
- package/package/components/raw_apps/RawAppInlineScriptEditor.svelte.d.ts +5 -31
- package/package/components/raw_apps/RawAppInlineScriptPanelList.svelte +18 -25
- package/package/components/raw_apps/RawAppInlineScriptPanelList.svelte.d.ts +0 -1
- package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +10 -141
- package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte.d.ts +0 -8
- package/package/components/raw_apps/RawAppInlineScriptsPanel.svelte +1 -2
- package/package/components/raw_apps/RawAppInlineScriptsPanel.svelte.d.ts +1 -9
- package/package/components/raw_apps/RawAppInputsSpecEditor.svelte +3 -47
- package/package/components/raw_apps/RawAppInputsSpecEditor.svelte.d.ts +2 -2
- package/package/components/raw_apps/RawAppModules.svelte +7 -13
- package/package/components/raw_apps/RawAppPreview.svelte +6 -48
- package/package/components/raw_apps/RawAppSidebar.svelte +125 -194
- package/package/components/raw_apps/RawAppSidebar.svelte.d.ts +0 -1
- package/package/components/raw_apps/utils.d.ts +1 -1
- package/package/components/raw_apps/utils.js +18 -76
- package/package/components/runs/JobsLoader.svelte +468 -0
- package/package/components/runs/JobsLoader.svelte.d.ts +49 -0
- package/package/components/runs/ManuelDatePicker.svelte +3 -3
- package/package/components/runs/ManuelDatePicker.svelte.d.ts +3 -3
- package/package/components/runs/NoWorkerWithTagWarning.svelte +1 -5
- package/package/components/runs/RunsFilter.svelte +63 -75
- package/package/components/runs/RunsFilter.svelte.d.ts +4 -35
- package/package/components/runs/RunsQueue.svelte.d.ts +1 -1
- package/package/components/runs/RunsTable.svelte +1 -1
- package/package/components/runs/RunsTable.svelte.d.ts +1 -1
- package/package/components/schema/SchemaPicker.svelte +92 -0
- package/package/components/{tutorials/RunsTutorial.svelte.d.ts → schema/SchemaPicker.svelte.d.ts} +12 -11
- package/package/components/scriptEditor/LogPanel.svelte +2 -17
- package/package/components/scriptEditor/LogPanel.svelte.d.ts +0 -2
- package/package/components/select/SelectDropdown.svelte +2 -2
- package/package/components/settings/ChangeWorkspaceColor.svelte +3 -4
- package/package/components/settings/ChangeWorkspaceId.svelte +10 -14
- package/package/components/settings/ChangeWorkspaceName.svelte +6 -7
- package/package/components/settings/CreateToken.svelte +1 -1
- package/package/components/settings/UserAIPromptsSettings.svelte +15 -56
- package/package/components/settings/WorkspaceOperatorSettings.svelte +85 -68
- package/package/components/settings/WorkspaceUserSettings.svelte +406 -531
- package/package/components/sidebar/MenuButton.svelte +24 -46
- package/package/components/sidebar/MenuButton.svelte.d.ts +0 -2
- package/package/components/sidebar/MultiplayerMenu.svelte +3 -3
- package/package/components/sidebar/OperatorMenu.svelte +88 -63
- package/package/components/sidebar/SidebarContent.svelte +2 -7
- package/package/components/sidebar/UserMenu.svelte +1 -1
- package/package/components/sidebar/WorkspaceMenu.svelte +85 -35
- package/package/components/sqlTypeService.js +3 -4
- package/package/components/table/DataTable.svelte +2 -3
- package/package/components/table/DataTable.svelte.d.ts +0 -1
- package/package/components/text_input/TextInput.svelte +0 -3
- package/package/components/text_input/TextInput.svelte.d.ts +0 -2
- package/package/components/triggers/utils.js +1 -0
- package/package/components/tutorials/FlowBuilderLiveTutorial.svelte +35 -6
- package/package/components/tutorials/TroubleshootFlowTutorial.svelte +20 -5
- package/package/components/tutorials/utils.d.ts +0 -16
- package/package/components/tutorials/utils.js +0 -96
- package/package/components/vscode.js +6 -6
- package/package/components/workspaceSettings/AISettings.svelte +108 -146
- package/package/components/workspaceSettings/CreateWorkspace.svelte +12 -26
- package/package/components/workspaceSettings/DucklakeSettings.svelte +23 -46
- package/package/components/workspaceSettings/DucklakeSettings.svelte.d.ts +1 -2
- package/package/components/workspaceSettings/ModelTokenLimits.svelte +18 -14
- package/package/components/workspaceSettings/StorageSettings.svelte +241 -280
- package/package/components/workspaceSettings/StorageSettings.svelte.d.ts +0 -1
- package/package/consts.js +1 -4
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +1 -133
- package/package/gen/schemas.gen.js +1 -133
- package/package/gen/services.gen.d.ts +10 -160
- package/package/gen/services.gen.js +20 -319
- package/package/gen/types.gen.d.ts +19 -609
- package/package/hubPaths.json +2 -3
- package/package/infer.js +0 -2
- package/package/logout.d.ts +2 -0
- package/package/logout.js +23 -2
- package/package/monaco_workers/graphql.worker.bundle.js +121 -121
- package/package/navigation.d.ts +1 -1
- package/package/rawAppWmillTs.d.ts +0 -11
- package/package/rawAppWmillTs.js +1 -38
- package/package/svelte5Utils.svelte.d.ts +1 -7
- package/package/svelte5Utils.svelte.js +2 -23
- package/package/tutorialUtils.js +4 -0
- package/package/tutorials/config.js +3 -31
- package/package/tutorials/roleUtils.d.ts +1 -1
- package/package/tutorials/roleUtils.js +2 -6
- package/package/utils.js +1 -159
- package/package.json +4 -6
- package/dist/sharedUtils/assets/tokens/colorTokensConfig.d.ts +0 -2
- package/dist/sharedUtils/base.d.ts +0 -1
- package/dist/sharedUtils/cloud.d.ts +0 -1
- package/dist/sharedUtils/common.d.ts +0 -111
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/count.d.ts +0 -5
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/delete.d.ts +0 -5
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/insert.d.ts +0 -5
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/select.d.ts +0 -13
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/update.d.ts +0 -11
- package/dist/sharedUtils/components/apps/components/display/dbtable/utils.d.ts +0 -95
- package/dist/sharedUtils/components/apps/editor/appPolicy.d.ts +0 -6
- package/dist/sharedUtils/components/apps/editor/appUtilsCore.d.ts +0 -7
- package/dist/sharedUtils/components/apps/editor/appUtilsS3.d.ts +0 -33
- package/dist/sharedUtils/components/apps/editor/commonAppUtils.d.ts +0 -10
- package/dist/sharedUtils/components/apps/editor/component/components.d.ts +0 -5371
- package/dist/sharedUtils/components/apps/editor/component/default-codes.d.ts +0 -3
- package/dist/sharedUtils/components/apps/editor/component/index.d.ts +0 -3
- package/dist/sharedUtils/components/apps/editor/component/sets.d.ts +0 -7
- package/dist/sharedUtils/components/apps/editor/componentsPanel/componentDefaultProps.d.ts +0 -3
- package/dist/sharedUtils/components/apps/gridUtils.d.ts +0 -14
- package/dist/sharedUtils/components/apps/inputType.d.ts +0 -178
- package/dist/sharedUtils/components/apps/rx.d.ts +0 -29
- package/dist/sharedUtils/components/apps/sharedTypes.d.ts +0 -21
- package/dist/sharedUtils/components/apps/types.d.ts +0 -274
- package/dist/sharedUtils/components/assets/lib.d.ts +0 -25
- package/dist/sharedUtils/components/common/alert/model.d.ts +0 -2
- package/dist/sharedUtils/components/common/badge/model.d.ts +0 -8
- package/dist/sharedUtils/components/common/button/model.d.ts +0 -45
- package/dist/sharedUtils/components/common/fileInput/model.d.ts +0 -1
- package/dist/sharedUtils/components/common/index.d.ts +0 -24
- package/dist/sharedUtils/components/common/skeleton/model.d.ts +0 -21
- package/dist/sharedUtils/components/dbTypes.d.ts +0 -14
- package/dist/sharedUtils/components/diff_drawer.d.ts +0 -26
- package/dist/sharedUtils/components/ducklake.d.ts +0 -1
- package/dist/sharedUtils/components/flows/scheduleUtils.d.ts +0 -7
- package/dist/sharedUtils/components/icons/index.d.ts +0 -101
- package/dist/sharedUtils/components/random_positive_adjetive.d.ts +0 -1
- package/dist/sharedUtils/components/raw_apps/rawAppPolicy.d.ts +0 -10
- package/dist/sharedUtils/components/raw_apps/utils.d.ts +0 -15
- package/dist/sharedUtils/components/triggers/email/utils.d.ts +0 -4
- package/dist/sharedUtils/components/triggers/gcp/utils.d.ts +0 -2
- package/dist/sharedUtils/components/triggers/http/utils.d.ts +0 -11
- package/dist/sharedUtils/components/triggers/kafka/utils.d.ts +0 -2
- package/dist/sharedUtils/components/triggers/mqtt/utils.d.ts +0 -2
- package/dist/sharedUtils/components/triggers/nats/utils.d.ts +0 -2
- package/dist/sharedUtils/components/triggers/postgres/utils.d.ts +0 -8
- package/dist/sharedUtils/components/triggers/sqs/utils.d.ts +0 -2
- package/dist/sharedUtils/components/triggers/triggers.svelte.d.ts +0 -32
- package/dist/sharedUtils/components/triggers/utils.d.ts +0 -80
- package/dist/sharedUtils/components/triggers/websocket/utils.d.ts +0 -2
- package/dist/sharedUtils/components/triggers.d.ts +0 -20
- package/dist/sharedUtils/gen/core/ApiError.d.ts +0 -10
- package/dist/sharedUtils/gen/core/ApiRequestOptions.d.ts +0 -13
- package/dist/sharedUtils/gen/core/ApiResult.d.ts +0 -7
- package/dist/sharedUtils/gen/core/CancelablePromise.d.ts +0 -26
- package/dist/sharedUtils/gen/core/OpenAPI.d.ts +0 -27
- package/dist/sharedUtils/gen/core/request.d.ts +0 -29
- package/dist/sharedUtils/gen/index.d.ts +0 -6
- package/dist/sharedUtils/gen/schemas.gen.d.ts +0 -7036
- package/dist/sharedUtils/gen/services.gen.d.ts +0 -6047
- package/dist/sharedUtils/gen/types.gen.d.ts +0 -21881
- package/dist/sharedUtils/history.svelte.d.ts +0 -9
- package/dist/sharedUtils/hub.d.ts +0 -49
- package/dist/sharedUtils/jsr.json +0 -6
- package/dist/sharedUtils/lib.d.ts +0 -5
- package/dist/sharedUtils/lib.es.js +0 -1588
- package/dist/sharedUtils/package.json +0 -12
- package/dist/sharedUtils/schema.d.ts +0 -3
- package/dist/sharedUtils/stores.d.ts +0 -97
- package/dist/sharedUtils/svelte5Utils.svelte.d.ts +0 -80
- package/dist/sharedUtils/toast.d.ts +0 -8
- package/dist/sharedUtils/utils.d.ts +0 -265
- package/package/components/FlowDiffViewer.svelte +0 -37
- package/package/components/FlowDiffViewer.svelte.d.ts +0 -7
- package/package/components/JobOtelTraces.svelte +0 -287
- package/package/components/JobOtelTraces.svelte.d.ts +0 -6
- package/package/components/apps/components/display/dbtable/queries/alterTable.d.ts +0 -46
- package/package/components/apps/components/display/dbtable/queries/alterTable.js +0 -314
- package/package/components/apps/components/display/dbtable/queries/alterTable.test.d.ts +0 -1
- package/package/components/apps/components/display/dbtable/queries/alterTable.test.js +0 -867
- package/package/components/apps/components/display/dbtable/queries/dbQueriesUtils.d.ts +0 -9
- package/package/components/apps/components/display/dbtable/queries/dbQueriesUtils.js +0 -45
- package/package/components/apps/components/display/dbtable/queries/relationalKeys.d.ts +0 -47
- package/package/components/apps/components/display/dbtable/queries/relationalKeys.js +0 -402
- package/package/components/apps/components/display/dbtable/tableEditor.d.ts +0 -35
- package/package/components/apps/components/display/dbtable/tableEditor.js +0 -49
- package/package/components/copilot/chat/AppAvailableContextList.svelte +0 -263
- package/package/components/copilot/chat/AppAvailableContextList.svelte.d.ts +0 -13
- package/package/components/debug/DebugConsole.svelte +0 -277
- package/package/components/debug/DebugConsole.svelte.d.ts +0 -13
- package/package/components/debug/DebugPanel.svelte +0 -97
- package/package/components/debug/DebugPanel.svelte.d.ts +0 -11
- package/package/components/debug/DebugToolbar.svelte +0 -148
- package/package/components/debug/DebugToolbar.svelte.d.ts +0 -17
- package/package/components/debug/DebugVariableViewer.svelte +0 -115
- package/package/components/debug/DebugVariableViewer.svelte.d.ts +0 -11
- package/package/components/debug/MonacoDebugger.svelte +0 -384
- package/package/components/debug/MonacoDebugger.svelte.d.ts +0 -15
- package/package/components/debug/dapClient.d.ts +0 -192
- package/package/components/debug/dapClient.js +0 -426
- package/package/components/debug/debugUtils.d.ts +0 -30
- package/package/components/debug/debugUtils.js +0 -131
- package/package/components/debug/index.d.ts +0 -75
- package/package/components/debug/index.js +0 -82
- package/package/components/flows/content/FlowEditorDrawer.svelte +0 -124
- package/package/components/flows/content/FlowEditorDrawer.svelte.d.ts +0 -22
- package/package/components/flows/content/McpOAuthConnect.svelte +0 -217
- package/package/components/flows/content/McpOAuthConnect.svelte.d.ts +0 -7
- package/package/components/icons/HtmlIcon.svelte +0 -20
- package/package/components/icons/HtmlIcon.svelte.d.ts +0 -8
- package/package/components/icons/LessIcon.svelte +0 -16
- package/package/components/icons/LessIcon.svelte.d.ts +0 -8
- package/package/components/icons/MarkdownIcon.svelte +0 -20
- package/package/components/icons/MarkdownIcon.svelte.d.ts +0 -8
- package/package/components/icons/SassIcon.svelte +0 -28
- package/package/components/icons/SassIcon.svelte.d.ts +0 -8
- package/package/components/icons/YamlIcon.svelte +0 -20
- package/package/components/icons/YamlIcon.svelte.d.ts +0 -8
- package/package/components/instanceSettings/SecretBackendConfig.svelte +0 -514
- package/package/components/instanceSettings/SecretBackendConfig.svelte.d.ts +0 -8
- package/package/components/raw_apps/RunnableRow.svelte +0 -41
- package/package/components/raw_apps/RunnableRow.svelte.d.ts +0 -11
- package/package/components/runs/useJobsLoader.svelte.d.ts +0 -34
- package/package/components/runs/useJobsLoader.svelte.js +0 -507
- package/package/components/settings/AIPromptsModal.svelte +0 -88
- package/package/components/settings/AIPromptsModal.svelte.d.ts +0 -11
- package/package/components/tutorials/RunsTutorial.svelte +0 -399
- package/package/components/tutorials/workspace/WorkspaceOnboardingOperatorTutorial.svelte +0 -133
- package/package/components/workspace/WorkspaceCard.svelte +0 -184
- package/package/components/workspace/WorkspaceCard.svelte.d.ts +0 -24
- package/package/components/workspace/WorkspaceIcon.svelte +0 -21
- package/package/components/workspace/WorkspaceIcon.svelte.d.ts +0 -9
- package/package/components/workspace/WorkspaceTreeView.svelte +0 -331
- package/package/components/workspace/WorkspaceTreeView.svelte.d.ts +0 -15
- package/package/logoutKit.d.ts +0 -2
- package/package/logoutKit.js +0 -26
- package/package/svelte5UtilsKit.svelte.d.ts +0 -3
- package/package/svelte5UtilsKit.svelte.js +0 -30
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { AppComponent } from '.';
|
|
2
|
-
export declare function defaultCode(component: string, language: string): string | undefined;
|
|
3
|
-
export declare const DEFAULT_CODES: Partial<Record<AppComponent['type'], Partial<Record<'deno' | 'python3' | 'go' | 'bash' | 'pgsql' | 'mysql' | 'postgresql' | 'snowflake' | 'mssql' | 'bigquery' | 'oracledb', string>>>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentSet } from '../../types';
|
|
2
|
-
export declare const COMPONENT_SETS: readonly [ComponentSet, ComponentSet, ComponentSet, ComponentSet, ComponentSet, ComponentSet, ComponentSet];
|
|
3
|
-
export declare const DEPRECATED_COMPONENTS: {
|
|
4
|
-
tablecomponent: string;
|
|
5
|
-
chartjscomponent: string;
|
|
6
|
-
multiselectcomponent: string;
|
|
7
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { GridItem } from './types';
|
|
2
|
-
type ColumnConfiguration = [number, number][];
|
|
3
|
-
declare const Breakpoints: {
|
|
4
|
-
sm: number;
|
|
5
|
-
lg: number;
|
|
6
|
-
};
|
|
7
|
-
export declare const moveMode: import("svelte/store").Writable<"move" | "insert">;
|
|
8
|
-
declare const WIDE_GRID_COLUMNS: 12;
|
|
9
|
-
declare const NARROW_GRID_COLUMNS: 3;
|
|
10
|
-
declare const columnConfiguration: ColumnConfiguration;
|
|
11
|
-
declare const gridColumns: number[];
|
|
12
|
-
declare function toggleFixed(component: GridItem): GridItem;
|
|
13
|
-
declare function isFixed(component: GridItem): boolean;
|
|
14
|
-
export { gridColumns, WIDE_GRID_COLUMNS, NARROW_GRID_COLUMNS, columnConfiguration, Breakpoints, toggleFixed, isFixed };
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import type { ReadFileAs } from '../common/fileInput/model';
|
|
2
|
-
import type { DecisionTreeNode, TypedComponent } from './editor/component';
|
|
3
|
-
import type { InlineScript } from './sharedTypes';
|
|
4
|
-
export type { InlineScript } from './sharedTypes';
|
|
5
|
-
export type InputType = 'integer' | 'text' | 'textarea' | 'template' | 'number' | 'boolean' | 'select' | 'icon-select' | 'color' | 'date' | 'time' | 'datetime' | 'object' | 'array' | 'any' | 'labeledresource' | 'labeledselect' | 'tab-select' | 'schema' | 'ag-grid' | 'table-column' | 'plotly' | 'chartjs' | 'DecisionTreeNode' | 'ag-chart' | 'resource' | 'db-explorer' | 'db-table' | 's3' | 'number-tuple' | 'postgres' | 'mysql' | 'ms_sql_server' | 'snowflake' | 'snowflake_oauth' | 'bigquery' | 'oracledb' | 'ducklake' | 'app-path';
|
|
6
|
-
export type InputConnection = {
|
|
7
|
-
componentType?: TypedComponent['type'];
|
|
8
|
-
componentId: string;
|
|
9
|
-
path: string;
|
|
10
|
-
};
|
|
11
|
-
export type InputConnectionEval = {
|
|
12
|
-
componentId: string;
|
|
13
|
-
id: string;
|
|
14
|
-
};
|
|
15
|
-
export type ConnectedInput = {
|
|
16
|
-
type: 'connected';
|
|
17
|
-
connection: InputConnection | undefined;
|
|
18
|
-
allowUserResources?: boolean;
|
|
19
|
-
};
|
|
20
|
-
export type UserInput<U> = {
|
|
21
|
-
type: 'user';
|
|
22
|
-
value: U | undefined;
|
|
23
|
-
allowUserResources?: boolean;
|
|
24
|
-
};
|
|
25
|
-
export type UploadInput = {
|
|
26
|
-
type: 'upload';
|
|
27
|
-
value: string;
|
|
28
|
-
};
|
|
29
|
-
export type UploadS3Input = {
|
|
30
|
-
type: 'uploadS3';
|
|
31
|
-
value: any;
|
|
32
|
-
};
|
|
33
|
-
export type FileUploadData = {
|
|
34
|
-
name: string;
|
|
35
|
-
size: number;
|
|
36
|
-
progress: number;
|
|
37
|
-
cancelled?: boolean;
|
|
38
|
-
errorMessage?: string;
|
|
39
|
-
path?: string;
|
|
40
|
-
file?: File;
|
|
41
|
-
};
|
|
42
|
-
export type EvalInput = {
|
|
43
|
-
type: 'eval';
|
|
44
|
-
expr: string;
|
|
45
|
-
};
|
|
46
|
-
export type EvalInputV2 = {
|
|
47
|
-
type: 'evalv2';
|
|
48
|
-
expr: string;
|
|
49
|
-
connections: InputConnectionEval[];
|
|
50
|
-
onDemandOnly?: boolean;
|
|
51
|
-
allowUserResources?: boolean;
|
|
52
|
-
};
|
|
53
|
-
export type RowInput = {
|
|
54
|
-
type: 'row';
|
|
55
|
-
column: string;
|
|
56
|
-
};
|
|
57
|
-
export type StaticInput<U> = {
|
|
58
|
-
value: U | undefined;
|
|
59
|
-
type: 'static';
|
|
60
|
-
};
|
|
61
|
-
export type TemplateInput = {
|
|
62
|
-
eval: string;
|
|
63
|
-
type: 'template';
|
|
64
|
-
};
|
|
65
|
-
export type TemplateV2Input = {
|
|
66
|
-
eval: string;
|
|
67
|
-
type: 'templatev2';
|
|
68
|
-
connections: InputConnectionEval[];
|
|
69
|
-
};
|
|
70
|
-
export type RunnableByPath = {
|
|
71
|
-
name: string;
|
|
72
|
-
path: string;
|
|
73
|
-
schema: any;
|
|
74
|
-
runType: 'script' | 'flow' | 'hubscript';
|
|
75
|
-
type: 'runnableByPath' | 'path';
|
|
76
|
-
};
|
|
77
|
-
export declare function isRunnableByPath(runnable: Runnable): runnable is RunnableByPath;
|
|
78
|
-
export declare function isRunnableByName(runnable: Runnable): runnable is RunnableByName;
|
|
79
|
-
export type RunnableByName = {
|
|
80
|
-
name: string;
|
|
81
|
-
inlineScript: InlineScript | undefined;
|
|
82
|
-
type: 'runnableByName' | 'inline';
|
|
83
|
-
};
|
|
84
|
-
export type Runnable = RunnableByPath | RunnableByName | undefined;
|
|
85
|
-
export type RunnableWithFields = Runnable & {
|
|
86
|
-
fields?: Record<string, StaticAppInput | UserAppInput>;
|
|
87
|
-
};
|
|
88
|
-
export type ResultInput = {
|
|
89
|
-
runnable: Runnable;
|
|
90
|
-
transformer?: InlineScript & {
|
|
91
|
-
language: 'frontend';
|
|
92
|
-
};
|
|
93
|
-
fields: Record<string, StaticAppInput | ConnectedAppInput | RowAppInput | UserAppInput>;
|
|
94
|
-
type: 'runnable';
|
|
95
|
-
value?: any;
|
|
96
|
-
doNotRecomputeOnInputChanged?: boolean;
|
|
97
|
-
recomputeOnInputChanged?: boolean;
|
|
98
|
-
autoRefresh?: boolean;
|
|
99
|
-
hideRefreshButton?: boolean;
|
|
100
|
-
};
|
|
101
|
-
export type AppInputSpec<T extends InputType, U, V extends InputType = never> = (StaticInput<U> | ConnectedInput | UserInput<U> | RowInput | EvalInput | EvalInputV2 | UploadInput | UploadS3Input | ResultInput | TemplateInput | TemplateV2Input) & InputConfiguration<T, V>;
|
|
102
|
-
type InputConfiguration<T extends InputType, V extends InputType> = {
|
|
103
|
-
fieldType: T;
|
|
104
|
-
subFieldType?: V;
|
|
105
|
-
format?: string | undefined;
|
|
106
|
-
loading?: boolean;
|
|
107
|
-
fileUpload?: {
|
|
108
|
-
/** Use `*` to accept anything. */
|
|
109
|
-
accept: string;
|
|
110
|
-
/**
|
|
111
|
-
* Controls if user is allowed to select multiple files.
|
|
112
|
-
* @default false
|
|
113
|
-
*/
|
|
114
|
-
multiple?: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Controls if the uploaded file(s) will be converted or not.
|
|
117
|
-
* @default false
|
|
118
|
-
*/
|
|
119
|
-
convertTo?: ReadFileAs;
|
|
120
|
-
};
|
|
121
|
-
fileUploadS3?: {
|
|
122
|
-
accept: string;
|
|
123
|
-
multiple?: boolean;
|
|
124
|
-
};
|
|
125
|
-
noStatic?: boolean;
|
|
126
|
-
onDemandOnly?: boolean;
|
|
127
|
-
hideRefreshButton?: boolean;
|
|
128
|
-
};
|
|
129
|
-
export type StaticOptions = {
|
|
130
|
-
selectOptions: readonly string[] | readonly {
|
|
131
|
-
value: string;
|
|
132
|
-
label: string;
|
|
133
|
-
}[];
|
|
134
|
-
};
|
|
135
|
-
export type AppInput = AppInputSpec<'text', string> | AppInputSpec<'textarea', string> | AppInputSpec<'template', string> | AppInputSpec<'number', number> | AppInputSpec<'boolean', boolean> | AppInputSpec<'date', string> | AppInputSpec<'time', string> | AppInputSpec<'datetime', string> | AppInputSpec<'any', any> | AppInputSpec<'object', Record<string | number, any>> | AppInputSpec<'object', string> | (AppInputSpec<'select', string, 'db-table'> & StaticOptions) | AppInputSpec<'icon-select', string> | AppInputSpec<'color', string> | AppInputSpec<'array', string[], 'text'> | AppInputSpec<'array', string[], 'textarea'> | AppInputSpec<'array', number[], 'number'> | AppInputSpec<'array', boolean[], 'boolean'> | AppInputSpec<'array', string[], 'date'> | AppInputSpec<'array', string[], 'time'> | AppInputSpec<'array', string[], 'datetime'> | AppInputSpec<'array', object[], 'object'> | (AppInputSpec<'array', string[], 'select'> & StaticOptions) | AppInputSpec<'array', object[], 'labeledresource'> | AppInputSpec<'array', (object | string)[], 'labeledselect'> | AppInputSpec<'labeledselect', object> | AppInputSpec<'labeledresource', object> | AppInputSpec<'array', object[], 'tab-select'> | AppInputSpec<'schema', object> | AppInputSpec<'array', object[], 'ag-grid'> | AppInputSpec<'array', object[], 'db-explorer'> | AppInputSpec<'array', object[], 'table-column'> | AppInputSpec<'array', object[], 'plotly'> | AppInputSpec<'array', object[], 'chartjs'> | AppInputSpec<'array', DecisionTreeNode, 'DecisionTreeNode'> | AppInputSpec<'array', object[], 'ag-chart'> | AppInputSpec<'resource', string> | AppInputSpec<'resource', string, 's3'> | AppInputSpec<'resource', string, 'postgres'> | AppInputSpec<'resource', string, 'mysql'> | AppInputSpec<'resource', string, 'ms_sql_server'> | AppInputSpec<'resource', string, 'snowflake'> | AppInputSpec<'resource', string, 'snowflake_oauth'> | AppInputSpec<'resource', string, 'bigquery'> | AppInputSpec<'resource', string, 'oracledb'> | AppInputSpec<'ducklake', string, 'ducklake'> | AppInputSpec<'array', object[], 'number-tuple'> | AppInputSpec<'app-path', string>;
|
|
136
|
-
export type RowAppInput = Extract<AppInput, {
|
|
137
|
-
type: 'row';
|
|
138
|
-
}>;
|
|
139
|
-
export type StaticAppInput = Extract<AppInput, {
|
|
140
|
-
type: 'static';
|
|
141
|
-
}>;
|
|
142
|
-
export type ConnectedAppInput = Extract<AppInput, {
|
|
143
|
-
type: 'connected';
|
|
144
|
-
}>;
|
|
145
|
-
export type UserAppInput = Extract<AppInput, {
|
|
146
|
-
type: 'user';
|
|
147
|
-
}>;
|
|
148
|
-
export type ResultAppInput = Extract<AppInput, {
|
|
149
|
-
type: 'runnable';
|
|
150
|
-
}>;
|
|
151
|
-
export type EvalAppInput = Extract<AppInput, {
|
|
152
|
-
type: 'eval';
|
|
153
|
-
}>;
|
|
154
|
-
export type EvalV2AppInput = Extract<AppInput, {
|
|
155
|
-
type: 'evalv2';
|
|
156
|
-
}>;
|
|
157
|
-
export type StaticAppInputOnDemand = Extract<StaticAppInput, {
|
|
158
|
-
onDemandOnly: true;
|
|
159
|
-
}>;
|
|
160
|
-
export type TemplateV2AppInput = Extract<AppInput, {
|
|
161
|
-
type: 'templatev2';
|
|
162
|
-
}>;
|
|
163
|
-
export type UploadAppInput = Extract<AppInput, {
|
|
164
|
-
type: 'upload';
|
|
165
|
-
}>;
|
|
166
|
-
export type UploadS3AppInput = Extract<AppInput, {
|
|
167
|
-
type: 'uploadS3';
|
|
168
|
-
}>;
|
|
169
|
-
export type RichAppInput = AppInput | {
|
|
170
|
-
type: 'oneOf';
|
|
171
|
-
oneOf: string[];
|
|
172
|
-
configuration: Record<string, AppInput>;
|
|
173
|
-
} | {
|
|
174
|
-
type: 'group';
|
|
175
|
-
title: string;
|
|
176
|
-
configuration: Record<string, AppInput>;
|
|
177
|
-
};
|
|
178
|
-
export type AppInputs = Record<string, AppInput>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { InputConnectionEval } from './inputType';
|
|
2
|
-
import { type Writable } from 'svelte/store';
|
|
3
|
-
export interface Subscriber<T> {
|
|
4
|
-
id?: string;
|
|
5
|
-
next(v: T, force?: boolean): void;
|
|
6
|
-
}
|
|
7
|
-
export interface Observable<T> {
|
|
8
|
-
subscribe(x: Subscriber<T>, previousValue: T): () => void;
|
|
9
|
-
}
|
|
10
|
-
export interface Output<T> extends Observable<T> {
|
|
11
|
-
set(x: T, force?: boolean): void;
|
|
12
|
-
peak(): T | any | undefined;
|
|
13
|
-
}
|
|
14
|
-
export interface Input<T> extends Subscriber<T> {
|
|
15
|
-
peak(): T | any | undefined;
|
|
16
|
-
}
|
|
17
|
-
export type World = {
|
|
18
|
-
outputsById: Record<string, Record<string, Output<any>>>;
|
|
19
|
-
connect: <T>(connection: InputConnectionEval, next: (x: T, force?: boolean) => void, id: string, previousValue: any) => Input<T>;
|
|
20
|
-
stateId: Writable<number>;
|
|
21
|
-
newOutput: <T>(id: string, name: string, previousValue: T) => Output<T>;
|
|
22
|
-
};
|
|
23
|
-
export declare function buildWorld(context: Record<string, any>): Writable<World>;
|
|
24
|
-
export declare function buildObservableWorld(): {
|
|
25
|
-
connect: <T>(connection: InputConnectionEval, next: (x: T) => void, id: string, previousValue: T) => Input<T>;
|
|
26
|
-
newOutput: <T>(id: string, name: string, state: Writable<number>, previousValue: T) => Output<T>;
|
|
27
|
-
};
|
|
28
|
-
export declare function cachedInput<T>(nextParam: (x: T, force?: boolean) => void, id?: string): Input<T>;
|
|
29
|
-
export declare function settableOutput<T>(state: Writable<number>, previousValue: T): Output<T>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Schema } from '$lib/common';
|
|
2
|
-
import type { Preview } from '$lib/gen';
|
|
3
|
-
import type { AssetWithAltAccessType } from '../assets/lib';
|
|
4
|
-
export type InlineScript = {
|
|
5
|
-
content: string;
|
|
6
|
-
language: Preview['language'] | 'frontend';
|
|
7
|
-
path?: string;
|
|
8
|
-
schema?: Schema;
|
|
9
|
-
lock?: string;
|
|
10
|
-
cache_ttl?: number;
|
|
11
|
-
refreshOn?: {
|
|
12
|
-
id: string;
|
|
13
|
-
key: string;
|
|
14
|
-
}[];
|
|
15
|
-
suggestedRefreshOn?: {
|
|
16
|
-
id: string;
|
|
17
|
-
key: string;
|
|
18
|
-
}[];
|
|
19
|
-
id?: number;
|
|
20
|
-
assets?: AssetWithAltAccessType[];
|
|
21
|
-
};
|
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
import type { Policy } from '$lib/gen';
|
|
2
|
-
import type { History } from '$lib/history.svelte';
|
|
3
|
-
import type { Writable } from 'svelte/store';
|
|
4
|
-
import type { AppComponent, PresetComponentConfig, RecomputeOthersSource, components } from './editor/component/components';
|
|
5
|
-
import type { AppInput, ConnectedAppInput, ConnectedInput, EvalAppInput, EvalV2AppInput, InlineScript, InputConnection, ResultAppInput, RowAppInput, Runnable, StaticAppInput, TemplateV2AppInput, UploadAppInput, UploadS3AppInput, UserAppInput } from './inputType';
|
|
6
|
-
import type { World } from './rx';
|
|
7
|
-
import type { FilledItem } from './svelte-grid/types';
|
|
8
|
-
export type HorizontalAlignment = 'left' | 'center' | 'right';
|
|
9
|
-
export type VerticalAlignment = 'top' | 'center' | 'bottom';
|
|
10
|
-
export type Aligned = {
|
|
11
|
-
horizontalAlignment: HorizontalAlignment;
|
|
12
|
-
verticalAlignment: VerticalAlignment;
|
|
13
|
-
};
|
|
14
|
-
export interface GeneralAppInput {
|
|
15
|
-
tooltip?: string;
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
customTitle?: string;
|
|
18
|
-
}
|
|
19
|
-
export type ComponentCssProperty = {
|
|
20
|
-
class?: string;
|
|
21
|
-
style?: string;
|
|
22
|
-
evalClass?: RichConfiguration;
|
|
23
|
-
};
|
|
24
|
-
export type ComponentCustomCSS<T extends keyof typeof components> = Partial<(typeof components)[T]['customCss']>;
|
|
25
|
-
export type Configuration = StaticAppInput | ConnectedAppInput | UserAppInput | RowAppInput | EvalAppInput | EvalV2AppInput | UploadAppInput | UploadS3AppInput | ResultAppInput | TemplateV2AppInput;
|
|
26
|
-
export type StaticConfiguration = GeneralAppInput & StaticAppInput;
|
|
27
|
-
export type OneOfRichConfiguration<T> = {
|
|
28
|
-
type: 'oneOf';
|
|
29
|
-
selected: string;
|
|
30
|
-
tooltip?: string;
|
|
31
|
-
labels?: Record<string, string>;
|
|
32
|
-
configuration: Record<string, Record<string, T>>;
|
|
33
|
-
};
|
|
34
|
-
export type OneOfConfiguration = OneOfRichConfiguration<GeneralAppInput & (StaticAppInput | EvalAppInput | EvalV2AppInput)>;
|
|
35
|
-
export type RichConfigurationT<T> = (T & {
|
|
36
|
-
type: AppInput['type'];
|
|
37
|
-
}) | OneOfRichConfiguration<T>;
|
|
38
|
-
export type RichConfiguration = RichConfigurationT<Configuration>;
|
|
39
|
-
export type RichConfigurations = Record<string, RichConfiguration>;
|
|
40
|
-
export type StaticRichConfigurations = Record<string, RichConfigurationT<GeneralAppInput & (StaticAppInput | EvalAppInput | EvalV2AppInput)>>;
|
|
41
|
-
export interface BaseAppComponent extends Partial<Aligned> {
|
|
42
|
-
id: ComponentID;
|
|
43
|
-
componentInput: AppInput | undefined;
|
|
44
|
-
configuration: RichConfigurations;
|
|
45
|
-
customCss?: Record<string, ComponentCssProperty>;
|
|
46
|
-
numberOfSubgrids?: number;
|
|
47
|
-
}
|
|
48
|
-
export type ComponentSet = {
|
|
49
|
-
title: string;
|
|
50
|
-
components: Readonly<AppComponent['type'][]>;
|
|
51
|
-
presets?: Readonly<PresetComponentConfig['type'][]> | undefined;
|
|
52
|
-
};
|
|
53
|
-
type SectionID = string;
|
|
54
|
-
export type AppSection = {
|
|
55
|
-
components: AppComponent[];
|
|
56
|
-
id: SectionID;
|
|
57
|
-
};
|
|
58
|
-
export type GridItem = FilledItem<AppComponent>;
|
|
59
|
-
export type AppCssItemName = 'viewer' | 'grid' | AppComponent['type'];
|
|
60
|
-
export type HiddenRunnable = {
|
|
61
|
-
name: string;
|
|
62
|
-
transformer?: InlineScript & {
|
|
63
|
-
language: 'frontend';
|
|
64
|
-
};
|
|
65
|
-
fields: Record<string, StaticAppInput | ConnectedAppInput | RowAppInput | UserAppInput>;
|
|
66
|
-
autoRefresh?: boolean;
|
|
67
|
-
doNotRecomputeOnInputChanged?: boolean;
|
|
68
|
-
recomputeOnInputChanged?: boolean;
|
|
69
|
-
noBackendValue?: any;
|
|
70
|
-
hidden?: boolean;
|
|
71
|
-
} & Runnable & RecomputeOthersSource;
|
|
72
|
-
export type AppTheme = {
|
|
73
|
-
type: 'path';
|
|
74
|
-
path: string;
|
|
75
|
-
} | {
|
|
76
|
-
type: 'inlined';
|
|
77
|
-
css: string;
|
|
78
|
-
};
|
|
79
|
-
import type { DiffDrawerI } from '$lib/components/diff_drawer';
|
|
80
|
-
export interface AppEditorProps {
|
|
81
|
-
app: App;
|
|
82
|
-
path: string;
|
|
83
|
-
policy: Policy;
|
|
84
|
-
summary: string;
|
|
85
|
-
fromHub?: boolean;
|
|
86
|
-
diffDrawer?: DiffDrawerI | undefined;
|
|
87
|
-
savedApp?: {
|
|
88
|
-
value: App;
|
|
89
|
-
draft?: any;
|
|
90
|
-
path: string;
|
|
91
|
-
summary: string;
|
|
92
|
-
policy: any;
|
|
93
|
-
draft_only?: boolean;
|
|
94
|
-
custom_path?: string;
|
|
95
|
-
} | undefined;
|
|
96
|
-
version?: number | undefined;
|
|
97
|
-
newApp?: boolean;
|
|
98
|
-
newPath?: string | undefined;
|
|
99
|
-
replaceStateFn?: (path: string) => void;
|
|
100
|
-
gotoFn?: (path: string, opt?: Record<string, any> | undefined) => void;
|
|
101
|
-
unsavedConfirmationModal?: import('svelte').Snippet<[any]>;
|
|
102
|
-
onSavedNewAppPath?: (path: string) => void;
|
|
103
|
-
}
|
|
104
|
-
export type App = {
|
|
105
|
-
grid: GridItem[];
|
|
106
|
-
darkMode?: boolean;
|
|
107
|
-
fullscreen: boolean;
|
|
108
|
-
norefreshbar?: boolean;
|
|
109
|
-
unusedInlineScripts: Array<{
|
|
110
|
-
name: string;
|
|
111
|
-
inlineScript: InlineScript;
|
|
112
|
-
}>;
|
|
113
|
-
hiddenInlineScripts: Array<HiddenRunnable>;
|
|
114
|
-
css?: Partial<Record<AppCssItemName, Record<string, ComponentCssProperty>>>;
|
|
115
|
-
subgrids?: Record<string, GridItem[]>;
|
|
116
|
-
theme: AppTheme | undefined;
|
|
117
|
-
lazyInitRequire?: string[] | undefined;
|
|
118
|
-
eagerRendering?: boolean | undefined;
|
|
119
|
-
hideLegacyTopBar?: boolean | undefined;
|
|
120
|
-
mobileViewOnSmallerScreens?: boolean | undefined;
|
|
121
|
-
version?: number;
|
|
122
|
-
};
|
|
123
|
-
export type ConnectingInput = {
|
|
124
|
-
opened: boolean;
|
|
125
|
-
input?: ConnectedInput;
|
|
126
|
-
sourceName?: string;
|
|
127
|
-
hoveredComponent: string | undefined;
|
|
128
|
-
onConnect?: ((connection: InputConnection) => void) | undefined;
|
|
129
|
-
};
|
|
130
|
-
export interface CancelablePromise<T> extends Promise<T> {
|
|
131
|
-
cancel: () => void;
|
|
132
|
-
}
|
|
133
|
-
export type ListContext = Writable<{
|
|
134
|
-
index: number;
|
|
135
|
-
value: any;
|
|
136
|
-
disabled: boolean;
|
|
137
|
-
}>;
|
|
138
|
-
export type ListInputs = {
|
|
139
|
-
set: (id: string, value: any) => void;
|
|
140
|
-
remove: (id: string) => void;
|
|
141
|
-
};
|
|
142
|
-
export type GroupContext = {
|
|
143
|
-
id: string;
|
|
144
|
-
context: Writable<Record<string, any>>;
|
|
145
|
-
};
|
|
146
|
-
export type JobById = {
|
|
147
|
-
job: string;
|
|
148
|
-
component: string;
|
|
149
|
-
result?: any;
|
|
150
|
-
error?: any;
|
|
151
|
-
transformer?: {
|
|
152
|
-
result?: any;
|
|
153
|
-
error?: string;
|
|
154
|
-
};
|
|
155
|
-
created_at?: number;
|
|
156
|
-
started_at?: number;
|
|
157
|
-
duration_ms?: number;
|
|
158
|
-
};
|
|
159
|
-
export type AppViewerContext = {
|
|
160
|
-
worldStore: Writable<World>;
|
|
161
|
-
app: Writable<App>;
|
|
162
|
-
summary: Writable<string>;
|
|
163
|
-
initialized: Writable<{
|
|
164
|
-
initializedComponents: string[];
|
|
165
|
-
initialized: boolean;
|
|
166
|
-
runnableInitialized: Record<string, any>;
|
|
167
|
-
}>;
|
|
168
|
-
selectedComponent: Writable<string[] | undefined>;
|
|
169
|
-
mode: Writable<EditorMode>;
|
|
170
|
-
connectingInput: Writable<ConnectingInput>;
|
|
171
|
-
breakpoint: Writable<EditorBreakpoint>;
|
|
172
|
-
bgRuns: Writable<string[]>;
|
|
173
|
-
runnableComponents: Writable<Record<string, {
|
|
174
|
-
autoRefresh: boolean;
|
|
175
|
-
refreshOnStart?: boolean;
|
|
176
|
-
cb: ((inlineScript?: InlineScript, setRunnableJob?: boolean) => CancelablePromise<void>)[];
|
|
177
|
-
}>>;
|
|
178
|
-
staticExporter: Writable<Record<string, () => any>>;
|
|
179
|
-
appPath: Writable<string>;
|
|
180
|
-
workspace: string;
|
|
181
|
-
onchange: (() => void) | undefined;
|
|
182
|
-
isEditor: boolean;
|
|
183
|
-
jobs: Writable<string[]>;
|
|
184
|
-
jobsById: Writable<Record<string, JobById>>;
|
|
185
|
-
noBackend: boolean;
|
|
186
|
-
errorByComponent: Writable<Record<string, {
|
|
187
|
-
id?: string;
|
|
188
|
-
error: string;
|
|
189
|
-
}>>;
|
|
190
|
-
openDebugRun: Writable<((jobID: string) => void) | undefined>;
|
|
191
|
-
focusedGrid: Writable<FocusedGrid | undefined>;
|
|
192
|
-
stateId: Writable<number>;
|
|
193
|
-
parentWidth: Writable<number>;
|
|
194
|
-
state: Writable<Record<string, any>>;
|
|
195
|
-
componentControl: Writable<Record<string, {
|
|
196
|
-
left?: () => boolean;
|
|
197
|
-
right?: (skipTableActions?: boolean | undefined) => string | boolean;
|
|
198
|
-
setTab?: (index: number) => void;
|
|
199
|
-
agGrid?: {
|
|
200
|
-
api: any;
|
|
201
|
-
columnApi: any;
|
|
202
|
-
};
|
|
203
|
-
setCode?: (value: string) => void;
|
|
204
|
-
onDelete?: () => void;
|
|
205
|
-
setValue?: (value: any) => void;
|
|
206
|
-
setSelectedIndex?: (index: number) => void;
|
|
207
|
-
openModal?: () => void;
|
|
208
|
-
closeModal?: () => void;
|
|
209
|
-
open?: () => void;
|
|
210
|
-
close?: () => void;
|
|
211
|
-
validate?: (key: string) => void;
|
|
212
|
-
invalidate?: (key: string, error: string) => void;
|
|
213
|
-
validateAll?: () => void;
|
|
214
|
-
clearFiles?: () => void;
|
|
215
|
-
sendMessage?: (message: string) => void;
|
|
216
|
-
showToast?: (message: string, error?: boolean) => void;
|
|
217
|
-
recompute?: () => void;
|
|
218
|
-
askNewResource?: () => void;
|
|
219
|
-
setGroupValue?: (key: string, value: any) => void;
|
|
220
|
-
}>>;
|
|
221
|
-
hoverStore: Writable<string | undefined>;
|
|
222
|
-
allIdsInPath: Writable<string[]>;
|
|
223
|
-
darkMode: Writable<boolean>;
|
|
224
|
-
cssEditorOpen: Writable<boolean>;
|
|
225
|
-
previewTheme: Writable<string | undefined>;
|
|
226
|
-
debuggingComponents: Writable<Record<string, number>>;
|
|
227
|
-
replaceStateFn?: ((url: string) => void) | undefined;
|
|
228
|
-
gotoFn?: ((url: string, opt?: Record<string, any> | undefined) => void) | undefined;
|
|
229
|
-
policy: Policy;
|
|
230
|
-
recomputeAllContext: Writable<{
|
|
231
|
-
onRefresh?: (excludeId?: string) => void;
|
|
232
|
-
componentNumber?: number | undefined;
|
|
233
|
-
interval?: number | undefined;
|
|
234
|
-
refreshing?: string[] | undefined;
|
|
235
|
-
setInter?: (interval: number) => void | undefined;
|
|
236
|
-
progress?: number | undefined;
|
|
237
|
-
loading?: boolean | undefined;
|
|
238
|
-
}>;
|
|
239
|
-
panzoomActive: Writable<boolean>;
|
|
240
|
-
};
|
|
241
|
-
export type AppEditorContext = {
|
|
242
|
-
yTop: Writable<number>;
|
|
243
|
-
runnableJobEditorPanel: Writable<{
|
|
244
|
-
focused: boolean;
|
|
245
|
-
jobs: Record<string, string>;
|
|
246
|
-
frontendJobs: Record<string, any>;
|
|
247
|
-
width: number;
|
|
248
|
-
}>;
|
|
249
|
-
evalPreview: Writable<Record<string, any>>;
|
|
250
|
-
componentActive: Writable<boolean>;
|
|
251
|
-
dndItem: Writable<Record<string, (x: number, y: number, topY: number) => void>>;
|
|
252
|
-
refreshComponents: Writable<(() => void) | undefined>;
|
|
253
|
-
history: History<App> | undefined;
|
|
254
|
-
pickVariableCallback: Writable<((path: string) => void) | undefined>;
|
|
255
|
-
selectedComponentInEditor: Writable<string | undefined>;
|
|
256
|
-
movingcomponents: Writable<string[] | undefined>;
|
|
257
|
-
jobsDrawerOpen: Writable<boolean>;
|
|
258
|
-
scale: Writable<number>;
|
|
259
|
-
stylePanel: () => any;
|
|
260
|
-
};
|
|
261
|
-
export type FocusedGrid = {
|
|
262
|
-
parentComponentId: string;
|
|
263
|
-
subGridIndex: number;
|
|
264
|
-
};
|
|
265
|
-
export type EditorMode = 'dnd' | 'preview';
|
|
266
|
-
export type EditorBreakpoint = 'sm' | 'lg';
|
|
267
|
-
export declare const IS_APP_PUBLIC_CONTEXT_KEY: "isAppPublicContext";
|
|
268
|
-
type ComponentID = string;
|
|
269
|
-
export type ContextPanelContext = {
|
|
270
|
-
search: Writable<string>;
|
|
271
|
-
manuallyOpened: Writable<Record<string, boolean>>;
|
|
272
|
-
hasResult: Writable<Record<string, boolean>>;
|
|
273
|
-
};
|
|
274
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { AssetKind as _AssetKind, Asset as _Asset, ListAssetsResponse, AssetUsageAccessType, FlowModule, ScriptArgs } from '$lib/gen';
|
|
2
|
-
export type Asset = _Asset;
|
|
3
|
-
export type AssetKind = _AssetKind;
|
|
4
|
-
export type AssetWithAccessType = Asset & {
|
|
5
|
-
access_type?: AssetUsageAccessType;
|
|
6
|
-
};
|
|
7
|
-
export type AssetWithAltAccessType = AssetWithAccessType & {
|
|
8
|
-
alt_access_type?: AssetUsageAccessType;
|
|
9
|
-
};
|
|
10
|
-
export declare function formatAsset(asset: Asset): string;
|
|
11
|
-
export declare function formatShortAssetPath(asset: Asset): string;
|
|
12
|
-
export declare function getAssetUsagePageUri(usage: ListAssetsResponse[number]['usages'][number]): string | undefined;
|
|
13
|
-
export declare function assetEq(a: Asset | undefined, b: Asset | undefined): boolean;
|
|
14
|
-
export declare function assetsEq(a: Asset[], b: Asset[]): boolean;
|
|
15
|
-
export declare function parseAssetFromString(s: string): Asset | undefined;
|
|
16
|
-
export declare function formatAssetKind(asset: {
|
|
17
|
-
kind: AssetKind;
|
|
18
|
-
metadata?: {
|
|
19
|
-
resource_type?: string;
|
|
20
|
-
};
|
|
21
|
-
}): string;
|
|
22
|
-
export declare function formatAssetAccessType(accessType: AssetUsageAccessType | undefined): "?" | "Read" | "Write" | "R/W";
|
|
23
|
-
export declare function getAccessType(asset: AssetWithAltAccessType): AssetUsageAccessType | undefined;
|
|
24
|
-
export declare function getFlowModuleAssets(flowModuleValue: FlowModule, additionalAssetsMap?: Record<string, AssetWithAccessType[]>): AssetWithAccessType[] | undefined;
|
|
25
|
-
export declare function parseInputArgsAssets(args: ScriptArgs): AssetWithAccessType[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type BaseColor = 'blue' | 'gray' | 'red' | 'green' | 'yellow' | 'indigo' | 'orange' | 'violet';
|
|
2
|
-
export declare const ColorModifier = "dark-";
|
|
3
|
-
export type BadgeColor = BaseColor | 'transparent' | `${typeof ColorModifier}${BaseColor}`;
|
|
4
|
-
export interface BadgeIconProps {
|
|
5
|
-
position?: 'left' | 'right';
|
|
6
|
-
icon: any;
|
|
7
|
-
}
|
|
8
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { IconType } from '$lib/utils';
|
|
2
|
-
export declare const BUTTON_COLORS: readonly ["blue", "red", "dark", "light", "green", "gray", "none", "marine", "nord"];
|
|
3
|
-
export declare namespace ButtonType {
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated Use `UnifiedSize` instead
|
|
6
|
-
*/
|
|
7
|
-
type Size = 'xs3' | 'xs2' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
8
|
-
type UnifiedSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
9
|
-
type ExtendedSize = 'xs2' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Use `Variant` instead
|
|
12
|
-
*/
|
|
13
|
-
type Color = 'blue' | 'red' | 'dark' | 'light' | 'green' | 'gray' | 'none' | 'marine' | 'nord';
|
|
14
|
-
type Variant = 'contained' | 'border' | 'divider' | 'accent-secondary' | 'accent' | 'default' | 'subtle';
|
|
15
|
-
type Target = '_self' | '_blank';
|
|
16
|
-
type Element = HTMLButtonElement | HTMLAnchorElement;
|
|
17
|
-
interface Icon {
|
|
18
|
-
icon?: IconType | undefined;
|
|
19
|
-
classes?: string;
|
|
20
|
-
faIcon?: any | undefined;
|
|
21
|
-
props?: any;
|
|
22
|
-
}
|
|
23
|
-
const FontSizeClasses: Record<ButtonType.Size, string>;
|
|
24
|
-
const SpacingClasses: Record<ButtonType.Size, Record<'contained' | 'border' | 'divider', string>>;
|
|
25
|
-
interface ItemProps {
|
|
26
|
-
size: Size;
|
|
27
|
-
color: Color;
|
|
28
|
-
}
|
|
29
|
-
const ColorVariants: Record<ButtonType.Color, Record<'contained' | 'border' | 'divider', string>>;
|
|
30
|
-
const VariantStyles: Record<'accent-secondary' | 'accent' | 'default' | 'subtle', string>;
|
|
31
|
-
const DestructiveVariantStyles: Record<'accent-secondary' | 'accent' | 'default' | 'subtle', string>;
|
|
32
|
-
const VariantSpacingClasses: Record<ButtonType.Size, string>;
|
|
33
|
-
const IconOnlyVariantSpacingClasses: Record<ButtonType.Size, string>;
|
|
34
|
-
const UnifiedSizingClasses: Record<ButtonType.UnifiedSize, string>;
|
|
35
|
-
const UnifiedIconOnlySizingClasses: Record<ButtonType.UnifiedSize, string>;
|
|
36
|
-
const UnifiedMinHeightClasses: Record<ButtonType.UnifiedSize, string>;
|
|
37
|
-
const UnifiedHeightClasses: Record<ButtonType.UnifiedSize, string>;
|
|
38
|
-
const UnifiedIconSizes: Record<ButtonType.UnifiedSize, number>;
|
|
39
|
-
const UnifiedFontSizes: Record<ButtonType.UnifiedSize, string>;
|
|
40
|
-
const ExtendedSizingClasses: Record<ButtonType.ExtendedSize, string>;
|
|
41
|
-
const ExtendedIconOnlySizingClasses: Record<ButtonType.ExtendedSize, string>;
|
|
42
|
-
const ExtendedHeightClasses: Record<ButtonType.ExtendedSize, string>;
|
|
43
|
-
const ExtendedIconSizes: Record<ButtonType.ExtendedSize, number>;
|
|
44
|
-
const ExtendedFontSizeClasses: Record<ButtonType.ExtendedSize, string>;
|
|
45
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ReadFileAs = 'buffer' | 'binary' | 'base64' | 'text';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export { default as ActionRow } from './actionRow/ActionRow.svelte';
|
|
2
|
-
export { default as Alert } from './alert/Alert.svelte';
|
|
3
|
-
export { default as Badge } from './badge/Badge.svelte';
|
|
4
|
-
export { default as Button } from './button/Button.svelte';
|
|
5
|
-
export { default as UndoRedo } from './button/UndoRedo.svelte';
|
|
6
|
-
export { default as ClearableInput } from './clearableInput/ClearableInput.svelte';
|
|
7
|
-
export { default as Drawer } from './drawer/Drawer.svelte';
|
|
8
|
-
export { default as DrawerContent } from './drawer/DrawerContent.svelte';
|
|
9
|
-
export { default as Kbd } from './kbd/Kbd.svelte';
|
|
10
|
-
export { default as Menu } from './menu/Menu.svelte';
|
|
11
|
-
export { default as MenuItem } from './menu/MenuItem.svelte';
|
|
12
|
-
export { default as SecondsInput } from './seconds/SecondsInput.svelte';
|
|
13
|
-
export { default as Skeleton } from './skeleton/Skeleton.svelte';
|
|
14
|
-
export { default as Tab } from './tabs/Tab.svelte';
|
|
15
|
-
export { default as TabContent } from './tabs/TabContent.svelte';
|
|
16
|
-
export { default as Tabs } from './tabs/Tabs.svelte';
|
|
17
|
-
export { default as Breadcrumb } from './breadcrumb/Breadcrumb.svelte';
|
|
18
|
-
export { default as FileInput } from './fileInput/FileInput.svelte';
|
|
19
|
-
export { default as Section } from '../Section.svelte';
|
|
20
|
-
export { default as Url } from './Url.svelte';
|
|
21
|
-
export * from './alert/model';
|
|
22
|
-
export * from './badge/model';
|
|
23
|
-
export * from './button/model';
|
|
24
|
-
export * from './skeleton/model';
|