n8n-editor-ui 1.90.1 → 1.92.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AnimatedSpinner-ChThynSJ.js → AnimatedSpinner-CtKKeDrz.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WGp2Kuen.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DR6h_xsK.js} +1 -1
- package/dist/assets/{AuthView-Dlhn_SQ-.js → AuthView-mKkzBRxh.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-BuBg7TJP.js → CanvasChatSwitch-Bu2VD2kp.js} +24 -12
- package/dist/assets/{ChangePasswordView-BKYXOoDf.js → ChangePasswordView-D5UI1v-J.js} +3 -3
- package/dist/assets/CollectionParameter-BeCTpZ-q.js +4 -0
- package/dist/assets/{CredentialsView-BNWIgrLb.js → CredentialsView-B78eNJO5.js} +10 -9
- package/dist/assets/{DemoFooter-DR6r_2qR.js → DemoFooter-DP26HpCu.js} +8 -8
- package/dist/assets/{ErrorView-Bu8Mt5FH.js → ErrorView-C3fvEdCg.js} +1 -1
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DvtOOOhh.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-BBpwYdHY.js} +2 -2
- package/dist/assets/{ExecutionsView-C0WZAIi0.js → ExecutionsView-BvlDZwIs.js} +11 -10
- package/dist/assets/{FileSaver.min-Cm0u4qyc.js → FileSaver.min-BzAtcQXX.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-KmRZtBiP.js → FixedCollectionParameter-CS5zXMAh.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-GH7SqEFu.js → ForgotMyPasswordView-CVQ7pcIG.js} +3 -3
- package/dist/assets/{InsightsChartAverageRuntime-SeBUN06R.js → InsightsChartAverageRuntime-Boh0SMb3.js} +7 -6
- package/dist/assets/{InsightsChartFailed-TYjH8LwV.js → InsightsChartFailed-IZ-KYOU9.js} +7 -6
- package/dist/assets/{InsightsChartFailureRate-D41Jv-6v.js → InsightsChartFailureRate-2fWw3p0L.js} +7 -6
- package/dist/assets/{InsightsChartTimeSaved-TLPDAmPx.js → InsightsChartTimeSaved-B2pLVys1.js} +7 -6
- package/dist/assets/{InsightsChartTotal-CaKTe2mv.js → InsightsChartTotal-2QD4wPLR.js} +7 -6
- package/dist/assets/{InsightsDashboard-DPVczYm3.css → InsightsDashboard-Bx4vx9gz.css} +16 -0
- package/dist/assets/InsightsDashboard-CbiFbJ8w.js +372 -0
- package/dist/assets/{InsightsPaywall-Z4Y0nO-i.js → InsightsPaywall-5d-cSdiS.js} +1 -1
- package/dist/assets/{InsightsSummary-FixbpmPJ.css → InsightsSummary-CdlaUpAt.css} +25 -25
- package/dist/assets/{InsightsSummary-DzYli0Pu.js → InsightsSummary-gldDQ9rg.js} +16 -17
- package/dist/assets/{InsightsTableWorkflows-CUHAG57c.js → InsightsTableWorkflows-_eTCUNCX.js} +2 -2
- package/dist/assets/{Logo-Dxp4M9dy.js → Logo-Dl2xVRIu.js} +1 -1
- package/dist/assets/{LogsPanel-zIrTNE6j.js → LogsPanel-JnYirDqa.js} +520 -436
- package/dist/assets/{LogsPanel-DmPMCt9w.css → LogsPanel-mTaFEGk_.css} +208 -98
- package/dist/assets/{MainHeader-D4cIIoUA.js → MainHeader-Bk29pgmL.js} +122 -295
- package/dist/assets/MainHeader-CEPLiR-5.css +1044 -0
- package/dist/assets/{MainSidebar-BtW-9UPT.js → MainSidebar-BM5ku_wM.js} +11 -11
- package/dist/assets/{MainSidebar-CKMiDGvH.css → MainSidebar-zZpP3qQ0.css} +13 -12
- package/dist/assets/{NodeCreation-thD32mA1.js → NodeCreation-BEjdAYc_.js} +4 -4
- package/dist/assets/{NodeCreator-B4mHaU45.js → NodeCreator-cEUgbAI9.js} +14 -4
- package/dist/assets/{NodeDetailsView-cO3Ci9jH.js → NodeDetailsView-D4O9dKTA.js} +93 -68
- package/dist/assets/{NodeDetailsView-CGgV4Pn_.css → NodeDetailsView-DsFLtbxi.css} +20 -20
- package/dist/assets/{NodeView-E5b1ClVD.js → NodeView-DDSOUm8E.js} +152 -34
- package/dist/assets/{ProjectCardBadge-LnLKqSK-.js → ProjectCardBadge-BNn2hiMe.js} +1 -1
- package/dist/assets/{ProjectHeader-DC02ZuZ0.js → ProjectHeader-CaEZ2OPj.js} +1 -1
- package/dist/assets/{ProjectSettings-Zr1UOp7s.js → ProjectSettings-otA8E-yW.js} +2 -2
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CM7WIpD3.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-C3JbZMCk.js} +1 -1
- package/dist/assets/{ResourcesListLayout-DTsuHdYx.js → ResourcesListLayout-1d9Ic6VX.js} +2 -2
- package/dist/assets/{ResourcesListLayout-CglK2dXR.css → ResourcesListLayout-CtGME7aU.css} +8 -8
- package/dist/assets/{RunData-DepHcD2K.css → RunData-BjlZgIyx.css} +102 -73
- package/dist/assets/{RunData-Ds-U68nr.js → RunData-Bx47sNQp.js} +690 -398
- package/dist/assets/{RunDataAi-BF2gZZGr.css → RunDataAi-D9VLFXIf.css} +10 -51
- package/dist/assets/{RunDataAi-DdK11EHU.js → RunDataAi-DOac7nwD.js} +27 -310
- package/dist/assets/{RunDataJson-Txw0lqay.css → RunDataJson-BH9HLoGC.css} +12 -8
- package/dist/assets/{RunDataJson-B2WU5od1.js → RunDataJson-Pev6yNEV.js} +20 -14
- package/dist/assets/{RunDataJsonActions-DqZ2X1yJ.js → RunDataJsonActions-Co4xgmVq.js} +1 -1
- package/dist/assets/RunDataParsedAiContent-9EEUzCKp.css +176 -0
- package/dist/assets/RunDataParsedAiContent-D6MNLmT3.js +148 -0
- package/dist/assets/{RunDataSearch-CQsyZvGK.js → RunDataSearch-C8orcAlP.js} +1 -1
- package/dist/assets/{RunDataTable-DyUvXWfl.css → RunDataTable-CUxj7dHx.css} +47 -39
- package/dist/assets/{RunDataTable-BO0R4JT_.js → RunDataTable-oi_l8dhA.js} +41 -30
- package/dist/assets/{SamlOnboarding-CmwMX5y2.js → SamlOnboarding-CT5J6dx0.js} +3 -3
- package/dist/assets/{SettingsApiView-D6uBbi9-.js → SettingsApiView-CupjcI9v.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-CJODtx_K.js → SettingsCommunityNodesView-B5K2VLyJ.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-CVk14P_P.js → SettingsExternalSecrets-BidJCf_t.js} +1 -1
- package/dist/assets/{SettingsLdapView-pg71FErj.js → SettingsLdapView-Cva6akhW.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DUOI3Xb9.js → SettingsLogStreamingView-Cy-rAKUO.js} +1 -1
- package/dist/assets/{SettingsPersonalView-BFnOmBPC.js → SettingsPersonalView-ZJ1Syok2.js} +14 -13
- package/dist/assets/{SettingsSourceControl-BUNmxcvB.js → SettingsSourceControl-CMtqqlkO.js} +1 -1
- package/dist/assets/{SettingsSso-Dx8Qw_2Z.js → SettingsSso-Bi3OpykL.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-DTk86tXU.js → SettingsUsageAndPlan-C5TbwZhP.js} +1 -1
- package/dist/assets/{SettingsUsersView-BviXcl30.js → SettingsUsersView-BHuP5k0A.js} +1 -1
- package/dist/assets/{SettingsView-fzPdUijx.js → SettingsView-DPIIqaKN.js} +1 -1
- package/dist/assets/{SetupView-DUTx1JXK.js → SetupView-C4V9j6sh.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-fApxCGHh.js → SetupWorkflowCredentialsButton-BZ9ILQUp.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-C5t9fEKF.js → SetupWorkflowFromTemplateView-3uV3zSU2.js} +3 -3
- package/dist/assets/{SigninView-BRVoXQRW.js → SigninView-DWZHdCjG.js} +3 -3
- package/dist/assets/{SignoutView-Duh6wb4Y.js → SignoutView-DbduXAir.js} +1 -1
- package/dist/assets/{SignupView-DMkpTtjs.js → SignupView-DWq6VACk.js} +3 -3
- package/dist/assets/{TemplateDetails-Df9_jph6.js → TemplateDetails-BckqE6GK.js} +1 -1
- package/dist/assets/{TemplateList-qSnJvw0K.js → TemplateList-Bw0JeBMP.js} +1 -1
- package/dist/assets/{TemplatesCollectionView--ccYXaCo.js → TemplatesCollectionView-CAKT-mpV.js} +5 -5
- package/dist/assets/{TemplatesSearchView-D1YgHKld.js → TemplatesSearchView-I2a5us58.js} +3 -3
- package/dist/assets/{TemplatesView-B9CwObHN.js → TemplatesView-6EwGFFJK.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-DtLpUF59.js → TemplatesWorkflowView-C8xYMhwu.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-DFcBlKnN.js → TestDefinitionEditView-CNd3Cuzq.js} +8 -8
- package/dist/assets/{TestDefinitionListView-C_mbolTO.js → TestDefinitionListView-BwTWIaAM.js} +1 -1
- package/dist/assets/{TestDefinitionNewView-CvyM6TLE.js → TestDefinitionNewView-BQas0_G1.js} +2 -2
- package/dist/assets/{TestDefinitionRootView-BXzJY0cY.js → TestDefinitionRootView-D971MFye.js} +1 -1
- package/dist/assets/{VariablesView-BHFJj5IU.js → VariablesView-DcBBuFxh.js} +3 -3
- package/dist/assets/{WorkerView-CgIksFjP.js → WorkerView-DSgBNIeb.js} +6 -6
- package/dist/assets/WorkflowActivator-CPCbgb_n.js +776 -0
- package/dist/assets/{MainHeader-CWA2JfVJ.css → WorkflowActivator-DAyH7N29.css} +74 -434
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BcBLZ_Ul.js → WorkflowExecutionsInfoAccordion-Bc6vzAZu.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-B9ByHnbR.js → WorkflowExecutionsLandingPage-BPPS4V9i.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-DCE7TYLh.js → WorkflowExecutionsPreview-Bbb5MB8Z.js} +6 -6
- package/dist/assets/{WorkflowExecutionsView-DFoBpdS7.js → WorkflowExecutionsView-Pz-7iHJY.js} +11 -9
- package/dist/assets/{WorkflowHistory-DolmPUM2.js → WorkflowHistory-Czo9IuI6.js} +4 -4
- package/dist/assets/{WorkflowOnboardingView-DQW48M8_.js → WorkflowOnboardingView-B8DdkfJ5.js} +1 -1
- package/dist/assets/{WorkflowPreview-BFR6V9SO.js → WorkflowPreview-eVlO1itk.js} +1 -1
- package/dist/assets/{WorkflowsView-CsM69PSv.css → WorkflowsView-B2_HJCJ5.css} +28 -162
- package/dist/assets/{WorkflowsView-B-feKuLZ.js → WorkflowsView-Cr2D0vym.js} +124 -217
- package/dist/assets/{chartjs.utils-BcXTJ2Te.js → chartjs.utils-Dk1WO3Mr.js} +2 -2
- package/dist/assets/{dateFormatter-CZI1kGYK.js → dateFormatter-C8N5khiG.js} +5 -5
- package/dist/assets/{easyAiWorkflowUtils-ChToD_Yl.js → easyAiWorkflowUtils-CLqHnasO.js} +1 -1
- package/dist/assets/{global-link-actions-OGaZVwsw.js → global-link-actions-BvoZh8u9.js} +1 -1
- package/dist/assets/{import-curl-CAszzwx1.js → import-curl-BpxkGYMX.js} +1 -1
- package/dist/assets/{index-BpdkKRP4.js → index-B6eunbxp.js} +14227 -11881
- package/dist/assets/{index-7WdERzqm.js → index-Br8T1Gn6.js} +1 -1
- package/dist/assets/{index-C5OXOcIJ.css → index-DCpy4nCU.css} +6147 -4061
- package/dist/assets/{pickBy-mYqFOFbh.js → pickBy-8Urz9lDY.js} +1 -1
- package/dist/assets/{templateActions-BX9arLbc.js → templateActions-DzjysjbQ.js} +1 -1
- package/dist/assets/{useBeforeUnload-K7nQ15Rk.js → useBeforeUnload-DxrN8vOO.js} +1 -1
- package/dist/assets/{useCanvasMapping-D_UPCxYX.js → useCanvasMapping-C2BQB9QB.js} +270 -112
- package/dist/assets/{useCanvasMapping-C--wac6H.css → useCanvasMapping-cuXLM-h-.css} +185 -4
- package/dist/assets/{useCanvasOperations-D6VFiC3b.js → useCanvasOperations-DaP5jKbH.js} +4 -3
- package/dist/assets/{useClearExecutionButtonVisible-D_0O6f0X.js → useClearExecutionButtonVisible-BV-jMf2m.js} +2 -2
- package/dist/assets/{useExecutionDebugging-BNMaKOh7.js → useExecutionDebugging-0pPCimcw.js} +1 -1
- package/dist/assets/{useExecutionHelpers-DN5HqPqY.js → useExecutionHelpers-DIvhViMz.js} +2 -2
- package/dist/assets/{useImportCurlCommand-BSL596XF.js → useImportCurlCommand-BWf4R83s.js} +19 -10
- package/dist/assets/usePushConnection-Pobjq0U9.js +632 -0
- package/dist/assets/{useTestDefinitionForm-CIhrxyve.js → useTestDefinitionForm-BA3IS_2B.js} +1 -1
- package/dist/assets/{useWorkflowActivate-pZ62ib_C.js → useWorkflowActivate-DFqvrpj6.js} +1 -1
- package/dist/assets/useWorkflowSaving-BACesUoL.js +66 -0
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/vite.config.mts +15 -1
- package/dist/assets/CollectionParameter-CQXiWluX.js +0 -4
- package/dist/assets/InsightsDashboard-o3JS9fjz.js +0 -178
- package/dist/assets/WorkflowActivator-BX59FxTZ.css +0 -260
- package/dist/assets/WorkflowActivator-O6i5XAk2.js +0 -231
- package/dist/assets/usePushConnection-BdV7ILvK.js +0 -535
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { P as ProjectCardBadge } from "./ProjectCardBadge-
|
|
2
|
-
import { d as defineComponent,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { u as useOverview, P as ProjectHeader } from "./ProjectHeader-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import "./useWorkflowActivate-
|
|
1
|
+
import { P as ProjectCardBadge } from "./ProjectCardBadge-BNn2hiMe.js";
|
|
2
|
+
import { d as defineComponent, R as useRoute, b as useRouter, a2 as useFoldersStore, r as ref, q as computed, c as useI18n, ab as ProjectTypes, V as VIEWS, h as resolveComponent, i as createElementBlock, g as openBlock, j as createVNode, w as withCtx, n as normalizeClass, k as createBaseVNode, f as createCommentVNode, e as createBlock, m as unref, gZ as ResourceType, b2 as withModifiers, l as createTextVNode, t as toDisplayString, d3 as _sfc_main$3, _ as _export_sfc, a as useToast, p as useSettingsStore, H as useUIStore, u as useUsersStore, Q as useWorkflowsStore, a1 as useProjectsStore, a7 as getResourcePermissions, fR as dateFormat, aA as withDirectives, aB as vShow, af as WORKFLOW_SHARE_MODAL_KEY, ag as useTelemetry, an as DUPLICATE_MODAL_KEY, ai as useMessage, aj as MODAL_CONFIRM, g_ as PROJECT_MOVE_RESOURCE_MODAL, g$ as FOLDER_NAME_ILLEGAL_CHARACTERS_REGEX, h0 as ILLEGAL_FOLDER_CHARACTERS, h1 as FOLDER_NAME_ONLY_DOTS_REGEX, h2 as FOLDER_NAME_MAX_LENGTH, a0 as useSourceControlStore, au as usePostHog, E as useTagsStore, dn as useUsageStore, h3 as useInsightsStore, a4 as useDocumentTitle, G as useDebounce, aa as EnterpriseEditionFeature, h4 as EASY_AI_WORKFLOW_EXPERIMENT, X as watch, o as onMounted, C as createEventBus, y as onBeforeUnmount, A as debounce, h5 as PROJECT_ROOT, aV as createSlots, dk as N8nInputLabel, ad as _sfc_main$4, ee as N8nSelect, F as Fragment, D as renderList, ed as _sfc_main$5, d8 as N8nHeading, be as N8nText, h6 as N8nCard, bE as N8nIcon, h7 as Draggable, h8 as DEFAULT_WORKFLOW_PAGE_SIZE, dr as COMMUNITY_PLUS_ENROLLMENT_MODAL } from "./index-B6eunbxp.js";
|
|
3
|
+
import { W as WorkflowActivator, _ as __unplugin_components_0, I as InlineTextEdit } from "./WorkflowActivator-CPCbgb_n.js";
|
|
4
|
+
import { R as ResourcesListLayout } from "./ResourcesListLayout-1d9Ic6VX.js";
|
|
5
|
+
import { u as useOverview, P as ProjectHeader } from "./ProjectHeader-CaEZ2OPj.js";
|
|
6
|
+
import { I as InsightsSummary } from "./InsightsSummary-gldDQ9rg.js";
|
|
7
|
+
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-CLqHnasO.js";
|
|
8
|
+
import "./useWorkflowActivate-DFqvrpj6.js";
|
|
9
9
|
const FOLDER_LIST_ITEM_ACTIONS = {
|
|
10
10
|
OPEN: "open",
|
|
11
11
|
CREATE: "create",
|
|
@@ -16,7 +16,7 @@ const FOLDER_LIST_ITEM_ACTIONS = {
|
|
|
16
16
|
};
|
|
17
17
|
const _hoisted_1$2 = { "data-test-id": "folder-card" };
|
|
18
18
|
const _hoisted_2$1 = { key: 0 };
|
|
19
|
-
const _sfc_main$
|
|
19
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
20
20
|
__name: "FolderCard",
|
|
21
21
|
props: {
|
|
22
22
|
data: {},
|
|
@@ -112,7 +112,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
112
112
|
const _component_n8n_heading = resolveComponent("n8n-heading");
|
|
113
113
|
const _component_N8nBadge = resolveComponent("N8nBadge");
|
|
114
114
|
const _component_n8n_text = resolveComponent("n8n-text");
|
|
115
|
-
const _component_TimeAgo = _sfc_main$
|
|
115
|
+
const _component_TimeAgo = _sfc_main$3;
|
|
116
116
|
const _component_n8n_breadcrumbs = resolveComponent("n8n-breadcrumbs");
|
|
117
117
|
const _component_ProjectCardBadge = ProjectCardBadge;
|
|
118
118
|
const _component_n8n_action_toggle = resolveComponent("n8n-action-toggle");
|
|
@@ -285,7 +285,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
285
285
|
});
|
|
286
286
|
const card = "_card_pt4ir_123";
|
|
287
287
|
const cardBadge$1 = "_cardBadge_pt4ir_157";
|
|
288
|
-
const style0$
|
|
288
|
+
const style0$2 = {
|
|
289
289
|
card,
|
|
290
290
|
"folder-icon": "_folder-icon_pt4ir_131",
|
|
291
291
|
"card-header": "_card-header_pt4ir_140",
|
|
@@ -296,143 +296,10 @@ const style0$3 = {
|
|
|
296
296
|
"card-actions": "_card-actions_pt4ir_164",
|
|
297
297
|
"info-cell--created": "_info-cell--created_pt4ir_182"
|
|
298
298
|
};
|
|
299
|
-
const cssModules$3 = {
|
|
300
|
-
"$style": style0$3
|
|
301
|
-
};
|
|
302
|
-
const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__cssModules", cssModules$3]]);
|
|
303
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
304
|
-
__name: "FolderBreadcrumbs",
|
|
305
|
-
props: {
|
|
306
|
-
actions: {},
|
|
307
|
-
breadcrumbs: {},
|
|
308
|
-
hiddenItemsTrigger: { default: "click" }
|
|
309
|
-
},
|
|
310
|
-
emits: ["itemSelected", "action", "itemDrop", "projectDrop"],
|
|
311
|
-
setup(__props, { emit: __emit }) {
|
|
312
|
-
const props = __props;
|
|
313
|
-
const emit = __emit;
|
|
314
|
-
const i18n = useI18n();
|
|
315
|
-
const projectsStore = useProjectsStore();
|
|
316
|
-
const foldersStore = useFoldersStore();
|
|
317
|
-
const currentProject = computed(() => projectsStore.currentProject);
|
|
318
|
-
const projectName = computed(() => {
|
|
319
|
-
if (currentProject.value?.type === ProjectTypes.Personal) {
|
|
320
|
-
return i18n.baseText("projects.menu.personal");
|
|
321
|
-
}
|
|
322
|
-
return currentProject.value?.name;
|
|
323
|
-
});
|
|
324
|
-
const isDragging = computed(() => {
|
|
325
|
-
return foldersStore.draggedElement !== null;
|
|
326
|
-
});
|
|
327
|
-
const onItemSelect = (item) => {
|
|
328
|
-
emit("itemSelected", item);
|
|
329
|
-
};
|
|
330
|
-
const onAction = (action) => {
|
|
331
|
-
emit("action", action);
|
|
332
|
-
};
|
|
333
|
-
const onProjectMouseUp = () => {
|
|
334
|
-
if (!isDragging.value || !currentProject.value?.name) {
|
|
335
|
-
return;
|
|
336
|
-
}
|
|
337
|
-
emit("projectDrop", currentProject.value.id, currentProject.value.name);
|
|
338
|
-
};
|
|
339
|
-
const onProjectHover = () => {
|
|
340
|
-
if (!isDragging.value || !currentProject.value?.name) {
|
|
341
|
-
return;
|
|
342
|
-
}
|
|
343
|
-
foldersStore.activeDropTarget = {
|
|
344
|
-
type: "project",
|
|
345
|
-
id: currentProject.value?.id,
|
|
346
|
-
name: currentProject.value?.name
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
|
-
const onItemHover = (item) => {
|
|
350
|
-
if (!isDragging.value) {
|
|
351
|
-
return;
|
|
352
|
-
}
|
|
353
|
-
foldersStore.activeDropTarget = {
|
|
354
|
-
type: "folder",
|
|
355
|
-
id: item.id,
|
|
356
|
-
name: item.label
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
return (_ctx, _cache) => {
|
|
360
|
-
const _component_N8nText = resolveComponent("N8nText");
|
|
361
|
-
const _component_n8n_link = resolveComponent("n8n-link");
|
|
362
|
-
const _component_n8n_breadcrumbs = resolveComponent("n8n-breadcrumbs");
|
|
363
|
-
const _component_n8n_action_toggle = resolveComponent("n8n-action-toggle");
|
|
364
|
-
return openBlock(), createElementBlock("div", {
|
|
365
|
-
class: normalizeClass({ [_ctx.$style.container]: true, [_ctx.$style["dragging"]]: isDragging.value }),
|
|
366
|
-
"data-test-id": "folder-breadcrumbs"
|
|
367
|
-
}, [
|
|
368
|
-
_ctx.breadcrumbs.visibleItems ? (openBlock(), createBlock(_component_n8n_breadcrumbs, {
|
|
369
|
-
key: 0,
|
|
370
|
-
"drag-active": isDragging.value,
|
|
371
|
-
"onUpdate:dragActive": _cache[1] || (_cache[1] = ($event) => isDragging.value = $event),
|
|
372
|
-
items: _ctx.breadcrumbs.visibleItems,
|
|
373
|
-
"highlight-last-item": false,
|
|
374
|
-
"path-truncated": _ctx.breadcrumbs.visibleItems[0].parentFolder,
|
|
375
|
-
"hidden-items": _ctx.breadcrumbs.hiddenItems,
|
|
376
|
-
"hidden-items-trigger": props.hiddenItemsTrigger,
|
|
377
|
-
"data-test-id": "folder-list-breadcrumbs",
|
|
378
|
-
onItemSelected: onItemSelect,
|
|
379
|
-
onItemHover,
|
|
380
|
-
onItemDrop: _cache[2] || (_cache[2] = ($event) => emit("itemDrop", $event))
|
|
381
|
-
}, createSlots({ _: 2 }, [
|
|
382
|
-
currentProject.value ? {
|
|
383
|
-
name: "prepend",
|
|
384
|
-
fn: withCtx(() => [
|
|
385
|
-
createBaseVNode("div", {
|
|
386
|
-
class: normalizeClass({ [_ctx.$style["home-project"]]: true, [_ctx.$style.dragging]: isDragging.value }),
|
|
387
|
-
"data-test-id": "home-project",
|
|
388
|
-
onMouseenter: onProjectHover,
|
|
389
|
-
onMouseup: _cache[0] || (_cache[0] = ($event) => isDragging.value ? onProjectMouseUp() : null)
|
|
390
|
-
}, [
|
|
391
|
-
createVNode(_component_n8n_link, {
|
|
392
|
-
to: `/projects/${currentProject.value.id}`
|
|
393
|
-
}, {
|
|
394
|
-
default: withCtx(() => [
|
|
395
|
-
createVNode(_component_N8nText, {
|
|
396
|
-
size: "medium",
|
|
397
|
-
color: "text-base"
|
|
398
|
-
}, {
|
|
399
|
-
default: withCtx(() => [
|
|
400
|
-
createTextVNode(toDisplayString(projectName.value), 1)
|
|
401
|
-
]),
|
|
402
|
-
_: 1
|
|
403
|
-
})
|
|
404
|
-
]),
|
|
405
|
-
_: 1
|
|
406
|
-
}, 8, ["to"])
|
|
407
|
-
], 34)
|
|
408
|
-
]),
|
|
409
|
-
key: "0"
|
|
410
|
-
} : void 0
|
|
411
|
-
]), 1032, ["drag-active", "items", "path-truncated", "hidden-items", "hidden-items-trigger"])) : createCommentVNode("", true),
|
|
412
|
-
_ctx.breadcrumbs.visibleItems ? (openBlock(), createBlock(_component_n8n_action_toggle, {
|
|
413
|
-
key: 1,
|
|
414
|
-
actions: _ctx.actions,
|
|
415
|
-
class: normalizeClass(_ctx.$style["action-toggle"]),
|
|
416
|
-
theme: "dark",
|
|
417
|
-
"data-test-id": "folder-breadcrumbs-actions",
|
|
418
|
-
onAction
|
|
419
|
-
}, null, 8, ["actions", "class"])) : createCommentVNode("", true)
|
|
420
|
-
], 2);
|
|
421
|
-
};
|
|
422
|
-
}
|
|
423
|
-
});
|
|
424
|
-
const container = "_container_n9y3q_123";
|
|
425
|
-
const dragging$1 = "_dragging_n9y3q_138";
|
|
426
|
-
const style0$2 = {
|
|
427
|
-
container,
|
|
428
|
-
"action-toggle": "_action-toggle_n9y3q_128",
|
|
429
|
-
"home-project": "_home-project_n9y3q_132",
|
|
430
|
-
dragging: dragging$1
|
|
431
|
-
};
|
|
432
299
|
const cssModules$2 = {
|
|
433
300
|
"$style": style0$2
|
|
434
301
|
};
|
|
435
|
-
const
|
|
302
|
+
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$2]]);
|
|
436
303
|
const _hoisted_1$1 = { key: 0 };
|
|
437
304
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
438
305
|
__name: "WorkflowCard",
|
|
@@ -520,7 +387,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
520
387
|
value: WORKFLOW_LIST_ITEM_ACTIONS.DUPLICATE
|
|
521
388
|
});
|
|
522
389
|
}
|
|
523
|
-
if (workflowPermissions.value.update && showFolders.value && !props.readOnly
|
|
390
|
+
if (workflowPermissions.value.update && showFolders.value && !props.readOnly) {
|
|
524
391
|
items.push({
|
|
525
392
|
label: locale.baseText("folders.actions.moveToFolder"),
|
|
526
393
|
value: WORKFLOW_LIST_ITEM_ACTIONS.MOVE_TO_FOLDER
|
|
@@ -542,7 +409,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
542
409
|
});
|
|
543
410
|
const formattedCreatedAtDate = computed(() => {
|
|
544
411
|
const currentYear = (/* @__PURE__ */ new Date()).getFullYear().toString();
|
|
545
|
-
return
|
|
412
|
+
return dateFormat(
|
|
546
413
|
props.data.createdAt,
|
|
547
414
|
`d mmmm${String(props.data.createdAt).startsWith(currentYear) ? "" : ", yyyy"}`
|
|
548
415
|
);
|
|
@@ -585,7 +452,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
585
452
|
tags: (props.data.tags ?? []).map(
|
|
586
453
|
(tag) => typeof tag !== "string" && "id" in tag ? tag.id : tag
|
|
587
454
|
),
|
|
588
|
-
externalEventBus: props.workflowListEventBus
|
|
455
|
+
externalEventBus: props.workflowListEventBus,
|
|
456
|
+
parentFolderId: props.data.parentFolder?.id
|
|
589
457
|
}
|
|
590
458
|
});
|
|
591
459
|
break;
|
|
@@ -782,7 +650,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
782
650
|
default: withCtx(() => [
|
|
783
651
|
withDirectives(createBaseVNode("span", null, [
|
|
784
652
|
createTextVNode(toDisplayString(unref(locale).baseText("workflows.item.updated")) + " ", 1),
|
|
785
|
-
createVNode(_sfc_main$
|
|
653
|
+
createVNode(_sfc_main$3, {
|
|
786
654
|
date: String(_ctx.data.updatedAt)
|
|
787
655
|
}, null, 8, ["date"]),
|
|
788
656
|
_cache[1] || (_cache[1] = createTextVNode(" | "))
|
|
@@ -1017,6 +885,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1017
885
|
const currentSort = ref("updatedAt:desc");
|
|
1018
886
|
const currentFolderId = ref(null);
|
|
1019
887
|
const showCardsBadge = ref(false);
|
|
888
|
+
const isNameEditEnabled = ref(false);
|
|
1020
889
|
const folderActions = computed(() => [
|
|
1021
890
|
{
|
|
1022
891
|
label: i18n.baseText("generic.open"),
|
|
@@ -1078,6 +947,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1078
947
|
const currentFolder = computed(() => {
|
|
1079
948
|
return currentFolderId.value ? foldersStore.breadcrumbsCache[currentFolderId.value] : null;
|
|
1080
949
|
});
|
|
950
|
+
const currentFolderParent = computed(() => {
|
|
951
|
+
return currentFolder.value?.parentFolder ? foldersStore.breadcrumbsCache[currentFolder.value.parentFolder] : null;
|
|
952
|
+
});
|
|
1081
953
|
const isDragging = computed(() => {
|
|
1082
954
|
return foldersStore.draggedElement !== null;
|
|
1083
955
|
});
|
|
@@ -1204,8 +1076,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1204
1076
|
await fetchWorkflows();
|
|
1205
1077
|
}
|
|
1206
1078
|
);
|
|
1207
|
-
sourceControlStore.$onAction(({ name, after }) => {
|
|
1208
|
-
if (
|
|
1079
|
+
sourceControlStore.$onAction(({ name: name2, after }) => {
|
|
1080
|
+
if (name2 !== "pullWorkfolder") return;
|
|
1209
1081
|
after(async () => await initialize());
|
|
1210
1082
|
});
|
|
1211
1083
|
const onWorkflowDeleted = async () => {
|
|
@@ -1520,7 +1392,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1520
1392
|
);
|
|
1521
1393
|
folderHelpers.onDragEnd();
|
|
1522
1394
|
};
|
|
1523
|
-
const moveFolderToProjectRoot = async (id,
|
|
1395
|
+
const moveFolderToProjectRoot = async (id, name2) => {
|
|
1524
1396
|
if (!foldersStore.draggedElement) return;
|
|
1525
1397
|
await moveResourceOnDrop(
|
|
1526
1398
|
{
|
|
@@ -1531,7 +1403,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1531
1403
|
{
|
|
1532
1404
|
id,
|
|
1533
1405
|
type: "project",
|
|
1534
|
-
name
|
|
1406
|
+
name: name2
|
|
1535
1407
|
}
|
|
1536
1408
|
);
|
|
1537
1409
|
folderHelpers.onDragEnd();
|
|
@@ -1569,49 +1441,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1569
1441
|
}
|
|
1570
1442
|
}
|
|
1571
1443
|
};
|
|
1572
|
-
const visibleBreadcrumbsItems = computed(() => {
|
|
1573
|
-
if (!currentFolder.value) return [];
|
|
1574
|
-
const items = [];
|
|
1575
|
-
const parent = foldersStore.getCachedFolder(currentFolder.value.parentFolder ?? "");
|
|
1576
|
-
if (parent) {
|
|
1577
|
-
items.push({
|
|
1578
|
-
id: parent.id,
|
|
1579
|
-
label: parent.name,
|
|
1580
|
-
href: `/projects/${route.params.projectId}/folders/${parent.id}/workflows`,
|
|
1581
|
-
parentFolder: parent.parentFolder
|
|
1582
|
-
});
|
|
1583
|
-
}
|
|
1584
|
-
items.push({
|
|
1585
|
-
id: currentFolder.value.id,
|
|
1586
|
-
label: currentFolder.value.name,
|
|
1587
|
-
parentFolder: parent?.parentFolder
|
|
1588
|
-
});
|
|
1589
|
-
return items;
|
|
1590
|
-
});
|
|
1591
|
-
const hiddenBreadcrumbsItems = computed(() => {
|
|
1592
|
-
const lastVisibleParent = visibleBreadcrumbsItems.value[visibleBreadcrumbsItems.value.length - 1];
|
|
1593
|
-
if (!lastVisibleParent) return [];
|
|
1594
|
-
const items = [];
|
|
1595
|
-
let parentFolder = lastVisibleParent.parentFolder;
|
|
1596
|
-
while (parentFolder) {
|
|
1597
|
-
const parent = foldersStore.getCachedFolder(parentFolder);
|
|
1598
|
-
if (!parent) break;
|
|
1599
|
-
items.unshift({
|
|
1600
|
-
id: parent.id,
|
|
1601
|
-
label: parent.name,
|
|
1602
|
-
href: `/projects/${route.params.projectId}/folders/${parent.id}/workflows`,
|
|
1603
|
-
parentFolder: parent.parentFolder
|
|
1604
|
-
});
|
|
1605
|
-
parentFolder = parent.parentFolder;
|
|
1606
|
-
}
|
|
1607
|
-
return items;
|
|
1608
|
-
});
|
|
1609
|
-
const mainBreadcrumbs = computed(() => {
|
|
1610
|
-
return {
|
|
1611
|
-
visibleItems: visibleBreadcrumbsItems.value,
|
|
1612
|
-
hiddenItems: hiddenBreadcrumbsItems.value
|
|
1613
|
-
};
|
|
1614
|
-
});
|
|
1615
1444
|
const onBreadcrumbItemClick = (item) => {
|
|
1616
1445
|
if (item.href) {
|
|
1617
1446
|
loading.value = true;
|
|
@@ -1648,8 +1477,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1648
1477
|
);
|
|
1649
1478
|
break;
|
|
1650
1479
|
case FOLDER_LIST_ITEM_ACTIONS.RENAME:
|
|
1651
|
-
|
|
1652
|
-
await renameFolder(route.params.folderId);
|
|
1480
|
+
onNameToggle();
|
|
1653
1481
|
break;
|
|
1654
1482
|
case FOLDER_LIST_ITEM_ACTIONS.MOVE:
|
|
1655
1483
|
if (!currentFolder.value) return;
|
|
@@ -1952,14 +1780,68 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1952
1780
|
}
|
|
1953
1781
|
});
|
|
1954
1782
|
};
|
|
1783
|
+
const onNameToggle = () => {
|
|
1784
|
+
isNameEditEnabled.value = !isNameEditEnabled.value;
|
|
1785
|
+
};
|
|
1786
|
+
const onNameSubmit = async ({
|
|
1787
|
+
name: name2,
|
|
1788
|
+
onSubmit
|
|
1789
|
+
}) => {
|
|
1790
|
+
if (!currentFolder.value || !currentProject.value) return;
|
|
1791
|
+
const newName = name2.trim();
|
|
1792
|
+
if (!newName) {
|
|
1793
|
+
toast.showMessage({
|
|
1794
|
+
title: i18n.baseText("renameAction.emptyName.title"),
|
|
1795
|
+
message: i18n.baseText("renameAction.emptyName.message"),
|
|
1796
|
+
type: "error"
|
|
1797
|
+
});
|
|
1798
|
+
onSubmit(false);
|
|
1799
|
+
return;
|
|
1800
|
+
}
|
|
1801
|
+
if (newName === currentFolder.value.name) {
|
|
1802
|
+
isNameEditEnabled.value = false;
|
|
1803
|
+
onSubmit(true);
|
|
1804
|
+
return;
|
|
1805
|
+
}
|
|
1806
|
+
const validationResult = folderHelpers.validateFolderName(newName);
|
|
1807
|
+
if (typeof validationResult === "string") {
|
|
1808
|
+
toast.showMessage({
|
|
1809
|
+
title: i18n.baseText("renameAction.invalidName.title"),
|
|
1810
|
+
message: validationResult,
|
|
1811
|
+
type: "error"
|
|
1812
|
+
});
|
|
1813
|
+
onSubmit(false);
|
|
1814
|
+
return;
|
|
1815
|
+
} else {
|
|
1816
|
+
try {
|
|
1817
|
+
await foldersStore.renameFolder(currentProject.value?.id, currentFolder.value.id, newName);
|
|
1818
|
+
foldersStore.breadcrumbsCache[currentFolder.value.id].name = newName;
|
|
1819
|
+
toast.showMessage({
|
|
1820
|
+
title: i18n.baseText("folders.rename.success.message", {
|
|
1821
|
+
interpolate: { folderName: newName }
|
|
1822
|
+
}),
|
|
1823
|
+
type: "success"
|
|
1824
|
+
});
|
|
1825
|
+
telemetry.track("User renamed folder", {
|
|
1826
|
+
folder_id: currentFolder.value.id
|
|
1827
|
+
});
|
|
1828
|
+
isNameEditEnabled.value = false;
|
|
1829
|
+
onSubmit(true);
|
|
1830
|
+
} catch (error) {
|
|
1831
|
+
toast.showError(error, i18n.baseText("folders.rename.error.title"));
|
|
1832
|
+
onSubmit(false);
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
};
|
|
1955
1836
|
return (_ctx, _cache) => {
|
|
1956
1837
|
const _component_N8nButton = resolveComponent("N8nButton");
|
|
1957
1838
|
const _component_N8nTooltip = resolveComponent("N8nTooltip");
|
|
1958
1839
|
const _component_n8n_button = resolveComponent("n8n-button");
|
|
1959
1840
|
const _component_N8nCallout = resolveComponent("N8nCallout");
|
|
1960
1841
|
const _component_n8n_loading = resolveComponent("n8n-loading");
|
|
1842
|
+
const _component_InlineTextEdit = InlineTextEdit;
|
|
1961
1843
|
const _component_FolderBreadcrumbs = __unplugin_components_0;
|
|
1962
|
-
const _component_FolderCard =
|
|
1844
|
+
const _component_FolderCard = __unplugin_components_2;
|
|
1963
1845
|
const _component_n8n_action_box = resolveComponent("n8n-action-box");
|
|
1964
1846
|
return openBlock(), createBlock(ResourcesListLayout, {
|
|
1965
1847
|
filters: filters.value,
|
|
@@ -1992,8 +1874,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1992
1874
|
default: withCtx(() => [
|
|
1993
1875
|
unref(overview).isOverviewSubPage && unref(insightsStore).isSummaryEnabled ? (openBlock(), createBlock(InsightsSummary, {
|
|
1994
1876
|
key: 0,
|
|
1995
|
-
loading: unref(insightsStore).
|
|
1996
|
-
summary: unref(insightsStore).
|
|
1877
|
+
loading: unref(insightsStore).weeklySummary.isLoading,
|
|
1878
|
+
summary: unref(insightsStore).weeklySummary.state,
|
|
1879
|
+
"time-range": "week"
|
|
1997
1880
|
}, null, 8, ["loading", "summary"])) : createCommentVNode("", true)
|
|
1998
1881
|
]),
|
|
1999
1882
|
_: 1
|
|
@@ -2052,14 +1935,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2052
1935
|
"data-test-id": "main-breadcrumbs"
|
|
2053
1936
|
}, [
|
|
2054
1937
|
createVNode(_component_FolderBreadcrumbs, {
|
|
2055
|
-
|
|
1938
|
+
"current-folder": currentFolderParent.value,
|
|
2056
1939
|
actions: mainBreadcrumbsActions.value,
|
|
2057
1940
|
"hidden-items-trigger": isDragging.value ? "hover" : "click",
|
|
1941
|
+
"current-folder-as-link": true,
|
|
2058
1942
|
onItemSelected: onBreadcrumbItemClick,
|
|
2059
1943
|
onAction: onBreadCrumbsAction,
|
|
2060
1944
|
onItemDrop: onBreadCrumbsItemDrop,
|
|
2061
1945
|
onProjectDrop: moveFolderToProjectRoot
|
|
2062
|
-
},
|
|
1946
|
+
}, {
|
|
1947
|
+
append: withCtx(() => [
|
|
1948
|
+
createBaseVNode("span", {
|
|
1949
|
+
class: normalizeClass(_ctx.$style["path-separator"])
|
|
1950
|
+
}, "/", 2),
|
|
1951
|
+
createVNode(_component_InlineTextEdit, {
|
|
1952
|
+
"data-test-id": "breadcrumbs-item-current",
|
|
1953
|
+
"model-value": currentFolder.value.name,
|
|
1954
|
+
"preview-value": currentFolder.value.name,
|
|
1955
|
+
"is-edit-enabled": isNameEditEnabled.value,
|
|
1956
|
+
"max-length": 30,
|
|
1957
|
+
disabled: readOnlyEnv.value || !hasPermissionToUpdateFolders.value,
|
|
1958
|
+
class: normalizeClass({ [_ctx.$style.name]: true, [_ctx.$style["pointer-disabled"]]: isDragging.value }),
|
|
1959
|
+
placeholder: unref(i18n).baseText("folders.rename.placeholder"),
|
|
1960
|
+
onToggle: onNameToggle,
|
|
1961
|
+
onSubmit: onNameSubmit
|
|
1962
|
+
}, null, 8, ["model-value", "preview-value", "is-edit-enabled", "disabled", "class", "placeholder"])
|
|
1963
|
+
]),
|
|
1964
|
+
_: 1
|
|
1965
|
+
}, 8, ["current-folder", "actions", "hidden-items-trigger"])
|
|
2063
1966
|
], 2)) : createCommentVNode("", true)
|
|
2064
1967
|
]),
|
|
2065
1968
|
item: withCtx(({ item: data, index }) => [
|
|
@@ -2248,7 +2151,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2248
2151
|
color: "text-base",
|
|
2249
2152
|
class: "mb-3xs"
|
|
2250
2153
|
}, null, 8, ["label"]),
|
|
2251
|
-
createVNode(_sfc_main$
|
|
2154
|
+
createVNode(_sfc_main$4, {
|
|
2252
2155
|
placeholder: unref(i18n).baseText("workflowOpen.filterWorkflows"),
|
|
2253
2156
|
"model-value": filters.value.tags,
|
|
2254
2157
|
"create-enabled": false,
|
|
@@ -2270,7 +2173,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2270
2173
|
}, {
|
|
2271
2174
|
default: withCtx(() => [
|
|
2272
2175
|
(openBlock(true), createElementBlock(Fragment, null, renderList(statusFilterOptions.value, (option) => {
|
|
2273
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2176
|
+
return openBlock(), createBlock(unref(_sfc_main$5), {
|
|
2274
2177
|
key: option.label,
|
|
2275
2178
|
label: option.label,
|
|
2276
2179
|
value: option.value,
|
|
@@ -2341,23 +2244,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2341
2244
|
};
|
|
2342
2245
|
}
|
|
2343
2246
|
});
|
|
2344
|
-
const actionsContainer = "
|
|
2345
|
-
const emptyStateCard = "
|
|
2346
|
-
const emptyStateCardIcon = "
|
|
2347
|
-
const dragging = "
|
|
2247
|
+
const actionsContainer = "_actionsContainer_6309i_123";
|
|
2248
|
+
const emptyStateCard = "_emptyStateCard_6309i_139";
|
|
2249
|
+
const emptyStateCardIcon = "_emptyStateCardIcon_6309i_152";
|
|
2250
|
+
const dragging = "_dragging_6309i_187";
|
|
2251
|
+
const name = "_name_6309i_205";
|
|
2348
2252
|
const style0 = {
|
|
2349
2253
|
actionsContainer,
|
|
2350
|
-
"easy-ai-workflow-callout": "_easy-ai-workflow-
|
|
2351
|
-
"callout-trailing-content": "_callout-trailing-
|
|
2254
|
+
"easy-ai-workflow-callout": "_easy-ai-workflow-callout_6309i_128",
|
|
2255
|
+
"callout-trailing-content": "_callout-trailing-content_6309i_133",
|
|
2352
2256
|
emptyStateCard,
|
|
2353
2257
|
emptyStateCardIcon,
|
|
2354
|
-
"add-folder-button": "_add-folder-
|
|
2355
|
-
"breadcrumbs-container": "_breadcrumbs-
|
|
2356
|
-
"breadcrumbs-loading": "_breadcrumbs-
|
|
2357
|
-
"empty-folder-container": "_empty-folder-
|
|
2358
|
-
"drag-active": "_drag-
|
|
2258
|
+
"add-folder-button": "_add-folder-button_6309i_161",
|
|
2259
|
+
"breadcrumbs-container": "_breadcrumbs-container_6309i_166",
|
|
2260
|
+
"breadcrumbs-loading": "_breadcrumbs-loading_6309i_172",
|
|
2261
|
+
"empty-folder-container": "_empty-folder-container_6309i_178",
|
|
2262
|
+
"drag-active": "_drag-active_6309i_182",
|
|
2359
2263
|
dragging,
|
|
2360
|
-
"drop-active": "_drop-
|
|
2264
|
+
"drop-active": "_drop-active_6309i_194",
|
|
2265
|
+
"path-separator": "_path-separator_6309i_199",
|
|
2266
|
+
name,
|
|
2267
|
+
"pointer-disabled": "_pointer-disabled_6309i_210"
|
|
2361
2268
|
};
|
|
2362
2269
|
const cssModules = {
|
|
2363
2270
|
"$style": style0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as smartDecimal } from "./InsightsSummary-
|
|
1
|
+
import { gV as useCssVar, ir as merge } from "./index-B6eunbxp.js";
|
|
2
|
+
import { s as smartDecimal } from "./InsightsSummary-gldDQ9rg.js";
|
|
3
3
|
const generateLinearGradient = (ctx, height) => {
|
|
4
4
|
const gradient = ctx.createLinearGradient(0, 0, 0, height);
|
|
5
5
|
gradient.addColorStop(0, "rgba(255, 111,92, 1)");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { fR as dateFormat } from "./index-B6eunbxp.js";
|
|
2
2
|
const convertToDisplayDateComponents = (fullDate) => {
|
|
3
3
|
const mask = `d mmm${new Date(fullDate).getFullYear() === (/* @__PURE__ */ new Date()).getFullYear() ? "" : ", yyyy"}#HH:MM:ss`;
|
|
4
|
-
const formattedDate =
|
|
4
|
+
const formattedDate = dateFormat(fullDate, mask);
|
|
5
5
|
const [date, time] = formattedDate.split("#");
|
|
6
6
|
return { date, time };
|
|
7
7
|
};
|
|
8
8
|
function convertToDisplayDate(fullDate) {
|
|
9
9
|
const mask = `mmm d${new Date(fullDate).getFullYear() === (/* @__PURE__ */ new Date()).getFullYear() ? "" : ", yyyy"}#HH:MM:ss`;
|
|
10
|
-
const formattedDate =
|
|
10
|
+
const formattedDate = dateFormat(fullDate, mask);
|
|
11
11
|
const [date, time] = formattedDate.split("#");
|
|
12
12
|
return { date, time };
|
|
13
13
|
}
|
|
14
|
-
const toDayMonth = (fullDate) =>
|
|
15
|
-
const toTime = (fullDate, includeMillis = false) =>
|
|
14
|
+
const toDayMonth = (fullDate) => dateFormat(fullDate, "d mmm");
|
|
15
|
+
const toTime = (fullDate, includeMillis = false) => dateFormat(fullDate, includeMillis ? "HH:MM:ss.l" : "HH:MM:ss");
|
|
16
16
|
export {
|
|
17
17
|
toDayMonth as a,
|
|
18
18
|
convertToDisplayDateComponents as b,
|