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

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 (197) 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/calendar.scss +137 -32
  6. package/lib/assets/styles/datepicker2.scss +4 -1
  7. package/lib/assets/styles/file.scss +8 -0
  8. package/lib/avatar/index.js +9 -11
  9. package/lib/badge/index.js +4 -4
  10. package/lib/buttons/Button.js +1 -2
  11. package/lib/buttons/DangerButton.js +1 -1
  12. package/lib/buttons/DefaultButton.js +5 -14
  13. package/lib/buttons/InfoButton.js +1 -1
  14. package/lib/buttons/PrimaryButton.js +1 -1
  15. package/lib/buttons/SuccessButton.js +1 -1
  16. package/lib/buttons/WarningButton.js +1 -1
  17. package/lib/buttons/button_container/index.js +1 -1
  18. package/lib/buttons/split_button/index.js +2 -2
  19. package/lib/calendar/base/helpers.js +2 -2
  20. package/lib/calendar/base/index.js +123 -44
  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-4b31b471.d.ts +15 -0
  55. package/lib/index-8a0c7463.d.ts +41 -0
  56. package/lib/index-9203efed.d.ts +26 -0
  57. package/lib/inputs/base/InputTextBase.js +9 -8
  58. package/lib/inputs/base/helpers.js +3 -7
  59. package/lib/inputs/base/types.d.ts +1 -1
  60. package/lib/inputs/color/index.js +2 -3
  61. package/lib/inputs/date/Dropdown.js +6 -4
  62. package/lib/inputs/date/index.js +31 -19
  63. package/lib/inputs/errorMessage/index.js +2 -3
  64. package/lib/inputs/file/DefaultFile.js +31 -31
  65. package/lib/inputs/file/DragDropFile.js +18 -17
  66. package/lib/inputs/file/File.js +6 -5
  67. package/lib/inputs/file/FileButtonSettings.js +0 -1
  68. package/lib/inputs/inputHOC.js +1 -2
  69. package/lib/inputs/mask/BaseMask.js +1 -2
  70. package/lib/inputs/mask/Cnpj.js +1 -2
  71. package/lib/inputs/mask/Cpf.js +1 -2
  72. package/lib/inputs/multiSelect/ActionButtons.js +1 -2
  73. package/lib/inputs/multiSelect/Dropdown.js +11 -11
  74. package/lib/inputs/multiSelect/helper.js +2 -1
  75. package/lib/inputs/multiSelect/index.js +10 -9
  76. package/lib/inputs/number/BaseNumber.js +1 -1
  77. package/lib/inputs/number/index.js +3 -3
  78. package/lib/inputs/period/Dropdown.js +7 -4
  79. package/lib/inputs/period/PeriodList.js +1 -1
  80. package/lib/inputs/period/helper.js +1 -3
  81. package/lib/inputs/period/index.js +66 -40
  82. package/lib/inputs/period/types.d.ts +4 -1
  83. package/lib/inputs/search/index.js +2 -3
  84. package/lib/inputs/select/ActionButtons.js +1 -1
  85. package/lib/inputs/select/Dropdown.js +3 -4
  86. package/lib/inputs/select/helper.js +13 -10
  87. package/lib/inputs/select/multiple/Selecteds.js +2 -2
  88. package/lib/inputs/select/multiple/index.js +14 -11
  89. package/lib/inputs/select/simple/index.js +19 -13
  90. package/lib/inputs/textarea/index.js +1 -1
  91. package/lib/inputs2/checkboxfield/index.d.ts +1 -1
  92. package/lib/inputs2/checkboxfield/index.js +15 -15
  93. package/lib/inputs2/colorfield/index.js +5 -5
  94. package/lib/inputs2/date/base/constants.js +2 -1
  95. package/lib/inputs2/date/base/index.js +7 -7
  96. package/lib/inputs2/date/datefield/calendarbox.d.ts +1 -1
  97. package/lib/inputs2/date/datefield/calendarbox.js +3 -2
  98. package/lib/inputs2/date/datefield/index.js +37 -28
  99. package/lib/inputs2/date/datefield/triggers.js +1 -2
  100. package/lib/inputs2/date/dateperiodfield/calendarbox.d.ts +1 -1
  101. package/lib/inputs2/date/dateperiodfield/calendarbox.js +8 -6
  102. package/lib/inputs2/date/dateperiodfield/index.js +61 -44
  103. package/lib/inputs2/date/dateperiodfield/triggers.js +19 -14
  104. package/lib/inputs2/filefield/index.js +33 -27
  105. package/lib/inputs2/index.d.ts +3 -3
  106. package/lib/inputs2/index.js +1 -2
  107. package/lib/inputs2/mask/BaseMask.js +7 -7
  108. package/lib/inputs2/mask/Cnpj.js +4 -5
  109. package/lib/inputs2/mask/Cpf.js +4 -5
  110. package/lib/inputs2/mask/Phone.js +1 -2
  111. package/lib/inputs2/mask/ZipCode.js +1 -2
  112. package/lib/inputs2/numberfield/currency.js +6 -6
  113. package/lib/inputs2/numberfield/decimal.js +6 -6
  114. package/lib/inputs2/numberfield/index.js +6 -6
  115. package/lib/inputs2/radiofield/index.d.ts +1 -1
  116. package/lib/inputs2/radiofield/index.js +14 -13
  117. package/lib/inputs2/selectfield/index.d.ts +1 -1
  118. package/lib/inputs2/selectfield/index.js +71 -54
  119. package/lib/inputs2/selectfield/item.d.ts +1 -1
  120. package/lib/inputs2/selectfield/item.js +4 -4
  121. package/lib/inputs2/selectfield/listbox.d.ts +1 -1
  122. package/lib/inputs2/selectfield/listbox.js +7 -4
  123. package/lib/inputs2/selectfield/options.d.ts +1 -1
  124. package/lib/inputs2/selectfield/search.d.ts +1 -1
  125. package/lib/inputs2/selectfield/search.js +3 -4
  126. package/lib/inputs2/selectfield/selections.d.ts +1 -1
  127. package/lib/inputs2/selectfield/selections.js +3 -2
  128. package/lib/inputs2/selectfield/triggers.js +6 -5
  129. package/lib/inputs2/slot/index.d.ts +2 -2
  130. package/lib/inputs2/textareafield/index.js +21 -18
  131. package/lib/inputs2/textfield/index.js +15 -14
  132. package/lib/labelMessages/index.js +4 -6
  133. package/lib/labels/DefaultLabel.js +2 -6
  134. package/lib/labels/label_container/index.js +1 -1
  135. package/lib/list/Header.js +1 -1
  136. package/lib/list/Item.js +10 -12
  137. package/lib/list/index.js +2 -4
  138. package/lib/menus/float/MenuItem.js +3 -4
  139. package/lib/menus/float/SubMenuContainer.js +2 -3
  140. package/lib/menus/float/index.js +1 -1
  141. package/lib/menus/sidenav/ExpandMenu.js +1 -1
  142. package/lib/menus/sidenav/MenuLink.js +1 -2
  143. package/lib/menus/sidenav/NavMenuGroup.js +2 -3
  144. package/lib/menus/sidenav/NavMenuItem.js +10 -9
  145. package/lib/menus/sidenav/NavSubMenuItem.js +2 -3
  146. package/lib/menus/sidenav/helpers.js +1 -1
  147. package/lib/menus/sidenav/index.js +6 -7
  148. package/lib/menus/sidenav/popup_menu_search/index.js +1 -2
  149. package/lib/panel/Content.js +9 -8
  150. package/lib/panel/Default.js +3 -4
  151. package/lib/panel/Header.js +4 -5
  152. package/lib/permissionValidations.js +1 -1
  153. package/lib/popover/PopoverText.js +1 -2
  154. package/lib/popover/index.js +1 -1
  155. package/lib/progress/Bar.js +6 -6
  156. package/lib/radio/index.js +3 -4
  157. package/lib/shortcuts/index.js +1 -1
  158. package/lib/skeleton/SkeletonContainer.js +1 -2
  159. package/lib/skeleton/index.js +1 -4
  160. package/lib/spinner/index.js +3 -4
  161. package/lib/split/Split.js +2 -3
  162. package/lib/split/SplitSide.js +4 -5
  163. package/lib/table/Body.js +4 -5
  164. package/lib/table/Header.js +9 -7
  165. package/lib/table/HeaderColumn.js +2 -3
  166. package/lib/table/Row.js +4 -5
  167. package/lib/table/RowColumn.js +2 -3
  168. package/lib/table/index.js +2 -8
  169. package/lib/tabs/DropdownTabs.js +2 -3
  170. package/lib/tabs/Menu.js +1 -1
  171. package/lib/tabs/MenuTabs.js +4 -9
  172. package/lib/tabs/Panel.js +8 -7
  173. package/lib/tabs/context.js +7 -5
  174. package/lib/tabs/index.js +1 -2
  175. package/lib/textContent/index.js +2 -3
  176. package/lib/toolbar/ButtonBar.js +2 -3
  177. package/lib/toolbar/LabelBar.js +1 -2
  178. package/lib/toolbar/index.js +1 -1
  179. package/lib/tooltip/TooltipContent.js +8 -9
  180. package/lib/tooltip/useTooltip.js +8 -8
  181. package/lib/treetable/Body.js +2 -3
  182. package/lib/treetable/Header.js +3 -4
  183. package/lib/treetable/Row.js +9 -10
  184. package/lib/treeview/Header.js +1 -1
  185. package/lib/treeview/Node.js +5 -6
  186. package/lib/treeview/index.js +5 -6
  187. package/lib/uitour/index.js +9 -8
  188. package/package.json +1 -1
  189. package/lib/calendar/base/Day.d.ts +0 -8
  190. package/lib/calendar/base/Day.js +0 -36
  191. package/lib/calendar/base/Month.d.ts +0 -8
  192. package/lib/calendar/base/Month.js +0 -39
  193. package/lib/calendar/base/Week.d.ts +0 -8
  194. package/lib/calendar/base/Week.js +0 -35
  195. package/lib/index-118afd58.d.ts +0 -26
  196. package/lib/index-8f540f57.d.ts +0 -41
  197. package/lib/index-b2ef36a6.d.ts +0 -15
