@m4l/components 8.1.0-beta.devManuela.TextField → 8.1.0
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/@types/types.d.ts +37 -11
- package/components/ControlIncrement/ControlIncrement.d.ts +5 -0
- package/components/ControlIncrement/ControlIncrement.styles.d.ts +8 -0
- package/components/ControlIncrement/constants.d.ts +25 -0
- package/components/ControlIncrement/slots/ControlIncrementEnum.d.ts +6 -0
- package/components/ControlIncrement/slots/ControltrolIncrementSlots.d.ts +14 -0
- package/components/ControlIncrement/slots/index.d.ts +2 -0
- package/components/ControlIncrement/stories/ControlClick/ControlIncrement.controlclick.stories.d.ts +13 -0
- package/components/ControlIncrement/stories/DefaultAndDisabled/ControlIncrement.defaultanddisabled.stories.d.ts +17 -0
- package/components/ControlIncrement/stories/Sizes/ControlIncrement.sizes.stories.d.ts +21 -0
- package/components/ControlIncrement/types.d.ts +56 -0
- package/components/DataGrid/classes/index.d.ts +1 -1
- package/components/DynamicFilter/DynamicFIlter.styles.js +115 -39
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +1 -1
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +1 -1
- package/components/GridLayout/classes/index.d.ts +1 -1
- package/components/GridLayout/subcomponents/withSizeProvider/index.d.ts +1 -1
- package/components/HelperError/HelperError.d.ts +1 -1
- package/components/HelperError/HelperError.js +21 -2
- package/components/HelperError/HelperError.styles.js +11 -2
- package/components/HelperError/constant.d.ts +9 -0
- package/components/HelperError/constant.js +3 -1
- package/components/HelperError/slots/HelperErrorEnum.d.ts +3 -0
- package/components/HelperError/slots/HelperErrorSlots.d.ts +4 -4
- package/components/HelperError/slots/HelperErrorSlots.js +1 -1
- package/components/HelperError/types.d.ts +28 -5
- package/components/Icon/Icon.d.ts +4 -3
- package/components/Icon/Icon.js +54 -71
- package/components/Icon/Icon.styles.js +85 -31
- package/components/Icon/slots/IconEnum.d.ts +2 -1
- package/components/Icon/slots/IconEnum.js +1 -0
- package/components/Icon/slots/IconSlots.d.ts +3 -0
- package/components/Icon/slots/IconSlots.js +7 -1
- package/components/Icon/stories/DefaultWithProps/Icon.defaultWithProps.stories.d.ts +35 -0
- package/components/Icon/stories/Preset/Icon.preset.stories.d.ts +16 -0
- package/components/Icon/stories/Semantic/Icon.semantic.stories.d.ts +30 -0
- package/components/Icon/stories/Sizes/icon.sizes.stories.d.ts +40 -0
- package/components/Icon/types.d.ts +16 -12
- package/components/InputNumberSpinner/InputNumberSpinner.d.ts +9 -0
- package/components/InputNumberSpinner/InputNumberSpinner.styles.d.ts +8 -0
- package/components/InputNumberSpinner/constants.d.ts +9 -0
- package/components/InputNumberSpinner/hooks/types.d.ts +13 -0
- package/components/InputNumberSpinner/hooks/useInputNumberSpinner.d.ts +19 -0
- package/components/InputNumberSpinner/index.d.ts +2 -0
- package/components/InputNumberSpinner/slots/InputNumberSpinnerEnum.d.ts +7 -0
- package/components/InputNumberSpinner/slots/InputNumberSpinnerSlots.d.ts +15 -0
- package/components/InputNumberSpinner/slots/index.d.ts +2 -0
- package/components/InputNumberSpinner/stories/Default/InputNumberSpinner.default.stories.d.ts +25 -0
- package/components/InputNumberSpinner/stories/Error/InputNumberSpinner.error.stories.d.ts +25 -0
- package/components/InputNumberSpinner/stories/Sizes/InputNumberSpinner.sizes.stories.d.ts +41 -0
- package/components/InputNumberSpinner/stories/Variants/InputNumberSpinner.variants.stories.d.ts +25 -0
- package/components/InputNumberSpinner/types.d.ts +64 -0
- package/components/Label/Label.d.ts +2 -2
- package/components/Label/Label.styles.js +5 -5
- package/components/Label/slots/LabelSlots.d.ts +1 -1
- package/components/Label/types.d.ts +1 -1
- package/components/MFLoader/MFLoader.d.ts +1 -1
- package/components/NavLink/NavLink.d.ts +1 -1
- package/components/PropertyValue/classes/index.d.ts +1 -1
- package/components/SideBar/classes/index.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/styles.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +1 -1
- package/components/ToastContainer/subcomponents/ToastMessage/useToastMessage.d.ts +5 -1
- package/components/ToastContainer/subcomponents/ToastMessage/useToastMessage.js +2 -1
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/PanelWindows/index.d.ts +1 -1
- package/components/areas/contexts/AreasContext/store.d.ts +1 -1
- package/components/areas/contexts/AreasContext/store.js +199 -67
- package/components/extended/react-resizable/Resizable/slots/ResizableSlots.d.ts +1 -1
- package/components/extended/react-resizable/ResizableBox/slots/ResizableBoxSlots.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/classes/index.d.ts +1 -1
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeImage/index.d.ts +1 -1
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeText/index.d.ts +1 -1
- package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.d.ts +4 -0
- package/components/hook-form/RHFTextField/RHFTextField.styles.js +2 -2
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/index.d.ts +1 -1
- package/components/hook-form/RHFormContext/classes/index.d.ts +1 -1
- package/components/maps/components/Map/contexts/MapContext/store.d.ts +1 -1
- package/components/maps/components/Map/contexts/MapContext/store.js +166 -106
- package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +1 -1
- package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +1 -1
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/index.d.ts +1 -1
- package/components/mui_extended/Accordion/Accordion.d.ts +1 -1
- package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
- package/components/mui_extended/Button/styles.d.ts +1 -1
- package/components/mui_extended/IconButton/IconButton.d.ts +4 -4
- package/components/mui_extended/IconButton/IconButton.js +65 -29
- package/components/mui_extended/IconButton/IconButton.styles.js +20 -5
- package/components/mui_extended/IconButton/slots/IconButtonEnum.d.ts +2 -1
- package/components/mui_extended/IconButton/slots/IconButtonEnum.js +1 -0
- package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +5 -2
- package/components/mui_extended/IconButton/slots/IconButtonSlots.js +7 -1
- package/components/mui_extended/IconButton/types.d.ts +46 -2
- package/components/mui_extended/LoadingButton/index.d.ts +1 -1
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/MenuItem.d.ts +11 -0
- package/components/mui_extended/MenuItem/MenuItem.stories.d.ts +37 -0
- package/components/mui_extended/MenuItem/MenuItem.styles.d.ts +2 -0
- package/components/mui_extended/MenuItem/constants.d.ts +8 -0
- package/components/mui_extended/MenuItem/index.d.ts +2 -0
- package/components/mui_extended/MenuItem/slots/MenuItemEnum.d.ts +5 -0
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +11 -0
- package/components/mui_extended/MenuItem/slots/index.d.ts +2 -0
- package/components/mui_extended/MenuItem/types.d.ts +41 -0
- package/components/mui_extended/Select/Select.d.ts +9 -0
- package/components/mui_extended/Select/Select.styles.d.ts +2 -0
- package/components/mui_extended/Select/constants.d.ts +8 -0
- package/components/mui_extended/Select/index.d.ts +2 -0
- package/components/mui_extended/Select/slots/SelectEnum.d.ts +6 -0
- package/components/mui_extended/Select/slots/SelectSlots.d.ts +12 -0
- package/components/mui_extended/Select/slots/index.d.ts +2 -0
- package/components/mui_extended/Select/stories/SelectOutlied.stories.d.ts +75 -0
- package/components/mui_extended/Select/stories/SelectStandar.stories.d.ts +29 -0
- package/components/mui_extended/Select/types.d.ts +66 -0
- package/components/mui_extended/Skeleton/Skeleton.d.ts +1 -1
- package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
- package/components/mui_extended/Skeleton/skeleton.styles.js +1 -1
- package/components/mui_extended/Tabs/styles.d.ts +1 -1
- package/components/mui_extended/TextField/TextField.d.ts +4 -0
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +2 -2
- package/components/mui_extended/Typography/Typography.d.ts +1 -1
- package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
- package/components/mui_extended/Typography/typography.styles.js +1 -1
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.d.ts +1 -1
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +57 -25
- package/contexts/RealTimeContext/store.d.ts +1 -1
- package/contexts/RealTimeContext/store.js +15 -7
- package/hooks/useSizeContainer/index.d.ts +1 -1
- package/package.json +1 -1
- package/components/Icon/Icon.stories.d.ts +0 -166
- package/components/hook-form/RHFInputNumberSpinner/RHFInputNumberSpinner.d.ts +0 -5
- package/components/hook-form/RHFInputNumberSpinner/RHFInputNumberSpinner.stories.d.ts +0 -21
- package/components/hook-form/RHFInputNumberSpinner/RHFInputNumberSpinner.styles.d.ts +0 -2
- package/components/hook-form/RHFInputNumberSpinner/constants.d.ts +0 -1
- package/components/hook-form/RHFInputNumberSpinner/index.d.ts +0 -1
- package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnerSlots.d.ts +0 -23
- package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnnerEnum.d.ts +0 -9
- package/components/hook-form/RHFInputNumberSpinner/slots/index.d.ts +0 -2
- package/components/hook-form/RHFInputNumberSpinner/subcomponents/SkeletonSpinner/index.d.ts +0 -4
- package/components/hook-form/RHFInputNumberSpinner/types.d.ts +0 -21
- package/components/hook-form/RHFInputNumberSpinner/useRHFInputNumberSpinner.d.ts +0 -13
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react/*';
|
|
2
|
-
import { Icon } from '.';
|
|
3
|
-
declare const meta: Meta<typeof Icon>;
|
|
4
|
-
type Story = StoryObj<typeof Icon>;
|
|
5
|
-
/**
|
|
6
|
-
* Icon in base mode
|
|
7
|
-
*/
|
|
8
|
-
export declare const Base: Story;
|
|
9
|
-
/**
|
|
10
|
-
* Icon in default src mode
|
|
11
|
-
*/
|
|
12
|
-
export declare const Default: Story;
|
|
13
|
-
/**
|
|
14
|
-
* icon with the prop to rotate it
|
|
15
|
-
*/
|
|
16
|
-
export declare const Rotation: Story;
|
|
17
|
-
/**
|
|
18
|
-
* Icon with small size
|
|
19
|
-
*/
|
|
20
|
-
export declare const Small: Story;
|
|
21
|
-
/**
|
|
22
|
-
* Icon with medium size
|
|
23
|
-
*/
|
|
24
|
-
export declare const Medium: Story;
|
|
25
|
-
/**
|
|
26
|
-
* Icon with large size
|
|
27
|
-
*/
|
|
28
|
-
export declare const Large: Story;
|
|
29
|
-
/**
|
|
30
|
-
* Icon with tooltip property
|
|
31
|
-
*/
|
|
32
|
-
export declare const WithTooltip: Story;
|
|
33
|
-
/**
|
|
34
|
-
* Icon with security area
|
|
35
|
-
*/
|
|
36
|
-
export declare const WithSecurityArea: Story;
|
|
37
|
-
/**
|
|
38
|
-
* Icon with Color 'primary.main'
|
|
39
|
-
*/
|
|
40
|
-
export declare const WithColorPrimaryMain: {
|
|
41
|
-
parameters: {
|
|
42
|
-
design: {
|
|
43
|
-
type: string;
|
|
44
|
-
url: string;
|
|
45
|
-
}[];
|
|
46
|
-
};
|
|
47
|
-
args: {
|
|
48
|
-
src: string;
|
|
49
|
-
size: string;
|
|
50
|
-
color: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* Icon with Color 'text.primary'
|
|
55
|
-
*/
|
|
56
|
-
export declare const WithColorTextPrimary: {
|
|
57
|
-
parameters: {
|
|
58
|
-
design: {
|
|
59
|
-
type: string;
|
|
60
|
-
url: string;
|
|
61
|
-
}[];
|
|
62
|
-
};
|
|
63
|
-
args: {
|
|
64
|
-
src: string;
|
|
65
|
-
size: string;
|
|
66
|
-
color: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* Icon with Color 'contrast.text'
|
|
71
|
-
*/
|
|
72
|
-
export declare const WithColorContrastText: {
|
|
73
|
-
parameters: {
|
|
74
|
-
design: {
|
|
75
|
-
type: string;
|
|
76
|
-
url: string;
|
|
77
|
-
}[];
|
|
78
|
-
};
|
|
79
|
-
args: {
|
|
80
|
-
src: string;
|
|
81
|
-
size: string;
|
|
82
|
-
color: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* Icon with Color 'error.main'
|
|
87
|
-
*/
|
|
88
|
-
export declare const WithColorErrorMain: {
|
|
89
|
-
parameters: {
|
|
90
|
-
design: {
|
|
91
|
-
type: string;
|
|
92
|
-
url: string;
|
|
93
|
-
}[];
|
|
94
|
-
};
|
|
95
|
-
args: {
|
|
96
|
-
src: string;
|
|
97
|
-
size: string;
|
|
98
|
-
color: string;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* Icon with Color 'warning.main'
|
|
103
|
-
*/
|
|
104
|
-
export declare const WithColorWarningMain: {
|
|
105
|
-
parameters: {
|
|
106
|
-
design: {
|
|
107
|
-
type: string;
|
|
108
|
-
url: string;
|
|
109
|
-
}[];
|
|
110
|
-
};
|
|
111
|
-
args: {
|
|
112
|
-
src: string;
|
|
113
|
-
size: string;
|
|
114
|
-
color: string;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* Icon with Color 'success.main'
|
|
119
|
-
*/
|
|
120
|
-
export declare const WithColorSuccessMain: {
|
|
121
|
-
parameters: {
|
|
122
|
-
design: {
|
|
123
|
-
type: string;
|
|
124
|
-
url: string;
|
|
125
|
-
}[];
|
|
126
|
-
};
|
|
127
|
-
args: {
|
|
128
|
-
src: string;
|
|
129
|
-
size: string;
|
|
130
|
-
color: string;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
/**
|
|
134
|
-
* Icon with Color 'info.main'
|
|
135
|
-
*/
|
|
136
|
-
export declare const WithColorInfoMain: {
|
|
137
|
-
parameters: {
|
|
138
|
-
design: {
|
|
139
|
-
type: string;
|
|
140
|
-
url: string;
|
|
141
|
-
}[];
|
|
142
|
-
};
|
|
143
|
-
args: {
|
|
144
|
-
src: string;
|
|
145
|
-
size: string;
|
|
146
|
-
color: string;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
/**
|
|
150
|
-
* Icon with disabled property''
|
|
151
|
-
*/
|
|
152
|
-
export declare const WithDisabled: {
|
|
153
|
-
parameters: {
|
|
154
|
-
design: {
|
|
155
|
-
type: string;
|
|
156
|
-
url: string;
|
|
157
|
-
}[];
|
|
158
|
-
};
|
|
159
|
-
args: {
|
|
160
|
-
src: string;
|
|
161
|
-
size: string;
|
|
162
|
-
color: string;
|
|
163
|
-
disabled: boolean;
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
export default meta;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { RHFInputNumberSpinner } from './RHFInputNumberSpinner';
|
|
3
|
-
declare const meta: Meta<typeof RHFInputNumberSpinner>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RHFInputNumberSpinner>;
|
|
6
|
-
/**
|
|
7
|
-
* Base RHFInputNumberSpinner component
|
|
8
|
-
*/
|
|
9
|
-
export declare const Base: Story;
|
|
10
|
-
/**
|
|
11
|
-
* Base RHFInputNumberSpinner component
|
|
12
|
-
*/
|
|
13
|
-
export declare const Porcentaje: Story;
|
|
14
|
-
/**
|
|
15
|
-
* RHFInputNumberSpinner in skeleton mode
|
|
16
|
-
*/
|
|
17
|
-
export declare const WithSkeleton: Story;
|
|
18
|
-
/**
|
|
19
|
-
* RHFInputNumberSpinner in error state
|
|
20
|
-
*/
|
|
21
|
-
export declare const WithError: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const RHF_INPUTNUMBER_SPINNER_KEY_COMPONENT = "M4LRHFInputNumberSpinner";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './RHFInputNumberSpinner';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const RootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
|
|
2
|
-
ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
|
|
3
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
4
|
-
export declare const InputStyled: import('@emotion/styled').StyledComponent<Pick<{
|
|
5
|
-
variant?: import('@mui/material').TextFieldVariants | undefined;
|
|
6
|
-
} & Omit<import('@mui/material').FilledTextFieldProps | import('@mui/material').StandardTextFieldProps | import('@mui/material').OutlinedTextFieldProps, "variant">, "color" | "content" | "translate" | "margin" | "size" | "disabled" | "sx" | "classes" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ref" | "error" | "name" | "label" | "select" | "key" | "component" | "value" | "type" | "variant" | "autoComplete" | "placeholder" | "required" | "rows" | "fullWidth" | "inputProps" | "inputRef" | "SelectProps" | "multiline" | "maxRows" | "minRows" | "hiddenLabel" | "focused" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
|
|
7
|
-
ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
|
|
8
|
-
}, {}, {}>;
|
|
9
|
-
export declare const ContainInputStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
|
|
10
|
-
ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
|
|
11
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
12
|
-
export declare const SpanStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
|
|
13
|
-
ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
|
|
14
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import('react').ClassAttributes<HTMLSpanElement> | keyof import('react').HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
15
|
-
export declare const ContainButtonStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
|
|
16
|
-
ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
|
|
17
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
18
|
-
export declare const ButtonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../mui_extended/Button').ButtonProps, keyof import('../../../mui_extended/Button').ButtonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
|
|
19
|
-
ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
|
|
20
|
-
}, {}, {}>;
|
|
21
|
-
export declare const ActionsInputSkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../mui_extended/Button').ButtonProps, keyof import('../../../mui_extended/Button').ButtonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown> & {
|
|
22
|
-
ownerState: Partial<import('../types').RHFInputNumberSpinnerOwnerState> & Record<string, unknown>;
|
|
23
|
-
}, {}, {}>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Theme } from '@mui/material/styles';
|
|
2
|
-
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
3
|
-
import { RHFInputNumberSpinnerSlots } from './slots/RHFInputNumberSpinnnerEnum';
|
|
4
|
-
import { RHF_INPUTNUMBER_SPINNER_KEY_COMPONENT } from './constants';
|
|
5
|
-
import { TextFieldProps } from '@mui/material';
|
|
6
|
-
export interface RHFInputNumberSpinnerProps extends Omit<TextFieldProps, 'variant' | 'onChange'> {
|
|
7
|
-
steps: number;
|
|
8
|
-
maxLength: number;
|
|
9
|
-
valueType: 'pt' | '%';
|
|
10
|
-
onChange?: (value: number) => void;
|
|
11
|
-
}
|
|
12
|
-
export interface OwnerState {
|
|
13
|
-
/**
|
|
14
|
-
* Variable para el cambio a error
|
|
15
|
-
*/
|
|
16
|
-
isValid?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface RHFInputNumberSpinnerOwnerState extends RHFInputNumberSpinnerProps, OwnerState {
|
|
19
|
-
}
|
|
20
|
-
export type RHFInputNumberSpinnerSlotsType = keyof typeof RHFInputNumberSpinnerSlots;
|
|
21
|
-
export type RHFInputNumberSpinnerStyles = Partial<OverridesStyleRules<RHFInputNumberSpinnerSlots, typeof RHF_INPUTNUMBER_SPINNER_KEY_COMPONENT, Theme> | undefined> | undefined;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React, ChangeEvent } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* TODO: Documentar
|
|
4
|
-
*/
|
|
5
|
-
export declare const useRHFInputNumberSpinner: (maxLength: number, steps: number | undefined, name: string) => {
|
|
6
|
-
control: import('react-hook-form').Control<import('react-hook-form').FieldValues, any>;
|
|
7
|
-
value: any;
|
|
8
|
-
handleChange: (e: ChangeEvent<HTMLInputElement>, field: any) => void;
|
|
9
|
-
handleButtonChange: (direction?: "up" | "down") => void;
|
|
10
|
-
mouseDownDirection: "down" | "up" | undefined;
|
|
11
|
-
setMouseDownDirection: React.Dispatch<React.SetStateAction<"down" | "up" | undefined>>;
|
|
12
|
-
isSkeleton: boolean;
|
|
13
|
-
};
|