@atom8n/n8n-editor-ui 2.2.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/.stylelintcache +1 -0
- package/README.md +59 -0
- package/biome.jsonc +8 -0
- package/build.log +55 -0
- package/data/node-popularity.json +3998 -0
- package/dist/assets/AddDataTableModal-UINkk54_.js +1555 -0
- package/dist/assets/AgentEditorModal-CVww87TJ.js +358 -0
- package/dist/assets/Alert-Dy86dyOr.js +102 -0
- package/dist/assets/AnimatedSpinner-DmPN4poP.js +15 -0
- package/dist/assets/AnnotationTagsDropdown.ee-BJ7N9lek.js +71 -0
- package/dist/assets/AuthView-D2LWHrMp.js +106 -0
- package/dist/assets/BottomMenu-CIQiK_dJ.js +532 -0
- package/dist/assets/CalendarDate-DgQUMbNo.js +875 -0
- package/dist/assets/ChangePasswordView-Z6tUkw0u.js +133 -0
- package/dist/assets/ChatAgentAvatar-50YBnv3N.js +67 -0
- package/dist/assets/ChatFile-xZxmc2nV.js +146 -0
- package/dist/assets/ChatLayout-CTE_5SiM.js +96 -0
- package/dist/assets/ChatPersonalAgentsView-BGpHk03K.js +149 -0
- package/dist/assets/ChatSidebar-BkVwIypC.js +528 -0
- package/dist/assets/ChatView-BbbdeU9x.js +1559 -0
- package/dist/assets/ChatWorkflowAgentsView-BtunOxlC.js +116 -0
- package/dist/assets/CollectionParameter-BdcPG1lu.js +52 -0
- package/dist/assets/CommitMonoVariable-ytizKI8U.woff2 +0 -0
- package/dist/assets/CommunityNodeUpdateInfo-C37kca4W.js +273 -0
- package/dist/assets/CopyInput-DDZVu2iU.js +74 -0
- package/dist/assets/CredentialIcon-8YdTTFZ1.js +80 -0
- package/dist/assets/CredentialPicker-DWtj314o.js +293 -0
- package/dist/assets/CredentialSelectorModal-DTW2fKh0.js +138 -0
- package/dist/assets/CredentialsView-BjUchcCu.js +480 -0
- package/dist/assets/DataTableActions-DpAkoxg_.js +95 -0
- package/dist/assets/DataTableDetailsView-Coq7zdW5.js +41922 -0
- package/dist/assets/DataTableView-Cs-BIkzw.js +293 -0
- package/dist/assets/DemoFooter-Cga3jvi-.js +65 -0
- package/dist/assets/Draggable-vfvXl9Sp.js +105 -0
- package/dist/assets/EmptySharedSectionActionBox-DOXZtTCv.js +36 -0
- package/dist/assets/EnterpriseEdition.ee-D_rCFexM.js +15 -0
- package/dist/assets/EntityNotFound-3dhTRWsE.js +85 -0
- package/dist/assets/EntityUnAuthorised-ChJYZakE.js +66 -0
- package/dist/assets/ErrorView-zT9cX76a.js +61 -0
- package/dist/assets/EvaluationsRootView-C-OVWYnY.js +523 -0
- package/dist/assets/EvaluationsView-CJwJTruc.js +469 -0
- package/dist/assets/ExecutionsTime-DEQiyozR.js +573 -0
- package/dist/assets/ExecutionsView-Bd5Oh8TH.js +791 -0
- package/dist/assets/ExternalSecretsProviderConnectionSwitch.ee-C7Ih-uRo.js +191 -0
- package/dist/assets/FixedCollectionParameter-CYuTDW9t.js +496 -0
- package/dist/assets/ForgotMyPasswordView-Bs_L9P27.js +102 -0
- package/dist/assets/InsightsChartAverageRuntime-Bp3VA8_7.js +62 -0
- package/dist/assets/InsightsChartFailed-KPaNWoEr.js +52 -0
- package/dist/assets/InsightsChartFailureRate-DE6kE3FM.js +54 -0
- package/dist/assets/InsightsChartTimeSaved-auABNZlc.js +68 -0
- package/dist/assets/InsightsChartTotal-BKzYRKE7.js +56 -0
- package/dist/assets/InsightsDashboard-JWx4W6Db.js +473 -0
- package/dist/assets/InsightsPaywall-C8zLLKe8.js +63 -0
- package/dist/assets/InsightsSummary-cmN1lHDm.js +210 -0
- package/dist/assets/InsightsTableWorkflows-CqcC3IbQ.js +203 -0
- package/dist/assets/InterVariable-DiVDrmQJ.woff2 +0 -0
- package/dist/assets/InterVariable-Italic-FCBEiFp6.woff2 +0 -0
- package/dist/assets/ItemsRenderer-DC8WVyMv.js +922 -0
- package/dist/assets/KeyboardShortcutTooltip-D8PAK5JP.js +31 -0
- package/dist/assets/LogsPanel-BR06u9RK.js +52 -0
- package/dist/assets/LogsPanel-C-_acMHp.js +2325 -0
- package/dist/assets/MCPConnectWorkflowsModal-3g8_iUa4.js +303 -0
- package/dist/assets/MainHeader-DiQc1edn.js +2153 -0
- package/dist/assets/MainSidebar-CoPGG5Ea.js +804 -0
- package/dist/assets/MigrationRuleDetail-BAxk1Pvl.js +295 -0
- package/dist/assets/MigrationRules-IW9lZMpE.js +285 -0
- package/dist/assets/Modal-CIzXlZdZ.js +204 -0
- package/dist/assets/ModelByIdSelectorModal-DLvBjzJO.js +115 -0
- package/dist/assets/NDVEmptyState-33UoX00I.js +19743 -0
- package/dist/assets/NodeCreation-BNzbSWSB.js +240 -0
- package/dist/assets/NodeCreator-BftgCKx7.js +1288 -0
- package/dist/assets/NodeDetailsView-CsoQCpcF.js +1075 -0
- package/dist/assets/NodeDetailsViewV2-C_wNQR_3.js +981 -0
- package/dist/assets/NodeIcon-B9VW6tX6.js +87 -0
- package/dist/assets/NodeSettings-ZwVip6VR.js +1872 -0
- package/dist/assets/NodeView-D4WUEvLB.js +2452 -0
- package/dist/assets/OAuthConsentView-DlrUqZbT.js +230 -0
- package/dist/assets/PageViewLayout-NT1KPFgy.js +12 -0
- package/dist/assets/ParameterInputList-sG2nz-Jo.js +38091 -0
- package/dist/assets/PrebuiltAgentTemplatesView-Csi5U8dc.js +154 -0
- package/dist/assets/ProjectBreadcrumb-C_XiY7sc.js +98 -0
- package/dist/assets/ProjectCardBadge-t_hs7vzx.js +209 -0
- package/dist/assets/ProjectHeader-Dq5Ihb26.js +549 -0
- package/dist/assets/ProjectIcon-DY8gGuHX.js +64 -0
- package/dist/assets/ProjectRoleView-Du-KTrAC.js +435 -0
- package/dist/assets/ProjectRolesView-DjxM_y4u.js +239 -0
- package/dist/assets/ProjectSettings-C6kWuV21.js +966 -0
- package/dist/assets/ProjectSharing-CVUgNWAY.js +262 -0
- package/dist/assets/ProjectVariables-CJlAo3dv.js +467 -0
- package/dist/assets/ProviderSettingsModal-BUFC2ZLv.js +307 -0
- package/dist/assets/PushConnectionTracker-DPBnGV0v.js +27 -0
- package/dist/assets/ResolversView-3BdkvvYA.js +209 -0
- package/dist/assets/ResourceFiltersDropdown-dgyXpcEX.js +159 -0
- package/dist/assets/ResourcesListLayout-qBLtomK6.js +631 -0
- package/dist/assets/RunDataHtml-BrW0OQra.js +7 -0
- package/dist/assets/RunDataHtml-Cleia4Cj.js +40 -0
- package/dist/assets/RunDataJson-uxkrhYRK.js +227 -0
- package/dist/assets/RunDataJsonActions-DkPk7E8d.js +5007 -0
- package/dist/assets/RunDataParsedAiContent-CtPRjig-.js +26 -0
- package/dist/assets/RunDataParsedAiContent-WAuqLQ5M.js +192 -0
- package/dist/assets/RunDataSearch-YBWUr93C.js +141 -0
- package/dist/assets/RunDataTable-DcXaBynW.js +631 -0
- package/dist/assets/SamlOnboarding-BTdQ_hr3.js +78 -0
- package/dist/assets/SaveButton-D5sQSxIk.js +89 -0
- package/dist/assets/SelectedItemsInfo-BHZ-NvF5.js +58 -0
- package/dist/assets/SettingsApiView-IfZTMXx1.js +313 -0
- package/dist/assets/SettingsChatHubView-gWh2X6vX.js +285 -0
- package/dist/assets/SettingsCommunityNodesView-D8VQtpGY.js +349 -0
- package/dist/assets/SettingsExternalSecrets-CpMc7mkW.js +233 -0
- package/dist/assets/SettingsLdapView-CU5a2MAy.js +2553 -0
- package/dist/assets/SettingsLogStreamingView-uojTe-oX.js +375 -0
- package/dist/assets/SettingsMCPView-B5Swp1C_.js +1214 -0
- package/dist/assets/SettingsPersonalView-Cr3aGood.js +402 -0
- package/dist/assets/SettingsSourceControl-DXOvFDEY.js +547 -0
- package/dist/assets/SettingsSso-27MfU1HV.js +1032 -0
- package/dist/assets/SettingsUsageAndPlan-DqIO-G46.js +419 -0
- package/dist/assets/SettingsUsersView-DfHB4_Kh.js +833 -0
- package/dist/assets/SettingsView-C4sA7Uny.js +90 -0
- package/dist/assets/SetupTemplateFormStep-BmiSzZin.js +258 -0
- package/dist/assets/SetupView-VORZ-L_u.js +112 -0
- package/dist/assets/SetupWorkflowCredentialsButton-DTmkOAW5.js +73 -0
- package/dist/assets/SetupWorkflowFromTemplateView-B9NupdJE.js +286 -0
- package/dist/assets/SeverityTag-CX1qTTNA.js +45 -0
- package/dist/assets/SigninView-D9_Pm16j.js +358 -0
- package/dist/assets/SignoutView-BFsjEAGz.js +19 -0
- package/dist/assets/SignupView-Am4ot0QZ.js +137 -0
- package/dist/assets/SkeletonAgentCard-C5TL-h8F.js +191 -0
- package/dist/assets/TagsDropdown-Bvx_Hd6Q.js +230 -0
- package/dist/assets/TemplateCard-CyQ1GuVz.js +105 -0
- package/dist/assets/TemplateDetails-CZRusTxE.js +124 -0
- package/dist/assets/TemplateList-DKvbwuiY.js +333 -0
- package/dist/assets/TemplatesCollectionView-D8dxU8By.js +184 -0
- package/dist/assets/TemplatesSearchView-CebC_GLs.js +1230 -0
- package/dist/assets/TemplatesView-025CcmIY.js +57 -0
- package/dist/assets/TemplatesWorkflowView-C2JfwJAn.js +170 -0
- package/dist/assets/TestRunDetailView-Ck78TTWO.js +395 -0
- package/dist/assets/TextWithHighlights-BxumwGnv.js +57 -0
- package/dist/assets/TimeAgo-C6EN4lCs.js +123 -0
- package/dist/assets/ToolsSelectorModal-8QJoUvRL.js +368 -0
- package/dist/assets/TriggerPanel-B6pacLkk.js +1225 -0
- package/dist/assets/VirtualSchema-B3zGe_8b.js +2402 -0
- package/dist/assets/VirtualSchema-Dkh0Cu5z.js +37 -0
- package/dist/assets/VueMarkdown-CQqJL9vK.js +28 -0
- package/dist/assets/WorkerView-Caznsljo.js +563 -0
- package/dist/assets/WorkflowActivationErrorMessage-CGrfPi9O.js +17 -0
- package/dist/assets/WorkflowActivator-BINnz0f7.js +362 -0
- package/dist/assets/WorkflowExecutionsInfoAccordion-Dg37yEfT.js +166 -0
- package/dist/assets/WorkflowExecutionsLandingPage-V2wdubhK.js +93 -0
- package/dist/assets/WorkflowExecutionsPreview-DdJaqYV6.js +616 -0
- package/dist/assets/WorkflowExecutionsView-DV8ySTfn.js +808 -0
- package/dist/assets/WorkflowHistory-GtaBMzIM.js +973 -0
- package/dist/assets/WorkflowLocation-CQ9Sq-2y.js +164 -0
- package/dist/assets/WorkflowOnboardingView-C49gt0Jr.js +61 -0
- package/dist/assets/WorkflowPreview-CXdvv4Nq.js +186 -0
- package/dist/assets/WorkflowTagsDropdown-QwbICWjN.js +71 -0
- package/dist/assets/WorkflowsView-B-MWIECO.js +3253 -0
- package/dist/assets/_MapCache-CcdIl4Ae.js +363 -0
- package/dist/assets/_baseOrderBy-N8Be_6z6.js +2989 -0
- package/dist/assets/_initCloneObject-viQQyT6o.js +80 -0
- package/dist/assets/_plugin-vue_export-helper-BwBpWJRZ.js +6 -0
- package/dist/assets/aiTemplatesStarterCollection.store-nL9nePkK.js +656 -0
- package/dist/assets/apiKeys.store-BhOFmP2j.js +51 -0
- package/dist/assets/assistant.store-CNywgN4S.js +518 -0
- package/dist/assets/auth.eventBus-CWXS0Qp7.js +5 -0
- package/dist/assets/banners.store-CGEcBTDn.js +195 -0
- package/dist/assets/builder.store-Czk2ipDE.js +31417 -0
- package/dist/assets/buttons.esm-yintpW2E.js +364 -0
- package/dist/assets/chart-CNvyywtJ.js +10958 -0
- package/dist/assets/chartjs.utils-BAE52Cv9.js +155 -0
- package/dist/assets/chat.store-290YeyrQ.js +865 -0
- package/dist/assets/chatPanel.store-NDaawEZL.js +118 -0
- package/dist/assets/chunk-6z4oVpB-.js +36 -0
- package/dist/assets/col-Cmt4cmuS.js +158 -0
- package/dist/assets/constants-C8OH4tTq.js +106256 -0
- package/dist/assets/constants-DMrsrpD7.js +32 -0
- package/dist/assets/core-B9gt_4yk.js +4 -0
- package/dist/assets/core-CP5FY4aX.js +1202 -0
- package/dist/assets/core-CRbPymLT.js +9741 -0
- package/dist/assets/dataTable.store-DmipQsol.js +207 -0
- package/dist/assets/date-picker-2IDsBs2n.js +4115 -0
- package/dist/assets/dateFormatter-ik4-9_9r.js +33 -0
- package/dist/assets/dateformat-hG8NERse.js +181 -0
- package/dist/assets/dialog-lMho1TD8.js +425 -0
- package/dist/assets/dist-Cw46Is-h.js +151 -0
- package/dist/assets/doppler-B__k0MeW.webp +0 -0
- package/dist/assets/element-icons-B-tDfklg.woff +0 -0
- package/dist/assets/element-icons-_lZGOqcG.ttf +0 -0
- package/dist/assets/empty-BuGRxzl4.js +2210 -0
- package/dist/assets/en-CF30SCh2.js +95 -0
- package/dist/assets/en-DyO2pPiC.js +2 -0
- package/dist/assets/es-BkUFJVtD.js +43338 -0
- package/dist/assets/evaluation.constants-GYAwmJnh.js +284 -0
- package/dist/assets/executions.store-B9uRYwgv.js +205 -0
- package/dist/assets/exports-Crx_gvt_.js +1799 -0
- package/dist/assets/externalSecrets.ee.store-BJh4a_6G.js +118 -0
- package/dist/assets/fileUtils-CRWqOQje.js +20 -0
- package/dist/assets/folders.store-yAFj-5Vl.js +235 -0
- package/dist/assets/get-BcEmeOxn.js +2781 -0
- package/dist/assets/index-SL8542zQ.js +28372 -0
- package/dist/assets/insights.constants-BkJCYJTL.js +55 -0
- package/dist/assets/insights.store-BFc3kDUo.js +61 -0
- package/dist/assets/insights.utils-CcLXdrrz.js +77 -0
- package/dist/assets/isEmpty-C3XXoHqJ.js +35216 -0
- package/dist/assets/languageModules-9LyndCqU.js +13862 -0
- package/dist/assets/logStreaming.store-IZhWe_VK.js +190 -0
- package/dist/assets/mcp.constants-_Jcn7fPq.js +10 -0
- package/dist/assets/mcp.store-B9yfcAN9.js +116 -0
- package/dist/assets/merge-DhuTk1HM.js +564 -0
- package/dist/assets/nodeCreator.store-Bpnrwp2l.js +5444 -0
- package/dist/assets/nodeIcon-D6X-ENYt.js +102 -0
- package/dist/assets/nodeTransforms-RzcOM0v2.js +42 -0
- package/dist/assets/orderBy-Cu9F9DU_.js +15 -0
- package/dist/assets/path-browserify-RUt2u7iT.js +328 -0
- package/dist/assets/personalizedTemplatesV3.store-BGYp0YBN.js +334 -0
- package/dist/assets/pickBy-UI0Jt4wC.js +18 -0
- package/dist/assets/preload-helper-dyVz7ck7.js +59 -0
- package/dist/assets/radio-CSce3UT0.js +262 -0
- package/dist/assets/readyToRun.store-YEMvPUqo.js +626 -0
- package/dist/assets/readyToRunWorkflows.store-G3srgIze.js +1319 -0
- package/dist/assets/retry-BgHaYzbB.js +23 -0
- package/dist/assets/roles.store-CRf_zJTb.js +51 -0
- package/dist/assets/router-DNpzz3GH.js +2631 -0
- package/dist/assets/sanitize-html-CbW56HUN.js +10758 -0
- package/dist/assets/schemaPreview.store-DUgN1yVE.js +113 -0
- package/dist/assets/semver-Bk6DGseV.js +1306 -0
- package/dist/assets/smartDecimal-DAZl4HKA.js +6 -0
- package/dist/assets/sortByProperty-Cn7iGKYu.js +8 -0
- package/dist/assets/sourceControl.eventBus-D47xXSc_.js +3 -0
- package/dist/assets/sqlite3-DBpDb1lf.wasm +0 -0
- package/dist/assets/sqlite3-opfs-async-proxy-vVtmDGHX.js +461 -0
- package/dist/assets/sqlite3-worker1-bundler-friendly-DLarOZDL.js +9405 -0
- package/dist/assets/src-jviYSG25.js +55454 -0
- package/dist/assets/sso.store-DyApJwhx.js +139 -0
- package/dist/assets/style-E3CrYFV8.css +111829 -0
- package/dist/assets/table-we1DjFMV.js +3944 -0
- package/dist/assets/templateActions-bEDSARw2.js +65 -0
- package/dist/assets/templateTransforms-BHWiRbtR.js +43 -0
- package/dist/assets/truncate-C0KYt7i3.js +4176 -0
- package/dist/assets/typescript.worker-CYqLvLHh.js +152048 -0
- package/dist/assets/uniqBy-xDyuCRP0.js +10 -0
- package/dist/assets/usage.store-CU5J_nGm.js +100 -0
- package/dist/assets/useActions-B1JckIRj.js +255 -0
- package/dist/assets/useBeforeUnload-DiDkvI8p.js +40 -0
- package/dist/assets/useCanvasMapping-BXT7rGhC.js +12570 -0
- package/dist/assets/useCanvasOperations-8ULLtMkY.js +1765 -0
- package/dist/assets/useClipboard-DvjhVHqJ.js +39 -0
- package/dist/assets/useCommandBar-C4tLJbKt.js +2425 -0
- package/dist/assets/useCredentialResolvers-BKeFGJnY.js +78 -0
- package/dist/assets/useCustomAgent-DpILEt5e.js +471 -0
- package/dist/assets/useDebounce-Br5_1ug-.js +147 -0
- package/dist/assets/useExecutionData-M5iKsX6z.js +23 -0
- package/dist/assets/useExecutionDebugging-8azMzbnd.js +191 -0
- package/dist/assets/useExecutionHelpers-BgRRhpBM.js +91 -0
- package/dist/assets/useImportCurlCommand-CKiEmX5P.js +8891 -0
- package/dist/assets/useIntersectionObserver-BWMwOueh.js +33 -0
- package/dist/assets/useKeybindings-B2jfN6rd.js +62 -0
- package/dist/assets/useLogsTreeExpand-sZViUfdM.js +843 -0
- package/dist/assets/useMcp-DoMOIfqT.js +27 -0
- package/dist/assets/usePageRedirectionHelper-DjkznpX6.js +51 -0
- package/dist/assets/usePinnedData-BhZkqttf.js +203 -0
- package/dist/assets/usePushConnection-DMS-F_IW.js +513 -0
- package/dist/assets/useRecentResources-BVORr7eM.js +118 -0
- package/dist/assets/useRunWorkflow-LO7ffLp9.js +950 -0
- package/dist/assets/useSettingsItems-BhZXwMZn.js +144 -0
- package/dist/assets/useTelemetryContext-V6bv4YRq.js +34 -0
- package/dist/assets/useWorkflowActivate-DeSmDXjI.js +152 -0
- package/dist/assets/useWorkflowsCache-DtcEEAIR.js +179 -0
- package/dist/assets/userRoleProvisioning.store-kkSIdeTo.js +33 -0
- package/dist/assets/utils-DI7dLldp.js +54 -0
- package/dist/assets/versions.store-B1z2OrLE.js +191 -0
- package/dist/assets/vue-CydWIhxN.js +4378 -0
- package/dist/assets/vue-json-pretty-CsGX66mG.js +1130 -0
- package/dist/assets/vue.runtime.esm-bundler-tP5dCd7J.js +7325 -0
- package/dist/assets/xml-B_oj6Mle.js +2060 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.html +157 -0
- package/dist/static/base-path.js +1 -0
- package/dist/static/community_package_tooltip_img.png +0 -0
- package/dist/static/data-mapping-gif.gif +0 -0
- package/dist/static/form-grey.svg +1 -0
- package/dist/static/google-auth/disabled.dark.png +0 -0
- package/dist/static/google-auth/disabled.png +0 -0
- package/dist/static/google-auth/focus.dark.png +0 -0
- package/dist/static/google-auth/focus.png +0 -0
- package/dist/static/google-auth/normal.dark.png +0 -0
- package/dist/static/google-auth/normal.png +0 -0
- package/dist/static/google-auth/pressed.dark.png +0 -0
- package/dist/static/google-auth/pressed.png +0 -0
- package/dist/static/n8n-logo.png +0 -0
- package/dist/static/og_image.png +0 -0
- package/dist/static/open-ai.svg +1 -0
- package/dist/static/openChat.png +0 -0
- package/dist/static/posthog.init.js +41 -0
- package/dist/static/prefers-color-scheme.css +5 -0
- package/dist/static/webhook-icon.svg +1 -0
- package/dist/tree-sitter-bash.wasm +0 -0
- package/dist/tree-sitter.wasm +0 -0
- package/eslint.config.mjs +59 -0
- package/index.html +45 -0
- package/index.js +0 -0
- package/package.json +147 -0
- package/postcss.config.cjs +6 -0
- package/scripts/fetch-node-popularity.mjs +102 -0
- package/stylelint.config.mjs +9 -0
- package/tailwind.config.js +8 -0
- package/tsconfig.json +36 -0
- package/vite/i18n-locales-hmr-helpers.ts +19 -0
- package/vite/source-map-js-shim.ts +1 -0
- package/vite/vite-plugin-node-popularity.mts +32 -0
- package/vite.config.mts +304 -0
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import { C as computed, Cn as toDisplayString, D as createElementBlock, E as createCommentVNode, Gt as unref, It as ref, M as createVNode, P as defineComponent, T as createBlock, Z as onMounted, _t as watch, bt as withCtx, et as openBlock, h as withModifiers, j as createTextVNode, vn as normalizeClass, w as createBaseVNode } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
|
|
2
|
+
import { rt as useI18n } from "./core-CRbPymLT.js";
|
|
3
|
+
import { Cn as N8nIcon_default, Ct as N8nActionBox_default, bn as N8nText_default, et as N8nCard_default, lt as N8nBadge_default, mt as N8nLink_default } from "./src-jviYSG25.js";
|
|
4
|
+
import "./en-CF30SCh2.js";
|
|
5
|
+
import "./preload-helper-dyVz7ck7.js";
|
|
6
|
+
import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BwBpWJRZ.js";
|
|
7
|
+
import "./truncate-C0KYt7i3.js";
|
|
8
|
+
import { Qn as useSourceControlStore, Xn as useDocumentTitle, Zn as useProjectsStore, aa as useUIStore, y as useToast } from "./builder.store-Czk2ipDE.js";
|
|
9
|
+
import "./empty-BuGRxzl4.js";
|
|
10
|
+
import { _ as useRoute, v as useRouter } from "./get-BcEmeOxn.js";
|
|
11
|
+
import "./sanitize-html-CbW56HUN.js";
|
|
12
|
+
import "./CalendarDate-DgQUMbNo.js";
|
|
13
|
+
import "./path-browserify-RUt2u7iT.js";
|
|
14
|
+
import "./_MapCache-CcdIl4Ae.js";
|
|
15
|
+
import { Fr as DEFAULT_DATA_TABLE_PAGE_SIZE, Gr as PROJECT_DATA_TABLES, Or as DATA_TABLE_DETAILS, wr as ADD_DATA_TABLE_MODAL_KEY } from "./constants-C8OH4tTq.js";
|
|
16
|
+
import "./merge-DhuTk1HM.js";
|
|
17
|
+
import "./_baseOrderBy-N8Be_6z6.js";
|
|
18
|
+
import "./dateformat-hG8NERse.js";
|
|
19
|
+
import { t as useDebounce } from "./useDebounce-Br5_1ug-.js";
|
|
20
|
+
import "./folders.store-yAFj-5Vl.js";
|
|
21
|
+
import { t as useDataTableStore } from "./dataTable.store-DmipQsol.js";
|
|
22
|
+
import "./ProjectIcon-DY8gGuHX.js";
|
|
23
|
+
import "./EnterpriseEdition.ee-D_rCFexM.js";
|
|
24
|
+
import { t as TimeAgo_default } from "./TimeAgo-C6EN4lCs.js";
|
|
25
|
+
import "./orderBy-Cu9F9DU_.js";
|
|
26
|
+
import "./ProjectSharing-CVUgNWAY.js";
|
|
27
|
+
import { t as useInsightsStore } from "./insights.store-BFc3kDUo.js";
|
|
28
|
+
import "./insights.constants-BkJCYJTL.js";
|
|
29
|
+
import "./insights.utils-CcLXdrrz.js";
|
|
30
|
+
import { n as useProjectPages } from "./readyToRun.store-YEMvPUqo.js";
|
|
31
|
+
import "./PageViewLayout-NT1KPFgy.js";
|
|
32
|
+
import { t as ResourcesListLayout_default } from "./ResourcesListLayout-qBLtomK6.js";
|
|
33
|
+
import "./ResourceFiltersDropdown-dgyXpcEX.js";
|
|
34
|
+
import { t as ProjectHeader_default } from "./ProjectHeader-Dq5Ihb26.js";
|
|
35
|
+
import "./smartDecimal-DAZl4HKA.js";
|
|
36
|
+
import { t as InsightsSummary_default } from "./InsightsSummary-cmN1lHDm.js";
|
|
37
|
+
import { t as DataTableActions_default } from "./DataTableActions-DpAkoxg_.js";
|
|
38
|
+
var _hoisted_1 = { "data-test-id": "data-table-card" };
|
|
39
|
+
var DataTableCard_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
40
|
+
__name: "DataTableCard",
|
|
41
|
+
props: {
|
|
42
|
+
dataTable: {},
|
|
43
|
+
readOnly: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false
|
|
46
|
+
},
|
|
47
|
+
showOwnershipBadge: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: false
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
setup(__props) {
|
|
53
|
+
const i18n = useI18n();
|
|
54
|
+
const dataTableStore = useDataTableStore();
|
|
55
|
+
const props = __props;
|
|
56
|
+
const dataTableRoute = computed(() => {
|
|
57
|
+
return {
|
|
58
|
+
name: DATA_TABLE_DETAILS,
|
|
59
|
+
params: {
|
|
60
|
+
projectId: props.dataTable.projectId,
|
|
61
|
+
id: props.dataTable.id
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
});
|
|
65
|
+
const getDataTableSize = computed(() => {
|
|
66
|
+
return dataTableStore.dataTableSizes[props.dataTable.id] ?? 0;
|
|
67
|
+
});
|
|
68
|
+
return (_ctx, _cache) => {
|
|
69
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(N8nLink_default), {
|
|
70
|
+
to: dataTableRoute.value,
|
|
71
|
+
class: "data-table-card",
|
|
72
|
+
"data-test-id": "data-table-card-link"
|
|
73
|
+
}, {
|
|
74
|
+
default: withCtx(() => [createVNode(unref(N8nCard_default), { class: normalizeClass(_ctx.$style.card) }, {
|
|
75
|
+
prepend: withCtx(() => [createVNode(unref(N8nIcon_default), {
|
|
76
|
+
"data-test-id": "data-table-card-icon",
|
|
77
|
+
class: normalizeClass(_ctx.$style["card-icon"]),
|
|
78
|
+
icon: "database",
|
|
79
|
+
size: "xlarge",
|
|
80
|
+
"stroke-width": 1
|
|
81
|
+
}, null, 8, ["class"])]),
|
|
82
|
+
header: withCtx(() => [createBaseVNode("div", { class: normalizeClass(_ctx.$style["card-header"]) }, [createVNode(unref(N8nText_default), {
|
|
83
|
+
tag: "h2",
|
|
84
|
+
bold: "",
|
|
85
|
+
"data-test-id": "data-table-card-name"
|
|
86
|
+
}, {
|
|
87
|
+
default: withCtx(() => [createTextVNode(toDisplayString(props.dataTable.name), 1)]),
|
|
88
|
+
_: 1
|
|
89
|
+
}), props.readOnly ? (openBlock(), createBlock(unref(N8nBadge_default), {
|
|
90
|
+
key: 0,
|
|
91
|
+
class: "ml-3xs",
|
|
92
|
+
theme: "tertiary",
|
|
93
|
+
bold: ""
|
|
94
|
+
}, {
|
|
95
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("workflows.item.readonly")), 1)]),
|
|
96
|
+
_: 1
|
|
97
|
+
})) : createCommentVNode("", true)], 2)]),
|
|
98
|
+
footer: withCtx(() => [createBaseVNode("div", { class: normalizeClass(_ctx.$style["card-footer"]) }, [
|
|
99
|
+
createVNode(unref(N8nText_default), {
|
|
100
|
+
size: "small",
|
|
101
|
+
color: "text-light",
|
|
102
|
+
class: normalizeClass([_ctx.$style["info-cell"], _ctx.$style["info-cell--size"]]),
|
|
103
|
+
"data-test-id": "data-table-card-size"
|
|
104
|
+
}, {
|
|
105
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("dataTable.card.size", { interpolate: { size: getDataTableSize.value } })), 1)]),
|
|
106
|
+
_: 1
|
|
107
|
+
}, 8, ["class"]),
|
|
108
|
+
createVNode(unref(N8nText_default), {
|
|
109
|
+
size: "small",
|
|
110
|
+
color: "text-light",
|
|
111
|
+
class: normalizeClass([_ctx.$style["info-cell"], _ctx.$style["info-cell--column-count"]]),
|
|
112
|
+
"data-test-id": "data-table-card-column-count"
|
|
113
|
+
}, {
|
|
114
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("dataTable.card.column.count", { interpolate: { count: props.dataTable.columns.length + 1 } })), 1)]),
|
|
115
|
+
_: 1
|
|
116
|
+
}, 8, ["class"]),
|
|
117
|
+
createVNode(unref(N8nText_default), {
|
|
118
|
+
size: "small",
|
|
119
|
+
color: "text-light",
|
|
120
|
+
class: normalizeClass([_ctx.$style["info-cell"], _ctx.$style["info-cell--updated"]]),
|
|
121
|
+
"data-test-id": "data-table-card-last-updated"
|
|
122
|
+
}, {
|
|
123
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("workerList.item.lastUpdated")) + " ", 1), createVNode(TimeAgo_default, { date: String(props.dataTable.updatedAt) }, null, 8, ["date"])]),
|
|
124
|
+
_: 1
|
|
125
|
+
}, 8, ["class"]),
|
|
126
|
+
createVNode(unref(N8nText_default), {
|
|
127
|
+
size: "small",
|
|
128
|
+
color: "text-light",
|
|
129
|
+
class: normalizeClass([_ctx.$style["info-cell"], _ctx.$style["info-cell--created"]]),
|
|
130
|
+
"data-test-id": "data-table-card-created"
|
|
131
|
+
}, {
|
|
132
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("workflows.item.created")) + " ", 1), createVNode(TimeAgo_default, { date: String(props.dataTable.createdAt) }, null, 8, ["date"])]),
|
|
133
|
+
_: 1
|
|
134
|
+
}, 8, ["class"])
|
|
135
|
+
], 2)]),
|
|
136
|
+
append: withCtx(() => [createBaseVNode("div", {
|
|
137
|
+
class: normalizeClass(_ctx.$style["card-actions"]),
|
|
138
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"]))
|
|
139
|
+
}, [createVNode(DataTableActions_default, {
|
|
140
|
+
"data-table": props.dataTable,
|
|
141
|
+
"is-read-only": props.readOnly,
|
|
142
|
+
location: "card"
|
|
143
|
+
}, null, 8, ["data-table", "is-read-only"])], 2)]),
|
|
144
|
+
_: 1
|
|
145
|
+
}, 8, ["class"])]),
|
|
146
|
+
_: 1
|
|
147
|
+
}, 8, ["to"])]);
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
var DataTableCard_vue_vue_type_style_index_0_lang_module_default = {
|
|
152
|
+
card: "_card_147lk_123",
|
|
153
|
+
"card-icon": "_card-icon_147lk_131",
|
|
154
|
+
"card-header": "_card-header_147lk_138",
|
|
155
|
+
"card-footer": "_card-footer_147lk_146",
|
|
156
|
+
"info-cell": "_info-cell_147lk_150",
|
|
157
|
+
"info-cell--created": "_info-cell--created_147lk_159",
|
|
158
|
+
"info-cell--column-count": "_info-cell--column-count_147lk_160",
|
|
159
|
+
"info-cell--size": "_info-cell--size_147lk_161"
|
|
160
|
+
};
|
|
161
|
+
var DataTableCard_default = /* @__PURE__ */ __plugin_vue_export_helper_default(DataTableCard_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": DataTableCard_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
162
|
+
var DataTableView_default = /* @__PURE__ */ defineComponent({
|
|
163
|
+
__name: "DataTableView",
|
|
164
|
+
setup(__props) {
|
|
165
|
+
const i18n = useI18n();
|
|
166
|
+
const route = useRoute();
|
|
167
|
+
const router = useRouter();
|
|
168
|
+
const projectPages = useProjectPages();
|
|
169
|
+
const { callDebounced } = useDebounce();
|
|
170
|
+
const documentTitle = useDocumentTitle();
|
|
171
|
+
const toast = useToast();
|
|
172
|
+
const dataTableStore = useDataTableStore();
|
|
173
|
+
const insightsStore = useInsightsStore();
|
|
174
|
+
const projectsStore = useProjectsStore();
|
|
175
|
+
const sourceControlStore = useSourceControlStore();
|
|
176
|
+
const uiStore = useUIStore();
|
|
177
|
+
const loading = ref(true);
|
|
178
|
+
const currentPage = ref(1);
|
|
179
|
+
const pageSize = ref(10);
|
|
180
|
+
const dataTableResources = computed(() => dataTableStore.dataTables.map((ds) => {
|
|
181
|
+
return {
|
|
182
|
+
...ds,
|
|
183
|
+
resourceType: "dataTable"
|
|
184
|
+
};
|
|
185
|
+
}));
|
|
186
|
+
const totalCount = computed(() => dataTableStore.totalCount);
|
|
187
|
+
const currentProject = computed(() => {
|
|
188
|
+
if (projectPages.isOverviewSubPage) return projectsStore.personalProject;
|
|
189
|
+
return projectsStore.currentProject;
|
|
190
|
+
});
|
|
191
|
+
const readOnlyEnv = computed(() => sourceControlStore.preferences.branchReadOnly);
|
|
192
|
+
const initialize = async () => {
|
|
193
|
+
loading.value = true;
|
|
194
|
+
const projectIdFilter = projectPages.isOverviewSubPage ? "" : projectsStore.currentProjectId;
|
|
195
|
+
try {
|
|
196
|
+
await dataTableStore.fetchDataTables(projectIdFilter ?? "", currentPage.value, pageSize.value);
|
|
197
|
+
} catch (error) {
|
|
198
|
+
toast.showError(error, "Error loading data tables");
|
|
199
|
+
} finally {
|
|
200
|
+
loading.value = false;
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
const onPaginationUpdate = async (payload) => {
|
|
204
|
+
if (payload.page) currentPage.value = payload.page;
|
|
205
|
+
if (payload.pageSize) pageSize.value = payload.pageSize;
|
|
206
|
+
if (!loading.value) await callDebounced(initialize, {
|
|
207
|
+
debounceTime: 200,
|
|
208
|
+
trailing: true
|
|
209
|
+
});
|
|
210
|
+
};
|
|
211
|
+
const onAddModalClick = () => {
|
|
212
|
+
router.push({
|
|
213
|
+
name: PROJECT_DATA_TABLES,
|
|
214
|
+
params: {
|
|
215
|
+
projectId: currentProject.value?.id,
|
|
216
|
+
new: "new"
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
};
|
|
220
|
+
onMounted(() => {
|
|
221
|
+
documentTitle.set(i18n.baseText("dataTable.dataTables"));
|
|
222
|
+
});
|
|
223
|
+
watch(() => route.params.new, () => {
|
|
224
|
+
if (route.params.new === "new") uiStore.openModal(ADD_DATA_TABLE_MODAL_KEY);
|
|
225
|
+
else uiStore.closeModal(ADD_DATA_TABLE_MODAL_KEY);
|
|
226
|
+
}, { immediate: true });
|
|
227
|
+
return (_ctx, _cache) => {
|
|
228
|
+
return openBlock(), createBlock(ResourcesListLayout_default, {
|
|
229
|
+
ref: "layout",
|
|
230
|
+
"resource-key": "dataTable",
|
|
231
|
+
type: "list-paginated",
|
|
232
|
+
resources: dataTableResources.value,
|
|
233
|
+
initialize,
|
|
234
|
+
"type-props": { itemSize: 80 },
|
|
235
|
+
loading: loading.value,
|
|
236
|
+
disabled: false,
|
|
237
|
+
"total-items": totalCount.value,
|
|
238
|
+
"dont-perform-sorting-and-filtering": true,
|
|
239
|
+
"ui-config": {
|
|
240
|
+
searchEnabled: false,
|
|
241
|
+
showFiltersDropdown: false,
|
|
242
|
+
sortEnabled: false
|
|
243
|
+
},
|
|
244
|
+
"onUpdate:paginationAndSort": onPaginationUpdate
|
|
245
|
+
}, {
|
|
246
|
+
header: withCtx(() => [createVNode(ProjectHeader_default, { "main-button": "dataTable" }, {
|
|
247
|
+
default: withCtx(() => [unref(projectPages).isOverviewSubPage && unref(insightsStore).isSummaryEnabled ? (openBlock(), createBlock(InsightsSummary_default, {
|
|
248
|
+
key: 0,
|
|
249
|
+
loading: unref(insightsStore).weeklySummary.isLoading,
|
|
250
|
+
summary: unref(insightsStore).weeklySummary.state,
|
|
251
|
+
"time-range": "week"
|
|
252
|
+
}, null, 8, ["loading", "summary"])) : createCommentVNode("", true)]),
|
|
253
|
+
_: 1
|
|
254
|
+
})]),
|
|
255
|
+
empty: withCtx(() => [createVNode(unref(N8nActionBox_default), {
|
|
256
|
+
"data-test-id": "empty-data-table-action-box",
|
|
257
|
+
heading: unref(i18n).baseText("dataTable.empty.label"),
|
|
258
|
+
description: unref(i18n).baseText("dataTable.empty.description"),
|
|
259
|
+
"button-text": unref(i18n).baseText("dataTable.add.button.label"),
|
|
260
|
+
"button-type": "secondary",
|
|
261
|
+
"button-disabled": !unref(dataTableStore).projectPermissions.dataTable.create,
|
|
262
|
+
"button-icon": !unref(dataTableStore).projectPermissions.dataTable.create ? "lock" : void 0,
|
|
263
|
+
"onClick:button": onAddModalClick
|
|
264
|
+
}, {
|
|
265
|
+
disabledButtonTooltip: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("dataTable.empty.button.disabled.tooltip")), 1)]),
|
|
266
|
+
_: 1
|
|
267
|
+
}, 8, [
|
|
268
|
+
"heading",
|
|
269
|
+
"description",
|
|
270
|
+
"button-text",
|
|
271
|
+
"button-disabled",
|
|
272
|
+
"button-icon"
|
|
273
|
+
])]),
|
|
274
|
+
item: withCtx(({ item: data }) => [createVNode(DataTableCard_default, {
|
|
275
|
+
class: "mb-2xs",
|
|
276
|
+
"data-table": data,
|
|
277
|
+
"show-ownership-badge": unref(projectPages).isOverviewSubPage,
|
|
278
|
+
"read-only": readOnlyEnv.value
|
|
279
|
+
}, null, 8, [
|
|
280
|
+
"data-table",
|
|
281
|
+
"show-ownership-badge",
|
|
282
|
+
"read-only"
|
|
283
|
+
])]),
|
|
284
|
+
_: 1
|
|
285
|
+
}, 8, [
|
|
286
|
+
"resources",
|
|
287
|
+
"loading",
|
|
288
|
+
"total-items"
|
|
289
|
+
]);
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
export { DataTableView_default as default };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { C as computed, E as createCommentVNode, P as defineComponent, T as createBlock, et as openBlock } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
|
|
2
|
+
import "./core-CRbPymLT.js";
|
|
3
|
+
import "./src-jviYSG25.js";
|
|
4
|
+
import "./en-CF30SCh2.js";
|
|
5
|
+
import "./preload-helper-dyVz7ck7.js";
|
|
6
|
+
import "./_plugin-vue_export-helper-BwBpWJRZ.js";
|
|
7
|
+
import "./truncate-C0KYt7i3.js";
|
|
8
|
+
import { P as useWorkflowsStore } from "./builder.store-Czk2ipDE.js";
|
|
9
|
+
import "./empty-BuGRxzl4.js";
|
|
10
|
+
import "./get-BcEmeOxn.js";
|
|
11
|
+
import "./sanitize-html-CbW56HUN.js";
|
|
12
|
+
import "./CalendarDate-DgQUMbNo.js";
|
|
13
|
+
import "./path-browserify-RUt2u7iT.js";
|
|
14
|
+
import "./_MapCache-CcdIl4Ae.js";
|
|
15
|
+
import "./constants-C8OH4tTq.js";
|
|
16
|
+
import "./merge-DhuTk1HM.js";
|
|
17
|
+
import "./_baseOrderBy-N8Be_6z6.js";
|
|
18
|
+
import "./dateformat-hG8NERse.js";
|
|
19
|
+
import "./useDebounce-Br5_1ug-.js";
|
|
20
|
+
import "./assistant.store-CNywgN4S.js";
|
|
21
|
+
import "./chatPanel.store-NDaawEZL.js";
|
|
22
|
+
import "./retry-BgHaYzbB.js";
|
|
23
|
+
import "./executions.store-B9uRYwgv.js";
|
|
24
|
+
import "./useRunWorkflow-LO7ffLp9.js";
|
|
25
|
+
import "./usePinnedData-BhZkqttf.js";
|
|
26
|
+
import "./nodeCreator.store-Bpnrwp2l.js";
|
|
27
|
+
import "./nodeIcon-D6X-ENYt.js";
|
|
28
|
+
import "./useClipboard-DvjhVHqJ.js";
|
|
29
|
+
import "./useCanvasOperations-8ULLtMkY.js";
|
|
30
|
+
import { t as LogsPanel_default } from "./LogsPanel-C-_acMHp.js";
|
|
31
|
+
import "./folders.store-yAFj-5Vl.js";
|
|
32
|
+
import "./NodeIcon-B9VW6tX6.js";
|
|
33
|
+
import "./KeyboardShortcutTooltip-D8PAK5JP.js";
|
|
34
|
+
import "./isEmpty-C3XXoHqJ.js";
|
|
35
|
+
import "./NDVEmptyState-33UoX00I.js";
|
|
36
|
+
import "./externalSecrets.ee.store-BJh4a_6G.js";
|
|
37
|
+
import "./uniqBy-xDyuCRP0.js";
|
|
38
|
+
import "./RunDataHtml-Cleia4Cj.js";
|
|
39
|
+
import "./VueMarkdown-CQqJL9vK.js";
|
|
40
|
+
import "./schemaPreview.store-DUgN1yVE.js";
|
|
41
|
+
import "./vue-json-pretty-CsGX66mG.js";
|
|
42
|
+
import "./dateFormatter-ik4-9_9r.js";
|
|
43
|
+
import "./useExecutionHelpers-BgRRhpBM.js";
|
|
44
|
+
import "./useKeybindings-B2jfN6rd.js";
|
|
45
|
+
import "./fileUtils-CRWqOQje.js";
|
|
46
|
+
import "./core-CP5FY4aX.js";
|
|
47
|
+
import "./ChatFile-xZxmc2nV.js";
|
|
48
|
+
import "./xml-B_oj6Mle.js";
|
|
49
|
+
import "./AnimatedSpinner-DmPN4poP.js";
|
|
50
|
+
import "./useLogsTreeExpand-sZViUfdM.js";
|
|
51
|
+
import "./core-B9gt_4yk.js";
|
|
52
|
+
var DemoFooter_default = /* @__PURE__ */ defineComponent({
|
|
53
|
+
__name: "DemoFooter",
|
|
54
|
+
setup(__props) {
|
|
55
|
+
const workflowsStore = useWorkflowsStore();
|
|
56
|
+
const hasExecutionData = computed(() => workflowsStore.workflowExecutionData);
|
|
57
|
+
return (_ctx, _cache) => {
|
|
58
|
+
return hasExecutionData.value ? (openBlock(), createBlock(LogsPanel_default, {
|
|
59
|
+
key: 0,
|
|
60
|
+
"is-read-only": true
|
|
61
|
+
})) : createCommentVNode("", true);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
export { DemoFooter_default as default };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { C as computed, It as ref, J as onBeforeUnmount, P as defineComponent, T as createBlock, at as renderSlot, b as Teleport, bn as normalizeStyle, bt as withCtx, ct as resolveDynamicComponent, et as openBlock, p as vShow, vn as normalizeClass, w as createBaseVNode, xt as withDirectives } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
|
|
2
|
+
import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BwBpWJRZ.js";
|
|
3
|
+
import { Wi as isPresent } from "./builder.store-Czk2ipDE.js";
|
|
4
|
+
var Draggable_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "Draggable",
|
|
6
|
+
props: {
|
|
7
|
+
type: {},
|
|
8
|
+
data: { default: null },
|
|
9
|
+
tag: { default: "div" },
|
|
10
|
+
targetDataKey: { default: null },
|
|
11
|
+
disabled: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: false
|
|
14
|
+
},
|
|
15
|
+
canDrop: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: false
|
|
18
|
+
},
|
|
19
|
+
stickyPosition: { default: null }
|
|
20
|
+
},
|
|
21
|
+
emits: [
|
|
22
|
+
"drag",
|
|
23
|
+
"dragstart",
|
|
24
|
+
"dragend"
|
|
25
|
+
],
|
|
26
|
+
setup(__props, { emit: __emit }) {
|
|
27
|
+
const props = __props;
|
|
28
|
+
const emit = __emit;
|
|
29
|
+
const isDragging = ref(false);
|
|
30
|
+
const draggingElement = ref();
|
|
31
|
+
const draggablePosition = ref([0, 0]);
|
|
32
|
+
const animationFrameId = ref();
|
|
33
|
+
const draggableStyle = computed(() => ({ transform: `translate(${draggablePosition.value[0]}px, ${draggablePosition.value[1]}px)` }));
|
|
34
|
+
const onDragStart = (event) => {
|
|
35
|
+
if (props.disabled || event.buttons !== 1) return;
|
|
36
|
+
draggingElement.value = event.target;
|
|
37
|
+
if (props.targetDataKey && draggingElement.value.dataset?.target !== props.targetDataKey) draggingElement.value = draggingElement.value.closest(`[data-target="${props.targetDataKey}"]`);
|
|
38
|
+
if (props.targetDataKey && draggingElement.value?.dataset?.target !== props.targetDataKey) return;
|
|
39
|
+
event.preventDefault();
|
|
40
|
+
event.stopPropagation();
|
|
41
|
+
isDragging.value = false;
|
|
42
|
+
draggablePosition.value = [event.pageX, event.pageY];
|
|
43
|
+
window.addEventListener("mousemove", onDrag);
|
|
44
|
+
window.addEventListener("mouseup", onDragEnd);
|
|
45
|
+
const activeElement = document.activeElement;
|
|
46
|
+
if (activeElement) activeElement.blur();
|
|
47
|
+
};
|
|
48
|
+
const onDrag = (event) => {
|
|
49
|
+
event.preventDefault();
|
|
50
|
+
event.stopPropagation();
|
|
51
|
+
if (props.disabled) return;
|
|
52
|
+
if (!isDragging.value && draggingElement.value) {
|
|
53
|
+
isDragging.value = true;
|
|
54
|
+
const data = props.targetDataKey ? draggingElement.value.dataset.value : props.data ?? "";
|
|
55
|
+
emit("dragstart", draggingElement.value, data);
|
|
56
|
+
document.body.style.cursor = "grabbing";
|
|
57
|
+
}
|
|
58
|
+
animationFrameId.value = window.requestAnimationFrame(() => {
|
|
59
|
+
if (props.canDrop && props.stickyPosition) draggablePosition.value = props.stickyPosition;
|
|
60
|
+
else draggablePosition.value = [event.pageX, event.pageY];
|
|
61
|
+
emit("drag", draggablePosition.value);
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
const onDragEnd = () => {
|
|
65
|
+
if (props.disabled) return;
|
|
66
|
+
document.body.style.cursor = "unset";
|
|
67
|
+
window.removeEventListener("mousemove", onDrag);
|
|
68
|
+
window.removeEventListener("mouseup", onDragEnd);
|
|
69
|
+
if (isPresent(animationFrameId.value)) window.cancelAnimationFrame(animationFrameId.value);
|
|
70
|
+
setTimeout(() => {
|
|
71
|
+
if (draggingElement.value) emit("dragend", draggingElement.value);
|
|
72
|
+
isDragging.value = false;
|
|
73
|
+
draggingElement.value = void 0;
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
onBeforeUnmount(() => {
|
|
77
|
+
if (draggingElement.value) emit("dragend", draggingElement.value);
|
|
78
|
+
});
|
|
79
|
+
return (_ctx, _cache) => {
|
|
80
|
+
return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
|
|
81
|
+
ref: "wrapper",
|
|
82
|
+
class: normalizeClass({ [_ctx.$style.dragging]: isDragging.value }),
|
|
83
|
+
"data-test-id": "draggable",
|
|
84
|
+
onMousedown: onDragStart
|
|
85
|
+
}, {
|
|
86
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", { isDragging: isDragging.value }), (openBlock(), createBlock(Teleport, { to: "body" }, [withDirectives(createBaseVNode("div", {
|
|
87
|
+
ref: "draggable",
|
|
88
|
+
class: normalizeClass(_ctx.$style.draggable),
|
|
89
|
+
style: normalizeStyle(draggableStyle.value)
|
|
90
|
+
}, [renderSlot(_ctx.$slots, "preview", {
|
|
91
|
+
canDrop: _ctx.canDrop,
|
|
92
|
+
el: draggingElement.value
|
|
93
|
+
})], 6), [[vShow, isDragging.value]])]))]),
|
|
94
|
+
_: 3
|
|
95
|
+
}, 40, ["class"]);
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
var Draggable_vue_vue_type_style_index_0_lang_module_default = {
|
|
100
|
+
dragging: "_dragging_io9pp_123",
|
|
101
|
+
draggable: "_draggable_io9pp_128",
|
|
102
|
+
"draggable-data-transfer": "_draggable-data-transfer_io9pp_136"
|
|
103
|
+
};
|
|
104
|
+
var Draggable_default = /* @__PURE__ */ __plugin_vue_export_helper_default(Draggable_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": Draggable_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
105
|
+
export { Draggable_default as t };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { C as computed, Gt as unref, P as defineComponent, T as createBlock, et as openBlock } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
|
|
2
|
+
import { rt as useI18n } from "./core-CRbPymLT.js";
|
|
3
|
+
import { Ct as N8nActionBox_default } from "./src-jviYSG25.js";
|
|
4
|
+
import { v as useRouter } from "./get-BcEmeOxn.js";
|
|
5
|
+
import { Ro as VIEWS } from "./constants-C8OH4tTq.js";
|
|
6
|
+
var EmptySharedSectionActionBox_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "EmptySharedSectionActionBox",
|
|
8
|
+
props: {
|
|
9
|
+
personalProject: {},
|
|
10
|
+
resourceType: { default: "workflows" }
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const i18n = useI18n();
|
|
14
|
+
const router = useRouter();
|
|
15
|
+
const props = __props;
|
|
16
|
+
const heading = computed(() => {
|
|
17
|
+
return i18n.baseText("workflows.empty.shared-with-me", { interpolate: { resource: i18n.baseText(`generic.${props.resourceType === "workflows" ? "workflow" : "credential"}`).toLowerCase() } });
|
|
18
|
+
});
|
|
19
|
+
const onPersonalLinkClick = (event) => {
|
|
20
|
+
event.preventDefault();
|
|
21
|
+
router.push({
|
|
22
|
+
name: VIEWS.PROJECTS_WORKFLOWS,
|
|
23
|
+
params: { projectId: props.personalProject.id }
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
return (_ctx, _cache) => {
|
|
27
|
+
return openBlock(), createBlock(unref(N8nActionBox_default), {
|
|
28
|
+
"data-test-id": "empty-shared-action-box",
|
|
29
|
+
heading: heading.value,
|
|
30
|
+
description: unref(i18n).baseText("workflows.empty.shared-with-me.link"),
|
|
31
|
+
onDescriptionClick: onPersonalLinkClick
|
|
32
|
+
}, null, 8, ["heading", "description"]);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export { EmptySharedSectionActionBox_default as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { C as computed, D as createElementBlock, P as defineComponent, at as renderSlot, et as openBlock } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
|
|
2
|
+
import { ms as useSettingsStore } from "./builder.store-Czk2ipDE.js";
|
|
3
|
+
var EnterpriseEdition_ee_default = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "EnterpriseEdition.ee",
|
|
5
|
+
props: { features: { default: () => [] } },
|
|
6
|
+
setup(__props) {
|
|
7
|
+
const props = __props;
|
|
8
|
+
const settingsStore = useSettingsStore();
|
|
9
|
+
const canAccess = computed(() => props.features.reduce((acc, feature) => acc && !!settingsStore.isEnterpriseFeatureEnabled[feature], true));
|
|
10
|
+
return (_ctx, _cache) => {
|
|
11
|
+
return openBlock(), createElementBlock("div", null, [canAccess.value ? renderSlot(_ctx.$slots, "default", { key: 0 }) : renderSlot(_ctx.$slots, "fallback", { key: 1 })]);
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export { EnterpriseEdition_ee_default as t };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Cn as toDisplayString, D as createElementBlock, Gt as unref, M as createVNode, P as defineComponent, bt as withCtx, et as openBlock, j as createTextVNode, w as createBaseVNode } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
|
|
2
|
+
import { rt as useI18n } from "./core-CRbPymLT.js";
|
|
3
|
+
import { bn as N8nText_default, et as N8nCard_default, vn as N8nHeading_default, xn as N8nButton_default } from "./src-jviYSG25.js";
|
|
4
|
+
import "./en-CF30SCh2.js";
|
|
5
|
+
import "./preload-helper-dyVz7ck7.js";
|
|
6
|
+
import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BwBpWJRZ.js";
|
|
7
|
+
import "./truncate-C0KYt7i3.js";
|
|
8
|
+
import "./empty-BuGRxzl4.js";
|
|
9
|
+
import "./get-BcEmeOxn.js";
|
|
10
|
+
import "./sanitize-html-CbW56HUN.js";
|
|
11
|
+
import "./CalendarDate-DgQUMbNo.js";
|
|
12
|
+
import "./path-browserify-RUt2u7iT.js";
|
|
13
|
+
import "./_MapCache-CcdIl4Ae.js";
|
|
14
|
+
var _hoisted_1 = { class: "entity-not-found-view" };
|
|
15
|
+
var EntityNotFound_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
16
|
+
__name: "EntityNotFound",
|
|
17
|
+
props: { entityType: {} },
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const locale = useI18n();
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(N8nCard_default), { class: "entity-card" }, {
|
|
22
|
+
default: withCtx(() => [
|
|
23
|
+
_cache[0] || (_cache[0] = createBaseVNode("div", { class: "text-center mb-l" }, [createBaseVNode("svg", {
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
+
width: "24",
|
|
26
|
+
height: "24",
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
|
+
fill: "none"
|
|
29
|
+
}, [
|
|
30
|
+
createBaseVNode("circle", {
|
|
31
|
+
cx: "12",
|
|
32
|
+
cy: "12",
|
|
33
|
+
r: "10",
|
|
34
|
+
stroke: "var(--text-button--color--text--secondary)",
|
|
35
|
+
"stroke-width": "2"
|
|
36
|
+
}),
|
|
37
|
+
createBaseVNode("rect", {
|
|
38
|
+
x: "11",
|
|
39
|
+
y: "6",
|
|
40
|
+
width: "2",
|
|
41
|
+
height: "8",
|
|
42
|
+
fill: "var(--text-button--color--text--secondary)"
|
|
43
|
+
}),
|
|
44
|
+
createBaseVNode("rect", {
|
|
45
|
+
x: "11",
|
|
46
|
+
y: "16",
|
|
47
|
+
width: "2",
|
|
48
|
+
height: "2",
|
|
49
|
+
fill: "var(--text-button--color--text--secondary)"
|
|
50
|
+
})
|
|
51
|
+
])], -1)),
|
|
52
|
+
createVNode(unref(N8nHeading_default), {
|
|
53
|
+
size: "xlarge",
|
|
54
|
+
align: "center",
|
|
55
|
+
tag: "h2",
|
|
56
|
+
color: "text-dark",
|
|
57
|
+
class: "mb-2xs"
|
|
58
|
+
}, {
|
|
59
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(locale).baseText("error.entityNotFound.title", { interpolate: { entity: unref(locale).baseText(`generic.${_ctx.entityType}`) } })), 1)]),
|
|
60
|
+
_: 1
|
|
61
|
+
}),
|
|
62
|
+
createVNode(unref(N8nText_default), {
|
|
63
|
+
color: "text-base",
|
|
64
|
+
tag: "p",
|
|
65
|
+
align: "center",
|
|
66
|
+
class: "mb-m"
|
|
67
|
+
}, {
|
|
68
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(locale).baseText("error.entityNotFound.text", { interpolate: { entity: unref(locale).baseText(`generic.${_ctx.entityType}`).toLocaleLowerCase() } })), 1)]),
|
|
69
|
+
_: 1
|
|
70
|
+
}),
|
|
71
|
+
createVNode(unref(N8nButton_default), {
|
|
72
|
+
href: "/",
|
|
73
|
+
element: "a",
|
|
74
|
+
type: "secondary"
|
|
75
|
+
}, {
|
|
76
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(locale).baseText("error.entityNotFound.action")), 1)]),
|
|
77
|
+
_: 1
|
|
78
|
+
})
|
|
79
|
+
]),
|
|
80
|
+
_: 1
|
|
81
|
+
})]);
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
}), [["__scopeId", "data-v-57737623"]]);
|
|
85
|
+
export { EntityNotFound_default as default };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Cn as toDisplayString, D as createElementBlock, Gt as unref, M as createVNode, P as defineComponent, bt as withCtx, et as openBlock, j as createTextVNode, w as createBaseVNode } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
|
|
2
|
+
import { rt as useI18n } from "./core-CRbPymLT.js";
|
|
3
|
+
import { bn as N8nText_default, et as N8nCard_default, vn as N8nHeading_default } from "./src-jviYSG25.js";
|
|
4
|
+
import "./en-CF30SCh2.js";
|
|
5
|
+
import "./preload-helper-dyVz7ck7.js";
|
|
6
|
+
import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BwBpWJRZ.js";
|
|
7
|
+
import "./truncate-C0KYt7i3.js";
|
|
8
|
+
import "./empty-BuGRxzl4.js";
|
|
9
|
+
import "./get-BcEmeOxn.js";
|
|
10
|
+
import "./sanitize-html-CbW56HUN.js";
|
|
11
|
+
import "./CalendarDate-DgQUMbNo.js";
|
|
12
|
+
import "./path-browserify-RUt2u7iT.js";
|
|
13
|
+
import "./_MapCache-CcdIl4Ae.js";
|
|
14
|
+
var _hoisted_1 = { class: "entity-un-authorized-view" };
|
|
15
|
+
var EntityUnAuthorised_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
16
|
+
__name: "EntityUnAuthorised",
|
|
17
|
+
props: { entityType: {} },
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const locale = useI18n();
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(N8nCard_default), { class: "entity-card" }, {
|
|
22
|
+
default: withCtx(() => [
|
|
23
|
+
_cache[0] || (_cache[0] = createBaseVNode("div", { class: "text-center mb-l" }, [createBaseVNode("svg", {
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
+
width: "24",
|
|
26
|
+
height: "24",
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
|
+
fill: "none"
|
|
29
|
+
}, [createBaseVNode("path", {
|
|
30
|
+
d: "M19 11H5C3.89543 11 3 11.8954 3 13V20C3 21.1046 3.89543 22 5 22H19C20.1046 22 21 21.1046 21 20V13C21 11.8954 20.1046 11 19 11Z",
|
|
31
|
+
stroke: "var(--text-button--color--text--secondary)",
|
|
32
|
+
"stroke-width": "2",
|
|
33
|
+
"stroke-linecap": "round",
|
|
34
|
+
"stroke-linejoin": "round"
|
|
35
|
+
}), createBaseVNode("path", {
|
|
36
|
+
d: "M7 11V7C7 5.67392 7.52678 4.40215 8.46447 3.46447C9.40215 2.52678 10.6739 2 12 2C13.3261 2 14.5979 2.52678 15.5355 3.46447C16.4732 4.40215 17 5.67392 17 7V11",
|
|
37
|
+
stroke: "var(--text-button--color--text--secondary)",
|
|
38
|
+
"stroke-width": "2",
|
|
39
|
+
"stroke-linecap": "round",
|
|
40
|
+
"stroke-linejoin": "round"
|
|
41
|
+
})])], -1)),
|
|
42
|
+
createVNode(unref(N8nHeading_default), {
|
|
43
|
+
size: "xlarge",
|
|
44
|
+
align: "center",
|
|
45
|
+
tag: "h2",
|
|
46
|
+
color: "text-dark",
|
|
47
|
+
class: "mb-2xs"
|
|
48
|
+
}, {
|
|
49
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(locale).baseText("error.entityUnAuthorized.title")), 1)]),
|
|
50
|
+
_: 1
|
|
51
|
+
}),
|
|
52
|
+
createVNode(unref(N8nText_default), {
|
|
53
|
+
color: "text-base",
|
|
54
|
+
tag: "p",
|
|
55
|
+
align: "center"
|
|
56
|
+
}, {
|
|
57
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(locale).baseText("error.entityUnAuthorized.content", { interpolate: { entity: unref(locale).baseText(`generic.${_ctx.entityType}`).toLocaleLowerCase() } })), 1)]),
|
|
58
|
+
_: 1
|
|
59
|
+
})
|
|
60
|
+
]),
|
|
61
|
+
_: 1
|
|
62
|
+
})]);
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}), [["__scopeId", "data-v-e8d3fd89"]]);
|
|
66
|
+
export { EntityUnAuthorised_default as default };
|