@synerise/ds-table 1.9.11 → 1.9.12

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 (231) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/Cell/Action/ActionCell.d.ts +2 -2
  3. package/dist/Cell/Action/ActionCell.js +15 -18
  4. package/dist/Cell/Action/ActionCell.styles.d.ts +2 -2
  5. package/dist/Cell/Action/ActionCell.styles.js +10 -11
  6. package/dist/Cell/Action/ActionCell.types.d.ts +2 -2
  7. package/dist/Cell/Action/ActionCell.types.js +1 -1
  8. package/dist/Cell/AvatarLabel/AvatarLabel.d.ts +2 -2
  9. package/dist/Cell/AvatarLabel/AvatarLabel.js +32 -43
  10. package/dist/Cell/AvatarLabel/AvatarLabel.styles.d.ts +13 -13
  11. package/dist/Cell/AvatarLabel/AvatarLabel.styles.js +27 -28
  12. package/dist/Cell/AvatarLabel/AvatarLabel.types.d.ts +2 -2
  13. package/dist/Cell/AvatarLabel/AvatarLabel.types.js +1 -1
  14. package/dist/Cell/Copyable/Copyable.styles.d.ts +2 -2
  15. package/dist/Cell/Copyable/Copyable.styles.js +9 -15
  16. package/dist/Cell/Copyable/Copyable.types.d.ts +1 -1
  17. package/dist/Cell/Copyable/Copyable.types.js +1 -1
  18. package/dist/Cell/Copyable/CopyableCell.d.ts +2 -2
  19. package/dist/Cell/Copyable/CopyableCell.js +23 -27
  20. package/dist/Cell/Editable/EditableCell.d.ts +2 -2
  21. package/dist/Cell/Editable/EditableCell.js +26 -39
  22. package/dist/Cell/Editable/EditableCell.styles.d.ts +2 -2
  23. package/dist/Cell/Editable/EditableCell.styles.js +9 -7
  24. package/dist/Cell/Editable/EditableCell.types.d.ts +1 -1
  25. package/dist/Cell/Editable/EditableCell.types.js +1 -1
  26. package/dist/Cell/FlagLabel/FlagLabelCell.d.ts +2 -2
  27. package/dist/Cell/FlagLabel/FlagLabelCell.js +15 -14
  28. package/dist/Cell/FlagLabel/FlagLabelCell.styles.d.ts +1 -1
  29. package/dist/Cell/FlagLabel/FlagLabelCell.styles.js +6 -3
  30. package/dist/Cell/FlagLabel/FlagLabelCell.types.d.ts +2 -2
  31. package/dist/Cell/FlagLabel/FlagLabelCell.types.js +1 -1
  32. package/dist/Cell/IconLabel/IconLabel.d.ts +2 -2
  33. package/dist/Cell/IconLabel/IconLabel.js +14 -15
  34. package/dist/Cell/IconLabel/IconLabel.styles.d.ts +1 -1
  35. package/dist/Cell/IconLabel/IconLabel.styles.js +7 -6
  36. package/dist/Cell/IconLabel/IconLabel.types.d.ts +3 -3
  37. package/dist/Cell/IconLabel/IconLabel.types.js +1 -1
  38. package/dist/Cell/IconTooltipCell/IconTooltipCell.d.ts +2 -2
  39. package/dist/Cell/IconTooltipCell/IconTooltipCell.js +18 -23
  40. package/dist/Cell/IconTooltipCell/IconTooltipCell.styles.d.ts +2 -2
  41. package/dist/Cell/IconTooltipCell/IconTooltipCell.styles.js +9 -11
  42. package/dist/Cell/IconTooltipCell/IconTooltipCell.types.d.ts +4 -4
  43. package/dist/Cell/IconTooltipCell/IconTooltipCell.types.js +1 -1
  44. package/dist/Cell/InputNumber/InputNumberCell.d.ts +2 -2
  45. package/dist/Cell/InputNumber/InputNumberCell.js +10 -17
  46. package/dist/Cell/InputNumber/InputNumberCell.styles.d.ts +1 -1
  47. package/dist/Cell/InputNumber/InputNumberCell.styles.js +9 -5
  48. package/dist/Cell/InputNumber/InputNumberCell.types.d.ts +2 -2
  49. package/dist/Cell/InputNumber/InputNumberCell.types.js +1 -1
  50. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.d.ts +3 -3
  51. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.js +29 -40
  52. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.styles.d.ts +3 -3
  53. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.styles.js +11 -8
  54. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.types.d.ts +2 -2
  55. package/dist/Cell/LabelsWithShowMore/LabelsWithShowMore.types.js +1 -1
  56. package/dist/Cell/LabelsWithShowMore/Modal/Modal.d.ts +2 -2
  57. package/dist/Cell/LabelsWithShowMore/Modal/Modal.js +35 -64
  58. package/dist/Cell/LabelsWithShowMore/Modal/Modal.types.d.ts +3 -3
  59. package/dist/Cell/LabelsWithShowMore/Modal/Modal.types.js +1 -1
  60. package/dist/Cell/Star/StarCell.d.ts +45 -45
  61. package/dist/Cell/Star/StarCell.js +25 -31
  62. package/dist/Cell/Star/StarCell.styles.d.ts +2 -2
  63. package/dist/Cell/Star/StarCell.styles.js +11 -9
  64. package/dist/Cell/Star/StarCell.types.d.ts +2 -2
  65. package/dist/Cell/Star/StarCell.types.js +1 -1
  66. package/dist/Cell/StatusLabel/StatusLabel.d.ts +2 -2
  67. package/dist/Cell/StatusLabel/StatusLabel.js +17 -19
  68. package/dist/Cell/StatusLabel/StatusLabel.styles.d.ts +2 -2
  69. package/dist/Cell/StatusLabel/StatusLabel.styles.js +9 -9
  70. package/dist/Cell/StatusLabel/StatusLabel.types.d.ts +3 -3
  71. package/dist/Cell/StatusLabel/StatusLabel.types.js +1 -1
  72. package/dist/Cell/TagIcon/TagIcon.d.ts +2 -2
  73. package/dist/Cell/TagIcon/TagIcon.js +9 -13
  74. package/dist/Cell/TagIcon/TagIcon.styles.d.ts +1 -1
  75. package/dist/Cell/TagIcon/TagIcon.styles.js +7 -6
  76. package/dist/Cell/TagIcon/TagIcon.types.d.ts +2 -2
  77. package/dist/Cell/TagIcon/TagIcon.types.js +1 -1
  78. package/dist/Cell/TagsGroup/TagsGroup.d.ts +2 -2
  79. package/dist/Cell/TagsGroup/TagsGroup.js +22 -39
  80. package/dist/Cell/TagsGroup/TagsGroup.styles.d.ts +2 -2
  81. package/dist/Cell/TagsGroup/TagsGroup.styles.js +30 -9
  82. package/dist/Cell/TagsGroup/TagsGroup.types.d.ts +2 -2
  83. package/dist/Cell/TagsGroup/TagsGroup.types.js +1 -1
  84. package/dist/Cell/index.d.ts +12 -12
  85. package/dist/Cell/index.js +28 -14
  86. package/dist/ColumnSortMenu/SortIcons.d.ts +2 -2
  87. package/dist/ColumnSortMenu/SortIcons.js +26 -38
  88. package/dist/ColumnSortMenu/SortRender.styles.d.ts +34 -34
  89. package/dist/ColumnSortMenu/SortRender.styles.js +13 -10
  90. package/dist/ColumnSortMenu/SortRenderer.d.ts +2 -2
  91. package/dist/ColumnSortMenu/SortRenderer.js +74 -108
  92. package/dist/ColumnSortMenu/TitleWithSort.d.ts +2 -2
  93. package/dist/ColumnSortMenu/TitleWithSort.js +19 -16
  94. package/dist/ColumnSortMenu/columnWithSortButtons.d.ts +1 -2
  95. package/dist/ColumnSortMenu/columnWithSortButtons.js +26 -43
  96. package/dist/ColumnSortMenu/groupedColumnsSort.d.ts +3 -3
  97. package/dist/ColumnSortMenu/groupedColumnsSort.js +33 -28
  98. package/dist/ColumnSortMenu/replaceSortButtons.d.ts +1 -1
  99. package/dist/ColumnSortMenu/replaceSortButtons.js +14 -15
  100. package/dist/ColumnSortMenu/useSortState.d.ts +1 -1
  101. package/dist/ColumnSortMenu/useSortState.js +95 -93
  102. package/dist/DefaultTable/DefaultTable.d.ts +2 -2
  103. package/dist/DefaultTable/DefaultTable.js +147 -148
  104. package/dist/FilterTrigger/FilterTrigger.d.ts +2 -2
  105. package/dist/FilterTrigger/FilterTrigger.js +42 -67
  106. package/dist/FilterTrigger/FilterTrigger.styles.d.ts +53 -53
  107. package/dist/FilterTrigger/FilterTrigger.styles.js +19 -32
  108. package/dist/FilterTrigger/FilterTrigger.types.d.ts +1 -1
  109. package/dist/FilterTrigger/FilterTrigger.types.js +1 -1
  110. package/dist/GroupTable/GroupTable.d.ts +3 -4
  111. package/dist/GroupTable/GroupTable.js +97 -118
  112. package/dist/GroupTable/GroupTable.styles.d.ts +25 -25
  113. package/dist/GroupTable/GroupTable.styles.js +40 -37
  114. package/dist/GroupTable/GroupTable.types.d.ts +1 -1
  115. package/dist/GroupTable/GroupTable.types.js +9 -6
  116. package/dist/GroupTable/GroupTableBody/GroupTableBody.d.ts +1 -1
  117. package/dist/GroupTable/GroupTableBody/GroupTableBody.js +83 -107
  118. package/dist/GroupTable/GroupTableBody/GroupTableBody.types.d.ts +3 -3
  119. package/dist/GroupTable/GroupTableBody/GroupTableBody.types.js +1 -1
  120. package/dist/GroupTable/GroupTableHeader/GroupTableHeader.d.ts +1 -1
  121. package/dist/GroupTable/GroupTableHeader/GroupTableHeader.js +25 -28
  122. package/dist/GroupTable/GroupTableHeader/GroupTableHeader.types.js +1 -1
  123. package/dist/InfiniteScroll/BackToTopButton.d.ts +2 -2
  124. package/dist/InfiniteScroll/BackToTopButton.js +7 -15
  125. package/dist/InfiniteScroll/BackToTopButton.styles.d.ts +34 -34
  126. package/dist/InfiniteScroll/BackToTopButton.styles.js +11 -9
  127. package/dist/InfiniteScroll/ErrorItem.d.ts +1 -1
  128. package/dist/InfiniteScroll/ErrorItem.js +19 -23
  129. package/dist/InfiniteScroll/ErrorItem.styles.d.ts +1 -1
  130. package/dist/InfiniteScroll/ErrorItem.styles.js +6 -3
  131. package/dist/InfiniteScroll/InfiniteLoaderItem.d.ts +2 -2
  132. package/dist/InfiniteScroll/InfiniteLoaderItem.js +33 -28
  133. package/dist/InfiniteScroll/InfiniteLoaderItem.styles.d.ts +1 -1
  134. package/dist/InfiniteScroll/InfiniteLoaderItem.styles.js +7 -4
  135. package/dist/InfiniteScroll/InfiniteLoaderItem.types.d.ts +1 -1
  136. package/dist/InfiniteScroll/InfiniteLoaderItem.types.js +1 -1
  137. package/dist/InfiniteScroll/LoadingItem.d.ts +1 -1
  138. package/dist/InfiniteScroll/LoadingItem.js +10 -10
  139. package/dist/InfiniteScroll/NoMoreItem.d.ts +1 -1
  140. package/dist/InfiniteScroll/NoMoreItem.js +10 -10
  141. package/dist/InfiniteScroll/OuterListElement.d.ts +1 -1
  142. package/dist/InfiniteScroll/OuterListElement.js +45 -58
  143. package/dist/InfiniteScroll/constants.js +4 -1
  144. package/dist/InfiniteScroll/utils.d.ts +1 -1
  145. package/dist/InfiniteScroll/utils.js +15 -12
  146. package/dist/ItemsMenu/ItemsMenu.d.ts +2 -2
  147. package/dist/ItemsMenu/ItemsMenu.js +7 -6
  148. package/dist/ItemsMenu/ItemsMenu.styles.d.ts +1 -1
  149. package/dist/ItemsMenu/ItemsMenu.styles.js +6 -3
  150. package/dist/ItemsMenu/ItemsMenu.types.d.ts +1 -1
  151. package/dist/ItemsMenu/ItemsMenu.types.js +1 -1
  152. package/dist/RowSelection/RowSelectionColumn.d.ts +3 -3
  153. package/dist/RowSelection/RowSelectionColumn.js +77 -81
  154. package/dist/RowSelection/RowSelectionColumn.types.d.ts +3 -3
  155. package/dist/RowSelection/RowSelectionColumn.types.js +1 -1
  156. package/dist/RowSelection/index.js +4 -1
  157. package/dist/Table.d.ts +2 -4
  158. package/dist/Table.js +94 -129
  159. package/dist/Table.styles.d.ts +23 -23
  160. package/dist/Table.styles.js +86 -110
  161. package/dist/Table.types.d.ts +7 -7
  162. package/dist/Table.types.js +1 -1
  163. package/dist/TableHeader/TableHeader.d.ts +2 -2
  164. package/dist/TableHeader/TableHeader.js +91 -129
  165. package/dist/TableHeader/TableHeader.types.d.ts +2 -2
  166. package/dist/TableHeader/TableHeader.types.js +1 -1
  167. package/dist/TableHeader/TableLimit/TableLimit.d.ts +2 -2
  168. package/dist/TableHeader/TableLimit/TableLimit.js +44 -36
  169. package/dist/TableHeader/TableLimit/TableLimit.styles.d.ts +4 -4
  170. package/dist/TableHeader/TableLimit/TableLimit.styles.js +15 -13
  171. package/dist/TableHeader/TableLimit/TableLimit.types.d.ts +3 -3
  172. package/dist/TableHeader/TableLimit/TableLimit.types.js +1 -1
  173. package/dist/TableHeader/TableLimit/index.js +4 -2
  174. package/dist/TableHeader/TableSelection.d.ts +2 -2
  175. package/dist/TableHeader/TableSelection.js +163 -180
  176. package/dist/TableHeader/TableSelection.types.d.ts +1 -1
  177. package/dist/TableHeader/TableSelection.types.js +1 -1
  178. package/dist/TreeTable/TreeTable.d.ts +2 -3
  179. package/dist/TreeTable/TreeTable.js +51 -78
  180. package/dist/TreeTable/TreeTable.styles.d.ts +5 -5
  181. package/dist/TreeTable/TreeTable.styles.js +21 -20
  182. package/dist/VirtualTable/VirtualTable.d.ts +3 -3
  183. package/dist/VirtualTable/VirtualTable.js +342 -411
  184. package/dist/VirtualTable/VirtualTable.styles.d.ts +8 -8
  185. package/dist/VirtualTable/VirtualTable.styles.js +30 -40
  186. package/dist/VirtualTable/VirtualTable.types.d.ts +4 -4
  187. package/dist/VirtualTable/VirtualTable.types.js +1 -1
  188. package/dist/VirtualTable/VirtualTableRow.d.ts +4 -4
  189. package/dist/VirtualTable/VirtualTableRow.js +103 -111
  190. package/dist/VirtualTable/constants.js +8 -3
  191. package/dist/assets/style/index-tn0RQdqM.css +0 -0
  192. package/dist/constants/Table.constants.js +11 -6
  193. package/dist/constants/TableSkeleton.constants.d.ts +1 -1
  194. package/dist/constants/TableSkeleton.constants.js +48 -100
  195. package/dist/hooks/useBulkSelection/index.js +4 -1
  196. package/dist/hooks/useBulkSelection/useBulkSelection.d.ts +1 -1
  197. package/dist/hooks/useBulkSelection/useBulkSelection.js +55 -40
  198. package/dist/hooks/useRowKey/index.js +4 -1
  199. package/dist/hooks/useRowKey/useRowKey.js +11 -11
  200. package/dist/hooks/useRowStar/index.js +4 -2
  201. package/dist/hooks/useRowStar/useRowStar.d.ts +1 -1
  202. package/dist/hooks/useRowStar/useRowStar.js +54 -62
  203. package/dist/hooks/useRowStar/useRowStar.types.d.ts +2 -2
  204. package/dist/hooks/useRowStar/useRowStar.types.js +1 -1
  205. package/dist/index.d.ts +4 -4
  206. package/dist/index.js +18 -9
  207. package/dist/modules.d.js +1 -1
  208. package/dist/modules.d.ts +0 -0
  209. package/dist/utils/calculateColumnWidths.d.ts +1 -1
  210. package/dist/utils/calculateColumnWidths.js +17 -16
  211. package/dist/utils/calculatePixels.js +11 -12
  212. package/dist/utils/columnWithCellTooltip.d.ts +1 -1
  213. package/dist/utils/columnWithCellTooltip.js +18 -15
  214. package/dist/utils/getChildrenColumnName.js +6 -3
  215. package/dist/utils/getRecordSelectionStatus.d.ts +1 -1
  216. package/dist/utils/getRecordSelectionStatus.js +11 -7
  217. package/dist/utils/getSkeletonProps.d.ts +1 -1
  218. package/dist/utils/getSkeletonProps.js +26 -36
  219. package/dist/utils/getValueFromPath.js +9 -6
  220. package/dist/utils/index.js +23 -9
  221. package/dist/utils/isGrouped.d.ts +1 -1
  222. package/dist/utils/isGrouped.js +6 -3
  223. package/dist/utils/isRecordSelectable.d.ts +1 -1
  224. package/dist/utils/isRecordSelectable.js +10 -6
  225. package/dist/utils/locale.d.ts +3 -3
  226. package/dist/utils/locale.js +115 -111
  227. package/package.json +31 -31
  228. package/dist/Cell/TagsGroup/TagsGroup.spec.d.ts +0 -1
  229. package/dist/ColumnSortMenu/__spec__/groupedColumnsSort.spec.d.ts +0 -1
  230. package/dist/VirtualTable/VirtualTable.spec.d.ts +0 -1
  231. package/dist/utils/__specs__/getValueFromPath.spec.d.ts +0 -1
