@etsoo/materialui 1.6.67 → 1.6.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/lib/cjs/AddresSelector.d.ts +1 -1
- package/lib/cjs/AuditDisplay.d.ts +1 -1
- package/lib/cjs/BackButton.d.ts +2 -1
- package/lib/cjs/BridgeCloseButton.d.ts +2 -1
- package/lib/cjs/ButtonLink.d.ts +1 -1
- package/lib/cjs/ButtonList.d.ts +1 -1
- package/lib/cjs/ButtonPopover.d.ts +1 -1
- package/lib/cjs/ButtonPopupCheckbox.d.ts +2 -1
- package/lib/cjs/ButtonPopupRadio.d.ts +2 -1
- package/lib/cjs/ComboBox.d.ts +2 -1
- package/lib/cjs/ComboBoxMultiple.d.ts +2 -1
- package/lib/cjs/ComboBoxPro.d.ts +2 -1
- package/lib/cjs/CountdownButton.d.ts +2 -1
- package/lib/cjs/CountryList.d.ts +2 -1
- package/lib/cjs/CultureDataTable.d.ts +2 -1
- package/lib/cjs/DataGridEx.d.ts +1 -1
- package/lib/cjs/DataLoadField.d.ts +2 -1
- package/lib/cjs/DataSteps.d.ts +2 -1
- package/lib/cjs/DataTable.d.ts +2 -1
- package/lib/cjs/DialogButton.d.ts +1 -1
- package/lib/cjs/DnDSortableList.d.ts +1 -1
- package/lib/cjs/DownUpButton.d.ts +1 -1
- package/lib/cjs/DraggablePaperComponent.d.ts +2 -1
- package/lib/cjs/EmailInput.d.ts +1 -1
- package/lib/cjs/ErrorAlert.d.ts +1 -1
- package/lib/cjs/FabBox.d.ts +2 -1
- package/lib/cjs/FieldSetEx.d.ts +1 -1
- package/lib/cjs/FileUploadButton.d.ts +1 -1
- package/lib/cjs/FlexBox.d.ts +3 -3
- package/lib/cjs/HiSelector.d.ts +1 -1
- package/lib/cjs/HiSelectorTL.d.ts +1 -1
- package/lib/cjs/IconButtonLink.d.ts +1 -1
- package/lib/cjs/InputField.d.ts +1 -1
- package/lib/cjs/InputTipField.d.ts +1 -1
- package/lib/cjs/IntInputField.d.ts +1 -1
- package/lib/cjs/ItemList.d.ts +1 -1
- package/lib/cjs/JsonDataInput.d.ts +2 -1
- package/lib/cjs/JsonTextField.d.ts +2 -1
- package/lib/cjs/LineChart.d.ts +2 -1
- package/lib/cjs/LinkEx.d.ts +1 -1
- package/lib/cjs/ListChooser.d.ts +1 -1
- package/lib/cjs/ListMoreDisplay.d.ts +1 -1
- package/lib/cjs/ListMultipler.d.ts +2 -1
- package/lib/cjs/LoadingButton.d.ts +2 -1
- package/lib/cjs/MaskInput.d.ts +2 -1
- package/lib/cjs/MenuButton.d.ts +1 -1
- package/lib/cjs/MobileInput.d.ts +1 -1
- package/lib/cjs/MobileListItemRenderer.d.ts +1 -1
- package/lib/cjs/MoneyInputField.d.ts +1 -1
- package/lib/cjs/MoreFab.d.ts +1 -1
- package/lib/cjs/NotifierMU.d.ts +2 -2
- package/lib/cjs/NumberField.d.ts +1 -1
- package/lib/cjs/NumberInputField.d.ts +1 -1
- package/lib/cjs/NumberSpinner.d.ts +1 -1
- package/lib/cjs/OptionBool.d.ts +1 -1
- package/lib/cjs/OptionGroup.d.ts +1 -1
- package/lib/cjs/OptionGroupFlag.d.ts +1 -1
- package/lib/cjs/PList.d.ts +2 -1
- package/lib/cjs/PercentCircularProgress.d.ts +1 -1
- package/lib/cjs/PercentLinearProgress.d.ts +1 -1
- package/lib/cjs/PhoneInput.d.ts +1 -1
- package/lib/cjs/ProgressCount.d.ts +2 -1
- package/lib/cjs/PullToRefreshUI.d.ts +2 -1
- package/lib/cjs/QuickList.d.ts +1 -1
- package/lib/cjs/ResponsibleContainer.d.ts +1 -1
- package/lib/cjs/ScrollTopFab.d.ts +2 -1
- package/lib/cjs/ScrollerListEx.d.ts +1 -1
- package/lib/cjs/SearchBar.d.ts +1 -1
- package/lib/cjs/SearchField.d.ts +2 -1
- package/lib/cjs/SearchOptionGroup.d.ts +1 -1
- package/lib/cjs/SelectBool.d.ts +1 -1
- package/lib/cjs/SelectEx.d.ts +1 -1
- package/lib/cjs/SelectEx.js +2 -2
- package/lib/cjs/Switch.d.ts +2 -1
- package/lib/cjs/SwitchAnt.d.ts +2 -1
- package/lib/cjs/SwitchField.d.ts +1 -1
- package/lib/cjs/TabBox.d.ts +1 -1
- package/lib/cjs/TableEx.d.ts +1 -1
- package/lib/cjs/TagList.d.ts +2 -1
- package/lib/cjs/TagListPro.d.ts +2 -1
- package/lib/cjs/TextFieldEx.d.ts +1 -1
- package/lib/cjs/Tiplist.d.ts +2 -1
- package/lib/cjs/TiplistPro.d.ts +2 -2
- package/lib/cjs/TooltipClick.d.ts +1 -1
- package/lib/cjs/TwoFieldInput.d.ts +2 -1
- package/lib/cjs/UserAvatar.d.ts +1 -1
- package/lib/cjs/UserAvatarEditor.d.ts +2 -1
- package/lib/cjs/ViewContainer.d.ts +2 -2
- package/lib/cjs/custom/CustomAttributeArea.d.ts +2 -1
- package/lib/cjs/custom/CustomFieldUI.d.ts +1 -1
- package/lib/cjs/custom/CustomFieldUtils.d.ts +3 -2
- package/lib/cjs/custom/CustomFieldViewUI.d.ts +1 -1
- package/lib/cjs/custom/CustomFieldViewer.d.ts +1 -1
- package/lib/cjs/custom/CustomFieldWindow.d.ts +1 -1
- package/lib/cjs/html/HtmlDiv.d.ts +1 -1
- package/lib/cjs/messages/OperationMessageContainer.d.ts +2 -1
- package/lib/cjs/pages/CommonPage.d.ts +1 -1
- package/lib/cjs/pages/DataGridPage.d.ts +2 -1
- package/lib/cjs/pages/EditPage.d.ts +1 -1
- package/lib/cjs/pages/FixedListPage.d.ts +2 -1
- package/lib/cjs/pages/LeftDrawer.d.ts +1 -1
- package/lib/cjs/pages/ListPage.d.ts +2 -1
- package/lib/cjs/pages/ResponsivePage.d.ts +1 -1
- package/lib/cjs/pages/TablePage.d.ts +2 -1
- package/lib/cjs/pages/UserMenu.d.ts +1 -1
- package/lib/cjs/pages/ViewPage.d.ts +2 -2
- package/lib/cjs/texts/DateText.d.ts +1 -1
- package/lib/cjs/texts/MoneyText.d.ts +1 -1
- package/lib/cjs/texts/NumberText.d.ts +1 -1
- package/lib/mjs/AddresSelector.d.ts +1 -1
- package/lib/mjs/AuditDisplay.d.ts +1 -1
- package/lib/mjs/BackButton.d.ts +2 -1
- package/lib/mjs/BridgeCloseButton.d.ts +2 -1
- package/lib/mjs/ButtonLink.d.ts +1 -1
- package/lib/mjs/ButtonList.d.ts +1 -1
- package/lib/mjs/ButtonPopover.d.ts +1 -1
- package/lib/mjs/ButtonPopupCheckbox.d.ts +2 -1
- package/lib/mjs/ButtonPopupRadio.d.ts +2 -1
- package/lib/mjs/ComboBox.d.ts +2 -1
- package/lib/mjs/ComboBoxMultiple.d.ts +2 -1
- package/lib/mjs/ComboBoxPro.d.ts +2 -1
- package/lib/mjs/CountdownButton.d.ts +2 -1
- package/lib/mjs/CountryList.d.ts +2 -1
- package/lib/mjs/CultureDataTable.d.ts +2 -1
- package/lib/mjs/DataGridEx.d.ts +1 -1
- package/lib/mjs/DataLoadField.d.ts +2 -1
- package/lib/mjs/DataSteps.d.ts +2 -1
- package/lib/mjs/DataTable.d.ts +2 -1
- package/lib/mjs/DialogButton.d.ts +1 -1
- package/lib/mjs/DnDSortableList.d.ts +1 -1
- package/lib/mjs/DownUpButton.d.ts +1 -1
- package/lib/mjs/DraggablePaperComponent.d.ts +2 -1
- package/lib/mjs/EmailInput.d.ts +1 -1
- package/lib/mjs/ErrorAlert.d.ts +1 -1
- package/lib/mjs/FabBox.d.ts +2 -1
- package/lib/mjs/FieldSetEx.d.ts +1 -1
- package/lib/mjs/FileUploadButton.d.ts +1 -1
- package/lib/mjs/FlexBox.d.ts +3 -3
- package/lib/mjs/HiSelector.d.ts +1 -1
- package/lib/mjs/HiSelectorTL.d.ts +1 -1
- package/lib/mjs/IconButtonLink.d.ts +1 -1
- package/lib/mjs/InputField.d.ts +1 -1
- package/lib/mjs/InputTipField.d.ts +1 -1
- package/lib/mjs/IntInputField.d.ts +1 -1
- package/lib/mjs/ItemList.d.ts +1 -1
- package/lib/mjs/JsonDataInput.d.ts +2 -1
- package/lib/mjs/JsonTextField.d.ts +2 -1
- package/lib/mjs/LineChart.d.ts +2 -1
- package/lib/mjs/LinkEx.d.ts +1 -1
- package/lib/mjs/ListChooser.d.ts +1 -1
- package/lib/mjs/ListMoreDisplay.d.ts +1 -1
- package/lib/mjs/ListMultipler.d.ts +2 -1
- package/lib/mjs/LoadingButton.d.ts +2 -1
- package/lib/mjs/MaskInput.d.ts +2 -1
- package/lib/mjs/MenuButton.d.ts +1 -1
- package/lib/mjs/MobileInput.d.ts +1 -1
- package/lib/mjs/MobileListItemRenderer.d.ts +1 -1
- package/lib/mjs/MoneyInputField.d.ts +1 -1
- package/lib/mjs/MoreFab.d.ts +1 -1
- package/lib/mjs/NotifierMU.d.ts +2 -2
- package/lib/mjs/NumberField.d.ts +1 -1
- package/lib/mjs/NumberInputField.d.ts +1 -1
- package/lib/mjs/NumberSpinner.d.ts +1 -1
- package/lib/mjs/OptionBool.d.ts +1 -1
- package/lib/mjs/OptionGroup.d.ts +1 -1
- package/lib/mjs/OptionGroupFlag.d.ts +1 -1
- package/lib/mjs/PList.d.ts +2 -1
- package/lib/mjs/PercentCircularProgress.d.ts +1 -1
- package/lib/mjs/PercentLinearProgress.d.ts +1 -1
- package/lib/mjs/PhoneInput.d.ts +1 -1
- package/lib/mjs/ProgressCount.d.ts +2 -1
- package/lib/mjs/PullToRefreshUI.d.ts +2 -1
- package/lib/mjs/QuickList.d.ts +1 -1
- package/lib/mjs/ResponsibleContainer.d.ts +1 -1
- package/lib/mjs/ScrollTopFab.d.ts +2 -1
- package/lib/mjs/ScrollerListEx.d.ts +1 -1
- package/lib/mjs/SearchBar.d.ts +1 -1
- package/lib/mjs/SearchField.d.ts +2 -1
- package/lib/mjs/SearchOptionGroup.d.ts +1 -1
- package/lib/mjs/SelectBool.d.ts +1 -1
- package/lib/mjs/SelectEx.d.ts +1 -1
- package/lib/mjs/SelectEx.js +2 -2
- package/lib/mjs/Switch.d.ts +2 -1
- package/lib/mjs/SwitchAnt.d.ts +2 -1
- package/lib/mjs/SwitchField.d.ts +1 -1
- package/lib/mjs/TabBox.d.ts +1 -1
- package/lib/mjs/TableEx.d.ts +1 -1
- package/lib/mjs/TagList.d.ts +2 -1
- package/lib/mjs/TagListPro.d.ts +2 -1
- package/lib/mjs/TextFieldEx.d.ts +1 -1
- package/lib/mjs/Tiplist.d.ts +2 -1
- package/lib/mjs/TiplistPro.d.ts +2 -2
- package/lib/mjs/TooltipClick.d.ts +1 -1
- package/lib/mjs/TwoFieldInput.d.ts +2 -1
- package/lib/mjs/UserAvatar.d.ts +1 -1
- package/lib/mjs/UserAvatarEditor.d.ts +2 -1
- package/lib/mjs/ViewContainer.d.ts +2 -2
- package/lib/mjs/custom/CustomAttributeArea.d.ts +2 -1
- package/lib/mjs/custom/CustomFieldUI.d.ts +1 -1
- package/lib/mjs/custom/CustomFieldUtils.d.ts +3 -2
- package/lib/mjs/custom/CustomFieldViewUI.d.ts +1 -1
- package/lib/mjs/custom/CustomFieldViewer.d.ts +1 -1
- package/lib/mjs/custom/CustomFieldWindow.d.ts +1 -1
- package/lib/mjs/html/HtmlDiv.d.ts +1 -1
- package/lib/mjs/messages/OperationMessageContainer.d.ts +2 -1
- package/lib/mjs/pages/CommonPage.d.ts +1 -1
- package/lib/mjs/pages/DataGridPage.d.ts +2 -1
- package/lib/mjs/pages/EditPage.d.ts +1 -1
- package/lib/mjs/pages/FixedListPage.d.ts +2 -1
- package/lib/mjs/pages/LeftDrawer.d.ts +1 -1
- package/lib/mjs/pages/ListPage.d.ts +2 -1
- package/lib/mjs/pages/ResponsivePage.d.ts +1 -1
- package/lib/mjs/pages/TablePage.d.ts +2 -1
- package/lib/mjs/pages/UserMenu.d.ts +1 -1
- package/lib/mjs/pages/ViewPage.d.ts +2 -2
- package/lib/mjs/texts/DateText.d.ts +1 -1
- package/lib/mjs/texts/MoneyText.d.ts +1 -1
- package/lib/mjs/texts/NumberText.d.ts +1 -1
- package/package.json +16 -16
- package/src/SelectEx.tsx +7 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ButtonProps } from "@mui/material/Button";
|
|
2
|
+
import React from "react";
|
|
2
3
|
/**
|
|
3
4
|
* Countdown button action
|
|
4
5
|
*/
|
|
@@ -23,4 +24,4 @@ export type CountdownButtonProps = Omit<ButtonProps, "endIcon" | "disabled"> & {
|
|
|
23
24
|
* @param props Props
|
|
24
25
|
* @returns Button
|
|
25
26
|
*/
|
|
26
|
-
export declare function CountdownButton(props: CountdownButtonProps):
|
|
27
|
+
export declare function CountdownButton(props: CountdownButtonProps): React.JSX.Element;
|
package/lib/mjs/CountryList.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AddressRegionDb } from "@etsoo/appscript";
|
|
2
2
|
import { DataTypes } from "@etsoo/shared";
|
|
3
|
+
import React from "react";
|
|
3
4
|
import { TiplistProps } from "./Tiplist";
|
|
4
5
|
import { RegionsRQ } from "./RegionsRQ";
|
|
5
6
|
/**
|
|
@@ -27,4 +28,4 @@ export type CountryListProps = Omit<DataTypes.Optional<TiplistProps<AddressRegio
|
|
|
27
28
|
* @param props Props
|
|
28
29
|
* @returns Component
|
|
29
30
|
*/
|
|
30
|
-
export declare function CountryList(props: CountryListProps):
|
|
31
|
+
export declare function CountryList(props: CountryListProps): React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DataTableProps } from "./DataTable";
|
|
2
|
+
import React from "react";
|
|
2
3
|
import { ListType1 } from "@etsoo/shared";
|
|
3
4
|
/**
|
|
4
5
|
* Culture table props
|
|
@@ -16,4 +17,4 @@ export type CultureDataTableProps = Omit<DataTableProps, "columns"> & {
|
|
|
16
17
|
* @param props Props
|
|
17
18
|
* @returns Component
|
|
18
19
|
*/
|
|
19
|
-
export declare function CultureDataTable(props: CultureDataTableProps):
|
|
20
|
+
export declare function CultureDataTable(props: CultureDataTableProps): React.JSX.Element;
|
package/lib/mjs/DataGridEx.d.ts
CHANGED
|
@@ -105,4 +105,4 @@ export declare function DataGridExCalColumns<T>(columns: GridColumn<T>[]): {
|
|
|
105
105
|
* @param props Props
|
|
106
106
|
* @returns Component
|
|
107
107
|
*/
|
|
108
|
-
export declare function DataGridEx<T extends object>(props: DataGridExProps<T>):
|
|
108
|
+
export declare function DataGridEx<T extends object>(props: DataGridExProps<T>): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { InputFieldProps } from "./InputField";
|
|
2
3
|
/**
|
|
3
4
|
* Data load field properties
|
|
@@ -14,4 +15,4 @@ export type DataLoadFieldProps = InputFieldProps & {
|
|
|
14
15
|
* @param props Properties
|
|
15
16
|
* @returns Component
|
|
16
17
|
*/
|
|
17
|
-
export declare function DataLoadField(props: DataLoadFieldProps):
|
|
18
|
+
export declare function DataLoadField(props: DataLoadFieldProps): React.JSX.Element;
|
package/lib/mjs/DataSteps.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InputDialogProps } from "@etsoo/react";
|
|
2
|
+
import React from "react";
|
|
2
3
|
import { TextFieldProps } from "@mui/material/TextField";
|
|
3
4
|
/**
|
|
4
5
|
* Data step
|
|
@@ -35,4 +36,4 @@ export type DataStepsProps<T extends object> = Omit<TextFieldProps, "InputProps"
|
|
|
35
36
|
* @param props Props
|
|
36
37
|
* @returns Component
|
|
37
38
|
*/
|
|
38
|
-
export declare function DataSteps<T extends object>(props: DataStepsProps<T>):
|
|
39
|
+
export declare function DataSteps<T extends object>(props: DataStepsProps<T>): React.JSX.Element;
|
package/lib/mjs/DataTable.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { GridRowId, GridValidRowModel } from "@mui/x-data-grid/models";
|
|
2
3
|
import { DataGridProps } from "@mui/x-data-grid/internals";
|
|
3
4
|
/**
|
|
@@ -24,4 +25,4 @@ export type DataTableProps<R extends GridValidRowModel = any> = Omit<DataGridPro
|
|
|
24
25
|
* @param props Props
|
|
25
26
|
* @returns Component
|
|
26
27
|
*/
|
|
27
|
-
export declare function DataTable<R extends GridValidRowModel = any>(props: DataTableProps<R>):
|
|
28
|
+
export declare function DataTable<R extends GridValidRowModel = any>(props: DataTableProps<R>): React.JSX.Element;
|
|
@@ -52,4 +52,4 @@ export interface DialogButtonProps extends ButtonProps {
|
|
|
52
52
|
* @param props Props
|
|
53
53
|
* @returns Component
|
|
54
54
|
*/
|
|
55
|
-
export declare function DialogButton(props: DialogButtonProps):
|
|
55
|
+
export declare function DialogButton(props: DialogButtonProps): React.JSX.Element;
|
|
@@ -102,4 +102,4 @@ export type DnDSortableListProps<D extends object, E extends React.ElementType =
|
|
|
102
102
|
* @param props Props
|
|
103
103
|
* @returns Component
|
|
104
104
|
*/
|
|
105
|
-
export declare function DnDSortableList<D extends object, E extends React.ElementType = React.ElementType>(props: DnDSortableListProps<D, E>):
|
|
105
|
+
export declare function DnDSortableList<D extends object, E extends React.ElementType = React.ElementType>(props: DnDSortableListProps<D, E>): React.JSX.Element;
|
|
@@ -35,4 +35,4 @@ export type DownUpButtonProps = Omit<ButtonGroupProps, "orientation"> & {
|
|
|
35
35
|
* @param props Props
|
|
36
36
|
* @returns Component
|
|
37
37
|
*/
|
|
38
|
-
export declare function DownUpButton(props: DownUpButtonProps): import("react
|
|
38
|
+
export declare function DownUpButton(props: DownUpButtonProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { PaperProps } from "@mui/material/Paper";
|
|
2
|
+
import React from "react";
|
|
2
3
|
/**
|
|
3
4
|
* Draggable paper component
|
|
4
5
|
* @param props Props
|
|
5
6
|
* @returns Component
|
|
6
7
|
*/
|
|
7
|
-
export declare function DraggablePaperComponent(props: PaperProps):
|
|
8
|
+
export declare function DraggablePaperComponent(props: PaperProps): React.JSX.Element;
|
package/lib/mjs/EmailInput.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export type EmailInputProps = Omit<InputFieldProps, "type"> & {};
|
|
|
7
7
|
* Email input
|
|
8
8
|
* @param props Props
|
|
9
9
|
*/
|
|
10
|
-
export declare function EmailInput(props: EmailInputProps): import("react
|
|
10
|
+
export declare function EmailInput(props: EmailInputProps): import("react").JSX.Element;
|
package/lib/mjs/ErrorAlert.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ export type ErrorAlertProps = AlertProps & {
|
|
|
13
13
|
* @param props Props
|
|
14
14
|
* @returns Component
|
|
15
15
|
*/
|
|
16
|
-
export declare function ErrorAlert(props: ErrorAlertProps): import("react
|
|
16
|
+
export declare function ErrorAlert(props: ErrorAlertProps): import("react").JSX.Element;
|
package/lib/mjs/FabBox.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BoxProps } from "@mui/material/Box";
|
|
2
2
|
import { PaperProps } from "@mui/material/Paper";
|
|
3
|
+
import React from "react";
|
|
3
4
|
type SharedProps = keyof BoxProps & keyof PaperProps;
|
|
4
5
|
/**
|
|
5
6
|
* Fabs container box props
|
|
@@ -23,5 +24,5 @@ export type FabBoxProps = Pick<BoxProps, SharedProps> & Pick<PaperProps, SharedP
|
|
|
23
24
|
* @param props Props
|
|
24
25
|
* @returns Component
|
|
25
26
|
*/
|
|
26
|
-
export declare function FabBox(props: FabBoxProps):
|
|
27
|
+
export declare function FabBox(props: FabBoxProps): React.JSX.Element;
|
|
27
28
|
export {};
|
package/lib/mjs/FieldSetEx.d.ts
CHANGED
|
@@ -18,4 +18,4 @@ export type FieldSetExProps = Omit<FormControlProps, "defaultValue" | "variant">
|
|
|
18
18
|
* @param props Props
|
|
19
19
|
* @returns Component
|
|
20
20
|
*/
|
|
21
|
-
export declare function FieldSetEx(props: FieldSetExProps):
|
|
21
|
+
export declare function FieldSetEx(props: FieldSetExProps): React.JSX.Element;
|
|
@@ -37,4 +37,4 @@ export type FileUploadButtonProps = ButtonProps<"label"> & {
|
|
|
37
37
|
* @param props Props
|
|
38
38
|
* @returns Component
|
|
39
39
|
*/
|
|
40
|
-
export declare function FileUploadButton(props: FileUploadButtonProps):
|
|
40
|
+
export declare function FileUploadButton(props: FileUploadButtonProps): React.JSX.Element;
|
package/lib/mjs/FlexBox.d.ts
CHANGED
|
@@ -4,16 +4,16 @@ import { StackProps } from "@mui/material/Stack";
|
|
|
4
4
|
* @param props Props
|
|
5
5
|
* @returns Component
|
|
6
6
|
*/
|
|
7
|
-
export declare function HBox(props: Omit<StackProps, "ref" | "direction">): import("react
|
|
7
|
+
export declare function HBox(props: Omit<StackProps, "ref" | "direction">): import("react").JSX.Element;
|
|
8
8
|
/**
|
|
9
9
|
* Horizonal box with list items
|
|
10
10
|
* @param props Props
|
|
11
11
|
* @returns Component
|
|
12
12
|
*/
|
|
13
|
-
export declare function HBoxList(props: Omit<StackProps, "direction">): import("react
|
|
13
|
+
export declare function HBoxList(props: Omit<StackProps, "direction">): import("react").JSX.Element;
|
|
14
14
|
/**
|
|
15
15
|
* Vertial box
|
|
16
16
|
* @param props Props
|
|
17
17
|
* @returns Component
|
|
18
18
|
*/
|
|
19
|
-
export declare function VBox(props: Omit<StackProps, "ref" | "direction">): import("react
|
|
19
|
+
export declare function VBox(props: Omit<StackProps, "ref" | "direction">): import("react").JSX.Element;
|
package/lib/mjs/HiSelector.d.ts
CHANGED
|
@@ -77,4 +77,4 @@ export type HiSelectorProps<T extends object, D extends DataTypes.Keys<T> = IdDe
|
|
|
77
77
|
* @param props Prop
|
|
78
78
|
* @returns Component
|
|
79
79
|
*/
|
|
80
|
-
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>):
|
|
80
|
+
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>): React.JSX.Element;
|
|
@@ -65,4 +65,4 @@ export type HiSelectorTLProps<T extends object, D extends DataTypes.Keys<T> = Id
|
|
|
65
65
|
* @param props Prop
|
|
66
66
|
* @returns Component
|
|
67
67
|
*/
|
|
68
|
-
export declare function HiSelectorTL<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>>(props: HiSelectorTLProps<T, D>):
|
|
68
|
+
export declare function HiSelectorTL<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>>(props: HiSelectorTLProps<T, D>): React.JSX.Element;
|
|
@@ -17,4 +17,4 @@ export type IconButtonLinkProps<T = unknown> = Omit<IconButtonProps, "href" | "o
|
|
|
17
17
|
* @param props Props
|
|
18
18
|
* @returns Component
|
|
19
19
|
*/
|
|
20
|
-
export declare function IconButtonLink<T = unknown>(props: IconButtonLinkProps<T>): import("react
|
|
20
|
+
export declare function IconButtonLink<T = unknown>(props: IconButtonLinkProps<T>): import("react").JSX.Element;
|
package/lib/mjs/InputField.d.ts
CHANGED
|
@@ -26,4 +26,4 @@ export type InputFieldProps = TextFieldProps & {
|
|
|
26
26
|
* @param props Props
|
|
27
27
|
* @returns Component
|
|
28
28
|
*/
|
|
29
|
-
export declare function InputField(props: InputFieldProps):
|
|
29
|
+
export declare function InputField(props: InputFieldProps): React.JSX.Element;
|
|
@@ -66,5 +66,5 @@ export type InputTipFieldProps<T extends ItemType = ItemType> = {
|
|
|
66
66
|
* @param props Props
|
|
67
67
|
* @returns Component
|
|
68
68
|
*/
|
|
69
|
-
export declare function InputTipField<T extends ItemType = ItemType>(props: InputTipFieldProps<T>):
|
|
69
|
+
export declare function InputTipField<T extends ItemType = ItemType>(props: InputTipFieldProps<T>): React.JSX.Element;
|
|
70
70
|
export {};
|
|
@@ -52,4 +52,4 @@ export type IntInputFieldProps = Omit<InputFieldProps, "type" | "inputProps" | "
|
|
|
52
52
|
/**
|
|
53
53
|
* Integer input field (controlled)
|
|
54
54
|
*/
|
|
55
|
-
export declare function IntInputField(props: IntInputFieldProps):
|
|
55
|
+
export declare function IntInputField(props: IntInputFieldProps): React.JSX.Element;
|
package/lib/mjs/ItemList.d.ts
CHANGED
|
@@ -65,4 +65,4 @@ export interface ItemListProps<T extends object, D extends DataTypes.Keys<T>, L
|
|
|
65
65
|
* Item list component
|
|
66
66
|
* @param props Properties
|
|
67
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>):
|
|
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>): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { InputFieldProps } from "./InputField";
|
|
2
3
|
/**
|
|
3
4
|
* JSON data input component properties
|
|
@@ -8,4 +9,4 @@ export type JsonDataInputProps = Omit<InputFieldProps, "multiple">;
|
|
|
8
9
|
* @param props - Component properties
|
|
9
10
|
* @returns JSX Element
|
|
10
11
|
*/
|
|
11
|
-
export declare function JsonDataInput(props: JsonDataInputProps):
|
|
12
|
+
export declare function JsonDataInput(props: JsonDataInputProps): React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TextFieldProps } from "@mui/material/TextField";
|
|
2
|
+
import React from "react";
|
|
2
3
|
/**
|
|
3
4
|
* JSON text field props
|
|
4
5
|
*/
|
|
@@ -17,4 +18,4 @@ export type JsonTextFieldProps = TextFieldProps & {
|
|
|
17
18
|
* @param props Props
|
|
18
19
|
* @returns Component
|
|
19
20
|
*/
|
|
20
|
-
export declare function JsonTextField(props: JsonTextFieldProps):
|
|
21
|
+
export declare function JsonTextField(props: JsonTextFieldProps): React.JSX.Element;
|
package/lib/mjs/LineChart.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { ChartData, LineControllerChartOptions } from "chart.js" with { "resolution-mode": "import" };
|
|
2
3
|
/**
|
|
3
4
|
* Line chart
|
|
@@ -25,4 +26,4 @@ export type LineChartProps = {
|
|
|
25
26
|
* @param props Props
|
|
26
27
|
* @returns Component
|
|
27
28
|
*/
|
|
28
|
-
export declare function LineChart(props: LineChartProps):
|
|
29
|
+
export declare function LineChart(props: LineChartProps): React.JSX.Element;
|
package/lib/mjs/LinkEx.d.ts
CHANGED
|
@@ -18,4 +18,4 @@ export type LinkExProps = Omit<LinkProps<typeof RouterLink>, "component"> & {
|
|
|
18
18
|
* @param props Props
|
|
19
19
|
* @returns Component
|
|
20
20
|
*/
|
|
21
|
-
export declare function LinkEx(props: LinkExProps): import("react
|
|
21
|
+
export declare function LinkEx(props: LinkExProps): import("react").JSX.Element;
|
package/lib/mjs/ListChooser.d.ts
CHANGED
|
@@ -61,5 +61,5 @@ export type ListChooserProps<T extends object, D extends DataTypes.Keys<T>, Q ex
|
|
|
61
61
|
* @param props Props
|
|
62
62
|
* @returns Component
|
|
63
63
|
*/
|
|
64
|
-
export declare function ListChooser<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>, Q extends object = QueryData>(props: ListChooserProps<T, D, Q>):
|
|
64
|
+
export declare function ListChooser<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>, Q extends object = QueryData>(props: ListChooserProps<T, D, Q>): React.JSX.Element;
|
|
65
65
|
export {};
|
|
@@ -35,4 +35,4 @@ export interface ListMoreDisplayProps<T extends object> extends Omit<CardProps,
|
|
|
35
35
|
* @param props Props
|
|
36
36
|
* @returns Component
|
|
37
37
|
*/
|
|
38
|
-
export declare function ListMoreDisplay<T extends object>(props: ListMoreDisplayProps<T>):
|
|
38
|
+
export declare function ListMoreDisplay<T extends object>(props: ListMoreDisplayProps<T>): React.JSX.Element;
|
|
@@ -2,6 +2,7 @@ import { DataTypes, IdType } from "@etsoo/shared";
|
|
|
2
2
|
import { ListProps } from "@mui/material/List";
|
|
3
3
|
import { ListItemProps } from "@mui/material/ListItem";
|
|
4
4
|
import { ListItemTextProps } from "@mui/material/ListItemText";
|
|
5
|
+
import React from "react";
|
|
5
6
|
type ListItemLabel<T extends object> = DataTypes.Keys<T, string | undefined> | ((item: T) => string | undefined);
|
|
6
7
|
/**
|
|
7
8
|
* List multipler component props
|
|
@@ -47,5 +48,5 @@ export type ListMultiplerProps<T extends object> = ListProps & {
|
|
|
47
48
|
* @param props Props
|
|
48
49
|
* @returns Component
|
|
49
50
|
*/
|
|
50
|
-
export declare function ListMultipler<T extends object>(props: ListMultiplerProps<T>):
|
|
51
|
+
export declare function ListMultipler<T extends object>(props: ListMultiplerProps<T>): React.JSX.Element;
|
|
51
52
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ButtonProps } from "@mui/material/Button";
|
|
2
2
|
import { CircularProgressProps } from "@mui/material/CircularProgress";
|
|
3
|
+
import React from "react";
|
|
3
4
|
/**
|
|
4
5
|
* Loading button props
|
|
5
6
|
*/
|
|
@@ -13,4 +14,4 @@ export type LoadingButtonProps = ButtonProps & {
|
|
|
13
14
|
* Loading button
|
|
14
15
|
* @param props Props
|
|
15
16
|
*/
|
|
16
|
-
export declare function LoadingButton(props: LoadingButtonProps):
|
|
17
|
+
export declare function LoadingButton(props: LoadingButtonProps): React.JSX.Element;
|
package/lib/mjs/MaskInput.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { TextFieldProps } from "@mui/material/TextField";
|
|
2
3
|
type ReactIMask = typeof import("react-imask", { with: { "resolution-mode": "import" } }).useIMask;
|
|
3
4
|
type RIOpts = Parameters<ReactIMask>[0];
|
|
@@ -35,5 +36,5 @@ export type MaskInputProps = TextFieldProps & {
|
|
|
35
36
|
* @param props Props
|
|
36
37
|
* @returns Component
|
|
37
38
|
*/
|
|
38
|
-
export declare function MaskInput(props: MaskInputProps):
|
|
39
|
+
export declare function MaskInput(props: MaskInputProps): React.JSX.Element;
|
|
39
40
|
export {};
|
package/lib/mjs/MenuButton.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export type MenuButtonProps<T extends DataTypes.IdItem> = Omit<MenuProps, "open"
|
|
|
7
7
|
labelField: DataTypes.Keys<T, string> | ((data: T) => string);
|
|
8
8
|
button: ((clickHandler: React.MouseEventHandler<HTMLButtonElement>) => React.ReactNode) | ButtonProps;
|
|
9
9
|
};
|
|
10
|
-
export declare function MenuButton<T extends DataTypes.IdItem>(props: MenuButtonProps<T>):
|
|
10
|
+
export declare function MenuButton<T extends DataTypes.IdItem>(props: MenuButtonProps<T>): React.JSX.Element;
|
package/lib/mjs/MobileInput.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export type MobileInputProps = Omit<InputFieldProps, "type"> & {};
|
|
|
7
7
|
* Mobile input
|
|
8
8
|
* @param props Props
|
|
9
9
|
*/
|
|
10
|
-
export declare function MobileInput(props: MobileInputProps): import("react
|
|
10
|
+
export declare function MobileInput(props: MobileInputProps): import("react").JSX.Element;
|
|
@@ -16,4 +16,4 @@ export declare function MobileListItemRenderer<T>({ data }: ScrollerListExItemRe
|
|
|
16
16
|
React.ReactNode | (ListItemReact | boolean)[],
|
|
17
17
|
React.ReactNode,
|
|
18
18
|
React.ReactNode?
|
|
19
|
-
], cellSX?: SxProps<Theme>):
|
|
19
|
+
], cellSX?: SxProps<Theme>): React.JSX.Element;
|
|
@@ -6,4 +6,4 @@ export type MoneyInputFieldProps = NumberInputFieldProps & {};
|
|
|
6
6
|
/**
|
|
7
7
|
* Money input field (controlled)
|
|
8
8
|
*/
|
|
9
|
-
export declare function MoneyInputField(props: MoneyInputFieldProps): import("react
|
|
9
|
+
export declare function MoneyInputField(props: MoneyInputFieldProps): import("react").JSX.Element;
|
package/lib/mjs/MoreFab.d.ts
CHANGED
|
@@ -43,4 +43,4 @@ export interface MoreFabProps extends CustomFabProps {
|
|
|
43
43
|
* More fab
|
|
44
44
|
* @returns Component
|
|
45
45
|
*/
|
|
46
|
-
export declare function MoreFab(props: MoreFabProps):
|
|
46
|
+
export declare function MoreFab(props: MoreFabProps): React.JSX.Element;
|
package/lib/mjs/NotifierMU.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class NotificationMU extends NotificationReact {
|
|
|
31
31
|
* @param className Style class name
|
|
32
32
|
* @param classes Style classes
|
|
33
33
|
*/
|
|
34
|
-
render(props: NotificationRenderProps, className?: string):
|
|
34
|
+
render(props: NotificationRenderProps, className?: string): React.JSX.Element;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* Antd notifier
|
|
@@ -51,7 +51,7 @@ export declare class NotifierMU extends NotifierReact {
|
|
|
51
51
|
* @param children Children
|
|
52
52
|
* @param options Other options
|
|
53
53
|
*/
|
|
54
|
-
protected createContainer: (align: NotificationAlign, children: React.ReactNode[]) =>
|
|
54
|
+
protected createContainer: (align: NotificationAlign, children: React.ReactNode[]) => React.JSX.Element;
|
|
55
55
|
/**
|
|
56
56
|
* Add raw definition
|
|
57
57
|
* @param data Notification data definition
|
package/lib/mjs/NumberField.d.ts
CHANGED
|
@@ -48,4 +48,4 @@ export type NumberInputFieldProps = Omit<InputFieldProps, "type" | "inputProps">
|
|
|
48
48
|
* @param props Props
|
|
49
49
|
* @returns Component
|
|
50
50
|
*/
|
|
51
|
-
export declare function NumberInputField(props: NumberInputFieldProps):
|
|
51
|
+
export declare function NumberInputField(props: NumberInputFieldProps): React.JSX.Element;
|
package/lib/mjs/OptionBool.d.ts
CHANGED
|
@@ -18,4 +18,4 @@ export type OptionBoolProps = Omit<OptionGroupProps<ListType1, "id", "label">, "
|
|
|
18
18
|
* @param props Props
|
|
19
19
|
* @returns Component
|
|
20
20
|
*/
|
|
21
|
-
export declare function OptionBool(props: OptionBoolProps): import("react
|
|
21
|
+
export declare function OptionBool(props: OptionBoolProps): import("react").JSX.Element;
|
package/lib/mjs/OptionGroup.d.ts
CHANGED
|
@@ -77,4 +77,4 @@ export type OptionGroupProps<T extends object, D extends DataTypes.Keys<T>, L ex
|
|
|
77
77
|
* @param props Props
|
|
78
78
|
* @returns Component
|
|
79
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>):
|
|
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>): React.JSX.Element;
|
|
@@ -73,4 +73,4 @@ export type OptionGroupFlagProps<T extends object, D extends DataTypes.Keys<T, n
|
|
|
73
73
|
* @param props Props
|
|
74
74
|
* @returns Component
|
|
75
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>):
|
|
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>): React.JSX.Element;
|
package/lib/mjs/PList.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
/**
|
|
2
3
|
* Paragraph items list props
|
|
3
4
|
*/
|
|
@@ -11,4 +12,4 @@ export interface PListProps {
|
|
|
11
12
|
* Paragraph items list
|
|
12
13
|
* @param items Items
|
|
13
14
|
*/
|
|
14
|
-
export declare function PList(props: PListProps):
|
|
15
|
+
export declare function PList(props: PListProps): React.JSX.Element;
|
|
@@ -5,4 +5,4 @@ export type PercentCircularProgressProps = CircularProgressProps & {
|
|
|
5
5
|
valueUnit?: string;
|
|
6
6
|
textProps?: TypographyProps<"div">;
|
|
7
7
|
};
|
|
8
|
-
export declare function PercentCircularProgress(props: PercentCircularProgressProps): import("react
|
|
8
|
+
export declare function PercentCircularProgress(props: PercentCircularProgressProps): import("react").JSX.Element;
|
|
@@ -5,4 +5,4 @@ export type PercentLinearProgressProps = LinearProgressProps & {
|
|
|
5
5
|
valueUnit?: string;
|
|
6
6
|
textProps?: TypographyProps;
|
|
7
7
|
};
|
|
8
|
-
export declare function PercentLinearProgress(props: PercentLinearProgressProps): import("react
|
|
8
|
+
export declare function PercentLinearProgress(props: PercentLinearProgressProps): import("react").JSX.Element;
|
package/lib/mjs/PhoneInput.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export type PhoneInputProps = Omit<InputFieldProps, "type"> & {};
|
|
|
7
7
|
* Phone input
|
|
8
8
|
* @param props Props
|
|
9
9
|
*/
|
|
10
|
-
export declare function PhoneInput(props: PhoneInputProps): import("react
|
|
10
|
+
export declare function PhoneInput(props: PhoneInputProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
/**
|
|
2
3
|
* Process count props
|
|
3
4
|
*/
|
|
@@ -40,4 +41,4 @@ export interface ProgressCountProps {
|
|
|
40
41
|
* @param props Props
|
|
41
42
|
* @returns Component
|
|
42
43
|
*/
|
|
43
|
-
export declare function ProgressCount(props: ProgressCountProps):
|
|
44
|
+
export declare function ProgressCount(props: ProgressCountProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { Options } from "pulltorefreshjs";
|
|
2
3
|
/**
|
|
3
4
|
* PullToRefresh UI
|
|
@@ -5,4 +6,4 @@ import type { Options } from "pulltorefreshjs";
|
|
|
5
6
|
* @param props Props
|
|
6
7
|
* @returns Component
|
|
7
8
|
*/
|
|
8
|
-
export declare function PullToRefreshUI(props: Options):
|
|
9
|
+
export declare function PullToRefreshUI(props: Options): React.JSX.Element;
|
package/lib/mjs/QuickList.d.ts
CHANGED
|
@@ -55,4 +55,4 @@ export type QuickListProps<T extends ListType2 = ListType2> = StackProps & {
|
|
|
55
55
|
* @param props Props
|
|
56
56
|
* @returns Component
|
|
57
57
|
*/
|
|
58
|
-
export declare function QuickList<T extends ListType2 = ListType2>(props: QuickListProps<T>):
|
|
58
|
+
export declare function QuickList<T extends ListType2 = ListType2>(props: QuickListProps<T>): React.JSX.Element;
|
|
@@ -95,4 +95,4 @@ export type ResponsibleContainerProps<T extends object, F> = Omit<DataGridExProp
|
|
|
95
95
|
* @param props Props
|
|
96
96
|
* @returns Layout
|
|
97
97
|
*/
|
|
98
|
-
export declare function ResponsibleContainer<T extends object, F>(props: ResponsibleContainerProps<T, F>):
|
|
98
|
+
export declare function ResponsibleContainer<T extends object, F>(props: ResponsibleContainerProps<T, F>): React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { CustomFabProps } from "./CustomFabProps";
|
|
2
3
|
/**
|
|
3
4
|
* Scroll to top fab
|
|
4
5
|
* @returns Component
|
|
5
6
|
*/
|
|
6
|
-
export declare function ScrollTopFab(props: CustomFabProps):
|
|
7
|
+
export declare function ScrollTopFab(props: CustomFabProps): React.JSX.Element;
|
|
@@ -68,4 +68,4 @@ export type ScrollerListExProps<T extends object> = Omit<ScrollerListProps<T>, "
|
|
|
68
68
|
* @param props Props
|
|
69
69
|
* @returns Component
|
|
70
70
|
*/
|
|
71
|
-
export declare function ScrollerListEx<T extends object>(props: ScrollerListExProps<T>):
|
|
71
|
+
export declare function ScrollerListEx<T extends object>(props: ScrollerListExProps<T>): React.JSX.Element;
|
package/lib/mjs/SearchBar.d.ts
CHANGED
|
@@ -42,4 +42,4 @@ export interface SearchBarProps {
|
|
|
42
42
|
* @param props Props
|
|
43
43
|
* @returns Component
|
|
44
44
|
*/
|
|
45
|
-
export declare function SearchBar(props: SearchBarProps):
|
|
45
|
+
export declare function SearchBar(props: SearchBarProps): React.JSX.Element;
|
package/lib/mjs/SearchField.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { TextFieldProps } from "@mui/material/TextField";
|
|
2
3
|
/**
|
|
3
4
|
* Search field props
|
|
@@ -21,4 +22,4 @@ export type SearchFieldProps = TextFieldProps & {
|
|
|
21
22
|
* @param props Props
|
|
22
23
|
* @returns Component
|
|
23
24
|
*/
|
|
24
|
-
export declare function SearchField(props: SearchFieldProps):
|
|
25
|
+
export declare function SearchField(props: SearchFieldProps): React.JSX.Element;
|
|
@@ -5,4 +5,4 @@ import { OptionGroupProps } from "./OptionGroup";
|
|
|
5
5
|
* @param props Props
|
|
6
6
|
* @returns Component
|
|
7
7
|
*/
|
|
8
|
-
export declare function SearchOptionGroup<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
|
|
8
|
+
export declare function SearchOptionGroup<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.Element;
|
package/lib/mjs/SelectBool.d.ts
CHANGED
|
@@ -14,4 +14,4 @@ export type SelectBoolProps = Omit<SelectExProps<ListType1>, "options" | "loadDa
|
|
|
14
14
|
* @param props Props
|
|
15
15
|
* @returns Component
|
|
16
16
|
*/
|
|
17
|
-
export declare function SelectBool(props: SelectBoolProps): import("react
|
|
17
|
+
export declare function SelectBool(props: SelectBoolProps): import("react").JSX.Element;
|
package/lib/mjs/SelectEx.d.ts
CHANGED
|
@@ -82,4 +82,4 @@ export type SelectExProps<T extends object, D extends DataTypes.Keys<T> = IdDefa
|
|
|
82
82
|
* @param props Props
|
|
83
83
|
* @returns Component
|
|
84
84
|
*/
|
|
85
|
-
export declare function SelectEx<T extends object = ListType, D extends DataTypes.Keys<T> = IdDefaultType<T>, L extends DataTypes.Keys<T, string> = LabelDefaultType<T>>(props: SelectExProps<T, D, L>):
|
|
85
|
+
export declare function SelectEx<T extends object = ListType, D extends DataTypes.Keys<T> = IdDefaultType<T>, L extends DataTypes.Keys<T, string> = LabelDefaultType<T>>(props: SelectExProps<T, D, L>): React.JSX.Element;
|
package/lib/mjs/SelectEx.js
CHANGED
|
@@ -43,7 +43,7 @@ export function SelectEx(props) {
|
|
|
43
43
|
};
|
|
44
44
|
// Local value
|
|
45
45
|
const v = defaultValue ?? value;
|
|
46
|
-
const valueSource = React.useMemo(() => (multiple ? (v ? (Array.isArray(v) ? v : [v]) : []) : v ?? ""), [multiple, v]);
|
|
46
|
+
const valueSource = React.useMemo(() => (multiple ? (v ? (Array.isArray(v) ? v : [v]) : []) : (v ?? "")), [multiple, v]);
|
|
47
47
|
const setOptionsAdd = React.useCallback((options) => {
|
|
48
48
|
const localOptions = [...options];
|
|
49
49
|
if (autoAddBlankItem) {
|
|
@@ -186,7 +186,7 @@ export function SelectEx(props) {
|
|
|
186
186
|
}
|
|
187
187
|
}, style: itemStyle == null ? undefined : itemStyle(option), children: [multiple && (_jsx(Checkbox, { checked: Array.isArray(valueState)
|
|
188
188
|
? valueState.includes(id)
|
|
189
|
-
: valueState === id })), _jsx(ListItemText, { primary: label }), itemIconRenderer && (_jsx(ListItemRightIcon, { children: itemIconRenderer(option[idField]) }))] }, id));
|
|
189
|
+
: valueState === id })), _jsx(ListItemText, { primary: label, slotProps: { primary: { noWrap: true } } }), itemIconRenderer && (_jsx(ListItemRightIcon, { children: itemIconRenderer(option[idField]) }))] }, id));
|
|
190
190
|
}) }), helperText != null && _jsx(FormHelperText, { children: helperText })] }), refresh != null &&
|
|
191
191
|
loadData != null &&
|
|
192
192
|
(typeof refresh === "string" ? (_jsx(IconButton, { size: "small", title: refresh, onClick: refreshData, children: _jsx(RefreshIcon, {}) })) : (refresh))] }));
|
package/lib/mjs/Switch.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { FormControlLabelProps } from "@mui/material/FormControlLabel";
|
|
2
3
|
/**
|
|
3
4
|
* Switch props
|
|
@@ -25,4 +26,4 @@ export interface SwitchProps extends Omit<FormControlLabelProps, "control"> {
|
|
|
25
26
|
* @param props Props
|
|
26
27
|
* @returns Component
|
|
27
28
|
*/
|
|
28
|
-
export declare function Switch(props: SwitchProps):
|
|
29
|
+
export declare function Switch(props: SwitchProps): React.JSX.Element;
|
package/lib/mjs/SwitchAnt.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { SwitchProps } from "@mui/material/Switch";
|
|
2
3
|
/**
|
|
3
4
|
* Ant style switch props
|
|
@@ -21,4 +22,4 @@ export interface SwitchAntProps extends SwitchProps {
|
|
|
21
22
|
* @param props Props
|
|
22
23
|
* @returns Component
|
|
23
24
|
*/
|
|
24
|
-
export declare function SwitchAnt(props: SwitchAntProps):
|
|
25
|
+
export declare function SwitchAnt(props: SwitchAntProps): React.JSX.Element;
|