linear-react-components-ui 1.1.24-beta.8 → 1.1.24-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/lib/alerts/AlertProvider.js +1 -2
  2. package/lib/alerts/BaseAlert.js +1 -1
  3. package/lib/alerts/Message.js +2 -3
  4. package/lib/alerts/withAlert.js +1 -2
  5. package/lib/assets/styles/datepicker2.scss +4 -1
  6. package/lib/avatar/index.js +9 -11
  7. package/lib/badge/index.js +4 -4
  8. package/lib/buttons/Button.js +1 -2
  9. package/lib/buttons/DangerButton.js +1 -1
  10. package/lib/buttons/DefaultButton.js +5 -14
  11. package/lib/buttons/InfoButton.js +1 -1
  12. package/lib/buttons/PrimaryButton.js +1 -1
  13. package/lib/buttons/SuccessButton.js +1 -1
  14. package/lib/buttons/WarningButton.js +1 -1
  15. package/lib/buttons/button_container/index.js +1 -1
  16. package/lib/buttons/split_button/index.js +2 -2
  17. package/lib/calendar/base/Day.js +2 -3
  18. package/lib/calendar/base/Month.js +1 -1
  19. package/lib/calendar/base/helpers.js +2 -2
  20. package/lib/calendar/base/index.js +8 -7
  21. package/lib/checkbox/index.js +2 -3
  22. package/lib/dialog/Custom.js +2 -3
  23. package/lib/dialog/Question.js +5 -4
  24. package/lib/dialog/base/Content.js +2 -3
  25. package/lib/dialog/base/Header.js +3 -4
  26. package/lib/dialog/base/index.js +10 -9
  27. package/lib/dialog/form/index.js +6 -6
  28. package/lib/dialog/wizard/index.js +1 -2
  29. package/lib/dialog/wizard/progressbar.js +1 -1
  30. package/lib/dialog/wizard/step.js +1 -1
  31. package/lib/dialog/wizard/useWizard.js +1 -2
  32. package/lib/drawer/Content.js +1 -2
  33. package/lib/drawer/Drawer.js +5 -6
  34. package/lib/drawer/Header.js +2 -3
  35. package/lib/dropdown/Popup.js +7 -7
  36. package/lib/dropdown/helper.js +1 -1
  37. package/lib/dropdown/withDropdown.js +3 -4
  38. package/lib/fieldset/index.js +8 -9
  39. package/lib/form/Field.js +2 -3
  40. package/lib/form/FieldArray.js +2 -3
  41. package/lib/form/FieldNumber.js +4 -5
  42. package/lib/form/FieldPeriod.js +3 -4
  43. package/lib/form/index.js +3 -4
  44. package/lib/form/withFieldHOC.js +1 -2
  45. package/lib/form/withFormSecurity.js +1 -2
  46. package/lib/form2/helpers.js +1 -1
  47. package/lib/form2/index.d.ts +1 -1
  48. package/lib/form2/types.d.ts +0 -4
  49. package/lib/form2/useForm/index.js +17 -13
  50. package/lib/gridlayout/GridCol.js +5 -5
  51. package/lib/gridlayout/GridRow.js +1 -4
  52. package/lib/hint/index.js +1 -7
  53. package/lib/icons/index.js +9 -9
  54. package/lib/index-11944b1a.d.ts +26 -0
  55. package/lib/index-789dd9a5.d.ts +41 -0
  56. package/lib/{index-b2ef36a6.d.ts → index-7ad68789.d.ts} +1 -1
  57. package/lib/inputs/base/InputTextBase.js +9 -8
  58. package/lib/inputs/base/helpers.js +3 -7
  59. package/lib/inputs/color/index.js +1 -2
  60. package/lib/inputs/date/Dropdown.js +6 -4
  61. package/lib/inputs/date/index.js +31 -19
  62. package/lib/inputs/errorMessage/index.js +2 -3
  63. package/lib/inputs/file/DefaultFile.js +7 -7
  64. package/lib/inputs/file/DragDropFile.js +18 -17
  65. package/lib/inputs/file/File.js +5 -5
  66. package/lib/inputs/inputHOC.js +1 -2
  67. package/lib/inputs/mask/BaseMask.js +1 -2
  68. package/lib/inputs/mask/Cnpj.js +1 -2
  69. package/lib/inputs/mask/Cpf.js +1 -2
  70. package/lib/inputs/multiSelect/ActionButtons.js +1 -2
  71. package/lib/inputs/multiSelect/Dropdown.js +11 -11
  72. package/lib/inputs/multiSelect/helper.js +2 -1
  73. package/lib/inputs/multiSelect/index.js +10 -9
  74. package/lib/inputs/number/BaseNumber.js +1 -1
  75. package/lib/inputs/number/index.js +3 -3
  76. package/lib/inputs/period/Dropdown.js +7 -4
  77. package/lib/inputs/period/PeriodList.js +1 -1
  78. package/lib/inputs/period/helper.js +1 -3
  79. package/lib/inputs/period/index.js +56 -32
  80. package/lib/inputs/search/index.js +2 -3
  81. package/lib/inputs/select/ActionButtons.js +1 -1
  82. package/lib/inputs/select/Dropdown.js +3 -4
  83. package/lib/inputs/select/helper.js +13 -10
  84. package/lib/inputs/select/multiple/Selecteds.js +2 -2
  85. package/lib/inputs/select/multiple/index.js +14 -11
  86. package/lib/inputs/select/simple/index.js +19 -13
  87. package/lib/inputs/textarea/index.js +1 -1
  88. package/lib/inputs2/checkboxfield/index.d.ts +1 -1
  89. package/lib/inputs2/checkboxfield/index.js +15 -15
  90. package/lib/inputs2/colorfield/index.js +5 -5
  91. package/lib/inputs2/date/base/constants.js +2 -1
  92. package/lib/inputs2/date/base/index.js +7 -7
  93. package/lib/inputs2/date/datefield/calendarbox.d.ts +1 -1
  94. package/lib/inputs2/date/datefield/calendarbox.js +3 -2
  95. package/lib/inputs2/date/datefield/index.js +37 -28
  96. package/lib/inputs2/date/datefield/triggers.js +1 -2
  97. package/lib/inputs2/date/dateperiodfield/calendarbox.d.ts +1 -1
  98. package/lib/inputs2/date/dateperiodfield/calendarbox.js +8 -6
  99. package/lib/inputs2/date/dateperiodfield/index.js +61 -44
  100. package/lib/inputs2/date/dateperiodfield/triggers.js +19 -14
  101. package/lib/inputs2/filefield/index.js +33 -27
  102. package/lib/inputs2/index.d.ts +3 -3
  103. package/lib/inputs2/index.js +1 -2
  104. package/lib/inputs2/mask/BaseMask.js +7 -7
  105. package/lib/inputs2/mask/Cnpj.js +4 -5
  106. package/lib/inputs2/mask/Cpf.js +4 -5
  107. package/lib/inputs2/mask/Phone.js +1 -2
  108. package/lib/inputs2/mask/ZipCode.js +1 -2
  109. package/lib/inputs2/numberfield/currency.js +6 -6
  110. package/lib/inputs2/numberfield/decimal.js +6 -6
  111. package/lib/inputs2/numberfield/index.js +6 -6
  112. package/lib/inputs2/radiofield/index.d.ts +1 -1
  113. package/lib/inputs2/radiofield/index.js +14 -13
  114. package/lib/inputs2/selectfield/index.d.ts +1 -1
  115. package/lib/inputs2/selectfield/index.js +71 -54
  116. package/lib/inputs2/selectfield/item.d.ts +1 -1
  117. package/lib/inputs2/selectfield/item.js +4 -4
  118. package/lib/inputs2/selectfield/listbox.d.ts +1 -1
  119. package/lib/inputs2/selectfield/listbox.js +7 -4
  120. package/lib/inputs2/selectfield/options.d.ts +1 -1
  121. package/lib/inputs2/selectfield/search.d.ts +1 -1
  122. package/lib/inputs2/selectfield/search.js +3 -4
  123. package/lib/inputs2/selectfield/selections.d.ts +1 -1
  124. package/lib/inputs2/selectfield/selections.js +3 -2
  125. package/lib/inputs2/selectfield/triggers.js +6 -5
  126. package/lib/inputs2/slot/index.d.ts +2 -2
  127. package/lib/inputs2/textareafield/index.js +21 -18
  128. package/lib/inputs2/textfield/index.js +15 -14
  129. package/lib/labelMessages/index.js +4 -6
  130. package/lib/labels/DefaultLabel.js +2 -6
  131. package/lib/labels/label_container/index.js +1 -1
  132. package/lib/list/Header.js +1 -1
  133. package/lib/list/Item.js +10 -12
  134. package/lib/list/index.js +2 -4
  135. package/lib/menus/float/MenuItem.js +3 -4
  136. package/lib/menus/float/SubMenuContainer.js +2 -3
  137. package/lib/menus/float/index.js +1 -1
  138. package/lib/menus/sidenav/ExpandMenu.js +1 -1
  139. package/lib/menus/sidenav/MenuLink.js +1 -2
  140. package/lib/menus/sidenav/NavMenuGroup.js +2 -3
  141. package/lib/menus/sidenav/NavMenuItem.js +10 -9
  142. package/lib/menus/sidenav/NavSubMenuItem.js +2 -3
  143. package/lib/menus/sidenav/helpers.js +1 -1
  144. package/lib/menus/sidenav/index.js +6 -7
  145. package/lib/menus/sidenav/popup_menu_search/index.js +1 -2
  146. package/lib/panel/Content.js +9 -8
  147. package/lib/panel/Default.js +3 -4
  148. package/lib/panel/Header.js +4 -5
  149. package/lib/permissionValidations.js +1 -1
  150. package/lib/popover/PopoverText.js +1 -2
  151. package/lib/popover/index.js +1 -1
  152. package/lib/progress/Bar.js +6 -6
  153. package/lib/radio/index.js +3 -4
  154. package/lib/shortcuts/index.js +1 -1
  155. package/lib/skeleton/SkeletonContainer.js +1 -2
  156. package/lib/skeleton/index.js +1 -4
  157. package/lib/spinner/index.js +3 -4
  158. package/lib/split/Split.js +2 -3
  159. package/lib/split/SplitSide.js +4 -5
  160. package/lib/table/Body.js +4 -5
  161. package/lib/table/Header.js +9 -7
  162. package/lib/table/HeaderColumn.js +2 -3
  163. package/lib/table/Row.js +4 -5
  164. package/lib/table/RowColumn.js +2 -3
  165. package/lib/table/index.js +2 -8
  166. package/lib/tabs/DropdownTabs.js +2 -3
  167. package/lib/tabs/Menu.js +1 -1
  168. package/lib/tabs/MenuTabs.js +4 -9
  169. package/lib/tabs/Panel.js +8 -7
  170. package/lib/tabs/context.js +7 -5
  171. package/lib/tabs/index.js +1 -2
  172. package/lib/textContent/index.js +2 -3
  173. package/lib/toolbar/ButtonBar.js +2 -3
  174. package/lib/toolbar/LabelBar.js +1 -2
  175. package/lib/toolbar/index.js +1 -1
  176. package/lib/tooltip/TooltipContent.js +8 -9
  177. package/lib/tooltip/useTooltip.js +8 -8
  178. package/lib/treetable/Body.js +2 -3
  179. package/lib/treetable/Header.js +3 -4
  180. package/lib/treetable/Row.js +9 -10
  181. package/lib/treeview/Header.js +1 -1
  182. package/lib/treeview/Node.js +5 -6
  183. package/lib/treeview/index.js +5 -6
  184. package/lib/uitour/index.js +9 -8
  185. package/package.json +1 -1
  186. package/lib/index-118afd58.d.ts +0 -26
  187. package/lib/index-8f540f57.d.ts +0 -41
