impact-nova 2.6.3 → 3.0.0-alpha.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 (456) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +6 -0
  2. package/dist/_virtual/index.js +7 -0
  3. package/dist/_virtual/index2.js +7 -0
  4. package/dist/_virtual/index3.js +4 -0
  5. package/dist/_virtual/utilities.js +4 -0
  6. package/dist/components/data/ag-grid-react/ag-grid-cell-components.d.ts +9 -0
  7. package/dist/components/data/ag-grid-react/ag-grid-list.d.ts +16 -0
  8. package/dist/components/data/ag-grid-react/ag-grid-list.js +23 -0
  9. package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +7 -0
  10. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.d.ts +14 -0
  11. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +70 -0
  12. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.d.ts +10 -5
  13. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +73 -41
  14. package/dist/components/data/ag-grid-react/cell-renderers/index.d.ts +7 -0
  15. package/dist/components/data/ag-grid-react/cell-renderers/index.js +42 -36
  16. package/dist/components/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +2 -0
  17. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.d.ts +19 -0
  18. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +89 -0
  19. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.d.ts +28 -0
  20. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.js +96 -0
  21. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.d.ts +30 -10
  22. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +72 -24
  23. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.d.ts +42 -0
  24. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.js +86 -0
  25. package/dist/components/data/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +31 -29
  26. package/dist/components/data/ag-grid-react/headers/components/lazy-tooltip.js +8 -6
  27. package/dist/components/data/ag-grid-react/index.d.ts +1 -1
  28. package/dist/components/data/ag-grid-react/index.js +162 -146
  29. package/dist/components/data/data-table/data-table.js +85 -82
  30. package/dist/components/data/data-table/data-table.types.d.ts +5 -0
  31. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +8 -6
  32. package/dist/components/data/expandable-list-item/sku-next-page-coordinator.d.ts +14 -0
  33. package/dist/components/data/expandable-list-item/sku-strip-lookahead.d.ts +26 -0
  34. package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +10 -0
  35. package/dist/components/data/expandable-list-item/useSkuStripVirtualizer.d.ts +30 -0
  36. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +81 -0
  37. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.item-grid.d.ts +1 -0
  38. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.product-card.d.ts +7 -0
  39. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +2 -0
  40. package/dist/components/data-display/calendar/fiscal-period-caption-select.js +4 -2
  41. package/dist/components/data-display/chart/chart-heatmap-demos.d.ts +3 -0
  42. package/dist/components/data-display/chart/chart-heatmap-play.d.ts +9 -0
  43. package/dist/components/data-display/chart/chart.category-cluster-heatmap.stories-data.d.ts +22 -0
  44. package/dist/components/data-display/chart/chart.diverging-heatmap.stories-data.d.ts +43 -0
  45. package/dist/components/data-display/chart/chart.js +100 -93
  46. package/dist/components/data-display/chart/chart.types.d.ts +10 -0
  47. package/dist/components/data-display/chart/chart.utils.d.ts +14 -2
  48. package/dist/components/data-display/chart/chart.utils.js +132 -35
  49. package/dist/components/data-display/chart/index.js +15 -13
  50. package/dist/components/data-display/chart/resolve-highcharts-options.js +19 -14
  51. package/dist/components/data-display/globe-map/globe-map.d.ts +8 -0
  52. package/dist/components/data-display/globe-map/globe-map.js +161 -0
  53. package/dist/components/data-display/globe-map/globe-map.stories-data.d.ts +12 -0
  54. package/dist/components/data-display/globe-map/globe-map.types.d.ts +83 -0
  55. package/dist/components/data-display/globe-map/globe-map.utils.d.ts +115 -0
  56. package/dist/components/data-display/globe-map/globe-map.utils.js +259 -0
  57. package/dist/components/data-display/globe-map/globe-map.variants.d.ts +19 -0
  58. package/dist/components/data-display/globe-map/globe-map.variants.js +80 -0
  59. package/dist/components/data-display/globe-map/index.d.ts +2 -0
  60. package/dist/components/data-display/globe-map/index.js +10 -0
  61. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.d.ts +4 -0
  62. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.js +7 -0
  63. package/dist/components/data-display/globe-map/internals/globe-map-context.d.ts +25 -0
  64. package/dist/components/data-display/globe-map/internals/globe-map-context.js +19 -0
  65. package/dist/components/data-display/globe-map/internals/globe-map-legend.d.ts +2 -0
  66. package/dist/components/data-display/globe-map/internals/globe-map-legend.js +51 -0
  67. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.d.ts +6 -0
  68. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.js +119 -0
  69. package/dist/components/data-display/globe-map/internals/globe-map-point-card.d.ts +2 -0
  70. package/dist/components/data-display/globe-map/internals/globe-map-point-card.js +106 -0
  71. package/dist/components/data-display/globe-map/internals/globe-map-scene.d.ts +17 -0
  72. package/dist/components/data-display/globe-map/internals/globe-map-scene.js +218 -0
  73. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.d.ts +2 -0
  74. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.js +33 -0
  75. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.d.ts +45 -0
  76. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.js +270 -0
  77. package/dist/components/data-display/hex-tilemap/hex-tilemap.d.ts +9 -0
  78. package/dist/components/data-display/hex-tilemap/hex-tilemap.js +94 -0
  79. package/dist/components/data-display/hex-tilemap/hex-tilemap.stories-data.d.ts +7 -0
  80. package/dist/components/data-display/hex-tilemap/hex-tilemap.types.d.ts +43 -0
  81. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.d.ts +11 -0
  82. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.js +47 -0
  83. package/dist/components/data-display/hex-tilemap/index.d.ts +2 -0
  84. package/dist/components/data-display/hex-tilemap/index.js +12 -0
  85. package/dist/components/data-display/hex-tilemap/internals/hex-camera.d.ts +40 -0
  86. package/dist/components/data-display/hex-tilemap/internals/hex-camera.js +103 -0
  87. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.d.ts +9 -0
  88. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.js +1387 -0
  89. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.d.ts +21 -0
  90. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.js +82 -0
  91. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.d.ts +18 -0
  92. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.js +47 -0
  93. package/dist/components/data-display/hex-tilemap/internals/hex-layout.d.ts +10 -0
  94. package/dist/components/data-display/hex-tilemap/internals/hex-layout.js +35 -0
  95. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.d.ts +31 -0
  96. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.js +138 -0
  97. package/dist/components/data-display/hex-tilemap/internals/hex-regions.d.ts +6 -0
  98. package/dist/components/data-display/hex-tilemap/internals/hex-regions.js +18 -0
  99. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.d.ts +24 -0
  100. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.js +19 -0
  101. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.d.ts +2 -0
  102. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.js +51 -0
  103. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.d.ts +2 -0
  104. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.js +36 -0
  105. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.d.ts +3 -0
  106. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.js +147 -0
  107. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.d.ts +13 -0
  108. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.js +99 -0
  109. package/dist/components/data-display/hex-tilemap/internals/hex-world-grid.d.ts +8 -0
  110. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.d.ts +27 -0
  111. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.js +137 -0
  112. package/dist/components/data-display/notch-card/index.d.ts +2 -0
  113. package/dist/components/data-display/notch-card/index.js +6 -0
  114. package/dist/components/data-display/notch-card/notch-card.d.ts +7 -0
  115. package/dist/components/data-display/notch-card/notch-card.js +151 -0
  116. package/dist/components/data-display/notch-card/notch-card.path.d.ts +19 -0
  117. package/dist/components/data-display/notch-card/notch-card.path.js +118 -0
  118. package/dist/components/data-display/notch-card/notch-card.types.d.ts +15 -0
  119. package/dist/components/data-display/notch-card/notch-card.variants.d.ts +15 -0
  120. package/dist/components/data-display/notch-card/notch-card.variants.js +86 -0
  121. package/dist/components/feedback/hover-card/hover-card.d.ts +3 -1
  122. package/dist/components/feedback/hover-card/hover-card.js +28 -24
  123. package/dist/components/feedback/popover/popover.js +1 -1
  124. package/dist/components/feedback/tooltip/button-icon-tooltip.js +8 -6
  125. package/dist/components/feedback/tooltip/overflow-tooltip.d.ts +1 -1
  126. package/dist/components/feedback/tooltip/overflow-tooltip.js +63 -57
  127. package/dist/components/feedback/tooltip/overflow-tooltip.types.d.ts +4 -0
  128. package/dist/components/feedback/tooltip/tab-tooltip-render.js +6 -4
  129. package/dist/components/flows/filter-strip/index.d.ts +1 -0
  130. package/dist/components/flows/filter-strip/index.js +4 -2
  131. package/dist/components/flows/guidance/renderers/guidance-card-shared.js +1 -1
  132. package/dist/components/flows/iris-chat/index.d.ts +10 -0
  133. package/dist/components/flows/iris-chat/index.js +55 -0
  134. package/dist/components/flows/iris-chat/iris-chat-artifact.d.ts +4 -0
  135. package/dist/components/flows/iris-chat/iris-chat-artifact.js +125 -0
  136. package/dist/components/flows/iris-chat/iris-chat-composer.d.ts +3 -0
  137. package/dist/components/flows/iris-chat/iris-chat-composer.js +297 -0
  138. package/dist/components/flows/iris-chat/iris-chat-context.d.ts +14 -0
  139. package/dist/components/flows/iris-chat/iris-chat-context.js +23 -0
  140. package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +18 -0
  141. package/dist/components/flows/iris-chat/iris-chat-icons.js +176 -0
  142. package/dist/components/flows/iris-chat/iris-chat-markdown.d.ts +3 -0
  143. package/dist/components/flows/iris-chat/iris-chat-markdown.js +62 -0
  144. package/dist/components/flows/iris-chat/iris-chat-menu.d.ts +15 -0
  145. package/dist/components/flows/iris-chat/iris-chat-menu.js +259 -0
  146. package/dist/components/flows/iris-chat/iris-chat-prompt.d.ts +3 -0
  147. package/dist/components/flows/iris-chat/iris-chat-prompt.js +46 -0
  148. package/dist/components/flows/iris-chat/iris-chat-thinking.d.ts +12 -0
  149. package/dist/components/flows/iris-chat/iris-chat-thinking.js +202 -0
  150. package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +37 -0
  151. package/dist/components/flows/iris-chat/iris-chat-thread.js +493 -0
  152. package/dist/components/flows/iris-chat/iris-chat.d.ts +43 -0
  153. package/dist/components/flows/iris-chat/iris-chat.js +336 -0
  154. package/dist/components/flows/iris-chat/iris-chat.types.d.ts +208 -0
  155. package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +14 -0
  156. package/dist/components/flows/iris-chat/iris-chat.variants.js +78 -0
  157. package/dist/components/flows/iris-chat/read-iris-greeting-period.d.ts +4 -0
  158. package/dist/components/flows/iris-chat/read-iris-greeting-period.js +16 -0
  159. package/dist/components/flows/wizard/index.d.ts +2 -2
  160. package/dist/components/flows/wizard/index.js +17 -13
  161. package/dist/components/flows/wizard/wizard-context.d.ts +6 -1
  162. package/dist/components/flows/wizard/wizard-context.js +15 -7
  163. package/dist/components/flows/wizard/wizard.d.ts +22 -4
  164. package/dist/components/flows/wizard/wizard.js +278 -174
  165. package/dist/components/flows/wizard/wizard.types.d.ts +40 -0
  166. package/dist/components/forms/choice-card/assets/featured-backdrop-baked.webp.js +4 -0
  167. package/dist/components/forms/choice-card/assets/featured-noise.webp.js +4 -0
  168. package/dist/components/forms/choice-card/choice-card-featured-arcs.d.ts +4 -0
  169. package/dist/components/forms/choice-card/choice-card-featured-arcs.js +42 -0
  170. package/dist/components/forms/choice-card/choice-card-featured-backdrop.d.ts +4 -0
  171. package/dist/components/forms/choice-card/choice-card-featured-backdrop.js +45 -0
  172. package/dist/components/forms/choice-card/choice-card-indicator.variants.d.ts +8 -0
  173. package/dist/components/forms/choice-card/choice-card-indicator.variants.js +5 -0
  174. package/dist/components/forms/choice-card/choice-card-percent.d.ts +11 -0
  175. package/dist/components/forms/choice-card/choice-card-percent.js +80 -0
  176. package/dist/components/forms/choice-card/choice-card.d.ts +40 -3
  177. package/dist/components/forms/choice-card/choice-card.js +651 -170
  178. package/dist/components/forms/choice-card/choice-card.types.d.ts +40 -0
  179. package/dist/components/forms/choice-card/choice-card.variants.d.ts +7 -0
  180. package/dist/components/forms/choice-card/choice-card.variants.js +100 -0
  181. package/dist/components/forms/choice-card/index.d.ts +2 -1
  182. package/dist/components/forms/choice-card/index.js +27 -10
  183. package/dist/components/forms/combobox/combobox.js +1 -1
  184. package/dist/components/layout/breadcrumb/breadcrumb.js +1 -1
  185. package/dist/components/layout/header/header.d.ts +3 -2
  186. package/dist/components/layout/header/header.js +67 -47
  187. package/dist/components/layout/header/header.types.d.ts +1 -0
  188. package/dist/components/primitives/iris/iris-agent-cursor.d.ts +3 -0
  189. package/dist/components/primitives/iris/iris-agent-cursor.js +89 -0
  190. package/dist/components/primitives/iris/iris-alan-gradient-icon.d.ts +5 -0
  191. package/dist/components/primitives/iris/iris-alan-gradient-icon.js +69 -0
  192. package/dist/components/primitives/iris/iris-control-context.d.ts +15 -0
  193. package/dist/components/primitives/iris/iris-control-context.js +44 -0
  194. package/dist/components/primitives/iris/iris-control-region.d.ts +10 -0
  195. package/dist/components/primitives/iris/iris-control-region.js +102 -0
  196. package/dist/components/primitives/iris/iris-control.types.d.ts +24 -0
  197. package/dist/components/primitives/iris/iris-control.variants.d.ts +4 -0
  198. package/dist/components/primitives/iris/iris-control.variants.js +20 -0
  199. package/dist/components/primitives/iris/iris.d.ts +24 -0
  200. package/dist/components/primitives/iris/iris.js +232 -0
  201. package/dist/components/primitives/iris/iris.types.d.ts +35 -0
  202. package/dist/components/primitives/iris/iris.variants.d.ts +30 -0
  203. package/dist/components/primitives/iris/iris.variants.js +120 -0
  204. package/dist/components/primitives/stepper/internals/pipeline-current-mark.d.ts +6 -0
  205. package/dist/components/primitives/stepper/internals/pipeline-current-mark.js +35 -0
  206. package/dist/components/primitives/stepper/internals/rail-status-dot.d.ts +13 -0
  207. package/dist/components/primitives/stepper/internals/rail-status-dot.js +70 -0
  208. package/dist/components/primitives/stepper/internals/step-hit-target.d.ts +15 -0
  209. package/dist/components/primitives/stepper/internals/step-hit-target.js +51 -0
  210. package/dist/components/primitives/stepper/internals/step-model.d.ts +3 -0
  211. package/dist/components/primitives/stepper/internals/step-model.js +10 -0
  212. package/dist/components/primitives/stepper/internals/stepper-compact.d.ts +5 -0
  213. package/dist/components/primitives/stepper/internals/stepper-compact.js +68 -0
  214. package/dist/components/primitives/stepper/internals/stepper-pipeline.d.ts +7 -0
  215. package/dist/components/primitives/stepper/internals/stepper-pipeline.js +87 -0
  216. package/dist/components/primitives/stepper/internals/stepper-rail.d.ts +5 -0
  217. package/dist/components/primitives/stepper/internals/stepper-rail.js +105 -0
  218. package/dist/components/primitives/stepper/internals/stepper-summary.d.ts +5 -0
  219. package/dist/components/primitives/stepper/internals/stepper-summary.js +103 -0
  220. package/dist/components/primitives/stepper/internals/stepper-track.d.ts +8 -0
  221. package/dist/components/primitives/stepper/internals/stepper-track.js +170 -0
  222. package/dist/components/primitives/stepper/stepper.d.ts +1 -0
  223. package/dist/components/primitives/stepper/stepper.js +134 -52
  224. package/dist/components/primitives/stepper/stepper.types.d.ts +17 -0
  225. package/dist/components/primitives/stepper/stepper.variants.d.ts +26 -0
  226. package/dist/components/primitives/stepper/stepper.variants.js +165 -5
  227. package/dist/components/primitives/tabs/tabs.d.ts +4 -1
  228. package/dist/components/primitives/tabs/tabs.js +131 -59
  229. package/dist/components/primitives/tabs/tabs.types.d.ts +5 -1
  230. package/dist/i18n/defaultMessages.d.ts +100 -0
  231. package/dist/i18n/defaultMessages.js +118 -21
  232. package/dist/i18n/index.d.ts +1 -1
  233. package/dist/i18n/locales/de.js +99 -2
  234. package/dist/i18n/locales/es.js +99 -2
  235. package/dist/i18n/locales/hi.js +99 -2
  236. package/dist/i18n/locales/kn.js +99 -2
  237. package/dist/impact-nova-components.css +972 -2
  238. package/dist/impact-nova-tokens.scss +109 -1
  239. package/dist/impact-nova.css +1 -1
  240. package/dist/index.d.ts +1 -1
  241. package/dist/index.js +585 -551
  242. package/dist/lib/virtualized/directional-range-extractor.d.ts +26 -0
  243. package/dist/lib/virtualized/directional-range-extractor.js +39 -0
  244. package/dist/lib/virtualized/index.d.ts +3 -0
  245. package/dist/lib/virtualized/index.js +35 -27
  246. package/dist/lib/virtualized/scroll-seek.d.ts +61 -0
  247. package/dist/lib/virtualized/scroll-seek.js +61 -0
  248. package/dist/lib/virtualized/usePaintedRangeVirtualizer.d.ts +19 -0
  249. package/dist/lib/virtualized/usePaintedRangeVirtualizer.js +30 -0
  250. package/dist/lib/virtualized/useResponsiveColumnCount.d.ts +35 -0
  251. package/dist/lib/virtualized/useResponsiveColumnCount.js +51 -0
  252. package/dist/lib/virtualized/useScrollSeekPaintedRange.d.ts +13 -0
  253. package/dist/lib/virtualized/useScrollSeekPaintedRange.js +45 -0
  254. package/dist/lib/virtualized/useVirtualizedList.d.ts +7 -0
  255. package/dist/lib/virtualized/useVirtualizedList.js +89 -87
  256. package/dist/lib/virtualized/useVirtualizedRows.d.ts +9 -2
  257. package/dist/lib/virtualized/useVirtualizedRows.js +15 -13
  258. package/dist/lib/virtualized/virtualized.types.d.ts +2 -0
  259. package/dist/llms/rules/installation.js +1 -1
  260. package/dist/llms/rules/requirements.js +1 -1
  261. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +85 -0
  262. package/dist/node_modules/@ungap/structured-clone/esm/index.js +11 -0
  263. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +110 -0
  264. package/dist/node_modules/@ungap/structured-clone/esm/types.js +13 -0
  265. package/dist/node_modules/bail/index.js +7 -0
  266. package/dist/node_modules/ccount/index.js +12 -0
  267. package/dist/node_modules/comma-separated-tokens/index.js +9 -0
  268. package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
  269. package/dist/node_modules/devlop/lib/default.js +8 -0
  270. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
  271. package/dist/node_modules/extend/index.js +43 -0
  272. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +302 -0
  273. package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
  274. package/dist/node_modules/html-url-attributes/lib/index.js +26 -0
  275. package/dist/node_modules/inline-style-parser/cjs/index.js +93 -0
  276. package/dist/node_modules/is-plain-obj/index.js +9 -0
  277. package/dist/node_modules/longest-streak/index.js +12 -0
  278. package/dist/node_modules/markdown-table/index.js +75 -0
  279. package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +78 -0
  280. package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +8 -0
  281. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +632 -0
  282. package/dist/node_modules/mdast-util-gfm/lib/index.js +29 -0
  283. package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +130 -0
  284. package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
  285. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +54 -0
  286. package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
  287. package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +58 -0
  288. package/dist/node_modules/mdast-util-phrasing/lib/index.js +30 -0
  289. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +90 -0
  290. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
  291. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
  292. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +15 -0
  293. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
  294. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
  295. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
  296. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
  297. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +9 -0
  298. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +14 -0
  299. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +10 -0
  300. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
  301. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +14 -0
  302. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +19 -0
  303. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
  304. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +42 -0
  305. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +21 -0
  306. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
  307. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +7 -0
  308. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
  309. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +13 -0
  310. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +21 -0
  311. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +32 -0
  312. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +8 -0
  313. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
  314. package/dist/node_modules/mdast-util-to-hast/lib/index.js +10 -0
  315. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +13 -0
  316. package/dist/node_modules/mdast-util-to-hast/lib/state.js +104 -0
  317. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +15 -0
  318. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +15 -0
  319. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +44 -0
  320. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +34 -0
  321. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +20 -0
  322. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +35 -0
  323. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +10 -0
  324. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +29 -0
  325. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +33 -0
  326. package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +44 -0
  327. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +22 -0
  328. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +29 -0
  329. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +52 -0
  330. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +22 -0
  331. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +35 -0
  332. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +7 -0
  333. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +11 -0
  334. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +20 -0
  335. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +11 -0
  336. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +9 -0
  337. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +11 -0
  338. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +18 -0
  339. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +11 -0
  340. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +11 -0
  341. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +11 -0
  342. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +11 -0
  343. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +11 -0
  344. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +11 -0
  345. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +11 -0
  346. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +11 -0
  347. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +6 -0
  348. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +9 -0
  349. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +13 -0
  350. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +15 -0
  351. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +15 -0
  352. package/dist/node_modules/mdast-util-to-string/lib/index.js +29 -0
  353. package/dist/node_modules/micromark/lib/constructs.js +85 -0
  354. package/dist/node_modules/micromark/lib/create-tokenizer.js +225 -0
  355. package/dist/node_modules/micromark/lib/initialize/content.js +37 -0
  356. package/dist/node_modules/micromark/lib/initialize/document.js +128 -0
  357. package/dist/node_modules/micromark/lib/initialize/flow.js +33 -0
  358. package/dist/node_modules/micromark/lib/initialize/text.js +98 -0
  359. package/dist/node_modules/micromark/lib/parse.js +32 -0
  360. package/dist/node_modules/micromark/lib/postprocess.js +9 -0
  361. package/dist/node_modules/micromark/lib/preprocess.js +44 -0
  362. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +87 -0
  363. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
  364. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
  365. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +42 -0
  366. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
  367. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +30 -0
  368. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +82 -0
  369. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +37 -0
  370. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
  371. package/dist/node_modules/micromark-core-commonmark/lib/content.js +50 -0
  372. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +80 -0
  373. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
  374. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +50 -0
  375. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +132 -0
  376. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
  377. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +154 -0
  378. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +23 -0
  379. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +20 -0
  380. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
  381. package/dist/node_modules/micromark-core-commonmark/lib/list.js +90 -0
  382. package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +17 -0
  383. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +59 -0
  384. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
  385. package/dist/node_modules/micromark-extension-gfm/index.js +18 -0
  386. package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +193 -0
  387. package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +192 -0
  388. package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +67 -0
  389. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +75 -0
  390. package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +23 -0
  391. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +149 -0
  392. package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +45 -0
  393. package/dist/node_modules/micromark-factory-destination/index.js +31 -0
  394. package/dist/node_modules/micromark-factory-label/index.js +28 -0
  395. package/dist/node_modules/micromark-factory-space/index.js +29 -0
  396. package/dist/node_modules/micromark-factory-title/index.js +26 -0
  397. package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
  398. package/dist/node_modules/micromark-util-character/index.js +39 -0
  399. package/dist/node_modules/micromark-util-chunked/index.js +16 -0
  400. package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
  401. package/dist/node_modules/micromark-util-combine-extensions/index.js +36 -0
  402. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +16 -0
  403. package/dist/node_modules/micromark-util-decode-string/index.js +18 -0
  404. package/dist/node_modules/micromark-util-edit-map/index.js +82 -0
  405. package/dist/node_modules/micromark-util-html-tag-name/index.js +68 -0
  406. package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
  407. package/dist/node_modules/micromark-util-resolve-all/index.js +12 -0
  408. package/dist/node_modules/micromark-util-sanitize-uri/index.js +23 -0
  409. package/dist/node_modules/micromark-util-subtokenize/index.js +55 -0
  410. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +175 -0
  411. package/dist/node_modules/property-information/index.js +12 -0
  412. package/dist/node_modules/property-information/lib/aria.js +61 -0
  413. package/dist/node_modules/property-information/lib/find.js +33 -0
  414. package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
  415. package/dist/node_modules/property-information/lib/html.js +378 -0
  416. package/dist/node_modules/property-information/lib/normalize.js +6 -0
  417. package/dist/node_modules/property-information/lib/svg.js +568 -0
  418. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
  419. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
  420. package/dist/node_modules/property-information/lib/util/create.js +19 -0
  421. package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
  422. package/dist/node_modules/property-information/lib/util/info.js +28 -0
  423. package/dist/node_modules/property-information/lib/util/merge.js +10 -0
  424. package/dist/node_modules/property-information/lib/util/schema.js +21 -0
  425. package/dist/node_modules/property-information/lib/util/types.js +14 -0
  426. package/dist/node_modules/property-information/lib/xlink.js +19 -0
  427. package/dist/node_modules/property-information/lib/xml.js +11 -0
  428. package/dist/node_modules/property-information/lib/xmlns.js +11 -0
  429. package/dist/node_modules/react-markdown/lib/index.js +102 -0
  430. package/dist/node_modules/remark-gfm/lib/index.js +13 -0
  431. package/dist/node_modules/remark-parse/lib/index.js +19 -0
  432. package/dist/node_modules/remark-rehype/lib/index.js +18 -0
  433. package/dist/node_modules/space-separated-tokens/index.js +6 -0
  434. package/dist/node_modules/style-to-js/cjs/index.js +20 -0
  435. package/dist/node_modules/style-to-js/cjs/utilities.js +19 -0
  436. package/dist/node_modules/style-to-object/cjs/index.js +28 -0
  437. package/dist/node_modules/trim-lines/index.js +28 -0
  438. package/dist/node_modules/trough/lib/index.js +60 -0
  439. package/dist/node_modules/unified/lib/callable-instance.js +25 -0
  440. package/dist/node_modules/unified/lib/index.js +529 -0
  441. package/dist/node_modules/unist-util-is/lib/index.js +91 -0
  442. package/dist/node_modules/unist-util-position/lib/index.js +23 -0
  443. package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
  444. package/dist/node_modules/unist-util-visit/lib/index.js +16 -0
  445. package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
  446. package/dist/node_modules/unist-util-visit-parents/lib/index.js +56 -0
  447. package/dist/node_modules/vfile/lib/index.js +406 -0
  448. package/dist/node_modules/vfile/lib/minpath.browser.js +112 -0
  449. package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
  450. package/dist/node_modules/vfile/lib/minurl.browser.js +41 -0
  451. package/dist/node_modules/vfile/lib/minurl.shared.js +7 -0
  452. package/dist/node_modules/vfile-message/lib/index.js +91 -0
  453. package/dist/providers/app-providers.js +13 -11
  454. package/dist/tailwind.config.js +3 -1
  455. package/dist/theme/tailwind-colors.js +2 -1
  456. package/package.json +39 -4
