@adaptabletools/adaptable-cjs 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-cjs",
|
|
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",
|
|
@@ -41,8 +41,7 @@ const ColumnFilterInputList = (props) => {
|
|
|
41
41
|
return (React.createElement(React.Fragment, null, (matchingInputs ?? []).map((input, index) => {
|
|
42
42
|
const value = props?.predicate?.args?.[index];
|
|
43
43
|
const operator = props.predicate?.operator;
|
|
44
|
-
const usePermittedValuesSelector = input === 'number' ||
|
|
45
|
-
(input === 'text' && (operator === 'Equals' || operator === 'NotEquals'));
|
|
44
|
+
const usePermittedValuesSelector = input === 'number' || operator === 'Is' || operator === 'IsNot';
|
|
46
45
|
return (React.createElement(ColumnFilterInput_1.ColumnFilterInput, { columnId: props.columnId, usePrimitiveInputs: !usePermittedValuesSelector, key: index, disabled: props.disabled, type: input, value: value, onKeyDown: props.onKeyDown, onClear: () => {
|
|
47
46
|
const args = [...props.predicate.args];
|
|
48
47
|
args.splice(index, 1);
|
|
@@ -1426,7 +1426,7 @@ class AdaptableAgGrid {
|
|
|
1426
1426
|
// dataType: 'Number',
|
|
1427
1427
|
// AG Grid requires either dataType or numberFormat to be set for Numbers
|
|
1428
1428
|
numberFormat: {
|
|
1429
|
-
format:
|
|
1429
|
+
format: `#,##0.00`,
|
|
1430
1430
|
},
|
|
1431
1431
|
});
|
|
1432
1432
|
// store original excel styles, we will have to revert to them after each VISUAL EXPORT
|
|
@@ -618,7 +618,7 @@ const Select = function (props) {
|
|
|
618
618
|
MenuList,
|
|
619
619
|
]);
|
|
620
620
|
return (React.createElement(React.Fragment, null,
|
|
621
|
-
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: (0, clsx_1.default)(props.className, 'ab-Select'), isDisabled: disabled, menuPlacement: props.menuPlacement ?? 'auto', hideSelectedOptions: false, isMulti: isMulti, value: selectedOption, blurInputOnSelect: false, menuPosition: props.menuPosition ?? 'absolute',
|
|
621
|
+
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: (0, clsx_1.default)(props.className, 'ab-Select'), isDisabled: disabled, menuPlacement: props.menuPlacement ?? 'auto', hideSelectedOptions: false, isMulti: isMulti, value: selectedOption, blurInputOnSelect: false, menuPosition: props.menuPosition ?? 'absolute',
|
|
622
622
|
// This needed so the menu is not clipped by overflow: hidden
|
|
623
623
|
menuPortalTarget: (0, OverlayTrigger_1.ensurePortalElement)(), isClearable: props.isClearable, closeMenuOnSelect: props.closeMenuOnSelect, onChange: (option) => {
|
|
624
624
|
if (isMulti) {
|
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.1
|
|
5
|
+
PUBLISH_TIMESTAMP: 1779175912194 || Date.now(),
|
|
6
|
+
VERSION: "22.1.1" || '--current-version--',
|
|
7
7
|
};
|