@gooddata/sdk-ui-kit 11.13.0-alpha.0 → 11.13.0-alpha.2
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/@ui/@dev/ComponentTable.d.ts +2 -2
- package/esm/@ui/@dev/ComponentTable.d.ts.map +1 -1
- package/esm/@ui/@utils/keyboardNavigation.d.ts +47 -47
- package/esm/@ui/@utils/keyboardNavigation.d.ts.map +1 -1
- package/esm/@ui/@utils/useKeyboardNavigationTarget.js +1 -1
- package/esm/@ui/@utils/useKeyboardNavigationTarget.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js +15 -8
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.js +4 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.js +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBulkActions.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableCheckbox.js +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableCheckbox.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.d.ts +1 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.js +6 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.js +6 -5
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.js +6 -6
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableIconRenderer.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableIconRenderer.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.js +25 -11
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.js +3 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/WithConditionalAnchor.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/WithConditionalAnchor.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/useAsyncTableResponsiveColumns.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/useAsyncTableResponsiveColumns.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/useAsyncTableResponsiveColumns.js.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.d.ts +2 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.js +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.js.map +1 -1
- package/esm/@ui/UiAsyncTable/types.d.ts +3 -0
- package/esm/@ui/UiAsyncTable/types.d.ts.map +1 -1
- package/esm/@ui/UiBadge/UiBadge.d.ts +0 -1
- package/esm/@ui/UiBadge/UiBadge.d.ts.map +1 -1
- package/esm/@ui/UiBadge/UiBadge.js +0 -1
- package/esm/@ui/UiBadge/UiBadge.js.map +1 -1
- package/esm/@ui/UiButton/UiButton.d.ts.map +1 -1
- package/esm/@ui/UiButton/UiButton.js +9 -2
- package/esm/@ui/UiButton/UiButton.js.map +1 -1
- package/esm/@ui/UiCheckbox/UiCheckbox.d.ts.map +1 -1
- package/esm/@ui/UiCheckbox/UiCheckbox.js +1 -1
- package/esm/@ui/UiCheckbox/UiCheckbox.js.map +1 -1
- package/esm/@ui/UiDrawer/UiDrawer.d.ts +1 -1
- package/esm/@ui/UiDrawer/UiDrawer.d.ts.map +1 -1
- package/esm/@ui/UiDrawer/UiDrawer.js +1 -1
- package/esm/@ui/UiDrawer/UiDrawer.js.map +1 -1
- package/esm/@ui/UiFocusManager/UiAutofocus.js.map +1 -1
- package/esm/@ui/UiFocusManager/UiFocusManager.js +1 -1
- package/esm/@ui/UiFocusManager/UiFocusManager.js.map +1 -1
- package/esm/@ui/UiFocusManager/UiFocusTrap.js +1 -1
- package/esm/@ui/UiFocusManager/UiFocusTrap.js.map +1 -1
- package/esm/@ui/UiFocusManager/UiReturnFocusOnUnmount.d.ts +1 -1
- package/esm/@ui/UiFocusManager/UiReturnFocusOnUnmount.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/utils.d.ts +2 -2
- package/esm/@ui/UiFocusManager/utils.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/utils.js.map +1 -1
- package/esm/@ui/UiIcon/UiIcon.js +1 -1
- package/esm/@ui/UiIcon/UiIcon.js.map +1 -1
- package/esm/@ui/UiIcon/UiIconBackground.d.ts +1 -1
- package/esm/@ui/UiIcon/UiIconBackground.d.ts.map +1 -1
- package/esm/@ui/UiIcon/UiIconBackground.js +1 -1
- package/esm/@ui/UiIcon/UiIconBackground.js.map +1 -1
- package/esm/@ui/UiIconButton/UiIconButtonRenderer.js +2 -2
- package/esm/@ui/UiIconButton/UiIconButtonRenderer.js.map +1 -1
- package/esm/@ui/UiMenu/UiMenu.d.ts.map +1 -1
- package/esm/@ui/UiMenu/UiMenu.js +1 -1
- package/esm/@ui/UiMenu/UiMenu.js.map +1 -1
- package/esm/@ui/UiMenu/components/Item.d.ts +1 -1
- package/esm/@ui/UiMenu/components/Item.d.ts.map +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuContent.js +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuContent.js.map +1 -1
- package/esm/@ui/UiMenu/context.d.ts.map +1 -1
- package/esm/@ui/UiMenu/context.js +2 -1
- package/esm/@ui/UiMenu/context.js.map +1 -1
- package/esm/@ui/UiMenu/hooks.js +3 -3
- package/esm/@ui/UiMenu/hooks.js.map +1 -1
- package/esm/@ui/UiMenu/itemUtils.js +1 -1
- package/esm/@ui/UiMenu/itemUtils.js.map +1 -1
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js +2 -2
- package/esm/@ui/UiPagedVirtualList/UiPagedVirtualList.js.map +1 -1
- package/esm/@ui/UiPaginationButton/UiPaginationButton.d.ts +85 -0
- package/esm/@ui/UiPaginationButton/UiPaginationButton.d.ts.map +1 -0
- package/esm/@ui/UiPaginationButton/UiPaginationButton.js +28 -0
- package/esm/@ui/UiPaginationButton/UiPaginationButton.js.map +1 -0
- package/esm/@ui/UiTabs/context.d.ts.map +1 -1
- package/esm/@ui/UiTabs/context.js.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabs.d.ts +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabs.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabs.js +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabs.js.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabsButton.d.ts +1 -2
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabsButton.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabsButton.js.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsContainer.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsContainer.js +6 -2
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsContainer.js.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTab.js +2 -2
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTab.js.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActions.d.ts +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActions.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActions.js +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActions.js.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActionsButton.d.ts +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActionsButton.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActionsButton.js +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActionsButton.js.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabValue.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabValue.js +4 -2
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabValue.js.map +1 -1
- package/esm/@ui/UiTag/UiTag.js +1 -1
- package/esm/@ui/UiTag/UiTag.js.map +1 -1
- package/esm/@ui/UiTags/UiTag.js +1 -1
- package/esm/@ui/UiTags/UiTag.js.map +1 -1
- package/esm/@ui/UiTags/UiTags.d.ts.map +1 -1
- package/esm/@ui/UiTags/UiTags.js +1 -1
- package/esm/@ui/UiTags/UiTags.js.map +1 -1
- package/esm/@ui/UiTags/hooks/useResponsiveTags.d.ts +7 -7
- package/esm/@ui/UiTags/hooks/useResponsiveTags.d.ts.map +1 -1
- package/esm/@ui/UiTags/hooks/useResponsiveTags.js +11 -3
- package/esm/@ui/UiTags/hooks/useResponsiveTags.js.map +1 -1
- package/esm/@ui/UiTags/hooks/useTagsElements.d.ts +8 -8
- package/esm/@ui/UiTags/hooks/useTagsElements.d.ts.map +1 -1
- package/esm/@ui/UiTags/hooks/useTagsElements.js.map +1 -1
- package/esm/@ui/UiTags/interactions.js +3 -3
- package/esm/@ui/UiTags/interactions.js.map +1 -1
- package/esm/@ui/UiTooltip/utils.js +1 -1
- package/esm/@ui/UiTooltip/utils.js.map +1 -1
- package/esm/@ui/UiTreeview/UITreeviewItem.js +1 -1
- package/esm/@ui/UiTreeview/UITreeviewItem.js.map +1 -1
- package/esm/@ui/UiTreeview/UiTreeview.d.ts.map +1 -1
- package/esm/@ui/UiTreeview/UiTreeview.js +15 -13
- package/esm/@ui/UiTreeview/UiTreeview.js.map +1 -1
- package/esm/@ui/UiTreeview/UiTreeviewRoot.d.ts +4 -2
- package/esm/@ui/UiTreeview/UiTreeviewRoot.d.ts.map +1 -1
- package/esm/@ui/UiTreeview/UiTreeviewRoot.js +3 -3
- package/esm/@ui/UiTreeview/UiTreeviewRoot.js.map +1 -1
- package/esm/@ui/UiTreeview/defaults/DefaultUiTreeViewItemComponent.js +2 -2
- package/esm/@ui/UiTreeview/defaults/DefaultUiTreeViewItemComponent.js.map +1 -1
- package/esm/@ui/UiTreeview/types.d.ts +4 -4
- package/esm/@ui/UiTreeview/types.d.ts.map +1 -1
- package/esm/@ui/UiTreeview/utils.d.ts +4 -4
- package/esm/@ui/UiTreeview/utils.d.ts.map +1 -1
- package/esm/@ui/UiTreeview/utils.js +3 -3
- package/esm/@ui/UiTreeview/utils.js.map +1 -1
- package/esm/@ui/hooks/useElementSize.d.ts +1 -1
- package/esm/@ui/hooks/useFocusWithinContainer.d.ts +1 -1
- package/esm/@ui/hooks/useListWithActionsKeyboardNavigation.d.ts +2 -2
- package/esm/@ui/hooks/useScopedId.d.ts +1 -1
- package/esm/@ui/hooks/useScopedId.d.ts.map +1 -1
- package/esm/AutoSize/AutoSize.d.ts.map +1 -1
- package/esm/AutoSize/AutoSize.js +3 -0
- package/esm/AutoSize/AutoSize.js.map +1 -1
- package/esm/Bubble/Bubble.d.ts.map +1 -1
- package/esm/Bubble/Bubble.js +4 -3
- package/esm/Bubble/Bubble.js.map +1 -1
- package/esm/Bubble/BubbleHoverTrigger.d.ts.map +1 -1
- package/esm/Bubble/BubbleHoverTrigger.js +1 -1
- package/esm/Bubble/BubbleHoverTrigger.js.map +1 -1
- package/esm/Bubble/BubbleTrigger.js.map +1 -1
- package/esm/Button/Button.js +1 -1
- package/esm/Button/Button.js.map +1 -1
- package/esm/ChartSorting/AttributeDropdown/AttributeDropdown.d.ts.map +1 -1
- package/esm/ChartSorting/AttributeDropdown/AttributeDropdown.js +12 -7
- package/esm/ChartSorting/AttributeDropdown/AttributeDropdown.js.map +1 -1
- package/esm/ChartSorting/ChartSorting.d.ts +0 -4
- package/esm/ChartSorting/ChartSorting.d.ts.map +1 -1
- package/esm/ChartSorting/ChartSorting.js +1 -4
- package/esm/ChartSorting/ChartSorting.js.map +1 -1
- package/esm/ChartSorting/MeasureDropdown/MeasureDropdown.d.ts.map +1 -1
- package/esm/ChartSorting/MeasureDropdown/MeasureDropdown.js +17 -10
- package/esm/ChartSorting/MeasureDropdown/MeasureDropdown.js.map +1 -1
- package/esm/ColorPicker/ColorPicker.d.ts +1 -4
- package/esm/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/esm/ColorPicker/ColorPicker.js +6 -7
- package/esm/ColorPicker/ColorPicker.js.map +1 -1
- package/esm/ColorPicker/components/HexColorInput.d.ts.map +1 -1
- package/esm/ColorPicker/components/HexColorInput.js +3 -2
- package/esm/ColorPicker/components/HexColorInput.js.map +1 -1
- package/esm/ColorPicker/components/HueColorPicker.d.ts.map +1 -1
- package/esm/ColorPicker/components/HueColorPicker.js +3 -0
- package/esm/ColorPicker/components/HueColorPicker.js.map +1 -1
- package/esm/ColorPicker/utils.d.ts +2 -1
- package/esm/ColorPicker/utils.d.ts.map +1 -1
- package/esm/ColorPicker/utils.js +2 -2
- package/esm/ColorPicker/utils.js.map +1 -1
- package/esm/DateDatasets/dateDatasets.d.ts +1 -1
- package/esm/DateDatasets/dateDatasets.d.ts.map +1 -1
- package/esm/DateDatasets/dateDatasets.js +5 -5
- package/esm/DateDatasets/dateDatasets.js.map +1 -1
- package/esm/Datepicker/Datepicker.d.ts.map +1 -1
- package/esm/Datepicker/Datepicker.js +25 -20
- package/esm/Datepicker/Datepicker.js.map +1 -1
- package/esm/DescriptionPanel/DescriptionPanel.js +1 -1
- package/esm/DescriptionPanel/DescriptionPanel.js.map +1 -1
- package/esm/Dialog/DialogCloseButton.d.ts +4 -0
- package/esm/Dialog/DialogCloseButton.d.ts.map +1 -1
- package/esm/Dialog/DialogCloseButton.js +9 -2
- package/esm/Dialog/DialogCloseButton.js.map +1 -1
- package/esm/Dialog/DialogList/DialogListEmpty.d.ts +1 -1
- package/esm/Dialog/DialogList/DialogListEmpty.d.ts.map +1 -1
- package/esm/Dialog/DialogList/DialogListEmpty.js.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/EmbedInsightDialogBase.js +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/EmbedInsightDialogBase.js.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/LocaleSetting.d.ts +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/LocaleSetting.d.ts.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/PrepareEnvMessage.d.ts +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/PrepareEnvMessage.d.ts.map +1 -1
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.d.ts.map +1 -1
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.js +4 -2
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialog.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeBase.js +2 -2
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeBase.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeSelect.js +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeSelect.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AdminInformationMessage.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AdminInformationMessage.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AsyncSelectComponents.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AsyncSelectComponents.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ComponentInteractionContext.js +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ComponentInteractionContext.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranteeItem.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranteeItem.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranteeList.js +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranteeList.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeGroupItem.d.ts +2 -2
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeGroupItem.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeGroupItem.js +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeGroupItem.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeUserItem.d.ts +2 -2
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeUserItem.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeUserItem.js +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeUserItem.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularPermissionsDropdownBody.js +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularPermissionsDropdownBody.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareDialogBase.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeBase.js +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeBase.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeContent.js +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeContent.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/SharedObjectCheckboxControl.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/SharedObjectCheckboxControl.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/useShareDialogBase.d.ts +3 -3
- package/esm/Dialog/ShareDialog/ShareDialogBase/useShareDialogBase.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/useShareDialogBase.js +2 -2
- package/esm/Dialog/ShareDialog/ShareDialogBase/useShareDialogBase.js.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/utils.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/utils.js +3 -3
- package/esm/Dialog/ShareDialog/ShareDialogBase/utils.js.map +1 -1
- package/esm/Dialog/ShareDialog/shareDialogMappers.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/shareDialogMappers.js +4 -3
- package/esm/Dialog/ShareDialog/shareDialogMappers.js.map +1 -1
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.js +12 -10
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.js.map +1 -1
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.js +1 -1
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.js.map +1 -1
- package/esm/DocumentHeader/DocumentHeader.d.ts +1 -1
- package/esm/DocumentHeader/DocumentHeader.d.ts.map +1 -1
- package/esm/DocumentHeader/DocumentHeader.js +1 -1
- package/esm/DocumentHeader/DocumentHeader.js.map +1 -1
- package/esm/DocumentHeader/index.d.ts +1 -1
- package/esm/DocumentHeader/index.d.ts.map +1 -1
- package/esm/DocumentHeader/index.js +2 -1
- package/esm/DocumentHeader/index.js.map +1 -1
- package/esm/Dropdown/DropdownInvertableSelect.js.map +1 -1
- package/esm/Dropdown/DropdownList.d.ts.map +1 -1
- package/esm/Dropdown/DropdownList.js +3 -3
- package/esm/Dropdown/DropdownList.js.map +1 -1
- package/esm/EditableLabel/EditableLabel.d.ts.map +1 -1
- package/esm/EditableLabel/EditableLabel.js +9 -4
- package/esm/EditableLabel/EditableLabel.js.map +1 -1
- package/esm/FilterLabel/FilterLabel.d.ts +1 -4
- package/esm/FilterLabel/FilterLabel.d.ts.map +1 -1
- package/esm/FilterLabel/FilterLabel.js +8 -8
- package/esm/FilterLabel/FilterLabel.js.map +1 -1
- package/esm/FlexDimensions/FlexDimensions.d.ts.map +1 -1
- package/esm/FlexDimensions/FlexDimensions.js +3 -0
- package/esm/FlexDimensions/FlexDimensions.js.map +1 -1
- package/esm/Form/Input.d.ts +1 -1
- package/esm/Form/Input.d.ts.map +1 -1
- package/esm/Form/Input.js +4 -4
- package/esm/Form/Input.js.map +1 -1
- package/esm/Form/InputPure.d.ts +1 -1
- package/esm/Form/InputPure.d.ts.map +1 -1
- package/esm/Form/InputPure.js +9 -9
- package/esm/Form/InputPure.js.map +1 -1
- package/esm/Form/InputWithNumberFormat.d.ts +2 -39
- package/esm/Form/InputWithNumberFormat.d.ts.map +1 -1
- package/esm/Form/InputWithNumberFormat.js +37 -52
- package/esm/Form/InputWithNumberFormat.js.map +1 -1
- package/esm/Form/focus.js +2 -2
- package/esm/Form/focus.js.map +1 -1
- package/esm/Header/Header.d.ts +1 -2
- package/esm/Header/Header.d.ts.map +1 -1
- package/esm/Header/Header.js +18 -18
- package/esm/Header/Header.js.map +1 -1
- package/esm/Header/HeaderDataMenu.d.ts +0 -1
- package/esm/Header/HeaderDataMenu.d.ts.map +1 -1
- package/esm/Header/HeaderDataMenu.js +1 -1
- package/esm/Header/HeaderDataMenu.js.map +1 -1
- package/esm/Header/HeaderHelp.d.ts +0 -1
- package/esm/Header/HeaderHelp.d.ts.map +1 -1
- package/esm/Header/HeaderHelp.js +5 -3
- package/esm/Header/HeaderHelp.js.map +1 -1
- package/esm/Header/HeaderMenu.d.ts +1 -2
- package/esm/Header/HeaderMenu.d.ts.map +1 -1
- package/esm/Header/HeaderMenu.js +4 -4
- package/esm/Header/HeaderMenu.js.map +1 -1
- package/esm/Header/HeaderWorkspacePicker.d.ts +0 -1
- package/esm/Header/HeaderWorkspacePicker.d.ts.map +1 -1
- package/esm/Header/HeaderWorkspacePicker.js +2 -2
- package/esm/Header/HeaderWorkspacePicker.js.map +1 -1
- package/esm/Header/HeaderWorkspacePickerItem.d.ts +0 -1
- package/esm/Header/HeaderWorkspacePickerItem.d.ts.map +1 -1
- package/esm/Header/HeaderWorkspacePickerItem.js +1 -1
- package/esm/Header/HeaderWorkspacePickerItem.js.map +1 -1
- package/esm/Header/addCssToStylesheet.js +1 -1
- package/esm/Header/addCssToStylesheet.js.map +1 -1
- package/esm/Header/colors.d.ts.map +1 -1
- package/esm/Header/colors.js +2 -2
- package/esm/Header/colors.js.map +1 -1
- package/esm/Header/generateHeaderMenuItemsGroups.d.ts.map +1 -1
- package/esm/Header/generateHeaderMenuItemsGroups.js +2 -2
- package/esm/Header/generateHeaderMenuItemsGroups.js.map +1 -1
- package/esm/List/DateDatasetsListItem.js +2 -2
- package/esm/List/DateDatasetsListItem.js.map +1 -1
- package/esm/List/InsightListItem.d.ts +1 -4
- package/esm/List/InsightListItem.d.ts.map +1 -1
- package/esm/List/InsightListItem.js +7 -8
- package/esm/List/InsightListItem.js.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelect.js +7 -7
- package/esm/List/InvertableSelect/InvertableSelect.js.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectAllCheckbox.d.ts +1 -1
- package/esm/List/InvertableSelect/InvertableSelectAllCheckbox.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectAllCheckbox.js +1 -1
- package/esm/List/InvertableSelect/InvertableSelectAllCheckbox.js.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectItem.js +1 -1
- package/esm/List/InvertableSelect/InvertableSelectItem.js.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectSearchBar.js.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.js +19 -13
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.js.map +1 -1
- package/esm/List/InvertableSelect/useInvertableSelect.d.ts.map +1 -1
- package/esm/List/InvertableSelect/useInvertableSelect.js +3 -3
- package/esm/List/InvertableSelect/useInvertableSelect.js.map +1 -1
- package/esm/List/LegacyInvertableList.d.ts +0 -1
- package/esm/List/LegacyInvertableList.d.ts.map +1 -1
- package/esm/List/LegacyInvertableList.js +3 -4
- package/esm/List/LegacyInvertableList.js.map +1 -1
- package/esm/List/LegacyList.d.ts.map +1 -1
- package/esm/List/LegacyList.js.map +1 -1
- package/esm/List/LegacyMultiSelectList.d.ts +1 -2
- package/esm/List/LegacyMultiSelectList.d.ts.map +1 -1
- package/esm/List/LegacyMultiSelectList.js +7 -12
- package/esm/List/LegacyMultiSelectList.js.map +1 -1
- package/esm/List/LegacyMultiSelectListItem.d.ts +0 -6
- package/esm/List/LegacyMultiSelectListItem.d.ts.map +1 -1
- package/esm/List/LegacyMultiSelectListItem.js +1 -2
- package/esm/List/LegacyMultiSelectListItem.js.map +1 -1
- package/esm/List/LegacySingleSelectList.js.map +1 -1
- package/esm/List/List.d.ts.map +1 -1
- package/esm/List/List.js.map +1 -1
- package/esm/List/ListItem.js +1 -1
- package/esm/List/ListItem.js.map +1 -1
- package/esm/List/MenuList.d.ts +2 -2
- package/esm/List/MenuList.d.ts.map +1 -1
- package/esm/List/MenuList.js.map +1 -1
- package/esm/List/MultiSelectList.d.ts +1 -5
- package/esm/List/MultiSelectList.d.ts.map +1 -1
- package/esm/List/MultiSelectList.js +23 -22
- package/esm/List/MultiSelectList.js.map +1 -1
- package/esm/List/MultiSelectListItem.js +1 -1
- package/esm/List/MultiSelectListItem.js.map +1 -1
- package/esm/List/guid.js.map +1 -1
- package/esm/List/index.d.ts +2 -2
- package/esm/List/index.d.ts.map +1 -1
- package/esm/List/index.js +2 -2
- package/esm/List/index.js.map +1 -1
- package/esm/Menu/menuOpener/MenuOpenedByClick.d.ts.map +1 -1
- package/esm/Menu/menuOpener/MenuOpenedByClick.js +1 -1
- package/esm/Menu/menuOpener/MenuOpenedByClick.js.map +1 -1
- package/esm/Menu/menuOpener/MenuOpener.d.ts.map +1 -1
- package/esm/Menu/menuOpener/MenuOpener.js +2 -0
- package/esm/Menu/menuOpener/MenuOpener.js.map +1 -1
- package/esm/Menu/utils/OutsideClickHandler.d.ts +1 -1
- package/esm/Menu/utils/OutsideClickHandler.d.ts.map +1 -1
- package/esm/Messages/toasts/NonContextToastsInterop.js +1 -1
- package/esm/Messages/toasts/NonContextToastsInterop.js.map +1 -1
- package/esm/Messages/toasts/ToastsCenter.d.ts +1 -1
- package/esm/Messages/toasts/ToastsCenter.d.ts.map +1 -1
- package/esm/Messages/toasts/ToastsCenter.js.map +1 -1
- package/esm/Messages/toasts/ToastsCenterMessage.d.ts +2 -2
- package/esm/Messages/toasts/ToastsCenterMessage.d.ts.map +1 -1
- package/esm/Overlay/ErrorOverlay.d.ts.map +1 -1
- package/esm/Overlay/ErrorOverlay.js +4 -4
- package/esm/Overlay/ErrorOverlay.js.map +1 -1
- package/esm/Overlay/FullScreenOverlay.js +2 -2
- package/esm/Overlay/FullScreenOverlay.js.map +1 -1
- package/esm/Overlay/Overlay.d.ts +1 -1
- package/esm/Overlay/Overlay.d.ts.map +1 -1
- package/esm/Overlay/Overlay.js +23 -21
- package/esm/Overlay/Overlay.js.map +1 -1
- package/esm/Overlay/OverlayContext.d.ts +2 -2
- package/esm/Overlay/OverlayContext.d.ts.map +1 -1
- package/esm/Overlay/typings.d.ts +2 -2
- package/esm/Overlay/typings.d.ts.map +1 -1
- package/esm/RecurrenceForm/CronExpressionSuggestion.d.ts +1 -1
- package/esm/RecurrenceForm/CronExpressionSuggestion.d.ts.map +1 -1
- package/esm/RecurrenceForm/DateTime.js +4 -4
- package/esm/RecurrenceForm/DateTime.js.map +1 -1
- package/esm/RecurrenceForm/Recurrence.js +2 -2
- package/esm/RecurrenceForm/Recurrence.js.map +1 -1
- package/esm/RecurrenceForm/RecurrenceForm.d.ts.map +1 -1
- package/esm/RecurrenceForm/RecurrenceForm.js +4 -3
- package/esm/RecurrenceForm/RecurrenceForm.js.map +1 -1
- package/esm/RecurrenceForm/RepeatTypeDescription.d.ts.map +1 -1
- package/esm/RecurrenceForm/RepeatTypeDescription.js +1 -1
- package/esm/RecurrenceForm/RepeatTypeDescription.js.map +1 -1
- package/esm/RecurrenceForm/RepeatTypeSelect.js.map +1 -1
- package/esm/RecurrenceForm/utils/simpleRecurrenceTypeMappingFn.d.ts.map +1 -1
- package/esm/RecurrenceForm/utils/simpleRecurrenceTypeMappingFn.js +3 -2
- package/esm/RecurrenceForm/utils/simpleRecurrenceTypeMappingFn.js.map +1 -1
- package/esm/RecurrenceForm/utils/utils.d.ts +1 -1
- package/esm/RecurrenceForm/utils/utils.d.ts.map +1 -1
- package/esm/RecurrenceForm/utils/utils.js +15 -15
- package/esm/RecurrenceForm/utils/utils.js.map +1 -1
- package/esm/RecurrenceForm/utils/utils.test.js +7 -7
- package/esm/RecurrenceForm/utils/utils.test.js.map +1 -1
- package/esm/RichText/RichText.d.ts.map +1 -1
- package/esm/RichText/RichText.js +5 -2
- package/esm/RichText/RichText.js.map +1 -1
- package/esm/RichText/helpers/references.js +1 -1
- package/esm/RichText/helpers/references.js.map +1 -1
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.d.ts +1 -1
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.js +2 -2
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.js.map +1 -1
- package/esm/RichText/hooks/useEvaluatedReferences.d.ts +1 -1
- package/esm/RichText/plugins/rehype-references.js +1 -1
- package/esm/RichText/plugins/rehype-references.js.map +1 -1
- package/esm/RichText/plugins/remark-references.d.ts.map +1 -1
- package/esm/RichText/plugins/remark-references.js +2 -1
- package/esm/RichText/plugins/remark-references.js.map +1 -1
- package/esm/ScrollGradient/ScrollGradient.d.ts.map +1 -1
- package/esm/ScrollGradient/ScrollGradient.js +0 -1
- package/esm/ScrollGradient/ScrollGradient.js.map +1 -1
- package/esm/ScrollablePanel/ScrollableItem.d.ts.map +1 -1
- package/esm/ScrollablePanel/ScrollableItem.js +3 -1
- package/esm/ScrollablePanel/ScrollableItem.js.map +1 -1
- package/esm/ScrollablePanel/ScrollablePanel.d.ts +1 -1
- package/esm/ScrollablePanel/ScrollablePanel.d.ts.map +1 -1
- package/esm/ScrollablePanel/ScrollablePanel.js +1 -1
- package/esm/ScrollablePanel/ScrollablePanel.js.map +1 -1
- package/esm/SettingItem/SettingItem.d.ts.map +1 -1
- package/esm/SettingItem/SettingItem.js +1 -1
- package/esm/SettingItem/SettingItem.js.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingBody.d.ts +4 -4
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingBody.d.ts.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingBody.js +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingBody.js.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingList.d.ts +2 -2
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingList.d.ts.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingList.js +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingList.js.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingListItem.d.ts +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingListItem.d.ts.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingListItem.js +5 -3
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingListItem.js.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingWidget.d.ts +2 -2
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingWidget.d.ts.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingWidget.js +3 -3
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingWidget.js.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/utils.d.ts.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/utils.js +12 -8
- package/esm/SettingWidget/StylingSettingWidget/utils.js.map +1 -1
- package/esm/ShortenedText/ShortenedText.d.ts +1 -1
- package/esm/ShortenedText/ShortenedText.d.ts.map +1 -1
- package/esm/ShortenedText/ShortenedText.js.map +1 -1
- package/esm/Tabs/Tabs.d.ts.map +1 -1
- package/esm/Tabs/Tabs.js +1 -1
- package/esm/Tabs/Tabs.js.map +1 -1
- package/esm/TextAreaWithSubmit/TextAreaWithSubmit.d.ts.map +1 -1
- package/esm/TextAreaWithSubmit/TextAreaWithSubmit.js +2 -2
- package/esm/TextAreaWithSubmit/TextAreaWithSubmit.js.map +1 -1
- package/esm/Timepicker/Timepicker.d.ts.map +1 -1
- package/esm/Timepicker/Timepicker.js +3 -0
- package/esm/Timepicker/Timepicker.js.map +1 -1
- package/esm/index.d.ts +2 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/measureNumberFormat/MeasureNumberFormat.d.ts +1 -2
- package/esm/measureNumberFormat/MeasureNumberFormat.d.ts.map +1 -1
- package/esm/measureNumberFormat/MeasureNumberFormat.js +8 -8
- package/esm/measureNumberFormat/MeasureNumberFormat.js.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/CustomFormatDialog.js +4 -4
- package/esm/measureNumberFormat/customFormatDialog/CustomFormatDialog.js.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/DocumentationLink.d.ts +3 -7
- package/esm/measureNumberFormat/customFormatDialog/DocumentationLink.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/DocumentationLink.js +2 -3
- package/esm/measureNumberFormat/customFormatDialog/DocumentationLink.js.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.d.ts +3 -7
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.js +4 -5
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.js.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.d.ts +2 -2
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.js +2 -3
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.js.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.d.ts +2 -2
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.js +1 -2
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.js.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.js +2 -2
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.js.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.js +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.js.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/Preview.d.ts +2 -7
- package/esm/measureNumberFormat/customFormatDialog/previewSection/Preview.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/Preview.js +4 -4
- package/esm/measureNumberFormat/customFormatDialog/previewSection/Preview.js.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/shared/FormattedPreview.js +2 -2
- package/esm/measureNumberFormat/customFormatDialog/shared/FormattedPreview.js.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/shared/PreviewRows.d.ts +1 -2
- package/esm/measureNumberFormat/customFormatDialog/shared/PreviewRows.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/shared/PreviewRows.js +1 -2
- package/esm/measureNumberFormat/customFormatDialog/shared/PreviewRows.js.map +1 -1
- package/esm/measureNumberFormat/hooks/useCurrencyFormatDefaults.d.ts +21 -0
- package/esm/measureNumberFormat/hooks/useCurrencyFormatDefaults.d.ts.map +1 -0
- package/esm/measureNumberFormat/hooks/useCurrencyFormatDefaults.js +49 -0
- package/esm/measureNumberFormat/hooks/useCurrencyFormatDefaults.js.map +1 -0
- package/esm/measureNumberFormat/index.d.ts +4 -0
- package/esm/measureNumberFormat/index.d.ts.map +1 -1
- package/esm/measureNumberFormat/index.js +4 -1
- package/esm/measureNumberFormat/index.js.map +1 -1
- package/esm/measureNumberFormat/presets/currencyPresets.d.ts +28 -0
- package/esm/measureNumberFormat/presets/currencyPresets.d.ts.map +1 -0
- package/esm/measureNumberFormat/presets/currencyPresets.js +42 -0
- package/esm/measureNumberFormat/presets/currencyPresets.js.map +1 -0
- package/esm/measureNumberFormat/validation/currencyFormatValidator.d.ts +55 -0
- package/esm/measureNumberFormat/validation/currencyFormatValidator.d.ts.map +1 -0
- package/esm/measureNumberFormat/validation/currencyFormatValidator.js +118 -0
- package/esm/measureNumberFormat/validation/currencyFormatValidator.js.map +1 -0
- package/esm/sdk-ui-kit.d.ts +273 -121
- package/esm/syntaxHighlightingInput/hooks/useAutocompletion.d.ts +2 -2
- package/esm/syntaxHighlightingInput/hooks/useAutocompletion.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useAutocompletion.js.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useChangeHandler.d.ts +3 -3
- package/esm/syntaxHighlightingInput/hooks/useChangeHandler.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useChangeHandler.js.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirror.d.ts +2 -2
- package/esm/syntaxHighlightingInput/hooks/useCodemirror.js +2 -2
- package/esm/syntaxHighlightingInput/hooks/useCodemirror.js.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorChange.d.ts +2 -2
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorChange.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorChange.js.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorEditable.d.ts +2 -2
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorEditable.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorEditable.js.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorEvents.d.ts +3 -3
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorEvents.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorEvents.js +1 -0
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorEvents.js.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorKeymap.d.ts +2 -2
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorKeymap.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorKeymap.js.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorOptions.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorOptions.js +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorOptions.js.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useEventHandlers.d.ts +5 -5
- package/esm/syntaxHighlightingInput/hooks/useEventHandlers.d.ts.map +1 -1
- package/esm/typings/overlay.d.ts +1 -1
- package/esm/typings/overlay.d.ts.map +1 -1
- package/esm/typings/overlay.js +1 -0
- package/esm/typings/overlay.js.map +1 -1
- package/esm/utils/domUtilities.d.ts +2 -2
- package/esm/utils/domUtilities.d.ts.map +1 -1
- package/esm/utils/domUtilities.js.map +1 -1
- package/esm/utils/overlay.d.ts.map +1 -1
- package/esm/utils/overlay.js +7 -7
- package/esm/utils/overlay.js.map +1 -1
- package/package.json +9 -9
- package/src/@ui/UiAsyncTable/asyncTable.scss +4 -2
- package/src/@ui/UiPaginationButton/UiPaginationButton.scss +56 -0
- package/src/@ui/UiTreeview/UiTreeview.scss +5 -8
- package/src/@ui/index.scss +1 -0
- package/styles/css/main.css +48 -9
- package/styles/css/main.css.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownToggleButton.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAKrC,UAAU,0BAA0B;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,
|
|
1
|
+
{"version":3,"file":"DropdownToggleButton.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAKrC,UAAU,0BAA0B;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,wBAAgB,oBAAoB,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,EAAE,0BAA0B,GAAG,YAAY,CAiB3G"}
|
package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import { FormattedMessage } from "react-intl";
|
|
4
|
-
function DropdownToggleButton({ toggleDropdown, isOpened }) {
|
|
4
|
+
export function DropdownToggleButton({ toggleDropdown, isOpened }) {
|
|
5
5
|
return (_jsxs("div", { className: "gd-measure-format-button gd-measure-format-button-templates s-measure-format-templates-toggle-button", onClick: toggleDropdown, children: [_jsx("span", { children: _jsx(FormattedMessage, { id: "measureNumberCustomFormatDialog.template.title" }) }), _jsx("div", { className: cx("gd-measure-format-button-icon-right", isOpened ? "gd-icon-navigateup" : "gd-icon-navigatedown") })] }));
|
|
6
6
|
}
|
|
7
|
-
export default DropdownToggleButton;
|
|
8
7
|
//# sourceMappingURL=DropdownToggleButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownToggleButton.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAO9C,
|
|
1
|
+
{"version":3,"file":"DropdownToggleButton.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAO9C,MAAM,UAAU,oBAAoB,CAAC,EAAE,cAAc,EAAE,QAAQ,EAA8B;IACzF,OAAO,CACH,eACI,SAAS,EAAC,sGAAsG,EAChH,OAAO,EAAE,cAAc,aAEvB,yBACI,KAAC,gBAAgB,IAAC,EAAE,EAAC,gDAAgD,GAAG,GACrE,EACP,cACI,SAAS,EAAE,EAAE,CACT,qCAAqC,EACrC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,sBAAsB,CAC3D,GACH,IACA,CACT,CAAC;AACN,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2020-2025 GoodData Corporation
|
|
3
3
|
import { memo, useCallback, useState } from "react";
|
|
4
|
-
import DropdownItem from "./DropdownItem.js";
|
|
5
|
-
import DropdownToggleButton from "./DropdownToggleButton.js";
|
|
4
|
+
import { DropdownItem } from "./DropdownItem.js";
|
|
5
|
+
import { DropdownToggleButton } from "./DropdownToggleButton.js";
|
|
6
6
|
import { Overlay } from "../../../Overlay/index.js";
|
|
7
7
|
export const FormatTemplatesDropdown = memo(function FormatTemplatesDropdown({ onChange, separators, templates, }) {
|
|
8
8
|
const [isOpened, setIsOpened] = useState(false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormatTemplatesDropdown.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIpD,OAAO,YAAY,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"FormatTemplatesDropdown.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAWpD,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC,SAAS,uBAAuB,CAAC,EACzE,QAAQ,EACR,UAAU,EACV,SAAS,GACiB;IAC1B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhD,MAAM,aAAa,GAAG,WAAW,CAAC,GAAG,EAAE;QACnC,WAAW,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,QAAQ,GAAG,WAAW,CACxB,CAAC,cAA+B,EAAE,EAAE;QAChC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;QAChC,UAAU,CAAC,GAAG,EAAE;YACZ,aAAa,EAAE,CAAC;QACpB,CAAC,CAAC,CAAC;IACP,CAAC,EACD,CAAC,QAAQ,EAAE,aAAa,CAAC,CAC5B,CAAC;IAEF,MAAM,cAAc,GAAG,WAAW,CAAC,GAAG,EAAE;QACpC,WAAW,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACH,eAAK,SAAS,EAAC,6BAA6B,aACxC,KAAC,oBAAoB,IAAC,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,GAAI,EAC3E,QAAQ,CAAC,CAAC,CAAC,CACR,KAAC,OAAO,IACJ,mBAAmB,QACnB,mBAAmB,QACnB,OAAO,EAAC,gDAAgD,EACxD,WAAW,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EACxE,OAAO,EAAE,aAAa,YAEtB,cAAK,SAAS,EAAC,qBAAqB,YAChC,cAAK,SAAS,EAAC,mFAAmF,YAC7F,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CACzB,KAAC,YAAY,IAET,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,QAAQ,EACjB,UAAU,EAAE,UAAU,IAHjB,QAAQ,CAAC,eAAe,CAI/B,CACL,CAAC,GACA,GACJ,GACA,CACb,CAAC,CAAC,CAAC,IAAI,IACN,CACT,CAAC;AACN,CAAC,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { memo, useCallback, useState } from "react";
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { FormattedMessage } from "react-intl";
|
|
6
|
-
import PreviewRows from "../shared/PreviewRows.js";
|
|
6
|
+
import { PreviewRows } from "../shared/PreviewRows.js";
|
|
7
7
|
export const ExtendedPreview = memo(function ExtendedPreview({ format, separators }) {
|
|
8
8
|
const [expanded, setExpanded] = useState(false);
|
|
9
9
|
const openExtendedPreview = useCallback(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtendedPreview.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAI9C,OAAO,WAAW,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"ExtendedPreview.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAI9C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAOvD,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,eAAe,CAAC,EAAE,MAAM,EAAE,UAAU,EAAyB;IACtG,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IAEzD,MAAM,mBAAmB,GAAG,WAAW,CAAC,GAAS,EAAE;QAC/C,WAAW,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACH,eAAK,SAAS,EAAC,4EAA4E,aACvF,eACI,SAAS,EAAE,EAAE,CAAC,yEAAyE,EAAE;oBACrF,MAAM,EAAE,QAAQ;iBACnB,CAAC,EACF,OAAO,EAAE,mBAAmB,aAE5B,cAAK,SAAS,EAAC,0DAA0D,GAAG,EAC5E,yBACI,KAAC,gBAAgB,IAAC,EAAE,EAAC,wDAAwD,GAAG,GAC7E,IACL,EACL,QAAQ,CAAC,CAAC,CAAC,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAI,CAAC,CAAC,CAAC,IAAI,IACxE,CACT,CAAC;AACN,CAAC,CAAC,CAAC"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import { WrappedComponentProps } from "react-intl";
|
|
2
1
|
import { ISeparators } from "@gooddata/sdk-ui";
|
|
3
|
-
interface
|
|
2
|
+
interface ICustomFormatPreviewProps {
|
|
4
3
|
format: string;
|
|
5
4
|
separators?: ISeparators;
|
|
6
5
|
}
|
|
7
|
-
type ICustomFormatPreviewProps = ICustomFormatPreviewOwnProps & WrappedComponentProps;
|
|
8
6
|
export declare const Preview: import("react").NamedExoticComponent<ICustomFormatPreviewProps>;
|
|
9
|
-
|
|
10
|
-
WrappedComponent: import("react").ComponentType<ICustomFormatPreviewProps>;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
7
|
+
export {};
|
|
13
8
|
//# sourceMappingURL=Preview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/previewSection/Preview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/previewSection/Preview.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQ/C,UAAU,yBAAyB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,eAAO,MAAM,OAAO,iEAsClB,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2020-2025 GoodData Corporation
|
|
3
3
|
import { memo, useCallback, useState } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { useIntl } from "react-intl";
|
|
5
5
|
import { ExtendedPreview } from "./ExtendedPreview.js";
|
|
6
6
|
import { InputWithNumberFormat } from "../../../Form/index.js";
|
|
7
7
|
import { FormattedPreview } from "../shared/FormattedPreview.js";
|
|
8
8
|
const DEFAULT_PREVIEW_VALUE = -1234.5678;
|
|
9
9
|
export const Preview = memo(function Preview(props) {
|
|
10
10
|
const [preview, setPreview] = useState(DEFAULT_PREVIEW_VALUE);
|
|
11
|
-
const
|
|
11
|
+
const intl = useIntl();
|
|
12
|
+
const { format, separators } = props;
|
|
12
13
|
const onPreviewChange = useCallback((value) => {
|
|
13
|
-
setPreview(value);
|
|
14
|
+
setPreview(typeof value === "number" ? value : parseFloat(value) || 0);
|
|
14
15
|
}, []);
|
|
15
16
|
return (_jsxs("div", { className: "gd-measure-custom-format-dialog-section gd-measure-custom-format-dialog-section-preview", children: [_jsx("span", { className: "gd-measure-custom-format-dialog-section-title", children: intl.formatMessage({ id: "measureNumberCustomFormatDialog.preview" }) }), _jsxs("div", { className: "gd-measure-custom-format-dialog-preview", children: [_jsx(InputWithNumberFormat, { className: "s-custom-format-dialog-preview-input gd-measure-custom-format-dialog-preview-input", value: preview, isSmall: true, autofocus: false, onChange: onPreviewChange, separators: separators }), _jsx(FormattedPreview, { previewNumber: preview, format: format, separators: separators, className: "s-custom-format-dialog-preview-formatted gd-measure-custom-format-dialog-preview-string" })] }), _jsx(ExtendedPreview, { format: format, separators: separators })] }));
|
|
16
17
|
});
|
|
17
|
-
export default injectIntl(Preview);
|
|
18
18
|
//# sourceMappingURL=Preview.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preview.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/previewSection/Preview.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,
|
|
1
|
+
{"version":3,"file":"Preview.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/previewSection/Preview.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAIrC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,qBAAqB,GAAG,CAAC,SAAS,CAAC;AAOzC,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,OAAO,CAAC,KAAgC;IACzE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAS,qBAAqB,CAAC,CAAC;IACtE,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IAEvB,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAErC,MAAM,eAAe,GAAG,WAAW,CAAC,CAAC,KAAsB,EAAQ,EAAE;QACjE,UAAU,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IAC3E,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACH,eACI,SAAS,EACL,yFAAyF,aAG7F,eAAM,SAAS,EAAE,+CAA+C,YAC3D,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,yCAAyC,EAAE,CAAC,GACnE,EACP,eAAK,SAAS,EAAE,yCAAyC,aACrD,KAAC,qBAAqB,IAClB,SAAS,EAAC,oFAAoF,EAC9F,KAAK,EAAE,OAAO,EACd,OAAO,QACP,SAAS,EAAE,KAAK,EAChB,QAAQ,EAAE,eAAe,EACzB,UAAU,EAAE,UAAU,GACxB,EACF,KAAC,gBAAgB,IACb,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,SAAS,EAAC,yFAAyF,GACrG,IACA,EACN,KAAC,eAAe,IAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAI,IACzD,CACT,CAAC;AACN,CAAC,CAAC,CAAC"}
|
|
@@ -14,8 +14,8 @@ export function FormattedPreview({ previewNumber, format, colors = true, separat
|
|
|
14
14
|
const style = { color: "", backgroundColor: "" };
|
|
15
15
|
const { formattedValue, colors: formattedColors } = getFormattedNumber(previewNumber, format, separators);
|
|
16
16
|
if (colors) {
|
|
17
|
-
style.color = formattedColors.color;
|
|
18
|
-
style.backgroundColor = formattedColors.backgroundColor;
|
|
17
|
+
style.color = formattedColors.color ?? "";
|
|
18
|
+
style.backgroundColor = formattedColors.backgroundColor ?? "";
|
|
19
19
|
}
|
|
20
20
|
return _jsx(Label, { value: formattedValue, className: customClassName, style: style });
|
|
21
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormattedPreview.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/shared/FormattedPreview.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,qBAAqB,EAAiC,MAAM,4BAA4B,CAAC;AAElG,MAAM,UAAU,KAAK,CAAC,EAClB,KAAK,EACL,KAAK,EACL,SAAS,GAKZ;IACG,OAAO,CACH,cAAK,SAAS,EAAE,EAAE,CAAC,qCAAqC,EAAE,SAAS,CAAC,YAChE,eAAM,KAAK,EAAE,KAAK,YAAG,KAAK,GAAQ,GAChC,CACT,CAAC;AACN,CAAC;AAUD,SAAS,kBAAkB,CACvB,KAAoB,EACpB,MAAc,EACd,UAAmC;IAEnC,OAAO,qBAAqB,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AACxE,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,EAC7B,aAAa,EACb,MAAM,EACN,MAAM,GAAG,IAAI,EACb,UAAU,EACV,SAAS,EAAE,eAAe,GACL;IACrB,IAAI,MAAM,KAAK,EAAE,EAAE,CAAC;QAChB,OAAO,KAAC,KAAK,KAAG,CAAC;IACrB,CAAC;IAED,MAAM,KAAK,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC;IAEjD,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,eAAe,EAAE,GAAG,kBAAkB,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;IAE1G,IAAI,MAAM,EAAE,CAAC;QACT,KAAK,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"FormattedPreview.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/shared/FormattedPreview.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,qBAAqB,EAAiC,MAAM,4BAA4B,CAAC;AAElG,MAAM,UAAU,KAAK,CAAC,EAClB,KAAK,EACL,KAAK,EACL,SAAS,GAKZ;IACG,OAAO,CACH,cAAK,SAAS,EAAE,EAAE,CAAC,qCAAqC,EAAE,SAAS,CAAC,YAChE,eAAM,KAAK,EAAE,KAAK,YAAG,KAAK,GAAQ,GAChC,CACT,CAAC;AACN,CAAC;AAUD,SAAS,kBAAkB,CACvB,KAAoB,EACpB,MAAc,EACd,UAAmC;IAEnC,OAAO,qBAAqB,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AACxE,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,EAC7B,aAAa,EACb,MAAM,EACN,MAAM,GAAG,IAAI,EACb,UAAU,EACV,SAAS,EAAE,eAAe,GACL;IACrB,IAAI,MAAM,KAAK,EAAE,EAAE,CAAC;QAChB,OAAO,KAAC,KAAK,KAAG,CAAC;IACrB,CAAC;IAED,MAAM,KAAK,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC;IAEjD,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,eAAe,EAAE,GAAG,kBAAkB,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;IAE1G,IAAI,MAAM,EAAE,CAAC;QACT,KAAK,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK,IAAI,EAAE,CAAC;QAC1C,KAAK,CAAC,eAAe,GAAG,eAAe,CAAC,eAAe,IAAI,EAAE,CAAC;IAClE,CAAC;IAED,OAAO,KAAC,KAAK,IAAC,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,GAAI,CAAC;AACtF,CAAC"}
|
|
@@ -4,6 +4,5 @@ export interface IPreviewNumberRowsProps {
|
|
|
4
4
|
format: string;
|
|
5
5
|
separators?: ISeparators;
|
|
6
6
|
}
|
|
7
|
-
declare function PreviewRows({ previewNumbers, format, separators, }: IPreviewNumberRowsProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default PreviewRows;
|
|
7
|
+
export declare function PreviewRows({ previewNumbers, format, separators, }: IPreviewNumberRowsProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
//# sourceMappingURL=PreviewRows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreviewRows.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/shared/PreviewRows.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA0B/C,MAAM,WAAW,uBAAuB;IACpC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,
|
|
1
|
+
{"version":3,"file":"PreviewRows.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/shared/PreviewRows.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA0B/C,MAAM,WAAW,uBAAuB;IACpC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,wBAAgB,WAAW,CAAC,EACxB,cAAkD,EAClD,MAAM,EACN,UAAU,GACb,EAAE,uBAAuB,2CAazB"}
|
|
@@ -3,8 +3,7 @@ import { FormattedPreview } from "./FormattedPreview.js";
|
|
|
3
3
|
function PreviewNumberRow({ previewNumber, format, separators }) {
|
|
4
4
|
return (_jsxs("div", { className: "gd-measure-format-extended-preview-row", children: [_jsx("div", { className: "gd-measure-format-extended-preview-number", children: _jsx("span", { children: previewNumber }) }), _jsx(FormattedPreview, { previewNumber: previewNumber, format: format, separators: separators, className: "s-number-format-preview-formatted gd-measure-format-extended-preview-formatted" })] }));
|
|
5
5
|
}
|
|
6
|
-
function PreviewRows({ previewNumbers = [0, 1.234, 1234.567, 1234567.891], format, separators, }) {
|
|
6
|
+
export function PreviewRows({ previewNumbers = [0, 1.234, 1234.567, 1234567.891], format, separators, }) {
|
|
7
7
|
return (_jsx(_Fragment, { children: previewNumbers.map((previewNumber) => (_jsx(PreviewNumberRow, { previewNumber: previewNumber, separators: separators, format: format }, previewNumber))) }));
|
|
8
8
|
}
|
|
9
|
-
export default PreviewRows;
|
|
10
9
|
//# sourceMappingURL=PreviewRows.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreviewRows.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/shared/PreviewRows.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAQzD,SAAS,gBAAgB,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAA0B;IACnF,OAAO,CACH,eAAK,SAAS,EAAC,wCAAwC,aACnD,cAAK,SAAS,EAAC,2CAA2C,YACtD,yBAAO,aAAa,GAAQ,GAC1B,EACN,KAAC,gBAAgB,IACb,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,SAAS,EAAC,gFAAgF,GAC5F,IACA,CACT,CAAC;AACN,CAAC;AAQD,
|
|
1
|
+
{"version":3,"file":"PreviewRows.js","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/shared/PreviewRows.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAQzD,SAAS,gBAAgB,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAA0B;IACnF,OAAO,CACH,eAAK,SAAS,EAAC,wCAAwC,aACnD,cAAK,SAAS,EAAC,2CAA2C,YACtD,yBAAO,aAAa,GAAQ,GAC1B,EACN,KAAC,gBAAgB,IACb,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,SAAS,EAAC,gFAAgF,GAC5F,IACA,CACT,CAAC;AACN,CAAC;AAQD,MAAM,UAAU,WAAW,CAAC,EACxB,cAAc,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,CAAC,EAClD,MAAM,EACN,UAAU,GACY;IACtB,OAAO,CACH,4BACK,cAAc,CAAC,GAAG,CAAC,CAAC,aAAa,EAAE,EAAE,CAAC,CACnC,KAAC,gBAAgB,IACb,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,UAAU,EAEtB,MAAM,EAAE,MAAM,IADT,aAAa,CAEpB,CACL,CAAC,GACH,CACN,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { MetricType } from "@gooddata/sdk-model";
|
|
2
|
+
/** @internal */
|
|
3
|
+
export interface UseCurrencyFormatDefaultsConfig {
|
|
4
|
+
metricType?: MetricType;
|
|
5
|
+
normalizedFormat: string | null;
|
|
6
|
+
currencyFormatOverride?: string | null;
|
|
7
|
+
presetFormats: string[];
|
|
8
|
+
hasInheritPreset: boolean;
|
|
9
|
+
onFormatChange: (format: string | null) => void;
|
|
10
|
+
shouldBootstrap: boolean;
|
|
11
|
+
fallbackFormat?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*
|
|
16
|
+
* Ensures that currency metrics default to a meaningful preset instead of falling back to custom formats.
|
|
17
|
+
* - When no format is set yet, it applies the inherited override or the standard currency preset.
|
|
18
|
+
* - When switching to currency with an incompatible format, it coerces the format to a supported preset.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useCurrencyFormatDefaults({ metricType, normalizedFormat, currencyFormatOverride, presetFormats, hasInheritPreset, onFormatChange, shouldBootstrap, fallbackFormat, }: UseCurrencyFormatDefaultsConfig): void;
|
|
21
|
+
//# sourceMappingURL=useCurrencyFormatDefaults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCurrencyFormatDefaults.d.ts","sourceRoot":"","sources":["../../../src/measureNumberFormat/hooks/useCurrencyFormatDefaults.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAItD,gBAAgB;AAChB,MAAM,WAAW,+BAA+B;IAC5C,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,cAAwC,GAC3C,EAAE,+BAA+B,QAkCjC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// (C) 2025 GoodData Corporation
|
|
2
|
+
import { useEffect, useRef } from "react";
|
|
3
|
+
const DEFAULT_CURRENCY_FORMAT = "$#,##0.00";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*
|
|
7
|
+
* Ensures that currency metrics default to a meaningful preset instead of falling back to custom formats.
|
|
8
|
+
* - When no format is set yet, it applies the inherited override or the standard currency preset.
|
|
9
|
+
* - When switching to currency with an incompatible format, it coerces the format to a supported preset.
|
|
10
|
+
*/
|
|
11
|
+
export function useCurrencyFormatDefaults({ metricType, normalizedFormat, currencyFormatOverride, presetFormats, hasInheritPreset, onFormatChange, shouldBootstrap, fallbackFormat = DEFAULT_CURRENCY_FORMAT, }) {
|
|
12
|
+
const previousMetricType = usePreviousMetricType(metricType);
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
if (metricType !== "CURRENCY" || !shouldBootstrap) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
onFormatChange(resolveDefaultFormat(currencyFormatOverride, fallbackFormat));
|
|
18
|
+
}, [currencyFormatOverride, fallbackFormat, metricType, onFormatChange, shouldBootstrap]);
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
if (metricType !== "CURRENCY" || previousMetricType === "CURRENCY") {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const matchesCurrencyPreset = normalizedFormat === null ? hasInheritPreset : presetFormats.includes(normalizedFormat);
|
|
24
|
+
if (matchesCurrencyPreset) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
onFormatChange(resolveDefaultFormat(currencyFormatOverride, fallbackFormat));
|
|
28
|
+
}, [
|
|
29
|
+
currencyFormatOverride,
|
|
30
|
+
fallbackFormat,
|
|
31
|
+
hasInheritPreset,
|
|
32
|
+
metricType,
|
|
33
|
+
normalizedFormat,
|
|
34
|
+
onFormatChange,
|
|
35
|
+
presetFormats,
|
|
36
|
+
previousMetricType,
|
|
37
|
+
]);
|
|
38
|
+
}
|
|
39
|
+
function resolveDefaultFormat(currencyFormatOverride, fallbackFormat) {
|
|
40
|
+
return currencyFormatOverride ? null : fallbackFormat;
|
|
41
|
+
}
|
|
42
|
+
function usePreviousMetricType(metricType) {
|
|
43
|
+
const ref = useRef(undefined);
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
ref.current = metricType;
|
|
46
|
+
}, [metricType]);
|
|
47
|
+
return ref.current;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=useCurrencyFormatDefaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCurrencyFormatDefaults.js","sourceRoot":"","sources":["../../../src/measureNumberFormat/hooks/useCurrencyFormatDefaults.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAI1C,MAAM,uBAAuB,GAAG,WAAW,CAAC;AAc5C;;;;;;GAMG;AACH,MAAM,UAAU,yBAAyB,CAAC,EACtC,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,cAAc,GAAG,uBAAuB,GACV;IAC9B,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAAC;IAE7D,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,UAAU,KAAK,UAAU,IAAI,CAAC,eAAe,EAAE,CAAC;YAChD,OAAO;QACX,CAAC;QAED,cAAc,CAAC,oBAAoB,CAAC,sBAAsB,EAAE,cAAc,CAAC,CAAC,CAAC;IACjF,CAAC,EAAE,CAAC,sBAAsB,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,CAAC,CAAC,CAAC;IAE1F,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,UAAU,KAAK,UAAU,IAAI,kBAAkB,KAAK,UAAU,EAAE,CAAC;YACjE,OAAO;QACX,CAAC;QAED,MAAM,qBAAqB,GACvB,gBAAgB,KAAK,IAAI,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;QAE5F,IAAI,qBAAqB,EAAE,CAAC;YACxB,OAAO;QACX,CAAC;QAED,cAAc,CAAC,oBAAoB,CAAC,sBAAsB,EAAE,cAAc,CAAC,CAAC,CAAC;IACjF,CAAC,EAAE;QACC,sBAAsB;QACtB,cAAc;QACd,gBAAgB;QAChB,UAAU;QACV,gBAAgB;QAChB,cAAc;QACd,aAAa;QACb,kBAAkB;KACrB,CAAC,CAAC;AACP,CAAC;AAED,SAAS,oBAAoB,CAAC,sBAAiD,EAAE,cAAsB;IACnG,OAAO,sBAAsB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC;AAC1D,CAAC;AAED,SAAS,qBAAqB,CAAC,UAAkC;IAC7D,MAAM,GAAG,GAAG,MAAM,CAAyB,SAAS,CAAC,CAAC;IACtD,SAAS,CAAC,GAAG,EAAE;QACX,GAAG,CAAC,OAAO,GAAG,UAAU,CAAC;IAC7B,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IACjB,OAAO,GAAG,CAAC,OAAO,CAAC;AACvB,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export * from "./typings.js";
|
|
2
2
|
export type { IMeasureNumberFormatOwnProps } from "./MeasureNumberFormat.js";
|
|
3
3
|
export { MeasureNumberFormat } from "./MeasureNumberFormat.js";
|
|
4
|
+
export { validateCurrencyFormat, isCurrencyFormat, type CurrencyFormatValidationErrorCode, type ICurrencyFormatValidationError, type ICurrencyFormatValidationOptions, type ICurrencyFormatValidationResult, } from "./validation/currencyFormatValidator.js";
|
|
5
|
+
export { useCurrencyFormatDefaults } from "./hooks/useCurrencyFormatDefaults.js";
|
|
6
|
+
export type { UseCurrencyFormatDefaultsConfig } from "./hooks/useCurrencyFormatDefaults.js";
|
|
7
|
+
export { createCurrencyPresets, CURRENCY_PRESET_DEFINITIONS, type ICurrencyPresetDefinition, } from "./presets/currencyPresets.js";
|
|
4
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/measureNumberFormat/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/measureNumberFormat/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EACH,sBAAsB,EACtB,gBAAgB,EAChB,KAAK,iCAAiC,EACtC,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,+BAA+B,GACvC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,YAAY,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,EACH,qBAAqB,EACrB,2BAA2B,EAC3B,KAAK,yBAAyB,GACjC,MAAM,8BAA8B,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
// (C) 2020-
|
|
1
|
+
// (C) 2020-2025 GoodData Corporation
|
|
2
2
|
export * from "./typings.js";
|
|
3
3
|
export { MeasureNumberFormat } from "./MeasureNumberFormat.js";
|
|
4
|
+
export { validateCurrencyFormat, isCurrencyFormat, } from "./validation/currencyFormatValidator.js";
|
|
5
|
+
export { useCurrencyFormatDefaults } from "./hooks/useCurrencyFormatDefaults.js";
|
|
6
|
+
export { createCurrencyPresets, CURRENCY_PRESET_DEFINITIONS, } from "./presets/currencyPresets.js";
|
|
4
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/measureNumberFormat/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/measureNumberFormat/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EACH,sBAAsB,EACtB,gBAAgB,GAKnB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAEjF,OAAO,EACH,qBAAqB,EACrB,2BAA2B,GAE9B,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type IFormatPreset } from "../typings.js";
|
|
2
|
+
/**
|
|
3
|
+
* Base currency preset definitions without localized names.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface ICurrencyPresetDefinition {
|
|
7
|
+
localIdentifier: string;
|
|
8
|
+
format: string;
|
|
9
|
+
previewNumber: number;
|
|
10
|
+
messageId: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Base currency preset definitions.
|
|
14
|
+
* These are the raw preset data that can be used to create localized presets.
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const CURRENCY_PRESET_DEFINITIONS: readonly ICurrencyPresetDefinition[];
|
|
18
|
+
/**
|
|
19
|
+
* Creates localized currency format presets.
|
|
20
|
+
*
|
|
21
|
+
* @param formatMessage - Function to format localized messages (e.g., from react-intl)
|
|
22
|
+
* @returns Array of currency format presets with localized names
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare function createCurrencyPresets(formatMessage: (descriptor: {
|
|
26
|
+
id: string;
|
|
27
|
+
}) => string): IFormatPreset[];
|
|
28
|
+
//# sourceMappingURL=currencyPresets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currencyPresets.d.ts","sourceRoot":"","sources":["../../../src/measureNumberFormat/presets/currencyPresets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACtC,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,EAAE,SAAS,yBAAyB,EAmBlE,CAAC;AAEX;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACjC,aAAa,EAAE,CAAC,UAAU,EAAE;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,KAAK,MAAM,GACtD,aAAa,EAAE,CAOjB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// (C) 2025 GoodData Corporation
|
|
2
|
+
/**
|
|
3
|
+
* Base currency preset definitions.
|
|
4
|
+
* These are the raw preset data that can be used to create localized presets.
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export const CURRENCY_PRESET_DEFINITIONS = [
|
|
8
|
+
{
|
|
9
|
+
localIdentifier: "currency",
|
|
10
|
+
format: "$#,##0.00",
|
|
11
|
+
previewNumber: 1000.12,
|
|
12
|
+
messageId: "metricComponent.numberFormat.preset.currency",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
localIdentifier: "currency-single-decimal",
|
|
16
|
+
format: "$#,##0.0",
|
|
17
|
+
previewNumber: 1000.12,
|
|
18
|
+
messageId: "metricComponent.numberFormat.preset.currency1",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
localIdentifier: "currency-rounded",
|
|
22
|
+
format: "$#,##0",
|
|
23
|
+
previewNumber: 1000.12,
|
|
24
|
+
messageId: "metricComponent.numberFormat.preset.currencyRounded",
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
/**
|
|
28
|
+
* Creates localized currency format presets.
|
|
29
|
+
*
|
|
30
|
+
* @param formatMessage - Function to format localized messages (e.g., from react-intl)
|
|
31
|
+
* @returns Array of currency format presets with localized names
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
export function createCurrencyPresets(formatMessage) {
|
|
35
|
+
return CURRENCY_PRESET_DEFINITIONS.map((definition) => ({
|
|
36
|
+
name: formatMessage({ id: definition.messageId }),
|
|
37
|
+
localIdentifier: definition.localIdentifier,
|
|
38
|
+
format: definition.format,
|
|
39
|
+
previewNumber: definition.previewNumber,
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=currencyPresets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currencyPresets.js","sourceRoot":"","sources":["../../../src/measureNumberFormat/presets/currencyPresets.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAehC;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAyC;IAC7E;QACI,eAAe,EAAE,UAAU;QAC3B,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,OAAO;QACtB,SAAS,EAAE,8CAA8C;KAC5D;IACD;QACI,eAAe,EAAE,yBAAyB;QAC1C,MAAM,EAAE,UAAU;QAClB,aAAa,EAAE,OAAO;QACtB,SAAS,EAAE,+CAA+C;KAC7D;IACD;QACI,eAAe,EAAE,kBAAkB;QACnC,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE,OAAO;QACtB,SAAS,EAAE,qDAAqD;KACnE;CACK,CAAC;AAEX;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACjC,aAAqD;IAErD,OAAO,2BAA2B,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QACpD,IAAI,EAAE,aAAa,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,SAAS,EAAE,CAAC;QACjD,eAAe,EAAE,UAAU,CAAC,eAAe;QAC3C,MAAM,EAAE,UAAU,CAAC,MAAM;QACzB,aAAa,EAAE,UAAU,CAAC,aAAa;KAC1C,CAAC,CAAC,CAAC;AACR,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type ISeparators } from "@gooddata/number-formatter";
|
|
2
|
+
/**
|
|
3
|
+
* @alpha
|
|
4
|
+
*/
|
|
5
|
+
export type CurrencyFormatValidationErrorCode = "empty" | "invalidFormat" | "missingCurrencySymbol" | "missingDecimalPlaces";
|
|
6
|
+
/**
|
|
7
|
+
* @alpha
|
|
8
|
+
*/
|
|
9
|
+
export interface ICurrencyFormatValidationError {
|
|
10
|
+
code: CurrencyFormatValidationErrorCode;
|
|
11
|
+
/**
|
|
12
|
+
* Indexes of sections (0-based) that failed validation.
|
|
13
|
+
* The value is only present for section-driven validations.
|
|
14
|
+
*/
|
|
15
|
+
sectionIndexes?: number[];
|
|
16
|
+
message: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @alpha
|
|
20
|
+
*/
|
|
21
|
+
export interface ICurrencyFormatValidationResult {
|
|
22
|
+
isValid: boolean;
|
|
23
|
+
errors: ICurrencyFormatValidationError[];
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @alpha
|
|
27
|
+
*/
|
|
28
|
+
export interface ICurrencyFormatValidationOptions {
|
|
29
|
+
/**
|
|
30
|
+
* Sample value used to verify the formatter does not throw.
|
|
31
|
+
* Defaults to 12345.67 to cover both thousands and decimals.
|
|
32
|
+
*/
|
|
33
|
+
sampleValue?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Number of mandatory decimal places each section must contain.
|
|
36
|
+
* Set to 0 (or a negative value) to skip the decimal check.
|
|
37
|
+
* Defaults to 2.
|
|
38
|
+
*/
|
|
39
|
+
requiredDecimalPlaces?: number;
|
|
40
|
+
separators?: ISeparators;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Validates a number format string that is expected to represent a currency amount.
|
|
44
|
+
*
|
|
45
|
+
* @alpha
|
|
46
|
+
*/
|
|
47
|
+
export declare function validateCurrencyFormat(format: string | undefined | null, options?: ICurrencyFormatValidationOptions): ICurrencyFormatValidationResult;
|
|
48
|
+
/**
|
|
49
|
+
* Checks if a format string represents a currency format.
|
|
50
|
+
* A currency format is one where at least one numeric section contains a currency symbol.
|
|
51
|
+
*
|
|
52
|
+
* @alpha
|
|
53
|
+
*/
|
|
54
|
+
export declare function isCurrencyFormat(format: string | undefined | null): boolean;
|
|
55
|
+
//# sourceMappingURL=currencyFormatValidator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currencyFormatValidator.d.ts","sourceRoot":"","sources":["../../../src/measureNumberFormat/validation/currencyFormatValidator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAWrF;;GAEG;AACH,MAAM,MAAM,iCAAiC,GACvC,OAAO,GACP,eAAe,GACf,uBAAuB,GACvB,sBAAsB,CAAC;AAE7B;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C,IAAI,EAAE,iCAAiC,CAAC;IACxC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,8BAA8B,EAAE,CAAC;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AASD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAClC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,EACjC,OAAO,GAAE,gCAAqC,GAC/C,+BAA+B,CAsDjC;AAgED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,OAAO,CAc3E"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// (C) 2025 GoodData Corporation
|
|
2
|
+
import { ClientFormatterFacade } from "@gooddata/number-formatter";
|
|
3
|
+
const DEFAULT_SAMPLE_VALUE = 12345.67;
|
|
4
|
+
const DEFAULT_REQUIRED_DECIMALS = 2;
|
|
5
|
+
const SECTION_SEPARATOR = ";";
|
|
6
|
+
const NUMBER_PLACEHOLDER_PATTERN = /[0#?]/;
|
|
7
|
+
const DECIMAL_TOKEN_PATTERN = /\.(0+)/;
|
|
8
|
+
const CURRENCY_SYMBOL_PATTERN = /\p{Sc}/u;
|
|
9
|
+
const CURRENCY_BRACKET_PATTERN = /\[\$[^\]]+\]/;
|
|
10
|
+
const QUOTED_CURRENCY_PATTERN = /(["'])[ \t]*[A-Za-z]{2,6}[ \t]*\1/;
|
|
11
|
+
const DEFAULT_ERROR_MESSAGES = {
|
|
12
|
+
empty: "Format is required.",
|
|
13
|
+
invalidFormat: "Format contains invalid tokens.",
|
|
14
|
+
missingCurrencySymbol: "Currency symbol is missing.",
|
|
15
|
+
missingDecimalPlaces: "Format must include the required decimal places.",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Validates a number format string that is expected to represent a currency amount.
|
|
19
|
+
*
|
|
20
|
+
* @alpha
|
|
21
|
+
*/
|
|
22
|
+
export function validateCurrencyFormat(format, options = {}) {
|
|
23
|
+
const sanitizedFormat = format?.trim() ?? "";
|
|
24
|
+
const errors = [];
|
|
25
|
+
if (!sanitizedFormat) {
|
|
26
|
+
errors.push(buildError("empty"));
|
|
27
|
+
return { isValid: false, errors };
|
|
28
|
+
}
|
|
29
|
+
const sampleValue = options.sampleValue ?? DEFAULT_SAMPLE_VALUE;
|
|
30
|
+
const separators = options.separators;
|
|
31
|
+
if (!isParsableFormat(sanitizedFormat, sampleValue, separators)) {
|
|
32
|
+
errors.push(buildError("invalidFormat"));
|
|
33
|
+
return { isValid: false, errors };
|
|
34
|
+
}
|
|
35
|
+
const sections = getFormatSections(sanitizedFormat);
|
|
36
|
+
const sectionsWithNumbers = sections.filter(hasNumericPlaceholder);
|
|
37
|
+
if (sectionsWithNumbers.length === 0) {
|
|
38
|
+
errors.push(buildError("invalidFormat"));
|
|
39
|
+
return { isValid: false, errors };
|
|
40
|
+
}
|
|
41
|
+
if (!sectionsWithNumbers.every(hasCurrencyToken)) {
|
|
42
|
+
errors.push(buildError("missingCurrencySymbol", collectInvalidSections(sectionsWithNumbers, hasCurrencyToken)));
|
|
43
|
+
}
|
|
44
|
+
const requiredDecimals = options.requiredDecimalPlaces ?? DEFAULT_REQUIRED_DECIMALS;
|
|
45
|
+
if (requiredDecimals > 0 &&
|
|
46
|
+
!sectionsWithNumbers.every((section) => hasRequiredDecimals(section, requiredDecimals))) {
|
|
47
|
+
errors.push(buildError("missingDecimalPlaces", collectInvalidSections(sectionsWithNumbers, (section) => hasRequiredDecimals(section, requiredDecimals))));
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
isValid: errors.length === 0,
|
|
51
|
+
errors,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function buildError(code, sectionIndexes) {
|
|
55
|
+
return {
|
|
56
|
+
code,
|
|
57
|
+
sectionIndexes,
|
|
58
|
+
message: DEFAULT_ERROR_MESSAGES[code],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function getFormatSections(format) {
|
|
62
|
+
return format
|
|
63
|
+
.split(SECTION_SEPARATOR)
|
|
64
|
+
.map((section) => section.trim())
|
|
65
|
+
.filter((section) => section.length > 0);
|
|
66
|
+
}
|
|
67
|
+
function hasNumericPlaceholder(section) {
|
|
68
|
+
return NUMBER_PLACEHOLDER_PATTERN.test(section);
|
|
69
|
+
}
|
|
70
|
+
function hasCurrencyToken(section) {
|
|
71
|
+
return (CURRENCY_BRACKET_PATTERN.test(section) ||
|
|
72
|
+
CURRENCY_SYMBOL_PATTERN.test(section) ||
|
|
73
|
+
QUOTED_CURRENCY_PATTERN.test(section));
|
|
74
|
+
}
|
|
75
|
+
function hasRequiredDecimals(section, requiredDecimalPlaces) {
|
|
76
|
+
const match = section.match(DECIMAL_TOKEN_PATTERN);
|
|
77
|
+
if (!match) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
return match[1].length >= requiredDecimalPlaces;
|
|
81
|
+
}
|
|
82
|
+
function collectInvalidSections(sections, predicate) {
|
|
83
|
+
const invalidIndexes = sections.reduce((result, section, index) => {
|
|
84
|
+
if (!predicate(section)) {
|
|
85
|
+
result.push(index);
|
|
86
|
+
}
|
|
87
|
+
return result;
|
|
88
|
+
}, []);
|
|
89
|
+
return invalidIndexes.length > 0 ? invalidIndexes : undefined;
|
|
90
|
+
}
|
|
91
|
+
function isParsableFormat(format, sampleValue, separators) {
|
|
92
|
+
try {
|
|
93
|
+
ClientFormatterFacade.formatValue(sampleValue, format, separators);
|
|
94
|
+
return true;
|
|
95
|
+
}
|
|
96
|
+
catch {
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Checks if a format string represents a currency format.
|
|
102
|
+
* A currency format is one where at least one numeric section contains a currency symbol.
|
|
103
|
+
*
|
|
104
|
+
* @alpha
|
|
105
|
+
*/
|
|
106
|
+
export function isCurrencyFormat(format) {
|
|
107
|
+
const sanitizedFormat = format?.trim();
|
|
108
|
+
if (!sanitizedFormat) {
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
const sections = getFormatSections(sanitizedFormat);
|
|
112
|
+
const sectionsWithNumbers = sections.filter(hasNumericPlaceholder);
|
|
113
|
+
if (sectionsWithNumbers.length === 0) {
|
|
114
|
+
return false;
|
|
115
|
+
}
|
|
116
|
+
return sectionsWithNumbers.some(hasCurrencyToken);
|
|
117
|
+
}
|
|
118
|
+
//# sourceMappingURL=currencyFormatValidator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currencyFormatValidator.js","sourceRoot":"","sources":["../../../src/measureNumberFormat/validation/currencyFormatValidator.ts"],"names":[],"mappings":"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"}
|