@trilogy-data/trilogy-studio-components 0.1.1 → 0.1.3
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/{ChatCreatorModal-DRiWsXTa.js → ChatCreatorModal-CrRORbVm.js} +1 -1
- package/dist/{Dashboard-FrQXncwr.js → Dashboard-CUPl-At6.js} +3 -3
- package/dist/{DashboardCreatorInline-BWPueAsC.js → DashboardCreatorInline-C5qQWVmy.js} +1 -1
- package/dist/{DashboardMobile-CrdSxf_b.js → DashboardMobile-V9X7-wJV.js} +3 -3
- package/dist/{LLMConnectionList-Bi_k_QnZ.js → LLMConnectionList-CWONtRCY.js} +2 -2
- package/dist/{LLMView-Cd0xUG9K.js → LLMView-BnN9wjXa.js} +1 -1
- package/dist/Manager-C401-7UG.js +4 -0
- package/dist/{ResultComponent-DCc6jQZ8.js → ResultComponent-NZfe-7JE.js} +1 -1
- package/dist/{Sidebar-Bsh1hBHw.js → Sidebar-6cjut4cK.js} +3 -3
- package/dist/{TutorialPage-xAEiXplm.js → TutorialPage-j03hgD_I.js} +4 -4
- package/dist/{WelcomePage-DwDN7wi8.js → WelcomePage-CuLo21YT.js} +1 -1
- package/dist/{cssMode-C0Z7SxAo.js → cssMode-B_BSbR-W.js} +1 -1
- package/dist/dashboards/base.d.ts.map +1 -1
- package/dist/dashboards/helpers.d.ts +1 -1
- package/dist/editors/results.d.ts +7 -1
- package/dist/editors/results.d.ts.map +1 -1
- package/dist/{freemarker2-sj87rhhC.js → freemarker2-Bp8kNjJK.js} +1 -1
- package/dist/{handlebars-BwQH2pI9.js → handlebars-Bvjlp_mg.js} +1 -1
- package/dist/{html-CMSP8uvN.js → html-B7c8qiJo.js} +1 -1
- package/dist/{htmlMode-gjbGipi0.js → htmlMode-C6ZcBYOs.js} +1 -1
- package/dist/{javascript-B-sxKV8D.js → javascript-CHI4MyUe.js} +1 -1
- package/dist/{jsonMode-PqleooUl.js → jsonMode-CT9OdtWR.js} +1 -1
- package/dist/{liquid-sr0Xhq4p.js → liquid-B6QT2GLn.js} +1 -1
- package/dist/llm/chatAgentPrompt.d.ts +12 -0
- package/dist/llm/chatAgentPrompt.d.ts.map +1 -1
- package/dist/llm/data/constants.d.ts +1 -1
- package/dist/llm/data/constants.d.ts.map +1 -1
- package/dist/llm/data/prompts.d.ts +1 -0
- package/dist/llm/data/prompts.d.ts.map +1 -1
- package/dist/{main-CH8RRJ81.js → main-BzF_0455.js} +13828 -13774
- package/dist/main.js +1 -1
- package/dist/main.umd.cjs +418 -415
- package/dist/{mdx-CBgOlXzI.js → mdx-CDJtQyXd.js} +1 -1
- package/dist/{python-D3q4ZmgV.js → python-BtP8pYzo.js} +1 -1
- package/dist/{razor-Bj0eJO1J.js → razor-pQwJpgiM.js} +1 -1
- package/dist/{tsMode-ChlNE32b.js → tsMode-BaWVqjfv.js} +1 -1
- package/dist/{typescript-SL61Fuvv.js → typescript-ChVL7Nc7.js} +1 -1
- package/dist/{useDashboard-DX8XhUDo.js → useDashboard-DW9y_StO.js} +1 -1
- package/dist/{xml-W8dpjYyI.js → xml-CBuY2VW0.js} +1 -1
- package/dist/{yaml-BAWn9f4V.js → yaml-GFIhDEhu.js} +1 -1
- package/package.json +1 -1
- package/dist/Manager-C0e_Cv_E.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as B, inject as L, ref as S, watch as b, computed as c, resolveComponent as U, createElementBlock as d, createCommentVNode as m, openBlock as l, createElementVNode as a, withModifiers as j, createTextVNode as O, withDirectives as h, createBlock as D, Fragment as M, renderList as N, toDisplayString as C, vModelSelect as k, normalizeClass as R, vModelText as E } from "vue";
|
|
2
|
-
import { h as I, K, a as T } from "./main-
|
|
2
|
+
import { h as I, K, a as T } from "./main-BzF_0455.js";
|
|
3
3
|
const z = B({
|
|
4
4
|
name: "ChatCreatorModal",
|
|
5
5
|
components: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as sn, ref as k, provide as Bo, onBeforeUnmount as Vn, onBeforeMount as Lo, onMounted as Kn, nextTick as yt, watch as G, createElementBlock as Pt, openBlock as vt, normalizeStyle as Te, renderSlot as Qn, withDirectives as Ho, createVNode as Bt, vShow as Wo, inject as jo, computed as Lt, useSlots as $o, normalizeClass as yn, createCommentVNode as Ye, getCurrentInstance as Uo, createBlock as xe, unref as _, createElementVNode as He, withCtx as bn, Fragment as xn, renderList as Xo, Teleport as wn, toDisplayString as qo } from "vue";
|
|
2
|
-
import { u as Yo, D as Go, _ as Vo, a as Ko, b as Qo, C as Jo, M as Zo } from "./useDashboard-
|
|
3
|
-
import { D as ti } from "./DashboardCreatorInline-
|
|
4
|
-
import { r as ei, a as ni } from "./main-
|
|
2
|
+
import { u as Yo, D as Go, _ as Vo, a as Ko, b as Qo, C as Jo, M as Zo } from "./useDashboard-DW9y_StO.js";
|
|
3
|
+
import { D as ti } from "./DashboardCreatorInline-C5qQWVmy.js";
|
|
4
|
+
import { r as ei, a as ni } from "./main-BzF_0455.js";
|
|
5
5
|
var oi = Object.defineProperty, ii = (e, t, n) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, f = (e, t, n) => (ii(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
6
6
|
function ri(e) {
|
|
7
7
|
let t = 0, n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject as m, 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 _, Fragment as k, renderList as I, toDisplayString as N, vModelSelect as P } from "vue";
|
|
2
|
-
import { a as V } from "./main-
|
|
2
|
+
import { a as V } from "./main-BzF_0455.js";
|
|
3
3
|
const F = {
|
|
4
4
|
name: "DashboardCreatorInline",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as he, computed as pe, createElementBlock as u, openBlock as d, createVNode as h, createCommentVNode as I, createBlock as R, unref as e, Fragment as k, renderList as be, normalizeStyle as fe, createElementVNode as r, Teleport as x, toDisplayString as ge, createTextVNode as A, nextTick as ve } from "vue";
|
|
2
|
-
import { u as Ce, D as ye, _ as Ie, a as ke, b as we, C as Te, M as Me } from "./useDashboard-
|
|
3
|
-
import { D as De } from "./DashboardCreatorInline-
|
|
4
|
-
import { r as Ee, J as g, a as Se } from "./main-
|
|
2
|
+
import { u as Ce, D as ye, _ as Ie, a as ke, b as we, C as Te, M as Me } from "./useDashboard-DW9y_StO.js";
|
|
3
|
+
import { D as De } from "./DashboardCreatorInline-C5qQWVmy.js";
|
|
4
|
+
import { r as Ee, J as g, a as Se } from "./main-BzF_0455.js";
|
|
5
5
|
const Fe = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "dashboard-mobile-container"
|
|
@@ -2,7 +2,7 @@ var _e = Object.defineProperty;
|
|
|
2
2
|
var Ne = (t, e, o) => e in t ? _e(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
|
|
3
3
|
var ne = (t, e, o) => Ne(t, typeof e != "symbol" ? e + "" : e, o);
|
|
4
4
|
import { defineComponent as ae, ref as C, inject as Y, createElementBlock as l, createCommentVNode as I, openBlock as r, createElementVNode as s, withModifiers as A, withDirectives as _, vModelText as G, vModelSelect as ve, vModelCheckbox as Ie, Fragment as pe, computed as $, createBlock as z, withCtx as q, unref as qe, normalizeClass as me, toDisplayString as j, createTextVNode as de, renderList as fe, resolveComponent as U, createVNode as x, Transition as be, onMounted as Ae, onUnmounted as Ue, normalizeStyle as Oe, watch as ke, vModelDynamic as xe } from "vue";
|
|
5
|
-
import { K as N, a as X, T as Ee, L as Se, l as Be, m as Ye, n as Fe, o as Pe, S as Re, h as Me, e as Le, A as Ge, O as je, p as Ke, G as Qe, g as Ve } from "./main-
|
|
5
|
+
import { K as N, a as X, T as Ee, L as Se, l as Be, m as Ye, n as Fe, o as Pe, S as Re, h as Me, e as Le, A as Ge, O as je, p as Ke, G as Qe, g as Ve } from "./main-BzF_0455.js";
|
|
6
6
|
function He(t, e, o, i) {
|
|
7
7
|
const c = [];
|
|
8
8
|
return Object.values(t).sort((a, d) => a.connected && !d.connected ? -1 : !a.connected && d.connected ? 1 : a.name.localeCompare(d.name)).forEach((a) => {
|
|
@@ -1534,7 +1534,7 @@ order by
|
|
|
1534
1534
|
hints: ["select count(order.id) as order_count;"],
|
|
1535
1535
|
validationFn: (t) => {
|
|
1536
1536
|
var e, o, i;
|
|
1537
|
-
return ((e = t.data) == null ? void 0 : e.length) === 1 && ((i = (o = t.data) == null ? void 0 : o[0]) == null ? void 0 : i.order_count) ===
|
|
1537
|
+
return ((e = t.data) == null ? void 0 : e.length) === 1 && ((i = (o = t.data) == null ? void 0 : o[0]) == null ? void 0 : i.order_count) === 15e3;
|
|
1538
1538
|
}
|
|
1539
1539
|
},
|
|
1540
1540
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as q, inject as R, ref as y, computed as D, watch as M, nextTick as X, onMounted as Z, createElementBlock as u, openBlock as d, createElementVNode as a, createCommentVNode as b, createTextVNode as N, withDirectives as B, Fragment as U, renderList as V, toDisplayString as h, vModelSelect as x, normalizeClass as T, withKeys as ee, withModifiers as te, vModelText as ne, resolveComponent as O, createBlock as j, createVNode as se, withCtx as G } from "vue";
|
|
2
|
-
import { y as A, z as oe, a as Q, B as ae, F as ie, I as re } from "./main-
|
|
2
|
+
import { y as A, z as oe, a as Q, B as ae, F as ie, I as re } from "./main-BzF_0455.js";
|
|
3
3
|
const P = [
|
|
4
4
|
{ name: "id", type: "int" },
|
|
5
5
|
{ name: "quantity", type: "float" },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as g, v as D, H as v, R as y, L as k, w as _, x as w } from "./main-
|
|
1
|
+
import { a as g, v as D, H as v, R as y, L as k, w as _, x as w } from "./main-BzF_0455.js";
|
|
2
2
|
import { resolveComponent as d, createElementBlock as s, openBlock as i, createElementVNode as a, createCommentVNode as L, Fragment as h, renderList as p, normalizeClass as F, createVNode as R, toDisplayString as I, withDirectives as M, vModelText as E, inject as H, createBlock as l } from "vue";
|
|
3
3
|
const S = {
|
|
4
4
|
class: "chat-refinement-container",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { inject as A, ref as g, onMounted as x, computed as G, resolveComponent as D, createBlock as L, openBlock as r, withCtx as k, createElementBlock as y, Fragment as V, renderList as J, createElementVNode as o, createCommentVNode as S, createVNode as N, normalizeClass as U, toDisplayString as K, createTextVNode as H, defineComponent as X, withDirectives as T, vModelText as P, unref as ie, vModelSelect as te, withModifiers as B, watch as le, normalizeStyle as de, vShow as W } from "vue";
|
|
2
|
-
import { S as Y, e as Z, g as q, K as E, a as F, T as Q, L as oe, f as re, u as ne, t as ce, D as ue, h as se, i as ae, j as me, d as ve, k as pe } from "./main-
|
|
3
|
-
import { d as ee, a as be, L as ye, C as he } from "./LLMConnectionList-
|
|
4
|
-
import { D as fe } from "./DashboardCreatorInline-
|
|
2
|
+
import { S as Y, e as Z, g as q, K as E, a as F, T as Q, L as oe, f as re, u as ne, t as ce, D as ue, h as se, i as ae, j as me, d as ve, k as pe } from "./main-BzF_0455.js";
|
|
3
|
+
import { d as ee, a as be, L as ye, C as he } from "./LLMConnectionList-CWONtRCY.js";
|
|
4
|
+
import { D as fe } from "./DashboardCreatorInline-C5qQWVmy.js";
|
|
5
5
|
const ge = {
|
|
6
6
|
name: "DocumentationSidebar",
|
|
7
7
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as Q, ref as E, computed as R, createElementBlock as r, openBlock as i, createElementVNode as n, createCommentVNode as S, toDisplayString as a, Fragment as D, renderList as H, normalizeClass as g, renderSlot as W, inject as f, watch as K, resolveComponent as l, createTextVNode as x, createVNode as C, createBlock as h, withCtx as N } from "vue";
|
|
2
|
-
import { a as T, C as q, E as F, M as z, b as J, c as X, d as Y, L as Z, s as $, K as V } from "./main-
|
|
3
|
-
import { L as tt, C as et, d as A } from "./LLMConnectionList-
|
|
4
|
-
import B from "./ResultComponent-
|
|
5
|
-
import ot from "./Dashboard-
|
|
2
|
+
import { a as T, C as q, E as F, M as z, b as J, c as X, d as Y, L as Z, s as $, K as V } from "./main-BzF_0455.js";
|
|
3
|
+
import { L as tt, C as et, d as A } from "./LLMConnectionList-CWONtRCY.js";
|
|
4
|
+
import B from "./ResultComponent-NZfe-7JE.js";
|
|
5
|
+
import ot from "./Dashboard-CUPl-At6.js";
|
|
6
6
|
const nt = Q({
|
|
7
7
|
name: "FunctionDoc",
|
|
8
8
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as k, inject as g, ref as m, computed as f, createElementBlock as o, openBlock as n, createElementVNode as t, unref as _, Fragment as v, createCommentVNode as c, createTextVNode as l, createVNode as C } from "vue";
|
|
2
|
-
import { k as x, q as T, a as W } from "./main-
|
|
2
|
+
import { k as x, q as T, a as W } from "./main-BzF_0455.js";
|
|
3
3
|
const E = { class: "container" }, N = { class: "content" }, S = { class: "logo" }, V = ["src"], $ = { key: 1 }, D = { class: "buttons" }, I = { key: 0 }, L = { key: 1 }, j = { key: 1 }, q = /* @__PURE__ */ k({
|
|
4
4
|
__name: "WelcomePage",
|
|
5
5
|
emits: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a8 as et } from "./main-
|
|
1
|
+
import { a8 as et } from "./main-BzF_0455.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../dashboards/base.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
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AAE,MAAM,GAAG,IAAI;IAiBzE,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAchC,UAAU,IAAI,IAAI;IASlB,SAAS,IAAI,SAAS;IA6BtB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,SAAS,GAAG,cAAc;CAmBvD"}
|
|
@@ -21,7 +21,7 @@ export interface SelectionConfig {
|
|
|
21
21
|
}
|
|
22
22
|
export declare const columHasTraitEnding: (column: ResultColumn, trait: string) => boolean;
|
|
23
23
|
export declare const filteredColumns: (filter: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all", columns: Map<string, ResultColumn>) => ResultColumn[];
|
|
24
|
-
export declare const determineDefaultConfig: (data: readonly Row[], columns: Map<string, ResultColumn>, chartType?: "line" | "bar" | "barh" | "point" | "
|
|
24
|
+
export declare const determineDefaultConfig: (data: readonly Row[], columns: Map<string, ResultColumn>, chartType?: "line" | "bar" | "barh" | "point" | "geo-map" | "tree" | "area" | "heatmap" | "headline" | "donut") => Partial<ChartConfig>;
|
|
25
25
|
/**
|
|
26
26
|
* Determines which chart types are applicable based on available column types
|
|
27
27
|
* @param data - The dataset rows
|
|
@@ -32,7 +32,7 @@ export interface ResultsInterface {
|
|
|
32
32
|
}
|
|
33
33
|
export type FieldKey = 'xField' | 'yField' | 'colorField' | 'sizeField' | 'geoField' | 'groupField' | 'trellisField' | 'annotationField';
|
|
34
34
|
export type BoolFieldKey = 'hideLegend' | 'showTitle';
|
|
35
|
-
export type chartTypes = 'line' | 'bar' | 'barh' | 'point' | '
|
|
35
|
+
export type chartTypes = 'line' | 'bar' | 'barh' | 'point' | 'geo-map' | 'tree' | 'area' | 'headline' | 'donut' | 'heatmap' | 'boxplot' | 'treemap' | 'beeswarm';
|
|
36
36
|
export interface ChartConfig {
|
|
37
37
|
chartType: chartTypes;
|
|
38
38
|
xField?: string;
|
|
@@ -51,6 +51,12 @@ export interface ChartConfig {
|
|
|
51
51
|
scaleY?: 'linear' | 'log' | 'sqrt';
|
|
52
52
|
linkY2?: boolean;
|
|
53
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Migrates a ChartConfig from older versions to the current schema.
|
|
56
|
+
* Handles renamed chart types (e.g., 'usa-map' -> 'geo-map').
|
|
57
|
+
* Returns a new config object if migration was needed, or the original if not.
|
|
58
|
+
*/
|
|
59
|
+
export declare function migrateChartConfig(config: ChartConfig | undefined | null): ChartConfig | undefined;
|
|
54
60
|
export declare class Results implements ResultsInterface {
|
|
55
61
|
headers: Map<string, ResultColumn>;
|
|
56
62
|
data: readonly Row[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"results.d.ts","sourceRoot":"","sources":["../../editors/results.ts"],"names":[],"mappings":"AAeA,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,SAAS;IAChB,OAAO,QAAQ;IACf,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,OAAO,YAAY;IAGnB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,MAAM,MAAM,GAAG,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAA;AAE/C,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,UAAU,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;IACpC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/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O,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,EAAE,IAAI,EAAE,SAAS,GAAG,EAAE;IAIpE,MAAM,IAAI,MAAM;IAMhB,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,GAAG,OAAO;CAwBnE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a8 as f } from "./main-
|
|
1
|
+
import { a8 as f } from "./main-BzF_0455.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a8 as l } from "./main-
|
|
1
|
+
import { a8 as l } from "./main-BzF_0455.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a8 as s } from "./main-
|
|
1
|
+
import { a8 as s } from "./main-BzF_0455.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a8 as lt } from "./main-
|
|
1
|
+
import { a8 as lt } from "./main-BzF_0455.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
|
1
|
+
import { conf as t, language as e } from "./typescript-ChVL7Nc7.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a8 as Et } from "./main-
|
|
1
|
+
import { a8 as Et } from "./main-BzF_0455.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a8 as l } from "./main-
|
|
1
|
+
import { a8 as l } from "./main-BzF_0455.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
@@ -70,10 +70,18 @@ export declare const CHAT_TOOLS: ({
|
|
|
70
70
|
type: string;
|
|
71
71
|
description: string;
|
|
72
72
|
};
|
|
73
|
+
trellisRowField: {
|
|
74
|
+
type: string;
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
73
77
|
geoField: {
|
|
74
78
|
type: string;
|
|
75
79
|
description: string;
|
|
76
80
|
};
|
|
81
|
+
annotationField: {
|
|
82
|
+
type: string;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
77
85
|
hideLegend: {
|
|
78
86
|
type: string;
|
|
79
87
|
description: string;
|
|
@@ -92,6 +100,10 @@ export declare const CHAT_TOOLS: ({
|
|
|
92
100
|
enum: string[];
|
|
93
101
|
description: string;
|
|
94
102
|
};
|
|
103
|
+
linkY2: {
|
|
104
|
+
type: string;
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
95
107
|
};
|
|
96
108
|
};
|
|
97
109
|
import_name?: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatAgentPrompt.d.ts","sourceRoot":"","sources":["../../llm/chatAgentPrompt.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAEtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"chatAgentPrompt.d.ts","sourceRoot":"","sources":["../../llm/chatAgentPrompt.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAEtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAuB/C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2KtB,CAAA;AAED,MAAM,WAAW,sBAAsB;IACrC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,oBAAoB,EAAE,MAAM,EAAE,CAAA;IAC9B,iBAAiB,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACvC,aAAa,CAAC,EAAE,UAAU,EAAE,CAAA;IAC5B,6BAA6B,CAAC,EAAE,UAAU,EAAE,CAAA;IAC5C,sBAAsB,CAAC,EAAE,OAAO,CAAA;CACjC;AAED,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,CA+DlF;AAGD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC3B;AAID,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,EAAE,CA8CjE;AAGD,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,OAAO,EAChB,MAAM,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GACnE,MAAM,CAMR"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const rulesInput = "\nTrilogy statements define a semantic model or query. If a user is asking for data, they want a SELECT.\nSemantic model statements:\n- import <> imports a model to reuse. The output of imports will be visible in fields available to use.\n- key|property|auto|metric defines fields locally. The output will also be visible in fields available to use, so you generally don't need to edit these unless requested.\n- datasource statements define a datasource, which is a mapping of fields to a SQL database table. The left side is the SQL column name, the right side is the field name.\n\nSELECT RULES:\n- No FROM, JOIN, GROUP BY, SUB SELECTS, DISTINCT, UNION, or SELECT *.\n- All fields exist in a global namespace; field paths look like `order.product.id`. Always use the full path. NEVER include a from clause.\n- If a field has a grain defined, and that grain is not in the query output, aggregate it to get desired result. \n- If a field has a 'alias_for' defined, it is shorthand for that calculation. Use the field name instead of the calculation in your query to be concise. \n- Newly created fields at the output of the select must be aliased with as (e.g. `sum(births) as all_births`). \n- Aliases cannot happen inside calculations or in the where/having/order clause. Never alias fields with existing names. 'sum(revenue) as total_revenue' is valid, but '(sum(births) as total_revenue) +1 as revenue_plus_one' is not.\n- Implicit grouping: NEVER include a group by clause. Grouping is by non-aggregated fields in the SELECT clause.\n- You can dynamically group inline to get groups at different grains - ex: `sum(metric) by dim1, dim2 as sum_by_dim1_dm2` for
|
|
1
|
+
export declare const rulesInput = "\nTrilogy statements define a semantic model or query. If a user is asking for data, they want a SELECT.\nSemantic model statements:\n- import <> imports a model to reuse. The output of imports will be visible in fields available to use.\n- key|property|auto|metric defines fields locally. The output will also be visible in fields available to use, so you generally don't need to edit these unless requested.\n- datasource statements define a datasource, which is a mapping of fields to a SQL database table. The left side is the SQL column name, the right side is the field name.\n\nSELECT RULES:\n- No FROM, JOIN, GROUP BY, SUB SELECTS, DISTINCT, UNION, or SELECT *.\n- All fields exist in a global namespace; field paths look like `order.product.id`. Always use the full path. NEVER include a from clause.\n- If a field has a grain defined, and that grain is not in the query output, aggregate it to get desired result. \n- If a field has a 'alias_for' defined, it is shorthand for that calculation. Use the field name instead of the calculation in your query to be concise. \n- Newly created fields at the output of the select must be aliased with as (e.g. `sum(births) as all_births`). \n- Aliases cannot happen inside calculations or in the where/having/order clause. Never alias fields with existing names. 'sum(revenue) as total_revenue' is valid, but '(sum(births) as total_revenue) +1 as revenue_plus_one' is not.\n- Implicit grouping: NEVER include a group by clause. Grouping is by non-aggregated fields in the SELECT clause.\n- You can dynamically group inline to get groups at different grains - ex: `sum(metric) by dim1, dim2 as sum_by_dim1_dm2` for grouping different from inferred by dimension fields. Aggregate by `*` to get the total regardless of select dimensions.\n- Count must specify a field (no `count(*)`) Counts are automatically deduplicated. Do not ever use DISTINCT.\n- Use a sum/count/avg/max/min over a field to get aggregates at different grains (e.g. `sum(births) over state as state_births`).\n- Since there are no underlying tables, sum/count of a constant should always specify a grain field (e.g. `sum(1) by x as count`). \n- Aggregates in SELECT must be filtered via HAVING. Use WHERE for pre-aggregation filters.\n- Use `field ? condition` for inline filters (e.g. `sum(x ? x > 0)`).\n- Always use a reasonable `LIMIT` for final queries unless the request is for a time series or line chart.\n- Window functions: `rank entity [optional over group] by field desc` (e.g. `rank name over state by sum(births) desc as top_name`) Do not use parentheses for over.\n- Functions. All function names have parenthese (e.g. `sum(births)`, `date_part('year', dep_time)`). For no arguments, use empty parentheses (e.g. `current_date()`).\n- For lag/lead, offset is first: lag/lead offset field order by expr asc/desc.\n- For lag/lead with a window clause: lag/lead offset field by window_clause order by expr asc/desc.\n- Use `::type` casting, e.g., `\"2020-01-01\"::date`.\n- Date_parts have no quotes; use `date_part(order_date, year)` instead of `date_part(order_date, 'year')`. date parts are: year, quarter, month, week, day, day_of_week, hour, minute, second.\n- date_parts can be accessed directly through dot notation, e.g., `order_date.year`.\n- Comments use `#` only, per line.\n- Use `--` before a field in a select to hide it from output. This is useful for having a field available for filtering without returning it when making charts, for example. Hidden fields are still available for use in WHERE, HAVING, ORDER BY, and calculations.\n- Two example queries: \"where year between 1940 and 1950\n select\n name,\n state,\n sum(births) by * as all_births_no_dims,\n sum(births) AS births_by_name_state,\n sum(births ? state = 'VT') AS vermont_births,\n rank name over state by all_births desc AS state_rank,\n rank name by sum(births) by name desc AS all_rank,\n -- sum(births ? state = 'MA') as hidden_mass_births\n having \n all_rank<11\n and state = 'ID'\n order by \n all_rank asc\n limit 5;\", \"where dep_time between '2002-01-01'::datetime and '2010-01-31'::datetime\n select\n carrier.name,\n count(id2) AS total_flights,\n total_flights / date_diff(min(dep_time.date), max(dep_time.date), DAY) AS average_daily_flights\n order by \n total_flights desc;\n \"";
|
|
2
2
|
export declare const aggFunctions: string[];
|
|
3
3
|
export declare const functions: string[];
|
|
4
4
|
export declare const datatypes: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../llm/data/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../llm/data/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,0yIAqDnB,CAAA;AAEJ,eAAO,MAAM,YAAY,UASxB,CAAA;AACD,eAAO,MAAM,SAAS,UAqFrB,CAAA;AAED,eAAO,MAAM,SAAS,UAoBrB,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ModelConceptInput } from './models';
|
|
2
|
+
export declare function filterDatePartConcepts(concepts: ModelConceptInput[]): ModelConceptInput[];
|
|
2
3
|
export declare const leadIn: string;
|
|
3
4
|
export declare function conceptsToFieldPrompt(conceptInputs: ModelConceptInput[]): string;
|
|
4
5
|
export declare function createPrompt(query: string, conceptInputs: ModelConceptInput[]): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../llm/data/prompts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../llm/data/prompts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAejD,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,iBAAiB,EAAE,GAAG,iBAAiB,EAAE,CAIzF;AAED,eAAO,MAAM,MAAM,QAelB,CAAA;AAGD,wBAAgB,qBAAqB,CAAC,aAAa,EAAE,iBAAiB,EAAE,UAOvE;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,iBAAiB,EAAE,UAG7E;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,iBAAiB,EAAE,UAGnF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,iBAAiB,EAAE,UAGtF"}
|