@antv/infographic 0.2.10 → 0.2.11

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 (232) hide show
  1. package/README.md +2 -2
  2. package/README.zh-CN.md +2 -2
  3. package/dist/infographic.min.js +205 -176
  4. package/dist/infographic.min.js.map +1 -1
  5. package/esm/constants/index.js +4 -4
  6. package/esm/designs/components/Btn.js +2 -2
  7. package/esm/designs/components/BtnsGroup.js +2 -2
  8. package/esm/designs/components/Gap.js +1 -1
  9. package/esm/designs/components/Illus.js +2 -2
  10. package/esm/designs/components/ItemDesc.js +2 -2
  11. package/esm/designs/components/ItemIcon.js +2 -2
  12. package/esm/designs/components/ItemLabel.js +2 -2
  13. package/esm/designs/components/ItemValue.js +2 -2
  14. package/esm/designs/components/ItemsGroup.js +2 -2
  15. package/esm/designs/components/ShapesGroup.js +2 -2
  16. package/esm/designs/components/Title.js +3 -3
  17. package/esm/designs/components/index.js +11 -11
  18. package/esm/designs/decorations/index.js +3 -3
  19. package/esm/designs/decorations/simple-arrow.js +2 -2
  20. package/esm/designs/decorations/text-3d.js +2 -2
  21. package/esm/designs/decorations/triangle.js +2 -2
  22. package/esm/designs/defs/DropShadow.js +1 -1
  23. package/esm/designs/defs/LinearGradient.js +1 -1
  24. package/esm/designs/defs/index.js +2 -2
  25. package/esm/designs/index.js +5 -5
  26. package/esm/designs/items/BadgeCard.js +6 -6
  27. package/esm/designs/items/CandyCardLite.js +5 -5
  28. package/esm/designs/items/CapsuleItem.js +6 -6
  29. package/esm/designs/items/CircleNode.js +5 -5
  30. package/esm/designs/items/CircularProgress.js +5 -5
  31. package/esm/designs/items/CompactCard.js +6 -6
  32. package/esm/designs/items/DoneList.js +5 -5
  33. package/esm/designs/items/HorizontalIconArrow.js +6 -6
  34. package/esm/designs/items/HorizontalIconLine.js +6 -6
  35. package/esm/designs/items/IconBadge.js +5 -5
  36. package/esm/designs/items/IndexedCard.js +6 -6
  37. package/esm/designs/items/LCornerCard.js +5 -5
  38. package/esm/designs/items/LetterCard.js +5 -5
  39. package/esm/designs/items/LinedText.js +5 -5
  40. package/esm/designs/items/PillBadge.js +6 -6
  41. package/esm/designs/items/PlainText.js +4 -4
  42. package/esm/designs/items/ProgressCard.js +5 -5
  43. package/esm/designs/items/QuarterCircular.js +5 -5
  44. package/esm/designs/items/QuarterSimpleCard.js +5 -5
  45. package/esm/designs/items/RibbonCard.js +5 -5
  46. package/esm/designs/items/RoundedRectNode.js +5 -5
  47. package/esm/designs/items/SimpleCircleNode.js +4 -4
  48. package/esm/designs/items/SimpleHorizontalArrow.js +7 -7
  49. package/esm/designs/items/SimpleIllusItem.js +6 -6
  50. package/esm/designs/items/SimpleItem.js +6 -6
  51. package/esm/designs/items/SimpleVerticalArrow.js +7 -7
  52. package/esm/designs/items/UnderlineText.js +5 -5
  53. package/esm/designs/items/VerticalIconArrow.js +7 -7
  54. package/esm/designs/items/index.js +30 -30
  55. package/esm/designs/layouts/Align.js +2 -2
  56. package/esm/designs/layouts/Flex.js +2 -2
  57. package/esm/designs/layouts/index.js +2 -2
  58. package/esm/designs/structures/chart-bar.js +7 -7
  59. package/esm/designs/structures/chart-column.js +7 -7
  60. package/esm/designs/structures/chart-line.js +7 -7
  61. package/esm/designs/structures/chart-pie.js +6 -6
  62. package/esm/designs/structures/chart-wordcloud.js +6 -6
  63. package/esm/designs/structures/compare-binary-horizontal/dividers/index.js +4 -4
  64. package/esm/designs/structures/compare-binary-horizontal/dividers/pros-cons-arrow.js +4 -4
  65. package/esm/designs/structures/compare-binary-horizontal/dividers/pros-cons-fold.js +4 -4
  66. package/esm/designs/structures/compare-binary-horizontal/dividers/vs.js +4 -4
  67. package/esm/designs/structures/compare-binary-horizontal/index.js +8 -8
  68. package/esm/designs/structures/compare-hierarchy-left-right.js +7 -7
  69. package/esm/designs/structures/compare-hierarchy-row.js +6 -6
  70. package/esm/designs/structures/compare-quadrant.js +5 -5
  71. package/esm/designs/structures/hierarchy-mindmap.js +6 -6
  72. package/esm/designs/structures/hierarchy-structure.js +6 -6
  73. package/esm/designs/structures/hierarchy-tree.js +6 -6
  74. package/esm/designs/structures/index.js +42 -42
  75. package/esm/designs/structures/list-column.js +5 -5
  76. package/esm/designs/structures/list-grid.js +5 -5
  77. package/esm/designs/structures/list-pyramid.js +5 -5
  78. package/esm/designs/structures/list-row.js +5 -5
  79. package/esm/designs/structures/list-sector.js +5 -5
  80. package/esm/designs/structures/list-waterfall.js +5 -5
  81. package/esm/designs/structures/list-zigzag.js +6 -6
  82. package/esm/designs/structures/relation-circle.js +5 -5
  83. package/esm/designs/structures/relation-dagre-flow.js +6 -6
  84. package/esm/designs/structures/relation-network.js +6 -6
  85. package/esm/designs/structures/sequence-ascending-stairs-3d.js +7 -7
  86. package/esm/designs/structures/sequence-ascending-steps.js +5 -5
  87. package/esm/designs/structures/sequence-circle-arrows.js +6 -6
  88. package/esm/designs/structures/sequence-circular.js +6 -6
  89. package/esm/designs/structures/sequence-color-snake-steps.js +6 -6
  90. package/esm/designs/structures/sequence-cylinders-3d.js +6 -6
  91. package/esm/designs/structures/sequence-filter-mesh.js +6 -6
  92. package/esm/designs/structures/sequence-funnel.js +6 -6
  93. package/esm/designs/structures/sequence-horizontal-zigzag.js +6 -6
  94. package/esm/designs/structures/sequence-mountain.js +6 -6
  95. package/esm/designs/structures/sequence-pyramid.js +6 -6
  96. package/esm/designs/structures/sequence-roadmap-vertical.js +7 -7
  97. package/esm/designs/structures/sequence-snake-steps.js +7 -7
  98. package/esm/designs/structures/sequence-stairs-front.js +6 -6
  99. package/esm/designs/structures/sequence-steps.js +7 -7
  100. package/esm/designs/structures/sequence-timeline.js +6 -6
  101. package/esm/designs/structures/sequence-zigzag-pucks-3d.js +6 -6
  102. package/esm/designs/structures/sequence-zigzag-steps.js +6 -6
  103. package/esm/designs/utils/color.js +3 -3
  104. package/esm/designs/utils/index.js +3 -3
  105. package/esm/editor/commands/UpdateElement.js +1 -1
  106. package/esm/editor/commands/UpdateText.js +2 -2
  107. package/esm/editor/commands/index.js +4 -4
  108. package/esm/editor/editor.js +1 -1
  109. package/esm/editor/index.js +3 -3
  110. package/esm/editor/interactions/brush-select.js +3 -3
  111. package/esm/editor/interactions/click-select.js +3 -3
  112. package/esm/editor/interactions/dblclick-edit-text.js +4 -4
  113. package/esm/editor/interactions/drag-element.js +5 -5
  114. package/esm/editor/interactions/hotkey-history.js +2 -2
  115. package/esm/editor/interactions/index.js +8 -8
  116. package/esm/editor/interactions/select-highlight.js +4 -4
  117. package/esm/editor/interactions/zoom-wheel.js +3 -3
  118. package/esm/editor/managers/command.js +1 -1
  119. package/esm/editor/managers/index.js +4 -4
  120. package/esm/editor/managers/interaction.js +2 -2
  121. package/esm/editor/managers/plugin.js +1 -1
  122. package/esm/editor/managers/state.js +2 -2
  123. package/esm/editor/plugins/edit-bar/components/button.js +1 -1
  124. package/esm/editor/plugins/edit-bar/components/color-picker.js +1 -1
  125. package/esm/editor/plugins/edit-bar/components/index.js +5 -5
  126. package/esm/editor/plugins/edit-bar/components/popover.js +2 -2
  127. package/esm/editor/plugins/edit-bar/components/select.js +1 -1
  128. package/esm/editor/plugins/edit-bar/edit-bar.js +5 -5
  129. package/esm/editor/plugins/edit-bar/edit-items/align-elements.js +5 -5
  130. package/esm/editor/plugins/edit-bar/edit-items/font-align.js +3 -3
  131. package/esm/editor/plugins/edit-bar/edit-items/font-color.js +3 -3
  132. package/esm/editor/plugins/edit-bar/edit-items/font-family.js +4 -4
  133. package/esm/editor/plugins/edit-bar/edit-items/font-size.js +3 -3
  134. package/esm/editor/plugins/edit-bar/edit-items/icon-color.js +3 -3
  135. package/esm/editor/plugins/edit-bar/edit-items/index.js +6 -6
  136. package/esm/editor/plugins/edit-bar/index.js +2 -2
  137. package/esm/editor/plugins/index.js +3 -3
  138. package/esm/editor/plugins/resize-element.js +4 -4
  139. package/esm/editor/utils/data.js +1 -1
  140. package/esm/editor/utils/element.js +1 -1
  141. package/esm/editor/utils/event.js +1 -1
  142. package/esm/editor/utils/index.js +7 -7
  143. package/esm/exporter/font.d.ts +0 -13
  144. package/esm/exporter/font.js +20 -28
  145. package/esm/exporter/index.js +2 -2
  146. package/esm/exporter/png.js +2 -2
  147. package/esm/exporter/svg.js +2 -2
  148. package/esm/index.js +14 -14
  149. package/esm/jsx/components/Text.js +1 -1
  150. package/esm/jsx/components/index.js +7 -7
  151. package/esm/jsx/index.js +6 -6
  152. package/esm/jsx/layout.js +1 -1
  153. package/esm/jsx/renderer.js +4 -4
  154. package/esm/jsx/utils/bounds.js +4 -4
  155. package/esm/jsx/utils/children.js +1 -1
  156. package/esm/jsx/utils/element.js +2 -2
  157. package/esm/jsx/utils/index.js +10 -10
  158. package/esm/jsx/utils/is-fragment.js +1 -1
  159. package/esm/jsx-dev-runtime.js +1 -1
  160. package/esm/jsx-runtime.js +1 -1
  161. package/esm/options/index.js +1 -1
  162. package/esm/options/parser.js +4 -4
  163. package/esm/package.json +1 -0
  164. package/esm/renderer/composites/background.js +1 -1
  165. package/esm/renderer/composites/base.js +2 -2
  166. package/esm/renderer/composites/button.js +1 -1
  167. package/esm/renderer/composites/icon.js +3 -3
  168. package/esm/renderer/composites/illus.js +2 -2
  169. package/esm/renderer/composites/index.js +8 -8
  170. package/esm/renderer/composites/shape.js +3 -3
  171. package/esm/renderer/composites/svg.js +1 -1
  172. package/esm/renderer/composites/text.js +2 -2
  173. package/esm/renderer/constants/index.js +2 -2
  174. package/esm/renderer/fonts/index.js +4 -4
  175. package/esm/renderer/fonts/loader.js +3 -3
  176. package/esm/renderer/fonts/registry.js +1 -1
  177. package/esm/renderer/index.js +4 -4
  178. package/esm/renderer/palettes/built-in.js +1 -1
  179. package/esm/renderer/palettes/index.js +3 -3
  180. package/esm/renderer/palettes/utils.js +1 -1
  181. package/esm/renderer/renderer.js +3 -3
  182. package/esm/renderer/stylize/gradient.js +2 -2
  183. package/esm/renderer/stylize/index.js +3 -3
  184. package/esm/renderer/stylize/pattern.js +3 -3
  185. package/esm/renderer/stylize/patterns/diamond.js +1 -1
  186. package/esm/renderer/stylize/patterns/dot.js +1 -1
  187. package/esm/renderer/stylize/patterns/hex.js +1 -1
  188. package/esm/renderer/stylize/patterns/index.js +6 -6
  189. package/esm/renderer/stylize/patterns/line.js +1 -1
  190. package/esm/renderer/stylize/patterns/mosaic.js +1 -1
  191. package/esm/renderer/stylize/patterns/square.js +1 -1
  192. package/esm/renderer/stylize/rough.js +1 -1
  193. package/esm/renderer/utils/index.js +2 -2
  194. package/esm/resource/index.js +4 -4
  195. package/esm/resource/loader.js +6 -6
  196. package/esm/resource/loaders/image.js +1 -1
  197. package/esm/resource/loaders/index.js +4 -4
  198. package/esm/resource/loaders/remote.js +3 -3
  199. package/esm/resource/loaders/search.js +5 -5
  200. package/esm/resource/loaders/svg.js +1 -1
  201. package/esm/resource/utils/index.js +3 -3
  202. package/esm/resource/utils/parser.js +1 -1
  203. package/esm/resource/utils/ref.js +2 -2
  204. package/esm/runtime/Infographic.js +11 -11
  205. package/esm/runtime/index.js +1 -1
  206. package/esm/runtime/options.js +1 -1
  207. package/esm/runtime/utils.js +1 -1
  208. package/esm/ssr/index.js +1 -1
  209. package/esm/ssr/renderer.js +5 -5
  210. package/esm/syntax/index.js +4 -4
  211. package/esm/syntax/mapper.js +1 -1
  212. package/esm/syntax/relations.js +2 -2
  213. package/esm/templates/built-in.js +9 -9
  214. package/esm/templates/index.js +2 -2
  215. package/esm/themes/built-in.js +1 -1
  216. package/esm/themes/index.js +3 -3
  217. package/esm/utils/element.js +1 -1
  218. package/esm/utils/icon.js +2 -2
  219. package/esm/utils/index.js +21 -21
  220. package/esm/utils/measure-text.js +3 -3
  221. package/esm/utils/padding.js +3 -3
  222. package/esm/utils/recognizer.js +3 -3
  223. package/esm/utils/text.js +4 -4
  224. package/esm/version.d.ts +1 -1
  225. package/esm/version.js +1 -1
  226. package/lib/exporter/font.d.ts +0 -13
  227. package/lib/exporter/font.js +17 -26
  228. package/lib/version.d.ts +1 -1
  229. package/lib/version.js +1 -1
  230. package/package.json +4 -4
  231. package/src/exporter/font.ts +21 -32
  232. package/src/version.ts +1 -1
