@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
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Breakpoint, Grid2Props } from "@mui/material";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { DataTypes } from "@etsoo/shared";
|
|
4
3
|
import { GridColumnRenderProps, GridDataType } from "@etsoo/react";
|
|
4
|
+
import { GridProps } from "@mui/material/Grid";
|
|
5
|
+
import { Breakpoint } from "@mui/material/styles";
|
|
5
6
|
/**
|
|
6
7
|
* View page item size
|
|
7
8
|
*/
|
|
@@ -26,7 +27,7 @@ export type ViewPageRowType = boolean | "default" | "small" | "medium" | "large"
|
|
|
26
27
|
/**
|
|
27
28
|
* View page grid item properties
|
|
28
29
|
*/
|
|
29
|
-
export type ViewPageGridItemProps =
|
|
30
|
+
export type ViewPageGridItemProps = GridProps & {
|
|
30
31
|
data: React.ReactNode;
|
|
31
32
|
label?: React.ReactNode;
|
|
32
33
|
singleRow?: ViewPageRowType;
|
|
@@ -40,7 +41,7 @@ export declare function ViewPageGridItem(props: ViewPageGridItemProps): import("
|
|
|
40
41
|
/**
|
|
41
42
|
* View page display field
|
|
42
43
|
*/
|
|
43
|
-
export interface ViewPageField<T extends object> extends
|
|
44
|
+
export interface ViewPageField<T extends object> extends GridProps {
|
|
44
45
|
/**
|
|
45
46
|
* Data field
|
|
46
47
|
*/
|
|
@@ -91,7 +92,7 @@ export type ViewContainerProps<T extends DataTypes.StringRecord> = {
|
|
|
91
92
|
/**
|
|
92
93
|
* Left container properties
|
|
93
94
|
*/
|
|
94
|
-
leftContainerProps?: Omit<
|
|
95
|
+
leftContainerProps?: Omit<GridProps, "size"> & {
|
|
95
96
|
size?: ViewPageItemSize;
|
|
96
97
|
};
|
|
97
98
|
/**
|
package/lib/mjs/ViewContainer.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { createElement as _createElement } from "react";
|
|
2
2
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { Grid2, Typography } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { MUGlobal } from "./MUGlobal";
|
|
6
5
|
import { useCurrentBreakpoint } from "./useCurrentBreakpoint";
|
|
7
6
|
import { GridDataFormat } from "./GridDataFormat";
|
|
8
7
|
import { useRequiredAppContext } from "./app/ReactApp";
|
|
8
|
+
import Grid from "@mui/material/Grid";
|
|
9
|
+
import Typography from "@mui/material/Typography";
|
|
9
10
|
function formatItemData(app, fieldData) {
|
|
10
11
|
if (fieldData == null)
|
|
11
12
|
return undefined;
|
|
@@ -13,6 +14,8 @@ function formatItemData(app, fieldData) {
|
|
|
13
14
|
return fieldData;
|
|
14
15
|
if (fieldData instanceof Date)
|
|
15
16
|
return app.formatDate(fieldData, "d");
|
|
17
|
+
if (Array.isArray(fieldData))
|
|
18
|
+
return fieldData.join(", ");
|
|
16
19
|
return `${fieldData}`;
|
|
17
20
|
}
|
|
18
21
|
function getResp(singleRow) {
|
|
@@ -148,7 +151,7 @@ export function ViewPageGridItem(props) {
|
|
|
148
151
|
options = getResp(singleRow ?? "small");
|
|
149
152
|
}
|
|
150
153
|
// Layout
|
|
151
|
-
return (_jsxs(
|
|
154
|
+
return (_jsxs(Grid, { ...gridProps, ...options, children: [label != null && (_jsxs(Typography, { variant: "caption", component: "div", children: [label, ":"] })), typeof data === "object" ? (data) : (_jsx(Typography, { variant: "subtitle2", children: data }))] }));
|
|
152
155
|
}
|
|
153
156
|
export function ViewContainer(props) {
|
|
154
157
|
// Global app
|
|
@@ -218,5 +221,5 @@ export function ViewContainer(props) {
|
|
|
218
221
|
}, [app, fields, data, bp]);
|
|
219
222
|
let leftResult;
|
|
220
223
|
// Layout
|
|
221
|
-
return (_jsxs(
|
|
224
|
+
return (_jsxs(Grid, { container: true, justifyContent: "left", className: "ET-ViewContainer", ref: gridRef, spacing: spacing, children: [leftContainer && (leftResult = leftContainer(data)) != null && (_jsxs(React.Fragment, { children: [_jsx(Grid, { container: true, className: "ET-ViewPage-LeftContainer", spacing: spacing, size: size, ...leftContainerPropsRest, children: leftResult }), _jsx(Grid, { container: true, className: "ET-ViewPage-LeftOthers", spacing: spacing, size: ViewPageSize.matchSize(size), children: createFields(data, leftContainerLines * (12 - getItemSize(bp, size))) })] })), createFields(data)] }));
|
|
222
225
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CustomFieldData, CustomFieldSpace } from "@etsoo/appscript";
|
|
2
2
|
import { CustomFieldReactCollection, ICustomFieldReact } from "@etsoo/react";
|
|
3
3
|
import { IdType, ListType2 } from "@etsoo/shared";
|
|
4
|
-
import { GridSize } from "@mui/material";
|
|
4
|
+
import { GridSize } from "@mui/material/Grid";
|
|
5
5
|
import { TypographyProps } from "@mui/material/Typography";
|
|
6
6
|
/**
|
|
7
7
|
* Custom field utilities
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Grid2, Typography } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { FieldCheckbox } from "./FieldCheckbox";
|
|
5
4
|
import { FieldAmountLabel } from "./FieldAmountLabel";
|
|
@@ -14,6 +13,8 @@ import { FieldJson } from "./FieldJson";
|
|
|
14
13
|
import { FieldRadio } from "./FieldRadio";
|
|
15
14
|
import { FieldSelect } from "./FieldSelect";
|
|
16
15
|
import { FieldSwitch } from "./FieldSwitch";
|
|
16
|
+
import Grid from "@mui/material/Grid";
|
|
17
|
+
import Typography from "@mui/material/Typography";
|
|
17
18
|
/**
|
|
18
19
|
* Custom field utilities
|
|
19
20
|
*/
|
|
@@ -63,7 +64,7 @@ export var CustomFieldUtils;
|
|
|
63
64
|
fieldCalback(field);
|
|
64
65
|
const creator = CustomFieldUtils.customFieldCreators[field.type];
|
|
65
66
|
if (creator == null) {
|
|
66
|
-
return (_jsx(
|
|
67
|
+
return (_jsx(Grid, { size: transformSpace(field.space), ...field.gridItemProps, children: `Type ${field.type} is not supported currently` }, index));
|
|
67
68
|
}
|
|
68
69
|
const Creator = creator;
|
|
69
70
|
const mref = React.createRef();
|
|
@@ -77,7 +78,7 @@ export var CustomFieldUtils;
|
|
|
77
78
|
ui = `Duplicate custom field ${name}`;
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
|
-
return (_jsx(
|
|
81
|
+
return (_jsx(Grid, { size: transformSpace(field.space), ...field.gridItemProps, children: ui }, name ?? index));
|
|
81
82
|
});
|
|
82
83
|
}
|
|
83
84
|
CustomFieldUtils.create = create;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CustomFieldData } from "@etsoo/appscript";
|
|
2
|
-
import {
|
|
2
|
+
import { GridProps } from "@mui/material/Grid";
|
|
3
|
+
import { TypographyProps } from "@mui/material/Typography";
|
|
3
4
|
/**
|
|
4
5
|
* Custom field viewer props
|
|
5
6
|
* 自定义字段查看器属性
|
|
@@ -14,7 +15,7 @@ export type CustomFieldViewerProps = {
|
|
|
14
15
|
* Grid props
|
|
15
16
|
* 网格属性
|
|
16
17
|
*/
|
|
17
|
-
gridProps?:
|
|
18
|
+
gridProps?: GridProps;
|
|
18
19
|
/**
|
|
19
20
|
* JSON data
|
|
20
21
|
* JSON 数据
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Grid2, Typography } from "@mui/material";
|
|
3
2
|
import { CustomFieldUtils } from "./CustomFieldUtils";
|
|
4
3
|
import { MUGlobal } from "../MUGlobal";
|
|
5
4
|
import { VBox } from "../FlexBox";
|
|
6
5
|
import { DataTypes, Utils } from "@etsoo/shared";
|
|
6
|
+
import Grid from "@mui/material/Grid";
|
|
7
|
+
import Typography from "@mui/material/Typography";
|
|
7
8
|
/**
|
|
8
9
|
* Custom field viewer
|
|
9
10
|
* 自定义字段查看器
|
|
@@ -38,7 +39,7 @@ export function CustomFieldViewer(props) {
|
|
|
38
39
|
if (data == null || typeof data !== "object" || Array.isArray(data)) {
|
|
39
40
|
throw new Error("Invalid JSON data");
|
|
40
41
|
}
|
|
41
|
-
return (_jsx(
|
|
42
|
+
return (_jsx(Grid, { container: true, justifyContent: "left", spacing: spacing, sx: {
|
|
42
43
|
".MuiTypography-subtitle2": {
|
|
43
44
|
fontWeight: "bold"
|
|
44
45
|
}
|
|
@@ -49,6 +50,6 @@ export function CustomFieldViewer(props) {
|
|
|
49
50
|
return;
|
|
50
51
|
// Field value
|
|
51
52
|
const value = Utils.getNestedValue(data, name);
|
|
52
|
-
return (_jsx(
|
|
53
|
+
return (_jsx(Grid, { size: CustomFieldUtils.transformSpace(field.space), ...field.gridItemProps, children: _jsxs(VBox, { gap: verticalGap, children: [_jsx(Typography, { fontWeight: "bold", fontSize: "small", ...titleProps, children: field.label ?? name }), _jsx(Typography, { ...valueProps, children: valueLabelFormatter(value, field) })] }) }, name ?? index));
|
|
53
54
|
}) }));
|
|
54
55
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CustomFieldData } from "@etsoo/appscript";
|
|
2
|
-
import { Grid2Props } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
3
|
+
import { GridProps } from "@mui/material/Grid";
|
|
4
4
|
/**
|
|
5
5
|
* Custom field window props
|
|
6
6
|
* 自定义字段窗口属性
|
|
@@ -24,7 +24,7 @@ export type CustomFieldWindowProps<D extends CustomFieldData> = {
|
|
|
24
24
|
* Grid props
|
|
25
25
|
* 网格属性
|
|
26
26
|
*/
|
|
27
|
-
gridProps?:
|
|
27
|
+
gridProps?: GridProps;
|
|
28
28
|
/**
|
|
29
29
|
* JSON data
|
|
30
30
|
* JSON 数据
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Utils } from "@etsoo/shared";
|
|
3
|
-
import { Grid2, Stack } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { MUGlobal } from "../MUGlobal";
|
|
6
5
|
import { CustomFieldUtils } from "./CustomFieldUtils";
|
|
7
6
|
import { useRequiredAppContext } from "../app/ReactApp";
|
|
7
|
+
import Grid from "@mui/material/Grid";
|
|
8
|
+
import Stack from "@mui/material/Stack";
|
|
8
9
|
function calculateKeys(data) {
|
|
9
10
|
let count = 0;
|
|
10
11
|
for (const key in data) {
|
|
@@ -70,7 +71,7 @@ export function CustomFieldWindow(props) {
|
|
|
70
71
|
}
|
|
71
72
|
}, {
|
|
72
73
|
fullScreen: app.smDown,
|
|
73
|
-
inputs: (_jsx(Stack, { marginTop: 1.5, children: _jsx(
|
|
74
|
+
inputs: (_jsx(Stack, { marginTop: 1.5, children: _jsx(Grid, { container: true, justifyContent: "left", spacing: spacing, sx: {
|
|
74
75
|
".MuiTypography-subtitle2": {
|
|
75
76
|
fontWeight: "bold"
|
|
76
77
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { NumberUtils } from "@etsoo/shared";
|
|
3
|
-
import
|
|
3
|
+
import FormHelperText from "@mui/material/FormHelperText";
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
4
5
|
import React from "react";
|
|
5
6
|
/**
|
|
6
7
|
* Amount label field creator
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Typography } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { OptionGroup } from "../OptionGroup";
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
5
5
|
/**
|
|
6
6
|
* Checkbox (multiple values) field creator
|
|
7
7
|
* type: checkbox
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Typography } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { ComboBoxMultiple } from "../ComboBoxMultiple";
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
5
5
|
/**
|
|
6
6
|
* Combobox (multiple values) field creator
|
|
7
7
|
* type combobox
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { DateUtils } from "@etsoo/shared";
|
|
3
|
-
import { Typography } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { InputField } from "../InputField";
|
|
5
|
+
import Typography from "@mui/material/Typography";
|
|
6
6
|
/**
|
|
7
7
|
* Date input field creator
|
|
8
8
|
* type: date
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Divider } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { CustomFieldUtils } from "./CustomFieldUtils";
|
|
4
|
+
import Divider from "@mui/material/Divider";
|
|
5
5
|
/**
|
|
6
6
|
* Divider field creator
|
|
7
7
|
* type: divider
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Typography } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { InputField } from "../InputField";
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
5
5
|
/**
|
|
6
6
|
* Input field creator
|
|
7
7
|
* type: input
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Typography } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { InputField } from "../InputField";
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
5
5
|
function parseJson(value) {
|
|
6
6
|
if (value) {
|
|
7
7
|
try {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Typography } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { NumberInputField } from "../NumberInputField";
|
|
5
4
|
import { NumberUtils } from "@etsoo/shared";
|
|
5
|
+
import Typography from "@mui/material/Typography";
|
|
6
6
|
/**
|
|
7
7
|
* Number input field creator
|
|
8
8
|
* type: number
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Typography } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { OptionGroup } from "../OptionGroup";
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
5
5
|
/**
|
|
6
6
|
* Radio (single value) field creator
|
|
7
7
|
* type: radio
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Typography } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { SelectEx } from "../SelectEx";
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
5
5
|
/**
|
|
6
6
|
* Select (single value) field creator
|
|
7
7
|
* type select
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { SwitchAnt } from "../SwitchAnt";
|
|
4
|
-
import
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
5
5
|
/**
|
|
6
6
|
* Input field creator
|
|
7
7
|
* type: switch
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Typography } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { InputField } from "../InputField";
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
5
5
|
/**
|
|
6
6
|
* Textarea field creator
|
|
7
7
|
* type: textarea
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ContainerProps, Theme } from "@mui/material";
|
|
3
2
|
import type { CustomFabSize } from "../CustomFabProps";
|
|
4
3
|
import type { IStateUpdate, ListItemReact } from "@etsoo/react";
|
|
5
4
|
import type { UserKey } from "@etsoo/appscript";
|
|
5
|
+
import { ContainerProps } from "@mui/material/Container";
|
|
6
|
+
import { Theme } from "@mui/material/styles";
|
|
6
7
|
/**
|
|
7
8
|
* Common page props
|
|
8
9
|
* Default container id is 'pageContainer'
|
|
@@ -4,11 +4,13 @@ import { FabBox } from "../FabBox";
|
|
|
4
4
|
import { ScrollTopFab } from "../ScrollTopFab";
|
|
5
5
|
import { MUGlobal } from "../MUGlobal";
|
|
6
6
|
import { MoreFab } from "../MoreFab";
|
|
7
|
-
import { Container, Fab, useTheme } from "@mui/material";
|
|
8
7
|
import RefreshIcon from "@mui/icons-material/Refresh";
|
|
9
8
|
import { BackButton } from "../BackButton";
|
|
10
9
|
import { Labels } from "../app/Labels";
|
|
11
10
|
import { useAppContext } from "../app/ReactApp";
|
|
11
|
+
import Container from "@mui/material/Container";
|
|
12
|
+
import { useTheme } from "@mui/material/styles";
|
|
13
|
+
import Fab from "@mui/material/Fab";
|
|
12
14
|
/**
|
|
13
15
|
* Common page
|
|
14
16
|
* @param props Props
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCombinedRefs, useDimensions } from "@etsoo/react";
|
|
3
|
-
import { Box, Stack } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { DataGridEx } from "../DataGridEx";
|
|
6
5
|
import { MUGlobal } from "../MUGlobal";
|
|
7
6
|
import { SearchBar } from "../SearchBar";
|
|
8
7
|
import { CommonPage } from "./CommonPage";
|
|
9
8
|
import { GridUtils } from "../GridUtils";
|
|
9
|
+
import Stack from "@mui/material/Stack";
|
|
10
|
+
import Box from "@mui/material/Box";
|
|
10
11
|
/**
|
|
11
12
|
* DataGrid page
|
|
12
13
|
* @param props Props
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, Grid2 } from "@mui/material";
|
|
3
2
|
import { MUGlobal } from "../MUGlobal";
|
|
4
3
|
import { CommonPage } from "./CommonPage";
|
|
5
4
|
import SaveIcon from "@mui/icons-material/Save";
|
|
@@ -7,6 +6,8 @@ import DeleteIcon from "@mui/icons-material/Delete";
|
|
|
7
6
|
import { BackButton } from "../BackButton";
|
|
8
7
|
import { Labels } from "../app/Labels";
|
|
9
8
|
import { OperationMessageContainer } from "../messages/OperationMessageContainer";
|
|
9
|
+
import Grid from "@mui/material/Grid";
|
|
10
|
+
import Button from "@mui/material/Button";
|
|
10
11
|
/**
|
|
11
12
|
* Add / Edit page
|
|
12
13
|
* @param props Props
|
|
@@ -16,7 +17,7 @@ export function EditPage(props) {
|
|
|
16
17
|
const { children, isEditing, onDelete, onSubmit, paddings = MUGlobal.pagePaddings, scrollContainer = globalThis, supportBack = true, submitDisabled = false, bottomPart, topPart, operationMessageHandler, ...rest } = props;
|
|
17
18
|
// Labels
|
|
18
19
|
const labels = Labels.CommonPage;
|
|
19
|
-
return (_jsxs(CommonPage, { paddings: paddings, scrollContainer: scrollContainer, ...rest, children: [operationMessageHandler && (_jsx(OperationMessageContainer, { handler: operationMessageHandler })), topPart, _jsxs("form", { onSubmit: onSubmit, children: [_jsx(
|
|
20
|
+
return (_jsxs(CommonPage, { paddings: paddings, scrollContainer: scrollContainer, ...rest, children: [operationMessageHandler && (_jsx(OperationMessageContainer, { handler: operationMessageHandler })), topPart, _jsxs("form", { onSubmit: onSubmit, children: [_jsx(Grid, { container: true, justifyContent: "left", spacing: paddings, paddingTop: 1, children: children }), _jsxs(Grid, { container: true, position: "sticky", display: "flex", gap: paddings, sx: {
|
|
20
21
|
top: "auto",
|
|
21
22
|
bottom: (theme) => MUGlobal.updateWithTheme(paddings, theme.spacing),
|
|
22
23
|
paddingTop: paddings
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCombinedRefs, useDimensions } from "@etsoo/react";
|
|
3
|
-
import { Box, Stack } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { MUGlobal } from "../MUGlobal";
|
|
6
5
|
import { ScrollerListEx } from "../ScrollerListEx";
|
|
7
6
|
import { SearchBar } from "../SearchBar";
|
|
8
7
|
import { CommonPage } from "./CommonPage";
|
|
9
8
|
import { GridUtils } from "../GridUtils";
|
|
9
|
+
import Box from "@mui/material/Box";
|
|
10
|
+
import Stack from "@mui/material/Stack";
|
|
10
11
|
/**
|
|
11
12
|
* Fixed height list page
|
|
12
13
|
* @param props Props
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Avatar, Divider, Drawer, IconButton, List, Typography } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import ChevronLeftIcon from "@mui/icons-material/ChevronLeft";
|
|
5
4
|
import { DrawerHeader } from "./DrawerHeader";
|
|
6
5
|
import { useAppContext } from "../app/ReactApp";
|
|
6
|
+
import Drawer from "@mui/material/Drawer";
|
|
7
|
+
import Avatar from "@mui/material/Avatar";
|
|
8
|
+
import Typography from "@mui/material/Typography";
|
|
9
|
+
import IconButton from "@mui/material/IconButton";
|
|
10
|
+
import Divider from "@mui/material/Divider";
|
|
11
|
+
import List from "@mui/material/List";
|
|
7
12
|
export function LeftDrawer(props) {
|
|
8
13
|
// Global app
|
|
9
14
|
const app = useAppContext();
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCombinedRefs, useDimensions } from "@etsoo/react";
|
|
3
|
-
import { Box, Stack } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { MUGlobal } from "../MUGlobal";
|
|
6
5
|
import { ScrollerListEx } from "../ScrollerListEx";
|
|
7
6
|
import { SearchBar } from "../SearchBar";
|
|
8
7
|
import { CommonPage } from "./CommonPage";
|
|
9
8
|
import { GridUtils } from "../GridUtils";
|
|
9
|
+
import Stack from "@mui/material/Stack";
|
|
10
|
+
import Box from "@mui/material/Box";
|
|
10
11
|
/**
|
|
11
12
|
* List page
|
|
12
13
|
* @param props Props
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCombinedRefs, useDimensions } from "@etsoo/react";
|
|
3
|
-
import { Box, Stack } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { MUGlobal } from "../MUGlobal";
|
|
6
5
|
import { SearchBar } from "../SearchBar";
|
|
7
6
|
import { TableEx, TableExMinWidth } from "../TableEx";
|
|
8
7
|
import { CommonPage } from "./CommonPage";
|
|
9
8
|
import { GridUtils } from "../GridUtils";
|
|
9
|
+
import Stack from "@mui/material/Stack";
|
|
10
|
+
import Box from "@mui/material/Box";
|
|
10
11
|
/**
|
|
11
12
|
* Table page
|
|
12
13
|
* @param props Props
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { EventWatcher } from "@etsoo/react";
|
|
3
|
-
import { IconButton, Menu } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { useNavigate } from "react-router";
|
|
6
5
|
import { UserAvatar } from "../UserAvatar";
|
|
6
|
+
import IconButton from "@mui/material/IconButton";
|
|
7
|
+
import Menu from "@mui/material/Menu";
|
|
7
8
|
/**
|
|
8
9
|
* Event watcher
|
|
9
10
|
*/
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ScrollRestoration } from "@etsoo/react";
|
|
3
3
|
import { Utils } from "@etsoo/shared";
|
|
4
|
-
import { LinearProgress, Stack } from "@mui/material";
|
|
5
4
|
import React from "react";
|
|
6
5
|
import { Labels } from "../app/Labels";
|
|
7
6
|
import { MUGlobal } from "../MUGlobal";
|
|
@@ -10,6 +9,8 @@ import { CommonPage } from "./CommonPage";
|
|
|
10
9
|
import { MessageUtils } from "../messages/MessageUtils";
|
|
11
10
|
import { OperationMessageContainer } from "../messages/OperationMessageContainer";
|
|
12
11
|
import { ViewContainer } from "../ViewContainer";
|
|
12
|
+
import LinearProgress from "@mui/material/LinearProgress";
|
|
13
|
+
import Stack from "@mui/material/Stack";
|
|
13
14
|
/**
|
|
14
15
|
* View page
|
|
15
16
|
* @param props Props
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@dnd-kit/sortable": "^10.0.0",
|
|
41
41
|
"@emotion/react": "^11.14.0",
|
|
42
42
|
"@emotion/styled": "^11.14.0",
|
|
43
|
-
"@etsoo/appscript": "^1.6.
|
|
43
|
+
"@etsoo/appscript": "^1.6.20",
|
|
44
44
|
"@etsoo/notificationbase": "^1.1.59",
|
|
45
|
-
"@etsoo/react": "^1.8.
|
|
45
|
+
"@etsoo/react": "^1.8.34",
|
|
46
46
|
"@etsoo/shared": "^1.2.63",
|
|
47
|
-
"@mui/icons-material": "^
|
|
48
|
-
"@mui/material": "^
|
|
47
|
+
"@mui/icons-material": "^7.0.0",
|
|
48
|
+
"@mui/material": "^7.0.0",
|
|
49
49
|
"@mui/x-data-grid": "^7.28.1",
|
|
50
50
|
"chart.js": "^4.4.8",
|
|
51
51
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
@@ -65,17 +65,17 @@
|
|
|
65
65
|
"@emotion/react": "$@emotion/react"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@babel/cli": "^7.
|
|
68
|
+
"@babel/cli": "^7.27.0",
|
|
69
69
|
"@babel/core": "^7.26.10",
|
|
70
70
|
"@babel/plugin-transform-runtime": "^7.26.10",
|
|
71
71
|
"@babel/preset-env": "^7.26.9",
|
|
72
72
|
"@babel/preset-react": "^7.26.3",
|
|
73
|
-
"@babel/preset-typescript": "^7.
|
|
74
|
-
"@babel/runtime-corejs3": "^7.
|
|
73
|
+
"@babel/preset-typescript": "^7.27.0",
|
|
74
|
+
"@babel/runtime-corejs3": "^7.27.0",
|
|
75
75
|
"@testing-library/react": "^16.2.0",
|
|
76
76
|
"@types/pica": "^9.0.5",
|
|
77
77
|
"@types/pulltorefreshjs": "^0.1.7",
|
|
78
|
-
"@types/react": "^18.3.
|
|
78
|
+
"@types/react": "^18.3.20",
|
|
79
79
|
"@types/react-avatar-editor": "^13.0.4",
|
|
80
80
|
"@types/react-dom": "^18.3.5",
|
|
81
81
|
"@types/react-input-mask": "^3.0.6",
|