@comet/admin 7.15.1-canary-20250227143218 → 8.0.0-beta.0
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 +4 -4
- package/lib/ContentOverflow.d.ts.map +1 -1
- package/lib/ContentOverflow.js +16 -16
- package/lib/DeleteMutation.d.ts +3 -3
- package/lib/DeleteMutation.d.ts.map +1 -1
- package/lib/DeleteMutation.js +6 -6
- package/lib/EditDialog.d.ts +7 -7
- package/lib/EditDialog.d.ts.map +1 -1
- package/lib/EditDialog.js +12 -12
- package/lib/EditDialogApiContext.d.ts +0 -1
- package/lib/EditDialogApiContext.d.ts.map +1 -1
- package/lib/FinalForm.d.ts +5 -5
- package/lib/FinalForm.d.ts.map +1 -1
- package/lib/FinalForm.js +40 -41
- package/lib/FinalFormSaveButton.d.ts +2 -2
- package/lib/FinalFormSaveButton.d.ts.map +1 -1
- package/lib/FinalFormSaveButton.js +6 -6
- package/lib/FinalFormSaveCancelButtonsLegacy.d.ts +5 -5
- package/lib/FinalFormSaveCancelButtonsLegacy.d.ts.map +1 -1
- package/lib/FinalFormSaveCancelButtonsLegacy.js +9 -9
- package/lib/FinalFormSaveSplitButton.d.ts +4 -3
- package/lib/FinalFormSaveSplitButton.d.ts.map +1 -1
- package/lib/FinalFormSaveSplitButton.js +18 -19
- package/lib/FormMutation.d.ts +1 -1
- package/lib/FormMutation.d.ts.map +1 -1
- package/lib/FormMutation.js +5 -5
- package/lib/Selected.d.ts +4 -4
- package/lib/Selected.d.ts.map +1 -1
- package/lib/Selected.js +6 -7
- package/lib/Selection.d.ts +3 -3
- package/lib/Selection.d.ts.map +1 -1
- package/lib/Selection.js +13 -13
- package/lib/SelectionRoute.d.ts +4 -4
- package/lib/SelectionRoute.d.ts.map +1 -1
- package/lib/SelectionRoute.js +15 -12
- package/lib/alert/Alert.d.ts +2 -2
- package/lib/alert/Alert.d.ts.map +1 -1
- package/lib/alert/Alert.js +13 -13
- package/lib/apollo/filterByFragment.d.ts +1 -1
- package/lib/apollo/filterByFragment.d.ts.map +1 -1
- package/lib/apollo/filterByFragment.js +1 -1
- package/lib/apollo/useFocusAwarePolling.d.ts +1 -1
- package/lib/apollo/useFocusAwarePolling.d.ts.map +1 -1
- package/lib/appHeader/AppHeader.d.ts +3 -4
- package/lib/appHeader/AppHeader.d.ts.map +1 -1
- package/lib/appHeader/AppHeader.js +9 -9
- package/lib/appHeader/button/AppHeaderButton.d.ts +5 -5
- package/lib/appHeader/button/AppHeaderButton.d.ts.map +1 -1
- package/lib/appHeader/button/AppHeaderButton.js +8 -8
- package/lib/appHeader/button/AppHeaderButton.styles.d.ts +20 -60
- package/lib/appHeader/button/AppHeaderButton.styles.d.ts.map +1 -1
- package/lib/appHeader/button/AppHeaderButton.styles.js +1 -1
- package/lib/appHeader/dropdown/AppHeaderDropdown.d.ts +9 -11
- package/lib/appHeader/dropdown/AppHeaderDropdown.d.ts.map +1 -1
- package/lib/appHeader/dropdown/AppHeaderDropdown.js +14 -14
- package/lib/appHeader/fillSpace/AppHeaderFillSpace.d.ts +3 -4
- package/lib/appHeader/fillSpace/AppHeaderFillSpace.d.ts.map +1 -1
- package/lib/appHeader/fillSpace/AppHeaderFillSpace.js +9 -9
- package/lib/appHeader/menuButton/AppHeaderMenuButton.d.ts +2 -3
- package/lib/appHeader/menuButton/AppHeaderMenuButton.d.ts.map +1 -1
- package/lib/appHeader/menuButton/AppHeaderMenuButton.js +14 -15
- package/lib/buildRestMutation.js +1 -1
- package/lib/clipboard/readClipboardText.js +5 -5
- package/lib/clipboard/writeClipboardText.js +5 -5
- package/lib/common/ClearInputAdornment.d.ts +4 -4
- package/lib/common/ClearInputAdornment.d.ts.map +1 -1
- package/lib/common/ClearInputAdornment.js +9 -9
- package/lib/common/CometLogo.d.ts +1 -2
- package/lib/common/CometLogo.d.ts.map +1 -1
- package/lib/common/DeleteDialog.d.ts +1 -2
- package/lib/common/DeleteDialog.d.ts.map +1 -1
- package/lib/common/DeleteDialog.js +6 -6
- package/lib/common/Dialog.d.ts +4 -4
- package/lib/common/Dialog.d.ts.map +1 -1
- package/lib/common/Dialog.js +9 -9
- package/lib/common/FieldSet.d.ts +4 -4
- package/lib/common/FieldSet.d.ts.map +1 -1
- package/lib/common/FieldSet.js +16 -16
- package/lib/common/FillSpace.d.ts +3 -4
- package/lib/common/FillSpace.d.ts.map +1 -1
- package/lib/common/FillSpace.js +9 -9
- package/lib/common/FullHeightContent.d.ts +4 -4
- package/lib/common/FullHeightContent.d.ts.map +1 -1
- package/lib/common/FullHeightContent.js +9 -9
- package/lib/common/HoverActions.d.ts +4 -4
- package/lib/common/HoverActions.d.ts.map +1 -1
- package/lib/common/HoverActions.js +14 -14
- package/lib/common/Loading.d.ts +2 -3
- package/lib/common/Loading.d.ts.map +1 -1
- package/lib/common/Loading.js +11 -11
- package/lib/common/MainContent.d.ts +5 -5
- package/lib/common/MainContent.d.ts.map +1 -1
- package/lib/common/MainContent.js +9 -9
- package/lib/common/Tooltip.d.ts +2 -7
- package/lib/common/Tooltip.d.ts.map +1 -1
- package/lib/common/Tooltip.js +18 -52
- package/lib/common/buttons/Button.d.ts +6 -5
- package/lib/common/buttons/Button.d.ts.map +1 -1
- package/lib/common/buttons/Button.js +11 -10
- package/lib/common/buttons/CopyToClipboardButton.d.ts +4 -4
- package/lib/common/buttons/CopyToClipboardButton.d.ts.map +1 -1
- package/lib/common/buttons/CopyToClipboardButton.js +18 -18
- package/lib/common/buttons/cancel/CancelButton.d.ts +5 -6
- package/lib/common/buttons/cancel/CancelButton.d.ts.map +1 -1
- package/lib/common/buttons/cancel/CancelButton.js +8 -8
- package/lib/common/buttons/clearinput/ClearInputButton.d.ts +4 -4
- package/lib/common/buttons/clearinput/ClearInputButton.d.ts.map +1 -1
- package/lib/common/buttons/clearinput/ClearInputButton.js +9 -9
- package/lib/common/buttons/delete/DeleteButton.d.ts +3 -4
- package/lib/common/buttons/delete/DeleteButton.d.ts.map +1 -1
- package/lib/common/buttons/delete/DeleteButton.js +9 -9
- package/lib/common/buttons/feedback/FeedbackButton.d.ts +7 -8
- package/lib/common/buttons/feedback/FeedbackButton.d.ts.map +1 -1
- package/lib/common/buttons/feedback/FeedbackButton.js +19 -19
- package/lib/common/buttons/okay/OkayButton.d.ts +3 -4
- package/lib/common/buttons/okay/OkayButton.d.ts.map +1 -1
- package/lib/common/buttons/okay/OkayButton.js +8 -8
- package/lib/common/buttons/save/SaveButton.d.ts +4 -5
- package/lib/common/buttons/save/SaveButton.d.ts.map +1 -1
- package/lib/common/buttons/save/SaveButton.js +19 -19
- package/lib/common/buttons/split/SplitButton.d.ts +4 -4
- package/lib/common/buttons/split/SplitButton.d.ts.map +1 -1
- package/lib/common/buttons/split/SplitButton.js +20 -14
- package/lib/common/buttons/split/SplitButtonContext.d.ts +0 -1
- package/lib/common/buttons/split/SplitButtonContext.d.ts.map +1 -1
- package/lib/common/buttons/split/SplitButtonContext.js +4 -0
- package/lib/common/buttons/split/useSplitButtonContext.d.ts +1 -1
- package/lib/common/buttons/split/useSplitButtonContext.d.ts.map +1 -1
- package/lib/common/toolbar/DataGridToolbar.d.ts +5 -6
- package/lib/common/toolbar/DataGridToolbar.d.ts.map +1 -1
- package/lib/common/toolbar/DataGridToolbar.js +15 -13
- package/lib/common/toolbar/StackToolbar.d.ts +2 -2
- package/lib/common/toolbar/StackToolbar.d.ts.map +1 -1
- package/lib/common/toolbar/StackToolbar.js +6 -6
- package/lib/common/toolbar/Toolbar.d.ts +10 -5
- package/lib/common/toolbar/Toolbar.d.ts.map +1 -1
- package/lib/common/toolbar/Toolbar.js +12 -11
- package/lib/common/toolbar/ToolbarBreadcrumbs.d.ts +6 -7
- package/lib/common/toolbar/ToolbarBreadcrumbs.d.ts.map +1 -1
- package/lib/common/toolbar/ToolbarBreadcrumbs.js +20 -21
- package/lib/common/toolbar/actions/ToolbarActionButton.d.ts +6 -6
- package/lib/common/toolbar/actions/ToolbarActionButton.d.ts.map +1 -1
- package/lib/common/toolbar/actions/ToolbarActionButton.js +12 -11
- package/lib/common/toolbar/actions/ToolbarActions.d.ts +5 -5
- package/lib/common/toolbar/actions/ToolbarActions.d.ts.map +1 -1
- package/lib/common/toolbar/actions/ToolbarActions.js +9 -9
- package/lib/common/toolbar/automatictitleitem/ToolbarAutomaticTitleItem.d.ts +4 -5
- package/lib/common/toolbar/automatictitleitem/ToolbarAutomaticTitleItem.d.ts.map +1 -1
- package/lib/common/toolbar/automatictitleitem/ToolbarAutomaticTitleItem.js +8 -8
- package/lib/common/toolbar/backbutton/ToolbarBackButton.d.ts +6 -8
- package/lib/common/toolbar/backbutton/ToolbarBackButton.d.ts.map +1 -1
- package/lib/common/toolbar/backbutton/ToolbarBackButton.js +10 -10
- package/lib/common/toolbar/fillspace/ToolbarFillSpace.d.ts +5 -5
- package/lib/common/toolbar/fillspace/ToolbarFillSpace.d.ts.map +1 -1
- package/lib/common/toolbar/fillspace/ToolbarFillSpace.js +9 -9
- package/lib/common/toolbar/item/ToolbarItem.d.ts +5 -5
- package/lib/common/toolbar/item/ToolbarItem.d.ts.map +1 -1
- package/lib/common/toolbar/item/ToolbarItem.js +9 -9
- package/lib/common/toolbar/titleitem/ToolbarTitleItem.d.ts +5 -5
- package/lib/common/toolbar/titleitem/ToolbarTitleItem.d.ts.map +1 -1
- package/lib/common/toolbar/titleitem/ToolbarTitleItem.js +8 -8
- package/lib/dataGrid/CrudContextMenu.d.ts +6 -6
- package/lib/dataGrid/CrudContextMenu.d.ts.map +1 -1
- package/lib/dataGrid/CrudContextMenu.js +23 -23
- package/lib/dataGrid/CrudMoreActionsMenu.d.ts +8 -8
- package/lib/dataGrid/CrudMoreActionsMenu.d.ts.map +1 -1
- package/lib/dataGrid/CrudMoreActionsMenu.js +23 -23
- package/lib/dataGrid/CrudVisibility.d.ts +1 -2
- package/lib/dataGrid/CrudVisibility.d.ts.map +1 -1
- package/lib/dataGrid/CrudVisibility.js +6 -6
- package/lib/dataGrid/CrudVisibilityIcon.d.ts +0 -1
- package/lib/dataGrid/CrudVisibilityIcon.d.ts.map +1 -1
- package/lib/dataGrid/DataGridPanel.d.ts +5 -5
- package/lib/dataGrid/DataGridPanel.d.ts.map +1 -1
- package/lib/dataGrid/DataGridPanel.js +20 -27
- package/lib/dataGrid/GridCellContent.d.ts +4 -4
- package/lib/dataGrid/GridCellContent.d.ts.map +1 -1
- package/lib/dataGrid/GridCellContent.js +10 -10
- package/lib/dataGrid/GridColDef.d.ts +13 -7
- package/lib/dataGrid/GridColDef.d.ts.map +1 -1
- package/lib/dataGrid/GridColumnsButton.d.ts +2 -3
- package/lib/dataGrid/GridColumnsButton.d.ts.map +1 -1
- package/lib/dataGrid/GridColumnsButton.js +6 -6
- package/lib/dataGrid/GridFilterButton.d.ts +2 -3
- package/lib/dataGrid/GridFilterButton.d.ts.map +1 -1
- package/lib/dataGrid/GridFilterButton.js +6 -6
- 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/generateExcelFile.js +8 -13
- package/lib/dataGrid/excelExport/useDataGridExcelExport.d.ts +4 -4
- package/lib/dataGrid/excelExport/useDataGridExcelExport.d.ts.map +1 -1
- package/lib/dataGrid/excelExport/useDataGridExcelExport.js +21 -21
- package/lib/dataGrid/gridColumnTypes.d.ts +1 -1
- package/lib/dataGrid/gridColumnTypes.d.ts.map +1 -1
- package/lib/dataGrid/gridColumnTypes.js +6 -8
- package/lib/dataGrid/muiGridFilterToGql.d.ts +2 -2
- package/lib/dataGrid/muiGridFilterToGql.d.ts.map +1 -1
- package/lib/dataGrid/muiGridFilterToGql.js +10 -10
- package/lib/dataGrid/muiGridPagingToGql.d.ts.map +1 -1
- package/lib/dataGrid/muiGridSortToGql.d.ts +3 -2
- package/lib/dataGrid/muiGridSortToGql.d.ts.map +1 -1
- package/lib/dataGrid/muiGridSortToGql.js +2 -3
- package/lib/dataGrid/renderStaticSelectCell.d.ts +1 -1
- package/lib/dataGrid/renderStaticSelectCell.d.ts.map +1 -1
- package/lib/dataGrid/renderStaticSelectCell.js +6 -4
- package/lib/dataGrid/useBufferedRowCount.js +5 -5
- package/lib/dataGrid/useDataGridRemote.d.ts +15 -6
- package/lib/dataGrid/useDataGridRemote.d.ts.map +1 -1
- package/lib/dataGrid/useDataGridRemote.js +15 -19
- package/lib/dataGrid/usePersistentColumnState.d.ts +11 -7
- package/lib/dataGrid/usePersistentColumnState.d.ts.map +1 -1
- package/lib/dataGrid/usePersistentColumnState.js +24 -22
- package/lib/error/errorboundary/ErrorBoundary.d.ts +5 -5
- package/lib/error/errorboundary/ErrorBoundary.d.ts.map +1 -1
- package/lib/error/errorboundary/ErrorBoundary.js +23 -25
- package/lib/error/errorboundary/RouteWithErrorBoundary.d.ts +2 -3
- package/lib/error/errorboundary/RouteWithErrorBoundary.d.ts.map +1 -1
- package/lib/error/errorboundary/RouteWithErrorBoundary.js +6 -6
- package/lib/error/errordialog/ErrorDialog.d.ts +2 -5
- package/lib/error/errordialog/ErrorDialog.d.ts.map +1 -1
- package/lib/error/errordialog/ErrorDialog.js +14 -15
- package/lib/error/errordialog/ErrorDialogHandler.d.ts +1 -2
- package/lib/error/errordialog/ErrorDialogHandler.d.ts.map +1 -1
- package/lib/error/errordialog/ErrorDialogHandler.js +5 -5
- package/lib/error/errordialog/ErrorScope.js +7 -7
- package/lib/error/errordialog/createErrorDialogApolloLink.js +6 -8
- 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 +3 -4
- package/lib/fetchProvider/fetch.d.ts.map +1 -1
- package/lib/fetchProvider/fetch.js +5 -5
- package/lib/fileIcons/Excel.d.ts +2 -3
- package/lib/fileIcons/Excel.d.ts.map +1 -1
- package/lib/fileIcons/Excel.js +7 -7
- package/lib/fileIcons/File.d.ts +2 -3
- package/lib/fileIcons/File.d.ts.map +1 -1
- package/lib/fileIcons/File.js +7 -7
- package/lib/fileIcons/FileIcon.d.ts +2 -3
- package/lib/fileIcons/FileIcon.d.ts.map +1 -1
- package/lib/fileIcons/FileIcon.js +8 -8
- package/lib/fileIcons/Jpg.d.ts +2 -3
- package/lib/fileIcons/Jpg.d.ts.map +1 -1
- package/lib/fileIcons/Jpg.js +7 -7
- package/lib/fileIcons/Pdf.d.ts +2 -3
- package/lib/fileIcons/Pdf.d.ts.map +1 -1
- package/lib/fileIcons/Pdf.js +7 -7
- package/lib/fileIcons/Png.d.ts +2 -3
- package/lib/fileIcons/Png.d.ts.map +1 -1
- package/lib/fileIcons/Png.js +7 -7
- package/lib/fileIcons/Powerpoint.d.ts +2 -3
- package/lib/fileIcons/Powerpoint.d.ts.map +1 -1
- package/lib/fileIcons/Powerpoint.js +7 -7
- package/lib/fileIcons/Word.d.ts +2 -3
- package/lib/fileIcons/Word.d.ts.map +1 -1
- package/lib/fileIcons/Word.js +7 -7
- package/lib/fileIcons/Zip.d.ts +2 -3
- package/lib/fileIcons/Zip.d.ts.map +1 -1
- package/lib/fileIcons/Zip.js +7 -7
- package/lib/form/Autocomplete.d.ts +4 -6
- package/lib/form/Autocomplete.d.ts.map +1 -1
- package/lib/form/Autocomplete.js +10 -11
- package/lib/form/Checkbox.d.ts +3 -4
- package/lib/form/Checkbox.d.ts.map +1 -1
- package/lib/form/Checkbox.js +9 -9
- package/lib/form/Field.d.ts +5 -5
- package/lib/form/Field.d.ts.map +1 -1
- package/lib/form/Field.js +14 -15
- package/lib/form/FieldContainer.d.ts +4 -4
- package/lib/form/FieldContainer.d.ts.map +1 -1
- package/lib/form/FieldContainer.js +10 -10
- package/lib/form/FinalFormAsyncAutocomplete.d.ts +2 -3
- package/lib/form/FinalFormAsyncAutocomplete.d.ts.map +1 -1
- package/lib/form/FinalFormAsyncAutocomplete.js +10 -11
- package/lib/form/FinalFormAsyncSelect.d.ts +3 -4
- package/lib/form/FinalFormAsyncSelect.d.ts.map +1 -1
- package/lib/form/FinalFormAsyncSelect.js +8 -8
- package/lib/form/FinalFormContextProvider.d.ts +3 -3
- package/lib/form/FinalFormContextProvider.d.ts.map +1 -1
- package/lib/form/FinalFormContextProvider.js +8 -8
- package/lib/form/FinalFormFileSelect.d.ts +3 -4
- package/lib/form/FinalFormFileSelect.d.ts.map +1 -1
- package/lib/form/FinalFormFileSelect.js +16 -16
- package/lib/form/FinalFormInput.d.ts +3 -4
- package/lib/form/FinalFormInput.d.ts.map +1 -1
- package/lib/form/FinalFormInput.js +19 -18
- package/lib/form/FinalFormNumberInput.d.ts +3 -4
- package/lib/form/FinalFormNumberInput.d.ts.map +1 -1
- package/lib/form/FinalFormNumberInput.js +13 -13
- package/lib/form/FinalFormRangeInput.d.ts +6 -6
- package/lib/form/FinalFormRangeInput.d.ts.map +1 -1
- package/lib/form/FinalFormRangeInput.js +14 -14
- package/lib/form/FinalFormSearchTextField.d.ts +3 -3
- package/lib/form/FinalFormSearchTextField.d.ts.map +1 -1
- package/lib/form/FinalFormSearchTextField.js +8 -8
- package/lib/form/FinalFormSelect.d.ts +5 -5
- package/lib/form/FinalFormSelect.d.ts.map +1 -1
- package/lib/form/FinalFormSelect.js +8 -9
- package/lib/form/FormSection.d.ts +5 -5
- package/lib/form/FormSection.d.ts.map +1 -1
- package/lib/form/FormSection.js +9 -9
- package/lib/form/Radio.d.ts +3 -4
- package/lib/form/Radio.d.ts.map +1 -1
- package/lib/form/Radio.js +9 -9
- package/lib/form/Switch.d.ts +3 -4
- package/lib/form/Switch.d.ts.map +1 -1
- package/lib/form/Switch.js +9 -9
- package/lib/form/fields/AsyncAutocompleteField.d.ts +3 -4
- package/lib/form/fields/AsyncAutocompleteField.d.ts.map +1 -1
- package/lib/form/fields/AsyncAutocompleteField.js +6 -6
- package/lib/form/fields/AsyncSelectField.d.ts +2 -3
- package/lib/form/fields/AsyncSelectField.d.ts.map +1 -1
- package/lib/form/fields/AsyncSelectField.js +6 -6
- package/lib/form/fields/AutocompleteField.d.ts +4 -5
- package/lib/form/fields/AutocompleteField.d.ts.map +1 -1
- package/lib/form/fields/AutocompleteField.js +8 -9
- package/lib/form/fields/CheckboxField.d.ts +5 -5
- package/lib/form/fields/CheckboxField.d.ts.map +1 -1
- package/lib/form/fields/CheckboxField.js +8 -8
- package/lib/form/fields/CheckboxListField.d.ts +3 -3
- package/lib/form/fields/CheckboxListField.d.ts.map +1 -1
- package/lib/form/fields/CheckboxListField.js +13 -13
- package/lib/form/fields/NumberField.d.ts +2 -3
- package/lib/form/fields/NumberField.d.ts.map +1 -1
- package/lib/form/fields/NumberField.js +8 -8
- package/lib/form/fields/RadioGroupField.d.ts +3 -3
- package/lib/form/fields/RadioGroupField.d.ts.map +1 -1
- package/lib/form/fields/RadioGroupField.js +9 -9
- package/lib/form/fields/SearchField.d.ts +2 -3
- package/lib/form/fields/SearchField.d.ts.map +1 -1
- package/lib/form/fields/SearchField.js +8 -8
- package/lib/form/fields/SelectField.d.ts +3 -3
- package/lib/form/fields/SelectField.d.ts.map +1 -1
- package/lib/form/fields/SelectField.js +9 -9
- package/lib/form/fields/SwitchField.d.ts +7 -6
- package/lib/form/fields/SwitchField.d.ts.map +1 -1
- package/lib/form/fields/SwitchField.js +8 -8
- package/lib/form/fields/TextAreaField.d.ts +2 -3
- package/lib/form/fields/TextAreaField.d.ts.map +1 -1
- package/lib/form/fields/TextAreaField.js +8 -8
- package/lib/form/fields/TextField.d.ts +2 -3
- package/lib/form/fields/TextField.d.ts.map +1 -1
- package/lib/form/fields/TextField.js +6 -6
- package/lib/form/file/FileDropzone.d.ts +5 -5
- package/lib/form/file/FileDropzone.d.ts.map +1 -1
- package/lib/form/file/FileDropzone.js +15 -15
- package/lib/form/file/FileSelect.d.ts +7 -7
- package/lib/form/file/FileSelect.d.ts.map +1 -1
- package/lib/form/file/FileSelect.js +9 -9
- package/lib/form/file/FileSelectListItem.d.ts +5 -5
- package/lib/form/file/FileSelectListItem.d.ts.map +1 -1
- package/lib/form/file/FileSelectListItem.js +9 -9
- package/lib/form/file/commonErrorMessages.d.ts +3 -4
- package/lib/form/file/commonErrorMessages.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/file/getFilesInfoText.d.ts +2 -3
- package/lib/form/file/getFilesInfoText.d.ts.map +1 -1
- package/lib/helpers/PrettyBytes.d.ts +2 -2
- package/lib/helpers/PrettyBytes.d.ts.map +1 -1
- package/lib/helpers/PrettyBytes.js +8 -8
- package/lib/helpers/ThemedComponentBaseProps.d.ts +3 -3
- package/lib/helpers/ThemedComponentBaseProps.d.ts.map +1 -1
- package/lib/helpers/createComponentSlot.d.ts +7 -9
- package/lib/helpers/createComponentSlot.d.ts.map +1 -1
- package/lib/helpers/createComponentSlot.js +7 -7
- package/lib/helpers/useTopOffset.d.ts +1 -1
- package/lib/helpers/useTopOffset.d.ts.map +1 -1
- package/lib/helpers/useTopOffset.js +5 -5
- package/lib/helpers/useWindowSize.js +5 -5
- package/lib/hooks/useAsyncOptionsProps.d.ts +1 -1
- package/lib/hooks/useAsyncOptionsProps.d.ts.map +1 -1
- package/lib/hooks/useAsyncOptionsProps.js +10 -10
- package/lib/hooks/useElementIsOverflowing.d.ts +1 -1
- package/lib/hooks/useElementIsOverflowing.d.ts.map +1 -1
- package/lib/hooks/useElementIsOverflowing.js +6 -6
- package/lib/hooks/useStoredState.d.ts +1 -1
- package/lib/hooks/useStoredState.d.ts.map +1 -1
- package/lib/hooks/useStoredState.js +7 -5
- package/lib/index.d.ts +24 -12
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +198 -71
- package/lib/inputWithPopper/InputWithPopper.d.ts +5 -5
- package/lib/inputWithPopper/InputWithPopper.d.ts.map +1 -1
- package/lib/inputWithPopper/InputWithPopper.js +24 -26
- package/lib/inputWithPopper/InputWithPopper.slots.d.ts +18 -34
- package/lib/inputWithPopper/InputWithPopper.slots.d.ts.map +1 -1
- package/lib/inputWithPopper/InputWithPopper.slots.js +1 -1
- package/lib/mui/MasterLayout.d.ts +5 -5
- package/lib/mui/MasterLayout.d.ts.map +1 -1
- package/lib/mui/MasterLayout.js +16 -16
- package/lib/mui/MasterLayoutContext.d.ts +2 -2
- package/lib/mui/MasterLayoutContext.d.ts.map +1 -1
- package/lib/mui/ThemeProvider.d.ts +3 -3
- package/lib/mui/ThemeProvider.d.ts.map +1 -1
- package/lib/mui/mainNavigation/CollapsibleItem.d.ts +39 -0
- package/lib/mui/mainNavigation/CollapsibleItem.d.ts.map +1 -0
- package/lib/mui/{menu → mainNavigation}/CollapsibleItem.js +21 -21
- package/lib/mui/mainNavigation/CollapsibleItem.styles.d.ts +38 -0
- package/lib/mui/mainNavigation/CollapsibleItem.styles.d.ts.map +1 -0
- package/lib/mui/{menu → mainNavigation}/CollapsibleItem.styles.js +9 -9
- package/lib/mui/mainNavigation/Context.d.ts +14 -0
- package/lib/mui/mainNavigation/Context.d.ts.map +1 -0
- package/lib/mui/mainNavigation/Context.js +42 -0
- package/lib/mui/mainNavigation/Item.d.ts +35 -0
- package/lib/mui/mainNavigation/Item.d.ts.map +1 -0
- package/lib/mui/mainNavigation/Item.js +65 -0
- package/lib/mui/mainNavigation/Item.styles.d.ts +34 -0
- package/lib/mui/mainNavigation/Item.styles.d.ts.map +1 -0
- package/lib/mui/{menu → mainNavigation}/Item.styles.js +4 -4
- package/lib/mui/mainNavigation/ItemAnchorLink.d.ts +6 -0
- package/lib/mui/mainNavigation/ItemAnchorLink.d.ts.map +1 -0
- package/lib/mui/mainNavigation/ItemAnchorLink.js +48 -0
- package/lib/mui/mainNavigation/ItemGroup.d.ts +34 -0
- package/lib/mui/mainNavigation/ItemGroup.d.ts.map +1 -0
- package/lib/mui/{menu → mainNavigation}/ItemGroup.js +17 -17
- package/lib/mui/mainNavigation/ItemRouterLink.d.ts +16 -0
- package/lib/mui/mainNavigation/ItemRouterLink.d.ts.map +1 -0
- package/lib/mui/mainNavigation/ItemRouterLink.js +55 -0
- package/lib/mui/mainNavigation/MainNavigation.d.ts +31 -0
- package/lib/mui/mainNavigation/MainNavigation.d.ts.map +1 -0
- package/lib/mui/{menu/Menu.js → mainNavigation/MainNavigation.js} +22 -22
- package/lib/mui/mainNavigation/MainNavigation.styles.d.ts +21 -0
- package/lib/mui/mainNavigation/MainNavigation.styles.d.ts.map +1 -0
- package/lib/mui/{menu/Menu.styles.js → mainNavigation/MainNavigation.styles.js} +8 -8
- package/lib/renderFinalFormChildren.d.ts +3 -2
- package/lib/renderFinalFormChildren.d.ts.map +1 -1
- package/lib/renderFinalFormChildren.js +6 -7
- package/lib/router/BrowserRouter.d.ts +2 -3
- package/lib/router/BrowserRouter.d.ts.map +1 -1
- package/lib/router/BrowserRouter.js +9 -11
- package/lib/router/ConfirmationDialog.d.ts +4 -4
- package/lib/router/ConfirmationDialog.d.ts.map +1 -1
- package/lib/router/ConfirmationDialog.js +12 -12
- package/lib/router/Context.d.ts +4 -4
- package/lib/router/Context.d.ts.map +1 -1
- package/lib/router/ForcePromptRoute.d.ts +2 -3
- package/lib/router/ForcePromptRoute.d.ts.map +1 -1
- package/lib/router/ForcePromptRoute.js +7 -7
- package/lib/router/MemoryRouter.d.ts +2 -3
- package/lib/router/MemoryRouter.d.ts.map +1 -1
- package/lib/router/MemoryRouter.js +9 -11
- package/lib/router/Prompt.d.ts +4 -4
- package/lib/router/Prompt.d.ts.map +1 -1
- package/lib/router/Prompt.js +2 -2
- package/lib/router/PromptHandler.d.ts +3 -3
- package/lib/router/PromptHandler.d.ts.map +1 -1
- package/lib/router/PromptHandler.js +20 -21
- package/lib/router/SubRoute.d.ts +5 -4
- package/lib/router/SubRoute.d.ts.map +1 -1
- package/lib/router/SubRoute.js +7 -7
- package/lib/rowActions/RowActionsIconItem.d.ts +3 -3
- package/lib/rowActions/RowActionsIconItem.d.ts.map +1 -1
- package/lib/rowActions/RowActionsIconItem.js +10 -9
- package/lib/rowActions/RowActionsItem.d.ts +5 -4
- package/lib/rowActions/RowActionsItem.d.ts.map +1 -1
- package/lib/rowActions/RowActionsItem.js +10 -10
- package/lib/rowActions/RowActionsListItem.d.ts +5 -5
- package/lib/rowActions/RowActionsListItem.d.ts.map +1 -1
- package/lib/rowActions/RowActionsListItem.js +9 -9
- package/lib/rowActions/RowActionsMenu.d.ts +3 -3
- package/lib/rowActions/RowActionsMenu.d.ts.map +1 -1
- package/lib/rowActions/RowActionsMenu.js +11 -11
- package/lib/rowActions/RowActionsSubMenu.d.ts +7 -6
- package/lib/rowActions/RowActionsSubMenu.d.ts.map +1 -1
- package/lib/rowActions/RowActionsSubMenu.js +8 -8
- package/lib/saveBoundary/SaveBoundary.d.ts +3 -4
- package/lib/saveBoundary/SaveBoundary.d.ts.map +1 -1
- package/lib/saveBoundary/SaveBoundary.js +24 -24
- package/lib/saveBoundary/SaveBoundarySaveButton.d.ts +2 -3
- package/lib/saveBoundary/SaveBoundarySaveButton.d.ts.map +1 -1
- package/lib/saveBoundary/SaveBoundarySaveButton.js +10 -10
- package/lib/snackbar/SnackbarProvider.d.ts +4 -4
- package/lib/snackbar/SnackbarProvider.d.ts.map +1 -1
- package/lib/snackbar/SnackbarProvider.js +6 -6
- package/lib/snackbar/UndoSnackbar.d.ts +3 -3
- package/lib/snackbar/UndoSnackbar.d.ts.map +1 -1
- package/lib/snackbar/UndoSnackbar.js +8 -8
- package/lib/stack/Api.d.ts +6 -5
- package/lib/stack/Api.d.ts.map +1 -1
- package/lib/stack/Api.js +6 -6
- package/lib/stack/Breadcrumb.d.ts +7 -5
- package/lib/stack/Breadcrumb.d.ts.map +1 -1
- package/lib/stack/Breadcrumb.js +25 -24
- package/lib/stack/Page.d.ts +1 -1
- package/lib/stack/Page.d.ts.map +1 -1
- package/lib/stack/Page.js +16 -18
- package/lib/stack/Stack.d.ts +2 -2
- package/lib/stack/Stack.d.ts.map +1 -1
- package/lib/stack/Stack.js +20 -20
- package/lib/stack/StackLink.d.ts +2 -3
- package/lib/stack/StackLink.d.ts.map +1 -1
- package/lib/stack/StackLink.js +8 -8
- package/lib/stack/StackPageTitle.d.ts +5 -3
- package/lib/stack/StackPageTitle.d.ts.map +1 -1
- package/lib/stack/StackPageTitle.js +17 -19
- package/lib/stack/Switch.d.ts +3 -3
- package/lib/stack/Switch.d.ts.map +1 -1
- package/lib/stack/Switch.js +16 -17
- package/lib/stack/SwitchMeta.d.ts +7 -5
- package/lib/stack/SwitchMeta.d.ts.map +1 -1
- package/lib/stack/SwitchMeta.js +18 -20
- package/lib/stack/backbutton/StackBackButton.d.ts +3 -4
- package/lib/stack/backbutton/StackBackButton.d.ts.map +1 -1
- package/lib/stack/backbutton/StackBackButton.js +8 -8
- package/lib/stack/breadcrumbs/BreadcrumbLink.d.ts +1 -2
- package/lib/stack/breadcrumbs/BreadcrumbLink.d.ts.map +1 -1
- package/lib/stack/breadcrumbs/BreadcrumbLink.js +8 -8
- package/lib/stack/breadcrumbs/BreadcrumbsEntry.d.ts +3 -4
- package/lib/stack/breadcrumbs/BreadcrumbsEntry.d.ts.map +1 -1
- package/lib/stack/breadcrumbs/BreadcrumbsEntry.js +7 -7
- package/lib/stack/breadcrumbs/BreadcrumbsOverflow.d.ts +4 -4
- package/lib/stack/breadcrumbs/BreadcrumbsOverflow.d.ts.map +1 -1
- package/lib/stack/breadcrumbs/BreadcrumbsOverflow.js +12 -12
- package/lib/stack/breadcrumbs/StackBreadcrumbs.d.ts +10 -12
- package/lib/stack/breadcrumbs/StackBreadcrumbs.d.ts.map +1 -1
- package/lib/stack/breadcrumbs/StackBreadcrumbs.js +14 -14
- package/lib/stack/breadcrumbs/utils.d.ts +3 -3
- package/lib/stack/breadcrumbs/utils.d.ts.map +1 -1
- package/lib/stack/breadcrumbs/utils.js +9 -9
- package/lib/table/AddButton.d.ts +2 -2
- package/lib/table/AddButton.d.ts.map +1 -1
- package/lib/table/AddButton.js +20 -22
- package/lib/table/DeleteButton.d.ts +4 -4
- package/lib/table/DeleteButton.d.ts.map +1 -1
- package/lib/table/DeleteButton.js +21 -23
- package/lib/table/ExcelExportButton.d.ts +3 -3
- package/lib/table/ExcelExportButton.d.ts.map +1 -1
- package/lib/table/LocalChangesToolbar.d.ts +2 -3
- package/lib/table/LocalChangesToolbar.d.ts.map +1 -1
- package/lib/table/Pagination.d.ts +2 -3
- package/lib/table/Pagination.d.ts.map +1 -1
- package/lib/table/Pagination.js +1 -1
- package/lib/table/Table.d.ts +10 -10
- package/lib/table/Table.d.ts.map +1 -1
- package/lib/table/Table.js +41 -32
- package/lib/table/TableBodyRow.d.ts +5 -6
- package/lib/table/TableBodyRow.d.ts.map +1 -1
- package/lib/table/TableBodyRow.js +11 -8
- package/lib/table/TableDndOrder.d.ts +6 -6
- package/lib/table/TableDndOrder.d.ts.map +1 -1
- package/lib/table/TableDndOrder.js +15 -15
- package/lib/table/TableFilterFinalForm.d.ts +5 -5
- package/lib/table/TableFilterFinalForm.d.ts.map +1 -1
- package/lib/table/TableFilterFinalForm.js +23 -24
- package/lib/table/TableLocalChanges.d.ts +4 -4
- package/lib/table/TableLocalChanges.d.ts.map +1 -1
- package/lib/table/TableLocalChanges.js +38 -42
- package/lib/table/TableQuery.d.ts +7 -7
- package/lib/table/TableQuery.d.ts.map +1 -1
- package/lib/table/TableQuery.js +14 -10
- package/lib/table/TableQueryContext.d.ts +2 -3
- package/lib/table/TableQueryContext.d.ts.map +1 -1
- package/lib/table/TableQueryContext.js +8 -0
- 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/createExcelExportDownload.d.ts +1 -1
- package/lib/table/excelexport/createExcelExportDownload.d.ts.map +1 -1
- package/lib/table/excelexport/createExcelExportDownload.js +18 -13
- package/lib/table/excelexport/useExportDisplayedTableData.d.ts +2 -2
- package/lib/table/excelexport/useExportDisplayedTableData.d.ts.map +1 -1
- package/lib/table/excelexport/useExportDisplayedTableData.js +10 -10
- package/lib/table/excelexport/useExportPagedTableQuery.d.ts +5 -4
- package/lib/table/excelexport/useExportPagedTableQuery.d.ts.map +1 -1
- package/lib/table/excelexport/useExportPagedTableQuery.js +18 -18
- package/lib/table/excelexport/useExportTableQuery.d.ts +5 -4
- package/lib/table/excelexport/useExportTableQuery.d.ts.map +1 -1
- package/lib/table/excelexport/useExportTableQuery.js +15 -15
- package/lib/table/filterbar/FilterBar.d.ts +4 -4
- package/lib/table/filterbar/FilterBar.d.ts.map +1 -1
- package/lib/table/filterbar/FilterBar.js +12 -9
- package/lib/table/filterbar/dirtyFieldsCount.d.ts.map +1 -1
- package/lib/table/filterbar/dirtyFieldsCount.js +8 -8
- package/lib/table/filterbar/filterBarActiveFilterBadge/FilterBarActiveFilterBadge.d.ts +4 -5
- package/lib/table/filterbar/filterBarActiveFilterBadge/FilterBarActiveFilterBadge.d.ts.map +1 -1
- package/lib/table/filterbar/filterBarActiveFilterBadge/FilterBarActiveFilterBadge.js +12 -9
- package/lib/table/filterbar/filterBarButton/FilterBarButton.d.ts +6 -6
- package/lib/table/filterbar/filterBarButton/FilterBarButton.d.ts.map +1 -1
- package/lib/table/filterbar/filterBarButton/FilterBarButton.js +13 -10
- package/lib/table/filterbar/filterBarMoreFilters/FilterBarMoreFilters.d.ts +5 -5
- package/lib/table/filterbar/filterBarMoreFilters/FilterBarMoreFilters.d.ts.map +1 -1
- package/lib/table/filterbar/filterBarMoreFilters/FilterBarMoreFilters.js +17 -14
- package/lib/table/filterbar/filterBarPopoverFilter/FilterBarPopoverFilter.d.ts +10 -12
- package/lib/table/filterbar/filterBarPopoverFilter/FilterBarPopoverFilter.d.ts.map +1 -1
- package/lib/table/filterbar/filterBarPopoverFilter/FilterBarPopoverFilter.js +20 -17
- 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/createRestPagingActions.js +3 -5
- package/lib/table/paging/createRestStartLimitPagingActions.d.ts +2 -2
- package/lib/table/paging/createRestStartLimitPagingActions.d.ts.map +1 -1
- package/lib/table/safeColumnGet.js +2 -2
- package/lib/table/usePersistedState.d.ts +1 -1
- package/lib/table/usePersistedState.d.ts.map +1 -1
- package/lib/table/usePersistedState.js +5 -5
- package/lib/table/usePersistedStateId.js +1 -1
- package/lib/table/useTableQuery.d.ts +8 -10
- package/lib/table/useTableQuery.d.ts.map +1 -1
- package/lib/table/useTableQuery.js +16 -8
- package/lib/table/useTableQueryFilter.d.ts +2 -2
- package/lib/table/useTableQueryFilter.d.ts.map +1 -1
- package/lib/table/useTableQueryFilter.js +10 -6
- package/lib/table/useTableQueryPaging.d.ts +1 -1
- package/lib/table/useTableQueryPaging.d.ts.map +1 -1
- package/lib/table/useTableQueryPaging.js +13 -5
- package/lib/table/useTableQuerySort.js +13 -10
- package/lib/table/withTableQueryContext.d.ts +3 -3
- package/lib/table/withTableQueryContext.d.ts.map +1 -1
- package/lib/table/withTableQueryContext.js +16 -6
- package/lib/tabs/RouterTabs.d.ts +6 -6
- package/lib/tabs/RouterTabs.d.ts.map +1 -1
- package/lib/tabs/RouterTabs.js +9 -9
- package/lib/tabs/TabScrollButton.d.ts +3 -4
- package/lib/tabs/TabScrollButton.d.ts.map +1 -1
- package/lib/tabs/TabScrollButton.js +10 -10
- package/lib/tabs/Tabs.d.ts +13 -9
- package/lib/tabs/Tabs.d.ts.map +1 -1
- package/lib/tabs/Tabs.js +10 -10
- package/lib/theme/breakpointsOptions.d.ts +6 -0
- package/lib/theme/breakpointsOptions.d.ts.map +1 -0
- package/lib/theme/breakpointsOptions.js +16 -0
- package/lib/theme/colors.d.ts +15 -0
- package/lib/theme/colors.d.ts.map +1 -0
- package/lib/theme/colors.js +59 -0
- package/lib/theme/componentsTheme/MuiAccordion.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiAccordion.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiAccordion.js +45 -0
- package/lib/theme/componentsTheme/MuiAlert.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiAlert.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiAlert.js +68 -0
- package/lib/theme/componentsTheme/MuiAlertTitle.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiAlertTitle.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiAlertTitle.js +24 -0
- package/lib/theme/componentsTheme/MuiAppBar.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiAppBar.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiAppBar.js +19 -0
- package/lib/theme/componentsTheme/MuiAutocomplete.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiAutocomplete.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiAutocomplete.js +46 -0
- package/lib/theme/componentsTheme/MuiBadge.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiBadge.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiBadge.js +37 -0
- package/lib/theme/componentsTheme/MuiButton.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiButton.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiButton.js +109 -0
- package/lib/theme/componentsTheme/MuiButtonGroup.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiButtonGroup.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiButtonGroup.js +68 -0
- package/lib/theme/componentsTheme/MuiCard.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiCard.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiCard.js +27 -0
- package/lib/theme/componentsTheme/MuiCardContent.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiCardContent.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiCardContent.js +26 -0
- package/lib/theme/componentsTheme/MuiCardHeader.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiCardHeader.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiCardHeader.js +41 -0
- package/lib/theme/componentsTheme/MuiCheckbox.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiCheckbox.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiCheckbox.js +71 -0
- package/lib/theme/componentsTheme/MuiChip.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiChip.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiChip.js +127 -0
- package/lib/theme/componentsTheme/MuiDataGrid.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiDataGrid.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiDataGrid.js +285 -0
- package/lib/theme/componentsTheme/MuiDialog.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiDialog.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiDialog.js +51 -0
- package/lib/theme/componentsTheme/MuiDialogActions.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiDialogActions.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiDialogActions.js +31 -0
- package/lib/theme/componentsTheme/MuiDialogContent.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiDialogContent.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiDialogContent.js +33 -0
- package/lib/theme/componentsTheme/MuiDialogContentText.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiDialogContentText.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiDialogContentText.js +24 -0
- package/lib/theme/componentsTheme/MuiDialogTitle.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiDialogTitle.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiDialogTitle.js +37 -0
- package/lib/theme/componentsTheme/MuiDrawer.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiDrawer.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiDrawer.js +24 -0
- package/lib/theme/componentsTheme/MuiFormControlLabel.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiFormControlLabel.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiFormControlLabel.js +29 -0
- package/lib/theme/componentsTheme/MuiFormHelperText.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiFormHelperText.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiFormHelperText.js +32 -0
- package/lib/theme/componentsTheme/MuiFormLabel.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiFormLabel.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiFormLabel.js +38 -0
- package/lib/theme/componentsTheme/MuiIconButton.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiIconButton.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiIconButton.js +47 -0
- package/lib/theme/componentsTheme/MuiInput.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiInput.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiInput.js +21 -0
- package/lib/theme/componentsTheme/MuiInputAdornment.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiInputAdornment.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiInputAdornment.js +31 -0
- package/lib/theme/componentsTheme/MuiInputBase.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiInputBase.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiInputBase.js +63 -0
- package/lib/theme/componentsTheme/MuiLinearProgress.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiLinearProgress.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiLinearProgress.js +26 -0
- package/lib/theme/componentsTheme/MuiLink.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiLink.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiLink.js +30 -0
- package/lib/theme/componentsTheme/MuiListItem.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiListItem.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiListItem.js +26 -0
- package/lib/theme/componentsTheme/MuiListItemAvatar.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiListItemAvatar.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiListItemAvatar.js +23 -0
- package/lib/theme/componentsTheme/MuiListItemIcon.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiListItemIcon.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiListItemIcon.js +22 -0
- package/lib/theme/componentsTheme/MuiMenu.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiMenu.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiMenu.js +35 -0
- package/lib/theme/componentsTheme/MuiNativeSelect.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiNativeSelect.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiNativeSelect.js +27 -0
- package/lib/theme/componentsTheme/MuiPaper.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiPaper.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiPaper.js +29 -0
- package/lib/theme/componentsTheme/MuiPopover.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiPopover.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiPopover.js +19 -0
- package/lib/theme/componentsTheme/MuiRadio.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiRadio.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiRadio.js +59 -0
- package/lib/theme/componentsTheme/MuiSelect.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiSelect.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiSelect.js +28 -0
- package/lib/theme/componentsTheme/MuiSvgIcon.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiSvgIcon.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiSvgIcon.js +33 -0
- package/lib/theme/componentsTheme/MuiSwitch.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiSwitch.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiSwitch.js +82 -0
- package/lib/theme/componentsTheme/MuiTab.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiTab.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiTab.js +40 -0
- package/lib/theme/componentsTheme/MuiTableCell.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiTableCell.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiTableCell.js +52 -0
- package/lib/theme/componentsTheme/MuiTablePagination.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiTablePagination.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiTablePagination.js +24 -0
- package/lib/theme/componentsTheme/MuiTableRow.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiTableRow.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiTableRow.js +22 -0
- package/lib/theme/componentsTheme/MuiTabs.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiTabs.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiTabs.js +41 -0
- package/lib/theme/componentsTheme/MuiToggleButton.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiToggleButton.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiToggleButton.js +28 -0
- package/lib/theme/componentsTheme/MuiToggleButtonGroup.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiToggleButtonGroup.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiToggleButtonGroup.js +24 -0
- package/lib/theme/componentsTheme/MuiTooltip.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiTooltip.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiTooltip.js +19 -0
- package/lib/theme/componentsTheme/MuiTypography.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiTypography.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiTypography.js +29 -0
- package/lib/theme/componentsTheme/getCommonSelectTheme.d.ts +39 -0
- package/lib/theme/componentsTheme/getCommonSelectTheme.d.ts.map +1 -0
- package/lib/theme/componentsTheme/getCommonSelectTheme.js +36 -0
- package/lib/theme/componentsTheme/getComponentsTheme.d.ts +18 -0
- package/lib/theme/componentsTheme/getComponentsTheme.d.ts.map +1 -0
- package/lib/theme/componentsTheme/getComponentsTheme.js +114 -0
- package/lib/theme/createCometTheme.d.ts +3 -0
- package/lib/theme/createCometTheme.d.ts.map +1 -0
- package/lib/theme/createCometTheme.js +81 -0
- package/lib/theme/paletteOptions.d.ts +23 -0
- package/lib/theme/paletteOptions.d.ts.map +1 -0
- package/lib/theme/paletteOptions.js +36 -0
- package/lib/theme/shadows.d.ts +3 -0
- package/lib/theme/shadows.d.ts.map +1 -0
- package/lib/theme/shadows.js +7 -0
- package/lib/theme/typographyOptions.d.ts +21 -0
- package/lib/theme/typographyOptions.d.ts.map +1 -0
- package/lib/theme/typographyOptions.js +125 -0
- package/lib/theme/utils/mergeOverrideStyles.d.ts +6 -0
- package/lib/theme/utils/mergeOverrideStyles.d.ts.map +1 -0
- package/lib/theme/utils/mergeOverrideStyles.js +33 -0
- package/lib/translator/BaseTranslationDialog.d.ts +1 -2
- package/lib/translator/BaseTranslationDialog.d.ts.map +1 -1
- package/lib/translator/BaseTranslationDialog.js +11 -11
- package/lib/translator/ContentTranslationServiceContext.d.ts +0 -1
- 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/PlainTextTranslationDialog.d.ts +1 -2
- package/lib/translator/PlainTextTranslationDialog.d.ts.map +1 -1
- package/lib/utils/test-utils.d.ts +2 -2
- package/lib/utils/test-utils.d.ts.map +1 -1
- package/lib/utils/test-utils.js +6 -6
- package/lib/utils/useObservedWidth.d.ts +1 -1
- package/lib/utils/useObservedWidth.d.ts.map +1 -1
- package/lib/utils/useObservedWidth.js +6 -6
- package/package.json +63 -71
- package/lib/common/toolbar/breadcrumb/ToolbarBreadcrumbs.d.ts +0 -17
- package/lib/common/toolbar/breadcrumb/ToolbarBreadcrumbs.d.ts.map +0 -1
- package/lib/common/toolbar/breadcrumb/ToolbarBreadcrumbs.js +0 -97
- package/lib/form/SubmitResult.d.ts +0 -8
- package/lib/form/SubmitResult.d.ts.map +0 -1
- package/lib/form/SubmitResult.js +0 -36
- package/lib/mui/menu/CollapsibleItem.d.ts +0 -39
- package/lib/mui/menu/CollapsibleItem.d.ts.map +0 -1
- package/lib/mui/menu/CollapsibleItem.styles.d.ts +0 -57
- package/lib/mui/menu/CollapsibleItem.styles.d.ts.map +0 -1
- package/lib/mui/menu/Context.d.ts +0 -13
- package/lib/mui/menu/Context.d.ts.map +0 -1
- package/lib/mui/menu/Context.js +0 -35
- package/lib/mui/menu/Item.d.ts +0 -35
- package/lib/mui/menu/Item.d.ts.map +0 -1
- package/lib/mui/menu/Item.js +0 -70
- package/lib/mui/menu/Item.styles.d.ts +0 -57
- package/lib/mui/menu/Item.styles.d.ts.map +0 -1
- package/lib/mui/menu/ItemAnchorLink.d.ts +0 -6
- package/lib/mui/menu/ItemAnchorLink.d.ts.map +0 -1
- package/lib/mui/menu/ItemAnchorLink.js +0 -50
- package/lib/mui/menu/ItemGroup.d.ts +0 -34
- package/lib/mui/menu/ItemGroup.d.ts.map +0 -1
- package/lib/mui/menu/ItemRouterLink.d.ts +0 -16
- package/lib/mui/menu/ItemRouterLink.d.ts.map +0 -1
- package/lib/mui/menu/ItemRouterLink.js +0 -55
- package/lib/mui/menu/Menu.d.ts +0 -31
- package/lib/mui/menu/Menu.d.ts.map +0 -1
- package/lib/mui/menu/Menu.styles.d.ts +0 -26
- package/lib/mui/menu/Menu.styles.d.ts.map +0 -1
- package/lib/table/filterbar/index.d.ts +0 -4
- package/lib/table/filterbar/index.d.ts.map +0 -1
- package/lib/table/filterbar/index.js +0 -38
- package/lib/vendors.d.js +0 -2
package/lib/ContentOverflow.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ButtonBase, ComponentsOverrides, Dialog as MuiDialog, DialogContent as MuiDialogContent, DialogTitle as MuiDialogTitle, IconButton, Paper, Theme } from "@mui/material";
|
|
2
|
-
import { PropsWithChildren, ReactNode } from "react";
|
|
3
|
-
import { ThemedComponentBaseProps } from "./helpers/ThemedComponentBaseProps";
|
|
1
|
+
import { ButtonBase, type ComponentsOverrides, Dialog as MuiDialog, DialogContent as MuiDialogContent, DialogTitle as MuiDialogTitle, IconButton, Paper, type Theme } from "@mui/material";
|
|
2
|
+
import { type PropsWithChildren, type ReactNode } from "react";
|
|
3
|
+
import { type ThemedComponentBaseProps } from "./helpers/ThemedComponentBaseProps";
|
|
4
4
|
export type ContentOverflowClassKey = "root" | "clickableContent" | "contentContainer" | "openDialogIcon" | "dialog" | "dialogPaper" | "dialogTitle" | "closeDialogButton" | "dialogContent" | "innerDialogContent";
|
|
5
5
|
export interface ContentOverflowProps extends ThemedComponentBaseProps<{
|
|
6
6
|
root: "div";
|
|
@@ -20,7 +20,7 @@ export interface ContentOverflowProps extends ThemedComponentBaseProps<{
|
|
|
20
20
|
closeDialog?: ReactNode;
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
export declare const ContentOverflow: (inProps: PropsWithChildren<ContentOverflowProps>) => JSX.Element;
|
|
23
|
+
export declare const ContentOverflow: (inProps: PropsWithChildren<ContentOverflowProps>) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
declare module "@mui/material/styles" {
|
|
25
25
|
interface ComponentNameToClassKey {
|
|
26
26
|
CometAdminContentOverflow: ContentOverflowClassKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentOverflow.d.ts","sourceRoot":"","sources":["../src/ContentOverflow.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EACV,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ContentOverflow.d.ts","sourceRoot":"","sources":["../src/ContentOverflow.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EACV,KAAK,mBAAmB,EAGxB,MAAM,IAAI,SAAS,EACnB,aAAa,IAAI,gBAAgB,EACjC,WAAW,IAAI,cAAc,EAC7B,UAAU,EACV,KAAK,EACL,KAAK,KAAK,EAEb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAIzE,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAEnF,MAAM,MAAM,uBAAuB,GAC7B,MAAM,GACN,kBAAkB,GAClB,kBAAkB,GAClB,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,aAAa,GACb,mBAAmB,GACnB,eAAe,GACf,oBAAoB,CAAC;AAE3B,MAAM,WAAW,oBACb,SAAQ,wBAAwB,CAAC;IAC7B,IAAI,EAAE,KAAK,CAAC;IACZ,gBAAgB,EAAE,OAAO,UAAU,CAAC;IACpC,gBAAgB,EAAE,KAAK,CAAC;IACxB,cAAc,EAAE,KAAK,CAAC;IACtB,MAAM,EAAE,OAAO,SAAS,CAAC;IACzB,WAAW,EAAE,OAAO,KAAK,CAAC;IAC1B,WAAW,EAAE,OAAO,cAAc,CAAC;IACnC,iBAAiB,EAAE,OAAO,UAAU,CAAC;IACrC,aAAa,EAAE,OAAO,gBAAgB,CAAC;IACvC,kBAAkB,EAAE,KAAK,CAAC;CAC7B,CAAC;IACF,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE;QACV,UAAU,CAAC,EAAE,SAAS,CAAC;QACvB,WAAW,CAAC,EAAE,SAAS,CAAC;KAC3B,CAAC;CACL;AAED,eAAO,MAAM,eAAe,YAAa,iBAAiB,CAAC,oBAAoB,CAAC,4CAiC/E,CAAC;AA2HF,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,uBAAuB;QAC7B,yBAAyB,EAAE,uBAAuB,CAAC;KACtD;IAED,UAAU,mBAAmB;QACzB,yBAAyB,EAAE,oBAAoB,CAAC;KACnD;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"}
|
package/lib/ContentOverflow.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
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); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -13,20 +13,20 @@ var _createComponentSlot = require("./helpers/createComponentSlot");
|
|
|
13
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
14
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
15
15
|
var _excluded = ["children", "dialogTitle", "iconMapping", "slotProps"];
|
|
16
|
-
function _taggedTemplateLiteral(
|
|
17
|
-
function ownKeys(
|
|
18
|
-
function _objectSpread(
|
|
19
|
-
function _defineProperty(
|
|
20
|
-
function _toPropertyKey(
|
|
21
|
-
function _toPrimitive(
|
|
22
|
-
function _slicedToArray(
|
|
16
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
17
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
20
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
21
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
22
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
23
23
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
24
|
-
function _unsupportedIterableToArray(
|
|
25
|
-
function _arrayLikeToArray(
|
|
26
|
-
function _iterableToArrayLimit(
|
|
27
|
-
function _arrayWithHoles(
|
|
28
|
-
function _objectWithoutProperties(
|
|
29
|
-
function _objectWithoutPropertiesLoose(
|
|
24
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
25
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
26
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
27
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
28
|
+
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; }
|
|
29
|
+
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; }
|
|
30
30
|
var ContentOverflow = exports.ContentOverflow = function ContentOverflow(inProps) {
|
|
31
31
|
var _useThemeProps = (0, _material.useThemeProps)({
|
|
32
32
|
props: inProps,
|
|
@@ -117,11 +117,11 @@ var Dialog = (0, _createComponentSlot.createComponentSlot)(_material.Dialog)({
|
|
|
117
117
|
var DialogPaper = (0, _createComponentSlot.createComponentSlot)(_material.Paper)({
|
|
118
118
|
componentName: "ContentOverflow",
|
|
119
119
|
slotName: "dialogPaper"
|
|
120
|
-
})((0, _material.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n
|
|
120
|
+
})((0, _material.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n overflow: hidden;\n\n // TODO: Consider a generic solution for height and max-height in dialogs.\n height: calc(100vh - 100px);\n\n && {\n max-height: 600px;\n }\n"]))));
|
|
121
121
|
var DialogTitle = (0, _createComponentSlot.createComponentSlot)(_material.DialogTitle)({
|
|
122
122
|
componentName: "ContentOverflow",
|
|
123
123
|
slotName: "dialogTitle"
|
|
124
|
-
})((0, _material.css)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n
|
|
124
|
+
})((0, _material.css)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"]))));
|
|
125
125
|
var CloseDialogButton = (0, _createComponentSlot.createComponentSlot)(_material.IconButton)({
|
|
126
126
|
componentName: "ContentOverflow",
|
|
127
127
|
slotName: "closeDialogButton"
|
package/lib/DeleteMutation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PureQueryOptions } from "@apollo/client";
|
|
2
|
-
import { ReactNode } from "react";
|
|
1
|
+
import { type PureQueryOptions } from "@apollo/client";
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
3
|
interface IProps {
|
|
4
4
|
mutation: any;
|
|
5
5
|
children: (action: (options: {
|
|
@@ -10,6 +10,6 @@ interface IProps {
|
|
|
10
10
|
}) => ReactNode;
|
|
11
11
|
refetchQueries?: Array<string | PureQueryOptions>;
|
|
12
12
|
}
|
|
13
|
-
export declare function DeleteMutation(props: IProps): JSX.Element;
|
|
13
|
+
export declare function DeleteMutation(props: IProps): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export {};
|
|
15
15
|
//# sourceMappingURL=DeleteMutation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteMutation.d.ts","sourceRoot":"","sources":["../src/DeleteMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAmB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteMutation.d.ts","sourceRoot":"","sources":["../src/DeleteMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAmB,MAAM,gBAAgB,CAAC;AAIxE,OAAO,EAAY,KAAK,SAAS,EAAwB,MAAM,OAAO,CAAC;AAOvE,UAAU,MAAM;IACZ,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,EAAE,IAAI,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,GAAG,CAAA;KAAE,KAAK,SAAS,CAAC;IAClH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,gBAAgB,CAAC,CAAC;CACrD;AACD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,2CA6D3C"}
|
package/lib/DeleteMutation.js
CHANGED
|
@@ -14,13 +14,13 @@ var _CancelButton = require("./common/buttons/cancel/CancelButton");
|
|
|
14
14
|
var _DeleteButton = require("./common/buttons/delete/DeleteButton");
|
|
15
15
|
var _TableQueryContext = require("./table/TableQueryContext");
|
|
16
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
function _interopRequireDefault(
|
|
18
|
-
function _slicedToArray(
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
19
19
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20
|
-
function _unsupportedIterableToArray(
|
|
21
|
-
function _arrayLikeToArray(
|
|
22
|
-
function _iterableToArrayLimit(
|
|
23
|
-
function _arrayWithHoles(
|
|
20
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
21
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
22
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
23
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
24
24
|
function DeleteMutation(props) {
|
|
25
25
|
var _useState = (0, _react.useState)(false),
|
|
26
26
|
_useState2 = _slicedToArray(_useState, 2),
|
package/lib/EditDialog.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DialogActionsProps, DialogContentProps, DialogProps, DialogTitleProps } from "@mui/material";
|
|
2
|
-
import { ComponentType, ReactNode } from "react";
|
|
3
|
-
import { IEditDialogApi } from "./EditDialogApiContext";
|
|
4
|
-
import { ISelectionApi } from "./SelectionApi";
|
|
1
|
+
import { type DialogActionsProps, type DialogContentProps, type DialogProps, type DialogTitleProps } from "@mui/material";
|
|
2
|
+
import { type ComponentType, type PropsWithChildren, type ReactNode } from "react";
|
|
3
|
+
import { type IEditDialogApi } from "./EditDialogApiContext";
|
|
4
|
+
import { type ISelectionApi } from "./SelectionApi";
|
|
5
5
|
interface ITitle {
|
|
6
6
|
edit: ReactNode;
|
|
7
7
|
add: ReactNode;
|
|
@@ -12,17 +12,17 @@ interface EditDialogComponentsProps {
|
|
|
12
12
|
dialogContent?: Partial<DialogContentProps>;
|
|
13
13
|
dialogTitle?: Partial<DialogTitleProps>;
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
type EditDialogProps = PropsWithChildren<{
|
|
16
16
|
title?: ITitle | string;
|
|
17
17
|
disableCloseAfterSave?: boolean;
|
|
18
18
|
onAfterSave?: () => void;
|
|
19
19
|
componentsProps?: EditDialogComponentsProps;
|
|
20
|
-
}
|
|
20
|
+
}>;
|
|
21
21
|
export declare function useEditDialog(): [ComponentType<EditDialogProps>, {
|
|
22
22
|
id?: string;
|
|
23
23
|
mode?: "edit" | "add";
|
|
24
24
|
}, IEditDialogApi, ISelectionApi];
|
|
25
|
-
interface IEditDialogHooklessProps extends EditDialogProps {
|
|
25
|
+
interface IEditDialogHooklessProps extends Omit<EditDialogProps, "children"> {
|
|
26
26
|
children: (injectedProps: {
|
|
27
27
|
selectedId?: string;
|
|
28
28
|
selectionMode?: "edit" | "add";
|
package/lib/EditDialog.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditDialog.d.ts","sourceRoot":"","sources":["../src/EditDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"EditDialog.d.ts","sourceRoot":"","sources":["../src/EditDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,kBAAkB,EAEvB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAEhB,KAAK,gBAAgB,EACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,KAAK,aAAa,EAGlB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EAIjB,MAAM,OAAO,CAAC;AAIf,OAAO,EAA2B,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAItF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpD,UAAU,MAAM;IACZ,IAAI,EAAE,SAAS,CAAC;IAChB,GAAG,EAAE,SAAS,CAAC;CAClB;AAED,UAAU,yBAAyB;IAC/B,MAAM,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IACxD,aAAa,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC5C,aAAa,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;CAC3C;AAED,KAAK,eAAe,GAAG,iBAAiB,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,eAAe,CAAC,EAAE,yBAAyB,CAAC;CAC/C,CAAC,CAAC;AAEH,wBAAgB,aAAa,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,EAAE;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;CAAE,EAAE,cAAc,EAAE,aAAa,CAAC,CAoDvI;AAiED,UAAU,wBAAyB,SAAQ,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC;IACxE,QAAQ,EAAE,CAAC,aAAa,EAAE;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;KAAE,KAAK,SAAS,CAAC;CACnG;AAcD,eAAO,MAAM,UAAU,qHAAsC,CAAC"}
|
package/lib/EditDialog.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
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); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -15,17 +15,17 @@ var _SaveBoundary = require("./saveBoundary/SaveBoundary");
|
|
|
15
15
|
var _SaveBoundarySaveButton = require("./saveBoundary/SaveBoundarySaveButton");
|
|
16
16
|
var _SelectionRoute = require("./SelectionRoute");
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
-
function ownKeys(
|
|
19
|
-
function _objectSpread(
|
|
20
|
-
function _defineProperty(
|
|
21
|
-
function _toPropertyKey(
|
|
22
|
-
function _toPrimitive(
|
|
23
|
-
function _slicedToArray(
|
|
18
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
21
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
22
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
23
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
24
24
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
25
|
-
function _unsupportedIterableToArray(
|
|
26
|
-
function _arrayLikeToArray(
|
|
27
|
-
function _iterableToArrayLimit(
|
|
28
|
-
function _arrayWithHoles(
|
|
25
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
26
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
27
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
28
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
29
29
|
function useEditDialog() {
|
|
30
30
|
var _useSelectionRoute = (0, _SelectionRoute.useSelectionRoute)(),
|
|
31
31
|
_useSelectionRoute2 = _slicedToArray(_useSelectionRoute, 3),
|
|
@@ -103,7 +103,7 @@ var EditDialogInner = function EditDialogInner(_ref) {
|
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
|
-
onAfterSave === null || onAfterSave === void 0
|
|
106
|
+
onAfterSave === null || onAfterSave === void 0 || onAfterSave();
|
|
107
107
|
}, [api, disableCloseAfterSave, onAfterSave]);
|
|
108
108
|
var isOpen = !!selection.mode;
|
|
109
109
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SaveBoundary.SaveBoundary, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditDialogApiContext.d.ts","sourceRoot":"","sources":["../src/EditDialogApiContext.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EditDialogApiContext.d.ts","sourceRoot":"","sources":["../src/EditDialogApiContext.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB;IAC/B,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,cAAc;IAC3B,aAAa,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,WAAW,EAAE,CAAC,OAAO,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACvD;AAED,eAAO,MAAM,oBAAoB,gDAA6C,CAAC;AAC/E,wBAAgB,gBAAgB,0BAE/B"}
|
package/lib/FinalForm.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Config, Decorator, FormApi, FormSubscription, SubmissionErrors, ValidationErrors } from "final-form";
|
|
2
|
-
import { MutableRefObject } from "react";
|
|
3
|
-
import { AnyObject, FormRenderProps, RenderableProps } from "react-final-form";
|
|
4
|
-
import { FinalFormContext } from "./form/FinalFormContextProvider";
|
|
1
|
+
import { type Config, type Decorator, type FormApi, type FormSubscription, type SubmissionErrors, type ValidationErrors } from "final-form";
|
|
2
|
+
import { type MutableRefObject } from "react";
|
|
3
|
+
import { type AnyObject, type FormRenderProps, type RenderableProps } from "react-final-form";
|
|
4
|
+
import { type FinalFormContext } from "./form/FinalFormContextProvider";
|
|
5
5
|
export declare const useFormApiRef: <FormValues = Record<string, any>, InitialFormValues = Partial<FormValues>>() => MutableRefObject<FormApi<FormValues, InitialFormValues> | undefined>;
|
|
6
6
|
interface IProps<FormValues = Record<string, any>, InitialFormValues = Partial<FormValues>> extends Omit<Config<FormValues, InitialFormValues>, "onSubmit">, RenderableProps<FormRenderProps<FormValues, InitialFormValues>> {
|
|
7
7
|
subscription?: FormSubscription;
|
|
@@ -29,6 +29,6 @@ declare module "final-form" {
|
|
|
29
29
|
export declare class FinalFormSubmitEvent extends Event {
|
|
30
30
|
navigatingBack?: boolean;
|
|
31
31
|
}
|
|
32
|
-
export declare function FinalForm<FormValues = AnyObject, InitialFormValues = Partial<FormValues>>(props: IProps<FormValues, InitialFormValues>): JSX.Element;
|
|
32
|
+
export declare function FinalForm<FormValues = AnyObject, InitialFormValues = Partial<FormValues>>(props: IProps<FormValues, InitialFormValues>): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
export {};
|
|
34
34
|
//# sourceMappingURL=FinalForm.d.ts.map
|
package/lib/FinalForm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinalForm.d.ts","sourceRoot":"","sources":["../src/FinalForm.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"FinalForm.d.ts","sourceRoot":"","sources":["../src/FinalForm.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,KAAK,MAAM,EACX,KAAK,SAAS,EAEd,KAAK,OAAO,EACZ,KAAK,gBAAgB,EAGrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACxB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,KAAK,gBAAgB,EAAsE,MAAM,OAAO,CAAC;AAClH,OAAO,EAAE,KAAK,SAAS,EAAQ,KAAK,eAAe,EAAW,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAG7G,OAAO,EAAE,KAAK,gBAAgB,EAA4B,MAAM,iCAAiC,CAAC;AAQlG,eAAO,MAAM,aAAa,GAAI,UAAU,wBAAwB,iBAAiB,iGAC7B,CAAC;AAGrD,UAAU,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,CACtF,SAAQ,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,iBAAiB,CAAC,EAAE,UAAU,CAAC,EAC3D,eAAe,CAAC,eAAe,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC;IACnE,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAC7D,IAAI,CAAC,EAAE,OAAO,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC;IAC9C,kBAAkB,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,OAAO,CAAC;IAC/D,CAAC,SAAS,EAAE,MAAM,GAAG,GAAG,CAAC;IAEzB,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;IACrB,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,gBAAgB,CAAC;IAGpE,QAAQ,EAAE,CACN,MAAM,EAAE,UAAU,EAClB,IAAI,EAAE,OAAO,CAAC,UAAU,EAAE,iBAAiB,CAAC,EAC5C,KAAK,EAAE,oBAAoB,KAC1B,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC;IAEjF;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,UAAU,EAAE,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC3F,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;IACnG,WAAW,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACxC,MAAM,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,UAAU,EAAE,iBAAiB,CAAC,GAAG,SAAS,CAAC,CAAC;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,OAAO,QAAQ,YAAY,CAAC;IACxB,UAAU,iBAAiB;QACvB,WAAW,EAAE,GAAG,CAAC;KACpB;CACJ;AA4CD,qBAAa,oBAAqB,SAAQ,KAAK;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAgB,SAAS,CAAC,UAAU,GAAG,SAAS,EAAE,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,UAAU,EAAE,iBAAiB,CAAC,2CA0LtI"}
|
package/lib/FinalForm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
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); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -21,36 +21,36 @@ var _SaveBoundary = require("./saveBoundary/SaveBoundary");
|
|
|
21
21
|
var _TableQueryContext = require("./table/TableQueryContext");
|
|
22
22
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
23
23
|
var _excluded = ["formContext"];
|
|
24
|
-
function _interopRequireDefault(
|
|
25
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
26
|
-
function asyncGeneratorStep(
|
|
27
|
-
function _asyncToGenerator(
|
|
28
|
-
function _objectWithoutProperties(
|
|
29
|
-
function _objectWithoutPropertiesLoose(
|
|
30
|
-
function ownKeys(
|
|
31
|
-
function _objectSpread(
|
|
32
|
-
function _defineProperties(
|
|
33
|
-
function _createClass(
|
|
34
|
-
function _classCallCheck(
|
|
35
|
-
function
|
|
36
|
-
function
|
|
37
|
-
function
|
|
38
|
-
function
|
|
39
|
-
function _wrapNativeSuper(
|
|
40
|
-
function _construct(
|
|
41
|
-
function _isNativeReflectConstruct() {
|
|
42
|
-
function _isNativeFunction(
|
|
43
|
-
function _setPrototypeOf(
|
|
44
|
-
function _getPrototypeOf(
|
|
45
|
-
function _defineProperty(
|
|
46
|
-
function _toPropertyKey(
|
|
47
|
-
function _toPrimitive(
|
|
48
|
-
function _slicedToArray(
|
|
24
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
25
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
26
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
27
|
+
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
28
|
+
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; }
|
|
29
|
+
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; }
|
|
30
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
31
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
33
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
34
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
35
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
36
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
37
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
38
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
39
|
+
function _wrapNativeSuper(t) { var r = "function" == typeof Map ? new Map() : void 0; return _wrapNativeSuper = function _wrapNativeSuper(t) { if (null === t || !_isNativeFunction(t)) return t; if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); if (void 0 !== r) { if (r.has(t)) return r.get(t); r.set(t, Wrapper); } function Wrapper() { return _construct(t, arguments, _getPrototypeOf(this).constructor); } return Wrapper.prototype = Object.create(t.prototype, { constructor: { value: Wrapper, enumerable: !1, writable: !0, configurable: !0 } }), _setPrototypeOf(Wrapper, t); }, _wrapNativeSuper(t); }
|
|
40
|
+
function _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }
|
|
41
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
42
|
+
function _isNativeFunction(t) { try { return -1 !== Function.toString.call(t).indexOf("[native code]"); } catch (n) { return "function" == typeof t; } }
|
|
43
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
44
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
45
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
46
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
47
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
48
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
49
49
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
50
|
-
function _unsupportedIterableToArray(
|
|
51
|
-
function _arrayLikeToArray(
|
|
52
|
-
function _iterableToArrayLimit(
|
|
53
|
-
function _arrayWithHoles(
|
|
50
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
51
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
52
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
53
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
54
54
|
var useFormApiRef = exports.useFormApiRef = function useFormApiRef() {
|
|
55
55
|
return (0, _react.useRef)();
|
|
56
56
|
};
|
|
@@ -94,20 +94,19 @@ var RouterPromptIf = function RouterPromptIf(_ref) {
|
|
|
94
94
|
});
|
|
95
95
|
};
|
|
96
96
|
var FinalFormSubmitEvent = exports.FinalFormSubmitEvent = /*#__PURE__*/function (_Event) {
|
|
97
|
-
_inherits(FinalFormSubmitEvent, _Event);
|
|
98
|
-
var _super = _createSuper(FinalFormSubmitEvent);
|
|
99
97
|
function FinalFormSubmitEvent() {
|
|
100
98
|
var _this;
|
|
101
99
|
_classCallCheck(this, FinalFormSubmitEvent);
|
|
102
100
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
103
101
|
args[_key] = arguments[_key];
|
|
104
102
|
}
|
|
105
|
-
_this =
|
|
106
|
-
_defineProperty(
|
|
103
|
+
_this = _callSuper(this, FinalFormSubmitEvent, [].concat(args));
|
|
104
|
+
_defineProperty(_this, "navigatingBack", void 0);
|
|
107
105
|
return _this;
|
|
108
106
|
}
|
|
107
|
+
_inherits(FinalFormSubmitEvent, _Event);
|
|
109
108
|
return _createClass(FinalFormSubmitEvent);
|
|
110
|
-
}(
|
|
109
|
+
}(/*#__PURE__*/_wrapNativeSuper(Event));
|
|
111
110
|
function FinalForm(props) {
|
|
112
111
|
var _useContext = (0, _react.useContext)((0, _client.getApolloContext)()),
|
|
113
112
|
client = _useContext.client;
|
|
@@ -162,7 +161,7 @@ function FinalForm(props) {
|
|
|
162
161
|
(0, _react.useEffect)(function () {
|
|
163
162
|
if (validateWarning) {
|
|
164
163
|
var validate = /*#__PURE__*/function () {
|
|
165
|
-
var _ref3 = _asyncToGenerator(
|
|
164
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
166
165
|
var validationRound, validationWarnings;
|
|
167
166
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
168
167
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -216,7 +215,7 @@ function FinalForm(props) {
|
|
|
216
215
|
validate();
|
|
217
216
|
}
|
|
218
217
|
}, [formRenderProps.values, setFieldData, registeredFields]);
|
|
219
|
-
var doSave = (0, _react.useCallback)(
|
|
218
|
+
var doSave = (0, _react.useCallback)(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
220
219
|
var hasValidationErrors, submissionErrors;
|
|
221
220
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
222
221
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -283,11 +282,11 @@ function FinalForm(props) {
|
|
|
283
282
|
})]
|
|
284
283
|
}));
|
|
285
284
|
}
|
|
286
|
-
function handleSubmit(
|
|
285
|
+
function handleSubmit(_x, _x2) {
|
|
287
286
|
return _handleSubmit.apply(this, arguments);
|
|
288
287
|
}
|
|
289
288
|
function _handleSubmit() {
|
|
290
|
-
_handleSubmit = _asyncToGenerator(
|
|
289
|
+
_handleSubmit = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(values, form) {
|
|
291
290
|
var submitEvent, ret;
|
|
292
291
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
293
292
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -306,14 +305,14 @@ function FinalForm(props) {
|
|
|
306
305
|
if (props.mode === "add") {
|
|
307
306
|
if (tableQuery) {
|
|
308
307
|
// refetch TableQuery after adding
|
|
309
|
-
client === null || client === void 0
|
|
308
|
+
client === null || client === void 0 || client.query({
|
|
310
309
|
query: tableQuery.api.getQuery(),
|
|
311
310
|
variables: tableQuery.api.getVariables(),
|
|
312
311
|
fetchPolicy: "network-only"
|
|
313
312
|
});
|
|
314
313
|
}
|
|
315
314
|
}
|
|
316
|
-
onAfterSubmit === null || onAfterSubmit === void 0
|
|
315
|
+
onAfterSubmit === null || onAfterSubmit === void 0 || onAfterSubmit(values, form);
|
|
317
316
|
});
|
|
318
317
|
return data;
|
|
319
318
|
}).then(function (data) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
interface FinalFormSaveButtonProps {
|
|
3
3
|
message?: ReactNode;
|
|
4
4
|
hasConflict?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const FinalFormSaveButton: ({ message, hasConflict }: FinalFormSaveButtonProps) => JSX.Element;
|
|
6
|
+
export declare const FinalFormSaveButton: ({ message, hasConflict }: FinalFormSaveButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=FinalFormSaveButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinalFormSaveButton.d.ts","sourceRoot":"","sources":["../src/FinalFormSaveButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FinalFormSaveButton.d.ts","sourceRoot":"","sources":["../src/FinalFormSaveButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,UAAU,wBAAwB;IAC9B,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,mBAAmB,6BAAwE,wBAAwB,4CAqB/H,CAAC"}
|