@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
package/lib/mjs/SwitchField.d.ts
CHANGED
|
@@ -42,4 +42,4 @@ export type SwitchFieldProps = Omit<FormControlProps, "defaultValue"> & {
|
|
|
42
42
|
* @param props Props
|
|
43
43
|
* @returns Component
|
|
44
44
|
*/
|
|
45
|
-
export declare function SwitchField(props: SwitchFieldProps):
|
|
45
|
+
export declare function SwitchField(props: SwitchFieldProps): React.JSX.Element;
|
package/lib/mjs/TabBox.d.ts
CHANGED
|
@@ -56,5 +56,5 @@ export interface TabBoxProps extends Omit<TabsProps, "value"> {
|
|
|
56
56
|
* @param props Props
|
|
57
57
|
* @returns Component
|
|
58
58
|
*/
|
|
59
|
-
export declare function TabBox(props: TabBoxProps):
|
|
59
|
+
export declare function TabBox(props: TabBoxProps): React.JSX.Element;
|
|
60
60
|
export {};
|
package/lib/mjs/TableEx.d.ts
CHANGED
|
@@ -68,4 +68,4 @@ export type TableExProps<T extends object, D extends DataTypes.Keys<T>> = TableP
|
|
|
68
68
|
* @param props Props
|
|
69
69
|
* @returns Component
|
|
70
70
|
*/
|
|
71
|
-
export declare function TableEx<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>>(props: TableExProps<T, D>):
|
|
71
|
+
export declare function TableEx<T extends object, D extends DataTypes.Keys<T> = IdDefaultType<T>>(props: TableExProps<T, D>): React.JSX.Element;
|
package/lib/mjs/TagList.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { InputFieldProps } from "./InputField";
|
|
2
3
|
import { AutocompleteProps } from "@mui/material/Autocomplete";
|
|
3
4
|
export type TagListProps = Omit<AutocompleteProps<string, true, false, true>, "open" | "multiple" | "freeSolo" | "options" | "renderInput"> & {
|
|
@@ -18,4 +19,4 @@ export type TagListProps = Omit<AutocompleteProps<string, true, false, true>, "o
|
|
|
18
19
|
*/
|
|
19
20
|
maxItems?: number;
|
|
20
21
|
};
|
|
21
|
-
export declare function TagList(props: TagListProps):
|
|
22
|
+
export declare function TagList(props: TagListProps): React.JSX.Element;
|
package/lib/mjs/TagListPro.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { InputFieldProps } from "./InputField";
|
|
2
3
|
import { ListType2 } from "@etsoo/shared";
|
|
3
4
|
import { AutocompleteProps } from "@mui/material/Autocomplete";
|
|
@@ -23,4 +24,4 @@ export type TagListProProps<D extends ListType2 = ListType2> = Omit<Autocomplete
|
|
|
23
24
|
*/
|
|
24
25
|
maxItems?: number;
|
|
25
26
|
};
|
|
26
|
-
export declare function TagListPro<D extends ListType2 = ListType2>(props: TagListProProps<D>):
|
|
27
|
+
export declare function TagListPro<D extends ListType2 = ListType2>(props: TagListProProps<D>): React.JSX.Element;
|
package/lib/mjs/TextFieldEx.d.ts
CHANGED
|
@@ -53,4 +53,4 @@ export interface TextFieldExMethods {
|
|
|
53
53
|
*/
|
|
54
54
|
setError(error: React.ReactNode): void;
|
|
55
55
|
}
|
|
56
|
-
export declare function TextFieldEx(props: TextFieldExProps):
|
|
56
|
+
export declare function TextFieldEx(props: TextFieldExProps): React.JSX.Element;
|
package/lib/mjs/Tiplist.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DataTypes, IdDefaultType, ListType2 } from "@etsoo/shared";
|
|
2
|
+
import React from "react";
|
|
2
3
|
import type { AutocompleteExtendedProps } from "./AutocompleteExtendedProps";
|
|
3
4
|
/**
|
|
4
5
|
* Tiplist props
|
|
@@ -26,4 +27,4 @@ export type TiplistProps<T extends object, D extends DataTypes.Keys<T>> = Omit<A
|
|
|
26
27
|
* @param props Props
|
|
27
28
|
* @returns Component
|
|
28
29
|
*/
|
|
29
|
-
export declare function Tiplist<T extends object = ListType2, D extends DataTypes.Keys<T> = IdDefaultType<T>>(props: TiplistProps<T, D>):
|
|
30
|
+
export declare function Tiplist<T extends object = ListType2, D extends DataTypes.Keys<T> = IdDefaultType<T>>(props: TiplistProps<T, D>): React.JSX.Element;
|
package/lib/mjs/TiplistPro.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ListType2 } from "@etsoo/shared";
|
|
2
|
-
import { ChangeEventHandler } from "react";
|
|
2
|
+
import React, { ChangeEventHandler } from "react";
|
|
3
3
|
import { InputFieldProps } from "./InputField";
|
|
4
4
|
import { AutocompleteProps } from "@mui/material/Autocomplete";
|
|
5
5
|
/**
|
|
@@ -62,4 +62,4 @@ export type TiplistProProps<T extends ListType2 = ListType2> = Omit<Autocomplete
|
|
|
62
62
|
* @param props Props
|
|
63
63
|
* @returns Component
|
|
64
64
|
*/
|
|
65
|
-
export declare function TiplistPro<T extends ListType2 = ListType2>(props: TiplistProProps<T>):
|
|
65
|
+
export declare function TiplistPro<T extends ListType2 = ListType2>(props: TiplistProProps<T>): React.JSX.Element;
|
|
@@ -12,4 +12,4 @@ export interface TooltipClickProps extends Omit<TooltipProps, "children" | "open
|
|
|
12
12
|
* @param props Props
|
|
13
13
|
* @returns Component
|
|
14
14
|
*/
|
|
15
|
-
export declare function TooltipClick(props: TooltipClickProps):
|
|
15
|
+
export declare function TooltipClick(props: TooltipClickProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { InputFieldProps } from "./InputField";
|
|
2
3
|
type ValueType = string | number | Date | null | undefined;
|
|
3
4
|
/**
|
|
@@ -18,5 +19,5 @@ export type TwoFieldInputProps = Omit<InputFieldProps, "value"> & {
|
|
|
18
19
|
* @param props Props
|
|
19
20
|
* @returns Component
|
|
20
21
|
*/
|
|
21
|
-
export declare function TwoFieldInput(props: TwoFieldInputProps):
|
|
22
|
+
export declare function TwoFieldInput(props: TwoFieldInputProps): React.JSX.Element;
|
|
22
23
|
export {};
|
package/lib/mjs/UserAvatar.d.ts
CHANGED
|
@@ -20,4 +20,4 @@ export interface UserAvatarProps {
|
|
|
20
20
|
* @param props Props
|
|
21
21
|
* @returns Component
|
|
22
22
|
*/
|
|
23
|
-
export declare function UserAvatar(props: UserAvatarProps): import("react
|
|
23
|
+
export declare function UserAvatar(props: UserAvatarProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
/**
|
|
2
3
|
* User avatar editor to Blob helper
|
|
3
4
|
*/
|
|
@@ -57,4 +58,4 @@ export interface UserAvatarEditorProps {
|
|
|
57
58
|
* @param props Props
|
|
58
59
|
* @returns Component
|
|
59
60
|
*/
|
|
60
|
-
export declare function UserAvatarEditor(props: UserAvatarEditorProps):
|
|
61
|
+
export declare function UserAvatarEditor(props: UserAvatarEditorProps): React.JSX.Element;
|
|
@@ -38,7 +38,7 @@ export type ViewPageGridItemProps = GridProps & {
|
|
|
38
38
|
* @param props Props
|
|
39
39
|
* @returns Result
|
|
40
40
|
*/
|
|
41
|
-
export declare function ViewPageGridItem(props: ViewPageGridItemProps):
|
|
41
|
+
export declare function ViewPageGridItem(props: ViewPageGridItemProps): React.JSX.Element;
|
|
42
42
|
/**
|
|
43
43
|
* View page display field
|
|
44
44
|
*/
|
|
@@ -109,5 +109,5 @@ export type ViewContainerProps<T extends DataTypes.StringRecord> = {
|
|
|
109
109
|
*/
|
|
110
110
|
spacing?: Record<string, string | number>;
|
|
111
111
|
};
|
|
112
|
-
export declare function ViewContainer<T extends DataTypes.StringRecord>(props: ViewContainerProps<T>):
|
|
112
|
+
export declare function ViewContainer<T extends DataTypes.StringRecord>(props: ViewContainerProps<T>): React.JSX.Element;
|
|
113
113
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TextFieldProps } from "@mui/material/TextField";
|
|
2
|
+
import React from "react";
|
|
2
3
|
/**
|
|
3
4
|
* Custom attribute area properties
|
|
4
5
|
*/
|
|
@@ -8,4 +9,4 @@ export type CustomAttributeAreaProps = TextFieldProps & {};
|
|
|
8
9
|
* @param props Properties
|
|
9
10
|
* @returns Component
|
|
10
11
|
*/
|
|
11
|
-
export declare function CustomAttributeArea(props: CustomAttributeAreaProps):
|
|
12
|
+
export declare function CustomAttributeArea(props: CustomAttributeAreaProps): React.JSX.Element;
|
|
@@ -29,4 +29,4 @@ export type CustomFieldUIProps<D extends CustomFieldData = CustomFieldData> = {
|
|
|
29
29
|
* @param props Props
|
|
30
30
|
* @returns component
|
|
31
31
|
*/
|
|
32
|
-
export declare function CustomFieldUI<D extends CustomFieldData = CustomFieldData>(props: CustomFieldUIProps<D>):
|
|
32
|
+
export declare function CustomFieldUI<D extends CustomFieldData = CustomFieldData>(props: CustomFieldUIProps<D>): React.JSX.Element[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CustomFieldData, CustomFieldSpace } from "@etsoo/appscript";
|
|
2
2
|
import { CustomFieldReactCollection, ICustomFieldReact } from "@etsoo/react";
|
|
3
3
|
import { IdType, ListType2 } from "@etsoo/shared";
|
|
4
|
+
import React from "react";
|
|
4
5
|
import { GridSize } from "@mui/material/Grid";
|
|
5
6
|
import { TypographyProps } from "@mui/material/Typography";
|
|
6
7
|
/**
|
|
@@ -21,14 +22,14 @@ export declare namespace CustomFieldUtils {
|
|
|
21
22
|
* @param fieldCalback Field callback
|
|
22
23
|
* @returns
|
|
23
24
|
*/
|
|
24
|
-
function create<D extends CustomFieldData = CustomFieldData>(fields: D[], collections: CustomFieldReactCollection<D>, getValue: (field: D) => unknown, onChange: (name: string, value: unknown) => void, globalCallback?: (input: string) => string, fieldCalback?: (field: D) => void):
|
|
25
|
+
function create<D extends CustomFieldData = CustomFieldData>(fields: D[], collections: CustomFieldReactCollection<D>, getValue: (field: D) => unknown, onChange: (name: string, value: unknown) => void, globalCallback?: (input: string) => string, fieldCalback?: (field: D) => void): React.JSX.Element[];
|
|
25
26
|
/**
|
|
26
27
|
* Create multiline label
|
|
27
28
|
* @param label Original label
|
|
28
29
|
* @param props Properties
|
|
29
30
|
* @returns Result
|
|
30
31
|
*/
|
|
31
|
-
function createMultilineLabel(label?: string, props?: TypographyProps):
|
|
32
|
+
function createMultilineLabel(label?: string, props?: TypographyProps): React.JSX.Element[] | undefined;
|
|
32
33
|
/**
|
|
33
34
|
* Transform custom field space
|
|
34
35
|
* @param space Space
|
|
@@ -15,4 +15,4 @@ export type CustomFieldViewUIProps<T extends DataTypes.StringRecord> = Omit<View
|
|
|
15
15
|
* @param props Props
|
|
16
16
|
* @returns Component
|
|
17
17
|
*/
|
|
18
|
-
export declare function CustomFieldViewUI<T extends DataTypes.StringRecord>(props: CustomFieldViewUIProps<T>): import("react
|
|
18
|
+
export declare function CustomFieldViewUI<T extends DataTypes.StringRecord>(props: CustomFieldViewUIProps<T>): import("react").JSX.Element;
|
|
@@ -48,4 +48,4 @@ export type CustomFieldViewerProps = {
|
|
|
48
48
|
* @param props Props
|
|
49
49
|
* @returns Component
|
|
50
50
|
*/
|
|
51
|
-
export declare function CustomFieldViewer(props: CustomFieldViewerProps): import("react
|
|
51
|
+
export declare function CustomFieldViewer(props: CustomFieldViewerProps): import("react").JSX.Element;
|
|
@@ -52,4 +52,4 @@ export type CustomFieldWindowProps<D extends CustomFieldData> = {
|
|
|
52
52
|
* @param props Props
|
|
53
53
|
* @returns Component
|
|
54
54
|
*/
|
|
55
|
-
export declare function CustomFieldWindow<D extends CustomFieldData = CustomFieldData>(props: CustomFieldWindowProps<D>):
|
|
55
|
+
export declare function CustomFieldWindow<D extends CustomFieldData = CustomFieldData>(props: CustomFieldWindowProps<D>): React.JSX.Element;
|
|
@@ -39,5 +39,5 @@ export type HtmlDivProps = HTMLAttributes<HTMLElement> & {
|
|
|
39
39
|
* @param props Properties
|
|
40
40
|
* @returns Component
|
|
41
41
|
*/
|
|
42
|
-
export declare function HtmlDiv(props: HtmlDivProps): import("react
|
|
42
|
+
export declare function HtmlDiv(props: HtmlDivProps): import("react").JSX.Element;
|
|
43
43
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { OperationMessageHandlerAll } from "./OperationMessageHandler";
|
|
2
3
|
/**
|
|
3
4
|
* Operation message container properties
|
|
@@ -21,4 +22,4 @@ export type OperationMessageContainerProps = {
|
|
|
21
22
|
* @param props Props
|
|
22
23
|
* @returns Component
|
|
23
24
|
*/
|
|
24
|
-
export declare function OperationMessageContainer(props: OperationMessageContainerProps):
|
|
25
|
+
export declare function OperationMessageContainer(props: OperationMessageContainerProps): React.JSX.Element;
|
|
@@ -74,4 +74,4 @@ export interface CommonPageProps extends Omit<ContainerProps, "id"> {
|
|
|
74
74
|
* Common page
|
|
75
75
|
* @param props Props
|
|
76
76
|
*/
|
|
77
|
-
export declare function CommonPage(props: CommonPageProps):
|
|
77
|
+
export declare function CommonPage(props: CommonPageProps): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { DataGridPageProps } from "./DataGridPageProps";
|
|
2
3
|
/**
|
|
3
4
|
* DataGrid page
|
|
4
5
|
* @param props Props
|
|
5
6
|
* @returns Component
|
|
6
7
|
*/
|
|
7
|
-
export declare function DataGridPage<T extends object, F>(props: DataGridPageProps<T, F>):
|
|
8
|
+
export declare function DataGridPage<T extends object, F>(props: DataGridPageProps<T, F>): React.JSX.Element;
|
|
@@ -47,4 +47,4 @@ export interface EditPageProps extends Omit<CommonPageProps, "onSubmit"> {
|
|
|
47
47
|
* Add / Edit page
|
|
48
48
|
* @param props Props
|
|
49
49
|
*/
|
|
50
|
-
export declare function EditPage(props: EditPageProps):
|
|
50
|
+
export declare function EditPage(props: EditPageProps): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import type { ListPageProps } from "./ListPage";
|
|
2
3
|
/**
|
|
3
4
|
* Fixed height list page
|
|
@@ -11,4 +12,4 @@ export declare function FixedListPage<T extends object, F>(props: ListPageProps<
|
|
|
11
12
|
* @param rect Current rect data
|
|
12
13
|
*/
|
|
13
14
|
adjustHeight?: number | ((height: number, rect: DOMRect) => number);
|
|
14
|
-
}):
|
|
15
|
+
}): React.JSX.Element;
|
|
@@ -32,4 +32,4 @@ export type LeftDrawerProps = React.PropsWithRef<{
|
|
|
32
32
|
*/
|
|
33
33
|
onMinimize?: () => void;
|
|
34
34
|
}>;
|
|
35
|
-
export declare function LeftDrawer(props: React.PropsWithChildren<LeftDrawerProps>):
|
|
35
|
+
export declare function LeftDrawer(props: React.PropsWithChildren<LeftDrawerProps>): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { ScrollerListExProps } from "../ScrollerListEx";
|
|
2
3
|
import type { SearchPageProps } from "./SearchPageProps";
|
|
3
4
|
/**
|
|
@@ -9,4 +10,4 @@ export type ListPageProps<T extends object, F> = SearchPageProps<T, F> & Omit<Sc
|
|
|
9
10
|
* @param props Props
|
|
10
11
|
* @returns Component
|
|
11
12
|
*/
|
|
12
|
-
export declare function ListPage<T extends object, F>(props: ListPageProps<T, F>):
|
|
13
|
+
export declare function ListPage<T extends object, F>(props: ListPageProps<T, F>): React.JSX.Element;
|
|
@@ -57,4 +57,4 @@ export type ResponsePageProps<T extends object, F> = Omit<DataGridPageProps<T, F
|
|
|
57
57
|
* @param props Props
|
|
58
58
|
* @returns Component
|
|
59
59
|
*/
|
|
60
|
-
export declare function ResponsivePage<T extends object, F>(props: ResponsePageProps<T, F>):
|
|
60
|
+
export declare function ResponsivePage<T extends object, F>(props: ResponsePageProps<T, F>): React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DataTypes, IdDefaultType } from "@etsoo/shared";
|
|
2
|
+
import React from "react";
|
|
2
3
|
import { TableExProps } from "../TableEx";
|
|
3
4
|
import type { SearchPageProps } from "./SearchPageProps";
|
|
4
5
|
/**
|
|
@@ -10,4 +11,4 @@ export type TablePageProps<T extends object, F, D extends DataTypes.Keys<T>> = S
|
|
|
10
11
|
* @param props Props
|
|
11
12
|
* @returns Component
|
|
12
13
|
*/
|
|
13
|
-
export declare function TablePage<T extends object, F, D extends DataTypes.Keys<T> = IdDefaultType<T>>(props: TablePageProps<T, F, D>):
|
|
14
|
+
export declare function TablePage<T extends object, F, D extends DataTypes.Keys<T> = IdDefaultType<T>>(props: TablePageProps<T, F, D>): React.JSX.Element;
|
|
@@ -37,4 +37,4 @@ export declare const eventWatcher: EventWatcher;
|
|
|
37
37
|
* @param props Props
|
|
38
38
|
* @returns Component
|
|
39
39
|
*/
|
|
40
|
-
export declare function UserMenu(props: UserMenuProps):
|
|
40
|
+
export declare function UserMenu(props: UserMenuProps): React.JSX.Element;
|
|
@@ -11,7 +11,7 @@ import { StackProps } from "@mui/material/Stack";
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function ViewPageActionBar(props: StackProps & {
|
|
13
13
|
actionPaddings?: number | Record<string, string | number>;
|
|
14
|
-
}):
|
|
14
|
+
}): React.JSX.Element;
|
|
15
15
|
/**
|
|
16
16
|
* View page props
|
|
17
17
|
*/
|
|
@@ -58,4 +58,4 @@ export interface ViewPageProps<T extends DataTypes.StringRecord> extends Omit<Co
|
|
|
58
58
|
* View page
|
|
59
59
|
* @param props Props
|
|
60
60
|
*/
|
|
61
|
-
export declare function ViewPage<T extends DataTypes.StringRecord>(props: ViewPageProps<T>):
|
|
61
|
+
export declare function ViewPage<T extends DataTypes.StringRecord>(props: ViewPageProps<T>): React.JSX.Element;
|
|
@@ -30,4 +30,4 @@ export interface DateTextProps extends TypographyProps {
|
|
|
30
30
|
* @param props Props
|
|
31
31
|
* @returns Component
|
|
32
32
|
*/
|
|
33
|
-
export declare function DateText(props: DateTextProps): import("react
|
|
33
|
+
export declare function DateText(props: DateTextProps): import("react").JSX.Element;
|
|
@@ -17,4 +17,4 @@ export interface MoneyTextProps extends NumberTextProps {
|
|
|
17
17
|
* @param props Props
|
|
18
18
|
* @returns Component
|
|
19
19
|
*/
|
|
20
|
-
export declare function MoneyText(props: MoneyTextProps): import("react
|
|
20
|
+
export declare function MoneyText(props: MoneyTextProps): import("react").JSX.Element;
|
|
@@ -21,4 +21,4 @@ export interface NumberTextProps extends TypographyProps {
|
|
|
21
21
|
* @param props Props
|
|
22
22
|
* @returns Component
|
|
23
23
|
*/
|
|
24
|
-
export declare function NumberText(props: NumberTextProps): import("react
|
|
24
|
+
export declare function NumberText(props: NumberTextProps): import("react").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.69",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -40,24 +40,24 @@
|
|
|
40
40
|
"@dnd-kit/react": "^0.4.0",
|
|
41
41
|
"@emotion/react": "^11.14.0",
|
|
42
42
|
"@emotion/styled": "^11.14.1",
|
|
43
|
-
"@etsoo/appscript": "^1.6.
|
|
43
|
+
"@etsoo/appscript": "^1.6.66",
|
|
44
44
|
"@etsoo/notificationbase": "^1.1.71",
|
|
45
|
-
"@etsoo/react": "^1.8.
|
|
45
|
+
"@etsoo/react": "^1.8.91",
|
|
46
46
|
"@etsoo/shared": "^1.2.84",
|
|
47
47
|
"@mui/icons-material": "^9.0.1",
|
|
48
48
|
"@mui/material": "^9.0.1",
|
|
49
|
-
"@mui/x-data-grid": "^9.
|
|
49
|
+
"@mui/x-data-grid": "^9.4.0",
|
|
50
50
|
"chart.js": "^4.5.1",
|
|
51
51
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
52
|
-
"dompurify": "^3.4.
|
|
52
|
+
"dompurify": "^3.4.8",
|
|
53
53
|
"eventemitter3": "^5.0.4",
|
|
54
54
|
"pica": "^10.0.1",
|
|
55
55
|
"pulltorefreshjs": "^0.1.22",
|
|
56
|
-
"react": "^19.2.
|
|
56
|
+
"react": "^19.2.7",
|
|
57
57
|
"react-avatar-editor": "^15.1.0",
|
|
58
58
|
"react-chartjs-2": "^5.3.1",
|
|
59
|
-
"react-dom": "^19.2.
|
|
60
|
-
"react-draggable": "^4.
|
|
59
|
+
"react-dom": "^19.2.7",
|
|
60
|
+
"react-draggable": "^4.6.0",
|
|
61
61
|
"react-imask": "7.6.1"
|
|
62
62
|
},
|
|
63
63
|
"overrides": {
|
|
@@ -65,23 +65,23 @@
|
|
|
65
65
|
"react-dom": "$react-dom"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@babel/core": "^7.29.
|
|
69
|
-
"@babel/plugin-transform-runtime": "^7.29.
|
|
70
|
-
"@babel/preset-env": "^7.29.
|
|
71
|
-
"@babel/preset-react": "^7.
|
|
72
|
-
"@babel/preset-typescript": "^7.
|
|
73
|
-
"@babel/runtime-corejs3": "^7.29.
|
|
68
|
+
"@babel/core": "^7.29.7",
|
|
69
|
+
"@babel/plugin-transform-runtime": "^7.29.7",
|
|
70
|
+
"@babel/preset-env": "^7.29.7",
|
|
71
|
+
"@babel/preset-react": "^7.29.7",
|
|
72
|
+
"@babel/preset-typescript": "^7.29.7",
|
|
73
|
+
"@babel/runtime-corejs3": "^7.29.7",
|
|
74
74
|
"@testing-library/jest-dom": "^6.9.1",
|
|
75
75
|
"@testing-library/react": "^16.3.2",
|
|
76
76
|
"@types/pica": "^9.0.5",
|
|
77
77
|
"@types/pulltorefreshjs": "^0.1.7",
|
|
78
|
-
"@types/react": "^19.2.
|
|
78
|
+
"@types/react": "^19.2.17",
|
|
79
79
|
"@types/react-avatar-editor": "^13.0.4",
|
|
80
80
|
"@types/react-dom": "^19.2.3",
|
|
81
81
|
"@types/react-input-mask": "^3.0.6",
|
|
82
82
|
"@vitejs/plugin-react": "^6.0.2",
|
|
83
83
|
"jsdom": "^29.1.1",
|
|
84
84
|
"typescript": "^6.0.3",
|
|
85
|
-
"vitest": "^4.1.
|
|
85
|
+
"vitest": "^4.1.8"
|
|
86
86
|
}
|
|
87
87
|
}
|
package/src/SelectEx.tsx
CHANGED
|
@@ -184,7 +184,7 @@ export function SelectEx<
|
|
|
184
184
|
// Local value
|
|
185
185
|
const v = defaultValue ?? value;
|
|
186
186
|
const valueSource = React.useMemo(
|
|
187
|
-
() => (multiple ? (v ? (Array.isArray(v) ? v : [v]) : []) : v ?? ""),
|
|
187
|
+
() => (multiple ? (v ? (Array.isArray(v) ? v : [v]) : []) : (v ?? "")),
|
|
188
188
|
[multiple, v]
|
|
189
189
|
);
|
|
190
190
|
|
|
@@ -326,8 +326,8 @@ export function SelectEx<
|
|
|
326
326
|
multiple
|
|
327
327
|
? valueState
|
|
328
328
|
: localOptions.some((o) => o[idField] === valueState)
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
? valueState
|
|
330
|
+
: ""
|
|
331
331
|
}
|
|
332
332
|
input={
|
|
333
333
|
<OutlinedInput
|
|
@@ -409,7 +409,10 @@ export function SelectEx<
|
|
|
409
409
|
}
|
|
410
410
|
/>
|
|
411
411
|
)}
|
|
412
|
-
<ListItemText
|
|
412
|
+
<ListItemText
|
|
413
|
+
primary={label}
|
|
414
|
+
slotProps={{ primary: { noWrap: true } }}
|
|
415
|
+
/>
|
|
413
416
|
{itemIconRenderer && (
|
|
414
417
|
<ListItemRightIcon>
|
|
415
418
|
{itemIconRenderer(option[idField])}
|