linear-react-components-ui 1.1.24-rc.1 → 1.1.25-beta.10

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.
Files changed (114) hide show
  1. package/lib/{BaseMask-0c14ef51.d.ts → BaseMask-78847f45.d.ts} +1 -1
  2. package/lib/{Cnpj-bde01dd0.d.ts → Cnpj-8366781f.d.ts} +1 -1
  3. package/lib/{Cpf-3fa496ad.d.ts → Cpf-3dfd54eb.d.ts} +1 -1
  4. package/lib/{Phone-2bb0b397.d.ts → Phone-1962c0f2.d.ts} +1 -1
  5. package/lib/{ZipCode-09460e18.d.ts → ZipCode-be9c5b3b.d.ts} +1 -1
  6. package/lib/assets/styles/button.scss +1 -1
  7. package/lib/assets/styles/calendar.scss +3 -3
  8. package/lib/assets/styles/datepicker2.scss +8 -7
  9. package/lib/assets/styles/dialog.scss +1 -1
  10. package/lib/assets/styles/drawers.scss +1 -2
  11. package/lib/assets/styles/fieldset.scss +1 -1
  12. package/lib/assets/styles/gridlayout.scss +20 -19
  13. package/lib/assets/styles/multiSelect.scss +6 -6
  14. package/lib/assets/styles/periodpicker.scss +1 -1
  15. package/lib/assets/styles/radio.scss +114 -87
  16. package/lib/assets/styles/selectfield.scss +7 -3
  17. package/lib/assets/styles/split.scss +1 -1
  18. package/lib/assets/styles/table.scss +6 -0
  19. package/lib/assets/styles/tabs.scss +6 -2
  20. package/lib/assets/styles/textfield.scss +7 -3
  21. package/lib/assets/styles/tooltip.scss +5 -4
  22. package/lib/buttons/DefaultButton.js +1 -1
  23. package/lib/checkbox/index.js +3 -1
  24. package/lib/checkbox/types.d.ts +1 -0
  25. package/lib/dialog/base/Content.js +4 -4
  26. package/lib/dialog/base/index.js +20 -22
  27. package/lib/dialog/form/index.js +6 -4
  28. package/lib/drawer/Drawer.js +3 -4
  29. package/lib/drawer/index.js +1 -1
  30. package/lib/form2/index.d.ts +1 -1
  31. package/lib/form2/types.d.ts +4 -0
  32. package/lib/form2/useForm/index.js +2 -0
  33. package/lib/icons/helper.d.ts +12 -0
  34. package/lib/icons/helper.js +12 -0
  35. package/lib/{index-3b70931d.d.ts → index-02a27c19.d.ts} +2 -20
  36. package/lib/index-053f615b.d.ts +26 -0
  37. package/lib/{index-7dfa8924.d.ts → index-25b80f32.d.ts} +1 -1
  38. package/lib/{index-9e576346.d.ts → index-6f5c772d.d.ts} +1 -1
  39. package/lib/{index-208e7f62.d.ts → index-6fcf446c.d.ts} +2 -20
  40. package/lib/index-7159df18.d.ts +21 -0
  41. package/lib/index-afb7b5a9.d.ts +15 -0
  42. package/lib/inputs/date/index.js +3 -6
  43. package/lib/inputs/multiSelect/Dropdown.js +4 -3
  44. package/lib/inputs/multiSelect/index.js +23 -5
  45. package/lib/inputs/multiSelect/types.d.ts +2 -0
  46. package/lib/inputs/period/PeriodList.js +3 -12
  47. package/lib/inputs/period/index.js +97 -124
  48. package/lib/inputs/search/index.js +6 -2
  49. package/lib/inputs/select/multiple/index.js +3 -2
  50. package/lib/inputs/select/simple/index.js +4 -3
  51. package/lib/inputs/select/types.d.ts +1 -0
  52. package/lib/inputs/types.d.ts +1 -0
  53. package/lib/inputs2/checkboxfield/base.d.ts +29 -0
  54. package/lib/inputs2/checkboxfield/base.js +134 -0
  55. package/lib/inputs2/checkboxfield/index.d.ts +3 -2
  56. package/lib/inputs2/checkboxfield/index.js +32 -124
  57. package/lib/inputs2/colorfield/index.d.ts +6 -5
  58. package/lib/inputs2/date/base/index.js +1 -2
  59. package/lib/inputs2/date/datefield/base.d.ts +13 -0
  60. package/lib/inputs2/date/datefield/base.js +330 -0
  61. package/lib/inputs2/date/datefield/calendarbox.d.ts +1 -1
  62. package/lib/inputs2/date/datefield/index.js +34 -322
  63. package/lib/inputs2/date/datefield/types.d.ts +5 -3
  64. package/lib/inputs2/date/dateperiodfield/base.d.ts +13 -0
  65. package/lib/inputs2/date/dateperiodfield/base.js +595 -0
  66. package/lib/inputs2/date/dateperiodfield/calendarbox.d.ts +1 -1
  67. package/lib/inputs2/date/dateperiodfield/index.js +34 -587
  68. package/lib/inputs2/date/dateperiodfield/types.d.ts +5 -3
  69. package/lib/inputs2/filefield/index.d.ts +6 -5
  70. package/lib/inputs2/index.d.ts +18 -15
  71. package/lib/inputs2/mask/BaseMask.d.ts +6 -5
  72. package/lib/inputs2/mask/Cnpj.d.ts +7 -6
  73. package/lib/inputs2/mask/Cpf.d.ts +7 -6
  74. package/lib/inputs2/mask/Phone.d.ts +7 -6
  75. package/lib/inputs2/mask/ZipCode.d.ts +7 -6
  76. package/lib/inputs2/numberfield/currency.d.ts +5 -4
  77. package/lib/inputs2/numberfield/decimal.d.ts +5 -4
  78. package/lib/inputs2/numberfield/index.d.ts +5 -4
  79. package/lib/inputs2/numberfield/index.js +19 -2
  80. package/lib/inputs2/numberfield/types.d.ts +5 -4
  81. package/lib/inputs2/radiofield/base.d.ts +12 -0
  82. package/lib/inputs2/radiofield/base.js +156 -0
  83. package/lib/inputs2/radiofield/index.d.ts +1 -1
  84. package/lib/inputs2/radiofield/index.js +30 -119
  85. package/lib/inputs2/radiofield/types.d.ts +6 -3
  86. package/lib/inputs2/selectfield/base.d.ts +11 -0
  87. package/lib/inputs2/selectfield/base.js +513 -0
  88. package/lib/inputs2/selectfield/index.d.ts +1 -1
  89. package/lib/inputs2/selectfield/index.js +35 -502
  90. package/lib/inputs2/selectfield/item.d.ts +1 -1
  91. package/lib/inputs2/selectfield/listbox.d.ts +1 -1
  92. package/lib/inputs2/selectfield/options.d.ts +1 -1
  93. package/lib/inputs2/selectfield/search.d.ts +1 -1
  94. package/lib/inputs2/selectfield/selections.d.ts +1 -1
  95. package/lib/inputs2/selectfield/types.d.ts +8 -6
  96. package/lib/inputs2/slot/index.d.ts +2 -2
  97. package/lib/inputs2/textareafield/base.d.ts +26 -0
  98. package/lib/inputs2/textareafield/base.js +166 -0
  99. package/lib/inputs2/textareafield/index.d.ts +4 -3
  100. package/lib/inputs2/textareafield/index.js +30 -154
  101. package/lib/inputs2/textfield/base.d.ts +26 -0
  102. package/lib/inputs2/textfield/base.js +131 -0
  103. package/lib/inputs2/textfield/index.d.ts +5 -4
  104. package/lib/inputs2/textfield/index.js +30 -120
  105. package/lib/radio/index.js +8 -7
  106. package/lib/table/index.js +18 -8
  107. package/lib/table/types.d.ts +1 -0
  108. package/lib/tabs/index.js +2 -2
  109. package/lib/tooltip/TooltipContent.js +1 -1
  110. package/lib/tooltip/useTooltip.js +25 -0
  111. package/package.json +1 -1
  112. package/lib/index-4b31b471.d.ts +0 -15
  113. package/lib/index-8a0c7463.d.ts +0 -41
  114. package/lib/index-9203efed.d.ts +0 -26
