@max-ts/components 0.1.0 → 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/components/index.d.ts +76 -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 -13
- 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/components/index.d.ts +0 -62
- package/dist/hooks/useMenu/useMenu.d.ts +0 -21
- package/dist/hooks/usePopover/usePopover.d.ts +0 -11
- package/dist/index.js +0 -1080
- package/dist/index.mjs +0 -1080
- 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 -12
- 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 -123
- 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/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.js
DELETED
|
@@ -1,1080 +0,0 @@
|
|
|
1
|
-
"use strict";let __rslib_import_meta_url__="undefined"==typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_require__={};__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var a in t)__webpack_require__.o(t,a)&&!__webpack_require__.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Head:()=>Head,Accordion:()=>Accordion,Placeholder:()=>Placeholder,LOADING_BUTTON_CLASSNAME:()=>LOADING_BUTTON_CLASSNAME,DialogTitle:()=>DialogTitle,CircularProgress:()=>CircularProgress,createTheme:()=>createTheme,FormHelperTextContent:()=>FormHelperTextContent,INITIAL_OPENED_NESTED_CHILDREN_COUNT_BY_DEFAULT:()=>INITIAL_OPENED_NESTED_CHILDREN_COUNT_BY_DEFAULT,Dialog:()=>Dialog,ROOT_ACTION_CELL_WIDTH:()=>ROOT_ACTION_CELL_WIDTH,elevation:()=>elevation_elevation,usePopover:()=>usePopover,MenuItem:()=>MenuItem,AsyncAutocomplete:()=>AsyncAutocomplete,useTheme:()=>useTheme,setDefaultImageStyles:()=>setDefaultImageStyles,ListItem:()=>ListItem,DialogContent:()=>DialogContent,GuidTypography:()=>GuidTypography,Container:()=>Container,Link:()=>Link,List:()=>List,Paper:()=>Paper,FormControlLabel:()=>FormControlLabel,useMenu:()=>useMenu,ConfigProvider:()=>ConfigProvider,CheckboxField:()=>CheckboxField,ButtonColors:()=>enums_ButtonColors,Divider:()=>Divider,ErrorBoundary:()=>ErrorBoundary,MIN_DISPLAY_ROWS_BY_DEFAULT:()=>MIN_DISPLAY_ROWS_BY_DEFAULT,RowContext:()=>RowContext,RowContextProvider:()=>RowContextProvider,SPACING:()=>SPACING,OutdatedReleasePlaceholder:()=>OutdatedReleasePlaceholder,ListItemButton:()=>ListItemButton,Badge:()=>Badge,InternalErrorPlaceholder:()=>InternalErrorPlaceholder,DEFAULT_ROWS_COUNT:()=>DEFAULT_ROWS_COUNT,FormHelperText:()=>FormHelperText,MenuList:()=>MenuList,EXPANDED_LEVEL_BY_DEFAULT:()=>EXPANDED_LEVEL_BY_DEFAULT,Select:()=>Select,TREE_LINE_WIDTH:()=>TREE_LINE_WIDTH,componentsColors:()=>componentsColors,ButtonStates:()=>enums_ButtonStates,ListSubheader:()=>ListSubheader,DataGrid:()=>DataGrid,DialogActions:()=>DialogActions,ConfigContext:()=>ConfigContext,DataGridActionCell:()=>DataGridActionCell,DESCRIPTION_ROOT_CLASSNAME:()=>DESCRIPTION_ROOT_CLASSNAME,ButtonVariants:()=>enums_ButtonVariants,SearchField:()=>SearchField,DialogHeader:()=>DialogHeader,ListItemIcon:()=>ListItemIcon,ContentState:()=>ContentState,IconDropdownButton:()=>IconDropdownButton,Collapse:()=>Collapse,DEFAULT_SYMBOL:()=>DEFAULT_SYMBOL,DialogContentText:()=>DialogContentText,FormControl:()=>FormControl,IconButton:()=>IconButton,Row:()=>Row,MIN_ROW_HEIGHT:()=>MIN_ROW_HEIGHT,Pagination:()=>Pagination,CopyTypography:()=>CopyTypography,TagBadge:()=>TagBadge,BottomDrawer:()=>BottomDrawer,ActionCell:()=>ActionCell,DescriptionList:()=>DescriptionList,TextField:()=>TextField,Variant:()=>enums_Variant,NavMenu:()=>NavMenu,getPalette:()=>getPalette,Typography:()=>Typography,shape:()=>shape,useToggle:()=>useToggle,Tag:()=>Tag,TagsList:()=>TagsList,SortStates:()=>enums_SortStates,ConfirmAction:()=>ConfirmAction,Image:()=>Image,ButtonSizes:()=>enums_ButtonSizes,Chevron:()=>Chevron,DataGridPagination:()=>DataGridPagination,Menu:()=>Menu,Autocomplete:()=>Autocomplete,Button:()=>Button,Description:()=>Description_Description,DEFAULT_SEPARATOR:()=>DEFAULT_SEPARATOR,OverflowTypography:()=>OverflowTypography,ListItemText:()=>ListItemText,useViewportType:()=>useViewportType,Tooltip:()=>Tooltip,Checkbox:()=>Checkbox,Popover:()=>Popover});let jsx_runtime_namespaceObject=require("react/jsx-runtime"),external_react_namespaceObject=require("react");var external_react_default=__webpack_require__.n(external_react_namespaceObject);let material_namespaceObject=require("@mui/material"),external_lucide_react_namespaceObject=require("lucide-react"),ChevronIcon=(0,material_namespaceObject.styled)(external_lucide_react_namespaceObject.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
|
-
`,Chevron=e=>(0,jsx_runtime_namespaceObject.jsx)(ChevronIcon,{...e}),Collapse=e=>(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.Collapse,{...e});var enums_TypographyColors=function(e){return e.text="text",e.secondary="secondary",e.primary="primary",e.error="error",e.success="success",e.warning="warning",e.info="info",e.textSecondary="text.secondary",e.grey="grey",e.red="red",e.green="green",e.yellow="yellow",e}({});let useTypographyColor=({color:e,colorIntensity:t="800"})=>{let a=(0,material_namespaceObject.useTheme)();return(0,external_react_namespaceObject.useMemo)(()=>{let r=e&&enums_TypographyColors[e];if(r)switch(r){case enums_TypographyColors.text:return a.palette.text.primary;case enums_TypographyColors.textSecondary:return a.palette.text.secondary;default:return a.palette[r]?.[t]||r}},[e,t,a])},TypographyWrapper=(0,material_namespaceObject.styled)(material_namespaceObject.Typography,{shouldForwardProp:e=>"isUpperCase"!==e})`
|
|
6
|
-
text-transform: ${({isUpperCase:e})=>e?"uppercase":"none"};
|
|
7
|
-
`,printDeprecatedWarning=e=>{e&&["h7","h8","ui","small","code","body2","overline"].includes(e)&&console.warn(`[@astral/components]: Deprecated: Вариант "${e}" в компоненте Typography больше не поддерживается и будет удален в следующем мажорном релизе. Используйте другой подходящий вариант.`)},Typography=({children:e,color:t,colorIntensity:a="800",component:r,...n})=>{let i=useTypographyColor({color:t,colorIntensity:a});return printDeprecatedWarning(n.variant),(0,jsx_runtime_namespaceObject.jsx)(TypographyWrapper,{...n,component:r,color:i,children:e})},Header=(0,material_namespaceObject.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
|
-
`,ContentWrapper=(0,material_namespaceObject.styled)("div")`
|
|
14
|
-
margin-left: ${({theme:e,withStartAdorment:t})=>e.spacing(8*!!t)};
|
|
15
|
-
padding-top: ${({theme:e})=>e.spacing(2)};
|
|
16
|
-
`,Summary=(0,material_namespaceObject.styled)(Typography)`
|
|
17
|
-
align-self: center;
|
|
18
|
-
`,ChevronWrapper=(0,material_namespaceObject.styled)("div")`
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
|
|
21
|
-
width: 24px;
|
|
22
|
-
height: 24px;
|
|
23
|
-
`,Accordion=(0,external_react_namespaceObject.forwardRef)(({summary:e,startAdorment:t,isExpanded:a,onChange:r,children:n},i)=>{let[o,s]=(0,external_react_namespaceObject.useState)(!1),l="boolean"==typeof a,c=l?a:o,p=!!t,u="string"==typeof e?Summary:external_react_default().Fragment;return(0,jsx_runtime_namespaceObject.jsxs)("div",{ref:i,children:[(0,jsx_runtime_namespaceObject.jsxs)(Header,{onClick:e=>{if(l)r?.(!a,e);else{let t=!o;s(t),r?.(t,e)}},withStartAdornment:p,children:[t,(0,jsx_runtime_namespaceObject.jsx)(u,{children:e}),(0,jsx_runtime_namespaceObject.jsx)(ChevronWrapper,{children:(0,jsx_runtime_namespaceObject.jsx)(Chevron,{isActive:c})})]}),(0,jsx_runtime_namespaceObject.jsx)(Collapse,{in:c,children:(0,jsx_runtime_namespaceObject.jsx)(ContentWrapper,{withStartAdorment:p,children:n})})]})}),external_clsx_namespaceObject=require("clsx"),LOADING_BUTTON_CLASSNAME="astral-button-loading";var enums_ButtonColors=function(e){return e.Error="error",e.Success="success",e.Warning="warning",e.Primary="primary",e}({}),enums_ButtonVariants=function(e){return e.Contained="contained",e.Light="light",e.Text="text",e.Link="link",e}({}),enums_ButtonSizes=function(e){return e.Small="small",e.Medium="medium",e.Large="large",e}({}),enums_ButtonStates=function(e){return e.Default="default",e.Active="active",e.Focus="focus",e.Hover="hover",e}({});let useLogic=({size:e})=>({size:"small"===e?16:24}),CircularProgress=e=>{let{size:t}=useLogic({...e}),{size:a,color:r,...n}=e;return(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.CircularProgress,{...n,size:t,color:"inherit","data-color":r})},StyledButton=(0,material_namespaceObject.styled)(material_namespaceObject.Button)`
|
|
24
|
-
min-width: ${({variant:e})=>e===enums_ButtonVariants.Link?"auto":""};
|
|
25
|
-
padding: ${({variant:e})=>e===enums_ButtonVariants.Link?0:""};
|
|
26
|
-
|
|
27
|
-
:active {
|
|
28
|
-
box-shadow: none;
|
|
29
|
-
}
|
|
30
|
-
`,StyledCircularProgress=(0,material_namespaceObject.styled)(CircularProgress)`
|
|
31
|
-
position: absolute;
|
|
32
|
-
`;var constants_CircularProgressColors=function(e){return e.PRIMARY="primary",e.INVERTED="inverted",e}({}),constants_CircularProgressSizes=null;let useLogic_useLogic=({variant:e})=>({loadingIndicatorColor:(0,external_react_namespaceObject.useMemo)(()=>e!==enums_ButtonVariants.Contained?constants_CircularProgressColors.PRIMARY:constants_CircularProgressColors.INVERTED,[e])}),Button=e=>{let{loadingIndicatorColor:t}=useLogic_useLogic(e),{variant:a=enums_ButtonVariants.Contained,color:r=enums_ButtonColors.Primary,loading:n,loadingIndicator:i,loadingPosition:o,disabled:s,children:l,className:c,...p}=e;return(0,jsx_runtime_namespaceObject.jsxs)(StyledButton,{variant:a,color:r,disabled:n||s,...p,className:(0,external_clsx_namespaceObject.clsx)(c,{[LOADING_BUTTON_CLASSNAME]:n}),children:[n&&(0,jsx_runtime_namespaceObject.jsx)(StyledCircularProgress,{color:t,size:"small"}),l]})},getValue=({type:e,values:t,defaultValue:a})=>e&&t[e]||a,getButtonHeight=e=>getValue({type:e.size,values:{[enums_ButtonSizes.Large]:"40px"},defaultValue:"32px"}),getButtonHeightMobile=e=>getValue({type:e.size,values:{[enums_ButtonSizes.Small]:"36px"},defaultValue:"48px"}),styles_StyledButton=(0,material_namespaceObject.styled)(Button,{shouldForwardProp:e=>"startIcon"!==e&&"endIcon"!==e&&"loading"!==e})`
|
|
33
|
-
pointer-events: ${({loading:e})=>e&&"none"};
|
|
34
|
-
|
|
35
|
-
width: ${getButtonHeight};
|
|
36
|
-
height: ${getButtonHeight};
|
|
37
|
-
padding: ${({theme:e})=>e.spacing(1)};
|
|
38
|
-
|
|
39
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
40
|
-
width: ${getButtonHeightMobile};
|
|
41
|
-
}
|
|
42
|
-
`,IconButton=e=>{let{variant:t=enums_ButtonVariants.Contained,loading:a,children:r,...n}=e,i=(0,external_react_namespaceObject.useMemo)(()=>t===enums_ButtonVariants.Contained?"inverted":"primary",[t]);return(0,jsx_runtime_namespaceObject.jsx)(styles_StyledButton,{loading:a,variant:t,tabIndex:a?-1:0,...n,children:a?(0,jsx_runtime_namespaceObject.jsx)(CircularProgress,{size:"small",color:i}):r})},useViewportType=()=>{let e=(0,material_namespaceObject.useTheme)();return{isMobile:(0,material_namespaceObject.useMediaQuery)(e.breakpoints.down("sm"))}};function useMenu(e=null){let[t,a]=(0,external_react_namespaceObject.useState)(!1),r=(0,external_react_namespaceObject.useRef)(null);return(0,external_react_namespaceObject.useEffect)(()=>{e&&("function"==typeof e?e(r.current):e.current=r.current)},[e]),{open:t,anchorRef:r,handleCloseMenu:()=>a(!1),handleOpenMenu:()=>a(!0)}}let usePopover=()=>{let[e,t]=(0,external_react_namespaceObject.useState)(null);return{isOpen:!!e,anchor:e,actions:{open:e=>t(e.currentTarget),close:()=>t(null)}}},useToggle=e=>{let{initialState:t=!1,onInactive:a,onActive:r}=e||{},[n,i]=(0,external_react_namespaceObject.useState)(t);return[n,(...e)=>{i(!0),r?.(...e)},(...e)=>{i(!1),a?.(...e)}]},OFFSET_TOP_SCREEN="16px",DEFAULT_HEADER_HEIGHT=56,StyledDrawer=(0,material_namespaceObject.styled)(material_namespaceObject.Drawer)`
|
|
43
|
-
${`.${material_namespaceObject.paperClasses.root}`} {
|
|
44
|
-
max-height: calc(100vh - ${OFFSET_TOP_SCREEN});
|
|
45
|
-
|
|
46
|
-
@supports (height: 100dvh) {
|
|
47
|
-
max-height: calc(100dvh - ${OFFSET_TOP_SCREEN});
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
border-top-left-radius: ${({theme:e})=>e.shape.large};
|
|
51
|
-
border-top-right-radius: ${({theme:e})=>e.shape.large};
|
|
52
|
-
}
|
|
53
|
-
`,styles_Header=(0,material_namespaceObject.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
|
-
`,HeaderTitle=(0,material_namespaceObject.styled)(material_namespaceObject.Typography)`
|
|
64
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
65
|
-
`,Body=(0,material_namespaceObject.styled)("div")`
|
|
66
|
-
overflow-y: auto;
|
|
67
|
-
`,BottomDrawer=({title:e,drawerHeaderHeight:t=DEFAULT_HEADER_HEIGHT,children:a,onClose:r,...n})=>(0,jsx_runtime_namespaceObject.jsxs)(StyledDrawer,{...n,anchor:"bottom",onClose:r,children:[(0,jsx_runtime_namespaceObject.jsxs)(styles_Header,{drawerHeaderHeight:t,children:[(0,jsx_runtime_namespaceObject.jsx)(HeaderTitle,{variant:"h5",noWrap:!0,children:e}),(0,jsx_runtime_namespaceObject.jsx)(IconButton,{variant:"text",onClick:e=>{r&&r(e,"escapeKeyDown")},children:(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X,{})})]}),(0,jsx_runtime_namespaceObject.jsx)(Body,{children:a})]}),StyledMenuList=(0,material_namespaceObject.styled)(material_namespaceObject.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
|
-
`,MenuList=({children:e,...t})=>(0,jsx_runtime_namespaceObject.jsx)(StyledMenuList,{...t,children:e}),Menu=({children:e,onClose:t,open:a,title:r,...n})=>{let{isMobile:i}=useViewportType();return i?(0,jsx_runtime_namespaceObject.jsx)(BottomDrawer,{title:r,onClose:t,open:a,children:(0,jsx_runtime_namespaceObject.jsx)(MenuList,{children:e})}):(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.Menu,{open:a,onClose:t,...n,children:e})},IconDropdownButton=(0,external_react_namespaceObject.forwardRef)(({children:e,icon:t,...a},r)=>{let{open:n,anchorRef:i,handleOpenMenu:o,handleCloseMenu:s}=useMenu(r);return(0,jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment,{children:[(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.ClickAwayListener,{onClickAway:s,mouseEvent:"onMouseUp",children:(0,jsx_runtime_namespaceObject.jsx)(IconButton,{...a,ref:i,onClick:o,selected:n,children:t})}),(0,jsx_runtime_namespaceObject.jsx)(Menu,{open:n,anchorEl:i.current,children:e})]})});var constants_TooltipSizes=function(e){return e.MEDIUM="medium",e.SMALL="small",e}({});let StyledTooltip=(0,material_namespaceObject.styled)(({className:e,...t})=>(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.Tooltip,{...t,classes:{popper:e}}))`
|
|
75
|
-
& .${material_namespaceObject.tooltipClasses.tooltip} {
|
|
76
|
-
margin: 0;
|
|
77
|
-
|
|
78
|
-
font-size: ${({size:e,theme:t})=>e===constants_TooltipSizes.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===constants_TooltipSizes.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
|
-
& .${material_namespaceObject.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'] .${material_namespaceObject.tooltipClasses.tooltip} {
|
|
93
|
-
margin-bottom: ${({theme:e})=>e.spacing(2)};
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&&[data-popper-placement*='bottom'] .${material_namespaceObject.tooltipClasses.tooltip} {
|
|
97
|
-
margin-top: ${({theme:e})=>e.spacing(2)};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&&[data-popper-placement*='left'] .${material_namespaceObject.tooltipClasses.tooltip} {
|
|
101
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&&[data-popper-placement*='right'] .${material_namespaceObject.tooltipClasses.tooltip} {
|
|
105
|
-
margin-left: ${({theme:e})=>e.spacing(2)};
|
|
106
|
-
}
|
|
107
|
-
`,styles_ContentWrapper=(0,material_namespaceObject.styled)("div")`
|
|
108
|
-
display: inherit;
|
|
109
|
-
flex-direction: inherit;
|
|
110
|
-
`,Tooltip=e=>{let{title:t,placement:a="top",size:r=constants_TooltipSizes.MEDIUM,withoutContainer:n=!0,children:i,...o}=e;return(0,jsx_runtime_namespaceObject.jsx)(StyledTooltip,{title:t,size:r,placement:a,arrow:!0,...o,children:n?i:(0,jsx_runtime_namespaceObject.jsx)(styles_ContentWrapper,{children:i})})},MenuItem=e=>{let{disabledReason:t,disabled:a,component:r="div",title:n,tooltipPlacement:i="left",note:o,...s}=e;return(0,jsx_runtime_namespaceObject.jsx)("li",{children:(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{title:a?t:o,placement:i,withoutContainer:!a,children:(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.MenuItem,{...s,disabled:a,title:n,component:r})},n)})},MainAction=({action:e,onActionClick:t,tooltipPlacement:a,isDisabled:r})=>{if("actions"in e){let{icon:n,disabled:i,disabledReason:o,name:s,actions:l}=e;return(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{title:o||s,placement:a,withoutContainer:!(r||i),children:(0,jsx_runtime_namespaceObject.jsx)(IconDropdownButton,{icon:n,variant:"text",disabled:r||i,children:l.map(({name:e,onClick:r,...n})=>(0,external_react_namespaceObject.createElement)(MenuItem,{...n,key:e,tooltipPlacement:a,onClick:t(r)},e))})},s)}let{onClick:n,name:i,icon:o,disabledReason:s,disabled:l,loading:c,isBlockingOperation:p,...u}=e,m=!c&&(s||i);return(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{title:m,placement:a,withoutContainer:!(r||l),children:(0,jsx_runtime_namespaceObject.jsx)(IconButton,{disabled:r||l,...u,variant:"text",onClick:t(n),children:o})},i)},SecondaryActions=({actions:e,onActionClick:t,tooltipPlacement:a,isDisabled:r=!1})=>(0,jsx_runtime_namespaceObject.jsx)(IconDropdownButton,{icon:(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.EllipsisVertical,{}),variant:"text",disabled:r,children:e.map(e=>{let{onClick:r,name:n}=e;return(0,external_react_namespaceObject.createElement)(MenuItem,{...e,key:n,tooltipPlacement:a,onClick:t(r)},n)})}),Wrapper=(0,material_namespaceObject.styled)("div")`
|
|
111
|
-
display: inline-flex;
|
|
112
|
-
align-items: center;
|
|
113
|
-
`,useLogic_useLogic_useLogic=({actions:e,row:t})=>{let{main:a,secondary:r}=e,n=a.some(e=>!("actions"in e)&&e?.isBlockingOperation&&e?.loading),i=(0,external_react_namespaceObject.useCallback)(e=>()=>{e?.(t)},[t]);return{isSecondaryActionsAvailable:r&&r.length>=1,handleActionClick:i,handleWrapperClick:e=>{e.stopPropagation()},isDisabledAction:n}},TOOLTIP_PLACEMENT={mainAction:"top",secondaryAction:"left"},ActionCell=e=>{let{isSecondaryActionsAvailable:t,handleActionClick:a,handleWrapperClick:r,isDisabledAction:n}=useLogic_useLogic_useLogic(e),{actions:i}=e,{main:o=[],secondary:s=[]}=i;return(0,jsx_runtime_namespaceObject.jsxs)(Wrapper,{onClick:r,children:[o.map(e=>(0,jsx_runtime_namespaceObject.jsx)(MainAction,{tooltipPlacement:TOOLTIP_PLACEMENT.mainAction,onActionClick:a,action:e,isDisabled:n},e.name)),t&&(0,jsx_runtime_namespaceObject.jsx)(SecondaryActions,{isDisabled:n,actions:s,tooltipPlacement:TOOLTIP_PLACEMENT.secondaryAction,onActionClick:a})]})},DefaultIcon=({...e})=>(0,jsx_runtime_namespaceObject.jsxs)(material_namespaceObject.SvgIcon,{viewBox:"0 0 14 14",...e,children:[(0,jsx_runtime_namespaceObject.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,jsx_runtime_namespaceObject.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"})]}),CheckedIcon=({...e})=>(0,jsx_runtime_namespaceObject.jsxs)(material_namespaceObject.SvgIcon,{viewBox:"0 0 14 14",...e,children:[(0,jsx_runtime_namespaceObject.jsx)("rect",{width:"14",height:"14",rx:"3"}),(0,jsx_runtime_namespaceObject.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"})]}),IndeterminateIcon=({...e})=>(0,jsx_runtime_namespaceObject.jsxs)(material_namespaceObject.SvgIcon,{viewBox:"0 0 14 14",...e,children:[(0,jsx_runtime_namespaceObject.jsx)("rect",{width:"14",height:"14",rx:"3"}),(0,jsx_runtime_namespaceObject.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"})]}),getErrorStyles=e=>(0,material_namespaceObject.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
|
-
`,StyledCheckbox=(0,material_namespaceObject.styled)(material_namespaceObject.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&&getErrorStyles(t)}
|
|
171
|
-
`,Checkbox=(0,external_react_namespaceObject.forwardRef)(({icon:e=(0,jsx_runtime_namespaceObject.jsx)(DefaultIcon,{}),checkedIcon:t=(0,jsx_runtime_namespaceObject.jsx)(CheckedIcon,{}),indeterminateIcon:a=(0,jsx_runtime_namespaceObject.jsx)(IndeterminateIcon,{}),...r},n)=>(0,jsx_runtime_namespaceObject.jsx)(StyledCheckbox,{ref:n,icon:e,checkedIcon:t,indeterminateIcon:a,...r})),StyledTypography=(0,material_namespaceObject.styled)(Typography,{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
|
-
`,styles_Wrapper=(0,material_namespaceObject.styled)(Typography,{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
|
-
`,external_react_use_namespaceObject=require("react-use"),useOverflowed=e=>{let t=(0,external_react_namespaceObject.useRef)(null),a=e&&"function"!=typeof e?e:t,[r,n]=(0,external_react_namespaceObject.useState)(!1),i=(0,external_react_use_namespaceObject.useFirstMountState)(),o=([{target:e,contentRect:t}])=>{let a=Math.round(t.height)<e.scrollHeight,r=e.scrollWidth>Math.round(t.width);n(a||r)};return(0,external_react_namespaceObject.useLayoutEffect)(()=>{if(a?.current){let e=a.current,t={target:e,contentRect:e.getBoundingClientRect()};if(!i){let t=new ResizeObserver((0,material_namespaceObject.debounce)(o,500));return t.observe(e),()=>t.unobserve(e)}o([t])}},[a.current]),{isOverflowed:r,ref:a}},truncateString=(e,t)=>({firstPartLabel:t.slice(0,-e),secondPartLabel:t.slice(-e)}),OverflowTypography_useLogic_useLogic_useLogic=({children:e,visibleLastSymbolsCount:t,ref:a})=>{let{ref:r,isOverflowed:n}=useOverflowed(a),i=e&&"string"==typeof e,{firstPartLabel:o,secondPartLabel:s}=i&&n&&t?truncateString(t,e):{firstPartLabel:"",secondPartLabel:""};return{isTruncatedStringVisible:i&&n&&!!t,isOverflowed:n,ref:r,firstPartLabel:o,secondPartLabel:s}},DEFAULT_ROWS_COUNT=1,OverflowTypography=e=>{let{ref:t,isOverflowed:a,secondPartLabel:r,firstPartLabel:n,isTruncatedStringVisible:i}=OverflowTypography_useLogic_useLogic_useLogic(e),{tooltipProps:o,children:s,rowsCount:l=DEFAULT_ROWS_COUNT,visibleLastSymbolsCount:c,align:p="left",...u}=e,m={...u,ref:t,align:p,children:s,rowsCount:l,hasMultipleRows:l>DEFAULT_ROWS_COUNT};return i?(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{title:s,disableInteractive:!0,...o,children:(0,jsx_runtime_namespaceObject.jsxs)(styles_Wrapper,{$align:p,children:[(0,jsx_runtime_namespaceObject.jsx)(StyledTypography,{component:"span",ref:t,hasMultipleRows:!1,rowsCount:1,...u,children:n}),(0,jsx_runtime_namespaceObject.jsx)(Typography,{...u,component:"span",children:r})]})}):s&&a?(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{title:s,disableInteractive:!0,...o,children:(0,jsx_runtime_namespaceObject.jsx)(StyledTypography,{...m})}):(0,jsx_runtime_namespaceObject.jsx)(StyledTypography,{...m})},material_styles_namespaceObject=require("@mui/material/styles"),external_remeda_namespaceObject=require("remeda"),defaultBreakpoints={values:{xs:0,sm:600,md:900,lg:1200,xl:1536}},MuiAlert={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 enums_AutocompleteSizes=function(e){return e.medium="medium",e.small="small",e}({});let MuiAutocomplete={styleOverrides:{inputRoot:({theme:e,ownerState:{size:t}})=>({paddingTop:`${e.spacing(1)} !important`,paddingBottom:`${e.spacing(1)} !important`,paddingLeft:`${e.spacing(1)} !important`,minHeight:t===enums_AutocompleteSizes.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)})}},MuiButton_getValue=({type:e,values:t,defaultValue:a})=>e&&t[e]||a,MuiButton_getButtonHeight=e=>MuiButton_getValue({type:e.size,values:{[enums_ButtonSizes.Large]:"40px"},defaultValue:"32px"}),MuiButton_getButtonHeightMobile=e=>MuiButton_getValue({type:e.size,values:{[enums_ButtonSizes.Small]:"36px"},defaultValue:"48px"}),getButtonPadding=e=>MuiButton_getValue({type:e.size,values:{[enums_ButtonSizes.Large]:e.theme.spacing(2,4,2,4)},defaultValue:e.theme.spacing(1,3,1,3)}),getButtonPaddingMobile=e=>e.variant===enums_ButtonVariants.Link?"0":MuiButton_getValue({type:e.size,values:{[enums_ButtonSizes.Small]:e.theme.spacing(2,3)},defaultValue:e.theme.spacing(4,3)}),getButtonColor=({theme:e,variant:t,color:a,buttonState:r,selected:n})=>{let i={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 n?t!==enums_ButtonVariants.Link?e.palette.primary.contrastText:i.selected[r]:t===enums_ButtonVariants.Contained?i.contained:t===enums_ButtonVariants.Light&&a?i.light[a][r]:t===enums_ButtonVariants.Text?i.text[r]:i.link[r]},getButtonBackgroundColor=({selected:e,color:t,variant:a,buttonState:r,theme:n})=>{let i={selected:{default:n.palette.grey["900"],hover:n.palette.grey["700"],active:n.palette.grey["800"],focus:n.palette.grey["900"]},light:{error:{default:n.palette.red["100"],hover:n.palette.red["200"],active:n.palette.red["100"],focus:n.palette.red["100"]},success:{default:n.palette.green["100"],hover:n.palette.green["200"],active:n.palette.green["100"],focus:n.palette.green["100"]},primary:{default:n.palette.grey["100"],hover:n.palette.grey["200"],active:n.palette.primary["100"],focus:n.palette.grey["100"]},warning:{default:n.palette.yellow["100"],hover:n.palette.yellow["200"],active:n.palette.yellow["100"],focus:n.palette.yellow["100"]}},contained:{error:{default:n.palette.red["800"],hover:n.palette.red["700"],active:n.palette.red["900"],focus:n.palette.red["800"]},success:{default:n.palette.green["800"],hover:n.palette.green["700"],active:n.palette.green["900"],focus:n.palette.green["800"]},primary:{default:n.palette.primary["800"],hover:n.palette.primary["700"],active:n.palette.primary["900"],focus:n.palette.primary["800"]},warning:{default:n.palette.yellow["800"],hover:n.palette.yellow["700"],active:n.palette.yellow["900"],focus:n.palette.yellow["800"]}},text:{default:"transparent",hover:n.palette.grey["200"],active:n.palette.primary["100"],focus:"transparent"},link:"transparent"};return e&&a!==enums_ButtonVariants.Link?i.selected[r]:a===enums_ButtonVariants.Light&&t?i.light[t][r]:a===enums_ButtonVariants.Contained&&t?i.contained[t][r]:a===enums_ButtonVariants.Text?i.text[r]:i.link},getButtonDisabledBackgroundColor=({theme:e,variant:t})=>enums_ButtonVariants.Link===t||enums_ButtonVariants.Text===t?"transparent":e.palette.grey["200"],MuiButton={defaultProps:{disableRipple:!0},styleOverrides:{root({ownerState:e,theme:t}){let a=e.variant,r=e.color,n=e.selected,i=e.size;return{height:MuiButton_getButtonHeight({size:i}),padding:getButtonPadding({theme:t,size:i}),[t.breakpoints.down("sm")]:{height:MuiButton_getButtonHeightMobile({size:i}),padding:getButtonPaddingMobile({size:i,theme:t,variant:a}),whiteSpace:"nowrap"},color:getButtonColor({selected:n,theme:t,variant:a,color:r,buttonState:enums_ButtonStates.Default}),fontWeight:t.typography.button.fontWeight,fontSize:t.typography.button.fontSize,backgroundColor:getButtonBackgroundColor({selected:n,theme:t,color:r,variant:a,buttonState:enums_ButtonStates.Default}),border:"none",borderRadius:t.shape.small,"&:hover":{color:getButtonColor({selected:n,theme:t,variant:a,color:r,buttonState:enums_ButtonStates.Hover}),backgroundColor:getButtonBackgroundColor({selected:n,color:r,variant:a,theme:t,buttonState:enums_ButtonStates.Hover}),boxShadow:"none"},"&:active":{color:getButtonColor({selected:n,color:r,variant:a,theme:t,buttonState:enums_ButtonStates.Active}),backgroundColor:getButtonBackgroundColor({selected:n,color:r,variant:a,theme:t,buttonState:enums_ButtonStates.Active}),outline:"none"},"&:focus-visible":{color:getButtonColor({selected:n,theme:t,variant:a,color:r,buttonState:enums_ButtonStates.Focus}),backgroundColor:getButtonBackgroundColor({selected:n,color:r,variant:a,theme:t,buttonState:enums_ButtonStates.Focus}),outline:`2px solid ${t.palette.primary["400"]}`,boxShadow:"none"},[`&.${material_namespaceObject.buttonClasses.disabled}`]:{color:t.palette.grey["500"],backgroundColor:getButtonDisabledBackgroundColor({theme:t,variant:a}),pointerEvents:"none",cursor:"unset"},[`&.${LOADING_BUTTON_CLASSNAME}`]:{color:"transparent",backgroundColor:getButtonBackgroundColor({color:r,variant:a,theme:t,buttonState:enums_ButtonStates.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"}}}}},MuiButtonBase={defaultProps:{disableRipple:!0},styleOverrides:{root:({theme:e})=>({fontFamily:e.typography.fontFamily})}},MuiCircularProgress_MuiCircularProgress={styleOverrides:{root({ownerState:e,theme:t}){let{"data-color":a}=e;return{color:"primary"===a?t.palette.grey[900]:t.palette.primary.contrastText}}}},MuiCircularProgress=null,MuiDialog={styleOverrides:{paper:({theme:e})=>({borderRadius:e.shape.small})}},MuiDialogActions={styleOverrides:{root:({theme:e})=>({padding:e.spacing(4,6,6,6),">div":{width:"100%"}})}},MuiDialogContent={styleOverrides:{root:({theme:e})=>({padding:e.spacing(0,6)})}},MuiDialogTitle={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",[`& .${material_namespaceObject.buttonClasses.root}`]:{marginLeft:e.spacing(4),color:e.palette.grey[800]}})}},MuiDrawer={styleOverrides:{root:({theme:e})=>({[`&.${material_namespaceObject.drawerClasses.root} > .${material_namespaceObject.backdropClasses.root}`]:{backgroundColor:e.palette.background.modalShadow}})}},MuiFormHelperText={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}})}},components_MuiFormHelperText=null,MuiFormLabel_MuiFormLabel={styleOverrides:{root:()=>({position:"relative",transform:"none"})}},MuiFormLabel=null,MuiInputLabel={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]}})}},components_MuiInputLabel=null,MuiLinearProgress={styleOverrides:{root:({theme:e})=>({width:"100%",borderRadius:"4px",backgroundColor:e.palette.grey[300]}),barColorPrimary:({theme:e})=>({backgroundColor:e.palette.primary["800"]})}},components_MuiLinearProgress=null,MuiListItemButton={styleOverrides:{root:({theme:e})=>({"&.Mui-selected":{color:e.palette.primary[800],backgroundColor:e.palette.grey[100]}})}},MuiListItemText={styleOverrides:{root:()=>({overflow:"hidden",whiteSpace:"nowrap",textAlign:"left",textOverflow:"ellipsis"})}},MuiMenu_MuiMenu={defaultProps:{autoFocus:!1},styleOverrides:{paper:({theme:e})=>({marginTop:e.spacing(2),[`&&.${material_namespaceObject.paperClasses.root}`]:{borderRadius:e.shape.small,boxShadow:e.elevation[200]}}),list:({theme:e})=>({[`&&.${material_namespaceObject.listClasses.root}`]:{padding:0},[`&&.${material_namespaceObject.listClasses.padding}`]:{padding:e.spacing(1,0)}})}},MuiMenu=null,MuiMenuItem={styleOverrides:{root:({theme:e})=>({padding:e.spacing(2,2,2,3),"&:hover":{backgroundColor:e.palette.background.elementHover},[`&.${material_namespaceObject.menuItemClasses.selected}`]:{background:`linear-gradient(90deg, ${e.palette.primary.main} 0, ${e.palette.primary.main} 4px, ${e.palette.primary["100"]} 4px)`},[`&.${material_namespaceObject.menuItemClasses.gutters}`]:{minHeight:e.spacing(8),padding:e.spacing(1,3,1,3)},[e.breakpoints.down("sm")]:{padding:e.spacing(3,3,4,3),[`&.${material_namespaceObject.menuItemClasses.gutters}`]:{padding:e.spacing(3,3,4,3)}}})}},components_MuiMenuItem=null,MuiOutlinedInput_MuiOutlinedInput={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)})}},MuiOutlinedInput=null,MuiPaginationItem={styleOverrides:{root:({theme:e})=>({"&.Mui-selected":{backgroundColor:e.palette.grey["900"],color:e.palette.primary.contrastText}})}},getShadow=(e,t)=>0===e?"none":1===e?t.elevation["200"]:t.elevation["300"],MuiPaper={styleOverrides:{elevation:({theme:e,ownerState:{elevation:t}})=>({boxShadow:getShadow(t,e)}),outlined:({theme:e})=>({border:`1px solid ${e.palette.grey[300]}`})}},MuiStep={styleOverrides:{horizontal:({theme:e})=>({"&:first-of-type":{paddingLeft:0},padding:e.spacing(0,2.5)})}},MuiStepConnector={styleOverrides:{lineHorizontal:({theme:e})=>({borderTopWidth:2,borderColor:e.palette.grey[300]})}},MuiStepLabel={styleOverrides:{label({theme:e}){let{active:t,completed:a,error:r}=material_namespaceObject.stepLabelClasses;return{fontSize:e.typography.small.fontSize,lineHeight:e.typography.small.lineHeight,fontWeight:e.typography.small.fontWeight,color:e.palette.grey[700],[`&.${t}, &.${a}, &.${r}`]:{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)})}},prepareColorToUrl=e=>e.replace("#","%23"),getCheckBackgroundImage=e=>{let t=prepareColorToUrl(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>')`},getCrossBackgroundImage=e=>{let t=prepareColorToUrl(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>')`},MuiSwitch={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:getCheckBackgroundImage(e.palette.grey[500])},"&::after":{backgroundImage:getCrossBackgroundImage(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:getCheckBackgroundImage(e.palette.background.default)},"&::after":{right:e.spacing(2),backgroundImage:getCrossBackgroundImage(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}}}},MuiTab={styleOverrides:{root:({theme:e})=>({minWidth:0,padding:e.spacing(0,2),textTransform:"none"})}},MuiTableCell={styleOverrides:{root:({theme:e})=>({border:"none",padding:e.spacing(1,4),height:44})}},MuiTableHead={styleOverrides:{root:({theme:e})=>({th:{borderBottom:`2px solid ${e.palette.grey["300"]}`}})}},MuiTableRow={styleOverrides:{root:({theme:e})=>({"&.MuiTableRow-hover:hover":{backgroundColor:e.palette.background.elementHover,cursor:"pointer"},"&.Mui-selected":{backgroundColor:e.palette.primary["100"]}})}},MuiTabs={styleOverrides:{root:()=>({minHeight:38,height:38}),indicator:({theme:e})=>({borderRadius:e.shape.small})}},MuiTextField={styleOverrides:{root:({theme:e})=>({[`& .${material_namespaceObject.inputBaseClasses.adornedStart}`]:{paddingLeft:e.spacing(2)},[`& .${material_namespaceObject.inputBaseClasses.adornedEnd}`]:{paddingRight:e.spacing(2)},[`& .${material_namespaceObject.inputBaseClasses.inputAdornedStart}`]:{paddingLeft:e.spacing(1)},[`& .${material_namespaceObject.outlinedInputClasses.notchedOutline}`]:{top:-4.5}})}},MuiToggleButton={styleOverrides:{root:({theme:e})=>({textTransform:"initial",padding:e.spacing(1,2)})}},MuiToggleButtonGroup={defaultProps:{size:"small",color:"primary"}},MuiTypography={variants:[{props:{variant:"button"},style:{textTransform:"capitalize"}}],defaultProps:{variantMapping:{link:"a",code:"code"}}},components_MuiTypography=null,getFontFaces=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
|
-
`,getMuiCssBaseline=e=>({styleOverrides:getFontFaces(e)}),getMuiScopedCssBaseline=e=>({styleOverrides:{root:getFontFaces(e)}}),MuiCheckbox={defaultProps:{disableRipple:!0}},MuiRadio={defaultProps:{disableRipple:!0}},getComponents=e=>({MuiCssBaseline:getMuiCssBaseline(e),MuiScopedCssBaseline:getMuiScopedCssBaseline(e),MuiAlert:MuiAlert,MuiButton:MuiButton,MuiButtonBase:MuiButtonBase,MuiTypography:MuiTypography,MuiInputLabel:MuiInputLabel,MuiOutlinedInput:MuiOutlinedInput_MuiOutlinedInput,MuiFormLabel:MuiFormLabel_MuiFormLabel,MuiFormHelperText:MuiFormHelperText,MuiAutocomplete:MuiAutocomplete,MuiCheckbox,MuiMenu:MuiMenu_MuiMenu,MuiMenuItem:MuiMenuItem,MuiRadio,MuiDialog:MuiDialog,MuiDialogTitle:MuiDialogTitle,MuiDialogContent:MuiDialogContent,MuiDialogActions:MuiDialogActions,MuiDrawer:MuiDrawer,MuiTableCell:MuiTableCell,MuiTableHead:MuiTableHead,MuiTableRow:MuiTableRow,MuiPaginationItem:MuiPaginationItem,MuiPaper:MuiPaper,MuiCircularProgress:MuiCircularProgress_MuiCircularProgress,MuiListItemButton:MuiListItemButton,MuiListItemText:MuiListItemText,MuiLinearProgress:MuiLinearProgress,MuiTab:MuiTab,MuiTabs:MuiTabs,MuiStepLabel:MuiStepLabel,MuiStep:MuiStep,MuiStepConnector:MuiStepConnector,MuiToggleButtonGroup:MuiToggleButtonGroup,MuiToggleButton:MuiToggleButton,MuiTextField:MuiTextField,MuiSwitch:MuiSwitch}),SPACING=4,elevation_elevation={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;"},linkColors={main:"#1874FF",hover:"#268FF9",visited:"#762376",active:"#072D57"},componentsColors={link:linkColors},getPalette=()=>{let e={primary:{900:"#0F52B8",800:"#2165CC",700:"#1874FF",600:"#2684FF",500:"#4C9AFF",400:"#70AEFF",300:"#94C2FF",200:"#C5DCFF",100:"#E1EDFF"},secondary:{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.primary[800],dark:e.primary[900],contrastText:"#FFF",...e.primary},secondary:{main:e.secondary[800],dark:e.primary[900],contrastText:"#FFF",...e.secondary},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:componentsColors}},shape={small:"3px",medium:"6px",large:"9px"},HTML_FONT_SIZE=14,pxToRem=(e,t=HTML_FONT_SIZE)=>`${e/t}rem`,baseTypography={fontSize:14,htmlFontSize:14,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:700,fontFamily:"Ubuntu,sans-serif"},getTypography=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"}}}),createTheme=e=>{let{options:t={},fontsUrls:a,breakpoints:r=defaultBreakpoints}=e,n={typography:baseTypography,breakpoints:r,spacing:SPACING,palette:getPalette(),components:getComponents(a),shape:shape,elevation:elevation_elevation},i=(0,material_styles_namespaceObject.createTheme)(n),o=(0,material_styles_namespaceObject.createTheme)(i,{typography:getTypography(i)});return(0,external_remeda_namespaceObject.mergeDeep)(o,{elevation:elevation_elevation,shape:shape,...t})},react_namespaceObject=require("@emotion/react"),useTheme=()=>(0,react_namespaceObject.useTheme)(),ContainerRoot=(0,material_namespaceObject.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:a,templateRows:r})=>r||a||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
|
-
`,Container=e=>(0,jsx_runtime_namespaceObject.jsx)(ContainerRoot,{...e});var enums_TagColors=function(e){return e.DEFAULT="default",e.PRIMARY="primary",e.ERROR="error",e.GREY="grey",e.SUCCESS="success",e.WARNING="warning",e}({}),enums_TagVariants=function(e){return e.CONTAINED="contained",e.LIGHT="light",e.TEXT="text",e}({}),enums_TagStates=function(e){return e.DEFAULT="default",e.HOVER="hover",e.ACTIVE="active",e}({});let HEIGHTS={small:"20px",medium:"24px",large:"32px"},getBadgeColor=e=>{let{tagColor:t,variant:a}=e;return a===enums_TagVariants.CONTAINED?"white":({[enums_TagColors.PRIMARY]:"primary",[enums_TagColors.ERROR]:"error",[enums_TagColors.GREY]:"grey",[enums_TagColors.SUCCESS]:"success",[enums_TagColors.WARNING]:"warning",[enums_TagColors.DEFAULT]:"grey"})[t||"default"]},getShape=({theme:e,rounded:t})=>t?"100px":e.shape.small,getDeleteIconBorderRadius=({theme:e,rounded:t})=>t?"100px":`0 ${e.shape.small} ${e.shape.small} 0`,getBgColor=({theme:e,customColor:t,customVariant:a,disabled:r})=>{if(r)return e.palette.grey[100];if("text"===a)return"transparent";let n={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 a&&t?n[a][t]:!a&&t?n.contained[t]:e.palette.grey[300]},getColor=({theme:e,customColor:t,customVariant:a,disabled:r})=>{if(r)return e.palette.text.disabled;if("text"===a)return e.palette.grey[900];let n={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 a||t?a||"grey"===t?t?a&&t?n[a][t]:e.palette.text.primary:n.contained.default:e.palette.common.white:e.palette.grey[900]},getTagLabelPadding=({theme:e,rounded:t,customSize:a})=>{if(t)return e.spacing(0,2);switch(a){case"small":return e.spacing(0,1);case"medium":case"large":return e.spacing(0,2)}},getDeleteIconBgColor=({theme:e,iconState:t,customVariant:a,customColor:r})=>{let n={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"===a||"light"===a)&&r)return n[a][r||"default"];if("text"===a)return n.light.grey}return"transparent"},getDeleteIconColor=({customVariant:e,customColor:t,theme:a})=>"contained"===e&&"grey"!==t&&"default"!==t?a.palette.common.white:a.palette.grey[900],StyledTag=(0,material_namespaceObject.styled)(material_namespaceObject.Chip,{shouldForwardProp:e=>"customColor"!==e&&"customVariant"!==e&&"rounded"!==e&&"customSize"!==e})`
|
|
238
|
-
user-select: none;
|
|
239
|
-
|
|
240
|
-
height: ${({customSize:e})=>HEIGHTS[e]};
|
|
241
|
-
|
|
242
|
-
font-size: 14px;
|
|
243
|
-
|
|
244
|
-
background-color: ${getBgColor};
|
|
245
|
-
border-radius: ${getShape};
|
|
246
|
-
|
|
247
|
-
&:hover {
|
|
248
|
-
color: ${getColor};
|
|
249
|
-
|
|
250
|
-
background-color: ${getBgColor};
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
&:active {
|
|
254
|
-
color: ${getColor};
|
|
255
|
-
|
|
256
|
-
background-color: ${getBgColor};
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.MuiChip-label {
|
|
260
|
-
padding: ${getTagLabelPadding};
|
|
261
|
-
|
|
262
|
-
color: ${getColor};
|
|
263
|
-
|
|
264
|
-
&:hover {
|
|
265
|
-
color: ${getColor};
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
&:active {
|
|
269
|
-
color: ${getColor};
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.MuiChip-deleteIcon {
|
|
274
|
-
width: 20px;
|
|
275
|
-
height: 20px;
|
|
276
|
-
margin: 0;
|
|
277
|
-
|
|
278
|
-
color: ${getDeleteIconColor};
|
|
279
|
-
|
|
280
|
-
background: ${e=>getDeleteIconBgColor({...e,iconState:enums_TagStates.DEFAULT})};
|
|
281
|
-
border-radius: ${getDeleteIconBorderRadius};
|
|
282
|
-
|
|
283
|
-
&:hover {
|
|
284
|
-
color: ${getDeleteIconColor};
|
|
285
|
-
|
|
286
|
-
background: ${e=>getDeleteIconBgColor({...e,iconState:enums_TagStates.HOVER})};
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
&:active {
|
|
290
|
-
color: ${getDeleteIconColor};
|
|
291
|
-
|
|
292
|
-
background: ${e=>getDeleteIconBgColor({...e,iconState:enums_TagStates.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: ${getColor};
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.MuiChip-icon {
|
|
309
|
-
width: 16px;
|
|
310
|
-
height: 16px;
|
|
311
|
-
}
|
|
312
|
-
`,LabelContainer=(0,material_namespaceObject.styled)(Container)`
|
|
313
|
-
flex-direction: column;
|
|
314
|
-
align-items: center;
|
|
315
|
-
justify-content: flex-start;
|
|
316
|
-
`,Tag=(0,external_react_namespaceObject.forwardRef)(({color:e="grey",variant:t="contained",deleteIcon:a,size:r="small",label:n,startAddon:i,endAddon:o,...s},l)=>{let c=useTheme(),p=(0,jsx_runtime_namespaceObject.jsxs)(LabelContainer,{children:[i&&(0,jsx_runtime_namespaceObject.jsx)(i,{color:getBadgeColor({variant:t,tagColor:e,theme:c})}),n,o&&(0,jsx_runtime_namespaceObject.jsx)(o,{color:getBadgeColor({variant:t,tagColor:e,theme:c})})]});return(0,jsx_runtime_namespaceObject.jsx)(StyledTag,{ref:l,customColor:e,customVariant:t,customSize:r,label:p,...s,deleteIcon:a||(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X,{})})}),getStyles=e=>`display: inline-flex;
|
|
317
|
-
justify-content: center;
|
|
318
|
-
font-size: ${e.typography.h5.fontSize};
|
|
319
|
-
vertical-align: middle;`,FormHelperTextContent_styles_Wrapper=(0,material_namespaceObject.styled)("span")`
|
|
320
|
-
display: flex;
|
|
321
|
-
|
|
322
|
-
color: ${({success:e,error:t,theme:a})=>e?a.palette.success.dark:t?a.palette.error.dark:"inherit"};
|
|
323
|
-
`,SuccessIcon=(0,material_namespaceObject.styled)(external_lucide_react_namespaceObject.CircleCheck)`
|
|
324
|
-
${({theme:e})=>getStyles(e)}
|
|
325
|
-
`,ErrorIcon=(0,material_namespaceObject.styled)(external_lucide_react_namespaceObject.OctagonAlert)`
|
|
326
|
-
${({theme:e})=>getStyles(e)}
|
|
327
|
-
`,Message=(0,material_namespaceObject.styled)("span")`
|
|
328
|
-
vertical-align: middle;
|
|
329
|
-
`,FormHelperTextContent=({success:e,error:t,children:a})=>{let r=(0,external_react_namespaceObject.useMemo)(()=>e?(0,jsx_runtime_namespaceObject.jsx)(SuccessIcon,{}):t?(0,jsx_runtime_namespaceObject.jsx)(ErrorIcon,{}):null,[e,t]);return a?(0,jsx_runtime_namespaceObject.jsxs)(FormHelperTextContent_styles_Wrapper,{error:t,success:e,children:[r,(0,jsx_runtime_namespaceObject.jsx)(Message,{children:a})]}):null},FormHelperText=({children:e,success:t,error:a,...r})=>(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.FormHelperText,{...r,children:(0,jsx_runtime_namespaceObject.jsx)(FormHelperTextContent,{error:a,success:t,children:e})}),TextField=({success:e,error:t,helperText:a,fullWidth:r=!1,startAdornment:n,endAdornment:i,slotProps:o,maxLength:s,trimmed:l=!0,onBlur:c,...p})=>{let u=(0,external_react_namespaceObject.useMemo)(()=>{if(e)return"success"},[e]),m=(0,external_react_namespaceObject.useMemo)(()=>e?(0,jsx_runtime_namespaceObject.jsx)(FormHelperTextContent,{success:!0,children:a}):t?(0,jsx_runtime_namespaceObject.jsx)(FormHelperTextContent,{error:!0,children:a}):a||(0,jsx_runtime_namespaceObject.jsx)(jsx_runtime_namespaceObject.Fragment,{}),[a,e,t]);return(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.TextField,{variant:"outlined",fullWidth:r,error:t,color:u,helperText:m,slotProps:{htmlInput:{maxLength:s},input:{startAdornment:n,endAdornment:i},...o},onBlur:e=>{if(l){let t=e.target.value?.trim();p.onChange?.({...e,target:{...e.target,value:t}})}c?.(e)},...p})},DEFAULT_AUTOCOMPLETE_ELEMENT_ROWS_COUNT=2,DEFAULT_PLACEHOLDER="Начните вводить для поиска",StyledMenuItem=(0,material_namespaceObject.styled)(MenuItem)`
|
|
330
|
-
max-height: ${({theme:e})=>e.spacing(13)};
|
|
331
|
-
|
|
332
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
333
|
-
max-height: unset;
|
|
334
|
-
}
|
|
335
|
-
`,checkIsInputEmpty=e=>Array.isArray(e)?0===e.length:!e,Autocomplete_useLogic_useLogic_useLogic=({value:e,isOptionEqualToValue:t,autoHighlight:a=!0,freeSolo:r,options:n,loading:i,isLoadedDataError:o,loadedDataError:s="Ошибка загрузки данных",noOptionsText:l="Нет данных",onInputChange:c})=>{let[p,u]=(0,external_react_namespaceObject.useState)(""),m=checkIsInputEmpty(e),d=p.length>=1,_=n.length>0;return{isValueEmpty:m,isPopperVisible:d||_||i||o,autocompleteProps:{isOptionEqualToValue:(0,external_react_namespaceObject.useCallback)((e,a)=>t?t(e,a):JSON.stringify(e)===JSON.stringify(a),[t]),autoHighlight:!r&&a,noOptionsText:o?s:l,onInputChange:(e,t,a)=>{c?.(e,t,a),i||u(t)}}}},Autocomplete=e=>{let{isValueEmpty:t,isPopperVisible:a,autocompleteProps:r}=Autocomplete_useLogic_useLogic_useLogic(e),{required:n,success:i,error:o,label:s,getOptionLabel:l,helperText:c,inputRef:p,multiple:u,size:m="medium",placeholder:d="Начните вводить для поиска",overflowOption:_,closeText:g="Закрыть",openText:x="Открыть",clearText:j="Очистить",loadingText:h=(0,jsx_runtime_namespaceObject.jsx)(CircularProgress,{color:"primary"}),isLoadedDataError:b,loadedDataError:y,noOptionsText:O,autoHighlight:C,renderInput:f,renderTags:T,renderOption:S,...w}=e,L=(0,external_react_namespaceObject.useCallback)(e=>{let a={...e,inputRef:p,required:n,placeholder:t?d:"",label:s,success:i,error:o,helperText:c,size:m};return f?f(a):(0,jsx_runtime_namespaceObject.jsx)(TextField,{...a})},[t,f,p,n,d,s,i,o,c,m]),v=(0,external_react_namespaceObject.useCallback)((e,t,a,r)=>{if(S)return S(e,t,a,r);let n=!!e["aria-selected"];return(0,external_react_namespaceObject.createElement)(StyledMenuItem,{...e,key:e.id,children:[u&&(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.ListItemIcon,{children:(0,jsx_runtime_namespaceObject.jsx)(Checkbox,{role:"menuitemcheckbox",checked:n})}),(0,jsx_runtime_namespaceObject.jsx)(OverflowTypography,{rowsCount:2,..._,children:e.key})]})},[u,_,S]),I=(0,external_react_namespaceObject.useCallback)((e,t,a)=>T?T(e,t,a):e.map((e,a)=>{let r=l?.(e)||"";return(0,external_react_namespaceObject.createElement)(Tag,{deleteIcon:(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X,{}),color:"grey",label:r,...t({index:a}),key:r})}),[l,T]),$=(0,external_react_namespaceObject.useCallback)(e=>a?(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.Popper,{...e}):null,[a]);return(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.Autocomplete,{...w,size:m,clearText:j,closeText:g,openText:x,loadingText:h,multiple:u,disableCloseOnSelect:u,clearIcon:(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X,{}),popupIcon:(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown,{}),forcePopupIcon:!0,slotProps:{clearIndicator:{disableRipple:!0},popper:{component:$}},getOptionLabel:l,renderInput:L,renderTags:I,renderOption:v,...r})},DEFAULT_MIN_SEARCH_CHARACTERS=0,DEFAULT_DELAY_MS=300,DEFAULT_EMPTY_OPTIONS_TEXT="Продолжайте вводить для поиска",DEFAULT_NO_OPTIONS_TEXT="Нет данных",AsyncAutocomplete_useLogic_useLogic_useLogic=({fetchOptions:e,fetchDelayMs:t=DEFAULT_DELAY_MS,minSymbolsToFetch:a=DEFAULT_MIN_SEARCH_CHARACTERS,defaultValue:r,getOptionLabel:n,noOptionsText:i=DEFAULT_NO_OPTIONS_TEXT,onOpen:o,onInputChange:s})=>{let[l,c]=(0,external_react_namespaceObject.useState)(!1),[p,u]=(0,external_react_namespaceObject.useState)(!0),[m,d]=(0,external_react_namespaceObject.useState)(!0),_=(0,external_react_namespaceObject.useRef)(null),[g,x]=(0,external_react_namespaceObject.useState)([]),j=(0,external_react_namespaceObject.useCallback)((0,material_namespaceObject.debounce)(t=>{_.current?.abort();let a=new AbortController;_.current=a,e(t,a?.signal).then(e=>{x(e),d(0===e.length)}).finally(()=>{c(!1),_.current=null})},t),[e,t,i]);return{handleOpen:e=>{if(p){u(!1);let e=r&&n?n(r):"";(r||0===a)&&(c(!0),j(e))}o?.(e)},handleInputChange:(e,t,r)=>{if(!t||t.length<a)return j&&j.clear(),d(!1),c(!1),x([]);c(!0),p||j(t),s?.(e,t,r)},options:g,isLoadingData:l,emptyOptionsText:m?i:"Продолжайте вводить для поиска"}},AsyncAutocomplete=e=>{let{options:t,isLoadingData:a,handleOpen:r,handleInputChange:n,emptyOptionsText:i}=AsyncAutocomplete_useLogic_useLogic_useLogic(e),{fetchOptions:o,fetchDelayMs:s,minSymbolsToFetch:l,isDisabled:c,isRequired:p,isSuccess:u,isError:m,isLoading:d,isFullWidth:_,onOpen:g,noOptionsText:x,onInputChange:j,...h}=e;return(0,jsx_runtime_namespaceObject.jsx)(Autocomplete,{options:t,disabled:c,fullWidth:_,loading:d||a,onOpen:r,error:m,required:p,success:u,noOptionsText:i,onInputChange:n,...h})},styles_getBgColor=({$customColor:e,theme:t,$variantColor:a})=>{let r={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:r[a][e]},getTextColor=({$customColor:e,theme:t,$variantColor:a})=>{let r={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"===a?t.palette.common.white:r[e||"default"]},StyledBadge=(0,material_namespaceObject.styled)(material_namespaceObject.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:a})=>getTextColor({$customColor:e,theme:t,$variantColor:a})};
|
|
343
|
-
|
|
344
|
-
background-color: ${({$customColor:e,theme:t,$variantColor:a})=>styles_getBgColor({$customColor:e,theme:t,$variantColor:a})};
|
|
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
|
-
`,Badge=({children:e,color:t,max:a=99,withBorder:r=!0,variantColor:n="contained",...i})=>(0,jsx_runtime_namespaceObject.jsx)(StyledBadge,{$customColor:t,max:a,$withBorder:r,$variantColor:n,...i,children:e}),FormControl=e=>(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.FormControl,{...e}),StyledFormControlLabel=(0,material_namespaceObject.styled)(material_namespaceObject.FormControlLabel)`
|
|
356
|
-
margin-right: 0;
|
|
357
|
-
margin-left: -5px;
|
|
358
|
-
|
|
359
|
-
& .MuiFormControlLabel-label {
|
|
360
|
-
margin-left: ${({theme:e})=>e.spacing(1)};
|
|
361
|
-
}
|
|
362
|
-
`,FormControlLabel=e=>(0,jsx_runtime_namespaceObject.jsx)(StyledFormControlLabel,{...e}),StyledFormControlledLabel=(0,material_namespaceObject.styled)(FormControlLabel)`
|
|
363
|
-
align-items: flex-start;
|
|
364
|
-
`,styles_StyledCheckbox=(0,material_namespaceObject.styled)(Checkbox)`
|
|
365
|
-
padding-top: 3px;
|
|
366
|
-
`,CheckboxField=({isSuccess:e,helperText:t,hideHelperText:a=!1,label:r,isError:n,...i})=>{let o=(0,external_react_namespaceObject.useMemo)(()=>!!(n&&a),[n,a]);return(0,jsx_runtime_namespaceObject.jsxs)(FormControl,{children:[(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{title:o&&t,placement:"bottom-start",withoutContainer:!1,children:(0,jsx_runtime_namespaceObject.jsx)(StyledFormControlledLabel,{control:(0,jsx_runtime_namespaceObject.jsx)(styles_StyledCheckbox,{isError:n,...i}),label:r})}),!a&&(0,jsx_runtime_namespaceObject.jsx)(FormHelperText,{error:n,success:e,children:t})]})},imagesMapDefault={noDataImgSrc:"",defaultErrorImgSrc:"",outdatedReleaseErrorImgSrc:"",mailImgSrc:""},techSupDefault={phone:"",email:""},defaultHidePersonalDataClassname="ym-hide-content",ConfigContext=(0,external_react_namespaceObject.createContext)({language:"ru",captureException:e=>console.error(e),imagesMap:imagesMapDefault,techSup:techSupDefault,emptySymbol:"—",hidePersonalDataClassname:defaultHidePersonalDataClassname,hidePersonalData:!0}),ConfigProvider=({children:e,language:t="ru",captureException:a,emptySymbol:r="—",imagesMap:n=imagesMapDefault,techSup:i=techSupDefault,hidePersonalData:o=!0,hidePersonalDataClassname:s=defaultHidePersonalDataClassname,components:l})=>((0,external_react_namespaceObject.useEffect)(()=>{a||console.warn("ConfigProvider: Необходимо наличие captureException, связанного с сервисом мониторинга ошибок.\nНа данный момент все ошибки, отлавливаемые в ErrorBoundary будут выводиться только в консоль")},[]),(0,jsx_runtime_namespaceObject.jsx)(ConfigContext.Provider,{value:{language:t,captureException:a||(e=>console.error(e)),emptySymbol:r,imagesMap:n,techSup:i,hidePersonalData:o,hidePersonalDataClassname:s,components:l},children:e})),Popover=({children:e,onClose:t,open:a,title:r,...n})=>{let{isMobile:i}=useViewportType();return i?(0,jsx_runtime_namespaceObject.jsx)(BottomDrawer,{title:r,onClose:t,open:a,children:e}):(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.Popover,{open:a,onClose:t,...n,children:e})},DEFAULT_ANCHOR_ORIGIN={vertical:"bottom",horizontal:"right"},DEFAULT_TRANSFORM_ORIGIN={vertical:"top",horizontal:"right"},ConfirmAction_styles_Wrapper=(0,material_namespaceObject.styled)("div")`
|
|
367
|
-
max-width: 380px;
|
|
368
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
369
|
-
`,styles_StyledTypography=(0,material_namespaceObject.styled)(Typography)`
|
|
370
|
-
margin-bottom: ${({theme:e})=>e.spacing(3)};
|
|
371
|
-
`,styles_Actions=(0,material_namespaceObject.styled)("div")`
|
|
372
|
-
display: flex;
|
|
373
|
-
gap: ${({theme:e})=>e.spacing(3)};
|
|
374
|
-
justify-content: end;
|
|
375
|
-
`,ConfirmAction_useLogic_useLogic_useLogic=({confirmButtonProps:e,onConfirm:t})=>{let{isOpen:a,anchor:r,actions:n}=usePopover(),{isAccented:i}=e||{},o=i?enums_ButtonVariants.Light:enums_ButtonVariants.Contained,s=i?enums_ButtonColors.Error:enums_ButtonColors.Primary;return{actionComponentProps:{onClick:n.open},popoverProps:{open:a,anchorEl:r,onClose:n.close},cancelButtonProps:{onClick:n.close},confirmButtonProps:{variant:o,color:s,onClick:()=>{t(),n.close()}}}},ConfirmAction=e=>{let{actionComponentProps:t,popoverProps:a,cancelButtonProps:r,confirmButtonProps:n}=ConfirmAction_useLogic_useLogic_useLogic(e),{text:i,confirmButtonProps:o,popoverProps:s,actionComponent:l}=e,{text:c="Подтвердить"}=o||{},{anchorOrigin:p=DEFAULT_ANCHOR_ORIGIN,transformOrigin:u=DEFAULT_TRANSFORM_ORIGIN}=s||{};return(0,jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment,{children:[l(t),(0,jsx_runtime_namespaceObject.jsx)(Popover,{anchorOrigin:p,transformOrigin:u,...a,children:(0,jsx_runtime_namespaceObject.jsxs)(ConfirmAction_styles_Wrapper,{children:[i&&(0,jsx_runtime_namespaceObject.jsx)(styles_StyledTypography,{children:i}),(0,jsx_runtime_namespaceObject.jsxs)(styles_Actions,{children:[(0,jsx_runtime_namespaceObject.jsx)(Button,{variant:"text",...r,children:"Отмена"}),(0,jsx_runtime_namespaceObject.jsx)(Button,{...n,children:c})]})]})})]})},SIZE={Small:"small",Medium:"medium",Large:"large"},IMAGE_WIDTH={[SIZE.Small]:"239px",[SIZE.Medium]:"323px",[SIZE.Large]:"458px"},IMAGE_HEIGHT={[SIZE.Small]:"119px",[SIZE.Medium]:"161px",[SIZE.Large]:"229px"},MAX_INNER_WIDTH={[SIZE.Small]:"384px",[SIZE.Medium]:"400px",[SIZE.Large]:"460px"},TITLE_HEADER_LEVEL={[SIZE.Small]:"h5",[SIZE.Medium]:"h4",[SIZE.Large]:"h3"},Image_styles_Wrapper=(0,material_namespaceObject.styled)("img",{shouldForwardProp:e=>"size"!==e})`
|
|
376
|
-
display: block;
|
|
377
|
-
|
|
378
|
-
width: ${({width:e})=>e||"auto"};
|
|
379
|
-
max-width: 100%;
|
|
380
|
-
height: ${({height:e})=>e||"auto"};
|
|
381
|
-
margin: auto auto
|
|
382
|
-
${({theme:e,size:t})=>t===SIZE.Small?e.spacing(4):e.spacing(6)};
|
|
383
|
-
|
|
384
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
385
|
-
|
|
386
|
-
object-fit: contain;
|
|
387
|
-
|
|
388
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
389
|
-
margin: auto auto ${({theme:e})=>e.spacing(8)};
|
|
390
|
-
}
|
|
391
|
-
`,Image=Image_styles_Wrapper,setDefaultImageStyles=Image_styles_Wrapper.withComponent,shouldForwardProp=e=>"$size"!==e,Placeholder_styles_Wrapper=(0,material_namespaceObject.styled)("div",{shouldForwardProp})`
|
|
392
|
-
display: flex;
|
|
393
|
-
flex-direction: column;
|
|
394
|
-
gap: ${({theme:e,$size:t})=>t===SIZE.Small?e.spacing(4):e.spacing(6)};
|
|
395
|
-
align-items: center;
|
|
396
|
-
justify-content: center;
|
|
397
|
-
|
|
398
|
-
width: 100%;
|
|
399
|
-
height: 100%;
|
|
400
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
401
|
-
|
|
402
|
-
background-color: ${({theme:e})=>e.palette.background.paper};
|
|
403
|
-
|
|
404
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
405
|
-
display: grid;
|
|
406
|
-
grid-template-columns: 100%;
|
|
407
|
-
grid-template-rows: 1fr max-content;
|
|
408
|
-
gap: ${({theme:e})=>e.spacing(4)};
|
|
409
|
-
}
|
|
410
|
-
`,InnerContainer=(0,material_namespaceObject.styled)("div",{shouldForwardProp})`
|
|
411
|
-
max-width: ${({$size:e})=>MAX_INNER_WIDTH[e]};
|
|
412
|
-
margin: 0 auto;
|
|
413
|
-
`,Title=(0,material_namespaceObject.styled)(Typography,{shouldForwardProp})`
|
|
414
|
-
margin-bottom: ${({theme:e,$size:t})=>t===SIZE.Small?e.spacing(2):e.spacing(4)};
|
|
415
|
-
|
|
416
|
-
text-align: center;
|
|
417
|
-
|
|
418
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
419
|
-
margin-bottom: ${({theme:e})=>e.spacing(4)};
|
|
420
|
-
|
|
421
|
-
font-size: ${({theme:e})=>e.typography.pxToRem(20)};
|
|
422
|
-
font-weight: ${({theme:e})=>e.typography.fontWeightMedium};
|
|
423
|
-
color: ${({theme:e})=>e.palette.text.secondary};
|
|
424
|
-
}
|
|
425
|
-
`,Description=(0,material_namespaceObject.styled)(Typography,{shouldForwardProp})`
|
|
426
|
-
display: block;
|
|
427
|
-
|
|
428
|
-
font-size: ${({$size:e,theme:t})=>e===SIZE.Large?t.typography.pxToRem(16):t.typography.body1.fontSize};
|
|
429
|
-
text-align: center;
|
|
430
|
-
|
|
431
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
432
|
-
font-size: ${({theme:e})=>e.typography.body1.fontSize};
|
|
433
|
-
color: ${({theme:e})=>e.palette.text.secondary};
|
|
434
|
-
}
|
|
435
|
-
`,Footer=(0,material_namespaceObject.styled)("footer")`
|
|
436
|
-
display: flex;
|
|
437
|
-
flex-wrap: wrap;
|
|
438
|
-
gap: ${({theme:e})=>e.spacing(2)};
|
|
439
|
-
justify-content: center;
|
|
440
|
-
|
|
441
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
442
|
-
|
|
443
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
444
|
-
flex-direction: column;
|
|
445
|
-
gap: ${({theme:e})=>e.spacing(3)};
|
|
446
|
-
|
|
447
|
-
margin-top: auto;
|
|
448
|
-
}
|
|
449
|
-
`,Placeholder=({className:e,title:t,imgSrc:a,imgAlt:r,description:n,Actions:i,size:o="small",imgWidth:s,renderImage:l})=>{let c=(0,external_react_namespaceObject.useContext)(ConfigContext),p=c.components?.placeholder?.defaultProps?.renderImage,u=(0,external_react_namespaceObject.useMemo)(()=>l&&setDefaultImageStyles(l)||p&&setDefaultImageStyles(p)||Image,[l,p]);return(0,jsx_runtime_namespaceObject.jsxs)(Placeholder_styles_Wrapper,{$size:o,className:e,children:[(0,jsx_runtime_namespaceObject.jsxs)(InnerContainer,{$size:o,children:[a&&(0,jsx_runtime_namespaceObject.jsx)(u,{src:a,alt:r,width:s||IMAGE_WIDTH[o],height:s?"auto":IMAGE_HEIGHT[o],size:o}),(0,jsx_runtime_namespaceObject.jsx)(Title,{$size:o,variant:TITLE_HEADER_LEVEL[o],children:t}),n&&(0,jsx_runtime_namespaceObject.jsx)(Description,{$size:o,component:"div",variant:"body1",children:n})]}),i&&(0,jsx_runtime_namespaceObject.jsx)(Footer,{children:i})]})},InternalErrorPlaceholder=()=>{let{imagesMap:e,techSup:t}=(0,external_react_namespaceObject.useContext)(ConfigContext);return(0,jsx_runtime_namespaceObject.jsx)(Placeholder,{title:"Произошла непредвиденная ошибка",description:(0,jsx_runtime_namespaceObject.jsxs)("div",{children:[(0,jsx_runtime_namespaceObject.jsx)(Typography,{children:"Пожалуйста, попробуйте обновить страницу или обратитесь в техническую поддержку:"}),(0,jsx_runtime_namespaceObject.jsxs)(Typography,{children:["email\xa0",(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.Link,{href:`mailto:${t.email}`,children:t.email}),", телефон\xa0",(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.Link,{href:`tel:${t.phone}`,children:t.phone})]})]}),imgAlt:"Непредвиденная ошибка",imgSrc:e.defaultErrorImgSrc,imgWidth:"324px",Actions:(0,jsx_runtime_namespaceObject.jsx)(Button,{onClick:()=>{location.reload()},children:"Обновить страницу"})})},OutdatedReleasePlaceholder=()=>{let{imagesMap:e}=(0,external_react_namespaceObject.useContext)(ConfigContext);return(0,jsx_runtime_namespaceObject.jsx)(Placeholder,{title:"Обновление в сервисе",description:(0,jsx_runtime_namespaceObject.jsx)(Typography,{component:"p",children:"Наши специалисты работают над улучшением качества продукта. Для загрузки обновлений, пожалуйста, обновите страницу."}),imgAlt:"Обновление в сервисе",imgSrc:e.outdatedReleaseErrorImgSrc,imgWidth:"324px",Actions:(0,jsx_runtime_namespaceObject.jsx)(Button,{onClick:()=>{location.reload()},children:"Обновить страницу"})})};var enums_ErrorType=function(e){return e.OutdatedRelease="outdatedRelease",e.Default="default",e}({});let CONDITION_TYPE_ERROR=[{type:enums_ErrorType.OutdatedRelease,condition:e=>"ChunkLoadError"===e.name||e.message.includes("Failed to fetch dynamically imported module")},{type:enums_ErrorType.Default,condition:()=>!0}],PLACEHOLDER_TYPE_ERROR={[enums_ErrorType.OutdatedRelease]:(0,jsx_runtime_namespaceObject.jsx)(OutdatedReleasePlaceholder,{}),[enums_ErrorType.Default]:(0,jsx_runtime_namespaceObject.jsx)(InternalErrorPlaceholder,{})};class ErrorBoundary extends external_react_default().Component{static contextType=ConfigContext;context;state={hasError:!1,typeError:enums_ErrorType.Default};static getDerivedStateFromError(e){return{hasError:!0,typeError:CONDITION_TYPE_ERROR.find(({condition:t})=>t(e))?.type??enums_ErrorType.Default}}componentDidCatch(e){this.context.captureException(e)}render(){return this.state.hasError?PLACEHOLDER_TYPE_ERROR[this.state.typeError]:this.props.children}}let LoadingContainer=(0,material_namespaceObject.styled)("div")`
|
|
450
|
-
display: flex;
|
|
451
|
-
flex-grow: 1;
|
|
452
|
-
align-items: center;
|
|
453
|
-
justify-content: center;
|
|
454
|
-
|
|
455
|
-
width: 100%;
|
|
456
|
-
height: 100%;
|
|
457
|
-
`,ContentState=({isLoading:e,isError:t,isCustom:a,errorState:r,customState:n,children:i,loadingContent:o=(0,jsx_runtime_namespaceObject.jsx)(CircularProgress,{color:"primary"})})=>{let{imagesMap:s}=(0,external_react_namespaceObject.useContext)(ConfigContext);if(e)return(0,jsx_runtime_namespaceObject.jsx)(LoadingContainer,{children:o});if(a&&n)return(0,jsx_runtime_namespaceObject.jsx)(Placeholder,{...n});if(t&&r){let{title:e="Произошла ошибка",imgAlt:t,imgSrc:a=s.defaultErrorImgSrc,errorList:n,onRetry:i,actions:o=(0,jsx_runtime_namespaceObject.jsx)(Button,{onClick:i,children:"Попробовать снова"})}=r,l=n.map(e=>(0,jsx_runtime_namespaceObject.jsx)(Typography,{component:"p",children:e},e));return(0,jsx_runtime_namespaceObject.jsx)(Placeholder,{title:e,description:l,imgAlt:t,imgSrc:a,Actions:o})}return(0,jsx_runtime_namespaceObject.jsx)(ErrorBoundary,{children:i})},CopyTypography_styles_Wrapper=(0,material_namespaceObject.styled)(Typography)`
|
|
458
|
-
cursor: pointer;
|
|
459
|
-
|
|
460
|
-
display: flex;
|
|
461
|
-
align-items: center;
|
|
462
|
-
|
|
463
|
-
&:hover {
|
|
464
|
-
text-decoration: underline;
|
|
465
|
-
}
|
|
466
|
-
`,StyledCopyIcon=(0,material_namespaceObject.styled)(external_lucide_react_namespaceObject.Copy,{shouldForwardProp:e=>!["$copyPosition"].includes(e.toString())})`
|
|
467
|
-
margin-right: ${({$copyPosition:e,theme:t})=>"left"===e?t.spacing(1):""};
|
|
468
|
-
margin-left: ${({$copyPosition:e,theme:t})=>"right"===e?t.spacing(1):""};
|
|
469
|
-
|
|
470
|
-
/* Задаем размер иконки */
|
|
471
|
-
font-size: 16px;
|
|
472
|
-
|
|
473
|
-
fill: ${({color:e})=>e};
|
|
474
|
-
`;var enums_CopyStatus=function(e){return e.Copied="Скопировано",e.Error="Ошибка копирования",e.CanCopy="Скопировать",e}({});let CopyTypography_useLogic_useLogic_useLogic=({children:e,copyText:t,isShowCopyText:a,copyPosition:r})=>{let[n,i]=(0,external_react_namespaceObject.useState)(enums_CopyStatus.CanCopy);return{handleMouseLeave:()=>{n!==enums_CopyStatus.CanCopy&&setTimeout(()=>{i(enums_CopyStatus.CanCopy)},100)},handleClick:a=>{a.stopPropagation(),navigator.clipboard.writeText(t||("string"==typeof e?e:"")).then(()=>i(enums_CopyStatus.Copied)).catch(()=>i(enums_CopyStatus.Error))},tooltipTitle:a?`${n}: ${t}`:n,isIconOnLeft:"left"===r}},CopyTypography=e=>{let{children:t,copyPosition:a="right",copyText:r,isShowCopyText:n,color:i,...o}=e,s=()=>(0,jsx_runtime_namespaceObject.jsx)(StyledCopyIcon,{$copyPosition:a,color:i}),{handleMouseLeave:l,handleClick:c,tooltipTitle:p,isIconOnLeft:u}=CopyTypography_useLogic_useLogic_useLogic(e);return(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{title:p,disableInteractive:!0,placement:"bottom",children:(0,jsx_runtime_namespaceObject.jsxs)(CopyTypography_styles_Wrapper,{onMouseLeave:l,onClick:c,component:"div",color:i,...o,children:[u&&s(),t,!u&&s()]})})},DISABLE_ROW_ATTR="data-row-disable",HIDDEN_CHILDREN_ROW_CLASSNAME="astral-ui_datagrid_row_hidden",MIN_ROW_HEIGHT=44,ROOT_ACTION_CELL_WIDTH=32,TREE_LINE_WIDTH=ROOT_ACTION_CELL_WIDTH/2,MIN_DISPLAY_ROWS_BY_DEFAULT=10,EXPANDED_LEVEL_BY_DEFAULT=1,INITIAL_OPENED_NESTED_CHILDREN_COUNT_BY_DEFAULT=2,NestedRows=(0,material_namespaceObject.styled)("ul",{shouldForwardProp:e=>!["$level","$isShowConnector"].includes(e.toString())})`
|
|
475
|
-
position: relative;
|
|
476
|
-
|
|
477
|
-
margin: 0;
|
|
478
|
-
padding: 0;
|
|
479
|
-
|
|
480
|
-
list-style: none;
|
|
481
|
-
|
|
482
|
-
&::before {
|
|
483
|
-
content: '';
|
|
484
|
-
|
|
485
|
-
position: absolute;
|
|
486
|
-
z-index: 2;
|
|
487
|
-
top: 0;
|
|
488
|
-
transform: ${({$level:e})=>`translateX(calc(${ROOT_ACTION_CELL_WIDTH}px * ${e} - ${TREE_LINE_WIDTH}px))`};
|
|
489
|
-
|
|
490
|
-
display: ${({$isShowConnector:e})=>e?"block":"none"};
|
|
491
|
-
|
|
492
|
-
width: 0;
|
|
493
|
-
height: 100%;
|
|
494
|
-
|
|
495
|
-
border-left: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
496
|
-
}
|
|
497
|
-
`,MoreButtonRow=(0,material_namespaceObject.styled)("li",{shouldForwardProp:e=>!["$level","$isShowConnector","$gridColumns"].includes(e.toString())})`
|
|
498
|
-
position: relative;
|
|
499
|
-
|
|
500
|
-
display: grid;
|
|
501
|
-
grid-template-columns: ${({$gridColumns:e})=>e};
|
|
502
|
-
|
|
503
|
-
height: 36px;
|
|
504
|
-
margin-left: ${({$level:e})=>`${e*ROOT_ACTION_CELL_WIDTH}px`};
|
|
505
|
-
|
|
506
|
-
&::before {
|
|
507
|
-
content: '';
|
|
508
|
-
|
|
509
|
-
position: absolute;
|
|
510
|
-
top: 0;
|
|
511
|
-
left: -${TREE_LINE_WIDTH}px;
|
|
512
|
-
|
|
513
|
-
display: ${({$isShowConnector:e})=>e?"block":"none"};
|
|
514
|
-
|
|
515
|
-
width: ${TREE_LINE_WIDTH}px;
|
|
516
|
-
height: 50%;
|
|
517
|
-
|
|
518
|
-
border-bottom: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
519
|
-
border-left: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
520
|
-
border-radius: 0 0 0 ${({theme:e})=>e.shape.small};
|
|
521
|
-
}
|
|
522
|
-
`,MoreButton=(0,material_namespaceObject.styled)(Button,{shouldForwardProp:e=>!["$moreButtonColumnPosition"].includes(e.toString())})`
|
|
523
|
-
grid-column: ${({$moreButtonColumnPosition:e})=>e};
|
|
524
|
-
justify-self: start;
|
|
525
|
-
|
|
526
|
-
margin: ${({theme:e})=>e.spacing(0,2)};
|
|
527
|
-
`,DataGridContext=(0,external_react_namespaceObject.createContext)({checkIsOpened:()=>!1,checkIsMoreOpened:()=>!1,toggleOpenItems:()=>{},toggleOpenMoreItems:()=>{}}),ROW_FLAGS_BY_DEFAULT={isOpenedItems:!0,iOpenedMoreItems:!1},DataGridContextProvider=({children:e})=>{let[t,a]=(0,external_react_namespaceObject.useState)({}),r=e=>!!t[e],n=e=>!!t[e]&&t[e].iOpenedMoreItems;return(0,jsx_runtime_namespaceObject.jsx)(DataGridContext.Provider,{value:{checkIsOpened:r,checkIsMoreOpened:n,toggleOpenItems:e=>a(t=>{if(r(e)){let a={...t};return delete a[e],a}return{...t,[e]:ROW_FLAGS_BY_DEFAULT}}),toggleOpenMoreItems:e=>a(t=>{if(n(e)){let a={...t};return a[e]=ROW_FLAGS_BY_DEFAULT,a}return{...t,[e]:{...ROW_FLAGS_BY_DEFAULT,iOpenedMoreItems:!0}}})},children:e})};var enums_SortStates=function(e){return e.ASC="asc",e.DESC="desc",e}({}),enums_Variant=function(e){return e.Tree="tree",e.Subrows="subrows",e}({});let NestedChildren_useLogic_useLogic_useLogic=({rowId:e,data:t,level:a,variant:r,initialVisibleChildrenCount:n})=>{let{checkIsMoreOpened:i,toggleOpenMoreItems:o}=(0,external_react_namespaceObject.useContext)(DataGridContext),s=Object.is(r,enums_Variant.Tree),l=t?.slice(0,n),c=t?.slice(n),p=i(e);return{isShowAllChildren:p,isShowMoreButton:!!c?.length,isShowConnector:s,initialVisibleChildren:l,otherChildren:c,nextLevel:s?a+1:0,handleToggleShowAllChildren:t=>{t.stopPropagation(),o(e)}}},NestedChildren=(0,external_react_namespaceObject.memo)(e=>{let{isShowAllChildren:t,isShowMoreButton:a,isShowConnector:r,nextLevel:n,initialVisibleChildren:i,otherChildren:o,handleToggleShowAllChildren:s}=NestedChildren_useLogic_useLogic_useLogic(e),{isOpen:l,data:c,keyId:p,level:u,gridColumns:m,moreButtonColumnPosition:d,renderRow:_}=e;return c&&c.length?(0,jsx_runtime_namespaceObject.jsx)(Collapse,{in:l,unmountOnExit:!0,children:(0,jsx_runtime_namespaceObject.jsxs)(NestedRows,{$level:u,$isShowConnector:r,children:[i.map(({children:e,options:t,...a})=>_({key:a[p],row:a,options:t,nestedChildren:e,level:n})),l&&(0,jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment,{children:[(0,jsx_runtime_namespaceObject.jsx)(Collapse,{in:t,component:"li",unmountOnExit:!0,children:(0,jsx_runtime_namespaceObject.jsx)(NestedRows,{$level:u,$isShowConnector:r,children:o.map(({children:e,options:t,...a})=>_({key:a[p],row:a,options:t,nestedChildren:e,level:n,className:HIDDEN_CHILDREN_ROW_CLASSNAME}))})}),a&&(0,jsx_runtime_namespaceObject.jsx)(MoreButtonRow,{$level:n,$isShowConnector:r,$gridColumns:m,children:(0,jsx_runtime_namespaceObject.jsx)(MoreButton,{$moreButtonColumnPosition:d,variant:"link",onClick:s,children:t?"Скрыть":"Показать все"})})]})]})}):null}),DEFAULT_JUSTIFY_CONTENT="start",ALIGN_TO_JUSTIFY_CONTENT_MAP={left:"start",center:"center",right:"end"},alignToJustifyContent=e=>e&&ALIGN_TO_JUSTIFY_CONTENT_MAP[e]||"start",Cell_styles_Wrapper=(0,material_namespaceObject.styled)("div",{shouldForwardProp:e=>!["$align","$isDisabled","$hasStartAdornment"].includes(e.toString())})`
|
|
528
|
-
overflow: hidden;
|
|
529
|
-
display: flex;
|
|
530
|
-
align-items: center;
|
|
531
|
-
justify-content: ${({$align:e})=>alignToJustifyContent(e)};
|
|
532
|
-
|
|
533
|
-
min-height: ${MIN_ROW_HEIGHT}px;
|
|
534
|
-
padding: ${({theme:e,$hasStartAdornment:t})=>t?e.spacing(1,2,1,0):e.spacing(1,2)};
|
|
535
|
-
|
|
536
|
-
opacity: ${({$isDisabled:e})=>e?.5:1};
|
|
537
|
-
`,Cell_useLogic_useLogic_useLogic=({row:e,cell:t,emptyCellValue:a,startAdornment:r})=>{let{format:n,field:i}=t,o=e=>!!e||0===e;return{formattedValue:(0,external_react_namespaceObject.useMemo)(()=>n&&o(n(e))?n(e):i&&o(e[i])?e[i]:a,[i,n,e,a]),hasStartAdornment:!!r}},Cell=e=>{let{formattedValue:t,hasStartAdornment:a}=Cell_useLogic_useLogic_useLogic(e),{className:r,startAdornment:n,row:i,cell:o,isDisabled:s}=e,{renderCell:l,align:c="left"}=o;return(0,jsx_runtime_namespaceObject.jsxs)(Cell_styles_Wrapper,{$isDisabled:s,$align:c,$hasStartAdornment:a,className:r,inert:!!s||void 0,children:[n&&n,l?.(i),!l&&(0,jsx_runtime_namespaceObject.jsx)(OverflowTypography,{rowsCount:2,children:t})]})},Row_styles_Wrapper=(0,material_namespaceObject.styled)("li")`
|
|
538
|
-
position: relative;
|
|
539
|
-
|
|
540
|
-
&:not(:last-of-type)::before,
|
|
541
|
-
&.${HIDDEN_CHILDREN_ROW_CLASSNAME}::before {
|
|
542
|
-
content: '';
|
|
543
|
-
|
|
544
|
-
position: absolute;
|
|
545
|
-
z-index: 1;
|
|
546
|
-
top: 0;
|
|
547
|
-
transform: ${({$level:e})=>`translateX(calc(${ROOT_ACTION_CELL_WIDTH}px * ${e} - ${TREE_LINE_WIDTH}px))`};
|
|
548
|
-
|
|
549
|
-
display: ${({$isShowConnector:e})=>e?"block":"none"};
|
|
550
|
-
|
|
551
|
-
width: 0;
|
|
552
|
-
height: 100%;
|
|
553
|
-
|
|
554
|
-
border-left: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
555
|
-
}
|
|
556
|
-
`,Row_styles_ContentWrapper=(0,material_namespaceObject.styled)("div")`
|
|
557
|
-
position: relative;
|
|
558
|
-
|
|
559
|
-
display: grid;
|
|
560
|
-
grid-template-columns: ${({$gridColumns:e})=>e};
|
|
561
|
-
|
|
562
|
-
background-color: ${({theme:e,$isSelected:t})=>t?e.palette.primary[100]:"transparent"};
|
|
563
|
-
|
|
564
|
-
transition: ${({theme:e})=>e.transitions.create(["background-color"],{duration:e.transitions.duration.short})};
|
|
565
|
-
|
|
566
|
-
&::before {
|
|
567
|
-
content: '';
|
|
568
|
-
|
|
569
|
-
position: absolute;
|
|
570
|
-
top: 0;
|
|
571
|
-
transform: ${({$level:e})=>`translateX(calc(${ROOT_ACTION_CELL_WIDTH}px * ${e} - ${TREE_LINE_WIDTH}px))`};
|
|
572
|
-
|
|
573
|
-
display: ${({$isShowConnector:e})=>e?"block":"none"};
|
|
574
|
-
|
|
575
|
-
width: ${TREE_LINE_WIDTH}px;
|
|
576
|
-
height: 50%;
|
|
577
|
-
|
|
578
|
-
border-bottom: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
579
|
-
border-left: 1px solid ${({theme:e})=>e.palette.grey[400]};
|
|
580
|
-
border-radius: 0 0 0 ${({theme:e})=>e.shape.small};
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
&:hover {
|
|
584
|
-
cursor: ${({$isHovered:e})=>e?"pointer":"default"};
|
|
585
|
-
|
|
586
|
-
background-color: ${({theme:e,$isHovered:t})=>t?e.palette.background.elementHover:"transparent"};
|
|
587
|
-
}
|
|
588
|
-
`,CellStyled=(0,material_namespaceObject.styled)(Cell)`
|
|
589
|
-
margin-left: ${({$level:e})=>`${e*ROOT_ACTION_CELL_WIDTH}px`};
|
|
590
|
-
`,CheckboxCell=(0,material_namespaceObject.styled)("div")`
|
|
591
|
-
display: flex;
|
|
592
|
-
align-items: center;
|
|
593
|
-
align-self: center;
|
|
594
|
-
justify-content: center;
|
|
595
|
-
|
|
596
|
-
width: ${ROOT_ACTION_CELL_WIDTH}px;
|
|
597
|
-
`,CollapseCell=(0,material_namespaceObject.styled)("div")`
|
|
598
|
-
display: flex;
|
|
599
|
-
align-items: center;
|
|
600
|
-
justify-content: center;
|
|
601
|
-
|
|
602
|
-
width: ${ROOT_ACTION_CELL_WIDTH}px;
|
|
603
|
-
`,CollapseButton=(0,material_namespaceObject.styled)(IconButton)`
|
|
604
|
-
width: 24px;
|
|
605
|
-
height: 24px;
|
|
606
|
-
|
|
607
|
-
color: inherit;
|
|
608
|
-
|
|
609
|
-
&:hover {
|
|
610
|
-
background-color: ${({theme:e})=>e.palette.grey[300]};
|
|
611
|
-
}
|
|
612
|
-
`,styles_ChevronIcon=(0,material_namespaceObject.styled)(external_lucide_react_namespaceObject.ChevronRight,{shouldForwardProp:e=>"$isActive"!==e})`
|
|
613
|
-
transform: rotateZ(${({$isActive:e})=>90*!!e}deg);
|
|
614
|
-
|
|
615
|
-
transition: ${({theme:e})=>e.transitions.create("transform",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.short})};
|
|
616
|
-
`,RowContext=(0,external_react_namespaceObject.createContext)({isDisabled:!1,addDisabledRow:()=>{},removeDisabledRow:()=>{}}),RowContextProvider=({children:e})=>{let[t,a]=(0,external_react_namespaceObject.useState)(!1),[r,n]=(0,external_react_namespaceObject.useState)();return(0,jsx_runtime_namespaceObject.jsx)(RowContext.Provider,{value:{isDisabled:t,disabledReason:r,addDisabledRow:e=>{a(!0),n(e)},removeDisabledRow:()=>{a(!1),n(void 0)}},children:e})},getColumnsMap=e=>e.reduce((e,{field:t,...a})=>t?{...e,[t]:a}:e,{}),mergeColumnsOptions=(e,t)=>{if(!t)return e;let a=getColumnsMap(t);return Object.keys(a).length?e.map(e=>e.hasOwnProperty("field")?{...e,...a[e.field]||{}}:e):e},Row_useLogic_useLogic_useLogic=({keyId:e,columns:t,row:a,nestedChildren:r,level:n,variant:i,activeRowId:o,options:s,isInitialExpanded:l=!1,expandedLevel:c,isSelectable:p,selectedRows:u,onSelectRow:m,onRowClick:d,isVisibleCollapseButton:_})=>{let g=l&&n<=c-1&&r?.length,{checkIsOpened:x,toggleOpenItems:j}=(0,external_react_namespaceObject.useContext)(DataGridContext),{isDisabled:h,disabledReason:b}=(0,external_react_namespaceObject.useContext)(RowContext),[y,O]=(0,external_react_namespaceObject.useState)(!1),C=a[e],{isDisabled:f,disabledReason:T}=s||{},S=h||f,w=x(C);(0,external_react_namespaceObject.useEffect)(()=>{g&&!w&&j(C)},[]);let L=p&&!!u?.find(t=>t[e]===C),v=Object.is(i,enums_Variant.Tree);return{isOpen:w,isShowConnector:v,childrenColumns:(0,external_react_namespaceObject.useMemo)(()=>mergeColumnsOptions(t,s?.childrenColumns),[t,s]),rowId:C,disabled:S,isRenderCollapseButton:!!r?.length&&_,handleToggle:e=>{e.stopPropagation(),j(C)},rowProps:{$isHovered:!!(!S&&d),$isSelected:o===C,onClick:()=>{!S&&d?.(a)},onMouseMove:e=>{S&&"true"!==e.target.getAttribute(DISABLE_ROW_ATTR)&&O(!1)}},tooltipProps:{open:y,title:S?T||b:void 0,onOpen:e=>{"true"===e.target.getAttribute(DISABLE_ROW_ATTR)&&O(!0)},onClose:()=>O(!1)},checkboxProps:{checked:L,disabled:S,onChange:m(a)},nestedChildrenProps:{isOpen:w,rowId:C}}},checkIsDisabled=(e,t,a)=>!!e&&(!t||!t.includes(a)),Row=e=>{let{isOpen:t,isShowConnector:a,childrenColumns:r,rowId:n,handleToggle:i,checkboxProps:o,rowProps:s,tooltipProps:l,nestedChildrenProps:c,disabled:p,isRenderCollapseButton:u}=Row_useLogic_useLogic_useLogic(e),{className:m,row:d,options:_,variant:g,isSelectable:x,gridColumns:j,isInitialExpanded:h,expandedLevel:b,level:y,nestedChildren:O,initialVisibleChildrenCount:C,moreButtonColumnPosition:f,isVisibleCollapseButton:T,columns:S,emptyCellValue:w,selectedRows:L,activeRowId:v,keyId:I,onSelectRow:$,onRowClick:M,...E}=e,{isDisabledLastCell:D=!0,isNotSelectable:k}=_||{},A=()=>u||x&&!k?(0,jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment,{children:[u&&(0,jsx_runtime_namespaceObject.jsx)(CollapseCell,{children:(0,jsx_runtime_namespaceObject.jsx)(CollapseButton,{variant:"text",onClick:i,children:(0,jsx_runtime_namespaceObject.jsx)(styles_ChevronIcon,{$isActive:t})})}),x&&!k&&(0,jsx_runtime_namespaceObject.jsx)(CheckboxCell,{inert:!!p||void 0,onClick:e=>e.stopPropagation(),children:(0,jsx_runtime_namespaceObject.jsx)(Checkbox,{...o})})]}):null,B=(0,external_react_namespaceObject.useCallback)(()=>{let e=D?void 0:[S.length-1];return S?.map((t,a)=>{let r=`${n}-${a}`,i=checkIsDisabled(p,e,a),o=!a;return jsx_runtime_namespaceObject.jsx(CellStyled,{$level:o?y:0,row:d,cell:t,emptyCellValue:w,startAdornment:o&&A(),isDisabled:i},r)})},[t,S,p]),P=(0,external_react_namespaceObject.useCallback)(({key:e,...t})=>(0,jsx_runtime_namespaceObject.jsx)(Row,{keyId:I,...t,variant:g,isSelectable:x,selectedRows:L,gridColumns:j,isInitialExpanded:h,expandedLevel:b,initialVisibleChildrenCount:C,moreButtonColumnPosition:f,isVisibleCollapseButton:T,activeRowId:v,columns:r,onSelectRow:$,onRowClick:M},e),[I,g,x,L,j,h,b,C,f,v,r,$,M]);return(0,jsx_runtime_namespaceObject.jsxs)(Row_styles_Wrapper,{$level:y,$isShowConnector:a,$gridColumns:j,className:m,...E,children:[(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{followCursor:!0,arrow:!1,...l,children:(0,jsx_runtime_namespaceObject.jsx)(Row_styles_ContentWrapper,{$level:y,$isShowConnector:a,$gridColumns:j,[DISABLE_ROW_ATTR]:p,...s,children:B()})}),(0,jsx_runtime_namespaceObject.jsx)(NestedChildren,{...c,data:O,keyId:I,level:y,variant:g,gridColumns:j,initialVisibleChildrenCount:C,moreButtonColumnPosition:f,renderRow:P})]})},Body_styles_Wrapper=(0,material_namespaceObject.styled)("ul",{shouldForwardProp:e=>!["$isEmpty","$minDisplayRows"].includes(e.toString())})`
|
|
617
|
-
overflow-y: auto;
|
|
618
|
-
|
|
619
|
-
height: ${({$isEmpty:e,$minDisplayRows:t})=>e?`${MIN_ROW_HEIGHT*t}px`:"100%"};
|
|
620
|
-
margin: 0;
|
|
621
|
-
padding: 0;
|
|
622
|
-
|
|
623
|
-
list-style-type: none;
|
|
624
|
-
`,Body_useLogic_useLogic_useLogic=({isLoading:e,isError:t,rows:a})=>{let r=!a.length;return{isNoData:r,contentStateProps:{isLoading:e&&r,isError:t&&r}}},INITIAL_LEVEL=0,Body_Body=e=>{let{imagesMap:t}=(0,external_react_namespaceObject.useContext)(ConfigContext),{isNoData:a,contentStateProps:r}=Body_useLogic_useLogic_useLogic(e),{rows:n,selectedRows:i=[],isLoading:o,isError:s,errorMsg:l,minDisplayRows:c,keyId:p,noDataPlaceholder:u,onRetry:m,...d}=e,_=(0,external_react_namespaceObject.useMemo)(()=>n.map(({children:e,options:t,...a})=>{let r=a[p];return(0,jsx_runtime_namespaceObject.jsx)(RowContextProvider,{children:(0,jsx_runtime_namespaceObject.jsx)(Row,{row:a,selectedRows:i,options:t,keyId:p,level:0,nestedChildren:e,...d})},r)}),[n,p,i,d]);return(0,jsx_runtime_namespaceObject.jsx)(Body_styles_Wrapper,{$isEmpty:a,$minDisplayRows:c,children:(0,jsx_runtime_namespaceObject.jsx)(ContentState,{...r,errorState:{imgAlt:"Что-то пошло не так",errorList:[l||""],imgSrc:t.defaultErrorImgSrc,onRetry:m},children:n.length?_:u})})},HeadCell_styles_Wrapper=(0,material_namespaceObject.styled)("div",{shouldForwardProp:e=>!["$align","$isSortable","$hasStartAdornment"].includes(e.toString())})`
|
|
625
|
-
cursor: ${({$isSortable:e})=>e?"pointer":"initial"};
|
|
626
|
-
user-select: none;
|
|
627
|
-
|
|
628
|
-
display: flex;
|
|
629
|
-
align-items: center;
|
|
630
|
-
justify-content: ${({$align:e})=>alignToJustifyContent(e)};
|
|
631
|
-
|
|
632
|
-
height: 40px;
|
|
633
|
-
padding: ${({theme:e,$hasStartAdornment:t})=>t?e.spacing(1,2,1,0):e.spacing(1,2)};
|
|
634
|
-
|
|
635
|
-
color: ${({theme:e})=>e.palette.grey[700]};
|
|
636
|
-
`,HeadCell_styles_StyledTypography=(0,material_namespaceObject.styled)(Typography)`
|
|
637
|
-
display: flex;
|
|
638
|
-
align-items: center;
|
|
639
|
-
|
|
640
|
-
> svg {
|
|
641
|
-
width: 16px;
|
|
642
|
-
height: 16px;
|
|
643
|
-
}
|
|
644
|
-
`,HeadCell_useLogic_useLogic_useLogic=({field:e,isSortable:t,startAdornment:a,onSort:r})=>({wrapperProps:{$hasStartAdornment:!!a,onClick:()=>{e&&t&&r(e)}}}),HeadCell=e=>{let{wrapperProps:t}=HeadCell_useLogic_useLogic_useLogic(e),{startAdornment:a,field:r,isSortable:n,align:i,label:o,sorting:s}=e,l=(0,external_react_namespaceObject.useMemo)(()=>{if(!n)return null;if(s?.fieldId!==r)return(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronsUpDown,{});switch(s?.sort){case enums_SortStates.ASC:return(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronUp,{color:"primary"});case enums_SortStates.DESC:return(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown,{color:"primary"});default:return(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronsUpDown,{})}},[s,n,r]);return(0,jsx_runtime_namespaceObject.jsxs)(HeadCell_styles_Wrapper,{$align:i,$isSortable:n,...t,children:[a&&a,(0,jsx_runtime_namespaceObject.jsxs)(HeadCell_styles_StyledTypography,{variant:"pointer",children:[o,l]})]})},Head_styles_Wrapper=(0,material_namespaceObject.styled)("header",{shouldForwardProp:e=>!["$gridColumns"].includes(e.toString())})`
|
|
645
|
-
display: grid;
|
|
646
|
-
grid-template-columns: ${({$gridColumns:e})=>e};
|
|
647
|
-
|
|
648
|
-
border-bottom: 2px solid ${({theme:e})=>e.palette.divider};
|
|
649
|
-
`,styles_CheckboxCell=(0,material_namespaceObject.styled)("div")`
|
|
650
|
-
display: flex;
|
|
651
|
-
align-items: center;
|
|
652
|
-
justify-content: center;
|
|
653
|
-
|
|
654
|
-
width: ${ROOT_ACTION_CELL_WIDTH}px;
|
|
655
|
-
`,Head_useLogic_useLogic_useLogic=({rowsCount:e,sorting:t,uncheckedRowsCount:a,onSort:r})=>{let n=(0,external_react_namespaceObject.useMemo)(()=>!a&&e>0,[a,e]),i=(0,external_react_namespaceObject.useMemo)(()=>a>0&&a<e,[a,e]),o=!e;return{handleSort:(0,external_react_namespaceObject.useCallback)(e=>{if(!r)return;let a=t?.fieldId===e;return a&&t?.sort===enums_SortStates.ASC?r({fieldId:e,sort:enums_SortStates.DESC}):a&&t?.sort===enums_SortStates.DESC?r(void 0):void r({fieldId:e,sort:enums_SortStates.ASC})},[t,r]),checkboxProps:{checked:n,disabled:o,indeterminate:i}}},Head=e=>{let{checkboxProps:t,handleSort:a}=Head_useLogic_useLogic_useLogic(e),{columns:r,gridColumns:n,isSelectable:i,sorting:o,onSelectAllRows:s}=e,l=(0,external_react_namespaceObject.useMemo)(()=>r.map(({field:e,label:r,sortable:n,align:l},c)=>(0,jsx_runtime_namespaceObject.jsx)(HeadCell,{sorting:o,field:e,label:r,isSortable:n,align:l,startAdornment:!c&&i?(0,jsx_runtime_namespaceObject.jsx)(styles_CheckboxCell,{children:(0,jsx_runtime_namespaceObject.jsx)(Checkbox,{...t,onChange:s})}):null,onSort:a},r)),[r,o,i,t,s,a]);return(0,jsx_runtime_namespaceObject.jsx)(Head_styles_Wrapper,{$gridColumns:n,children:l})},Divider=e=>(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.Divider,{...e}),Backdrop=(0,material_namespaceObject.styled)("div")`
|
|
656
|
-
position: absolute;
|
|
657
|
-
top: 0;
|
|
658
|
-
|
|
659
|
-
width: 100%;
|
|
660
|
-
height: 100%;
|
|
661
|
-
|
|
662
|
-
opacity: 0.3;
|
|
663
|
-
background-color: ${({theme:e})=>e.palette.background.element};
|
|
664
|
-
`,StyledDivider=(0,material_namespaceObject.styled)(Divider)`
|
|
665
|
-
border-width: 1px;
|
|
666
|
-
`,LoaderWrapper=(0,material_namespaceObject.styled)("div")`
|
|
667
|
-
height: 2px;
|
|
668
|
-
`,StyledLinearProgress=(0,material_namespaceObject.styled)(material_namespaceObject.LinearProgress)`
|
|
669
|
-
height: 2px;
|
|
670
|
-
`,Loader=({isLoading:e=!1,isDisabled:t=!1,isVisibleDivider:a=!0})=>(0,jsx_runtime_namespaceObject.jsxs)(LoaderWrapper,{children:[(e||t)&&(0,jsx_runtime_namespaceObject.jsx)(Backdrop,{}),e&&(0,jsx_runtime_namespaceObject.jsx)(StyledLinearProgress,{}),!e&&a&&(0,jsx_runtime_namespaceObject.jsx)(StyledDivider,{})]}),NoData=({title:e="Нет\xa0данных",imgAlt:t=e,action:a,size:r="small"})=>{let{imagesMap:{noDataImgSrc:n}}=(0,external_react_namespaceObject.useContext)(ConfigContext);return(0,jsx_runtime_namespaceObject.jsx)(Placeholder,{title:e,imgSrc:n,size:r,Actions:a?(0,jsx_runtime_namespaceObject.jsx)(Button,{onClick:a.onClick,"aria-label":a.text,children:a.text}):void 0,imgAlt:t})},styles_Container=(0,material_namespaceObject.styled)("div",{shouldForwardProp:e=>"$maxHeight"!==e})`
|
|
671
|
-
position: relative;
|
|
672
|
-
|
|
673
|
-
overflow: hidden;
|
|
674
|
-
display: flex;
|
|
675
|
-
flex-direction: column;
|
|
676
|
-
|
|
677
|
-
width: 100%;
|
|
678
|
-
height: 100%;
|
|
679
|
-
max-height: ${({$maxHeight:e})=>e?`${e}px`:"initial"};
|
|
680
|
-
`,DataGridWrapper=(0,material_namespaceObject.styled)("div")`
|
|
681
|
-
overflow: hidden;
|
|
682
|
-
display: flex;
|
|
683
|
-
flex-direction: column;
|
|
684
|
-
|
|
685
|
-
height: 100%;
|
|
686
|
-
`,DisabledDataGridWrapper=(0,material_namespaceObject.styled)(DataGridWrapper)`
|
|
687
|
-
pointer-events: none;
|
|
688
|
-
|
|
689
|
-
background: ${({theme:e})=>e.palette.background.element};
|
|
690
|
-
mix-blend-mode: luminosity;
|
|
691
|
-
`,getGridTemplateColumns=e=>e.map(({width:e})=>e||"1fr").join(" "),DataGrid_useLogic_useLogic_useLogic=({keyId:e,columns:t,rows:a=[],variant:r,tree:n,subrows:i,selectedRows:o=[],isLoading:s,isDisabled:l,onSelectRow:c})=>{let p=!!a?.length,u=!!c,m=s||l,d=Object.is(r,enums_Variant.Subrows)?{...i,isInitialExpanded:!0}:n,_=a.filter(e=>!(e.options?.isDisabled||e.options?.isNotSelectable)),g=(0,external_react_namespaceObject.useRef)([]);(0,external_react_namespaceObject.useEffect)(()=>{s||(g.current=a)},[a,s]);let x=getGridTemplateColumns(t),j=(0,external_react_namespaceObject.useMemo)(()=>_.filter(t=>!o.find(a=>a[e]===t[e])).length,[_,o,e]),h=(0,external_react_namespaceObject.useCallback)(()=>a.length<=1?t.map(e=>({...e,sortable:!1})):t,[t,a]),b=s?g.current:a,y=(0,external_react_namespaceObject.useCallback)(t=>a=>{if(c){if(a.target.checked)return c([...o,t]);c(o.filter(a=>a[e]!==t[e]))}},[o,c,e]);return{isDataGridDisabled:m,treeRenderConfig:d,renderRows:b,headProps:{rowsCount:_.length,uncheckedRowsCount:j,gridColumns:x,isSelectable:u,columns:h(),onSelectAllRows:t=>{if(c){if(t.target.checked)return c((0,external_remeda_namespaceObject.uniqueBy)([...o,..._],(0,external_remeda_namespaceObject.prop)(e)));c(o.filter(t=>!a.find(a=>a[e]===t[e])))}}},bodyProps:{gridColumns:x,isSelectable:u,onSelectRow:y},loaderProps:{isLoading:p&&s,isVisibleDivider:!!a.length,isDisabled:l}}},DataGrid=e=>{let{isDataGridDisabled:t,treeRenderConfig:a,headProps:r,bodyProps:n,loaderProps:i,renderRows:o}=DataGrid_useLogic_useLogic_useLogic(e),{emptySymbol:s}=(0,external_react_namespaceObject.useContext)(ConfigContext),{columns:l,selectedRows:c=[],sorting:p,maxHeight:u,minDisplayRows:m=MIN_DISPLAY_ROWS_BY_DEFAULT,errorMsg:d,variant:_=enums_Variant.Tree,footer:g,noDataPlaceholder:x,isLoading:j,isError:h,subrows:b,keyId:y,activeRowId:O,emptyCellValue:C=s,className:f,onRowClick:T,onSort:S,noDataOptions:w,onRetry:L}=e,{moreButtonColumnPosition:v=1,isVisibleCollapseButton:I=!0}=b||{},{isInitialExpanded:$=!1,expandedLevel:M=EXPANDED_LEVEL_BY_DEFAULT,initialVisibleChildrenCount:E=INITIAL_OPENED_NESTED_CHILDREN_COUNT_BY_DEFAULT}=a||{},D=(0,external_react_namespaceObject.useCallback)(()=>j?null:x||(0,jsx_runtime_namespaceObject.jsx)(NoData,{...w}),[x,w,j]);return(0,jsx_runtime_namespaceObject.jsx)(DataGridContextProvider,{children:(0,jsx_runtime_namespaceObject.jsxs)(styles_Container,{$maxHeight:u,className:f,children:[(0,jsx_runtime_namespaceObject.jsxs)(t?DisabledDataGridWrapper:DataGridWrapper,{inert:!!t||void 0,children:[(0,jsx_runtime_namespaceObject.jsx)(Head,{...r,sorting:p,onSort:S}),(0,jsx_runtime_namespaceObject.jsx)(Body_Body,{...n,activeRowId:O,keyId:y,selectedRows:c,minDisplayRows:m,rows:o,columns:l,variant:_,emptyCellValue:C,isInitialExpanded:$,expandedLevel:M,initialVisibleChildrenCount:E,moreButtonColumnPosition:v,isVisibleCollapseButton:I,isLoading:j,isError:h,errorMsg:d,noDataPlaceholder:D(),onRowClick:T,onRetry:L})]}),(0,jsx_runtime_namespaceObject.jsx)(Loader,{...i}),g&&g]})})},MainIconButton_useLogic_useLogic_useLogic=({action:e})=>{let{loading:t,disabledReason:a,name:r}=e,[n,i]=(0,external_react_namespaceObject.useState)(!1);return(0,external_react_namespaceObject.useEffect)(()=>{t&&i(!1)},[t]),{tooltipProps:{title:a||r,open:n,onOpen:()=>i(!0),onClose:()=>i(!1)}}},MainIconButton=e=>{let{tooltipProps:t}=MainIconButton_useLogic_useLogic_useLogic(e),{action:a,onActionClick:r,isDisabled:n,tooltipPlacement:i}=e,{name:o,icon:s,needConfirm:l,confirmText:c,confirmButtonProps:p,disabledReason:u,disabled:m,loading:d,isBlockingOperation:_,loadingNote:g,onClick:x,...j}=a,h=e=>(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{withoutContainer:!m,placement:i,...t,children:(0,jsx_runtime_namespaceObject.jsx)(IconButton,{disabled:n||m,loading:d,...j,variant:"text",...e,children:s})},o);return(0,jsx_runtime_namespaceObject.jsx)(jsx_runtime_namespaceObject.Fragment,{children:l?(0,jsx_runtime_namespaceObject.jsx)(ConfirmAction,{text:c,confirmButtonProps:p,actionComponent:e=>h(e),onConfirm:r(x)}):h({onClick:r(x)})})},MainAction_MainAction=({action:e,onActionClick:t,isDisabled:a,tooltipPlacement:r})=>{if("actions"in e){let{disabled:n,icon:i,name:o,disabledReason:s,actions:l}=e;return(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{title:s||o,withoutContainer:!n,placement:r,children:(0,jsx_runtime_namespaceObject.jsx)(IconDropdownButton,{icon:i,variant:"text",disabled:a||n,children:l.map(({name:e,onClick:a,...r})=>(0,external_react_namespaceObject.createElement)(MenuItem,{...r,key:e,onClick:t(a)},e))})},o)}return(0,jsx_runtime_namespaceObject.jsx)(MainIconButton,{action:e,onActionClick:t,isDisabled:a,tooltipPlacement:r})},SecondaryAction_SecondaryActions=({actions:e,onActionClick:t,tooltipPlacement:a,isDisabled:r})=>(0,jsx_runtime_namespaceObject.jsx)(IconDropdownButton,{icon:(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.EllipsisVertical,{}),variant:"text",disabled:r,children:e.map(e=>{let{onClick:r,name:n}=e;return(0,external_react_namespaceObject.createElement)(MenuItem,{...e,key:n,tooltipPlacement:a,onClick:t(r)},n)})}),DataGridActionCell_styles_Wrapper=(0,material_namespaceObject.styled)("div")`
|
|
692
|
-
display: inline-flex;
|
|
693
|
-
align-items: center;
|
|
694
|
-
`,DataGridActionCell_useLogic_useLogic_useLogic=({row:e,actions:t})=>{let{main:a,secondary:r}=t,{addDisabledRow:n,removeDisabledRow:i}=(0,external_react_namespaceObject.useContext)(RowContext),o=[...a,...r||[]].find(e=>e.isBlockingOperation&&e.loading),s=!!o;return(0,external_react_namespaceObject.useEffect)(()=>{if(o)return n(o?.loadingNote);i()},[o]),{isDisabledAction:s,handleActionClick:(0,external_react_namespaceObject.useCallback)(t=>()=>{t?.(e)},[e]),handleWrapperClick:e=>{e.stopPropagation()}}},DataGridActionCell_TOOLTIP_PLACEMENT={mainAction:"top",secondaryAction:"left"},DataGridActionCell=e=>{let{isDisabledAction:t,handleWrapperClick:a,handleActionClick:r}=DataGridActionCell_useLogic_useLogic_useLogic(e),{actions:n}=e,{main:i,secondary:o}=n;return(0,jsx_runtime_namespaceObject.jsxs)(DataGridActionCell_styles_Wrapper,{onClick:a,children:[i.map(e=>(0,jsx_runtime_namespaceObject.jsx)(MainAction_MainAction,{action:e,onActionClick:r,isDisabled:t,tooltipPlacement:DataGridActionCell_TOOLTIP_PLACEMENT.mainAction},e.name)),o&&(0,jsx_runtime_namespaceObject.jsx)(SecondaryAction_SecondaryActions,{actions:o,onActionClick:r,tooltipPlacement:DataGridActionCell_TOOLTIP_PLACEMENT.secondaryAction,isDisabled:t})]})},Pagination=({...e})=>(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.Pagination,{shape:"rounded",...e}),styles_StyledTag=(0,material_namespaceObject.styled)(Tag,{shouldForwardProp:e=>"$shrinks"!==e})`
|
|
695
|
-
min-width: ${({$shrinks:e})=>e?"30px":"unset"};
|
|
696
|
-
max-width: 246px;
|
|
697
|
-
|
|
698
|
-
& {
|
|
699
|
-
.MuiBox-root {
|
|
700
|
-
display: inline;
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
`,Tag_useLogic_useLogic_useLogic=()=>({onMouseDown:e=>{e.stopPropagation()}}),Tag_Tag=e=>{let{onMouseDown:t}=Tag_useLogic_useLogic_useLogic(),{shrinks:a,isDisabled:r,...n}=e;return(0,jsx_runtime_namespaceObject.jsx)(styles_StyledTag,{$shrinks:a,color:"grey",disabled:r,...n,onMouseDown:t})},TagsList_styles_Wrapper=(0,material_namespaceObject.styled)("div")`
|
|
704
|
-
display: flex;
|
|
705
|
-
column-gap: ${({theme:e})=>e.spacing(1)};
|
|
706
|
-
`,getElementByText=(e,t)=>{if(e.innerHTML===t)return e;for(let a=0;a<e.children.length;a+=1){let r=getElementByText(e.children[a],t);if(r)return r}return null},TagsList_useLogic_useLogic_useLogic=({data:e=[],keyId:t,getOptionLabel:a,onChange:r})=>{let[n,i]=(0,external_react_namespaceObject.useState)(1),o=(0,external_react_namespaceObject.useRef)(!1),s=(0,external_react_namespaceObject.useRef)(null),l=(t,r,n)=>{let i=a(e[0]);document.body.appendChild(t);let o=0,s=0;for(let l=1;l<e.length;l+=1){let c=t.firstChild?.cloneNode(!0),p=a(e[l]),u=getElementByText(c,i);if(!u)throw Error("Could not find text node");u.textContent=p,t.appendChild(c);let m=c.getBoundingClientRect().width+n;if(o+m>r)break;s+=1,o+=m}return document.body.removeChild(t),s},c=()=>{let e=s.current;if(!e)throw Error("Tags container ref is not set");let t=Number.parseInt(window.getComputedStyle(e).columnGap),a=e.firstElementChild?.getBoundingClientRect().width||0,r=e.getBoundingClientRect().width-a,n=e.cloneNode(!0);for(;n.lastElementChild&&n.children.length>1;)n.removeChild(n.lastElementChild);n.style.visibility="hidden",i(1+l(n,r,t))};(0,external_react_namespaceObject.useLayoutEffect)(()=>{"undefined"!=typeof window&&e&&e.length&&(c(),o.current=!0)},[e]),(0,external_react_namespaceObject.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(o.current){o.current=!1;return}c()});return t.observe(s.current),()=>t.disconnect()},[e]);let p=e?.slice(0,n);return{maxItems:n,visibleOptions:p,tagsContainerRef:s,getTagProps:(i,o)=>{let s=a(i);return{label:s,shrinks:o===n-1&&n<=e.length,onDelete:()=>{let a=e?.filter(e=>"string"==typeof e?e!==i:e[t]!==i[t]);r(a?.length?a:[])}}}}},getKey=(e,t)=>{if("string"==typeof e)return e;let a=e[t];return"number"==typeof a?a.toString():a},TagsList=e=>{let{maxItems:t,tagsContainerRef:a,visibleOptions:r,getTagProps:n}=TagsList_useLogic_useLogic_useLogic(e),{className:i,data:o,keyId:s,isDisabled:l,onClick:c}=e;return(0,jsx_runtime_namespaceObject.jsxs)(TagsList_styles_Wrapper,{className:i,ref:a,children:[r?.map((e,t)=>{let a=n(e,t);return jsx_runtime_namespaceObject.jsx(Tag_Tag,{isDisabled:l,onClick:c,...a},getKey(e,s))}),o&&t<o.length&&(0,jsx_runtime_namespaceObject.jsx)(Tag_Tag,{isDisabled:l,label:`+${o.length-t}`,onClick:c},"more")]})},CLEAR_TEXT="Очистить",ProgressWrapper=(0,material_namespaceObject.styled)("div")`
|
|
707
|
-
display: flex;
|
|
708
|
-
flex-direction: column;
|
|
709
|
-
align-items: center;
|
|
710
|
-
|
|
711
|
-
min-height: 64px;
|
|
712
|
-
|
|
713
|
-
.MuiCircularProgress-root {
|
|
714
|
-
margin-top: ${({theme:e})=>e.spacing(5)};
|
|
715
|
-
|
|
716
|
-
color: ${({theme:e})=>e.palette.grey["900"]};
|
|
717
|
-
}
|
|
718
|
-
`,styles_Placeholder=(0,material_namespaceObject.styled)(MenuItem)`
|
|
719
|
-
display: none;
|
|
720
|
-
`,StyledIconButton=(0,material_namespaceObject.styled)(IconButton)`
|
|
721
|
-
background-color: transparent;
|
|
722
|
-
|
|
723
|
-
&:hover {
|
|
724
|
-
background-color: transparent;
|
|
725
|
-
|
|
726
|
-
svg {
|
|
727
|
-
fill: ${({theme:e})=>e.palette.grey["700"]};
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
732
|
-
width: 32px;
|
|
733
|
-
height: 32px;
|
|
734
|
-
}
|
|
735
|
-
`,StyledCloseFillSm=(0,material_namespaceObject.styled)(external_lucide_react_namespaceObject.CircleX)`
|
|
736
|
-
width: 16px;
|
|
737
|
-
height: 16px;
|
|
738
|
-
|
|
739
|
-
fill: ${({theme:e})=>e.palette.grey["500"]};
|
|
740
|
-
`,EndAdornmentWrapper=(0,material_namespaceObject.styled)("div")`
|
|
741
|
-
display: flex;
|
|
742
|
-
align-items: center;
|
|
743
|
-
|
|
744
|
-
margin-left: auto;
|
|
745
|
-
`,StyledSelect=(0,material_namespaceObject.styled)(material_namespaceObject.Select)`
|
|
746
|
-
.${material_namespaceObject.selectClasses.select} {
|
|
747
|
-
padding-right: ${({theme:e})=>e.spacing(2)} !important;
|
|
748
|
-
}
|
|
749
|
-
`;function Select_useLogic_useLogic_useLogic({value:e,onChange:t,children:a,open:r,defaultOpen:n,multiple:i,isShowClearButton:o=!0}){let[s,l]=(0,external_react_namespaceObject.useState)(n||r||!1),c=(0,external_react_namespaceObject.useRef)(null),p=o&&!(!e||Array.isArray(e)&&0===e.length||"string"==typeof e&&0===e.length);return{isOpened:s,isNoData:!external_react_namespaceObject.Children.count(a),isShowingClearButton:p,resetButtonRef:c,openSelect:()=>l(!0),closeSelect:()=>l(!1),onClearAll:()=>{t?.call({},{target:{value:i?[]:""}})}}}let ClearButton=({onClick:e,disabled:t,ref:a})=>(0,jsx_runtime_namespaceObject.jsx)(StyledIconButton,{disabled:t,ref:a,onClick:e,variant:"text",title:CLEAR_TEXT,"aria-label":CLEAR_TEXT,children:(0,jsx_runtime_namespaceObject.jsx)(StyledCloseFillSm,{})}),Select=({required:e,getOptionLabel:t=e=>e,placeholder:a,helperText:r,hideHelperText:n=!1,loading:i,success:o,children:s,disabled:l,error:c,label:p,fullWidth:u,onChange:m,isShowClearButton:d,..._})=>{let{isOpened:g,isShowingClearButton:x,isNoData:j,onClearAll:h,openSelect:b,closeSelect:y,resetButtonRef:O}=Select_useLogic_useLogic_useLogic({..._,children:s,onChange:m,isShowClearButton:d});return(0,jsx_runtime_namespaceObject.jsxs)(material_namespaceObject.FormControl,{error:c,fullWidth:u,children:[p&&(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.InputLabel,{htmlFor:"grouped-select",required:e,children:p}),(0,jsx_runtime_namespaceObject.jsxs)(StyledSelect,{..._,open:g,disabled:l,onOpen:b,onClose:y,renderValue:e=>Array.isArray(e)&&e.length?(0,jsx_runtime_namespaceObject.jsx)(TagsList,{data:e,keyId:"value",getOptionLabel:t,onChange:e=>e?m?.({target:{value:e}},void 0):m?.({target:{value:[]}},void 0),onClick:b}):(Array.isArray(e)||"string"==typeof e)&&!e.length?a:t(e),IconComponent:()=>null,displayEmpty:!0,fullWidth:u,onChange:m,endAdornment:(0,jsx_runtime_namespaceObject.jsxs)(EndAdornmentWrapper,{children:[x&&(0,jsx_runtime_namespaceObject.jsx)(ClearButton,{disabled:l,ref:O,onClick:h}),(0,jsx_runtime_namespaceObject.jsx)(StyledIconButton,{variant:"text",disabled:l,onClick:b,children:g?(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronUp,{}):(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown,{})})]}),children:[(0,jsx_runtime_namespaceObject.jsx)(styles_Placeholder,{value:"",children:a}),i&&(0,jsx_runtime_namespaceObject.jsx)(ProgressWrapper,{children:(0,jsx_runtime_namespaceObject.jsx)(CircularProgress,{color:"primary"})}),!i&&s,!i&&j&&(0,jsx_runtime_namespaceObject.jsx)(MenuItem,{disabled:!0,children:"Нет данных"})]}),!n&&(0,jsx_runtime_namespaceObject.jsx)(FormHelperText,{error:c,success:o,children:r})]})},DEFAULT_ROWS_PER_PAGE=20,DEFAULT_ROWS_PER_PAGE_OPTION=[20,50,100],PaginationWrapper=(0,material_namespaceObject.styled)("div")`
|
|
750
|
-
display: flex;
|
|
751
|
-
align-items: center;
|
|
752
|
-
justify-content: space-between;
|
|
753
|
-
|
|
754
|
-
height: 48px;
|
|
755
|
-
padding-top: ${({theme:e})=>e.spacing(4)};
|
|
756
|
-
`,Range=(0,material_namespaceObject.styled)(Typography)`
|
|
757
|
-
color: ${({theme:e})=>e.palette.grey["700"]};
|
|
758
|
-
`,RangeWrapper=(0,material_namespaceObject.styled)("div")`
|
|
759
|
-
display: flex;
|
|
760
|
-
gap: ${({theme:e})=>e.spacing(3)};
|
|
761
|
-
align-items: center;
|
|
762
|
-
|
|
763
|
-
.${material_namespaceObject.formControlClasses.root} {
|
|
764
|
-
flex-direction: unset;
|
|
765
|
-
}
|
|
766
|
-
`,DataGridPagination_useLogic_useLogic_useLogic=({totalCount:e,rowsPerPage:t=DEFAULT_ROWS_PER_PAGE,page:a,onSetCountPerPage:r})=>{let n=(0,external_react_namespaceObject.useRef)(0);(0,external_react_namespaceObject.useEffect)(()=>{e&&(n.current=e)},[e]);let i=e||n.current,o=Math.ceil(i/t),s=(a-1)*t+1,l=()=>{let e=a*t;return e<i?e:i};return{isVisiblePagination:!(!r&&i<=t),pageCount:o,formattedRange:()=>`${s} — ${l()} из ${i} записей`,handleChangeRowsPerPage:e=>{r?.(Number(e.target.value))}}},DataGridPagination=e=>{let{isVisiblePagination:t,pageCount:a,formattedRange:r,handleChangeRowsPerPage:n}=DataGridPagination_useLogic_useLogic_useLogic(e),{page:i,totalCount:o,className:s,rowsPerPage:l=DEFAULT_ROWS_PER_PAGE,rowsPerPageOptions:c=DEFAULT_ROWS_PER_PAGE_OPTION,isForceCounter:p,disabled:u,onSetCountPerPage:m,...d}=e;return(t||p)&&o?(0,jsx_runtime_namespaceObject.jsxs)(PaginationWrapper,{className:s,children:[(0,jsx_runtime_namespaceObject.jsxs)(RangeWrapper,{children:[m&&(0,jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment,{children:[(0,jsx_runtime_namespaceObject.jsx)(Typography,{variant:"body1",children:"Строк на странице:"}),(0,jsx_runtime_namespaceObject.jsx)(Select,{size:"small",value:l,disabled:u,isShowClearButton:!1,onChange:n,children:c.map(e=>(0,jsx_runtime_namespaceObject.jsx)(MenuItem,{value:e,children:e},e))})]}),(0,jsx_runtime_namespaceObject.jsx)(Range,{variant:"h6",children:r()})]}),t&&(0,jsx_runtime_namespaceObject.jsx)(Pagination,{disabled:u,count:a,page:i,...d})]}):null},DEFAULT_SEPARATOR=":",DEFAULT_SYMBOL="—",DESCRIPTION_ROOT_CLASSNAME="astral-ui_descriptionRoot",DescriptionContext=(0,external_react_namespaceObject.createContext)({leader:!1,separator:DEFAULT_SEPARATOR,direction:"default"}),DescriptionContextProvider=({children:e,leader:t,separator:a,direction:r})=>(0,jsx_runtime_namespaceObject.jsx)(DescriptionContext.Provider,{value:{leader:t,separator:a,direction:r},children:e}),Name_styles_Wrapper=(0,material_namespaceObject.styled)("dt",{shouldForwardProp:e=>"$leader"!==e})`
|
|
767
|
-
flex-shrink: 0;
|
|
768
|
-
|
|
769
|
-
max-width: ${({$leader:e})=>e?"calc(100% - 36px)":"calc(100% - 12px)"};
|
|
770
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
771
|
-
`,DashedSeparator=(0,material_namespaceObject.styled)("div")`
|
|
772
|
-
flex: 1;
|
|
773
|
-
|
|
774
|
-
min-width: 12px;
|
|
775
|
-
height: 4px;
|
|
776
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
777
|
-
|
|
778
|
-
border-bottom: 1px dashed ${({theme:e})=>e.palette.grey[400]};
|
|
779
|
-
|
|
780
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
781
|
-
display: none;
|
|
782
|
-
}
|
|
783
|
-
`,Name=({children:e,color:t="textSecondary",...a})=>{let{leader:r,separator:n}=(0,external_react_namespaceObject.useContext)(DescriptionContext);return(0,jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment,{children:[(0,jsx_runtime_namespaceObject.jsx)(Name_styles_Wrapper,{$leader:r,children:(0,jsx_runtime_namespaceObject.jsxs)(Typography,{...a,color:t,children:[e,!r&&n]})}),r&&(0,jsx_runtime_namespaceObject.jsx)(DashedSeparator,{})]})},Value_styles_StyledTypography=(0,material_namespaceObject.styled)(Typography,{shouldForwardProp:e=>!["$canCopy","$leader","$direction"].includes(e.toString())})`
|
|
784
|
-
cursor: ${({$canCopy:e})=>e?"pointer":"default"};
|
|
785
|
-
|
|
786
|
-
overflow: hidden;
|
|
787
|
-
|
|
788
|
-
hyphens: auto;
|
|
789
|
-
text-align: ${({$leader:e})=>e?"right":"left"};
|
|
790
|
-
overflow-wrap: break-word;
|
|
791
|
-
|
|
792
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
793
|
-
text-align: ${({$direction:e})=>"row"!==e?"left":"right"};
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
&:hover {
|
|
797
|
-
text-decoration: ${({$canCopy:e})=>e?"underline":"none"};
|
|
798
|
-
}
|
|
799
|
-
`,StyledCopyTypography=(0,material_namespaceObject.styled)(CopyTypography,{shouldForwardProp:e=>!["$leader","$direction"].includes(e.toString())})`
|
|
800
|
-
display: unset;
|
|
801
|
-
|
|
802
|
-
hyphens: auto;
|
|
803
|
-
text-align: ${({$leader:e})=>e?"right":"left"};
|
|
804
|
-
overflow-wrap: break-word;
|
|
805
|
-
|
|
806
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
807
|
-
text-align: ${({$direction:e})=>"row"!==e?"left":"right"};
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
& > svg {
|
|
811
|
-
margin-bottom: ${({theme:e})=>e.spacing(-1)};
|
|
812
|
-
}
|
|
813
|
-
`,Value_styles_Wrapper=(0,material_namespaceObject.styled)("dd")`
|
|
814
|
-
overflow: hidden;
|
|
815
|
-
|
|
816
|
-
margin: 0;
|
|
817
|
-
`,Value_useLogic_useLogic_useLogic=({canCopy:e,children:t,stub:a})=>{let{emptySymbol:r}=(0,external_react_namespaceObject.useContext)(ConfigContext),{leader:n,direction:i}=(0,external_react_namespaceObject.useContext)(DescriptionContext);return{valueToRender:t||a||r,isDefaultValueRender:!e||!t,leader:n,direction:i}},Value=e=>{let{valueToRender:t,isDefaultValueRender:a,leader:r,direction:n}=Value_useLogic_useLogic_useLogic(e),{copyPosition:i="right",copyText:o,canCopy:s,children:l,stub:c,...p}=e;return a?(0,jsx_runtime_namespaceObject.jsx)(Value_styles_StyledTypography,{$direction:n,component:"dd",$leader:r,...p,children:t}):(0,jsx_runtime_namespaceObject.jsx)(Value_styles_Wrapper,{children:(0,jsx_runtime_namespaceObject.jsx)(StyledCopyTypography,{copyPosition:i,copyText:o,$direction:n,$leader:r,component:"div",...p,children:t})})},Description_styles_Wrapper=(0,material_namespaceObject.styled)("div",{shouldForwardProp:e=>!["$justifyContent","as","$direction"].includes(e.toString())})`
|
|
818
|
-
overflow: hidden;
|
|
819
|
-
display: flex;
|
|
820
|
-
flex-direction: ${({$direction:e})=>"default"===e?"row":e};
|
|
821
|
-
align-items: baseline;
|
|
822
|
-
justify-content: ${({$justifyContent:e})=>e};
|
|
823
|
-
|
|
824
|
-
margin: 0;
|
|
825
|
-
|
|
826
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
827
|
-
flex-direction: ${({$direction:e})=>"default"===e?"column":e};
|
|
828
|
-
|
|
829
|
-
.MuiTypography-root {
|
|
830
|
-
font-size: ${({theme:e})=>e.typography.fontSize};
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
`,Description_useLogic_useLogic_useLogic=({direction:e="default",separator:t=DEFAULT_SEPARATOR})=>{let{isMobile:a}=useViewportType();return{descriptionContextProviderProps:{separator:"column"===e||a&&"default"===e?"":t},direction:e}},Description_Description=e=>{let{descriptionContextProviderProps:t,direction:a}=Description_useLogic_useLogic_useLogic(e),{justifyContent:r="start",component:n="dl",children:i,leader:o=!1}=e;return(0,jsx_runtime_namespaceObject.jsx)(DescriptionContextProvider,{leader:o,direction:a,...t,children:(0,jsx_runtime_namespaceObject.jsx)(Description_styles_Wrapper,{$justifyContent:r,className:DESCRIPTION_ROOT_CLASSNAME,$direction:a,as:n,children:i})})};Description_Description.Name=Name,Description_Description.Value=Value;let GuidTypography=e=>(0,jsx_runtime_namespaceObject.jsx)(OverflowTypography,{visibleLastSymbolsCount:4,...e}),StyledDescriptionName=(0,material_namespaceObject.styled)(Description_Description.Name,{shouldForwardProp:e=>!["$nameMaxWidth, $direction"].includes(e.toString())})`
|
|
834
|
-
max-width: ${({$nameMaxWidth:e})=>e||"none"};
|
|
835
|
-
margin-bottom: ${({theme:e,$direction:t})=>Object.is(t,"column")?e.spacing(1):0};
|
|
836
|
-
|
|
837
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
838
|
-
margin-bottom: ${({theme:e,$direction:t})=>Object.is(t,"row")?0:e.spacing(1)};
|
|
839
|
-
}
|
|
840
|
-
`,DescriptionList_styles_Wrapper=(0,material_namespaceObject.styled)("article",{shouldForwardProp:e=>!["$variant"].includes(e.toString())})`
|
|
841
|
-
display: grid;
|
|
842
|
-
row-gap: ${({theme:e})=>e.spacing(3)};
|
|
843
|
-
|
|
844
|
-
padding: ${({$variant:e,theme:t})=>"contained"===e?t.spacing(4):0};
|
|
845
|
-
|
|
846
|
-
background-color: ${({$variant:e,theme:t})=>"contained"===e?t.palette.background.default:"transparent"};
|
|
847
|
-
border: ${({$variant:e,theme:t})=>"contained"===e?`1px solid ${t.palette.grey[300]}`:"unset"};
|
|
848
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
849
|
-
`,ListWrapper=(0,material_namespaceObject.styled)("dl",{shouldForwardProp:e=>!["$direction"].includes(e.toString())})`
|
|
850
|
-
display: grid;
|
|
851
|
-
row-gap: ${({theme:e,$direction:t})=>Object.is(t,"column")?e.spacing(3):e.spacing(1)};
|
|
852
|
-
|
|
853
|
-
margin: 0;
|
|
854
|
-
|
|
855
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
856
|
-
row-gap: ${({theme:e})=>e.spacing(3)};
|
|
857
|
-
}
|
|
858
|
-
`,StyledDescriptionValue=(0,material_namespaceObject.styled)(Description_Description.Value,{shouldForwardProp:e=>!["$isCopy"].includes(e.toString())})`
|
|
859
|
-
display: ${({$isCopy:e})=>e&&"flex"};
|
|
860
|
-
|
|
861
|
-
width: ${({$isCopy:e})=>e&&"calc(100% - 20px)"};
|
|
862
|
-
`,getTooltipProps=e=>e?{title:void 0}:void 0,DescriptionList=({items:e,variant:t="default",title:a,direction:r,...n})=>{let i=(0,external_react_namespaceObject.useCallback)((e,t)=>{let{renderValue:a,color:r,canCopy:n,copyPosition:i,variant:o,copyText:s}=t;if(a)return a(e,t);if("tag"===o)return(0,jsx_runtime_namespaceObject.jsx)(Description_Description.Value,{children:(0,jsx_runtime_namespaceObject.jsx)(Tag,{label:e,color:r,variant:"light"})});if("guid"===o){let t=getTooltipProps(n);return(0,jsx_runtime_namespaceObject.jsx)(StyledDescriptionValue,{canCopy:n,$isCopy:n,color:r,copyPosition:i,copyText:s,children:(0,jsx_runtime_namespaceObject.jsx)(GuidTypography,{tooltipProps:t,children:e})})}return(0,jsx_runtime_namespaceObject.jsx)(Description_Description.Value,{canCopy:n,color:r,copyPosition:i,children:e})},[]);return(0,jsx_runtime_namespaceObject.jsxs)(DescriptionList_styles_Wrapper,{$variant:t,children:[a&&("string"==typeof a?(0,jsx_runtime_namespaceObject.jsx)(Typography,{variant:"h6",children:a}):a),(0,jsx_runtime_namespaceObject.jsx)(ListWrapper,{$direction:r,children:e.map(({name:e,value:t,options:a})=>{let{nameMaxWidth:o,...s}=a||{};return(0,jsx_runtime_namespaceObject.jsxs)(Description_Description,{direction:r,...n,component:"div",children:[(0,jsx_runtime_namespaceObject.jsx)(StyledDescriptionName,{$nameMaxWidth:o,$direction:r,children:e}),i(t,s)]},`${e}:${t}`)})})]})},DialogTitle=({children:e,onClose:t,...a})=>(0,jsx_runtime_namespaceObject.jsxs)(material_namespaceObject.DialogTitle,{...a,children:[e,t&&(0,jsx_runtime_namespaceObject.jsx)(IconButton,{variant:"text",onClick:e=>{t&&t(e,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X,{})})]}),SIZES={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"}},getSize=e=>SIZES[e]||SIZES.md,StyledDialog=(0,material_namespaceObject.styled)(material_namespaceObject.Dialog,{shouldForwardProp:e=>!["$size"].includes(e.toString())})`
|
|
863
|
-
&.${material_namespaceObject.dialogClasses.root} .${material_namespaceObject.backdropClasses.root} {
|
|
864
|
-
background-color: ${({theme:e})=>e.palette.background.modalShadow};
|
|
865
|
-
}
|
|
866
|
-
.${material_namespaceObject.dialogClasses.paper} {
|
|
867
|
-
min-width: ${({$size:e})=>getSize(e).minWidth};
|
|
868
|
-
max-width: ${({$size:e})=>getSize(e).maxWidth};
|
|
869
|
-
}
|
|
870
|
-
`,Dialog=({children:e,title:t,disableBackdropClick:a,onClose:r,size:n="md",...i})=>{let o=r&&((e,t)=>{(!a||"backdropClick"!==t)&&r(e,t)}),{isMobile:s}=useViewportType();return s?(0,jsx_runtime_namespaceObject.jsx)(BottomDrawer,{onClose:o,title:t,children:e}):(0,jsx_runtime_namespaceObject.jsxs)(StyledDialog,{$size:n,onClose:o,...i,children:[t&&(0,jsx_runtime_namespaceObject.jsx)(DialogTitle,{onClose:r,children:t}),e]})},StyledDialogActions=(0,material_namespaceObject.styled)(material_namespaceObject.DialogActions)`
|
|
871
|
-
padding-top: 0;
|
|
872
|
-
|
|
873
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
874
|
-
padding: ${({theme:e})=>e.spacing(4)};
|
|
875
|
-
}
|
|
876
|
-
`,StyledGrid=(0,material_namespaceObject.styled)(Container)`
|
|
877
|
-
${({theme:e})=>e.breakpoints.up("sm")} {
|
|
878
|
-
flex-direction: column;
|
|
879
|
-
justify-content: end;
|
|
880
|
-
}
|
|
881
|
-
`,DialogActions=({children:e,disableSpacing:t,...a})=>(0,jsx_runtime_namespaceObject.jsx)(StyledDialogActions,{...a,children:(0,jsx_runtime_namespaceObject.jsx)(StyledGrid,{gap:2*!t,children:e})}),StyledDialogContent=(0,material_namespaceObject.styled)(material_namespaceObject.DialogContent)`
|
|
882
|
-
padding-bottom: ${({theme:e})=>e.spacing(6)};
|
|
883
|
-
|
|
884
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
885
|
-
padding: ${({theme:e})=>e.spacing(5,4)};
|
|
886
|
-
}
|
|
887
|
-
`,DialogContent=e=>(0,jsx_runtime_namespaceObject.jsx)(StyledDialogContent,{...e}),StyledDialogContentText=(0,material_namespaceObject.styled)(material_namespaceObject.DialogContentText)`
|
|
888
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
889
|
-
`,DialogContentText=e=>(0,jsx_runtime_namespaceObject.jsx)(StyledDialogContentText,{...e}),DialogHeader_styles_Wrapper=(0,material_namespaceObject.styled)("div",{label:"DialogHeader-root",shouldForwardProp:e=>!["hasTitle","hasOnClose"].includes(e.toString())})`
|
|
890
|
-
overflow: hidden;
|
|
891
|
-
display: grid;
|
|
892
|
-
grid-template-columns: ${({hasTitle:e,hasOnClose:t})=>e&&t?"max-content 1fr 32px":e?"max-content 1fr":t?"1fr 32px":"1fr"};
|
|
893
|
-
column-gap: ${({theme:e})=>e.spacing(2)};
|
|
894
|
-
align-items: center;
|
|
895
|
-
|
|
896
|
-
height: auto;
|
|
897
|
-
padding: ${({theme:e})=>e.spacing(4,6)};
|
|
898
|
-
`,HeaderContent=(0,material_namespaceObject.styled)("div",{shouldForwardProp:e=>!["justifyContent","columnSpacing"].includes(e.toString()),label:"DialogHeader-content"})`
|
|
899
|
-
overflow: hidden;
|
|
900
|
-
display: flex;
|
|
901
|
-
column-gap: ${({columnSpacing:e,theme:t})=>t.spacing(e)};
|
|
902
|
-
align-items: center;
|
|
903
|
-
justify-content: ${({justifyContent:e})=>e};
|
|
904
|
-
|
|
905
|
-
width: 100%;
|
|
906
|
-
height: 100%;
|
|
907
|
-
padding: 0;
|
|
908
|
-
`,DialogHeader=({children:e,title:t,justifyContent:a="flex-start",disableSpacing:r,onClose:n})=>(0,jsx_runtime_namespaceObject.jsxs)(DialogHeader_styles_Wrapper,{hasTitle:!!t,hasOnClose:!!n,children:[t&&(0,jsx_runtime_namespaceObject.jsx)(Typography,{variant:"h4",children:t}),(0,jsx_runtime_namespaceObject.jsx)(HeaderContent,{justifyContent:a,columnSpacing:2*!r,children:e}),n&&(0,jsx_runtime_namespaceObject.jsx)(IconButton,{variant:"text",onClick:e=>{n&&n(e,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X,{})})]}),StyledLink=(0,material_namespaceObject.styled)(material_namespaceObject.Link)`
|
|
909
|
-
display: inline-flex;
|
|
910
|
-
gap: ${({theme:e})=>e.spacing(1)};
|
|
911
|
-
align-items: baseline;
|
|
912
|
-
justify-content: flex-start;
|
|
913
|
-
|
|
914
|
-
font-size: ${({theme:e})=>e.typography.fontSize}px;
|
|
915
|
-
color: ${({theme:e})=>e.palette.components.link.main};
|
|
916
|
-
text-decoration: none;
|
|
917
|
-
|
|
918
|
-
&:active {
|
|
919
|
-
color: ${({theme:e})=>e.palette.components.link.active};
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
&:visited {
|
|
923
|
-
color: ${({theme:e})=>e.palette.components.link.visited};
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
&:hover {
|
|
927
|
-
color: ${({theme:e})=>e.palette.components.link.hover};
|
|
928
|
-
text-decoration: underline;
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
&:focus {
|
|
932
|
-
border-radius: 4px;
|
|
933
|
-
outline: 2px solid ${({theme:e})=>e.palette.primary[400]};
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
.${material_namespaceObject.svgIconClasses.root} {
|
|
937
|
-
align-self: center;
|
|
938
|
-
|
|
939
|
-
width: 16px;
|
|
940
|
-
height: 16px;
|
|
941
|
-
}
|
|
942
|
-
`,Link=(0,external_react_namespaceObject.forwardRef)(({withAdornment:e,isDownload:t,children:a,...r},n)=>{let i=t?(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ArrowDownToLine,{}):(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.SquareArrowOutUpRight,{});return(0,jsx_runtime_namespaceObject.jsxs)(StyledLink,{download:t,ref:n,...r,children:["start"===e&&i,a,"end"===e&&i,!e&&t&&(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ArrowDownToLine,{})]})}),List_namespaceObject=require("@mui/material/List");var List_default=__webpack_require__.n(List_namespaceObject);let List=e=>(0,jsx_runtime_namespaceObject.jsx)(List_default(),{...e}),ListItem=e=>(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.ListItem,{...e}),ListItemButton=e=>{let{disabledReason:t,disabled:a,tooltipPlacement:r,note:n,withoutContainer:i=!1,...o}=e,s=()=>(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{title:a?t:n,placement:r,withoutContainer:!a,children:(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.ListItemButton,{disabled:a,component:"div",...o,disableRipple:!0})});return i?s():(0,jsx_runtime_namespaceObject.jsx)("li",{children:s()})},StyledListItemIcon=(0,material_namespaceObject.styled)(material_namespaceObject.ListItemIcon)`
|
|
943
|
-
color: inherit;
|
|
944
|
-
`,ListItemIcon=(0,external_react_namespaceObject.forwardRef)((e,t)=>(0,jsx_runtime_namespaceObject.jsx)(StyledListItemIcon,{ref:t,...e})),ListItemText_namespaceObject=require("@mui/material/ListItemText");var ListItemText_default=__webpack_require__.n(ListItemText_namespaceObject);let ListItemText=e=>(0,jsx_runtime_namespaceObject.jsx)(ListItemText_default(),{...e}),ListSubheader=e=>(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.ListSubheader,{...e}),StyledListItemButton=(0,material_namespaceObject.styled)(ListItemButton,{shouldForwardProp:e=>!["$isGroupTitleItem"].includes(e.toString())})`
|
|
945
|
-
box-sizing: border-box;
|
|
946
|
-
min-height: 40px;
|
|
947
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
948
|
-
|
|
949
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
950
|
-
|
|
951
|
-
${material_namespaceObject.listItemIconClasses.root} {
|
|
952
|
-
color: ${({theme:e,selected:t})=>t?e.palette.primary["800"]:"inherit"};
|
|
953
|
-
|
|
954
|
-
transition: ${({theme:e})=>e.transitions.create("color",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})};
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
&:focus-visible {
|
|
958
|
-
position: relative;
|
|
959
|
-
|
|
960
|
-
color: ${({theme:e})=>e.palette.primary[900]};
|
|
961
|
-
|
|
962
|
-
background-color: unset;
|
|
963
|
-
|
|
964
|
-
&::before {
|
|
965
|
-
content: '';
|
|
966
|
-
|
|
967
|
-
position: absolute;
|
|
968
|
-
z-index: 1;
|
|
969
|
-
inset: 0;
|
|
970
|
-
|
|
971
|
-
border: 2px solid ${({theme:e})=>e.palette.primary[400]};
|
|
972
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
&.Mui-selected {
|
|
977
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
978
|
-
|
|
979
|
-
background-color: ${({theme:e,$isGroupTitleItem:t})=>t?"inherit":e.palette.primary[100]};
|
|
980
|
-
|
|
981
|
-
&::before {
|
|
982
|
-
content: '';
|
|
983
|
-
|
|
984
|
-
position: absolute;
|
|
985
|
-
inset: 0;
|
|
986
|
-
|
|
987
|
-
width: 10px;
|
|
988
|
-
|
|
989
|
-
border-left: 3px solid ${({theme:e})=>e.palette.primary[800]};
|
|
990
|
-
border-radius: ${({theme:e})=>e.shape.small};
|
|
991
|
-
}
|
|
992
|
-
|
|
993
|
-
&:hover {
|
|
994
|
-
color: ${({theme:e})=>e.palette.grey[900]};
|
|
995
|
-
|
|
996
|
-
background-color: ${({theme:e,$isGroupTitleItem:t})=>t?"inherit":e.palette.primary[100]};
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
&:hover {
|
|
1001
|
-
color: ${({theme:e})=>e.palette.primary["800"]};
|
|
1002
|
-
|
|
1003
|
-
background-color: inherit;
|
|
1004
|
-
|
|
1005
|
-
${material_namespaceObject.listItemIconClasses.root} {
|
|
1006
|
-
color: ${({theme:e})=>e.palette.primary["800"]};
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
&:active {
|
|
1011
|
-
color: ${({theme:e})=>e.palette.primary["900"]};
|
|
1012
|
-
|
|
1013
|
-
${material_namespaceObject.listItemIconClasses.root} {
|
|
1014
|
-
color: ${({theme:e})=>e.palette.primary["900"]};
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
1019
|
-
min-height: 40px;
|
|
1020
|
-
margin-top: ${({theme:e,$isGroupTitleItem:t})=>t?e.spacing(4):0};
|
|
1021
|
-
padding: ${({theme:e,$isGroupTitleItem:t})=>t?e.spacing(0,5):e.spacing(3,5)};
|
|
1022
|
-
|
|
1023
|
-
border-radius: 0;
|
|
1024
|
-
|
|
1025
|
-
&.Mui-selected {
|
|
1026
|
-
&::before {
|
|
1027
|
-
border-radius: 0;
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
`,NavMenuItemButtonIcon=(0,material_namespaceObject.styled)(ListItemIcon)`
|
|
1032
|
-
min-width: unset;
|
|
1033
|
-
`,NavMenuItemButtonText=(0,material_namespaceObject.styled)(OverflowTypography)`
|
|
1034
|
-
width: 'auto';
|
|
1035
|
-
margin-left: ${({theme:e})=>e.spacing(3)};
|
|
1036
|
-
|
|
1037
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
1038
|
-
width: auto;
|
|
1039
|
-
margin-left: 0;
|
|
1040
|
-
}
|
|
1041
|
-
`,NavMenuItemButtonChevron=(0,material_namespaceObject.styled)(external_lucide_react_namespaceObject.ChevronDown,{shouldForwardProp:e=>"collapsedIn"!==e&&"opened"!==e})`
|
|
1042
|
-
transform: ${({opened:e})=>e?"rotateZ(180deg)":"rotateZ(0deg)"};
|
|
1043
|
-
|
|
1044
|
-
width: ${({collapsedIn:e})=>e?"1em":"0px"};
|
|
1045
|
-
margin-left: auto;
|
|
1046
|
-
|
|
1047
|
-
transition: ${({theme:e})=>e.transitions.create("transform",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})};
|
|
1048
|
-
`,ItemButton=e=>{let{collapsedIn:t,opened:a,text:r,icon:n,component:i="a",...o}=e,{isMobile:s}=useViewportType(),l="boolean"==typeof a;return(0,jsx_runtime_namespaceObject.jsxs)(StyledListItemButton,{$isGroupTitleItem:l,component:i,withoutContainer:!0,...o,children:[s?(0,jsx_runtime_namespaceObject.jsx)(NavMenuItemButtonText,{tooltipProps:{placement:"right"},rowsCount:1,children:r}):(0,jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment,{children:[(0,jsx_runtime_namespaceObject.jsx)(Tooltip,{arrow:!0,title:!t&&r,placement:"right",children:(0,jsx_runtime_namespaceObject.jsx)(NavMenuItemButtonIcon,{children:n})}),(0,jsx_runtime_namespaceObject.jsx)(Collapse,{orientation:"horizontal",in:t,children:(0,jsx_runtime_namespaceObject.jsx)(NavMenuItemButtonText,{tooltipProps:{placement:"right"},rowsCount:1,children:r})})]}),l&&(0,jsx_runtime_namespaceObject.jsx)(NavMenuItemButtonChevron,{collapsedIn:t,opened:a})]})},List_List=e=>{let{collapsedIn:t,items:a}=e;return(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.List,{disablePadding:!0,children:a.map(e=>{let[a,r]=e;return(0,jsx_runtime_namespaceObject.jsx)("li",{children:(0,jsx_runtime_namespaceObject.jsx)(ItemButton,{collapsedIn:t,selected:r.active,text:r.text,icon:(0,jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Dot,{}),component:r.component})},a)})})},Item=e=>{let{collapsedIn:t,item:[,a]}=e,{active:r,icon:n,items:i,text:o,component:s,...l}=a,[c,p]=(0,external_react_namespaceObject.useState)(i?.some(([,{active:e}])=>e)),u=(0,external_react_namespaceObject.useMemo)(()=>!c&&r,[c,r]),m=(0,external_react_namespaceObject.useCallback)(()=>{p(e=>{if("boolean"==typeof e)return!e})},[]);return(0,jsx_runtime_namespaceObject.jsxs)("li",{children:[(0,jsx_runtime_namespaceObject.jsx)(ItemButton,{opened:c,collapsedIn:t,selected:u,text:o,icon:n,component:s,...l,onClick:m}),i&&(0,jsx_runtime_namespaceObject.jsx)(Collapse,{in:c,children:(0,jsx_runtime_namespaceObject.jsx)(List_List,{collapsedIn:t,items:i})})]})},NavMenu=e=>{let{collapsedIn:t=!0,items:a}=e;return(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.List,{disablePadding:!0,children:a.map(e=>(0,jsx_runtime_namespaceObject.jsx)(Item,{collapsedIn:t,item:e},e[0]))})},Paper=e=>(0,jsx_runtime_namespaceObject.jsx)(material_namespaceObject.Paper,{...e}),StyledSearchIcon=(0,material_namespaceObject.styled)(external_lucide_react_namespaceObject.Search)`
|
|
1049
|
-
color: ${({theme:e})=>e.palette.grey[600]};
|
|
1050
|
-
`,styles_StyledIconButton=(0,material_namespaceObject.styled)(IconButton,{shouldForwardProp:e=>!["$isActive"].includes(e.toString())})`
|
|
1051
|
-
opacity: ${({$isActive:e})=>+!!e};
|
|
1052
|
-
|
|
1053
|
-
&:hover {
|
|
1054
|
-
background-color: transparent;
|
|
1055
|
-
|
|
1056
|
-
svg {
|
|
1057
|
-
fill: ${({theme:e})=>e.palette.grey["700"]};
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
`,StyledTextField=(0,material_namespaceObject.styled)(TextField)`
|
|
1061
|
-
& .MuiFormHelperText-root {
|
|
1062
|
-
/* TODO Убрать после реализации https://track.astral.ru/soft/browse/UIKIT-1333 */
|
|
1063
|
-
display: none;
|
|
1064
|
-
}
|
|
1065
|
-
`,styles_StyledCloseFillSm=(0,material_namespaceObject.styled)(external_lucide_react_namespaceObject.CircleX)`
|
|
1066
|
-
width: 16px;
|
|
1067
|
-
height: 16px;
|
|
1068
|
-
|
|
1069
|
-
fill: ${({theme:e})=>e.palette.grey["500"]};
|
|
1070
|
-
`,SearchField=(0,external_react_namespaceObject.forwardRef)(({margin:e="none",placeholder:t="Поиск",onChange:a,disabled:r,value:n,defaultValue:i,...o},s)=>{let[l,c]=(0,external_react_namespaceObject.useState)(`${i||n||""}`),p=(0,external_react_namespaceObject.useRef)(null),u=!!l.length;return(0,jsx_runtime_namespaceObject.jsx)(StyledTextField,{margin:e,placeholder:t,startAdornment:(0,jsx_runtime_namespaceObject.jsx)(StyledSearchIcon,{onClick:()=>{p.current?.focus()}}),disabled:r,endAdornment:(0,jsx_runtime_namespaceObject.jsx)(styles_StyledIconButton,{variant:"text",onClick:()=>{c(""),p.current&&(p.current.value="");let e=new InputEvent("input",{bubbles:!0,cancelable:!0});Object.defineProperty(e,"target",{writable:!0,value:p.current}),a?.(e),p.current?.focus()},disabled:r||!u,$isActive:u,children:(0,jsx_runtime_namespaceObject.jsx)(styles_StyledCloseFillSm,{})}),onChange:e=>{c(e.target.value),a?.(e)},value:l,ref:s,inputRef:p,...o})}),styles_StyledBadge=(0,material_namespaceObject.styled)(Badge)`
|
|
1071
|
-
vertical-align: text-top;
|
|
1072
|
-
|
|
1073
|
-
& span.MuiBadge-badge {
|
|
1074
|
-
position: static;
|
|
1075
|
-
transform: none;
|
|
1076
|
-
|
|
1077
|
-
box-sizing: content-box;
|
|
1078
|
-
height: 16px;
|
|
1079
|
-
}
|
|
1080
|
-
`,getCheckableTagBadgeBgColor=({disabled:e,checked:t,checkedColor:a,color:r})=>e?"grey":t?a||"white":r,TagBadge=({color:e="primary",checked:t,disabled:a,checkedColor:r,...n})=>(0,jsx_runtime_namespaceObject.jsx)(styles_StyledBadge,{withBorder:!1,color:getCheckableTagBadgeBgColor({disabled:a,checked:t,checkedColor:r,color:e}),...n});var __webpack_export_target__=exports;for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__]=__webpack_exports__[__webpack_i__];__webpack_exports__.__esModule&&Object.defineProperty(__webpack_export_target__,"__esModule",{value:!0});
|