@max-ts/components 0.1.1 → 0.2.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/jsx-runtime.cjs +1 -0
- package/lib/_virtual/jsx-runtime.mjs +5 -0
- package/lib/_virtual/jsx-runtime2.cjs +1 -0
- package/lib/_virtual/jsx-runtime2.mjs +4 -0
- package/lib/_virtual/react-jsx-runtime.development.cjs +1 -0
- package/lib/_virtual/react-jsx-runtime.development.mjs +4 -0
- package/lib/_virtual/react-jsx-runtime.production.cjs +1 -0
- package/lib/_virtual/react-jsx-runtime.production.mjs +4 -0
- package/lib/components/Accordion/Accordion.cjs +1 -0
- package/lib/components/Accordion/Accordion.d.ts +39 -0
- package/lib/components/Accordion/Accordion.mjs +35 -0
- package/lib/components/Accordion/styles.cjs +17 -0
- package/lib/components/Accordion/styles.d.ts +21 -0
- package/lib/components/Accordion/styles.mjs +25 -0
- package/lib/components/ActionCell/ActionCell.cjs +1 -0
- package/lib/components/ActionCell/ActionCell.d.ts +24 -0
- package/lib/components/ActionCell/ActionCell.mjs +40 -0
- package/lib/components/ActionCell/MainAction/MainAction.cjs +1 -0
- package/lib/components/ActionCell/MainAction/MainAction.d.ts +13 -0
- package/lib/components/ActionCell/MainAction/MainAction.mjs +78 -0
- package/lib/components/ActionCell/SecondaryAction/SecondaryActions.cjs +1 -0
- package/lib/components/ActionCell/SecondaryAction/SecondaryActions.d.ts +13 -0
- package/lib/components/ActionCell/SecondaryAction/SecondaryActions.mjs +34 -0
- package/lib/components/ActionCell/styles.cjs +4 -0
- package/lib/components/ActionCell/styles.d.ts +1 -0
- package/lib/components/ActionCell/styles.mjs +8 -0
- package/lib/components/ActionCell/types.d.ts +66 -0
- package/lib/components/ActionCell/useLogic/useLogic.cjs +1 -0
- package/lib/components/ActionCell/useLogic/useLogic.d.ts +11 -0
- package/lib/components/ActionCell/useLogic/useLogic.mjs +23 -0
- package/lib/components/AsyncAutocomplete/AsyncAutocomplete.cjs +1 -0
- package/lib/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +61 -0
- package/lib/components/AsyncAutocomplete/AsyncAutocomplete.mjs +45 -0
- package/lib/components/AsyncAutocomplete/constants.cjs +1 -0
- package/lib/components/AsyncAutocomplete/constants.mjs +7 -0
- package/lib/components/AsyncAutocomplete/useLogic/useLogic.cjs +1 -0
- package/lib/components/AsyncAutocomplete/useLogic/useLogic.d.ts +12 -0
- package/lib/components/AsyncAutocomplete/useLogic/useLogic.mjs +47 -0
- package/lib/components/Autocomplete/Autocomplete.cjs +1 -0
- package/lib/components/Autocomplete/Autocomplete.d.ts +47 -0
- package/lib/components/Autocomplete/Autocomplete.mjs +134 -0
- package/lib/components/Autocomplete/constants.cjs +1 -0
- package/lib/components/Autocomplete/constants.mjs +5 -0
- package/lib/components/Autocomplete/enums.cjs +1 -0
- package/lib/components/Autocomplete/enums.mjs +4 -0
- package/lib/components/Autocomplete/styles.cjs +7 -0
- package/lib/components/Autocomplete/styles.d.ts +7 -0
- package/lib/components/Autocomplete/styles.mjs +12 -0
- package/lib/components/Autocomplete/useLogic/useLogic.cjs +1 -0
- package/lib/components/Autocomplete/useLogic/useLogic.d.ts +15 -0
- package/lib/components/Autocomplete/useLogic/useLogic.mjs +34 -0
- package/lib/components/Autocomplete/useLogic/utils/checkIsInputEmpty/checkIsInputEmpty.cjs +1 -0
- package/lib/components/Autocomplete/useLogic/utils/checkIsInputEmpty/checkIsInputEmpty.mjs +4 -0
- package/lib/components/Badge/Badge.cjs +1 -0
- package/lib/components/Badge/Badge.d.ts +18 -0
- package/lib/components/Badge/Badge.mjs +23 -0
- package/lib/components/Badge/styles.cjs +21 -0
- package/lib/components/Badge/styles.d.ts +8 -0
- package/lib/components/Badge/styles.mjs +73 -0
- package/lib/components/BottomDrawer/BottomDrawer.cjs +1 -0
- package/lib/components/BottomDrawer/BottomDrawer.d.ts +15 -0
- package/lib/components/BottomDrawer/BottomDrawer.mjs +26 -0
- package/lib/components/BottomDrawer/constants.cjs +1 -0
- package/lib/components/BottomDrawer/constants.mjs +5 -0
- package/lib/components/BottomDrawer/styles.cjs +26 -0
- package/lib/components/BottomDrawer/styles.d.ts +20 -0
- package/lib/components/BottomDrawer/styles.mjs +34 -0
- package/lib/components/Button/Button.cjs +1 -0
- package/lib/components/Button/Button.d.ts +35 -0
- package/lib/components/Button/Button.mjs +38 -0
- package/lib/components/Button/constants.cjs +1 -0
- package/lib/components/Button/constants.mjs +4 -0
- package/lib/components/Button/enums.cjs +1 -0
- package/lib/components/Button/enums.mjs +7 -0
- package/lib/components/Button/styles.cjs +10 -0
- package/lib/components/Button/styles.d.ts +5 -0
- package/lib/components/Button/styles.mjs +17 -0
- package/lib/components/Button/types.d.ts +19 -0
- package/lib/components/Button/useLogic/useLogic.cjs +1 -0
- package/lib/components/Button/useLogic/useLogic.d.ts +5 -0
- package/lib/components/Button/useLogic/useLogic.mjs +9 -0
- package/lib/components/Checkbox/Checkbox.cjs +1 -0
- package/lib/components/Checkbox/Checkbox.d.ts +9 -0
- package/lib/components/Checkbox/Checkbox.mjs +24 -0
- package/lib/components/Checkbox/icons.cjs +1 -0
- package/lib/components/Checkbox/icons.d.ts +4 -0
- package/lib/components/Checkbox/icons.mjs +45 -0
- package/lib/components/Checkbox/styles.cjs +59 -0
- package/lib/components/Checkbox/styles.d.ts +5 -0
- package/lib/components/Checkbox/styles.mjs +65 -0
- package/lib/components/CheckboxField/CheckboxField.cjs +1 -0
- package/lib/components/CheckboxField/CheckboxField.d.ts +24 -0
- package/lib/components/CheckboxField/CheckboxField.mjs +41 -0
- package/lib/components/CheckboxField/styles.cjs +5 -0
- package/lib/components/CheckboxField/styles.d.ts +8 -0
- package/lib/components/CheckboxField/styles.mjs +12 -0
- package/lib/components/Chevron/Chevron.cjs +1 -0
- package/lib/components/Chevron/Chevron.d.ts +7 -0
- package/lib/components/Chevron/Chevron.mjs +6 -0
- package/lib/components/Chevron/styles.cjs +6 -0
- package/lib/components/Chevron/styles.d.ts +5 -0
- package/lib/components/Chevron/styles.mjs +16 -0
- package/lib/components/CircularProgress/CircularProgress.cjs +1 -0
- package/lib/components/CircularProgress/CircularProgress.d.ts +19 -0
- package/lib/components/CircularProgress/CircularProgress.mjs +18 -0
- package/lib/components/CircularProgress/constants.cjs +1 -0
- package/lib/components/CircularProgress/constants.mjs +4 -0
- package/lib/components/CircularProgress/useLogic/useLogic.cjs +1 -0
- package/lib/components/CircularProgress/useLogic/useLogic.d.ts +6 -0
- package/lib/components/CircularProgress/useLogic/useLogic.mjs +4 -0
- package/lib/components/Collapse/Collapse.cjs +1 -0
- package/lib/components/Collapse/Collapse.d.ts +4 -0
- package/lib/components/Collapse/Collapse.mjs +6 -0
- package/lib/components/ConfigProvider/ConfigProvider.cjs +2 -0
- package/lib/components/ConfigProvider/ConfigProvider.d.ts +91 -0
- package/lib/components/ConfigProvider/ConfigProvider.mjs +53 -0
- package/lib/components/ConfirmAction/ConfirmAction.cjs +1 -0
- package/lib/components/ConfirmAction/ConfirmAction.d.ts +38 -0
- package/lib/components/ConfirmAction/ConfirmAction.mjs +43 -0
- package/lib/components/ConfirmAction/constants.cjs +1 -0
- package/lib/components/ConfirmAction/constants.mjs +11 -0
- package/lib/components/ConfirmAction/styles.cjs +10 -0
- package/lib/components/ConfirmAction/styles.d.ts +16 -0
- package/lib/components/ConfirmAction/styles.mjs +17 -0
- package/lib/components/ConfirmAction/useLogic/useLogic.cjs +1 -0
- package/lib/components/ConfirmAction/useLogic/useLogic.d.ts +22 -0
- package/lib/components/ConfirmAction/useLogic/useLogic.mjs +36 -0
- package/lib/components/ConfirmDialog/ConfirmDialog.cjs +1 -0
- package/lib/components/ConfirmDialog/ConfirmDialog.d.ts +37 -0
- package/lib/components/ConfirmDialog/ConfirmDialog.mjs +26 -0
- package/lib/components/ConfirmDialog/styles.cjs +5 -0
- package/lib/components/ConfirmDialog/styles.d.ts +9 -0
- package/lib/components/ConfirmDialog/styles.mjs +10 -0
- package/lib/components/ConfirmDialog/useLogic/useLogic.cjs +1 -0
- package/lib/components/ConfirmDialog/useLogic/useLogic.d.ts +10 -0
- package/lib/components/ConfirmDialog/useLogic/useLogic.mjs +12 -0
- package/lib/components/Container/Container.cjs +1 -0
- package/lib/components/Container/Container.d.ts +8 -0
- package/lib/components/Container/Container.mjs +6 -0
- package/lib/components/Container/styles.cjs +19 -0
- package/lib/components/Container/styles.d.ts +24 -0
- package/lib/components/Container/styles.mjs +48 -0
- package/lib/components/ContentState/ContentState.cjs +1 -0
- package/lib/components/ContentState/ContentState.d.ts +36 -0
- package/lib/components/ContentState/ContentState.mjs +49 -0
- package/lib/components/ContentState/styles.cjs +9 -0
- package/lib/components/ContentState/styles.d.ts +1 -0
- package/lib/components/ContentState/styles.mjs +13 -0
- package/lib/components/ContentState/types.d.ts +29 -0
- package/lib/components/CopyTypography/CopyTypography.cjs +1 -0
- package/lib/components/CopyTypography/CopyTypography.d.ts +17 -0
- package/lib/components/CopyTypography/CopyTypography.mjs +32 -0
- package/lib/components/CopyTypography/enums.cjs +1 -0
- package/lib/components/CopyTypography/enums.mjs +4 -0
- package/lib/components/CopyTypography/styles.cjs +18 -0
- package/lib/components/CopyTypography/styles.d.ts +17 -0
- package/lib/components/CopyTypography/styles.mjs +27 -0
- package/lib/components/CopyTypography/useLogic/useLogic.cjs +1 -0
- package/lib/components/CopyTypography/useLogic/useLogic.d.ts +10 -0
- package/lib/components/CopyTypography/useLogic/useLogic.mjs +20 -0
- package/lib/components/DataGrid/Body/Body.cjs +1 -0
- package/lib/components/DataGrid/Body/Body.d.ts +99 -0
- package/lib/components/DataGrid/Body/Body.mjs +53 -0
- package/lib/components/DataGrid/Body/styles.cjs +9 -0
- package/lib/components/DataGrid/Body/styles.d.ts +4 -0
- package/lib/components/DataGrid/Body/styles.mjs +16 -0
- package/lib/components/DataGrid/Body/useLogic/useLogic.cjs +1 -0
- package/lib/components/DataGrid/Body/useLogic/useLogic.d.ts +11 -0
- package/lib/components/DataGrid/Body/useLogic/useLogic.mjs +17 -0
- package/lib/components/DataGrid/Cell/Cell.cjs +1 -0
- package/lib/components/DataGrid/Cell/Cell.d.ts +26 -0
- package/lib/components/DataGrid/Cell/Cell.mjs +25 -0
- package/lib/components/DataGrid/Cell/styles.cjs +11 -0
- package/lib/components/DataGrid/Cell/styles.d.ts +8 -0
- package/lib/components/DataGrid/Cell/styles.mjs +19 -0
- package/lib/components/DataGrid/Cell/useLogic/useLogic.cjs +1 -0
- package/lib/components/DataGrid/Cell/useLogic/useLogic.d.ts +8 -0
- package/lib/components/DataGrid/Cell/useLogic/useLogic.mjs +13 -0
- package/lib/components/DataGrid/DataGrid.cjs +1 -0
- package/lib/components/DataGrid/DataGrid.d.ts +154 -0
- package/lib/components/DataGrid/DataGrid.mjs +90 -0
- package/lib/components/DataGrid/DataGridContext/DataGridContext.cjs +1 -0
- package/lib/components/DataGrid/DataGridContext/DataGridContext.d.ts +7 -0
- package/lib/components/DataGrid/DataGridContext/DataGridContext.mjs +12 -0
- package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.cjs +1 -0
- package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +6 -0
- package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.mjs +41 -0
- package/lib/components/DataGrid/Head/Head.cjs +1 -0
- package/lib/components/DataGrid/Head/Head.d.ts +37 -0
- package/lib/components/DataGrid/Head/Head.mjs +35 -0
- package/lib/components/DataGrid/Head/styles.cjs +12 -0
- package/lib/components/DataGrid/Head/styles.d.ts +4 -0
- package/lib/components/DataGrid/Head/styles.mjs +20 -0
- package/lib/components/DataGrid/Head/useLogic/useLogic.cjs +1 -0
- package/lib/components/DataGrid/Head/useLogic/useLogic.d.ts +12 -0
- package/lib/components/DataGrid/Head/useLogic/useLogic.mjs +39 -0
- package/lib/components/DataGrid/HeadCell/HeadCell.cjs +1 -0
- package/lib/components/DataGrid/HeadCell/HeadCell.d.ts +18 -0
- package/lib/components/DataGrid/HeadCell/HeadCell.mjs +32 -0
- package/lib/components/DataGrid/HeadCell/styles.cjs +21 -0
- package/lib/components/DataGrid/HeadCell/styles.d.ts +22 -0
- package/lib/components/DataGrid/HeadCell/styles.mjs +30 -0
- package/lib/components/DataGrid/HeadCell/useLogic/useLogic.cjs +1 -0
- package/lib/components/DataGrid/HeadCell/useLogic/useLogic.d.ts +10 -0
- package/lib/components/DataGrid/HeadCell/useLogic/useLogic.mjs +16 -0
- package/lib/components/DataGrid/Loader/Loader.cjs +1 -0
- package/lib/components/DataGrid/Loader/Loader.mjs +14 -0
- package/lib/components/DataGrid/Loader/styles.cjs +16 -0
- package/lib/components/DataGrid/Loader/styles.d.ts +4 -0
- package/lib/components/DataGrid/Loader/styles.mjs +24 -0
- package/lib/components/DataGrid/NoData/NoData.cjs +1 -0
- package/lib/components/DataGrid/NoData/NoData.d.ts +34 -0
- package/lib/components/DataGrid/NoData/NoData.mjs +29 -0
- package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.cjs +1 -0
- package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.d.ts +55 -0
- package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.mjs +72 -0
- package/lib/components/DataGrid/Row/NestedChildren/styles.cjs +54 -0
- package/lib/components/DataGrid/Row/NestedChildren/styles.d.ts +20 -0
- package/lib/components/DataGrid/Row/NestedChildren/styles.mjs +68 -0
- package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.cjs +1 -0
- package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.d.ts +18 -0
- package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.mjs +27 -0
- package/lib/components/DataGrid/Row/Row.cjs +1 -0
- package/lib/components/DataGrid/Row/Row.d.ts +91 -0
- package/lib/components/DataGrid/Row/Row.mjs +159 -0
- package/lib/components/DataGrid/Row/RowContext/RowContext.cjs +1 -0
- package/lib/components/DataGrid/Row/RowContext/RowContext.d.ts +7 -0
- package/lib/components/DataGrid/Row/RowContext/RowContext.mjs +11 -0
- package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.cjs +1 -0
- package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.d.ts +6 -0
- package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.mjs +25 -0
- package/lib/components/DataGrid/Row/constants.cjs +1 -0
- package/lib/components/DataGrid/Row/constants.mjs +5 -0
- package/lib/components/DataGrid/Row/styles.cjs +80 -0
- package/lib/components/DataGrid/Row/styles.d.ts +31 -0
- package/lib/components/DataGrid/Row/styles.mjs +102 -0
- package/lib/components/DataGrid/Row/useLogic/useLogic.cjs +1 -0
- package/lib/components/DataGrid/Row/useLogic/useLogic.d.ts +35 -0
- package/lib/components/DataGrid/Row/useLogic/useLogic.mjs +79 -0
- package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.cjs +1 -0
- package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.d.ts +4 -0
- package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.mjs +8 -0
- package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.cjs +1 -0
- package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.d.ts +2 -0
- package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.mjs +14 -0
- package/lib/components/DataGrid/Row/utils/checkIsDisabled/checkIsDisabled.cjs +1 -0
- package/lib/components/DataGrid/Row/utils/checkIsDisabled/checkIsDisabled.mjs +4 -0
- package/lib/components/DataGrid/constants.cjs +1 -0
- package/lib/components/DataGrid/constants.mjs +9 -0
- package/lib/components/DataGrid/enums.cjs +1 -0
- package/lib/components/DataGrid/enums.mjs +5 -0
- package/lib/components/DataGrid/faker.d.ts +24 -0
- package/lib/components/DataGrid/styles.cjs +22 -0
- package/lib/components/DataGrid/styles.d.ts +5 -0
- package/lib/components/DataGrid/styles.mjs +30 -0
- package/lib/components/DataGrid/types.d.ts +91 -0
- package/lib/components/DataGrid/useLogic/useLogic.cjs +1 -0
- package/lib/components/DataGrid/useLogic/useLogic.d.ts +32 -0
- package/lib/components/DataGrid/useLogic/useLogic.mjs +79 -0
- package/lib/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.cjs +1 -0
- package/lib/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.mjs +4 -0
- package/lib/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.cjs +1 -0
- package/lib/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.d.ts +5 -0
- package/lib/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.mjs +5 -0
- package/lib/components/DataGrid/utils/alignToJustifyContent/constants.cjs +1 -0
- package/lib/components/DataGrid/utils/alignToJustifyContent/constants.mjs +9 -0
- package/lib/components/DataGridActionCell/DataGridActionCell.cjs +1 -0
- package/lib/components/DataGridActionCell/DataGridActionCell.d.ts +22 -0
- package/lib/components/DataGridActionCell/DataGridActionCell.mjs +35 -0
- package/lib/components/DataGridActionCell/MainAction/MainAction.cjs +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainAction.d.ts +22 -0
- package/lib/components/DataGridActionCell/MainAction/MainAction.mjs +57 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.cjs +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.d.ts +19 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.mjs +54 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.cjs +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.d.ts +11 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.mjs +17 -0
- package/lib/components/DataGridActionCell/SecondaryAction/SecondaryAction.cjs +1 -0
- package/lib/components/DataGridActionCell/SecondaryAction/SecondaryAction.d.ts +22 -0
- package/lib/components/DataGridActionCell/SecondaryAction/SecondaryAction.mjs +34 -0
- package/lib/components/DataGridActionCell/styles.cjs +4 -0
- package/lib/components/DataGridActionCell/styles.d.ts +1 -0
- package/lib/components/DataGridActionCell/styles.mjs +8 -0
- package/lib/components/DataGridActionCell/types.d.ts +98 -0
- package/lib/components/DataGridActionCell/useLogic/useLogic.cjs +1 -0
- package/lib/components/DataGridActionCell/useLogic/useLogic.d.ts +10 -0
- package/lib/components/DataGridActionCell/useLogic/useLogic.mjs +49 -0
- package/lib/components/DataGridOld/Body/Body.d.ts +13 -0
- package/lib/components/DataGridOld/Body/styles.d.ts +1 -0
- package/lib/components/DataGridOld/Cell/Cell.d.ts +7 -0
- package/lib/components/DataGridOld/Cell/styles.d.ts +4 -0
- package/lib/components/DataGridOld/DataGridOld.d.ts +20 -0
- package/lib/components/DataGridOld/Head/Head.d.ts +7 -0
- package/lib/components/DataGridOld/Head/styles.d.ts +4 -0
- package/lib/components/DataGridOld/HeadCell/HeadCell.d.ts +5 -0
- package/lib/components/DataGridOld/HeadCell/styles.d.ts +3 -0
- package/lib/components/DataGridOld/Row/Row.d.ts +11 -0
- package/lib/components/DataGridOld/Row/styles.d.ts +5 -0
- package/lib/components/DataGridOld/State/styles.d.ts +1 -0
- package/lib/components/DataGridOld/styles.d.ts +7 -0
- package/lib/components/DataGridOld/types.d.ts +15 -0
- package/lib/components/DataGridPagination/DataGridPagination.cjs +1 -0
- package/lib/components/DataGridPagination/DataGridPagination.d.ts +25 -0
- package/lib/components/DataGridPagination/DataGridPagination.mjs +57 -0
- package/lib/components/DataGridPagination/constants.cjs +1 -0
- package/lib/components/DataGridPagination/constants.mjs +5 -0
- package/lib/components/DataGridPagination/faker.d.ts +3 -0
- package/lib/components/DataGridPagination/styles.cjs +18 -0
- package/lib/components/DataGridPagination/styles.d.ts +16 -0
- package/lib/components/DataGridPagination/styles.mjs +25 -0
- package/lib/components/DataGridPagination/useLogic/useLogic.cjs +1 -0
- package/lib/components/DataGridPagination/useLogic/useLogic.d.ts +10 -0
- package/lib/components/DataGridPagination/useLogic/useLogic.mjs +28 -0
- package/lib/components/Description/Description.cjs +1 -0
- package/lib/components/Description/Description.d.ts +34 -0
- package/lib/components/Description/Description.mjs +39 -0
- package/lib/components/Description/DescriptionContext/DescriptionContext.cjs +1 -0
- package/lib/components/Description/DescriptionContext/DescriptionContext.d.ts +6 -0
- package/lib/components/Description/DescriptionContext/DescriptionContext.mjs +10 -0
- package/lib/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.cjs +1 -0
- package/lib/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.d.ts +7 -0
- package/lib/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.mjs +11 -0
- package/lib/components/Description/Name/Name.cjs +1 -0
- package/lib/components/Description/Name/Name.d.ts +3 -0
- package/lib/components/Description/Name/Name.mjs +22 -0
- package/lib/components/Description/Name/styles.cjs +18 -0
- package/lib/components/Description/Name/styles.d.ts +6 -0
- package/lib/components/Description/Name/styles.mjs +25 -0
- package/lib/components/Description/Value/Value.cjs +1 -0
- package/lib/components/Description/Value/Value.d.ts +22 -0
- package/lib/components/Description/Value/Value.mjs +37 -0
- package/lib/components/Description/Value/styles.cjs +35 -0
- package/lib/components/Description/Value/styles.d.ts +43 -0
- package/lib/components/Description/Value/styles.mjs +47 -0
- package/lib/components/Description/Value/useLogic/useLogic.cjs +1 -0
- package/lib/components/Description/Value/useLogic/useLogic.d.ts +9 -0
- package/lib/components/Description/Value/useLogic/useLogic.mjs +11 -0
- package/lib/components/Description/constants.cjs +1 -0
- package/lib/components/Description/constants.mjs +6 -0
- package/lib/components/Description/styles.cjs +17 -0
- package/lib/components/Description/styles.d.ts +4 -0
- package/lib/components/Description/styles.mjs +23 -0
- package/lib/components/Description/useLogic/useLogic.cjs +1 -0
- package/lib/components/Description/useLogic/useLogic.d.ts +9 -0
- package/lib/components/Description/useLogic/useLogic.mjs +15 -0
- package/lib/components/DescriptionList/DescriptionList.cjs +1 -0
- package/lib/components/DescriptionList/DescriptionList.d.ts +2 -0
- package/lib/components/DescriptionList/DescriptionList.mjs +78 -0
- package/lib/components/DescriptionList/styles.cjs +30 -0
- package/lib/components/DescriptionList/styles.d.ts +22 -0
- package/lib/components/DescriptionList/styles.mjs +46 -0
- package/lib/components/DescriptionList/types.d.ts +32 -0
- package/lib/components/DescriptionList/utils/getTooltipProps/getTooltipProps.cjs +1 -0
- package/lib/components/DescriptionList/utils/getTooltipProps/getTooltipProps.mjs +4 -0
- package/lib/components/Dialog/Dialog.cjs +1 -0
- package/lib/components/Dialog/Dialog.d.ts +20 -0
- package/lib/components/Dialog/Dialog.mjs +25 -0
- package/lib/components/Dialog/constants.cjs +1 -0
- package/lib/components/Dialog/constants.mjs +10 -0
- package/lib/components/Dialog/styles.cjs +9 -0
- package/lib/components/Dialog/styles.d.ts +5 -0
- package/lib/components/Dialog/styles.mjs +16 -0
- package/lib/components/DialogActions/DialogActions.cjs +1 -0
- package/lib/components/DialogActions/DialogActions.d.ts +4 -0
- package/lib/components/DialogActions/DialogActions.mjs +10 -0
- package/lib/components/DialogActions/styles.cjs +12 -0
- package/lib/components/DialogActions/styles.d.ts +6 -0
- package/lib/components/DialogActions/styles.mjs +18 -0
- package/lib/components/DialogContent/DialogContent.cjs +1 -0
- package/lib/components/DialogContent/DialogContent.d.ts +4 -0
- package/lib/components/DialogContent/DialogContent.mjs +6 -0
- package/lib/components/DialogContent/styles.cjs +7 -0
- package/lib/components/DialogContent/styles.d.ts +2 -0
- package/lib/components/DialogContent/styles.mjs +11 -0
- package/lib/components/DialogContentText/DialogContentText.cjs +1 -0
- package/lib/components/DialogContentText/DialogContentText.d.ts +4 -0
- package/lib/components/DialogContentText/DialogContentText.mjs +6 -0
- package/lib/components/DialogContentText/styles.cjs +3 -0
- package/lib/components/DialogContentText/styles.d.ts +1 -0
- package/lib/components/DialogContentText/styles.mjs +7 -0
- package/lib/components/DialogHeader/DialogHeader.cjs +1 -0
- package/lib/components/DialogHeader/DialogHeader.d.ts +16 -0
- package/lib/components/DialogHeader/DialogHeader.mjs +39 -0
- package/lib/components/DialogHeader/styles.cjs +20 -0
- package/lib/components/DialogHeader/styles.d.ts +18 -0
- package/lib/components/DialogHeader/styles.mjs +31 -0
- package/lib/components/DialogTitle/DialogTitle.cjs +1 -0
- package/lib/components/DialogTitle/DialogTitle.d.ts +6 -0
- package/lib/components/DialogTitle/DialogTitle.mjs +28 -0
- package/lib/components/Divider/Divider.cjs +1 -0
- package/lib/components/Divider/Divider.d.ts +4 -0
- package/lib/components/Divider/Divider.mjs +6 -0
- package/lib/components/DropdownButton/DropdownButton.cjs +1 -0
- package/lib/components/DropdownButton/DropdownButton.d.ts +9 -0
- package/lib/components/DropdownButton/DropdownButton.mjs +32 -0
- package/lib/components/ErrorBoundary/ErrorBoundary.cjs +1 -0
- package/lib/components/ErrorBoundary/ErrorBoundary.d.ts +36 -0
- package/lib/components/ErrorBoundary/ErrorBoundary.mjs +33 -0
- package/lib/components/ErrorBoundary/constants.cjs +1 -0
- package/lib/components/ErrorBoundary/constants.mjs +11 -0
- package/lib/components/ErrorBoundary/enums.cjs +1 -0
- package/lib/components/ErrorBoundary/enums.mjs +4 -0
- package/lib/components/Filename/Filename.cjs +1 -0
- package/lib/components/Filename/Filename.d.ts +21 -0
- package/lib/components/Filename/Filename.mjs +34 -0
- package/lib/components/Filename/styles.cjs +11 -0
- package/lib/components/Filename/styles.d.ts +17 -0
- package/lib/components/Filename/styles.mjs +19 -0
- package/lib/components/Filename/useLogic/useLogic.cjs +1 -0
- package/lib/components/Filename/useLogic/useLogic.d.ts +16 -0
- package/lib/components/Filename/useLogic/useLogic.mjs +16 -0
- package/lib/components/Filename/useLogic/utils/findExtension/constants.cjs +1 -0
- package/lib/components/Filename/useLogic/utils/findExtension/constants.mjs +19 -0
- package/lib/components/Filename/useLogic/utils/findExtension/findExtension.cjs +1 -0
- package/lib/components/Filename/useLogic/utils/findExtension/findExtension.mjs +12 -0
- package/lib/components/Filename/useLogic/utils/truncateString/constants.cjs +1 -0
- package/lib/components/Filename/useLogic/utils/truncateString/constants.mjs +4 -0
- package/lib/components/Filename/useLogic/utils/truncateString/truncateString.cjs +1 -0
- package/lib/components/Filename/useLogic/utils/truncateString/truncateString.mjs +19 -0
- package/lib/components/FormControl/FormControl.cjs +1 -0
- package/lib/components/FormControl/FormControl.d.ts +4 -0
- package/lib/components/FormControl/FormControl.mjs +6 -0
- package/lib/components/FormControlLabel/FormControlLabel.cjs +1 -0
- package/lib/components/FormControlLabel/FormControlLabel.d.ts +2 -0
- package/lib/components/FormControlLabel/FormControlLabel.mjs +6 -0
- package/lib/components/FormControlLabel/styles.cjs +8 -0
- package/lib/components/FormControlLabel/styles.d.ts +2 -0
- package/lib/components/FormControlLabel/styles.mjs +14 -0
- package/lib/components/FormControlLabel/types.d.ts +3 -0
- package/lib/components/FormHelperText/FormHelperText.cjs +1 -0
- package/lib/components/FormHelperText/FormHelperText.d.ts +7 -0
- package/lib/components/FormHelperText/FormHelperText.mjs +12 -0
- package/lib/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.cjs +1 -0
- package/lib/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +7 -0
- package/lib/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.mjs +17 -0
- package/lib/components/FormHelperText/FormHelperTextContent/styles.cjs +14 -0
- package/lib/components/FormHelperText/FormHelperTextContent/styles.d.ts +9 -0
- package/lib/components/FormHelperText/FormHelperTextContent/styles.mjs +22 -0
- package/lib/components/FormLabel/FormLabel.cjs +1 -0
- package/lib/components/FormLabel/FormLabel.d.ts +4 -0
- package/lib/components/FormLabel/FormLabel.mjs +6 -0
- package/lib/components/FormLabel/styles.cjs +4 -0
- package/lib/components/FormLabel/styles.d.ts +1 -0
- package/lib/components/FormLabel/styles.mjs +8 -0
- package/lib/components/GuidTypography/GuidTypography.cjs +1 -0
- package/lib/components/GuidTypography/GuidTypography.d.ts +3 -0
- package/lib/components/GuidTypography/GuidTypography.mjs +6 -0
- package/lib/components/IconButton/IconButton.cjs +1 -0
- package/lib/components/IconButton/IconButton.d.ts +9 -0
- package/lib/components/IconButton/IconButton.mjs +28 -0
- package/lib/components/IconButton/styles.cjs +11 -0
- package/lib/components/IconButton/styles.d.ts +23 -0
- package/lib/components/IconButton/styles.mjs +33 -0
- package/lib/components/IconDropdownButton/IconDropdownButton.cjs +1 -0
- package/lib/components/IconDropdownButton/IconDropdownButton.d.ts +9 -0
- package/lib/components/IconDropdownButton/IconDropdownButton.mjs +25 -0
- package/lib/components/InternalErrorPlaceholder/InternalErrorPlaceholder.cjs +1 -0
- package/lib/components/InternalErrorPlaceholder/InternalErrorPlaceholder.mjs +35 -0
- package/lib/components/Link/Link.cjs +1 -0
- package/lib/components/Link/Link.d.ts +24 -0
- package/lib/components/Link/Link.mjs +18 -0
- package/lib/components/Link/styles.cjs +35 -0
- package/lib/components/Link/styles.d.ts +1 -0
- package/lib/components/Link/styles.mjs +39 -0
- package/lib/components/List/List.cjs +1 -0
- package/lib/components/List/List.d.ts +4 -0
- package/lib/components/List/List.mjs +6 -0
- package/lib/components/ListItem/ListItem.cjs +1 -0
- package/lib/components/ListItem/ListItem.d.ts +4 -0
- package/lib/components/ListItem/ListItem.mjs +6 -0
- package/lib/components/ListItem/constants.cjs +1 -0
- package/lib/components/ListItem/constants.d.ts +5 -0
- package/lib/components/ListItem/constants.mjs +4 -0
- package/lib/components/ListItem/styles.cjs +11 -0
- package/lib/components/ListItem/styles.d.ts +11 -0
- package/lib/components/ListItem/styles.mjs +25 -0
- package/lib/components/ListItemButton/ListItemButton.cjs +1 -0
- package/lib/components/ListItemButton/ListItemButton.d.ts +21 -0
- package/lib/components/ListItemButton/ListItemButton.mjs +33 -0
- package/lib/components/ListItemIcon/ListItemIcon.cjs +1 -0
- package/lib/components/ListItemIcon/ListItemIcon.d.ts +5 -0
- package/lib/components/ListItemIcon/ListItemIcon.mjs +9 -0
- package/lib/components/ListItemIcon/styles.cjs +3 -0
- package/lib/components/ListItemIcon/styles.d.ts +1 -0
- package/lib/components/ListItemIcon/styles.mjs +7 -0
- package/lib/components/ListItemText/ListItemText.cjs +1 -0
- package/lib/components/ListItemText/ListItemText.d.ts +4 -0
- package/lib/components/ListItemText/ListItemText.mjs +6 -0
- package/lib/components/ListSubheader/ListSubheader.cjs +1 -0
- package/lib/components/ListSubheader/ListSubheader.d.ts +4 -0
- package/lib/components/ListSubheader/ListSubheader.mjs +6 -0
- package/lib/components/Menu/Menu.cjs +1 -0
- package/lib/components/Menu/Menu.d.ts +9 -0
- package/lib/components/Menu/Menu.mjs +19 -0
- package/lib/components/MenuItem/MenuItem.cjs +1 -0
- package/lib/components/MenuItem/MenuItem.d.ts +28 -0
- package/lib/components/MenuItem/MenuItem.mjs +35 -0
- package/lib/components/MenuList/MenuList.cjs +1 -0
- package/lib/components/MenuList/MenuList.d.ts +2 -0
- package/lib/components/MenuList/MenuList.mjs +6 -0
- package/lib/components/MenuList/styles.cjs +8 -0
- package/lib/components/MenuList/styles.d.ts +1 -0
- package/lib/components/MenuList/styles.mjs +12 -0
- package/lib/components/MenuList/types.d.ts +3 -0
- package/lib/components/NavMenu/Item/Item.cjs +1 -0
- package/lib/components/NavMenu/Item/Item.d.ts +16 -0
- package/lib/components/NavMenu/Item/Item.mjs +44 -0
- package/lib/components/NavMenu/Item/ItemButton/ItemButton.cjs +1 -0
- package/lib/components/NavMenu/Item/ItemButton/ItemButton.d.ts +11 -0
- package/lib/components/NavMenu/Item/ItemButton/ItemButton.mjs +49 -0
- package/lib/components/NavMenu/Item/ItemButton/styles.cjs +105 -0
- package/lib/components/NavMenu/Item/ItemButton/styles.d.ts +639 -0
- package/lib/components/NavMenu/Item/ItemButton/styles.mjs +126 -0
- package/lib/components/NavMenu/Item/List/List.cjs +1 -0
- package/lib/components/NavMenu/Item/List/List.d.ts +13 -0
- package/lib/components/NavMenu/Item/List/List.mjs +23 -0
- package/lib/components/NavMenu/NavMenu.cjs +1 -0
- package/lib/components/NavMenu/NavMenu.d.ts +15 -0
- package/lib/components/NavMenu/NavMenu.mjs +10 -0
- package/lib/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.cjs +1 -0
- package/lib/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.mjs +26 -0
- package/lib/components/OverflowTypography/OverflowTypography.cjs +1 -0
- package/lib/components/OverflowTypography/OverflowTypography.d.ts +34 -0
- package/lib/components/OverflowTypography/OverflowTypography.mjs +46 -0
- package/lib/components/OverflowTypography/hooks/useOverflowed/useOverflowed.cjs +1 -0
- package/lib/components/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +5 -0
- package/lib/components/OverflowTypography/hooks/useOverflowed/useOverflowed.mjs +27 -0
- package/lib/components/OverflowTypography/styles.cjs +20 -0
- package/lib/components/OverflowTypography/styles.d.ts +35 -0
- package/lib/components/OverflowTypography/styles.mjs +30 -0
- package/lib/components/OverflowTypography/useLogic/useLogic.cjs +1 -0
- package/lib/components/OverflowTypography/useLogic/useLogic.d.ts +8 -0
- package/lib/components/OverflowTypography/useLogic/useLogic.mjs +19 -0
- package/lib/components/OverflowTypography/utils/truncateString/truncateString.cjs +1 -0
- package/lib/components/OverflowTypography/utils/truncateString/truncateString.mjs +7 -0
- package/lib/components/Pagination/Pagination.cjs +1 -0
- package/lib/components/Pagination/Pagination.d.ts +2 -0
- package/lib/components/Pagination/Pagination.mjs +6 -0
- package/lib/components/Pagination/types.d.ts +3 -0
- package/lib/components/Paper/Paper.cjs +1 -0
- package/lib/components/Paper/Paper.d.ts +14 -0
- package/lib/components/Paper/Paper.mjs +6 -0
- package/lib/components/Placeholder/Image/Image.cjs +1 -0
- package/lib/components/Placeholder/Image/Image.d.ts +21 -0
- package/lib/components/Placeholder/Image/Image.mjs +6 -0
- package/lib/components/Placeholder/Image/styles.cjs +17 -0
- package/lib/components/Placeholder/Image/styles.d.ts +4 -0
- package/lib/components/Placeholder/Image/styles.mjs +24 -0
- package/lib/components/Placeholder/Placeholder.cjs +1 -0
- package/lib/components/Placeholder/Placeholder.d.ts +45 -0
- package/lib/components/Placeholder/Placeholder.mjs +42 -0
- package/lib/components/Placeholder/constants.cjs +1 -0
- package/lib/components/Placeholder/constants.d.ts +14 -0
- package/lib/components/Placeholder/constants.mjs +28 -0
- package/lib/components/Placeholder/styles.cjs +59 -0
- package/lib/components/Placeholder/styles.d.ts +35 -0
- package/lib/components/Placeholder/styles.mjs +77 -0
- package/lib/components/Popover/Popover.cjs +1 -0
- package/lib/components/Popover/Popover.d.ts +9 -0
- package/lib/components/Popover/Popover.mjs +18 -0
- package/lib/components/ProgressBar/ProgressBar.cjs +1 -0
- package/lib/components/ProgressBar/ProgressBar.mjs +16 -0
- package/lib/components/Radio/Icon/Icon.cjs +1 -0
- package/lib/components/Radio/Icon/Icon.mjs +46 -0
- package/lib/components/Radio/Radio.cjs +1 -0
- package/lib/components/Radio/Radio.d.ts +9 -0
- package/lib/components/Radio/Radio.mjs +11 -0
- package/lib/components/Radio/constants.cjs +1 -0
- package/lib/components/Radio/constants.mjs +11 -0
- package/lib/components/Radio/styles.cjs +57 -0
- package/lib/components/Radio/styles.d.ts +5 -0
- package/lib/components/Radio/styles.mjs +64 -0
- package/lib/components/RadioField/RadioField.cjs +1 -0
- package/lib/components/RadioField/RadioField.d.ts +25 -0
- package/lib/components/RadioField/RadioField.mjs +33 -0
- package/lib/components/RadioField/styles.cjs +4 -0
- package/lib/components/RadioField/styles.d.ts +2 -0
- package/lib/components/RadioField/styles.mjs +10 -0
- package/lib/components/RadioGroup/RadioGroup.cjs +1 -0
- package/lib/components/RadioGroup/RadioGroup.d.ts +30 -0
- package/lib/components/RadioGroup/RadioGroup.mjs +43 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContext.cjs +1 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContext.d.ts +4 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContext.mjs +7 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.cjs +1 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.d.ts +6 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.mjs +6 -0
- package/lib/components/RadioGroupField/RadioGroupField.cjs +1 -0
- package/lib/components/RadioGroupField/RadioGroupField.d.ts +8 -0
- package/lib/components/RadioGroupField/RadioGroupField.mjs +14 -0
- package/lib/components/SearchField/SearchField.cjs +1 -0
- package/lib/components/SearchField/SearchField.d.ts +3 -0
- package/lib/components/SearchField/SearchField.mjs +57 -0
- package/lib/components/SearchField/styles.cjs +23 -0
- package/lib/components/SearchField/styles.d.ts +22 -0
- package/lib/components/SearchField/styles.mjs +35 -0
- package/lib/components/Select/Select.cjs +1 -0
- package/lib/components/Select/Select.d.ts +25 -0
- package/lib/components/Select/Select.mjs +125 -0
- package/lib/components/Select/constants.cjs +1 -0
- package/lib/components/Select/constants.mjs +4 -0
- package/lib/components/Select/styles.cjs +44 -0
- package/lib/components/Select/styles.d.ts +23 -0
- package/lib/components/Select/styles.mjs +56 -0
- package/lib/components/Select/useLogic/useLogic.cjs +1 -0
- package/lib/components/Select/useLogic/useLogic.d.ts +10 -0
- package/lib/components/Select/useLogic/useLogic.mjs +33 -0
- package/lib/components/Skeleton/Skeleton.cjs +1 -0
- package/lib/components/Skeleton/Skeleton.d.ts +14 -0
- package/lib/components/Skeleton/Skeleton.mjs +6 -0
- package/lib/components/Skeleton/styles.cjs +14 -0
- package/lib/components/Skeleton/styles.d.ts +1 -0
- package/lib/components/Skeleton/styles.mjs +18 -0
- package/lib/components/Switch/Switch.cjs +1 -0
- package/lib/components/Switch/Switch.d.ts +4 -0
- package/lib/components/Switch/Switch.mjs +9 -0
- package/lib/components/Switch/styles.cjs +12 -0
- package/lib/components/Switch/styles.d.ts +1 -0
- package/lib/components/Switch/styles.mjs +16 -0
- package/lib/components/Tab/Tab.cjs +1 -0
- package/lib/components/Tab/Tab.d.ts +7 -0
- package/lib/components/Tab/Tab.mjs +6 -0
- package/lib/components/Tab/styles.cjs +20 -0
- package/lib/components/Tab/styles.d.ts +1 -0
- package/lib/components/Tab/styles.mjs +24 -0
- package/lib/components/Tabs/Tabs.cjs +1 -0
- package/lib/components/Tabs/Tabs.d.ts +13 -0
- package/lib/components/Tabs/Tabs.mjs +10 -0
- package/lib/components/Tabs/styles.cjs +16 -0
- package/lib/components/Tabs/styles.d.ts +2 -0
- package/lib/components/Tabs/styles.mjs +21 -0
- package/lib/components/Tag/Tag.cjs +1 -0
- package/lib/components/Tag/Tag.d.ts +36 -0
- package/lib/components/Tag/Tag.mjs +59 -0
- package/lib/components/Tag/enums.cjs +1 -0
- package/lib/components/Tag/enums.mjs +6 -0
- package/lib/components/Tag/styles.cjs +79 -0
- package/lib/components/Tag/styles.d.ts +26 -0
- package/lib/components/Tag/styles.mjs +214 -0
- package/lib/components/Tag/types.d.ts +5 -0
- package/lib/components/TagBadge/TagBadge.cjs +1 -0
- package/lib/components/TagBadge/TagBadge.d.ts +23 -0
- package/lib/components/TagBadge/TagBadge.mjs +25 -0
- package/lib/components/TagBadge/styles.cjs +11 -0
- package/lib/components/TagBadge/styles.d.ts +5 -0
- package/lib/components/TagBadge/styles.mjs +16 -0
- package/lib/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.cjs +1 -0
- package/lib/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.d.ts +15 -0
- package/lib/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.mjs +9 -0
- package/lib/components/TagsList/Tag/Tag.cjs +1 -0
- package/lib/components/TagsList/Tag/Tag.d.ts +25 -0
- package/lib/components/TagsList/Tag/Tag.mjs +19 -0
- package/lib/components/TagsList/Tag/styles.cjs +10 -0
- package/lib/components/TagsList/Tag/styles.d.ts +11 -0
- package/lib/components/TagsList/Tag/styles.mjs +17 -0
- package/lib/components/TagsList/Tag/useLogic/useLogic.cjs +1 -0
- package/lib/components/TagsList/Tag/useLogic/useLogic.d.ts +4 -0
- package/lib/components/TagsList/Tag/useLogic/useLogic.mjs +8 -0
- package/lib/components/TagsList/TagsList.cjs +1 -0
- package/lib/components/TagsList/TagsList.d.ts +34 -0
- package/lib/components/TagsList/TagsList.mjs +34 -0
- package/lib/components/TagsList/styles.cjs +4 -0
- package/lib/components/TagsList/styles.d.ts +1 -0
- package/lib/components/TagsList/styles.mjs +8 -0
- package/lib/components/TagsList/useLogic/useLogic.cjs +1 -0
- package/lib/components/TagsList/useLogic/useLogic.d.ts +14 -0
- package/lib/components/TagsList/useLogic/useLogic.mjs +69 -0
- package/lib/components/TagsList/utils/getElementByText/getElementByText.cjs +1 -0
- package/lib/components/TagsList/utils/getElementByText/getElementByText.mjs +13 -0
- package/lib/components/TagsList/utils/getKey/getKey.cjs +1 -0
- package/lib/components/TagsList/utils/getKey/getKey.d.ts +2 -0
- package/lib/components/TagsList/utils/getKey/getKey.mjs +9 -0
- package/lib/components/TextArea/TextArea.cjs +1 -0
- package/lib/components/TextArea/TextArea.d.ts +3 -0
- package/lib/components/TextArea/TextArea.mjs +6 -0
- package/lib/components/TextField/TextField.cjs +1 -0
- package/lib/components/TextField/TextField.d.ts +28 -0
- package/lib/components/TextField/TextField.mjs +56 -0
- package/lib/components/Tooltip/Tooltip.cjs +1 -0
- package/lib/components/Tooltip/Tooltip.d.ts +16 -0
- package/lib/components/Tooltip/Tooltip.mjs +27 -0
- package/lib/components/Tooltip/constants.cjs +1 -0
- package/lib/components/Tooltip/constants.mjs +4 -0
- package/lib/components/Tooltip/styles.cjs +37 -0
- package/lib/components/Tooltip/styles.d.ts +7 -0
- package/lib/components/Tooltip/styles.mjs +46 -0
- package/lib/components/Tooltip/types.d.ts +2 -0
- package/lib/components/Typography/Typography.cjs +1 -0
- package/lib/components/Typography/Typography.d.ts +34 -0
- package/lib/components/Typography/Typography.mjs +25 -0
- package/lib/components/Typography/enums.cjs +1 -0
- package/lib/components/Typography/enums.mjs +4 -0
- package/lib/components/Typography/hooks/useTypographyColor/useTypographyColor.cjs +1 -0
- package/lib/components/Typography/hooks/useTypographyColor/useTypographyColor.d.ts +16 -0
- package/lib/components/Typography/hooks/useTypographyColor/useTypographyColor.mjs +24 -0
- package/lib/components/Typography/styles.cjs +3 -0
- package/lib/components/Typography/styles.mjs +9 -0
- package/lib/components/Typography/types.d.ts +4 -0
- package/lib/hooks/useMenu/useMenu.cjs +1 -0
- package/lib/hooks/useMenu/useMenu.d.ts +21 -0
- package/lib/hooks/useMenu/useMenu.mjs +10 -0
- package/lib/hooks/usePopover/usePopover.cjs +1 -0
- package/lib/hooks/usePopover/usePopover.d.ts +11 -0
- package/lib/hooks/usePopover/usePopover.mjs +11 -0
- package/lib/hooks/useToggle/useToggle.cjs +1 -0
- package/lib/hooks/useToggle/useToggle.mjs +12 -0
- package/lib/hooks/useViewportType/useViewportType.cjs +1 -0
- package/lib/hooks/useViewportType/useViewportType.mjs +8 -0
- package/lib/index.cjs +1 -0
- package/lib/index.mjs +215 -0
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.cjs +23 -0
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.mjs +408 -0
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.cjs +9 -0
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.mjs +35 -0
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.cjs +1 -0
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.mjs +10 -0
- package/lib/theme/baseTheme/baseTheme.cjs +1 -0
- package/lib/theme/baseTheme/baseTheme.d.ts +9 -0
- package/lib/theme/baseTheme/baseTheme.mjs +28 -0
- package/lib/theme/breakpoints.cjs +1 -0
- package/lib/theme/breakpoints.d.ts +2 -0
- package/lib/theme/breakpoints.mjs +12 -0
- package/lib/theme/components/MuiAlert.cjs +1 -0
- package/lib/theme/components/MuiAlert.d.ts +3 -0
- package/lib/theme/components/MuiAlert.mjs +67 -0
- package/lib/theme/components/MuiAutocomplete.cjs +1 -0
- package/lib/theme/components/MuiAutocomplete.d.ts +3 -0
- package/lib/theme/components/MuiAutocomplete.mjs +85 -0
- package/lib/theme/components/MuiButton.cjs +1 -0
- package/lib/theme/components/MuiButton.d.ts +32 -0
- package/lib/theme/components/MuiButton.mjs +296 -0
- package/lib/theme/components/MuiButtonBase.cjs +1 -0
- package/lib/theme/components/MuiButtonBase.d.ts +3 -0
- package/lib/theme/components/MuiButtonBase.mjs +15 -0
- package/lib/theme/components/MuiCircularProgress.cjs +1 -0
- package/lib/theme/components/MuiCircularProgress.d.ts +4 -0
- package/lib/theme/components/MuiCircularProgress.mjs +14 -0
- package/lib/theme/components/MuiDialog.cjs +1 -0
- package/lib/theme/components/MuiDialog.d.ts +3 -0
- package/lib/theme/components/MuiDialog.mjs +12 -0
- package/lib/theme/components/MuiDialogActions.cjs +1 -0
- package/lib/theme/components/MuiDialogActions.d.ts +3 -0
- package/lib/theme/components/MuiDialogActions.mjs +13 -0
- package/lib/theme/components/MuiDialogContent.cjs +1 -0
- package/lib/theme/components/MuiDialogContent.d.ts +3 -0
- package/lib/theme/components/MuiDialogContent.mjs +12 -0
- package/lib/theme/components/MuiDialogTitle.cjs +1 -0
- package/lib/theme/components/MuiDialogTitle.d.ts +3 -0
- package/lib/theme/components/MuiDialogTitle.mjs +23 -0
- package/lib/theme/components/MuiDrawer.cjs +1 -0
- package/lib/theme/components/MuiDrawer.d.ts +3 -0
- package/lib/theme/components/MuiDrawer.mjs +15 -0
- package/lib/theme/components/MuiFormHelperText.cjs +1 -0
- package/lib/theme/components/MuiFormHelperText.d.ts +4 -0
- package/lib/theme/components/MuiFormHelperText.mjs +20 -0
- package/lib/theme/components/MuiFormLabel.cjs +1 -0
- package/lib/theme/components/MuiFormLabel.d.ts +4 -0
- package/lib/theme/components/MuiFormLabel.mjs +14 -0
- package/lib/theme/components/MuiInputLabel.cjs +1 -0
- package/lib/theme/components/MuiInputLabel.d.ts +4 -0
- package/lib/theme/components/MuiInputLabel.mjs +31 -0
- package/lib/theme/components/MuiLinearProgress.cjs +1 -0
- package/lib/theme/components/MuiLinearProgress.d.ts +4 -0
- package/lib/theme/components/MuiLinearProgress.mjs +20 -0
- package/lib/theme/components/MuiListItemButton.cjs +1 -0
- package/lib/theme/components/MuiListItemButton.d.ts +3 -0
- package/lib/theme/components/MuiListItemButton.mjs +15 -0
- package/lib/theme/components/MuiListItemText.cjs +1 -0
- package/lib/theme/components/MuiListItemText.d.ts +3 -0
- package/lib/theme/components/MuiListItemText.mjs +15 -0
- package/lib/theme/components/MuiMenu.cjs +1 -0
- package/lib/theme/components/MuiMenu.d.ts +4 -0
- package/lib/theme/components/MuiMenu.mjs +31 -0
- package/lib/theme/components/MuiMenuItem.cjs +1 -0
- package/lib/theme/components/MuiMenuItem.d.ts +4 -0
- package/lib/theme/components/MuiMenuItem.mjs +30 -0
- package/lib/theme/components/MuiOutlinedInput.cjs +1 -0
- package/lib/theme/components/MuiOutlinedInput.d.ts +4 -0
- package/lib/theme/components/MuiOutlinedInput.mjs +73 -0
- package/lib/theme/components/MuiPaginationItem.cjs +1 -0
- package/lib/theme/components/MuiPaginationItem.d.ts +3 -0
- package/lib/theme/components/MuiPaginationItem.mjs +15 -0
- package/lib/theme/components/MuiPaper.cjs +1 -0
- package/lib/theme/components/MuiPaper.d.ts +3 -0
- package/lib/theme/components/MuiPaper.mjs +17 -0
- package/lib/theme/components/MuiStep.cjs +1 -0
- package/lib/theme/components/MuiStep.d.ts +3 -0
- package/lib/theme/components/MuiStep.mjs +15 -0
- package/lib/theme/components/MuiStepConnector.cjs +1 -0
- package/lib/theme/components/MuiStepConnector.d.ts +3 -0
- package/lib/theme/components/MuiStepConnector.mjs +10 -0
- package/lib/theme/components/MuiStepLabel.cjs +1 -0
- package/lib/theme/components/MuiStepLabel.d.ts +3 -0
- package/lib/theme/components/MuiStepLabel.mjs +28 -0
- package/lib/theme/components/MuiSwitch.cjs +1 -0
- package/lib/theme/components/MuiSwitch.d.ts +3 -0
- package/lib/theme/components/MuiSwitch.mjs +123 -0
- package/lib/theme/components/MuiTab.cjs +1 -0
- package/lib/theme/components/MuiTab.d.ts +3 -0
- package/lib/theme/components/MuiTab.mjs +14 -0
- package/lib/theme/components/MuiTableCell.cjs +1 -0
- package/lib/theme/components/MuiTableCell.d.ts +3 -0
- package/lib/theme/components/MuiTableCell.mjs +15 -0
- package/lib/theme/components/MuiTableHead.cjs +1 -0
- package/lib/theme/components/MuiTableHead.d.ts +3 -0
- package/lib/theme/components/MuiTableHead.mjs +14 -0
- package/lib/theme/components/MuiTableRow.cjs +1 -0
- package/lib/theme/components/MuiTableRow.d.ts +3 -0
- package/lib/theme/components/MuiTableRow.mjs +18 -0
- package/lib/theme/components/MuiTabs.cjs +1 -0
- package/lib/theme/components/MuiTabs.d.ts +3 -0
- package/lib/theme/components/MuiTabs.mjs +18 -0
- package/lib/theme/components/MuiTextField.cjs +1 -0
- package/lib/theme/components/MuiTextField.d.ts +3 -0
- package/lib/theme/components/MuiTextField.mjs +24 -0
- package/lib/theme/components/MuiToggleButton.cjs +1 -0
- package/lib/theme/components/MuiToggleButton.d.ts +3 -0
- package/lib/theme/components/MuiToggleButton.mjs +13 -0
- package/lib/theme/components/MuiToggleButtonGroup.cjs +1 -0
- package/lib/theme/components/MuiToggleButtonGroup.d.ts +3 -0
- package/lib/theme/components/MuiToggleButtonGroup.mjs +9 -0
- package/lib/theme/components/MuiTypography.cjs +1 -0
- package/lib/theme/components/MuiTypography.d.ts +21 -0
- package/lib/theme/components/MuiTypography.mjs +22 -0
- package/lib/theme/components/components.cjs +30 -0
- package/lib/theme/components/components.d.ts +21 -0
- package/lib/theme/components/components.mjs +120 -0
- package/lib/theme/constants.cjs +1 -0
- package/lib/theme/constants.mjs +4 -0
- package/lib/theme/elevation.cjs +1 -0
- package/lib/theme/elevation.mjs +10 -0
- package/lib/theme/hooks/useTheme/index.cjs +1 -0
- package/lib/theme/hooks/useTheme/index.d.ts +2 -0
- package/lib/theme/hooks/useTheme/index.mjs +5 -0
- package/lib/theme/palette/componentsColors/componentsColors.cjs +1 -0
- package/lib/theme/palette/componentsColors/componentsColors.d.ts +5 -0
- package/lib/theme/palette/componentsColors/componentsColors.mjs +7 -0
- package/lib/theme/palette/componentsColors/linkColors/linkColors.cjs +1 -0
- package/lib/theme/palette/componentsColors/linkColors/linkColors.mjs +9 -0
- package/lib/theme/palette/palette.cjs +1 -0
- package/lib/theme/palette/palette.d.ts +2 -0
- package/lib/theme/palette/palette.mjs +125 -0
- package/lib/theme/palette/types.d.ts +44 -0
- package/lib/theme/shape.cjs +1 -0
- package/lib/theme/shape.mjs +8 -0
- package/lib/theme/types.d.ts +19 -0
- package/lib/theme/typography.cjs +1 -0
- package/lib/theme/typography.d.ts +3 -0
- package/lib/theme/typography.mjs +95 -0
- package/package.json +19 -10
- package/.storybook/main.ts +0 -26
- package/.storybook/preview.ts +0 -14
- package/.turbo/turbo-build.log +0 -26
- package/.turbo/turbo-type$colon$check.log +0 -5
- package/CHANGELOG.md +0 -19
- package/dist/components/Accordion/Accordion.d.ts +0 -39
- package/dist/components/Accordion/styles.d.ts +0 -21
- package/dist/components/ActionCell/ActionCell.d.ts +0 -24
- package/dist/components/ActionCell/MainAction/MainAction.d.ts +0 -13
- package/dist/components/ActionCell/SecondaryAction/SecondaryActions.d.ts +0 -13
- package/dist/components/ActionCell/styles.d.ts +0 -1
- package/dist/components/ActionCell/types.d.ts +0 -66
- package/dist/components/ActionCell/useLogic/useLogic.d.ts +0 -11
- package/dist/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +0 -61
- package/dist/components/AsyncAutocomplete/useLogic/useLogic.d.ts +0 -12
- package/dist/components/Autocomplete/Autocomplete.d.ts +0 -47
- package/dist/components/Autocomplete/styles.d.ts +0 -7
- package/dist/components/Autocomplete/useLogic/useLogic.d.ts +0 -15
- package/dist/components/Badge/Badge.d.ts +0 -18
- package/dist/components/Badge/styles.d.ts +0 -8
- package/dist/components/BottomDrawer/BottomDrawer.d.ts +0 -15
- package/dist/components/BottomDrawer/styles.d.ts +0 -20
- package/dist/components/Button/Button.d.ts +0 -35
- package/dist/components/Button/styles.d.ts +0 -5
- package/dist/components/Button/types.d.ts +0 -19
- package/dist/components/Button/useLogic/useLogic.d.ts +0 -5
- package/dist/components/Checkbox/Checkbox.d.ts +0 -9
- package/dist/components/Checkbox/icons.d.ts +0 -4
- package/dist/components/Checkbox/styles.d.ts +0 -5
- package/dist/components/CheckboxField/CheckboxField.d.ts +0 -24
- package/dist/components/CheckboxField/styles.d.ts +0 -8
- package/dist/components/Chevron/Chevron.d.ts +0 -7
- package/dist/components/Chevron/styles.d.ts +0 -5
- package/dist/components/CircularProgress/CircularProgress.d.ts +0 -19
- package/dist/components/CircularProgress/useLogic/useLogic.d.ts +0 -6
- package/dist/components/Collapse/Collapse.d.ts +0 -4
- package/dist/components/ConfigProvider/ConfigProvider.d.ts +0 -91
- package/dist/components/ConfirmAction/ConfirmAction.d.ts +0 -38
- package/dist/components/ConfirmAction/styles.d.ts +0 -16
- package/dist/components/ConfirmAction/useLogic/useLogic.d.ts +0 -22
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +0 -37
- package/dist/components/ConfirmDialog/styles.d.ts +0 -9
- package/dist/components/ConfirmDialog/useLogic/useLogic.d.ts +0 -10
- package/dist/components/Container/Container.d.ts +0 -8
- package/dist/components/Container/styles.d.ts +0 -24
- package/dist/components/ContentState/ContentState.d.ts +0 -36
- package/dist/components/ContentState/styles.d.ts +0 -1
- package/dist/components/ContentState/types.d.ts +0 -29
- package/dist/components/CopyTypography/CopyTypography.d.ts +0 -17
- package/dist/components/CopyTypography/styles.d.ts +0 -17
- package/dist/components/CopyTypography/useLogic/useLogic.d.ts +0 -10
- package/dist/components/DataGrid/Body/Body.d.ts +0 -99
- package/dist/components/DataGrid/Body/styles.d.ts +0 -4
- package/dist/components/DataGrid/Body/useLogic/useLogic.d.ts +0 -11
- package/dist/components/DataGrid/Cell/Cell.d.ts +0 -26
- package/dist/components/DataGrid/Cell/styles.d.ts +0 -8
- package/dist/components/DataGrid/Cell/useLogic/useLogic.d.ts +0 -8
- package/dist/components/DataGrid/DataGrid.d.ts +0 -154
- package/dist/components/DataGrid/DataGridContext/DataGridContext.d.ts +0 -7
- package/dist/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +0 -6
- package/dist/components/DataGrid/Head/Head.d.ts +0 -37
- package/dist/components/DataGrid/Head/styles.d.ts +0 -4
- package/dist/components/DataGrid/Head/useLogic/useLogic.d.ts +0 -12
- package/dist/components/DataGrid/HeadCell/HeadCell.d.ts +0 -18
- package/dist/components/DataGrid/HeadCell/styles.d.ts +0 -22
- package/dist/components/DataGrid/HeadCell/useLogic/useLogic.d.ts +0 -10
- package/dist/components/DataGrid/Loader/styles.d.ts +0 -4
- package/dist/components/DataGrid/NoData/NoData.d.ts +0 -34
- package/dist/components/DataGrid/Row/NestedChildren/NestedChildren.d.ts +0 -55
- package/dist/components/DataGrid/Row/NestedChildren/styles.d.ts +0 -20
- package/dist/components/DataGrid/Row/NestedChildren/useLogic/useLogic.d.ts +0 -18
- package/dist/components/DataGrid/Row/Row.d.ts +0 -91
- package/dist/components/DataGrid/Row/RowContext/RowContext.d.ts +0 -7
- package/dist/components/DataGrid/Row/RowContext/RowProvider/RowProvider.d.ts +0 -6
- package/dist/components/DataGrid/Row/styles.d.ts +0 -31
- package/dist/components/DataGrid/Row/useLogic/useLogic.d.ts +0 -35
- package/dist/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.d.ts +0 -4
- package/dist/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.d.ts +0 -2
- package/dist/components/DataGrid/faker.d.ts +0 -24
- package/dist/components/DataGrid/styles.d.ts +0 -5
- package/dist/components/DataGrid/types.d.ts +0 -91
- package/dist/components/DataGrid/useLogic/useLogic.d.ts +0 -32
- package/dist/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.d.ts +0 -5
- package/dist/components/DataGridActionCell/DataGridActionCell.d.ts +0 -22
- package/dist/components/DataGridActionCell/MainAction/MainAction.d.ts +0 -22
- package/dist/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.d.ts +0 -19
- package/dist/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.d.ts +0 -11
- package/dist/components/DataGridActionCell/SecondaryAction/SecondaryAction.d.ts +0 -22
- package/dist/components/DataGridActionCell/styles.d.ts +0 -1
- package/dist/components/DataGridActionCell/types.d.ts +0 -98
- package/dist/components/DataGridActionCell/useLogic/useLogic.d.ts +0 -10
- package/dist/components/DataGridOld/Body/Body.d.ts +0 -13
- package/dist/components/DataGridOld/Body/styles.d.ts +0 -1
- package/dist/components/DataGridOld/Cell/Cell.d.ts +0 -7
- package/dist/components/DataGridOld/Cell/styles.d.ts +0 -4
- package/dist/components/DataGridOld/DataGridOld.d.ts +0 -20
- package/dist/components/DataGridOld/Head/Head.d.ts +0 -7
- package/dist/components/DataGridOld/Head/styles.d.ts +0 -4
- package/dist/components/DataGridOld/HeadCell/HeadCell.d.ts +0 -5
- package/dist/components/DataGridOld/HeadCell/styles.d.ts +0 -3
- package/dist/components/DataGridOld/Row/Row.d.ts +0 -11
- package/dist/components/DataGridOld/Row/styles.d.ts +0 -5
- package/dist/components/DataGridOld/State/styles.d.ts +0 -1
- package/dist/components/DataGridOld/styles.d.ts +0 -7
- package/dist/components/DataGridOld/types.d.ts +0 -15
- package/dist/components/DataGridPagination/DataGridPagination.d.ts +0 -25
- package/dist/components/DataGridPagination/faker.d.ts +0 -3
- package/dist/components/DataGridPagination/styles.d.ts +0 -16
- package/dist/components/DataGridPagination/useLogic/useLogic.d.ts +0 -10
- package/dist/components/Description/Description.d.ts +0 -34
- package/dist/components/Description/DescriptionContext/DescriptionContext.d.ts +0 -6
- package/dist/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.d.ts +0 -7
- package/dist/components/Description/Name/Name.d.ts +0 -3
- package/dist/components/Description/Name/styles.d.ts +0 -6
- package/dist/components/Description/Value/Value.d.ts +0 -22
- package/dist/components/Description/Value/styles.d.ts +0 -43
- package/dist/components/Description/Value/useLogic/useLogic.d.ts +0 -9
- package/dist/components/Description/styles.d.ts +0 -4
- package/dist/components/Description/useLogic/useLogic.d.ts +0 -9
- package/dist/components/DescriptionList/DescriptionList.d.ts +0 -2
- package/dist/components/DescriptionList/styles.d.ts +0 -22
- package/dist/components/DescriptionList/types.d.ts +0 -32
- package/dist/components/Dialog/Dialog.d.ts +0 -20
- package/dist/components/Dialog/styles.d.ts +0 -5
- package/dist/components/DialogActions/DialogActions.d.ts +0 -4
- package/dist/components/DialogActions/styles.d.ts +0 -6
- package/dist/components/DialogContent/DialogContent.d.ts +0 -4
- package/dist/components/DialogContent/styles.d.ts +0 -2
- package/dist/components/DialogContentText/DialogContentText.d.ts +0 -4
- package/dist/components/DialogContentText/styles.d.ts +0 -1
- package/dist/components/DialogHeader/DialogHeader.d.ts +0 -17
- package/dist/components/DialogHeader/styles.d.ts +0 -18
- package/dist/components/DialogTitle/DialogTitle.d.ts +0 -6
- package/dist/components/Divider/Divider.d.ts +0 -4
- package/dist/components/DropdownButton/DropdownButton.d.ts +0 -9
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +0 -36
- package/dist/components/Filename/Filename.d.ts +0 -21
- package/dist/components/Filename/styles.d.ts +0 -17
- package/dist/components/Filename/useLogic/useLogic.d.ts +0 -16
- package/dist/components/FormControl/FormControl.d.ts +0 -4
- package/dist/components/FormControlLabel/FormControlLabel.d.ts +0 -2
- package/dist/components/FormControlLabel/styles.d.ts +0 -2
- package/dist/components/FormControlLabel/types.d.ts +0 -3
- package/dist/components/FormHelperText/FormHelperText.d.ts +0 -7
- package/dist/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +0 -7
- package/dist/components/FormHelperText/FormHelperTextContent/styles.d.ts +0 -9
- package/dist/components/FormLabel/FormLabel.d.ts +0 -4
- package/dist/components/FormLabel/styles.d.ts +0 -1
- package/dist/components/GuidTypography/GuidTypography.d.ts +0 -3
- package/dist/components/IconButton/IconButton.d.ts +0 -9
- package/dist/components/IconButton/styles.d.ts +0 -23
- package/dist/components/IconDropdownButton/IconDropdownButton.d.ts +0 -9
- package/dist/components/Link/Link.d.ts +0 -24
- package/dist/components/Link/styles.d.ts +0 -1
- package/dist/components/List/List.d.ts +0 -4
- package/dist/components/ListItem/ListItem.d.ts +0 -4
- package/dist/components/ListItemButton/ListItemButton.d.ts +0 -21
- package/dist/components/ListItemIcon/ListItemIcon.d.ts +0 -5
- package/dist/components/ListItemIcon/styles.d.ts +0 -1
- package/dist/components/ListItemText/ListItemText.d.ts +0 -4
- package/dist/components/ListSubheader/ListSubheader.d.ts +0 -4
- package/dist/components/Menu/Menu.d.ts +0 -9
- package/dist/components/MenuItem/MenuItem.d.ts +0 -28
- package/dist/components/MenuList/MenuList.d.ts +0 -2
- package/dist/components/MenuList/styles.d.ts +0 -1
- package/dist/components/MenuList/types.d.ts +0 -3
- package/dist/components/NavMenu/Item/Item.d.ts +0 -16
- package/dist/components/NavMenu/Item/ItemButton/ItemButton.d.ts +0 -11
- package/dist/components/NavMenu/Item/ItemButton/styles.d.ts +0 -639
- package/dist/components/NavMenu/Item/List/List.d.ts +0 -13
- package/dist/components/NavMenu/NavMenu.d.ts +0 -15
- package/dist/components/OverflowTypography/OverflowTypography.d.ts +0 -35
- package/dist/components/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +0 -5
- package/dist/components/OverflowTypography/styles.d.ts +0 -35
- package/dist/components/OverflowTypography/useLogic/useLogic.d.ts +0 -8
- package/dist/components/Pagination/Pagination.d.ts +0 -2
- package/dist/components/Pagination/types.d.ts +0 -3
- package/dist/components/Paper/Paper.d.ts +0 -14
- package/dist/components/Placeholder/Image/Image.d.ts +0 -21
- package/dist/components/Placeholder/Image/styles.d.ts +0 -4
- package/dist/components/Placeholder/Placeholder.d.ts +0 -45
- package/dist/components/Placeholder/constants.d.ts +0 -14
- package/dist/components/Placeholder/styles.d.ts +0 -35
- package/dist/components/Popover/Popover.d.ts +0 -9
- package/dist/components/Radio/Radio.d.ts +0 -9
- package/dist/components/Radio/styles.d.ts +0 -5
- package/dist/components/RadioField/RadioField.d.ts +0 -25
- package/dist/components/RadioField/styles.d.ts +0 -2
- package/dist/components/RadioGroup/RadioGroup.d.ts +0 -30
- package/dist/components/RadioGroup/RadioGroupContext/RadioGroupContext.d.ts +0 -4
- package/dist/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.d.ts +0 -6
- package/dist/components/RadioGroupField/RadioGroupField.d.ts +0 -8
- package/dist/components/SearchField/SearchField.d.ts +0 -3
- package/dist/components/SearchField/styles.d.ts +0 -22
- package/dist/components/Select/Select.d.ts +0 -25
- package/dist/components/Select/styles.d.ts +0 -23
- package/dist/components/Select/useLogic/useLogic.d.ts +0 -10
- package/dist/components/Skeleton/Skeleton.d.ts +0 -14
- package/dist/components/Skeleton/styles.d.ts +0 -1
- package/dist/components/Switch/Switch.d.ts +0 -4
- package/dist/components/Switch/styles.d.ts +0 -1
- package/dist/components/Tab/Tab.d.ts +0 -7
- package/dist/components/Tab/styles.d.ts +0 -1
- package/dist/components/Tabs/Tabs.d.ts +0 -13
- package/dist/components/Tabs/styles.d.ts +0 -2
- package/dist/components/Tag/Tag.d.ts +0 -36
- package/dist/components/Tag/styles.d.ts +0 -27
- package/dist/components/Tag/types.d.ts +0 -5
- package/dist/components/TagBadge/TagBadge.d.ts +0 -23
- package/dist/components/TagBadge/styles.d.ts +0 -5
- package/dist/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.d.ts +0 -15
- package/dist/components/TagsList/Tag/Tag.d.ts +0 -25
- package/dist/components/TagsList/Tag/styles.d.ts +0 -11
- package/dist/components/TagsList/Tag/useLogic/useLogic.d.ts +0 -4
- package/dist/components/TagsList/TagsList.d.ts +0 -34
- package/dist/components/TagsList/styles.d.ts +0 -1
- package/dist/components/TagsList/useLogic/useLogic.d.ts +0 -14
- package/dist/components/TagsList/utils/getKey/getKey.d.ts +0 -2
- package/dist/components/TextArea/TextArea.d.ts +0 -3
- package/dist/components/TextField/TextField.d.ts +0 -28
- package/dist/components/Tooltip/Tooltip.d.ts +0 -16
- package/dist/components/Tooltip/styles.d.ts +0 -7
- package/dist/components/Tooltip/types.d.ts +0 -2
- package/dist/components/Typography/Typography.d.ts +0 -48
- package/dist/components/Typography/hooks/useTypographyColor/useTypographyColor.d.ts +0 -16
- package/dist/components/Typography/types.d.ts +0 -4
- package/dist/hooks/useMenu/useMenu.d.ts +0 -21
- package/dist/hooks/usePopover/usePopover.d.ts +0 -11
- package/dist/index.js +0 -1214
- package/dist/index.mjs +0 -1214
- package/dist/theme/baseTheme/baseTheme.d.ts +0 -9
- package/dist/theme/breakpoints.d.ts +0 -2
- package/dist/theme/components/MuiAlert.d.ts +0 -3
- package/dist/theme/components/MuiAutocomplete.d.ts +0 -3
- package/dist/theme/components/MuiButton.d.ts +0 -32
- package/dist/theme/components/MuiButtonBase.d.ts +0 -3
- package/dist/theme/components/MuiCircularProgress.d.ts +0 -4
- package/dist/theme/components/MuiDialog.d.ts +0 -3
- package/dist/theme/components/MuiDialogActions.d.ts +0 -3
- package/dist/theme/components/MuiDialogContent.d.ts +0 -3
- package/dist/theme/components/MuiDialogTitle.d.ts +0 -3
- package/dist/theme/components/MuiDrawer.d.ts +0 -3
- package/dist/theme/components/MuiFormHelperText.d.ts +0 -4
- package/dist/theme/components/MuiFormLabel.d.ts +0 -4
- package/dist/theme/components/MuiInputLabel.d.ts +0 -4
- package/dist/theme/components/MuiLinearProgress.d.ts +0 -4
- package/dist/theme/components/MuiListItemButton.d.ts +0 -3
- package/dist/theme/components/MuiListItemText.d.ts +0 -3
- package/dist/theme/components/MuiMenu.d.ts +0 -4
- package/dist/theme/components/MuiMenuItem.d.ts +0 -4
- package/dist/theme/components/MuiOutlinedInput.d.ts +0 -4
- package/dist/theme/components/MuiPaginationItem.d.ts +0 -3
- package/dist/theme/components/MuiPaper.d.ts +0 -3
- package/dist/theme/components/MuiStep.d.ts +0 -3
- package/dist/theme/components/MuiStepConnector.d.ts +0 -3
- package/dist/theme/components/MuiStepLabel.d.ts +0 -3
- package/dist/theme/components/MuiSwitch.d.ts +0 -3
- package/dist/theme/components/MuiTab.d.ts +0 -3
- package/dist/theme/components/MuiTableCell.d.ts +0 -3
- package/dist/theme/components/MuiTableHead.d.ts +0 -3
- package/dist/theme/components/MuiTableRow.d.ts +0 -3
- package/dist/theme/components/MuiTabs.d.ts +0 -3
- package/dist/theme/components/MuiTextField.d.ts +0 -3
- package/dist/theme/components/MuiToggleButton.d.ts +0 -3
- package/dist/theme/components/MuiToggleButtonGroup.d.ts +0 -3
- package/dist/theme/components/MuiTypography.d.ts +0 -21
- package/dist/theme/components/components.d.ts +0 -21
- package/dist/theme/hooks/useTheme/index.d.ts +0 -2
- package/dist/theme/palette/componentsColors/componentsColors.d.ts +0 -5
- package/dist/theme/palette/palette.d.ts +0 -2
- package/dist/theme/palette/types.d.ts +0 -44
- package/dist/theme/types.d.ts +0 -21
- package/dist/theme/typography.d.ts +0 -153
- package/rslib.config.ts +0 -32
- package/src/components/Accordion/Accordion.stories.tsx +0 -128
- package/src/components/Accordion/Accordion.tsx +0 -80
- package/src/components/Accordion/index.ts +0 -1
- package/src/components/Accordion/styles.ts +0 -30
- package/src/components/ActionCell/ActionCell.stories.tsx +0 -227
- package/src/components/ActionCell/ActionCell.tsx +0 -71
- package/src/components/ActionCell/MainAction/MainAction.tsx +0 -86
- package/src/components/ActionCell/MainAction/index.ts +0 -1
- package/src/components/ActionCell/SecondaryAction/SecondaryActions.tsx +0 -45
- package/src/components/ActionCell/SecondaryAction/index.ts +0 -1
- package/src/components/ActionCell/index.ts +0 -1
- package/src/components/ActionCell/styles.ts +0 -6
- package/src/components/ActionCell/types.ts +0 -89
- package/src/components/ActionCell/useLogic/index.ts +0 -1
- package/src/components/ActionCell/useLogic/useLogic.ts +0 -46
- package/src/components/AsyncAutocomplete/AsyncAutocomplete.stories.tsx +0 -245
- package/src/components/AsyncAutocomplete/AsyncAutocomplete.tsx +0 -139
- package/src/components/AsyncAutocomplete/constants.ts +0 -7
- package/src/components/AsyncAutocomplete/index.ts +0 -1
- package/src/components/AsyncAutocomplete/useLogic/index.ts +0 -1
- package/src/components/AsyncAutocomplete/useLogic/useLogic.ts +0 -117
- package/src/components/Autocomplete/Autocomplete.stories.tsx +0 -276
- package/src/components/Autocomplete/Autocomplete.tsx +0 -301
- package/src/components/Autocomplete/constants.ts +0 -3
- package/src/components/Autocomplete/enums.ts +0 -4
- package/src/components/Autocomplete/index.ts +0 -1
- package/src/components/Autocomplete/styles.ts +0 -10
- package/src/components/Autocomplete/useLogic/index.ts +0 -1
- package/src/components/Autocomplete/useLogic/useLogic.ts +0 -88
- package/src/components/Autocomplete/useLogic/utils/checkIsInputEmpty/checkIsInputEmpty.ts +0 -8
- package/src/components/Autocomplete/useLogic/utils/checkIsInputEmpty/index.ts +0 -1
- package/src/components/Autocomplete/useLogic/utils/index.ts +0 -1
- package/src/components/Badge/Badge.stories.tsx +0 -190
- package/src/components/Badge/Badge.tsx +0 -43
- package/src/components/Badge/index.ts +0 -3
- package/src/components/Badge/styles.ts +0 -104
- package/src/components/Badge/types.ts +0 -9
- package/src/components/BottomDrawer/BottomDrawer.stories.tsx +0 -105
- package/src/components/BottomDrawer/BottomDrawer.tsx +0 -52
- package/src/components/BottomDrawer/constants.ts +0 -3
- package/src/components/BottomDrawer/index.ts +0 -1
- package/src/components/BottomDrawer/styles.ts +0 -44
- package/src/components/Button/Button.stories.tsx +0 -204
- package/src/components/Button/Button.tsx +0 -84
- package/src/components/Button/constants.ts +0 -1
- package/src/components/Button/enums.ts +0 -26
- package/src/components/Button/index.ts +0 -7
- package/src/components/Button/styles.ts +0 -19
- package/src/components/Button/types.ts +0 -30
- package/src/components/Button/useLogic/index.ts +0 -1
- package/src/components/Button/useLogic/useLogic.ts +0 -19
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -152
- package/src/components/Checkbox/Checkbox.tsx +0 -39
- package/src/components/Checkbox/icons.tsx +0 -41
- package/src/components/Checkbox/index.ts +0 -1
- package/src/components/Checkbox/styles.ts +0 -70
- package/src/components/CheckboxField/CheckboxField.stories.tsx +0 -51
- package/src/components/CheckboxField/CheckboxField.tsx +0 -64
- package/src/components/CheckboxField/index.ts +0 -1
- package/src/components/CheckboxField/styles.ts +0 -17
- package/src/components/Chevron/Chevron.stories.tsx +0 -36
- package/src/components/Chevron/Chevron.tsx +0 -12
- package/src/components/Chevron/index.ts +0 -1
- package/src/components/Chevron/styles.tsx +0 -17
- package/src/components/CircularProgress/CircularProgress.stories.tsx +0 -53
- package/src/components/CircularProgress/CircularProgress.tsx +0 -42
- package/src/components/CircularProgress/constants.ts +0 -9
- package/src/components/CircularProgress/index.ts +0 -1
- package/src/components/CircularProgress/useLogic/index.ts +0 -1
- package/src/components/CircularProgress/useLogic/useLogic.ts +0 -9
- package/src/components/Collapse/Collapse.stories.tsx +0 -69
- package/src/components/Collapse/Collapse.tsx +0 -10
- package/src/components/Collapse/index.ts +0 -1
- package/src/components/ConfigProvider/ConfigProvider.tsx +0 -165
- package/src/components/ConfigProvider/index.ts +0 -1
- package/src/components/ConfirmAction/ConfirmAction.stories.tsx +0 -116
- package/src/components/ConfirmAction/ConfirmAction.tsx +0 -97
- package/src/components/ConfirmAction/constants.ts +0 -9
- package/src/components/ConfirmAction/index.ts +0 -1
- package/src/components/ConfirmAction/styles.ts +0 -17
- package/src/components/ConfirmAction/useLogic/index.ts +0 -1
- package/src/components/ConfirmAction/useLogic/useLogic.ts +0 -46
- package/src/components/ConfirmDialog/ConfirmDialog.stories.tsx +0 -69
- package/src/components/ConfirmDialog/ConfirmDialog.tsx +0 -83
- package/src/components/ConfirmDialog/index.ts +0 -1
- package/src/components/ConfirmDialog/styles.ts +0 -8
- package/src/components/ConfirmDialog/useLogic/index.ts +0 -1
- package/src/components/ConfirmDialog/useLogic/useLogic.ts +0 -23
- package/src/components/Container/Container.tsx +0 -15
- package/src/components/Container/index.ts +0 -1
- package/src/components/Container/styles.ts +0 -76
- package/src/components/ContentState/ContentState.stories.tsx +0 -244
- package/src/components/ContentState/ContentState.tsx +0 -90
- package/src/components/ContentState/index.ts +0 -3
- package/src/components/ContentState/styles.ts +0 -11
- package/src/components/ContentState/types.ts +0 -30
- package/src/components/CopyTypography/CopyTypography.stories.tsx +0 -94
- package/src/components/CopyTypography/CopyTypography.tsx +0 -55
- package/src/components/CopyTypography/enums.ts +0 -5
- package/src/components/CopyTypography/index.ts +0 -1
- package/src/components/CopyTypography/styles.ts +0 -28
- package/src/components/CopyTypography/useLogic/index.ts +0 -1
- package/src/components/CopyTypography/useLogic/useLogic.ts +0 -38
- package/src/components/DataGrid/Body/Body.tsx +0 -185
- package/src/components/DataGrid/Body/index.ts +0 -1
- package/src/components/DataGrid/Body/styles.tsx +0 -16
- package/src/components/DataGrid/Body/useLogic/index.ts +0 -1
- package/src/components/DataGrid/Body/useLogic/useLogic.ts +0 -20
- package/src/components/DataGrid/Cell/Cell.tsx +0 -63
- package/src/components/DataGrid/Cell/index.ts +0 -1
- package/src/components/DataGrid/Cell/styles.ts +0 -26
- package/src/components/DataGrid/Cell/useLogic/index.ts +0 -1
- package/src/components/DataGrid/Cell/useLogic/useLogic.ts +0 -35
- package/src/components/DataGrid/DataGrid.stories.tsx +0 -1883
- package/src/components/DataGrid/DataGrid.tsx +0 -307
- package/src/components/DataGrid/DataGridContext/DataGridContext.ts +0 -15
- package/src/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.tsx +0 -83
- package/src/components/DataGrid/DataGridContext/DataGridProvider/index.ts +0 -1
- package/src/components/DataGrid/DataGridContext/index.ts +0 -3
- package/src/components/DataGrid/Head/Head.tsx +0 -110
- package/src/components/DataGrid/Head/index.ts +0 -1
- package/src/components/DataGrid/Head/styles.ts +0 -21
- package/src/components/DataGrid/Head/useLogic/index.ts +0 -1
- package/src/components/DataGrid/Head/useLogic/useLogic.tsx +0 -65
- package/src/components/DataGrid/HeadCell/HeadCell.tsx +0 -68
- package/src/components/DataGrid/HeadCell/index.ts +0 -1
- package/src/components/DataGrid/HeadCell/styles.ts +0 -39
- package/src/components/DataGrid/HeadCell/useLogic/index.ts +0 -1
- package/src/components/DataGrid/HeadCell/useLogic/useLogic.ts +0 -29
- package/src/components/DataGrid/Loader/Loader.tsx +0 -26
- package/src/components/DataGrid/Loader/index.ts +0 -1
- package/src/components/DataGrid/Loader/styles.ts +0 -26
- package/src/components/DataGrid/NoData/NoData.tsx +0 -65
- package/src/components/DataGrid/NoData/index.ts +0 -1
- package/src/components/DataGrid/Row/NestedChildren/NestedChildren.tsx +0 -158
- package/src/components/DataGrid/Row/NestedChildren/index.ts +0 -1
- package/src/components/DataGrid/Row/NestedChildren/styles.ts +0 -80
- package/src/components/DataGrid/Row/NestedChildren/useLogic/index.ts +0 -1
- package/src/components/DataGrid/Row/NestedChildren/useLogic/useLogic.ts +0 -44
- package/src/components/DataGrid/Row/Row.tsx +0 -307
- package/src/components/DataGrid/Row/RowContext/RowContext.ts +0 -14
- package/src/components/DataGrid/Row/RowContext/RowProvider/RowProvider.tsx +0 -35
- package/src/components/DataGrid/Row/RowContext/RowProvider/index.ts +0 -1
- package/src/components/DataGrid/Row/RowContext/index.ts +0 -3
- package/src/components/DataGrid/Row/constants.ts +0 -3
- package/src/components/DataGrid/Row/index.ts +0 -3
- package/src/components/DataGrid/Row/styles.ts +0 -124
- package/src/components/DataGrid/Row/useLogic/index.ts +0 -1
- package/src/components/DataGrid/Row/useLogic/useLogic.ts +0 -144
- package/src/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.ts +0 -20
- package/src/components/DataGrid/Row/useLogic/utils/getColumnsMap/index.ts +0 -1
- package/src/components/DataGrid/Row/useLogic/utils/index.ts +0 -3
- package/src/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/index.ts +0 -1
- package/src/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.ts +0 -34
- package/src/components/DataGrid/Row/utils/checkIsDisabled/checkIsDisabled.ts +0 -15
- package/src/components/DataGrid/Row/utils/checkIsDisabled/index.ts +0 -1
- package/src/components/DataGrid/Row/utils/index.ts +0 -1
- package/src/components/DataGrid/constants.ts +0 -11
- package/src/components/DataGrid/enums.ts +0 -9
- package/src/components/DataGrid/faker.ts +0 -116
- package/src/components/DataGrid/index.ts +0 -11
- package/src/components/DataGrid/styles.ts +0 -31
- package/src/components/DataGrid/types.ts +0 -118
- package/src/components/DataGrid/useLogic/index.ts +0 -1
- package/src/components/DataGrid/useLogic/useLogic.tsx +0 -139
- package/src/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.ts +0 -7
- package/src/components/DataGrid/useLogic/utils/getGridTemplateColumns/index.ts +0 -1
- package/src/components/DataGrid/useLogic/utils/index.ts +0 -1
- package/src/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.ts +0 -20
- package/src/components/DataGrid/utils/alignToJustifyContent/constants.ts +0 -7
- package/src/components/DataGrid/utils/alignToJustifyContent/index.ts +0 -1
- package/src/components/DataGrid/utils/index.ts +0 -1
- package/src/components/DataGridActionCell/DataGridActionCell.stories.tsx +0 -272
- package/src/components/DataGridActionCell/DataGridActionCell.tsx +0 -70
- package/src/components/DataGridActionCell/MainAction/MainAction.tsx +0 -76
- package/src/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.tsx +0 -88
- package/src/components/DataGridActionCell/MainAction/MainIconButton/index.ts +0 -1
- package/src/components/DataGridActionCell/MainAction/MainIconButton/useLogic/index.ts +0 -1
- package/src/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.ts +0 -31
- package/src/components/DataGridActionCell/MainAction/index.ts +0 -1
- package/src/components/DataGridActionCell/SecondaryAction/SecondaryAction.tsx +0 -54
- package/src/components/DataGridActionCell/SecondaryAction/index.ts +0 -1
- package/src/components/DataGridActionCell/index.ts +0 -1
- package/src/components/DataGridActionCell/styles.ts +0 -6
- package/src/components/DataGridActionCell/types.ts +0 -123
- package/src/components/DataGridActionCell/useLogic/index.ts +0 -1
- package/src/components/DataGridActionCell/useLogic/useLogic.ts +0 -53
- package/src/components/DataGridOld/Body/Body.tsx +0 -56
- package/src/components/DataGridOld/Body/index.ts +0 -1
- package/src/components/DataGridOld/Body/styles.ts +0 -12
- package/src/components/DataGridOld/Cell/Cell.tsx +0 -41
- package/src/components/DataGridOld/Cell/index.ts +0 -1
- package/src/components/DataGridOld/Cell/styles.ts +0 -25
- package/src/components/DataGridOld/DataGridOld.tsx +0 -65
- package/src/components/DataGridOld/Head/Head.tsx +0 -31
- package/src/components/DataGridOld/Head/index.ts +0 -1
- package/src/components/DataGridOld/Head/styles.ts +0 -11
- package/src/components/DataGridOld/HeadCell/HeadCell.tsx +0 -14
- package/src/components/DataGridOld/HeadCell/index.ts +0 -1
- package/src/components/DataGridOld/HeadCell/styles.ts +0 -29
- package/src/components/DataGridOld/Row/Row.tsx +0 -53
- package/src/components/DataGridOld/Row/index.ts +0 -1
- package/src/components/DataGridOld/Row/styles.ts +0 -24
- package/src/components/DataGridOld/State/State.tsx +0 -32
- package/src/components/DataGridOld/State/index.ts +0 -1
- package/src/components/DataGridOld/State/styles.ts +0 -25
- package/src/components/DataGridOld/constants.ts +0 -1
- package/src/components/DataGridOld/index.ts +0 -2
- package/src/components/DataGridOld/styles.ts +0 -24
- package/src/components/DataGridOld/types.ts +0 -18
- package/src/components/DataGridPagination/DataGridPagination.stories.tsx +0 -207
- package/src/components/DataGridPagination/DataGridPagination.tsx +0 -102
- package/src/components/DataGridPagination/constants.ts +0 -3
- package/src/components/DataGridPagination/faker.ts +0 -36
- package/src/components/DataGridPagination/index.ts +0 -1
- package/src/components/DataGridPagination/styles.ts +0 -26
- package/src/components/DataGridPagination/useLogic/index.ts +0 -1
- package/src/components/DataGridPagination/useLogic/useLogic.ts +0 -53
- package/src/components/Description/Description.stories.tsx +0 -328
- package/src/components/Description/Description.tsx +0 -73
- package/src/components/Description/DescriptionContext/DescriptionContext.tsx +0 -15
- package/src/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.tsx +0 -21
- package/src/components/Description/DescriptionContext/DescriptionContextProvider/index.ts +0 -1
- package/src/components/Description/DescriptionContext/index.ts +0 -3
- package/src/components/Description/Name/Name.tsx +0 -28
- package/src/components/Description/Name/index.ts +0 -1
- package/src/components/Description/Name/styles.ts +0 -29
- package/src/components/Description/Value/Value.tsx +0 -73
- package/src/components/Description/Value/index.ts +0 -1
- package/src/components/Description/Value/styles.ts +0 -62
- package/src/components/Description/Value/useLogic/index.ts +0 -1
- package/src/components/Description/Value/useLogic/useLogic.ts +0 -18
- package/src/components/Description/constants.ts +0 -5
- package/src/components/Description/index.ts +0 -3
- package/src/components/Description/styles.ts +0 -27
- package/src/components/Description/useLogic/index.ts +0 -1
- package/src/components/Description/useLogic/useLogic.ts +0 -21
- package/src/components/DescriptionList/DescriptionList.stories.tsx +0 -476
- package/src/components/DescriptionList/DescriptionList.tsx +0 -108
- package/src/components/DescriptionList/index.ts +0 -3
- package/src/components/DescriptionList/styles.ts +0 -67
- package/src/components/DescriptionList/types.ts +0 -46
- package/src/components/DescriptionList/utils/getTooltipProps/getTooltipProps.ts +0 -3
- package/src/components/DescriptionList/utils/getTooltipProps/index.ts +0 -1
- package/src/components/DescriptionList/utils/index.ts +0 -1
- package/src/components/Dialog/Dialog.stories.tsx +0 -430
- package/src/components/Dialog/Dialog.tsx +0 -68
- package/src/components/Dialog/constants.ts +0 -7
- package/src/components/Dialog/index.ts +0 -1
- package/src/components/Dialog/styles.ts +0 -26
- package/src/components/DialogActions/DialogActions.stories.tsx +0 -112
- package/src/components/DialogActions/DialogActions.tsx +0 -19
- package/src/components/DialogActions/index.ts +0 -1
- package/src/components/DialogActions/styles.ts +0 -17
- package/src/components/DialogContent/DialogContent.stories.tsx +0 -68
- package/src/components/DialogContent/DialogContent.tsx +0 -11
- package/src/components/DialogContent/index.ts +0 -1
- package/src/components/DialogContent/styles.ts +0 -13
- package/src/components/DialogContentText/DialogContentText.stories.tsx +0 -65
- package/src/components/DialogContentText/DialogContentText.tsx +0 -12
- package/src/components/DialogContentText/index.ts +0 -1
- package/src/components/DialogContentText/styles.ts +0 -8
- package/src/components/DialogHeader/DialogHeader.stories.tsx +0 -108
- package/src/components/DialogHeader/DialogHeader.tsx +0 -58
- package/src/components/DialogHeader/index.ts +0 -1
- package/src/components/DialogHeader/styles.ts +0 -63
- package/src/components/DialogTitle/DialogTitle.tsx +0 -43
- package/src/components/DialogTitle/index.ts +0 -1
- package/src/components/Divider/Divider.stories.tsx +0 -58
- package/src/components/Divider/Divider.tsx +0 -10
- package/src/components/Divider/index.ts +0 -1
- package/src/components/DropdownButton/DropdownButton.stories.tsx +0 -191
- package/src/components/DropdownButton/DropdownButton.tsx +0 -46
- package/src/components/DropdownButton/index.ts +0 -1
- package/src/components/ErrorBoundary/ErrorBoundary.stories.tsx +0 -58
- package/src/components/ErrorBoundary/ErrorBoundary.stubs.tsx +0 -67
- package/src/components/ErrorBoundary/ErrorBoundary.tsx +0 -73
- package/src/components/ErrorBoundary/constants.ts +0 -15
- package/src/components/ErrorBoundary/enums.ts +0 -9
- package/src/components/ErrorBoundary/index.ts +0 -1
- package/src/components/Filename/Filename.stories.tsx +0 -244
- package/src/components/Filename/Filename.tsx +0 -57
- package/src/components/Filename/index.ts +0 -1
- package/src/components/Filename/styles.ts +0 -18
- package/src/components/Filename/useLogic/index.ts +0 -1
- package/src/components/Filename/useLogic/useLogic.ts +0 -36
- package/src/components/Filename/useLogic/utils/findExtension/constants.ts +0 -16
- package/src/components/Filename/useLogic/utils/findExtension/findExtension.ts +0 -17
- package/src/components/Filename/useLogic/utils/findExtension/index.ts +0 -1
- package/src/components/Filename/useLogic/utils/index.ts +0 -1
- package/src/components/Filename/useLogic/utils/truncateString/constants.ts +0 -1
- package/src/components/Filename/useLogic/utils/truncateString/index.ts +0 -1
- package/src/components/Filename/useLogic/utils/truncateString/truncateString.ts +0 -24
- package/src/components/FormControl/FormControl.tsx +0 -12
- package/src/components/FormControl/index.tsx +0 -1
- package/src/components/FormControlLabel/FormControlLabel.tsx +0 -6
- package/src/components/FormControlLabel/index.ts +0 -3
- package/src/components/FormControlLabel/styles.ts +0 -14
- package/src/components/FormControlLabel/types.ts +0 -6
- package/src/components/FormHelperText/FormHelperText.tsx +0 -29
- package/src/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.tsx +0 -38
- package/src/components/FormHelperText/FormHelperTextContent/index.ts +0 -1
- package/src/components/FormHelperText/FormHelperTextContent/styles.ts +0 -44
- package/src/components/FormHelperText/index.ts +0 -3
- package/src/components/FormLabel/FormLabel.tsx +0 -11
- package/src/components/FormLabel/index.ts +0 -1
- package/src/components/FormLabel/styles.ts +0 -6
- package/src/components/GuidTypography/GuidTypography.stories.tsx +0 -58
- package/src/components/GuidTypography/GuidTypography.tsx +0 -10
- package/src/components/GuidTypography/index.ts +0 -1
- package/src/components/IconButton/IconButton.stories.tsx +0 -236
- package/src/components/IconButton/IconButton.tsx +0 -52
- package/src/components/IconButton/index.ts +0 -1
- package/src/components/IconButton/styles.ts +0 -52
- package/src/components/IconDropdownButton/IconDropdownButton.stories.tsx +0 -197
- package/src/components/IconDropdownButton/IconDropdownButton.tsx +0 -38
- package/src/components/IconDropdownButton/index.ts +0 -1
- package/src/components/InternalErrorPlaceholder/InternalErrorPlaceholder.stories.tsx +0 -34
- package/src/components/InternalErrorPlaceholder/InternalErrorPlaceholder.tsx +0 -39
- package/src/components/InternalErrorPlaceholder/index.ts +0 -1
- package/src/components/Link/Link.stories.tsx +0 -89
- package/src/components/Link/Link.tsx +0 -44
- package/src/components/Link/index.ts +0 -1
- package/src/components/Link/styles.ts +0 -37
- package/src/components/List/List.stories.tsx +0 -255
- package/src/components/List/List.tsx +0 -9
- package/src/components/List/index.ts +0 -1
- package/src/components/ListItem/ListItem.stories.tsx +0 -85
- package/src/components/ListItem/ListItem.tsx +0 -12
- package/src/components/ListItem/index.ts +0 -1
- package/src/components/ListItemButton/ListItemButton.stories.tsx +0 -113
- package/src/components/ListItemButton/ListItemButton.tsx +0 -68
- package/src/components/ListItemButton/constants.ts +0 -5
- package/src/components/ListItemButton/index.ts +0 -1
- package/src/components/ListItemIcon/ListItemIcon.stories.tsx +0 -42
- package/src/components/ListItemIcon/ListItemIcon.tsx +0 -14
- package/src/components/ListItemIcon/index.ts +0 -1
- package/src/components/ListItemIcon/styles.ts +0 -5
- package/src/components/ListItemText/ListItemText.stories.tsx +0 -40
- package/src/components/ListItemText/ListItemText.tsx +0 -11
- package/src/components/ListItemText/index.ts +0 -1
- package/src/components/ListSubheader/ListSubheader.stories.tsx +0 -43
- package/src/components/ListSubheader/ListSubheader.tsx +0 -12
- package/src/components/ListSubheader/index.ts +0 -1
- package/src/components/Menu/Menu.stories.tsx +0 -109
- package/src/components/Menu/Menu.tsx +0 -38
- package/src/components/Menu/index.ts +0 -1
- package/src/components/MenuItem/MenuItem.stories.tsx +0 -111
- package/src/components/MenuItem/MenuItem.tsx +0 -67
- package/src/components/MenuItem/index.ts +0 -1
- package/src/components/MenuList/MenuList.stories.tsx +0 -87
- package/src/components/MenuList/MenuList.tsx +0 -6
- package/src/components/MenuList/index.ts +0 -3
- package/src/components/MenuList/styles.ts +0 -10
- package/src/components/MenuList/types.ts +0 -6
- package/src/components/NavMenu/Item/Item.tsx +0 -87
- package/src/components/NavMenu/Item/ItemButton/ItemButton.tsx +0 -75
- package/src/components/NavMenu/Item/ItemButton/index.ts +0 -1
- package/src/components/NavMenu/Item/ItemButton/styles.ts +0 -143
- package/src/components/NavMenu/Item/List/List.tsx +0 -43
- package/src/components/NavMenu/Item/List/index.ts +0 -1
- package/src/components/NavMenu/Item/index.ts +0 -1
- package/src/components/NavMenu/NavMenu.stories.tsx +0 -117
- package/src/components/NavMenu/NavMenu.tsx +0 -32
- package/src/components/NavMenu/index.ts +0 -1
- package/src/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.stories.tsx +0 -32
- package/src/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.tsx +0 -30
- package/src/components/OutdatedReleasePlaceholder/index.ts +0 -1
- package/src/components/OverflowTypography/OverflowTypography.stories.tsx +0 -105
- package/src/components/OverflowTypography/OverflowTypography.tsx +0 -106
- package/src/components/OverflowTypography/hooks/index.ts +0 -1
- package/src/components/OverflowTypography/hooks/useOverflowed/index.ts +0 -1
- package/src/components/OverflowTypography/hooks/useOverflowed/useOverflowed.ts +0 -58
- package/src/components/OverflowTypography/index.ts +0 -1
- package/src/components/OverflowTypography/styles.ts +0 -39
- package/src/components/OverflowTypography/useLogic/index.ts +0 -1
- package/src/components/OverflowTypography/useLogic/useLogic.ts +0 -29
- package/src/components/OverflowTypography/utils/index.ts +0 -1
- package/src/components/OverflowTypography/utils/truncateString/index.ts +0 -1
- package/src/components/OverflowTypography/utils/truncateString/truncateString.ts +0 -9
- package/src/components/Pagination/Pagination.stories.tsx +0 -56
- package/src/components/Pagination/Pagination.tsx +0 -7
- package/src/components/Pagination/index.ts +0 -3
- package/src/components/Pagination/types.ts +0 -13
- package/src/components/Paper/Paper.tsx +0 -25
- package/src/components/Paper/index.ts +0 -1
- package/src/components/Placeholder/Image/Image.tsx +0 -16
- package/src/components/Placeholder/Image/index.ts +0 -1
- package/src/components/Placeholder/Image/styles.ts +0 -24
- package/src/components/Placeholder/Placeholder.stories.tsx +0 -205
- package/src/components/Placeholder/Placeholder.tsx +0 -108
- package/src/components/Placeholder/constants.ts +0 -31
- package/src/components/Placeholder/index.ts +0 -5
- package/src/components/Placeholder/styles.ts +0 -94
- package/src/components/Placeholder/types.ts +0 -1
- package/src/components/Popover/Popover.stories.tsx +0 -211
- package/src/components/Popover/Popover.tsx +0 -39
- package/src/components/Popover/index.ts +0 -1
- package/src/components/ProgressBar/ProgressBar.stories.tsx +0 -31
- package/src/components/ProgressBar/ProgressBar.tsx +0 -26
- package/src/components/ProgressBar/index.ts +0 -1
- package/src/components/Radio/Icon/Icon.tsx +0 -37
- package/src/components/Radio/Icon/index.ts +0 -1
- package/src/components/Radio/Radio.stories.tsx +0 -32
- package/src/components/Radio/Radio.tsx +0 -24
- package/src/components/Radio/constants.ts +0 -9
- package/src/components/Radio/index.ts +0 -1
- package/src/components/Radio/styles.ts +0 -70
- package/src/components/RadioField/RadioField.stories.tsx +0 -74
- package/src/components/RadioField/RadioField.tsx +0 -55
- package/src/components/RadioField/index.ts +0 -1
- package/src/components/RadioField/styles.ts +0 -10
- package/src/components/RadioGroup/RadioGroup.stories.tsx +0 -60
- package/src/components/RadioGroup/RadioGroup.tsx +0 -79
- package/src/components/RadioGroup/RadioGroupContext/RadioGroupContext.ts +0 -9
- package/src/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.tsx +0 -18
- package/src/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/index.ts +0 -1
- package/src/components/RadioGroup/RadioGroupContext/index.ts +0 -3
- package/src/components/RadioGroup/index.ts +0 -3
- package/src/components/RadioGroupField/RadioGroupField.tsx +0 -17
- package/src/components/RadioGroupField/index.ts +0 -1
- package/src/components/SearchField/SearchField.tsx +0 -93
- package/src/components/SearchField/index.ts +0 -1
- package/src/components/SearchField/styles.ts +0 -38
- package/src/components/Select/Select.stories.tsx +0 -320
- package/src/components/Select/Select.tsx +0 -204
- package/src/components/Select/constants.ts +0 -1
- package/src/components/Select/index.ts +0 -1
- package/src/components/Select/styles.ts +0 -60
- package/src/components/Select/useLogic/index.ts +0 -1
- package/src/components/Select/useLogic/useLogic.ts +0 -53
- package/src/components/Skeleton/Skeleton.stories.tsx +0 -78
- package/src/components/Skeleton/Skeleton.tsx +0 -31
- package/src/components/Skeleton/index.ts +0 -1
- package/src/components/Skeleton/styles.ts +0 -16
- package/src/components/Switch/Switch.stories.tsx +0 -179
- package/src/components/Switch/Switch.tsx +0 -14
- package/src/components/Switch/index.ts +0 -1
- package/src/components/Switch/styles.ts +0 -14
- package/src/components/Tab/Tab.stories.tsx +0 -53
- package/src/components/Tab/Tab.tsx +0 -20
- package/src/components/Tab/index.ts +0 -1
- package/src/components/Tab/styles.ts +0 -22
- package/src/components/Tabs/Tabs.stories.tsx +0 -74
- package/src/components/Tabs/Tabs.tsx +0 -27
- package/src/components/Tabs/index.ts +0 -1
- package/src/components/Tabs/styles.ts +0 -20
- package/src/components/Tag/Tag.stories.tsx +0 -592
- package/src/components/Tag/Tag.tsx +0 -102
- package/src/components/Tag/enums.ts +0 -20
- package/src/components/Tag/index.ts +0 -3
- package/src/components/Tag/styles.ts +0 -332
- package/src/components/Tag/types.ts +0 -9
- package/src/components/TagBadge/TagBadge.stories.tsx +0 -231
- package/src/components/TagBadge/TagBadge.tsx +0 -47
- package/src/components/TagBadge/index.ts +0 -1
- package/src/components/TagBadge/styles.ts +0 -14
- package/src/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.ts +0 -31
- package/src/components/TagBadge/utils/getCheckableTagBadgeBgColor/index.ts +0 -1
- package/src/components/TagBadge/utils/index.ts +0 -1
- package/src/components/TagsList/Tag/Tag.tsx +0 -49
- package/src/components/TagsList/Tag/index.ts +0 -1
- package/src/components/TagsList/Tag/styles.ts +0 -19
- package/src/components/TagsList/Tag/useLogic/index.ts +0 -1
- package/src/components/TagsList/Tag/useLogic/useLogic.ts +0 -11
- package/src/components/TagsList/TagsList.tsx +0 -80
- package/src/components/TagsList/index.ts +0 -3
- package/src/components/TagsList/styles.ts +0 -6
- package/src/components/TagsList/types.ts +0 -1
- package/src/components/TagsList/useLogic/index.ts +0 -1
- package/src/components/TagsList/useLogic/useLogic.ts +0 -184
- package/src/components/TagsList/utils/getElementByText/getElementByText.ts +0 -21
- package/src/components/TagsList/utils/getElementByText/index.ts +0 -1
- package/src/components/TagsList/utils/getKey/getKey.ts +0 -11
- package/src/components/TagsList/utils/getKey/index.ts +0 -1
- package/src/components/TagsList/utils/index.ts +0 -3
- package/src/components/TextArea/TextArea.stories.tsx +0 -81
- package/src/components/TextArea/TextArea.tsx +0 -8
- package/src/components/TextArea/index.ts +0 -1
- package/src/components/TextField/TextField.stories.tsx +0 -94
- package/src/components/TextField/TextField.tsx +0 -117
- package/src/components/TextField/index.ts +0 -1
- package/src/components/Tooltip/Tooltip.stories.tsx +0 -234
- package/src/components/Tooltip/Tooltip.tsx +0 -48
- package/src/components/Tooltip/constants.ts +0 -4
- package/src/components/Tooltip/index.ts +0 -3
- package/src/components/Tooltip/styles.tsx +0 -65
- package/src/components/Tooltip/types.ts +0 -3
- package/src/components/Typography/Typography.stories.tsx +0 -191
- package/src/components/Typography/Typography.tsx +0 -107
- package/src/components/Typography/enums.ts +0 -14
- package/src/components/Typography/hooks/index.ts +0 -1
- package/src/components/Typography/hooks/useTypographyColor/index.ts +0 -1
- package/src/components/Typography/hooks/useTypographyColor/useTypographyColor.tsx +0 -54
- package/src/components/Typography/index.ts +0 -3
- package/src/components/Typography/styles.ts +0 -9
- package/src/components/Typography/types.ts +0 -30
- package/src/components/index.ts +0 -151
- package/src/components/types.ts +0 -1
- package/src/hooks/index.ts +0 -4
- package/src/hooks/useMenu/index.ts +0 -1
- package/src/hooks/useMenu/useMenu.stories.tsx +0 -31
- package/src/hooks/useMenu/useMenu.ts +0 -45
- package/src/hooks/usePopover/index.ts +0 -1
- package/src/hooks/usePopover/usePopover.ts +0 -27
- package/src/hooks/useToggle/index.ts +0 -1
- package/src/hooks/useToggle/useToggle.ts +0 -76
- package/src/hooks/useViewportType/index.ts +0 -1
- package/src/hooks/useViewportType/useViewportType.stories.tsx +0 -30
- package/src/hooks/useViewportType/useViewportType.ts +0 -13
- package/src/illustrations/certificates-not-found.svg +0 -91
- package/src/illustrations/data-access-disabled.svg +0 -103
- package/src/illustrations/data-access-success.svg +0 -119
- package/src/illustrations/drop-files-in.svg +0 -40
- package/src/illustrations/drop-files-out.svg +0 -43
- package/src/illustrations/error.svg +0 -159
- package/src/illustrations/features.svg +0 -35
- package/src/illustrations/mail.svg +0 -84
- package/src/illustrations/no-data.svg +0 -1
- package/src/illustrations/no-notifications.svg +0 -102
- package/src/illustrations/outdated-release.svg +0 -173
- package/src/illustrations/placeholder.svg +0 -20
- package/src/illustrations/search.svg +0 -38
- package/src/illustrations/sketchpad.svg +0 -114
- package/src/illustrations/technical-support.svg +0 -341
- package/src/theme/baseTheme/baseTheme.ts +0 -49
- package/src/theme/baseTheme/index.ts +0 -1
- package/src/theme/breakpoints.ts +0 -11
- package/src/theme/components/MuiAlert.ts +0 -70
- package/src/theme/components/MuiAutocomplete.ts +0 -94
- package/src/theme/components/MuiButton.ts +0 -418
- package/src/theme/components/MuiButtonBase.ts +0 -16
- package/src/theme/components/MuiCircularProgress.ts +0 -22
- package/src/theme/components/MuiDialog.ts +0 -13
- package/src/theme/components/MuiDialogActions.ts +0 -17
- package/src/theme/components/MuiDialogContent.ts +0 -13
- package/src/theme/components/MuiDialogTitle.ts +0 -24
- package/src/theme/components/MuiDrawer.ts +0 -15
- package/src/theme/components/MuiFormHelperText.ts +0 -23
- package/src/theme/components/MuiFormLabel.ts +0 -16
- package/src/theme/components/MuiInputLabel.ts +0 -33
- package/src/theme/components/MuiLinearProgress.ts +0 -22
- package/src/theme/components/MuiListItemButton.ts +0 -16
- package/src/theme/components/MuiListItemText.ts +0 -16
- package/src/theme/components/MuiMenu.ts +0 -32
- package/src/theme/components/MuiMenuItem.ts +0 -36
- package/src/theme/components/MuiOutlinedInput.ts +0 -75
- package/src/theme/components/MuiPaginationItem.ts +0 -16
- package/src/theme/components/MuiPaper.ts +0 -38
- package/src/theme/components/MuiStep.ts +0 -16
- package/src/theme/components/MuiStepConnector.ts +0 -11
- package/src/theme/components/MuiStepLabel.ts +0 -30
- package/src/theme/components/MuiSwitch.ts +0 -153
- package/src/theme/components/MuiTab.ts +0 -15
- package/src/theme/components/MuiTableCell.ts +0 -16
- package/src/theme/components/MuiTableHead.ts +0 -15
- package/src/theme/components/MuiTableRow.ts +0 -19
- package/src/theme/components/MuiTabs.ts +0 -19
- package/src/theme/components/MuiTextField.ts +0 -28
- package/src/theme/components/MuiToggleButton.ts +0 -14
- package/src/theme/components/MuiToggleButtonGroup.ts +0 -10
- package/src/theme/components/MuiTypography.ts +0 -41
- package/src/theme/components/components.ts +0 -155
- package/src/theme/components/index.ts +0 -1
- package/src/theme/constants.ts +0 -1
- package/src/theme/elevation.ts +0 -15
- package/src/theme/hooks/index.ts +0 -1
- package/src/theme/hooks/useTheme/index.ts +0 -7
- package/src/theme/index.ts +0 -13
- package/src/theme/palette/componentsColors/componentsColors.ts +0 -9
- package/src/theme/palette/componentsColors/index.ts +0 -1
- package/src/theme/palette/componentsColors/linkColors/index.ts +0 -1
- package/src/theme/palette/componentsColors/linkColors/linkColors.ts +0 -13
- package/src/theme/palette/index.ts +0 -5
- package/src/theme/palette/palette.ts +0 -125
- package/src/theme/palette/types.ts +0 -55
- package/src/theme/shape.ts +0 -11
- package/src/theme/types.ts +0 -30
- package/src/theme/typography.ts +0 -191
- package/test.tsx +0 -1
- package/tsconfig.json +0 -16
- /package/{dist → lib}/components/Accordion/index.d.ts +0 -0
- /package/{dist → lib}/components/ActionCell/MainAction/index.d.ts +0 -0
- /package/{dist → lib}/components/ActionCell/SecondaryAction/index.d.ts +0 -0
- /package/{dist → lib}/components/ActionCell/index.d.ts +0 -0
- /package/{dist → lib}/components/ActionCell/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/AsyncAutocomplete/constants.d.ts +0 -0
- /package/{dist → lib}/components/AsyncAutocomplete/index.d.ts +0 -0
- /package/{dist → lib}/components/AsyncAutocomplete/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/Autocomplete/constants.d.ts +0 -0
- /package/{dist → lib}/components/Autocomplete/enums.d.ts +0 -0
- /package/{dist → lib}/components/Autocomplete/index.d.ts +0 -0
- /package/{dist → lib}/components/Autocomplete/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/Autocomplete/useLogic/utils/checkIsInputEmpty/checkIsInputEmpty.d.ts +0 -0
- /package/{dist → lib}/components/Autocomplete/useLogic/utils/checkIsInputEmpty/index.d.ts +0 -0
- /package/{dist → lib}/components/Autocomplete/useLogic/utils/index.d.ts +0 -0
- /package/{dist → lib}/components/Badge/index.d.ts +0 -0
- /package/{dist → lib}/components/Badge/types.d.ts +0 -0
- /package/{dist → lib}/components/BottomDrawer/constants.d.ts +0 -0
- /package/{dist → lib}/components/BottomDrawer/index.d.ts +0 -0
- /package/{dist → lib}/components/Button/constants.d.ts +0 -0
- /package/{dist → lib}/components/Button/enums.d.ts +0 -0
- /package/{dist → lib}/components/Button/index.d.ts +0 -0
- /package/{dist → lib}/components/Button/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/Checkbox/index.d.ts +0 -0
- /package/{dist → lib}/components/CheckboxField/index.d.ts +0 -0
- /package/{dist → lib}/components/Chevron/index.d.ts +0 -0
- /package/{dist → lib}/components/CircularProgress/constants.d.ts +0 -0
- /package/{dist → lib}/components/CircularProgress/index.d.ts +0 -0
- /package/{dist → lib}/components/CircularProgress/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/Collapse/index.d.ts +0 -0
- /package/{dist → lib}/components/ConfigProvider/index.d.ts +0 -0
- /package/{dist → lib}/components/ConfirmAction/constants.d.ts +0 -0
- /package/{dist → lib}/components/ConfirmAction/index.d.ts +0 -0
- /package/{dist → lib}/components/ConfirmAction/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/ConfirmDialog/index.d.ts +0 -0
- /package/{dist → lib}/components/ConfirmDialog/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/Container/index.d.ts +0 -0
- /package/{dist → lib}/components/ContentState/index.d.ts +0 -0
- /package/{dist → lib}/components/CopyTypography/enums.d.ts +0 -0
- /package/{dist → lib}/components/CopyTypography/index.d.ts +0 -0
- /package/{dist → lib}/components/CopyTypography/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Body/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Body/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Cell/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Cell/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/DataGridContext/DataGridProvider/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/DataGridContext/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Head/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Head/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/HeadCell/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/HeadCell/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Loader/Loader.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Loader/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/NoData/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/NestedChildren/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/NestedChildren/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/RowContext/RowProvider/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/RowContext/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/constants.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/useLogic/utils/getColumnsMap/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/useLogic/utils/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/utils/checkIsDisabled/checkIsDisabled.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/utils/checkIsDisabled/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/Row/utils/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/constants.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/enums.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/useLogic/utils/getGridTemplateColumns/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/useLogic/utils/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/utils/alignToJustifyContent/constants.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/utils/alignToJustifyContent/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGrid/utils/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridActionCell/MainAction/MainIconButton/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridActionCell/MainAction/MainIconButton/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridActionCell/MainAction/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridActionCell/SecondaryAction/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridActionCell/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridActionCell/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridOld/Body/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridOld/Cell/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridOld/Head/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridOld/HeadCell/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridOld/Row/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridOld/State/State.d.ts +0 -0
- /package/{dist → lib}/components/DataGridOld/State/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridOld/constants.d.ts +0 -0
- /package/{dist → lib}/components/DataGridOld/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridPagination/constants.d.ts +0 -0
- /package/{dist → lib}/components/DataGridPagination/index.d.ts +0 -0
- /package/{dist → lib}/components/DataGridPagination/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/Description/DescriptionContext/DescriptionContextProvider/index.d.ts +0 -0
- /package/{dist → lib}/components/Description/DescriptionContext/index.d.ts +0 -0
- /package/{dist → lib}/components/Description/Name/index.d.ts +0 -0
- /package/{dist → lib}/components/Description/Value/index.d.ts +0 -0
- /package/{dist → lib}/components/Description/Value/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/Description/constants.d.ts +0 -0
- /package/{dist → lib}/components/Description/index.d.ts +0 -0
- /package/{dist → lib}/components/Description/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/DescriptionList/index.d.ts +0 -0
- /package/{dist → lib}/components/DescriptionList/utils/getTooltipProps/getTooltipProps.d.ts +0 -0
- /package/{dist → lib}/components/DescriptionList/utils/getTooltipProps/index.d.ts +0 -0
- /package/{dist → lib}/components/DescriptionList/utils/index.d.ts +0 -0
- /package/{dist → lib}/components/Dialog/constants.d.ts +0 -0
- /package/{dist → lib}/components/Dialog/index.d.ts +0 -0
- /package/{dist → lib}/components/DialogActions/index.d.ts +0 -0
- /package/{dist → lib}/components/DialogContent/index.d.ts +0 -0
- /package/{dist → lib}/components/DialogContentText/index.d.ts +0 -0
- /package/{dist → lib}/components/DialogHeader/index.d.ts +0 -0
- /package/{dist → lib}/components/DialogTitle/index.d.ts +0 -0
- /package/{dist → lib}/components/Divider/index.d.ts +0 -0
- /package/{dist → lib}/components/DropdownButton/index.d.ts +0 -0
- /package/{dist → lib}/components/ErrorBoundary/ErrorBoundary.stubs.d.ts +0 -0
- /package/{dist → lib}/components/ErrorBoundary/constants.d.ts +0 -0
- /package/{dist → lib}/components/ErrorBoundary/enums.d.ts +0 -0
- /package/{dist → lib}/components/ErrorBoundary/index.d.ts +0 -0
- /package/{dist → lib}/components/Filename/index.d.ts +0 -0
- /package/{dist → lib}/components/Filename/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/Filename/useLogic/utils/findExtension/constants.d.ts +0 -0
- /package/{dist → lib}/components/Filename/useLogic/utils/findExtension/findExtension.d.ts +0 -0
- /package/{dist → lib}/components/Filename/useLogic/utils/findExtension/index.d.ts +0 -0
- /package/{dist → lib}/components/Filename/useLogic/utils/index.d.ts +0 -0
- /package/{dist → lib}/components/Filename/useLogic/utils/truncateString/constants.d.ts +0 -0
- /package/{dist → lib}/components/Filename/useLogic/utils/truncateString/index.d.ts +0 -0
- /package/{dist → lib}/components/Filename/useLogic/utils/truncateString/truncateString.d.ts +0 -0
- /package/{dist → lib}/components/FormControl/index.d.ts +0 -0
- /package/{dist → lib}/components/FormControlLabel/index.d.ts +0 -0
- /package/{dist → lib}/components/FormHelperText/FormHelperTextContent/index.d.ts +0 -0
- /package/{dist → lib}/components/FormHelperText/index.d.ts +0 -0
- /package/{dist → lib}/components/FormLabel/index.d.ts +0 -0
- /package/{dist → lib}/components/GuidTypography/index.d.ts +0 -0
- /package/{dist → lib}/components/IconButton/index.d.ts +0 -0
- /package/{dist → lib}/components/IconDropdownButton/index.d.ts +0 -0
- /package/{dist → lib}/components/InternalErrorPlaceholder/InternalErrorPlaceholder.d.ts +0 -0
- /package/{dist → lib}/components/InternalErrorPlaceholder/index.d.ts +0 -0
- /package/{dist → lib}/components/Link/index.d.ts +0 -0
- /package/{dist → lib}/components/List/index.d.ts +0 -0
- /package/{dist → lib}/components/ListItem/index.d.ts +0 -0
- /package/{dist → lib}/components/ListItemButton/constants.d.ts +0 -0
- /package/{dist → lib}/components/ListItemButton/index.d.ts +0 -0
- /package/{dist → lib}/components/ListItemIcon/index.d.ts +0 -0
- /package/{dist → lib}/components/ListItemText/index.d.ts +0 -0
- /package/{dist → lib}/components/ListSubheader/index.d.ts +0 -0
- /package/{dist → lib}/components/Menu/index.d.ts +0 -0
- /package/{dist → lib}/components/MenuItem/index.d.ts +0 -0
- /package/{dist → lib}/components/MenuList/index.d.ts +0 -0
- /package/{dist → lib}/components/NavMenu/Item/ItemButton/index.d.ts +0 -0
- /package/{dist → lib}/components/NavMenu/Item/List/index.d.ts +0 -0
- /package/{dist → lib}/components/NavMenu/Item/index.d.ts +0 -0
- /package/{dist → lib}/components/NavMenu/index.d.ts +0 -0
- /package/{dist → lib}/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.d.ts +0 -0
- /package/{dist → lib}/components/OutdatedReleasePlaceholder/index.d.ts +0 -0
- /package/{dist → lib}/components/OverflowTypography/hooks/index.d.ts +0 -0
- /package/{dist → lib}/components/OverflowTypography/hooks/useOverflowed/index.d.ts +0 -0
- /package/{dist → lib}/components/OverflowTypography/index.d.ts +0 -0
- /package/{dist → lib}/components/OverflowTypography/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/OverflowTypography/utils/index.d.ts +0 -0
- /package/{dist → lib}/components/OverflowTypography/utils/truncateString/index.d.ts +0 -0
- /package/{dist → lib}/components/OverflowTypography/utils/truncateString/truncateString.d.ts +0 -0
- /package/{dist → lib}/components/Pagination/index.d.ts +0 -0
- /package/{dist → lib}/components/Paper/index.d.ts +0 -0
- /package/{dist → lib}/components/Placeholder/Image/index.d.ts +0 -0
- /package/{dist → lib}/components/Placeholder/index.d.ts +0 -0
- /package/{dist → lib}/components/Placeholder/types.d.ts +0 -0
- /package/{dist → lib}/components/Popover/index.d.ts +0 -0
- /package/{dist → lib}/components/ProgressBar/ProgressBar.d.ts +0 -0
- /package/{dist → lib}/components/ProgressBar/index.d.ts +0 -0
- /package/{dist → lib}/components/Radio/Icon/Icon.d.ts +0 -0
- /package/{dist → lib}/components/Radio/Icon/index.d.ts +0 -0
- /package/{dist → lib}/components/Radio/constants.d.ts +0 -0
- /package/{dist → lib}/components/Radio/index.d.ts +0 -0
- /package/{dist → lib}/components/RadioField/index.d.ts +0 -0
- /package/{dist → lib}/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/index.d.ts +0 -0
- /package/{dist → lib}/components/RadioGroup/RadioGroupContext/index.d.ts +0 -0
- /package/{dist → lib}/components/RadioGroup/index.d.ts +0 -0
- /package/{dist → lib}/components/RadioGroupField/index.d.ts +0 -0
- /package/{dist → lib}/components/SearchField/index.d.ts +0 -0
- /package/{dist → lib}/components/Select/constants.d.ts +0 -0
- /package/{dist → lib}/components/Select/index.d.ts +0 -0
- /package/{dist → lib}/components/Select/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/Skeleton/index.d.ts +0 -0
- /package/{dist → lib}/components/Switch/index.d.ts +0 -0
- /package/{dist → lib}/components/Tab/index.d.ts +0 -0
- /package/{dist → lib}/components/Tabs/index.d.ts +0 -0
- /package/{dist → lib}/components/Tag/enums.d.ts +0 -0
- /package/{dist → lib}/components/Tag/index.d.ts +0 -0
- /package/{dist → lib}/components/TagBadge/index.d.ts +0 -0
- /package/{dist → lib}/components/TagBadge/utils/getCheckableTagBadgeBgColor/index.d.ts +0 -0
- /package/{dist → lib}/components/TagBadge/utils/index.d.ts +0 -0
- /package/{dist → lib}/components/TagsList/Tag/index.d.ts +0 -0
- /package/{dist → lib}/components/TagsList/Tag/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/TagsList/index.d.ts +0 -0
- /package/{dist → lib}/components/TagsList/types.d.ts +0 -0
- /package/{dist → lib}/components/TagsList/useLogic/index.d.ts +0 -0
- /package/{dist → lib}/components/TagsList/utils/getElementByText/getElementByText.d.ts +0 -0
- /package/{dist → lib}/components/TagsList/utils/getElementByText/index.d.ts +0 -0
- /package/{dist → lib}/components/TagsList/utils/getKey/index.d.ts +0 -0
- /package/{dist → lib}/components/TagsList/utils/index.d.ts +0 -0
- /package/{dist → lib}/components/TextArea/index.d.ts +0 -0
- /package/{dist → lib}/components/TextField/index.d.ts +0 -0
- /package/{dist → lib}/components/Tooltip/constants.d.ts +0 -0
- /package/{dist → lib}/components/Tooltip/index.d.ts +0 -0
- /package/{dist → lib}/components/Typography/enums.d.ts +0 -0
- /package/{dist → lib}/components/Typography/hooks/index.d.ts +0 -0
- /package/{dist → lib}/components/Typography/hooks/useTypographyColor/index.d.ts +0 -0
- /package/{dist → lib}/components/Typography/index.d.ts +0 -0
- /package/{dist → lib}/components/Typography/styles.d.ts +0 -0
- /package/{dist → lib}/components/index.d.ts +0 -0
- /package/{dist → lib}/components/types.d.ts +0 -0
- /package/{dist → lib}/hooks/index.d.ts +0 -0
- /package/{dist → lib}/hooks/useMenu/index.d.ts +0 -0
- /package/{dist → lib}/hooks/usePopover/index.d.ts +0 -0
- /package/{dist → lib}/hooks/useToggle/index.d.ts +0 -0
- /package/{dist → lib}/hooks/useToggle/useToggle.d.ts +0 -0
- /package/{dist → lib}/hooks/useViewportType/index.d.ts +0 -0
- /package/{dist → lib}/hooks/useViewportType/useViewportType.d.ts +0 -0
- /package/{dist → lib}/index.d.ts +0 -0
- /package/{dist → lib}/theme/baseTheme/index.d.ts +0 -0
- /package/{dist → lib}/theme/components/index.d.ts +0 -0
- /package/{dist → lib}/theme/constants.d.ts +0 -0
- /package/{dist → lib}/theme/elevation.d.ts +0 -0
- /package/{dist → lib}/theme/hooks/index.d.ts +0 -0
- /package/{dist → lib}/theme/index.d.ts +0 -0
- /package/{dist → lib}/theme/palette/componentsColors/index.d.ts +0 -0
- /package/{dist → lib}/theme/palette/componentsColors/linkColors/index.d.ts +0 -0
- /package/{dist → lib}/theme/palette/componentsColors/linkColors/linkColors.d.ts +0 -0
- /package/{dist → lib}/theme/palette/index.d.ts +0 -0
- /package/{dist → lib}/theme/shape.d.ts +0 -0
package/dist/index.mjs
DELETED
|
@@ -1,1214 +0,0 @@
|
|
|
1
|
-
import*as e from"react/jsx-runtime";import*as t from"react";import*as r from"@mui/material";import*as i from"lucide-react";import*as o from"clsx";import*as n from"react-use";import*as l from"@mui/material/styles";import*as a from"remeda";import*as s from"@emotion/react";import*as d from"@mui/material/List";import*as p from"@mui/material/ListItemText";let c=(0,r.styled)(i.ChevronsDown,{shouldForwardProp:e=>"isActive"!==e})`
|
|
2
|
-
transform: rotateZ(${({isActive:e})=>180*!!e}deg);
|
|
3
|
-
|
|
4
|
-
transition: ${({theme:e})=>e.transitions.create("transform",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.short})};
|
|
5
|
-
`,u=t=>(0,e.jsx)(c,{...t}),g=t=>(0,e.jsx)(r.Collapse,{...t});var h,m,x,y,f,b,$,C,w,v,j,k,S,M,I,F=((h={}).text="text",h.secondary="secondary",h.primary="primary",h.error="error",h.success="success",h.warning="warning",h.info="info",h.textSecondary="text.secondary",h.grey="grey",h.red="red",h.green="green",h.yellow="yellow",h);let P=({color:e,colorIntensity:i="800"})=>{let o=(0,r.useTheme)();return(0,t.useMemo)(()=>{let t=e&&F[e];if(t)switch(t){case F.text:return o.palette.text.primary;case F.textSecondary:return o.palette.text.secondary;default:return o.palette[t]?.[i]||t}},[e,i,o])},T=(0,r.styled)(r.Typography,{shouldForwardProp:e=>"isUpperCase"!==e})`
|
|
6
|
-
text-transform: ${({isUpperCase:e})=>e?"uppercase":"none"};
|
|
7
|
-
`,A=e=>{e&&["h7","h8","ui","small","code","body2","overline"].includes(e)&&console.warn(`[@astral/components]: Deprecated: Вариант "${e}" в компоненте Typography больше не поддерживается и будет удален в следующем мажорном релизе. Используйте другой подходящий вариант.`)},E=({children:t,color:r,colorIntensity:i="800",component:o,...n})=>{let l=P({color:r,colorIntensity:i});return A(n.variant),(0,e.jsx)(T,{...n,component:o,color:l,children:t})},D=(0,r.styled)("header")`
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
|
|
10
|
-
display: grid;
|
|
11
|
-
grid-column-gap: ${({theme:e})=>e.spacing(2)};
|
|
12
|
-
grid-template-columns: ${({withStartAdornment:e})=>e?"24px 1fr 24px":" 1fr 24px"};
|
|
13
|
-
`,R=(0,r.styled)("div")`
|
|
14
|
-
margin-left: ${({theme:e,withStartAdorment:t})=>e.spacing(8*!!t)};
|
|
15
|
-
padding-top: ${({theme:e})=>e.spacing(2)};
|
|
16
|
-
`,L=(0,r.styled)(E)`
|
|
17
|
-
align-self: center;
|
|
18
|
-
`,O=(0,r.styled)("div")`
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
|
|
21
|
-
width: 24px;
|
|
22
|
-
height: 24px;
|
|
23
|
-
`,z=(0,t.forwardRef)(({summary:r,startAdorment:i,isExpanded:o,onChange:n,children:l},a)=>{let[s,d]=(0,t.useState)(!1),p="boolean"==typeof o,c=p?o:s,h=!!i,m="string"==typeof r?L:t.default.Fragment;return(0,e.jsxs)("div",{ref:a,children:[(0,e.jsxs)(D,{onClick:e=>{if(p)n?.(!o,e);else{let t=!s;d(t),n?.(t,e)}},withStartAdornment:h,children:[i,(0,e.jsx)(m,{children:r}),(0,e.jsx)(O,{children:(0,e.jsx)(u,{isActive:c})})]}),(0,e.jsx)(g,{in:c,children:(0,e.jsx)(R,{withStartAdorment:h,children:l})})]})}),B="astral-button-loading";var W=((m={}).Error="error",m.Success="success",m.Warning="warning",m.Primary="primary",m),H=((x={}).Contained="contained",x.Light="light",x.Text="text",x.Link="link",x),N=((y={}).Small="small",y.Medium="medium",y.Large="large",y),V=((f={}).Default="default",f.Active="active",f.Focus="focus",f.Hover="hover",f);let _=({size:e})=>({size:"small"===e?16:24}),U=t=>{let{size:i}=_({...t}),{size:o,color:n,...l}=t;return(0,e.jsx)(r.CircularProgress,{...l,size:i,color:"inherit","data-color":n})},G=(0,r.styled)(r.Button)`
|
|
24
|
-
min-width: ${({variant:e})=>e===H.Link?"auto":""};
|
|
25
|
-
padding: ${({variant:e})=>e===H.Link?0:""};
|
|
26
|
-
|
|
27
|
-
:active {
|
|
28
|
-
box-shadow: none;
|
|
29
|
-
}
|
|
30
|
-
`,X=(0,r.styled)(U)`
|
|
31
|
-
position: absolute;
|
|
32
|
-
`;var Y=((b={}).PRIMARY="primary",b.INVERTED="inverted",b);let Z=({variant:e})=>({loadingIndicatorColor:(0,t.useMemo)(()=>e!==H.Contained?Y.PRIMARY:Y.INVERTED,[e])}),q=t=>{let{loadingIndicatorColor:r}=Z(t),{variant:i=H.Contained,color:n=W.Primary,loading:l,loadingIndicator:a,loadingPosition:s,disabled:d,children:p,className:c,...u}=t;return(0,e.jsxs)(G,{variant:i,color:n,disabled:l||d,...u,className:(0,o.clsx)(c,{[B]:l}),children:[l&&(0,e.jsx)(X,{color:r,size:"small"}),p]})},K=({type:e,values:t,defaultValue:r})=>e&&t[e]||r,J=e=>K({type:e.size,values:{[N.Large]:"40px"},defaultValue:"32px"}),Q=(0,r.styled)(q,{shouldForwardProp:e=>"startIcon"!==e&&"endIcon"!==e&&"loading"!==e})`
|
|
33
|
-
pointer-events: ${({loading:e})=>e&&"none"};
|
|
34
|
-
|
|
35
|
-
width: ${J};
|
|
36
|
-
height: ${J};
|
|
37
|
-
padding: ${({theme:e})=>e.spacing(1)};
|
|
38
|
-
|
|
39
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
40
|
-
width: ${e=>K({type:e.size,values:{[N.Small]:"36px"},defaultValue:"48px"})};
|
|
41
|
-
}
|
|
42
|
-
`,ee=r=>{let{variant:i=H.Contained,loading:o,children:n,...l}=r,a=(0,t.useMemo)(()=>i===H.Contained?"inverted":"primary",[i]);return(0,e.jsx)(Q,{loading:o,variant:i,tabIndex:o?-1:0,...l,children:o?(0,e.jsx)(U,{size:"small",color:a}):n})},et=()=>{let e=(0,r.useTheme)();return{isMobile:(0,r.useMediaQuery)(e.breakpoints.down("sm"))}};function er(e=null){let[r,i]=(0,t.useState)(!1),o=(0,t.useRef)(null);return(0,t.useEffect)(()=>{e&&("function"==typeof e?e(o.current):e.current=o.current)},[e]),{open:r,anchorRef:o,handleCloseMenu:()=>i(!1),handleOpenMenu:()=>i(!0)}}let ei=()=>{let[e,r]=(0,t.useState)(null);return{isOpen:!!e,anchor:e,actions:{open:e=>r(e.currentTarget),close:()=>r(null)}}},eo=e=>{let{initialState:r=!1,onInactive:i,onActive:o}=e||{},[n,l]=(0,t.useState)(r);return[n,(...e)=>{l(!0),o?.(...e)},(...e)=>{l(!1),i?.(...e)}]},en="16px",el=56,ea=(0,r.styled)(r.Drawer)`
|
|
43
|
-
${`.${r.paperClasses.root}`} {
|
|
44
|
-
max-height: calc(100vh - ${en});
|
|
45
|
-
|
|
46
|
-
@supports (height: 100dvh) {
|
|
47
|
-
max-height: calc(100dvh - ${en});
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
border-top-left-radius: ${({theme:e})=>e.shape.large};
|
|
51
|
-
border-top-right-radius: ${({theme:e})=>e.shape.large};
|
|
52
|
-
}
|
|
53
|
-
`,es=(0,r.styled)("header")`
|
|
54
|
-
display: flex;
|
|
55
|
-
flex-shrink: 0;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: space-between;
|
|
58
|
-
|
|
59
|
-
height: ${({drawerHeaderHeight:e})=>`${e}px`};
|
|
60
|
-
padding: ${({theme:e})=>e.spacing(1,2,1,4)};
|
|
61
|
-
|
|
62
|
-
border-bottom: 1px solid ${({theme:e})=>e.palette.divider};
|
|
63
|
-
`,ed=(0,r.styled)(r.Typography)`
|
|
64
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
65
|
-
`,ep=(0,r.styled)("div")`
|
|
66
|
-
overflow-y: auto;
|
|
67
|
-
`,ec=({title:t,drawerHeaderHeight:r=el,children:o,onClose:n,...l})=>(0,e.jsxs)(ea,{...l,anchor:"bottom",onClose:n,children:[(0,e.jsxs)(es,{drawerHeaderHeight:r,children:[(0,e.jsx)(ed,{variant:"h5",noWrap:!0,children:t}),(0,e.jsx)(ee,{variant:"text",onClick:e=>{n&&n(e,"escapeKeyDown")},children:(0,e.jsx)(i.X,{})})]}),(0,e.jsx)(ep,{children:o})]}),eu=(0,r.styled)(r.MenuList)`
|
|
68
|
-
&.MuiList-root {
|
|
69
|
-
padding: ${({theme:e})=>e.spacing(1,0)};
|
|
70
|
-
|
|
71
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
72
|
-
box-shadow: ${({theme:e})=>e.elevation[200]};
|
|
73
|
-
}
|
|
74
|
-
`,eg=({children:t,...r})=>(0,e.jsx)(eu,{...r,children:t}),eh=({children:t,onClose:i,open:o,title:n,...l})=>{let{isMobile:a}=et();return a?(0,e.jsx)(ec,{title:n,onClose:i,open:o,children:(0,e.jsx)(eg,{children:t})}):(0,e.jsx)(r.Menu,{open:o,onClose:i,...l,children:t})},em=(0,t.forwardRef)(({children:t,icon:i,...o},n)=>{let{open:l,anchorRef:a,handleOpenMenu:s,handleCloseMenu:d}=er(n);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(r.ClickAwayListener,{onClickAway:d,mouseEvent:"onMouseUp",children:(0,e.jsx)(ee,{...o,ref:a,onClick:s,selected:l,children:i})}),(0,e.jsx)(eh,{open:l,anchorEl:a.current,children:t})]})});var ex=(($={}).MEDIUM="medium",$.SMALL="small",$);let ey=(0,r.styled)(({className:t,...i})=>(0,e.jsx)(r.Tooltip,{...i,classes:{popper:t}}))`
|
|
75
|
-
& .${r.tooltipClasses.tooltip} {
|
|
76
|
-
margin: 0;
|
|
77
|
-
|
|
78
|
-
font-size: ${({size:e,theme:t})=>e===ex.SMALL?t.typography.caption.fontSize:t.typography.body1.fontSize};
|
|
79
|
-
font-weight: ${({theme:e})=>e.typography.fontWeightRegular};
|
|
80
|
-
line-height: ${({size:e,theme:t})=>e===ex.SMALL?t.typography.caption.lineHeight:t.typography.body1.lineHeight};
|
|
81
|
-
white-space: pre-line;
|
|
82
|
-
|
|
83
|
-
background-color: ${({theme:e})=>e.palette.grey[900]};
|
|
84
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
& .${r.tooltipClasses.arrow} {
|
|
88
|
-
font-size: ${({theme:e})=>e.typography.caption.fontSize};
|
|
89
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&&[data-popper-placement*='top'] .${r.tooltipClasses.tooltip} {
|
|
93
|
-
margin-bottom: ${({theme:e})=>e.spacing(2)};
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&&[data-popper-placement*='bottom'] .${r.tooltipClasses.tooltip} {
|
|
97
|
-
margin-top: ${({theme:e})=>e.spacing(2)};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&&[data-popper-placement*='left'] .${r.tooltipClasses.tooltip} {
|
|
101
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&&[data-popper-placement*='right'] .${r.tooltipClasses.tooltip} {
|
|
105
|
-
margin-left: ${({theme:e})=>e.spacing(2)};
|
|
106
|
-
}
|
|
107
|
-
`,ef=(0,r.styled)("div")`
|
|
108
|
-
display: inherit;
|
|
109
|
-
flex-direction: inherit;
|
|
110
|
-
`,eb=t=>{let{title:r,placement:i="top",size:o=ex.MEDIUM,withoutContainer:n=!0,children:l,...a}=t;return(0,e.jsx)(ey,{title:r,size:o,placement:i,arrow:!0,...a,children:n?l:(0,e.jsx)(ef,{children:l})})},e$=t=>{let{disabledReason:i,disabled:o,component:n="div",title:l,tooltipPlacement:a="left",note:s,...d}=t;return(0,e.jsx)("li",{children:(0,e.jsx)(eb,{title:o?i:s,placement:a,withoutContainer:!o,children:(0,e.jsx)(r.MenuItem,{...d,disabled:o,title:l,component:n})},l)})},eC=({action:r,onActionClick:i,tooltipPlacement:o,isDisabled:n})=>{if("actions"in r){let{icon:l,disabled:a,disabledReason:s,name:d,actions:p}=r;return(0,e.jsx)(eb,{title:s||d,placement:o,withoutContainer:!(n||a),children:(0,e.jsx)(em,{icon:l,variant:"text",disabled:n||a,children:p.map(({name:e,onClick:r,...n})=>(0,t.createElement)(e$,{...n,key:e,tooltipPlacement:o,onClick:i(r)},e))})},d)}let{onClick:l,name:a,icon:s,disabledReason:d,disabled:p,loading:c,isBlockingOperation:u,...g}=r,h=!c&&(d||a);return(0,e.jsx)(eb,{title:h,placement:o,withoutContainer:!(n||p),children:(0,e.jsx)(ee,{disabled:n||p,...g,variant:"text",onClick:i(l),children:s})},a)},ew=({actions:r,onActionClick:o,tooltipPlacement:n,isDisabled:l=!1})=>(0,e.jsx)(em,{icon:(0,e.jsx)(i.EllipsisVertical,{}),variant:"text",disabled:l,children:r.map(e=>{let{onClick:r,name:i}=e;return(0,t.createElement)(e$,{...e,key:i,tooltipPlacement:n,onClick:o(r)},i)})}),ev=(0,r.styled)("div")`
|
|
111
|
-
display: inline-flex;
|
|
112
|
-
align-items: center;
|
|
113
|
-
`,ej=({actions:e,row:r})=>{let{main:i,secondary:o}=e,n=i.some(e=>!("actions"in e)&&e?.isBlockingOperation&&e?.loading),l=(0,t.useCallback)(e=>()=>{e?.(r)},[r]);return{isSecondaryActionsAvailable:o&&o.length>=1,handleActionClick:l,handleWrapperClick:e=>{e.stopPropagation()},isDisabledAction:n}},ek={mainAction:"top",secondaryAction:"left"},eS=t=>{let{isSecondaryActionsAvailable:r,handleActionClick:i,handleWrapperClick:o,isDisabledAction:n}=ej(t),{actions:l}=t,{main:a=[],secondary:s=[]}=l;return(0,e.jsxs)(ev,{onClick:o,children:[a.map(t=>(0,e.jsx)(eC,{tooltipPlacement:ek.mainAction,onActionClick:i,action:t,isDisabled:n},t.name)),r&&(0,e.jsx)(ew,{isDisabled:n,actions:s,tooltipPlacement:ek.secondaryAction,onActionClick:i})]})},eM=({...t})=>(0,e.jsxs)(r.SvgIcon,{viewBox:"0 0 14 14",...t,children:[(0,e.jsx)("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H11C12.6569 0 14 1.34315 14 3V11C14 12.6569 12.6569 14 11 14H3C1.34315 14 0 12.6569 0 11V3Z"}),(0,e.jsx)("path",{className:"MuiSvgIcon-border",fillRule:"evenodd",clipRule:"evenodd",d:"M11 2H3C2.44772 2 2 2.44772 2 3V11C2 11.5523 2.44772 12 3 12H11C11.5523 12 12 11.5523 12 11V3C12 2.44772 11.5523 2 11 2ZM3 0C1.34315 0 0 1.34315 0 3V11C0 12.6569 1.34315 14 3 14H11C12.6569 14 14 12.6569 14 11V3C14 1.34315 12.6569 0 11 0H3Z"})]}),eI=({...t})=>(0,e.jsxs)(r.SvgIcon,{viewBox:"0 0 14 14",...t,children:[(0,e.jsx)("rect",{width:"14",height:"14",rx:"3"}),(0,e.jsx)("path",{className:"MuiSvgIcon-mark",fillRule:"evenodd",clipRule:"evenodd",d:"M4.71402 6.30066C4.62206 6.20534 4.51205 6.12931 4.39042 6.07701C4.26879 6.0247 4.13797 5.99717 4.0056 5.99602C3.87323 5.99487 3.74195 6.02012 3.61943 6.0703C3.49691 6.12048 3.3856 6.19458 3.292 6.28829C3.19839 6.38199 3.12437 6.49342 3.07424 6.61607C3.02411 6.73872 2.99889 6.87013 3.00004 7.00265C3.00119 7.13516 3.02869 7.26612 3.08094 7.38787C3.13319 7.50963 3.20914 7.61976 3.30435 7.71182L5.29823 9.7078C5.48518 9.8949 5.73871 10 6.00306 10C6.26741 10 6.52094 9.8949 6.7079 9.7078L10.6956 5.71584C10.7909 5.62377 10.8668 5.51365 10.9191 5.39189C10.9713 5.27013 10.9988 5.13918 11 5.00666C11.0011 4.87415 10.9759 4.74274 10.9258 4.62009C10.8756 4.49744 10.8016 4.38601 10.708 4.29231C10.6144 4.1986 10.5031 4.1245 10.3806 4.07432C10.258 4.02414 10.1268 3.99889 9.9944 4.00004C9.86203 4.00119 9.73121 4.02872 9.60958 4.08102C9.48795 4.13333 9.37794 4.20936 9.28598 4.30468L6.00306 7.59106L4.71402 6.30066V6.30066Z"})]}),eF=({...t})=>(0,e.jsxs)(r.SvgIcon,{viewBox:"0 0 14 14",...t,children:[(0,e.jsx)("rect",{width:"14",height:"14",rx:"3"}),(0,e.jsx)("path",{className:"MuiSvgIcon-mark",d:"M10 6H4C3.44772 6 3 6.44772 3 7C3 7.55228 3.44772 8 4 8H10C10.5523 8 11 7.55228 11 7C11 6.44772 10.5523 6 10 6Z"})]}),eP=e=>(0,r.css)`
|
|
114
|
-
&.Mui-checked {
|
|
115
|
-
color: ${e.palette.red[800]};
|
|
116
|
-
|
|
117
|
-
&:hover {
|
|
118
|
-
color: ${e.palette.red[700]};
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
& .MuiSvgIcon-border {
|
|
123
|
-
fill: ${e.palette.red[800]};
|
|
124
|
-
}
|
|
125
|
-
`,eT=(0,r.styled)(r.Checkbox,{shouldForwardProp:e=>"isError"!==e})`
|
|
126
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
127
|
-
|
|
128
|
-
color: ${({theme:e})=>e.palette.background.element};
|
|
129
|
-
|
|
130
|
-
border-radius: unset;
|
|
131
|
-
|
|
132
|
-
&:hover {
|
|
133
|
-
color: ${({theme:e})=>e.palette.grey[100]};
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
& .MuiSvgIcon-border {
|
|
137
|
-
fill: ${({theme:e})=>e.palette.grey[300]};
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
& > svg {
|
|
141
|
-
width: calc(16 / 14 * 1rem);
|
|
142
|
-
height: calc(16 / 14 * 1rem);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&.Mui-disabled {
|
|
146
|
-
color: ${({theme:e})=>e.palette.grey[200]};
|
|
147
|
-
|
|
148
|
-
& .MuiSvgIcon-border {
|
|
149
|
-
fill: currentColor;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
&.Mui-checked,
|
|
154
|
-
&.MuiCheckbox-indeterminate {
|
|
155
|
-
color: ${({theme:e})=>e.palette.primary.main};
|
|
156
|
-
|
|
157
|
-
&:hover {
|
|
158
|
-
color: ${({theme:e})=>e.palette.primary[700]};
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&.Mui-disabled {
|
|
162
|
-
color: ${({theme:e})=>e.palette.grey[500]};
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
& .MuiSvgIcon-mark {
|
|
166
|
-
fill: ${({theme:e})=>e.palette.common.white};
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
${({isError:e,theme:t})=>e&&eP(t)}
|
|
171
|
-
`,eA=(0,t.forwardRef)(({icon:t=(0,e.jsx)(eM,{}),checkedIcon:r=(0,e.jsx)(eI,{}),indeterminateIcon:i=(0,e.jsx)(eF,{}),...o},n)=>(0,e.jsx)(eT,{ref:n,icon:t,checkedIcon:r,indeterminateIcon:i,...o})),eE=(0,r.styled)(E,{shouldForwardProp:e=>"rowsCount"!==e&&"hasMultipleRows"!==e})`
|
|
172
|
-
/* stylelint-disable-next-line */
|
|
173
|
-
overflow: hidden;
|
|
174
|
-
/* stylelint-disable-next-line */
|
|
175
|
-
display: ${({hasMultipleRows:e})=>e?"-webkit-box":""};
|
|
176
|
-
|
|
177
|
-
max-width: 100%;
|
|
178
|
-
|
|
179
|
-
text-overflow: ellipsis;
|
|
180
|
-
white-space: ${({hasMultipleRows:e})=>e?"initial":"nowrap"};
|
|
181
|
-
-webkit-box-orient: ${({hasMultipleRows:e})=>e?"vertical":""};
|
|
182
|
-
-webkit-line-clamp: ${({rowsCount:e})=>e};
|
|
183
|
-
`,eD=(0,r.styled)(E,{shouldForwardProp:e=>!["$align"].includes(e.toString())})`
|
|
184
|
-
display: flex;
|
|
185
|
-
justify-content: ${({$align:e})=>e};
|
|
186
|
-
|
|
187
|
-
width: 100%;
|
|
188
|
-
|
|
189
|
-
white-space: nowrap;
|
|
190
|
-
`,eR=e=>{let i=(0,t.useRef)(null),o=e&&"function"!=typeof e?e:i,[l,a]=(0,t.useState)(!1),s=(0,n.useFirstMountState)(),d=([{target:e,contentRect:t}])=>{let r=Math.round(t.height)<e.scrollHeight,i=e.scrollWidth>Math.round(t.width);a(r||i)};return(0,t.useLayoutEffect)(()=>{if(o?.current){let e=o.current,t={target:e,contentRect:e.getBoundingClientRect()};if(!s){let t=new ResizeObserver((0,r.debounce)(d,500));return t.observe(e),()=>t.unobserve(e)}d([t])}},[o.current]),{isOverflowed:l,ref:o}},eL=(e,t)=>({firstPartLabel:t.slice(0,-e),secondPartLabel:t.slice(-e)}),eO=({children:e,visibleLastSymbolsCount:t,ref:r})=>{let{ref:i,isOverflowed:o}=eR(r),n=e&&"string"==typeof e,{firstPartLabel:l,secondPartLabel:a}=n&&o&&t?eL(t,e):{firstPartLabel:"",secondPartLabel:""};return{isTruncatedStringVisible:n&&o&&!!t,isOverflowed:o,ref:i,firstPartLabel:l,secondPartLabel:a}},ez=1,eB=t=>{let{ref:r,isOverflowed:i,secondPartLabel:o,firstPartLabel:n,isTruncatedStringVisible:l}=eO(t),{tooltipProps:a,children:s,rowsCount:d=ez,visibleLastSymbolsCount:p,align:c="left",...u}=t,g={...u,ref:r,align:c,children:s,rowsCount:d,hasMultipleRows:d>ez};return l?(0,e.jsx)(eb,{title:s,disableInteractive:!0,...a,children:(0,e.jsxs)(eD,{$align:c,children:[(0,e.jsx)(eE,{component:"span",ref:r,hasMultipleRows:!1,rowsCount:1,...u,children:n}),(0,e.jsx)(E,{...u,component:"span",children:o})]})}):s&&i?(0,e.jsx)(eb,{title:s,disableInteractive:!0,...a,children:(0,e.jsx)(eE,{...g})}):(0,e.jsx)(eE,{...g})},eW={values:{xs:0,sm:600,md:900,lg:1200,xl:1536}},eH={styleOverrides:{root:({theme:e})=>({fontWeight:"400",padding:e.spacing(3),".MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root)":{padding:e.spacing(3,0)},[e.breakpoints.up("sm")]:{padding:e.spacing(2,4),".MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root)":{padding:0}}}),filledSuccess:({theme:e})=>({backgroundColor:e.palette.success.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.green["900"]}}),filledError:({theme:e})=>({backgroundColor:e.palette.error.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.red["900"]}}),filledWarning:({theme:e})=>({backgroundColor:e.palette.warning.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.yellow["900"]}}),filledInfo:({theme:e})=>({backgroundColor:e.palette.primary["100"],color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.primary["900"]}}),action:({theme:e})=>({svg:{color:`${e.palette.text.primary} !important`}})}};var eN=((C={}).medium="medium",C.small="small",C);let eV={styleOverrides:{inputRoot:({theme:e,ownerState:{size:t}})=>({paddingTop:`${e.spacing(1)} !important`,paddingBottom:`${e.spacing(1)} !important`,paddingLeft:`${e.spacing(1)} !important`,minHeight:t===eN.small?"32px":"40px"}),input:({theme:e})=>({padding:"0 !important",paddingLeft:`${e.spacing(1)} !important`}),popupIndicator:({theme:e})=>({borderRadius:e.shape.small,display:"flex",alignItems:"center",width:32,height:32}),endAdornment:()=>({display:"flex",alignItems:"center",justifyContent:"flex-end",top:"calc(50% - 16px)"}),paper:({theme:e})=>({marginTop:e.spacing(2)}),noOptions:({theme:e})=>({padding:e.spacing(6,0,6,3),color:e.palette.grey["500"]}),clearIndicator:({theme:e})=>({width:32,height:32,padding:0,color:e.palette.primary.contrastText,"::before":{content:'""',position:"absolute",top:"50%",left:"50%",width:"0.6em",height:"0.6em",backgroundColor:e.palette.grey["500"],transform:"translate(-50%, -50%)",borderRadius:"50%"},".MuiSvgIcon-root":{position:"absolute",top:"50%",left:"50%",width:"0.6em",height:"0.6em",transform:"translate(-50%, -50%)",zIndex:1}}),loading:({theme:e})=>({display:"flex",justifyContent:"center",padding:e.spacing(6,0,6,0)})}},e_=({type:e,values:t,defaultValue:r})=>e&&t[e]||r,eU=e=>e_({type:e.size,values:{[N.Large]:"40px"},defaultValue:"32px"}),eG=e=>e_({type:e.size,values:{[N.Small]:"36px"},defaultValue:"48px"}),eX=e=>e_({type:e.size,values:{[N.Large]:e.theme.spacing(2,4,2,4)},defaultValue:e.theme.spacing(1,3,1,3)}),eY=e=>e.variant===H.Link?"0":e_({type:e.size,values:{[N.Small]:e.theme.spacing(2,3)},defaultValue:e.theme.spacing(4,3)}),eZ=({theme:e,variant:t,color:r,buttonState:i,selected:o})=>{let n={selected:{default:e.palette.grey["900"],hover:e.palette.grey["700"],active:e.palette.grey["800"],focus:e.palette.grey["900"]},light:{error:{default:e.palette.red["900"],hover:e.palette.red["900"],active:e.palette.red["800"],focus:e.palette.red["900"]},success:{default:e.palette.green["900"],hover:e.palette.green["900"],active:e.palette.green["800"],focus:e.palette.green["900"]},primary:{default:e.palette.grey["900"],hover:e.palette.grey["900"],active:e.palette.primary["800"],focus:e.palette.grey["900"]},warning:{default:e.palette.yellow["900"],hover:e.palette.yellow["900"],active:e.palette.yellow["800"],focus:e.palette.yellow["900"]}},contained:e.palette.primary.contrastText,text:{default:e.palette.grey["900"],hover:e.palette.grey["900"],active:e.palette.primary["800"],focus:e.palette.grey["900"]},link:{default:e.palette.primary["800"],hover:e.palette.primary["700"],active:e.palette.primary["900"],focus:e.palette.primary["800"]}};return o?t!==H.Link?e.palette.primary.contrastText:n.selected[i]:t===H.Contained?n.contained:t===H.Light&&r?n.light[r][i]:t===H.Text?n.text[i]:n.link[i]},eq=({selected:e,color:t,variant:r,buttonState:i,theme:o})=>{let n={selected:{default:o.palette.grey["900"],hover:o.palette.grey["700"],active:o.palette.grey["800"],focus:o.palette.grey["900"]},light:{error:{default:o.palette.red["100"],hover:o.palette.red["200"],active:o.palette.red["100"],focus:o.palette.red["100"]},success:{default:o.palette.green["100"],hover:o.palette.green["200"],active:o.palette.green["100"],focus:o.palette.green["100"]},primary:{default:o.palette.grey["100"],hover:o.palette.grey["200"],active:o.palette.primary["100"],focus:o.palette.grey["100"]},warning:{default:o.palette.yellow["100"],hover:o.palette.yellow["200"],active:o.palette.yellow["100"],focus:o.palette.yellow["100"]}},contained:{error:{default:o.palette.red["800"],hover:o.palette.red["700"],active:o.palette.red["900"],focus:o.palette.red["800"]},success:{default:o.palette.green["800"],hover:o.palette.green["700"],active:o.palette.green["900"],focus:o.palette.green["800"]},primary:{default:o.palette.primary["800"],hover:o.palette.primary["700"],active:o.palette.primary["900"],focus:o.palette.primary["800"]},warning:{default:o.palette.yellow["800"],hover:o.palette.yellow["700"],active:o.palette.yellow["900"],focus:o.palette.yellow["800"]}},text:{default:"transparent",hover:o.palette.grey["200"],active:o.palette.primary["100"],focus:"transparent"},link:"transparent"};return e&&r!==H.Link?n.selected[i]:r===H.Light&&t?n.light[t][i]:r===H.Contained&&t?n.contained[t][i]:r===H.Text?n.text[i]:n.link},eK=({theme:e,variant:t})=>H.Link===t||H.Text===t?"transparent":e.palette.grey["200"],eJ={defaultProps:{disableRipple:!0},styleOverrides:{root({ownerState:e,theme:t}){let i=e.variant,o=e.color,n=e.selected,l=e.size;return{height:eU({size:l}),padding:eX({theme:t,size:l}),[t.breakpoints.down("sm")]:{height:eG({size:l}),padding:eY({size:l,theme:t,variant:i}),whiteSpace:"nowrap"},color:eZ({selected:n,theme:t,variant:i,color:o,buttonState:V.Default}),fontWeight:t.typography.button.fontWeight,fontSize:t.typography.button.fontSize,backgroundColor:eq({selected:n,theme:t,color:o,variant:i,buttonState:V.Default}),border:"none",borderRadius:t.shape.small,"&:hover":{color:eZ({selected:n,theme:t,variant:i,color:o,buttonState:V.Hover}),backgroundColor:eq({selected:n,color:o,variant:i,theme:t,buttonState:V.Hover}),boxShadow:"none"},"&:active":{color:eZ({selected:n,color:o,variant:i,theme:t,buttonState:V.Active}),backgroundColor:eq({selected:n,color:o,variant:i,theme:t,buttonState:V.Active}),outline:"none"},"&:focus-visible":{color:eZ({selected:n,theme:t,variant:i,color:o,buttonState:V.Focus}),backgroundColor:eq({selected:n,color:o,variant:i,theme:t,buttonState:V.Focus}),outline:`2px solid ${t.palette.primary["400"]}`,boxShadow:"none"},[`&.${r.buttonClasses.disabled}`]:{color:t.palette.grey["500"],backgroundColor:eK({theme:t,variant:i}),pointerEvents:"none",cursor:"unset"},[`&.${B}`]:{color:"transparent",backgroundColor:eq({color:o,variant:i,theme:t,buttonState:V.Default})},gap:t.spacing(1),textTransform:"none",boxShadow:"none",minWidth:"auto","&.MuiButton-root .MuiButton-startIcon":{marginRight:t.spacing(1)},"&.MuiButton-root .MuiButton-endIcon":{marginLeft:t.spacing(1)},"&.MuiButton-root .MuiSvgIcon-root":{fontSize:"24px"}}}}},eQ={defaultProps:{disableRipple:!0},styleOverrides:{root:({theme:e})=>({fontFamily:e.typography.fontFamily})}},e0={styleOverrides:{root({ownerState:e,theme:t}){let{"data-color":r}=e;return{color:"primary"===r?t.palette.grey[900]:t.palette.primary.contrastText}}}},e1={styleOverrides:{paper:({theme:e})=>({borderRadius:e.shape.small})}},e2={styleOverrides:{root:({theme:e})=>({padding:e.spacing(4,6,6,6),">div":{width:"100%"}})}},e3={styleOverrides:{root:({theme:e})=>({padding:e.spacing(0,6)})}},e4={styleOverrides:{root:({theme:e})=>({padding:e.spacing(6,6,4),fontSize:e.typography.h4.fontSize,fontWeight:e.typography.h4.fontWeight,lineHeight:e.typography.h4.lineHeight,display:"flex",justifyContent:"space-between",alignItems:"center",[`& .${r.buttonClasses.root}`]:{marginLeft:e.spacing(4),color:e.palette.grey[800]}})}},e8={styleOverrides:{root:({theme:e})=>({[`&.${r.drawerClasses.root} > .${r.backdropClasses.root}`]:{backgroundColor:e.palette.background.modalShadow}})}},e6={styleOverrides:{root:({theme:e})=>({display:"flex",minHeight:e.typography.small.lineHeight,fontSize:e.typography.small.fontSize,margin:e.spacing(1,0,0),lineHeight:e.typography.small.lineHeight,"&.Mui-error":{color:e.palette.error.dark}})}},e9={styleOverrides:{root:()=>({position:"relative",transform:"none"})}},e5={defaultProps:{shrink:!0},styleOverrides:{root:({theme:e})=>({position:"relative",transform:"none",color:e.palette.grey[700],fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),lineHeight:e.typography.pxToRem(16),marginBottom:e.spacing(1),"&.Mui-focused":{color:e.palette.grey[700]},"&.Mui-error":{color:e.palette.grey[700]},"&.Mui-disabled":{color:e.palette.grey[600]}})}},e7={styleOverrides:{root:({theme:e})=>({width:"100%",borderRadius:"4px",backgroundColor:e.palette.grey[300]}),barColorPrimary:({theme:e})=>({backgroundColor:e.palette.primary["800"]})}},te={styleOverrides:{root:({theme:e})=>({"&.Mui-selected":{color:e.palette.primary[800],backgroundColor:e.palette.grey[100]}})}},tt={styleOverrides:{root:()=>({overflow:"hidden",whiteSpace:"nowrap",textAlign:"left",textOverflow:"ellipsis"})}},tr={defaultProps:{autoFocus:!1},styleOverrides:{paper:({theme:e})=>({marginTop:e.spacing(2),[`&&.${r.paperClasses.root}`]:{borderRadius:e.shape.small,boxShadow:e.elevation[200]}}),list:({theme:e})=>({[`&&.${r.listClasses.root}`]:{padding:0},[`&&.${r.listClasses.padding}`]:{padding:e.spacing(1,0)}})}},ti={styleOverrides:{root:({theme:e})=>({padding:e.spacing(2,2,2,3),"&:hover":{backgroundColor:e.palette.background.elementHover},[`&.${r.menuItemClasses.selected}`]:{background:`linear-gradient(90deg, ${e.palette.primary.main} 0, ${e.palette.primary.main} 4px, ${e.palette.primary["100"]} 4px)`},[`&.${r.menuItemClasses.gutters}`]:{minHeight:e.spacing(8),padding:e.spacing(1,3,1,3)},[e.breakpoints.down("sm")]:{padding:e.spacing(3,3,4,3),[`&.${r.menuItemClasses.gutters}`]:{padding:e.spacing(3,3,4,3)}}})}},to={defaultProps:{notched:!1},styleOverrides:{root:({theme:e})=>({fontSize:e.typography.pxToRem(14),borderRadius:e.shape.small,color:e.palette.grey[900],background:e.palette.background.element,"&:hover":{background:e.palette.background.elementHover,"&.Mui-disabled":{background:e.palette.background.element}},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.grey[300]},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.background.element},"&.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.error.dark},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.primary[700]}}),input:({theme:e})=>({height:20,padding:e.spacing(2.5,2),borderRadius:e.shape.small,"&:disabled":{background:e.palette.background.element},"&::placeholder":{opacity:1,color:e.palette.grey[600]}}),inputSizeSmall:({theme:e})=>({paddingBlock:e.spacing(1.5),paddingInline:e.spacing(2)}),notchedOutline:({theme:e})=>({borderWidth:2,borderColor:e.palette.grey[300]}),multiline:()=>({padding:0}),inputMultiline:({theme:e})=>({padding:e.spacing(2)})}},tn={styleOverrides:{root:({theme:e})=>({"&.Mui-selected":{backgroundColor:e.palette.grey["900"],color:e.palette.primary.contrastText}})}},tl=(e,t)=>0===e?"none":1===e?t.elevation["200"]:t.elevation["300"],ta={styleOverrides:{elevation:({theme:e,ownerState:{elevation:t}})=>({boxShadow:tl(t,e)}),outlined:({theme:e})=>({border:`1px solid ${e.palette.grey[300]}`})}},ts={styleOverrides:{horizontal:({theme:e})=>({"&:first-of-type":{paddingLeft:0},padding:e.spacing(0,2.5)})}},td={styleOverrides:{lineHorizontal:({theme:e})=>({borderTopWidth:2,borderColor:e.palette.grey[300]})}},tp={styleOverrides:{label({theme:e}){let{active:t,completed:i,error:o}=r.stepLabelClasses;return{fontSize:e.typography.small.fontSize,lineHeight:e.typography.small.lineHeight,fontWeight:e.typography.small.fontWeight,color:e.palette.grey[700],[`&.${t}, &.${i}, &.${o}`]:{color:e.palette.grey[900],fontSize:e.typography.small.fontSize,lineHeight:e.typography.small.lineHeight,fontWeight:e.typography.small.fontWeight}}},iconContainer:({theme:e})=>({paddingRight:e.spacing(2.5)})}},tc=e=>e.replace("#","%23"),tu=e=>{let t=tc(e);return`url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M2 6L4.5 8.5L10 3.5" stroke="${t}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /></svg>')`},tg=e=>{let t=tc(e);return`url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6.00005 5.41087L3.79463 3.20545C3.71605 3.12955 3.6108 3.08755 3.50155 3.0885C3.3923 3.08945 3.28779 3.13327 3.21054 3.21053C3.13329 3.28778 3.08947 3.39228 3.08852 3.50153C3.08757 3.61078 3.12957 3.71603 3.20546 3.79462L5.41088 6.00003L3.20546 8.20545C3.12957 8.28403 3.08757 8.38929 3.08852 8.49853C3.08947 8.60778 3.13329 8.71229 3.21054 8.78954C3.28779 8.86679 3.3923 8.91062 3.50155 8.91156C3.6108 8.91251 3.71605 8.87052 3.79463 8.79462L6.00005 6.5892L8.20546 8.79462C8.28405 8.87052 8.3893 8.91251 8.49855 8.91156C8.6078 8.91062 8.7123 8.86679 8.78956 8.78954C8.86681 8.71229 8.91063 8.60778 8.91158 8.49853C8.91253 8.38929 8.87053 8.28403 8.79463 8.20545L6.58921 6.00003L8.79463 3.79462C8.83443 3.75618 8.86617 3.7102 8.88801 3.65937C8.90984 3.60853 8.92134 3.55386 8.92182 3.49853C8.9223 3.44321 8.91176 3.38834 8.89081 3.33714C8.86986 3.28593 8.83892 3.23941 8.7998 3.20029C8.76067 3.16116 8.71415 3.13023 8.66294 3.10927C8.61174 3.08832 8.55687 3.07778 8.50155 3.07826C8.44622 3.07874 8.39155 3.09024 8.34071 3.11207C8.28988 3.13391 8.2439 3.16565 8.20546 3.20545L6.00005 5.41087Z" fill="${t}" stroke="${t}" stroke-width="1.5" /></svg>')`},th={styleOverrides:{root:({theme:e})=>({width:"fit-content",height:"fit-content",padding:e.spacing(1),"& .Mui-checked.MuiSwitch-switchBase":{padding:0,"& + .MuiSwitch-track":{backgroundColor:e.palette.primary.main[800],opacity:1}},"& :not(.Mui-checked).MuiSwitch-switchBase":{padding:0,"& + .MuiSwitch-track":{backgroundColor:e.palette.grey[700],opacity:1}},"& .Mui-checked:hover + .MuiSwitch-track":{backgroundColor:e.palette.primary[700]},"& :not(.Mui-checked):hover + .MuiSwitch-track":{backgroundColor:e.palette.grey[500]},"& .MuiButtonBase-root.MuiSwitch-switchBase.Mui-disabled":{"& + .MuiSwitch-track":{backgroundColor:e.palette.grey[200],"&::before":{backgroundImage:tu(e.palette.grey[500])},"&::after":{backgroundImage:tg(e.palette.grey[500])}}},"& :not(.Mui-disabled):active + .MuiSwitch-track":{border:`2px solid ${e.palette.primary[400]}`}}),switchBase:{padding:0,"&:hover, &.Mui-checked:hover":{backgroundColor:"transparent"}},track:({theme:e})=>({borderRadius:10,boxSizing:"border-box","&::before, &::after":{position:"absolute",top:"50%",transform:"translateY(-50%)",content:'""',backgroundSize:"cover"},"&::before":{left:e.spacing(2),backgroundImage:tu(e.palette.background.default)},"&::after":{right:e.spacing(2),backgroundImage:tg(e.palette.background.default)}}),thumb:({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:"none",margin:e.spacing(1.5)}),sizeSmall:{"& .MuiSwitch-track":{width:32,height:16,"&::before, &::after":{width:8,height:8}},"& .MuiSwitch-thumb":{width:12,height:12}},sizeMedium:{"& .MuiSwitch-track":{width:40,height:20,"&::before, &::after":{width:12,height:12}},"& .MuiSwitch-thumb":{width:16,height:16}}}},tm={styleOverrides:{root:({theme:e})=>({minWidth:0,padding:e.spacing(0,2),textTransform:"none"})}},tx={styleOverrides:{root:({theme:e})=>({border:"none",padding:e.spacing(1,4),height:44})}},ty={styleOverrides:{root:({theme:e})=>({th:{borderBottom:`2px solid ${e.palette.grey["300"]}`}})}},tf={styleOverrides:{root:({theme:e})=>({"&.MuiTableRow-hover:hover":{backgroundColor:e.palette.background.elementHover,cursor:"pointer"},"&.Mui-selected":{backgroundColor:e.palette.primary["100"]}})}},tb={styleOverrides:{root:()=>({minHeight:38,height:38}),indicator:({theme:e})=>({borderRadius:e.shape.small})}},t$={styleOverrides:{root:({theme:e})=>({[`& .${r.inputBaseClasses.adornedStart}`]:{paddingLeft:e.spacing(2)},[`& .${r.inputBaseClasses.adornedEnd}`]:{paddingRight:e.spacing(2)},[`& .${r.inputBaseClasses.inputAdornedStart}`]:{paddingLeft:e.spacing(1)},[`& .${r.outlinedInputClasses.notchedOutline}`]:{top:-4.5}})}},tC={styleOverrides:{root:({theme:e})=>({textTransform:"initial",padding:e.spacing(1,2)})}},tw={defaultProps:{size:"small",color:"primary"}},tv={variants:[{props:{variant:"button"},style:{textTransform:"capitalize"}}],defaultProps:{variantMapping:{link:"a",code:"code"}}},tj=e=>`
|
|
191
|
-
@font-face {
|
|
192
|
-
font-family: 'Ubuntu';
|
|
193
|
-
font-style: 'normal';
|
|
194
|
-
font-weight: 300;
|
|
195
|
-
font-display: swap;
|
|
196
|
-
src: url(${e.light.woff2}) format('woff2'), url(${e.light.woff}) format('woff');
|
|
197
|
-
}
|
|
198
|
-
@font-face {
|
|
199
|
-
font-family: 'Ubuntu';
|
|
200
|
-
font-style: 'normal';
|
|
201
|
-
font-weight: 400;
|
|
202
|
-
font-display: swap;
|
|
203
|
-
src: url(${e.regular.woff2}) format('woff2'), url(${e.regular.woff}) format('woff');
|
|
204
|
-
}
|
|
205
|
-
@font-face {
|
|
206
|
-
font-family: 'Ubuntu';
|
|
207
|
-
font-style: 'normal';
|
|
208
|
-
font-weight: 500;
|
|
209
|
-
font-display: swap;
|
|
210
|
-
src: url(${e.medium.woff2}) format('woff2'), url(${e.medium.woff}) format('woff');
|
|
211
|
-
}
|
|
212
|
-
@font-face {
|
|
213
|
-
font-family: 'Ubuntu';
|
|
214
|
-
font-style: 'normal';
|
|
215
|
-
font-weight: 700;
|
|
216
|
-
font-display: swap;
|
|
217
|
-
src: url(${e.bold.woff2}) format('woff2'), url(${e.bold.woff}) format('woff');
|
|
218
|
-
}
|
|
219
|
-
`,tk=e=>({styleOverrides:tj(e)}),tS=e=>({styleOverrides:{root:tj(e)}}),tM={defaultProps:{disableRipple:!0}},tI={defaultProps:{disableRipple:!0}},tF=e=>({MuiCssBaseline:tk(e),MuiScopedCssBaseline:tS(e),MuiAlert:eH,MuiButton:eJ,MuiButtonBase:eQ,MuiTypography:tv,MuiInputLabel:e5,MuiOutlinedInput:to,MuiFormLabel:e9,MuiFormHelperText:e6,MuiAutocomplete:eV,MuiCheckbox:tM,MuiMenu:tr,MuiMenuItem:ti,MuiRadio:tI,MuiDialog:e1,MuiDialogTitle:e4,MuiDialogContent:e3,MuiDialogActions:e2,MuiDrawer:e8,MuiTableCell:tx,MuiTableHead:ty,MuiTableRow:tf,MuiPaginationItem:tn,MuiPaper:ta,MuiCircularProgress:e0,MuiListItemButton:te,MuiListItemText:tt,MuiLinearProgress:e7,MuiTab:tm,MuiTabs:tb,MuiStepLabel:tp,MuiStep:ts,MuiStepConnector:td,MuiToggleButtonGroup:tw,MuiToggleButton:tC,MuiTextField:t$,MuiSwitch:th}),tP=4,tT={100:"0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740;",200:"0px 0px 1px 0px #072D574F, 0px 3px 5px 0px #072D5733;",300:"0px 0px 1px 0px #072D574F, 0px 8px 12px 0px #072D5726;",400:"0px 0px 1px 0px #072D574F, 0px 10px 18px 0px #072D5726;",500:"0px 0px 1px 0px #072D574F, 0px 18px 28px 0px #072D5726;"},tA={link:{main:"#1874FF",hover:"#268FF9",visited:"#762376",active:"#072D57"}},tE=()=>{let e={900:"#0F52B8",800:"#2165CC",700:"#1874FF",600:"#2684FF",500:"#4C9AFF",400:"#70AEFF",300:"#94C2FF",200:"#C5DCFF",100:"#E1EDFF"},t={800:"#55B8F0"};return{red:{900:"#E64343",800:"#F24646",700:"#F35959",600:"#F67E7E",500:"#F79090",400:"#F8A3A3",300:"#FAB5B5",200:"#FCDADA",100:"#FEEDED"},green:{900:"#008055",800:"#00875A",700:"#19936A",600:"#4DAB8C",500:"#66B79C",400:"#80C3AC",300:"#99CFBD",200:"#CCE7DE",100:"#E6F3EF"},yellow:{900:"#ED8000",800:"#F98700",700:"#FA961F",600:"#FBAB4D",500:"#FBB766",400:"#FDCF99",300:"#FDDBB2",200:"#FBE6CC",100:"#FEF3E6"},grey:{900:"#072D57",800:"#1D3F66",700:"#557192",600:"#778DA8",500:"#99A9BA",400:"#B7C2CE",300:"#DDE2E8",200:"#EBEEF1",100:"#F0F4F7"},primary:{main:e[800],dark:e[900],contrastText:"#FFF",...e},secondary:{main:t[800],dark:e[900],contrastText:"#FFF",...t},background:{default:"#FFF",paper:"#FFF",element:"#FAFBFC",elementHover:"#EEF1F4",modalShadow:"#142A438A"},get text(){return{primary:this.grey[900],secondary:this.grey[700],disabled:this.grey[500]}},get info(){return this.primary},get warning(){return{...this.yellow,light:this.yellow[100],main:this.yellow[600],dark:this.yellow[800],contrastText:"#FFF"}},get success(){return{...this.green,light:this.green[100],main:this.green[600],dark:this.green[800],contrastText:"#FFF"}},get error(){return{...this.red,light:this.red[100],main:this.red[600],dark:this.red[800],contrastText:"#FFF"}},components:tA}},tD={small:"3px",medium:"6px",large:"9px"},tR={fontSize:14,htmlFontSize:14,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:700,fontFamily:"Ubuntu,sans-serif"},tL=e=>({h1:{fontSize:"36px",fontWeight:e.typography.fontWeightMedium,lineHeight:"40px"},h2:{fontSize:"28px",fontWeight:e.typography.fontWeightMedium,lineHeight:"32px",[e.breakpoints.down("sm")]:{fontSize:"32px",lineHeight:"40px"}},h3:{fontSize:"24px",fontWeight:e.typography.fontWeightMedium,lineHeight:"28px",[e.breakpoints.down("sm")]:{fontSize:"28px",lineHeight:"36px"}},h4:{fontSize:"20px",fontWeight:e.typography.fontWeightMedium,lineHeight:"24px",[e.breakpoints.down("sm")]:{fontSize:"24px",lineHeight:"28px"}},h5:{fontSize:"16px",fontWeight:e.typography.fontWeightMedium,lineHeight:"20px",[e.breakpoints.down("sm")]:{fontSize:"18px",lineHeight:"20px"}},h6:{fontSize:"14px",fontWeight:e.typography.fontWeightMedium,lineHeight:"20px",[e.breakpoints.down("sm")]:{fontSize:"16px",lineHeight:"20px"}},subtitle1:{fontSize:"16px",fontWeight:e.typography.fontWeightRegular,lineHeight:"20px",[e.breakpoints.down("sm")]:{fontSize:"18px"}},subtitle2:{fontSize:"14px",fontWeight:e.typography.fontWeightMedium,lineHeight:"20px",[e.breakpoints.down("sm")]:{fontSize:"16px"}},body1:{fontSize:"14px",fontWeight:e.typography.fontWeightRegular,lineHeight:"20px",[e.breakpoints.down("sm")]:{fontSize:"16px"}},button:{fontSize:"14px",fontWeight:e.typography.fontWeightMedium,lineHeight:"24px",[e.breakpoints.down("sm")]:{fontSize:"16px"}},link:{fontSize:"14px",fontWeight:e.typography.fontWeightRegular,lineHeight:"20px",[e.breakpoints.down("sm")]:{fontSize:"16px"}},caption:{fontSize:"12px",fontWeight:e.typography.fontWeightRegular,lineHeight:"16px",[e.breakpoints.down("sm")]:{fontSize:"14px"}},pointer:{fontSize:"12px",fontWeight:e.typography.fontWeightMedium,lineHeight:"16px",[e.breakpoints.down("sm")]:{fontSize:"14px"}}}),tO=e=>{let{options:t={},fontsUrls:r,breakpoints:i=eW}=e,o={typography:tR,breakpoints:i,spacing:tP,palette:tE(),components:tF(r),shape:tD,elevation:tT},n=(0,l.createTheme)(o),s=(0,l.createTheme)(n,{typography:tL(n)});return(0,a.mergeDeep)(s,{elevation:tT,shape:tD,...t})},tz=()=>(0,s.useTheme)(),tB=(0,r.styled)("div",{shouldForwardProp:e=>!["variant","direction","gap","width","height","justifyContent","alignItems","padding","margin","gridArea","templateAreas","templateColumns","templateRows","isPaper","elevation","borderRadius"].includes(e.toString()),label:"Container"})`
|
|
220
|
-
display: ${({variant:e="flex",templateAreas:t,templateColumns:r,templateRows:i})=>i||r||t?"grid":e};
|
|
221
|
-
flex-direction: ${({direction:e="row"})=>e};
|
|
222
|
-
flex-wrap: ${({direction:e="row"})=>"row"===e?"nowrap":"wrap"};
|
|
223
|
-
gap: ${({gap:e=2,theme:t})=>t.spacing(e)};
|
|
224
|
-
width: ${({width:e})=>"number"==typeof e?`${e}px`:e};
|
|
225
|
-
height: ${({height:e})=>"number"==typeof e?`${e}px`:e};
|
|
226
|
-
justify-content: ${({justifyContent:e="flex-start"})=>e};
|
|
227
|
-
align-items: ${({alignItems:e})=>e};
|
|
228
|
-
grid-area: ${({gridArea:e})=>e};
|
|
229
|
-
grid-template-areas: ${({templateAreas:e})=>e};
|
|
230
|
-
grid-template-columns: ${({templateColumns:e})=>e};
|
|
231
|
-
grid-template-rows: ${({templateRows:e})=>e};
|
|
232
|
-
box-shadow: ${({theme:e,elevation:t=0})=>e.shadows[t]};
|
|
233
|
-
border-radius: ${({theme:e,borderRadius:t=4})=>e.spacing(t)}px;
|
|
234
|
-
background-color: ${({theme:e,isPaper:t})=>t?e.palette.background.paper:"transparent"};
|
|
235
|
-
padding: ${({padding:e,theme:t})=>"number"==typeof e?t.spacing(e):e};
|
|
236
|
-
margin: ${({margin:e,theme:t})=>"number"==typeof e?t.spacing(e):e};
|
|
237
|
-
`,tW=t=>(0,e.jsx)(tB,{...t});var tH=((w={}).DEFAULT="default",w.PRIMARY="primary",w.ERROR="error",w.GREY="grey",w.SUCCESS="success",w.WARNING="warning",w),tN=((v={}).CONTAINED="contained",v.LIGHT="light",v.TEXT="text",v),tV=((j={}).DEFAULT="default",j.HOVER="hover",j.ACTIVE="active",j);let t_={small:"20px",medium:"24px",large:"32px"},tU=e=>{let{tagColor:t,variant:r}=e;return r===tN.CONTAINED?"white":({[tH.PRIMARY]:"primary",[tH.ERROR]:"error",[tH.GREY]:"grey",[tH.SUCCESS]:"success",[tH.WARNING]:"warning",[tH.DEFAULT]:"grey"})[t||"default"]},tG=({theme:e,customColor:t,customVariant:r,disabled:i})=>{if(i)return e.palette.grey[100];if("text"===r)return"transparent";let o={contained:{primary:e.palette.primary.main,error:e.palette.red[800],success:e.palette.green[800],warning:e.palette.yellow[800],grey:e.palette.grey[300],default:e.palette.background.element},light:{primary:e.palette.primary[100],error:e.palette.red[100],success:e.palette.green[100],warning:e.palette.yellow[100],grey:e.palette.grey[100],default:e.palette.background.element}};return r&&t?o[r][t]:!r&&t?o.contained[t]:e.palette.grey[300]},tX=({theme:e,customColor:t,customVariant:r,disabled:i})=>{if(i)return e.palette.text.disabled;if("text"===r)return e.palette.grey[900];let o={contained:{primary:e.palette.primary.contrastText,error:e.palette.error.contrastText,success:e.palette.warning.contrastText,warning:e.palette.success.contrastText,default:e.palette.text.primary,grey:e.palette.grey[900]},light:{primary:e.palette.primary.main,error:e.palette.red[800],success:e.palette.green[800],warning:e.palette.yellow[800],default:e.palette.text.primary,grey:e.palette.grey[900]}};return r||t?r||"grey"===t?t?r&&t?o[r][t]:e.palette.text.primary:o.contained.default:e.palette.common.white:e.palette.grey[900]},tY=({theme:e,iconState:t,customVariant:r,customColor:i})=>{let o={contained:{primary:e.palette.primary[600],error:e.palette.red[600],success:e.palette.green[600],warning:e.palette.yellow[600],grey:e.palette.grey[100],default:e.palette.grey[300]},light:{primary:e.palette.primary[300],error:e.palette.red[300],success:e.palette.green[300],warning:e.palette.yellow[300],grey:e.palette.grey[300],default:e.palette.grey[300]}};if("default"!==t){if(("contained"===r||"light"===r)&&i)return o[r][i||"default"];if("text"===r)return o.light.grey}return"transparent"},tZ=({customVariant:e,customColor:t,theme:r})=>"contained"===e&&"grey"!==t&&"default"!==t?r.palette.common.white:r.palette.grey[900],tq=(0,r.styled)(r.Chip,{shouldForwardProp:e=>"customColor"!==e&&"customVariant"!==e&&"rounded"!==e&&"customSize"!==e})`
|
|
238
|
-
user-select: none;
|
|
239
|
-
|
|
240
|
-
height: ${({customSize:e})=>t_[e]};
|
|
241
|
-
|
|
242
|
-
font-size: 14px;
|
|
243
|
-
|
|
244
|
-
background-color: ${tG};
|
|
245
|
-
border-radius: ${({theme:e,rounded:t})=>t?"100px":e.shape.small};
|
|
246
|
-
|
|
247
|
-
&:hover {
|
|
248
|
-
color: ${tX};
|
|
249
|
-
|
|
250
|
-
background-color: ${tG};
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
&:active {
|
|
254
|
-
color: ${tX};
|
|
255
|
-
|
|
256
|
-
background-color: ${tG};
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.MuiChip-label {
|
|
260
|
-
padding: ${({theme:e,rounded:t,customSize:r})=>{if(t)return e.spacing(0,2);switch(r){case"small":return e.spacing(0,1);case"medium":case"large":return e.spacing(0,2)}}};
|
|
261
|
-
|
|
262
|
-
color: ${tX};
|
|
263
|
-
|
|
264
|
-
&:hover {
|
|
265
|
-
color: ${tX};
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
&:active {
|
|
269
|
-
color: ${tX};
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.MuiChip-deleteIcon {
|
|
274
|
-
width: 20px;
|
|
275
|
-
height: 20px;
|
|
276
|
-
margin: 0;
|
|
277
|
-
|
|
278
|
-
color: ${tZ};
|
|
279
|
-
|
|
280
|
-
background: ${e=>tY({...e,iconState:tV.DEFAULT})};
|
|
281
|
-
border-radius: ${({theme:e,rounded:t})=>t?"100px":`0 ${e.shape.small} ${e.shape.small} 0`};
|
|
282
|
-
|
|
283
|
-
&:hover {
|
|
284
|
-
color: ${tZ};
|
|
285
|
-
|
|
286
|
-
background: ${e=>tY({...e,iconState:tV.HOVER})};
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
&:active {
|
|
290
|
-
color: ${tZ};
|
|
291
|
-
|
|
292
|
-
background: ${e=>tY({...e,iconState:tV.ACTIVE})};
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
&.Mui-disabled {
|
|
297
|
-
opacity: 1;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.MuiChip-avatar {
|
|
301
|
-
width: 16px;
|
|
302
|
-
height: 16px;
|
|
303
|
-
margin: 2px;
|
|
304
|
-
|
|
305
|
-
color: ${tX};
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.MuiChip-icon {
|
|
309
|
-
width: 16px;
|
|
310
|
-
height: 16px;
|
|
311
|
-
}
|
|
312
|
-
`,tK=(0,r.styled)(tW)`
|
|
313
|
-
flex-direction: column;
|
|
314
|
-
align-items: center;
|
|
315
|
-
justify-content: flex-start;
|
|
316
|
-
`,tJ=(0,t.forwardRef)(({color:t="grey",variant:r="contained",deleteIcon:o,size:n="small",label:l,startAddon:a,endAddon:s,...d},p)=>{let c=tz(),u=(0,e.jsxs)(tK,{children:[a&&(0,e.jsx)(a,{color:tU({variant:r,tagColor:t,theme:c})}),l,s&&(0,e.jsx)(s,{color:tU({variant:r,tagColor:t,theme:c})})]});return(0,e.jsx)(tq,{ref:p,customColor:t,customVariant:r,customSize:n,label:u,...d,deleteIcon:o||(0,e.jsx)(i.X,{})})}),tQ=e=>`display: inline-flex;
|
|
317
|
-
justify-content: center;
|
|
318
|
-
font-size: ${e.typography.h5.fontSize};
|
|
319
|
-
vertical-align: middle;`,t0=(0,r.styled)("span")`
|
|
320
|
-
display: flex;
|
|
321
|
-
|
|
322
|
-
color: ${({success:e,error:t,theme:r})=>e?r.palette.success.dark:t?r.palette.error.dark:"inherit"};
|
|
323
|
-
`,t1=(0,r.styled)(i.CircleCheck)`
|
|
324
|
-
${({theme:e})=>tQ(e)}
|
|
325
|
-
`,t2=(0,r.styled)(i.OctagonAlert)`
|
|
326
|
-
${({theme:e})=>tQ(e)}
|
|
327
|
-
`,t3=(0,r.styled)("span")`
|
|
328
|
-
vertical-align: middle;
|
|
329
|
-
`,t4=({success:r,error:i,children:o})=>{let n=(0,t.useMemo)(()=>r?(0,e.jsx)(t1,{}):i?(0,e.jsx)(t2,{}):null,[r,i]);return o?(0,e.jsxs)(t0,{error:i,success:r,children:[n,(0,e.jsx)(t3,{children:o})]}):null},t8=({children:t,success:i,error:o,...n})=>(0,e.jsx)(r.FormHelperText,{...n,children:(0,e.jsx)(t4,{error:o,success:i,children:t})}),t6=({success:i,error:o,helperText:n,fullWidth:l=!1,startAdornment:a,endAdornment:s,slotProps:d,maxLength:p,trimmed:c=!0,onBlur:u,...g})=>{let h=(0,t.useMemo)(()=>{if(i)return"success"},[i]),m=(0,t.useMemo)(()=>i?(0,e.jsx)(t4,{success:!0,children:n}):o?(0,e.jsx)(t4,{error:!0,children:n}):n||(0,e.jsx)(e.Fragment,{}),[n,i,o]);return(0,e.jsx)(r.TextField,{variant:"outlined",fullWidth:l,error:o,color:h,helperText:m,slotProps:{htmlInput:{maxLength:p},input:{startAdornment:a,endAdornment:s},...d},onBlur:e=>{if(c){let t=e.target.value?.trim();g.onChange?.({...e,target:{...e.target,value:t}})}u?.(e)},...g})},t9=(0,r.styled)(e$)`
|
|
330
|
-
max-height: ${({theme:e})=>e.spacing(13)};
|
|
331
|
-
|
|
332
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
333
|
-
max-height: unset;
|
|
334
|
-
}
|
|
335
|
-
`,t5=e=>Array.isArray(e)?0===e.length:!e,t7=({value:e,isOptionEqualToValue:r,autoHighlight:i=!0,freeSolo:o,options:n,loading:l,isLoadedDataError:a,loadedDataError:s="Ошибка загрузки данных",noOptionsText:d="Нет данных",onInputChange:p})=>{let[c,u]=(0,t.useState)(""),g=t5(e),h=c.length>=1,m=n.length>0;return{isValueEmpty:g,isPopperVisible:h||m||l||a,autocompleteProps:{isOptionEqualToValue:(0,t.useCallback)((e,t)=>r?r(e,t):JSON.stringify(e)===JSON.stringify(t),[r]),autoHighlight:!o&&i,noOptionsText:a?s:d,onInputChange:(e,t,r)=>{p?.(e,t,r),l||u(t)}}}},re=o=>{let{isValueEmpty:n,isPopperVisible:l,autocompleteProps:a}=t7(o),{required:s,success:d,error:p,label:c,getOptionLabel:u,helperText:g,inputRef:h,multiple:m,size:x="medium",placeholder:y="Начните вводить для поиска",overflowOption:f,closeText:b="Закрыть",openText:$="Открыть",clearText:C="Очистить",loadingText:w=(0,e.jsx)(U,{color:"primary"}),isLoadedDataError:v,loadedDataError:j,noOptionsText:k,autoHighlight:S,renderInput:M,renderTags:I,renderOption:F,...P}=o,T=(0,t.useCallback)(t=>{let r={...t,inputRef:h,required:s,placeholder:n?y:"",label:c,success:d,error:p,helperText:g,size:x};return M?M(r):(0,e.jsx)(t6,{...r})},[n,M,h,s,y,c,d,p,g,x]),A=(0,t.useCallback)((i,o,n,l)=>{if(F)return F(i,o,n,l);let a=!!i["aria-selected"];return(0,t.createElement)(t9,{...i,key:i.id,children:[m&&(0,e.jsx)(r.ListItemIcon,{children:(0,e.jsx)(eA,{role:"menuitemcheckbox",checked:a})}),(0,e.jsx)(eB,{rowsCount:2,...f,children:i.key})]})},[m,f,F]),E=(0,t.useCallback)((r,o,n)=>I?I(r,o,n):r.map((r,n)=>{let l=u?.(r)||"";return(0,t.createElement)(tJ,{deleteIcon:(0,e.jsx)(i.X,{}),color:"grey",label:l,...o({index:n}),key:l})}),[u,I]),D=(0,t.useCallback)(t=>l?(0,e.jsx)(r.Popper,{...t}):null,[l]);return(0,e.jsx)(r.Autocomplete,{...P,size:x,clearText:C,closeText:b,openText:$,loadingText:w,multiple:m,disableCloseOnSelect:m,clearIcon:(0,e.jsx)(i.X,{}),popupIcon:(0,e.jsx)(i.ChevronDown,{}),forcePopupIcon:!0,slotProps:{clearIndicator:{disableRipple:!0},popper:{component:D}},getOptionLabel:u,renderInput:T,renderTags:E,renderOption:A,...a})},rt=0,rr=300,ri="Нет данных",ro=({fetchOptions:e,fetchDelayMs:i=rr,minSymbolsToFetch:o=rt,defaultValue:n,getOptionLabel:l,noOptionsText:a=ri,onOpen:s,onInputChange:d})=>{let[p,c]=(0,t.useState)(!1),[u,g]=(0,t.useState)(!0),[h,m]=(0,t.useState)(!0),x=(0,t.useRef)(null),[y,f]=(0,t.useState)([]),b=(0,t.useCallback)((0,r.debounce)(t=>{x.current?.abort();let r=new AbortController;x.current=r,e(t,r?.signal).then(e=>{f(e),m(0===e.length)}).finally(()=>{c(!1),x.current=null})},i),[e,i,a]);return{handleOpen:e=>{if(u){g(!1);let e=n&&l?l(n):"";(n||0===o)&&(c(!0),b(e))}s?.(e)},handleInputChange:(e,t,r)=>{if(!t||t.length<o)return b&&b.clear(),m(!1),c(!1),f([]);c(!0),u||b(t),d?.(e,t,r)},options:y,isLoadingData:p,emptyOptionsText:h?a:"Продолжайте вводить для поиска"}},rn=t=>{let{options:r,isLoadingData:i,handleOpen:o,handleInputChange:n,emptyOptionsText:l}=ro(t),{fetchOptions:a,fetchDelayMs:s,minSymbolsToFetch:d,isDisabled:p,isRequired:c,isSuccess:u,isError:g,isLoading:h,isFullWidth:m,onOpen:x,noOptionsText:y,onInputChange:f,...b}=t;return(0,e.jsx)(re,{options:r,disabled:p,fullWidth:m,loading:h||i,onOpen:o,error:g,required:c,success:u,noOptionsText:l,onInputChange:n,...b})},rl=({$customColor:e,theme:t,$variantColor:r})=>{let i={contained:{grey:t.palette.grey[800],primary:t.palette.primary[800],error:t.palette.red[800],success:t.palette.green[800],warning:t.palette.yellow[800],default:t.palette.primary.main},light:{grey:t.palette.grey[300],primary:t.palette.primary[100],error:t.palette.red[100],success:t.palette.green[100],warning:t.palette.yellow[100],default:t.palette.primary.main}};return"white"===e?t.palette.background.default:i[r][e]},ra=({$customColor:e,theme:t,$variantColor:r})=>{let i={grey:t.palette.grey[900],primary:t.palette.primary[900],error:t.palette.red[900],success:t.palette.green[900],warning:t.palette.yellow[900],default:t.palette.primary.contrastText};return"white"===e?t.palette.grey[900]:"contained"===r?t.palette.common.white:i[e||"default"]},rs=(0,r.styled)(r.Badge,{shouldForwardProp:e=>!["$customColor","$withBorder","$variantColor"].includes(e.toString())})`
|
|
336
|
-
.MuiBadge-badge {
|
|
337
|
-
height: 20px;
|
|
338
|
-
padding: ${({theme:e})=>e.spacing(0,1)};
|
|
339
|
-
|
|
340
|
-
font-size: ${({theme:e})=>e.typography.caption.fontSize};
|
|
341
|
-
line-height: 20px;
|
|
342
|
-
color: ${({$customColor:e,theme:t,$variantColor:r})=>ra({$customColor:e,theme:t,$variantColor:r})};
|
|
343
|
-
|
|
344
|
-
background-color: ${({$customColor:e,theme:t,$variantColor:r})=>rl({$customColor:e,theme:t,$variantColor:r})};
|
|
345
|
-
border: ${({$withBorder:e,theme:t})=>e?`2px solid ${t.palette.common.white}`:"none"};
|
|
346
|
-
border-radius: ${({$withBorder:e})=>e?"12px":null};
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.MuiBadge-dot {
|
|
350
|
-
width: 12px;
|
|
351
|
-
height: 12px;
|
|
352
|
-
|
|
353
|
-
border: 2px solid ${({theme:e})=>e.palette.common.white};
|
|
354
|
-
}
|
|
355
|
-
`,rd=({children:t,color:r,max:i=99,withBorder:o=!0,variantColor:n="contained",...l})=>(0,e.jsx)(rs,{$customColor:r,max:i,$withBorder:o,$variantColor:n,...l,children:t}),rp=t=>(0,e.jsx)(r.FormControl,{...t}),rc=(0,r.styled)(r.FormControlLabel)`
|
|
356
|
-
margin-right: 0;
|
|
357
|
-
margin-left: -5px;
|
|
358
|
-
|
|
359
|
-
& .MuiFormControlLabel-label {
|
|
360
|
-
margin-left: ${({theme:e})=>e.spacing(1)};
|
|
361
|
-
}
|
|
362
|
-
`,ru=t=>(0,e.jsx)(rc,{...t}),rg=(0,r.styled)(ru)`
|
|
363
|
-
align-items: flex-start;
|
|
364
|
-
`,rh=(0,r.styled)(eA)`
|
|
365
|
-
padding-top: 3px;
|
|
366
|
-
`,rm=({isSuccess:r,helperText:i,hideHelperText:o=!1,label:n,isError:l,...a})=>{let s=(0,t.useMemo)(()=>!!(l&&o),[l,o]);return(0,e.jsxs)(rp,{children:[(0,e.jsx)(eb,{title:s&&i,placement:"bottom-start",withoutContainer:!1,children:(0,e.jsx)(rg,{control:(0,e.jsx)(rh,{isError:l,...a}),label:n})}),!o&&(0,e.jsx)(t8,{error:l,success:r,children:i})]})},rx={noDataImgSrc:"",defaultErrorImgSrc:"",outdatedReleaseErrorImgSrc:"",mailImgSrc:""},ry={phone:"",email:""},rf="ym-hide-content",rb=(0,t.createContext)({language:"ru",captureException:e=>console.error(e),imagesMap:rx,techSup:ry,emptySymbol:"—",hidePersonalDataClassname:rf,hidePersonalData:!0}),r$=({children:r,language:i="ru",captureException:o,emptySymbol:n="—",imagesMap:l=rx,techSup:a=ry,hidePersonalData:s=!0,hidePersonalDataClassname:d=rf,components:p})=>((0,t.useEffect)(()=>{o||console.warn("ConfigProvider: Необходимо наличие captureException, связанного с сервисом мониторинга ошибок.\nНа данный момент все ошибки, отлавливаемые в ErrorBoundary будут выводиться только в консоль")},[]),(0,e.jsx)(rb.Provider,{value:{language:i,captureException:o||(e=>console.error(e)),emptySymbol:n,imagesMap:l,techSup:a,hidePersonalData:s,hidePersonalDataClassname:d,components:p},children:r})),rC=({children:t,onClose:i,open:o,title:n,...l})=>{let{isMobile:a}=et();return a?(0,e.jsx)(ec,{title:n,onClose:i,open:o,children:t}):(0,e.jsx)(r.Popover,{open:o,onClose:i,...l,children:t})},rw={vertical:"bottom",horizontal:"right"},rv={vertical:"top",horizontal:"right"},rj=(0,r.styled)("div")`
|
|
367
|
-
max-width: 380px;
|
|
368
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
369
|
-
`,rk=(0,r.styled)(E)`
|
|
370
|
-
margin-bottom: ${({theme:e})=>e.spacing(3)};
|
|
371
|
-
`,rS=(0,r.styled)("div")`
|
|
372
|
-
display: flex;
|
|
373
|
-
gap: ${({theme:e})=>e.spacing(3)};
|
|
374
|
-
justify-content: end;
|
|
375
|
-
`,rM=({confirmButtonProps:e,onConfirm:t})=>{let{isOpen:r,anchor:i,actions:o}=ei(),{isAccented:n}=e||{},l=n?H.Light:H.Contained,a=n?W.Error:W.Primary;return{actionComponentProps:{onClick:o.open},popoverProps:{open:r,anchorEl:i,onClose:o.close},cancelButtonProps:{onClick:o.close},confirmButtonProps:{variant:l,color:a,onClick:()=>{t(),o.close()}}}},rI=t=>{let{actionComponentProps:r,popoverProps:i,cancelButtonProps:o,confirmButtonProps:n}=rM(t),{text:l,confirmButtonProps:a,popoverProps:s,actionComponent:d}=t,{text:p="Подтвердить"}=a||{},{anchorOrigin:c=rw,transformOrigin:u=rv}=s||{};return(0,e.jsxs)(e.Fragment,{children:[d(r),(0,e.jsx)(rC,{anchorOrigin:c,transformOrigin:u,...i,children:(0,e.jsxs)(rj,{children:[l&&(0,e.jsx)(rk,{children:l}),(0,e.jsxs)(rS,{children:[(0,e.jsx)(q,{variant:"text",...o,children:"Отмена"}),(0,e.jsx)(q,{...n,children:p})]})]})})]})},rF=({children:t,onClose:o,...n})=>(0,e.jsxs)(r.DialogTitle,{...n,children:[t,o&&(0,e.jsx)(ee,{variant:"text",onClick:e=>{o&&o(e,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:(0,e.jsx)(i.X,{})})]}),rP={xs:{minWidth:"300px",maxWidth:"399px"},sm:{minWidth:"400px",maxWidth:"499px"},md:{minWidth:"500px",maxWidth:"599px"},lg:{minWidth:"600px",maxWidth:"699px"},xl:{minWidth:"700px",maxWidth:"980px"}},rT=e=>rP[e]||rP.md,rA=(0,r.styled)(r.Dialog,{shouldForwardProp:e=>!["$size"].includes(e.toString())})`
|
|
376
|
-
&.${r.dialogClasses.root} .${r.backdropClasses.root} {
|
|
377
|
-
background-color: ${({theme:e})=>e.palette.background.modalShadow};
|
|
378
|
-
}
|
|
379
|
-
.${r.dialogClasses.paper} {
|
|
380
|
-
min-width: ${({$size:e})=>rT(e).minWidth};
|
|
381
|
-
max-width: ${({$size:e})=>rT(e).maxWidth};
|
|
382
|
-
}
|
|
383
|
-
`,rE=({children:t,title:r,disableBackdropClick:i,onClose:o,size:n="md",...l})=>{let a=o&&((e,t)=>{(!i||"backdropClick"!==t)&&o(e,t)}),{isMobile:s}=et();return s?(0,e.jsx)(ec,{onClose:a,title:r,children:t}):(0,e.jsxs)(rA,{$size:n,onClose:a,...l,children:[r&&(0,e.jsx)(rF,{onClose:o,children:r}),t]})},rD=(0,r.styled)(r.DialogActions)`
|
|
384
|
-
padding-top: 0;
|
|
385
|
-
|
|
386
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
387
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
388
|
-
}
|
|
389
|
-
`,rR=(0,r.styled)(tW)`
|
|
390
|
-
${({theme:e})=>e.breakpoints.up("sm")} {
|
|
391
|
-
flex-direction: column;
|
|
392
|
-
justify-content: end;
|
|
393
|
-
}
|
|
394
|
-
`,rL=({children:t,disableSpacing:r,...i})=>(0,e.jsx)(rD,{...i,children:(0,e.jsx)(rR,{gap:2*!r,children:t})}),rO=(0,r.styled)(r.DialogContent)`
|
|
395
|
-
padding-bottom: ${({theme:e})=>e.spacing(6)};
|
|
396
|
-
|
|
397
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
398
|
-
padding: ${({theme:e})=>e.spacing(5,4)};
|
|
399
|
-
}
|
|
400
|
-
`,rz=t=>(0,e.jsx)(rO,{...t}),rB=(0,r.styled)(r.DialogContentText)`
|
|
401
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
402
|
-
`,rW=t=>(0,e.jsx)(rB,{...t}),rH=(0,r.styled)(q)`
|
|
403
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
404
|
-
order: 1;
|
|
405
|
-
}
|
|
406
|
-
`,rN=({actions:e,onClose:t})=>{let{isMobile:r}=et(),{cancel:i}=e,o=!!i,n=i?.onClick||t,{variant:l=r?"light":"text"}=i||{};return{isShowCancelButton:o,cancelButtonProps:{variant:l,onClick:n}}},rV=t=>{let{isShowCancelButton:r,cancelButtonProps:i}=rN(t),{open:o,title:n,description:l,actions:a,onClose:s,...d}=t,{text:p,...c}=a.confirm,{text:u,variant:g,onClick:h,...m}=a.cancel||{};return(0,e.jsxs)(rE,{title:n,open:o,onClose:s,...d,children:[l&&(0,e.jsx)(rz,{children:(0,e.jsx)(rW,{children:l})}),(0,e.jsxs)(rL,{children:[r&&(0,e.jsx)(rH,{...m,...i,children:u}),(0,e.jsx)(q,{...c,children:p})]})]})},r_="small",rU="medium",rG="large",rX={[r_]:"239px",[rU]:"323px",[rG]:"458px"},rY={[r_]:"119px",[rU]:"161px",[rG]:"229px"},rZ={[r_]:"384px",[rU]:"400px",[rG]:"460px"},rq={[r_]:"h5",[rU]:"h4",[rG]:"h3"},rK=(0,r.styled)("img",{shouldForwardProp:e=>"size"!==e})`
|
|
407
|
-
display: block;
|
|
408
|
-
|
|
409
|
-
width: ${({width:e})=>e||"auto"};
|
|
410
|
-
max-width: 100%;
|
|
411
|
-
height: ${({height:e})=>e||"auto"};
|
|
412
|
-
margin: auto auto
|
|
413
|
-
${({theme:e,size:t})=>t===r_?e.spacing(4):e.spacing(6)};
|
|
414
|
-
|
|
415
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
416
|
-
|
|
417
|
-
object-fit: contain;
|
|
418
|
-
|
|
419
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
420
|
-
margin: auto auto ${({theme:e})=>e.spacing(8)};
|
|
421
|
-
}
|
|
422
|
-
`,rJ=rK,rQ=rK.withComponent,r0=e=>"$size"!==e,r1=(0,r.styled)("div",{shouldForwardProp:r0})`
|
|
423
|
-
display: flex;
|
|
424
|
-
flex-direction: column;
|
|
425
|
-
gap: ${({theme:e,$size:t})=>t===r_?e.spacing(4):e.spacing(6)};
|
|
426
|
-
align-items: center;
|
|
427
|
-
justify-content: center;
|
|
428
|
-
|
|
429
|
-
width: 100%;
|
|
430
|
-
height: 100%;
|
|
431
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
432
|
-
|
|
433
|
-
background-color: ${({theme:e})=>e.palette.background.paper};
|
|
434
|
-
|
|
435
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
436
|
-
display: grid;
|
|
437
|
-
grid-template-columns: 100%;
|
|
438
|
-
grid-template-rows: 1fr max-content;
|
|
439
|
-
gap: ${({theme:e})=>e.spacing(4)};
|
|
440
|
-
}
|
|
441
|
-
`,r2=(0,r.styled)("div",{shouldForwardProp:r0})`
|
|
442
|
-
max-width: ${({$size:e})=>rZ[e]};
|
|
443
|
-
margin: 0 auto;
|
|
444
|
-
`,r3=(0,r.styled)(E,{shouldForwardProp:r0})`
|
|
445
|
-
margin-bottom: ${({theme:e,$size:t})=>t===r_?e.spacing(2):e.spacing(4)};
|
|
446
|
-
|
|
447
|
-
text-align: center;
|
|
448
|
-
|
|
449
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
450
|
-
margin-bottom: ${({theme:e})=>e.spacing(4)};
|
|
451
|
-
|
|
452
|
-
font-size: ${({theme:e})=>e.typography.pxToRem(20)};
|
|
453
|
-
font-weight: ${({theme:e})=>e.typography.fontWeightMedium};
|
|
454
|
-
color: ${({theme:e})=>e.palette.text.secondary};
|
|
455
|
-
}
|
|
456
|
-
`,r4=(0,r.styled)(E,{shouldForwardProp:r0})`
|
|
457
|
-
display: block;
|
|
458
|
-
|
|
459
|
-
font-size: ${({$size:e,theme:t})=>e===rG?t.typography.pxToRem(16):t.typography.body1.fontSize};
|
|
460
|
-
text-align: center;
|
|
461
|
-
|
|
462
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
463
|
-
font-size: ${({theme:e})=>e.typography.body1.fontSize};
|
|
464
|
-
color: ${({theme:e})=>e.palette.text.secondary};
|
|
465
|
-
}
|
|
466
|
-
`,r8=(0,r.styled)("footer")`
|
|
467
|
-
display: flex;
|
|
468
|
-
flex-wrap: wrap;
|
|
469
|
-
gap: ${({theme:e})=>e.spacing(2)};
|
|
470
|
-
justify-content: center;
|
|
471
|
-
|
|
472
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
473
|
-
|
|
474
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
475
|
-
flex-direction: column;
|
|
476
|
-
gap: ${({theme:e})=>e.spacing(3)};
|
|
477
|
-
|
|
478
|
-
margin-top: auto;
|
|
479
|
-
}
|
|
480
|
-
`,r6=({className:r,title:i,imgSrc:o,imgAlt:n,description:l,Actions:a,size:s="small",imgWidth:d,renderImage:p})=>{let c=(0,t.useContext)(rb),u=c.components?.placeholder?.defaultProps?.renderImage,g=(0,t.useMemo)(()=>p&&rQ(p)||u&&rQ(u)||rJ,[p,u]);return(0,e.jsxs)(r1,{$size:s,className:r,children:[(0,e.jsxs)(r2,{$size:s,children:[o&&(0,e.jsx)(g,{src:o,alt:n,width:d||rX[s],height:d?"auto":rY[s],size:s}),(0,e.jsx)(r3,{$size:s,variant:rq[s],children:i}),l&&(0,e.jsx)(r4,{$size:s,component:"div",variant:"body1",children:l})]}),a&&(0,e.jsx)(r8,{children:a})]})},r9=()=>{let{imagesMap:i,techSup:o}=(0,t.useContext)(rb);return(0,e.jsx)(r6,{title:"Произошла непредвиденная ошибка",description:(0,e.jsxs)("div",{children:[(0,e.jsx)(E,{children:"Пожалуйста, попробуйте обновить страницу или обратитесь в техническую поддержку:"}),(0,e.jsxs)(E,{children:["email\xa0",(0,e.jsx)(r.Link,{href:`mailto:${o.email}`,children:o.email}),", телефон\xa0",(0,e.jsx)(r.Link,{href:`tel:${o.phone}`,children:o.phone})]})]}),imgAlt:"Непредвиденная ошибка",imgSrc:i.defaultErrorImgSrc,imgWidth:"324px",Actions:(0,e.jsx)(q,{onClick:()=>{location.reload()},children:"Обновить страницу"})})},r5=()=>{let{imagesMap:r}=(0,t.useContext)(rb);return(0,e.jsx)(r6,{title:"Обновление в сервисе",description:(0,e.jsx)(E,{component:"p",children:"Наши специалисты работают над улучшением качества продукта. Для загрузки обновлений, пожалуйста, обновите страницу."}),imgAlt:"Обновление в сервисе",imgSrc:r.outdatedReleaseErrorImgSrc,imgWidth:"324px",Actions:(0,e.jsx)(q,{onClick:()=>{location.reload()},children:"Обновить страницу"})})};var r7=((k={}).OutdatedRelease="outdatedRelease",k.Default="default",k);let ie=[{type:r7.OutdatedRelease,condition:e=>"ChunkLoadError"===e.name||e.message.includes("Failed to fetch dynamically imported module")},{type:r7.Default,condition:()=>!0}],it={[r7.OutdatedRelease]:(0,e.jsx)(r5,{}),[r7.Default]:(0,e.jsx)(r9,{})};class ir extends t.default.Component{static contextType=rb;context;state={hasError:!1,typeError:r7.Default};static getDerivedStateFromError(e){return{hasError:!0,typeError:ie.find(({condition:t})=>t(e))?.type??r7.Default}}componentDidCatch(e){this.context.captureException(e)}render(){return this.state.hasError?it[this.state.typeError]:this.props.children}}let ii=(0,r.styled)("div")`
|
|
481
|
-
display: flex;
|
|
482
|
-
flex-grow: 1;
|
|
483
|
-
align-items: center;
|
|
484
|
-
justify-content: center;
|
|
485
|
-
|
|
486
|
-
width: 100%;
|
|
487
|
-
height: 100%;
|
|
488
|
-
`,io=({isLoading:r,isError:i,isCustom:o,errorState:n,customState:l,children:a,loadingContent:s=(0,e.jsx)(U,{color:"primary"})})=>{let{imagesMap:d}=(0,t.useContext)(rb);if(r)return(0,e.jsx)(ii,{children:s});if(o&&l)return(0,e.jsx)(r6,{...l});if(i&&n){let{title:t="Произошла ошибка",imgAlt:r,imgSrc:i=d.defaultErrorImgSrc,errorList:o,onRetry:l,actions:a=(0,e.jsx)(q,{onClick:l,children:"Попробовать снова"})}=n,s=o.map(t=>(0,e.jsx)(E,{component:"p",children:t},t));return(0,e.jsx)(r6,{title:t,description:s,imgAlt:r,imgSrc:i,Actions:a})}return(0,e.jsx)(ir,{children:a})},il=(0,r.styled)(E)`
|
|
489
|
-
cursor: pointer;
|
|
490
|
-
|
|
491
|
-
display: flex;
|
|
492
|
-
align-items: center;
|
|
493
|
-
|
|
494
|
-
&:hover {
|
|
495
|
-
text-decoration: underline;
|
|
496
|
-
}
|
|
497
|
-
`,ia=(0,r.styled)(i.Copy,{shouldForwardProp:e=>!["$copyPosition"].includes(e.toString())})`
|
|
498
|
-
margin-right: ${({$copyPosition:e,theme:t})=>"left"===e?t.spacing(1):""};
|
|
499
|
-
margin-left: ${({$copyPosition:e,theme:t})=>"right"===e?t.spacing(1):""};
|
|
500
|
-
|
|
501
|
-
/* Задаем размер иконки */
|
|
502
|
-
font-size: 16px;
|
|
503
|
-
|
|
504
|
-
fill: ${({color:e})=>e};
|
|
505
|
-
`;var is=((S={}).Copied="Скопировано",S.Error="Ошибка копирования",S.CanCopy="Скопировать",S);let id=({children:e,copyText:r,isShowCopyText:i,copyPosition:o})=>{let[n,l]=(0,t.useState)(is.CanCopy);return{handleMouseLeave:()=>{n!==is.CanCopy&&setTimeout(()=>{l(is.CanCopy)},100)},handleClick:t=>{t.stopPropagation(),navigator.clipboard.writeText(r||("string"==typeof e?e:"")).then(()=>l(is.Copied)).catch(()=>l(is.Error))},tooltipTitle:i?`${n}: ${r}`:n,isIconOnLeft:"left"===o}},ip=t=>{let{children:r,copyPosition:i="right",copyText:o,isShowCopyText:n,color:l,...a}=t,s=()=>(0,e.jsx)(ia,{$copyPosition:i,color:l}),{handleMouseLeave:d,handleClick:p,tooltipTitle:c,isIconOnLeft:u}=id(t);return(0,e.jsx)(eb,{title:c,disableInteractive:!0,placement:"bottom",children:(0,e.jsxs)(il,{onMouseLeave:d,onClick:p,component:"div",color:l,...a,children:[u&&s(),r,!u&&s()]})})},ic="data-row-disable",iu="astral-ui_datagrid_row_hidden",ig=44,ih=32,im=ih/2,ix=10,iy=1,ib=2,i$=(0,r.styled)("ul",{shouldForwardProp:e=>!["$level","$isShowConnector"].includes(e.toString())})`
|
|
506
|
-
position: relative;
|
|
507
|
-
|
|
508
|
-
margin: 0;
|
|
509
|
-
padding: 0;
|
|
510
|
-
|
|
511
|
-
list-style: none;
|
|
512
|
-
|
|
513
|
-
&::before {
|
|
514
|
-
content: '';
|
|
515
|
-
|
|
516
|
-
position: absolute;
|
|
517
|
-
z-index: 2;
|
|
518
|
-
top: 0;
|
|
519
|
-
transform: ${({$level:e})=>`translateX(calc(${ih}px * ${e} - ${im}px))`};
|
|
520
|
-
|
|
521
|
-
display: ${({$isShowConnector:e})=>e?"block":"none"};
|
|
522
|
-
|
|
523
|
-
width: 0;
|
|
524
|
-
height: 100%;
|
|
525
|
-
|
|
526
|
-
border-left: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
527
|
-
}
|
|
528
|
-
`,iC=(0,r.styled)("li",{shouldForwardProp:e=>!["$level","$isShowConnector","$gridColumns"].includes(e.toString())})`
|
|
529
|
-
position: relative;
|
|
530
|
-
|
|
531
|
-
display: grid;
|
|
532
|
-
grid-template-columns: ${({$gridColumns:e})=>e};
|
|
533
|
-
|
|
534
|
-
height: 36px;
|
|
535
|
-
margin-left: ${({$level:e})=>`${e*ih}px`};
|
|
536
|
-
|
|
537
|
-
&::before {
|
|
538
|
-
content: '';
|
|
539
|
-
|
|
540
|
-
position: absolute;
|
|
541
|
-
top: 0;
|
|
542
|
-
left: -${im}px;
|
|
543
|
-
|
|
544
|
-
display: ${({$isShowConnector:e})=>e?"block":"none"};
|
|
545
|
-
|
|
546
|
-
width: ${im}px;
|
|
547
|
-
height: 50%;
|
|
548
|
-
|
|
549
|
-
border-bottom: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
550
|
-
border-left: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
551
|
-
border-radius: 0 0 0 ${({theme:e})=>e.shape.small};
|
|
552
|
-
}
|
|
553
|
-
`,iw=(0,r.styled)(q,{shouldForwardProp:e=>!["$moreButtonColumnPosition"].includes(e.toString())})`
|
|
554
|
-
grid-column: ${({$moreButtonColumnPosition:e})=>e};
|
|
555
|
-
justify-self: start;
|
|
556
|
-
|
|
557
|
-
margin: ${({theme:e})=>e.spacing(0,2)};
|
|
558
|
-
`,iv=(0,t.createContext)({checkIsOpened:()=>!1,checkIsMoreOpened:()=>!1,toggleOpenItems:()=>{},toggleOpenMoreItems:()=>{}}),ij={isOpenedItems:!0,iOpenedMoreItems:!1},ik=({children:r})=>{let[i,o]=(0,t.useState)({}),n=e=>!!i[e],l=e=>!!i[e]&&i[e].iOpenedMoreItems;return(0,e.jsx)(iv.Provider,{value:{checkIsOpened:n,checkIsMoreOpened:l,toggleOpenItems:e=>o(t=>{if(n(e)){let r={...t};return delete r[e],r}return{...t,[e]:ij}}),toggleOpenMoreItems:e=>o(t=>{if(l(e)){let r={...t};return r[e]=ij,r}return{...t,[e]:{...ij,iOpenedMoreItems:!0}}})},children:r})};var iS=((M={}).ASC="asc",M.DESC="desc",M),iM=((I={}).Tree="tree",I.Subrows="subrows",I);let iI=({rowId:e,data:r,level:i,variant:o,initialVisibleChildrenCount:n})=>{let{checkIsMoreOpened:l,toggleOpenMoreItems:a}=(0,t.useContext)(iv),s=Object.is(o,iM.Tree),d=r?.slice(0,n),p=r?.slice(n),c=l(e);return{isShowAllChildren:c,isShowMoreButton:!!p?.length,isShowConnector:s,initialVisibleChildren:d,otherChildren:p,nextLevel:s?i+1:0,handleToggleShowAllChildren:t=>{t.stopPropagation(),a(e)}}},iF=(0,t.memo)(t=>{let{isShowAllChildren:r,isShowMoreButton:i,isShowConnector:o,nextLevel:n,initialVisibleChildren:l,otherChildren:a,handleToggleShowAllChildren:s}=iI(t),{isOpen:d,data:p,keyId:c,level:u,gridColumns:h,moreButtonColumnPosition:m,renderRow:x}=t;return p&&p.length?(0,e.jsx)(g,{in:d,unmountOnExit:!0,children:(0,e.jsxs)(i$,{$level:u,$isShowConnector:o,children:[l.map(({children:e,options:t,...r})=>x({key:r[c],row:r,options:t,nestedChildren:e,level:n})),d&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(g,{in:r,component:"li",unmountOnExit:!0,children:(0,e.jsx)(i$,{$level:u,$isShowConnector:o,children:a.map(({children:e,options:t,...r})=>x({key:r[c],row:r,options:t,nestedChildren:e,level:n,className:iu}))})}),i&&(0,e.jsx)(iC,{$level:n,$isShowConnector:o,$gridColumns:h,children:(0,e.jsx)(iw,{$moreButtonColumnPosition:m,variant:"link",onClick:s,children:r?"Скрыть":"Показать все"})})]})]})}):null}),iP={left:"start",center:"center",right:"end"},iT=e=>e&&iP[e]||"start",iA=(0,r.styled)("div",{shouldForwardProp:e=>!["$align","$isDisabled","$hasStartAdornment"].includes(e.toString())})`
|
|
559
|
-
overflow: hidden;
|
|
560
|
-
display: flex;
|
|
561
|
-
align-items: center;
|
|
562
|
-
justify-content: ${({$align:e})=>iT(e)};
|
|
563
|
-
|
|
564
|
-
min-height: ${ig}px;
|
|
565
|
-
padding: ${({theme:e,$hasStartAdornment:t})=>t?e.spacing(1,2,1,0):e.spacing(1,2)};
|
|
566
|
-
|
|
567
|
-
opacity: ${({$isDisabled:e})=>e?.5:1};
|
|
568
|
-
`,iE=({row:e,cell:r,emptyCellValue:i,startAdornment:o})=>{let{format:n,field:l}=r,a=e=>!!e||0===e;return{formattedValue:(0,t.useMemo)(()=>n&&a(n(e))?n(e):l&&a(e[l])?e[l]:i,[l,n,e,i]),hasStartAdornment:!!o}},iD=(0,r.styled)("li")`
|
|
569
|
-
position: relative;
|
|
570
|
-
|
|
571
|
-
&:not(:last-of-type)::before,
|
|
572
|
-
&.${iu}::before {
|
|
573
|
-
content: '';
|
|
574
|
-
|
|
575
|
-
position: absolute;
|
|
576
|
-
z-index: 1;
|
|
577
|
-
top: 0;
|
|
578
|
-
transform: ${({$level:e})=>`translateX(calc(${ih}px * ${e} - ${im}px))`};
|
|
579
|
-
|
|
580
|
-
display: ${({$isShowConnector:e})=>e?"block":"none"};
|
|
581
|
-
|
|
582
|
-
width: 0;
|
|
583
|
-
height: 100%;
|
|
584
|
-
|
|
585
|
-
border-left: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
586
|
-
}
|
|
587
|
-
`,iR=(0,r.styled)("div")`
|
|
588
|
-
position: relative;
|
|
589
|
-
|
|
590
|
-
display: grid;
|
|
591
|
-
grid-template-columns: ${({$gridColumns:e})=>e};
|
|
592
|
-
|
|
593
|
-
background-color: ${({theme:e,$isSelected:t})=>t?e.palette.primary[100]:"transparent"};
|
|
594
|
-
|
|
595
|
-
transition: ${({theme:e})=>e.transitions.create(["background-color"],{duration:e.transitions.duration.short})};
|
|
596
|
-
|
|
597
|
-
&::before {
|
|
598
|
-
content: '';
|
|
599
|
-
|
|
600
|
-
position: absolute;
|
|
601
|
-
top: 0;
|
|
602
|
-
transform: ${({$level:e})=>`translateX(calc(${ih}px * ${e} - ${im}px))`};
|
|
603
|
-
|
|
604
|
-
display: ${({$isShowConnector:e})=>e?"block":"none"};
|
|
605
|
-
|
|
606
|
-
width: ${im}px;
|
|
607
|
-
height: 50%;
|
|
608
|
-
|
|
609
|
-
border-bottom: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
610
|
-
border-left: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
611
|
-
border-radius: 0 0 0 ${({theme:e})=>e.shape.small};
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
&:hover {
|
|
615
|
-
cursor: ${({$isHovered:e})=>e?"pointer":"default"};
|
|
616
|
-
|
|
617
|
-
background-color: ${({theme:e,$isHovered:t})=>t?e.palette.background.elementHover:"transparent"};
|
|
618
|
-
}
|
|
619
|
-
`,iL=(0,r.styled)(t=>{let{formattedValue:r,hasStartAdornment:i}=iE(t),{className:o,startAdornment:n,row:l,cell:a,isDisabled:s}=t,{renderCell:d,align:p="left"}=a;return(0,e.jsxs)(iA,{$isDisabled:s,$align:p,$hasStartAdornment:i,className:o,inert:!!s||void 0,children:[n&&n,d?.(l),!d&&(0,e.jsx)(eB,{rowsCount:2,children:r})]})})`
|
|
620
|
-
margin-left: ${({$level:e})=>`${e*ih}px`};
|
|
621
|
-
`,iO=(0,r.styled)("div")`
|
|
622
|
-
display: flex;
|
|
623
|
-
align-items: center;
|
|
624
|
-
align-self: center;
|
|
625
|
-
justify-content: center;
|
|
626
|
-
|
|
627
|
-
width: ${ih}px;
|
|
628
|
-
`,iz=(0,r.styled)("div")`
|
|
629
|
-
display: flex;
|
|
630
|
-
align-items: center;
|
|
631
|
-
justify-content: center;
|
|
632
|
-
|
|
633
|
-
width: ${ih}px;
|
|
634
|
-
`,iB=(0,r.styled)(ee)`
|
|
635
|
-
width: 24px;
|
|
636
|
-
height: 24px;
|
|
637
|
-
|
|
638
|
-
color: inherit;
|
|
639
|
-
|
|
640
|
-
&:hover {
|
|
641
|
-
background-color: ${({theme:e})=>e.palette.grey[300]};
|
|
642
|
-
}
|
|
643
|
-
`,iW=(0,r.styled)(i.ChevronRight,{shouldForwardProp:e=>"$isActive"!==e})`
|
|
644
|
-
transform: rotateZ(${({$isActive:e})=>90*!!e}deg);
|
|
645
|
-
|
|
646
|
-
transition: ${({theme:e})=>e.transitions.create("transform",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.short})};
|
|
647
|
-
`,iH=(0,t.createContext)({isDisabled:!1,addDisabledRow:()=>{},removeDisabledRow:()=>{}}),iN=({children:r})=>{let[i,o]=(0,t.useState)(!1),[n,l]=(0,t.useState)();return(0,e.jsx)(iH.Provider,{value:{isDisabled:i,disabledReason:n,addDisabledRow:e=>{o(!0),l(e)},removeDisabledRow:()=>{o(!1),l(void 0)}},children:r})},iV=e=>e.reduce((e,{field:t,...r})=>t?{...e,[t]:r}:e,{}),i_=(e,t)=>{if(!t)return e;let r=iV(t);return Object.keys(r).length?e.map(e=>e.hasOwnProperty("field")?{...e,...r[e.field]||{}}:e):e},iU=({keyId:e,columns:r,row:i,nestedChildren:o,level:n,variant:l,activeRowId:a,options:s,isInitialExpanded:d=!1,expandedLevel:p,isSelectable:c,selectedRows:u,onSelectRow:g,onRowClick:h,isVisibleCollapseButton:m})=>{let x=d&&n<=p-1&&o?.length,{checkIsOpened:y,toggleOpenItems:f}=(0,t.useContext)(iv),{isDisabled:b,disabledReason:$}=(0,t.useContext)(iH),[C,w]=(0,t.useState)(!1),v=i[e],{isDisabled:j,disabledReason:k}=s||{},S=b||j,M=y(v);(0,t.useEffect)(()=>{x&&!M&&f(v)},[]);let I=c&&!!u?.find(t=>t[e]===v),F=Object.is(l,iM.Tree);return{isOpen:M,isShowConnector:F,childrenColumns:(0,t.useMemo)(()=>i_(r,s?.childrenColumns),[r,s]),rowId:v,disabled:S,isRenderCollapseButton:!!o?.length&&m,handleToggle:e=>{e.stopPropagation(),f(v)},rowProps:{$isHovered:!!(!S&&h),$isSelected:a===v,onClick:()=>{!S&&h?.(i)},onMouseMove:e=>{S&&"true"!==e.target.getAttribute(ic)&&w(!1)}},tooltipProps:{open:C,title:S?k||$:void 0,onOpen:e=>{"true"===e.target.getAttribute(ic)&&w(!0)},onClose:()=>w(!1)},checkboxProps:{checked:I,disabled:S,onChange:g(i)},nestedChildrenProps:{isOpen:M,rowId:v}}},iG=(e,t,r)=>!!e&&(!t||!t.includes(r)),iX=r=>{let{isOpen:i,isShowConnector:o,childrenColumns:n,rowId:l,handleToggle:a,checkboxProps:s,rowProps:d,tooltipProps:p,nestedChildrenProps:c,disabled:u,isRenderCollapseButton:g}=iU(r),{className:h,row:m,options:x,variant:y,isSelectable:f,gridColumns:b,isInitialExpanded:$,expandedLevel:C,level:w,nestedChildren:v,initialVisibleChildrenCount:j,moreButtonColumnPosition:k,isVisibleCollapseButton:S,columns:M,emptyCellValue:I,selectedRows:F,activeRowId:P,keyId:T,onSelectRow:A,onRowClick:E,...D}=r,{isDisabledLastCell:R=!0,isNotSelectable:L}=x||{},O=()=>g||f&&!L?(0,e.jsxs)(e.Fragment,{children:[g&&(0,e.jsx)(iz,{children:(0,e.jsx)(iB,{variant:"text",onClick:a,children:(0,e.jsx)(iW,{$isActive:i})})}),f&&!L&&(0,e.jsx)(iO,{inert:!!u||void 0,onClick:e=>e.stopPropagation(),children:(0,e.jsx)(eA,{...s})})]}):null,z=(0,t.useCallback)(()=>{let t=R?void 0:[M.length-1];return M?.map((r,i)=>{let o=`${l}-${i}`,n=iG(u,t,i),a=!i;return e.jsx(iL,{$level:a?w:0,row:m,cell:r,emptyCellValue:I,startAdornment:a&&O(),isDisabled:n},o)})},[i,M,u]),B=(0,t.useCallback)(({key:t,...r})=>(0,e.jsx)(iX,{keyId:T,...r,variant:y,isSelectable:f,selectedRows:F,gridColumns:b,isInitialExpanded:$,expandedLevel:C,initialVisibleChildrenCount:j,moreButtonColumnPosition:k,isVisibleCollapseButton:S,activeRowId:P,columns:n,onSelectRow:A,onRowClick:E},t),[T,y,f,F,b,$,C,j,k,P,n,A,E]);return(0,e.jsxs)(iD,{$level:w,$isShowConnector:o,$gridColumns:b,className:h,...D,children:[(0,e.jsx)(eb,{followCursor:!0,arrow:!1,...p,children:(0,e.jsx)(iR,{$level:w,$isShowConnector:o,$gridColumns:b,[ic]:u,...d,children:z()})}),(0,e.jsx)(iF,{...c,data:v,keyId:T,level:w,variant:y,gridColumns:b,initialVisibleChildrenCount:j,moreButtonColumnPosition:k,renderRow:B})]})},iY=(0,r.styled)("ul",{shouldForwardProp:e=>!["$isEmpty","$minDisplayRows"].includes(e.toString())})`
|
|
648
|
-
overflow-y: auto;
|
|
649
|
-
|
|
650
|
-
height: ${({$isEmpty:e,$minDisplayRows:t})=>e?`${ig*t}px`:"100%"};
|
|
651
|
-
margin: 0;
|
|
652
|
-
padding: 0;
|
|
653
|
-
|
|
654
|
-
list-style-type: none;
|
|
655
|
-
`,iZ=({isLoading:e,isError:t,rows:r})=>{let i=!r.length;return{isNoData:i,contentStateProps:{isLoading:e&&i,isError:t&&i}}},iq=r=>{let{imagesMap:i}=(0,t.useContext)(rb),{isNoData:o,contentStateProps:n}=iZ(r),{rows:l,selectedRows:a=[],isLoading:s,isError:d,errorMsg:p,minDisplayRows:c,keyId:u,noDataPlaceholder:g,onRetry:h,...m}=r,x=(0,t.useMemo)(()=>l.map(({children:t,options:r,...i})=>{let o=i[u];return(0,e.jsx)(iN,{children:(0,e.jsx)(iX,{row:i,selectedRows:a,options:r,keyId:u,level:0,nestedChildren:t,...m})},o)}),[l,u,a,m]);return(0,e.jsx)(iY,{$isEmpty:o,$minDisplayRows:c,children:(0,e.jsx)(io,{...n,errorState:{imgAlt:"Что-то пошло не так",errorList:[p||""],imgSrc:i.defaultErrorImgSrc,onRetry:h},children:l.length?x:g})})},iK=(0,r.styled)("div",{shouldForwardProp:e=>!["$align","$isSortable","$hasStartAdornment"].includes(e.toString())})`
|
|
656
|
-
cursor: ${({$isSortable:e})=>e?"pointer":"initial"};
|
|
657
|
-
user-select: none;
|
|
658
|
-
|
|
659
|
-
display: flex;
|
|
660
|
-
align-items: center;
|
|
661
|
-
justify-content: ${({$align:e})=>iT(e)};
|
|
662
|
-
|
|
663
|
-
height: 40px;
|
|
664
|
-
padding: ${({theme:e,$hasStartAdornment:t})=>t?e.spacing(1,2,1,0):e.spacing(1,2)};
|
|
665
|
-
|
|
666
|
-
color: ${({theme:e})=>e.palette.grey[700]};
|
|
667
|
-
`,iJ=(0,r.styled)(E)`
|
|
668
|
-
display: flex;
|
|
669
|
-
align-items: center;
|
|
670
|
-
|
|
671
|
-
> svg {
|
|
672
|
-
width: 16px;
|
|
673
|
-
height: 16px;
|
|
674
|
-
}
|
|
675
|
-
`,iQ=({field:e,isSortable:t,startAdornment:r,onSort:i})=>({wrapperProps:{$hasStartAdornment:!!r,onClick:()=>{e&&t&&i(e)}}}),i0=r=>{let{wrapperProps:o}=iQ(r),{startAdornment:n,field:l,isSortable:a,align:s,label:d,sorting:p}=r,c=(0,t.useMemo)(()=>{if(!a)return null;if(p?.fieldId!==l)return(0,e.jsx)(i.ChevronsUpDown,{});switch(p?.sort){case iS.ASC:return(0,e.jsx)(i.ChevronUp,{color:"primary"});case iS.DESC:return(0,e.jsx)(i.ChevronDown,{color:"primary"});default:return(0,e.jsx)(i.ChevronsUpDown,{})}},[p,a,l]);return(0,e.jsxs)(iK,{$align:s,$isSortable:a,...o,children:[n&&n,(0,e.jsxs)(iJ,{variant:"pointer",children:[d,c]})]})},i1=(0,r.styled)("header",{shouldForwardProp:e=>!["$gridColumns"].includes(e.toString())})`
|
|
676
|
-
display: grid;
|
|
677
|
-
grid-template-columns: ${({$gridColumns:e})=>e};
|
|
678
|
-
|
|
679
|
-
border-bottom: 2px solid ${({theme:e})=>e.palette.divider};
|
|
680
|
-
`,i2=(0,r.styled)("div")`
|
|
681
|
-
display: flex;
|
|
682
|
-
align-items: center;
|
|
683
|
-
justify-content: center;
|
|
684
|
-
|
|
685
|
-
width: ${ih}px;
|
|
686
|
-
`,i3=({rowsCount:e,sorting:r,uncheckedRowsCount:i,onSort:o})=>{let n=(0,t.useMemo)(()=>!i&&e>0,[i,e]),l=(0,t.useMemo)(()=>i>0&&i<e,[i,e]),a=!e;return{handleSort:(0,t.useCallback)(e=>{if(!o)return;let t=r?.fieldId===e;return t&&r?.sort===iS.ASC?o({fieldId:e,sort:iS.DESC}):t&&r?.sort===iS.DESC?o(void 0):void o({fieldId:e,sort:iS.ASC})},[r,o]),checkboxProps:{checked:n,disabled:a,indeterminate:l}}},i4=r=>{let{checkboxProps:i,handleSort:o}=i3(r),{columns:n,gridColumns:l,isSelectable:a,sorting:s,onSelectAllRows:d}=r,p=(0,t.useMemo)(()=>n.map(({field:t,label:r,sortable:n,align:l},p)=>(0,e.jsx)(i0,{sorting:s,field:t,label:r,isSortable:n,align:l,startAdornment:!p&&a?(0,e.jsx)(i2,{children:(0,e.jsx)(eA,{...i,onChange:d})}):null,onSort:o},r)),[n,s,a,i,d,o]);return(0,e.jsx)(i1,{$gridColumns:l,children:p})},i8=t=>(0,e.jsx)(r.Divider,{...t}),i6=(0,r.styled)("div")`
|
|
687
|
-
position: absolute;
|
|
688
|
-
top: 0;
|
|
689
|
-
|
|
690
|
-
width: 100%;
|
|
691
|
-
height: 100%;
|
|
692
|
-
|
|
693
|
-
opacity: 0.3;
|
|
694
|
-
background-color: ${({theme:e})=>e.palette.background.element};
|
|
695
|
-
`,i9=(0,r.styled)(i8)`
|
|
696
|
-
border-width: 1px;
|
|
697
|
-
`,i5=(0,r.styled)("div")`
|
|
698
|
-
height: 2px;
|
|
699
|
-
`,i7=(0,r.styled)(r.LinearProgress)`
|
|
700
|
-
height: 2px;
|
|
701
|
-
`,oe=({isLoading:t=!1,isDisabled:r=!1,isVisibleDivider:i=!0})=>(0,e.jsxs)(i5,{children:[(t||r)&&(0,e.jsx)(i6,{}),t&&(0,e.jsx)(i7,{}),!t&&i&&(0,e.jsx)(i9,{})]}),ot=({title:r="Нет\xa0данных",imgAlt:i=r,action:o,size:n="small"})=>{let{imagesMap:{noDataImgSrc:l}}=(0,t.useContext)(rb);return(0,e.jsx)(r6,{title:r,imgSrc:l,size:n,Actions:o?(0,e.jsx)(q,{onClick:o.onClick,"aria-label":o.text,children:o.text}):void 0,imgAlt:i})},or=(0,r.styled)("div",{shouldForwardProp:e=>"$maxHeight"!==e})`
|
|
702
|
-
position: relative;
|
|
703
|
-
|
|
704
|
-
overflow: hidden;
|
|
705
|
-
display: flex;
|
|
706
|
-
flex-direction: column;
|
|
707
|
-
|
|
708
|
-
width: 100%;
|
|
709
|
-
height: 100%;
|
|
710
|
-
max-height: ${({$maxHeight:e})=>e?`${e}px`:"initial"};
|
|
711
|
-
`,oi=(0,r.styled)("div")`
|
|
712
|
-
overflow: hidden;
|
|
713
|
-
display: flex;
|
|
714
|
-
flex-direction: column;
|
|
715
|
-
|
|
716
|
-
height: 100%;
|
|
717
|
-
`,oo=(0,r.styled)(oi)`
|
|
718
|
-
pointer-events: none;
|
|
719
|
-
|
|
720
|
-
background: ${({theme:e})=>e.palette.background.element};
|
|
721
|
-
mix-blend-mode: luminosity;
|
|
722
|
-
`,on=e=>e.map(({width:e})=>e||"1fr").join(" "),ol=({keyId:e,columns:r,rows:i=[],variant:o,tree:n,subrows:l,selectedRows:s=[],isLoading:d,isDisabled:p,onSelectRow:c})=>{let u=!!i?.length,g=!!c,h=d||p,m=Object.is(o,iM.Subrows)?{...l,isInitialExpanded:!0}:n,x=i.filter(e=>!(e.options?.isDisabled||e.options?.isNotSelectable)),y=(0,t.useRef)([]);(0,t.useEffect)(()=>{d||(y.current=i)},[i,d]);let f=on(r),b=(0,t.useMemo)(()=>x.filter(t=>!s.find(r=>r[e]===t[e])).length,[x,s,e]),$=(0,t.useCallback)(()=>i.length<=1?r.map(e=>({...e,sortable:!1})):r,[r,i]),C=d?y.current:i,w=(0,t.useCallback)(t=>r=>{if(c){if(r.target.checked)return c([...s,t]);c(s.filter(r=>r[e]!==t[e]))}},[s,c,e]);return{isDataGridDisabled:h,treeRenderConfig:m,renderRows:C,headProps:{rowsCount:x.length,uncheckedRowsCount:b,gridColumns:f,isSelectable:g,columns:$(),onSelectAllRows:t=>{if(c){if(t.target.checked)return c((0,a.uniqueBy)([...s,...x],(0,a.prop)(e)));c(s.filter(t=>!i.find(r=>r[e]===t[e])))}}},bodyProps:{gridColumns:f,isSelectable:g,onSelectRow:w},loaderProps:{isLoading:u&&d,isVisibleDivider:!!i.length,isDisabled:p}}},oa=r=>{let{isDataGridDisabled:i,treeRenderConfig:o,headProps:n,bodyProps:l,loaderProps:a,renderRows:s}=ol(r),{emptySymbol:d}=(0,t.useContext)(rb),{columns:p,selectedRows:c=[],sorting:u,maxHeight:g,minDisplayRows:h=ix,errorMsg:m,variant:x=iM.Tree,footer:y,noDataPlaceholder:f,isLoading:b,isError:$,subrows:C,keyId:w,activeRowId:v,emptyCellValue:j=d,className:k,onRowClick:S,onSort:M,noDataOptions:I,onRetry:F}=r,{moreButtonColumnPosition:P=1,isVisibleCollapseButton:T=!0}=C||{},{isInitialExpanded:A=!1,expandedLevel:E=iy,initialVisibleChildrenCount:D=ib}=o||{},R=(0,t.useCallback)(()=>b?null:f||(0,e.jsx)(ot,{...I}),[f,I,b]);return(0,e.jsx)(ik,{children:(0,e.jsxs)(or,{$maxHeight:g,className:k,children:[(0,e.jsxs)(i?oo:oi,{inert:!!i||void 0,children:[(0,e.jsx)(i4,{...n,sorting:u,onSort:M}),(0,e.jsx)(iq,{...l,activeRowId:v,keyId:w,selectedRows:c,minDisplayRows:h,rows:s,columns:p,variant:x,emptyCellValue:j,isInitialExpanded:A,expandedLevel:E,initialVisibleChildrenCount:D,moreButtonColumnPosition:P,isVisibleCollapseButton:T,isLoading:b,isError:$,errorMsg:m,noDataPlaceholder:R(),onRowClick:S,onRetry:F})]}),(0,e.jsx)(oe,{...a}),y&&y]})})},os=({action:e})=>{let{loading:r,disabledReason:i,name:o}=e,[n,l]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{r&&l(!1)},[r]),{tooltipProps:{title:i||o,open:n,onOpen:()=>l(!0),onClose:()=>l(!1)}}},od=t=>{let{tooltipProps:r}=os(t),{action:i,onActionClick:o,isDisabled:n,tooltipPlacement:l}=t,{name:a,icon:s,needConfirm:d,confirmText:p,confirmButtonProps:c,disabledReason:u,disabled:g,loading:h,isBlockingOperation:m,loadingNote:x,onClick:y,...f}=i,b=t=>(0,e.jsx)(eb,{withoutContainer:!g,placement:l,...r,children:(0,e.jsx)(ee,{disabled:n||g,loading:h,...f,variant:"text",...t,children:s})},a);return(0,e.jsx)(e.Fragment,{children:d?(0,e.jsx)(rI,{text:p,confirmButtonProps:c,actionComponent:e=>b(e),onConfirm:o(y)}):b({onClick:o(y)})})},op=({action:r,onActionClick:i,isDisabled:o,tooltipPlacement:n})=>{if("actions"in r){let{disabled:l,icon:a,name:s,disabledReason:d,actions:p}=r;return(0,e.jsx)(eb,{title:d||s,withoutContainer:!l,placement:n,children:(0,e.jsx)(em,{icon:a,variant:"text",disabled:o||l,children:p.map(({name:e,onClick:r,...o})=>(0,t.createElement)(e$,{...o,key:e,onClick:i(r)},e))})},s)}return(0,e.jsx)(od,{action:r,onActionClick:i,isDisabled:o,tooltipPlacement:n})},oc=({actions:r,onActionClick:o,tooltipPlacement:n,isDisabled:l})=>(0,e.jsx)(em,{icon:(0,e.jsx)(i.EllipsisVertical,{}),variant:"text",disabled:l,children:r.map(e=>{let{onClick:r,name:i}=e;return(0,t.createElement)(e$,{...e,key:i,tooltipPlacement:n,onClick:o(r)},i)})}),ou=(0,r.styled)("div")`
|
|
723
|
-
display: inline-flex;
|
|
724
|
-
align-items: center;
|
|
725
|
-
`,og=({row:e,actions:r})=>{let{main:i,secondary:o}=r,{addDisabledRow:n,removeDisabledRow:l}=(0,t.useContext)(iH),a=[...i,...o||[]].find(e=>e.isBlockingOperation&&e.loading),s=!!a;return(0,t.useEffect)(()=>{if(a)return n(a?.loadingNote);l()},[a]),{isDisabledAction:s,handleActionClick:(0,t.useCallback)(t=>()=>{t?.(e)},[e]),handleWrapperClick:e=>{e.stopPropagation()}}},oh={mainAction:"top",secondaryAction:"left"},om=t=>{let{isDisabledAction:r,handleWrapperClick:i,handleActionClick:o}=og(t),{actions:n}=t,{main:l,secondary:a}=n;return(0,e.jsxs)(ou,{onClick:i,children:[l.map(t=>(0,e.jsx)(op,{action:t,onActionClick:o,isDisabled:r,tooltipPlacement:oh.mainAction},t.name)),a&&(0,e.jsx)(oc,{actions:a,onActionClick:o,tooltipPlacement:oh.secondaryAction,isDisabled:r})]})},ox=({...t})=>(0,e.jsx)(r.Pagination,{shape:"rounded",...t}),oy=(0,r.styled)(tJ,{shouldForwardProp:e=>"$shrinks"!==e})`
|
|
726
|
-
min-width: ${({$shrinks:e})=>e?"30px":"unset"};
|
|
727
|
-
max-width: 246px;
|
|
728
|
-
|
|
729
|
-
& {
|
|
730
|
-
.MuiBox-root {
|
|
731
|
-
display: inline;
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
`,of=()=>({onMouseDown:e=>{e.stopPropagation()}}),ob=t=>{let{onMouseDown:r}=of(),{shrinks:i,isDisabled:o,...n}=t;return(0,e.jsx)(oy,{$shrinks:i,color:"grey",disabled:o,...n,onMouseDown:r})},o$=(0,r.styled)("div")`
|
|
735
|
-
display: flex;
|
|
736
|
-
column-gap: ${({theme:e})=>e.spacing(1)};
|
|
737
|
-
`,oC=(e,t)=>{if(e.innerHTML===t)return e;for(let r=0;r<e.children.length;r+=1){let i=oC(e.children[r],t);if(i)return i}return null},ow=(e,t)=>{if("string"==typeof e)return e;let r=e[t];return"number"==typeof r?r.toString():r},ov=({data:e=[],keyId:r,getOptionLabel:i,onChange:o})=>{let[n,l]=(0,t.useState)(1),a=(0,t.useRef)(!1),s=(0,t.useRef)(null),d=(t,r,o)=>{let n=i(e[0]);document.body.appendChild(t);let l=0,a=0;for(let s=1;s<e.length;s+=1){let d=t.firstChild?.cloneNode(!0),p=i(e[s]),c=oC(d,n);if(!c)throw Error("Could not find text node");c.textContent=p,t.appendChild(d);let u=d.getBoundingClientRect().width+o;if(l+u>r)break;a+=1,l+=u}return document.body.removeChild(t),a},p=()=>{let e=s.current;if(!e)throw Error("Tags container ref is not set");let t=Number.parseInt(window.getComputedStyle(e).columnGap),r=e.firstElementChild?.getBoundingClientRect().width||0,i=e.getBoundingClientRect().width-r,o=e.cloneNode(!0);for(;o.lastElementChild&&o.children.length>1;)o.removeChild(o.lastElementChild);o.style.visibility="hidden",l(1+d(o,i,t))};(0,t.useLayoutEffect)(()=>{"undefined"!=typeof window&&e&&e.length&&(p(),a.current=!0)},[e]),(0,t.useEffect)(()=>{if("undefined"==typeof window||!e||!e.length)return;if(!s.current)throw Error("Tags container ref is not set");let t=new ResizeObserver(()=>{if(a.current){a.current=!1;return}p()});return t.observe(s.current),()=>t.disconnect()},[e]);let c=e?.slice(0,n);return{maxItems:n,visibleOptions:c,tagsContainerRef:s,getTagProps:(t,l)=>{let a=i(t);return{label:a,shrinks:l===n-1&&n<=e.length,onDelete:()=>{let i=e?.filter(e=>"string"==typeof e?e!==t:e[r]!==t[r]);o(i?.length?i:[])}}}}},oj=t=>{let{maxItems:r,tagsContainerRef:i,visibleOptions:o,getTagProps:n}=ov(t),{className:l,data:a,keyId:s,isDisabled:d,onClick:p}=t;return(0,e.jsxs)(o$,{className:l,ref:i,children:[o?.map((t,r)=>{let i=n(t,r);return e.jsx(ob,{isDisabled:d,onClick:p,...i},ow(t,s))}),a&&r<a.length&&(0,e.jsx)(ob,{isDisabled:d,label:`+${a.length-r}`,onClick:p},"more")]})},ok="Очистить",oS=(0,r.styled)("div")`
|
|
738
|
-
display: flex;
|
|
739
|
-
flex-direction: column;
|
|
740
|
-
align-items: center;
|
|
741
|
-
|
|
742
|
-
min-height: 64px;
|
|
743
|
-
|
|
744
|
-
.MuiCircularProgress-root {
|
|
745
|
-
margin-top: ${({theme:e})=>e.spacing(5)};
|
|
746
|
-
|
|
747
|
-
color: ${({theme:e})=>e.palette.grey["900"]};
|
|
748
|
-
}
|
|
749
|
-
`,oM=(0,r.styled)(e$)`
|
|
750
|
-
display: none;
|
|
751
|
-
`,oI=(0,r.styled)(ee)`
|
|
752
|
-
background-color: transparent;
|
|
753
|
-
|
|
754
|
-
&:hover {
|
|
755
|
-
background-color: transparent;
|
|
756
|
-
|
|
757
|
-
svg {
|
|
758
|
-
fill: ${({theme:e})=>e.palette.grey["700"]};
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
763
|
-
width: 32px;
|
|
764
|
-
height: 32px;
|
|
765
|
-
}
|
|
766
|
-
`,oF=(0,r.styled)(i.CircleX)`
|
|
767
|
-
width: 16px;
|
|
768
|
-
height: 16px;
|
|
769
|
-
|
|
770
|
-
fill: ${({theme:e})=>e.palette.grey["500"]};
|
|
771
|
-
`,oP=(0,r.styled)("div")`
|
|
772
|
-
display: flex;
|
|
773
|
-
align-items: center;
|
|
774
|
-
|
|
775
|
-
margin-left: auto;
|
|
776
|
-
`,oT=(0,r.styled)(r.Select)`
|
|
777
|
-
.${r.selectClasses.select} {
|
|
778
|
-
padding-right: ${({theme:e})=>e.spacing(2)} !important;
|
|
779
|
-
}
|
|
780
|
-
`,oA=({onClick:t,disabled:r,ref:i})=>(0,e.jsx)(oI,{disabled:r,ref:i,onClick:t,variant:"text",title:ok,"aria-label":ok,children:(0,e.jsx)(oF,{})}),oE=({required:o,getOptionLabel:n=e=>e,placeholder:l,helperText:a,hideHelperText:s=!1,loading:d,success:p,children:c,disabled:u,error:g,label:h,fullWidth:m,onChange:x,isShowClearButton:y,...f})=>{let{isOpened:b,isShowingClearButton:$,isNoData:C,onClearAll:w,openSelect:v,closeSelect:j,resetButtonRef:k}=function({value:e,onChange:r,children:i,open:o,defaultOpen:n,multiple:l,isShowClearButton:a=!0}){let[s,d]=(0,t.useState)(n||o||!1),p=(0,t.useRef)(null),c=a&&!(!e||Array.isArray(e)&&0===e.length||"string"==typeof e&&0===e.length);return{isOpened:s,isNoData:!t.Children.count(i),isShowingClearButton:c,resetButtonRef:p,openSelect:()=>d(!0),closeSelect:()=>d(!1),onClearAll:()=>{r?.call({},{target:{value:l?[]:""}})}}}({...f,children:c,onChange:x,isShowClearButton:y});return(0,e.jsxs)(r.FormControl,{error:g,fullWidth:m,children:[h&&(0,e.jsx)(r.InputLabel,{htmlFor:"grouped-select",required:o,children:h}),(0,e.jsxs)(oT,{...f,open:b,disabled:u,onOpen:v,onClose:j,renderValue:t=>Array.isArray(t)&&t.length?(0,e.jsx)(oj,{data:t,keyId:"value",getOptionLabel:n,onChange:e=>e?x?.({target:{value:e}},void 0):x?.({target:{value:[]}},void 0),onClick:v}):(Array.isArray(t)||"string"==typeof t)&&!t.length?l:n(t),IconComponent:()=>null,displayEmpty:!0,fullWidth:m,onChange:x,endAdornment:(0,e.jsxs)(oP,{children:[$&&(0,e.jsx)(oA,{disabled:u,ref:k,onClick:w}),(0,e.jsx)(oI,{variant:"text",disabled:u,onClick:v,children:b?(0,e.jsx)(i.ChevronUp,{}):(0,e.jsx)(i.ChevronDown,{})})]}),children:[(0,e.jsx)(oM,{value:"",children:l}),d&&(0,e.jsx)(oS,{children:(0,e.jsx)(U,{color:"primary"})}),!d&&c,!d&&C&&(0,e.jsx)(e$,{disabled:!0,children:"Нет данных"})]}),!s&&(0,e.jsx)(t8,{error:g,success:p,children:a})]})},oD=20,oR=[20,50,100],oL=(0,r.styled)("div")`
|
|
781
|
-
display: flex;
|
|
782
|
-
align-items: center;
|
|
783
|
-
justify-content: space-between;
|
|
784
|
-
|
|
785
|
-
height: 48px;
|
|
786
|
-
padding-top: ${({theme:e})=>e.spacing(4)};
|
|
787
|
-
`,oO=(0,r.styled)(E)`
|
|
788
|
-
color: ${({theme:e})=>e.palette.grey["700"]};
|
|
789
|
-
`,oz=(0,r.styled)("div")`
|
|
790
|
-
display: flex;
|
|
791
|
-
gap: ${({theme:e})=>e.spacing(3)};
|
|
792
|
-
align-items: center;
|
|
793
|
-
|
|
794
|
-
.${r.formControlClasses.root} {
|
|
795
|
-
flex-direction: unset;
|
|
796
|
-
}
|
|
797
|
-
`,oB=({totalCount:e,rowsPerPage:r=oD,page:i,onSetCountPerPage:o})=>{let n=(0,t.useRef)(0);(0,t.useEffect)(()=>{e&&(n.current=e)},[e]);let l=e||n.current,a=Math.ceil(l/r),s=(i-1)*r+1,d=()=>{let e=i*r;return e<l?e:l};return{isVisiblePagination:!(!o&&l<=r),pageCount:a,formattedRange:()=>`${s} — ${d()} из ${l} записей`,handleChangeRowsPerPage:e=>{o?.(Number(e.target.value))}}},oW=t=>{let{isVisiblePagination:r,pageCount:i,formattedRange:o,handleChangeRowsPerPage:n}=oB(t),{page:l,totalCount:a,className:s,rowsPerPage:d=oD,rowsPerPageOptions:p=oR,isForceCounter:c,disabled:u,onSetCountPerPage:g,...h}=t;return(r||c)&&a?(0,e.jsxs)(oL,{className:s,children:[(0,e.jsxs)(oz,{children:[g&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(E,{variant:"body1",children:"Строк на странице:"}),(0,e.jsx)(oE,{size:"small",value:d,disabled:u,isShowClearButton:!1,onChange:n,children:p.map(t=>(0,e.jsx)(e$,{value:t,children:t},t))})]}),(0,e.jsx)(oO,{variant:"h6",children:o()})]}),r&&(0,e.jsx)(ox,{disabled:u,count:i,page:l,...h})]}):null},oH=":",oN="—",oV="astral-ui_descriptionRoot",o_=(0,t.createContext)({leader:!1,separator:oH,direction:"default"}),oU=({children:t,leader:r,separator:i,direction:o})=>(0,e.jsx)(o_.Provider,{value:{leader:r,separator:i,direction:o},children:t}),oG=(0,r.styled)("dt",{shouldForwardProp:e=>"$leader"!==e})`
|
|
798
|
-
flex-shrink: 0;
|
|
799
|
-
|
|
800
|
-
max-width: ${({$leader:e})=>e?"calc(100% - 36px)":"calc(100% - 12px)"};
|
|
801
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
802
|
-
`,oX=(0,r.styled)("div")`
|
|
803
|
-
flex: 1;
|
|
804
|
-
|
|
805
|
-
min-width: 12px;
|
|
806
|
-
height: 4px;
|
|
807
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
808
|
-
|
|
809
|
-
border-bottom: 1px dashed ${({theme:e})=>e.palette.grey[400]};
|
|
810
|
-
|
|
811
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
812
|
-
display: none;
|
|
813
|
-
}
|
|
814
|
-
`,oY=(0,r.styled)(E,{shouldForwardProp:e=>!["$canCopy","$leader","$direction"].includes(e.toString())})`
|
|
815
|
-
cursor: ${({$canCopy:e})=>e?"pointer":"default"};
|
|
816
|
-
|
|
817
|
-
overflow: hidden;
|
|
818
|
-
|
|
819
|
-
hyphens: auto;
|
|
820
|
-
text-align: ${({$leader:e})=>e?"right":"left"};
|
|
821
|
-
overflow-wrap: break-word;
|
|
822
|
-
|
|
823
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
824
|
-
text-align: ${({$direction:e})=>"row"!==e?"left":"right"};
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
&:hover {
|
|
828
|
-
text-decoration: ${({$canCopy:e})=>e?"underline":"none"};
|
|
829
|
-
}
|
|
830
|
-
`,oZ=(0,r.styled)(ip,{shouldForwardProp:e=>!["$leader","$direction"].includes(e.toString())})`
|
|
831
|
-
display: unset;
|
|
832
|
-
|
|
833
|
-
hyphens: auto;
|
|
834
|
-
text-align: ${({$leader:e})=>e?"right":"left"};
|
|
835
|
-
overflow-wrap: break-word;
|
|
836
|
-
|
|
837
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
838
|
-
text-align: ${({$direction:e})=>"row"!==e?"left":"right"};
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
& > svg {
|
|
842
|
-
margin-bottom: ${({theme:e})=>e.spacing(-1)};
|
|
843
|
-
}
|
|
844
|
-
`,oq=(0,r.styled)("dd")`
|
|
845
|
-
overflow: hidden;
|
|
846
|
-
|
|
847
|
-
margin: 0;
|
|
848
|
-
`,oK=({canCopy:e,children:r,stub:i})=>{let{emptySymbol:o}=(0,t.useContext)(rb),{leader:n,direction:l}=(0,t.useContext)(o_);return{valueToRender:r||i||o,isDefaultValueRender:!e||!r,leader:n,direction:l}},oJ=(0,r.styled)("div",{shouldForwardProp:e=>!["$justifyContent","as","$direction"].includes(e.toString())})`
|
|
849
|
-
overflow: hidden;
|
|
850
|
-
display: flex;
|
|
851
|
-
flex-direction: ${({$direction:e})=>"default"===e?"row":e};
|
|
852
|
-
align-items: baseline;
|
|
853
|
-
justify-content: ${({$justifyContent:e})=>e};
|
|
854
|
-
|
|
855
|
-
margin: 0;
|
|
856
|
-
|
|
857
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
858
|
-
flex-direction: ${({$direction:e})=>"default"===e?"column":e};
|
|
859
|
-
|
|
860
|
-
.MuiTypography-root {
|
|
861
|
-
font-size: ${({theme:e})=>e.typography.fontSize};
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
`,oQ=({direction:e="default",separator:t=oH})=>{let{isMobile:r}=et();return{descriptionContextProviderProps:{separator:"column"===e||r&&"default"===e?"":t},direction:e}},o0=t=>{let{descriptionContextProviderProps:r,direction:i}=oQ(t),{justifyContent:o="start",component:n="dl",children:l,leader:a=!1}=t;return(0,e.jsx)(oU,{leader:a,direction:i,...r,children:(0,e.jsx)(oJ,{$justifyContent:o,className:oV,$direction:i,as:n,children:l})})};o0.Name=({children:r,color:i="textSecondary",...o})=>{let{leader:n,separator:l}=(0,t.useContext)(o_);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(oG,{$leader:n,children:(0,e.jsxs)(E,{...o,color:i,children:[r,!n&&l]})}),n&&(0,e.jsx)(oX,{})]})},o0.Value=t=>{let{valueToRender:r,isDefaultValueRender:i,leader:o,direction:n}=oK(t),{copyPosition:l="right",copyText:a,canCopy:s,children:d,stub:p,...c}=t;return i?(0,e.jsx)(oY,{$direction:n,component:"dd",$leader:o,...c,children:r}):(0,e.jsx)(oq,{children:(0,e.jsx)(oZ,{copyPosition:l,copyText:a,$direction:n,$leader:o,component:"div",...c,children:r})})};let o1=t=>(0,e.jsx)(eB,{visibleLastSymbolsCount:4,...t}),o2=(0,r.styled)(o0.Name,{shouldForwardProp:e=>!["$nameMaxWidth, $direction"].includes(e.toString())})`
|
|
865
|
-
max-width: ${({$nameMaxWidth:e})=>e||"none"};
|
|
866
|
-
margin-bottom: ${({theme:e,$direction:t})=>Object.is(t,"column")?e.spacing(1):0};
|
|
867
|
-
|
|
868
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
869
|
-
margin-bottom: ${({theme:e,$direction:t})=>Object.is(t,"row")?0:e.spacing(1)};
|
|
870
|
-
}
|
|
871
|
-
`,o3=(0,r.styled)("article",{shouldForwardProp:e=>!["$variant"].includes(e.toString())})`
|
|
872
|
-
display: grid;
|
|
873
|
-
row-gap: ${({theme:e})=>e.spacing(3)};
|
|
874
|
-
|
|
875
|
-
padding: ${({$variant:e,theme:t})=>"contained"===e?t.spacing(4):0};
|
|
876
|
-
|
|
877
|
-
background-color: ${({$variant:e,theme:t})=>"contained"===e?t.palette.background.default:"transparent"};
|
|
878
|
-
border: ${({$variant:e,theme:t})=>"contained"===e?`1px solid ${t.palette.grey[300]}`:"unset"};
|
|
879
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
880
|
-
`,o4=(0,r.styled)("dl",{shouldForwardProp:e=>!["$direction"].includes(e.toString())})`
|
|
881
|
-
display: grid;
|
|
882
|
-
row-gap: ${({theme:e,$direction:t})=>Object.is(t,"column")?e.spacing(3):e.spacing(1)};
|
|
883
|
-
|
|
884
|
-
margin: 0;
|
|
885
|
-
|
|
886
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
887
|
-
row-gap: ${({theme:e})=>e.spacing(3)};
|
|
888
|
-
}
|
|
889
|
-
`,o8=(0,r.styled)(o0.Value,{shouldForwardProp:e=>!["$isCopy"].includes(e.toString())})`
|
|
890
|
-
display: ${({$isCopy:e})=>e&&"flex"};
|
|
891
|
-
|
|
892
|
-
width: ${({$isCopy:e})=>e&&"calc(100% - 20px)"};
|
|
893
|
-
`,o6=e=>e?{title:void 0}:void 0,o9=({items:r,variant:i="default",title:o,direction:n,...l})=>{let a=(0,t.useCallback)((t,r)=>{let{renderValue:i,color:o,canCopy:n,copyPosition:l,variant:a,copyText:s}=r;if(i)return i(t,r);if("tag"===a)return(0,e.jsx)(o0.Value,{children:(0,e.jsx)(tJ,{label:t,color:o,variant:"light"})});if("guid"===a){let r=o6(n);return(0,e.jsx)(o8,{canCopy:n,$isCopy:n,color:o,copyPosition:l,copyText:s,children:(0,e.jsx)(o1,{tooltipProps:r,children:t})})}return(0,e.jsx)(o0.Value,{canCopy:n,color:o,copyPosition:l,children:t})},[]);return(0,e.jsxs)(o3,{$variant:i,children:[o&&("string"==typeof o?(0,e.jsx)(E,{variant:"h6",children:o}):o),(0,e.jsx)(o4,{$direction:n,children:r.map(({name:t,value:r,options:i})=>{let{nameMaxWidth:o,...s}=i||{};return(0,e.jsxs)(o0,{direction:n,...l,component:"div",children:[(0,e.jsx)(o2,{$nameMaxWidth:o,$direction:n,children:t}),a(r,s)]},`${t}:${r}`)})})]})},o5=(0,r.styled)("div",{label:"DialogHeader-root",shouldForwardProp:e=>!["hasTitle","hasOnClose"].includes(e.toString())})`
|
|
894
|
-
overflow: hidden;
|
|
895
|
-
display: grid;
|
|
896
|
-
grid-template-columns: ${({hasTitle:e,hasOnClose:t})=>e&&t?"max-content 1fr 32px":e?"max-content 1fr":t?"1fr 32px":"1fr"};
|
|
897
|
-
column-gap: ${({theme:e})=>e.spacing(2)};
|
|
898
|
-
align-items: center;
|
|
899
|
-
|
|
900
|
-
height: auto;
|
|
901
|
-
padding: ${({theme:e})=>e.spacing(4,6)};
|
|
902
|
-
`,o7=(0,r.styled)("div",{shouldForwardProp:e=>!["justifyContent","columnSpacing"].includes(e.toString()),label:"DialogHeader-content"})`
|
|
903
|
-
overflow: hidden;
|
|
904
|
-
display: flex;
|
|
905
|
-
column-gap: ${({columnSpacing:e,theme:t})=>t.spacing(e)};
|
|
906
|
-
align-items: center;
|
|
907
|
-
justify-content: ${({justifyContent:e})=>e};
|
|
908
|
-
|
|
909
|
-
width: 100%;
|
|
910
|
-
height: 100%;
|
|
911
|
-
padding: 0;
|
|
912
|
-
`,ne=({children:t,title:r,justifyContent:o="flex-start",disableSpacing:n,onClose:l})=>(0,e.jsxs)(o5,{hasTitle:!!r,hasOnClose:!!l,children:[r&&(0,e.jsx)(E,{variant:"h4",children:r}),(0,e.jsx)(o7,{justifyContent:o,columnSpacing:2*!n,children:t}),l&&(0,e.jsx)(ee,{variant:"text",onClick:e=>{l&&l(e,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:(0,e.jsx)(i.X,{})})]}),nt=({children:t,name:i,popoverProps:o,...n})=>{let{open:l,anchorRef:a,handleOpenMenu:s,handleCloseMenu:d}=er();return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(r.ClickAwayListener,{onClickAway:d,children:(0,e.jsx)(q,{...n,ref:a,selected:l,onClick:s,endIcon:(0,e.jsx)(u,{isActive:l}),children:i})}),(0,e.jsx)(eh,{open:l,anchorEl:a.current,...o,children:t})]})},nr=(0,r.styled)("span")`
|
|
913
|
-
overflow: hidden;
|
|
914
|
-
|
|
915
|
-
max-width: 100%;
|
|
916
|
-
|
|
917
|
-
text-overflow: ellipsis;
|
|
918
|
-
white-space: nowrap;
|
|
919
|
-
`,ni=(0,r.styled)(E,{shouldForwardProp:e=>!["$align"].includes(e.toString())})`
|
|
920
|
-
display: flex;
|
|
921
|
-
justify-content: ${({$align:e})=>e};
|
|
922
|
-
`,no=[".xml.dist",".xml.tpl",".xml.gz",".xml.bz2",".xml.zip",".xml.enc",".xml.sig",".xml.metadata",".xml.backup",".xml.orig",".tar.gz",".tar.bz2",".tar.xz",".tar.lz"],nn=e=>{for(let t of no)if(e.endsWith(t))return t;let t=e.lastIndexOf(".");if(-1!==t)return e.slice(t)},nl=e=>{let t=nn(e);return t&&e.endsWith(t)?{baseName:e.slice(0,e.length-t.length-2),suffixWithExtension:e.slice(-t.length-2)}:{baseName:e.slice(0,-2),suffixWithExtension:e.slice(-2)}},na=({ref:e,children:t})=>{let{ref:r,isOverflowed:i}=eR(e),{baseName:o,suffixWithExtension:n}=nl(t);return{baseNameProps:{ref:r,children:o},isOverflowed:i,suffixWithExtension:n}},ns=(0,t.forwardRef)((t,r)=>{let{isOverflowed:i,suffixWithExtension:o,baseNameProps:n}=na({...t,ref:r}),{tooltipProps:l,variant:a="inherit",children:s,align:d="left",...p}=t;return(0,e.jsx)(eb,{title:i&&s,disableInteractive:!0,...l,children:(0,e.jsxs)(ni,{$align:d,variant:a,...p,children:[(0,e.jsx)(nr,{...n}),(0,e.jsx)("span",{children:o})]})})}),nd=(0,r.styled)(r.FormLabel)`
|
|
923
|
-
font-size: ${({theme:e})=>e.typography.pointer.fontSize};
|
|
924
|
-
line-height: ${({theme:e})=>e.typography.pointer.lineHeight};
|
|
925
|
-
`,np=t=>(0,e.jsx)(nd,{...t}),nc=(0,r.styled)(r.Link)`
|
|
926
|
-
display: inline-flex;
|
|
927
|
-
gap: ${({theme:e})=>e.spacing(1)};
|
|
928
|
-
align-items: baseline;
|
|
929
|
-
justify-content: flex-start;
|
|
930
|
-
|
|
931
|
-
font-size: ${({theme:e})=>e.typography.fontSize}px;
|
|
932
|
-
color: ${({theme:e})=>e.palette.components.link.main};
|
|
933
|
-
text-decoration: none;
|
|
934
|
-
|
|
935
|
-
&:active {
|
|
936
|
-
color: ${({theme:e})=>e.palette.components.link.active};
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
&:visited {
|
|
940
|
-
color: ${({theme:e})=>e.palette.components.link.visited};
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
&:hover {
|
|
944
|
-
color: ${({theme:e})=>e.palette.components.link.hover};
|
|
945
|
-
text-decoration: underline;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
&:focus {
|
|
949
|
-
border-radius: 4px;
|
|
950
|
-
outline: 2px solid ${({theme:e})=>e.palette.primary[400]};
|
|
951
|
-
}
|
|
952
|
-
|
|
953
|
-
.${r.svgIconClasses.root} {
|
|
954
|
-
align-self: center;
|
|
955
|
-
|
|
956
|
-
width: 16px;
|
|
957
|
-
height: 16px;
|
|
958
|
-
}
|
|
959
|
-
`,nu=(0,t.forwardRef)(({withAdornment:t,isDownload:r,children:o,...n},l)=>{let a=r?(0,e.jsx)(i.ArrowDownToLine,{}):(0,e.jsx)(i.SquareArrowOutUpRight,{});return(0,e.jsxs)(nc,{download:r,ref:l,...n,children:["start"===t&&a,o,"end"===t&&a,!t&&r&&(0,e.jsx)(i.ArrowDownToLine,{})]})}),ng=t=>(0,e.jsx)(d.default,{...t}),nh=t=>(0,e.jsx)(r.ListItem,{...t}),nm=t=>{let{disabledReason:i,disabled:o,tooltipPlacement:n,note:l,withoutContainer:a=!1,...s}=t,d=()=>(0,e.jsx)(eb,{title:o?i:l,placement:n,withoutContainer:!o,children:(0,e.jsx)(r.ListItemButton,{disabled:o,component:"div",...s,disableRipple:!0})});return a?d():(0,e.jsx)("li",{children:d()})},nx=(0,r.styled)(r.ListItemIcon)`
|
|
960
|
-
color: inherit;
|
|
961
|
-
`,ny=(0,t.forwardRef)((t,r)=>(0,e.jsx)(nx,{ref:r,...t})),nf=t=>(0,e.jsx)(p.default,{...t}),nb=t=>(0,e.jsx)(r.ListSubheader,{...t}),n$=(0,r.styled)(nm,{shouldForwardProp:e=>!["$isGroupTitleItem"].includes(e.toString())})`
|
|
962
|
-
box-sizing: border-box;
|
|
963
|
-
min-height: 40px;
|
|
964
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
965
|
-
|
|
966
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
967
|
-
|
|
968
|
-
${r.listItemIconClasses.root} {
|
|
969
|
-
color: ${({theme:e,selected:t})=>t?e.palette.primary["800"]:"inherit"};
|
|
970
|
-
|
|
971
|
-
transition: ${({theme:e})=>e.transitions.create("color",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})};
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
&:focus-visible {
|
|
975
|
-
position: relative;
|
|
976
|
-
|
|
977
|
-
color: ${({theme:e})=>e.palette.primary[900]};
|
|
978
|
-
|
|
979
|
-
background-color: unset;
|
|
980
|
-
|
|
981
|
-
&::before {
|
|
982
|
-
content: '';
|
|
983
|
-
|
|
984
|
-
position: absolute;
|
|
985
|
-
z-index: 1;
|
|
986
|
-
inset: 0;
|
|
987
|
-
|
|
988
|
-
border: 2px solid ${({theme:e})=>e.palette.primary[400]};
|
|
989
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
|
|
993
|
-
&.Mui-selected {
|
|
994
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
995
|
-
|
|
996
|
-
background-color: ${({theme:e,$isGroupTitleItem:t})=>t?"inherit":e.palette.primary[100]};
|
|
997
|
-
|
|
998
|
-
&::before {
|
|
999
|
-
content: '';
|
|
1000
|
-
|
|
1001
|
-
position: absolute;
|
|
1002
|
-
inset: 0;
|
|
1003
|
-
|
|
1004
|
-
width: 10px;
|
|
1005
|
-
|
|
1006
|
-
border-left: 3px solid ${({theme:e})=>e.palette.primary[800]};
|
|
1007
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
&:hover {
|
|
1011
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
1012
|
-
|
|
1013
|
-
background-color: ${({theme:e,$isGroupTitleItem:t})=>t?"inherit":e.palette.primary[100]};
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
&:hover {
|
|
1018
|
-
color: ${({theme:e})=>e.palette.primary["800"]};
|
|
1019
|
-
|
|
1020
|
-
background-color: inherit;
|
|
1021
|
-
|
|
1022
|
-
${r.listItemIconClasses.root} {
|
|
1023
|
-
color: ${({theme:e})=>e.palette.primary["800"]};
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
&:active {
|
|
1028
|
-
color: ${({theme:e})=>e.palette.primary["900"]};
|
|
1029
|
-
|
|
1030
|
-
${r.listItemIconClasses.root} {
|
|
1031
|
-
color: ${({theme:e})=>e.palette.primary["900"]};
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
1036
|
-
min-height: 40px;
|
|
1037
|
-
margin-top: ${({theme:e,$isGroupTitleItem:t})=>t?e.spacing(4):0};
|
|
1038
|
-
padding: ${({theme:e,$isGroupTitleItem:t})=>t?e.spacing(0,5):e.spacing(3,5)};
|
|
1039
|
-
|
|
1040
|
-
border-radius: 0;
|
|
1041
|
-
|
|
1042
|
-
&.Mui-selected {
|
|
1043
|
-
&::before {
|
|
1044
|
-
border-radius: 0;
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
`,nC=(0,r.styled)(ny)`
|
|
1049
|
-
min-width: unset;
|
|
1050
|
-
`,nw=(0,r.styled)(eB)`
|
|
1051
|
-
width: 'auto';
|
|
1052
|
-
margin-left: ${({theme:e})=>e.spacing(3)};
|
|
1053
|
-
|
|
1054
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
1055
|
-
width: auto;
|
|
1056
|
-
margin-left: 0;
|
|
1057
|
-
}
|
|
1058
|
-
`,nv=(0,r.styled)(i.ChevronDown,{shouldForwardProp:e=>"collapsedIn"!==e&&"opened"!==e})`
|
|
1059
|
-
transform: ${({opened:e})=>e?"rotateZ(180deg)":"rotateZ(0deg)"};
|
|
1060
|
-
|
|
1061
|
-
width: ${({collapsedIn:e})=>e?"1em":"0px"};
|
|
1062
|
-
margin-left: auto;
|
|
1063
|
-
|
|
1064
|
-
transition: ${({theme:e})=>e.transitions.create("transform",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})};
|
|
1065
|
-
`,nj=t=>{let{collapsedIn:r,opened:i,text:o,icon:n,component:l="a",...a}=t,{isMobile:s}=et(),d="boolean"==typeof i;return(0,e.jsxs)(n$,{$isGroupTitleItem:d,component:l,withoutContainer:!0,...a,children:[s?(0,e.jsx)(nw,{tooltipProps:{placement:"right"},rowsCount:1,children:o}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(eb,{arrow:!0,title:!r&&o,placement:"right",children:(0,e.jsx)(nC,{children:n})}),(0,e.jsx)(g,{orientation:"horizontal",in:r,children:(0,e.jsx)(nw,{tooltipProps:{placement:"right"},rowsCount:1,children:o})})]}),d&&(0,e.jsx)(nv,{collapsedIn:r,opened:i})]})},nk=t=>{let{collapsedIn:o,items:n}=t;return(0,e.jsx)(r.List,{disablePadding:!0,children:n.map(t=>{let[r,n]=t;return(0,e.jsx)("li",{children:(0,e.jsx)(nj,{collapsedIn:o,selected:n.active,text:n.text,icon:(0,e.jsx)(i.Dot,{}),component:n.component})},r)})})},nS=r=>{let{collapsedIn:i,item:[,o]}=r,{active:n,icon:l,items:a,text:s,component:d,...p}=o,[c,u]=(0,t.useState)(a?.some(([,{active:e}])=>e)),h=(0,t.useMemo)(()=>!c&&n,[c,n]),m=(0,t.useCallback)(()=>{u(e=>{if("boolean"==typeof e)return!e})},[]);return(0,e.jsxs)("li",{children:[(0,e.jsx)(nj,{opened:c,collapsedIn:i,selected:h,text:s,icon:l,component:d,...p,onClick:m}),a&&(0,e.jsx)(g,{in:c,children:(0,e.jsx)(nk,{collapsedIn:i,items:a})})]})},nM=t=>{let{collapsedIn:i=!0,items:o}=t;return(0,e.jsx)(r.List,{disablePadding:!0,children:o.map(t=>(0,e.jsx)(nS,{collapsedIn:i,item:t},t[0]))})},nI=t=>(0,e.jsx)(r.Paper,{...t}),nF=({className:t,value:i})=>{let o=Math.max(0,Math.min(i,100));return(0,e.jsx)(r.LinearProgress,{className:t,variant:"determinate",value:o})},nP="RadioIcon-innerCircle",nT="RadioCheckedIcon-innerCircle",nA=({...t})=>(0,e.jsxs)(r.SvgIcon,{viewBox:"0 0 24 24",...t,children:[(0,e.jsx)("circle",{cx:"12",cy:"12",r:"10",className:"RadioIcon-outerCircle"}),(0,e.jsx)("circle",{cx:"12",cy:"12",r:"8",className:nP})]}),nE=({...t})=>(0,e.jsxs)(r.SvgIcon,{viewBox:"0 0 24 24",...t,children:[(0,e.jsx)("circle",{cx:"12",cy:"12",r:"10",className:"RadioCheckedIcon-outerCircle"}),(0,e.jsx)("circle",{cx:"12",cy:"12",r:"4",className:nT})]}),nD=e=>(0,r.css)`
|
|
1066
|
-
&.MuiRadio-root:not(.Mui-disabled) {
|
|
1067
|
-
color: ${e.palette.red[800]};
|
|
1068
|
-
|
|
1069
|
-
&:hover {
|
|
1070
|
-
& > svg {
|
|
1071
|
-
color: ${e.palette.red[700]};
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
}
|
|
1075
|
-
`,nR=(0,r.styled)(r.Radio,{shouldForwardProp:e=>"isError"!==e})`
|
|
1076
|
-
padding: 5px;
|
|
1077
|
-
|
|
1078
|
-
color: ${({theme:e})=>e.palette.grey[300]};
|
|
1079
|
-
|
|
1080
|
-
border-radius: unset;
|
|
1081
|
-
|
|
1082
|
-
& > svg > .${nP} {
|
|
1083
|
-
fill: ${({theme:e})=>e.palette.common.white};
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
&:hover {
|
|
1087
|
-
background: none;
|
|
1088
|
-
|
|
1089
|
-
& > svg > .${nP} {
|
|
1090
|
-
fill: ${({theme:e})=>e.palette.grey[100]};
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
&.Mui-disabled:not(.Mui-checked) {
|
|
1095
|
-
color: ${({theme:e})=>e.palette.grey[200]};
|
|
1096
|
-
|
|
1097
|
-
& > svg > .${nP} {
|
|
1098
|
-
fill: ${({theme:e})=>e.palette.grey[200]};
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
&.Mui-checked {
|
|
1103
|
-
color: ${({theme:e})=>e.palette.primary.main};
|
|
1104
|
-
|
|
1105
|
-
&:hover {
|
|
1106
|
-
& > svg {
|
|
1107
|
-
color: ${({theme:e})=>e.palette.primary[700]};
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
&.Mui-disabled {
|
|
1112
|
-
color: ${({theme:e})=>e.palette.grey[400]};
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
& > svg > .${nT} {
|
|
1116
|
-
fill: ${({theme:e})=>e.palette.common.white};
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
${({isError:e,theme:t})=>e&&nD(t)}
|
|
1121
|
-
`,nL=({icon:t=(0,e.jsx)(nA,{}),checkedIcon:r=(0,e.jsx)(nE,{}),...i})=>(0,e.jsx)(nR,{icon:t,checkedIcon:r,...i}),nO=(0,r.styled)(r.FormControlLabel)`
|
|
1122
|
-
margin-right: ${({theme:e})=>e.spacing(6)};
|
|
1123
|
-
margin-left: -7px;
|
|
1124
|
-
`,nz=({id:t,disabled:r,label:i,isError:o,disabledReason:n,formControlLabelProps:l,...a})=>(0,e.jsx)(eb,{title:r&&n,placement:"bottom-start",withoutContainer:!1,children:(0,e.jsx)(nO,{...l,label:i,control:(0,e.jsx)(nL,{...a,isError:o}),disabled:r})},t),nB=(0,t.createContext)({isError:!1}),nW=({children:t,isError:r})=>(0,e.jsx)(nB.Provider,{value:{isError:r},children:t}),nH=i=>{let{children:o,groupLabel:n,errorText:l,isError:a,required:s,formControlProps:d,row:p,...c}=i,u=(0,t.useId)();return(0,e.jsx)(eb,{title:a&&l,placement:"right-start",followCursor:!0,children:(0,e.jsxs)(rp,{...d,children:[n&&(0,e.jsx)(np,{id:u,required:s,children:n}),(0,e.jsx)(r.RadioGroup,{...c,"aria-labelledby":u,row:p,children:(0,e.jsx)(nW,{isError:a,children:o})})]})})},nN=r=>{let{isError:i}=(0,t.useContext)(nB);return(0,e.jsx)(nz,{...r,isError:i})},nV=(0,r.styled)(i.Search)`
|
|
1125
|
-
color: ${({theme:e})=>e.palette.grey[600]};
|
|
1126
|
-
`,n_=(0,r.styled)(ee,{shouldForwardProp:e=>!["$isActive"].includes(e.toString())})`
|
|
1127
|
-
opacity: ${({$isActive:e})=>+!!e};
|
|
1128
|
-
|
|
1129
|
-
&:hover {
|
|
1130
|
-
background-color: transparent;
|
|
1131
|
-
|
|
1132
|
-
svg {
|
|
1133
|
-
fill: ${({theme:e})=>e.palette.grey["700"]};
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
`,nU=(0,r.styled)(t6)`
|
|
1137
|
-
& .MuiFormHelperText-root {
|
|
1138
|
-
/* TODO Убрать после реализации https://track.astral.ru/soft/browse/UIKIT-1333 */
|
|
1139
|
-
display: none;
|
|
1140
|
-
}
|
|
1141
|
-
`,nG=(0,r.styled)(i.CircleX)`
|
|
1142
|
-
width: 16px;
|
|
1143
|
-
height: 16px;
|
|
1144
|
-
|
|
1145
|
-
fill: ${({theme:e})=>e.palette.grey["500"]};
|
|
1146
|
-
`,nX=(0,t.forwardRef)(({margin:r="none",placeholder:i="Поиск",onChange:o,disabled:n,value:l,defaultValue:a,...s},d)=>{let[p,c]=(0,t.useState)(`${a||l||""}`),u=(0,t.useRef)(null),g=!!p.length;return(0,e.jsx)(nU,{margin:r,placeholder:i,startAdornment:(0,e.jsx)(nV,{onClick:()=>{u.current?.focus()}}),disabled:n,endAdornment:(0,e.jsx)(n_,{variant:"text",onClick:()=>{c(""),u.current&&(u.current.value="");let e=new InputEvent("input",{bubbles:!0,cancelable:!0});Object.defineProperty(e,"target",{writable:!0,value:u.current}),o?.(e),u.current?.focus()},disabled:n||!g,$isActive:g,children:(0,e.jsx)(nG,{})}),onChange:e=>{c(e.target.value),o?.(e)},value:p,ref:d,inputRef:u,...s})}),nY=(0,r.styled)(r.Skeleton)`
|
|
1147
|
-
/* stylelint-disable-next-line */
|
|
1148
|
-
background-color: ${({theme:e})=>(0,r.alpha)(e.palette.grey[900],.12)};
|
|
1149
|
-
|
|
1150
|
-
/* TODO: Заменить на значения из темы в рамках
|
|
1151
|
-
https://track.astral.ru/soft/browse/UIKIT-1400 */
|
|
1152
|
-
&.${r.skeletonClasses.text} {
|
|
1153
|
-
border-radius: 4px;
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
&.${r.skeletonClasses.rounded} {
|
|
1157
|
-
border-radius: 4px;
|
|
1158
|
-
}
|
|
1159
|
-
`,nZ=t=>(0,e.jsx)(nY,{...t}),nq=(0,r.styled)(r.Switch)`
|
|
1160
|
-
.Mui-focusVisible {
|
|
1161
|
-
border: 2px solid ${({theme:e})=>e.palette.primary[400]};
|
|
1162
|
-
}
|
|
1163
|
-
${`.${r.switchClasses.track}`}::before {
|
|
1164
|
-
display: none;
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
|
-
${`.${r.switchClasses.track}`}::after {
|
|
1168
|
-
display: none;
|
|
1169
|
-
}
|
|
1170
|
-
`,nK=(0,t.forwardRef)((t,r)=>(0,e.jsx)(nq,{ref:r,...t})),nJ=(0,r.styled)(r.Tab)`
|
|
1171
|
-
min-height: 36px;
|
|
1172
|
-
margin-right: ${({theme:e})=>e.spacing(4)};
|
|
1173
|
-
padding: 0;
|
|
1174
|
-
|
|
1175
|
-
line-height: 20px;
|
|
1176
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
1177
|
-
|
|
1178
|
-
&:last-child {
|
|
1179
|
-
margin-right: 0;
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
&:hover {
|
|
1183
|
-
color: ${({theme:e})=>e.palette.primary[800]};
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
&:active {
|
|
1187
|
-
color: ${({theme:e})=>e.palette.primary[900]};
|
|
1188
|
-
}
|
|
1189
|
-
`,nQ=t=>(0,e.jsx)(nJ,{...t}),n0=(0,r.styled)("div")`
|
|
1190
|
-
display: flex;
|
|
1191
|
-
flex-direction: column;
|
|
1192
|
-
align-items: flex-start;
|
|
1193
|
-
|
|
1194
|
-
width: 100%;
|
|
1195
|
-
`,n1=(0,r.styled)("div")`
|
|
1196
|
-
position: relative;
|
|
1197
|
-
z-index: -1;
|
|
1198
|
-
bottom: 2px;
|
|
1199
|
-
|
|
1200
|
-
width: 100%;
|
|
1201
|
-
height: 2px;
|
|
1202
|
-
|
|
1203
|
-
background-color: ${e=>e.theme.palette.grey[200]};
|
|
1204
|
-
`,n2=({nextFeatureFlags:t,...i})=>t?.hasBottomDivider?(0,e.jsxs)(n0,{children:[(0,e.jsx)(r.Tabs,{...i}),(0,e.jsx)(n1,{})]}):(0,e.jsx)(r.Tabs,{...i}),n3=(0,r.styled)(rd)`
|
|
1205
|
-
vertical-align: text-top;
|
|
1206
|
-
|
|
1207
|
-
& span.MuiBadge-badge {
|
|
1208
|
-
position: static;
|
|
1209
|
-
transform: none;
|
|
1210
|
-
|
|
1211
|
-
box-sizing: content-box;
|
|
1212
|
-
height: 16px;
|
|
1213
|
-
}
|
|
1214
|
-
`,n4=({disabled:e,checked:t,checkedColor:r,color:i})=>e?"grey":t?r||"white":i,n8=({color:t="primary",checked:r,disabled:i,checkedColor:o,...n})=>(0,e.jsx)(n3,{withBorder:!1,color:n4({disabled:i,checked:r,checkedColor:o,color:t}),...n}),n6=({rows:t=7,...r})=>(0,e.jsx)(t6,{multiline:!0,rows:t,...r});export{z as Accordion,eS as ActionCell,rn as AsyncAutocomplete,re as Autocomplete,rd as Badge,ec as BottomDrawer,q as Button,W as ButtonColors,N as ButtonSizes,V as ButtonStates,H as ButtonVariants,eA as Checkbox,rm as CheckboxField,u as Chevron,U as CircularProgress,g as Collapse,rb as ConfigContext,r$ as ConfigProvider,rI as ConfirmAction,rV as ConfirmDialog,tW as Container,io as ContentState,ip as CopyTypography,ez as DEFAULT_ROWS_COUNT,oH as DEFAULT_SEPARATOR,oN as DEFAULT_SYMBOL,oV as DESCRIPTION_ROOT_CLASSNAME,oa as DataGrid,om as DataGridActionCell,oW as DataGridPagination,o0 as Description,o9 as DescriptionList,rE as Dialog,rL as DialogActions,rz as DialogContent,rW as DialogContentText,ne as DialogHeader,rF as DialogTitle,i8 as Divider,nt as DropdownButton,iy as EXPANDED_LEVEL_BY_DEFAULT,ir as ErrorBoundary,ns as Filename,rp as FormControl,ru as FormControlLabel,t8 as FormHelperText,t4 as FormHelperTextContent,np as FormLabel,o1 as GuidTypography,i4 as Head,ib as INITIAL_OPENED_NESTED_CHILDREN_COUNT_BY_DEFAULT,ee as IconButton,em as IconDropdownButton,rJ as Image,r9 as InternalErrorPlaceholder,B as LOADING_BUTTON_CLASSNAME,nu as Link,ng as List,nh as ListItem,nm as ListItemButton,ny as ListItemIcon,nf as ListItemText,nb as ListSubheader,ix as MIN_DISPLAY_ROWS_BY_DEFAULT,ig as MIN_ROW_HEIGHT,eh as Menu,e$ as MenuItem,eg as MenuList,nM as NavMenu,r5 as OutdatedReleasePlaceholder,eB as OverflowTypography,ox as Pagination,nI as Paper,r6 as Placeholder,rC as Popover,nF as ProgressBar,ih as ROOT_ACTION_CELL_WIDTH,nL as Radio,nz as RadioField,nH as RadioGroup,nB as RadioGroupContext,nN as RadioGroupField,iX as Row,iH as RowContext,iN as RowContextProvider,tP as SPACING,nX as SearchField,oE as Select,nZ as Skeleton,iS as SortStates,nK as Switch,im as TREE_LINE_WIDTH,nQ as Tab,n2 as Tabs,tJ as Tag,n8 as TagBadge,oj as TagsList,n6 as TextArea,t6 as TextField,eb as Tooltip,E as Typography,iM as Variant,tA as componentsColors,tO as createTheme,tT as elevation,tE as getPalette,rQ as setDefaultImageStyles,tD as shape,er as useMenu,ei as usePopover,tz as useTheme,eo as useToggle,et as useViewportType};
|