@@ -45,7 +45,8 @@ const CheckBox = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
45
45
  customClassForLabel,
46
46
  hintPosition = 'below',
47
47
  themePopover = 'light',
48
- popoverAlign = 'left'
48
+ popoverAlign = 'left',
49
+ tabIndex = 0
49
50
  } = _ref;
50
51
  const [isChecked, setIsChecked] = (0, _react.useState)(checked);
51
52
  const options = [_permissionValidations.OPTIONS_ON_DENIED.disabled, _permissionValidations.OPTIONS_ON_DENIED.unvisible];
@@ -95,6 +96,7 @@ const CheckBox = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
95
96
  if (targetRef) targetRef(r);
96
97
  inputRef.current = r;
97
98
  },
99
+ tabIndex: tabIndex,
98
100
  className: "input",
99
101
  type: "checkbox",
100
102
  autoFocus: autofocus,
@@ -40,6 +40,7 @@ interface ICheckBoxProps {
40
40
  targetSpanRef?: (ref: HTMLSpanElement | null) => void;
41
41
  errorMessages?: string[] | undefined;
42
42
  customClassForLabel?: string;
43
+ tabIndex?: number;
43
44
  themePopover?: 'light' | 'dark';
44
45
  popoverAlign?: 'right' | 'left';
45
46
  }
