n8n-editor-ui 1.60.0 → 1.61.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/@n8n/api-types-1C3yIoBV.js +1 -0
- package/dist/assets/@sentry/vue-UFuYeDxK.js +23662 -0
- package/dist/assets/@vue-flow/{background-BBsDO5na.js → background-VFdKMN89.js} +2 -2
- package/dist/assets/@vue-flow/{controls-3RHEV3L7.js → controls-ByUYVWad.js} +2 -2
- package/dist/assets/@vue-flow/{core-CM-Aqnx_.js → core-DgOSPOHv.js} +1 -1
- package/dist/assets/@vue-flow/{minimap-CbqX0yYi.js → minimap-CXuyA5pl.js} +2 -2
- package/dist/assets/@vue-flow/{node-resizer-CV5M1itj.js → node-resizer-BiyXe9J3.js} +2 -2
- package/dist/assets/@vueuse/{core-BZR8MlRU.js → core-DP7mNILw.js} +6 -6
- package/dist/assets/{AnnotationTagsDropdown-D6U7UU_Q.js → AnnotationTagsDropdown-DqvseWwg.js} +3 -3
- package/dist/assets/AuthView-BLQKeVDa.js +157 -0
- package/dist/assets/{AuthView-CFsZVOHy.css → AuthView-BnHKMYu_.css} +3 -3
- package/dist/assets/{CanvasControls-DM2JAzg_.js → CanvasControls-ColeN4c7.js} +12 -11
- package/dist/assets/ChangePasswordView-laaON5B-.js +177 -0
- package/dist/assets/{CredentialsView-CAsvUdXP.js → CredentialsView-RsHO-hid.js} +15 -14
- package/dist/assets/{ErrorView-BjJ8vvqX.js → ErrorView-CVlhihDL.js} +12 -11
- package/dist/assets/{ExecutionsFilter-CfHr27hS.js → ExecutionsFilter-373wd0v7.js} +4 -4
- package/dist/assets/{ExecutionsView-BHCt-5YP.js → ExecutionsView-B1Y-qi0D.js} +41 -16
- package/dist/assets/{FixedCollectionParameter-DgJChEoq.js → FixedCollectionParameter-D9g5OebO.js} +12 -11
- package/dist/assets/ForgotMyPasswordView-BWtMCTvE.js +127 -0
- package/dist/assets/{MainHeader-C4C5qi1z.js → MainHeader-D9Zo0BIA.js} +19 -18
- package/dist/assets/{MainSidebar-DQffk5kz.js → MainSidebar-DtqGWmgj.js} +12 -11
- package/dist/assets/{NodeCreation-BPyQshMM.js → NodeCreation-Z5Kx0dXZ.js} +6 -6
- package/dist/assets/{NodeCreator-cNxCWP-E.js → NodeCreator-Cwd8lDNF.js} +27 -26
- package/dist/assets/{NodeViewSwitcher-9b7PTcw5.css → NodeViewSwitcher-Bee93VCg.css} +42 -42
- package/dist/assets/{NodeViewSwitcher-CCEnIlP8.js → NodeViewSwitcher-DZvKqdTk.js} +147 -71
- package/dist/assets/{ProjectCardBadge-DW2RsAKp.js → ProjectCardBadge-Dj0cvfM0.js} +2 -2
- package/dist/assets/{ProjectSettings-DCWjSE_s.js → ProjectSettings-zPM6vepm.js} +12 -11
- package/dist/assets/{ProjectTabs-DDJ4bVpZ.js → ProjectTabs-ByCqXofn.js} +3 -3
- package/dist/assets/{PushConnectionTracker-DrgvrwAn.js → PushConnectionTracker-B4vL4y_R.js} +4 -4
- package/dist/assets/{ResourcesListLayout-DAFPG84N.js → ResourcesListLayout-D5Jl-SNJ.js} +4 -4
- package/dist/assets/{RunDataAi-BRLixdBK.js → RunDataAi-50EsjDf6.js} +3 -3
- package/dist/assets/RunDataJson-BlxN0xwc.js +219 -0
- package/dist/assets/{RunDataJson-DGge2zsB.css → RunDataJson-Dtc8i0I7.css} +12 -10
- package/dist/assets/{RunDataJsonActions-CTXfYaCk.js → RunDataJsonActions-BnEGvH1N.js} +13 -12
- package/dist/assets/{RunDataSearch-DlNKHU21.js → RunDataSearch-DS3pvMvG.js} +12 -11
- package/dist/assets/{RunDataTable-U46k2nfi.js → RunDataTable-C7ykxdts.js} +17 -16
- package/dist/assets/{SamlOnboarding-D1WDFz9b.js → SamlOnboarding-MqtO_Q7o.js} +24 -20
- package/dist/assets/{SettingsApiView-Dwpua2lq.js → SettingsApiView-CItYnGov.js} +12 -11
- package/dist/assets/{SettingsCommunityNodesView-DbSd1-Ql.js → SettingsCommunityNodesView-DZNQSYYy.js} +17 -41
- package/dist/assets/{SettingsExternalSecrets-DI9CnXCU.js → SettingsExternalSecrets-BVw27tqX.js} +12 -11
- package/dist/assets/{SettingsFakeDoorView-sXdMK8GE.js → SettingsFakeDoorView-DwImvIGm.js} +12 -11
- package/dist/assets/SettingsLdapView-CCXZA2cJ.js +746 -0
- package/dist/assets/{SettingsLogStreamingView-SR7-TyOb.js → SettingsLogStreamingView-CyrM8m6J.js} +12 -11
- package/dist/assets/{SettingsPersonalView-0KdC8N96.js → SettingsPersonalView-MdnL1_ii.js} +12 -11
- package/dist/assets/{SettingsSourceControl-BbHHQA1W.js → SettingsSourceControl-DCY2PqLz.js} +12 -11
- package/dist/assets/{SettingsSso-CnV4haPY.js → SettingsSso-B8p13jLP.js} +12 -11
- package/dist/assets/{SettingsUsageAndPlan-BqoTIYCo.js → SettingsUsageAndPlan-BN31-STz.js} +17 -33
- package/dist/assets/{SettingsUsageAndPlan-9dhwk2eO.css → SettingsUsageAndPlan-ayybRhnz.css} +3 -3
- package/dist/assets/{SettingsUsersView-g15ty6QZ.js → SettingsUsersView-BMsD7GNO.js} +12 -11
- package/dist/assets/SettingsView-CtXcNiVg.js +276 -0
- package/dist/assets/SetupView-BLuVCwIj.js +140 -0
- package/dist/assets/{SetupWorkflowCredentialsButton-N8CTAGke.js → SetupWorkflowCredentialsButton-Div5SUON.js} +11 -10
- package/dist/assets/{SetupWorkflowFromTemplateView-Cft9OyrK.js → SetupWorkflowFromTemplateView-DfFXky0J.js} +14 -13
- package/dist/assets/{SigninView-DDInu9xv.js → SigninView-BqL0a-cZ.js} +121 -133
- package/dist/assets/{SignoutView-Bngt2a7A.js → SignoutView-D01-eFg_.js} +11 -10
- package/dist/assets/{SignupView-rq5t2YLy.js → SignupView-UX8-7Wvn.js} +12 -11
- package/dist/assets/{TemplateDetails-yAEgnNZC.js → TemplateDetails-DvrkJ9pc.js} +4 -4
- package/dist/assets/{TemplateList-gRE5SR0F.js → TemplateList-Dxye-Lxs.js} +3 -3
- package/dist/assets/TemplatesCollectionView-kKvnA0FM.js +240 -0
- package/dist/assets/{TemplatesSearchView-DlQEPqfw.js → TemplatesSearchView-sUgBNVnh.js} +139 -158
- package/dist/assets/{TemplatesView-DgYrKF_1.js → TemplatesView-CCcE6ceG.js} +3 -3
- package/dist/assets/TemplatesWorkflowView-CQWB7PN1.js +245 -0
- package/dist/assets/{VariablesView-CMhQ441f.js → VariablesView-BFvSr6vu.js} +15 -14
- package/dist/assets/{VariablesView-Bj3MOQeD.css → VariablesView-D88cddoZ.css} +18 -18
- package/dist/assets/{WorkerView-Divgcddx.js → WorkerView-BpwPXZ6o.js} +16 -15
- package/dist/assets/{WorkflowActivator-a_yfkFYa.js → WorkflowActivator-C98Z6FLJ.js} +4 -4
- package/dist/assets/{WorkflowExecutionsInfoAccordion--bDyDV6-.js → WorkflowExecutionsInfoAccordion-DVXqECJb.js} +3 -3
- package/dist/assets/{WorkflowExecutionsLandingPage-DHhr3ake.js → WorkflowExecutionsLandingPage-DXDsNOih.js} +13 -12
- package/dist/assets/{WorkflowExecutionsPreview-CmLLoH4x.js → WorkflowExecutionsPreview-6-8MfOm9.js} +27 -16
- package/dist/assets/{WorkflowExecutionsView-BpzWZBSo.js → WorkflowExecutionsView-D4lW8BoL.js} +16 -15
- package/dist/assets/{WorkflowHistory-DQhx7Ob3.js → WorkflowHistory-Bvx0HbCZ.js} +14 -13
- package/dist/assets/{WorkflowOnboardingView-BOPYAuEH.js → WorkflowOnboardingView-otfpn0DB.js} +11 -10
- package/dist/assets/{WorkflowPreview-DVOWE7Gj.js → WorkflowPreview-DdyMz4mx.js} +3 -3
- package/dist/assets/{WorkflowsView-D82NSpsG.js → WorkflowsView-BUbDrUpG.js} +17 -16
- package/dist/assets/{cloud-LUv718M0.js → cloud-Cxh_nDLb.js} +11 -10
- package/dist/assets/{dateFormatter-BQycHW-g.js → dateFormatter-BFLNShbl.js} +1 -1
- package/dist/assets/{dateformat-DYMw-0LU.js → dateformat-DfmxUC-6.js} +1 -1
- package/dist/assets/email-providers-DOaL31jY.js +1 -0
- package/dist/assets/{fast-json-stable-stringify-dgHKYgJi.js → fast-json-stable-stringify-DDe8InQN.js} +1 -1
- package/dist/assets/{file-saver-taM_eo9L.js → file-saver-DU9Y2h5E.js} +1 -1
- package/dist/assets/highlight.js-DOaL31jY.js +1 -0
- package/dist/assets/{humanize-duration-DLMU-N1g.js → humanize-duration-BS9LxAIm.js} +1 -1
- package/dist/assets/{index-DndFZfV8.js → index-BK9gQqb6.js} +9036 -9001
- package/dist/assets/{index-CDdd6K0Q.css → index-CUw3_ZiY.css} +216 -138
- package/dist/assets/{jsonpath-B2TgTZLp.js → jsonpath-DbhX-MUF.js} +1 -1
- package/dist/assets/{n8n-DS_nZ0wb.js → n8n-DLOq6Kd-.js} +3306 -3377
- package/dist/assets/{n8n-CZShcbZx.css → n8n-wnQsH82d.css} +60 -60
- package/dist/assets/{pinia-C4PgcsWV.js → pinia-CH9HlKCh.js} +155 -8
- package/dist/assets/{prettier-_aQB57xD.js → prettier-DuWRKCwA.js} +1115 -1052
- package/dist/assets/{pushConnection.store-BTynFkGl.js → pushConnection.store-0ae9n5RY.js} +3 -3
- package/dist/assets/{qrcode.vue-EmD3D6Vb.js → qrcode.vue-BxNS_c3b.js} +1 -1
- package/dist/assets/{templateActions-CyTEtN23.js → templateActions-DWDf_J_7.js} +1 -1
- package/dist/assets/{useBeforeUnload-Div6k6NW.js → useBeforeUnload-Bu28h_Oh.js} +2 -2
- package/dist/assets/{useExecutionDebugging-FW31gZq7.js → useExecutionDebugging-Ij7ccVln.js} +2 -2
- package/dist/assets/{usePushConnection-CJj6Vah0.js → usePushConnection-C5cJk_Eh.js} +5 -5
- package/dist/assets/{useUserHelpers-D8TzQJnM.js → useUserHelpers-Dec8q_5J.js} +1 -1
- package/dist/assets/{useWorkflowActivate-BBlUBJda.js → useWorkflowActivate-DhxP8t5T.js} +2 -2
- package/dist/assets/{v3-infinite-loading-BDSwUlAm.js → v3-infinite-loading-lAZO0HDs.js} +1 -1
- package/dist/assets/{vendor-DCtS1fjk.js → vendor-DCeaNtb_.js} +212 -133
- package/dist/assets/{vue-agile-Dr5uE4S4.js → vue-agile-B6SWje8b.js} +2 -2
- package/dist/assets/{vue-chartjs-ytwxJ63I.js → vue-chartjs-CAJPqBur.js} +1 -1
- package/dist/assets/{vue-i18n-DBLN2Rh9.js → vue-i18n-CVQE9o3c.js} +1 -1
- package/dist/assets/{vue-json-pretty-DbJSbzQx.js → vue-json-pretty-DyN9p2di.js} +2 -2
- package/dist/assets/xss-DOaL31jY.js +1 -0
- package/dist/index.html +35 -33
- package/index.html +1 -0
- package/package.json +1 -1
- package/vite.config.mts +3 -3
- package/dist/assets/@n8n/api-types-l0sNRNKZ.js +0 -1
- package/dist/assets/AuthView-C2AWX7U3.js +0 -170
- package/dist/assets/ChangePasswordView-B50udwRl.js +0 -184
- package/dist/assets/ForgotMyPasswordView-CxXL7TS9.js +0 -133
- package/dist/assets/RunDataJson-BKgI5Len.js +0 -260
- package/dist/assets/SettingsLdapView-HJim-Mcr.js +0 -769
- package/dist/assets/SettingsView-BXu6WM7O.js +0 -312
- package/dist/assets/SetupView-l6S2CDCh.js +0 -148
- package/dist/assets/TemplatesCollectionView-DqU45LmA.js +0 -253
- package/dist/assets/TemplatesWorkflowView-R16T2dYz.js +0 -255
- package/dist/assets/email-providers-NhjWeVZA.js +0 -1
- package/dist/assets/highlight.js-NhjWeVZA.js +0 -1
- package/dist/assets/xss-NhjWeVZA.js +0 -1
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
const __vite__fileDeps=["assets/RunDataJsonActions-CTXfYaCk.js","assets/vendor-DCtS1fjk.js","assets/pinia-C4PgcsWV.js","assets/jsonpath-B2TgTZLp.js","assets/n8n-DS_nZ0wb.js","assets/esprima-next-DUEu30kB.js","assets/axios-B4zXCSve.js","assets/luxon-Bt_g4NOb.js","assets/lodash-es-rVh4nriD.js","assets/uuid-BoySKAeK.js","assets/@vueuse/core-BZR8MlRU.js","assets/n8n-CZShcbZx.css","assets/index-DndFZfV8.js","assets/flatted-D70IerrI.js","assets/bowser-C3wWO1p5.js","assets/@n8n/permissions-BxSXRD9U.js","assets/dateformat-DYMw-0LU.js","assets/vue-i18n-DBLN2Rh9.js","assets/@jsplumb/util-BwtpiQ4c.js","assets/@jsplumb/core-B__RSZHf.js","assets/@jsplumb/common-s1StEx7B.js","assets/@jsplumb/connector-bezier-D659hq4c.js","assets/@jsplumb/browser-ui-BphmFVJY.js","assets/@n8n/codemirror-lang-CIGGB1t0.js","assets/@lezer/common-CnY9etib.js","assets/@n8n/codemirror-lang-sql-C41WNa63.js","assets/prettier-_aQB57xD.js","assets/codemirror-lang-html-n8n-CXTCIWzP.js","assets/fast-json-stable-stringify-dgHKYgJi.js","assets/timeago.js-CgQus8nl.js","assets/qrcode.vue-EmD3D6Vb.js","assets/vue3-touch-events-DVOgU3fI.js","assets/chart.js-DiBOFLDH.js","assets/index-CDdd6K0Q.css","assets/RunDataJsonActions-zNKrn8z4.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
-
import { ax as __unplugin_components_2, eD as __unplugin_components_0, eE as __unplugin_components_1, eH as nonExistingJsonPath, k as useWorkflowsStore, L as useNDVStore, aI as executionDataToJson, s as shorten, eF as getMappedExpression, be as isString, a1 as useExternalHooks } from "./index-DndFZfV8.js";
|
|
3
|
-
import { k as __vitePreload, _ as _export_sfc } from "./n8n-DS_nZ0wb.js";
|
|
4
|
-
import { I as defineComponent, a as ref, aP as defineAsyncComponent, an as resolveComponent, J as openBlock, K as createElementBlock, _ as normalizeClass, V as createBlock, aR as Suspense, a3 as withCtx, U as createCommentVNode, a8 as createVNode } from "./vendor-DCtS1fjk.js";
|
|
5
|
-
import { V as VueJsonPretty } from "./vue-json-pretty-DbJSbzQx.js";
|
|
6
|
-
import { m as mapStores } from "./pinia-C4PgcsWV.js";
|
|
7
|
-
import "./axios-B4zXCSve.js";
|
|
8
|
-
import "./flatted-D70IerrI.js";
|
|
9
|
-
import "./bowser-C3wWO1p5.js";
|
|
10
|
-
import "./@vueuse/core-BZR8MlRU.js";
|
|
11
|
-
import "./lodash-es-rVh4nriD.js";
|
|
12
|
-
import "./@n8n/permissions-BxSXRD9U.js";
|
|
13
|
-
import "./uuid-BoySKAeK.js";
|
|
14
|
-
import "./dateformat-DYMw-0LU.js";
|
|
15
|
-
import "./vue-i18n-DBLN2Rh9.js";
|
|
16
|
-
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
17
|
-
import "./@jsplumb/core-B__RSZHf.js";
|
|
18
|
-
import "./@jsplumb/common-s1StEx7B.js";
|
|
19
|
-
import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
20
|
-
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
21
|
-
import "./luxon-Bt_g4NOb.js";
|
|
22
|
-
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
23
|
-
import "./@lezer/common-CnY9etib.js";
|
|
24
|
-
import "./@n8n/codemirror-lang-sql-C41WNa63.js";
|
|
25
|
-
import "./prettier-_aQB57xD.js";
|
|
26
|
-
import "./codemirror-lang-html-n8n-CXTCIWzP.js";
|
|
27
|
-
import "./esprima-next-DUEu30kB.js";
|
|
28
|
-
import "./fast-json-stable-stringify-dgHKYgJi.js";
|
|
29
|
-
import "./timeago.js-CgQus8nl.js";
|
|
30
|
-
import "./qrcode.vue-EmD3D6Vb.js";
|
|
31
|
-
import "./vue3-touch-events-DVOgU3fI.js";
|
|
32
|
-
import "./chart.js-DiBOFLDH.js";
|
|
33
|
-
const LazyRunDataJsonActions = defineAsyncComponent(
|
|
34
|
-
async () => await __vitePreload(() => import("./RunDataJsonActions-CTXfYaCk.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]) : void 0)
|
|
35
|
-
);
|
|
36
|
-
const _sfc_main = defineComponent({
|
|
37
|
-
name: "RunDataJson",
|
|
38
|
-
components: {
|
|
39
|
-
VueJsonPretty,
|
|
40
|
-
Draggable: __unplugin_components_2,
|
|
41
|
-
LazyRunDataJsonActions,
|
|
42
|
-
MappingPill: __unplugin_components_0,
|
|
43
|
-
TextWithHighlights: __unplugin_components_1
|
|
44
|
-
},
|
|
45
|
-
props: {
|
|
46
|
-
editMode: {
|
|
47
|
-
type: Object,
|
|
48
|
-
default: () => ({})
|
|
49
|
-
},
|
|
50
|
-
pushRef: {
|
|
51
|
-
type: String
|
|
52
|
-
},
|
|
53
|
-
paneType: {
|
|
54
|
-
type: String
|
|
55
|
-
},
|
|
56
|
-
node: {
|
|
57
|
-
type: Object,
|
|
58
|
-
required: true
|
|
59
|
-
},
|
|
60
|
-
inputData: {
|
|
61
|
-
type: Array,
|
|
62
|
-
required: true
|
|
63
|
-
},
|
|
64
|
-
mappingEnabled: {
|
|
65
|
-
type: Boolean
|
|
66
|
-
},
|
|
67
|
-
distanceFromActive: {
|
|
68
|
-
type: Number,
|
|
69
|
-
required: true
|
|
70
|
-
},
|
|
71
|
-
runIndex: {
|
|
72
|
-
type: Number
|
|
73
|
-
},
|
|
74
|
-
totalRuns: {
|
|
75
|
-
type: Number
|
|
76
|
-
},
|
|
77
|
-
search: {
|
|
78
|
-
type: String
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
setup() {
|
|
82
|
-
const externalHooks = useExternalHooks();
|
|
83
|
-
const selectedJsonPath = ref(nonExistingJsonPath);
|
|
84
|
-
const draggingPath = ref(null);
|
|
85
|
-
const displayMode = ref("json");
|
|
86
|
-
return {
|
|
87
|
-
externalHooks,
|
|
88
|
-
selectedJsonPath,
|
|
89
|
-
draggingPath,
|
|
90
|
-
displayMode
|
|
91
|
-
};
|
|
92
|
-
},
|
|
93
|
-
computed: {
|
|
94
|
-
...mapStores(useNDVStore, useWorkflowsStore),
|
|
95
|
-
jsonData() {
|
|
96
|
-
return executionDataToJson(this.inputData);
|
|
97
|
-
},
|
|
98
|
-
highlight() {
|
|
99
|
-
return this.ndvStore.highlightDraggables;
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
methods: {
|
|
103
|
-
getShortKey(el) {
|
|
104
|
-
if (!el) {
|
|
105
|
-
return "";
|
|
106
|
-
}
|
|
107
|
-
return shorten(el.dataset.name || "", 16, 2);
|
|
108
|
-
},
|
|
109
|
-
getJsonParameterPath(path) {
|
|
110
|
-
const subPath = path.replace(/^(\["?\d"?])/, "");
|
|
111
|
-
return getMappedExpression({
|
|
112
|
-
nodeName: this.node.name,
|
|
113
|
-
distanceFromActive: this.distanceFromActive,
|
|
114
|
-
path: subPath
|
|
115
|
-
});
|
|
116
|
-
},
|
|
117
|
-
onDragStart(el) {
|
|
118
|
-
if (el == null ? void 0 : el.dataset.path) {
|
|
119
|
-
this.draggingPath = el.dataset.path;
|
|
120
|
-
}
|
|
121
|
-
this.ndvStore.resetMappingTelemetry();
|
|
122
|
-
},
|
|
123
|
-
onDragEnd(el) {
|
|
124
|
-
this.draggingPath = null;
|
|
125
|
-
const mappingTelemetry = this.ndvStore.mappingTelemetry;
|
|
126
|
-
const telemetryPayload = {
|
|
127
|
-
src_node_type: this.node.type,
|
|
128
|
-
src_field_name: el.dataset.name || "",
|
|
129
|
-
src_nodes_back: this.distanceFromActive,
|
|
130
|
-
src_run_index: this.runIndex,
|
|
131
|
-
src_runs_total: this.totalRuns,
|
|
132
|
-
src_field_nest_level: el.dataset.depth || 0,
|
|
133
|
-
src_view: "json",
|
|
134
|
-
src_element: el,
|
|
135
|
-
success: false,
|
|
136
|
-
...mappingTelemetry
|
|
137
|
-
};
|
|
138
|
-
setTimeout(() => {
|
|
139
|
-
void this.externalHooks.run("runDataJson.onDragEnd", telemetryPayload);
|
|
140
|
-
this.$telemetry.track("User dragged data for mapping", telemetryPayload, {
|
|
141
|
-
withPostHog: true
|
|
142
|
-
});
|
|
143
|
-
}, 1e3);
|
|
144
|
-
},
|
|
145
|
-
getContent(value) {
|
|
146
|
-
return isString(value) ? `"${value}"` : JSON.stringify(value);
|
|
147
|
-
},
|
|
148
|
-
getListItemName(path) {
|
|
149
|
-
return path.replace(/^(\["?\d"?]\.?)/g, "");
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
});
|
|
153
|
-
const jsonDisplay = "_jsonDisplay_uww64_1";
|
|
154
|
-
const mappable = "_mappable_uww64_19";
|
|
155
|
-
const highlight = "_highlight_uww64_25";
|
|
156
|
-
const dragged = "_dragged_uww64_26";
|
|
157
|
-
const style0 = {
|
|
158
|
-
jsonDisplay,
|
|
159
|
-
mappable,
|
|
160
|
-
highlight,
|
|
161
|
-
dragged
|
|
162
|
-
};
|
|
163
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
164
|
-
const _component_LazyRunDataJsonActions = resolveComponent("LazyRunDataJsonActions");
|
|
165
|
-
const _component_MappingPill = __unplugin_components_0;
|
|
166
|
-
const _component_TextWithHighlights = __unplugin_components_1;
|
|
167
|
-
const _component_VueJsonPretty = resolveComponent("VueJsonPretty");
|
|
168
|
-
const _component_Draggable = __unplugin_components_2;
|
|
169
|
-
return openBlock(), createElementBlock("div", {
|
|
170
|
-
class: normalizeClass([_ctx.$style.jsonDisplay, { [_ctx.$style.highlight]: _ctx.highlight }])
|
|
171
|
-
}, [
|
|
172
|
-
(openBlock(), createBlock(Suspense, null, {
|
|
173
|
-
default: withCtx(() => [
|
|
174
|
-
!_ctx.editMode.enabled ? (openBlock(), createBlock(_component_LazyRunDataJsonActions, {
|
|
175
|
-
key: 0,
|
|
176
|
-
node: _ctx.node,
|
|
177
|
-
"push-ref": _ctx.pushRef,
|
|
178
|
-
"display-mode": _ctx.displayMode,
|
|
179
|
-
"distance-from-active": _ctx.distanceFromActive,
|
|
180
|
-
"selected-json-path": _ctx.selectedJsonPath,
|
|
181
|
-
"json-data": _ctx.jsonData,
|
|
182
|
-
"pane-type": _ctx.paneType
|
|
183
|
-
}, null, 8, ["node", "push-ref", "display-mode", "distance-from-active", "selected-json-path", "json-data", "pane-type"])) : createCommentVNode("", true)
|
|
184
|
-
]),
|
|
185
|
-
_: 1
|
|
186
|
-
})),
|
|
187
|
-
createVNode(_component_Draggable, {
|
|
188
|
-
type: "mapping",
|
|
189
|
-
"target-data-key": "mappable",
|
|
190
|
-
disabled: !_ctx.mappingEnabled,
|
|
191
|
-
onDragstart: _ctx.onDragStart,
|
|
192
|
-
onDragend: _ctx.onDragEnd
|
|
193
|
-
}, {
|
|
194
|
-
preview: withCtx(({ canDrop, el }) => [
|
|
195
|
-
el ? (openBlock(), createBlock(_component_MappingPill, {
|
|
196
|
-
key: 0,
|
|
197
|
-
html: _ctx.getShortKey(el),
|
|
198
|
-
"can-drop": canDrop
|
|
199
|
-
}, null, 8, ["html", "can-drop"])) : createCommentVNode("", true)
|
|
200
|
-
]),
|
|
201
|
-
default: withCtx(() => [
|
|
202
|
-
createVNode(_component_VueJsonPretty, {
|
|
203
|
-
data: _ctx.jsonData,
|
|
204
|
-
deep: 10,
|
|
205
|
-
"show-length": true,
|
|
206
|
-
"selected-value": _ctx.selectedJsonPath,
|
|
207
|
-
"root-path": "",
|
|
208
|
-
"selectable-type": "single",
|
|
209
|
-
class: "json-data",
|
|
210
|
-
"onUpdate:selectedValue": _cache[0] || (_cache[0] = ($event) => _ctx.selectedJsonPath = $event)
|
|
211
|
-
}, {
|
|
212
|
-
renderNodeKey: withCtx(({ node }) => [
|
|
213
|
-
createVNode(_component_TextWithHighlights, {
|
|
214
|
-
content: _ctx.getContent(node.key),
|
|
215
|
-
search: _ctx.search,
|
|
216
|
-
"data-target": "mappable",
|
|
217
|
-
"data-value": _ctx.getJsonParameterPath(node.path),
|
|
218
|
-
"data-name": node.key,
|
|
219
|
-
"data-path": node.path,
|
|
220
|
-
"data-depth": node.level,
|
|
221
|
-
class: normalizeClass({
|
|
222
|
-
[_ctx.$style.mappable]: _ctx.mappingEnabled,
|
|
223
|
-
[_ctx.$style.dragged]: _ctx.draggingPath === node.path
|
|
224
|
-
})
|
|
225
|
-
}, null, 8, ["content", "search", "data-value", "data-name", "data-path", "data-depth", "class"])
|
|
226
|
-
]),
|
|
227
|
-
renderNodeValue: withCtx(({ node }) => [
|
|
228
|
-
isNaN(node.index) ? (openBlock(), createBlock(_component_TextWithHighlights, {
|
|
229
|
-
key: 0,
|
|
230
|
-
content: _ctx.getContent(node.content),
|
|
231
|
-
search: _ctx.search
|
|
232
|
-
}, null, 8, ["content", "search"])) : (openBlock(), createBlock(_component_TextWithHighlights, {
|
|
233
|
-
key: 1,
|
|
234
|
-
content: _ctx.getContent(node.content),
|
|
235
|
-
search: _ctx.search,
|
|
236
|
-
"data-target": "mappable",
|
|
237
|
-
"data-value": _ctx.getJsonParameterPath(node.path),
|
|
238
|
-
"data-name": _ctx.getListItemName(node.path),
|
|
239
|
-
"data-path": node.path,
|
|
240
|
-
"data-depth": node.level,
|
|
241
|
-
class: normalizeClass([{
|
|
242
|
-
[_ctx.$style.mappable]: _ctx.mappingEnabled,
|
|
243
|
-
[_ctx.$style.dragged]: _ctx.draggingPath === node.path
|
|
244
|
-
}, "ph-no-capture"])
|
|
245
|
-
}, null, 8, ["content", "search", "data-value", "data-name", "data-path", "data-depth", "class"]))
|
|
246
|
-
]),
|
|
247
|
-
_: 1
|
|
248
|
-
}, 8, ["data", "selected-value"])
|
|
249
|
-
]),
|
|
250
|
-
_: 1
|
|
251
|
-
}, 8, ["disabled", "onDragstart", "onDragend"])
|
|
252
|
-
], 2);
|
|
253
|
-
}
|
|
254
|
-
const cssModules = {
|
|
255
|
-
"$style": style0
|
|
256
|
-
};
|
|
257
|
-
const RunDataJson = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__cssModules", cssModules]]);
|
|
258
|
-
export {
|
|
259
|
-
RunDataJson as default
|
|
260
|
-
};
|