@gooddata/sdk-ui-filters 11.65.0-alpha.0 → 11.65.0-alpha.10
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/esm/AttributeFilter/Components/ElementsSelect/AttributeFilterElementsSelect.d.ts.map +1 -1
- package/esm/AttributeFilter/Components/ElementsSelect/AttributeFilterElementsSelect.js +5 -2
- package/esm/AttributeFilter/Components/ElementsSelect/AttributeFilterElementsSelectItem.d.ts +1 -1
- package/esm/AttributeFilter/Components/ElementsSelect/AttributeFilterElementsSelectItem.d.ts.map +1 -1
- package/esm/AttributeFilter/Components/ElementsSelect/AttributeFilterElementsSelectItem.js +3 -2
- package/esm/AttributeFilter/Components/ElementsSelect/SingleSelectionAttributeFilterElementsSelectItem.d.ts +1 -1
- package/esm/AttributeFilter/Components/ElementsSelect/SingleSelectionAttributeFilterElementsSelectItem.d.ts.map +1 -1
- package/esm/AttributeFilter/Components/ElementsSelect/SingleSelectionAttributeFilterElementsSelectItem.js +3 -2
- package/esm/AttributeFilter/Components/ElementsSelect/types.d.ts +7 -0
- package/esm/AttributeFilter/Components/ElementsSelect/types.d.ts.map +1 -1
- package/esm/AttributeFilter/hooks/types.d.ts +13 -1
- package/esm/AttributeFilter/hooks/types.d.ts.map +1 -1
- package/esm/AttributeFilter/hooks/useAttributeFilterController.d.ts.map +1 -1
- package/esm/AttributeFilter/hooks/useAttributeFilterController.js +2 -1
- package/esm/AttributeFilter/hooks/useAttributeFilterControllerData.d.ts +2 -1
- package/esm/AttributeFilter/hooks/useAttributeFilterControllerData.d.ts.map +1 -1
- package/esm/AttributeFilter/hooks/useAttributeFilterControllerData.js +4 -1
- package/esm/AttributeFilter/hooks/useAttributeFilterHandler.d.ts +2 -1
- package/esm/AttributeFilter/hooks/useAttributeFilterHandler.d.ts.map +1 -1
- package/esm/AttributeFilter/hooks/useAttributeFilterHandler.js +25 -4
- package/esm/AttributeFilter/hooks/useAttributeFilterHandlerState.d.ts +1 -0
- package/esm/AttributeFilter/hooks/useAttributeFilterHandlerState.d.ts.map +1 -1
- package/esm/AttributeFilter/hooks/useAttributeFilterHandlerState.js +1 -0
- package/esm/AttributeFilter/hooks/useElementsFilterController.d.ts +2 -1
- package/esm/AttributeFilter/hooks/useElementsFilterController.d.ts.map +1 -1
- package/esm/AttributeFilter/hooks/useElementsFilterController.js +3 -2
- package/esm/AttributeFilter/types.d.ts +9 -1
- package/esm/AttributeFilter/types.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/factory.d.ts +9 -1
- package/esm/AttributeFilterHandler/factory.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/factory.js +3 -1
- package/esm/AttributeFilterHandler/internal/bridge.d.ts +1 -0
- package/esm/AttributeFilterHandler/internal/bridge.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/bridge.js +4 -1
- package/esm/AttributeFilterHandler/internal/loader.d.ts +1 -0
- package/esm/AttributeFilterHandler/internal/loader.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/loader.js +3 -0
- package/esm/AttributeFilterHandler/internal/redux/displayForms/displayFormsReducers.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/redux/displayForms/displayFormsReducers.js +1 -0
- package/esm/AttributeFilterHandler/internal/redux/elements/InMemoryPaging.d.ts +2 -1
- package/esm/AttributeFilterHandler/internal/redux/elements/InMemoryPaging.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/redux/elements/InMemoryPaging.js +5 -3
- package/esm/AttributeFilterHandler/internal/redux/elements/elementsSaga.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/redux/elements/elementsSaga.js +3 -0
- package/esm/AttributeFilterHandler/internal/redux/elements/elementsSelectors.d.ts +8 -2
- package/esm/AttributeFilterHandler/internal/redux/elements/elementsSelectors.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/redux/elements/elementsSelectors.js +16 -3
- package/esm/AttributeFilterHandler/internal/redux/elements/formatElementTitles.d.ts +13 -0
- package/esm/AttributeFilterHandler/internal/redux/elements/formatElementTitles.d.ts.map +1 -0
- package/esm/AttributeFilterHandler/internal/redux/elements/formatElementTitles.js +36 -0
- package/esm/AttributeFilterHandler/internal/redux/elements/loadElementsFromBackend.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/redux/elements/loadElementsFromBackend.js +11 -7
- package/esm/AttributeFilterHandler/internal/redux/elements/numericElementValues.d.ts +41 -0
- package/esm/AttributeFilterHandler/internal/redux/elements/numericElementValues.d.ts.map +1 -0
- package/esm/AttributeFilterHandler/internal/redux/elements/numericElementValues.js +103 -0
- package/esm/AttributeFilterHandler/internal/redux/loadCustomElements/loadCustomElementsReducers.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/redux/loadCustomElements/loadCustomElementsReducers.js +5 -0
- package/esm/AttributeFilterHandler/internal/redux/loadInitialElementsPage/loadInitialElementsPageReducers.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/redux/loadInitialElementsPage/loadInitialElementsPageReducers.js +4 -0
- package/esm/AttributeFilterHandler/internal/redux/loadNextElementsPage/loadNextElementsPageReducers.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/redux/loadNextElementsPage/loadNextElementsPageReducers.js +3 -0
- package/esm/AttributeFilterHandler/internal/redux/store/createStore.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/redux/store/createStore.js +1 -0
- package/esm/AttributeFilterHandler/internal/redux/store/state.d.ts +10 -1
- package/esm/AttributeFilterHandler/internal/redux/store/state.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/internal/redux/store/types.d.ts +5 -1
- package/esm/AttributeFilterHandler/internal/redux/store/types.d.ts.map +1 -1
- package/esm/AttributeFilterHandler/types/elementsLoader.d.ts +15 -0
- package/esm/AttributeFilterHandler/types/elementsLoader.d.ts.map +1 -1
- package/esm/DateFilter/DateFilterBody/DateFilterBody.d.ts.map +1 -1
- package/esm/DateFilter/DateFilterBody/DateFilterBody.js +5 -3
- package/esm/DateFilter/DateFilterBody/DateFilterFormContent.d.ts +1 -2
- package/esm/DateFilter/DateFilterBody/DateFilterFormContent.d.ts.map +1 -1
- package/esm/DateFilter/DateFilterBody/DateFilterFormContent.js +7 -14
- package/esm/DateFilter/DateRangePicker/DateRangePicker.js +1 -1
- package/esm/DateFilter/PeriodRangePicker/AccessibleFieldInput.d.ts.map +1 -1
- package/esm/DateFilter/PeriodRangePicker/AccessibleFieldInput.js +3 -4
- package/esm/DateFilter/accessibility/keyboardNavigation.d.ts +3 -5
- package/esm/DateFilter/accessibility/keyboardNavigation.d.ts.map +1 -1
- package/esm/DateFilter/accessibility/keyboardNavigation.js +3 -5
- package/esm/sdk-ui-filters.d.ts +53 -2
- package/package.json +12 -12
- package/styles/css/attributeFilter.css +21 -21
- package/styles/css/attributeFilterNext/attributeFilter.css +13 -13
- package/styles/css/attributeFilterNext/attributeFilterAddons.css +13 -13
- package/styles/css/attributeFilterNext/attributeFilterDetailsBubble.css +2 -2
- package/styles/css/attributeFilterNext/attributeFilterDropdownBody.css +14 -14
- package/styles/css/attributeFilterNext/attributeFilterDropdownButton.css +14 -14
- package/styles/css/attributeFilterNext/attributeFilterElementsSelect.css +14 -14
- package/styles/css/attributeFilterNext/attributeFilterEmptyResult.css +13 -13
- package/styles/css/attributeFilterNext/attributeFilterStatusBar.css +13 -13
- package/styles/css/attributeFilterNext/textFilterBody.css +1 -1
- package/styles/css/attributeFilterNext.css +19 -19
- package/styles/css/components/DateFilterButton.css +4 -4
- package/styles/css/components/DateFilterCustomPeriodButtons.css +1 -1
- package/styles/css/components/DateRangePicker.css +1 -1
- package/styles/css/dateFilter.css +19 -19
- package/styles/css/main.css +41 -41
- package/styles/css/measureValueFilter.css +20 -20
- package/styles/css/rankingFilter.css +10 -10
- package/styles/scss/attributeFilterNext/attributeFilterDetailsBubble.scss +2 -2
- package/styles/scss/attributeFilterNext/attributeFilterDropdownBody.scss +1 -1
- package/styles/scss/attributeFilterNext/attributeFilterElementsSelect.scss +1 -1
- package/styles/scss/attributeFilterNext/textFilterBody.scss +1 -1
- package/styles/scss/measureValueFilter.scss +6 -6
|
@@ -12,6 +12,11 @@ export interface ILoadElementsResult {
|
|
|
12
12
|
totalCount: number;
|
|
13
13
|
options: ILoadElementsOptions;
|
|
14
14
|
cacheId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Number format of the element values (numeric computed attributes), see
|
|
17
|
+
* {@link @gooddata/sdk-backend-spi#IElementsQueryResult.numberFormat}.
|
|
18
|
+
*/
|
|
19
|
+
numberFormat?: string;
|
|
15
20
|
}
|
|
16
21
|
/**
|
|
17
22
|
* Result of checking for irrelevant subset of selection.
|
|
@@ -224,6 +229,16 @@ export interface IAttributeElementLoader {
|
|
|
224
229
|
* Returns the current search string used to filter the attribute element loads.
|
|
225
230
|
*/
|
|
226
231
|
getSearch(): string;
|
|
232
|
+
/**
|
|
233
|
+
* Returns the number format of the loaded element values, if they have one.
|
|
234
|
+
*
|
|
235
|
+
* @remarks
|
|
236
|
+
* Element values of numeric computed attributes carry a number format; their raw titles are displayed
|
|
237
|
+
* formatted with it. The method is optional so that existing implementations stay valid.
|
|
238
|
+
*
|
|
239
|
+
* @beta
|
|
240
|
+
*/
|
|
241
|
+
getElementsNumberFormat?(): string | undefined;
|
|
227
242
|
/**
|
|
228
243
|
* Returns the current measures used to filter the attribute element loads.
|
|
229
244
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elementsLoader.d.ts","sourceRoot":"","sources":["../../../src/AttributeFilterHandler/types/elementsLoader.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,yCAAyC,EAC9C,KAAK,6BAA6B,EACrC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,aAAa,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,8BAA8B,EACnC,KAAK,oBAAoB,EACzB,KAAK,WAAW,EACnB,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"elementsLoader.d.ts","sourceRoot":"","sources":["../../../src/AttributeFilterHandler/types/elementsLoader.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,yCAAyC,EAC9C,KAAK,6BAA6B,EACrC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,aAAa,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,8BAA8B,EACnC,KAAK,oBAAoB,EACzB,KAAK,WAAW,EACnB,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C,aAAa,EAAE,mBAAmB,E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AAC;IAEjE,oBAAoB,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,6BAA6B,EAAE,OAAO,CAAC;IACvC,4BAA4B,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5D,6BAA6B,EAAE,OAAO,CAAC;IACvC,gCAAgC,CAAC,EAAE,OAAO,CAAC;IAE3C,sCAAsC,EAAE,OAAO,CAAC;IAEhD,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;IAEhD,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,IAAI,CAAC;IAE1B,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,gBAAgB,EAAE,YAAY,CAAC;IAE/B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,oBAAoB,EAAE,MAAM,IAAI,CAAC;IAEjC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,eAAe,CAAC,EAAE,gBAAgB,CAAC;IAEnC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;;OAIG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,eAAO,MAAM,cAAc,iHA2czB,CAAC"}
|
|
@@ -5,7 +5,7 @@ import cx from "classnames";
|
|
|
5
5
|
import { isEmpty } from "lodash-es";
|
|
6
6
|
import { useIntl } from "react-intl";
|
|
7
7
|
import { isAbsoluteDateFilterForm, isAllTimeDateFilterOption, isEmptyValuesDateFilterOption, isRelativeDateFilterForm, } from "@gooddata/sdk-model";
|
|
8
|
-
import { useIdPrefixed } from "@gooddata/sdk-ui-kit";
|
|
8
|
+
import { isEscapeKey, useIdPrefixed } from "@gooddata/sdk-ui-kit";
|
|
9
9
|
import { isEditableElement } from "../../shared/utils/domUtilities.js";
|
|
10
10
|
import { CheckboxSection } from "../CheckboxSection/CheckboxSection.js";
|
|
11
11
|
import { getDateFilterOptionGranularity } from "../utils/OptionUtils.js";
|
|
@@ -169,7 +169,9 @@ export const DateFilterBody = forwardRef((props, ref) => {
|
|
|
169
169
|
const hasFormOptions = !!(filterOptions.absoluteForm ||
|
|
170
170
|
(filterOptions.relativeForm && availableGranularities.length > 0));
|
|
171
171
|
const handleKeyDown = (e) => {
|
|
172
|
-
|
|
172
|
+
// In a form, Escape steps back to the option list like Back; from the list it closes the filter.
|
|
173
|
+
const isBackKey = isEscapeKey(e) || (e.key === "ArrowLeft" && !isEditableElement(e.target));
|
|
174
|
+
if (route && isBackKey) {
|
|
173
175
|
e.preventDefault();
|
|
174
176
|
e.stopPropagation();
|
|
175
177
|
handleBackNavigation();
|
|
@@ -193,7 +195,7 @@ export const DateFilterBody = forwardRef((props, ref) => {
|
|
|
193
195
|
return (_jsxs("div", { ref: rootRef, className: cx(!isMobile && "gd-extended-date-filter-body-redesigned", "gd-extended-date-filter-body", "s-extended-date-filters-body", isMobile && "gd-extended-date-filter-body-mobile", route && "gd-active-form"), onKeyDown: handleKeyDown, onFocus: handleFocus, role: "dialog", id: formId, "aria-label": formLabel, children: [route === null && isMobile ? (_jsx("div", { className: "gd-extended-date-filter-mobile-header", onClick: () => {
|
|
194
196
|
onCancelClick();
|
|
195
197
|
closeDropdown();
|
|
196
|
-
}, children: dateFilterButton })) : null, route ? (_jsx("div", { className: "gd-extended-date-filter-form-wrapper", ref: ref, children: _jsx(DateFilterFormContent, { filterOptions: filterOptions, selectedFilterOption: selectedFilterOption, onSelectedFilterOptionChange: onSelectedFilterOptionChange, dateFormat: dateFormat, weekStart: weekStart, isTimeForAbsoluteRangeEnabled: isTimeForAbsoluteRangeEnabled, isSecondsForAbsoluteRangeEnabled: isSecondsForAbsoluteRangeEnabled, isAbsoluteDateFilterGranularityEnabled: props.isAbsoluteDateFilterGranularityEnabled, availableGranularities: filteredAvailableGranularities, absoluteAvailableGranularities: filteredAbsoluteAvailableGranularities, isMobile: isMobile, withoutApply: withoutApply, enableEmptyDateValues: props.enableEmptyDateValues, customRangeHint: props.customRangeHint, onPeriodRangeValidityChange: setIsPeriodRangeValid, activeForm: route, onBackNavigation: handleBackNavigation,
|
|
198
|
+
}, children: dateFilterButton })) : null, route ? (_jsx("div", { className: "gd-extended-date-filter-form-wrapper", ref: ref, children: _jsx(DateFilterFormContent, { filterOptions: filterOptions, selectedFilterOption: selectedFilterOption, onSelectedFilterOptionChange: onSelectedFilterOptionChange, dateFormat: dateFormat, weekStart: weekStart, isTimeForAbsoluteRangeEnabled: isTimeForAbsoluteRangeEnabled, isSecondsForAbsoluteRangeEnabled: isSecondsForAbsoluteRangeEnabled, isAbsoluteDateFilterGranularityEnabled: props.isAbsoluteDateFilterGranularityEnabled, availableGranularities: filteredAvailableGranularities, absoluteAvailableGranularities: filteredAbsoluteAvailableGranularities, isMobile: isMobile, withoutApply: withoutApply, enableEmptyDateValues: props.enableEmptyDateValues, customRangeHint: props.customRangeHint, onPeriodRangeValidityChange: setIsPeriodRangeValid, activeForm: route, onBackNavigation: handleBackNavigation, submitForm: () => {
|
|
197
199
|
onApplyClick();
|
|
198
200
|
if (!withoutApply) {
|
|
199
201
|
closeDropdown();
|
|
@@ -20,7 +20,6 @@ export interface IDateFilterFormContentProps {
|
|
|
20
20
|
onPeriodRangeValidityChange?: (isValid: boolean) => void;
|
|
21
21
|
activeForm: DateFilterRoute;
|
|
22
22
|
onBackNavigation: () => void;
|
|
23
|
-
onClose: () => void;
|
|
24
23
|
submitForm: () => void;
|
|
25
24
|
errors?: IExtendedDateFilterErrors;
|
|
26
25
|
}
|
|
@@ -30,5 +29,5 @@ export interface IDateFilterFormContentProps {
|
|
|
30
29
|
*
|
|
31
30
|
* @internal
|
|
32
31
|
*/
|
|
33
|
-
export declare function DateFilterFormContent({ filterOptions, selectedFilterOption, onSelectedFilterOptionChange, dateFormat, weekStart, isTimeForAbsoluteRangeEnabled, isSecondsForAbsoluteRangeEnabled, isAbsoluteDateFilterGranularityEnabled, availableGranularities, absoluteAvailableGranularities, isMobile, withoutApply, enableEmptyDateValues, customRangeHint, onPeriodRangeValidityChange, activeForm, onBackNavigation,
|
|
32
|
+
export declare function DateFilterFormContent({ filterOptions, selectedFilterOption, onSelectedFilterOptionChange, dateFormat, weekStart, isTimeForAbsoluteRangeEnabled, isSecondsForAbsoluteRangeEnabled, isAbsoluteDateFilterGranularityEnabled, availableGranularities, absoluteAvailableGranularities, isMobile, withoutApply, enableEmptyDateValues, customRangeHint, onPeriodRangeValidityChange, activeForm, onBackNavigation, submitForm, errors, }: IDateFilterFormContentProps): import("react/jsx-runtime").JSX.Element;
|
|
34
33
|
//# sourceMappingURL=DateFilterFormContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateFilterFormContent.d.ts","sourceRoot":"","sources":["../../../src/DateFilter/DateFilterBody/DateFilterFormContent.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"DateFilterFormContent.d.ts","sourceRoot":"","sources":["../../../src/DateFilter/DateFilterBody/DateFilterFormContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAU,MAAM,OAAO,CAAC;AAK/C,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EAKjB,MAAM,qBAAqB,CAAC;AAU7B,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAGjC,MAAM,wBAAwB,CAAC;AAIhC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,WAAW,2BAA2B;IACxC,aAAa,EAAE,wBAAwB,CAAC;IACxC,oBAAoB,EAAE,gBAAgB,CAAC;IACvC,4BAA4B,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAEjE,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,6BAA6B,EAAE,OAAO,CAAC;IACvC,gCAAgC,CAAC,EAAE,OAAO,CAAC;IAC3C,sCAAsC,EAAE,OAAO,CAAC;IAChD,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;IAChD,8BAA8B,EAAE,qBAAqB,EAAE,CAAC;IAExD,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,2BAA2B,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAEzD,UAAU,EAAE,eAAe,CAAC;IAC5B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAE7B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,yBAAyB,CAAC;CACtC;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,EAClC,aAAa,EACb,oBAAoB,EACpB,4BAA4B,EAC5B,UAAU,EACV,SAAS,EACT,6BAA6B,EAC7B,gCAAgC,EAChC,sCAAsC,EACtC,sBAAsB,EACtB,8BAA8B,EAC9B,QAAQ,EACR,YAAY,EACZ,qBAAqB,EACrB,eAAe,EACf,2BAA2B,EAC3B,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,MAAM,GACT,EAAE,2BAA2B,2CA0I7B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2025-2026 GoodData Corporation
|
|
3
|
-
import {
|
|
3
|
+
import { useRef } from "react";
|
|
4
4
|
import { isEmpty } from "lodash-es";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { isAbsoluteDateFilterForm, isAllTimeDateFilterOption, isEmptyValuesDateFilterOption, isRelativeDateFilterForm, } from "@gooddata/sdk-model";
|
|
@@ -11,22 +11,13 @@ import { DateFilterFormWrapper } from "../DateFilterFormWrapper/DateFilterFormWr
|
|
|
11
11
|
import { EmptyValuesHandlingToggle } from "../EmptyValuesHandlingToggle/EmptyValuesHandlingToggle.js";
|
|
12
12
|
import { RelativeDateFilterForm } from "../RelativeDateFilterForm/RelativeDateFilterForm.js";
|
|
13
13
|
import { DateFilterFormNavigationWrapper } from "./DateFilterFormNavigationWrapper.js";
|
|
14
|
-
/**
|
|
15
|
-
* Builds the keydown handler bound to a granularity tabs container, shared by the absolute and relative
|
|
16
|
-
* form's wrapper `<div>`s below - the only two consumers, hence a local hook rather than a shared export.
|
|
17
|
-
*/
|
|
18
|
-
function useGranularityTabsKeydownHandler(tabGranularityRef, closeDropdown) {
|
|
19
|
-
return useCallback((event) => {
|
|
20
|
-
createGranularityTabsKeyboardHandler({ tabGranularityRef, closeDropdown })(event);
|
|
21
|
-
}, [tabGranularityRef, closeDropdown]);
|
|
22
|
-
}
|
|
23
14
|
/**
|
|
24
15
|
* Component that renders the form content (absolute or relative) for date filter.
|
|
25
16
|
* This component is purely presentational and doesn't manage any navigation state.
|
|
26
17
|
*
|
|
27
18
|
* @internal
|
|
28
19
|
*/
|
|
29
|
-
export function DateFilterFormContent({ filterOptions, selectedFilterOption, onSelectedFilterOptionChange, dateFormat, weekStart, isTimeForAbsoluteRangeEnabled, isSecondsForAbsoluteRangeEnabled, isAbsoluteDateFilterGranularityEnabled, availableGranularities, absoluteAvailableGranularities, isMobile, withoutApply, enableEmptyDateValues, customRangeHint, onPeriodRangeValidityChange, activeForm, onBackNavigation,
|
|
20
|
+
export function DateFilterFormContent({ filterOptions, selectedFilterOption, onSelectedFilterOptionChange, dateFormat, weekStart, isTimeForAbsoluteRangeEnabled, isSecondsForAbsoluteRangeEnabled, isAbsoluteDateFilterGranularityEnabled, availableGranularities, absoluteAvailableGranularities, isMobile, withoutApply, enableEmptyDateValues, customRangeHint, onPeriodRangeValidityChange, activeForm, onBackNavigation, submitForm, errors, }) {
|
|
30
21
|
const showStaticForm = activeForm === "absoluteForm" && filterOptions.absoluteForm;
|
|
31
22
|
const showRelativeForm = activeForm === "relativeForm" && filterOptions.relativeForm && availableGranularities.length > 0;
|
|
32
23
|
const absoluteSelectedFilterOption = filterOptions.absoluteForm && isAbsoluteDateFilterForm(selectedFilterOption)
|
|
@@ -46,8 +37,10 @@ export function DateFilterFormContent({ filterOptions, selectedFilterOption, onS
|
|
|
46
37
|
selectedFilterOption.emptyValueHandling !== "only";
|
|
47
38
|
const effectiveEmptyValueHandling = selectedFilterOption.emptyValueHandling ?? "exclude";
|
|
48
39
|
const emptyValueHandlingToggleChecked = effectiveEmptyValueHandling === "include";
|
|
49
|
-
const handleRelativeDateFilterKeydown =
|
|
50
|
-
const handleAbsoluteDateFilterKeydown =
|
|
40
|
+
const handleRelativeDateFilterKeydown = createGranularityTabsKeyboardHandler({ tabGranularityRef });
|
|
41
|
+
const handleAbsoluteDateFilterKeydown = createGranularityTabsKeyboardHandler({
|
|
42
|
+
tabGranularityRef: absoluteTabGranularityRef,
|
|
43
|
+
});
|
|
51
44
|
return (_jsxs("div", { className: "gd-date-filter-form-content", children: [showStaticForm ? (_jsx(DateFilterFormNavigationWrapper, { title: filterOptions.absoluteForm?.name
|
|
52
45
|
? filterOptions.absoluteForm.name
|
|
53
46
|
: intl.formatMessage({ id: "filters.staticPeriod" }), onBack: onBackNavigation, backLabel: intl.formatMessage({ id: "menu.back" }), isMobile: isMobile, children: _jsx("div", { onKeyDown: handleAbsoluteDateFilterKeydown, children: _jsxs(DateFilterFormWrapper, { isMobile: isMobile, children: [_jsx(AbsoluteDateFilterForm, { dateFormat: dateFormat, onSelectedFilterOptionChange: onSelectedFilterOptionChange, selectedFilterOption: absoluteSelectedFilterOption, isMobile: isMobile, isTimeEnabled: isTimeForAbsoluteRangeEnabled, isSecondsEnabled: isSecondsForAbsoluteRangeEnabled, isGranularityEnabled: isAbsoluteDateFilterGranularityEnabled, availableGranularities: absoluteAvailableGranularities, accessibilityConfig: { id: absoluteDateFilterId }, weekStart: weekStart, submitForm: submitForm, withoutApply: withoutApply, customRangeHint: customRangeHint, onPeriodRangeValidityChange: onPeriodRangeValidityChange, granularityTabsRef: absoluteTabGranularityRef }), shouldRenderEmptyValuesHandling ? (_jsx(EmptyValuesHandlingToggle, { mode: "include", className: "gd-date-filter-empty-values-handling-toggle", checked: emptyValueHandlingToggleChecked, onChange: (checked) => {
|
|
@@ -58,7 +51,7 @@ export function DateFilterFormContent({ filterOptions, selectedFilterOption, onS
|
|
|
58
51
|
});
|
|
59
52
|
} })) : null] }) }) })) : null, showRelativeForm ? (_jsx(DateFilterFormNavigationWrapper, { title: filterOptions.relativeForm?.name
|
|
60
53
|
? filterOptions.relativeForm.name
|
|
61
|
-
: intl.formatMessage({ id: "filters.floatingRange" }), onBack: onBackNavigation, backLabel: intl.formatMessage({ id: "menu.back" }), isMobile: isMobile, children: _jsx("div", { onKeyDown: handleRelativeDateFilterKeydown, children: _jsxs(DateFilterFormWrapper, { isMobile: isMobile, children: [_jsx(RelativeDateFilterForm, { onSelectedFilterOptionChange: onSelectedFilterOptionChange, selectedFilterOption: relativeSelectedFilterOption, availableGranularities: availableGranularities, isMobile: isMobile, ref: tabGranularityRef, relativeDateFilterId: relativeDateFilterId, onKeyDown: (event) => submitRelativeDateFilterForm(event, isEmpty(errors), withoutApply ?? false,
|
|
54
|
+
: intl.formatMessage({ id: "filters.floatingRange" }), onBack: onBackNavigation, backLabel: intl.formatMessage({ id: "menu.back" }), isMobile: isMobile, children: _jsx("div", { onKeyDown: handleRelativeDateFilterKeydown, children: _jsxs(DateFilterFormWrapper, { isMobile: isMobile, children: [_jsx(RelativeDateFilterForm, { onSelectedFilterOptionChange: onSelectedFilterOptionChange, selectedFilterOption: relativeSelectedFilterOption, availableGranularities: availableGranularities, isMobile: isMobile, ref: tabGranularityRef, relativeDateFilterId: relativeDateFilterId, onKeyDown: (event) => submitRelativeDateFilterForm(event, isEmpty(errors), withoutApply ?? false, submitForm) }), shouldRenderEmptyValuesHandling ? (_jsx(EmptyValuesHandlingToggle, { mode: "include", className: "gd-date-filter-empty-values-handling-toggle", checked: emptyValueHandlingToggleChecked, onChange: (checked) => {
|
|
62
55
|
const emptyValueHandling = checked ? "include" : undefined;
|
|
63
56
|
onSelectedFilterOptionChange({
|
|
64
57
|
...relativeSelectedFilterOption,
|
|
@@ -33,7 +33,7 @@ const useCalendarPopup = () => {
|
|
|
33
33
|
const onDateInputKeyDown = useCallback((e) => {
|
|
34
34
|
if (isOpen && (e.key === "Escape" || e.key === "Tab")) {
|
|
35
35
|
setIsOpen(false);
|
|
36
|
-
e.stopPropagation(); //
|
|
36
|
+
e.stopPropagation(); // only the calendar closes, the form stays open
|
|
37
37
|
}
|
|
38
38
|
}, [isOpen]);
|
|
39
39
|
const closeCalendarPopup = useCallback(() => setIsOpen(false), []);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessibleFieldInput.d.ts","sourceRoot":"","sources":["../../../src/DateFilter/PeriodRangePicker/AccessibleFieldInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mBAAmB,EAO3B,MAAM,OAAO,CAAC;AAMf,UAAU,0BAA2B,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC;IAC9E,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;CAClC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"AccessibleFieldInput.d.ts","sourceRoot":"","sources":["../../../src/DateFilter/PeriodRangePicker/AccessibleFieldInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mBAAmB,EAO3B,MAAM,OAAO,CAAC;AAMf,UAAU,0BAA2B,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC;IAC9E,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;CAClC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,oBAAoB,yHAmH/B,CAAC"}
|
|
@@ -81,10 +81,9 @@ export const AccessibleFieldInput = forwardRef((props, ref) => {
|
|
|
81
81
|
e.stopPropagation();
|
|
82
82
|
}
|
|
83
83
|
// rc-picker already closes its own calendar on Escape internally; without this, the event keeps
|
|
84
|
-
// bubbling up to
|
|
85
|
-
//
|
|
86
|
-
//
|
|
87
|
-
// handles natively, never also reaches that outer handler's own key routing.
|
|
84
|
+
// bubbling up to DateFilterBody, which would also step the form back to the option list. The Tab
|
|
85
|
+
// branch is a deliberate extra guard so Tab-ing between the two fields, which the browser handles
|
|
86
|
+
// natively, never also reaches the outer handlers' own key routing.
|
|
88
87
|
if (isCalendarOpen && (e.key === "Escape" || e.key === "Tab")) {
|
|
89
88
|
e.stopPropagation();
|
|
90
89
|
}
|
|
@@ -18,8 +18,6 @@ interface IDateFilterKeyboardNavigationConfig {
|
|
|
18
18
|
interface IGranularityTabsKeyboardNavigationConfig {
|
|
19
19
|
/** Reference to the granularity tabs element */
|
|
20
20
|
tabGranularityRef: MutableRefObject<HTMLDivElement | null>;
|
|
21
|
-
/** Callback to close the dropdown */
|
|
22
|
-
closeDropdown?: () => void;
|
|
23
21
|
}
|
|
24
22
|
/**
|
|
25
23
|
* Creates a keyboard event handler for the date filter component
|
|
@@ -31,11 +29,11 @@ export declare const createDateFilterKeyboardHandler: ({ dateFilterContainerRef,
|
|
|
31
29
|
/**
|
|
32
30
|
* Creates a keyboard event handler for a granularity tabs element, shared by the relative and absolute
|
|
33
31
|
* date filter forms.
|
|
34
|
-
* @param config - Configuration object containing
|
|
32
|
+
* @param config - Configuration object containing the granularity tabs ref
|
|
35
33
|
* @returns Keyboard event handler function
|
|
36
34
|
* @internal
|
|
37
35
|
*/
|
|
38
|
-
export declare const createGranularityTabsKeyboardHandler: ({ tabGranularityRef,
|
|
39
|
-
export declare const submitRelativeDateFilterForm: (event: KeyboardEvent, canSubmit: boolean, withoutApply: boolean,
|
|
36
|
+
export declare const createGranularityTabsKeyboardHandler: ({ tabGranularityRef, }: IGranularityTabsKeyboardNavigationConfig) => (event: KeyboardEvent) => void;
|
|
37
|
+
export declare const submitRelativeDateFilterForm: (event: KeyboardEvent, canSubmit: boolean, withoutApply: boolean, submit: () => void) => void;
|
|
40
38
|
export {};
|
|
41
39
|
//# sourceMappingURL=keyboardNavigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboardNavigation.d.ts","sourceRoot":"","sources":["../../../src/DateFilter/accessibility/keyboardNavigation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAYlE;;;GAGG;AACH,UAAU,mCAAmC;IACzC,qDAAqD;IACrD,sBAAsB,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAChE,gDAAgD;IAChD,iBAAiB,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC3D,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED;;;GAGG;AACH,UAAU,wCAAwC;IAC9C,gDAAgD;IAChD,iBAAiB,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"keyboardNavigation.d.ts","sourceRoot":"","sources":["../../../src/DateFilter/accessibility/keyboardNavigation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAYlE;;;GAGG;AACH,UAAU,mCAAmC;IACzC,qDAAqD;IACrD,sBAAsB,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAChE,gDAAgD;IAChD,iBAAiB,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC3D,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED;;;GAGG;AACH,UAAU,wCAAwC;IAC9C,gDAAgD;IAChD,iBAAiB,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CAC9D;AA+DD;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,iEACuB,mCAAmC,aAC1F,aAAa,KAAG,IAoDvB,CAAC;AAEN;;;;;;GAMG;AACH,eAAO,MAAM,oCAAoC,2BAE9C,wCAAwC,aACxB,aAAa,KAAG,IAwClC,CAAC;AAEF,eAAO,MAAM,4BAA4B,UAC9B,aAAa,aACT,OAAO,gBACJ,OAAO,UACb,MAAM,IAAI,SAYrB,CAAC"}
|
|
@@ -101,11 +101,11 @@ export const createDateFilterKeyboardHandler = ({ dateFilterContainerRef, dateFi
|
|
|
101
101
|
/**
|
|
102
102
|
* Creates a keyboard event handler for a granularity tabs element, shared by the relative and absolute
|
|
103
103
|
* date filter forms.
|
|
104
|
-
* @param config - Configuration object containing
|
|
104
|
+
* @param config - Configuration object containing the granularity tabs ref
|
|
105
105
|
* @returns Keyboard event handler function
|
|
106
106
|
* @internal
|
|
107
107
|
*/
|
|
108
|
-
export const createGranularityTabsKeyboardHandler = ({ tabGranularityRef,
|
|
108
|
+
export const createGranularityTabsKeyboardHandler = ({ tabGranularityRef, }) => {
|
|
109
109
|
return (event) => {
|
|
110
110
|
if (!tabGranularityRef.current) {
|
|
111
111
|
return;
|
|
@@ -138,17 +138,15 @@ export const createGranularityTabsKeyboardHandler = ({ tabGranularityRef, closeD
|
|
|
138
138
|
lastElement?.focus();
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
|
-
onClose: closeDropdown,
|
|
142
141
|
});
|
|
143
142
|
keyboardHandler(event);
|
|
144
143
|
};
|
|
145
144
|
};
|
|
146
|
-
export const submitRelativeDateFilterForm = (event, canSubmit, withoutApply,
|
|
145
|
+
export const submitRelativeDateFilterForm = (event, canSubmit, withoutApply, submit) => {
|
|
147
146
|
if (event.key === "Enter") {
|
|
148
147
|
const canSubmitForm = canSubmit && document.activeElement instanceof HTMLInputElement;
|
|
149
148
|
if (canSubmitForm && !withoutApply) {
|
|
150
149
|
submit();
|
|
151
|
-
onSubmit();
|
|
152
150
|
}
|
|
153
151
|
}
|
|
154
152
|
if (event.key !== "Escape") {
|
package/esm/sdk-ui-filters.d.ts
CHANGED
|
@@ -269,7 +269,7 @@ export declare function AttributeFilterElementsSelectError(): JSX.Element;
|
|
|
269
269
|
*
|
|
270
270
|
* @beta
|
|
271
271
|
*/
|
|
272
|
-
export declare function AttributeFilterElementsSelectItem({ item, isSelected, focusedAction, onSelect, onSelectOnly, onDeselect, primaryLabelTitle, index, }: IAttributeFilterElementsSelectItemProps): JSX.Element;
|
|
272
|
+
export declare function AttributeFilterElementsSelectItem({ item, isSelected, focusedAction, onSelect, onSelectOnly, onDeselect, primaryLabelTitle, rawValueTitle, index, }: IAttributeFilterElementsSelectItemProps): JSX.Element;
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
275
|
* Component displays loading indicator.
|
|
@@ -716,6 +716,18 @@ export declare type ElementsFilterControllerData = {
|
|
|
716
716
|
* Current search string.
|
|
717
717
|
*/
|
|
718
718
|
searchString: string;
|
|
719
|
+
/**
|
|
720
|
+
* Number format of the element values, if they have one (numeric computed attributes).
|
|
721
|
+
*
|
|
722
|
+
* @beta
|
|
723
|
+
*/
|
|
724
|
+
elementsNumberFormat?: string;
|
|
725
|
+
/**
|
|
726
|
+
* Separators the number-formatted element values are displayed with.
|
|
727
|
+
*
|
|
728
|
+
* @beta
|
|
729
|
+
*/
|
|
730
|
+
separators?: ISeparators_2;
|
|
719
731
|
/**
|
|
720
732
|
* If true, AttributeFilter is filtering elements by parent filters.
|
|
721
733
|
*/
|
|
@@ -1383,6 +1395,16 @@ export declare interface IAttributeElementLoader {
|
|
|
1383
1395
|
* Returns the current search string used to filter the attribute element loads.
|
|
1384
1396
|
*/
|
|
1385
1397
|
getSearch(): string;
|
|
1398
|
+
/**
|
|
1399
|
+
* Returns the number format of the loaded element values, if they have one.
|
|
1400
|
+
*
|
|
1401
|
+
* @remarks
|
|
1402
|
+
* Element values of numeric computed attributes carry a number format; their raw titles are displayed
|
|
1403
|
+
* formatted with it. The method is optional so that existing implementations stay valid.
|
|
1404
|
+
*
|
|
1405
|
+
* @beta
|
|
1406
|
+
*/
|
|
1407
|
+
getElementsNumberFormat?(): string | undefined;
|
|
1386
1408
|
/**
|
|
1387
1409
|
* Returns the current measures used to filter the attribute element loads.
|
|
1388
1410
|
*/
|
|
@@ -1786,6 +1808,14 @@ export declare interface IAttributeFilterCoreProps {
|
|
|
1786
1808
|
* Locale to use for localization of appearing texts.
|
|
1787
1809
|
*/
|
|
1788
1810
|
locale?: ILocale;
|
|
1811
|
+
/**
|
|
1812
|
+
* Number separators used when formatting element values of numeric computed attributes.
|
|
1813
|
+
*
|
|
1814
|
+
* @remarks
|
|
1815
|
+
* Element titles of attributes whose values carry a number format are shown formatted the same way
|
|
1816
|
+
* measures are; the separators come from the workspace settings of the hosting application.
|
|
1817
|
+
*/
|
|
1818
|
+
separators?: ISeparators_2;
|
|
1789
1819
|
/**
|
|
1790
1820
|
* If specified, these will be excluded from the elements available for selection and will also be removed from the resulting filter.
|
|
1791
1821
|
* This effectively behaves as if those elements were not part of the underlying display form.
|
|
@@ -2479,6 +2509,13 @@ export declare interface IAttributeFilterElementsSelectItemProps {
|
|
|
2479
2509
|
* @beta
|
|
2480
2510
|
*/
|
|
2481
2511
|
primaryLabelTitle?: string;
|
|
2512
|
+
/**
|
|
2513
|
+
* Raw value of a number-formatted element, when its displayed value says more than the raw value with
|
|
2514
|
+
* separators (e.g. it is rounded or scaled). Shown in the item tooltip, like the primary label value.
|
|
2515
|
+
*
|
|
2516
|
+
* @beta
|
|
2517
|
+
*/
|
|
2518
|
+
rawValueTitle?: string;
|
|
2482
2519
|
/**
|
|
2483
2520
|
* Indicates which element of the list item is focused by keyboard.
|
|
2484
2521
|
*
|
|
@@ -2816,6 +2853,14 @@ export declare interface IAttributeFilterHandlerOptionsBase {
|
|
|
2816
2853
|
* Several other behaviours are also affected by this option like dependent filters
|
|
2817
2854
|
*/
|
|
2818
2855
|
withoutApply?: boolean;
|
|
2856
|
+
/**
|
|
2857
|
+
* Number separators used when formatting element values of numeric computed attributes.
|
|
2858
|
+
*
|
|
2859
|
+
* @remarks
|
|
2860
|
+
* Element titles of attributes whose values carry a number format are shown formatted the same way
|
|
2861
|
+
* measures are; the separators come from the workspace settings of the hosting application.
|
|
2862
|
+
*/
|
|
2863
|
+
separators?: ISeparators_2;
|
|
2819
2864
|
}
|
|
2820
2865
|
|
|
2821
2866
|
/**
|
|
@@ -3736,6 +3781,11 @@ export declare interface ILoadElementsResult {
|
|
|
3736
3781
|
totalCount: number;
|
|
3737
3782
|
options: ILoadElementsOptions;
|
|
3738
3783
|
cacheId?: string;
|
|
3784
|
+
/**
|
|
3785
|
+
* Number format of the element values (numeric computed attributes), see
|
|
3786
|
+
* {@link @gooddata/sdk-backend-spi#IElementsQueryResult.numberFormat}.
|
|
3787
|
+
*/
|
|
3788
|
+
numberFormat?: string;
|
|
3739
3789
|
}
|
|
3740
3790
|
|
|
3741
3791
|
/**
|
|
@@ -4735,6 +4785,7 @@ export declare interface IUseAttributeFilterHandlerProps {
|
|
|
4735
4785
|
hiddenElements?: string[];
|
|
4736
4786
|
staticElements?: IAttributeElement[];
|
|
4737
4787
|
withoutApply?: boolean;
|
|
4788
|
+
separators?: ISeparators_2;
|
|
4738
4789
|
}
|
|
4739
4790
|
|
|
4740
4791
|
/**
|
|
@@ -5213,7 +5264,7 @@ export declare type SelectionTypeControllerData = {
|
|
|
5213
5264
|
*
|
|
5214
5265
|
* @beta
|
|
5215
5266
|
*/
|
|
5216
|
-
export declare function SingleSelectionAttributeFilterElementsSelectItem({ item, onSelectOnly, isSelected, focusedAction, fullscreenOnMobile, primaryLabelTitle, }: IAttributeFilterElementsSelectItemProps): JSX.Element;
|
|
5267
|
+
export declare function SingleSelectionAttributeFilterElementsSelectItem({ item, onSelectOnly, isSelected, focusedAction, fullscreenOnMobile, primaryLabelTitle, rawValueTitle, }: IAttributeFilterElementsSelectItemProps): JSX.Element;
|
|
5217
5268
|
|
|
5218
5269
|
/**
|
|
5219
5270
|
* A component that displays only effective parent filters.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-filters",
|
|
3
|
-
"version": "11.65.0-alpha.
|
|
3
|
+
"version": "11.65.0-alpha.10",
|
|
4
4
|
"description": "GoodData.UI SDK - Filter Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"ts-invariant": "0.10.3",
|
|
48
48
|
"tslib": "2.8.1",
|
|
49
49
|
"uuid": "11.1.1",
|
|
50
|
-
"@gooddata/sdk-backend-spi": "11.65.0-alpha.
|
|
51
|
-
"@gooddata/sdk-model": "11.65.0-alpha.
|
|
52
|
-
"@gooddata/sdk-ui": "11.65.0-alpha.
|
|
53
|
-
"@gooddata/sdk-ui-kit": "11.65.0-alpha.
|
|
54
|
-
"@gooddata/util": "11.65.0-alpha.
|
|
50
|
+
"@gooddata/sdk-backend-spi": "11.65.0-alpha.10",
|
|
51
|
+
"@gooddata/sdk-model": "11.65.0-alpha.10",
|
|
52
|
+
"@gooddata/sdk-ui": "11.65.0-alpha.10",
|
|
53
|
+
"@gooddata/sdk-ui-kit": "11.65.0-alpha.10",
|
|
54
|
+
"@gooddata/util": "11.65.0-alpha.10"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@microsoft/api-documenter": "7.30.16",
|
|
@@ -89,12 +89,12 @@
|
|
|
89
89
|
"stylelint": "16.26.1",
|
|
90
90
|
"typescript": "7.0.2",
|
|
91
91
|
"vitest": "5.0.4",
|
|
92
|
-
"@gooddata/eslint-config": "11.65.0-alpha.
|
|
93
|
-
"@gooddata/oxlint-config": "11.65.0-alpha.
|
|
94
|
-
"@gooddata/
|
|
95
|
-
"@gooddata/
|
|
96
|
-
"@gooddata/sdk-ui-theme-provider": "11.65.0-alpha.
|
|
97
|
-
"@gooddata/stylelint-config": "11.65.0-alpha.
|
|
92
|
+
"@gooddata/eslint-config": "11.65.0-alpha.10",
|
|
93
|
+
"@gooddata/oxlint-config": "11.65.0-alpha.10",
|
|
94
|
+
"@gooddata/reference-workspace": "11.65.0-alpha.10",
|
|
95
|
+
"@gooddata/sdk-backend-mockingbird": "11.65.0-alpha.10",
|
|
96
|
+
"@gooddata/sdk-ui-theme-provider": "11.65.0-alpha.10",
|
|
97
|
+
"@gooddata/stylelint-config": "11.65.0-alpha.10"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
100
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -691,7 +691,7 @@
|
|
|
691
691
|
.gd-list-actions-selection-size {
|
|
692
692
|
box-sizing: border-box;
|
|
693
693
|
margin: 1px 0 0 5px;
|
|
694
|
-
color: var(--gd-palette-complementary-7
|
|
694
|
+
color: var(--gd-palette-complementary-7);
|
|
695
695
|
}
|
|
696
696
|
|
|
697
697
|
.gd-list {
|
|
@@ -1198,7 +1198,7 @@ button.gd-list-item {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
.gd-input-field::-webkit-input-placeholder,
|
|
1200
1200
|
.input-text::-webkit-input-placeholder {
|
|
1201
|
-
color: var(--gd-palette-complementary-6-from-theme, rgba(
|
|
1201
|
+
color: var(--gd-palette-complementary-6-from-theme, rgba(106, 115, 125, 0.75));
|
|
1202
1202
|
-moz-transition-property: color;
|
|
1203
1203
|
-webkit-transition-property: color;
|
|
1204
1204
|
transition-property: color;
|
|
@@ -1211,7 +1211,7 @@ button.gd-list-item {
|
|
|
1211
1211
|
}
|
|
1212
1212
|
.gd-input-field:-moz-placeholder,
|
|
1213
1213
|
.input-text:-moz-placeholder {
|
|
1214
|
-
color: var(--gd-palette-complementary-6-from-theme, rgba(
|
|
1214
|
+
color: var(--gd-palette-complementary-6-from-theme, rgba(106, 115, 125, 0.75));
|
|
1215
1215
|
-moz-transition-property: color;
|
|
1216
1216
|
-webkit-transition-property: color;
|
|
1217
1217
|
transition-property: color;
|
|
@@ -1224,7 +1224,7 @@ button.gd-list-item {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
.gd-input-field::-moz-placeholder,
|
|
1226
1226
|
.input-text::-moz-placeholder {
|
|
1227
|
-
color: var(--gd-palette-complementary-6-from-theme, rgba(
|
|
1227
|
+
color: var(--gd-palette-complementary-6-from-theme, rgba(106, 115, 125, 0.75));
|
|
1228
1228
|
-moz-transition-property: color;
|
|
1229
1229
|
-webkit-transition-property: color;
|
|
1230
1230
|
transition-property: color;
|
|
@@ -1237,7 +1237,7 @@ button.gd-list-item {
|
|
|
1237
1237
|
}
|
|
1238
1238
|
.gd-input-field:-ms-input-placeholder,
|
|
1239
1239
|
.input-text:-ms-input-placeholder {
|
|
1240
|
-
color: var(--gd-palette-complementary-6-from-theme, rgba(
|
|
1240
|
+
color: var(--gd-palette-complementary-6-from-theme, rgba(106, 115, 125, 0.75));
|
|
1241
1241
|
-moz-transition-property: color;
|
|
1242
1242
|
-webkit-transition-property: color;
|
|
1243
1243
|
transition-property: color;
|
|
@@ -1254,19 +1254,19 @@ button.gd-list-item {
|
|
|
1254
1254
|
}
|
|
1255
1255
|
.gd-input-field:hover::-webkit-input-placeholder,
|
|
1256
1256
|
.input-text:hover::-webkit-input-placeholder {
|
|
1257
|
-
color: var(--gd-palette-complementary-7
|
|
1257
|
+
color: var(--gd-palette-complementary-7);
|
|
1258
1258
|
}
|
|
1259
1259
|
.gd-input-field:hover:-moz-placeholder,
|
|
1260
1260
|
.input-text:hover:-moz-placeholder {
|
|
1261
|
-
color: var(--gd-palette-complementary-7
|
|
1261
|
+
color: var(--gd-palette-complementary-7);
|
|
1262
1262
|
}
|
|
1263
1263
|
.gd-input-field:hover::-moz-placeholder,
|
|
1264
1264
|
.input-text:hover::-moz-placeholder {
|
|
1265
|
-
color: var(--gd-palette-complementary-7
|
|
1265
|
+
color: var(--gd-palette-complementary-7);
|
|
1266
1266
|
}
|
|
1267
1267
|
.gd-input-field:hover:-ms-input-placeholder,
|
|
1268
1268
|
.input-text:hover:-ms-input-placeholder {
|
|
1269
|
-
color: var(--gd-palette-complementary-7
|
|
1269
|
+
color: var(--gd-palette-complementary-7);
|
|
1270
1270
|
}
|
|
1271
1271
|
.gd-input-field:focus,
|
|
1272
1272
|
.input-text:focus {
|
|
@@ -1385,7 +1385,7 @@ textarea.gd-input, textarea.input-text {
|
|
|
1385
1385
|
.gd-input-icon-clear,
|
|
1386
1386
|
.searchfield-clear {
|
|
1387
1387
|
right: 10px;
|
|
1388
|
-
color: var(--gd-palette-complementary-7
|
|
1388
|
+
color: var(--gd-palette-complementary-7);
|
|
1389
1389
|
cursor: pointer;
|
|
1390
1390
|
padding: 0;
|
|
1391
1391
|
background: none;
|
|
@@ -1458,7 +1458,7 @@ textarea.gd-input, textarea.input-text {
|
|
|
1458
1458
|
flex: 0 0 auto;
|
|
1459
1459
|
margin-right: 20px;
|
|
1460
1460
|
white-space: nowrap;
|
|
1461
|
-
color: var(--gd-palette-complementary-7
|
|
1461
|
+
color: var(--gd-palette-complementary-7);
|
|
1462
1462
|
font-size: 14px;
|
|
1463
1463
|
}
|
|
1464
1464
|
|
|
@@ -2302,7 +2302,7 @@ textarea.gd-input, textarea.input-text {
|
|
|
2302
2302
|
.gd-button-link.gd-button-icon-only[class*=gd-icon-]::before, .gd-button-icon-only[class*=gd-icon-].gd-button-link-dimmed::before,
|
|
2303
2303
|
.gd-button-link.gd-button-icon-only[class*=gd-icon-] .gd-button-icon,
|
|
2304
2304
|
.gd-button-icon-only[class*=gd-icon-].gd-button-link-dimmed .gd-button-icon {
|
|
2305
|
-
color: var(--gd-palette-complementary-7
|
|
2305
|
+
color: var(--gd-palette-complementary-7);
|
|
2306
2306
|
}
|
|
2307
2307
|
.gd-button-link.gd-button-icon-only[class*=gd-icon-]:active::before, .gd-button-icon-only[class*=gd-icon-].gd-button-link-dimmed:active::before,
|
|
2308
2308
|
.gd-button-link.gd-button-icon-only[class*=gd-icon-]:active .gd-button-icon,
|
|
@@ -2343,7 +2343,7 @@ textarea.gd-input, textarea.input-text {
|
|
|
2343
2343
|
.button-dropdown:hover .gd-button-icon, .button-dropdown:active::after, .button-dropdown:active::before,
|
|
2344
2344
|
.button-dropdown:active .gd-button-icon, .button-dropdown.is-active::after, .button-dropdown.is-active::before,
|
|
2345
2345
|
.button-dropdown.is-active .gd-button-icon {
|
|
2346
|
-
color: var(--gd-palette-complementary-7
|
|
2346
|
+
color: var(--gd-palette-complementary-7);
|
|
2347
2347
|
}
|
|
2348
2348
|
|
|
2349
2349
|
/* Button sizes
|
|
@@ -3143,7 +3143,7 @@ input[type=search]::-webkit-search-cancel-button {
|
|
|
3143
3143
|
gap: 5px;
|
|
3144
3144
|
min-width: 0;
|
|
3145
3145
|
overflow: hidden;
|
|
3146
|
-
color: var(--gd-palette-complementary-7
|
|
3146
|
+
color: var(--gd-palette-complementary-7);
|
|
3147
3147
|
font-size: 11px;
|
|
3148
3148
|
font-weight: 800;
|
|
3149
3149
|
text-transform: uppercase;
|
|
@@ -3401,7 +3401,7 @@ input[type=search]::-webkit-search-cancel-button {
|
|
|
3401
3401
|
|
|
3402
3402
|
.gd-ui-kit-control-button__title {
|
|
3403
3403
|
overflow: hidden;
|
|
3404
|
-
color: var(--gd-palette-complementary-7
|
|
3404
|
+
color: var(--gd-palette-complementary-7);
|
|
3405
3405
|
margin-right: auto;
|
|
3406
3406
|
max-width: 100%;
|
|
3407
3407
|
white-space: nowrap;
|
|
@@ -3822,7 +3822,7 @@ input[type=search]::-webkit-search-cancel-button {
|
|
|
3822
3822
|
margin: 0 0 0 5px;
|
|
3823
3823
|
flex-grow: 0;
|
|
3824
3824
|
flex-shrink: 0;
|
|
3825
|
-
color: var(--gd-palette-complementary-7
|
|
3825
|
+
color: var(--gd-palette-complementary-7);
|
|
3826
3826
|
}
|
|
3827
3827
|
.gd-async-list .gd-attribute-filter-elements-select-item__next.gd-list-item:hover {
|
|
3828
3828
|
background-color: var(--gd-palette-complementary-2, #ebeff4);
|
|
@@ -4141,7 +4141,7 @@ div.gd-empty-item-bubble {
|
|
|
4141
4141
|
.gd-text-filter-body__label {
|
|
4142
4142
|
font-size: 12px;
|
|
4143
4143
|
font-weight: 400;
|
|
4144
|
-
color: var(--gd-palette-complementary-7
|
|
4144
|
+
color: var(--gd-palette-complementary-7);
|
|
4145
4145
|
}
|
|
4146
4146
|
.gd-text-filter-body__label-with-help {
|
|
4147
4147
|
display: inline-flex;
|
|
@@ -4589,7 +4589,7 @@ div.gd-empty-item-bubble {
|
|
|
4589
4589
|
margin: 0;
|
|
4590
4590
|
font-size: 12px;
|
|
4591
4591
|
line-height: 1.4;
|
|
4592
|
-
color: var(--gd-palette-complementary-7
|
|
4592
|
+
color: var(--gd-palette-complementary-7);
|
|
4593
4593
|
font-family: var(--gd-font-family, gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif);
|
|
4594
4594
|
}
|
|
4595
4595
|
|
|
@@ -4640,7 +4640,7 @@ div.gd-empty-item-bubble {
|
|
|
4640
4640
|
.gd-attribute-filter-details-bubble__loading {
|
|
4641
4641
|
margin: 0;
|
|
4642
4642
|
font-size: 12px;
|
|
4643
|
-
color: var(--gd-palette-complementary-7
|
|
4643
|
+
color: var(--gd-palette-complementary-7);
|
|
4644
4644
|
}
|
|
4645
4645
|
|
|
4646
4646
|
.gd-attribute-filter-details-bubble__error {
|
|
@@ -4797,7 +4797,7 @@ div.gd-empty-item-bubble {
|
|
|
4797
4797
|
|
|
4798
4798
|
.button-title {
|
|
4799
4799
|
overflow: hidden;
|
|
4800
|
-
color: var(--gd-palette-complementary-7
|
|
4800
|
+
color: var(--gd-palette-complementary-7);
|
|
4801
4801
|
}
|
|
4802
4802
|
.button-title .gd-bubble-trigger,
|
|
4803
4803
|
.button-title .shortened {
|
|
@@ -4810,7 +4810,7 @@ div.gd-empty-item-bubble {
|
|
|
4810
4810
|
flex: 0 0 auto;
|
|
4811
4811
|
max-width: 100%;
|
|
4812
4812
|
margin-right: 5px;
|
|
4813
|
-
color: var(--gd-palette-complementary-7
|
|
4813
|
+
color: var(--gd-palette-complementary-7);
|
|
4814
4814
|
}
|
|
4815
4815
|
.overlay .button-title::after {
|
|
4816
4816
|
content: ":";
|