@etsoo/materialui 1.5.1 → 1.5.3
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/GridDataFormat.js +3 -0
- 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 +6 -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/GridDataFormat.js +3 -0
- 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 +6 -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 +9 -9
- 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/GridDataFormat.tsx +3 -0
- 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 +17 -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/AddresSelector.tsx
CHANGED
|
@@ -5,13 +5,14 @@ import {
|
|
|
5
5
|
AddressState,
|
|
6
6
|
IApiPayload
|
|
7
7
|
} from "@etsoo/appscript";
|
|
8
|
-
import { FormLabel, Grid2, GridSize } from "@mui/material";
|
|
9
8
|
import React from "react";
|
|
10
9
|
import { ComboBox } from "./ComboBox";
|
|
11
10
|
import { Tiplist } from "./Tiplist";
|
|
12
11
|
import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
|
|
13
12
|
import { RegionsRQ } from "./RegionsRQ";
|
|
14
13
|
import { useAppContext } from "./app/ReactApp";
|
|
14
|
+
import Grid, { GridSize } from "@mui/material/Grid";
|
|
15
|
+
import FormLabel from "@mui/material/FormLabel";
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* Address field
|
|
@@ -317,17 +318,17 @@ export function AddressSelector(props: AddressSelectorProps) {
|
|
|
317
318
|
return (
|
|
318
319
|
<React.Fragment>
|
|
319
320
|
{label && (
|
|
320
|
-
<
|
|
321
|
+
<Grid size={{ xs: 12 }}>
|
|
321
322
|
<FormLabel
|
|
322
323
|
required={required}
|
|
323
324
|
sx={{ fontSize: (theme) => theme.typography.caption }}
|
|
324
325
|
>
|
|
325
326
|
{label}
|
|
326
327
|
</FormLabel>
|
|
327
|
-
</
|
|
328
|
+
</Grid>
|
|
328
329
|
)}
|
|
329
330
|
{!hideRegion && (
|
|
330
|
-
<
|
|
331
|
+
<Grid size={breakPoints}>
|
|
331
332
|
<Tiplist<AddressRegionDb>
|
|
332
333
|
label={regionLabel}
|
|
333
334
|
name={AddressField.Region}
|
|
@@ -352,9 +353,9 @@ export function AddressSelector(props: AddressSelectorProps) {
|
|
|
352
353
|
handleChange([AddressField.Region, value])
|
|
353
354
|
}
|
|
354
355
|
/>
|
|
355
|
-
</
|
|
356
|
+
</Grid>
|
|
356
357
|
)}
|
|
357
|
-
<
|
|
358
|
+
<Grid size={breakPoints}>
|
|
358
359
|
<ComboBox<AddressState>
|
|
359
360
|
name={AddressField.State}
|
|
360
361
|
label={stateLabel}
|
|
@@ -369,8 +370,8 @@ export function AddressSelector(props: AddressSelectorProps) {
|
|
|
369
370
|
handleChange([AddressField.State, value])
|
|
370
371
|
}
|
|
371
372
|
/>
|
|
372
|
-
</
|
|
373
|
-
<
|
|
373
|
+
</Grid>
|
|
374
|
+
<Grid size={breakPoints}>
|
|
374
375
|
<ComboBox<AddressCity>
|
|
375
376
|
name={AddressField.City}
|
|
376
377
|
label={cityLabel}
|
|
@@ -380,8 +381,8 @@ export function AddressSelector(props: AddressSelectorProps) {
|
|
|
380
381
|
options={cities}
|
|
381
382
|
onChange={(_event, value) => handleChange([AddressField.City, value])}
|
|
382
383
|
/>
|
|
383
|
-
</
|
|
384
|
-
<
|
|
384
|
+
</Grid>
|
|
385
|
+
<Grid size={breakPoints}>
|
|
385
386
|
<ComboBox<AddressDistrict>
|
|
386
387
|
name={AddressField.District}
|
|
387
388
|
label={districtLabel}
|
|
@@ -393,7 +394,7 @@ export function AddressSelector(props: AddressSelectorProps) {
|
|
|
393
394
|
handleChange([AddressField.District, value])
|
|
394
395
|
}
|
|
395
396
|
/>
|
|
396
|
-
</
|
|
397
|
+
</Grid>
|
|
397
398
|
</React.Fragment>
|
|
398
399
|
);
|
|
399
400
|
}
|
package/src/AuditDisplay.tsx
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { Utils } from "@etsoo/shared";
|
|
2
|
-
import { Button, Divider, Theme, Typography, useTheme } from "@mui/material";
|
|
3
2
|
import React, { CSSProperties } from "react";
|
|
4
3
|
import { ListMoreDisplay, ListMoreDisplayProps } from "./ListMoreDisplay";
|
|
5
4
|
import { ShowDataComparison } from "./ShowDataComparison";
|
|
6
5
|
import { AuditLineDto } from "@etsoo/appscript";
|
|
7
6
|
import { useAppContext } from "./app/ReactApp";
|
|
7
|
+
import { Theme, useTheme } from "@mui/material/styles";
|
|
8
|
+
import Button from "@mui/material/Button";
|
|
9
|
+
import Typography from "@mui/material/Typography";
|
|
10
|
+
import Divider from "@mui/material/Divider";
|
|
8
11
|
|
|
9
12
|
/**
|
|
10
13
|
* Audit display props
|
package/src/BackButton.tsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { IconButton, IconButtonProps, useTheme } from "@mui/material";
|
|
2
1
|
import ArrowBackIcon from "@mui/icons-material/ArrowBack";
|
|
2
|
+
import IconButton, { IconButtonProps } from "@mui/material/IconButton";
|
|
3
|
+
import { useTheme } from "@mui/material/styles";
|
|
3
4
|
import React from "react";
|
|
4
5
|
import { useNavigate } from "react-router";
|
|
5
6
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { BridgeUtils, IBridgeHost } from "@etsoo/appscript";
|
|
2
2
|
import CloseIcon from "@mui/icons-material/Close";
|
|
3
|
-
import { Box, BoxProps, IconButton, IconButtonProps } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { useAppContext } from "./app/ReactApp";
|
|
5
|
+
import IconButton, { IconButtonProps } from "@mui/material/IconButton";
|
|
6
|
+
import Box, { BoxProps } from "@mui/material/Box";
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Bridge close button props
|
package/src/ButtonLink.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import Button, { ButtonProps } from "@mui/material/Button";
|
|
2
|
+
import { useNavigate } from "react-router-dom";
|
|
3
|
+
|
|
4
4
|
/**
|
|
5
5
|
* ButtonLink props
|
|
6
6
|
*/
|
package/src/ButtonPopover.tsx
CHANGED
package/src/ComboBox.tsx
CHANGED
|
@@ -5,20 +5,19 @@ import {
|
|
|
5
5
|
LabelDefaultType,
|
|
6
6
|
ListType
|
|
7
7
|
} from "@etsoo/shared";
|
|
8
|
-
import {
|
|
9
|
-
Autocomplete,
|
|
10
|
-
AutocompleteRenderInputParams,
|
|
11
|
-
IconButton,
|
|
12
|
-
Stack
|
|
13
|
-
} from "@mui/material";
|
|
14
8
|
import React from "react";
|
|
15
9
|
import { Utils as SharedUtils } from "@etsoo/shared";
|
|
16
10
|
import { ReactUtils } from "@etsoo/react";
|
|
17
|
-
import AddIcon from "@mui/icons-material/Add";
|
|
18
11
|
import type { AutocompleteExtendedProps } from "./AutocompleteExtendedProps";
|
|
19
12
|
import { SearchField } from "./SearchField";
|
|
20
13
|
import { InputField } from "./InputField";
|
|
21
14
|
import { useAppContext } from "./app/ReactApp";
|
|
15
|
+
import Autocomplete, {
|
|
16
|
+
AutocompleteRenderInputParams
|
|
17
|
+
} from "@mui/material/Autocomplete";
|
|
18
|
+
import Stack from "@mui/material/Stack";
|
|
19
|
+
import IconButton from "@mui/material/IconButton";
|
|
20
|
+
import AddIcon from "@mui/icons-material/Add";
|
|
22
21
|
|
|
23
22
|
/**
|
|
24
23
|
* ComboBox props
|
package/src/ComboBoxMultiple.tsx
CHANGED
|
@@ -5,21 +5,19 @@ import {
|
|
|
5
5
|
LabelDefaultType,
|
|
6
6
|
ListType
|
|
7
7
|
} from "@etsoo/shared";
|
|
8
|
-
import {
|
|
9
|
-
Autocomplete,
|
|
10
|
-
AutocompleteRenderInputParams,
|
|
11
|
-
Checkbox
|
|
12
|
-
} from "@mui/material";
|
|
13
8
|
import React from "react";
|
|
14
9
|
import { Utils as SharedUtils } from "@etsoo/shared";
|
|
15
10
|
import { ReactUtils } from "@etsoo/react";
|
|
16
|
-
|
|
17
11
|
import CheckBoxOutlineBlankIcon from "@mui/icons-material/CheckBoxOutlineBlank";
|
|
18
12
|
import CheckBoxIcon from "@mui/icons-material/CheckBox";
|
|
19
13
|
import type { AutocompleteExtendedProps } from "./AutocompleteExtendedProps";
|
|
20
14
|
import { SearchField } from "./SearchField";
|
|
21
15
|
import { InputField } from "./InputField";
|
|
22
16
|
import { useAppContext } from "./app/ReactApp";
|
|
17
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
18
|
+
import Autocomplete, {
|
|
19
|
+
AutocompleteRenderInputParams
|
|
20
|
+
} from "@mui/material/Autocomplete";
|
|
23
21
|
|
|
24
22
|
const icon = <CheckBoxOutlineBlankIcon fontSize="small" />;
|
|
25
23
|
const checkedIcon = <CheckBoxIcon fontSize="small" />;
|
package/src/ComboBoxPro.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Autocomplete, AutocompleteProps } from "@mui/material";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { InputField, InputFieldProps } from "./InputField";
|
|
4
3
|
import { DataTypes, ListType2 } from "@etsoo/shared";
|
|
5
4
|
import { useAppContext } from "./app/ReactApp";
|
|
5
|
+
import Autocomplete, { AutocompleteProps } from "@mui/material/Autocomplete";
|
|
6
6
|
|
|
7
7
|
export type ComboBoxProProps<D extends ListType2 = ListType2> = Omit<
|
|
8
8
|
AutocompleteProps<D, false, false, true>,
|
package/src/CountdownButton.tsx
CHANGED
package/src/CultureDataTable.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DataTable, DataTableProps } from "./DataTable";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { ListType1 } from "@etsoo/shared";
|
|
4
|
-
import { GridRenderCellParams } from "@mui/x-data-grid";
|
|
5
4
|
import { useAppContext } from "./app/ReactApp";
|
|
5
|
+
import { GridRenderCellParams } from "@mui/x-data-grid/models/params/gridCellParams";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Culture table props
|
package/src/DataGridEx.tsx
CHANGED
|
@@ -16,17 +16,14 @@ import {
|
|
|
16
16
|
useCombinedRefs
|
|
17
17
|
} from "@etsoo/react";
|
|
18
18
|
import { DataTypes, Utils } from "@etsoo/shared";
|
|
19
|
-
import {
|
|
20
|
-
Box,
|
|
21
|
-
BoxProps,
|
|
22
|
-
Checkbox,
|
|
23
|
-
Paper,
|
|
24
|
-
TableSortLabel,
|
|
25
|
-
useTheme
|
|
26
|
-
} from "@mui/material";
|
|
27
19
|
import React from "react";
|
|
28
20
|
import { DataGridRenderers } from "./DataGridRenderers";
|
|
29
21
|
import { MouseEventWithDataHandler } from "./MUGlobal";
|
|
22
|
+
import { useTheme } from "@mui/material/styles";
|
|
23
|
+
import Box, { BoxProps } from "@mui/material/Box";
|
|
24
|
+
import TableSortLabel from "@mui/material/TableSortLabel";
|
|
25
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
26
|
+
import Paper from "@mui/material/Paper";
|
|
30
27
|
|
|
31
28
|
/**
|
|
32
29
|
* Footer item renderer props
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { CircularProgress } from "@mui/material";
|
|
3
2
|
import { DateUtils, NumberUtils } from "@etsoo/shared";
|
|
4
3
|
import CheckIcon from "@mui/icons-material/Check";
|
|
5
4
|
import ClearIcon from "@mui/icons-material/Clear";
|
|
6
5
|
import { DataGridExFooterItemRendererProps } from "./DataGridEx";
|
|
7
6
|
import { DateText } from "./texts/DateText";
|
|
8
7
|
import { GridCellRendererProps, GridDataType } from "@etsoo/react";
|
|
8
|
+
import CircularProgress from "@mui/material/CircularProgress";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Data grid renderers
|
package/src/DataSteps.tsx
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Button,
|
|
3
|
-
IconButton,
|
|
4
|
-
InputAdornment,
|
|
5
|
-
TextField,
|
|
6
|
-
TextFieldProps
|
|
7
|
-
} from "@mui/material";
|
|
8
1
|
import CloseIcon from "@mui/icons-material/Close";
|
|
9
2
|
import NavigateNextIcon from "@mui/icons-material/NavigateNext";
|
|
10
3
|
import NavigateBeforeIcon from "@mui/icons-material/NavigateBefore";
|
|
@@ -15,6 +8,10 @@ import React from "react";
|
|
|
15
8
|
import { HBox } from "./FlexBox";
|
|
16
9
|
import { MUGlobal } from "./MUGlobal";
|
|
17
10
|
import { useRequiredAppContext } from "./app/ReactApp";
|
|
11
|
+
import Button from "@mui/material/Button";
|
|
12
|
+
import TextField, { TextFieldProps } from "@mui/material/TextField";
|
|
13
|
+
import InputAdornment from "@mui/material/InputAdornment";
|
|
14
|
+
import IconButton from "@mui/material/IconButton";
|
|
18
15
|
|
|
19
16
|
/**
|
|
20
17
|
* Data step
|
package/src/DataTable.tsx
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DataGrid,
|
|
3
|
-
GridCellModesModel,
|
|
4
|
-
GridRowId,
|
|
5
|
-
GridValidRowModel
|
|
6
|
-
} from "@mui/x-data-grid";
|
|
7
|
-
import { DataGridProps } from "@mui/x-data-grid/models/props/DataGridProps";
|
|
8
1
|
import React from "react";
|
|
9
2
|
import { useAppContext } from "./app/ReactApp";
|
|
3
|
+
import { GridRowId, GridValidRowModel } from "@mui/x-data-grid/models/gridRows";
|
|
4
|
+
import { DataGridProps } from "@mui/x-data-grid/models/props/DataGridProps";
|
|
5
|
+
import { GridCellModesModel } from "@mui/x-data-grid/models/api/gridEditingApi";
|
|
6
|
+
import { DataGrid } from "@mui/x-data-grid/DataGrid/DataGrid";
|
|
10
7
|
|
|
11
8
|
/**
|
|
12
9
|
* Data table selected cell params
|
package/src/DialogButton.tsx
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Breakpoint,
|
|
3
|
-
Button,
|
|
4
|
-
ButtonProps,
|
|
5
|
-
Dialog,
|
|
6
|
-
DialogActions,
|
|
7
|
-
DialogContent,
|
|
8
|
-
DialogContentText,
|
|
9
|
-
DialogTitle,
|
|
10
|
-
IconButton
|
|
11
|
-
} from "@mui/material";
|
|
12
1
|
import React from "react";
|
|
13
2
|
import { Labels } from "./app/Labels";
|
|
3
|
+
import Button, { ButtonProps } from "@mui/material/Button";
|
|
4
|
+
import { Breakpoint } from "@mui/material/styles";
|
|
5
|
+
import IconButton from "@mui/material/IconButton";
|
|
6
|
+
import Dialog from "@mui/material/Dialog";
|
|
7
|
+
import DialogTitle from "@mui/material/DialogTitle";
|
|
8
|
+
import DialogContent from "@mui/material/DialogContent";
|
|
9
|
+
import DialogContentText from "@mui/material/DialogContentText";
|
|
10
|
+
import DialogActions from "@mui/material/DialogActions";
|
|
14
11
|
|
|
15
12
|
export interface DialogButtonProps extends ButtonProps {
|
|
16
13
|
/**
|
package/src/DnDList.tsx
CHANGED
|
@@ -4,18 +4,17 @@ import type {
|
|
|
4
4
|
DragStartEvent,
|
|
5
5
|
UniqueIdentifier
|
|
6
6
|
} from "@dnd-kit/core";
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
verticalListSortingStrategy
|
|
15
|
-
} from "@dnd-kit/sortable";
|
|
7
|
+
import { SortableContext } from "@dnd-kit/sortable/dist/components/SortableContext";
|
|
8
|
+
import { useSortable } from "@dnd-kit/sortable/dist/hooks/useSortable";
|
|
9
|
+
import { horizontalListSortingStrategy } from "@dnd-kit/sortable/dist/strategies/horizontalListSorting";
|
|
10
|
+
import { rectSortingStrategy } from "@dnd-kit/sortable/dist/strategies/rectSorting";
|
|
11
|
+
import { rectSwappingStrategy } from "@dnd-kit/sortable/dist/strategies/rectSwapping";
|
|
12
|
+
import { verticalListSortingStrategy } from "@dnd-kit/sortable/dist/strategies/verticalListSorting";
|
|
13
|
+
import { SortingStrategy } from "@dnd-kit/sortable/dist/types/strategies";
|
|
16
14
|
import type { CSS } from "@dnd-kit/utilities";
|
|
17
15
|
import { DataTypes } from "@etsoo/shared";
|
|
18
|
-
import
|
|
16
|
+
import Skeleton from "@mui/material/Skeleton";
|
|
17
|
+
import { Theme, useTheme } from "@mui/material/styles";
|
|
19
18
|
import React, { CSSProperties } from "react";
|
|
20
19
|
|
|
21
20
|
function SortableItem(props: {
|
package/src/EmailInput.tsx
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React from "react";
|
|
1
|
+
import TextField, { TextFieldProps } from "@mui/material/TextField";
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* Email input props
|
|
@@ -11,12 +10,9 @@ export type EmailInputProps = Omit<TextFieldProps, "type"> & {};
|
|
|
11
10
|
* @param props Props
|
|
12
11
|
*/
|
|
13
12
|
export function EmailInput(props: EmailInputProps) {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
// Default max length
|
|
18
|
-
inputProps.maxLength ??= 128;
|
|
13
|
+
props.slotProps ??= {};
|
|
14
|
+
props.slotProps.htmlInput ??= { maxLength: 128 };
|
|
19
15
|
|
|
20
16
|
// Layout
|
|
21
|
-
return <TextField type="email" fullWidth
|
|
17
|
+
return <TextField type="email" fullWidth {...props} />;
|
|
22
18
|
}
|
package/src/ErrorAlert.tsx
CHANGED
package/src/FabBox.tsx
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Box, { BoxProps } from "@mui/material/Box";
|
|
2
|
+
import Paper, { PaperProps } from "@mui/material/Paper";
|
|
3
|
+
import { useTheme } from "@mui/material/styles";
|
|
2
4
|
import React from "react";
|
|
3
5
|
|
|
4
6
|
type SharedProps = keyof BoxProps & keyof PaperProps;
|
package/src/FieldSetEx.tsx
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
FormHelperText,
|
|
5
|
-
InputLabel
|
|
6
|
-
} from "@mui/material";
|
|
1
|
+
import FormControl, { FormControlProps } from "@mui/material/FormControl";
|
|
2
|
+
import FormHelperText from "@mui/material/FormHelperText";
|
|
3
|
+
import InputLabel from "@mui/material/InputLabel";
|
|
7
4
|
import NotchedOutline from "@mui/material/OutlinedInput";
|
|
8
5
|
import React from "react";
|
|
9
6
|
|
package/src/FileUploadButton.tsx
CHANGED
package/src/FlexBox.tsx
CHANGED
package/src/GridDataFormat.tsx
CHANGED
package/src/HiSelector.tsx
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { DataTypes, IdDefaultType, LabelDefaultType } from "@etsoo/shared";
|
|
2
|
-
import { FormLabel, Grid2, GridSize, SelectChangeEvent } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { SelectEx } from "./SelectEx";
|
|
5
4
|
import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
|
|
5
|
+
import Grid, { GridSize } from "@mui/material/Grid";
|
|
6
|
+
import { SelectChangeEvent } from "@mui/material/Select";
|
|
7
|
+
import FormLabel from "@mui/material/FormLabel";
|
|
6
8
|
|
|
7
9
|
/**
|
|
8
10
|
* Hierarchy selector props
|
|
@@ -161,17 +163,17 @@ export function HiSelector<
|
|
|
161
163
|
return (
|
|
162
164
|
<React.Fragment>
|
|
163
165
|
{label && (
|
|
164
|
-
<
|
|
166
|
+
<Grid size={{ xs: 12 }}>
|
|
165
167
|
<FormLabel
|
|
166
168
|
required={required}
|
|
167
169
|
sx={{ fontSize: (theme) => theme.typography.caption }}
|
|
168
170
|
>
|
|
169
171
|
{label}
|
|
170
172
|
</FormLabel>
|
|
171
|
-
</
|
|
173
|
+
</Grid>
|
|
172
174
|
)}
|
|
173
175
|
<input type="hidden" name={name} value={`${currentValue ?? ""}`} />
|
|
174
|
-
<
|
|
176
|
+
<Grid size={breakPoints}>
|
|
175
177
|
<SelectEx<T, D, L>
|
|
176
178
|
idField={idField}
|
|
177
179
|
label={labels[0]}
|
|
@@ -188,9 +190,9 @@ export function HiSelector<
|
|
|
188
190
|
helperText={helperText}
|
|
189
191
|
variant={variant}
|
|
190
192
|
/>
|
|
191
|
-
</
|
|
193
|
+
</Grid>
|
|
192
194
|
{localValues[0] != null && (
|
|
193
|
-
<
|
|
195
|
+
<Grid size={breakPoints}>
|
|
194
196
|
<SelectEx<T, D, L>
|
|
195
197
|
key={`${localValues[0]}`}
|
|
196
198
|
idField={idField}
|
|
@@ -205,10 +207,10 @@ export function HiSelector<
|
|
|
205
207
|
onItemChange={doItemChange}
|
|
206
208
|
variant={variant}
|
|
207
209
|
/>
|
|
208
|
-
</
|
|
210
|
+
</Grid>
|
|
209
211
|
)}
|
|
210
212
|
{localValues[1] != null && (
|
|
211
|
-
<
|
|
213
|
+
<Grid size={breakPoints}>
|
|
212
214
|
<SelectEx<T, D, L>
|
|
213
215
|
key={`${localValues[1]}`}
|
|
214
216
|
idField={idField}
|
|
@@ -223,10 +225,10 @@ export function HiSelector<
|
|
|
223
225
|
onItemChange={doItemChange}
|
|
224
226
|
variant={variant}
|
|
225
227
|
/>
|
|
226
|
-
</
|
|
228
|
+
</Grid>
|
|
227
229
|
)}
|
|
228
230
|
{localValues[2] != null && (
|
|
229
|
-
<
|
|
231
|
+
<Grid size={breakPoints}>
|
|
230
232
|
<SelectEx<T, D, L>
|
|
231
233
|
key={`${localValues[2]}`}
|
|
232
234
|
idField={idField}
|
|
@@ -241,7 +243,7 @@ export function HiSelector<
|
|
|
241
243
|
onItemChange={doItemChange}
|
|
242
244
|
variant={variant}
|
|
243
245
|
/>
|
|
244
|
-
</
|
|
246
|
+
</Grid>
|
|
245
247
|
)}
|
|
246
248
|
</React.Fragment>
|
|
247
249
|
);
|
package/src/HiSelectorTL.tsx
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { DataTypes, IdDefaultType } from "@etsoo/shared";
|
|
2
|
-
import {
|
|
3
|
-
AutocompleteChangeReason,
|
|
4
|
-
AutocompleteValue,
|
|
5
|
-
FormLabel,
|
|
6
|
-
Grid2,
|
|
7
|
-
GridSize
|
|
8
|
-
} from "@mui/material";
|
|
9
2
|
import React from "react";
|
|
10
3
|
import { Tiplist } from "./Tiplist";
|
|
11
4
|
import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
|
|
5
|
+
import Grid, { GridSize } from "@mui/material/Grid";
|
|
6
|
+
import {
|
|
7
|
+
AutocompleteChangeReason,
|
|
8
|
+
AutocompleteValue
|
|
9
|
+
} from "@mui/material/Autocomplete";
|
|
10
|
+
import FormLabel from "@mui/material/FormLabel";
|
|
12
11
|
|
|
13
12
|
/**
|
|
14
13
|
* Hierarchy tiplist selector props
|
|
@@ -155,17 +154,17 @@ export function HiSelectorTL<
|
|
|
155
154
|
return (
|
|
156
155
|
<React.Fragment>
|
|
157
156
|
{label && (
|
|
158
|
-
<
|
|
157
|
+
<Grid size={{ xs: 12 }}>
|
|
159
158
|
<FormLabel
|
|
160
159
|
required={required}
|
|
161
160
|
sx={{ fontSize: (theme) => theme.typography.caption }}
|
|
162
161
|
>
|
|
163
162
|
{label}
|
|
164
163
|
</FormLabel>
|
|
165
|
-
</
|
|
164
|
+
</Grid>
|
|
166
165
|
)}
|
|
167
166
|
<input type="hidden" name={name} value={`${currentValue ?? ""}`} />
|
|
168
|
-
<
|
|
167
|
+
<Grid size={breakPoints}>
|
|
169
168
|
<Tiplist<T, D>
|
|
170
169
|
idField={idField}
|
|
171
170
|
label={labels[0]}
|
|
@@ -179,9 +178,9 @@ export function HiSelectorTL<
|
|
|
179
178
|
inputHelperText={helperText}
|
|
180
179
|
onChange={(event, value, reason) => doChange(0, event, value, reason)}
|
|
181
180
|
/>
|
|
182
|
-
</
|
|
181
|
+
</Grid>
|
|
183
182
|
{localValues[0] != null && (
|
|
184
|
-
<
|
|
183
|
+
<Grid size={breakPoints}>
|
|
185
184
|
<Tiplist<T, D>
|
|
186
185
|
key={`${localValues[0]}`}
|
|
187
186
|
label={labels[1]}
|
|
@@ -197,10 +196,10 @@ export function HiSelectorTL<
|
|
|
197
196
|
doChange(1, event, value, reason)
|
|
198
197
|
}
|
|
199
198
|
/>
|
|
200
|
-
</
|
|
199
|
+
</Grid>
|
|
201
200
|
)}
|
|
202
201
|
{localValues[1] != null && (
|
|
203
|
-
<
|
|
202
|
+
<Grid size={breakPoints}>
|
|
204
203
|
<Tiplist<T, D>
|
|
205
204
|
key={`${localValues[1]}`}
|
|
206
205
|
label={labels[2]}
|
|
@@ -216,10 +215,10 @@ export function HiSelectorTL<
|
|
|
216
215
|
doChange(2, event, value, reason)
|
|
217
216
|
}
|
|
218
217
|
/>
|
|
219
|
-
</
|
|
218
|
+
</Grid>
|
|
220
219
|
)}
|
|
221
220
|
{localValues[2] != null && (
|
|
222
|
-
<
|
|
221
|
+
<Grid size={breakPoints}>
|
|
223
222
|
<Tiplist<T, D>
|
|
224
223
|
key={`${localValues[2]}`}
|
|
225
224
|
label={labels[3]}
|
|
@@ -235,7 +234,7 @@ export function HiSelectorTL<
|
|
|
235
234
|
doChange(3, event, value, reason)
|
|
236
235
|
}
|
|
237
236
|
/>
|
|
238
|
-
</
|
|
237
|
+
</Grid>
|
|
239
238
|
)}
|
|
240
239
|
</React.Fragment>
|
|
241
240
|
);
|
package/src/IconButtonLink.tsx
CHANGED
package/src/InputField.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
|
* Input field props
|
package/src/InputTipField.tsx
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { DataTypes } from "@etsoo/shared";
|
|
2
|
-
import { InputAdornment, List, ListItem, Popover } from "@mui/material";
|
|
3
2
|
import Typography, { TypographyProps } from "@mui/material/Typography";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { InputField, InputFieldProps } from "./InputField";
|
|
6
5
|
import { useAppContext } from "./app/ReactApp";
|
|
6
|
+
import ListItem from "@mui/material/ListItem";
|
|
7
|
+
import Popover from "@mui/material/Popover";
|
|
8
|
+
import List from "@mui/material/List";
|
|
9
|
+
import InputAdornment from "@mui/material/InputAdornment";
|
|
7
10
|
|
|
8
11
|
type ItemType = DataTypes.IdLabelItem<string | number>;
|
|
9
12
|
|