@acvl/frontend-components 0.0.63 → 0.0.65
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/dist/cjs/index.js +1 -2
- package/dist/esm/index.js +1 -2
- package/dist/index.d.ts +618 -37
- package/package.json +6 -4
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts +0 -5
- package/dist/cjs/types/rollup.config.d.ts +0 -3
- package/dist/cjs/types/src/components/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/badges/StatusBadge/StatusBadge.d.ts +0 -11
- package/dist/cjs/types/src/components/v1/badges/StatusBadge/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/badges/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/buttons/ButtonWithDrawer/index.d.ts +0 -24
- package/dist/cjs/types/src/components/v1/buttons/CreateButton/CreateButtonBase.d.ts +0 -9
- package/dist/cjs/types/src/components/v1/buttons/CreateButton/CreateButtonWithMenuOptions.d.ts +0 -18
- package/dist/cjs/types/src/components/v1/buttons/CreateButton/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/buttons/DeleteButton/DeleteButton.d.ts +0 -4
- package/dist/cjs/types/src/components/v1/buttons/DeleteButton/DeleteConfirmationDialog.d.ts +0 -12
- package/dist/cjs/types/src/components/v1/buttons/DeleteButton/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/buttons/EditButton/EditButton.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/buttons/EditButton/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/buttons/ExtraButtons/index.d.ts +0 -11
- package/dist/cjs/types/src/components/v1/buttons/MoreOptions/index.d.ts +0 -10
- package/dist/cjs/types/src/components/v1/buttons/NormalOrIcon/NormalOrIcon.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/buttons/NormalOrIcon/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/buttons/SaveCancelButton/SaveCancelButton.d.ts +0 -10
- package/dist/cjs/types/src/components/v1/buttons/SaveCancelButton/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/buttons/index.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/cards/ModuleCard/ModuleCard.d.ts +0 -9
- package/dist/cjs/types/src/components/v1/cards/ModuleCard/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/cards/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/datagrids/Base/index.d.ts +0 -32
- package/dist/cjs/types/src/components/v1/datagrids/cells/ActiveCell.d.ts +0 -6
- package/dist/cjs/types/src/components/v1/datagrids/cells/EditCellWithErrorTooltip.d.ts +0 -4
- package/dist/cjs/types/src/components/v1/datagrids/cells/MyGridEditSingleSelect.d.ts +0 -4
- package/dist/cjs/types/src/components/v1/datagrids/cells/index.d.ts +0 -3
- package/dist/cjs/types/src/components/v1/datagrids/cells/renderEditCellWithErrorTooltip.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/datagrids/columns/deleteColumn.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/datagrids/columns/editColumn.d.ts +0 -14
- package/dist/cjs/types/src/components/v1/datagrids/columns/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomNoRows/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomPagination/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomToolbar/index.d.ts +0 -35
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/ColumnsButton.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/ExportButton/ExportCSV.d.ts +0 -18
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/ExportButton/index.d.ts +0 -15
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/FiltersButton/FiltersPopper.d.ts +0 -9
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/FiltersButton/index.d.ts +0 -16
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/FiltersButton/utils.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/QuickSearch.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/RefreshButton.d.ts +0 -6
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/SelectedRowsButton.d.ts +0 -13
- package/dist/cjs/types/src/components/v1/datagrids/custom_slots/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/datagrids/filter_inputs/TrueFalse.d.ts +0 -4
- package/dist/cjs/types/src/components/v1/datagrids/filter_inputs/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/datagrids/index.d.ts +0 -6
- package/dist/cjs/types/src/components/v1/datagrids/rows/DraggableRow.d.ts +0 -3
- package/dist/cjs/types/src/components/v1/datagrids/types.d.ts +0 -37
- package/dist/cjs/types/src/components/v1/datagrids/utils.d.ts +0 -5
- package/dist/cjs/types/src/components/v1/datagrids/wrappers/CreateGridWrapper.d.ts +0 -36
- package/dist/cjs/types/src/components/v1/datagrids/wrappers/DeleteGridWrapper.d.ts +0 -13
- package/dist/cjs/types/src/components/v1/datagrids/wrappers/EditGridWrapper.d.ts +0 -32
- package/dist/cjs/types/src/components/v1/datagrids/wrappers/index.d.ts +0 -3
- package/dist/cjs/types/src/components/v1/drawers/HistorialDrawer/_HistorialDrawer.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/drawers/HistorialDrawer/index.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/drawers/MainDrawer/index.d.ts +0 -15
- package/dist/cjs/types/src/components/v1/drawers/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/forms/CSVUpload/index.d.ts +0 -10
- package/dist/cjs/types/src/components/v1/forms/index.d.ts +0 -3
- package/dist/cjs/types/src/components/v1/forms/schemas.d.ts +0 -5
- package/dist/cjs/types/src/components/v1/forms/utils.d.ts +0 -19
- package/dist/cjs/types/src/components/v1/icons/ActiveIcon.d.ts +0 -6
- package/dist/cjs/types/src/components/v1/icons/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/index.d.ts +0 -14
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledDate/index.d.ts +0 -11
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledDropdown/index.d.ts +0 -17
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledFileField/index.d.ts +0 -16
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledFileUploadBox/FileBox.d.ts +0 -7
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledFileUploadBox/RowErrors.d.ts +0 -6
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledFileUploadBox/index.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledNumber/index.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledPhoneNumber/index.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledSelect/index.d.ts +0 -16
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledSimpleSlider/index.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledSlider/index.d.ts +0 -12
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledSwitch/index.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledText/index.d.ts +0 -11
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledTimePicker/index.d.ts +0 -11
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledTimePicker/utils.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/inputs/controlled/ControlledToggleButtons/index.d.ts +0 -14
- package/dist/cjs/types/src/components/v1/inputs/controlled/CrudDropdown/index.d.ts +0 -18
- package/dist/cjs/types/src/components/v1/inputs/controlled/index.d.ts +0 -14
- package/dist/cjs/types/src/components/v1/inputs/controlled/types.d.ts +0 -5
- package/dist/cjs/types/src/components/v1/inputs/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/inputs/uncontrolled/UncontrolledText/index.d.ts +0 -10
- package/dist/cjs/types/src/components/v1/inputs/uncontrolled/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/layout/index.d.ts +0 -3
- package/dist/cjs/types/src/components/v1/layout/layouts/ContentLayout/index.d.ts +0 -6
- package/dist/cjs/types/src/components/v1/layout/layouts/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/layout/pages/(errors)/NotAllowed.d.ts +0 -5
- package/dist/cjs/types/src/components/v1/layout/pages/(errors)/NotFound.d.ts +0 -5
- package/dist/cjs/types/src/components/v1/layout/pages/(errors)/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/layout/pages/CoverPage/index.d.ts +0 -16
- package/dist/cjs/types/src/components/v1/layout/pages/DetailPage/Field/DetailField.d.ts +0 -4
- package/dist/cjs/types/src/components/v1/layout/pages/DetailPage/Field/EditField.d.ts +0 -4
- package/dist/cjs/types/src/components/v1/layout/pages/DetailPage/Field/index.d.ts +0 -35
- package/dist/cjs/types/src/components/v1/layout/pages/DetailPage/FieldArrayField/index.d.ts +0 -29
- package/dist/cjs/types/src/components/v1/layout/pages/DetailPage/Section/index.d.ts +0 -23
- package/dist/cjs/types/src/components/v1/layout/pages/DetailPage/index.d.ts +0 -68
- package/dist/cjs/types/src/components/v1/layout/pages/DetailPage/types.d.ts +0 -14
- package/dist/cjs/types/src/components/v1/layout/pages/DetailPage/utils.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/layout/pages/ListPage/index.d.ts +0 -11
- package/dist/cjs/types/src/components/v1/layout/pages/index.d.ts +0 -5
- package/dist/cjs/types/src/components/v1/layout/pages/utils.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/layout/shared/Loadable/Loader.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/layout/shared/Loadable/index.d.ts +0 -5
- package/dist/cjs/types/src/components/v1/layout/shared/LoadingComponent/index.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/layout/shared/Logo/index.d.ts +0 -5
- package/dist/cjs/types/src/components/v1/layout/shared/Tabs/index.d.ts +0 -24
- package/dist/cjs/types/src/components/v1/layout/shared/Transitions/index.d.ts +0 -15
- package/dist/cjs/types/src/components/v1/layout/shared/index.d.ts +0 -5
- package/dist/cjs/types/src/components/v1/lib/context/APIContext.d.ts +0 -16
- package/dist/cjs/types/src/components/v1/lib/context/NavigationContext.d.ts +0 -8
- package/dist/cjs/types/src/components/v1/lib/context/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/lib/extended-dayjs.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/lib/hooks/api.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/lib/hooks/index.d.ts +0 -4
- package/dist/cjs/types/src/components/v1/lib/hooks/navigation.d.ts +0 -4
- package/dist/cjs/types/src/components/v1/lib/hooks/useKeyboardShortcut.d.ts +0 -42
- package/dist/cjs/types/src/components/v1/lib/hooks/users.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/lib/index.d.ts +0 -5
- package/dist/cjs/types/src/components/v1/lib/navigation/index.d.ts +0 -25
- package/dist/cjs/types/src/components/v1/lib/slices/header.d.ts +0 -9
- package/dist/cjs/types/src/components/v1/lib/slices/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/lib/slices/snackProgress.d.ts +0 -19
- package/dist/cjs/types/src/components/v1/lib/utils.d.ts +0 -14
- package/dist/cjs/types/src/components/v1/menus/MenuItemWithLoading/index.d.ts +0 -9
- package/dist/cjs/types/src/components/v1/menus/StyledMenu/index.d.ts +0 -3
- package/dist/cjs/types/src/components/v1/menus/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v1/snacks/ObjectProgressStack/BaseProgressSnack.d.ts +0 -14
- package/dist/cjs/types/src/components/v1/snacks/ObjectProgressStack/ObjectProgress.d.ts +0 -11
- package/dist/cjs/types/src/components/v1/snacks/ObjectProgressStack/index.d.ts +0 -6
- package/dist/cjs/types/src/components/v1/snacks/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v1/theme/compStyleOverride.d.ts +0 -67
- package/dist/cjs/types/src/components/v1/theme/index.d.ts +0 -42
- package/dist/cjs/types/src/components/v1/theme/typography.d.ts +0 -126
- package/dist/cjs/types/src/components/v1/types.d.ts +0 -6
- package/dist/cjs/types/src/components/v2/dashboards/KpiCard.d.ts +0 -17
- package/dist/cjs/types/src/components/v2/dashboards/Panel.d.ts +0 -24
- package/dist/cjs/types/src/components/v2/dashboards/PollingCountdownChip.d.ts +0 -8
- package/dist/cjs/types/src/components/v2/dashboards/index.d.ts +0 -3
- package/dist/cjs/types/src/components/v2/datagrids/DrawerGrid/index.d.ts +0 -66
- package/dist/cjs/types/src/components/v2/datagrids/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v2/dialogs/ConfirmDialog.d.ts +0 -17
- package/dist/cjs/types/src/components/v2/dialogs/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v2/index.d.ts +0 -7
- package/dist/cjs/types/src/components/v2/inputs/controlled/ControlledAddressAutocomplete/index.d.ts +0 -48
- package/dist/cjs/types/src/components/v2/inputs/controlled/ControlledAmountWithCurrency/index.d.ts +0 -51
- package/dist/cjs/types/src/components/v2/inputs/controlled/ControlledDate/index.d.ts +0 -12
- package/dist/cjs/types/src/components/v2/inputs/controlled/ControlledFileField/index.d.ts +0 -8
- package/dist/cjs/types/src/components/v2/inputs/controlled/ControlledSelect/index.d.ts +0 -7
- package/dist/cjs/types/src/components/v2/inputs/controlled/index.d.ts +0 -7
- package/dist/cjs/types/src/components/v2/inputs/controlled/types.d.ts +0 -31
- package/dist/cjs/types/src/components/v2/inputs/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v2/layout/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v2/layout/layouts/MainLayout/PageHeader.d.ts +0 -24
- package/dist/cjs/types/src/components/v2/layout/layouts/MainLayout/ProgressStatus.d.ts +0 -10
- package/dist/cjs/types/src/components/v2/layout/layouts/MainLayout/SidebarFooter.d.ts +0 -12
- package/dist/cjs/types/src/components/v2/layout/layouts/MainLayout/index.d.ts +0 -70
- package/dist/cjs/types/src/components/v2/layout/layouts/index.d.ts +0 -5
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/ActionsMenu.d.ts +0 -17
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/DetailForm.d.ts +0 -25
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/DetailFormDialog.d.ts +0 -35
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/DetailFormDrawer.d.ts +0 -42
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/Field/DetailField.d.ts +0 -4
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/Field/EditField.d.ts +0 -4
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/Field/index.d.ts +0 -31
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/Section/index.d.ts +0 -13
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/Subsection/index.d.ts +0 -22
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/index.d.ts +0 -39
- package/dist/cjs/types/src/components/v2/layout/pages/DetailPage/useDetailForm.d.ts +0 -82
- package/dist/cjs/types/src/components/v2/layout/pages/index.d.ts +0 -10
- package/dist/cjs/types/src/components/v2/lib/hooks/index.d.ts +0 -2
- package/dist/cjs/types/src/components/v2/lib/hooks/useHasPermission_v2.d.ts +0 -1
- package/dist/cjs/types/src/components/v2/lib/hooks/useMutationHandler.d.ts +0 -23
- package/dist/cjs/types/src/components/v2/lib/index.d.ts +0 -1
- package/dist/cjs/types/src/components/v2/shared/PulseDot.d.ts +0 -15
- package/dist/cjs/types/src/components/v2/shared/index.d.ts +0 -1
- package/dist/cjs/types/src/index.d.ts +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/types/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts +0 -5
- package/dist/esm/types/rollup.config.d.ts +0 -3
- package/dist/esm/types/src/components/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/badges/StatusBadge/StatusBadge.d.ts +0 -11
- package/dist/esm/types/src/components/v1/badges/StatusBadge/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/badges/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/buttons/ButtonWithDrawer/index.d.ts +0 -24
- package/dist/esm/types/src/components/v1/buttons/CreateButton/CreateButtonBase.d.ts +0 -9
- package/dist/esm/types/src/components/v1/buttons/CreateButton/CreateButtonWithMenuOptions.d.ts +0 -18
- package/dist/esm/types/src/components/v1/buttons/CreateButton/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/buttons/DeleteButton/DeleteButton.d.ts +0 -4
- package/dist/esm/types/src/components/v1/buttons/DeleteButton/DeleteConfirmationDialog.d.ts +0 -12
- package/dist/esm/types/src/components/v1/buttons/DeleteButton/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/buttons/EditButton/EditButton.d.ts +0 -2
- package/dist/esm/types/src/components/v1/buttons/EditButton/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/buttons/ExtraButtons/index.d.ts +0 -11
- package/dist/esm/types/src/components/v1/buttons/MoreOptions/index.d.ts +0 -10
- package/dist/esm/types/src/components/v1/buttons/NormalOrIcon/NormalOrIcon.d.ts +0 -8
- package/dist/esm/types/src/components/v1/buttons/NormalOrIcon/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/buttons/SaveCancelButton/SaveCancelButton.d.ts +0 -10
- package/dist/esm/types/src/components/v1/buttons/SaveCancelButton/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/buttons/index.d.ts +0 -8
- package/dist/esm/types/src/components/v1/cards/ModuleCard/ModuleCard.d.ts +0 -9
- package/dist/esm/types/src/components/v1/cards/ModuleCard/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/cards/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/datagrids/Base/index.d.ts +0 -32
- package/dist/esm/types/src/components/v1/datagrids/cells/ActiveCell.d.ts +0 -6
- package/dist/esm/types/src/components/v1/datagrids/cells/EditCellWithErrorTooltip.d.ts +0 -4
- package/dist/esm/types/src/components/v1/datagrids/cells/MyGridEditSingleSelect.d.ts +0 -4
- package/dist/esm/types/src/components/v1/datagrids/cells/index.d.ts +0 -3
- package/dist/esm/types/src/components/v1/datagrids/cells/renderEditCellWithErrorTooltip.d.ts +0 -2
- package/dist/esm/types/src/components/v1/datagrids/columns/deleteColumn.d.ts +0 -8
- package/dist/esm/types/src/components/v1/datagrids/columns/editColumn.d.ts +0 -14
- package/dist/esm/types/src/components/v1/datagrids/columns/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomNoRows/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomPagination/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomToolbar/index.d.ts +0 -35
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/ColumnsButton.d.ts +0 -2
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/ExportButton/ExportCSV.d.ts +0 -18
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/ExportButton/index.d.ts +0 -15
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/FiltersButton/FiltersPopper.d.ts +0 -9
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/FiltersButton/index.d.ts +0 -16
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/FiltersButton/utils.d.ts +0 -2
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/QuickSearch.d.ts +0 -8
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/RefreshButton.d.ts +0 -6
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/CustomToolbar/slots/SelectedRowsButton.d.ts +0 -13
- package/dist/esm/types/src/components/v1/datagrids/custom_slots/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/datagrids/filter_inputs/TrueFalse.d.ts +0 -4
- package/dist/esm/types/src/components/v1/datagrids/filter_inputs/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/datagrids/index.d.ts +0 -6
- package/dist/esm/types/src/components/v1/datagrids/rows/DraggableRow.d.ts +0 -3
- package/dist/esm/types/src/components/v1/datagrids/types.d.ts +0 -37
- package/dist/esm/types/src/components/v1/datagrids/utils.d.ts +0 -5
- package/dist/esm/types/src/components/v1/datagrids/wrappers/CreateGridWrapper.d.ts +0 -36
- package/dist/esm/types/src/components/v1/datagrids/wrappers/DeleteGridWrapper.d.ts +0 -13
- package/dist/esm/types/src/components/v1/datagrids/wrappers/EditGridWrapper.d.ts +0 -32
- package/dist/esm/types/src/components/v1/datagrids/wrappers/index.d.ts +0 -3
- package/dist/esm/types/src/components/v1/drawers/HistorialDrawer/_HistorialDrawer.d.ts +0 -8
- package/dist/esm/types/src/components/v1/drawers/HistorialDrawer/index.d.ts +0 -8
- package/dist/esm/types/src/components/v1/drawers/MainDrawer/index.d.ts +0 -15
- package/dist/esm/types/src/components/v1/drawers/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/forms/CSVUpload/index.d.ts +0 -10
- package/dist/esm/types/src/components/v1/forms/index.d.ts +0 -3
- package/dist/esm/types/src/components/v1/forms/schemas.d.ts +0 -5
- package/dist/esm/types/src/components/v1/forms/utils.d.ts +0 -19
- package/dist/esm/types/src/components/v1/icons/ActiveIcon.d.ts +0 -6
- package/dist/esm/types/src/components/v1/icons/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/index.d.ts +0 -14
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledDate/index.d.ts +0 -11
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledDropdown/index.d.ts +0 -17
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledFileField/index.d.ts +0 -16
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledFileUploadBox/FileBox.d.ts +0 -7
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledFileUploadBox/RowErrors.d.ts +0 -6
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledFileUploadBox/index.d.ts +0 -8
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledNumber/index.d.ts +0 -8
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledPhoneNumber/index.d.ts +0 -8
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledSelect/index.d.ts +0 -16
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledSimpleSlider/index.d.ts +0 -8
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledSlider/index.d.ts +0 -12
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledSwitch/index.d.ts +0 -8
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledText/index.d.ts +0 -11
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledTimePicker/index.d.ts +0 -11
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledTimePicker/utils.d.ts +0 -2
- package/dist/esm/types/src/components/v1/inputs/controlled/ControlledToggleButtons/index.d.ts +0 -14
- package/dist/esm/types/src/components/v1/inputs/controlled/CrudDropdown/index.d.ts +0 -18
- package/dist/esm/types/src/components/v1/inputs/controlled/index.d.ts +0 -14
- package/dist/esm/types/src/components/v1/inputs/controlled/types.d.ts +0 -5
- package/dist/esm/types/src/components/v1/inputs/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/inputs/uncontrolled/UncontrolledText/index.d.ts +0 -10
- package/dist/esm/types/src/components/v1/inputs/uncontrolled/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/layout/index.d.ts +0 -3
- package/dist/esm/types/src/components/v1/layout/layouts/ContentLayout/index.d.ts +0 -6
- package/dist/esm/types/src/components/v1/layout/layouts/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/layout/pages/(errors)/NotAllowed.d.ts +0 -5
- package/dist/esm/types/src/components/v1/layout/pages/(errors)/NotFound.d.ts +0 -5
- package/dist/esm/types/src/components/v1/layout/pages/(errors)/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/layout/pages/CoverPage/index.d.ts +0 -16
- package/dist/esm/types/src/components/v1/layout/pages/DetailPage/Field/DetailField.d.ts +0 -4
- package/dist/esm/types/src/components/v1/layout/pages/DetailPage/Field/EditField.d.ts +0 -4
- package/dist/esm/types/src/components/v1/layout/pages/DetailPage/Field/index.d.ts +0 -35
- package/dist/esm/types/src/components/v1/layout/pages/DetailPage/FieldArrayField/index.d.ts +0 -29
- package/dist/esm/types/src/components/v1/layout/pages/DetailPage/Section/index.d.ts +0 -23
- package/dist/esm/types/src/components/v1/layout/pages/DetailPage/index.d.ts +0 -68
- package/dist/esm/types/src/components/v1/layout/pages/DetailPage/types.d.ts +0 -14
- package/dist/esm/types/src/components/v1/layout/pages/DetailPage/utils.d.ts +0 -2
- package/dist/esm/types/src/components/v1/layout/pages/ListPage/index.d.ts +0 -11
- package/dist/esm/types/src/components/v1/layout/pages/index.d.ts +0 -5
- package/dist/esm/types/src/components/v1/layout/pages/utils.d.ts +0 -2
- package/dist/esm/types/src/components/v1/layout/shared/Loadable/Loader.d.ts +0 -2
- package/dist/esm/types/src/components/v1/layout/shared/Loadable/index.d.ts +0 -5
- package/dist/esm/types/src/components/v1/layout/shared/LoadingComponent/index.d.ts +0 -8
- package/dist/esm/types/src/components/v1/layout/shared/Logo/index.d.ts +0 -5
- package/dist/esm/types/src/components/v1/layout/shared/Tabs/index.d.ts +0 -24
- package/dist/esm/types/src/components/v1/layout/shared/Transitions/index.d.ts +0 -15
- package/dist/esm/types/src/components/v1/layout/shared/index.d.ts +0 -5
- package/dist/esm/types/src/components/v1/lib/context/APIContext.d.ts +0 -16
- package/dist/esm/types/src/components/v1/lib/context/NavigationContext.d.ts +0 -8
- package/dist/esm/types/src/components/v1/lib/context/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/lib/extended-dayjs.d.ts +0 -2
- package/dist/esm/types/src/components/v1/lib/hooks/api.d.ts +0 -1
- package/dist/esm/types/src/components/v1/lib/hooks/index.d.ts +0 -4
- package/dist/esm/types/src/components/v1/lib/hooks/navigation.d.ts +0 -4
- package/dist/esm/types/src/components/v1/lib/hooks/useKeyboardShortcut.d.ts +0 -42
- package/dist/esm/types/src/components/v1/lib/hooks/users.d.ts +0 -1
- package/dist/esm/types/src/components/v1/lib/index.d.ts +0 -5
- package/dist/esm/types/src/components/v1/lib/navigation/index.d.ts +0 -25
- package/dist/esm/types/src/components/v1/lib/slices/header.d.ts +0 -9
- package/dist/esm/types/src/components/v1/lib/slices/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/lib/slices/snackProgress.d.ts +0 -19
- package/dist/esm/types/src/components/v1/lib/utils.d.ts +0 -14
- package/dist/esm/types/src/components/v1/menus/MenuItemWithLoading/index.d.ts +0 -9
- package/dist/esm/types/src/components/v1/menus/StyledMenu/index.d.ts +0 -3
- package/dist/esm/types/src/components/v1/menus/index.d.ts +0 -2
- package/dist/esm/types/src/components/v1/snacks/ObjectProgressStack/BaseProgressSnack.d.ts +0 -14
- package/dist/esm/types/src/components/v1/snacks/ObjectProgressStack/ObjectProgress.d.ts +0 -11
- package/dist/esm/types/src/components/v1/snacks/ObjectProgressStack/index.d.ts +0 -6
- package/dist/esm/types/src/components/v1/snacks/index.d.ts +0 -1
- package/dist/esm/types/src/components/v1/theme/compStyleOverride.d.ts +0 -67
- package/dist/esm/types/src/components/v1/theme/index.d.ts +0 -42
- package/dist/esm/types/src/components/v1/theme/typography.d.ts +0 -126
- package/dist/esm/types/src/components/v1/types.d.ts +0 -6
- package/dist/esm/types/src/components/v2/dashboards/KpiCard.d.ts +0 -17
- package/dist/esm/types/src/components/v2/dashboards/Panel.d.ts +0 -24
- package/dist/esm/types/src/components/v2/dashboards/PollingCountdownChip.d.ts +0 -8
- package/dist/esm/types/src/components/v2/dashboards/index.d.ts +0 -3
- package/dist/esm/types/src/components/v2/datagrids/DrawerGrid/index.d.ts +0 -66
- package/dist/esm/types/src/components/v2/datagrids/index.d.ts +0 -2
- package/dist/esm/types/src/components/v2/dialogs/ConfirmDialog.d.ts +0 -17
- package/dist/esm/types/src/components/v2/dialogs/index.d.ts +0 -1
- package/dist/esm/types/src/components/v2/index.d.ts +0 -7
- package/dist/esm/types/src/components/v2/inputs/controlled/ControlledAddressAutocomplete/index.d.ts +0 -48
- package/dist/esm/types/src/components/v2/inputs/controlled/ControlledAmountWithCurrency/index.d.ts +0 -51
- package/dist/esm/types/src/components/v2/inputs/controlled/ControlledDate/index.d.ts +0 -12
- package/dist/esm/types/src/components/v2/inputs/controlled/ControlledFileField/index.d.ts +0 -8
- package/dist/esm/types/src/components/v2/inputs/controlled/ControlledSelect/index.d.ts +0 -7
- package/dist/esm/types/src/components/v2/inputs/controlled/index.d.ts +0 -7
- package/dist/esm/types/src/components/v2/inputs/controlled/types.d.ts +0 -31
- package/dist/esm/types/src/components/v2/inputs/index.d.ts +0 -1
- package/dist/esm/types/src/components/v2/layout/index.d.ts +0 -2
- package/dist/esm/types/src/components/v2/layout/layouts/MainLayout/PageHeader.d.ts +0 -24
- package/dist/esm/types/src/components/v2/layout/layouts/MainLayout/ProgressStatus.d.ts +0 -10
- package/dist/esm/types/src/components/v2/layout/layouts/MainLayout/SidebarFooter.d.ts +0 -12
- package/dist/esm/types/src/components/v2/layout/layouts/MainLayout/index.d.ts +0 -70
- package/dist/esm/types/src/components/v2/layout/layouts/index.d.ts +0 -5
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/ActionsMenu.d.ts +0 -17
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/DetailForm.d.ts +0 -25
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/DetailFormDialog.d.ts +0 -35
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/DetailFormDrawer.d.ts +0 -42
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/Field/DetailField.d.ts +0 -4
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/Field/EditField.d.ts +0 -4
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/Field/index.d.ts +0 -31
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/Section/index.d.ts +0 -13
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/Subsection/index.d.ts +0 -22
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/index.d.ts +0 -39
- package/dist/esm/types/src/components/v2/layout/pages/DetailPage/useDetailForm.d.ts +0 -82
- package/dist/esm/types/src/components/v2/layout/pages/index.d.ts +0 -10
- package/dist/esm/types/src/components/v2/lib/hooks/index.d.ts +0 -2
- package/dist/esm/types/src/components/v2/lib/hooks/useHasPermission_v2.d.ts +0 -1
- package/dist/esm/types/src/components/v2/lib/hooks/useMutationHandler.d.ts +0 -23
- package/dist/esm/types/src/components/v2/lib/index.d.ts +0 -1
- package/dist/esm/types/src/components/v2/shared/PulseDot.d.ts +0 -15
- package/dist/esm/types/src/components/v2/shared/index.d.ts +0 -1
- package/dist/esm/types/src/index.d.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _mui_material from '@mui/material';
|
|
2
|
-
import { ButtonProps, ButtonGroupProps, IconButtonProps, MenuItemProps, AlertProps, BoxProps, AutocompleteProps, SliderProps, SwitchProps, GridProps, DrawerProps,
|
|
2
|
+
import { ButtonProps, ButtonGroupProps, IconButtonProps, MenuItemProps, AlertProps, BoxProps, AutocompleteProps, SliderProps, SwitchProps, GridProps, DrawerProps, SxProps, Theme, StackProps, TypographyProps, MenuProps, PaletteColorOptions, TextFieldProps as TextFieldProps$1, InputBaseProps, DialogProps, DialogContentProps } from '@mui/material';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { ReactNode, Dispatch, SetStateAction, JSX, RefObject, FC, BaseSyntheticEvent, JSXElementConstructor, ElementType } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { GridRowId, GridRowSelectionModel, GridSortModel, GridFilterModel, GridRowModesModel, GridRenderEditCellParams, GridToolbarProps, DataGridProps as DataGridProps$1 } from '@mui/x-data-grid';
|
|
6
|
+
import { GridRowId, GridRowSelectionModel, GridSortModel, GridFilterModel, GridRowModesModel, GridRenderEditCellParams, GridToolbarProps, DataGridProps as DataGridProps$1, GridApi, GridPaginationModel, GridColumnVisibilityModel, useGridApiRef, GridColDef } from '@mui/x-data-grid';
|
|
7
7
|
import { DataGridProps, GridBaseColDef } from '@mui/x-data-grid/internals';
|
|
8
8
|
import { NavigateOptions } from 'react-router-dom';
|
|
9
9
|
import * as zod_v4_core from 'zod/v4/core';
|
|
@@ -16,6 +16,7 @@ import * as redux from 'redux';
|
|
|
16
16
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
17
17
|
import * as _emotion_styled from '@emotion/styled';
|
|
18
18
|
import * as _mui_system from '@mui/system';
|
|
19
|
+
import { DebouncedFunc } from 'lodash';
|
|
19
20
|
import { UseFormReturn } from 'react-hook-form';
|
|
20
21
|
import { Breadcrumb, PageHeaderProps, Navigation, Branding, Session, Authentication, DashboardHeaderProps } from '@toolpad/core';
|
|
21
22
|
import { SidebarFooterProps } from '@toolpad/core/DashboardLayout';
|
|
@@ -59,7 +60,7 @@ interface CreateButtonBaseProps {
|
|
|
59
60
|
}
|
|
60
61
|
declare const CreateButtonBase: React__default.FC<CreateButtonBaseProps>;
|
|
61
62
|
|
|
62
|
-
interface CSVMenuOptionProps$
|
|
63
|
+
interface CSVMenuOptionProps$2 {
|
|
63
64
|
endpoint?: string;
|
|
64
65
|
title?: string;
|
|
65
66
|
custom?: string;
|
|
@@ -69,7 +70,7 @@ interface CreateButtonWithMenuOptionsProps {
|
|
|
69
70
|
permission: boolean;
|
|
70
71
|
csv_upload?: {
|
|
71
72
|
enable: boolean;
|
|
72
|
-
extraOptions?: CSVMenuOptionProps$
|
|
73
|
+
extraOptions?: CSVMenuOptionProps$2[];
|
|
73
74
|
};
|
|
74
75
|
pathname: string;
|
|
75
76
|
navigate: any;
|
|
@@ -85,7 +86,16 @@ interface ButtonWithDrawerProps {
|
|
|
85
86
|
drawer: {
|
|
86
87
|
title: string;
|
|
87
88
|
content: (props: any) => JSX.Element;
|
|
89
|
+
/** Acciones en el encabezado. Sustituyen al botón de cerrar integrado. */
|
|
88
90
|
button?: ReactNode;
|
|
91
|
+
/**
|
|
92
|
+
* Pie fijo del panel — el sitio habitual para guardar/cancelar. Recibe
|
|
93
|
+
* `handleClose` porque, con el panel sin controlar desde fuera, es la única
|
|
94
|
+
* forma que tiene el consumidor de cerrarlo.
|
|
95
|
+
*/
|
|
96
|
+
footer?: (props: {
|
|
97
|
+
handleClose: () => void;
|
|
98
|
+
}) => ReactNode;
|
|
89
99
|
};
|
|
90
100
|
};
|
|
91
101
|
slotProps?: {
|
|
@@ -205,7 +215,7 @@ interface CSVUploadProps {
|
|
|
205
215
|
postAction?: (response: any) => void;
|
|
206
216
|
open: boolean;
|
|
207
217
|
drawerToggle: () => void;
|
|
208
|
-
data?: CSVMenuOptionProps$
|
|
218
|
+
data?: CSVMenuOptionProps$2;
|
|
209
219
|
}
|
|
210
220
|
declare const CSVUpload: React__default.FC<CSVUploadProps>;
|
|
211
221
|
|
|
@@ -220,11 +230,11 @@ interface EditGridColumnsProps {
|
|
|
220
230
|
}
|
|
221
231
|
declare const editColumn: (props?: EditGridColumnsProps) => GridColDefPropsOverrides[];
|
|
222
232
|
|
|
223
|
-
interface DeleteGridColumnsProps {
|
|
233
|
+
interface DeleteGridColumnsProps$1 {
|
|
224
234
|
displayDelete?: boolean;
|
|
225
235
|
handleOpen: (id: GridRowId) => () => void;
|
|
226
236
|
}
|
|
227
|
-
declare const deleteColumn: (props: DeleteGridColumnsProps) => GridColDefPropsOverrides[];
|
|
237
|
+
declare const deleteColumn$1: (props: DeleteGridColumnsProps$1) => GridColDefPropsOverrides[];
|
|
228
238
|
|
|
229
239
|
interface EditGridAPIProps {
|
|
230
240
|
mutation: any;
|
|
@@ -243,6 +253,16 @@ interface EditGridAPIProps {
|
|
|
243
253
|
postAction?: (result: any) => void;
|
|
244
254
|
}
|
|
245
255
|
|
|
256
|
+
interface EditToggleGridAPIProps {
|
|
257
|
+
/** Hides the button and its shortcuts without touching permissions. */
|
|
258
|
+
disabled?: boolean;
|
|
259
|
+
/**
|
|
260
|
+
* Notified whenever the toggle flips. Generic passthrough — `DrawerGrid_v2` uses it to
|
|
261
|
+
* open its row drawer already in edit mode.
|
|
262
|
+
*/
|
|
263
|
+
onEditModeChange?: (edit: boolean) => void;
|
|
264
|
+
}
|
|
265
|
+
|
|
246
266
|
interface DeleteGridWrapperProps {
|
|
247
267
|
mutation: any;
|
|
248
268
|
permission: boolean;
|
|
@@ -253,22 +273,22 @@ interface DeleteGridWrapperProps {
|
|
|
253
273
|
dataGridProps?: Partial<MyDataGridProps>;
|
|
254
274
|
}
|
|
255
275
|
|
|
256
|
-
interface CSVMenuOptionProps {
|
|
276
|
+
interface CSVMenuOptionProps$1 {
|
|
257
277
|
endpoint: string;
|
|
258
278
|
title?: string;
|
|
259
279
|
custom?: string;
|
|
260
280
|
icon?: any;
|
|
261
281
|
}
|
|
262
|
-
interface ExtraCreateOptionProps {
|
|
282
|
+
interface ExtraCreateOptionProps$1 {
|
|
263
283
|
title: string;
|
|
264
284
|
icon: any;
|
|
265
285
|
onClick: () => void;
|
|
266
286
|
}
|
|
267
287
|
interface CreateGridAPIProps {
|
|
268
|
-
extraOptions?: ExtraCreateOptionProps[];
|
|
288
|
+
extraOptions?: ExtraCreateOptionProps$1[];
|
|
269
289
|
csv_upload?: {
|
|
270
290
|
enable: boolean;
|
|
271
|
-
extraOptions?: CSVMenuOptionProps[];
|
|
291
|
+
extraOptions?: CSVMenuOptionProps$1[];
|
|
272
292
|
};
|
|
273
293
|
navigationOptions?: NavigateOptions;
|
|
274
294
|
/**
|
|
@@ -291,6 +311,11 @@ interface BaseGridProps {
|
|
|
291
311
|
};
|
|
292
312
|
};
|
|
293
313
|
edit?: EditGridAPIProps;
|
|
314
|
+
/**
|
|
315
|
+
* Edit mode without any in-grid editing: just the toolbar toggle, for grids whose
|
|
316
|
+
* writing happens elsewhere (see `DrawerGrid_v2`). Ignored when `edit` is set.
|
|
317
|
+
*/
|
|
318
|
+
editToggle?: EditToggleGridAPIProps;
|
|
294
319
|
delete?: Pick<DeleteGridWrapperProps, "mutation">;
|
|
295
320
|
create?: CreateGridAPIProps;
|
|
296
321
|
};
|
|
@@ -303,6 +328,12 @@ interface BaseGridProps {
|
|
|
303
328
|
};
|
|
304
329
|
ref?: RefObject<any>;
|
|
305
330
|
}
|
|
331
|
+
/**
|
|
332
|
+
* @deprecated Use `ServerGrid_v2`. This grid is frozen: it still composes its wrappers by
|
|
333
|
+
* calling them as plain functions, so their hooks land in this component's hook list and a
|
|
334
|
+
* consumer that builds `api.edit`/`api.delete` conditionally will crash on the flip. v2 fixes
|
|
335
|
+
* that along with the toolbar defects, and its props are a drop-in superset of these.
|
|
336
|
+
*/
|
|
306
337
|
declare const Base: React__default.FC<BaseGridProps>;
|
|
307
338
|
|
|
308
339
|
interface ActiveCellProps {
|
|
@@ -336,9 +367,18 @@ interface ExportButtonProps {
|
|
|
336
367
|
filterModel: FiltersButtonProps["filters"]["filterModel"];
|
|
337
368
|
sortModel: GridSortModel;
|
|
338
369
|
rowSelectionModel: GridRowSelectionModel;
|
|
370
|
+
/**
|
|
371
|
+
* The grid's `api.data.args` — the scoping its query is actually made with. Threaded
|
|
372
|
+
* here so an export can't include rows the grid itself would never show.
|
|
373
|
+
*/
|
|
374
|
+
queryArgs?: {
|
|
375
|
+
filterModel?: FiltersButtonProps["filters"]["filterModel"];
|
|
376
|
+
} & {
|
|
377
|
+
[key: string]: any;
|
|
378
|
+
};
|
|
339
379
|
}
|
|
340
380
|
|
|
341
|
-
interface ExportCSVButtonProps extends Pick<ExportButtonProps, "filterModel" | "sortModel" | "rowSelectionModel"> {
|
|
381
|
+
interface ExportCSVButtonProps extends Pick<ExportButtonProps, "filterModel" | "sortModel" | "rowSelectionModel" | "queryArgs"> {
|
|
342
382
|
handleClick: () => void;
|
|
343
383
|
disabledWithoutSelection?: boolean;
|
|
344
384
|
ignore?: {
|
|
@@ -374,6 +414,11 @@ interface CustomToolbarProps extends GridToolbarProps, FiltersButtonProps, Selec
|
|
|
374
414
|
buttonProps?: any;
|
|
375
415
|
}[];
|
|
376
416
|
sortModel: GridSortModel;
|
|
417
|
+
/**
|
|
418
|
+
* The grid's `api.data.args`, forwarded to the export so a CSV carries the same scoping
|
|
419
|
+
* the grid queries with. Set by `Base`; consumers don't pass it.
|
|
420
|
+
*/
|
|
421
|
+
queryArgs?: ExportButtonProps["queryArgs"];
|
|
377
422
|
buttons: {
|
|
378
423
|
settings?: {
|
|
379
424
|
hide?: boolean;
|
|
@@ -604,18 +649,71 @@ interface FieldProps$1 {
|
|
|
604
649
|
readOnly?: boolean;
|
|
605
650
|
}
|
|
606
651
|
|
|
607
|
-
interface
|
|
652
|
+
interface MainDrawerV2Props {
|
|
608
653
|
open: boolean;
|
|
609
|
-
|
|
610
|
-
|
|
654
|
+
/** Cierra el panel. Se invoca desde el botón de cerrar, Escape y el backdrop. */
|
|
655
|
+
onClose: () => void;
|
|
656
|
+
/** Se muestra en la barra del encabezado, a la misma altura que las acciones. */
|
|
657
|
+
title?: ReactNode;
|
|
658
|
+
/** Línea secundaria bajo el título (opcional). El encabezado crece para alojarla. */
|
|
659
|
+
subtitle?: ReactNode;
|
|
611
660
|
children: ReactNode;
|
|
612
|
-
|
|
661
|
+
/**
|
|
662
|
+
* Ancho del panel para los anchors laterales (`"left"` / `"right"`); alto para
|
|
663
|
+
* `"top"` / `"bottom"`. El panel nunca excede el viewport. Por defecto `600`.
|
|
664
|
+
*/
|
|
613
665
|
width?: number | string;
|
|
666
|
+
/** Lado desde el que entra el panel. Por defecto `"right"`. */
|
|
667
|
+
anchor?: DrawerProps["anchor"];
|
|
668
|
+
/** Impide que un clic en el backdrop cierre el panel (formularios con cambios sin guardar). */
|
|
669
|
+
disableBackdropClose?: boolean;
|
|
670
|
+
/** Oculta el botón de cerrar integrado, para reemplazarlo desde `slots.headerActions`. */
|
|
671
|
+
hideCloseButton?: boolean;
|
|
672
|
+
/** Quita el padding interno del panel de contenido, para contenido a sangre. */
|
|
673
|
+
disableGutters?: boolean;
|
|
674
|
+
/** Color de fondo del panel de contenido. Por defecto `#f7f7f7`. */
|
|
675
|
+
pageBackgroundColor?: string;
|
|
676
|
+
/** Color del contorno: encabezado, pie y el marco alrededor del contenido. */
|
|
677
|
+
chromeBackgroundColor?: string;
|
|
678
|
+
/** Separación en px entre el contorno y el panel de contenido. `0` lo deja a ras. */
|
|
679
|
+
contentGap?: number;
|
|
680
|
+
/** Radio de las esquinas del panel de contenido. Por defecto `theme.shape.borderRadius`. */
|
|
681
|
+
contentBorderRadius?: number;
|
|
614
682
|
slots?: {
|
|
615
|
-
|
|
683
|
+
/** Acciones del encabezado, a la izquierda del botón de cerrar. */
|
|
684
|
+
headerActions?: ReactNode;
|
|
685
|
+
/** Pie fijo — no scrollea con el cuerpo. Pensado para guardar/cancelar. */
|
|
686
|
+
footer?: ReactNode;
|
|
687
|
+
};
|
|
688
|
+
slotProps?: {
|
|
689
|
+
drawer?: Partial<DrawerProps>;
|
|
690
|
+
/** Estilos del `Paper`; se aplican después de los propios, así que ganan. */
|
|
691
|
+
paper?: {
|
|
692
|
+
sx?: SxProps<Theme>;
|
|
693
|
+
};
|
|
694
|
+
header?: Partial<StackProps>;
|
|
695
|
+
body?: Partial<BoxProps>;
|
|
696
|
+
footer?: Partial<BoxProps>;
|
|
697
|
+
title?: Partial<TypographyProps>;
|
|
698
|
+
closeButton?: Partial<IconButtonProps>;
|
|
616
699
|
};
|
|
617
700
|
}
|
|
618
|
-
|
|
701
|
+
/**
|
|
702
|
+
* Panel lateral genérico: encabezado fijo con el título y las acciones en la misma línea,
|
|
703
|
+
* cuerpo scrolleable y pie opcional anclado abajo.
|
|
704
|
+
*
|
|
705
|
+
* Repite el formato del área de contenido de `MainLayout`: encabezado y pie del color del
|
|
706
|
+
* contorno, y el contenido flotando dentro como un panel redondeado separado del marco, de
|
|
707
|
+
* modo que quede un borde blanco a los lados.
|
|
708
|
+
*
|
|
709
|
+
* Frente a `MainDrawer` (v1): el título y los botones comparten una barra alineada al centro
|
|
710
|
+
* en lugar de apilarse a alturas distintas; el encabezado y el pie no scrollean con el
|
|
711
|
+
* contenido (el botón de cerrar siempre queda a la vista); el redondeo sale de
|
|
712
|
+
* `theme.shape.borderRadius` y sigue al `anchor`; y el `sx` que llega por `slotProps` se
|
|
713
|
+
* concatena en vez de reemplazar el propio. No depende de `@toolpad/core`, así que sirve
|
|
714
|
+
* fuera de un layout de Toolpad.
|
|
715
|
+
*/
|
|
716
|
+
declare function MainDrawer$1({ open, onClose, title, subtitle, children, width, anchor, disableBackdropClose, hideCloseButton, disableGutters, pageBackgroundColor, chromeBackgroundColor, contentGap, contentBorderRadius, slots, slotProps, }: MainDrawerV2Props): react_jsx_runtime.JSX.Element;
|
|
619
717
|
|
|
620
718
|
declare module "@mui/x-data-grid" {
|
|
621
719
|
interface ToolbarPropsOverrides {
|
|
@@ -635,7 +733,11 @@ interface ArrayFieldProps {
|
|
|
635
733
|
parser?: JSONParserProps;
|
|
636
734
|
fields: FieldProps$1[];
|
|
637
735
|
slotProps?: {
|
|
638
|
-
|
|
736
|
+
/**
|
|
737
|
+
* Se aplica sobre el panel de edición. `open` y `onClose` los gobierna este
|
|
738
|
+
* componente; el resto (`title`, `width`, `anchor`, ...) se puede sobreescribir.
|
|
739
|
+
*/
|
|
740
|
+
drawer?: Partial<MainDrawerV2Props>;
|
|
639
741
|
};
|
|
640
742
|
}
|
|
641
743
|
|
|
@@ -930,6 +1032,25 @@ interface ObjectProgressStackProps {
|
|
|
930
1032
|
}
|
|
931
1033
|
declare const ObjectProgressStack: React__default.FC<ObjectProgressStackProps>;
|
|
932
1034
|
|
|
1035
|
+
interface MainDrawerProps {
|
|
1036
|
+
open: boolean;
|
|
1037
|
+
drawerToggle: () => void;
|
|
1038
|
+
title: string;
|
|
1039
|
+
children: ReactNode;
|
|
1040
|
+
drawerProps?: DrawerProps;
|
|
1041
|
+
width?: number | string;
|
|
1042
|
+
slots?: {
|
|
1043
|
+
button?: ReactNode;
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
/**
|
|
1047
|
+
* @deprecated Usa `MainDrawer_v2` (`@v2/drawers`). Ya no queda ningún consumidor dentro de
|
|
1048
|
+
* la librería; se mantiene exportado sólo para los proyectos que lo importan directamente.
|
|
1049
|
+
* En v2 el título y las acciones comparten una barra, el encabezado y el pie no scrollean
|
|
1050
|
+
* con el contenido, y `drawerToggle` pasa a llamarse `onClose`.
|
|
1051
|
+
*/
|
|
1052
|
+
declare const MainDrawer: React__default.FC<MainDrawerProps>;
|
|
1053
|
+
|
|
933
1054
|
interface _HistorialDrawerProps {
|
|
934
1055
|
open: boolean;
|
|
935
1056
|
handleDrawer: () => void;
|
|
@@ -1027,6 +1148,343 @@ interface PollingCountdownChipProps {
|
|
|
1027
1148
|
* fetch reinicia el conteo; opcionalmente refresca al hacer clic. */
|
|
1028
1149
|
declare function PollingCountdownChip({ pollingInterval, isFetching, onRefresh, }: PollingCountdownChipProps): react_jsx_runtime.JSX.Element;
|
|
1029
1150
|
|
|
1151
|
+
/**
|
|
1152
|
+
* What the grid hands its RTK lazy query — the corrected `GridArgs`.
|
|
1153
|
+
*
|
|
1154
|
+
* v1 typed `filterModel` as MUI's `GridFilterModel` (`items: GridFilterItem[]`), a shape the
|
|
1155
|
+
* grid has never sent; it actually sends `MyGridFilterModel`, whose `items` is a plain
|
|
1156
|
+
* key/value bag. Endpoints typed against the v1 type were describing something that never
|
|
1157
|
+
* arrived. The index signature is real too: `api.data.args` may add arbitrary keys (several
|
|
1158
|
+
* endpoints read an `endpoint` or `tipo` off it).
|
|
1159
|
+
*/
|
|
1160
|
+
interface ServerGridArgs {
|
|
1161
|
+
page?: number;
|
|
1162
|
+
pageSize?: number;
|
|
1163
|
+
sortModel: GridSortModel;
|
|
1164
|
+
filterModel: MyGridFilterModel;
|
|
1165
|
+
ignoreSort?: boolean;
|
|
1166
|
+
[key: string]: any;
|
|
1167
|
+
}
|
|
1168
|
+
interface ServerGridDataApi {
|
|
1169
|
+
/** RTK Query lazy hook, e.g. `useLazyGetConceptosQuery`. */
|
|
1170
|
+
query: any;
|
|
1171
|
+
/** Extra query args, deep-merged over the grid's own. Deep-compared, so literals are safe. */
|
|
1172
|
+
args?: any;
|
|
1173
|
+
/** Filter keys the user may not clear from the filters panel. */
|
|
1174
|
+
protectFilters?: string[];
|
|
1175
|
+
/** Passed straight to the lazy hook (`{ pollingInterval }`, …). Also deep-compared. */
|
|
1176
|
+
options?: {
|
|
1177
|
+
[key: string]: any;
|
|
1178
|
+
};
|
|
1179
|
+
}
|
|
1180
|
+
/** In-grid row editing: an actions column, `editMode: "row"`, and optional drag & drop. */
|
|
1181
|
+
interface ServerGridEditApi {
|
|
1182
|
+
mutation: any;
|
|
1183
|
+
disabled?: boolean;
|
|
1184
|
+
columns: (props?: EditGridColumnsProps) => GridColDefPropsOverrides[];
|
|
1185
|
+
options?: {
|
|
1186
|
+
[key: string]: unknown[] | undefined;
|
|
1187
|
+
};
|
|
1188
|
+
parser?: JSONParserProps;
|
|
1189
|
+
dnd?: {
|
|
1190
|
+
field: string;
|
|
1191
|
+
args?: {
|
|
1192
|
+
[key: string]: any;
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
postAction?: (result: any) => void;
|
|
1196
|
+
}
|
|
1197
|
+
/**
|
|
1198
|
+
* Edit mode without any in-grid editing: just the toolbar toggle, for grids whose writing
|
|
1199
|
+
* happens elsewhere (see `DrawerGrid_v2`). Ignored when `edit` is set.
|
|
1200
|
+
*/
|
|
1201
|
+
interface ServerGridEditToggleApi {
|
|
1202
|
+
/** Hides the button and its shortcuts without touching permissions. */
|
|
1203
|
+
disabled?: boolean;
|
|
1204
|
+
/** Notified whenever the toggle flips. */
|
|
1205
|
+
onEditModeChange?: (edit: boolean) => void;
|
|
1206
|
+
}
|
|
1207
|
+
interface ServerGridDeleteApi {
|
|
1208
|
+
mutation: any;
|
|
1209
|
+
}
|
|
1210
|
+
interface CSVMenuOptionProps {
|
|
1211
|
+
endpoint: string;
|
|
1212
|
+
title?: string;
|
|
1213
|
+
custom?: string;
|
|
1214
|
+
icon?: any;
|
|
1215
|
+
}
|
|
1216
|
+
interface ExtraCreateOptionProps {
|
|
1217
|
+
title: string;
|
|
1218
|
+
icon: any;
|
|
1219
|
+
onClick: () => void;
|
|
1220
|
+
}
|
|
1221
|
+
interface ServerGridCreateApi {
|
|
1222
|
+
extraOptions?: ExtraCreateOptionProps[];
|
|
1223
|
+
csv_upload?: {
|
|
1224
|
+
enable: boolean;
|
|
1225
|
+
extraOptions?: CSVMenuOptionProps[];
|
|
1226
|
+
};
|
|
1227
|
+
navigationOptions?: NavigateOptions;
|
|
1228
|
+
/**
|
|
1229
|
+
* Overrides the "Manual" option's default behavior (routing to the create page). When
|
|
1230
|
+
* provided, the option runs this callback instead of navigating — e.g. to open a drawer.
|
|
1231
|
+
*/
|
|
1232
|
+
onManualCreate?: () => void;
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
* A drop-in superset of v1's `BaseGridProps`: every key means the same thing, so migrating a
|
|
1236
|
+
* page is `<Base` → `<ServerGrid_v2` plus deleting whatever workarounds it carried.
|
|
1237
|
+
*/
|
|
1238
|
+
interface ServerGridProps {
|
|
1239
|
+
/** Route the rows navigate into, and the default persistence key. */
|
|
1240
|
+
pathname: string;
|
|
1241
|
+
dataGridProps: Partial<MyDataGridProps>;
|
|
1242
|
+
api: {
|
|
1243
|
+
data: ServerGridDataApi;
|
|
1244
|
+
edit?: ServerGridEditApi;
|
|
1245
|
+
editToggle?: ServerGridEditToggleApi;
|
|
1246
|
+
delete?: ServerGridDeleteApi;
|
|
1247
|
+
create?: ServerGridCreateApi;
|
|
1248
|
+
};
|
|
1249
|
+
slotProps?: {
|
|
1250
|
+
/** Row/create navigation base, when it differs from `pathname`. */
|
|
1251
|
+
navigation?: string;
|
|
1252
|
+
/** Disambiguates several grids sharing one `pathname`. Part of the storage key. */
|
|
1253
|
+
tab?: string;
|
|
1254
|
+
/** Scopes the filter panel's option lookups to the current detail record. */
|
|
1255
|
+
columnsFilter?: string;
|
|
1256
|
+
/** Skip session persistence entirely. */
|
|
1257
|
+
dontSaveState?: boolean;
|
|
1258
|
+
/**
|
|
1259
|
+
* Overrides the whole persistence key. Use when `pathname` + `tab` can't make two
|
|
1260
|
+
* grids on one route distinct — otherwise they silently share saved state.
|
|
1261
|
+
*/
|
|
1262
|
+
storageKey?: string;
|
|
1263
|
+
};
|
|
1264
|
+
ref?: RefObject<ServerGridHandle | null>;
|
|
1265
|
+
}
|
|
1266
|
+
interface ServerGridSnapshot {
|
|
1267
|
+
paginationModel: GridPaginationModel;
|
|
1268
|
+
sortModel: GridSortModel;
|
|
1269
|
+
filterModel: MyGridFilterModel;
|
|
1270
|
+
columnVisibilityModel: GridColumnVisibilityModel;
|
|
1271
|
+
rowSelectionModel: GridRowSelectionModel;
|
|
1272
|
+
rowCount: number;
|
|
1273
|
+
}
|
|
1274
|
+
/** Emitted whenever a page of rows lands. */
|
|
1275
|
+
interface RowsSnapshot {
|
|
1276
|
+
page: number;
|
|
1277
|
+
rowIds: GridRowId[];
|
|
1278
|
+
}
|
|
1279
|
+
interface ServerGridHandle {
|
|
1280
|
+
/**
|
|
1281
|
+
* The raw MUI api. Escape hatch — prefer the typed members below, which read the grid's
|
|
1282
|
+
* own state rather than MUI internals.
|
|
1283
|
+
*/
|
|
1284
|
+
getApi(): GridApi | null;
|
|
1285
|
+
setFilterModel(model: SetStateAction<MyGridFilterModel>): void;
|
|
1286
|
+
refetch(): void;
|
|
1287
|
+
getState(): ServerGridSnapshot;
|
|
1288
|
+
setPage(page: number): void;
|
|
1289
|
+
setPageSize(pageSize: number): void;
|
|
1290
|
+
setSortModel(model: GridSortModel): void;
|
|
1291
|
+
/** Row ids in displayed order. Under server pagination that's the current page. */
|
|
1292
|
+
getRowIds(): GridRowId[];
|
|
1293
|
+
/**
|
|
1294
|
+
* Fires once per page of rows actually landing. Narrower than MUI's `rowsSet`, which
|
|
1295
|
+
* also fires on selection changes and other unrelated state writes.
|
|
1296
|
+
*/
|
|
1297
|
+
subscribeRows(callback: (snapshot: RowsSnapshot) => void): () => void;
|
|
1298
|
+
}
|
|
1299
|
+
type GridLayerId = "delete" | "edit" | "editToggle" | "create";
|
|
1300
|
+
/**
|
|
1301
|
+
* What a layer contributes to the grid. Layers nest so they can own their portals, but
|
|
1302
|
+
* nothing here depends on that nesting — everything is applied in `LAYER_ORDER`.
|
|
1303
|
+
*/
|
|
1304
|
+
interface GridLayerContribution {
|
|
1305
|
+
/** Inserted before the consumer's columns, in `LAYER_ORDER`. */
|
|
1306
|
+
prependColumns?: GridColDefPropsOverrides[];
|
|
1307
|
+
/** Appended after the consumer's columns, in `LAYER_ORDER`. */
|
|
1308
|
+
appendColumns?: GridColDefPropsOverrides[];
|
|
1309
|
+
/** Appended after the consumer's own toolbar buttons, in `LAYER_ORDER`. */
|
|
1310
|
+
toolbarButtons?: NonNullable<CustomToolbarProps["extraButtons"]>;
|
|
1311
|
+
/** Suggested props. The consumer's `dataGridProps` still wins. */
|
|
1312
|
+
defaults?: Partial<MyDataGridProps>;
|
|
1313
|
+
/**
|
|
1314
|
+
* Props that beat the consumer.
|
|
1315
|
+
*
|
|
1316
|
+
* Only ever populate these while the layer's transient mode is active. A layer that
|
|
1317
|
+
* publishes its mode-*off* value here overrides grids that deliberately opted out — a
|
|
1318
|
+
* grid passing `checkboxSelection: false` would get checkboxes back the moment delete
|
|
1319
|
+
* mode was idle.
|
|
1320
|
+
*/
|
|
1321
|
+
overrides?: Partial<MyDataGridProps>;
|
|
1322
|
+
/** Extra flags folded into the grid's `loading` disjunction. */
|
|
1323
|
+
loadingParams?: unknown[];
|
|
1324
|
+
}
|
|
1325
|
+
type GridLayerMap = Partial<Record<GridLayerId, GridLayerContribution>>;
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* Server-mode DataGrid: pagination, sorting and filtering all resolved by the backend, with
|
|
1329
|
+
* optional create / edit / delete modes layered on top.
|
|
1330
|
+
*
|
|
1331
|
+
* The optional modes are real components wrapping the grid, so each one's hooks belong to it
|
|
1332
|
+
* rather than to this component. That is the difference from v1, where the wrappers were
|
|
1333
|
+
* called as plain functions and their hooks landed in the grid's own hook list — a page that
|
|
1334
|
+
* built `api.edit` conditionally would then change React's hook order and crash.
|
|
1335
|
+
*/
|
|
1336
|
+
declare function ServerGrid(props: ServerGridProps): react_jsx_runtime.JSX.Element;
|
|
1337
|
+
|
|
1338
|
+
interface UseServerGridOptions {
|
|
1339
|
+
/** Where this grid's state is remembered. Fixed for the lifetime of the mount. */
|
|
1340
|
+
storageKey: string;
|
|
1341
|
+
dontSaveState?: boolean;
|
|
1342
|
+
/** RTK Query lazy hook, e.g. `useLazyGetConceptosQuery`. */
|
|
1343
|
+
query: any;
|
|
1344
|
+
/** Extra query args, deep-compared — object literals are safe. */
|
|
1345
|
+
args?: any;
|
|
1346
|
+
/** Passed to the lazy hook (`{ pollingInterval }`, …). Also deep-compared. */
|
|
1347
|
+
queryOptions?: {
|
|
1348
|
+
[key: string]: any;
|
|
1349
|
+
};
|
|
1350
|
+
initialState?: MyDataGridProps["initialState"];
|
|
1351
|
+
columns?: readonly GridColDef[];
|
|
1352
|
+
}
|
|
1353
|
+
interface ServerGridPermissions {
|
|
1354
|
+
create?: boolean;
|
|
1355
|
+
edit?: boolean;
|
|
1356
|
+
delete?: boolean;
|
|
1357
|
+
}
|
|
1358
|
+
interface ServerGridState {
|
|
1359
|
+
apiRef: ReturnType<typeof useGridApiRef>;
|
|
1360
|
+
rows: readonly any[];
|
|
1361
|
+
rowCount: number;
|
|
1362
|
+
permissions: ServerGridPermissions;
|
|
1363
|
+
isLoading: boolean;
|
|
1364
|
+
isFetching: boolean;
|
|
1365
|
+
isError: boolean;
|
|
1366
|
+
paginationModel: GridPaginationModel;
|
|
1367
|
+
setPaginationModel: Dispatch<SetStateAction<GridPaginationModel>>;
|
|
1368
|
+
sortModel: GridSortModel;
|
|
1369
|
+
setSortModel: Dispatch<SetStateAction<GridSortModel>>;
|
|
1370
|
+
filterModel: MyGridFilterModel;
|
|
1371
|
+
setFilterModel: Dispatch<SetStateAction<MyGridFilterModel>>;
|
|
1372
|
+
columnVisibilityModel: GridColumnVisibilityModel;
|
|
1373
|
+
setColumnVisibilityModel: Dispatch<SetStateAction<GridColumnVisibilityModel>>;
|
|
1374
|
+
rowSelectionModel: GridRowSelectionModel;
|
|
1375
|
+
setRowSelectionModel: Dispatch<SetStateAction<GridRowSelectionModel>>;
|
|
1376
|
+
/** Debounced quick-search setter. Cancelled on unmount. */
|
|
1377
|
+
setQuickSearchValue: DebouncedFunc<(value: string) => void>;
|
|
1378
|
+
/** Toolbar collapse, hoisted here so shortcuts can reopen a collapsed toolbar. */
|
|
1379
|
+
toolbarExpanded: boolean;
|
|
1380
|
+
setToolbarExpanded: Dispatch<SetStateAction<boolean>>;
|
|
1381
|
+
/** Exactly what was last sent to the server. Also feeds the CSV export. */
|
|
1382
|
+
args: ServerGridArgs;
|
|
1383
|
+
refetch: () => void;
|
|
1384
|
+
subscribeRows: (callback: (snapshot: RowsSnapshot) => void) => () => void;
|
|
1385
|
+
}
|
|
1386
|
+
/**
|
|
1387
|
+
* Everything a server-mode grid needs to hold: the models the user drives, the persisted
|
|
1388
|
+
* state they start from, and the lazy query that keeps rows in step with them. Renders
|
|
1389
|
+
* nothing — `ServerGrid` supplies it through context, and pages that need a shape the grid
|
|
1390
|
+
* doesn't offer can drive their own `DataGrid` from it.
|
|
1391
|
+
*/
|
|
1392
|
+
declare function useServerGrid(options: UseServerGridOptions): ServerGridState;
|
|
1393
|
+
|
|
1394
|
+
interface ComposeGridPropsInput {
|
|
1395
|
+
/** The grid's own baseline — slots, locale, density. */
|
|
1396
|
+
defaults: Partial<MyDataGridProps>;
|
|
1397
|
+
layers: GridLayerMap;
|
|
1398
|
+
/** `props.dataGridProps`, straight from the page. */
|
|
1399
|
+
consumer?: Partial<MyDataGridProps>;
|
|
1400
|
+
}
|
|
1401
|
+
/**
|
|
1402
|
+
* Flattens the grid defaults, every mounted layer and the consumer's own props into one
|
|
1403
|
+
* `DataGrid` prop object.
|
|
1404
|
+
*
|
|
1405
|
+
* Precedence, low to high:
|
|
1406
|
+
* 1. grid defaults
|
|
1407
|
+
* 2. layer `defaults`, in `LAYER_ORDER`
|
|
1408
|
+
* 3. the consumer's `dataGridProps`
|
|
1409
|
+
* 4. layer `overrides`, in `LAYER_ORDER`
|
|
1410
|
+
*
|
|
1411
|
+
* Tier 4 sits above the consumer on purpose — a layer must be able to force the grid into a
|
|
1412
|
+
* coherent state while its mode is on (no checkboxes and no row navigation while rows are
|
|
1413
|
+
* being deleted). It is only ever allowed to publish mode-*on* values there; see
|
|
1414
|
+
* `GridLayerContribution.overrides`.
|
|
1415
|
+
*/
|
|
1416
|
+
declare function composeGridProps({ defaults, layers, consumer, }: ComposeGridPropsInput): Partial<MyDataGridProps>;
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
* Columns the user is allowed to hide.
|
|
1420
|
+
*
|
|
1421
|
+
* v1 excluded `"actions"` by *field*, but that is a column **type** — the real action columns
|
|
1422
|
+
* are `edit` and `delete`, so both showed up in the columns panel and could be hidden (and
|
|
1423
|
+
* persisted hidden) out from under the layer that owns them. Matched on both here.
|
|
1424
|
+
*/
|
|
1425
|
+
declare const togglableFields: (columns?: readonly GridColDef[]) => string[];
|
|
1426
|
+
interface ResolvedGridState {
|
|
1427
|
+
paginationModel: GridPaginationModel;
|
|
1428
|
+
sortModel: GridSortModel;
|
|
1429
|
+
filterModel: MyGridFilterModel;
|
|
1430
|
+
columnVisibilityModel: GridColumnVisibilityModel;
|
|
1431
|
+
}
|
|
1432
|
+
interface ResolveInitialStateInput {
|
|
1433
|
+
storageKey: string;
|
|
1434
|
+
/** `slotProps.dontSaveState` — skip the session store entirely. */
|
|
1435
|
+
disabled?: boolean;
|
|
1436
|
+
initialState?: MyDataGridProps["initialState"];
|
|
1437
|
+
columns?: readonly GridColDef[];
|
|
1438
|
+
}
|
|
1439
|
+
/**
|
|
1440
|
+
* Works out the state a grid starts in, from what the session remembers and what the page
|
|
1441
|
+
* declared. The only place that precedence lives.
|
|
1442
|
+
*
|
|
1443
|
+
* Pagination, sorting and column visibility prefer the **session**: those are the user's own
|
|
1444
|
+
* choices and should survive navigating away and back.
|
|
1445
|
+
*
|
|
1446
|
+
* Filters are the exception — the page's `initialState.filters` wins, key by key. Those
|
|
1447
|
+
* express scoping ("this embarque's recibos"), not preference, and in v1 the session beat
|
|
1448
|
+
* them outright, so a grid opened on record B kept showing record A's rows for the rest of
|
|
1449
|
+
* the session. Pages worked around it by repeating the same filter in `api.data.args`; they
|
|
1450
|
+
* no longer have to. A user-set filter on any *other* key still survives.
|
|
1451
|
+
*/
|
|
1452
|
+
declare function resolveInitialState({ storageKey, disabled, initialState, columns, }: ResolveInitialStateInput): ResolvedGridState;
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* Page sizes offered by the grid and by the pagination slot. One list: in v1 the grid and
|
|
1456
|
+
* `CustomPagination` each declared their own copy and had to be kept in sync by hand.
|
|
1457
|
+
*
|
|
1458
|
+
* `-1` is "Todos" — the backends read that literal and return the whole result set with
|
|
1459
|
+
* `next`/`previous` null but a correct `count`.
|
|
1460
|
+
*/
|
|
1461
|
+
declare const PAGE_SIZE_OPTIONS: (number | {
|
|
1462
|
+
value: number;
|
|
1463
|
+
label: string;
|
|
1464
|
+
})[];
|
|
1465
|
+
declare const DEFAULT_PAGINATION: GridPaginationModel;
|
|
1466
|
+
/**
|
|
1467
|
+
* The order layer contributions are applied in — columns, toolbar buttons and prop overrides
|
|
1468
|
+
* alike. Declared here so it never depends on how the layers happen to nest, which is what
|
|
1469
|
+
* made the delete column's position accidental in v1.
|
|
1470
|
+
*/
|
|
1471
|
+
declare const LAYER_ORDER: readonly GridLayerId[];
|
|
1472
|
+
|
|
1473
|
+
interface DeleteGridColumnsProps {
|
|
1474
|
+
displayDelete?: boolean;
|
|
1475
|
+
handleOpen: (id: GridRowId) => () => void;
|
|
1476
|
+
}
|
|
1477
|
+
/**
|
|
1478
|
+
* The per-row delete action, shown only while delete mode is on.
|
|
1479
|
+
*
|
|
1480
|
+
* v1 left `type` off, so the column defaulted to `string`: sortable by a user, and offered in
|
|
1481
|
+
* the filters panel as an "Eliminar" text filter that meant nothing. Declaring `type: "actions"`
|
|
1482
|
+
* fixes both — but it has to come with `getActions` rather than `renderCell`, because an
|
|
1483
|
+
* explicit `renderCell` beats the actions type's own cell and takes its keyboard handling and
|
|
1484
|
+
* overflow menu with it.
|
|
1485
|
+
*/
|
|
1486
|
+
declare const deleteColumn: (props: DeleteGridColumnsProps) => GridColDefPropsOverrides[];
|
|
1487
|
+
|
|
1030
1488
|
/**
|
|
1031
1489
|
* Datos que recibe el renderizado de detalle de un input. Es un subconjunto de
|
|
1032
1490
|
* `FieldProps` (los campos que necesita la vista de solo lectura), más un
|
|
@@ -1258,7 +1716,7 @@ interface DetailFormConfig {
|
|
|
1258
1716
|
[k: string]: any;
|
|
1259
1717
|
};
|
|
1260
1718
|
};
|
|
1261
|
-
sections: (form: any) => SectionProps[];
|
|
1719
|
+
sections: (form: any, pageType: PageType) => SectionProps[];
|
|
1262
1720
|
pageType: PageType;
|
|
1263
1721
|
/** dot-path prefix where `obj_permissions` live inside the fetched record. */
|
|
1264
1722
|
permissionsPath?: string;
|
|
@@ -1294,7 +1752,7 @@ interface DetailFormController {
|
|
|
1294
1752
|
/** Node emitted by a successful mutation's `post_action`, or `null`. */
|
|
1295
1753
|
postActionNode: ReactNode;
|
|
1296
1754
|
/** Passthroughs consumed by `<DetailForm/>`. */
|
|
1297
|
-
sections: (form: any) => SectionProps[];
|
|
1755
|
+
sections: (form: any, pageType: PageType) => SectionProps[];
|
|
1298
1756
|
pageType: PageType;
|
|
1299
1757
|
}
|
|
1300
1758
|
/**
|
|
@@ -1329,7 +1787,11 @@ interface DrawerGridDrawerConfig {
|
|
|
1329
1787
|
/** Single-record query hook, called with `{ id, ...args(id) }`. */
|
|
1330
1788
|
query: any;
|
|
1331
1789
|
mutation: any;
|
|
1332
|
-
/**
|
|
1790
|
+
/**
|
|
1791
|
+
* Defaults to `"detail"` (read-only), matching a row-click. Use `"edit"` for an always
|
|
1792
|
+
* editable drawer — a `"detail"` drawer already opens editing while the grid itself is
|
|
1793
|
+
* in edit mode.
|
|
1794
|
+
*/
|
|
1333
1795
|
pageType?: PageType;
|
|
1334
1796
|
successMessage?: string | ((response: any) => string);
|
|
1335
1797
|
/** Extra query args merged with `{ id }`. */
|
|
@@ -1341,30 +1803,69 @@ interface DrawerGridDrawerConfig {
|
|
|
1341
1803
|
};
|
|
1342
1804
|
/** Runs after any successful create/edit (e.g. side effects; the grid refetches via RTK tag invalidation). */
|
|
1343
1805
|
onSaved?: (response: any) => void;
|
|
1344
|
-
/**
|
|
1806
|
+
/**
|
|
1807
|
+
* Whether these records have a full page of their own. Defaults to `true`.
|
|
1808
|
+
*
|
|
1809
|
+
* Set it to `false` for rows that exist only inside their parent and have no route —
|
|
1810
|
+
* it drops the drawer header's "open full page" button *and* the Ctrl/Alt+click
|
|
1811
|
+
* shortcuts, which would otherwise navigate to a route that isn't registered.
|
|
1812
|
+
*/
|
|
1345
1813
|
showOpenFullPage?: boolean;
|
|
1814
|
+
/**
|
|
1815
|
+
* Show the footer navigator that walks the grid's rows — prev/next arrows plus the
|
|
1816
|
+
* record's position — in the record drawer. Defaults to `true`.
|
|
1817
|
+
*/
|
|
1818
|
+
showNavigator?: boolean;
|
|
1346
1819
|
labels?: {
|
|
1347
1820
|
save?: string;
|
|
1348
1821
|
cancel?: string;
|
|
1349
1822
|
};
|
|
1350
1823
|
}
|
|
1824
|
+
interface DrawerGridEditConfig {
|
|
1825
|
+
/** Hides the toggle (and its shortcuts) without touching permissions. */
|
|
1826
|
+
disabled?: boolean;
|
|
1827
|
+
}
|
|
1351
1828
|
interface DrawerGridProps {
|
|
1352
|
-
/**
|
|
1353
|
-
|
|
1829
|
+
/**
|
|
1830
|
+
* Full `ServerGrid_v2` configuration (pathname, api, dataGridProps, slotProps, ref), with
|
|
1831
|
+
* one twist: `api.edit` here is the drawer's edit *mode* — a toolbar toggle that makes a
|
|
1832
|
+
* row click open the drawer already editing — not in-grid row editing. It takes no
|
|
1833
|
+
* mutation and no columns, because everything that writes goes through the drawer form.
|
|
1834
|
+
*/
|
|
1835
|
+
grid: Omit<ServerGridProps, "api" | "ref"> & {
|
|
1836
|
+
api: Omit<ServerGridProps["api"], "edit" | "editToggle"> & {
|
|
1837
|
+
edit?: DrawerGridEditConfig;
|
|
1838
|
+
};
|
|
1839
|
+
ref?: RefObject<any>;
|
|
1840
|
+
};
|
|
1354
1841
|
drawer: DrawerGridDrawerConfig;
|
|
1355
1842
|
}
|
|
1356
1843
|
/**
|
|
1357
|
-
* A
|
|
1844
|
+
* A `ServerGrid_v2` whose rows and create button open a `DetailFormDrawer_v2` instead of
|
|
1358
1845
|
* navigating to a full page — without giving up the full-page routes. A row click and the
|
|
1359
1846
|
* create menu's "Manual" option both open the drawer; Ctrl/Cmd+click still opens the full
|
|
1360
|
-
* page in a new tab,
|
|
1361
|
-
* routes stay reachable either way.
|
|
1847
|
+
* page in a new tab, Alt+click opens it in the same tab, and the record drawer carries an
|
|
1848
|
+
* "open full page" button — so the routes stay reachable either way. Grids whose rows have
|
|
1849
|
+
* no route of their own turn all three off with `drawer.showOpenFullPage: false`.
|
|
1850
|
+
*
|
|
1851
|
+
* A record drawer also carries a footer navigator: arrows (and Alt+↑ / Alt+↓) that walk the
|
|
1852
|
+
* grid's rows in their displayed order, position counter included, so reviewing a list no
|
|
1853
|
+
* longer means closing the drawer and clicking the next row. Stepping off either end of the
|
|
1854
|
+
* page turns the grid's own page instead of stopping, so the walk covers every row behind
|
|
1855
|
+
* the current filters — not just the ones on screen. Turn it off with
|
|
1856
|
+
* `drawer.showNavigator: false`.
|
|
1362
1857
|
*
|
|
1363
|
-
*
|
|
1858
|
+
* Edit mode is opt-in with `api.edit: {}` and adds nothing to the grid but a toolbar toggle —
|
|
1859
|
+
* no mutation, no actions column, no in-grid editing. While it's on, a row click opens the
|
|
1860
|
+
* record drawer already editing, provided the record allows it; the drawer form is the only
|
|
1861
|
+
* thing that writes.
|
|
1862
|
+
*
|
|
1863
|
+
* The full grid config goes under `grid` (`{ pathname, api, dataGridProps, slotProps }`),
|
|
1364
1864
|
* alongside `drawer`.
|
|
1365
1865
|
*
|
|
1366
|
-
* Composition only: the
|
|
1367
|
-
* are generic passthroughs),
|
|
1866
|
+
* Composition only: the grid stays drawer-agnostic (its `onRowClick`, `onManualCreate` and
|
|
1867
|
+
* `onEditModeChange` are generic passthroughs), and the navigator reaches it through the
|
|
1868
|
+
* public `ServerGridHandle` rather than MUI's internal state.
|
|
1368
1869
|
*/
|
|
1369
1870
|
declare function DrawerGrid({ grid, drawer }: DrawerGridProps): react_jsx_runtime.JSX.Element;
|
|
1370
1871
|
|
|
@@ -1476,6 +1977,20 @@ interface DetailFormDialogProps {
|
|
|
1476
1977
|
*/
|
|
1477
1978
|
declare function DetailFormDialog({ open, onClose, title, api, form, sections, pageType, permissionsPath, onSuccess, labels, slotProps, }: DetailFormDialogProps): react_jsx_runtime.JSX.Element;
|
|
1478
1979
|
|
|
1980
|
+
interface DetailFormDrawerNavigation {
|
|
1981
|
+
/** Open the previous record of the list the drawer is walking. */
|
|
1982
|
+
onPrev: () => void;
|
|
1983
|
+
onNext: () => void;
|
|
1984
|
+
/** Whether a previous/next record exists. The arrows are disabled when it doesn't. */
|
|
1985
|
+
hasPrev: boolean;
|
|
1986
|
+
hasNext: boolean;
|
|
1987
|
+
/** 1-based position of the current record, shown between the arrows. */
|
|
1988
|
+
position?: number;
|
|
1989
|
+
/** Size of the list; shown as `position / count`. */
|
|
1990
|
+
count?: number;
|
|
1991
|
+
/** Blocks both arrows for a caller-side reason (e.g. while the next batch loads). */
|
|
1992
|
+
disabled?: boolean;
|
|
1993
|
+
}
|
|
1479
1994
|
interface DetailFormDrawerProps {
|
|
1480
1995
|
open: boolean;
|
|
1481
1996
|
/** Close the drawer. Also invoked after a successful save and on cancel. */
|
|
@@ -1486,9 +2001,26 @@ interface DetailFormDrawerProps {
|
|
|
1486
2001
|
sections: DetailFormConfig["sections"];
|
|
1487
2002
|
/** Defaults to `"create"`. */
|
|
1488
2003
|
pageType?: PageType;
|
|
2004
|
+
/**
|
|
2005
|
+
* Open a `"detail"` drawer straight in edit mode, as if the user had hit the Editar
|
|
2006
|
+
* button. Ignored for the other page types, and for records the user may not edit.
|
|
2007
|
+
*/
|
|
2008
|
+
startInEdit?: boolean;
|
|
2009
|
+
/**
|
|
2010
|
+
* Identity of the record on show. Swapping it (as the navigator does, without remounting
|
|
2011
|
+
* the drawer) re-derives the per-record chrome — the in-place edit toggle drops back to
|
|
2012
|
+
* read-only and `startInEdit` is re-applied against the new record's own permissions.
|
|
2013
|
+
*/
|
|
2014
|
+
recordKey?: string | number;
|
|
1489
2015
|
permissionsPath?: string;
|
|
1490
2016
|
/** Runs after a successful mutation, before the drawer closes. Receives the response. */
|
|
1491
2017
|
onSuccess?: (response: any) => void;
|
|
2018
|
+
/**
|
|
2019
|
+
* Footer record navigator: prev/next arrows (Alt+↑ / Alt+↓) that step through a list of
|
|
2020
|
+
* sibling records — e.g. the rows of the grid the drawer was opened from — without
|
|
2021
|
+
* closing the drawer. Omit it and no navigator renders.
|
|
2022
|
+
*/
|
|
2023
|
+
navigation?: DetailFormDrawerNavigation;
|
|
1492
2024
|
/** Panel width. Defaults to `480`. */
|
|
1493
2025
|
width?: number | string;
|
|
1494
2026
|
/** Side the drawer slides in from. Defaults to `"right"`. */
|
|
@@ -1509,11 +2041,13 @@ interface DetailFormDrawerProps {
|
|
|
1509
2041
|
}
|
|
1510
2042
|
/**
|
|
1511
2043
|
* A record form inside a side drawer. Reuses the same `useDetailForm` engine and
|
|
1512
|
-
* `DetailForm` body as `DetailPage_v2
|
|
1513
|
-
*
|
|
1514
|
-
* the
|
|
2044
|
+
* `DetailForm` body as `DetailPage_v2`, and `MainDrawer_v2` for the chrome — so it frames
|
|
2045
|
+
* the form exactly like every other v2 drawer. What it adds on top is the per-record
|
|
2046
|
+
* furniture: edit/delete in the header, and a footer holding the form actions and, when
|
|
2047
|
+
* `navigation` is given, a prev/next record navigator. The save button sits outside the
|
|
2048
|
+
* `<form>`, so it submits via the native `form={formId}` attribute.
|
|
1515
2049
|
*/
|
|
1516
|
-
declare function DetailFormDrawer({ open, onClose, title, api, form, sections, pageType, permissionsPath, onSuccess, width, anchor, labels, slots, slotProps, }: DetailFormDrawerProps): react_jsx_runtime.JSX.Element;
|
|
2050
|
+
declare function DetailFormDrawer({ open, onClose, title, api, form, sections, pageType, startInEdit, recordKey, permissionsPath, onSuccess, navigation, width, anchor, labels, slots, slotProps, }: DetailFormDrawerProps): react_jsx_runtime.JSX.Element;
|
|
1517
2051
|
|
|
1518
2052
|
/**
|
|
1519
2053
|
* Encabezado por defecto del `PageContainer`: resuelve título y breadcrumbs a
|
|
@@ -1548,6 +2082,9 @@ interface MainLayoutPageHeaderProps extends PageHeaderProps {
|
|
|
1548
2082
|
* `header` (leído por el `PageHeader` por defecto).
|
|
1549
2083
|
*
|
|
1550
2084
|
* Atajo Shift+F: alterna pantalla completa (oculta navegación y encabezados).
|
|
2085
|
+
*
|
|
2086
|
+
* El estado plegado/expandido del sidebar de escritorio se guarda en
|
|
2087
|
+
* `localStorage` y se restaura al recargar (ver `sidebarStorageKey`).
|
|
1551
2088
|
**/
|
|
1552
2089
|
interface MainLayoutProps {
|
|
1553
2090
|
/** Definición de navegación de Toolpad (items del sidebar). */
|
|
@@ -1571,12 +2108,56 @@ interface MainLayoutProps {
|
|
|
1571
2108
|
};
|
|
1572
2109
|
/** Ancho del sidebar expandido. */
|
|
1573
2110
|
sidebarExpandedWidth?: number;
|
|
2111
|
+
/**
|
|
2112
|
+
* Estado inicial del sidebar cuando no hay nada guardado en `localStorage`
|
|
2113
|
+
* (o cuando la persistencia está desactivada).
|
|
2114
|
+
*/
|
|
2115
|
+
defaultSidebarCollapsed?: boolean;
|
|
2116
|
+
/**
|
|
2117
|
+
* Muestra el título bajo el icono cuando el sidebar está plegado, como hace
|
|
2118
|
+
* Toolpad por defecto. Con `false` el menú plegado queda solo con iconos
|
|
2119
|
+
* (el título sigue en el árbol de accesibilidad, dando nombre al botón).
|
|
2120
|
+
*/
|
|
2121
|
+
miniSidebarLabels?: boolean;
|
|
2122
|
+
/**
|
|
2123
|
+
* Clave de `localStorage` donde se recuerda si el sidebar quedó plegado, de
|
|
2124
|
+
* forma que se restaure al recargar. Pasa `null` para no persistirlo.
|
|
2125
|
+
*
|
|
2126
|
+
* Solo se guarda el estado del sidebar de escritorio (breakpoint `md` hacia
|
|
2127
|
+
* arriba); el drawer temporal de móvil siempre arranca cerrado.
|
|
2128
|
+
*/
|
|
2129
|
+
sidebarStorageKey?: string | null;
|
|
1574
2130
|
/**
|
|
1575
2131
|
* Color de fondo del área de contenido. Se aplica al scroll container
|
|
1576
2132
|
* (`<main>`) para que cubra toda la altura scrolleable y no se corte cuando
|
|
1577
2133
|
* la página es más larga que el viewport.
|
|
1578
2134
|
*/
|
|
1579
2135
|
pageBackgroundColor?: string;
|
|
2136
|
+
/**
|
|
2137
|
+
* Color del contorno: el marco continuo que forman el header y el sidebar
|
|
2138
|
+
* alrededor del panel de contenido.
|
|
2139
|
+
*/
|
|
2140
|
+
chromeBackgroundColor?: string;
|
|
2141
|
+
/**
|
|
2142
|
+
* Radio de las esquinas del panel de contenido. Como el contorno lo rodea
|
|
2143
|
+
* por arriba y por la izquierda, redondearlo recorta el borde del header y
|
|
2144
|
+
* del sidebar con la misma curva. `0` deja el contenido a ras.
|
|
2145
|
+
*/
|
|
2146
|
+
contentBorderRadius?: number;
|
|
2147
|
+
/**
|
|
2148
|
+
* Separación en px entre el contorno y el panel de contenido, a la derecha
|
|
2149
|
+
* y abajo (arriba y a la izquierda el contenido va a ras del header y del
|
|
2150
|
+
* sidebar). Se descuenta de la altura del área de trabajo para que el
|
|
2151
|
+
* contenido siga cabiendo sin scroll extra.
|
|
2152
|
+
*/
|
|
2153
|
+
contentGap?: number;
|
|
2154
|
+
/**
|
|
2155
|
+
* Padding horizontal dentro del panel de contenido. `PageContainer` es un
|
|
2156
|
+
* `Container` de MUI, que trae 24px en `sm` hacia arriba; aquí se fija un
|
|
2157
|
+
* valor único para todos los breakpoints. Número = unidades de spacing del
|
|
2158
|
+
* tema (2 => 16px); también admite string CSS ("12px").
|
|
2159
|
+
*/
|
|
2160
|
+
contentPaddingX?: number | string;
|
|
1580
2161
|
/**
|
|
1581
2162
|
* Estilos extra para el `DashboardLayout`. Se aplican después de los del
|
|
1582
2163
|
* layout, así que pueden sobreescribirlos (ej. el ancho mínimo del sidebar
|
|
@@ -1659,5 +2240,5 @@ interface PulseDotProps {
|
|
|
1659
2240
|
* contrario un color fijo. Se usa para indicar conexión/actividad en vivo. */
|
|
1660
2241
|
declare function PulseDot({ active, inactiveColor, size, title }: PulseDotProps): react_jsx_runtime.JSX.Element;
|
|
1661
2242
|
|
|
1662
|
-
export { APIContext, APIProvider, ActiveCell, ActiveIcon, Base, ButtonWithDrawer, CSVUpload, ConfirmDialog, ContentLayout, ControlledAddressAutocomplete, ControlledAmountWithCurrency, ControlledDate$1 as ControlledDate, ControlledDate as ControlledDate_v2, ControlledDropdown, ControlledFileField$1 as ControlledFileField, ControlledFileField as ControlledFileField_v2, FileUploadBox as ControlledFileUploadBox, ControlledNumber, ControlledPhoneNumber, ControlledSelect$1 as ControlledSelect, ControlledSelect as ControlledSelect_v2, ControlledSlider as ControlledSimpleSlider, ControlledSlider$1 as ControlledSlider, ControlledSwitch, ControlledText, ControlledTimePicker, ControlledToggleButtons, CoverPage, CreateButtonBase, CreateButtonWithMenuOptions, CrudDropdown, CustomNoRows, DeleteButton, DeleteConfirmationDialog, DetailFormDialog as DetailFormDialog_v2, DetailFormDrawer as DetailFormDrawer_v2, DetailForm as DetailForm_v2, DetailPage$1 as DetailPage, DetailPage as DetailPage_v2, DrawerGrid as DrawerGrid_v2, EditButton, ExportCSV, ExtraButtons, HistorialDrawer, KpiCard, ListPage, Loadable, LoadingComponent, Logo, MainDrawer, MainLayout, MenuItemWithLoading, ModuleCard, MoreOptions, MyGridEditSingleSelect, NavigationContext, NavigationProvider, NormalOrIcon, NotAllowed, NotFound, ObjectProgressStack, Panel, PollingCountdownChip, PulseDot, SaveCancelButton, StatusBadge, StyledMenu, Tabs, Transitions, UncontrolledText, changeTitle, closeProgressSnack, deleteColumn, editColumn, filterQuery, formParser, _default as headerReducer, manualCacheRefresh, mergeSettings, openProgressSnack, query, renderEditCellWithErrorTooltip, setErrors, _default$1 as snackProgressReducer, tags, theme, updateProgressSnackData, useAPI, useDetailForm, useHasPermission, useHasPermission_v2, useKeyboardShortcut, useMutationHandler, useNavigation, valueLabel };
|
|
1663
|
-
export type { APIcontextProps, AddressValue, ComoOpcionesProps, ConfirmDialogProps, ControlledInput, CustomToolbarProps, DeleteGridColumnsProps, DetachedPage, DetailFormApi, DetailFormConfig, DetailFormController, DetailFormDialogProps, DetailFormDrawerProps, DetailFormProps, DetailFormStatus, DetailPageV2Props, DetailRenderProps, DrawerGridDrawerConfig, DrawerGridProps, EditGridColumnsProps, EditReadOnlyFields, FieldFilter, FieldProps$1 as FieldProps, FieldValidationProps, GridArgs, GridColDefPropsOverrides, JSONFormProps, JSONParserProps, KeyboardShortcut, KpiCardProps, MainLayoutPageHeaderProps, MainLayoutProps, MainLayoutSidebarFooterProps, MyDataGridProps, MyGridFilterModel, MyTab, MyTabProps, PageType, PanelProps, PollingCountdownChipProps, ProgressStatusProps, PulseDotProps };
|
|
2243
|
+
export { APIContext, APIProvider, ActiveCell, ActiveIcon, Base, ButtonWithDrawer, CSVUpload, ConfirmDialog, ContentLayout, ControlledAddressAutocomplete, ControlledAmountWithCurrency, ControlledDate$1 as ControlledDate, ControlledDate as ControlledDate_v2, ControlledDropdown, ControlledFileField$1 as ControlledFileField, ControlledFileField as ControlledFileField_v2, FileUploadBox as ControlledFileUploadBox, ControlledNumber, ControlledPhoneNumber, ControlledSelect$1 as ControlledSelect, ControlledSelect as ControlledSelect_v2, ControlledSlider as ControlledSimpleSlider, ControlledSlider$1 as ControlledSlider, ControlledSwitch, ControlledText, ControlledTimePicker, ControlledToggleButtons, CoverPage, CreateButtonBase, CreateButtonWithMenuOptions, CrudDropdown, CustomNoRows, DEFAULT_PAGINATION, DeleteButton, DeleteConfirmationDialog, DetailFormDialog as DetailFormDialog_v2, DetailFormDrawer as DetailFormDrawer_v2, DetailForm as DetailForm_v2, DetailPage$1 as DetailPage, DetailPage as DetailPage_v2, DrawerGrid as DrawerGrid_v2, EditButton, ExportCSV, ExtraButtons, HistorialDrawer, KpiCard, LAYER_ORDER, ListPage, Loadable, LoadingComponent, Logo, MainDrawer, MainDrawer$1 as MainDrawer_v2, MainLayout, MenuItemWithLoading, ModuleCard, MoreOptions, MyGridEditSingleSelect, NavigationContext, NavigationProvider, NormalOrIcon, NotAllowed, NotFound, ObjectProgressStack, PAGE_SIZE_OPTIONS, Panel, PollingCountdownChip, PulseDot, SaveCancelButton, ServerGrid as ServerGrid_v2, StatusBadge, StyledMenu, Tabs, Transitions, UncontrolledText, changeTitle, closeProgressSnack, composeGridProps, deleteColumn$1 as deleteColumn, deleteColumn as deleteColumn_v2, editColumn, filterQuery, formParser, _default as headerReducer, manualCacheRefresh, mergeSettings, openProgressSnack, query, renderEditCellWithErrorTooltip, resolveInitialState, setErrors, _default$1 as snackProgressReducer, tags, theme, togglableFields, updateProgressSnackData, useAPI, useDetailForm, useHasPermission, useHasPermission_v2, useKeyboardShortcut, useMutationHandler, useNavigation, useServerGrid, valueLabel };
|
|
2244
|
+
export type { APIcontextProps, AddressValue, ComoOpcionesProps, ConfirmDialogProps, ControlledInput, CustomToolbarProps, DeleteGridColumnsProps$1 as DeleteGridColumnsProps, DetachedPage, DetailFormApi, DetailFormConfig, DetailFormController, DetailFormDialogProps, DetailFormDrawerNavigation, DetailFormDrawerProps, DetailFormProps, DetailFormStatus, DetailPageV2Props, DetailRenderProps, DrawerGridDrawerConfig, DrawerGridEditConfig, DrawerGridProps, EditGridColumnsProps, EditReadOnlyFields, FieldFilter, FieldProps$1 as FieldProps, FieldValidationProps, GridArgs, GridColDefPropsOverrides, GridLayerContribution, GridLayerId, GridLayerMap, JSONFormProps, JSONParserProps, KeyboardShortcut, KpiCardProps, MainDrawerV2Props, MainLayoutPageHeaderProps, MainLayoutProps, MainLayoutSidebarFooterProps, MyDataGridProps, MyGridFilterModel, MyTab, MyTabProps, PageType, PanelProps, PollingCountdownChipProps, ProgressStatusProps, PulseDotProps, RowsSnapshot, ServerGridArgs, ServerGridCreateApi, ServerGridDataApi, ServerGridDeleteApi, ServerGridEditApi, ServerGridEditToggleApi, ServerGridHandle, ServerGridProps, ServerGridSnapshot, ServerGridState, UseServerGridOptions };
|