@max-ts/components 0.2.3 → 0.3.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/_virtual/_commonjsHelpers.mjs +6 -0
- package/lib/_virtual/index.mjs +5 -0
- package/lib/_virtual/index2.mjs +4 -0
- package/lib/_virtual/index3.mjs +4 -0
- package/lib/_virtual/index4.mjs +7 -0
- package/lib/_virtual/index5.mjs +4 -0
- package/lib/_virtual/react-is.development.mjs +4 -0
- package/lib/_virtual/react-is.development2.mjs +4 -0
- package/lib/_virtual/react-is.production.min.mjs +4 -0
- package/lib/_virtual/react-is.production.mjs +4 -0
- package/lib/components/Accordion/styles.d.ts +2 -2
- package/lib/components/Accordion/styles.mjs +21 -11
- package/lib/components/ActionCell/MainAction/MainAction.d.ts +1 -4
- package/lib/components/ActionCell/MainAction/MainAction.mjs +110 -44
- package/lib/components/ActionCell/SecondaryAction/SecondaryActions.d.ts +0 -3
- package/lib/components/ActionCell/styles.mjs +13 -3
- package/lib/components/ActionGroup/ActionGroup.d.ts +23 -0
- package/lib/components/ActionGroup/ActionGroup.mjs +17 -0
- package/lib/components/ActionGroup/MainActions/MainActions.d.ts +65 -0
- package/lib/components/ActionGroup/MainActions/MainActions.mjs +129 -0
- package/lib/components/ActionGroup/MainActions/index.d.ts +1 -0
- package/lib/components/ActionGroup/MainActions/styles.d.ts +13 -0
- package/lib/components/ActionGroup/MainActions/styles.mjs +18 -0
- package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.d.ts +21 -0
- package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.mjs +97 -0
- package/lib/components/ActionGroup/SecondaryActions/index.d.ts +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.d.ts +19 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.mjs +103 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/index.d.ts +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +9 -0
- package/lib/components/ActionGroup/index.d.ts +1 -0
- package/lib/components/ActionGroup/styles.d.ts +1 -0
- package/lib/components/ActionGroup/styles.mjs +18 -0
- package/lib/components/ActionGroup/useLogic/useLogic.d.ts +7 -0
- package/lib/components/ActionGroup/useLogic/useLogic.mjs +9 -0
- package/lib/components/Autocomplete/styles.mjs +13 -3
- package/lib/components/Badge/styles.d.ts +1 -1
- package/lib/components/BottomDrawer/styles.d.ts +3 -3
- package/lib/components/Breadcrumbs/index.d.ts +1 -0
- package/lib/components/Button/Button.mjs +17 -17
- package/lib/components/Button/constants.d.ts +1 -1
- package/lib/components/Button/constants.mjs +2 -2
- package/lib/components/Button/styles.d.ts +1 -1
- package/lib/components/ButtonBase/ButtonBase.d.ts +1 -0
- package/lib/components/ButtonBase/index.d.ts +1 -0
- package/lib/components/ButtonGroup/index.d.ts +1 -0
- package/lib/components/Card/index.d.ts +1 -0
- package/lib/components/CardActions/index.d.ts +1 -0
- package/lib/components/CardContent/index.d.ts +1 -0
- package/lib/components/CardHeader/index.d.ts +1 -0
- package/lib/components/CheckboxField/styles.mjs +15 -5
- package/lib/components/Chevron/styles.mjs +14 -4
- package/lib/components/ConfirmAction/styles.d.ts +2 -2
- package/lib/components/ConfirmAction/styles.mjs +17 -7
- package/lib/components/ConfirmDialog/styles.mjs +10 -4
- package/lib/components/ConfirmDialog/useLogic/useLogic.d.ts +1 -1
- package/lib/components/Container/styles.d.ts +1 -0
- package/lib/components/Container/styles.mjs +16 -13
- package/lib/components/ContentState/styles.mjs +13 -3
- package/lib/components/CopyTypography/styles.d.ts +2 -2
- package/lib/components/CopyTypography/styles.mjs +16 -6
- package/lib/components/DataGrid/Body/Body.d.ts +1 -29
- package/lib/components/DataGrid/Body/Body.mjs +26 -29
- package/lib/components/DataGrid/Body/styles.mjs +15 -5
- package/lib/components/DataGrid/Cell/styles.mjs +15 -5
- package/lib/components/DataGrid/DataGrid.d.ts +0 -53
- package/lib/components/DataGrid/DataGrid.mjs +49 -71
- package/lib/components/DataGrid/Head/styles.mjs +20 -10
- package/lib/components/DataGrid/HeadCell/HeadCell.mjs +21 -20
- package/lib/components/DataGrid/HeadCell/styles.d.ts +2 -2
- package/lib/components/DataGrid/HeadCell/styles.mjs +19 -8
- package/lib/components/DataGrid/Row/Row.d.ts +1 -38
- package/lib/components/DataGrid/Row/Row.mjs +55 -147
- package/lib/components/DataGrid/Row/constants.d.ts +0 -1
- package/lib/components/DataGrid/Row/constants.mjs +2 -3
- package/lib/components/DataGrid/Row/index.d.ts +0 -1
- package/lib/components/DataGrid/Row/styles.d.ts +0 -22
- package/lib/components/DataGrid/Row/styles.mjs +21 -78
- package/lib/components/DataGrid/Row/useLogic/useLogic.d.ts +2 -10
- package/lib/components/DataGrid/Row/useLogic/useLogic.mjs +36 -67
- package/lib/components/DataGrid/constants.d.ts +0 -3
- package/lib/components/DataGrid/constants.mjs +3 -6
- package/lib/components/DataGrid/enums.d.ts +0 -4
- package/lib/components/DataGrid/enums.mjs +2 -3
- package/lib/components/DataGrid/faker.d.ts +1 -1
- package/lib/components/DataGrid/styles.mjs +20 -10
- package/lib/components/DataGrid/types.d.ts +2 -7
- package/lib/components/DataGrid/useLogic/useLogic.d.ts +1 -6
- package/lib/components/DataGrid/useLogic/useLogic.mjs +31 -36
- package/lib/components/DataGridActionCell/styles.mjs +13 -3
- package/lib/components/DataGridActionCell/useLogic/useLogic.mjs +13 -42
- package/lib/components/DataGridOld/Cell/styles.d.ts +1 -1
- package/lib/components/DataGridOld/HeadCell/styles.d.ts +1 -1
- package/lib/components/DataGridPagination/DataGridPagination.mjs +9 -9
- package/lib/components/DataGridPagination/faker.d.ts +1 -1
- package/lib/components/DataGridPagination/styles.d.ts +2 -2
- package/lib/components/DataGridPagination/styles.mjs +22 -12
- package/lib/components/Description/Name/styles.mjs +15 -5
- package/lib/components/Description/Value/styles.d.ts +10 -10
- package/lib/components/Description/Value/styles.mjs +83 -9
- package/lib/components/Description/Value/useLogic/useLogic.mjs +3 -3
- package/lib/components/Description/styles.mjs +13 -3
- package/lib/components/Description/useLogic/useLogic.d.ts +1 -1
- package/lib/components/DescriptionList/styles.mjs +20 -10
- package/lib/components/DescriptionTooltip/DescriptionTooltip.d.ts +9 -0
- package/lib/components/DescriptionTooltip/DescriptionTooltip.mjs +14 -0
- package/lib/components/DescriptionTooltip/index.d.ts +1 -0
- package/lib/components/DescriptionTooltip/styles.d.ts +4 -0
- package/lib/components/DescriptionTooltip/styles.mjs +27 -0
- package/lib/components/DialogContentText/styles.d.ts +1 -1
- package/lib/components/DialogHeader/styles.mjs +22 -12
- package/lib/components/Filename/styles.d.ts +2 -2
- package/lib/components/Filename/styles.mjs +16 -6
- package/lib/components/FormHelperText/FormHelperTextContent/styles.mjs +26 -16
- package/lib/components/FormLabel/styles.d.ts +1 -1
- package/lib/components/IconButton/styles.mjs +20 -14
- package/lib/components/Link/Link.d.ts +1 -1
- package/lib/components/Link/styles.d.ts +1 -1
- package/lib/components/ListItem/styles.d.ts +1 -1
- package/lib/components/MaskField/MaskField.d.ts +6 -0
- package/lib/components/MaskField/MaskField.mjs +10 -0
- package/lib/components/MaskField/index.d.ts +1 -0
- package/lib/components/MenuList/styles.d.ts +1 -1
- package/lib/components/NavMenu/Item/ItemButton/styles.d.ts +125 -125
- package/lib/components/OverflowTypography/styles.d.ts +4 -4
- package/lib/components/OverflowTypography/styles.mjs +16 -6
- package/lib/components/Placeholder/Image/styles.mjs +14 -4
- package/lib/components/Placeholder/styles.d.ts +4 -4
- package/lib/components/Placeholder/styles.mjs +31 -21
- package/lib/components/SearchField/styles.mjs +22 -12
- package/lib/components/Select/styles.d.ts +1 -1
- package/lib/components/Skeleton/styles.d.ts +1 -1
- package/lib/components/Skeleton/styles.mjs +7 -10
- package/lib/components/Slider/Slider.d.ts +2 -0
- package/lib/components/Slider/Slider.mjs +6 -0
- package/lib/components/Slider/index.d.ts +1 -0
- package/lib/components/Slider/styles.d.ts +1 -0
- package/lib/components/Slider/styles.mjs +40 -0
- package/lib/components/Tab/styles.d.ts +1 -1
- package/lib/components/Tabs/styles.mjs +16 -6
- package/lib/components/Tag/Tag.mjs +27 -23
- package/lib/components/Tag/styles.d.ts +1 -1
- package/lib/components/TagBadge/styles.mjs +14 -4
- package/lib/components/TagsList/Tag/styles.d.ts +1 -1
- package/lib/components/TagsList/Tag/styles.mjs +14 -4
- package/lib/components/TagsList/styles.mjs +13 -3
- package/lib/components/TextField/TextField.d.ts +1 -1
- package/lib/components/TextField/TextField.mjs +1 -1
- package/lib/components/ThemeProvider/ThemeProvider.d.ts +11 -0
- package/lib/components/ThemeProvider/ThemeProvider.mjs +9 -0
- package/lib/components/ThemeProvider/index.d.ts +1 -0
- package/lib/components/index.d.ts +12 -0
- package/lib/components.css +1 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/index.mjs +225 -208
- package/lib/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.mjs +22 -0
- package/lib/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.mjs +9 -0
- package/lib/node_modules/.pnpm/@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.mjs +120 -0
- package/lib/node_modules/.pnpm/@emotion_unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.mjs +53 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/blue.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/common.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/green.mjs +11 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/grey.mjs +19 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/lightBlue.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/orange.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/purple.mjs +11 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/colors/red.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createColorScheme.mjs +44 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createGetSelector.mjs +41 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createMixins.mjs +19 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createPalette.mjs +261 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createTheme.mjs +60 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createThemeNoVars.mjs +75 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createThemeWithVars.mjs +161 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createTransitions.mjs +66 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/createTypography.mjs +80 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/defaultTheme.mjs +5 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/excludeVariablesFromRoot.mjs +4 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/getOverlayAlpha.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/identifier.mjs +4 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/rootShouldForwardProp.mjs +5 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/shadows.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/shouldSkipGeneratingVar.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/slotShouldForwardProp.mjs +6 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/stringifyTheme.mjs +29 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/styled.mjs +13 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/useTheme.mjs +11 -0
- package/lib/node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/zIndex.mjs +13 -0
- package/lib/node_modules/.pnpm/@mui_styled-engine@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emo_6faee6770fc007ef214af3c8aa5695a8/node_modules/@mui/styled-engine/index.mjs +33 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/borders/borders.mjs +45 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/breakpoints/breakpoints.mjs +67 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/colorManipulator/colorManipulator.mjs +145 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/compose/compose.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.mjs +62 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createStyled/createStyled.mjs +153 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createTheme/applyStyles.mjs +15 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createTheme/createSpacing.mjs +15 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createTheme/createTheme.mjs +44 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/createTheme/shape.mjs +6 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.mjs +49 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssGrid/cssGrid.mjs +78 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssVars/cssVarsParser.mjs +41 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.mjs +8 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssVars/prepareCssVars.mjs +117 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/cssVars/prepareTypographyVars.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/memoize/memoize.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/merge/merge.mjs +10 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/palette/palette.mjs +26 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/preprocessStyles.mjs +17 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/responsivePropType/responsivePropType.mjs +5 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/sizing/sizing.mjs +63 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/spacing/spacing.mjs +84 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/style/style.mjs +43 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.mjs +296 -0
- package/lib/node_modules/.pnpm/@mui_system@6.4.3_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion_st_5f10f346196051285cfc2e46c43ad4ff/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.mjs +92 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.mjs +17 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/capitalize/capitalize.mjs +9 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/clamp/clamp.mjs +6 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/deepmerge/deepmerge.mjs +31 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.mjs +7 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.mjs +23 -0
- package/lib/node_modules/.pnpm/@mui_utils@6.4.3_@types_react@19.0.10_react@19.0.0/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.mjs +28 -0
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/Input.mjs +55 -0
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/SyntheticChangeError.mjs +11 -0
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/createProxy.mjs +8 -0
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/helpers-C8k3UfPS.mjs +129 -0
- package/lib/node_modules/.pnpm/@react-input_mask@2.0.4_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/mask/module/Mask.mjs +90 -0
- package/lib/node_modules/.pnpm/@react-input_mask@2.0.4_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/mask/module/helpers-BtaZ0NTN.mjs +226 -0
- package/lib/node_modules/.pnpm/@react-input_mask@2.0.4_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/mask/module/useMask.mjs +12 -0
- package/lib/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.mjs +54 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.mjs +54 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.mjs +52 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.mjs +329 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.mjs +17 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +10 -0
- package/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.mjs +7 -0
- package/lib/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.mjs +95 -0
- package/lib/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.mjs +78 -0
- package/lib/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.mjs +10 -0
- package/lib/node_modules/.pnpm/react-is@19.0.0/node_modules/react-is/cjs/react-is.development.mjs +76 -0
- package/lib/node_modules/.pnpm/react-is@19.0.0/node_modules/react-is/cjs/react-is.production.mjs +76 -0
- package/lib/node_modules/.pnpm/react-is@19.0.0/node_modules/react-is/index.mjs +10 -0
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.mjs +18 -18
- package/lib/theme/baseTheme/baseTheme.d.ts +1 -3
- package/lib/theme/baseTheme/baseTheme.mjs +21 -21
- package/lib/theme/components/MuiButton.mjs +5 -5
- package/lib/theme/components/MuiSwitch.mjs +1 -1
- package/lib/theme/components/components.d.ts +1 -19
- package/lib/theme/components/components.mjs +71 -108
- package/lib/theme/index.d.ts +1 -1
- package/lib/theme/palette/palette.mjs +20 -20
- package/lib/theme/typography.mjs +6 -2
- package/package.json +3 -1
- package/lib/components/DataGrid/DataGridContext/DataGridContext.d.ts +0 -7
- package/lib/components/DataGrid/DataGridContext/DataGridContext.mjs +0 -12
- package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +0 -6
- package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.mjs +0 -41
- package/lib/components/DataGrid/DataGridContext/DataGridProvider/index.d.ts +0 -1
- package/lib/components/DataGrid/DataGridContext/index.d.ts +0 -2
- package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.d.ts +0 -55
- package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.mjs +0 -72
- package/lib/components/DataGrid/Row/NestedChildren/index.d.ts +0 -1
- package/lib/components/DataGrid/Row/NestedChildren/styles.d.ts +0 -20
- package/lib/components/DataGrid/Row/NestedChildren/styles.mjs +0 -68
- package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.d.ts +0 -18
- package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.mjs +0 -27
- package/lib/components/DataGrid/Row/RowContext/RowContext.d.ts +0 -7
- package/lib/components/DataGrid/Row/RowContext/RowContext.mjs +0 -11
- package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.d.ts +0 -6
- package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.mjs +0 -25
- package/lib/components/DataGrid/Row/RowContext/RowProvider/index.d.ts +0 -1
- package/lib/components/DataGrid/Row/RowContext/index.d.ts +0 -2
- package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.d.ts +0 -4
- package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.mjs +0 -8
- package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/index.d.ts +0 -1
- package/lib/components/DataGrid/Row/useLogic/utils/index.d.ts +0 -2
- package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/index.d.ts +0 -1
- package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.d.ts +0 -2
- package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.mjs +0 -14
- package/lib/theme/hooks/index.d.ts +0 -1
- package/lib/theme/hooks/useTheme/index.d.ts +0 -2
- package/lib/theme/hooks/useTheme/index.mjs +0 -5
- /package/lib/components/{DataGrid/Row/NestedChildren → ActionGroup}/useLogic/index.d.ts +0 -0
|
@@ -1,17 +1,27 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
2
11
|
import { Typography as o } from "../Typography/Typography.mjs";
|
|
3
|
-
|
|
12
|
+
import t from "../../node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/styled.mjs";
|
|
13
|
+
const l = t("div")`
|
|
4
14
|
max-width: 380px;
|
|
5
15
|
padding: ${({ theme: p }) => p.spacing(4)};
|
|
6
|
-
`,
|
|
16
|
+
`, x = t(o)`
|
|
7
17
|
margin-bottom: ${({ theme: p }) => p.spacing(3)};
|
|
8
|
-
`,
|
|
18
|
+
`, h = t("div")`
|
|
9
19
|
display: flex;
|
|
10
20
|
gap: ${({ theme: p }) => p.spacing(3)};
|
|
11
21
|
justify-content: end;
|
|
12
22
|
`;
|
|
13
23
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
24
|
+
h as Actions,
|
|
25
|
+
x as StyledTypography,
|
|
26
|
+
l as Wrapper
|
|
17
27
|
};
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "remeda";
|
|
3
|
+
import { Button as t } from "../Button/Button.mjs";
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
import r from "../../node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/styled.mjs";
|
|
9
|
+
const c = r(t)`
|
|
4
10
|
${({ theme: o }) => o.breakpoints.down("sm")} {
|
|
5
11
|
order: 1;
|
|
6
12
|
}
|
|
7
13
|
`;
|
|
8
14
|
export {
|
|
9
|
-
|
|
15
|
+
c as CancelButton
|
|
10
16
|
};
|
|
@@ -3,7 +3,7 @@ type UseLogicParams = ConfirmDialogProps;
|
|
|
3
3
|
export declare const useLogic: ({ actions, onClose }: UseLogicParams) => {
|
|
4
4
|
isShowCancelButton: boolean;
|
|
5
5
|
cancelButtonProps: {
|
|
6
|
-
variant: "
|
|
6
|
+
variant: "text" | "light" | "link" | "contained";
|
|
7
7
|
onClick: import('react').MouseEventHandler<HTMLButtonElement>;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -11,6 +11,7 @@ export type ContainerRootProps = {
|
|
|
11
11
|
templateAreas?: CSSProperties['gridTemplateAreas'];
|
|
12
12
|
templateColumns?: CSSProperties['gridTemplateColumns'];
|
|
13
13
|
templateRows?: CSSProperties['gridTemplateRows'];
|
|
14
|
+
placeItems?: CSSProperties['placeItems'];
|
|
14
15
|
children?: ReactNode;
|
|
15
16
|
padding?: string | number;
|
|
16
17
|
margin?: string | number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const i =
|
|
1
|
+
import { styled as n } from "@mui/material";
|
|
2
|
+
const i = n("div", {
|
|
3
3
|
shouldForwardProp: (e) => ![
|
|
4
4
|
"variant",
|
|
5
5
|
"direction",
|
|
@@ -16,19 +16,21 @@ const i = o("div", {
|
|
|
16
16
|
"templateRows",
|
|
17
17
|
"isPaper",
|
|
18
18
|
"elevation",
|
|
19
|
-
"borderRadius"
|
|
19
|
+
"borderRadius",
|
|
20
|
+
"placeItems"
|
|
20
21
|
].includes(e.toString()),
|
|
21
22
|
label: "Container"
|
|
22
23
|
})`
|
|
23
24
|
display: ${({
|
|
24
25
|
variant: e = "flex",
|
|
25
|
-
templateAreas:
|
|
26
|
-
templateColumns:
|
|
27
|
-
templateRows: t
|
|
28
|
-
|
|
26
|
+
templateAreas: a,
|
|
27
|
+
templateColumns: r,
|
|
28
|
+
templateRows: t,
|
|
29
|
+
placeItems: o
|
|
30
|
+
}) => [t, r, a, o].some(Boolean) ? "grid" : e};
|
|
29
31
|
flex-direction: ${({ direction: e = "row" }) => e};
|
|
30
32
|
flex-wrap: ${({ direction: e = "row" }) => e === "row" ? "nowrap" : "wrap"};
|
|
31
|
-
gap: ${({ gap: e = 2, theme:
|
|
33
|
+
gap: ${({ gap: e = 2, theme: a }) => a.spacing(e)};
|
|
32
34
|
width: ${({ width: e }) => typeof e == "number" ? `${e}px` : e};
|
|
33
35
|
height: ${({ height: e }) => typeof e == "number" ? `${e}px` : e};
|
|
34
36
|
justify-content: ${({ justifyContent: e = "flex-start" }) => e};
|
|
@@ -37,11 +39,12 @@ const i = o("div", {
|
|
|
37
39
|
grid-template-areas: ${({ templateAreas: e }) => e};
|
|
38
40
|
grid-template-columns: ${({ templateColumns: e }) => e};
|
|
39
41
|
grid-template-rows: ${({ templateRows: e }) => e};
|
|
40
|
-
box-shadow: ${({ theme: e, elevation:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
box-shadow: ${({ theme: e, elevation: a = 0 }) => e.shadows[a]};
|
|
43
|
+
place-items: ${({ placeItems: e }) => e};
|
|
44
|
+
border-radius: ${({ theme: e, borderRadius: a = 4 }) => e.spacing(a)}px;
|
|
45
|
+
background-color: ${({ theme: e, isPaper: a }) => a ? e.palette.background.paper : "transparent"};
|
|
46
|
+
padding: ${({ padding: e, theme: a }) => typeof e == "number" ? a.spacing(e) : e};
|
|
47
|
+
margin: ${({ margin: e, theme: a }) => typeof e == "number" ? a.spacing(e) : e};
|
|
45
48
|
`;
|
|
46
49
|
export {
|
|
47
50
|
i as ContainerRoot
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
import t from "../../node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/styled.mjs";
|
|
12
|
+
const c = t("div")`
|
|
3
13
|
display: flex;
|
|
4
14
|
flex-grow: 1;
|
|
5
15
|
align-items: center;
|
|
@@ -9,5 +19,5 @@ const i = t("div")`
|
|
|
9
19
|
height: 100%;
|
|
10
20
|
`;
|
|
11
21
|
export {
|
|
12
|
-
|
|
22
|
+
c as LoadingContainer
|
|
13
23
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const Wrapper: import('@emotion/styled').StyledComponent<{
|
|
2
|
-
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
3
2
|
children?: import('react').ReactNode;
|
|
3
|
+
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
4
4
|
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
|
|
5
5
|
gutterBottom?: boolean | undefined;
|
|
6
6
|
noWrap?: boolean | undefined;
|
|
@@ -9,7 +9,7 @@ export declare const Wrapper: import('@emotion/styled').StyledComponent<{
|
|
|
9
9
|
color?: import('../Typography').TypographyColor;
|
|
10
10
|
variant?: import('../Typography').TypographyVariant;
|
|
11
11
|
colorIntensity?: import('../Typography').Intensity;
|
|
12
|
-
component?: "symbol" | "object" | "
|
|
12
|
+
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "mask" | "marker" | "style" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | import('react').ComponentType<any>;
|
|
13
13
|
isUpperCase?: boolean;
|
|
14
14
|
} & import('react').HTMLAttributes<HTMLParagraphElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
15
15
|
export declare const StyledCopyIcon: import('@emotion/styled').StyledComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import { styled as t } from "@mui/material";
|
|
2
1
|
import { Copy as i } from "lucide-react";
|
|
3
|
-
import
|
|
4
|
-
|
|
2
|
+
import "@mui/material";
|
|
3
|
+
import "remeda";
|
|
4
|
+
import "../../_virtual/jsx-runtime.mjs";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "../Button/styles.mjs";
|
|
7
|
+
import "react";
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
|
+
import { Typography as p } from "../Typography/Typography.mjs";
|
|
13
|
+
import t from "../../node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/styled.mjs";
|
|
14
|
+
const u = t(p)`
|
|
5
15
|
cursor: pointer;
|
|
6
16
|
|
|
7
17
|
display: flex;
|
|
@@ -10,7 +20,7 @@ const s = t(e)`
|
|
|
10
20
|
&:hover {
|
|
11
21
|
text-decoration: underline;
|
|
12
22
|
}
|
|
13
|
-
`,
|
|
23
|
+
`, $ = t(i, {
|
|
14
24
|
shouldForwardProp: (o) => !["$copyPosition"].includes(o.toString())
|
|
15
25
|
})`
|
|
16
26
|
margin-right: ${({ $copyPosition: o, theme: r }) => o === "left" ? r.spacing(1) : ""};
|
|
@@ -22,6 +32,6 @@ const s = t(e)`
|
|
|
22
32
|
fill: ${({ color: o }) => o};
|
|
23
33
|
`;
|
|
24
34
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
35
|
+
$ as StyledCopyIcon,
|
|
36
|
+
u as Wrapper
|
|
27
37
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ChangeEvent, ReactNode } from 'react';
|
|
2
|
-
import { Variant } from '../enums';
|
|
3
2
|
import { CellValue, DataGridColumns, DataGridRowOptions } from '../types';
|
|
4
3
|
export type BodyProps<TData extends Record<string, CellValue>> = {
|
|
5
4
|
/**
|
|
@@ -30,29 +29,6 @@ export type BodyProps<TData extends Record<string, CellValue>> = {
|
|
|
30
29
|
* Идентификатор активного элемента массива rows. Выделяет активную строку в таблице
|
|
31
30
|
*/
|
|
32
31
|
activeRowId?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Если true, то дерево будет раскрыто по умолчанию
|
|
35
|
-
* @default 'false'
|
|
36
|
-
*/
|
|
37
|
-
isInitialExpanded: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Уровень раскрытия дерева по умолчанию, при isInitialExpanded=true
|
|
40
|
-
*/
|
|
41
|
-
expandedLevel: number;
|
|
42
|
-
/**
|
|
43
|
-
* Количество отображаемых по умолчанию дочерних элементов
|
|
44
|
-
*/
|
|
45
|
-
initialVisibleChildrenCount: number;
|
|
46
|
-
/**
|
|
47
|
-
* Номер колонки, в которой будет расположена кнопка "Показать все"
|
|
48
|
-
* Работает только для `variant="subrows"`
|
|
49
|
-
*/
|
|
50
|
-
moreButtonColumnPosition: number;
|
|
51
|
-
/**
|
|
52
|
-
* Если false, кнопка разворачивания элементов не показывается
|
|
53
|
-
* Работает только для `variant="subrows"`
|
|
54
|
-
*/
|
|
55
|
-
isVisibleCollapseButton: boolean;
|
|
56
32
|
/**
|
|
57
33
|
* Если true, то будет отображаться чекбокс для выбора элемента
|
|
58
34
|
*/
|
|
@@ -65,12 +41,8 @@ export type BodyProps<TData extends Record<string, CellValue>> = {
|
|
|
65
41
|
* Массив данных для отображения
|
|
66
42
|
*/
|
|
67
43
|
rows: Array<TData & {
|
|
68
|
-
options?: DataGridRowOptions
|
|
44
|
+
options?: DataGridRowOptions;
|
|
69
45
|
}>;
|
|
70
|
-
/**
|
|
71
|
-
* Вариант отображения вложенных элементов
|
|
72
|
-
*/
|
|
73
|
-
variant: `${Variant}`;
|
|
74
46
|
/**
|
|
75
47
|
* Используется для отображения переданного кол-ва строк при отсутствии данных
|
|
76
48
|
*/
|
|
@@ -1,53 +1,50 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { ConfigContext as
|
|
4
|
-
import { ContentState as
|
|
5
|
-
import { Row as
|
|
6
|
-
import "
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const { imagesMap: m } = R(j), { isNoData: p, contentStateProps: a } = L(e), {
|
|
12
|
-
rows: o,
|
|
1
|
+
import { j as t } from "../../../_virtual/jsx-runtime.mjs";
|
|
2
|
+
import { useContext as w, useMemo as R } from "react";
|
|
3
|
+
import { ConfigContext as y } from "../../ConfigProvider/ConfigProvider.mjs";
|
|
4
|
+
import { ContentState as h } from "../../ContentState/ContentState.mjs";
|
|
5
|
+
import { Row as j } from "../Row/Row.mjs";
|
|
6
|
+
import { Wrapper as S } from "./styles.mjs";
|
|
7
|
+
import { useLogic as C } from "./useLogic/useLogic.mjs";
|
|
8
|
+
const N = (e) => {
|
|
9
|
+
const { imagesMap: m } = w(y), { isNoData: a, contentStateProps: p } = C(e), {
|
|
10
|
+
rows: r,
|
|
13
11
|
selectedRows: s = [],
|
|
14
12
|
isLoading: D,
|
|
15
|
-
isError:
|
|
13
|
+
isError: E,
|
|
16
14
|
errorMsg: c,
|
|
17
15
|
minDisplayRows: d,
|
|
18
|
-
keyId:
|
|
16
|
+
keyId: o,
|
|
19
17
|
noDataPlaceholder: l,
|
|
20
18
|
onRetry: f,
|
|
21
19
|
...n
|
|
22
|
-
} = e,
|
|
23
|
-
const
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
-
|
|
20
|
+
} = e, g = R(() => r.map(({ children: I, options: u, ...i }) => {
|
|
21
|
+
const x = i[o];
|
|
22
|
+
return /* @__PURE__ */ t.jsx(
|
|
23
|
+
j,
|
|
26
24
|
{
|
|
27
25
|
row: i,
|
|
28
26
|
selectedRows: s,
|
|
29
27
|
options: u,
|
|
30
|
-
keyId:
|
|
31
|
-
level: S,
|
|
32
|
-
nestedChildren: g,
|
|
28
|
+
keyId: o,
|
|
33
29
|
...n
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
},
|
|
31
|
+
x
|
|
32
|
+
);
|
|
33
|
+
}), [r, o, s, n]);
|
|
34
|
+
return /* @__PURE__ */ t.jsx(S, { $isEmpty: a, $minDisplayRows: d, children: /* @__PURE__ */ t.jsx(
|
|
35
|
+
h,
|
|
39
36
|
{
|
|
40
|
-
...
|
|
37
|
+
...p,
|
|
41
38
|
errorState: {
|
|
42
39
|
imgAlt: "Что-то пошло не так",
|
|
43
40
|
errorList: [c || ""],
|
|
44
41
|
imgSrc: m.defaultErrorImgSrc,
|
|
45
42
|
onRetry: f
|
|
46
43
|
},
|
|
47
|
-
children:
|
|
44
|
+
children: r.length ? g : l
|
|
48
45
|
}
|
|
49
46
|
) });
|
|
50
47
|
};
|
|
51
48
|
export {
|
|
52
|
-
|
|
49
|
+
N as Body
|
|
53
50
|
};
|
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
import { MIN_ROW_HEIGHT as t } from "../constants.mjs";
|
|
12
|
+
import i from "../../../node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/styled.mjs";
|
|
13
|
+
const f = i("ul", {
|
|
4
14
|
shouldForwardProp: (o) => !["$isEmpty", "$minDisplayRows"].includes(o.toString())
|
|
5
15
|
})`
|
|
6
16
|
overflow-y: auto;
|
|
7
17
|
|
|
8
|
-
height: ${({ $isEmpty: o, $minDisplayRows: r }) => o ? `${
|
|
18
|
+
height: ${({ $isEmpty: o, $minDisplayRows: r }) => o ? `${t * r}px` : "100%"};
|
|
9
19
|
margin: 0;
|
|
10
20
|
padding: 0;
|
|
11
21
|
|
|
12
22
|
list-style-type: none;
|
|
13
23
|
`;
|
|
14
24
|
export {
|
|
15
|
-
|
|
25
|
+
f as Wrapper
|
|
16
26
|
};
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
import { MIN_ROW_HEIGHT as o } from "../constants.mjs";
|
|
3
12
|
import { alignToJustifyContent as r } from "../utils/alignToJustifyContent/alignToJustifyContent.mjs";
|
|
4
|
-
|
|
13
|
+
import p from "../../../node_modules/.pnpm/@mui_material@6.4.5_@emotion_react@11.14.0_@types_react@19.0.10_react@19.0.0__@emotion__861faf9ddc4761e7658ec96cff5e306a/node_modules/@mui/material/styles/styled.mjs";
|
|
14
|
+
const u = p("div", {
|
|
5
15
|
shouldForwardProp: (i) => !["$align", "$isDisabled", "$hasStartAdornment"].includes(i.toString())
|
|
6
16
|
})`
|
|
7
17
|
overflow: hidden;
|
|
@@ -9,11 +19,11 @@ const s = o("div", {
|
|
|
9
19
|
align-items: center;
|
|
10
20
|
justify-content: ${({ $align: i }) => r(i)};
|
|
11
21
|
|
|
12
|
-
min-height: ${
|
|
22
|
+
min-height: ${o}px;
|
|
13
23
|
padding: ${({ theme: i, $hasStartAdornment: t }) => t ? i.spacing(1, 2, 1, 0) : i.spacing(1, 2)};
|
|
14
24
|
|
|
15
25
|
opacity: ${({ $isDisabled: i }) => i ? 0.5 : 1};
|
|
16
26
|
`;
|
|
17
27
|
export {
|
|
18
|
-
|
|
28
|
+
u as Wrapper
|
|
19
29
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NoDataProps } from './NoData';
|
|
3
|
-
import { Variant } from './enums';
|
|
4
3
|
import { CellValue, DataGridColumns, DataGridRow, DataGridRowWithOptions, DataGridSort } from './types';
|
|
5
4
|
export type DataGridProps<TData extends Record<string, CellValue> = DataGridRow, TSortField extends keyof TData = keyof TData> = {
|
|
6
5
|
/**
|
|
@@ -67,58 +66,6 @@ export type DataGridProps<TData extends Record<string, CellValue> = DataGridRow,
|
|
|
67
66
|
* Текст ошибки
|
|
68
67
|
*/
|
|
69
68
|
errorMsg?: string;
|
|
70
|
-
/**
|
|
71
|
-
* Вариант отображения вложенных элементов
|
|
72
|
-
* @default 'tree'
|
|
73
|
-
*/
|
|
74
|
-
variant?: `${Variant}`;
|
|
75
|
-
/**
|
|
76
|
-
* Опции для отображения древовидных списков
|
|
77
|
-
* Применяется если variant="tree"
|
|
78
|
-
*/
|
|
79
|
-
tree?: {
|
|
80
|
-
/**
|
|
81
|
-
* Если true, то дерево будет раскрыто по умолчанию
|
|
82
|
-
* @default 'false'
|
|
83
|
-
*/
|
|
84
|
-
isInitialExpanded?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Уровень раскрытия дерева по умолчанию, при `isInitialExpanded=true`
|
|
87
|
-
* @default '1'
|
|
88
|
-
*/
|
|
89
|
-
expandedLevel?: number;
|
|
90
|
-
/**
|
|
91
|
-
* Количество отображаемых по умолчанию дочерних элементов
|
|
92
|
-
* @default '2'
|
|
93
|
-
*/
|
|
94
|
-
initialVisibleChildrenCount?: number;
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Опции для отображения вложенных списков
|
|
98
|
-
* Применяется если variant="subrows"
|
|
99
|
-
*/
|
|
100
|
-
subrows?: {
|
|
101
|
-
/**
|
|
102
|
-
* Уровень раскрытия дочерних элементов по умолчанию, при `isInitialExpanded=true`
|
|
103
|
-
* @default '1'
|
|
104
|
-
*/
|
|
105
|
-
expandedLevel?: number;
|
|
106
|
-
/**
|
|
107
|
-
* Количество отображаемых по умолчанию дочерних элементов
|
|
108
|
-
* @default '2'
|
|
109
|
-
*/
|
|
110
|
-
initialVisibleChildrenCount?: number;
|
|
111
|
-
/**
|
|
112
|
-
* Номер колонки, в которой будет расположена кнопка "Показать все"
|
|
113
|
-
* @default 1
|
|
114
|
-
*/
|
|
115
|
-
moreButtonColumnPosition?: number;
|
|
116
|
-
/**
|
|
117
|
-
* Если false, кнопка разворачивания элементов не показывается
|
|
118
|
-
* @default true
|
|
119
|
-
*/
|
|
120
|
-
isVisibleCollapseButton?: boolean;
|
|
121
|
-
};
|
|
122
69
|
/**
|
|
123
70
|
* Заглушка для пустых ячеек (если отсутствует field и filter и renderCell)
|
|
124
71
|
* @default '—'
|
|
@@ -1,90 +1,68 @@
|
|
|
1
1
|
import { j as o } from "../../_virtual/jsx-runtime.mjs";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { ConfigContext as
|
|
4
|
-
import { Body as
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const co = (e) => {
|
|
15
|
-
const {
|
|
16
|
-
isDataGridDisabled: t,
|
|
17
|
-
treeRenderConfig: s,
|
|
18
|
-
headProps: l,
|
|
19
|
-
bodyProps: m,
|
|
20
|
-
loaderProps: d,
|
|
21
|
-
renderRows: p
|
|
22
|
-
} = K(e), { emptySymbol: c } = S(H), {
|
|
23
|
-
columns: D,
|
|
2
|
+
import { useContext as I, useCallback as S } from "react";
|
|
3
|
+
import { ConfigContext as _ } from "../ConfigProvider/ConfigProvider.mjs";
|
|
4
|
+
import { Body as k } from "./Body/Body.mjs";
|
|
5
|
+
import { Head as E } from "./Head/Head.mjs";
|
|
6
|
+
import { Loader as H } from "./Loader/Loader.mjs";
|
|
7
|
+
import { NoData as N } from "./NoData/NoData.mjs";
|
|
8
|
+
import { MIN_DISPLAY_ROWS_BY_DEFAULT as W } from "./constants.mjs";
|
|
9
|
+
import { Container as v, DisabledDataGridWrapper as A, DataGridWrapper as B } from "./styles.mjs";
|
|
10
|
+
import { useLogic as M } from "./useLogic/useLogic.mjs";
|
|
11
|
+
const K = (e) => {
|
|
12
|
+
const { isDataGridDisabled: t, headProps: n, bodyProps: m, loaderProps: d, renderRows: l } = M(e), { emptySymbol: p } = I(_), {
|
|
13
|
+
columns: c,
|
|
24
14
|
selectedRows: f = [],
|
|
25
|
-
sorting:
|
|
26
|
-
maxHeight:
|
|
27
|
-
minDisplayRows:
|
|
28
|
-
errorMsg:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
noDataPlaceholder: a,
|
|
15
|
+
sorting: x,
|
|
16
|
+
maxHeight: D,
|
|
17
|
+
minDisplayRows: u = W,
|
|
18
|
+
errorMsg: h,
|
|
19
|
+
footer: a,
|
|
20
|
+
noDataPlaceholder: s,
|
|
32
21
|
isLoading: r,
|
|
33
|
-
isError:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
expandedLevel: A = X,
|
|
46
|
-
initialVisibleChildrenCount: B = M
|
|
47
|
-
} = s || {}, v = t ? z : J, G = V(() => r ? null : a || /* @__PURE__ */ o.jsx(F, { ...n }), [a, n, r]);
|
|
48
|
-
return /* @__PURE__ */ o.jsx(U, { children: /* @__PURE__ */ o.jsxs(q, { $maxHeight: x, className: j, children: [
|
|
49
|
-
/* @__PURE__ */ o.jsxs(v, { inert: t ? !0 : void 0, children: [
|
|
22
|
+
isError: j,
|
|
23
|
+
keyId: y,
|
|
24
|
+
activeRowId: C,
|
|
25
|
+
emptyCellValue: R = p,
|
|
26
|
+
className: g,
|
|
27
|
+
onRowClick: P,
|
|
28
|
+
onSort: b,
|
|
29
|
+
noDataOptions: i,
|
|
30
|
+
onRetry: w
|
|
31
|
+
} = e, L = t ? A : B, G = S(() => r ? null : s || /* @__PURE__ */ o.jsx(N, { ...i }), [s, i, r]);
|
|
32
|
+
return /* @__PURE__ */ o.jsxs(v, { $maxHeight: D, className: g, children: [
|
|
33
|
+
/* @__PURE__ */ o.jsxs(L, { inert: t ? !0 : void 0, children: [
|
|
50
34
|
/* @__PURE__ */ o.jsx(
|
|
51
|
-
|
|
35
|
+
E,
|
|
52
36
|
{
|
|
53
|
-
...
|
|
54
|
-
sorting:
|
|
55
|
-
onSort:
|
|
37
|
+
...n,
|
|
38
|
+
sorting: x,
|
|
39
|
+
onSort: b
|
|
56
40
|
}
|
|
57
41
|
),
|
|
58
42
|
/* @__PURE__ */ o.jsx(
|
|
59
|
-
|
|
43
|
+
k,
|
|
60
44
|
{
|
|
61
45
|
...m,
|
|
62
|
-
activeRowId:
|
|
63
|
-
keyId:
|
|
46
|
+
activeRowId: C,
|
|
47
|
+
keyId: y,
|
|
64
48
|
selectedRows: f,
|
|
65
|
-
minDisplayRows:
|
|
66
|
-
rows:
|
|
67
|
-
columns:
|
|
68
|
-
|
|
69
|
-
emptyCellValue: b,
|
|
70
|
-
isInitialExpanded: w,
|
|
71
|
-
expandedLevel: A,
|
|
72
|
-
initialVisibleChildrenCount: B,
|
|
73
|
-
moreButtonColumnPosition: y,
|
|
74
|
-
isVisibleCollapseButton: T,
|
|
49
|
+
minDisplayRows: u,
|
|
50
|
+
rows: l,
|
|
51
|
+
columns: c,
|
|
52
|
+
emptyCellValue: R,
|
|
75
53
|
isLoading: r,
|
|
76
|
-
isError:
|
|
77
|
-
errorMsg:
|
|
54
|
+
isError: j,
|
|
55
|
+
errorMsg: h,
|
|
78
56
|
noDataPlaceholder: G(),
|
|
79
|
-
onRowClick:
|
|
80
|
-
onRetry:
|
|
57
|
+
onRowClick: P,
|
|
58
|
+
onRetry: w
|
|
81
59
|
}
|
|
82
60
|
)
|
|
83
61
|
] }),
|
|
84
|
-
/* @__PURE__ */ o.jsx(
|
|
85
|
-
|
|
86
|
-
] })
|
|
62
|
+
/* @__PURE__ */ o.jsx(H, { ...d }),
|
|
63
|
+
a && a
|
|
64
|
+
] });
|
|
87
65
|
};
|
|
88
66
|
export {
|
|
89
|
-
|
|
67
|
+
K as DataGrid
|
|
90
68
|
};
|