@etsoo/materialui 1.4.68 → 1.4.70
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.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 +39 -0
- package/lib/cjs/MaskInput.js +47 -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/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 +74 -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 +39 -0
- package/lib/mjs/MaskInput.js +41 -0
- 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/{pages → mjs/pages}/CommonPage.js +16 -6
- 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 +12 -6
- package/src/LineChart.tsx +3 -3
- package/src/MaskInput.tsx +30 -27
- package/src/pages/CommonPage.tsx +17 -4
- 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/MaskInput.js +0 -42
- /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/{TableEx.d.ts → cjs/TableEx.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}/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
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ButtonProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* File upload button props
|
|
5
|
+
*/
|
|
6
|
+
export type FileUploadButtonProps = ButtonProps<"label"> & {
|
|
7
|
+
/**
|
|
8
|
+
* Max files allowed
|
|
9
|
+
*/
|
|
10
|
+
maxFiles?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Max file size
|
|
13
|
+
*/
|
|
14
|
+
maxFileSize?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Input field attributes
|
|
17
|
+
*/
|
|
18
|
+
inputProps?: Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "hidden">;
|
|
19
|
+
/**
|
|
20
|
+
* File invalid handler
|
|
21
|
+
* @param values [expected, actual]
|
|
22
|
+
* @param file File
|
|
23
|
+
*/
|
|
24
|
+
onFileInvalid?: (values: [number, number], file?: File) => void;
|
|
25
|
+
/**
|
|
26
|
+
* Upload files callback
|
|
27
|
+
* @param files Files
|
|
28
|
+
*/
|
|
29
|
+
onUploadFiles?: (files: FileList) => void;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* File upload button
|
|
33
|
+
* @param props Props
|
|
34
|
+
* @returns Component
|
|
35
|
+
*/
|
|
36
|
+
export declare function FileUploadButton(props: FileUploadButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StackProps } from "@mui/material";
|
|
2
|
+
/**
|
|
3
|
+
* Horizonal box
|
|
4
|
+
* @param props Props
|
|
5
|
+
* @returns Component
|
|
6
|
+
*/
|
|
7
|
+
export declare function HBox(props: Omit<StackProps, "ref">): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
/**
|
|
9
|
+
* Vertial box
|
|
10
|
+
* @param props Props
|
|
11
|
+
* @returns Component
|
|
12
|
+
*/
|
|
13
|
+
export declare function VBox(props: Omit<StackProps, "ref">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GridColumnRenderProps, GridDataType } from "@etsoo/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Grid data format
|
|
5
|
+
* @param data Input data
|
|
6
|
+
* @param type Data type
|
|
7
|
+
* @param renderProps Render props
|
|
8
|
+
* @returns Result
|
|
9
|
+
*/
|
|
10
|
+
export declare function GridDataFormat(data: unknown, type: GridDataType, renderProps?: GridColumnRenderProps): React.ReactNode;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { GridLoadDataProps, GridLoaderStates } from "@etsoo/react";
|
|
2
|
+
import { DataTypes } from "@etsoo/shared";
|
|
3
|
+
import { GridDataCacheType } from "./GridDataCacheType";
|
|
4
|
+
/**
|
|
5
|
+
* Grid utilities
|
|
6
|
+
*/
|
|
7
|
+
export declare namespace GridUtils {
|
|
8
|
+
/**
|
|
9
|
+
* Create data loader
|
|
10
|
+
* @param props Props
|
|
11
|
+
* @param template Field template
|
|
12
|
+
* @param cacheKey Cache key
|
|
13
|
+
* @param keepSource Keep source or not
|
|
14
|
+
* @returns Request data
|
|
15
|
+
*/
|
|
16
|
+
function createLoader<const F>(props: GridLoadDataProps, template?: F, cacheKey?: string, keepSource?: boolean): DataTypes.BasicTemplateType<{ [k in keyof F]: F[k] extends "date" ? "string" | "date" : F[k] extends "string" | "number" | "bigint" | "boolean" | "date" | "number[]" | "bigint[]" | "date[]" | "boolean[]" | "string[]" | "unknown[]" ? F[k] : never; }> & {
|
|
17
|
+
queryPaging: import("@etsoo/appscript").QueryPagingData;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Get cache data
|
|
21
|
+
* @param cacheKey Cache key
|
|
22
|
+
* @param cacheMinutes Cache minutes
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
function getCacheData<T>(cacheKey: string, cacheMinutes: number): GridDataCacheType<T> | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Get search data
|
|
28
|
+
* @param cacheKey Cache key
|
|
29
|
+
* @returns Result
|
|
30
|
+
*/
|
|
31
|
+
function getSearchData(cacheKey?: string): any;
|
|
32
|
+
/**
|
|
33
|
+
* Get update rows handler
|
|
34
|
+
* @param cacheKey Cache key
|
|
35
|
+
* @returns Handler
|
|
36
|
+
*/
|
|
37
|
+
function getUpdateRowsHandler<T extends object>(cacheKey?: string): (rows: T[], state: GridLoaderStates<T>) => void;
|
|
38
|
+
/**
|
|
39
|
+
* Merget search date to state
|
|
40
|
+
* @param state State
|
|
41
|
+
* @param searchData Search data
|
|
42
|
+
*/
|
|
43
|
+
function mergeSearchData<T, F extends DataTypes.BasicTemplate>(state: GridLoaderStates<T>, searchData?: DataTypes.BasicTemplateType<F>): void;
|
|
44
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { DataTypes, IdDefaultType, LabelDefaultType } from "@etsoo/shared";
|
|
2
|
+
import { GridSize, SelectChangeEvent } from "@mui/material";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
|
|
5
|
+
/**
|
|
6
|
+
* Hierarchy selector props
|
|
7
|
+
*/
|
|
8
|
+
export type HiSelectorProps<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>, L extends DataTypes.Keys<T, string> = LabelDefaultType<T>> = {
|
|
9
|
+
/**
|
|
10
|
+
* Break points
|
|
11
|
+
*/
|
|
12
|
+
breakPoints?: ResponsiveStyleValue<GridSize>;
|
|
13
|
+
/**
|
|
14
|
+
* Id field
|
|
15
|
+
*/
|
|
16
|
+
idField?: D;
|
|
17
|
+
/**
|
|
18
|
+
* Error
|
|
19
|
+
*/
|
|
20
|
+
error?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The helper text content.
|
|
23
|
+
*/
|
|
24
|
+
helperText?: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Name, also hidden input field name
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
/**
|
|
30
|
+
* Label
|
|
31
|
+
*/
|
|
32
|
+
label?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Labels for each select
|
|
35
|
+
*/
|
|
36
|
+
labels?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Label field
|
|
39
|
+
*/
|
|
40
|
+
labelField?: L;
|
|
41
|
+
/**
|
|
42
|
+
* Load data callback
|
|
43
|
+
*/
|
|
44
|
+
loadData: (parent?: T[D]) => PromiseLike<T[] | null | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* On value change event
|
|
47
|
+
*/
|
|
48
|
+
onChange?: (value: unknown) => void;
|
|
49
|
+
/**
|
|
50
|
+
* On select change event
|
|
51
|
+
*/
|
|
52
|
+
onSelectChange?: (e: SelectChangeEvent<unknown>) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Item change callback
|
|
55
|
+
*/
|
|
56
|
+
onItemChange?: (option: T | undefined, userAction: boolean) => void;
|
|
57
|
+
/**
|
|
58
|
+
* Required
|
|
59
|
+
*/
|
|
60
|
+
required?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Search mode
|
|
63
|
+
*/
|
|
64
|
+
search?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Values
|
|
67
|
+
*/
|
|
68
|
+
values?: T[D][];
|
|
69
|
+
/**
|
|
70
|
+
* Variant
|
|
71
|
+
*/
|
|
72
|
+
variant?: "outlined" | "standard" | "filled";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Hierarchy selector
|
|
76
|
+
* @param props Prop
|
|
77
|
+
* @returns Component
|
|
78
|
+
*/
|
|
79
|
+
export declare function HiSelector<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>, L extends DataTypes.Keys<T, string> = LabelDefaultType<T>>(props: HiSelectorProps<T, D, L>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { DataTypes, IdDefaultType } from "@etsoo/shared";
|
|
2
|
+
import { AutocompleteChangeReason, GridSize } from "@mui/material";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { ResponsiveStyleValue } from "./ResponsiveStyleValue";
|
|
5
|
+
/**
|
|
6
|
+
* Hierarchy tiplist selector props
|
|
7
|
+
*/
|
|
8
|
+
export type HiSelectorTLProps<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>> = {
|
|
9
|
+
/**
|
|
10
|
+
* Break points
|
|
11
|
+
*/
|
|
12
|
+
breakPoints?: ResponsiveStyleValue<GridSize>;
|
|
13
|
+
/**
|
|
14
|
+
* Id field
|
|
15
|
+
*/
|
|
16
|
+
idField?: D;
|
|
17
|
+
/**
|
|
18
|
+
* Error
|
|
19
|
+
*/
|
|
20
|
+
error?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The helper text content.
|
|
23
|
+
*/
|
|
24
|
+
helperText?: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Name, also hidden input field name
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
/**
|
|
30
|
+
* Label
|
|
31
|
+
*/
|
|
32
|
+
label?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Labels for each select
|
|
35
|
+
*/
|
|
36
|
+
labels?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Load data callback
|
|
39
|
+
*/
|
|
40
|
+
loadData: (keyword: string | undefined, id: T[D] | undefined, maxItems: number, parent?: T[D]) => PromiseLike<T[] | null | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* On value change event
|
|
43
|
+
*/
|
|
44
|
+
onChange?: (value: unknown) => void;
|
|
45
|
+
/**
|
|
46
|
+
* Item change callback
|
|
47
|
+
*/
|
|
48
|
+
onItemChange?: (event: React.SyntheticEvent, option: T | null, reason: AutocompleteChangeReason) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Required
|
|
51
|
+
*/
|
|
52
|
+
required?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Search mode
|
|
55
|
+
*/
|
|
56
|
+
search?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Values
|
|
59
|
+
*/
|
|
60
|
+
values?: T[D][];
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Hierarchy tiplist selector
|
|
64
|
+
* @param props Prop
|
|
65
|
+
* @returns Component
|
|
66
|
+
*/
|
|
67
|
+
export declare function HiSelectorTL<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>>(props: HiSelectorTLProps<T, D>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IconButtonProps } from "@mui/material";
|
|
2
|
+
/**
|
|
3
|
+
* IconButtonLink props
|
|
4
|
+
*/
|
|
5
|
+
export type IconButtonLinkProps = Omit<IconButtonProps, "href" | "onClick"> & {
|
|
6
|
+
/**
|
|
7
|
+
* To href
|
|
8
|
+
*/
|
|
9
|
+
href: string;
|
|
10
|
+
/**
|
|
11
|
+
* Link state
|
|
12
|
+
*/
|
|
13
|
+
state?: any;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* IconButtonLink
|
|
17
|
+
* @param props Props
|
|
18
|
+
* @returns Component
|
|
19
|
+
*/
|
|
20
|
+
export declare function IconButtonLink(props: IconButtonLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { TextFieldProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Input field props
|
|
5
|
+
*/
|
|
6
|
+
export type InputFieldProps = TextFieldProps & {
|
|
7
|
+
/**
|
|
8
|
+
* Change delay (ms) to avoid repeatly dispatch onChange
|
|
9
|
+
*/
|
|
10
|
+
changeDelay?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Change delay handler, without it onChange will be applied
|
|
13
|
+
*/
|
|
14
|
+
onChangeDelay?: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
15
|
+
/**
|
|
16
|
+
* Is the field read only?
|
|
17
|
+
*/
|
|
18
|
+
readOnly?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Minimum characters to trigger the change event
|
|
21
|
+
*/
|
|
22
|
+
minChars?: number;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Input field
|
|
26
|
+
* @param props Props
|
|
27
|
+
* @returns Component
|
|
28
|
+
*/
|
|
29
|
+
export declare const InputField: React.ForwardRefExoticComponent<(Omit<import("@mui/material").OutlinedTextFieldProps & {
|
|
30
|
+
/**
|
|
31
|
+
* Change delay (ms) to avoid repeatly dispatch onChange
|
|
32
|
+
*/
|
|
33
|
+
changeDelay?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Change delay handler, without it onChange will be applied
|
|
36
|
+
*/
|
|
37
|
+
onChangeDelay?: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
38
|
+
/**
|
|
39
|
+
* Is the field read only?
|
|
40
|
+
*/
|
|
41
|
+
readOnly?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Minimum characters to trigger the change event
|
|
44
|
+
*/
|
|
45
|
+
minChars?: number;
|
|
46
|
+
}, "ref"> | Omit<import("@mui/material").FilledTextFieldProps & {
|
|
47
|
+
/**
|
|
48
|
+
* Change delay (ms) to avoid repeatly dispatch onChange
|
|
49
|
+
*/
|
|
50
|
+
changeDelay?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Change delay handler, without it onChange will be applied
|
|
53
|
+
*/
|
|
54
|
+
onChangeDelay?: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
55
|
+
/**
|
|
56
|
+
* Is the field read only?
|
|
57
|
+
*/
|
|
58
|
+
readOnly?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Minimum characters to trigger the change event
|
|
61
|
+
*/
|
|
62
|
+
minChars?: number;
|
|
63
|
+
}, "ref"> | Omit<import("@mui/material").StandardTextFieldProps & {
|
|
64
|
+
/**
|
|
65
|
+
* Change delay (ms) to avoid repeatly dispatch onChange
|
|
66
|
+
*/
|
|
67
|
+
changeDelay?: number;
|
|
68
|
+
/**
|
|
69
|
+
* Change delay handler, without it onChange will be applied
|
|
70
|
+
*/
|
|
71
|
+
onChangeDelay?: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
72
|
+
/**
|
|
73
|
+
* Is the field read only?
|
|
74
|
+
*/
|
|
75
|
+
readOnly?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Minimum characters to trigger the change event
|
|
78
|
+
*/
|
|
79
|
+
minChars?: number;
|
|
80
|
+
}, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { DataTypes } from "@etsoo/shared";
|
|
2
|
+
import { TypographyProps } from "@mui/material/Typography";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { InputFieldProps } from "./InputField";
|
|
5
|
+
type ItemType = DataTypes.IdLabelItem<string | number>;
|
|
6
|
+
/**
|
|
7
|
+
* InputField with tips properties
|
|
8
|
+
*/
|
|
9
|
+
export type InputTipFieldProps<T extends ItemType = ItemType> = InputFieldProps & {
|
|
10
|
+
/**
|
|
11
|
+
* Load data
|
|
12
|
+
* @param value Duplicate test value
|
|
13
|
+
*/
|
|
14
|
+
loadData(value: string): Promise<[T[]?, string?]>;
|
|
15
|
+
/**
|
|
16
|
+
* Label props
|
|
17
|
+
*/
|
|
18
|
+
labelProps?: Omit<TypographyProps, "onClick">;
|
|
19
|
+
/**
|
|
20
|
+
* Custom item label
|
|
21
|
+
* @param item List item data
|
|
22
|
+
* @returns Result
|
|
23
|
+
*/
|
|
24
|
+
itemLabel?: (item: T) => React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Custom render item
|
|
27
|
+
* @param item List item data
|
|
28
|
+
* @returns Result
|
|
29
|
+
*/
|
|
30
|
+
renderItem?: (item: T) => React.ReactNode;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* InputField with tips
|
|
34
|
+
* @param props Props
|
|
35
|
+
* @returns Component
|
|
36
|
+
*/
|
|
37
|
+
export declare function InputTipField<T extends ItemType = ItemType>(props: InputTipFieldProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { BoxProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { InputFieldProps } from "./InputField";
|
|
4
|
+
/**
|
|
5
|
+
* Integer input field props
|
|
6
|
+
*/
|
|
7
|
+
export type IntInputFieldProps = Omit<InputFieldProps, "type" | "inputProps" | "value" | "defaultValue"> & {
|
|
8
|
+
/**
|
|
9
|
+
* Minimum value
|
|
10
|
+
*/
|
|
11
|
+
min?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Maximum value
|
|
14
|
+
*/
|
|
15
|
+
max?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Step value
|
|
18
|
+
*/
|
|
19
|
+
step?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Display minus and plus buttons
|
|
22
|
+
*/
|
|
23
|
+
buttons?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* End symbol
|
|
26
|
+
*/
|
|
27
|
+
endSymbol?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Start (Currency) symbol
|
|
30
|
+
*/
|
|
31
|
+
symbol?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Value
|
|
34
|
+
*/
|
|
35
|
+
value?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Input field style
|
|
38
|
+
*/
|
|
39
|
+
inputStyle?: React.CSSProperties;
|
|
40
|
+
/**
|
|
41
|
+
* On value change callback
|
|
42
|
+
* @param value Value
|
|
43
|
+
* @param source Source value
|
|
44
|
+
* @param init Initial action
|
|
45
|
+
*/
|
|
46
|
+
onValueChange?: (value: number | undefined, source: unknown, init: boolean) => number | boolean | null | void;
|
|
47
|
+
/**
|
|
48
|
+
* Box props
|
|
49
|
+
*/
|
|
50
|
+
boxProps?: BoxProps;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Integer input field (controlled)
|
|
54
|
+
*/
|
|
55
|
+
export declare const IntInputField: React.ForwardRefExoticComponent<Omit<IntInputFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { DataTypes, IdDefaultType, LabelDefaultType, ListType } from "@etsoo/shared";
|
|
3
|
+
/**
|
|
4
|
+
* Item list properties
|
|
5
|
+
*/
|
|
6
|
+
export interface ItemListProps<T extends object, D extends DataTypes.Keys<T>, L extends DataTypes.Keys<T, string>> {
|
|
7
|
+
/**
|
|
8
|
+
* Button label
|
|
9
|
+
*/
|
|
10
|
+
buttonLabel?: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Style class name
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Keep click for all items
|
|
17
|
+
*/
|
|
18
|
+
keepClick?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Id field name
|
|
21
|
+
*/
|
|
22
|
+
idField?: D;
|
|
23
|
+
/**
|
|
24
|
+
* Label field name or callback
|
|
25
|
+
*/
|
|
26
|
+
labelField?: L | ((item: T) => string);
|
|
27
|
+
/**
|
|
28
|
+
* Minimum width
|
|
29
|
+
*/
|
|
30
|
+
minWidth?: number | string;
|
|
31
|
+
/**
|
|
32
|
+
* Button icon
|
|
33
|
+
*/
|
|
34
|
+
icon?: React.ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Button color
|
|
37
|
+
*/
|
|
38
|
+
color?: "inherit" | "primary" | "secondary";
|
|
39
|
+
/**
|
|
40
|
+
* Close event
|
|
41
|
+
*/
|
|
42
|
+
onClose?(item: T | undefined, changed: boolean): void;
|
|
43
|
+
/**
|
|
44
|
+
* Current selected id
|
|
45
|
+
*/
|
|
46
|
+
selectedValue?: T[D];
|
|
47
|
+
/**
|
|
48
|
+
* Button size
|
|
49
|
+
*/
|
|
50
|
+
size?: "small" | "medium" | "large";
|
|
51
|
+
/**
|
|
52
|
+
* Title
|
|
53
|
+
*/
|
|
54
|
+
title?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Items
|
|
57
|
+
*/
|
|
58
|
+
items: T[];
|
|
59
|
+
/**
|
|
60
|
+
* Button variant
|
|
61
|
+
*/
|
|
62
|
+
variant?: "text" | "outlined" | "contained";
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Item list component
|
|
66
|
+
* @param props Properties
|
|
67
|
+
*/
|
|
68
|
+
export declare function ItemList<T extends object = ListType, D extends DataTypes.Keys<T> = IdDefaultType<T>, L extends DataTypes.Keys<T, string> = LabelDefaultType<T>>(props: ItemListProps<T, D, L>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ChartData, LineControllerChartOptions } from "chart.js" with { "resolution-mode": "import" };
|
|
2
|
+
/**
|
|
3
|
+
* Line chart
|
|
4
|
+
*/
|
|
5
|
+
export type LineChartProps = {
|
|
6
|
+
/**
|
|
7
|
+
* Chart data
|
|
8
|
+
*/
|
|
9
|
+
data: ChartData<"line">;
|
|
10
|
+
/**
|
|
11
|
+
* Options
|
|
12
|
+
*/
|
|
13
|
+
options?: LineControllerChartOptions;
|
|
14
|
+
/**
|
|
15
|
+
* Subtitle
|
|
16
|
+
*/
|
|
17
|
+
subtitle?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Title
|
|
20
|
+
*/
|
|
21
|
+
title?: string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Line chart
|
|
25
|
+
* @param props Props
|
|
26
|
+
* @returns Component
|
|
27
|
+
*/
|
|
28
|
+
export declare function LineChart(props: LineChartProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -18,7 +18,8 @@ export function LineChart(props) {
|
|
|
18
18
|
import("chartjs-plugin-datalabels")
|
|
19
19
|
]).then(([{ Line }, { Chart: ChartJS, CategoryScale, LinearScale, PointElement, LineElement, Title, Tooltip, Legend }, ChartDataLabels]) => {
|
|
20
20
|
// https://www.chartjs.org/docs/latest/getting-started/
|
|
21
|
-
ChartJS.register(CategoryScale, LinearScale, PointElement, LineElement, Title, Tooltip, Legend, ChartDataLabels
|
|
21
|
+
ChartJS.register(CategoryScale, LinearScale, PointElement, LineElement, Title, Tooltip, Legend, ChartDataLabels // CommonJS says 'id' is missing
|
|
22
|
+
);
|
|
22
23
|
setLineType(Line);
|
|
23
24
|
});
|
|
24
25
|
}, []);
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { DataTypes, DelayedExecutorType, IdDefaultType } from "@etsoo/shared";
|
|
2
|
+
import { ListItemButtonProps, ListProps } from "@mui/material";
|
|
3
|
+
import React from "react";
|
|
4
|
+
type QueryData = {
|
|
5
|
+
title?: string;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* List chooser button props
|
|
9
|
+
*/
|
|
10
|
+
export interface ListChooserButtonProps<T extends object, D extends DataTypes.Keys<T>> {
|
|
11
|
+
(id: T[D]): ListItemButtonProps;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* List chooser props
|
|
15
|
+
*/
|
|
16
|
+
export type ListChooserProps<T extends object, D extends DataTypes.Keys<T>, Q extends object> = ListProps & {
|
|
17
|
+
/**
|
|
18
|
+
* Condition field name
|
|
19
|
+
*/
|
|
20
|
+
conditionField?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Condition renderer
|
|
23
|
+
*/
|
|
24
|
+
conditionRenderer?: (rq: Partial<Q>, delayed: DelayedExecutorType) => React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* List item renderer
|
|
27
|
+
*/
|
|
28
|
+
itemRenderer?: (data: T, props: ListChooserButtonProps<T, D>) => React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Label field
|
|
31
|
+
*/
|
|
32
|
+
labelField?: DataTypes.Keys<T, string> | ((data: T) => string);
|
|
33
|
+
/**
|
|
34
|
+
* Id field
|
|
35
|
+
*/
|
|
36
|
+
idField?: D;
|
|
37
|
+
/**
|
|
38
|
+
* Load data callback
|
|
39
|
+
*/
|
|
40
|
+
loadData: (rq: Partial<Q>) => PromiseLike<T[] | null | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Multiple selected
|
|
43
|
+
*/
|
|
44
|
+
multiple?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Item onchange callback
|
|
47
|
+
*/
|
|
48
|
+
onItemChange: (items: T[], ids: T[D][]) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Title
|
|
51
|
+
*/
|
|
52
|
+
title: string;
|
|
53
|
+
/**
|
|
54
|
+
* Double click enabled
|
|
55
|
+
*/
|
|
56
|
+
doubleClickEnabled?: boolean;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* List chooser
|
|
60
|
+
* @param props Props
|
|
61
|
+
* @returns Component
|
|
62
|
+
*/
|
|
63
|
+
export declare function ListChooser<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>, Q extends object = QueryData>(props: ListChooserProps<T, D, Q>): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CardProps } from "@mui/material";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { GridData, GridLoader } from "@etsoo/react";
|
|
4
|
+
/**
|
|
5
|
+
* ListMoreDisplay props
|
|
6
|
+
*/
|
|
7
|
+
export interface ListMoreDisplayProps<T extends object> extends Omit<CardProps, "children">, GridLoader<T> {
|
|
8
|
+
/**
|
|
9
|
+
* Batch size to load
|
|
10
|
+
*/
|
|
11
|
+
batchSize?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Children to display the list
|
|
14
|
+
*/
|
|
15
|
+
children: (data: T, index: number) => React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Search field template
|
|
18
|
+
*/
|
|
19
|
+
readonly fieldTemplate: object;
|
|
20
|
+
/**
|
|
21
|
+
* Header renderer
|
|
22
|
+
*/
|
|
23
|
+
headerRenderer?: (reset: (data?: GridData) => void) => React.ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* Header title
|
|
26
|
+
*/
|
|
27
|
+
headerTitle?: React.ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* More button label
|
|
30
|
+
*/
|
|
31
|
+
moreLabel?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* ListMoreDisplay
|
|
35
|
+
* @param props Props
|
|
36
|
+
* @returns Component
|
|
37
|
+
*/
|
|
38
|
+
export declare function ListMoreDisplay<T extends object>(props: ListMoreDisplayProps<T>): import("react/jsx-runtime").JSX.Element;
|