react-semaphor 0.1.182 → 0.1.184
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/calendar-preferences-dialog-D9oF_URo.js +1 -0
- package/dist/chunks/calendar-preferences-dialog-DeXKY9JD.js +457 -0
- package/dist/chunks/common-types-CfJLrTJd.js +1 -0
- package/dist/chunks/common-types-DhqlRVrq.js +8 -0
- package/dist/chunks/{dashboard-controls-pGlGtKRR.js → dashboard-controls-CB8282ob.js} +8 -8
- package/dist/chunks/{dashboard-controls-BnBXzFOj.js → dashboard-controls-lRs5t5cg.js} +499 -484
- package/dist/chunks/{dashboard-json-UVBr47Qj.js → dashboard-json-BmzqRV5Q.js} +1 -1
- package/dist/chunks/{dashboard-json-CiIyCwJi.js → dashboard-json-Brn4hMd-.js} +1 -1
- package/dist/chunks/date-formatter-Sz6QDaM8.js +1 -0
- package/dist/chunks/{index-B4EhQdS9.js → date-formatter-Y8Za1ib3.js} +500 -544
- package/dist/chunks/{edit-dashboard-visual-DoP_x_tT.js → edit-dashboard-visual--FJBg3i3.js} +914 -914
- package/dist/chunks/{edit-dashboard-visual-CXvyi_qa.js → edit-dashboard-visual-DNq8ni5W.js} +8 -8
- package/dist/chunks/{editor-action-buttons-5UEhKl88.js → editor-action-buttons-COCkxvCM.js} +27 -27
- package/dist/chunks/{editor-action-buttons-Bftd6Bfx.js → editor-action-buttons-RPpMm3Zr.js} +1 -1
- package/dist/chunks/{index-ahdw_esL.js → index-CyYJ0bVW.js} +24904 -24743
- package/dist/chunks/{index-D59dkH2b.js → index-Dz2kwOQh.js} +229 -229
- package/dist/chunks/{notification-bell-CKI2j8jH.js → notification-bell-B86bWytX.js} +109 -109
- package/dist/chunks/{notification-bell-DtWcBdzp.js → notification-bell-Bdk-qQIx.js} +2 -2
- package/dist/chunks/{resource-management-panel-qkl060k8.js → resource-management-panel-BZKSwkRq.js} +160 -160
- package/dist/chunks/{resource-management-panel-BLiCtZZE.js → resource-management-panel-CvKBoIFQ.js} +1 -1
- package/dist/chunks/{use-role-aware-display-preferences-CLf3yEts.js → use-role-aware-display-preferences-D-jgaajh.js} +1 -1
- package/dist/chunks/{use-role-aware-display-preferences-JstD5WLE.js → use-role-aware-display-preferences-Kxc427Zx.js} +1 -1
- package/dist/chunks/{use-visual-utils-TGjvLx_R.js → use-visual-utils-Du4NIgMk.js} +1 -1
- package/dist/chunks/{use-visual-utils-BbN7rxtD.js → use-visual-utils-DwQQN6wI.js} +33 -33
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +3 -3
- package/dist/format-utils/index.cjs +5 -5
- package/dist/format-utils/index.js +200 -250
- package/dist/index.cjs +1 -1
- package/dist/index.js +75 -71
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +6 -4
- package/dist/types/dashboard.d.ts +6 -2
- package/dist/types/format-utils.d.ts +43 -20
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.js +8 -5
- package/dist/types/main.d.ts +99 -9
- package/dist/types/surfboard.d.ts +13 -2
- package/dist/types/types.d.ts +319 -2
- package/package.json +1 -1
- package/dist/chunks/index-8Crk3ROJ.js +0 -1
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-Dz2kwOQh.js"),P=require("./chunks/common-types-CfJLrTJd.js"),v=require("./chunks/calendar-preferences-dialog-D9oF_URo.js"),o=require("react/jsx-runtime"),f=require("react"),A=require("./chunks/resource-management-panel-CvKBoIFQ.js"),N=require("./types/index.cjs"),i=require("./chunks/notification-bell-Bdk-qQIx.js");require("react-dom");function j(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const s in r)if(s!=="default"){const l=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(t,s,l.get?l:{enumerable:!0,get:()=>r[s]})}}return t.default=r,Object.freeze(t)}const x=j(f);function _(r){const{displayPreferences:t,...s}=r,l={...s,id:r.dashboardId};return o.jsx(e.ErrorBoundary,{FallbackComponent:e.Fallback,children:o.jsxs(e.SemaphorContextProvider,{dashboardProps:l,children:[o.jsx(e.SemaphorReadyIndicator,{componentType:"visual",componentId:r.cardId}),o.jsx(e.UXProvider,{children:o.jsx(e.DisplayPreferencesProvider,{displayPreferences:t,children:o.jsx(e.Container,{type:"visual",...l,children:o.jsx(M,{cardId:r.cardId})})})})]})})}function M({cardId:r}){const t=e.useDashboardStore(n=>{var u;return(u=n.dashboard)==null?void 0:u.sheets}),{card:s,frame:l}=f.useMemo(()=>{const n=t==null?void 0:t.flatMap(a=>a.frames),u=n==null?void 0:n.flatMap(a=>a==null?void 0:a.cards),m=u==null?void 0:u.find(a=>(a==null?void 0:a.id)===r),E=n==null?void 0:n.find(a=>{var h;return(h=a==null?void 0:a.cards)==null?void 0:h.find(c=>(c==null?void 0:c.id)===r)});return{card:m,frame:E}},[t,r]);return!s||!l?o.jsx(e.FallbackVisual,{error:new Error("Card not found"),resetErrorBoundary:()=>{},customerFacingMessage:`Card not found with ID: ${r}`}):o.jsx("main",{className:"flex h-full grow flex-col",children:o.jsx(e.ErrorBoundary,{FallbackComponent:({error:n,resetErrorBoundary:u})=>o.jsx(e.FallbackVisual,{error:n,resetErrorBoundary:u,customerFacingMessage:"Error creating visual. Please try again."}),children:o.jsx(e.DashboardCard,{card:s,frame:l})})})}function w({name:r,items:t,value:s,onChange:l,isLoading:n,isError:u,refetch:m,className:E,icon:a,showNone:h=!1}){const c=x.useRef(null),[D,g]=x.useState(!1),[T,b]=x.useState("100%"),C=h?[...t||[],{id:"none",name:"None"}]:t;x.useLayoutEffect(()=>{c.current&&b(c.current.offsetWidth)},[]);function S(){var d;return n?"Loading...":u?"Error":s?(d=t==null?void 0:t.find(p=>p.id===s))==null?void 0:d.name:`Select ${r}`}function y(d,p){l(p),g(!1)}return o.jsxs(e.Popover,{open:D,onOpenChange:g,children:[o.jsx(e.PopoverTrigger,{asChild:!0,children:o.jsxs(e.Button,{ref:c,variant:"outline",role:"combobox","aria-expanded":D,className:e.cn("flex h-9 w-full justify-between",E),children:[o.jsxs("div",{className:"flex items-center gap-2",children:[a&&o.jsx("div",{className:"mr-2",children:a}),o.jsx("span",{className:"max-w-[150px] overflow-hidden truncate text-ellipsis whitespace-nowrap",children:S()})]}),o.jsx(e.ChevronDown,{className:"size-4 opacity-50"})]})}),o.jsx(e.PopoverContent,{className:"w-full p-0",style:{minWidth:T},children:o.jsxs(e.Command,{children:[o.jsxs("div",{className:"flex h-9 items-center justify-between border-b pr-1",children:[o.jsx(e.CommandInput,{className:"h-9",placeholder:"Search..."}),o.jsx(e.IconButton,{className:"h-7",onClick:m,children:o.jsx(i.RefreshCw,{className:e.cn("size-3.5 opacity-50",n&&"animate-spin")})})]}),o.jsxs(e.CommandList,{children:[o.jsxs(e.CommandEmpty,{children:["No ",r==null?void 0:r.toLowerCase()," found."]}),o.jsx(e.CommandGroup,{children:C==null?void 0:C.map(d=>o.jsx(e.CommandItem,{className:"overflow-x-auto",value:d.name,onSelect:p=>y(p,d.id),children:o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(e.Check,{className:e.cn("size-4",s===d.id?"opacity-100":"opacity-0")}),o.jsx("div",{title:d.name,children:d.name})]})},d.id))})]})]})})]})}function I(r,t){f.useEffect(()=>(r&&t&&(window.__SEMAPHOR_PRINT_STATE__={...t}),()=>{r&&window.__SEMAPHOR_PRINT_STATE__&&delete window.__SEMAPHOR_PRINT_STATE__}),[r,t])}exports.CALCULATED_FIELD_ENTITY_MARKER=e.CALCULATED_FIELD_ENTITY_MARKER;exports.DATE_FORMAT_VALUES=e.DATE_FORMAT_VALUES;exports.Dashboard=e.Dashboard;exports.DashboardExportDialog=e.DashboardExportDialog;exports.DashboardWC=e.DashboardWC;exports.ExportError=e.ExportError;exports.PivotMarkerEnum=e.PivotMarkerEnum;exports.ResourceType=e.ResourceType;exports.SemaphorContextProvider=e.SemaphorContextProvider;exports.SemaphorDataProvider=e.SemaphorQueryClient;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.ShareDialog=e.ShareDialog;exports.Surfboard=e.DashboardPlus;exports.cancelExport=e.cancelExport;exports.cloneDeep=e.cloneDeep;exports.createEmptyKpiConfig=e.createEmptyKpiConfig;exports.createExport=e.createExport;exports.createSqlGenConfig=e.createSqlGenConfig;exports.downloadPdf=e.downloadPdf;exports.emitDashboardLoad=e.emitDashboardLoad;exports.emitDashboardUnload=e.emitDashboardUnload;exports.fmt=e.fmt;exports.formatFileSize=e.formatFileSize;exports.getColumnDataType=e.getColumnDataType;exports.getDownloadUrl=e.getDownloadUrl;exports.getExportStatus=e.getExportStatus;exports.getExports=e.getExports;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.isCalculatedDimension=e.isCalculatedDimension;exports.isCalculatedField=e.isCalculatedField;exports.isCalculatedMetric=e.isCalculatedMetric;exports.isColumnInSqlGen=e.isColumnInSqlGen;exports.isDateDataType=e.isDateDataType;exports.isExportComplete=e.isExportComplete;exports.isExportInProgress=e.isExportInProgress;exports.isNumberDataType=e.isNumberDataType;exports.isTextDataType=e.isTextDataType;exports.resolveDataType=e.resolveDataType;exports.resolveDatamodelName=e.resolveDatamodelName;exports.useActiveExports=e.useActiveExports;exports.useCard=e.useCard;exports.useCurrentActiveCard=e.useCurrentActiveCard;exports.useCurrentCardConfig=e.useCurrentCardConfig;exports.useCurrentSheetActiveCards=e.useCurrentSheetActiveCards;exports.useDashboardActions=e.useDashboardActions;exports.useDashboardById=e.useDashboardById;exports.useDashboardQuery=e.useDashboardQuery;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.useExportActions=e.useExportActions;exports.useExportStore=e.useExportStore;exports.useInProgressExportsCount=e.useInProgressExportsCount;exports.useManagementStore=e.useManagementStore;exports.useResourceManagement=e.useResourceManagement;exports.useTextFilterHook=e.useTextFilterHook;exports.EMPTY_SELECTION=P.EMPTY_SELECTION;exports.CalendarPreferencesDialog=v.CalendarPreferencesDialog;exports.ResourceManagementPanel=A.ResourceManagementPanel;exports.DEFAULT_CALENDAR_CONTEXT=N.DEFAULT_CALENDAR_CONTEXT;exports.AdvancedModeToggle=i.AdvancedModeToggle;exports.ExportNotificationItem=i.ExportNotificationItem;exports.ExportNotificationList=i.ExportNotificationList;exports.NotificationBell=i.NotificationBell;exports.ScheduleDashboard=i.ScheduleDashboard;exports.UnsavedChangesAlert=i.UnsavedChangesAlert;exports.VisualEditingControls=i.VisualEditingControls;exports.useExportPolling=i.useExportPolling;exports.useExportRecovery=i.useExportRecovery;exports.usePristineSnapshotInitializer=i.usePristineSnapshotInitializer;exports.Combobox=w;exports.Visual=_;exports.useExposePrintState=I;
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { J as T, K as S, S as P, M as _, U as A, N as w, O as M, u as I, Q as D, T as R, P as F, s as L, B as k, c as E, V as O, t as B, v as U, w as V, W as z, x as H, y as Q, z as W, A as j, E as q } from "./chunks/index-CyYJ0bVW.js";
|
|
2
|
+
import { ai as ia, aj as la, D as da, ac as ca, a6 as ua, aP as pa, an as ma, _ as ha, a1 as fa, a1 as Ca, a2 as Ea, a as xa, aO as ga, a9 as Da, aH as Ta, aK as ba, au as va, ab as ya, a7 as Na, a8 as Sa, ao as Pa, aS as _a, aw as Aa, aN as wa, aM as Ma, aL as Ia, av as Ra, az as Fa, aA as La, at as ka, aa as Oa, as as Ba, al as Ua, am as Va, ak as za, ax as Ha, ar as Qa, aR as Wa, aQ as ja, aq as qa, ap as Ga, aB as Ka, ay as Ya, ag as $a, a5 as Ja, aD as Xa, aF as Za, aE as ae, aG as ee, a4 as se, Z as oe, ad as re, $ as te, aJ as ne, aC as ie, aI as le, af as de, ae as ce, ah as ue, Y as pe, a3 as me, a0 as he } from "./chunks/index-CyYJ0bVW.js";
|
|
3
|
+
import { E as Ce } from "./chunks/common-types-DhqlRVrq.js";
|
|
4
|
+
import { C as xe } from "./chunks/calendar-preferences-dialog-DeXKY9JD.js";
|
|
4
5
|
import { jsx as a, jsxs as i } from "react/jsx-runtime";
|
|
5
|
-
import * as
|
|
6
|
+
import * as m from "react";
|
|
6
7
|
import { useMemo as G, useEffect as K } from "react";
|
|
7
|
-
import { ResourceManagementPanel as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { ResourceManagementPanel as De } from "./chunks/resource-management-panel-BZKSwkRq.js";
|
|
9
|
+
import { DEFAULT_CALENDAR_CONTEXT as be } from "./types/index.js";
|
|
10
|
+
import { R as Y } from "./chunks/notification-bell-B86bWytX.js";
|
|
11
|
+
import { A as ye, a as Ne, E as Se, N as Pe, S as _e, U as Ae, V as we, u as Me, b as Ie, c as Re } from "./chunks/notification-bell-B86bWytX.js";
|
|
10
12
|
import "react-dom";
|
|
11
13
|
function sa(e) {
|
|
12
14
|
const { displayPreferences: s, ...l } = e, d = {
|
|
@@ -14,23 +16,23 @@ function sa(e) {
|
|
|
14
16
|
id: e.dashboardId
|
|
15
17
|
// override the id to the dashboard id so that the dashboard is not loaded
|
|
16
18
|
};
|
|
17
|
-
return /* @__PURE__ */ a(
|
|
18
|
-
/* @__PURE__ */ a(
|
|
19
|
-
/* @__PURE__ */ a(
|
|
19
|
+
return /* @__PURE__ */ a(T, { FallbackComponent: S, children: /* @__PURE__ */ i(P, { dashboardProps: d, children: [
|
|
20
|
+
/* @__PURE__ */ a(_, { componentType: "visual", componentId: e.cardId }),
|
|
21
|
+
/* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(w, { displayPreferences: s, children: /* @__PURE__ */ a(M, { type: "visual", ...d, children: /* @__PURE__ */ a($, { cardId: e.cardId }) }) }) })
|
|
20
22
|
] }) });
|
|
21
23
|
}
|
|
22
24
|
function $({ cardId: e }) {
|
|
23
|
-
const s =
|
|
25
|
+
const s = I((r) => {
|
|
24
26
|
var t;
|
|
25
27
|
return (t = r.dashboard) == null ? void 0 : t.sheets;
|
|
26
28
|
}), { card: l, frame: d } = G(() => {
|
|
27
|
-
const r = s == null ? void 0 : s.flatMap((o) => o.frames), t = r == null ? void 0 : r.flatMap((o) => o == null ? void 0 : o.cards),
|
|
29
|
+
const r = s == null ? void 0 : s.flatMap((o) => o.frames), t = r == null ? void 0 : r.flatMap((o) => o == null ? void 0 : o.cards), h = t == null ? void 0 : t.find((o) => (o == null ? void 0 : o.id) === e), f = r == null ? void 0 : r.find(
|
|
28
30
|
(o) => {
|
|
29
31
|
var p;
|
|
30
32
|
return (p = o == null ? void 0 : o.cards) == null ? void 0 : p.find((c) => (c == null ? void 0 : c.id) === e);
|
|
31
33
|
}
|
|
32
34
|
);
|
|
33
|
-
return { card:
|
|
35
|
+
return { card: h, frame: f };
|
|
34
36
|
}, [s, e]);
|
|
35
37
|
return !l || !d ? /* @__PURE__ */ a(
|
|
36
38
|
D,
|
|
@@ -41,7 +43,7 @@ function $({ cardId: e }) {
|
|
|
41
43
|
customerFacingMessage: `Card not found with ID: ${e}`
|
|
42
44
|
}
|
|
43
45
|
) : /* @__PURE__ */ a("main", { className: "flex h-full grow flex-col", children: /* @__PURE__ */ a(
|
|
44
|
-
|
|
46
|
+
T,
|
|
45
47
|
{
|
|
46
48
|
FallbackComponent: ({
|
|
47
49
|
error: r,
|
|
@@ -65,25 +67,25 @@ function oa({
|
|
|
65
67
|
onChange: d,
|
|
66
68
|
isLoading: r,
|
|
67
69
|
isError: t,
|
|
68
|
-
refetch:
|
|
70
|
+
refetch: h,
|
|
69
71
|
className: f,
|
|
70
72
|
icon: o,
|
|
71
73
|
showNone: p = !1
|
|
72
74
|
}) {
|
|
73
|
-
const c =
|
|
74
|
-
|
|
75
|
-
c.current &&
|
|
75
|
+
const c = m.useRef(null), [x, g] = m.useState(!1), [b, v] = m.useState("100%"), C = p ? [...s || [], { id: "none", name: "None" }] : s;
|
|
76
|
+
m.useLayoutEffect(() => {
|
|
77
|
+
c.current && v(c.current.offsetWidth);
|
|
76
78
|
}, []);
|
|
77
|
-
function
|
|
79
|
+
function y() {
|
|
78
80
|
var n;
|
|
79
81
|
return r ? "Loading..." : t ? "Error" : l ? (n = s == null ? void 0 : s.find((u) => u.id === l)) == null ? void 0 : n.name : `Select ${e}`;
|
|
80
82
|
}
|
|
81
|
-
function
|
|
83
|
+
function N(n, u) {
|
|
82
84
|
d(u), g(!1);
|
|
83
85
|
}
|
|
84
86
|
return /* @__PURE__ */ i(F, { open: x, onOpenChange: g, children: [
|
|
85
|
-
/* @__PURE__ */ a(
|
|
86
|
-
|
|
87
|
+
/* @__PURE__ */ a(L, { asChild: !0, children: /* @__PURE__ */ i(
|
|
88
|
+
k,
|
|
87
89
|
{
|
|
88
90
|
ref: c,
|
|
89
91
|
variant: "outline",
|
|
@@ -93,21 +95,21 @@ function oa({
|
|
|
93
95
|
children: [
|
|
94
96
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
95
97
|
o && /* @__PURE__ */ a("div", { className: "mr-2", children: o }),
|
|
96
|
-
/* @__PURE__ */ a("span", { className: "max-w-[150px] overflow-hidden truncate text-ellipsis whitespace-nowrap", children:
|
|
98
|
+
/* @__PURE__ */ a("span", { className: "max-w-[150px] overflow-hidden truncate text-ellipsis whitespace-nowrap", children: y() })
|
|
97
99
|
] }),
|
|
98
|
-
/* @__PURE__ */ a(
|
|
100
|
+
/* @__PURE__ */ a(O, { className: "size-4 opacity-50" })
|
|
99
101
|
]
|
|
100
102
|
}
|
|
101
103
|
) }),
|
|
102
104
|
/* @__PURE__ */ a(
|
|
103
|
-
|
|
105
|
+
B,
|
|
104
106
|
{
|
|
105
107
|
className: "w-full p-0",
|
|
106
|
-
style: { minWidth:
|
|
107
|
-
children: /* @__PURE__ */ i(
|
|
108
|
+
style: { minWidth: b },
|
|
109
|
+
children: /* @__PURE__ */ i(U, { children: [
|
|
108
110
|
/* @__PURE__ */ i("div", { className: "flex h-9 items-center justify-between border-b pr-1", children: [
|
|
109
|
-
/* @__PURE__ */ a(
|
|
110
|
-
/* @__PURE__ */ a(z, { className: "h-7", onClick:
|
|
111
|
+
/* @__PURE__ */ a(V, { className: "h-9", placeholder: "Search..." }),
|
|
112
|
+
/* @__PURE__ */ a(z, { className: "h-7", onClick: h, children: /* @__PURE__ */ a(
|
|
111
113
|
Y,
|
|
112
114
|
{
|
|
113
115
|
className: E(
|
|
@@ -118,20 +120,20 @@ function oa({
|
|
|
118
120
|
) })
|
|
119
121
|
] }),
|
|
120
122
|
/* @__PURE__ */ i(H, { children: [
|
|
121
|
-
/* @__PURE__ */ i(
|
|
123
|
+
/* @__PURE__ */ i(Q, { children: [
|
|
122
124
|
"No ",
|
|
123
125
|
e == null ? void 0 : e.toLowerCase(),
|
|
124
126
|
" found."
|
|
125
127
|
] }),
|
|
126
|
-
/* @__PURE__ */ a(
|
|
127
|
-
|
|
128
|
+
/* @__PURE__ */ a(W, { children: C == null ? void 0 : C.map((n) => /* @__PURE__ */ a(
|
|
129
|
+
j,
|
|
128
130
|
{
|
|
129
131
|
className: "overflow-x-auto",
|
|
130
132
|
value: n.name,
|
|
131
|
-
onSelect: (u) =>
|
|
133
|
+
onSelect: (u) => N(u, n.id),
|
|
132
134
|
children: /* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
133
135
|
/* @__PURE__ */ a(
|
|
134
|
-
|
|
136
|
+
q,
|
|
135
137
|
{
|
|
136
138
|
className: E(
|
|
137
139
|
"size-4",
|
|
@@ -158,58 +160,60 @@ function ra(e, s) {
|
|
|
158
160
|
}), [e, s]);
|
|
159
161
|
}
|
|
160
162
|
export {
|
|
161
|
-
|
|
163
|
+
ye as AdvancedModeToggle,
|
|
162
164
|
ia as CALCULATED_FIELD_ENTITY_MARKER,
|
|
165
|
+
xe as CalendarPreferencesDialog,
|
|
163
166
|
oa as Combobox,
|
|
164
167
|
la as DATE_FORMAT_VALUES,
|
|
168
|
+
be as DEFAULT_CALENDAR_CONTEXT,
|
|
165
169
|
da as Dashboard,
|
|
166
170
|
ca as DashboardExportDialog,
|
|
167
171
|
ua as DashboardWC,
|
|
168
172
|
Ce as EMPTY_SELECTION,
|
|
169
173
|
pa as ExportError,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
Ne as ExportNotificationItem,
|
|
175
|
+
Se as ExportNotificationList,
|
|
176
|
+
Pe as NotificationBell,
|
|
177
|
+
ma as PivotMarkerEnum,
|
|
178
|
+
De as ResourceManagementPanel,
|
|
179
|
+
ha as ResourceType,
|
|
180
|
+
_e as ScheduleDashboard,
|
|
177
181
|
P as SemaphorContextProvider,
|
|
178
182
|
fa as SemaphorDataProvider,
|
|
179
183
|
Ca as SemaphorQueryClient,
|
|
180
184
|
Ea as ShareDialog,
|
|
181
185
|
xa as Surfboard,
|
|
182
|
-
|
|
186
|
+
Ae as UnsavedChangesAlert,
|
|
183
187
|
sa as Visual,
|
|
184
|
-
|
|
188
|
+
we as VisualEditingControls,
|
|
185
189
|
ga as cancelExport,
|
|
186
190
|
Da as cloneDeep,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
Ta as createEmptyKpiConfig,
|
|
192
|
+
ba as createExport,
|
|
193
|
+
va as createSqlGenConfig,
|
|
194
|
+
ya as downloadPdf,
|
|
195
|
+
Na as emitDashboardLoad,
|
|
196
|
+
Sa as emitDashboardUnload,
|
|
193
197
|
Pa as fmt,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
198
|
+
_a as formatFileSize,
|
|
199
|
+
Aa as getColumnDataType,
|
|
200
|
+
wa as getDownloadUrl,
|
|
201
|
+
Ma as getExportStatus,
|
|
202
|
+
Ia as getExports,
|
|
199
203
|
Ra as getFilterValueType,
|
|
200
204
|
Fa as getFormattedTableNameForQuery,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
La as getQualifiedTableName,
|
|
206
|
+
ka as getSql,
|
|
207
|
+
Oa as invalidateToken,
|
|
208
|
+
Ba as isBooleanDataType,
|
|
209
|
+
Ua as isCalculatedDimension,
|
|
210
|
+
Va as isCalculatedField,
|
|
207
211
|
za as isCalculatedMetric,
|
|
208
212
|
Ha as isColumnInSqlGen,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
+
Qa as isDateDataType,
|
|
214
|
+
Wa as isExportComplete,
|
|
215
|
+
ja as isExportInProgress,
|
|
216
|
+
qa as isNumberDataType,
|
|
213
217
|
Ga as isTextDataType,
|
|
214
218
|
Ka as resolveDataType,
|
|
215
219
|
Ya as resolveDatamodelName,
|
|
@@ -221,20 +225,20 @@ export {
|
|
|
221
225
|
ee as useDashboardActions,
|
|
222
226
|
se as useDashboardById,
|
|
223
227
|
oe as useDashboardQuery,
|
|
224
|
-
|
|
228
|
+
I as useDashboardStore,
|
|
225
229
|
re as useDataColumns,
|
|
226
230
|
te as useDateFilterHook,
|
|
227
231
|
ne as useEditorActions,
|
|
228
232
|
ie as useEditorAside,
|
|
229
233
|
le as useEditorStore,
|
|
230
234
|
de as useExportActions,
|
|
231
|
-
|
|
232
|
-
|
|
235
|
+
Me as useExportPolling,
|
|
236
|
+
Ie as useExportRecovery,
|
|
233
237
|
ce as useExportStore,
|
|
234
238
|
ra as useExposePrintState,
|
|
235
239
|
ue as useInProgressExportsCount,
|
|
236
240
|
pe as useManagementStore,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
241
|
+
Re as usePristineSnapshotInitializer,
|
|
242
|
+
me as useResourceManagement,
|
|
243
|
+
he as useTextFilterHook
|
|
240
244
|
};
|