@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,62 @@
1
+ import { BandRange, Domain, RefBand, RefThreshold } from './reference.js';
2
+ /**
3
+ * Where reference bands and threshold lines fall on the plot: the runs of
4
+ * rows that share a value, their spans, the clipping to the value domain,
5
+ * label baselines, and the count of values outside a band.
6
+ */
7
+ /** A stretch of consecutive rows with the same reference value: `first` to `last` are row indexes. */
8
+ export type Run<V> = {
9
+ first: number;
10
+ last: number;
11
+ value: V;
12
+ };
13
+ /**
14
+ * The runs of consecutive rows that share a value (`same` tells), a row with
15
+ * no value (null) ending the run and leaving a gap. Without `perRow` the one
16
+ * constant value covers every row.
17
+ */
18
+ export declare function refRuns<V>(count: number, constant: V, perRow: readonly (V | null)[] | undefined, same: (a: V, b: V) => boolean): Run<V>[];
19
+ /** The runs of a band's ranges. */
20
+ export declare const bandRuns: (b: RefBand, count: number) => Run<BandRange>[];
21
+ /** The runs of a threshold's values. */
22
+ export declare const thresholdRuns: (th: RefThreshold, count: number) => Run<number>[];
23
+ /**
24
+ * Where a run sits across the plot, `x` mapping a row index to a pixel and
25
+ * `width` the plot's width: each row owns the stretch up to the midpoint to
26
+ * its neighbour, the first row from the plot's left edge and the last up to
27
+ * its right edge.
28
+ */
29
+ export declare function runSpan(run: Pick<Run<unknown>, 'first' | 'last'>, count: number, x: (index: number) => number, width: number): {
30
+ x1: number;
31
+ x2: number;
32
+ };
33
+ /** The part of `band` inside `domain`; null when none of it is, or it has no height. */
34
+ export declare function clipBand(band: Pick<RefBand, 'from' | 'to'>, domain: Domain): {
35
+ from: number;
36
+ to: number;
37
+ } | null;
38
+ /** A band's box on the plot, `y` mapping a value to a pixel: its top and height, clipped to the domain; null when it is out of view. */
39
+ export declare function bandBox(band: Pick<RefBand, 'from' | 'to'>, domain: Domain, y: (value: number) => number): {
40
+ top: number;
41
+ height: number;
42
+ } | null;
43
+ /** Where a threshold's line falls; null when its value is outside the domain. */
44
+ export declare function thresholdAt(value: number, domain: Domain, y: (value: number) => number): number | null;
45
+ /** The baseline of a band's label: inside the band under its top edge, or above a band too thin to hold it. */
46
+ export declare function bandLabelBaseline(top: number, height: number): number;
47
+ /** The baseline of a threshold's label: above its line, or under it at the top of the plot. */
48
+ export declare function thresholdLabelBaseline(lineY: number): number;
49
+ /** How many of `values` lie outside `band` (a missing value is not counted, nor one in a row where a stepped band has no range), and how many there are. */
50
+ export declare function outsideBand(values: readonly (number | null | undefined)[], band: Pick<RefBand, 'from' | 'to' | 'ranges'>): {
51
+ outside: number;
52
+ total: number;
53
+ };
54
+ /**
55
+ * How a label sits at a plot's physical `edge` (the plot is drawn left to
56
+ * right whatever the page): a label in a right-to-left script is set `rtl`,
57
+ * and the anchor that grows it inward from that edge flips with it.
58
+ */
59
+ export declare function labelFlow(label: string, edge: 'left' | 'right'): {
60
+ direction: 'ltr' | 'rtl';
61
+ textAnchor: 'start' | 'end';
62
+ };
@@ -0,0 +1,35 @@
1
+ import { Tone } from '../../../tones.js';
2
+ import { ChartRow } from './types.js';
3
+ /** A reference value: fixed, the name of a numeric field read from each row, or computed from the row and its index. */
4
+ export type ChartRowValue = number | string | ((row: ChartRow, index: number) => number | null | undefined);
5
+ /**
6
+ * A shaded range of the value axis, drawn behind the lines: a normal range,
7
+ * a target zone. Its `label` is drawn in the band and listed in the summary
8
+ * and in "View data"; the shade is decorative, the label carries the meaning.
9
+ */
10
+ export interface ChartBand {
11
+ /**
12
+ * One end of the range, in the value axis' units (either order): a
13
+ * number, the name of a row field, or a function of the row. With a field
14
+ * or a function the band steps along x, one range per row (a row it gives
15
+ * no number for leaves a gap).
16
+ */
17
+ from: ChartRowValue;
18
+ /** The other end; same forms as `from`. */
19
+ to: ChartRowValue;
20
+ /** Names the range: drawn in it, read by the summary and the table. */
21
+ label: string;
22
+ /** Tints the band and its label in the tone; default a neutral wash. */
23
+ tone?: Tone;
24
+ }
25
+ /** A horizontal line at a value, with a direct label at its end. */
26
+ export interface ChartThreshold {
27
+ /** Where the line sits: a number, a row field or a function of the row (then it steps along x). */
28
+ value: ChartRowValue;
29
+ /** Names the line: drawn at its end, read by the summary and the table. */
30
+ label: string;
31
+ /** Draws the line and its label in the tone's colour; default the axis colour. */
32
+ tone?: Tone;
33
+ /** Dashed (default) or, with `false`, solid. */
34
+ dash?: boolean;
35
+ }
@@ -34,59 +34,4 @@ export declare function normalizeBands(bands: readonly ChartBand[] | undefined,
34
34
  export declare function normalizeThresholds(thresholds: readonly ChartThreshold[] | undefined, data?: readonly ChartRow[]): RefThreshold[];
35
35
  /** Every value a band or a threshold marks: the value domain grows to hold them. */
36
36
  export declare function referenceValues(bands: readonly RefBand[], thresholds: readonly RefThreshold[]): number[];
37
- /** A stretch of consecutive rows with the same reference value: `first` to `last` are row indexes. */
38
- export type Run<V> = {
39
- first: number;
40
- last: number;
41
- value: V;
42
- };
43
- /**
44
- * The runs of consecutive rows that share a value (`same` tells), a row with
45
- * no value (null) ending the run and leaving a gap. Without `perRow` the one
46
- * constant value covers every row.
47
- */
48
- export declare function refRuns<V>(count: number, constant: V, perRow: readonly (V | null)[] | undefined, same: (a: V, b: V) => boolean): Run<V>[];
49
- /** The runs of a band's ranges. */
50
- export declare const bandRuns: (b: RefBand, count: number) => Run<BandRange>[];
51
- /** The runs of a threshold's values. */
52
- export declare const thresholdRuns: (th: RefThreshold, count: number) => Run<number>[];
53
- /**
54
- * Where a run sits across the plot, `x` mapping a row index to a pixel and
55
- * `width` the plot's width: each row owns the stretch up to the midpoint to
56
- * its neighbour, the first row from the plot's left edge and the last up to
57
- * its right edge.
58
- */
59
- export declare function runSpan(run: Pick<Run<unknown>, 'first' | 'last'>, count: number, x: (index: number) => number, width: number): {
60
- x1: number;
61
- x2: number;
62
- };
63
- /** The part of `band` inside `domain`; null when none of it is, or it has no height. */
64
- export declare function clipBand(band: Pick<RefBand, 'from' | 'to'>, domain: Domain): {
65
- from: number;
66
- to: number;
67
- } | null;
68
- /** A band's box on the plot, `y` mapping a value to a pixel: its top and height, clipped to the domain; null when it is out of view. */
69
- export declare function bandBox(band: Pick<RefBand, 'from' | 'to'>, domain: Domain, y: (value: number) => number): {
70
- top: number;
71
- height: number;
72
- } | null;
73
- /** Where a threshold's line falls; null when its value is outside the domain. */
74
- export declare function thresholdAt(value: number, domain: Domain, y: (value: number) => number): number | null;
75
- /** The baseline of a band's label: inside the band under its top edge, or above a band too thin to hold it. */
76
- export declare function bandLabelBaseline(top: number, height: number): number;
77
- /** The baseline of a threshold's label: above its line, or under it at the top of the plot. */
78
- export declare function thresholdLabelBaseline(lineY: number): number;
79
- /** How many of `values` lie outside `band` (a missing value is not counted, nor one in a row where a stepped band has no range), and how many there are. */
80
- export declare function outsideBand(values: readonly (number | null | undefined)[], band: Pick<RefBand, 'from' | 'to' | 'ranges'>): {
81
- outside: number;
82
- total: number;
83
- };
84
- /**
85
- * How a label sits at a plot's physical `edge` (the plot is drawn left to
86
- * right whatever the page): a label in a right-to-left script is set `rtl`,
87
- * and the anchor that grows it inward from that edge flips with it.
88
- */
89
- export declare function labelFlow(label: string, edge: 'left' | 'right'): {
90
- direction: 'ltr' | 'rtl';
91
- textAnchor: 'start' | 'end';
92
- };
37
+ export { bandBox, bandLabelBaseline, bandRuns, clipBand, labelFlow, outsideBand, type Run, refRuns, runSpan, thresholdAt, thresholdLabelBaseline, thresholdRuns, } from './reference-geometry.js';
@@ -1,4 +1,3 @@
1
- import { ReactNode } from 'react';
2
1
  import { Tone } from '../../../tones.js';
3
2
  /**
4
3
  * The shared types of `@nxgt/material/charts`. Every chart takes rows of
@@ -77,98 +76,5 @@ export interface ChartXAxis {
77
76
  format?: (value: ChartValue, index: number) => string;
78
77
  label?: string;
79
78
  }
80
- /** A point a tooltip, a click or the keyboard lands on. */
81
- export interface ChartPoint {
82
- seriesKey: string;
83
- seriesLabel: string;
84
- /** The row index (or the slice, step or cell index). */
85
- index: number;
86
- /** The formatted x value or category. */
87
- label: string;
88
- value: number;
89
- formatted: string;
90
- row?: ChartRow;
91
- }
92
- /**
93
- * The series colours: `'default'` draws from `--chart-1..5`; `'soft'` from
94
- * `--chart-soft-1..5`, each filled mark a soft fill with a crisp outline in
95
- * the colour's ink (lines, points and swatches in the ink).
96
- */
97
- export type ChartPalette = 'default' | 'soft';
98
- /** A reference value: fixed, the name of a numeric field read from each row, or computed from the row and its index. */
99
- export type ChartRowValue = number | string | ((row: ChartRow, index: number) => number | null | undefined);
100
- /**
101
- * A shaded range of the value axis, drawn behind the lines: a normal range,
102
- * a target zone. Its `label` is drawn in the band and listed in the summary
103
- * and in "View data"; the shade is decorative, the label carries the meaning.
104
- */
105
- export interface ChartBand {
106
- /**
107
- * One end of the range, in the value axis' units (either order): a
108
- * number, the name of a row field, or a function of the row. With a field
109
- * or a function the band steps along x, one range per row (a row it gives
110
- * no number for leaves a gap).
111
- */
112
- from: ChartRowValue;
113
- /** The other end; same forms as `from`. */
114
- to: ChartRowValue;
115
- /** Names the range: drawn in it, read by the summary and the table. */
116
- label: string;
117
- /** Tints the band and its label in the tone; default a neutral wash. */
118
- tone?: Tone;
119
- }
120
- /** A horizontal line at a value, with a direct label at its end. */
121
- export interface ChartThreshold {
122
- /** Where the line sits: a number, a row field or a function of the row (then it steps along x). */
123
- value: ChartRowValue;
124
- /** Names the line: drawn at its end, read by the summary and the table. */
125
- label: string;
126
- /** Draws the line and its label in the tone's colour; default the axis colour. */
127
- tone?: Tone;
128
- /** Dashed (default) or, with `false`, solid. */
129
- dash?: boolean;
130
- }
131
- /** What every chart accepts. */
132
- export interface ChartBaseProps {
133
- /** The card's title, and the chart's accessible name. */
134
- title: string;
135
- /** A line under the title. */
136
- description?: ReactNode;
137
- /** The big number line under the header. */
138
- headline?: ReactNode;
139
- /** The screen-reader summary; default generated from the data. */
140
- summary?: string | ((auto: string) => string);
141
- /** The plot's height in pixels; default 260 (220 under 480px wide); a radar 340, a gauge by its `size`. */
142
- height?: number;
143
- /** Where the legend goes; default `'top'`. Always below on a phone. */
144
- legend?: 'top' | 'bottom' | false;
145
- /** The hidden series' keys, controlled. */
146
- hidden?: string[];
147
- defaultHidden?: string[];
148
- onHiddenChange?: (hidden: string[]) => void;
149
- /** Shapes, dashes and fill patterns beside the colours. */
150
- patterns?: boolean;
151
- /**
152
- * The series colours. Unset, a chart follows `data-chart-palette="soft"`
153
- * on an ancestor (an app-wide switch), else the default palette; set, it
154
- * wins over the ancestor both ways. A `tone` is the same in either.
155
- */
156
- palette?: ChartPalette;
157
- /** Default `'dotted'`; `'hairline'` draws thin solid lines. */
158
- grid?: 'dotted' | 'hairline' | 'none';
159
- /** The "View data" button and its table; default true. */
160
- dataTable?: boolean;
161
- /** `false` draws no tooltip; a function renders its content. */
162
- tooltip?: false | ((points: ChartPoint[]) => ReactNode);
163
- /** A pointer click, or Enter or Space on a focused point. */
164
- onPointClick?: (point: ChartPoint) => void;
165
- /** The entry motion; default true. Reduced motion always wins. */
166
- animate?: boolean;
167
- /** Shows a skeleton instead of the plot. */
168
- loading?: boolean;
169
- /** Shown when there is no data. */
170
- emptyState?: ReactNode;
171
- /** Default `'card'`, a 12px card; `'plain'` draws no surface. */
172
- surface?: 'card' | 'plain';
173
- className?: string;
174
- }
79
+ export type { ChartBaseProps, ChartPalette, ChartPoint, } from './base-props-types.js';
80
+ export type { ChartBand, ChartRowValue, ChartThreshold, } from './reference-types.js';
@@ -0,0 +1,20 @@
1
+ import { ResolvedSeries } from '../core/colors.js';
2
+ import { SeriesAxis } from '../core/combo-axes.js';
3
+ import { ChartKind } from '../core/summary.js';
4
+ import { ChartSeries } from '../core/types.js';
5
+ import { ChartModel, ChartModelProps } from './chart-model-types.js';
6
+ import { ModelSeries } from './model-series.js';
7
+ /** The model's text parts, each memoized: the summary, the legend and the lazy table. */
8
+ export declare function useModelParts(props: ChartModelProps, kind: ChartKind, view: {
9
+ series: ResolvedSeries[];
10
+ shown: ModelSeries[];
11
+ labels: string[];
12
+ hidden: string[];
13
+ axes?: (series: ChartSeries) => SeriesAxis;
14
+ refs: ChartModel['refs'];
15
+ }): {
16
+ summary: string;
17
+ legendItems: import('../partials/chart-legend.js').LegendItem[];
18
+ table: (() => import('../core/table.js').ChartTableModel) | null;
19
+ tableCaption: string;
20
+ };
@@ -0,0 +1,23 @@
1
+ import { ResolvedSeries } from '../core/colors.js';
2
+ import { ChartModelOptions, ChartModelProps } from './chart-model-types.js';
3
+ /**
4
+ * The reference bands and thresholds, cleaned against the data, and the
5
+ * series that are shown (visible ones, with the tones the reference gives
6
+ * their points).
7
+ */
8
+ export declare function useModelShown({ series, hidden, data, axes, yAxis, labels, offset, reference, }: {
9
+ series: ResolvedSeries[];
10
+ hidden: string[];
11
+ data: ChartModelProps['data'];
12
+ axes: ChartModelOptions['axes'];
13
+ yAxis: ChartModelProps['yAxis'];
14
+ labels: string[];
15
+ offset: number | undefined;
16
+ reference: ChartModelOptions['reference'];
17
+ }): {
18
+ refs: {
19
+ bands: import('../core/reference.js').RefBand[];
20
+ thresholds: import('../core/reference.js').RefThreshold[];
21
+ };
22
+ shown: import('./model-series.js').ModelSeries[];
23
+ };
@@ -0,0 +1,10 @@
1
+ import { AreaChartProps } from '../line-chart-types.js';
2
+ import { LineGeometry } from '../line-geometry.js';
3
+ /** The lines, their dots and the toned points, clipped by the entry reveal while it runs. */
4
+ export declare function LineStrokes({ geo, clipPath, phone, patterns, points, }: {
5
+ geo: LineGeometry;
6
+ clipPath?: string;
7
+ phone: boolean;
8
+ patterns?: boolean;
9
+ points: AreaChartProps['points'];
10
+ }): import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { ChartModel } from '../../hooks/use-chart-model.js';
2
+ /**
3
+ * The entry motion of a line or area chart: the reveal clip's progress, and
4
+ * how far the area fills have faded in (they start after 60% of the reveal).
5
+ */
6
+ export declare function useLineReveal(model: ChartModel, animate?: boolean): {
7
+ motion: import('../../hooks/use-entry-motion.js').EntryMotion;
8
+ fade: number;
9
+ };
@@ -356,6 +356,9 @@ export declare const en: {
356
356
  "retry-wrong": string;
357
357
  retrying: string;
358
358
  };
359
+ "question-card": {
360
+ unanswered: string;
361
+ };
359
362
  "question-navigator": {
360
363
  label: string;
361
364
  item: string;
@@ -378,6 +381,7 @@ export declare const en: {
378
381
  left: string;
379
382
  expired: string;
380
383
  warning: string;
384
+ critical: string;
381
385
  };
382
386
  "option-tile": {
383
387
  correct: string;
@@ -346,6 +346,9 @@ declare const _default: {
346
346
  "retry-wrong": "{count, plural, one {Retry # question} other {Retry # questions}}",
347
347
  "retrying": "Retry round: {count, plural, one {# question} other {# questions}}"
348
348
  },
349
+ "question-card": {
350
+ "unanswered": "No answer"
351
+ },
349
352
  "question-navigator": {
350
353
  "label": "Questions",
351
354
  "item": "Question {number}",
@@ -367,7 +370,8 @@ declare const _default: {
367
370
  "label": "Time remaining",
368
371
  "left": "{time} left",
369
372
  "expired": "Time is up",
370
- "warning": "Little time left"
373
+ "warning": "Little time left",
374
+ "critical": "Almost out of time"
371
375
  },
372
376
  "option-tile": {
373
377
  "correct": "correct answer",
@@ -356,6 +356,9 @@ export declare const fr: {
356
356
  "retry-wrong": string;
357
357
  retrying: string;
358
358
  };
359
+ "question-card": {
360
+ unanswered: string;
361
+ };
359
362
  "question-navigator": {
360
363
  label: string;
361
364
  item: string;
@@ -378,6 +381,7 @@ export declare const fr: {
378
381
  left: string;
379
382
  expired: string;
380
383
  warning: string;
384
+ critical: string;
381
385
  };
382
386
  "option-tile": {
383
387
  correct: string;
@@ -346,6 +346,9 @@ declare const _default: {
346
346
  "retry-wrong": "{count, plural, one {Refaire # question} other {Refaire # questions}}",
347
347
  "retrying": "Nouvel essai : {count, plural, one {# question} other {# questions}}"
348
348
  },
349
+ "question-card": {
350
+ "unanswered": "Sans réponse"
351
+ },
349
352
  "question-navigator": {
350
353
  "label": "Questions",
351
354
  "item": "Question {number}",
@@ -367,7 +370,8 @@ declare const _default: {
367
370
  "label": "Temps restant",
368
371
  "left": "Plus que {time}",
369
372
  "expired": "Temps écoulé",
370
- "warning": "Il reste peu de temps"
373
+ "warning": "Il reste peu de temps",
374
+ "critical": "Le temps est presque écoulé"
371
375
  },
372
376
  "option-tile": {
373
377
  "correct": "bonne réponse",
@@ -354,6 +354,9 @@ export declare const resources: {
354
354
  "retry-wrong": string;
355
355
  retrying: string;
356
356
  };
357
+ "question-card": {
358
+ unanswered: string;
359
+ };
357
360
  "question-navigator": {
358
361
  label: string;
359
362
  item: string;
@@ -376,6 +379,7 @@ export declare const resources: {
376
379
  left: string;
377
380
  expired: string;
378
381
  warning: string;
382
+ critical: string;
379
383
  };
380
384
  "option-tile": {
381
385
  correct: string;
@@ -3297,6 +3301,9 @@ export declare const resources: {
3297
3301
  "retry-wrong": string;
3298
3302
  retrying: string;
3299
3303
  };
3304
+ "question-card": {
3305
+ unanswered: string;
3306
+ };
3300
3307
  "question-navigator": {
3301
3308
  label: string;
3302
3309
  item: string;
@@ -3319,6 +3326,7 @@ export declare const resources: {
3319
3326
  left: string;
3320
3327
  expired: string;
3321
3328
  warning: string;
3329
+ critical: string;
3322
3330
  };
3323
3331
  "option-tile": {
3324
3332
  correct: string;