n8n-editor-ui 1.90.0 → 1.91.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 (119) hide show
  1. package/dist/assets/{AnimatedSpinner-C0igC5ki.js → AnimatedSpinner-fxUUiJkt.js} +1 -1
  2. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DbQJ_5eB.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DaejGlee.js} +1 -1
  3. package/dist/assets/{AuthView-Dmy9oonN.js → AuthView-C38evMFm.js} +2 -2
  4. package/dist/assets/{CanvasChatSwitch-DSRkCJ8D.js → CanvasChatSwitch-wA9DYH8v.js} +11 -11
  5. package/dist/assets/{ChangePasswordView-81JP15Ve.js → ChangePasswordView-BhWZeFH0.js} +3 -3
  6. package/dist/assets/CollectionParameter-X0kImkTc.js +4 -0
  7. package/dist/assets/{CredentialsView-d6qclioV.js → CredentialsView-Nqr-i2Pe.js} +10 -9
  8. package/dist/assets/{DemoFooter-BmmdCfKA.js → DemoFooter-BWR2cAp9.js} +8 -8
  9. package/dist/assets/{ErrorView-BmBEg3lf.js → ErrorView-CS9OEuyr.js} +1 -1
  10. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DOoZHzof.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-DetKnv65.js} +2 -2
  11. package/dist/assets/{ExecutionsView-DqeBsSpV.js → ExecutionsView-C9YWPuDj.js} +11 -10
  12. package/dist/assets/{FileSaver.min-D0GQjV60.js → FileSaver.min-DmkzTNV9.js} +1 -1
  13. package/dist/assets/{FixedCollectionParameter-DDFHlxvP.js → FixedCollectionParameter-B95bmTf5.js} +1 -1
  14. package/dist/assets/{ForgotMyPasswordView-FPvWDVPY.js → ForgotMyPasswordView-qiBahYik.js} +3 -3
  15. package/dist/assets/{InsightsChartAverageRuntime-z_cI-yDg.js → InsightsChartAverageRuntime-Dxhbd0ns.js} +7 -6
  16. package/dist/assets/{InsightsChartFailed-b_700Tmq.js → InsightsChartFailed-BQcqQ0cP.js} +7 -6
  17. package/dist/assets/{InsightsChartFailureRate-BnqPLE_R.js → InsightsChartFailureRate-ByRknnji.js} +7 -6
  18. package/dist/assets/{InsightsChartTimeSaved-DfGUKtyn.js → InsightsChartTimeSaved-DwWd2CE4.js} +7 -6
  19. package/dist/assets/{InsightsChartTotal-DUYYmnvM.js → InsightsChartTotal-ByBJBO5S.js} +7 -6
  20. package/dist/assets/InsightsDashboard-Bi1pPMYJ.js +372 -0
  21. package/dist/assets/{InsightsDashboard-DPVczYm3.css → InsightsDashboard-Bx4vx9gz.css} +16 -0
  22. package/dist/assets/{InsightsPaywall-B7zseef2.js → InsightsPaywall-BHAFddnZ.js} +1 -1
  23. package/dist/assets/{InsightsSummary-UVWGYFlb.js → InsightsSummary-BbdmlYGl.js} +16 -17
  24. package/dist/assets/{InsightsSummary-FixbpmPJ.css → InsightsSummary-CdlaUpAt.css} +25 -25
  25. package/dist/assets/{InsightsTableWorkflows-CkfPpJ8P.js → InsightsTableWorkflows-06mtfv-r.js} +2 -2
  26. package/dist/assets/{Logo-CDa8Ndbk.js → Logo-YWli2nsX.js} +1 -1
  27. package/dist/assets/{LogsPanel-Bj6SZeBQ.js → LogsPanel-CutVxFbc.js} +480 -364
  28. package/dist/assets/{LogsPanel-DmPMCt9w.css → LogsPanel-DLC2TAqh.css} +203 -97
  29. package/dist/assets/MainHeader-CEPLiR-5.css +1044 -0
  30. package/dist/assets/{MainHeader-BqZnCEkb.js → MainHeader-DeD-Rq-o.js} +122 -295
  31. package/dist/assets/{MainSidebar-DyicnyT2.js → MainSidebar-w7XcpgsG.js} +2 -2
  32. package/dist/assets/{NodeCreation-J3ELSEr9.js → NodeCreation-BPVX4AyM.js} +4 -4
  33. package/dist/assets/{NodeCreator-ByGFazbP.js → NodeCreator-ORfmLjpf.js} +14 -4
  34. package/dist/assets/{NodeDetailsView-C_z-nQG3.js → NodeDetailsView-z4dW5CZA.js} +40 -30
  35. package/dist/assets/{NodeView-BTC9x0v8.js → NodeView-DoYUR6zN.js} +135 -30
  36. package/dist/assets/{ProjectCardBadge-DCaP7hKC.js → ProjectCardBadge-9gGGsnO4.js} +1 -1
  37. package/dist/assets/{ProjectHeader-DALMab_q.js → ProjectHeader-mP1U8azT.js} +1 -1
  38. package/dist/assets/{ProjectSettings-Do-lVrea.js → ProjectSettings-BXv7wHt2.js} +2 -2
  39. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-BWqkEjwR.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-Cu81u0g8.js} +1 -1
  40. package/dist/assets/{ResourcesListLayout-CglK2dXR.css → ResourcesListLayout-CtGME7aU.css} +8 -8
  41. package/dist/assets/{ResourcesListLayout-FV3K-wCE.js → ResourcesListLayout-l12N8elL.js} +2 -2
  42. package/dist/assets/{RunData-DepHcD2K.css → RunData-C9dtm1M2.css} +92 -73
  43. package/dist/assets/{RunData-BfVvixeD.js → RunData-DcTRJlPx.js} +319 -221
  44. package/dist/assets/{RunDataAi-1YokoJrS.js → RunDataAi-gSq_Xjqe.js} +3 -3
  45. package/dist/assets/{RunDataJson-Txw0lqay.css → RunDataJson-BH9HLoGC.css} +12 -8
  46. package/dist/assets/{RunDataJson-UCqamVA8.js → RunDataJson-ZWzRQWbP.js} +20 -14
  47. package/dist/assets/{RunDataJsonActions-CEriDRD_.js → RunDataJsonActions-CLZHKSxo.js} +1 -1
  48. package/dist/assets/{RunDataSearch-DSHgVrIH.js → RunDataSearch-DGVT04w4.js} +1 -1
  49. package/dist/assets/{RunDataTable-DyUvXWfl.css → RunDataTable-CUxj7dHx.css} +47 -39
  50. package/dist/assets/{RunDataTable-Svn5sWyr.js → RunDataTable-DXZeWFoe.js} +41 -30
  51. package/dist/assets/{SamlOnboarding-CtXHQJS6.js → SamlOnboarding-oqY0GJU1.js} +3 -3
  52. package/dist/assets/{SettingsApiView-B4xEaKM5.js → SettingsApiView-wOjTe5Iz.js} +1 -1
  53. package/dist/assets/{SettingsCommunityNodesView-Cn7b8yXW.js → SettingsCommunityNodesView-BferxshR.js} +4 -4
  54. package/dist/assets/{SettingsExternalSecrets-1JQ-XbO6.js → SettingsExternalSecrets-AVAe3pFB.js} +1 -1
  55. package/dist/assets/{SettingsLdapView-DN0ooz8k.js → SettingsLdapView-Dzz0oH8X.js} +1 -1
  56. package/dist/assets/{SettingsLogStreamingView-B5bjsLmX.js → SettingsLogStreamingView-7wK5X84p.js} +1 -1
  57. package/dist/assets/{SettingsPersonalView-DgzC8S8B.js → SettingsPersonalView-DFJF_V6T.js} +1 -1
  58. package/dist/assets/{SettingsSourceControl-Bbax3j0s.js → SettingsSourceControl-CMcBENTO.js} +1 -1
  59. package/dist/assets/{SettingsSso-gZtzdr_j.js → SettingsSso-Z1Q6NEkd.js} +1 -1
  60. package/dist/assets/{SettingsUsageAndPlan-JQLfWX3N.js → SettingsUsageAndPlan-CcRKHQ0-.js} +1 -1
  61. package/dist/assets/{SettingsUsersView-L2um2aHz.js → SettingsUsersView-B3WfDCek.js} +1 -1
  62. package/dist/assets/{SettingsView-DmW5uF0Y.js → SettingsView-BlwKUaR5.js} +1 -1
  63. package/dist/assets/{SetupView-PUB9CmbM.js → SetupView-D5lrdUoq.js} +3 -3
  64. package/dist/assets/{SetupWorkflowCredentialsButton-DrNo9bUr.js → SetupWorkflowCredentialsButton-Bc6VdFCN.js} +1 -1
  65. package/dist/assets/{SetupWorkflowFromTemplateView-Cv7rilHQ.js → SetupWorkflowFromTemplateView-CJD5W1WL.js} +3 -3
  66. package/dist/assets/{SigninView-C6mgciPa.js → SigninView-DH2fyWJ4.js} +3 -3
  67. package/dist/assets/{SignoutView-DtpsJQNN.js → SignoutView-CBkwCdXi.js} +1 -1
  68. package/dist/assets/{SignupView-CsLmno8H.js → SignupView-BRMhMcBZ.js} +3 -3
  69. package/dist/assets/{TemplateDetails-Cc-ra1_d.js → TemplateDetails-D-BdppKN.js} +1 -1
  70. package/dist/assets/{TemplateList-BQrF5Bxy.js → TemplateList-BnoYTtBt.js} +1 -1
  71. package/dist/assets/{TemplatesCollectionView-CXji4_pS.js → TemplatesCollectionView-BjJj8lj5.js} +5 -5
  72. package/dist/assets/{TemplatesSearchView-DN99kP7F.js → TemplatesSearchView-EuczA-oB.js} +3 -3
  73. package/dist/assets/{TemplatesView-DMYw_IGy.js → TemplatesView-lDM12E7u.js} +1 -1
  74. package/dist/assets/{TemplatesWorkflowView-CokDg5W-.js → TemplatesWorkflowView-CvyrJnPM.js} +5 -5
  75. package/dist/assets/{TestDefinitionEditView-B0ug0pLk.js → TestDefinitionEditView-D3rNVRaa.js} +8 -8
  76. package/dist/assets/{TestDefinitionListView-CF3nBGlC.js → TestDefinitionListView-m3RGW84j.js} +1 -1
  77. package/dist/assets/{TestDefinitionNewView-BIX0zI3Z.js → TestDefinitionNewView-BdBvbajQ.js} +2 -2
  78. package/dist/assets/{TestDefinitionRootView-B8HzwCtp.js → TestDefinitionRootView-DJnT-m57.js} +1 -1
  79. package/dist/assets/{VariablesView-dVZn0E-U.js → VariablesView-C7i_CSj8.js} +3 -3
  80. package/dist/assets/{WorkerView-Du18TNPW.js → WorkerView-GWMai3R9.js} +6 -6
  81. package/dist/assets/{MainHeader-CWA2JfVJ.css → WorkflowActivator-DAyH7N29.css} +74 -434
  82. package/dist/assets/WorkflowActivator-SziK5CNk.js +776 -0
  83. package/dist/assets/{WorkflowExecutionsInfoAccordion-Z-XDWebr.js → WorkflowExecutionsInfoAccordion-DENHBjmU.js} +1 -1
  84. package/dist/assets/{WorkflowExecutionsLandingPage-DECLkJhn.js → WorkflowExecutionsLandingPage-BzDiGWu4.js} +2 -2
  85. package/dist/assets/{WorkflowExecutionsPreview-Bs5tSLIj.js → WorkflowExecutionsPreview-DqdkoKXB.js} +6 -6
  86. package/dist/assets/{WorkflowExecutionsView-DtcqQM2k.js → WorkflowExecutionsView-AxW7n6yq.js} +7 -7
  87. package/dist/assets/{WorkflowHistory-CWgCdWmB.js → WorkflowHistory-BVlsuqfI.js} +4 -4
  88. package/dist/assets/{WorkflowOnboardingView-BEU0GnhE.js → WorkflowOnboardingView-fOW1AS_n.js} +1 -1
  89. package/dist/assets/{WorkflowPreview-DdYqE-TC.js → WorkflowPreview-ChN9npJk.js} +1 -1
  90. package/dist/assets/{WorkflowsView-CsM69PSv.css → WorkflowsView-B2_HJCJ5.css} +28 -162
  91. package/dist/assets/{WorkflowsView-D-hAQD_u.js → WorkflowsView-s_WHwcWN.js} +123 -216
  92. package/dist/assets/{chartjs.utils-DoypjRBD.js → chartjs.utils-wOlz1LMy.js} +2 -2
  93. package/dist/assets/{dateFormatter-BPEQYXYl.js → dateFormatter-yaAmYK7_.js} +5 -5
  94. package/dist/assets/{easyAiWorkflowUtils-CDbznryH.js → easyAiWorkflowUtils-CVW2fylI.js} +1 -1
  95. package/dist/assets/{global-link-actions-By-BzwKw.js → global-link-actions-X1_8ARhd.js} +1 -1
  96. package/dist/assets/{import-curl-Cu66geT8.js → import-curl-DdqJa2Tm.js} +1 -1
  97. package/dist/assets/{index-CZWHLhkg.js → index-B7FgXPOI.js} +14032 -12089
  98. package/dist/assets/{index-BhqWgx7T.js → index-CK1EcLzg.js} +1 -1
  99. package/dist/assets/{index-C5OXOcIJ.css → index-sq5ggyEC.css} +6265 -4303
  100. package/dist/assets/{pickBy-D5ei-iUg.js → pickBy-s5T-2ufr.js} +1 -1
  101. package/dist/assets/{templateActions-CofZF1Cm.js → templateActions-sdO4R-bv.js} +1 -1
  102. package/dist/assets/{useBeforeUnload-DJezvBb3.js → useBeforeUnload-CQPMw1S7.js} +1 -1
  103. package/dist/assets/{useCanvasMapping-CmWAKpr8.js → useCanvasMapping-DRc556sb.js} +265 -110
  104. package/dist/assets/{useCanvasMapping-B260y5FH.css → useCanvasMapping-cuXLM-h-.css} +189 -9
  105. package/dist/assets/{useCanvasOperations-DnxywX7P.js → useCanvasOperations-B0S86JW0.js} +3 -2
  106. package/dist/assets/{useClearExecutionButtonVisible-B5CsbsMz.js → useClearExecutionButtonVisible-C3SJ4iFv.js} +2 -2
  107. package/dist/assets/{useExecutionDebugging-DlTHZIR5.js → useExecutionDebugging-CJwhg6O9.js} +1 -1
  108. package/dist/assets/{useExecutionHelpers-2I0XuUMz.js → useExecutionHelpers-BWNgdgwx.js} +2 -2
  109. package/dist/assets/{useImportCurlCommand-CJRT2MGV.js → useImportCurlCommand-DAljDdWP.js} +2 -2
  110. package/dist/assets/{usePushConnection-CFsn_rtI.js → usePushConnection-BBpCn7jd.js} +5 -3
  111. package/dist/assets/{useTestDefinitionForm-DQ8Qe2LY.js → useTestDefinitionForm-CLiOMqSh.js} +1 -1
  112. package/dist/assets/{useWorkflowActivate-B-_DuLXg.js → useWorkflowActivate-yVdxh8CC.js} +1 -1
  113. package/dist/index.html +2 -2
  114. package/package.json +1 -1
  115. package/vite.config.mts +15 -1
  116. package/dist/assets/CollectionParameter-BCR57ofE.js +0 -4
  117. package/dist/assets/InsightsDashboard-Cb4C6pVW.js +0 -178
  118. package/dist/assets/WorkflowActivator-BX59FxTZ.css +0 -260
  119. package/dist/assets/WorkflowActivator-DAF5odet.js +0 -231
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc, i as createElementBlock, g as openBlock, gN as createStaticVNode } from "./index-CZWHLhkg.js";
1
+ import { _ as _export_sfc, i as createElementBlock, g as openBlock, gT as createStaticVNode } from "./index-B7FgXPOI.js";
2
2
  const _sfc_main = {};
