@trilogy-data/trilogy-studio-components 0.1.26 → 0.1.27
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/AssetAutoImporter-OHphsfW9.js +403 -0
- package/dist/{ChatCreatorModal-CL-jBnc3.js → ChatCreatorModal-CuXha6Dg.js} +3 -3
- package/dist/{ChatModelSelect-Do-VRUFc.js → ChatModelSelect-Cz7axWjP.js} +1 -1
- package/dist/{CodeBlock-PT4no49I.js → CodeBlock-BBsaC6hX.js} +4 -4
- package/dist/{CommunityModels-Cmro0hV3.js → CommunityModels-CIQQhO-y.js} +7 -7
- package/dist/{ConnectionErrorPopup-FSs7U-Yl.js → ConnectionErrorPopup-7vpqgF0s.js} +1 -1
- package/dist/{ConnectionView-COnTTuA4.js → ConnectionView-7Jj_Ggdi.js} +49 -49
- package/dist/{CreateEditorFromDatasourcePopup-snOh1d5h.js → CreateEditorFromDatasourcePopup-CrVHUWFl.js} +4 -4
- package/dist/{Dashboard-BH9ZwMVJ.js → Dashboard-DxSi9W6Q.js} +276 -280
- package/dist/{DashboardImportSelector-DQSvu9T-.js → DashboardImportSelector-kuDRDYi8.js} +2 -2
- package/dist/{DashboardMobile-BUPtdN2V.js → DashboardMobile-CZEgTb0R.js} +39 -39
- package/dist/{DrilldownPane-CBs5ZojS.js → DrilldownPane-BheRHJMs.js} +5 -7
- package/dist/{Editor-DQsYpkwl.js → Editor-D6tdutTm.js} +105 -103
- package/dist/{ErrorMessage-XMn_08gJ.js → ErrorMessage-D5JeF3Iz.js} +4 -4
- package/dist/{GlobalChatPanel-DhnOaige.js → GlobalChatPanel-BXZh0sdD.js} +20 -21
- package/dist/{IDE-HLa8vybk.js → IDE-T8PmyAQ_.js} +200 -203
- package/dist/{JobsView-B97HBoIE.js → JobsView-Ca97MiSd.js} +13 -14
- package/dist/{LLMChat-CxJcPLEG.js → LLMChat-Cch33Yd_.js} +3 -3
- package/dist/{LLMView-C1MUf0c2.js → LLMView-BDb6wD74.js} +23 -23
- package/dist/{LoadingView-s1uznGwG.js → LoadingView-B-xFwd2N.js} +2 -2
- package/dist/{MarkdownRenderer-BNDuEyG-.js → MarkdownRenderer-BWvdx0k3.js} +531 -430
- package/dist/{MobileIDE-BpqXoaMR.js → MobileIDE-DpdEQEqc.js} +179 -182
- package/dist/{ModelCard-BhN25jaV.js → ModelCard-DkAMP4X9.js} +12 -13
- package/dist/{ModelView-DUDA_PtZ.js → ModelView-DomyhN8g.js} +7 -7
- package/dist/PageLoading-BAvKGo9h.js +5937 -0
- package/dist/{ResultComponent-CAn_r3BL.js → ResultComponent-zoOSoRLe.js} +8 -8
- package/dist/{Results-BJtlwebY.js → Results-dq-SlJbU.js} +17 -19
- package/dist/{StatusIcon-BylPx2EO.js → StatusIcon-AbxNvJ6p.js} +2 -2
- package/dist/{StoreTokenModal-zCSYhfrw.js → StoreTokenModal-CM8WXdu1.js} +2 -2
- package/dist/{SymbolsPane-KYSwN9Sv.js → SymbolsPane-DfaxeaPS.js} +6 -3
- package/dist/{TrilogyEmbedProvider-WA_dlv9e.js → TrilogyEmbedProvider-D3h0gYnX.js} +9 -9
- package/dist/{TutorialPage-NRcee6Dx.js → TutorialPage-BtEJG7cT.js} +27 -28
- package/dist/{VegaLiteChart-D1slfOUY.js → VegaLiteChart-BVyAab-o.js} +12131 -10947
- package/dist/{WelcomePage-D5mU2x1L.js → WelcomePage-BoqzYBLr.js} +5 -5
- package/dist/{embedTheme-Bub46ILG.js → _plugin-vue_export-helper-f9Rw-Il4.js} +14 -6
- package/dist/assets/{css.worker-9aDGcEUy.js → css.worker-niORQtzO.js} +14 -14
- package/dist/assets/{html.worker-D2LKDpnG.js → html.worker-CO5LvJpF.js} +17 -17
- package/dist/assets/json.worker-BezHzWUV.js +58 -0
- package/dist/assets/{ts.worker-Bz0-EaKK.js → ts.worker-CYhxGg0r.js} +107 -107
- package/dist/{results-DTgAKr5j.js → base-DuKnVD-A.js} +216 -45
- package/dist/components/FeedbackBanner.vue.d.ts +4 -0
- package/dist/components/FeedbackBanner.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts +54 -0
- package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardProvenance.vue.d.ts +30 -0
- package/dist/components/dashboard/DashboardProvenance.vue.d.ts.map +1 -0
- package/dist/components/dashboard/ReportLayout.vue.d.ts +19 -0
- package/dist/components/dashboard/ReportLayout.vue.d.ts.map +1 -0
- package/dist/components/editor/Editor.vue.d.ts +3 -3
- package/dist/components/editor/EditorCreatorIcon.vue.d.ts +62 -0
- package/dist/components/editor/EditorCreatorIcon.vue.d.ts.map +1 -0
- package/dist/components/editor/ValidationComponent.vue.d.ts +50 -0
- package/dist/components/editor/ValidationComponent.vue.d.ts.map +1 -0
- package/dist/components/model/ModelCard.vue.d.ts +3 -3
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts +3 -3
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
- package/dist/{remoteWorker-Dkv3TJ0j.js → connections-CWH3zwH2.js} +4544 -4126
- package/dist/connections.js +3 -4
- package/dist/{cssMode-D4Rzr1Cu.js → cssMode-zpO2ap2B.js} +5 -6
- package/dist/dashboard.js +28 -31
- package/dist/{dist-CXoL8kXK.js → dist-1z5KURzS.js} +55 -50
- package/dist/{dist-DKkuvbPb.js → dist-Bv3D2p5A.js} +20 -18
- package/dist/{editor.main-Cl8i7rHY.js → editor.main-BQh6DxDB.js} +33 -33
- package/dist/{editorRefinementRuntime-DoP9P5J2.js → editorStore-CAlMJftt.js} +1692 -575
- package/dist/embed.js +2 -2
- package/dist/{freemarker2-fW5NBILf.js → freemarker2-DQBqlEXc.js} +1 -1
- package/dist/{globalChatRuntime-DWZxeS57.js → globalChatRuntime-CyS7vH51.js} +16 -16
- package/dist/{handlebars-dG4w8UUY.js → handlebars-tgYxaM70.js} +1 -1
- package/dist/{helpers-BLQAgX3C.js → helpers-BbVlA3Pf.js} +34 -35
- package/dist/{html-1Dq70BdU.js → html-jJahD3Mi.js} +1 -1
- package/dist/{htmlMode--IQmLBeh.js → htmlMode-BA1-8l2e.js} +5 -6
- package/dist/{javascript-CTzBM4sF.js → javascript-Cypfo7va.js} +1 -1
- package/dist/{jsonMode-DzeJjIEH.js → jsonMode-xJye8PWS.js} +25 -25
- package/dist/{liquid-DlHThiki.js → liquid-BGDrv5da.js} +1 -1
- package/dist/llm-ClU-2rgk.js +18493 -0
- package/dist/llm.js +2 -3
- package/dist/{localStorage-D9uyOFEO.js → localStorage-CGQ1iJXt.js} +40 -43
- package/dist/{lspLanguageFeatures-Cdfs3EKq.js → lspLanguageFeatures-V3e_p9oN.js} +32 -32
- package/dist/{mdx-fn3g4PH5.js → mdx-BUR1aImW.js} +1 -1
- package/dist/monaco.js +3 -3
- package/dist/{python-CCVj0pFt.js → python-YLkl0pc6.js} +1 -1
- package/dist/{razor-Cj3flYnk.js → razor-BP8TRMDY.js} +1 -1
- package/dist/{reconcile-Dyf4UZmj.js → reconcile-DXIvGwBk.js} +1 -1
- package/dist/{remoteStoreSync-Z-yjlYtI.js → remoteStoreSync-CuQBWpWf.js} +3 -3
- package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
- package/dist/static/test_import.vue.d.ts +4 -0
- package/dist/static/test_import.vue.d.ts.map +1 -0
- package/dist/stores-LlyiwSbK.js +2604 -0
- package/dist/stores.js +4 -7
- package/dist/trilogy-studio-components.css +1 -1
- package/dist/{tsMode-GI4xMYAl.js → tsMode-BH9HS_sH.js} +64 -66
- package/dist/{typescript-CPibXi3J.js → typescript-BM-ynfk9.js} +1 -1
- package/dist/{useChatWithTools-B0HZ_DVh.js → useChatWithTools-m3Jn_SV-.js} +11 -11
- package/dist/{useDashboard-CdSnPe_6.js → useDashboard-BOAuvVEw.js} +1014 -1022
- package/dist/{tabulator_esm-CxLvGDp8.js → useGlobalChatPanel-DuP1q7_f.js} +1729 -711
- package/dist/{useResizableDialog-B0ePSts4.js → useResizableDialog-Cs90WJdF.js} +2 -2
- package/dist/views/ModelView.vue.d.ts +6 -6
- package/dist/views/ModelView.vue.d.ts.map +1 -1
- package/dist/views/TutorialPage.vue.d.ts +9 -9
- package/dist/views/TutorialPage.vue.d.ts.map +1 -1
- package/dist/views.js +192 -194
- package/dist/{editor.api2-ClD5pp8H.js → workers-B9Eybl-M.js} +16252 -15926
- package/dist/{xml-BNyphceI.js → xml-M5WFPSpA.js} +1 -1
- package/dist/{yaml-DE5Vz0PH.js → yaml-CEeFwjz9.js} +1 -1
- package/package.json +29 -20
- package/dist/AssetAutoImporter-CBzvBaOt.js +0 -405
- package/dist/DashboardCreatorInline-CDU7kLy3.js +0 -129
- package/dist/DataTable-DoRDynP1.js +0 -365
- package/dist/EditorCreatorInline-D6_y1H_h.js +0 -125
- package/dist/LoadingButton-OH3frQuO.js +0 -138
- package/dist/ModalDialog-D1EOG4rl.js +0 -42
- package/dist/ModelCreator-CCdC7EXt.js +0 -253
- package/dist/PageLoading-BzniJM0C.js +0 -2669
- package/dist/Tooltip-Dihir4zs.js +0 -103
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/assets/json.worker-CJ5MmO5Q.js +0 -58
- package/dist/base-C8IuZWqY.js +0 -164
- package/dist/connectionHistoryStorage-DKJHiKJY.js +0 -111
- package/dist/connectionHistoryStore-DQeBvStZ.js +0 -61
- package/dist/connections-CJSb1TZl.js +0 -229
- package/dist/constants-DgFEYN2b.js +0 -7
- package/dist/dashboardStore-ppM6nGks.js +0 -641
- package/dist/demoSetup-mwa-RDC6.js +0 -2942
- package/dist/editorRefinementToolExecutor-CVY3FA7k.js +0 -4624
- package/dist/editorStore-BhhmXbi-.js +0 -1019
- package/dist/formatting-BbJ5ICgh.js +0 -6
- package/dist/llm-BBOVWb-F.js +0 -11967
- package/dist/llmStore-DJM2JhzY.js +0 -153
- package/dist/monaco.contribution-ikesdolO.js +0 -128
- package/dist/stores-BT9hTLny.js +0 -1708
- package/dist/trilogy-BroD2Qmp.js +0 -4
- package/dist/urlStore-52HG6lsX.js +0 -55
- package/dist/useGlobalChatPanel-D_0luajQ.js +0 -85
- package/dist/useIsMobile-CNpUQAvk.js +0 -8
- package/dist/usePrismHighlight-DVyDiDAL.js +0 -183
- package/dist/workers-Br7ThUKL.js +0 -47
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import "./
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
+
import "./llm-ClU-2rgk.js";
|
|
3
3
|
import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, normalizeClass as s, onMounted as c, onUnmounted as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, unref as m, vModelText as h, watch as g, withDirectives as _, withModifiers as v } from "vue";
|
|
4
4
|
//#region composables/useClickOutside.ts
|
|
5
5
|
function y(e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as r } from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as re } from "./
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
+
import { n as t, o as n, s as r } from "./config-DwTONafa.js";
|
|
3
|
+
import { Ft as i, sn as a, un as o } from "./llm-ClU-2rgk.js";
|
|
4
|
+
import { p as ee } from "./stores-LlyiwSbK.js";
|
|
5
|
+
import { n as te } from "./useGlobalChatPanel-DuP1q7_f.js";
|
|
6
|
+
import { a as s, i as c, m as l, n as u, o as d, r as f, s as ne, t as re } from "./useDashboard-BOAuvVEw.js";
|
|
7
7
|
import { Fragment as p, Teleport as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as b, createVNode as x, defineComponent as S, inject as ie, nextTick as ae, normalizeClass as oe, normalizeStyle as C, openBlock as w, renderList as se, toDisplayString as ce, unref as T } from "vue";
|
|
8
8
|
//#region components/dashboard/DashboardMobile.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var E = {
|
|
@@ -15,15 +15,15 @@ var E = {
|
|
|
15
15
|
}, O = ["data-i"], k = {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "dashboard-not-found"
|
|
18
|
-
}, A = 400, j = 120, M = /*#__PURE__*/
|
|
18
|
+
}, A = 400, j = 120, M = /*#__PURE__*/ e(/* @__PURE__ */ S({
|
|
19
19
|
__name: "DashboardMobile",
|
|
20
20
|
props: {
|
|
21
21
|
name: {},
|
|
22
22
|
connectionId: {},
|
|
23
23
|
viewMode: { type: Boolean }
|
|
24
24
|
},
|
|
25
|
-
setup(
|
|
26
|
-
let S =
|
|
25
|
+
setup(e) {
|
|
26
|
+
let S = e, M = ee(), N = h(() => {
|
|
27
27
|
let e = Object.values(M.dashboards).find((e) => e.id === S.name);
|
|
28
28
|
if (!e && S.connectionId) try {
|
|
29
29
|
return M.newDashboard(S.name, S.connectionId);
|
|
@@ -31,20 +31,20 @@ var E = {
|
|
|
31
31
|
return console.error("Failed to create dashboard:", e), null;
|
|
32
32
|
}
|
|
33
33
|
return e;
|
|
34
|
-
}), { sortedLayout: P, editMode: F, selectedConnection: I, filterError: L, globalCompletion: R, showAddItemModal: z, showQueryEditor: B, showMarkdownEditor: V, showFreeformEditor: H, editingItem: U, handleFilterChange: W, handleFilterClear: G, handleImportChange: le, validateFilter: ue, onConnectionChange: de, toggleMode: fe, openAddItemModal: pe, addItem: me, clearItems: he, removeItem: ge, copyItem: _e, closeAddModal: ve, openEditor: ye, saveContent: K, closeEditors: q, getDashboardQueryExecutor: be, getItemData: J, setItemData: Y, handleRefresh: xe, setCrossFilter: Se, removeFilter: Ce, unSelect: we, dashboardCreated: Te, updateTheme: Ee } =
|
|
34
|
+
}), { sortedLayout: P, editMode: F, selectedConnection: I, filterError: L, globalCompletion: R, showAddItemModal: z, showQueryEditor: B, showMarkdownEditor: V, showFreeformEditor: H, editingItem: U, handleFilterChange: W, handleFilterClear: G, handleImportChange: le, validateFilter: ue, onConnectionChange: de, toggleMode: fe, openAddItemModal: pe, addItem: me, clearItems: he, removeItem: ge, copyItem: _e, closeAddModal: ve, openEditor: ye, saveContent: K, closeEditors: q, getDashboardQueryExecutor: be, getItemData: J, setItemData: Y, handleRefresh: xe, setCrossFilter: Se, removeFilter: Ce, unSelect: we, dashboardCreated: Te, updateTheme: Ee } = re(N, {
|
|
35
35
|
connectionId: S.connectionId,
|
|
36
36
|
viewMode: S.viewMode,
|
|
37
37
|
isMobile: !0
|
|
38
38
|
}, {
|
|
39
39
|
layoutUpdated: () => {},
|
|
40
|
-
dimensionsUpdate: (e) =>
|
|
41
|
-
triggerResize: () =>
|
|
40
|
+
dimensionsUpdate: (e) => Q(e),
|
|
41
|
+
triggerResize: () => $(),
|
|
42
42
|
fullScreen: () => {}
|
|
43
|
-
}), De =
|
|
43
|
+
}), De = ie("userSettingsStore", null), Oe = n(De), ke = r(), X = h(() => o({
|
|
44
44
|
theme: N.value?.theme,
|
|
45
|
-
mode:
|
|
46
|
-
})),
|
|
47
|
-
function
|
|
45
|
+
mode: Oe.value
|
|
46
|
+
})), Z = h(() => a(X.value.vars, t(ke.value?.theme)?.variables));
|
|
47
|
+
function Q(e) {
|
|
48
48
|
if (!N.value) return;
|
|
49
49
|
let t = document.querySelector(`.mobile-item[data-i="${e}"] .grid-item-content`);
|
|
50
50
|
if (t) {
|
|
@@ -55,15 +55,15 @@ var E = {
|
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function $() {
|
|
59
59
|
N.value && P.value.forEach((e) => {
|
|
60
|
-
|
|
60
|
+
Q(e.i);
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
function Ae(e) {
|
|
64
64
|
return "100%";
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function je(e) {
|
|
67
67
|
let t = Math.min(window.innerWidth, 400);
|
|
68
68
|
if (!N.value || !N.value.gridItems[e.i]) return `${t}px`;
|
|
69
69
|
let n = J(e.i, N.value.id);
|
|
@@ -83,12 +83,12 @@ var E = {
|
|
|
83
83
|
let o = e.h / e.w;
|
|
84
84
|
return `${Math.max(Math.min(o * 12 * r, a), A)}px`;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Me(e) {
|
|
87
87
|
fe(e), ae(() => {
|
|
88
|
-
|
|
88
|
+
$();
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function Ne() {
|
|
92
92
|
let e = document.getElementById("page-content");
|
|
93
93
|
if (!e) return;
|
|
94
94
|
let t = e.scrollTop, n = e.querySelectorAll(".mobile-item"), r = null;
|
|
@@ -104,7 +104,7 @@ var E = {
|
|
|
104
104
|
behavior: "smooth"
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Pe() {
|
|
108
108
|
let e = document.getElementById("page-content");
|
|
109
109
|
if (!e) return;
|
|
110
110
|
let t = e.scrollTop, n = e.querySelectorAll(".mobile-item"), r = null;
|
|
@@ -120,12 +120,12 @@ var E = {
|
|
|
120
120
|
behavior: "smooth"
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
|
-
return (
|
|
123
|
+
return (t, n) => N.value ? (w(), v("div", {
|
|
124
124
|
key: 0,
|
|
125
125
|
class: "dashboard-mobile-container",
|
|
126
|
-
style: C(
|
|
126
|
+
style: C(Z.value)
|
|
127
127
|
}, [
|
|
128
|
-
x(
|
|
128
|
+
x(l, {
|
|
129
129
|
dashboard: N.value,
|
|
130
130
|
"edits-locked": N.value.state === "locked",
|
|
131
131
|
"selected-connection": T(I),
|
|
@@ -137,11 +137,11 @@ var E = {
|
|
|
137
137
|
onImportChange: T(le),
|
|
138
138
|
onAddItem: T(pe),
|
|
139
139
|
onClearItems: T(he),
|
|
140
|
-
onModeChange:
|
|
140
|
+
onModeChange: Me,
|
|
141
141
|
onRefresh: T(xe),
|
|
142
142
|
onClearFilter: T(G),
|
|
143
|
-
onNavigateUp:
|
|
144
|
-
onNavigateDown:
|
|
143
|
+
onNavigateUp: Ne,
|
|
144
|
+
onNavigateDown: Pe,
|
|
145
145
|
onThemeChange: T(Ee)
|
|
146
146
|
}, null, 8, [
|
|
147
147
|
"dashboard",
|
|
@@ -159,15 +159,15 @@ var E = {
|
|
|
159
159
|
"onClearFilter",
|
|
160
160
|
"onThemeChange"
|
|
161
161
|
]),
|
|
162
|
-
N.value && T(P).length === 0 ? (w(), v("div", E, [x(
|
|
162
|
+
N.value && T(P).length === 0 ? (w(), v("div", E, [x(u, { "dashboard-id": N.value.id }, null, 8, ["dashboard-id"])])) : (w(), v("div", D, [(w(!0), v(p, null, se(T(P), (e) => (w(), v("div", {
|
|
163
163
|
key: e.i,
|
|
164
164
|
"data-i": e.i,
|
|
165
165
|
class: oe(["mobile-item", { "mobile-item-filter": T(J)(e.i, N.value.id).type === T(i).FILTER }]),
|
|
166
166
|
style: C({
|
|
167
|
-
height:
|
|
167
|
+
height: je(e),
|
|
168
168
|
width: Ae(e)
|
|
169
169
|
})
|
|
170
|
-
}, [x(
|
|
170
|
+
}, [x(ne, {
|
|
171
171
|
"dashboard-id": N.value.id,
|
|
172
172
|
item: e,
|
|
173
173
|
"edit-mode": T(F),
|
|
@@ -179,7 +179,7 @@ var E = {
|
|
|
179
179
|
"set-item-data": T(Y),
|
|
180
180
|
onEditContent: T(ye),
|
|
181
181
|
onRemoveFilter: T(Ce),
|
|
182
|
-
onUpdateDimensions:
|
|
182
|
+
onUpdateDimensions: Q,
|
|
183
183
|
onRemoveItem: T(ge),
|
|
184
184
|
onCopyItem: T(_e)
|
|
185
185
|
}, null, 8, [
|
|
@@ -197,7 +197,7 @@ var E = {
|
|
|
197
197
|
"onRemoveItem",
|
|
198
198
|
"onCopyItem"
|
|
199
199
|
])], 14, O))), 128))])),
|
|
200
|
-
x(
|
|
200
|
+
x(d, {
|
|
201
201
|
show: T(z),
|
|
202
202
|
onAdd: T(me),
|
|
203
203
|
onClose: T(ve)
|
|
@@ -209,7 +209,7 @@ var E = {
|
|
|
209
209
|
T(B) && T(U) ? (w(), g(m, {
|
|
210
210
|
key: 2,
|
|
211
211
|
to: "body"
|
|
212
|
-
}, [x(
|
|
212
|
+
}, [x(s, {
|
|
213
213
|
connectionName: T(J)(T(U).i, N.value.id).connectionName || "",
|
|
214
214
|
imports: T(J)(T(U).i, N.value.id).imports || [],
|
|
215
215
|
rootContent: T(J)(T(U).i, N.value.id).rootContent || [],
|
|
@@ -227,7 +227,7 @@ var E = {
|
|
|
227
227
|
T(V) && T(U) ? (w(), g(m, {
|
|
228
228
|
key: 3,
|
|
229
229
|
to: "body"
|
|
230
|
-
}, [x(
|
|
230
|
+
}, [x(c, {
|
|
231
231
|
connectionName: T(J)(T(U).i, N.value.id).connectionName || "",
|
|
232
232
|
imports: T(J)(T(U).i, N.value.id).imports || [],
|
|
233
233
|
rootContent: T(J)(T(U).i, N.value.id).rootContent || [],
|
|
@@ -245,7 +245,7 @@ var E = {
|
|
|
245
245
|
T(H) && T(U) ? (w(), g(m, {
|
|
246
246
|
key: 4,
|
|
247
247
|
to: "body"
|
|
248
|
-
}, [x(
|
|
248
|
+
}, [x(f, {
|
|
249
249
|
connectionName: T(J)(T(U).i, N.value.id).connectionName || "",
|
|
250
250
|
imports: T(J)(T(U).i, N.value.id).imports || [],
|
|
251
251
|
rootContent: T(J)(T(U).i, N.value.id).rootContent || [],
|
|
@@ -260,11 +260,11 @@ var E = {
|
|
|
260
260
|
"onSave",
|
|
261
261
|
"onCancel"
|
|
262
262
|
])])) : _("", !0)
|
|
263
|
-
], 4)) : (w(), v("div", k, [
|
|
263
|
+
], 4)) : (w(), v("div", k, [e.name ? (w(), v(p, { key: 0 }, [n[0] ||= y("h2", null, "Dashboard Not Found", -1), y("p", null, "The dashboard \"" + ce(e.name) + "\" could not be found.", 1)], 64)) : (w(), v(p, { key: 1 }, [n[1] ||= y("h2", null, [
|
|
264
264
|
b("Ready to "),
|
|
265
265
|
y("i", { class: "mdi mdi-chart-line" }),
|
|
266
266
|
b("?")
|
|
267
|
-
], -1), x(
|
|
267
|
+
], -1), x(te, {
|
|
268
268
|
class: "inline-creator",
|
|
269
269
|
visible: !0,
|
|
270
270
|
onDashboardCreated: T(Te)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
2
|
import { Fragment as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, nextTick as s, normalizeClass as c, normalizeStyle as l, onMounted as u, onUnmounted as d, openBlock as f, reactive as p, ref as m, renderList as h, toDisplayString as g, vModelText as _, watch as v, withDirectives as y } from "vue";
|
|
3
3
|
//#region components/DrilldownPane.vue?vue&type=script&lang.ts
|
|
4
4
|
var b = {
|
|
@@ -72,7 +72,7 @@ var b = {
|
|
|
72
72
|
});
|
|
73
73
|
let h = (e) => {
|
|
74
74
|
let t = document.activeElement === i.value, n = i.value?.closest(".drilldown-pane")?.contains(document.activeElement);
|
|
75
|
-
|
|
75
|
+
(t || n) && e.key === "Escape" && (e.preventDefault(), M());
|
|
76
76
|
}, g = (e) => {
|
|
77
77
|
switch (e.key) {
|
|
78
78
|
case "ArrowDown":
|
|
@@ -84,9 +84,7 @@ var b = {
|
|
|
84
84
|
case "Enter":
|
|
85
85
|
e.preventDefault(), c.value >= 0 && c.value < r.value.length ? k(r.value[c.value]) : j();
|
|
86
86
|
break;
|
|
87
|
-
case "Escape":
|
|
88
|
-
e.preventDefault(), M();
|
|
89
|
-
break;
|
|
87
|
+
case "Escape": e.preventDefault(), M();
|
|
90
88
|
}
|
|
91
89
|
}, _ = () => {
|
|
92
90
|
r.value.length !== 0 && (c.value = Math.min(c.value + 1, r.value.length - 1), x());
|
|
@@ -119,9 +117,9 @@ var b = {
|
|
|
119
117
|
let t = e.type.toLowerCase();
|
|
120
118
|
return b.standard[t]?.tooltip || b.standard.default.tooltip;
|
|
121
119
|
}, k = (e) => {
|
|
122
|
-
e.type
|
|
120
|
+
e.type !== "metric" && e.trilogySubType !== "metric" && (o.value.includes(e.label) || (o.value.push(e.label), t("select-dimension", e), c.value = -1, s(() => {
|
|
123
121
|
i.value && i.value.focus();
|
|
124
|
-
}));
|
|
122
|
+
})));
|
|
125
123
|
}, A = (e) => {
|
|
126
124
|
o.value = o.value.filter((t) => t !== e), t("remove-dimension", e), c.value = -1, s(() => {
|
|
127
125
|
i.value && i.value.focus();
|