linear-react-components-ui 1.1.24-beta.5 → 1.1.24-beta.7
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/assets/styles/datepicker2.scss +1 -5
- package/lib/assets/styles/filefield.scss +42 -0
- package/lib/assets/styles/textfield.scss +57 -25
- package/lib/dialog/form/index.js +49 -9
- package/lib/dialog/types.d.ts +4 -0
- package/lib/form2/index.d.ts +1 -1
- package/lib/form2/types.d.ts +3 -3
- package/lib/index-19761a50.d.ts +26 -0
- package/lib/index-208e7f62.d.ts +44 -0
- package/lib/index-35ba9ed8.d.ts +15 -0
- package/lib/index-7dfa8924.d.ts +22 -0
- package/lib/index-efe0a0e4.d.ts +41 -0
- package/lib/inputs/file/index.js +0 -1
- package/lib/inputs2/checkboxfield/index.d.ts +1 -1
- package/lib/inputs2/checkboxfield/index.js +3 -0
- package/lib/inputs2/date/datefield/calendarbox.d.ts +1 -1
- package/lib/inputs2/date/datefield/index.js +1 -1
- package/lib/inputs2/date/dateperiodfield/calendarbox.d.ts +1 -1
- package/lib/inputs2/date/dateperiodfield/index.js +1 -1
- package/lib/inputs2/filefield/index.d.ts +9 -0
- package/lib/inputs2/filefield/index.js +168 -0
- package/lib/inputs2/index.d.ts +5 -3
- package/lib/inputs2/index.js +5 -1
- package/lib/inputs2/radiofield/index.d.ts +1 -1
- package/lib/inputs2/selectfield/index.d.ts +1 -1
- package/lib/inputs2/selectfield/item.d.ts +1 -1
- package/lib/inputs2/selectfield/listbox.d.ts +1 -1
- package/lib/inputs2/selectfield/options.d.ts +1 -1
- package/lib/inputs2/selectfield/search.d.ts +1 -1
- package/lib/inputs2/selectfield/selections.d.ts +1 -1
- package/lib/inputs2/slot/index.d.ts +2 -2
- package/lib/inputs2/textareafield/index.d.ts +8 -0
- package/lib/inputs2/textareafield/index.js +191 -0
- package/package.json +1 -1
- package/lib/index-5e77448f.d.ts +0 -41
- package/lib/index-5f373da5.d.ts +0 -26
- package/lib/index-b4abd0b1.d.ts +0 -15
|
@@ -8,7 +8,7 @@ interface SlotProps extends React__default.ComponentProps<'div'> {
|
|
|
8
8
|
children: React__default.ReactNode;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const LeftSlot: React__default.ForwardRefExoticComponent<Pick<SlotProps, "
|
|
12
|
-
declare const RightSlot: React__default.ForwardRefExoticComponent<Pick<SlotProps, "
|
|
11
|
+
declare const LeftSlot: React__default.ForwardRefExoticComponent<Pick<SlotProps, "slot" | "style" | "title" | "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" | "disabled"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const RightSlot: React__default.ForwardRefExoticComponent<Pick<SlotProps, "slot" | "style" | "title" | "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" | "disabled"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
|
|
14
14
|
export { LeftSlot, RightSlot, SlotPosition, SlotProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
import '../../@types/Align.js';
|
|
3
|
+
import '../../@types/ColorStyles.js';
|
|
4
|
+
import '../../@types/Position.js';
|
|
5
|
+
import '../../@types/PermissionAttr.js';
|
|
6
|
+
export { LeftSlot, RightSlot } from '../slot/index.js';
|
|
7
|
+
import '../../tooltip/types.js';
|
|
8
|
+
export { I as Input, T as TextAreaFieldInputProps } from '../../index-208e7f62.js';
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Input = void 0;
|
|
7
|
+
Object.defineProperty(exports, "LeftSlot", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return _slot.LeftSlot;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "RightSlot", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () {
|
|
16
|
+
return _slot.RightSlot;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
require("../../assets/styles/textfield.scss");
|
|
20
|
+
var _react = _interopRequireDefault(require("react"));
|
|
21
|
+
var _lodash = _interopRequireDefault(require("lodash"));
|
|
22
|
+
var _gridlayout = _interopRequireDefault(require("../../gridlayout"));
|
|
23
|
+
var _hint = _interopRequireDefault(require("../../hint"));
|
|
24
|
+
var _tooltip = require("../../tooltip");
|
|
25
|
+
var _textContent = _interopRequireDefault(require("../../textContent"));
|
|
26
|
+
var _helpers = require("../../form2/helpers");
|
|
27
|
+
var _popover = _interopRequireWildcard(require("../../popover"));
|
|
28
|
+
var _permissionValidations = require("../../permissionValidations");
|
|
29
|
+
var _slot = require("../slot");
|
|
30
|
+
const _excluded = ["name", "label", "errors", "children", "maxLength", "onDeniedActions", "permissionAttr", "customClass", "customClassLabel", "customClassWrapper", "customClassInputContainer", "textAlign", "labelUppercase", "skeletonize", "hintPosition", "gridLayout", "themePopover", "popoverAlign", "tooltip", "tooltipPosition", "tooltipWidth", "hint"];
|
|
31
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
32
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
33
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
34
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
35
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
36
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
37
|
+
const options = [_permissionValidations.OPTIONS_ON_DENIED.disabled, _permissionValidations.OPTIONS_ON_DENIED.unvisible, _permissionValidations.OPTIONS_ON_DENIED.readOnly, _permissionValidations.OPTIONS_ON_DENIED.hideContent];
|
|
38
|
+
const Input = exports.Input = /*#__PURE__*/_react.default.forwardRef((props, ref) => {
|
|
39
|
+
const {
|
|
40
|
+
name,
|
|
41
|
+
label,
|
|
42
|
+
errors,
|
|
43
|
+
children,
|
|
44
|
+
maxLength = undefined,
|
|
45
|
+
onDeniedActions = undefined,
|
|
46
|
+
permissionAttr = undefined,
|
|
47
|
+
customClass = '',
|
|
48
|
+
customClassLabel = '',
|
|
49
|
+
customClassWrapper = '',
|
|
50
|
+
customClassInputContainer = '',
|
|
51
|
+
textAlign = 'left',
|
|
52
|
+
labelUppercase = false,
|
|
53
|
+
skeletonize = false,
|
|
54
|
+
hintPosition = 'below',
|
|
55
|
+
gridLayout = undefined,
|
|
56
|
+
themePopover = 'light',
|
|
57
|
+
popoverAlign = 'left',
|
|
58
|
+
tooltip,
|
|
59
|
+
tooltipPosition,
|
|
60
|
+
tooltipWidth,
|
|
61
|
+
hint
|
|
62
|
+
} = props,
|
|
63
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
64
|
+
const onDenied = _react.default.useMemo(() => {
|
|
65
|
+
return onDeniedActions || (0, _permissionValidations.actionsOnPermissionDenied)(options, permissionAttr);
|
|
66
|
+
}, [onDeniedActions, permissionAttr]);
|
|
67
|
+
const {
|
|
68
|
+
hideContent,
|
|
69
|
+
unvisible
|
|
70
|
+
} = onDenied;
|
|
71
|
+
const inputRef = _react.default.useRef(null);
|
|
72
|
+
const counterRef = _react.default.useRef(null);
|
|
73
|
+
const textAreaInternalRef = _react.default.useRef(null);
|
|
74
|
+
const hasLabel = !_lodash.default.isEmpty(props?.label);
|
|
75
|
+
const isReadOnly = Boolean(props.readOnly || onDenied.readOnly);
|
|
76
|
+
const isDisabled = Boolean(props.disabled || onDenied.disabled);
|
|
77
|
+
const hasHintMessages = Boolean(props.hint?.length);
|
|
78
|
+
const hintMustBeOnLabel = hintPosition === 'onLabelRight';
|
|
79
|
+
const hasValidationErrors = Boolean(errors?.length);
|
|
80
|
+
const hasMaxLengthCondition = Boolean(maxLength);
|
|
81
|
+
const {
|
|
82
|
+
leftSlotElements,
|
|
83
|
+
rightSlotElements
|
|
84
|
+
} = _react.default.useMemo(() => {
|
|
85
|
+
const left = [];
|
|
86
|
+
const right = [];
|
|
87
|
+
_react.default.Children.map(children, (childElement, index) => {
|
|
88
|
+
if (/*#__PURE__*/_react.default.isValidElement(childElement)) {
|
|
89
|
+
const clonedChild = /*#__PURE__*/_react.default.cloneElement(childElement, {
|
|
90
|
+
key: childElement.key ?? `slot-${index}`,
|
|
91
|
+
disabled: isDisabled,
|
|
92
|
+
'aria-disabled': isDisabled
|
|
93
|
+
});
|
|
94
|
+
if (childElement.type === _slot.LeftSlot) left.push(clonedChild);
|
|
95
|
+
if (childElement.type === _slot.RightSlot) right.push(clonedChild);
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
return {
|
|
99
|
+
leftSlotElements: left,
|
|
100
|
+
rightSlotElements: right
|
|
101
|
+
};
|
|
102
|
+
}, [children, isDisabled]);
|
|
103
|
+
const hasLeftSlotElements = Boolean(leftSlotElements?.length);
|
|
104
|
+
const hasRightSlotElements = Boolean(rightSlotElements?.length);
|
|
105
|
+
const handleOnInputData = event => {
|
|
106
|
+
const target = event.target;
|
|
107
|
+
const currentLength = target.value.length;
|
|
108
|
+
if (counterRef.current) {
|
|
109
|
+
counterRef.current.textContent = `${currentLength}/${maxLength}`;
|
|
110
|
+
/**
|
|
111
|
+
* Cálculo faz referência ao tamanho do espaço ocupado do contador de caracteres.
|
|
112
|
+
* Isso evita quebra de layout da interface.
|
|
113
|
+
*/
|
|
114
|
+
counterRef.current.style.width = `${_lodash.default.toNumber(maxLength?.toString().length) * 7 * 2 + 6}px`;
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
_react.default.useEffect(() => {
|
|
118
|
+
textAreaInternalRef?.current?.addEventListener('input', handleOnInputData);
|
|
119
|
+
return () => {
|
|
120
|
+
textAreaInternalRef?.current?.removeEventListener('input', handleOnInputData);
|
|
121
|
+
};
|
|
122
|
+
}, []);
|
|
123
|
+
if (unvisible || hideContent) return null;
|
|
124
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_gridlayout.default, {
|
|
125
|
+
cols: gridLayout
|
|
126
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
127
|
+
ref: inputRef,
|
|
128
|
+
className: `text-field-root ${customClassWrapper}`,
|
|
129
|
+
"data-state-error": hasValidationErrors
|
|
130
|
+
}, hasLabel && /*#__PURE__*/_react.default.createElement("span", {
|
|
131
|
+
className: `root-label ${customClassLabel}`,
|
|
132
|
+
"data-state-skeletonize": skeletonize
|
|
133
|
+
}, /*#__PURE__*/_react.default.createElement("label", {
|
|
134
|
+
className: "label",
|
|
135
|
+
title: label,
|
|
136
|
+
htmlFor: name,
|
|
137
|
+
"data-state-disabled": isDisabled,
|
|
138
|
+
"data-state-read-only": isReadOnly,
|
|
139
|
+
"data-state-input-required": props.required,
|
|
140
|
+
"data-state-label-uppercase": labelUppercase
|
|
141
|
+
}, label), hint && hintPosition === 'onLabelRight' && !skeletonize && /*#__PURE__*/_react.default.createElement(_popover.default, {
|
|
142
|
+
customClass: "label-popover",
|
|
143
|
+
theme: themePopover,
|
|
144
|
+
align: popoverAlign,
|
|
145
|
+
iconColor: "#03bde2"
|
|
146
|
+
}, /*#__PURE__*/_react.default.createElement(_popover.PopoverText, {
|
|
147
|
+
text: hint
|
|
148
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
149
|
+
"data-state-skeletonize": skeletonize,
|
|
150
|
+
className: `container ${customClassInputContainer}`
|
|
151
|
+
}, hasLeftSlotElements && !skeletonize && leftSlotElements, /*#__PURE__*/_react.default.createElement("textarea", _extends({
|
|
152
|
+
ref: (0, _helpers.mergeRefs)(ref, textAreaInternalRef),
|
|
153
|
+
id: name,
|
|
154
|
+
readOnly: isReadOnly,
|
|
155
|
+
disabled: isDisabled,
|
|
156
|
+
maxLength: maxLength,
|
|
157
|
+
className: `input ${customClass}`,
|
|
158
|
+
tabIndex: !isReadOnly ? 0 : -1,
|
|
159
|
+
placeholder: rest.placeholder,
|
|
160
|
+
"data-state-error": hasValidationErrors,
|
|
161
|
+
"data-state-read-only": isReadOnly,
|
|
162
|
+
"data-state-text-align": textAlign,
|
|
163
|
+
"data-state-skeletonize": skeletonize
|
|
164
|
+
}, rest)), hasRightSlotElements && !skeletonize && rightSlotElements), /*#__PURE__*/_react.default.createElement("div", {
|
|
165
|
+
className: "footer",
|
|
166
|
+
"data-state-has-max-length": hasMaxLengthCondition,
|
|
167
|
+
"data-state-has-hint": hasHintMessages && !hintMustBeOnLabel
|
|
168
|
+
}, /*#__PURE__*/_react.default.createElement(_hint.default, {
|
|
169
|
+
customClass: "hint",
|
|
170
|
+
description: hint,
|
|
171
|
+
disabled: isDisabled,
|
|
172
|
+
skeletonize: skeletonize,
|
|
173
|
+
visible: !hintMustBeOnLabel && hasHintMessages
|
|
174
|
+
}), hasMaxLengthCondition && /*#__PURE__*/_react.default.createElement(_textContent.default, {
|
|
175
|
+
ref: counterRef,
|
|
176
|
+
as: "span",
|
|
177
|
+
className: "max-length-counter"
|
|
178
|
+
}, "0/", _lodash.default.toNumber(maxLength))), hasValidationErrors && /*#__PURE__*/_react.default.createElement("span", {
|
|
179
|
+
className: "error",
|
|
180
|
+
"data-state-skeletonize": skeletonize,
|
|
181
|
+
"aria-describedby": String(name).concat('-errors')
|
|
182
|
+
}, errors?.map((error, index) => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
|
|
183
|
+
key: `${index + 1}-${error}`
|
|
184
|
+
}, error, "\xA0"))))), /*#__PURE__*/_react.default.createElement(_tooltip.Tooltip, {
|
|
185
|
+
targetRef: inputRef,
|
|
186
|
+
text: tooltip,
|
|
187
|
+
width: tooltipWidth,
|
|
188
|
+
position: tooltipPosition
|
|
189
|
+
}));
|
|
190
|
+
});
|
|
191
|
+
Input.displayName = 'TextAreaFieldInput';
|
package/package.json
CHANGED
package/lib/index-5e77448f.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { Size } from './@types/Size.js';
|
|
3
|
-
import { ColorTheme } from './@types/ColorStyles.js';
|
|
4
|
-
import { ITooltipCommonProps } from './tooltip/types.js';
|
|
5
|
-
import { HintPosition, Position } from './@types/Position.js';
|
|
6
|
-
import { PermissionAttr, OnDenied } from './@types/PermissionAttr.js';
|
|
7
|
-
|
|
8
|
-
type InputHTMLProps = Omit<React__default.ComponentProps<'input'>, 'size' | 'type'>;
|
|
9
|
-
interface CheckboxFieldInputProps extends InputHTMLProps, ITooltipCommonProps {
|
|
10
|
-
hint?: string;
|
|
11
|
-
label?: string;
|
|
12
|
-
size?: Exclude<Size, 'mini'>;
|
|
13
|
-
variant?: 'default' | 'secondary';
|
|
14
|
-
errors?: string[];
|
|
15
|
-
gridLayout?: string;
|
|
16
|
-
customClass?: string;
|
|
17
|
-
customClassLabel?: string;
|
|
18
|
-
customClassWrapper?: string;
|
|
19
|
-
customClassInputContainer?: string;
|
|
20
|
-
rounded?: boolean;
|
|
21
|
-
readOnly?: boolean;
|
|
22
|
-
skeletonize?: boolean;
|
|
23
|
-
labelUppercase?: boolean;
|
|
24
|
-
hintPosition?: HintPosition;
|
|
25
|
-
themePopover?: ColorTheme;
|
|
26
|
-
popoverAlign?: Extract<Position, 'left' | 'right'>;
|
|
27
|
-
permissionAttr?: PermissionAttr;
|
|
28
|
-
onDeniedActions?: OnDenied;
|
|
29
|
-
}
|
|
30
|
-
declare const Input: React__default.ForwardRefExoticComponent<Pick<CheckboxFieldInputProps, "disabled" | "readOnly" | "style" | "children" | "form" | "label" | "slot" | "title" | "pattern" | "className" | "customClass" | "key" | "width" | "height" | "align" | "name" | "onClick" | "size" | "color" | "tooltip" | "tooltipPosition" | "tooltipWidth" | "hidden" | "multiple" | "id" | "value" | "permissionAttr" | "skeletonize" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "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" | "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" | "list" | "step" | "labelUppercase" | "maxLength" | "required" | "hint" | "hintPosition" | "rounded" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "themePopover" | "popoverAlign" | "checked" | "max" | "min" | "src" | "alt" | "errors" | "capture" | "crossOrigin" | "enterKeyHint" | "minLength" | "customClassLabel" | "customClassWrapper" | "customClassInputContainer" | "variant"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
31
|
-
|
|
32
|
-
type index_CheckboxFieldInputProps = CheckboxFieldInputProps;
|
|
33
|
-
declare const index_Input: typeof Input;
|
|
34
|
-
declare namespace index {
|
|
35
|
-
export {
|
|
36
|
-
index_CheckboxFieldInputProps as CheckboxFieldInputProps,
|
|
37
|
-
index_Input as Input,
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export { CheckboxFieldInputProps as C, Input as I, index as i };
|
package/lib/index-5f373da5.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
|
|
3
|
-
import { Options } from './inputs2/selectfield/options.js';
|
|
4
|
-
import { Item } from './inputs2/selectfield/item.js';
|
|
5
|
-
import { SelectFieldInputProps } from './inputs2/selectfield/types.js';
|
|
6
|
-
|
|
7
|
-
declare const Input: React__default.ForwardRefExoticComponent<Pick<SelectFieldInputProps, "disabled" | "readOnly" | "style" | "children" | "form" | "label" | "slot" | "title" | "pattern" | "className" | "customClass" | "key" | "width" | "height" | "align" | "name" | "onClick" | "size" | "color" | "tooltip" | "tooltipPosition" | "tooltipWidth" | "hidden" | "multiple" | "id" | "value" | "permissionAttr" | "skeletonize" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "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" | "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" | "list" | "step" | "maxLength" | "required" | "hint" | "hintPosition" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "themePopover" | "popoverAlign" | "checked" | "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>>;
|
|
8
|
-
|
|
9
|
-
declare const index_Input: typeof Input;
|
|
10
|
-
declare const index_Item: typeof Item;
|
|
11
|
-
declare const index_LeftSlot: typeof LeftSlot;
|
|
12
|
-
declare const index_Options: typeof Options;
|
|
13
|
-
declare const index_RightSlot: typeof RightSlot;
|
|
14
|
-
declare const index_SelectFieldInputProps: typeof SelectFieldInputProps;
|
|
15
|
-
declare namespace index {
|
|
16
|
-
export {
|
|
17
|
-
index_Input as Input,
|
|
18
|
-
index_Item as Item,
|
|
19
|
-
index_LeftSlot as LeftSlot,
|
|
20
|
-
index_Options as Options,
|
|
21
|
-
index_RightSlot as RightSlot,
|
|
22
|
-
index_SelectFieldInputProps as SelectFieldInputProps,
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { Input as I, index as i };
|
package/lib/index-b4abd0b1.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { RadioFieldInputProps } from './inputs2/radiofield/types.js';
|
|
3
|
-
|
|
4
|
-
declare const Input: React__default.ForwardRefExoticComponent<Pick<RadioFieldInputProps, "disabled" | "readOnly" | "style" | "children" | "form" | "label" | "slot" | "title" | "pattern" | "className" | "customClass" | "key" | "width" | "height" | "align" | "name" | "onClick" | "size" | "color" | "tooltip" | "tooltipPosition" | "tooltipWidth" | "hidden" | "id" | "value" | "permissionAttr" | "skeletonize" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "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" | "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" | "list" | "step" | "labelUppercase" | "maxLength" | "required" | "hint" | "hintPosition" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "themePopover" | "popoverAlign" | "checked" | "max" | "min" | "src" | "alt" | "errors" | "capture" | "crossOrigin" | "enterKeyHint" | "minLength" | "customClassLabel" | "customClassWrapper" | "customClassInputContainer" | "getFieldValue"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
5
|
-
|
|
6
|
-
declare const index_Input: typeof Input;
|
|
7
|
-
declare const index_RadioFieldInputProps: typeof RadioFieldInputProps;
|
|
8
|
-
declare namespace index {
|
|
9
|
-
export {
|
|
10
|
-
index_Input as Input,
|
|
11
|
-
index_RadioFieldInputProps as RadioFieldInputProps,
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { Input as I, index as i };
|