@teselagen/ui 0.10.8 → 0.10.10
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/AdvancedOptions.d.ts +2 -1
- package/DataTable/Columns.d.ts +3 -1
- package/DataTable/utils/rowClick.d.ts +2 -1
- package/index.cjs.js +1231 -1145
- package/index.es.js +119 -34
- package/package.json +1 -1
- package/src/AdvancedOptions.js +27 -8
- package/src/DataTable/Columns.js +19 -5
- package/src/DataTable/dragNoticeEl.js +1 -0
- package/src/DataTable/index.js +25 -5
- package/src/DataTable/style.css +44 -0
- package/src/DataTable/utils/rowClick.js +40 -1
- package/src/DataTable/utils/tableQueryParamsToHasuraClauses.js +3 -0
- package/src/ResizableDraggableDialog/index.js +1 -0
- package/src/style.css +2 -0
- package/ui.css +46 -0
package/AdvancedOptions.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export default function AdvancedOptions({ children, content, label, style, isOpenByDefault }: {
|
|
1
|
+
export default function AdvancedOptions({ children, content, label, style, isOpenByDefault, localStorageKey }: {
|
|
2
2
|
children: any;
|
|
3
3
|
content: any;
|
|
4
4
|
label: any;
|
|
5
5
|
style: any;
|
|
6
6
|
isOpenByDefault: any;
|
|
7
|
+
localStorageKey: any;
|
|
7
8
|
}): import("react/jsx-runtime").JSX.Element | null;
|
package/DataTable/Columns.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export function useColumns({ addFilters, cellRenderer, columns, resetDefaultVisibility, currentParams, compact, editingCell, editingCellSelectAll, entities, expandedEntityIdMap, extraCompact, filters, formName, getCellHoverText, isCellEditable, isEntityDisabled, isLocalCall, isSimple, isSingleSelect, isSelectionARectangle, noDeselectAll, noSelect, noUserSelect, onDeselect, onMultiRowSelect, onRowClick, onRowSelect, onSingleRowSelect, order, primarySelectedCellId, reduxFormCellValidation, reduxFormSelectedEntityIdMap, refocusTable, removeSingleFilter, schema, selectedCells, setExpandedEntityIdMap, setNewParams, updateColumnVisibility, setOrder, setSelectedCells, shouldShowSubComponent, startCellEdit, SubComponent, tableRef, updateEntitiesHelper, updateValidation, withCheckboxes, withExpandAndCollapseAllButton, withFilter: _withFilter, withSort, recordIdToIsVisibleMap, setRecordIdToIsVisibleMap, withDisplayOptions }: {
|
|
1
|
+
export function useColumns({ addFilters, cellRenderer, columns, resetDefaultVisibility, currentParams, compact, hideExpandSubCompColumn, editingCell, editingCellSelectAll, entities, expandedEntityIdMap, extraCompact, filters, formName, getCellHoverText, isCellEditable, isEntityDisabled, isLocalCall, isSimple, isSingleSelect, isSelectionARectangle, noDeselectAll, noSelect, noUserSelect, onDeselect, onMultiRowSelect, onRowClick, onRowSelect, onSingleRowSelect, order, primarySelectedCellId, reduxFormCellValidation, reduxFormSelectedEntityIdMap, refocusTable, removeSingleFilter, schema, selectedCells, setExpandedEntityIdMap, setNewParams, updateColumnVisibility, setOrder, setSelectedCells, shouldShowSubComponent, startCellEdit, SubComponent, tableRef, updateEntitiesHelper, updateValidation, withCheckboxes, withExpandAndCollapseAllButton, withFilter: _withFilter, withSort, recordIdToIsVisibleMap, setRecordIdToIsVisibleMap, withDisplayOptions, getCheckboxGroupId }: {
|
|
2
2
|
addFilters: any;
|
|
3
3
|
cellRenderer: any;
|
|
4
4
|
columns: any;
|
|
5
5
|
resetDefaultVisibility: any;
|
|
6
6
|
currentParams: any;
|
|
7
7
|
compact: any;
|
|
8
|
+
hideExpandSubCompColumn: any;
|
|
8
9
|
editingCell: any;
|
|
9
10
|
editingCellSelectAll: any;
|
|
10
11
|
entities: any;
|
|
@@ -53,4 +54,5 @@ export function useColumns({ addFilters, cellRenderer, columns, resetDefaultVisi
|
|
|
53
54
|
recordIdToIsVisibleMap: any;
|
|
54
55
|
setRecordIdToIsVisibleMap: any;
|
|
55
56
|
withDisplayOptions: any;
|
|
57
|
+
getCheckboxGroupId: any;
|
|
56
58
|
}): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default function rowClick(e: any, rowInfo: any, entities: any, { reduxFormSelectedEntityIdMap, isSingleSelect, noSelect, onRowClick, isEntityDisabled, withCheckboxes, onDeselect, onSingleRowSelect, onMultiRowSelect, noDeselectAll, onRowSelect, change }: {
|
|
1
|
+
export default function rowClick(e: any, rowInfo: any, entities: any, { reduxFormSelectedEntityIdMap, isSingleSelect, noSelect, onRowClick, isEntityDisabled, withCheckboxes, onDeselect, onSingleRowSelect, onMultiRowSelect, noDeselectAll, onRowSelect, change, getCheckboxGroupId }: {
|
|
2
2
|
reduxFormSelectedEntityIdMap: any;
|
|
3
3
|
isSingleSelect: any;
|
|
4
4
|
noSelect: any;
|
|
@@ -11,6 +11,7 @@ export default function rowClick(e: any, rowInfo: any, entities: any, { reduxFor
|
|
|
11
11
|
noDeselectAll: any;
|
|
12
12
|
onRowSelect: any;
|
|
13
13
|
change: any;
|
|
14
|
+
getCheckboxGroupId: any;
|
|
14
15
|
}): void;
|
|
15
16
|
export function changeSelectedEntities({ idMap, entities, change }: {
|
|
16
17
|
idMap: any;
|