@@ -14,8 +14,7 @@ var _toolbar = _interopRequireWildcard(require("../toolbar"));
14
14
  var _helpers = require("./helpers");
15
15
  const _excluded = ["validationKey", "onNodeElementClick"];
16
16
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
- 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); }
18
- 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; }
17
+ 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
18
  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); }
20
19
  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; }
21
20
  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; }
@@ -60,7 +59,7 @@ const TreeRow = props => {
60
59
  if (!firstRenderingOfChildrens && !open) {
61
60
  setOpen(true);
62
61
  setIsLoadingChildrens(true);
63
- if (onClickGetChildrens?.(rowId) && typeof onClickGetChildrens(rowId).finally === 'function') onClickGetChildrens(rowId).then(() => {}).catch(() => {}).finally(() => {
62
+ if (onClickGetChildrens !== null && onClickGetChildrens !== void 0 && onClickGetChildrens(rowId) && typeof onClickGetChildrens(rowId).finally === 'function') onClickGetChildrens(rowId).then(() => {}).catch(() => {}).finally(() => {
64
63
  searchChildrensAndInsertState();
65
64
  });
66
65
  setFirstRenderingOfChildrens(true);
@@ -156,16 +155,16 @@ const TreeRow = props => {
156
155
  customClass: "tree-row-element"
157
156
  }), /*#__PURE__*/_react.default.createElement(_table.Td, {
158
157
  ignoreTableColClick: true,
159
- key: `td-${dataColumns[0].name}-${(0, _uuid.v1)()}`,
158
+ key: "td-".concat(dataColumns[0].name, "-").concat((0, _uuid.v1)()),
160
159
  style: dataColumns[0].style
161
160
  }, /*#__PURE__*/_react.default.createElement("div", {
162
161
  ref: divContainerRef,
163
162
  className: "column-container",
164
163
  onMouseEnter: handleOnMouseEnter
165
164
  }, /*#__PURE__*/_react.default.createElement("span", {
166
- className: `column-more-childrens ${rowLevel && 'line-path-decoration'}`,
165
+ className: "column-more-childrens ".concat(rowLevel && 'line-path-decoration'),
167
166
  style: {
168
- marginLeft: `${rowLevel}rem`
167
+ marginLeft: "".concat(rowLevel, "rem")
169
168
  }
170
169
  }, /*#__PURE__*/_react.default.createElement("button", {
171
170
  tabIndex: -1,
@@ -185,7 +184,7 @@ const TreeRow = props => {
185
184
  size: "small",
186
185
  customClass: "row-toolbar"
187
186
  }, /*#__PURE__*/_react.default.createElement(_toolbar.ToolBarGroup, {
188
- key: `left-toolbar-${(0, _uuid.v1)()}`,
187
+ key: "left-toolbar-".concat((0, _uuid.v1)()),
189
188
  style: _objectSpread({
190
189
  float: 'left',
191
190
  height: 'fit-content'
@@ -196,14 +195,14 @@ const TreeRow = props => {
196
195
  size: "small",
197
196
  customClass: "row-toolbar"
198
197
  }, /*#__PURE__*/_react.default.createElement(_toolbar.ToolBarGroup, {
199
- key: `right-toolbar-${(0, _uuid.v1)()}`,
198
+ key: "right-toolbar-".concat((0, _uuid.v1)()),
200
199
  style: _objectSpread({
201
200
  float: 'right',
202
201
  height: 'fit-content',
203
202
  gap: '4px'
204
203
  }, styleForRightToolbar)
205
204
  }, rightToolbarElements && buildToolbarElements(rightToolbarElements)))))), dataColumns.slice(1).map(column => /*#__PURE__*/_react.default.createElement(_table.Td, {
206
- key: `key-${column.name}-${(0, _uuid.v1)()}`,
205
+ key: "key-".concat(column.name, "-").concat((0, _uuid.v1)()),
207
206
  style: _objectSpread({}, column.style),
208
207
  ignoreTableColClick: true
209
208
  }, dataRow[column.name]))), open && /*#__PURE__*/_react.default.createElement(_react.Fragment, null, childrens && childrens.length === 0 && isLoadingChildrens ? /*#__PURE__*/_react.default.createElement(_table.TRow, {
@@ -220,7 +219,7 @@ const TreeRow = props => {
220
219
  dataRow: item,
221
220
  rowLevel: item.rowLevel ? item.rowLevel + 1 : 1,
222
221
  key: item[rootPropName],
223
- rowId: `${item[rootPropName]}`,
222
+ rowId: "".concat(item[rootPropName]),
224
223
  style: stylesForRow
225
224
  })), childrens && childrens.length !== 0 && isLoadingChildrens && /*#__PURE__*/_react.default.createElement(_table.TRow, {
226
225
  key: "tr-loading-childrens"
@@ -13,7 +13,7 @@ const Header = props => {
13
13
  children
14
14
  } = props;
15
15
  return /*#__PURE__*/_react.default.createElement("div", {
16
- className: `treeviewheader ${customClass}`
16
+ className: "treeviewheader ".concat(customClass)
17
17
  }, title ? /*#__PURE__*/_react.default.createElement("div", {
18
18
  className: "title"
19
19
  }, title) : children);
@@ -16,8 +16,7 @@ var _toolbar = _interopRequireWildcard(require("../toolbar"));
16
16
  var _SpinnerLoading = _interopRequireDefault(require("../spinner/SpinnerLoading"));
17
17
  const _excluded = ["validationKey", "onNodeElementClick"];
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 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; }
22
21
  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; }
23
22
  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; }
@@ -119,7 +118,7 @@ const TreeNode = props => {
119
118
  applyBehavior
120
119
  } = validation;
121
120
  if (_lodash.default.isEmpty(elementBehavior) && validator && validator(node)) {
122
- elementBehavior = options[applyBehavior ?? 'unvisible'];
121
+ elementBehavior = options[applyBehavior !== null && applyBehavior !== void 0 ? applyBehavior : 'unvisible'];
123
122
  }
124
123
  });
125
124
  }
@@ -165,7 +164,7 @@ const TreeNode = props => {
165
164
  } : {};
166
165
  return /*#__PURE__*/_react.default.createElement("div", {
167
166
  style: style,
168
- key: `element-${uuid.v1()}`,
167
+ key: "element-".concat(uuid.v1()),
169
168
  className: "element"
170
169
  }, element);
171
170
  });
@@ -185,7 +184,7 @@ const TreeNode = props => {
185
184
  }, [node]);
186
185
  return /*#__PURE__*/_react.default.createElement("li", {
187
186
  style: customStyle,
188
- className: `treeviewitem ${customClass}`
187
+ className: "treeviewitem ".concat(customClass)
189
188
  }, getSpan(), /*#__PURE__*/_react.default.createElement("div", {
190
189
  className: "label",
191
190
  style: {
@@ -202,7 +201,7 @@ const TreeNode = props => {
202
201
  }, showCheckBox ? /*#__PURE__*/_react.default.createElement(_checkbox.default, {
203
202
  checked: checked,
204
203
  disabled: required || disabled,
205
- value: `${node[valuePropName]}`,
204
+ value: "".concat(node[valuePropName]),
206
205
  label: node[labelPropName],
207
206
  tooltip: required ? defaultDisabledTooltip : '',
208
207
  onChange: disabled || required ? undefined : e => {
@@ -23,8 +23,7 @@ var _Header = _interopRequireDefault(require("./Header"));
23
23
  require("../assets/styles/treeview.scss");
24
24
  var _constants = require("./constants");
25
25
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
26
- 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); }
27
- 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; }
26
+ 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); }
28
27
  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; }
29
28
  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; }
30
29
  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; }
