n8n-editor-ui 1.104.1 → 1.105.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.
Files changed (125) hide show
  1. package/dist/assets/{AnimatedSpinner-D6j3zAN7.js → AnimatedSpinner-CiVjnVTs.js} +1 -1
  2. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CeptN1qB.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-Duv062St.js} +1 -1
  3. package/dist/assets/{AuthView-DdzGr3if.js → AuthView-Dpa-SRT8.js} +2 -2
  4. package/dist/assets/{ChangePasswordView-CLbLuldY.js → ChangePasswordView-CB9uaGfm.js} +3 -3
  5. package/dist/assets/CollectionParameter-oBzQ1Hh-.js +4 -0
  6. package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-DwQ0BmLY.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-DIcGPKiM.js} +1 -1
  7. package/dist/assets/{CredentialsView-Cbm8N2D-.js → CredentialsView-AW9gSm0C.js} +8 -8
  8. package/dist/assets/{DemoFooter-DlHqx3Wb.js → DemoFooter-DybJBgCY.js} +6 -9
  9. package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-Dymz7mm-.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-GcMQ_YdZ.js} +1 -1
  10. package/dist/assets/{EntityNotFound-CmBDOsai.js → EntityNotFound-Bi2pl54e.js} +1 -1
  11. package/dist/assets/{EntityUnAuthorised-CNPmvmZu.js → EntityUnAuthorised-HDf2HNt2.js} +1 -1
  12. package/dist/assets/{ErrorView-BqgIhqko.js → ErrorView-BPodDJdx.js} +1 -1
  13. package/dist/assets/{EvaluationsRootView-B6RDbMu9.js → EvaluationsRootView-pO4cP-Fb.js} +1 -1
  14. package/dist/assets/{EvaluationsView-nr07_JFX.js → EvaluationsView-CI108a8E.js} +3 -3
  15. package/dist/assets/{ExecutionsTime-Bo7IOE5K.css → ExecutionsTime-etWexlXm.css} +6 -6
  16. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-Ci1SWv1r.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-CGxPzqoO.js} +23 -30
  17. package/dist/assets/{ExecutionsView-L8QB4qb-.js → ExecutionsView-BaQKVP7R.js} +8 -9
  18. package/dist/assets/{FixedCollectionParameter-BMsoLNRT.js → FixedCollectionParameter-BpCwKUsj.js} +1 -1
  19. package/dist/assets/{ForgotMyPasswordView-BYKQXHHe.js → ForgotMyPasswordView-CPC4cOzo.js} +3 -3
  20. package/dist/assets/{InfoAccordion-DN17_QNh.js → InfoAccordion-M_n3OwQC.js} +1 -1
  21. package/dist/assets/{InsightsChartAverageRuntime-DX6MWomC.js → InsightsChartAverageRuntime-CECRGvo9.js} +4 -4
  22. package/dist/assets/{InsightsChartFailed-D1ITW7ip.js → InsightsChartFailed-CTysIk94.js} +4 -4
  23. package/dist/assets/{InsightsChartFailureRate-DsoCFhrx.js → InsightsChartFailureRate-LYCt3dgO.js} +4 -4
  24. package/dist/assets/{InsightsChartTimeSaved-Cwb0-EZ1.js → InsightsChartTimeSaved-msRVtM_g.js} +4 -4
  25. package/dist/assets/{InsightsChartTotal-B-SjjDG4.js → InsightsChartTotal-B_SUDPoP.js} +4 -4
  26. package/dist/assets/{InsightsDashboard-DEaMMGfn.js → InsightsDashboard-CEgagMwD.js} +10 -10
  27. package/dist/assets/{InsightsPaywall-BsiLaxNd.js → InsightsPaywall-EnxDs7BF.js} +1 -1
  28. package/dist/assets/{InsightsSummary-hBcY77J_.js → InsightsSummary-DWzNYCfc.js} +1 -1
  29. package/dist/assets/{InsightsTableWorkflows-D9vFPmUm.js → InsightsTableWorkflows-Dl55NtXk.js} +5 -5
  30. package/dist/assets/{Logo-D-nqGbZ-.js → Logo-MNn4rP0b.js} +1 -1
  31. package/dist/assets/{LogsPanel-D0xdq4fV.css → LogsPanel-B-Tmod-K.css} +25 -22
  32. package/dist/assets/{LogsPanel-D0QGW50a.js → LogsPanel-DN3BXSh7.js} +209 -51
  33. package/dist/assets/{MainHeader-QpSmh7DV.js → MainHeader-F9ONi2FH.js} +8 -10
  34. package/dist/assets/{MainSidebar-Dndr9Vcx.js → MainSidebar-Bf58ZTkX.js} +2 -3
  35. package/dist/assets/{N8nDataTableServer-B4Gq_Urn.js → N8nDataTableServer-PFDwZhpw.js} +1 -1
  36. package/dist/assets/{NodeCreation-CRGHu2mV.js → NodeCreation-B9FRFHG0.js} +16 -13
  37. package/dist/assets/{NodeCreator-BvleRmX-.js → NodeCreator-nBzvpVJI.js} +11 -20
  38. package/dist/assets/{NodeDetailsView-xvbRzTfv.js → NodeDetailsView-CQQOZQXq.js} +13 -17
  39. package/dist/assets/{NodeDetailsViewV2-CBY4UJcE.js → NodeDetailsViewV2-DKnduvJH.js} +27 -31
  40. package/dist/assets/{NodeDetailsViewV2-BxNx4ZUM.css → NodeDetailsViewV2-LLVofUjw.css} +21 -19
  41. package/dist/assets/NodeView-B2097MY0.css +852 -0
  42. package/dist/assets/NodeView-rsVaGRIZ.js +2684 -0
  43. package/dist/assets/{ProjectHeader-0NxiEwQl.js → ProjectHeader-B8m2WaGw.js} +2 -2
  44. package/dist/assets/{ProjectSettings-ClM6Y9uS.js → ProjectSettings-CKIJ3B4S.js} +3 -3
  45. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-D5JeFl_d.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-D5oQ44UZ.js} +1 -1
  46. package/dist/assets/{ResourcesListLayout-BRro9C-1.js → ResourcesListLayout-G2r5AxKI.js} +3 -3
  47. package/dist/assets/{RunDataJson-12Py20Rs.js → RunDataJson-CAcnDJHh.js} +3 -6
  48. package/dist/assets/{RunDataJsonActions-BGl8YYU0.js → RunDataJsonActions-jhh18-uN.js} +13 -13
  49. package/dist/assets/{RunDataParsedAiContent-DYz5OPxJ.js → RunDataParsedAiContent-B8wa1hGI.js} +25 -11
  50. package/dist/assets/{RunDataSearch-NmwtxOjZ.js → RunDataSearch-CFmNTJ3I.js} +1 -1
  51. package/dist/assets/{RunDataTable-DJu8Ut0r.js → RunDataTable-91h3y7DT.js} +1 -2
  52. package/dist/assets/{SamlOnboarding-B5vqtns9.js → SamlOnboarding-8Gb7hf0c.js} +3 -3
  53. package/dist/assets/{SettingsApiView-DmOvPlm6.js → SettingsApiView-BozlwAdS.js} +1 -1
  54. package/dist/assets/{SettingsCommunityNodesView-DEgzWHlF.js → SettingsCommunityNodesView-RlNbis18.js} +4 -4
  55. package/dist/assets/{SettingsExternalSecrets-4VNCsQKo.js → SettingsExternalSecrets-Blou_9Mh.js} +1 -1
  56. package/dist/assets/{SettingsLdapView-BSQe5yy-.js → SettingsLdapView-wf-fX_Jl.js} +1 -1
  57. package/dist/assets/{SettingsLogStreamingView-Y-ve-MUB.js → SettingsLogStreamingView-DNaMOOjb.js} +1 -1
  58. package/dist/assets/{SettingsPersonalView-DTWO2GIc.js → SettingsPersonalView-DzYhwUgL.js} +1 -1
  59. package/dist/assets/{SettingsSourceControl-D14mBzgS.js → SettingsSourceControl-D5eiGsMG.js} +1 -1
  60. package/dist/assets/{SettingsSso-Beon1K6u.js → SettingsSso-BF8vNEd4.js} +7 -12
  61. package/dist/assets/{SettingsUsageAndPlan-hc6EFbHM.js → SettingsUsageAndPlan-Di_gUxTt.js} +1 -1
  62. package/dist/assets/{SettingsUsersView-CIzwxl6-.js → SettingsUsersView-BDNxV1rM.js} +2 -3
  63. package/dist/assets/{SettingsView-Bv-AL-MH.js → SettingsView-CAaXgrDd.js} +1 -1
  64. package/dist/assets/{SetupView-BCKg0AbF.js → SetupView-DIO89PJN.js} +3 -3
  65. package/dist/assets/{SetupWorkflowCredentialsButton-djsoNbvZ.js → SetupWorkflowCredentialsButton-y92onTNS.js} +1 -1
  66. package/dist/assets/{SetupWorkflowFromTemplateView-CZhYUSco.js → SetupWorkflowFromTemplateView-Hnqry6sO.js} +3 -3
  67. package/dist/assets/{SigninView-BPl0jjB0.js → SigninView-t0q2CjNU.js} +3 -3
  68. package/dist/assets/{SignoutView-BHPz3HFX.js → SignoutView-DjCS-jDi.js} +1 -1
  69. package/dist/assets/{SignupView-Cel8_b46.js → SignupView-BoEH4AVN.js} +3 -3
  70. package/dist/assets/{TableBase-BIT7ArUw.js → TableBase-D-1VfIgb.js} +1 -1
  71. package/dist/assets/{Tags-CQIEP_IZ.js → Tags-CnT3a0bf.js} +1 -1
  72. package/dist/assets/{TemplateDetails-B8u34j2l.js → TemplateDetails-B-tHb3Wq.js} +4 -4
  73. package/dist/assets/{TemplateList-BJSJYiHs.js → TemplateList-j7v4XLCo.js} +3 -3
  74. package/dist/assets/{TemplatesCollectionView-BCAAV1n9.js → TemplatesCollectionView-BPxSoEA5.js} +6 -6
  75. package/dist/assets/{TemplatesSearchView-CXOrNnyk.js → TemplatesSearchView-kZfygKcP.js} +3 -3
  76. package/dist/assets/{TemplatesView-1HunP4nN.js → TemplatesView-KQ5r6RZF.js} +2 -2
  77. package/dist/assets/{TemplatesWorkflowView-0enp4pR7.js → TemplatesWorkflowView-Pdm_DUrH.js} +6 -6
  78. package/dist/assets/{TriggerPanel-B-Jt4r3F.js → TriggerPanel-WYRtg2P1.js} +39 -29
  79. package/dist/assets/{TriggerPanel-DJv04feX.css → TriggerPanel-gMtmEr6n.css} +16 -13
  80. package/dist/assets/{VariablesView-mSWZzDyf.js → VariablesView-CdihBrCp.js} +5 -5
  81. package/dist/assets/{VueMarkdown-Dxf59_T_.js → VueMarkdown-CLlUve9b.js} +1 -1
  82. package/dist/assets/{WorkerView-DbqNyqok.js → WorkerView-C_q2Cgtl.js} +6 -6
  83. package/dist/assets/{WorkflowActivator-C33REd8m.js → WorkflowActivator-CDlyaU2W.js} +2 -2
  84. package/dist/assets/{WorkflowExecutionsInfoAccordion-CCe9jbiT.js → WorkflowExecutionsInfoAccordion-1aoYaoWj.js} +2 -2
  85. package/dist/assets/{WorkflowExecutionsLandingPage-DMXVsIHS.js → WorkflowExecutionsLandingPage-Cuz4EdsV.js} +3 -3
  86. package/dist/assets/{WorkflowExecutionsPreview-Dit3_l9q.js → WorkflowExecutionsPreview-BmDk9pdW.js} +7 -6
  87. package/dist/assets/{WorkflowExecutionsView-BwLTPvQ7.js → WorkflowExecutionsView-ClPpGdce.js} +6 -8
  88. package/dist/assets/{WorkflowHistory-BgNzJgze.js → WorkflowHistory-EoRsFrnu.js} +2 -3
  89. package/dist/assets/{WorkflowOnboardingView-Bnvmd6lJ.js → WorkflowOnboardingView-B4DUomvQ.js} +1 -1
  90. package/dist/assets/{WorkflowPreview-DIDMhnNP.js → WorkflowPreview-dQweS-xu.js} +1 -1
  91. package/dist/assets/{WorkflowsView-DxtULRby.js → WorkflowsView-DQJRBDtq.js} +275 -30
  92. package/dist/assets/{WorkflowsView-CyJbJBc8.css → WorkflowsView-DsJIOJ7h.css} +263 -0
  93. package/dist/assets/{aiTemplatesStarterCollection.store-DrHWcqtc.js → aiTemplatesStarterCollection.store-CTW_MDA8.js} +1 -1
  94. package/dist/assets/canvas-CMXo2Bja.js +5 -0
  95. package/dist/assets/{chartjs.utils-DQHNgzzp.js → chartjs.utils-CHvsojzm.js} +2 -2
  96. package/dist/assets/{en-BX7CKkqE.js → en-D7cJPQEa.js} +22 -2
  97. package/dist/assets/{global-link-actions-DzXrk-LO.js → global-link-actions-BxO50hoE.js} +1 -1
  98. package/dist/assets/{index-BWpYwmXd.css → index-BwGKZdwg.css} +15180 -4281
  99. package/dist/assets/{index-BmZCxv8-.js → index-DycvFkIw.js} +62280 -30323
  100. package/dist/assets/{index-x7t8iCsI.js → index-T1FYm0tg.js} +1 -1
  101. package/dist/assets/{pickBy-oHD63WOf.js → pickBy-DMiUcEKW.js} +1 -1
  102. package/dist/assets/{polyfills-B8p9DdqU.js → polyfills-eMEFRc79.js} +0 -32
  103. package/dist/assets/{templateActions-_QLqrCsm.js → templateActions-DrHAzjmQ.js} +1 -1
  104. package/dist/assets/{useBeforeUnload-CBmJdmlS.js → useBeforeUnload-uDmDsya_.js} +1 -1
  105. package/dist/assets/{useExecutionDebugging-B22Oj62X.js → useExecutionDebugging-wqUkD23F.js} +1 -1
  106. package/dist/assets/{useImportCurlCommand-CCUM_iVn.js → useImportCurlCommand-CBZG4Lbx.js} +1 -2
  107. package/dist/assets/{useProjectPages-CrI3xlbd.js → useProjectPages-CW2fEpJH.js} +1 -1
  108. package/dist/assets/{usePushConnection-EYkv1Xyg.js → usePushConnection-BM5QyJob.js} +3 -3
  109. package/dist/assets/{useWorkflowActivate-BiorS_mB.js → useWorkflowActivate-Dw_VspVF.js} +1 -1
  110. package/dist/index.html +5 -5
  111. package/dist/static/posthog.init.js +41 -0
  112. package/dist/static/prefers-color-scheme.css +5 -0
  113. package/index.html +2 -2
  114. package/package.json +1 -1
  115. package/tsconfig.json +1 -0
  116. package/dist/assets/ActionDropdown-BmC0wfMx.css +0 -172
  117. package/dist/assets/ActionDropdown-DkHCqhLi.js +0 -172
  118. package/dist/assets/CollectionParameter-C3JIvBsy.js +0 -4
  119. package/dist/assets/FileSaver.min-CiFUM_59.js +0 -81
  120. package/dist/assets/NodeView-Dm74W6kN.js +0 -18815
  121. package/dist/assets/NodeView-G2qfXaOy.css +0 -7402
  122. package/dist/assets/import-curl-BrVSOGQW.js +0 -5
  123. package/dist/assets/useExecutionHelpers-C6meisqx.js +0 -94
  124. package/dist/assets/useKeybindings-2A271Jke.css +0 -2007
  125. package/dist/assets/useKeybindings-CcHEvN6i.js +0 -3627
