@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,5 +1,5 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./dist-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, r as t, t as n } from "./dist-CYoggrc-.js";
|
|
2
|
+
import { C as r, M as i, bt as a, et as o, f as s, k as c, s as l, u, y as d, yt as f } from "./languages-B0lgBg4r.js";
|
|
3
3
|
// node_modules/@lezer/xml/dist/index.js
|
|
4
4
|
var p = 1, m = 2, h = 3, g = 4, _ = 5, v = 36, y = 37, b = 38, x = 11, S = 13;
|
|
5
5
|
function C(e) {
|
|
@@ -59,19 +59,19 @@ function M(t, n) {
|
|
|
59
59
|
r && e.acceptToken(t);
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
var N = M(v, "-->"), P = M(y, "?>"), F = M(b, "]]>"), I =
|
|
63
|
-
Text:
|
|
64
|
-
"StartTag StartCloseTag EndTag SelfCloseEndTag":
|
|
65
|
-
TagName:
|
|
66
|
-
"MismatchedCloseTag/TagName": [
|
|
67
|
-
AttributeName:
|
|
68
|
-
AttributeValue:
|
|
69
|
-
Is:
|
|
70
|
-
"EntityReference CharacterReference":
|
|
71
|
-
Comment:
|
|
72
|
-
ProcessingInst:
|
|
73
|
-
DoctypeDecl:
|
|
74
|
-
Cdata:
|
|
62
|
+
var N = M(v, "-->"), P = M(y, "?>"), F = M(b, "]]>"), I = f({
|
|
63
|
+
Text: a.content,
|
|
64
|
+
"StartTag StartCloseTag EndTag SelfCloseEndTag": a.angleBracket,
|
|
65
|
+
TagName: a.tagName,
|
|
66
|
+
"MismatchedCloseTag/TagName": [a.tagName, a.invalid],
|
|
67
|
+
AttributeName: a.attributeName,
|
|
68
|
+
AttributeValue: a.attributeValue,
|
|
69
|
+
Is: a.definitionOperator,
|
|
70
|
+
"EntityReference CharacterReference": a.character,
|
|
71
|
+
Comment: a.blockComment,
|
|
72
|
+
ProcessingInst: a.processingInstruction,
|
|
73
|
+
DoctypeDecl: a.documentMeta,
|
|
74
|
+
Cdata: a.special(a.string)
|
|
75
75
|
}), L = t.deserialize({
|
|
76
76
|
version: 14,
|
|
77
77
|
states: ",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(hO#tO'#CnO(vO&jO'#CnOOOO1G.q1G.qO)UOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO)^O#tO,59YOOOO,59Y,59YOOOO'#C{'#C{O)lO&jO,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.tOOOO-E6y-E6y",
|
|
@@ -145,7 +145,7 @@ function V(e) {
|
|
|
145
145
|
return null;
|
|
146
146
|
}
|
|
147
147
|
function H(e, t) {
|
|
148
|
-
let n =
|
|
148
|
+
let n = c(e).resolveInner(t, -1), r = null;
|
|
149
149
|
for (let e = n; !r && e.parent; e = e.parent) (e.name == "OpenTag" || e.name == "CloseTag" || e.name == "SelfClosingTag" || e.name == "MismatchedCloseTag") && (r = e);
|
|
150
150
|
if (r && (r.to > t || r.lastChild.type.isError)) {
|
|
151
151
|
let e = r.parent;
|
|
@@ -302,10 +302,10 @@ function q(e, t) {
|
|
|
302
302
|
return null;
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
|
-
var J = /*@__PURE__*/
|
|
305
|
+
var J = /*@__PURE__*/ l.define({
|
|
306
306
|
name: "xml",
|
|
307
307
|
parser: /*@__PURE__*/ L.configure({ props: [
|
|
308
|
-
/*@__PURE__*/
|
|
308
|
+
/*@__PURE__*/ r.add({
|
|
309
309
|
Element(e) {
|
|
310
310
|
let t = /^\s*<\//.test(e.textAfter);
|
|
311
311
|
return e.lineIndent(e.node.from) + (t ? 0 : e.unit);
|
|
@@ -314,14 +314,14 @@ var J = /*@__PURE__*/ c.define({
|
|
|
314
314
|
return e.column(e.node.from) + e.unit;
|
|
315
315
|
}
|
|
316
316
|
}),
|
|
317
|
-
/*@__PURE__*/
|
|
317
|
+
/*@__PURE__*/ d.add({ Element(e) {
|
|
318
318
|
let t = e.firstChild, n = e.lastChild;
|
|
319
319
|
return !t || t.name != "OpenTag" ? null : {
|
|
320
320
|
from: t.to,
|
|
321
321
|
to: n.name == "CloseTag" ? n.from : e.to
|
|
322
322
|
};
|
|
323
323
|
} }),
|
|
324
|
-
/*@__PURE__*/
|
|
324
|
+
/*@__PURE__*/ s.add({ "OpenTag CloseTag": (e) => e.getChild("TagName") })
|
|
325
325
|
] }),
|
|
326
326
|
languageData: {
|
|
327
327
|
commentTokens: { block: {
|
|
@@ -333,33 +333,33 @@ var J = /*@__PURE__*/ c.define({
|
|
|
333
333
|
});
|
|
334
334
|
function Y(e = {}) {
|
|
335
335
|
let t = [J.data.of({ autocomplete: q(e.elements || [], e.attributes || []) })];
|
|
336
|
-
return e.autoCloseTags !== !1 && t.push(Z), new
|
|
336
|
+
return e.autoCloseTags !== !1 && t.push(Z), new u(J, t);
|
|
337
337
|
}
|
|
338
338
|
function X(e, t, n = e.length) {
|
|
339
339
|
if (!t) return "";
|
|
340
340
|
let r = t.firstChild, i = r && r.getChild("TagName");
|
|
341
341
|
return i ? e.sliceString(i.from, Math.min(i.to, n)) : "";
|
|
342
342
|
}
|
|
343
|
-
var Z = /*@__PURE__*/
|
|
344
|
-
if (e.composing || e.state.readOnly || t != n ||
|
|
345
|
-
let
|
|
346
|
-
let { head: t } = e, n =
|
|
347
|
-
if (n &&
|
|
348
|
-
let n =
|
|
349
|
-
if (n.parent?.lastChild?.name != "CloseTag" && (
|
|
343
|
+
var Z = /*@__PURE__*/ i.inputHandler.of((e, t, n, r, i) => {
|
|
344
|
+
if (e.composing || e.state.readOnly || t != n || r != ">" && r != "/" || !J.isActiveAt(e.state, t, -1)) return !1;
|
|
345
|
+
let a = i(), { state: s } = a, l = s.changeByRange((e) => {
|
|
346
|
+
let { head: t } = e, n = s.doc.sliceString(t - 1, t) == r, i = c(s).resolveInner(t, -1), a;
|
|
347
|
+
if (n && r == ">" && i.name == "EndTag") {
|
|
348
|
+
let n = i.parent;
|
|
349
|
+
if (n.parent?.lastChild?.name != "CloseTag" && (a = X(s.doc, n.parent, t))) return {
|
|
350
350
|
range: e,
|
|
351
351
|
changes: {
|
|
352
352
|
from: t,
|
|
353
|
-
to: t + +(
|
|
354
|
-
insert: `</${
|
|
353
|
+
to: t + +(s.doc.sliceString(t, t + 1) === ">"),
|
|
354
|
+
insert: `</${a}>`
|
|
355
355
|
}
|
|
356
356
|
};
|
|
357
|
-
} else if (n &&
|
|
358
|
-
let e =
|
|
359
|
-
if (
|
|
360
|
-
let e = t + +(
|
|
357
|
+
} else if (n && r == "/" && i.name == "StartCloseTag") {
|
|
358
|
+
let e = i.parent;
|
|
359
|
+
if (i.from == t - 2 && e.lastChild?.name != "CloseTag" && (a = X(s.doc, e, t))) {
|
|
360
|
+
let e = t + +(s.doc.sliceString(t, t + 1) === ">"), n = `${a}>`;
|
|
361
361
|
return {
|
|
362
|
-
range:
|
|
362
|
+
range: o.cursor(t + n.length, -1),
|
|
363
363
|
changes: {
|
|
364
364
|
from: t,
|
|
365
365
|
to: e,
|
|
@@ -370,7 +370,7 @@ var Z = /*@__PURE__*/ s.inputHandler.of((e, t, n, a, o) => {
|
|
|
370
370
|
}
|
|
371
371
|
return { range: e };
|
|
372
372
|
});
|
|
373
|
-
return !l.changes.empty && (e.dispatch([
|
|
373
|
+
return !l.changes.empty && (e.dispatch([a, s.update(l, {
|
|
374
374
|
userEvent: "input.complete",
|
|
375
375
|
scrollIntoView: !0
|
|
376
376
|
})]), !0);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./dist-
|
|
2
|
-
import {
|
|
3
|
-
import { o as
|
|
1
|
+
import { n as e, r as t, t as n } from "./dist-CYoggrc-.js";
|
|
2
|
+
import { C as r, Et as i, St as a, bt as o, h as s, k as ee, s as te, u as ne, v as re, y as ie, yt as ae } from "./languages-B0lgBg4r.js";
|
|
3
|
+
import { o as oe, r as se, s as c } from "./dist-D8GVh7JF.js";
|
|
4
4
|
// node_modules/@lezer/python/dist/index.js
|
|
5
|
-
var
|
|
6
|
-
pe,
|
|
5
|
+
var ce = 1, l = 194, u = 195, le = 196, d = 197, ue = 198, de = 199, fe = 200, pe = 2, f = 3, p = 201, m = 24, me = 25, he = 49, ge = 50, _e = 55, ve = 56, ye = 57, be = 59, xe = 60, Se = 61, Ce = 62, we = 63, Te = 65, Ee = 238, De = 71, Oe = 241, ke = 242, Ae = 243, h = 244, g = 245, _ = 246, v = 247, y = 248, b = 72, x = 249, S = 250, C = 251, je = 252, Me = 253, Ne = 254, Pe = 255, Fe = 256, Ie = 73, Le = 77, Re = 263, ze = 112, Be = 130, Ve = 151, He = 152, Ue = 155, w = 10, T = 13, E = 32, D = 9, O = 35, We = 40, Ge = 46, k = 123, A = 125, j = 39, M = 34, N = 92, Ke = 111, qe = 120, Je = 78, Ye = 117, Xe = 85, Ze = /* @__PURE__ */ new Set([
|
|
7
6
|
me,
|
|
8
7
|
he,
|
|
8
|
+
ge,
|
|
9
9
|
Re,
|
|
10
|
-
|
|
10
|
+
Te,
|
|
11
11
|
Be,
|
|
12
|
-
_e,
|
|
13
12
|
ve,
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ye,
|
|
14
|
+
Ee,
|
|
16
15
|
Ce,
|
|
16
|
+
we,
|
|
17
17
|
b,
|
|
18
18
|
Ie,
|
|
19
19
|
Le,
|
|
20
|
-
be,
|
|
21
20
|
xe,
|
|
21
|
+
Se,
|
|
22
22
|
Ve,
|
|
23
23
|
He,
|
|
24
24
|
Ue,
|
|
@@ -32,13 +32,13 @@ function F(e) {
|
|
|
32
32
|
}
|
|
33
33
|
var Qe = new e((e, t) => {
|
|
34
34
|
let n;
|
|
35
|
-
if (e.next < 0) e.acceptToken(
|
|
36
|
-
else if (t.context.flags & I) P(e.next) && e.acceptToken(
|
|
37
|
-
else if (((n = e.peek(-1)) < 0 || P(n)) && t.canShift(
|
|
35
|
+
if (e.next < 0) e.acceptToken(de);
|
|
36
|
+
else if (t.context.flags & I) P(e.next) && e.acceptToken(ue, 1);
|
|
37
|
+
else if (((n = e.peek(-1)) < 0 || P(n)) && t.canShift(d)) {
|
|
38
38
|
let t = 0;
|
|
39
39
|
for (; e.next == E || e.next == D;) e.advance(), t++;
|
|
40
|
-
(e.next == w || e.next == T || e.next == O) && e.acceptToken(
|
|
41
|
-
} else P(e.next) && e.acceptToken(
|
|
40
|
+
(e.next == w || e.next == T || e.next == O) && e.acceptToken(d, -t);
|
|
41
|
+
} else P(e.next) && e.acceptToken(le, 1);
|
|
42
42
|
}, { contextual: !0 }), $e = new e((e, t) => {
|
|
43
43
|
let n = t.context;
|
|
44
44
|
if (n.flags) return;
|
|
@@ -51,7 +51,7 @@ var Qe = new e((e, t) => {
|
|
|
51
51
|
else break;
|
|
52
52
|
e.advance(), r++;
|
|
53
53
|
}
|
|
54
|
-
t != n.indent && e.next != w && e.next != T && e.next != O && (t < n.indent ? e.acceptToken(
|
|
54
|
+
t != n.indent && e.next != w && e.next != T && e.next != O && (t < n.indent ? e.acceptToken(u, -r) : e.acceptToken(l));
|
|
55
55
|
}
|
|
56
56
|
}), I = 1, L = 2, R = 4, z = 8, B = 16, V = 32;
|
|
57
57
|
function H(e, t, n) {
|
|
@@ -64,10 +64,10 @@ function tt(e) {
|
|
|
64
64
|
return t;
|
|
65
65
|
}
|
|
66
66
|
var U = new Map([
|
|
67
|
-
[
|
|
68
|
-
[
|
|
69
|
-
[
|
|
70
|
-
[
|
|
67
|
+
[Oe, 0],
|
|
68
|
+
[ke, R],
|
|
69
|
+
[Ae, z],
|
|
70
|
+
[h, 12],
|
|
71
71
|
[g, B],
|
|
72
72
|
[_, 20],
|
|
73
73
|
[v, 24],
|
|
@@ -83,10 +83,10 @@ var U = new Map([
|
|
|
83
83
|
].map(([e, t]) => [e, t | L])), nt = new n({
|
|
84
84
|
start: et,
|
|
85
85
|
reduce(e, t, n, r) {
|
|
86
|
-
return e.flags & I && Ze.has(t) || (t ==
|
|
86
|
+
return e.flags & I && Ze.has(t) || (t == De || t == b) && e.flags & L ? e.parent : e;
|
|
87
87
|
},
|
|
88
88
|
shift(e, t, n, r) {
|
|
89
|
-
return t ==
|
|
89
|
+
return t == l ? new H(e, tt(r.read(r.pos, n.pos)), 0) : t == u ? e.parent : t == m || t == _e || t == be || t == f ? new H(e, 0, I) : U.has(t) ? new H(e, 0, U.get(t) | e.flags & I) : e;
|
|
90
90
|
},
|
|
91
91
|
hash(e) {
|
|
92
92
|
return e.hash;
|
|
@@ -99,7 +99,7 @@ var U = new Map([
|
|
|
99
99
|
if (!/\w/.test(String.fromCharCode(e.next))) for (let t = 0;; t++) {
|
|
100
100
|
let n = e.peek(t);
|
|
101
101
|
if (n != E && n != D) {
|
|
102
|
-
n != We && n != Ge && n != w && n != T && n != O && e.acceptToken(
|
|
102
|
+
n != We && n != Ge && n != w && n != T && n != O && e.acceptToken(ce);
|
|
103
103
|
return;
|
|
104
104
|
}
|
|
105
105
|
}
|
|
@@ -109,7 +109,7 @@ var U = new Map([
|
|
|
109
109
|
if (e.peek(1) == k) e.advance(2);
|
|
110
110
|
else {
|
|
111
111
|
if (e.pos == s) {
|
|
112
|
-
e.acceptToken(
|
|
112
|
+
e.acceptToken(f, 1);
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
115
|
break;
|
|
@@ -118,26 +118,26 @@ var U = new Map([
|
|
|
118
118
|
if (e.pos == s) {
|
|
119
119
|
e.advance();
|
|
120
120
|
let t = e.next;
|
|
121
|
-
t >= 0 && (e.advance(), at(e, t)), e.acceptToken(
|
|
121
|
+
t >= 0 && (e.advance(), at(e, t)), e.acceptToken(pe);
|
|
122
122
|
return;
|
|
123
123
|
}
|
|
124
124
|
break;
|
|
125
125
|
} else if (e.next == N && !a && e.peek(1) > -1) e.advance(2);
|
|
126
126
|
else if (e.next == r && (!i || e.peek(1) == r && e.peek(2) == r)) {
|
|
127
127
|
if (e.pos == s) {
|
|
128
|
-
e.acceptToken(
|
|
128
|
+
e.acceptToken(p, i ? 3 : 1);
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
131
|
break;
|
|
132
132
|
} else if (e.next == w) {
|
|
133
133
|
if (i) e.advance();
|
|
134
134
|
else if (e.pos == s) {
|
|
135
|
-
e.acceptToken(
|
|
135
|
+
e.acceptToken(p);
|
|
136
136
|
return;
|
|
137
137
|
}
|
|
138
138
|
break;
|
|
139
139
|
} else e.advance();
|
|
140
|
-
e.pos > s && e.acceptToken(
|
|
140
|
+
e.pos > s && e.acceptToken(fe);
|
|
141
141
|
});
|
|
142
142
|
function at(e, t) {
|
|
143
143
|
if (t == Ke) for (let t = 0; t < 2 && e.next >= 48 && e.next <= 55; t++) e.advance();
|
|
@@ -149,38 +149,38 @@ function at(e, t) {
|
|
|
149
149
|
e.next == A && e.advance();
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
var ot =
|
|
153
|
-
"async \"*\" \"**\" FormatConversion FormatSpec":
|
|
154
|
-
"for while if elif else try except finally return raise break continue with pass assert await yield match case":
|
|
155
|
-
"in not and or is del":
|
|
156
|
-
"from def class global nonlocal lambda":
|
|
157
|
-
import:
|
|
158
|
-
"with as print":
|
|
159
|
-
Boolean:
|
|
160
|
-
None:
|
|
161
|
-
VariableName:
|
|
162
|
-
"CallExpression/VariableName":
|
|
163
|
-
"FunctionDefinition/VariableName":
|
|
164
|
-
"ClassDefinition/VariableName":
|
|
165
|
-
PropertyName:
|
|
166
|
-
"CallExpression/MemberExpression/PropertyName":
|
|
167
|
-
Comment:
|
|
168
|
-
Number:
|
|
169
|
-
String:
|
|
170
|
-
FormatString:
|
|
171
|
-
Escape:
|
|
172
|
-
UpdateOp:
|
|
173
|
-
"ArithOp!":
|
|
174
|
-
BitOp:
|
|
175
|
-
CompareOp:
|
|
176
|
-
AssignOp:
|
|
177
|
-
Ellipsis:
|
|
178
|
-
At:
|
|
179
|
-
"( )":
|
|
180
|
-
"[ ]":
|
|
181
|
-
"{ }":
|
|
182
|
-
".":
|
|
183
|
-
", ;":
|
|
152
|
+
var ot = ae({
|
|
153
|
+
"async \"*\" \"**\" FormatConversion FormatSpec": o.modifier,
|
|
154
|
+
"for while if elif else try except finally return raise break continue with pass assert await yield match case": o.controlKeyword,
|
|
155
|
+
"in not and or is del": o.operatorKeyword,
|
|
156
|
+
"from def class global nonlocal lambda": o.definitionKeyword,
|
|
157
|
+
import: o.moduleKeyword,
|
|
158
|
+
"with as print": o.keyword,
|
|
159
|
+
Boolean: o.bool,
|
|
160
|
+
None: o.null,
|
|
161
|
+
VariableName: o.variableName,
|
|
162
|
+
"CallExpression/VariableName": o.function(o.variableName),
|
|
163
|
+
"FunctionDefinition/VariableName": o.function(o.definition(o.variableName)),
|
|
164
|
+
"ClassDefinition/VariableName": o.definition(o.className),
|
|
165
|
+
PropertyName: o.propertyName,
|
|
166
|
+
"CallExpression/MemberExpression/PropertyName": o.function(o.propertyName),
|
|
167
|
+
Comment: o.lineComment,
|
|
168
|
+
Number: o.number,
|
|
169
|
+
String: o.string,
|
|
170
|
+
FormatString: o.special(o.string),
|
|
171
|
+
Escape: o.escape,
|
|
172
|
+
UpdateOp: o.updateOperator,
|
|
173
|
+
"ArithOp!": o.arithmeticOperator,
|
|
174
|
+
BitOp: o.bitwiseOperator,
|
|
175
|
+
CompareOp: o.compareOperator,
|
|
176
|
+
AssignOp: o.definitionOperator,
|
|
177
|
+
Ellipsis: o.punctuation,
|
|
178
|
+
At: o.meta,
|
|
179
|
+
"( )": o.paren,
|
|
180
|
+
"[ ]": o.squareBracket,
|
|
181
|
+
"{ }": o.brace,
|
|
182
|
+
".": o.derefOperator,
|
|
183
|
+
", ;": o.separator
|
|
184
184
|
}), st = {
|
|
185
185
|
__proto__: null,
|
|
186
186
|
await: 44,
|
|
@@ -347,7 +347,7 @@ var ot = re({
|
|
|
347
347
|
get: (e) => st[e] || -1
|
|
348
348
|
}],
|
|
349
349
|
tokenPrec: 7668
|
|
350
|
-
}), W = /*@__PURE__*/ new
|
|
350
|
+
}), W = /*@__PURE__*/ new i(), G = /*@__PURE__*/ new Set([
|
|
351
351
|
"Script",
|
|
352
352
|
"Body",
|
|
353
353
|
"FunctionDefinition",
|
|
@@ -391,17 +391,17 @@ function q(e, t) {
|
|
|
391
391
|
let n = W.get(t);
|
|
392
392
|
if (n) return n;
|
|
393
393
|
let r = [], i = !0;
|
|
394
|
-
function
|
|
394
|
+
function o(t, n) {
|
|
395
395
|
let i = e.sliceString(t.from, t.to);
|
|
396
396
|
r.push({
|
|
397
397
|
label: i,
|
|
398
398
|
type: n
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
|
-
return t.cursor(
|
|
401
|
+
return t.cursor(a.IncludeAnonymous).iterate((t) => {
|
|
402
402
|
if (t.name) {
|
|
403
403
|
let e = lt[t.name];
|
|
404
|
-
if (e && e(t,
|
|
404
|
+
if (e && e(t, o, i) || !i && G.has(t.name)) return !1;
|
|
405
405
|
i = !1;
|
|
406
406
|
} else if (t.to - t.from > 8192) {
|
|
407
407
|
for (let n of q(e, t.node)) r.push(n);
|
|
@@ -416,14 +416,14 @@ var J = /^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/, Y = [
|
|
|
416
416
|
"PropertyName"
|
|
417
417
|
];
|
|
418
418
|
function ut(e) {
|
|
419
|
-
let t =
|
|
419
|
+
let t = ee(e.state).resolveInner(e.pos, -1);
|
|
420
420
|
if (Y.indexOf(t.name) > -1) return null;
|
|
421
421
|
let n = t.name == "VariableName" || t.to - t.from < 20 && J.test(e.state.sliceDoc(t.from, t.to));
|
|
422
422
|
if (!n && !e.explicit) return null;
|
|
423
|
-
let
|
|
424
|
-
for (let n = t; n; n = n.parent) G.has(n.name) && (
|
|
423
|
+
let r = [];
|
|
424
|
+
for (let n = t; n; n = n.parent) G.has(n.name) && (r = r.concat(q(e.state.doc, n)));
|
|
425
425
|
return {
|
|
426
|
-
options:
|
|
426
|
+
options: r,
|
|
427
427
|
from: n ? t.from : e.pos,
|
|
428
428
|
validFor: J
|
|
429
429
|
};
|
|
@@ -474,52 +474,52 @@ var X = /*@__PURE__*/ [
|
|
|
474
474
|
label: e,
|
|
475
475
|
type: "function"
|
|
476
476
|
}))), dt = [
|
|
477
|
-
/*@__PURE__*/
|
|
477
|
+
/*@__PURE__*/ c("def ${name}(${params}):\n ${}", {
|
|
478
478
|
label: "def",
|
|
479
479
|
detail: "function",
|
|
480
480
|
type: "keyword"
|
|
481
481
|
}),
|
|
482
|
-
/*@__PURE__*/
|
|
482
|
+
/*@__PURE__*/ c("for ${name} in ${collection}:\n ${}", {
|
|
483
483
|
label: "for",
|
|
484
484
|
detail: "loop",
|
|
485
485
|
type: "keyword"
|
|
486
486
|
}),
|
|
487
|
-
/*@__PURE__*/
|
|
487
|
+
/*@__PURE__*/ c("while ${}:\n ${}", {
|
|
488
488
|
label: "while",
|
|
489
489
|
detail: "loop",
|
|
490
490
|
type: "keyword"
|
|
491
491
|
}),
|
|
492
|
-
/*@__PURE__*/
|
|
492
|
+
/*@__PURE__*/ c("try:\n ${}\nexcept ${error}:\n ${}", {
|
|
493
493
|
label: "try",
|
|
494
494
|
detail: "/ except block",
|
|
495
495
|
type: "keyword"
|
|
496
496
|
}),
|
|
497
|
-
/*@__PURE__*/
|
|
497
|
+
/*@__PURE__*/ c("if ${}:\n \n", {
|
|
498
498
|
label: "if",
|
|
499
499
|
detail: "block",
|
|
500
500
|
type: "keyword"
|
|
501
501
|
}),
|
|
502
|
-
/*@__PURE__*/
|
|
502
|
+
/*@__PURE__*/ c("if ${}:\n ${}\nelse:\n ${}", {
|
|
503
503
|
label: "if",
|
|
504
504
|
detail: "/ else block",
|
|
505
505
|
type: "keyword"
|
|
506
506
|
}),
|
|
507
|
-
/*@__PURE__*/
|
|
507
|
+
/*@__PURE__*/ c("class ${name}:\n def __init__(self, ${params}):\n ${}", {
|
|
508
508
|
label: "class",
|
|
509
509
|
detail: "definition",
|
|
510
510
|
type: "keyword"
|
|
511
511
|
}),
|
|
512
|
-
/*@__PURE__*/
|
|
512
|
+
/*@__PURE__*/ c("import ${module}", {
|
|
513
513
|
label: "import",
|
|
514
514
|
detail: "statement",
|
|
515
515
|
type: "keyword"
|
|
516
516
|
}),
|
|
517
|
-
/*@__PURE__*/
|
|
517
|
+
/*@__PURE__*/ c("from ${module} import ${names}", {
|
|
518
518
|
label: "from",
|
|
519
519
|
detail: "import",
|
|
520
520
|
type: "keyword"
|
|
521
521
|
})
|
|
522
|
-
], ft = /*@__PURE__*/
|
|
522
|
+
], ft = /*@__PURE__*/ oe(Y, /*@__PURE__*/ se(/*@__PURE__*/ X.concat(dt)));
|
|
523
523
|
function Z(e) {
|
|
524
524
|
let { node: t, pos: n } = e, r = e.lineIndent(n, -1), i = null;
|
|
525
525
|
for (;;) {
|
|
@@ -537,9 +537,9 @@ function Q(e, t) {
|
|
|
537
537
|
let n = e.baseIndentFor(t), r = e.lineAt(e.pos, -1), i = r.from + r.text.length;
|
|
538
538
|
return /^\s*($|#)/.test(r.text) && e.node.to < i + 100 && !/\S/.test(e.state.sliceDoc(i, e.node.to)) && e.lineIndent(e.pos, -1) <= n || /^\s*(else:|elif |except |finally:|case\s+[^=:]+:)/.test(e.textAfter) && e.lineIndent(e.pos, -1) > n ? null : n + e.unit;
|
|
539
539
|
}
|
|
540
|
-
var $ = /*@__PURE__*/
|
|
540
|
+
var $ = /*@__PURE__*/ te.define({
|
|
541
541
|
name: "python",
|
|
542
|
-
parser: /*@__PURE__*/ ct.configure({ props: [/*@__PURE__*/
|
|
542
|
+
parser: /*@__PURE__*/ ct.configure({ props: [/*@__PURE__*/ r.add({
|
|
543
543
|
Body: (e) => Q(e, /^\s*(#|$)/.test(e.textAfter) && Z(e) || e.node) ?? e.continue(),
|
|
544
544
|
MatchBody: (e) => Q(e, Z(e) || e.node) ?? e.continue(),
|
|
545
545
|
IfStatement: (e) => /^\s*(else:|elif )/.test(e.textAfter) ? e.baseIndent : e.continue(),
|
|
@@ -555,8 +555,8 @@ var $ = /*@__PURE__*/ ee.define({
|
|
|
555
555
|
let t = Z(e);
|
|
556
556
|
return (t && Q(e, t)) ?? e.continue();
|
|
557
557
|
}
|
|
558
|
-
}), /*@__PURE__*/
|
|
559
|
-
"ArrayExpression DictionaryExpression SetExpression TupleExpression":
|
|
558
|
+
}), /*@__PURE__*/ ie.add({
|
|
559
|
+
"ArrayExpression DictionaryExpression SetExpression TupleExpression": re,
|
|
560
560
|
Body: (e, t) => ({
|
|
561
561
|
from: e.from + 1,
|
|
562
562
|
to: e.to - (e.to == t.doc.length ? 0 : 1)
|
|
@@ -601,6 +601,6 @@ var $ = /*@__PURE__*/ ee.define({
|
|
|
601
601
|
}
|
|
602
602
|
});
|
|
603
603
|
function pt() {
|
|
604
|
-
return new
|
|
604
|
+
return new ne($, [$.data.of({ autocomplete: ut }), $.data.of({ autocomplete: ft })]);
|
|
605
605
|
}
|
|
606
606
|
export { pt as python };
|