@nldd/design-system 0.30.1 → 0.31.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.
- package/custom-elements.json +283 -10
- package/dist/cdn/autoloader.js +139 -139
- package/dist/cdn/chunks/{accordion-BcgFdNtq.js → accordion-D7VeSx-7.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-DIoa4wMw.js → accordion-item-DjFnuCY9.js} +5 -5
- package/dist/cdn/chunks/{activity-indicator-BmpMwyBH.js → activity-indicator-nshVcQbZ.js} +5 -5
- package/dist/cdn/chunks/{admonition-DUsuT-qK.js → admonition-BhYcjvcU.js} +5 -5
- package/dist/cdn/chunks/{avatar-BFnVbTB9.js → avatar-Dw9XZk73.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-BDgLxUn9.js → avatar-group-B0ZliBMF.js} +15 -15
- package/dist/cdn/chunks/{badge-CAN4lWcI.js → badge-2ObEfIYt.js} +6 -6
- package/dist/cdn/chunks/{banner-BncAmkYl.js → banner-D9d_367R.js} +8 -8
- package/dist/cdn/chunks/{bar-split-view-hlmRlFit.js → bar-split-view-Cpq5j2Yd.js} +5 -5
- package/dist/cdn/chunks/{blockquote-DUAwVT6v.js → blockquote-M372pBfW.js} +5 -5
- package/dist/cdn/chunks/{box-CasAZ5pk.js → box-bpcNQSk1.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DBHmoFPu.js → breadcrumbs-YBuCnLD2.js} +6 -6
- package/dist/cdn/chunks/{button-IRm7Oibq.js → button-BsJDVMS5.js} +10 -10
- package/dist/cdn/chunks/{button-bar-CocGraYA.js → button-bar-C7WBKVht.js} +3 -3
- package/dist/cdn/chunks/{button-group-BfNf2BZe.js → button-group-D3zUCJnu.js} +2 -2
- package/dist/cdn/chunks/{card-BaomP9oB.js → card-BY2Fz35J.js} +4 -4
- package/dist/cdn/chunks/{cell-Dir3g5vA.js → cell-DfQcb8oJ.js} +6 -6
- package/dist/cdn/chunks/{checkbox-CIXkUW3R.js → checkbox-BurSrNRq.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-DQ4MlASP.js → checkbox-field-jcCJRers.js} +8 -8
- package/dist/cdn/chunks/{checkbox-group-C8E46V4D.js → checkbox-group--6ifWQ_F.js} +3 -3
- package/dist/cdn/chunks/{class-map-D0fkDSLP.js → class-map-pfTGN6Lt.js} +1 -1
- package/dist/cdn/chunks/{code-editor-C8YqZrN-.js → code-editor-D6xQxxSm.js} +13 -13
- package/dist/cdn/chunks/{code-viewer-Ck7wxfDo.js → code-viewer-CsO0Hzkz.js} +38 -38
- package/dist/cdn/chunks/{codemirror-input-DNrSyYSw.js → codemirror-input-Bu7mes2L.js} +345 -345
- package/dist/cdn/chunks/{collection-DprNdn8V.js → collection-CLD0J381.js} +8 -8
- package/dist/cdn/chunks/{combo-box-B2L79FY5.js → combo-box-cC87aRbF.js} +11 -9
- package/dist/cdn/chunks/{container-Cg4kOUN8.js → container-Dcd-wtk5.js} +3 -3
- package/dist/cdn/chunks/{custom-element-CDepWGgp.js → custom-element-BPzCecdN.js} +1 -1
- package/dist/cdn/chunks/{date-field-Dsw2EkcZ.js → date-field-CfIXnk2K.js} +14 -12
- package/dist/cdn/chunks/{date-picker-ugS3-VBq.js → date-picker-D4W0Be1y.js} +11 -11
- package/dist/cdn/chunks/{decorate-CuJsiFnl.js → decorate-CNSW3HVY.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Ih_IoqBD.js → described-by-mixin-BNEosRlm.js} +2 -2
- package/dist/cdn/chunks/{description-cell-DiLwKDva.js → description-cell-3zl0cEJE.js} +7 -7
- package/dist/cdn/chunks/{dev-checks-Bfy3qHxO.js → dev-checks-sh4nGzvD.js} +1 -1
- package/dist/cdn/chunks/{directive-helpers-DEvA8txp.js → directive-helpers-C8_pU38P.js} +1 -1
- package/dist/cdn/chunks/{dist-C8wDJyDH.js → dist-BA1lxpkp.js} +66 -66
- package/dist/cdn/chunks/{dist-DsQS8bTi.js → dist-BMreXo8L.js} +36 -36
- package/dist/cdn/chunks/{dist-BFGGXlGI.js → dist-BQhMIRwq.js} +83 -83
- package/dist/cdn/chunks/{dist-CUXioD4z.js → dist-BwkztXx2.js} +307 -307
- package/dist/cdn/chunks/{dist-cg8p9qPS.js → dist-C0eqMXKG.js} +12 -12
- package/dist/cdn/chunks/{dist-s2b8iJ30.js → dist-CYoggrc-.js} +66 -66
- package/dist/cdn/chunks/{dist-CrMq7oqC.js → dist-D8GVh7JF.js} +103 -103
- package/dist/cdn/chunks/{dist-Cr0OiT-0.js → dist-DHJOmDf7.js} +1 -1
- package/dist/cdn/chunks/{dist-BEZuPWxd.js → dist-DosCjwbX.js} +75 -75
- package/dist/cdn/chunks/{dist-UpdpX10o.js → dist-Du5XeaUH.js} +80 -80
- package/dist/cdn/chunks/{dist-DPnEBzju.js → dist-DwGJ42jg.js} +36 -36
- package/dist/cdn/chunks/{dist-BYPfq6x4.js → dist-DzvZLbav.js} +35 -35
- package/dist/cdn/chunks/{dist-Djmp37M0.js → dist-UPMuGK3l.js} +47 -47
- package/dist/cdn/chunks/{divider-DeLH4QwC.js → divider-ja-sWdqK.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-bOkWFMdJ.js → document-tab-bar-CzlWDPeb.js} +9 -9
- package/dist/cdn/chunks/{dropdown-C1NBctuB.js → dropdown-CDnfyMTi.js} +5 -5
- package/dist/cdn/chunks/{file-field-DFjBl7rn.js → file-field-VGbq3duI.js} +14 -14
- package/dist/cdn/chunks/{form-mkjbjprY.js → form-EDk-AXxW.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DcsN5H-J.js → form-actions-DJlOHVjC.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-YG9BXK0j.js → form-associated-mixin-BDrjhoXJ.js} +2 -2
- package/dist/cdn/chunks/{form-field-BWtox2o0.js → form-field-DwfFYaIJ.js} +8 -8
- package/dist/cdn/chunks/{form-section-CLuotkhm.js → form-section-D5pvpU0g.js} +3 -3
- package/dist/cdn/chunks/{full-bleed-section-CZfvZFDs.js → full-bleed-section-B2lrxacX.js} +3 -3
- package/dist/cdn/chunks/{hero-C_x5gAKl.js → hero-8OBYFEcb.js} +4 -4
- package/dist/cdn/chunks/{icon-CeybqndL.js → icon-DZh6I8EN.js} +2 -2
- package/dist/cdn/chunks/{icon-button-BLe-iiU5.js → icon-button-Cfl9Uloz.js} +10 -10
- package/dist/cdn/chunks/{icon-cell-DUBctf2q.js → icon-cell-BKxm4x3C.js} +5 -5
- package/dist/cdn/chunks/{identity-C4FW2LCv.js → identity-D6mA_Ysl.js} +7 -7
- package/dist/cdn/chunks/{if-defined-DwzUaXrb.js → if-defined-Laa7Mar_.js} +1 -1
- package/dist/cdn/chunks/{image-7aQSrryL.js → image-BNQlE_4Z.js} +9 -9
- package/dist/cdn/chunks/{inline-dialog-B9o9ckxL.js → inline-dialog-5vpq_6bt.js} +8 -8
- package/dist/cdn/chunks/{just-in-time-education-C-3THmVJ.js → just-in-time-education-C8uCzm2s.js} +5 -5
- package/dist/cdn/chunks/{kanban-BemPSLk8.js → kanban-_aubAWTm.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-CYZjUBUd.js → kanban-column-CmitV46A.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-BK35aEeR.js → keyboard-shortcut-DY96tl24.js} +3 -3
- package/dist/cdn/chunks/{languages-CT6Im_c5.js → languages-B0lgBg4r.js} +181 -170
- package/dist/cdn/chunks/{link-Lbw4Ut52.js → link-CEyAJ_y7.js} +6 -6
- package/dist/cdn/chunks/{link-group-B1XXP70E.js → link-group-DwnzL75g.js} +2 -2
- package/dist/cdn/chunks/{list-D2vWEpYC.js → list-D-_Z5AED.js} +9 -9
- package/dist/cdn/chunks/{list-item-Y0wOQqRa.js → list-item-BqzGOqJl.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-BamNSRcL.js → list-item-segment-Ct876W0e.js} +4 -4
- package/dist/cdn/chunks/{menu-Cvwt6mA5.js → menu-BDLqu0jO.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-D9Etcq_r.js → menu-bar-DbCYdFuj.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-BUVqi3o-.js → menu-bar-item-CFfcPjci.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-BqRMxjF3.js → menu-divider-DTzCjHnW.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BSnRGQgm.js → menu-group-rYPRHllx.js} +4 -4
- package/dist/cdn/chunks/{menu-item-UQoejlK0.js → menu-item-CjzoSHHj.js} +4 -4
- package/dist/cdn/chunks/{menu.template-CewvJO-Y.js → menu.template-D7dG2HRa.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-C6XUoI95.js → modal-dialog-Cjn3EHfN.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-4Vn5Nrjo.js → multi-line-text-field-B8DstPYy.js} +8 -6
- package/dist/cdn/chunks/{navigation-split-view-BEwcAHWu.js → navigation-split-view-BHM4b_Gb.js} +5 -5
- package/dist/cdn/chunks/{nl.generated-CrkPlg69.js → nl.generated-Bu83qDco.js} +1 -1
- package/dist/cdn/chunks/{notification-DxsARz6U.js → notification-CieKHgKd.js} +7 -7
- package/dist/cdn/chunks/{number-field-wFK_taVU.js → number-field-CVYaConf.js} +10 -8
- package/dist/cdn/chunks/{one-half-one-half-section-CyedWMlH.js → one-half-one-half-section-aMdIJ_5N.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-LRJlzoAZ.js → one-third-two-thirds-section-Dalek6lE.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BYQfRePV.js → one-time-code-field-BxkICLRG.js} +17 -12
- package/dist/cdn/chunks/{overflow-menu-BdEHECvL.js → overflow-menu-GR6uppZW.js} +1 -1
- package/dist/cdn/chunks/{page-DpGgV58g.js → page-C18ixnPr.js} +5 -5
- package/dist/cdn/chunks/{page-footer-DxaWwS8U.js → page-footer-CP6K-aw-.js} +5 -5
- package/dist/cdn/chunks/{page-section-mixin-DigQhtVE.js → page-section-mixin-BLPRaUH6.js} +3 -3
- package/dist/cdn/chunks/{pagination-Ch0EdxDX.js → pagination-YLIq3Jcw.js} +7 -7
- package/dist/cdn/chunks/{password-field-Dm8ah1v8.js → password-field-CCRqiNHh.js} +11 -9
- package/dist/cdn/chunks/{popover-Bhr3Nbst.js → popover-NvRaYQGL.js} +5 -5
- package/dist/cdn/chunks/{progress-bar-BBpNc1Wm.js → progress-bar-DS0_RN2t.js} +8 -8
- package/dist/cdn/chunks/{progress-circle-DfbawfeQ.js → progress-circle-B5zlQKGK.js} +8 -8
- package/dist/cdn/chunks/{radio-button-field-H_NQqcZp.js → radio-button-field-DZ2p1w_S.js} +7 -7
- package/dist/cdn/chunks/{radio-button-D_KTcIAN.js → radio-button-gY-u--Id.js} +4 -4
- package/dist/cdn/chunks/{radio-button-group-kbaWn4YY.js → radio-button-group-C0VdrjGz.js} +3 -3
- package/dist/cdn/chunks/{render-marked-DnJwRVpy.js → render-marked-SMLwIKOz.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BI4CugME.js → reorder-handle-cell-BfNGWoUb.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-LPcbGhhD.js → reorder-handle-mixin-Dy5l6J0C.js} +2 -2
- package/dist/cdn/chunks/{repeat-BBqtniIo.js → repeat-HQymq8gF.js} +2 -2
- package/dist/cdn/chunks/{rich-text-xlU1NiF6.js → rich-text-BALF1UpX.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CyqWb67i.js → row-header-mixin-De75PIGu.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-CTn6QJuM.js → scroll-fade-Bj7GnOWo.js} +2 -2
- package/dist/cdn/chunks/{search-field-OpYujGwS.js → search-field-DP7e4bm8.js} +12 -10
- package/dist/cdn/chunks/{segmented-control-8NtY_sU6.js → segmented-control-BXtb8I7v.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-CtbMaZlz.js → shadow-resets-CF-vkJJ8.js} +2 -2
- package/dist/cdn/chunks/{sheet-C_biEFcb.js → sheet-Beykq5Xb.js} +3 -3
- package/dist/cdn/chunks/{shell-OXRr3zFb.js → shell-CTGO74H-.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DVXrHULp.js → side-by-side-split-view-BZlxFAIM.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-DYa_6OWF.js → sidebar-section-CsODVvuK.js} +8 -8
- package/dist/cdn/chunks/{simple-section-CGUSyUAl.js → simple-section-9pgvujZx.js} +3 -3
- package/dist/cdn/chunks/{skip-link-Dl2ouKZk.js → skip-link-qdhDQoe7.js} +5 -5
- package/dist/cdn/chunks/{slider-Do-LOJNR.js → slider-CR_O2nPE.js} +9 -9
- package/dist/cdn/chunks/{spacer-BgHrBz2X.js → spacer-DbZEWOe2.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-CiQ8Ufpp.js → spacer-cell-BnDgG-8g.js} +4 -4
- package/dist/cdn/chunks/{split-button-Sd_-qYSD.js → split-button-rY9ZZF4m.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-D1TzV2VR.js → split-view-divider-CXsR2koZ.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-Ctlqwe0S.js → stacked-split-view-CA97yLNG.js} +4 -4
- package/dist/cdn/chunks/{static-html-C8oeEnJZ.js → static-html-CfvOicw5.js} +1 -1
- package/dist/cdn/chunks/{status-bar-u2SmYnKZ.js → status-bar-Cg0AkR2_.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BA852p33.js → step-bar-CAF54DmI.js} +6 -6
- package/dist/cdn/chunks/{step-cell-DF9xadrF.js → step-cell-BfmEAqar.js} +5 -5
- package/dist/cdn/chunks/{stepper-dRpkKCse.js → stepper-C2oRKeaC.js} +7 -7
- package/dist/cdn/chunks/{style-map-eCE91iAi.js → style-map-BZRDrOiA.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Bjv3Yyk1.js → swatch-picker-DW07gML2.js} +6 -6
- package/dist/cdn/chunks/{switch-DJBzXPfD.js → switch-D3dbZ1J9.js} +6 -6
- package/dist/cdn/chunks/{switch-field-uMAxSz6L.js → switch-field-DrP2P8J-.js} +7 -7
- package/dist/cdn/chunks/{tab-bar-DLHqLs6Y.js → tab-bar-D0VfxxWN.js} +8 -8
- package/dist/cdn/chunks/{table-BLvkO5AG.js → table-CWQWdro8.js} +5 -5
- package/dist/cdn/chunks/{tag-DYhl2u2I.js → tag-Dc2wNx-T.js} +5 -5
- package/dist/cdn/chunks/{term-D79d-lz3.js → term-DUIQ5xer.js} +12 -12
- package/dist/cdn/chunks/{text-kRZ3cyId.js → text-BGobv84x.js} +4 -4
- package/dist/cdn/chunks/{text-cell-BbVoThab.js → text-cell-CGvUJRLw.js} +9 -9
- package/dist/cdn/chunks/{text-editor-dZhei5Gg.js → text-editor-CHsINr20.js} +1307 -903
- package/dist/cdn/chunks/{text-editor.i18n-sJKiRQ4i.js → text-editor.i18n-Cl_BYDwS.js} +2 -1
- package/dist/cdn/chunks/{text-field-DmKGVJvm.js → text-field-CpSGZVmD.js} +8 -6
- package/dist/cdn/chunks/{text-wrap-C6QQbSuj.js → text-wrap-DHroWilR.js} +2 -2
- package/dist/cdn/chunks/{time-field-BXVxhV80.js → time-field-CJVbIp-l.js} +16 -14
- package/dist/cdn/chunks/{time-picker-BjJfPmir.js → time-picker-S2rQpNA-.js} +6 -6
- package/dist/cdn/chunks/{title-DsOLSMHj.js → title-DrogO1fi.js} +5 -5
- package/dist/cdn/chunks/{title-cell-DXcur6Eb.js → title-cell-CX_yGWvW.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-7fasRpr1.js → toggle-button-CwVn3pQ-.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-group-B9No_FIj.js → toggle-button-group-BY4GlP2N.js} +2 -2
- package/dist/cdn/chunks/{token-field-C9fGsIxB.js → token-field-CgE9PfeW.js} +13 -11
- package/dist/cdn/chunks/{token-BYCl-dDP.js → token-vYddtNLa.js} +5 -5
- package/dist/cdn/chunks/{toolbar-CBs6yMNd.js → toolbar-Cl9XcbRF.js} +9 -9
- package/dist/cdn/chunks/{toolbar-item-DYVo5I60.js → toolbar-item-BQKbNQGY.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-Bu5PbFPP.js → toolbar-title-Ka7Q_vfZ.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BUS-XIdr.js → toolbar.styles-QMkPXyiR.js} +3 -3
- package/dist/cdn/chunks/{tooltip-yXDfEbZ1.js → tooltip-BERJsBSV.js} +5 -5
- package/dist/cdn/chunks/{top-navigation-bar-DW6xYKY0.js → top-navigation-bar-CJCQf83I.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-Fk4jzs8I.js → top-title-bar-CT4gj9gn.js} +6 -6
- package/dist/cdn/chunks/{two-thirds-one-third-section-B9a1YYXm.js → two-thirds-one-third-section-CQwCU61R.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BAyP6Ccd.js → validation-list-3b8a8S3f.js} +5 -5
- package/dist/cdn/chunks/{visibility-mixin-9Nr_J68Z.js → visibility-mixin-BDaVoR0J.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BN6jVrRE.js → visually-hidden-GgT4UkeT.js} +2 -2
- package/dist/cdn/chunks/{window-D4rLzdHo.js → window-BTU1k5p4.js} +4 -4
- package/dist/cdn/chunks/{with-translations-RkK-Bq8M.js → with-translations-D3sJ-X8x.js} +3 -3
- package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +2 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +2 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +2 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +2 -0
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +5 -2
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +10 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +2 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +2 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +2 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +9 -7
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts +1 -0
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +12 -2
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.js +6 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus.d.ts +13 -0
- package/dist/components/inputs/text-editor/text-editor.focus.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.focus.js +54 -0
- package/dist/components/inputs/text-editor/text-editor.focus.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +14 -5
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.highlight.d.ts +3 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.js +28 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js +3 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +67 -6
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts +22 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.js +134 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +14 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +41 -12
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.js +35 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +18 -2
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js +7 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +6 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +6 -3
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +116 -12
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.js +14 -2
- package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.variables.d.ts +20 -0
- package/dist/components/inputs/text-editor/text-editor.variables.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.variables.js +148 -0
- package/dist/components/inputs/text-editor/text-editor.variables.js.map +1 -0
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +2 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +2 -0
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +2 -0
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/css/themes/donkergeel.css +5 -6
- package/dist/css/themes/geel.css +5 -6
- package/dist/css/themes.css +10 -12
- package/dist/css/variables.css +2 -6
- package/dist/nldd.min.js +1026 -903
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +1 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +1 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +1 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +1 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +4 -4
- package/dist/types/vue.d.ts +6 -4
- package/lint/data.generated.json +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./decorate-
|
|
1
|
+
import { n as e } from "./decorate-CNSW3HVY.js";
|
|
2
2
|
import { t } from "./defer-focus-F73ud2D9.js";
|
|
3
3
|
// node_modules/@lezer/common/dist/index.js
|
|
4
4
|
var n = 1024, r = 0, i = class {
|
|
@@ -9378,7 +9378,7 @@ var Cl = /*@__PURE__*/ new a(), $ = class {
|
|
|
9378
9378
|
constructor(e, t, n = [], r = "") {
|
|
9379
9379
|
this.data = e, this.name = r, I.prototype.hasOwnProperty("tree") || Object.defineProperty(I.prototype, "tree", { get() {
|
|
9380
9380
|
return El(this);
|
|
9381
|
-
} }), this.parser = t, this.extension = [
|
|
9381
|
+
} }), this.parser = t, this.extension = [Il.of(this), I.languageData.of((e, t, n) => {
|
|
9382
9382
|
let r = wl(e, t, n), i = r.type.prop(xl);
|
|
9383
9383
|
if (!i) return [];
|
|
9384
9384
|
let a = e.facet(i), o = r.type.prop(Cl);
|
|
@@ -9396,7 +9396,7 @@ var Cl = /*@__PURE__*/ new a(), $ = class {
|
|
|
9396
9396
|
return wl(e, t, n).type.prop(xl) == this.data;
|
|
9397
9397
|
}
|
|
9398
9398
|
findRegions(e) {
|
|
9399
|
-
let t = e.facet(
|
|
9399
|
+
let t = e.facet(Il);
|
|
9400
9400
|
if (t?.data == this.data) return [{
|
|
9401
9401
|
from: 0,
|
|
9402
9402
|
to: e.doc.length
|
|
@@ -9441,7 +9441,7 @@ var Cl = /*@__PURE__*/ new a(), $ = class {
|
|
|
9441
9441
|
};
|
|
9442
9442
|
$.setState = /*@__PURE__*/ P.define();
|
|
9443
9443
|
function wl(e, t, n) {
|
|
9444
|
-
let r = e.facet(
|
|
9444
|
+
let r = e.facet(Il), i = El(e).topNode;
|
|
9445
9445
|
if (!r || r.allowsNesting) for (let e = i; e; e = e.enter(t, n, f.ExcludeBuffers | f.EnterBracketed)) e.type.isTop && (i = e);
|
|
9446
9446
|
return i;
|
|
9447
9447
|
}
|
|
@@ -9464,7 +9464,18 @@ function El(e) {
|
|
|
9464
9464
|
let t = e.field($.state, !1);
|
|
9465
9465
|
return t ? t.tree : p.empty;
|
|
9466
9466
|
}
|
|
9467
|
-
|
|
9467
|
+
function Dl(e, t, n = 50) {
|
|
9468
|
+
let r = e.field($.state, !1)?.context;
|
|
9469
|
+
if (!r) return null;
|
|
9470
|
+
let i = r.viewport;
|
|
9471
|
+
r.updateViewport({
|
|
9472
|
+
from: 0,
|
|
9473
|
+
to: t
|
|
9474
|
+
});
|
|
9475
|
+
let a = r.isDone(t) || r.work(n, t) ? r.tree : null;
|
|
9476
|
+
return r.updateViewport(i), a;
|
|
9477
|
+
}
|
|
9478
|
+
var Ol = class {
|
|
9468
9479
|
constructor(e) {
|
|
9469
9480
|
this.doc = e, this.cursorPos = 0, this.string = "", this.cursor = e.iter();
|
|
9470
9481
|
}
|
|
@@ -9484,7 +9495,7 @@ var Dl = class {
|
|
|
9484
9495
|
let n = this.cursorPos - this.string.length;
|
|
9485
9496
|
return e < n || t >= this.cursorPos ? this.doc.sliceString(e, t) : this.string.slice(e - n, t - n);
|
|
9486
9497
|
}
|
|
9487
|
-
},
|
|
9498
|
+
}, kl = null, Al = class e {
|
|
9488
9499
|
constructor(e, t, n = [], r, i, a, o, s) {
|
|
9489
9500
|
this.parser = e, this.state = t, this.fragments = n, this.tree = r, this.treeLen = i, this.viewport = a, this.skipped = o, this.scheduleOn = s, this.parse = null, this.tempSkipped = [];
|
|
9490
9501
|
}
|
|
@@ -9492,7 +9503,7 @@ var Dl = class {
|
|
|
9492
9503
|
return new e(t, n, [], p.empty, 0, r, [], null);
|
|
9493
9504
|
}
|
|
9494
9505
|
startParse() {
|
|
9495
|
-
return this.parser.startParse(new
|
|
9506
|
+
return this.parser.startParse(new Ol(this.state.doc), this.fragments);
|
|
9496
9507
|
}
|
|
9497
9508
|
work(e, t) {
|
|
9498
9509
|
return t != null && t >= this.state.doc.length && (t = void 0), this.tree != p.empty && this.isDone(t ?? this.state.doc.length) ? (this.takeTree(), !0) : this.withContext(() => {
|
|
@@ -9517,16 +9528,16 @@ var Dl = class {
|
|
|
9517
9528
|
}), this.treeLen = e, this.tree = t, this.fragments = this.withoutTempSkipped(ue.addTree(this.tree, this.fragments, !0)), this.parse = null);
|
|
9518
9529
|
}
|
|
9519
9530
|
withContext(e) {
|
|
9520
|
-
let t =
|
|
9521
|
-
|
|
9531
|
+
let t = kl;
|
|
9532
|
+
kl = this;
|
|
9522
9533
|
try {
|
|
9523
9534
|
return e();
|
|
9524
9535
|
} finally {
|
|
9525
|
-
|
|
9536
|
+
kl = t;
|
|
9526
9537
|
}
|
|
9527
9538
|
}
|
|
9528
9539
|
withoutTempSkipped(e) {
|
|
9529
|
-
for (let t; t = this.tempSkipped.pop();) e =
|
|
9540
|
+
for (let t; t = this.tempSkipped.pop();) e = jl(e, t.from, t.to);
|
|
9530
9541
|
return e;
|
|
9531
9542
|
}
|
|
9532
9543
|
changes(t, n) {
|
|
@@ -9560,7 +9571,7 @@ var Dl = class {
|
|
|
9560
9571
|
let t = this.skipped.length;
|
|
9561
9572
|
for (let t = 0; t < this.skipped.length; t++) {
|
|
9562
9573
|
let { from: n, to: r } = this.skipped[t];
|
|
9563
|
-
n < e.to && r > e.from && (this.fragments =
|
|
9574
|
+
n < e.to && r > e.from && (this.fragments = jl(this.fragments, n, r), this.skipped.splice(t--, 1));
|
|
9564
9575
|
}
|
|
9565
9576
|
return this.skipped.length >= t ? !1 : (this.reset(), !0);
|
|
9566
9577
|
}
|
|
@@ -9580,7 +9591,7 @@ var Dl = class {
|
|
|
9580
9591
|
return {
|
|
9581
9592
|
parsedPos: i,
|
|
9582
9593
|
advance() {
|
|
9583
|
-
let t =
|
|
9594
|
+
let t = kl;
|
|
9584
9595
|
if (t) {
|
|
9585
9596
|
for (let e of r) t.tempSkipped.push(e);
|
|
9586
9597
|
e && (t.scheduleOn = t.scheduleOn ? Promise.all([t.scheduleOn, e]) : e);
|
|
@@ -9599,10 +9610,10 @@ var Dl = class {
|
|
|
9599
9610
|
return this.treeLen >= e && t.length && t[0].from == 0 && t[0].to >= e;
|
|
9600
9611
|
}
|
|
9601
9612
|
static get() {
|
|
9602
|
-
return
|
|
9613
|
+
return kl;
|
|
9603
9614
|
}
|
|
9604
9615
|
};
|
|
9605
|
-
function
|
|
9616
|
+
function jl(e, t, n) {
|
|
9606
9617
|
return ue.applyChanges(e, [{
|
|
9607
9618
|
fromA: t,
|
|
9608
9619
|
toA: n,
|
|
@@ -9610,7 +9621,7 @@ function Al(e, t, n) {
|
|
|
9610
9621
|
toB: n
|
|
9611
9622
|
}]);
|
|
9612
9623
|
}
|
|
9613
|
-
var
|
|
9624
|
+
var Ml = class e {
|
|
9614
9625
|
constructor(e) {
|
|
9615
9626
|
this.context = e, this.tree = e.tree;
|
|
9616
9627
|
}
|
|
@@ -9620,7 +9631,7 @@ var jl = class e {
|
|
|
9620
9631
|
return n.work(20, r) || n.takeTree(), new e(n);
|
|
9621
9632
|
}
|
|
9622
9633
|
static init(t) {
|
|
9623
|
-
let n = Math.min(3e3, t.doc.length), r =
|
|
9634
|
+
let n = Math.min(3e3, t.doc.length), r = Al.create(t.facet(Il).parser, t, {
|
|
9624
9635
|
from: 0,
|
|
9625
9636
|
to: n
|
|
9626
9637
|
});
|
|
@@ -9628,23 +9639,23 @@ var jl = class e {
|
|
|
9628
9639
|
}
|
|
9629
9640
|
};
|
|
9630
9641
|
$.state = /*@__PURE__*/ Ut.define({
|
|
9631
|
-
create:
|
|
9642
|
+
create: Ml.init,
|
|
9632
9643
|
update(e, t) {
|
|
9633
9644
|
for (let e of t.effects) if (e.is($.setState)) return e.value;
|
|
9634
|
-
return t.startState.facet(
|
|
9645
|
+
return t.startState.facet(Il) == t.state.facet(Il) ? e.apply(t) : Ml.init(t.state);
|
|
9635
9646
|
}
|
|
9636
9647
|
});
|
|
9637
|
-
var
|
|
9648
|
+
var Nl = (e) => {
|
|
9638
9649
|
let t = setTimeout(() => e(), 500);
|
|
9639
9650
|
return () => clearTimeout(t);
|
|
9640
9651
|
};
|
|
9641
|
-
typeof requestIdleCallback < "u" && (
|
|
9652
|
+
typeof requestIdleCallback < "u" && (Nl = (e) => {
|
|
9642
9653
|
let t = -1, n = setTimeout(() => {
|
|
9643
9654
|
t = requestIdleCallback(e, { timeout: 400 });
|
|
9644
9655
|
}, 100);
|
|
9645
9656
|
return () => t < 0 ? clearTimeout(n) : cancelIdleCallback(t);
|
|
9646
9657
|
});
|
|
9647
|
-
var
|
|
9658
|
+
var Pl = typeof navigator < "u" && navigator.scheduling?.isInputPending ? () => navigator.scheduling.isInputPending() : null, Fl = /*@__PURE__*/ Ui.fromClass(class {
|
|
9648
9659
|
constructor(e) {
|
|
9649
9660
|
this.view = e, this.working = null, this.workScheduled = 0, this.chunkEnd = -1, this.chunkBudget = -1, this.work = this.work.bind(this), this.scheduleWork();
|
|
9650
9661
|
}
|
|
@@ -9655,7 +9666,7 @@ var Nl = typeof navigator < "u" && navigator.scheduling?.isInputPending ? () =>
|
|
|
9655
9666
|
scheduleWork() {
|
|
9656
9667
|
if (this.working) return;
|
|
9657
9668
|
let { state: e } = this.view, t = e.field($.state);
|
|
9658
|
-
t.tree == t.context.tree && t.context.isDone(e.doc.length) || (this.working =
|
|
9669
|
+
t.tree == t.context.tree && t.context.isDone(e.doc.length) || (this.working = Nl(this.work));
|
|
9659
9670
|
}
|
|
9660
9671
|
work(e) {
|
|
9661
9672
|
this.working = null;
|
|
@@ -9663,8 +9674,8 @@ var Nl = typeof navigator < "u" && navigator.scheduling?.isInputPending ? () =>
|
|
|
9663
9674
|
if (this.chunkEnd < t && (this.chunkEnd < 0 || this.view.hasFocus) && (this.chunkEnd = t + 3e4, this.chunkBudget = 3e3), this.chunkBudget <= 0) return;
|
|
9664
9675
|
let { state: n, viewport: { to: r } } = this.view, i = n.field($.state);
|
|
9665
9676
|
if (i.tree == i.context.tree && i.context.isDone(r + 1e5)) return;
|
|
9666
|
-
let a = Date.now() + Math.min(this.chunkBudget, 100, e && !
|
|
9667
|
-
this.chunkBudget -= Date.now() - t, (s || this.chunkBudget <= 0) && (i.context.takeTree(), this.view.dispatch({ effects: $.setState.of(new
|
|
9677
|
+
let a = Date.now() + Math.min(this.chunkBudget, 100, e && !Pl ? Math.max(25, e.timeRemaining() - 5) : 1e9), o = i.context.treeLen < r && n.doc.length > r + 1e3, s = i.context.work(() => Pl && Pl() || Date.now() > a, r + (o ? 0 : 1e5));
|
|
9678
|
+
this.chunkBudget -= Date.now() - t, (s || this.chunkBudget <= 0) && (i.context.takeTree(), this.view.dispatch({ effects: $.setState.of(new Ml(i.context)) })), this.chunkBudget > 0 && (!s || o) && this.scheduleWork(), this.checkAsyncSchedule(i.context);
|
|
9668
9679
|
}
|
|
9669
9680
|
checkAsyncSchedule(e) {
|
|
9670
9681
|
e.scheduleOn && (this.workScheduled++, e.scheduleOn.then(() => this.scheduleWork()).catch((e) => K(this.view.state, e)).then(() => this.workScheduled--), e.scheduleOn = null);
|
|
@@ -9677,23 +9688,23 @@ var Nl = typeof navigator < "u" && navigator.scheduling?.isInputPending ? () =>
|
|
|
9677
9688
|
}
|
|
9678
9689
|
}, { eventHandlers: { focus() {
|
|
9679
9690
|
this.scheduleWork();
|
|
9680
|
-
} } }),
|
|
9691
|
+
} } }), Il = /*@__PURE__*/ N.define({
|
|
9681
9692
|
combine(e) {
|
|
9682
9693
|
return e.length ? e[0] : null;
|
|
9683
9694
|
},
|
|
9684
9695
|
enables: (e) => [
|
|
9685
9696
|
$.state,
|
|
9686
|
-
|
|
9697
|
+
Fl,
|
|
9687
9698
|
Q.contentAttributes.compute([e], (t) => {
|
|
9688
9699
|
let n = t.facet(e);
|
|
9689
9700
|
return n && n.name ? { "data-language": n.name } : {};
|
|
9690
9701
|
})
|
|
9691
9702
|
]
|
|
9692
|
-
}),
|
|
9703
|
+
}), Ll = class {
|
|
9693
9704
|
constructor(e, t = []) {
|
|
9694
9705
|
this.language = e, this.support = t, this.extension = [e, t];
|
|
9695
9706
|
}
|
|
9696
|
-
},
|
|
9707
|
+
}, Rl = class e {
|
|
9697
9708
|
constructor(e, t, n, r, i, a = void 0) {
|
|
9698
9709
|
this.name = e, this.alias = t, this.extensions = n, this.filename = r, this.loadFunc = i, this.support = a, this.loading = null;
|
|
9699
9710
|
}
|
|
@@ -9727,18 +9738,18 @@ var Nl = typeof navigator < "u" && navigator.scheduling?.isInputPending ? () =>
|
|
|
9727
9738
|
}
|
|
9728
9739
|
return null;
|
|
9729
9740
|
}
|
|
9730
|
-
},
|
|
9741
|
+
}, zl = /*@__PURE__*/ N.define(), Bl = /*@__PURE__*/ N.define({ combine: (e) => {
|
|
9731
9742
|
if (!e.length) return " ";
|
|
9732
9743
|
let t = e[0];
|
|
9733
9744
|
if (!t || /\S/.test(t) || Array.from(t).some((e) => e != t[0])) throw Error("Invalid indent unit: " + JSON.stringify(e[0]));
|
|
9734
9745
|
return t;
|
|
9735
9746
|
} });
|
|
9736
|
-
function
|
|
9737
|
-
let t = e.facet(
|
|
9747
|
+
function Vl(e) {
|
|
9748
|
+
let t = e.facet(Bl);
|
|
9738
9749
|
return t.charCodeAt(0) == 9 ? e.tabSize * t.length : t.length;
|
|
9739
9750
|
}
|
|
9740
|
-
function
|
|
9741
|
-
let n = "", r = e.tabSize, i = e.facet(
|
|
9751
|
+
function Hl(e, t) {
|
|
9752
|
+
let n = "", r = e.tabSize, i = e.facet(Bl)[0];
|
|
9742
9753
|
if (i == " ") {
|
|
9743
9754
|
for (; t >= r;) n += " ", t -= r;
|
|
9744
9755
|
i = " ";
|
|
@@ -9746,18 +9757,18 @@ function Vl(e, t) {
|
|
|
9746
9757
|
for (let e = 0; e < t; e++) n += i;
|
|
9747
9758
|
return n;
|
|
9748
9759
|
}
|
|
9749
|
-
function
|
|
9750
|
-
e instanceof I && (e = new
|
|
9751
|
-
for (let n of e.state.facet(
|
|
9760
|
+
function Ul(e, t) {
|
|
9761
|
+
e instanceof I && (e = new Wl(e));
|
|
9762
|
+
for (let n of e.state.facet(zl)) {
|
|
9752
9763
|
let r = n(e, t);
|
|
9753
9764
|
if (r !== void 0) return r;
|
|
9754
9765
|
}
|
|
9755
9766
|
let n = El(e.state);
|
|
9756
|
-
return n.length >= t ?
|
|
9767
|
+
return n.length >= t ? Kl(e, n, t) : null;
|
|
9757
9768
|
}
|
|
9758
|
-
var
|
|
9769
|
+
var Wl = class {
|
|
9759
9770
|
constructor(e, t = {}) {
|
|
9760
|
-
this.state = e, this.options = t, this.unit =
|
|
9771
|
+
this.state = e, this.options = t, this.unit = Vl(e);
|
|
9761
9772
|
}
|
|
9762
9773
|
lineAt(e, t = 1) {
|
|
9763
9774
|
let n = this.state.doc.lineAt(e), { simulateBreak: r, simulateDoubleBreak: i } = this.options;
|
|
@@ -9795,8 +9806,8 @@ var Ul = class {
|
|
|
9795
9806
|
get simulatedBreak() {
|
|
9796
9807
|
return this.options.simulateBreak || null;
|
|
9797
9808
|
}
|
|
9798
|
-
},
|
|
9799
|
-
function
|
|
9809
|
+
}, Gl = /*@__PURE__*/ new a();
|
|
9810
|
+
function Kl(e, t, n) {
|
|
9800
9811
|
let r = t.resolveStack(n), i = t.resolveInner(n, -1).resolve(n, 0).enterUnfinishedNodesBefore(n);
|
|
9801
9812
|
if (i != r.node) {
|
|
9802
9813
|
let e = [];
|
|
@@ -9806,32 +9817,32 @@ function Gl(e, t, n) {
|
|
|
9806
9817
|
next: r
|
|
9807
9818
|
};
|
|
9808
9819
|
}
|
|
9809
|
-
return
|
|
9820
|
+
return ql(r, e, n);
|
|
9810
9821
|
}
|
|
9811
|
-
function
|
|
9822
|
+
function ql(e, t, n) {
|
|
9812
9823
|
for (let r = e; r; r = r.next) {
|
|
9813
|
-
let e =
|
|
9814
|
-
if (e) return e(
|
|
9824
|
+
let e = Yl(r.node);
|
|
9825
|
+
if (e) return e(Zl.create(t, n, r));
|
|
9815
9826
|
}
|
|
9816
9827
|
return 0;
|
|
9817
9828
|
}
|
|
9818
|
-
function
|
|
9829
|
+
function Jl(e) {
|
|
9819
9830
|
return e.pos == e.options.simulateBreak && e.options.simulateDoubleBreak;
|
|
9820
9831
|
}
|
|
9821
|
-
function
|
|
9822
|
-
let t = e.type.prop(
|
|
9832
|
+
function Yl(e) {
|
|
9833
|
+
let t = e.type.prop(Gl);
|
|
9823
9834
|
if (t) return t;
|
|
9824
9835
|
let n = e.firstChild, r;
|
|
9825
9836
|
if (n && (r = n.type.prop(a.closedBy))) {
|
|
9826
9837
|
let t = e.lastChild, n = t && r.indexOf(t.name) > -1;
|
|
9827
|
-
return (e) =>
|
|
9838
|
+
return (e) => tu(e, !0, 1, void 0, n && !Jl(e) ? t.from : void 0);
|
|
9828
9839
|
}
|
|
9829
|
-
return e.parent == null ?
|
|
9840
|
+
return e.parent == null ? Xl : null;
|
|
9830
9841
|
}
|
|
9831
|
-
function
|
|
9842
|
+
function Xl() {
|
|
9832
9843
|
return 0;
|
|
9833
9844
|
}
|
|
9834
|
-
var
|
|
9845
|
+
var Zl = class e extends Wl {
|
|
9835
9846
|
constructor(e, t, n) {
|
|
9836
9847
|
super(e.state, e.options), this.base = e, this.pos = t, this.context = n;
|
|
9837
9848
|
}
|
|
@@ -9852,20 +9863,20 @@ var Xl = class e extends Ul {
|
|
|
9852
9863
|
for (;;) {
|
|
9853
9864
|
let n = e.resolve(t.from);
|
|
9854
9865
|
for (; n.parent && n.parent.from == n.from;) n = n.parent;
|
|
9855
|
-
if (
|
|
9866
|
+
if (Ql(n, e)) break;
|
|
9856
9867
|
t = this.state.doc.lineAt(n.from);
|
|
9857
9868
|
}
|
|
9858
9869
|
return this.lineIndent(t.from);
|
|
9859
9870
|
}
|
|
9860
9871
|
continue() {
|
|
9861
|
-
return
|
|
9872
|
+
return ql(this.context.next, this.base, this.pos);
|
|
9862
9873
|
}
|
|
9863
9874
|
};
|
|
9864
|
-
function
|
|
9875
|
+
function Ql(e, t) {
|
|
9865
9876
|
for (let n = t; n; n = n.parent) if (e == n) return !0;
|
|
9866
9877
|
return !1;
|
|
9867
9878
|
}
|
|
9868
|
-
function
|
|
9879
|
+
function $l(e) {
|
|
9869
9880
|
let t = e.node, n = t.childAfter(t.from), r = t.lastChild;
|
|
9870
9881
|
if (!n) return null;
|
|
9871
9882
|
let i = e.options.simulateBreak, a = e.state.doc.lineAt(n.from), o = i == null || i <= a.from ? a.to : Math.min(a.to, i);
|
|
@@ -9883,29 +9894,29 @@ function Ql(e) {
|
|
|
9883
9894
|
e = i.to;
|
|
9884
9895
|
}
|
|
9885
9896
|
}
|
|
9886
|
-
function
|
|
9887
|
-
return (r) =>
|
|
9897
|
+
function eu({ closing: e, align: t = !0, units: n = 1 }) {
|
|
9898
|
+
return (r) => tu(r, t, n, e);
|
|
9888
9899
|
}
|
|
9889
|
-
function
|
|
9890
|
-
let a = e.textAfter, o = a.match(/^\s*/)[0].length, s = r && a.slice(o, o + r.length) == r || i == e.pos + o, c = t ?
|
|
9900
|
+
function tu(e, t, n, r, i) {
|
|
9901
|
+
let a = e.textAfter, o = a.match(/^\s*/)[0].length, s = r && a.slice(o, o + r.length) == r || i == e.pos + o, c = t ? $l(e) : null;
|
|
9891
9902
|
return c ? s ? e.column(c.from) : e.column(c.to) : e.baseIndent + (s ? 0 : e.unit * n);
|
|
9892
9903
|
}
|
|
9893
|
-
var
|
|
9894
|
-
function
|
|
9904
|
+
var nu = (e) => e.baseIndent;
|
|
9905
|
+
function ru({ except: e, units: t = 1 } = {}) {
|
|
9895
9906
|
return (n) => {
|
|
9896
9907
|
let r = e && e.test(n.textAfter);
|
|
9897
9908
|
return n.baseIndent + (r ? 0 : t * n.unit);
|
|
9898
9909
|
};
|
|
9899
9910
|
}
|
|
9900
|
-
var
|
|
9901
|
-
function
|
|
9911
|
+
var iu = /*@__PURE__*/ N.define(), au = /*@__PURE__*/ new a();
|
|
9912
|
+
function ou(e) {
|
|
9902
9913
|
let t = e.firstChild, n = e.lastChild;
|
|
9903
9914
|
return t && t.to < n.from ? {
|
|
9904
9915
|
from: t.to,
|
|
9905
9916
|
to: n.type.isError ? e.to : n.from
|
|
9906
9917
|
} : null;
|
|
9907
9918
|
}
|
|
9908
|
-
var
|
|
9919
|
+
var su = class e {
|
|
9909
9920
|
constructor(e, t) {
|
|
9910
9921
|
this.specs = e;
|
|
9911
9922
|
let n;
|
|
@@ -9922,23 +9933,23 @@ var ou = class e {
|
|
|
9922
9933
|
static define(t, n) {
|
|
9923
9934
|
return new e(t, n || {});
|
|
9924
9935
|
}
|
|
9925
|
-
},
|
|
9936
|
+
}, cu = /*@__PURE__*/ N.define(), lu = /*@__PURE__*/ N.define({ combine(e) {
|
|
9926
9937
|
return e.length ? [e[0]] : null;
|
|
9927
9938
|
} });
|
|
9928
|
-
function
|
|
9929
|
-
let t = e.facet(
|
|
9930
|
-
return t.length ? t : e.facet(
|
|
9939
|
+
function uu(e) {
|
|
9940
|
+
let t = e.facet(cu);
|
|
9941
|
+
return t.length ? t : e.facet(lu);
|
|
9931
9942
|
}
|
|
9932
|
-
function
|
|
9933
|
-
let n = [
|
|
9934
|
-
return e instanceof
|
|
9943
|
+
function du(e, t) {
|
|
9944
|
+
let n = [pu], r;
|
|
9945
|
+
return e instanceof su && (e.module && n.push(Q.styleModule.of(e.module)), r = e.themeType), t?.fallback ? n.push(lu.of(e)) : r ? n.push(cu.computeN([Q.darkTheme], (t) => t.facet(Q.darkTheme) == (r == "dark") ? [e] : [])) : n.push(cu.of(e)), n;
|
|
9935
9946
|
}
|
|
9936
|
-
var
|
|
9947
|
+
var fu = class {
|
|
9937
9948
|
constructor(e) {
|
|
9938
|
-
this.markCache = Object.create(null), this.tree = El(e.state), this.decorations = this.buildDeco(e,
|
|
9949
|
+
this.markCache = Object.create(null), this.tree = El(e.state), this.decorations = this.buildDeco(e, uu(e.state)), this.decoratedTo = e.viewport.to;
|
|
9939
9950
|
}
|
|
9940
9951
|
update(e) {
|
|
9941
|
-
let t = El(e.state), n =
|
|
9952
|
+
let t = El(e.state), n = uu(e.state), r = n != uu(e.startState), { viewport: i } = e.view, a = e.changes.mapPos(this.decoratedTo, 1);
|
|
9942
9953
|
t.length < i.to && !r && t.type == this.tree.type && a >= i.to ? (this.decorations = this.decorations.map(e.changes), this.decoratedTo = a) : (t != this.tree || e.viewportChanged || r) && (this.tree = t, this.decorations = this.buildDeco(e.view, n), this.decoratedTo = i.to);
|
|
9943
9954
|
}
|
|
9944
9955
|
buildDeco(e, t) {
|
|
@@ -9949,10 +9960,10 @@ var du = class {
|
|
|
9949
9960
|
}, r, i);
|
|
9950
9961
|
return n.finish();
|
|
9951
9962
|
}
|
|
9952
|
-
},
|
|
9963
|
+
}, pu = /*@__PURE__*/ Kt.high(/*@__PURE__*/ Ui.fromClass(fu, { decorations: (e) => e.decorations }));
|
|
9953
9964
|
T.meta, T.link, T.heading, T.emphasis, T.strong, T.strikethrough, T.keyword, T.atom, T.bool, T.url, T.contentSeparator, T.labelName, T.literal, T.inserted, T.string, T.deleted, T.regexp, T.escape, T.string, T.variableName, T.variableName, T.typeName, T.namespace, T.className, T.variableName, T.macroName, T.propertyName, T.comment, T.invalid;
|
|
9954
|
-
var
|
|
9955
|
-
function
|
|
9965
|
+
var mu = 1e4, hu = "()[]{}", gu = /*@__PURE__*/ new a();
|
|
9966
|
+
function _u(e, t, n) {
|
|
9956
9967
|
let r = e.prop(t < 0 ? a.openedBy : a.closedBy);
|
|
9957
9968
|
if (r) return r;
|
|
9958
9969
|
if (e.name.length == 1) {
|
|
@@ -9961,22 +9972,22 @@ function gu(e, t, n) {
|
|
|
9961
9972
|
}
|
|
9962
9973
|
return null;
|
|
9963
9974
|
}
|
|
9964
|
-
function
|
|
9965
|
-
let t = e.type.prop(
|
|
9975
|
+
function vu(e) {
|
|
9976
|
+
let t = e.type.prop(gu);
|
|
9966
9977
|
return t ? t(e.node) : e;
|
|
9967
9978
|
}
|
|
9968
|
-
function
|
|
9969
|
-
let i = r.maxScanDistance ||
|
|
9979
|
+
function yu(e, t, n, r = {}) {
|
|
9980
|
+
let i = r.maxScanDistance || mu, a = r.brackets || hu, o = El(e), s = o.resolveInner(t, n);
|
|
9970
9981
|
for (let r = s; r; r = r.parent) {
|
|
9971
|
-
let i =
|
|
9982
|
+
let i = _u(r.type, n, a);
|
|
9972
9983
|
if (i && r.from < r.to) {
|
|
9973
|
-
let o =
|
|
9974
|
-
if (o && (n > 0 ? t >= o.from && t < o.to : t > o.from && t <= o.to)) return
|
|
9984
|
+
let o = vu(r);
|
|
9985
|
+
if (o && (n > 0 ? t >= o.from && t < o.to : t > o.from && t <= o.to)) return bu(e, t, n, r, o, i, a);
|
|
9975
9986
|
}
|
|
9976
9987
|
}
|
|
9977
|
-
return
|
|
9988
|
+
return xu(e, t, n, o, s.type, i, a);
|
|
9978
9989
|
}
|
|
9979
|
-
function
|
|
9990
|
+
function bu(e, t, n, r, i, a, o) {
|
|
9980
9991
|
let s = r.parent, c = {
|
|
9981
9992
|
from: i.from,
|
|
9982
9993
|
to: i.to
|
|
@@ -9984,7 +9995,7 @@ function yu(e, t, n, r, i, a, o) {
|
|
|
9984
9995
|
if (u && (n < 0 ? u.childBefore(r.from) : u.childAfter(r.to))) do
|
|
9985
9996
|
if (n < 0 ? u.to <= r.from : u.from >= r.to) {
|
|
9986
9997
|
if (l == 0 && a.indexOf(u.type.name) > -1 && u.from < u.to) {
|
|
9987
|
-
let e =
|
|
9998
|
+
let e = vu(u);
|
|
9988
9999
|
return {
|
|
9989
10000
|
start: c,
|
|
9990
10001
|
end: e ? {
|
|
@@ -9994,10 +10005,10 @@ function yu(e, t, n, r, i, a, o) {
|
|
|
9994
10005
|
matched: !0
|
|
9995
10006
|
};
|
|
9996
10007
|
}
|
|
9997
|
-
if (
|
|
9998
|
-
else if (
|
|
10008
|
+
if (_u(u.type, n, o)) l++;
|
|
10009
|
+
else if (_u(u.type, -n, o)) {
|
|
9999
10010
|
if (l == 0) {
|
|
10000
|
-
let e =
|
|
10011
|
+
let e = vu(u);
|
|
10001
10012
|
return {
|
|
10002
10013
|
start: c,
|
|
10003
10014
|
end: e && e.from < e.to ? {
|
|
@@ -10016,7 +10027,7 @@ function yu(e, t, n, r, i, a, o) {
|
|
|
10016
10027
|
matched: !1
|
|
10017
10028
|
};
|
|
10018
10029
|
}
|
|
10019
|
-
function
|
|
10030
|
+
function xu(e, t, n, r, i, a, o) {
|
|
10020
10031
|
if (n < 0 ? !t : t == e.doc.length) return null;
|
|
10021
10032
|
let s = n < 0 ? e.sliceDoc(t - 1, t) : e.sliceDoc(t, t + 1), c = o.indexOf(s);
|
|
10022
10033
|
if (c < 0 || c % 2 == 0 != n > 0) return null;
|
|
@@ -10050,20 +10061,20 @@ function bu(e, t, n, r, i, a, o) {
|
|
|
10050
10061
|
matched: !1
|
|
10051
10062
|
} : null;
|
|
10052
10063
|
}
|
|
10053
|
-
function
|
|
10064
|
+
function Su(e) {
|
|
10054
10065
|
return {
|
|
10055
10066
|
name: e.name || "",
|
|
10056
10067
|
token: e.token,
|
|
10057
10068
|
blankLine: e.blankLine || (() => {}),
|
|
10058
10069
|
startState: e.startState || (() => !0),
|
|
10059
|
-
copyState: e.copyState ||
|
|
10070
|
+
copyState: e.copyState || Cu,
|
|
10060
10071
|
indent: e.indent || (() => null),
|
|
10061
10072
|
languageData: e.languageData || {},
|
|
10062
|
-
tokenTable: e.tokenTable ||
|
|
10073
|
+
tokenTable: e.tokenTable || ju,
|
|
10063
10074
|
mergeTokens: e.mergeTokens !== !1
|
|
10064
10075
|
};
|
|
10065
10076
|
}
|
|
10066
|
-
function
|
|
10077
|
+
function Cu(e) {
|
|
10067
10078
|
if (typeof e != "object") return e;
|
|
10068
10079
|
let t = {};
|
|
10069
10080
|
for (let n in e) {
|
|
@@ -10072,86 +10083,86 @@ function Su(e) {
|
|
|
10072
10083
|
}
|
|
10073
10084
|
return t;
|
|
10074
10085
|
}
|
|
10075
|
-
var
|
|
10086
|
+
var wu = /*@__PURE__*/ new WeakMap(), Tu = class e extends $ {
|
|
10076
10087
|
constructor(e) {
|
|
10077
|
-
let t = Sl(e.languageData), n =
|
|
10088
|
+
let t = Sl(e.languageData), n = Su(e), r, i = new class extends de {
|
|
10078
10089
|
createParse(e, t, n) {
|
|
10079
|
-
return new
|
|
10090
|
+
return new ku(r, e, t, n);
|
|
10080
10091
|
}
|
|
10081
10092
|
}();
|
|
10082
|
-
super(t, i, [], e.name), this.topNode =
|
|
10093
|
+
super(t, i, [], e.name), this.topNode = Vu(t, this), r = this, this.streamParser = n, this.stateAfter = new a({ perNode: !0 }), this.tokenTable = e.tokenTable ? new Lu(n.tokenTable) : Ru;
|
|
10083
10094
|
}
|
|
10084
10095
|
static define(t) {
|
|
10085
10096
|
return new e(t);
|
|
10086
10097
|
}
|
|
10087
10098
|
getIndent(e) {
|
|
10088
10099
|
let t, { overrideIndentation: n } = e.options;
|
|
10089
|
-
n && (t =
|
|
10090
|
-
let r =
|
|
10100
|
+
n && (t = wu.get(e.state), t != null && t < e.pos - 1e4 && (t = void 0));
|
|
10101
|
+
let r = Eu(this, e.node.tree, e.node.from, e.node.from, t ?? e.pos), i, a;
|
|
10091
10102
|
if (r ? (a = r.state, i = r.pos + 1) : (a = this.streamParser.startState(e.unit), i = e.node.from), e.pos - i > 1e4) return null;
|
|
10092
10103
|
for (; i < e.pos;) {
|
|
10093
10104
|
let t = e.state.doc.lineAt(i), r = Math.min(e.pos, t.to);
|
|
10094
10105
|
if (t.length) {
|
|
10095
10106
|
let i = n ? n(t.from) : -1, o = new bl(t.text, e.state.tabSize, e.unit, i < 0 ? void 0 : i);
|
|
10096
|
-
for (; o.pos < r - t.from;)
|
|
10107
|
+
for (; o.pos < r - t.from;) Au(this.streamParser.token, o, a);
|
|
10097
10108
|
} else this.streamParser.blankLine(a, e.unit);
|
|
10098
10109
|
if (r == e.pos) break;
|
|
10099
10110
|
i = t.to + 1;
|
|
10100
10111
|
}
|
|
10101
10112
|
let o = e.lineAt(e.pos);
|
|
10102
|
-
return n && t == null &&
|
|
10113
|
+
return n && t == null && wu.set(e.state, o.from), this.streamParser.indent(a, /^\s*(.*)/.exec(o.text)[1], e);
|
|
10103
10114
|
}
|
|
10104
10115
|
get allowsNesting() {
|
|
10105
10116
|
return !1;
|
|
10106
10117
|
}
|
|
10107
10118
|
};
|
|
10108
|
-
function
|
|
10119
|
+
function Eu(e, t, n, r, i) {
|
|
10109
10120
|
let a = n >= r && n + t.length <= i && t.prop(e.stateAfter);
|
|
10110
10121
|
if (a) return {
|
|
10111
10122
|
state: e.streamParser.copyState(a),
|
|
10112
10123
|
pos: n + t.length
|
|
10113
10124
|
};
|
|
10114
10125
|
for (let a = t.children.length - 1; a >= 0; a--) {
|
|
10115
|
-
let o = t.children[a], s = n + t.positions[a], c = o instanceof p && s < i &&
|
|
10126
|
+
let o = t.children[a], s = n + t.positions[a], c = o instanceof p && s < i && Eu(e, o, s, r, i);
|
|
10116
10127
|
if (c) return c;
|
|
10117
10128
|
}
|
|
10118
10129
|
return null;
|
|
10119
10130
|
}
|
|
10120
|
-
function
|
|
10131
|
+
function Du(e, t, n, r, i) {
|
|
10121
10132
|
if (i && n <= 0 && r >= t.length) return t;
|
|
10122
10133
|
!i && n == 0 && t.type == e.topNode && (i = !0);
|
|
10123
10134
|
for (let a = t.children.length - 1; a >= 0; a--) {
|
|
10124
10135
|
let o = t.positions[a], s = t.children[a], c;
|
|
10125
10136
|
if (o < r && s instanceof p) {
|
|
10126
|
-
if (!(c =
|
|
10137
|
+
if (!(c = Du(e, s, n - o, r - o, i))) break;
|
|
10127
10138
|
return i ? new p(t.type, t.children.slice(0, a).concat(c), t.positions.slice(0, a + 1), o + c.length) : c;
|
|
10128
10139
|
}
|
|
10129
10140
|
}
|
|
10130
10141
|
return null;
|
|
10131
10142
|
}
|
|
10132
|
-
function
|
|
10143
|
+
function Ou(e, t, n, r, i) {
|
|
10133
10144
|
for (let i of t) {
|
|
10134
|
-
let t = i.from + (i.openStart ? 25 : 0), a = i.to - (i.openEnd ? 25 : 0), o = t <= n && a > n &&
|
|
10135
|
-
if (o && o.pos <= r && (s =
|
|
10145
|
+
let t = i.from + (i.openStart ? 25 : 0), a = i.to - (i.openEnd ? 25 : 0), o = t <= n && a > n && Eu(e, i.tree, 0 - i.offset, n, a), s;
|
|
10146
|
+
if (o && o.pos <= r && (s = Du(e, i.tree, n + i.offset, o.pos + i.offset, !1))) return {
|
|
10136
10147
|
state: o.state,
|
|
10137
10148
|
tree: s
|
|
10138
10149
|
};
|
|
10139
10150
|
}
|
|
10140
10151
|
return {
|
|
10141
|
-
state: e.streamParser.startState(i ?
|
|
10152
|
+
state: e.streamParser.startState(i ? Vl(i) : 4),
|
|
10142
10153
|
tree: p.empty
|
|
10143
10154
|
};
|
|
10144
10155
|
}
|
|
10145
|
-
var
|
|
10156
|
+
var ku = class {
|
|
10146
10157
|
constructor(e, t, n, r) {
|
|
10147
10158
|
this.lang = e, this.input = t, this.fragments = n, this.ranges = r, this.stoppedAt = null, this.chunks = [], this.chunkPos = [], this.chunk = [], this.chunkReused = void 0, this.rangeIndex = 0, this.to = r[r.length - 1].to;
|
|
10148
|
-
let i =
|
|
10159
|
+
let i = Al.get(), a = r[0].from, { state: o, tree: s } = Ou(e, n, a, this.to, i?.state);
|
|
10149
10160
|
this.state = o, this.parsedPos = this.chunkStart = a + s.length;
|
|
10150
10161
|
for (let e = 0; e < s.children.length; e++) this.chunks.push(s.children[e]), this.chunkPos.push(s.positions[e]);
|
|
10151
|
-
i && this.parsedPos < i.viewport.from - 1e5 && r.some((e) => e.from <= i.viewport.from && e.to >= i.viewport.from) && (this.state = this.lang.streamParser.startState(
|
|
10162
|
+
i && this.parsedPos < i.viewport.from - 1e5 && r.some((e) => e.from <= i.viewport.from && e.to >= i.viewport.from) && (this.state = this.lang.streamParser.startState(Vl(i.state)), i.skipUntilInView(this.parsedPos, i.viewport.from), this.parsedPos = i.viewport.from), this.moveRangeIndex();
|
|
10152
10163
|
}
|
|
10153
10164
|
advance() {
|
|
10154
|
-
let e =
|
|
10165
|
+
let e = Al.get(), t = this.stoppedAt == null ? this.to : Math.min(this.to, this.stoppedAt), n = Math.min(t, this.chunkStart + 512);
|
|
10155
10166
|
for (e && (n = Math.min(n, e.viewport.to)); this.parsedPos < n;) this.parseLine(e);
|
|
10156
10167
|
return this.chunkStart < this.parsedPos && this.finishChunk(), this.parsedPos >= t ? this.finish() : e && this.parsedPos >= e.viewport.to ? (e.skipUntilInView(this.parsedPos, t), this.finish()) : null;
|
|
10157
10168
|
}
|
|
@@ -10203,10 +10214,10 @@ var Ou = class {
|
|
|
10203
10214
|
return this.lang.streamParser.mergeTokens && i == 4 && a >= 0 && this.chunk[a] == e && this.chunk[a + 2] == t ? this.chunk[a + 2] = n : this.chunk.push(e, t, n, i), r;
|
|
10204
10215
|
}
|
|
10205
10216
|
parseLine(e) {
|
|
10206
|
-
let { line: t, end: n } = this.nextLine(), r = 0, { streamParser: i } = this.lang, a = new bl(t, e ? e.state.tabSize : 4, e ?
|
|
10217
|
+
let { line: t, end: n } = this.nextLine(), r = 0, { streamParser: i } = this.lang, a = new bl(t, e ? e.state.tabSize : 4, e ? Vl(e.state) : 2);
|
|
10207
10218
|
if (a.eol()) i.blankLine(this.state, a.indentUnit);
|
|
10208
10219
|
else for (; !a.eol();) {
|
|
10209
|
-
let e =
|
|
10220
|
+
let e = Au(i.token, a, this.state);
|
|
10210
10221
|
if (e && (r = this.emitToken(this.lang.tokenTable.resolve(e), this.parsedPos + a.start, this.parsedPos + a.pos, r)), a.start > 1e4) break;
|
|
10211
10222
|
}
|
|
10212
10223
|
this.parsedPos = n, this.moveRangeIndex(), this.parsedPos < this.to && this.parsedPos++;
|
|
@@ -10216,7 +10227,7 @@ var Ou = class {
|
|
|
10216
10227
|
buffer: this.chunk,
|
|
10217
10228
|
start: this.chunkStart,
|
|
10218
10229
|
length: this.parsedPos - this.chunkStart,
|
|
10219
|
-
nodeSet:
|
|
10230
|
+
nodeSet: Nu,
|
|
10220
10231
|
topID: 0,
|
|
10221
10232
|
maxBufferLength: 512,
|
|
10222
10233
|
reused: this.chunkReused
|
|
@@ -10227,7 +10238,7 @@ var Ou = class {
|
|
|
10227
10238
|
return new p(this.lang.topNode, this.chunks, this.chunkPos, this.parsedPos - this.ranges[0].from).balance();
|
|
10228
10239
|
}
|
|
10229
10240
|
};
|
|
10230
|
-
function
|
|
10241
|
+
function Au(e, t, n) {
|
|
10231
10242
|
t.start = t.pos;
|
|
10232
10243
|
for (let r = 0; r < 10; r++) {
|
|
10233
10244
|
let r = e(t, n);
|
|
@@ -10235,7 +10246,7 @@ function ku(e, t, n) {
|
|
|
10235
10246
|
}
|
|
10236
10247
|
throw Error("Stream parser failed to advance stream.");
|
|
10237
10248
|
}
|
|
10238
|
-
var
|
|
10249
|
+
var ju = /*@__PURE__*/ Object.create(null), Mu = [c.none], Nu = /*@__PURE__*/ new l(Mu), Pu = [], Fu = /*@__PURE__*/ Object.create(null), Iu = /*@__PURE__*/ Object.create(null);
|
|
10239
10250
|
for (let [e, t] of [
|
|
10240
10251
|
["variable", "variableName"],
|
|
10241
10252
|
["variable-2", "variableName.special"],
|
|
@@ -10249,50 +10260,50 @@ for (let [e, t] of [
|
|
|
10249
10260
|
["error", "invalid"],
|
|
10250
10261
|
["header", "heading"],
|
|
10251
10262
|
["property", "propertyName"]
|
|
10252
|
-
])
|
|
10253
|
-
var
|
|
10263
|
+
]) Iu[e] = /*@__PURE__*/ Bu(ju, t);
|
|
10264
|
+
var Lu = class {
|
|
10254
10265
|
constructor(e) {
|
|
10255
|
-
this.extra = e, this.table = Object.assign(Object.create(null),
|
|
10266
|
+
this.extra = e, this.table = Object.assign(Object.create(null), Iu);
|
|
10256
10267
|
}
|
|
10257
10268
|
resolve(e) {
|
|
10258
|
-
return e ? this.table[e] || (this.table[e] =
|
|
10269
|
+
return e ? this.table[e] || (this.table[e] = Bu(this.extra, e)) : 0;
|
|
10259
10270
|
}
|
|
10260
|
-
},
|
|
10261
|
-
function Ru(e, t) {
|
|
10262
|
-
Nu.indexOf(e) > -1 || (Nu.push(e), console.warn(t));
|
|
10263
|
-
}
|
|
10271
|
+
}, Ru = /*@__PURE__*/ new Lu(ju);
|
|
10264
10272
|
function zu(e, t) {
|
|
10273
|
+
Pu.indexOf(e) > -1 || (Pu.push(e), console.warn(t));
|
|
10274
|
+
}
|
|
10275
|
+
function Bu(e, t) {
|
|
10265
10276
|
let n = [];
|
|
10266
10277
|
for (let r of t.split(" ")) {
|
|
10267
10278
|
let t = [];
|
|
10268
10279
|
for (let n of r.split(".")) {
|
|
10269
10280
|
let r = e[n] || T[n];
|
|
10270
|
-
r ? typeof r == "function" ? t.length ? t = t.map(r) :
|
|
10281
|
+
r ? typeof r == "function" ? t.length ? t = t.map(r) : zu(n, `Modifier ${n} used at start of tag`) : t.length ? zu(n, `Tag ${n} used as modifier`) : t = Array.isArray(r) ? r : [r] : zu(n, `Unknown highlighting tag ${n}`);
|
|
10271
10282
|
}
|
|
10272
10283
|
for (let e of t) n.push(e);
|
|
10273
10284
|
}
|
|
10274
10285
|
if (!n.length) return 0;
|
|
10275
|
-
let r = t.replace(/ /g, "_"), i = r + " " + n.map((e) => e.id), a =
|
|
10286
|
+
let r = t.replace(/ /g, "_"), i = r + " " + n.map((e) => e.id), a = Fu[i];
|
|
10276
10287
|
if (a) return a.id;
|
|
10277
|
-
let o =
|
|
10278
|
-
id:
|
|
10288
|
+
let o = Fu[i] = c.define({
|
|
10289
|
+
id: Mu.length,
|
|
10279
10290
|
name: r,
|
|
10280
10291
|
props: [Ne({ [r]: n })]
|
|
10281
10292
|
});
|
|
10282
|
-
return
|
|
10293
|
+
return Mu.push(o), o.id;
|
|
10283
10294
|
}
|
|
10284
|
-
function
|
|
10295
|
+
function Vu(e, t) {
|
|
10285
10296
|
let n = c.define({
|
|
10286
|
-
id:
|
|
10297
|
+
id: Mu.length,
|
|
10287
10298
|
name: "Document",
|
|
10288
|
-
props: [xl.add(() => e),
|
|
10299
|
+
props: [xl.add(() => e), Gl.add(() => (e) => t.getIndent(e))],
|
|
10289
10300
|
top: !0
|
|
10290
10301
|
});
|
|
10291
|
-
return
|
|
10302
|
+
return Mu.push(n), n;
|
|
10292
10303
|
}
|
|
10293
10304
|
W.RTL, W.LTR;
|
|
10294
10305
|
// src/utilities/codemirror/codemirror-element.ts
|
|
10295
|
-
function
|
|
10306
|
+
function Hu(e, t) {
|
|
10296
10307
|
if (e === t) return null;
|
|
10297
10308
|
let n = Math.min(e.length, t.length), r = 0;
|
|
10298
10309
|
for (; r < n && e.charCodeAt(r) === t.charCodeAt(r);) r++;
|
|
@@ -10304,7 +10315,7 @@ function Vu(e, t) {
|
|
|
10304
10315
|
insert: t.slice(r, t.length - i)
|
|
10305
10316
|
};
|
|
10306
10317
|
}
|
|
10307
|
-
var
|
|
10318
|
+
var Uu = class extends e {
|
|
10308
10319
|
constructor(...e) {
|
|
10309
10320
|
super(...e), this._hasMounted = !1;
|
|
10310
10321
|
}
|
|
@@ -10330,7 +10341,7 @@ var Hu = class extends e {
|
|
|
10330
10341
|
this.view?.destroy(), this.view = void 0;
|
|
10331
10342
|
}
|
|
10332
10343
|
setDoc(e) {
|
|
10333
|
-
let t = this.view, n = t &&
|
|
10344
|
+
let t = this.view, n = t && Hu(t.state.doc.toString(), e);
|
|
10334
10345
|
t && n && t.dispatch({
|
|
10335
10346
|
changes: n,
|
|
10336
10347
|
annotations: [F.remote.of(!0), F.addToHistory.of(!1)]
|
|
@@ -10357,7 +10368,7 @@ var Hu = class extends e {
|
|
|
10357
10368
|
disconnectedCallback() {
|
|
10358
10369
|
super.disconnectedCallback(), this.view && (this._preservedDoc = this.doc), this.destroyEditor();
|
|
10359
10370
|
}
|
|
10360
|
-
},
|
|
10371
|
+
}, Wu = [Q.theme({
|
|
10361
10372
|
"&": {
|
|
10362
10373
|
height: "100%",
|
|
10363
10374
|
color: "var(--semantics-content-color)",
|
|
@@ -10384,7 +10395,7 @@ var Hu = class extends e {
|
|
|
10384
10395
|
},
|
|
10385
10396
|
".cm-lineNumbers .cm-gutterElement": { padding: "0 var(--primitives-space-16) 0 var(--primitives-space-8)" },
|
|
10386
10397
|
".cm-activeLine, .cm-activeLineGutter": { backgroundColor: "transparent" }
|
|
10387
|
-
}),
|
|
10398
|
+
}), du(su.define([
|
|
10388
10399
|
{
|
|
10389
10400
|
tag: [
|
|
10390
10401
|
T.comment,
|
|
@@ -10488,31 +10499,31 @@ var Hu = class extends e {
|
|
|
10488
10499
|
tag: T.emphasis,
|
|
10489
10500
|
fontStyle: "italic"
|
|
10490
10501
|
}
|
|
10491
|
-
]))],
|
|
10492
|
-
json: async () => (await import("./dist-
|
|
10493
|
-
yaml: async () => (await import("./dist-
|
|
10494
|
-
javascript: async () => (await import("./dist-
|
|
10495
|
-
typescript: async () => (await import("./dist-
|
|
10496
|
-
css: async () => (await import("./dist-
|
|
10497
|
-
html: async () => (await import("./dist-
|
|
10498
|
-
xml: async () => (await import("./dist-
|
|
10499
|
-
python: async () => (await import("./dist-
|
|
10500
|
-
rust: async () => (await import("./dist-
|
|
10501
|
-
sql: async () => (await import("./dist-
|
|
10502
|
-
markdown: async () => (await import("./dist-
|
|
10503
|
-
bash: async () => new
|
|
10504
|
-
toml: async () => new
|
|
10505
|
-
gherkin: async () => new
|
|
10506
|
-
},
|
|
10507
|
-
function
|
|
10508
|
-
let t =
|
|
10502
|
+
]))], Gu = {
|
|
10503
|
+
json: async () => (await import("./dist-C0eqMXKG.js")).json(),
|
|
10504
|
+
yaml: async () => (await import("./dist-DwGJ42jg.js")).yaml(),
|
|
10505
|
+
javascript: async () => (await import("./dist-Du5XeaUH.js").then((e) => e.t)).javascript(),
|
|
10506
|
+
typescript: async () => (await import("./dist-Du5XeaUH.js").then((e) => e.t)).javascript({ typescript: !0 }),
|
|
10507
|
+
css: async () => (await import("./dist-DosCjwbX.js").then((e) => e.r)).css(),
|
|
10508
|
+
html: async () => (await import("./dist-BA1lxpkp.js").then((e) => e.t)).html(),
|
|
10509
|
+
xml: async () => (await import("./dist-BMreXo8L.js")).xml(),
|
|
10510
|
+
python: async () => (await import("./dist-BQhMIRwq.js")).python(),
|
|
10511
|
+
rust: async () => (await import("./dist-UPMuGK3l.js")).rust(),
|
|
10512
|
+
sql: async () => (await import("./dist-DzvZLbav.js")).sql(),
|
|
10513
|
+
markdown: async () => (await import("./dist-BwkztXx2.js").then((e) => e.n)).markdown(),
|
|
10514
|
+
bash: async () => new Ll(Tu.define((await import("./shell-DmJOYhyF.js")).shell)),
|
|
10515
|
+
toml: async () => new Ll(Tu.define((await import("./toml-w97zZfFO.js")).toml)),
|
|
10516
|
+
gherkin: async () => new Ll(Tu.define((await import("./gherkin-eseYvsxh.js")).gherkin))
|
|
10517
|
+
}, Ku = /* @__PURE__ */ new Map();
|
|
10518
|
+
function qu(e) {
|
|
10519
|
+
let t = Gu[e];
|
|
10509
10520
|
if (!t) return;
|
|
10510
|
-
let n =
|
|
10521
|
+
let n = Ku.get(e);
|
|
10511
10522
|
return n || (n = t().catch((t) => {
|
|
10512
|
-
throw
|
|
10513
|
-
}),
|
|
10523
|
+
throw Ku.delete(e), t;
|
|
10524
|
+
}), Ku.set(e, n)), n;
|
|
10514
10525
|
}
|
|
10515
|
-
var
|
|
10526
|
+
var Ju = {
|
|
10516
10527
|
javascript: [
|
|
10517
10528
|
"js",
|
|
10518
10529
|
"jsx",
|
|
@@ -10531,9 +10542,9 @@ var qu = {
|
|
|
10531
10542
|
markdown: ["md"],
|
|
10532
10543
|
html: ["htm"],
|
|
10533
10544
|
rust: ["rs"]
|
|
10534
|
-
},
|
|
10545
|
+
}, Yu = Object.keys(Gu).map((e) => Rl.of({
|
|
10535
10546
|
name: e,
|
|
10536
|
-
alias:
|
|
10537
|
-
load: () =>
|
|
10547
|
+
alias: Ju[e] ?? [],
|
|
10548
|
+
load: () => qu(e)
|
|
10538
10549
|
}));
|
|
10539
|
-
export {
|
|
10550
|
+
export { Jt as $, H as A, Yc as B, Gl as C, a as Ct, yu as D, de as Dt, xl as E, le as Et, Ui as F, _l as G, Zc as H, br as I, Jc as J, K, Cc as L, Q as M, Xc as N, Cl as O, p as Ot, pc as P, A as Q, Pc as R, Ul as S, f as St, Bl as T, c as Tt, ac as U, tl as V, bc as W, cn as X, zc as Y, Ot as Z, nu as _, Tt as _t, Hu as a, L as at, iu as b, T as bt, $ as c, P as ct, Al as d, F as dt, M as et, gu as f, wt as ft, Dl as g, O as gt, eu as h, Un as ht, Uu as i, Kt as it, W as j, El as k, pe as kt, Rl as l, Ut as lt, Sl as m, wn as mt, Yu as n, N as nt, Wl as o, Mn as ot, ru as p, Et as pt, Ic as q, Wu as r, k as rt, Tl as s, Tn as st, qu as t, I as tt, Ll as u, E as ut, ou as v, Oe as vt, Hl as w, l as wt, Vl as x, n as xt, au as y, Ne as yt, wc as z };
|