n8n-editor-ui 1.85.2 → 1.87.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-ChSRgyeI.css +39 -0
- package/dist/assets/AnimatedSpinner-urWn52iY.js +18 -0
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B2Xk-4o2.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DIbgkfAC.js} +1 -1
- package/dist/assets/{AuthView-Bhr2Ols-.js → AuthView-DIQI5asI.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-BcSDHC-c.css → CanvasChatSwitch-0IWSu8RE.css} +488 -46
- package/dist/assets/{CanvasChatSwitch-E9vu2jW8.js → CanvasChatSwitch-BIpZuY-n.js} +697 -214
- package/dist/assets/{ChangePasswordView-BzAEcqVw.js → ChangePasswordView-D8Qv0tim.js} +3 -3
- package/dist/assets/CollectionParameter-DT1MnS63.js +4 -0
- package/dist/assets/{CredentialsView-CZiEXdjH.js → CredentialsView-tJ8-2RrO.js} +8 -8
- package/dist/assets/{ErrorView-C1QywuMY.js → ErrorView-CZEZD7LB.js} +1 -1
- package/dist/assets/{ExecutionsTime-BOPJEomw.css → ExecutionsTime-DZHUIJjP.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-l5VZIkoy.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-gcknFyjA.js} +23 -20
- package/dist/assets/{ExecutionsView-Bo0Nk8lV.js → ExecutionsView-BCfIz8EF.js} +49 -57
- package/dist/assets/{ExecutionsView-JCKikuIS.css → ExecutionsView-ByQf9yli.css} +13 -47
- package/dist/assets/{FileSaver.min-D3VgyjMF.js → FileSaver.min-Bs2qHlKb.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-RpfOY9Ho.js → FixedCollectionParameter-E0LDqNW3.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-DPTddCxG.js → ForgotMyPasswordView-YOnrzvKJ.js} +3 -3
- package/dist/assets/InsightsChartAverageRuntime-DWrrriYN.js +61 -0
- package/dist/assets/InsightsChartFailed-DRi6JC3m.js +57 -0
- package/dist/assets/InsightsChartFailureRate-BdFNsMpg.js +57 -0
- package/dist/assets/InsightsChartTimeSaved-C12GZzSQ.js +71 -0
- package/dist/assets/InsightsChartTotal-Cn386HO4.js +59 -0
- package/dist/assets/InsightsDashboard-BawwZ0Oo.js +154 -0
- package/dist/assets/InsightsDashboard-CB4vHnBh.css +152 -0
- package/dist/assets/InsightsPaywall-OeXh6LeZ.css +133 -0
- package/dist/assets/InsightsPaywall-g3JcqAYL.js +58 -0
- package/dist/assets/{useOverview-DcRuPjLJ.css → InsightsSummary-W08OzElS.css} +57 -35
- package/dist/assets/InsightsSummary-vMmKUcie.js +185 -0
- package/dist/assets/InsightsTableWorkflows-DQQ1vvMz.js +129 -0
- package/dist/assets/InsightsTableWorkflows-Us3j4UTO.css +128 -0
- package/dist/assets/{Logo-CxllxUni.js → Logo-Vm92axlM.js} +1 -1
- package/dist/assets/{MainHeader-9gTxUJIR.js → MainHeader-BUhpvu2K.js} +9 -10
- package/dist/assets/{MainSidebar-CRJML8mh.js → MainSidebar-D5P5FSUQ.js} +11 -4
- package/dist/assets/{NodeCreation-zoYjBJl6.js → NodeCreation-BgW5u-Bc.js} +4 -4
- package/dist/assets/{NodeCreator-D-qBRyBy.js → NodeCreator-CFe2n6vJ.js} +10 -26
- package/dist/assets/{NodeDetailsView-C1z3N5z_.css → NodeDetailsView-BT-ro74o.css} +63 -70
- package/dist/assets/{NodeDetailsView-C1iBFaC1.js → NodeDetailsView-CmtK-rDD.js} +145 -482
- package/dist/assets/{NodeView-Bio-FnnF.js → NodeView-BqaNPfpx.js} +19 -21
- package/dist/assets/{ProjectCardBadge-BEflW6oP.js → ProjectCardBadge-BKgtzWr1.js} +69 -36
- package/dist/assets/{ProjectCardBadge-C78ap7Rc.css → ProjectCardBadge-t3v64i1e.css} +18 -13
- package/dist/assets/{ProjectHeader-DK3_g_D8.js → ProjectHeader-BWVSdavS.js} +33 -7
- package/dist/assets/{ProjectHeader-B-a6_GH6.css → ProjectHeader-BsBpG-Mj.css} +7 -7
- package/dist/assets/{ProjectSettings-CLMy_-YC.js → ProjectSettings-BL-2-uOg.js} +3 -3
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CSazgsi8.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BL-bMMgn.js} +1 -2
- package/dist/assets/{ResourcesListLayout-CBvvL0VM.js → ResourcesListLayout-CozpmfUY.js} +1 -1
- package/dist/assets/{RunDataAi-C-tu9GrI.js → RunDataAi-B_EadpzG.js} +188 -94
- package/dist/assets/{RunDataAi-CN9FrT9c.css → RunDataAi-CUUDqZRP.css} +128 -0
- package/dist/assets/{RunDataJson-ClpS_600.js → RunDataJson-CyNNCtyd.js} +11 -12
- package/dist/assets/{RunDataJsonActions-gWW8Qkt_.js → RunDataJsonActions-SQqaiBEP.js} +1 -2
- package/dist/assets/{RunDataSearch-Dgv5JYk-.js → RunDataSearch-BF9kshKq.js} +1 -1
- package/dist/assets/{RunDataTable-nsOk35pD.js → RunDataTable-DsW7wuc2.js} +10 -8
- package/dist/assets/{SamlOnboarding-C5TSdGcx.js → SamlOnboarding-BX7RiRJB.js} +3 -3
- package/dist/assets/{SettingsApiView-CzQG1ofR.js → SettingsApiView-CDIPYvaG.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-D_F3n2NO.js → SettingsCommunityNodesView-BRSEkT73.js} +4 -5
- package/dist/assets/{SettingsExternalSecrets-BUgKlMoR.js → SettingsExternalSecrets-D7ASuAnS.js} +1 -1
- package/dist/assets/{SettingsLdapView-CAmuVErd.js → SettingsLdapView-DA5fZZ51.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DLkHrsx5.js → SettingsLogStreamingView-C9qkYvCr.js} +1 -1
- package/dist/assets/{SettingsPersonalView-2elwsG0f.js → SettingsPersonalView-BnNOJcvO.js} +2 -2
- package/dist/assets/{SettingsSourceControl-BD426GUo.js → SettingsSourceControl--ozL4427.js} +1 -1
- package/dist/assets/{SettingsSso-B-7lLoTI.js → SettingsSso-Bfe_HRSr.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-EUWVJYe2.js → SettingsUsageAndPlan-CzvMNudh.js} +1 -1
- package/dist/assets/{SettingsUsersView-C3GbTYvU.js → SettingsUsersView-DGu5ku48.js} +1 -1
- package/dist/assets/{SettingsView-DSMM_8SL.js → SettingsView-CvreVxXL.js} +1 -1
- package/dist/assets/{SetupView-CexY8Lic.js → SetupView-BJT6GtIA.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-BpLp754t.js → SetupWorkflowCredentialsButton-BEq2gs_-.js} +2 -4
- package/dist/assets/{SetupWorkflowFromTemplateView-CLvS9Kda.js → SetupWorkflowFromTemplateView-F9oCDWX8.js} +3 -12
- package/dist/assets/{SigninView-CYkcm3hG.js → SigninView-DyoDtCBc.js} +3 -3
- package/dist/assets/{SignoutView-C2HutrZm.js → SignoutView-DclBslYe.js} +1 -1
- package/dist/assets/{SignupView-B-o-ka0Z.js → SignupView-BhB0Hhj0.js} +3 -3
- package/dist/assets/{TemplateDetails-C20G_lj4.js → TemplateDetails-B3utdyMi.js} +1 -1
- package/dist/assets/{TemplateList-DQzcYS6n.js → TemplateList-Bgz1iiiH.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-DEEMhmYZ.js → TemplatesCollectionView-CORzb8YZ.js} +7 -9
- package/dist/assets/{TemplatesSearchView-S6802uNr.js → TemplatesSearchView-DTuv4-5C.js} +3 -3
- package/dist/assets/{TemplatesView-CT7S5O4K.js → TemplatesView-CFV5SVF7.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-BMd9OmqA.js → TemplatesWorkflowView-CQVVdNty.js} +5 -7
- package/dist/assets/{TestDefinitionEditView-BXhOuJrU.css → TestDefinitionEditView-Cwkrz308.css} +12 -143
- package/dist/assets/{TestDefinitionEditView-5kDGEtaD.js → TestDefinitionEditView-DX6GIeq2.js} +179 -331
- package/dist/assets/{TestDefinitionListView-BM-hghAY.js → TestDefinitionListView-CLEkthYQ.js} +1 -1
- package/dist/assets/{TestDefinitionNewView-CNN-qAmL.js → TestDefinitionNewView-DWTTqvlN.js} +2 -2
- package/dist/assets/{TestDefinitionRootView-S8g84AaK.js → TestDefinitionRootView-D0yLW0V6.js} +1 -1
- package/dist/assets/{VariablesView-D90WCfYK.js → VariablesView-Dsr4pqth.js} +3 -3
- package/dist/assets/{WorkerView-BHVIRKm_.js → WorkerView-Bbu5wv-g.js} +6 -7
- package/dist/assets/{WorkflowActivator-BsceIfln.js → WorkflowActivator-C197X_D6.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DxGIzmq4.js → WorkflowExecutionsInfoAccordion-CHPlRtMQ.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-czqJYUnQ.js → WorkflowExecutionsLandingPage-CnvMc3SA.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-BzCGXWj0.js → WorkflowExecutionsPreview-CJBM3Awe.js} +24 -256
- package/dist/assets/{WorkflowExecutionsPreview-CHu6M3Dh.css → WorkflowExecutionsPreview-D7jTJ8GL.css} +16 -48
- package/dist/assets/{WorkflowExecutionsView-syep-_N0.js → WorkflowExecutionsView-BwB6WS6M.js} +11 -17
- package/dist/assets/{WorkflowHistory-CmHn_hnX.js → WorkflowHistory-U5a4aYts.js} +4 -4
- package/dist/assets/{WorkflowOnboardingView-BmhaZBkH.js → WorkflowOnboardingView-DHUUTLOo.js} +1 -1
- package/dist/assets/{WorkflowPreview-BN13256Q.js → WorkflowPreview-D8pwehRe.js} +1 -1
- package/dist/assets/{WorkflowsView-r9qJOUEb.css → WorkflowsView-CJB9aI6A.css} +27 -41
- package/dist/assets/{WorkflowsView-6qbtftll.js → WorkflowsView-DIh7kqZk.js} +76 -141
- package/dist/assets/chartjs.utils-DTEY3u-V.js +193 -0
- package/dist/assets/dateFormatter-C7xnNKzY.js +21 -0
- package/dist/assets/{easyAiWorkflowUtils-C7LfXIgb.js → easyAiWorkflowUtils-V__OjFo9.js} +1 -1
- package/dist/assets/{global-link-actions-znEIb0N4.js → global-link-actions-vGpWr9Uz.js} +1 -1
- package/dist/assets/{import-curl-BsKs3fYs.js → import-curl-C6ERUxFe.js} +1 -1
- package/dist/assets/{index-Cjz62pAo.js → index-BrjPYODL.js} +3 -1
- package/dist/assets/{index-DZljH0cm.js → index-DD7Wuhk5.js} +11407 -5580
- package/dist/assets/{index-CgXKy7t-.css → index-DJ205bL0.css} +418 -92
- package/dist/assets/{pickBy-DlIFPp_M.js → pickBy-BILEJ4hg.js} +1 -1
- package/dist/assets/{templateActions-ClDjWPHA.js → templateActions-M3qRQiV6.js} +2 -7
- package/dist/assets/{useBeforeUnload-BFlrxvKb.js → useBeforeUnload-DTsj_abb.js} +1 -1
- package/dist/assets/{useCanvasMapping-CJcAsQmx.css → useCanvasMapping-BkGr1HdJ.css} +29 -28
- package/dist/assets/{useCanvasMapping-C0PMQVwg.js → useCanvasMapping-DJvMRP2s.js} +71 -56
- package/dist/assets/{useCanvasOperations-2Ca5hPmu.js → useCanvasOperations-DCaSrD1N.js} +26 -254
- package/dist/assets/{useClearExecutionButtonVisible-D8unhL-H.js → useClearExecutionButtonVisible-CVPKhr9F.js} +2 -2
- package/dist/assets/{useExecutionDebugging-MiAgkS54.js → useExecutionDebugging-yY2o_eNc.js} +1 -1
- package/dist/assets/{useExecutionHelpers-CgD9G_XU.js → useExecutionHelpers-BVY9xXbG.js} +2 -19
- package/dist/assets/{useImportCurlCommand-D6LUnncf.js → useImportCurlCommand-Chewi-_x.js} +2 -2
- package/dist/assets/{usePushConnection-DAhrfl2L.js → usePushConnection-9zsAnuvC.js} +13 -6
- package/dist/assets/{useTestDefinitionForm-TDiKTq9o.js → useTestDefinitionForm-CCVy0jKP.js} +1 -31
- package/dist/assets/{useWorkflowActivate-C_GRAYoC.js → useWorkflowActivate-DeEvbrsK.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-XKkHxrwX.js +0 -4
- package/dist/assets/pushConnection.store-DHLcz9cC.js +0 -238
- package/dist/assets/useOverview-BqIOGpWx.js +0 -161
- package/dist/assets/useRunWorkflow-sGIs6NeH.js +0 -521
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { d as defineComponent, gf as useCssVar, q as computed, f9 as dateformat, h_ as DATE_FORMAT_MASK, i0 as transformInsightsFailureRate, c as useI18n, e as createBlock, g as openBlock, m as unref, i1 as INSIGHTS_UNIT_MAPPING } from "./index-DD7Wuhk5.js";
|
|
2
|
+
import { g as generateBarChartOptions } from "./chartjs.utils-DTEY3u-V.js";
|
|
3
|
+
import { s as smartDecimal } from "./InsightsSummary-vMmKUcie.js";
|
|
4
|
+
import { B as Bar } from "./index-BrjPYODL.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "InsightsChartFailureRate",
|
|
7
|
+
props: {
|
|
8
|
+
data: {},
|
|
9
|
+
type: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const i18n = useI18n();
|
|
14
|
+
const colorPrimary = useCssVar("--color-primary", document.body);
|
|
15
|
+
const chartOptions = computed(
|
|
16
|
+
() => generateBarChartOptions({
|
|
17
|
+
plugins: {
|
|
18
|
+
tooltip: {
|
|
19
|
+
callbacks: {
|
|
20
|
+
label: (context) => {
|
|
21
|
+
const label = context.dataset.label ?? "";
|
|
22
|
+
return `${label} ${smartDecimal(context.parsed.y)}${INSIGHTS_UNIT_MAPPING[props.type](context.parsed.y)}`;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
})
|
|
28
|
+
);
|
|
29
|
+
const chartData = computed(() => {
|
|
30
|
+
const labels = [];
|
|
31
|
+
const data = [];
|
|
32
|
+
for (const entry of props.data) {
|
|
33
|
+
labels.push(dateformat(entry.date, DATE_FORMAT_MASK));
|
|
34
|
+
data.push(transformInsightsFailureRate(entry.values.failureRate));
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
labels,
|
|
38
|
+
datasets: [
|
|
39
|
+
{
|
|
40
|
+
label: i18n.baseText("insights.banner.title.failureRate"),
|
|
41
|
+
data,
|
|
42
|
+
backgroundColor: colorPrimary.value
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
};
|
|
46
|
+
});
|
|
47
|
+
return (_ctx, _cache) => {
|
|
48
|
+
return openBlock(), createBlock(unref(Bar), {
|
|
49
|
+
data: chartData.value,
|
|
50
|
+
options: chartOptions.value
|
|
51
|
+
}, null, 8, ["data", "options"]);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
_sfc_main as default
|
|
57
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { d as defineComponent, q as computed, f9 as dateformat, h_ as DATE_FORMAT_MASK, c as useI18n, e as createBlock, g as openBlock, m as unref, i2 as index, i3 as transformInsightsTimeSaved, i1 as INSIGHTS_UNIT_MAPPING } from "./index-DD7Wuhk5.js";
|
|
2
|
+
import { a as generateLineChartOptions, b as generateLinearGradient } from "./chartjs.utils-DTEY3u-V.js";
|
|
3
|
+
import { L as Line } from "./index-BrjPYODL.js";
|
|
4
|
+
import "./InsightsSummary-vMmKUcie.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "InsightsChartTimeSaved",
|
|
7
|
+
props: {
|
|
8
|
+
data: {},
|
|
9
|
+
type: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const i18n = useI18n();
|
|
14
|
+
const chartOptions = computed(
|
|
15
|
+
() => generateLineChartOptions({
|
|
16
|
+
plugins: {
|
|
17
|
+
tooltip: {
|
|
18
|
+
callbacks: {
|
|
19
|
+
label: (context) => {
|
|
20
|
+
const label = context.dataset.label ?? "";
|
|
21
|
+
const value = Number(context.parsed.y);
|
|
22
|
+
return `${label} ${transformInsightsTimeSaved(value).toLocaleString("en-US")}${INSIGHTS_UNIT_MAPPING[props.type](value)}`;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
scales: {
|
|
28
|
+
y: {
|
|
29
|
+
ticks: {
|
|
30
|
+
// eslint-disable-next-line id-denylist
|
|
31
|
+
callback(tickValue) {
|
|
32
|
+
return transformInsightsTimeSaved(Number(tickValue));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
})
|
|
38
|
+
);
|
|
39
|
+
const chartData = computed(() => {
|
|
40
|
+
const labels = [];
|
|
41
|
+
const data = [];
|
|
42
|
+
for (const entry of props.data) {
|
|
43
|
+
labels.push(dateformat(entry.date, DATE_FORMAT_MASK));
|
|
44
|
+
data.push(entry.values.timeSaved);
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
labels,
|
|
48
|
+
datasets: [
|
|
49
|
+
{
|
|
50
|
+
label: i18n.baseText("insights.banner.title.timeSaved"),
|
|
51
|
+
data,
|
|
52
|
+
fill: "origin",
|
|
53
|
+
cubicInterpolationMode: "monotone",
|
|
54
|
+
backgroundColor: (ctx) => generateLinearGradient(ctx.chart.ctx, 292),
|
|
55
|
+
borderColor: "rgba(255, 64, 39, 1)"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
};
|
|
59
|
+
});
|
|
60
|
+
return (_ctx, _cache) => {
|
|
61
|
+
return openBlock(), createBlock(unref(Line), {
|
|
62
|
+
data: chartData.value,
|
|
63
|
+
options: chartOptions.value,
|
|
64
|
+
plugins: [unref(index)]
|
|
65
|
+
}, null, 8, ["data", "options", "plugins"]);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
export {
|
|
70
|
+
_sfc_main as default
|
|
71
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { B as Bar } from "./index-BrjPYODL.js";
|
|
2
|
+
import { d as defineComponent, gf as useCssVar, q as computed, f9 as dateformat, h_ as DATE_FORMAT_MASK, c as useI18n, e as createBlock, g as openBlock, m as unref } from "./index-DD7Wuhk5.js";
|
|
3
|
+
import { g as generateBarChartOptions } from "./chartjs.utils-DTEY3u-V.js";
|
|
4
|
+
import "./InsightsSummary-vMmKUcie.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "InsightsChartTotal",
|
|
7
|
+
props: {
|
|
8
|
+
data: {},
|
|
9
|
+
type: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const i18n = useI18n();
|
|
14
|
+
const colorPrimary = useCssVar("--color-primary", document.body);
|
|
15
|
+
const chartOptions = computed(
|
|
16
|
+
() => generateBarChartOptions({
|
|
17
|
+
plugins: {
|
|
18
|
+
tooltip: {
|
|
19
|
+
itemSort: (a) => a.dataset.label === i18n.baseText("insights.banner.title.succeeded") ? -1 : 1
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
})
|
|
23
|
+
);
|
|
24
|
+
const chartData = computed(() => {
|
|
25
|
+
const labels = [];
|
|
26
|
+
const succeededData = [];
|
|
27
|
+
const failedData = [];
|
|
28
|
+
for (const entry of props.data) {
|
|
29
|
+
labels.push(dateformat(entry.date, DATE_FORMAT_MASK));
|
|
30
|
+
succeededData.push(entry.values.succeeded);
|
|
31
|
+
failedData.push(entry.values.failed);
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
labels,
|
|
35
|
+
datasets: [
|
|
36
|
+
{
|
|
37
|
+
label: i18n.baseText("insights.banner.title.failed"),
|
|
38
|
+
data: failedData,
|
|
39
|
+
backgroundColor: colorPrimary.value
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
label: i18n.baseText("insights.banner.title.succeeded"),
|
|
43
|
+
data: succeededData,
|
|
44
|
+
backgroundColor: "#3E999F"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
};
|
|
48
|
+
});
|
|
49
|
+
return (_ctx, _cache) => {
|
|
50
|
+
return openBlock(), createBlock(unref(Bar), {
|
|
51
|
+
data: chartData.value,
|
|
52
|
+
options: chartOptions.value
|
|
53
|
+
}, null, 8, ["data", "options"]);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
export {
|
|
58
|
+
_sfc_main as default
|
|
59
|
+
};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/InsightsPaywall-g3JcqAYL.js","assets/index-DD7Wuhk5.js","assets/index-DJ205bL0.css","assets/InsightsPaywall-OeXh6LeZ.css","assets/InsightsChartTotal-Cn386HO4.js","assets/index-BrjPYODL.js","assets/chartjs.utils-DTEY3u-V.js","assets/InsightsSummary-vMmKUcie.js","assets/InsightsSummary-W08OzElS.css","assets/InsightsChartFailed-DRi6JC3m.js","assets/InsightsChartFailureRate-BdFNsMpg.js","assets/InsightsChartTimeSaved-C12GZzSQ.js","assets/InsightsChartAverageRuntime-DWrrriYN.js","assets/InsightsTableWorkflows-DQQ1vvMz.js","assets/InsightsTableWorkflows-Us3j4UTO.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, W as useRoute, gq as useInsightsStore, q as computed, bZ as defineAsyncComponent, I as watch, h as resolveComponent, i as createElementBlock, g as openBlock, j as createVNode, k as createBaseVNode, w as withCtx, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, e as createBlock, f as createCommentVNode, n as normalizeClass, F as Fragment, b2 as resolveDynamicComponent, aq as __vitePreload, _ as _export_sfc } from "./index-DD7Wuhk5.js";
|
|
3
|
+
import { I as InsightsSummary } from "./InsightsSummary-vMmKUcie.js";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "InsightsDashboard",
|
|
6
|
+
props: {
|
|
7
|
+
insightType: {}
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const InsightsPaywall = defineAsyncComponent(
|
|
11
|
+
async () => await __vitePreload(() => import("./InsightsPaywall-g3JcqAYL.js"), true ? __vite__mapDeps([0,1,2,3]) : void 0)
|
|
12
|
+
);
|
|
13
|
+
const InsightsChartTotal = defineAsyncComponent(
|
|
14
|
+
async () => await __vitePreload(() => import("./InsightsChartTotal-Cn386HO4.js"), true ? __vite__mapDeps([4,5,1,2,6,7,8]) : void 0)
|
|
15
|
+
);
|
|
16
|
+
const InsightsChartFailed = defineAsyncComponent(
|
|
17
|
+
async () => await __vitePreload(() => import("./InsightsChartFailed-DRi6JC3m.js"), true ? __vite__mapDeps([9,5,1,2,6,7,8]) : void 0)
|
|
18
|
+
);
|
|
19
|
+
const InsightsChartFailureRate = defineAsyncComponent(
|
|
20
|
+
async () => await __vitePreload(() => import("./InsightsChartFailureRate-BdFNsMpg.js"), true ? __vite__mapDeps([10,1,2,6,7,8,5]) : void 0)
|
|
21
|
+
);
|
|
22
|
+
const InsightsChartTimeSaved = defineAsyncComponent(
|
|
23
|
+
async () => await __vitePreload(() => import("./InsightsChartTimeSaved-C12GZzSQ.js"), true ? __vite__mapDeps([11,1,2,6,7,8,5]) : void 0)
|
|
24
|
+
);
|
|
25
|
+
const InsightsChartAverageRuntime = defineAsyncComponent(
|
|
26
|
+
async () => await __vitePreload(() => import("./InsightsChartAverageRuntime-DWrrriYN.js"), true ? __vite__mapDeps([12,1,2,6,7,8,5]) : void 0)
|
|
27
|
+
);
|
|
28
|
+
const InsightsTableWorkflows = defineAsyncComponent(
|
|
29
|
+
async () => await __vitePreload(() => import("./InsightsTableWorkflows-DQQ1vvMz.js"), true ? __vite__mapDeps([13,1,2,7,8,14]) : void 0)
|
|
30
|
+
);
|
|
31
|
+
const props = __props;
|
|
32
|
+
const route = useRoute();
|
|
33
|
+
const i18n = useI18n();
|
|
34
|
+
const insightsStore = useInsightsStore();
|
|
35
|
+
const chartComponents = computed(() => ({
|
|
36
|
+
total: InsightsChartTotal,
|
|
37
|
+
failed: InsightsChartFailed,
|
|
38
|
+
failureRate: InsightsChartFailureRate,
|
|
39
|
+
timeSaved: InsightsChartTimeSaved,
|
|
40
|
+
averageRunTime: InsightsChartAverageRuntime
|
|
41
|
+
}));
|
|
42
|
+
const getDefaultFilter = (query) => {
|
|
43
|
+
const { time_span } = query;
|
|
44
|
+
return {
|
|
45
|
+
time_span: time_span ?? "7"
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
const filters = computed(() => getDefaultFilter(route.query));
|
|
49
|
+
const transformFilter = ({ id, desc }) => {
|
|
50
|
+
const key = id;
|
|
51
|
+
const order = desc ? "desc" : "asc";
|
|
52
|
+
return `${key}:${order}`;
|
|
53
|
+
};
|
|
54
|
+
const fetchPaginatedTableData = ({
|
|
55
|
+
page,
|
|
56
|
+
itemsPerPage,
|
|
57
|
+
sortBy
|
|
58
|
+
}) => {
|
|
59
|
+
const skip = page * itemsPerPage;
|
|
60
|
+
const take = itemsPerPage;
|
|
61
|
+
const sortKey = sortBy.length ? transformFilter(sortBy[0]) : void 0;
|
|
62
|
+
void insightsStore.table.execute(0, {
|
|
63
|
+
skip,
|
|
64
|
+
take,
|
|
65
|
+
sortBy: sortKey
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
watch(
|
|
69
|
+
() => filters.value.time_span,
|
|
70
|
+
() => {
|
|
71
|
+
if (insightsStore.isSummaryEnabled) {
|
|
72
|
+
void insightsStore.summary.execute();
|
|
73
|
+
}
|
|
74
|
+
void insightsStore.charts.execute();
|
|
75
|
+
void insightsStore.table.execute();
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
immediate: true
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
return (_ctx, _cache) => {
|
|
82
|
+
const _component_N8nHeading = resolveComponent("N8nHeading");
|
|
83
|
+
return openBlock(), createElementBlock("div", {
|
|
84
|
+
class: normalizeClass(_ctx.$style.insightsView)
|
|
85
|
+
}, [
|
|
86
|
+
createVNode(_component_N8nHeading, {
|
|
87
|
+
bold: "",
|
|
88
|
+
tag: "h2",
|
|
89
|
+
size: "xlarge"
|
|
90
|
+
}, {
|
|
91
|
+
default: withCtx(() => [
|
|
92
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("insights.dashboard.title")), 1)
|
|
93
|
+
]),
|
|
94
|
+
_: 1
|
|
95
|
+
}),
|
|
96
|
+
createBaseVNode("div", null, [
|
|
97
|
+
unref(insightsStore).isSummaryEnabled ? (openBlock(), createBlock(InsightsSummary, {
|
|
98
|
+
key: 0,
|
|
99
|
+
summary: unref(insightsStore).summary.state,
|
|
100
|
+
loading: unref(insightsStore).summary.isLoading,
|
|
101
|
+
class: normalizeClass(_ctx.$style.insightsBanner)
|
|
102
|
+
}, null, 8, ["summary", "loading", "class"])) : createCommentVNode("", true),
|
|
103
|
+
unref(insightsStore).isInsightsEnabled ? (openBlock(), createElementBlock("div", {
|
|
104
|
+
key: 1,
|
|
105
|
+
class: normalizeClass(_ctx.$style.insightsContent)
|
|
106
|
+
}, [
|
|
107
|
+
createBaseVNode("div", {
|
|
108
|
+
class: normalizeClass(_ctx.$style.insightsChartWrapper)
|
|
109
|
+
}, [
|
|
110
|
+
unref(insightsStore).charts.isLoading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
111
|
+
createTextVNode(" loading ")
|
|
112
|
+
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(chartComponents.value[props.insightType]), {
|
|
113
|
+
key: 1,
|
|
114
|
+
type: props.insightType,
|
|
115
|
+
data: unref(insightsStore).charts.state
|
|
116
|
+
}, null, 8, ["type", "data"]))
|
|
117
|
+
], 2),
|
|
118
|
+
createBaseVNode("div", {
|
|
119
|
+
class: normalizeClass(_ctx.$style.insightsTableWrapper)
|
|
120
|
+
}, [
|
|
121
|
+
createVNode(unref(InsightsTableWorkflows), {
|
|
122
|
+
data: unref(insightsStore).table.state,
|
|
123
|
+
loading: unref(insightsStore).table.isLoading,
|
|
124
|
+
"onUpdate:options": fetchPaginatedTableData
|
|
125
|
+
}, null, 8, ["data", "loading"])
|
|
126
|
+
], 2)
|
|
127
|
+
], 2)) : (openBlock(), createBlock(unref(InsightsPaywall), {
|
|
128
|
+
key: 2,
|
|
129
|
+
"data-test-id": "insights-dashboard-unlicensed"
|
|
130
|
+
}))
|
|
131
|
+
])
|
|
132
|
+
], 2);
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
const insightsView = "_insightsView_1upqv_123";
|
|
137
|
+
const insightsBanner = "_insightsBanner_1upqv_133";
|
|
138
|
+
const insightsContent = "_insightsContent_1upqv_140";
|
|
139
|
+
const insightsChartWrapper = "_insightsChartWrapper_1upqv_149";
|
|
140
|
+
const insightsTableWrapper = "_insightsTableWrapper_1upqv_154";
|
|
141
|
+
const style0 = {
|
|
142
|
+
insightsView,
|
|
143
|
+
insightsBanner,
|
|
144
|
+
insightsContent,
|
|
145
|
+
insightsChartWrapper,
|
|
146
|
+
insightsTableWrapper
|
|
147
|
+
};
|
|
148
|
+
const cssModules = {
|
|
149
|
+
"$style": style0
|
|
150
|
+
};
|
|
151
|
+
const InsightsDashboard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
152
|
+
export {
|
|
153
|
+
InsightsDashboard as default
|
|
154
|
+
};
|
|
@@ -0,0 +1,152 @@
|
|
|
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
|
+
._insightsView_1upqv_123 {
|
|
124
|
+
padding: var(--spacing-l) var(--spacing-2xl);
|
|
125
|
+
flex: 1;
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
gap: 30px;
|
|
129
|
+
overflow: auto;
|
|
130
|
+
max-width: var(--content-container-width);
|
|
131
|
+
}
|
|
132
|
+
._insightsBanner_1upqv_133 {
|
|
133
|
+
padding-bottom: 0;
|
|
134
|
+
}
|
|
135
|
+
._insightsBanner_1upqv_133 ul {
|
|
136
|
+
border-radius: 0;
|
|
137
|
+
}
|
|
138
|
+
._insightsContent_1upqv_140 {
|
|
139
|
+
padding: var(--spacing-l) 0;
|
|
140
|
+
border: var(--border-width-base) var(--border-style-base) var(--color-foreground-base);
|
|
141
|
+
border-top: 0;
|
|
142
|
+
border-bottom-left-radius: 6px;
|
|
143
|
+
border-bottom-right-radius: 6px;
|
|
144
|
+
background: var(--color-background-xlight);
|
|
145
|
+
}
|
|
146
|
+
._insightsChartWrapper_1upqv_149 {
|
|
147
|
+
height: 292px;
|
|
148
|
+
padding: 0 var(--spacing-l);
|
|
149
|
+
}
|
|
150
|
+
._insightsTableWrapper_1upqv_154 {
|
|
151
|
+
padding: var(--spacing-l) var(--spacing-l) 0;
|
|
152
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
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
|
+
._callout_tsein_123 {
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
height: 100%;
|
|
127
|
+
align-items: center;
|
|
128
|
+
max-width: 360px;
|
|
129
|
+
margin: 0 auto;
|
|
130
|
+
text-align: center;
|
|
131
|
+
gap: 10px;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { _ as _export_sfc, h as resolveComponent, i as createElementBlock, g as openBlock, j as createVNode, w as withCtx, l as createTextVNode, n as normalizeClass } from "./index-DD7Wuhk5.js";
|
|
2
|
+
const callout = "_callout_tsein_123";
|
|
3
|
+
const style0 = {
|
|
4
|
+
callout
|
|
5
|
+
};
|
|
6
|
+
const _sfc_main = {};
|
|
7
|
+
function _sfc_render(_ctx, _cache) {
|
|
8
|
+
const _component_N8nIcon = resolveComponent("N8nIcon");
|
|
9
|
+
const _component_N8nText = resolveComponent("N8nText");
|
|
10
|
+
const _component_N8nLink = resolveComponent("N8nLink");
|
|
11
|
+
const _component_N8nButton = resolveComponent("N8nButton");
|
|
12
|
+
return openBlock(), createElementBlock("div", {
|
|
13
|
+
class: normalizeClass(_ctx.$style.callout)
|
|
14
|
+
}, [
|
|
15
|
+
createVNode(_component_N8nIcon, {
|
|
16
|
+
icon: "lock",
|
|
17
|
+
size: "size"
|
|
18
|
+
}),
|
|
19
|
+
createVNode(_component_N8nText, {
|
|
20
|
+
bold: "",
|
|
21
|
+
tag: "h3",
|
|
22
|
+
size: "large"
|
|
23
|
+
}, {
|
|
24
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
25
|
+
createTextVNode("Upgrade to Pro or Enterprise to see full data")
|
|
26
|
+
])),
|
|
27
|
+
_: 1
|
|
28
|
+
}),
|
|
29
|
+
createVNode(_component_N8nText, null, {
|
|
30
|
+
default: withCtx(() => [
|
|
31
|
+
_cache[2] || (_cache[2] = createTextVNode("Gain access to detailed execution data with one year data retention. ")),
|
|
32
|
+
createVNode(_component_N8nLink, { to: "/" }, {
|
|
33
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
34
|
+
createTextVNode("Learn more")
|
|
35
|
+
])),
|
|
36
|
+
_: 1
|
|
37
|
+
})
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
}),
|
|
41
|
+
createVNode(_component_N8nButton, {
|
|
42
|
+
type: "primary",
|
|
43
|
+
size: "large"
|
|
44
|
+
}, {
|
|
45
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
46
|
+
createTextVNode("Upgrade")
|
|
47
|
+
])),
|
|
48
|
+
_: 1
|
|
49
|
+
})
|
|
50
|
+
], 2);
|
|
51
|
+
}
|
|
52
|
+
const cssModules = {
|
|
53
|
+
"$style": style0
|
|
54
|
+
};
|
|
55
|
+
const InsightsPaywall = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__cssModules", cssModules]]);
|
|
56
|
+
export {
|
|
57
|
+
InsightsPaywall as default
|
|
58
|
+
};
|