@@ -1,45 +1,46 @@
1
- import { jsxs as ye, jsx as S } from "react/jsx-runtime";
2
- import { lazy as be, useRef as O, useState as H, useId as xe, useEffect as q, useCallback as m, useMemo as g, Suspense as Fe } from "react";
3
- import { ModuleRegistry as Se, AllCommunityModule as Ae } from "ag-grid-community";
4
- import { AllEnterpriseModule as Ee } from "ag-grid-enterprise";
5
- import { AgGridReact as Ge } from "ag-grid-react";
6
- import { customAgGridTheme as Me } from "./theme.js";
7
- import { syncAgGridThemeMode as Re } from "./sync-ag-grid-theme-mode.js";
8
- import { CustomHeader as Te } from "./headers/custom-header.js";
9
- import { CustomHeaderGroup as z } from "./headers/custom-inner-header-group.js";
10
- import { mergeColumnGroupDefsWithDefault as we } from "./merge-column-group-defs.js";
11
- import { DefaultTextCellRenderer as De } from "./cell-renderers/default-text-cell-renderer.js";
12
- import { GridHeaderContext as ke } from "./headers/context/grid-header-context.js";
13
- import { convertToAgGridFilterModel as Ie, getMultiFilterIndices as je, convertFromAgGridFilterModel as Pe } from "./headers/utils/filter-utils.js";
14
- import { AG_GRID_VALUE_FORMATTERS as Le } from "./value-formatters.js";
15
- import { useGridAutoSizeStrategyOnResize as Oe } from "./useGridAutoSizeStrategyOnResize.js";
16
- import { subscribeGridApiEvent as ct, subscribeGridApiEvents as at } from "./grid-api-event-subscription.js";
17
- import { notifyColumnIndicatorSync as M } from "./notify-column-indicator-sync.js";
18
- import { setActiveSearchColumnId as N, clearHeaderSearchActiveState as He } from "./headers/header-search-active-state.js";
1
+ import { jsxs as Se, jsx as S } from "react/jsx-runtime";
2
+ import { lazy as Ae, useRef as O, useState as _, useId as Ee, useEffect as J, useCallback as m, useMemo as h, Suspense as Ge } from "react";
3
+ import { ModuleRegistry as Re, AllCommunityModule as Me } from "ag-grid-community";
4
+ import { AllEnterpriseModule as Te } from "ag-grid-enterprise";
5
+ import { AgGridReact as we } from "ag-grid-react";
6
+ import { customAgGridTheme as De } from "./theme.js";
7
+ import { AG_GRID_LIST_ROW_HEIGHT_PX as Ie, customAgGridListTheme as ke } from "./ag-grid-list.js";
8
+ import { syncAgGridThemeMode as je } from "./sync-ag-grid-theme-mode.js";
9
+ import { CustomHeader as He } from "./headers/custom-header.js";
10
+ import { CustomHeaderGroup as B } from "./headers/custom-inner-header-group.js";
11
+ import { mergeColumnGroupDefsWithDefault as Pe } from "./merge-column-group-defs.js";
12
+ import { DefaultTextCellRenderer as Le } from "./cell-renderers/default-text-cell-renderer.js";
13
+ import { GridHeaderContext as Oe } from "./headers/context/grid-header-context.js";
14
+ import { convertToAgGridFilterModel as _e, getMultiFilterIndices as Ne, convertFromAgGridFilterModel as Ve } from "./headers/utils/filter-utils.js";
15
+ import { AG_GRID_VALUE_FORMATTERS as We } from "./value-formatters.js";
16
+ import { useGridAutoSizeStrategyOnResize as Ke } from "./useGridAutoSizeStrategyOnResize.js";
17
+ import { subscribeGridApiEvent as gt, subscribeGridApiEvents as ht } from "./grid-api-event-subscription.js";
18
+ import { notifyColumnIndicatorSync as R } from "./notify-column-indicator-sync.js";
19
+ import { setActiveSearchColumnId as N, clearHeaderSearchActiveState as Ue } from "./headers/header-search-active-state.js";
19
20
  /* empty css */
