@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/lib/mjs/OptionGroup.js
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { DataTypes, Utils } from "@etsoo/shared";
|
|
3
|
-
import
|
|
3
|
+
import Box from "@mui/material/Box";
|
|
4
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
5
|
+
import FormControl from "@mui/material/FormControl";
|
|
6
|
+
import FormControlLabel from "@mui/material/FormControlLabel";
|
|
7
|
+
import FormGroup from "@mui/material/FormGroup";
|
|
8
|
+
import FormHelperText from "@mui/material/FormHelperText";
|
|
9
|
+
import InputLabel from "@mui/material/InputLabel";
|
|
4
10
|
import NotchedOutline from "@mui/material/OutlinedInput";
|
|
11
|
+
import Radio from "@mui/material/Radio";
|
|
12
|
+
import RadioGroup from "@mui/material/RadioGroup";
|
|
5
13
|
import React from "react";
|
|
6
14
|
/**
|
|
7
15
|
* OptionGroup
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { DataTypes, Utils } from "@etsoo/shared";
|
|
3
|
-
import
|
|
3
|
+
import Box from "@mui/material/Box";
|
|
4
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
5
|
+
import FormControl from "@mui/material/FormControl";
|
|
6
|
+
import FormControlLabel from "@mui/material/FormControlLabel";
|
|
7
|
+
import FormGroup from "@mui/material/FormGroup";
|
|
8
|
+
import FormHelperText from "@mui/material/FormHelperText";
|
|
9
|
+
import InputLabel from "@mui/material/InputLabel";
|
|
4
10
|
import NotchedOutline from "@mui/material/OutlinedInput";
|
|
5
11
|
import React from "react";
|
|
6
12
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { CircularProgressProps
|
|
1
|
+
import { CircularProgressProps } from "@mui/material/CircularProgress";
|
|
2
|
+
import { TypographyProps } from "@mui/material/Typography";
|
|
2
3
|
export type PercentCircularProgressProps = CircularProgressProps & {
|
|
3
4
|
value: number;
|
|
4
5
|
valueUnit?: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import Box from "@mui/material/Box";
|
|
3
|
+
import CircularProgress from "@mui/material/CircularProgress";
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
3
5
|
export function PercentCircularProgress(props) {
|
|
4
6
|
// Destruct
|
|
5
7
|
const { textProps, valueUnit = "%", ...rest } = props;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { LinearProgressProps
|
|
1
|
+
import { LinearProgressProps } from "@mui/material/LinearProgress";
|
|
2
|
+
import { TypographyProps } from "@mui/material/Typography";
|
|
2
3
|
export type PercentLinearProgressProps = LinearProgressProps & {
|
|
3
4
|
value: number;
|
|
4
5
|
valueUnit?: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import Box from "@mui/material/Box";
|
|
3
|
+
import LinearProgress from "@mui/material/LinearProgress";
|
|
4
|
+
import Typography from "@mui/material/Typography";
|
|
3
5
|
export function PercentLinearProgress(props) {
|
|
4
6
|
// Destruct
|
|
5
7
|
const { textProps, valueUnit = "%", ...rest } = props;
|
package/lib/mjs/ProgressCount.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import Box from "@mui/material/Box";
|
|
3
|
+
import CircularProgress from "@mui/material/CircularProgress";
|
|
4
|
+
import LinearProgress from "@mui/material/LinearProgress";
|
|
5
|
+
import Typography from "@mui/material/Typography";
|
|
3
6
|
import React from "react";
|
|
4
7
|
/**
|
|
5
8
|
* Progress count
|
package/lib/mjs/QuickList.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ListType2 } from "@etsoo/shared";
|
|
2
|
-
import { ListItemButtonProps, ListItemProps, StackProps } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { InputFieldProps } from "./InputField";
|
|
4
|
+
import { StackProps } from "@mui/material/Stack";
|
|
5
|
+
import { ListItemButtonProps } from "@mui/material/ListItemButton";
|
|
6
|
+
import { ListItemProps } from "@mui/material/ListItem";
|
|
5
7
|
/**
|
|
6
8
|
* Quick list props
|
|
7
9
|
*/
|
package/lib/mjs/QuickList.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { DataTypes } from "@etsoo/shared";
|
|
3
|
-
import { LinearProgress, List, ListItem, ListItemButton, Typography } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { InputField } from "./InputField";
|
|
6
5
|
import { VBox } from "./FlexBox";
|
|
7
6
|
import { useAppContext } from "./app/ReactApp";
|
|
7
|
+
import ListItemButton from "@mui/material/ListItemButton";
|
|
8
|
+
import ListItem from "@mui/material/ListItem";
|
|
9
|
+
import LinearProgress from "@mui/material/LinearProgress";
|
|
10
|
+
import Typography from "@mui/material/Typography";
|
|
11
|
+
import List from "@mui/material/List";
|
|
8
12
|
/**
|
|
9
13
|
* Quick list
|
|
10
14
|
* @param props Props
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SxProps, Theme } from "@mui/material";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { ListChildComponentProps } from "react-window";
|
|
4
3
|
import { GridColumn, GridJsonData, GridMethodRef, GridTemplateType } from "@etsoo/react";
|
|
5
4
|
import { DataGridExProps } from "./DataGridEx";
|
|
6
5
|
import { ScrollerListExInnerItemRendererProps, ScrollerListExItemSize } from "./ScrollerListEx";
|
|
6
|
+
import { SxProps, Theme } from "@mui/material/styles";
|
|
7
7
|
/**
|
|
8
8
|
* ResponsibleContainer props
|
|
9
9
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Box, Stack, useMediaQuery } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { ReactUtils, useCombinedRefs, useDimensions } from "@etsoo/react";
|
|
5
4
|
import { DataGridEx } from "./DataGridEx";
|
|
@@ -9,6 +8,9 @@ import { ScrollerListEx } from "./ScrollerListEx";
|
|
|
9
8
|
import { SearchBar } from "./SearchBar";
|
|
10
9
|
import { Labels } from "./app/Labels";
|
|
11
10
|
import { GridUtils } from "./GridUtils";
|
|
11
|
+
import useMediaQuery from "@mui/material/useMediaQuery";
|
|
12
|
+
import Box from "@mui/material/Box";
|
|
13
|
+
import Stack from "@mui/material/Stack";
|
|
12
14
|
function defaultContainerBoxSx(paddings, hasField, _dataGrid) {
|
|
13
15
|
const half = typeof paddings == "number" ? paddings / 2 : MUGlobal.half(paddings);
|
|
14
16
|
return {
|
package/lib/mjs/ScrollTopFab.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { Fab, useScrollTrigger, Zoom } from "@mui/material";
|
|
4
3
|
import VerticalAlignTopIcon from "@mui/icons-material/VerticalAlignTop";
|
|
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
|
* Scroll to top fab
|
|
7
9
|
* @returns Component
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { css } from "@emotion/css";
|
|
3
3
|
import { ScrollerList } from "@etsoo/react";
|
|
4
4
|
import { Utils } from "@etsoo/shared";
|
|
5
|
-
import { useTheme } from "@mui/material";
|
|
6
5
|
import React from "react";
|
|
7
6
|
import { MUGlobal } from "./MUGlobal";
|
|
7
|
+
import { useTheme } from "@mui/material/styles";
|
|
8
8
|
// Scroll bar size
|
|
9
9
|
const scrollbarSize = 16;
|
|
10
10
|
// Selected class name
|
package/lib/mjs/SearchBar.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, Drawer, IconButton, Stack, Toolbar } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
|
|
5
4
|
import { DomUtils, NumberUtils } from "@etsoo/shared";
|
|
6
5
|
import { ReactUtils, useDelayedExecutor, useDimensions } from "@etsoo/react";
|
|
7
6
|
import { Labels } from "./app/Labels";
|
|
7
|
+
import Stack from "@mui/material/Stack";
|
|
8
|
+
import IconButton from "@mui/material/IconButton";
|
|
9
|
+
import Button from "@mui/material/Button";
|
|
10
|
+
import Drawer from "@mui/material/Drawer";
|
|
11
|
+
import Toolbar from "@mui/material/Toolbar";
|
|
8
12
|
// Cached width attribute name
|
|
9
13
|
const cachedWidthName = "data-cached-width";
|
|
10
14
|
// Reset form
|
package/lib/mjs/SearchField.d.ts
CHANGED
package/lib/mjs/SearchField.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useDelayedExecutor } from "@etsoo/react";
|
|
3
|
-
import { TextField } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { MUGlobal } from "./MUGlobal";
|
|
5
|
+
import TextField from "@mui/material/TextField";
|
|
6
6
|
/**
|
|
7
7
|
* Search field
|
|
8
8
|
* @param props Props
|
package/lib/mjs/SelectEx.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SelectProps, SelectVariants } from "@mui/material";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { DataTypes, IdDefaultType, LabelDefaultType, ListType } from "@etsoo/shared";
|
|
3
|
+
import { SelectProps, SelectVariants } from "@mui/material/Select";
|
|
4
4
|
/**
|
|
5
5
|
* Extended select component props
|
|
6
6
|
*/
|
package/lib/mjs/SelectEx.js
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Checkbox, FormControl, FormHelperText, IconButton, InputLabel, ListItemText, MenuItem, OutlinedInput, Select, Stack } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { MUGlobal } from "./MUGlobal";
|
|
5
4
|
import { ListItemRightIcon } from "./ListItemRightIcon";
|
|
6
|
-
import RefreshIcon from "@mui/icons-material/Refresh";
|
|
7
5
|
import { ArrayUtils, Utils } from "@etsoo/shared";
|
|
8
6
|
import { ReactUtils } from "@etsoo/react";
|
|
7
|
+
import Select from "@mui/material/Select";
|
|
8
|
+
import Stack from "@mui/material/Stack";
|
|
9
|
+
import FormControl from "@mui/material/FormControl";
|
|
10
|
+
import InputLabel from "@mui/material/InputLabel";
|
|
11
|
+
import OutlinedInput from "@mui/material/OutlinedInput";
|
|
12
|
+
import MenuItem from "@mui/material/MenuItem";
|
|
13
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
14
|
+
import ListItemText from "@mui/material/ListItemText";
|
|
15
|
+
import IconButton from "@mui/material/IconButton";
|
|
16
|
+
import FormHelperText from "@mui/material/FormHelperText";
|
|
17
|
+
import RefreshIcon from "@mui/icons-material/Refresh";
|
|
9
18
|
/**
|
|
10
19
|
* Extended select component
|
|
11
20
|
* @param props Props
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { NotificationMessageType } from "@etsoo/notificationbase";
|
|
3
3
|
import { Utils } from "@etsoo/shared";
|
|
4
|
-
import { Table, TableBody, TableCell, TableHead, TableRow } from "@mui/material";
|
|
5
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";
|
|
6
10
|
/**
|
|
7
11
|
* Check obj is instance of AuditLineChangesDto
|
|
8
12
|
* @param obj Input
|
package/lib/mjs/Switch.d.ts
CHANGED
package/lib/mjs/Switch.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { FormControlLabel } from "@mui/material";
|
|
4
3
|
import MuiCheckbox from "@mui/material/Checkbox";
|
|
5
4
|
import MuiSwitch from "@mui/material/Switch";
|
|
5
|
+
import FormControlLabel from "@mui/material/FormControlLabel";
|
|
6
6
|
/**
|
|
7
7
|
* Switch
|
|
8
8
|
* @param props Props
|
package/lib/mjs/SwitchAnt.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Stack, Typography } from "@mui/material";
|
|
3
|
-
import Switch from "@mui/material/Switch";
|
|
4
2
|
import React from "react";
|
|
5
3
|
import { useAppContext } from "./app/ReactApp";
|
|
4
|
+
import Switch from "@mui/material/Switch";
|
|
5
|
+
import Stack from "@mui/material/Stack";
|
|
6
|
+
import Typography from "@mui/material/Typography";
|
|
6
7
|
/**
|
|
7
8
|
* Ant style switch
|
|
8
9
|
* @param props Props
|
package/lib/mjs/SwitchField.d.ts
CHANGED
package/lib/mjs/SwitchField.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Box, FormControl, FormHelperText, InputLabel } from "@mui/material";
|
|
3
2
|
import NotchedOutline from "@mui/material/OutlinedInput";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { SwitchAnt } from "./SwitchAnt";
|
|
5
|
+
import FormControl from "@mui/material/FormControl";
|
|
6
|
+
import InputLabel from "@mui/material/InputLabel";
|
|
7
|
+
import Box from "@mui/material/Box";
|
|
8
|
+
import FormHelperText from "@mui/material/FormHelperText";
|
|
6
9
|
/**
|
|
7
10
|
* SwitchField
|
|
8
11
|
* @param props Props
|
package/lib/mjs/TabBox.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { BoxProps
|
|
1
|
+
import { BoxProps } from "@mui/material/Box";
|
|
2
|
+
import { TabProps } from "@mui/material/Tab";
|
|
3
|
+
import { TabsProps } from "@mui/material/Tabs";
|
|
2
4
|
import React from "react";
|
|
3
5
|
/**
|
|
4
6
|
* Tab with box panel props
|
package/lib/mjs/TabBox.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Utils } from "@etsoo/shared";
|
|
3
|
-
import
|
|
3
|
+
import Box from "@mui/material/Box";
|
|
4
|
+
import Tab from "@mui/material/Tab";
|
|
5
|
+
import Tabs from "@mui/material/Tabs";
|
|
4
6
|
import React from "react";
|
|
5
7
|
import { Link } from "react-router";
|
|
6
8
|
/**
|
package/lib/mjs/TableEx.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GridColumn, GridLoader, GridMethodRef } from "@etsoo/react";
|
|
2
2
|
import { DataTypes, IdDefaultType } from "@etsoo/shared";
|
|
3
|
-
import { TableProps } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
4
|
+
import { TableProps } from "@mui/material/Table";
|
|
5
5
|
/**
|
|
6
6
|
* Extended table min width for width-unset column
|
|
7
7
|
*/
|
package/lib/mjs/TableEx.js
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { GridAlignGet, GridSizeGet } from "@etsoo/react";
|
|
3
3
|
import { DataTypes } from "@etsoo/shared";
|
|
4
|
-
import { Checkbox, Paper, Table, TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow, TableSortLabel, useTheme } from "@mui/material";
|
|
5
4
|
import React from "react";
|
|
6
5
|
import { DataGridRenderers } from "./DataGridRenderers";
|
|
6
|
+
import Table from "@mui/material/Table";
|
|
7
|
+
import { useTheme } from "@mui/material/styles";
|
|
8
|
+
import Paper from "@mui/material/Paper";
|
|
9
|
+
import TableContainer from "@mui/material/TableContainer";
|
|
10
|
+
import TableHead from "@mui/material/TableHead";
|
|
11
|
+
import TableRow from "@mui/material/TableRow";
|
|
12
|
+
import TableCell from "@mui/material/TableCell";
|
|
13
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
14
|
+
import TableSortLabel from "@mui/material/TableSortLabel";
|
|
15
|
+
import TableBody from "@mui/material/TableBody";
|
|
16
|
+
import TablePagination from "@mui/material/TablePagination";
|
|
7
17
|
/**
|
|
8
18
|
* Extended table min width for width-unset column
|
|
9
19
|
*/
|
package/lib/mjs/TagList.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AutocompleteProps } from "@mui/material";
|
|
2
1
|
import { InputFieldProps } from "./InputField";
|
|
2
|
+
import { AutocompleteProps } from "@mui/material/Autocomplete";
|
|
3
3
|
export type TagListProps = Omit<AutocompleteProps<string, true, false, true>, "open" | "multiple" | "freeSolo" | "options" | "renderInput"> & {
|
|
4
4
|
/**
|
|
5
5
|
* Label
|
package/lib/mjs/TagList.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Autocomplete, Checkbox, Chip } from "@mui/material";
|
|
3
2
|
import CheckBoxOutlineBlankIcon from "@mui/icons-material/CheckBoxOutlineBlank";
|
|
4
3
|
import CheckBoxIcon from "@mui/icons-material/CheckBox";
|
|
5
4
|
import React from "react";
|
|
6
5
|
import { InputField } from "./InputField";
|
|
7
6
|
import { useAppContext } from "./app/ReactApp";
|
|
7
|
+
import Autocomplete from "@mui/material/Autocomplete";
|
|
8
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
9
|
+
import Chip from "@mui/material/Chip";
|
|
8
10
|
export function TagList(props) {
|
|
9
11
|
// Global app
|
|
10
12
|
const app = useAppContext();
|
package/lib/mjs/TagListPro.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AutocompleteProps } from "@mui/material";
|
|
2
1
|
import { InputFieldProps } from "./InputField";
|
|
3
2
|
import { ListType2 } from "@etsoo/shared";
|
|
3
|
+
import { AutocompleteProps } from "@mui/material/Autocomplete";
|
|
4
4
|
export type TagListProProps<D extends ListType2 = ListType2> = Omit<AutocompleteProps<D, true, false, false>, "open" | "multiple" | "options" | "renderInput"> & {
|
|
5
5
|
/**
|
|
6
6
|
* Label
|
package/lib/mjs/TagListPro.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Autocomplete, Checkbox, Chip } from "@mui/material";
|
|
3
2
|
import CheckBoxOutlineBlankIcon from "@mui/icons-material/CheckBoxOutlineBlank";
|
|
4
3
|
import CheckBoxIcon from "@mui/icons-material/CheckBox";
|
|
5
4
|
import React from "react";
|
|
6
5
|
import { InputField } from "./InputField";
|
|
7
6
|
import { DataTypes } from "@etsoo/shared";
|
|
8
7
|
import { useAppContext } from "./app/ReactApp";
|
|
8
|
+
import Autocomplete from "@mui/material/Autocomplete";
|
|
9
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
10
|
+
import Chip from "@mui/material/Chip";
|
|
9
11
|
export function TagListPro(props) {
|
|
10
12
|
// Global app
|
|
11
13
|
const app = useAppContext();
|
package/lib/mjs/TextFieldEx.d.ts
CHANGED
package/lib/mjs/TextFieldEx.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { IconButton, InputAdornment, TextField } from "@mui/material";
|
|
4
3
|
import { MUGlobal } from "./MUGlobal";
|
|
5
|
-
import
|
|
4
|
+
import VisibilityIcon from "@mui/icons-material/Visibility";
|
|
5
|
+
import ClearIcon from "@mui/icons-material/Clear";
|
|
6
6
|
import { Keyboard } from "@etsoo/shared";
|
|
7
7
|
import { ReactUtils, useCombinedRefs, useDelayedExecutor } from "@etsoo/react";
|
|
8
8
|
import { useAppContext } from "./app/ReactApp";
|
|
9
|
+
import TextField from "@mui/material/TextField";
|
|
10
|
+
import InputAdornment from "@mui/material/InputAdornment";
|
|
11
|
+
import IconButton from "@mui/material/IconButton";
|
|
9
12
|
export const TextFieldEx = React.forwardRef((props, ref) => {
|
|
10
13
|
// Global app
|
|
11
14
|
const app = useAppContext();
|
|
@@ -81,7 +84,7 @@ export const TextFieldEx = React.forwardRef((props, ref) => {
|
|
|
81
84
|
};
|
|
82
85
|
// Show password and/or clear button
|
|
83
86
|
if (!empty && (showPassword || showClear)) {
|
|
84
|
-
InputProps.endAdornment = (_jsxs(InputAdornment, { position: "end", children: [showPassword && (_jsx(IconButton, { tabIndex: -1, onContextMenu: (event) => event.preventDefault(), onMouseDown: touchStart, onMouseUp: touchEnd, onTouchStart: touchStart, onTouchCancel: touchEnd, onTouchEnd: touchEnd, title: showIt, children: _jsx(
|
|
87
|
+
InputProps.endAdornment = (_jsxs(InputAdornment, { position: "end", children: [showPassword && (_jsx(IconButton, { tabIndex: -1, onContextMenu: (event) => event.preventDefault(), onMouseDown: touchStart, onMouseUp: touchEnd, onTouchStart: touchStart, onTouchCancel: touchEnd, onTouchEnd: touchEnd, title: showIt, children: _jsx(VisibilityIcon, {}) })), showClear && (_jsx(IconButton, { onClick: clearClick, tabIndex: -1, title: clearLabel, children: _jsx(ClearIcon, {}) }))] }));
|
|
85
88
|
}
|
|
86
89
|
// Extend key precess
|
|
87
90
|
const onKeyPressEx = onEnter == null
|
package/lib/mjs/Tiplist.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ReactUtils, useDelayedExecutor } from "@etsoo/react";
|
|
3
3
|
import { DataTypes } from "@etsoo/shared";
|
|
4
|
-
import { Autocomplete } from "@mui/material";
|
|
5
4
|
import React from "react";
|
|
6
5
|
import { SearchField } from "./SearchField";
|
|
7
6
|
import { InputField } from "./InputField";
|
|
8
7
|
import { useAppContext } from "./app/ReactApp";
|
|
8
|
+
import Autocomplete from "@mui/material/Autocomplete";
|
|
9
9
|
/**
|
|
10
10
|
* Tiplist
|
|
11
11
|
* @param props Props
|
package/lib/mjs/TiplistPro.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ListType2 } from "@etsoo/shared";
|
|
2
|
-
import { AutocompleteProps } from "@mui/material";
|
|
3
2
|
import { ChangeEventHandler } from "react";
|
|
4
3
|
import { InputFieldProps } from "./InputField";
|
|
4
|
+
import { AutocompleteProps } from "@mui/material/Autocomplete";
|
|
5
5
|
/**
|
|
6
6
|
* TiplistPro props
|
|
7
7
|
*/
|
package/lib/mjs/TiplistPro.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ReactUtils, useDelayedExecutor } from "@etsoo/react";
|
|
3
3
|
import { DataTypes } from "@etsoo/shared";
|
|
4
|
-
import { Autocomplete } from "@mui/material";
|
|
5
4
|
import React from "react";
|
|
6
5
|
import { InputField } from "./InputField";
|
|
7
6
|
import { useAppContext } from "./app/ReactApp";
|
|
7
|
+
import Autocomplete from "@mui/material/Autocomplete";
|
|
8
8
|
/**
|
|
9
9
|
* TiplistPro
|
|
10
10
|
* @param props Props
|
package/lib/mjs/TooltipClick.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useDelayedExecutor } from "@etsoo/react";
|
|
3
|
-
import
|
|
3
|
+
import ClickAwayListener from "@mui/material/ClickAwayListener";
|
|
4
|
+
import Tooltip from "@mui/material/Tooltip";
|
|
4
5
|
import React from "react";
|
|
5
6
|
/**
|
|
6
7
|
* Tooltip with click visibility
|
package/lib/mjs/TwoFieldInput.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Input, InputAdornment } from "@mui/material";
|
|
3
2
|
import ArrowRightAltIcon from "@mui/icons-material/ArrowRightAlt";
|
|
4
3
|
import { useDimensions } from "@etsoo/react";
|
|
5
4
|
import React from "react";
|
|
6
5
|
import { DateUtils, DomUtils } from "@etsoo/shared";
|
|
7
6
|
import { InputField } from "./InputField";
|
|
7
|
+
import InputAdornment from "@mui/material/InputAdornment";
|
|
8
|
+
import Input from "@mui/material/Input";
|
|
8
9
|
/**
|
|
9
10
|
* TwoField Input
|
|
10
11
|
* @param props Props
|
package/lib/mjs/UserAvatar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Avatar } from "@mui/material";
|
|
3
2
|
import { BusinessUtils } from "@etsoo/appscript";
|
|
4
3
|
import { useAppContext } from "./app/ReactApp";
|
|
4
|
+
import Avatar from "@mui/material/Avatar";
|
|
5
5
|
/**
|
|
6
6
|
* User avatar
|
|
7
7
|
* @param props Props
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, ButtonGroup, IconButton, Skeleton, Slider, Stack } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import RotateLeftIcon from "@mui/icons-material/RotateLeft";
|
|
5
4
|
import RotateRightIcon from "@mui/icons-material/RotateRight";
|
|
@@ -10,6 +9,12 @@ import RemoveIcon from "@mui/icons-material/Remove";
|
|
|
10
9
|
import AddIcon from "@mui/icons-material/Add";
|
|
11
10
|
import { Labels } from "./app/Labels";
|
|
12
11
|
import { FileUploadButton } from "./FileUploadButton";
|
|
12
|
+
import Stack from "@mui/material/Stack";
|
|
13
|
+
import Skeleton from "@mui/material/Skeleton";
|
|
14
|
+
import ButtonGroup from "@mui/material/ButtonGroup";
|
|
15
|
+
import Button from "@mui/material/Button";
|
|
16
|
+
import IconButton from "@mui/material/IconButton";
|
|
17
|
+
import Slider from "@mui/material/Slider";
|
|
13
18
|
const defaultSize = 300;
|
|
14
19
|
const defaultState = {
|
|
15
20
|
scale: 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;
|
|
@@ -150,7 +151,7 @@ export function ViewPageGridItem(props) {
|
|
|
150
151
|
options = getResp(singleRow ?? "small");
|
|
151
152
|
}
|
|
152
153
|
// Layout
|
|
153
|
-
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 }))] }));
|
|
154
155
|
}
|
|
155
156
|
export function ViewContainer(props) {
|
|
156
157
|
// Global app
|
|
@@ -220,5 +221,5 @@ export function ViewContainer(props) {
|
|
|
220
221
|
}, [app, fields, data, bp]);
|
|
221
222
|
let leftResult;
|
|
222
223
|
// Layout
|
|
223
|
-
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)] }));
|
|
224
225
|
}
|