@trilogy-data/trilogy-studio-components 0.1.17 → 0.1.19
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/README.md +36 -0
- package/dist/{AssetAutoImporter-COld6ovI.js → AssetAutoImporter-CUqhhNvb.js} +14 -14
- package/dist/{CommunityModels-B5DGmouF.js → CommunityModels-BKBxewjm.js} +2 -2
- package/dist/{ConnectionView-C9-aVTdE.js → ConnectionView-Dyqm2oeV.js} +14 -14
- package/dist/{Dashboard-C8vFmGcL.js → Dashboard-Bsoj1oUW.js} +169 -169
- package/dist/{DashboardCreatorInline-DheLBs4U.js → DashboardCreatorInline-BLbkDxBF.js} +1 -1
- package/dist/{DashboardMobile-B7HffPju.js → DashboardMobile-Ao8NtF1f.js} +16 -16
- package/dist/{DrilldownPane-S2dy0Wvj.js → DrilldownPane-OZMttRBx.js} +2691 -2666
- package/dist/{Editor-DKEg-QmG.js → Editor-N40lTR0s.js} +1 -1
- package/dist/{IDE-4OJAmj7h.js → IDE-kbUDZPcL.js} +5 -5
- package/dist/{JobsView-DE0m37jI.js → JobsView-AYNUDnKG.js} +1 -1
- package/dist/{LLMChat-DvoCO2NW.js → LLMChat-CZTQUh53.js} +2 -2
- package/dist/{LLMConnectionList-cXc3m9rK.js → LLMConnectionList-BkvCZP5Q.js} +1 -1
- package/dist/{LLMView-DzEvz9u4.js → LLMView-CaTlmLGb.js} +2 -2
- package/dist/{MobileIDE-w2cNPXWA.js → MobileIDE-Bi7GNE2X.js} +10 -10
- package/dist/{ModelCard-DPtVjIMJ.js → ModelCard-Cd6OxExX.js} +2 -2
- package/dist/{ModelCreator-gJ86t8SP.js → ModelCreator-DeI-n86Z.js} +1 -1
- package/dist/{ModelView-C5y1IU22.js → ModelView-Surdb5KW.js} +2 -2
- package/dist/{ResultComponent-DV46CwMw.js → ResultComponent-CXkTwZFS.js} +1 -1
- package/dist/{Sidebar-C6FJOAJk.js → Sidebar-CfOATms_.js} +60 -60
- package/dist/{TutorialPage-BF9ao6-m.js → TutorialPage-IisHiPL6.js} +8 -8
- package/dist/{UserProfile-DPc9-B3S.js → UserProfile-CQAUnKyQ.js} +1 -1
- package/dist/components/dashboard/useDashboard.d.ts.map +1 -1
- package/dist/composables/useCrossFilterEligibility.d.ts +18 -0
- package/dist/composables/useCrossFilterEligibility.d.ts.map +1 -0
- package/dist/composables/useEmbeddedDashboardGroup.d.ts +78 -0
- package/dist/composables/useEmbeddedDashboardGroup.d.ts.map +1 -0
- package/dist/composables/useResolvedCrossFilterController.d.ts +30 -0
- package/dist/composables/useResolvedCrossFilterController.d.ts.map +1 -0
- package/dist/dashboard.js +313 -82
- package/dist/dashboards/barChartSpec.d.ts +39 -0
- package/dist/dashboards/barChartSpec.d.ts.map +1 -1
- package/dist/dashboards/crossFilters.d.ts +3 -0
- package/dist/dashboards/crossFilters.d.ts.map +1 -1
- package/dist/entry.dashboard.d.ts +8 -2
- package/dist/entry.dashboard.d.ts.map +1 -1
- package/dist/main.d.ts +8 -2
- package/dist/main.d.ts.map +1 -1
- package/dist/{queryExecutionService-obvMrWcu.js → queryExecutionService-KrjL0UCa.js} +167 -128
- package/dist/stores/queryExecutionService.d.ts +9 -0
- package/dist/stores/queryExecutionService.d.ts.map +1 -1
- package/dist/stores.js +1 -1
- package/dist/trilogy-studio-components.css +1 -1
- package/dist/{useDashboard-B_MH66Yb.js → useDashboard-CtX3sEag.js} +275 -275
- package/dist/views.js +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { inject as b, ref as p, computed as D, createElementBlock as l, createCommentVNode as C, openBlock as i, createElementVNode as r, withDirectives as y, withKeys as E, vModelText as T, Fragment as k, renderList as I, toDisplayString as N, vModelSelect as P } from "vue";
|
|
2
2
|
import "./editorStore-BTPcljeQ.js";
|
|
3
3
|
import "./toolLoopCore-CK_KVuAS.js";
|
|
4
|
-
import "./queryExecutionService-
|
|
4
|
+
import "./queryExecutionService-KrjL0UCa.js";
|
|
5
5
|
import { _ as V } from "./_plugin-vue_export-helper-BzkwV_Yn.js";
|
|
6
6
|
const F = {
|
|
7
7
|
name: "DashboardCreatorInline",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as he, computed as pe, createElementBlock as u, openBlock as s, createVNode as h, createCommentVNode as I, createBlock as R, unref as e, Fragment as T, renderList as be, normalizeStyle as fe, createElementVNode as r, Teleport as x, toDisplayString as
|
|
2
|
-
import { u as
|
|
3
|
-
import { D as Ee } from "./DashboardCreatorInline-
|
|
4
|
-
import { a as De,
|
|
1
|
+
import { defineComponent as he, computed as pe, createElementBlock as u, openBlock as s, createVNode as h, createCommentVNode as I, createBlock as R, unref as e, Fragment as T, renderList as be, normalizeStyle as fe, createElementVNode as r, Teleport as x, toDisplayString as ve, createTextVNode as F, nextTick as Ce } from "vue";
|
|
2
|
+
import { u as ge, D as ye, _ as Ie, a as Te, b as ke, C as Me, M as we } from "./useDashboard-CtX3sEag.js";
|
|
3
|
+
import { D as Ee } from "./DashboardCreatorInline-BLbkDxBF.js";
|
|
4
|
+
import { a as De, h as b } from "./queryExecutionService-KrjL0UCa.js";
|
|
5
5
|
import { _ as Se } from "./_plugin-vue_export-helper-BzkwV_Yn.js";
|
|
6
6
|
const Re = {
|
|
7
7
|
key: 0,
|
|
@@ -25,8 +25,8 @@ const Re = {
|
|
|
25
25
|
connectionId: {},
|
|
26
26
|
viewMode: { type: Boolean }
|
|
27
27
|
},
|
|
28
|
-
setup(
|
|
29
|
-
const p =
|
|
28
|
+
setup(C) {
|
|
29
|
+
const p = C, k = De(), i = pe(() => {
|
|
30
30
|
const o = Object.values(k.dashboards).find((t) => t.id === p.name);
|
|
31
31
|
if (!o && p.connectionId)
|
|
32
32
|
try {
|
|
@@ -71,7 +71,7 @@ const Re = {
|
|
|
71
71
|
removeFilter: oe,
|
|
72
72
|
unSelect: te,
|
|
73
73
|
dashboardCreated: ne
|
|
74
|
-
} =
|
|
74
|
+
} = ge(
|
|
75
75
|
i,
|
|
76
76
|
{
|
|
77
77
|
connectionId: p.connectionId,
|
|
@@ -82,14 +82,14 @@ const Re = {
|
|
|
82
82
|
layoutUpdated: () => {
|
|
83
83
|
},
|
|
84
84
|
// Not needed for mobile
|
|
85
|
-
dimensionsUpdate: (o) =>
|
|
85
|
+
dimensionsUpdate: (o) => g(o),
|
|
86
86
|
triggerResize: () => S(),
|
|
87
87
|
fullScreen: () => {
|
|
88
88
|
}
|
|
89
89
|
// Not needed for mobile
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
|
-
function
|
|
92
|
+
function g(o) {
|
|
93
93
|
if (!i.value) return;
|
|
94
94
|
const t = document.querySelector(`.mobile-item[data-i="${o}"] .grid-item-content`);
|
|
95
95
|
if (t) {
|
|
@@ -99,14 +99,14 @@ const Re = {
|
|
|
99
99
|
}
|
|
100
100
|
function S() {
|
|
101
101
|
i.value && f.value.forEach((o) => {
|
|
102
|
-
|
|
102
|
+
g(o.i);
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
function ie(o) {
|
|
106
106
|
return "100%";
|
|
107
107
|
}
|
|
108
108
|
function ae(o) {
|
|
109
|
-
var m,
|
|
109
|
+
var m, v;
|
|
110
110
|
let t = Math.min(window.innerWidth, 400);
|
|
111
111
|
if (!i.value || !i.value.gridItems[o.i])
|
|
112
112
|
return t;
|
|
@@ -121,7 +121,7 @@ const Re = {
|
|
|
121
121
|
if (n.width && n.height) {
|
|
122
122
|
let y = o.h / (o.w * 2);
|
|
123
123
|
const me = window.innerWidth - 50;
|
|
124
|
-
["point", "barh"].includes(((
|
|
124
|
+
["point", "barh"].includes(((v = n.chartConfig) == null ? void 0 : v.chartType) || "") && (y = y * 1.2);
|
|
125
125
|
const ue = me * y;
|
|
126
126
|
return `${Math.max(Math.min(ue, a), t)}px`;
|
|
127
127
|
}
|
|
@@ -129,7 +129,7 @@ const Re = {
|
|
|
129
129
|
return `${Math.max(Math.min(d * 12 * 30, a), Be)}px`;
|
|
130
130
|
}
|
|
131
131
|
function re(o) {
|
|
132
|
-
z(o),
|
|
132
|
+
z(o), Ce(() => {
|
|
133
133
|
S();
|
|
134
134
|
});
|
|
135
135
|
}
|
|
@@ -221,7 +221,7 @@ const Re = {
|
|
|
221
221
|
"set-item-data": e(D),
|
|
222
222
|
onEditContent: e(J),
|
|
223
223
|
onRemoveFilter: e(oe),
|
|
224
|
-
onUpdateDimensions:
|
|
224
|
+
onUpdateDimensions: g,
|
|
225
225
|
onRemoveItem: e(G),
|
|
226
226
|
onCopyItem: e(K)
|
|
227
227
|
}, null, 8, ["dashboard-id", "item", "edit-mode", "filter", "get-item-data", "symbols", "get-dashboard-query-executor", "onDimensionClick", "onBackgroundClick", "set-item-data", "onEditContent", "onRemoveFilter", "onRemoveItem", "onCopyItem"])
|
|
@@ -289,9 +289,9 @@ const Re = {
|
|
|
289
289
|
}, null, 8, ["connectionName", "imports", "rootContent", "content", "onSave", "onCancel"])
|
|
290
290
|
])) : I("", !0)
|
|
291
291
|
])) : (s(), u("div", _e, [
|
|
292
|
-
|
|
292
|
+
C.name ? (s(), u(T, { key: 0 }, [
|
|
293
293
|
t[4] || (t[4] = r("h2", null, "Dashboard Not Found", -1)),
|
|
294
|
-
r("p", null, 'The dashboard "' +
|
|
294
|
+
r("p", null, 'The dashboard "' + ve(C.name) + '" could not be found.', 1)
|
|
295
295
|
], 64)) : (s(), u(T, { key: 1 }, [
|
|
296
296
|
t[5] || (t[5] = r("h2", null, [
|
|
297
297
|
F("Ready to "),
|