@nldd/design-system 0.26.4 → 0.27.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 (447) hide show
  1. package/custom-elements.json +428 -37
  2. package/dist/cdn/autoloader.js +141 -141
  3. package/dist/cdn/chunks/{accordion-qXirmNBj.js → accordion-DBM4AcGb.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-item-BXEHwzcv.js → accordion-item-D90CmJyl.js} +4 -4
  5. package/dist/cdn/chunks/{activity-indicator-DP61AhsJ.js → activity-indicator-B6m9h0oa.js} +5 -5
  6. package/dist/cdn/chunks/{admonition-RnRSNAri.js → admonition-B-YTkCjn.js} +4 -4
  7. package/dist/cdn/chunks/after-parse-BSKUm67Q.js +9 -0
  8. package/dist/cdn/chunks/{avatar-DsexiOhH.js → avatar-CfBP9UZZ.js} +75 -41
  9. package/dist/cdn/chunks/{avatar-group-BrfrpXvd.js → avatar-group-DW_xMwb_.js} +71 -49
  10. package/dist/cdn/chunks/{badge-BiQFOq2l.js → badge-DnAuIhp1.js} +5 -5
  11. package/dist/cdn/chunks/{banner-42zIYAEN.js → banner-CRk2ARtC.js} +7 -7
  12. package/dist/cdn/chunks/{bar-split-view-CjYEp276.js → bar-split-view-DDgOYs7Z.js} +28 -21
  13. package/dist/cdn/chunks/{blockquote-qf4hJYvm.js → blockquote-DlfhBScg.js} +3 -3
  14. package/dist/cdn/chunks/{box-CWyg7sbR.js → box-DdU13yI4.js} +3 -3
  15. package/dist/cdn/chunks/{breadcrumbs-BaHjYdz8.js → breadcrumbs-CqkR_6XN.js} +5 -5
  16. package/dist/cdn/chunks/{button-bar-DeJ81759.js → button-bar-BKkap9nk.js} +3 -3
  17. package/dist/cdn/chunks/{button-group-CuRkiHR5.js → button-group-D-YTmErV.js} +2 -2
  18. package/dist/cdn/chunks/{button-CKV-jwGY.js → button-muXGJHlo.js} +8 -8
  19. package/dist/cdn/chunks/{card-DxeUNE3V.js → card-Dvqz83fC.js} +4 -4
  20. package/dist/cdn/chunks/{cell-QaG8b-Qk.js → cell-C0O8tZbX.js} +6 -6
  21. package/dist/cdn/chunks/{checkbox-V0YerUKf.js → checkbox-CNWROiHV.js} +5 -5
  22. package/dist/cdn/chunks/{checkbox-field-DeySECgv.js → checkbox-field-DCYpRJfz.js} +7 -7
  23. package/dist/cdn/chunks/{checkbox-group-DFNy1y-A.js → checkbox-group-DxWAYp_b.js} +3 -3
  24. package/dist/cdn/chunks/{class-map-CmgI2Tu-.js → class-map-D720ceWJ.js} +1 -1
  25. package/dist/cdn/chunks/{code-editor-BBMbUJ4d.js → code-editor-DlnTXkHx.js} +5 -5
  26. package/dist/cdn/chunks/{code-viewer-B8jse0-5.js → code-viewer-DyJzo36-.js} +94 -87
  27. package/dist/cdn/chunks/{codemirror-input-BEotDTtZ.js → codemirror-input-DPSOMYZ4.js} +5 -5
  28. package/dist/cdn/chunks/{collection-DRoS7Ona.js → collection-i7H8zkQ8.js} +61 -42
  29. package/dist/cdn/chunks/{combo-box-DA1ZQJJS.js → combo-box-CpNl_us0.js} +20 -14
  30. package/dist/cdn/chunks/{container-F1i2pmko.js → container-YWW7mHNa.js} +14 -10
  31. package/dist/cdn/chunks/{custom-element-DD4ffKRs.js → custom-element-D8yf5dqU.js} +1 -1
  32. package/dist/cdn/chunks/{date-field-DVgisQnm.js → date-field-DzhUp4Rk.js} +12 -12
  33. package/dist/cdn/chunks/{date-picker-BaDTota3.js → date-picker-CGvsvK3g.js} +21 -15
  34. package/dist/cdn/chunks/{decorate-CeGXihRM.js → decorate-1aEyfetK.js} +1 -1
  35. package/dist/cdn/chunks/{described-by-mixin-qFatR9dF.js → described-by-mixin-DffYoaxu.js} +2 -2
  36. package/dist/cdn/chunks/{description-cell-D45N4P1X.js → description-cell-DEw6xc2o.js} +6 -6
  37. package/dist/cdn/chunks/{dev-checks-CkCD0tPh.js → dev-checks-CTopJcdE.js} +12 -0
  38. package/dist/cdn/chunks/{directive-helpers-B9pcQxsE.js → directive-helpers-BQml5ahH.js} +1 -1
  39. package/dist/cdn/chunks/{dist-BS_pQgb6.js → dist-B5t9fS8q.js} +2 -2
  40. package/dist/cdn/chunks/{dist-DjlGttcc.js → dist-B87Ag4L-.js} +1 -1
  41. package/dist/cdn/chunks/{dist-v62GtoI6.js → dist-BKnqQxdv.js} +1 -1
  42. package/dist/cdn/chunks/{dist-Dsyc1RGG.js → dist-BYbLHkMP.js} +1 -1
  43. package/dist/cdn/chunks/{dist-Cl-rXzh7.js → dist-C8ZY_QIK.js} +1 -1
  44. package/dist/cdn/chunks/{dist-v7yvd26H.js → dist-CIX4JLW1.js} +3 -3
  45. package/dist/cdn/chunks/{dist-DJQUgOKW.js → dist-Cr8NctvS.js} +3 -3
  46. package/dist/cdn/chunks/{dist-mxb0NzAU.js → dist-D59Ae7dj.js} +1 -1
  47. package/dist/cdn/chunks/{dist-n8aCu6Kg.js → dist-DAf6EMuK.js} +2 -2
  48. package/dist/cdn/chunks/{dist-rjQNj-KZ.js → dist-DevfJ4Mu.js} +2 -2
  49. package/dist/cdn/chunks/{dist-jTL_Kil1.js → dist-qHSPGfTO.js} +1 -1
  50. package/dist/cdn/chunks/{divider-CtMx3Byp.js → divider-44rkHLYj.js} +2 -2
  51. package/dist/cdn/chunks/{document-tab-bar-SKSf69FX.js → document-tab-bar-CcSKzhEy.js} +95 -56
  52. package/dist/cdn/chunks/{dropdown-se1zjYlw.js → dropdown-CJPjI-p1.js} +5 -5
  53. package/dist/cdn/chunks/{file-field-DW_Xt5O3.js → file-field-B4HQKpkI.js} +14 -14
  54. package/dist/cdn/chunks/{form-actions-Cy5tH1nk.js → form-actions-HaBfh6vm.js} +2 -2
  55. package/dist/cdn/chunks/{form-associated-mixin-CA0F9CPx.js → form-associated-mixin-BByNH679.js} +2 -2
  56. package/dist/cdn/chunks/{form-field-BMWm8VGS.js → form-field-CwYXsuvv.js} +6 -6
  57. package/dist/cdn/chunks/{form-C9-eW3zc.js → form-obggZEpt.js} +1 -1
  58. package/dist/cdn/chunks/{form-section-DrrXc4wZ.js → form-section-B2UZx_-z.js} +1 -1
  59. package/dist/cdn/chunks/frame-pass-C0RUoFMc.js +17 -0
  60. package/dist/cdn/chunks/{full-bleed-section-6QL0av4x.js → full-bleed-section-BSnWghWY.js} +9 -10
  61. package/dist/cdn/chunks/{hero-BThWV3MR.js → hero-CzbuEAUM.js} +73 -68
  62. package/dist/cdn/chunks/{icon-CVM6X_F1.js → icon-CkCT7sPE.js} +2 -2
  63. package/dist/cdn/chunks/{icon-button-h_sEz0Ia.js → icon-button-BBGwCfYp.js} +9 -9
  64. package/dist/cdn/chunks/{icon-cell-C3Ygercd.js → icon-cell-DcHnXV-8.js} +5 -5
  65. package/dist/cdn/chunks/{identity-BR0KxjM5.js → identity-C0fujsxK.js} +6 -6
  66. package/dist/cdn/chunks/{if-defined-CvQli6P0.js → if-defined-CL4nn-Q-.js} +1 -1
  67. package/dist/cdn/chunks/{image-D8H73DIj.js → image-BgtqLXfM.js} +8 -8
  68. package/dist/cdn/chunks/{inline-dialog-Dlu3bneh.js → inline-dialog-BYRIWhkm.js} +6 -6
  69. package/dist/cdn/chunks/{just-in-time-education-DG0teV5g.js → just-in-time-education-DwH3ubhZ.js} +5 -5
  70. package/dist/cdn/chunks/{kanban-MNLyqki_.js → kanban-BIZUoBj-.js} +35 -30
  71. package/dist/cdn/chunks/{kanban-column-CGF_4Q0N.js → kanban-column-CtjCIgaR.js} +37 -25
  72. package/dist/cdn/chunks/{keyboard-shortcut-DZDtndhS.js → keyboard-shortcut-BHylGMNu.js} +3 -3
  73. package/dist/cdn/chunks/{languages-BCn4J5Ck.js → languages-DghCYmiz.js} +12 -12
  74. package/dist/cdn/chunks/layout-pass-Cq85kSHX.js +45 -0
  75. package/dist/cdn/chunks/{link-CTj3dTmJ.js → link-S53veJpD.js} +6 -6
  76. package/dist/cdn/chunks/{link-group--C486tYV.js → link-group-B2_vdANe.js} +2 -2
  77. package/dist/cdn/chunks/{list-DApLHKj-.js → list-C8hY4uGW.js} +48 -34
  78. package/dist/cdn/chunks/{list-item-BN9uuvXr.js → list-item-CK1Rli4F.js} +5 -6
  79. package/dist/cdn/chunks/{list-item-segment-CvdZT9Ni.js → list-item-segment-KyrcOFDA.js} +3 -3
  80. package/dist/cdn/chunks/{menu-bar-g-O3_TNl.js → menu-bar-BRoqy5zp.js} +62 -46
  81. package/dist/cdn/chunks/{menu-bar-item-tOFEx-lS.js → menu-bar-item-DKW198ZW.js} +6 -6
  82. package/dist/cdn/chunks/{menu-divider-Dmv0lMHV.js → menu-divider-DDPBPK-o.js} +3 -3
  83. package/dist/cdn/chunks/{menu-group-Ci9QUUwZ.js → menu-group-uZXsE-uu.js} +4 -4
  84. package/dist/cdn/chunks/{menu-item-BnIbV4yo.js → menu-item-BOvb4QLd.js} +16 -12
  85. package/dist/cdn/chunks/{menu-2-9LtMLY.js → menu-m67vk1Z4.js} +20 -19
  86. package/dist/cdn/chunks/{menu.template-sPjaMfc8.js → menu.template-v6VnRUNJ.js} +105 -76
  87. package/dist/cdn/chunks/{modal-dialog-D-jAbabe.js → modal-dialog-BNq0r-1L.js} +4 -4
  88. package/dist/cdn/chunks/{multi-line-text-field-uBZqAdr6.js → multi-line-text-field-Bfq47I3P.js} +6 -6
  89. package/dist/cdn/chunks/{navigation-split-view-DARbBPq-.js → navigation-split-view-BiPoxCLL.js} +59 -47
  90. package/dist/cdn/chunks/{notification-CntIGoYh.js → notification-DjZXBv4J.js} +6 -6
  91. package/dist/cdn/chunks/{number-field-C0MTabLP.js → number-field-tqoQLrgZ.js} +8 -8
  92. package/dist/cdn/chunks/{one-half-one-half-section-DYzf6LtU.js → one-half-one-half-section-CyIm21PD.js} +15 -16
  93. package/dist/cdn/chunks/{one-third-two-thirds-section-AAiaxCHH.js → one-third-two-thirds-section-CpnK0vzB.js} +15 -16
  94. package/dist/cdn/chunks/{one-time-code-field-CCILuCy1.js → one-time-code-field-6sMEfzoY.js} +103 -64
  95. package/dist/cdn/chunks/{overflow-menu-DFoh3xL_.js → overflow-menu-IfYEX8tm.js} +1 -1
  96. package/dist/cdn/chunks/{page-footer-BsVMZCXs.js → page-footer-ET6j1N2Z.js} +4 -4
  97. package/dist/cdn/chunks/{page-section-mixin-L0bl3wCm.js → page-section-mixin-D9JL2q9A.js} +3 -3
  98. package/dist/cdn/chunks/{page-BDXLREou.js → page-w4XAfBWD.js} +76 -54
  99. package/dist/cdn/chunks/{pagination-DLwbSZdO.js → pagination-D7QFUu8x.js} +6 -6
  100. package/dist/cdn/chunks/{password-field-DKTJgEyb.js → password-field-Ck5wx6pg.js} +8 -8
  101. package/dist/cdn/chunks/{popover-RB7uLASo.js → popover-DOmi5m85.js} +5 -5
  102. package/dist/cdn/chunks/{progress-bar-DnXWbmiw.js → progress-bar-BDNcB06i.js} +10 -7
  103. package/dist/cdn/chunks/{progress-circle-S89MUtU8.js → progress-circle-BAMztpb3.js} +10 -7
  104. package/dist/cdn/chunks/{radio-button-B31lAjlk.js → radio-button-DAps6n0Q.js} +92 -51
  105. package/dist/cdn/chunks/{radio-button-field-BF4MHiOQ.js → radio-button-field-BbPk0nM_.js} +8 -7
  106. package/dist/cdn/chunks/{radio-button-group-BQUqV8wJ.js → radio-button-group-lxzwku00.js} +3 -3
  107. package/dist/cdn/chunks/{render-marked-ChJNzktf.js → render-marked-ClMFyNu0.js} +1 -1
  108. package/dist/cdn/chunks/{reorder-handle-cell-SEERkeh7.js → reorder-handle-cell-Cap2u2zx.js} +4 -4
  109. package/dist/cdn/chunks/{reorder-handle-mixin-tWe9XTjZ.js → reorder-handle-mixin-CnRKPVqU.js} +2 -2
  110. package/dist/cdn/chunks/{repeat-CdCK17GF.js → repeat-CIyCvHHQ.js} +2 -2
  111. package/dist/cdn/chunks/{rich-text-vVWOndD2.js → rich-text-CblFmHY-.js} +3 -3
  112. package/dist/cdn/chunks/{row-header-mixin-6MoJ5Mjq.js → row-header-mixin-C8z9StDU.js} +2 -2
  113. package/dist/cdn/chunks/{scroll-fade-Cr7_IXpU.js → scroll-fade-C_L9CJrR.js} +2 -2
  114. package/dist/cdn/chunks/scroll-mode-controller-Dl5hddJo.js +52 -0
  115. package/dist/cdn/chunks/{search-field-C9urWH_J.js → search-field-JeUPcBjZ.js} +10 -10
  116. package/dist/cdn/chunks/{segmented-control-DkILAMOJ.js → segmented-control-DtycvVyp.js} +7 -7
  117. package/dist/cdn/chunks/{shadow-resets-9v6K-Fie.js → shadow-resets-DgR56wQK.js} +2 -2
  118. package/dist/cdn/chunks/{sheet-D89xI-KY.js → sheet-XtRs26hN.js} +3 -3
  119. package/dist/cdn/chunks/{shell-CFmfUD0_.js → shell-CCaEEGna.js} +4 -4
  120. package/dist/cdn/chunks/{side-by-side-split-view-ir9c0mwZ.js → side-by-side-split-view-mhXD4Lde.js} +38 -29
  121. package/dist/cdn/chunks/{sidebar-section-BhJXels3.js → sidebar-section-Cwd4LSE6.js} +70 -48
  122. package/dist/cdn/chunks/{simple-section-CMoYuLYV.js → simple-section-BuiaCGks.js} +9 -10
  123. package/dist/cdn/chunks/{skip-link-rUQq0D-l.js → skip-link-nTlmioFt.js} +4 -4
  124. package/dist/cdn/chunks/{slider-CIQqjKUo.js → slider-C0rNQEIY.js} +9 -9
  125. package/dist/cdn/chunks/{spacer-CD85egxE.js → spacer-CeSO9CP1.js} +2 -2
  126. package/dist/cdn/chunks/{spacer-cell-B33mGdru.js → spacer-cell-NhlxEdhA.js} +4 -4
  127. package/dist/cdn/chunks/{split-button-COL7r-wa.js → split-button-BR-ccA6_.js} +7 -7
  128. package/dist/cdn/chunks/{split-view-divider-DVBuBzeO.js → split-view-divider-HcIV0yli.js} +2 -2
  129. package/dist/cdn/chunks/{split-view-pane-CSvIzeBg.js → split-view-pane-BgFUL3BV.js} +4 -4
  130. package/dist/cdn/chunks/{stacked-split-view-onSk2QEi.js → stacked-split-view-j77p3uE2.js} +29 -25
  131. package/dist/cdn/chunks/{static-html-Cyhp44gp.js → static-html-CGoLwgpW.js} +1 -1
  132. package/dist/cdn/chunks/{status-bar-CjYXOQAX.js → status-bar-ByJ21hV2.js} +29 -17
  133. package/dist/cdn/chunks/{step-bar-D-To0TEw.js → step-bar-CRxF0S42.js} +5 -5
  134. package/dist/cdn/chunks/{step-cell-B7sVGixc.js → step-cell-C-gOxNA6.js} +5 -5
  135. package/dist/cdn/chunks/{stepper-h6boMOhz.js → stepper-Dmljb7Qc.js} +7 -7
  136. package/dist/cdn/chunks/{style-map-BrdTV34-.js → style-map-CK811FGv.js} +1 -1
  137. package/dist/cdn/chunks/{swatch-picker-gQ3m3y9U.js → swatch-picker-DtAgTXLo.js} +6 -6
  138. package/dist/cdn/chunks/{switch-DC-BTi9E.js → switch-Bqion92b.js} +5 -5
  139. package/dist/cdn/chunks/{switch-field-D82mLobj.js → switch-field-CWobTcEn.js} +6 -6
  140. package/dist/cdn/chunks/{tab-bar-sKiFzvfj.js → tab-bar-DPtRjP8Z.js} +85 -49
  141. package/dist/cdn/chunks/{table-CuxZfCZD.js → table-C4CFiDgr.js} +111 -54
  142. package/dist/cdn/chunks/{tag-DP_ome5l.js → tag-Bo23A60g.js} +4 -4
  143. package/dist/cdn/chunks/{term-BdiTV-Jk.js → term-DPMEWR-t.js} +12 -12
  144. package/dist/cdn/chunks/{text-C-b1ygHI.js → text-CuiMvMZQ.js} +3 -3
  145. package/dist/cdn/chunks/{text-cell-DfRh7JqZ.js → text-cell-E3yc99xw.js} +8 -8
  146. package/dist/cdn/chunks/{text-editor-DuT9Rrpv.js → text-editor-BVmHiq_b.js} +191 -191
  147. package/dist/cdn/chunks/{text-field-kAbXzkUj.js → text-field-DOv1aI_F.js} +6 -6
  148. package/dist/cdn/chunks/{time-field-DUz9ifmn.js → time-field-BhlLk6tt.js} +14 -14
  149. package/dist/cdn/chunks/{time-picker-DGOKwC9T.js → time-picker-A4-HeVas.js} +170 -99
  150. package/dist/cdn/chunks/{title-BA-SUyAq.js → title-EMt-SYKV.js} +4 -4
  151. package/dist/cdn/chunks/{title-cell-Cu5NFNUu.js → title-cell--EE-L_8a.js} +8 -8
  152. package/dist/cdn/chunks/{toggle-button-J6UapeqB.js → toggle-button-BLwpxmQs.js} +8 -8
  153. package/dist/cdn/chunks/{toggle-button-group-wrps-tL9.js → toggle-button-group-scdxolJt.js} +2 -2
  154. package/dist/cdn/chunks/{token-DJkyJz-k.js → token-DVgXuCRO.js} +5 -5
  155. package/dist/cdn/chunks/{token-field-SiBFPD8-.js → token-field-CICQXLlO.js} +12 -12
  156. package/dist/cdn/chunks/toolbar-Des2gaH2.js +441 -0
  157. package/dist/cdn/chunks/{toolbar-item-DPizdgYi.js → toolbar-item-CkwQ2UyY.js} +3 -3
  158. package/dist/cdn/chunks/{toolbar-title-CB4IJFGv.js → toolbar-title-PoOf794l.js} +4 -4
  159. package/dist/cdn/chunks/{toolbar.styles-vmMPyzS_.js → toolbar.styles-DzreUGTp.js} +3 -3
  160. package/dist/cdn/chunks/{tooltip-Bg2ovCCg.js → tooltip-CMCT2iiD.js} +4 -4
  161. package/dist/cdn/chunks/{top-navigation-bar-vA8wpJXS.js → top-navigation-bar-BfMGgTIy.js} +121 -104
  162. package/dist/cdn/chunks/{top-title-bar-BAJGmgnj.js → top-title-bar-CvvldlNt.js} +43 -30
  163. package/dist/cdn/chunks/{translations-Cjd13Xb6.js → translations-C5JpcNNC.js} +1 -1
  164. package/dist/cdn/chunks/{two-thirds-one-third-section-D1FvorKO.js → two-thirds-one-third-section-BTkeIiHm.js} +15 -16
  165. package/dist/cdn/chunks/{validation-list-D3rKnfTu.js → validation-list-BasB3ZaT.js} +3 -3
  166. package/dist/cdn/chunks/{visibility-mixin-BRMACV1l.js → visibility-mixin-BxhcJG-x.js} +2 -2
  167. package/dist/cdn/chunks/{visually-hidden-BukWRiJA.js → visually-hidden-ByHY8pKl.js} +2 -2
  168. package/dist/cdn/chunks/{window-C9njVzzK.js → window-B5blEfMR.js} +4 -4
  169. package/dist/cdn/chunks/{with-translations-BLzHPSUF.js → with-translations-QDhHJYMT.js} +3 -3
  170. package/dist/components/actions/menu/menu-item.d.ts +11 -0
  171. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  172. package/dist/components/actions/menu/menu-item.js +28 -13
  173. package/dist/components/actions/menu/menu-item.js.map +1 -1
  174. package/dist/components/actions/menu/menu.d.ts +6 -0
  175. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  176. package/dist/components/actions/menu/menu.js +14 -4
  177. package/dist/components/actions/menu/menu.js.map +1 -1
  178. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  179. package/dist/components/actions/menu/menu.styles.js +63 -3
  180. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  181. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  182. package/dist/components/actions/menu/menu.template.js +18 -47
  183. package/dist/components/actions/menu/menu.template.js.map +1 -1
  184. package/dist/components/actions/toolbar/toolbar.d.ts +56 -16
  185. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  186. package/dist/components/actions/toolbar/toolbar.js +263 -95
  187. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  188. package/dist/components/actions/toolbar/toolbar.steps.d.ts +16 -0
  189. package/dist/components/actions/toolbar/toolbar.steps.d.ts.map +1 -0
  190. package/dist/components/actions/toolbar/toolbar.steps.js +33 -0
  191. package/dist/components/actions/toolbar/toolbar.steps.js.map +1 -0
  192. package/dist/components/content/avatar/avatar.d.ts +22 -10
  193. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  194. package/dist/components/content/avatar/avatar.js +122 -29
  195. package/dist/components/content/avatar/avatar.js.map +1 -1
  196. package/dist/components/content/avatar-group/avatar-group.d.ts +25 -10
  197. package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
  198. package/dist/components/content/avatar-group/avatar-group.js +97 -26
  199. package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
  200. package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
  201. package/dist/components/content/avatar-group/avatar-group.template.js +5 -4
  202. package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
  203. package/dist/components/content/code-viewer/code-viewer.d.ts +4 -2
  204. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  205. package/dist/components/content/code-viewer/code-viewer.js +35 -32
  206. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  207. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  208. package/dist/components/forms/form-field/form-field.js +4 -0
  209. package/dist/components/forms/form-field/form-field.js.map +1 -1
  210. package/dist/components/inputs/combo-box/combo-box.d.ts +8 -0
  211. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  212. package/dist/components/inputs/combo-box/combo-box.js +28 -9
  213. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  214. package/dist/components/inputs/date-picker/date-picker.d.ts +11 -0
  215. package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
  216. package/dist/components/inputs/date-picker/date-picker.js +23 -0
  217. package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
  218. package/dist/components/inputs/date-picker/date-picker.template.d.ts.map +1 -1
  219. package/dist/components/inputs/date-picker/date-picker.template.js +4 -2
  220. package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
  221. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  222. package/dist/components/inputs/file-field/file-field.js +6 -1
  223. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  224. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +27 -5
  225. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  226. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +128 -30
  227. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  228. package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
  229. package/dist/components/inputs/radio-button/radio-button.js +5 -2
  230. package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
  231. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
  232. package/dist/components/inputs/radio-button-field/radio-button-field.js +5 -2
  233. package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
  234. package/dist/components/inputs/text-editor/text-editor.annotations.js +1 -1
  235. package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
  236. package/dist/components/inputs/text-editor/text-editor.js +2 -2
  237. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  238. package/dist/components/inputs/text-editor/text-editor.selection.js +1 -1
  239. package/dist/components/inputs/text-editor/text-editor.selection.js.map +1 -1
  240. package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
  241. package/dist/components/inputs/text-editor/text-editor.toolbar.js +18 -12
  242. package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
  243. package/dist/components/inputs/time-picker/time-picker.d.ts +23 -0
  244. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  245. package/dist/components/inputs/time-picker/time-picker.js +132 -12
  246. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  247. package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
  248. package/dist/components/inputs/time-picker/time-picker.styles.js +27 -6
  249. package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
  250. package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -1
  251. package/dist/components/inputs/time-picker/time-picker.template.js +1 -0
  252. package/dist/components/inputs/time-picker/time-picker.template.js.map +1 -1
  253. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  254. package/dist/components/inputs/token-field/token-field.js +3 -0
  255. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  256. package/dist/components/layout/collection/collection.d.ts +9 -1
  257. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  258. package/dist/components/layout/collection/collection.js +96 -38
  259. package/dist/components/layout/collection/collection.js.map +1 -1
  260. package/dist/components/layout/container/container.d.ts +1 -0
  261. package/dist/components/layout/container/container.d.ts.map +1 -1
  262. package/dist/components/layout/container/container.js +22 -16
  263. package/dist/components/layout/container/container.js.map +1 -1
  264. package/dist/components/layout/kanban/kanban-column.d.ts +7 -2
  265. package/dist/components/layout/kanban/kanban-column.d.ts.map +1 -1
  266. package/dist/components/layout/kanban/kanban-column.js +49 -17
  267. package/dist/components/layout/kanban/kanban-column.js.map +1 -1
  268. package/dist/components/layout/kanban/kanban.d.ts +4 -1
  269. package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
  270. package/dist/components/layout/kanban/kanban.js +25 -7
  271. package/dist/components/layout/kanban/kanban.js.map +1 -1
  272. package/dist/components/layout/kanban/kanban.template.js +1 -1
  273. package/dist/components/layout/kanban/kanban.template.js.map +1 -1
  274. package/dist/components/layout/page/page.d.ts +39 -12
  275. package/dist/components/layout/page/page.d.ts.map +1 -1
  276. package/dist/components/layout/page/page.js +112 -66
  277. package/dist/components/layout/page/page.js.map +1 -1
  278. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +3 -1
  279. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  280. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +3 -1
  281. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  282. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
  283. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +6 -7
  284. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
  285. package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
  286. package/dist/components/layout/page-sections/hero/hero-corner.js +24 -1
  287. package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
  288. package/dist/components/layout/page-sections/hero/hero-corner.styles.js +22 -22
  289. package/dist/components/layout/page-sections/hero/hero-corner.styles.js.map +1 -1
  290. package/dist/components/layout/page-sections/hero/hero.d.ts +2 -0
  291. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  292. package/dist/components/layout/page-sections/hero/hero.js +2 -0
  293. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  294. package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
  295. package/dist/components/layout/page-sections/hero/hero.styles.js +8 -11
  296. package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
  297. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +4 -2
  298. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  299. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +4 -2
  300. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  301. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
  302. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +12 -13
  303. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  304. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -2
  305. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  306. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +4 -2
  307. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  308. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
  309. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +12 -13
  310. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  311. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +12 -9
  312. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  313. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +66 -21
  314. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  315. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
  316. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +23 -17
  317. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
  318. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -1
  319. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +5 -0
  320. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -1
  321. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +4 -3
  322. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  323. package/dist/components/layout/page-sections/simple-section/simple-section.js +4 -3
  324. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  325. package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
  326. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +6 -7
  327. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
  328. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -2
  329. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  330. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +4 -2
  331. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  332. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
  333. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +12 -13
  334. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  335. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +2 -1
  336. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  337. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +30 -17
  338. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  339. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +8 -3
  340. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  341. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +35 -20
  342. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  343. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +1 -1
  344. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +6 -2
  345. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  346. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +30 -15
  347. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  348. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +1 -1
  349. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +6 -3
  350. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
  351. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +28 -16
  352. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  353. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +1 -1
  354. package/dist/components/lists-and-tables/list/list.d.ts +19 -0
  355. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  356. package/dist/components/lists-and-tables/list/list.js +47 -15
  357. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  358. package/dist/components/lists-and-tables/list/list.roving.d.ts +2 -1
  359. package/dist/components/lists-and-tables/list/list.roving.d.ts.map +1 -1
  360. package/dist/components/lists-and-tables/list/list.roving.js +7 -3
  361. package/dist/components/lists-and-tables/list/list.roving.js.map +1 -1
  362. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  363. package/dist/components/lists-and-tables/list-item/list-item.styles.js +0 -1
  364. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  365. package/dist/components/lists-and-tables/table/table.d.ts +34 -6
  366. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  367. package/dist/components/lists-and-tables/table/table.js +143 -40
  368. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  369. package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
  370. package/dist/components/lists-and-tables/table/table.styles.js +13 -0
  371. package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
  372. package/dist/components/lists-and-tables/table/table.template.d.ts.map +1 -1
  373. package/dist/components/lists-and-tables/table/table.template.js +6 -0
  374. package/dist/components/lists-and-tables/table/table.template.js.map +1 -1
  375. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +33 -2
  376. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  377. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +136 -38
  378. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  379. package/dist/components/navigation/menu-bar/menu-bar.d.ts +21 -3
  380. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  381. package/dist/components/navigation/menu-bar/menu-bar.js +61 -29
  382. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  383. package/dist/components/navigation/tab-bar/tab-bar.d.ts +26 -4
  384. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  385. package/dist/components/navigation/tab-bar/tab-bar.js +99 -24
  386. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  387. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  388. package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -0
  389. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  390. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +23 -14
  391. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  392. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +126 -83
  393. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  394. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +28 -28
  395. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  396. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +5 -1
  397. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  398. package/dist/components/navigation/top-title-bar/top-title-bar.js +36 -13
  399. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  400. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +1 -0
  401. package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
  402. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +6 -0
  403. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  404. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +1 -0
  405. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  406. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +6 -0
  407. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  408. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +0 -1
  409. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  410. package/dist/components/status-and-feedback/status-bar/status-bar.js +26 -6
  411. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  412. package/dist/nldd.min.js +880 -814
  413. package/dist/types/react.d.ts +8 -8
  414. package/dist/types/vue.d.ts +8 -8
  415. package/dist/utilities/after-parse.d.ts +30 -0
  416. package/dist/utilities/after-parse.d.ts.map +1 -0
  417. package/dist/utilities/after-parse.js +44 -0
  418. package/dist/utilities/after-parse.js.map +1 -0
  419. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  420. package/dist/utilities/dev-rules.generated.js +12 -0
  421. package/dist/utilities/dev-rules.generated.js.map +1 -1
  422. package/dist/utilities/frame-pass.d.ts +28 -0
  423. package/dist/utilities/frame-pass.d.ts.map +1 -0
  424. package/dist/utilities/frame-pass.js +41 -0
  425. package/dist/utilities/frame-pass.js.map +1 -0
  426. package/dist/utilities/layout-pass.d.ts +49 -0
  427. package/dist/utilities/layout-pass.d.ts.map +1 -0
  428. package/dist/utilities/layout-pass.js +103 -0
  429. package/dist/utilities/layout-pass.js.map +1 -0
  430. package/dist/utilities/radio-grouping.d.ts +30 -4
  431. package/dist/utilities/radio-grouping.d.ts.map +1 -1
  432. package/dist/utilities/radio-grouping.js +98 -17
  433. package/dist/utilities/radio-grouping.js.map +1 -1
  434. package/dist/utilities/scroll-mode-controller.d.ts +13 -6
  435. package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
  436. package/dist/utilities/scroll-mode-controller.js +47 -21
  437. package/dist/utilities/scroll-mode-controller.js.map +1 -1
  438. package/lint/data.generated.json +1 -1
  439. package/lint/format.js +7 -4
  440. package/lint/frontends.js +347 -0
  441. package/lint/linter.js +1 -1
  442. package/lint/main.js +1 -0
  443. package/lint/project.js +8 -1
  444. package/lint/session.js +30 -8
  445. package/package.json +1 -1
  446. package/dist/cdn/chunks/scroll-mode-controller-COUD1-3P.js +0 -42
  447. package/dist/cdn/chunks/toolbar-be8hoSAz.js +0 -364
