@quillsql/react 2.11.20 → 2.11.21
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/cjs/Chart.d.ts +6 -0
- package/dist/cjs/Chart.d.ts.map +1 -1
- package/dist/cjs/Chart.js +13 -13
- package/dist/cjs/ChartBuilder.d.ts +16 -6
- package/dist/cjs/ChartBuilder.d.ts.map +1 -1
- package/dist/cjs/ChartBuilder.js +88 -40
- package/dist/cjs/ChartEditor.js +1 -1
- package/dist/cjs/Dashboard.d.ts +3 -2
- package/dist/cjs/Dashboard.d.ts.map +1 -1
- package/dist/cjs/DateRangePicker/QuillDateRangePicker.d.ts.map +1 -1
- package/dist/cjs/DateRangePicker/QuillDateRangePicker.js +1 -1
- package/dist/cjs/ReportBuilder.d.ts +9 -1
- package/dist/cjs/ReportBuilder.d.ts.map +1 -1
- package/dist/cjs/ReportBuilder.js +56 -41
- package/dist/cjs/SQLEditor.d.ts +7 -1
- package/dist/cjs/SQLEditor.d.ts.map +1 -1
- package/dist/cjs/SQLEditor.js +3 -6
- package/dist/cjs/Table.d.ts +6 -0
- package/dist/cjs/Table.d.ts.map +1 -1
- package/dist/cjs/Table.js +4 -4
- package/dist/cjs/components/Chart/BarChart.d.ts +2 -1
- package/dist/cjs/components/Chart/BarChart.d.ts.map +1 -1
- package/dist/cjs/components/Chart/BarChart.js +6 -4
- package/dist/cjs/components/Chart/BarList.d.ts +3 -2
- package/dist/cjs/components/Chart/BarList.d.ts.map +1 -1
- package/dist/cjs/components/Chart/BarList.js +3 -3
- package/dist/cjs/components/Chart/ChartError.d.ts +1 -1
- package/dist/cjs/components/Chart/ChartError.d.ts.map +1 -1
- package/dist/cjs/components/Chart/ChartError.js +2 -2
- package/dist/cjs/components/Chart/ChartSkeleton.d.ts +2 -1
- package/dist/cjs/components/Chart/ChartSkeleton.d.ts.map +1 -1
- package/dist/cjs/components/Chart/ChartSkeleton.js +2 -2
- package/dist/cjs/components/Chart/LineChart.d.ts +2 -1
- package/dist/cjs/components/Chart/LineChart.d.ts.map +1 -1
- package/dist/cjs/components/Chart/LineChart.js +3 -3
- package/dist/cjs/components/Chart/PieChart.d.ts +1 -0
- package/dist/cjs/components/Chart/PieChart.d.ts.map +1 -1
- package/dist/cjs/components/Chart/PieChart.js +4 -100
- package/dist/cjs/components/Dashboard/DashboardFilter.d.ts +2 -1
- package/dist/cjs/components/Dashboard/DashboardFilter.d.ts.map +1 -1
- package/dist/cjs/components/Dashboard/DashboardFilter.js +2 -2
- package/dist/cjs/components/QuillCard.d.ts +1 -1
- package/dist/cjs/components/QuillCard.d.ts.map +1 -1
- package/dist/cjs/components/QuillCard.js +1 -1
- package/dist/cjs/components/QuillSelect.d.ts +1 -1
- package/dist/cjs/components/QuillSelect.d.ts.map +1 -1
- package/dist/cjs/components/QuillSelect.js +5 -3
- package/dist/cjs/components/QuillTable.d.ts +2 -1
- package/dist/cjs/components/QuillTable.d.ts.map +1 -1
- package/dist/cjs/components/QuillTable.js +5 -5
- package/dist/cjs/components/ReportBuilder/AddColumnPopover.d.ts.map +1 -1
- package/dist/cjs/components/ReportBuilder/AddColumnPopover.js +2 -9
- package/dist/cjs/components/ReportBuilder/AddSortPopover.d.ts.map +1 -1
- package/dist/cjs/components/ReportBuilder/AddSortPopover.js +2 -2
- package/dist/cjs/components/ReportBuilder/ui.d.ts.map +1 -1
- package/dist/cjs/components/ReportBuilder/ui.js +4 -16
- package/dist/cjs/components/UiComponents.d.ts +9 -9
- package/dist/cjs/components/UiComponents.d.ts.map +1 -1
- package/dist/cjs/components/UiComponents.js +32 -17
- package/dist/cjs/internals/ReportBuilder/PivotList.d.ts +1 -1
- package/dist/cjs/internals/ReportBuilder/PivotList.d.ts.map +1 -1
- package/dist/cjs/internals/ReportBuilder/PivotList.js +3 -3
- package/dist/cjs/internals/ReportBuilder/PivotModal.d.ts.map +1 -1
- package/dist/cjs/internals/ReportBuilder/PivotModal.js +25 -24
- package/dist/cjs/utils/color.d.ts +6 -0
- package/dist/cjs/utils/color.d.ts.map +1 -1
- package/dist/cjs/utils/color.js +98 -1
- package/dist/cjs/utils/valueFormatter.d.ts.map +1 -1
- package/dist/cjs/utils/valueFormatter.js +32 -2
- package/dist/esm/Chart.d.ts +6 -0
- package/dist/esm/Chart.d.ts.map +1 -1
- package/dist/esm/Chart.js +13 -13
- package/dist/esm/ChartBuilder.d.ts +16 -6
- package/dist/esm/ChartBuilder.d.ts.map +1 -1
- package/dist/esm/ChartBuilder.js +88 -40
- package/dist/esm/ChartEditor.js +1 -1
- package/dist/esm/Dashboard.d.ts +3 -2
- package/dist/esm/Dashboard.d.ts.map +1 -1
- package/dist/esm/DateRangePicker/QuillDateRangePicker.d.ts.map +1 -1
- package/dist/esm/DateRangePicker/QuillDateRangePicker.js +1 -1
- package/dist/esm/ReportBuilder.d.ts +9 -1
- package/dist/esm/ReportBuilder.d.ts.map +1 -1
- package/dist/esm/ReportBuilder.js +56 -41
- package/dist/esm/SQLEditor.d.ts +7 -1
- package/dist/esm/SQLEditor.d.ts.map +1 -1
- package/dist/esm/SQLEditor.js +3 -6
- package/dist/esm/Table.d.ts +6 -0
- package/dist/esm/Table.d.ts.map +1 -1
- package/dist/esm/Table.js +4 -4
- package/dist/esm/components/Chart/BarChart.d.ts +2 -1
- package/dist/esm/components/Chart/BarChart.d.ts.map +1 -1
- package/dist/esm/components/Chart/BarChart.js +7 -5
- package/dist/esm/components/Chart/BarList.d.ts +3 -2
- package/dist/esm/components/Chart/BarList.d.ts.map +1 -1
- package/dist/esm/components/Chart/BarList.js +3 -3
- package/dist/esm/components/Chart/ChartError.d.ts +1 -1
- package/dist/esm/components/Chart/ChartError.d.ts.map +1 -1
- package/dist/esm/components/Chart/ChartError.js +2 -2
- package/dist/esm/components/Chart/ChartSkeleton.d.ts +2 -1
- package/dist/esm/components/Chart/ChartSkeleton.d.ts.map +1 -1
- package/dist/esm/components/Chart/ChartSkeleton.js +2 -2
- package/dist/esm/components/Chart/LineChart.d.ts +2 -1
- package/dist/esm/components/Chart/LineChart.d.ts.map +1 -1
- package/dist/esm/components/Chart/LineChart.js +3 -3
- package/dist/esm/components/Chart/PieChart.d.ts +1 -0
- package/dist/esm/components/Chart/PieChart.d.ts.map +1 -1
- package/dist/esm/components/Chart/PieChart.js +3 -99
- package/dist/esm/components/Dashboard/DashboardFilter.d.ts +2 -1
- package/dist/esm/components/Dashboard/DashboardFilter.d.ts.map +1 -1
- package/dist/esm/components/Dashboard/DashboardFilter.js +2 -2
- package/dist/esm/components/QuillCard.d.ts +1 -1
- package/dist/esm/components/QuillCard.d.ts.map +1 -1
- package/dist/esm/components/QuillCard.js +1 -1
- package/dist/esm/components/QuillSelect.d.ts +1 -1
- package/dist/esm/components/QuillSelect.d.ts.map +1 -1
- package/dist/esm/components/QuillSelect.js +5 -3
- package/dist/esm/components/QuillTable.d.ts +2 -1
- package/dist/esm/components/QuillTable.d.ts.map +1 -1
- package/dist/esm/components/QuillTable.js +5 -5
- package/dist/esm/components/ReportBuilder/AddColumnPopover.d.ts.map +1 -1
- package/dist/esm/components/ReportBuilder/AddColumnPopover.js +2 -9
- package/dist/esm/components/ReportBuilder/AddSortPopover.d.ts.map +1 -1
- package/dist/esm/components/ReportBuilder/AddSortPopover.js +2 -2
- package/dist/esm/components/ReportBuilder/ui.d.ts.map +1 -1
- package/dist/esm/components/ReportBuilder/ui.js +4 -16
- package/dist/esm/components/UiComponents.d.ts +9 -9
- package/dist/esm/components/UiComponents.d.ts.map +1 -1
- package/dist/esm/components/UiComponents.js +32 -17
- package/dist/esm/internals/ReportBuilder/PivotList.d.ts +1 -1
- package/dist/esm/internals/ReportBuilder/PivotList.d.ts.map +1 -1
- package/dist/esm/internals/ReportBuilder/PivotList.js +3 -3
- package/dist/esm/internals/ReportBuilder/PivotModal.d.ts.map +1 -1
- package/dist/esm/internals/ReportBuilder/PivotModal.js +25 -24
- package/dist/esm/utils/color.d.ts +6 -0
- package/dist/esm/utils/color.d.ts.map +1 -1
- package/dist/esm/utils/color.js +96 -0
- package/dist/esm/utils/valueFormatter.d.ts.map +1 -1
- package/dist/esm/utils/valueFormatter.js +32 -2
- package/package.json +1 -1
|
@@ -59,19 +59,18 @@ export interface ContainerComponentProps {
|
|
|
59
59
|
*/
|
|
60
60
|
export declare const QuillTextInput: ({ id, value, width, placeholder, onChange, }: TextInputComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
61
61
|
export declare const MemoizedTextInput: ({ value, onChange, placeholder, id, }: TextInputComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
62
|
-
export declare const MemoizedButton: ({ label, onClick,
|
|
63
|
-
label:
|
|
64
|
-
onClick:
|
|
65
|
-
primary?: boolean | undefined;
|
|
66
|
-
isLoading?: boolean | undefined;
|
|
62
|
+
export declare const MemoizedButton: ({ label, onClick, }: {
|
|
63
|
+
label: string;
|
|
64
|
+
onClick: () => void;
|
|
67
65
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
68
|
-
export declare const MemoizedSecondaryButton: ({ label, onClick }: {
|
|
69
|
-
label:
|
|
70
|
-
onClick:
|
|
66
|
+
export declare const MemoizedSecondaryButton: ({ label, onClick, }: {
|
|
67
|
+
label: string;
|
|
68
|
+
onClick: () => void;
|
|
71
69
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
72
70
|
export interface SelectComponentProps {
|
|
73
71
|
value: string;
|
|
74
72
|
label?: string;
|
|
73
|
+
width: number;
|
|
75
74
|
options: {
|
|
76
75
|
value: string;
|
|
77
76
|
label: string;
|
|
@@ -88,9 +87,10 @@ export interface LabelComponentProps {
|
|
|
88
87
|
export declare const MemoizedLabel: ({ label }: LabelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
89
88
|
export interface CheckboxComponentProps {
|
|
90
89
|
isChecked: boolean;
|
|
90
|
+
label: string;
|
|
91
91
|
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
92
92
|
}
|
|
93
|
-
export declare const MemoizedCheckbox: ({ isChecked, onChange, }: CheckboxComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
93
|
+
export declare const MemoizedCheckbox: ({ isChecked, label, onChange, }: CheckboxComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
94
94
|
export declare const DEFAULT_TAB_OPTIONS: {
|
|
95
95
|
label: string;
|
|
96
96
|
value: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiComponents.d.ts","sourceRoot":"","sources":["../../../src/components/UiComponents.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,WAAW,EAEX,SAAS,EAMV,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"UiComponents.d.ts","sourceRoot":"","sources":["../../../src/components/UiComponents.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,WAAW,EAEX,SAAS,EAMV,MAAM,OAAO,CAAC;AAOf,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IAC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S,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,GAAG,CAAC,OAAO,CA2Fd;AAED,eAAO,MAAM,oBAAoB,iBAE9B,0BAA0B,4CAyB5B,CAAC;AAEF,eAAO,MAAM,cAAc,+CAwD1B,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,EAAE,CAAC;IAC/B,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,mBAAmB,kCAI7B,mBAAmB,4CASrB,CAAC;AAEF,eAAO,MAAM,4BAA4B,+CAAgB,CAAC"}
|
|
@@ -9,6 +9,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
9
9
|
const react_1 = require("react");
|
|
10
10
|
const assets_1 = require("../assets");
|
|
11
11
|
const Context_1 = require("../Context");
|
|
12
|
+
const hooks_1 = require("../hooks");
|
|
12
13
|
const QuillTable_1 = __importDefault(require("./QuillTable"));
|
|
13
14
|
/**
|
|
14
15
|
* The fallback TextInput element for Quill.
|
|
@@ -54,7 +55,7 @@ const MemoizedTextInput = ({ value, onChange, placeholder, id, }) => {
|
|
|
54
55
|
}` }), (0, jsx_runtime_1.jsx)("input", { id: id, className: "quill-text-input", type: "text", value: value, onChange: onChange, placeholder: placeholder, style: { fontFamily: theme?.fontFamily } })] }));
|
|
55
56
|
};
|
|
56
57
|
exports.MemoizedTextInput = MemoizedTextInput;
|
|
57
|
-
const MemoizedButton = ({ label, onClick,
|
|
58
|
+
const MemoizedButton = ({ label, onClick, }) => {
|
|
58
59
|
const [theme] = (0, react_1.useContext)(Context_1.ThemeContext);
|
|
59
60
|
return ((0, jsx_runtime_1.jsxs)("button", { className: "quill-button", onClick: onClick, style: { fontFamily: theme?.fontFamily }, children: [(0, jsx_runtime_1.jsx)("style", { children: `
|
|
60
61
|
.quill-button {
|
|
@@ -74,10 +75,10 @@ const MemoizedButton = ({ label, onClick, primary = true, isLoading = false, })
|
|
|
74
75
|
.quill-button:hover {
|
|
75
76
|
background-color: rgba(56, 65, 81, 0.9);
|
|
76
77
|
border-radius: 6px;
|
|
77
|
-
}` }),
|
|
78
|
+
}` }), label] }));
|
|
78
79
|
};
|
|
79
80
|
exports.MemoizedButton = MemoizedButton;
|
|
80
|
-
const MemoizedSecondaryButton = ({ label, onClick }) => {
|
|
81
|
+
const MemoizedSecondaryButton = ({ label, onClick, }) => {
|
|
81
82
|
const [theme] = (0, react_1.useContext)(Context_1.ThemeContext);
|
|
82
83
|
return ((0, jsx_runtime_1.jsxs)("button", { className: "quill-secondary-button", onClick: onClick, style: { fontFamily: theme?.fontFamily }, children: [(0, jsx_runtime_1.jsx)("style", { children: `
|
|
83
84
|
.quill-secondary-button {
|
|
@@ -120,12 +121,31 @@ const MemoizedLabel = ({ label }) => {
|
|
|
120
121
|
fontFamily: theme?.fontFamily,
|
|
121
122
|
color: theme?.secondaryTextColor || '#575E6A',
|
|
122
123
|
userSelect: 'none',
|
|
123
|
-
paddingBottom: 5,
|
|
124
124
|
margin: 0,
|
|
125
125
|
}, children: label }));
|
|
126
126
|
};
|
|
127
127
|
exports.MemoizedLabel = MemoizedLabel;
|
|
128
|
-
const MemoizedCheckbox = ({ isChecked, onChange, }) =>
|
|
128
|
+
const MemoizedCheckbox = ({ isChecked, label, onChange, }) => {
|
|
129
|
+
const theme = (0, hooks_1.useTheme)();
|
|
130
|
+
return ((0, jsx_runtime_1.jsxs)("label", { style: {
|
|
131
|
+
display: 'flex',
|
|
132
|
+
width: '100%',
|
|
133
|
+
whiteSpace: 'nowrap',
|
|
134
|
+
textOverflow: 'ellipsis',
|
|
135
|
+
overflow: 'hidden',
|
|
136
|
+
gap: 4,
|
|
137
|
+
}, children: [(0, jsx_runtime_1.jsx)("input", { type: "checkbox", checked: isChecked, onChange: onChange, style: { width: '14px', height: '14px', margin: 'auto 0' } }), (0, jsx_runtime_1.jsx)("span", { style: {
|
|
138
|
+
display: 'block',
|
|
139
|
+
marginTop: 'auto',
|
|
140
|
+
marginBottom: 'auto',
|
|
141
|
+
marginLeft: '6px',
|
|
142
|
+
whiteSpace: 'nowrap',
|
|
143
|
+
textOverflow: 'ellipsis',
|
|
144
|
+
overflow: 'hidden',
|
|
145
|
+
fontFamily: theme?.fontFamily,
|
|
146
|
+
color: theme?.primaryTextColor,
|
|
147
|
+
}, children: label })] }));
|
|
148
|
+
};
|
|
129
149
|
exports.MemoizedCheckbox = MemoizedCheckbox;
|
|
130
150
|
exports.DEFAULT_TAB_OPTIONS = [
|
|
131
151
|
{ label: 'or', value: 'OR' },
|
|
@@ -147,14 +167,12 @@ const QuillTabs = ({ options = exports.DEFAULT_TAB_OPTIONS, value, onChange, })
|
|
|
147
167
|
outlineStyle: 'none',
|
|
148
168
|
transitionProperty: 'background-color, border-color, color, fill, stroke, opacity, box-shadow, transform',
|
|
149
169
|
transitionTimingFunction: 'cubic-bezier(0.4, 0, 0.2, 1)',
|
|
150
|
-
transitionDuration:
|
|
151
|
-
borderColor: '#e7e7e7',
|
|
170
|
+
transitionDuration: '300ms',
|
|
152
171
|
margin: '0px',
|
|
153
172
|
paddingTop: '0.375rem',
|
|
154
173
|
paddingBottom: '0.375rem',
|
|
155
174
|
paddingLeft: '0.75rem',
|
|
156
175
|
paddingRight: '0.75rem',
|
|
157
|
-
color: '12px',
|
|
158
176
|
...(option.value === value
|
|
159
177
|
? {
|
|
160
178
|
fontWeight: 700,
|
|
@@ -260,16 +278,10 @@ function MemoizedModal({ isOpen, setIsOpen, title, children, width, height, }) {
|
|
|
260
278
|
}, children: (0, jsx_runtime_1.jsxs)("div", { style: {
|
|
261
279
|
width: '100%',
|
|
262
280
|
height: '100%',
|
|
263
|
-
maxWidth: 'calc(100vw - 82px)',
|
|
264
|
-
maxHeight: 'calc(100vh - 82px)',
|
|
265
281
|
overflowY: 'scroll',
|
|
266
|
-
// maxWidth: "700px",
|
|
267
282
|
backgroundColor: '#ffffff',
|
|
268
|
-
// padding: "20px",
|
|
269
|
-
// borderRadius: "8px",
|
|
270
283
|
display: 'flex',
|
|
271
284
|
flexDirection: 'column',
|
|
272
|
-
// alignItems: 'center',
|
|
273
285
|
position: 'relative',
|
|
274
286
|
fontFamily: theme?.fontFamily,
|
|
275
287
|
}, children: [(0, jsx_runtime_1.jsxs)("div", { id: "quill-modal-header", style: {
|
|
@@ -278,15 +290,18 @@ function MemoizedModal({ isOpen, setIsOpen, title, children, width, height, }) {
|
|
|
278
290
|
width: '100%',
|
|
279
291
|
justifyContent: 'space-between',
|
|
280
292
|
alignItems: 'center',
|
|
293
|
+
padding: 10,
|
|
281
294
|
}, children: [(0, jsx_runtime_1.jsx)("h2", { style: {
|
|
282
295
|
fontSize: 18,
|
|
283
296
|
fontWeight: '600',
|
|
284
|
-
marginLeft: 20,
|
|
285
297
|
// width: '90%',
|
|
286
298
|
textAlign: 'left',
|
|
287
|
-
|
|
299
|
+
paddingLeft: 10,
|
|
288
300
|
color: theme?.primaryTextColor,
|
|
289
|
-
}, children: title }), (0, jsx_runtime_1.jsx)(
|
|
301
|
+
}, children: title }), (0, jsx_runtime_1.jsx)(exports.MemoizedDeleteButton, { onClick: () => setIsOpen(false) })] }), (0, jsx_runtime_1.jsx)("div", { style: {
|
|
302
|
+
height: 'calc(100% - 60px)', // full height minus title
|
|
303
|
+
width: '100%', // full width minus margin
|
|
304
|
+
}, children: children })] }) })] }));
|
|
290
305
|
}
|
|
291
306
|
exports.MemoizedModal = MemoizedModal;
|
|
292
307
|
const MemoizedDeleteButton = ({ onClick, }) => ((0, jsx_runtime_1.jsxs)("button", { className: "quill-delete-button", type: "button", onClick: onClick, style: {
|
|
@@ -9,7 +9,7 @@ export declare const PivotCard: ({ pivotTable, theme, index, onSelectPivot, sele
|
|
|
9
9
|
ButtonComponent: any;
|
|
10
10
|
showEdit?: boolean | undefined;
|
|
11
11
|
clickable?: boolean | undefined;
|
|
12
|
-
onClose
|
|
12
|
+
onClose: any;
|
|
13
13
|
minHeight?: number | undefined;
|
|
14
14
|
CardComponent?: typeof QuillCard | undefined;
|
|
15
15
|
LabelComponent: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PivotList.d.ts","sourceRoot":"","sources":["../../../../src/internals/ReportBuilder/PivotList.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"PivotList.d.ts","sourceRoot":"","sources":["../../../../src/internals/ReportBuilder/PivotList.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;6CAmNrB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;6CAqFrB,CAAC"}
|
|
@@ -6,9 +6,9 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
6
6
|
const valueFormatter_1 = require("../../utils/valueFormatter");
|
|
7
7
|
const textProcessing_1 = require("../../utils/textProcessing");
|
|
8
8
|
const QuillCard_1 = require("../../components/QuillCard");
|
|
9
|
-
const PivotCard = ({ pivotTable, theme, index, onSelectPivot, selectedPivotIndex, onEditPivot, ButtonComponent, showEdit = false, clickable = true, onClose
|
|
9
|
+
const PivotCard = ({ pivotTable, theme, index, onSelectPivot, selectedPivotIndex, onEditPivot, ButtonComponent, showEdit = false, clickable = true, onClose, minHeight = 0, CardComponent = QuillCard_1.QuillCard, LabelComponent, TextComponent, HeaderComponent, }) => {
|
|
10
10
|
const maxRowsInPivotPeak = 5;
|
|
11
|
-
return ((0, jsx_runtime_1.jsx)(CardComponent, { onClick: () => onSelectPivot(pivotTable.pivot, index), onDelete: onClose, children: (0, jsx_runtime_1.jsxs)("div", { style: {
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)(CardComponent, { onClick: onSelectPivot ? () => onSelectPivot(pivotTable.pivot, index) : undefined, onDelete: onClose, children: (0, jsx_runtime_1.jsxs)("div", { style: {
|
|
12
12
|
fontSize: 14,
|
|
13
13
|
display: 'flex',
|
|
14
14
|
flexDirection: 'column',
|
|
@@ -88,6 +88,6 @@ const PivotList = ({ recommendedPivotTables, createdPivotTables, onSelectRecomme
|
|
|
88
88
|
justifyContent: 'center',
|
|
89
89
|
alignItems: 'center',
|
|
90
90
|
width: '100%',
|
|
91
|
-
}, children: "Create pivot +" }) }))] }) }));
|
|
91
|
+
}, children: (0, jsx_runtime_1.jsx)(LabelComponent, { label: "Create pivot +" }) }) }))] }) }));
|
|
92
92
|
};
|
|
93
93
|
exports.PivotList = PivotList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PivotModal.d.ts","sourceRoot":"","sources":["../../../../src/internals/ReportBuilder/PivotModal.tsx"],"names":[],"mappings":"AACA,OAAc,EAOZ,SAAS,EACV,MAAM,OAAO,CAAC;AAuBf,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAGrE,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAkBD,MAAM,WAAW,eAAe;IAC9B,aAAa,EAA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G,CAAC;IACjB,eAAe,EAAE,GAAG,CAAC;IACrB,kBAAkB,EAAE,GAAG,CAAC;IACxB,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,EAAE,GAAG,CAAC;IACb,KAAK,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,GAAG,CAAC;IACZ,SAAS,EAAE,GAAG,CAAC;IACf,SAAS,EAAE,GAAG,CAAC;IACf,aAAa,EAAE,GAAG,CAAC;IACnB,gBAAgB,EAAE,GAAG,CAAC;IACtB,iBAAiB,EAAE,GAAG,CAAC;IACvB,oBAAoB,EAAE,GAAG,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,GAAG,CAAC;IACf,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,eAAO,MAAM,UAAU,qsBA4CpB,eAAe,4CA8rBjB,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,KAAK,KAAA,EAAE,IAAI,KAAA,EAAE,MAAM,KAAA,OAyB1D;AAkHD,wBAAgB,WAAW,CAAC,SAAS,KAAA,WAYpC;AAgCD,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,GAAG,EACT,SAAS,EAAE,GAAG,EACd,YAAY,EAAE,OAAO,EACrB,QAAQ,SAAK,EACb,SAAS,GAAE,GAAU;;;;;;EAubtB"}
|
|
@@ -251,11 +251,17 @@ const PivotModal = ({ pivotRowField, setPivotRowField, pivotColumnField, setPivo
|
|
|
251
251
|
setPopUpTitle('Add Pivot');
|
|
252
252
|
}
|
|
253
253
|
setIsOpen(isOpen);
|
|
254
|
-
},
|
|
254
|
+
}, popoverTitle: showUpdatePivot ? popUpTitle : 'Recommended pivots', popoverChildren: (0, jsx_runtime_1.jsx)("div", { style: {
|
|
255
|
+
paddingTop: showUpdatePivot ? 0 : 20,
|
|
256
|
+
position: 'relative',
|
|
257
|
+
}, children: showUpdatePivot ? ((0, jsx_runtime_1.jsxs)("div", { className: "ref-in-use", ref: editModalRef, style: {
|
|
255
258
|
backgroundColor: 'rgb(255, 255, 255)',
|
|
256
259
|
display: 'flex',
|
|
257
260
|
flexDirection: 'column',
|
|
258
|
-
}, children: [(0, jsx_runtime_1.jsx)(
|
|
261
|
+
}, children: [(0, jsx_runtime_1.jsx)("div", { style: { height: 12 } }), (0, jsx_runtime_1.jsx)("div", { style: { width: divWidth }, children: samplePivotTable && ((0, jsx_runtime_1.jsx)("div", { style: {
|
|
262
|
+
marginBottom: 20,
|
|
263
|
+
minHeight: 160,
|
|
264
|
+
}, children: (0, jsx_runtime_1.jsx)(PivotList_1.PivotCard, { pivotTable: samplePivotTable, theme: theme, index: 0, selectedPivotIndex: -1, onEditPivot: () => { }, ButtonComponent: ButtonComponent, showEdit: false, clickable: false, minHeight: 140, LabelComponent: LabelComponent, TextComponent: TextComponent, HeaderComponent: HeaderComponent }) })) }), (0, jsx_runtime_1.jsxs)("div", { style: {
|
|
259
265
|
display: 'flex',
|
|
260
266
|
flexDirection: 'column',
|
|
261
267
|
gap: 10,
|
|
@@ -277,7 +283,7 @@ const PivotModal = ({ pivotRowField, setPivotRowField, pivotColumnField, setPivo
|
|
|
277
283
|
ChartBuilder_1.dateFormatOptions.includes(format) ||
|
|
278
284
|
(0, util_1.isIdColumn)(option.value));
|
|
279
285
|
}),
|
|
280
|
-
] })] }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(LabelComponent, { label: "Column Field" }), (0, jsx_runtime_1.jsx)(SelectComponent, { id: "pivot-row-field", value: pivotColumnField, onChange: (e) => {
|
|
286
|
+
], width: 200 })] }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(LabelComponent, { label: "Column Field" }), (0, jsx_runtime_1.jsx)(SelectComponent, { id: "pivot-row-field", value: pivotColumnField, onChange: (e) => {
|
|
281
287
|
setPivotColumnField(e.target.value === ''
|
|
282
288
|
? undefined
|
|
283
289
|
: e.target.value);
|
|
@@ -285,7 +291,7 @@ const PivotModal = ({ pivotRowField, setPivotRowField, pivotColumnField, setPivo
|
|
|
285
291
|
...columnSelectOptions.filter((option) => {
|
|
286
292
|
return (columns.find((col) => col.field === option.value)?.format === 'string');
|
|
287
293
|
}),
|
|
288
|
-
] })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: {
|
|
294
|
+
], width: 200 })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: {
|
|
289
295
|
display: 'flex',
|
|
290
296
|
flexDirection: 'row',
|
|
291
297
|
gap: 20,
|
|
@@ -300,7 +306,7 @@ const PivotModal = ({ pivotRowField, setPivotRowField, pivotColumnField, setPivo
|
|
|
300
306
|
ChartBuilder_1.numberFormatOptions.includes(columns.find((col) => col.field === option.value)?.format)) &&
|
|
301
307
|
!(0, util_1.isIdColumn)(option.value));
|
|
302
308
|
}),
|
|
303
|
-
] })] }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(LabelComponent, { label: "Aggregation Type" }), (0, jsx_runtime_1.jsx)(SelectComponent, { id: "pivot-row-field", value: pivotAggregation, onChange: (e) => {
|
|
309
|
+
], width: 200 })] }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(LabelComponent, { label: "Aggregation Type" }), (0, jsx_runtime_1.jsx)(SelectComponent, { id: "pivot-row-field", value: pivotAggregation, onChange: (e) => {
|
|
304
310
|
if (e.target.value !== 'count' &&
|
|
305
311
|
pivotValueField &&
|
|
306
312
|
!ChartBuilder_1.numberFormatOptions.includes(columns.find((col) => col.field === pivotValueField)?.format)) {
|
|
@@ -313,7 +319,7 @@ const PivotModal = ({ pivotRowField, setPivotRowField, pivotColumnField, setPivo
|
|
|
313
319
|
...['sum', 'average', 'count', 'max', 'min'].map((option) => {
|
|
314
320
|
return { label: option, value: option };
|
|
315
321
|
}),
|
|
316
|
-
] })] })] })] }), (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(ButtonComponent, { id: "custom-button", onClick: () => {
|
|
322
|
+
], width: 200 })] })] })] }), (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(ButtonComponent, { id: "custom-button", onClick: () => {
|
|
317
323
|
const errors = [];
|
|
318
324
|
if (!pivotValueField && pivotAggregation !== 'count') {
|
|
319
325
|
errors.push("Value field cannot be empty when aggregation is not 'count'");
|
|
@@ -369,24 +375,19 @@ const PivotModal = ({ pivotRowField, setPivotRowField, pivotColumnField, setPivo
|
|
|
369
375
|
columns: selectedPivotTable?.columns,
|
|
370
376
|
}, theme: theme, index: 0, onSelectPivot: () => { }, selectedPivotIndex: -1, onEditPivot: () => { }, ButtonComponent: ButtonComponent, showEdit: false, onClose: () => {
|
|
371
377
|
removePivot();
|
|
372
|
-
}, clickable: true, minHeight: 180, CardComponent: CardComponent, LabelComponent: LabelComponent, TextComponent: TextComponent, HeaderComponent: HeaderComponent }) }) })) : ((0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', flexDirection: 'column' }, children: [(0, jsx_runtime_1.
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
whiteSpace: 'nowrap',
|
|
386
|
-
alignItems: 'center',
|
|
387
|
-
gap: 6,
|
|
388
|
-
fontSize: 14,
|
|
389
|
-
}, children: [(0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: { width: 16, height: 16 }, children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z", clipRule: "evenodd" }) }), "Regenerate"] }) }) })] }), isLoading ? ((0, jsx_runtime_1.jsxs)("div", { style: {
|
|
378
|
+
}, clickable: true, minHeight: 180, CardComponent: CardComponent, LabelComponent: LabelComponent, TextComponent: TextComponent, HeaderComponent: HeaderComponent }) }) })) : ((0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', flexDirection: 'column' }, children: [(0, jsx_runtime_1.jsx)("div", { style: {
|
|
379
|
+
// position button inline with the popover title
|
|
380
|
+
position: 'absolute',
|
|
381
|
+
top: -36,
|
|
382
|
+
right: 0,
|
|
383
|
+
}, children: (0, jsx_runtime_1.jsx)(SecondaryButtonComponent, { onClick: refreshPivots, label: (0, jsx_runtime_1.jsxs)("div", { style: {
|
|
384
|
+
display: 'flex',
|
|
385
|
+
flexDirection: 'row',
|
|
386
|
+
whiteSpace: 'nowrap',
|
|
387
|
+
alignItems: 'center',
|
|
388
|
+
gap: 6,
|
|
389
|
+
fontSize: 14,
|
|
390
|
+
}, children: [(0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: { width: 16, height: 16 }, children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z", clipRule: "evenodd" }) }), "Regenerate"] }) }) }), isLoading ? ((0, jsx_runtime_1.jsxs)("div", { style: {
|
|
390
391
|
background: theme.backgroundColor,
|
|
391
392
|
width: 250,
|
|
392
393
|
minWidth: 250,
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates an array of colors by interpolating between colors in the given array.
|
|
3
|
+
* @param colors - The array of colors to interpolate between.
|
|
4
|
+
* @param length - The desired length of the resulting array.
|
|
5
|
+
*/
|
|
6
|
+
export declare function generateArrayFromColor(colors: string | string[], length: number): string[];
|
|
1
7
|
declare const colorValues: readonly ["red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose"];
|
|
2
8
|
export type Color = (typeof colorValues)[number];
|
|
3
9
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/utils/color.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW,mKAkBP,CAAC;AAEX,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjD;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,UAuBxE;AAyDD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,UAK5C;AAwJD;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,YA4B9C;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,YAuB9C"}
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/utils/color.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,EACzB,MAAM,EAAE,MAAM,GACb,MAAM,EAAE,CAwBV;AA6ED,QAAA,MAAM,WAAW,mKAkBP,CAAC;AAEX,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjD;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,UAuBxE;AAyDD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,UAK5C;AAwJD;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,YA4B9C;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,YAuB9C"}
|
package/dist/cjs/utils/color.js
CHANGED
|
@@ -1,6 +1,103 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HSLtoRGB = exports.rgbToHsl = exports.namedColorToHex = exports.selectColor = void 0;
|
|
3
|
+
exports.HSLtoRGB = exports.rgbToHsl = exports.namedColorToHex = exports.selectColor = exports.generateArrayFromColor = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Generates an array of colors by interpolating between colors in the given array.
|
|
6
|
+
* @param colors - The array of colors to interpolate between.
|
|
7
|
+
* @param length - The desired length of the resulting array.
|
|
8
|
+
*/
|
|
9
|
+
function generateArrayFromColor(colors, length) {
|
|
10
|
+
if (typeof colors === 'string') {
|
|
11
|
+
return monochromaticInterpolation(colors, length);
|
|
12
|
+
}
|
|
13
|
+
if (colors.length === 1) {
|
|
14
|
+
return monochromaticInterpolation(colors[0], length);
|
|
15
|
+
}
|
|
16
|
+
const pairs = colors.length - 1;
|
|
17
|
+
const needed = length - colors.length;
|
|
18
|
+
const baseAmount = Math.floor(needed / pairs);
|
|
19
|
+
const extras = needed % pairs;
|
|
20
|
+
let result = [];
|
|
21
|
+
let i = 0;
|
|
22
|
+
let j = 1;
|
|
23
|
+
while (j < colors.length) {
|
|
24
|
+
const additional = i < extras ? 1 : 0;
|
|
25
|
+
const interpLength = 2 + baseAmount + additional;
|
|
26
|
+
const interp = interpolateBetween(colors[i], colors[j], interpLength);
|
|
27
|
+
const lastIndex = j === colors.length - 1 ? undefined : -1;
|
|
28
|
+
result = result.concat(interp.slice(0, lastIndex));
|
|
29
|
+
i++;
|
|
30
|
+
j++;
|
|
31
|
+
}
|
|
32
|
+
return result;
|
|
33
|
+
}
|
|
34
|
+
exports.generateArrayFromColor = generateArrayFromColor;
|
|
35
|
+
function hexToRgb(hex) {
|
|
36
|
+
const r = parseInt(hex.substring(1, 3), 16);
|
|
37
|
+
const g = parseInt(hex.substring(3, 5), 16);
|
|
38
|
+
const b = parseInt(hex.substring(5, 7), 16);
|
|
39
|
+
return { r, g, b };
|
|
40
|
+
}
|
|
41
|
+
function rgbToHex(rgb) {
|
|
42
|
+
const rHex = rgb.r.toString(16).padStart(2, '0');
|
|
43
|
+
const gHex = rgb.g.toString(16).padStart(2, '0');
|
|
44
|
+
const bHex = rgb.b.toString(16).padStart(2, '0');
|
|
45
|
+
return `#${rHex}${gHex}${bHex}`;
|
|
46
|
+
}
|
|
47
|
+
function colorToHSL(color) {
|
|
48
|
+
const colorHex = namedColorToHex(color);
|
|
49
|
+
const { r, g, b } = hexToRgb(colorHex);
|
|
50
|
+
return rgbToHsl(r, g, b);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Interpolates between two colors using HSL color space.
|
|
54
|
+
* @param leftColor - The left color in hexadecimal format.
|
|
55
|
+
* @param rightColor - The right color in hexadecimal format.
|
|
56
|
+
* @param length - The number of interpolated colors to generate between the
|
|
57
|
+
* left and right colors.
|
|
58
|
+
*/
|
|
59
|
+
function interpolateBetween(leftColor, rightColor, length = 3) {
|
|
60
|
+
const [h, s, _l] = colorToHSL(leftColor);
|
|
61
|
+
const [h2, s2, _l2] = colorToHSL(rightColor);
|
|
62
|
+
const hues = linspace(h, h2, length);
|
|
63
|
+
const saturations = linspace(s, s2, length);
|
|
64
|
+
const lightnesses = linspace(_l, _l2, length);
|
|
65
|
+
return Array.from({ length }).map((_, i) => {
|
|
66
|
+
const [r, g, b] = HSLtoRGB(hues[i], saturations[i], lightnesses[i]);
|
|
67
|
+
return rgbToHex({ r: Math.round(r), g: Math.round(g), b: Math.round(b) });
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Generates monochromatic interpolation of a given color.
|
|
72
|
+
* @param color - The base color in hexadecimal format.
|
|
73
|
+
* @param length - The number of interpolated colors to generate.
|
|
74
|
+
*/
|
|
75
|
+
function monochromaticInterpolation(color, length) {
|
|
76
|
+
const [h, s, _l] = colorToHSL(color);
|
|
77
|
+
const hues = linspace(h, h, length);
|
|
78
|
+
const saturations = linspace(s, s, length);
|
|
79
|
+
const lightnesses = linspace(0.6, 0.9, length);
|
|
80
|
+
return Array.from({ length }).map((_, i) => {
|
|
81
|
+
const [r, g, b] = HSLtoRGB(hues[i], saturations[i], lightnesses[i]);
|
|
82
|
+
return rgbToHex({ r: Math.round(r), g: Math.round(g), b: Math.round(b) });
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Generates an array of numbers linearly spaced between start and end.
|
|
87
|
+
* @param start - The starting number of the sequence.
|
|
88
|
+
* @param end - The end number of the sequence.
|
|
89
|
+
* @param num - The number of samples to generate.
|
|
90
|
+
*/
|
|
91
|
+
function linspace(start, end, num) {
|
|
92
|
+
if (num <= 1)
|
|
93
|
+
return [start];
|
|
94
|
+
const step = (end - start) / (num - 1);
|
|
95
|
+
const result = new Array(num);
|
|
96
|
+
for (let i = 0; i < num; i++) {
|
|
97
|
+
result[i] = start + step * i;
|
|
98
|
+
}
|
|
99
|
+
return result;
|
|
100
|
+
}
|
|
4
101
|
const colorValues = [
|
|
5
102
|
'red',
|
|
6
103
|
'orange',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valueFormatter.d.ts","sourceRoot":"","sources":["../../../src/utils/valueFormatter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,UAAU,CAAC;CACpB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;IACjC,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAQ7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,6BAA8B,KAAK,KAAG,MAwChE,CAAC;AAEF,eAAO,MAAM,WAAW;WAIf,GAAG;YACF,MAAM;MACZ,MAoCH,CAAC;
|
|
1
|
+
{"version":3,"file":"valueFormatter.d.ts","sourceRoot":"","sources":["../../../src/utils/valueFormatter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,UAAU,CAAC;CACpB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;IACjC,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAQ7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,6BAA8B,KAAK,KAAG,MAwChE,CAAC;AAEF,eAAO,MAAM,WAAW;WAIf,GAAG;YACF,MAAM;MACZ,MAoCH,CAAC;AAyKF,eAAO,MAAM,aAAa;;;;WAGhB,MAAM,KACb,MAoCF,CAAC"}
|
|
@@ -223,6 +223,26 @@ const format_wo_yyyy = (value) => {
|
|
|
223
223
|
return 'Invalid date';
|
|
224
224
|
return `${(0, date_fns_1.getWeek)(utcDate)},${utcDate.getFullYear()}`;
|
|
225
225
|
};
|
|
226
|
+
/**
|
|
227
|
+
* Parses a numeric string back into a number, taking into account that
|
|
228
|
+
* users in different locales will format numbers differently (eg. 1,234 means
|
|
229
|
+
* something different from 1.234 in different countries).
|
|
230
|
+
*
|
|
231
|
+
* see: https://stackoverflow.com/a/45309230/9566888
|
|
232
|
+
*/
|
|
233
|
+
function parseNumber(value) {
|
|
234
|
+
if (typeof value === 'number')
|
|
235
|
+
return value;
|
|
236
|
+
if (typeof value !== 'string')
|
|
237
|
+
return Number.NaN;
|
|
238
|
+
const example = localeFormatter.format(1.1);
|
|
239
|
+
const cleanPattern = new RegExp(`[^-+0-9${example.charAt(1)}]`, 'g');
|
|
240
|
+
const cleaned = value.replace(cleanPattern, '');
|
|
241
|
+
const normalized = cleaned.replace(example.charAt(1), '.');
|
|
242
|
+
return parseFloat(normalized);
|
|
243
|
+
}
|
|
244
|
+
// Moved this out of parseNumber for perf reasons
|
|
245
|
+
const localeFormatter = Intl.NumberFormat(typeof navigator !== 'undefined' ? navigator.language : 'en-US');
|
|
226
246
|
const compareValues = (a, b, column) => {
|
|
227
247
|
const valueA = a[column];
|
|
228
248
|
const valueB = b[column];
|
|
@@ -236,9 +256,19 @@ const compareValues = (a, b, column) => {
|
|
|
236
256
|
else if (valueB === null) {
|
|
237
257
|
return 1; // ValueB is null, consider it smaller
|
|
238
258
|
}
|
|
259
|
+
// Undefined checks
|
|
260
|
+
if (valueA === undefined && valueB === undefined) {
|
|
261
|
+
return 0; // Both values are undefined, consider them equal
|
|
262
|
+
}
|
|
263
|
+
else if (valueA === undefined) {
|
|
264
|
+
return -1; // ValueA is undefined, consider it smaller
|
|
265
|
+
}
|
|
266
|
+
else if (valueB === undefined) {
|
|
267
|
+
return 1; // ValueB is undefined, consider it smaller
|
|
268
|
+
}
|
|
239
269
|
// For numbers
|
|
240
|
-
if (!isNaN(valueA) && !isNaN(valueB)) {
|
|
241
|
-
return valueA - valueB;
|
|
270
|
+
if (!isNaN(parseNumber(valueA)) && !isNaN(parseNumber(valueB))) {
|
|
271
|
+
return parseNumber(valueA) - parseNumber(valueB);
|
|
242
272
|
}
|
|
243
273
|
// For dates
|
|
244
274
|
const dateA = new Date(valueA);
|
package/dist/esm/Chart.d.ts
CHANGED
|
@@ -94,6 +94,12 @@ export interface ChartProps {
|
|
|
94
94
|
* ```
|
|
95
95
|
*/
|
|
96
96
|
mapColorsToFields?: (dashboardItem: DashboardItem, theme: QuillTheme) => ColorMapType;
|
|
97
|
+
/**
|
|
98
|
+
* Styles the top-level container of the Chart.
|
|
99
|
+
*
|
|
100
|
+
* This can be useful for TailwindCSS-style classname strings.
|
|
101
|
+
*/
|
|
102
|
+
className?: string;
|
|
97
103
|
/**
|
|
98
104
|
* Styles the top-level container of the Chart.
|
|
99
105
|
*/
|
package/dist/esm/Chart.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chart.d.ts","sourceRoot":"","sources":["../../src/Chart.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAgB7C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Chart.d.ts","sourceRoot":"","sources":["../../src/Chart.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAA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