@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
|
@@ -296,7 +296,7 @@ var Se = /* @__PURE__ */ new Map(), y = class e extends me {
|
|
|
296
296
|
second: l,
|
|
297
297
|
millisecond: 0
|
|
298
298
|
}), d = +t, f = d % 1e3;
|
|
299
|
-
return d -= f >= 0 ? f : 1e3 + f, (u - d) /
|
|
299
|
+
return d -= f >= 0 ? f : 1e3 + f, (u - d) / 6e4;
|
|
300
300
|
}
|
|
301
301
|
equals(e) {
|
|
302
302
|
return e.type === "iana" && e.name === this.name;
|
|
@@ -408,7 +408,8 @@ var Ue = class {
|
|
|
408
408
|
if (this.inf) {
|
|
409
409
|
let t = this.floor ? Math.floor(e) : e;
|
|
410
410
|
return this.inf.format(t);
|
|
411
|
-
}
|
|
411
|
+
}
|
|
412
|
+
return j(this.floor ? Math.floor(e) : Ft(e, 3), this.padTo);
|
|
412
413
|
}
|
|
413
414
|
}, We = class {
|
|
414
415
|
constructor(e, t, n) {
|
|
@@ -437,7 +438,8 @@ var Ue = class {
|
|
|
437
438
|
...e,
|
|
438
439
|
value: t
|
|
439
440
|
};
|
|
440
|
-
}
|
|
441
|
+
}
|
|
442
|
+
return e;
|
|
441
443
|
}) : e;
|
|
442
444
|
}
|
|
443
445
|
resolvedOptions() {
|
|
@@ -666,9 +668,8 @@ function S(e, t) {
|
|
|
666
668
|
if (Tt(e)) {
|
|
667
669
|
let n = e.toLowerCase();
|
|
668
670
|
return n === "default" ? t : n === "local" || n === "system" ? ge.instance : n === "utc" || n === "gmt" ? x.utcInstance : x.parseSpecifier(n) || y.create(e);
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
else return new Je(e);
|
|
671
|
+
}
|
|
672
|
+
return O(e) ? x.instance(e) : typeof e == "object" && "offset" in e && typeof e.offset == "function" ? e : new Je(e);
|
|
672
673
|
}
|
|
673
674
|
var Ye = {
|
|
674
675
|
arab: "[٠-٩]",
|
|
@@ -726,7 +727,8 @@ function Qe(e) {
|
|
|
726
727
|
}
|
|
727
728
|
}
|
|
728
729
|
return parseInt(t, 10);
|
|
729
|
-
}
|
|
730
|
+
}
|
|
731
|
+
return t;
|
|
730
732
|
}
|
|
731
733
|
var $e = /* @__PURE__ */ new Map();
|
|
732
734
|
function et() {
|
|
@@ -890,7 +892,8 @@ function yt(e, t) {
|
|
|
890
892
|
minDaysInFirstWeek: t.getMinDaysInFirstWeek(),
|
|
891
893
|
startOfWeek: t.getStartOfWeek()
|
|
892
894
|
};
|
|
893
|
-
}
|
|
895
|
+
}
|
|
896
|
+
return {
|
|
894
897
|
minDaysInFirstWeek: 4,
|
|
895
898
|
startOfWeek: 1
|
|
896
899
|
};
|
|
@@ -1460,7 +1463,8 @@ var fn = {
|
|
|
1460
1463
|
if (a) {
|
|
1461
1464
|
let i = t.isNegativeDuration && a !== t.largestUnit ? r : 1, o;
|
|
1462
1465
|
return o = this.opts.signMode === "negativeLargestOnly" && a !== t.largestUnit ? "never" : this.opts.signMode === "all" ? "always" : "auto", this.num(e.get(a) * i, n.length, o);
|
|
1463
|
-
}
|
|
1466
|
+
}
|
|
1467
|
+
return n;
|
|
1464
1468
|
}, o = e.parseFormat(n), s = o.reduce((e, { literal: t, val: n }) => t ? e : e.concat(n), []), c = t.shiftTo(...s.map(i).filter((e) => e));
|
|
1465
1469
|
return dn(o, a(c, {
|
|
1466
1470
|
isNegativeDuration: c < 0,
|
|
@@ -1499,8 +1503,8 @@ function B(e, ...t) {
|
|
|
1499
1503
|
}
|
|
1500
1504
|
function mn(...e) {
|
|
1501
1505
|
return (t, n) => {
|
|
1502
|
-
let r = {}, i;
|
|
1503
|
-
for (
|
|
1506
|
+
let r = {}, i = 0;
|
|
1507
|
+
for (; i < e.length; i++) r[e[i]] = M(t[n + i]);
|
|
1504
1508
|
return [
|
|
1505
1509
|
r,
|
|
1506
1510
|
null,
|
|
@@ -1629,23 +1633,23 @@ var cr = "Invalid Duration", lr = {
|
|
|
1629
1633
|
days: 7,
|
|
1630
1634
|
hours: 168,
|
|
1631
1635
|
minutes: 10080,
|
|
1632
|
-
seconds:
|
|
1633
|
-
milliseconds:
|
|
1636
|
+
seconds: 604800,
|
|
1637
|
+
milliseconds: 6048e5
|
|
1634
1638
|
},
|
|
1635
1639
|
days: {
|
|
1636
1640
|
hours: 24,
|
|
1637
1641
|
minutes: 1440,
|
|
1638
|
-
seconds:
|
|
1639
|
-
milliseconds:
|
|
1642
|
+
seconds: 86400,
|
|
1643
|
+
milliseconds: 864e5
|
|
1640
1644
|
},
|
|
1641
1645
|
hours: {
|
|
1642
1646
|
minutes: 60,
|
|
1643
1647
|
seconds: 3600,
|
|
1644
|
-
milliseconds:
|
|
1648
|
+
milliseconds: 36e5
|
|
1645
1649
|
},
|
|
1646
1650
|
minutes: {
|
|
1647
1651
|
seconds: 60,
|
|
1648
|
-
milliseconds:
|
|
1652
|
+
milliseconds: 6e4
|
|
1649
1653
|
},
|
|
1650
1654
|
seconds: { milliseconds: 1e3 }
|
|
1651
1655
|
}, ur = {
|
|
@@ -1654,27 +1658,27 @@ var cr = "Invalid Duration", lr = {
|
|
|
1654
1658
|
months: 12,
|
|
1655
1659
|
weeks: 52,
|
|
1656
1660
|
days: 365,
|
|
1657
|
-
hours:
|
|
1658
|
-
minutes:
|
|
1659
|
-
seconds:
|
|
1660
|
-
milliseconds:
|
|
1661
|
+
hours: 8760,
|
|
1662
|
+
minutes: 525600,
|
|
1663
|
+
seconds: 31536e3,
|
|
1664
|
+
milliseconds: 31536e6
|
|
1661
1665
|
},
|
|
1662
1666
|
quarters: {
|
|
1663
1667
|
months: 3,
|
|
1664
1668
|
weeks: 13,
|
|
1665
1669
|
days: 91,
|
|
1666
1670
|
hours: 2184,
|
|
1667
|
-
minutes:
|
|
1668
|
-
seconds:
|
|
1669
|
-
milliseconds:
|
|
1671
|
+
minutes: 131040,
|
|
1672
|
+
seconds: 7862400,
|
|
1673
|
+
milliseconds: 78624e5
|
|
1670
1674
|
},
|
|
1671
1675
|
months: {
|
|
1672
1676
|
weeks: 4,
|
|
1673
1677
|
days: 30,
|
|
1674
1678
|
hours: 720,
|
|
1675
|
-
minutes:
|
|
1676
|
-
seconds:
|
|
1677
|
-
milliseconds:
|
|
1679
|
+
minutes: 43200,
|
|
1680
|
+
seconds: 2592e3,
|
|
1681
|
+
milliseconds: 2592e6
|
|
1678
1682
|
},
|
|
1679
1683
|
...lr
|
|
1680
1684
|
}, U = 146097 / 400, W = 146097 / 4800, dr = {
|
|
@@ -2453,7 +2457,8 @@ function Pr(e, t, n) {
|
|
|
2453
2457
|
!a.literal && a.token && (e[a.token.val[0]] = a.deser(r.slice(t, t + o))), t += o;
|
|
2454
2458
|
}
|
|
2455
2459
|
return [r, e];
|
|
2456
|
-
}
|
|
2460
|
+
}
|
|
2461
|
+
return [r, {}];
|
|
2457
2462
|
}
|
|
2458
2463
|
function Fr(e) {
|
|
2459
2464
|
let t = (e) => {
|
|
@@ -2522,7 +2527,8 @@ var Br = class {
|
|
|
2522
2527
|
zone: a,
|
|
2523
2528
|
specificOffset: o
|
|
2524
2529
|
};
|
|
2525
|
-
}
|
|
2530
|
+
}
|
|
2531
|
+
return {
|
|
2526
2532
|
input: e,
|
|
2527
2533
|
tokens: this.tokens,
|
|
2528
2534
|
invalidReason: this.invalidReason
|
|
@@ -2631,7 +2637,8 @@ function Q(e, t, n, r, i, a) {
|
|
|
2631
2637
|
specificOffset: a
|
|
2632
2638
|
});
|
|
2633
2639
|
return o ? i : i.setZone(s);
|
|
2634
|
-
}
|
|
2640
|
+
}
|
|
2641
|
+
return $.invalid(new T("unparsable", `the input "${i}" can't be parsed as ${r}`));
|
|
2635
2642
|
}
|
|
2636
2643
|
function $r(e, t, n = !0) {
|
|
2637
2644
|
return e.isValid ? L.create(b.create("en-US"), {
|
|
@@ -2795,10 +2802,12 @@ var mi, hi = /* @__PURE__ */ new Map(), $ = class e {
|
|
|
2795
2802
|
let t = e.zone || w.defaultZone, n = e.invalid || (Number.isNaN(e.ts) ? new T("invalid input") : null) || (t.isValid ? null : Kr(t));
|
|
2796
2803
|
this.ts = D(e.ts) ? w.now() : e.ts;
|
|
2797
2804
|
let r = null, i = null;
|
|
2798
|
-
if (!n)
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2805
|
+
if (!n) {
|
|
2806
|
+
if (e.old && e.old.ts === this.ts && e.old.zone.equals(t)) [r, i] = [e.old.c, e.old.o];
|
|
2807
|
+
else {
|
|
2808
|
+
let a = O(e.o) && !e.old ? e.o : t.offset(this.ts);
|
|
2809
|
+
r = Xr(this.ts, a), n = Number.isNaN(r.year) ? new T("invalid input") : null, r = n ? null : r, i = n ? null : a;
|
|
2810
|
+
}
|
|
2802
2811
|
}
|
|
2803
2812
|
this._zone = t, this.loc = e.loc || b.create(), this.invalid = n, this.weekData = null, this.localWeekData = null, this.c = r, this.o = i, this.isLuxonDateTime = !0;
|
|
2804
2813
|
}
|
|
@@ -2867,7 +2876,7 @@ var mi, hi = /* @__PURE__ */ new Map(), $ = class e {
|
|
|
2867
2876
|
let ne = !1;
|
|
2868
2877
|
for (let e of h) {
|
|
2869
2878
|
let t = o[e];
|
|
2870
|
-
D(t) ?
|
|
2879
|
+
D(t) ? o[e] = ne ? g[e] : _[e] : ne = !0;
|
|
2871
2880
|
}
|
|
2872
2881
|
let re = (te ? bt(o, s, c) : d ? xt(o) : St(o)) || Ct(o);
|
|
2873
2882
|
if (re) return e.invalid(re);
|
|
@@ -3085,7 +3094,8 @@ var mi, hi = /* @__PURE__ */ new Map(), $ = class e {
|
|
|
3085
3094
|
ts: e,
|
|
3086
3095
|
zone: t
|
|
3087
3096
|
});
|
|
3088
|
-
}
|
|
3097
|
+
}
|
|
3098
|
+
return e.invalid(Kr(t));
|
|
3089
3099
|
}
|
|
3090
3100
|
reconfigure({ locale: e, numberingSystem: t, outputCalendar: n } = {}) {
|
|
3091
3101
|
let r = this.loc.clone({
|
|
@@ -3141,14 +3151,14 @@ var mi, hi = /* @__PURE__ */ new Map(), $ = class e {
|
|
|
3141
3151
|
case "days": n.hour = 0;
|
|
3142
3152
|
case "hours": n.minute = 0;
|
|
3143
3153
|
case "minutes": n.second = 0;
|
|
3144
|
-
case "seconds":
|
|
3145
|
-
|
|
3146
|
-
|
|
3154
|
+
case "seconds": n.millisecond = 0;
|
|
3155
|
+
}
|
|
3156
|
+
if (r === "weeks") {
|
|
3157
|
+
if (t) {
|
|
3158
|
+
let e = this.loc.getStartOfWeek(), { weekday: t } = this;
|
|
3159
|
+
t < e && (n.weekNumber = this.weekNumber - 1), n.weekday = e;
|
|
3160
|
+
} else n.weekday = 1;
|
|
3147
3161
|
}
|
|
3148
|
-
if (r === "weeks") if (t) {
|
|
3149
|
-
let e = this.loc.getStartOfWeek(), { weekday: t } = this;
|
|
3150
|
-
t < e && (n.weekNumber = this.weekNumber - 1), n.weekday = e;
|
|
3151
|
-
} else n.weekday = 1;
|
|
3152
3162
|
return r === "quarters" && (n.month = (Math.ceil(this.month / 3) - 1) * 3 + 1), this.set(n);
|
|
3153
3163
|
}
|
|
3154
3164
|
endOf(e, t) {
|
|
@@ -3468,8 +3478,169 @@ var Ei = class e {
|
|
|
3468
3478
|
}), t;
|
|
3469
3479
|
});
|
|
3470
3480
|
return new e(r, t);
|
|
3471
|
-
}
|
|
3481
|
+
}
|
|
3482
|
+
return new e(r, []);
|
|
3483
|
+
}
|
|
3484
|
+
}, Di = /* @__PURE__ */ function(e) {
|
|
3485
|
+
return e.TABLE = "table", e.VIEW = "view", e;
|
|
3486
|
+
}({}), Oi = class {
|
|
3487
|
+
name;
|
|
3488
|
+
type;
|
|
3489
|
+
trilogyType;
|
|
3490
|
+
nullable;
|
|
3491
|
+
primary;
|
|
3492
|
+
unique;
|
|
3493
|
+
default;
|
|
3494
|
+
autoincrement;
|
|
3495
|
+
description = null;
|
|
3496
|
+
constructor(e, t, n, r, i, a, o, s, c = null) {
|
|
3497
|
+
this.name = e, this.type = t, this.trilogyType = n, this.nullable = r, this.primary = i, this.unique = a, this.default = o, this.autoincrement = s, this.description = c;
|
|
3498
|
+
}
|
|
3499
|
+
}, ki = class {
|
|
3500
|
+
name;
|
|
3501
|
+
schema;
|
|
3502
|
+
database;
|
|
3503
|
+
columns;
|
|
3504
|
+
description = null;
|
|
3505
|
+
assetType = "table";
|
|
3506
|
+
constructor(e, t, n, r, i = null, a = "table") {
|
|
3507
|
+
this.name = e, this.columns = r, this.description = i, this.assetType = a, this.schema = t, this.database = n;
|
|
3508
|
+
}
|
|
3509
|
+
}, Ai = class {
|
|
3510
|
+
name;
|
|
3511
|
+
tables;
|
|
3512
|
+
database;
|
|
3513
|
+
description = null;
|
|
3514
|
+
constructor(e, t, n, r = null) {
|
|
3515
|
+
this.name = e, this.tables = t, this.database = n, this.description = r;
|
|
3516
|
+
}
|
|
3517
|
+
}, ji = class {
|
|
3518
|
+
name;
|
|
3519
|
+
schemas;
|
|
3520
|
+
constructor(e, t) {
|
|
3521
|
+
this.name = e, this.schemas = t;
|
|
3522
|
+
}
|
|
3523
|
+
};
|
|
3524
|
+
function Mi(e) {
|
|
3525
|
+
return e.storage === "remote" ? `remote:${e.remoteStoreId || "unknown"}:${e.name}` : `local:${e.name}`;
|
|
3526
|
+
}
|
|
3527
|
+
var Ni = class {
|
|
3528
|
+
id;
|
|
3529
|
+
name;
|
|
3530
|
+
type;
|
|
3531
|
+
storage;
|
|
3532
|
+
model = null;
|
|
3533
|
+
connected;
|
|
3534
|
+
error = null;
|
|
3535
|
+
query_type = "abstract";
|
|
3536
|
+
running = !1;
|
|
3537
|
+
databases = null;
|
|
3538
|
+
secureFields = [];
|
|
3539
|
+
saveCredential = !1;
|
|
3540
|
+
initialPollingIntervalMs = 1e3;
|
|
3541
|
+
maxPollingIntervalMs = 6e4;
|
|
3542
|
+
maxTotalWaitTimeMs = 36e5;
|
|
3543
|
+
backoffFactor = 1.5;
|
|
3544
|
+
changed = !1;
|
|
3545
|
+
deleted = !1;
|
|
3546
|
+
hasSchema = !0;
|
|
3547
|
+
constructor(e, t, n = !0, r, i = !1) {
|
|
3548
|
+
this.name = e, this.type = t, this.model = r || null, this.storage = "local", this.id = Mi({
|
|
3549
|
+
name: e,
|
|
3550
|
+
storage: this.storage
|
|
3551
|
+
}), this.query_type = "abstract", this.saveCredential = i, this.connected = !1, n && this.connect().then((e) => {
|
|
3552
|
+
e && (this.connected = !0);
|
|
3553
|
+
}).catch((e) => {
|
|
3554
|
+
throw e instanceof Error && (this.error = e.message), e;
|
|
3555
|
+
}), this.secureFields = [], this.changed = !1;
|
|
3556
|
+
}
|
|
3557
|
+
setAttribute(e, t) {
|
|
3558
|
+
if (!(e in this)) throw Error(`Attribute "${e}" does not exist on BaseConnection.`);
|
|
3559
|
+
this[e] !== t && (this.changed = !0, this[e] = t, (e === "name" || e === "storage" || e === "remoteStoreId") && this.recomputeId());
|
|
3560
|
+
}
|
|
3561
|
+
recomputeId() {
|
|
3562
|
+
let e = this.remoteStoreId;
|
|
3563
|
+
this.id = Mi({
|
|
3564
|
+
name: this.name,
|
|
3565
|
+
storage: this.storage,
|
|
3566
|
+
remoteStoreId: e
|
|
3567
|
+
});
|
|
3568
|
+
}
|
|
3569
|
+
getSecret() {
|
|
3570
|
+
return null;
|
|
3571
|
+
}
|
|
3572
|
+
delete() {
|
|
3573
|
+
this.deleted = !0, this.changed = !0;
|
|
3574
|
+
}
|
|
3575
|
+
setSecret(e) {}
|
|
3576
|
+
getSecretName() {
|
|
3577
|
+
return `trilogy-connection-${this.type}-${this.name}`;
|
|
3578
|
+
}
|
|
3579
|
+
listRegisteredFiles() {
|
|
3580
|
+
return [];
|
|
3581
|
+
}
|
|
3582
|
+
async refreshDatabase(e) {
|
|
3583
|
+
let t = this.databases?.find((t) => t.name === e), n = await this.getSchemas(e);
|
|
3584
|
+
return t ? (t.schemas = n, n) : null;
|
|
3585
|
+
}
|
|
3586
|
+
async refreshSchema(e, t) {
|
|
3587
|
+
let n = this.databases?.find((t) => t.name === e);
|
|
3588
|
+
n || (n = new ji(e, []), this.databases?.push(n));
|
|
3589
|
+
let r = await this.getSchemas(e), i = r.find((e) => e.name === t);
|
|
3590
|
+
i || (i = new Ai(t, [], e), r.push(i));
|
|
3591
|
+
let a = await this.getTables(e, t);
|
|
3592
|
+
return n ? (n.schemas = r, i.tables = a.filter((e) => e.schema === t), i) : null;
|
|
3593
|
+
}
|
|
3594
|
+
async refreshColumns(e, t, n) {
|
|
3595
|
+
let r = this.getLocalTable(e, t, n);
|
|
3596
|
+
if (!r && (r = await this.getTable(e, n, t), !r)) throw Error(`Table ${n} not found in schema ${t} of database ${e}.`);
|
|
3597
|
+
let i = await this.getColumns(e, t, r?.name || "");
|
|
3598
|
+
return r.columns = i, i;
|
|
3599
|
+
}
|
|
3600
|
+
async getTableSample(e, t, n, r = 100) {
|
|
3601
|
+
let i = n;
|
|
3602
|
+
t && t !== e && (i = `${t}.${i}`), e && (i = `${e}.${i}`);
|
|
3603
|
+
let a = `SELECT * FROM ${i} LIMIT ${r}`;
|
|
3604
|
+
return this.query(a);
|
|
3605
|
+
}
|
|
3606
|
+
getLocalTable(e, t, n) {
|
|
3607
|
+
if (!this.databases) return null;
|
|
3608
|
+
let r = this.databases.find((t) => t.name === e);
|
|
3609
|
+
return !r || !r.schemas ? null : r.schemas.find((e) => e.name === t)?.tables.find((e) => e.name === n) || null;
|
|
3610
|
+
}
|
|
3611
|
+
replaceEscapedStrings(e) {
|
|
3612
|
+
return e.replace(/* @__PURE__ */ RegExp("!`", "g"), "''");
|
|
3613
|
+
}
|
|
3614
|
+
async runScript(e) {
|
|
3615
|
+
await this.query(e);
|
|
3616
|
+
}
|
|
3617
|
+
async query(e, t = null, n = null) {
|
|
3618
|
+
if (!e) throw Error("Query is empty.");
|
|
3619
|
+
if (!this.connected) throw console.error(`Cannot execute query. ${this.name} is not connected.`), Error("Connection not established.");
|
|
3620
|
+
this.running = !0;
|
|
3621
|
+
try {
|
|
3622
|
+
let r = await this.query_core(this.replaceEscapedStrings(e), t, n);
|
|
3623
|
+
return this.running = !1, r;
|
|
3624
|
+
} catch (e) {
|
|
3625
|
+
throw this.running = !1, e;
|
|
3626
|
+
}
|
|
3627
|
+
}
|
|
3628
|
+
setModel(e) {
|
|
3629
|
+
this.setAttribute("model", e);
|
|
3630
|
+
}
|
|
3631
|
+
async reset() {
|
|
3632
|
+
try {
|
|
3633
|
+
this.connected = !1, this.error = null, await this.connect(), this.connected = !0;
|
|
3634
|
+
} catch (e) {
|
|
3635
|
+
throw e instanceof Error && (this.error = e.message), e;
|
|
3636
|
+
}
|
|
3637
|
+
}
|
|
3638
|
+
async setError(e) {
|
|
3639
|
+
this.error = e, this.connected = !1;
|
|
3640
|
+
}
|
|
3641
|
+
static fromJSON(e) {
|
|
3642
|
+
throw Error("Method not implemented.");
|
|
3472
3643
|
}
|
|
3473
3644
|
};
|
|
3474
3645
|
//#endregion
|
|
3475
|
-
export {
|
|
3646
|
+
export { Ai as a, xi as c, Ci as d, Ti as f, $ as g, vi as h, ji as i, Si as l, yi as m, Ni as n, ki as o, bi as p, Oi as r, Mi as s, Di as t, Ei as u };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
//# sourceMappingURL=FeedbackBanner.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackBanner.vue.d.ts","sourceRoot":"","sources":["../../components/FeedbackBanner.vue"],"names":[],"mappings":"AA2JA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<{
|
|
4
|
+
connection: string;
|
|
5
|
+
title: string;
|
|
6
|
+
}, {
|
|
7
|
+
createDashboard: () => void;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
9
|
+
connection: string;
|
|
10
|
+
title: string;
|
|
11
|
+
}> & Readonly<{}>, {
|
|
12
|
+
title: string;
|
|
13
|
+
}, {}, {
|
|
14
|
+
Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
15
|
+
content: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
position: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
inline: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
}>, {}, {
|
|
28
|
+
visible: boolean;
|
|
29
|
+
hoverTimeout: ReturnType<typeof setTimeout> | null;
|
|
30
|
+
tooltipStyle: Record<string, string>;
|
|
31
|
+
}, {}, {
|
|
32
|
+
onMouseEnter(): Promise<void>;
|
|
33
|
+
onMouseLeave(): void;
|
|
34
|
+
computePosition(): void;
|
|
35
|
+
clampToViewport(): void;
|
|
36
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
content: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
position: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
inline: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
position: string;
|
|
51
|
+
inline: boolean;
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
54
|
+
//# sourceMappingURL=DashboardCreatorIcon.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardCreatorIcon.vue.d.ts","sourceRoot":"","sources":["../../../components/dashboard/DashboardCreatorIcon.vue"],"names":[],"mappings":"wBAuFqB,OAAO,YAAY;AAAxC,wBAAyC;AA8CzC,QAAA,MAAM,YAAY;gBAeW,MAAM;WAAS,MAAM;;;;gBAArB,MAAM;WAAS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oEA2BhD,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Provenance } from '../../dashboards/provenance';
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
provenance: {
|
|
7
|
+
type: PropType<Provenance>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
initiallyOpen: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}>, {
|
|
15
|
+
formattedFreshness: import('vue').ComputedRef<string>;
|
|
16
|
+
hasParameters: import('vue').ComputedRef<boolean>;
|
|
17
|
+
formattedParameters: import('vue').ComputedRef<string>;
|
|
18
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
provenance: {
|
|
20
|
+
type: PropType<Provenance>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
initiallyOpen: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
initiallyOpen: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
//# sourceMappingURL=DashboardProvenance.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardProvenance.vue.d.ts","sourceRoot":"","sources":["../../../components/dashboard/DashboardProvenance.vue"],"names":[],"mappings":"AA6OA,OAAO,EAA6B,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;wBAExC,OAAO,YAAY;AAAxC,wBAAyC;AAwKzC,QAAA,MAAM,YAAY;;cAII,QAAQ,CAAC,UAAU,CAAC;;;;;;;;;;;;;cAApB,QAAQ,CAAC,UAAU,CAAC;;;;;;;;;4EAuBxC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface ReportLayoutProps {
|
|
2
|
+
/** Dashboard id (matches the `name` prop of Dashboard.vue for symmetry). */
|
|
3
|
+
name: string;
|
|
4
|
+
connectionId?: string;
|
|
5
|
+
viewMode?: boolean;
|
|
6
|
+
/** The host app surfaces the report's agent conversation in its own chat
|
|
7
|
+
* UI (reading the shared chatStore record). Suppresses the embedded chat
|
|
8
|
+
* sidebar and toggle; the agent engine still runs headless so queued
|
|
9
|
+
* briefs and CTA submissions execute exactly as in embedded mode. */
|
|
10
|
+
externalChat?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const __VLS_export: import('vue').DefineComponent<ReportLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
fullScreen: (enabled: boolean) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<ReportLayoutProps> & Readonly<{
|
|
15
|
+
onFullScreen?: ((enabled: boolean) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=ReportLayout.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportLayout.vue.d.ts","sourceRoot":"","sources":["../../../components/dashboard/ReportLayout.vue"],"names":[],"mappings":"AAs1BA,UAAU,iBAAiB;IACzB,4EAA4E;IAC5E,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;0EAGsE;IACtE,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAk2BD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -978,9 +978,9 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
978
978
|
getEditorText: (fallback: string) => string;
|
|
979
979
|
getEditorRange: () => import('monaco-editor').IRange | null;
|
|
980
980
|
setValue: (value: string) => void;
|
|
981
|
-
executeEdits: (source: string, edits: import(
|
|
982
|
-
getEditorInstance: () => import(
|
|
983
|
-
setModelMarkers: (markers: import(
|
|
981
|
+
executeEdits: (source: string, edits: import('monaco-editor').editor.IIdentifiedSingleEditOperation[]) => void;
|
|
982
|
+
getEditorInstance: () => import('monaco-editor').editor.IStandaloneCodeEditor | undefined;
|
|
983
|
+
setModelMarkers: (markers: import('monaco-editor').editor.IMarkerData[]) => void;
|
|
984
984
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("format-query" | "save" | "contents-change" | "run-query" | "validate-query" | "scroll-change" | "generate-llm-query" | "go-to-definition-requested")[], "format-query" | "save" | "contents-change" | "run-query" | "validate-query" | "scroll-change" | "generate-llm-query" | "go-to-definition-requested", import('vue').PublicProps, Readonly<{
|
|
985
985
|
editorId: string;
|
|
986
986
|
context: string;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
connection: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
type: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
content: {
|
|
13
|
+
type: FunctionConstructor;
|
|
14
|
+
default: () => string;
|
|
15
|
+
};
|
|
16
|
+
icon: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
title: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
root: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
}>, {
|
|
29
|
+
createNewEditor: () => Promise<void>;
|
|
30
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
connection: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
type: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
content: {
|
|
40
|
+
type: FunctionConstructor;
|
|
41
|
+
default: () => string;
|
|
42
|
+
};
|
|
43
|
+
icon: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
title: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
root: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{}>, {
|
|
56
|
+
title: string;
|
|
57
|
+
type: string;
|
|
58
|
+
content: Function;
|
|
59
|
+
root: string;
|
|
60
|
+
icon: string;
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
62
|
+
//# sourceMappingURL=EditorCreatorIcon.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorCreatorIcon.vue.d.ts","sourceRoot":"","sources":["../../../components/editor/EditorCreatorIcon.vue"],"names":[],"mappings":"wBAyHqB,OAAO,YAAY;AAAxC,wBAAyC;AA+BzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAsEhB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
interface Column {
|
|
3
|
+
name: string;
|
|
4
|
+
datatype: string;
|
|
5
|
+
purpose: string;
|
|
6
|
+
traits: string | null;
|
|
7
|
+
description: string | null;
|
|
8
|
+
}
|
|
9
|
+
interface TestResult {
|
|
10
|
+
check_type: string;
|
|
11
|
+
expected: string | null;
|
|
12
|
+
result: string | null;
|
|
13
|
+
ran: boolean;
|
|
14
|
+
query: string;
|
|
15
|
+
}
|
|
16
|
+
interface TestData {
|
|
17
|
+
generated_sql: string;
|
|
18
|
+
columns: Column[];
|
|
19
|
+
generated_output: TestResult[];
|
|
20
|
+
error: string | null;
|
|
21
|
+
label: string;
|
|
22
|
+
}
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
26
|
+
testData: {
|
|
27
|
+
type: PropType<TestData>;
|
|
28
|
+
required: true;
|
|
29
|
+
default: TestData;
|
|
30
|
+
};
|
|
31
|
+
}>, {
|
|
32
|
+
isRunningTests: import('vue').Ref<boolean, boolean>;
|
|
33
|
+
allTestsPassed: import('vue').ComputedRef<boolean>;
|
|
34
|
+
getTestDisplayName: (test: TestResult) => string;
|
|
35
|
+
getTestStatusClass: (test: TestResult) => string;
|
|
36
|
+
getStatusText: (test: TestResult) => string;
|
|
37
|
+
getStatusTextClass: (test: TestResult) => string;
|
|
38
|
+
formatQuery: (query: string) => string;
|
|
39
|
+
runSingleTest: (index: number) => Promise<void>;
|
|
40
|
+
runAllTests: () => Promise<void>;
|
|
41
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
42
|
+
testData: {
|
|
43
|
+
type: PropType<TestData>;
|
|
44
|
+
required: true;
|
|
45
|
+
default: TestData;
|
|
46
|
+
};
|
|
47
|
+
}>> & Readonly<{}>, {
|
|
48
|
+
testData: TestData;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
//# sourceMappingURL=ValidationComponent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValidationComponent.vue.d.ts","sourceRoot":"","sources":["../../../components/editor/ValidationComponent.vue"],"names":[],"mappings":"AAunBA,OAAO,EAAkC,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnE,UAAU,MAAM;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAED,UAAU,UAAU;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,GAAG,EAAE,OAAO,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd;AAED,UAAU,QAAQ;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,gBAAgB,EAAE,UAAU,EAAE,CAAA;IAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;CACd;wBA+JoB,OAAO,YAAY;AAAxC,wBAAyC;AA8RzC,QAAA,MAAM,YAAY;;cAKI,QAAQ,CAAC,QAAQ,CAAC;;;;;;;+BAgBF,UAAU,KAAG,MAAM;+BAOnB,UAAU,KAAG,MAAM;0BAKxB,UAAU,KAAG,MAAM;+BAKd,UAAU,KAAG,MAAM;yBAKzB,MAAM,KAAG,MAAM;2BASP,MAAM;;;;cA/CxB,QAAQ,CAAC,QAAQ,CAAC;;;;;;4EAoFtC,CAAC"}
|