@comet/admin 9.0.0-beta.2 → 9.0.0-beta.4
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/lib/ContentOverflow.d.ts +1 -1
- package/lib/ContentOverflow.d.ts.map +1 -1
- package/lib/EditDialog.d.ts +2 -2
- package/lib/EditDialog.d.ts.map +1 -1
- package/lib/FinalForm.d.ts.map +1 -1
- package/lib/FinalForm.js +6 -2
- package/lib/FinalFormSaveButton.d.ts +1 -1
- package/lib/FinalFormSaveButton.d.ts.map +1 -1
- package/lib/FinalFormSaveButton.js +3 -1
- package/lib/FinalFormSaveCancelButtonsLegacy.d.ts +3 -3
- package/lib/FinalFormSaveCancelButtonsLegacy.d.ts.map +1 -1
- package/lib/FinalFormSaveSplitButton.d.ts +1 -1
- package/lib/FinalFormSaveSplitButton.d.ts.map +1 -1
- package/lib/FormMutation.d.ts +1 -1
- package/lib/FormMutation.d.ts.map +1 -1
- package/lib/Selected.d.ts +1 -1
- package/lib/Selected.d.ts.map +1 -1
- package/lib/Selection.d.ts +1 -1
- package/lib/Selection.d.ts.map +1 -1
- package/lib/SelectionRoute.d.ts +1 -1
- package/lib/SelectionRoute.d.ts.map +1 -1
- package/lib/alert/Alert.d.ts +1 -1
- package/lib/alert/Alert.d.ts.map +1 -1
- package/lib/apollo/filterByFragment.d.ts +1 -1
- package/lib/apollo/filterByFragment.d.ts.map +1 -1
- package/lib/apollo/filterByFragment.js +3 -1
- package/lib/apollo/useFocusAwarePolling.d.ts +1 -1
- package/lib/apollo/useFocusAwarePolling.d.ts.map +1 -1
- package/lib/appHeader/AppHeader.d.ts +1 -1
- package/lib/appHeader/AppHeader.d.ts.map +1 -1
- package/lib/appHeader/button/AppHeaderButton.d.ts +3 -3
- package/lib/appHeader/button/AppHeaderButton.d.ts.map +1 -1
- package/lib/appHeader/dropdown/AppHeaderDropdown.d.ts +1 -1
- package/lib/appHeader/dropdown/AppHeaderDropdown.d.ts.map +1 -1
- package/lib/appHeader/fillSpace/AppHeaderFillSpace.d.ts +2 -2
- package/lib/appHeader/fillSpace/AppHeaderFillSpace.d.ts.map +1 -1
- package/lib/common/ClearInputAdornment.d.ts +3 -4
- package/lib/common/ClearInputAdornment.d.ts.map +1 -1
- package/lib/common/ClearInputAdornment.js +12 -19
- package/lib/common/Dialog.d.ts +2 -2
- package/lib/common/Dialog.d.ts.map +1 -1
- package/lib/common/FieldSet.d.ts +2 -2
- package/lib/common/FieldSet.d.ts.map +1 -1
- package/lib/common/FillSpace.d.ts +2 -2
- package/lib/common/FillSpace.d.ts.map +1 -1
- package/lib/common/FullHeightContent.d.ts +1 -1
- package/lib/common/FullHeightContent.d.ts.map +1 -1
- package/lib/common/HoverActions.d.ts +1 -1
- package/lib/common/HoverActions.d.ts.map +1 -1
- package/lib/common/Loading.d.ts +1 -1
- package/lib/common/Loading.d.ts.map +1 -1
- package/lib/common/Loading.js +2 -2
- package/lib/common/MainContent.d.ts +1 -1
- package/lib/common/MainContent.d.ts.map +1 -1
- package/lib/common/OpenPickerAdornment.d.ts +1 -1
- package/lib/common/OpenPickerAdornment.d.ts.map +1 -1
- package/lib/common/ReadOnlyAdornment.d.ts +1 -1
- package/lib/common/ReadOnlyAdornment.d.ts.map +1 -1
- package/lib/common/Tooltip.d.ts +2 -2
- package/lib/common/Tooltip.d.ts.map +1 -1
- package/lib/common/__stories__/Tooltip.stories.js +404 -0
- package/lib/common/buttons/Button.d.ts +2 -2
- package/lib/common/buttons/Button.d.ts.map +1 -1
- package/lib/common/buttons/CopyToClipboardButton.d.ts +1 -1
- package/lib/common/buttons/CopyToClipboardButton.d.ts.map +1 -1
- package/lib/common/buttons/SaveButton.d.ts +1 -1
- package/lib/common/buttons/SaveButton.d.ts.map +1 -1
- package/lib/common/buttons/__stories__/Button.stories.js +445 -0
- package/lib/common/buttons/clearinput/ClearInputButton.d.ts +1 -1
- package/lib/common/buttons/clearinput/ClearInputButton.d.ts.map +1 -1
- package/lib/common/buttons/delete/DeleteButton.d.ts +1 -1
- package/lib/common/buttons/delete/DeleteButton.d.ts.map +1 -1
- package/lib/common/buttons/delete/__stories__/DeleteButton.stories.js +1 -1
- package/lib/common/buttons/feedback/FeedbackButton.d.ts +2 -2
- package/lib/common/buttons/feedback/FeedbackButton.d.ts.map +1 -1
- package/lib/common/buttons/feedback/FeedbackButton.js +3 -1
- package/lib/common/buttons/helpDialogButton/HelpDialogButton.d.ts +1 -1
- package/lib/common/buttons/helpDialogButton/HelpDialogButton.d.ts.map +1 -1
- package/lib/common/buttons/okay/OkayButton.d.ts +1 -1
- package/lib/common/buttons/okay/OkayButton.d.ts.map +1 -1
- package/lib/common/buttons/split/SplitButton.d.ts +1 -1
- package/lib/common/buttons/split/SplitButton.d.ts.map +1 -1
- package/lib/common/toolbar/DataGridToolbar.d.ts +1 -1
- package/lib/common/toolbar/DataGridToolbar.d.ts.map +1 -1
- package/lib/common/toolbar/StackToolbar.d.ts +1 -1
- package/lib/common/toolbar/StackToolbar.d.ts.map +1 -1
- package/lib/common/toolbar/Toolbar.d.ts +1 -1
- package/lib/common/toolbar/Toolbar.d.ts.map +1 -1
- package/lib/common/toolbar/ToolbarBreadcrumbs.d.ts +1 -1
- package/lib/common/toolbar/ToolbarBreadcrumbs.d.ts.map +1 -1
- package/lib/common/toolbar/actions/ToolbarActionButton.d.ts +1 -1
- package/lib/common/toolbar/actions/ToolbarActionButton.d.ts.map +1 -1
- package/lib/common/toolbar/actions/ToolbarActions.d.ts +3 -3
- package/lib/common/toolbar/actions/ToolbarActions.d.ts.map +1 -1
- package/lib/common/toolbar/automatictitleitem/ToolbarAutomaticTitleItem.d.ts +1 -1
- package/lib/common/toolbar/automatictitleitem/ToolbarAutomaticTitleItem.d.ts.map +1 -1
- package/lib/common/toolbar/backbutton/ToolbarBackButton.d.ts +2 -2
- package/lib/common/toolbar/backbutton/ToolbarBackButton.d.ts.map +1 -1
- package/lib/common/toolbar/fillspace/ToolbarFillSpace.d.ts +3 -3
- package/lib/common/toolbar/fillspace/ToolbarFillSpace.d.ts.map +1 -1
- package/lib/common/toolbar/item/ToolbarItem.d.ts +3 -3
- package/lib/common/toolbar/item/ToolbarItem.d.ts.map +1 -1
- package/lib/common/toolbar/titleitem/ToolbarTitleItem.d.ts +2 -2
- package/lib/common/toolbar/titleitem/ToolbarTitleItem.d.ts.map +1 -1
- package/lib/dataGrid/CrudContextMenu.d.ts +1 -1
- package/lib/dataGrid/CrudContextMenu.d.ts.map +1 -1
- package/lib/dataGrid/CrudMoreActionsMenu.d.ts +2 -2
- package/lib/dataGrid/CrudMoreActionsMenu.d.ts.map +1 -1
- package/lib/dataGrid/CrudMoreActionsMenu.js +6 -2
- package/lib/dataGrid/DataGridPanel.d.ts +1 -1
- package/lib/dataGrid/DataGridPanel.d.ts.map +1 -1
- package/lib/dataGrid/GridCellContent.d.ts +2 -2
- package/lib/dataGrid/GridCellContent.d.ts.map +1 -1
- package/lib/dataGrid/GridColDef.d.ts +4 -4
- package/lib/dataGrid/GridColDef.d.ts.map +1 -1
- package/lib/dataGrid/columnsManagement/DataGridColumnsManagement.d.ts +1 -1
- package/lib/dataGrid/columnsManagement/DataGridColumnsManagement.d.ts.map +1 -1
- package/lib/dataGrid/columnsManagement/DataGridColumnsManagementListItem.d.ts +2 -2
- package/lib/dataGrid/columnsManagement/DataGridColumnsManagementListItem.d.ts.map +1 -1
- package/lib/dataGrid/excelExport/applyDefaultStyling.d.ts +1 -1
- package/lib/dataGrid/excelExport/applyDefaultStyling.d.ts.map +1 -1
- package/lib/dataGrid/excelExport/generateExcelFile.d.ts +2 -2
- package/lib/dataGrid/excelExport/generateExcelFile.d.ts.map +1 -1
- package/lib/dataGrid/excelExport/useDataGridExcelExport.d.ts +2 -2
- package/lib/dataGrid/excelExport/useDataGridExcelExport.d.ts.map +1 -1
- package/lib/dataGrid/muiGridFilterToGql.d.ts +2 -2
- package/lib/dataGrid/muiGridFilterToGql.d.ts.map +1 -1
- package/lib/dataGrid/muiGridFilterToGql.js +8 -4
- package/lib/dataGrid/muiGridSortToGql.d.ts +2 -2
- package/lib/dataGrid/muiGridSortToGql.d.ts.map +1 -1
- package/lib/dataGrid/muiGridSortToGql.js +3 -1
- package/lib/dataGrid/pagination/DataGridPagination.d.ts +1 -1
- package/lib/dataGrid/pagination/DataGridPagination.d.ts.map +1 -1
- package/lib/dataGrid/pagination/DataGridPagination.js +1 -1
- package/lib/dataGrid/pagination/paginationActions/DataGridPaginationActions.d.ts +2 -2
- package/lib/dataGrid/pagination/paginationActions/DataGridPaginationActions.d.ts.map +1 -1
- package/lib/dataGrid/renderStaticSelectCell.d.ts +1 -1
- package/lib/dataGrid/renderStaticSelectCell.d.ts.map +1 -1
- package/lib/dataGrid/useDataGridRemote.d.ts +1 -1
- package/lib/dataGrid/useDataGridRemote.d.ts.map +1 -1
- package/lib/dataGrid/useDataGridUrlState.d.ts +1 -1
- package/lib/dataGrid/useDataGridUrlState.d.ts.map +1 -1
- package/lib/dataGrid/usePersistentColumnState.d.ts +1 -1
- package/lib/dataGrid/usePersistentColumnState.d.ts.map +1 -1
- package/lib/dateTime/datePicker/DatePicker.d.ts +1 -1
- package/lib/dateTime/datePicker/DatePicker.d.ts.map +1 -1
- package/lib/dateTime/datePicker/DatePicker.js +1 -2
- package/lib/dateTime/dateRangePicker/DateRangePicker.d.ts +2 -2
- package/lib/dateTime/dateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/lib/dateTime/dateRangePicker/DateRangePicker.js +1 -2
- package/lib/dateTime/dateTimePicker/DateTimePicker.d.ts +1 -1
- package/lib/dateTime/dateTimePicker/DateTimePicker.d.ts.map +1 -1
- package/lib/dateTime/dateTimePicker/DateTimePicker.js +1 -2
- package/lib/dateTime/dateTimeRangePicker/DateTimeRangePicker.d.ts +2 -2
- package/lib/dateTime/dateTimeRangePicker/DateTimeRangePicker.d.ts.map +1 -1
- package/lib/dateTime/dateTimeRangePicker/DateTimeRangePicker.js +3 -4
- package/lib/dateTime/timePicker/TimePicker.d.ts +1 -1
- package/lib/dateTime/timePicker/TimePicker.d.ts.map +1 -1
- package/lib/dateTime/timePicker/TimePicker.js +1 -2
- package/lib/error/errorHandler/ErrorHandlerProvider.d.ts +8 -0
- package/lib/error/errorHandler/ErrorHandlerProvider.d.ts.map +1 -0
- package/lib/error/errorHandler/ErrorHandlerProvider.js +16 -0
- package/lib/error/errorboundary/ErrorBoundary.d.ts +1 -1
- package/lib/error/errorboundary/ErrorBoundary.d.ts.map +1 -1
- package/lib/error/errorboundary/ErrorBoundary.js +26 -18
- package/lib/error/errordialog/errorDialogVar.d.ts +1 -1
- package/lib/error/errordialog/errorDialogVar.d.ts.map +1 -1
- package/lib/error/errordialog/useErrorDialog.d.ts +1 -1
- package/lib/error/errordialog/useErrorDialog.d.ts.map +1 -1
- package/lib/fetchProvider/fetch.d.ts.map +1 -1
- package/lib/fileIcons/FileIcon.d.ts +1 -1
- package/lib/fileIcons/FileIcon.d.ts.map +1 -1
- package/lib/form/Autocomplete.d.ts +2 -2
- package/lib/form/Autocomplete.d.ts.map +1 -1
- package/lib/form/Autocomplete.js +4 -3
- package/lib/form/Checkbox.d.ts +1 -1
- package/lib/form/Checkbox.d.ts.map +1 -1
- package/lib/form/Field.d.ts +1 -1
- package/lib/form/Field.d.ts.map +1 -1
- package/lib/form/FieldContainer.d.ts +1 -1
- package/lib/form/FieldContainer.d.ts.map +1 -1
- package/lib/form/FinalFormAsyncSelect.d.ts +1 -1
- package/lib/form/FinalFormAsyncSelect.d.ts.map +1 -1
- package/lib/form/FinalFormContextProvider.d.ts +1 -1
- package/lib/form/FinalFormContextProvider.d.ts.map +1 -1
- package/lib/form/FinalFormFileSelect.d.ts +1 -1
- package/lib/form/FinalFormFileSelect.d.ts.map +1 -1
- package/lib/form/FinalFormInput.d.ts +1 -1
- package/lib/form/FinalFormInput.d.ts.map +1 -1
- package/lib/form/FinalFormInput.js +4 -4
- package/lib/form/FinalFormNumberInput.d.ts +1 -1
- package/lib/form/FinalFormNumberInput.d.ts.map +1 -1
- package/lib/form/FinalFormNumberInput.js +1 -2
- package/lib/form/FinalFormRangeInput.d.ts +2 -2
- package/lib/form/FinalFormRangeInput.d.ts.map +1 -1
- package/lib/form/FinalFormSearchTextField.d.ts +1 -1
- package/lib/form/FinalFormSearchTextField.d.ts.map +1 -1
- package/lib/form/FinalFormSelect.d.ts +3 -3
- package/lib/form/FinalFormSelect.d.ts.map +1 -1
- package/lib/form/FinalFormSelect.js +8 -14
- package/lib/form/FinalFormToggleButtonGroup.d.ts +2 -2
- package/lib/form/FinalFormToggleButtonGroup.d.ts.map +1 -1
- package/lib/form/FinalFormToggleButtonGroup.js +3 -3
- package/lib/form/FormSection.d.ts +3 -3
- package/lib/form/FormSection.d.ts.map +1 -1
- package/lib/form/Radio.d.ts +1 -1
- package/lib/form/Radio.d.ts.map +1 -1
- package/lib/form/Switch.d.ts +1 -1
- package/lib/form/Switch.d.ts.map +1 -1
- package/lib/form/fields/AsyncAutocompleteField.d.ts +1 -1
- package/lib/form/fields/AsyncAutocompleteField.d.ts.map +1 -1
- package/lib/form/fields/CheckboxField.d.ts +1 -1
- package/lib/form/fields/CheckboxField.d.ts.map +1 -1
- package/lib/form/fields/CheckboxListField.d.ts +1 -1
- package/lib/form/fields/CheckboxListField.d.ts.map +1 -1
- package/lib/form/fields/RadioGroupField.d.ts +1 -1
- package/lib/form/fields/RadioGroupField.d.ts.map +1 -1
- package/lib/form/fields/SelectField.d.ts +1 -1
- package/lib/form/fields/SelectField.d.ts.map +1 -1
- package/lib/form/fields/SwitchField.d.ts +1 -1
- package/lib/form/fields/SwitchField.d.ts.map +1 -1
- package/lib/form/file/FileDropzone.d.ts +1 -1
- package/lib/form/file/FileDropzone.d.ts.map +1 -1
- package/lib/form/file/FileSelect.d.ts +4 -4
- package/lib/form/file/FileSelect.d.ts.map +1 -1
- package/lib/form/file/FileSelectListItem.d.ts +2 -2
- package/lib/form/file/FileSelectListItem.d.ts.map +1 -1
- package/lib/form/file/fileSelectItemTypes.d.ts +1 -1
- package/lib/form/file/fileSelectItemTypes.d.ts.map +1 -1
- package/lib/form/useAsyncAutocompleteOptionsProps.d.ts +1 -1
- package/lib/form/useAsyncAutocompleteOptionsProps.d.ts.map +1 -1
- package/lib/fullPageAlert/FullPageAlert.d.ts +4 -4
- package/lib/fullPageAlert/FullPageAlert.d.ts.map +1 -1
- package/lib/fullPageAlert/FullPageAlertBackground.d.ts +1 -1
- package/lib/fullPageAlert/FullPageAlertBackground.d.ts.map +1 -1
- package/lib/helpers/PrettyBytes.d.ts +1 -1
- package/lib/helpers/PrettyBytes.d.ts.map +1 -1
- package/lib/helpers/ThemedComponentBaseProps.d.ts +3 -3
- package/lib/helpers/ThemedComponentBaseProps.d.ts.map +1 -1
- package/lib/helpers/createComponentSlot.d.ts +1 -1
- package/lib/helpers/createComponentSlot.d.ts.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/inlineAlert/InlineAlert.d.ts +3 -3
- package/lib/inlineAlert/InlineAlert.d.ts.map +1 -1
- package/lib/inputWithPopper/InputWithPopper.d.ts +2 -2
- package/lib/inputWithPopper/InputWithPopper.d.ts.map +1 -1
- package/lib/mui/MasterLayout.d.ts +1 -1
- package/lib/mui/MasterLayout.d.ts.map +1 -1
- package/lib/mui/MasterLayout.js +3 -1
- package/lib/mui/ThemeProvider.d.ts +2 -2
- package/lib/mui/ThemeProvider.d.ts.map +1 -1
- package/lib/mui/mainNavigation/CollapsibleItem.d.ts +3 -3
- package/lib/mui/mainNavigation/CollapsibleItem.d.ts.map +1 -1
- package/lib/mui/mainNavigation/CollapsibleItem.js +12 -4
- package/lib/mui/mainNavigation/CollapsibleItem.styles.d.ts +1 -1
- package/lib/mui/mainNavigation/CollapsibleItem.styles.d.ts.map +1 -1
- package/lib/mui/mainNavigation/Item.d.ts +2 -2
- package/lib/mui/mainNavigation/Item.d.ts.map +1 -1
- package/lib/mui/mainNavigation/Item.js +3 -1
- package/lib/mui/mainNavigation/Item.styles.d.ts +2 -2
- package/lib/mui/mainNavigation/Item.styles.d.ts.map +1 -1
- package/lib/mui/mainNavigation/ItemAnchorLink.d.ts +2 -2
- package/lib/mui/mainNavigation/ItemAnchorLink.d.ts.map +1 -1
- package/lib/mui/mainNavigation/ItemGroup.d.ts +1 -1
- package/lib/mui/mainNavigation/ItemGroup.d.ts.map +1 -1
- package/lib/mui/mainNavigation/ItemRouterLink.d.ts +3 -3
- package/lib/mui/mainNavigation/ItemRouterLink.d.ts.map +1 -1
- package/lib/mui/mainNavigation/MainNavigation.d.ts +1 -1
- package/lib/mui/mainNavigation/MainNavigation.d.ts.map +1 -1
- package/lib/renderFinalFormChildren.d.ts +1 -1
- package/lib/renderFinalFormChildren.d.ts.map +1 -1
- package/lib/router/ConfirmationDialog.d.ts +2 -2
- package/lib/router/ConfirmationDialog.d.ts.map +1 -1
- package/lib/router/Context.d.ts +2 -2
- package/lib/router/Context.d.ts.map +1 -1
- package/lib/router/Prompt.d.ts +1 -1
- package/lib/router/Prompt.d.ts.map +1 -1
- package/lib/router/PromptHandler.d.ts.map +1 -1
- package/lib/router/PromptHandler.js +11 -9
- package/lib/rowActions/RowActionsIconItem.d.ts +1 -1
- package/lib/rowActions/RowActionsIconItem.d.ts.map +1 -1
- package/lib/rowActions/RowActionsListItem.d.ts +1 -1
- package/lib/rowActions/RowActionsListItem.d.ts.map +1 -1
- package/lib/rowActions/RowActionsListItem.js +1 -1
- package/lib/saveBoundary/SaveBoundary.d.ts.map +1 -1
- package/lib/saveBoundary/SaveBoundary.js +3 -1
- package/lib/saveBoundary/SaveBoundarySaveButton.d.ts.map +1 -1
- package/lib/saveBoundary/SaveBoundarySaveButton.js +3 -1
- package/lib/section/SectionHeadline.d.ts +1 -1
- package/lib/section/SectionHeadline.d.ts.map +1 -1
- package/lib/section/SectionHeadline.js +3 -1
- package/lib/section/__stories__/SectionHeadline.stories.js +71 -0
- package/lib/snackbar/SnackbarProvider.d.ts +2 -2
- package/lib/snackbar/SnackbarProvider.d.ts.map +1 -1
- package/lib/snackbar/UndoSnackbar.d.ts +1 -1
- package/lib/snackbar/UndoSnackbar.d.ts.map +1 -1
- package/lib/stack/Stack.d.ts.map +1 -1
- package/lib/stack/Stack.js +6 -1
- package/lib/stack/Switch.d.ts +1 -1
- package/lib/stack/Switch.d.ts.map +1 -1
- package/lib/stack/Switch.js +21 -7
- package/lib/stack/SwitchMeta.d.ts.map +1 -1
- package/lib/stack/SwitchMeta.js +9 -3
- package/lib/stack/__stories__/RouterTabsNestedStack.stories.js +51 -0
- package/lib/stack/__stories__/Stack.stories.js +14 -0
- package/lib/stack/__stories__/StackBackButton.stories.js +50 -0
- package/lib/stack/__stories__/StackBreadcrumbs.stories.js +139 -0
- package/lib/stack/__stories__/StackBreadcrumbsTabs.stories.js +47 -0
- package/lib/stack/__stories__/StackCustomSeparator.stories.js +47 -0
- package/lib/stack/__stories__/StackLink.stories.js +41 -0
- package/lib/stack/__stories__/StackNested.stories.js +58 -0
- package/lib/stack/__stories__/StackNestedOnInitialPage.stories.js +78 -0
- package/lib/stack/__stories__/StackNestedOneStack.stories.js +90 -0
- package/lib/stack/__stories__/StackPageTitle.stories.js +121 -0
- package/lib/stack/__stories__/StackReactNodeTitle.stories.js +54 -0
- package/lib/stack/__stories__/StackRefApi.stories.js +56 -0
- package/lib/stack/__stories__/StackTableFormQueryAtStack.stories.js +155 -0
- package/lib/stack/__stories__/StackTableFormQueryInTable.stories.js +160 -0
- package/lib/stack/__stories__/StackUrl.stories.js +66 -0
- package/lib/stack/breadcrumbs/BreadcrumbsEntry.d.ts +1 -1
- package/lib/stack/breadcrumbs/BreadcrumbsEntry.d.ts.map +1 -1
- package/lib/stack/breadcrumbs/BreadcrumbsOverflow.d.ts +2 -2
- package/lib/stack/breadcrumbs/BreadcrumbsOverflow.d.ts.map +1 -1
- package/lib/stack/breadcrumbs/StackBreadcrumbs.d.ts +2 -2
- package/lib/stack/breadcrumbs/StackBreadcrumbs.d.ts.map +1 -1
- package/lib/stack/breadcrumbs/StackBreadcrumbs.js +3 -1
- package/lib/stack/breadcrumbs/utils.d.ts +2 -2
- package/lib/stack/breadcrumbs/utils.d.ts.map +1 -1
- package/lib/stack/breadcrumbs/utils.js +3 -1
- package/lib/table/AddButton.d.ts +1 -1
- package/lib/table/AddButton.d.ts.map +1 -1
- package/lib/table/DeleteButton.d.ts +1 -1
- package/lib/table/DeleteButton.d.ts.map +1 -1
- package/lib/table/DeleteButton.js +3 -1
- package/lib/table/ExcelExportButton.d.ts +2 -2
- package/lib/table/ExcelExportButton.d.ts.map +1 -1
- package/lib/table/LocalChangesToolbar.d.ts +1 -1
- package/lib/table/LocalChangesToolbar.d.ts.map +1 -1
- package/lib/table/Pagination.d.ts +1 -1
- package/lib/table/Pagination.d.ts.map +1 -1
- package/lib/table/Table.d.ts +3 -3
- package/lib/table/Table.d.ts.map +1 -1
- package/lib/table/Table.js +9 -3
- package/lib/table/TableBodyRow.d.ts +2 -2
- package/lib/table/TableBodyRow.d.ts.map +1 -1
- package/lib/table/TableDndOrder.d.ts +2 -2
- package/lib/table/TableDndOrder.d.ts.map +1 -1
- package/lib/table/TableFilterFinalForm.d.ts +2 -2
- package/lib/table/TableFilterFinalForm.d.ts.map +1 -1
- package/lib/table/TableLocalChanges.d.ts +2 -2
- package/lib/table/TableLocalChanges.d.ts.map +1 -1
- package/lib/table/TableLocalChanges.js +3 -1
- package/lib/table/TableQuery.d.ts +3 -3
- package/lib/table/TableQuery.d.ts.map +1 -1
- package/lib/table/TableQuery.js +3 -1
- package/lib/table/TableQueryContext.d.ts +2 -2
- package/lib/table/TableQueryContext.d.ts.map +1 -1
- package/lib/table/excelexport/IExportApi.d.ts +1 -1
- package/lib/table/excelexport/IExportApi.d.ts.map +1 -1
- package/lib/table/excelexport/applyDefaultStyling.d.ts +1 -1
- package/lib/table/excelexport/applyDefaultStyling.d.ts.map +1 -1
- package/lib/table/excelexport/useExportDisplayedTableData.d.ts +1 -1
- package/lib/table/excelexport/useExportDisplayedTableData.d.ts.map +1 -1
- package/lib/table/excelexport/useExportPagedTableQuery.d.ts +2 -2
- package/lib/table/excelexport/useExportPagedTableQuery.d.ts.map +1 -1
- package/lib/table/excelexport/useExportTableQuery.d.ts +2 -2
- package/lib/table/excelexport/useExportTableQuery.d.ts.map +1 -1
- package/lib/table/filterbar/FilterBar.d.ts +2 -2
- package/lib/table/filterbar/FilterBar.d.ts.map +1 -1
- package/lib/table/filterbar/filterBarActiveFilterBadge/FilterBarActiveFilterBadge.d.ts +1 -1
- package/lib/table/filterbar/filterBarActiveFilterBadge/FilterBarActiveFilterBadge.d.ts.map +1 -1
- package/lib/table/filterbar/filterBarButton/FilterBarButton.d.ts +2 -2
- package/lib/table/filterbar/filterBarButton/FilterBarButton.d.ts.map +1 -1
- package/lib/table/filterbar/filterBarMoreFilters/FilterBarMoreFilters.d.ts +2 -2
- package/lib/table/filterbar/filterBarMoreFilters/FilterBarMoreFilters.d.ts.map +1 -1
- package/lib/table/filterbar/filterBarPopoverFilter/FilterBarPopoverFilter.d.ts +2 -2
- package/lib/table/filterbar/filterBarPopoverFilter/FilterBarPopoverFilter.d.ts.map +1 -1
- package/lib/table/isVisible.d.ts +1 -1
- package/lib/table/isVisible.d.ts.map +1 -1
- package/lib/table/paging/IPagingInfo.d.ts +1 -1
- package/lib/table/paging/IPagingInfo.d.ts.map +1 -1
- package/lib/table/paging/createOffsetLimitPagingAction.d.ts +2 -2
- package/lib/table/paging/createOffsetLimitPagingAction.d.ts.map +1 -1
- package/lib/table/paging/createPagePagingActions.d.ts +2 -2
- package/lib/table/paging/createPagePagingActions.d.ts.map +1 -1
- package/lib/table/paging/createRelayPagingActions.d.ts +2 -2
- package/lib/table/paging/createRelayPagingActions.d.ts.map +1 -1
- package/lib/table/paging/createRestPagingActions.d.ts +2 -2
- package/lib/table/paging/createRestPagingActions.d.ts.map +1 -1
- package/lib/table/paging/createRestStartLimitPagingActions.d.ts +2 -2
- package/lib/table/paging/createRestStartLimitPagingActions.d.ts.map +1 -1
- package/lib/table/safeColumnGet.d.ts.map +1 -1
- package/lib/table/safeColumnGet.js +6 -2
- package/lib/table/usePersistedState.d.ts.map +1 -1
- package/lib/table/usePersistedState.js +6 -2
- package/lib/table/useTableQuery.d.ts +4 -4
- package/lib/table/useTableQuery.d.ts.map +1 -1
- package/lib/table/useTableQueryFilter.d.ts +1 -1
- package/lib/table/useTableQueryFilter.d.ts.map +1 -1
- package/lib/table/useTableQueryFilter.js +3 -1
- package/lib/table/useTableQueryPaging.d.ts +1 -1
- package/lib/table/useTableQueryPaging.d.ts.map +1 -1
- package/lib/table/useTableQueryPaging.js +3 -1
- package/lib/table/withTableQueryContext.d.ts +1 -1
- package/lib/table/withTableQueryContext.d.ts.map +1 -1
- package/lib/tabs/RouterTabs.d.ts +1 -1
- package/lib/tabs/RouterTabs.d.ts.map +1 -1
- package/lib/tabs/Tabs.d.ts +2 -2
- package/lib/tabs/Tabs.d.ts.map +1 -1
- package/lib/theme/breakpointsOptions.d.ts +1 -1
- package/lib/theme/breakpointsOptions.d.ts.map +1 -1
- package/lib/theme/colors.d.ts +1 -1
- package/lib/theme/colors.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiAccordion.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiAccordion.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiAlert.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiAlert.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiAlertTitle.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiAlertTitle.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiAppBar.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiAppBar.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiAutocomplete.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiAutocomplete.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiBadge.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiBadge.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiButton.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiButton.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiButtonGroup.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiButtonGroup.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiCard.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiCard.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiCardContent.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiCardContent.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiCardHeader.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiCardHeader.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiCheckbox.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiCheckbox.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiChip.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiChip.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiDataGrid.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiDataGrid.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiDialog.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiDialog.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiDialogActions.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiDialogActions.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiDialogContent.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiDialogContent.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiDialogContentText.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiDialogContentText.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiDialogTitle.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiDialogTitle.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiDrawer.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiDrawer.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiFormControlLabel.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiFormControlLabel.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiFormHelperText.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiFormHelperText.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiFormLabel.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiFormLabel.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiIconButton.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiIconButton.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiInput.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiInput.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiInputAdornment.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiInputAdornment.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiInputBase.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiInputBase.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiLinearProgress.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiLinearProgress.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiLink.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiLink.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiList.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiList.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiListItem.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiListItem.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiListItemAvatar.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiListItemAvatar.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiListItemButton.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiListItemButton.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiListItemIcon.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiListItemIcon.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiListItemText.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiListItemText.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiMenu.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiMenu.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiMenuItem.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiMenuItem.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiNativeSelect.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiNativeSelect.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiPaper.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiPaper.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiPickerPopper.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiPickerPopper.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiPickersInputBase.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiPickersInputBase.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiPickersTextField.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiPickersTextField.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiPopover.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiPopover.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiRadio.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiRadio.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiSelect.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiSelect.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiSvgIcon.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiSvgIcon.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiSwitch.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiSwitch.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiTab.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiTab.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiTableCell.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiTableCell.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiTableFooter.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiTableFooter.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiTablePagination.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiTablePagination.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiTableRow.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiTableRow.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiTabs.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiTabs.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiToggleButton.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiToggleButton.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiToggleButtonGroup.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiToggleButtonGroup.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiTooltip.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiTooltip.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiTypography.d.ts +1 -1
- package/lib/theme/componentsTheme/MuiTypography.d.ts.map +1 -1
- package/lib/theme/componentsTheme/getComponentsTheme.d.ts +2 -2
- package/lib/theme/componentsTheme/getComponentsTheme.d.ts.map +1 -1
- package/lib/theme/paletteOptions.d.ts +1 -1
- package/lib/theme/paletteOptions.d.ts.map +1 -1
- package/lib/theme/shadows.d.ts +1 -1
- package/lib/theme/shadows.d.ts.map +1 -1
- package/lib/theme/typographyOptions.d.ts +3 -3
- package/lib/theme/typographyOptions.d.ts.map +1 -1
- package/lib/theme/utils/mergeOverrideStyles.d.ts +1 -1
- package/lib/theme/utils/mergeOverrideStyles.d.ts.map +1 -1
- package/lib/translator/ContentTranslationServiceContext.d.ts +1 -0
- package/lib/translator/ContentTranslationServiceContext.d.ts.map +1 -1
- package/lib/translator/ContentTranslationServiceProvider.d.ts +2 -2
- package/lib/translator/ContentTranslationServiceProvider.d.ts.map +1 -1
- package/lib/translator/ContentTranslationServiceProvider.js +4 -2
- package/lib/translator/PlainTextTranslationDialog.d.ts +1 -0
- package/lib/translator/PlainTextTranslationDialog.d.ts.map +1 -1
- package/lib/translator/PlainTextTranslationDialog.js +8 -3
- package/lib/translator/__stories__/ContentTranslation.stories.js +104 -0
- package/lib/utils/test-utils.d.ts +1 -1
- package/lib/utils/test-utils.d.ts.map +1 -1
- package/lib/utils/useObservedWidth.d.ts.map +1 -1
- package/lib/utils/useObservedWidth.js +6 -2
- package/package.json +26 -27
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type ComponentsOverrides, type Theme } from "@mui/material";
|
|
2
|
-
import {
|
|
2
|
+
import type { DateRangePickerProps as MuiDateRangePickerProps } from "@mui/x-date-pickers-pro";
|
|
3
3
|
import { type ComponentType, type ReactNode } from "react";
|
|
4
4
|
import { ClearInputAdornment as CometClearInputAdornment } from "../../common/ClearInputAdornment";
|
|
5
5
|
import { OpenPickerAdornment } from "../../common/OpenPickerAdornment";
|
|
6
6
|
import { ReadOnlyAdornment } from "../../common/ReadOnlyAdornment";
|
|
7
|
-
import {
|
|
7
|
+
import type { ThemedComponentBaseProps } from "../../helpers/ThemedComponentBaseProps";
|
|
8
8
|
/**
|
|
9
9
|
* Represents a date range with start and end dates in ISO 8601 format (YYYY-MM-DD).
|
|
10
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/dateTime/dateRangePicker/DateRangePicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,mBAAmB,EAA0B,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../src/dateTime/dateRangePicker/DateRangePicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,mBAAmB,EAA0B,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AAC5G,OAAO,KAAK,EAAE,oBAAoB,IAAI,uBAAuB,EAAE,M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,OAAO,GAAG,UAAU,CAAC,CAAC;AAMxD;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,oBAAoB,4CAsG5D,CAAC;AA4BF,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,mBAAmB;QACzB,yBAAyB,EAAE,oBAAoB,CAAC;KACnD;IAED,UAAU,uBAAuB;QAC7B,yBAAyB,EAAE,uBAAuB,CAAC;KACtD;IAED,UAAU,UAAU;QAChB,yBAAyB,CAAC,EAAE;YACxB,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,2BAA2B,CAAC,CAAC,CAAC;YACzE,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,2BAA2B,CAAC,CAAC;SAC5E,CAAC;KACL;CACJ"}
|
|
@@ -135,9 +135,8 @@ export var DateRangePicker = function DateRangePicker(inProps) {
|
|
|
135
135
|
endAdornment: /*#__PURE__*/_jsxs(_Fragment, {
|
|
136
136
|
children: [/*#__PURE__*/_jsx(ReadOnlyAdornment, _objectSpread({
|
|
137
137
|
inputIsReadOnly: Boolean(readOnly)
|
|
138
|
-
}, slotProps === null || slotProps === void 0 ? void 0 : slotProps.readOnlyAdornment)), /*#__PURE__*/_jsx(ClearInputAdornment, _objectSpread({
|
|
138
|
+
}, slotProps === null || slotProps === void 0 ? void 0 : slotProps.readOnlyAdornment)), hasDateRangeValue && !required && !disabled && !readOnly && /*#__PURE__*/_jsx(ClearInputAdornment, _objectSpread({
|
|
139
139
|
position: "end",
|
|
140
|
-
hasClearableContent: hasDateRangeValue && !required && !disabled && !readOnly,
|
|
141
140
|
onClick: function onClick() {
|
|
142
141
|
return _onChange === null || _onChange === void 0 ? void 0 : _onChange(undefined);
|
|
143
142
|
}
|
|
@@ -4,7 +4,7 @@ import { type ReactNode } from "react";
|
|
|
4
4
|
import { ClearInputAdornment as CometClearInputAdornment } from "../../common/ClearInputAdornment";
|
|
5
5
|
import { OpenPickerAdornment } from "../../common/OpenPickerAdornment";
|
|
6
6
|
import { ReadOnlyAdornment } from "../../common/ReadOnlyAdornment";
|
|
7
|
-
import {
|
|
7
|
+
import type { ThemedComponentBaseProps } from "../../helpers/ThemedComponentBaseProps";
|
|
8
8
|
export type DateTimePickerClassKey = "root" | "clearInputAdornment" | "readOnlyAdornment" | "openPickerAdornment";
|
|
9
9
|
export type DateTimePickerProps = ThemedComponentBaseProps<{
|
|
10
10
|
root: typeof MuiDateTimePicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimePicker.d.ts","sourceRoot":"","sources":["../../../src/dateTime/dateTimePicker/DateTimePicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,mBAAmB,EAA0B,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AAC5G,OAAO,EACH,cAAc,IAAI,iBAAiB,EACnC,KAAK,mBAAmB,IAAI,sBAAsB,EAErD,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,mBAAmB,IAAI,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACnG,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DateTimePicker.d.ts","sourceRoot":"","sources":["../../../src/dateTime/dateTimePicker/DateTimePicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,mBAAmB,EAA0B,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AAC5G,OAAO,EACH,cAAc,IAAI,iBAAiB,EACnC,KAAK,mBAAmB,IAAI,sBAAsB,EAErD,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,mBAAmB,IAAI,wBAAwB,EAAE,MAAM,kCA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,EAAE;YACvB,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,0BAA0B,CAAC,CAAC,CAAC;YACxE,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,0BAA0B,CAAC,CAAC;SAC3E,CAAC;KACL;CACJ"}
|
|
@@ -114,9 +114,8 @@ export var DateTimePicker = function DateTimePicker(inProps) {
|
|
|
114
114
|
endAdornment: /*#__PURE__*/_jsxs(_Fragment, {
|
|
115
115
|
children: [/*#__PURE__*/_jsx(ReadOnlyAdornment, _objectSpread({
|
|
116
116
|
inputIsReadOnly: Boolean(readOnly)
|
|
117
|
-
}, slotProps === null || slotProps === void 0 ? void 0 : slotProps.readOnlyAdornment)), /*#__PURE__*/_jsx(ClearInputAdornment, _objectSpread({
|
|
117
|
+
}, slotProps === null || slotProps === void 0 ? void 0 : slotProps.readOnlyAdornment)), value !== null && !required && !disabled && !readOnly && /*#__PURE__*/_jsx(ClearInputAdornment, _objectSpread({
|
|
118
118
|
position: "end",
|
|
119
|
-
hasClearableContent: value !== null && !required && !disabled && !readOnly,
|
|
120
119
|
onClick: function onClick() {
|
|
121
120
|
return _onChange === null || _onChange === void 0 ? void 0 : _onChange(undefined);
|
|
122
121
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type ComponentsOverrides, type Theme } from "@mui/material";
|
|
2
|
-
import {
|
|
2
|
+
import type { DateTimeRangePickerProps as MuiDateTimeRangePickerProps } from "@mui/x-date-pickers-pro";
|
|
3
3
|
import { type ComponentType, type ReactNode } from "react";
|
|
4
4
|
import { ClearInputAdornment as CometClearInputAdornment } from "../../common/ClearInputAdornment";
|
|
5
5
|
import { OpenPickerAdornment } from "../../common/OpenPickerAdornment";
|
|
6
6
|
import { ReadOnlyAdornment } from "../../common/ReadOnlyAdornment";
|
|
7
|
-
import {
|
|
7
|
+
import type { ThemedComponentBaseProps } from "../../helpers/ThemedComponentBaseProps";
|
|
8
8
|
/**
|
|
9
9
|
* Represents a date-time range with start and end dates as Date objects.
|
|
10
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimeRangePicker.d.ts","sourceRoot":"","sources":["../../../src/dateTime/dateTimeRangePicker/DateTimeRangePicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,mBAAmB,EAA0B,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DateTimeRangePicker.d.ts","sourceRoot":"","sources":["../../../src/dateTime/dateTimeRangePicker/DateTimeRangePicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,mBAAmB,EAA0B,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AAC5G,OAAO,KAAK,EAAE,wBAAwB,IAAI,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACvG,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,SAAS,EAAsB,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAE,mBAAmB,IAAI,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACnG,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAGvF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB,KAAK,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,GAAG,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,MAAM,GAAG,qBAAqB,GAAG,mBAAmB,GAAG,qBAAqB,CAAC;AAEvH,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,CAAC;IAC5D,IAAI,EAAE,aAAa,CAAC,2BAA2B,CAAC,CAAC;IACjD,mBAAmB,EAAE,OAAO,wBAAwB,CAAC;IACrD,iBAAiB,EAAE,OAAO,iBAAiB,CAAC;IAC5C,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;CACnD,CAAC,GAAG;IACD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,GAAG,SAAS,KAAK,IAAI,CAAC;IACrD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE;QACV,UAAU,CAAC,EAAE,SAAS,CAAC;KAC1B,CAAC;CACL,GAAG,IAAI,CAAC,2BAA2B,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAE5D;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,GAAI,SAAS,wBAAwB,4CA2GpE,CAAC;AA4BF,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,mBAAmB;QACzB,6BAA6B,EAAE,wBAAwB,CAAC;KAC3D;IAED,UAAU,uBAAuB;QAC7B,6BAA6B,EAAE,2BAA2B,CAAC;KAC9D;IAED,UAAU,UAAU;QAChB,6BAA6B,CAAC,EAAE;YAC5B,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,+BAA+B,CAAC,CAAC,CAAC;YAC7E,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,+BAA+B,CAAC,CAAC;SAChF,CAAC;KACL;CACJ"}
|
|
@@ -133,11 +133,10 @@ export var DateTimeRangePicker = function DateTimeRangePicker(inProps) {
|
|
|
133
133
|
endAdornment: /*#__PURE__*/_jsxs(_Fragment, {
|
|
134
134
|
children: [/*#__PURE__*/_jsx(ReadOnlyAdornment, _objectSpread({
|
|
135
135
|
inputIsReadOnly: Boolean(readOnly)
|
|
136
|
-
}, slotProps === null || slotProps === void 0 ? void 0 : slotProps.readOnlyAdornment)),
|
|
136
|
+
}, slotProps === null || slotProps === void 0 ? void 0 : slotProps.readOnlyAdornment)), arrayValue.some(function (date) {
|
|
137
|
+
return date !== null;
|
|
138
|
+
}) && !required && !disabled && !readOnly && /*#__PURE__*/_jsx(ClearInputAdornment, _objectSpread({
|
|
137
139
|
position: "end",
|
|
138
|
-
hasClearableContent: arrayValue.some(function (date) {
|
|
139
|
-
return date !== null;
|
|
140
|
-
}) && !required && !disabled && !readOnly,
|
|
141
140
|
onClick: function onClick() {
|
|
142
141
|
return _onChange === null || _onChange === void 0 ? void 0 : _onChange(undefined);
|
|
143
142
|
}
|
|
@@ -4,7 +4,7 @@ import { type ReactNode } from "react";
|
|
|
4
4
|
import { ClearInputAdornment as CometClearInputAdornment } from "../../common/ClearInputAdornment";
|
|
5
5
|
import { OpenPickerAdornment } from "../../common/OpenPickerAdornment";
|
|
6
6
|
import { ReadOnlyAdornment } from "../../common/ReadOnlyAdornment";
|
|
7
|
-
import {
|
|
7
|
+
import type { ThemedComponentBaseProps } from "../../helpers/ThemedComponentBaseProps";
|
|
8
8
|
export type TimePickerClassKey = "root" | "clearInputAdornment" | "readOnlyAdornment" | "openPickerAdornment";
|
|
9
9
|
export type TimePickerProps = ThemedComponentBaseProps<{
|
|
10
10
|
root: typeof MuiTimePicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/dateTime/timePicker/TimePicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,mBAAmB,EAA0B,KAAK,KAAK,EAAiB,MAAM,eAAe,CAAC;AAC5G,OAAO,EAA2B,UAAU,IAAI,aAAa,EAAE,KAAK,eAAe,IAAI,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEvI,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,mBAAmB,IAA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,GAAG,SAAS,KAAK,IAAI,CAAC;IAC9C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE;QACV,UAAU,CAAC,EAAE,SAAS,CAAC;KAC1B,CAAC;CACL,GAAG,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,UAAU,GAAG,WAAW,CAAC,CAAC;AAqBjE;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,GAAI,SAAS,eAAe,4CA8FlD,CAAC;AAoBF,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,mBAAmB;QACzB,oBAAoB,EAAE,eAAe,CAAC;KACzC;IAED,UAAU,uBAAuB;QAC7B,oBAAoB,EAAE,kBAAkB,CAAC;KAC5C;IAED,UAAU,UAAU;QAChB,oBAAoB,CAAC,EAAE;YACnB,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,CAAC;YACpE,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,sBAAsB,CAAC,CAAC;SACvE,CAAC;KACL;CACJ"}
|
|
@@ -129,9 +129,8 @@ export var TimePicker = function TimePicker(inProps) {
|
|
|
129
129
|
endAdornment: /*#__PURE__*/_jsxs(_Fragment, {
|
|
130
130
|
children: [/*#__PURE__*/_jsx(ReadOnlyAdornment, _objectSpread({
|
|
131
131
|
inputIsReadOnly: Boolean(readOnly)
|
|
132
|
-
}, slotProps === null || slotProps === void 0 ? void 0 : slotProps.readOnlyAdornment)), /*#__PURE__*/_jsx(ClearInputAdornment, _objectSpread({
|
|
132
|
+
}, slotProps === null || slotProps === void 0 ? void 0 : slotProps.readOnlyAdornment)), dateValue !== null && !required && !disabled && !readOnly && /*#__PURE__*/_jsx(ClearInputAdornment, _objectSpread({
|
|
133
133
|
position: "end",
|
|
134
|
-
hasClearableContent: dateValue !== null && !required && !disabled && !readOnly,
|
|
135
134
|
onClick: function onClick() {
|
|
136
135
|
return _onChange === null || _onChange === void 0 ? void 0 : _onChange(undefined);
|
|
137
136
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ErrorInfo, type PropsWithChildren } from "react";
|
|
2
|
+
interface ErrorHandlerContextValue {
|
|
3
|
+
onError?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
4
|
+
}
|
|
5
|
+
export declare function ErrorHandlerProvider({ children, onError }: PropsWithChildren<ErrorHandlerContextValue>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const useErrorHandler: () => ErrorHandlerContextValue;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=ErrorHandlerProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorHandlerProvider.d.ts","sourceRoot":"","sources":["../../../src/error/errorHandler/ErrorHandlerProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAE,KAAK,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAE1F,UAAU,wBAAwB;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;CAC1D;AAID,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,wBAAwB,CAAC,2CAEtG;AAED,eAAO,MAAM,eAAe,gCAE3B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createContext, useContext } from "react";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
var ErrorHandlerContext = /*#__PURE__*/createContext({});
|
|
4
|
+
export function ErrorHandlerProvider(_ref) {
|
|
5
|
+
var children = _ref.children,
|
|
6
|
+
onError = _ref.onError;
|
|
7
|
+
return /*#__PURE__*/_jsx(ErrorHandlerContext.Provider, {
|
|
8
|
+
value: {
|
|
9
|
+
onError: onError
|
|
10
|
+
},
|
|
11
|
+
children: children
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
export var useErrorHandler = function useErrorHandler() {
|
|
15
|
+
return useContext(ErrorHandlerContext);
|
|
16
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Alert as MuiAlert, type AlertProps, type ComponentsOverrides, Typography } from "@mui/material";
|
|
2
2
|
import { type Theme } from "@mui/material/styles";
|
|
3
3
|
import { type PropsWithChildren, type ReactNode } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import type { ThemedComponentBaseProps } from "../../helpers/ThemedComponentBaseProps";
|
|
5
5
|
export type ErrorBoundaryClassKey = "alert" | "message" | "exceptionDetails" | "exceptionSummary" | "exceptionSummaryIcon" | "exceptionSummaryIconOpened" | "exceptionSummaryIconClosed" | "exceptionSummaryTitle" | "exceptionStackTrace";
|
|
6
6
|
export type ErrorBoundaryProps = PropsWithChildren<{
|
|
7
7
|
userErrorMessage?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/error/errorboundary/ErrorBoundary.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,IAAI,QAAQ,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACzG,OAAO,EAAO,KAAK,KAAK,EAAiB,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAA6B,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1F,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/error/errorboundary/ErrorBoundary.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,IAAI,QAAQ,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACzG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AAU,UAAU;QAChB,uBAAuB,CAAC,EAAE;YACtB,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,yBAAyB,CAAC,CAAC,CAAC;YACvE,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,yBAAyB,CAAC,CAAC;SAC1E,CAAC;KACL;CACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["variant", "icon", "toggleDetailsOpenedIcon", "toggleDetailsClosedIcon", "children", "slotProps", "userErrorMessage", "key"];
|
|
2
|
+
var _excluded = ["variant", "icon", "toggleDetailsOpenedIcon", "toggleDetailsClosedIcon", "children", "slotProps", "userErrorMessage", "key", "onError"];
|
|
3
3
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
|
4
4
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
5
5
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
@@ -26,6 +26,7 @@ import { css, useThemeProps } from "@mui/material/styles";
|
|
|
26
26
|
import { Component } from "react";
|
|
27
27
|
import { FormattedMessage } from "react-intl";
|
|
28
28
|
import { createComponentSlot } from "../../helpers/createComponentSlot";
|
|
29
|
+
import { useErrorHandler } from "../errorHandler/ErrorHandlerProvider";
|
|
29
30
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
30
31
|
var Alert = createComponentSlot(MuiAlert)({
|
|
31
32
|
componentName: "ErrorBoundary",
|
|
@@ -82,7 +83,11 @@ export var ErrorBoundary = function ErrorBoundary(inProps) {
|
|
|
82
83
|
props: inProps,
|
|
83
84
|
name: "CometAdminErrorBoundary"
|
|
84
85
|
});
|
|
85
|
-
|
|
86
|
+
var _useErrorHandler = useErrorHandler(),
|
|
87
|
+
onError = _useErrorHandler.onError;
|
|
88
|
+
return /*#__PURE__*/_jsx(CoreErrorBoundary, _objectSpread(_objectSpread({}, props), {}, {
|
|
89
|
+
onError: onError
|
|
90
|
+
}));
|
|
86
91
|
};
|
|
87
92
|
var CoreErrorBoundary = /*#__PURE__*/function (_Component) {
|
|
88
93
|
function CoreErrorBoundary(props) {
|
|
@@ -96,35 +101,38 @@ var CoreErrorBoundary = /*#__PURE__*/function (_Component) {
|
|
|
96
101
|
return _createClass(CoreErrorBoundary, [{
|
|
97
102
|
key: "componentDidCatch",
|
|
98
103
|
value: function componentDidCatch(error, errorInfo) {
|
|
104
|
+
var _this$props$onError, _this$props;
|
|
99
105
|
this.setState(function (prev) {
|
|
100
106
|
return _objectSpread(_objectSpread({}, prev), {}, {
|
|
101
107
|
error: error,
|
|
102
108
|
errorInfo: errorInfo
|
|
103
109
|
});
|
|
104
110
|
});
|
|
111
|
+
(_this$props$onError = (_this$props = this.props).onError) === null || _this$props$onError === void 0 || _this$props$onError.call(_this$props, error, errorInfo);
|
|
105
112
|
}
|
|
106
113
|
}, {
|
|
107
114
|
key: "render",
|
|
108
115
|
value: function render() {
|
|
109
116
|
var _this2 = this;
|
|
110
|
-
var _this$
|
|
111
|
-
_this$
|
|
112
|
-
variant = _this$
|
|
113
|
-
_this$
|
|
114
|
-
icon = _this$
|
|
115
|
-
_this$
|
|
116
|
-
toggleDetailsOpenedIcon = _this$
|
|
117
|
+
var _this$props2 = this.props,
|
|
118
|
+
_this$props2$variant = _this$props2.variant,
|
|
119
|
+
variant = _this$props2$variant === void 0 ? "filled" : _this$props2$variant,
|
|
120
|
+
_this$props2$icon = _this$props2.icon,
|
|
121
|
+
icon = _this$props2$icon === void 0 ? /*#__PURE__*/_jsx(Error, {}) : _this$props2$icon,
|
|
122
|
+
_this$props2$toggleDe = _this$props2.toggleDetailsOpenedIcon,
|
|
123
|
+
toggleDetailsOpenedIcon = _this$props2$toggleDe === void 0 ? /*#__PURE__*/_jsx(ChevronRight, {
|
|
117
124
|
fontSize: "small"
|
|
118
|
-
}) : _this$
|
|
119
|
-
_this$
|
|
120
|
-
toggleDetailsClosedIcon = _this$
|
|
125
|
+
}) : _this$props2$toggleDe,
|
|
126
|
+
_this$props2$toggleDe2 = _this$props2.toggleDetailsClosedIcon,
|
|
127
|
+
toggleDetailsClosedIcon = _this$props2$toggleDe2 === void 0 ? /*#__PURE__*/_jsx(ChevronDown, {
|
|
121
128
|
fontSize: "small"
|
|
122
|
-
}) : _this$
|
|
123
|
-
children = _this$
|
|
124
|
-
slotProps = _this$
|
|
125
|
-
userErrorMessage = _this$
|
|
126
|
-
key = _this$
|
|
127
|
-
|
|
129
|
+
}) : _this$props2$toggleDe2,
|
|
130
|
+
children = _this$props2.children,
|
|
131
|
+
slotProps = _this$props2.slotProps,
|
|
132
|
+
userErrorMessage = _this$props2.userErrorMessage,
|
|
133
|
+
key = _this$props2.key,
|
|
134
|
+
onError = _this$props2.onError,
|
|
135
|
+
restProps = _objectWithoutProperties(_this$props2, _excluded);
|
|
128
136
|
var _this$state = this.state,
|
|
129
137
|
error = _this$state.error,
|
|
130
138
|
errorInfo = _this$state.errorInfo,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorDialogVar.d.ts","sourceRoot":"","sources":["../../../src/error/errordialog/errorDialogVar.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"errorDialogVar.d.ts","sourceRoot":"","sources":["../../../src/error/errordialog/errorDialogVar.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,eAAO,MAAM,cAAc,sEAAqD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useErrorDialog.d.ts","sourceRoot":"","sources":["../../../src/error/errordialog/useErrorDialog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useErrorDialog.d.ts","sourceRoot":"","sources":["../../../src/error/errordialog/useErrorDialog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,MAAM,WAAW,oBAAoB;IACjC,SAAS,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACpD;AAED,wBAAgB,cAAc,IAAI,oBAAoB,GAAG,SAAS,CAKjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/fetchProvider/fetch.tsx"],"names":[],"mappings":"AAEA,UAAU,mBAAmB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1D;AAID,wBAAgB,WAAW,CAAC,OAAO,EAAE,mBAAmB,WACrB,WAAW,SAAS,WAAW,
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/fetchProvider/fetch.tsx"],"names":[],"mappings":"AAEA,UAAU,mBAAmB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1D;AAID,wBAAgB,WAAW,CAAC,OAAO,EAAE,mBAAmB,WACrB,WAAW,SAAS,WAAW,uBAejE;AAGD,eAAO,MAAM,YAAY,+GAAyC,CAAC;AACnE,eAAO,MAAM,aAAa,gHAAwB,CAAC;AAEnD,wBAAgB,QAAQ,yFAEvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileIcon.d.ts","sourceRoot":"","sources":["../../src/fileIcons/FileIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FileIcon.d.ts","sourceRoot":"","sources":["../../src/fileIcons/FileIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAsC1D,UAAU,MAAO,SAAQ,YAAY;IACjC,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,GAAI,uBAAuB,MAAM,4CAMrD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type AutocompleteProps } from "@mui/material";
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { FieldRenderProps } from "react-final-form";
|
|
4
|
+
import type { AsyncAutocompleteOptionsProps } from "./useAsyncAutocompleteOptionsProps";
|
|
5
5
|
export type FinalFormAutocompleteProps<T extends Record<string, any>, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined> = Partial<AsyncAutocompleteOptionsProps<T>> & Omit<AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput"> & {
|
|
6
6
|
errorText?: ReactNode;
|
|
7
7
|
required?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../src/form/Autocomplete.tsx"],"names":[],"mappings":"AACA,OAAO,EAEH,KAAK,iBAAiB,EAMzB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,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C,gMAaC,0BAA0B,CAAC,CAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,QAAQ,CAAC,GAAG,kCAAkC,CAAC,CAAC,CAAC,4CA0D7G,CAAC"}
|
package/lib/form/Autocomplete.js
CHANGED
|
@@ -71,7 +71,9 @@ export var FinalFormAutocomplete = function FinalFormAutocomplete(_ref) {
|
|
|
71
71
|
children: loadingText
|
|
72
72
|
}),
|
|
73
73
|
isOptionEqualToValue: function isOptionEqualToValue(option, value) {
|
|
74
|
-
if (!value)
|
|
74
|
+
if (!value) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
75
77
|
return option === value;
|
|
76
78
|
},
|
|
77
79
|
onChange: function onChange(_e, option) {
|
|
@@ -91,9 +93,8 @@ export var FinalFormAutocomplete = function FinalFormAutocomplete(_ref) {
|
|
|
91
93
|
children: [loading && /*#__PURE__*/_jsx(CircularProgress, {
|
|
92
94
|
color: "inherit",
|
|
93
95
|
size: 16
|
|
94
|
-
}), clearable && /*#__PURE__*/_jsx(ClearInputAdornment, {
|
|
96
|
+
}), clearable && value && /*#__PURE__*/_jsx(ClearInputAdornment, {
|
|
95
97
|
position: "end",
|
|
96
|
-
hasClearableContent: Boolean(value),
|
|
97
98
|
onClick: function onClick() {
|
|
98
99
|
return _onChange("");
|
|
99
100
|
}
|
package/lib/form/Checkbox.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CheckboxProps } from "@mui/material/Checkbox";
|
|
2
|
-
import {
|
|
2
|
+
import type { FieldRenderProps } from "react-final-form";
|
|
3
3
|
export type FinalFormCheckboxProps = CheckboxProps;
|
|
4
4
|
type FinalFormCheckboxInternalProps = FieldRenderProps<string, HTMLInputElement>;
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../src/form/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAoB,EAAE,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../src/form/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAoB,EAAE,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAEnD,KAAK,8BAA8B,GAAG,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAEjF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,qEAI/B,sBAAsB,GAAG,8BAA8B,4CAEzD,CAAC"}
|
package/lib/form/Field.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FieldValidator } from "final-form";
|
|
2
2
|
import { type ComponentType, type ReactNode } from "react";
|
|
3
3
|
import { type FieldMetaState, type FieldRenderProps } from "react-final-form";
|
|
4
4
|
import { type FieldContainerProps } from "./FieldContainer";
|
package/lib/form/Field.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../src/form/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../src/form/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,KAAK,aAAa,EAAiB,KAAK,SAAS,EAAU,MAAM,OAAO,CAAC;AAClF,OAAO,EAA2B,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAoB,MAAM,kBAAkB,CAAC;AAGzH,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAmB5E,MAAM,WAAW,UAAU,CAAC,UAAU,GAAG,GAAG,EAAE,CAA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@
|
|
|
1
1
|
import { FormControl, FormHelperText, FormLabel } from "@mui/material";
|
|
2
2
|
import { type ComponentsOverrides } from "@mui/material/styles";
|
|
3
3
|
import { type PropsWithChildren, type ReactNode } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import type { ThemedComponentBaseProps } from "../helpers/ThemedComponentBaseProps";
|
|
5
5
|
export type FieldContainerProps = ThemedComponentBaseProps<{
|
|
6
6
|
root: typeof FormControl;
|
|
7
7
|
innerContainer: "div";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldContainer.d.ts","sourceRoot":"","sources":["../../src/form/FieldContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAqE,MAAM,eAAe,CAAC;AAC1I,OAAO,EAAE,KAAK,mBAAmB,EAAmB,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAGlF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FieldContainer.d.ts","sourceRoot":"","sources":["../../src/form/FieldContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAqE,MAAM,eAAe,CAAC;AAC1I,OAAO,EAAE,KAAK,mBAAmB,EAAmB,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAGlF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAEpF,MAAM,MAAM,mBAAmB,GAAG,wBAAwB,CAAC;IACvD,IAAI,EAAE,OAAO,WAAW,CAAC;IACzB,cAAc,EAAE,KAAK,CAAC;IACtB,KAAK,EAAE,OAAO,SAAS,CAAC;IACxB,cAAc,EAAE,KAAK,CAAC;IACtB,KAAK,EAAE,OAAO,cAAc,CAAC;IAC7B,OAAO,E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D;IAED,UAAU,UAAU;QAChB,4BAA4B,CAAC,EAAE;YAC3B,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,8BAA8B,CAAC,CAAC,CAAC;YAC5E,cAAc,CAAC,EAAE,mBAAmB,CAAC,8BAA8B,CAAC,CAAC;SACxE,CAAC;KACL;CACJ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SelectProps } from "@mui/material";
|
|
2
2
|
import type { FieldRenderProps } from "react-final-form";
|
|
3
3
|
import { type FinalFormSelectProps } from "./FinalFormSelect";
|
|
4
4
|
export interface FinalFormAsyncSelectProps<T> extends FinalFormSelectProps<T>, Omit<SelectProps, "input" | "variant"> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinalFormAsyncSelect.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormAsyncSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FinalFormAsyncSelect.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormAsyncSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE/E,MAAM,WAAW,yBAAyB,CAAC,CAAC,CAAE,SAAQ,oBAAoB,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC;IACjH,WAAW,EAAE,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;CACnC;AAED,KAAK,iCAAiC,CAAC,CAAC,IAAI,gBAAgB,CAAC,CAAC,EAAE,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;AACxG;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,yBAAyB,CAAC,CAAC,CAAC,GAAG,iCAAiC,CAAC,CAAC,CAAC,2CAEpI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import type { FieldMetaState } from "react-final-form";
|
|
3
3
|
export interface FinalFormContext {
|
|
4
4
|
shouldScrollToField: (fieldMeta: FieldMetaState<any>) => boolean;
|
|
5
5
|
shouldShowFieldError: (fieldMeta: FieldMetaState<any>) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinalFormContextProvider.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FinalFormContextProvider.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,WAAW,gBAAgB;IAC7B,mBAAmB,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,GAAG,CAAC,KAAK,OAAO,CAAC;IACjE,oBAAoB,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,GAAG,CAAC,KAAK,OAAO,CAAC;IAClE,sBAAsB,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,GAAG,CAAC,KAAK,OAAO,CAAC;CACvE;AAUD,MAAM,WAAW,6BAA8B,SAAQ,OAAO,CAAC,gBAAgB,CAAC;IAC5E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,wBAAgB,wBAAwB,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,6BAA6B,2CAE5F;AAED,wBAAgB,mBAAmB,IAAI,gBAAgB,CAEtD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FieldRenderProps } from "react-final-form";
|
|
2
2
|
import { type FileSelectProps } from "./file/FileSelect";
|
|
3
3
|
export interface FinalFormFileSelectProps extends FieldRenderProps<File | File[], HTMLInputElement>, Omit<FileSelectProps, "files" | "onDrop" | "onRemove"> {
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinalFormFileSelect.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormFileSelect.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FinalFormFileSelect.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormFileSelect.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGrE,MAAM,WAAW,wBACb,SAAQ,gBAAgB,CAAC,IAAI,GAAG,IAAI,EAAE,EAAE,gBAAgB,CAAC,EACrD,IAAI,CAAC,eAAe,EAAE,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC;CAAG;AAEjE,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,wBAAwB,2CAsFpE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type InputBaseProps } from "@mui/material";
|
|
2
|
-
import {
|
|
2
|
+
import type { FieldRenderProps } from "react-final-form";
|
|
3
3
|
export type FinalFormInputProps = InputBaseProps & {
|
|
4
4
|
disableContentTranslation?: boolean;
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinalFormInput.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAE3E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FinalFormInput.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAE3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAQzD,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG;IAC/C,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACvC,CAAC;AAEF,KAAK,2BAA2B,GAAG,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;AAEpG,wBAAgB,cAAc,CAAC,EAC3B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,yBAAyB,EACzB,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACX,EAAE,mBAAmB,GAAG,2BAA2B,2CAuDnD"}
|
|
@@ -42,7 +42,7 @@ export function FinalFormInput(_ref) {
|
|
|
42
42
|
translationEnabled = _useContentTranslatio.enabled,
|
|
43
43
|
showApplyTranslationDialog = _useContentTranslatio.showApplyTranslationDialog,
|
|
44
44
|
translate = _useContentTranslatio.translate;
|
|
45
|
-
var isTranslatable = translationEnabled && !disableContentTranslation && type === "text" && !props.disabled;
|
|
45
|
+
var isTranslatable = translationEnabled && !disableContentTranslation && (type === "text" || type === "textarea") && !props.disabled;
|
|
46
46
|
var _useState = useState(false),
|
|
47
47
|
_useState2 = _slicedToArray(_useState, 2),
|
|
48
48
|
open = _useState2[0],
|
|
@@ -58,9 +58,8 @@ export function FinalFormInput(_ref) {
|
|
|
58
58
|
disabled: disabled,
|
|
59
59
|
readOnly: readOnly,
|
|
60
60
|
endAdornment: (endAdornment || clearable || isTranslatable) && /*#__PURE__*/_jsxs(_Fragment, {
|
|
61
|
-
children: [clearable && /*#__PURE__*/_jsx(ClearInputAdornment, {
|
|
61
|
+
children: [clearable && input.value && /*#__PURE__*/_jsx(ClearInputAdornment, {
|
|
62
62
|
position: "end",
|
|
63
|
-
hasClearableContent: Boolean(input.value),
|
|
64
63
|
onClick: function onClick() {
|
|
65
64
|
return input.onChange("");
|
|
66
65
|
}
|
|
@@ -109,7 +108,8 @@ export function FinalFormInput(_ref) {
|
|
|
109
108
|
},
|
|
110
109
|
originalText: input.value,
|
|
111
110
|
translatedText: pendingTranslation,
|
|
112
|
-
onApplyTranslation: input.onChange
|
|
111
|
+
onApplyTranslation: input.onChange,
|
|
112
|
+
multiline: props.multiline
|
|
113
113
|
})]
|
|
114
114
|
});
|
|
115
115
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinalFormNumberInput.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormNumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FinalFormNumberInput.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormNumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAKzD,MAAM,MAAM,yBAAyB,GAAG,cAAc,GAAG;IACrD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,iCAAiC,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAElE;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACjC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAY,EACZ,GAAG,KAAK,EACX,EAAE,yBAAyB,GAAG,iCAAiC,2CAuF/D"}
|
|
@@ -94,9 +94,8 @@ export function FinalFormNumberInput(_ref) {
|
|
|
94
94
|
onChange: handleChange,
|
|
95
95
|
onBlur: handleBlur,
|
|
96
96
|
endAdornment: (endAdornment || clearable) && /*#__PURE__*/_jsxs(_Fragment, {
|
|
97
|
-
children: [clearable && /*#__PURE__*/_jsx(ClearInputAdornment, {
|
|
97
|
+
children: [clearable && typeof input.value === "number" && /*#__PURE__*/_jsx(ClearInputAdornment, {
|
|
98
98
|
position: "end",
|
|
99
|
-
hasClearableContent: typeof input.value === "number",
|
|
100
99
|
onClick: function onClick() {
|
|
101
100
|
return input.onChange(undefined);
|
|
102
101
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type SliderProps } from "@mui/material";
|
|
2
2
|
import { type ComponentsOverrides, type Theme } from "@mui/material/styles";
|
|
3
3
|
import { type ReactNode } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import type { FieldRenderProps } from "react-final-form";
|
|
5
|
+
import type { ThemedComponentBaseProps } from "../helpers/ThemedComponentBaseProps";
|
|
6
6
|
export type FinalFormRangeInputClassKey = "root" | "disableSlider" | "inputsWrapper" | "inputFieldsSeparatorContainer" | "sliderWrapper" | "inputFieldContainer";
|
|
7
7
|
export interface FinalFormRangeInputProps extends FieldRenderProps<{
|
|
8
8
|
min: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinalFormRangeInput.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormRangeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAE,KAAK,mBAAmB,EAAO,KAAK,KAAK,EAAiB,MAAM,sBAAsB,CAAC;AAChG,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FinalFormRangeInput.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormRangeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,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AAC,KAAK,CAAC,CAAC,+BAA+B,CAAC,CAAC;SAChF,CAAC;KACL;CACJ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
2
|
import type { FieldRenderProps } from "react-final-form";
|
|
3
3
|
import { type FinalFormInputProps } from "./FinalFormInput";
|
|
4
4
|
export interface FinalFormSearchTextFieldProps extends FinalFormInputProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinalFormSearchTextField.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormSearchTextField.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FinalFormSearchTextField.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormSearchTextField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,WAAW,6BAA8B,SAAQ,mBAAmB;IACtE,IAAI,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,KAAK,qCAAqC,GAAG,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;AAE9G;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,6BAA6B,GAAG,qCAAqC,2CAgBtH;AAED,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,mBAAmB;QACzB,kCAAkC,EAAE,6BAA6B,CAAC;KACrE;IAED,UAAU,UAAU;QAChB,kCAAkC,CAAC,EAAE;YACjC,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,oCAAoC,CAAC,CAAC,CAAC;SACrF,CAAC;KACL;CACJ"}
|