@vuu-ui/vuu-table-extras 3.3.17 → 4.0.0-alpha.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.
Files changed (41) hide show
  1. package/package.json +18 -17
  2. package/src/calculated-column/useEditCalculatedColumn.js +1 -1
  3. package/src/column-expression-input/column-language-parser/column-expression-parse-utils.js +1 -1
  4. package/src/column-expression-input/useColumnExpressionEditor.js +0 -1
  5. package/src/column-picker/ColumnPicker.js +3 -1
  6. package/src/csv-upload/data-upload-preview/DataUploadPreview.js +1 -1
  7. package/src/tabbed-table-config-panel/TabbedTableConfigPanel.css.js +3 -3
  8. package/src/tabbed-table-config-panel/TabbedTableConfigPanel.js +29 -28
  9. package/types/calculated-column/CalculatedColumnPanel.d.ts +1 -1
  10. package/types/cell-renderers/background-cell/BackgroundCell.d.ts +1 -1
  11. package/types/cell-renderers/background-cell/BackgroundCellConfigurationEditor.d.ts +1 -1
  12. package/types/cell-renderers/button-cell/IconButtonCell.d.ts +1 -1
  13. package/types/cell-renderers/dropdown-cell/DropdownCell.d.ts +1 -1
  14. package/types/cell-renderers/lookup-cell/LookupCell.d.ts +1 -1
  15. package/types/cell-renderers/pct-progress-cell/PctProgressCell.d.ts +1 -1
  16. package/types/column-expression-input/ColumnExpressionInput.d.ts +1 -1
  17. package/types/column-expression-input/column-language-parser/column-expression-parse-utils.d.ts +1 -1
  18. package/types/column-expression-input/column-language-parser/generated/column-parser.d.ts +1 -1
  19. package/types/column-expression-input/column-language-parser/generated/column-parser.terms.d.ts +1 -24
  20. package/types/column-expression-input/useColumnExpressionEditor.d.ts +4 -4
  21. package/types/column-formatting-settings/BaseNumericFormattingSettings.d.ts +1 -1
  22. package/types/column-formatting-settings/ColumnFormattingPanel.d.ts +1 -1
  23. package/types/column-formatting-settings/LongTypeFormattingSettings.d.ts +2 -1
  24. package/types/column-menu/ColumnMenu.d.ts +1 -1
  25. package/types/column-picker/ColumnPicker.d.ts +4 -4
  26. package/types/column-picker/ColumnPickerAction.d.ts +1 -1
  27. package/types/column-settings-panel/ColumnNameLabel.d.ts +1 -1
  28. package/types/column-settings-panel/ColumnSettingsPanel.d.ts +1 -1
  29. package/types/csv-upload/CsvUpload.d.ts +1 -1
  30. package/types/csv-upload/data-upload-preview/DataUploadPreview.d.ts +1 -1
  31. package/types/datasource-stats/DatasourceStats.d.ts +1 -1
  32. package/types/freeze-control/FreezeControl.d.ts +1 -1
  33. package/types/freeze-control/FrozenBanner.d.ts +1 -1
  34. package/types/freeze-control/useFreezeControl.d.ts +1 -1
  35. package/types/inline-add-row/InlineAddRow.d.ts +1 -1
  36. package/types/inline-add-row/useInlineAddRow.d.ts +23 -23
  37. package/types/tabbed-table-config-panel/TabbedTableConfigPanel.d.ts +5 -5
  38. package/types/tabbed-table-config-panel/TabbedTableSettingsAction.d.ts +1 -1
  39. package/types/table-footer/TableFooter.d.ts +3 -3
  40. package/types/table-provider/TableProvider.d.ts +1 -1
  41. package/types/table-settings-panel/TableSettingsPanel.d.ts +1 -1
