@quillsql/admin 1.6.2 → 1.6.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/cjs/Admin.d.ts +3 -0
- package/dist/cjs/Admin.d.ts.map +1 -1
- package/dist/cjs/Admin.js +20 -18
- package/dist/cjs/AdminProvider.d.ts +3 -1
- package/dist/cjs/AdminProvider.d.ts.map +1 -1
- package/dist/cjs/AdminProvider.js +3 -2
- package/dist/cjs/api/ConnectionClient.d.ts +21 -10
- package/dist/cjs/api/ConnectionClient.d.ts.map +1 -1
- package/dist/cjs/api/ConnectionClient.js +138 -31
- package/dist/cjs/components/CardSection.d.ts.map +1 -1
- package/dist/cjs/components/CardSection.js +4 -2
- package/dist/cjs/components/DashboardSelectPopover.d.ts.map +1 -1
- package/dist/cjs/components/DashboardSelectPopover.js +17 -6
- package/dist/cjs/components/DatabaseSelector.d.ts +3 -1
- package/dist/cjs/components/DatabaseSelector.d.ts.map +1 -1
- package/dist/cjs/components/DatabaseSelector.js +3 -2
- package/dist/cjs/components/DateRangePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/cjs/components/DateRangePicker/SingleDatePicker.js +31 -7
- package/dist/cjs/components/DateRangePicker/YearlessDateRangePicker.d.ts.map +1 -1
- package/dist/cjs/components/DateRangePicker/YearlessDateRangePicker.js +31 -7
- package/dist/cjs/components/DropDownMenuWithLabel.d.ts.map +1 -1
- package/dist/cjs/components/DropDownMenuWithLabel.js +8 -1
- package/dist/cjs/components/DynamicBanner.d.ts +3 -2
- package/dist/cjs/components/DynamicBanner.d.ts.map +1 -1
- package/dist/cjs/components/DynamicBanner.js +7 -2
- package/dist/cjs/components/EmptyDashboardComponent/index.d.ts.map +1 -1
- package/dist/cjs/components/EmptyDashboardComponent/index.js +3 -2
- package/dist/cjs/components/EmptyVirtualTablesComponent.d.ts.map +1 -1
- package/dist/cjs/components/EmptyVirtualTablesComponent.js +4 -1
- package/dist/cjs/components/FormTooltip.d.ts.map +1 -1
- package/dist/cjs/components/FormTooltip.js +4 -1
- package/dist/cjs/components/InputLabel.d.ts.map +1 -1
- package/dist/cjs/components/InputLabel.js +4 -2
- package/dist/cjs/components/InternalDashboard/DateRangePicker/QuillDateRangePicker.d.ts.map +1 -1
- package/dist/cjs/components/InternalDashboard/DateRangePicker/QuillDateRangePicker.js +33 -14
- package/dist/cjs/components/InternalDashboard/InternalDashboard.d.ts.map +1 -1
- package/dist/cjs/components/InternalDashboard/InternalDashboard.js +14 -1
- package/dist/cjs/components/OrgSelect.d.ts +0 -6
- package/dist/cjs/components/OrgSelect.d.ts.map +1 -1
- package/dist/cjs/components/OrgSelect.js +32 -44
- package/dist/cjs/components/QuillMultiSelectWithCombo.d.ts +3 -1
- package/dist/cjs/components/QuillMultiSelectWithCombo.d.ts.map +1 -1
- package/dist/cjs/components/QuillMultiSelectWithCombo.js +27 -22
- package/dist/cjs/components/QuillPopover.d.ts.map +1 -1
- package/dist/cjs/components/QuillPopover.js +4 -5
- package/dist/cjs/components/QuillSelect.js +9 -9
- package/dist/cjs/components/QuillSelectWithCombo.d.ts.map +1 -1
- package/dist/cjs/components/QuillSelectWithCombo.js +13 -15
- package/dist/cjs/components/Tenants/EditTenant.d.ts.map +1 -1
- package/dist/cjs/components/Tenants/EditTenant.js +2 -2
- package/dist/cjs/components/UiComponents.d.ts +16 -43
- package/dist/cjs/components/UiComponents.d.ts.map +1 -1
- package/dist/cjs/components/UiComponents.js +161 -33
- package/dist/cjs/forms/client_onboard/ConnectDatabase.d.ts.map +1 -1
- package/dist/cjs/forms/client_onboard/ConnectDatabase.js +113 -49
- package/dist/cjs/forms/client_onboard/ConnectSchema.d.ts.map +1 -1
- package/dist/cjs/forms/client_onboard/ConnectSchema.js +3 -1
- package/dist/cjs/forms/client_onboard/CreateVirtualTables.d.ts.map +1 -1
- package/dist/cjs/forms/client_onboard/CreateVirtualTables.js +6 -2
- package/dist/cjs/forms/client_onboard/__tests__/ConnectSchema.test.js +1 -0
- package/dist/cjs/forms/client_onboard/__tests__/CreateVirtualTables.test.js +1 -0
- package/dist/cjs/forms/virtual_tables/CreateEditVirtualTable.d.ts.map +1 -1
- package/dist/cjs/forms/virtual_tables/CreateEditVirtualTable.js +10 -6
- package/dist/cjs/hooks/useDatabaseSchema.d.ts.map +1 -1
- package/dist/cjs/hooks/useDatabaseSchema.js +6 -1
- package/dist/cjs/modals/EditEnvironmentModal.d.ts.map +1 -1
- package/dist/cjs/modals/EditEnvironmentModal.js +7 -2
- package/dist/cjs/modals/EditFiltersModal.js +7 -7
- package/dist/cjs/primitives/ButtonPrimitive.d.ts.map +1 -1
- package/dist/cjs/primitives/ButtonPrimitive.js +10 -6
- package/dist/cjs/primitives/HeaderPrimitive.d.ts.map +1 -1
- package/dist/cjs/primitives/HeaderPrimitive.js +11 -7
- package/dist/cjs/primitives/PopoverPrimitive.d.ts.map +1 -1
- package/dist/cjs/primitives/PopoverPrimitive.js +3 -1
- package/dist/cjs/primitives/SecondaryButtonPrimitive.d.ts.map +1 -1
- package/dist/cjs/primitives/SecondaryButtonPrimitive.js +5 -3
- package/dist/cjs/public_components/ChartQueryBuilder.d.ts.map +1 -1
- package/dist/cjs/public_components/ChartQueryBuilder.js +13 -3
- package/dist/cjs/public_components/CreateEnvironment.d.ts.map +1 -1
- package/dist/cjs/public_components/CreateEnvironment.js +20 -15
- package/dist/cjs/public_components/DashboardManager.d.ts.map +1 -1
- package/dist/cjs/public_components/DashboardManager.js +10 -1
- package/dist/cjs/public_components/EnvSelectPopover.d.ts +2 -1
- package/dist/cjs/public_components/EnvSelectPopover.d.ts.map +1 -1
- package/dist/cjs/public_components/EnvSelectPopover.js +19 -7
- package/dist/cjs/public_components/VirtualTableManager.d.ts.map +1 -1
- package/dist/cjs/public_components/VirtualTableManager.js +32 -8
- package/dist/cjs/utils/columnProcessing.d.ts +1 -0
- package/dist/cjs/utils/columnProcessing.d.ts.map +1 -1
- package/dist/cjs/utils/columnProcessing.js +1 -0
- package/dist/cjs/utils/constants.d.ts +1 -0
- package/dist/cjs/utils/constants.d.ts.map +1 -1
- package/dist/cjs/utils/constants.js +5 -1
- package/dist/cjs/utils/dataFetcher.d.ts.map +1 -1
- package/dist/cjs/utils/dataFetcher.js +0 -1
- package/dist/cjs/utils/databases.js +5 -5
- package/dist/esm/Admin.d.ts +3 -0
- package/dist/esm/Admin.d.ts.map +1 -1
- package/dist/esm/Admin.js +20 -18
- package/dist/esm/AdminProvider.d.ts +3 -1
- package/dist/esm/AdminProvider.d.ts.map +1 -1
- package/dist/esm/AdminProvider.js +5 -4
- package/dist/esm/api/ConnectionClient.d.ts +21 -10
- package/dist/esm/api/ConnectionClient.d.ts.map +1 -1
- package/dist/esm/api/ConnectionClient.js +136 -31
- package/dist/esm/components/CardSection.d.ts.map +1 -1
- package/dist/esm/components/CardSection.js +4 -2
- package/dist/esm/components/DashboardSelectPopover.d.ts.map +1 -1
- package/dist/esm/components/DashboardSelectPopover.js +18 -7
- package/dist/esm/components/DatabaseSelector.d.ts +3 -1
- package/dist/esm/components/DatabaseSelector.d.ts.map +1 -1
- package/dist/esm/components/DatabaseSelector.js +3 -2
- package/dist/esm/components/DateRangePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/esm/components/DateRangePicker/SingleDatePicker.js +31 -7
- package/dist/esm/components/DateRangePicker/YearlessDateRangePicker.d.ts.map +1 -1
- package/dist/esm/components/DateRangePicker/YearlessDateRangePicker.js +31 -7
- package/dist/esm/components/DropDownMenuWithLabel.d.ts.map +1 -1
- package/dist/esm/components/DropDownMenuWithLabel.js +9 -2
- package/dist/esm/components/DynamicBanner.d.ts +3 -2
- package/dist/esm/components/DynamicBanner.d.ts.map +1 -1
- package/dist/esm/components/DynamicBanner.js +7 -2
- package/dist/esm/components/EmptyDashboardComponent/index.d.ts.map +1 -1
- package/dist/esm/components/EmptyDashboardComponent/index.js +3 -2
- package/dist/esm/components/EmptyVirtualTablesComponent.d.ts.map +1 -1
- package/dist/esm/components/EmptyVirtualTablesComponent.js +4 -1
- package/dist/esm/components/FormTooltip.d.ts.map +1 -1
- package/dist/esm/components/FormTooltip.js +4 -1
- package/dist/esm/components/InputLabel.d.ts.map +1 -1
- package/dist/esm/components/InputLabel.js +4 -2
- package/dist/esm/components/InternalDashboard/DateRangePicker/QuillDateRangePicker.d.ts.map +1 -1
- package/dist/esm/components/InternalDashboard/DateRangePicker/QuillDateRangePicker.js +33 -11
- package/dist/esm/components/InternalDashboard/InternalDashboard.d.ts.map +1 -1
- package/dist/esm/components/InternalDashboard/InternalDashboard.js +14 -1
- package/dist/esm/components/OrgSelect.d.ts +0 -6
- package/dist/esm/components/OrgSelect.d.ts.map +1 -1
- package/dist/esm/components/OrgSelect.js +32 -42
- package/dist/esm/components/QuillMultiSelectWithCombo.d.ts +3 -1
- package/dist/esm/components/QuillMultiSelectWithCombo.d.ts.map +1 -1
- package/dist/esm/components/QuillMultiSelectWithCombo.js +27 -22
- package/dist/esm/components/QuillPopover.d.ts.map +1 -1
- package/dist/esm/components/QuillPopover.js +4 -5
- package/dist/esm/components/QuillSelect.js +9 -9
- package/dist/esm/components/QuillSelectWithCombo.d.ts.map +1 -1
- package/dist/esm/components/QuillSelectWithCombo.js +13 -15
- package/dist/esm/components/Tenants/EditTenant.d.ts.map +1 -1
- package/dist/esm/components/Tenants/EditTenant.js +2 -2
- package/dist/esm/components/UiComponents.d.ts +16 -43
- package/dist/esm/components/UiComponents.d.ts.map +1 -1
- package/dist/esm/components/UiComponents.js +126 -29
- package/dist/esm/forms/client_onboard/ConnectDatabase.d.ts.map +1 -1
- package/dist/esm/forms/client_onboard/ConnectDatabase.js +113 -49
- package/dist/esm/forms/client_onboard/ConnectSchema.d.ts.map +1 -1
- package/dist/esm/forms/client_onboard/ConnectSchema.js +3 -1
- package/dist/esm/forms/client_onboard/CreateVirtualTables.d.ts.map +1 -1
- package/dist/esm/forms/client_onboard/CreateVirtualTables.js +6 -2
- package/dist/esm/forms/client_onboard/__tests__/ConnectSchema.test.js +1 -0
- package/dist/esm/forms/client_onboard/__tests__/CreateVirtualTables.test.js +1 -0
- package/dist/esm/forms/virtual_tables/CreateEditVirtualTable.d.ts.map +1 -1
- package/dist/esm/forms/virtual_tables/CreateEditVirtualTable.js +11 -7
- package/dist/esm/hooks/useDatabaseSchema.d.ts.map +1 -1
- package/dist/esm/hooks/useDatabaseSchema.js +7 -2
- package/dist/esm/modals/EditEnvironmentModal.d.ts.map +1 -1
- package/dist/esm/modals/EditEnvironmentModal.js +7 -2
- package/dist/esm/modals/EditFiltersModal.js +8 -8
- package/dist/esm/primitives/ButtonPrimitive.d.ts.map +1 -1
- package/dist/esm/primitives/ButtonPrimitive.js +10 -6
- package/dist/esm/primitives/HeaderPrimitive.d.ts.map +1 -1
- package/dist/esm/primitives/HeaderPrimitive.js +11 -7
- package/dist/esm/primitives/PopoverPrimitive.d.ts.map +1 -1
- package/dist/esm/primitives/PopoverPrimitive.js +3 -1
- package/dist/esm/primitives/SecondaryButtonPrimitive.d.ts.map +1 -1
- package/dist/esm/primitives/SecondaryButtonPrimitive.js +5 -3
- package/dist/esm/public_components/ChartQueryBuilder.d.ts.map +1 -1
- package/dist/esm/public_components/ChartQueryBuilder.js +14 -4
- package/dist/esm/public_components/CreateEnvironment.d.ts.map +1 -1
- package/dist/esm/public_components/CreateEnvironment.js +20 -15
- package/dist/esm/public_components/DashboardManager.d.ts.map +1 -1
- package/dist/esm/public_components/DashboardManager.js +10 -1
- package/dist/esm/public_components/EnvSelectPopover.d.ts +2 -1
- package/dist/esm/public_components/EnvSelectPopover.d.ts.map +1 -1
- package/dist/esm/public_components/EnvSelectPopover.js +20 -8
- package/dist/esm/public_components/VirtualTableManager.d.ts.map +1 -1
- package/dist/esm/public_components/VirtualTableManager.js +33 -9
- package/dist/esm/utils/columnProcessing.d.ts +1 -0
- package/dist/esm/utils/columnProcessing.d.ts.map +1 -1
- package/dist/esm/utils/columnProcessing.js +1 -1
- package/dist/esm/utils/constants.d.ts +1 -0
- package/dist/esm/utils/constants.d.ts.map +1 -1
- package/dist/esm/utils/constants.js +4 -0
- package/dist/esm/utils/dataFetcher.d.ts.map +1 -1
- package/dist/esm/utils/dataFetcher.js +0 -1
- package/dist/esm/utils/databases.js +5 -5
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardSection.d.ts","sourceRoot":"","sources":["../../../src/components/CardSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CardSection.d.ts","sourceRoot":"","sources":["../../../src/components/CardSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1C,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAgBzE"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useAdmin } from '../AdminProvider';
|
|
2
3
|
export default function CardSection(props) {
|
|
4
|
+
const { state: { theme }, } = useAdmin();
|
|
3
5
|
return (_jsx("div", { style: {
|
|
4
|
-
fontFamily:
|
|
5
|
-
color:
|
|
6
|
+
fontFamily: theme?.fontFamily,
|
|
7
|
+
color: theme?.primaryTextColor,
|
|
6
8
|
fontSize: 16,
|
|
7
9
|
fontWeight: '600',
|
|
8
10
|
}, children: props.children }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardSelectPopover.d.ts","sourceRoot":"","sources":["../../../src/components/DashboardSelectPopover.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardSelectPopover.d.ts","sourceRoot":"","sources":["../../../src/components/DashboardSelectPopover.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7C,UAAU,2BAA2B;IACnC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC;IAClB,wBAAwB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC7C,UAAU,EACV,YAAY,EACZ,SAAS,EACT,KAAK,EACL,wBAAwB,EACxB,mBAAmB,EACnB,SAAS,EACT,SAAS,GACV,EAAE,2BAA2B,2CAyK7B"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo, useState } from 'react';
|
|
3
|
-
import { ListboxRow,
|
|
3
|
+
import { ListboxRow, Popover } from './OrgSelect';
|
|
4
4
|
import MiniButtonPrimitive from '../primitives/MiniButtonPrimitive';
|
|
5
5
|
import { LoadingSpinner } from './UiComponents';
|
|
6
|
+
import { ListboxTextInput } from './QuillMultiSelectWithCombo';
|
|
6
7
|
export default function DashboardSelectPopover({ dashboards, setDashboard, dashboard, theme, setSelectedEditDashboard, onClickNewDashboard, parentRef, isLoading, }) {
|
|
7
8
|
const [isOpen, setIsOpen] = useState(false);
|
|
8
9
|
const [searchQuery, setSearchQuery] = useState('');
|
|
@@ -19,12 +20,17 @@ export default function DashboardSelectPopover({ dashboards, setDashboard, dashb
|
|
|
19
20
|
marginTop: '0px',
|
|
20
21
|
marginBottom: '4px',
|
|
21
22
|
fontWeight: '600',
|
|
23
|
+
fontFamily: theme.fontFamily,
|
|
22
24
|
color: theme.secondaryTextColor,
|
|
23
25
|
}, children: "Dashboard" }), _jsx(Popover, { parentRef: parentRef, label: dashboard ?? 'Select dashboard', isOpen: isOpen, onClose: () => setIsOpen(false), style: {
|
|
24
26
|
boxSizing: 'border-box',
|
|
25
27
|
fontSize: 14,
|
|
26
28
|
maxHeight: '50vh',
|
|
27
|
-
}, setIsOpen: setIsOpen, onClick: () => { }, children: !isLoading ? (_jsxs(_Fragment, { children: [_jsx(ListboxTextInput, { id: "quill-search-bar", placeholder: "Search", value: searchQuery,
|
|
29
|
+
}, setIsOpen: setIsOpen, onClick: () => { }, children: !isLoading ? (_jsxs(_Fragment, { children: [_jsx(ListboxTextInput, { id: "quill-search-bar", placeholder: "Search", value: searchQuery, width: 180, onChange: setSearchQuery }), _jsx("div", { style: {
|
|
30
|
+
height: 9,
|
|
31
|
+
width: 230,
|
|
32
|
+
borderTop: `1px solid ${theme?.borderColor ?? '#e7e7e7'}`,
|
|
33
|
+
} }), _jsxs("div", { style: { paddingTop: 8, paddingBottom: 8 }, children: [filteredDashboards.map((item) => (_jsx(ListboxRow, { setSelected: dashboard && dashboard !== item
|
|
28
34
|
? () => handleItemClick(item)
|
|
29
35
|
: undefined, item: item, isSelected: dashboard === item, hoverActions: (item) => (_jsx(MiniButtonPrimitive, { label: "Manage", onClick: () => {
|
|
30
36
|
setSelectedEditDashboard(item);
|
|
@@ -33,9 +39,11 @@ export default function DashboardSelectPopover({ dashboards, setDashboard, dashb
|
|
|
33
39
|
marginRight: -8,
|
|
34
40
|
marginTop: 'auto',
|
|
35
41
|
marginBottom: 'auto',
|
|
42
|
+
fontFamily: theme.fontFamily,
|
|
43
|
+
color: theme.secondaryTextColor,
|
|
44
|
+
backgroundColor: theme.backgroundColor,
|
|
36
45
|
} })) }, item))), _jsx("div", { className: 'quill-list-select', style: { paddingBottom: 6, cursor: 'pointer' }, children: _jsxs("div", { onClick: onClickNewDashboard, style: {
|
|
37
46
|
height: 42,
|
|
38
|
-
color: '#384151',
|
|
39
47
|
width: 216,
|
|
40
48
|
borderRadius: 6,
|
|
41
49
|
textAlign: 'left',
|
|
@@ -49,15 +57,18 @@ export default function DashboardSelectPopover({ dashboards, setDashboard, dashb
|
|
|
49
57
|
textOverflow: 'ellipsis',
|
|
50
58
|
whiteSpace: 'nowrap',
|
|
51
59
|
overflow: 'hidden',
|
|
60
|
+
fontFamily: theme.fontFamily,
|
|
52
61
|
}, children: [_jsx("style", { children: `
|
|
53
62
|
.quill-list-select > div {
|
|
54
|
-
background-color:
|
|
63
|
+
background-color: ${theme?.backgroundColor};
|
|
64
|
+
color: ${theme?.primaryTextColor};
|
|
55
65
|
}
|
|
56
66
|
.quill-list-selected > div {
|
|
57
|
-
background-color:
|
|
58
|
-
|
|
67
|
+
background-color: ${theme?.hoverBackgroundColor};
|
|
68
|
+
color: ${theme?.hoverTextColor};
|
|
59
69
|
.quill-list-select:hover > div {
|
|
60
|
-
background-color:
|
|
70
|
+
background-color: ${theme?.hoverBackgroundColor};
|
|
71
|
+
color: ${theme?.hoverTextColor};
|
|
61
72
|
}` }), _jsxs("div", { style: {
|
|
62
73
|
textOverflow: 'ellipsis',
|
|
63
74
|
whiteSpace: 'nowrap',
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
+
import { QuillTheme } from '../Admin';
|
|
2
3
|
interface DatabaseSelectorProps {
|
|
3
4
|
label: string;
|
|
4
5
|
imageUrl: string;
|
|
@@ -6,7 +7,8 @@ interface DatabaseSelectorProps {
|
|
|
6
7
|
onDatabaseSelect: (database: string) => void;
|
|
7
8
|
containerStyle?: CSSProperties;
|
|
8
9
|
databaseType: string;
|
|
10
|
+
theme: QuillTheme;
|
|
9
11
|
}
|
|
10
|
-
export default function DatabaseSelector({ label, imageUrl, value, onDatabaseSelect, containerStyle, databaseType, }: DatabaseSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default function DatabaseSelector({ label, imageUrl, value, onDatabaseSelect, containerStyle, databaseType, theme, }: DatabaseSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
export {};
|
|
12
14
|
//# sourceMappingURL=DatabaseSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatabaseSelector.d.ts","sourceRoot":"","sources":["../../../src/components/DatabaseSelector.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DatabaseSelector.d.ts","sourceRoot":"","sources":["../../../src/components/DatabaseSelector.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,KAAK,EACL,QAAQ,EACR,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,YAAiB,EACjB,KAAK,GACN,EAAE,qBAAqB,2CA8CvB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export default function DatabaseSelector({ label, imageUrl, value, onDatabaseSelect, containerStyle, databaseType = '', }) {
|
|
2
|
+
export default function DatabaseSelector({ label, imageUrl, value, onDatabaseSelect, containerStyle, databaseType = '', theme, }) {
|
|
3
3
|
return (_jsxs("div", { style: {
|
|
4
4
|
...containerStyle,
|
|
5
5
|
height: 128,
|
|
@@ -24,7 +24,8 @@ export default function DatabaseSelector({ label, imageUrl, value, onDatabaseSel
|
|
|
24
24
|
} }), _jsx("h1", { style: {
|
|
25
25
|
fontSize: 14,
|
|
26
26
|
fontWeight: '500',
|
|
27
|
-
color:
|
|
27
|
+
color: theme?.secondaryTextColor,
|
|
28
|
+
fontFamily: theme?.fontFamily,
|
|
28
29
|
marginTop: 10,
|
|
29
30
|
}, children: label })] }));
|
|
30
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SingleDatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DateRangePicker/SingleDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAgB3D,MAAM,WAAW,mBAAmB;IAClC,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,UAAiB,GAClB,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"SingleDatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DateRangePicker/SingleDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAgB3D,MAAM,WAAW,mBAAmB;IAClC,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,UAAiB,GAClB,EAAE,mBAAmB,2CAqXrB"}
|
|
@@ -115,10 +115,6 @@ export function SingleDatePicker({ selectedDate, onChangeDate, disabled, style,
|
|
|
115
115
|
alignItems: 'center',
|
|
116
116
|
borderColor: theme?.borderColor,
|
|
117
117
|
fontFamily: theme?.fontFamily,
|
|
118
|
-
color: theme?.primaryTextColor,
|
|
119
|
-
backgroundColor: disabled
|
|
120
|
-
? theme?.hoverBackgroundColor
|
|
121
|
-
: theme?.backgroundColor,
|
|
122
118
|
padding: '8px 12px',
|
|
123
119
|
fontSize: 14,
|
|
124
120
|
margin: 0,
|
|
@@ -132,7 +128,9 @@ export function SingleDatePicker({ selectedDate, onChangeDate, disabled, style,
|
|
|
132
128
|
minHeight: 40,
|
|
133
129
|
maxHeight: 40,
|
|
134
130
|
gap: 10,
|
|
135
|
-
|
|
131
|
+
opacity: disabled ? 0.5 : 1,
|
|
132
|
+
}, disabled: disabled, onClick: () => setShowModal((prevShowModal) => !prevShowModal), className: "quill-date-range-picker-button", children: [_jsx("style", { children: ` .quill-date-range-picker-button { background: ${theme?.backgroundColor}; color: ${theme?.primaryTextColor}; }
|
|
133
|
+
.quill-date-range-picker-button:hover { background: ${theme?.hoverBackgroundColor}; color: ${theme?.hoverTextColor}; }` }), _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", height: "15.5px", width: "15.5px", style: { marginTop: -1.5 }, children: [_jsx("rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", ry: "2" }), _jsx("line", { x1: "16", x2: "16", y1: "2", y2: "6" }), _jsx("line", { x1: "8", x2: "8", y1: "2", y2: "6" }), _jsx("line", { x1: "3", x2: "21", y1: "10", y2: "10" })] }), ignoreYear
|
|
136
134
|
? selectedDate
|
|
137
135
|
? `Start on ${format(selectedDate, 'MMM dd')}`
|
|
138
136
|
: 'Select Date'
|
|
@@ -175,7 +173,20 @@ export function SingleDatePicker({ selectedDate, onChangeDate, disabled, style,
|
|
|
175
173
|
visibility: ignoreYear && currentMonth.getMonth() === 0
|
|
176
174
|
? 'hidden'
|
|
177
175
|
: 'visible',
|
|
178
|
-
}, className: "quill-calendar-button", children: [_jsx("style", { children:
|
|
176
|
+
}, className: "quill-calendar-button", children: [_jsx("style", { children: `
|
|
177
|
+
.quill-calendar-button {
|
|
178
|
+
background-color: ${theme.backgroundColor};
|
|
179
|
+
}
|
|
180
|
+
.quill-calendar-button:hover {
|
|
181
|
+
background-color: ${theme.hoverBackgroundColor};
|
|
182
|
+
}
|
|
183
|
+
.quill-calendar-button svg {
|
|
184
|
+
fill: ${theme.chartLabelColor};
|
|
185
|
+
}
|
|
186
|
+
.quill-calendar-button:hover svg {
|
|
187
|
+
fill: ${theme.hoverTextColor};
|
|
188
|
+
}
|
|
189
|
+
` }), _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", height: "24px", width: "24px", children: _jsx("path", { d: "M10.8284 12.0007L15.7782 16.9504L14.364 18.3646L8 12.0007L14.364 5.63672L15.7782 7.05093L10.8284 12.0007Z" }) })] }), _jsx("div", { style: {
|
|
179
190
|
fontFamily: theme.fontFamily,
|
|
180
191
|
fontSize: 14,
|
|
181
192
|
color: theme.primaryTextColor,
|
|
@@ -198,7 +209,20 @@ export function SingleDatePicker({ selectedDate, onChangeDate, disabled, style,
|
|
|
198
209
|
visibility: ignoreYear && currentMonth.getMonth() === 11
|
|
199
210
|
? 'hidden'
|
|
200
211
|
: 'visible',
|
|
201
|
-
}, className: "quill-calendar-button", children: [_jsx("style", { children:
|
|
212
|
+
}, className: "quill-calendar-button", children: [_jsx("style", { children: `
|
|
213
|
+
.quill-calendar-button {
|
|
214
|
+
background-color: ${theme.backgroundColor};
|
|
215
|
+
}
|
|
216
|
+
.quill-calendar-button:hover {
|
|
217
|
+
background-color: ${theme.hoverBackgroundColor};
|
|
218
|
+
}
|
|
219
|
+
.quill-calendar-button svg {
|
|
220
|
+
fill: ${theme.chartLabelColor};
|
|
221
|
+
}
|
|
222
|
+
.quill-calendar-button:hover svg {
|
|
223
|
+
fill: ${theme.hoverTextColor};
|
|
224
|
+
}
|
|
225
|
+
` }), _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", height: "24px", width: "24px", children: _jsx("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" }) })] })] }), _jsx("div", { style: {
|
|
202
226
|
display: 'grid',
|
|
203
227
|
gridTemplateColumns: 'repeat(7, 1fr)',
|
|
204
228
|
marginTop: 8,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YearlessDateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DateRangePicker/YearlessDateRangePicker.tsx"],"names":[],"mappings":"AAgBA,MAAM,WAAW,6BAA6B;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE;QAAE,SAAS,CAAC,EAAE,IAAI,CAAC;QAAC,OAAO,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IAChD,iBAAiB,EAAE,CAAC,EAClB,SAAS,EACT,OAAO,GACR,EAAE;QACD,SAAS,CAAC,EAAE,IAAI,CAAC;QACjB,OAAO,CAAC,EAAE,IAAI,CAAC;KAChB,KAAK,IAAI,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,SAAS,EACT,iBAAiB,EACjB,KAAK,EACL,QAAQ,EACR,KAAK,GACN,EAAE,6BAA6B,
|
|
1
|
+
{"version":3,"file":"YearlessDateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DateRangePicker/YearlessDateRangePicker.tsx"],"names":[],"mappings":"AAgBA,MAAM,WAAW,6BAA6B;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE;QAAE,SAAS,CAAC,EAAE,IAAI,CAAC;QAAC,OAAO,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IAChD,iBAAiB,EAAE,CAAC,EAClB,SAAS,EACT,OAAO,GACR,EAAE;QACD,SAAS,CAAC,EAAE,IAAI,CAAC;QACjB,OAAO,CAAC,EAAE,IAAI,CAAC;KAChB,KAAK,IAAI,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,SAAS,EACT,iBAAiB,EACjB,KAAK,EACL,QAAQ,EACR,KAAK,GACN,EAAE,6BAA6B,2CAiI/B"}
|
|
@@ -40,10 +40,6 @@ export function QuillYearlessDateRangePicker({ dateRange, onChangeDateRange, lab
|
|
|
40
40
|
alignItems: 'center',
|
|
41
41
|
borderColor: theme?.borderColor,
|
|
42
42
|
fontFamily: theme?.fontFamily,
|
|
43
|
-
color: theme?.primaryTextColor,
|
|
44
|
-
backgroundColor: disabled
|
|
45
|
-
? theme?.hoverBackgroundColor
|
|
46
|
-
: theme?.backgroundColor,
|
|
47
43
|
padding: '8px 12px',
|
|
48
44
|
fontSize: 14,
|
|
49
45
|
margin: 0,
|
|
@@ -57,7 +53,9 @@ export function QuillYearlessDateRangePicker({ dateRange, onChangeDateRange, lab
|
|
|
57
53
|
minHeight: 40,
|
|
58
54
|
maxHeight: 40,
|
|
59
55
|
gap: 10,
|
|
60
|
-
|
|
56
|
+
opacity: disabled ? 0.5 : 1,
|
|
57
|
+
}, disabled: disabled, onClick: () => setShowModal((showModal) => !showModal), className: "quill-date-range-picker-button", children: [_jsx("style", { children: ` .quill-date-range-picker-button { background: ${theme?.backgroundColor}; color: ${theme?.primaryTextColor}; }
|
|
58
|
+
.quill-date-range-picker-button:hover { background: ${theme?.hoverBackgroundColor}; color: ${theme?.hoverTextColor}; }` }), _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", height: "15.5px", width: "15.5px", style: { marginTop: -1.5 }, children: [_jsx("rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", ry: "2" }), _jsx("line", { x1: "16", x2: "16", y1: "2", y2: "6" }), _jsx("line", { x1: "8", x2: "8", y1: "2", y2: "6" }), _jsx("line", { x1: "3", x2: "21", y1: "10", y2: "10" })] }), localStartDate && format(localStartDate, 'MMM dd'), localStartDate ? ' - ' : 'Pick a date', localEndDate && format(localEndDate, 'MMM dd')] }), showModal && (_jsx(CalendarRow, { theme: theme, anchorStartDate: anchorStartDate, anchorEndDate: anchorEndDate, setAnchorStartDate: setAnchorStartDate, setAnchorEndDate: setAnchorEndDate, setLocalStartDate: (date) => {
|
|
61
59
|
setLocalStartDate(date);
|
|
62
60
|
}, setLocalEndDate: (date) => {
|
|
63
61
|
setLocalEndDate(date);
|
|
@@ -118,7 +116,20 @@ function CalendarRow({ theme, anchorStartDate, anchorEndDate, setAnchorStartDate
|
|
|
118
116
|
alignItems: 'center',
|
|
119
117
|
justifyContent: 'center',
|
|
120
118
|
visibility: anchorStartDate.getMonth() === 0 ? 'hidden' : 'visible',
|
|
121
|
-
}, className: "quill-calendar-button", children: [_jsx("style", { children:
|
|
119
|
+
}, className: "quill-calendar-button", children: [_jsx("style", { children: `
|
|
120
|
+
.quill-calendar-button {
|
|
121
|
+
background-color: ${theme.backgroundColor};
|
|
122
|
+
}
|
|
123
|
+
.quill-calendar-button:hover {
|
|
124
|
+
background-color: ${theme.hoverBackgroundColor};
|
|
125
|
+
}
|
|
126
|
+
.quill-calendar-button svg {
|
|
127
|
+
fill: ${theme.chartLabelColor};
|
|
128
|
+
}
|
|
129
|
+
.quill-calendar-button:hover svg {
|
|
130
|
+
fill: ${theme.hoverTextColor};
|
|
131
|
+
}
|
|
132
|
+
` }), _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", height: "24px", width: "24px", children: _jsx("path", { d: "M10.8284 12.0007L15.7782 16.9504L14.364 18.3646L8 12.0007L14.364 5.63672L15.7782 7.05093L10.8284 12.0007Z" }) })] }), _jsx("div", { style: {
|
|
122
133
|
fontFamily: theme.fontFamily,
|
|
123
134
|
fontSize: 14,
|
|
124
135
|
color: theme.primaryTextColor,
|
|
@@ -164,7 +175,20 @@ function CalendarRow({ theme, anchorStartDate, anchorEndDate, setAnchorStartDate
|
|
|
164
175
|
alignItems: 'center',
|
|
165
176
|
justifyContent: 'center',
|
|
166
177
|
visibility: anchorStartDate.getMonth() === 10 ? 'hidden' : 'visible',
|
|
167
|
-
}, className: "quill-calendar-button", children: [_jsx("style", { children:
|
|
178
|
+
}, className: "quill-calendar-button", children: [_jsx("style", { children: `
|
|
179
|
+
.quill-calendar-button {
|
|
180
|
+
background-color: ${theme.backgroundColor};
|
|
181
|
+
}
|
|
182
|
+
.quill-calendar-button:hover {
|
|
183
|
+
background-color: ${theme.hoverBackgroundColor};
|
|
184
|
+
}
|
|
185
|
+
.quill-calendar-button svg {
|
|
186
|
+
fill: ${theme.chartLabelColor};
|
|
187
|
+
}
|
|
188
|
+
.quill-calendar-button:hover svg {
|
|
189
|
+
fill: ${theme.hoverTextColor};
|
|
190
|
+
}
|
|
191
|
+
` }), _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", height: "24px", width: "24px", children: _jsx("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" }) })] })] }), _jsx("div", { style: {
|
|
168
192
|
display: 'grid',
|
|
169
193
|
gridTemplateColumns: 'repeat(7, 1fr)',
|
|
170
194
|
rowGap: 8,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropDownMenuWithLabel.d.ts","sourceRoot":"","sources":["../../../src/components/DropDownMenuWithLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DropDownMenuWithLabel.d.ts","sourceRoot":"","sources":["../../../src/components/DropDownMenuWithLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,UAAU,0BAA0B;IAClC,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,WAAW,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,GAAG,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,GAAG,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC5C,KAAK,EACL,WAAW,EACX,QAAQ,EACR,KAAK,EACL,SAAS,EACT,WAAW,EACX,KAAK,GACN,EAAE,0BAA0B,2CAqG5B"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React, { useMemo } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { Popover } from './OrgSelect';
|
|
4
4
|
import FormTooltip from './FormTooltip';
|
|
5
|
+
import { ListboxTextInput } from './QuillMultiSelectWithCombo';
|
|
6
|
+
import { useAdmin } from '../AdminProvider';
|
|
5
7
|
export default function DropdownMenuWithLabel({ items, setSelected, selected, label, parentRef, tooltipText, style, }) {
|
|
6
8
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
7
9
|
const [searchQuery, setSearchQuery] = React.useState('');
|
|
10
|
+
const { state: { theme }, } = useAdmin();
|
|
8
11
|
const filteredItems = useMemo(() => {
|
|
9
12
|
return searchQuery === ''
|
|
10
13
|
? items.slice(0, 10)
|
|
@@ -50,7 +53,11 @@ export default function DropdownMenuWithLabel({ items, setSelected, selected, la
|
|
|
50
53
|
boxSizing: 'border-box',
|
|
51
54
|
fontSize: 14,
|
|
52
55
|
zIndex: 10,
|
|
53
|
-
}, setIsOpen: setIsOpen, children: [_jsx(ListboxTextInput, { id: "quill-search-bar", placeholder: 'Search', value: searchQuery, onChange: (value) => setSearchQuery(value) }), _jsx("div", { style: {
|
|
56
|
+
}, setIsOpen: setIsOpen, children: [_jsx(ListboxTextInput, { id: "quill-search-bar", placeholder: 'Search', value: searchQuery, onChange: (value) => setSearchQuery(value) }), _jsx("div", { style: {
|
|
57
|
+
height: 9,
|
|
58
|
+
width: 230,
|
|
59
|
+
borderTop: `1px solid ${theme?.borderColor ?? '#e7e7e7'}`,
|
|
60
|
+
} }), _jsx("div", { style: { gap: 2, maxHeight: '50vh' }, children: filteredItems.map((item, index) => (_jsx(ListboxRow, { setSelected: setSelected, setIsOpen: setIsOpen, item: item }, index))) }), _jsx("div", { style: { height: 8, width: 230 } })] })] }));
|
|
54
61
|
}
|
|
55
62
|
function ListboxRow({ item, setSelected, setIsOpen, }) {
|
|
56
63
|
return (_jsxs("div", { onClick: setSelected
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { QuillTheme } from '../Admin';
|
|
1
2
|
interface DynamicBannerProps {
|
|
2
3
|
header: string;
|
|
3
4
|
onExit?: () => void;
|
|
4
|
-
|
|
5
|
+
theme: QuillTheme;
|
|
5
6
|
}
|
|
6
|
-
export default function DynamicBanner({ header, onExit,
|
|
7
|
+
export default function DynamicBanner({ header, onExit, theme, }: DynamicBannerProps): JSX.Element;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=DynamicBanner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicBanner.d.ts","sourceRoot":"","sources":["../../../src/components/DynamicBanner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DynamicBanner.d.ts","sourceRoot":"","sources":["../../../src/components/DynamicBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,UAAU,kBAAkB;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,MAAM,EACN,MAAM,EACN,KAAK,GACN,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CA0ClC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import XMarkIcon from '../icons/XMarkIcon';
|
|
3
|
-
export default function DynamicBanner({ header, onExit,
|
|
3
|
+
export default function DynamicBanner({ header, onExit, theme, }) {
|
|
4
4
|
return (_jsxs("div", { id: "quill-edit-banner", style: {
|
|
5
5
|
width: '100vw',
|
|
6
6
|
height: 70,
|
|
@@ -12,5 +12,10 @@ export default function DynamicBanner({ header, onExit, fontColor, }) {
|
|
|
12
12
|
paddingLeft: 20,
|
|
13
13
|
paddingRight: 20,
|
|
14
14
|
borderBottom: '1px solid #e7e7e7',
|
|
15
|
-
}, children: [_jsx("h1", { style: {
|
|
15
|
+
}, children: [_jsx("h1", { style: {
|
|
16
|
+
fontSize: 21,
|
|
17
|
+
fontWeight: 600,
|
|
18
|
+
color: theme?.primaryTextColor,
|
|
19
|
+
fontFamily: theme?.fontFamily,
|
|
20
|
+
}, children: header }), onExit && (_jsx("button", { type: "button", onClick: onExit, style: { padding: '6px', margin: '-6px' }, children: _jsx(XMarkIcon, { style: { width: '20px', height: '20px' }, fill: theme?.primaryTextColor, "aria-hidden": "true" }) }))] }));
|
|
16
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptyDashboardComponent/index.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,uBAAuB,IAAI,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptyDashboardComponent/index.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,uBAAuB,IAAI,GAAG,CAAC,OAAO,CAsF7D"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useAdmin } from '../../AdminProvider';
|
|
3
3
|
import { MemoizedButton } from '../UiComponents';
|
|
4
4
|
export default function EmptyDashboardComponent() {
|
|
5
|
-
const { dispatch } = useAdmin();
|
|
5
|
+
const { state, dispatch } = useAdmin();
|
|
6
6
|
return (_jsx("div", { style: {
|
|
7
7
|
width: '100%',
|
|
8
8
|
display: 'flex',
|
|
@@ -26,7 +26,8 @@ export default function EmptyDashboardComponent() {
|
|
|
26
26
|
justifyContent: 'center',
|
|
27
27
|
width: 260,
|
|
28
28
|
}, children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#565656", height: 26, width: 26, children: [_jsx("path", { fillRule: "evenodd", d: "M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z", clipRule: "evenodd" }), _jsx("path", { fillRule: "evenodd", d: "M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z", clipRule: "evenodd" })] }), _jsx("div", { style: {
|
|
29
|
-
fontSize:
|
|
29
|
+
fontSize: state.theme.fontSize,
|
|
30
|
+
fontFamily: state.theme.fontFamily,
|
|
30
31
|
fontWeight: 500,
|
|
31
32
|
color: '#565656',
|
|
32
33
|
// border: '1px solid #e7e7e7',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyVirtualTablesComponent.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyVirtualTablesComponent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EmptyVirtualTablesComponent.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyVirtualTablesComponent.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,2BAA2B,CAAC,EAClD,OAAO,GACR,EAAE;IACD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,GAAG,GAAG,CAAC,OAAO,CAmFd"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useAdmin } from '../AdminProvider';
|
|
2
3
|
import { MemoizedButton } from './UiComponents';
|
|
3
4
|
export default function EmptyVirtualTablesComponent({ onClick, }) {
|
|
5
|
+
const { state: { theme }, } = useAdmin();
|
|
4
6
|
return (_jsx("div", { style: {
|
|
5
7
|
width: '100%',
|
|
6
8
|
display: 'flex',
|
|
@@ -24,7 +26,8 @@ export default function EmptyVirtualTablesComponent({ onClick, }) {
|
|
|
24
26
|
justifyContent: 'center',
|
|
25
27
|
width: 260,
|
|
26
28
|
}, children: [_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#565656", height: 26, width: 26, children: [_jsx("path", { fillRule: "evenodd", d: "M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z", clipRule: "evenodd" }), _jsx("path", { fillRule: "evenodd", d: "M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z", clipRule: "evenodd" })] }), _jsx("div", { style: {
|
|
27
|
-
fontSize:
|
|
29
|
+
fontSize: theme?.fontSize,
|
|
30
|
+
fontFamily: theme?.fontFamily,
|
|
28
31
|
fontWeight: 500,
|
|
29
32
|
color: '#565656',
|
|
30
33
|
// border: '1px solid #e7e7e7',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/FormTooltip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/FormTooltip.tsx"],"names":[],"mappings":"AAKA,iBAAS,WAAW,CAAC,EACnB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,MAAM,GACP,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,2CA4HA;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -2,11 +2,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useEffect, useState, useRef } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import InformationCircleIcon from '../icons/InformationCircleIcon';
|
|
5
|
+
import { useAdmin } from '../AdminProvider';
|
|
5
6
|
function FormTooltip({ text, element, color, mirror, }) {
|
|
6
7
|
const [isOpen, setIsOpen] = useState(false);
|
|
7
8
|
const tooltipRef = useRef(null);
|
|
8
9
|
const triggerRef = useRef(null);
|
|
9
10
|
const [tooltipPosition, setTooltipPosition] = useState(undefined);
|
|
11
|
+
const { state: { theme }, } = useAdmin();
|
|
10
12
|
const updatePosition = () => {
|
|
11
13
|
if (triggerRef.current && tooltipRef.current) {
|
|
12
14
|
const rect = triggerRef.current.getBoundingClientRect();
|
|
@@ -66,6 +68,8 @@ function FormTooltip({ text, element, color, mirror, }) {
|
|
|
66
68
|
backgroundColor: '#ffffff',
|
|
67
69
|
// left: mirror ? 'auto' : 0,
|
|
68
70
|
// right: mirror ? 0 : 'auto',
|
|
71
|
+
fontFamily: theme?.fontFamily,
|
|
72
|
+
color: theme?.primaryTextColor,
|
|
69
73
|
padding: 8,
|
|
70
74
|
borderRadius: 6,
|
|
71
75
|
fontSize: 14,
|
|
@@ -78,7 +82,6 @@ function FormTooltip({ text, element, color, mirror, }) {
|
|
|
78
82
|
paddingRight: 12,
|
|
79
83
|
borderStyle: 'solid',
|
|
80
84
|
borderColor: '#e7e7e7',
|
|
81
|
-
color: '#212121',
|
|
82
85
|
}, children: text ?? element }), document.body)] }));
|
|
83
86
|
}
|
|
84
87
|
export default FormTooltip;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputLabel.d.ts","sourceRoot":"","sources":["../../../src/components/InputLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"InputLabel.d.ts","sourceRoot":"","sources":["../../../src/components/InputLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1C,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,KAAK,EAAE,iBAAiB,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,GAChE,GAAG,CAAC,OAAO,CA6Bb"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import FormTooltip from './FormTooltip';
|
|
3
|
+
import { useAdmin } from '../AdminProvider';
|
|
3
4
|
export default function InputLabel(props) {
|
|
5
|
+
const { state: { theme }, } = useAdmin();
|
|
4
6
|
return (_jsxs("div", { style: { display: 'flex', flexDirection: 'row', alignItems: 'center' }, children: [_jsx("div", { style: {
|
|
5
|
-
fontFamily:
|
|
6
|
-
color:
|
|
7
|
+
fontFamily: theme?.fontFamily,
|
|
8
|
+
color: theme?.secondaryTextColor,
|
|
7
9
|
fontSize: 14,
|
|
8
10
|
fontWeight: '600',
|
|
9
11
|
marginBottom: 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuillDateRangePicker.d.ts","sourceRoot":"","sources":["../../../../../src/components/InternalDashboard/DateRangePicker/QuillDateRangePicker.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,WAAW,EAA+B,MAAM,OAAO,CAAC;AAmBxE,MAAM,WAAW,6BAA6B;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE;QAAE,SAAS,CAAC,EAAE,IAAI,CAAC;QAAC,OAAO,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IAChD,aAAa,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAClD,iBAAiB,EAAE,CAAC,EAClB,SAAS,EACT,OAAO,GACR,EAAE;QACD,SAAS,EAAE,IAAI,CAAC;QAChB,OAAO,EAAE,IAAI,CAAC;KACf,KAAK,IAAI,CAAC;IACX,cAAc,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAChE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,MAAM,EACN,KAAK,EACL,WAAW,EACX,UAAU,EACV,QAAQ,GACT,EAAE,6BAA6B,
|
|
1
|
+
{"version":3,"file":"QuillDateRangePicker.d.ts","sourceRoot":"","sources":["../../../../../src/components/InternalDashboard/DateRangePicker/QuillDateRangePicker.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,WAAW,EAA+B,MAAM,OAAO,CAAC;AAmBxE,MAAM,WAAW,6BAA6B;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE;QAAE,SAAS,CAAC,EAAE,IAAI,CAAC;QAAC,OAAO,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IAChD,aAAa,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAClD,iBAAiB,EAAE,CAAC,EAClB,SAAS,EACT,OAAO,GACR,EAAE;QACD,SAAS,EAAE,IAAI,CAAC;QAChB,OAAO,EAAE,IAAI,CAAC;KACf,KAAK,IAAI,CAAC;IACX,cAAc,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAChE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,MAAM,EACN,KAAK,EACL,WAAW,EACX,UAAU,EACV,QAAQ,GACT,EAAE,6BAA6B,2CAyJ/B"}
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useEffect, useRef, useState } from 'react';
|
|
3
3
|
import { startOfMonth, endOfMonth, format, eachDayOfInterval, subMonths, startOfWeek, endOfWeek, differenceInDays, startOfDay, addMonths, isBefore, isAfter, } from 'date-fns';
|
|
4
4
|
import { useAdmin } from '../../../AdminProvider';
|
|
5
|
-
import useOnClickOutside from '../../../hooks/useOnClickOutside';
|
|
6
5
|
import { QuillSelectComponentWithCombo } from '../../QuillSelectWithCombo';
|
|
6
|
+
import { QuillPortal } from '../../UiComponents';
|
|
7
7
|
/**
|
|
8
8
|
* The fallback date range picked used in <Dashboard/>.
|
|
9
9
|
*/
|
|
@@ -16,9 +16,7 @@ export function QuillDateRangePicker({ dateRange, onChangeDateRange, presetOptio
|
|
|
16
16
|
const [localPreset, setLocalPreset] = useState(preset);
|
|
17
17
|
const [showModal, setShowModal] = useState(false);
|
|
18
18
|
const modalRef = useRef(null);
|
|
19
|
-
|
|
20
|
-
setShowModal(false);
|
|
21
|
-
}, showModal);
|
|
19
|
+
const buttonRef = useRef(null);
|
|
22
20
|
useEffect(() => {
|
|
23
21
|
setLocalEndDate(dateRange.endDate);
|
|
24
22
|
setLocalStartDate(dateRange.startDate);
|
|
@@ -42,10 +40,6 @@ export function QuillDateRangePicker({ dateRange, onChangeDateRange, presetOptio
|
|
|
42
40
|
alignItems: 'center',
|
|
43
41
|
borderColor: theme?.borderColor,
|
|
44
42
|
fontFamily: theme?.fontFamily,
|
|
45
|
-
color: theme?.primaryTextColor,
|
|
46
|
-
backgroundColor: disabled
|
|
47
|
-
? theme?.hoverBackgroundColor
|
|
48
|
-
: theme?.backgroundColor,
|
|
49
43
|
padding: '8px 12px',
|
|
50
44
|
fontSize: 14,
|
|
51
45
|
margin: 0,
|
|
@@ -59,7 +53,9 @@ export function QuillDateRangePicker({ dateRange, onChangeDateRange, presetOptio
|
|
|
59
53
|
minHeight: 40,
|
|
60
54
|
maxHeight: 40,
|
|
61
55
|
gap: 10,
|
|
62
|
-
|
|
56
|
+
opacity: disabled ? 0.5 : 1,
|
|
57
|
+
}, disabled: disabled, ref: buttonRef, onClick: () => setShowModal((showModal) => !showModal), className: "quill-date-range-picker-button", children: [_jsx("style", { children: ` .quill-date-range-picker-button { background: ${theme?.backgroundColor}; color: ${theme?.primaryTextColor}; }
|
|
58
|
+
.quill-date-range-picker-button:hover { background: ${theme?.hoverBackgroundColor}; color: ${theme?.hoverTextColor}; }` }), _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", height: "15.5px", width: "15.5px", style: { marginTop: -1.5 }, children: [_jsx("rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", ry: "2" }), _jsx("line", { x1: "16", x2: "16", y1: "2", y2: "6" }), _jsx("line", { x1: "8", x2: "8", y1: "2", y2: "6" }), _jsx("line", { x1: "3", x2: "21", y1: "10", y2: "10" })] }), localStartDate && format(localStartDate, 'MMM dd, yyyy'), localStartDate ? ' - ' : 'Pick a date', localEndDate && format(localEndDate, 'MMM dd, yyyy')] }), showModal && (_jsx(QuillPortal, { anchorRef: buttonRef, showModal: showModal, setShowModal: setShowModal, children: _jsx(CalendarRow, { theme: theme, anchorStartDate: anchorStartDate, anchorEndDate: anchorEndDate, setAnchorStartDate: setAnchorStartDate, setAnchorEndDate: setAnchorEndDate, setLocalStartDate: setLocalStartDate, setLocalEndDate: setLocalEndDate, localEndDate: localEndDate, localStartDate: localStartDate, updateDateFilter: onChangeDateRange, setLocalPreset: setLocalPreset, setShowModal: setShowModal }) }))] }), !hidePreset && (_jsx(QuillSelectComponentWithCombo, { options: client?.featureFlags?.['hideAllTime']
|
|
63
59
|
? presetOptions
|
|
64
60
|
.filter((option) => option.value !== 'ALL_TIME')
|
|
65
61
|
.map((option) => ({
|
|
@@ -127,7 +123,20 @@ function CalendarRow({ theme, anchorStartDate, anchorEndDate, setAnchorStartDate
|
|
|
127
123
|
flexDirection: 'row',
|
|
128
124
|
alignItems: 'center',
|
|
129
125
|
justifyContent: 'center',
|
|
130
|
-
}, className: "quill-calendar-button", children: [_jsx("style", { children:
|
|
126
|
+
}, className: "quill-calendar-button", children: [_jsx("style", { children: `
|
|
127
|
+
.quill-calendar-button {
|
|
128
|
+
background-color: ${theme.backgroundColor};
|
|
129
|
+
}
|
|
130
|
+
.quill-calendar-button:hover {
|
|
131
|
+
background-color: ${theme.hoverBackgroundColor};
|
|
132
|
+
}
|
|
133
|
+
.quill-calendar-button svg {
|
|
134
|
+
fill: ${theme.chartLabelColor};
|
|
135
|
+
}
|
|
136
|
+
.quill-calendar-button:hover svg {
|
|
137
|
+
fill: ${theme.hoverTextColor};
|
|
138
|
+
}
|
|
139
|
+
` }), _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", height: "24px", width: "24px", children: _jsx("path", { d: "M10.8284 12.0007L15.7782 16.9504L14.364 18.3646L8 12.0007L14.364 5.63672L15.7782 7.05093L10.8284 12.0007Z" }) })] }), _jsx("div", { style: {
|
|
131
140
|
fontFamily: theme.fontFamily,
|
|
132
141
|
fontSize: 14,
|
|
133
142
|
color: theme.primaryTextColor,
|
|
@@ -169,7 +178,20 @@ function CalendarRow({ theme, anchorStartDate, anchorEndDate, setAnchorStartDate
|
|
|
169
178
|
flexDirection: 'row',
|
|
170
179
|
alignItems: 'center',
|
|
171
180
|
justifyContent: 'center',
|
|
172
|
-
}, className: "quill-calendar-button", children: [_jsx("style", { children:
|
|
181
|
+
}, className: "quill-calendar-button", children: [_jsx("style", { children: `
|
|
182
|
+
.quill-calendar-button {
|
|
183
|
+
background-color: ${theme.backgroundColor};
|
|
184
|
+
}
|
|
185
|
+
.quill-calendar-button:hover {
|
|
186
|
+
background-color: ${theme.hoverBackgroundColor};
|
|
187
|
+
}
|
|
188
|
+
.quill-calendar-button svg {
|
|
189
|
+
fill: ${theme.chartLabelColor};
|
|
190
|
+
}
|
|
191
|
+
.quill-calendar-button:hover svg {
|
|
192
|
+
fill: ${theme.hoverTextColor};
|
|
193
|
+
}
|
|
194
|
+
` }), _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", height: "24px", width: "24px", children: _jsx("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" }) })] })] }), _jsx("div", { style: {
|
|
173
195
|
display: 'grid',
|
|
174
196
|
gridTemplateColumns: 'repeat(7, 1fr)',
|
|
175
197
|
rowGap: 8,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InternalDashboard.d.ts","sourceRoot":"","sources":["../../../../src/components/InternalDashboard/InternalDashboard.tsx"],"names":[],"mappings":"AA4BA,OAAO,EACL,aAAa,EAOd,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,cAAc,EACd,WAAW,EAIZ,MAAM,iBAAiB,CAAC;AA+EzB,eAAO,MAAM,iBAAiB,iHAa3B;IACD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,GAAG,CAAC,OAAO,CAAC;IACpD,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC;IAChB,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,KAAK,IAAI,CAAC;IAC3D,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,
|
|
1
|
+
{"version":3,"file":"InternalDashboard.d.ts","sourceRoot":"","sources":["../../../../src/components/InternalDashboard/InternalDashboard.tsx"],"names":[],"mappings":"AA4BA,OAAO,EACL,aAAa,EAOd,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,cAAc,EACd,WAAW,EAIZ,MAAM,iBAAiB,CAAC;AA+EzB,eAAO,MAAM,iBAAiB,iHAa3B;IACD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,GAAG,CAAC,OAAO,CAAC;IACpD,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC;IAChB,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,KAAK,IAAI,CAAC;IAC3D,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,4CAmhEA,CAAC"}
|