@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
|
@@ -5,11 +5,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.LeftDrawer = LeftDrawer;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
const material_1 = require("@mui/material");
|
|
9
8
|
const react_1 = __importDefault(require("react"));
|
|
10
9
|
const ChevronLeft_1 = __importDefault(require("@mui/icons-material/ChevronLeft"));
|
|
11
10
|
const DrawerHeader_1 = require("./DrawerHeader");
|
|
12
11
|
const ReactApp_1 = require("../app/ReactApp");
|
|
12
|
+
const Drawer_1 = __importDefault(require("@mui/material/Drawer"));
|
|
13
|
+
const Avatar_1 = __importDefault(require("@mui/material/Avatar"));
|
|
14
|
+
const Typography_1 = __importDefault(require("@mui/material/Typography"));
|
|
15
|
+
const IconButton_1 = __importDefault(require("@mui/material/IconButton"));
|
|
16
|
+
const Divider_1 = __importDefault(require("@mui/material/Divider"));
|
|
17
|
+
const List_1 = __importDefault(require("@mui/material/List"));
|
|
13
18
|
function LeftDrawer(props) {
|
|
14
19
|
// Global app
|
|
15
20
|
const app = (0, ReactApp_1.useAppContext)();
|
|
@@ -26,7 +31,7 @@ function LeftDrawer(props) {
|
|
|
26
31
|
react_1.default.useEffect(() => {
|
|
27
32
|
setOpen(open);
|
|
28
33
|
}, [open]);
|
|
29
|
-
return ((0, jsx_runtime_1.jsxs)(
|
|
34
|
+
return ((0, jsx_runtime_1.jsxs)(Drawer_1.default, { hidden: !openLocal, sx: {
|
|
30
35
|
width,
|
|
31
36
|
flexShrink: 0,
|
|
32
37
|
"& .MuiDrawer-paper": {
|
|
@@ -35,5 +40,5 @@ function LeftDrawer(props) {
|
|
|
35
40
|
}
|
|
36
41
|
}, anchor: "left", variant: mdUp ? "persistent" : "temporary", open: open, transitionDuration: 0, onClose: mdUp ? undefined : handleDrawerClose, ModalProps: {
|
|
37
42
|
keepMounted: true // Better open performance on mobile.
|
|
38
|
-
}, children: [(0, jsx_runtime_1.jsxs)(DrawerHeader_1.DrawerHeader, { children: [(0, jsx_runtime_1.jsx)("a", { href: "https://www.etsoo.com", title: app?.get("etsoo") ?? "ETSOO", target: "_blank", rel: "noreferrer", children: (0, jsx_runtime_1.jsx)(
|
|
43
|
+
}, children: [(0, jsx_runtime_1.jsxs)(DrawerHeader_1.DrawerHeader, { children: [(0, jsx_runtime_1.jsx)("a", { href: "https://www.etsoo.com", title: app?.get("etsoo") ?? "ETSOO", target: "_blank", rel: "noreferrer", children: (0, jsx_runtime_1.jsx)(Avatar_1.default, { src: logoUrl, variant: "square", sx: { marginLeft: -0.5, marginRight: 1.5, marginBottom: 1 } }) }), (0, jsx_runtime_1.jsx)(Typography_1.default, { noWrap: true, component: "div", title: appName, sx: { flexGrow: 2 }, children: appName }), (0, jsx_runtime_1.jsx)(IconButton_1.default, { size: "small", onClick: handleDrawerClose, children: (0, jsx_runtime_1.jsx)(ChevronLeft_1.default, {}) })] }), (0, jsx_runtime_1.jsx)(Divider_1.default, {}), (0, jsx_runtime_1.jsx)(List_1.default, { onClick: mdUp ? undefined : handleDrawerClose, children: children })] }));
|
|
39
44
|
}
|
|
@@ -6,13 +6,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.ListPage = ListPage;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const react_1 = require("@etsoo/react");
|
|
9
|
-
const material_1 = require("@mui/material");
|
|
10
9
|
const react_2 = __importDefault(require("react"));
|
|
11
10
|
const MUGlobal_1 = require("../MUGlobal");
|
|
12
11
|
const ScrollerListEx_1 = require("../ScrollerListEx");
|
|
13
12
|
const SearchBar_1 = require("../SearchBar");
|
|
14
13
|
const CommonPage_1 = require("./CommonPage");
|
|
15
14
|
const GridUtils_1 = require("../GridUtils");
|
|
15
|
+
const Stack_1 = __importDefault(require("@mui/material/Stack"));
|
|
16
|
+
const Box_1 = __importDefault(require("@mui/material/Box"));
|
|
16
17
|
/**
|
|
17
18
|
* List page
|
|
18
19
|
* @param props Props
|
|
@@ -80,7 +81,7 @@ function ListPage(props) {
|
|
|
80
81
|
};
|
|
81
82
|
const f = typeof fields == "function" ? fields(searchData ?? {}) : fields;
|
|
82
83
|
// Layout
|
|
83
|
-
return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { ...pageProps, scrollContainer: globalThis, children: (0, jsx_runtime_1.jsxs)(
|
|
84
|
+
return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { ...pageProps, scrollContainer: globalThis, children: (0, jsx_runtime_1.jsxs)(Stack_1.default, { children: [(0, jsx_runtime_1.jsx)(Box_1.default, { ref: dimensions[0][0], sx: {
|
|
84
85
|
paddingBottom: pageProps.paddings
|
|
85
86
|
}, children: rect && rect.width > 100 && ((0, jsx_runtime_1.jsx)(SearchBar_1.SearchBar, { fields: f, onSubmit: onSubmit, top: searchBarTop, width: rect.width })) }), (0, jsx_runtime_1.jsx)(ScrollerListEx_1.ScrollerListEx, { autoLoad: false, loadData: localLoadData, onUpdateRows: GridUtils_1.GridUtils.getUpdateRowsHandler(cacheKey), onInitLoad: onInitLoad, onScroll: onListScroll, mRef: refs, ...rest })] }) }));
|
|
86
87
|
}
|
|
@@ -6,13 +6,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.TablePage = TablePage;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const react_1 = require("@etsoo/react");
|
|
9
|
-
const material_1 = require("@mui/material");
|
|
10
9
|
const react_2 = __importDefault(require("react"));
|
|
11
10
|
const MUGlobal_1 = require("../MUGlobal");
|
|
12
11
|
const SearchBar_1 = require("../SearchBar");
|
|
13
12
|
const TableEx_1 = require("../TableEx");
|
|
14
13
|
const CommonPage_1 = require("./CommonPage");
|
|
15
14
|
const GridUtils_1 = require("../GridUtils");
|
|
15
|
+
const Stack_1 = __importDefault(require("@mui/material/Stack"));
|
|
16
|
+
const Box_1 = __importDefault(require("@mui/material/Box"));
|
|
16
17
|
/**
|
|
17
18
|
* Table page
|
|
18
19
|
* @param props Props
|
|
@@ -66,7 +67,7 @@ function TablePage(props) {
|
|
|
66
67
|
}, [rect]);
|
|
67
68
|
const f = typeof fields == "function" ? fields(searchData ?? {}) : fields;
|
|
68
69
|
// Layout
|
|
69
|
-
return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { ...pageProps, scrollContainer: globalThis, children: (0, jsx_runtime_1.jsxs)(
|
|
70
|
+
return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { ...pageProps, scrollContainer: globalThis, children: (0, jsx_runtime_1.jsxs)(Stack_1.default, { children: [(0, jsx_runtime_1.jsx)(Box_1.default, { ref: dimensions[0][0], sx: {
|
|
70
71
|
paddingBottom: pageProps.paddings
|
|
71
72
|
}, children: rect && rect.width > 100 && ((0, jsx_runtime_1.jsx)(SearchBar_1.SearchBar, { fields: f, onSubmit: onSubmit, top: searchBarTop, width: rect.width })) }), list] }) }));
|
|
72
73
|
}
|
|
@@ -7,10 +7,11 @@ exports.eventWatcher = void 0;
|
|
|
7
7
|
exports.UserMenu = UserMenu;
|
|
8
8
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
9
9
|
const react_1 = require("@etsoo/react");
|
|
10
|
-
const material_1 = require("@mui/material");
|
|
11
10
|
const react_2 = __importDefault(require("react"));
|
|
12
11
|
const react_router_1 = require("react-router");
|
|
13
12
|
const UserAvatar_1 = require("../UserAvatar");
|
|
13
|
+
const IconButton_1 = __importDefault(require("@mui/material/IconButton"));
|
|
14
|
+
const Menu_1 = __importDefault(require("@mui/material/Menu"));
|
|
14
15
|
/**
|
|
15
16
|
* Event watcher
|
|
16
17
|
*/
|
|
@@ -54,7 +55,7 @@ function UserMenu(props) {
|
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
};
|
|
57
|
-
return ((0, jsx_runtime_1.jsxs)(react_2.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(
|
|
58
|
+
return ((0, jsx_runtime_1.jsxs)(react_2.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(IconButton_1.default, { edge: "end", "aria-haspopup": "true", onClick: handleUserMenuOpen, color: "inherit", children: (0, jsx_runtime_1.jsx)(UserAvatar_1.UserAvatar, { title: name, src: avatar }) }), (0, jsx_runtime_1.jsx)(Menu_1.default, { slotProps: {
|
|
58
59
|
paper: {
|
|
59
60
|
elevation: 0,
|
|
60
61
|
sx: {
|
|
@@ -7,7 +7,6 @@ exports.ViewPage = ViewPage;
|
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const react_1 = require("@etsoo/react");
|
|
9
9
|
const shared_1 = require("@etsoo/shared");
|
|
10
|
-
const material_1 = require("@mui/material");
|
|
11
10
|
const react_2 = __importDefault(require("react"));
|
|
12
11
|
const Labels_1 = require("../app/Labels");
|
|
13
12
|
const MUGlobal_1 = require("../MUGlobal");
|
|
@@ -16,6 +15,8 @@ const CommonPage_1 = require("./CommonPage");
|
|
|
16
15
|
const MessageUtils_1 = require("../messages/MessageUtils");
|
|
17
16
|
const OperationMessageContainer_1 = require("../messages/OperationMessageContainer");
|
|
18
17
|
const ViewContainer_1 = require("../ViewContainer");
|
|
18
|
+
const LinearProgress_1 = __importDefault(require("@mui/material/LinearProgress"));
|
|
19
|
+
const Stack_1 = __importDefault(require("@mui/material/Stack"));
|
|
19
20
|
/**
|
|
20
21
|
* View page
|
|
21
22
|
* @param props Props
|
|
@@ -44,13 +45,13 @@ function ViewPage(props) {
|
|
|
44
45
|
MessageUtils_1.MessageUtils.offRefresh(refreshHandler);
|
|
45
46
|
};
|
|
46
47
|
}, [refresh]);
|
|
47
|
-
return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { paddings: paddings, onRefresh: supportRefresh ? refresh : undefined, onUpdate: supportRefresh ? undefined : refresh, className: "ET-ViewPage", ...rest, scrollContainer: globalThis, fabColumnDirection: fabColumnDirection, fabTop: fabTop, supportBack: supportBack, children: data == null ? ((0, jsx_runtime_1.jsx)(
|
|
48
|
+
return ((0, jsx_runtime_1.jsx)(CommonPage_1.CommonPage, { paddings: paddings, onRefresh: supportRefresh ? refresh : undefined, onUpdate: supportRefresh ? undefined : refresh, className: "ET-ViewPage", ...rest, scrollContainer: globalThis, fabColumnDirection: fabColumnDirection, fabTop: fabTop, supportBack: supportBack, children: data == null ? ((0, jsx_runtime_1.jsx)(LinearProgress_1.default, {})) : ((0, jsx_runtime_1.jsxs)(react_2.default.Fragment, { children: [operationMessageHandler && ((0, jsx_runtime_1.jsx)(OperationMessageContainer_1.OperationMessageContainer, { handler: "id" in operationMessageHandler
|
|
48
49
|
? [
|
|
49
50
|
operationMessageHandler.types,
|
|
50
51
|
refresh,
|
|
51
52
|
operationMessageHandler.id
|
|
52
53
|
]
|
|
53
|
-
: operationMessageHandler })), titleBar && titleBar(data), (0, jsx_runtime_1.jsx)(ViewContainer_1.ViewContainer, { data: data, fields: fields, gridRef: gridRef, leftContainer: leftContainer, leftContainerLines: leftContainerLines, leftContainerProps: leftContainerProps, refresh: refresh, spacing: spacing }), actions !== null && ((0, jsx_runtime_1.jsx)(
|
|
54
|
+
: operationMessageHandler })), titleBar && titleBar(data), (0, jsx_runtime_1.jsx)(ViewContainer_1.ViewContainer, { data: data, fields: fields, gridRef: gridRef, leftContainer: leftContainer, leftContainerLines: leftContainerLines, leftContainerProps: leftContainerProps, refresh: refresh, spacing: spacing }), actions !== null && ((0, jsx_runtime_1.jsx)(Stack_1.default, { className: "ET-ViewPage-Actions", direction: "row", width: "100%", flexWrap: "wrap", justifyContent: "center", paddingTop: actions == null ? undefined : actionPaddings, paddingBottom: actionPaddings, gap: actionPaddings, children: actions != null && shared_1.Utils.getResult(actions, data, refresh) })), shared_1.Utils.getResult(children, data, refresh), pullToRefresh && ((0, jsx_runtime_1.jsx)(PullToRefreshUI_1.PullToRefreshUI, { mainElement: pullContainer, triggerElement: pullContainer, instructionsPullToRefresh: labels.pullToRefresh, instructionsReleaseToRefresh: labels.releaseToRefresh, instructionsRefreshing: labels.refreshing, onRefresh: refresh, shouldPullToRefresh: () => {
|
|
54
55
|
const container = document.querySelector(pullContainer);
|
|
55
56
|
return !container?.scrollTop;
|
|
56
57
|
} })), (0, jsx_runtime_1.jsx)(react_1.ScrollRestoration, {})] })) }));
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.DateText = DateText;
|
|
4
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
8
|
const shared_1 = require("@etsoo/shared");
|
|
6
|
-
const
|
|
9
|
+
const Typography_1 = __importDefault(require("@mui/material/Typography"));
|
|
7
10
|
/**
|
|
8
11
|
* Date text
|
|
9
12
|
* @param props Props
|
|
@@ -24,5 +27,5 @@ function DateText(props) {
|
|
|
24
27
|
rest.color = "error";
|
|
25
28
|
}
|
|
26
29
|
// Layout
|
|
27
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
30
|
+
return ((0, jsx_runtime_1.jsx)(Typography_1.default, { component: "span", fontSize: "inherit", ...rest, children: localValue }));
|
|
28
31
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.MoneyText = MoneyText;
|
|
4
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
8
|
const shared_1 = require("@etsoo/shared");
|
|
6
|
-
const
|
|
9
|
+
const Typography_1 = __importDefault(require("@mui/material/Typography"));
|
|
7
10
|
/**
|
|
8
11
|
* Money text
|
|
9
12
|
* @param props Props
|
|
@@ -13,7 +16,7 @@ function MoneyText(props) {
|
|
|
13
16
|
// Destruct
|
|
14
17
|
const { currency, isInteger = false, locale, options = {}, value, ...rest } = props;
|
|
15
18
|
// Layout
|
|
16
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
19
|
+
return ((0, jsx_runtime_1.jsx)(Typography_1.default, { component: "span", fontSize: "inherit", ...rest, children: value == null
|
|
17
20
|
? ""
|
|
18
21
|
: shared_1.NumberUtils.formatMoney(value, currency, locale, isInteger, options) }));
|
|
19
22
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.NumberText = NumberText;
|
|
4
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
8
|
const shared_1 = require("@etsoo/shared");
|
|
6
|
-
const
|
|
9
|
+
const Typography_1 = __importDefault(require("@mui/material/Typography"));
|
|
7
10
|
/**
|
|
8
11
|
* Number text
|
|
9
12
|
* @param props Props
|
|
@@ -13,5 +16,5 @@ function NumberText(props) {
|
|
|
13
16
|
// Destruct
|
|
14
17
|
const { locale, options = {}, value, ...rest } = props;
|
|
15
18
|
// Layout
|
|
16
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
19
|
+
return ((0, jsx_runtime_1.jsx)(Typography_1.default, { component: "span", fontSize: "inherit", ...rest, children: value == null ? "" : shared_1.NumberUtils.format(value, locale, options) }));
|
|
17
20
|
}
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.useCurrentBreakpoint = useCurrentBreakpoint;
|
|
4
|
-
const
|
|
7
|
+
const styles_1 = require("@mui/material/styles");
|
|
8
|
+
const useMediaQuery_1 = __importDefault(require("@mui/material/useMediaQuery"));
|
|
5
9
|
/**
|
|
6
10
|
* Hook to get the current breakpoint
|
|
7
11
|
* @returns The current breakpoint
|
|
8
12
|
*/
|
|
9
13
|
function useCurrentBreakpoint() {
|
|
10
|
-
const theme = (0,
|
|
14
|
+
const theme = (0, styles_1.useTheme)();
|
|
11
15
|
const items = [
|
|
12
|
-
(0,
|
|
13
|
-
(0,
|
|
14
|
-
(0,
|
|
15
|
-
(0,
|
|
16
|
-
(0,
|
|
16
|
+
(0, useMediaQuery_1.default)(theme.breakpoints.down("xs")) ? "xs" : null,
|
|
17
|
+
(0, useMediaQuery_1.default)(theme.breakpoints.between("xs", "sm")) ? "sm" : null,
|
|
18
|
+
(0, useMediaQuery_1.default)(theme.breakpoints.between("sm", "md")) ? "md" : null,
|
|
19
|
+
(0, useMediaQuery_1.default)(theme.breakpoints.between("md", "lg")) ? "lg" : null,
|
|
20
|
+
(0, useMediaQuery_1.default)(theme.breakpoints.up("lg")) ? "xl" : null
|
|
17
21
|
];
|
|
18
22
|
return items.find((item) => item != null) ?? "lg";
|
|
19
23
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AddressCity, AddressDistrict, AddressRegionDb, AddressState, IApiPayload } from "@etsoo/appscript";
|
|
2
|
-
import { GridSize } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
|
|
5
4
|
import { RegionsRQ } from "./RegionsRQ";
|
|
5
|
+
import { GridSize } from "@mui/material/Grid";
|
|
6
6
|
/**
|
|
7
7
|
* Address field
|
|
8
8
|
*/
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { FormLabel, Grid2 } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { ComboBox } from "./ComboBox";
|
|
5
4
|
import { Tiplist } from "./Tiplist";
|
|
6
5
|
import { useAppContext } from "./app/ReactApp";
|
|
6
|
+
import Grid from "@mui/material/Grid";
|
|
7
|
+
import FormLabel from "@mui/material/FormLabel";
|
|
7
8
|
/**
|
|
8
9
|
* Address field
|
|
9
10
|
*/
|
|
@@ -125,12 +126,12 @@ export function AddressSelector(props) {
|
|
|
125
126
|
}
|
|
126
127
|
};
|
|
127
128
|
// Layout
|
|
128
|
-
return (_jsxs(React.Fragment, { children: [label && (_jsx(
|
|
129
|
+
return (_jsxs(React.Fragment, { children: [label && (_jsx(Grid, { size: { xs: 12 }, children: _jsx(FormLabel, { required: required, sx: { fontSize: (theme) => theme.typography.caption }, children: label }) })), !hideRegion && (_jsx(Grid, { size: breakPoints, children: _jsx(Tiplist, { label: regionLabel, name: AddressField.Region, search: search, fullWidth: true, idValue: regionState, loadData: (keyword, id, items) => api.regions({
|
|
129
130
|
keyword,
|
|
130
131
|
id,
|
|
131
132
|
items,
|
|
132
133
|
favoredIds: favoredIds == null
|
|
133
134
|
? undefined
|
|
134
135
|
: favoredIds(AddressField.Region)
|
|
135
|
-
}), inputRequired: required, inputError: error, inputHelperText: helperText, onChange: (_event, value) => handleChange([AddressField.Region, value]) }) })), _jsx(
|
|
136
|
+
}), inputRequired: required, inputError: error, inputHelperText: helperText, onChange: (_event, value) => handleChange([AddressField.Region, value]) }) })), _jsx(Grid, { size: breakPoints, children: _jsx(ComboBox, { name: AddressField.State, label: stateLabel, search: search, fullWidth: true, idValue: stateState, options: states, inputRequired: required, inputError: hideRegion ? error : undefined, inputHelperText: hideRegion ? helperText : undefined, onChange: (_event, value) => handleChange([AddressField.State, value]) }) }), _jsx(Grid, { size: breakPoints, children: _jsx(ComboBox, { name: AddressField.City, label: cityLabel, search: search, fullWidth: true, idValue: cityState, options: cities, onChange: (_event, value) => handleChange([AddressField.City, value]) }) }), _jsx(Grid, { size: breakPoints, children: _jsx(ComboBox, { name: AddressField.District, label: districtLabel, search: search, fullWidth: true, idValue: districtState, options: districts, onChange: (_event, value) => handleChange([AddressField.District, value]) }) })] }));
|
|
136
137
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Theme } from "@mui/material";
|
|
2
1
|
import React, { CSSProperties } from "react";
|
|
3
2
|
import { ListMoreDisplayProps } from "./ListMoreDisplay";
|
|
4
3
|
import { AuditLineDto } from "@etsoo/appscript";
|
|
4
|
+
import { Theme } from "@mui/material/styles";
|
|
5
5
|
/**
|
|
6
6
|
* Audit display props
|
|
7
7
|
*/
|
package/lib/mjs/AuditDisplay.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Utils } from "@etsoo/shared";
|
|
3
|
-
import { Button, Divider, Typography, useTheme } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { ListMoreDisplay } from "./ListMoreDisplay";
|
|
6
5
|
import { ShowDataComparison } from "./ShowDataComparison";
|
|
7
6
|
import { useAppContext } from "./app/ReactApp";
|
|
7
|
+
import { 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
|
* Audit display
|
|
10
13
|
* @param props Props
|
package/lib/mjs/BackButton.d.ts
CHANGED
package/lib/mjs/BackButton.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { IconButton, useTheme } from "@mui/material";
|
|
3
2
|
import ArrowBackIcon from "@mui/icons-material/ArrowBack";
|
|
3
|
+
import IconButton from "@mui/material/IconButton";
|
|
4
|
+
import { useTheme } from "@mui/material/styles";
|
|
4
5
|
import { useNavigate } from "react-router";
|
|
5
6
|
/**
|
|
6
7
|
* BackButton
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { BridgeUtils } from "@etsoo/appscript";
|
|
3
3
|
import CloseIcon from "@mui/icons-material/Close";
|
|
4
|
-
import { Box, IconButton } from "@mui/material";
|
|
5
4
|
import React from "react";
|
|
6
5
|
import { useAppContext } from "./app/ReactApp";
|
|
6
|
+
import IconButton from "@mui/material/IconButton";
|
|
7
|
+
import Box from "@mui/material/Box";
|
|
7
8
|
/**
|
|
8
9
|
* Bridge close button
|
|
9
10
|
* @param props Props
|
package/lib/mjs/ButtonLink.d.ts
CHANGED
package/lib/mjs/ButtonLink.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { useNavigate } from "react-router";
|
|
2
|
+
import Button from "@mui/material/Button";
|
|
3
|
+
import { useNavigate } from "react-router-dom";
|
|
4
4
|
/**
|
|
5
5
|
* ButtonLink
|
|
6
6
|
* @param props Props
|
package/lib/mjs/ButtonPopover.js
CHANGED
package/lib/mjs/ComboBox.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Keyboard } from "@etsoo/shared";
|
|
3
|
-
import { Autocomplete, IconButton, Stack } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { Utils as SharedUtils } from "@etsoo/shared";
|
|
6
5
|
import { ReactUtils } from "@etsoo/react";
|
|
7
|
-
import AddIcon from "@mui/icons-material/Add";
|
|
8
6
|
import { SearchField } from "./SearchField";
|
|
9
7
|
import { InputField } from "./InputField";
|
|
10
8
|
import { useAppContext } from "./app/ReactApp";
|
|
9
|
+
import Autocomplete from "@mui/material/Autocomplete";
|
|
10
|
+
import Stack from "@mui/material/Stack";
|
|
11
|
+
import IconButton from "@mui/material/IconButton";
|
|
12
|
+
import AddIcon from "@mui/icons-material/Add";
|
|
11
13
|
/**
|
|
12
14
|
* ComboBox
|
|
13
15
|
* @param props Props
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Keyboard } from "@etsoo/shared";
|
|
3
|
-
import { Autocomplete, Checkbox } from "@mui/material";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { Utils as SharedUtils } from "@etsoo/shared";
|
|
6
5
|
import { ReactUtils } from "@etsoo/react";
|
|
@@ -9,6 +8,8 @@ import CheckBoxIcon from "@mui/icons-material/CheckBox";
|
|
|
9
8
|
import { SearchField } from "./SearchField";
|
|
10
9
|
import { InputField } from "./InputField";
|
|
11
10
|
import { useAppContext } from "./app/ReactApp";
|
|
11
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
12
|
+
import Autocomplete from "@mui/material/Autocomplete";
|
|
12
13
|
const icon = _jsx(CheckBoxOutlineBlankIcon, { fontSize: "small" });
|
|
13
14
|
const checkedIcon = _jsx(CheckBoxIcon, { fontSize: "small" });
|
|
14
15
|
/**
|
package/lib/mjs/ComboBoxPro.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 ComboBoxProProps<D extends ListType2 = ListType2> = Omit<AutocompleteProps<D, false, false, true>, "open" | "multiple" | "options" | "renderInput"> & {
|
|
5
5
|
/**
|
|
6
6
|
* Label
|
package/lib/mjs/ComboBoxPro.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Autocomplete } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { InputField } from "./InputField";
|
|
5
4
|
import { DataTypes } from "@etsoo/shared";
|
|
6
5
|
import { useAppContext } from "./app/ReactApp";
|
|
6
|
+
import Autocomplete from "@mui/material/Autocomplete";
|
|
7
7
|
export function ComboBoxPro(props) {
|
|
8
8
|
// Global app
|
|
9
9
|
const app = useAppContext();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import Button from "@mui/material/Button";
|
|
3
|
+
import CircularProgress from "@mui/material/CircularProgress";
|
|
3
4
|
import React from "react";
|
|
4
5
|
/**
|
|
5
6
|
* Countdown button
|
package/lib/mjs/DataGridEx.js
CHANGED
|
@@ -2,9 +2,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { css } from "@emotion/css";
|
|
3
3
|
import { GridAlignGet, ScrollerGrid, useCombinedRefs } from "@etsoo/react";
|
|
4
4
|
import { Utils } from "@etsoo/shared";
|
|
5
|
-
import { Box, Checkbox, Paper, TableSortLabel, useTheme } from "@mui/material";
|
|
6
5
|
import React from "react";
|
|
7
6
|
import { DataGridRenderers } from "./DataGridRenderers";
|
|
7
|
+
import { useTheme } from "@mui/material/styles";
|
|
8
|
+
import Box from "@mui/material/Box";
|
|
9
|
+
import TableSortLabel from "@mui/material/TableSortLabel";
|
|
10
|
+
import Checkbox from "@mui/material/Checkbox";
|
|
11
|
+
import Paper from "@mui/material/Paper";
|
|
8
12
|
// Borders
|
|
9
13
|
const boldBorder = "2px solid rgba(224, 224, 224, 1)";
|
|
10
14
|
const thinBorder = "1px solid rgba(224, 224, 224, 1)";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
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 { DateText } from "./texts/DateText";
|
|
7
6
|
import { GridDataType } from "@etsoo/react";
|
|
7
|
+
import CircularProgress from "@mui/material/CircularProgress";
|
|
8
8
|
/**
|
|
9
9
|
* Data grid renderers
|
|
10
10
|
*/
|
package/lib/mjs/DataSteps.d.ts
CHANGED
package/lib/mjs/DataSteps.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, IconButton, InputAdornment, TextField } from "@mui/material";
|
|
3
2
|
import CloseIcon from "@mui/icons-material/Close";
|
|
4
3
|
import NavigateNextIcon from "@mui/icons-material/NavigateNext";
|
|
5
4
|
import NavigateBeforeIcon from "@mui/icons-material/NavigateBefore";
|
|
@@ -9,6 +8,10 @@ import React from "react";
|
|
|
9
8
|
import { HBox } from "./FlexBox";
|
|
10
9
|
import { MUGlobal } from "./MUGlobal";
|
|
11
10
|
import { useRequiredAppContext } from "./app/ReactApp";
|
|
11
|
+
import Button from "@mui/material/Button";
|
|
12
|
+
import TextField from "@mui/material/TextField";
|
|
13
|
+
import InputAdornment from "@mui/material/InputAdornment";
|
|
14
|
+
import IconButton from "@mui/material/IconButton";
|
|
12
15
|
/**
|
|
13
16
|
* Data collecting steps component
|
|
14
17
|
* @param props Props
|
package/lib/mjs/DataTable.d.ts
CHANGED
package/lib/mjs/DataTable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { DataGrid } from "@mui/x-data-grid";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { useAppContext } from "./app/ReactApp";
|
|
4
|
+
import { DataGrid } from "@mui/x-data-grid/DataGrid/DataGrid";
|
|
5
5
|
/**
|
|
6
6
|
* Data table
|
|
7
7
|
* @param props Props
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Breakpoint, ButtonProps } from "@mui/material";
|
|
2
1
|
import React from "react";
|
|
2
|
+
import { ButtonProps } from "@mui/material/Button";
|
|
3
|
+
import { Breakpoint } from "@mui/material/styles";
|
|
3
4
|
export interface DialogButtonProps extends ButtonProps {
|
|
4
5
|
/**
|
|
5
6
|
* Button label
|
package/lib/mjs/DialogButton.js
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, IconButton } from "@mui/material";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import { Labels } from "./app/Labels";
|
|
4
|
+
import Button from "@mui/material/Button";
|
|
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";
|
|
5
11
|
/**
|
|
6
12
|
* Dialog button
|
|
7
13
|
* @param props Props
|
package/lib/mjs/DnDList.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { UniqueIdentifier } from "@dnd-kit/core";
|
|
2
|
-
import { SortingStrategy } from "@dnd-kit/sortable";
|
|
2
|
+
import { SortingStrategy } from "@dnd-kit/sortable/dist/types/strategies";
|
|
3
3
|
import { DataTypes } from "@etsoo/shared";
|
|
4
|
-
import { Theme } from "@mui/material";
|
|
4
|
+
import { Theme } from "@mui/material/styles";
|
|
5
5
|
import React, { CSSProperties } from "react";
|
|
6
6
|
/**
|
|
7
7
|
* DnD item default style
|
package/lib/mjs/DnDList.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import Skeleton from "@mui/material/Skeleton";
|
|
3
|
+
import { useTheme } from "@mui/material/styles";
|
|
3
4
|
import React from "react";
|
|
4
5
|
function SortableItem(props) {
|
|
5
6
|
// Destruct
|