@1771technologies/lytenyte-pro 0.0.39
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/LICENSE +15 -0
- package/dist/DialogPortalContext-C2WZTqJ3.js +47 -0
- package/dist/InternalBackdrop-Dm9czgoC.js +6746 -0
- package/dist/MenuRoot-9n64jNWP.js +724 -0
- package/dist/anchor-context-B9sGQdR5.js +35 -0
- package/dist/arrow-down-icon-B-3ldODD.js +27 -0
- package/dist/arrow-svg-evmXDI_J.js +29 -0
- package/dist/column-manager.js +1241 -0
- package/dist/cross-icon-CEMLAlFX.js +20 -0
- package/dist/dialog.js +506 -0
- package/dist/filter-manager.js +1056 -0
- package/dist/getPseudoElementBounds-BSHt6WYm.js +26 -0
- package/dist/grid-container.js +18 -0
- package/dist/icons.js +512 -0
- package/dist/index.js +3730 -0
- package/dist/lytenyte-pro.css +1948 -0
- package/dist/manage-columns-icon-D4CElo5H.js +146 -0
- package/dist/menu.js +1639 -0
- package/dist/pill-C4Jhdf8E.js +985 -0
- package/dist/pill-manager.js +674 -0
- package/dist/plus-icon-ToqW5CC-.js +15 -0
- package/dist/popover.js +770 -0
- package/dist/row-group-icon-BOOju5Vu.js +205 -0
- package/dist/search-icon-CcG1lqsn.js +86 -0
- package/dist/select-C6xOZZLq.js +2231 -0
- package/dist/sort-manager.js +298 -0
- package/dist/tickmark-icon-CoogRMoO.js +51 -0
- package/dist/types/cell-selection/cell-selection-containers.d.ts +3 -0
- package/dist/types/cell-selection/cell-selection-driver.d.ts +1 -0
- package/dist/types/cell-selection/cell-style-row.d.ts +8 -0
- package/dist/types/column-manager/column-manager-drag-box-controls.d.ts +1 -0
- package/dist/types/column-manager/column-manager-drag-box-expander.d.ts +1 -0
- package/dist/types/column-manager/column-manager-drag-box-label.d.ts +5 -0
- package/dist/types/column-manager/column-manager-drag-box.d.ts +13 -0
- package/dist/types/column-manager/column-manager-drag-placeholder.d.ts +5 -0
- package/dist/types/column-manager/column-manager-drop-zone.d.ts +10 -0
- package/dist/types/column-manager/column-manager-impl.d.ts +36 -0
- package/dist/types/column-manager/column-manager-pill.d.ts +4 -0
- package/dist/types/column-manager/column-manager-pivot-mode-toggle.d.ts +1 -0
- package/dist/types/column-manager/column-manager-search.d.ts +1 -0
- package/dist/types/column-manager/column-manager-state.d.ts +8 -0
- package/dist/types/column-manager/column-manager-tree-item.d.ts +6 -0
- package/dist/types/column-manager/column-manager-tree.d.ts +11 -0
- package/dist/types/column-manager/column-manager-types.d.ts +1 -0
- package/dist/types/column-manager/column-manager.d.ts +1 -0
- package/dist/types/column-manager/column-mananger-context.d.ts +12 -0
- package/dist/types/column-manager/utils/all-leafs.d.ts +3 -0
- package/dist/types/column-manager/utils/can-hide-item.d.ts +3 -0
- package/dist/types/column-manager/utils/handle-item-hide.d.ts +3 -0
- package/dist/types/components-internal/button/button.d.ts +9 -0
- package/dist/types/components-internal/grid-frame/grid-frame.d.ts +11 -0
- package/dist/types/components-internal/radio/radio.d.ts +5 -0
- package/dist/types/components-internal/separator/separator.d.ts +8 -0
- package/dist/types/components-internal/toggle/toggle.d.ts +7 -0
- package/dist/types/dialog/dialog-driver.d.ts +1 -0
- package/dist/types/dialog/dialog-impl.d.ts +6 -0
- package/dist/types/dialog/dialog.d.ts +8 -0
- package/dist/types/dialog/use-dialog-class.d.ts +1 -0
- package/dist/types/external.d.ts +2 -0
- package/dist/types/filter-manager/combined-to-flat.d.ts +3 -0
- package/dist/types/filter-manager/components/apply-filter-button.d.ts +1 -0
- package/dist/types/filter-manager/components/clear-filter-button.d.ts +1 -0
- package/dist/types/filter-manager/components/flatten-tree-items.d.ts +4 -0
- package/dist/types/filter-manager/components/get-child-values.d.ts +2 -0
- package/dist/types/filter-manager/components/in-filter-container.d.ts +1 -0
- package/dist/types/filter-manager/components/in-filter-error.d.ts +5 -0
- package/dist/types/filter-manager/components/in-filter-loading.d.ts +1 -0
- package/dist/types/filter-manager/components/in-filter-root.d.ts +11 -0
- package/dist/types/filter-manager/components/in-filter-tree.d.ts +15 -0
- package/dist/types/filter-manager/components/simple-filter-additional-switch.d.ts +1 -0
- package/dist/types/filter-manager/components/simple-filter-operator/date-operator.d.ts +1 -0
- package/dist/types/filter-manager/components/simple-filter-operator/number-operator.d.ts +1 -0
- package/dist/types/filter-manager/components/simple-filter-operator/simple-filter-operator.d.ts +1 -0
- package/dist/types/filter-manager/components/simple-filter-operator/text-operator.d.ts +1 -0
- package/dist/types/filter-manager/components/simple-filter-root.d.ts +9 -0
- package/dist/types/filter-manager/components/simple-filter-value/date-value.d.ts +1 -0
- package/dist/types/filter-manager/components/simple-filter-value/number-value.d.ts +1 -0
- package/dist/types/filter-manager/components/simple-filter-value/simple-filter-value.d.ts +1 -0
- package/dist/types/filter-manager/components/simple-filter-value/text-value.d.ts +1 -0
- package/dist/types/filter-manager/components/use-date-filter-callbacks.d.ts +9 -0
- package/dist/types/filter-manager/components/use-in-filter-item-loader.d.ts +7 -0
- package/dist/types/filter-manager/components/use-number-filter-callbacks.d.ts +8 -0
- package/dist/types/filter-manager/components/use-text-filter-callbacks.d.ts +8 -0
- package/dist/types/filter-manager/filter-manager-impl.d.ts +27 -0
- package/dist/types/filter-manager/filter-manager.d.ts +1 -0
- package/dist/types/filter-manager/filter-state-context.d.ts +16 -0
- package/dist/types/filter-manager/flat-to-combined.d.ts +3 -0
- package/dist/types/filter-manager/flatten-combined-filter.d.ts +3 -0
- package/dist/types/filter-manager/is-filter-complete.d.ts +2 -0
- package/dist/types/filter-manager/types.d.ts +15 -0
- package/dist/types/filter-manager/use-in-filter.d.ts +5 -0
- package/dist/types/filter-manager/use-simple-filters.d.ts +8 -0
- package/dist/types/grid-container/grid-container-impl.d.ts +6 -0
- package/dist/types/grid-container/grid-container.d.ts +2 -0
- package/dist/types/icons.d.ts +1 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/license.d.ts +12 -0
- package/dist/types/list-view/list-view-context.d.ts +21 -0
- package/dist/types/list-view/list-view.d.ts +26 -0
- package/dist/types/lytenyte-pro.d.ts +7 -0
- package/dist/types/menu/arrow-svg.d.ts +1 -0
- package/dist/types/menu/column-menu/column-menu-driver.d.ts +4 -0
- package/dist/types/menu/context-menu/context-menu-driver.d.ts +1 -0
- package/dist/types/menu/context-menu/use-context-menu-listener.d.ts +6 -0
- package/dist/types/menu/menu-impl.d.ts +17 -0
- package/dist/types/menu/menu.d.ts +18 -0
- package/dist/types/menu/use-menu-class-name.d.ts +1 -0
- package/dist/types/overlay/load-error-overlay.d.ts +1 -0
- package/dist/types/overlay/loading-overlay.d.ts +1 -0
- package/dist/types/overlay/no-data-overlay.d.ts +1 -0
- package/dist/types/overlay/overlay-driver.d.ts +1 -0
- package/dist/types/pill/pill.d.ts +5 -0
- package/dist/types/pill-manager/pill-manager-agg-menu.d.ts +7 -0
- package/dist/types/pill-manager/pill-manager-controls.d.ts +9 -0
- package/dist/types/pill-manager/pill-manager-drag-placeholder.d.ts +5 -0
- package/dist/types/pill-manager/pill-manager-expander.d.ts +1 -0
- package/dist/types/pill-manager/pill-manager-impl.d.ts +49 -0
- package/dist/types/pill-manager/pill-manager-pill.d.ts +4 -0
- package/dist/types/pill-manager/pill-manager-pills/pill-manager-pills.d.ts +2 -0
- package/dist/types/pill-manager/pill-manager-pills/use-aggregation-source.d.ts +2 -0
- package/dist/types/pill-manager/pill-manager-pills/use-column-pivot-source.d.ts +2 -0
- package/dist/types/pill-manager/pill-manager-pills/use-column-source.d.ts +2 -0
- package/dist/types/pill-manager/pill-manager-pills/use-measures-source.d.ts +2 -0
- package/dist/types/pill-manager/pill-manager-pills/use-row-groups-source.d.ts +2 -0
- package/dist/types/pill-manager/pill-manager-pills/utils.d.ts +3 -0
- package/dist/types/pill-manager/pill-manager-row-label.d.ts +22 -0
- package/dist/types/pill-manager/pill-manager-row.d.ts +12 -0
- package/dist/types/pill-manager/pill-manager-rows.d.ts +1 -0
- package/dist/types/pill-manager/pill-manager-separator.d.ts +1 -0
- package/dist/types/pill-manager/pill-manager-types.d.ts +36 -0
- package/dist/types/pill-manager/pill-manager.d.ts +1 -0
- package/dist/types/popover/anchor-context.d.ts +6 -0
- package/dist/types/popover/popover-driver.d.ts +1 -0
- package/dist/types/popover/popover-impl.d.ts +8 -0
- package/dist/types/popover/popover.d.ts +10 -0
- package/dist/types/popover/use-popover-class.d.ts +1 -0
- package/dist/types/select/select.d.ts +17 -0
- package/dist/types/sort-manager/sort-adder.d.ts +4 -0
- package/dist/types/sort-manager/sort-apply.d.ts +1 -0
- package/dist/types/sort-manager/sort-cancel.d.ts +1 -0
- package/dist/types/sort-manager/sort-clear.d.ts +1 -0
- package/dist/types/sort-manager/sort-column-select.d.ts +5 -0
- package/dist/types/sort-manager/sort-direction-select.d.ts +5 -0
- package/dist/types/sort-manager/sort-items-to-sort-model.d.ts +3 -0
- package/dist/types/sort-manager/sort-manager-container.d.ts +53 -0
- package/dist/types/sort-manager/sort-manager-context.d.ts +4 -0
- package/dist/types/sort-manager/sort-manager-impl.d.ts +30 -0
- package/dist/types/sort-manager/sort-manager.d.ts +1 -0
- package/dist/types/sort-manager/sort-model-to-sort-items.d.ts +4 -0
- package/dist/types/sort-manager/sort-remove.d.ts +4 -0
- package/dist/types/sort-manager/sort-sort-select.d.ts +5 -0
- package/dist/types/sort-manager/use-sort-state.d.ts +8 -0
- package/dist/types/sort-manager/use-sortable-column-items.d.ts +9 -0
- package/dist/types/types.d.ts +1 -0
- package/dist/types/use-client-data-source.d.ts +6 -0
- package/dist/types/use-edge-scroll.d.ts +7 -0
- package/dist/types/use-grid.d.ts +6 -0
- package/dist/types/use-lytenyte.d.ts +10 -0
- package/dist/types/use-tree-data-source.d.ts +3 -0
- package/dist/types/watermark.d.ts +3 -0
- package/dist/types.js +1 -0
- package/dist/use-grid-DKvzGZWc.js +916 -0
- package/dist/useAnchorPositioning-Cm44rb7y.js +252 -0
- package/dist/useBaseUiId-J66PFGv_.js +48 -0
- package/dist/useButton-Cy7tjZ__.js +183 -0
- package/dist/useCompositeListItem-I14CpQPi.js +51 -0
- package/dist/useScrollLock-D6h5lZYs.js +515 -0
- package/package.json +96 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo, useState, useEffect, createContext, useContext, forwardRef } from "react";
|
|
3
|
+
import { u as useGrid, G as GridProvider } from "./use-grid-DKvzGZWc.js";
|
|
4
|
+
import { clsx } from "@1771technologies/js-utils";
|
|
5
|
+
import { S as Select } from "./select-C6xOZZLq.js";
|
|
6
|
+
import { P as PlusIcon } from "./plus-icon-ToqW5CC-.js";
|
|
7
|
+
import { C as CrossIcon } from "./cross-icon-CEMLAlFX.js";
|
|
8
|
+
function useSortableColumnItems({ state, api }) {
|
|
9
|
+
const columns = state.columns.use();
|
|
10
|
+
const candidateColumns = useMemo(() => {
|
|
11
|
+
return columns.filter((c) => api.columnIsSortable(c));
|
|
12
|
+
}, [api, columns]);
|
|
13
|
+
const columnItems = useMemo(() => {
|
|
14
|
+
return candidateColumns.map((c) => ({ label: c.headerName ?? c.id, value: c.id }));
|
|
15
|
+
}, [candidateColumns]);
|
|
16
|
+
return columnItems;
|
|
17
|
+
}
|
|
18
|
+
function sortModelToSortItems(c, grid) {
|
|
19
|
+
return c.map((c2) => {
|
|
20
|
+
const columnId = c2.columnId;
|
|
21
|
+
const sortDirection = c2.isDescending ? "descending" : "ascending";
|
|
22
|
+
let value = "values";
|
|
23
|
+
if (c2.options?.isAbsolute) {
|
|
24
|
+
value += "_absolute";
|
|
25
|
+
}
|
|
26
|
+
if (c2.options?.isAccented) {
|
|
27
|
+
value += "_accented";
|
|
28
|
+
}
|
|
29
|
+
if (c2.options?.nullsAppearFirst) {
|
|
30
|
+
value += "_nulls_first";
|
|
31
|
+
}
|
|
32
|
+
const column = grid.api.columnById(c2.columnId);
|
|
33
|
+
return {
|
|
34
|
+
columnId,
|
|
35
|
+
sortDirection,
|
|
36
|
+
label: column?.headerName ?? column?.id,
|
|
37
|
+
sortOn: value
|
|
38
|
+
};
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function useSortState(grid) {
|
|
42
|
+
const [state, setState] = useState(() => {
|
|
43
|
+
const initial = sortModelToSortItems(grid.state.sortModel.peek(), grid);
|
|
44
|
+
if (initial.length) return initial;
|
|
45
|
+
return [{ sortDirection: "ascending" }];
|
|
46
|
+
});
|
|
47
|
+
useEffect(() => {
|
|
48
|
+
const dispose = grid.state.sortModel.watch(() => {
|
|
49
|
+
const nextModel = sortModelToSortItems(grid.state.sortModel.peek(), grid);
|
|
50
|
+
if (!nextModel.length) setState([{ sortDirection: "ascending" }]);
|
|
51
|
+
else setState(nextModel);
|
|
52
|
+
}, false);
|
|
53
|
+
return () => dispose();
|
|
54
|
+
}, [grid]);
|
|
55
|
+
return [state, setState];
|
|
56
|
+
}
|
|
57
|
+
const SortManagerContext = createContext([]);
|
|
58
|
+
const useSortManagerContext = () => useContext(SortManagerContext);
|
|
59
|
+
const SortManagerContainer = forwardRef(function ColumnSortContainer({ className, children, ...props }, ref) {
|
|
60
|
+
const grid = useGrid();
|
|
61
|
+
const [state, setState] = useSortManagerContext();
|
|
62
|
+
const columnItems = useSortableColumnItems(grid);
|
|
63
|
+
const unselectedSortedColumns = useMemo(() => {
|
|
64
|
+
const selected = new Set(state.map((c) => c.columnId).filter((c) => c != null));
|
|
65
|
+
return columnItems.filter((c) => !selected.has(c.value));
|
|
66
|
+
}, [columnItems, state]);
|
|
67
|
+
const sortItems = useMemo(() => {
|
|
68
|
+
return state.map((c, i) => {
|
|
69
|
+
const columnItem = columnItems.find((s) => c.columnId === s.value) ?? null;
|
|
70
|
+
const columnOptions = columnItem ? [columnItem, ...unselectedSortedColumns] : unselectedSortedColumns;
|
|
71
|
+
const columnOnSelect = (column) => {
|
|
72
|
+
setState((prev) => {
|
|
73
|
+
const v = { ...prev[i] };
|
|
74
|
+
v.columnId = column?.value;
|
|
75
|
+
const next = [...prev];
|
|
76
|
+
next.splice(i, 1, v);
|
|
77
|
+
return next;
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
const columnSelected = columnItem;
|
|
81
|
+
const sortOptions = sortValuesValues;
|
|
82
|
+
const sortSelected = sortValuesValues.find((v) => v.value === c.sortOn) ?? null;
|
|
83
|
+
const sortOnSelect = (sortOn) => {
|
|
84
|
+
if (!sortOn) return;
|
|
85
|
+
setState((prev) => {
|
|
86
|
+
const v = { ...prev[i] };
|
|
87
|
+
v.sortOn = sortOn.value;
|
|
88
|
+
const next = [...prev];
|
|
89
|
+
next.splice(i, 1, v);
|
|
90
|
+
return next;
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
const sortDirectionOptions = sortDirectionValues;
|
|
94
|
+
const sortDirectionSelected = c.sortDirection === "ascending" ? { label: "Asc", value: "ascending" } : { label: "Desc", value: "descending" };
|
|
95
|
+
const sortDirectionOnSelect = (item) => {
|
|
96
|
+
if (!item) return;
|
|
97
|
+
setState((prev) => {
|
|
98
|
+
const v = { ...prev[i] };
|
|
99
|
+
v.sortDirection = item.value;
|
|
100
|
+
const next = [...prev];
|
|
101
|
+
next.splice(i, 1, v);
|
|
102
|
+
return next;
|
|
103
|
+
});
|
|
104
|
+
};
|
|
105
|
+
const onDelete = () => {
|
|
106
|
+
setState((prev) => {
|
|
107
|
+
const next = [...prev];
|
|
108
|
+
next.splice(i, 1);
|
|
109
|
+
if (!next.length) {
|
|
110
|
+
return [{ sortDirection: "ascending" }];
|
|
111
|
+
}
|
|
112
|
+
return next;
|
|
113
|
+
});
|
|
114
|
+
};
|
|
115
|
+
const onAdd = () => {
|
|
116
|
+
setState((prev) => {
|
|
117
|
+
const next = [...prev];
|
|
118
|
+
next.splice(i + 1, 0, { sortDirection: "ascending" });
|
|
119
|
+
return next;
|
|
120
|
+
});
|
|
121
|
+
};
|
|
122
|
+
const maxSortCount = columnItems.length;
|
|
123
|
+
return {
|
|
124
|
+
index: i,
|
|
125
|
+
columnItem,
|
|
126
|
+
columnOptions,
|
|
127
|
+
columnSelected,
|
|
128
|
+
columnOnSelect,
|
|
129
|
+
sortOptions,
|
|
130
|
+
sortSelected,
|
|
131
|
+
sortOnSelect,
|
|
132
|
+
sortDirectionOptions,
|
|
133
|
+
sortDirectionSelected,
|
|
134
|
+
sortDirectionOnSelect,
|
|
135
|
+
canAdd: maxSortCount > state.length,
|
|
136
|
+
onAdd,
|
|
137
|
+
onDelete
|
|
138
|
+
};
|
|
139
|
+
});
|
|
140
|
+
}, [columnItems, setState, state, unselectedSortedColumns]);
|
|
141
|
+
return /* @__PURE__ */ jsx("div", { ...props, className: clsx("lng1771-sort-manager__container", className), ref, children: children({ items: sortItems }) });
|
|
142
|
+
});
|
|
143
|
+
const sortValuesValues = [
|
|
144
|
+
{ label: "Values", value: "values" },
|
|
145
|
+
{ label: "Absolute", value: "values_absolute" },
|
|
146
|
+
{ label: "Accented", value: "values_accented" },
|
|
147
|
+
{ label: "Nulls First", value: "values_nulls_first" },
|
|
148
|
+
{ label: "Absolute Nulls First", value: "values_absolute_nulls_first" },
|
|
149
|
+
{ label: "Accented Nulls First", value: "values_accented_nulls_first" }
|
|
150
|
+
];
|
|
151
|
+
const sortDirectionValues = [
|
|
152
|
+
{ label: "Asc", value: "ascending" },
|
|
153
|
+
{ label: "Desc", value: "descending" }
|
|
154
|
+
];
|
|
155
|
+
const SortColumnSelect = ({
|
|
156
|
+
item,
|
|
157
|
+
placeholder = "Sort by"
|
|
158
|
+
}) => {
|
|
159
|
+
return /* @__PURE__ */ jsx(
|
|
160
|
+
Select,
|
|
161
|
+
{
|
|
162
|
+
placeholder,
|
|
163
|
+
selected: item.columnSelected,
|
|
164
|
+
onSelect: item.columnOnSelect,
|
|
165
|
+
options: item.columnOptions
|
|
166
|
+
}
|
|
167
|
+
);
|
|
168
|
+
};
|
|
169
|
+
const SortSelect = ({
|
|
170
|
+
item,
|
|
171
|
+
placeholder = "Select"
|
|
172
|
+
}) => {
|
|
173
|
+
return /* @__PURE__ */ jsx(
|
|
174
|
+
Select,
|
|
175
|
+
{
|
|
176
|
+
selected: item.sortSelected,
|
|
177
|
+
onSelect: item.sortOnSelect,
|
|
178
|
+
options: item.sortOptions,
|
|
179
|
+
placeholder
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
};
|
|
183
|
+
const SortDirectionSelection = ({
|
|
184
|
+
item,
|
|
185
|
+
placeholder
|
|
186
|
+
}) => {
|
|
187
|
+
return /* @__PURE__ */ jsx(
|
|
188
|
+
Select,
|
|
189
|
+
{
|
|
190
|
+
selected: item.sortDirectionSelected,
|
|
191
|
+
onSelect: item.sortDirectionOnSelect,
|
|
192
|
+
options: item.sortDirectionOptions,
|
|
193
|
+
placeholder
|
|
194
|
+
}
|
|
195
|
+
);
|
|
196
|
+
};
|
|
197
|
+
function SortAdder({ item }) {
|
|
198
|
+
return /* @__PURE__ */ jsx("button", { className: "lng1771-sort-manager__button", onClick: item.onAdd, disabled: !item.canAdd, children: /* @__PURE__ */ jsx(PlusIcon, { width: 15, height: 15 }) });
|
|
199
|
+
}
|
|
200
|
+
function SortRemover({ item }) {
|
|
201
|
+
return /* @__PURE__ */ jsx("button", { className: "lng1771-sort-manager__button", onClick: item.onDelete, children: /* @__PURE__ */ jsx(CrossIcon, { width: 16, height: 16 }) });
|
|
202
|
+
}
|
|
203
|
+
function sortItemsToSortModel(sortItems) {
|
|
204
|
+
return sortItems.filter((c) => {
|
|
205
|
+
if (!c.columnId) return false;
|
|
206
|
+
if (!c.sortOn) return false;
|
|
207
|
+
return true;
|
|
208
|
+
}).map((c) => {
|
|
209
|
+
return {
|
|
210
|
+
columnId: c.columnId,
|
|
211
|
+
isDescending: c.sortDirection === "descending",
|
|
212
|
+
options: {
|
|
213
|
+
isAbsolute: c.sortOn.includes("absolute"),
|
|
214
|
+
isAccented: c.sortOn.includes("accented"),
|
|
215
|
+
nullsAppearFirst: c.sortOn.includes("nulls_first")
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
const SortApplyButton = forwardRef(
|
|
221
|
+
function SortApplyButton2({ className, onClick, children, ...props }, ref) {
|
|
222
|
+
const grid = useGrid();
|
|
223
|
+
const [state] = useSortManagerContext();
|
|
224
|
+
return /* @__PURE__ */ jsx(
|
|
225
|
+
"button",
|
|
226
|
+
{
|
|
227
|
+
...props,
|
|
228
|
+
className: clsx("lng1771-sort-manager__button", className),
|
|
229
|
+
onClick: (ev) => {
|
|
230
|
+
grid.state.sortModel.set(sortItemsToSortModel(state));
|
|
231
|
+
onClick?.(ev);
|
|
232
|
+
},
|
|
233
|
+
ref,
|
|
234
|
+
children: children ? children : "Apply"
|
|
235
|
+
}
|
|
236
|
+
);
|
|
237
|
+
}
|
|
238
|
+
);
|
|
239
|
+
const SortCancelButton = forwardRef(
|
|
240
|
+
function SortCancelButton2({ className, onClick, children, ...props }, ref) {
|
|
241
|
+
const grid = useGrid();
|
|
242
|
+
const [, setState] = useSortManagerContext();
|
|
243
|
+
return /* @__PURE__ */ jsx(
|
|
244
|
+
"button",
|
|
245
|
+
{
|
|
246
|
+
...props,
|
|
247
|
+
className: clsx("lng1771-sort-manager__button", className),
|
|
248
|
+
ref,
|
|
249
|
+
onClick: (ev) => {
|
|
250
|
+
const model = grid.state.sortModel.peek();
|
|
251
|
+
if (model.length) setState(sortModelToSortItems(model, grid));
|
|
252
|
+
else setState([{ sortDirection: "ascending" }]);
|
|
253
|
+
onClick?.(ev);
|
|
254
|
+
},
|
|
255
|
+
children: children ? children : "Cancel"
|
|
256
|
+
}
|
|
257
|
+
);
|
|
258
|
+
}
|
|
259
|
+
);
|
|
260
|
+
const SortClearButton = forwardRef(
|
|
261
|
+
function SortClearButton2({ className, onClick, children, ...props }, ref) {
|
|
262
|
+
const grid = useGrid();
|
|
263
|
+
const [, setState] = useSortManagerContext();
|
|
264
|
+
return /* @__PURE__ */ jsx(
|
|
265
|
+
"button",
|
|
266
|
+
{
|
|
267
|
+
...props,
|
|
268
|
+
className: clsx("lng1771-sort-manager__button", className),
|
|
269
|
+
ref,
|
|
270
|
+
onClick: (ev) => {
|
|
271
|
+
setState([]);
|
|
272
|
+
grid.state.sortModel.set([]);
|
|
273
|
+
onClick?.(ev);
|
|
274
|
+
},
|
|
275
|
+
children: children ? children : "Clear"
|
|
276
|
+
}
|
|
277
|
+
);
|
|
278
|
+
}
|
|
279
|
+
);
|
|
280
|
+
function SortManagerRoot({ grid, children }) {
|
|
281
|
+
const state = useSortState(grid);
|
|
282
|
+
return /* @__PURE__ */ jsx(GridProvider, { value: grid, children: /* @__PURE__ */ jsx(SortManagerContext.Provider, { value: state, children }) });
|
|
283
|
+
}
|
|
284
|
+
const SortManager = {
|
|
285
|
+
Root: SortManagerRoot,
|
|
286
|
+
Container: SortManagerContainer,
|
|
287
|
+
SortColumnSelect,
|
|
288
|
+
SortSelect,
|
|
289
|
+
SortDirectionSelect: SortDirectionSelection,
|
|
290
|
+
SortAdder,
|
|
291
|
+
SortRemove: SortRemover,
|
|
292
|
+
SortApply: SortApplyButton,
|
|
293
|
+
SortCancel: SortCancelButton,
|
|
294
|
+
SortClear: SortClearButton
|
|
295
|
+
};
|
|
296
|
+
export {
|
|
297
|
+
SortManager
|
|
298
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
const ArrowRightIcon = (props) => {
|
|
3
|
+
return /* @__PURE__ */ jsx(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
width: "20",
|
|
7
|
+
height: "20",
|
|
8
|
+
viewBox: "0 0 20 20",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...props,
|
|
12
|
+
children: /* @__PURE__ */ jsx(
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
d: "M7.5 5L12.5 10L7.5 15",
|
|
16
|
+
stroke: "currentcolor",
|
|
17
|
+
strokeWidth: "1.5",
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
strokeLinejoin: "round"
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
};
|
|
25
|
+
const TickmarkIcon = (props) => {
|
|
26
|
+
return /* @__PURE__ */ jsx(
|
|
27
|
+
"svg",
|
|
28
|
+
{
|
|
29
|
+
width: "20",
|
|
30
|
+
height: "20",
|
|
31
|
+
viewBox: "0 0 20 20",
|
|
32
|
+
fill: "none",
|
|
33
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
34
|
+
...props,
|
|
35
|
+
children: /* @__PURE__ */ jsx(
|
|
36
|
+
"path",
|
|
37
|
+
{
|
|
38
|
+
d: "M3 10.5588L7.64 15.5L17.5 5",
|
|
39
|
+
stroke: "currentcolor",
|
|
40
|
+
strokeWidth: "1.5",
|
|
41
|
+
strokeLinecap: "round",
|
|
42
|
+
strokeLinejoin: "round"
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
ArrowRightIcon as A,
|
|
50
|
+
TickmarkIcon as T
|
|
51
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CellSelectionDriver(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CellSelectionRectPro } from '@1771technologies/grid-types/pro';
|
|
2
|
+
export declare function CellStyleRow({ rect, isRowPinnedTop, isDeselect, isRowPinnedBottom, isPivot, }: {
|
|
3
|
+
rect: CellSelectionRectPro;
|
|
4
|
+
isRowPinnedTop?: boolean;
|
|
5
|
+
isDeselect?: boolean;
|
|
6
|
+
isRowPinnedBottom?: boolean;
|
|
7
|
+
isPivot?: boolean;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ColumnManagerDragBoxControls: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ColumnManagerDragBoxExpander: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children">, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ColumnManagerDragBoxLabelProps {
|
|
3
|
+
icon?: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare const ColumnManagerDragBoxLabel: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & ColumnManagerDragBoxLabelProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ColumnManagerBoxSource } from './column-manager-types';
|
|
2
|
+
import { PillManagerPillItem } from '../pill-manager/pill-manager-types';
|
|
3
|
+
export declare const ColumnManagerDragBox: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
source: ColumnManagerBoxSource;
|
|
5
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export declare const useDragBox: () => {
|
|
7
|
+
pillSource: string;
|
|
8
|
+
dropTags: string[];
|
|
9
|
+
dropData: {
|
|
10
|
+
target: string;
|
|
11
|
+
sourceItems: PillManagerPillItem[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { PillManagerPillItem } from '../pill-manager/pill-manager-types';
|
|
3
|
+
export interface ColumnManagerDropZoneProps {
|
|
4
|
+
children: (p: {
|
|
5
|
+
pills: PillManagerPillItem[];
|
|
6
|
+
}) => ReactNode;
|
|
7
|
+
empty?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const ColumnManagerDropZoneVisibility: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export declare const ColumnManagerDropZone: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children"> & ColumnManagerDropZoneProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { JSX, ReactNode } from 'react';
|
|
2
|
+
import { ColumnManagerTree } from './column-manager-tree';
|
|
3
|
+
import { ColumnManagerDragPlaceholder } from './column-manager-drag-placeholder';
|
|
4
|
+
import { Separator } from '../components-internal/separator/separator';
|
|
5
|
+
import { PillManagerAggMenuProps } from '../pill-manager/pill-manager-agg-menu';
|
|
6
|
+
import { GridProReact } from '../types';
|
|
7
|
+
interface RootProps<D = any> {
|
|
8
|
+
readonly aggMenuRenderer?: (p: PillManagerAggMenuProps<D>) => ReactNode;
|
|
9
|
+
readonly measureMenuRenderer?: (p: PillManagerAggMenuProps<D>) => ReactNode;
|
|
10
|
+
readonly menuTriggerIcon?: (p: JSX.IntrinsicElements["svg"]) => ReactNode;
|
|
11
|
+
readonly grid: GridProReact<D>;
|
|
12
|
+
}
|
|
13
|
+
export declare const ColumnManager: {
|
|
14
|
+
Root: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & RootProps<any>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
15
|
+
Tree: typeof ColumnManagerTree;
|
|
16
|
+
TreeItem: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
17
|
+
columnItem: import('../list-view/list-view').ListViewItemRendererProps<import('@1771technologies/grid-types/pro-react').ColumnProReact<any>>;
|
|
18
|
+
depthPadding?: number;
|
|
19
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
20
|
+
PivotModeToggle: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
21
|
+
Separator: typeof Separator;
|
|
22
|
+
Search: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "value">, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
23
|
+
DragBox: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
24
|
+
source: import('./column-manager-types').ColumnManagerBoxSource;
|
|
25
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
26
|
+
DragBoxControls: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
27
|
+
DragBoxLabel: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & import('./column-manager-drag-box-label').ColumnManagerDragBoxLabelProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
28
|
+
DragBoxExpander: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children">, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
29
|
+
DropZoneVisibility: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
30
|
+
DropZone: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children"> & import('./column-manager-drop-zone').ColumnManagerDropZoneProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
31
|
+
Pill: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children"> & {
|
|
32
|
+
item: import('../pill-manager/pill-manager-types').PillManagerPillItem;
|
|
33
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
34
|
+
DragPlaceholder: typeof ColumnManagerDragPlaceholder;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PillManagerPillItem } from '../pill-manager/pill-manager-types';
|
|
2
|
+
export declare const ColumnManagerPill: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children"> & {
|
|
3
|
+
item: PillManagerPillItem;
|
|
4
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PivotModeToggle: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ColumnManagerSearch: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "value">, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Dispatch, PropsWithChildren, SetStateAction } from 'react';
|
|
2
|
+
interface ColumnManagerState {
|
|
3
|
+
readonly query: string;
|
|
4
|
+
readonly setQuery: Dispatch<SetStateAction<string>>;
|
|
5
|
+
}
|
|
6
|
+
export declare const ColumnStateProvider: (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const useColumnManagerState: () => ColumnManagerState;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ListViewItemRendererProps } from '../list-view/list-view';
|
|
2
|
+
import { ColumnProReact } from '../types';
|
|
3
|
+
export declare const ColumnManagerTreeItem: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
columnItem: ListViewItemRendererProps<ColumnProReact<any>>;
|
|
5
|
+
depthPadding?: number;
|
|
6
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ListViewItemRendererProps } from '../list-view/list-view';
|
|
3
|
+
import { ColumnProReact } from '../types';
|
|
4
|
+
interface ColumnManagerTreeProps<D> {
|
|
5
|
+
children: (p: ListViewItemRendererProps<ColumnProReact<D>>) => ReactNode;
|
|
6
|
+
itemHeight?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
itemClassName?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function ColumnManagerTree<D>({ className, itemClassName, children, itemHeight, }: ColumnManagerTreeProps<D>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ColumnManagerBoxSource = "row-groups" | "column-pivots" | "measures" | "aggregations";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ColumnManager } from './column-manager-impl.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { JSX, ReactNode } from 'react';
|
|
2
|
+
import { PillManagerAggMenuProps } from '../pill-manager/pill-manager-agg-menu';
|
|
3
|
+
export declare const useComponents: () => {
|
|
4
|
+
readonly aggMenuRenderer: (p: PillManagerAggMenuProps<any>) => ReactNode;
|
|
5
|
+
readonly measureMenuRenderer: (p: PillManagerAggMenuProps<any>) => ReactNode;
|
|
6
|
+
readonly menuTriggerIcon: (p: JSX.IntrinsicElements["svg"]) => ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export declare const ColumnMangerContextProvider: import('react').Provider<{
|
|
9
|
+
readonly aggMenuRenderer: (p: PillManagerAggMenuProps<any>) => ReactNode;
|
|
10
|
+
readonly measureMenuRenderer: (p: PillManagerAggMenuProps<any>) => ReactNode;
|
|
11
|
+
readonly menuTriggerIcon: (p: JSX.IntrinsicElements["svg"]) => ReactNode;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const Button: import('react').ComponentClass<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
2
|
+
kind: "primary" | "secondary" | "tertiary";
|
|
3
|
+
} & {
|
|
4
|
+
ref?: import('react').Ref<HTMLButtonElement> | undefined;
|
|
5
|
+
}, any> | import('react').FunctionComponent<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6
|
+
kind: "primary" | "secondary" | "tertiary";
|
|
7
|
+
} & {
|
|
8
|
+
ref?: import('react').Ref<HTMLButtonElement> | undefined;
|
|
9
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GridProReact } from '@1771technologies/grid-types/pro-react';
|
|
2
|
+
import { SplitPaneAxe } from '@1771technologies/react-split-pane';
|
|
3
|
+
import { PropsWithChildren } from 'react';
|
|
4
|
+
export interface GridFrameConfiguration {
|
|
5
|
+
readonly axe?: SplitPaneAxe;
|
|
6
|
+
}
|
|
7
|
+
export interface GridFrameProps<D> {
|
|
8
|
+
readonly grid: GridProReact<D>;
|
|
9
|
+
readonly axe?: SplitPaneAxe;
|
|
10
|
+
}
|
|
11
|
+
export declare function GridFrame<D>({ grid: { api, state }, children, axe, }: PropsWithChildren<GridFrameProps<D>>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ChangeEvent, HTMLProps } from 'react';
|
|
2
|
+
export interface RadioProps {
|
|
3
|
+
readonly onCheckChange?: (c: boolean, event: ChangeEvent) => void;
|
|
4
|
+
}
|
|
5
|
+
export declare function Radio({ onCheckChange, checked, disabled, ...other }: Omit<HTMLProps<HTMLInputElement>, "onChange"> & RadioProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface SeparatorProps {
|
|
3
|
+
readonly dir: "vertical" | "horizontal";
|
|
4
|
+
readonly soft?: boolean;
|
|
5
|
+
readonly className?: string;
|
|
6
|
+
readonly style?: CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
export declare function Separator(props: SeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface ToggleProps {
|
|
2
|
+
readonly on: boolean;
|
|
3
|
+
readonly onChange: (b: boolean) => void;
|
|
4
|
+
readonly disabled?: boolean;
|
|
5
|
+
readonly id?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function Toggle({ on, onChange, disabled, id }: ToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function DialogDriver(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Dialog } from '@base-ui-components/react/dialog';
|
|
2
|
+
export declare const DialogBackdrop: typeof Dialog.Backdrop;
|
|
3
|
+
export declare const DialogPopup: typeof Dialog.Popup;
|
|
4
|
+
export declare const DialogTitle: typeof Dialog.Title;
|
|
5
|
+
export declare const DialogDescription: typeof Dialog.Description;
|
|
6
|
+
export declare const DialogClose: typeof Dialog.Close;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useDialogClass<T>(name: string, className: string | undefined | ((p: T) => string)): string | ((p: T) => string);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FilterManagerApplyButton: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FilterManagerClearButton: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const InFilterContainer: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|