n8n-editor-ui 1.104.2 → 1.105.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/dist/assets/{AnimatedSpinner-GulG2K0j.js → AnimatedSpinner-KrBSvZAV.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-dlSydCdY.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CYZZXJH6.js} +1 -1
- package/dist/assets/{AuthView-K77orkco.js → AuthView-D6eo8WqA.js} +2 -2
- package/dist/assets/{ChangePasswordView-Ps0M1YCZ.js → ChangePasswordView-DGYeaAiT.js} +3 -3
- package/dist/assets/CollectionParameter-BOrouU0U.js +4 -0
- package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-DJZbQ3zM.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-f1op8mly.js} +1 -1
- package/dist/assets/{CredentialsView-V5bvb24F.js → CredentialsView-BcfCphWB.js} +8 -8
- package/dist/assets/{DemoFooter-BcXdes2-.js → DemoFooter-BjC82ypS.js} +6 -9
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-67zqyEke.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-Bbzwpi3B.js} +1 -1
- package/dist/assets/{EntityNotFound-BKMlLFtf.js → EntityNotFound-BgD3YeZN.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-CN42iNdk.js → EntityUnAuthorised-CMhBQl6g.js} +1 -1
- package/dist/assets/{ErrorView-DUbN9hBM.js → ErrorView-CuhR0zuH.js} +1 -1
- package/dist/assets/{EvaluationsRootView-BLhz1u8R.js → EvaluationsRootView-BrCKiHN_.js} +1 -1
- package/dist/assets/{EvaluationsView-DuVi45xL.js → EvaluationsView-BxxTAji5.js} +3 -3
- package/dist/assets/{ExecutionsTime-Bo7IOE5K.css → ExecutionsTime-etWexlXm.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-BMSYYCpL.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-ClW7UXP9.js} +23 -30
- package/dist/assets/{ExecutionsView-Ca41O1Nf.js → ExecutionsView-ByWqY6xs.js} +8 -9
- package/dist/assets/{FixedCollectionParameter-Cfm6gcPO.js → FixedCollectionParameter-BR3l_nXY.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-bsFRLru8.js → ForgotMyPasswordView-s00njJSu.js} +3 -3
- package/dist/assets/{InfoAccordion-CQxmodgt.js → InfoAccordion-Co43liPo.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-By2eMwwf.js → InsightsChartAverageRuntime-HxSVGWaN.js} +4 -4
- package/dist/assets/{InsightsChartFailed-CKunAaEe.js → InsightsChartFailed-yHd0Gpbr.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-DMp875IT.js → InsightsChartFailureRate-CCwG6i9u.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-BVDmM3Jq.js → InsightsChartTimeSaved-3PTTlSuF.js} +4 -4
- package/dist/assets/{InsightsChartTotal-DudWdJDx.js → InsightsChartTotal-B2WA_9qw.js} +4 -4
- package/dist/assets/{InsightsDashboard-CZ2l2Pku.js → InsightsDashboard-DO-jr92t.js} +10 -10
- package/dist/assets/{InsightsPaywall-BdmIslpa.js → InsightsPaywall-BbZcrEbM.js} +1 -1
- package/dist/assets/{InsightsSummary-w3WEmFKv.js → InsightsSummary--aEmQRI4.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-qGUEcwas.js → InsightsTableWorkflows-lc8G_-qM.js} +5 -5
- package/dist/assets/{Logo-BC2rsqUH.js → Logo-D9KxmIRr.js} +1 -1
- package/dist/assets/{LogsPanel-D0xdq4fV.css → LogsPanel-B-Tmod-K.css} +25 -22
- package/dist/assets/{LogsPanel--mFob2p-.js → LogsPanel-CDdiZKfp.js} +209 -51
- package/dist/assets/{MainHeader-CRpvf9kT.js → MainHeader-DNxqTeqI.js} +8 -10
- package/dist/assets/{MainSidebar-DLB0Mtz-.js → MainSidebar-C7zFn_hK.js} +2 -3
- package/dist/assets/{N8nDataTableServer-IY1qu_eh.js → N8nDataTableServer-Cl57_Vof.js} +1 -1
- package/dist/assets/{NodeCreation-D5cN4NVn.js → NodeCreation-CTxrb6V-.js} +16 -13
- package/dist/assets/{NodeCreator-vN_S_t4h.js → NodeCreator-DPHEOyqE.js} +11 -20
- package/dist/assets/{NodeDetailsView-CvaJNbAN.js → NodeDetailsView-DcgfJrz7.js} +13 -17
- package/dist/assets/{NodeDetailsViewV2-BmtPtJ9m.js → NodeDetailsViewV2-BWG5P3xM.js} +27 -31
- package/dist/assets/{NodeDetailsViewV2-BxNx4ZUM.css → NodeDetailsViewV2-LLVofUjw.css} +21 -19
- package/dist/assets/NodeView-B2097MY0.css +852 -0
- package/dist/assets/NodeView-D9WvrTgu.js +2684 -0
- package/dist/assets/{ProjectHeader-Je865fMv.js → ProjectHeader-ChNm-STe.js} +2 -2
- package/dist/assets/{ProjectSettings-CQVJwtw-.js → ProjectSettings-DpKj5RSh.js} +3 -3
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CBK8ZjPV.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-CTVAscYA.js} +1 -1
- package/dist/assets/{ResourcesListLayout-CJbm9xyB.js → ResourcesListLayout-B0S1iC0v.js} +3 -3
- package/dist/assets/{RunDataJson-BCoH-unC.js → RunDataJson-Bqhe-7k7.js} +3 -6
- package/dist/assets/{RunDataJsonActions-BR4qdcyX.js → RunDataJsonActions-D3vGWy5j.js} +13 -13
- package/dist/assets/{RunDataParsedAiContent-eXrGoOcO.js → RunDataParsedAiContent-ym1RI0G4.js} +25 -11
- package/dist/assets/{RunDataSearch-DqYJtJpv.js → RunDataSearch-DboYj8S4.js} +1 -1
- package/dist/assets/{RunDataTable-Dg4A2SH7.js → RunDataTable-lsgpkPXP.js} +1 -2
- package/dist/assets/{SamlOnboarding-BG8xlyqL.js → SamlOnboarding-52a51gmP.js} +3 -3
- package/dist/assets/{SettingsApiView-KTmBKnrm.js → SettingsApiView-BOYoapSn.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-4xHpwfXO.js → SettingsCommunityNodesView-B-LLJS2J.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-BzMO_Lt4.js → SettingsExternalSecrets-DiBSEFcn.js} +1 -1
- package/dist/assets/{SettingsLdapView-DP6YBq_8.js → SettingsLdapView-C7pQfRRf.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DGNMrLI3.js → SettingsLogStreamingView-3ELI8Uv1.js} +1 -1
- package/dist/assets/{SettingsPersonalView-DhjxYJwQ.js → SettingsPersonalView-BFc-Xlm_.js} +1 -1
- package/dist/assets/{SettingsSourceControl-7frv4mbH.js → SettingsSourceControl-Dq_n-nXw.js} +1 -1
- package/dist/assets/{SettingsSso-Cxd6o8QN.js → SettingsSso-DSpEzAGp.js} +7 -12
- package/dist/assets/{SettingsUsageAndPlan-DvF4_Lc1.js → SettingsUsageAndPlan-CBpzbRIU.js} +1 -1
- package/dist/assets/{SettingsUsersView-Bu36S1Te.js → SettingsUsersView-Bm1y_T8a.js} +2 -3
- package/dist/assets/{SettingsView-DOsTwYUK.js → SettingsView-Bng6WlsP.js} +1 -1
- package/dist/assets/{SetupView-D-VMCZMh.js → SetupView-BRIQwUPt.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-BODPly2Z.js → SetupWorkflowCredentialsButton-dDtjtfSu.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-CqdpfFVj.js → SetupWorkflowFromTemplateView-CI0JVV1L.js} +3 -3
- package/dist/assets/{SigninView-cVRu5j-8.js → SigninView-DK8rkoWB.js} +3 -3
- package/dist/assets/{SignoutView-CW8VFirq.js → SignoutView-e_0o4jxx.js} +1 -1
- package/dist/assets/{SignupView-gsWZYNGC.js → SignupView-FVOhOpw-.js} +3 -3
- package/dist/assets/{TableBase-BRKRBucr.js → TableBase-Cj1y9F5k.js} +1 -1
- package/dist/assets/{Tags-BNRB45Pz.js → Tags-CBGfCmmC.js} +1 -1
- package/dist/assets/{TemplateDetails-mQuG63CP.js → TemplateDetails-CnMQ4SNd.js} +4 -4
- package/dist/assets/{TemplateList-CtgUPqJm.js → TemplateList-BFz7xEI7.js} +3 -3
- package/dist/assets/{TemplatesCollectionView-CQI5crTW.js → TemplatesCollectionView-DeJN7WL0.js} +6 -6
- package/dist/assets/{TemplatesSearchView-BZa3AOcp.js → TemplatesSearchView-C67NJac8.js} +3 -3
- package/dist/assets/{TemplatesView-DF6SagPm.js → TemplatesView-CGWDhQPo.js} +2 -2
- package/dist/assets/{TemplatesWorkflowView-CvX5HsNU.js → TemplatesWorkflowView-Db4Lrng-.js} +6 -6
- package/dist/assets/{TriggerPanel-HBJGvERx.js → TriggerPanel-BsLz-pRs.js} +39 -29
- package/dist/assets/{TriggerPanel-DJv04feX.css → TriggerPanel-gMtmEr6n.css} +16 -13
- package/dist/assets/{VariablesView-CPoLb2Oc.js → VariablesView-CD1FIyRL.js} +5 -5
- package/dist/assets/{VueMarkdown-qUi2j4nV.js → VueMarkdown-CngbcsCr.js} +1 -1
- package/dist/assets/{WorkerView-B8s5K3iW.js → WorkerView-BotnJ0ku.js} +6 -6
- package/dist/assets/{WorkflowActivator-BF3aeJvD.js → WorkflowActivator-1K8wsbSd.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DYgGSHmP.js → WorkflowExecutionsInfoAccordion-CU6hx_3L.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-Cwv9wW3D.js → WorkflowExecutionsLandingPage-UWo4e9W8.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-CebFW0jc.js → WorkflowExecutionsPreview-B8eXqHzh.js} +7 -6
- package/dist/assets/{WorkflowExecutionsView-ByVJI4Pz.js → WorkflowExecutionsView-C22ducS7.js} +6 -8
- package/dist/assets/{WorkflowHistory-cmBsnuhU.js → WorkflowHistory-DvlcqHXV.js} +2 -3
- package/dist/assets/{WorkflowOnboardingView-FKU0An7V.js → WorkflowOnboardingView-DNQY73v-.js} +1 -1
- package/dist/assets/{WorkflowPreview-C6ltvMrC.js → WorkflowPreview-MJeKlvoA.js} +1 -1
- package/dist/assets/{WorkflowsView-CyJbJBc8.css → WorkflowsView-DsJIOJ7h.css} +263 -0
- package/dist/assets/{WorkflowsView-DVdUTMhK.js → WorkflowsView-RZ-pHlPm.js} +275 -30
- package/dist/assets/{aiTemplatesStarterCollection.store-Cb27Gjth.js → aiTemplatesStarterCollection.store-DH0nmNfV.js} +1 -1
- package/dist/assets/canvas-BljPOFnp.js +5 -0
- package/dist/assets/{chartjs.utils-CWQJCNeW.js → chartjs.utils-CLTmtaex.js} +2 -2
- package/dist/assets/{en-BX7CKkqE.js → en-D7cJPQEa.js} +22 -2
- package/dist/assets/{global-link-actions-ZZSsCCb8.js → global-link-actions-Db7BnGRk.js} +1 -1
- package/dist/assets/{index-iDzwlMUB.js → index-18N9Wtz-.js} +1 -1
- package/dist/assets/{index-BWpYwmXd.css → index-BwGKZdwg.css} +15180 -4281
- package/dist/assets/{index-CH1Gwq1G.js → index-RWrva8Ef.js} +62284 -30320
- package/dist/assets/{pickBy-Q2g87NXo.js → pickBy-DhHOxGbL.js} +1 -1
- package/dist/assets/{templateActions-BgBIjbvH.js → templateActions-Djh-A3VE.js} +1 -1
- package/dist/assets/{useBeforeUnload-BS005Q-E.js → useBeforeUnload-BMRHkn8C.js} +1 -1
- package/dist/assets/{useExecutionDebugging-8PY07RzQ.js → useExecutionDebugging-DbRWzPdv.js} +1 -1
- package/dist/assets/{useImportCurlCommand-GQi7001F.js → useImportCurlCommand-CvDE98VZ.js} +1 -2
- package/dist/assets/{useProjectPages-DaQM9nKL.js → useProjectPages-B_-trG9U.js} +1 -1
- package/dist/assets/{usePushConnection-DyTClShF.js → usePushConnection-BkQdWizJ.js} +3 -3
- package/dist/assets/{useWorkflowActivate-C_VG0iz6.js → useWorkflowActivate-IzOtBGNC.js} +1 -1
- package/dist/index.html +6 -5
- package/dist/static/base-path.js +1 -0
- package/dist/static/posthog.init.js +41 -0
- package/dist/static/prefers-color-scheme.css +5 -0
- package/index.html +3 -2
- package/package.json +1 -1
- package/tsconfig.json +1 -0
- package/vite.config.mts +1 -1
- package/dist/assets/ActionDropdown-BmC0wfMx.css +0 -172
- package/dist/assets/ActionDropdown-ruV_IoDb.js +0 -172
- package/dist/assets/CollectionParameter-DAgR8qc7.js +0 -4
- package/dist/assets/FileSaver.min-5FQPbO92.js +0 -81
- package/dist/assets/NodeView-CI8gUxrb.js +0 -18815
- package/dist/assets/NodeView-G2qfXaOy.css +0 -7402
- package/dist/assets/import-curl-DaYg25pW.js +0 -5
- package/dist/assets/useExecutionHelpers-9NlZryk2.js +0 -94
- package/dist/assets/useKeybindings-2A271Jke.css +0 -2007
- package/dist/assets/useKeybindings-qOhJshmS.js +0 -3627
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { fw as require_arrayMap, fx as require_baseIteratee, fy as require_basePickBy, fz as require_getAllKeysIn, bN as getDefaultExportFromCjs } from "./index-RWrva8Ef.js";
|
|
2
2
|
var pickBy_1;
|
|
3
3
|
var hasRequiredPickBy;
|
|
4
4
|
function requirePickBy() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { en as assert, eC as doesNodeHaveCredentialsToFill, V as VIEWS, dn as tryToParseNumber, eD as getNewWorkflow, eE as replaceAllTemplateNodeCredentials, ds as getNodesWithNormalizedPosition } from "./index-RWrva8Ef.js";
|
|
2
2
|
async function createWorkflowFromTemplate(opts) {
|
|
3
3
|
const { credentialOverrides, nodeTypeProvider, rootStore, template, workflowsStore } = opts;
|
|
4
4
|
const workflowData = await getNewWorkflow(rootStore.restApiContext, { name: template.name });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as useUIStore, ae as useCanvasStore, r as ref, x as computed, V as VIEWS, c as useI18n } from "./index-
|
|
1
|
+
import { T as useUIStore, ae as useCanvasStore, r as ref, x as computed, V as VIEWS, c as useI18n } from "./index-RWrva8Ef.js";
|
|
2
2
|
function useBeforeUnload({ route }) {
|
|
3
3
|
const uiStore = useUIStore();
|
|
4
4
|
const canvasStore = useCanvasStore();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as useRouter, a as useToast, a5 as useWorkflowsStore, v as useSettingsStore, T as useUIStore, am as usePageRedirectionHelper, x as computed, aq as EnterpriseEditionFeature, c as useI18n,
|
|
1
|
+
import { b as useRouter, a as useToast, a5 as useWorkflowsStore, v as useSettingsStore, T as useUIStore, am as usePageRedirectionHelper, x as computed, aq as EnterpriseEditionFeature, c as useI18n, dH as DEBUG_PAYWALL_MODAL_KEY, aN as h, dI as sanitizeHtml, aC as useMessage, aD as MODAL_CONFIRM, V as VIEWS, aA as useTelemetry, ad as useRootStore, dJ as isFullExecutionResponse } from "./index-RWrva8Ef.js";
|
|
2
2
|
const useExecutionDebugging = () => {
|
|
3
3
|
const telemetry = useTelemetry();
|
|
4
4
|
const router = useRouter();
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { gp as process$1, gq as requirePathBrowserify, gr as require$$0, bN as getDefaultExportFromCjs, gs as Buffer, a as useToast, l as unref, en as assert, gt as CURL_IMPORT_NOT_SUPPORTED_PROTOCOLS, gu as importCurlEventBus, gv as CURL_IMPORT_NODES_PROTOCOLS, c as useI18n, bu as get } from "./index-RWrva8Ef.js";
|
|
2
2
|
import { c as commonjsRequire } from "./_commonjs-dynamic-modules-TGKdzP3c.js";
|
|
3
|
-
import { i as importCurlEventBus } from "./import-curl-DaYg25pW.js";
|
|
4
3
|
class CCError extends Error {
|
|
5
4
|
}
|
|
6
5
|
const UTF8encoder = new TextEncoder();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a6 as useRoute, x as computed, V as VIEWS,
|
|
1
|
+
import { a6 as useRoute, x as computed, V as VIEWS, cZ as reactive } from "./index-RWrva8Ef.js";
|
|
2
2
|
const useProjectPages = () => {
|
|
3
3
|
const route = useRoute();
|
|
4
4
|
const isOverviewSubPage = computed(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as globalLinkActionsEventBus } from "./global-link-actions-
|
|
3
|
-
import { u as useAITemplatesStarterCollectionStore } from "./aiTemplatesStarterCollection.store-
|
|
1
|
+
import { eU as makeRestApiRequest, a5 as useWorkflowsStore, T as useUIStore, eV as clearPopupWindowState, dl as getEasyAiWorkflowJson, aA as useTelemetry, cg as parse, eW as hasTrimmedItem, v as useSettingsStore, ak as useWorkflowSaving, al as useWorkflowHelpers, aE as WORKFLOW_SETTINGS_MODAL_KEY, a as useToast, eX as generateNodesGraph, c as useI18n, eY as getExecutionErrorToastConfiguration, bK as useNodeTypesStore, eZ as getTriggerNodeServiceName, bF as useNodeHelpers, e_ as hasTrimmedData, bg as useExternalHooks, e$ as codeNodeEditorEventBus, db as EVALUATION_TRIGGER_NODE_TYPE, bG as useRunWorkflow, f0 as getExecutionErrorMessage, c$ as useCredentialsStore, f1 as useAssistantStore, f2 as useSchemaPreviewStore, f3 as isCommunityPackageName, a3 as defineStore, ad as useRootStore, a4 as usePushConnectionStore, r as ref } from "./index-RWrva8Ef.js";
|
|
2
|
+
import { g as globalLinkActionsEventBus } from "./global-link-actions-Db7BnGRk.js";
|
|
3
|
+
import { u as useAITemplatesStarterCollectionStore } from "./aiTemplatesStarterCollection.store-DH0nmNfV.js";
|
|
4
4
|
var GET_STATUS_ENDPOINT = "/orchestration/worker/status";
|
|
5
5
|
var sendGetWorkerStatus = async (context) => {
|
|
6
6
|
await makeRestApiRequest(context, "POST", GET_STATUS_ENDPOINT);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ref, b as useRouter, al as useWorkflowHelpers, ak as useWorkflowSaving, a5 as useWorkflowsStore, T as useUIStore, a as useToast, ai as useNpsSurveyStore, a7 as PLACEHOLDER_EMPTY_WORKFLOW_ID,
|
|
1
|
+
import { r as ref, b as useRouter, al as useWorkflowHelpers, ak as useWorkflowSaving, a5 as useWorkflowsStore, T as useUIStore, a as useToast, ai as useNpsSurveyStore, a7 as PLACEHOLDER_EMPTY_WORKFLOW_ID, aA as useTelemetry, bg as useExternalHooks, c as useI18n, b7 as useStorage, fb as LOCAL_STORAGE_ACTIVATION_FLAG, fc as WORKFLOW_ACTIVE_MODAL_KEY } from "./index-RWrva8Ef.js";
|
|
2
2
|
function useWorkflowActivate() {
|
|
3
3
|
const updatingWorkflowActivation = ref(false);
|
|
4
4
|
const router = useRouter();
|
package/dist/index.html
CHANGED
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
8
8
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
9
9
|
<link rel="icon" href="/{{BASE_PATH}}/favicon.ico" />
|
|
10
|
-
<
|
|
11
|
-
<
|
|
12
|
-
<script
|
|
10
|
+
<script src="/{{BASE_PATH}}/{{REST_ENDPOINT}}/config.js"></script>
|
|
11
|
+
<link rel="stylesheet" href="/{{BASE_PATH}}/static/prefers-color-scheme.css">
|
|
12
|
+
<script src="/{{BASE_PATH}}/static/base-path.js" type="text/javascript"></script>
|
|
13
|
+
<script src="/{{BASE_PATH}}/static/posthog.init.js" type="text/javascript"></script>
|
|
13
14
|
|
|
14
15
|
<title>n8n.io - Workflow Automation</title>
|
|
15
|
-
<script type="module" crossorigin src="/{{BASE_PATH}}/assets/index-
|
|
16
|
-
<link rel="stylesheet" crossorigin href="/{{BASE_PATH}}/assets/index-
|
|
16
|
+
<script type="module" crossorigin src="/{{BASE_PATH}}/assets/index-RWrva8Ef.js"></script>
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/{{BASE_PATH}}/assets/index-BwGKZdwg.css">
|
|
17
18
|
</head>
|
|
18
19
|
<body>
|
|
19
20
|
<noscript>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
window.BASE_PATH = '/{{BASE_PATH}}/';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
!(function (t, e) {
|
|
2
|
+
var o, n, p, r;
|
|
3
|
+
e.__SV ||
|
|
4
|
+
((window.posthog = e),
|
|
5
|
+
(e._i = []),
|
|
6
|
+
(e.init = function (i, s, a) {
|
|
7
|
+
function g(t, e) {
|
|
8
|
+
var o = e.split('.');
|
|
9
|
+
2 == o.length && ((t = t[o[0]]), (e = o[1])),
|
|
10
|
+
(t[e] = function () {
|
|
11
|
+
t.push([e].concat(Array.prototype.slice.call(arguments, 0)));
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
((p = t.createElement('script')).type = 'text/javascript'),
|
|
15
|
+
(p.async = !0),
|
|
16
|
+
(p.src = s.api_host + '/static/array.js'),
|
|
17
|
+
(r = t.getElementsByTagName('script')[0]).parentNode.insertBefore(p, r);
|
|
18
|
+
var u = e;
|
|
19
|
+
for (
|
|
20
|
+
void 0 !== a ? (u = e[a] = []) : (a = 'posthog'),
|
|
21
|
+
u.people = u.people || [],
|
|
22
|
+
u.toString = function (t) {
|
|
23
|
+
var e = 'posthog';
|
|
24
|
+
return 'posthog' !== a && (e += '.' + a), t || (e += ' (stub)'), e;
|
|
25
|
+
},
|
|
26
|
+
u.people.toString = function () {
|
|
27
|
+
return u.toString(1) + '.people (stub)';
|
|
28
|
+
},
|
|
29
|
+
o =
|
|
30
|
+
'capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled getFeatureFlag onFeatureFlags reloadFeatureFlags'.split(
|
|
31
|
+
' ',
|
|
32
|
+
),
|
|
33
|
+
n = 0;
|
|
34
|
+
n < o.length;
|
|
35
|
+
n++
|
|
36
|
+
)
|
|
37
|
+
g(u, o[n]);
|
|
38
|
+
e._i.push([i, s, a]);
|
|
39
|
+
}),
|
|
40
|
+
(e.__SV = 1));
|
|
41
|
+
})(document, window.posthog || []);
|
package/index.html
CHANGED
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
|
7
7
|
<link rel="icon" href="/favicon.ico" />
|
|
8
|
-
<style>@media (prefers-color-scheme: dark) { body { background-color: rgb(45, 46, 46) } }</style>
|
|
9
8
|
%CONFIG_SCRIPT%
|
|
10
|
-
<
|
|
9
|
+
<link rel="stylesheet" href="/{{BASE_PATH}}/static/prefers-color-scheme.css">
|
|
10
|
+
<script src="/{{BASE_PATH}}/static/base-path.js" type="text/javascript"></script>
|
|
11
|
+
<script src="/{{BASE_PATH}}/static/posthog.init.js" type="text/javascript"></script>
|
|
11
12
|
|
|
12
13
|
<title>n8n.io - Workflow Automation</title>
|
|
13
14
|
</head>
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED
package/vite.config.mts
CHANGED
|
@@ -126,7 +126,7 @@ const plugins: UserConfig['plugins'] = [
|
|
|
126
126
|
transformIndexHtml: (html, ctx) => {
|
|
127
127
|
const replacement = ctx.server
|
|
128
128
|
? '' // Skip when using Vite dev server
|
|
129
|
-
: '<script src="/{{REST_ENDPOINT}}/config.js"></script>';
|
|
129
|
+
: '<script src="/{{BASE_PATH}}/{{REST_ENDPOINT}}/config.js"></script>';
|
|
130
130
|
|
|
131
131
|
return html.replace('%CONFIG_SCRIPT%', replacement);
|
|
132
132
|
},
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
/* BEM support Func
|
|
2
|
-
-------------------------- */
|
|
3
|
-
/* Transition
|
|
4
|
-
-------------------------- */
|
|
5
|
-
/* Color
|
|
6
|
-
-------------------------- */
|
|
7
|
-
/* Link
|
|
8
|
-
-------------------------- */
|
|
9
|
-
/* Border
|
|
10
|
-
-------------------------- */
|
|
11
|
-
/* Outline
|
|
12
|
-
-------------------------- */
|
|
13
|
-
/* Box shadow
|
|
14
|
-
-------------------------- */
|
|
15
|
-
/* Fill
|
|
16
|
-
-------------------------- */
|
|
17
|
-
/* Typography
|
|
18
|
-
-------------------------- */
|
|
19
|
-
/* z-index
|
|
20
|
-
-------------------------- */
|
|
21
|
-
/* Disable base
|
|
22
|
-
-------------------------- */
|
|
23
|
-
/* Icon
|
|
24
|
-
-------------------------- */
|
|
25
|
-
/* Checkbox
|
|
26
|
-
-------------------------- */
|
|
27
|
-
/* Radio
|
|
28
|
-
-------------------------- */
|
|
29
|
-
/* Select
|
|
30
|
-
-------------------------- */
|
|
31
|
-
/* Alert
|
|
32
|
-
-------------------------- */
|
|
33
|
-
/* MessageBox
|
|
34
|
-
-------------------------- */
|
|
35
|
-
/* Message
|
|
36
|
-
-------------------------- */
|
|
37
|
-
/* Notification
|
|
38
|
-
-------------------------- */
|
|
39
|
-
/* Input
|
|
40
|
-
-------------------------- */
|
|
41
|
-
/* Cascader
|
|
42
|
-
-------------------------- */
|
|
43
|
-
/* Group
|
|
44
|
-
-------------------------- */
|
|
45
|
-
/* Tab
|
|
46
|
-
-------------------------- */
|
|
47
|
-
/* Button
|
|
48
|
-
-------------------------- */
|
|
49
|
-
/* cascader
|
|
50
|
-
-------------------------- */
|
|
51
|
-
/* Switch
|
|
52
|
-
-------------------------- */
|
|
53
|
-
/* Dialog
|
|
54
|
-
-------------------------- */
|
|
55
|
-
/* Table
|
|
56
|
-
-------------------------- */
|
|
57
|
-
/* Pagination
|
|
58
|
-
-------------------------- */
|
|
59
|
-
/* Popup
|
|
60
|
-
-------------------------- */
|
|
61
|
-
/* Popover
|
|
62
|
-
-------------------------- */
|
|
63
|
-
/* Tooltip
|
|
64
|
-
-------------------------- */
|
|
65
|
-
/* Tag
|
|
66
|
-
-------------------------- */
|
|
67
|
-
/* Tree
|
|
68
|
-
-------------------------- */
|
|
69
|
-
/* Dropdown
|
|
70
|
-
-------------------------- */
|
|
71
|
-
/* Badge
|
|
72
|
-
-------------------------- */
|
|
73
|
-
/* Card
|
|
74
|
-
--------------------------*/
|
|
75
|
-
/* Slider
|
|
76
|
-
--------------------------*/
|
|
77
|
-
/* Steps
|
|
78
|
-
--------------------------*/
|
|
79
|
-
/* Menu
|
|
80
|
-
--------------------------*/
|
|
81
|
-
/* Rate
|
|
82
|
-
--------------------------*/
|
|
83
|
-
/* DatePicker
|
|
84
|
-
--------------------------*/
|
|
85
|
-
/* Loading
|
|
86
|
-
--------------------------*/
|
|
87
|
-
/* Scrollbar
|
|
88
|
-
--------------------------*/
|
|
89
|
-
/* Carousel
|
|
90
|
-
--------------------------*/
|
|
91
|
-
/* Collapse
|
|
92
|
-
--------------------------*/
|
|
93
|
-
/* Transfer
|
|
94
|
-
--------------------------*/
|
|
95
|
-
/* Header
|
|
96
|
-
--------------------------*/
|
|
97
|
-
/* Footer
|
|
98
|
-
--------------------------*/
|
|
99
|
-
/* Main
|
|
100
|
-
--------------------------*/
|
|
101
|
-
/* Timeline
|
|
102
|
-
--------------------------*/
|
|
103
|
-
/* Backtop
|
|
104
|
-
--------------------------*/
|
|
105
|
-
/* Link
|
|
106
|
-
--------------------------*/
|
|
107
|
-
/* Calendar
|
|
108
|
-
--------------------------*/
|
|
109
|
-
/* Form
|
|
110
|
-
-------------------------- */
|
|
111
|
-
/* Avatar
|
|
112
|
-
--------------------------*/
|
|
113
|
-
/* Break-point
|
|
114
|
-
--------------------------*/
|
|
115
|
-
/* Break-points
|
|
116
|
-
-------------------------- */
|
|
117
|
-
/* Scrollbar
|
|
118
|
-
-------------------------- */
|
|
119
|
-
/* Placeholder
|
|
120
|
-
-------------------------- */
|
|
121
|
-
/* BEM
|
|
122
|
-
-------------------------- */
|
|
123
|
-
.el-dropdown__list ._userActionsMenu_1bu0w_123 {
|
|
124
|
-
min-width: 160px;
|
|
125
|
-
padding: var(--spacing-4xs) 0;
|
|
126
|
-
}
|
|
127
|
-
.el-dropdown__list ._elementItem_1bu0w_127 {
|
|
128
|
-
padding: 0;
|
|
129
|
-
}
|
|
130
|
-
.el-popper._hideArrow_1bu0w_131 .el-popper__arrow {
|
|
131
|
-
display: none;
|
|
132
|
-
}
|
|
133
|
-
._shadow_1bu0w_135 {
|
|
134
|
-
-webkit-box-shadow: var(--box-shadow-light);
|
|
135
|
-
box-shadow: var(--box-shadow-light);
|
|
136
|
-
}
|
|
137
|
-
._activator_1bu0w_139:hover {
|
|
138
|
-
background-color: var(--color-background-base);
|
|
139
|
-
}
|
|
140
|
-
._itemContainer_1bu0w_143 {
|
|
141
|
-
display: -webkit-box;
|
|
142
|
-
display: -ms-flexbox;
|
|
143
|
-
display: flex;
|
|
144
|
-
-webkit-box-align: center;
|
|
145
|
-
-ms-flex-align: center;
|
|
146
|
-
align-items: center;
|
|
147
|
-
gap: var(--spacing-s);
|
|
148
|
-
-webkit-box-pack: justify;
|
|
149
|
-
-ms-flex-pack: justify;
|
|
150
|
-
justify-content: space-between;
|
|
151
|
-
font-size: var(--font-size-2xs);
|
|
152
|
-
line-height: 18px;
|
|
153
|
-
padding: var(--spacing-3xs) var(--spacing-2xs);
|
|
154
|
-
}
|
|
155
|
-
._itemContainer_1bu0w_143._disabled_1bu0w_152 ._shortcut_1bu0w_152 {
|
|
156
|
-
opacity: 0.3;
|
|
157
|
-
}
|
|
158
|
-
._icon_1bu0w_156 {
|
|
159
|
-
text-align: center;
|
|
160
|
-
margin-right: var(--spacing-2xs);
|
|
161
|
-
}
|
|
162
|
-
._icon_1bu0w_156 svg {
|
|
163
|
-
width: 1.2em !important;
|
|
164
|
-
}
|
|
165
|
-
._shortcut_1bu0w_152 {
|
|
166
|
-
display: -webkit-box;
|
|
167
|
-
display: -ms-flexbox;
|
|
168
|
-
display: flex;
|
|
169
|
-
}
|
|
170
|
-
li.is-disabled ._hasCustomStyling_1bu0w_168 {
|
|
171
|
-
color: inherit !important;
|
|
172
|
-
}
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { d as defineComponent, c1 as useAttrs, ac as useCssModule, r as ref, x as computed, h as createElementBlock, g as openBlock, n as normalizeClass, l as unref, i as createVNode, E as ElDropdown, w as withCtx, J as renderSlot, e as createBlock, a0 as _sfc_main$1, A as ElDropdownMenu, F as Fragment, y as renderList, j as createBaseVNode, f as createCommentVNode, N as N8nIcon, k as createTextVNode, t as toDisplayString, D as mergeProps, aw as N8nBadge, g8 as N8nKeyboardShortcut, B as ElDropdownItem, _ as _export_sfc } from "./index-CH1Gwq1G.js";
|
|
2
|
-
const _hoisted_1 = ["data-test-id"];
|
|
3
|
-
const _hoisted_2 = { key: 2 };
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "ActionDropdown",
|
|
6
|
-
props: {
|
|
7
|
-
items: {},
|
|
8
|
-
placement: { default: "bottom" },
|
|
9
|
-
activatorIcon: { default: "ellipsis" },
|
|
10
|
-
activatorSize: { default: "medium" },
|
|
11
|
-
iconSize: { default: "medium" },
|
|
12
|
-
trigger: { default: "click" },
|
|
13
|
-
hideArrow: { type: Boolean, default: false },
|
|
14
|
-
teleported: { type: Boolean, default: true },
|
|
15
|
-
disabled: { type: Boolean, default: false }
|
|
16
|
-
},
|
|
17
|
-
emits: ["select", "visibleChange"],
|
|
18
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
19
|
-
const props = __props;
|
|
20
|
-
const attrs = useAttrs();
|
|
21
|
-
const testIdPrefix = attrs["data-test-id"];
|
|
22
|
-
const $style = useCssModule();
|
|
23
|
-
const getItemClasses = (item) => {
|
|
24
|
-
return {
|
|
25
|
-
[$style.itemContainer]: true,
|
|
26
|
-
[$style.disabled]: !!item.disabled,
|
|
27
|
-
[$style.hasCustomStyling]: item.customClass !== void 0,
|
|
28
|
-
...item.customClass !== void 0 ? { [item.customClass]: true } : {}
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
const emit = __emit;
|
|
32
|
-
const elementDropdown = ref();
|
|
33
|
-
const popperClass = computed(
|
|
34
|
-
() => `${$style.shadow}${props.hideArrow ? ` ${$style.hideArrow}` : ""}`
|
|
35
|
-
);
|
|
36
|
-
const onSelect = (action) => emit("select", action);
|
|
37
|
-
const onVisibleChange = (open2) => emit("visibleChange", open2);
|
|
38
|
-
const onButtonBlur = (event) => {
|
|
39
|
-
if (elementDropdown.value?.handleClose && event.relatedTarget === null) {
|
|
40
|
-
elementDropdown.value.handleClose();
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
const open = () => elementDropdown.value?.handleOpen();
|
|
44
|
-
const close = () => elementDropdown.value?.handleClose();
|
|
45
|
-
__expose({ open, close });
|
|
46
|
-
return (_ctx, _cache) => {
|
|
47
|
-
return openBlock(), createElementBlock("div", {
|
|
48
|
-
class: normalizeClass(["action-dropdown-container", unref($style).actionDropdownContainer])
|
|
49
|
-
}, [
|
|
50
|
-
createVNode(unref(ElDropdown), {
|
|
51
|
-
ref_key: "elementDropdown",
|
|
52
|
-
ref: elementDropdown,
|
|
53
|
-
placement: _ctx.placement,
|
|
54
|
-
trigger: _ctx.trigger,
|
|
55
|
-
"popper-class": popperClass.value,
|
|
56
|
-
teleported: _ctx.teleported,
|
|
57
|
-
disabled: _ctx.disabled,
|
|
58
|
-
onCommand: onSelect,
|
|
59
|
-
onVisibleChange
|
|
60
|
-
}, {
|
|
61
|
-
dropdown: withCtx(() => [
|
|
62
|
-
createVNode(unref(ElDropdownMenu), {
|
|
63
|
-
class: normalizeClass(unref($style).userActionsMenu)
|
|
64
|
-
}, {
|
|
65
|
-
default: withCtx(() => [
|
|
66
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item) => {
|
|
67
|
-
return openBlock(), createBlock(unref(ElDropdownItem), {
|
|
68
|
-
key: item.id,
|
|
69
|
-
command: item.id,
|
|
70
|
-
disabled: item.disabled,
|
|
71
|
-
divided: item.divided,
|
|
72
|
-
class: normalizeClass(unref($style).elementItem)
|
|
73
|
-
}, {
|
|
74
|
-
default: withCtx(() => [
|
|
75
|
-
createBaseVNode("div", {
|
|
76
|
-
class: normalizeClass(getItemClasses(item)),
|
|
77
|
-
"data-test-id": `${unref(testIdPrefix)}-item-${item.id}`
|
|
78
|
-
}, [
|
|
79
|
-
item.icon ? (openBlock(), createElementBlock("span", {
|
|
80
|
-
key: 0,
|
|
81
|
-
class: normalizeClass(unref($style).icon)
|
|
82
|
-
}, [
|
|
83
|
-
createVNode(unref(N8nIcon), {
|
|
84
|
-
icon: item.icon,
|
|
85
|
-
size: _ctx.iconSize
|
|
86
|
-
}, null, 8, ["icon", "size"])
|
|
87
|
-
], 2)) : createCommentVNode("", true),
|
|
88
|
-
createBaseVNode("span", {
|
|
89
|
-
class: normalizeClass(unref($style).label)
|
|
90
|
-
}, [
|
|
91
|
-
renderSlot(_ctx.$slots, "menuItem", mergeProps({ ref_for: true }, item), () => [
|
|
92
|
-
createTextVNode(toDisplayString(item.label), 1)
|
|
93
|
-
])
|
|
94
|
-
], 2),
|
|
95
|
-
item.checked ? (openBlock(), createBlock(unref(N8nIcon), {
|
|
96
|
-
key: 1,
|
|
97
|
-
icon: "check",
|
|
98
|
-
size: _ctx.iconSize
|
|
99
|
-
}, null, 8, ["size"])) : createCommentVNode("", true),
|
|
100
|
-
item.badge ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
|
101
|
-
createVNode(unref(N8nBadge), mergeProps({
|
|
102
|
-
theme: "primary",
|
|
103
|
-
size: "xsmall",
|
|
104
|
-
ref_for: true
|
|
105
|
-
}, item.badgeProps), {
|
|
106
|
-
default: withCtx(() => [
|
|
107
|
-
createTextVNode(toDisplayString(item.badge), 1)
|
|
108
|
-
]),
|
|
109
|
-
_: 2
|
|
110
|
-
}, 1040)
|
|
111
|
-
])) : createCommentVNode("", true),
|
|
112
|
-
item.shortcut ? (openBlock(), createBlock(unref(N8nKeyboardShortcut), mergeProps({
|
|
113
|
-
key: 3,
|
|
114
|
-
ref_for: true
|
|
115
|
-
}, item.shortcut, {
|
|
116
|
-
class: unref($style).shortcut
|
|
117
|
-
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
118
|
-
], 10, _hoisted_1)
|
|
119
|
-
]),
|
|
120
|
-
_: 2
|
|
121
|
-
}, 1032, ["command", "disabled", "divided", "class"]);
|
|
122
|
-
}), 128))
|
|
123
|
-
]),
|
|
124
|
-
_: 3
|
|
125
|
-
}, 8, ["class"])
|
|
126
|
-
]),
|
|
127
|
-
default: withCtx(() => [
|
|
128
|
-
_ctx.$slots.activator ? renderSlot(_ctx.$slots, "activator", { key: 0 }) : (openBlock(), createBlock(unref(_sfc_main$1), {
|
|
129
|
-
key: 1,
|
|
130
|
-
type: "tertiary",
|
|
131
|
-
text: "",
|
|
132
|
-
class: normalizeClass(unref($style).activator),
|
|
133
|
-
size: _ctx.activatorSize,
|
|
134
|
-
icon: _ctx.activatorIcon,
|
|
135
|
-
onBlur: onButtonBlur
|
|
136
|
-
}, null, 8, ["class", "size", "icon"]))
|
|
137
|
-
]),
|
|
138
|
-
_: 3
|
|
139
|
-
}, 8, ["placement", "trigger", "popper-class", "teleported", "disabled"])
|
|
140
|
-
], 2);
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
const userActionsMenu = "_userActionsMenu_1bu0w_123";
|
|
145
|
-
const elementItem = "_elementItem_1bu0w_127";
|
|
146
|
-
const hideArrow = "_hideArrow_1bu0w_131";
|
|
147
|
-
const shadow = "_shadow_1bu0w_135";
|
|
148
|
-
const activator = "_activator_1bu0w_139";
|
|
149
|
-
const itemContainer = "_itemContainer_1bu0w_143";
|
|
150
|
-
const disabled = "_disabled_1bu0w_152";
|
|
151
|
-
const shortcut = "_shortcut_1bu0w_152";
|
|
152
|
-
const icon = "_icon_1bu0w_156";
|
|
153
|
-
const hasCustomStyling = "_hasCustomStyling_1bu0w_168";
|
|
154
|
-
const style0 = {
|
|
155
|
-
userActionsMenu,
|
|
156
|
-
elementItem,
|
|
157
|
-
hideArrow,
|
|
158
|
-
shadow,
|
|
159
|
-
activator,
|
|
160
|
-
itemContainer,
|
|
161
|
-
disabled,
|
|
162
|
-
shortcut,
|
|
163
|
-
icon,
|
|
164
|
-
hasCustomStyling
|
|
165
|
-
};
|
|
166
|
-
const cssModules = {
|
|
167
|
-
"$style": style0
|
|
168
|
-
};
|
|
169
|
-
const N8nActionDropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
170
|
-
export {
|
|
171
|
-
N8nActionDropdown as N
|
|
172
|
-
};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { gZ as commonjsGlobal } from "./index-CH1Gwq1G.js";
|
|
2
|
-
var FileSaver_min$1 = { exports: {} };
|
|
3
|
-
var FileSaver_min = FileSaver_min$1.exports;
|
|
4
|
-
var hasRequiredFileSaver_min;
|
|
5
|
-
function requireFileSaver_min() {
|
|
6
|
-
if (hasRequiredFileSaver_min) return FileSaver_min$1.exports;
|
|
7
|
-
hasRequiredFileSaver_min = 1;
|
|
8
|
-
(function(module, exports) {
|
|
9
|
-
(function(a, b) {
|
|
10
|
-
b();
|
|
11
|
-
})(FileSaver_min, function() {
|
|
12
|
-
function b(a2, b2) {
|
|
13
|
-
return "undefined" == typeof b2 ? b2 = { autoBom: false } : "object" != typeof b2 && (console.warn("Deprecated: Expected third argument to be a object"), b2 = { autoBom: !b2 }), b2.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a2.type) ? new Blob(["\uFEFF", a2], { type: a2.type }) : a2;
|
|
14
|
-
}
|
|
15
|
-
function c(a2, b2, c2) {
|
|
16
|
-
var d2 = new XMLHttpRequest();
|
|
17
|
-
d2.open("GET", a2), d2.responseType = "blob", d2.onload = function() {
|
|
18
|
-
g(d2.response, b2, c2);
|
|
19
|
-
}, d2.onerror = function() {
|
|
20
|
-
console.error("could not download file");
|
|
21
|
-
}, d2.send();
|
|
22
|
-
}
|
|
23
|
-
function d(a2) {
|
|
24
|
-
var b2 = new XMLHttpRequest();
|
|
25
|
-
b2.open("HEAD", a2, false);
|
|
26
|
-
try {
|
|
27
|
-
b2.send();
|
|
28
|
-
} catch (a3) {
|
|
29
|
-
}
|
|
30
|
-
return 200 <= b2.status && 299 >= b2.status;
|
|
31
|
-
}
|
|
32
|
-
function e(a2) {
|
|
33
|
-
try {
|
|
34
|
-
a2.dispatchEvent(new MouseEvent("click"));
|
|
35
|
-
} catch (c2) {
|
|
36
|
-
var b2 = document.createEvent("MouseEvents");
|
|
37
|
-
b2.initMouseEvent("click", true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null), a2.dispatchEvent(b2);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
var f = "object" == typeof window && window.window === window ? window : "object" == typeof self && self.self === self ? self : "object" == typeof commonjsGlobal && commonjsGlobal.global === commonjsGlobal ? commonjsGlobal : void 0, a = f.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), g = f.saveAs || ("object" != typeof window || window !== f ? function() {
|
|
41
|
-
} : "download" in HTMLAnchorElement.prototype && !a ? function(b2, g2, h) {
|
|
42
|
-
var i = f.URL || f.webkitURL, j = document.createElement("a");
|
|
43
|
-
g2 = g2 || b2.name || "download", j.download = g2, j.rel = "noopener", "string" == typeof b2 ? (j.href = b2, j.origin === location.origin ? e(j) : d(j.href) ? c(b2, g2, h) : e(j, j.target = "_blank")) : (j.href = i.createObjectURL(b2), setTimeout(function() {
|
|
44
|
-
i.revokeObjectURL(j.href);
|
|
45
|
-
}, 4e4), setTimeout(function() {
|
|
46
|
-
e(j);
|
|
47
|
-
}, 0));
|
|
48
|
-
} : "msSaveOrOpenBlob" in navigator ? function(f2, g2, h) {
|
|
49
|
-
if (g2 = g2 || f2.name || "download", "string" != typeof f2) navigator.msSaveOrOpenBlob(b(f2, h), g2);
|
|
50
|
-
else if (d(f2)) c(f2, g2, h);
|
|
51
|
-
else {
|
|
52
|
-
var i = document.createElement("a");
|
|
53
|
-
i.href = f2, i.target = "_blank", setTimeout(function() {
|
|
54
|
-
e(i);
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
} : function(b2, d2, e2, g2) {
|
|
58
|
-
if (g2 = g2 || open("", "_blank"), g2 && (g2.document.title = g2.document.body.innerText = "downloading..."), "string" == typeof b2) return c(b2, d2, e2);
|
|
59
|
-
var h = "application/octet-stream" === b2.type, i = /constructor/i.test(f.HTMLElement) || f.safari, j = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
60
|
-
if ((j || h && i || a) && "undefined" != typeof FileReader) {
|
|
61
|
-
var k = new FileReader();
|
|
62
|
-
k.onloadend = function() {
|
|
63
|
-
var a2 = k.result;
|
|
64
|
-
a2 = j ? a2 : a2.replace(/^data:[^;]*;/, "data:attachment/file;"), g2 ? g2.location.href = a2 : location = a2, g2 = null;
|
|
65
|
-
}, k.readAsDataURL(b2);
|
|
66
|
-
} else {
|
|
67
|
-
var l = f.URL || f.webkitURL, m = l.createObjectURL(b2);
|
|
68
|
-
g2 ? g2.location = m : location.href = m, g2 = null, setTimeout(function() {
|
|
69
|
-
l.revokeObjectURL(m);
|
|
70
|
-
}, 4e4);
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
f.saveAs = g.saveAs = g, module.exports = g;
|
|
74
|
-
});
|
|
75
|
-
})(FileSaver_min$1);
|
|
76
|
-
return FileSaver_min$1.exports;
|
|
77
|
-
}
|
|
78
|
-
var FileSaver_minExports = requireFileSaver_min();
|
|
79
|
-
export {
|
|
80
|
-
FileSaver_minExports as F
|
|
81
|
-
};
|