@@ -4,19 +4,19 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _react = _interopRequireWildcard(require("react"));
7
+ var _react = _interopRequireDefault(require("react"));
8
8
  require("../../assets/styles/dialog.scss");
9
- function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
10
  const Content = _ref => {
11
11
  let {
12
12
  children,
13
13
  styleForContent,
14
14
  className = ''
15
15
  } = _ref;
16
- return /*#__PURE__*/_react.default.createElement(_react.Suspense, null, /*#__PURE__*/_react.default.createElement("div", {
16
+ return /*#__PURE__*/_react.default.createElement("div", {
17
17
  id: "modal-dialog-content",
18
18
  className: "dialog-content ".concat(className),
19
19
  style: styleForContent
20
- }, children));
20
+ }, children);
21
21
  };
22
22
  var _default = exports.default = Content;
@@ -4,15 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = exports.DialogContext = void 0;
7
- var _react = _interopRequireWildcard(require("react"));
7
+ require("../../assets/styles/dialog.scss");
8
+ var _react = _interopRequireDefault(require("react"));
8
9
  var _reactDom = _interopRequireDefault(require("react-dom"));
9
10
  var uuid = _interopRequireWildcard(require("uuid"));
10
11
  var _style = _interopRequireDefault(require("./style"));
11
- require("../../assets/styles/dialog.scss");
12
12
  var _form = require("../form");
13
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
13
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
15
- const DialogContext = exports.DialogContext = /*#__PURE__*/(0, _react.createContext)({});
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ const DialogContext = exports.DialogContext = /*#__PURE__*/_react.default.createContext({});
16
16
  const {
17
17
  body
18
18
  } = document;
@@ -33,23 +33,23 @@ const BaseDialog = props => {
33
33
  } = props;
34
34
  const {
35
35
  headerRef
36
- } = (0, _react.useContext)(_form.FormDialogContext);
37
- const [isDragging, setIsDragging] = (0, _react.useState)(false);
38
- const [open = true, setOpen] = (0, _react.useState)(openProp);
39
- const wrapperEl = (0, _react.useRef)(null);
40
- const modalContainerRef = (0, _react.useRef)(null);
41
- const focusableElementsRef = (0, _react.useRef)([]);
36
+ } = _react.default.useContext(_form.FormDialogContext);
37
+ const [open = true, setOpen] = _react.default.useState(openProp);
38
+ const [isDragging, setIsDragging] = _react.default.useState(false);
39
+ const wrapperEl = _react.default.useRef(null);
40
+ const modalContainerRef = _react.default.useRef(null);
41
+ const focusableElementsRef = _react.default.useRef([]);
42
42
  if (openProp !== undefined && openProp !== open) {
43
43
  setOpen(openProp);
44
44
  }
