Skip to content

Commit

Permalink
Chore: run build package
Browse files Browse the repository at this point in the history
  • Loading branch information
babboe1 committed Aug 13, 2024
1 parent 813c3c8 commit bb66db2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 29 deletions.
55 changes: 29 additions & 26 deletions package-dist/ui-gallery.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -42348,12 +42348,14 @@ const uEe = () => {
);
};
function hEe() {
var t;
const e = ((t = window == null ? void 0 : window.location) == null ? void 0 : t.hostname) === "localhost" ? "/" : `${window.location}`;
return /* @__PURE__ */ Z.jsxs(ft, { style: { width: "90%" }, align: "flex-start", gap: 8, children: [
/* @__PURE__ */ Z.jsx(
np,
{
className: "ai-icon-rotate",
src: "/ai-icon.svg",
src: `${e}/ai-icon.svg`,
height: 40,
width: 40,
style: {
Expand Down Expand Up @@ -94290,27 +94292,27 @@ function j7e({
customMessageComponent: o,
customMessageActionCardItem: a
}) {
var h;
const s = (h = t[e]) == null ? void 0 : h.content, c = (t == null ? void 0 : t.length) - 1 === e && r, u = o == null ? void 0 : o.component, d = () => {
var v, m;
const f = s.type || ((v = s == null ? void 0 : s.query_response) == null ? void 0 : v.type), p = (s == null ? void 0 : s.data) || ((m = s == null ? void 0 : s.query_response) == null ? void 0 : m.data), g = s == null ? void 0 : s.query_configuration;
switch (f) {
var f, p;
const s = ((f = window == null ? void 0 : window.location) == null ? void 0 : f.hostname) === "localhost" ? "/" : `${window.location}`, l = (p = t[e]) == null ? void 0 : p.content, u = (t == null ? void 0 : t.length) - 1 === e && r, d = o == null ? void 0 : o.component, h = () => {
var y, C;
const g = l.type || ((y = l == null ? void 0 : l.query_response) == null ? void 0 : y.type), v = (l == null ? void 0 : l.data) || ((C = l == null ? void 0 : l.query_response) == null ? void 0 : C.data), m = l == null ? void 0 : l.query_configuration;
switch (g) {
case "text":
return /* @__PURE__ */ Z.jsx(Tt, { children: /* @__PURE__ */ Z.jsx(Of, { children: p }) });
return /* @__PURE__ */ Z.jsx(Tt, { children: /* @__PURE__ */ Z.jsx(Of, { children: v }) });
case "trend":
return /* @__PURE__ */ Z.jsx(
G7e,
{
chartResponse: s.query_response,
queryConfiguration: g
chartResponse: l.query_response,
queryConfiguration: m
}
);
case "funnel":
return /* @__PURE__ */ Z.jsx(
B7e,
{
chartResponse: s.query_response,
queryConfiguration: g
chartResponse: l.query_response,
queryConfiguration: m
}
);
default:
Expand All @@ -94328,7 +94330,7 @@ function j7e({
/* @__PURE__ */ Z.jsx(
np,
{
src: "/ai-icon.svg",
src: `${s}/ai-icon.svg`,
height: 40,
width: 40,
style: {
Expand All @@ -94347,12 +94349,12 @@ function j7e({
},
gap: 14,
children: [
u && u({
d && d({
messages: t,
index: e,
handleSendFollowupMessage: i
}) || d(),
c && /* @__PURE__ */ Z.jsx(
}) || h(),
u && /* @__PURE__ */ Z.jsx(
W7e,
{
index: e,
Expand Down Expand Up @@ -128080,7 +128082,8 @@ function srt({
rowData: o,
columnDefs: a
}) {
const [s] = Ie(!0), [l, c] = Ie(!1), [u, d] = hj.useMessage(), h = /* @__PURE__ */ Z.jsx(
var p;
const s = ((p = window == null ? void 0 : window.location) == null ? void 0 : p.hostname) === "localhost" ? "/" : `${window.location}`, [l] = Ie(!0), [c, u] = Ie(!1), [d, h] = hj.useMessage(), f = /* @__PURE__ */ Z.jsx(
Wg,
{
itemLayout: "horizontal",
Expand All @@ -128094,11 +128097,11 @@ function srt({
img: "/braze.svg"
}
],
renderItem: (f) => /* @__PURE__ */ Z.jsx(Wg.Item, { children: /* @__PURE__ */ Z.jsx(
renderItem: (g) => /* @__PURE__ */ Z.jsx(Wg.Item, { children: /* @__PURE__ */ Z.jsx(
Wg.Item.Meta,
{
avatar: /* @__PURE__ */ Z.jsx(np, { preview: !1, width: 26, src: f.img }),
title: /* @__PURE__ */ Z.jsx("a", { href: "https://ant.design", children: f.text })
avatar: /* @__PURE__ */ Z.jsx(np, { preview: !1, width: 26, src: `${s}/${g.img}` }),
title: /* @__PURE__ */ Z.jsx("a", { href: "https://ant.design", children: g.text })
}
) })
}
Expand Down Expand Up @@ -128137,7 +128140,7 @@ function srt({
type: "text",
size: "small",
icon: /* @__PURE__ */ Z.jsx(mz, { size: 20 }),
onClick: () => c(!0)
onClick: () => u(!0)
}
) }),
/* @__PURE__ */ Z.jsx(Wtt, { data: o, style: { color: "#3C3838" }, children: /* @__PURE__ */ Z.jsx(Wo, { title: "Download as CSV", children: /* @__PURE__ */ Z.jsx(
Expand All @@ -128153,7 +128156,7 @@ function srt({
{
title: "Export segment to",
placement: "rightTop",
content: h,
content: f,
arrow: !1,
children: /* @__PURE__ */ Z.jsx(
Rr,
Expand All @@ -128168,17 +128171,17 @@ function srt({
] })
] }),
children: [
d,
h,
/* @__PURE__ */ Z.jsx(
_a,
{
title: "Copy SQL Query to clip board",
open: l,
open: c,
onOk: () => {
navigator.clipboard.writeText(i ?? ""), u.success("SQL code copied to clipboard"), c(!1);
navigator.clipboard.writeText(i ?? ""), d.success("SQL code copied to clipboard"), u(!1);
},
okText: "Copy",
onCancel: () => c(!1),
onCancel: () => u(!1),
children: /* @__PURE__ */ Z.jsx(Cn, { children: /* @__PURE__ */ Z.jsx(Of, { children: i }) })
}
),
Expand All @@ -128197,7 +128200,7 @@ function srt({
/* @__PURE__ */ Z.jsxs(
jtt,
{
ellipsis: s ? { rows: 2, expandable: !0, symbol: "more" } : !1,
ellipsis: l ? { rows: 2, expandable: !0, symbol: "more" } : !1,
children: [
/* @__PURE__ */ Z.jsx("strong", { children: "Description:" }),
" ",
Expand Down
Loading

0 comments on commit bb66db2

Please sign in to comment.