@@ -1,48 +1,48 @@
1
- import { $ as e, F as t, H as n, I as r, J as i, L as a, N as o, O as s, P as c, Q as l, R as u, U as d, Y as f, a as p, at as m, ct as h, et as g, j as _, k as v, n as ee, q as te, r as ne, rt as y, st as b, tt as x, ut as re } from "./languages-BCn4J5Ck.js";
2
- import { n as ie, r as S, s as ae } from "./custom-element-DD4ffKRs.js";
3
- import { t as oe } from "./reflect-non-default-Bu3rpCvg.js";
4
- import { a as se, c as ce, d as le, f as ue, i as de, l as fe, n as pe, o as me, r as he, s as ge, t as _e, u as ve } from "./codemirror-input-BEotDTtZ.js";
5
- import { a as ye, i as be, r as xe, t as Se } from "./dist-v7yvd26H.js";
6
- import { t as Ce } from "./custom-element-BW8Ua4c7.js";
7
- import { t as we } from "./query-ChDzi9FQ.js";
8
- import "./icon-CVM6X_F1.js";
9
- import { a as Te, c as Ee, i as De, n as Oe } from "./dist-DjlGttcc.js";
10
- import "./avatar-DsexiOhH.js";
11
- import { o as ke, t as C } from "./decorate-CeGXihRM.js";
12
- import { t as Ae } from "./shadow-resets-9v6K-Fie.js";
13
- import { t as je } from "./text-editor.i18n-sJKiRQ4i.js";
14
- import { t as Me } from "./translations-Cjd13Xb6.js";
15
- import { r as Ne } from "./element-state-B-44fVqq.js";
1
+ import { $ as e, F as t, H as n, I as r, J as i, L as a, N as o, O as s, P as c, Q as l, R as u, U as d, Y as f, a as p, at as m, ct as h, et as g, j as _, k as v, n as ee, q as te, r as ne, rt as y, st as b, tt as re, ut as ie } from "./languages-DghCYmiz.js";
2
+ import { n as ae, r as x, s as oe } from "./custom-element-D8yf5dqU.js";
3
+ import { t as se } from "./reflect-non-default-Bu3rpCvg.js";
4
+ import { a as ce, c as le, d as ue, f as de, i as fe, l as pe, n as me, o as he, r as ge, s as _e, t as ve, u as ye } from "./codemirror-input-DPSOMYZ4.js";
5
+ import { a as be, i as xe, r as Se, t as Ce } from "./dist-CIX4JLW1.js";
6
+ import { t as we } from "./custom-element-BW8Ua4c7.js";
7
+ import { t as Te } from "./query-ChDzi9FQ.js";
8
+ import "./icon-CkCT7sPE.js";
9
+ import { a as Ee, c as De, i as Oe, n as ke } from "./dist-B87Ag4L-.js";
10
+ import "./avatar-CfBP9UZZ.js";
11
+ import { o as Ae, t as S } from "./decorate-1aEyfetK.js";
12
+ import { t as je } from "./shadow-resets-DgR56wQK.js";
13
+ import { t as Me } from "./text-editor.i18n-sJKiRQ4i.js";
14
+ import { t as Ne } from "./translations-C5JpcNNC.js";
15
+ import { r as Pe } from "./element-state-B-44fVqq.js";
16
16
  // src/components/inputs/text-editor/text-editor.labels.ts
