linear-react-components-ui 1.1.24-beta.2 → 1.1.24-beta.3
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/BaseMask-ce8dedc1.d.ts +24 -0
- package/lib/Cnpj-aa8c3e13.d.ts +18 -0
- package/lib/Cpf-d58b5482.d.ts +18 -0
- package/lib/Phone-8a912d9e.d.ts +18 -0
- package/lib/ZipCode-d4a08d23.d.ts +13 -0
- package/lib/assets/styles/numberfield.scss +18 -0
- package/lib/form2/useForm/index.js +3 -4
- package/lib/index-287b0453.d.ts +23 -0
- package/lib/{index-a0c1207e.d.ts → index-35ba9ed8.d.ts} +1 -1
- package/lib/index-4529c2ba.d.ts +44 -0
- package/lib/{index-a68cfaf7.d.ts → index-474db0eb.d.ts} +1 -1
- package/lib/{index-f9981b49.d.ts → index-5b2c554c.d.ts} +1 -1
- package/lib/index-ecafc8c6.d.ts +30 -0
- package/lib/inputs2/checkboxfield/index.d.ts +1 -1
- package/lib/inputs2/colorfield/index.d.ts +2 -2
- package/lib/inputs2/index.d.ts +14 -14
- package/lib/inputs2/index.js +3 -9
- package/lib/inputs2/mask/BaseMask.d.ts +2 -2
- package/lib/inputs2/mask/Cnpj.d.ts +3 -3
- package/lib/inputs2/mask/Cpf.d.ts +3 -3
- package/lib/inputs2/mask/Phone.d.ts +3 -3
- package/lib/inputs2/mask/ZipCode.d.ts +3 -3
- package/lib/inputs2/numberfield/currency.d.ts +13 -0
- package/lib/inputs2/{number/BaseNumber.js → numberfield/currency.js} +63 -58
- package/lib/inputs2/numberfield/decimal.d.ts +13 -0
- package/lib/inputs2/numberfield/decimal.js +85 -0
- package/lib/inputs2/numberfield/helpers.d.ts +30 -0
- package/lib/inputs2/numberfield/helpers.js +53 -0
- package/lib/inputs2/numberfield/index.d.ts +12 -0
- package/lib/inputs2/numberfield/index.js +104 -0
- package/lib/inputs2/numberfield/types.d.ts +36 -0
- package/lib/inputs2/numberfield/types.js +5 -0
- package/lib/inputs2/radiofield/index.d.ts +1 -1
- package/lib/inputs2/selectfield/index.d.ts +1 -1
- package/lib/inputs2/selectfield/index.js +3 -3
- package/lib/inputs2/textfield/index.d.ts +1 -1
- package/lib/inputs2/textfield/index.js +3 -3
- package/lib/popover/index.js +1 -0
- package/package.json +1 -1
- package/lib/BaseMask-4885b7c4.d.ts +0 -24
- package/lib/BaseNumber-ba047ec3.d.ts +0 -23
- package/lib/Cnpj-501f8fed.d.ts +0 -18
- package/lib/Cpf-0e03d85a.d.ts +0 -18
- package/lib/Currency-d8dae30c.d.ts +0 -18
- package/lib/Decimal-deda637f.d.ts +0 -13
- package/lib/Number-4783f0de.d.ts +0 -20
- package/lib/Phone-99e92c22.d.ts +0 -18
- package/lib/ZipCode-3d092264.d.ts +0 -13
- package/lib/index-6f287e6c.d.ts +0 -23
- package/lib/index-f6f0d3a8.d.ts +0 -44
- package/lib/inputs2/number/BaseNumber.d.ts +0 -10
- package/lib/inputs2/number/Currency.d.ts +0 -11
- package/lib/inputs2/number/Currency.js +0 -47
- package/lib/inputs2/number/Decimal.d.ts +0 -11
- package/lib/inputs2/number/Decimal.js +0 -36
- package/lib/inputs2/number/Number.d.ts +0 -9
- package/lib/inputs2/number/Number.js +0 -49
- package/lib/inputs2/number/format_number.d.ts +0 -5
- package/lib/inputs2/number/format_number.js +0 -29
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { T as TextFieldInputProps } from './index-4529c2ba.js';
|
|
3
|
+
import { FactoryOpts } from 'imask';
|
|
4
|
+
|
|
5
|
+
interface MaskFieldProps extends TextFieldInputProps {
|
|
6
|
+
maskOptions?: FactoryOpts;
|
|
7
|
+
onAccept?: (value: string) => void;
|
|
8
|
+
onComplete?: (value: string, maskRef: any, e?: InputEvent) => void;
|
|
9
|
+
onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
10
|
+
autoCompleteMask?: string;
|
|
11
|
+
value?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const Input: React__default.ForwardRefExoticComponent<MaskFieldProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
14
|
+
|
|
15
|
+
declare const BaseMask_Input: typeof Input;
|
|
16
|
+
type BaseMask_MaskFieldProps = MaskFieldProps;
|
|
17
|
+
declare namespace BaseMask {
|
|
18
|
+
export {
|
|
19
|
+
BaseMask_Input as Input,
|
|
20
|
+
BaseMask_MaskFieldProps as MaskFieldProps,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { BaseMask as B, Input as I, MaskFieldProps as M };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { M as MaskFieldProps } from './BaseMask-ce8dedc1.js';
|
|
3
|
+
|
|
4
|
+
interface CnpjFieldProps extends MaskFieldProps {
|
|
5
|
+
onValidate?: (errors: string[]) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const Input: React__default.ForwardRefExoticComponent<CnpjFieldProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
8
|
+
|
|
9
|
+
type Cnpj_CnpjFieldProps = CnpjFieldProps;
|
|
10
|
+
declare const Cnpj_Input: typeof Input;
|
|
11
|
+
declare namespace Cnpj {
|
|
12
|
+
export {
|
|
13
|
+
Cnpj_CnpjFieldProps as CnpjFieldProps,
|
|
14
|
+
Cnpj_Input as Input,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { Cnpj as C, Input as I, CnpjFieldProps as a };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { M as MaskFieldProps } from './BaseMask-ce8dedc1.js';
|
|
3
|
+
|
|
4
|
+
interface CpfFieldProps extends MaskFieldProps {
|
|
5
|
+
onValidate?: (errors: string[]) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const Input: React__default.ForwardRefExoticComponent<CpfFieldProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
8
|
+
|
|
9
|
+
type Cpf_CpfFieldProps = CpfFieldProps;
|
|
10
|
+
declare const Cpf_Input: typeof Input;
|
|
11
|
+
declare namespace Cpf {
|
|
12
|
+
export {
|
|
13
|
+
Cpf_CpfFieldProps as CpfFieldProps,
|
|
14
|
+
Cpf_Input as Input,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { Cpf as C, Input as I, CpfFieldProps as a };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { M as MaskFieldProps } from './BaseMask-ce8dedc1.js';
|
|
3
|
+
|
|
4
|
+
interface PhoneFieldProps extends MaskFieldProps {
|
|
5
|
+
isCellphone?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const Input: React__default.ForwardRefExoticComponent<PhoneFieldProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
8
|
+
|
|
9
|
+
declare const Phone_Input: typeof Input;
|
|
10
|
+
type Phone_PhoneFieldProps = PhoneFieldProps;
|
|
11
|
+
declare namespace Phone {
|
|
12
|
+
export {
|
|
13
|
+
Phone_Input as Input,
|
|
14
|
+
Phone_PhoneFieldProps as PhoneFieldProps,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { Input as I, Phone as P, PhoneFieldProps as a };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { M as MaskFieldProps } from './BaseMask-ce8dedc1.js';
|
|
3
|
+
|
|
4
|
+
declare const Input: React__default.ForwardRefExoticComponent<MaskFieldProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
5
|
+
|
|
6
|
+
declare const ZipCode_Input: typeof Input;
|
|
7
|
+
declare namespace ZipCode {
|
|
8
|
+
export {
|
|
9
|
+
ZipCode_Input as Input,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { Input as I, ZipCode as Z };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import "colors.scss";
|
|
2
|
+
@import "effects.scss";
|
|
3
|
+
@import "commons.scss";
|
|
4
|
+
@import "fonts.scss";
|
|
5
|
+
|
|
6
|
+
.currency-left-elements {
|
|
7
|
+
.currency-symbol {
|
|
8
|
+
user-select: none;
|
|
9
|
+
margin: 0;
|
|
10
|
+
height: 100%;
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
padding: 0px 6px;
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
background-color: $component-bg-default;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -144,18 +144,17 @@ const useForm = _ref => {
|
|
|
144
144
|
const {
|
|
145
145
|
value
|
|
146
146
|
} = event.target;
|
|
147
|
-
const inputValue = !_lodash.default.isNumber(value) ? value : _lodash.default.toNumber(value);
|
|
148
147
|
setValues(prevStateValues => {
|
|
149
148
|
const updatedValues = _lodash.default.cloneDeep(prevStateValues);
|
|
150
|
-
_lodash.default.set(updatedValues, name,
|
|
151
|
-
const hasChanged = !_lodash.default.isEqual(_lodash.default.get(valuesToCompareInChangedRef.current, name),
|
|
149
|
+
_lodash.default.set(updatedValues, name, value);
|
|
150
|
+
const hasChanged = !_lodash.default.isEqual(_lodash.default.get(valuesToCompareInChangedRef.current, name), value);
|
|
152
151
|
setChanged(prevStateChanged => {
|
|
153
152
|
const updatedChangedState = _lodash.default.cloneDeep(prevStateChanged);
|
|
154
153
|
_lodash.default.set(updatedChangedState, name, hasChanged);
|
|
155
154
|
return updatedChangedState;
|
|
156
155
|
});
|
|
157
156
|
if (options.validationMode === 'default' && _lodash.default.get(touched, name)) {
|
|
158
|
-
validateField(name,
|
|
157
|
+
validateField(name, value);
|
|
159
158
|
}
|
|
160
159
|
return updatedValues;
|
|
161
160
|
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
|
|
3
|
+
import { T as TextFieldInputProps } from './index-4529c2ba.js';
|
|
4
|
+
|
|
5
|
+
interface ColorFieldInputProps extends TextFieldInputProps {
|
|
6
|
+
isTypeText?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const Input: React__default.ForwardRefExoticComponent<ColorFieldInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
9
|
+
|
|
10
|
+
type index_ColorFieldInputProps = ColorFieldInputProps;
|
|
11
|
+
declare const index_Input: typeof Input;
|
|
12
|
+
declare const index_LeftSlot: typeof LeftSlot;
|
|
13
|
+
declare const index_RightSlot: typeof RightSlot;
|
|
14
|
+
declare namespace index {
|
|
15
|
+
export {
|
|
16
|
+
index_ColorFieldInputProps as ColorFieldInputProps,
|
|
17
|
+
index_Input as Input,
|
|
18
|
+
index_LeftSlot as LeftSlot,
|
|
19
|
+
index_RightSlot as RightSlot,
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { ColorFieldInputProps as C, Input as I, index as i };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { RadioFieldInputProps } from './inputs2/radiofield/types.js';
|
|
3
3
|
|
|
4
|
-
declare const Input: React__default.ForwardRefExoticComponent<Pick<RadioFieldInputProps, "form" | "label" | "slot" | "style" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "align" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "customClass" | "permissionAttr" | "size" | "skeletonize" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "tooltip" | "tooltipWidth" | "tooltipPosition" | "checked" | "required" | "labelUppercase" | "hint" | "hintPosition" | "themePopover" | "popoverAlign" | "width" | "height" | "readOnly" | "list" | "step" | "maxLength" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "max" | "min" | "src" | "alt" | "errors" | "
|
|
4
|
+
declare const Input: React__default.ForwardRefExoticComponent<Pick<RadioFieldInputProps, "form" | "label" | "slot" | "style" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "align" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "customClass" | "permissionAttr" | "size" | "skeletonize" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "tooltip" | "tooltipWidth" | "tooltipPosition" | "checked" | "required" | "labelUppercase" | "hint" | "hintPosition" | "themePopover" | "popoverAlign" | "width" | "height" | "readOnly" | "list" | "step" | "maxLength" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "max" | "min" | "src" | "alt" | "errors" | "capture" | "crossOrigin" | "enterKeyHint" | "minLength" | "customClassLabel" | "customClassWrapper" | "customClassInputContainer" | "getFieldValue"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
5
5
|
|
|
6
6
|
declare const index_Input: typeof Input;
|
|
7
7
|
declare const index_RadioFieldInputProps: typeof RadioFieldInputProps;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { TextAlign } from './@types/Align.js';
|
|
3
|
+
import { ColorTheme } from './@types/ColorStyles.js';
|
|
4
|
+
import { HintPosition, Position } from './@types/Position.js';
|
|
5
|
+
import { PermissionAttr, OnDenied } from './@types/PermissionAttr.js';
|
|
6
|
+
import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
|
|
7
|
+
import { ITooltipCommonProps } from './tooltip/types.js';
|
|
8
|
+
|
|
9
|
+
interface TextFieldInputProps extends React__default.ComponentPropsWithoutRef<'input'>, ITooltipCommonProps {
|
|
10
|
+
hint?: string | string[];
|
|
11
|
+
label?: string;
|
|
12
|
+
errors?: string[];
|
|
13
|
+
gridLayout?: string;
|
|
14
|
+
customClass?: string;
|
|
15
|
+
customClassLabel?: string;
|
|
16
|
+
customClassWrapper?: string;
|
|
17
|
+
customClassInputContainer?: string;
|
|
18
|
+
rounded?: boolean;
|
|
19
|
+
readOnly?: boolean;
|
|
20
|
+
skeletonize?: boolean;
|
|
21
|
+
labelUppercase?: boolean;
|
|
22
|
+
textAlign?: TextAlign;
|
|
23
|
+
hintPosition?: HintPosition;
|
|
24
|
+
themePopover?: ColorTheme;
|
|
25
|
+
popoverAlign?: Extract<Position, 'left' | 'right'>;
|
|
26
|
+
permissionAttr?: PermissionAttr;
|
|
27
|
+
onDeniedActions?: OnDenied;
|
|
28
|
+
}
|
|
29
|
+
declare const Input: React__default.ForwardRefExoticComponent<TextFieldInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
30
|
+
|
|
31
|
+
declare const index_Input: typeof Input;
|
|
32
|
+
declare const index_LeftSlot: typeof LeftSlot;
|
|
33
|
+
declare const index_RightSlot: typeof RightSlot;
|
|
34
|
+
type index_TextFieldInputProps = TextFieldInputProps;
|
|
35
|
+
declare namespace index {
|
|
36
|
+
export {
|
|
37
|
+
index_Input as Input,
|
|
38
|
+
index_LeftSlot as LeftSlot,
|
|
39
|
+
index_RightSlot as RightSlot,
|
|
40
|
+
index_TextFieldInputProps as TextFieldInputProps,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { Input as I, TextFieldInputProps as T, index as i };
|
|
@@ -3,7 +3,7 @@ import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
|
|
|
3
3
|
import { Item } from './inputs2/selectfield/item.js';
|
|
4
4
|
import { SelectFieldInputProps } from './inputs2/selectfield/types.js';
|
|
5
5
|
|
|
6
|
-
declare const Input: React__default.ForwardRefExoticComponent<Pick<SelectFieldInputProps, "form" | "label" | "slot" | "style" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "align" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "customClass" | "permissionAttr" | "size" | "skeletonize" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "tooltip" | "tooltipWidth" | "tooltipPosition" | "checked" | "required" | "hint" | "hintPosition" | "themePopover" | "popoverAlign" | "width" | "height" | "multiple" | "readOnly" | "list" | "step" | "maxLength" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "showClearButton" | "searchOnDropdown" | "undigitable" | "openDropdownOnFocus" | "onSearch" | "striped" | "max" | "min" | "src" | "alt" | "errors" | "
|
|
6
|
+
declare const Input: React__default.ForwardRefExoticComponent<Pick<SelectFieldInputProps, "form" | "label" | "slot" | "style" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "align" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "customClass" | "permissionAttr" | "size" | "skeletonize" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "tooltip" | "tooltipWidth" | "tooltipPosition" | "checked" | "required" | "hint" | "hintPosition" | "themePopover" | "popoverAlign" | "width" | "height" | "multiple" | "readOnly" | "list" | "step" | "maxLength" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "showClearButton" | "searchOnDropdown" | "undigitable" | "openDropdownOnFocus" | "onSearch" | "striped" | "max" | "min" | "src" | "alt" | "errors" | "capture" | "crossOrigin" | "enterKeyHint" | "minLength" | "customClassLabel" | "customClassWrapper" | "customClassInputContainer" | "externalSearch" | "notFoundFilterLabel" | "searchInputPlaceholder" | "multipleInputLabelEmpty" | "multipleInputLabelManySelection" | "dropdownAlignButton"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
7
7
|
|
|
8
8
|
declare const index_Input: typeof Input;
|
|
9
9
|
declare const index_Item: typeof Item;
|
|
@@ -27,7 +27,7 @@ interface CheckboxFieldInputProps extends InputHTMLProps, ITooltipCommonProps {
|
|
|
27
27
|
permissionAttr?: PermissionAttr;
|
|
28
28
|
onDeniedActions?: OnDenied;
|
|
29
29
|
}
|
|
30
|
-
declare const Input: React__default.ForwardRefExoticComponent<Pick<CheckboxFieldInputProps, "form" | "label" | "slot" | "style" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "align" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "customClass" | "permissionAttr" | "size" | "skeletonize" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "tooltip" | "tooltipWidth" | "tooltipPosition" | "checked" | "required" | "labelUppercase" | "hint" | "hintPosition" | "themePopover" | "popoverAlign" | "width" | "height" | "multiple" | "readOnly" | "list" | "step" | "maxLength" | "rounded" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "max" | "min" | "src" | "alt" | "errors" | "
|
|
30
|
+
declare const Input: React__default.ForwardRefExoticComponent<Pick<CheckboxFieldInputProps, "form" | "label" | "slot" | "style" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "align" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "customClass" | "permissionAttr" | "size" | "skeletonize" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "tooltip" | "tooltipWidth" | "tooltipPosition" | "checked" | "required" | "labelUppercase" | "hint" | "hintPosition" | "themePopover" | "popoverAlign" | "width" | "height" | "multiple" | "readOnly" | "list" | "step" | "maxLength" | "rounded" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "max" | "min" | "src" | "alt" | "errors" | "capture" | "crossOrigin" | "enterKeyHint" | "minLength" | "customClassLabel" | "customClassWrapper" | "customClassInputContainer" | "variant"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
31
31
|
|
|
32
32
|
type index_CheckboxFieldInputProps = CheckboxFieldInputProps;
|
|
33
33
|
declare const index_Input: typeof Input;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
|
|
3
|
+
import { Decimal } from './inputs2/numberfield/decimal.js';
|
|
4
|
+
import { Currency } from './inputs2/numberfield/currency.js';
|
|
5
|
+
import { NumberFieldInputProps, CurrencyFieldInputProps, DecimalFieldInputProps } from './inputs2/numberfield/types.js';
|
|
6
|
+
|
|
7
|
+
declare const Input: React__default.ForwardRefExoticComponent<NumberFieldInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
8
|
+
|
|
9
|
+
declare const index_Currency: typeof Currency;
|
|
10
|
+
declare const index_CurrencyFieldInputProps: typeof CurrencyFieldInputProps;
|
|
11
|
+
declare const index_Decimal: typeof Decimal;
|
|
12
|
+
declare const index_DecimalFieldInputProps: typeof DecimalFieldInputProps;
|
|
13
|
+
declare const index_Input: typeof Input;
|
|
14
|
+
declare const index_LeftSlot: typeof LeftSlot;
|
|
15
|
+
declare const index_NumberFieldInputProps: typeof NumberFieldInputProps;
|
|
16
|
+
declare const index_RightSlot: typeof RightSlot;
|
|
17
|
+
declare namespace index {
|
|
18
|
+
export {
|
|
19
|
+
index_Currency as Currency,
|
|
20
|
+
index_CurrencyFieldInputProps as CurrencyFieldInputProps,
|
|
21
|
+
index_Decimal as Decimal,
|
|
22
|
+
index_DecimalFieldInputProps as DecimalFieldInputProps,
|
|
23
|
+
index_Input as Input,
|
|
24
|
+
index_LeftSlot as LeftSlot,
|
|
25
|
+
index_NumberFieldInputProps as NumberFieldInputProps,
|
|
26
|
+
index_RightSlot as RightSlot,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { Input as I, index as i };
|
|
@@ -4,4 +4,4 @@ import '../../@types/ColorStyles.js';
|
|
|
4
4
|
import '../../tooltip/types.js';
|
|
5
5
|
import '../../@types/Position.js';
|
|
6
6
|
import '../../@types/PermissionAttr.js';
|
|
7
|
-
export { C as CheckboxFieldInputProps, I as Input } from '../../index-
|
|
7
|
+
export { C as CheckboxFieldInputProps, I as Input } from '../../index-5b2c554c.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
export { LeftSlot, RightSlot } from '../slot/index.js';
|
|
3
|
-
import '../../index-
|
|
4
|
-
export { C as ColorFieldInputProps, I as Input } from '../../index-
|
|
3
|
+
import '../../index-4529c2ba.js';
|
|
4
|
+
export { C as ColorFieldInputProps, I as Input } from '../../index-287b0453.js';
|
|
5
5
|
import '../../@types/Align.js';
|
|
6
6
|
import '../../@types/ColorStyles.js';
|
|
7
7
|
import '../../@types/Position.js';
|
package/lib/inputs2/index.d.ts
CHANGED
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
export { i as TextField } from '../index-
|
|
1
|
+
export { i as TextField } from '../index-4529c2ba.js';
|
|
2
|
+
export { i as NumberField } from '../index-ecafc8c6.js';
|
|
2
3
|
export { i as DateField } from '../index-368f781f.js';
|
|
3
|
-
export { i as RadioField } from '../index-
|
|
4
|
-
export { i as SelectField } from '../index-
|
|
5
|
-
export { i as CheckboxField } from '../index-
|
|
4
|
+
export { i as RadioField } from '../index-35ba9ed8.js';
|
|
5
|
+
export { i as SelectField } from '../index-474db0eb.js';
|
|
6
|
+
export { i as CheckboxField } from '../index-5b2c554c.js';
|
|
6
7
|
export { i as DatePeriodField } from '../index-c9247c1f.js';
|
|
7
|
-
export { i as ColorField } from '../index-
|
|
8
|
-
export { B as
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export { C as CpfField } from '../Cpf-0e03d85a.js';
|
|
14
|
-
export { C as CnpjField } from '../Cnpj-501f8fed.js';
|
|
15
|
-
export { P as PhoneField } from '../Phone-99e92c22.js';
|
|
16
|
-
export { Z as ZipCodeField } from '../ZipCode-3d092264.js';
|
|
8
|
+
export { i as ColorField } from '../index-287b0453.js';
|
|
9
|
+
export { B as MaskField } from '../BaseMask-ce8dedc1.js';
|
|
10
|
+
export { C as CpfField } from '../Cpf-d58b5482.js';
|
|
11
|
+
export { C as CnpjField } from '../Cnpj-aa8c3e13.js';
|
|
12
|
+
export { P as PhoneField } from '../Phone-8a912d9e.js';
|
|
13
|
+
export { Z as ZipCodeField } from '../ZipCode-d4a08d23.js';
|
|
17
14
|
import 'react';
|
|
18
15
|
import '../@types/Align.js';
|
|
19
16
|
import '../@types/ColorStyles.js';
|
|
@@ -21,6 +18,9 @@ import '../@types/Position.js';
|
|
|
21
18
|
import '../@types/PermissionAttr.js';
|
|
22
19
|
import './slot/index.js';
|
|
23
20
|
import '../tooltip/types.js';
|
|
21
|
+
import './numberfield/decimal.js';
|
|
22
|
+
import './numberfield/types.js';
|
|
23
|
+
import './numberfield/currency.js';
|
|
24
24
|
import './date/datefield/types.js';
|
|
25
25
|
import 'moment';
|
|
26
26
|
import './date/types.js';
|
package/lib/inputs2/index.js
CHANGED
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.ZipCodeField = exports.TextField = exports.SelectField = exports.RadioField = exports.PhoneField = exports.NumberField = exports.MaskField = exports.
|
|
6
|
+
exports.ZipCodeField = exports.TextField = exports.SelectField = exports.RadioField = exports.PhoneField = exports.NumberField = exports.MaskField = exports.DatePeriodField = exports.DateField = exports.CpfField = exports.ColorField = exports.CnpjField = exports.CheckboxField = void 0;
|
|
7
7
|
var TextField = _interopRequireWildcard(require("./textfield"));
|
|
8
8
|
exports.TextField = TextField;
|
|
9
|
+
var NumberField = _interopRequireWildcard(require("./numberfield"));
|
|
10
|
+
exports.NumberField = NumberField;
|
|
9
11
|
var DateField = _interopRequireWildcard(require("./date/datefield"));
|
|
10
12
|
exports.DateField = DateField;
|
|
11
13
|
var RadioField = _interopRequireWildcard(require("./radiofield"));
|
|
@@ -18,14 +20,6 @@ var DatePeriodField = _interopRequireWildcard(require("./date/dateperiodfield"))
|
|
|
18
20
|
exports.DatePeriodField = DatePeriodField;
|
|
19
21
|
var ColorField = _interopRequireWildcard(require("./colorfield"));
|
|
20
22
|
exports.ColorField = ColorField;
|
|
21
|
-
var BaseMaskNumber = _interopRequireWildcard(require("./number/BaseNumber"));
|
|
22
|
-
exports.BaseMaskNumber = BaseMaskNumber;
|
|
23
|
-
var NumberField = _interopRequireWildcard(require("./number/Number"));
|
|
24
|
-
exports.NumberField = NumberField;
|
|
25
|
-
var DecimalField = _interopRequireWildcard(require("./number/Decimal"));
|
|
26
|
-
exports.DecimalField = DecimalField;
|
|
27
|
-
var CurrencyField = _interopRequireWildcard(require("./number/Currency"));
|
|
28
|
-
exports.CurrencyField = CurrencyField;
|
|
29
23
|
var MaskField = _interopRequireWildcard(require("./mask/BaseMask"));
|
|
30
24
|
exports.MaskField = MaskField;
|
|
31
25
|
var CpfField = _interopRequireWildcard(require("./mask/Cpf"));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '../../index-
|
|
2
|
+
import '../../index-4529c2ba.js';
|
|
3
3
|
import 'imask';
|
|
4
|
-
export { I as Input, M as MaskFieldProps } from '../../BaseMask-
|
|
4
|
+
export { I as Input, M as MaskFieldProps } from '../../BaseMask-ce8dedc1.js';
|
|
5
5
|
import '../../@types/Align.js';
|
|
6
6
|
import '../../@types/ColorStyles.js';
|
|
7
7
|
import '../../@types/Position.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '../../BaseMask-
|
|
3
|
-
export { a as CnpjFieldProps, I as Input } from '../../Cnpj-
|
|
4
|
-
import '../../index-
|
|
2
|
+
import '../../BaseMask-ce8dedc1.js';
|
|
3
|
+
export { a as CnpjFieldProps, I as Input } from '../../Cnpj-aa8c3e13.js';
|
|
4
|
+
import '../../index-4529c2ba.js';
|
|
5
5
|
import '../../@types/Align.js';
|
|
6
6
|
import '../../@types/ColorStyles.js';
|
|
7
7
|
import '../../@types/Position.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '../../BaseMask-
|
|
3
|
-
export { a as CpfFieldProps, I as Input } from '../../Cpf-
|
|
4
|
-
import '../../index-
|
|
2
|
+
import '../../BaseMask-ce8dedc1.js';
|
|
3
|
+
export { a as CpfFieldProps, I as Input } from '../../Cpf-d58b5482.js';
|
|
4
|
+
import '../../index-4529c2ba.js';
|
|
5
5
|
import '../../@types/Align.js';
|
|
6
6
|
import '../../@types/ColorStyles.js';
|
|
7
7
|
import '../../@types/Position.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '../../BaseMask-
|
|
3
|
-
export { I as Input, a as PhoneFieldProps } from '../../Phone-
|
|
4
|
-
import '../../index-
|
|
2
|
+
import '../../BaseMask-ce8dedc1.js';
|
|
3
|
+
export { I as Input, a as PhoneFieldProps } from '../../Phone-8a912d9e.js';
|
|
4
|
+
import '../../index-4529c2ba.js';
|
|
5
5
|
import '../../@types/Align.js';
|
|
6
6
|
import '../../@types/ColorStyles.js';
|
|
7
7
|
import '../../@types/Position.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '../../BaseMask-
|
|
3
|
-
export { I as Input } from '../../ZipCode-
|
|
4
|
-
import '../../index-
|
|
2
|
+
import '../../BaseMask-ce8dedc1.js';
|
|
3
|
+
export { I as Input } from '../../ZipCode-d4a08d23.js';
|
|
4
|
+
import '../../index-4529c2ba.js';
|
|
5
5
|
import '../../@types/Align.js';
|
|
6
6
|
import '../../@types/ColorStyles.js';
|
|
7
7
|
import '../../@types/Position.js';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { CurrencyFieldInputProps } from './types.js';
|
|
3
|
+
import '../../index-4529c2ba.js';
|
|
4
|
+
import '../../@types/Align.js';
|
|
5
|
+
import '../../@types/ColorStyles.js';
|
|
6
|
+
import '../../@types/Position.js';
|
|
7
|
+
import '../../@types/PermissionAttr.js';
|
|
8
|
+
import '../slot/index.js';
|
|
9
|
+
import '../../tooltip/types.js';
|
|
10
|
+
|
|
11
|
+
declare const Currency: React__default.ForwardRefExoticComponent<CurrencyFieldInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
12
|
+
|
|
13
|
+
export { Currency };
|