@@ -1,9 +1,9 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { getElementBounds } from '../../jsx';
3
- import { Illus, ItemDesc, ItemLabel } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { getItemProps } from '../utils';
6
- import { registerItem } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
+ import { getElementBounds } from '../../jsx/index.js';
3
+ import { Illus, ItemDesc, ItemLabel } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { getItemProps } from '../utils/index.js';
6
+ import { registerItem } from './registry.js';
7
7
  export const SimpleIllusItem = (props) => {
8
8
  const [{ indexes, datum, width = 180, illusSize = width, gap = 8, themeColors, usePaletteColor = false, }, restProps,] = getItemProps(props, ['width', 'illusSize', 'gap', 'usePaletteColor']);
9
9
  const { label, desc } = datum;
@@ -1,9 +1,9 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@antv/infographic/jsx-runtime";
2
- import { getElementBounds, Group } from '../../jsx';
3
- import { ItemDesc, ItemIcon, ItemIconCircle, ItemLabel } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { getItemProps } from '../utils';
6
- import { registerItem } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../jsx-runtime.js";
2
+ import { getElementBounds, Group } from '../../jsx/index.js';
3
+ import { ItemDesc, ItemIcon, ItemIconCircle, ItemLabel } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { getItemProps } from '../utils/index.js';
6
+ import { registerItem } from './registry.js';
7
7
  export const SimpleItem = (props) => {
8
8
  const [{ indexes, datum, width = 200, height, gap = 4, showIcon = true, iconSize = 30, iconType = 'default', positionH = 'normal', positionV = 'normal', usePaletteColor = false, themeColors, }, restProps,] = getItemProps(props, [
9
9
  'width',
@@ -1,10 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@antv/infographic/jsx-runtime";
2
- import { Group, Polygon, Text } from '../../jsx';
3
- import { Gap, ItemDesc, ItemLabel } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { AlignLayout } from '../layouts/Align';
6
- import { getItemProps } from '../utils';
7
- import { registerItem } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../jsx-runtime.js";
2
+ import { Group, Polygon, Text } from '../../jsx/index.js';
3
+ import { Gap, ItemDesc, ItemLabel } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { AlignLayout } from '../layouts/Align.js';
6
+ import { getItemProps } from '../utils/index.js';
7
+ import { registerItem } from './registry.js';
8
8
  export const SimpleVerticalArrow = (props) => {
9
9
  const [{ indexes, datum, height = 140, themeColors, positionH = 'normal' }, restProps,] = getItemProps(props, ['height']);
10
10
  const textAlignHorizontal = positionH === 'normal' ? 'right' : 'left';
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { Group, Rect, getElementBounds } from '../../jsx';
3
- import { ItemDesc, ItemLabel } from '../components';
4
- import { getItemProps } from '../utils';
5
- import { registerItem } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
+ import { Group, Rect, getElementBounds } from '../../jsx/index.js';
3
+ import { ItemDesc, ItemLabel } from '../components/index.js';
4
+ import { getItemProps } from '../utils/index.js';
5
+ import { registerItem } from './registry.js';
6
6
  const underlineWidth = 80;
7
7
  const underlineHeight = 3;
8
8
  export const UnderlineText = (props) => {
@@ -1,10 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@antv/infographic/jsx-runtime";
2
- import { Ellipse, getElementBounds, Group, Path, Polygon, Text, } from '../../jsx';
3
- import { Gap, ItemDesc, ItemIconCircle, ItemLabel } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { AlignLayout } from '../layouts/Align';
6
- import { getItemProps } from '../utils';
7
- import { registerItem } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../jsx-runtime.js";
2
+ import { Ellipse, getElementBounds, Group, Path, Polygon, Text, } from '../../jsx/index.js';
3
+ import { Gap, ItemDesc, ItemIconCircle, ItemLabel } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { AlignLayout } from '../layouts/Align.js';
6
+ import { getItemProps } from '../utils/index.js';
7
+ import { registerItem } from './registry.js';
8
8
  export const VerticalIconArrow = (props) => {
9
9
  const [{ indexes, datum, height = 140, themeColors, positionH = 'normal' }, restProps,] = getItemProps(props, ['height']);
10
10
  const isHNormal = positionH !== 'flipped';
@@ -1,30 +1,30 @@
1
- export * from './BadgeCard';
2
- export * from './CandyCardLite';
3
- export * from './CapsuleItem';
4
- export * from './CircleNode';
5
- export * from './CircularProgress';
6
- export * from './CompactCard';
7
- export * from './DoneList';
8
- export * from './HorizontalIconArrow';
9
- export * from './HorizontalIconLine';
10
- export * from './IconBadge';
11
- export * from './IndexedCard';
12
- export * from './LCornerCard';
13
- export * from './LetterCard';
14
- export * from './LinedText';
15
- export * from './PillBadge';
16
- export * from './PlainText';
17
- export * from './ProgressCard';
18
- export * from './QuarterCircular';
19
- export * from './QuarterSimpleCard';
20
- export * from './registry';
21
- export { getItem, getItems, registerItem } from './registry';
22
- export * from './RibbonCard';
23
- export * from './RoundedRectNode';
24
- export * from './SimpleCircleNode';
25
- export * from './SimpleHorizontalArrow';
26
- export * from './SimpleIllusItem';
27
- export * from './SimpleItem';
28
- export * from './SimpleVerticalArrow';
29
- export * from './UnderlineText';
30
- export * from './VerticalIconArrow';
1
+ export * from './BadgeCard.js';
2
+ export * from './CandyCardLite.js';
3
+ export * from './CapsuleItem.js';
4
+ export * from './CircleNode.js';
5
+ export * from './CircularProgress.js';
6
+ export * from './CompactCard.js';
7
+ export * from './DoneList.js';
8
+ export * from './HorizontalIconArrow.js';
9
+ export * from './HorizontalIconLine.js';
10
+ export * from './IconBadge.js';
11
+ export * from './IndexedCard.js';
12
+ export * from './LCornerCard.js';
13
+ export * from './LetterCard.js';
14
+ export * from './LinedText.js';
15
+ export * from './PillBadge.js';
16
+ export * from './PlainText.js';
17
+ export * from './ProgressCard.js';
18
+ export * from './QuarterCircular.js';
19
+ export * from './QuarterSimpleCard.js';
20
+ export * from './registry.js';
21
+ export { getItem, getItems, registerItem } from './registry.js';
22
+ export * from './RibbonCard.js';
23
+ export * from './RoundedRectNode.js';
24
+ export * from './SimpleCircleNode.js';
25
+ export * from './SimpleHorizontalArrow.js';
26
+ export * from './SimpleIllusItem.js';
27
+ export * from './SimpleItem.js';
28
+ export * from './SimpleVerticalArrow.js';
29
+ export * from './UnderlineText.js';
30
+ export * from './VerticalIconArrow.js';
@@ -1,5 +1,5 @@
1
- import { jsx as _jsx } from "@antv/infographic/jsx-runtime";
2
- import { cloneElement, createLayout, getElementBounds, getElementsBounds, Group, } from '../../jsx';
1
+ import { jsx as _jsx } from "../../jsx-runtime.js";
2
+ import { cloneElement, createLayout, getElementBounds, getElementsBounds, Group, } from '../../jsx/index.js';
3
3
  export const AlignLayout = createLayout((children, { horizontal, vertical, ...props }) => {
4
4
  if (!children || children.length === 0) {
5
5
  return _jsx(Group, { ...props });
@@ -1,5 +1,5 @@
1
- import { jsx as _jsx } from "@antv/infographic/jsx-runtime";
2
- import { cloneElement, createLayout, getElementBounds, getElementsBounds, Group, } from '../../jsx';
1
+ import { jsx as _jsx } from "../../jsx-runtime.js";
2
+ import { cloneElement, createLayout, getElementBounds, getElementsBounds, Group, } from '../../jsx/index.js';
3
3
  export const FlexLayout = createLayout((children, { flexDirection = 'row', justifyContent = 'flex-start', alignItems = 'flex-start', alignContent = 'flex-start', flexWrap = 'nowrap', gap = 0, ...props }) => {
4
4
  if (!children || children.length === 0) {
5
5
  return _jsx(Group, { ...props });
@@ -1,2 +1,2 @@
1
- export * from './Align';
2
- export * from './Flex';
1
+ export * from './Align.js';
2
+ export * from './Flex.js';
@@ -1,11 +1,11 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
2
  import { scaleLinear } from 'd3';
3
- import { getElementBounds, Group, Path, Rect, Text } from '../../jsx';
4
- import { parsePadding } from '../../utils';
5
- import { ItemsGroup } from '../components';
6
- import { FlexLayout } from '../layouts';
7
- import { getColorPrimary, getPaletteColor, getThemeColors } from '../utils';
8
- import { registerStructure } from './registry';
3
+ import { getElementBounds, Group, Path, Rect, Text } from '../../jsx/index.js';
4
+ import { parsePadding } from '../../utils/index.js';
5
+ import { ItemsGroup } from '../components/index.js';
6
+ import { FlexLayout } from '../layouts/index.js';
7
+ import { getColorPrimary, getPaletteColor, getThemeColors } from '../utils/index.js';
8
+ import { registerStructure } from './registry.js';
9
9
  export const ChartBar = (props) => {
10
10
  const { Title, Item, data, width, gap, barGap, barHeight = 28, barAreaWidth, labelGap = 16, padding = 24, showValue = true, options, valueFormatter = (value) => value.toString(), } = props;
11
11
  const resolvedBarAreaWidth = barAreaWidth ?? width ?? 480;
@@ -1,12 +1,12 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
2
  import { scaleLinear } from 'd3';
3
3
  import tinycolor from 'tinycolor2';
4
- import { Defs, Group, Rect, Text } from '../../jsx';
5
- import { parsePadding } from '../../utils';
6
- import { ItemsGroup } from '../components';
7
- import { FlexLayout } from '../layouts';
8
- import { getPaletteColor, getThemeColors } from '../utils';
9
- import { registerStructure } from './registry';
4
+ import { Defs, Group, Rect, Text } from '../../jsx/index.js';
5
+ import { parsePadding } from '../../utils/index.js';
6
+ import { ItemsGroup } from '../components/index.js';
7
+ import { FlexLayout } from '../layouts/index.js';
8
+ import { getPaletteColor, getThemeColors } from '../utils/index.js';
9
+ import { registerStructure } from './registry.js';
10
10
  export const ChartColumn = (props) => {
11
11
  const { Title, Item, data, columnGap = 60, columnWidth = 50, padding = 20, showValue = true, options, valueFormatter = (value) => value.toString(), } = props;
12
12
  const { title, desc, items = [] } = data;
@@ -1,11 +1,11 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
2
  import { scaleLinear } from 'd3';
3
- import { Defs, Ellipse, getElementBounds, Group, Path, Text } from '../../jsx';
4
- import { getSimpleHash, parsePadding } from '../../utils';
5
- import { ItemsGroup } from '../components';
6
- import { FlexLayout } from '../layouts';
7
- import { getColorPrimary, getPaletteColor, getThemeColors } from '../utils';
8
- import { registerStructure } from './registry';
3
+ import { Defs, Ellipse, getElementBounds, Group, Path, Text } from '../../jsx/index.js';
4
+ import { getSimpleHash, parsePadding } from '../../utils/index.js';
5
+ import { ItemsGroup } from '../components/index.js';
6
+ import { FlexLayout } from '../layouts/index.js';
7
+ import { getColorPrimary, getPaletteColor, getThemeColors } from '../utils/index.js';
8
+ import { registerStructure } from './registry.js';
9
9
  export const ChartLine = (props) => {
10
10
  const { Title, Item, data, width, height = 260, gap = 10, padding = 24, showValue = true, options, valueFormatter = (value) => value.toString(), } = props;
11
11
  const { title, desc, items = [], xTitle, yTitle } = data;
@@ -1,10 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
2
  import { arc, pie } from 'd3';
3
- import { getElementBounds, Group, Path, Text } from '../../jsx';
4
- import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components';
5
- import { FlexLayout } from '../layouts';
6
- import { getColorPrimary, getPaletteColor, getThemeColors } from '../utils';
7
- import { registerStructure } from './registry';
3
+ import { getElementBounds, Group, Path, Text } from '../../jsx/index.js';
4
+ import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components/index.js';
5
+ import { FlexLayout } from '../layouts/index.js';
6
+ import { getColorPrimary, getPaletteColor, getThemeColors } from '../utils/index.js';
7
+ import { registerStructure } from './registry.js';
8
8
  export const ChartPie = (props) => {
9
9
  const { Title, Item, data, radius = 140, innerRadius = 0, padding = 30, showPercentage = true, options, } = props;
10
10
  const { title, desc, items = [] } = data;
@@ -1,9 +1,9 @@
1
- import { jsx as _jsx } from "@antv/infographic/jsx-runtime";
2
- import { getElementBounds, Group, Text } from '../../jsx';
3
- import { ItemsGroup } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { getColorPrimary, getPaletteColor } from '../utils';
6
- import { registerStructure } from './registry';
1
+ import { jsx as _jsx } from "../../jsx-runtime.js";
2
+ import { getElementBounds, Group, Text } from '../../jsx/index.js';
3
+ import { ItemsGroup } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { getColorPrimary, getPaletteColor } from '../utils/index.js';
6
+ import { registerStructure } from './registry.js';
7
7
  const DEFAULT_ROTATE_ANGLES = [0, 30, -30, 60, -60];
8
8
  const GOLDEN_ANGLE = Math.PI * (3 - Math.sqrt(5));
9
9
  function getRotatedSize(width, height, angle) {
@@ -1,4 +1,4 @@
1
- export * from './pros-cons-arrow';
2
- export * from './pros-cons-fold';
3
- export { getDividerComponent, registerDivider } from './types';
4
- export * from './vs';
1
+ export * from './pros-cons-arrow.js';
2
+ export * from './pros-cons-fold.js';
3
+ export { getDividerComponent, registerDivider } from './types.js';
4
+ export * from './vs.js';
@@ -1,7 +1,7 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { Group, Text } from '../../../../jsx';
3
- import { ShapesGroup } from '../../../components';
4
- import { registerDivider } from './types';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../../../jsx-runtime.js";
2
+ import { Group, Text } from '../../../../jsx/index.js';
3
+ import { ShapesGroup } from '../../../components/index.js';
4
+ import { registerDivider } from './types.js';
5
5
  export const ProsConsArrow = (props) => {
6
6
  const { x, y, colorPositive, colorNegative, colorBg } = props;
7
7
  const width = 200;
@@ -1,7 +1,7 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { Group, Text } from '../../../../jsx';
3
- import { ShapesGroup } from '../../../components';
4
- import { registerDivider } from './types';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../../../jsx-runtime.js";
2
+ import { Group, Text } from '../../../../jsx/index.js';
3
+ import { ShapesGroup } from '../../../components/index.js';
4
+ import { registerDivider } from './types.js';
5
5
  export const ProsConsFold = (props) => {
6
6
  const { x, y, colorPositive, colorNegative, colorBg } = props;
7
7
  const width = 240;
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../../../jsx-runtime.js";
2
2
  import tinycolor from 'tinycolor2';
3
- import { Defs, Ellipse, Group } from '../../../../jsx';
4
- import { DropShadow } from '../../../defs';
5
- import { registerDivider } from './types';
3
+ import { Defs, Ellipse, Group } from '../../../../jsx/index.js';
4
+ import { DropShadow } from '../../../defs/index.js';
5
+ import { registerDivider } from './types.js';
6
6
  export const VSDivider = (props) => {
7
7
  const { x, y, colorPrimary, colorBg } = props;
8
8
  // 设计时确定的固有尺寸
@@ -1,11 +1,11 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { getElementBounds, Group } from '../../../jsx';
3
- import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../../components';
4
- import { FlexLayout } from '../../layouts';
5
- import { getPaletteColor, getThemeColors } from '../../utils';
6
- import { registerStructure } from '../registry';
7
- import './dividers';
8
- import { getDividerComponent } from './dividers';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../../jsx-runtime.js";
2
+ import { getElementBounds, Group } from '../../../jsx/index.js';
3
+ import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../../components/index.js';
4
+ import { FlexLayout } from '../../layouts/index.js';
5
+ import { getPaletteColor, getThemeColors } from '../../utils/index.js';
6
+ import { registerStructure } from '../registry.js';
7
+ import './dividers/index.js';
8
+ import { getDividerComponent } from './dividers/index.js';
9
9
  export const CompareBinaryHorizontal = (props) => {
10
10
  const { Title, Item, data, gap = 20, groupGap = 20, opposite = true, flipped = true, dividerType = 'vs', options, } = props;
11
11
  const { title, desc, items = [] } = data;
@@ -1,10 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@antv/infographic/jsx-runtime";
2
- import { Defs, Ellipse, getElementBounds, Group, Rect } from '../../jsx';
3
- import { ItemsGroup, ShapesGroup } from '../components';
4
- import { LinearGradient } from '../defs';
5
- import { FlexLayout } from '../layouts';
6
- import { getPaletteColor } from '../utils';
7
- import { registerStructure } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "../../jsx-runtime.js";
2
+ import { Defs, Ellipse, getElementBounds, Group, Rect } from '../../jsx/index.js';
3
+ import { ItemsGroup, ShapesGroup } from '../components/index.js';
4
+ import { LinearGradient } from '../defs/index.js';
5
+ import { FlexLayout } from '../layouts/index.js';
6
+ import { getPaletteColor } from '../utils/index.js';
7
+ import { registerStructure } from './registry.js';
8
8
  const decorationWidthMap = {
9
9
  none: 5,
10
10
  'dot-line': 100,
@@ -1,9 +1,9 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { getElementBounds, Group, Rect } from '../../jsx';
3
- import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { getPaletteColors } from '../utils';
6
- import { registerStructure } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
+ import { getElementBounds, Group, Rect } from '../../jsx/index.js';
3
+ import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { getPaletteColors } from '../utils/index.js';
6
+ import { registerStructure } from './registry.js';
7
7
  /**
8
8
  * 横向层级对比结构
9
9
  * 第一级:横向排列的根节点
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { getElementBounds, Group, Path } from '../../jsx';
3
- import { ItemsGroup, ShapesGroup } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { registerStructure } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
+ import { getElementBounds, Group, Path } from '../../jsx/index.js';
3
+ import { ItemsGroup, ShapesGroup } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { registerStructure } from './registry.js';
6
6
  // 配置常量
7
7
  const QUADRANT_CONFIG = {
8
8
  axisColor: '#D9D9D9',
@@ -1,10 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
2
  import { mindmap } from '@antv/hierarchy';
3
- import { Defs, Group, Path, getElementBounds } from '../../jsx';
4
- import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components';
5
- import { FlexLayout } from '../layouts';
6
- import { getColorPrimary, getHierarchyColorIndexes, getItemComponent, getPaletteColor, getThemeColors, } from '../utils';
7
- import { registerStructure } from './registry';
3
+ import { Defs, Group, Path, getElementBounds } from '../../jsx/index.js';
4
+ import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components/index.js';
5
+ import { FlexLayout } from '../layouts/index.js';
6
+ import { getColorPrimary, getHierarchyColorIndexes, getItemComponent, getPaletteColor, getThemeColors, } from '../utils/index.js';
7
+ import { registerStructure } from './registry.js';
8
8
  const DEFAULT_LEVEL_GAP = 60;
9
9
  const DEFAULT_NODE_GAP = 14;
10
10
  const LAYOUT_PADDING = 30;
@@ -1,9 +1,9 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { getElementBounds, Group, Rect, Text } from '../../jsx';
3
- import { ItemsGroup } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { getPaletteColor, getThemeColors } from '../utils';
6
- import { registerStructure } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
+ import { getElementBounds, Group, Rect, Text } from '../../jsx/index.js';
3
+ import { ItemsGroup } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { getPaletteColor, getThemeColors } from '../utils/index.js';
6
+ import { registerStructure } from './registry.js';
7
7
  const applyAlpha = (color, alpha) => {
8
8
  if (!color || color[0] !== '#' || color.length !== 7)
9
9
  return color;
@@ -1,10 +1,10 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
2
  import * as d3 from 'd3';
3
- import { Defs, Ellipse, getElementBounds, Group, Path, Polygon, } from '../../jsx';
4
- import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup, ShapesGroup, } from '../components';
5
- import { FlexLayout } from '../layouts';
6
- import { getColorPrimary, getHierarchyColorIndexes, getItemComponent, getPaletteColor, getThemeColors, } from '../utils';
7
- import { registerStructure } from './registry';
3
+ import { Defs, Ellipse, getElementBounds, Group, Path, Polygon, } from '../../jsx/index.js';
4
+ import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup, ShapesGroup, } from '../components/index.js';
5
+ import { FlexLayout } from '../layouts/index.js';
6
+ import { getColorPrimary, getHierarchyColorIndexes, getItemComponent, getPaletteColor, getThemeColors, } from '../utils/index.js';
7
+ import { registerStructure } from './registry.js';
8
8
  const distributedPadding = (rawPadding, size) => {
9
9
  const maxPadding = Math.max(0, size / 2 - 1);
10
10
  return Math.min(rawPadding, maxPadding);
@@ -1,42 +1,42 @@
1
- export * from './chart-bar';
2
- export * from './chart-column';
3
- export * from './chart-line';
4
- export * from './chart-pie';
5
- export * from './chart-wordcloud';
6
- export * from './compare-binary-horizontal';
7
- export * from './compare-hierarchy-left-right';
8
- export * from './compare-hierarchy-row';
9
- export * from './compare-quadrant';
10
- export * from './hierarchy-mindmap';
11
- export * from './hierarchy-structure';
12
- export * from './hierarchy-tree';
13
- export * from './list-column';
14
- export * from './list-grid';
15
- export * from './list-pyramid';
16
- export * from './list-row';
17
- export * from './list-sector';
18
- export * from './list-waterfall';
19
- export * from './list-zigzag';
20
- export * from './registry';
21
- export { getStructure, getStructures, registerStructure } from './registry';
22
- export * from './relation-circle';
23
- export * from './relation-dagre-flow';
24
- export * from './relation-network';
25
- export * from './sequence-ascending-stairs-3d';
26
- export * from './sequence-ascending-steps';
27
- export * from './sequence-circle-arrows';
28
- export * from './sequence-circular';
29
- export * from './sequence-color-snake-steps';
30
- export * from './sequence-cylinders-3d';
31
- export * from './sequence-filter-mesh';
32
- export * from './sequence-funnel';
33
- export * from './sequence-horizontal-zigzag';
34
- export * from './sequence-mountain';
35
- export * from './sequence-pyramid';
36
- export * from './sequence-roadmap-vertical';
37
- export * from './sequence-snake-steps';
38
- export * from './sequence-stairs-front';
39
- export * from './sequence-steps';
40
- export * from './sequence-timeline';
41
- export * from './sequence-zigzag-pucks-3d';
42
- export * from './sequence-zigzag-steps';
1
+ export * from './chart-bar.js';
2
+ export * from './chart-column.js';
3
+ export * from './chart-line.js';
4
+ export * from './chart-pie.js';
5
+ export * from './chart-wordcloud.js';
6
+ export * from './compare-binary-horizontal/index.js';
7
+ export * from './compare-hierarchy-left-right.js';
8
+ export * from './compare-hierarchy-row.js';
9
+ export * from './compare-quadrant.js';
10
+ export * from './hierarchy-mindmap.js';
11
+ export * from './hierarchy-structure.js';
12
+ export * from './hierarchy-tree.js';
13
+ export * from './list-column.js';
14
+ export * from './list-grid.js';
15
+ export * from './list-pyramid.js';
16
+ export * from './list-row.js';
17
+ export * from './list-sector.js';
18
+ export * from './list-waterfall.js';
19
+ export * from './list-zigzag.js';
20
+ export * from './registry.js';
21
+ export { getStructure, getStructures, registerStructure } from './registry.js';
22
+ export * from './relation-circle.js';
23
+ export * from './relation-dagre-flow.js';
24
+ export * from './relation-network.js';
25
+ export * from './sequence-ascending-stairs-3d.js';
26
+ export * from './sequence-ascending-steps.js';
27
+ export * from './sequence-circle-arrows.js';
28
+ export * from './sequence-circular.js';
29
+ export * from './sequence-color-snake-steps.js';
30
+ export * from './sequence-cylinders-3d.js';
31
+ export * from './sequence-filter-mesh.js';
32
+ export * from './sequence-funnel.js';
33
+ export * from './sequence-horizontal-zigzag.js';
34
+ export * from './sequence-mountain.js';
35
+ export * from './sequence-pyramid.js';
36
+ export * from './sequence-roadmap-vertical.js';
37
+ export * from './sequence-snake-steps.js';
38
+ export * from './sequence-stairs-front.js';
39
+ export * from './sequence-steps.js';
40
+ export * from './sequence-timeline.js';
41
+ export * from './sequence-zigzag-pucks-3d.js';
42
+ export * from './sequence-zigzag-steps.js';
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { getElementBounds, Group } from '../../jsx';
3
- import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { registerStructure } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
+ import { getElementBounds, Group } from '../../jsx/index.js';
3
+ import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { registerStructure } from './registry.js';
6
6
  export const ListColumn = (props) => {
7
7
  const { Title, Item, data, gap = 20, width: contentWidth, zigzag } = props;
8
8
  const { title, desc, items = [] } = data;
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { getElementBounds, Group } from '../../jsx';
3
- import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { registerStructure } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
+ import { getElementBounds, Group } from '../../jsx/index.js';
3
+ import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { registerStructure } from './registry.js';
6
6
  export const ListGrid = (props) => {
7
7
  const { Title, Item, data, columns = 3, gap = 24, zigzag } = props;
8
8
  const { title, desc, items = [] } = data;
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { getElementBounds, Group } from '../../jsx';
3
- import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { registerStructure } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
+ import { getElementBounds, Group } from '../../jsx/index.js';
3
+ import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { registerStructure } from './registry.js';
6
6
  export const ListPyramid = (props) => {
7
7
  const { Title, Item, data, gap = 20, levelGap = 20 } = props;
8
8
  const { title, desc, items = [] } = data;
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@antv/infographic/jsx-runtime";
2
- import { getElementBounds, Group } from '../../jsx';
3
- import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components';
4
- import { FlexLayout } from '../layouts';
5
- import { registerStructure } from './registry';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "../../jsx-runtime.js";
2
+ import { getElementBounds, Group } from '../../jsx/index.js';
3
+ import { BtnAdd, BtnRemove, BtnsGroup, ItemsGroup } from '../components/index.js';
4
+ import { FlexLayout } from '../layouts/index.js';
5
+ import { registerStructure } from './registry.js';
6
6
  export const ListRow = (props) => {
7
7
  const { Title, Item, data, gap = 20, zigzag } = props;
8
8
  const { title, desc, items = [] } = data;