45
- const handleClose = () => {
45
+ const handleClose = _react.default.useCallback(() => {
46
46
  if (openProp !== undefined && onOpenChange) {
47
47
  onOpenChange(false);
48
48
  } else {
49
49
  if (handlerClose) handlerClose();
50
50
  if (onOpenChange) onOpenChange(false);
51
51
  }
52
- };
52
+ }, [openProp, onOpenChange, handlerClose]);
53
53
  const handleClickOutside = event => {
54
54
  if (!closeOnOutsideClick) return;
55
55
  const target = event.target;
@@ -58,17 +58,15 @@ const BaseDialog = props => {
58
58
  handleClose();
59
59
  }
60
60
  };
61
- const onKeyDownPress = event => {
61
+ const onKeyDownPress = _react.default.useCallback(event => {
62
62
  if ((event === null || event === void 0 ? void 0 : event.key) === 'Escape') {
63
63
  event.stopPropagation();
64
64
  handleClose();
65
65
  }
66
- };
67
- (0, _react.useEffect)(() => {
66
+ }, [handleClose]);
67
+ _react.default.useEffect(() => {
68
68
  if (open && modalContainerRef.current) {
69
- var _focusableElementsRef;
70
69
  focusableElementsRef.current = Array.from(modalContainerRef.current.querySelectorAll("button, a, input, select, textarea, [tabindex]:not([tabindex='-1'])"));
71
- (_focusableElementsRef = focusableElementsRef.current[0]) === null || _focusableElementsRef === void 0 ? void 0 : _focusableElementsRef.focus();
72
70
  }
73
71
  }, [open]);
74
72
  const onDialogPositionChange = _ref => {
@@ -151,7 +149,7 @@ const BaseDialog = props => {
151
149
  style: (0, _style.default)(props),
152
150
  ref: wrapperEl
153
151
  }, children)));