@@ -1,4 +1,4 @@
1
- import { hr as Chart$1, d as defineComponent, cd as shallowRef, aL as h, hs as BarController, ht as version, r as ref, o as onMounted, I as onBeforeUnmount, ab as watch, bv as toRaw, bu as isProxy, hu as LineController } from "./index-BmZCxv8-.js";
1
+ import { fG as Chart$1, d as defineComponent, ch as shallowRef, aN as h, fH as BarController, fI as version, r as ref, o as onMounted, I as onBeforeUnmount, ab as watch, by as toRaw, bx as isProxy, fJ as LineController } from "./index-DycvFkIw.js";
2
2
  const CommonProps = {
3
3
  data: {
4
4
  type: Object,
@@ -1,4 +1,4 @@
1
- import { hh as require_arrayMap, hi as require_baseIteratee, hj as require_basePickBy, hk as require_getAllKeysIn, bK as getDefaultExportFromCjs } from "./index-BmZCxv8-.js";
1
+ import { fw as require_arrayMap, fx as require_baseIteratee, fy as require_basePickBy, fz as require_getAllKeysIn, bN as getDefaultExportFromCjs } from "./index-DycvFkIw.js";
2
2
  var pickBy_1;
3
3
  var hasRequiredPickBy;
4
4
  function requirePickBy() {
@@ -6738,35 +6738,3 @@ function requireWeb_urlSearchParams_has () {
6738
6738
  }
6739
6739
 
6740
6740
  requireWeb_urlSearchParams_has();
6741
-
6742
- var web_urlSearchParams_size = {};
6743
-
6744
- var hasRequiredWeb_urlSearchParams_size;
6745
-
6746
- function requireWeb_urlSearchParams_size () {
6747
- if (hasRequiredWeb_urlSearchParams_size) return web_urlSearchParams_size;
6748
- hasRequiredWeb_urlSearchParams_size = 1;
6749
- var DESCRIPTORS = requireDescriptors();
6750
- var uncurryThis = requireFunctionUncurryThis();
6751
- var defineBuiltInAccessor = requireDefineBuiltInAccessor();
6752
-
6753
- var URLSearchParamsPrototype = URLSearchParams.prototype;
6754
- var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
6755
-
6756
- // `URLSearchParams.prototype.size` getter
6757
- // https://github.com/whatwg/url/pull/734
6758
- if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
6759
- defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
6760
- get: function size() {
6761
- var count = 0;
6762
- forEach(this, function () { count++; });
6763
- return count;
6764
- },
6765
- configurable: true,
6766
- enumerable: true
6767
- });
6768
- }
6769
- return web_urlSearchParams_size;
6770
- }
6771
-
6772
- requireWeb_urlSearchParams_size();
@@ -1,4 +1,4 @@
1
- import { gh as assert, gw as doesNodeHaveCredentialsToFill, V as VIEWS, e_ as tryToParseNumber, gx as getNewWorkflow, gy as replaceAllTemplateNodeCredentials, e$ as getNodesWithNormalizedPosition } from "./index-BmZCxv8-.js";
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-DycvFkIw.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-BmZCxv8-.js";
1
+ import { T as useUIStore, ae as useCanvasStore, r as ref, x as computed, V as VIEWS, c as useI18n } from "./index-DycvFkIw.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, fK as DEBUG_PAYWALL_MODAL_KEY, aL as h, ea as sanitizeHtml, aB as useMessage, aC as MODAL_CONFIRM, V as VIEWS, az as useTelemetry, ad as useRootStore, fL as isFullExecutionResponse } from "./index-BmZCxv8-.js";
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-DycvFkIw.js";
2
2
  const useExecutionDebugging = () => {
3
3
  const telemetry = useTelemetry();
4
4
  const router = useRouter();
@@ -1,6 +1,5 @@
1
- import { i2 as process$1, i3 as requirePathBrowserify, i4 as require$$0, bK as getDefaultExportFromCjs, i5 as Buffer, a as useToast, l as unref, gh as assert, i6 as CURL_IMPORT_NOT_SUPPORTED_PROTOCOLS, i7 as CURL_IMPORT_NODES_PROTOCOLS, c as useI18n, br as get } from "./index-BmZCxv8-.js";
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-DycvFkIw.js";
2
2
  import { c as commonjsRequire } from "./_commonjs-dynamic-modules-TGKdzP3c.js";
3
- import { i as importCurlEventBus } from "./import-curl-BrVSOGQW.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, eI as reactive } from "./index-BmZCxv8-.js";
1
+ import { a6 as useRoute, x as computed, V as VIEWS, cZ as reactive } from "./index-DycvFkIw.js";
2
2
  const useProjectPages = () => {
3
3
  const route = useRoute();
4
4
  const isOverviewSubPage = computed(
@@ -1,6 +1,6 @@
1
- import { gM as makeRestApiRequest, a5 as useWorkflowsStore, T as useUIStore, gN as clearPopupWindowState, eY as getEasyAiWorkflowJson, az as useTelemetry, cc as parse, gO as hasTrimmedItem, v as useSettingsStore, ak as useWorkflowSaving, al as useWorkflowHelpers, aD as WORKFLOW_SETTINGS_MODAL_KEY, a as useToast, gP as generateNodesGraph, c as useI18n, gQ as getExecutionErrorToastConfiguration, bH as useNodeTypesStore, e9 as getTriggerNodeServiceName, bC as useNodeHelpers, gR as hasTrimmedData, be as useExternalHooks, gS as codeNodeEditorEventBus, eR as EVALUATION_TRIGGER_NODE_TYPE, bD as useRunWorkflow, gT as getExecutionErrorMessage, du as useCredentialsStore, fa as useAssistantStore, fe as useSchemaPreviewStore, dd as isCommunityPackageName, a3 as defineStore, ad as useRootStore, a4 as usePushConnectionStore, r as ref } from "./index-BmZCxv8-.js";
2
- import { g as globalLinkActionsEventBus } from "./global-link-actions-DzXrk-LO.js";
3
- import { u as useAITemplatesStarterCollectionStore } from "./aiTemplatesStarterCollection.store-DrHWcqtc.js";
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-DycvFkIw.js";
2
+ import { g as globalLinkActionsEventBus } from "./global-link-actions-BxO50hoE.js";
3
+ import { u as useAITemplatesStarterCollectionStore } from "./aiTemplatesStarterCollection.store-CTW_MDA8.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, az as useTelemetry, be as useExternalHooks, c as useI18n, b5 as useStorage, g$ as LOCAL_STORAGE_ACTIVATION_FLAG, h0 as WORKFLOW_ACTIVE_MODAL_KEY } from "./index-BmZCxv8-.js";
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-DycvFkIw.js";
2
2
  function useWorkflowActivate() {
3
3
  const updatingWorkflowActivation = ref(false);
4
4
  const router = useRouter();
package/dist/index.html CHANGED
@@ -1,19 +1,19 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
- <script type="module" crossorigin src="/{{BASE_PATH}}/assets/polyfills-B8p9DdqU.js"></script>
4
+ <script type="module" crossorigin src="/{{BASE_PATH}}/assets/polyfills-eMEFRc79.js"></script>
5
5
 
6
6
  <meta charset="utf-8" />
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
- <style>@media (prefers-color-scheme: dark) { body { background-color: rgb(45, 46, 46) } }</style>
10
+ <link rel="stylesheet" href="/{{BASE_PATH}}/static/prefers-color-scheme.css">
11
11
  <script src="/{{REST_ENDPOINT}}/config.js"></script>
12
- <script>!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="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(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[])</script>
12
+ <script src="/{{BASE_PATH}}/static/posthog.init.js" type="text/javascript"></script>
13
13
 
14
14
  <title>n8n.io - Workflow Automation</title>
15
- <script type="module" crossorigin src="/{{BASE_PATH}}/assets/index-BmZCxv8-.js"></script>
16
- <link rel="stylesheet" crossorigin href="/{{BASE_PATH}}/assets/index-BWpYwmXd.css">
15
+ <script type="module" crossorigin src="/{{BASE_PATH}}/assets/index-DycvFkIw.js"></script>
16
+ <link rel="stylesheet" crossorigin href="/{{BASE_PATH}}/assets/index-BwGKZdwg.css">
17
17
  </head>
18
18
  <body>
19
19
  <noscript>
@@ -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 || []);
@@ -0,0 +1,5 @@
1
+ @media (prefers-color-scheme: dark) {
2
+ body {
3
+ background-color: rgb(45, 46, 46);
4
+ }
5
+ }
package/index.html CHANGED
@@ -5,9 +5,9 @@
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>
8
+ <link rel="stylesheet" href="/static/prefers-color-scheme.css">
9
9
  %CONFIG_SCRIPT%
10
- <script>!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="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(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[])</script>
10
+ <script src="/static/posthog.init.js" type="text/javascript"></script>
11
11
 
12
12
  <title>n8n.io - Workflow Automation</title>
13
13
  </head>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-editor-ui",
3
- "version": "1.104.1",
3
+ "version": "1.105.0",
4
4
  "description": "Workflow Editor UI for n8n",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/tsconfig.json CHANGED
@@ -2,6 +2,7 @@
2
2
  "extends": "@n8n/typescript-config/tsconfig.frontend.json",
3
3
  "compilerOptions": {
4
4
  "baseUrl": ".",
5
+ "moduleResolution": "bundler",
5
6
  "rootDirs": [
6
7
  ".",
7
8
  "../@n8n/rest-api-client/src",
@@ -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-BmZCxv8-.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,4 +0,0 @@
1
- import { i1 as _sfc_main } from "./index-BmZCxv8-.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,81 +0,0 @@
1
- import { gZ as commonjsGlobal } from "./index-BmZCxv8-.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
- };