@nxgt/material 3.56.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 (440) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +2 -1
  3. package/dist/{async-slice-CORlM_wu.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-CdpVEza0.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-C0yNYz9m.js → chip-1XnyX4bd.js} +2 -2
  10. package/dist/{code-editor-Bwzp2038.js → code-editor-1Y7ykpam.js} +307 -277
  11. package/dist/code-editor.js +14 -14
  12. package/dist/{code-language-items-nP-pF7yH.js → code-language-items-Clbln9C6.js} +2 -2
  13. package/dist/{components-Dl2hVfzt.js → components-Cj3lJ_uK.js} +28593 -25906
  14. package/dist/components.js +26 -26
  15. package/dist/{convert-XAkWyO8-.js → convert-7g-F5cNf.js} +1 -1
  16. package/dist/{dialog-BVgsN9Ch.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-C8PBmMIa.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-CYnfySUl.js → escape-owner-Ch_-kDLw.js} +1 -1
  24. package/dist/{field-blur-Nid7-bt_.js → field-blur-BJjUHsgJ.js} +1 -1
  25. package/dist/{field-blur-context-DxdIuHAY.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-C_9jiwp1.js → hover-card-CVmY0Z44.js} +2 -2
  29. package/dist/{i18n-provider-CLVZK6tQ.js → i18n-provider-C0uLEv0G.js} +1 -1
  30. package/dist/i18n.js +5 -5
  31. package/dist/{icon-badge-Dcjg_SKJ.js → icon-badge-bAQQK3ls.js} +3 -3
  32. package/dist/{icon-button-Bo-VuZ2n.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-ring.d.ts +7 -0
  139. package/dist/lib/components/ui/feedback/countdown-timer/countdown-timer.d.ts +9 -1
  140. package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-body.d.ts +10 -0
  141. package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-dot.d.ts +2 -0
  142. package/dist/lib/components/ui/feedback/notification-row/partials/notification-row-open.d.ts +5 -0
  143. package/dist/lib/components/ui/feedback/notifications/notifications-model.d.ts +59 -0
  144. package/dist/lib/components/ui/feedback/notifications/use-notifications-chrome.d.ts +17 -0
  145. package/dist/lib/components/ui/feedback/notifications/use-notifications.d.ts +4 -38
  146. package/dist/lib/components/ui/feedback/spinner/spinner-variants.d.ts +5 -0
  147. package/dist/lib/components/ui/feedback/spinner/spinner.d.ts +1 -5
  148. package/dist/lib/components/ui/feedback/state-frame/state-frame-text.d.ts +10 -0
  149. package/dist/lib/components/ui/feedback/state-frame/use-state-media.d.ts +14 -0
  150. package/dist/lib/components/ui/feedback/step-dots/step-dot.d.ts +13 -0
  151. package/dist/lib/components/ui/feedback/step-dots/step-dots.d.ts +2 -1
  152. package/dist/lib/components/ui/feedback/step-up-dialog/describe-by.d.ts +4 -0
  153. package/dist/lib/components/ui/feedback/step-up-dialog/use-step-up-view.d.ts +34 -0
  154. package/dist/lib/components/ui/fields/attributes/attribute-form/attribute-options-form-fields.d.ts +7 -0
  155. package/dist/lib/components/ui/fields/attributes/attributes-list/attribute-tile.d.ts +11 -0
  156. package/dist/lib/components/ui/fields/attributes/partials/editor-rows.d.ts +15 -0
  157. package/dist/lib/components/ui/fields/contacts/partials/contact-groups.d.ts +20 -0
  158. package/dist/lib/components/ui/fields/contacts/partials/contact-tile.d.ts +13 -0
  159. package/dist/lib/components/ui/fields/contacts/partials/dialog-actions.d.ts +14 -0
  160. package/dist/lib/components/ui/fields/contacts/partials/dialog-fields.d.ts +14 -0
  161. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  162. package/dist/lib/components/ui/fields/country-field/iso-codes-1.d.ts +2 -0
  163. package/dist/lib/components/ui/fields/country-field/iso-codes-2.d.ts +2 -0
  164. package/dist/lib/components/ui/fields/country-field/iso-codes-3.d.ts +2 -0
  165. package/dist/lib/components/ui/fields/currency-field/use-currency-amount.d.ts +17 -0
  166. package/dist/lib/components/ui/fields/field/render-choice-field.d.ts +3 -0
  167. package/dist/lib/components/ui/fields/inline-edit/inline-edit-display.d.ts +12 -0
  168. package/dist/lib/components/ui/fields/inline-edit/inline-edit-editor.d.ts +14 -0
  169. package/dist/lib/components/ui/fields/inline-edit/use-inline-edit.d.ts +19 -0
  170. package/dist/lib/components/ui/fields/opening-hours/logic/missing-days.d.ts +3 -0
  171. package/dist/lib/components/ui/fields/opening-hours/partials/day-switch.d.ts +14 -0
  172. package/dist/lib/components/ui/fields/opening-hours/partials/dialog-actions.d.ts +13 -0
  173. package/dist/lib/components/ui/fields/opening-hours/partials/dialog-fields.d.ts +14 -0
  174. package/dist/lib/components/ui/fields/opening-hours/partials/hours-actions.d.ts +9 -0
  175. package/dist/lib/components/ui/fields/opening-hours/partials/hours-tile.d.ts +11 -0
  176. package/dist/lib/components/ui/fields/opening-hours/partials/week-rows.d.ts +14 -0
  177. package/dist/lib/components/ui/fields/opening-hours/use-hours-editor.d.ts +1 -0
  178. package/dist/lib/components/ui/fields/phone-field/phone-country-list.d.ts +10 -0
  179. package/dist/lib/components/ui/fields/phone-field/phone-dial-button.d.ts +10 -0
  180. package/dist/lib/components/ui/fields/phone-field/phone-number-input.d.ts +19 -0
  181. package/dist/lib/components/ui/fields/phone-field/use-phone-value.d.ts +17 -0
  182. package/dist/lib/components/ui/fields/postal-address/postal-address-dialog-actions.d.ts +14 -0
  183. package/dist/lib/components/ui/fields/postal-address/postal-address-dialog-fields.d.ts +10 -0
  184. package/dist/lib/components/ui/fields/rating-field/rating-color.d.ts +4 -0
  185. package/dist/lib/components/ui/fields/rating-field/rating-field.d.ts +1 -4
  186. package/dist/lib/components/ui/fields/rating-field/rating-star.d.ts +22 -0
  187. package/dist/lib/components/ui/fields/rating-field/use-rating.d.ts +16 -0
  188. package/dist/lib/components/ui/fields/search-field/search-box.d.ts +11 -0
  189. package/dist/lib/components/ui/fields/search-field/use-search-value.d.ts +21 -0
  190. package/dist/lib/components/ui/fields/slider/slider-control-row.d.ts +10 -0
  191. package/dist/lib/components/ui/fields/slider/slider-group-props.d.ts +16 -0
  192. package/dist/lib/components/ui/fields/slider/slider-group.d.ts +14 -0
  193. package/dist/lib/components/ui/fields/slider/slider-horizontal.d.ts +3 -0
  194. package/dist/lib/components/ui/fields/slider/slider-vertical.d.ts +3 -0
  195. package/dist/lib/components/ui/fields/slider/slider.d.ts +1 -1
  196. package/dist/lib/components/ui/fields/slider/use-slider-value.d.ts +10 -0
  197. package/dist/lib/components/ui/fields/textarea-field/textarea-footer.d.ts +14 -0
  198. package/dist/lib/components/ui/layout/app-shell/activity-chrome.d.ts +17 -0
  199. package/dist/lib/components/ui/layout/app-shell/activity-content-header.d.ts +15 -0
  200. package/dist/lib/components/ui/layout/app-shell/app-header-menu.d.ts +5 -0
  201. package/dist/lib/components/ui/layout/app-shell/band-boxes.d.ts +3 -0
  202. package/dist/lib/components/ui/layout/app-shell/collect-content.d.ts +24 -0
  203. package/dist/lib/components/ui/layout/app-shell/keep-inside-checker.d.ts +10 -0
  204. package/dist/lib/components/ui/layout/app-shell/page-title-focus.d.ts +32 -0
  205. package/dist/lib/components/ui/layout/app-shell/page-title-scope.d.ts +53 -0
  206. package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +2 -82
  207. package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +3 -13
  208. package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +2 -18
  209. package/dist/lib/components/ui/layout/auth-card/auth-card-parts.d.ts +25 -0
  210. package/dist/lib/components/ui/layout/doc/partials/doc-header-parts.d.ts +18 -0
  211. package/dist/lib/components/ui/layout/doc/partials/doc-header.d.ts +2 -4
  212. package/dist/lib/components/ui/layout/doc/partials/doc-nav-parts.d.ts +11 -0
  213. package/dist/lib/components/ui/layout/doc/use-doc-effects.d.ts +23 -0
  214. package/dist/lib/components/ui/layout/index.d.ts +1 -0
  215. package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item-content.d.ts +7 -0
  216. package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.d.ts +2 -47
  217. package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.types.d.ts +54 -0
  218. package/dist/lib/components/ui/layout/sticky-action-bar/index.d.ts +1 -0
  219. package/dist/lib/components/ui/layout/sticky-action-bar/keyboard-inset.d.ts +17 -0
  220. package/dist/lib/components/ui/layout/sticky-action-bar/sticky-action-bar.d.ts +17 -0
  221. package/dist/lib/components/ui/layout/sticky-action-bar/use-keyboard-inset.d.ts +8 -0
  222. package/dist/lib/components/ui/layout/toc/toc-list.d.ts +16 -0
  223. package/dist/lib/components/ui/media/compare-slider/partials/compare-slider-handle.d.ts +9 -0
  224. package/dist/lib/components/ui/media/compare-slider/use-compare-slider.d.ts +22 -0
  225. package/dist/lib/components/ui/media/file-list/file-list-field.d.ts +1 -1
  226. package/dist/lib/components/ui/media/file-list/partials/file-list-dropzone.d.ts +13 -0
  227. package/dist/lib/components/ui/media/file-list/partials/file-list-input.d.ts +11 -0
  228. package/dist/lib/components/ui/media/file-list/partials/file-list-items.d.ts +14 -0
  229. package/dist/lib/components/ui/media/file-list/partials/file-list-row-actions.d.ts +12 -0
  230. package/dist/lib/components/ui/media/file-list/use-file-list-field.d.ts +33 -0
  231. package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-toolbar.d.ts +2 -6
  232. package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-zoom.d.ts +2 -0
  233. package/dist/lib/components/ui/media/galleries/partials/gallery-featured-arrows.d.ts +2 -0
  234. package/dist/lib/components/ui/media/galleries/partials/gallery-tile-media.d.ts +17 -0
  235. package/dist/lib/components/ui/media/galleries/partials/gallery-viewer-button.d.ts +6 -0
  236. package/dist/lib/components/ui/media/galleries/use-gallery-navigation.d.ts +18 -0
  237. package/dist/lib/components/ui/media/galleries/use-gallery-sync.d.ts +15 -0
  238. package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-actions.d.ts +12 -0
  239. package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-controls.d.ts +8 -0
  240. package/dist/lib/components/ui/media/image-cropper/partials/image-cropper-stage.d.ts +12 -0
  241. package/dist/lib/components/ui/media/image-cropper/use-image-cropper.d.ts +34 -0
  242. package/dist/lib/components/ui/media/image-editor/image-editor.slice.d.ts +43 -43
  243. package/dist/lib/components/ui/media/image-editor/image-editor.stage-gestures.d.ts +29 -0
  244. package/dist/lib/components/ui/media/image-editor/image-editor.stage-paint.d.ts +17 -0
  245. package/dist/lib/components/ui/media/image-editor/partials/crop-aspect-picker.d.ts +2 -0
  246. package/dist/lib/components/ui/media/image-editor/partials/crop-orientation.d.ts +2 -0
  247. package/dist/lib/components/ui/media/image-editor/partials/editor-export-options.d.ts +2 -0
  248. package/dist/lib/components/ui/media/image-editor/partials/editor-file-info.d.ts +2 -0
  249. package/dist/lib/components/ui/media/image-editor/partials/editor-history-buttons.d.ts +2 -0
  250. package/dist/lib/components/ui/media/image-editor/partials/markup-brush-section.d.ts +2 -0
  251. package/dist/lib/components/ui/media/image-editor/partials/markup-tool-picker.d.ts +2 -0
  252. package/dist/lib/components/ui/media/image-editor/types-edits.d.ts +106 -0
  253. package/dist/lib/components/ui/media/image-editor/types-session.d.ts +58 -0
  254. package/dist/lib/components/ui/media/image-editor/types.d.ts +4 -163
  255. package/dist/lib/components/ui/media/image-editor/use-crop-frame.d.ts +26 -0
  256. package/dist/lib/components/ui/media/image-editor/use-image-editor-keys.d.ts +4 -0
  257. package/dist/lib/components/ui/media/image-editor/use-image-editor.d.ts +10 -10
  258. package/dist/lib/components/ui/media/image-editor/use-markup-text.d.ts +10 -0
  259. package/dist/lib/components/ui/media/image-editor/use-stage-layer-key.d.ts +6 -0
  260. package/dist/lib/components/ui/media/image-editor/use-stage-pointer.d.ts +2 -3
  261. package/dist/lib/components/ui/media/media-player/partials/panels/transcript-follow.d.ts +7 -0
  262. package/dist/lib/components/ui/media/media-player/partials/panels/transcript-notice.d.ts +7 -0
  263. package/dist/lib/components/ui/media/media-player/partials/panels/use-search-announcement.d.ts +6 -0
  264. package/dist/lib/components/ui/media/media-player/partials/playlist-item.d.ts +13 -0
  265. package/dist/lib/components/ui/media/pdf-reader/partials/search-nav-buttons.d.ts +4 -0
  266. package/dist/lib/components/ui/media/pdf-reader/use-reader-chrome-state.d.ts +35 -0
  267. package/dist/lib/components/ui/media/pdf-reader/use-reader-chrome-value.d.ts +14 -0
  268. package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-dropzone-body.d.ts +8 -0
  269. package/dist/lib/components/ui/primitives/segmented-input/segmented-input-cells.d.ts +20 -0
  270. package/dist/lib/components/ui/primitives/segmented-input/use-segment-paste.d.ts +17 -0
  271. package/dist/lib/components/ui/primitives/segmented-input/use-segmented-keys.d.ts +17 -0
  272. package/dist/lib/components/ui/selection/autocomplete/autocomplete-equality.d.ts +7 -0
  273. package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-chips.d.ts +2 -19
  274. package/dist/lib/components/ui/selection/autocomplete/types.d.ts +19 -1
  275. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-handlers.d.ts +5 -6
  276. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-leave.d.ts +14 -0
  277. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-picks.d.ts +17 -0
  278. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-typing.d.ts +14 -0
  279. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete.d.ts +3 -3
  280. package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +2 -23
  281. package/dist/lib/components/ui/selection/checkbox-group/partials/checkbox-group-options.d.ts +10 -0
  282. package/dist/lib/components/ui/selection/checkbox-group/types.d.ts +23 -0
  283. package/dist/lib/components/ui/selection/color-swatches/color-swatches.d.ts +2 -1
  284. package/dist/lib/components/ui/selection/color-swatches/color-swatches.utils.d.ts +3 -0
  285. package/dist/lib/components/ui/selection/color-swatches/partials/color-swatch-button.d.ts +13 -0
  286. package/dist/lib/components/ui/selection/color-swatches/partials/color-swatch-styles.d.ts +3 -0
  287. package/dist/lib/components/ui/selection/color-swatches/partials/custom-color-swatch.d.ts +11 -0
  288. package/dist/lib/components/ui/selection/color-swatches/types.d.ts +1 -0
  289. package/dist/lib/components/ui/selection/combobox-field/combobox-field.d.ts +3 -48
  290. package/dist/lib/components/ui/selection/combobox-field/partials/combobox-field-input.d.ts +4 -0
  291. package/dist/lib/components/ui/selection/combobox-field/types.d.ts +47 -0
  292. package/dist/lib/components/ui/selection/combobox-field/use-combobox-field-aria.d.ts +15 -0
  293. package/dist/lib/components/ui/selection/combobox-field/use-combobox-field-items.d.ts +1 -1
  294. package/dist/lib/components/ui/selection/combobox-field/use-typed-query.d.ts +8 -0
  295. package/dist/lib/components/ui/selection/option-tile/use-status-text.d.ts +3 -0
  296. package/dist/lib/components/ui/selection/radio-group/partials/radio-group-options.d.ts +7 -0
  297. package/dist/lib/components/ui/selection/radio-group/partials/radio-group-parts.d.ts +4 -0
  298. package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +3 -24
  299. package/dist/lib/components/ui/selection/radio-group/types.d.ts +22 -0
  300. package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-footer.d.ts +4 -0
  301. package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-frame.d.ts +20 -0
  302. package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-parts.d.ts +20 -0
  303. package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-props.d.ts +298 -0
  304. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-chrome.d.ts +20 -0
  305. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-data.d.ts +20 -0
  306. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-grab.d.ts +15 -0
  307. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list-moves.d.ts +18 -0
  308. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list.d.ts +7 -8
  309. package/dist/lib/components/ui/selection/switcher/partials/switcher-recent.d.ts +11 -0
  310. package/dist/lib/components/ui/selection/switcher/partials/switcher-row-body.d.ts +8 -0
  311. package/dist/lib/components/ui/selection/switcher/switcher-list-keys.d.ts +17 -0
  312. package/dist/lib/components/ui/selection/switcher/switcher.d.ts +1 -1
  313. package/dist/lib/components/ui/selection/switcher/use-switcher-clip.d.ts +9 -0
  314. package/dist/lib/components/ui/selection/switcher/use-switcher-list-focus.d.ts +14 -0
  315. package/dist/lib/components/ui/selection/switcher/use-switcher-open.d.ts +9 -0
  316. package/dist/lib/components/ui/selection/switcher/use-switcher-panel.d.ts +24 -0
  317. package/dist/lib/components/ui/selection/switcher/use-switcher.d.ts +326 -0
  318. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-frame.d.ts +19 -0
  319. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-item-row.d.ts +2 -3
  320. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-listbox.d.ts +5 -0
  321. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-row-parts.d.ts +16 -0
  322. package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-row-props.d.ts +283 -0
  323. package/dist/lib/components/ui/selection/transfer-list/transfer-list.keyboard.d.ts +3 -2
  324. package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-actions.d.ts +3 -2
  325. package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-checks.d.ts +18 -0
  326. package/dist/lib/components/ui/selection/transfer-list/use-transfer-list-derived.d.ts +14 -0
  327. package/dist/lib/components/ui/selection/transfer-list/use-transfer-list.d.ts +1 -1
  328. package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-chips.d.ts +9 -0
  329. package/dist/lib/components/ui/selection/tree-select-field/partials/tree-select-trigger-button.d.ts +15 -0
  330. package/dist/lib/components/ui/widgets/chat/chat-message.d.ts +1 -1
  331. package/dist/lib/components/ui/widgets/chat/chat-message.view.d.ts +32 -0
  332. package/dist/lib/components/ui/widgets/chat/partials/chat-composer-notices.d.ts +8 -0
  333. package/dist/lib/components/ui/widgets/chat/partials/chat-composer-surface.d.ts +11 -0
  334. package/dist/lib/components/ui/widgets/chat/partials/chat-conversation-item-skeleton.d.ts +4 -0
  335. package/dist/lib/components/ui/widgets/chat/partials/chat-conversation-item-text.d.ts +10 -0
  336. package/dist/lib/components/ui/widgets/chat/partials/chat-inbox-list.d.ts +8 -0
  337. package/dist/lib/components/ui/widgets/chat/partials/chat-inbox-thread.d.ts +11 -0
  338. package/dist/lib/components/ui/widgets/chat/partials/chat-message-action-menus.d.ts +17 -0
  339. package/dist/lib/components/ui/widgets/chat/partials/chat-message-body.d.ts +6 -0
  340. package/dist/lib/components/ui/widgets/chat/partials/chat-scroll-to-latest.d.ts +7 -0
  341. package/dist/lib/components/ui/widgets/chat/partials/chat-typing-row.d.ts +9 -0
  342. package/dist/lib/components/ui/widgets/chat/use-chat-inbox-pane.d.ts +13 -0
  343. package/dist/lib/components/ui/widgets/chat/use-chat-widget-open.d.ts +19 -0
  344. package/dist/lib/components/ui/widgets/code-editor/toolbar/code-view-tools.d.ts +10 -0
  345. package/dist/lib/components/ui/widgets/code-editor/use-monaco-options.d.ts +9 -0
  346. package/dist/lib/components/ui/widgets/editor/extensions/custom/accordion/accordion-item-actions.d.ts +7 -0
  347. package/dist/lib/components/ui/widgets/editor/extensions/custom/action-card/action-card-tile.d.ts +10 -0
  348. package/dist/lib/components/ui/widgets/editor/extensions/custom/select-card/select-card-tile.d.ts +11 -0
  349. package/dist/lib/components/ui/widgets/editor/extensions/custom/select-card/toggle-selection.d.ts +3 -0
  350. package/dist/lib/components/ui/widgets/editor/extensions/custom/shared/use-node-list.d.ts +11 -0
  351. package/dist/lib/components/ui/widgets/editor/extensions/emoji/use-emoji-groups.d.ts +13 -0
  352. package/dist/lib/components/ui/widgets/editor/presets/compact-editor-parts.d.ts +10 -0
  353. package/dist/lib/components/ui/widgets/editor/presets/document-editor-frame-parts.d.ts +19 -0
  354. package/dist/lib/components/ui/widgets/editor/presets/document-editor-layout.d.ts +5 -0
  355. package/dist/lib/components/ui/widgets/editor/presets/document-editor-overlays.d.ts +6 -0
  356. package/dist/lib/components/ui/widgets/editor/presets/document-editor-page-parts.d.ts +25 -0
  357. package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/composer-class.d.ts +8 -0
  358. package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/partials/composer-toolbar.d.ts +6 -0
  359. package/dist/lib/components/ui/widgets/editor/presets/rich-chat-composer/partials/format-buttons.d.ts +8 -0
  360. package/dist/lib/components/ui/widgets/editor/presets/use-document-features.d.ts +15 -0
  361. package/dist/lib/components/ui/widgets/education/questions/partials/question-body.d.ts +5 -0
  362. package/dist/lib/components/ui/widgets/education/questions/partials/question-content.d.ts +3 -0
  363. package/dist/lib/components/ui/widgets/education/questions/partials/question-extras.d.ts +10 -0
  364. package/dist/lib/components/ui/widgets/education/questions/partials/question-outcome.d.ts +7 -0
  365. package/dist/lib/components/ui/widgets/education/questions/question-options.keyboard.d.ts +17 -0
  366. package/dist/lib/components/ui/widgets/education/questions/question.d.ts +1 -1
  367. package/dist/lib/components/ui/widgets/education/questions/types.d.ts +3 -2
  368. package/dist/lib/components/ui/widgets/education/quizzes/partials/quiz-shortcuts.d.ts +6 -0
  369. package/dist/lib/components/ui/widgets/education/quizzes/partials/results-actions.d.ts +7 -0
  370. package/dist/lib/components/ui/widgets/education/quizzes/partials/results-ring.d.ts +5 -0
  371. package/dist/lib/components/ui/widgets/education/quizzes/quiz.flow.d.ts +29 -0
  372. package/dist/lib/components/ui/widgets/education/quizzes/quiz.slice.d.ts +3 -0
  373. package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-actions.d.ts +20 -0
  374. package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-flow.d.ts +29 -0
  375. package/dist/lib/components/ui/widgets/education/quizzes/use-quiz-lifecycle.d.ts +12 -0
  376. package/dist/lib/components/ui/widgets/education/quizzes/use-quiz.d.ts +2 -1
  377. package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-step-buttons.d.ts +2 -0
  378. package/dist/lib/components/ui/widgets/event-calendar/partials/month-day-cell-class.d.ts +9 -0
  379. package/dist/lib/components/ui/widgets/event-calendar/partials/month-day-parts.d.ts +12 -0
  380. package/dist/lib/components/ui/widgets/event-calendar/use-month-day.d.ts +26 -0
  381. package/dist/lib/components/ui/widgets/kanban/kanban.drag.d.ts +15 -0
  382. package/dist/lib/components/ui/widgets/kanban/partials/kanban-card-tile.d.ts +7 -0
  383. package/dist/lib/components/ui/widgets/kanban/partials/kanban-column-cards.d.ts +8 -0
  384. package/dist/lib/components/ui/widgets/kanban/partials/kanban-drag-preview.d.ts +8 -0
  385. package/dist/lib/components/ui/widgets/kanban/partials/kanban-group-header.d.ts +8 -0
  386. package/dist/lib/components/ui/widgets/kanban/use-kanban-item-actions.d.ts +20 -0
  387. package/dist/lib/components/ui/widgets/native-charts/core/base-props-types.d.ts +64 -0
  388. package/dist/lib/components/ui/widgets/native-charts/core/reference-geometry.d.ts +62 -0
  389. package/dist/lib/components/ui/widgets/native-charts/core/reference-types.d.ts +35 -0
  390. package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +1 -56
  391. package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +2 -96
  392. package/dist/lib/components/ui/widgets/native-charts/hooks/use-model-parts.d.ts +20 -0
  393. package/dist/lib/components/ui/widgets/native-charts/hooks/use-model-shown.d.ts +23 -0
  394. package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/line-strokes.d.ts +10 -0
  395. package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/use-line-reveal.d.ts +9 -0
  396. package/dist/lib/i18n/resources/en/en.d.ts +5 -0
  397. package/dist/lib/i18n/resources/en/material.json.d.ts +6 -1
  398. package/dist/lib/i18n/resources/fr/fr.d.ts +5 -0
  399. package/dist/lib/i18n/resources/fr/material.json.d.ts +6 -1
  400. package/dist/lib/i18n/resources/resources.d.ts +10 -0
  401. package/dist/lib/i18n/translator.d.ts +1 -1
  402. package/dist/lib/map/components/partials/default-location.d.ts +2 -0
  403. package/dist/lib/map/components/partials/location-dialog.d.ts +17 -0
  404. package/dist/lib/print/components/print-document/print-document.d.ts +2 -37
  405. package/dist/lib/print/components/print-document/print-document.types.d.ts +37 -0
  406. package/dist/lib/print/components/print-document/use-print-context.d.ts +11 -0
  407. package/dist/lib.js +55 -48
  408. package/dist/main.js +43 -43
  409. package/dist/map.js +91 -74
  410. package/dist/material.css +1 -1
  411. package/dist/{nxgt-theme-ivgNca3z.js → nxgt-theme-DA1IQe0O.js} +5 -5
  412. package/dist/pdf-reader.js +1 -1
  413. package/dist/print.js +121 -107
  414. package/dist/{public-BtKAthSs.js → public-B42vT7ee.js} +362 -332
  415. package/dist/{render-json-BOhvPnSv.js → render-json-COvAkihK.js} +3 -3
  416. package/dist/{rich-code-block-BZYZ6ewr.js → rich-code-block-DIJ1X1AF.js} +5 -5
  417. package/dist/{rich-text-viewer-W15XIwah.js → rich-text-viewer-CXJp584B.js} +3 -3
  418. package/dist/{sortable-provider-hUCwt69K.js → sortable-provider-Csby6WpB.js} +2 -2
  419. package/dist/{spinner-BmUXTzvJ.js → spinner-DC35lhqx.js} +3 -1
  420. package/dist/{stored-language-_OGPBCn0.js → stored-language-BIxd7uiP.js} +8 -2
  421. package/dist/theme-picker.js +3 -3
  422. package/dist/{theme-toggle-DdvEafno.js → theme-toggle-BWdNFLvB.js} +1 -1
  423. package/dist/themes.js +1 -1
  424. package/dist/{toolbar-items-DKfY_6AG.js → toolbar-items-oqmVfnfO.js} +578 -567
  425. package/dist/{translate-material-DzBMPErh.js → translate-material-Bgtjuh85.js} +2 -2
  426. package/dist/{translator-BIVSiq4X.js → translator-BrZv1U54.js} +1 -1
  427. package/dist/{use-chat-composer-DCQW2EJ8.js → use-chat-composer-Dj0TP_B1.js} +8456 -8177
  428. package/dist/{use-heading-spy-Cr2C_Px8.js → use-heading-spy-1Dqxj_JQ.js} +1 -1
  429. package/dist/{use-material-translation-C_bAxfvp.js → use-material-translation-DLdQKdfw.js} +2 -2
  430. package/dist/use-shape-morph-BKA_R5P5.js +35 -0
  431. package/dist/{youtube-node-OWSNlYCc.js → youtube-node-A3NPAPgK.js} +27 -27
  432. package/docs/components/feedback-and-status.md +8 -2
  433. package/docs/components/navigation-and-layout.md +47 -0
  434. package/docs/components/rich-widgets.md +3 -3
  435. package/docs/guides/data-grid.md +11 -1
  436. package/docs/previews/navigation-layout-stickyactionbar.webp +0 -0
  437. package/docs/roadmap.md +9 -1
  438. package/package.json +1 -1
  439. package/dist/empty-state-C5wfbbW9.js +0 -117
  440. package/dist/use-shape-morph-DXdy2X5g.js +0 -35
@@ -1,14 +1,14 @@
1
1
  import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
2
2
  import { t } from "./utils-BLfntITJ.js";
3
- import { t as n } from "./is-production-GLw59WU8.js";
4
- import { a as r } from "./dist-lmHmz_bu.js";
5
- import { c as i, d as a, f as o, n as s, t as c } from "./dropdown-menu-C8PBmMIa.js";
6
- import { a as l, i as u, n as d } from "./field-blur-context-DxdIuHAY.js";
7
- import { a as f, d as p, r as m, t as h, u as g } from "./toolbar-items-DKfY_6AG.js";
8
- import { t as _ } from "./use-material-translation-C_bAxfvp.js";
9
- import { i as v, n as y, o as b, t as x } from "./code-language-items-nP-pF7yH.js";
3
+ import { a as n } from "./dist-lmHmz_bu.js";
4
+ import { c as r, d as i, f as a, n as o, t as s } from "./dropdown-menu-Jp6pHNgP.js";
5
+ import { a as c, i as l, n as u } from "./field-blur-context-CmOF0FIN.js";
6
+ import { a as d, d as f, r as p, t as m, u as h } from "./toolbar-items-oqmVfnfO.js";
7
+ import { t as g } from "./is-production-GLw59WU8.js";
8
+ import { t as _ } from "./use-material-translation-DLdQKdfw.js";
9
+ import { i as v, n as y, o as b, t as x } from "./code-language-items-Clbln9C6.js";
10
10
  import { t as S } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
11
- import { n as C, t as w } from "./escape-owner-CYnfySUl.js";
11
+ import { n as C, t as w } from "./escape-owner-Ch_-kDLw.js";
12
12
  import { t as T } from "./skeleton-DSdtr2qc.js";
13
13
  import { t as E } from "./react-node-text-Crkpfpco.js";
14
14
  import D, { memo as O, useCallback as ee, useEffect as k, useId as A, useImperativeHandle as j, useMemo as M, useRef as N, useState as P } from "react";
@@ -652,55 +652,8 @@ function Mt() {
652
652
  }, []), e;
