semaphor 0.0.53 → 0.0.54
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/chunks/{dashboard-plus-pizHm3ep.js → dashboard-plus-3HixTd5x.js} +2 -2
- package/dist/chunks/{dashboard-plus-T9jCF5yH.js → dashboard-plus-uJ3hJ7Se.js} +4 -5
- package/dist/chunks/{index-cTryqFB1.js → index-9r5iCf6G.js} +3 -3
- package/dist/chunks/{index-9kntHAhm.js → index-scpiGxfy.js} +130 -140
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/main.d.ts +1 -1
- package/dist/types/surfboard.d.ts +1 -1
- package/package.json +1 -1
|
@@ -29243,21 +29243,7 @@ function aJ({
|
|
|
29243
29243
|
});
|
|
29244
29244
|
return /* @__PURE__ */ R.jsx(yz, { client: n, children: e });
|
|
29245
29245
|
}
|
|
29246
|
-
|
|
29247
|
-
children: e,
|
|
29248
|
-
className: t,
|
|
29249
|
-
...n
|
|
29250
|
-
}) {
|
|
29251
|
-
return /* @__PURE__ */ R.jsx(
|
|
29252
|
-
"div",
|
|
29253
|
-
{
|
|
29254
|
-
className: De("semaphor-scope", t),
|
|
29255
|
-
...n,
|
|
29256
|
-
children: e
|
|
29257
|
-
}
|
|
29258
|
-
);
|
|
29259
|
-
}
|
|
29260
|
-
const lJ = {
|
|
29246
|
+
const mu = be(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ R.jsx("div", { className: De("semaphor-scope", t), ref: r, ...n, children: e })), lJ = {
|
|
29261
29247
|
id: "",
|
|
29262
29248
|
authToken: void 0
|
|
29263
29249
|
}, QA = Bn(lJ), cJ = ({
|
|
@@ -50628,7 +50614,6 @@ function Zfe() {
|
|
|
50628
50614
|
try {
|
|
50629
50615
|
const L = JSON.parse(T.result);
|
|
50630
50616
|
if (k = /* @__PURE__ */ R.jsx("pre", { className: "whitespace-normal text-xs", children: JSON.stringify(L, null, 2) }), T.toolName === "getData") {
|
|
50631
|
-
console.log(T);
|
|
50632
50617
|
const z = tM({
|
|
50633
50618
|
cardType: T.args.chartType,
|
|
50634
50619
|
data: L.records
|
|
@@ -50714,63 +50699,70 @@ function Zfe() {
|
|
|
50714
50699
|
};
|
|
50715
50700
|
c(!0), a(s, Q, "start"), l(Q.id);
|
|
50716
50701
|
}
|
|
50717
|
-
return /* @__PURE__ */ R.jsxs(
|
|
50718
|
-
|
|
50719
|
-
|
|
50720
|
-
|
|
50721
|
-
|
|
50722
|
-
|
|
50723
|
-
|
|
50724
|
-
/* @__PURE__ */ R.
|
|
50725
|
-
|
|
50726
|
-
/* @__PURE__ */ R.jsx(
|
|
50727
|
-
|
|
50728
|
-
/* @__PURE__ */ R.jsx(
|
|
50729
|
-
|
|
50730
|
-
|
|
50731
|
-
|
|
50732
|
-
|
|
50733
|
-
|
|
50734
|
-
|
|
50735
|
-
|
|
50736
|
-
|
|
50737
|
-
"form",
|
|
50738
|
-
{
|
|
50739
|
-
className: "mb-1 flex w-full grow items-center justify-between gap-2 rounded-md",
|
|
50740
|
-
onSubmit: v,
|
|
50741
|
-
children: [
|
|
50742
|
-
/* @__PURE__ */ R.jsxs("div", { className: "flex w-full items-center justify-between rounded-md border bg-background", children: [
|
|
50743
|
-
/* @__PURE__ */ R.jsx(
|
|
50744
|
-
$d,
|
|
50745
|
-
{
|
|
50746
|
-
className: "w-full border-none focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
50747
|
-
value: g,
|
|
50748
|
-
disabled: w,
|
|
50749
|
-
placeholder: "What can I help you with?",
|
|
50750
|
-
onChange: m
|
|
50751
|
-
}
|
|
50752
|
-
),
|
|
50753
|
-
/* @__PURE__ */ R.jsx("button", { className: "mr-3", children: /* @__PURE__ */ R.jsx(KK, { className: "size-4 text-muted-foreground/70 hover:text-muted-foreground" }) })
|
|
50702
|
+
return /* @__PURE__ */ R.jsxs(
|
|
50703
|
+
"div",
|
|
50704
|
+
{
|
|
50705
|
+
role: "chat-box",
|
|
50706
|
+
className: "flex h-full grow flex-col justify-between break-words rounded-md bg-muted/30 px-6 py-8",
|
|
50707
|
+
children: [
|
|
50708
|
+
/* @__PURE__ */ R.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
50709
|
+
/* @__PURE__ */ R.jsx(lr, { className: "flex items-center gap-2 text-xl", children: "Assistant" }),
|
|
50710
|
+
/* @__PURE__ */ R.jsxs(sM, { openDelay: 700, children: [
|
|
50711
|
+
/* @__PURE__ */ R.jsx(aM, { children: /* @__PURE__ */ R.jsx(wX, { className: "size-4 text-muted-foreground" }) }),
|
|
50712
|
+
/* @__PURE__ */ R.jsx(Mw, { className: "w-70", children: /* @__PURE__ */ R.jsxs("div", { className: "flex justify-between space-x-2 text-muted-foreground", children: [
|
|
50713
|
+
/* @__PURE__ */ R.jsx(YO, { className: "size-5" }),
|
|
50714
|
+
/* @__PURE__ */ R.jsxs("div", { className: "space-y-1", children: [
|
|
50715
|
+
/* @__PURE__ */ R.jsx("p", { className: "text-sm", children: i && (i == null ? void 0 : i.length) > 0 ? "I can analyze following datasets" : "No datasets in scope" }),
|
|
50716
|
+
/* @__PURE__ */ R.jsx("div", { className: "space-y-2 pt-2", children: i == null ? void 0 : i.map((T, k) => /* @__PURE__ */ R.jsxs("div", { className: "flex gap-2 text-xs", children: [
|
|
50717
|
+
/* @__PURE__ */ R.jsx(_X, { className: "size-4 opacity-70" }),
|
|
50718
|
+
/* @__PURE__ */ R.jsx("span", { children: T.tableName })
|
|
50719
|
+
] }, k)) })
|
|
50720
|
+
] })
|
|
50721
|
+
] }) })
|
|
50754
50722
|
] }),
|
|
50755
|
-
|
|
50756
|
-
]
|
|
50757
|
-
|
|
50758
|
-
|
|
50759
|
-
|
|
50760
|
-
|
|
50761
|
-
|
|
50762
|
-
|
|
50763
|
-
|
|
50764
|
-
|
|
50765
|
-
|
|
50766
|
-
|
|
50767
|
-
|
|
50768
|
-
|
|
50769
|
-
|
|
50770
|
-
|
|
50771
|
-
|
|
50772
|
-
|
|
50773
|
-
|
|
50723
|
+
!1
|
|
50724
|
+
] }),
|
|
50725
|
+
/* @__PURE__ */ R.jsx(Yw, { className: "my-4" }),
|
|
50726
|
+
/* @__PURE__ */ R.jsx("div", { className: "", children: /* @__PURE__ */ R.jsxs(
|
|
50727
|
+
"form",
|
|
50728
|
+
{
|
|
50729
|
+
className: "mb-1 flex w-full grow items-center justify-between gap-2 rounded-md",
|
|
50730
|
+
onSubmit: v,
|
|
50731
|
+
children: [
|
|
50732
|
+
/* @__PURE__ */ R.jsxs("div", { className: "flex w-full items-center justify-between rounded-md border bg-background", children: [
|
|
50733
|
+
/* @__PURE__ */ R.jsx(
|
|
50734
|
+
$d,
|
|
50735
|
+
{
|
|
50736
|
+
className: "w-full border-none focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
50737
|
+
value: g,
|
|
50738
|
+
disabled: w,
|
|
50739
|
+
placeholder: "What can I help you with?",
|
|
50740
|
+
onChange: m
|
|
50741
|
+
}
|
|
50742
|
+
),
|
|
50743
|
+
/* @__PURE__ */ R.jsx("button", { className: "mr-3", children: /* @__PURE__ */ R.jsx(KK, { className: "size-4 text-muted-foreground/70 hover:text-muted-foreground" }) })
|
|
50744
|
+
] }),
|
|
50745
|
+
w && /* @__PURE__ */ R.jsx(Gr, { size: "sm", className: "rounded-full", onClick: () => x(), children: /* @__PURE__ */ R.jsx(ZK, { className: "size-2.5 bg-background" }) })
|
|
50746
|
+
]
|
|
50747
|
+
}
|
|
50748
|
+
) }),
|
|
50749
|
+
/* @__PURE__ */ R.jsxs(yI, { className: "flex flex-1 basis-0 flex-col flex-wrap justify-end", children: [
|
|
50750
|
+
/* @__PURE__ */ R.jsxs(
|
|
50751
|
+
"div",
|
|
50752
|
+
{
|
|
50753
|
+
className: "flex items-center text-xs text-foreground/90",
|
|
50754
|
+
children: [
|
|
50755
|
+
w && t !== "" && /* @__PURE__ */ R.jsx(VK, { className: "size-10 animate-pulse" }),
|
|
50756
|
+
t
|
|
50757
|
+
]
|
|
50758
|
+
}
|
|
50759
|
+
),
|
|
50760
|
+
/* @__PURE__ */ R.jsx("div", { className: "flex flex-col-reverse gap-2 py-2", children: O(h) }),
|
|
50761
|
+
/* @__PURE__ */ R.jsx(y_, { orientation: "vertical" })
|
|
50762
|
+
] })
|
|
50763
|
+
]
|
|
50764
|
+
}
|
|
50765
|
+
);
|
|
50774
50766
|
}
|
|
50775
50767
|
const ehe = {
|
|
50776
50768
|
// Override how paragraphs are rendered
|
|
@@ -53245,7 +53237,7 @@ function zpe() {
|
|
|
53245
53237
|
{
|
|
53246
53238
|
role: "dashboard-tabs-container",
|
|
53247
53239
|
className: De(
|
|
53248
|
-
"relative flex grow",
|
|
53240
|
+
"relative flex grow flex-col",
|
|
53249
53241
|
// ' grow bg-muted dark:bg-foreground/5 ',
|
|
53250
53242
|
l == null ? void 0 : l.dashboardTabsContainer
|
|
53251
53243
|
),
|
|
@@ -53254,78 +53246,76 @@ function zpe() {
|
|
|
53254
53246
|
},
|
|
53255
53247
|
value: c || n[0].id,
|
|
53256
53248
|
children: [
|
|
53257
|
-
/* @__PURE__ */ R.
|
|
53258
|
-
|
|
53249
|
+
/* @__PURE__ */ R.jsx("div", { children: (n.length > 1 || a) && /* @__PURE__ */ R.jsxs(
|
|
53250
|
+
ED,
|
|
53251
|
+
{
|
|
53252
|
+
role: "tab-list",
|
|
53253
|
+
className: "flex h-11 items-center justify-start gap-2 rounded-none bg-transparent px-2.5 py-3",
|
|
53254
|
+
children: [
|
|
53255
|
+
n == null ? void 0 : n.map((x) => {
|
|
53256
|
+
var w, _;
|
|
53257
|
+
return /* @__PURE__ */ R.jsx(
|
|
53258
|
+
ga,
|
|
53259
|
+
{
|
|
53260
|
+
text: x.title,
|
|
53261
|
+
onSave: (E) => f(x.id, E),
|
|
53262
|
+
children: /* @__PURE__ */ R.jsxs(
|
|
53263
|
+
RD,
|
|
53264
|
+
{
|
|
53265
|
+
style: {
|
|
53266
|
+
borderRadius: (_ = (w = l == null ? void 0 : l.chart) == null ? void 0 : w.options) == null ? void 0 : _.borderRadius
|
|
53267
|
+
},
|
|
53268
|
+
onClick: () => u(x.id),
|
|
53269
|
+
className: "flex items-center gap-1 rounded-none border px-2 py-1",
|
|
53270
|
+
value: x.id,
|
|
53271
|
+
children: [
|
|
53272
|
+
x.title,
|
|
53273
|
+
a && c === x.id && n.length > 1 && /* @__PURE__ */ R.jsx(
|
|
53274
|
+
xw,
|
|
53275
|
+
{
|
|
53276
|
+
className: "ml-1 size-3",
|
|
53277
|
+
onClick: () => t(!0)
|
|
53278
|
+
}
|
|
53279
|
+
)
|
|
53280
|
+
]
|
|
53281
|
+
}
|
|
53282
|
+
)
|
|
53283
|
+
},
|
|
53284
|
+
x.id
|
|
53285
|
+
);
|
|
53286
|
+
}),
|
|
53287
|
+
a && /* @__PURE__ */ R.jsx(
|
|
53288
|
+
"div",
|
|
53289
|
+
{
|
|
53290
|
+
style: {
|
|
53291
|
+
borderRadius: (y = (v = l == null ? void 0 : l.chart) == null ? void 0 : v.options) == null ? void 0 : y.borderRadius
|
|
53292
|
+
},
|
|
53293
|
+
className: "flex h-7 items-center justify-center border-none bg-muted p-2 hover:cursor-pointer dark:border-l-background",
|
|
53294
|
+
onClick: m,
|
|
53295
|
+
children: /* @__PURE__ */ R.jsx(PA, { className: "size-3" })
|
|
53296
|
+
}
|
|
53297
|
+
)
|
|
53298
|
+
]
|
|
53299
|
+
}
|
|
53300
|
+
) }),
|
|
53301
|
+
/* @__PURE__ */ R.jsxs(yhe, { className: "grow", direction: "horizontal", children: [
|
|
53302
|
+
/* @__PURE__ */ R.jsx(o2, { children: /* @__PURE__ */ R.jsx(
|
|
53259
53303
|
"div",
|
|
53260
53304
|
{
|
|
53261
53305
|
style: {
|
|
53262
53306
|
// borderRadius: currentStyle?.chart?.options?.borderRadius,
|
|
53263
53307
|
},
|
|
53264
|
-
children:
|
|
53265
|
-
|
|
53266
|
-
|
|
53267
|
-
{
|
|
53268
|
-
|
|
53269
|
-
|
|
53270
|
-
|
|
53271
|
-
|
|
53272
|
-
|
|
53273
|
-
|
|
53274
|
-
|
|
53275
|
-
{
|
|
53276
|
-
text: x.title,
|
|
53277
|
-
onSave: (E) => f(x.id, E),
|
|
53278
|
-
children: /* @__PURE__ */ R.jsxs(
|
|
53279
|
-
RD,
|
|
53280
|
-
{
|
|
53281
|
-
style: {
|
|
53282
|
-
borderRadius: (_ = (w = l == null ? void 0 : l.chart) == null ? void 0 : w.options) == null ? void 0 : _.borderRadius
|
|
53283
|
-
},
|
|
53284
|
-
onClick: () => u(x.id),
|
|
53285
|
-
className: "flex items-center gap-1 rounded-none border px-2 py-1",
|
|
53286
|
-
value: x.id,
|
|
53287
|
-
children: [
|
|
53288
|
-
x.title,
|
|
53289
|
-
a && c === x.id && n.length > 1 && /* @__PURE__ */ R.jsx(
|
|
53290
|
-
xw,
|
|
53291
|
-
{
|
|
53292
|
-
className: "ml-1 size-3",
|
|
53293
|
-
onClick: () => t(!0)
|
|
53294
|
-
}
|
|
53295
|
-
)
|
|
53296
|
-
]
|
|
53297
|
-
}
|
|
53298
|
-
)
|
|
53299
|
-
},
|
|
53300
|
-
x.id
|
|
53301
|
-
);
|
|
53302
|
-
}),
|
|
53303
|
-
a && /* @__PURE__ */ R.jsx(
|
|
53304
|
-
"div",
|
|
53305
|
-
{
|
|
53306
|
-
style: {
|
|
53307
|
-
borderRadius: (y = (v = l == null ? void 0 : l.chart) == null ? void 0 : v.options) == null ? void 0 : y.borderRadius
|
|
53308
|
-
},
|
|
53309
|
-
className: "flex h-7 items-center justify-center border-none bg-muted p-2 hover:cursor-pointer dark:border-l-background",
|
|
53310
|
-
onClick: m,
|
|
53311
|
-
children: /* @__PURE__ */ R.jsx(PA, { className: "size-3" })
|
|
53312
|
-
}
|
|
53313
|
-
)
|
|
53314
|
-
]
|
|
53315
|
-
}
|
|
53316
|
-
),
|
|
53317
|
-
n == null ? void 0 : n.map((x) => /* @__PURE__ */ R.jsx(
|
|
53318
|
-
OD,
|
|
53319
|
-
{
|
|
53320
|
-
className: De("mt-0", {
|
|
53321
|
-
"bg-muted": (l == null ? void 0 : l.canvasTheme) === "muted" || !(l != null && l.canvasTheme)
|
|
53322
|
-
}),
|
|
53323
|
-
value: x.id,
|
|
53324
|
-
children: /* @__PURE__ */ R.jsx(nae, {})
|
|
53325
|
-
},
|
|
53326
|
-
x.id
|
|
53327
|
-
))
|
|
53328
|
-
]
|
|
53308
|
+
children: n == null ? void 0 : n.map((x) => /* @__PURE__ */ R.jsx(
|
|
53309
|
+
OD,
|
|
53310
|
+
{
|
|
53311
|
+
className: De("mt-0", {
|
|
53312
|
+
"bg-muted": (l == null ? void 0 : l.canvasTheme) === "muted" || !(l != null && l.canvasTheme)
|
|
53313
|
+
}),
|
|
53314
|
+
value: x.id,
|
|
53315
|
+
children: /* @__PURE__ */ R.jsx(nae, {})
|
|
53316
|
+
},
|
|
53317
|
+
x.id
|
|
53318
|
+
))
|
|
53329
53319
|
}
|
|
53330
53320
|
) }),
|
|
53331
53321
|
r === !0 && /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
|
package/dist/dashboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-9r5iCf6G.js");require("react");require("react-dom");exports.Dashboard=e.Dashboard;
|
package/dist/dashboard/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-9r5iCf6G.js"),d=require("./chunks/dashboard-plus-3HixTd5x.js"),I=require("react");require("react-dom");function N({card:t,footer:u,className:m,...c}){const{customCards:r}=e.useSemaphorContext(),h=I.useRef(null),{isError:p,isLoading:n,isFetching:i,cfg:x,visualKey:C,handleDatapointClick:f}=e.useDashboardCard(t),a=e.useDashboardStore(s=>s.themeStyle),l=e.useDashboardStore(s=>s.selectedSheetId),E=e.useDashboardStore(s=>s.selectedCardId),j=e.useDashboardStore(s=>s.isDashboardEditing),{setCardTitle:g,setCardDescription:D,setSelectedCardId:b}=e.useDashboardActions();function S(s){s.stopPropagation(),b(l,t.id)}function T(){if(r&&r.length>0){const s=r.find(o=>o.cardId===t.id);if(s&&s.replaceDefault){const o=s.content;if(o)return e.jsxRuntimeExports.jsx(o,{card:t})}}return t.type==="kpi"?t.data&&t.data.length>0&&e.jsxRuntimeExports.jsx(e.KPICard,{isLoading:n||i,card:t}):y}function R(){if(p)return e.jsxRuntimeExports.jsx("p",{className:"text-sm",children:"Oops! It seems like something went wrong. Please review your connection or filters."});if(t.type==="table"&&t.data&&t.data.length>0)return e.jsxRuntimeExports.jsxs(e.ScrollArea,{children:[e.jsxRuntimeExports.jsx(e.TableVisual,{card:t,data:t.data}),e.jsxRuntimeExports.jsx(e.ScrollBar,{orientation:"horizontal"})]});if(r&&r.length>0){const s=r.find(o=>o.cardId===t.id);if(s&&s.content){const o=s.content;return e.jsxRuntimeExports.jsx(o,{card:t})}}if(x)return e.jsxRuntimeExports.jsx(e.ChartJsVisual,{cfg:x,onDatapointClick:f},C)}function A(){if(r&&r.length>0){const s=r.find(o=>o.cardId===t.id);if(s&&s.footer){const o=s.footer;if(o)return e.jsxRuntimeExports.jsx(o,{card:t})}}return u||null}if(!t.id)return null;const y=e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsxs(e.CardHeader,{className:"pb-4",children:[e.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxRuntimeExports.jsx(e.Editable,{text:t.title,onSave:s=>g(l,t.id,s),children:e.jsxRuntimeExports.jsx(e.CardTitle,{className:"text-base",children:t.title})}),t.refreshInterval&&e.jsxRuntimeExports.jsxs(e.Tooltip,{children:[e.jsxRuntimeExports.jsx(e.TooltipTrigger,{className:"pr-1",children:e.jsxRuntimeExports.jsx("div",{className:e.cn("h-2 w-2 rounded-full bg-green-500 transition-opacity",{"opacity-10":n||i})})}),e.jsxRuntimeExports.jsx(e.TooltipContent,{side:"right",align:"center",children:e.jsxRuntimeExports.jsx("p",{className:"text-xs",children:`Realtime (${t==null?void 0:t.refreshInterval})`})})]}),!t.refreshInterval&&(n||i)&&e.jsxRuntimeExports.jsx(e.LoaderCircle,{className:"h-4 w-4 animate-spin text-muted-foreground"})]}),e.jsxRuntimeExports.jsx(e.Editable,{text:(t==null?void 0:t.description)||"",onSave:s=>D(l,t.id,s),children:e.jsxRuntimeExports.jsxs(e.CardDescription,{children:[" ",t.description]})})]}),e.jsxRuntimeExports.jsx(e.CardContent,{className:"relative flex grow flex-col overflow-auto pb-0",children:R()}),e.jsxRuntimeExports.jsx(e.CardFooter,{children:A()})]});return e.jsxRuntimeExports.jsx(e.Card,{tabIndex:-1,ref:h,role:"dashboard-card",onClick:S,className:e.cn("relative flex h-full flex-col rounded-sm",{"border-dashed border-foreground/50":E===t.id&&j},a==null?void 0:a.dashboardCard,m),...c,children:T()})}exports.BOOLEAN_DATA_TYPES=e.BOOLEAN_DATA_TYPES;exports.DATE_DATA_TYPES=e.DATE_DATA_TYPES;exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;exports.NUMBER_DATA_TYPES=e.NUMBER_DATA_TYPES;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.TEXT_DATA_TYPES=e.TEXT_DATA_TYPES;exports.cleanCard=e.cleanCard;exports.createSqlGenConfig=e.createSqlGenConfig;exports.fmt=e.fmt;exports.getBookmarkKey=e.getBookmarkKey;exports.getColumnDataType=e.getColumnDataType;exports.getDashbaordStateWithoutData=e.getDashbaordStateWithoutData;exports.getFilterValueType=e.getFilterValueType;exports.getQualifiedTableName=e.getQualifiedTableName;exports.getSql=e.getSql;exports.isColumnInSqlGen=e.isColumnInSqlGen;exports.resolveDataType=e.resolveDataType;exports.useCard=e.useCard;exports.useDashboardActions=e.useDashboardActions;exports.useDashboardStore=e.useDashboardStore;exports.useEditorActions=e.useEditorActions;exports.useEditorStore=e.useEditorStore;exports.SelectComponent=d.SelectComponent;exports.Surfboard=d.DashboardPlus;exports.useEditorAside=d.useEditorAside;exports.DashboardCard=N;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as _, a as k, b as n, c as w, j as s, C as F, E as f, d as P, T as R, e as B, f as h, g as L, L as q, h as K, i as O, k as Y, l as G, K as V, S as z, m as H, n as J, o as M } from "./chunks/index-
|
|
2
|
-
import { B as se, s as te, D as ae, q as oe, N as ne, I as re, r as ie, M as le, w as de, t as ue, O as ce, y as fe, J as he, x as Ce, A as xe, v as me, z as pe, F as ge, p as je, H as De, G as be } from "./chunks/index-
|
|
3
|
-
import { S as Te, D as Ee, u as Ie } from "./chunks/dashboard-plus-
|
|
1
|
+
import { u as _, a as k, b as n, c as w, j as s, C as F, E as f, d as P, T as R, e as B, f as h, g as L, L as q, h as K, i as O, k as Y, l as G, K as V, S as z, m as H, n as J, o as M } from "./chunks/index-scpiGxfy.js";
|
|
2
|
+
import { B as se, s as te, D as ae, q as oe, N as ne, I as re, r as ie, M as le, w as de, t as ue, O as ce, y as fe, J as he, x as Ce, A as xe, v as me, z as pe, F as ge, p as je, H as De, G as be } from "./chunks/index-scpiGxfy.js";
|
|
3
|
+
import { S as Te, D as Ee, u as Ie } from "./chunks/dashboard-plus-uJ3hJ7Se.js";
|
|
4
4
|
import Q from "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
function $({
|
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/dashboard-plus-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/dashboard-plus-3HixTd5x.js");require("../chunks/index-9r5iCf6G.js");require("react");require("react-dom");exports.Surfboard=r.DashboardPlus;
|
package/dist/surfboard/index.js
CHANGED
package/dist/types/main.d.ts
CHANGED
|
@@ -478,7 +478,7 @@ export declare type StyleProps = {
|
|
|
478
478
|
};
|
|
479
479
|
};
|
|
480
480
|
|
|
481
|
-
export declare function Surfboard({ showControls, showFooter,
|
|
481
|
+
export declare function Surfboard({ showControls, showFooter, ...rest }: DashboardPlusProps): JSX_2.Element;
|
|
482
482
|
|
|
483
483
|
export declare type TBaseQuery = {
|
|
484
484
|
id: string;
|
|
@@ -217,7 +217,7 @@ export declare type StyleProps = {
|
|
|
217
217
|
};
|
|
218
218
|
};
|
|
219
219
|
|
|
220
|
-
export declare function Surfboard({ showControls, showFooter,
|
|
220
|
+
export declare function Surfboard({ showControls, showFooter, ...rest }: DashboardPlusProps): JSX_2.Element;
|
|
221
221
|
|
|
222
222
|
export declare type TBaseQuery = {
|
|
223
223
|
id: string;
|