3
3
  const _hoisted_1 = {
4
4
  width: "14",
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, gf as useAnnotationTagsStore, L as useUIStore, q as computed, e as createBlock, g as openBlock, gg as _sfc_main$1, gh as ANNOTATION_TAGS_MANAGER_MODAL_KEY } from "./index-CZWHLhkg.js";
1
+ import { d as defineComponent, gm as useAnnotationTagsStore, H as useUIStore, q as computed, e as createBlock, g as openBlock, gn as _sfc_main$1, go as ANNOTATION_TAGS_MANAGER_MODAL_KEY } from "./index-B7FgXPOI.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "AnnotationTagsDropdown.ee",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { L as Logo } from "./Logo-CDa8Ndbk.js";
2
- import { d as defineComponent, cy as useSSOStore, a as useToast, h as resolveComponent, i as createElementBlock, f as createCommentVNode, m as unref, g as openBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, t as toDisplayString, c as useI18n, _ as _export_sfc, p as useSettingsStore, w as withCtx, l as createTextVNode, e as createBlock, b7 as mergeProps } from "./index-CZWHLhkg.js";
1
+ import { L as Logo } from "./Logo-YWli2nsX.js";
2
+ import { d as defineComponent, cD as useSSOStore, a as useToast, h as resolveComponent, i as createElementBlock, f as createCommentVNode, m as unref, g as openBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, t as toDisplayString, c as useI18n, _ as _export_sfc, p as useSettingsStore, w as withCtx, l as createTextVNode, e as createBlock, b7 as mergeProps } from "./index-B7FgXPOI.js";
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "SSOLogin",
5
5
  setup(__props) {
@@ -1,12 +1,12 @@
1
- import { u as useResize, a as usePiPWindow, b as useChatState, C as ChatMessagesPanel, L as LogsPanel } from "./LogsPanel-Bj6SZeBQ.js";
2
- import { R as RunDataAi } from "./RunDataAi-1YokoJrS.js";
3
- import { d as defineComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, l as createTextVNode, f as createCommentVNode, t as toDisplayString, m as unref, c as useI18n, x as renderSlot, e as createBlock, _ as _export_sfc, U as useWorkflowsStore, a2 as useCanvasStore, r as ref, aZ as useTemplateRef, q as computed, a_ as LOGS_PANEL_STATE, a$ as watchEffect, h as resolveComponent, b0 as N8nResizeWrapper, B as normalizeStyle, w as withCtx, j as createVNode, ai as useTelemetry, p as useSettingsStore } from "./index-CZWHLhkg.js";
4
- import "./useClearExecutionButtonVisible-B5CsbsMz.js";
5
- import "./useCanvasOperations-DnxywX7P.js";
6
- import "./RunData-BfVvixeD.js";
7
- import "./FileSaver.min-D0GQjV60.js";
8
- import "./useExecutionHelpers-2I0XuUMz.js";
9
- import "./dateFormatter-BPEQYXYl.js";
1
+ import { u as useResize, a as usePiPWindow, b as useChatState, C as ChatMessagesPanel, L as LogsPanel } from "./LogsPanel-CutVxFbc.js";
2
+ import { R as RunDataAi } from "./RunDataAi-gSq_Xjqe.js";
3
+ import { d as defineComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, l as createTextVNode, f as createCommentVNode, t as toDisplayString, m as unref, c as useI18n, x as renderSlot, e as createBlock, _ as _export_sfc, Q as useWorkflowsStore, $ as useCanvasStore, r as ref, aY as useTemplateRef, q as computed, aZ as LOGS_PANEL_STATE, a_ as watchEffect, h as resolveComponent, a$ as N8nResizeWrapper, B as normalizeStyle, w as withCtx, j as createVNode, ag as useTelemetry, p as useSettingsStore } from "./index-B7FgXPOI.js";
4
+ import "./useClearExecutionButtonVisible-C3SJ4iFv.js";
5
+ import "./useCanvasOperations-B0S86JW0.js";
6
+ import "./RunData-DcTRJlPx.js";
7
+ import "./FileSaver.min-DmkzTNV9.js";
8
+ import "./useExecutionHelpers-BWNgdgwx.js";
9
+ import "./dateFormatter-yaAmYK7_.js";
10
10
  const _hoisted_1 = { class: "meta" };
11
11
  const _hoisted_2 = { key: 0 };
12
12
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
@@ -77,7 +77,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
77
77
  const pipContent2 = useTemplateRef("pipContent");
78
78
  const workflow = computed(() => workflowsStore.getCurrentWorkflow());
79
79
  const chatPanelState = computed(() => workflowsStore.logsPanelState);
80
- const previousChatMessages = computed(() => workflowsStore.getPastChatMessages);
81
80
  const resultData = computed(() => workflowsStore.getWorkflowRunData);
82
81
  const telemetry = useTelemetry();
83
82
  const {
@@ -108,6 +107,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
108
107
  messages,
109
108
  chatTriggerNode,
110
109
  connectedNode,
110
+ previousChatMessages,
111
111
  sendMessage,
112
112
  refreshSession,
113
113
  displayExecution
@@ -174,7 +174,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
174
174
  "data-test-id": "canvas-chat",
175
175
  messages: unref(messages),
176
176
  "session-id": unref(currentSessionId),
177
- "past-chat-messages": previousChatMessages.value,
177
+ "past-chat-messages": unref(previousChatMessages),
178
178
  "show-close-button": !unref(isPoppedOut) && !unref(connectedNode),
179
179
  onClose: closePanel,
180
180
  onRefreshSession: unref(refreshSession),
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, r as ref, o as onMounted, c as useI18n, M as MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH, V as VIEWS, e as createBlock, f as createCommentVNode, g as openBlock } from "./index-CZWHLhkg.js";
2
- import { A as AuthView } from "./AuthView-Dmy9oonN.js";
3
- import "./Logo-CDa8Ndbk.js";
1
+ import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, r as ref, o as onMounted, c as useI18n, M as MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH, V as VIEWS, e as createBlock, f as createCommentVNode, g as openBlock } from "./index-B7FgXPOI.js";
2
+ import { A as AuthView } from "./AuthView-C38evMFm.js";
3
+ import "./Logo-YWli2nsX.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "ChangePasswordView",
6
6
  setup(__props) {
@@ -0,0 +1,4 @@
1
+ import { hp as _sfc_main } from "./index-B7FgXPOI.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,9 +1,9 @@
1
- import { d as defineComponent, L as useUIStore, bN as useCredentialsStore, a4 as useProjectsStore, q as computed, c as useI18n, a9 as getResourcePermissions, fC as dateformat, h as resolveComponent, e as createBlock, g as openBlock, J as withModifiers, n as normalizeClass, w as withCtx, k as createBaseVNode, j as createVNode, i as createElementBlock, f as createCommentVNode, aC as withDirectives, t as toDisplayString, aD as vShow, l as createTextVNode, m as unref, cV as _sfc_main$2, gP as ResourceType, h3 as CredentialIcon, ak as useMessage, al as MODAL_CONFIRM, gQ as PROJECT_MOVE_RESOURCE_MODAL, _ as _export_sfc, by as useNodeTypesStore, a3 as useSourceControlStore, bP as useExternalSecretsStore, u as useUsersStore, gV as useInsightsStore, a6 as useDocumentTitle, W as useRoute, b as useRouter, r as ref, h4 as listenForModalChanges, I as watch, o as onMounted, F as Fragment, D as renderList, db as N8nCheckbox, h5 as CREDENTIAL_EMPTY_VALUE, ai as useTelemetry, p as useSettingsStore, ac as EnterpriseEditionFeature, bO as useEnvironmentsStore, h6 as CREDENTIAL_SELECT_MODAL_KEY, V as VIEWS, h7 as CREDENTIAL_EDIT_MODAL_KEY, h8 as isCredentialsResource } from "./index-CZWHLhkg.js";
2
- import { R as ResourcesListLayout } from "./ResourcesListLayout-FV3K-wCE.js";
3
- import { P as ProjectCardBadge } from "./ProjectCardBadge-DCaP7hKC.js";
4
- import { u as useOverview, P as ProjectHeader } from "./ProjectHeader-DALMab_q.js";
5
- import { I as InsightsSummary } from "./InsightsSummary-UVWGYFlb.js";
6
- import { p as pickBy } from "./pickBy-D5ei-iUg.js";
1
+ import { d as defineComponent, H as useUIStore, bR as useCredentialsStore, a1 as useProjectsStore, q as computed, c as useI18n, a7 as getResourcePermissions, fL as dateFormat, h as resolveComponent, e as createBlock, g as openBlock, b2 as withModifiers, n as normalizeClass, w as withCtx, k as createBaseVNode, j as createVNode, i as createElementBlock, f as createCommentVNode, aA as withDirectives, t as toDisplayString, aB as vShow, l as createTextVNode, m as unref, c_ as _sfc_main$2, gU as ResourceType, h8 as CredentialIcon, ai as useMessage, aj as MODAL_CONFIRM, gV as PROJECT_MOVE_RESOURCE_MODAL, _ as _export_sfc, bz as useNodeTypesStore, a0 as useSourceControlStore, bT as useExternalSecretsStore, u as useUsersStore, g_ as useInsightsStore, a4 as useDocumentTitle, R as useRoute, b as useRouter, r as ref, h9 as listenForModalChanges, X as watch, o as onMounted, F as Fragment, D as renderList, dg as N8nCheckbox, ha as CREDENTIAL_EMPTY_VALUE, ag as useTelemetry, p as useSettingsStore, aa as EnterpriseEditionFeature, bS as useEnvironmentsStore, hb as CREDENTIAL_SELECT_MODAL_KEY, V as VIEWS, hc as CREDENTIAL_EDIT_MODAL_KEY, hd as isCredentialsResource } from "./index-B7FgXPOI.js";
2
+ import { P as ProjectCardBadge } from "./ProjectCardBadge-9gGGsnO4.js";
3
+ import { R as ResourcesListLayout } from "./ResourcesListLayout-l12N8elL.js";
4
+ import { u as useOverview, P as ProjectHeader } from "./ProjectHeader-mP1U8azT.js";
5
+ import { I as InsightsSummary } from "./InsightsSummary-BbdmlYGl.js";
6
+ import { p as pickBy } from "./pickBy-s5T-2ufr.js";
7
7
  const _hoisted_1$1 = { key: 0 };
8
8
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
9
9
  __name: "CredentialCard",
@@ -54,7 +54,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
54
54
  });