154
- (0, _react.useLayoutEffect)(() => {
152
+ _react.default.useLayoutEffect(() => {
155
153
  const {
156
154
  activeElement
157
155
  } = document;
@@ -160,7 +158,7 @@ const BaseDialog = props => {
160
158
  lastElementActiveBeforeOpen === null || lastElementActiveBeforeOpen === void 0 ? void 0 : lastElementActiveBeforeOpen.focus();
161
159
  };
162
160
  }, []);
163
- (0, _react.useEffect)(() => {
161
+ _react.default.useEffect(() => {
164
162
  if (open) {
165
163
  if (closeOnEsc) {
166
164
  document.addEventListener('keydown', onKeyDownPress);
@@ -169,8 +167,8 @@ const BaseDialog = props => {
169
167
  return () => {
170
168
  document.removeEventListener('keydown', onKeyDownPress);
171
169
  };
172
- }, [open, closeOnEsc]);
173
- (0, _react.useEffect)(() => {
170
+ }, [open, closeOnEsc, onKeyDownPress]);
171
+ _react.default.useEffect(() => {
174
172
  if (open) {
175
173
  document.addEventListener('mousedown', onMouseDown);
176
174
  document.addEventListener('mouseup', onMouseUp);
@@ -182,7 +180,7 @@ const BaseDialog = props => {
182
180
  document.removeEventListener('mousemove', onMouseMove);
183
181
  };
184
182
  }, [isDragging, open]);
185
- (0, _react.useEffect)(() => {
183
+ _react.default.useEffect(() => {
186
184
  const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
187
185
  const originalOverflow = document.body.style.overflow;
188
186
  const originalPaddingRight = document.body.style.paddingRight;
@@ -34,6 +34,7 @@ const ModalForm = props => {
34
34
  wrapperClassName = '',
35
35
  contentClassName = '',
36
36
  headerClassName = '',
37
+ closeOnEsc = true,
37
38
  securityBeforeUnload = false,
38
39
  securityTitle = 'Dados Alterados',
39
40
  securityText = 'Você possui dados alterados, confirma o fechamento?'
@@ -45,7 +46,7 @@ const ModalForm = props => {
45
46
  opacity: 0.4,
46
47
  pointerEvent: 'none'
47
48
  } : {};
48
- const handlerClose = () => {
49
+ const handlerClose = (0, _react.useCallback)(() => {
49
50
  if (securityBeforeUnload) {
50
51
  setShowSecurityDialog(true);
51
52
  return;
@@ -53,7 +54,7 @@ const ModalForm = props => {
53
54
  if (props.handlerClose) {
54
55
  props.handlerClose();
55
56
  }
56
- };
57
+ }, [securityBeforeUnload, props.handlerClose]);
57
58
  const onConfirmSecurity = () => {
58
59
  var _props$handlerClose;
59
60
  (_props$handlerClose = props.handlerClose) === null || _props$handlerClose === void 0 ? void 0 : _props$handlerClose.call(props);
@@ -93,8 +94,9 @@ const ModalForm = props => {
93
94
  height: height,
94
95
  className: className,
95
96
  wrapperClassName: "dialog-form-wrapper ".concat(wrapperClassName),
96
- securityBeforeUnload: securityBeforeUnload,
97
- handlerClose: handlerClose
97
+ handlerClose: handlerClose,
98
+ closeOnEsc: closeOnEsc,
99
+ securityBeforeUnload: securityBeforeUnload
98
100
  }), props.title && /*#__PURE__*/_react.default.createElement("div", {
99
101
  className: "header-form ".concat(headerClassName)
100
102
  }, /*#__PURE__*/_react.default.createElement(_Header.default, {
@@ -82,6 +82,7 @@ const BaseDrawer = _ref => {
82
82
  const drawerOverlay = document.createElement('div');
83
83
  drawerOverlay.className = 'drawer-overlay';
84
84
  drawerOverlay.id = id;
85
+ drawerOverlay.inert = false;
85
86
  drawerOverlay.dataset.testid = 'drawer-overlay';
86
87
  body.appendChild(drawerOverlay);
87
88
  };
@@ -100,10 +101,8 @@ const BaseDrawer = _ref => {
100
101
  } else {
101
102
  body = document.getElementById(targetId);
102
103
  }
104
+ if (overlay && body) setDrawerOverlay(body, overlayId);
103
105
  if (body) setDrawerComponent(body, randomId);
104
- if (overlay && body) {
105
- setDrawerOverlay(body, overlayId);
106
- }
107
106
  return () => {
108
107
  const drawerOverlay = document.getElementById(overlayId);
109
108
  if (closeOnEsc) document.body.removeEventListener('keydown', closeDrawerOnEsc);
@@ -139,7 +138,7 @@ const BaseDrawer = _ref => {
139
138
  className: "drawercontent ".concat(skeletonize ? '-skeletonized' : '', " ").concat(customClassForContent)
140
139
  }, title && /*#__PURE__*/_react.default.createElement(_.DrawerHeader, _extends({}, headerProps, {
141
140
  customClass: customClassForDrawer
142
- })), /*#__PURE__*/_react.default.createElement(_react.Suspense, null, content ? /*#__PURE__*/_react.default.createElement(_.DrawerContent, null, content) : children), getSpinner())));
141
+ })), content ? /*#__PURE__*/_react.default.createElement(_.DrawerContent, null, content) : children, getSpinner())));
143
142
  return /*#__PURE__*/_reactDom.default.createPortal(drawerContent(), drawerContainerEl.current);
144
143
  };
145
144
  var _default = exports.default = BaseDrawer;
@@ -16,10 +16,10 @@ Object.defineProperty(exports, "DrawerHeader", {
16
16
  }
17
17
  });
18
18
  exports.default = void 0;
19
+ require("../assets/styles/drawers.scss");
19
20
  var _Drawer = _interopRequireDefault(require("./Drawer"));
20
21
  var _Header = _interopRequireDefault(require("./Header"));
21
22
  var _Content = _interopRequireDefault(require("./Content"));
22
- require("../assets/styles/drawers.scss");
23
23
  var _withFormSecurity = _interopRequireDefault(require("../form/withFormSecurity"));
24
24
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
25
25
  var _default = exports.default = (0, _withFormSecurity.default)(_Drawer.default);
@@ -4,6 +4,6 @@ import './types.js';
4
4
 
5
5
  interface FormElementProps extends React__default.ComponentProps<'form'> {
6
6
  }
7
- declare const Form: React__default.ForwardRefExoticComponent<Pick<FormElementProps, "key" | "style" | "children" | "slot" | "title" | "className" | "align" | "name" | "onClick" | "color" | "hidden" | "target" | "id" | "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" | "rel" | "autoComplete" | "acceptCharset" | "action" | "encType" | "method" | "noValidate"> & React__default.RefAttributes<HTMLFormElement>>;
7
+ declare const Form: React__default.ForwardRefExoticComponent<Pick<FormElementProps, "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" | "name" | "target" | "rel" | "autoComplete" | "acceptCharset" | "action" | "encType" | "method" | "noValidate"> & React__default.RefAttributes<HTMLFormElement>>;
8
8
 
9
9
  export { Form as default };
@@ -55,6 +55,10 @@ interface UseFormReturn<T> {
55
55
  * Indica se o formulário está válido com base nos validadores definidos.
56
56
  */
57
57
  isValid: boolean;
58
+ /**
59
+ * Indica se houve alguma alteração em qualquer campo do formulário em relação ao `initialValues`.
60
+ */
61
+ formHasChange: boolean;
58
62
  /**
59
63
  * Registra um campo no formulário, integrando com `ref`, `value`, `onChange` e `onBlur`.
60
64
  * @param name - Nome do campo.
@@ -185,6 +185,7 @@ const useForm = _ref => {
185
185
  callback(values);
186
186
  };
187
187
  const isValid = _react.default.useMemo(() => checkFormIsValid(), [checkFormIsValid]);
188
+ const formHasChange = _react.default.useMemo(() => Object.values(changed).some(Boolean), [changed]);
188
189
  return {
189
190
  reset,
190
191
  changed,
@@ -192,6 +193,7 @@ const useForm = _ref => {
192
193
  errors,
193
194
  touched,
194
195
  isValid,
196
+ formHasChange,
195
197
  register,
196
198
  cleanErrors,
197
199
  changeValues,
@@ -651,6 +651,18 @@ declare const _default: {
651
651
  viewbox: string;
652
652
  paths: string[];
653
653
  };
654
+ perdaConsumoInterno: {
655
+ viewbox: string;
656
+ paths: string[];
657
+ };
658
+ inventario: {
659
+ viewbox: string;
660
+ paths: string[];
661
+ };
662
+ trocaFornecedor: {
663
+ viewbox: string;
664
+ paths: string[];
665
+ };
654
666
  };
655
667
 
656
668
  export { _default as default };
@@ -656,5 +656,17 @@ var _default = exports.default = {
656
656
  minus: {
657
657
  viewbox: '0 0 16 16',
658
658
  paths: ['M0 5h16v6h-16z']
659
+ },
660
+ perdaConsumoInterno: {
661
+ viewbox: '0 0 16 16',
662
+ paths: ['M6 7.25c0 0.412-0.338 0.75-0.75 0.75h-1.5c-0.413 0-0.75-0.338-0.75-0.75v-1.5c0-0.412 0.337-0.75 0.75-0.75h1.5c0.412 0 0.75 0.338 0.75 0.75v1.5z', 'M11 7.25c0 0.412-0.338 0.75-0.75 0.75h-1.5c-0.412 0-0.75-0.338-0.75-0.75v-1.5c0-0.412 0.338-0.75 0.75-0.75h1.5c0.412 0 0.75 0.338 0.75 0.75v1.5z', 'M6 12.25c0 0.412-0.338 0.75-0.75 0.75h-1.5c-0.413 0-0.75-0.338-0.75-0.75v-1.5c0-0.412 0.337-0.75 0.75-0.75h1.5c0.412 0 0.75 0.338 0.75 0.75v1.5z', 'M14.251 2.5l1.749-1.749v-0.751h-0.751l-1.749 1.749-1.749-1.749h-0.751v0.751l1.749 1.749-1.749 1.749v0.751h0.751l1.749-1.749 1.749 1.749h0.751v-0.751z', 'M0 12h1v2h-1v-2z', 'M0 9h1v2h-1v-2z', 'M13 7h1v2h-1v-2z', 'M13 13h1v2h-1v-2z', 'M13 10h1v2h-1v-2z', 'M0 6h1v2h-1v-2z', 'M0 3h1v2h-1v-2z', 'M8 2h2v1h-2v-1z', 'M5 2h2v1h-2v-1z', 'M2 2h2v1h-2v-1z', 'M7 15h2v1h-2v-1z', 'M10 15h2v1h-2v-1z', 'M4 15h2v1h-2v-1z', 'M1 15h2v1h-2v-1z']
663
+ },
664
+ inventario: {
665
+ viewbox: '0 0 16 16',
666
+ paths: ['M11 4v-4h-11v11h4v5h12v-12h-5zM10 6.125h-4v-0.125h4v0.125zM10 10h-4v-0.125h4v0.125zM10 9.625h-4v-0.25h4v0.25zM10 9.125h-4v-0.25h4v0.25zM10 8.625h-4v-0.25h4v0.25zM10 8.125h-4v-0.25h4v0.25zM10 7.625h-4v-0.25h4v0.25zM10 7.125h-4v-0.25h4v0.25zM10 6.625h-4v-0.25h4v0.25zM4 10h-3v-9h9v3h-6v6zM15 15h-10v-3h7v-7h3v10z']
667
+ },
668
+ trocaFornecedor: {
669
+ viewbox: '0 0 16 16',
670
+ paths: ['M11 8v6h1v-6h2.5l-3-3-3 3z', 'M1 3h1.5v1h-1.5v-1z', 'M3 3h1.5v1h-1.5v-1z', 'M5 3h1v1.5h-1v-1.5z', 'M1 6.5h1v1.5h-1v-1.5z', 'M2.5 7h1.5v1h-1.5v-1z', 'M4.5 7h1.5v1h-1.5v-1z', 'M1 4.5h1v1.5h-1v-1.5z', 'M5 5h1v1.5h-1v-1.5z', 'M5 11v3h-3v-3h3zM6 10h-5v5h5v-5z']
659
671
  }
660
672
  };
@@ -1,28 +1,10 @@
1
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
2
  import { PermissionAttr, OnDenied } from './@types/PermissionAttr.js';
6
3
  import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
7
- import { ITooltipCommonProps } from './tooltip/types.js';
4
+ import { TextFieldInputBaseProps } from './inputs2/textfield/base.js';
8
5
 
9
- interface TextFieldInputProps extends React__default.ComponentPropsWithoutRef<'input'>, ITooltipCommonProps {
10
- hint?: string;
11
- label?: string;
12
- errors?: string[];
6
+ interface TextFieldInputProps extends TextFieldInputBaseProps {
13
7
  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
8
  permissionAttr?: PermissionAttr;
27
9
  onDeniedActions?: OnDenied;
28
10
  }
@@ -0,0 +1,26 @@
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<SelectFieldInputProps & 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 };
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { T as TextFieldInputProps } from './index-3b70931d.js';
2
+ import { T as TextFieldInputProps } from './index-02a27c19.js';
3
3
 
4
4
  interface FileFieldInputProps extends Omit<TextFieldInputProps, 'type'> {
5
5
  multiple?: boolean;
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
3
- import { T as TextFieldInputProps } from './index-3b70931d.js';
3
+ import { T as TextFieldInputProps } from './index-02a27c19.js';
4
4
 
5
5
  interface ColorFieldInputProps extends TextFieldInputProps {
6
6
  isTypeText?: boolean;
@@ -1,28 +1,10 @@
1
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
2
  import { PermissionAttr, OnDenied } from './@types/PermissionAttr.js';
6
3
  import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
7
- import { ITooltipCommonProps } from './tooltip/types.js';
4
+ import { TextAreaFieldInputBaseProps } from './inputs2/textareafield/base.js';
8
5
 
9
- interface TextAreaFieldInputProps extends React__default.ComponentPropsWithoutRef<'textarea'>, ITooltipCommonProps {
10
- hint?: string;
11
- label?: string;
12
- errors?: string[];
6
+ interface TextAreaFieldInputProps extends TextAreaFieldInputBaseProps {
13
7
  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
8
  permissionAttr?: PermissionAttr;
27
9
  onDeniedActions?: OnDenied;
28
10
  }
@@ -0,0 +1,21 @@
1
+ import React__default from 'react';
2
+ import { PermissionAttr, OnDenied } from './@types/PermissionAttr.js';
3
+ import { CheckboxFieldInputBaseProps } from './inputs2/checkboxfield/base.js';
4
+
5
+ interface CheckboxFieldInputProps extends CheckboxFieldInputBaseProps {
6
+ gridLayout?: string;
7
+ permissionAttr?: PermissionAttr;
8
+ onDeniedActions?: OnDenied;
9
+ }
10
+ declare const Input: React__default.ForwardRefExoticComponent<CheckboxFieldInputProps & React__default.RefAttributes<HTMLInputElement>>;
11
+
12
+ type index_CheckboxFieldInputProps = CheckboxFieldInputProps;
13
+ declare const index_Input: typeof Input;
14
+ declare namespace index {
15
+ export {
16
+ index_CheckboxFieldInputProps as CheckboxFieldInputProps,
17
+ index_Input as Input,
18
+ };
19
+ }
20
+
21
+ export { CheckboxFieldInputProps as C, Input as I, index as i };
@@ -0,0 +1,15 @@
1
+ import React__default from 'react';
2
+ import { RadioFieldInputProps } from './inputs2/radiofield/types.js';
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" | "fieldId" | "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 };
@@ -4,16 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
+ require("../../assets/styles/datepicker.scss");
7
8
  var _react = _interopRequireWildcard(require("react"));
8
9
  var _moment = _interopRequireDefault(require("moment"));
9
10
  var _gridlayout = _interopRequireDefault(require("../../gridlayout"));
10
11
  var _buttons = _interopRequireDefault(require("../../buttons"));
11
12
  var _calendar = _interopRequireDefault(require("../../calendar"));
13
+ var _BaseMask = _interopRequireDefault(require("../mask/BaseMask"));
12
14
  var _Dialog = _interopRequireDefault(require("./Dialog"));
13
15
  var _Dropdown = _interopRequireDefault(require("./Dropdown"));
14
16
  var _helpers = require("./helpers");
15
- require("../../assets/styles/datepicker.scss");
16
- var _BaseMask = _interopRequireDefault(require("../mask/BaseMask"));
17
17
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
18
18
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
19
19
  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); }
@@ -287,10 +287,7 @@ const DatePicker = props => {
287
287
  onChange: (e, date) => {
288
288
  if (date) onInputChange(e, date);
289
289
  },
290
- inputRef: el => {
291
- inputDateRef.current = el;
292
- if (inputRefProp) inputRefProp.current = el;
293
- },
290
+ inputRef: inputRefProp,
294
291
  rightElements: getButtonOpen(),
295
292
  required: required,
296
293
  handlerSetOnDenied: () => setOnDenied(onDenied)
@@ -60,13 +60,14 @@ const Dropdown = props => {
60
60
  onUncheckAll,
61
61
  onCheckAll,
62
62
  selecteds,
63
- onSelect
63
+ onSelect,
64
+ dropdownMaxWidth
64
65
  } = props;
65
66
  const [dropdownDynamicStyles] = (0, _react.useState)(returnDropdownDynamicStyles(selectFieldRef, dropdownMaxHeight || 0));
66
67
  return /*#__PURE__*/_react.default.createElement("div", {
67
68
  className: "dropdown",
68
69
  style: _objectSpread({
69
- width: dropdownWidth,
70
+ width: dropdownMaxWidth || dropdownWidth,
70
71
  marginLeft: gridWrapperStyle ? gridWrapperStyle.paddingLeft : '0'
71
72
  }, dropdownDynamicStyles)
72
73
  }, /*#__PURE__*/_react.default.createElement("div", {
@@ -88,7 +89,7 @@ const Dropdown = props => {
88
89
  }), /*#__PURE__*/_react.default.createElement(_icons.default, {
89
90
  customClass: "filtericon",
90
91
  name: "search",
91
- viewBox: "0 0 32 32"
92
+ size: 14
92
93
  })), /*#__PURE__*/_react.default.createElement("div", {
93
94
  className: "listcontainer"
94
95
  }, dataCombo && dataCombo.length > 0 && /*#__PURE__*/_react.default.createElement("div", {