@adaptabletools/adaptable 23.0.18 → 23.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable",
3
- "version": "23.0.18",
3
+ "version": "23.0.19",
4
4
  "description": "Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
@@ -93,5 +93,6 @@ export type SystemFormatColumnPredicateId = 'Blanks' | 'NonBlanks' | 'Equals' |
93
93
  */
94
94
  export interface FormatColumnConfig extends LayoutExtendedConfig {
95
95
  includeSuspended?: boolean;
96
+ includeReadOnly?: boolean;
96
97
  target?: FormatColumnTarget;
97
98
  }
@@ -78,7 +78,7 @@ export class FormatColumnApiImpl extends ApiBase {
78
78
  this.dispatchAction(FormatColumnRedux.FormatColumnUnSuspendAll());
79
79
  }
80
80
  getFormatColumnsForColumn(column, config) {
81
- const formatColumns = this.getFormatColumns(config).filter((formatColumn) => config?.includeSuspended || !formatColumn.IsSuspended);
81
+ const formatColumns = this.getFormatColumns(config).filter((formatColumn) => (config?.includeSuspended || !formatColumn.IsSuspended) && (config?.includeReadOnly || !formatColumn.IsReadOnly));
82
82
  return this.internalApi.getFormatColumnWithColumnInScope(formatColumns, column);
83
83
  }
84
84
  getFormatColumnsForColumnId(columnId, config) {
@@ -50,7 +50,7 @@ export class FormatColumnModule extends AdaptableModuleBase {
50
50
  source: 'ColumnMenu',
51
51
  };
52
52
  returnColumnMenuItems.push(this.createMenuItemShowPopup('format-column-add', 'Create Format Column', this.moduleInfo.Popup, this.moduleInfo.Glyph, createPopupParam));
53
- const formatColumnsForColumn = this.api.formatColumnApi.getFormatColumnsForColumnId(column.columnId);
53
+ const formatColumnsForColumn = this.api.formatColumnApi.getFormatColumnsForColumnId(column.columnId, { includeReadOnly: false });
54
54
  if (formatColumnsForColumn.length === 1) {
55
55
  let editPopupParam = {
56
56
  column: column,
@@ -1,16 +1,16 @@
1
1
  import * as React from 'react';
2
- import { Combobox as ComboboxPrimitive } from '@base-ui/react';
2
+ import { Combobox as ComboboxPrimitive } from '@base-ui/react/combobox';
3
3
  declare const useFilteredItems: typeof ComboboxPrimitive.useFilteredItems;
4
4
  export { useFilteredItems, ComboboxPrimitive };
5
5
  declare const Combobox: typeof ComboboxPrimitive.Root;
6
6
  declare const RESIZABLE_VIRTUALIZED_LIST_CLASS = "twa:group-data-resizable/combobox-content:max-h-none twa:group-data-resizable/combobox-content:flex-1 twa:group-data-resizable/combobox-content:min-h-0 twa:group-data-resizable/combobox-content:flex twa:group-data-resizable/combobox-content:flex-col";
7
7
  declare const RESIZABLE_VIRTUALIZED_SCROLL_CLASS = "twa:group-data-resizable/combobox-content:h-auto twa:group-data-resizable/combobox-content:max-h-none twa:group-data-resizable/combobox-content:flex-1 twa:group-data-resizable/combobox-content:min-h-0";
8
8
  declare function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props): React.JSX.Element;
9
- declare const ComboboxTrigger: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ComboboxTriggerProps & {
9
+ declare const ComboboxTrigger: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxTriggerProps & {
10
10
  icon?: React.ReactNode;
11
11
  }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
12
- export declare const ComboboxClear: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteClearProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
13
- declare const ComboboxInput: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteInputProps & {
12
+ export declare const ComboboxClear: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxClearProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
13
+ declare const ComboboxInput: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxInputProps & {
14
14
  isLoading?: boolean;
15
15
  showTrigger?: boolean;
16
16
  showClear?: boolean;
@@ -23,17 +23,17 @@ declare function ComboboxContent({ className, side, sideOffset, align, alignOffs
23
23
  contentRef?: (el: HTMLDivElement | null) => void;
24
24
  maxLabelLength?: number;
25
25
  }): React.JSX.Element;
26
- declare const ComboboxList: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
27
- declare const ComboboxItem: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ComboboxItemProps & {
26
+ declare const ComboboxList: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
27
+ declare const ComboboxItem: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxItemProps & {
28
28
  renderCheckboxIndicator?: boolean | null | ComboboxPrimitive.ItemIndicator.Props["render"];
29
29
  }, "ref"> & React.RefAttributes<HTMLDivElement>>;
30
- declare const ComboboxGroup: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
31
- declare const ComboboxLabel: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
30
+ declare const ComboboxGroup: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
31
+ declare const ComboboxLabel: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
32
32
  declare function ComboboxCollection({ ...props }: ComboboxPrimitive.Collection.Props): React.JSX.Element;
33
- declare const ComboboxEmpty: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
34
- declare const ComboboxSeparator: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ComboboxSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
35
- declare const ComboboxChips: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ComboboxChipsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
36
- declare const ComboboxChip: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ComboboxChipProps & {
33
+ declare const ComboboxEmpty: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
34
+ declare const ComboboxSeparator: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
35
+ declare const ComboboxChips: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxChipsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
36
+ declare const ComboboxChip: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxChipProps & {
37
37
  showRemove?: boolean;
38
38
  /**
39
39
  * Optional override for the remove action. When provided, a plain button
@@ -45,6 +45,6 @@ declare const ComboboxChip: React.ForwardRefExoticComponent<Omit<import("@base-u
45
45
  */
46
46
  onRemove?: (event: React.MouseEvent<HTMLButtonElement>) => void;
47
47
  }, "ref"> & React.RefAttributes<HTMLDivElement>>;
48
- declare const ComboboxChipsInput: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
48
+ declare const ComboboxChipsInput: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/combobox").ComboboxInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
49
49
  declare function useComboboxAnchor(): React.RefObject<HTMLDivElement>;
50
50
  export { Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxGroup, ComboboxLabel, ComboboxCollection, ComboboxEmpty, ComboboxSeparator, ComboboxChips, ComboboxChip, ComboboxChipsInput, ComboboxTrigger, ComboboxValue, useComboboxAnchor, RESIZABLE_VIRTUALIZED_LIST_CLASS, RESIZABLE_VIRTUALIZED_SCROLL_CLASS, };
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
- import { Combobox as ComboboxPrimitive } from '@base-ui/react';
3
+ import { Combobox as ComboboxPrimitive } from '@base-ui/react/combobox';
4
4
  import { cn, POPUP_Z_INDEX } from '../../lib/utils';
5
5
  import { Button } from './button';
6
6
  import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from './input-group';
package/src/env.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  NEXT_PUBLIC_INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
3
- PUBLISH_TIMESTAMP: 1785941951293 || Date.now(),
4
- VERSION: "23.0.18" || '--current-version--',
3
+ PUBLISH_TIMESTAMP: 1786011703539 || Date.now(),
4
+ VERSION: "23.0.19" || '--current-version--',
5
5
  };