@@ -239,7 +238,7 @@ const TreeView = props => {
239
238
  }
240
239
  }
241
240
  return /*#__PURE__*/_react.default.createElement(_Node.default, {
242
- key: `node-${node.id}`,
241
+ key: "node-".concat(node.id),
243
242
  node: node,
244
243
  idsInLoading: idsInLoading,
245
244
  startNodesOpened: startNodesOpened,
@@ -281,7 +280,7 @@ const TreeView = props => {
281
280
  setData(props.data);
282
281
  } else if (!isSameSelectedIds) {
283
282
  setCurrentSelectedIds(selectedIds);
284
- onSelectedIdsChange?.(selectedIds);
283
+ onSelectedIdsChange === null || onSelectedIdsChange === void 0 ? void 0 : onSelectedIdsChange(selectedIds);
285
284
  setPropSelectedIds(selectedIds);
286
285
  }
287
286
  }, [selectedIds.length, props.data]);
@@ -311,10 +310,10 @@ const TreeView = props => {
311
310
  return /*#__PURE__*/_react.default.createElement(_constants.TreeviewContext.Provider, {
312
311
  value: contextValues
313
312
  }, /*#__PURE__*/_react.default.createElement("div", {
314
- className: `treeview-component ${customClass}`
313
+ className: "treeview-component ".concat(customClass)
315
314
  }, children, /*#__PURE__*/_react.default.createElement("ul", {
316
315
  style: styleForContainer,
317
- className: `treeviewcontainer ${bordered && '-bordered'}`
316
+ className: "treeviewcontainer ".concat(bordered && '-bordered')
318
317
  }, buildTree(data))));
319
318
  };
