react-semaphor 0.0.5323 → 0.0.5921
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-BbSiLlXL.js +20527 -0
- package/dist/chunks/dashboard-plus-eWa7yST3.js +346 -0
- package/dist/chunks/index-BoQ03saJ.js +859 -0
- package/dist/chunks/{index-DORmhDA9.js → index-s7sbyt-u.js} +44445 -32932
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +64 -41
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +127 -4
- package/dist/types/main.d.ts +242 -9
- package/dist/types/surfboard.d.ts +127 -4
- package/dist/types/types.d.ts +126 -3
- package/package.json +9 -7
- package/dist/chunks/dashboard-plus-Bhud1IPW.js +0 -375
- package/dist/chunks/dashboard-plus-CNVP0HeC.js +0 -13427
- package/dist/chunks/index-By9l1g-q.js +0 -638
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-BoQ03saJ.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 +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-BoQ03saJ.js"),o=require("./types/index.cjs"),a=require("./chunks/dashboard-plus-eWa7yST3.js");require("react/jsx-runtime");require("react");require("react-dom");const Y=["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 r=(t=>(t.SUBTOTAL="__SUBTOTAL__",t.TOTAL="__TOTAL__",t.ALL="__ALL__",t))(r||{});exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;exports.SemaphorContextProvider=e.SemaphorContextProvider;exports.SemaphorDataProvider=e.SemaphorQueryClient;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.createSqlGenConfig=e.createSqlGenConfig;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=o.EMPTY_SELECTION;exports.ResourceManagementPanel=a.ResourceManagementPanel;exports.ScheduleDashboard=a.ScheduleDashboard;exports.SelectComponent=a.SelectComponent;exports.Surfboard=a.DashboardPlus;exports.cleanCard=a.cleanCard;exports.downloadPdf=a.downloadPdf;exports.getDashbaordStateWithoutData=a.getDashbaordStateWithoutData;exports.DATE_FORMAT_VALUES=Y;exports.PivotMarkerEnum=r;
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { D as
|
|
2
|
-
import { EMPTY_SELECTION as
|
|
3
|
-
import { S as
|
|
1
|
+
import { D, d as u, S as d, b as i, b as n, m as l, f as T, o as m, n as p, q as C, s as S, l as A, i as _, k as c, p as h, j as b, h as f, g, t as y, r as L, c as x, x as Q, z as v, y as E, A as F, w as O, e as W, u as N, C as k, v as q, B, a as P } from "./chunks/index-s7sbyt-u.js";
|
|
2
|
+
import { EMPTY_SELECTION as U } from "./types/index.js";
|
|
3
|
+
import { R as G, S as H, a as I, D as V, c as j, d as z, g as J } from "./chunks/dashboard-plus-BbSiLlXL.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
7
|
+
const r = [
|
|
8
|
+
// Day granularity formats
|
|
8
9
|
"MM-DD-YYYY",
|
|
9
10
|
"YYYY-MM-DD",
|
|
10
11
|
"MM/DD/YYYY",
|
|
@@ -12,48 +13,70 @@ const t = [
|
|
|
12
13
|
"MMMM DD, YYYY",
|
|
13
14
|
"MMM DD, YYYY",
|
|
14
15
|
"DD MMM YYYY",
|
|
15
|
-
|
|
16
|
+
// Week granularity formats
|
|
17
|
+
"Week of MMM DD, YYYY",
|
|
18
|
+
"Week of MMMM DD, YYYY",
|
|
19
|
+
"YYYY-WW",
|
|
20
|
+
// Month granularity formats
|
|
21
|
+
"MMM YYYY",
|
|
16
22
|
"MMMM YYYY",
|
|
23
|
+
"YYYY-MM",
|
|
24
|
+
"MM/YYYY",
|
|
25
|
+
"YYYY MMM",
|
|
26
|
+
// Quarter granularity formats
|
|
27
|
+
"Q1 YYYY",
|
|
28
|
+
"YYYY Q1",
|
|
29
|
+
"1st Quarter YYYY",
|
|
30
|
+
"YYYY-Q1",
|
|
31
|
+
"Quarter 1, YYYY",
|
|
32
|
+
// Year granularity formats
|
|
33
|
+
"YYYY",
|
|
34
|
+
"YY",
|
|
35
|
+
// Custom format
|
|
17
36
|
"custom"
|
|
18
37
|
];
|
|
38
|
+
var e = /* @__PURE__ */ ((a) => (a.SUBTOTAL = "__SUBTOTAL__", a.TOTAL = "__TOTAL__", a.ALL = "__ALL__", a))(e || {});
|
|
19
39
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
40
|
+
r as DATE_FORMAT_VALUES,
|
|
41
|
+
D as Dashboard,
|
|
42
|
+
u as DashboardWC,
|
|
43
|
+
U as EMPTY_SELECTION,
|
|
44
|
+
e as PivotMarkerEnum,
|
|
45
|
+
G as ResourceManagementPanel,
|
|
46
|
+
H as ScheduleDashboard,
|
|
47
|
+
I as SelectComponent,
|
|
48
|
+
d as SemaphorContextProvider,
|
|
26
49
|
i as SemaphorDataProvider,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
n as SemaphorQueryClient,
|
|
51
|
+
V as Surfboard,
|
|
52
|
+
j as cleanCard,
|
|
53
|
+
l as createSqlGenConfig,
|
|
54
|
+
z as downloadPdf,
|
|
55
|
+
T as fmt,
|
|
56
|
+
m as getColumnDataType,
|
|
57
|
+
J as getDashbaordStateWithoutData,
|
|
58
|
+
p as getFilterValueType,
|
|
59
|
+
C as getFormattedTableNameForQuery,
|
|
60
|
+
S as getQualifiedTableName,
|
|
61
|
+
A as getSql,
|
|
62
|
+
_ as invalidateToken,
|
|
63
|
+
c as isBooleanDataType,
|
|
64
|
+
h as isColumnInSqlGen,
|
|
65
|
+
b as isDateDataType,
|
|
66
|
+
f as isNumberDataType,
|
|
67
|
+
g as isTextDataType,
|
|
68
|
+
y as resolveDataType,
|
|
69
|
+
L as resolveDatamodelName,
|
|
70
|
+
x as useCard,
|
|
71
|
+
Q as useCurrentActiveCard,
|
|
49
72
|
v as useCurrentCardConfig,
|
|
50
|
-
|
|
73
|
+
E as useCurrentSheetActiveCards,
|
|
51
74
|
F as useDashboardActions,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
75
|
+
O as useDashboardStore,
|
|
76
|
+
W as useDataColumns,
|
|
77
|
+
N as useDateFilterHook,
|
|
78
|
+
k as useEditorActions,
|
|
79
|
+
q as useEditorAside,
|
|
80
|
+
B as useEditorStore,
|
|
81
|
+
P as useTextFilterHook
|
|
59
82
|
};
|