55
55
  const formattedCreatedAtDate = computed(() => {
56
56
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear().toString();
57
- return dateformat(
57
+ return dateFormat(
58
58
  props.data.createdAt,
59
59
  `d mmmm${String(props.data.createdAt).startsWith(currentYear) ? "" : ", yyyy"}`
60
60
  );
@@ -401,8 +401,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
401
401
  default: withCtx(() => [
402
402
  unref(overview).isOverviewSubPage && unref(insightsStore).isSummaryEnabled ? (openBlock(), createBlock(InsightsSummary, {
403
403
  key: 0,
404
- loading: unref(insightsStore).summary.isLoading,
405
- summary: unref(insightsStore).summary.state
404
+ loading: unref(insightsStore).weeklySummary.isLoading,
405
+ summary: unref(insightsStore).weeklySummary.state,
406
+ "time-range": "week"
406
407
  }, null, 8, ["loading", "summary"])) : createCommentVNode("", true)
407
408
  ]),
408
409
  _: 1
@@ -1,11 +1,11 @@
1
- import { L as LogsPanel } from "./LogsPanel-Bj6SZeBQ.js";
2
- import { d as defineComponent, p as useSettingsStore, U as useWorkflowsStore, q as computed, e as createBlock, f as createCommentVNode, m as unref, g as openBlock } from "./index-CZWHLhkg.js";
3
- import "./useClearExecutionButtonVisible-B5CsbsMz.js";
4
- import "./useCanvasOperations-DnxywX7P.js";
5
- import "./RunData-BfVvixeD.js";
6
- import "./FileSaver.min-D0GQjV60.js";
7
- import "./useExecutionHelpers-2I0XuUMz.js";
8
- import "./dateFormatter-BPEQYXYl.js";
1
+ import { L as LogsPanel } from "./LogsPanel-CutVxFbc.js";
2
+ import { d as defineComponent, p as useSettingsStore, Q as useWorkflowsStore, q as computed, e as createBlock, f as createCommentVNode, m as unref, g as openBlock } from "./index-B7FgXPOI.js";
3
+ import "./useClearExecutionButtonVisible-C3SJ4iFv.js";
4
+ import "./useCanvasOperations-B0S86JW0.js";
5
+ import "./RunData-DcTRJlPx.js";
6
+ import "./FileSaver.min-DmkzTNV9.js";
7
+ import "./useExecutionHelpers-BWNgdgwx.js";
8
+ import "./dateFormatter-yaAmYK7_.js";
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "DemoFooter",
11
11
  setup(__props) {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, b as useRouter, h as resolveComponent, i as createElementBlock, g as openBlock, j as createVNode, k as createBaseVNode, n as normalizeClass, w as withCtx, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, e as createBlock, f as createCommentVNode, V as VIEWS, _ as _export_sfc } from "./index-CZWHLhkg.js";
1
+ import { d as defineComponent, b as useRouter, h as resolveComponent, i as createElementBlock, g as openBlock, j as createVNode, k as createBaseVNode, n as normalizeClass, w as withCtx, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, e as createBlock, f as createCommentVNode, V as VIEWS, _ as _export_sfc } from "./index-B7FgXPOI.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "ErrorView",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, aw as usePostHog, q as computed, c as useI18n, az as WORKFLOW_EVALUATION_EXPERIMENT, h as resolveComponent, i as createElementBlock, g as openBlock, j as createVNode, w as withCtx, l as createTextVNode, t as toDisplayString, k as createBaseVNode, n as normalizeClass, e as createBlock, m as unref, _ as _export_sfc, p as useSettingsStore, K as useDebounce, a8 as usePageRedirectionHelper, r as ref, ac as EnterpriseEditionFeature, bM as reactive, ge as getObjectKeys, de as i18n, ea as isEmpty, aB as onBeforeMount, f as createCommentVNode, F as Fragment, D as renderList, af as _sfc_main$3, J as withModifiers, aW as createSlots, ai as useTelemetry, o as onMounted, y as onBeforeUnmount } from "./index-CZWHLhkg.js";
2
- import { _ as _sfc_main$4 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DbQJ_5eB.js";
1
+ import { d as defineComponent, au as usePostHog, q as computed, c as useI18n, ax as WORKFLOW_EVALUATION_EXPERIMENT, h as resolveComponent, i as createElementBlock, g as openBlock, j as createVNode, w as withCtx, l as createTextVNode, t as toDisplayString, k as createBaseVNode, n as normalizeClass, e as createBlock, m as unref, _ as _export_sfc, p as useSettingsStore, G as useDebounce, a6 as usePageRedirectionHelper, r as ref, aa as EnterpriseEditionFeature, bQ as reactive, gl as getObjectKeys, dj as i18n, ei as isEmpty, az as onBeforeMount, f as createCommentVNode, F as Fragment, D as renderList, ad as _sfc_main$3, b2 as withModifiers, aV as createSlots, ag as useTelemetry, o as onMounted, y as onBeforeUnmount } from "./index-B7FgXPOI.js";
2
+ import { _ as _sfc_main$4 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DaejGlee.js";
3
3
  const _hoisted_1$1 = { "data-test-id": "concurrent-executions-header" };
4
4
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
5
5
  __name: "ConcurrentExecutionsHeader",
@@ -1,11 +1,11 @@
1
- import { d as defineComponent, h as resolveComponent, e as createBlock, g as openBlock, w as withCtx, x as renderSlot, f as createCommentVNode, j as createVNode, n as normalizeClass, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, _ as _export_sfc, a0 as useCssModule, r as ref, q as computed, ga as WAIT_INDEFINITELY, i as createElementBlock, k as createBaseVNode, db as N8nCheckbox, aS as N8nTooltip, V as VIEWS, bD as N8nIcon, bd as N8nText, F as Fragment, bf as N8nButton, J as withModifiers, aU as _sfc_main$5, U as useWorkflowsStore, av as useExecutionsStore, p as useSettingsStore, a8 as usePageRedirectionHelper, a as useToast, ac as EnterpriseEditionFeature, I as watch, aZ as useTemplateRef, hb as useIntersectionObserver, D as renderList, hc as ElSkeletonItem, hd as N8nTableBase, a9 as getResourcePermissions, ca as executionRetryMessage, ai as useTelemetry, ak as useMessage, al as MODAL_CONFIRM, W as useRoute, gV as useInsightsStore, a6 as useDocumentTitle, cH as storeToRefs, aB as onBeforeMount, aR as useExternalHooks, o as onMounted, y as onBeforeUnmount } from "./index-CZWHLhkg.js";
2
- import { _ as _sfc_main$4, E as ExecutionsFilter, C as ConcurrentExecutionsHeader } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-DOoZHzof.js";
3
- import { _ as __unplugin_components_0$1 } from "./AnimatedSpinner-C0igC5ki.js";
4
- import { u as useExecutionHelpers } from "./useExecutionHelpers-2I0XuUMz.js";
5
- import { c as convertToDisplayDate } from "./dateFormatter-BPEQYXYl.js";
6
- import { I as InsightsSummary } from "./InsightsSummary-UVWGYFlb.js";
7
- import { u as useOverview, P as ProjectHeader } from "./ProjectHeader-DALMab_q.js";
8
- import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DbQJ_5eB.js";
1
+ import { u as useOverview, P as ProjectHeader } from "./ProjectHeader-mP1U8azT.js";
2
+ import { _ as _sfc_main$4, E as ExecutionsFilter, C as ConcurrentExecutionsHeader } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-DetKnv65.js";
3
+ import { d as defineComponent, h as resolveComponent, e as createBlock, g as openBlock, w as withCtx, x as renderSlot, f as createCommentVNode, j as createVNode, n as normalizeClass, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, _ as _export_sfc, Y as useCssModule, r as ref, q as computed, gh as WAIT_INDEFINITELY, i as createElementBlock, k as createBaseVNode, dg as N8nCheckbox, aR as N8nTooltip, V as VIEWS, bE as N8nIcon, be as N8nText, F as Fragment, bg as N8nButton, b2 as withModifiers, aT as _sfc_main$5, Q as useWorkflowsStore, at as useExecutionsStore, p as useSettingsStore, a6 as usePageRedirectionHelper, a as useToast, aa as EnterpriseEditionFeature, X as watch, aY as useTemplateRef, hg as useIntersectionObserver, D as renderList, hh as ElSkeletonItem, hi as N8nTableBase, a7 as getResourcePermissions, cf as executionRetryMessage, ag as useTelemetry, ai as useMessage, aj as MODAL_CONFIRM, R as useRoute, g_ as useInsightsStore, a4 as useDocumentTitle, cM as storeToRefs, az as onBeforeMount, aP as useExternalHooks, o as onMounted, y as onBeforeUnmount } from "./index-B7FgXPOI.js";
4
+ import { _ as __unplugin_components_0$1 } from "./AnimatedSpinner-fxUUiJkt.js";
5
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-BWNgdgwx.js";
6
+ import { c as convertToDisplayDate } from "./dateFormatter-yaAmYK7_.js";
7
+ import { I as InsightsSummary } from "./InsightsSummary-BbdmlYGl.js";
8
+ import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DaejGlee.js";
9
9
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
10
10
  __name: "GlobalExecutionsListItemQueuedTooltip",
11
11
  props: {
@@ -918,8 +918,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
918
918
  default: withCtx(() => [
919
919
  unref(overview).isOverviewSubPage && unref(insightsStore).isSummaryEnabled ? (openBlock(), createBlock(InsightsSummary, {
920
920
  key: 0,
921
- loading: unref(insightsStore).summary.isLoading,
922
- summary: unref(insightsStore).summary.state
921
+ loading: unref(insightsStore).weeklySummary.isLoading,
922
+ summary: unref(insightsStore).weeklySummary.state,
923
+ "time-range": "week"
923
924
  }, null, 8, ["loading", "summary"])) : createCommentVNode("", true)
924
925
  ]),
925
926
  _: 1
@@ -1,4 +1,4 @@
1
- import { dy as commonjsGlobal } from "./index-CZWHLhkg.js";
1
+ import { dF as commonjsGlobal } from "./index-B7FgXPOI.js";
2
2
  var FileSaver_min$1 = { exports: {} };
3
3
  var FileSaver_min = FileSaver_min$1.exports;
4
4
  var hasRequiredFileSaver_min;
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, U as useWorkflowsStore, au as useNDVStore, q as computed, c as useI18n, r as ref, he as isINodePropertyCollectionList, I as watch, aB as onBeforeMount, cb as deepCopy, i as createElementBlock, g as openBlock, f as createCommentVNode, j as createVNode, w as withCtx, l as createTextVNode, t as toDisplayString, m as unref, bd as N8nText, F as Fragment, D as renderList, e as createBlock, da as N8nInputLabel, k as createBaseVNode, n as normalizeClass, aU as _sfc_main$1, bZ as Suspense, hf as _sfc_main$2, hg as Draggable, bf as N8nButton, d_ as _sfc_main$3, d$ as N8nSelect, J as withModifiers, bn as get, dh as telemetry, _ as _export_sfc } from "./index-CZWHLhkg.js";
1
+ import { d as defineComponent, Q as useWorkflowsStore, as as useNDVStore, q as computed, c as useI18n, r as ref, hm as isINodePropertyCollectionList, X as watch, az as onBeforeMount, cg as deepCopy, i as createElementBlock, g as openBlock, f as createCommentVNode, j as createVNode, w as withCtx, l as createTextVNode, t as toDisplayString, m as unref, be as N8nText, F as Fragment, D as renderList, e as createBlock, df as N8nInputLabel, k as createBaseVNode, n as normalizeClass, aT as _sfc_main$1, c1 as Suspense, hn as _sfc_main$2, ho as Draggable, bg as N8nButton, e7 as _sfc_main$3, e8 as N8nSelect, b2 as withModifiers, bo as get, dm as telemetry, _ as _export_sfc } from "./index-B7FgXPOI.js";
2
2
  const _hoisted_1 = ["data-test-id"];
3
3
  const _hoisted_2 = {
4
4
  key: 0,
@@ -1,6 +1,6 @@
1
- import { A as AuthView } from "./AuthView-Dmy9oonN.js";
2
- import { d as defineComponent, p as useSettingsStore, u as useUsersStore, a as useToast, r as ref, q as computed, c as useI18n, e as createBlock, g as openBlock } from "./index-CZWHLhkg.js";
3
- import "./Logo-CDa8Ndbk.js";
1
+ import { A as AuthView } from "./AuthView-C38evMFm.js";
2
+ import { d as defineComponent, p as useSettingsStore, u as useUsersStore, a as useToast, r as ref, q as computed, c as useI18n, e as createBlock, g as openBlock } from "./index-B7FgXPOI.js";
3
+ import "./Logo-YWli2nsX.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "ForgotMyPasswordView",
6
6
  setup(__props) {
@@ -1,12 +1,13 @@
1
- import { d as defineComponent, q as computed, fC as dateformat, ib as DATE_FORMAT_MASK, ii as transformInsightsAverageRunTime, c as useI18n, e as createBlock, g as openBlock, m as unref, ig as index, ie as INSIGHTS_UNIT_MAPPING } from "./index-CZWHLhkg.js";
2
- import { a as generateLineChartOptions, b as generateLinearGradient } from "./chartjs.utils-DoypjRBD.js";
3
- import { s as smartDecimal } from "./InsightsSummary-UVWGYFlb.js";
4
- import { L as Line } from "./index-BhqWgx7T.js";
1
+ import { d as defineComponent, q as computed, ik as GRANULARITY_DATE_FORMAT_MASK, ir as transformInsightsAverageRunTime, c as useI18n, e as createBlock, g as openBlock, m as unref, ip as index, io as INSIGHTS_UNIT_MAPPING } from "./index-B7FgXPOI.js";
2
+ import { a as generateLineChartOptions, b as generateLinearGradient } from "./chartjs.utils-wOlz1LMy.js";
3
+ import { s as smartDecimal } from "./InsightsSummary-BbdmlYGl.js";
4
+ import { L as Line } from "./index-CK1EcLzg.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "InsightsChartAverageRuntime",
7
7
  props: {
8
8
  data: {},
9
- type: {}
9
+ type: {},
10
+ granularity: {}
10
11
  },
11
12
  setup(__props) {
12
13
  const props = __props;
@@ -29,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
30
  const labels = [];
30
31
  const data = [];
31
32
  for (const entry of props.data) {
32
- labels.push(dateformat(entry.date, DATE_FORMAT_MASK));
33
+ labels.push(GRANULARITY_DATE_FORMAT_MASK[props.granularity](entry.date));
33
34
  const value = transformInsightsAverageRunTime(entry.values.averageRunTime);
34
35
  data.push(value);
35
36
  }
@@ -1,12 +1,13 @@
1
- import { d as defineComponent, gK as useCssVar, q as computed, fC as dateformat, ib as DATE_FORMAT_MASK, c as useI18n, e as createBlock, g as openBlock, m as unref } from "./index-CZWHLhkg.js";
2
- import { g as generateBarChartOptions } from "./chartjs.utils-DoypjRBD.js";
3
- import { s as smartDecimal } from "./InsightsSummary-UVWGYFlb.js";
4
- import { B as Bar } from "./index-BhqWgx7T.js";
1
+ import { d as defineComponent, gQ as useCssVar, q as computed, ik as GRANULARITY_DATE_FORMAT_MASK, c as useI18n, e as createBlock, g as openBlock, m as unref } from "./index-B7FgXPOI.js";
2
+ import { g as generateBarChartOptions } from "./chartjs.utils-wOlz1LMy.js";
3
+ import { s as smartDecimal } from "./InsightsSummary-BbdmlYGl.js";
4
+ import { B as Bar } from "./index-CK1EcLzg.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "InsightsChartFailed",
7
7
  props: {
8
8
  data: {},
9
- type: {}
9
+ type: {},
10
+ granularity: {}
10
11
  },
11
12
  setup(__props) {
12
13
  const props = __props;
@@ -30,7 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
31
  const labels = [];
31
32
  const data = [];
32
33
  for (const entry of props.data) {
33
- labels.push(dateformat(entry.date, DATE_FORMAT_MASK));
34
+ labels.push(GRANULARITY_DATE_FORMAT_MASK[props.granularity](entry.date));
34
35
  data.push(entry.values.failed);
35
36
  }
36
37
  return {
@@ -1,12 +1,13 @@
1
- import { d as defineComponent, gK as useCssVar, q as computed, fC as dateformat, ib as DATE_FORMAT_MASK, id as transformInsightsFailureRate, c as useI18n, e as createBlock, g as openBlock, m as unref, ie as INSIGHTS_UNIT_MAPPING } from "./index-CZWHLhkg.js";
2
- import { g as generateBarChartOptions } from "./chartjs.utils-DoypjRBD.js";
3
- import { s as smartDecimal } from "./InsightsSummary-UVWGYFlb.js";
4
- import { B as Bar } from "./index-BhqWgx7T.js";
1
+ import { d as defineComponent, gQ as useCssVar, q as computed, ik as GRANULARITY_DATE_FORMAT_MASK, im as transformInsightsFailureRate, c as useI18n, e as createBlock, g as openBlock, m as unref, io as INSIGHTS_UNIT_MAPPING } from "./index-B7FgXPOI.js";
2
+ import { g as generateBarChartOptions } from "./chartjs.utils-wOlz1LMy.js";
3
+ import { s as smartDecimal } from "./InsightsSummary-BbdmlYGl.js";
4
+ import { B as Bar } from "./index-CK1EcLzg.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "InsightsChartFailureRate",
7
7
  props: {
8
8
  data: {},
9
- type: {}
9
+ type: {},
10
+ granularity: {}
10
11
  },
11
12
  setup(__props) {
12
13
  const props = __props;
@@ -30,7 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
31
  const labels = [];
31
32
  const data = [];
32
33
  for (const entry of props.data) {
33
- labels.push(dateformat(entry.date, DATE_FORMAT_MASK));
34
+ labels.push(GRANULARITY_DATE_FORMAT_MASK[props.granularity](entry.date));
34
35
  data.push(transformInsightsFailureRate(entry.values.failureRate));
35
36
  }
36
37
  return {
@@ -1,12 +1,13 @@
1
- import { d as defineComponent, q as computed, fC as dateformat, ib as DATE_FORMAT_MASK, c as useI18n, e as createBlock, g as openBlock, m as unref, ig as index, ih as transformInsightsTimeSaved, ie as INSIGHTS_UNIT_MAPPING } from "./index-CZWHLhkg.js";
2
- import { a as generateLineChartOptions, b as generateLinearGradient } from "./chartjs.utils-DoypjRBD.js";
3
- import { L as Line } from "./index-BhqWgx7T.js";
4
- import "./InsightsSummary-UVWGYFlb.js";
1
+ import { d as defineComponent, q as computed, ik as GRANULARITY_DATE_FORMAT_MASK, c as useI18n, e as createBlock, g as openBlock, m as unref, ip as index, iq as transformInsightsTimeSaved, io as INSIGHTS_UNIT_MAPPING } from "./index-B7FgXPOI.js";
2
+ import { a as generateLineChartOptions, b as generateLinearGradient } from "./chartjs.utils-wOlz1LMy.js";
3
+ import { L as Line } from "./index-CK1EcLzg.js";
4
+ import "./InsightsSummary-BbdmlYGl.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "InsightsChartTimeSaved",
7
7
  props: {
8
8
  data: {},
9
- type: {}
9
+ type: {},
10
+ granularity: {}
10
11
  },
11
12
  setup(__props) {
12
13
  const props = __props;
@@ -40,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
41
  const labels = [];
41
42
  const data = [];
42
43
  for (const entry of props.data) {
43
- labels.push(dateformat(entry.date, DATE_FORMAT_MASK));
44
+ labels.push(GRANULARITY_DATE_FORMAT_MASK[props.granularity](entry.date));
44
45
  data.push(entry.values.timeSaved);
45
46
  }
46
47
  return {
@@ -1,12 +1,13 @@
1
- import { d as defineComponent, gK as useCssVar, q as computed, fC as dateformat, ib as DATE_FORMAT_MASK, c as useI18n, e as createBlock, g as openBlock, m as unref } from "./index-CZWHLhkg.js";
2
- import { g as generateBarChartOptions } from "./chartjs.utils-DoypjRBD.js";
3
- import { B as Bar } from "./index-BhqWgx7T.js";
4
- import "./InsightsSummary-UVWGYFlb.js";
1
+ import { d as defineComponent, gQ as useCssVar, q as computed, ik as GRANULARITY_DATE_FORMAT_MASK, c as useI18n, e as createBlock, g as openBlock, m as unref } from "./index-B7FgXPOI.js";
2
+ import { g as generateBarChartOptions } from "./chartjs.utils-wOlz1LMy.js";
3
+ import { B as Bar } from "./index-CK1EcLzg.js";
4
+ import "./InsightsSummary-BbdmlYGl.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "InsightsChartTotal",
7
7
  props: {
8
8
  data: {},
9
- type: {}
9
+ type: {},
10
+ granularity: {}
10
11
  },
11
12
  setup(__props) {
12
13
  const props = __props;
@@ -26,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
27
  const succeededData = [];
27
28
  const failedData = [];
28
29
  for (const entry of props.data) {
29
- labels.push(dateformat(entry.date, DATE_FORMAT_MASK));
30
+ labels.push(GRANULARITY_DATE_FORMAT_MASK[props.granularity](entry.date));
30
31
  succeededData.push(entry.values.succeeded);
31
32
  failedData.push(entry.values.failed);
32
33
  }