@etsoo/materialui 1.5.2 → 1.5.4
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/cjs/AddresSelector.d.ts +1 -1
- package/lib/cjs/AddresSelector.js +4 -3
- package/lib/cjs/AuditDisplay.d.ts +1 -1
- package/lib/cjs/AuditDisplay.js +8 -5
- package/lib/cjs/AutocompleteExtendedProps.d.ts +1 -1
- package/lib/cjs/BackButton.d.ts +1 -1
- package/lib/cjs/BackButton.js +4 -3
- package/lib/cjs/BridgeCloseButton.d.ts +2 -1
- package/lib/cjs/BridgeCloseButton.js +3 -2
- package/lib/cjs/ButtonLink.d.ts +1 -1
- package/lib/cjs/ButtonLink.js +7 -4
- package/lib/cjs/ButtonPopover.d.ts +1 -1
- package/lib/cjs/ButtonPopover.js +2 -2
- package/lib/cjs/ComboBox.js +6 -4
- package/lib/cjs/ComboBoxMultiple.js +4 -3
- package/lib/cjs/ComboBoxPro.d.ts +1 -1
- package/lib/cjs/ComboBoxPro.js +2 -2
- package/lib/cjs/CountdownButton.d.ts +1 -1
- package/lib/cjs/CountdownButton.js +4 -3
- package/lib/cjs/DataGridEx.js +15 -11
- package/lib/cjs/DataGridRenderers.js +2 -2
- package/lib/cjs/DataSteps.d.ts +1 -1
- package/lib/cjs/DataSteps.js +9 -6
- package/lib/cjs/DataTable.d.ts +1 -1
- package/lib/cjs/DataTable.js +2 -2
- package/lib/cjs/DialogButton.d.ts +2 -1
- package/lib/cjs/DialogButton.js +9 -3
- package/lib/cjs/DnDList.d.ts +2 -2
- package/lib/cjs/DnDList.js +4 -3
- package/lib/cjs/DraggablePaperComponent.d.ts +1 -1
- package/lib/cjs/DraggablePaperComponent.js +2 -2
- package/lib/cjs/EmailInput.d.ts +1 -1
- package/lib/cjs/EmailInput.js +7 -6
- package/lib/cjs/ErrorAlert.d.ts +1 -1
- package/lib/cjs/ErrorAlert.js +5 -2
- package/lib/cjs/FabBox.d.ts +2 -1
- package/lib/cjs/FabBox.js +6 -4
- package/lib/cjs/FieldSetEx.d.ts +1 -1
- package/lib/cjs/FieldSetEx.js +5 -3
- package/lib/cjs/FileUploadButton.d.ts +1 -1
- package/lib/cjs/FileUploadButton.js +5 -2
- package/lib/cjs/FlexBox.d.ts +1 -1
- package/lib/cjs/FlexBox.js +7 -4
- package/lib/cjs/HiSelector.d.ts +2 -1
- package/lib/cjs/HiSelector.js +3 -2
- package/lib/cjs/HiSelectorTL.d.ts +2 -1
- package/lib/cjs/HiSelectorTL.js +3 -2
- package/lib/cjs/IconButtonLink.d.ts +1 -1
- package/lib/cjs/IconButtonLink.js +5 -2
- package/lib/cjs/InputField.d.ts +4 -4
- package/lib/cjs/InputField.js +2 -2
- package/lib/cjs/InputTipField.js +8 -5
- package/lib/cjs/IntInputField.d.ts +1 -1
- package/lib/cjs/IntInputField.js +8 -6
- package/lib/cjs/ItemList.js +10 -4
- package/lib/cjs/LineChart.js +2 -2
- package/lib/cjs/ListChooser.d.ts +2 -1
- package/lib/cjs/ListChooser.js +8 -4
- package/lib/cjs/ListItemRightIcon.d.ts +1 -1
- package/lib/cjs/ListItemRightIcon.js +6 -2
- package/lib/cjs/ListMoreDisplay.d.ts +1 -1
- package/lib/cjs/ListMoreDisplay.js +7 -3
- package/lib/cjs/LoadingButton.d.ts +2 -1
- package/lib/cjs/LoadingButton.js +4 -3
- package/lib/cjs/MUGlobal.d.ts +2 -1
- package/lib/cjs/MaskInput.d.ts +1 -1
- package/lib/cjs/MaskInput.js +2 -2
- package/lib/cjs/MenuButton.d.ts +2 -1
- package/lib/cjs/MenuButton.js +5 -3
- package/lib/cjs/MobileListItemRenderer.js +14 -5
- package/lib/cjs/MoreFab.d.ts +2 -1
- package/lib/cjs/MoreFab.js +10 -4
- package/lib/cjs/NotifierMU.js +45 -22
- package/lib/cjs/NotifierPopupProps.d.ts +1 -1
- package/lib/cjs/NumberInputField.js +15 -13
- package/lib/cjs/OptionGroup.d.ts +1 -1
- package/lib/cjs/OptionGroup.js +15 -7
- package/lib/cjs/OptionGroupFlag.d.ts +1 -1
- package/lib/cjs/OptionGroupFlag.js +12 -6
- package/lib/cjs/PercentCircularProgress.d.ts +2 -1
- package/lib/cjs/PercentCircularProgress.js +8 -3
- package/lib/cjs/PercentLinearProgress.d.ts +2 -1
- package/lib/cjs/PercentLinearProgress.js +7 -2
- package/lib/cjs/ProgressCount.js +7 -4
- package/lib/cjs/QuickList.d.ts +3 -1
- package/lib/cjs/QuickList.js +6 -2
- package/lib/cjs/ResponsibleContainer.d.ts +1 -1
- package/lib/cjs/ResponsibleContainer.js +8 -6
- package/lib/cjs/ResponsiveStyleValue.d.ts +1 -1
- package/lib/cjs/ScrollTopFab.js +5 -3
- package/lib/cjs/ScrollerListEx.js +2 -2
- package/lib/cjs/SearchBar.js +9 -5
- package/lib/cjs/SearchField.d.ts +1 -1
- package/lib/cjs/SearchField.js +2 -2
- package/lib/cjs/SelectEx.d.ts +1 -1
- package/lib/cjs/SelectEx.js +18 -9
- package/lib/cjs/ShowDataComparison.js +9 -2
- package/lib/cjs/Switch.d.ts +1 -1
- package/lib/cjs/Switch.js +2 -2
- package/lib/cjs/SwitchAnt.js +5 -4
- package/lib/cjs/SwitchField.d.ts +1 -1
- package/lib/cjs/SwitchField.js +6 -3
- package/lib/cjs/TabBox.d.ts +3 -1
- package/lib/cjs/TabBox.js +5 -3
- package/lib/cjs/TableEx.d.ts +1 -1
- package/lib/cjs/TableEx.js +20 -10
- package/lib/cjs/TagList.d.ts +1 -1
- package/lib/cjs/TagList.js +5 -3
- package/lib/cjs/TagListPro.d.ts +1 -1
- package/lib/cjs/TagListPro.js +5 -3
- package/lib/cjs/TextFieldEx.d.ts +4 -4
- package/lib/cjs/TextFieldEx.js +7 -4
- package/lib/cjs/Tiplist.js +2 -2
- package/lib/cjs/TiplistPro.d.ts +1 -1
- package/lib/cjs/TiplistPro.js +2 -2
- package/lib/cjs/TooltipClick.d.ts +1 -1
- package/lib/cjs/TooltipClick.js +3 -2
- package/lib/cjs/TwoFieldInput.js +4 -3
- package/lib/cjs/UserAvatar.js +5 -2
- package/lib/cjs/UserAvatarEditor.js +8 -3
- package/lib/cjs/ViewContainer.d.ts +5 -4
- package/lib/cjs/ViewContainer.js +4 -3
- package/lib/cjs/custom/CustomFieldUtils.d.ts +1 -1
- package/lib/cjs/custom/CustomFieldUtils.js +5 -4
- package/lib/cjs/custom/CustomFieldViewer.d.ts +3 -2
- package/lib/cjs/custom/CustomFieldViewer.js +7 -3
- package/lib/cjs/custom/CustomFieldWindow.d.ts +2 -2
- package/lib/cjs/custom/CustomFieldWindow.js +3 -2
- package/lib/cjs/custom/FieldAmountLabel.js +3 -2
- package/lib/cjs/custom/FieldCheckbox.js +2 -2
- package/lib/cjs/custom/FieldCombobox.js +2 -2
- package/lib/cjs/custom/FieldDateInput.js +2 -2
- package/lib/cjs/custom/FieldDivider.js +2 -2
- package/lib/cjs/custom/FieldInput.js +2 -2
- package/lib/cjs/custom/FieldJson.js +2 -2
- package/lib/cjs/custom/FieldNumberInput.js +2 -2
- package/lib/cjs/custom/FieldRadio.js +2 -2
- package/lib/cjs/custom/FieldSelect.js +2 -2
- package/lib/cjs/custom/FieldSwitch.js +2 -2
- package/lib/cjs/custom/FieldTexarea.js +2 -2
- package/lib/cjs/pages/CommonPage.d.ts +2 -1
- package/lib/cjs/pages/CommonPage.js +6 -4
- package/lib/cjs/pages/DataGridPage.js +3 -2
- package/lib/cjs/pages/DrawerHeader.d.ts +1 -1
- package/lib/cjs/pages/DrawerHeader.js +2 -2
- package/lib/cjs/pages/EditPage.js +4 -3
- package/lib/cjs/pages/FixedListPage.js +4 -3
- package/lib/cjs/pages/LeftDrawer.js +8 -3
- package/lib/cjs/pages/ListPage.js +3 -2
- package/lib/cjs/pages/TablePage.js +3 -2
- package/lib/cjs/pages/UserMenu.js +3 -2
- package/lib/cjs/pages/ViewPage.js +4 -3
- package/lib/cjs/texts/DateText.d.ts +1 -1
- package/lib/cjs/texts/DateText.js +5 -2
- package/lib/cjs/texts/MoneyText.js +5 -2
- package/lib/cjs/texts/NumberText.d.ts +1 -1
- package/lib/cjs/texts/NumberText.js +5 -2
- package/lib/cjs/useCurrentBreakpoint.d.ts +1 -1
- package/lib/cjs/useCurrentBreakpoint.js +11 -7
- package/lib/mjs/AddresSelector.d.ts +1 -1
- package/lib/mjs/AddresSelector.js +4 -3
- package/lib/mjs/AuditDisplay.d.ts +1 -1
- package/lib/mjs/AuditDisplay.js +4 -1
- package/lib/mjs/AutocompleteExtendedProps.d.ts +1 -1
- package/lib/mjs/BackButton.d.ts +1 -1
- package/lib/mjs/BackButton.js +2 -1
- package/lib/mjs/BridgeCloseButton.d.ts +2 -1
- package/lib/mjs/BridgeCloseButton.js +2 -1
- package/lib/mjs/ButtonLink.d.ts +1 -1
- package/lib/mjs/ButtonLink.js +2 -2
- package/lib/mjs/ButtonPopover.d.ts +1 -1
- package/lib/mjs/ButtonPopover.js +1 -1
- package/lib/mjs/ComboBox.js +4 -2
- package/lib/mjs/ComboBoxMultiple.js +2 -1
- package/lib/mjs/ComboBoxPro.d.ts +1 -1
- package/lib/mjs/ComboBoxPro.js +1 -1
- package/lib/mjs/CountdownButton.d.ts +1 -1
- package/lib/mjs/CountdownButton.js +2 -1
- package/lib/mjs/DataGridEx.js +5 -1
- package/lib/mjs/DataGridRenderers.js +1 -1
- package/lib/mjs/DataSteps.d.ts +1 -1
- package/lib/mjs/DataSteps.js +4 -1
- package/lib/mjs/DataTable.d.ts +1 -1
- package/lib/mjs/DataTable.js +1 -1
- package/lib/mjs/DialogButton.d.ts +2 -1
- package/lib/mjs/DialogButton.js +7 -1
- package/lib/mjs/DnDList.d.ts +2 -2
- package/lib/mjs/DnDList.js +2 -1
- package/lib/mjs/DraggablePaperComponent.d.ts +1 -1
- package/lib/mjs/DraggablePaperComponent.js +1 -1
- package/lib/mjs/EmailInput.d.ts +1 -1
- package/lib/mjs/EmailInput.js +4 -6
- package/lib/mjs/ErrorAlert.d.ts +1 -1
- package/lib/mjs/ErrorAlert.js +1 -1
- package/lib/mjs/FabBox.d.ts +2 -1
- package/lib/mjs/FabBox.js +3 -1
- package/lib/mjs/FieldSetEx.d.ts +1 -1
- package/lib/mjs/FieldSetEx.js +3 -1
- package/lib/mjs/FileUploadButton.d.ts +1 -1
- package/lib/mjs/FileUploadButton.js +1 -1
- package/lib/mjs/FlexBox.d.ts +1 -1
- package/lib/mjs/FlexBox.js +1 -1
- package/lib/mjs/HiSelector.d.ts +2 -1
- package/lib/mjs/HiSelector.js +3 -2
- package/lib/mjs/HiSelectorTL.d.ts +2 -1
- package/lib/mjs/HiSelectorTL.js +3 -2
- package/lib/mjs/IconButtonLink.d.ts +1 -1
- package/lib/mjs/IconButtonLink.js +1 -1
- package/lib/mjs/InputField.d.ts +1 -1
- package/lib/mjs/InputField.js +1 -1
- package/lib/mjs/InputTipField.js +4 -1
- package/lib/mjs/IntInputField.d.ts +1 -1
- package/lib/mjs/IntInputField.js +3 -1
- package/lib/mjs/ItemList.js +7 -1
- package/lib/mjs/LineChart.js +1 -1
- package/lib/mjs/ListChooser.d.ts +2 -1
- package/lib/mjs/ListChooser.js +6 -2
- package/lib/mjs/ListItemRightIcon.d.ts +1 -1
- package/lib/mjs/ListItemRightIcon.js +2 -1
- package/lib/mjs/ListMoreDisplay.d.ts +1 -1
- package/lib/mjs/ListMoreDisplay.js +5 -1
- package/lib/mjs/LoadingButton.d.ts +2 -1
- package/lib/mjs/LoadingButton.js +2 -1
- package/lib/mjs/MUGlobal.d.ts +2 -1
- package/lib/mjs/MaskInput.d.ts +1 -1
- package/lib/mjs/MaskInput.js +1 -1
- package/lib/mjs/MenuButton.d.ts +2 -1
- package/lib/mjs/MenuButton.js +3 -1
- package/lib/mjs/MobileListItemRenderer.js +8 -2
- package/lib/mjs/MoreFab.d.ts +2 -1
- package/lib/mjs/MoreFab.js +7 -1
- package/lib/mjs/NotifierMU.js +32 -9
- package/lib/mjs/NotifierPopupProps.d.ts +1 -1
- package/lib/mjs/NumberInputField.js +15 -13
- package/lib/mjs/OptionGroup.d.ts +1 -1
- package/lib/mjs/OptionGroup.js +9 -1
- package/lib/mjs/OptionGroupFlag.d.ts +1 -1
- package/lib/mjs/OptionGroupFlag.js +7 -1
- package/lib/mjs/PercentCircularProgress.d.ts +2 -1
- package/lib/mjs/PercentCircularProgress.js +3 -1
- package/lib/mjs/PercentLinearProgress.d.ts +2 -1
- package/lib/mjs/PercentLinearProgress.js +3 -1
- package/lib/mjs/ProgressCount.js +4 -1
- package/lib/mjs/QuickList.d.ts +3 -1
- package/lib/mjs/QuickList.js +5 -1
- package/lib/mjs/ResponsibleContainer.d.ts +1 -1
- package/lib/mjs/ResponsibleContainer.js +3 -1
- package/lib/mjs/ResponsiveStyleValue.d.ts +1 -1
- package/lib/mjs/ScrollTopFab.js +3 -1
- package/lib/mjs/ScrollerListEx.js +1 -1
- package/lib/mjs/SearchBar.js +5 -1
- package/lib/mjs/SearchField.d.ts +1 -1
- package/lib/mjs/SearchField.js +1 -1
- package/lib/mjs/SelectEx.d.ts +1 -1
- package/lib/mjs/SelectEx.js +11 -2
- package/lib/mjs/ShowDataComparison.js +5 -1
- package/lib/mjs/Switch.d.ts +1 -1
- package/lib/mjs/Switch.js +1 -1
- package/lib/mjs/SwitchAnt.js +3 -2
- package/lib/mjs/SwitchField.d.ts +1 -1
- package/lib/mjs/SwitchField.js +4 -1
- package/lib/mjs/TabBox.d.ts +3 -1
- package/lib/mjs/TabBox.js +3 -1
- package/lib/mjs/TableEx.d.ts +1 -1
- package/lib/mjs/TableEx.js +11 -1
- package/lib/mjs/TagList.d.ts +1 -1
- package/lib/mjs/TagList.js +3 -1
- package/lib/mjs/TagListPro.d.ts +1 -1
- package/lib/mjs/TagListPro.js +3 -1
- package/lib/mjs/TextFieldEx.d.ts +1 -1
- package/lib/mjs/TextFieldEx.js +6 -3
- package/lib/mjs/Tiplist.js +1 -1
- package/lib/mjs/TiplistPro.d.ts +1 -1
- package/lib/mjs/TiplistPro.js +1 -1
- package/lib/mjs/TooltipClick.d.ts +1 -1
- package/lib/mjs/TooltipClick.js +2 -1
- package/lib/mjs/TwoFieldInput.js +2 -1
- package/lib/mjs/UserAvatar.js +1 -1
- package/lib/mjs/UserAvatarEditor.js +6 -1
- package/lib/mjs/ViewContainer.d.ts +5 -4
- package/lib/mjs/ViewContainer.js +4 -3
- package/lib/mjs/custom/CustomFieldUtils.d.ts +1 -1
- package/lib/mjs/custom/CustomFieldUtils.js +4 -3
- package/lib/mjs/custom/CustomFieldViewer.d.ts +3 -2
- package/lib/mjs/custom/CustomFieldViewer.js +4 -3
- package/lib/mjs/custom/CustomFieldWindow.d.ts +2 -2
- package/lib/mjs/custom/CustomFieldWindow.js +3 -2
- package/lib/mjs/custom/FieldAmountLabel.js +2 -1
- package/lib/mjs/custom/FieldCheckbox.js +1 -1
- package/lib/mjs/custom/FieldCombobox.js +1 -1
- package/lib/mjs/custom/FieldDateInput.js +1 -1
- package/lib/mjs/custom/FieldDivider.js +1 -1
- package/lib/mjs/custom/FieldInput.js +1 -1
- package/lib/mjs/custom/FieldJson.js +1 -1
- package/lib/mjs/custom/FieldNumberInput.js +1 -1
- package/lib/mjs/custom/FieldRadio.js +1 -1
- package/lib/mjs/custom/FieldSelect.js +1 -1
- package/lib/mjs/custom/FieldSwitch.js +1 -1
- package/lib/mjs/custom/FieldTexarea.js +1 -1
- package/lib/mjs/pages/CommonPage.d.ts +2 -1
- package/lib/mjs/pages/CommonPage.js +3 -1
- package/lib/mjs/pages/DataGridPage.js +2 -1
- package/lib/mjs/pages/DrawerHeader.js +1 -1
- package/lib/mjs/pages/EditPage.js +3 -2
- package/lib/mjs/pages/FixedListPage.js +2 -1
- package/lib/mjs/pages/LeftDrawer.js +6 -1
- package/lib/mjs/pages/ListPage.js +2 -1
- package/lib/mjs/pages/TablePage.js +2 -1
- package/lib/mjs/pages/UserMenu.js +2 -1
- package/lib/mjs/pages/ViewPage.js +2 -1
- package/lib/mjs/texts/DateText.d.ts +1 -1
- package/lib/mjs/texts/DateText.js +1 -1
- package/lib/mjs/texts/MoneyText.js +1 -1
- package/lib/mjs/texts/NumberText.d.ts +1 -1
- package/lib/mjs/texts/NumberText.js +1 -1
- package/lib/mjs/useCurrentBreakpoint.d.ts +1 -1
- package/lib/mjs/useCurrentBreakpoint.js +2 -1
- package/package.json +10 -10
- package/src/AddresSelector.tsx +12 -11
- package/src/AuditDisplay.tsx +4 -1
- package/src/AutocompleteExtendedProps.ts +1 -1
- package/src/BackButton.tsx +2 -1
- package/src/BridgeCloseButton.tsx +2 -1
- package/src/ButtonLink.tsx +3 -3
- package/src/ButtonPopover.tsx +1 -1
- package/src/ComboBox.tsx +6 -7
- package/src/ComboBoxMultiple.tsx +4 -6
- package/src/ComboBoxPro.tsx +1 -1
- package/src/CountdownButton.tsx +2 -1
- package/src/CultureDataTable.tsx +1 -1
- package/src/DataGridEx.tsx +5 -8
- package/src/DataGridRenderers.tsx +1 -1
- package/src/DataSteps.tsx +4 -7
- package/src/DataTable.tsx +4 -7
- package/src/DialogButton.tsx +8 -11
- package/src/DnDList.tsx +9 -10
- package/src/DraggablePaperComponent.tsx +1 -1
- package/src/EmailInput.tsx +4 -8
- package/src/ErrorAlert.tsx +1 -1
- package/src/FabBox.tsx +3 -1
- package/src/FieldSetEx.tsx +3 -6
- package/src/FileUploadButton.tsx +1 -1
- package/src/FlexBox.tsx +1 -1
- package/src/HiSelector.tsx +13 -11
- package/src/HiSelectorTL.tsx +16 -17
- package/src/IconButtonLink.tsx +1 -2
- package/src/InputField.tsx +1 -1
- package/src/InputTipField.tsx +4 -1
- package/src/IntInputField.tsx +3 -1
- package/src/ItemList.tsx +7 -9
- package/src/LineChart.tsx +1 -1
- package/src/ListChooser.tsx +8 -10
- package/src/ListItemRightIcon.tsx +2 -1
- package/src/ListMoreDisplay.tsx +5 -8
- package/src/LoadingButton.tsx +3 -5
- package/src/MUGlobal.ts +2 -1
- package/src/MaskInput.tsx +1 -1
- package/src/MenuButton.tsx +3 -1
- package/src/MobileListItemRenderer.tsx +8 -3
- package/src/MoreFab.tsx +9 -11
- package/src/NotifierMU.tsx +34 -34
- package/src/NotifierPopupProps.ts +1 -1
- package/src/NumberInputField.tsx +21 -20
- package/src/OptionGroup.tsx +9 -12
- package/src/OptionGroupFlag.tsx +7 -10
- package/src/PercentCircularProgress.tsx +5 -8
- package/src/PercentLinearProgress.tsx +5 -8
- package/src/ProgressCount.tsx +4 -6
- package/src/QuickList.tsx +8 -10
- package/src/ResponsibleContainer.tsx +4 -1
- package/src/ResponsiveStyleValue.ts +1 -1
- package/src/ScrollTopFab.tsx +3 -1
- package/src/ScrollerListEx.tsx +1 -1
- package/src/SearchBar.tsx +5 -8
- package/src/SearchField.tsx +1 -1
- package/src/SearchOptionGroup.tsx +0 -1
- package/src/SelectEx.tsx +11 -15
- package/src/ShowDataComparison.tsx +5 -7
- package/src/Switch.tsx +3 -1
- package/src/SwitchAnt.tsx +3 -2
- package/src/SwitchField.tsx +4 -7
- package/src/TabBox.tsx +3 -1
- package/src/TableEx.tsx +11 -15
- package/src/TagList.tsx +3 -1
- package/src/TagListPro.tsx +3 -1
- package/src/TextFieldEx.tsx +7 -9
- package/src/Tiplist.tsx +3 -1
- package/src/TiplistPro.tsx +1 -1
- package/src/TooltipClick.tsx +2 -1
- package/src/TwoFieldInput.tsx +2 -1
- package/src/UserAvatar.tsx +1 -1
- package/src/UserAvatarEditor.tsx +6 -8
- package/src/ViewContainer.tsx +16 -14
- package/src/custom/CustomFieldUtils.tsx +6 -6
- package/src/custom/CustomFieldViewer.tsx +7 -6
- package/src/custom/CustomFieldWindow.tsx +5 -4
- package/src/custom/FieldAmountLabel.tsx +2 -1
- package/src/custom/FieldCheckbox.tsx +1 -1
- package/src/custom/FieldCombobox.tsx +1 -1
- package/src/custom/FieldDateInput.tsx +1 -1
- package/src/custom/FieldDivider.tsx +1 -1
- package/src/custom/FieldInput.tsx +1 -1
- package/src/custom/FieldJson.tsx +1 -1
- package/src/custom/FieldNumberInput.tsx +1 -1
- package/src/custom/FieldRadio.tsx +1 -1
- package/src/custom/FieldSelect.tsx +1 -1
- package/src/custom/FieldSwitch.tsx +1 -1
- package/src/custom/FieldTexarea.tsx +1 -1
- package/src/pages/CommonPage.tsx +3 -1
- package/src/pages/DataGridPage.tsx +2 -1
- package/src/pages/DrawerHeader.tsx +1 -1
- package/src/pages/EditPage.tsx +6 -10
- package/src/pages/FixedListPage.tsx +2 -1
- package/src/pages/LeftDrawer.tsx +6 -8
- package/src/pages/ListPage.tsx +2 -1
- package/src/pages/TablePage.tsx +2 -1
- package/src/pages/UserMenu.tsx +2 -1
- package/src/pages/ViewPage.tsx +2 -1
- package/src/texts/DateText.tsx +1 -2
- package/src/texts/MoneyText.tsx +1 -2
- package/src/texts/NumberText.tsx +1 -2
- package/src/useCurrentBreakpoint.ts +2 -1
package/src/LoadingButton.tsx
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
ButtonProps,
|
|
4
|
-
CircularProgress,
|
|
1
|
+
import Button, { ButtonProps } from "@mui/material/Button";
|
|
2
|
+
import CircularProgress, {
|
|
5
3
|
CircularProgressProps
|
|
6
|
-
} from "@mui/material";
|
|
4
|
+
} from "@mui/material/CircularProgress";
|
|
7
5
|
import React from "react";
|
|
8
6
|
|
|
9
7
|
/**
|
package/src/MUGlobal.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { NumberUtils } from "@etsoo/shared";
|
|
2
|
-
import {
|
|
2
|
+
import { ListItemButtonProps } from "@mui/material/ListItemButton";
|
|
3
|
+
import { Breakpoint, Theme } from "@mui/material/styles";
|
|
3
4
|
import { Link } from "react-router";
|
|
4
5
|
|
|
5
6
|
/**
|
package/src/MaskInput.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TextField, TextFieldProps } from "@mui/material";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { MUGlobal } from "./MUGlobal";
|
|
3
|
+
import TextField, { TextFieldProps } from "@mui/material/TextField";
|
|
4
4
|
|
|
5
5
|
type ReactIMask = typeof import("react-imask", { with: { "resolution-mode": "import" }}).useIMask;
|
|
6
6
|
type RIOpts = Parameters<ReactIMask>[0];
|
package/src/MenuButton.tsx
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { DataTypes } from "@etsoo/shared";
|
|
2
|
-
import
|
|
2
|
+
import Button, { ButtonProps } from "@mui/material/Button";
|
|
3
|
+
import Menu, { MenuProps } from "@mui/material/Menu";
|
|
4
|
+
import MenuItem from "@mui/material/MenuItem";
|
|
3
5
|
import React from "react";
|
|
4
6
|
|
|
5
7
|
export type MenuButtonProps<T extends DataTypes.IdItem> = Omit<
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { ListItemReact } from "@etsoo/react";
|
|
2
|
-
import { Card, CardContent, CardHeader, LinearProgress } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { MoreFab } from "./MoreFab";
|
|
5
4
|
import { ScrollerListExInnerItemRendererProps } from "./ScrollerListEx";
|
|
5
|
+
import LinearProgress from "@mui/material/LinearProgress";
|
|
6
|
+
import Card from "@mui/material/Card";
|
|
7
|
+
import CardHeader from "@mui/material/CardHeader";
|
|
8
|
+
import CardContent from "@mui/material/CardContent";
|
|
6
9
|
|
|
7
10
|
/**
|
|
8
11
|
* Default mobile list item renderer
|
|
@@ -58,9 +61,11 @@ export function MobileListItemRenderer<T>(
|
|
|
58
61
|
)
|
|
59
62
|
}
|
|
60
63
|
title={title}
|
|
61
|
-
titleTypographyProps={{ variant: "body2" }}
|
|
62
64
|
subheader={subheader}
|
|
63
|
-
|
|
65
|
+
slotProps={{
|
|
66
|
+
title: { variant: "body2" },
|
|
67
|
+
subheader: { variant: "caption" }
|
|
68
|
+
}}
|
|
64
69
|
/>
|
|
65
70
|
<CardContent
|
|
66
71
|
sx={{
|
package/src/MoreFab.tsx
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { CustomFabProps } from "./CustomFabProps";
|
|
2
2
|
import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import {
|
|
5
|
-
Divider,
|
|
6
|
-
Fab,
|
|
7
|
-
IconButton,
|
|
8
|
-
ListItemIcon,
|
|
9
|
-
ListItemText,
|
|
10
|
-
Menu,
|
|
11
|
-
MenuItem,
|
|
12
|
-
PaperProps,
|
|
13
|
-
PopoverOrigin
|
|
14
|
-
} from "@mui/material";
|
|
15
4
|
import { Link } from "react-router";
|
|
16
5
|
import { ListItemReact } from "@etsoo/react";
|
|
6
|
+
import { PopoverOrigin } from "@mui/material/Popover";
|
|
7
|
+
import { PaperProps } from "@mui/material/Paper";
|
|
8
|
+
import IconButton from "@mui/material/IconButton";
|
|
9
|
+
import Fab from "@mui/material/Fab";
|
|
10
|
+
import Menu from "@mui/material/Menu";
|
|
11
|
+
import Divider from "@mui/material/Divider";
|
|
12
|
+
import MenuItem from "@mui/material/MenuItem";
|
|
13
|
+
import ListItemIcon from "@mui/material/ListItemIcon";
|
|
14
|
+
import ListItemText from "@mui/material/ListItemText";
|
|
17
15
|
|
|
18
16
|
/**
|
|
19
17
|
* More fab props
|
package/src/NotifierMU.tsx
CHANGED
|
@@ -5,34 +5,6 @@ import {
|
|
|
5
5
|
NotificationType
|
|
6
6
|
} from "@etsoo/notificationbase";
|
|
7
7
|
import { DataTypes, DomUtils } from "@etsoo/shared";
|
|
8
|
-
import {
|
|
9
|
-
Alert,
|
|
10
|
-
AlertColor,
|
|
11
|
-
AlertProps,
|
|
12
|
-
AlertTitle,
|
|
13
|
-
Backdrop,
|
|
14
|
-
Box,
|
|
15
|
-
Button,
|
|
16
|
-
CircularProgress,
|
|
17
|
-
CircularProgressProps,
|
|
18
|
-
Dialog,
|
|
19
|
-
DialogActions,
|
|
20
|
-
DialogContent,
|
|
21
|
-
DialogContentText,
|
|
22
|
-
DialogTitle,
|
|
23
|
-
DialogTitleProps,
|
|
24
|
-
Fade,
|
|
25
|
-
IconButton,
|
|
26
|
-
Popover,
|
|
27
|
-
Slider,
|
|
28
|
-
Snackbar,
|
|
29
|
-
styled,
|
|
30
|
-
Switch,
|
|
31
|
-
TextField,
|
|
32
|
-
Typography
|
|
33
|
-
} from "@mui/material";
|
|
34
|
-
import { Error, Info, Help, Warning, Done } from "@mui/icons-material";
|
|
35
|
-
import CloseIcon from "@mui/icons-material/Close";
|
|
36
8
|
import React from "react";
|
|
37
9
|
import {
|
|
38
10
|
INotificationBaseReact,
|
|
@@ -43,6 +15,34 @@ import {
|
|
|
43
15
|
import { DraggablePaperComponent } from "./DraggablePaperComponent";
|
|
44
16
|
import { LoadingButton, LoadingButtonProps } from "./LoadingButton";
|
|
45
17
|
import { Labels } from "./app/Labels";
|
|
18
|
+
import DialogTitle, { DialogTitleProps } from "@mui/material/DialogTitle";
|
|
19
|
+
import { styled } from "@mui/material/styles";
|
|
20
|
+
import Dialog from "@mui/material/Dialog";
|
|
21
|
+
import IconButton from "@mui/material/IconButton";
|
|
22
|
+
import DialogContent from "@mui/material/DialogContent";
|
|
23
|
+
import DialogActions from "@mui/material/DialogActions";
|
|
24
|
+
import DialogContentText from "@mui/material/DialogContentText";
|
|
25
|
+
import Fade from "@mui/material/Fade";
|
|
26
|
+
import Alert, { AlertColor, AlertProps } from "@mui/material/Alert";
|
|
27
|
+
import AlertTitle from "@mui/material/AlertTitle";
|
|
28
|
+
import Switch from "@mui/material/Switch";
|
|
29
|
+
import Slider from "@mui/material/Slider";
|
|
30
|
+
import TextField from "@mui/material/TextField";
|
|
31
|
+
import Typography from "@mui/material/Typography";
|
|
32
|
+
import Button from "@mui/material/Button";
|
|
33
|
+
import Popover from "@mui/material/Popover";
|
|
34
|
+
import CircularProgress, {
|
|
35
|
+
CircularProgressProps
|
|
36
|
+
} from "@mui/material/CircularProgress";
|
|
37
|
+
import Backdrop from "@mui/material/Backdrop";
|
|
38
|
+
import Box from "@mui/material/Box";
|
|
39
|
+
import Snackbar from "@mui/material/Snackbar";
|
|
40
|
+
import CloseIcon from "@mui/icons-material/Close";
|
|
41
|
+
import DoneIcon from "@mui/icons-material/Done";
|
|
42
|
+
import InfoIcon from "@mui/icons-material/Info";
|
|
43
|
+
import WarningIcon from "@mui/icons-material/Warning";
|
|
44
|
+
import ErrorIcon from "@mui/icons-material/Error";
|
|
45
|
+
import HelpIcon from "@mui/icons-material/Help";
|
|
46
46
|
|
|
47
47
|
type StyledDialogTitleProps = DialogTitleProps & {
|
|
48
48
|
draggable?: boolean;
|
|
@@ -94,16 +94,16 @@ export class NotificationMU extends NotificationReact {
|
|
|
94
94
|
let title = this.title;
|
|
95
95
|
let icon: React.ReactNode;
|
|
96
96
|
if (this.type === NotificationMessageType.Success) {
|
|
97
|
-
icon = <
|
|
97
|
+
icon = <DoneIcon color="primary" />;
|
|
98
98
|
title ??= labels.success;
|
|
99
99
|
} else if (this.type === NotificationMessageType.Info) {
|
|
100
|
-
icon = <
|
|
100
|
+
icon = <InfoIcon />;
|
|
101
101
|
title ??= labels.info;
|
|
102
102
|
} else if (this.type === NotificationMessageType.Warning) {
|
|
103
|
-
icon = <
|
|
103
|
+
icon = <WarningIcon color="secondary" />;
|
|
104
104
|
title ??= labels.warning;
|
|
105
105
|
} else {
|
|
106
|
-
icon = <
|
|
106
|
+
icon = <ErrorIcon color="error" />;
|
|
107
107
|
title ??= labels.alertTitle;
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -223,7 +223,7 @@ export class NotificationMU extends NotificationReact {
|
|
|
223
223
|
draggable ? "dialog-title draggable-dialog-title" : "dialog-title"
|
|
224
224
|
}
|
|
225
225
|
>
|
|
226
|
-
<
|
|
226
|
+
<HelpIcon color="action" />
|
|
227
227
|
<span className="dialogTitle">{title}</span>
|
|
228
228
|
{closable && (
|
|
229
229
|
<IconButton
|
|
@@ -462,7 +462,7 @@ export class NotificationMU extends NotificationReact {
|
|
|
462
462
|
draggable ? "dialog-title draggable-dialog-title" : "dialog-title"
|
|
463
463
|
}
|
|
464
464
|
>
|
|
465
|
-
<
|
|
465
|
+
<InfoIcon color="primary" />
|
|
466
466
|
<span className="dialogTitle">{title}</span>
|
|
467
467
|
{closable && (
|
|
468
468
|
<IconButton
|
package/src/NumberInputField.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { InputField, InputFieldProps } from "./InputField";
|
|
3
3
|
import { Currency } from "@etsoo/appscript";
|
|
4
|
-
import { InputAdornment } from "@mui/material";
|
|
5
4
|
import { NumberUtils } from "@etsoo/shared";
|
|
5
|
+
import InputAdornment from "@mui/material/InputAdornment";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Number input field properties
|
|
@@ -63,31 +63,32 @@ export function NumberInputField(props: NumberInputFieldProps) {
|
|
|
63
63
|
: undefined,
|
|
64
64
|
endSymbol,
|
|
65
65
|
max = 9999999,
|
|
66
|
-
|
|
66
|
+
slotProps = {},
|
|
67
67
|
...rest
|
|
68
68
|
} = props;
|
|
69
69
|
|
|
70
70
|
return (
|
|
71
71
|
<InputField
|
|
72
72
|
type="number"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
73
|
+
slotProps={Object.assign(slotProps, {
|
|
74
|
+
input: {
|
|
75
|
+
startAdornment: symbol ? (
|
|
76
|
+
<React.Fragment>
|
|
77
|
+
<InputAdornment position="start">{symbol}</InputAdornment>
|
|
78
|
+
</React.Fragment>
|
|
79
|
+
) : undefined,
|
|
80
|
+
endAdornment: endSymbol ? (
|
|
81
|
+
<InputAdornment position="end">{endSymbol}</InputAdornment>
|
|
82
|
+
) : undefined
|
|
83
|
+
},
|
|
84
|
+
htmlInput: {
|
|
85
|
+
min,
|
|
86
|
+
step,
|
|
87
|
+
max,
|
|
88
|
+
style: inputStyle,
|
|
89
|
+
inputMode: "numeric"
|
|
90
|
+
}
|
|
91
|
+
})}
|
|
91
92
|
{...rest}
|
|
92
93
|
/>
|
|
93
94
|
);
|
package/src/OptionGroup.tsx
CHANGED
|
@@ -5,19 +5,16 @@ import {
|
|
|
5
5
|
ListType,
|
|
6
6
|
Utils
|
|
7
7
|
} from "@etsoo/shared";
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
FormHelperText,
|
|
16
|
-
InputLabel,
|
|
17
|
-
Radio,
|
|
18
|
-
RadioGroup
|
|
19
|
-
} from "@mui/material";
|
|
8
|
+
import Box from "@mui/material/Box";
|
|
9
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
10
|
+
import FormControl, { FormControlProps } from "@mui/material/FormControl";
|
|
11
|
+
import FormControlLabel from "@mui/material/FormControlLabel";
|
|
12
|
+
import FormGroup from "@mui/material/FormGroup";
|
|
13
|
+
import FormHelperText from "@mui/material/FormHelperText";
|
|
14
|
+
import InputLabel from "@mui/material/InputLabel";
|
|
20
15
|
import NotchedOutline from "@mui/material/OutlinedInput";
|
|
16
|
+
import Radio from "@mui/material/Radio";
|
|
17
|
+
import RadioGroup from "@mui/material/RadioGroup";
|
|
21
18
|
import React from "react";
|
|
22
19
|
|
|
23
20
|
/**
|
package/src/OptionGroupFlag.tsx
CHANGED
|
@@ -5,16 +5,13 @@ import {
|
|
|
5
5
|
ListType,
|
|
6
6
|
Utils
|
|
7
7
|
} from "@etsoo/shared";
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
FormHelperText,
|
|
16
|
-
InputLabel
|
|
17
|
-
} from "@mui/material";
|
|
8
|
+
import Box from "@mui/material/Box";
|
|
9
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
10
|
+
import FormControl, { FormControlProps } from "@mui/material/FormControl";
|
|
11
|
+
import FormControlLabel from "@mui/material/FormControlLabel";
|
|
12
|
+
import FormGroup from "@mui/material/FormGroup";
|
|
13
|
+
import FormHelperText from "@mui/material/FormHelperText";
|
|
14
|
+
import InputLabel from "@mui/material/InputLabel";
|
|
18
15
|
import NotchedOutline from "@mui/material/OutlinedInput";
|
|
19
16
|
import React from "react";
|
|
20
17
|
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
TypographyProps
|
|
7
|
-
} from "@mui/material";
|
|
8
|
-
import React from "react";
|
|
1
|
+
import Box from "@mui/material/Box";
|
|
2
|
+
import CircularProgress, {
|
|
3
|
+
CircularProgressProps
|
|
4
|
+
} from "@mui/material/CircularProgress";
|
|
5
|
+
import Typography, { TypographyProps } from "@mui/material/Typography";
|
|
9
6
|
|
|
10
7
|
export type PercentCircularProgressProps = CircularProgressProps & {
|
|
11
8
|
value: number;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
TypographyProps
|
|
7
|
-
} from "@mui/material";
|
|
8
|
-
import React from "react";
|
|
1
|
+
import Box from "@mui/material/Box";
|
|
2
|
+
import LinearProgress, {
|
|
3
|
+
LinearProgressProps
|
|
4
|
+
} from "@mui/material/LinearProgress";
|
|
5
|
+
import Typography, { TypographyProps } from "@mui/material/Typography";
|
|
9
6
|
|
|
10
7
|
export type PercentLinearProgressProps = LinearProgressProps & {
|
|
11
8
|
value: number;
|
package/src/ProgressCount.tsx
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Typography
|
|
6
|
-
} from "@mui/material";
|
|
1
|
+
import Box from "@mui/material/Box";
|
|
2
|
+
import CircularProgress from "@mui/material/CircularProgress";
|
|
3
|
+
import LinearProgress from "@mui/material/LinearProgress";
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
7
5
|
import React from "react";
|
|
8
6
|
|
|
9
7
|
/**
|
package/src/QuickList.tsx
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { DataTypes, ListType2 } from "@etsoo/shared";
|
|
2
|
-
import {
|
|
3
|
-
LinearProgress,
|
|
4
|
-
List,
|
|
5
|
-
ListItem,
|
|
6
|
-
ListItemButton,
|
|
7
|
-
ListItemButtonProps,
|
|
8
|
-
ListItemProps,
|
|
9
|
-
StackProps,
|
|
10
|
-
Typography
|
|
11
|
-
} from "@mui/material";
|
|
12
2
|
import React from "react";
|
|
13
3
|
import { InputField, InputFieldProps } from "./InputField";
|
|
14
4
|
import { VBox } from "./FlexBox";
|
|
15
5
|
import { useAppContext } from "./app/ReactApp";
|
|
6
|
+
import { StackProps } from "@mui/material/Stack";
|
|
7
|
+
import ListItemButton, {
|
|
8
|
+
ListItemButtonProps
|
|
9
|
+
} from "@mui/material/ListItemButton";
|
|
10
|
+
import ListItem, { ListItemProps } from "@mui/material/ListItem";
|
|
11
|
+
import LinearProgress from "@mui/material/LinearProgress";
|
|
12
|
+
import Typography from "@mui/material/Typography";
|
|
13
|
+
import List from "@mui/material/List";
|
|
16
14
|
|
|
17
15
|
/**
|
|
18
16
|
* Quick list props
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Box, Stack, SxProps, Theme, useMediaQuery } from "@mui/material";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import {
|
|
4
3
|
GridOnScrollProps,
|
|
@@ -29,6 +28,10 @@ import {
|
|
|
29
28
|
import { SearchBar } from "./SearchBar";
|
|
30
29
|
import { Labels } from "./app/Labels";
|
|
31
30
|
import { GridUtils } from "./GridUtils";
|
|
31
|
+
import { SxProps, Theme } from "@mui/material/styles";
|
|
32
|
+
import useMediaQuery from "@mui/material/useMediaQuery";
|
|
33
|
+
import Box from "@mui/material/Box";
|
|
34
|
+
import Stack from "@mui/material/Stack";
|
|
32
35
|
|
|
33
36
|
/**
|
|
34
37
|
* ResponsibleContainer props
|
package/src/ScrollTopFab.tsx
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Fab, useScrollTrigger, Zoom } from "@mui/material";
|
|
3
2
|
import VerticalAlignTopIcon from "@mui/icons-material/VerticalAlignTop";
|
|
4
3
|
import { CustomFabProps } from "./CustomFabProps";
|
|
4
|
+
import useScrollTrigger from "@mui/material/useScrollTrigger";
|
|
5
|
+
import Zoom from "@mui/material/Zoom";
|
|
6
|
+
import Fab from "@mui/material/Fab";
|
|
5
7
|
|
|
6
8
|
/**
|
|
7
9
|
* Scroll to top fab
|
package/src/ScrollerListEx.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { css } from "@emotion/css";
|
|
2
2
|
import { ScrollerList, ScrollerListProps } from "@etsoo/react";
|
|
3
3
|
import { DataTypes, Utils } from "@etsoo/shared";
|
|
4
|
-
import { useTheme } from "@mui/material";
|
|
5
4
|
import React from "react";
|
|
6
5
|
import { ListChildComponentProps } from "react-window";
|
|
7
6
|
import { MouseEventWithDataHandler, MUGlobal } from "./MUGlobal";
|
|
7
|
+
import { useTheme } from "@mui/material/styles";
|
|
8
8
|
|
|
9
9
|
// Scroll bar size
|
|
10
10
|
const scrollbarSize = 16;
|
package/src/SearchBar.tsx
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Button,
|
|
3
|
-
Container,
|
|
4
|
-
Drawer,
|
|
5
|
-
IconButton,
|
|
6
|
-
Stack,
|
|
7
|
-
Toolbar
|
|
8
|
-
} from "@mui/material";
|
|
9
1
|
import React from "react";
|
|
10
2
|
import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
|
|
11
3
|
import { DomUtils, NumberUtils } from "@etsoo/shared";
|
|
12
4
|
import { ReactUtils, useDelayedExecutor, useDimensions } from "@etsoo/react";
|
|
13
5
|
import { Labels } from "./app/Labels";
|
|
6
|
+
import Stack from "@mui/material/Stack";
|
|
7
|
+
import IconButton from "@mui/material/IconButton";
|
|
8
|
+
import Button from "@mui/material/Button";
|
|
9
|
+
import Drawer from "@mui/material/Drawer";
|
|
10
|
+
import Toolbar from "@mui/material/Toolbar";
|
|
14
11
|
|
|
15
12
|
/**
|
|
16
13
|
* Search bar props
|
package/src/SearchField.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useDelayedExecutor } from "@etsoo/react";
|
|
2
|
-
import { TextField, TextFieldProps } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { MUGlobal } from "./MUGlobal";
|
|
4
|
+
import TextField, { TextFieldProps } from "@mui/material/TextField";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Search field props
|
package/src/SelectEx.tsx
CHANGED
|
@@ -1,21 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Checkbox,
|
|
3
|
-
FormControl,
|
|
4
|
-
FormHelperText,
|
|
5
|
-
IconButton,
|
|
6
|
-
InputLabel,
|
|
7
|
-
ListItemText,
|
|
8
|
-
MenuItem,
|
|
9
|
-
OutlinedInput,
|
|
10
|
-
Select,
|
|
11
|
-
SelectProps,
|
|
12
|
-
SelectVariants,
|
|
13
|
-
Stack
|
|
14
|
-
} from "@mui/material";
|
|
15
1
|
import React from "react";
|
|
16
2
|
import { MUGlobal } from "./MUGlobal";
|
|
17
3
|
import { ListItemRightIcon } from "./ListItemRightIcon";
|
|
18
|
-
import RefreshIcon from "@mui/icons-material/Refresh";
|
|
19
4
|
import {
|
|
20
5
|
ArrayUtils,
|
|
21
6
|
DataTypes,
|
|
@@ -25,6 +10,17 @@ import {
|
|
|
25
10
|
Utils
|
|
26
11
|
} from "@etsoo/shared";
|
|
27
12
|
import { ReactUtils } from "@etsoo/react";
|
|
13
|
+
import Select, { SelectProps, SelectVariants } from "@mui/material/Select";
|
|
14
|
+
import Stack from "@mui/material/Stack";
|
|
15
|
+
import FormControl from "@mui/material/FormControl";
|
|
16
|
+
import InputLabel from "@mui/material/InputLabel";
|
|
17
|
+
import OutlinedInput from "@mui/material/OutlinedInput";
|
|
18
|
+
import MenuItem from "@mui/material/MenuItem";
|
|
19
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
20
|
+
import ListItemText from "@mui/material/ListItemText";
|
|
21
|
+
import IconButton from "@mui/material/IconButton";
|
|
22
|
+
import FormHelperText from "@mui/material/FormHelperText";
|
|
23
|
+
import RefreshIcon from "@mui/icons-material/Refresh";
|
|
28
24
|
|
|
29
25
|
/**
|
|
30
26
|
* Extended select component props
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { AuditLineChangesDto, IApp } from "@etsoo/appscript";
|
|
2
2
|
import { NotificationMessageType } from "@etsoo/notificationbase";
|
|
3
3
|
import { Utils } from "@etsoo/shared";
|
|
4
|
-
import {
|
|
5
|
-
Table,
|
|
6
|
-
TableBody,
|
|
7
|
-
TableCell,
|
|
8
|
-
TableHead,
|
|
9
|
-
TableRow
|
|
10
|
-
} from "@mui/material";
|
|
11
4
|
import { useRequiredAppContext } from "./app/ReactApp";
|
|
5
|
+
import Table from "@mui/material/Table";
|
|
6
|
+
import TableHead from "@mui/material/TableHead";
|
|
7
|
+
import TableRow from "@mui/material/TableRow";
|
|
8
|
+
import TableCell from "@mui/material/TableCell";
|
|
9
|
+
import TableBody from "@mui/material/TableBody";
|
|
12
10
|
|
|
13
11
|
/**
|
|
14
12
|
* Check obj is instance of AuditLineChangesDto
|
package/src/Switch.tsx
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { FormControlLabel, FormControlLabelProps } from "@mui/material";
|
|
3
2
|
import MuiCheckbox from "@mui/material/Checkbox";
|
|
4
3
|
import MuiSwitch from "@mui/material/Switch";
|
|
4
|
+
import FormControlLabel, {
|
|
5
|
+
FormControlLabelProps
|
|
6
|
+
} from "@mui/material/FormControlLabel";
|
|
5
7
|
|
|
6
8
|
/**
|
|
7
9
|
* Switch props
|
package/src/SwitchAnt.tsx
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Stack, Typography } from "@mui/material";
|
|
2
|
-
import Switch, { SwitchProps } from "@mui/material/Switch";
|
|
3
1
|
import React from "react";
|
|
4
2
|
import { useAppContext } from "./app/ReactApp";
|
|
3
|
+
import Switch, { SwitchProps } from "@mui/material/Switch";
|
|
4
|
+
import Stack from "@mui/material/Stack";
|
|
5
|
+
import Typography from "@mui/material/Typography";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Ant style switch props
|
package/src/SwitchField.tsx
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Box,
|
|
3
|
-
FormControl,
|
|
4
|
-
FormControlProps,
|
|
5
|
-
FormHelperText,
|
|
6
|
-
InputLabel
|
|
7
|
-
} from "@mui/material";
|
|
8
1
|
import NotchedOutline from "@mui/material/OutlinedInput";
|
|
9
2
|
import React from "react";
|
|
10
3
|
import { SwitchAnt } from "./SwitchAnt";
|
|
4
|
+
import FormControl, { FormControlProps } from "@mui/material/FormControl";
|
|
5
|
+
import InputLabel from "@mui/material/InputLabel";
|
|
6
|
+
import Box from "@mui/material/Box";
|
|
7
|
+
import FormHelperText from "@mui/material/FormHelperText";
|
|
11
8
|
|
|
12
9
|
/**
|
|
13
10
|
* SwitchField props
|
package/src/TabBox.tsx
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Utils } from "@etsoo/shared";
|
|
2
|
-
import
|
|
2
|
+
import Box, { BoxProps } from "@mui/material/Box";
|
|
3
|
+
import Tab, { TabProps } from "@mui/material/Tab";
|
|
4
|
+
import Tabs, { TabsProps } from "@mui/material/Tabs";
|
|
3
5
|
import React from "react";
|
|
4
6
|
import { Link } from "react-router";
|
|
5
7
|
|
package/src/TableEx.tsx
CHANGED
|
@@ -10,23 +10,19 @@ import {
|
|
|
10
10
|
GridSizeGet
|
|
11
11
|
} from "@etsoo/react";
|
|
12
12
|
import { DataTypes, IdDefaultType } from "@etsoo/shared";
|
|
13
|
-
import {
|
|
14
|
-
Checkbox,
|
|
15
|
-
Paper,
|
|
16
|
-
Table,
|
|
17
|
-
TableBody,
|
|
18
|
-
TableCell,
|
|
19
|
-
TableCellProps,
|
|
20
|
-
TableContainer,
|
|
21
|
-
TableHead,
|
|
22
|
-
TablePagination,
|
|
23
|
-
TableProps,
|
|
24
|
-
TableRow,
|
|
25
|
-
TableSortLabel,
|
|
26
|
-
useTheme
|
|
27
|
-
} from "@mui/material";
|
|
28
13
|
import React from "react";
|
|
29
14
|
import { DataGridRenderers } from "./DataGridRenderers";
|
|
15
|
+
import Table, { TableProps } from "@mui/material/Table";
|
|
16
|
+
import { useTheme } from "@mui/material/styles";
|
|
17
|
+
import Paper from "@mui/material/Paper";
|
|
18
|
+
import TableContainer from "@mui/material/TableContainer";
|
|
19
|
+
import TableHead from "@mui/material/TableHead";
|
|
20
|
+
import TableRow from "@mui/material/TableRow";
|
|
21
|
+
import TableCell, { TableCellProps } from "@mui/material/TableCell";
|
|
22
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
23
|
+
import TableSortLabel from "@mui/material/TableSortLabel";
|
|
24
|
+
import TableBody from "@mui/material/TableBody";
|
|
25
|
+
import TablePagination from "@mui/material/TablePagination";
|
|
30
26
|
|
|
31
27
|
/**
|
|
32
28
|
* Extended table min width for width-unset column
|