@nxgt/material 3.57.0 → 3.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (439) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +2 -1
  3. package/dist/{async-slice-B3RMgJUn.js → async-slice-C_Juki7i.js} +2 -2
  4. package/dist/{background-BtSZsTvY.js → background-qdnet2A5.js} +124 -83
  5. package/dist/backgrounds.js +1 -1
  6. package/dist/{button-hnUZpzYu.js → button-CCHGtPIN.js} +97 -74
  7. package/dist/{callout-view-C6voDS00.js → callout-view-C7UznnDW.js} +1 -1
  8. package/dist/charts.js +1531 -1489
  9. package/dist/{chip-kplPa8ZV.js → chip-1XnyX4bd.js} +2 -2
  10. package/dist/{code-editor-Ba61Cd-g.js → code-editor-1Y7ykpam.js} +307 -277
  11. package/dist/code-editor.js +14 -14
  12. package/dist/{code-language-items-CsDC4Ky4.js → code-language-items-Clbln9C6.js} +2 -2
  13. package/dist/{components-BgckuX2C.js → components-Cj3lJ_uK.js} +28523 -25863
  14. package/dist/components.js +26 -26
  15. package/dist/{convert-XAkWyO8-.js → convert-7g-F5cNf.js} +1 -1
  16. package/dist/{dialog-DS8O4Kkb.js → dialog-Cx_xWUVR.js} +4 -4
  17. package/dist/dnd.js +1 -1
  18. package/dist/draw-animate.js +1 -1
  19. package/dist/{dropdown-menu-CvVQJpsn.js → dropdown-menu-Jp6pHNgP.js} +1 -1
  20. package/dist/editor-viewer.js +1 -1
  21. package/dist/editor.js +715 -607
  22. package/dist/empty-state-D61RimJr.js +139 -0
  23. package/dist/{escape-owner-BJvicDmr.js → escape-owner-Ch_-kDLw.js} +1 -1
  24. package/dist/{field-blur-Cnjk0o9A.js → field-blur-BJjUHsgJ.js} +1 -1
  25. package/dist/{field-blur-context-CYlx9KnB.js → field-blur-context-CmOF0FIN.js} +1 -1
  26. package/dist/{headless-extensions-CvmdhANJ.js → headless-extensions-B1NAgmkE.js} +1 -1
  27. package/dist/hooks.js +2 -2
  28. package/dist/{hover-card-DW4XnExA.js → hover-card-CVmY0Z44.js} +2 -2
  29. package/dist/{i18n-provider-DBr59j1p.js → i18n-provider-C0uLEv0G.js} +1 -1
  30. package/dist/i18n.js +5 -5
  31. package/dist/{icon-badge-4FMy66AC.js → icon-badge-bAQQK3ls.js} +3 -3
  32. package/dist/{icon-button-QF7smCoV.js → icon-button-Csvj2R8S.js} +59 -59
  33. package/dist/{illustration-B4_W-OUS.js → illustration-DjZXUFbz.js} +11 -11
  34. package/dist/illustrations.js +1 -1
  35. package/dist/lib/backgrounds/background/background.d.ts +1 -1
  36. package/dist/lib/backgrounds/background/partials/use-background-scenes.d.ts +22 -0
  37. package/dist/lib/backgrounds/background/partials/use-themed-background.d.ts +304 -0
  38. package/dist/lib/components/ui/actions/action-card/action-card-semantics-branches.d.ts +63 -0
  39. package/dist/lib/components/ui/actions/action-card/action-card-semantics.d.ts +0 -4
  40. package/dist/lib/components/ui/actions/action-card/partials/action-card-text.d.ts +3 -1
  41. package/dist/lib/components/ui/actions/action-card/use-action-card.d.ts +80 -0
  42. package/dist/lib/components/ui/actions/button/button-busy.d.ts +8 -0
  43. package/dist/lib/components/ui/actions/button/button.classes.d.ts +7 -0
  44. package/dist/lib/components/ui/actions/toolbar/use-toolbar-state.d.ts +22 -0
  45. package/dist/lib/components/ui/collections/data-grid/columns/column-check.d.ts +15 -0
  46. package/dist/lib/components/ui/collections/data-grid/columns/column-edit.d.ts +1 -12
  47. package/dist/lib/components/ui/collections/data-grid/editors/editor-props.d.ts +20 -0
  48. package/dist/lib/components/ui/collections/data-grid/editors/editor-route-key.d.ts +11 -0
  49. package/dist/lib/components/ui/collections/data-grid/partials/grid-cell-access.d.ts +26 -0
  50. package/dist/lib/components/ui/collections/data-grid/partials/grid-header-name.d.ts +15 -0
  51. package/dist/lib/components/ui/collections/data-grid/partials/header-menu-button.d.ts +17 -0
  52. package/dist/lib/components/ui/collections/data-grid/partials/open-header-menu.d.ts +14 -0
  53. package/dist/lib/components/ui/collections/data-grid/partials/width-field.d.ts +18 -0
  54. package/dist/lib/components/ui/collections/data-grid/phone/phone-item.d.ts +2 -2
  55. package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-card-list.d.ts +17 -0
  56. package/dist/lib/components/ui/collections/data-table/partials/layouts/list-bar-clear.d.ts +10 -0
  57. package/dist/lib/components/ui/collections/data-table/partials/layouts/list-bar-in-row.d.ts +18 -0
  58. package/dist/lib/components/ui/collections/data-table/partials/page-button.d.ts +12 -0
  59. package/dist/lib/components/ui/collections/data-table/partials/page-icon-control.d.ts +21 -0
  60. package/dist/lib/components/ui/collections/data-table/partials/pager-buttons.d.ts +7 -0
  61. package/dist/lib/components/ui/collections/data-table/use-data-table-setup.d.ts +36 -0
  62. package/dist/lib/components/ui/collections/facet-group/partials/facet-group-header.d.ts +11 -0
  63. package/dist/lib/components/ui/collections/filter/filter-field-config-base.utils.d.ts +13 -0
  64. package/dist/lib/components/ui/collections/filter/filter-field-config-choice.utils.d.ts +5 -0
  65. package/dist/lib/components/ui/collections/filter/filter-field-config-value.utils.d.ts +5 -0
  66. package/dist/lib/components/ui/collections/filter/filter-field-config.utils.d.ts +6 -0
  67. package/dist/lib/components/ui/collections/filter/filter-legacy.d.ts +1 -1
  68. package/dist/lib/components/ui/collections/filter/filter-persistence-url-value.utils.d.ts +9 -0
  69. package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +1 -5
  70. package/dist/lib/components/ui/collections/filter/filter-validation-presets.utils.d.ts +24 -0
  71. package/dist/lib/components/ui/collections/filter/filter-validation-rules.utils.d.ts +11 -0
  72. package/dist/lib/components/ui/collections/filter/filter-validation.utils.d.ts +1 -23
  73. package/dist/lib/components/ui/collections/filter/partials/filter-field-special.d.ts +8 -0
  74. package/dist/lib/components/ui/collections/filter/partials/filter-form-field-variant.d.ts +10 -0
  75. package/dist/lib/components/ui/collections/filter/partials/filter-group-fields.d.ts +5 -0
  76. package/dist/lib/components/ui/collections/filter/partials/filter-legacy-variant.d.ts +3 -0
  77. package/dist/lib/components/ui/collections/filter/partials/filter-preset-fields.d.ts +9 -0
  78. package/dist/lib/components/ui/collections/filter/partials/filter-presets-menu-items.d.ts +13 -0
  79. package/dist/lib/components/ui/collections/filter/partials/filter-presets-menu.d.ts +5 -0
  80. package/dist/lib/components/ui/collections/filter/partials/filter-presets-save-dialog.d.ts +7 -0
  81. package/dist/lib/components/ui/collections/filter/partials/filter-presets-save-trigger.d.ts +7 -0
  82. package/dist/lib/components/ui/collections/filter/query/types.d.ts +3 -39
  83. package/dist/lib/components/ui/collections/filter/query/use-filter-query-options.d.ts +1 -1
  84. package/dist/lib/components/ui/collections/filter/query/use-filter-query-value.d.ts +2 -2
  85. package/dist/lib/components/ui/collections/filter/query/view-types.d.ts +40 -0
  86. package/dist/lib/components/ui/collections/filter/sections/use-filter-search.d.ts +14 -0
  87. package/dist/lib/components/ui/collections/filter/use-filter-field-config.d.ts +7483 -0
  88. package/dist/lib/components/ui/collections/list-pane/partials/list-pane-body.d.ts +12 -0
  89. package/dist/lib/components/ui/collections/list-pane/partials/list-pane-item-content.d.ts +15 -0
  90. package/dist/lib/components/ui/collections/list-pane/partials/list-pane-search.d.ts +8 -0
  91. package/dist/lib/components/ui/collections/pagination/pagination-bar-pages.d.ts +8 -0
  92. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-action-button.d.ts +26 -0
  93. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-buttons.d.ts +13 -11
  94. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-entries.d.ts +11 -0
  95. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-focus.d.ts +1 -28
  96. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-keys.d.ts +37 -0
  97. package/dist/lib/components/ui/collections/server-table/partials/server-table-grid-paging.d.ts +8 -0
  98. package/dist/lib/components/ui/collections/server-table/types-filter.d.ts +70 -0
  99. package/dist/lib/components/ui/collections/server-table/types-states.d.ts +42 -0
  100. package/dist/lib/components/ui/collections/server-table/types.d.ts +4 -110
  101. package/dist/lib/components/ui/collections/tree/tree-expand-button.d.ts +6 -0
  102. package/dist/lib/components/ui/collections/tree/use-tree-keys.d.ts +14 -0
  103. package/dist/lib/components/ui/collections/tree/use-tree-select.d.ts +14 -0
  104. package/dist/lib/components/ui/collections/tree/use-tree.d.ts +5 -4
  105. package/dist/lib/components/ui/dates/calendar/calendar-year-button.d.ts +10 -0
  106. package/dist/lib/components/ui/dates/calendar/calendar-year-nav.d.ts +9 -0
  107. package/dist/lib/components/ui/dates/date-field/date-field-parts.d.ts +78 -0
  108. package/dist/lib/components/ui/dates/date-range-field/partials/date-range-body-scroll.d.ts +15 -0
  109. package/dist/lib/components/ui/dates/date-range-field/partials/preview-calendar-props.d.ts +11 -0
  110. package/dist/lib/components/ui/dates/date-range-field/partials/use-cancel-range.d.ts +6 -0
  111. package/dist/lib/components/ui/dates/date-range-field/use-end-on.d.ts +12 -0
  112. package/dist/lib/components/ui/dates/date-range-field/use-typed-range.d.ts +2 -3
  113. package/dist/lib/components/ui/dates/mini-month/partials/mini-month-day.d.ts +8 -0
  114. package/dist/lib/components/ui/dates/mini-month/partials/mini-month-head.d.ts +18 -0
  115. package/dist/lib/components/ui/dates/mini-month/partials/mini-month-markers.d.ts +5 -0
  116. package/dist/lib/components/ui/dates/mini-month/partials/use-grid-focus.d.ts +11 -0
  117. package/dist/lib/components/ui/dates/picker-trigger/typed-box-parts.d.ts +12 -0
  118. package/dist/lib/components/ui/dates/time-field/partials/use-time-field-model.d.ts +14 -5
  119. package/dist/lib/components/ui/dates/time-picker/partials/time-column.d.ts +13 -0
  120. package/dist/lib/components/ui/display/cards/cards.stories.data.detail.d.ts +9 -0
  121. package/dist/lib/components/ui/display/cards/cards.stories.data.feed.d.ts +7 -0
  122. package/dist/lib/components/ui/display/cards/cards.stories.data.intro.d.ts +11 -0
  123. package/dist/lib/components/ui/display/cards/types-detail.d.ts +74 -0
  124. package/dist/lib/components/ui/display/cards/types-feed.d.ts +41 -0
  125. package/dist/lib/components/ui/display/cards/types-intro.d.ts +76 -0
  126. package/dist/lib/components/ui/display/cards/types.d.ts +3 -187
  127. package/dist/lib/components/ui/display/code/code-block-parts.d.ts +16 -0
  128. package/dist/lib/components/ui/display/enrolment-secret/enrolment-secret-manual.d.ts +9 -0
  129. package/dist/lib/components/ui/display/entity-header/partials/entity-header-start.d.ts +11 -0
  130. package/dist/lib/components/ui/display/event-chip/event-chip-content.d.ts +12 -0
  131. package/dist/lib/components/ui/display/param-table/param-table-views.d.ts +19 -0
  132. package/dist/lib/components/ui/display/recovery-codes/partials/use-recovery-codes-actions.d.ts +22 -0
  133. package/dist/lib/components/ui/display/recovery-codes-status/partials/recovery-codes-status-plain.d.ts +13 -0
  134. package/dist/lib/components/ui/feedback/alert-dialog/alert-dialog-actions.d.ts +6 -0
  135. package/dist/lib/components/ui/feedback/alert-dialog/alert-dialog.d.ts +1 -3
  136. package/dist/lib/components/ui/feedback/confirm-dialog/use-confirm-action.d.ts +16 -0
  137. package/dist/lib/components/ui/feedback/confirmation-dialog/use-confirmation-form.d.ts +18 -0
  138. package/dist/lib/components/ui/feedback/countdown-timer/countdown-timer.d.ts +5 -3
  139. package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-body.d.ts +10 -0
  140. package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-dot.d.ts +2 -0
  141. package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-open.d.ts +5 -0
  142. package/dist/lib/components/ui/feedback/notifications/notifications-model.d.ts +59 -0
  143. package/dist/lib/components/ui/feedback/notifications/use-notifications-chrome.d.ts +17 -0
  144. package/dist/lib/components/ui/feedback/notifications/use-notifications.d.ts +4 -38
  145. package/dist/lib/components/ui/feedback/spinner/spinner-variants.d.ts +5 -0
  146. package/dist/lib/components/ui/feedback/spinner/spinner.d.ts +1 -5
  147. package/dist/lib/components/ui/feedback/state-frame/state-frame-text.d.ts +10 -0
  148. package/dist/lib/components/ui/feedback/state-frame/use-state-media.d.ts +14 -0
  149. package/dist/lib/components/ui/feedback/step-dots/step-dot.d.ts +13 -0
  150. package/dist/lib/components/ui/feedback/step-dots/step-dots.d.ts +2 -1
  151. package/dist/lib/components/ui/feedback/step-up-dialog/describe-by.d.ts +4 -0
  152. package/dist/lib/components/ui/feedback/step-up-dialog/use-step-up-view.d.ts +34 -0
  153. package/dist/lib/components/ui/fields/attributes/attribute-form/attribute-options-form-fields.d.ts +7 -0
  154. package/dist/lib/components/ui/fields/attributes/attributes-list/attribute-tile.d.ts +11 -0
  155. package/dist/lib/components/ui/fields/attributes/partials/editor-rows.d.ts +15 -0
  156. package/dist/lib/components/ui/fields/contacts/partials/contact-groups.d.ts +20 -0
  157. package/dist/lib/components/ui/fields/contacts/partials/contact-tile.d.ts +13 -0
  158. package/dist/lib/components/ui/fields/contacts/partials/dialog-actions.d.ts +14 -0
  159. package/dist/lib/components/ui/fields/contacts/partials/dialog-fields.d.ts +14 -0
  160. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  161. package/dist/lib/components/ui/fields/country-field/iso-codes-1.d.ts +2 -0
  162. package/dist/lib/components/ui/fields/country-field/iso-codes-2.d.ts +2 -0
  163. package/dist/lib/components/ui/fields/country-field/iso-codes-3.d.ts +2 -0
  164. package/dist/lib/components/ui/fields/currency-field/use-currency-amount.d.ts +17 -0
  165. package/dist/lib/components/ui/fields/field/render-choice-field.d.ts +3 -0
  166. package/dist/lib/components/ui/fields/inline-edit/inline-edit-display.d.ts +12 -0
  167. package/dist/lib/components/ui/fields/inline-edit/inline-edit-editor.d.ts +14 -0
  168. package/dist/lib/components/ui/fields/inline-edit/use-inline-edit.d.ts +19 -0
  169. package/dist/lib/components/ui/fields/opening-hours/logic/missing-days.d.ts +3 -0
  170. package/dist/lib/components/ui/fields/opening-hours/partials/day-switch.d.ts +14 -0
  171. package/dist/lib/components/ui/fields/opening-hours/partials/dialog-actions.d.ts +13 -0
  172. package/dist/lib/components/ui/fields/opening-hours/partials/dialog-fields.d.ts +14 -0
  173. package/dist/lib/components/ui/fields/opening-hours/partials/hours-actions.d.ts +9 -0
  174. package/dist/lib/components/ui/fields/opening-hours/partials/hours-tile.d.ts +11 -0
  175. package/dist/lib/components/ui/fields/opening-hours/partials/week-rows.d.ts +14 -0
  176. package/dist/lib/components/ui/fields/opening-hours/use-hours-editor.d.ts +1 -0
  177. package/dist/lib/components/ui/fields/phone-field/phone-country-list.d.ts +10 -0
  178. package/dist/lib/components/ui/fields/phone-field/phone-dial-button.d.ts +10 -0
  179. package/dist/lib/components/ui/fields/phone-field/phone-number-input.d.ts +19 -0
  180. package/dist/lib/components/ui/fields/phone-field/use-phone-value.d.ts +17 -0
  181. package/dist/lib/components/ui/fields/postal-address/postal-address-dialog-actions.d.ts +14 -0
  182. package/dist/lib/components/ui/fields/postal-address/postal-address-dialog-fields.d.ts +10 -0
  183. package/dist/lib/components/ui/fields/rating-field/rating-color.d.ts +4 -0
  184. package/dist/lib/components/ui/fields/rating-field/rating-field.d.ts +1 -4
  185. package/dist/lib/components/ui/fields/rating-field/rating-star.d.ts +22 -0
  186. package/dist/lib/components/ui/fields/rating-field/use-rating.d.ts +16 -0
  187. package/dist/lib/components/ui/fields/search-field/search-box.d.ts +11 -0
  188. package/dist/lib/components/ui/fields/search-field/use-search-value.d.ts +21 -0
  189. package/dist/lib/components/ui/fields/slider/slider-control-row.d.ts +10 -0
  190. package/dist/lib/components/ui/fields/slider/slider-group-props.d.ts +16 -0
  191. package/dist/lib/components/ui/fields/slider/slider-group.d.ts +14 -0
  192. package/dist/lib/components/ui/fields/slider/slider-horizontal.d.ts +3 -0
  193. package/dist/lib/components/ui/fields/slider/slider-vertical.d.ts +3 -0
  194. package/dist/lib/components/ui/fields/slider/slider.d.ts +1 -1
  195. package/dist/lib/components/ui/fields/slider/use-slider-value.d.ts +10 -0
  196. package/dist/lib/components/ui/fields/textarea-field/textarea-footer.d.ts +14 -0
  197. package/dist/lib/components/ui/layout/app-shell/activity-chrome.d.ts +17 -0
  198. package/dist/lib/components/ui/layout/app-shell/activity-content-header.d.ts +15 -0
  199. package/dist/lib/components/ui/layout/app-shell/app-header-menu.d.ts +5 -0
  200. package/dist/lib/components/ui/layout/app-shell/band-boxes.d.ts +3 -0
  201. package/dist/lib/components/ui/layout/app-shell/collect-content.d.ts +24 -0
  202. package/dist/lib/components/ui/layout/app-shell/keep-inside-checker.d.ts +10 -0
  203. package/dist/lib/components/ui/layout/app-shell/page-title-focus.d.ts +32 -0
  204. package/dist/lib/components/ui/layout/app-shell/page-title-scope.d.ts +53 -0
  205. package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +2 -82
  206. package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +3 -13
  207. package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +2 -18
  208. package/dist/lib/components/ui/layout/auth-card/auth-card-parts.d.ts +25 -0
  209. package/dist/lib/components/ui/layout/doc/partials/doc-header-parts.d.ts +18 -0
  210. package/dist/lib/components/ui/layout/doc/partials/doc-header.d.ts +2 -4
  211. package/dist/lib/components/ui/layout/doc/partials/doc-nav-parts.d.ts +11 -0
  212. package/dist/lib/components/ui/layout/doc/use-doc-effects.d.ts +23 -0
  213. package/dist/lib/components/ui/layout/index.d.ts +1 -0
  214. package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item-content.d.ts +7 -0
  215. package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.d.ts +2 -47
  216. package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.types.d.ts +54 -0
  217. package/dist/lib/components/ui/layout/sticky-action-bar/index.d.ts +1 -0
  218. package/dist/lib/components/ui/layout/sticky-action-bar/keyboard-inset.d.ts +17 -0
  219. package/dist/lib/components/ui/layout/sticky-action-bar/sticky-action-bar.d.ts +17 -0
  220. package/dist/lib/components/ui/layout/sticky-action-bar/use-keyboard-inset.d.ts +8 -0
  221. package/dist/lib/components/ui/layout/toc/toc-list.d.ts +16 -0
  222. package/dist/lib/components/ui/media/compare-slider/partials/compare-slider-handle.d.ts +9 -0
  223. package/dist/lib/components/ui/media/compare-slider/use-compare-slider.d.ts +22 -0
  224. package/dist/lib/components/ui/media/file-list/file-list-field.d.ts +1 -1
  225. package/dist/lib/components/ui/media/file-list/partials/file-list-dropzone.d.ts +13 -0
  226. package/dist/lib/components/ui/media/file-list/partials/file-list-input.d.ts +11 -0
  227. package/dist/lib/components/ui/media/file-list/partials/file-list-items.d.ts +14 -0
  228. package/dist/lib/components/ui/media/file-list/partials/file-list-row-actions.d.ts +12 -0
  229. package/dist/lib/components/ui/media/file-list/use-file-list-field.d.ts +33 -0
  230. package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-toolbar.d.ts +2 -6
  231. package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-zoom.d.ts +2 -0
  232. package/dist/lib/components/ui/media/galleries/partials/gallery-featured-arrows.d.ts +2 -0
  233. package/dist/lib/components/ui/media/galleries/partials/gallery-tile-media.d.ts +17 -0
  234. package/dist/lib/components/ui/media/galleries/partials/gallery-viewer-button.d.ts +6 -0
  235. package/dist/lib/components/ui/media/galleries/use-gallery-navigation.d.ts +18 -0
  236. package/dist/lib/components/ui/media/galleries/use-gallery-sync.d.ts +15 -0
  237. package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-actions.d.ts +12 -0
  238. package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-controls.d.ts +8 -0
  239. package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-stage.d.ts +12 -0
  240. package/dist/lib/components/ui/media/image-cropper/use-image-cropper.d.ts +34 -0
  241. package/dist/lib/components/ui/media/image-editor/image-editor.slice.d.ts +43 -43
  242. package/dist/lib/components/ui/media/image-editor/image-editor.stage-gestures.d.ts +29 -0
  243. package/dist/lib/components/ui/media/image-editor/image-editor.stage-paint.d.ts +17 -0
  244. package/dist/lib/components/ui/media/image-editor/partials/crop-aspect-picker.d.ts +2 -0
  245. package/dist/lib/components/ui/media/image-editor/partials/crop-orientation.d.ts +2 -0
  246. package/dist/lib/components/ui/media/image-editor/partials/editor-export-options.d.ts +2 -0
  247. package/dist/lib/components/ui/media/image-editor/partials/editor-file-info.d.ts +2 -0
  248. package/dist/lib/components/ui/media/image-editor/partials/editor-history-buttons.d.ts +2 -0
  249. package/dist/lib/components/ui/media/image-editor/partials/markup-brush-section.d.ts +2 -0
  250. package/dist/lib/components/ui/media/image-editor/partials/markup-tool-picker.d.ts +2 -0
  251. package/dist/lib/components/ui/media/image-editor/types-edits.d.ts +106 -0
  252. package/dist/lib/components/ui/media/image-editor/types-session.d.ts +58 -0
  253. package/dist/lib/components/ui/media/image-editor/types.d.ts +4 -163
  254. package/dist/lib/components/ui/media/image-editor/use-crop-frame.d.ts +26 -0
  255. package/dist/lib/components/ui/media/image-editor/use-image-editor-keys.d.ts +4 -0
  256. package/dist/lib/components/ui/media/image-editor/use-image-editor.d.ts +10 -10
  257. package/dist/lib/components/ui/media/image-editor/use-markup-text.d.ts +10 -0
  258. package/dist/lib/components/ui/media/image-editor/use-stage-layer-key.d.ts +6 -0
  259. package/dist/lib/components/ui/media/image-editor/use-stage-pointer.d.ts +2 -3
  260. package/dist/lib/components/ui/media/media-player/partials/panels/transcript-follow.d.ts +7 -0
  261. package/dist/lib/components/ui/media/media-player/partials/panels/transcript-notice.d.ts +7 -0
  262. package/dist/lib/components/ui/media/media-player/partials/panels/use-search-announcement.d.ts +6 -0
  263. package/dist/lib/components/ui/media/media-player/partials/playlist-item.d.ts +13 -0
  264. package/dist/lib/components/ui/media/pdf-reader/partials/search-nav-buttons.d.ts +4 -0
  265. package/dist/lib/components/ui/media/pdf-reader/use-reader-chrome-state.d.ts +35 -0
  266. package/dist/lib/components/ui/media/pdf-reader/use-reader-chrome-value.d.ts +14 -0
  267. package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-dropzone-body.d.ts +8 -0
  268. package/dist/lib/components/ui/primitives/segmented-input/segmented-input-cells.d.ts +20 -0
  269. package/dist/lib/components/ui/primitives/segmented-input/use-segment-paste.d.ts +17 -0
  270. package/dist/lib/components/ui/primitives/segmented-input/use-segmented-keys.d.ts +17 -0
  271. package/dist/lib/components/ui/selection/autocomplete/autocomplete-equality.d.ts +7 -0
  272. package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-chips.d.ts +2 -19
  273. package/dist/lib/components/ui/selection/autocomplete/types.d.ts +19 -1
  274. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-handlers.d.ts +5 -6
  275. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-leave.d.ts +14 -0
  276. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-picks.d.ts +17 -0
  277. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-typing.d.ts +14 -0
  278. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete.d.ts +3 -3
  279. package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +2 -23
  280. package/dist/lib/components/ui/selection/checkbox-group/partials/checkbox-group-options.d.ts +10 -0
  281. package/dist/lib/components/ui/selection/checkbox-group/types.d.ts +23 -0
  282. package/dist/lib/components/ui/selection/color-swatches/color-swatches.d.ts +2 -1
  283. package/dist/lib/components/ui/selection/color-swatches/color-swatches.utils.d.ts +3 -0
  284. package/dist/lib/components/ui/selection/color-swatches/partials/color-swatch-button.d.ts +13 -0
  285. package/dist/lib/components/ui/selection/color-swatches/partials/color-swatch-styles.d.ts +3 -0
  286. package/dist/lib/components/ui/selection/color-swatches/partials/custom-color-swatch.d.ts +11 -0
  287. package/dist/lib/components/ui/selection/color-swatches/types.d.ts +1 -0
  288. package/dist/lib/components/ui/selection/combobox-field/combobox-field.d.ts +3 -48
  289. package/dist/lib/components/ui/selection/combobox-field/partials/combobox-field-input.d.ts +4 -0
  290. package/dist/lib/components/ui/selection/combobox-field/types.d.ts +47 -0
  291. package/dist/lib/components/ui/selection/combobox-field/use-combobox-field-aria.d.ts +15 -0
  292. package/dist/lib/components/ui/selection/combobox-field/use-combobox-field-items.d.ts +1 -1
  293. package/dist/lib/components/ui/selection/combobox-field/use-typed-query.d.ts +8 -0
  294. package/dist/lib/components/ui/selection/option-tile/use-status-text.d.ts +3 -0
  295. package/dist/lib/components/ui/selection/radio-group/partials/radio-group-options.d.ts +7 -0
  296. package/dist/lib/components/ui/selection/radio-group/partials/radio-group-parts.d.ts +4 -0
  297. package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +3 -24
  298. package/dist/lib/components/ui/selection/radio-group/types.d.ts +22 -0
  299. package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-footer.d.ts +4 -0
  300. package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-frame.d.ts +20 -0
  301. package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-parts.d.ts +20 -0
  302. package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-props.d.ts +298 -0
  303. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-chrome.d.ts +20 -0
  304. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-data.d.ts +20 -0
  305. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-grab.d.ts +15 -0
  306. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-moves.d.ts +18 -0
  307. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list.d.ts +7 -8
  308. package/dist/lib/components/ui/selection/switcher/partials/switcher-recent.d.ts +11 -0
  309. package/dist/lib/components/ui/selection/switcher/partials/switcher-row-body.d.ts +8 -0
  310. package/dist/lib/components/ui/selection/switcher/switcher-list-keys.d.ts +17 -0
  311. package/dist/lib/components/ui/selection/switcher/switcher.d.ts +1 -1
  312. package/dist/lib/components/ui/selection/switcher/use-switcher-clip.d.ts +9 -0
  313. package/dist/lib/components/ui/selection/switcher/use-switcher-list-focus.d.ts +14 -0
  314. package/dist/lib/components/ui/selection/switcher/use-switcher-open.d.ts +9 -0
  315. package/dist/lib/components/ui/selection/switcher/use-switcher-panel.d.ts +24 -0
  316. package/dist/lib/components/ui/selection/switcher/use-switcher.d.ts +326 -0
  317. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-frame.d.ts +19 -0
  318. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-item-row.d.ts +2 -3
  319. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-listbox.d.ts +5 -0
  320. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-row-parts.d.ts +16 -0
  321. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-row-props.d.ts +283 -0
  322. package/dist/lib/components/ui/selection/transfer-list/transfer-list.keyboard.d.ts +3 -2
  323. package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-actions.d.ts +3 -2
  324. package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-checks.d.ts +18 -0
  325. package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-derived.d.ts +14 -0
  326. package/dist/lib/components/ui/selection/transfer-list/use-transfer-list.d.ts +1 -1
  327. package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-chips.d.ts +9 -0
  328. package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-trigger-button.d.ts +15 -0
  329. package/dist/lib/components/ui/widgets/chat/chat-message.d.ts +1 -1
  330. package/dist/lib/components/ui/widgets/chat/chat-message.view.d.ts +32 -0
  331. package/dist/lib/components/ui/widgets/chat/partials/chat-composer-notices.d.ts +8 -0
  332. package/dist/lib/components/ui/widgets/chat/partials/chat-composer-surface.d.ts +11 -0
  333. package/dist/lib/components/ui/widgets/chat/partials/chat-conversation-item-skeleton.d.ts +4 -0
  334. package/dist/lib/components/ui/widgets/chat/partials/chat-conversation-item-text.d.ts +10 -0
  335. package/dist/lib/components/ui/widgets/chat/partials/chat-inbox-list.d.ts +8 -0
  336. package/dist/lib/components/ui/widgets/chat/partials/chat-inbox-thread.d.ts +11 -0
  337. package/dist/lib/components/ui/widgets/chat/partials/chat-message-action-menus.d.ts +17 -0
  338. package/dist/lib/components/ui/widgets/chat/partials/chat-message-body.d.ts +6 -0
  339. package/dist/lib/components/ui/widgets/chat/partials/chat-scroll-to-latest.d.ts +7 -0
  340. package/dist/lib/components/ui/widgets/chat/partials/chat-typing-row.d.ts +9 -0
  341. package/dist/lib/components/ui/widgets/chat/use-chat-inbox-pane.d.ts +13 -0
  342. package/dist/lib/components/ui/widgets/chat/use-chat-widget-open.d.ts +19 -0
  343. package/dist/lib/components/ui/widgets/code-editor/toolbar/code-view-tools.d.ts +10 -0
  344. package/dist/lib/components/ui/widgets/code-editor/use-monaco-options.d.ts +9 -0
  345. package/dist/lib/components/ui/widgets/editor/extensions/custom/accordion/accordion-item-actions.d.ts +7 -0
  346. package/dist/lib/components/ui/widgets/editor/extensions/custom/action-card/action-card-tile.d.ts +10 -0
  347. package/dist/lib/components/ui/widgets/editor/extensions/custom/select-card/select-card-tile.d.ts +11 -0
  348. package/dist/lib/components/ui/widgets/editor/extensions/custom/select-card/toggle-selection.d.ts +3 -0
  349. package/dist/lib/components/ui/widgets/editor/extensions/custom/shared/use-node-list.d.ts +11 -0
  350. package/dist/lib/components/ui/widgets/editor/extensions/emoji/use-emoji-groups.d.ts +13 -0
  351. package/dist/lib/components/ui/widgets/editor/presets/compact-editor-parts.d.ts +10 -0
  352. package/dist/lib/components/ui/widgets/editor/presets/document-editor-frame-parts.d.ts +19 -0
  353. package/dist/lib/components/ui/widgets/editor/presets/document-editor-layout.d.ts +5 -0
  354. package/dist/lib/components/ui/widgets/editor/presets/document-editor-overlays.d.ts +6 -0
  355. package/dist/lib/components/ui/widgets/editor/presets/document-editor-page-parts.d.ts +25 -0
  356. package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/composer-class.d.ts +8 -0
  357. package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/partials/composer-toolbar.d.ts +6 -0
  358. package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/partials/format-buttons.d.ts +8 -0
  359. package/dist/lib/components/ui/widgets/editor/presets/use-document-features.d.ts +15 -0
  360. package/dist/lib/components/ui/widgets/education/questions/partials/question-body.d.ts +5 -0
  361. package/dist/lib/components/ui/widgets/education/questions/partials/question-content.d.ts +3 -0
  362. package/dist/lib/components/ui/widgets/education/questions/partials/question-extras.d.ts +10 -0
  363. package/dist/lib/components/ui/widgets/education/questions/partials/question-outcome.d.ts +7 -0
  364. package/dist/lib/components/ui/widgets/education/questions/question-options.keyboard.d.ts +17 -0
  365. package/dist/lib/components/ui/widgets/education/questions/question.d.ts +1 -1
  366. package/dist/lib/components/ui/widgets/education/questions/types.d.ts +3 -2
  367. package/dist/lib/components/ui/widgets/education/quizzes/partials/quiz-shortcuts.d.ts +6 -0
  368. package/dist/lib/components/ui/widgets/education/quizzes/partials/results-actions.d.ts +7 -0
  369. package/dist/lib/components/ui/widgets/education/quizzes/partials/results-ring.d.ts +5 -0
  370. package/dist/lib/components/ui/widgets/education/quizzes/quiz.flow.d.ts +29 -0
  371. package/dist/lib/components/ui/widgets/education/quizzes/quiz.slice.d.ts +3 -0
  372. package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-actions.d.ts +20 -0
  373. package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-flow.d.ts +29 -0
  374. package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-lifecycle.d.ts +12 -0
  375. package/dist/lib/components/ui/widgets/education/quizzes/use-quiz.d.ts +2 -1
  376. package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-step-buttons.d.ts +2 -0
  377. package/dist/lib/components/ui/widgets/event-calendar/partials/month-day-cell-class.d.ts +9 -0
  378. package/dist/lib/components/ui/widgets/event-calendar/partials/month-day-parts.d.ts +12 -0
  379. package/dist/lib/components/ui/widgets/event-calendar/use-month-day.d.ts +26 -0
  380. package/dist/lib/components/ui/widgets/kanban/kanban.drag.d.ts +15 -0
  381. package/dist/lib/components/ui/widgets/kanban/partials/kanban-card-tile.d.ts +7 -0
  382. package/dist/lib/components/ui/widgets/kanban/partials/kanban-column-cards.d.ts +8 -0
  383. package/dist/lib/components/ui/widgets/kanban/partials/kanban-drag-preview.d.ts +8 -0
  384. package/dist/lib/components/ui/widgets/kanban/partials/kanban-group-header.d.ts +8 -0
  385. package/dist/lib/components/ui/widgets/kanban/use-kanban-item-actions.d.ts +20 -0
  386. package/dist/lib/components/ui/widgets/native-charts/core/base-props-types.d.ts +64 -0
  387. package/dist/lib/components/ui/widgets/native-charts/core/reference-geometry.d.ts +62 -0
  388. package/dist/lib/components/ui/widgets/native-charts/core/reference-types.d.ts +35 -0
  389. package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +1 -56
  390. package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +2 -96
  391. package/dist/lib/components/ui/widgets/native-charts/hooks/use-model-parts.d.ts +20 -0
  392. package/dist/lib/components/ui/widgets/native-charts/hooks/use-model-shown.d.ts +23 -0
  393. package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/line-strokes.d.ts +10 -0
  394. package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/use-line-reveal.d.ts +9 -0
  395. package/dist/lib/i18n/resources/en/en.d.ts +4 -0
  396. package/dist/lib/i18n/resources/en/material.json.d.ts +5 -1
  397. package/dist/lib/i18n/resources/fr/fr.d.ts +4 -0
  398. package/dist/lib/i18n/resources/fr/material.json.d.ts +5 -1
  399. package/dist/lib/i18n/resources/resources.d.ts +8 -0
  400. package/dist/lib/i18n/translator.d.ts +1 -1
  401. package/dist/lib/map/components/partials/default-location.d.ts +2 -0
  402. package/dist/lib/map/components/partials/location-dialog.d.ts +17 -0
  403. package/dist/lib/print/components/print-document/print-document.d.ts +2 -37
  404. package/dist/lib/print/components/print-document/print-document.types.d.ts +37 -0
  405. package/dist/lib/print/components/print-document/use-print-context.d.ts +11 -0
  406. package/dist/lib.js +55 -48
  407. package/dist/main.js +43 -43
  408. package/dist/map.js +91 -74
  409. package/dist/material.css +1 -1
  410. package/dist/{nxgt-theme-ivgNca3z.js → nxgt-theme-DA1IQe0O.js} +5 -5
  411. package/dist/pdf-reader.js +1 -1
  412. package/dist/print.js +121 -107
  413. package/dist/{public-DVZJVdxD.js → public-B42vT7ee.js} +362 -332
  414. package/dist/{render-json-BOhvPnSv.js → render-json-COvAkihK.js} +3 -3
  415. package/dist/{rich-code-block-DL5-9JIi.js → rich-code-block-DIJ1X1AF.js} +5 -5
  416. package/dist/{rich-text-viewer-W15XIwah.js → rich-text-viewer-CXJp584B.js} +3 -3
  417. package/dist/{sortable-provider-DrpBwx75.js → sortable-provider-Csby6WpB.js} +2 -2
  418. package/dist/{spinner-D4XGdse6.js → spinner-DC35lhqx.js} +3 -1
  419. package/dist/{stored-language-C89mti-z.js → stored-language-BIxd7uiP.js} +6 -2
  420. package/dist/theme-picker.js +3 -3
  421. package/dist/{theme-toggle-BFhqLmgx.js → theme-toggle-BWdNFLvB.js} +1 -1
  422. package/dist/themes.js +1 -1
  423. package/dist/{toolbar-items-SZ5pyAFz.js → toolbar-items-oqmVfnfO.js} +578 -567
  424. package/dist/{translate-material-BkqnImND.js → translate-material-Bgtjuh85.js} +2 -2
  425. package/dist/{translator-B5fId5Rw.js → translator-BrZv1U54.js} +1 -1
  426. package/dist/{use-chat-composer-BG5B4DGB.js → use-chat-composer-Dj0TP_B1.js} +8456 -8177
  427. package/dist/{use-heading-spy-51GQw8tH.js → use-heading-spy-1Dqxj_JQ.js} +1 -1
  428. package/dist/{use-material-translation-BQOr4Oks.js → use-material-translation-DLdQKdfw.js} +2 -2
  429. package/dist/use-shape-morph-BKA_R5P5.js +35 -0
  430. package/dist/{youtube-node-OWSNlYCc.js → youtube-node-A3NPAPgK.js} +27 -27
  431. package/docs/components/feedback-and-status.md +5 -4
  432. package/docs/components/navigation-and-layout.md +47 -0
  433. package/docs/components/rich-widgets.md +3 -3
  434. package/docs/guides/data-grid.md +11 -1
  435. package/docs/previews/navigation-layout-stickyactionbar.webp +0 -0
  436. package/docs/roadmap.md +9 -1
  437. package/package.json +1 -1
  438. package/dist/empty-state-4gmbCkcw.js +0 -117
  439. package/dist/use-shape-morph-DXdy2X5g.js +0 -35
