@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.
Files changed (46) hide show
  1. package/README.md +36 -0
  2. package/dist/{AssetAutoImporter-COld6ovI.js → AssetAutoImporter-CUqhhNvb.js} +14 -14
  3. package/dist/{CommunityModels-B5DGmouF.js → CommunityModels-BKBxewjm.js} +2 -2
  4. package/dist/{ConnectionView-C9-aVTdE.js → ConnectionView-Dyqm2oeV.js} +14 -14
  5. package/dist/{Dashboard-C8vFmGcL.js → Dashboard-Bsoj1oUW.js} +169 -169
  6. package/dist/{DashboardCreatorInline-DheLBs4U.js → DashboardCreatorInline-BLbkDxBF.js} +1 -1
  7. package/dist/{DashboardMobile-B7HffPju.js → DashboardMobile-Ao8NtF1f.js} +16 -16
  8. package/dist/{DrilldownPane-S2dy0Wvj.js → DrilldownPane-OZMttRBx.js} +2691 -2666
  9. package/dist/{Editor-DKEg-QmG.js → Editor-N40lTR0s.js} +1 -1
  10. package/dist/{IDE-4OJAmj7h.js → IDE-kbUDZPcL.js} +5 -5
  11. package/dist/{JobsView-DE0m37jI.js → JobsView-AYNUDnKG.js} +1 -1
  12. package/dist/{LLMChat-DvoCO2NW.js → LLMChat-CZTQUh53.js} +2 -2
  13. package/dist/{LLMConnectionList-cXc3m9rK.js → LLMConnectionList-BkvCZP5Q.js} +1 -1
  14. package/dist/{LLMView-DzEvz9u4.js → LLMView-CaTlmLGb.js} +2 -2
  15. package/dist/{MobileIDE-w2cNPXWA.js → MobileIDE-Bi7GNE2X.js} +10 -10
  16. package/dist/{ModelCard-DPtVjIMJ.js → ModelCard-Cd6OxExX.js} +2 -2
  17. package/dist/{ModelCreator-gJ86t8SP.js → ModelCreator-DeI-n86Z.js} +1 -1
  18. package/dist/{ModelView-C5y1IU22.js → ModelView-Surdb5KW.js} +2 -2
  19. package/dist/{ResultComponent-DV46CwMw.js → ResultComponent-CXkTwZFS.js} +1 -1
  20. package/dist/{Sidebar-C6FJOAJk.js → Sidebar-CfOATms_.js} +60 -60
  21. package/dist/{TutorialPage-BF9ao6-m.js → TutorialPage-IisHiPL6.js} +8 -8
  22. package/dist/{UserProfile-DPc9-B3S.js → UserProfile-CQAUnKyQ.js} +1 -1
  23. package/dist/components/dashboard/useDashboard.d.ts.map +1 -1
  24. package/dist/composables/useCrossFilterEligibility.d.ts +18 -0
  25. package/dist/composables/useCrossFilterEligibility.d.ts.map +1 -0
  26. package/dist/composables/useEmbeddedDashboardGroup.d.ts +78 -0
  27. package/dist/composables/useEmbeddedDashboardGroup.d.ts.map +1 -0
  28. package/dist/composables/useResolvedCrossFilterController.d.ts +30 -0
  29. package/dist/composables/useResolvedCrossFilterController.d.ts.map +1 -0
  30. package/dist/dashboard.js +313 -82
  31. package/dist/dashboards/barChartSpec.d.ts +39 -0
  32. package/dist/dashboards/barChartSpec.d.ts.map +1 -1
  33. package/dist/dashboards/crossFilters.d.ts +3 -0
  34. package/dist/dashboards/crossFilters.d.ts.map +1 -1
  35. package/dist/entry.dashboard.d.ts +8 -2
  36. package/dist/entry.dashboard.d.ts.map +1 -1
  37. package/dist/main.d.ts +8 -2
  38. package/dist/main.d.ts.map +1 -1
  39. package/dist/{queryExecutionService-obvMrWcu.js → queryExecutionService-KrjL0UCa.js} +167 -128
  40. package/dist/stores/queryExecutionService.d.ts +9 -0
  41. package/dist/stores/queryExecutionService.d.ts.map +1 -1
  42. package/dist/stores.js +1 -1
  43. package/dist/trilogy-studio-components.css +1 -1
  44. package/dist/{useDashboard-B_MH66Yb.js → useDashboard-CtX3sEag.js} +275 -275
  45. package/dist/views.js +2 -2
  46. 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-obvMrWcu.js";
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 ge, createTextVNode as F, nextTick as ve } from "vue";
2
- import { u as Ce, e as ye, _ as Ie, f as Te, g as ke, C as Me, M as we } from "./useDashboard-B_MH66Yb.js";
3
- import { D as Ee } from "./DashboardCreatorInline-DheLBs4U.js";
4
- import { a as De, g as b } from "./queryExecutionService-obvMrWcu.js";
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(v) {
29
- const p = v, k = De(), i = pe(() => {
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
- } = Ce(
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) => C(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 C(o) {
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
- C(o.i);
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, g;
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(((g = n.chartConfig) == null ? void 0 : g.chartType) || "") && (y = y * 1.2);
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), ve(() => {
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: C,
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
- v.name ? (s(), u(T, { key: 0 }, [
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 "' + ge(v.name) + '" could not be found.', 1)
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 "),