@quillsql/react 2.8.3 → 2.8.4
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/AddToDashboardModal.js +0 -1
- package/dist/BarList.js +0 -1
- package/dist/Chart.js +0 -1
- package/dist/ChartBuilder.js +0 -1
- package/dist/ChartEditor.js +0 -1
- package/dist/Context.js +0 -1
- package/dist/Dashboard.js +0 -1
- package/dist/DateRangePicker/Calendar.js +0 -1
- package/dist/DateRangePicker/DateRangePicker.js +0 -1
- package/dist/DateRangePicker/DateRangePickerButton.js +0 -1
- package/dist/DateRangePicker/dateRangePickerUtils.js +0 -1
- package/dist/DateRangePicker/index.js +0 -1
- package/dist/PieChart.js +0 -1
- package/dist/QuillProvider.js +0 -1
- package/dist/ReportBuilder.js +0 -1
- package/dist/SQLEditor.js +0 -1
- package/dist/Table.js +17 -13
- package/dist/TableChart.js +0 -1
- package/dist/assets/ArrowDownHeadIcon.js +0 -1
- package/dist/assets/ArrowDownIcon.js +0 -1
- package/dist/assets/ArrowDownRightIcon.js +0 -1
- package/dist/assets/ArrowLeftHeadIcon.js +0 -1
- package/dist/assets/ArrowRightHeadIcon.js +0 -1
- package/dist/assets/ArrowRightIcon.js +0 -1
- package/dist/assets/ArrowUpHeadIcon.js +0 -1
- package/dist/assets/ArrowUpIcon.js +0 -1
- package/dist/assets/ArrowUpRightIcon.js +0 -1
- package/dist/assets/CalendarIcon.js +0 -1
- package/dist/assets/CalendarNormalIcon.js +0 -1
- package/dist/assets/DoubleArrowLeftHeadIcon.js +0 -1
- package/dist/assets/DoubleArrowRightHeadIcon.js +0 -1
- package/dist/assets/ExclamationFilledIcon.js +0 -1
- package/dist/assets/FilterIcon.js +0 -1
- package/dist/assets/LoadingSpinner.js +0 -1
- package/dist/assets/RefreshIcon.js +0 -1
- package/dist/assets/SearchIcon.js +0 -1
- package/dist/assets/UpLeftArrowsIcon.js +0 -1
- package/dist/assets/XCircleIcon.js +0 -1
- package/dist/assets/XIcon.js +0 -1
- package/dist/assets/index.js +0 -1
- package/dist/components/BigModal/BigModal.js +0 -1
- package/dist/components/Dropdown/Dropdown.js +0 -1
- package/dist/components/Dropdown/DropdownItem.js +0 -1
- package/dist/components/Dropdown/index.js +0 -1
- package/dist/components/Modal/Modal.js +0 -1
- package/dist/components/Modal/index.js +0 -1
- package/dist/components/QuillCard.js +0 -1
- package/dist/components/UiComponents.js +0 -1
- package/dist/components/selectUtils.js +0 -1
- package/dist/contexts/BaseColorContext.js +0 -1
- package/dist/contexts/HoveredValueContext.js +0 -1
- package/dist/contexts/RootStylesContext.js +0 -1
- package/dist/contexts/SelectedValueContext.js +0 -1
- package/dist/contexts/index.js +0 -1
- package/dist/hooks/index.js +0 -1
- package/dist/hooks/useInternalState.js +0 -1
- package/dist/hooks/useOnClickOutside.js +0 -1
- package/dist/hooks/useOnWindowResize.js +0 -1
- package/dist/hooks/useQuill.js +0 -1
- package/dist/hooks/useSelectOnKeyDown.js +0 -1
- package/dist/index.js +0 -1
- package/dist/internals/ReportBuilder/PivotList.js +0 -1
- package/dist/internals/ReportBuilder/PivotModal.js +0 -1
- package/dist/internals/ReportBuilder/PivotModal.spec.js +0 -1
- package/dist/lib/font.js +0 -1
- package/dist/lib/index.js +0 -1
- package/dist/lib/inputTypes.js +0 -1
- package/dist/lib/utils.js +0 -1
- package/dist/utils/aggregate.js +0 -1
- package/dist/utils/colorToHex.js +0 -1
- package/dist/utils/dataFetcher.js +0 -1
- package/dist/utils/downloadCSV.js +0 -1
- package/package.json +1 -1
|
@@ -1430,4 +1430,3 @@ function FormikForm({ data, xAxisOptions, yAxisOptions, fieldOptions, dateFieldO
|
|
|
1430
1430
|
}
|
|
1431
1431
|
}, label: report ? 'Save changes' : 'Add to dashboard' }) }), (0, jsx_runtime_1.jsx)("div", { style: { height: 20 } })] }) }));
|
|
1432
1432
|
}
|
|
1433
|
-
//# sourceMappingURL=AddToDashboardModal.js.map
|
package/dist/BarList.js
CHANGED
package/dist/Chart.js
CHANGED
|
@@ -1122,4 +1122,3 @@ function LineChart({ colors, yAxisFields, data, containerStyle, xAxisField, xAxi
|
|
|
1122
1122
|
fill: `url(#gradient${index})`, strokeWidth: 2, dot: false, isAnimationActive: true }, elem.field)))] }) }) }));
|
|
1123
1123
|
}
|
|
1124
1124
|
exports.default = Chart;
|
|
1125
|
-
//# sourceMappingURL=Chart.js.map
|
package/dist/ChartBuilder.js
CHANGED
package/dist/ChartEditor.js
CHANGED
|
@@ -74,4 +74,3 @@ function ChartEditor({ isOpen, chartId, admin = false, destinationDashboard, cha
|
|
|
74
74
|
return ((0, jsx_runtime_1.jsx)("div", { children: dashboardItem && ((0, jsx_runtime_1.jsx)(ChartBuilder_1.default, { dashboardItem: dashboardItem, rows: dashboardItem.rows, columns: dashboardItem.columns, fields: dashboardItem.fields, query: dashboardItem.queryString, isOpen: isOpen, setIsOpen: setIsOpen, showTableFormatOptions: admin, showDateFieldOptions: admin, showAccessControlOptions: admin, showDashboardDropdown: admin, destinationDashboard: destinationDashboard, dateRange: dateRange, Select: Select, TextInput: TextInput, Button: Button, SecondaryButton: SecondaryButton, Header: Header, Label: Label, Text: Text, DeleteButton: DeleteButton, Modal: Modal, Popover: Popover, onDelete: onDelete, title: chartBuilderTitle, buttonLabel: chartBuilderButtonLabel })) }));
|
|
75
75
|
}
|
|
76
76
|
exports.default = ChartEditor;
|
|
77
|
-
//# sourceMappingURL=ChartEditor.js.map
|
package/dist/Context.js
CHANGED
package/dist/Dashboard.js
CHANGED
|
@@ -1276,4 +1276,3 @@ function FilterModal({ setShowDropdown, dropdownRef, showDropdown, theme, select
|
|
|
1276
1276
|
handleValueChange: handleDropdownOptionClick,
|
|
1277
1277
|
}, children: (0, jsx_runtime_1.jsx)(contexts_1.HoveredValueContext.Provider, { value: { hoveredValue: hoveredDropdownValue }, children: dropdownOptions.map((row, index) => ((0, jsx_runtime_1.jsx)(Dropdown_1.DropdownItem, { value: row[removeQuotes(field)], text: row[removeQuotes(label)], theme: theme, lastItem: dropdownOptions.length - 1 === index }, row[removeQuotes(field)]))) }) }) }));
|
|
1278
1278
|
}
|
|
1279
|
-
//# sourceMappingURL=Dashboard.js.map
|
|
@@ -148,4 +148,3 @@ const DateRangePicker = react_1.default.forwardRef((props, ref) => {
|
|
|
148
148
|
}, children: (0, jsx_runtime_1.jsx)(contexts_1.HoveredValueContext.Provider, { value: { hoveredValue: hoveredDropdownValue }, children: presetOptions.map(({ value, text }, index) => ((0, jsx_runtime_1.jsx)(Dropdown_1.DropdownItem, { value: value, text: text, theme: theme, lastItem: presetOptions.length - 1 === index }, value))) }) }) })] }) }));
|
|
149
149
|
});
|
|
150
150
|
exports.default = DateRangePicker;
|
|
151
|
-
//# sourceMappingURL=DateRangePicker.js.map
|
|
@@ -7,4 +7,3 @@ exports.DateRangePicker = void 0;
|
|
|
7
7
|
// @ts-nocheck
|
|
8
8
|
var DateRangePicker_1 = require("./DateRangePicker");
|
|
9
9
|
Object.defineProperty(exports, "DateRangePicker", { enumerable: true, get: function () { return __importDefault(DateRangePicker_1).default; } });
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
package/dist/PieChart.js
CHANGED
package/dist/QuillProvider.js
CHANGED
|
@@ -30,4 +30,3 @@ const QuillProvider = ({ organizationId, publicKey, queryEndpoint, queryHeaders,
|
|
|
30
30
|
return ((0, jsx_runtime_1.jsx)(Context_1.ContextProvider, { initialTheme: theme, publicKey: publicKey, environment: environment, customerId: organizationId, queryEndpoint: queryEndpoint, queryHeaders: queryHeaders, withCredentials: withCredentials, children: children }));
|
|
31
31
|
};
|
|
32
32
|
exports.default = QuillProvider;
|
|
33
|
-
//# sourceMappingURL=QuillProvider.js.map
|
package/dist/ReportBuilder.js
CHANGED
|
@@ -991,4 +991,3 @@ const DivCheckbox = ({ onChange, checked, theme }) => {
|
|
|
991
991
|
// />
|
|
992
992
|
(0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: theme?.backgroundColor, height: "16", width: "16", children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z", clipRule: "evenodd" }) })) }));
|
|
993
993
|
};
|
|
994
|
-
//# sourceMappingURL=ReportBuilder.js.map
|
package/dist/SQLEditor.js
CHANGED
package/dist/Table.js
CHANGED
|
@@ -8,7 +8,6 @@ const react_1 = require("react");
|
|
|
8
8
|
const Context_1 = require("./Context");
|
|
9
9
|
const Chart_1 = require("./Chart");
|
|
10
10
|
const dataFetcher_1 = require("./utils/dataFetcher");
|
|
11
|
-
const PivotModal_1 = require("./internals/ReportBuilder/PivotModal");
|
|
12
11
|
const Table = ({ chartId, columns, rows, containerStyle, csvFilename, showDownloadCsvButton, LoadingComponent, }) => {
|
|
13
12
|
const { dispatch, dashboard } = (0, react_1.useContext)(Context_1.DashboardContext);
|
|
14
13
|
const { dashboardFilters } = (0, react_1.useContext)(Context_1.DashboardFiltersContext);
|
|
@@ -464,16 +463,22 @@ const ChartUpdater = ({ chartId, containerStyle, dashboard, dispatch, client, da
|
|
|
464
463
|
const handleDownloadCSV = () => {
|
|
465
464
|
downloadCSV(memoizedData, chartConfig.name);
|
|
466
465
|
};
|
|
467
|
-
const dateFilter = Object.values(dashboardFilters).find(
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
466
|
+
// const dateFilter = Object.values(dashboardFilters).find(
|
|
467
|
+
// (filter) => filter.filterType == 'date_range',
|
|
468
|
+
// );
|
|
469
|
+
// const pivotTable = useMemo(() => {
|
|
470
|
+
// const pivot = dashboard[chartId]?.pivot;
|
|
471
|
+
// const data = dashboard[chartId];
|
|
472
|
+
// return pivot && data?.rows
|
|
473
|
+
// ? generatePivotTable(
|
|
474
|
+
// pivot,
|
|
475
|
+
// data.rows,
|
|
476
|
+
// dateFilter?.startDate
|
|
477
|
+
// ? [dateFilter?.startDate, dateFilter?.endDate, null]
|
|
478
|
+
// : [null, null, null],
|
|
479
|
+
// )
|
|
480
|
+
// : null;
|
|
481
|
+
// }, [dashboard, chartId, dateFilter]);
|
|
477
482
|
if (!dashboard[chartId] || loading) {
|
|
478
483
|
return ((0, jsx_runtime_1.jsx)("div", {
|
|
479
484
|
// className="flex flex-col flex-1 h-[100%]"
|
|
@@ -492,7 +497,7 @@ const ChartUpdater = ({ chartId, containerStyle, dashboard, dispatch, client, da
|
|
|
492
497
|
boxSizing: 'content-box',
|
|
493
498
|
}, children: (0, jsx_runtime_1.jsxs)("svg", { width: "100%", height: "100%", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", children: [(0, jsx_runtime_1.jsx)("rect", { width: "100%", height: "100%", fill: "#F9F9FA" }), (0, jsx_runtime_1.jsx)("defs", { fill: "#F9F9FA", children: (0, jsx_runtime_1.jsxs)("linearGradient", { id: "skeletonGradient", x1: "0%", y1: "0%", x2: "10%", y2: "0%", gradientUnits: "userSpaceOnUse", children: [(0, jsx_runtime_1.jsx)("stop", { offset: "0%", stopColor: "rgba(255,255,255,0)" }), (0, jsx_runtime_1.jsx)("stop", { offset: "50%", stopColor: "#FEFEFE" }), (0, jsx_runtime_1.jsx)("stop", { offset: "100%", stopColor: "rgba(255,255,255,0)" }), (0, jsx_runtime_1.jsx)("animate", { attributeName: "x1", from: "-100%", to: "100%", dur: "2s", repeatCount: "indefinite" }), (0, jsx_runtime_1.jsx)("animate", { attributeName: "x2", from: "-50%", to: "150%", dur: "2s", repeatCount: "indefinite" })] }) }), (0, jsx_runtime_1.jsx)("rect", { width: "50%", height: "100%", fill: "url(#skeletonGradient)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "x", from: "-100%", to: "100%", dur: "2s", repeatCount: "indefinite" }) })] }) }) }));
|
|
494
499
|
}
|
|
495
|
-
return ((0, jsx_runtime_1.jsx)(SpecialTable, { showDownloadCsvButton: showDownloadCsvButton, csvFilename: csvFilename || dashboard[chartId].name, columns:
|
|
500
|
+
return ((0, jsx_runtime_1.jsx)(SpecialTable, { showDownloadCsvButton: showDownloadCsvButton, csvFilename: csvFilename || dashboard[chartId].name, columns: dashboard[chartId].columns, rows: dashboard[chartId].rows, height: containerStyle?.height || '100%', theme: theme, containerStyle: containerStyle, LoadingComponent: LoadingComponent }));
|
|
496
501
|
};
|
|
497
502
|
function Columns({ columns, data, theme, handleDownloadCSV, numToShow }) {
|
|
498
503
|
return ((0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', flexDirection: 'column', height: '100%' }, children: [(0, jsx_runtime_1.jsx)("div", { style: {
|
|
@@ -558,4 +563,3 @@ function Cell({ item, theme }) {
|
|
|
558
563
|
}, children: item }));
|
|
559
564
|
}
|
|
560
565
|
exports.default = Table;
|
|
561
|
-
//# sourceMappingURL=Table.js.map
|
package/dist/TableChart.js
CHANGED
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const ArrowDownHeadIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", children: [(0, jsx_runtime_1.jsx)("path", { fill: "none", d: "M0 0h24v24H0z" }), (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z" })] }));
|
|
5
5
|
exports.default = ArrowDownHeadIcon;
|
|
6
|
-
//# sourceMappingURL=ArrowDownHeadIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const ArrowDownIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", children: [(0, jsx_runtime_1.jsx)("path", { fill: "none", d: "M0 0h24v24H0z" }), (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M13 16.172l5.364-5.364 1.414 1.414L12 20l-7.778-7.778 1.414-1.414L11 16.172V4h2v12.172z" })] }));
|
|
5
5
|
exports.default = ArrowDownIcon;
|
|
6
|
-
//# sourceMappingURL=ArrowDownIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const ArrowDownRightIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", children: [(0, jsx_runtime_1.jsx)("path", { fill: "none", d: "M0 0h24v24H0z" }), (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M14.59 16.004L5.982 7.397l1.414-1.414 8.607 8.606V7.004h2v11h-11v-2z" })] }));
|
|
5
5
|
exports.default = ArrowDownRightIcon;
|
|
6
|
-
//# sourceMappingURL=ArrowDownRightIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const ArrowLeftHeadIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [(0, jsx_runtime_1.jsx)("path", { fill: "none", d: "M0 0h24v24H0z" }), (0, jsx_runtime_1.jsx)("path", { d: "M10.828 12l4.95 4.95-1.414 1.414L8 12l6.364-6.364 1.414 1.414z" })] }));
|
|
5
5
|
exports.default = ArrowLeftHeadIcon;
|
|
6
|
-
//# sourceMappingURL=ArrowLeftHeadIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const ArrowRightHeadIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [(0, jsx_runtime_1.jsx)("path", { fill: "none", d: "M0 0h24v24H0z" }), (0, jsx_runtime_1.jsx)("path", { d: "M13.172 12l-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414z" })] }));
|
|
5
5
|
exports.default = ArrowRightHeadIcon;
|
|
6
|
-
//# sourceMappingURL=ArrowRightHeadIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const ArrowRightIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", children: [(0, jsx_runtime_1.jsx)("path", { fill: "none", d: "M0 0h24v24H0z" }), (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z" })] }));
|
|
5
5
|
exports.default = ArrowRightIcon;
|
|
6
|
-
//# sourceMappingURL=ArrowRightIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const ArrowUpHeadIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", children: [(0, jsx_runtime_1.jsx)("path", { fill: "none", d: "M0 0h24v24H0z" }), (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M12 10.828l-4.95 4.95-1.414-1.414L12 8l6.364 6.364-1.414 1.414z" })] }));
|
|
5
5
|
exports.default = ArrowUpHeadIcon;
|
|
6
|
-
//# sourceMappingURL=ArrowUpHeadIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const ArrowUpIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", children: [(0, jsx_runtime_1.jsx)("path", { fill: "none", d: "M0 0h24v24H0z" }), (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M13 7.828V20h-2V7.828l-5.364 5.364-1.414-1.414L12 4l7.778 7.778-1.414 1.414L13 7.828z" })] }));
|
|
5
5
|
exports.default = ArrowUpIcon;
|
|
6
|
-
//# sourceMappingURL=ArrowUpIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const ArrowUpRightIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", children: [(0, jsx_runtime_1.jsx)("path", { fill: "none", d: "M0 0h24v24H0z" }), (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M16.004 9.414l-8.607 8.607-1.414-1.414L14.589 8H7.004V6h11v11h-2V9.414z" })] }));
|
|
5
5
|
exports.default = ArrowUpRightIcon;
|
|
6
|
-
//# sourceMappingURL=ArrowUpRightIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const CalendarIcon = ({ ...props }) => ((0, jsx_runtime_1.jsx)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", fill: "currentColor", children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z", clipRule: "evenodd" }) }));
|
|
5
5
|
exports.default = CalendarIcon;
|
|
6
|
-
//# sourceMappingURL=CalendarIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const CalendarNormalIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [(0, jsx_runtime_1.jsx)("rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", ry: "2" }), (0, jsx_runtime_1.jsx)("line", { x1: "16", x2: "16", y1: "2", y2: "6" }), (0, jsx_runtime_1.jsx)("line", { x1: "8", x2: "8", y1: "2", y2: "6" }), (0, jsx_runtime_1.jsx)("line", { x1: "3", x2: "21", y1: "10", y2: "10" })] }));
|
|
5
5
|
exports.default = CalendarNormalIcon;
|
|
6
|
-
//# sourceMappingURL=CalendarNormalIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const DoubleArrowLeftHeadIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [(0, jsx_runtime_1.jsx)("path", { id: "svg_1", d: "m0,0l24,0l0,24l-24,0l0,-24z", fill: "none" }), (0, jsx_runtime_1.jsx)("path", { id: "svg_2", d: "m14.1247,12l4.95,4.95l-1.414,1.414l-6.364,-6.364l6.364,-6.364l1.414,1.414l-4.95,4.95z" }), (0, jsx_runtime_1.jsx)("path", { id: "svg_3", d: "m7.31152,12l4.95,4.95l-1.414,1.414l-6.364,-6.364l6.364,-6.364l1.414,1.414l-4.95,4.95z" })] }));
|
|
5
5
|
exports.default = DoubleArrowLeftHeadIcon;
|
|
6
|
-
//# sourceMappingURL=DoubleArrowLeftHeadIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const DoubleArrowRightHeadIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [(0, jsx_runtime_1.jsx)("path", { id: "svg_1", d: "m0,0l24,0l0,24l-24,0l0,-24z", fill: "none" }), (0, jsx_runtime_1.jsx)("path", { transform: "rotate(180 15.1857 12)", id: "svg_2", d: "m14.1247,12l4.95,4.95l-1.414,1.414l-6.364,-6.364l6.364,-6.364l1.414,1.414l-4.95,4.95z" }), (0, jsx_runtime_1.jsx)("path", { transform: "rotate(180 8.37252 12)", id: "svg_3", d: "m7.31152,12l4.95,4.95l-1.414,1.414l-6.364,-6.364l6.364,-6.364l1.414,1.414l-4.95,4.95z" })] }));
|
|
5
5
|
exports.default = DoubleArrowRightHeadIcon;
|
|
6
|
-
//# sourceMappingURL=DoubleArrowRightHeadIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const ExclamationFilledIcon = ({ ...props }) => ((0, jsx_runtime_1.jsx)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z", clipRule: "evenodd" }) }));
|
|
5
5
|
exports.default = ExclamationFilledIcon;
|
|
6
|
-
//# sourceMappingURL=ExclamationFilledIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const FilterIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("rect", { y: "2", width: "8", height: "1", fill: "#373531" }), (0, jsx_runtime_1.jsx)("rect", { x: "8", y: "1", width: "3", height: "3", rx: "1.5", stroke: "#373531" }), (0, jsx_runtime_1.jsx)("rect", { x: "11.5", y: "8.5", width: "8", height: "1", transform: "rotate(-180 11.5 8.5)", fill: "#373531" }), (0, jsx_runtime_1.jsx)("rect", { x: "3.5", y: "9.5", width: "3", height: "3", rx: "1.5", transform: "rotate(-180 3.5 9.5)", stroke: "#373531" })] }));
|
|
5
5
|
exports.default = FilterIcon;
|
|
6
|
-
//# sourceMappingURL=FilterIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const LoadingSpinner = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [(0, jsx_runtime_1.jsx)("path", { fill: "none", d: "M0 0h24v24H0z" }), (0, jsx_runtime_1.jsx)("path", { d: "M18.364 5.636L16.95 7.05A7 7 0 1 0 19 12h2a9 9 0 1 1-2.636-6.364z" })] }));
|
|
5
5
|
exports.default = LoadingSpinner;
|
|
6
|
-
//# sourceMappingURL=LoadingSpinner.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const RefreshIcon = ({ ...props }) => ((0, jsx_runtime_1.jsx)("svg", { ...props, width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M8.0115 4.674H10.5075L8.917 3.0825C8.40495 2.57044 7.76711 2.2022 7.06761 2.0148C6.36811 1.82741 5.63161 1.82746 4.93214 2.01496C4.23267 2.20246 3.59489 2.57079 3.0829 3.08293C2.57092 3.59507 2.20279 4.23297 2.0155 4.9325M1.4925 9.822V7.326M1.4925 7.326H3.9885M1.4925 7.326L3.0825 8.9175C3.59456 9.42956 4.2324 9.7978 4.9319 9.9852C5.6314 10.1726 6.3679 10.1725 7.06737 9.98504C7.76684 9.79754 8.40462 9.42921 8.9166 8.91707C9.42859 8.40493 9.79672 7.76703 9.984 7.0675M10.5075 2.178V4.673", stroke: "#384151", strokeOpacity: "0.85", strokeWidth: "0.75", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
5
5
|
exports.default = RefreshIcon;
|
|
6
|
-
//# sourceMappingURL=RefreshIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const SearchIcon = ({ ...props }) => ((0, jsx_runtime_1.jsx)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", fill: "currentColor", children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z", clipRule: "evenodd" }) }));
|
|
5
5
|
exports.default = SearchIcon;
|
|
6
|
-
//# sourceMappingURL=SearchIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const UpLeftArrowsIcon = ({ ...props }) => ((0, jsx_runtime_1.jsxs)("svg", { ...props, width: "13", height: "13", viewBox: "0 0 13 13", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("rect", { x: "2.125", y: "8", width: "1", height: "3", rx: "0.5", transform: "rotate(45 2.125 8)", fill: "#373531" }), (0, jsx_runtime_1.jsx)("rect", { y: "10.125", width: "1", height: "3", rx: "0.5", transform: "rotate(-45 0 10.125)", fill: "#373531" }), (0, jsx_runtime_1.jsx)("rect", { x: "12.0977", y: "2.125", width: "1", height: "3", rx: "0.5", transform: "rotate(135 12.0977 2.125)", fill: "#373531" }), (0, jsx_runtime_1.jsx)("rect", { x: "9.97266", width: "1", height: "3", rx: "0.5", transform: "rotate(45 9.97266 0)", fill: "#373531" }), (0, jsx_runtime_1.jsx)("path", { d: "M10 1.125V9.125C10 9.67728 9.55228 10.125 9 10.125H1", stroke: "#373531" })] }));
|
|
5
5
|
exports.default = UpLeftArrowsIcon;
|
|
6
|
-
//# sourceMappingURL=UpLeftArrowsIcon.js.map
|
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const XCircleIcon = ({ ...props }) => ((0, jsx_runtime_1.jsx)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", fill: "currentColor", children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z", clipRule: "evenodd" }) }));
|
|
5
5
|
exports.default = XCircleIcon;
|
|
6
|
-
//# sourceMappingURL=XCircleIcon.js.map
|
package/dist/assets/XIcon.js
CHANGED
|
@@ -3,4 +3,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const XIcon = ({ ...props }) => ((0, jsx_runtime_1.jsx)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", height: "20", width: "20", children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", d: "M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z", clipRule: "evenodd" }) }));
|
|
5
5
|
exports.default = XIcon;
|
|
6
|
-
//# sourceMappingURL=XIcon.js.map
|
package/dist/assets/index.js
CHANGED
|
@@ -46,4 +46,3 @@ var UpLeftArrowsIcon_1 = require("./UpLeftArrowsIcon");
|
|
|
46
46
|
Object.defineProperty(exports, "UpLeftArrowsIcon", { enumerable: true, get: function () { return __importDefault(UpLeftArrowsIcon_1).default; } });
|
|
47
47
|
var XIcon_1 = require("./XIcon");
|
|
48
48
|
Object.defineProperty(exports, "XIcon", { enumerable: true, get: function () { return __importDefault(XIcon_1).default; } });
|
|
49
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -97,4 +97,3 @@ const Dropdown = react_1.default.forwardRef((props, ref) => {
|
|
|
97
97
|
}, "aria-hidden": "true" })] }), (0, jsx_runtime_1.jsx)(Modal_1.default, { theme: theme, showModal: isFocused, setShowModal: setIsFocused, parentRef: dropdownRef, children: (0, jsx_runtime_1.jsx)(contexts_1.SelectedValueContext.Provider, { value: { selectedValue, handleValueChange }, children: (0, jsx_runtime_1.jsx)(contexts_1.HoveredValueContext.Provider, { value: { hoveredValue }, children: react_1.default.Children.map(children, (child) => react_1.default.cloneElement(child)) }) }) })] }));
|
|
98
98
|
});
|
|
99
99
|
exports.default = Dropdown;
|
|
100
|
-
//# sourceMappingURL=Dropdown.js.map
|
|
@@ -8,4 +8,3 @@ var Dropdown_1 = require("./Dropdown");
|
|
|
8
8
|
Object.defineProperty(exports, "Dropdown", { enumerable: true, get: function () { return __importDefault(Dropdown_1).default; } });
|
|
9
9
|
var DropdownItem_1 = require("./DropdownItem");
|
|
10
10
|
Object.defineProperty(exports, "DropdownItem", { enumerable: true, get: function () { return __importDefault(DropdownItem_1).default; } });
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -6,4 +6,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var Modal_1 = require("./Modal");
|
|
8
8
|
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Modal_1).default; } });
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -54,4 +54,3 @@ function QuillCard({ children, theme, onClick, isSelected = false, clickable = t
|
|
|
54
54
|
}` }), (0, jsx_runtime_1.jsx)(assets_1.XIcon, { height: "20", width: "20", fill: "#6C727F" })] })), (0, jsx_runtime_1.jsx)("div", { style: { overflowX: 'scroll' }, children: children })] }));
|
|
55
55
|
}
|
|
56
56
|
exports.QuillCard = QuillCard;
|
|
57
|
-
//# sourceMappingURL=QuillCard.js.map
|
|
@@ -257,4 +257,3 @@ const MemoizedDeleteButton = ({ onClick, style }) => ((0, jsx_runtime_1.jsxs)("b
|
|
|
257
257
|
background-color: rgba(56, 65, 81, 0.03);
|
|
258
258
|
}` }), (0, jsx_runtime_1.jsx)(assets_1.XIcon, { height: "20", width: "20", fill: "#6C727F" })] }));
|
|
259
259
|
exports.MemoizedDeleteButton = MemoizedDeleteButton;
|
|
260
|
-
//# sourceMappingURL=UiComponents.js.map
|
|
@@ -45,4 +45,3 @@ const getSelectButtonColors = (hasSelection, isDisabled, hasError = false) => {
|
|
|
45
45
|
exports.getSelectButtonColors = getSelectButtonColors;
|
|
46
46
|
const hasValue = (value) => value !== null && value !== undefined && value !== '';
|
|
47
47
|
exports.hasValue = hasValue;
|
|
48
|
-
//# sourceMappingURL=selectUtils.js.map
|
package/dist/contexts/index.js
CHANGED
|
@@ -12,4 +12,3 @@ var RootStylesContext_1 = require("./RootStylesContext");
|
|
|
12
12
|
Object.defineProperty(exports, "RootStylesContext", { enumerable: true, get: function () { return __importDefault(RootStylesContext_1).default; } });
|
|
13
13
|
var SelectedValueContext_1 = require("./SelectedValueContext");
|
|
14
14
|
Object.defineProperty(exports, "SelectedValueContext", { enumerable: true, get: function () { return __importDefault(SelectedValueContext_1).default; } });
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
package/dist/hooks/index.js
CHANGED
|
@@ -12,4 +12,3 @@ var useOnWindowResize_1 = require("./useOnWindowResize");
|
|
|
12
12
|
Object.defineProperty(exports, "useOnWindowResize", { enumerable: true, get: function () { return __importDefault(useOnWindowResize_1).default; } });
|
|
13
13
|
var useSelectOnKeyDown_1 = require("./useSelectOnKeyDown");
|
|
14
14
|
Object.defineProperty(exports, "useSelectOnKeyDown", { enumerable: true, get: function () { return __importDefault(useSelectOnKeyDown_1).default; } });
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
package/dist/hooks/useQuill.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -27,4 +27,3 @@ var useQuill_1 = require("./hooks/useQuill");
|
|
|
27
27
|
Object.defineProperty(exports, "useQuill", { enumerable: true, get: function () { return useQuill_1.useQuill; } });
|
|
28
28
|
var downloadCSV_1 = require("./utils/downloadCSV");
|
|
29
29
|
Object.defineProperty(exports, "downloadCSV", { enumerable: true, get: function () { return downloadCSV_1.downloadCSV; } });
|
|
30
|
-
//# sourceMappingURL=index.js.map
|
package/dist/lib/font.js
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/lib/inputTypes.js
CHANGED
package/dist/lib/utils.js
CHANGED
package/dist/utils/aggregate.js
CHANGED
package/dist/utils/colorToHex.js
CHANGED