653
653
  }
654
654
  //#endregion
655
- //#region lib/components/ui/widgets/code-editor/code-editor-options.ts
656
- var Nt = {
657
- minimap: { enabled: !1 },
658
- overviewRulerLanes: 0,
659
- overviewRulerBorder: !1,
660
- hideCursorInOverviewRuler: !0,
661
- bracketPairColorization: { enabled: !0 },
662
- renderLineHighlight: "all",
663
- matchBrackets: "always",
664
- occurrencesHighlight: "singleFile",
665
- selectionHighlight: !0,
666
- cursorBlinking: "blink",
667
- scrollBeyondLastLine: !1,
668
- automaticLayout: !0,
669
- fontFamily: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
670
- fontSize: 13,
671
- lineHeight: 20,
672
- fixedOverflowWidgets: !0
673
- }, Pt = {
674
- renderLineHighlight: "none",
675
- matchBrackets: "never",
676
- occurrencesHighlight: "off",
677
- selectionHighlight: !1,
678
- cursorBlinking: "solid"
679
- };
680
- function Ft({ disabled: e, readOnly: t, lineNumbers: n = !0, minimap: r = !1, tabSize: i = 2, fontSize: a = 13, required: o, wordWrap: s, label: c, overflowWidgetsDomNode: l }) {
681
- return {
682
- ...Nt,
683
- overflowWidgetsDomNode: l,
684
- ...t && Pt,
685
- readOnly: e || t,
686
- domReadOnly: e || t,
687
- ariaRequired: o,
688
- ariaLabel: c || void 0,
689
- lineNumbers: n ? "on" : "off",
690
- minimap: { enabled: r },
691
- tabSize: i,
692
- fontSize: a,
693
- lineHeight: Math.round(20 / 13 * a),
694
- wordWrap: s ? "on" : "off",
695
- padding: {
696
- top: 8,
697
- bottom: 8
698
- }
699
- };
700
- }
701
- //#endregion
702
655
  //#region lib/components/ui/widgets/code-editor/theme/token-rules.ts
