react-semaphor 0.0.657 → 0.0.658
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-BziOGUHY.js +340 -0
- package/dist/chunks/{dashboard-plus-DXzOsUvd.js → dashboard-plus-_sW6_bTD.js} +3160 -3159
- package/dist/chunks/{index-C428CnQH.js → index-Ogr2Fiop.js} +62 -62
- 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 +1 -1
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-CeHc-__J.js +0 -340
|
@@ -100553,7 +100553,7 @@ export {
|
|
|
100553
100553
|
Ws as ay,
|
|
100554
100554
|
Rg as az,
|
|
100555
100555
|
tU as b,
|
|
100556
|
-
|
|
100556
|
+
u0 as b$,
|
|
100557
100557
|
qKe as b0,
|
|
100558
100558
|
AXe as b1,
|
|
100559
100559
|
wm as b2,
|
|
@@ -100579,18 +100579,18 @@ export {
|
|
|
100579
100579
|
QKe as bM,
|
|
100580
100580
|
dg as bN,
|
|
100581
100581
|
XKe as bO,
|
|
100582
|
-
|
|
100583
|
-
|
|
100584
|
-
|
|
100585
|
-
|
|
100586
|
-
|
|
100587
|
-
|
|
100588
|
-
|
|
100589
|
-
|
|
100590
|
-
|
|
100591
|
-
|
|
100592
|
-
|
|
100593
|
-
|
|
100582
|
+
uw as bP,
|
|
100583
|
+
ak as bQ,
|
|
100584
|
+
J3 as bR,
|
|
100585
|
+
q9 as bS,
|
|
100586
|
+
TP as bT,
|
|
100587
|
+
Ule as bU,
|
|
100588
|
+
rie as bV,
|
|
100589
|
+
vL as bW,
|
|
100590
|
+
sXe as bX,
|
|
100591
|
+
sFe as bY,
|
|
100592
|
+
Lne as bZ,
|
|
100593
|
+
hL as b_,
|
|
100594
100594
|
nQe as ba,
|
|
100595
100595
|
RYe as bb,
|
|
100596
100596
|
lh as bc,
|
|
@@ -100619,29 +100619,29 @@ export {
|
|
|
100619
100619
|
nP as bz,
|
|
100620
100620
|
K$e as c,
|
|
100621
100621
|
HR as c$,
|
|
100622
|
-
|
|
100623
|
-
|
|
100624
|
-
|
|
100625
|
-
|
|
100626
|
-
|
|
100627
|
-
|
|
100628
|
-
|
|
100629
|
-
|
|
100630
|
-
|
|
100631
|
-
|
|
100632
|
-
|
|
100633
|
-
|
|
100634
|
-
|
|
100635
|
-
|
|
100636
|
-
|
|
100637
|
-
|
|
100638
|
-
|
|
100639
|
-
|
|
100640
|
-
|
|
100641
|
-
|
|
100642
|
-
|
|
100643
|
-
|
|
100644
|
-
|
|
100622
|
+
Wi as c0,
|
|
100623
|
+
qi as c1,
|
|
100624
|
+
wi as c2,
|
|
100625
|
+
Gi as c3,
|
|
100626
|
+
bM as c4,
|
|
100627
|
+
yM as c5,
|
|
100628
|
+
vM as c6,
|
|
100629
|
+
xM as c7,
|
|
100630
|
+
wM as c8,
|
|
100631
|
+
SM as c9,
|
|
100632
|
+
Dh as cA,
|
|
100633
|
+
vQe as cB,
|
|
100634
|
+
E3 as cC,
|
|
100635
|
+
cge as cD,
|
|
100636
|
+
xQe as cE,
|
|
100637
|
+
LKe as cF,
|
|
100638
|
+
cw as cG,
|
|
100639
|
+
gr as cH,
|
|
100640
|
+
VFe as cI,
|
|
100641
|
+
s$ as cJ,
|
|
100642
|
+
KXe as cK,
|
|
100643
|
+
Tte as cL,
|
|
100644
|
+
ab as cM,
|
|
100645
100645
|
lee as cN,
|
|
100646
100646
|
jke as cO,
|
|
100647
100647
|
Hke as cP,
|
|
@@ -100656,32 +100656,32 @@ export {
|
|
|
100656
100656
|
Qf as cY,
|
|
100657
100657
|
jR as cZ,
|
|
100658
100658
|
Gv as c_,
|
|
100659
|
-
|
|
100660
|
-
|
|
100661
|
-
|
|
100662
|
-
|
|
100663
|
-
|
|
100664
|
-
|
|
100665
|
-
|
|
100666
|
-
|
|
100667
|
-
|
|
100668
|
-
|
|
100669
|
-
|
|
100670
|
-
|
|
100671
|
-
|
|
100672
|
-
|
|
100673
|
-
|
|
100674
|
-
|
|
100675
|
-
|
|
100676
|
-
|
|
100677
|
-
|
|
100678
|
-
|
|
100679
|
-
|
|
100680
|
-
|
|
100681
|
-
|
|
100682
|
-
|
|
100683
|
-
|
|
100684
|
-
|
|
100659
|
+
Ufe as ca,
|
|
100660
|
+
k9 as cb,
|
|
100661
|
+
tf as cc,
|
|
100662
|
+
iS as cd,
|
|
100663
|
+
Qi as ce,
|
|
100664
|
+
Q_ as cf,
|
|
100665
|
+
rue as cg,
|
|
100666
|
+
Bs as ch,
|
|
100667
|
+
Zoe as ci,
|
|
100668
|
+
vue as cj,
|
|
100669
|
+
nXe as ck,
|
|
100670
|
+
R8 as cl,
|
|
100671
|
+
ov as cm,
|
|
100672
|
+
Rce as cn,
|
|
100673
|
+
BXe as co,
|
|
100674
|
+
$s as cp,
|
|
100675
|
+
cL as cq,
|
|
100676
|
+
Bx as cr,
|
|
100677
|
+
Ch as cs,
|
|
100678
|
+
tc as ct,
|
|
100679
|
+
c0 as cu,
|
|
100680
|
+
ig as cv,
|
|
100681
|
+
bx as cw,
|
|
100682
|
+
yx as cx,
|
|
100683
|
+
vx as cy,
|
|
100684
|
+
bf as cz,
|
|
100685
100685
|
zXe as d,
|
|
100686
100686
|
nz as d$,
|
|
100687
100687
|
gAe as d0,
|
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-Bei7De_X.js"),C=require("./types/index.cjs"),s=require("./chunks/dashboard-plus-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-Bei7De_X.js"),C=require("./types/index.cjs"),s=require("./chunks/dashboard-plus-BziOGUHY.js"),o=require("react/jsx-runtime"),T=require("react");require("react-dom");function h(a){const{displayPreferences:i,...u}=a,d={...u,id:a.dashboardId};return o.jsx(e.ErrorBoundary,{FallbackComponent:e.Fallback,children:o.jsx(e.SemaphorContextProvider,{dashboardProps:d,children:o.jsx(e.UXProvider,{children:o.jsx(e.DisplayPreferencesProvider,{displayPreferences:i,children:o.jsx(e.Container,{type:"visual",...d,children:o.jsx(g,{cardId:a.cardId})})})})})})}function g({cardId:a}){const i=e.useDashboardStore(t=>{var n;return(n=t.dashboard)==null?void 0:n.sheets}),{card:u,frame:d}=T.useMemo(()=>{const t=i==null?void 0:i.flatMap(r=>r.frames),n=t==null?void 0:t.flatMap(r=>r==null?void 0:r.cards),c=n==null?void 0:n.find(r=>(r==null?void 0:r.id)===a),M=t==null?void 0:t.find(r=>{var Y;return(Y=r==null?void 0:r.cards)==null?void 0:Y.find(l=>(l==null?void 0:l.id)===a)});return{card:c,frame:M}},[i,a]);return!u||!d?o.jsx(e.FallbackVisual,{error:new Error("Card not found"),resetErrorBoundary:()=>{},customerFacingMessage:`Card not found with ID: ${a}`}):o.jsx("main",{className:"flex h-full grow flex-col",children:o.jsx(e.ErrorBoundary,{FallbackComponent:({error:t,resetErrorBoundary:n})=>o.jsx(e.FallbackVisual,{error:t,resetErrorBoundary:n,customerFacingMessage:"Error creating visual. Please try again."}),children:o.jsx(e.DashboardCard,{card:u,frame:d})})})}const S=["MM-DD-YYYY","YYYY-MM-DD","MM/DD/YYYY","DD/MM/YYYY","MMMM DD, YYYY","MMM DD, YYYY","DD MMM YYYY","Week of MMM DD, YYYY","Week of MMMM DD, YYYY","YYYY-WW","MMM YYYY","MMMM YYYY","YYYY-MM","MM/YYYY","YYYY MMM","Q1 YYYY","YYYY Q1","1st Quarter YYYY","YYYY-Q1","Quarter 1, YYYY","YYYY","YY","custom"];var D=(a=>(a.SUBTOTAL="__SUBTOTAL__",a.TOTAL="__TOTAL__",a.ALL="__ALL__",a))(D||{});exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;exports.ResourceType=e.ResourceType;exports.SemaphorContextProvider=e.SemaphorContextProvider;exports.SemaphorDataProvider=e.SemaphorQueryClient;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.createSqlGenConfig=e.createSqlGenConfig;exports.downloadPdf=e.downloadPdf;exports.fmt=e.fmt;exports.getColumnDataType=e.getColumnDataType;exports.getFilterValueType=e.getFilterValueType;exports.getFormattedTableNameForQuery=e.getFormattedTableNameForQuery;exports.getQualifiedTableName=e.getQualifiedTableName;exports.getSql=e.getSql;exports.invalidateToken=e.invalidateToken;exports.isBooleanDataType=e.isBooleanDataType;exports.isColumnInSqlGen=e.isColumnInSqlGen;exports.isDateDataType=e.isDateDataType;exports.isNumberDataType=e.isNumberDataType;exports.isTextDataType=e.isTextDataType;exports.resolveDataType=e.resolveDataType;exports.resolveDatamodelName=e.resolveDatamodelName;exports.useCard=e.useCard;exports.useCurrentActiveCard=e.useCurrentActiveCard;exports.useCurrentCardConfig=e.useCurrentCardConfig;exports.useCurrentSheetActiveCards=e.useCurrentSheetActiveCards;exports.useDashboardActions=e.useDashboardActions;exports.useDashboardStore=e.useDashboardStore;exports.useDataColumns=e.useDataColumns;exports.useDateFilterHook=e.useDateFilterHook;exports.useEditorActions=e.useEditorActions;exports.useEditorAside=e.useEditorAside;exports.useEditorStore=e.useEditorStore;exports.useTextFilterHook=e.useTextFilterHook;exports.EMPTY_SELECTION=C.EMPTY_SELECTION;exports.AdvancedModeToggle=s.AdvancedModeToggle;exports.ResourceManagementPanel=s.ResourceManagementPanel;exports.ScheduleDashboard=s.ScheduleDashboard;exports.SelectComponent=s.SelectComponent;exports.ShareDialog=s.ShareDialog;exports.Surfboard=s.DashboardPlus;exports.VisualBadge=s.VisualBadge;exports.VisualEditingControls=s.VisualEditingControls;exports.cleanCard=s.cleanCard;exports.getDashbaordStateWithoutData=s.getDashbaordStateWithoutData;exports.DATE_FORMAT_VALUES=S;exports.PivotMarkerEnum=D;exports.Visual=h;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { E as u, F as c, S as h, U as f, a as p, C as T, u as m, b as l, c as C } from "./chunks/index-
|
|
2
|
-
import { D as L, h as k, R as Q, f as V, f as B, r as w, j as N, l as O, t as W, s as R, x as U, y as q, q as I, i as G, p as H, v as j, o as z, n as J, m as K, z as X, w as $, g as Z, B as aa, H as ea, G as sa, I as ra, k as oa, d as ta, K as Ya, A as na, J as ia, e as da } from "./chunks/index-
|
|
1
|
+
import { E as u, F as c, S as h, U as f, a as p, C as T, u as m, b as l, c as C } from "./chunks/index-Ogr2Fiop.js";
|
|
2
|
+
import { D as L, h as k, R as Q, f as V, f as B, r as w, j as N, l as O, t as W, s as R, x as U, y as q, q as I, i as G, p as H, v as j, o as z, n as J, m as K, z as X, w as $, g as Z, B as aa, H as ea, G as sa, I as ra, k as oa, d as ta, K as Ya, A as na, J as ia, e as da } from "./chunks/index-Ogr2Fiop.js";
|
|
3
3
|
import { EMPTY_SELECTION as ua } from "./types/index.js";
|
|
4
|
-
import { A as Da, R as ca, b as ha, c as fa, S as pa, D as Ta, a as ma, V as Ca, d as ga, g as ba } from "./chunks/dashboard-plus-
|
|
4
|
+
import { A as Da, R as ca, b as ha, c as fa, S as pa, D as Ta, a as ma, V as Ca, d as ga, g as ba } from "./chunks/dashboard-plus-_sW6_bTD.js";
|
|
5
5
|
import { jsx as s } from "react/jsx-runtime";
|
|
6
6
|
import { useMemo as g } from "react";
|
|
7
7
|
import "react-dom";
|
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-BziOGUHY.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED