@gooddata/sdk-ui-kit 11.56.0-alpha.0 → 11.56.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/CodeSnippet.d.ts +1 -1
- package/esm/@ui/@dev/CodeSnippet.d.ts.map +1 -1
- package/esm/@ui/@dev/ComponentTable.d.ts +4 -4
- package/esm/@ui/@dev/ComponentTable.d.ts.map +1 -1
- package/esm/@ui/@dev/ComponentTable.js +1 -2
- package/esm/@ui/@types/icon.d.ts +1 -1
- package/esm/@ui/@types/icon.d.ts.map +1 -1
- package/esm/@ui/@utils/bem.d.ts.map +1 -1
- package/esm/@ui/@utils/keyboardNavigation.d.ts +11 -11
- package/esm/@ui/@utils/keyboardNavigation.d.ts.map +1 -1
- package/esm/@ui/@utils/size.d.ts +2 -1
- package/esm/@ui/@utils/size.d.ts.map +1 -1
- package/esm/@ui/@utils/useKeyboardNavigationTarget.d.ts.map +1 -1
- package/esm/@ui/UiAddGranteeDialog/UiAddGranteeDialogCard.d.ts +1 -1
- package/esm/@ui/UiAddGranteeDialog/UiAddGranteeDialogCard.d.ts.map +1 -1
- package/esm/@ui/UiAddGranteeDialog/UiAddGranteeDialogCard.js +1 -5
- package/esm/@ui/UiAddGranteeDialog/useGranteeSelection.d.ts +1 -1
- package/esm/@ui/UiAddGranteeDialog/useGranteeSelection.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js +1 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableBody.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableCheckbox.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableCheckbox.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.js +1 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.js +1 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.js +1 -5
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.js +1 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableIconRenderer.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableIconRenderer.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.js +1 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.js +5 -13
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.d.ts +3 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.js +1 -2
- package/esm/@ui/UiAsyncTable/useAsyncTableSearch.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/useAsyncTableSearch.d.ts.map +1 -1
- package/esm/@ui/UiAutocomplete/UiAutocomplete.d.ts +1 -1
- package/esm/@ui/UiAutocomplete/UiAutocomplete.d.ts.map +1 -1
- package/esm/@ui/UiAutocomplete/UiAutocomplete.js +3 -7
- package/esm/@ui/UiAutocomplete/types.d.ts.map +1 -1
- package/esm/@ui/UiAutocomplete/useAsyncListSource.d.ts.map +1 -1
- package/esm/@ui/UiAvatar/UiAvatar.d.ts +1 -1
- package/esm/@ui/UiAvatar/UiAvatar.d.ts.map +1 -1
- package/esm/@ui/UiBreadcrumb/UiBreadcrumb.js +1 -2
- package/esm/@ui/UiCertificationIcon/UiCertificationIcon.d.ts +1 -1
- package/esm/@ui/UiCertificationIcon/UiCertificationIcon.d.ts.map +1 -1
- package/esm/@ui/UiCertificationIcon/UiCertificationIcon.js +1 -8
- package/esm/@ui/UiCheckbox/UiCheckbox.d.ts +1 -1
- package/esm/@ui/UiCheckbox/UiCheckbox.d.ts.map +1 -1
- package/esm/@ui/UiCheckbox/UiCheckbox.js +2 -5
- package/esm/@ui/UiChip/ChipActionButton.d.ts +1 -1
- package/esm/@ui/UiChip/ChipActionButton.d.ts.map +1 -1
- package/esm/@ui/UiChip/ChipContent.d.ts +1 -1
- package/esm/@ui/UiChip/ChipContent.d.ts.map +1 -1
- package/esm/@ui/UiChip/ChipDeleteButton.d.ts +1 -1
- package/esm/@ui/UiChip/ChipDeleteButton.d.ts.map +1 -1
- package/esm/@ui/UiChip/UiChip.d.ts +1 -1
- package/esm/@ui/UiChip/UiChip.d.ts.map +1 -1
- package/esm/@ui/UiColorPicker/UiColorPicker.js +2 -5
- package/esm/@ui/UiColorPicker/components/UiColorSlider.d.ts +1 -1
- package/esm/@ui/UiColorPicker/components/UiColorSlider.d.ts.map +1 -1
- package/esm/@ui/UiColorPicker/components/UiColorSlider.js +2 -4
- package/esm/@ui/UiColorPicker/components/UiColorValueField.d.ts +1 -1
- package/esm/@ui/UiColorPicker/components/UiColorValueField.d.ts.map +1 -1
- package/esm/@ui/UiColorPicker/components/UiColorValueField.js +1 -2
- package/esm/@ui/UiCombobox/UiComboboxListItem.d.ts +1 -1
- package/esm/@ui/UiCombobox/UiComboboxListItem.d.ts.map +1 -1
- package/esm/@ui/UiCombobox/UiComboboxListItem.js +1 -2
- package/esm/@ui/UiCombobox/types.d.ts.map +1 -1
- package/esm/@ui/UiCombobox/useComboboxSelection.d.ts +1 -1
- package/esm/@ui/UiCombobox/useComboboxSelection.d.ts.map +1 -1
- package/esm/@ui/UiConfigEditor/ConfigEditorToolbar.d.ts +1 -1
- package/esm/@ui/UiConfigEditor/ConfigEditorToolbar.d.ts.map +1 -1
- package/esm/@ui/UiConfigEditor/ConfigEditorToolbar.js +2 -4
- package/esm/@ui/UiConfigEditor/UiConfigEditor.d.ts +1 -1
- package/esm/@ui/UiConfigEditor/UiConfigEditor.d.ts.map +1 -1
- package/esm/@ui/UiConfigEditor/UiConfigEditor.js +2 -4
- package/esm/@ui/UiConfigEditor/types.d.ts.map +1 -1
- package/esm/@ui/UiConfirmDialog/UiConfirmDialogCard.d.ts +1 -1
- package/esm/@ui/UiConfirmDialog/UiConfirmDialogCard.d.ts.map +1 -1
- package/esm/@ui/UiConfirmDialog/UiConfirmDialogCard.js +1 -5
- package/esm/@ui/UiControlButton/UiControlButton.d.ts +1 -1
- package/esm/@ui/UiControlButton/UiControlButton.d.ts.map +1 -1
- package/esm/@ui/UiControlButton/UiControlButton.js +1 -4
- package/esm/@ui/UiCopyButton/UiCopyButton.d.ts +1 -1
- package/esm/@ui/UiCopyButton/UiCopyButton.d.ts.map +1 -1
- package/esm/@ui/UiDate/UiDate.d.ts +1 -1
- package/esm/@ui/UiDate/UiDate.d.ts.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 +2 -6
- package/esm/@ui/UiDropdown/UiDropdown.d.ts +1 -1
- package/esm/@ui/UiDropdown/UiDropdown.d.ts.map +1 -1
- package/esm/@ui/UiDropdown/UiDropdown.js +2 -4
- package/esm/@ui/UiErrorPage/UiErrorPage.js +1 -4
- package/esm/@ui/UiFloatingElement/UiFloatingElement.d.ts +1 -1
- package/esm/@ui/UiFloatingElement/UiFloatingElement.d.ts.map +1 -1
- package/esm/@ui/UiFloatingElement/useFloatingPosition.d.ts +1 -1
- package/esm/@ui/UiFloatingElement/useFloatingPosition.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/UiAutofocus.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/UiFocusManager.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/UiFocusTrap.d.ts +1 -1
- package/esm/@ui/UiFocusManager/UiFocusTrap.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/UiReturnFocusOnUnmount.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/UiReturnFocusOnUnmount.js +9 -1
- package/esm/@ui/UiFocusManager/UiTabOutHandler.d.ts +1 -1
- package/esm/@ui/UiFocusManager/UiTabOutHandler.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/utils.d.ts +1 -1
- package/esm/@ui/UiFocusManager/utils.d.ts.map +1 -1
- package/esm/@ui/UiGeneralAccessRadio/UiGeneralAccessRadio.d.ts +1 -1
- package/esm/@ui/UiGeneralAccessRadio/UiGeneralAccessRadio.d.ts.map +1 -1
- package/esm/@ui/UiGeneralAccessRadio/UiGeneralAccessRadio.js +2 -4
- package/esm/@ui/UiGranteeAsyncPicker/UiGranteeAsyncPicker.d.ts +1 -1
- package/esm/@ui/UiGranteeAsyncPicker/UiGranteeAsyncPicker.d.ts.map +1 -1
- package/esm/@ui/UiGranteeAsyncPicker/UiGranteeAsyncPicker.js +2 -5
- package/esm/@ui/UiGranteeAvatar/UiGranteeAvatar.d.ts.map +1 -1
- package/esm/@ui/UiGranteeRow/UiGranteeRow.d.ts.map +1 -1
- package/esm/@ui/UiGranteeRow/UiGranteeRow.js +1 -3
- package/esm/@ui/UiGranteeRowControls/UiGranteeRowControls.d.ts +1 -1
- package/esm/@ui/UiGranteeRowControls/UiGranteeRowControls.d.ts.map +1 -1
- package/esm/@ui/UiGranteeRowControls/UiGranteeRowControls.js +1 -2
- package/esm/@ui/UiIcon/UiIcon.d.ts +1 -1
- package/esm/@ui/UiIcon/UiIcon.d.ts.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/icons.d.ts.map +1 -1
- package/esm/@ui/UiIcon/icons.js +58 -168
- package/esm/@ui/UiIconButton/UiIconButtonRenderer.js +1 -2
- package/esm/@ui/UiInlineTextGenerator/UiInlineTextGenerator.js +1 -2
- package/esm/@ui/UiLabelChecklistRow/UiLabelChecklistRow.d.ts +1 -1
- package/esm/@ui/UiLabelChecklistRow/UiLabelChecklistRow.d.ts.map +1 -1
- package/esm/@ui/UiLabelsChecklist/UiLabelsChecklist.d.ts +2 -2
- package/esm/@ui/UiLabelsChecklist/UiLabelsChecklist.d.ts.map +1 -1
- package/esm/@ui/UiLabelsChecklist/UiLabelsChecklist.js +1 -5
- package/esm/@ui/UiLabelsList/UiLabelsList.js +1 -2
- package/esm/@ui/UiListbox/UiListbox.d.ts +1 -1
- package/esm/@ui/UiListbox/UiListbox.d.ts.map +1 -1
- package/esm/@ui/UiListbox/UiListbox.js +1 -5
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxInteractiveItemComponent.d.ts +1 -1
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxInteractiveItemComponent.d.ts.map +1 -1
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxInteractiveItemComponent.js +1 -3
- package/esm/@ui/UiListbox/defaults/firstCharacterSearch.d.ts +1 -1
- package/esm/@ui/UiListbox/defaults/firstCharacterSearch.d.ts.map +1 -1
- package/esm/@ui/UiMenu/UiMenu.js +3 -7
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuContent.js +1 -2
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuContentItem.d.ts +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuContentItem.d.ts.map +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuGroupItem.d.ts +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuGroupItem.d.ts.map +1 -1
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuGroupItem.js +1 -2
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.d.ts +2 -2
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuInteractiveItem.d.ts.map +1 -1
- package/esm/@ui/UiMenu/context.d.ts.map +1 -1
- package/esm/@ui/UiMenu/hooks.d.ts +2 -2
- package/esm/@ui/UiMenu/hooks.d.ts.map +1 -1
- package/esm/@ui/UiMenu/itemUtils.d.ts +3 -3
- package/esm/@ui/UiMenu/itemUtils.d.ts.map +1 -1
- package/esm/@ui/UiModalDialog/UiDialogBody.d.ts.map +1 -1
- package/esm/@ui/UiModalDialog/UiDialogHeader.d.ts.map +1 -1
- package/esm/@ui/UiModalDialog/UiModalDialog.d.ts +1 -1
- package/esm/@ui/UiModalDialog/UiModalDialog.d.ts.map +1 -1
- package/esm/@ui/UiNavigationBypass/UiNavigationBypass.js +1 -3
- package/esm/@ui/UiObjectShareDialog/UiObjectShareDialogCard.d.ts +1 -1
- package/esm/@ui/UiObjectShareDialog/UiObjectShareDialogCard.d.ts.map +1 -1
- package/esm/@ui/UiObjectShareDialog/UiObjectShareDialogCard.js +1 -4
- package/esm/@ui/UiPermissionMenu/UiPermissionMenu.d.ts +1 -1
- package/esm/@ui/UiPermissionMenu/UiPermissionMenu.d.ts.map +1 -1
- package/esm/@ui/UiPermissionMenu/UiPermissionMenu.js +1 -2
- package/esm/@ui/UiPopover/UiPopover.d.ts +1 -1
- package/esm/@ui/UiPopover/UiPopover.d.ts.map +1 -1
- package/esm/@ui/UiRadio/UiRadio.d.ts +1 -1
- package/esm/@ui/UiRadio/UiRadio.d.ts.map +1 -1
- package/esm/@ui/UiRadio/UiRadio.js +1 -4
- package/esm/@ui/UiRadioRow/UiRadioRow.d.ts +1 -1
- package/esm/@ui/UiRadioRow/UiRadioRow.d.ts.map +1 -1
- package/esm/@ui/UiRadioRow/UiRadioRow.js +1 -3
- package/esm/@ui/UiSearchResultsAnnouncement/UiSearchResultsAnnouncement.d.ts +1 -1
- package/esm/@ui/UiSearchResultsAnnouncement/UiSearchResultsAnnouncement.d.ts.map +1 -1
- package/esm/@ui/UiSectionHeading/UiSectionHeading.js +1 -2
- package/esm/@ui/UiSkeleton/UiSkeleton.d.ts +1 -1
- package/esm/@ui/UiSkeleton/UiSkeleton.d.ts.map +1 -1
- package/esm/@ui/UiSubmenuHeader/UiSubmenuHeader.d.ts +1 -1
- package/esm/@ui/UiSubmenuHeader/UiSubmenuHeader.d.ts.map +1 -1
- package/esm/@ui/UiTabs/context.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabs.js +1 -2
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabsButton.d.ts +2 -4
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabsButton.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsContainer.js +2 -4
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTab.d.ts +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTab.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTab.js +1 -3
- 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/DefaultUiTabsTabActionsButton.d.ts +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTabActionsButton.d.ts.map +1 -1
- package/esm/@ui/UiTabs/useTabsKeyboardNavigation.d.ts +1 -1
- package/esm/@ui/UiTabs/useTabsKeyboardNavigation.d.ts.map +1 -1
- package/esm/@ui/UiTabs/useUiTabsContextStoreValue.d.ts +1 -1
- package/esm/@ui/UiTabs/useUiTabsContextStoreValue.d.ts.map +1 -1
- package/esm/@ui/UiTag/UiTag.js +1 -2
- package/esm/@ui/UiTags/UiTags.d.ts +1 -1
- package/esm/@ui/UiTags/UiTags.d.ts.map +1 -1
- package/esm/@ui/UiTags/UiTags.js +3 -9
- package/esm/@ui/UiTags/interactions.d.ts.map +1 -1
- package/esm/@ui/UiTextInput/UiTextInput.d.ts +1 -1
- package/esm/@ui/UiTextInput/UiTextInput.d.ts.map +1 -1
- package/esm/@ui/UiTextInput/UiTextInput.js +1 -2
- package/esm/@ui/UiToast/UiToastsContainer.js +2 -4
- package/esm/@ui/UiToast/types.d.ts.map +1 -1
- package/esm/@ui/UiTooltip/UiTooltip.d.ts +1 -1
- package/esm/@ui/UiTooltip/UiTooltip.d.ts.map +1 -1
- package/esm/@ui/UiTooltip/UiTooltip.js +1 -2
- package/esm/@ui/UiTooltip/utils.d.ts +4 -4
- package/esm/@ui/UiTooltip/utils.d.ts.map +1 -1
- package/esm/@ui/UiTreeview/UITreeviewItem.js +1 -2
- package/esm/@ui/UiTreeview/UiTreeViewEvents.d.ts.map +1 -1
- package/esm/@ui/UiTreeview/UiTreeviewRoot.d.ts +1 -1
- package/esm/@ui/UiTreeview/UiTreeviewRoot.d.ts.map +1 -1
- package/esm/@ui/UiTreeview/defaults/DefaultUiTreeViewItemComponent.d.ts +1 -1
- package/esm/@ui/UiTreeview/defaults/DefaultUiTreeViewItemComponent.d.ts.map +1 -1
- package/esm/@ui/hooks/useListWithActionsKeyboardNavigation.d.ts +1 -1
- package/esm/@ui/hooks/useListWithActionsKeyboardNavigation.d.ts.map +1 -1
- package/esm/@ui/hooks/useScopedId.d.ts +1 -1
- package/esm/@ui/hooks/useScopedId.d.ts.map +1 -1
- package/esm/@ui/hooks/useVirtualizerRectObserver.d.ts.map +1 -1
- package/esm/AddButton/AddButton.d.ts +1 -1
- package/esm/AddButton/AddButton.d.ts.map +1 -1
- package/esm/AddButton/AddButton.js +1 -3
- package/esm/Bubble/Bubble.js +1 -5
- package/esm/Bubble/BubbleTrigger.js +1 -2
- package/esm/Bubble/withBubble.js +1 -3
- package/esm/Button/Button.js +1 -3
- package/esm/CatalogItemPicker/CatalogItemPickerBody.d.ts +1 -1
- package/esm/CatalogItemPicker/CatalogItemPickerBody.d.ts.map +1 -1
- package/esm/CatalogItemPicker/CatalogItemPickerBody.js +1 -3
- package/esm/CatalogItemPicker/CatalogItemPickerParts.d.ts +5 -5
- package/esm/CatalogItemPicker/CatalogItemPickerParts.d.ts.map +1 -1
- package/esm/CatalogItemPicker/CatalogItemPickerParts.js +3 -7
- package/esm/CatalogItemPicker/DateDatasetPickerItem.d.ts +1 -1
- package/esm/CatalogItemPicker/DateDatasetPickerItem.d.ts.map +1 -1
- package/esm/CatalogItemPicker/DateDatasetPickerItem.js +3 -6
- package/esm/CatalogItemPicker/messages.d.ts.map +1 -1
- package/esm/CatalogItemPicker/useAttributeItemsData.d.ts +1 -1
- package/esm/CatalogItemPicker/useAttributeItemsData.d.ts.map +1 -1
- package/esm/CatalogItemPicker/useCatalogItemPicker.d.ts +3 -3
- package/esm/CatalogItemPicker/useCatalogItemPicker.d.ts.map +1 -1
- package/esm/CatalogItemPicker/useCatalogItemPickerHandlers.d.ts +1 -1
- package/esm/CatalogItemPicker/useCatalogItemPickerHandlers.d.ts.map +1 -1
- package/esm/CatalogItemPicker/useCatalogItemPickerLabels.d.ts +1 -1
- package/esm/CatalogItemPicker/useCatalogItemPickerLabels.d.ts.map +1 -1
- package/esm/CatalogItemPicker/useCatalogItemPickerState.d.ts +2 -2
- package/esm/CatalogItemPicker/useCatalogItemPickerState.d.ts.map +1 -1
- package/esm/CatalogItemPicker/useDateDatasetSelection.d.ts +1 -1
- package/esm/CatalogItemPicker/useDateDatasetSelection.d.ts.map +1 -1
- package/esm/CatalogItemPicker/utils.d.ts +3 -3
- package/esm/CatalogItemPicker/utils.d.ts.map +1 -1
- package/esm/ChartSorting/AttributeDropdown/AttributeDropdown.d.ts +1 -1
- package/esm/ChartSorting/AttributeDropdown/AttributeDropdown.d.ts.map +1 -1
- package/esm/ChartSorting/ChartSorting.js +1 -5
- package/esm/ChartSorting/ChartSortingDropdown.d.ts +1 -1
- package/esm/ChartSorting/ChartSortingDropdown.d.ts.map +1 -1
- package/esm/ChartSorting/ChartSortingDropdown.js +1 -2
- package/esm/ChartSorting/MeasureDropdown/MeasureDropdown.d.ts +1 -1
- package/esm/ChartSorting/MeasureDropdown/MeasureDropdown.d.ts.map +1 -1
- package/esm/ChartSorting/MeasureDropdown/MeasureDropdown.js +3 -7
- package/esm/ChartSorting/types.js +1 -2
- package/esm/ColorPicker/ColorPicker.js +1 -7
- package/esm/ColorPicker/components/ColorPickerMatrix.d.ts +2 -1
- package/esm/ColorPicker/components/ColorPickerMatrix.d.ts.map +1 -1
- package/esm/ColorPicker/components/ColorPickerMatrix.js +1 -3
- package/esm/ColorPicker/components/ColorsPreview.d.ts +2 -1
- package/esm/ColorPicker/components/ColorsPreview.d.ts.map +1 -1
- package/esm/ColorPicker/components/ColorsPreview.js +2 -6
- package/esm/ColorPicker/components/HexColorInput.d.ts +2 -1
- package/esm/ColorPicker/components/HexColorInput.d.ts.map +1 -1
- package/esm/ColorPicker/components/HexColorInput.js +1 -3
- package/esm/ColorPicker/components/HueColorPicker.d.ts +1 -1
- package/esm/ColorPicker/components/HueColorPicker.d.ts.map +1 -1
- package/esm/DateDatasets/dateDatasets.d.ts.map +1 -1
- package/esm/Datepicker/Datepicker.d.ts +1 -1
- package/esm/Datepicker/Datepicker.d.ts.map +1 -1
- package/esm/Datepicker/Datepicker.js +2 -4
- package/esm/DescriptionPanel/DescriptionPanel.d.ts.map +1 -1
- package/esm/DescriptionPanel/DescriptionPanel.js +1 -3
- package/esm/DescriptionPanel/EllipsisText.js +1 -4
- package/esm/DescriptionPanel/MetadataList.js +1 -4
- package/esm/Dialog/CommunityEditionDialog.d.ts +1 -1
- package/esm/Dialog/CommunityEditionDialog.d.ts.map +1 -1
- package/esm/Dialog/CommunityEditionDialog.js +1 -3
- package/esm/Dialog/ConfirmDialogBase.js +1 -3
- package/esm/Dialog/ConfirmDialogFooter.d.ts +1 -1
- package/esm/Dialog/ConfirmDialogFooter.d.ts.map +1 -1
- package/esm/Dialog/ConfirmDialogFooter.js +1 -2
- package/esm/Dialog/CsvDelimiterPicker.d.ts +1 -1
- package/esm/Dialog/CsvDelimiterPicker.d.ts.map +1 -1
- package/esm/Dialog/CsvDelimiterPicker.js +3 -6
- package/esm/Dialog/DialogBase.js +1 -3
- package/esm/Dialog/DialogCloseButton.js +1 -5
- package/esm/Dialog/DialogList/DialogList.d.ts +1 -1
- package/esm/Dialog/DialogList/DialogList.d.ts.map +1 -1
- package/esm/Dialog/DialogList/DialogListHeader.d.ts +1 -1
- package/esm/Dialog/DialogList/DialogListHeader.d.ts.map +1 -1
- package/esm/Dialog/DialogList/DialogListHeader.js +1 -2
- package/esm/Dialog/DialogList/DialogListItemBasic.js +2 -7
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/EmbedInsightDialogBase.d.ts +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/EmbedInsightDialogBase.d.ts.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/EmbedInsightDialogBase.js +1 -2
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/CodeArea.d.ts +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/CodeArea.d.ts.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/CodeLanguageSelect.js +1 -7
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/CodeOptions.js +1 -2
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/CompleteListPropsMessage.js +1 -3
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ComponentTypeItem.d.ts +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ComponentTypeItem.d.ts.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ComponentTypeItem.js +1 -4
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ComponentTypeSelect.d.ts +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ComponentTypeSelect.d.ts.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ComponentTypeSelect.js +1 -3
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/EmbedInsightContent.d.ts +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/EmbedInsightContent.d.ts.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/EmbedInsightContent.js +1 -5
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/HeightSetting.js +1 -3
- 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/LocaleSetting.js +1 -2
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/NumericInput.js +1 -2
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/PrepareEnvMessage.js +1 -3
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ReactOptions.js +1 -3
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ToggleSwitch.d.ts +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ToggleSwitch.d.ts.map +1 -1
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ToggleSwitch.js +1 -6
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/WebComponentsOptions.js +1 -2
- package/esm/Dialog/EmbedInsightDialog/utils.d.ts.map +1 -1
- package/esm/Dialog/ExportDialogBase.js +1 -4
- package/esm/Dialog/ExportTabularPdfDialog.js +2 -5
- package/esm/Dialog/FooterButtons.js +1 -2
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.d.ts +1 -1
- package/esm/Dialog/HubspotConversionTouchPointDialogBase.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialog.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialog.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeBase.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeBase.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeBase.js +1 -3
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeContent.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeContent.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeContent.js +1 -3
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeSelect.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeSelect.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/AsyncSelectComponents.js +1 -3
- package/esm/Dialog/ShareDialog/ShareDialogBase/ComponentInteractionContext.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ComponentInteractionContext.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ComponentLabelsContext.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranteeIcons.js +2 -6
- 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/GranteeItem.js +4 -14
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranteeList.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranteeList.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeGroupItem.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeGroupItem.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeGroupItem.js +2 -4
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeUserItem.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeUserItem.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeUserItem.js +2 -5
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularPermissionsDropdown.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularPermissionsDropdown.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularPermissionsDropdownBody.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularPermissionsDropdownBody.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularPermissionsDropdownBody.js +1 -2
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/permissionsLogic.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/usePermissionsDropdownState.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeBase.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeBase.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeBase.js +1 -2
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeContent.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeContent.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeContent.js +1 -4
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareLink.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareLink.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareLink.js +2 -4
- 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/SharedObjectCheckboxControl.js +1 -3
- package/esm/Dialog/ShareDialog/ShareDialogBase/SharedObjectLockControl.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/SharedObjectLockControl.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/SharedObjectUnderLenientControl.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/SharedObjectUnderLenientControl.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/backend/loadGranteeOptionsPromise.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/backend/useGetAccessList.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/types.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/useShareDialogBase.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/utils.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/utils.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/shareDialogMappers.d.ts +2 -2
- package/esm/Dialog/ShareDialog/shareDialogMappers.d.ts.map +1 -1
- package/esm/Dialog/StylingEditorDialog/BubbleHeaderSeparator.js +1 -4
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.js +5 -18
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.d.ts +1 -1
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.d.ts.map +1 -1
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.js +1 -5
- package/esm/Dialog/StylingEditorDialog/StylingExample.js +1 -5
- package/esm/DocumentHeader/DocumentHeader.d.ts +1 -1
- package/esm/DocumentHeader/DocumentHeader.d.ts.map +1 -1
- package/esm/Dropdown/Dropdown.d.ts +1 -1
- package/esm/Dropdown/Dropdown.d.ts.map +1 -1
- package/esm/Dropdown/Dropdown.js +2 -4
- package/esm/Dropdown/DropdownButton.d.ts +1 -1
- package/esm/Dropdown/DropdownButton.d.ts.map +1 -1
- package/esm/Dropdown/DropdownInvertableSelect.js +1 -5
- package/esm/Dropdown/DropdownList.d.ts +1 -1
- package/esm/Dropdown/DropdownList.d.ts.map +1 -1
- package/esm/Dropdown/DropdownList.js +2 -4
- package/esm/Dropdown/customDictionary.d.ts.map +1 -1
- package/esm/FileUpload/FileDropzone/FileDropzone.js +2 -4
- package/esm/FileUpload/FilePickerButton/FilePickerButton.d.ts +1 -1
- package/esm/FileUpload/FilePickerButton/FilePickerButton.d.ts.map +1 -1
- package/esm/FileUpload/FilePickerButton/FilePickerButton.js +1 -3
- package/esm/FileUpload/UploadFileList/UploadFileList.js +2 -6
- package/esm/FileUpload/UploadStatusDialog/UploadStatusDialog.js +2 -7
- package/esm/FileUpload/hooks/useFileInput.d.ts.map +1 -1
- package/esm/FileUpload/hooks/useFileSelection.d.ts +1 -1
- package/esm/FileUpload/hooks/useFileSelection.d.ts.map +1 -1
- package/esm/FileUpload/hooks/useUploadQueue.d.ts +1 -1
- package/esm/FileUpload/hooks/useUploadQueue.d.ts.map +1 -1
- package/esm/FileUpload/parseAcceptedTypes.d.ts.map +1 -1
- package/esm/FileUpload/types.d.ts.map +1 -1
- package/esm/FilterGroupItem/FilterGroupItem.d.ts +1 -1
- package/esm/FilterGroupItem/FilterGroupItem.d.ts.map +1 -1
- package/esm/FilterGroupItem/FilterGroupItem.js +1 -9
- package/esm/FilterLabel/FilterLabel.js +1 -2
- package/esm/Form/Checkbox.js +1 -4
- package/esm/Form/InputPure.d.ts.map +1 -1
- package/esm/Form/InputPure.js +3 -6
- package/esm/Header/Header.d.ts +1 -1
- package/esm/Header/Header.d.ts.map +1 -1
- package/esm/Header/Header.js +6 -17
- package/esm/Header/Header.test.helpers.d.ts.map +1 -1
- package/esm/Header/HeaderAccount.d.ts +1 -1
- package/esm/Header/HeaderAccount.d.ts.map +1 -1
- package/esm/Header/HeaderAccount.js +1 -2
- package/esm/Header/HeaderBadgeWithModal.js +1 -2
- package/esm/Header/HeaderDataMenu.js +1 -2
- package/esm/Header/HeaderHelp.d.ts +1 -1
- package/esm/Header/HeaderHelp.d.ts.map +1 -1
- package/esm/Header/HeaderHelp.js +2 -4
- package/esm/Header/HeaderMenu.d.ts +2 -1
- package/esm/Header/HeaderMenu.d.ts.map +1 -1
- package/esm/Header/HeaderMenu.js +1 -2
- package/esm/Header/HeaderSearchButton.js +1 -2
- package/esm/Header/HeaderUpsellButton.js +1 -3
- package/esm/Header/HeaderWorkspacePicker.d.ts +1 -1
- package/esm/Header/HeaderWorkspacePicker.d.ts.map +1 -1
- package/esm/Header/HeaderWorkspacePickerButton.d.ts +1 -1
- package/esm/Header/HeaderWorkspacePickerButton.d.ts.map +1 -1
- package/esm/Header/HeaderWorkspacePickerItem.d.ts +1 -1
- package/esm/Header/HeaderWorkspacePickerItem.d.ts.map +1 -1
- package/esm/Header/HeaderWorkspacePickerItem.js +1 -2
- package/esm/Header/WorkspacePickerHomeFooter.d.ts +1 -1
- package/esm/Header/WorkspacePickerHomeFooter.d.ts.map +1 -1
- package/esm/Header/WorkspacePickerHomeFooter.js +1 -2
- package/esm/Icon/InsightIcon.d.ts +1 -1
- package/esm/Icon/InsightIcon.d.ts.map +1 -1
- package/esm/Icon/icons/AlertPaused.js +1 -3
- package/esm/Icon/icons/BoldHyperlink.d.ts +1 -1
- package/esm/Icon/icons/BoldHyperlink.d.ts.map +1 -1
- package/esm/Icon/icons/BoldHyperlink.js +1 -3
- package/esm/Icon/icons/ChatBubble.d.ts +1 -1
- package/esm/Icon/icons/ChatBubble.d.ts.map +1 -1
- package/esm/Icon/icons/ColumnContainer.js +1 -3
- package/esm/Icon/icons/Columns.js +1 -5
- package/esm/Icon/icons/Dashboard.js +1 -3
- package/esm/Icon/icons/Date.js +1 -5
- package/esm/Icon/icons/Ellipsis.js +1 -3
- package/esm/Icon/icons/Explore.js +1 -3
- package/esm/Icon/icons/GenAI.js +1 -3
- package/esm/Icon/icons/GenAI2.js +1 -3
- package/esm/Icon/icons/Hash.js +1 -3
- package/esm/Icon/icons/Header.js +1 -3
- package/esm/Icon/icons/Image.js +1 -3
- package/esm/Icon/icons/InsightIcons/Bubble.js +1 -3
- package/esm/Icon/icons/InsightIcons/Bullet.js +1 -3
- package/esm/Icon/icons/InsightIcons/Combo.js +1 -3
- package/esm/Icon/icons/InsightIcons/DependencyWheel.js +1 -5
- package/esm/Icon/icons/InsightIcons/Donut.js +1 -3
- package/esm/Icon/icons/InsightIcons/Funnel.js +1 -3
- package/esm/Icon/icons/InsightIcons/Geo.js +1 -3
- package/esm/Icon/icons/InsightIcons/HeadlineChart.js +1 -3
- package/esm/Icon/icons/InsightIcons/HeatMap.js +1 -3
- package/esm/Icon/icons/InsightIcons/Line.js +1 -3
- package/esm/Icon/icons/InsightIcons/Pie.js +1 -3
- package/esm/Icon/icons/InsightIcons/Pyramid.js +1 -3
- package/esm/Icon/icons/InsightIcons/Radar.js +1 -5
- package/esm/Icon/icons/InsightIcons/Repeater.js +1 -3
- package/esm/Icon/icons/InsightIcons/Sankey.js +1 -3
- package/esm/Icon/icons/InsightIcons/ScatterPlot.js +1 -3
- package/esm/Icon/icons/InsightIcons/StackedArea.js +1 -3
- package/esm/Icon/icons/InsightIcons/Table.js +1 -3
- package/esm/Icon/icons/InsightIcons/TreeMap.js +1 -3
- package/esm/Icon/icons/InsightIcons/Waterfall.js +1 -3
- package/esm/Icon/icons/InsightPicker.js +1 -3
- package/esm/Icon/icons/Keyword.js +1 -3
- package/esm/Icon/icons/Many.js +1 -3
- package/esm/Icon/icons/Metric.js +1 -3
- package/esm/Icon/icons/NewVisualization.d.ts +1 -1
- package/esm/Icon/icons/NewVisualization.d.ts.map +1 -1
- package/esm/Icon/icons/QuestionMark.d.ts +1 -1
- package/esm/Icon/icons/QuestionMark.d.ts.map +1 -1
- package/esm/Icon/icons/RichText.js +1 -3
- package/esm/Icon/icons/Rows.js +1 -3
- package/esm/Icon/icons/SimplifiedDashboard.js +1 -3
- package/esm/Icon/icons/User.d.ts +1 -1
- package/esm/Icon/icons/User.d.ts.map +1 -1
- package/esm/Icon/icons/User.js +1 -3
- package/esm/Icon/icons/UserGroup.d.ts +1 -1
- package/esm/Icon/icons/UserGroup.d.ts.map +1 -1
- package/esm/Icon/icons/UserGroup.js +1 -3
- package/esm/Icon/utils.d.ts +1 -1
- package/esm/Icon/utils.d.ts.map +1 -1
- package/esm/List/AsyncList.js +1 -3
- package/esm/List/DateDatasetsListItem.d.ts +1 -1
- package/esm/List/DateDatasetsListItem.d.ts.map +1 -1
- package/esm/List/InsightListItem.d.ts +1 -1
- package/esm/List/InsightListItem.d.ts.map +1 -1
- package/esm/List/InsightListItem.js +2 -6
- package/esm/List/InsightListItemDate.js +1 -7
- package/esm/List/InvertableSelect/InvertableSelect.js +2 -4
- 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 -2
- package/esm/List/InvertableSelect/InvertableSelectItem.d.ts +1 -1
- package/esm/List/InvertableSelect/InvertableSelectItem.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectItem.js +1 -4
- package/esm/List/InvertableSelect/InvertableSelectLimitWarning.d.ts +1 -1
- package/esm/List/InvertableSelect/InvertableSelectLimitWarning.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectSearchBar.d.ts +1 -1
- package/esm/List/InvertableSelect/InvertableSelectSearchBar.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectSelectionStatus.d.ts +1 -1
- package/esm/List/InvertableSelect/InvertableSelectSelectionStatus.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectSelectionStatus.js +1 -2
- package/esm/List/InvertableSelect/InvertableSelectStatusBar.d.ts +1 -1
- package/esm/List/InvertableSelect/InvertableSelectStatusBar.d.ts.map +1 -1
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.js +2 -4
- package/esm/List/InvertableSelect/useInvertableSelect.d.ts +1 -1
- package/esm/List/InvertableSelect/useInvertableSelect.d.ts.map +1 -1
- package/esm/List/LegacyInvertableList.d.ts +1 -1
- package/esm/List/LegacyInvertableList.d.ts.map +1 -1
- package/esm/List/LegacyList.d.ts +1 -1
- package/esm/List/LegacyList.d.ts.map +1 -1
- package/esm/List/LegacyMultiSelectList.d.ts.map +1 -1
- package/esm/List/LegacyMultiSelectList.js +3 -9
- package/esm/List/LegacyMultiSelectListItem.js +1 -4
- package/esm/List/LegacySingleSelectListItem.d.ts +1 -1
- package/esm/List/LegacySingleSelectListItem.d.ts.map +1 -1
- package/esm/List/LegacySingleSelectListItem.js +1 -2
- package/esm/List/List.d.ts +1 -1
- package/esm/List/List.d.ts.map +1 -1
- package/esm/List/ListItem.js +2 -5
- package/esm/List/MenuList.d.ts +2 -2
- package/esm/List/MenuList.d.ts.map +1 -1
- package/esm/List/MultiSelectList.d.ts +1 -1
- package/esm/List/MultiSelectList.d.ts.map +1 -1
- package/esm/List/MultiSelectList.js +3 -9
- package/esm/List/MultiSelectListItem.js +1 -4
- package/esm/List/customDictionary.d.ts.map +1 -1
- package/esm/List/guid.d.ts.map +1 -1
- package/esm/LoadingSpinner/LoadingSpinner.js +1 -3
- package/esm/Menu/ControlledMenu.d.ts +1 -1
- package/esm/Menu/ControlledMenu.d.ts.map +1 -1
- package/esm/Menu/Menu.d.ts +1 -1
- package/esm/Menu/Menu.d.ts.map +1 -1
- package/esm/Menu/menuOpener/MenuOpenedByClick.js +1 -9
- package/esm/Menu/menuOpener/MenuOpenedByHover.d.ts +1 -1
- package/esm/Menu/menuOpener/MenuOpenedByHover.d.ts.map +1 -1
- package/esm/Menu/positioning/MenuPosition.d.ts +1 -1
- package/esm/Menu/positioning/MenuPosition.d.ts.map +1 -1
- package/esm/Menu/positioning/MenuPosition.js +1 -3
- package/esm/Menu/positioning/positioningCalculations.d.ts +1 -1
- package/esm/Menu/positioning/positioningCalculations.d.ts.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/Message.d.ts +1 -1
- package/esm/Messages/Message.d.ts.map +1 -1
- package/esm/Messages/toasts/ToastsCenter.d.ts +2 -2
- package/esm/Messages/toasts/ToastsCenter.d.ts.map +1 -1
- package/esm/Messages/toasts/ToastsCenter.js +1 -3
- package/esm/Messages/toasts/ToastsCenterMessage.d.ts +1 -1
- package/esm/Messages/toasts/ToastsCenterMessage.d.ts.map +1 -1
- package/esm/Messages/toasts/ToastsCenterMessage.js +2 -6
- package/esm/Messages/toasts/context.d.ts +1 -1
- package/esm/Messages/toasts/context.d.ts.map +1 -1
- package/esm/Messages/toasts/useToastMessage.d.ts.map +1 -1
- package/esm/Overlay/FullScreenOverlay.d.ts.map +1 -1
- package/esm/Overlay/Overlay.d.ts.map +1 -1
- package/esm/Overlay/Overlay.js +1 -2
- package/esm/Overlay/OverlayContext.d.ts.map +1 -1
- package/esm/Overlay/utils.d.ts +1 -1
- package/esm/Overlay/utils.d.ts.map +1 -1
- package/esm/ParameterControl/AllowedValuesParameterControlDropdown.d.ts +1 -1
- package/esm/ParameterControl/AllowedValuesParameterControlDropdown.d.ts.map +1 -1
- package/esm/ParameterControl/ParameterControlButton.d.ts +1 -1
- package/esm/ParameterControl/ParameterControlButton.d.ts.map +1 -1
- package/esm/ParameterControl/ParameterControlDropdown.d.ts +1 -1
- package/esm/ParameterControl/ParameterControlDropdown.d.ts.map +1 -1
- package/esm/ParameterControl/ParameterControlDropdown.js +2 -12
- package/esm/ParameterControl/ParameterInput.d.ts +1 -1
- package/esm/ParameterControl/ParameterInput.d.ts.map +1 -1
- package/esm/ParameterControl/ParameterInput.js +1 -4
- package/esm/ParameterPicker/ParameterPicker.d.ts +1 -1
- package/esm/ParameterPicker/ParameterPicker.d.ts.map +1 -1
- package/esm/ParameterPicker/ParameterPicker.js +5 -13
- package/esm/RecurrenceForm/CronExpression.d.ts +1 -1
- package/esm/RecurrenceForm/CronExpression.d.ts.map +1 -1
- package/esm/RecurrenceForm/CronExpression.js +2 -7
- package/esm/RecurrenceForm/CronExpressionSuggestion.d.ts +1 -1
- package/esm/RecurrenceForm/CronExpressionSuggestion.d.ts.map +1 -1
- package/esm/RecurrenceForm/DateTime.d.ts +1 -1
- package/esm/RecurrenceForm/DateTime.d.ts.map +1 -1
- package/esm/RecurrenceForm/DateTime.js +2 -7
- package/esm/RecurrenceForm/Recurrence.d.ts +1 -1
- package/esm/RecurrenceForm/Recurrence.d.ts.map +1 -1
- package/esm/RecurrenceForm/Recurrence.js +2 -5
- package/esm/RecurrenceForm/RecurrenceForm.js +1 -2
- package/esm/RecurrenceForm/RepeatTypeDescription.d.ts +1 -1
- package/esm/RecurrenceForm/RepeatTypeDescription.d.ts.map +1 -1
- package/esm/RecurrenceForm/RepeatTypeSelect.d.ts +1 -1
- package/esm/RecurrenceForm/RepeatTypeSelect.d.ts.map +1 -1
- package/esm/RecurrenceForm/constants.d.ts.map +1 -1
- package/esm/RecurrenceForm/useCronValidation.d.ts.map +1 -1
- package/esm/RecurrenceForm/useCronValidation.js +1 -2
- package/esm/RecurrenceForm/utils/simpleRecurrenceTypeMappingFn.d.ts +2 -1
- package/esm/RecurrenceForm/utils/simpleRecurrenceTypeMappingFn.d.ts.map +1 -1
- package/esm/RecurrenceForm/utils/utils.d.ts +4 -3
- package/esm/RecurrenceForm/utils/utils.d.ts.map +1 -1
- package/esm/ResponsiveText/ResponsiveText.d.ts +1 -1
- package/esm/ResponsiveText/ResponsiveText.d.ts.map +1 -1
- package/esm/RichText/RichTextWithTooltip.js +1 -12
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.d.ts.map +1 -1
- package/esm/RichText/plugins/rehype-references.d.ts.map +1 -1
- package/esm/RichText/plugins/remark-references.d.ts.map +1 -1
- package/esm/ScrollGradient/ScrollGradient.d.ts +1 -1
- package/esm/ScrollGradient/ScrollGradient.d.ts.map +1 -1
- package/esm/ScrollGradient/ScrollGradient.js +1 -3
- package/esm/ScrollablePanel/ScrollContext.d.ts +3 -3
- package/esm/ScrollablePanel/ScrollContext.d.ts.map +1 -1
- package/esm/ScrollablePanel/ScrollableItem.d.ts +1 -1
- package/esm/ScrollablePanel/ScrollableItem.d.ts.map +1 -1
- package/esm/SeparatorLine/SeparatorLine.d.ts +1 -1
- package/esm/SeparatorLine/SeparatorLine.d.ts.map +1 -1
- package/esm/SettingItem/SettingItem.d.ts +1 -1
- package/esm/SettingItem/SettingItem.d.ts.map +1 -1
- package/esm/SettingItem/SettingItem.js +2 -11
- package/esm/SettingWidget/FooterButtons.js +1 -2
- package/esm/SettingWidget/SimpleSettingsWidget/SimpleSettingWidget.d.ts +1 -1
- package/esm/SettingWidget/SimpleSettingsWidget/SimpleSettingWidget.d.ts.map +1 -1
- package/esm/SettingWidget/SimpleSettingsWidget/SimpleSettingWidget.js +1 -4
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingBody.d.ts +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingBody.d.ts.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingBody.js +2 -8
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingList.d.ts +1 -1
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingList.d.ts.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 +1 -6
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingWidget.js +1 -5
- package/esm/SettingWidget/StylingSettingWidget/utils.d.ts.map +1 -1
- package/esm/SettingWidget/TooltipIcon.d.ts +1 -1
- package/esm/SettingWidget/TooltipIcon.d.ts.map +1 -1
- package/esm/SettingWidget/TooltipIcon.js +1 -3
- package/esm/SettingWidget/constants.d.ts.map +1 -1
- package/esm/ShortenedText/ShortenedText.js +2 -5
- package/esm/Tabs/Tabs.d.ts +1 -1
- package/esm/Tabs/Tabs.d.ts.map +1 -1
- package/esm/TextAreaWithSubmit/TextAreaWithSubmit.d.ts +1 -1
- package/esm/TextAreaWithSubmit/TextAreaWithSubmit.d.ts.map +1 -1
- package/esm/Timepicker/Timepicker.d.ts +1 -1
- package/esm/Timepicker/Timepicker.d.ts.map +1 -1
- package/esm/Timezone/TimezoneSelect.d.ts +1 -1
- package/esm/Timezone/TimezoneSelect.d.ts.map +1 -1
- package/esm/WidgetNotice/WidgetNotice.d.ts +1 -1
- package/esm/WidgetNotice/WidgetNotice.d.ts.map +1 -1
- package/esm/WidgetNotice/WidgetNotice.js +1 -6
- package/esm/ZoomContext/ZoomContext.d.ts.map +1 -1
- package/esm/locales.d.ts.map +1 -1
- package/esm/measureNumberFormat/MeasureNumberFormat.js +1 -2
- package/esm/measureNumberFormat/customFormatDialog/CustomFormatDialog.d.ts +5 -3
- package/esm/measureNumberFormat/customFormatDialog/CustomFormatDialog.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/CustomFormatDialog.js +1 -7
- package/esm/measureNumberFormat/customFormatDialog/DocumentationLink.js +1 -3
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.js +1 -4
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.js +1 -6
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.js +1 -3
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.js +1 -2
- package/esm/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.js +2 -5
- package/esm/measureNumberFormat/customFormatDialog/previewSection/Preview.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/Preview.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/Preview.js +1 -5
- package/esm/measureNumberFormat/customFormatDialog/shared/FormattedPreview.d.ts +2 -2
- package/esm/measureNumberFormat/customFormatDialog/shared/FormattedPreview.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/shared/PreviewRows.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/shared/PreviewRows.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/shared/PreviewRows.js +1 -3
- package/esm/measureNumberFormat/hooks/useCurrencyFormatDefaults.d.ts +1 -1
- package/esm/measureNumberFormat/hooks/useCurrencyFormatDefaults.d.ts.map +1 -1
- package/esm/measureNumberFormat/hooks/useMetricTypePresets.d.ts +1 -1
- package/esm/measureNumberFormat/hooks/useMetricTypePresets.d.ts.map +1 -1
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdown.d.ts +5 -3
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdown.d.ts.map +1 -1
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdownItem.d.ts +1 -1
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdownItem.d.ts.map +1 -1
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdownItem.js +1 -2
- package/esm/measureNumberFormat/typings.js +1 -2
- package/esm/responsive/ResponsiveContext.d.ts.map +1 -1
- package/esm/responsive/interfaces.d.ts +4 -0
- package/esm/responsive/interfaces.d.ts.map +1 -1
- package/esm/responsive/interfaces.js +1 -1
- package/esm/responsive/useMediaQuery.d.ts.map +1 -1
- package/esm/responsive/useMediaQuery.js +2 -1
- package/esm/sdk-ui-kit.d.ts +157 -155
- package/esm/syntaxHighlightingInput/SyntaxHighlightingInput.d.ts +1 -1
- package/esm/syntaxHighlightingInput/SyntaxHighlightingInput.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useAutocompletion.d.ts +1 -1
- package/esm/syntaxHighlightingInput/hooks/useAutocompletion.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useChangeHandler.d.ts +1 -1
- package/esm/syntaxHighlightingInput/hooks/useChangeHandler.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirror.d.ts +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirror.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorEvents.d.ts +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorEvents.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorKeymap.d.ts +1 -1
- package/esm/syntaxHighlightingInput/hooks/useCodemirrorKeymap.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useEventHandlers.d.ts +1 -1
- package/esm/syntaxHighlightingInput/hooks/useEventHandlers.d.ts.map +1 -1
- package/esm/typings/positioning.js +1 -2
- package/esm/typings/utilities.js +1 -2
- package/esm/utils/domUtilities.d.ts +7 -7
- package/esm/utils/domUtilities.d.ts.map +1 -1
- package/esm/utils/domUtilities.js +3 -1
- package/esm/utils/events.d.ts +9 -9
- package/esm/utils/events.d.ts.map +1 -1
- package/esm/utils/overlay.d.ts +2 -2
- package/esm/utils/overlay.d.ts.map +1 -1
- package/esm/utils/positioning.d.ts.map +1 -1
- package/esm/utils/useId.d.ts +1 -1
- package/esm/utils/useId.d.ts.map +1 -1
- package/package.json +14 -14
- package/src/@ui/UiChip/UiChip.scss +6 -6
- package/src/@ui/UiIcon/UiIcon.scss +2 -1
- package/src/@ui/UiLink/UiLink.scss +5 -6
- package/src/CatalogItemPicker/CatalogItemPicker.scss +12 -0
- package/src/FileUpload/UploadStatusDialog/UploadStatusDialog.scss +1 -2
- package/styles/css/button.css +26 -26
- package/styles/css/button.css.map +1 -1
- package/styles/css/dialog.css.map +1 -1
- package/styles/css/form.css +3 -3
- package/styles/css/header.css.map +1 -1
- package/styles/css/invertableSelect.css +1 -1
- package/styles/css/list.css +3 -3
- package/styles/css/main.css +48 -42
- package/styles/css/main.css.map +1 -1
- package/styles/css/measureNumberFormat.css +1 -1
- package/styles/css/menu.css +3 -3
- package/styles/css/messages.css +1 -1
- package/styles/css/messages.css.map +1 -1
- package/styles/css/overlay.css.map +1 -1
- package/styles/css/syntaxHighlightingInput.css +2 -2
- package/styles/scss/dialog.scss +4 -5
- package/styles/scss/header.scss +1 -2
- package/styles/scss/messages.scss +12 -12
- package/styles/scss/overlay.scss +2 -2
|
@@ -50,26 +50,18 @@ export function ParameterPicker({ parameters, excludedKeys, isLoading, maxListHe
|
|
|
50
50
|
if (isLoading) {
|
|
51
51
|
return (_jsx("div", { className: b(), "data-testid": "parameter-picker", children: _jsx("div", { className: e("loading"), "data-testid": "parameter-picker-loading", children: _jsx(LoadingSpinner, { className: "small" }) }) }));
|
|
52
52
|
}
|
|
53
|
-
return (_jsxs("div", { className: b(), "data-testid": "parameter-picker", children: [
|
|
54
|
-
_jsx("div", { className: e("search"), "data-testid": "parameter-picker-search", children: _jsx(Input, { value: search, onChange: (value) => setSearch(String(value)), placeholder: intl.formatMessage(messages.searchPlaceholder), autofocus: true, clearOnEsc: true, isSearch: true, isSmall: true }) }), groups.length === 0 ? (_jsx("div", { className: e("empty"), "data-testid": "parameter-picker-empty", children: deferredSearch.length > 0
|
|
53
|
+
return (_jsxs("div", { className: b(), "data-testid": "parameter-picker", children: [_jsx("div", { className: e("search"), "data-testid": "parameter-picker-search", children: _jsx(Input, { value: search, onChange: (value) => setSearch(String(value)), placeholder: intl.formatMessage(messages.searchPlaceholder), autofocus: true, clearOnEsc: true, isSearch: true, isSmall: true }) }), groups.length === 0 ? (_jsx("div", { className: e("empty"), "data-testid": "parameter-picker-empty", children: deferredSearch.length > 0
|
|
55
54
|
? intl.formatMessage(messages.noResults)
|
|
56
|
-
: intl.formatMessage(messages.empty) })) : (_jsx("div", { className: e("list"), style: { maxHeight: maxListHeight }, children: groups.map((group) => (_jsx(ParameterPickerGroup, { tag: group.tag, parameters: group.parameters, selectedKeys: selectedKeys, onToggle: toggle }, group.tag))) })), _jsxs("div", { className: e("footer"), children: [
|
|
57
|
-
_jsx(UiButton, { variant: "secondary", size: "small", label: intl.formatMessage(messages.cancel), dataTestId: "parameter-picker-cancel", onClick: onCancel }), _jsx(UiButton, { variant: "primary", size: "small", label: intl.formatMessage(messages.add), dataTestId: "parameter-picker-add", onClick: handleAdd, isDisabled: selectedKeys.size === 0 })
|
|
58
|
-
] })
|
|
59
|
-
] }));
|
|
55
|
+
: intl.formatMessage(messages.empty) })) : (_jsx("div", { className: e("list"), style: { maxHeight: maxListHeight }, children: groups.map((group) => (_jsx(ParameterPickerGroup, { tag: group.tag, parameters: group.parameters, selectedKeys: selectedKeys, onToggle: toggle }, group.tag))) })), _jsxs("div", { className: e("footer"), children: [_jsx(UiButton, { variant: "secondary", size: "small", label: intl.formatMessage(messages.cancel), dataTestId: "parameter-picker-cancel", onClick: onCancel }), _jsx(UiButton, { variant: "primary", size: "small", label: intl.formatMessage(messages.add), dataTestId: "parameter-picker-add", onClick: handleAdd, isDisabled: selectedKeys.size === 0 })] })] }));
|
|
60
56
|
}
|
|
61
57
|
function ParameterPickerGroup({ tag, parameters, selectedKeys, onToggle }) {
|
|
62
|
-
return (_jsxs("div", { className: e("group"), children: [
|
|
63
|
-
_jsx("div", { className: e("group-header"), children: tag }), _jsx("ul", { className: e("items"), children: parameters.map((parameter) => {
|
|
58
|
+
return (_jsxs("div", { className: e("group"), children: [_jsx("div", { className: e("group-header"), children: tag }), _jsx("ul", { className: e("items"), children: parameters.map((parameter) => {
|
|
64
59
|
const key = objRefToString(parameter.ref);
|
|
65
60
|
return (_jsx(ParameterPickerRow, { rowKey: key, title: parameter.title, isSelected: selectedKeys.has(key), onToggle: onToggle }, key));
|
|
66
|
-
}) })
|
|
67
|
-
] }));
|
|
61
|
+
}) })] }));
|
|
68
62
|
}
|
|
69
63
|
const ParameterPickerRow = memo(function ParameterPickerRow({ rowKey, title, isSelected, onToggle, }) {
|
|
70
|
-
return (_jsx("li", { className: e("item"), "data-testid": "parameter-picker-item", children: _jsxs("label", { className: e("item-label"), children: [
|
|
71
|
-
_jsx(UiCheckbox, { checked: isSelected, onChange: () => onToggle(rowKey) }), _jsx("span", { className: e("item-icon"), children: _jsx(UiIcon, { type: "parameter", size: 18, color: "currentColor" }) }), _jsx("span", { className: e("item-title"), children: title })
|
|
72
|
-
] }) }));
|
|
64
|
+
return (_jsx("li", { className: e("item"), "data-testid": "parameter-picker-item", children: _jsxs("label", { className: e("item-label"), children: [_jsx(UiCheckbox, { checked: isSelected, onChange: () => onToggle(rowKey) }), _jsx("span", { className: e("item-icon"), children: _jsx(UiIcon, { type: "parameter", size: 18, color: "currentColor" }) }), _jsx("span", { className: e("item-title"), children: title })] }) }));
|
|
73
65
|
});
|
|
74
66
|
function buildFilteredGroups(parameters, search, ungroupedLabel, collator, excludedKeys) {
|
|
75
67
|
const needle = search.toLowerCase();
|
|
@@ -11,6 +11,6 @@ interface ICronExpressionProps {
|
|
|
11
11
|
validationError?: string;
|
|
12
12
|
accessibilityConfig?: IAccessibilityConfigBase;
|
|
13
13
|
}
|
|
14
|
-
export declare function CronExpression({ expression, description, onChange, onBlur, showTimezone, timezone, disabled, validationError, accessibilityConfig }: ICronExpressionProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function CronExpression({ expression, description, onChange, onBlur, showTimezone, timezone, disabled, validationError, accessibilityConfig, }: ICronExpressionProps): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=CronExpression.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CronExpression.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/CronExpression.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAE5E,UAAU,oBAAoB;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;CAClD;AAED,wBAAgB,cAAc,CAAC,EAC3B,UAAU,EACV,WAAW,EACX,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,eAAe,EACf,mBAAmB,
|
|
1
|
+
{"version":3,"file":"CronExpression.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/CronExpression.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAE5E,UAAU,oBAAoB;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;CAClD;AAED,wBAAgB,cAAc,CAAC,EAC3B,UAAU,EACV,WAAW,EACX,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,eAAe,EACf,mBAAmB,GACtB,EAAE,oBAAoB,2CAuEtB"}
|
|
@@ -21,13 +21,8 @@ export function CronExpression({ expression, description, onChange, onBlur, show
|
|
|
21
21
|
const cronPlaceholder = "* * * * * *";
|
|
22
22
|
const hasTimezone = Boolean(showTimezone && timezone);
|
|
23
23
|
const hasDescription = Boolean(description);
|
|
24
|
-
return (_jsxs(_Fragment, { children: [
|
|
25
|
-
_jsx("div", { className: cx("gd-recurrence-form-cron s-recurrence-form-cron", {
|
|
24
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: cx("gd-recurrence-form-cron s-recurrence-form-cron", {
|
|
26
25
|
"has-error": !!validationError,
|
|
27
26
|
"is-disabled": disabled,
|
|
28
|
-
}), children: _jsx("input", { className: "gd-input-field", type: "text", onChange: handleChange, onBlur: handleBlur, value: expression, placeholder: cronPlaceholder, disabled: disabled, "aria-describedby": accessibilityConfig?.ariaDescribedBy, "aria-labelledby": accessibilityConfig?.ariaLabelledBy }) }), hasDescription || hasTimezone ? (_jsxs("div", { className: "gd-recurrence-form-repeat-type-description s-recurrence-form-repeat-type-description", children: [hasDescription && !changed ? _jsx("span", { children: description }) : null, hasTimezone ? (_jsxs(_Fragment, { children: [
|
|
29
|
-
_jsx(FormattedMessage, { id: "gs.date.at", tagName: "span" }), _jsxs(BubbleHoverTrigger, { showDelay: 0, hideDelay: 0, className: "gd-recurrence-form-timezone-wrapper", children: [
|
|
30
|
-
_jsxs("span", { className: "gd-recurrence-form-timezone", children: [" ", timezone, " ", intl.formatMessage({ id: "gs.time" })] }), _jsxs(Bubble, { className: "bubble-primary", alignPoints: [{ align: "bc tc" }], children: [timezone, " ", intl.formatMessage({ id: "gs.time" })] })
|
|
31
|
-
] })
|
|
32
|
-
] })) : null] })) : null] }));
|
|
27
|
+
}), children: _jsx("input", { className: "gd-input-field", type: "text", onChange: handleChange, onBlur: handleBlur, value: expression, placeholder: cronPlaceholder, disabled: disabled, "aria-describedby": accessibilityConfig?.ariaDescribedBy, "aria-labelledby": accessibilityConfig?.ariaLabelledBy }) }), hasDescription || hasTimezone ? (_jsxs("div", { className: "gd-recurrence-form-repeat-type-description s-recurrence-form-repeat-type-description", children: [hasDescription && !changed ? _jsx("span", { children: description }) : null, hasTimezone ? (_jsxs(_Fragment, { children: [_jsx(FormattedMessage, { id: "gs.date.at", tagName: "span" }), _jsxs(BubbleHoverTrigger, { showDelay: 0, hideDelay: 0, className: "gd-recurrence-form-timezone-wrapper", children: [_jsxs("span", { className: "gd-recurrence-form-timezone", children: [" ", timezone, " ", intl.formatMessage({ id: "gs.time" })] }), _jsxs(Bubble, { className: "bubble-primary", alignPoints: [{ align: "bc tc" }], children: [timezone, " ", intl.formatMessage({ id: "gs.time" })] })] })] })) : null] })) : null] }));
|
|
33
28
|
}
|
|
@@ -4,6 +4,6 @@ interface ICronExpressionSuggestionProps {
|
|
|
4
4
|
recurrenceType: string;
|
|
5
5
|
isWhiteLabeled?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare function CronExpressionSuggestion({ errorId, validationError, recurrenceType, isWhiteLabeled }: ICronExpressionSuggestionProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export declare function CronExpressionSuggestion({ errorId, validationError, recurrenceType, isWhiteLabeled, }: ICronExpressionSuggestionProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=CronExpressionSuggestion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CronExpressionSuggestion.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/CronExpressionSuggestion.tsx"],"names":[],"mappings":"AAeA,UAAU,8BAA8B;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAuBD,wBAAgB,wBAAwB,CAAC,EACrC,OAAO,EACP,eAAe,EACf,cAAc,EACd,cAAc,
|
|
1
|
+
{"version":3,"file":"CronExpressionSuggestion.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/CronExpressionSuggestion.tsx"],"names":[],"mappings":"AAeA,UAAU,8BAA8B;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAuBD,wBAAgB,wBAAwB,CAAC,EACrC,OAAO,EACP,eAAe,EACf,cAAc,EACd,cAAc,GACjB,EAAE,8BAA8B,kDAqBhC"}
|
|
@@ -12,6 +12,6 @@ interface IDateTimeProps {
|
|
|
12
12
|
closeOnParentScroll?: boolean;
|
|
13
13
|
onKeyDownSubmit?: (e: KeyboardEvent) => void;
|
|
14
14
|
}
|
|
15
|
-
export declare function DateTime({ label, date, dateFormat, locale, timezone, onDateChange, weekStart, timeFormat, closeOnParentScroll, onKeyDownSubmit }: IDateTimeProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function DateTime({ label, date, dateFormat, locale, timezone, onDateChange, weekStart, timeFormat, closeOnParentScroll, onKeyDownSubmit, }: IDateTimeProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=DateTime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTime.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/DateTime.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAe,MAAM,OAAO,CAAC;AAKxD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAerD,UAAU,cAAc;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1D,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;CAChD;AAOD,wBAAgB,QAAQ,CAAC,EACrB,KAAK,EACL,IAAI,EACJ,UAAU,EACV,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,eAAe,
|
|
1
|
+
{"version":3,"file":"DateTime.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/DateTime.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAe,MAAM,OAAO,CAAC;AAKxD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAerD,UAAU,cAAc;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1D,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;CAChD;AAOD,wBAAgB,QAAQ,CAAC,EACrB,KAAK,EACL,IAAI,EACJ,UAAU,EACV,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,eAAe,GAClB,EAAE,cAAc,2CAyIhB"}
|
|
@@ -59,14 +59,9 @@ export function DateTime({ label, date, dateFormat, locale, timezone, onDateChan
|
|
|
59
59
|
const datePickerClassNames = cx("gd-recurrence-form-datetime-date s-recurrence-form-datetime-date", {
|
|
60
60
|
"has-error": !isValid,
|
|
61
61
|
});
|
|
62
|
-
return (_jsx(ValidationContextStore, { value: validationContextValue, children: _jsxs("div", { className: "gd-recurrence-form-datetime s-recurrence-form-datetime gd-input-component", children: [
|
|
63
|
-
_jsx("div", { className: "gd-label", children: label }), _jsxs("div", { className: "gd-recurrence-form-datetime-inner", children: [
|
|
64
|
-
_jsxs("div", { className: "gd-recurrence-form-date", children: [
|
|
65
|
-
_jsx(Datepicker, { className: datePickerClassNames, date: date ?? undefined, dateFormat: dateFormat, locale: locale, placeholder: dateFormat, onChange: handleDateChange, onValidateInput: handleDateValidate, onBlur: handleDateBlur, weekStart: weekStart ?? undefined, accessibilityConfig: {
|
|
62
|
+
return (_jsx(ValidationContextStore, { value: validationContextValue, children: _jsxs("div", { className: "gd-recurrence-form-datetime s-recurrence-form-datetime gd-input-component", children: [_jsx("div", { className: "gd-label", children: label }), _jsxs("div", { className: "gd-recurrence-form-datetime-inner", children: [_jsxs("div", { className: "gd-recurrence-form-date", children: [_jsx(Datepicker, { className: datePickerClassNames, date: date ?? undefined, dateFormat: dateFormat, locale: locale, placeholder: dateFormat, onChange: handleDateChange, onValidateInput: handleDateValidate, onBlur: handleDateBlur, weekStart: weekStart ?? undefined, accessibilityConfig: {
|
|
66
63
|
ariaDescribedBy: isValid
|
|
67
64
|
? dateFormatId
|
|
68
65
|
: invalidDatapoints.map((d) => d.id).join(" "),
|
|
69
|
-
}, onDateInputKeyDown: handleOnDateInputKeyDown }), isValid ? (_jsx("span", { className: "gd-recurrence-form-datetime-help", id: dateFormatId, children: _jsx(FormattedMessage, { id: "recurrence.datetime.format.help", values: { dateFormat } }) })) : (_jsx(_Fragment, { children: invalidDatapoints.map((datapoint) => (_jsx("span", { id: datapoint.id, className: "gd-recurrence-form-datetime-error-message", children: datapoint.message }, datapoint.id))) }))] }), _jsx(Timepicker, { className: "gd-recurrence-form-datetime-time s-recurrence-form-datetime-time", time: date, onChange: handleTimeChange, overlayPositionType: "sameAsTarget", overlayZIndex: DEFAULT_DROPDOWN_ZINDEX, timeAnchor: TIME_ANCHOR, timeFormat: timeFormat, closeOnParentScroll: closeOnParentScroll, ariaDescribedBy: timezone ? timezoneId : undefined })
|
|
70
|
-
] }), timezone ? (_jsxs("div", { className: "gd-recurrence-form-datetime-timezone s-recurrence-form-datetime-timezone", children: [
|
|
71
|
-
_jsx("div", { className: "sr-only", id: timezoneId, children: _jsx(FormattedMessage, { id: "recurrence.datetime.timezone.help", values: { timezone } }) }), timezone] })) : null] }) }));
|
|
66
|
+
}, onDateInputKeyDown: handleOnDateInputKeyDown }), isValid ? (_jsx("span", { className: "gd-recurrence-form-datetime-help", id: dateFormatId, children: _jsx(FormattedMessage, { id: "recurrence.datetime.format.help", values: { dateFormat } }) })) : (_jsx(_Fragment, { children: invalidDatapoints.map((datapoint) => (_jsx("span", { id: datapoint.id, className: "gd-recurrence-form-datetime-error-message", children: datapoint.message }, datapoint.id))) }))] }), _jsx(Timepicker, { className: "gd-recurrence-form-datetime-time s-recurrence-form-datetime-time", time: date, onChange: handleTimeChange, overlayPositionType: "sameAsTarget", overlayZIndex: DEFAULT_DROPDOWN_ZINDEX, timeAnchor: TIME_ANCHOR, timeFormat: timeFormat, closeOnParentScroll: closeOnParentScroll, ariaDescribedBy: timezone ? timezoneId : undefined })] }), timezone ? (_jsxs("div", { className: "gd-recurrence-form-datetime-timezone s-recurrence-form-datetime-timezone", children: [_jsx("div", { className: "sr-only", id: timezoneId, children: _jsx(FormattedMessage, { id: "recurrence.datetime.timezone.help", values: { timezone } }) }), timezone] })) : null] }) }));
|
|
72
67
|
}
|
|
@@ -29,5 +29,5 @@ export interface IRecurrenceProps {
|
|
|
29
29
|
* Recurrence component is used to select recurrence type and set cron expression.
|
|
30
30
|
* @param props - IRecurrenceProps
|
|
31
31
|
*/
|
|
32
|
-
export declare function Recurrence({ label, recurrenceType, inheritRecurrenceType, startDate, cronValue, cronPlaceholder, cronDescription, timezone, onRepeatTypeChange, onCronValueChange, allowHourlyRecurrence, showTimezoneInOccurrence, showRepeatTypeDescription, showInheritValue, isWhiteLabeled, weekStart, onRecurrenceDropdownOpen, closeOnParentScroll }: IRecurrenceProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare function Recurrence({ label, recurrenceType, inheritRecurrenceType, startDate, cronValue, cronPlaceholder, cronDescription, timezone, onRepeatTypeChange, onCronValueChange, allowHourlyRecurrence, showTimezoneInOccurrence, showRepeatTypeDescription, showInheritValue, isWhiteLabeled, weekStart, onRecurrenceDropdownOpen, closeOnParentScroll, }: IRecurrenceProps): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
//# sourceMappingURL=Recurrence.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Recurrence.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/Recurrence.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AASrD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAGjD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,qBAAqB,CAAC,EAAE,cAAc,CAAC;IACvC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,kBAAkB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACjE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACvB,KAAK,EACL,cAAc,EACd,qBAAqB,EACrB,SAAS,EACT,SAAS,EACT,eAAe,EACf,eAAe,EACf,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,EACxB,yBAAyB,EACzB,gBAAgB,EAChB,cAAc,EACd,SAAoB,EACpB,wBAAwB,EACxB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"Recurrence.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/Recurrence.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AASrD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAGjD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,qBAAqB,CAAC,EAAE,cAAc,CAAC;IACvC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,kBAAkB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACjE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACvB,KAAK,EACL,cAAc,EACd,qBAAqB,EACrB,SAAS,EACT,SAAS,EACT,eAAe,EACf,eAAe,EACf,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,EACxB,yBAAyB,EACzB,gBAAgB,EAChB,cAAc,EACd,SAAoB,EACpB,wBAAwB,EACxB,mBAAmB,GACtB,EAAE,gBAAgB,2CA8ElB"}
|
|
@@ -29,11 +29,8 @@ export function Recurrence({ label, recurrenceType, inheritRecurrenceType, start
|
|
|
29
29
|
(isInherit && inheritRecurrenceType === RECURRENCE_TYPES.CRON);
|
|
30
30
|
const isSpecified = recurrenceType !== RECURRENCE_TYPES.CRON ||
|
|
31
31
|
(isInherit && inheritRecurrenceType !== RECURRENCE_TYPES.CRON);
|
|
32
|
-
return (_jsxs(_Fragment, { children: [
|
|
33
|
-
_jsxs("div", { className: recurrenceFormClasses, children: [label ? (_jsx("label", { htmlFor: labelId, className: "gd-label", children: label })) : null, _jsxs("div", { className: "gd-recurrence-form-repeat-inner", children: [
|
|
34
|
-
_jsx(RepeatTypeSelect, { id: labelId, repeatType: recurrenceType, startDate: startDate, onChange: onRepeatTypeChange, allowHourlyRecurrence: allowHourlyRecurrence, showInheritValue: showInheritValue, onRepeatDropdownOpen: onRecurrenceDropdownOpen, closeOnParentScroll: closeOnParentScroll }), isSpecified && showRepeatTypeDescription ? (_jsx(RepeatTypeDescription, { repeatType: isInherit ? (inheritRecurrenceType ?? "") : recurrenceType, startDate: startDate, weekStart: weekStart, timezone: timezone ?? "", showTimezone: Boolean(showTimezoneInOccurrence && !isInherit) })) : null, isCron ? (_jsx(CronExpression, { expression: isInherit ? (cronPlaceholder ?? "") : (cronValue ?? ""), description: cronDescription, onChange: handleChange, allowHourlyRecurrence: allowHourlyRecurrence, timezone: timezone ?? "", showTimezone: showTimezoneInOccurrence, validationError: cronError ?? undefined, onBlur: handleOnBlur, accessibilityConfig: {
|
|
32
|
+
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: recurrenceFormClasses, children: [label ? (_jsx("label", { htmlFor: labelId, className: "gd-label", children: label })) : null, _jsxs("div", { className: "gd-recurrence-form-repeat-inner", children: [_jsx(RepeatTypeSelect, { id: labelId, repeatType: recurrenceType, startDate: startDate, onChange: onRepeatTypeChange, allowHourlyRecurrence: allowHourlyRecurrence, showInheritValue: showInheritValue, onRepeatDropdownOpen: onRecurrenceDropdownOpen, closeOnParentScroll: closeOnParentScroll }), isSpecified && showRepeatTypeDescription ? (_jsx(RepeatTypeDescription, { repeatType: isInherit ? (inheritRecurrenceType ?? "") : recurrenceType, startDate: startDate, weekStart: weekStart, timezone: timezone ?? "", showTimezone: Boolean(showTimezoneInOccurrence && !isInherit) })) : null, isCron ? (_jsx(CronExpression, { expression: isInherit ? (cronPlaceholder ?? "") : (cronValue ?? ""), description: cronDescription, onChange: handleChange, allowHourlyRecurrence: allowHourlyRecurrence, timezone: timezone ?? "", showTimezone: showTimezoneInOccurrence, validationError: cronError ?? undefined, onBlur: handleOnBlur, accessibilityConfig: {
|
|
35
33
|
ariaDescribedBy: cronError ? errorId : undefined,
|
|
36
34
|
ariaLabelledBy: labelId,
|
|
37
|
-
}, disabled: isInherit })) : null] })
|
|
38
|
-
] }), isInherit ? null : (_jsx(CronExpressionSuggestion, { errorId: errorId, validationError: cronError, recurrenceType: recurrenceType, isWhiteLabeled: isWhiteLabeled }))] }));
|
|
35
|
+
}, disabled: isInherit })) : null] })] }), isInherit ? null : (_jsx(CronExpressionSuggestion, { errorId: errorId, validationError: cronError, recurrenceType: recurrenceType, isWhiteLabeled: isWhiteLabeled }))] }));
|
|
39
36
|
}
|
|
@@ -33,8 +33,7 @@ function RecurrenceFormCore({ startDate = null, cronExpression = "", cronDescrip
|
|
|
33
33
|
setCronValue(cron);
|
|
34
34
|
onChange(cron, dateValue, isValid);
|
|
35
35
|
}, [dateValue, onChange]);
|
|
36
|
-
return (_jsxs("div", { className: cx("gd-recurrence-form s-recurrence-form", className), children: [Boolean(startDate) && (_jsx(DateTime, { label: startLabel ?? intl.formatMessage({ id: messages["starts"].id }), date: dateValue, onDateChange: onDateChange, locale: locale, dateFormat: dateFormat, timezone: timezone, weekStart: weekStart, timeFormat: timeFormat, closeOnParentScroll: closeDropdownsOnParentScroll, onKeyDownSubmit: onKeyDownSubmit })), _jsx(Recurrence, { label: repeatLabel ?? intl.formatMessage({ id: messages["repeats"].id }), showRepeatTypeDescription: showRepeatTypeDescription, recurrenceType: recurrenceType, inheritRecurrenceType: inheritRecurrenceType, startDate: dateValue, cronValue: cronValue, cronPlaceholder: placeholder, cronDescription: cronDescription, onRepeatTypeChange: onRepeatTypeChange, onCronValueChange: onCronValueChange, allowHourlyRecurrence: allowHourlyRecurrence, weekStart: weekStart, timezone: timezone, showInheritValue: showInheritValue, showTimezoneInOccurrence: showTimezoneInOccurrence, onRecurrenceDropdownOpen: onRecurrenceDropdownOpen, isWhiteLabeled: isWhiteLabeled, closeOnParentScroll: closeDropdownsOnParentScroll })
|
|
37
|
-
] }));
|
|
36
|
+
return (_jsxs("div", { className: cx("gd-recurrence-form s-recurrence-form", className), children: [Boolean(startDate) && (_jsx(DateTime, { label: startLabel ?? intl.formatMessage({ id: messages["starts"].id }), date: dateValue, onDateChange: onDateChange, locale: locale, dateFormat: dateFormat, timezone: timezone, weekStart: weekStart, timeFormat: timeFormat, closeOnParentScroll: closeDropdownsOnParentScroll, onKeyDownSubmit: onKeyDownSubmit })), _jsx(Recurrence, { label: repeatLabel ?? intl.formatMessage({ id: messages["repeats"].id }), showRepeatTypeDescription: showRepeatTypeDescription, recurrenceType: recurrenceType, inheritRecurrenceType: inheritRecurrenceType, startDate: dateValue, cronValue: cronValue, cronPlaceholder: placeholder, cronDescription: cronDescription, onRepeatTypeChange: onRepeatTypeChange, onCronValueChange: onCronValueChange, allowHourlyRecurrence: allowHourlyRecurrence, weekStart: weekStart, timezone: timezone, showInheritValue: showInheritValue, showTimezoneInOccurrence: showTimezoneInOccurrence, onRecurrenceDropdownOpen: onRecurrenceDropdownOpen, isWhiteLabeled: isWhiteLabeled, closeOnParentScroll: closeDropdownsOnParentScroll })] }));
|
|
38
37
|
}
|
|
39
38
|
/**
|
|
40
39
|
* @internal
|
|
@@ -7,6 +7,6 @@ interface IRepeatTypeDescriptionProps {
|
|
|
7
7
|
timezone?: string;
|
|
8
8
|
showTimezone?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare function RepeatTypeDescription({ repeatType, startDate, weekStart, timezone, showTimezone }: IRepeatTypeDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function RepeatTypeDescription({ repeatType, startDate, weekStart, timezone, showTimezone, }: IRepeatTypeDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=RepeatTypeDescription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RepeatTypeDescription.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/RepeatTypeDescription.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAGjD,UAAU,2BAA2B;IACjC,UAAU,EAAE,cAAc,CAAC;IAC3B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,qBAAqB,CAAC,EAClC,UAAU,EACV,SAAS,EACT,SAAS,EACT,QAAQ,EACR,YAAY,
|
|
1
|
+
{"version":3,"file":"RepeatTypeDescription.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/RepeatTypeDescription.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAGjD,UAAU,2BAA2B;IACjC,UAAU,EAAE,cAAc,CAAC;IAC3B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,qBAAqB,CAAC,EAClC,UAAU,EACV,SAAS,EACT,SAAS,EACT,QAAQ,EACR,YAAY,GACf,EAAE,2BAA2B,2CAqB7B"}
|
|
@@ -9,5 +9,5 @@ export interface IRepeatTypeSelectProps {
|
|
|
9
9
|
onRepeatDropdownOpen?: () => void;
|
|
10
10
|
closeOnParentScroll?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare function RepeatTypeSelect({ id, onChange, repeatType, startDate, allowHourlyRecurrence, showInheritValue, onRepeatDropdownOpen, closeOnParentScroll }: IRepeatTypeSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare function RepeatTypeSelect({ id, onChange, repeatType, startDate, allowHourlyRecurrence, showInheritValue, onRepeatDropdownOpen, closeOnParentScroll, }: IRepeatTypeSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
//# sourceMappingURL=RepeatTypeSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RepeatTypeSelect.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/RepeatTypeSelect.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAkGjD,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,cAAc,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,wBAAgB,gBAAgB,CAAC,EAC7B,EAAE,EACF,QAAQ,EACR,UAAU,EACV,SAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"RepeatTypeSelect.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/RepeatTypeSelect.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAkGjD,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,cAAc,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,wBAAgB,gBAAgB,CAAC,EAC7B,EAAE,EACF,QAAQ,EACR,UAAU,EACV,SAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,GACtB,EAAE,sBAAsB,2CAgFxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,KAAK,CAAC;AAE9B,eAAO,MAAM,cAAc,UAAU,CAAC;AACtC,eAAO,MAAM,mBAAmB,eAAe,CAAC;AAChD,eAAO,MAAM,kBAAkB,WAAW,CAAC;AAC3C,eAAO,MAAM,mBAAmB,UAAU,CAAC;AAE3C,eAAO,MAAM,6BAA6B;;GAOzC,CAAC;AACF,eAAO,MAAM,uBAAuB,OAAO,CAAC;AAC5C,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAE1C;;;GAGG;AACH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,KAAK,CAAC;AAE9B,eAAO,MAAM,cAAc,UAAU,CAAC;AACtC,eAAO,MAAM,mBAAmB,eAAe,CAAC;AAChD,eAAO,MAAM,kBAAkB,WAAW,CAAC;AAC3C,eAAO,MAAM,mBAAmB,UAAU,CAAC;AAE3C,eAAO,MAAM,6BAA6B;;GAOzC,CAAC;AACF,eAAO,MAAM,uBAAuB,OAAO,CAAC;AAC5C,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAE1C;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IACzB,OAAO;IACP,MAAM;IACN,KAAK;IACL,MAAM;IACN,OAAO;IACP,IAAI;CACP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCronValidation.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/useCronValidation.ts"],"names":[],"mappings":"AASA,oBAAY,4BAA4B;IACpC,KAAK,UAAU;IACf,YAAY,iBAAiB;IAC7B,kBAAkB,uBAAuB;CAC5C;AAQD,UAAU,uBAAuB;IAC7B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACpE;AAED,UAAU,wBAAwB;IAC9B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,YAAY,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAeD,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"useCronValidation.d.ts","sourceRoot":"","sources":["../../src/RecurrenceForm/useCronValidation.ts"],"names":[],"mappings":"AASA,oBAAY,4BAA4B;IACpC,KAAK,UAAU;IACf,YAAY,iBAAiB;IAC7B,kBAAkB,uBAAuB;CAC5C;AAQD,UAAU,uBAAuB;IAC7B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACpE;AAED,UAAU,wBAAwB;IAC9B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,YAAY,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAeD,eAAO,MAAM,iBAAiB,UAAW,uBAAuB,KAAG,wBA2ElE,CAAC"}
|
|
@@ -3,8 +3,7 @@ import { useCallback, useState } from "react";
|
|
|
3
3
|
import * as cronParser from "cron-parser";
|
|
4
4
|
import { defineMessages } from "react-intl";
|
|
5
5
|
import { isCronExpressionValid } from "./utils/utils.js";
|
|
6
|
-
export
|
|
7
|
-
var RecurrenceFormCronErrorTypes;
|
|
6
|
+
export var RecurrenceFormCronErrorTypes;
|
|
8
7
|
(function (RecurrenceFormCronErrorTypes) {
|
|
9
8
|
RecurrenceFormCronErrorTypes["EMPTY"] = "EMPTY";
|
|
10
9
|
RecurrenceFormCronErrorTypes["WRONG_FORMAT"] = "WRONG_FORMAT";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type WeekStart } from "@gooddata/sdk-model";
|
|
2
|
+
import { type RecurrenceType } from "../types.js";
|
|
2
3
|
/**
|
|
3
4
|
* Simple recurrence type mapping function.
|
|
4
5
|
*
|
|
@@ -9,5 +10,5 @@ import { type WeekStart } from "@gooddata/sdk-model";
|
|
|
9
10
|
*
|
|
10
11
|
* @internal
|
|
11
12
|
*/
|
|
12
|
-
export declare const simpleRecurrenceTypeMappingFn: (_date?: Date | null
|
|
13
|
+
export declare const simpleRecurrenceTypeMappingFn: (_date?: Date | null, cronExpression?: string, allowHourlyRecurrence?: boolean, _showInheritValue?: boolean, weekStart?: WeekStart) => RecurrenceType;
|
|
13
14
|
//# sourceMappingURL=simpleRecurrenceTypeMappingFn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simpleRecurrenceTypeMappingFn.d.ts","sourceRoot":"","sources":["../../../src/RecurrenceForm/utils/simpleRecurrenceTypeMappingFn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"simpleRecurrenceTypeMappingFn.d.ts","sourceRoot":"","sources":["../../../src/RecurrenceForm/utils/simpleRecurrenceTypeMappingFn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGrD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAuClD;;;;;;;;;GASG;AACH,eAAO,MAAM,6BAA6B,WAC9B,IAAI,GAAG,IAAI,mBACF,MAAM,0BACC,OAAO,sBACX,OAAO,cACf,SAAS,KACtB,cA0BF,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { type IntlShape } from "react-intl";
|
|
2
2
|
import { type WeekStart } from "@gooddata/sdk-model";
|
|
3
|
+
import { type RecurrenceType } from "../types.js";
|
|
3
4
|
export declare function getIntlDayName(intl: IntlShape, startDate: Date | null): string | null;
|
|
4
5
|
export declare function getWeekNumber(date: Date | null): number;
|
|
5
6
|
export declare function isLastOccurrenceOfWeekdayInMonth(date: Date | null): boolean;
|
|
6
|
-
export declare const constructCronExpression: (date: Date | null, recurrenceType:
|
|
7
|
+
export declare const constructCronExpression: (date: Date | null, recurrenceType: RecurrenceType, cronExpression: string, weekStart: WeekStart) => string | undefined;
|
|
7
8
|
/**
|
|
8
9
|
* Transforms cron expression to recurrence type
|
|
9
10
|
* @internal
|
|
@@ -14,7 +15,7 @@ export declare const constructCronExpression: (date: Date | null, recurrenceType
|
|
|
14
15
|
* @param allowInheritValue - whether inherit value is allowed
|
|
15
16
|
* @param weekStart - Week start day
|
|
16
17
|
*/
|
|
17
|
-
export declare const transformCronExpressionToRecurrenceType: (date: Date | null, cronExpression: string | undefined, allowHourlyRecurrence: boolean, allowInheritValue: boolean, weekStart: WeekStart) =>
|
|
18
|
-
export declare const transformRecurrenceTypeToDescription: (intl: IntlShape, recurrenceType:
|
|
18
|
+
export declare const transformCronExpressionToRecurrenceType: (date: Date | null, cronExpression: string | undefined, allowHourlyRecurrence: boolean, allowInheritValue: boolean, weekStart: WeekStart) => RecurrenceType;
|
|
19
|
+
export declare const transformRecurrenceTypeToDescription: (intl: IntlShape, recurrenceType: RecurrenceType, startDate: Date | null, weekStart: WeekStart) => string;
|
|
19
20
|
export declare const isCronExpressionValid: (expression: string | undefined, allowHourlyRecurrence: boolean) => boolean;
|
|
20
21
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/RecurrenceForm/utils/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/RecurrenceForm/utils/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlD,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAKrF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,MAAM,CAKvD;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAgB3E;AAaD,eAAO,MAAM,uBAAuB,SAC1B,IAAI,GAAG,IAAI,kBACD,cAAc,kBACd,MAAM,aACX,SAAS,uBA+BvB,CAAC;AAQF;;;;;;;;;GASG;AACH,eAAO,MAAM,uCAAuC,SAC1C,IAAI,GAAG,IAAI,kBACD,MAAM,GAAG,SAAS,yBACX,OAAO,qBACX,OAAO,aACf,SAAS,KACrB,cA4DF,CAAC;AAEF,eAAO,MAAM,oCAAoC,SACvC,SAAS,kBACC,cAAc,aACnB,IAAI,GAAG,IAAI,aACX,SAAS,KACrB,MAsDF,CAAC;AAEF,eAAO,MAAM,qBAAqB,eAClB,MAAM,GAAG,SAAS,yBACP,OAAO,KAC/B,OAcF,CAAC"}
|
|
@@ -23,5 +23,5 @@ export interface IResponsiveTextProps {
|
|
|
23
23
|
/**
|
|
24
24
|
* @internal
|
|
25
25
|
*/
|
|
26
|
-
export declare function ResponsiveText({ tagName: Tag, tagClassName, title, children, windowResizeRefreshDelay, window: windowInstance, minFontSize, includeHeightCheck }: IResponsiveTextProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare function ResponsiveText({ tagName: Tag, tagClassName, title, children, windowResizeRefreshDelay, window: windowInstance, minFontSize, includeHeightCheck, }: IResponsiveTextProps): import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
//# sourceMappingURL=ResponsiveText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponsiveText.d.ts","sourceRoot":"","sources":["../../src/ResponsiveText/ResponsiveText.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAkD,MAAM,OAAO,CAAC;AAIvF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,OAAO,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,CAAC;IACzE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QACL,gBAAgB,EAAE,MAAM,CAAC,kBAAkB,CAAC,CAAC;QAC7C,gBAAgB,EAAE,MAAM,CAAC,kBAAkB,CAAC,CAAC;QAC7C,mBAAmB,EAAE,MAAM,CAAC,qBAAqB,CAAC,CAAC;KACtD,CAAC;IACF,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAC3B,OAAO,EAAE,GAAW,EACpB,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,wBAA6B,EAC7B,MAAM,EAAE,cAAuB,EAC/B,WAAW,EACX,kBAA0B,
|
|
1
|
+
{"version":3,"file":"ResponsiveText.d.ts","sourceRoot":"","sources":["../../src/ResponsiveText/ResponsiveText.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAkD,MAAM,OAAO,CAAC;AAIvF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,OAAO,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,CAAC;IACzE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QACL,gBAAgB,EAAE,MAAM,CAAC,kBAAkB,CAAC,CAAC;QAC7C,gBAAgB,EAAE,MAAM,CAAC,kBAAkB,CAAC,CAAC;QAC7C,mBAAmB,EAAE,MAAM,CAAC,qBAAqB,CAAC,CAAC;KACtD,CAAC;IACF,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAC3B,OAAO,EAAE,GAAW,EACpB,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,wBAA6B,EAC7B,MAAM,EAAE,cAAuB,EAC/B,WAAW,EACX,kBAA0B,GAC7B,EAAE,oBAAoB,2CAkEtB"}
|
|
@@ -7,18 +7,7 @@ import { Bubble } from "../Bubble/Bubble.js";
|
|
|
7
7
|
import { BubbleHoverTrigger } from "../Bubble/BubbleHoverTrigger.js";
|
|
8
8
|
import { RichText } from "./RichText.js";
|
|
9
9
|
const alignPoints = [{ align: "bc tc" }, { align: "tc bc" }];
|
|
10
|
-
const descriptionMarkdown = (_jsxs(_Fragment, { children: [
|
|
11
|
-
_jsx("br", {}),
|
|
12
|
-
"# Heading 1",
|
|
13
|
-
_jsx("br", {}),
|
|
14
|
-
"**Bold**",
|
|
15
|
-
_jsx("br", {}),
|
|
16
|
-
"* List",
|
|
17
|
-
_jsx("br", {}),
|
|
18
|
-
"[link](http://thisisalink.com)",
|
|
19
|
-
_jsx("br", {}),
|
|
20
|
-
"",
|
|
21
|
-
_jsx("br", {}), "{metric/metric_id}", _jsx("br", {}), "{label/label_id}"] }));
|
|
10
|
+
const descriptionMarkdown = (_jsxs(_Fragment, { children: [_jsx("br", {}), "# Heading 1", _jsx("br", {}), "**Bold**", _jsx("br", {}), "* List", _jsx("br", {}), "[link](http://thisisalink.com)", _jsx("br", {}), "", _jsx("br", {}), "{metric/metric_id}", _jsx("br", {}), "{label/label_id}"] }));
|
|
22
11
|
function RichTextWithTooltipCore({ value, onChange, renderMode, editPlaceholder, editRows, emptyElement, className, showTooltip = true, tooltipAlignPoints = alignPoints, tooltipDescription, tooltipMarkdown = descriptionMarkdown, autoResize, referencesEnabled, filters, separators, onLoadingChanged, onError, LoadingComponent, rawContent, execConfig, }) {
|
|
23
12
|
const intl = useIntl();
|
|
24
13
|
const description = tooltipDescription ?? intl.formatMessage({ id: "richText.tooltip" });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEvaluatedMetricsAndAttributes.d.ts","sourceRoot":"","sources":["../../../src/RichText/hooks/useEvaluatedMetricsAndAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,KAAK,SAAS,EAKjB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,MAAM,eAAe,GAAG;IAC1B,GAAG,EAAE,QAAQ,CAAC;IACd,MAAM,EAAE,aAAa,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAgB,gCAAgC,CAC5C,UAAU,EAAE,YAAY,EACxB,OAAO,EAAE,OAAO,EAAE,EAClB,MAAM,EAAE,gBAAgB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAAE
|
|
1
|
+
{"version":3,"file":"useEvaluatedMetricsAndAttributes.d.ts","sourceRoot":"","sources":["../../../src/RichText/hooks/useEvaluatedMetricsAndAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,KAAK,SAAS,EAKjB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,MAAM,eAAe,GAAG;IAC1B,GAAG,EAAE,QAAQ,CAAC;IACd,MAAM,EAAE,aAAa,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAgB,gCAAgC,CAC5C,UAAU,EAAE,YAAY,EACxB,OAAO,EAAE,OAAO,EAAE,EAClB,MAAM,EAAE,gBAAgB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAAE;IAqGvE,OAAO;IAKP,KAAK;IACL,MAAM;EAEb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rehype-references.d.ts","sourceRoot":"","sources":["../../../src/RichText/plugins/rehype-references.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAI5C,OAAO,EAAE,KAAK,WAAW,EAAuC,MAAM,qBAAqB,CAAC;AAG5F,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAIpF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,eAAe,EAAE,EAAE,UAAU,CAAC,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"rehype-references.d.ts","sourceRoot":"","sources":["../../../src/RichText/plugins/rehype-references.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAI5C,OAAO,EAAE,KAAK,WAAW,EAAuC,MAAM,qBAAqB,CAAC;AAG5F,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAIpF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,eAAe,EAAE,EAAE,UAAU,CAAC,EAAE,WAAW,gBAExE,IAAI,UAgBlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remark-references.d.ts","sourceRoot":"","sources":["../../../src/RichText/plugins/remark-references.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAc,MAAM,OAAO,CAAC;AAIhD,wBAAgB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"remark-references.d.ts","sourceRoot":"","sources":["../../../src/RichText/plugins/remark-references.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAc,MAAM,OAAO,CAAC;AAIhD,wBAAgB,gBAAgB,iBAED,MAAM,YA+BpC"}
|
|
@@ -2,5 +2,5 @@ import { type IScrollGradientProps } from "./typings.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
5
|
-
export declare function ScrollGradient({ backgroundColor, size, className, contentClassName, onScroll, children }: IScrollGradientProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function ScrollGradient({ backgroundColor, size, className, contentClassName, onScroll, children, }: IScrollGradientProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=ScrollGradient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollGradient.d.ts","sourceRoot":"","sources":["../../src/ScrollGradient/ScrollGradient.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEzD;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAC3B,eAA2B,EAC3B,IAAS,EACT,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,QAAQ,
|
|
1
|
+
{"version":3,"file":"ScrollGradient.d.ts","sourceRoot":"","sources":["../../src/ScrollGradient/ScrollGradient.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEzD;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAC3B,eAA2B,EAC3B,IAAS,EACT,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,QAAQ,GACX,EAAE,oBAAoB,2CAwBtB"}
|
|
@@ -10,7 +10,5 @@ export function ScrollGradient({ backgroundColor = "#FFFFFF", size = 20, classNa
|
|
|
10
10
|
const { right, content, setContent } = useRightInScrollable();
|
|
11
11
|
const { top, bottom, onScrollHandler } = useScrollEvent(content, size / 2, onScroll);
|
|
12
12
|
const { topBackground, bottomBackground } = useGradientColor(backgroundColor);
|
|
13
|
-
return (_jsxs("div", { className: cx("gd-gradient-wrapper", className), children: [
|
|
14
|
-
_jsx("div", { className: cx("gd-gradient-top"), style: { right, opacity: top, height: size, background: topBackground } }), _jsx("div", { className: cx("gd-gradient-content", contentClassName), onScroll: onScrollHandler, ref: setContent, children: children }), _jsx("div", { className: cx("gd-gradient-bottom"), style: { right, opacity: bottom, height: size, background: bottomBackground } })
|
|
15
|
-
] }));
|
|
13
|
+
return (_jsxs("div", { className: cx("gd-gradient-wrapper", className), children: [_jsx("div", { className: cx("gd-gradient-top"), style: { right, opacity: top, height: size, background: topBackground } }), _jsx("div", { className: cx("gd-gradient-content", contentClassName), onScroll: onScrollHandler, ref: setContent, children: children }), _jsx("div", { className: cx("gd-gradient-bottom"), style: { right, opacity: bottom, height: size, background: bottomBackground } })] }));
|
|
16
14
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @internal
|
|
3
3
|
*/
|
|
4
4
|
export declare const useScrollContext: () => {
|
|
5
|
-
scrollIntoView: (_element: HTMLElement, _bottomMargin?: number
|
|
5
|
+
scrollIntoView: (_element: HTMLElement, _bottomMargin?: number, _isElementInvisibleCheck?: isElementInvisibleType) => void;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
8
|
* @internal
|
|
@@ -12,9 +12,9 @@ export type isElementInvisibleType = (element: HTMLElement, container: HTMLEleme
|
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
14
|
export declare const scrollContextDefault: {
|
|
15
|
-
scrollIntoView: (_element: HTMLElement, _bottomMargin?: number
|
|
15
|
+
scrollIntoView: (_element: HTMLElement, _bottomMargin?: number, _isElementInvisibleCheck?: isElementInvisibleType) => void;
|
|
16
16
|
};
|
|
17
17
|
export declare const ScrollContext: import("react").Context<{
|
|
18
|
-
scrollIntoView: (_element: HTMLElement, _bottomMargin?: number
|
|
18
|
+
scrollIntoView: (_element: HTMLElement, _bottomMargin?: number, _isElementInvisibleCheck?: isElementInvisibleType) => void;
|
|
19
19
|
}>;
|
|
20
20
|
//# sourceMappingURL=ScrollContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollContext.d.ts","sourceRoot":"","sources":["../../src/ScrollablePanel/ScrollContext.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"ScrollContext.d.ts","sourceRoot":"","sources":["../../src/ScrollablePanel/ScrollContext.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,gBAAgB;+BAYX,WAAW,kBACL,MAAM,6BACK,sBAAsB;CAdM,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,KAAK,OAAO,CAAC;AAE/F;;GAEG;AACH,eAAO,MAAM,oBAAoB;IAC7B,cAAc,aACA,WAAW,kBACL,MAAM,6BACK,sBAAsB;CAExD,CAAC;AAEF,eAAO,MAAM,aAAa;+BANR,WAAW,kBACL,MAAM,6BACK,sBAAsB;EAIO,CAAC"}
|
|
@@ -15,5 +15,5 @@ export interface IScrollableItemProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* @internal
|
|
17
17
|
*/
|
|
18
|
-
export declare function ScrollableItem({ scrollIntoView, bottomMargin, isElementInvisibleCheck, className, children, onItemScrolled, tagName: TagName }: IScrollableItemProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function ScrollableItem({ scrollIntoView, bottomMargin, isElementInvisibleCheck, className, children, onItemScrolled, tagName: TagName, }: IScrollableItemProps): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
//# sourceMappingURL=ScrollableItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollableItem.d.ts","sourceRoot":"","sources":["../../src/ScrollablePanel/ScrollableItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,sBAAsB,EAAoB,MAAM,oBAAoB,CAAC;AAEnF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uBAAuB,CAAC,EAAE,sBAAsB,CAAC;IACjD,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAC3B,cAAc,EACd,YAAY,EACZ,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,cAAc,EACd,OAAO,EAAE,OAAe,
|
|
1
|
+
{"version":3,"file":"ScrollableItem.d.ts","sourceRoot":"","sources":["../../src/ScrollablePanel/ScrollableItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,sBAAsB,EAAoB,MAAM,oBAAoB,CAAC;AAEnF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uBAAuB,CAAC,EAAE,sBAAsB,CAAC;IACjD,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAC3B,cAAc,EACd,YAAY,EACZ,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,cAAc,EACd,OAAO,EAAE,OAAe,GAC3B,EAAE,oBAAoB,2CAqBtB"}
|
|
@@ -50,5 +50,5 @@ export interface ISeparatorLineProps {
|
|
|
50
50
|
/**
|
|
51
51
|
* @internal
|
|
52
52
|
*/
|
|
53
|
-
export declare function SeparatorLine({ mT: marginTop, mR: marginRight, mB: marginBottom, mL: marginLeft, pT: paddingTop, pR: paddingRight, pB: paddingBottom, pL: paddingLeft, m, p, height }: ISeparatorLineProps): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
export declare function SeparatorLine({ mT: marginTop, mR: marginRight, mB: marginBottom, mL: marginLeft, pT: paddingTop, pR: paddingRight, pB: paddingBottom, pL: paddingLeft, m, p, height, }: ISeparatorLineProps): import("react/jsx-runtime").JSX.Element;
|
|
54
54
|
//# sourceMappingURL=SeparatorLine.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SeparatorLine.d.ts","sourceRoot":"","sources":["../../src/SeparatorLine/SeparatorLine.tsx"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAC1B,EAAE,EAAE,SAAS,EACb,EAAE,EAAE,WAAW,EACf,EAAE,EAAE,YAAY,EAChB,EAAE,EAAE,UAAU,EACd,EAAE,EAAE,UAAU,EACd,EAAE,EAAE,YAAY,EAChB,EAAE,EAAE,aAAa,EACjB,EAAE,EAAE,WAAW,EACf,CAAK,EACL,CAAK,EACL,MAAU,
|
|
1
|
+
{"version":3,"file":"SeparatorLine.d.ts","sourceRoot":"","sources":["../../src/SeparatorLine/SeparatorLine.tsx"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAC1B,EAAE,EAAE,SAAS,EACb,EAAE,EAAE,WAAW,EACf,EAAE,EAAE,YAAY,EAChB,EAAE,EAAE,UAAU,EACd,EAAE,EAAE,UAAU,EACd,EAAE,EAAE,YAAY,EAChB,EAAE,EAAE,aAAa,EACjB,EAAE,EAAE,WAAW,EACf,CAAK,EACL,CAAK,EACL,MAAU,GACb,EAAE,mBAAmB,2CAuBrB"}
|
|
@@ -2,5 +2,5 @@ import { type ISettingItem } from "./typings.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
5
|
-
export declare function SettingItem({ className, title, titleTooltipText, alignPointTitleTooltip, value, actionType, actionValue, hasDivider, isLoading, isDisableAction, actionTooltipText, alignPointActionTooltip, onAction, renderSubtitle, titleTooltipHideDelay }: ISettingItem): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function SettingItem({ className, title, titleTooltipText, alignPointTitleTooltip, value, actionType, actionValue, hasDivider, isLoading, isDisableAction, actionTooltipText, alignPointActionTooltip, onAction, renderSubtitle, titleTooltipHideDelay, }: ISettingItem): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=SettingItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingItem.d.ts","sourceRoot":"","sources":["../../src/SettingItem/SettingItem.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AA+ClE;;GAEG;AACH,wBAAgB,WAAW,CAAC,EACxB,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,sBAAsB,EACtB,KAAK,EACL,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,QAAQ,EACR,cAAc,EACd,qBAAyB,
|
|
1
|
+
{"version":3,"file":"SettingItem.d.ts","sourceRoot":"","sources":["../../src/SettingItem/SettingItem.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AA+ClE;;GAEG;AACH,wBAAgB,WAAW,CAAC,EACxB,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,sBAAsB,EACtB,KAAK,EACL,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,QAAQ,EACR,cAAc,EACd,qBAAyB,GAC5B,EAAE,YAAY,2CAgDd"}
|
|
@@ -10,9 +10,7 @@ const getActionElement = (actionType, value, isDisableAction, onActionCallback)
|
|
|
10
10
|
case "LinkButton":
|
|
11
11
|
return (_jsx(Button, { className: "gd-button-link-dimmed", value: value, disabled: isDisableAction, onClick: onActionCallback }));
|
|
12
12
|
case "Switcher":
|
|
13
|
-
return (_jsxs("label", { className: "input-checkbox-toggle", children: [
|
|
14
|
-
_jsx("input", { type: "checkbox", checked: value, disabled: isDisableAction, onChange: onActionCallback, className: `s-checkbox-toggle ${isDisableAction ? "s-disabled" : "s-enabled"}` }), _jsx("span", { className: "input-label-text" })
|
|
15
|
-
] }));
|
|
13
|
+
return (_jsxs("label", { className: "input-checkbox-toggle", children: [_jsx("input", { type: "checkbox", checked: value, disabled: isDisableAction, onChange: onActionCallback, className: `s-checkbox-toggle ${isDisableAction ? "s-disabled" : "s-enabled"}` }), _jsx("span", { className: "input-label-text" })] }));
|
|
16
14
|
default:
|
|
17
15
|
return (_jsx(Button, { className: "gd-button-secondary gd-button-small", value: value, disabled: isDisableAction, onClick: onActionCallback }));
|
|
18
16
|
}
|
|
@@ -21,12 +19,5 @@ const getActionElement = (actionType, value, isDisableAction, onActionCallback)
|
|
|
21
19
|
* @internal
|
|
22
20
|
*/
|
|
23
21
|
export function SettingItem({ className, title, titleTooltipText, alignPointTitleTooltip, value, actionType, actionValue, hasDivider, isLoading, isDisableAction, actionTooltipText, alignPointActionTooltip, onAction, renderSubtitle, titleTooltipHideDelay = 0, }) {
|
|
24
|
-
return (_jsxs("div", { className: cx(className, "gd-setting-item-container", { divider: hasDivider }), children: [
|
|
25
|
-
_jsxs("div", { className: "gd-setting-item-title", children: [
|
|
26
|
-
_jsx("span", { className: "title", children: title }), titleTooltipText ? (_jsxs(BubbleHoverTrigger, { hideDelay: titleTooltipHideDelay, children: [
|
|
27
|
-
_jsx("span", { className: "icon-circle-question gd-icon-circle-question" }), _jsx(Bubble, { className: cx(className, "bubble-primary"), alignPoints: alignPointTitleTooltip || DEFAULT_ALIGN_POINT_TITLE_TOOLTIP, children: titleTooltipText })
|
|
28
|
-
] })) : null, renderSubtitle?.()] }), _jsxs("div", { className: "gd-setting-item-state", children: [isLoading ? _jsx("span", { className: cx("gd-spinner middle") }) : null, !isLoading && (_jsxs(_Fragment, { children: [
|
|
29
|
-
_jsx("div", { className: "gd-setting-item-value", children: value }), _jsx("div", { className: "gd-setting-item-action", children: _jsxs(BubbleHoverTrigger, { children: [getActionElement(actionType, actionValue, isDisableAction ?? false, onAction), actionTooltipText ? (_jsx(Bubble, { className: cx(className, "bubble-primary"), alignPoints: alignPointActionTooltip || DEFAULT_ALIGN_POINT_ACTION_TOOLTIP, children: actionTooltipText })) : null] }) })
|
|
30
|
-
] }))] })
|
|
31
|
-
] }));
|
|
22
|
+
return (_jsxs("div", { className: cx(className, "gd-setting-item-container", { divider: hasDivider }), children: [_jsxs("div", { className: "gd-setting-item-title", children: [_jsx("span", { className: "title", children: title }), titleTooltipText ? (_jsxs(BubbleHoverTrigger, { hideDelay: titleTooltipHideDelay, children: [_jsx("span", { className: "icon-circle-question gd-icon-circle-question" }), _jsx(Bubble, { className: cx(className, "bubble-primary"), alignPoints: alignPointTitleTooltip || DEFAULT_ALIGN_POINT_TITLE_TOOLTIP, children: titleTooltipText })] })) : null, renderSubtitle?.()] }), _jsxs("div", { className: "gd-setting-item-state", children: [isLoading ? _jsx("span", { className: cx("gd-spinner middle") }) : null, !isLoading && (_jsxs(_Fragment, { children: [_jsx("div", { className: "gd-setting-item-value", children: value }), _jsx("div", { className: "gd-setting-item-action", children: _jsxs(BubbleHoverTrigger, { children: [getActionElement(actionType, actionValue, isDisableAction ?? false, onAction), actionTooltipText ? (_jsx(Bubble, { className: cx(className, "bubble-primary"), alignPoints: alignPointActionTooltip || DEFAULT_ALIGN_POINT_ACTION_TOOLTIP, children: actionTooltipText })) : null] }) })] }))] })] }));
|
|
32
23
|
}
|
|
@@ -3,6 +3,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
5
5
|
export function FooterButtons({ children }) {
|
|
6
|
-
return (_jsxs("span", { className: "gd-widget-footer-buttons", children: [
|
|
7
|
-
_jsx("div", { className: "gd-widget-footer-buttons-separator" }), children] }));
|
|
6
|
+
return (_jsxs("span", { className: "gd-widget-footer-buttons", children: [_jsx("div", { className: "gd-widget-footer-buttons-separator" }), children] }));
|
|
8
7
|
}
|
|
@@ -17,5 +17,5 @@ export interface ISimpleSettingWidgetProps {
|
|
|
17
17
|
*
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
|
-
export declare function SimpleSettingWidget({ title, currentSettingStatus, titleTooltip, helpLinkText, helpLinkUrl, actionButtonText, isLoading, onSubmit, onHelpLinkClick }: ISimpleSettingWidgetProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function SimpleSettingWidget({ title, currentSettingStatus, titleTooltip, helpLinkText, helpLinkUrl, actionButtonText, isLoading, onSubmit, onHelpLinkClick, }: ISimpleSettingWidgetProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
//# sourceMappingURL=SimpleSettingWidget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleSettingWidget.d.ts","sourceRoot":"","sources":["../../../src/SettingWidget/SimpleSettingsWidget/SimpleSettingWidget.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB,EAAE,MAAM,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,EAChC,KAAK,EACL,oBAAoB,EACpB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,eAAe,
|
|
1
|
+
{"version":3,"file":"SimpleSettingWidget.d.ts","sourceRoot":"","sources":["../../../src/SettingWidget/SimpleSettingsWidget/SimpleSettingWidget.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB,EAAE,MAAM,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,EAChC,KAAK,EACL,oBAAoB,EACpB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,eAAe,GAClB,EAAE,yBAAyB,2CAkC3B"}
|
|
@@ -15,8 +15,5 @@ import { Title } from "../Title.js";
|
|
|
15
15
|
* @internal
|
|
16
16
|
*/
|
|
17
17
|
export function SimpleSettingWidget({ title, currentSettingStatus, titleTooltip, helpLinkText, helpLinkUrl, actionButtonText, isLoading, onSubmit, onHelpLinkClick, }) {
|
|
18
|
-
return (_jsxs(SettingWidget, { children: [
|
|
19
|
-
_jsxs(Header, { children: [
|
|
20
|
-
_jsx(Title, { title: title, tooltip: titleTooltip }), isLoading ? (_jsx(LoadingSpinner, { className: "small gd-loading-equalizer-spinner" })) : (_jsx("span", { className: "gd-setting-widget-status-pill", children: currentSettingStatus }))] }), _jsx(Separator, {}), _jsxs(Footer, { children: [helpLinkText && helpLinkUrl ? (_jsx(Hyperlink, { text: helpLinkText, href: helpLinkUrl, iconClass: "gd-icon-circle-question", onClick: onHelpLinkClick })) : null, isLoading ? null : (_jsx(FooterButtons, { children: _jsx(Button, { className: "gd-button-action", onClick: onSubmit, disabled: isLoading, value: actionButtonText }) }))] })
|
|
21
|
-
] }));
|
|
18
|
+
return (_jsxs(SettingWidget, { children: [_jsxs(Header, { children: [_jsx(Title, { title: title, tooltip: titleTooltip }), isLoading ? (_jsx(LoadingSpinner, { className: "small gd-loading-equalizer-spinner" })) : (_jsx("span", { className: "gd-setting-widget-status-pill", children: currentSettingStatus }))] }), _jsx(Separator, {}), _jsxs(Footer, { children: [helpLinkText && helpLinkUrl ? (_jsx(Hyperlink, { text: helpLinkText, href: helpLinkUrl, iconClass: "gd-icon-circle-question", onClick: onHelpLinkClick })) : null, isLoading ? null : (_jsx(FooterButtons, { children: _jsx(Button, { className: "gd-button-action", onClick: onSubmit, disabled: isLoading, value: actionButtonText }) }))] })] }));
|
|
22
19
|
}
|
|
@@ -17,6 +17,6 @@ interface IStylingSettingBodyProps<T extends StylingPickerItemContent> {
|
|
|
17
17
|
onItemMenuToggle?: (ref: ObjRef) => void;
|
|
18
18
|
isEditingSupported?: boolean;
|
|
19
19
|
}
|
|
20
|
-
export declare function StylingSettingBody<T extends StylingPickerItemContent>({ isMobile, defaultItem, customItems, itemToColorPreview, emptyMessage, isLoading, onListActionClick, initiallySelectedItemRef, selectedItemRef, onItemClick, onItemEdit, onItemDelete, onItemMenuToggle, isEditingSupported }: IStylingSettingBodyProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function StylingSettingBody<T extends StylingPickerItemContent>({ isMobile, defaultItem, customItems, itemToColorPreview, emptyMessage, isLoading, onListActionClick, initiallySelectedItemRef, selectedItemRef, onItemClick, onItemEdit, onItemDelete, onItemMenuToggle, isEditingSupported, }: IStylingSettingBodyProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export {};
|
|
22
22
|
//# sourceMappingURL=StylingSettingBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StylingSettingBody.d.ts","sourceRoot":"","sources":["../../../src/SettingWidget/StylingSettingWidget/StylingSettingBody.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAIlD,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAChC,MAAM,yDAAyD,CAAC;AAKjE,UAAU,wBAAwB,CAAC,CAAC,SAAS,wBAAwB;IACjE,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IACnC,WAAW,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAAE,CAAC;IACrC,kBAAkB,EAAE,CAAC,WAAW,EAAE,CAAC,KAAK,MAAM,EAAE,CAAC;IACjD,YAAY,EAAE,MAAM,YAAY,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACnD,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,wBAAwB,EAAE,EACnE,QAAQ,EACR,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,wBAAwB,EACxB,eAAe,EACf,WAAW,EACX,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"StylingSettingBody.d.ts","sourceRoot":"","sources":["../../../src/SettingWidget/StylingSettingWidget/StylingSettingBody.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAIlD,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAChC,MAAM,yDAAyD,CAAC;AAKjE,UAAU,wBAAwB,CAAC,CAAC,SAAS,wBAAwB;IACjE,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IACnC,WAAW,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAAE,CAAC;IACrC,kBAAkB,EAAE,CAAC,WAAW,EAAE,CAAC,KAAK,MAAM,EAAE,CAAC;IACjD,YAAY,EAAE,MAAM,YAAY,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACnD,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,wBAAwB,EAAE,EACnE,QAAQ,EACR,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,wBAAwB,EACxB,eAAe,EACf,WAAW,EACX,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,GACrB,EAAE,wBAAwB,CAAC,CAAC,CAAC,2CAgD7B"}
|
|
@@ -6,13 +6,7 @@ import { StylingSettingList } from "./StylingSettingList.js";
|
|
|
6
6
|
import { StylingSettingListItem } from "./StylingSettingListItem.js";
|
|
7
7
|
export function StylingSettingBody({ isMobile, defaultItem, customItems, itemToColorPreview, emptyMessage, isLoading, onListActionClick, initiallySelectedItemRef, selectedItemRef, onItemClick, onItemEdit, onItemDelete, onItemMenuToggle, isEditingSupported, }) {
|
|
8
8
|
const intl = useIntl();
|
|
9
|
-
return (_jsx("div", { className: "gd-styling-picker-body", children: isLoading ? (_jsx(DialogListLoading, { className: "gd-styling-picker-body-loading s-styling-picker-body-loading" })) : (_jsxs(_Fragment, { children: [
|
|
10
|
-
_jsxs("div", { children: [
|
|
11
|
-
_jsx(DialogListHeader, { className: "gd-styling-picker-list-header", title: intl.formatMessage({ id: "stylingPicker.title.basic" }) }), _jsx(StylingSettingListItem, { item: defaultItem, itemToColorPreview: itemToColorPreview, isSelected: !selectedItemRef, onClick: () => onItemClick(null) })
|
|
12
|
-
] }), _jsxs("div", { className: "gd-styling-picker-list-wrapper", children: [
|
|
13
|
-
_jsx(DialogListHeader, { title: intl.formatMessage({ id: "stylingPicker.title.custom" }), buttonTitle: isMobile || !isEditingSupported
|
|
9
|
+
return (_jsx("div", { className: "gd-styling-picker-body", children: isLoading ? (_jsx(DialogListLoading, { className: "gd-styling-picker-body-loading s-styling-picker-body-loading" })) : (_jsxs(_Fragment, { children: [_jsxs("div", { children: [_jsx(DialogListHeader, { className: "gd-styling-picker-list-header", title: intl.formatMessage({ id: "stylingPicker.title.basic" }) }), _jsx(StylingSettingListItem, { item: defaultItem, itemToColorPreview: itemToColorPreview, isSelected: !selectedItemRef, onClick: () => onItemClick(null) })] }), _jsxs("div", { className: "gd-styling-picker-list-wrapper", children: [_jsx(DialogListHeader, { title: intl.formatMessage({ id: "stylingPicker.title.custom" }), buttonTitle: isMobile || !isEditingSupported
|
|
14
10
|
? undefined
|
|
15
|
-
: intl.formatMessage({ id: "stylingPicker.title.create" }), onButtonClick: onListActionClick, className: "gd-styling-picker-list-header s-styling-picker-list-header" }), _jsx(StylingSettingList, { items: customItems, itemToColorPreview: itemToColorPreview, emptyMessageElement: emptyMessage(), onItemClick: onItemClick, onItemEdit: isMobile || !isEditingSupported ? undefined : onItemEdit, onItemDelete: isMobile || !isEditingSupported ? undefined : onItemDelete, initiallySelectedItemRef: initiallySelectedItemRef ?? undefined, selectedItemRef: selectedItemRef, onItemMenuToggle: onItemMenuToggle })
|
|
16
|
-
] })
|
|
17
|
-
] })) }));
|
|
11
|
+
: intl.formatMessage({ id: "stylingPicker.title.create" }), onButtonClick: onListActionClick, className: "gd-styling-picker-list-header s-styling-picker-list-header" }), _jsx(StylingSettingList, { items: customItems, itemToColorPreview: itemToColorPreview, emptyMessageElement: emptyMessage(), onItemClick: onItemClick, onItemEdit: isMobile || !isEditingSupported ? undefined : onItemEdit, onItemDelete: isMobile || !isEditingSupported ? undefined : onItemDelete, initiallySelectedItemRef: initiallySelectedItemRef ?? undefined, selectedItemRef: selectedItemRef, onItemMenuToggle: onItemMenuToggle })] })] })) }));
|
|
18
12
|
}
|
|
@@ -12,6 +12,6 @@ interface IStylingSettingListProps<T extends StylingPickerItemContent> {
|
|
|
12
12
|
onItemDelete?: (ref: ObjRef) => void;
|
|
13
13
|
onItemMenuToggle?: (ref: ObjRef) => void;
|
|
14
14
|
}
|
|
15
|
-
export declare function StylingSettingList<T extends StylingPickerItemContent>({ items, itemToColorPreview, emptyMessageElement, onItemClick, onItemEdit, onItemDelete, initiallySelectedItemRef, selectedItemRef, onItemMenuToggle }: IStylingSettingListProps<T>): ReactElement;
|
|
15
|
+
export declare function StylingSettingList<T extends StylingPickerItemContent>({ items, itemToColorPreview, emptyMessageElement, onItemClick, onItemEdit, onItemDelete, initiallySelectedItemRef, selectedItemRef, onItemMenuToggle, }: IStylingSettingListProps<T>): ReactElement;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=StylingSettingList.d.ts.map
|