320
319
  var _default = exports.default = TreeView;
@@ -9,8 +9,7 @@ var _reactDom = require("react-dom");
9
9
  var _buttons = _interopRequireWildcard(require("../buttons"));
10
10
  require("../assets/styles/uitour.scss");
11
11
  var _helpers = require("./helpers");
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
  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; }
15
14
  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; }
16
15
  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; }
@@ -40,7 +39,7 @@ const UiTour = props => {
40
39
  const activatedEffects = (0, _react.useRef)([]);
41
40
  const handleNextStep = () => {
42
41
  if (hasNextStep) {
43
- const currentStepIndex = data.findIndex(item => item.id === currentStep?.id);
42
+ const currentStepIndex = data.findIndex(item => item.id === (currentStep === null || currentStep === void 0 ? void 0 : currentStep.id));
44
43
  const nextStep = data[currentStepIndex + 1];
45
44
  const nextStepIndex = data.findIndex(item => item.id === nextStep.id);
46
45
  const target = document.getElementById(nextStep.targetId);
@@ -53,7 +52,7 @@ const UiTour = props => {
53
52
  };
54
53
  const handleBackStep = () => {
55
54
  if (hasBackStep) {
56
- const currentStepIndex = data.findIndex(item => item.id === currentStep?.id);
55
+ const currentStepIndex = data.findIndex(item => item.id === (currentStep === null || currentStep === void 0 ? void 0 : currentStep.id));
57
56
  const backStep = data[currentStepIndex - 1];
58
57
  const backStepIndex = data.findIndex(item => item.id === backStep.id);
59
58
  const target = document.getElementById(backStep.targetId);
@@ -72,7 +71,7 @@ const UiTour = props => {
72
71
  if (stepRef.current) {
73
72
  const stepRect = stepRef.current.getBoundingClientRect();
74
73
  const windowWidth = window.innerWidth;
75
- if (stepRect.right >= windowWidth || currentStep?.position === _helpers.STEP_POSITIONS.right) {
74
+ if (stepRect.right >= windowWidth || (currentStep === null || currentStep === void 0 ? void 0 : currentStep.position) === _helpers.STEP_POSITIONS.right) {
76
75
  setStepPosition(_helpers.STEP_POSITIONS.right);
77
76
  setStepDimensions({
78
77
  top: target.top - _helpers.ARROW_HEIGHT,
@@ -179,8 +178,9 @@ const UiTour = props => {
179
178
  mutationObserver = new MutationObserver(() => {
180
179
  const targetObserved = document.getElementById(initialStep.targetId);
181
180
  if (targetObserved) {
181
+ var _mutationObserver;
182
182
  showStepTour(initialStep);
183
- mutationObserver?.disconnect();
183
+ (_mutationObserver = mutationObserver) === null || _mutationObserver === void 0 ? void 0 : _mutationObserver.disconnect();
184
184
  mutationObserver = null;
185
185
  }
186
186
  });
@@ -191,7 +191,8 @@ const UiTour = props => {
191
191
  }
192
192
  }
193
193
  return () => {
194
- mutationObserver?.disconnect();
194
+ var _mutationObserver2;
195
+ (_mutationObserver2 = mutationObserver) === null || _mutationObserver2 === void 0 ? void 0 : _mutationObserver2.disconnect();
195
196
  mutationObserver = null;
196
197
  };
197
198
  }, [visible, data]);
@@ -205,7 +206,7 @@ const UiTour = props => {
205
206
  className: "uitour-component"
206
207
  }, currentStep && /*#__PURE__*/_react.default.createElement("div", {
207
208
  ref: stepRef,
208
- className: `step -${stepPosition}`,
209
+ className: "step -".concat(stepPosition),
209
210
  key: currentStep.id,
210
211
  style: _objectSpread({}, stepDimensions)
211
212
  }, showCloseButton && /*#__PURE__*/_react.default.createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linear-react-components-ui",
3
- "version": "1.1.24-beta.8",
3
+ "version": "1.1.24-rc.1",
4
4
  "description": "Linear Sistemas ReactJs Components",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.cjs",
@@ -1,8 +0,0 @@
1
- import { IDayProps } from '../types.js';
2
- import 'react';
3
- import 'moment';
4
- import '../../@types/ColorStyles.js';
5
-
6
- declare const Day: ({ currentDate, day }: IDayProps) => JSX.Element;
7
-
8
- export { Day as default };
@@ -1,36 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireWildcard(require("react"));
8
- var _uuid = require("uuid");
9
- var _helpers = require("./helpers");
10
- var _buttons = _interopRequireDefault(require("../../buttons"));
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; }
14
- const Day = _ref => {
15
- let {
16
- currentDate,
17
- day
18
- } = _ref;
19
- const {
20
- handleDateChange
21
- } = (0, _react.useContext)(_helpers.CalendarContext);
22
- return /*#__PURE__*/_react.default.createElement("div", {
23
- className: (0, _helpers.getDayContainerCssClass)(currentDate, day)
24
- }, /*#__PURE__*/_react.default.createElement(_buttons.default, {
25
- id: (0, _uuid.v1)(),
26
- type: "button",
27
- tabIndex: (0, _helpers.dateIsEquals)(currentDate, day) ? 0 : -1,
28
- boxShadow: false,
29
- label: day.format('D'),
30
- onClick: () => {
31
- if (handleDateChange) handleDateChange(day);
32
- },
33
- customClass: ` ${(0, _helpers.getDayCssClass)(currentDate, day)} numberdaycalendar`
34
- }));
35
- };
36
- var _default = exports.default = Day;
@@ -1,8 +0,0 @@
1
- import { IMonthProps } from '../types.js';
2
- import 'react';
3
- import 'moment';
4
- import '../../@types/ColorStyles.js';
5
-
6
- declare const Month: ({ monthRef, currentDate }: IMonthProps) => JSX.Element;
7
-
8
- export { Month as default };
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _Week = _interopRequireDefault(require("./Week"));
9
- var _helpers = require("./helpers");
10
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- const Month = _ref => {
12
- let {
13
- monthRef,
14
- currentDate
15
- } = _ref;
16
- const renderWeeks = () => {
17
- const date = currentDate.clone();
18
- let weeks = [];
19
- let weekIndex = 0;
20
- let startOfWeek = (0, _helpers.getStartOfWeek)((0, _helpers.getStartOfMonth)(date));
21
- while (weekIndex < 6) {
22
- const week = /*#__PURE__*/_react.default.createElement(_Week.default, {
23
- currentDate: currentDate,
24
- weekStartDate: startOfWeek,
25
- key: `week-${startOfWeek.format('YYYYMMDD')}`
26
- });
27
- weeks = [...weeks, week];
28
- weekIndex += 1;
29
- startOfWeek = startOfWeek.clone().add(1, 'weeks');
30
- startOfWeek = (0, _helpers.getStartOfWeek)(startOfWeek);
31
- }
32
- return weeks;
33
- };
34
- return /*#__PURE__*/_react.default.createElement("div", {
35
- ref: monthRef,
36
- className: "calendarmonth"
37
- }, renderWeeks());
38
- };
39
- var _default = exports.default = Month;
@@ -1,8 +0,0 @@
1
- import { IWeekProps } from '../types.js';
2
- import 'react';
3
- import 'moment';
4
- import '../../@types/ColorStyles.js';
5
-
6
- declare const Week: ({ weekStartDate, currentDate }: IWeekProps) => JSX.Element;
7
-
8
- export { Week as default };
@@ -1,35 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _Day = _interopRequireDefault(require("./Day"));
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- const Week = _ref => {
11
- let {
12
- weekStartDate,
13
- currentDate
14
- } = _ref;
15
- const renderDays = () => {
16
- let days = [];
17
- let dayIndex = 0;
18
- let dayDate = weekStartDate;
19
- while (dayIndex < 7) {
20
- const day = /*#__PURE__*/_react.default.createElement(_Day.default, {
21
- currentDate: currentDate,
22
- day: dayDate,
23
- key: dayDate.format('YYYYMMDD')
24
- });
25
- days = [...days, day];
26
- dayIndex += 1;
27
- dayDate = dayDate.clone().add(1, 'day');
28
- }
29
- return days;
30
- };
31
- return /*#__PURE__*/_react.default.createElement("div", {
32
- className: "monthweek"
33
- }, renderDays());
34
- };
35
- var _default = exports.default = Week;
@@ -1,26 +0,0 @@
1
- import React__default from 'react';
2
- import { LeftSlot, RightSlot } from './inputs2/slot/index.js';
3
- import { Options } from './inputs2/selectfield/options.js';
4
- import { Item } from './inputs2/selectfield/item.js';
5
- import { SelectFieldInputProps } from './inputs2/selectfield/types.js';
6
-
7
- declare const Input: React__default.ForwardRefExoticComponent<Pick<SelectFieldInputProps, "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" | "multiple" | "readOnly" | "list" | "step" | "maxLength" | "required" | "hint" | "hintPosition" | "textAlign" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "themePopover" | "popoverAlign" | "checked" | "showClearButton" | "searchOnDropdown" | "undigitable" | "openDropdownOnFocus" | "onSearch" | "striped" | "max" | "min" | "src" | "alt" | "errors" | "capture" | "crossOrigin" | "enterKeyHint" | "minLength" | "customClassLabel" | "customClassWrapper" | "customClassInputContainer" | "externalSearch" | "notFoundFilterLabel" | "searchInputPlaceholder" | "multipleInputLabelEmpty" | "multipleInputLabelManySelection" | "dropdownAlignButton"> & React__default.RefAttributes<HTMLInputElement>>;
8
-
9
- declare const index_Input: typeof Input;
10
- declare const index_Item: typeof Item;
11
- declare const index_LeftSlot: typeof LeftSlot;
12
- declare const index_Options: typeof Options;
13
- declare const index_RightSlot: typeof RightSlot;
14
- declare const index_SelectFieldInputProps: typeof SelectFieldInputProps;
15
- declare namespace index {
16
- export {
17
- index_Input as Input,
18
- index_Item as Item,
19
- index_LeftSlot as LeftSlot,
20
- index_Options as Options,
21
- index_RightSlot as RightSlot,
22
- index_SelectFieldInputProps as SelectFieldInputProps,
23
- };
24
- }
25
-
26
- export { Input as I, index as i };
@@ -1,41 +0,0 @@
1
- import React__default from 'react';
2
- import { Size } from './@types/Size.js';
3
- import { ColorTheme } from './@types/ColorStyles.js';
4
- import { ITooltipCommonProps } from './tooltip/types.js';
5
- import { HintPosition, Position } from './@types/Position.js';
6
- import { PermissionAttr, OnDenied } from './@types/PermissionAttr.js';
7
-
8
- type InputHTMLProps = Omit<React__default.ComponentProps<'input'>, 'size' | 'type'>;
9
- interface CheckboxFieldInputProps extends InputHTMLProps, ITooltipCommonProps {
10
- hint?: string;
11
- label?: string;
12
- size?: Exclude<Size, 'mini'>;
13
- variant?: 'default' | 'secondary';
14
- errors?: string[];
15
- gridLayout?: string;
16
- customClass?: string;
17
- customClassLabel?: string;
18
- customClassWrapper?: string;
19
- customClassInputContainer?: string;
20
- rounded?: boolean;
21
- readOnly?: boolean;
22
- skeletonize?: boolean;
23
- labelUppercase?: boolean;
24
- hintPosition?: HintPosition;
25
- themePopover?: ColorTheme;
26
- popoverAlign?: Extract<Position, 'left' | 'right'>;
27
- permissionAttr?: PermissionAttr;
28
- onDeniedActions?: OnDenied;
29
- }
30
- declare const Input: React__default.ForwardRefExoticComponent<Pick<CheckboxFieldInputProps, "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" | "multiple" | "readOnly" | "list" | "step" | "labelUppercase" | "maxLength" | "required" | "hint" | "hintPosition" | "rounded" | "onDeniedActions" | "gridLayout" | "accept" | "autoComplete" | "themePopover" | "popoverAlign" | "checked" | "max" | "min" | "src" | "alt" | "errors" | "capture" | "crossOrigin" | "enterKeyHint" | "minLength" | "customClassLabel" | "customClassWrapper" | "customClassInputContainer" | "variant"> & React__default.RefAttributes<HTMLInputElement>>;
31
-
32
- type index_CheckboxFieldInputProps = CheckboxFieldInputProps;
33
- declare const index_Input: typeof Input;
34
- declare namespace index {
35
- export {
36
- index_CheckboxFieldInputProps as CheckboxFieldInputProps,
37
- index_Input as Input,
38
- };
39
- }
40
-
41
- export { CheckboxFieldInputProps as C, Input as I, index as i };
@@ -1,15 +0,0 @@
1
- import React__default from 'react';
2
- import { RadioFieldInputProps } from './inputs2/radiofield/types.js';
3
-
4
- declare const Input: React__default.ForwardRefExoticComponent<Pick<RadioFieldInputProps, "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>>;
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 };