703
- var It = [
656
+ var Nt = [
704
657
  "comment",
705
658
  "keyword",
706
659
  "string",
@@ -714,7 +667,7 @@ var It = [
714
667
  "attribute",
715
668
  "regexp",
716
669
  "invalid"
717
- ], Lt = [
670
+ ], Pt = [
718
671
  ["comment", "comment"],
719
672
  ["keyword", "keyword"],
720
673
  ["string", "string"],
@@ -737,7 +690,7 @@ var It = [
737
690
  ["key", "attribute"],
738
691
  ["regexp", "regexp"],
739
692
  ["invalid", "invalid"]
740
- ], Rt = [
693
+ ], Ft = [
741
694
  ["namespace", "type"],
742
695
  ["class", "type"],
743
696
  ["enum", "type"],
@@ -753,76 +706,140 @@ var It = [
753
706
  ["macro", "function"],
754
707
  ["decorator", "function"],
755
708
  ["modifier", "keyword"]
756
- ], zt = [...Lt, ...Rt], Bt = Object.fromEntries(It.map((e, t) => [e, (1056816 + (t + 1) * 65793).toString(16)])), Vt = "0f0f0f", Ht = "fefefe";
757
- function Ut() {
709
+ ], It = [...Pt, ...Ft], Lt = Object.fromEntries(Nt.map((e, t) => [e, (1056816 + (t + 1) * 65793).toString(16)])), Rt = "0f0f0f", zt = "fefefe";
710
+ function Bt() {
758
711
  return [{
759
712
  token: "",
760
- foreground: Vt,
761
- background: Ht
762
- }, ...zt.map(([e, t]) => ({
713
+ foreground: Rt,
714
+ background: zt
715
+ }, ...It.map(([e, t]) => ({
763
716
  token: e,
764
- foreground: Bt[t],
717
+ foreground: Lt[t],
765
718
  ...t === "comment" ? { fontStyle: "italic" } : {}
766
719
  }))];
767
720
  }
768
721
  //#endregion
769
722
  //#region lib/components/ui/widgets/code-editor/theme/structural-theme.ts
770
- var Wt = "nxgt-structural", Gt = /* @__PURE__ */ new WeakSet();
771
- function Kt(e) {
772
- Gt.has(e) || (e.editor.defineTheme(Wt, {
723
+ var Vt = "nxgt-structural", Ht = /* @__PURE__ */ new WeakSet();
724
+ function Ut(e) {
725
+ Ht.has(e) || (e.editor.defineTheme(Vt, {
773
726
  base: "vs",
774
727
  inherit: !1,
775
- rules: Ut(),
728
+ rules: Bt(),
776
729
  colors: {
777
- "editor.background": `#${Ht}`,
778
- "editor.foreground": `#${Vt}`
730
+ "editor.background": `#${zt}`,
731
+ "editor.foreground": `#${Rt}`
779
732
  }
780
- }), Gt.add(e));
733
+ }), Ht.add(e));
781
734
  }
782
- function qt(e) {
783
- Kt(e), e.editor.setTheme(Wt);
735
+ function Wt(e) {
736
+ Ut(e), e.editor.setTheme(Vt);
784
737
  }
785
738
  //#endregion
786
- //#region lib/components/ui/widgets/code-editor/code-editor-monaco.tsx
787
- function Jt({ language: e, height: t, value: n, defaultValue: r, onChange: i, onBlur: a, disabled: o, required: s, wordWrap: c, labelText: l, overflowWidgetsDomNode: u, onInstance: d, path: f, panel: p, ...m }) {
788
- let h = Mt(), g = N(a);
789
- g.current = a;
790
- let _ = M(() => Ft({
791
- disabled: o,
792
- required: s,
793
- wordWrap: c,
794
- readOnly: m.readOnly,
795
- lineNumbers: m.lineNumbers,
796
- minimap: m.minimap,
797
- tabSize: m.tabSize,
798
- fontSize: m.fontSize,
739
+ //#region lib/components/ui/widgets/code-editor/code-editor-options.ts
740
+ var Gt = {
741
+ minimap: { enabled: !1 },
742
+ overviewRulerLanes: 0,
743
+ overviewRulerBorder: !1,
744
+ hideCursorInOverviewRuler: !0,
745
+ bracketPairColorization: { enabled: !0 },
746
+ renderLineHighlight: "all",
747
+ matchBrackets: "always",
748
+ occurrencesHighlight: "singleFile",
749
+ selectionHighlight: !0,
750
+ cursorBlinking: "blink",
751
+ scrollBeyondLastLine: !1,
752
+ automaticLayout: !0,
753
+ fontFamily: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
754
+ fontSize: 13,
755
+ lineHeight: 20,
756
+ fixedOverflowWidgets: !0
757
+ }, Kt = {
758
+ renderLineHighlight: "none",
759
+ matchBrackets: "never",
760
+ occurrencesHighlight: "off",
761
+ selectionHighlight: !1,
762
+ cursorBlinking: "solid"
763
+ };
764
+ function qt({ disabled: e, readOnly: t, lineNumbers: n = !0, minimap: r = !1, tabSize: i = 2, fontSize: a = 13, required: o, wordWrap: s, label: c, overflowWidgetsDomNode: l }) {
765
+ return {
766
+ ...Gt,
767
+ overflowWidgetsDomNode: l,
768
+ ...t && Kt,
769
+ readOnly: e || t,
770
+ domReadOnly: e || t,
771
+ ariaRequired: o,
772
+ ariaLabel: c || void 0,
773
+ lineNumbers: n ? "on" : "off",
774
+ minimap: { enabled: r },
775
+ tabSize: i,
776
+ fontSize: a,
777
+ lineHeight: Math.round(20 / 13 * a),
778
+ wordWrap: s ? "on" : "off",
779
+ padding: {
780
+ top: 8,
781
+ bottom: 8
782
+ }
783
+ };
784
+ }
785
+ //#endregion
786
+ //#region lib/components/ui/widgets/code-editor/use-monaco-options.ts
787
+ function Jt(e) {
788
+ let { disabled: t, required: n, wordWrap: r, readOnly: i, lineNumbers: a, minimap: o, tabSize: s, fontSize: c, label: l, overflowWidgetsDomNode: u } = e;
789
+ return M(() => qt({
790
+ disabled: t,
791
+ required: n,
792
+ wordWrap: r,
793
+ readOnly: i,
794
+ lineNumbers: a,
795
+ minimap: o,
796
+ tabSize: s,
797
+ fontSize: c,
799
798
  label: l,
800
799
  overflowWidgetsDomNode: u
801
800
  }), [
801
+ t,
802
+ n,
803
+ r,
804
+ i,
805
+ a,
802
806
  o,
803
807
  s,
804
808
  c,
805
- m.readOnly,
806
- m.lineNumbers,
807
- m.minimap,
808
- m.tabSize,
809
- m.fontSize,
810
809
  l,
811
810
  u
812
- ]), [v, y] = P(), b = m.tabSize ?? 2;
813
- return k(() => {
814
- if (!v) return;
815
- let e = () => v.getModel()?.updateOptions({
816
- tabSize: b,
817
- indentSize: b
811
+ ]);
812
+ }
813
+ function Yt(e, t) {
814
+ let n = t ?? 2;
815
+ k(() => {
816
+ if (!e) return;
817
+ let t = () => e.getModel()?.updateOptions({
818
+ tabSize: n,
819
+ indentSize: n
818
820
  });
819
- e();
820
- let t = v.onDidChangeModel(e);
821
- return () => t.dispose();
822
- }, [v, b]), h ? /* @__PURE__ */ F(jt, { height: t }) : /* @__PURE__ */ F(At, {
821
+ t();
822
+ let r = e.onDidChangeModel(t);
823
+ return () => r.dispose();
824
+ }, [e, n]);
825
+ }
826
+ //#endregion
827
+ //#region lib/components/ui/widgets/code-editor/code-editor-monaco.tsx
828
+ function Xt({ language: e, height: t, value: n, defaultValue: r, onChange: i, onBlur: a, disabled: o, required: s, wordWrap: c, labelText: l, overflowWidgetsDomNode: u, onInstance: d, path: f, panel: p, ...m }) {
829
+ let h = Mt(), g = N(a);
830
+ g.current = a;
831
+ let _ = Jt({
832
+ disabled: o,
833
+ required: s,
834
+ wordWrap: c,
835
+ label: l,
836
+ overflowWidgetsDomNode: u,
837
+ ...m
838
+ }), [v, y] = P();
839
+ return Yt(v, m.tabSize), h ? /* @__PURE__ */ F(jt, { height: t }) : /* @__PURE__ */ F(At, {
823
840
  language: e,
824
841
  height: t,
825
- theme: Wt,
842
+ theme: Vt,
826
843
  path: f,
827
844
  value: n,
828
845
  defaultValue: r,
@@ -832,9 +849,9 @@ function Jt({ language: e, height: t, value: n, defaultValue: r, onChange: i, on
832
849
  role: "tabpanel",
833
850
  "aria-labelledby": p.labelledBy
834
851
  },
835
- beforeMount: Kt,
852
+ beforeMount: Ut,
836
853
  onMount: (e, t) => {
837
- qt(t), e.onDidBlurEditorWidget(() => g.current?.()), y(e), d({
854
+ Wt(t), e.onDidBlurEditorWidget(() => g.current?.()), y(e), d({
838
855
  editor: e,
839
856
  monaco: t
840
857
  });
@@ -848,10 +865,10 @@ function Jt({ language: e, height: t, value: n, defaultValue: r, onChange: i, on
848
865
  }
849
866
  //#endregion
850
867
  //#region lib/components/ui/widgets/code-editor/code-editor-body.tsx
851
- function Yt({ props: e, code: t, view: n, language: r, wordWrap: i, readOnly: a, withTabs: o, overflow: s, fullscreen: c }) {
868
+ function Zt({ props: e, code: t, view: n, language: r, wordWrap: i, readOnly: a, withTabs: o, overflow: s, fullscreen: c }) {
852
869
  return /* @__PURE__ */ F("div", {
853
870
  className: "nxgt-code-body",
854
- children: /* @__PURE__ */ F(Jt, {
871
+ children: /* @__PURE__ */ F(Xt, {
855
872
  language: r,
856
873
  height: c ? "100%" : e.height ?? 300,
857
874
  path: t.path,
@@ -876,18 +893,18 @@ function Yt({ props: e, code: t, view: n, language: r, wordWrap: i, readOnly: a,
876
893
  }
877
894
  //#endregion
878
895
  //#region lib/components/ui/widgets/code-editor/code-editor-field.tsx
879
- function Xt({ label: e, required: n, helperText: r, invalid: i, className: a, children: o }) {
896
+ function Qt({ label: e, required: n, helperText: r, invalid: i, className: a, children: o }) {
880
897
  return /* @__PURE__ */ I("div", {
881
- ref: d(),
898
+ ref: u(),
882
899
  "data-slot": "code-editor",
883
900
  className: t("grid w-full min-w-0 max-w-full gap-1.5", a),
884
901
  children: [
885
- /* @__PURE__ */ F(u, {
902
+ /* @__PURE__ */ F(l, {
886
903
  withAsterisk: n,
887
904
  children: e
888
905
  }),
889
906
  o,
890
- r && /* @__PURE__ */ F(l, {
907
+ r && /* @__PURE__ */ F(c, {
891
908
  error: i,
892
909
  children: r
893
910
  })
@@ -896,28 +913,28 @@ function Xt({ label: e, required: n, helperText: r, invalid: i, className: a, ch
896
913
  }
897
914
  //#endregion
898
915
  //#region lib/components/ui/widgets/code-editor/fullscreen/fullscreen-scrim.tsx
899
- var Zt = "code-editor-scrim";
900
- function Qt({ onClose: e }) {
916
+ var $t = "code-editor-scrim";
917
+ function en({ onClose: e }) {
901
918
  return /* @__PURE__ */ F("div", {
902
919
  "aria-hidden": !0,
903
- "data-slot": Zt,
920
+ "data-slot": $t,
904
921
  className: "nxgt-scrim fixed inset-0 z-50",
905
922
  onClick: e
906
923
  });
907
924
  }
908
925
  //#endregion
909
926
  //#region lib/components/ui/widgets/code-editor/fullscreen/page-scroll-lock.ts
910
- var $t = 0, en = "";
911
- function tn(e = document.documentElement) {
912
- $t++ === 0 && (en = e.style.getPropertyValue("overflow"), e.style.setProperty("overflow", "hidden"));
927
+ var tn = 0, nn = "";
928
+ function rn(e = document.documentElement) {
929
+ tn++ === 0 && (nn = e.style.getPropertyValue("overflow"), e.style.setProperty("overflow", "hidden"));
913
930
  let t = !1;
914
931
  return () => {
915
- t || (t = !0, !(--$t > 0) && (en ? e.style.setProperty("overflow", en) : e.style.removeProperty("overflow")));
932
+ t || (t = !0, !(--tn > 0) && (nn ? e.style.setProperty("overflow", nn) : e.style.removeProperty("overflow")));
916
933
  };
917
934
  }
918
935
  //#endregion
919
936
  //#region lib/components/ui/widgets/code-editor/fullscreen/use-code-fullscreen.ts
920
- var nn = [
937
+ var an = [
921
938
  "button:not(:disabled)",
922
939
  "[href]",
923
940
  "input:not(:disabled)",
@@ -927,17 +944,17 @@ var nn = [
927
944
  "[contenteditable=\"true\"]",
928
945
  "[tabindex]:not([tabindex=\"-1\"])"
929
946
  ].join(", ");
930
- function rn(e, t) {
931
- let n = [...t.querySelectorAll(nn)].filter((e) => e.getClientRects().length > 0);
947
+ function on(e, t) {
948
+ let n = [...t.querySelectorAll(an)].filter((e) => e.getClientRects().length > 0);
932
949
  if (!n.length) return;
933
950
  let r = n[0], i = n[n.length - 1], a = document.activeElement;
934
951
  e.shiftKey && (a === r || a === t) ? (e.preventDefault(), i.focus()) : !e.shiftKey && a === i && (e.preventDefault(), r.focus());
935
952
  }
936
- function an(e, t, n) {
937
- let [i, a] = r({
938
- prop: n?.fullscreen,
953
+ function sn(e, t, r) {
954
+ let [i, a] = n({
955
+ prop: r?.fullscreen,
939
956
  defaultProp: !1,
940
- onChange: n?.onFullscreenChange
957
+ onChange: r?.onFullscreenChange
941
958
  });
942
959
  k(() => {
943
960
  let n = e.current;
@@ -946,7 +963,7 @@ function an(e, t, n) {
946
963
  n.contains(r) || n.focus();
947
964
  let a = t?.parentElement;
948
965
  t && n.appendChild(t);
949
- let o = tn(), s = n.parentElement?.querySelector(`:scope > [data-slot="${Zt}"]`), c = fe(n, [s]);
966
+ let o = rn(), s = n.parentElement?.querySelector(`:scope > [data-slot="${$t}"]`), c = fe(n, [s]);
950
967
  return () => {
951
968
  c(), t && a && n.isConnected && a.appendChild(t), o();
952
969
  let e = document.activeElement;
@@ -959,7 +976,7 @@ function an(e, t, n) {
959
976
  ]);
960
977
  let o = (t) => {
961
978
  let n = e.current, r = t.nativeEvent.defaultPrevented && !C(t.nativeEvent);
962
- !i || !n || r || n.contains(t.target) && (t.key === "Escape" ? (t.preventDefault(), a(!1)) : t.key === "Tab" && rn(t, n));
979
+ !i || !n || r || n.contains(t.target) && (t.key === "Escape" ? (t.preventDefault(), a(!1)) : t.key === "Tab" && on(t, n));
963
980
  };
964
981
  return {
965
982
  fullscreen: i,
@@ -979,7 +996,7 @@ function an(e, t, n) {
979
996
  }
980
997
  //#endregion
981
998
  //#region lib/components/ui/widgets/code-editor/status/code-editor-status.tsx
982
- function on({ language: e, position: t, markers: n, onReveal: r, readOnly: i }) {
999
+ function cn({ language: e, position: t, markers: n, onReveal: r, readOnly: i }) {
983
1000
  let { t: a } = _(), o = n.filter((e) => e.severity === "error").length, s = n.filter((e) => e.severity === "warning").length, c = n.find((e) => e.severity !== "info"), l = o ? a("material.code.errors", "{count, plural, one {# error} other {# errors}}", { count: o }) : a("material.code.warnings", "{count, plural, one {# warning} other {# warnings}}", { count: s });
984
1001
  return /* @__PURE__ */ I("div", {
985
1002
  "data-slot": "code-editor-status",
@@ -1018,13 +1035,13 @@ function on({ language: e, position: t, markers: n, onReveal: r, readOnly: i })
1018
1035
  }
1019
1036
  //#endregion
1020
1037
  //#region lib/components/ui/widgets/code-editor/tabs/code-file-tabs.tsx
1021
- var sn = (e, t) => `${e}-tab-${t}`, cn = (e) => `${e}-panel`, ln = {
1038
+ var ln = (e, t) => `${e}-tab-${t}`, un = (e) => `${e}-panel`, dn = {
1022
1039
  ArrowRight: (e, t) => (e + 1) % t,
1023
1040
  ArrowLeft: (e, t) => (e - 1 + t) % t,
1024
1041
  Home: () => 0,
1025
1042
  End: (e, t) => t - 1
1026
1043
  };
1027
- function un({ files: e, activePath: t, onActivePathChange: n, baseId: r }) {
1044
+ function fn({ files: e, activePath: t, onActivePathChange: n, baseId: r }) {
1028
1045
  let { t: i } = _(), a = N(null);
1029
1046
  return /* @__PURE__ */ F("div", {
1030
1047
  ref: a,
@@ -1032,7 +1049,7 @@ function un({ files: e, activePath: t, onActivePathChange: n, baseId: r }) {
1032
1049
  "aria-label": i("material.code.files", "Files"),
1033
1050
  className: "nxgt-code-tabs",
1034
1051
  onKeyDown: (r) => {
1035
- let i = ln[r.key];
1052
+ let i = dn[r.key];
1036
1053
  if (!i) return;
1037
1054
  r.preventDefault();
1038
1055
  let o = e.findIndex((e) => e.path === t), s = e[i(Math.max(o, 0), e.length)];
@@ -1041,12 +1058,12 @@ function un({ files: e, activePath: t, onActivePathChange: n, baseId: r }) {
1041
1058
  children: e.map((e, a) => {
1042
1059
  let o = e.path === t;
1043
1060
  return /* @__PURE__ */ I("button", {
1044
- id: sn(r, a),
1061
+ id: ln(r, a),
1045
1062
  type: "button",
1046
1063
  role: "tab",
1047
1064
  "data-path": e.path,
1048
1065
  "aria-selected": o,
1049
- "aria-controls": o ? cn(r) : void 0,
1066
+ "aria-controls": o ? un(r) : void 0,
1050
1067
  tabIndex: o ? 0 : -1,
1051
1068
  className: "nxgt-code-tab",
1052
1069
  title: e.path,
@@ -1067,14 +1084,14 @@ function un({ files: e, activePath: t, onActivePathChange: n, baseId: r }) {
1067
1084
  }
1068
1085
  //#endregion
1069
1086
  //#region lib/components/ui/widgets/code-editor/tabs/use-code-files.ts
1070
- function dn(e, t, n) {
1087
+ function pn(e, t, n) {
1071
1088
  return new Set(n.map((n) => e.parse(t + n.path).toString()));
1072
1089
  }
1073
- function fn(e, t) {
1090
+ function mn(e, t) {
1074
1091
  let { files: n, onFileChange: r, onChange: i } = e, a = A().replace(/[^a-zA-Z0-9]/g, "").toLowerCase(), o = `inmemory://nxgt-${a}/`, s = n?.length ? n.find((t) => t.path === e.activePath) ?? n[0] : void 0;
1075
1092
  if (k(() => {
1076
1093
  if (!t) return;
1077
- let e = dn(t.Uri, o, n ?? []);
1094
+ let e = pn(t.Uri, o, n ?? []);
1078
1095
  for (let n of t.editor.getModels()) {
1079
1096
  let t = n.uri.toString();
1080
1097
  t.startsWith(o) && !e.has(t) && !n.isAttachedToEditor() && n.dispose();
@@ -1102,8 +1119,8 @@ function fn(e, t) {
1102
1119
  baseId: a
1103
1120
  },
1104
1121
  panel: {
1105
- id: cn(a),
1106
- labelledBy: sn(a, n.indexOf(s))
1122
+ id: un(a),
1123
+ labelledBy: ln(a, n.indexOf(s))
1107
1124
  },
1108
1125
  path: o + s.path,
1109
1126
  value: s.value,
@@ -1114,9 +1131,9 @@ function fn(e, t) {
1114
1131
  }
1115
1132
  //#endregion
1116
1133
  //#region lib/components/ui/widgets/code-editor/theme/color.ts
1117
- var pn = /^#?([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i;
1118
- function mn(e) {
1119
- let t = pn.exec(e.trim());
1134
+ var hn = /^#?([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i;
1135
+ function gn(e) {
1136
+ let t = hn.exec(e.trim());
1120
1137
  if (!t) return;
1121
1138
  let n = t[1];
1122
1139
  n.length <= 4 && (n = [...n].map((e) => e + e).join(""));
@@ -1132,8 +1149,8 @@ function X([e, t, n, r]) {
1132
1149
  let i = (e) => Math.round(Math.min(1, Math.max(0, e)) * 255).toString(16).padStart(2, "0");
1133
1150
  return `#${i(e)}${i(t)}${i(n)}${r < 1 ? i(r) : ""}`;
1134
1151
  }
1135
- var Z = (e) => e <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4, hn = (e) => e <= .0031308 ? e * 12.92 : 1.055 * e ** (1 / 2.4) - .055;
1136
- function gn([e, t, n]) {
1152
+ var Z = (e) => e <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4, _n = (e) => e <= .0031308 ? e * 12.92 : 1.055 * e ** (1 / 2.4) - .055;
1153
+ function vn([e, t, n]) {
1137
1154
  let [r, i, a] = [
1138
1155
  Z(e),
1139
1156
  Z(t),
@@ -1145,54 +1162,54 @@ function gn([e, t, n]) {
1145
1162
  .0259040371 * o + .7827717662 * s - .808675766 * c
1146
1163
  ];
1147
1164
  }
1148
- function _n([e, t, n], r) {
1165
+ function yn([e, t, n], r) {
1149
1166
  let i = (e + .3963377774 * t + .2158037573 * n) ** 3, a = (e - .1055613458 * t - .0638541728 * n) ** 3, o = (e - .0894841775 * t - 1.291485548 * n) ** 3;
1150
1167
  return [
1151
- hn(4.0767416621 * i - 3.3077115913 * a + .2309699292 * o),
1152
- hn(-1.2684380046 * i + 2.6097574011 * a - .3413193965 * o),
1153
- hn(-.0041960863 * i - .7034186147 * a + 1.707614701 * o),
1168
+ _n(4.0767416621 * i - 3.3077115913 * a + .2309699292 * o),
1169
+ _n(-1.2684380046 * i + 2.6097574011 * a - .3413193965 * o),
1170
+ _n(-.0041960863 * i - .7034186147 * a + 1.707614701 * o),
1154
1171
  r
1155
1172
  ];
1156
1173
  }
1157
1174
  function Q(e, t, n) {
1158
- let [r, i] = [gn(e), gn(t)];
1159
- return _n([
1175
+ let [r, i] = [vn(e), vn(t)];
1176
+ return yn([
1160
1177
  0,
1161
1178
  1,
1162
1179
  2
1163
1180
  ].map((e) => r[e] * n + i[e] * (1 - n)), 1);
1164
1181
  }
1165
- function vn(e, t) {
1182
+ function bn(e, t) {
1166
1183
  return [
1167
1184
  0,
1168
1185
  1,
1169
1186
  2
1170
1187
  ].map((n) => e[n] * e[3] + t[n] * (1 - e[3])).concat(1);
1171
1188
  }
1172
- function yn([e, t, n]) {
1189
+ function xn([e, t, n]) {
1173
1190
  return .2126 * Z(e) + .7152 * Z(t) + .0722 * Z(n);
1174
1191
  }
1175
- function bn(e, t) {
1176
- let [n, r] = [yn(e), yn(t)].sort((e, t) => t - e);
1192
+ function Sn(e, t) {
1193
+ let [n, r] = [xn(e), xn(t)].sort((e, t) => t - e);
1177
1194
  return (n + .05) / (r + .05);
1178
1195
  }
1179
1196
  //#endregion
1180
1197
  //#region lib/components/ui/widgets/code-editor/theme/check-contrast.ts
1181
- var xn = [
1182
- ...It,
1198
+ var Cn = [
1199
+ ...Nt,
1183
1200
  "fg",
1184
1201
  "gutter",
1185
1202
  "error"
1186
1203
  ];
1187
- function Sn(e, t) {
1188
- let n = (t) => mn(e[`--code-${t}`]), r = n("bg"), i = {
1204
+ function wn(e, t) {
1205
+ let n = (t) => gn(e[`--code-${t}`]), r = n("bg"), i = {
1189
1206
  background: r,
1190
- line: vn(n("line"), r)
1207
+ line: bn(n("line"), r)
1191
1208
  }, a = [];
1192
- for (let e of xn) {
1193
- let o = vn(n(e), r);
1209
+ for (let e of Cn) {
1210
+ let o = bn(n(e), r);
1194
1211
  for (let [n, r] of Object.entries(i)) {
1195
- let i = bn(o, r);
1212
+ let i = Sn(o, r);
1196
1213
  i < 4.5 && a.push({
1197
1214
  scheme: t,
1198
1215
  token: e,
@@ -1205,23 +1222,23 @@ function Sn(e, t) {
1205
1222
  }
1206
1223
  //#endregion
1207
1224
  //#region lib/components/ui/widgets/code-editor/theme/derive-variables.ts
1208
- var Cn = {
1225
+ var Tn = {
1209
1226
  light: "#b3261e",
1210
1227
  dark: "#ffb4ab"
1211
1228
  };
1212
1229
  function $(e, t) {
1213
- let n = e[t], r = n === void 0 ? void 0 : mn(n);
1230
+ let n = e[t], r = n === void 0 ? void 0 : gn(n);
1214
1231
  if (!r) throw TypeError(`defineCodeTheme: "${String(t)}" must be a hex colour (#rgb or #rrggbb), got ${JSON.stringify(n)}`);
1215
1232
  return r;
1216
1233
  }
1217
- var wn = (e, t) => X([
1234
+ var En = (e, t) => X([
1218
1235
  e[0],
1219
1236
  e[1],
1220
1237
  e[2],
1221
1238
  t
1222
1239
  ]);
1223
- function Tn(e, t) {
1224
- let n = (t, n) => e[t] === void 0 ? n() : $(e, t), r = $(e, "background"), i = $(e, "foreground"), a = $(e, "keyword"), o = $(e, "function"), s = $(e, "variable"), c = $(e, "comment"), l = n("error", () => mn(Cn[t])), u = {
1240
+ function Dn(e, t) {
1241
+ let n = (t, n) => e[t] === void 0 ? n() : $(e, t), r = $(e, "background"), i = $(e, "foreground"), a = $(e, "keyword"), o = $(e, "function"), s = $(e, "variable"), c = $(e, "comment"), l = n("error", () => gn(Tn[t])), u = {
1225
1242
  comment: c,
1226
1243
  keyword: a,
1227
1244
  string: $(e, "string"),
@@ -1249,35 +1266,35 @@ function Tn(e, t) {
1249
1266
  "--code-widget-border": X(Q(i, r, .16)),
1250
1267
  "--code-chrome": X(Q(a, r, .1)),
1251
1268
  "--code-error": X(l),
1252
- "--code-inserted": wn(u.string, .18),
1253
- "--code-removed": wn(l, .18)
1269
+ "--code-inserted": En(u.string, .18),
1270
+ "--code-removed": En(l, .18)
1254
1271
  };
1255
1272
  for (let [e, t] of Object.entries(u)) d[`--code-${e}`] = X(t);
1256
1273
  return d;
1257
1274
  }
1258
1275
  //#endregion
1259
1276
  //#region lib/components/ui/widgets/code-editor/theme/define-code-theme.ts
1260
- function En(e) {
1261
- let t = Tn(e.light, "light"), r = Tn(e.dark, "dark"), i = [...Sn(t, "light"), ...Sn(r, "dark")];
1262
- return i.length > 0 && !n() && console.warn(`defineCodeTheme: ${i.length} colour(s) under 4.5:1 — ${i.map((e) => `${e.scheme} ${e.token} on ${e.on} ${e.ratio.toFixed(2)}:1`).join(", ")}`), {
1277
+ function On(e) {
1278
+ let t = Dn(e.light, "light"), n = Dn(e.dark, "dark"), r = [...wn(t, "light"), ...wn(n, "dark")];
1279
+ return r.length > 0 && !g() && console.warn(`defineCodeTheme: ${r.length} colour(s) under 4.5:1 — ${r.map((e) => `${e.scheme} ${e.token} on ${e.on} ${e.ratio.toFixed(2)}:1`).join(", ")}`), {
1263
1280
  kind: "code-theme",
1264
1281
  light: t,
1265
- dark: r,
1266
- issues: i
1282
+ dark: n,
1283
+ issues: r
1267
1284
  };
1268
1285
  }
1269
- function Dn(e) {
1286
+ function kn(e) {
1270
1287
  return typeof e == "object" && !!e && e.kind === "code-theme";
1271
1288
  }
1272
1289
  //#endregion
1273
1290
  //#region lib/components/ui/widgets/code-editor/theme/code-theme-scope.ts
1274
- var On = [
1291
+ var An = [
1275
1292
  "app",
1276
1293
  "moonlight",
1277
1294
  "soft"
1278
1295
  ];
1279
- function kn(e, t) {
1280
- if (Dn(e)) {
1296
+ function jn(e, t) {
1297
+ if (kn(e)) {
1281
1298
  let n = {};
1282
1299
  for (let [t, r] of Object.entries(e.light)) n[t.replace("--code-", "--code-light-")] = r;
1283
1300
  for (let [t, r] of Object.entries(e.dark)) n[t.replace("--code-", "--code-dark-")] = r;
@@ -1295,24 +1312,24 @@ function kn(e, t) {
1295
1312
  dark: n === "app" && t === "dark"
1296
1313
  };
1297
1314
  }
1298
- function An(e, t, n) {
1315
+ function Mn(e, t, n) {
1299
1316
  for (let r of Object.keys(n?.variables ?? {})) (!t.variables || !(r in t.variables)) && e.style.removeProperty(r);
1300
1317
  for (let [n, r] of Object.entries(t.variables ?? {})) e.style.setProperty(n, r);
1301
1318
  }
1302
- function jn(e, t, n) {
1303
- e.dataset.codeTheme = t["data-code-theme"], t["data-code-scheme"] ? e.dataset.codeScheme = t["data-code-scheme"] : delete e.dataset.codeScheme, e.classList.toggle("dark", t.dark), An(e, t, n);
1319
+ function Nn(e, t, n) {
1320
+ e.dataset.codeTheme = t["data-code-theme"], t["data-code-scheme"] ? e.dataset.codeScheme = t["data-code-scheme"] : delete e.dataset.codeScheme, e.classList.toggle("dark", t.dark), Mn(e, t, n);
1304
1321
  }
1305
1322
  //#endregion
1306
1323
  //#region lib/components/ui/widgets/code-editor/theme/use-code-theme.ts
1307
- function Mn() {
1324
+ function Pn() {
1308
1325
  let e = document.createElement("div");
1309
1326
  return e.className = "monaco-editor nxgt-code-overflow", e.dataset.slot = "code-editor-overflow", e;
1310
1327
  }
1311
- function Nn(e, t) {
1312
- let n = M(() => kn(e, t), [e, t]), r = N(null), [i] = P(() => typeof document > "u" ? void 0 : Mn()), a = N(void 0);
1328
+ function Fn(e, t) {
1329
+ let n = M(() => jn(e, t), [e, t]), r = N(null), [i] = P(() => typeof document > "u" ? void 0 : Pn()), a = N(void 0);
1313
1330
  return S(() => {
1314
1331
  let e = r.current;
1315
- e && An(e, n, a.current), i && jn(i, n, a.current), a.current = n;
1332
+ e && Mn(e, n, a.current), i && Nn(i, n, a.current), a.current = n;
1316
1333
  }, [n, i]), S(() => {
1317
1334
  if (i) return (r.current?.parentElement?.closest("[role=\"dialog\"]") ?? document.body).appendChild(i), () => i.remove();
1318
1335
  }, [i]), {
@@ -1328,23 +1345,23 @@ function Nn(e, t) {
1328
1345
  }
1329
1346
  //#endregion
1330
1347
  //#region lib/components/ui/widgets/code-editor/tabs/code-file-picker.tsx
1331
- var Pn = (e) => e.path.split("/").pop() ?? e.path, Fn = (e) => e.label ?? Pn(e);
1332
- function In({ files: e, activePath: t, onActivePathChange: n }) {
1333
- let { t: r } = _(), l = Math.max(e.findIndex((e) => e.path === t), 0), u = e[l];
1334
- return /* @__PURE__ */ I(c, { children: [/* @__PURE__ */ F(i, {
1348
+ var In = (e) => e.path.split("/").pop() ?? e.path, Ln = (e) => e.label ?? In(e);
1349
+ function Rn({ files: e, activePath: t, onActivePathChange: n }) {
1350
+ let { t: c } = _(), l = Math.max(e.findIndex((e) => e.path === t), 0), u = e[l];
1351
+ return /* @__PURE__ */ I(s, { children: [/* @__PURE__ */ F(r, {
1335
1352
  asChild: !0,
1336
1353
  children: /* @__PURE__ */ I("button", {
1337
1354
  type: "button",
1338
1355
  className: "nxgt-code-picker",
1339
- "aria-label": r("material.code.file-of", "File: {name}, {index} of {count}", {
1340
- name: E(u.label) || Pn(u),
1356
+ "aria-label": c("material.code.file-of", "File: {name}, {index} of {count}", {
1357
+ name: E(u.label) || In(u),
1341
1358
  index: l + 1,
1342
1359
  count: e.length
1343
1360
  }),
1344
1361
  children: [
1345
1362
  /* @__PURE__ */ F("span", {
1346
1363
  className: "nxgt-code-picker-name",
1347
- children: Fn(u)
1364
+ children: Ln(u)
1348
1365
  }),
1349
1366
  u.dirty && /* @__PURE__ */ F("i", {
1350
1367
  className: "nxgt-code-dirty",
@@ -1362,20 +1379,20 @@ function In({ files: e, activePath: t, onActivePathChange: n }) {
1362
1379
  /* @__PURE__ */ F(R, { "aria-hidden": !0 })
1363
1380
  ]
1364
1381
  })
1365
- }), /* @__PURE__ */ F(s, {
1382
+ }), /* @__PURE__ */ F(o, {
1366
1383
  align: "start",
1367
1384
  className: "max-h-80",
1368
- children: /* @__PURE__ */ F(a, {
1385
+ children: /* @__PURE__ */ F(i, {
1369
1386
  value: u.path,
1370
1387
  onValueChange: n,
1371
- children: e.map((e) => /* @__PURE__ */ I(o, {
1388
+ children: e.map((e) => /* @__PURE__ */ I(a, {
1372
1389
  value: e.path,
1373
1390
  children: [/* @__PURE__ */ F("span", {
1374
1391
  className: "truncate",
1375
1392
  children: e.path
1376
1393
  }), e.dirty && /* @__PURE__ */ F("span", {
1377
1394
  className: "ms-auto text-xs opacity-80",
1378
- children: r("material.code.unsaved", "unsaved changes")
1395
+ children: c("material.code.unsaved", "unsaved changes")
1379
1396
  })]
1380
1397
  }, e.path))
1381
1398
  })
@@ -1383,9 +1400,9 @@ function In({ files: e, activePath: t, onActivePathChange: n }) {
1383
1400
  }
1384
1401
  //#endregion
1385
1402
  //#region lib/components/ui/widgets/code-editor/toolbar/code-copy-tool.tsx
1386
- function Ln({ reader: e, status: t, disabled: n, onCopy: r }) {
1403
+ function zn({ reader: e, status: t, disabled: n, onCopy: r }) {
1387
1404
  let { t: i } = _(), a = i("material.code.copy", "Copy"), o = F(t === "copied" ? L : re, {});
1388
- return e ? /* @__PURE__ */ F(f, {
1405
+ return e ? /* @__PURE__ */ F(d, {
1389
1406
  label: a,
1390
1407
  fit: !1,
1391
1408
  priority: "pinned",
@@ -1396,7 +1413,7 @@ function Ln({ reader: e, status: t, disabled: n, onCopy: r }) {
1396
1413
  onClick: r,
1397
1414
  children: [o, /* @__PURE__ */ F("span", { children: t === "copied" ? i("material.code.copied", "Copied") : a })]
1398
1415
  })
1399
- }) : /* @__PURE__ */ F(h, {
1416
+ }) : /* @__PURE__ */ F(m, {
1400
1417
  icon: o,
1401
1418
  label: a,
1402
1419
  priority: 2,
@@ -1406,15 +1423,15 @@ function Ln({ reader: e, status: t, disabled: n, onCopy: r }) {
1406
1423
  }
1407
1424
  //#endregion
1408
1425
  //#region lib/components/ui/widgets/code-editor/toolbar/code-language-menu.tsx
1409
- function Rn({ language: e, onLanguageChange: t, disabled: n }) {
1410
- let { t: r } = _(), a = v(e), o = r("material.code.language-is", "Language: {name}", { name: a }), l = /* @__PURE__ */ F(x, {
1426
+ function Bn({ language: e, onLanguageChange: t, disabled: n }) {
1427
+ let { t: i } = _(), a = v(e), c = i("material.code.language-is", "Language: {name}", { name: a }), l = /* @__PURE__ */ F(x, {
1411
1428
  language: e,
1412
1429
  onChange: t
1413
1430
  });
1414
- return /* @__PURE__ */ I(c, { children: [/* @__PURE__ */ F(i, {
1431
+ return /* @__PURE__ */ I(s, { children: [/* @__PURE__ */ F(r, {
1415
1432
  asChild: !0,
1416
- children: /* @__PURE__ */ F(f, {
1417
- label: o,
1433
+ children: /* @__PURE__ */ F(d, {
1434
+ label: c,
1418
1435
  fit: !1,
1419
1436
  priority: 9,
1420
1437
  more: {
@@ -1426,7 +1443,7 @@ function Rn({ language: e, onLanguageChange: t, disabled: n }) {
1426
1443
  type: "button",
1427
1444
  className: "nxgt-code-lang nxgt-touch-target",
1428
1445
  disabled: n,
1429
- "aria-label": o,
1446
+ "aria-label": c,
1430
1447
  children: [
1431
1448
  /* @__PURE__ */ F(ie, { "aria-hidden": !0 }),
1432
1449
  /* @__PURE__ */ F("span", { children: a }),
@@ -1437,20 +1454,51 @@ function Rn({ language: e, onLanguageChange: t, disabled: n }) {
1437
1454
  ]
1438
1455
  })
1439
1456
  })
1440
- }), /* @__PURE__ */ F(s, {
1457
+ }), /* @__PURE__ */ F(o, {
1441
1458
  align: "end",
1442
1459
  className: "max-h-80",
1443
1460
  children: l
1444
1461
  })] });
1445
1462
  }
1446
1463
  //#endregion
1464
+ //#region lib/components/ui/widgets/code-editor/toolbar/code-view-tools.tsx
1465
+ function Vn({ disabled: e, wordWrap: t, onWordWrapChange: n, fullscreen: r, onFullscreenChange: i, onFind: a }) {
1466
+ let { t: o } = _();
1467
+ return /* @__PURE__ */ I(h, {
1468
+ label: o("material.code.view", "View"),
1469
+ priority: 3,
1470
+ children: [
1471
+ /* @__PURE__ */ F(m, {
1472
+ icon: /* @__PURE__ */ F(ce, {}),
1473
+ label: o("material.code.find", "Find"),
1474
+ disabled: e,
1475
+ onClick: a
1476
+ }),
1477
+ /* @__PURE__ */ F(p, {
1478
+ icon: /* @__PURE__ */ F(de, {}),
1479
+ label: o("material.code.word-wrap", "Word wrap"),
1480
+ pressed: t,
1481
+ disabled: e,
1482
+ onPressedChange: n
1483
+ }),
1484
+ i && /* @__PURE__ */ F(p, {
1485
+ icon: F(r ? se : oe, {}),
1486
+ label: o("material.code.fullscreen", "Full screen"),
1487
+ pressed: !!r,
1488
+ disabled: e,
1489
+ onPressedChange: i
1490
+ })
1491
+ ]
1492
+ });
1493
+ }
1494
+ //#endregion
1447
1495
  //#region lib/components/ui/widgets/code-editor/toolbar/use-can-format.ts
1448
- var zn = "editor.action.formatDocument";
1449
- function Bn(e) {
1496
+ var Hn = "editor.action.formatDocument";
1497
+ function Un(e) {
1450
1498
  let [t, n] = P(!1);
1451
1499
  return k(() => {
1452
1500
  if (!e) return;
1453
- let t = () => n(!!e.getAction(zn)?.isSupported());
1501
+ let t = () => n(!!e.getAction(Hn)?.isSupported());
1454
1502
  t();
1455
1503
  let r = [
1456
1504
  e.onDidChangeModelLanguage(t),
@@ -1467,11 +1515,11 @@ function Bn(e) {
1467
1515
  }
1468
1516
  //#endregion
1469
1517
  //#region lib/components/ui/widgets/code-editor/toolbar/code-editor-toolbar.tsx
1470
- function Vn({ editor: e, language: t, onLanguageChange: n, wordWrap: r, onWordWrapChange: i, fallbackCode: a = "", readOnly: o, disabled: s, fullscreen: c, onFullscreenChange: l }) {
1471
- let { t: u } = _(), { status: d, copy: f } = b(), v = Bn(e), x = (t) => {
1518
+ function Wn({ editor: e, language: t, onLanguageChange: n, wordWrap: r, onWordWrapChange: i, fallbackCode: a = "", readOnly: o, disabled: s, fullscreen: c, onFullscreenChange: l }) {
1519
+ let { t: u } = _(), { status: d, copy: p } = b(), h = Un(e), g = (t) => {
1472
1520
  e?.focus(), e?.getAction(t)?.run();
1473
1521
  };
1474
- return /* @__PURE__ */ I(te, { children: [/* @__PURE__ */ I(p, {
1522
+ return /* @__PURE__ */ I(te, { children: [/* @__PURE__ */ I(f, {
1475
1523
  label: u("material.code.tools", "Code tools"),
1476
1524
  variant: "floating",
1477
1525
  selectedLook: "morph",
@@ -1481,49 +1529,31 @@ function Vn({ editor: e, language: t, onLanguageChange: n, wordWrap: r, onWordWr
1481
1529
  moreLabel: u("material.code.more-tools", "More code tools"),
1482
1530
  className: "nxgt-code-toolbar",
1483
1531
  children: [
1484
- n && !o && /* @__PURE__ */ F(Rn, {
1532
+ n && !o && /* @__PURE__ */ F(Bn, {
1485
1533
  disabled: s,
1486
1534
  language: t,
1487
1535
  onLanguageChange: n
1488
1536
  }),
1489
- /* @__PURE__ */ I(g, {
1490
- label: u("material.code.view", "View"),
1491
- priority: 3,
1492
- children: [
1493
- /* @__PURE__ */ F(h, {
1494
- icon: /* @__PURE__ */ F(ce, {}),
1495
- label: u("material.code.find", "Find"),
1496
- disabled: s,
1497
- onClick: () => x("actions.find")
1498
- }),
1499
- /* @__PURE__ */ F(m, {
1500
- icon: /* @__PURE__ */ F(de, {}),
1501
- label: u("material.code.word-wrap", "Word wrap"),
1502
- pressed: r,
1503
- disabled: s,
1504
- onPressedChange: i
1505
- }),
1506
- l && /* @__PURE__ */ F(m, {
1507
- icon: F(c ? se : oe, {}),
1508
- label: u("material.code.fullscreen", "Full screen"),
1509
- pressed: !!c,
1510
- disabled: s,
1511
- onPressedChange: l
1512
- })
1513
- ]
1537
+ /* @__PURE__ */ F(Vn, {
1538
+ disabled: s,
1539
+ wordWrap: r,
1540
+ onWordWrapChange: i,
1541
+ fullscreen: c,
1542
+ onFullscreenChange: l,
1543
+ onFind: () => g("actions.find")
1514
1544
  }),
1515
- v && !o && /* @__PURE__ */ F(h, {
1545
+ h && !o && /* @__PURE__ */ F(m, {
1516
1546
  icon: /* @__PURE__ */ F(ue, {}),
1517
1547
  label: u("material.code.format", "Format document"),
1518
1548
  priority: 1,
1519
1549
  disabled: s,
1520
- onClick: () => x("editor.action.formatDocument")
1550
+ onClick: () => g("editor.action.formatDocument")
1521
1551
  }),
1522
- /* @__PURE__ */ F(Ln, {
1552
+ /* @__PURE__ */ F(zn, {
1523
1553
  reader: o,
1524
1554
  status: d,
1525
1555
  disabled: s,
1526
- onCopy: () => void f(e?.getValue() ?? a)
1556
+ onCopy: () => void p(e?.getValue() ?? a)
1527
1557
  })
1528
1558
  ]
1529
1559
  }), /* @__PURE__ */ F(y, {
@@ -1531,18 +1561,18 @@ function Vn({ editor: e, language: t, onLanguageChange: n, wordWrap: r, onWordWr
1531
1561
  status: d
1532
1562
  })] });
1533
1563
  }
1534
- function Hn({ filename: e, tabs: t, ...n }) {
1564
+ function Gn({ filename: e, tabs: t, ...n }) {
1535
1565
  return /* @__PURE__ */ I("div", {
1536
1566
  className: "nxgt-code-head",
1537
- children: [t ? /* @__PURE__ */ I(te, { children: [/* @__PURE__ */ F(un, { ...t }), /* @__PURE__ */ F(In, { ...t })] }) : e && /* @__PURE__ */ F("span", {
1567
+ children: [t ? /* @__PURE__ */ I(te, { children: [/* @__PURE__ */ F(fn, { ...t }), /* @__PURE__ */ F(Rn, { ...t })] }) : e && /* @__PURE__ */ F("span", {
1538
1568
  className: "nxgt-code-filename",
1539
1569
  children: e
1540
- }), /* @__PURE__ */ F(Vn, { ...n })]
1570
+ }), /* @__PURE__ */ F(Wn, { ...n })]
1541
1571
  });
1542
1572
  }
1543
1573
  //#endregion
1544
1574
  //#region lib/components/ui/widgets/code-editor/use-code-editor-handle.ts
1545
- function Un(e, t) {
1575
+ function Kn(e, t) {
1546
1576
  j(e, () => {
1547
1577
  let e = t?.editor ?? null, n = (t, n) => {
1548
1578
  !e || !t || (e.pushUndoStop(), e.executeEdits("nxgt", [{
@@ -1566,7 +1596,7 @@ function Un(e, t) {
1566
1596
  r && n(r, t), e?.focus();
1567
1597
  },
1568
1598
  format: async () => {
1569
- await e?.getAction(zn)?.run();
1599
+ await e?.getAction(Hn)?.run();
1570
1600
  },
1571
1601
  revealLine: (t) => {
1572
1602
  e?.revealLineInCenter(t), e?.setPosition({
@@ -1580,12 +1610,12 @@ function Un(e, t) {
1580
1610
  }
1581
1611
  //#endregion
1582
1612
  //#region lib/components/ui/widgets/code-editor/status/code-markers.ts
1583
- var Wn = "nxgt", Gn = {
1613
+ var qn = "nxgt", Jn = {
1584
1614
  error: 8,
1585
1615
  warning: 4,
1586
1616
  info: 2
1587
1617
  };
1588
- function Kn(e, t) {
1618
+ function Yn(e, t) {
1589
1619
  let n = Math.min(Math.max(1, e.line), t.getLineCount()), r = Math.min(e.endLine ?? n, t.getLineCount());
1590
1620
  return {
1591
1621
  startLineNumber: n,
@@ -1593,11 +1623,11 @@ function Kn(e, t) {
1593
1623
  endLineNumber: r,
1594
1624
  endColumn: e.endColumn ?? t.getLineMaxColumn(r),
1595
1625
  message: e.message,
1596
- severity: Gn[e.severity ?? "error"],
1626
+ severity: Jn[e.severity ?? "error"],
1597
1627
  source: e.source
1598
1628
  };
1599
1629
  }
1600
- function qn(e) {
1630
+ function Xn(e) {
1601
1631
  let t = e.severity >= 8 ? "error" : e.severity >= 4 ? "warning" : e.severity >= 2 ? "info" : void 0;
1602
1632
  if (t) return {
1603
1633
  line: e.startLineNumber,
@@ -1609,17 +1639,17 @@ function qn(e) {
1609
1639
  source: e.source
1610
1640
  };
1611
1641
  }
1612
- var Jn = {
1642
+ var Zn = {
1613
1643
  error: 0,
1614
1644
  warning: 1,
1615
1645
  info: 2
1616
1646
  };
1617
- function Yn(e) {
1618
- return [...e].sort((e, t) => Jn[e.severity ?? "error"] - Jn[t.severity ?? "error"] || e.line - t.line || (e.column ?? 1) - (t.column ?? 1));
1647
+ function Qn(e) {
1648
+ return [...e].sort((e, t) => Zn[e.severity ?? "error"] - Zn[t.severity ?? "error"] || e.line - t.line || (e.column ?? 1) - (t.column ?? 1));
1619
1649
  }
1620
1650
  //#endregion
1621
1651
  //#region lib/components/ui/widgets/code-editor/status/use-code-markers.ts
1622
- function Xn(e) {
1652
+ function $n(e) {
1623
1653
  let [t, n] = P(null);
1624
1654
  return k(() => {
1625
1655
  if (!e) return;
@@ -1628,24 +1658,24 @@ function Xn(e) {
1628
1658
  return () => t.dispose();
1629
1659
  }, [e]), t;
1630
1660
  }
1631
- function Zn(e, t, n) {
1661
+ function er(e, t, n) {
1632
1662
  let [r, i] = P([]), a = N(n);
1633
1663
  a.current = n;
1634
- let o = Xn(e), s = JSON.stringify(t ?? []);
1664
+ let o = $n(e), s = JSON.stringify(t ?? []);
1635
1665
  return k(() => {
1636
1666
  if (!e || !o) return;
1637
1667
  let t = JSON.parse(s);
1638
- e.monaco.editor.setModelMarkers(o, Wn, t.map((e) => Kn(e, o)));
1668
+ e.monaco.editor.setModelMarkers(o, qn, t.map((e) => Yn(e, o)));
1639
1669
  }, [
1640
1670
  e,
1641
1671
  o,
1642
1672
  s
1643
1673
  ]), k(() => {
1644
- if (!(!e || !o)) return () => e.monaco.editor.setModelMarkers(o, Wn, []);
1674
+ if (!(!e || !o)) return () => e.monaco.editor.setModelMarkers(o, qn, []);
1645
1675
  }, [e, o]), k(() => {
1646
1676
  if (!e || !o) return;
1647
1677
  let { monaco: t } = e, n = "", r = () => {
1648
- let e = Yn(t.editor.getModelMarkers({ resource: o.uri }).map(qn).filter((e) => !!e)), r = JSON.stringify(e);
1678
+ let e = Qn(t.editor.getModelMarkers({ resource: o.uri }).map(Xn).filter((e) => !!e)), r = JSON.stringify(e);
1649
1679
  r !== n && (n = r, i(e), a.current?.(e));
1650
1680
  };
1651
1681
  r();
@@ -1655,7 +1685,7 @@ function Zn(e, t, n) {
1655
1685
  return () => s.dispose();
1656
1686
  }, [e, o]), r;
1657
1687
  }
1658
- function Qn(e, t) {
1688
+ function tr(e, t) {
1659
1689
  let n = {
1660
1690
  lineNumber: t.line,
1661
1691
  column: t.column ?? 1
@@ -1664,7 +1694,7 @@ function Qn(e, t) {
1664
1694
  }
1665
1695
  //#endregion
1666
1696
  //#region lib/components/ui/widgets/code-editor/status/use-cursor-position.ts
1667
- function $n(e) {
1697
+ function nr(e) {
1668
1698
  let [t, n] = P({
1669
1699
  line: 1,
1670
1700
  column: 1,
@@ -1696,8 +1726,8 @@ function $n(e) {
1696
1726
  }
1697
1727
  //#endregion
1698
1728
  //#region lib/components/ui/widgets/code-editor/use-code-editor-instance.ts
1699
- function er({ error: e, markers: t, onMarkersChange: n }) {
1700
- let [r, i] = P(null), a = Zn(r, t, n), o = $n(r?.editor), s = !!e || a.some((e) => e.severity === "error");
1729
+ function rr({ error: e, markers: t, onMarkersChange: n }) {
1730
+ let [r, i] = P(null), a = er(r, t, n), o = nr(r?.editor), s = !!e || a.some((e) => e.severity === "error");
1701
1731
  return k(() => {
1702
1732
  let e = r?.editor.getDomNode()?.querySelector("textarea, .native-edit-context");
1703
1733
  s ? e?.setAttribute("aria-invalid", "true") : e?.removeAttribute("aria-invalid");
@@ -1707,32 +1737,32 @@ function er({ error: e, markers: t, onMarkersChange: n }) {
1707
1737
  allMarkers: a,
1708
1738
  position: o,
1709
1739
  invalid: s,
1710
- reveal: (e) => r && Qn(r.editor, e)
1740
+ reveal: (e) => r && tr(r.editor, e)
1711
1741
  };
1712
1742
  }
1713
1743
  //#endregion
1714
1744
  //#region lib/components/ui/widgets/code-editor/use-word-wrap.ts
1715
- function tr(e, t = !1, n) {
1716
- return r({
1745
+ function ir(e, t = !1, r) {
1746
+ return n({
1717
1747
  prop: e,
1718
1748
  defaultProp: t,
1719
- onChange: n
1749
+ onChange: r
1720
1750
  });
1721
1751
  }
1722
1752
  //#endregion
1723
1753
  //#region lib/components/ui/widgets/code-editor/code-editor.tsx
1724
- var nr = /* @__PURE__ */ e({ CodeEditor: () => rr });
1725
- function rr(e) {
1726
- let { disabled: n, showChrome: r = !0 } = e, i = Nn(e.theme, e.scheme), [a, o] = tr(e.wordWrap, e.defaultWordWrap, e.onWordWrapChange), s = er(e);
1727
- Un(e.ref, s.instance);
1728
- let c = e.readOnly && !n, l = fn(e, s.instance?.monaco), u = l.language ?? "json", d = an(i.surfaceRef, i.overflow, e);
1729
- return /* @__PURE__ */ I(Xt, {
1754
+ var ar = /* @__PURE__ */ e({ CodeEditor: () => or });
1755
+ function or(e) {
1756
+ let { disabled: n, showChrome: r = !0 } = e, i = Fn(e.theme, e.scheme), [a, o] = ir(e.wordWrap, e.defaultWordWrap, e.onWordWrapChange), s = rr(e);
1757
+ Kn(e.ref, s.instance);
1758
+ let c = e.readOnly && !n, l = mn(e, s.instance?.monaco), u = l.language ?? "json", d = sn(i.surfaceRef, i.overflow, e);
1759
+ return /* @__PURE__ */ I(Qt, {
1730
1760
  label: e.label,
1731
1761
  required: e.required,
1732
1762
  helperText: e.helperText,
1733
1763
  invalid: s.invalid,
1734
1764
  className: e.className,
1735
- children: [d.fullscreen && /* @__PURE__ */ F(Qt, { onClose: () => d.setFullscreen(!1) }), /* @__PURE__ */ I("div", {
1765
+ children: [d.fullscreen && /* @__PURE__ */ F(en, { onClose: () => d.setFullscreen(!1) }), /* @__PURE__ */ I("div", {
1736
1766
  ref: i.surfaceRef,
1737
1767
  ...d.layerProps(E(e.label)),
1738
1768
  ...i.surfaceProps,
@@ -1742,7 +1772,7 @@ function rr(e) {
1742
1772
  "data-pw": e.name ? `${e.name}-code-editor` : "code-editor",
1743
1773
  className: t("nxgt-code-frame", i.surfaceClass),
1744
1774
  children: [
1745
- r && /* @__PURE__ */ F(Hn, {
1775
+ r && /* @__PURE__ */ F(Gn, {
1746
1776
  filename: e.filename,
1747
1777
  tabs: l.tabs,
1748
1778
  editor: s.instance?.editor,
@@ -1756,7 +1786,7 @@ function rr(e) {
1756
1786
  fullscreen: d.fullscreen,
1757
1787
  onFullscreenChange: d.setFullscreen
1758
1788
  }),
1759
- /* @__PURE__ */ F(Yt, {
1789
+ /* @__PURE__ */ F(Zt, {
1760
1790
  props: e,
1761
1791
  code: l,
1762
1792
  view: s,
@@ -1767,7 +1797,7 @@ function rr(e) {
1767
1797
  overflow: i.overflow,
1768
1798
  fullscreen: d.fullscreen
1769
1799
  }),
1770
- r && /* @__PURE__ */ F(on, {
1800
+ r && /* @__PURE__ */ F(cn, {
1771
1801
  language: u,
1772
1802
  position: s.position,
1773
1803
  markers: s.allMarkers,
@@ -1779,4 +1809,4 @@ function rr(e) {
1779
1809
  });
1780
1810
  }
1781
1811
  //#endregion
1782
- export { On as a, qt as c, Mt as d, jt as f, Nn as i, Kt as l, K as m, nr as n, En as o, Tt as p, Ln as r, Wt as s, rr as t, Nt as u };
1812
+ export { An as a, Vt as c, Mt as d, jt as f, Fn as i, Wt as l, K as m, ar as n, On as o, Tt as p, zn as r, Gt as s, or as t, Ut as u };