@adaptabletools/adaptable-cjs 22.1.0-canary.1 → 22.1.0
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/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.2.
|
|
1
|
+
/*! tailwindcss v4.2.3 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer adaptable.reset, adaptable.theming, adaptable.components, adaptable.utilities, adaptable.theme;
|
|
4
4
|
@layer adaptable.reset {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-cjs",
|
|
3
|
-
"version": "22.1.0
|
|
3
|
+
"version": "22.1.0",
|
|
4
4
|
"description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -29,8 +29,11 @@ class ColumnFilterModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
29
29
|
.getDataService()
|
|
30
30
|
.on('CellDataChanged', (cellDataChangedInfo) => {
|
|
31
31
|
if (!cellDataChangedInfo.preventEdit) {
|
|
32
|
-
const
|
|
33
|
-
|
|
32
|
+
const changedColumn = cellDataChangedInfo.column;
|
|
33
|
+
if (!changedColumn.filterable) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
this.api.filterApi.columnFilterApi.resetFilterValues(changedColumn.columnId);
|
|
34
37
|
}
|
|
35
38
|
});
|
|
36
39
|
// we reset the filter cache on sort change, because we might have columns
|
|
@@ -109,17 +109,17 @@ const RowSelectionSection = (props) => {
|
|
|
109
109
|
!rowSelection && React.createElement(HelpBlock_1.default, null, "There is no Row Selection configured for this Layout"),
|
|
110
110
|
rowSelection && (React.createElement(React.Fragment, null,
|
|
111
111
|
React.createElement(Tabs_1.Tabs, { className: "twa:mt-2" },
|
|
112
|
-
React.createElement(Tabs_1.Tabs.Tab, null, "Row Selection Column"),
|
|
112
|
+
React.createElement(Tabs_1.Tabs.Tab, null, "Row Selection Column Checkboxes"),
|
|
113
113
|
React.createElement(Tabs_1.Tabs.Content, null,
|
|
114
114
|
React.createElement(Flex_1.Flex, { flexDirection: "row", className: "twa:gap-6" },
|
|
115
|
-
React.createElement(CheckBox_1.CheckBox, { className: "twa:flex-1", checked: rowSelection.Checkboxes ?? true, onChange: (checked) => updateRowSelection({ Checkboxes: checked }) }, "
|
|
116
|
-
mode === 'multiRow' && (React.createElement(CheckBox_1.CheckBox, { className: "twa:flex-1", checked: rowSelection.HeaderCheckbox ?? true, onChange: (checked) => updateRowSelection({ HeaderCheckbox: checked }) }, "
|
|
115
|
+
React.createElement(CheckBox_1.CheckBox, { className: "twa:flex-1", checked: rowSelection.Checkboxes ?? true, onChange: (checked) => updateRowSelection({ Checkboxes: checked }) }, "Checkboxes in Column Cells"),
|
|
116
|
+
mode === 'multiRow' && (React.createElement(CheckBox_1.CheckBox, { className: "twa:flex-1", checked: rowSelection.HeaderCheckbox ?? true, onChange: (checked) => updateRowSelection({ HeaderCheckbox: checked }) }, "Checkbox in Column Header (to enable Select All)"))))),
|
|
117
117
|
(rowSelection.Checkboxes ?? true) && (React.createElement(Tabs_1.Tabs, { className: "twa:mt-2" },
|
|
118
|
-
React.createElement(Tabs_1.Tabs.Tab, null, "Row Grouping"),
|
|
118
|
+
React.createElement(Tabs_1.Tabs.Tab, null, "Row Grouping Selection Checkboxes"),
|
|
119
119
|
React.createElement(Tabs_1.Tabs.Content, null,
|
|
120
120
|
React.createElement(Radio_2.RadioGroup, { orientation: "vertical", value: rowSelection.CheckboxInGroupColumn ?? false, name: "checkboxLocation", onRadioChange: (value) => updateRowSelection({ CheckboxInGroupColumn: value }) },
|
|
121
|
-
React.createElement(Radio_1.default, { value: false }, "
|
|
122
|
-
React.createElement(Radio_1.default, { value: true }, "
|
|
121
|
+
React.createElement(Radio_1.default, { value: false }, "Display in dedicated Selection Column"),
|
|
122
|
+
React.createElement(Radio_1.default, { value: true }, "Display in Row Grouped Column"))))),
|
|
123
123
|
React.createElement(Tabs_1.Tabs, { className: "twa:mt-2" },
|
|
124
124
|
React.createElement(Tabs_1.Tabs.Tab, null, "Row Click Selection (when user clicks on Row outside of Selection Checkbox)"),
|
|
125
125
|
React.createElement(Tabs_1.Tabs.Content, null,
|
package/src/env.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = {
|
|
4
4
|
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" || '',
|
|
5
|
-
PUBLISH_TIMESTAMP:
|
|
6
|
-
VERSION: "22.1.0
|
|
5
|
+
PUBLISH_TIMESTAMP: 1776765174625 || Date.now(),
|
|
6
|
+
VERSION: "22.1.0" || '--current-version--',
|
|
7
7
|
};
|