@dev-blinq/ui-systems 1.0.80 → 1.0.81
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.
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface Option {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
notHavePermission?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface SelectProps {
|
|
8
|
+
value: string;
|
|
9
|
+
onChange: (value: any) => void;
|
|
10
|
+
options: Option[];
|
|
11
|
+
label?: string;
|
|
12
|
+
noInlineAction?: boolean;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
showEditIcon?: boolean;
|
|
15
|
+
showDeleteIcon?: boolean;
|
|
16
|
+
showAddOption?: boolean;
|
|
17
|
+
addOptionLabel?: string;
|
|
18
|
+
fullWidth?: boolean;
|
|
19
|
+
disabledAddOption?: boolean;
|
|
20
|
+
onEdit?: (oldValue: string, newLabel: string) => void;
|
|
21
|
+
onSave?: (value: string) => void;
|
|
22
|
+
onDelete?: (value: string) => void;
|
|
23
|
+
}
|
|
24
|
+
export declare function MUISelect({ value, onChange, options, onEdit, label, placeholder, showEditIcon, showAddOption, showDeleteIcon, addOptionLabel, fullWidth, onSave, noInlineAction, onDelete, disabledAddOption, }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const StyledSelect: import('@emotion/styled').StyledComponent<import('@mui/material').SelectProps<unknown> & {
|
|
2
|
+
theme?: import('@emotion/react').Theme;
|
|
3
|
+
}, {}, {}>;
|
|
4
|
+
export declare const StyledMenuItemPlaceHolder: import('@emotion/styled').StyledComponent<import('@mui/material').MenuItemOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
6
|
+
}, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "selected" | "dense" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider"> & {
|
|
7
|
+
theme?: import('@emotion/react').Theme;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
export declare const StyledMenuItem: import('@emotion/styled').StyledComponent<import('@mui/material').MenuItemOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
10
|
+
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
11
|
+
}, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "selected" | "dense" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider"> & {
|
|
12
|
+
theme?: import('@emotion/react').Theme;
|
|
13
|
+
} & {
|
|
14
|
+
isEditMode?: boolean;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export declare const StyledInputBox: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
18
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
19
|
+
theme?: import('@emotion/react').Theme;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
export declare const StyledAddMenuItem: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
23
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
24
|
+
theme?: import('@emotion/react').Theme;
|
|
25
|
+
} & {
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
}, {}, {}>;
|
|
28
|
+
export declare const StyledAddOptionWrap: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
29
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
30
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
31
|
+
theme?: import('@emotion/react').Theme;
|
|
32
|
+
} & {
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
}, {}, {}>;
|
|
35
|
+
export declare const StyledInputWrap: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
36
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
37
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
38
|
+
theme?: import('@emotion/react').Theme;
|
|
39
|
+
}, {}, {}>;
|