react-semaphor 0.1.123 → 0.1.125
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-controls-D3NUafF1.js → dashboard-controls-Bx-ySdim.js} +3 -3
- package/dist/chunks/{dashboard-controls-4-hApe-r.js → dashboard-controls-CZkFeNrk.js} +1 -1
- package/dist/chunks/{dashboard-json-DUat0hoS.js → dashboard-json-BlEVRs4V.js} +1 -1
- package/dist/chunks/{dashboard-json-BWrMOlwz.js → dashboard-json-Cn2IxIvK.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-ClzaW7MR.js → edit-dashboard-visual-CHqS0-RO.js} +3 -3
- package/dist/chunks/{edit-dashboard-visual-Du049yu_.js → edit-dashboard-visual-Cm5Mc4Um.js} +1 -1
- package/dist/chunks/{editor-action-buttons-FUlZ__xi.js → editor-action-buttons-BjVPDqso.js} +2 -2
- package/dist/chunks/{editor-action-buttons-CVUUl8IQ.js → editor-action-buttons-j0OdQL7Y.js} +1 -1
- package/dist/chunks/{index-Ci1UbzGA.js → index-BQPGBZP4.js} +10 -30
- package/dist/chunks/{index-C9xqgHpT.js → index-CZGIYFfM.js} +6 -6
- package/dist/chunks/{resource-management-panel-rBUF-JVD.js → resource-management-panel-BD6pGiUl.js} +2 -2
- package/dist/chunks/{resource-management-panel-Gn5D4PEs.js → resource-management-panel-CaktfbhQ.js} +1 -1
- package/dist/chunks/{schedule-dashboard-Xn9bMPcv.js → schedule-dashboard-BQ5u1NRe.js} +3 -3
- package/dist/chunks/{schedule-dashboard-CHuBJfod.js → schedule-dashboard-Cul4sDBY.js} +1 -1
- package/dist/chunks/{use-visual-utils-BTE9nvU2.js → use-visual-utils-Dhcu2Fn4.js} +1 -1
- package/dist/chunks/{use-visual-utils-Dk9v6ZRs.js → use-visual-utils-uElEhCM9.js} +1 -1
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +4 -4
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +2 -3
- package/dist/types/main.d.ts +2 -3
- package/dist/types/surfboard.d.ts +2 -3
- package/dist/types/types.d.ts +2 -3
- package/package.json +1 -1
package/dist/chunks/{resource-management-panel-rBUF-JVD.js → resource-management-panel-BD6pGiUl.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a, Fragment as me } from "react/jsx-runtime";
|
|
2
|
-
import { b as Ke, u as de, f as We, am as ne, aO as Ye, aP as Je, c as ee, aQ as Qe, aE as Xe, aF as Ze, B as G, aG as $e, aH as ke, aI as J, aR as ce, L as ie, aS as et, aT as tt, aU as st, aV as Ne, aW as pe, aX as at, aY as nt, I as it, aZ as be, a_ as re, a$ as Ce, b0 as ve, b1 as rt, J as ye, R as Se, b2 as Ve, b3 as Ee, b4 as Le, b5 as Te, b6 as Oe, b7 as Ae, b8 as Pe, b9 as Re, ba as Ie, bb as ot, bc as lt, bd as Ue, be as je, bf as Me, bg as dt, bh as Fe, bi as ct, aC as ae, al as ut, bj as ht, bk as ze, bl as mt, bm as pt, aq as ft, ar as gt, as as Dt, at as xt, au as Nt, av as we, aw as ue, az as wt, bn as bt, bo as Ct, bp as vt, bq as yt } from "./index-
|
|
2
|
+
import { b as Ke, u as de, f as We, am as ne, aO as Ye, aP as Je, c as ee, aQ as Qe, aE as Xe, aF as Ze, B as G, aG as $e, aH as ke, aI as J, aR as ce, L as ie, aS as et, aT as tt, aU as st, aV as Ne, aW as pe, aX as at, aY as nt, I as it, aZ as be, a_ as re, a$ as Ce, b0 as ve, b1 as rt, J as ye, R as Se, b2 as Ve, b3 as Ee, b4 as Le, b5 as Te, b6 as Oe, b7 as Ae, b8 as Pe, b9 as Re, ba as Ie, bb as ot, bc as lt, bd as Ue, be as je, bf as Me, bg as dt, bh as Fe, bi as ct, aC as ae, al as ut, bj as ht, bk as ze, bl as mt, bm as pt, aq as ft, ar as gt, as as Dt, at as xt, au as Nt, av as we, aw as ue, az as wt, bn as bt, bo as Ct, bp as vt, bq as yt } from "./index-BQPGBZP4.js";
|
|
3
3
|
import St, { useState as g, useEffect as he } from "react";
|
|
4
|
-
import { a as Be } from "./use-visual-utils-
|
|
4
|
+
import { a as Be } from "./use-visual-utils-uElEhCM9.js";
|
|
5
5
|
import { u as Vt } from "./use-click-outside-CMeO_QFI.js";
|
|
6
6
|
/**
|
|
7
7
|
* @license lucide-react v0.453.0 - ISC
|
package/dist/chunks/{resource-management-panel-Gn5D4PEs.js → resource-management-panel-CaktfbhQ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("./index-CZGIYFfM.js"),m=require("react"),re=require("./use-visual-utils-Dhcu2Fn4.js"),ue=require("./use-click-outside-B9T3lmcw.js");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r, Fragment as E } from "react/jsx-runtime";
|
|
2
|
-
import { b as W, aq as _, ar as $, as as G, at as J, au as K, av as V, aw as R, ax as X, ay as T, az as Q, B as N, L as Y, f as k, i as Z, u as g, am as ee, g as q, aA as ae, aB as B, l as w, aC as se, aD as te, c as y, aE as O, aF as P, aG as L, aH as z, aI as j, e as ne, aJ as de, aK as le, aL as re, I as ie, aM as oe, aN as ce } from "./index-
|
|
3
|
-
import { E as he, V as ue, a as me, b as ve, S as U, c as pe } from "./editor-action-buttons-
|
|
2
|
+
import { b as W, aq as _, ar as $, as as G, at as J, au as K, av as V, aw as R, ax as X, ay as T, az as Q, B as N, L as Y, f as k, i as Z, u as g, am as ee, g as q, aA as ae, aB as B, l as w, aC as se, aD as te, c as y, aE as O, aF as P, aG as L, aH as z, aI as j, e as ne, aJ as de, aK as le, aL as re, I as ie, aM as oe, aN as ce } from "./index-BQPGBZP4.js";
|
|
3
|
+
import { E as he, V as ue, a as me, b as ve, S as U, c as pe } from "./editor-action-buttons-BjVPDqso.js";
|
|
4
4
|
import fe, { useState as C, useContext as be } from "react";
|
|
5
|
-
import { a as H } from "./use-visual-utils-
|
|
5
|
+
import { a as H } from "./use-visual-utils-uElEhCM9.js";
|
|
6
6
|
/**
|
|
7
7
|
* @license lucide-react v0.453.0 - ISC
|
|
8
8
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),e=require("./index-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),e=require("./index-CZGIYFfM.js"),f=require("./editor-action-buttons-j0OdQL7Y.js"),p=require("react"),y=require("./use-visual-utils-Dhcu2Fn4.js");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./index-
|
|
1
|
+
"use strict";const o=require("./index-CZGIYFfM.js"),b=require("react");function _(e){const a=e.toUpperCase().indexOf("WHERE"),r=e.toUpperCase().indexOf("GROUP BY"),t=e.toUpperCase().indexOf("LIMIT"),d=e.toUpperCase().indexOf("ORDER BY");let c=e.length;if(d!==-1&&(c=d),t!==-1&&t<c&&(c=t),a!==-1){const n=e.substring(0,a),s=e.substring(a);return`${n} {{ filters | where }} AND ${s.substring(6)}`}else if(r!==-1){const n=e.substring(0,r),s=e.substring(r);return`${n} {{ filters | where }} ${s}`}else{const n=e.substring(0,c),s=e.substring(c);return console.log("beforeClause",n),console.log("afterClause",s),s?`${n} {{ filters | where }} ${s}`:`${n.replace(/;$/,"")} {{ filters | where }}`}}function B(e){const[a,r]=b.useState(null),[t,d]=b.useState(null),c=o.useEnsureReactGlobals();return b.useEffect(()=>{if(!e||e.trim()===""){r(null),d(null);return}if(!c)return;(async()=>{try{if(!e.startsWith("http://")&&!e.startsWith("https://"))throw new Error(`Invalid URL format: ${e}`);try{new URL(e)}catch{throw new Error(`Invalid URL: ${e}`)}const l=`${e.endsWith("/")?e:`${e}/`}index.js`;try{if(!(await fetch(l,{method:"HEAD"})).ok)throw new Error(`Module not found at ${l}`)}catch{}const m=await import(l);if(typeof m.useChartStore!="function")throw new Error("useChartStore is not a function");r(()=>m.useChartStore),d(null)}catch(s){const l=s instanceof Error?s.message:"Unknown error";console.error("Failed to load remote chart store:",l),d(l),r(null)}})()},[e,c]),a}function H(e,a){if(e.length===0)return"";if(a){const r=e.find(t=>t.id===a);if(r){const t=r.tabTitle;if(t=="All__Header")return e[0].id;if(t&&t.endsWith("__Header")){const c=t.split("__")[0],n=e.find(s=>s.tabTitle===c);return n?n.id:e[0].id}return a}}return e[0].id}async function j(e,a,r,t){if(!a||!r)throw new Error("Missing auth token or visual ID");const d=["resource-by-id","visual",r],c=t.getQueryData(d);if(c)return console.log("Using cached visual data for:",r),{data:c,fromCache:!0};console.log("Fetching visual data from network for:",r);const n=o.ue.loading("Loading visual...",{position:"top-center"});try{const s=await fetch(`${e}/management/v1/visuals/${r}`,{headers:{Authorization:`Bearer ${a}`}});if(!s.ok)throw new Error("Failed to load visual");const l=await s.json();return t.setQueryData(d,l),o.ue.dismiss(n),{data:l,fromCache:!1}}catch(s){throw o.ue.dismiss(n),s}}function T(e){if(typeof e=="string")return JSON.parse(e);if(typeof e=="object")return e;throw new Error("Invalid frame object format")}function Q(e,a){var c,n;const r=(e==null?void 0:e.frameObject)??((c=e==null?void 0:e.visual)==null?void 0:c.frameObject);if(!r)return!1;const t=T(r);if(!(t!=null&&t.cards)||t.cards.length===0)return!1;const d=(n=t.cards)==null?void 0:n.find(s=>s.id===t.activeCardId);return d?(o.setupEditorWithCard({...a,frame:t,card:d,visualId:(e==null?void 0:e.id)||t.visualId}),!0):!1}function G(){var g;const{setCardSql:e}=o.useEditorActions(),a=o.useEditorStore(i=>i.frame),r=o.useEditorStore(i=>i.card),t=B(((g=r.customCardPreferences)==null?void 0:g.url)||""),d=o.useEditorStore(i=>i.selectedSchemaName),c=o.useEditorStore(i=>i.selectedDatamodelId),n=o.useEditorStore(i=>i.selectedDatabaseName),s=o.useEditorStore(i=>i.selectedTableName),l=o.useEditorStore(i=>i.selectedConnectionId),m=o.useEditorStore(i=>i.isShowingVisual),f=r.sql;return{getUpdatedFrame:b.useCallback(()=>{var E;let i=f;f&&!f.includes("{{")&&(i=_(f),e(i));const C=(E=t==null?void 0:t.getState())==null?void 0:E.settings,U={...r,dataSource:r.dataSource||{mode:"directSource"},lastSelectedSchema:d,lastSelectedDatamodelId:c,lastSelectedDatabase:n,lastSelectedTable:s,connectionId:l,sql:i,customCfg:m?r.customCfg:null,preferences:r.preferences,...C&&{customCardPreferences:{...r.customCardPreferences,settings:C}}},w=a.cards.map(S=>S.id===r.id?U:S);return{...a,cards:w,activeCardId:H(w,a.activeCardId)}},[r,a,m,d,c,n,s,l,e,t,f])}}function z(){const{authToken:e,tokenProps:a}=o.useSemaphorContext(),r=o.useQueryClient(),t=o.useSelectedVisual(),{selectVisual:d}=o.useManagementActions(),{setFrame:c,setCard:n,setIsDevMode:s,setActiveTabCardId:l,updateDataSource:m,setQueryResultColumns:f,setSelectedConnectionId:V,setSelectedDatabaseName:g,setSelectedSchemaName:i,setSelectedTableName:C,setSelectedDatamodelId:U,setFilterValues:w,setApplyFilters:E}=o.useEditorActions(),{setIsDashboardEditing:S,setIsVisualEditing:$,setSelectedFrameId:v,clearSelectedFrameId:A,addFrame:N,setIsDashboardPanelOpen:R}=o.useDashboardActions(),I=o.useDashboardStore(u=>u.selectedSheetId),D=o.useDashboardStore(u=>u.selectedFrameId),O=o.useDashboardStore(u=>u.dashboard),x=o.useDashboardStore(u=>u.filterValues),y=o.useVisualById((t==null?void 0:t.id)||"",{enabled:!!(t!=null&&t.id)&&!!(e!=null&&e.accessToken)}),M=b.useCallback(async u=>{try{d(u),A();const{data:p,fromCache:h}=await j(a.apiServiceUrl,(e==null?void 0:e.accessToken)||"",u.id,r);if(!Q(p,{setFrame:c,setCard:n,setIsDevMode:s,setActiveTabCardId:l,updateDataSource:m,setQueryResultColumns:f,setSelectedConnectionId:V,setSelectedDatabaseName:g,setSelectedSchemaName:i,setSelectedTableName:C,setSelectedDatamodelId:U,setFilterValues:w,setApplyFilters:E,setIsDashboardEditing:S,setIsVisualEditing:$,dashboard:O,selectedSheetId:I,selectedFrameId:D,filterValues:x}))throw new Error("Failed to setup editor with visual data");return{success:!0,fromCache:h}}catch(p){return console.error("Error editing visual:",p),{success:!1,error:"Failed to load visual for editing"}}},[e==null?void 0:e.accessToken,a.apiServiceUrl,r,d,c,n,S,$,s,l,m,f,V,g,i,C,U,w,E,A,O,I,D,x]),k=b.useCallback(async u=>{var p;try{if(d(u),!I)return{success:!1,error:"No sheet selected. Please select a sheet first."};const{data:h,fromCache:W}=await j(a.apiServiceUrl,(e==null?void 0:e.accessToken)||"",u.id,r),L=(h==null?void 0:h.frameObject)??((p=h==null?void 0:h.visual)==null?void 0:p.frameObject);if(!L)return{success:!1,error:"Visual has no frame data"};const F=T(L);if(!(F!=null&&F.cards)||F.cards.length===0)return{success:!1,error:"Visual frame is malformed"};const P={...o.cloneFrameWithNewIds(F),visualId:u.id};return N(I,P,"end"),S(!0),v(P.id),R(!1),{success:!0,fromCache:W}}catch(h){return console.error("Error adding visual:",h),{success:!1,error:"Failed to add visual to dashboard"}}},[e==null?void 0:e.accessToken,a.apiServiceUrl,r,d,I,N,S,v,R]);return{visual:y.data,isLoading:y.isLoading,isError:y.isError,error:y.error,handleEditLibraryVisual:M,handleAddLibraryVisual:k,getUpdatedFrame:G().getUpdatedFrame,refetch:y.refetch}}exports.useRemoteChartStore=B;exports.useVisualUtils=z;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ak as G, al as z, h as Y, i as J, am as K, e as _, g as X, u as U, an as Z, ao as q, l as v, ap as ee, f as h } from "./index-
|
|
1
|
+
import { ak as G, al as z, h as Y, i as J, am as K, e as _, g as X, u as U, an as Z, ao as q, l as v, ap as ee, f as h } from "./index-BQPGBZP4.js";
|
|
2
2
|
import { useState as T, useEffect as te, useCallback as V } from "react";
|
|
3
3
|
function re(e) {
|
|
4
4
|
const o = e.toUpperCase().indexOf("WHERE"), r = e.toUpperCase().indexOf("GROUP BY"), t = e.toUpperCase().indexOf("LIMIT"), i = e.toUpperCase().indexOf("ORDER BY");
|
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-CZGIYFfM.js"),r=require("../types/index.cjs");exports.Dashboard=e.Dashboard;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/dashboard/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-CZGIYFfM.js"),j=require("./types/index.cjs"),a=require("react/jsx-runtime"),g=require("react"),E=require("./chunks/resource-management-panel-CaktfbhQ.js"),h=require("./chunks/schedule-dashboard-Cul4sDBY.js");require("react-dom");function N(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const i=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(r,s,i.get?i:{enumerable:!0,get:()=>t[s]})}}return r.default=t,Object.freeze(r)}const p=N(g);/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as S, E as D, F as w, S as P, U as M, m as k, n as A, u as F, o as y, p as L, P as R, q as I, B as V, c as v, r as _, s as W, t as B, v as j, I as q, w as H, x as O, y as U, z, C as G } from "./chunks/index-
|
|
2
|
-
import { W as oa, Y as ta, D as na, M as ia, a0 as da, R as la, H as ca, H as ua, J as ha, a as pa, aj as fa, a7 as ma, T as Ca, N as va, O as ba, a1 as ga, a9 as ya, a8 as Da, ac as xa, ad as Ea, a6 as Na, Q as Ta, a5 as Sa, _ as wa, $ as Pa, Z as Ma, aa as ka, a4 as Aa, a3 as Fa, a2 as La, ae as Ra, ab as Ia, K as Va, ag as _a, ai as Wa, ah as Ba, g as ja, V as qa, A as Ha, e as Oa, af as Ua, f as za, G as Ga } from "./chunks/index-
|
|
1
|
+
import { b as S, E as D, F as w, S as P, U as M, m as k, n as A, u as F, o as y, p as L, P as R, q as I, B as V, c as v, r as _, s as W, t as B, v as j, I as q, w as H, x as O, y as U, z, C as G } from "./chunks/index-BQPGBZP4.js";
|
|
2
|
+
import { W as oa, Y as ta, D as na, M as ia, a0 as da, R as la, H as ca, H as ua, J as ha, a as pa, aj as fa, a7 as ma, T as Ca, N as va, O as ba, a1 as ga, a9 as ya, a8 as Da, ac as xa, ad as Ea, a6 as Na, Q as Ta, a5 as Sa, _ as wa, $ as Pa, Z as Ma, aa as ka, a4 as Aa, a3 as Fa, a2 as La, ae as Ra, ab as Ia, K as Va, ag as _a, ai as Wa, ah as Ba, g as ja, V as qa, A as Ha, e as Oa, af as Ua, f as za, G as Ga } from "./chunks/index-BQPGBZP4.js";
|
|
3
3
|
import { EMPTY_SELECTION as Ka } from "./types/index.js";
|
|
4
4
|
import { jsx as a, jsxs as d } from "react/jsx-runtime";
|
|
5
5
|
import * as p from "react";
|
|
6
6
|
import { useMemo as Q } from "react";
|
|
7
|
-
import { ResourceManagementPanel as $a } from "./chunks/resource-management-panel-
|
|
8
|
-
import { A as Xa, S as Za, V as ae, c as ee, g as se } from "./chunks/schedule-dashboard-
|
|
7
|
+
import { ResourceManagementPanel as $a } from "./chunks/resource-management-panel-BD6pGiUl.js";
|
|
8
|
+
import { A as Xa, S as Za, V as ae, c as ee, g as se } from "./chunks/schedule-dashboard-BQ5u1NRe.js";
|
|
9
9
|
import "react-dom";
|
|
10
10
|
/**
|
|
11
11
|
* @license lucide-react v0.453.0 - ISC
|
package/dist/surfboard/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-CZGIYFfM.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -1589,7 +1589,7 @@ export declare interface UserPreference {
|
|
|
1589
1589
|
/**
|
|
1590
1590
|
* Display mode for visual components - controls which UI elements are shown
|
|
1591
1591
|
*/
|
|
1592
|
-
export declare type VisualDisplayMode = 'full' | '
|
|
1592
|
+
export declare type VisualDisplayMode = 'full' | 'print' | 'table-print';
|
|
1593
1593
|
|
|
1594
1594
|
/**
|
|
1595
1595
|
* Display preferences for controlling visual component rendering
|
|
@@ -1598,9 +1598,8 @@ export declare type VisualDisplayPreferences = {
|
|
|
1598
1598
|
/**
|
|
1599
1599
|
* Predefined display mode
|
|
1600
1600
|
* - 'full': All UI elements (default)
|
|
1601
|
-
* - 'content-only': Just the visualization/table content
|
|
1602
1601
|
* - 'print': Optimized for printing (shows title and description, hides interactive elements)
|
|
1603
|
-
* - '
|
|
1602
|
+
* - 'table-print': Table-specific print mode (title only, no pagination/toolbar)
|
|
1604
1603
|
*/
|
|
1605
1604
|
mode?: VisualDisplayMode;
|
|
1606
1605
|
/**
|
package/dist/types/main.d.ts
CHANGED
|
@@ -2932,7 +2932,7 @@ export declare function Visual(props: VisualProps): JSX_2.Element;
|
|
|
2932
2932
|
/**
|
|
2933
2933
|
* Display mode for visual components - controls which UI elements are shown
|
|
2934
2934
|
*/
|
|
2935
|
-
export declare type VisualDisplayMode = 'full' | '
|
|
2935
|
+
export declare type VisualDisplayMode = 'full' | 'print' | 'table-print';
|
|
2936
2936
|
|
|
2937
2937
|
/**
|
|
2938
2938
|
* Display preferences for controlling visual component rendering
|
|
@@ -2941,9 +2941,8 @@ export declare type VisualDisplayPreferences = {
|
|
|
2941
2941
|
/**
|
|
2942
2942
|
* Predefined display mode
|
|
2943
2943
|
* - 'full': All UI elements (default)
|
|
2944
|
-
* - 'content-only': Just the visualization/table content
|
|
2945
2944
|
* - 'print': Optimized for printing (shows title and description, hides interactive elements)
|
|
2946
|
-
* - '
|
|
2945
|
+
* - 'table-print': Table-specific print mode (title only, no pagination/toolbar)
|
|
2947
2946
|
*/
|
|
2948
2947
|
mode?: VisualDisplayMode;
|
|
2949
2948
|
/**
|
|
@@ -1594,7 +1594,7 @@ export declare interface UserPreference {
|
|
|
1594
1594
|
/**
|
|
1595
1595
|
* Display mode for visual components - controls which UI elements are shown
|
|
1596
1596
|
*/
|
|
1597
|
-
export declare type VisualDisplayMode = 'full' | '
|
|
1597
|
+
export declare type VisualDisplayMode = 'full' | 'print' | 'table-print';
|
|
1598
1598
|
|
|
1599
1599
|
/**
|
|
1600
1600
|
* Display preferences for controlling visual component rendering
|
|
@@ -1603,9 +1603,8 @@ export declare type VisualDisplayPreferences = {
|
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Predefined display mode
|
|
1605
1605
|
* - 'full': All UI elements (default)
|
|
1606
|
-
* - 'content-only': Just the visualization/table content
|
|
1607
1606
|
* - 'print': Optimized for printing (shows title and description, hides interactive elements)
|
|
1608
|
-
* - '
|
|
1607
|
+
* - 'table-print': Table-specific print mode (title only, no pagination/toolbar)
|
|
1609
1608
|
*/
|
|
1610
1609
|
mode?: VisualDisplayMode;
|
|
1611
1610
|
/**
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1586,7 +1586,7 @@ export declare interface UserPreference {
|
|
|
1586
1586
|
/**
|
|
1587
1587
|
* Display mode for visual components - controls which UI elements are shown
|
|
1588
1588
|
*/
|
|
1589
|
-
export declare type VisualDisplayMode = 'full' | '
|
|
1589
|
+
export declare type VisualDisplayMode = 'full' | 'print' | 'table-print';
|
|
1590
1590
|
|
|
1591
1591
|
/**
|
|
1592
1592
|
* Display preferences for controlling visual component rendering
|
|
@@ -1595,9 +1595,8 @@ export declare type VisualDisplayPreferences = {
|
|
|
1595
1595
|
/**
|
|
1596
1596
|
* Predefined display mode
|
|
1597
1597
|
* - 'full': All UI elements (default)
|
|
1598
|
-
* - 'content-only': Just the visualization/table content
|
|
1599
1598
|
* - 'print': Optimized for printing (shows title and description, hides interactive elements)
|
|
1600
|
-
* - '
|
|
1599
|
+
* - 'table-print': Table-specific print mode (title only, no pagination/toolbar)
|
|
1601
1600
|
*/
|
|
1602
1601
|
mode?: VisualDisplayMode;
|
|
1603
1602
|
/**
|