20
- import { useAgGridTruncationTooltip as dt } from "./use-ag-grid-truncation-tooltip.js";
21
- import { isAgGridHeaderLabelTooltipOverflowing as mt, isAgGridTextOverflowing as ft } from "./ag-grid-tooltip-overflow.js";
22
- const Ne = be(
21
+ import { useAgGridTruncationTooltip as vt } from "./use-ag-grid-truncation-tooltip.js";
22
+ import { isAgGridHeaderLabelTooltipOverflowing as bt, isAgGridTextOverflowing as xt } from "./ag-grid-tooltip-overflow.js";
23
+ const $e = Ae(
23
24
  () => import("./headers/advanced-filter/advanced-filter-dialog.js").then((c) => ({
24
25
  default: c.AdvancedFilterDialog
25
26
  }))
26
27
  );
27
- Se.registerModules([Ae, Ee]);
28
- const F = "", V = "", J = (c) => {
28
+ Re.registerModules([Me, Te]);
29
+ const F = "", V = "", Q = (c) => {
29
30
  if (!c) return;
30
31
  const n = c.cellRendererParams?.splits;
31
32
  if (Array.isArray(n) && n.length > 0) return n;
32
33
  const s = c.cellEditorParams?.splits;
33
34
  if (Array.isArray(s) && s.length > 0) return s;
34
- }, X = (c, n) => {
35
+ }, Y = (c, n) => {
35
36
  const s = [];
36
37
  for (const b of n) {
37
- const h = b?.field?.split(".").pop();
38
- if (!h) {
38
+ const C = b?.field?.split(".").pop();
39
+ if (!C) {
39
40
  s.push("");
40
41
  continue;
41
42
  }
42
- const u = c[h];
43
+ const u = c[C];
43
44
  if (u == null) {
44
45
  s.push("");
45
46
  continue;
@@ -56,13 +57,13 @@ const F = "", V = "", J = (c) => {
56
57
  s.push("");
57
58
  }
58
59
  return s;
59
- }, B = (c) => {
60
+ }, Z = (c) => {
60
61
  if (typeof navigator < "u" && navigator.clipboard?.writeText) {
61
- navigator.clipboard.writeText(c).catch(() => Q(c));
62
+ navigator.clipboard.writeText(c).catch(() => ee(c));
62
63
  return;
63
64
  }
64
- Q(c);
65
- }, Q = (c) => {
65
+ ee(c);
66
+ }, ee = (c) => {
66
67
  if (typeof document > "u") return;
67
68
  const n = document.createElement("textarea");
68
69
  n.value = c, n.setAttribute("readonly", ""), n.style.position = "fixed", n.style.top = "0", n.style.left = "0", n.style.opacity = "0", n.style.pointerEvents = "none", document.body.appendChild(n);
@@ -72,36 +73,37 @@ const F = "", V = "", J = (c) => {
72
73
  document.body.removeChild(n);
73
74
  }
74
75
  };
75
- function lt({
76
+ function pt({
76
77
  children: c,
77
78
  defaultColDef: n,
78
79
  defaultColGroupDef: s,
79
80
  columnDefs: b,
80
- valueFormatters: h,
81
+ valueFormatters: C,
81
82
  onGridReady: u,
82
83
  onGridPreDestroyed: d,
83
84
  onFilterChanged: x,
84
- onSelectionChanged: C,
85
+ onSelectionChanged: v,
85
86
  onModelUpdated: A,
86
- ensureDomOrder: R = !1,
87
+ ensureDomOrder: M = !1,
87
88
  autoSizeStrategy: T,
88
89
  tooltipShowMode: w = "whenTruncated",
89
90
  tooltipShowDelay: D = 500,
90
- tooltipHideDelay: Y = 5e3,
91
- tooltipInteraction: Z = !0,
92
- themeOverride: ee,
93
- ...v
91
+ tooltipHideDelay: te = 5e3,
92
+ tooltipInteraction: re = !0,
93
+ themeOverride: ne,
94
+ variant: W = "table",
95
+ ...f
94
96
  }) {
95
- const a = O(null), k = O(null), [W, _] = H(null), K = xe(), y = O(K);
96
- y.current = K, Oe(W, k, T), q(() => {
97
+ const a = O(null), I = O(null), [K, U] = _(null), $ = Ee(), y = O($);
98
+ y.current = $, Ke(K, I, T), J(() => {
97
99
  const e = document.documentElement, t = () => {
98
- Re(e.classList.contains("dark") ? "dark" : "light", e);
100
+ je(e.classList.contains("dark") ? "dark" : "light", e);
99
101
  };
100
102
  t();
101
103
  const o = new MutationObserver(t);
102
104
  return o.observe(e, { attributes: !0, attributeFilter: ["class"] }), () => o.disconnect();
103
105
  }, []);
104
- const [te, U] = H(!1), [re, $] = H(null), ne = m(() => [], []), oe = g(() => ({
106
+ const [oe, q] = _(!1), [le, z] = _(null), ie = m(() => [], []), se = h(() => ({
105
107
  numericColumn: {
106
108
  cellClass: "ag-right-aligned-cell",
107
109
  headerClass: "ag-right-aligned-header",
@@ -122,60 +124,60 @@ function lt({
122
124
  dateColumn: {
123
125
  filter: "agDateColumnFilter"
124
126
  }
125
- }), []), I = g(() => ({
127
+ }), []), k = h(() => ({
126
128
  gridScopeId: y.current,
127
129
  openSearch: (e) => {
128
130
  if (!a.current) return;
129
131
  const t = a.current.getGridOption("context") || {};
130
- a.current.setGridOption("context", { ...t, activeSearchColumnId: e }), N(y.current, e), M(a.current);
132
+ a.current.setGridOption("context", { ...t, activeSearchColumnId: e }), N(y.current, e), R(a.current);
131
133
  },
132
134
  closeSearch: () => {
133
135
  if (!a.current) return;
134
136
  const e = a.current.getGridOption("context") || {};
135
- a.current.setGridOption("context", { ...e, activeSearchColumnId: null }), N(y.current, null), M(a.current);
137
+ a.current.setGridOption("context", { ...e, activeSearchColumnId: null }), N(y.current, null), R(a.current);
136
138
  },
137
139
  openAdvancedFilter: (e) => {
138
- $(e || null), U(!0);
140
+ z(e || null), q(!0);
139
141
  },
140
142
  closeAdvancedFilter: () => {
141
- U(!1), $(null);
143
+ q(!1), z(null);
142
144
  },
143
145
  applyAdvancedFilter: (e) => {
144
146
  if (!a.current) return;
145
- const t = Ie(e);
146
- a.current.setFilterModel(t), a.current.onFilterChanged(), M(a.current);
147
+ const t = _e(e);
148
+ a.current.setFilterModel(t), a.current.onFilterChanged(), R(a.current);
147
149
  }
148
- }), []), le = m((e) => {
149
- a.current = e.api, _(e.api);
150
+ }), []), ce = m((e) => {
151
+ a.current = e.api, U(e.api);
150
152
  const t = e.api.getGridOption("context") || {};
151
153
  e.api.setGridOption("context", {
152
154
  ...t,
153
155
  activeSearchColumnId: null,
154
156
  headerSearchScopeId: y.current
155
157
  }), N(y.current, null), u && u(e);
156
- }, [u]), ie = m(
158
+ }, [u]), ae = m(
157
159
  (e) => {
158
- He(y.current), a.current = null, _(null), d?.(e);
160
+ Ue(y.current), a.current = null, U(null), d?.(e);
159
161
  },
160
162
  [d]
161
- ), se = m(
163
+ ), ue = m(
162
164
  (e) => {
163
- M(e.api), x?.(e);
165
+ R(e.api), x?.(e);
164
166
  },
165
167
  [x]
166
- ), ce = m(
168
+ ), de = m(
167
169
  (e) => {
168
- C?.(e);
170
+ v?.(e);
169
171
  },
170
- [C]
171
- ), ae = m(
172
+ [v]
173
+ ), pe = m(
172
174
  (e) => {
173
175
  A?.(e);
174
176
  },
175
177
  [A]
176
178
  );
177
- q(() => {
178
- const e = k.current;
179
+ J(() => {
180
+ const e = I.current;
179
181
  if (!e) return;
180
182
  const t = (o) => {
181
183
  if (o.key !== "Enter" && o.key !== " ") return;
@@ -188,12 +190,12 @@ function lt({
188
190
  };
189
191
  return e.addEventListener("keydown", t, !0), () => e.removeEventListener("keydown", t, !0);
190
192
  }, []);
191
- const ue = g(() => ({
192
- headerComponent: Te,
193
+ const me = h(() => ({
194
+ headerComponent: He,
193
195
  // Default cell renderer wraps text in a span so display:flex centering
194
196
  // and text-overflow:ellipsis both work (ellipsis doesn't work on
195
197
  // anonymous flex text nodes, but works on flex child elements).
196
- cellRenderer: De,
198
+ cellRenderer: Le,
197
199
  ...n,
198
200
  suppressHeaderKeyboardEvent: (e) => {
199
201
  const { event: t } = e, o = t.target;
@@ -212,33 +214,33 @@ function lt({
212
214
  headerComponentParams: {
213
215
  ...n?.headerComponentParams
214
216
  }
215
- }), [n]), j = g(() => ({
217
+ }), [n]), j = h(() => ({
216
218
  ...s,
217
219
  headerGroupComponentParams: {
218
220
  ...s?.headerGroupComponentParams,
219
221
  innerHeaderGroupComponent: s?.headerGroupComponentParams?.innerHeaderGroupComponent ?? "CustomInnerHeaderGroup"
220
222
  }
221
- }), [s]), de = g(
222
- () => we(b ?? void 0, j),
223
+ }), [s]), fe = h(
224
+ () => Pe(b ?? void 0, j),
223
225
  [b, j]
224
- ), pe = g(() => ({
225
- ...Le,
226
+ ), ge = h(() => ({
227
+ ...We,
226
228
  // Always available - value formatters
227
- CustomInnerHeaderGroup: z,
228
- CustomHeaderGroup: z,
229
- ...v.components,
229
+ CustomInnerHeaderGroup: B,
230
+ CustomHeaderGroup: B,
231
+ ...f.components,
230
232
  // User components override
231
- ...h
233
+ ...C
232
234
  // Optional custom formatters override defaults
233
- }), [h, v.components]), me = m((e) => {
235
+ }), [C, f.components]), he = m((e) => {
234
236
  const t = e.value;
235
237
  if (t != null && typeof t == "object") {
236
- const i = J(e.column?.getColDef());
238
+ const i = Q(e.column?.getColDef());
237
239
  if (i && i.length > 0) {
238
- const l = X(t, i);
240
+ const l = Y(t, i);
239
241
  if (i.length === 1) {
240
- const P = i[0]?.field?.split(".").pop(), f = P ? t[P] : void 0;
241
- return f && typeof f == "object" && "value" in f ? f.value ?? "" : l[0];
242
+ const P = i[0]?.field?.split(".").pop(), g = P ? t[P] : void 0;
243
+ return g && typeof g == "object" && "value" in g ? g.value ?? "" : l[0];
242
244
  }
243
245
  return V + l.join(F);
244
246
  }
@@ -246,7 +248,7 @@ function lt({
246
248
  return r.length === 0 ? "" : r.length === 1 ? r[0] : r.join(F);
247
249
  }
248
250
  return t == null ? t : e.column?.getColDef()?.useValueFormatterForExport === !0 ? e.formatValue?.(t) ?? t : t;
249
- }, []), fe = m((e) => {
251
+ }, []), Ce = m((e) => {
250
252
  if (typeof e.value == "string") {
251
253
  const t = e.value.trim();
252
254
  if (t.startsWith("{") || t.startsWith("["))
@@ -257,10 +259,10 @@ function lt({
257
259
  }
258
260
  }
259
261
  return e.value;
260
- }, []), ge = m((e) => {
262
+ }, []), ve = m((e) => {
261
263
  const t = e?.data ?? "";
262
264
  if (!t.includes(F) && !t.includes(V)) {
263
- B(t);
265
+ Z(t);
264
266
  return;
265
267
  }
266
268
  const o = [], i = t.split(`
@@ -271,26 +273,26 @@ function lt({
271
273
  o.push("");
272
274
  continue;
273
275
  }
274
- const f = l.split(" ").map((p) => p.startsWith(V) ? { isSplit: !0, slots: p.slice(1).split(F) } : { isSplit: !1, slots: p.split(F) }), L = Math.max(1, ...f.map((p) => p.slots.length));
276
+ const g = l.split(" ").map((p) => p.startsWith(V) ? { isSplit: !0, slots: p.slice(1).split(F) } : { isSplit: !1, slots: p.split(F) }), L = Math.max(1, ...g.map((p) => p.slots.length));
275
277
  if (L === 1) {
276
- o.push(f.map((p) => p.slots[0] ?? "").join(" "));
278
+ o.push(g.map((p) => p.slots[0] ?? "").join(" "));
277
279
  continue;
278
280
  }
279
281
  for (let p = 0; p < L; p++) {
280
- const ve = f.map((G) => !G.isSplit && G.slots.length === 1 ? G.slots[0] : G.slots[p] ?? "");
281
- o.push(ve.join(" "));
282
+ const Fe = g.map((G) => !G.isSplit && G.slots.length === 1 ? G.slots[0] : G.slots[p] ?? "");
283
+ o.push(Fe.join(" "));
282
284
  }
283
285
  }
284
- B(o.join(`
286
+ Z(o.join(`
285
287
  `));
286
288
  }, []), E = m((e) => {
287
289
  const t = e.value;
288
290
  if (t == null) return "";
289
291
  if (typeof t != "object")
290
292
  return e.column?.getColDef()?.useValueFormatterForExport === !0 ? String(e.formatValue?.(t) ?? t) : String(t);
291
- const o = J(e.column?.getColDef());
293
+ const o = Q(e.column?.getColDef());
292
294
  if (o && o.length > 0) {
293
- const r = X(t, o);
295
+ const r = Y(t, o);
294
296
  return o.length === 1 ? r[0] : r.join(`
295
297
  `);
296
298
  }
@@ -306,79 +308,93 @@ function lt({
306
308
  }
307
309
  return i.length === 0 ? "" : i.length === 1 ? i[0] : i.join(`
308
310
  `);
309
- }, []), he = g(() => ({
311
+ }, []), ye = h(() => ({
310
312
  processCellCallback: E,
311
- ...v.defaultCsvExportParams ?? {}
312
- }), [E, v.defaultCsvExportParams]), Ce = g(() => ({
313
+ ...f.defaultCsvExportParams ?? {}
314
+ }), [E, f.defaultCsvExportParams]), be = h(() => ({
313
315
  processCellCallback: E,
314
- ...v.defaultExcelExportParams ?? {}
315
- }), [E, v.defaultExcelExportParams]);
316
- return /* @__PURE__ */ ye(ke.Provider, { value: I, children: [
317
- /* @__PURE__ */ S("div", { ref: k, "data-component": "ag-grid-react", style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ S(
318
- Ge,
316
+ ...f.defaultExcelExportParams ?? {}
317
+ }), [E, f.defaultExcelExportParams]), H = W === "list", X = f.rowHeight ?? Ie, xe = ne ?? (H ? ke : De);
318
+ return /* @__PURE__ */ Se(Oe.Provider, { value: k, children: [
319
+ /* @__PURE__ */ S(
320
+ "div",
319
321
  {
320
- theme: ee ?? Me,
321
- defaultColDef: ue,
322
- columnDefs: de,
323
- cellSelection: !0,
324
- defaultColGroupDef: j,
325
- onGridReady: le,
326
- onGridPreDestroyed: ie,
327
- onFilterChanged: se,
328
- onSelectionChanged: ce,
329
- onModelUpdated: ae,
330
- tooltipShowMode: w,
331
- tooltipShowDelay: D,
332
- tooltipHideDelay: Y,
333
- tooltipInteraction: Z,
334
- processCellForClipboard: me,
335
- processCellFromClipboard: fe,
336
- sendToClipboard: ge,
337
- ensureDomOrder: R,
338
- suppressHeaderFocus: !1,
339
- suppressFocusAfterRefresh: !0,
340
- suppressGroupRowsSticky: !0,
341
- hidePaddedHeaderRows: !0,
342
- suppressServerSideFullWidthLoadingRow: !0,
343
- columnTypes: oe,
344
- autoSizeStrategy: T,
345
- ...v,
346
- components: pe,
347
- defaultCsvExportParams: he,
348
- defaultExcelExportParams: Ce,
349
- getMainMenuItems: ne
322
+ ref: I,
323
+ "data-component": "ag-grid-react",
324
+ "data-variant": W,
325
+ style: {
326
+ width: "100%",
327
+ height: "100%",
328
+ ...H ? { "--ag-row-height": `${X}px` } : null
329
+ },
330
+ children: /* @__PURE__ */ S(
331
+ we,
332
+ {
333
+ theme: xe,
334
+ defaultColDef: me,
335
+ columnDefs: fe,
336
+ cellSelection: !0,
337
+ defaultColGroupDef: j,
338
+ onGridReady: ce,
339
+ onGridPreDestroyed: ae,
340
+ onFilterChanged: ue,
341
+ onSelectionChanged: de,
342
+ onModelUpdated: pe,
343
+ tooltipShowMode: w,
344
+ tooltipShowDelay: D,
345
+ tooltipHideDelay: te,
346
+ tooltipInteraction: re,
347
+ processCellForClipboard: he,
348
+ processCellFromClipboard: Ce,
349
+ sendToClipboard: ve,
350
+ ensureDomOrder: M,
351
+ suppressHeaderFocus: !1,
352
+ suppressFocusAfterRefresh: !0,
353
+ suppressGroupRowsSticky: !0,
354
+ hidePaddedHeaderRows: !0,
355
+ suppressServerSideFullWidthLoadingRow: !0,
356
+ columnTypes: se,
357
+ autoSizeStrategy: T,
358
+ ...f,
359
+ ...H ? { rowHeight: X } : null,
360
+ components: ge,
361
+ defaultCsvExportParams: ye,
362
+ defaultExcelExportParams: be,
363
+ getMainMenuItems: ie
364
+ }
365
+ )
350
366
  }
351
- ) }),
367
+ ),
352
368
  c,
353
369
  /* @__PURE__ */ S(
354
- Ve,
370
+ qe,
355
371
  {
356
- isOpen: te,
357
- columnId: re,
358
- gridApi: W,
359
- onClose: I.closeAdvancedFilter,
360
- onApply: I.applyAdvancedFilter
372
+ isOpen: oe,
373
+ columnId: le,
374
+ gridApi: K,
375
+ onClose: k.closeAdvancedFilter,
376
+ onApply: k.applyAdvancedFilter
361
377
  }
362
378
  )
363
379
  ] });
364
380
  }
365
- function Ve({
381
+ function qe({
366
382
  isOpen: c,
367
383
  columnId: n,
368
384
  gridApi: s,
369
385
  onClose: b,
370
- onApply: h
386
+ onApply: C
371
387
  }) {
372
388
  if (!c || !n || !s) return null;
373
389
  const u = s.getColumn(n);
374
390
  if (!u) return null;
375
- const d = u.getColDef(), x = d.headerComponentParams, C = je(d), A = C.text !== -1 || C.number !== -1 || C.date !== -1, R = C.set !== -1, w = d.filter === "agMultiColumnFilter" && (A || R) ? "multi" : d.filter === "agNumberColumnFilter" ? "number" : d.filter === "agDateColumnFilter" ? "date" : d.filter === "agSetColumnFilter" || x?.selectOptions ? "select" : "text", D = Pe(s.getFilterModel());
376
- return /* @__PURE__ */ S(Fe, { fallback: null, children: /* @__PURE__ */ S(
377
- Ne,
391
+ const d = u.getColDef(), x = d.headerComponentParams, v = Ne(d), A = v.text !== -1 || v.number !== -1 || v.date !== -1, M = v.set !== -1, w = d.filter === "agMultiColumnFilter" && (A || M) ? "multi" : d.filter === "agNumberColumnFilter" ? "number" : d.filter === "agDateColumnFilter" ? "date" : d.filter === "agSetColumnFilter" || x?.selectOptions ? "select" : "text", D = Ve(s.getFilterModel());
392
+ return /* @__PURE__ */ S(Ge, { fallback: null, children: /* @__PURE__ */ S(
393
+ $e,
378
394
  {
379
395
  isOpen: c,
380
396
  onClose: b,
381
- onApply: h,
397
+ onApply: C,
382
398
  columnId: n,
383
399
  columnLabel: d.headerName || n,
384
400
  columnType: w,
@@ -390,10 +406,10 @@ function Ve({
390
406
  ) });
391
407
  }
392
408
  export {
393
- lt as AgGridWrapper,
394
- mt as isAgGridHeaderLabelTooltipOverflowing,
395
- ft as isAgGridTextOverflowing,
396
- ct as subscribeGridApiEvent,
397
- at as subscribeGridApiEvents,
398
- dt as useAgGridTruncationTooltip
409
+ pt as AgGridWrapper,
410
+ bt as isAgGridHeaderLabelTooltipOverflowing,
411
+ xt as isAgGridTextOverflowing,
412
+ gt as subscribeGridApiEvent,
413
+ ht as subscribeGridApiEvents,
414
+ vt as useAgGridTruncationTooltip
399
415
  };