@adaptabletools/adaptable-cjs 23.0.0-canary.5 → 23.0.0-canary.6
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 +1 -1
- package/package.json +1 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +0 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +3 -1
- package/src/agGrid/AdaptableAgGrid.js +1 -1
- package/src/env.js +2 -2
- package/tsconfig.cjs.tsbuildinfo +1 -1
package/index.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
|
-
@layer adaptable.reset, adaptable.
|
|
3
|
+
@layer adaptable.reset, adaptable.components, adaptable.utilities, adaptable.theming;
|
|
4
4
|
@property --tw-animation-delay {
|
|
5
5
|
syntax: "*";
|
|
6
6
|
inherits: false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-cjs",
|
|
3
|
-
"version": "23.0.0-canary.
|
|
3
|
+
"version": "23.0.0-canary.6",
|
|
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",
|
|
@@ -82,7 +82,6 @@ const ColumnFilterInput = (props) => {
|
|
|
82
82
|
} }));
|
|
83
83
|
}
|
|
84
84
|
if (usePrimitiveInputs === false && (type === 'number' || type === 'text')) {
|
|
85
|
-
// we use the permitted values selector
|
|
86
85
|
return ((0, jsx_runtime_1.jsx)(PermittedValuesSelector_1.PermittedValuesSelector, { allowNewValues: true, searchable: 'inline', value: liveValue, columnId: columnId, onFocus: onFocus, onBlur: onBlur, onChange: (value) => {
|
|
87
86
|
if (value == undefined) {
|
|
88
87
|
onClear();
|
|
@@ -40,7 +40,9 @@ const ColumnFilterInputList = (props) => {
|
|
|
40
40
|
}
|
|
41
41
|
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (matchingInputs ?? []).map((input, index) => {
|
|
42
42
|
const value = props?.predicate?.args?.[index];
|
|
43
|
-
|
|
43
|
+
const operator = props.predicate?.operator;
|
|
44
|
+
const usePermittedValuesSelector = input === 'number' || operator === 'Is' || operator === 'IsNot';
|
|
45
|
+
return ((0, jsx_runtime_1.jsx)(ColumnFilterInput_1.ColumnFilterInput, { columnId: props.columnId, usePrimitiveInputs: !usePermittedValuesSelector, disabled: props.disabled, type: input, value: value, onKeyDown: props.onKeyDown, onClear: () => {
|
|
44
46
|
const args = [...props.predicate.args];
|
|
45
47
|
args.splice(index, 1);
|
|
46
48
|
const newPredicate = {
|
|
@@ -1442,7 +1442,7 @@ class AdaptableAgGrid {
|
|
|
1442
1442
|
// dataType: 'Number',
|
|
1443
1443
|
// AG Grid requires either dataType or numberFormat to be set for Numbers
|
|
1444
1444
|
numberFormat: {
|
|
1445
|
-
format:
|
|
1445
|
+
format: `#,##0.00`,
|
|
1446
1446
|
},
|
|
1447
1447
|
});
|
|
1448
1448
|
// store original excel styles, we will have to revert to them after each VISUAL EXPORT
|
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: "23.0.0-canary.
|
|
5
|
+
PUBLISH_TIMESTAMP: 1781163743848 || Date.now(),
|
|
6
|
+
VERSION: "23.0.0-canary.6" || '--current-version--',
|
|
7
7
|
};
|