17
- var Pe = b.define();
17
+ var Fe = b.define();
18
18
  // src/components/inputs/text-editor/text-editor.syntax.ts
19
- function w(e, t, n, r) {
19
+ function C(e, t, n, r) {
20
20
  for (let i = s(e).resolveInner(t, n); i; i = i.parent) if (r(i)) return i;
21
21
  return null;
22
22
  }
23
- var T = /* @__PURE__ */ new Set(["FencedCode", "CodeBlock"]), Fe = /* @__PURE__ */ new Set([...T, "InlineCode"]);
24
- function E(e, t) {
25
- return O(e, t, 1, T) !== null;
23
+ var w = /* @__PURE__ */ new Set(["FencedCode", "CodeBlock"]), Ie = /* @__PURE__ */ new Set([...w, "InlineCode"]);
24
+ function T(e, t) {
25
+ return D(e, t, 1, w) !== null;
26
26
  }
27
- function Ie(e, t) {
28
- return O(e, t, 1, Fe) !== null;
27
+ function Le(e, t) {
28
+ return D(e, t, 1, Ie) !== null;
29
29
  }
30
- function Le(e, t, n, r) {
30
+ function Re(e, t, n, r) {
31
31
  for (let i = t; i <= n;) {
32
32
  let t = e.doc.lineAt(i);
33
33
  r(t.from), i = t.to + 1;
34
34
  }
35
35
  }
36
- function D(e, t) {
36
+ function E(e, t) {
37
37
  return s(e) !== s(t);
38
38
  }
39
- function Re(e, t) {
40
- return O(e, t, 1, "HorizontalRule") !== null;
39
+ function ze(e, t) {
40
+ return D(e, t, 1, "HorizontalRule") !== null;
41
41
  }
42
- function O(e, t, n, r) {
43
- return w(e, t, n, typeof r == "string" ? (e) => e.name === r : (e) => r.has(e.name));
42
+ function D(e, t, n, r) {
43
+ return C(e, t, n, typeof r == "string" ? (e) => e.name === r : (e) => r.has(e.name));
44
44
  }
45
- function ze(e) {
45
+ function Be(e) {
46
46
  let t = [];
47
47
  for (let n = e.firstChild; n; n = n.nextSibling) n.name === "LinkMark" && t.push(n);
48
48
  if (t.length < 2) return null;
@@ -53,35 +53,35 @@ function ze(e) {
53
53
  } : null;
54
54
  }
55
55
  // src/components/inputs/text-editor/text-editor.mention.ts
56
- var Be = "user:";
57
- function Ve(e) {
58
- return `[@${e.text.replace(/[[\]\\]/g, (e) => "\\" + e)}](${Be}${encodeURIComponent(e.id).replace(/[()<>]/g, (e) => "%" + e.charCodeAt(0).toString(16).toUpperCase())})`;
59
- }
56
+ var Ve = "user:";
60
57
  function He(e) {
61
- return `${Ve(e)} `;
58
+ return `[@${e.text.replace(/[[\]\\]/g, (e) => "\\" + e)}](${Ve}${encodeURIComponent(e.id).replace(/[()<>]/g, (e) => "%" + e.charCodeAt(0).toString(16).toUpperCase())})`;
62
59
  }
63
60
  function Ue(e) {
64
- return e.replace(/\\([[\]\\])/g, "$1");
61
+ return `${He(e)} `;
65
62
  }
66
63
  function We(e) {
64
+ return e.replace(/\\([[\]\\])/g, "$1");
65
+ }
66
+ function Ge(e) {
67
67
  try {
68
68
  return decodeURIComponent(e);
69
69
  } catch {
70
70
  return e;
71
71
  }
72
72
  }
73
- var Ge = RegExp(`\\[(@[^\\]]*)\\]\\(${Be}[^)]*\\)`, "g");
74
- function Ke(e) {
75
- return e.startsWith(Be);
73
+ var Ke = RegExp(`\\[(@[^\\]]*)\\]\\(${Ve}[^)]*\\)`, "g");
74
+ function qe(e) {
75
+ return e.startsWith(Ve);
76
76
  }
77
- function k(e, t) {
77
+ function O(e, t) {
78
78
  let n = t.getChild("URL");
79
- return n !== null && Ke(e.sliceDoc(n.from, n.to));
79
+ return n !== null && qe(e.sliceDoc(n.from, n.to));
80
80
  }
81
- function qe(e, t, n) {
81
+ function Je(e, t, n) {
82
82
  return e.from === e.to || e.from > t || e.to < n ? "none" : e.from === t && e.to === n ? "alone" : "within";
83
83
  }
84
- var Je = class extends t {
84
+ var Ye = class extends t {
85
85
  constructor(e, t, n) {
86
86
  super(), this.label = e, this.id = t, this.selected = n;
87
87
  }
@@ -97,65 +97,65 @@ var Je = class extends t {
97
97
  return n.className = "cm-md-mention-token-name", n.dataset.label = this.label, e.append(t, n), e;
98
98
  }
99
99
  };
100
- function Ye(e) {
100
+ function Xe(e) {
101
101
  let t = [], n = e.selection.main;
102
102
  return s(e).iterate({ enter: (r) => {
103
- if (Fe.has(r.name)) return !1;
103
+ if (Ie.has(r.name)) return !1;
104
104
  if (r.name !== "Link") return;
105
105
  let i = r.node, a = i.getChild("URL");
106
- if (!a || !k(e, i)) return;
107
- let o = ze(i);
106
+ if (!a || !O(e, i)) return;
107
+ let o = Be(i);
108
108
  if (!o) return;
109
- let s = Ue(e.sliceDoc(o.from, o.to).replace(/^@/, "")), c = We(e.sliceDoc(a.from, a.to).slice(5)), l = qe(n, i.from, i.to);
110
- t.push(v.replace({ widget: new Je(s, c, l) }).range(i.from, i.to));
109
+ let s = We(e.sliceDoc(o.from, o.to).replace(/^@/, "")), c = Ge(e.sliceDoc(a.from, a.to).slice(5)), l = Je(n, i.from, i.to);
110
+ t.push(v.replace({ widget: new Ye(s, c, l) }).range(i.from, i.to));
111
111
  } }), v.set(t, !0);
112
112
  }
113
- function Xe(e, t, n) {
113
+ function Ze(e, t, n) {
114
114
  let r = !1;
115
115
  return e.between(0, 1e9, (e, i) => {
116
- if (qe(t, e, i) !== qe(n, e, i)) return r = !0, !1;
116
+ if (Je(t, e, i) !== Je(n, e, i)) return r = !0, !1;
117
117
  }), r;
118
118
  }
119
- var Ze = h.define({
120
- create: (e) => Ye(e),
121
- update: (e, t) => t.docChanged || D(t.startState, t.state) ? Ye(t.state) : t.startState.selection.eq(t.state.selection) ? e : Xe(e, t.startState.selection.main, t.state.selection.main) ? Ye(t.state) : e,
119
+ var Qe = h.define({
120
+ create: (e) => Xe(e),
121
+ update: (e, t) => t.docChanged || E(t.startState, t.state) ? Xe(t.state) : t.startState.selection.eq(t.state.selection) ? e : Ze(e, t.startState.selection.main, t.state.selection.main) ? Xe(t.state) : e,
122
122
  provide: (e) => _.decorations.from(e)
123
- }), Qe = _.atomicRanges.of((e) => e.state.field(Ze, !1) ?? v.none), $e = [y.highest(Ze), Qe];
124
- function et(e, t, n) {
125
- return w(e, t, n, (t) => t.name === "Link" && k(e, t));
123
+ }), $e = _.atomicRanges.of((e) => e.state.field(Qe, !1) ?? v.none), et = [y.highest(Qe), $e];
124
+ function tt(e, t, n) {
125
+ return C(e, t, n, (t) => t.name === "Link" && O(e, t));
126
126
  }
127
- function tt(e, t) {
128
- let n = et(e, t, 1);
127
+ function nt(e, t) {
128
+ let n = tt(e, t, 1);
129
129
  return n ? {
130
130
  from: n.from,
131
131
  to: n.to
132
132
  } : null;
133
133
  }
134
- function nt(e, t) {
135
- let n = et(e, t, -1);
134
+ function rt(e, t) {
135
+ let n = tt(e, t, -1);
136
136
  return n && n.to === t ? {
137
137
  from: n.from,
138
138
  to: n.to
139
139
  } : null;
140
140
  }
141
- function rt(e, t) {
142
- let n = et(e, t, 1);
141
+ function it(e, t) {
142
+ let n = tt(e, t, 1);
143
143
  return n && n.from === t ? {
144
144
  from: n.from,
145
145
  to: n.to
146
146
  } : null;
147
147
  }
148
- function it(e, t) {
148
+ function at(e, t) {
149
149
  let n = e.state.selection.main;
150
150
  if (!n.empty) return !1;
151
- let r = t < 0 ? nt(e.state, n.head) : rt(e.state, n.head);
151
+ let r = t < 0 ? rt(e.state, n.head) : it(e.state, n.head);
152
152
  return r ? (e.dispatch({ selection: {
153
153
  anchor: r.from,
154
154
  head: r.to
155
155
  } }), !0) : !1;
156
156
  }
157
157
  // src/components/inputs/text-editor/text-editor.caret.ts
158
- function at(e) {
158
+ function ot(e) {
159
159
  let t = _.findFromDOM(e);
160
160
  if (!t) return null;
161
161
  let n = t.posAtDOM(e);
@@ -171,7 +171,7 @@ function at(e) {
171
171
  }
172
172
  }
173
173
  // src/components/inputs/text-editor/text-editor.links.ts
174
- var ot = class extends t {
174
+ var st = class extends t {
175
175
  constructor(e, t) {
176
176
  super(), this.href = e, this.ariaLabel = t(e);
177
177
  }
@@ -188,7 +188,7 @@ var ot = class extends t {
188
188
  return !0;
189
189
  }
190
190
  coordsAt(e, t, n) {
191
- let r = e.getBoundingClientRect(), i = at(e) ?? {
191
+ let r = e.getBoundingClientRect(), i = ot(e) ?? {
192
192
  top: r.top,
193
193
  bottom: r.bottom
194
194
  }, a = getComputedStyle(e), o = n < 0 ? r.left - parseFloat(a.marginLeft) : r.right + parseFloat(a.marginRight);
@@ -200,50 +200,50 @@ var ot = class extends t {
200
200
  };
201
201
  }
202
202
  };
203
- function st(e) {
203
+ function ct(e) {
204
204
  return e.replace(/^\[|\]$/g, "").trim().replace(/\s+/g, " ").toLowerCase();
205
205
  }
206
- function ct(e) {
206
+ function lt(e) {
207
207
  let t = /* @__PURE__ */ new Map();
208
208
  return s(e).iterate({ enter: (n) => {
209
209
  if (n.name !== "LinkReference") return;
210
210
  let r = null, i = null;
211
- for (let t = n.node.firstChild; t; t = t.nextSibling) t.name === "LinkLabel" ? r = st(e.sliceDoc(t.from, t.to)) : t.name === "URL" && (i = e.sliceDoc(t.from, t.to));
211
+ for (let t = n.node.firstChild; t; t = t.nextSibling) t.name === "LinkLabel" ? r = ct(e.sliceDoc(t.from, t.to)) : t.name === "URL" && (i = e.sliceDoc(t.from, t.to));
212
212
  r && i && !t.has(r) && t.set(r, i);
213
213
  } }), t;
214
214
  }
215
- function lt(e) {
215
+ function ut(e) {
216
216
  let t = e.replace(/[\u0000-\u0020\u007f-\u009f]/g, "");
217
217
  return !/^[a-z][a-z0-9+.-]*:/i.test(t) || /^(?:https?|mailto|tel):/i.test(t);
218
218
  }
219
- function ut(e, t, n) {
219
+ function dt(e, t, n) {
220
220
  let r = null;
221
221
  for (let n = t.firstChild; n; n = n.nextSibling) {
222
222
  if (n.name === "URL") {
223
223
  let t = e.sliceDoc(n.from, n.to);
224
- return t && !Ke(t) && lt(t) ? t : null;
224
+ return t && !qe(t) && ut(t) ? t : null;
225
225
  }
226
- n.name === "LinkLabel" && (r = st(e.sliceDoc(n.from, n.to)));
226
+ n.name === "LinkLabel" && (r = ct(e.sliceDoc(n.from, n.to)));
227
227
  }
228
228
  if (r) {
229
229
  let e = n().get(r);
230
- return e && !Ke(e) && lt(e) ? e : null;
230
+ return e && !qe(e) && ut(e) ? e : null;
231
231
  }
232
232
  return null;
233
233
  }
234
- function dt(e) {
234
+ function k(e) {
235
235
  for (let t = e.parent; t; t = t.parent) if (t.name === "Link" || t.name === "LinkReference" || t.name === "Image") return !0;
236
236
  return !1;
237
237
  }
238
238
  function ft(e, t) {
239
239
  let n = e.sliceDoc(t.from, t.to);
240
- if (!n || Ke(n)) return null;
240
+ if (!n || qe(n)) return null;
241
241
  let r = n;
242
- return /^[a-z][a-z0-9+.-]*:/i.test(n) || (/^www\./i.test(n) ? r = `https://${n}` : /^[^\s@]+@[^\s@]+$/.test(n) && (r = `mailto:${n}`)), lt(r) ? r : null;
242
+ return /^[a-z][a-z0-9+.-]*:/i.test(n) || (/^www\./i.test(n) ? r = `https://${n}` : /^[^\s@]+@[^\s@]+$/.test(n) && (r = `mailto:${n}`)), ut(r) ? r : null;
243
243
  }
244
244
  function pt(e, t) {
245
- let n = new m(), r = s(e.state), i = null, a = () => i ?? (i = ct(e.state)), o = (e, r) => n.add(e, e, v.widget({
246
- widget: new ot(r, t),
245
+ let n = new m(), r = s(e.state), i = null, a = () => i ?? (i = lt(e.state)), o = (e, r) => n.add(e, e, v.widget({
246
+ widget: new st(r, t),
247
247
  side: -1
248
248
  }));
249
249
  for (let { from: t, to: n } of e.visibleRanges) r.iterate({
@@ -251,9 +251,9 @@ function pt(e, t) {
251
251
  to: n,
252
252
  enter: (t) => {
253
253
  if (t.name === "Link") {
254
- let n = ut(e.state, t.node, a);
254
+ let n = dt(e.state, t.node, a);
255
255
  n && o(t.to, n);
256
- } else if (t.name === "URL" && !dt(t.node)) {
256
+ } else if (t.name === "URL" && !k(t.node)) {
257
257
  let n = ft(e.state, t.node);
258
258
  n && o(t.to, n);
259
259
  }
@@ -267,16 +267,16 @@ function mt(e) {
267
267
  this.decorations = pt(t, e);
268
268
  }
269
269
  update(t) {
270
- (t.docChanged || t.viewportChanged || D(t.startState, t.state) || t.transactions.some((e) => e.effects.some((e) => e.is(Pe)))) && (this.decorations = pt(t.view, e));
270
+ (t.docChanged || t.viewportChanged || E(t.startState, t.state) || t.transactions.some((e) => e.effects.some((e) => e.is(Fe)))) && (this.decorations = pt(t.view, e));
271
271
  }
272
272
  }, { decorations: (e) => e.decorations });
273
273
  }
274
274
  function ht(e, t) {
275
275
  let n = null;
276
- return w(e, t, -1, (r) => r.to === t ? r.name === "Link" ? ut(e, r, () => n ?? (n = ct(e))) !== null : r.name === "URL" && !dt(r) && ft(e, r) !== null : !1) !== null;
276
+ return C(e, t, -1, (r) => r.to === t ? r.name === "Link" ? dt(e, r, () => n ?? (n = lt(e))) !== null : r.name === "URL" && !k(r) && ft(e, r) !== null : !1) !== null;
277
277
  }
278
278
  function gt(e, t) {
279
- return w(e, t, -1, (n) => n.name === "URL" && n.to === t && !dt(n) && ft(e, n) !== null) !== null;
279
+ return C(e, t, -1, (n) => n.name === "URL" && n.to === t && !k(n) && ft(e, n) !== null) !== null;
280
280
  }
281
281
  // src/components/inputs/text-editor/text-editor.emphasis.ts
282
282
  var A = /* @__PURE__ */ new Map([
@@ -300,10 +300,10 @@ var A = /* @__PURE__ */ new Map([
300
300
  to: t.mapPos(e.to, -1)
301
301
  }) });
302
302
  function bt(e, t, n) {
303
- return w(e, t, n, (e) => A.has(e.name));
303
+ return C(e, t, n, (e) => A.has(e.name));
304
304
  }
305
305
  function xt(e, t) {
306
- return O(e, t, 1, _t);
306
+ return D(e, t, 1, _t);
307
307
  }
308
308
  function St(e) {
309
309
  let { from: t, to: n } = e.selection.main, r = bt(e, t, -1), i = r && bt(e, n, 1);
@@ -447,10 +447,10 @@ var jt = [j, c.fromClass(class {
447
447
  }
448
448
  })], Mt = y.high(n.of([{
449
449
  key: "Enter",
450
- run: xe({ nonTightLists: !1 })
450
+ run: Se({ nonTightLists: !1 })
451
451
  }, {
452
452
  key: "Backspace",
453
- run: Se
453
+ run: Ce
454
454
  }])), M = /^( *)([-*+]|\d{1,9}[.)])( +|$)/, Nt = /^( *)([-*+]|\d{1,9}[.)]) ( *)([-*+]|\d{1,9}[.)]) $/, Pt = /^( +)([-*+]|\d{1,9}[.)]) $/, Ft = /^((?:> ?)*> )> $/, It = (e) => /\d/.test(e);
455
455
  function N(e, t) {
456
456
  let n = [], r = Infinity, i = 0;
@@ -496,7 +496,7 @@ function Rt(e, t, n) {
496
496
  var zt = _.inputHandler.of((e, t, n, r) => {
497
497
  if (r !== " " || t !== n || e.state.readOnly) return !1;
498
498
  let i = e.state.doc.lineAt(t);
499
- if (E(e.state, i.from)) return !1;
499
+ if (T(e.state, i.from)) return !1;
500
500
  let a = i.text.slice(0, t - i.from) + " ", o = Rt(e.state, i.number, a);
501
501
  return o === null || o === a ? !1 : (e.dispatch({
502
502
  changes: {
@@ -513,7 +513,7 @@ var zt = _.inputHandler.of((e, t, n, r) => {
513
513
  },
514
514
  selection: { anchor: i.from + o.length },
515
515
  userEvent: "input.complete",
516
- annotations: ce.of("before")
516
+ annotations: le.of("before")
517
517
  }), !0);
518
518
  }), Bt = {
519
519
  ATXHeading1: "cm-md-h1",
@@ -569,7 +569,7 @@ function Zt(e, t, n, r) {
569
569
  Yt(e, s, n, r);
570
570
  }
571
571
  function Qt(e, t, n) {
572
- k(e, t) || n.push(P("cm-md-link").range(t.from, t.to));
572
+ O(e, t) || n.push(P("cm-md-link").range(t.from, t.to));
573
573
  }
574
574
  function $t(e) {
575
575
  let t = [], n = e.state.selection.main;
@@ -590,11 +590,11 @@ function $t(e) {
590
590
  Xt(e.state, r.from, r.to, n, t);
591
591
  return;
592
592
  }
593
- if (r.name === "URL" && !dt(r.node)) {
593
+ if (r.name === "URL" && !k(r.node)) {
594
594
  t.push(P("cm-md-autolink").range(r.from, r.to));
595
595
  return;
596
596
  }
597
- r.name === "Blockquote" && r.node.parent?.name !== "Blockquote" && Le(e.state, r.from, r.to, (e) => t.push(Ut.range(e)));
597
+ r.name === "Blockquote" && r.node.parent?.name !== "Blockquote" && Re(e.state, r.from, r.to, (e) => t.push(Ut.range(e)));
598
598
  let i = Bt[r.name];
599
599
  if (i) {
600
600
  if (i === "cm-md-code" && !n.empty && n.from <= r.from && n.to >= r.to) t.push(P("cm-md-code cm-md-code-selected").range(r.from, r.to));
@@ -617,7 +617,7 @@ var en = c.fromClass(class {
617
617
  this.decorations = $t(e);
618
618
  }
619
619
  update(e) {
620
- (e.docChanged || e.viewportChanged || e.selectionSet || D(e.startState, e.state)) && (this.decorations = $t(e.view));
620
+ (e.docChanged || e.viewportChanged || e.selectionSet || E(e.startState, e.state)) && (this.decorations = $t(e.view));
621
621
  }
622
622
  }, { decorations: (e) => e.decorations }), tn = /^((?:[ \t]*(?:[-*+][ \t]+(?:\[[ xX]\][ \t]+)?|\d+[.)][ \t]+|>[ \t]?))+)/;
623
623
  function nn(e) {
@@ -631,7 +631,7 @@ function sn(e) {
631
631
  let t = [], n = 0;
632
632
  for (let r = e.doc.iterLines(); !r.next().done;) {
633
633
  let i = r.value, a = tn.exec(i);
634
- if (a && a[1].length && !E(e, n) && !Re(e, n)) {
634
+ if (a && a[1].length && !T(e, n) && !ze(e, n)) {
635
635
  let e = a[1].length;
636
636
  t.push(on(e).range(n)), t.push(rn.range(n, n + e));
637
637
  }
@@ -641,12 +641,12 @@ function sn(e) {
641
641
  }
642
642
  var cn = h.define({
643
643
  create: (e) => sn(e),
644
- update: (e, t) => t.docChanged || D(t.startState, t.state) ? sn(t.state) : e,
644
+ update: (e, t) => t.docChanged || E(t.startState, t.state) ? sn(t.state) : e,
645
645
  provide: (e) => _.decorations.from(e)
646
646
  }), ln = [
647
- be({
647
+ xe({
648
648
  extensions: [
649
- ye,
649
+ be,
650
650
  { remove: ["IndentedCode"] },
651
651
  { parseBlock: [{
652
652
  name: "IndentedText",
@@ -666,7 +666,7 @@ var cn = h.define({
666
666
  en,
667
667
  jt,
668
668
  cn,
669
- $e
669
+ et
670
670
  ], un = "[\\p{L}\\p{M}\\p{N}_.+-]*", dn = /* @__PURE__ */ new Map();
671
671
  function fn(e, t) {
672
672
  if (e.length !== 1 || /[\s\p{L}\p{N}_]/u.test(e)) return null;
@@ -714,7 +714,7 @@ function hn(e, t, n) {
714
714
  }
715
715
  if (!a) return null;
716
716
  let o = r.from + a.index + a[1].length;
717
- return Ie(e, o) ? null : {
717
+ return Le(e, o) ? null : {
718
718
  from: o,
719
719
  to: t,
720
720
  query: a[3],
@@ -826,7 +826,7 @@ var I = h.define({
826
826
  }])),
827
827
  _.focusChangeEffect.of((e, t) => !t && e.field(I, !1) ? F.of(null) : null),
828
828
  _.updateListener.of((e) => {
829
- De(e.state) === "active" && e.state.field(I, !1) && queueMicrotask(() => e.view.dispatch({ effects: F.of(null) }));
829
+ Oe(e.state) === "active" && e.state.field(I, !1) && queueMicrotask(() => e.view.dispatch({ effects: F.of(null) }));
830
830
  })
831
831
  ];
832
832
  function Sn(e) {
@@ -835,10 +835,10 @@ function Sn(e) {
835
835
  this.status = document.createElement("div"), this.status.className = "cm-nldd-typeahead-status", this.status.setAttribute("role", "status"), e.dom.append(this.status);
836
836
  }
837
837
  update(t) {
838
- let n = De(t.state);
838
+ let n = Oe(t.state);
839
839
  if (n === "pending") return;
840
840
  let r = t.state.field(I, !1), i = "";
841
- r ? i = r.text : n === "active" && (i = e(Te(t.state).length)), this.status.textContent !== i && (this.status.textContent = i);
841
+ r ? i = r.text : n === "active" && (i = e(Ee(t.state).length)), this.status.textContent !== i && (this.status.textContent = i);
842
842
  }
843
843
  destroy() {
844
844
  this.status.remove();
@@ -876,11 +876,11 @@ function Cn() {
876
876
  }
877
877
  function wn(e, t, n = () => null, r = (e) => String(e)) {
878
878
  let i = _.updateListener.of((t) => {
879
- t.docChanged && De(t.state) === null && t.transactions.some((e) => e.isUserEvent("delete")) && hn(t.state, t.state.selection.main.head, e()) && Ee(t.view);
879
+ t.docChanged && Oe(t.state) === null && t.transactions.some((e) => e.isUserEvent("delete")) && hn(t.state, t.state.selection.main.head, e()) && De(t.view);
880
880
  });
881
881
  return [
882
882
  Cn(),
883
- Oe({
883
+ ke({
884
884
  override: [yn(e, t, n)],
885
885
  icons: !1,
886
886
  addToOptions: [{
@@ -896,7 +896,7 @@ function wn(e, t, n = () => null, r = (e) => String(e)) {
896
896
  ];
897
897
  }
898
898
  // src/components/inputs/text-editor/text-editor.spellcheck.ts
899
- var Tn = x.define(), En = /* @__PURE__ */ new Set([
899
+ var Tn = re.define(), En = /* @__PURE__ */ new Set([
900
900
  "InlineCode",
901
901
  "FencedCode",
902
902
  "CodeBlock",
@@ -904,7 +904,7 @@ var Tn = x.define(), En = /* @__PURE__ */ new Set([
904
904
  "Autolink"
905
905
  ]);
906
906
  function Dn(e, t) {
907
- return e.name === "Link" && k(t, e.node);
907
+ return e.name === "Link" && O(t, e.node);
908
908
  }
909
909
  var On = Tn.of((e, t) => En.has(e.name) || Dn(e, t)), kn = v.mark({ attributes: { spellcheck: "false" } });
910
910
  function An(e) {
@@ -923,9 +923,9 @@ var jn = c.fromClass(class {
923
923
  this.decorations = An(e);
924
924
  }
925
925
  update(e) {
926
- (e.docChanged || e.viewportChanged || D(e.startState, e.state)) && (this.decorations = An(e.view));
926
+ (e.docChanged || e.viewportChanged || E(e.startState, e.state)) && (this.decorations = An(e.view));
927
927
  }
928
- }, { decorations: (e) => e.decorations }), Mn = x.define({ combine: (e) => e.some(Boolean) }), Nn = /* @__PURE__ */ new WeakMap(), Pn = _.domEventObservers({ keydown(e, t) {
928
+ }, { decorations: (e) => e.decorations }), Mn = re.define({ combine: (e) => e.some(Boolean) }), Nn = /* @__PURE__ */ new WeakMap(), Pn = _.domEventObservers({ keydown(e, t) {
929
929
  let n = e.isTrusted && !e.isComposing && !e.shiftKey && !e.altKey && !e.ctrlKey && !e.metaKey;
930
930
  Nn.set(t, n && (e.key === "Backspace" || e.key === "Delete") ? e.key : null);
931
931
  } });
@@ -1045,7 +1045,7 @@ var H = h.define({
1045
1045
  });
1046
1046
  function Zn(e) {
1047
1047
  let t = [];
1048
- for (let n of [...e].sort((e, t) => e.from - t.from || e.to - t.to)) {
1048
+ for (let n of e.toSorted((e, t) => e.from - t.from || e.to - t.to)) {
1049
1049
  let e = t[t.length - 1];
1050
1050
  e && n.from < e.to ? (e.to = Math.max(e.to, n.to), e.ids.push(n.id)) : t.push({
1051
1051
  from: n.from,
@@ -1071,7 +1071,7 @@ var er = class extends t {
1071
1071
  return e.className = "cm-annotation-badge", e.type = "button", e.dataset.annotations = this.ids.join(" "), e.textContent = String(this.ids.length), e.setAttribute("aria-label", this.ariaLabel), e;
1072
1072
  }
1073
1073
  coordsAt(e, t, n) {
1074
- let r = e.getBoundingClientRect(), i = getComputedStyle(e), a = at(e) ?? {
1074
+ let r = e.getBoundingClientRect(), i = getComputedStyle(e), a = ot(e) ?? {
1075
1075
  top: r.top,
1076
1076
  bottom: r.bottom
1077
1077
  }, o = e.closest(".cm-annotation"), s = o ? o.getClientRects() : null, c = s && s.length ? s[s.length - 1] : null, l = t <= 0 ? r.left - parseFloat(i.marginLeft) : c ? c.right : r.right + parseFloat(i.marginRight);
@@ -1100,7 +1100,7 @@ var er = class extends t {
1100
1100
  let r = e.nextElementSibling;
1101
1101
  for (; r instanceof HTMLElement && r.classList.contains("cm-widgetBuffer");) r = r.nextElementSibling;
1102
1102
  if (!(r instanceof HTMLElement) || !r.classList.contains("cm-annotation")) return null;
1103
- let i = parseFloat(getComputedStyle(r).paddingInlineStart || "0"), a = r.getClientRects()[0] ?? r.getBoundingClientRect(), o = at(e) ?? {
1103
+ let i = parseFloat(getComputedStyle(r).paddingInlineStart || "0"), a = r.getClientRects()[0] ?? r.getBoundingClientRect(), o = ot(e) ?? {
1104
1104
  top: a.top,
1105
1105
  bottom: a.bottom
1106
1106
  }, s = t <= 0 ? a.left : a.left + i;
@@ -1156,7 +1156,7 @@ function ur(e, t) {
1156
1156
  function dr(e) {
1157
1157
  return h.define({
1158
1158
  create: (t) => ur(t, e),
1159
- update: (t, n) => t === lr && !n.state.field(H).length ? t : n.docChanged || !n.startState.selection.eq(n.state.selection) || n.effects.some((e) => e.is(Wn) || e.is(Pe)) ? ur(n.state, e) : t,
1159
+ update: (t, n) => t === lr && !n.state.field(H).length ? t : n.docChanged || !n.startState.selection.eq(n.state.selection) || n.effects.some((e) => e.is(Wn) || e.is(Fe)) ? ur(n.state, e) : t,
1160
1160
  provide: (e) => _.decorations.from(e, (e) => e.deco)
1161
1161
  });
1162
1162
  }
@@ -1192,7 +1192,7 @@ var fr = g.transactionFilter.of((e) => {
1192
1192
  effects: [Gn.of(i)],
1193
1193
  sequential: !0
1194
1194
  }];
1195
- }), pr = ge.of((e) => {
1195
+ }), pr = _e.of((e) => {
1196
1196
  if (!e.effects.some((e) => e.is(Gn))) return [];
1197
1197
  let t = e.startState.field(H, !1) ?? [];
1198
1198
  return [Gn.of(t)];
@@ -1217,7 +1217,7 @@ function yr(e) {
1217
1217
  }
1218
1218
  var br = (e) => /^ */.exec(e)[0].length;
1219
1219
  function xr(e, t) {
1220
- let { from: n, to: r } = e.selection.main, i = e.doc.lineAt(n), a = O(e, n, 1, T) ?? O(e, i.from, 1, T);
1220
+ let { from: n, to: r } = e.selection.main, i = e.doc.lineAt(n), a = D(e, n, 1, w) ?? D(e, i.from, 1, w);
1221
1221
  if (a && a.from < n) return null;
1222
1222
  let o = i.text.slice(0, n - i.from), s = vr.exec(o), c = !s && o.trim() !== "";
1223
1223
  if (c && (n !== i.to || e.doc.lineAt(r).to !== r)) return null;
@@ -1319,7 +1319,7 @@ var Cr = class {
1319
1319
  },
1320
1320
  selection: { anchor: d + s.insert.length },
1321
1321
  userEvent: "input.complete",
1322
- annotations: ce.of("before")
1322
+ annotations: le.of("before")
1323
1323
  });
1324
1324
  }
1325
1325
  }, wr = 200, Tr = /* @__PURE__ */ new WeakSet();
@@ -1365,7 +1365,7 @@ var Or = {
1365
1365
  heading: 0
1366
1366
  };
1367
1367
  function U(e, t, n, r = 1) {
1368
- return O(e.state, t, r, n);
1368
+ return D(e.state, t, r, n);
1369
1369
  }
1370
1370
  function kr(e, t, n) {
1371
1371
  let r = U(e, t, n, -1), i = U(e, t, n, 1);
@@ -1565,7 +1565,7 @@ function Gr(e) {
1565
1565
  let { state: t } = e, n = t.selection.main;
1566
1566
  if (!n.empty) return !1;
1567
1567
  let r = t.doc.lineAt(n.head), i = r.text.match(/^(\s*)(?:\d+[.)]|[-*+])\s/);
1568
- if (!i || n.head !== r.from + i[0].length || E(t, r.from)) return !1;
1568
+ if (!i || n.head !== r.from + i[0].length || T(t, r.from)) return !1;
1569
1569
  let a = i[1].length, o = a > 0 ? N(t, r.number).find((e) => e.markerCol < a) : void 0;
1570
1570
  if (o) {
1571
1571
  let t = r.from + a, i = " ".repeat(o.markerCol);
@@ -1594,7 +1594,7 @@ function Kr(e) {
1594
1594
  }
1595
1595
  function qr(e, t) {
1596
1596
  let n = U(e, t, "Link");
1597
- return n && !k(e.state, n) ? n : null;
1597
+ return n && !O(e.state, n) ? n : null;
1598
1598
  }
1599
1599
  function Jr(t, n = "") {
1600
1600
  if (t.state.readOnly) return;
@@ -1639,7 +1639,7 @@ function Yr(e) {
1639
1639
  }] }), e.focus();
1640
1640
  }
1641
1641
  function Xr(e) {
1642
- let { state: t } = e, n = t.selection.main.head, r = t.field(j, !1), i = (t) => kr(e, n, t) !== null || r?.name === t, a = t.doc.lineAt(n).text, o = t.doc.lineAt(n).from, s = a.match(/^(#{1,6})\s/), c = E(t, o);
1642
+ let { state: t } = e, n = t.selection.main.head, r = t.field(j, !1), i = (t) => kr(e, n, t) !== null || r?.name === t, a = t.doc.lineAt(n).text, o = t.doc.lineAt(n).from, s = a.match(/^(#{1,6})\s/), c = T(t, o);
1643
1643
  return {
1644
1644
  bold: i("StrongEmphasis"),
1645
1645
  italic: i("Emphasis"),
@@ -1647,7 +1647,7 @@ function Xr(e) {
1647
1647
  codeBlock: c,
1648
1648
  strikethrough: i("Strikethrough"),
1649
1649
  link: qr(e, n) !== null,
1650
- bulletList: !c && /^\s*[-*+]\s/.test(a) && !Re(t, o),
1650
+ bulletList: !c && /^\s*[-*+]\s/.test(a) && !ze(t, o),
1651
1651
  orderedList: !c && /^\s*\d+[.)]\s/.test(a),
1652
1652
  taskList: !c && Ir.test(a),
1653
1653
  quote: U(e, o, "Blockquote") !== null,
@@ -1677,11 +1677,11 @@ var Zr = [y.highest(n.of([{
1677
1677
  },
1678
1678
  {
1679
1679
  key: "Backspace",
1680
- run: (e) => it(e, -1)
1680
+ run: (e) => at(e, -1)
1681
1681
  },
1682
1682
  {
1683
1683
  key: "Delete",
1684
- run: (e) => it(e, 1)
1684
+ run: (e) => at(e, 1)
1685
1685
  },
1686
1686
  {
1687
1687
  key: "Mod-]",
@@ -1693,15 +1693,15 @@ var Zr = [y.highest(n.of([{
1693
1693
  },
1694
1694
  {
1695
1695
  key: "Backspace",
1696
- run: (e) => !In(e, "Backspace") && he(e),
1697
- shift: he
1696
+ run: (e) => !In(e, "Backspace") && ge(e),
1697
+ shift: ge
1698
1698
  },
1699
1699
  {
1700
1700
  key: "Delete",
1701
- run: (e) => !In(e, "Delete") && de(e)
1701
+ run: (e) => !In(e, "Delete") && fe(e)
1702
1702
  },
1703
- ...pe.filter((e) => e.key !== "Backspace" && e.key !== "Delete"),
1704
- ...me
1703
+ ...me.filter((e) => e.key !== "Backspace" && e.key !== "Delete"),
1704
+ ...he
1705
1705
  ])], Qr = /^(\s*)(\d+)[.)](?=\s|$)/, $r = /^(?:[ ]{0,3}>[ ]?)*/, ei = /^\s*(?:```|~~~)/, ti = /^\s*[-*+]\s+\S/, ni = /^\s*(?:#{1,6}(?:\s|$)|[-*+](?:\s|$)|(?:(?:-[ \t]*){3,}|(?:\*[ \t]*){3,}|(?:_[ \t]*){3,})$)/, ri = 1e3;
1706
1706
  function ii(e) {
1707
1707
  let t = [], n = [], r = (e) => {
@@ -1771,7 +1771,7 @@ function oi(e) {
1771
1771
  }), t;
1772
1772
  }
1773
1773
  var si = g.transactionFilter.of((e) => {
1774
- if (e.annotation(re.remote) || !e.docChanged || !oi(e)) return e;
1774
+ if (e.annotation(ie.remote) || !e.docChanged || !oi(e)) return e;
1775
1775
  let t = ii(e.newDoc.toString());
1776
1776
  return t.length === 0 ? e : [e, {
1777
1777
  changes: t,
@@ -1902,7 +1902,7 @@ var si = g.transactionFilter.of((e) => {
1902
1902
  }
1903
1903
  showGhost(e, t) {
1904
1904
  let n = document.createElement("div");
1905
- n.className = "cm-drag-ghost", n.textContent = R(this.view.state.sliceDoc(e, t)).replace(Ge, "$1"), this.view.dom.appendChild(n), this.ghost = n;
1905
+ n.className = "cm-drag-ghost", n.textContent = R(this.view.state.sliceDoc(e, t)).replace(Ke, "$1"), this.view.dom.appendChild(n), this.ghost = n;
1906
1906
  }
1907
1907
  moveGhost(e, t) {
1908
1908
  this.ghost && (this.ghost.style.left = `${e + 12}px`, this.ghost.style.top = `${t + 12}px`);
@@ -2053,7 +2053,7 @@ var Ti = y.high(n.of([
2053
2053
  Ci,
2054
2054
  Ti,
2055
2055
  Di
2056
- ], ki = x.define({ combine: (e) => e[0] ?? {
2056
+ ], ki = re.define({ combine: (e) => e[0] ?? {
2057
2057
  open: () => "Taak, open",
2058
2058
  done: () => "Taak, afgerond"
2059
2059
  } }), Ai = class extends t {
@@ -2177,7 +2177,7 @@ function ta(e, t) {
2177
2177
  from: t.from,
2178
2178
  to: t.to,
2179
2179
  enter: (t) => {
2180
- t.name === "Blockquote" && Le(e, t.from, t.to, (e) => n.set(e, (n.get(e) ?? 0) + 1));
2180
+ t.name === "Blockquote" && Re(e, t.from, t.to, (e) => n.set(e, (n.get(e) ?? 0) + 1));
2181
2181
  }
2182
2182
  }), n;
2183
2183
  }
@@ -2240,7 +2240,7 @@ function fa(e) {
2240
2240
  }
2241
2241
  var pa = h.define({
2242
2242
  create: da,
2243
- update: (e, t) => t.docChanged || t.reconfigured || D(t.startState, t.state) || t.selection && fa(t.startState) !== fa(t.state) ? da(t.state) : e,
2243
+ update: (e, t) => t.docChanged || t.reconfigured || E(t.startState, t.state) || t.selection && fa(t.startState) !== fa(t.state) ? da(t.state) : e,
2244
2244
  provide: (e) => _.decorations.from(e)
2245
2245
  });
2246
2246
  function ma(e) {
@@ -2255,7 +2255,7 @@ function ma(e) {
2255
2255
  let i = Zi(e.node);
2256
2256
  if (i !== e.node || n(i.from, i.to)) return;
2257
2257
  let a = ia(t, i), o = ta(t, i), s = na(t, i), c = [0];
2258
- Le(t, i.from, i.to, (e) => {
2258
+ Re(t, i.from, i.to, (e) => {
2259
2259
  if (e > s) return;
2260
2260
  let n = t.doc.lineAt(e), i = a.get(e) ?? [], l = ra(n.text, i), u = l.reduce((e, [t, n]) => e + n - t, 0);
2261
2261
  for (let [t, n] of l) r.push(J.range(e + t, e + n));
@@ -2285,7 +2285,7 @@ function ma(e) {
2285
2285
  n(i.from, i.to) || r.push(J.range(e.from, a));
2286
2286
  } else if (e.name === "Link") {
2287
2287
  let i = e.node.getChild("URL"), a = e.node.getChildren("LinkMark");
2288
- if (!i || a.length < 2 || k(t, e.node)) return;
2288
+ if (!i || a.length < 2 || O(t, e.node)) return;
2289
2289
  n(e.from, e.to) || r.push(J.range(a[0].from, a[0].to), J.range(a[1].from, e.to));
2290
2290
  } else if (Li[e.name]?.includes(i.name) && !n(i.from, i.to) && (r.push(J.range(e.from, e.to)), e.name === "CodeMark" && e.from === i.from)) {
2291
2291
  let t = i.lastChild;
@@ -2310,7 +2310,7 @@ var ha = 3, ga = class {
2310
2310
  }), this.observing = !0);
2311
2311
  }
2312
2312
  update(e) {
2313
- this.observeLayer(), (e.docChanged || e.selectionSet || e.viewportChanged || D(e.startState, e.state) || e.transactions.some((e) => e.reconfigured)) && (this.decorations = ma(e.view));
2313
+ this.observeLayer(), (e.docChanged || e.selectionSet || e.viewportChanged || E(e.startState, e.state) || e.transactions.some((e) => e.reconfigured)) && (this.decorations = ma(e.view));
2314
2314
  }
2315
2315
  mendSelection() {
2316
2316
  let { view: e } = this, { from: t, to: n, empty: r } = e.state.selection.main, i = `${t}-${n}-${e.state.doc.length}`;
@@ -2365,7 +2365,7 @@ function va(e) {
2365
2365
  }), n);
2366
2366
  }
2367
2367
  function ya(e, t) {
2368
- let n = [...e].sort((e, t) => e.top - t.top);
2368
+ let n = e.toSorted((e, t) => e.top - t.top);
2369
2369
  for (let e = 1; e < n.length; e++) {
2370
2370
  let r = n[e - 1], i = n[e].top - (r.top + r.height);
2371
2371
  i > .25 && i < t / 2 && (r.piece.style.height = `${r.height + i}px`);
@@ -2392,7 +2392,7 @@ var ba = class {
2392
2392
  destroy() {
2393
2393
  this.observer.disconnect();
2394
2394
  }
2395
- }, xa = c.fromClass(ba), Sa = ae`
2395
+ }, xa = c.fromClass(ba), Sa = oe`
2396
2396
 
2397
2397
 
2398
2398
  /* # Host */
@@ -2535,7 +2535,7 @@ var ba = class {
2535
2535
  --_text-editor-popup-message-padding-inline: var(--primitives-space-16);
2536
2536
  --_text-editor-popup-message-color: var(--semantics-content-secondary-color);
2537
2537
 
2538
- ${Ae}
2538
+ ${je}
2539
2539
  display: flex;
2540
2540
  min-height: 0;
2541
2541
  flex-direction: column;
@@ -3512,10 +3512,10 @@ var ba = class {
3512
3512
  `;
3513
3513
  // src/components/inputs/text-editor/text-editor.template.ts
3514
3514
  function Ca(e) {
3515
- return ke`<div class="text-editor"><slot name="toolbar" ?hidden=${!e._hasSlottedToolbar}></slot></div>`;
3515
+ return Ae`<div class="text-editor"><slot name="toolbar" ?hidden=${!e._hasSlottedToolbar}></slot></div>`;
3516
3516
  }
3517
3517
  // src/components/inputs/text-editor/text-editor.code-copy.ts
3518
- var wa = x.define({ combine: (e) => e[0] ?? {
3518
+ var wa = re.define({ combine: (e) => e[0] ?? {
3519
3519
  copy: () => "Kopieer",
3520
3520
  success: () => "Gekopieerd",
3521
3521
  failure: () => "Kopiëren mislukt"
@@ -3611,7 +3611,7 @@ var Na = _.domEventHandlers({
3611
3611
  function Pa(e) {
3612
3612
  let t = h.define({
3613
3613
  create: Aa,
3614
- update: (e, t) => t.docChanged || t.reconfigured || D(t.startState, t.state) ? Aa(t.state) : e,
3614
+ update: (e, t) => t.docChanged || t.reconfigured || E(t.startState, t.state) ? Aa(t.state) : e,
3615
3615
  provide: (e) => _.decorations.from(e)
3616
3616
  });
3617
3617
  return [
@@ -3684,51 +3684,51 @@ function Ga(e) {
3684
3684
  let t = e.getRootNode();
3685
3685
  return t instanceof ShadowRoot && Ua(t.host) === "nldd-toolbar";
3686
3686
  }
3687
- var Q = /* @__PURE__ */ new Set();
3688
- function Ka(e) {
3687
+ var Q = /* @__PURE__ */ new Set(), Ka = /* @__PURE__ */ new WeakMap();
3688
+ function qa(e) {
3689
+ for (let t of Q) if (t.target.id === e) return t;
3690
+ }
3691
+ function Ja(e) {
3689
3692
  for (let t of e.composedPath()) if (t instanceof Element) {
3690
3693
  if (Ua(t) === "nldd-text-editor") return null;
3691
3694
  if (t.hasAttribute(Z)) return Ga(t) ? null : t;
3692
3695
  }
3693
3696
  return null;
3694
3697
  }
3695
- function qa(e) {
3698
+ function Ya(e) {
3696
3699
  for (let t of Wa(e)) {
3697
3700
  let e = t.getAttribute(Fa);
3698
- if (e !== null) {
3699
- if (e === "") return;
3700
- for (let t of Q) if (t.target.id === e) return t;
3701
- return;
3702
- }
3703
- for (let e of Q) if (e.target === t) return e;
3701
+ if (e !== null) return e === "" ? void 0 : qa(e);
3702
+ let n = Ka.get(t);
3703
+ if (n) return n;
3704
3704
  }
3705
3705
  }
3706
- function Ja(e) {
3706
+ function Xa(e) {
3707
3707
  return (t) => {
3708
- let n = Ka(t);
3709
- (n && qa(n))?.handle(e, t, n);
3708
+ let n = Ja(t);
3709
+ (n && Ya(n))?.handle(e, t, n);
3710
3710
  };
3711
3711
  }
3712
- var Ya = [
3712
+ var Za = [
3713
3713
  "click",
3714
3714
  "change",
3715
3715
  "select",
3716
3716
  "pointerdown",
3717
3717
  "keydown"
3718
- ].map((e) => [e, Ja(e)]), Xa = /* @__PURE__ */ new Set(["pointerdown", "keydown"]), Za = class {
3718
+ ].map((e) => [e, Xa(e)]), Qa = /* @__PURE__ */ new Set(["pointerdown", "keydown"]), $a = class {
3719
3719
  constructor(e, t) {
3720
3720
  this.target = e, this.focusText = t, this._listBeforePress = null;
3721
3721
  }
3722
3722
  connect() {
3723
- if (Q.size === 0) for (let [e, t] of Ya) document.addEventListener(e, t, Xa.has(e));
3724
- Q.add(this);
3723
+ if (Q.size === 0) for (let [e, t] of Za) document.addEventListener(e, t, Qa.has(e));
3724
+ Q.add(this), Ka.set(this.target, this);
3725
3725
  }
3726
3726
  disconnect() {
3727
- if (Q.delete(this), Q.size === 0) for (let [e, t] of Ya) document.removeEventListener(e, t, Xa.has(e));
3727
+ if (Q.delete(this), Ka.delete(this.target), Q.size === 0) for (let [e, t] of Za) document.removeEventListener(e, t, Qa.has(e));
3728
3728
  }
3729
3729
  controls() {
3730
- let e = [...this.target.querySelectorAll(`[${Z}]`)], t = this.target.id, n = t ? [...document.querySelectorAll(`[${Fa}="${CSS.escape(t)}"]`)].flatMap((e) => [...e.hasAttribute(Z) ? [e] : [], ...e.querySelectorAll(`[${Z}]`)]) : [];
3731
- return [...e, ...n].filter((e) => qa(e) === this);
3730
+ let e = [...this.target.querySelectorAll(`[${Z}]`)], t = this.target.id, n = t && qa(t) === this ? [...document.querySelectorAll(`[${Fa}="${CSS.escape(t)}"]`)].flatMap((e) => [...e.hasAttribute(Z) ? [e] : [], ...e.querySelectorAll(`[${Z}]`)]) : [];
3731
+ return [...e, ...n].filter((e) => Ya(e) === this);
3732
3732
  }
3733
3733
  _run(e) {
3734
3734
  let [t, n] = Ia(e);
@@ -3771,7 +3771,7 @@ var Ya = [
3771
3771
  t.toggleAttribute("disabled", !Ha(n, this.target, e)), i === "nldd-segmented-control" ? n === "setList" && (t.value = La(e)) : (i === "nldd-toggle-button" || i === "nldd-menu-item" || i === "nldd-segmented-control-item") && t.toggleAttribute("selected", za(n, r, e));
3772
3772
  }
3773
3773
  }
3774
- }, Qa = class {
3774
+ }, eo = class {
3775
3775
  constructor(e, t) {
3776
3776
  this.host = e, this.container = t, this._frame = 0, this._listening = !1, this._gap = 0, this._schedule = () => {
3777
3777
  this._frame || (this._frame = requestAnimationFrame(() => {
@@ -3798,22 +3798,22 @@ var Ya = [
3798
3798
  let t = e.getBoundingClientRect().top - this.container().getBoundingClientRect().top, n = e.classList.contains("is-stuck") ? this._gap : 0;
3799
3799
  e.classList.toggle("is-stuck", t > n + .5);
3800
3800
  }
3801
- }, $a = class extends _e {
3801
+ }, to = class extends ve {
3802
3802
  constructor(...e) {
3803
3803
  super(...e), this.noSpellcheck = !1, this.wrap = !0, this.resize = "auto", this.embedded = !1, this.syntax = "hidden", this.typeaheads = [], this._mentionTypeahead = ((e) => ({
3804
3804
  trigger: "@",
3805
3805
  source: (t) => e.mentionSource?.(t) ?? [],
3806
- insert: He,
3806
+ insert: Ue,
3807
3807
  get query() {
3808
3808
  return e.mentionQuery;
3809
3809
  },
3810
3810
  get emptyText() {
3811
3811
  return e.mentionEmptyText;
3812
3812
  }
3813
- }))(this), this.annotatable = !1, this.annotations = [], this.translations = {}, this.rowsProperty = "--_text-editor-rows", this._wrapCompartment = new l(), this._spellcheckCompartment = new l(), this._historyCompartment = new l(), this._syntaxCompartment = new l(), this._toolbar = new Za(this, () => this.view?.focus()), this._stuck = new Qa(this, () => this._container ?? null), this._hasSlottedToolbar = !1, this._labels = null, this._clipboard = new Cr(), this._plainPaste = null, this._lastState = null, this._onMentionPointerDown = (e) => {
3813
+ }))(this), this.annotatable = !1, this.annotations = [], this.translations = {}, this.rowsProperty = "--_text-editor-rows", this._wrapCompartment = new l(), this._spellcheckCompartment = new l(), this._historyCompartment = new l(), this._syntaxCompartment = new l(), this._toolbar = new $a(this, () => this.view?.focus()), this._stuck = new eo(this, () => this._container ?? null), this._hasSlottedToolbar = !1, this._labels = null, this._clipboard = new Cr(), this._plainPaste = null, this._lastState = null, this._onMentionPointerDown = (e) => {
3814
3814
  let t = e.target?.closest?.(".cm-md-mention-token");
3815
3815
  if (!t || !this.view || this.view.state.readOnly) return;
3816
- let n = tt(this.view.state, this.view.posAtDOM(t));
3816
+ let n = nt(this.view.state, this.view.posAtDOM(t));
3817
3817
  n && (e.preventDefault(), e.stopPropagation(), this.view.dispatch({ selection: {
3818
3818
  anchor: n.from,
3819
3819
  head: n.to
@@ -3849,7 +3849,7 @@ var Ya = [
3849
3849
  });
3850
3850
  }
3851
3851
  _t(e, t) {
3852
- return Me(this.translations, je, e, t);
3852
+ return Ne(this.translations, Me, e, t);
3853
3853
  }
3854
3854
  _labelSignature() {
3855
3855
  return [
@@ -3883,7 +3883,7 @@ var Ya = [
3883
3883
  open: () => this._t("components.text-editor.task-open-label"),
3884
3884
  done: () => this._t("components.text-editor.task-done-label")
3885
3885
  }),
3886
- this._historyCompartment.of(se()),
3886
+ this._historyCompartment.of(ce()),
3887
3887
  r(),
3888
3888
  xa,
3889
3889
  Oi,
@@ -3956,14 +3956,14 @@ var Ya = [
3956
3956
  super.onEditorMounted(), this.view?.contentDOM.addEventListener("pointerdown", this._onMentionPointerDown, !0), this.view?.contentDOM.addEventListener("click", this._onAnnotationBadgeClick), this._syncAnnotations(), this._emitState();
3957
3957
  }
3958
3958
  updated(e) {
3959
- if (super.updated(e), (e.has("disabled") || e.has("readonly")) && this._toolbar.reflect(), (e.has("embedded") || e.has("_hasSlottedToolbar")) && this.hasUpdated && this._stuck.update(), import.meta.env?.DEV && e.has("typeaheads") && Ne(this, "invalid-typeahead-query", pn(this.typeaheads)), !this.view) return;
3959
+ if (super.updated(e), (e.has("disabled") || e.has("readonly")) && this._toolbar.reflect(), (e.has("embedded") || e.has("_hasSlottedToolbar")) && this.hasUpdated && this._stuck.update(), import.meta.env?.DEV && e.has("typeaheads") && Pe(this, "invalid-typeahead-query", pn(this.typeaheads)), !this.view) return;
3960
3960
  let t = this._labelSignature();
3961
- t !== this._labels && (this._labels !== null && this.view.dispatch({ effects: Pe.of(null) }), this._labels = t), e.has("wrap") && this.reconfigure(this._wrapCompartment, this.wrap ? _.lineWrapping : []), e.has("syntax") && this.reconfigure(this._syntaxCompartment, this.syntax === "hidden" ? _a() : []), e.has("noSpellcheck") && (this.reconfigure(this._spellcheckCompartment, this.noSpellcheck ? [] : Ln()), this._redrawForSpellcheck()), (e.has("annotations") || e.has("annotatable")) && this._syncAnnotations();
3961
+ t !== this._labels && (this._labels !== null && this.view.dispatch({ effects: Fe.of(null) }), this._labels = t), e.has("wrap") && this.reconfigure(this._wrapCompartment, this.wrap ? _.lineWrapping : []), e.has("syntax") && this.reconfigure(this._syntaxCompartment, this.syntax === "hidden" ? _a() : []), e.has("noSpellcheck") && (this.reconfigure(this._spellcheckCompartment, this.noSpellcheck ? [] : Ln()), this._redrawForSpellcheck()), (e.has("annotations") || e.has("annotatable")) && this._syncAnnotations();
3962
3962
  }
3963
3963
  _syncAnnotations() {
3964
3964
  this.view?.dispatch({
3965
3965
  effects: Wn.of(this.annotatable ? this.annotations : []),
3966
- annotations: re.addToHistory.of(!1)
3966
+ annotations: ie.addToHistory.of(!1)
3967
3967
  });
3968
3968
  }
3969
3969
  toggleBold() {
@@ -4009,14 +4009,14 @@ var Ya = [
4009
4009
  this.view && Hr(this.view);
4010
4010
  }
4011
4011
  undo() {
4012
- this.view && (le(this.view), this.view.focus());
4012
+ this.view && (ue(this.view), this.view.focus());
4013
4013
  }
4014
4014
  redo() {
4015
- this.view && (fe(this.view), this.view.focus());
4015
+ this.view && (pe(this.view), this.view.focus());
4016
4016
  }
4017
4017
  clearHistory() {
4018
4018
  let e = this.view;
4019
- e && (e.dispatch({ effects: this._historyCompartment.reconfigure([]) }), e.dispatch({ effects: this._historyCompartment.reconfigure(se()) }), this._emitState());
4019
+ e && (e.dispatch({ effects: this._historyCompartment.reconfigure([]) }), e.dispatch({ effects: this._historyCompartment.reconfigure(ce()) }), this._emitState());
4020
4020
  }
4021
4021
  async copy() {
4022
4022
  if (!this.view || this.view.state.selection.main.empty) return;
@@ -4057,7 +4057,7 @@ var Ya = [
4057
4057
  applyChanges(e) {
4058
4058
  let t = this.view;
4059
4059
  if (!t || e.length === 0) return;
4060
- let n = t.state.doc.toString(), r = z(n), i = n.length - r.length, a = [...e].sort((e, t) => e.from - t.from).map((e) => {
4060
+ let n = t.state.doc.toString(), r = z(n), i = n.length - r.length, a = e.toSorted((e, t) => e.from - t.from).map((e) => {
4061
4061
  let t = Math.max(0, Math.min(e.from, i)), a = Math.max(t, Math.min(e.to ?? t, i)), o = V(r, t), s = t === a ? o : V(r, a);
4062
4062
  for (; s > o && n[s - 1] === "⁠";) s--;
4063
4063
  return {
@@ -4068,7 +4068,7 @@ var Ya = [
4068
4068
  });
4069
4069
  t.dispatch({
4070
4070
  changes: a,
4071
- annotations: [re.remote.of(!0), re.addToHistory.of(!1)]
4071
+ annotations: [ie.remote.of(!0), ie.addToHistory.of(!1)]
4072
4072
  });
4073
4073
  }
4074
4074
  setDoc(e) {
@@ -4148,7 +4148,7 @@ var Ya = [
4148
4148
  case "paste":
4149
4149
  this.paste();
4150
4150
  break;
4151
- default: Ne(this, "unknown-command", !0);
4151
+ default: Pe(this, "unknown-command", !0);
4152
4152
  }
4153
4153
  }
4154
4154
  getState() {
@@ -4157,8 +4157,8 @@ var Ya = [
4157
4157
  empty: !this.view || this.view.state.selection.main.empty,
4158
4158
  canIndent: this.view ? Ur(this.view) : !1,
4159
4159
  canOutdent: this.view ? Wr(this.view) : !1,
4160
- canUndo: this.view ? ue(this.view.state) > 0 : !1,
4161
- canRedo: this.view ? ve(this.view.state) > 0 : !1
4160
+ canUndo: this.view ? de(this.view.state) > 0 : !1,
4161
+ canRedo: this.view ? ye(this.view.state) > 0 : !1
4162
4162
  };
4163
4163
  }
4164
4164
  getSelection() {
@@ -4210,7 +4210,7 @@ var Ya = [
4210
4210
  id: t,
4211
4211
  text: r,
4212
4212
  from: n,
4213
- to: n + Ve(e.candidate).length
4213
+ to: n + He(e.candidate).length
4214
4214
  });
4215
4215
  } else this.dispatchEvent(new CustomEvent("typeahead", {
4216
4216
  detail: {
@@ -4233,25 +4233,25 @@ var Ya = [
4233
4233
  render() {
4234
4234
  return Ca(this);
4235
4235
  }
4236
- }, $ = ($a.styles = Sa, $a);
4237
- C([S({
4236
+ }, $ = (to.styles = Sa, to);
4237
+ S([x({
4238
4238
  type: Boolean,
4239
4239
  reflect: !0,
4240
4240
  attribute: "no-spellcheck"
4241
- })], $.prototype, "noSpellcheck", void 0), C([S({
4241
+ })], $.prototype, "noSpellcheck", void 0), S([x({
4242
4242
  type: Boolean,
4243
4243
  reflect: !0
4244
- })], $.prototype, "wrap", void 0), C([S({
4244
+ })], $.prototype, "wrap", void 0), S([x({
4245
4245
  reflect: !0,
4246
- converter: oe("auto")
4247
- })], $.prototype, "resize", void 0), C([S({
4246
+ converter: se("auto")
4247
+ })], $.prototype, "resize", void 0), S([x({
4248
4248
  type: Boolean,
4249
4249
  reflect: !0
4250
- })], $.prototype, "embedded", void 0), C([S({
4250
+ })], $.prototype, "embedded", void 0), S([x({
4251
4251
  reflect: !0,
4252
- converter: oe("hidden")
4253
- })], $.prototype, "syntax", void 0), C([S({ attribute: !1 })], $.prototype, "mentionSource", void 0), C([S({ attribute: !1 })], $.prototype, "mentionQuery", void 0), C([S({ attribute: !1 })], $.prototype, "mentionEmptyText", void 0), C([S({ attribute: !1 })], $.prototype, "typeaheads", void 0), C([S({
4252
+ converter: se("hidden")
4253
+ })], $.prototype, "syntax", void 0), S([x({ attribute: !1 })], $.prototype, "mentionSource", void 0), S([x({ attribute: !1 })], $.prototype, "mentionQuery", void 0), S([x({ attribute: !1 })], $.prototype, "mentionEmptyText", void 0), S([x({ attribute: !1 })], $.prototype, "typeaheads", void 0), S([x({
4254
4254
  type: Boolean,
4255
4255
  reflect: !0
4256
- })], $.prototype, "annotatable", void 0), C([S({ attribute: !1 })], $.prototype, "annotations", void 0), C([S({ type: Object })], $.prototype, "translations", void 0), C([we(".text-editor")], $.prototype, "_container", void 0), C([ie()], $.prototype, "_hasSlottedToolbar", void 0), $ = C([Ce("nldd-text-editor")], $);
4256
+ })], $.prototype, "annotatable", void 0), S([x({ attribute: !1 })], $.prototype, "annotations", void 0), S([x({ type: Object })], $.prototype, "translations", void 0), S([Te(".text-editor")], $.prototype, "_container", void 0), S([ae()], $.prototype, "_hasSlottedToolbar", void 0), $ = S([we("nldd-text-editor")], $);
4257
4257
  export { un as DEFAULT_TYPEAHEAD_QUERY, $ as NLDDTextEditor };