package/package.json CHANGED
@@ -1,43 +1,44 @@
1
1
  {
2
- "version": "3.3.17",
2
+ "version": "4.0.0-alpha.10",
3
3
  "author": "heswell",
4
4
  "main": "./src/index.js",
5
5
  "license": "Apache-2.0",
6
+ "type": "module",
6
7
  "scripts": {
7
8
  "prebuild": "npm run lezer-generate:column",
8
9
  "build:dev": "node ../../scripts/run-build.mjs",
9
10
  "build": "node ../../scripts/run-build-rslib.ts",
10
11
  "type-defs": "node ../../scripts/build-type-defs.mjs",
11
- "lezer-generate:column": "lezer-generator --output ./src/column-expression-input/column-language-parser/generated/column-parser.js ./src/column-expression-input/column-language-parser/grammar/column.grammar"
12
+ "lezer-generate:column": "lezer-generator --output ./src/column-expression-input/column-language-parser/generated/column-parser.ts ./src/column-expression-input/column-language-parser/grammar/column.grammar"
12
13
  },
13
14
  "devDependencies": {
14
- "@vuu-ui/vuu-filter-types": "3.3.17",
15
- "@vuu-ui/vuu-protocol-types": "3.3.17"
15
+ "@vuu-ui/vuu-filter-types": "4.0.0-alpha.10",
16
+ "@vuu-ui/vuu-protocol-types": "4.0.0-alpha.10"
16
17
  },
17
18
  "dependencies": {
18
- "@vuu-ui/vuu-codemirror": "3.3.17",
19
- "@vuu-ui/vuu-data-editing": "3.3.17",
20
- "@vuu-ui/vuu-data-react": "3.3.17",
21
- "@vuu-ui/vuu-data-types": "3.3.17",
22
- "@vuu-ui/vuu-table-types": "3.3.17",
23
- "@vuu-ui/vuu-popups": "3.3.17",
24
- "@vuu-ui/vuu-table": "3.3.17",
25
- "@vuu-ui/vuu-utils": "3.3.17",
26
- "@vuu-ui/vuu-ui-controls": "3.3.17",
19
+ "@vuu-ui/core": "4.0.0-alpha.10",
20
+ "@vuu-ui/vuu-codemirror": "4.0.0-alpha.10",
21
+ "@vuu-ui/vuu-data-editing": "4.0.0-alpha.10",
22
+ "@vuu-ui/vuu-data-react": "4.0.0-alpha.10",
23
+ "@vuu-ui/vuu-data-types": "4.0.0-alpha.10",
24
+ "@vuu-ui/vuu-table-types": "4.0.0-alpha.10",
25
+ "@vuu-ui/vuu-popups": "4.0.0-alpha.10",
26
+ "@vuu-ui/vuu-table": "4.0.0-alpha.10",
27
+ "@vuu-ui/vuu-utils": "4.0.0-alpha.10",
28
+ "@vuu-ui/vuu-ui-controls": "4.0.0-alpha.10",
27
29
  "@lezer/lr": "1.4.2",
28
- "@salt-ds/core": "1.54.1",
29
- "@salt-ds/lab": "1.0.0-alpha.83",
30
+ "@salt-ds/core": "1.67.0",
31
+ "@salt-ds/lab": "1.0.0-alpha.99",
30
32
  "@salt-ds/styles": "0.2.1",
31
33
  "@salt-ds/window": "0.1.1",
32
34
  "csv-parse": "^7.0.0"
33
35
  },
34
36
  "peerDependencies": {
35
- "@floating-ui/react": "^0.26.28",
37
+ "@floating-ui/react": "^0.27.19",
36
38
  "clsx": "^2.0.0",
37
39
  "react": "^19.2.3",
38
40
  "react-dom": "^19.2.3"
39
41
  },
40
- "type": "module",
41
42
  "files": [
42
43
  "README.md",
43
44
  "src",
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { useModal } from "@vuu-ui/vuu-ui-controls";
2
+ import { useModal } from "@vuu-ui/core";
3
3
  import { useCallback, useRef } from "react";
4
4
  import { CalculatedColumnPanel } from "./CalculatedColumnPanel.js";
5
5
  const useEditCalculatedColumn = ({ calculatedColumn, columnModel, onSaveColumn, vuuTable })=>{
@@ -33,7 +33,7 @@ const isCompleteExpression = (src)=>{
33
33
  try {
34
34
  strictParser.parse(src);
35
35
  return true;
36
- } catch (err) {
36
+ } catch (_err) {
37
37
  return false;
38
38
  }
39
39
  };
@@ -116,7 +116,6 @@ const useColumnExpressionEditor = ({ onChange, onSubmitExpression, source, sugge
116
116
  viewRef.current?.destroy();
117
117
  };
118
118
  }, [
119
- completionFn,
120
119
  createState
121
120
  ]);
122
121
  const handleBlur = useCallback(()=>{
@@ -28,7 +28,9 @@ const ColumnPicker_ColumnPicker = /*#__PURE__*/ forwardRef(function({ columnMode
28
28
  selectedItems: selectedItems,
29
29
  itemTypeName: "column",
30
30
  onSelectedItemsChange: handleSelectedItemsChange,
31
- ref: forwardedRef
31
+ onSelectionChange: onSelectionChange,
32
+ ref: forwardedRef,
33
+ selected: selected
32
34
  });
33
35
  });
34
36
  export { ColumnPicker_ColumnPicker as ColumnPicker, classBaseListItem };
@@ -45,7 +45,7 @@ const DataUploadPreview_DataUploadPreview = ({ className, editSession, onClose,
45
45
  editable: false,
46
46
  hidden: false,
47
47
  label: "Error",
48
- width: 300
48
+ width: 200
49
49
  } : {
50
50
  ...column,
51
51
  editable: true
@@ -4,15 +4,15 @@ const css = `
4
4
  position: absolute;
5
5
  inset: 0;
6
6
 
7
- & .saltTabsNext {
7
+ & .saltTabs {
8
8
  height: 100%;
9
9
 
10
- & .saltTabListNext {
10
+ & .saltTabList {
11
11
  border-bottom: solid var(--salt-separable-secondary-borderColor) 1px;
12
12
  height: var(--tabs-height);
13
13
  }
14
14
 
15
- & .saltTabNextPanel {
15
+ & .saltTabPanel {
16
16
  height: calc(100% - var(--tabs-height));
17
17
  }
18
18
  }
@@ -1,5 +1,5 @@
1
1
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
- import { TabListNext, TabNext, TabNextPanel, TabNextTrigger, TabsNext } from "@salt-ds/lab";
2
+ import { Button, Tab, TabBar, TabList, TabPanel, TabTrigger, Tabs } from "@salt-ds/core";
3
3
  import { useComponentCssInjection } from "@salt-ds/styles";
4
4
  import { useWindow } from "@salt-ds/window";
5
5
  import clsx from "clsx";
@@ -8,7 +8,6 @@ import { useEditCalculatedColumn } from "../calculated-column/useEditCalculatedC
8
8
  import { ColumnPicker } from "../column-picker/ColumnPicker.js";
9
9
  import { ColumnSettingsPanel } from "../column-settings-panel/ColumnSettingsPanel.js";
10
10
  import { TableSettingsPanel } from "../table-settings-panel/TableSettingsPanel.js";
11
- import { Button } from "@salt-ds/core";
12
11
  import TabbedTableConfigPanel from "./TabbedTableConfigPanel.css";
13
12
  const classBase = "vuuTabbedTableConfigPanel";
14
13
  const TabbedTableConfigPanel_TabbedTableConfigPanel = ({ allowCreateCalculatedColumn = false, className, columnModel, config, onDisplayAttributeChange, selectedTab = "table-settings", vuuTable, ...htmlAttributes })=>{
@@ -40,42 +39,44 @@ const TabbedTableConfigPanel_TabbedTableConfigPanel = ({ allowCreateCalculatedCo
40
39
  return /*#__PURE__*/ jsx("div", {
41
40
  ...htmlAttributes,
42
41
  className: clsx(classBase, className),
43
- children: /*#__PURE__*/ jsxs(TabsNext, {
42
+ children: /*#__PURE__*/ jsxs(Tabs, {
44
43
  onChange: handleChange,
45
44
  value: value,
46
45
  children: [
47
- /*#__PURE__*/ jsxs(TabListNext, {
48
- appearance: "transparent",
49
- children: [
50
- /*#__PURE__*/ jsx(TabNext, {
51
- value: "table-settings",
52
- children: /*#__PURE__*/ jsx(TabNextTrigger, {
53
- children: "Table settings"
54
- })
55
- }),
56
- /*#__PURE__*/ jsx(TabNext, {
57
- value: "table-columns",
58
- children: /*#__PURE__*/ jsx(TabNextTrigger, {
59
- children: "Table columns"
60
- })
61
- }),
62
- /*#__PURE__*/ jsx(TabNext, {
63
- disabled: 0 === columns.length,
64
- value: "column-settings",
65
- children: /*#__PURE__*/ jsx(TabNextTrigger, {
66
- children: "Column settings"
46
+ /*#__PURE__*/ jsx(TabBar, {
47
+ children: /*#__PURE__*/ jsxs(TabList, {
48
+ appearance: "transparent",
49
+ children: [
50
+ /*#__PURE__*/ jsx(Tab, {
51
+ value: "table-settings",
52
+ children: /*#__PURE__*/ jsx(TabTrigger, {
53
+ children: "Table settings"
54
+ })
55
+ }),
56
+ /*#__PURE__*/ jsx(Tab, {
57
+ value: "table-columns",
58
+ children: /*#__PURE__*/ jsx(TabTrigger, {
59
+ children: "Table columns"
60
+ })
61
+ }),
62
+ /*#__PURE__*/ jsx(Tab, {
63
+ disabled: 0 === columns.length,
64
+ value: "column-settings",
65
+ children: /*#__PURE__*/ jsx(TabTrigger, {
66
+ children: "Column settings"
67
+ })
67
68
  })
68
- })
69
- ]
69
+ ]
70
+ })
70
71
  }),
71
- /*#__PURE__*/ jsx(TabNextPanel, {
72
+ /*#__PURE__*/ jsx(TabPanel, {
72
73
  value: "table-settings",
73
74
  children: /*#__PURE__*/ jsx(TableSettingsPanel, {
74
75
  onDisplayAttributeChange: onDisplayAttributeChange,
75
76
  tableDisplayAttributes: config
76
77
  })
77
78
  }),
78
- /*#__PURE__*/ jsx(TabNextPanel, {
79
+ /*#__PURE__*/ jsx(TabPanel, {
79
80
  value: "table-columns",
80
81
  children: /*#__PURE__*/ jsxs(Fragment, {
81
82
  children: [
@@ -94,7 +95,7 @@ const TabbedTableConfigPanel_TabbedTableConfigPanel = ({ allowCreateCalculatedCo
94
95
  ]
95
96
  })
96
97
  }),
97
- /*#__PURE__*/ jsx(TabNextPanel, {
98
+ /*#__PURE__*/ jsx(TabPanel, {
98
99
  value: "column-settings",
99
100
  children: columns.length > 0 ? /*#__PURE__*/ jsx(ColumnSettingsPanel, {
100
101
  column: columns[0],
@@ -9,4 +9,4 @@ export interface CalculatedColumnPanelProps extends HTMLAttributes<HTMLDivElemen
9
9
  onChangeServerDataType?: (name: VuuColumnDataType) => void;
10
10
  vuuTable: VuuTable;
11
11
  }
12
- export declare const CalculatedColumnPanel: ({ column: columnProp, columnModel, onChangeColumn, onChangeServerDataType: onChangeServerDataTypeProp, vuuTable, }: CalculatedColumnPanelProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const CalculatedColumnPanel: ({ column: columnProp, columnModel, onChangeColumn, onChangeServerDataType: onChangeServerDataTypeProp, vuuTable, }: CalculatedColumnPanelProps) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { TableCellRendererProps } from "@vuu-ui/vuu-table-types";
2
- export declare const BackgroundCell: import("react").NamedExoticComponent<TableCellRendererProps>;
2
+ export declare const BackgroundCell: import("react").MemoExoticComponent<({ column, dataRow, }: TableCellRendererProps) => import("react").JSX.Element>;
@@ -1,2 +1,2 @@
1
1
  import { ConfigurationEditorProps } from "@vuu-ui/vuu-utils";
2
- export declare const BackgroundCellConfigurationEditor: ({ column, onChangeRendering, }: ConfigurationEditorProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const BackgroundCellConfigurationEditor: ({ column, onChangeRendering, }: ConfigurationEditorProps) => import("react").JSX.Element;
@@ -3,4 +3,4 @@ import { TableCellRendererProps } from "@vuu-ui/vuu-table-types";
3
3
  * To assign an icon to the cell, give the columndescriptor
4
4
  * a className. In css, assign an icon variable to --vuu-svg-icon.
5
5
  */
6
- export declare const IconButtonCell: ({ column, dataRow }: TableCellRendererProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const IconButtonCell: ({ column, dataRow }: TableCellRendererProps) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { TableCellRendererProps } from "@vuu-ui/vuu-table-types";
2
- export declare const DropdownCell: import("react").NamedExoticComponent<TableCellRendererProps>;
2
+ export declare const DropdownCell: import("react").MemoExoticComponent<({ column, dataRow, editedDuringCurrentSession, onEdit, }: TableCellRendererProps) => import("react").JSX.Element>;
@@ -1,2 +1,2 @@
1
1
  import { TableCellRendererProps } from "@vuu-ui/vuu-table-types";
2
- export declare const LookupCell: import("react").NamedExoticComponent<TableCellRendererProps>;
2
+ export declare const LookupCell: import("react").MemoExoticComponent<({ column, dataRow, }: TableCellRendererProps) => import("react").JSX.Element>;
@@ -1,2 +1,2 @@
1
1
  import { TableCellProps } from "@vuu-ui/vuu-table-types";
2
- export declare const PctProgressCell: ({ column, dataRow }: TableCellProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const PctProgressCell: ({ column, dataRow }: TableCellProps) => import("react").JSX.Element;
@@ -7,4 +7,4 @@ export interface ColumnExpressionInputProps extends ExpressionSuggestionConsumer
7
7
  onSubmitExpression?: ColumnExpressionSubmitHandler;
8
8
  source?: string;
9
9
  }
10
- export declare const ColumnExpressionInput: import("react").MemoExoticComponent<({ onChange, onSubmitExpression, source, suggestionProvider, }: ColumnExpressionInputProps) => import("react/jsx-runtime").JSX.Element>;
10
+ export declare const ColumnExpressionInput: import("react").MemoExoticComponent<({ onChange, onSubmitExpression, source, suggestionProvider, }: ColumnExpressionInputProps) => import("react").JSX.Element>;
@@ -2,4 +2,4 @@ import type { SyntaxNode } from "@vuu-ui/vuu-codemirror";
2
2
  export declare const ColumnNamedTerms: readonly string[];
3
3
  export declare const isCompleteExpression: (src: string) => boolean;
4
4
  export declare const lastNamedChild: (node: SyntaxNode) => SyntaxNode | null;
5
- export declare const isCompleteRelationalExpression: (node?: SyntaxNode) => boolean;
5
+ export declare const isCompleteRelationalExpression: (node?: any) => boolean;
@@ -1,2 +1,2 @@
1
- export const parser: LRParser;
2
1
  import { LRParser } from "@lezer/lr";
2
+ export declare const parser: LRParser;
@@ -1,24 +1 @@
1
- export const ColumnDefinitionExpression: 1;
2
- export const Column: 2;
3
- export const Number: 3;
4
- export const String: 4;
5
- export const True: 5;
6
- export const False: 6;
7
- export const ParenthesizedExpression: 7;
8
- export const OpenBrace: 8;
9
- export const CloseBrace: 9;
10
- export const ArithmeticExpression: 10;
11
- export const Divide: 11;
12
- export const Times: 12;
13
- export const Plus: 13;
14
- export const Minus: 14;
15
- export const ConditionalExpression: 15;
16
- export const If: 16;
17
- export const RelationalExpression: 17;
18
- export const RelationalOperator: 18;
19
- export const AndCondition: 19;
20
- export const OrCondition: 20;
21
- export const Comma: 21;
22
- export const CallExpression: 22;
23
- export const Function: 23;
24
- export const ArgList: 24;
1
+ export declare const ColumnDefinitionExpression = 1, Column = 2, Number = 3, String = 4, True = 5, False = 6, ParenthesizedExpression = 7, OpenBrace = 8, CloseBrace = 9, ArithmeticExpression = 10, Divide = 11, Times = 12, Plus = 13, Minus = 14, ConditionalExpression = 15, If = 16, RelationalExpression = 17, RelationalOperator = 18, AndCondition = 19, OrCondition = 20, Comma = 21, CallExpression = 22, Function = 23, ArgList = 24;
@@ -1,6 +1,6 @@
1
- import { Completion } from "@vuu-ui/vuu-codemirror";
2
- import { FocusEventHandler } from "react";
3
- import { ColumnExpressionInputProps } from "./ColumnExpressionInput";
1
+ import { type Completion } from "@vuu-ui/vuu-codemirror";
2
+ import { type FocusEventHandler, type RefObject } from "react";
3
+ import type { ColumnExpressionInputProps } from "./ColumnExpressionInput";
4
4
  export type ColumnExpressionOperator = "Times" | "Divide" | "Minus" | "Plus";
5
5
  export type ColumnExpressionSuggestionType = "column" | "columnValue" | "expression" | "condition-operator" | "operator" | "relational-operator";
6
6
  export type ColumnExpressionSuggestionOptions = {
@@ -19,7 +19,7 @@ export interface ExpressionSuggestionConsumer {
19
19
  suggestionProvider: IExpressionSuggestionProvider;
20
20
  }
21
21
  export declare const useColumnExpressionEditor: ({ onChange, onSubmitExpression, source, suggestionProvider, }: ColumnExpressionInputProps) => {
22
- editorRef: import("react").RefObject<HTMLDivElement | null>;
22
+ editorRef: RefObject<HTMLDivElement | null>;
23
23
  clearInput: () => void;
24
24
  onBlur: FocusEventHandler;
25
25
  };
@@ -1,2 +1,2 @@
1
1
  import { FormattingSettingsProps } from "@vuu-ui/vuu-table-types";
2
- export declare const BaseNumericFormattingSettings: ({ column, onChangeFormatting: onChange, }: FormattingSettingsProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const BaseNumericFormattingSettings: ({ column, onChangeFormatting: onChange, }: FormattingSettingsProps) => import("react").JSX.Element;
@@ -6,4 +6,4 @@ export interface ColumnFormattingPanelProps extends HTMLAttributes<HTMLDivElemen
6
6
  column: ColumnDescriptor;
7
7
  onChangeRendering: (renderProps: ColumnTypeRendering) => void;
8
8
  }
9
- export declare const ColumnFormattingPanel: ({ availableRenderers, className, column, onChangeFormatting, onChangeColumnType, onChangeRendering, ...htmlAttributes }: ColumnFormattingPanelProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const ColumnFormattingPanel: ({ availableRenderers, className, column, onChangeFormatting, onChangeColumnType, onChangeRendering, ...htmlAttributes }: ColumnFormattingPanelProps) => import("react").JSX.Element;
@@ -1,2 +1,3 @@
1
1
  import { FormattingSettingsProps } from "@vuu-ui/vuu-table-types";
2
- export declare const LongTypeFormattingSettings: (props: FormattingSettingsProps) => import("react/jsx-runtime").JSX.Element;
2
+ import React from "react";
3
+ export declare const LongTypeFormattingSettings: (props: FormattingSettingsProps) => React.JSX.Element;
@@ -7,4 +7,4 @@ export interface ColumnMenuProps extends HTMLAttributes<HTMLSpanElement> {
7
7
  menuActionHandler?: MenuActionHandler<ColumnMenuActionType, ColumnDescriptor>;
8
8
  menuPermissions?: ColumnMenuPermissions;
9
9
  }
10
- export declare const ColumnMenu: ({ className, column, menuActionHandler: menuActionHandlerProp, menuPermissions: { allowSort, allowGroup, allowAggregation, allowHide, allowRemove, allowPin, }, }: ColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const ColumnMenu: ({ className, column, menuActionHandler: menuActionHandlerProp, menuPermissions: { allowSort, allowGroup, allowAggregation, allowHide, allowRemove, allowPin, }, }: ColumnMenuProps) => import("react").JSX.Element;
@@ -1,7 +1,7 @@
1
- import { ColumnDescriptor } from "@vuu-ui/vuu-table-types";
2
- import { HTMLAttributes } from "react";
3
- import { ListBoxProps } from "@salt-ds/core";
4
- import { ColumnPickerHookProps } from "./useColumnPicker";
1
+ import type { ListBoxProps } from "@salt-ds/core";
2
+ import type { ColumnDescriptor } from "@vuu-ui/vuu-table-types";
3
+ import { type HTMLAttributes } from "react";
4
+ import { type ColumnPickerHookProps } from "./useColumnPicker";
5
5
  export declare const classBaseListItem = "vuuColumnPickerListItem";
6
6
  export interface ColumnPickerProps extends ColumnPickerHookProps, Pick<ListBoxProps<ColumnDescriptor>, "selected" | "onSelectionChange">, HTMLAttributes<HTMLDivElement> {
7
7
  }
@@ -2,4 +2,4 @@ import { IconButtonProps } from "@vuu-ui/vuu-ui-controls";
2
2
  import { ColumnPickerHookProps } from "./useColumnPicker";
3
3
  export interface ColumnPickerActionProps extends Partial<IconButtonProps>, ColumnPickerHookProps {
4
4
  }
5
- export declare const ColumnPickerAction: ({ appearance, columnModel, icon, sentiment, ...IconButtonProps }: ColumnPickerActionProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const ColumnPickerAction: ({ appearance, columnModel, icon, sentiment, ...IconButtonProps }: ColumnPickerActionProps) => import("react").JSX.Element;
@@ -4,4 +4,4 @@ export interface ColumnNameLabelProps {
4
4
  column: ColumnDescriptor;
5
5
  onClick?: MouseEventHandler;
6
6
  }
7
- export declare const ColumnNameLabel: ({ column, onClick }: ColumnNameLabelProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const ColumnNameLabel: ({ column, onClick }: ColumnNameLabelProps) => import("react").JSX.Element;
@@ -2,4 +2,4 @@ import { ColumnSettingsProps } from "./useColumnSettings";
2
2
  export interface ColumnSettinsPanelProps extends ColumnSettingsProps {
3
3
  onClickEditCalculatedColumn?: () => void;
4
4
  }
5
- export declare const ColumnSettingsPanel: ({ column: columnProp, columnModel, onClickEditCalculatedColumn, onConfigChange, }: ColumnSettinsPanelProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const ColumnSettingsPanel: ({ column: columnProp, columnModel, onClickEditCalculatedColumn, onConfigChange, }: ColumnSettinsPanelProps) => import("react").JSX.Element;
@@ -62,4 +62,4 @@ export interface CsvUploadProps {
62
62
  rowDefaults?: RowDefaultDataItemValues;
63
63
  validators?: Record<string, CsvColumnValidator>;
64
64
  }
65
- export declare const CsvUpload: (props: CsvUploadProps) => import("react/jsx-runtime").JSX.Element;
65
+ export declare const CsvUpload: (props: CsvUploadProps) => import("react").JSX.Element;
@@ -7,4 +7,4 @@ export interface DataUploadPreviewProps extends Omit<HTMLAttributes<HTMLDivEleme
7
7
  saveLabel?: string;
8
8
  tableSchema: TableSchema;
9
9
  }
10
- export declare const DataUploadPreview: ({ className, editSession, onClose, saveLabel, tableSchema, ...htmlAttributes }: DataUploadPreviewProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const DataUploadPreview: ({ className, editSession, onClose, saveLabel, tableSchema, ...htmlAttributes }: DataUploadPreviewProps) => import("react").JSX.Element;
@@ -14,4 +14,4 @@ export interface DataSourceStatsProps extends DatasourceStatsHookProps, Omit<HTM
14
14
  selectionActions?: ReactNode;
15
15
  tooltrayActions?: ReactNode;
16
16
  }
17
- export declare const DataSourceStats: ({ children, className, dataSource, showRowStats, tooltrayActions, ...htmlAttributes }: DataSourceStatsProps) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const DataSourceStats: ({ children, className, dataSource, showRowStats, tooltrayActions, ...htmlAttributes }: DataSourceStatsProps) => import("react").JSX.Element;
@@ -12,4 +12,4 @@ export interface FreezeControlProps extends HTMLAttributes<HTMLDivElement>, Free
12
12
  */
13
13
  flashDuration?: number;
14
14
  }
15
- export declare const FreezeControl: ({ dataSource, className, newItemsLabel, flashDuration, ...htmlAttributes }: FreezeControlProps) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const FreezeControl: ({ dataSource, className, newItemsLabel, flashDuration, ...htmlAttributes }: FreezeControlProps) => import("react").JSX.Element;
@@ -3,4 +3,4 @@ import { DataSource } from "@vuu-ui/vuu-data-types";
3
3
  export interface FrozenBannerProps extends HTMLAttributes<HTMLDivElement> {
4
4
  dataSource: DataSource;
5
5
  }
6
- export declare const FrozenBanner: ({ dataSource, className, ...htmlAttributes }: FrozenBannerProps) => import("react/jsx-runtime").JSX.Element | null;
6
+ export declare const FrozenBanner: ({ dataSource, className, ...htmlAttributes }: FrozenBannerProps) => import("react").JSX.Element | null;
@@ -4,7 +4,7 @@ export interface FreezeProps {
4
4
  dataSource: DataSource;
5
5
  }
6
6
  export declare const useFreezeControl: ({ dataSource }: FreezeProps) => {
7
- onToggleChange: (evt: SyntheticEvent<HTMLButtonElement>) => void;
8
7
  isFrozen: boolean;
9
8
  newRecordCount: number;
9
+ onToggleChange: (evt: SyntheticEvent<HTMLButtonElement>) => void;
10
10
  };
@@ -1,3 +1,3 @@
1
1
  import type { BaseRowProps } from "@vuu-ui/vuu-table-types";
2
2
  export type InlineAddRowProps = BaseRowProps;
3
- export declare const InlineAddRow: ({ ariaRowIndex, className, columns, style, }: InlineAddRowProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const InlineAddRow: ({ ariaRowIndex, className, columns, style, }: InlineAddRowProps) => import("react").JSX.Element;
@@ -7,8 +7,27 @@ export declare const useInlineAddRow: ({ columns }: UseInlineAddRowProps) => {
7
7
  dataRow: DataRow;
8
8
  draftRevision: number;
9
9
  inlineAddColumns: {
10
- CellRenderer: import("react").FunctionComponent<import("@vuu-ui/vuu-table-types").TableCellRendererProps> | undefined;
11
- editable: boolean;
10
+ editableBulk?: import("@vuu-ui/vuu-data-types").BulkEdit;
11
+ name: string;
12
+ required?: boolean;
13
+ serverDataType?: import("@vuu-ui/vuu-protocol-types").VuuColumnDataType;
14
+ type?: import("@vuu-ui/vuu-data-types").DataValueType;
15
+ aggregate?: import("@vuu-ui/vuu-protocol-types").VuuAggType;
16
+ allowColumnHeaderMenu?: false;
17
+ colHeaderContentRenderer?: string;
18
+ colHeaderLabelRenderer?: string;
19
+ exportFormatter?: (value: unknown) => string;
20
+ getIcon?: (row: DataRow) => string | undefined;
21
+ groupable?: boolean;
22
+ hidden?: boolean;
23
+ locked?: Exclude<import("@vuu-ui/vuu-table-types").PinLocation, "left"> | false;
24
+ maxWidth?: number;
25
+ minWidth?: number;
26
+ pin?: import("@vuu-ui/vuu-table-types").PinLocation | false;
27
+ removeable?: boolean;
28
+ selected?: boolean;
29
+ source?: "client" | "server";
30
+ status?: import("@salt-ds/core").ValidationStatus;
12
31
  align?: "left" | "right";
13
32
  ariaColIndex: number;
14
33
  HeaderCellContentRenderer?: import("react").FunctionComponent<Omit<import("@vuu-ui/vuu-table-types").HeaderCellProps, "id" | "index">>;
@@ -34,26 +53,7 @@ export declare const useInlineAddRow: ({ columns }: UseInlineAddRowProps) => {
34
53
  sorted?: import("@vuu-ui/vuu-table-types").ColumnSort;
35
54
  valueFormatter: import("@vuu-ui/vuu-table-types").ValueFormatter;
36
55
  width: number;
37
- aggregate?: import("@vuu-ui/vuu-protocol-types").VuuAggType;
38
- allowColumnHeaderMenu?: false;
39
- colHeaderContentRenderer?: string;
40
- colHeaderLabelRenderer?: string;
41
- exportFormatter?: (value: unknown) => string;
42
- getIcon?: (row: DataRow) => string | undefined;
43
- groupable?: boolean;
44
- hidden?: boolean;
45
- locked?: Exclude<import("@vuu-ui/vuu-table-types").PinLocation, "left"> | false;
46
- maxWidth?: number;
47
- minWidth?: number;
48
- pin?: import("@vuu-ui/vuu-table-types").PinLocation | false;
49
- removeable?: boolean;
50
- selected?: boolean;
51
- source?: "client" | "server";
52
- status?: import("@salt-ds/core").ValidationStatus;
53
- editableBulk?: import("@vuu-ui/vuu-data-types").BulkEdit;
54
- name: string;
55
- required?: boolean;
56
- serverDataType?: import("@vuu-ui/vuu-protocol-types").VuuColumnDataType;
57
- type?: import("@vuu-ui/vuu-data-types").DataValueType;
56
+ editable: boolean;
57
+ CellRenderer: import("react").FunctionComponent<import("@vuu-ui/vuu-table-types").TableCellRendererProps> | undefined;
58
58
  }[];
59
59
  };
@@ -1,8 +1,8 @@
1
- import { VuuTable } from "@vuu-ui/vuu-protocol-types";
1
+ import type { VuuTable } from "@vuu-ui/vuu-protocol-types";
2
2
  import type { TableProps } from "@vuu-ui/vuu-table";
3
- import { HTMLAttributes } from "react";
4
- import { ColumnPickerProps } from "../column-picker/ColumnPicker";
5
- import { TableSettingsPanelProps } from "../table-settings-panel/TableSettingsPanel";
3
+ import { type HTMLAttributes } from "react";
4
+ import { type ColumnPickerProps } from "../column-picker/ColumnPicker";
5
+ import { type TableSettingsPanelProps } from "../table-settings-panel/TableSettingsPanel";
6
6
  declare const TabLabels: {
7
7
  readonly "table-settings": "Table";
8
8
  readonly "table-columns": "Columns";
@@ -13,5 +13,5 @@ export interface TabbedTableConfigPanelProps extends ColumnPickerProps, Pick<Tab
13
13
  selectedTab?: TabName;
14
14
  vuuTable?: VuuTable;
15
15
  }
16
- export declare const TabbedTableConfigPanel: ({ allowCreateCalculatedColumn, className, columnModel, config, onDisplayAttributeChange, selectedTab, vuuTable, ...htmlAttributes }: TabbedTableConfigPanelProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const TabbedTableConfigPanel: ({ allowCreateCalculatedColumn, className, columnModel, config, onDisplayAttributeChange, selectedTab, vuuTable, ...htmlAttributes }: TabbedTableConfigPanelProps) => import("react").JSX.Element;
17
17
  export {};
@@ -4,4 +4,4 @@ import { TableDisplayAttributeChangeHandler } from "../table-settings-panel/Tabl
4
4
  export interface TabbedTableSettingsActionProps extends Partial<IconButtonProps>, TabbedTableConfigPanelHookProps {
5
5
  onDisplayAttributeChange: TableDisplayAttributeChangeHandler;
6
6
  }
7
- export declare const TabbedTableSettingsAction: ({ allowCreateCalculatedColumn, appearance, columnModel, config, icon, onDisplayAttributeChange, sentiment, vuuTable, ...IconButtonProps }: TabbedTableSettingsActionProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const TabbedTableSettingsAction: ({ allowCreateCalculatedColumn, appearance, columnModel, config, icon, onDisplayAttributeChange, sentiment, vuuTable, ...IconButtonProps }: TabbedTableSettingsActionProps) => import("react").JSX.Element;
@@ -5,6 +5,6 @@ export interface TableFooterProps extends HTMLAttributes<HTMLDivElement> {
5
5
  }
6
6
  export declare const TableFooterTray: ({ children, position }: {
7
7
  children: ReactNode;
8
- position?: "center" | "end";
9
- }) => import("react/jsx-runtime").JSX.Element;
10
- export declare const TableFooter: ({ children, className, onInvokeAction, tooltrayActions, ...htmlAttributes }: TableFooterProps) => import("react/jsx-runtime").JSX.Element;
8
+ position?: 'center' | 'end';
9
+ }) => import("react").JSX.Element;
10
+ export declare const TableFooter: ({ children, className, onInvokeAction, tooltrayActions, ...htmlAttributes }: TableFooterProps) => import("react").JSX.Element;
@@ -10,7 +10,7 @@ export interface TableContextProps extends Pick<TableProps, "dataSource" | "rowA
10
10
  export declare const TableContext: import("react").Context<TableContextProps>;
11
11
  export declare const TableProvider: ({ children, dataSource, menuActionHandler, rowActionHandlers, }: TableContextProps & {
12
12
  children: ReactNode;
13
- }) => import("react/jsx-runtime").JSX.Element;
13
+ }) => import("react").JSX.Element;
14
14
  export declare function useTableContext(throwIfNoDataSource?: boolean): {
15
15
  dataSource: DataSource;
16
16
  menuActionHandler: MenuActionHandler<ColumnMenuActionType, ColumnDescriptor>;
@@ -19,4 +19,4 @@ export interface TableSettingsPanelProps {
19
19
  It updates the settings in state locally and notifies caller of
20
20
  every change via onChange callback
21
21
  */
22
- export declare const TableSettingsPanel: ({ onDisplayAttributeChange, tableDisplayAttributes: tableDisplayAttributesProp, permissions: permissionsProp, }: TableSettingsPanelProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const TableSettingsPanel: ({ onDisplayAttributeChange, tableDisplayAttributes: tableDisplayAttributesProp, permissions: permissionsProp, }: TableSettingsPanelProps) => import("react").JSX.Element;