@etsoo/materialui 1.4.67 → 1.4.69
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/__tests__/ComboBox.tsx +1 -7
- package/__tests__/tsconfig.json +1 -1
- package/lib/cjs/AddresSelector.js +141 -0
- package/lib/cjs/AuditDisplay.js +52 -0
- package/lib/cjs/AutocompleteExtendedProps.js +2 -0
- package/lib/cjs/BackButton.js +38 -0
- package/lib/cjs/BridgeCloseButton.js +35 -0
- package/lib/cjs/ButtonLink.js +22 -0
- package/lib/cjs/ButtonPopover.js +63 -0
- package/lib/cjs/ComboBox.js +134 -0
- package/lib/cjs/ComboBoxMultiple.js +132 -0
- package/lib/cjs/ComboBoxPro.js +71 -0
- package/lib/cjs/CountdownButton.js +91 -0
- package/lib/cjs/CountryList.js +29 -0
- package/lib/cjs/CultureDataTable.js +48 -0
- package/lib/cjs/CustomFabProps.js +2 -0
- package/lib/cjs/DataGridEx.js +333 -0
- package/lib/cjs/DataGridRenderers.js +105 -0
- package/lib/cjs/DataSteps.js +93 -0
- package/lib/cjs/DataTable.js +52 -0
- package/lib/cjs/DialogButton.js +43 -0
- package/lib/cjs/DnDList.js +222 -0
- package/lib/cjs/DraggablePaperComponent.js +19 -0
- package/lib/cjs/EmailInput.js +17 -0
- package/lib/cjs/FabBox.js +42 -0
- package/lib/cjs/FieldSetEx.js +32 -0
- package/lib/cjs/FileUploadButton.js +46 -0
- package/lib/cjs/FlexBox.js +22 -0
- package/lib/cjs/GridDataCacheType.js +2 -0
- package/lib/cjs/GridDataFormat.js +46 -0
- package/lib/cjs/GridUtils.js +90 -0
- package/lib/cjs/HiSelector.js +49 -0
- package/lib/cjs/HiSelectorTL.js +43 -0
- package/lib/cjs/IconButtonLink.js +19 -0
- package/lib/cjs/InputField.js +54 -0
- package/lib/cjs/InputTipField.js +50 -0
- package/lib/cjs/IntInputField.js +116 -0
- package/lib/cjs/ItemList.js +71 -0
- package/lib/{LineChart.d.ts → cjs/LineChart.d.ts} +1 -1
- package/lib/cjs/LineChart.js +59 -0
- package/lib/cjs/ListChooser.js +95 -0
- package/lib/cjs/ListItemRightIcon.js +11 -0
- package/lib/cjs/ListMoreDisplay.js +101 -0
- package/lib/cjs/LoadingButton.js +47 -0
- package/lib/cjs/MUGlobal.js +189 -0
- package/lib/cjs/MUUtils.js +58 -0
- package/lib/cjs/MaskInput.d.ts +40 -0
- package/lib/cjs/MaskInput.js +54 -0
- package/lib/cjs/MenuButton.js +68 -0
- package/lib/cjs/MobileListItemRenderer.js +33 -0
- package/lib/cjs/MoneyInputField.js +18 -0
- package/lib/cjs/MoreFab.js +100 -0
- package/lib/cjs/NotifierMU.js +368 -0
- package/lib/cjs/NotifierPopupProps.js +2 -0
- package/lib/cjs/NotifierPromptProps.js +2 -0
- package/lib/cjs/NumberInputField.js +32 -0
- package/lib/cjs/OptionBool.js +17 -0
- package/lib/cjs/OptionGroup.js +108 -0
- package/lib/cjs/OptionGroupFlag.js +92 -0
- package/lib/cjs/PList.js +19 -0
- package/lib/cjs/PercentCircularProgress.js +20 -0
- package/lib/cjs/PercentLinearProgress.js +11 -0
- package/lib/cjs/ProgressCount.js +79 -0
- package/lib/cjs/PullToRefreshUI.js +29 -0
- package/lib/cjs/QuickList.js +48 -0
- package/lib/cjs/RegionsRQ.js +2 -0
- package/lib/cjs/ResponsibleContainer.js +196 -0
- package/lib/cjs/ResponsiveStyleValue.js +2 -0
- package/lib/cjs/ScrollTopFab.js +30 -0
- package/lib/cjs/ScrollerListEx.js +168 -0
- package/lib/cjs/SearchBar.js +270 -0
- package/lib/cjs/SearchField.js +52 -0
- package/lib/cjs/SearchOptionGroup.js +17 -0
- package/lib/cjs/SelectBool.js +22 -0
- package/lib/cjs/SelectEx.js +180 -0
- package/lib/cjs/ShowDataComparison.js +63 -0
- package/lib/cjs/Switch.js +40 -0
- package/lib/cjs/SwitchAnt.js +48 -0
- package/lib/cjs/SwitchField.js +36 -0
- package/lib/cjs/TabBox.js +34 -0
- package/lib/{TableEx.d.ts → cjs/TableEx.d.ts} +1 -2
- package/lib/cjs/TableEx.js +294 -0
- package/lib/cjs/TagList.js +62 -0
- package/lib/cjs/TagListPro.js +66 -0
- package/lib/cjs/TextFieldEx.js +145 -0
- package/lib/cjs/Tiplist.js +211 -0
- package/lib/cjs/TiplistPro.js +206 -0
- package/lib/cjs/TooltipClick.js +46 -0
- package/lib/cjs/TwoFieldInput.js +69 -0
- package/lib/cjs/UserAvatar.js +26 -0
- package/lib/cjs/UserAvatarEditor.js +169 -0
- package/lib/cjs/app/CommonApp.js +32 -0
- package/lib/cjs/app/IServiceApp.js +11 -0
- package/lib/cjs/app/IServiceAppSettings.js +2 -0
- package/lib/cjs/app/IServicePage.js +2 -0
- package/lib/cjs/app/IServiceUser.js +2 -0
- package/lib/cjs/app/ISmartERPUser.js +2 -0
- package/lib/cjs/app/Labels.js +65 -0
- package/lib/cjs/app/ReactApp.js +387 -0
- package/lib/cjs/app/ServiceApp.js +232 -0
- package/lib/cjs/custom/CustomFieldUtils.js +152 -0
- package/lib/cjs/custom/CustomFieldViewer.js +57 -0
- package/lib/cjs/custom/CustomFieldWindow.js +95 -0
- package/lib/cjs/custom/FieldAmountLabel.js +47 -0
- package/lib/cjs/custom/FieldCheckbox.js +56 -0
- package/lib/cjs/custom/FieldCombobox.js +47 -0
- package/lib/cjs/custom/FieldDateInput.js +50 -0
- package/lib/cjs/custom/FieldDivider.js +19 -0
- package/lib/cjs/custom/FieldInput.js +34 -0
- package/lib/cjs/custom/FieldJson.js +57 -0
- package/lib/cjs/custom/FieldLabel.js +35 -0
- package/lib/cjs/custom/FieldNumberInput.js +44 -0
- package/lib/cjs/custom/FieldRadio.js +56 -0
- package/lib/cjs/custom/FieldSelect.js +55 -0
- package/lib/cjs/custom/FieldSwitch.js +49 -0
- package/lib/cjs/custom/FieldTexarea.js +35 -0
- package/lib/cjs/index.js +134 -0
- package/lib/cjs/messages/MessageUtils.js +76 -0
- package/lib/cjs/messages/OperationMessageContainer.js +49 -0
- package/lib/cjs/messages/OperationMessageDto.js +2 -0
- package/lib/cjs/messages/OperationMessageHandler.js +2 -0
- package/lib/cjs/messages/RefreshHandler.js +2 -0
- package/lib/cjs/messages/SignalRUser.js +2 -0
- package/lib/cjs/pages/CommonPage.js +64 -0
- package/lib/cjs/pages/DataGridPage.js +114 -0
- package/lib/cjs/pages/DataGridPageProps.js +2 -0
- package/lib/cjs/pages/DrawerHeader.js +16 -0
- package/lib/cjs/pages/EditPage.js +30 -0
- package/lib/cjs/pages/FixedListPage.js +104 -0
- package/lib/cjs/pages/LeftDrawer.js +37 -0
- package/lib/cjs/pages/ListPage.js +83 -0
- package/lib/cjs/pages/ResponsivePage.js +53 -0
- package/lib/cjs/pages/SearchPageProps.js +2 -0
- package/lib/cjs/pages/TablePage.js +72 -0
- package/lib/cjs/pages/UserMenu.js +91 -0
- package/lib/cjs/pages/ViewPage.js +160 -0
- package/lib/cjs/texts/DateText.js +28 -0
- package/lib/cjs/texts/MoneyText.js +19 -0
- package/lib/cjs/texts/NumberText.js +17 -0
- package/lib/mjs/AddresSelector.d.ts +107 -0
- package/lib/mjs/AuditDisplay.d.ts +31 -0
- package/lib/mjs/AutocompleteExtendedProps.d.ts +73 -0
- package/lib/mjs/BackButton.d.ts +12 -0
- package/lib/mjs/BridgeCloseButton.d.ts +22 -0
- package/lib/mjs/ButtonLink.d.ts +20 -0
- package/lib/mjs/ButtonPopover.d.ts +29 -0
- package/lib/mjs/ComboBox.d.ts +45 -0
- package/lib/mjs/ComboBoxMultiple.d.ts +41 -0
- package/lib/mjs/ComboBoxPro.d.ts +31 -0
- package/lib/mjs/CountdownButton.d.ts +27 -0
- package/lib/mjs/CountryList.d.ts +30 -0
- package/lib/mjs/CultureDataTable.d.ts +19 -0
- package/lib/mjs/CustomFabProps.d.ts +27 -0
- package/lib/mjs/DataGridEx.d.ts +101 -0
- package/lib/mjs/DataGridRenderers.d.ts +22 -0
- package/lib/mjs/DataSteps.d.ts +38 -0
- package/lib/mjs/DataTable.d.ts +27 -0
- package/lib/mjs/DialogButton.d.ts +54 -0
- package/lib/mjs/DnDList.d.ts +104 -0
- package/lib/mjs/DraggablePaperComponent.d.ts +7 -0
- package/lib/mjs/EmailInput.d.ts +10 -0
- package/lib/mjs/FabBox.d.ts +26 -0
- package/lib/mjs/FieldSetEx.d.ts +21 -0
- package/lib/mjs/FileUploadButton.d.ts +36 -0
- package/lib/mjs/FlexBox.d.ts +13 -0
- package/lib/mjs/GridDataCacheType.d.ts +9 -0
- package/lib/mjs/GridDataFormat.d.ts +10 -0
- package/lib/mjs/GridUtils.d.ts +44 -0
- package/lib/mjs/HiSelector.d.ts +79 -0
- package/lib/mjs/HiSelectorTL.d.ts +67 -0
- package/lib/mjs/IconButtonLink.d.ts +20 -0
- package/lib/mjs/InputField.d.ts +80 -0
- package/lib/mjs/InputTipField.d.ts +38 -0
- package/lib/mjs/IntInputField.d.ts +55 -0
- package/lib/mjs/ItemList.d.ts +68 -0
- package/lib/mjs/LineChart.d.ts +28 -0
- package/lib/{LineChart.js → mjs/LineChart.js} +2 -1
- package/lib/mjs/ListChooser.d.ts +64 -0
- package/lib/mjs/ListItemRightIcon.d.ts +5 -0
- package/lib/mjs/ListMoreDisplay.d.ts +38 -0
- package/lib/mjs/LoadingButton.d.ts +15 -0
- package/lib/mjs/MUGlobal.d.ts +101 -0
- package/lib/mjs/MUUtils.d.ts +22 -0
- package/lib/mjs/MaskInput.d.ts +40 -0
- package/lib/{MaskInput.js → mjs/MaskInput.js} +7 -1
- package/lib/mjs/MenuButton.d.ts +9 -0
- package/lib/mjs/MobileListItemRenderer.d.ts +17 -0
- package/lib/mjs/MoneyInputField.d.ts +10 -0
- package/lib/mjs/MoreFab.d.ts +45 -0
- package/lib/mjs/NotifierMU.d.ts +48 -0
- package/lib/mjs/NotifierPopupProps.d.ts +5 -0
- package/lib/mjs/NotifierPromptProps.d.ts +21 -0
- package/lib/mjs/NumberInputField.d.ts +42 -0
- package/lib/mjs/OptionBool.d.ts +12 -0
- package/lib/mjs/OptionGroup.d.ts +80 -0
- package/lib/mjs/OptionGroupFlag.d.ts +76 -0
- package/lib/mjs/PList.d.ts +14 -0
- package/lib/mjs/PercentCircularProgress.d.ts +7 -0
- package/lib/mjs/PercentLinearProgress.d.ts +7 -0
- package/lib/mjs/ProgressCount.d.ts +43 -0
- package/lib/mjs/PullToRefreshUI.d.ts +8 -0
- package/lib/mjs/QuickList.d.ts +56 -0
- package/lib/mjs/RegionsRQ.d.ts +22 -0
- package/lib/mjs/ResponsibleContainer.d.ts +98 -0
- package/lib/mjs/ResponsiveStyleValue.d.ts +7 -0
- package/lib/mjs/ScrollTopFab.d.ts +6 -0
- package/lib/mjs/ScrollerListEx.d.ts +75 -0
- package/lib/mjs/SearchBar.d.ts +32 -0
- package/lib/mjs/SearchField.d.ts +24 -0
- package/lib/mjs/SearchOptionGroup.d.ts +8 -0
- package/lib/mjs/SelectBool.d.ts +12 -0
- package/lib/mjs/SelectEx.d.ts +74 -0
- package/lib/mjs/ShowDataComparison.d.ts +15 -0
- package/lib/mjs/Switch.d.ts +28 -0
- package/lib/mjs/SwitchAnt.d.ts +24 -0
- package/lib/mjs/SwitchField.d.ts +45 -0
- package/lib/mjs/TabBox.d.ts +54 -0
- package/lib/mjs/TableEx.d.ts +64 -0
- package/lib/mjs/TagList.d.ts +21 -0
- package/lib/mjs/TagListPro.d.ts +22 -0
- package/lib/mjs/TextFieldEx.d.ts +157 -0
- package/lib/mjs/Tiplist.d.ts +29 -0
- package/lib/mjs/TiplistPro.d.ts +60 -0
- package/lib/mjs/TooltipClick.d.ts +15 -0
- package/lib/mjs/TwoFieldInput.d.ts +22 -0
- package/lib/mjs/UserAvatar.d.ts +23 -0
- package/lib/mjs/UserAvatarEditor.d.ts +60 -0
- package/lib/mjs/app/CommonApp.d.ts +21 -0
- package/lib/mjs/app/IServiceApp.d.ts +41 -0
- package/lib/mjs/app/IServiceAppSettings.d.ts +6 -0
- package/lib/mjs/app/IServicePage.d.ts +6 -0
- package/lib/mjs/app/IServiceUser.d.ts +42 -0
- package/lib/mjs/app/ISmartERPUser.d.ts +21 -0
- package/lib/mjs/app/Labels.d.ts +65 -0
- package/lib/mjs/app/ReactApp.d.ts +252 -0
- package/lib/mjs/app/ServiceApp.d.ts +76 -0
- package/lib/mjs/custom/CustomFieldUtils.d.ts +56 -0
- package/lib/mjs/custom/CustomFieldViewer.d.ts +50 -0
- package/lib/mjs/custom/CustomFieldWindow.d.ts +55 -0
- package/lib/mjs/custom/FieldAmountLabel.d.ts +7 -0
- package/lib/mjs/custom/FieldCheckbox.d.ts +8 -0
- package/lib/mjs/custom/FieldCombobox.d.ts +8 -0
- package/lib/mjs/custom/FieldDateInput.d.ts +7 -0
- package/lib/mjs/custom/FieldDivider.d.ts +7 -0
- package/lib/mjs/custom/FieldInput.d.ts +7 -0
- package/lib/mjs/custom/FieldJson.d.ts +7 -0
- package/lib/mjs/custom/FieldLabel.d.ts +7 -0
- package/lib/mjs/custom/FieldNumberInput.d.ts +7 -0
- package/lib/mjs/custom/FieldRadio.d.ts +8 -0
- package/lib/mjs/custom/FieldSelect.d.ts +8 -0
- package/lib/mjs/custom/FieldSwitch.d.ts +7 -0
- package/lib/mjs/custom/FieldTexarea.d.ts +7 -0
- package/lib/mjs/index.js +118 -0
- package/lib/mjs/messages/MessageUtils.d.ts +52 -0
- package/lib/mjs/messages/OperationMessageContainer.d.ts +24 -0
- package/lib/mjs/messages/OperationMessageDto.d.ts +26 -0
- package/lib/mjs/messages/OperationMessageHandler.d.ts +24 -0
- package/lib/mjs/messages/RefreshHandler.d.ts +5 -0
- package/lib/mjs/messages/SignalRUser.d.ts +31 -0
- package/lib/mjs/pages/CommonPage.d.ts +72 -0
- package/lib/mjs/pages/DataGridPage.d.ts +7 -0
- package/lib/mjs/pages/DataGridPageProps.d.ts +18 -0
- package/lib/mjs/pages/DrawerHeader.d.ts +4 -0
- package/lib/mjs/pages/EditPage.d.ts +46 -0
- package/lib/mjs/pages/FixedListPage.d.ts +14 -0
- package/lib/mjs/pages/LeftDrawer.d.ts +35 -0
- package/lib/mjs/pages/ListPage.d.ts +12 -0
- package/lib/mjs/pages/ResponsivePage.d.ts +56 -0
- package/lib/mjs/pages/SearchPageProps.d.ts +36 -0
- package/lib/mjs/pages/TablePage.d.ts +13 -0
- package/lib/mjs/pages/UserMenu.d.ts +40 -0
- package/lib/mjs/pages/ViewPage.d.ts +104 -0
- package/lib/{pages → mjs/pages}/ViewPage.js +1 -1
- package/lib/mjs/texts/DateText.d.ts +33 -0
- package/lib/mjs/texts/MoneyText.d.ts +20 -0
- package/lib/mjs/texts/NumberText.d.ts +24 -0
- package/package.json +17 -9
- package/src/LineChart.tsx +3 -3
- package/src/MaskInput.tsx +23 -10
- package/src/TableEx.tsx +1 -1
- package/src/pages/ViewPage.tsx +1 -1
- package/tsconfig.cjs.json +19 -0
- package/tsconfig.json +1 -1
- package/lib/MaskInput.d.ts +0 -34
- /package/lib/{AddresSelector.d.ts → cjs/AddresSelector.d.ts} +0 -0
- /package/lib/{AuditDisplay.d.ts → cjs/AuditDisplay.d.ts} +0 -0
- /package/lib/{AutocompleteExtendedProps.d.ts → cjs/AutocompleteExtendedProps.d.ts} +0 -0
- /package/lib/{BackButton.d.ts → cjs/BackButton.d.ts} +0 -0
- /package/lib/{BridgeCloseButton.d.ts → cjs/BridgeCloseButton.d.ts} +0 -0
- /package/lib/{ButtonLink.d.ts → cjs/ButtonLink.d.ts} +0 -0
- /package/lib/{ButtonPopover.d.ts → cjs/ButtonPopover.d.ts} +0 -0
- /package/lib/{ComboBox.d.ts → cjs/ComboBox.d.ts} +0 -0
- /package/lib/{ComboBoxMultiple.d.ts → cjs/ComboBoxMultiple.d.ts} +0 -0
- /package/lib/{ComboBoxPro.d.ts → cjs/ComboBoxPro.d.ts} +0 -0
- /package/lib/{CountdownButton.d.ts → cjs/CountdownButton.d.ts} +0 -0
- /package/lib/{CountryList.d.ts → cjs/CountryList.d.ts} +0 -0
- /package/lib/{CultureDataTable.d.ts → cjs/CultureDataTable.d.ts} +0 -0
- /package/lib/{CustomFabProps.d.ts → cjs/CustomFabProps.d.ts} +0 -0
- /package/lib/{DataGridEx.d.ts → cjs/DataGridEx.d.ts} +0 -0
- /package/lib/{DataGridRenderers.d.ts → cjs/DataGridRenderers.d.ts} +0 -0
- /package/lib/{DataSteps.d.ts → cjs/DataSteps.d.ts} +0 -0
- /package/lib/{DataTable.d.ts → cjs/DataTable.d.ts} +0 -0
- /package/lib/{DialogButton.d.ts → cjs/DialogButton.d.ts} +0 -0
- /package/lib/{DnDList.d.ts → cjs/DnDList.d.ts} +0 -0
- /package/lib/{DraggablePaperComponent.d.ts → cjs/DraggablePaperComponent.d.ts} +0 -0
- /package/lib/{EmailInput.d.ts → cjs/EmailInput.d.ts} +0 -0
- /package/lib/{FabBox.d.ts → cjs/FabBox.d.ts} +0 -0
- /package/lib/{FieldSetEx.d.ts → cjs/FieldSetEx.d.ts} +0 -0
- /package/lib/{FileUploadButton.d.ts → cjs/FileUploadButton.d.ts} +0 -0
- /package/lib/{FlexBox.d.ts → cjs/FlexBox.d.ts} +0 -0
- /package/lib/{GridDataCacheType.d.ts → cjs/GridDataCacheType.d.ts} +0 -0
- /package/lib/{GridDataFormat.d.ts → cjs/GridDataFormat.d.ts} +0 -0
- /package/lib/{GridUtils.d.ts → cjs/GridUtils.d.ts} +0 -0
- /package/lib/{HiSelector.d.ts → cjs/HiSelector.d.ts} +0 -0
- /package/lib/{HiSelectorTL.d.ts → cjs/HiSelectorTL.d.ts} +0 -0
- /package/lib/{IconButtonLink.d.ts → cjs/IconButtonLink.d.ts} +0 -0
- /package/lib/{InputField.d.ts → cjs/InputField.d.ts} +0 -0
- /package/lib/{InputTipField.d.ts → cjs/InputTipField.d.ts} +0 -0
- /package/lib/{IntInputField.d.ts → cjs/IntInputField.d.ts} +0 -0
- /package/lib/{ItemList.d.ts → cjs/ItemList.d.ts} +0 -0
- /package/lib/{ListChooser.d.ts → cjs/ListChooser.d.ts} +0 -0
- /package/lib/{ListItemRightIcon.d.ts → cjs/ListItemRightIcon.d.ts} +0 -0
- /package/lib/{ListMoreDisplay.d.ts → cjs/ListMoreDisplay.d.ts} +0 -0
- /package/lib/{LoadingButton.d.ts → cjs/LoadingButton.d.ts} +0 -0
- /package/lib/{MUGlobal.d.ts → cjs/MUGlobal.d.ts} +0 -0
- /package/lib/{MUUtils.d.ts → cjs/MUUtils.d.ts} +0 -0
- /package/lib/{MenuButton.d.ts → cjs/MenuButton.d.ts} +0 -0
- /package/lib/{MobileListItemRenderer.d.ts → cjs/MobileListItemRenderer.d.ts} +0 -0
- /package/lib/{MoneyInputField.d.ts → cjs/MoneyInputField.d.ts} +0 -0
- /package/lib/{MoreFab.d.ts → cjs/MoreFab.d.ts} +0 -0
- /package/lib/{NotifierMU.d.ts → cjs/NotifierMU.d.ts} +0 -0
- /package/lib/{NotifierPopupProps.d.ts → cjs/NotifierPopupProps.d.ts} +0 -0
- /package/lib/{NotifierPromptProps.d.ts → cjs/NotifierPromptProps.d.ts} +0 -0
- /package/lib/{NumberInputField.d.ts → cjs/NumberInputField.d.ts} +0 -0
- /package/lib/{OptionBool.d.ts → cjs/OptionBool.d.ts} +0 -0
- /package/lib/{OptionGroup.d.ts → cjs/OptionGroup.d.ts} +0 -0
- /package/lib/{OptionGroupFlag.d.ts → cjs/OptionGroupFlag.d.ts} +0 -0
- /package/lib/{PList.d.ts → cjs/PList.d.ts} +0 -0
- /package/lib/{PercentCircularProgress.d.ts → cjs/PercentCircularProgress.d.ts} +0 -0
- /package/lib/{PercentLinearProgress.d.ts → cjs/PercentLinearProgress.d.ts} +0 -0
- /package/lib/{ProgressCount.d.ts → cjs/ProgressCount.d.ts} +0 -0
- /package/lib/{PullToRefreshUI.d.ts → cjs/PullToRefreshUI.d.ts} +0 -0
- /package/lib/{QuickList.d.ts → cjs/QuickList.d.ts} +0 -0
- /package/lib/{RegionsRQ.d.ts → cjs/RegionsRQ.d.ts} +0 -0
- /package/lib/{ResponsibleContainer.d.ts → cjs/ResponsibleContainer.d.ts} +0 -0
- /package/lib/{ResponsiveStyleValue.d.ts → cjs/ResponsiveStyleValue.d.ts} +0 -0
- /package/lib/{ScrollTopFab.d.ts → cjs/ScrollTopFab.d.ts} +0 -0
- /package/lib/{ScrollerListEx.d.ts → cjs/ScrollerListEx.d.ts} +0 -0
- /package/lib/{SearchBar.d.ts → cjs/SearchBar.d.ts} +0 -0
- /package/lib/{SearchField.d.ts → cjs/SearchField.d.ts} +0 -0
- /package/lib/{SearchOptionGroup.d.ts → cjs/SearchOptionGroup.d.ts} +0 -0
- /package/lib/{SelectBool.d.ts → cjs/SelectBool.d.ts} +0 -0
- /package/lib/{SelectEx.d.ts → cjs/SelectEx.d.ts} +0 -0
- /package/lib/{ShowDataComparison.d.ts → cjs/ShowDataComparison.d.ts} +0 -0
- /package/lib/{Switch.d.ts → cjs/Switch.d.ts} +0 -0
- /package/lib/{SwitchAnt.d.ts → cjs/SwitchAnt.d.ts} +0 -0
- /package/lib/{SwitchField.d.ts → cjs/SwitchField.d.ts} +0 -0
- /package/lib/{TabBox.d.ts → cjs/TabBox.d.ts} +0 -0
- /package/lib/{TagList.d.ts → cjs/TagList.d.ts} +0 -0
- /package/lib/{TagListPro.d.ts → cjs/TagListPro.d.ts} +0 -0
- /package/lib/{TextFieldEx.d.ts → cjs/TextFieldEx.d.ts} +0 -0
- /package/lib/{Tiplist.d.ts → cjs/Tiplist.d.ts} +0 -0
- /package/lib/{TiplistPro.d.ts → cjs/TiplistPro.d.ts} +0 -0
- /package/lib/{TooltipClick.d.ts → cjs/TooltipClick.d.ts} +0 -0
- /package/lib/{TwoFieldInput.d.ts → cjs/TwoFieldInput.d.ts} +0 -0
- /package/lib/{UserAvatar.d.ts → cjs/UserAvatar.d.ts} +0 -0
- /package/lib/{UserAvatarEditor.d.ts → cjs/UserAvatarEditor.d.ts} +0 -0
- /package/lib/{app → cjs/app}/CommonApp.d.ts +0 -0
- /package/lib/{app → cjs/app}/IServiceApp.d.ts +0 -0
- /package/lib/{app → cjs/app}/IServiceAppSettings.d.ts +0 -0
- /package/lib/{app → cjs/app}/IServicePage.d.ts +0 -0
- /package/lib/{app → cjs/app}/IServiceUser.d.ts +0 -0
- /package/lib/{app → cjs/app}/ISmartERPUser.d.ts +0 -0
- /package/lib/{app → cjs/app}/Labels.d.ts +0 -0
- /package/lib/{app → cjs/app}/ReactApp.d.ts +0 -0
- /package/lib/{app → cjs/app}/ServiceApp.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/CustomFieldUtils.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/CustomFieldViewer.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/CustomFieldWindow.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldAmountLabel.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldCheckbox.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldCombobox.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldDateInput.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldDivider.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldInput.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldJson.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldLabel.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldNumberInput.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldRadio.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldSelect.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldSwitch.d.ts +0 -0
- /package/lib/{custom → cjs/custom}/FieldTexarea.d.ts +0 -0
- /package/lib/{index.d.ts → cjs/index.d.ts} +0 -0
- /package/lib/{messages → cjs/messages}/MessageUtils.d.ts +0 -0
- /package/lib/{messages → cjs/messages}/OperationMessageContainer.d.ts +0 -0
- /package/lib/{messages → cjs/messages}/OperationMessageDto.d.ts +0 -0
- /package/lib/{messages → cjs/messages}/OperationMessageHandler.d.ts +0 -0
- /package/lib/{messages → cjs/messages}/RefreshHandler.d.ts +0 -0
- /package/lib/{messages → cjs/messages}/SignalRUser.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/CommonPage.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/DataGridPage.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/DataGridPageProps.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/DrawerHeader.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/EditPage.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/FixedListPage.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/LeftDrawer.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/ListPage.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/ResponsivePage.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/SearchPageProps.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/TablePage.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/UserMenu.d.ts +0 -0
- /package/lib/{pages → cjs/pages}/ViewPage.d.ts +0 -0
- /package/lib/{texts → cjs/texts}/DateText.d.ts +0 -0
- /package/lib/{texts → cjs/texts}/MoneyText.d.ts +0 -0
- /package/lib/{texts → cjs/texts}/NumberText.d.ts +0 -0
- /package/lib/{AddresSelector.js → mjs/AddresSelector.js} +0 -0
- /package/lib/{AuditDisplay.js → mjs/AuditDisplay.js} +0 -0
- /package/lib/{AutocompleteExtendedProps.js → mjs/AutocompleteExtendedProps.js} +0 -0
- /package/lib/{BackButton.js → mjs/BackButton.js} +0 -0
- /package/lib/{BridgeCloseButton.js → mjs/BridgeCloseButton.js} +0 -0
- /package/lib/{ButtonLink.js → mjs/ButtonLink.js} +0 -0
- /package/lib/{ButtonPopover.js → mjs/ButtonPopover.js} +0 -0
- /package/lib/{ComboBox.js → mjs/ComboBox.js} +0 -0
- /package/lib/{ComboBoxMultiple.js → mjs/ComboBoxMultiple.js} +0 -0
- /package/lib/{ComboBoxPro.js → mjs/ComboBoxPro.js} +0 -0
- /package/lib/{CountdownButton.js → mjs/CountdownButton.js} +0 -0
- /package/lib/{CountryList.js → mjs/CountryList.js} +0 -0
- /package/lib/{CultureDataTable.js → mjs/CultureDataTable.js} +0 -0
- /package/lib/{CustomFabProps.js → mjs/CustomFabProps.js} +0 -0
- /package/lib/{DataGridEx.js → mjs/DataGridEx.js} +0 -0
- /package/lib/{DataGridRenderers.js → mjs/DataGridRenderers.js} +0 -0
- /package/lib/{DataSteps.js → mjs/DataSteps.js} +0 -0
- /package/lib/{DataTable.js → mjs/DataTable.js} +0 -0
- /package/lib/{DialogButton.js → mjs/DialogButton.js} +0 -0
- /package/lib/{DnDList.js → mjs/DnDList.js} +0 -0
- /package/lib/{DraggablePaperComponent.js → mjs/DraggablePaperComponent.js} +0 -0
- /package/lib/{EmailInput.js → mjs/EmailInput.js} +0 -0
- /package/lib/{FabBox.js → mjs/FabBox.js} +0 -0
- /package/lib/{FieldSetEx.js → mjs/FieldSetEx.js} +0 -0
- /package/lib/{FileUploadButton.js → mjs/FileUploadButton.js} +0 -0
- /package/lib/{FlexBox.js → mjs/FlexBox.js} +0 -0
- /package/lib/{GridDataCacheType.js → mjs/GridDataCacheType.js} +0 -0
- /package/lib/{GridDataFormat.js → mjs/GridDataFormat.js} +0 -0
- /package/lib/{GridUtils.js → mjs/GridUtils.js} +0 -0
- /package/lib/{HiSelector.js → mjs/HiSelector.js} +0 -0
- /package/lib/{HiSelectorTL.js → mjs/HiSelectorTL.js} +0 -0
- /package/lib/{IconButtonLink.js → mjs/IconButtonLink.js} +0 -0
- /package/lib/{InputField.js → mjs/InputField.js} +0 -0
- /package/lib/{InputTipField.js → mjs/InputTipField.js} +0 -0
- /package/lib/{IntInputField.js → mjs/IntInputField.js} +0 -0
- /package/lib/{ItemList.js → mjs/ItemList.js} +0 -0
- /package/lib/{ListChooser.js → mjs/ListChooser.js} +0 -0
- /package/lib/{ListItemRightIcon.js → mjs/ListItemRightIcon.js} +0 -0
- /package/lib/{ListMoreDisplay.js → mjs/ListMoreDisplay.js} +0 -0
- /package/lib/{LoadingButton.js → mjs/LoadingButton.js} +0 -0
- /package/lib/{MUGlobal.js → mjs/MUGlobal.js} +0 -0
- /package/lib/{MUUtils.js → mjs/MUUtils.js} +0 -0
- /package/lib/{MenuButton.js → mjs/MenuButton.js} +0 -0
- /package/lib/{MobileListItemRenderer.js → mjs/MobileListItemRenderer.js} +0 -0
- /package/lib/{MoneyInputField.js → mjs/MoneyInputField.js} +0 -0
- /package/lib/{MoreFab.js → mjs/MoreFab.js} +0 -0
- /package/lib/{NotifierMU.js → mjs/NotifierMU.js} +0 -0
- /package/lib/{NotifierPopupProps.js → mjs/NotifierPopupProps.js} +0 -0
- /package/lib/{NotifierPromptProps.js → mjs/NotifierPromptProps.js} +0 -0
- /package/lib/{NumberInputField.js → mjs/NumberInputField.js} +0 -0
- /package/lib/{OptionBool.js → mjs/OptionBool.js} +0 -0
- /package/lib/{OptionGroup.js → mjs/OptionGroup.js} +0 -0
- /package/lib/{OptionGroupFlag.js → mjs/OptionGroupFlag.js} +0 -0
- /package/lib/{PList.js → mjs/PList.js} +0 -0
- /package/lib/{PercentCircularProgress.js → mjs/PercentCircularProgress.js} +0 -0
- /package/lib/{PercentLinearProgress.js → mjs/PercentLinearProgress.js} +0 -0
- /package/lib/{ProgressCount.js → mjs/ProgressCount.js} +0 -0
- /package/lib/{PullToRefreshUI.js → mjs/PullToRefreshUI.js} +0 -0
- /package/lib/{QuickList.js → mjs/QuickList.js} +0 -0
- /package/lib/{RegionsRQ.js → mjs/RegionsRQ.js} +0 -0
- /package/lib/{ResponsibleContainer.js → mjs/ResponsibleContainer.js} +0 -0
- /package/lib/{ResponsiveStyleValue.js → mjs/ResponsiveStyleValue.js} +0 -0
- /package/lib/{ScrollTopFab.js → mjs/ScrollTopFab.js} +0 -0
- /package/lib/{ScrollerListEx.js → mjs/ScrollerListEx.js} +0 -0
- /package/lib/{SearchBar.js → mjs/SearchBar.js} +0 -0
- /package/lib/{SearchField.js → mjs/SearchField.js} +0 -0
- /package/lib/{SearchOptionGroup.js → mjs/SearchOptionGroup.js} +0 -0
- /package/lib/{SelectBool.js → mjs/SelectBool.js} +0 -0
- /package/lib/{SelectEx.js → mjs/SelectEx.js} +0 -0
- /package/lib/{ShowDataComparison.js → mjs/ShowDataComparison.js} +0 -0
- /package/lib/{Switch.js → mjs/Switch.js} +0 -0
- /package/lib/{SwitchAnt.js → mjs/SwitchAnt.js} +0 -0
- /package/lib/{SwitchField.js → mjs/SwitchField.js} +0 -0
- /package/lib/{TabBox.js → mjs/TabBox.js} +0 -0
- /package/lib/{TableEx.js → mjs/TableEx.js} +0 -0
- /package/lib/{TagList.js → mjs/TagList.js} +0 -0
- /package/lib/{TagListPro.js → mjs/TagListPro.js} +0 -0
- /package/lib/{TextFieldEx.js → mjs/TextFieldEx.js} +0 -0
- /package/lib/{Tiplist.js → mjs/Tiplist.js} +0 -0
- /package/lib/{TiplistPro.js → mjs/TiplistPro.js} +0 -0
- /package/lib/{TooltipClick.js → mjs/TooltipClick.js} +0 -0
- /package/lib/{TwoFieldInput.js → mjs/TwoFieldInput.js} +0 -0
- /package/lib/{UserAvatar.js → mjs/UserAvatar.js} +0 -0
- /package/lib/{UserAvatarEditor.js → mjs/UserAvatarEditor.js} +0 -0
- /package/lib/{app → mjs/app}/CommonApp.js +0 -0
- /package/lib/{app → mjs/app}/IServiceApp.js +0 -0
- /package/lib/{app → mjs/app}/IServiceAppSettings.js +0 -0
- /package/lib/{app → mjs/app}/IServicePage.js +0 -0
- /package/lib/{app → mjs/app}/IServiceUser.js +0 -0
- /package/lib/{app → mjs/app}/ISmartERPUser.js +0 -0
- /package/lib/{app → mjs/app}/Labels.js +0 -0
- /package/lib/{app → mjs/app}/ReactApp.js +0 -0
- /package/lib/{app → mjs/app}/ServiceApp.js +0 -0
- /package/lib/{custom → mjs/custom}/CustomFieldUtils.js +0 -0
- /package/lib/{custom → mjs/custom}/CustomFieldViewer.js +0 -0
- /package/lib/{custom → mjs/custom}/CustomFieldWindow.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldAmountLabel.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldCheckbox.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldCombobox.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldDateInput.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldDivider.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldInput.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldJson.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldLabel.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldNumberInput.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldRadio.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldSelect.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldSwitch.js +0 -0
- /package/lib/{custom → mjs/custom}/FieldTexarea.js +0 -0
- /package/lib/{index.js → mjs/index.d.ts} +0 -0
- /package/lib/{messages → mjs/messages}/MessageUtils.js +0 -0
- /package/lib/{messages → mjs/messages}/OperationMessageContainer.js +0 -0
- /package/lib/{messages → mjs/messages}/OperationMessageDto.js +0 -0
- /package/lib/{messages → mjs/messages}/OperationMessageHandler.js +0 -0
- /package/lib/{messages → mjs/messages}/RefreshHandler.js +0 -0
- /package/lib/{messages → mjs/messages}/SignalRUser.js +0 -0
- /package/lib/{pages → mjs/pages}/CommonPage.js +0 -0
- /package/lib/{pages → mjs/pages}/DataGridPage.js +0 -0
- /package/lib/{pages → mjs/pages}/DataGridPageProps.js +0 -0
- /package/lib/{pages → mjs/pages}/DrawerHeader.js +0 -0
- /package/lib/{pages → mjs/pages}/EditPage.js +0 -0
- /package/lib/{pages → mjs/pages}/FixedListPage.js +0 -0
- /package/lib/{pages → mjs/pages}/LeftDrawer.js +0 -0
- /package/lib/{pages → mjs/pages}/ListPage.js +0 -0
- /package/lib/{pages → mjs/pages}/ResponsivePage.js +0 -0
- /package/lib/{pages → mjs/pages}/SearchPageProps.js +0 -0
- /package/lib/{pages → mjs/pages}/TablePage.js +0 -0
- /package/lib/{pages → mjs/pages}/UserMenu.js +0 -0
- /package/lib/{texts → mjs/texts}/DateText.js +0 -0
- /package/lib/{texts → mjs/texts}/MoneyText.js +0 -0
- /package/lib/{texts → mjs/texts}/NumberText.js +0 -0
- /package/{vite.config.ts → vite.config.mts} +0 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { ListItemButtonProps, Theme } from "@mui/material";
|
|
2
|
+
/**
|
|
3
|
+
* Mouse event handler with data
|
|
4
|
+
*/
|
|
5
|
+
export type MouseEventWithDataHandler<T> = (event: React.MouseEvent<HTMLDivElement>, data: T) => void;
|
|
6
|
+
/**
|
|
7
|
+
* MUGlobal for global configurations
|
|
8
|
+
*/
|
|
9
|
+
export declare class MUGlobal {
|
|
10
|
+
/**
|
|
11
|
+
* Search field shrink
|
|
12
|
+
*/
|
|
13
|
+
static searchFieldShrink: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Search field size
|
|
16
|
+
*/
|
|
17
|
+
static searchFieldSize: "small" | "medium";
|
|
18
|
+
/**
|
|
19
|
+
* Search field variant
|
|
20
|
+
*/
|
|
21
|
+
static searchFieldVariant: "standard" | "filled" | "outlined";
|
|
22
|
+
/**
|
|
23
|
+
* Input field shrink
|
|
24
|
+
*/
|
|
25
|
+
static inputFieldShrink: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Input field size
|
|
28
|
+
*/
|
|
29
|
+
static inputFieldSize: "small" | "medium";
|
|
30
|
+
/**
|
|
31
|
+
* Input field variant
|
|
32
|
+
*/
|
|
33
|
+
static inputFieldVariant: "standard" | "filled" | "outlined";
|
|
34
|
+
/**
|
|
35
|
+
* TextField variant
|
|
36
|
+
*/
|
|
37
|
+
static textFieldVariant: "standard" | "filled" | "outlined";
|
|
38
|
+
/**
|
|
39
|
+
* Page default paddings
|
|
40
|
+
*/
|
|
41
|
+
static pagePaddings: {
|
|
42
|
+
xs: number;
|
|
43
|
+
sm: number;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Get menu item props
|
|
47
|
+
* @param path Current path
|
|
48
|
+
* @param href Item's href
|
|
49
|
+
* @returns Props
|
|
50
|
+
*/
|
|
51
|
+
static getMenuItem(path: string, href: string): ListItemButtonProps;
|
|
52
|
+
/**
|
|
53
|
+
* Update object number properties with half of it
|
|
54
|
+
* @param input Input object
|
|
55
|
+
* @returns Updated object
|
|
56
|
+
*/
|
|
57
|
+
static half(input: object): {};
|
|
58
|
+
/**
|
|
59
|
+
* Reverse object number properties, like 5 to -5
|
|
60
|
+
* @param input Input object
|
|
61
|
+
* @returns Updated object
|
|
62
|
+
*/
|
|
63
|
+
static reverse(input: object): {};
|
|
64
|
+
/**
|
|
65
|
+
* Update object number properties with adjustment
|
|
66
|
+
* @param input Input object
|
|
67
|
+
* @param adjust Adjust value or new size object
|
|
68
|
+
* @param field Specific field
|
|
69
|
+
* @returns Updated object
|
|
70
|
+
*/
|
|
71
|
+
static increase(input: object, adjust: number | object, field?: string): {};
|
|
72
|
+
/**
|
|
73
|
+
* Adjust size with theme update
|
|
74
|
+
* @param size Base size
|
|
75
|
+
* @param adjust Adjustment
|
|
76
|
+
* @param updateFunc Theme update function
|
|
77
|
+
* @returns Updated object
|
|
78
|
+
*/
|
|
79
|
+
static adjustWithTheme(size: number, adjust: object, updateFunc: (value: number) => string): {};
|
|
80
|
+
/**
|
|
81
|
+
* Break points defined
|
|
82
|
+
*/
|
|
83
|
+
static breakpoints: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
84
|
+
/**
|
|
85
|
+
* Get multple medias theme space
|
|
86
|
+
* Responsive values and Breakpoints as an object
|
|
87
|
+
* xs = theme.breakpoints.up('xs')
|
|
88
|
+
* https://mui.com/system/basics/
|
|
89
|
+
* @param spaces Spaces
|
|
90
|
+
* @param theme Theme
|
|
91
|
+
* @returns Result
|
|
92
|
+
*/
|
|
93
|
+
static getSpace(spaces: object, theme: Theme): number;
|
|
94
|
+
/**
|
|
95
|
+
* Update object number properties with theme
|
|
96
|
+
* @param input Input object
|
|
97
|
+
* @param updateFunc Theme update function
|
|
98
|
+
* @returns Updated object
|
|
99
|
+
*/
|
|
100
|
+
static updateWithTheme(input: {}, updateFunc: (value: number) => string): {};
|
|
101
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { QueryRQ } from "@etsoo/appscript";
|
|
2
|
+
import { IdType } from "@etsoo/shared";
|
|
3
|
+
import { GridApiCommunity } from "@mui/x-data-grid/models/api/gridApiCommunity";
|
|
4
|
+
/**
|
|
5
|
+
* MU utilities
|
|
6
|
+
*/
|
|
7
|
+
export declare namespace MUUtils {
|
|
8
|
+
/**
|
|
9
|
+
* Get grid data
|
|
10
|
+
* @param grid Grid
|
|
11
|
+
* @param checkField Check field or callback
|
|
12
|
+
* @returns Results
|
|
13
|
+
*/
|
|
14
|
+
function getGridData<T>(grid: GridApiCommunity, checkField: keyof T | ((item: T) => boolean)): T[];
|
|
15
|
+
/**
|
|
16
|
+
* Setup paging keysets
|
|
17
|
+
* @param data Paging data
|
|
18
|
+
* @param lastItem Last item of the query
|
|
19
|
+
* @param idField Id field
|
|
20
|
+
*/
|
|
21
|
+
function setupPagingKeysets<T, K extends IdType = number>(data: QueryRQ<K>, lastItem: T | undefined, idField: keyof T & string): QueryRQ<K>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { TextFieldProps } from "@mui/material";
|
|
2
|
+
type ReactIMask = typeof import("react-imask", { with: { "resolution-mode": "import" } }).useIMask;
|
|
3
|
+
type ReactIMaskProps = Parameters<ReactIMask>;
|
|
4
|
+
type RIOpts = ReactIMaskProps[0];
|
|
5
|
+
type RIReturns = ReturnType<ReactIMask>;
|
|
6
|
+
type RIMaskRef = RIReturns["maskRef"]["current"];
|
|
7
|
+
type RIMValue = RIReturns["value"];
|
|
8
|
+
/**
|
|
9
|
+
* Mask input props
|
|
10
|
+
*/
|
|
11
|
+
export type MaskInputProps = TextFieldProps & {
|
|
12
|
+
/**
|
|
13
|
+
* Mask props
|
|
14
|
+
*/
|
|
15
|
+
mask: RIOpts;
|
|
16
|
+
/**
|
|
17
|
+
* Accept hanlder
|
|
18
|
+
*/
|
|
19
|
+
onAccept?: (value: RIMValue, maskRef: RIMaskRef, e?: InputEvent) => void;
|
|
20
|
+
/**
|
|
21
|
+
* Complete handler
|
|
22
|
+
*/
|
|
23
|
+
onComplete?: (value: RIMValue, maskRef: RIMaskRef, e?: InputEvent) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Is the field read only?
|
|
26
|
+
*/
|
|
27
|
+
readOnly?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Search case
|
|
30
|
+
*/
|
|
31
|
+
search?: boolean;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Mask input
|
|
35
|
+
* https://imask.js.org/
|
|
36
|
+
* @param props Props
|
|
37
|
+
* @returns Component
|
|
38
|
+
*/
|
|
39
|
+
export declare function MaskInput(props: MaskInputProps): import("react/jsx-runtime").JSX.Element | undefined;
|
|
40
|
+
export {};
|
|
@@ -2,7 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { TextField } from "@mui/material";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { MUGlobal } from "./MUGlobal";
|
|
5
|
-
import { useIMask } from "react-imask";
|
|
6
5
|
/**
|
|
7
6
|
* Mask input
|
|
8
7
|
* https://imask.js.org/
|
|
@@ -12,6 +11,13 @@ import { useIMask } from "react-imask";
|
|
|
12
11
|
export function MaskInput(props) {
|
|
13
12
|
// Destruct
|
|
14
13
|
const { defaultValue, mask, InputLabelProps = {}, InputProps = {}, onAccept, onComplete, readOnly, search = false, size = search ? MUGlobal.searchFieldSize : MUGlobal.inputFieldSize, value, variant = search ? MUGlobal.searchFieldVariant : MUGlobal.inputFieldVariant, ...rest } = props;
|
|
14
|
+
// State
|
|
15
|
+
const [useIMask, setUseIMask] = React.useState(null);
|
|
16
|
+
React.useEffect(() => {
|
|
17
|
+
import("react-imask").then((module) => setUseIMask(module.useIMask));
|
|
18
|
+
}, []);
|
|
19
|
+
if (useIMask == null)
|
|
20
|
+
return;
|
|
15
21
|
const { ref, maskRef } = useIMask(mask, {
|
|
16
22
|
onAccept: (value, maskRef, event) => {
|
|
17
23
|
if (onAccept)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DataTypes } from "@etsoo/shared";
|
|
2
|
+
import { ButtonProps, MenuProps } from "@mui/material";
|
|
3
|
+
import React from "react";
|
|
4
|
+
export type MenuButtonProps<T extends DataTypes.IdItem> = Omit<MenuProps, "open"> & {
|
|
5
|
+
items: T[];
|
|
6
|
+
labelField: DataTypes.Keys<T, string> | ((data: T) => string);
|
|
7
|
+
button: ((clickHandler: React.MouseEventHandler<HTMLButtonElement>) => React.ReactNode) | ButtonProps;
|
|
8
|
+
};
|
|
9
|
+
export declare function MenuButton<T extends DataTypes.IdItem>(props: MenuButtonProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ListItemReact } from "@etsoo/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { ScrollerListExInnerItemRendererProps } from "./ScrollerListEx";
|
|
4
|
+
/**
|
|
5
|
+
* Default mobile list item renderer
|
|
6
|
+
* @param param0 List renderer props
|
|
7
|
+
* @param margin Margin
|
|
8
|
+
* @param renderer Renderer for card content
|
|
9
|
+
* @returns Component
|
|
10
|
+
*/
|
|
11
|
+
export declare function MobileListItemRenderer<T>({ data, itemHeight, margins }: ScrollerListExInnerItemRendererProps<T>, renderer: (data: T) => [
|
|
12
|
+
string,
|
|
13
|
+
string | undefined,
|
|
14
|
+
React.ReactNode | (ListItemReact | boolean)[],
|
|
15
|
+
React.ReactNode,
|
|
16
|
+
React.ReactNode?
|
|
17
|
+
]): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IntInputFieldProps } from "./IntInputField";
|
|
3
|
+
/**
|
|
4
|
+
* Money input field props
|
|
5
|
+
*/
|
|
6
|
+
export type MoneyInputFieldProps = IntInputFieldProps & {};
|
|
7
|
+
/**
|
|
8
|
+
* Money input field (controlled)
|
|
9
|
+
*/
|
|
10
|
+
export declare const MoneyInputField: React.ForwardRefExoticComponent<Omit<MoneyInputFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { CustomFabProps } from "./CustomFabProps";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { PaperProps, PopoverOrigin } from "@mui/material";
|
|
4
|
+
import { ListItemReact } from "@etsoo/react";
|
|
5
|
+
/**
|
|
6
|
+
* More fab props
|
|
7
|
+
*/
|
|
8
|
+
export interface MoreFabProps extends CustomFabProps {
|
|
9
|
+
/**
|
|
10
|
+
* Actions
|
|
11
|
+
*/
|
|
12
|
+
actions?: (ListItemReact | boolean)[];
|
|
13
|
+
/**
|
|
14
|
+
* Dray arrow
|
|
15
|
+
*/
|
|
16
|
+
drawArrow?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Main icon
|
|
19
|
+
*/
|
|
20
|
+
icon?: React.ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Show as icon button
|
|
23
|
+
*/
|
|
24
|
+
iconButton?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* This is the point on the anchor where the popover's
|
|
27
|
+
* `anchorEl` will attach to
|
|
28
|
+
*/
|
|
29
|
+
anchorOrigin?: PopoverOrigin;
|
|
30
|
+
/**
|
|
31
|
+
* Props applied to the [`Paper`](/api/paper/) element.
|
|
32
|
+
* @default {}
|
|
33
|
+
*/
|
|
34
|
+
PaperProps?: Partial<PaperProps>;
|
|
35
|
+
/**
|
|
36
|
+
* This is the point on the popover which
|
|
37
|
+
* will attach to the anchor's origin
|
|
38
|
+
*/
|
|
39
|
+
transformOrigin?: PopoverOrigin;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* More fab
|
|
43
|
+
* @returns Component
|
|
44
|
+
*/
|
|
45
|
+
export declare function MoreFab(props: MoreFabProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { NotificationAlign, NotificationRenderProps } from "@etsoo/notificationbase";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { INotificationBaseReact, INotificationReact, NotificationReact, NotifierReact } from "@etsoo/react";
|
|
4
|
+
/**
|
|
5
|
+
* MU notification
|
|
6
|
+
*/
|
|
7
|
+
export declare class NotificationMU extends NotificationReact {
|
|
8
|
+
private createAlert;
|
|
9
|
+
private createConfirm;
|
|
10
|
+
private createMessageColor;
|
|
11
|
+
private createMessage;
|
|
12
|
+
private createPrompt;
|
|
13
|
+
private createPopup;
|
|
14
|
+
private createLoading;
|
|
15
|
+
/**
|
|
16
|
+
* Render method
|
|
17
|
+
* @param props Props
|
|
18
|
+
* @param className Style class name
|
|
19
|
+
* @param classes Style classes
|
|
20
|
+
*/
|
|
21
|
+
render(props: NotificationRenderProps, className?: string): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Antd notifier
|
|
25
|
+
*/
|
|
26
|
+
export declare class NotifierMU extends NotifierReact {
|
|
27
|
+
/**
|
|
28
|
+
* Create state and return provider
|
|
29
|
+
* @param className Style class name
|
|
30
|
+
* @param debug Debug mode
|
|
31
|
+
* @returns Provider
|
|
32
|
+
*/
|
|
33
|
+
static setup(className?: string, debug?: boolean): React.FunctionComponent<React.PropsWithChildren<import("@etsoo/react").NotificationReactRenderProps>>;
|
|
34
|
+
private static getOrigin;
|
|
35
|
+
/**
|
|
36
|
+
* Create align container
|
|
37
|
+
* @param align Align
|
|
38
|
+
* @param children Children
|
|
39
|
+
* @param options Other options
|
|
40
|
+
*/
|
|
41
|
+
protected createContainer: (align: NotificationAlign, children: React.ReactNode[]) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
/**
|
|
43
|
+
* Add raw definition
|
|
44
|
+
* @param data Notification data definition
|
|
45
|
+
* @param modal Show as modal
|
|
46
|
+
*/
|
|
47
|
+
protected addRaw(data: INotificationBaseReact, modal?: boolean): INotificationReact;
|
|
48
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Notifier prompt props
|
|
3
|
+
*/
|
|
4
|
+
export type NotifierPromptProps = Record<string, any> & {
|
|
5
|
+
/**
|
|
6
|
+
* Cancel label
|
|
7
|
+
*/
|
|
8
|
+
cancelLabel?: string;
|
|
9
|
+
/**
|
|
10
|
+
* OK label
|
|
11
|
+
*/
|
|
12
|
+
okLabel?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Multiple inputs
|
|
15
|
+
*/
|
|
16
|
+
inputs: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Single type
|
|
19
|
+
*/
|
|
20
|
+
type?: string;
|
|
21
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { InputFieldProps } from "./InputField";
|
|
3
|
+
import { Currency } from "@etsoo/appscript";
|
|
4
|
+
/**
|
|
5
|
+
* Number input field properties
|
|
6
|
+
*/
|
|
7
|
+
export type NumberInputFieldProps = Omit<InputFieldProps, "type" | "inputProps"> & {
|
|
8
|
+
/**
|
|
9
|
+
* Currency
|
|
10
|
+
*/
|
|
11
|
+
currency?: string | Currency;
|
|
12
|
+
/**
|
|
13
|
+
* End symbol
|
|
14
|
+
*/
|
|
15
|
+
endSymbol?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Start (Currency) symbol
|
|
18
|
+
*/
|
|
19
|
+
symbol?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Input field style
|
|
22
|
+
*/
|
|
23
|
+
inputStyle?: React.CSSProperties;
|
|
24
|
+
/**
|
|
25
|
+
* Minimum value
|
|
26
|
+
*/
|
|
27
|
+
min?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Maximum value
|
|
30
|
+
*/
|
|
31
|
+
max?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Step value
|
|
34
|
+
*/
|
|
35
|
+
step?: number;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Number input field, for controlled only components, please see IntInputField and MoneyInputField
|
|
39
|
+
* @param props Props
|
|
40
|
+
* @returns Component
|
|
41
|
+
*/
|
|
42
|
+
export declare function NumberInputField(props: NumberInputFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ListType1 } from "@etsoo/shared";
|
|
2
|
+
import { OptionGroupProps } from "./OptionGroup";
|
|
3
|
+
/**
|
|
4
|
+
* OptionBool props
|
|
5
|
+
*/
|
|
6
|
+
export type OptionBoolProps = Omit<OptionGroupProps<ListType1, "id", "label">, "options" | "row" | "multiple">;
|
|
7
|
+
/**
|
|
8
|
+
* OptionBool (yes/no)
|
|
9
|
+
* @param props Props
|
|
10
|
+
* @returns Component
|
|
11
|
+
*/
|
|
12
|
+
export declare function OptionBool(props: OptionBoolProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { DataTypes, IdDefaultType, LabelDefaultType, ListType } from "@etsoo/shared";
|
|
2
|
+
import { FormControlProps } from "@mui/material";
|
|
3
|
+
import React from "react";
|
|
4
|
+
/**
|
|
5
|
+
* OptionGroup methods ref
|
|
6
|
+
*/
|
|
7
|
+
export interface OptionGroupRef {
|
|
8
|
+
/**
|
|
9
|
+
* Disable specific items with their ids
|
|
10
|
+
* @param ids Ids
|
|
11
|
+
*/
|
|
12
|
+
disable(ids: unknown[]): void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* OptionGroup props
|
|
16
|
+
*/
|
|
17
|
+
export type OptionGroupProps<T extends object, D extends DataTypes.Keys<T>, L extends DataTypes.Keys<T, string>> = Omit<FormControlProps, "defaultValue"> & {
|
|
18
|
+
/**
|
|
19
|
+
* Default value
|
|
20
|
+
*/
|
|
21
|
+
defaultValue?: T[D] | T[D][];
|
|
22
|
+
/**
|
|
23
|
+
* Get option label function
|
|
24
|
+
*/
|
|
25
|
+
getOptionLabel?: (option: T) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Id field
|
|
28
|
+
*/
|
|
29
|
+
idField?: D;
|
|
30
|
+
/**
|
|
31
|
+
* Label
|
|
32
|
+
*/
|
|
33
|
+
label?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Label field
|
|
36
|
+
*/
|
|
37
|
+
labelField?: L;
|
|
38
|
+
/**
|
|
39
|
+
* Methods
|
|
40
|
+
*/
|
|
41
|
+
mRef?: React.Ref<OptionGroupRef>;
|
|
42
|
+
/**
|
|
43
|
+
* Multiple choose item
|
|
44
|
+
*/
|
|
45
|
+
multiple?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Field name
|
|
48
|
+
*/
|
|
49
|
+
name: string;
|
|
50
|
+
/**
|
|
51
|
+
* On value change handler
|
|
52
|
+
*/
|
|
53
|
+
onValueChange?: (value: T[D] | T[D][] | undefined) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Array of options.
|
|
56
|
+
*/
|
|
57
|
+
options: ReadonlyArray<T>;
|
|
58
|
+
/**
|
|
59
|
+
* Is the field read only?
|
|
60
|
+
*/
|
|
61
|
+
readOnly?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Display group of elements in a compact row
|
|
64
|
+
*/
|
|
65
|
+
row?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Item size
|
|
68
|
+
*/
|
|
69
|
+
itemSize?: "small" | "medium";
|
|
70
|
+
/**
|
|
71
|
+
* Helper text
|
|
72
|
+
*/
|
|
73
|
+
helperText?: React.ReactNode;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* OptionGroup
|
|
77
|
+
* @param props Props
|
|
78
|
+
* @returns Component
|
|
79
|
+
*/
|
|
80
|
+
export declare function OptionGroup<T extends object = ListType, D extends DataTypes.Keys<T> = IdDefaultType<T>, L extends DataTypes.Keys<T, string> = LabelDefaultType<T>>(props: OptionGroupProps<T, D, L>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { DataTypes, IdDefaultType, LabelDefaultType, ListType } from "@etsoo/shared";
|
|
2
|
+
import { FormControlProps } from "@mui/material";
|
|
3
|
+
import React from "react";
|
|
4
|
+
/**
|
|
5
|
+
* OptionGroupFlag methods ref
|
|
6
|
+
*/
|
|
7
|
+
export interface OptionGroupFlagRef {
|
|
8
|
+
/**
|
|
9
|
+
* Disable specific items with their ids
|
|
10
|
+
* @param ids Ids
|
|
11
|
+
*/
|
|
12
|
+
disable(ids: number[]): void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* OptionGroupFlag props
|
|
16
|
+
*/
|
|
17
|
+
export type OptionGroupFlagProps<T extends object, D extends DataTypes.Keys<T, number>, L extends DataTypes.Keys<T, string>> = Omit<FormControlProps, "defaultValue"> & {
|
|
18
|
+
/**
|
|
19
|
+
* Default value
|
|
20
|
+
*/
|
|
21
|
+
defaultValue?: T[D] & number;
|
|
22
|
+
/**
|
|
23
|
+
* Get option label function
|
|
24
|
+
*/
|
|
25
|
+
getOptionLabel?: (option: T) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Id field
|
|
28
|
+
*/
|
|
29
|
+
idField?: D;
|
|
30
|
+
/**
|
|
31
|
+
* Label
|
|
32
|
+
*/
|
|
33
|
+
label?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Label field
|
|
36
|
+
*/
|
|
37
|
+
labelField?: L;
|
|
38
|
+
/**
|
|
39
|
+
* Methods
|
|
40
|
+
*/
|
|
41
|
+
mRef?: React.Ref<OptionGroupFlagRef>;
|
|
42
|
+
/**
|
|
43
|
+
* Field name
|
|
44
|
+
*/
|
|
45
|
+
name: string;
|
|
46
|
+
/**
|
|
47
|
+
* On value change handler
|
|
48
|
+
*/
|
|
49
|
+
onValueChange?: (value?: T[D] & number) => void;
|
|
50
|
+
/**
|
|
51
|
+
* Array of options.
|
|
52
|
+
*/
|
|
53
|
+
options: ReadonlyArray<T>;
|
|
54
|
+
/**
|
|
55
|
+
* Is the field read only?
|
|
56
|
+
*/
|
|
57
|
+
readOnly?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Display group of elements in a compact row
|
|
60
|
+
*/
|
|
61
|
+
row?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Item size
|
|
64
|
+
*/
|
|
65
|
+
itemSize?: "small" | "medium";
|
|
66
|
+
/**
|
|
67
|
+
* Helper text
|
|
68
|
+
*/
|
|
69
|
+
helperText?: React.ReactNode;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* OptionGroupFlag
|
|
73
|
+
* @param props Props
|
|
74
|
+
* @returns Component
|
|
75
|
+
*/
|
|
76
|
+
export declare function OptionGroupFlag<T extends object = ListType, D extends DataTypes.Keys<T, number> = IdDefaultType<T, number>, L extends DataTypes.Keys<T, string> = LabelDefaultType<T>>(props: OptionGroupFlagProps<T, D, L>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Paragraph items list props
|
|
3
|
+
*/
|
|
4
|
+
export interface PListProps {
|
|
5
|
+
/**
|
|
6
|
+
* List items
|
|
7
|
+
*/
|
|
8
|
+
items?: string[];
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Paragraph items list
|
|
12
|
+
* @param items Items
|
|
13
|
+
*/
|
|
14
|
+
export declare function PList(props: PListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CircularProgressProps, TypographyProps } from "@mui/material";
|
|
2
|
+
export type PercentCircularProgressProps = CircularProgressProps & {
|
|
3
|
+
value: number;
|
|
4
|
+
valueUnit?: string;
|
|
5
|
+
textProps?: TypographyProps<"div">;
|
|
6
|
+
};
|
|
7
|
+
export declare function PercentCircularProgress(props: PercentCircularProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LinearProgressProps, TypographyProps } from "@mui/material";
|
|
2
|
+
export type PercentLinearProgressProps = LinearProgressProps & {
|
|
3
|
+
value: number;
|
|
4
|
+
valueUnit?: string;
|
|
5
|
+
textProps?: TypographyProps;
|
|
6
|
+
};
|
|
7
|
+
export declare function PercentLinearProgress(props: PercentLinearProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Process count props
|
|
3
|
+
*/
|
|
4
|
+
export interface ProgressCountProps {
|
|
5
|
+
/**
|
|
6
|
+
* Is countdown or opposite
|
|
7
|
+
* @default 'true'
|
|
8
|
+
*/
|
|
9
|
+
countdown?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Is linear or circular
|
|
12
|
+
* @default 'true'
|
|
13
|
+
*/
|
|
14
|
+
linear?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Min width
|
|
17
|
+
* @default 36
|
|
18
|
+
*/
|
|
19
|
+
minWidth?: number;
|
|
20
|
+
/**
|
|
21
|
+
* On complete callback, return false will stop it
|
|
22
|
+
*/
|
|
23
|
+
onComplete?: () => boolean;
|
|
24
|
+
/**
|
|
25
|
+
* On progress callback
|
|
26
|
+
*/
|
|
27
|
+
onProgress?: (value: number) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Seconds for count
|
|
30
|
+
*/
|
|
31
|
+
seconds: number;
|
|
32
|
+
/**
|
|
33
|
+
* Value unit, like 's' or '%'
|
|
34
|
+
* @default ''
|
|
35
|
+
*/
|
|
36
|
+
valueUnit?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Progress count
|
|
40
|
+
* @param props Props
|
|
41
|
+
* @returns Component
|
|
42
|
+
*/
|
|
43
|
+
export declare function ProgressCount(props: ProgressCountProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Options } from "pulltorefreshjs";
|
|
2
|
+
/**
|
|
3
|
+
* PullToRefresh UI
|
|
4
|
+
* Use hammerjs or touchemulator to simulate browser as mobile device
|
|
5
|
+
* @param props Props
|
|
6
|
+
* @returns Component
|
|
7
|
+
*/
|
|
8
|
+
export declare function PullToRefreshUI(props: Options): import("react/jsx-runtime").JSX.Element;
|