@adaptabletools/adaptable 22.1.1-canary.0 → 22.1.1
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": "22.1.1
|
|
3
|
+
"version": "22.1.1",
|
|
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",
|
|
@@ -37,8 +37,7 @@ export const ColumnFilterInputList = (props) => {
|
|
|
37
37
|
return (React.createElement(React.Fragment, null, (matchingInputs ?? []).map((input, index) => {
|
|
38
38
|
const value = props?.predicate?.args?.[index];
|
|
39
39
|
const operator = props.predicate?.operator;
|
|
40
|
-
const usePermittedValuesSelector = input === 'number' ||
|
|
41
|
-
(input === 'text' && (operator === 'Equals' || operator === 'NotEquals'));
|
|
40
|
+
const usePermittedValuesSelector = input === 'number' || operator === 'Is' || operator === 'IsNot';
|
|
42
41
|
return (React.createElement(ColumnFilterInput, { columnId: props.columnId, usePrimitiveInputs: !usePermittedValuesSelector, key: index, disabled: props.disabled, type: input, value: value, onKeyDown: props.onKeyDown, onClear: () => {
|
|
43
42
|
const args = [...props.predicate.args];
|
|
44
43
|
args.splice(index, 1);
|
|
@@ -1422,7 +1422,7 @@ export class AdaptableAgGrid {
|
|
|
1422
1422
|
// dataType: 'Number',
|
|
1423
1423
|
// AG Grid requires either dataType or numberFormat to be set for Numbers
|
|
1424
1424
|
numberFormat: {
|
|
1425
|
-
format:
|
|
1425
|
+
format: `#,##0.00`,
|
|
1426
1426
|
},
|
|
1427
1427
|
});
|
|
1428
1428
|
// store original excel styles, we will have to revert to them after each VISUAL EXPORT
|
|
@@ -614,7 +614,7 @@ export const Select = function (props) {
|
|
|
614
614
|
MenuList,
|
|
615
615
|
]);
|
|
616
616
|
return (React.createElement(React.Fragment, null,
|
|
617
|
-
React.createElement(SelectComponent, { ref: ref, openMenuOnClick: searchableInMenulist ? false : undefined, openMenuOnFocus: searchableInMenulist ? false : undefined, menuIsOpen: searchableInMenulist ? isSelectMenuOpen : undefined, isSearchable: searchableInline, "aria-label": props['aria-label'], onKeyDown: props.onKeyDown, inputValue: inputValue, inputId: inputId, onInputChange: onInputChange, onFocus: onFocus, onBlur: onBlur, onMenuOpen: props.onMenuOpen, isLoading: props.isLoading, options: props.options, className: clsx(props.className, 'ab-Select'), isDisabled: disabled, menuPlacement: props.menuPlacement ?? 'auto', hideSelectedOptions: false, isMulti: isMulti, value: selectedOption, blurInputOnSelect: false, menuPosition: props.menuPosition ?? 'absolute',
|
|
617
|
+
React.createElement(SelectComponent, { ref: ref, formatCreateLabel: (inputValue) => `Select "${inputValue}"`, openMenuOnClick: searchableInMenulist ? false : undefined, openMenuOnFocus: searchableInMenulist ? false : undefined, menuIsOpen: searchableInMenulist ? isSelectMenuOpen : undefined, isSearchable: searchableInline, "aria-label": props['aria-label'], onKeyDown: props.onKeyDown, inputValue: inputValue, inputId: inputId, onInputChange: onInputChange, onFocus: onFocus, onBlur: onBlur, onMenuOpen: props.onMenuOpen, isLoading: props.isLoading, options: props.options, className: clsx(props.className, 'ab-Select'), isDisabled: disabled, menuPlacement: props.menuPlacement ?? 'auto', hideSelectedOptions: false, isMulti: isMulti, value: selectedOption, blurInputOnSelect: false, menuPosition: props.menuPosition ?? 'absolute',
|
|
618
618
|
// This needed so the menu is not clipped by overflow: hidden
|
|
619
619
|
menuPortalTarget: ensurePortalElement(), isClearable: props.isClearable, closeMenuOnSelect: props.closeMenuOnSelect, onChange: (option) => {
|
|
620
620
|
if (isMulti) {
|
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:
|
|
4
|
-
VERSION: "22.1.1
|
|
3
|
+
PUBLISH_TIMESTAMP: 1779175876057 || Date.now(),
|
|
4
|
+
VERSION: "22.1.1" || '--current-version--',
|
|
5
5
|
};
|