@@ -27,7 +27,8 @@ const useForm = _ref => {
27
27
  return (0, _helpers.flattenValidators)(validators);
28
28
  }, [validators]);
29
29
  const validateField = (name, value) => {
30
- const validatorsForField = _lodash.default.get(flattenedValidators, name) ?? [];
30
+ var _$get;
31
+ const validatorsForField = (_$get = _lodash.default.get(flattenedValidators, name)) !== null && _$get !== void 0 ? _$get : [];
31
32
  const fieldErrors = validatorsForField.map(validator => validator(value, values)).filter(message => Boolean(message));
32
33
  setErrors(prevErrorsState => {
33
34
  const updatedErrorsState = _lodash.default.cloneDeep(prevErrorsState);
@@ -38,8 +39,9 @@ const useForm = _ref => {
38
39
  const validateAllFields = () => {
39
40
  const allValidationErrors = {};
40
41
  Object.keys(flattenedValidators).forEach(path => {
42
+ var _$get2;
41
43
  const value = _lodash.default.get(values, path);
42
- const fieldValidators = _lodash.default.get(flattenedValidators, path) ?? [];
44
+ const fieldValidators = (_$get2 = _lodash.default.get(flattenedValidators, path)) !== null && _$get2 !== void 0 ? _$get2 : [];
43
45
  const fieldErrors = fieldValidators.map(validator => validator(value, values)).filter(message => Boolean(message));
44
46
  if (fieldErrors.length) {
45
47
  _lodash.default.set(allValidationErrors, path, fieldErrors);
@@ -50,20 +52,22 @@ const useForm = _ref => {
50
52
  };
51
53
  const checkFormIsValid = _react.default.useCallback(() => {
52
54
  return Object.keys(flattenedValidators).every(path => {
55
+ var _$get3;
53
56
  const value = _lodash.default.get(values, path);
54
- const fieldValidators = _lodash.default.get(flattenedValidators, path) ?? [];
57
+ const fieldValidators = (_$get3 = _lodash.default.get(flattenedValidators, path)) !== null && _$get3 !== void 0 ? _$get3 : [];
55
58
  return fieldValidators.every(validator => !validator(value, values));
56
59
  });
57
60
  }, [values, flattenedValidators]);
58
61
  const getFieldError = name => {
59
- const fieldErrors = _lodash.default.get(errors, name) ?? [];
62
+ var _ref2;
63
+ const fieldErrors = (_ref2 = _lodash.default.get(errors, name)) !== null && _ref2 !== void 0 ? _ref2 : [];
60
64
  return fieldErrors;
61
65
  };
62
66
  const setExternalErrors = externalErrors => {
63
67
  setErrors(prevStateErrors => {
64
68
  const newErrorsState = _lodash.default.cloneDeep(prevStateErrors);
65
- Object.entries(externalErrors).forEach(_ref2 => {
66
- let [key, value] = _ref2;
69
+ Object.entries(externalErrors).forEach(_ref3 => {
70
+ let [key, value] = _ref3;
67
71
  _lodash.default.set(newErrorsState, key, value);
68
72
  });
69
73
  return newErrorsState;
@@ -87,10 +91,12 @@ const useForm = _ref => {
87
91
  });
88
92
  };
89
93
  const setFieldFocus = (name, fieldFocusOptions) => {
94
+ var _field$focus;
90
95
  const field = fieldsRef.current[name];
91
- field?.focus?.();
92
- if (fieldFocusOptions?.shouldSelect) {
93
- field?.select?.();
96
+ field === null || field === void 0 ? void 0 : (_field$focus = field.focus) === null || _field$focus === void 0 ? void 0 : _field$focus.call(field);
97
+ if (fieldFocusOptions !== null && fieldFocusOptions !== void 0 && fieldFocusOptions.shouldSelect) {
98
+ var _field$select;
99
+ field === null || field === void 0 ? void 0 : (_field$select = field.select) === null || _field$select === void 0 ? void 0 : _field$select.call(field);
94
100
  }
95
101
  };
96
102
  const compareField = _react.default.useCallback((name, valueToCompare) => {
@@ -98,7 +104,7 @@ const useForm = _ref => {
98
104
  }, [values]);
99
105
  const cleanErrors = fieldsToClean => {
100
106
  const newErrorsState = _lodash.default.cloneDeep(errors);
101
- const fields = fieldsToClean ?? Object.keys(errors);
107
+ const fields = fieldsToClean !== null && fieldsToClean !== void 0 ? fieldsToClean : Object.keys(errors);
102
108
  fields.forEach(key => {
103
109
  _lodash.default.set(newErrorsState, key, []);
104
110
  });
@@ -109,7 +115,7 @@ const useForm = _ref => {
109
115
  const newTouchedState = _lodash.default.cloneDeep(touched);
110
116
  const newChangedState = _lodash.default.cloneDeep(changed);
111
117
  const newErrorsState = _lodash.default.cloneDeep(errors);
112
- const inputs = inputsToReset ?? Object.keys(initialValuesRef.current);
118
+ const inputs = inputsToReset !== null && inputsToReset !== void 0 ? inputsToReset : Object.keys(initialValuesRef.current);
113
119
  inputs.forEach(key => {
114
120
  const initialValue = _lodash.default.get(initialValuesRef.current, key);
115
121
  _lodash.default.set(newValuesState, key, initialValue);
@@ -179,7 +185,6 @@ const useForm = _ref => {
179
185
  callback(values);
180
186
  };
181
187
  const isValid = _react.default.useMemo(() => checkFormIsValid(), [checkFormIsValid]);
182
- const formHasChange = _react.default.useMemo(() => Object.values(changed).some(Boolean), [changed]);
183
188
  return {
184
189
  reset,
185
190
  changed,
@@ -187,7 +192,6 @@ const useForm = _ref => {
187
192
  errors,
188
193
  touched,
189
194
  isValid,
190
- formHasChange,
191
195
  register,
192
196
  cleanErrors,
193
197
  changeValues,
@@ -10,10 +10,10 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
10
10
  const getClass = col => {
11
11
  const cols = col ? col.split(' ') : [];
12
12
  let classes = 'grid-container ';
13
- if (cols[0]) classes += `col-xs-${cols[0]}`;
14
- if (cols[1]) classes += ` col-sm-${cols[1]}`;
15
- if (cols[2]) classes += ` col-md-${cols[2]}`;
16
- if (cols[3]) classes += ` col-lg-${cols[3]}`;
13
+ if (cols[0]) classes += "col-xs-".concat(cols[0]);
14
+ if (cols[1]) classes += " col-sm-".concat(cols[1]);
15
+ if (cols[2]) classes += " col-md-".concat(cols[2]);
16
+ if (cols[3]) classes += " col-lg-".concat(cols[3]);
17
17
  return classes;
18
18
  };
19
19
  const GridCol = props => {
@@ -27,7 +27,7 @@ const GridCol = props => {
27
27
  const gridClasses = getClass(cols || '');
28
28
  if (!visible) return null;
29
29
  return /*#__PURE__*/_react.default.createElement("div", {
30
- className: `${customClass} ${gridClasses}`,
30
+ className: "".concat(customClass, " ").concat(gridClasses),
31
31
  style: style
32
32
  }, children);
33
33
  };
@@ -12,10 +12,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
12
12
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
14
14
  function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
15
- const getClass = props => `row ${props.customClass}
16
- ${props.withTrim && ' -withtrim'}
17
- ${props.verticalAlign && ` align-items-${props.verticalAlign}`}
18
- ${props.horizontalAlign && ` justify-content-${props.horizontalAlign}`}`;
15
+ const getClass = props => "row ".concat(props.customClass, "\n ").concat(props.withTrim && ' -withtrim', "\n ").concat(props.verticalAlign && " align-items-".concat(props.verticalAlign), "\n ").concat(props.horizontalAlign && " justify-content-".concat(props.horizontalAlign));
19
16
  const GridRow = props => {
20
17
  const {
21
18
  style,
package/lib/hint/index.js CHANGED
@@ -22,13 +22,7 @@ const Hint = _ref => {
22
22
  return /*#__PURE__*/_react.default.createElement("div", {
23
23
  "aria-disabled": disabled,
24
24
  style: style,
25
- className: `
26
- hint-component
27
- ${customClass}
28
- ${skeletonize ? '-skeletonized' : ''}
29
- ${disabled ? '-disabled' : ''}
30
- -${color}
31
- `
25
+ className: "\n hint-component\n ".concat(customClass, "\n ").concat(skeletonize ? '-skeletonized' : '', "\n ").concat(disabled ? '-disabled' : '', "\n -").concat(color, "\n ")
32
26
  }, Array.isArray(description) ? (0, _helpers.showHintList)(description) : /*#__PURE__*/_react.default.createElement("span", {
33
27
  "aria-disabled": disabled
34
28
  }, description));
@@ -9,8 +9,7 @@ var _helper = _interopRequireDefault(require("./helper"));
9
9
  require("../assets/styles/icon.scss");
10
10
  var _tooltip = require("../tooltip");
11
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
- 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); }
13
- 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; }
12
+ 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); }
14
13
  const listIcon = _helper.default;
15
14
  const disabledIconColor = 'rgb(193, 193, 193)';
16
15
  const Icon = _ref => {
@@ -36,9 +35,10 @@ const Icon = _ref => {
36
35
  const colorFromProp = isUsingColorStyle || !color ? undefined : color;
37
36
  const containerRef = (0, _react.useRef)(null);
38
37
  const refSvg = (0, _react.useRef)(null);
39
- const viewBoxFromIconOrSvgStrcut = name ? listIcon[name].viewbox : svgStruct?.viewbox;
40
- const getPaths = () => name ? listIcon[name].paths : svgStruct?.paths;
38
+ const viewBoxFromIconOrSvgStrcut = name ? listIcon[name].viewbox : svgStruct === null || svgStruct === void 0 ? void 0 : svgStruct.viewbox;
39
+ const getPaths = () => name ? listIcon[name].paths : svgStruct === null || svgStruct === void 0 ? void 0 : svgStruct.paths;
41
40
  const getSvg = () => {
41
+ var _getPaths;
42
42
  return /*#__PURE__*/_react.default.createElement("svg", {
43
43
  "data-testid": "icon",
44
44
  "data-color-style": colorStyle,
@@ -48,14 +48,14 @@ const Icon = _ref => {
48
48
  ref: r => {
49
49
  refSvg.current = r;
50
50
  },
51
- width: `${size}px`,
52
- height: `${size}px`,
51
+ width: "".concat(size, "px"),
52
+ height: "".concat(size, "px"),
53
53
  fill: disabled ? disabledIconColor : colorFromProp,
54
54
  viewBox: viewBox || viewBoxFromIconOrSvgStrcut,
55
- className: `icon-component ${customClass}`,
55
+ className: "icon-component ".concat(customClass),
56
56
  pointerEvents: pointerEvents,
57
57
  style: style
58
- }, getPaths()?.map(value => /*#__PURE__*/_react.default.createElement("path", {
58
+ }, (_getPaths = getPaths()) === null || _getPaths === void 0 ? void 0 : _getPaths.map(value => /*#__PURE__*/_react.default.createElement("path", {
59
59
  "data-testid": "icon-path",
60
60
  d: value,
61
61
  key: value
@@ -66,7 +66,7 @@ const Icon = _ref => {
66
66
  if (!visible) return null;
67
67
  if (!tooltip) return getSvg();
68
68
  return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
69
- className: `icon-component-container ${customClassForContainer}`,
69
+ className: "icon-component-container ".concat(customClassForContainer),
70
70
  ref: containerRef
71
71
  }, getSvg()), /*#__PURE__*/_react.default.createElement(_tooltip.Tooltip, {
72
72
  targetRef: containerRef,
@@ -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<Pick<SelectFieldInputProps, "className" | "disabled" | "size" | "onClick" | "width" | "height" | "color" | "src" | "children" | "customClass" | "label" | "style" | "id" | "key" | "form" | "slot" | "title" | "pattern" | "name" | "tooltip" | "tooltipPosition" | "tooltipWidth" | "list" | "hidden" | "multiple" | "onKeyPress" | "role" | "tabIndex" | "alt" | "align" | "value" | "readOnly" | "permissionAttr" | "skeletonize" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "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" | "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" | "step" | "maxLength" | "required" | "hint" | "hintPosition" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "themePopover" | "popoverAlign" | "checked" | "showClearButton" | "searchOnDropdown" | "undigitable" | "openDropdownOnFocus" | "onSearch" | "striped" | "max" | "min" | "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 };
@@ -0,0 +1,41 @@
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, "className" | "disabled" | "size" | "onClick" | "width" | "height" | "color" | "src" | "children" | "customClass" | "label" | "style" | "id" | "key" | "form" | "slot" | "title" | "pattern" | "name" | "tooltip" | "tooltipPosition" | "tooltipWidth" | "list" | "hidden" | "multiple" | "onKeyPress" | "role" | "tabIndex" | "alt" | "align" | "value" | "readOnly" | "permissionAttr" | "skeletonize" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "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" | "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" | "step" | "labelUppercase" | "maxLength" | "required" | "hint" | "hintPosition" | "rounded" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "themePopover" | "popoverAlign" | "checked" | "max" | "min" | "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 };
@@ -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, "label" | "disabled" | "size" | "customClass" | "permissionAttr" | "skeletonize" | "onClick" | "autoFocus" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "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" | "key" | "pattern" | "width" | "height" | "tooltip" | "tooltipPosition" | "tooltipWidth" | "readOnly" | "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>>;
4
+ declare const Input: React__default.ForwardRefExoticComponent<Pick<RadioFieldInputProps, "className" | "disabled" | "size" | "onClick" | "width" | "height" | "color" | "src" | "children" | "customClass" | "label" | "style" | "id" | "key" | "form" | "slot" | "title" | "pattern" | "name" | "tooltip" | "tooltipPosition" | "tooltipWidth" | "list" | "hidden" | "onKeyPress" | "role" | "tabIndex" | "alt" | "align" | "value" | "readOnly" | "permissionAttr" | "skeletonize" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "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" | "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" | "step" | "labelUppercase" | "maxLength" | "required" | "hint" | "hintPosition" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "themePopover" | "popoverAlign" | "checked" | "max" | "min" | "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;
@@ -16,8 +16,7 @@ var _textContent = _interopRequireDefault(require("../../textContent"));
16
16
  var _popover = _interopRequireWildcard(require("../../popover"));
17
17
  var _tooltip = require("../../tooltip");
18
18
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
19
- 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); }
20
- 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; }
19
+ 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); }
21
20
  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); }
22
21
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23
22
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -131,11 +130,13 @@ const InputTextBase = props => {
131
130
  if (!disableCallbacks) {
132
131
  propsInput = _objectSpread(_objectSpread({}, propsInput), {}, {
133
132
  onFocus: e => {
134
- props.onInputReceiveFocus?.();
133
+ var _props$onInputReceive;
134
+ (_props$onInputReceive = props.onInputReceiveFocus) === null || _props$onInputReceive === void 0 ? void 0 : _props$onInputReceive.call(props);
135
135
  if (props.onFocus) props.onFocus(e);
136
136
  },
137
137
  onBlur: e => {
138
- props.onInputLostFocus?.();
138
+ var _props$onInputLostFoc;
139
+ (_props$onInputLostFoc = props.onInputLostFocus) === null || _props$onInputLostFoc === void 0 ? void 0 : _props$onInputLostFoc.call(props);
139
140
  if (props.onBlur) props.onBlur(e);
140
141
  },
141
142
  onKeyDown: e => {
@@ -199,7 +200,7 @@ const InputTextBase = props => {
199
200
  if (!visible || unvisible) return null;
200
201
  return /*#__PURE__*/_react.default.createElement("div", {
201
202
  style: style,
202
- className: `input-base-component ${skeletonize ? '-skeletonized' : ''} ${customClass}`,
203
+ className: "input-base-component ".concat(skeletonize ? '-skeletonized' : '', " ").concat(customClass),
203
204
  ref: inputBaseRef
204
205
  }, label && /*#__PURE__*/_react.default.createElement("div", {
205
206
  className: "labelcontainer",
@@ -221,7 +222,7 @@ const InputTextBase = props => {
221
222
  display: 'flex'
222
223
  }
223
224
  }, /*#__PURE__*/_react.default.createElement("div", {
224
- className: `label ${customClassForLabel} ${labelUppercase && ' -uppercase'}`,
225
+ className: "label ".concat(customClassForLabel, " ").concat(labelUppercase && ' -uppercase'),
225
226
  style: {
226
227
  alignSelf: 'center'
227
228
  }
@@ -247,11 +248,11 @@ const InputTextBase = props => {
247
248
  }))
248
249
  }, leftElements && /*#__PURE__*/_react.default.createElement("div", {
249
250
  style: styleForSideButtons,
250
- className: `sidebuttons ${customClassForSideButtons}`
251
+ className: "sidebuttons ".concat(customClassForSideButtons)
251
252
  }, leftElements), /*#__PURE__*/_react.default.createElement("div", {
252
253
  "data-testid": "testInputContent",
253
254
  style: styleForInputContent,
254
- className: `inputcontent ${customClassForInputContent}`
255
+ className: "inputcontent ".concat(customClassForInputContent)
255
256
  }, type === 'textarea' ? /*#__PURE__*/_react.default.createElement("textarea", _extends({
256
257
  rows: props.rows,
257
258
  cols: props.cols,
@@ -13,7 +13,7 @@ const getInputClass = _ref => {
13
13
  readOnly,
14
14
  readOnlyClass
15
15
  } = _ref;
16
- return `textinput text-align-${textAlign} ${readOnlyClass} ${readOnly ? ' -readonly' : ''}`;
16
+ return "textinput text-align-".concat(textAlign, " ").concat(readOnlyClass, " ").concat(readOnly ? ' -readonly' : '');
17
17
  };
18
18
  exports.getInputClass = getInputClass;
19
19
  const getInputWrapperClass = props => {
@@ -24,11 +24,7 @@ const getInputWrapperClass = props => {
24
24
  errorMessages,
25
25
  disabled
26
26
  } = props;
27
- return `inputwrapper ${inputHasFocus && ' -focusable'}
28
- ${customClassForWrapper}
29
- ${errorMessages && errorMessages.length > 0 && ' -requirederror'}
30
- ${rounded && ' -roundedborders'}
31
- ${disabled && ' -disabled'}`;
27
+ return "inputwrapper ".concat(inputHasFocus && ' -focusable', "\n ").concat(customClassForWrapper, "\n ").concat(errorMessages && errorMessages.length > 0 && ' -requirederror', "\n ").concat(rounded && ' -roundedborders', "\n ").concat(disabled && ' -disabled');
32
28
  };
33
29
  exports.getInputWrapperClass = getInputWrapperClass;
34
30
  const getRightElements = (errorMessages, skeletonize, rightElements) => {
@@ -38,7 +34,7 @@ const getRightElements = (errorMessages, skeletonize, rightElements) => {
38
34
  elements = [elements];
39
35
  }
40
36
  elements = elements.map((element, index) => element && /*#__PURE__*/_react.default.cloneElement(element, {
41
- key: `rightelement-${index + 1}`
37
+ key: "rightelement-".concat(index + 1)
42
38
  }));
43
39
  if (errorMessages) return elements;
44
40
  return elements;
@@ -10,8 +10,7 @@ var _text = _interopRequireDefault(require("../text"));
10
10
  var _buttons = _interopRequireDefault(require("../../buttons"));
11
11
  require("../../assets/styles/colorpicker.scss");
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
- 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); }
14
- 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; }
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
14
  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); }
16
15
  const ColorPicker = props => {
17
16
  const {
@@ -20,18 +20,20 @@ const Dropdown = props => {
20
20
  const elementRef = (0, _react.useRef)(document.createElement('div'));
21
21
  const width = inputDimensions && inputDimensions.width + (showButtonOpen ? CALENDAR_BUTTON_WIDTH : 0) + 4 || CALENDAR_MIN_WIDTH;
22
22
  (0, _react.useEffect)(() => {
23
+ var _containerRef$current;
23
24
  elementRef.current.className = 'datepicker-component';
24
25
  elementRef.current.style.width = String(width).concat('px');
25
- elementRef.current.style.top = String(inputDimensions?.bottom).concat('px');
26
- containerRef.current?.appendChild(elementRef.current);
26
+ elementRef.current.style.top = String(inputDimensions === null || inputDimensions === void 0 ? void 0 : inputDimensions.bottom).concat('px');
27
+ (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.appendChild(elementRef.current);
27
28
  dropdownRef(elementRef.current);
28
29
  return () => {
29
- containerRef.current?.removeChild(elementRef.current);
30
+ var _containerRef$current2;
31
+ (_containerRef$current2 = containerRef.current) === null || _containerRef$current2 === void 0 ? void 0 : _containerRef$current2.removeChild(elementRef.current);
30
32
  };
31
33
  }, []);
32
34
  (0, _react.useEffect)(() => {
33
35
  elementRef.current.style.width = String(width).concat('px');
34
- elementRef.current.style.top = String(inputDimensions?.bottom).concat('px');
36
+ elementRef.current.style.top = String(inputDimensions === null || inputDimensions === void 0 ? void 0 : inputDimensions.bottom).concat('px');
35
37
  }, [props]);
36
38
  return /*#__PURE__*/_reactDom.default.createPortal(children, elementRef.current);
37
39
  };