react-semaphor 0.0.548 → 0.0.549
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-CBTf0BDO.js → dashboard-plus-B8vcdh4C.js} +77 -77
- package/dist/chunks/{dashboard-plus-WlY0hLPo.js → dashboard-plus-CTzt60G8.js} +2760 -2703
- package/dist/index.cjs +1 -1
- package/dist/index.js +48 -29
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +1 -1
- package/dist/types/main.d.ts +1 -1
- package/dist/types/surfboard.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-DIFWt1VS.js"),t=require("./types/index.cjs"),a=require("./chunks/dashboard-plus-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-DIFWt1VS.js"),t=require("./types/index.cjs"),a=require("./chunks/dashboard-plus-B8vcdh4C.js");require("react/jsx-runtime");require("react");require("react-dom");const r=["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"];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=t.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=r;
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { D as
|
|
2
|
-
import { EMPTY_SELECTION as
|
|
3
|
-
import { R as
|
|
1
|
+
import { D as r, d as M, S as D, b as u, b as i, m as d, f as n, o as l, n as m, q as p, s as C, l as S, i as T, k as c, p as h, j as b, h as f, g, t as y, r as A, c as v, x, z as E, y as Q, A as k, w as F, e as W, u as N, C as P, v as q, B as R, a as _ } from "./chunks/index-CEWweOR2.js";
|
|
2
|
+
import { EMPTY_SELECTION as B } from "./types/index.js";
|
|
3
|
+
import { R as H, S as I, a as L, D as O, c as V, d as j, g as z } from "./chunks/dashboard-plus-CTzt60G8.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
7
|
+
const s = [
|
|
8
|
+
// Day granularity formats
|
|
8
9
|
"MM-DD-YYYY",
|
|
9
10
|
"YYYY-MM-DD",
|
|
10
11
|
"MM/DD/YYYY",
|
|
@@ -12,26 +13,44 @@ 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
|
];
|
|
19
38
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
39
|
+
s as DATE_FORMAT_VALUES,
|
|
40
|
+
r as Dashboard,
|
|
41
|
+
M as DashboardWC,
|
|
42
|
+
B as EMPTY_SELECTION,
|
|
43
|
+
H as ResourceManagementPanel,
|
|
44
|
+
I as ScheduleDashboard,
|
|
45
|
+
L as SelectComponent,
|
|
46
|
+
D as SemaphorContextProvider,
|
|
28
47
|
u as SemaphorDataProvider,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
48
|
+
i as SemaphorQueryClient,
|
|
49
|
+
O as Surfboard,
|
|
50
|
+
V as cleanCard,
|
|
51
|
+
d as createSqlGenConfig,
|
|
33
52
|
j as downloadPdf,
|
|
34
|
-
|
|
53
|
+
n as fmt,
|
|
35
54
|
l as getColumnDataType,
|
|
36
55
|
z as getDashbaordStateWithoutData,
|
|
37
56
|
m as getFilterValueType,
|
|
@@ -42,20 +61,20 @@ export {
|
|
|
42
61
|
c as isBooleanDataType,
|
|
43
62
|
h as isColumnInSqlGen,
|
|
44
63
|
b as isDateDataType,
|
|
45
|
-
|
|
46
|
-
|
|
64
|
+
f as isNumberDataType,
|
|
65
|
+
g as isTextDataType,
|
|
47
66
|
y as resolveDataType,
|
|
48
67
|
A as resolveDatamodelName,
|
|
49
68
|
v as useCard,
|
|
50
69
|
x as useCurrentActiveCard,
|
|
51
70
|
E as useCurrentCardConfig,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
71
|
+
Q as useCurrentSheetActiveCards,
|
|
72
|
+
k as useDashboardActions,
|
|
73
|
+
F as useDashboardStore,
|
|
74
|
+
W as useDataColumns,
|
|
75
|
+
N as useDateFilterHook,
|
|
76
|
+
P as useEditorActions,
|
|
77
|
+
q as useEditorAside,
|
|
78
|
+
R as useEditorStore,
|
|
79
|
+
_ as useTextFilterHook
|
|
61
80
|
};
|
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-B8vcdh4C.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -267,7 +267,7 @@ declare interface DataSource {
|
|
|
267
267
|
selectedEntities: SelectedEntities;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
declare const DATE_FORMAT_VALUES: readonly ["MM-DD-YYYY", "YYYY-MM-DD", "MM/DD/YYYY", "DD/MM/YYYY", "MMMM DD, YYYY", "MMM DD, YYYY", "DD MMM YYYY", "YYYY-
|
|
270
|
+
declare const DATE_FORMAT_VALUES: readonly ["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"];
|
|
271
271
|
|
|
272
272
|
declare type DateFormatValue = (typeof DATE_FORMAT_VALUES)[number];
|
|
273
273
|
|
package/dist/types/main.d.ts
CHANGED
|
@@ -537,7 +537,7 @@ export declare interface DataSource {
|
|
|
537
537
|
|
|
538
538
|
export declare type DataType = 'string' | 'number' | 'date' | 'datetime' | 'boolean' | 'json' | 'geo';
|
|
539
539
|
|
|
540
|
-
export declare const DATE_FORMAT_VALUES: readonly ["MM-DD-YYYY", "YYYY-MM-DD", "MM/DD/YYYY", "DD/MM/YYYY", "MMMM DD, YYYY", "MMM DD, YYYY", "DD MMM YYYY", "YYYY-
|
|
540
|
+
export declare const DATE_FORMAT_VALUES: readonly ["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"];
|
|
541
541
|
|
|
542
542
|
export declare type DateFormatOption = {
|
|
543
543
|
value: DateFormatValue;
|
|
@@ -270,7 +270,7 @@ declare interface DataSource {
|
|
|
270
270
|
selectedEntities: SelectedEntities;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
declare const DATE_FORMAT_VALUES: readonly ["MM-DD-YYYY", "YYYY-MM-DD", "MM/DD/YYYY", "DD/MM/YYYY", "MMMM DD, YYYY", "MMM DD, YYYY", "DD MMM YYYY", "YYYY-
|
|
273
|
+
declare const DATE_FORMAT_VALUES: readonly ["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"];
|
|
274
274
|
|
|
275
275
|
declare type DateFormatValue = (typeof DATE_FORMAT_VALUES)[number];
|
|
276
276
|
|
package/dist/types/types.d.ts
CHANGED
|
@@ -264,7 +264,7 @@ declare interface DataSource {
|
|
|
264
264
|
selectedEntities: SelectedEntities;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
declare const DATE_FORMAT_VALUES: readonly ["MM-DD-YYYY", "YYYY-MM-DD", "MM/DD/YYYY", "DD/MM/YYYY", "MMMM DD, YYYY", "MMM DD, YYYY", "DD MMM YYYY", "YYYY-
|
|
267
|
+
declare const DATE_FORMAT_VALUES: readonly ["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"];
|
|
268
268
|
|
|
269
269
|
declare type DateFormatValue = (typeof DATE_FORMAT_VALUES)[number];
|
|
270
270
|
|