@@ -1,15 +1,16 @@
1
- var _excluded = ["countryCode", "label"];
2
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
3
- import React from 'react';
4
- import DSFlag from '@synerise/ds-flag';
5
- import * as S from './FlagLabelCell.styles';
6
- var FlagLabelCell = function FlagLabelCell(_ref) {
7
- var countryCode = _ref.countryCode,
8
- label = _ref.label,
9
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
10
- return /*#__PURE__*/React.createElement(S.FlagLabel, htmlAttributes, /*#__PURE__*/React.createElement(DSFlag, {
11
- country: countryCode,
12
- size: 20
13
- }), /*#__PURE__*/React.createElement("span", null, label));
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import DSFlag from "@synerise/ds-flag";
3
+ import { FlagLabel } from "./FlagLabelCell.styles.js";
4
+ const FlagLabelCell = ({
5
+ countryCode,
6
+ label,
7
+ ...htmlAttributes
8
+ }) => {
9
+ return /* @__PURE__ */ jsxs(FlagLabel, { ...htmlAttributes, children: [
10
+ /* @__PURE__ */ jsx(DSFlag, { country: countryCode, size: 20 }),
11
+ /* @__PURE__ */ jsx("span", { children: label })
12
+ ] });
13
+ };
14
+ export {
15
+ FlagLabelCell as default
14
16
  };
15
- export default FlagLabelCell;
@@ -1 +1 @@
1
- export declare const FlagLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const FlagLabel: import('styled-components').StyledComponent<"div", any, {}, never>;
@@ -1,5 +1,8 @@
1
- import styled from 'styled-components';
2
- export var FlagLabel = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ const FlagLabel = /* @__PURE__ */ styled.div.withConfig({
3
3
  displayName: "FlagLabelCellstyles__FlagLabel",
4
4
  componentId: "sc-hckhy-0"
5
- })(["display:flex;align-items:center;justify-content:flex-start;span{margin-left:8px;}"]);
5
+ })(["display:flex;align-items:center;justify-content:flex-start;span{margin-left:8px;}"]);
6
+ export {
7
+ FlagLabel
8
+ };
@@ -1,5 +1,5 @@
1
- import { type CountryCode } from '@synerise/ds-flag/dist/Flag.types';
2
- import { type WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { CountryCode } from '@synerise/ds-flag/dist/Flag.types';
2
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
3
3
  export type FlagLabelProps = WithHTMLAttributes<HTMLDivElement, {
4
4
  countryCode: CountryCode;
5
5
  label: string;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type IconLabelProps } from './IconLabel.types';
1
+ import { default as React } from 'react';
2
+ import { IconLabelProps } from './IconLabel.types';
3
3
  declare const IconLabelCell: ({ label, icon, disabled, ...htmlAttributes }: IconLabelProps) => React.JSX.Element;
4
4
  export default IconLabelCell;
@@ -1,16 +1,15 @@
1
- var _excluded = ["label", "icon", "disabled"];
2
- 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); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
- import React from 'react';
5
- import Icon from '@synerise/ds-icon';
6
- import * as S from './IconLabel.styles';
7
- var IconLabelCell = function IconLabelCell(_ref) {
8
- var label = _ref.label,
9
- icon = _ref.icon,
10
- disabled = _ref.disabled,
11
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
12
- return /*#__PURE__*/React.createElement(S.IconLabelCell, _extends({
13
- isDisabled: disabled
14
- }, htmlAttributes), icon && /*#__PURE__*/React.createElement(Icon, icon), label && /*#__PURE__*/React.createElement("span", null, label));
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import Icon from "@synerise/ds-icon";
3
+ import { IconLabelCell as IconLabelCell$1 } from "./IconLabel.styles.js";
4
+ const IconLabelCell = ({
5
+ label,
6
+ icon,
7
+ disabled,
8
+ ...htmlAttributes
9
+ }) => /* @__PURE__ */ jsxs(IconLabelCell$1, { isDisabled: disabled, ...htmlAttributes, children: [
10
+ icon && /* @__PURE__ */ jsx(Icon, { ...icon }),
11
+ label && /* @__PURE__ */ jsx("span", { children: label })
12
+ ] });
13
+ export {
14
+ IconLabelCell as default
15
15
  };
16
- export default IconLabelCell;
@@ -1,3 +1,3 @@
1
- export declare const IconLabelCell: import("styled-components").StyledComponent<"span", any, {
1
+ export declare const IconLabelCell: import('styled-components').StyledComponent<"span", any, {
2
2
  isDisabled?: boolean;
3
3
  }, never>;
@@ -1,8 +1,9 @@
1
- import styled from 'styled-components';
2
- import { IconContainer } from '@synerise/ds-icon';
3
- export var IconLabelCell = styled.span.withConfig({
1
+ import styled from "styled-components";
2
+ import { IconContainer } from "@synerise/ds-icon";
3
+ const IconLabelCell = /* @__PURE__ */ styled.span.withConfig({
4
4
  displayName: "IconLabelstyles__IconLabelCell",
5
5
  componentId: "sc-1y3fuli-0"
6
- })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;", " ", "{margin-right:8px;}"], function (props) {
7
- return props.isDisabled && 'opacity: 0.4;';
8
- }, IconContainer);
6
+ })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;", " ", "{margin-right:8px;}"], (props) => props.isDisabled && "opacity: 0.4;", IconContainer);
7
+ export {
8
+ IconLabelCell
9
+ };
@@ -1,6 +1,6 @@
1
- import type { ReactNode } from 'react';
2
- import type { IconProps } from '@synerise/ds-icon';
3
- import type { WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { ReactNode } from 'react';
2
+ import { IconProps } from '@synerise/ds-icon';
3
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
4
4
  export type IconLabelProps = WithHTMLAttributes<HTMLDivElement, {
5
5
  label?: ReactNode;
6
6
  icon?: IconProps;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type IconTooltipCellProps } from './IconTooltipCell.types';
1
+ import { default as React } from 'react';
2
+ import { IconTooltipCellProps } from './IconTooltipCell.types';
3
3
  declare const IconTooltipCell: ({ label, icon, tooltip, tooltipIcon, disabled, ...htmlAttributes }: IconTooltipCellProps) => React.JSX.Element;
4
4
  export default IconTooltipCell;
@@ -1,24 +1,19 @@
1
- var _excluded = ["label", "icon", "tooltip", "tooltipIcon", "disabled"];
2
- 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); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
- import React from 'react';
5
- import Icon from '@synerise/ds-icon';
6
- import Tooltip from '@synerise/ds-tooltip';
7
- import * as S from './IconTooltipCell.styles';
8
- var IconTooltipCell = function IconTooltipCell(_ref) {
9
- var label = _ref.label,
10
- icon = _ref.icon,
11
- _ref$tooltip = _ref.tooltip,
12
- tooltip = _ref$tooltip === void 0 ? {} : _ref$tooltip,
13
- tooltipIcon = _ref.tooltipIcon,
14
- disabled = _ref.disabled,
15
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
16
- return /*#__PURE__*/React.createElement(S.IconTooltipCell, _extends({}, htmlAttributes, {
17
- isDisabled: disabled
18
- }), icon && /*#__PURE__*/React.createElement(Icon, _extends({
19
- className: "main-icon"
20
- }, icon)), label && /*#__PURE__*/React.createElement(S.Label, null, label), tooltipIcon && /*#__PURE__*/React.createElement(Tooltip, tooltip, /*#__PURE__*/React.createElement(Icon, _extends({
21
- className: "tooltip-icon"
22
- }, tooltipIcon))));
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import Icon from "@synerise/ds-icon";
3
+ import Tooltip from "@synerise/ds-tooltip";
4
+ import { IconTooltipCell as IconTooltipCell$1, Label } from "./IconTooltipCell.styles.js";
5
+ const IconTooltipCell = ({
6
+ label,
7
+ icon,
8
+ tooltip = {},
9
+ tooltipIcon,
10
+ disabled,
11
+ ...htmlAttributes
12
+ }) => /* @__PURE__ */ jsxs(IconTooltipCell$1, { ...htmlAttributes, isDisabled: disabled, children: [
13
+ icon && /* @__PURE__ */ jsx(Icon, { className: "main-icon", ...icon }),
14
+ label && /* @__PURE__ */ jsx(Label, { children: label }),
15
+ tooltipIcon && /* @__PURE__ */ jsx(Tooltip, { ...tooltip, children: /* @__PURE__ */ jsx(Icon, { className: "tooltip-icon", ...tooltipIcon }) })
16
+ ] });
17
+ export {
18
+ IconTooltipCell as default
23
19
  };
24
- export default IconTooltipCell;
@@ -1,4 +1,4 @@
1
- export declare const IconTooltipCell: import("styled-components").StyledComponent<"span", any, {
1
+ export declare const IconTooltipCell: import('styled-components').StyledComponent<"span", any, {
2
2
  isDisabled?: boolean;
3
3
  }, never>;
4
- export declare const Label: import("styled-components").StyledComponent<"span", any, {}, never>;
4
+ export declare const Label: import('styled-components').StyledComponent<"span", any, {}, never>;
@@ -1,15 +1,13 @@
1
- import styled from 'styled-components';
2
- export var IconTooltipCell = styled.span.withConfig({
1
+ import styled from "styled-components";
2
+ const IconTooltipCell = /* @__PURE__ */ styled.span.withConfig({
3
3
  displayName: "IconTooltipCellstyles__IconTooltipCell",
4
4
  componentId: "sc-1x4usl8-0"
5
- })(["display:flex;flex-direction:row;align-items:center;white-space:nowrap;justify-content:flex-start;", " .main-icon{svg{fill:", ";}}.tooltip-icon{svg{fill:", ";}}"], function (props) {
6
- return props.isDisabled && 'opacity: 0.4;';
7
- }, function (props) {
8
- return props.theme.palette['grey-600'];
9
- }, function (props) {
10
- return props.theme.palette['grey-400'];
11
- });
12
- export var Label = styled.span.withConfig({
5
+ })(["display:flex;flex-direction:row;align-items:center;white-space:nowrap;justify-content:flex-start;", " .main-icon{svg{fill:", ";}}.tooltip-icon{svg{fill:", ";}}"], (props) => props.isDisabled && "opacity: 0.4;", (props) => props.theme.palette["grey-600"], (props) => props.theme.palette["grey-400"]);
6
+ const Label = /* @__PURE__ */ styled.span.withConfig({
13
7
  displayName: "IconTooltipCellstyles__Label",
14
8
  componentId: "sc-1x4usl8-1"
15
- })(["margin-left:4px;display:flex;white-space:nowrap;"]);
9
+ })(["margin-left:4px;display:flex;white-space:nowrap;"]);
10
+ export {
11
+ IconTooltipCell,
12
+ Label
13
+ };
@@ -1,7 +1,7 @@
1
- import type { ReactNode } from 'react';
2
- import type { IconProps } from '@synerise/ds-icon';
3
- import type { TooltipProps } from '@synerise/ds-tooltip';
4
- import type { WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { ReactNode } from 'react';
2
+ import { IconProps } from '@synerise/ds-icon';
3
+ import { TooltipProps } from '@synerise/ds-tooltip';
4
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
5
5
  export type IconTooltipCellProps = WithHTMLAttributes<HTMLDivElement, {
6
6
  label?: ReactNode;
7
7
  icon?: IconProps;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type InputNumberCellProps } from './InputNumberCell.types';
1
+ import { default as React } from 'react';
2
+ import { InputNumberCellProps } from './InputNumberCell.types';
3
3
  declare const InputNumberCell: ({ inputNumberProps, disabled, ...htmlAttributes }: InputNumberCellProps) => React.JSX.Element;
4
4
  export default InputNumberCell;
@@ -1,18 +1,11 @@
1
- var _excluded = ["inputNumberProps", "disabled"];
2
- 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); }
3
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
- import React from 'react';
5
- import InputNumber from '@synerise/ds-input-number';
6
- import * as S from './InputNumberCell.styles';
7
- var InputNumberCell = function InputNumberCell(_ref) {
8
- var inputNumberProps = _ref.inputNumberProps,
9
- disabled = _ref.disabled,
10
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
11
- return /*#__PURE__*/React.createElement(S.InputNumberCell, _extends({}, htmlAttributes, {
12
- isDisabled: disabled
13
- }), /*#__PURE__*/React.createElement(InputNumber, _extends({
14
- raw: true,
15
- disabled: disabled
16
- }, inputNumberProps)));
1
+ import { jsx } from "react/jsx-runtime";
2
+ import InputNumber from "@synerise/ds-input-number";
3
+ import { InputNumberCell as InputNumberCell$1 } from "./InputNumberCell.styles.js";
4
+ const InputNumberCell = ({
5
+ inputNumberProps,
6
+ disabled,
7
+ ...htmlAttributes
8
+ }) => /* @__PURE__ */ jsx(InputNumberCell$1, { ...htmlAttributes, isDisabled: disabled, children: /* @__PURE__ */ jsx(InputNumber, { raw: true, disabled, ...inputNumberProps }) });
9
+ export {
10
+ InputNumberCell as default
17
11
  };
18
- export default InputNumberCell;
@@ -1,3 +1,3 @@
1
- export declare const InputNumberCell: import("styled-components").StyledComponent<"div", any, {
1
+ export declare const InputNumberCell: import('styled-components').StyledComponent<"div", any, {
2
2
  isDisabled?: boolean;
3
3
  }, never>;
@@ -1,7 +1,11 @@
1
- import styled from 'styled-components';
2
- export var InputNumberCell = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ const InputNumberCell = /* @__PURE__ */ styled.div.withConfig({
3
3
  displayName: "InputNumberCellstyles__InputNumberCell",
4
4
  componentId: "sc-iguxfm-0"
5
- })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;", " max-width:100%;min-width:80px;"], function (props) {
6
- return props.isDisabled && "\n opacity: 0.4;\n pointer-events: none;\n ";
7
- });
5
+ })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;", " max-width:100%;min-width:80px;"], (props) => props.isDisabled && `
6
+ opacity: 0.4;
7
+ pointer-events: none;
8
+ `);
9
+ export {
10
+ InputNumberCell
11
+ };
@@ -1,5 +1,5 @@
1
- import { type InputNumberProps } from '@synerise/ds-input-number';
2
- import { type WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { InputNumberProps } from '@synerise/ds-input-number';
2
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
3
3
  export type InputNumberCellProps = WithHTMLAttributes<HTMLDivElement, {
4
4
  inputNumberProps?: InputNumberProps;
5
5
  disabled?: boolean;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { type LabelsWithShowMoreProps } from './LabelsWithShowMore.types';
3
- import { type DataSourceType } from './Modal/Modal.types';
1
+ import { default as React } from 'react';
2
+ import { LabelsWithShowMoreProps } from './LabelsWithShowMore.types';
3
+ import { DataSourceType } from './Modal/Modal.types';
4
4
  declare const LabelsWithShowMore: ({ items, numberOfVisibleItems, renderItem, labelKey, texts, loading, ...htmlAttributes }: LabelsWithShowMoreProps<DataSourceType>) => React.JSX.Element;
5
5
  export default LabelsWithShowMore;
@@ -1,44 +1,33 @@
1
- var _excluded = ["items", "numberOfVisibleItems", "renderItem", "labelKey", "texts", "loading"];
2
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
3
- import React, { useMemo, useState } from 'react';
4
- import Tooltip from '@synerise/ds-tooltip';
5
- import * as S from './LabelsWithShowMore.styles';
6
- import DetailsModal from './Modal/Modal';
7
- var LabelsWithShowMore = function LabelsWithShowMore(_ref) {
8
- var items = _ref.items,
9
- numberOfVisibleItems = _ref.numberOfVisibleItems,
10
- renderItem = _ref.renderItem,
11
- labelKey = _ref.labelKey,
12
- texts = _ref.texts,
13
- loading = _ref.loading,
14
- htmlAttributes = _objectWithoutPropertiesLoose(_ref, _excluded);
15
- var _useState = useState(false),
16
- modalVisible = _useState[0],
17
- setModalVisible = _useState[1];
18
- var diff = useMemo(function () {
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { useState, useMemo } from "react";
3
+ import Tooltip from "@synerise/ds-tooltip";
4
+ import { CellWrapper, Labels, MoreInfo } from "./LabelsWithShowMore.styles.js";
5
+ import DetailsModal from "./Modal/Modal.js";
6
+ const LabelsWithShowMore = ({
7
+ items,
8
+ numberOfVisibleItems,
9
+ renderItem,
10
+ labelKey,
11
+ texts,
12
+ loading,
13
+ ...htmlAttributes
14
+ }) => {
15
+ const [modalVisible, setModalVisible] = useState(false);
16
+ const diff = useMemo(() => {
19
17
  return items.length - numberOfVisibleItems;
20
18
  }, [items, numberOfVisibleItems]);
21
- var labels = useMemo(function () {
22
- return items.slice(0, numberOfVisibleItems).map(function (item) {
23
- return item[labelKey];
24
- }).join(', ');
19
+ const labels = useMemo(() => {
20
+ return items.slice(0, numberOfVisibleItems).map((item) => item[labelKey]).join(", ");
25
21
  }, [items, labelKey, numberOfVisibleItems]);
26
- return /*#__PURE__*/React.createElement(S.CellWrapper, htmlAttributes, /*#__PURE__*/React.createElement(S.Labels, null, labels), diff > 0 && /*#__PURE__*/React.createElement(Tooltip, {
27
- title: "" + texts.tooltip
28
- }, /*#__PURE__*/React.createElement(S.MoreInfo, {
29
- onClick: function onClick() {
30
- return setModalVisible(true);
31
- }
32
- }, "+", diff)), /*#__PURE__*/React.createElement(DetailsModal, {
33
- visible: modalVisible,
34
- hide: function hide() {
35
- return setModalVisible(false);
36
- },
37
- items: items,
38
- renderItem: renderItem,
39
- labelKey: labelKey,
40
- texts: texts,
41
- loading: loading
42
- }));
22
+ return /* @__PURE__ */ jsxs(CellWrapper, { ...htmlAttributes, children: [
23
+ /* @__PURE__ */ jsx(Labels, { children: labels }),
24
+ diff > 0 && /* @__PURE__ */ jsx(Tooltip, { title: `${texts.tooltip}`, children: /* @__PURE__ */ jsxs(MoreInfo, { onClick: () => setModalVisible(true), children: [
25
+ "+",
26
+ diff
27
+ ] }) }),
28
+ /* @__PURE__ */ jsx(DetailsModal, { visible: modalVisible, hide: () => setModalVisible(false), items, renderItem, labelKey, texts, loading })
29
+ ] });
30
+ };
31
+ export {
32
+ LabelsWithShowMore as default
43
33
  };
44
- export default LabelsWithShowMore;
@@ -1,3 +1,3 @@
1
- export declare const CellWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const MoreInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const Labels: import("styled-components").StyledComponent<"span", any, {}, never>;
1
+ export declare const CellWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
2
+ export declare const MoreInfo: import('styled-components').StyledComponent<"div", any, {}, never>;
3
+ export declare const Labels: import('styled-components').StyledComponent<"span", any, {}, never>;
@@ -1,15 +1,18 @@
1
- import styled from 'styled-components';
2
- export var CellWrapper = styled.div.withConfig({
1
+ import styled from "styled-components";
2
+ const CellWrapper = /* @__PURE__ */ styled.div.withConfig({
3
3
  displayName: "LabelsWithShowMorestyles__CellWrapper",
4
4
  componentId: "sc-1wfssoi-0"
5
5
  })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;"]);
6
- export var MoreInfo = styled.div.withConfig({
6
+ const MoreInfo = /* @__PURE__ */ styled.div.withConfig({
7
7
  displayName: "LabelsWithShowMorestyles__MoreInfo",
8
8
  componentId: "sc-1wfssoi-1"
9
- })(["font-size:11px;margin-left:8px;color:", ";display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;"], function (props) {
10
- return props.theme.palette['grey-500'];
11
- });
12
- export var Labels = styled.span.withConfig({
9
+ })(["font-size:11px;margin-left:8px;color:", ";display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;"], (props) => props.theme.palette["grey-500"]);
10
+ const Labels = /* @__PURE__ */ styled.span.withConfig({
13
11
  displayName: "LabelsWithShowMorestyles__Labels",
14
12
  componentId: "sc-1wfssoi-2"
15
- })(["display:block;text-overflow:ellipsis;overflow:hidden;max-width:calc(100% - 32px);"]);
13
+ })(["display:block;text-overflow:ellipsis;overflow:hidden;max-width:calc(100% - 32px);"]);
14
+ export {
15
+ CellWrapper,
16
+ Labels,
17
+ MoreInfo
18
+ };
@@ -1,5 +1,5 @@
1
- import { type Component, type ReactNode } from 'react';
2
- import { type WithHTMLAttributes } from '@synerise/ds-utils';
1
+ import { Component, ReactNode } from 'react';
2
+ import { WithHTMLAttributes } from '@synerise/ds-utils';
3
3
  export type ShowMoreTexts = {
4
4
  tooltip: ReactNode;
5
5
  searchPlaceholder: string;
@@ -1 +1 @@
1
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type DataSourceType, type ModalProps } from './Modal.types';
1
+ import { default as React } from 'react';
2
+ import { DataSourceType, ModalProps } from './Modal.types';
3
3
  declare const DetailsModal: ({ visible, hide, items, texts, renderItem, labelKey, loading, }: ModalProps<DataSourceType>) => React.JSX.Element;
4
4
  export default DetailsModal;
@@ -1,66 +1,37 @@
1
- import React, { useMemo, useState } from 'react';
2
- import Modal from '@synerise/ds-modal';
3
- import SearchInput from '@synerise/ds-search/dist/Elements/SearchInput/SearchInput';
4
- import VirtualTable from '../../../VirtualTable/VirtualTable';
5
- var DetailsModal = function DetailsModal(_ref) {
6
- var visible = _ref.visible,
7
- hide = _ref.hide,
8
- items = _ref.items,
9
- texts = _ref.texts,
10
- renderItem = _ref.renderItem,
11
- labelKey = _ref.labelKey,
12
- loading = _ref.loading;
13
- var _useState = useState(''),
14
- searchQuery = _useState[0],
15
- setSearchQuery = _useState[1];
16
- var columns = useMemo(function () {
17
- return [{
18
- dataIndex: labelKey,
19
- key: labelKey,
20
- render: renderItem
21
- }];
22
- }, [renderItem, labelKey]);
23
- var filteredItems = useMemo(function () {
24
- return searchQuery !== '' ? items.filter(function (item) {
25
- return item[labelKey].toLowerCase().includes(searchQuery.toLowerCase());
26
- }) : items;
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useState, useMemo } from "react";
3
+ import Modal from "@synerise/ds-modal";
4
+ import SearchInput from "@synerise/ds-search/dist/Elements/SearchInput/SearchInput";
5
+ import VirtualTable from "../../../VirtualTable/VirtualTable.js";
6
+ const DetailsModal = ({
7
+ visible,
8
+ hide,
9
+ items,
10
+ texts,
11
+ renderItem,
12
+ labelKey,
13
+ loading
14
+ }) => {
15
+ const [searchQuery, setSearchQuery] = useState("");
16
+ const columns = useMemo(() => [{
17
+ dataIndex: labelKey,
18
+ key: labelKey,
19
+ render: renderItem
20
+ }], [renderItem, labelKey]);
21
+ const filteredItems = useMemo(() => {
22
+ return searchQuery !== "" ? items.filter((item) => item[labelKey].toLowerCase().includes(searchQuery.toLowerCase())) : items;
27
23
  }, [items, labelKey, searchQuery]);
28
- return /*#__PURE__*/React.createElement(Modal, {
29
- size: "small",
30
- visible: visible,
31
- title: texts.modalTitle,
32
- closable: true,
33
- onCancel: hide,
34
- bodyStyle: {
35
- padding: 0
36
- },
37
- footer: null
38
- }, /*#__PURE__*/React.createElement(VirtualTable, {
39
- scroll: {
40
- y: 500,
41
- x: 0
42
- },
43
- cellHeight: 64,
44
- initialWidth: 500,
45
- dataSource: filteredItems,
46
- title: filteredItems.length + " " + texts.records,
47
- columns: columns,
48
- loading: loading,
49
- showHeader: false,
50
- rowKey: "key",
51
- searchComponent: /*#__PURE__*/React.createElement(SearchInput, {
52
- clearTooltip: texts.searchClear,
53
- placeholder: texts.searchPlaceholder,
54
- onChange: function onChange(value) {
55
- setSearchQuery(value);
56
- },
57
- value: searchQuery,
58
- onClear: function onClear() {
59
- setSearchQuery('');
60
- },
61
- closeOnClickOutside: true
62
- }),
63
- hideColumnNames: true
64
- }));
24
+ return /* @__PURE__ */ jsx(Modal, { size: "small", visible, title: texts.modalTitle, closable: true, onCancel: hide, bodyStyle: {
25
+ padding: 0
26
+ }, footer: null, children: /* @__PURE__ */ jsx(VirtualTable, { scroll: {
27
+ y: 500,
28
+ x: 0
29
+ }, cellHeight: 64, initialWidth: 500, dataSource: filteredItems, title: `${filteredItems.length} ${texts.records}`, columns, loading, showHeader: false, rowKey: "key", searchComponent: /* @__PURE__ */ jsx(SearchInput, { clearTooltip: texts.searchClear, placeholder: texts.searchPlaceholder, onChange: (value) => {
30
+ setSearchQuery(value);
31
+ }, value: searchQuery, onClear: () => {
32
+ setSearchQuery("");
33
+ }, closeOnClickOutside: true }), hideColumnNames: true }) });
34
+ };
35
+ export {
36
+ DetailsModal as default
65
37
  };
66
- export default DetailsModal;
@@ -1,6 +1,6 @@
1
- import type React from 'react';
2
- import { type ObjectStringKeys } from '@synerise/ds-utils';
3
- import { type ShowMoreTexts } from '../LabelsWithShowMore.types';
1
+ import { default as React } from 'react';
2
+ import { ObjectStringKeys } from '@synerise/ds-utils';
3
+ import { ShowMoreTexts } from '../LabelsWithShowMore.types';
4
4
  export type DataSourceType = Record<string, any> & {
5
5
  key: React.ReactText;
6
6
  };
@@ -1 +1 @@
1
- export {};
1
+