@@ -0,0 +1,26 @@
1
+ import { GridPos } from '@nxgt/material-core/data-grid';
2
+ import { Cell, RowData } from '@tanstack/react-table';
3
+ import { DataTableFeatures } from '../../data-table/features.js';
4
+ import { DataGridContextValue } from '../data-grid-context.js';
5
+ /**
6
+ * What the cell at `pos` allows, and whether it says so (`said`, with the
7
+ * shared description's id). A row header with no editor is the row's name,
8
+ * not a field: it says nothing (its row's tag tells the row's state).
9
+ */
10
+ export declare function describedBy<TData extends RowData>(grid: DataGridContextValue<TData>, pos: GridPos): {
11
+ access: import('@nxgt/material-core/data-grid').GridAccess;
12
+ said: boolean;
13
+ id: undefined;
14
+ } | {
15
+ access: "locked" | "readonly" | "computed";
16
+ said: boolean;
17
+ id: string;
18
+ };
19
+ /** Whether Escape on the active cell is the grid's: a range to collapse, the paste problems to close. */
20
+ export declare function keepsEscape<TData extends RowData>(grid: DataGridContextValue<TData>, pos: GridPos): boolean;
21
+ /** The classes of a body cell: the grid's, the virtual one, the row header's, the control and selected ones, the column's own. */
22
+ export declare function cellClassName<TData extends RowData>(grid: DataGridContextValue<TData>, cell: Cell<DataTableFeatures, TData, unknown>, flags: {
23
+ header: boolean;
24
+ control: boolean;
25
+ selected?: boolean;
26
+ }): string;
@@ -0,0 +1,15 @@
1
+ import { Column, Header, RowData } from '@tanstack/react-table';
2
+ import { DataTableFeatures } from '../../data-table/features.js';
3
+ /** The classes of a header cell: the virtual and sortable ones, the menu's and grip's room, the column's own. */
4
+ export declare function headerClassName<TData extends RowData>(column: Column<DataTableFeatures, TData, unknown>, flags: {
5
+ fixed: boolean;
6
+ cut: boolean;
7
+ hasMenu: boolean;
8
+ canResize: boolean;
9
+ }): string;
10
+ /** A header's name (its `labelId` is what the cell is labelled by) and its sort arrow. */
11
+ export declare function GridHeaderName<TData extends RowData>({ header, labelId, sorted, }: {
12
+ header: Header<DataTableFeatures, TData, unknown>;
13
+ labelId: string;
14
+ sorted: false | 'asc' | 'desc';
15
+ }): import("react").JSX.Element;
@@ -0,0 +1,17 @@
1
+ import { Ref } from 'react';
2
+ /**
3
+ * The button of a header's menu: a plain one with the menu button's ARIA
4
+ * (`aria-haspopup`, `aria-expanded`, `aria-controls` once open). A press
5
+ * opens it (`onShow(true)`), a second press closes it (`onClose`); Enter,
6
+ * Space and ArrowDown open it from the keyboard. Its clicks never sort.
7
+ */
8
+ export declare function HeaderMenuButton({ ref, id, menuId, isOpen, label, onShow, onClose, }: {
9
+ ref: Ref<HTMLButtonElement>;
10
+ id: string;
11
+ menuId: string;
12
+ isOpen: boolean;
13
+ /** The column's label, which the button's name carries. */
14
+ label: string;
15
+ onShow: (pointer?: boolean) => void;
16
+ onClose: () => void;
17
+ }): import("react").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { RowData } from '@tanstack/react-table';
2
+ import { DataGridContextValue } from '../data-grid-context.js';
3
+ import { GridColumn } from '../use-grid-model.js';
4
+ /** The open menu, anchored over its header's button, which names it. */
5
+ export declare function OpenHeaderMenu<TData extends RowData>({ grid, column, buttonId, menuId, byKeyboard, onClose, afterMenu, openWidth, }: {
6
+ grid: DataGridContextValue<TData>;
7
+ column: GridColumn<TData>;
8
+ buttonId: string;
9
+ menuId: string;
10
+ byKeyboard: boolean;
11
+ onClose: () => void;
12
+ afterMenu: (event: Event) => void;
13
+ openWidth: () => void;
14
+ }): import("react").JSX.Element;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * The width field of `WidthStepper`: a plain spinbutton `<input>` and its
3
+ * unit, isolated left to right so a right-to-left page reads "144 px".
4
+ */
5
+ export declare function WidthField({ titleId, bounds, width, draft, onDraft, onStep, onType, onDone, onLeave, }: {
6
+ titleId: string;
7
+ bounds: {
8
+ min: number;
9
+ max: number;
10
+ };
11
+ width: number;
12
+ draft: string | null;
13
+ onDraft: (draft: string | null) => void;
14
+ onStep: (up: boolean, shift: boolean) => void;
15
+ onType: (width: number) => void;
16
+ onDone: () => void;
17
+ onLeave: () => void;
18
+ }): import("react").JSX.Element;
@@ -7,8 +7,8 @@ export declare function PhoneBadges({ state }: {
7
7
  /**
8
8
  * One row of the phone list: a button at least 44px tall with the row's
9
9
  * label and its badges, its summary under them (the app's `renderPhoneItem`,
10
- * else the cells' values), and a locked or read-only row's reason. Opens
11
- * the row panel.
10
+ * else the cells' values), and a locked or read-only row's reason. Its
11
+ * accessible name is all of that text, label first. Opens the row panel.
12
12
  */
13
13
  export declare function PhoneItem({ id, label, state, summary, onOpen, }: {
14
14
  id: string;
@@ -0,0 +1,17 @@
1
+ import { RowData } from '@tanstack/react-table';
2
+ import { HTMLAttributes } from 'react';
3
+ import { DataTableProps, DataTableTable } from '../../types.js';
4
+ /**
5
+ * The `<ul>` of `DataTableCards`: one card (or tile) per row of the table,
6
+ * or, while loading with nothing to show, placeholder cards.
7
+ */
8
+ export declare function DataTableCardList<TData extends RowData>({ layout, table, props, listProps, selectable, }: {
9
+ layout: 'cards' | 'tiles';
10
+ table: DataTableTable<TData>;
11
+ props: DataTableProps<TData>;
12
+ /** The list's own attributes (role, ref, density, busy), built by the parent. */
13
+ listProps: HTMLAttributes<HTMLUListElement> & {
14
+ ref?: React.Ref<HTMLUListElement>;
15
+ };
16
+ selectable: boolean;
17
+ }): import("react").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { RowData } from '@tanstack/react-table';
2
+ import { RefObject } from 'react';
3
+ import { DataTableTable } from '../../types.js';
4
+ /** The list bar's "Clear selection": an icon on a narrow list, still named and with a tooltip. */
5
+ export declare function ListBarClear<TData extends RowData>({ table, rootRef, label, }: {
6
+ table: DataTableTable<TData>;
7
+ /** The list's root, where the focus goes once the button is gone. */
8
+ rootRef?: RefObject<HTMLElement | null>;
9
+ label: string;
10
+ }): import("react").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { RowData } from '@tanstack/react-table';
2
+ import { ReactNode } from 'react';
3
+ import { DataTableListSlots } from '../../data-table-list-slots.js';
4
+ import { DataTableTable } from '../../types.js';
5
+ /**
6
+ * The list bar on a phone, when the host gives the list a row of its own:
7
+ * its start group (the select-all box, with a short visible label the count
8
+ * replaces in place, and "Clear selection") goes to the host's start slot,
9
+ * the sort to its sort slot.
10
+ */
11
+ export declare function ListBarInRow<TData extends RowData>({ table, slots, count, countText, selectAll, clear, }: {
12
+ table: DataTableTable<TData>;
13
+ slots: DataTableListSlots;
14
+ count: number;
15
+ countText: string;
16
+ selectAll: (visibleLabel?: string) => ReactNode;
17
+ clear: ReactNode;
18
+ }): import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * One of the pager's four icon buttons: a tonal `IconButton` in a tooltip
3
+ * that says `label`, which a screen reader gets as well. `wide` (first and
4
+ * last page) hides it below the `lg` breakpoint.
5
+ */
6
+ export declare function PageButton({ label, icon, wide, onClick, disabled, }: {
7
+ label: string;
8
+ icon: 'chevrons-left' | 'chevron-left' | 'chevron-right' | 'chevrons-right';
9
+ wide?: boolean;
10
+ onClick: () => void;
11
+ disabled: boolean;
12
+ }): import("react").JSX.Element;
@@ -0,0 +1,21 @@
1
+ import { ReactNode } from 'react';
2
+ import { DataTableLinkComponent, DataTablePageTarget } from '../types.js';
3
+ /** What an inert control looks like: it takes no pointer and is dimmed, as
4
+ * the sort headers' are while loading. */
5
+ export declare const INERT = "aria-disabled:pointer-events-none aria-disabled:opacity-50";
6
+ /**
7
+ * The icon-only "Previous" or "Next" of the server footer
8
+ * (`pageControls: 'icon'`): a tonal icon button with a tooltip and a name
9
+ * that says the page, a link when the target is an href, else a button.
10
+ */
11
+ export declare function PageIconControl({ previous, target, Link, glyph, slot, inert, gone, }: {
12
+ previous: boolean;
13
+ target?: DataTablePageTarget | null;
14
+ Link: DataTableLinkComponent;
15
+ glyph: ReactNode;
16
+ slot: string;
17
+ /** `true` while the table is loading. */
18
+ inert: true | undefined;
19
+ /** `true` when the page is not there, or the table is loading. */
20
+ gone: true | undefined;
21
+ }): import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { RowData, Table } from '@tanstack/react-table';
2
+ import { DataTableFeatures } from '../features.js';
3
+ /** The pager's first, previous, next and last page buttons (first and last from the `lg` breakpoint). */
4
+ export declare function PagerButtons<TData extends RowData>({ table, disabled, }: {
5
+ table: Table<DataTableFeatures, TData>;
6
+ disabled: boolean;
7
+ }): import("react").JSX.Element;
@@ -0,0 +1,36 @@
1
+ import { RowData } from '@tanstack/react-table';
2
+ import { DataTableProps } from './types.js';
3
+ /**
4
+ * What `DataTable` decides before it renders: its layout (a list of cards
5
+ * is neither virtualized nor given an expanded row), the virtual option,
6
+ * the TanStack table, the focus it records and whether the data is filtered.
7
+ */
8
+ export declare function useDataTableSetup<TData extends RowData>(props: DataTableProps<TData>): {
9
+ layout: import('./layout-types.js').DataTableLayout;
10
+ list: boolean;
11
+ virtual: import('./virtual-option.js').DataTableVirtualOptions | undefined;
12
+ unpaged: boolean;
13
+ table: import('@tanstack/react-table').ReactTable<{
14
+ columnFilteringFeature: import('@tanstack/table-core').TableFeature;
15
+ columnVisibilityFeature: import('@tanstack/table-core').TableFeature;
16
+ columnOrderingFeature: import('@tanstack/table-core').TableFeature;
17
+ columnSizingFeature: import('@tanstack/table-core').TableFeature;
18
+ columnResizingFeature: import('@tanstack/table-core').TableFeature;
19
+ rowSelectionFeature: import('@tanstack/table-core').TableFeature;
20
+ rowSortingFeature: import('@tanstack/table-core').TableFeature;
21
+ rowExpandingFeature: import('@tanstack/table-core').TableFeature;
22
+ rowPaginationFeature: import('@tanstack/table-core').TableFeature;
23
+ filteredRowModel: (table: import('@tanstack/table-core').Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
24
+ sortedRowModel: (table: import('@tanstack/table-core').Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
25
+ paginatedRowModel: (table: import('@tanstack/table-core').Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
26
+ expandedRowModel: (table: import('@tanstack/table-core').Table<any, any>) => () => import('@tanstack/table-core').RowModel<any, any>;
27
+ }, TData, import('@tanstack/table-core').TableState_ColumnFiltering & import('@tanstack/table-core').TableState_ColumnOrdering & import('@tanstack/table-core').TableState_ColumnResizing & import('@tanstack/table-core').TableState_ColumnSizing & import('@tanstack/table-core').TableState_ColumnVisibility & import('@tanstack/table-core').TableState_RowExpanding & import('@tanstack/table-core').TableState_RowPagination & import('@tanstack/table-core').TableState_RowSelection & import('@tanstack/table-core').TableState_RowSorting>;
28
+ focusable: boolean;
29
+ focus: {
30
+ ref: import('react').RefCallback<HTMLTableElement>;
31
+ listRef: import('react').RefCallback<HTMLElement>;
32
+ onFocus: (event: import('react').FocusEvent) => void;
33
+ controls: import('./slots.js').DataTableControls;
34
+ };
35
+ filtered: boolean;
36
+ };
@@ -0,0 +1,11 @@
1
+ import { ElementType, Ref } from 'react';
2
+ import { FacetGroupProps } from '../types.js';
3
+ type FacetGroupHeaderProps = Pick<FacetGroupProps, 'title' | 'hint' | 'activeCount' | 'onClear'> & {
4
+ Heading: ElementType;
5
+ shown: boolean;
6
+ toggle: Ref<HTMLButtonElement>;
7
+ clear: () => void;
8
+ };
9
+ /** The header row: the disclosure toggle (title, hint, count, chevron) and Clear beside it. */
10
+ export declare function FacetGroupHeader({ title, hint, activeCount, onClear, Heading, shown, toggle, clear, }: FacetGroupHeaderProps): import("react").JSX.Element;
11
+ export {};
@@ -0,0 +1,13 @@
1
+ import { FilterField } from './types.js';
2
+ /** What every generic field built from a filter field carries. */
3
+ export declare function baseFieldConfig(field: FilterField, error?: string, disabled?: boolean): {
4
+ id: string;
5
+ name: string;
6
+ label: string;
7
+ placeholder: string | undefined;
8
+ disabled: boolean | undefined;
9
+ error: boolean;
10
+ helperText: string | undefined;
11
+ className: string | undefined;
12
+ };
13
+ export type BaseFieldConfig = ReturnType<typeof baseFieldConfig>;
@@ -0,0 +1,5 @@
1
+ import { FieldConfig } from '../../fields/field/types.js';
2
+ import { BaseFieldConfig } from './filter-field-config-base.utils.js';
3
+ import { FilterField } from './types.js';
4
+ /** The choice fields (select, multi-select, chips, radio and checkbox groups) as generic fields. */
5
+ export declare function choiceFieldConfig(field: FilterField, baseConfig: BaseFieldConfig, value: any, onChange: (value: any) => void): FieldConfig | null;
@@ -0,0 +1,5 @@
1
+ import { FieldConfig } from '../../fields/field/types.js';
2
+ import { BaseFieldConfig } from './filter-field-config-base.utils.js';
3
+ import { FilterField } from './types.js';
4
+ /** The value fields (text, number, switch, date, date range, slider) as generic fields. */
5
+ export declare function valueFieldConfig(field: FilterField, baseConfig: BaseFieldConfig, value: any, onChange: (value: any) => void): FieldConfig | null;
@@ -0,0 +1,6 @@
1
+ import { FieldConfig } from '../../fields/field/types.js';
2
+ import { FilterField } from './types.js';
3
+ /**
4
+ * Map a FilterField to FieldConfig for use with generic Field component
5
+ */
6
+ export declare function mapFilterFieldToFieldConfig(field: FilterField, value: any, onChange: (value: any) => void, error?: string, disabled?: boolean): FieldConfig | null;
@@ -59,4 +59,4 @@ export type FilterProps = Omit<FilterProviderProps, 'children'> & {
59
59
  * />
60
60
  * ```
61
61
  */
62
- export declare function FilterLegacy({ variant, schema, values, defaultValues, onChange, onApply, onReset, persistence, presetConfig, liveUpdate, disabled, showActions, contentClassName, actionsClassName, trigger, title, description, triggerLabel, showTriggerCount, side, direction, align, popoverSide, className, }: FilterProps): import("react").JSX.Element;
62
+ export declare function FilterLegacy(props: FilterProps): import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { FilterField, FilterValue } from './types.js';
2
+ /**
3
+ * Serialize filter value to URL param string
4
+ */
5
+ export declare function serializeFilterValue(field: FilterField, value: FilterValue): string | null;
6
+ /**
7
+ * Parse URL param string to filter value
8
+ */
9
+ export declare function parseFilterValue(field: FilterField, paramValue: string): FilterValue;
@@ -1,4 +1,3 @@
1
- import { FieldConfig } from '../../fields/field/types.js';
2
1
  import { FilterField, FilterGroup, FilterSchema, FilterValues } from './types.js';
3
2
  /**
4
3
  * Get a filter field by ID from schema
@@ -28,7 +27,4 @@ export declare function isFieldVisible(field: FilterField, values: FilterValues)
28
27
  * Get all visible fields from schema
29
28
  */
30
29
  export declare function getVisibleFields(schema: FilterSchema, values: FilterValues): FilterField[];
31
- /**
32
- * Map a FilterField to FieldConfig for use with generic Field component
33
- */
34
- export declare function mapFilterFieldToFieldConfig(field: FilterField, value: any, onChange: (value: any) => void, error?: string, disabled?: boolean): FieldConfig | null;
30
+ export { mapFilterFieldToFieldConfig } from './filter-field-config.utils.js';
@@ -0,0 +1,24 @@
1
+ import { FilterValidationRule } from './types.js';
2
+ /**
3
+ * Common validation patterns
4
+ */
5
+ export declare const VALIDATION_PATTERNS: {
6
+ readonly EMAIL: RegExp;
7
+ readonly URL: RegExp;
8
+ readonly PHONE: RegExp;
9
+ readonly ZIP_CODE: RegExp;
10
+ readonly ALPHANUMERIC: RegExp;
11
+ readonly NUMERIC: RegExp;
12
+ };
13
+ /**
14
+ * Common validation rule presets
15
+ */
16
+ export declare const VALIDATION_PRESETS: {
17
+ readonly required: () => FilterValidationRule;
18
+ readonly email: () => FilterValidationRule;
19
+ readonly url: () => FilterValidationRule;
20
+ readonly phone: () => FilterValidationRule;
21
+ readonly positiveNumber: () => FilterValidationRule;
22
+ readonly percentage: () => FilterValidationRule;
23
+ readonly range: (min: number, max: number) => FilterValidationRule;
24
+ };
@@ -0,0 +1,11 @@
1
+ import { FilterField, FilterValidationRule, FilterValue } from './types.js';
2
+ type FilterRules = FilterValidationRule;
3
+ /** A text field: minimum and maximum length, pattern. */
4
+ export declare function validateTextValue(field: FilterField, value: FilterValue, rules: FilterRules): string | null;
5
+ /** A number field: minimum and maximum. */
6
+ export declare function validateNumberValue(field: FilterField, value: FilterValue, rules: FilterRules): string | null;
7
+ /** A number range: required ends, min less than max, and the field limits. */
8
+ export declare function validateNumberRangeValue(field: FilterField, value: FilterValue, rules: FilterRules): string | null;
9
+ /** A multi-select or checkbox group: minimum and maximum count. */
10
+ export declare function validateArrayValue(value: FilterValue, rules: FilterRules): string | null;
11
+ export {};
@@ -23,26 +23,4 @@ export declare function getValidationError(errors: FilterValidationErrors, field
23
23
  * Create a validation rule helper
24
24
  */
25
25
  export declare function createValidationRule(rule: Partial<FilterValidationRule>): FilterValidationRule;
26
- /**
27
- * Common validation patterns
28
- */
29
- export declare const VALIDATION_PATTERNS: {
30
- readonly EMAIL: RegExp;
31
- readonly URL: RegExp;
32
- readonly PHONE: RegExp;
33
- readonly ZIP_CODE: RegExp;
34
- readonly ALPHANUMERIC: RegExp;
35
- readonly NUMERIC: RegExp;
36
- };
37
- /**
38
- * Common validation rule presets
39
- */
40
- export declare const VALIDATION_PRESETS: {
41
- readonly required: () => FilterValidationRule;
42
- readonly email: () => FilterValidationRule;
43
- readonly url: () => FilterValidationRule;
44
- readonly phone: () => FilterValidationRule;
45
- readonly positiveNumber: () => FilterValidationRule;
46
- readonly percentage: () => FilterValidationRule;
47
- readonly range: (min: number, max: number) => FilterValidationRule;
48
- };
26
+ export { VALIDATION_PATTERNS, VALIDATION_PRESETS, } from './filter-validation-presets.utils.js';
@@ -0,0 +1,8 @@
1
+ import { FilterFieldProps } from '../filter-field.js';
2
+ import { useFilterFieldConfig } from '../use-filter-field-config.js';
3
+ type FilterFieldSpecialProps = Pick<FilterFieldProps, 'field' | 'value' | 'onChange' | 'onBlur' | 'error' | 'disabled' | 'className'> & {
4
+ commonProps: ReturnType<typeof useFilterFieldConfig>['commonProps'];
5
+ };
6
+ /** The types the generic `Field` does not render: a range slider, a number range. */
7
+ export declare function FilterFieldSpecial({ field, value, onChange, onBlur, error, disabled, className, commonProps, }: FilterFieldSpecialProps): import("react").JSX.Element;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ import { ComponentProps } from 'react';
2
+ import { FilterFormFieldProps } from '../filter-form-field.js';
3
+ import { FilterInline } from '../filter-inline.js';
4
+ type FilterFormFieldVariantProps = Pick<FilterFormFieldProps<Record<string, any>>, 'variant' | 'showActions' | 'contentClassName' | 'actionsClassName' | 'trigger' | 'title' | 'description' | 'triggerLabel' | 'showTriggerCount' | 'side'> & {
5
+ /** The props every variant takes, from the form controller. */
6
+ common: Pick<ComponentProps<typeof FilterInline>, 'schema' | 'values' | 'onChange' | 'onApply' | 'liveUpdate' | 'disabled' | 'className'>;
7
+ };
8
+ /** The variant of the filter (inline, dialog, sheet, drawer, popover) the form field renders. */
9
+ export declare function FilterFormFieldVariant({ variant, common: commonProps, showActions, contentClassName, actionsClassName, trigger, title, description, triggerLabel, showTriggerCount, side, }: FilterFormFieldVariantProps): import("react").JSX.Element;
10
+ export {};
@@ -0,0 +1,5 @@
1
+ import { FilterField as FilterFieldType } from '../types.js';
2
+ /** The responsive grid of a group's visible fields, wired to the filter context. */
3
+ export declare function FilterGroupFields({ fields }: {
4
+ fields: FilterFieldType[];
5
+ }): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { FilterProps } from '../filter-legacy.js';
2
+ /** The variant (dialog, sheet, drawer, popover or inline) `FilterLegacy` renders. */
3
+ export declare function FilterLegacyVariant(props: FilterProps): import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ /** The two fields of the save dialog: the preset's name (with its usage count) and description. */
2
+ export declare function FilterPresetFields({ name, description, onName, onDescription, count, max, }: {
3
+ name: string;
4
+ description: string;
5
+ onName: (value: string) => void;
6
+ onDescription: (value: string) => void;
7
+ count: number;
8
+ max: number;
9
+ }): import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { FilterPreset, FilterPresetsProps } from '../types.js';
2
+ /** A preset row of the menu: its icon, name, description, default star and current check. */
3
+ export declare function FilterPresetLoadItem({ preset, current, onLoad, }: {
4
+ preset: FilterPreset;
5
+ current: boolean;
6
+ onLoad: FilterPresetsProps['onLoad'];
7
+ }): import("react").JSX.Element;
8
+ /** A row of the menu's Manage section: set or unset the default, or delete. */
9
+ export declare function FilterPresetManageItem({ preset, onDelete, onSetDefault, }: {
10
+ preset: FilterPreset;
11
+ onDelete: FilterPresetsProps['onDelete'];
12
+ onSetDefault: FilterPresetsProps['onSetDefault'];
13
+ }): import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { FilterPresetsProps } from '../types.js';
2
+ type FilterPresetsMenuProps = Pick<FilterPresetsProps, 'presets' | 'currentPresetId' | 'onLoad' | 'onDelete' | 'onSetDefault' | 'disabled'>;
3
+ /** The dropdown that loads a saved preset and manages them (default, delete). */
4
+ export declare function FilterPresetsMenu({ presets, currentPresetId, onLoad, onDelete, onSetDefault, disabled, }: FilterPresetsMenuProps): import("react").JSX.Element;
5
+ export {};
@@ -0,0 +1,7 @@
1
+ import { FilterPresetsProps } from '../types.js';
2
+ type FilterPresetsSaveDialogProps = Pick<FilterPresetsProps, 'onSave' | 'maxPresets' | 'disabled' | 'cancelVariant'> & {
3
+ count: number;
4
+ };
5
+ /** The "+" button and its dialog that names and saves the current filters as a preset. */
6
+ export declare function FilterPresetsSaveDialog({ onSave, count, maxPresets, disabled, cancelVariant, }: FilterPresetsSaveDialogProps): import("react").JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import { ComponentProps } from 'react';
2
+ import { IconButton } from '../../../actions/icon-button/icon-button.js';
3
+ /** The "+" button that opens the save dialog, titled with the preset limit when it is reached. */
4
+ export declare function FilterPresetsSaveTrigger({ canSave, max, ...props }: ComponentProps<typeof IconButton> & {
5
+ canSave: boolean;
6
+ max: number;
7
+ }): import("react").JSX.Element;
@@ -1,45 +1,9 @@
1
- import { FilterApply, FilterCountsOption, FilterDefaults, FilterFieldErrors, FilterLockedCondition, FilterModel, FilterPreviewCount, FilterQuery, FilterSearchApplyMode, FilterShortcutsOption } from '@nxgt/material-core/filter';
1
+ import { FilterApply, FilterCountsOption, FilterDefaults, FilterFieldErrors, FilterLockedCondition, FilterModel, FilterPreviewCount, FilterQuery, FilterShortcutsOption } from '@nxgt/material-core/filter';
2
2
  import { ReactNode } from 'react';
3
3
  import { ButtonVariant } from '../../../actions/button/button.js';
4
4
  import { FilterBarFieldProps } from '../editors/custom-types.js';
5
- /** The bar's spacing: `compact` draws small chips; every target stays 24px or more. */
6
- export type FilterDensity = 'comfortable' | 'compact';
7
- /** The props `FilterBarView` and `FilterFacets` share. */
8
- export type FilterViewProps = {
9
- label?: string;
10
- searchLabel?: string;
11
- searchPlaceholder?: string;
12
- className?: string;
13
- /**
14
- * The page lays out the active filters and "Clear all" itself, outside
15
- * the bar (`ServerTable`'s row under its band): it holds the `search`
16
- * landmark around both, and `rootRef` on an element around them, so the
17
- * focus finds the chips.
18
- */
19
- detachedChips?: boolean;
20
- /**
21
- * `false`: no "Filters (N)" of the bar's own; the page places a
22
- * `FilterSheetTrigger` elsewhere. The bar still mounts the sheet, and `F`
23
- * still opens it.
24
- */
25
- sheetTrigger?: boolean;
26
- /** `'compact'`: 6px back under the bar; see `FilterQueryProps`. */
27
- bandDensity?: 'comfortable' | 'compact';
28
- /**
29
- * The variant of the secondary button in the sheet's and the staged
30
- * panel's footer ("Clear all", "Reset"). Default `'tonal'`; `'outlined'`
31
- * restores the earlier look.
32
- */
33
- cancelVariant?: ButtonVariant;
34
- };
35
- /**
36
- * When the search text reaches the query: `'live'` (the default) as it is
37
- * typed, applied after `liveDelayMs`; `'enter'` only when Enter is pressed,
38
- * then at once. In `'enter'`, clearing the field applies at once too.
39
- */
40
- export type FilterSearchApply = FilterSearchApplyMode;
41
- /** The query-driven variants of `Filter`: the bar, and the facets panel. */
42
- export type FilterQueryVariant = 'bar' | 'facets';
5
+ import { FilterDensity, FilterQueryVariant, FilterSearchApply } from './view-types.js';
6
+ export type { FilterDensity, FilterQueryVariant, FilterSearchApply, FilterViewProps, } from './view-types.js';
43
7
  /**
44
8
  * `Filter variant="bar"` and `variant="facets"`: a thin shell over
45
9
  * `@nxgt/material-core/filter`. Both become the phone sheet below 768px.
@@ -8,7 +8,7 @@ export declare function viewOptions({ defaults, errors, searchError, formError,
8
8
  errorSummary: boolean;
9
9
  loading: boolean;
10
10
  resultCount: number | undefined;
11
- density: import('./types.js').FilterDensity;
11
+ density: import('./view-types.js').FilterDensity;
12
12
  apply: import('@nxgt/material-core/filter').FilterApply;
13
13
  searchApply: import('@nxgt/material-core/filter').FilterSearchApplyMode;
14
14
  searchMinLength: number;
@@ -27,9 +27,9 @@ export declare function useFilterQueryValue(props: FilterQueryProps): {
27
27
  addedCount: number;
28
28
  loading: boolean;
29
29
  resultCount?: number;
30
- density: import('./types.js').FilterDensity;
30
+ density: import('./view-types.js').FilterDensity;
31
31
  apply: import('@nxgt/material-core/filter').FilterApply;
32
- searchApply: import('./types.js').FilterSearchApply;
32
+ searchApply: import('./view-types.js').FilterSearchApply;
33
33
  searchMinLength: number;
34
34
  previewCount?: import('@nxgt/material-core/filter').FilterPreviewCount;
35
35
  counts?: import('@nxgt/material-core/filter').FilterCountsOption;
@@ -0,0 +1,40 @@
1
+ import { FilterSearchApplyMode } from '@nxgt/material-core/filter';
2
+ import { ButtonVariant } from '../../../actions/button/button.js';
3
+ /** The bar's spacing: `compact` draws small chips; every target stays 24px or more. */
4
+ export type FilterDensity = 'comfortable' | 'compact';
5
+ /** The props `FilterBarView` and `FilterFacets` share. */
6
+ export type FilterViewProps = {
7
+ label?: string;
8
+ searchLabel?: string;
9
+ searchPlaceholder?: string;
10
+ className?: string;
11
+ /**
12
+ * The page lays out the active filters and "Clear all" itself, outside
13
+ * the bar (`ServerTable`'s row under its band): it holds the `search`
14
+ * landmark around both, and `rootRef` on an element around them, so the
15
+ * focus finds the chips.
16
+ */
17
+ detachedChips?: boolean;
18
+ /**
19
+ * `false`: no "Filters (N)" of the bar's own; the page places a
20
+ * `FilterSheetTrigger` elsewhere. The bar still mounts the sheet, and `F`
21
+ * still opens it.
22
+ */
23
+ sheetTrigger?: boolean;
24
+ /** `'compact'`: 6px back under the bar; see `FilterQueryProps`. */
25
+ bandDensity?: 'comfortable' | 'compact';
26
+ /**
27
+ * The variant of the secondary button in the sheet's and the staged
28
+ * panel's footer ("Clear all", "Reset"). Default `'tonal'`; `'outlined'`
29
+ * restores the earlier look.
30
+ */
31
+ cancelVariant?: ButtonVariant;
32
+ };
33
+ /**
34
+ * When the search text reaches the query: `'live'` (the default) as it is
35
+ * typed, applied after `liveDelayMs`; `'enter'` only when Enter is pressed,
36
+ * then at once. In `'enter'`, clearing the field applies at once too.
37
+ */
38
+ export type FilterSearchApply = FilterSearchApplyMode;
39
+ /** The query-driven variants of `Filter`: the bar, and the facets panel. */
40
+ export type FilterQueryVariant = 'bar' | 'facets';
@@ -0,0 +1,14 @@
1
+ import { KeyboardEvent } from 'react';
2
+ /**
3
+ * The bar search's text and its handlers: the draft the field shows (a query
4
+ * that changes elsewhere replaces it), what is sent while typing, and what
5
+ * Enter or clearing applies at once in `searchApply="enter"`.
6
+ */
7
+ export declare function useFilterSearch(): {
8
+ draft: string;
9
+ short: boolean;
10
+ enter: boolean;
11
+ onValueChange: (next: string) => void;
12
+ onClear: () => void;
13
+ onKeyDown: (event: KeyboardEvent<HTMLInputElement>) => void;
14
+ };