@nldd/design-system 0.30.1 → 0.32.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 +2319 -110
- package/dist/cdn/autoloader.js +139 -139
- package/dist/cdn/chunks/{accordion-BcgFdNtq.js → accordion-CLT6C7Ys.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-DIoa4wMw.js → accordion-item-DqkLuze7.js} +5 -5
- package/dist/cdn/chunks/{activity-indicator-BmpMwyBH.js → activity-indicator-DYgJcdQr.js} +7 -6
- package/dist/cdn/chunks/{admonition-DUsuT-qK.js → admonition-307OSenQ.js} +5 -5
- package/dist/cdn/chunks/{avatar-BFnVbTB9.js → avatar-DZx4eWGL.js} +7 -7
- package/dist/cdn/chunks/{avatar-group-BDgLxUn9.js → avatar-group-D0Z4Yu0y.js} +15 -15
- package/dist/cdn/chunks/{badge-CAN4lWcI.js → badge-Ez8ID47C.js} +6 -6
- package/dist/cdn/chunks/{banner-BncAmkYl.js → banner-Cu1cwuLr.js} +9 -8
- package/dist/cdn/chunks/{bar-split-view-hlmRlFit.js → bar-split-view-7bviCuBj.js} +52 -32
- package/dist/cdn/chunks/{blockquote-DUAwVT6v.js → blockquote-PCr0GO6z.js} +7 -7
- package/dist/cdn/chunks/{box-CasAZ5pk.js → box-BOZDuPmd.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DBHmoFPu.js → breadcrumbs-CVXCsvXU.js} +6 -6
- package/dist/cdn/chunks/{button-IRm7Oibq.js → button-3Up7cEWx.js} +14 -10
- package/dist/cdn/chunks/{button-bar-CocGraYA.js → button-bar-bK3oi0e-.js} +3 -3
- package/dist/cdn/chunks/{button-group-BfNf2BZe.js → button-group-DSBBqKvs.js} +2 -2
- package/dist/cdn/chunks/{card-BaomP9oB.js → card-CH0xAbO6.js} +4 -4
- package/dist/cdn/chunks/{cell-Dir3g5vA.js → cell-BwW6TV8v.js} +6 -6
- package/dist/cdn/chunks/{checkbox-CIXkUW3R.js → checkbox-CYR3ChYP.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-DQ4MlASP.js → checkbox-field-D43DeCUk.js} +8 -8
- package/dist/cdn/chunks/{checkbox-group-C8E46V4D.js → checkbox-group-BVr37vFn.js} +3 -3
- package/dist/cdn/chunks/{class-map-D0fkDSLP.js → class-map-B9MjP-Ik.js} +1 -1
- package/dist/cdn/chunks/{code-editor-C8YqZrN-.js → code-editor-CGx_sn9q.js} +13 -13
- package/dist/cdn/chunks/{code-viewer-Ck7wxfDo.js → code-viewer-CyEZJm0a.js} +38 -38
- package/dist/cdn/chunks/{codemirror-input-DNrSyYSw.js → codemirror-input-BRShjOew.js} +345 -345
- package/dist/cdn/chunks/{collection-DprNdn8V.js → collection-B3wQHswI.js} +8 -8
- package/dist/cdn/chunks/{combo-box-B2L79FY5.js → combo-box-UI2A1nHw.js} +11 -9
- package/dist/cdn/chunks/{container-Cg4kOUN8.js → container-GzgjWXSY.js} +3 -3
- package/dist/cdn/chunks/{custom-element-CDepWGgp.js → custom-element-CF94IDoN.js} +1 -1
- package/dist/cdn/chunks/{date-field-Dsw2EkcZ.js → date-field-BoAnSKOD.js} +14 -12
- package/dist/cdn/chunks/{date-picker-ugS3-VBq.js → date-picker-Dn80yrfN.js} +11 -11
- package/dist/cdn/chunks/{decorate-CuJsiFnl.js → decorate-DNdCDV-Z.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Ih_IoqBD.js → described-by-mixin-6MEe_hOH.js} +2 -2
- package/dist/cdn/chunks/{description-cell-DiLwKDva.js → description-cell-QR-as1SF.js} +7 -7
- package/dist/cdn/chunks/{dev-checks-Bfy3qHxO.js → dev-checks-DlNQtR5p.js} +24 -19
- package/dist/cdn/chunks/{directive-helpers-DEvA8txp.js → directive-helpers-9JM8Li8K.js} +1 -1
- package/dist/cdn/chunks/{dist-BYPfq6x4.js → dist-B5rtEAPd.js} +35 -35
- package/dist/cdn/chunks/{dist-CrMq7oqC.js → dist-BGxQOo33.js} +103 -103
- package/dist/cdn/chunks/{dist-BEZuPWxd.js → dist-BKGDiUni.js} +75 -75
- package/dist/cdn/chunks/{dist-DsQS8bTi.js → dist-BvZqEQHV.js} +36 -36
- package/dist/cdn/chunks/{dist-cg8p9qPS.js → dist-C6dhaR9M.js} +12 -12
- package/dist/cdn/chunks/{dist-BFGGXlGI.js → dist-CIp0mUeR.js} +83 -83
- package/dist/cdn/chunks/{dist-s2b8iJ30.js → dist-DVm3azdM.js} +66 -66
- package/dist/cdn/chunks/{dist-Cr0OiT-0.js → dist-Drahkxmv.js} +1 -1
- package/dist/cdn/chunks/{dist-Djmp37M0.js → dist-Dtrv48QJ.js} +47 -47
- package/dist/cdn/chunks/{dist-CUXioD4z.js → dist-Duw9BWmb.js} +307 -307
- package/dist/cdn/chunks/{dist-DPnEBzju.js → dist-QKanuZ5c.js} +36 -36
- package/dist/cdn/chunks/{dist-C8wDJyDH.js → dist-gCusBxjl.js} +66 -66
- package/dist/cdn/chunks/{dist-UpdpX10o.js → dist-z3iYo2pQ.js} +80 -80
- package/dist/cdn/chunks/{divider-DeLH4QwC.js → divider-Dv0ZKI-0.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-bOkWFMdJ.js → document-tab-bar-Dzp5ncIl.js} +9 -9
- package/dist/cdn/chunks/{dropdown-C1NBctuB.js → dropdown-kVarufY1.js} +5 -5
- package/dist/cdn/chunks/{file-field-DFjBl7rn.js → file-field-B0aEvinG.js} +14 -14
- package/dist/cdn/chunks/{form-mkjbjprY.js → form-CvuALdyG.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DcsN5H-J.js → form-actions-BPehBKcl.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-YG9BXK0j.js → form-associated-mixin-BMdwBjn_.js} +29 -3
- package/dist/cdn/chunks/{form-field-BWtox2o0.js → form-field-B0pcB33o.js} +8 -8
- package/dist/cdn/chunks/{form-section-CLuotkhm.js → form-section-DWlfhgMj.js} +3 -3
- package/dist/cdn/chunks/{full-bleed-section-CZfvZFDs.js → full-bleed-section-4orVi9nk.js} +3 -3
- package/dist/cdn/chunks/{hero-C_x5gAKl.js → hero-DvG8bQx1.js} +155 -103
- package/dist/cdn/chunks/{icon-CeybqndL.js → icon-CoujQk37.js} +3 -3
- package/dist/cdn/chunks/{icon-button-BLe-iiU5.js → icon-button-CghwJ1ZM.js} +10 -10
- package/dist/cdn/chunks/{icon-cell-DUBctf2q.js → icon-cell-CB8JJxPx.js} +5 -5
- package/dist/cdn/chunks/{identity-C4FW2LCv.js → identity-D7knBYp4.js} +7 -7
- package/dist/cdn/chunks/{if-defined-DwzUaXrb.js → if-defined-DogpZQqB.js} +1 -1
- package/dist/cdn/chunks/{image-7aQSrryL.js → image-Cabp3_Mm.js} +19 -14
- package/dist/cdn/chunks/{inline-dialog-B9o9ckxL.js → inline-dialog-BA1HLcgr.js} +8 -8
- package/dist/cdn/chunks/{just-in-time-education-C-3THmVJ.js → just-in-time-education-k1iYVZNa.js} +5 -5
- package/dist/cdn/chunks/{kanban-BemPSLk8.js → kanban-MhZkM6ah.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-CYZjUBUd.js → kanban-column-EHsh2VXL.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-BK35aEeR.js → keyboard-shortcut-ClT66akm.js} +4 -4
- package/dist/cdn/chunks/{languages-CT6Im_c5.js → languages-ksBh8Hul.js} +181 -170
- package/dist/cdn/chunks/{link-Lbw4Ut52.js → link-B9gG-fEr.js} +6 -6
- package/dist/cdn/chunks/{link-group-B1XXP70E.js → link-group-C3Z_3TDw.js} +2 -2
- package/dist/cdn/chunks/{list-D2vWEpYC.js → list-BqJ_ucfa.js} +9 -9
- package/dist/cdn/chunks/{list-item-Y0wOQqRa.js → list-item-DpQBn1El.js} +74 -73
- package/dist/cdn/chunks/{list-item-segment-BamNSRcL.js → list-item-segment-AVJcFdeh.js} +29 -28
- package/dist/cdn/chunks/{menu-Cvwt6mA5.js → menu-CYxTNgBa.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-D9Etcq_r.js → menu-bar-BcZ1EP6b.js} +13 -8
- package/dist/cdn/chunks/{menu-bar-item-BUVqi3o-.js → menu-bar-item-D0UrqKlH.js} +7 -7
- package/dist/cdn/chunks/{menu-divider-BqRMxjF3.js → menu-divider-uvK-8rJG.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BSnRGQgm.js → menu-group-BIPjBdrU.js} +4 -4
- package/dist/cdn/chunks/{menu-item-UQoejlK0.js → menu-item-DcBe9_qD.js} +4 -4
- package/dist/cdn/chunks/{menu.template-CewvJO-Y.js → menu.template-BFq905uv.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-C6XUoI95.js → modal-dialog-CXfPMsvc.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-4Vn5Nrjo.js → multi-line-text-field-BLibOq1E.js} +8 -6
- package/dist/cdn/chunks/{navigation-split-view-BEwcAHWu.js → navigation-split-view-jk6HesTp.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-Bc53Pa5u.js} +7 -7
- package/dist/cdn/chunks/{number-field-wFK_taVU.js → number-field-CYDiJ7CO.js} +40 -16
- package/dist/cdn/chunks/{one-half-one-half-section-CyedWMlH.js → one-half-one-half-section-DTTHJknv.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-LRJlzoAZ.js → one-third-two-thirds-section-C0YU3ss3.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BYQfRePV.js → one-time-code-field-DsfKUJDd.js} +18 -13
- package/dist/cdn/chunks/{overflow-menu-BdEHECvL.js → overflow-menu-8GWanho5.js} +1 -1
- package/dist/cdn/chunks/{page-DpGgV58g.js → page-BIXY8Czs.js} +5 -5
- package/dist/cdn/chunks/{page-footer-DxaWwS8U.js → page-footer-BSPneEMd.js} +5 -5
- package/dist/cdn/chunks/{page-section-mixin-DigQhtVE.js → page-section-mixin-HrMHOk9c.js} +3 -3
- package/dist/cdn/chunks/{pagination-Ch0EdxDX.js → pagination-DkV6axw8.js} +7 -7
- package/dist/cdn/chunks/{password-field-Dm8ah1v8.js → password-field-eZtU3DR2.js} +11 -9
- package/dist/cdn/chunks/{popover-Bhr3Nbst.js → popover-BjXDnHDF.js} +5 -5
- package/dist/cdn/chunks/press-feedback-BtUqwC_0.js +12 -0
- package/dist/cdn/chunks/{progress-bar-BBpNc1Wm.js → progress-bar-D5-CB4NJ.js} +14 -15
- package/dist/cdn/chunks/{progress-circle-DfbawfeQ.js → progress-circle-tXH6BMlN.js} +18 -16
- package/dist/cdn/chunks/{radio-button-D_KTcIAN.js → radio-button-CsgnS_Qn.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-H_NQqcZp.js → radio-button-field-DbnG-fR8.js} +7 -7
- package/dist/cdn/chunks/{radio-button-group-kbaWn4YY.js → radio-button-group-BUujUoVm.js} +3 -3
- package/dist/cdn/chunks/{render-marked-DnJwRVpy.js → render-marked-BSbmklIR.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BI4CugME.js → reorder-handle-cell-Bi_v5VZB.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-LPcbGhhD.js → reorder-handle-mixin-Cu-u0TY-.js} +2 -2
- package/dist/cdn/chunks/{repeat-BBqtniIo.js → repeat-DU632DST.js} +2 -2
- package/dist/cdn/chunks/{rich-text-xlU1NiF6.js → rich-text-C4DZxOTU.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CyqWb67i.js → row-header-mixin-CMAyjE-7.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-CTn6QJuM.js → scroll-fade-DBQ2mD8Y.js} +2 -2
- package/dist/cdn/chunks/{search-field-OpYujGwS.js → search-field-NJcMkh2l.js} +12 -10
- package/dist/cdn/chunks/{segmented-control-8NtY_sU6.js → segmented-control-Bx0X7A2X.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-CtbMaZlz.js → shadow-resets-BplgOKPc.js} +2 -2
- package/dist/cdn/chunks/{sheet-C_biEFcb.js → sheet-96shetPW.js} +3 -3
- package/dist/cdn/chunks/{shell-OXRr3zFb.js → shell-D53z8Daa.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DVXrHULp.js → side-by-side-split-view-CA3ZYDmC.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-DYa_6OWF.js → sidebar-section-oUXcNchf.js} +8 -8
- package/dist/cdn/chunks/{simple-section-CGUSyUAl.js → simple-section-DhSCulaz.js} +3 -3
- package/dist/cdn/chunks/{skip-link-Dl2ouKZk.js → skip-link-CNvkL2ng.js} +5 -5
- package/dist/cdn/chunks/{slider-Do-LOJNR.js → slider-Ba5O0jF6.js} +12 -11
- package/dist/cdn/chunks/{spacer-BgHrBz2X.js → spacer-Bz-xBLrh.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-CiQ8Ufpp.js → spacer-cell-k1AYw_80.js} +4 -4
- package/dist/cdn/chunks/{split-button-Sd_-qYSD.js → split-button-DwHGhJ94.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-D1TzV2VR.js → split-view-divider-BTt7hrtq.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-Ctlqwe0S.js → stacked-split-view-Cq3kBEo7.js} +4 -4
- package/dist/cdn/chunks/{static-html-C8oeEnJZ.js → static-html-C1_QY9-9.js} +1 -1
- package/dist/cdn/chunks/{status-bar-u2SmYnKZ.js → status-bar-Y3NC9vFo.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BA852p33.js → step-bar-DEOX-7NN.js} +7 -7
- package/dist/cdn/chunks/{step-cell-DF9xadrF.js → step-cell-Crml9Hpt.js} +5 -5
- package/dist/cdn/chunks/{stepper-dRpkKCse.js → stepper-XZGIlIIU.js} +7 -7
- package/dist/cdn/chunks/{style-map-eCE91iAi.js → style-map-Bznyirg7.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Bjv3Yyk1.js → swatch-picker-4fIhPJQc.js} +6 -6
- package/dist/cdn/chunks/{switch-DJBzXPfD.js → switch-DPjb_Wtv.js} +6 -6
- package/dist/cdn/chunks/{switch-field-uMAxSz6L.js → switch-field-DF96_PUQ.js} +7 -7
- package/dist/cdn/chunks/{tab-bar-DLHqLs6Y.js → tab-bar-CtZpacEn.js} +8 -8
- package/dist/cdn/chunks/{table-BLvkO5AG.js → table-S76Xq4j8.js} +5 -5
- package/dist/cdn/chunks/{tag-DYhl2u2I.js → tag-Bzem1z9I.js} +5 -5
- package/dist/cdn/chunks/{term-D79d-lz3.js → term-Bbuv7_kb.js} +12 -12
- package/dist/cdn/chunks/{text-kRZ3cyId.js → text-C7mSKF-E.js} +4 -4
- package/dist/cdn/chunks/{text-cell-BbVoThab.js → text-cell-CMXSo5Ra.js} +9 -9
- package/dist/cdn/chunks/{text-editor-dZhei5Gg.js → text-editor-DgkEF4fV.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-B06CiuOY.js} +8 -6
- package/dist/cdn/chunks/{text-wrap-C6QQbSuj.js → text-wrap-EQF-fBi4.js} +2 -2
- package/dist/cdn/chunks/{time-field-BXVxhV80.js → time-field-CUvhCoHF.js} +16 -14
- package/dist/cdn/chunks/{time-picker-BjJfPmir.js → time-picker-wgfjQpFB.js} +6 -6
- package/dist/cdn/chunks/{title-DsOLSMHj.js → title-Uzi0g--W.js} +5 -5
- package/dist/cdn/chunks/{title-cell-DXcur6Eb.js → title-cell-Cc9j1I4W.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-7fasRpr1.js → toggle-button-DeKfh6eM.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-group-B9No_FIj.js → toggle-button-group-DU2SGR3P.js} +2 -2
- package/dist/cdn/chunks/{token-BYCl-dDP.js → token-BC3tY59o.js} +5 -5
- package/dist/cdn/chunks/{token-field-C9fGsIxB.js → token-field-BO_hUPuR.js} +13 -11
- package/dist/cdn/chunks/{toolbar-CBs6yMNd.js → toolbar-BWmrbOds.js} +9 -9
- package/dist/cdn/chunks/{toolbar-item-DYVo5I60.js → toolbar-item-jnrwcrih.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-Bu5PbFPP.js → toolbar-title-STB4FCnn.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BUS-XIdr.js → toolbar.styles-D7-Iy0U9.js} +3 -11
- package/dist/cdn/chunks/{tooltip-yXDfEbZ1.js → tooltip-C1qPjhuT.js} +5 -5
- package/dist/cdn/chunks/{top-navigation-bar-DW6xYKY0.js → top-navigation-bar-9Iy3niRW.js} +117 -128
- package/dist/cdn/chunks/{top-title-bar-Fk4jzs8I.js → top-title-bar-AiWXxvEn.js} +6 -6
- package/dist/cdn/chunks/{two-thirds-one-third-section-B9a1YYXm.js → two-thirds-one-third-section-B4-HS2qN.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BAyP6Ccd.js → validation-list-_cQOzDKg.js} +5 -5
- package/dist/cdn/chunks/{visibility-mixin-9Nr_J68Z.js → visibility-mixin-yf02zdEy.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BN6jVrRE.js → visually-hidden-hjpQo7w2.js} +2 -2
- package/dist/cdn/chunks/{window-D4rLzdHo.js → window-Br52FScm.js} +4 -4
- package/dist/cdn/chunks/{with-translations-RkK-Bq8M.js → with-translations-Z7dHTxzy.js} +3 -3
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +4 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +0 -8
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +2 -2
- package/dist/components/content/blockquote/blockquote.js +2 -2
- package/dist/components/content/blockquote/blockquote.styles.js +2 -2
- package/dist/components/content/icon/icon.d.ts +1 -1
- package/dist/components/content/icon/icon.js +1 -1
- package/dist/components/content/icon/icon.styles.js +1 -1
- package/dist/components/content/identity/identity.d.ts +1 -1
- package/dist/components/content/identity/identity.js +1 -1
- package/dist/components/content/image/image.d.ts +2 -2
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +3 -3
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +5 -2
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +3 -1
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +1 -1
- package/dist/components/content/text/text.d.ts +1 -1
- package/dist/components/content/text/text.js +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +1 -1
- 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.d.ts +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/date-picker/date-picker.d.ts +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +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.d.ts +10 -2
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +32 -4
- package/dist/components/inputs/number-field/number-field.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 +15 -5
- 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 +10 -3
- 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 +16 -6
- 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.d.ts +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/radio-button/radio-button.d.ts +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +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/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +3 -2
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +1 -1
- package/dist/components/inputs/switch/switch.js +1 -1
- package/dist/components/inputs/switch/switch.styles.js +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +1 -1
- package/dist/components/inputs/switch-field/switch-field.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.d.ts +1 -1
- 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.d.ts +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/time-picker/time-picker.d.ts +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +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/components/layout/page-sections/hero/hero-corner.d.ts +3 -3
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.js +31 -24
- package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js +9 -9
- package/dist/components/layout/page-sections/hero/hero.d.ts +32 -28
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +40 -33
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +61 -23
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +20 -10
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +80 -32
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +2 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +6 -3
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +4 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +3 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +21 -7
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +4 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +5 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +5 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +10 -21
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +2 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +1 -0
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -7
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +4 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +16 -8
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +6 -6
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +0 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +3 -2
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +3 -2
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +1 -1
- package/dist/css/rich-text.css +2 -3
- 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 +24 -15
- package/dist/nldd.min.js +1006 -846
- 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 +40 -44
- package/dist/types/vue.d.ts +213 -55
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +23 -18
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +10 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +49 -0
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/press-feedback.d.ts +16 -0
- package/dist/utilities/press-feedback.d.ts.map +1 -0
- package/dist/utilities/press-feedback.js +27 -0
- package/dist/utilities/press-feedback.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +43 -6
- package/lint/rule.schema.json +2 -1
- package/package.json +1 -1
|
@@ -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-DVm3azdM.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-ksBh8Hul.js";
|
|
3
|
+
import { o as oe, r as se, s as c } from "./dist-BGxQOo33.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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as e, Dt as t,
|
|
1
|
+
import { Ct as e, Dt as t, Ot as n, St as r, Tt as i, wt as a, xt as o } from "./languages-ksBh8Hul.js";
|
|
2
2
|
// node_modules/@lezer/lr/dist/index.js
|
|
3
3
|
var s = class e {
|
|
4
4
|
constructor(e, t, n, r, i, a, o, s, c, l = 0, u) {
|
|
@@ -435,11 +435,11 @@ function b(e, t, n, r) {
|
|
|
435
435
|
}
|
|
436
436
|
var x = typeof process < "u" && process.env && /\bparse\b/.test(process.env.LOG), S = null;
|
|
437
437
|
function C(e, t, n) {
|
|
438
|
-
let
|
|
439
|
-
for (
|
|
440
|
-
if ((n < 0 ?
|
|
441
|
-
if (n < 0 ?
|
|
442
|
-
if (!
|
|
438
|
+
let i = e.cursor(r.IncludeAnonymous);
|
|
439
|
+
for (i.moveTo(t);;) if (!(n < 0 ? i.childBefore(t) : i.childAfter(t))) for (;;) {
|
|
440
|
+
if ((n < 0 ? i.to < t : i.from > t) && !i.type.isError) return n < 0 ? Math.max(0, Math.min(i.to - 1, t - 25)) : Math.min(e.length, Math.max(i.from + 1, t + 25));
|
|
441
|
+
if (n < 0 ? i.prevSibling() : i.nextSibling()) break;
|
|
442
|
+
if (!i.parent()) return n < 0 ? 0 : e.length;
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
445
|
var w = class {
|
|
@@ -453,31 +453,31 @@ var w = class {
|
|
|
453
453
|
this.trees.push(e.tree), this.start.push(-e.offset), this.index.push(0), this.nextStart = this.safeFrom;
|
|
454
454
|
} else this.nextStart = 1e9;
|
|
455
455
|
}
|
|
456
|
-
nodeAt(
|
|
457
|
-
if (
|
|
458
|
-
for (; this.fragment && this.safeTo <=
|
|
456
|
+
nodeAt(t) {
|
|
457
|
+
if (t < this.nextStart) return null;
|
|
458
|
+
for (; this.fragment && this.safeTo <= t;) this.nextFragment();
|
|
459
459
|
if (!this.fragment) return null;
|
|
460
460
|
for (;;) {
|
|
461
|
-
let
|
|
462
|
-
if (
|
|
463
|
-
let i = this.trees[
|
|
461
|
+
let r = this.trees.length - 1;
|
|
462
|
+
if (r < 0) return this.nextFragment(), null;
|
|
463
|
+
let i = this.trees[r], a = this.index[r];
|
|
464
464
|
if (a == i.children.length) {
|
|
465
465
|
this.trees.pop(), this.start.pop(), this.index.pop();
|
|
466
466
|
continue;
|
|
467
467
|
}
|
|
468
|
-
let o = i.children[a], s = this.start[
|
|
469
|
-
if (s >
|
|
470
|
-
if (o instanceof
|
|
471
|
-
if (s ==
|
|
468
|
+
let o = i.children[a], s = this.start[r] + i.positions[a];
|
|
469
|
+
if (s > t) return this.nextStart = s, null;
|
|
470
|
+
if (o instanceof n) {
|
|
471
|
+
if (s == t) {
|
|
472
472
|
if (s < this.safeFrom) return null;
|
|
473
|
-
let
|
|
474
|
-
if (
|
|
475
|
-
let
|
|
476
|
-
if (!
|
|
473
|
+
let t = s + o.length;
|
|
474
|
+
if (t <= this.safeTo) {
|
|
475
|
+
let n = o.prop(e.lookAhead);
|
|
476
|
+
if (!n || t + n < this.fragment.to) return o;
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
-
this.index[
|
|
480
|
-
} else this.index[
|
|
479
|
+
this.index[r]++, s + o.length >= Math.max(this.safeFrom, t) && (this.trees.push(o), this.start.push(s), this.index.push(0));
|
|
480
|
+
} else this.index[r]++, this.nextStart = s + o.length;
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
}, T = class {
|
|
@@ -600,28 +600,28 @@ var w = class {
|
|
|
600
600
|
if (this.stoppedAt != null && this.stoppedAt < e) throw RangeError("Can't move stoppedAt forward");
|
|
601
601
|
this.stoppedAt = e;
|
|
602
602
|
}
|
|
603
|
-
advanceStack(
|
|
604
|
-
let a =
|
|
605
|
-
if (this.stoppedAt != null && a > this.stoppedAt) return
|
|
603
|
+
advanceStack(t, r, i) {
|
|
604
|
+
let a = t.pos, { parser: o } = this, s = x ? this.stackID(t) + " -> " : "";
|
|
605
|
+
if (this.stoppedAt != null && a > this.stoppedAt) return t.forceReduce() ? t : null;
|
|
606
606
|
if (this.fragments) {
|
|
607
|
-
let
|
|
607
|
+
let r = t.curContext && t.curContext.tracker.strict, i = r ? t.curContext.hash : 0;
|
|
608
608
|
for (let c = this.fragments.nodeAt(a); c;) {
|
|
609
|
-
let a = this.parser.nodeSet.types[c.type.id] == c.type ? o.getGoto(
|
|
610
|
-
if (a > -1 && c.length && (!
|
|
611
|
-
if (!(c instanceof
|
|
609
|
+
let a = this.parser.nodeSet.types[c.type.id] == c.type ? o.getGoto(t.state, c.type.id) : -1;
|
|
610
|
+
if (a > -1 && c.length && (!r || (c.prop(e.contextHash) || 0) == i)) return t.useNode(c, a), x && console.log(s + this.stackID(t) + ` (via reuse of ${o.getName(c.type.id)})`), !0;
|
|
611
|
+
if (!(c instanceof n) || c.children.length == 0 || c.positions[0] > 0) break;
|
|
612
612
|
let l = c.children[0];
|
|
613
|
-
if (l instanceof
|
|
613
|
+
if (l instanceof n && c.positions[0] == 0) c = l;
|
|
614
614
|
else break;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
let c = o.stateSlot(
|
|
618
|
-
if (c > 0) return
|
|
619
|
-
if (
|
|
620
|
-
let l = this.tokens.getActions(
|
|
621
|
-
for (let
|
|
622
|
-
let
|
|
623
|
-
if (f.apply(
|
|
624
|
-
f.pos > a ?
|
|
617
|
+
let c = o.stateSlot(t.state, 4);
|
|
618
|
+
if (c > 0) return t.reduce(c), x && console.log(s + this.stackID(t) + ` (via always-reduce ${o.getName(c & 65535)})`), !0;
|
|
619
|
+
if (t.stack.length >= 8400) for (; t.stack.length > 6e3 && t.forceReduce(););
|
|
620
|
+
let l = this.tokens.getActions(t);
|
|
621
|
+
for (let e = 0; e < l.length;) {
|
|
622
|
+
let n = l[e++], c = l[e++], u = l[e++], d = e == l.length || !i, f = d ? t : t.split(), p = this.tokens.mainToken;
|
|
623
|
+
if (f.apply(n, c, p ? p.start : f.pos, u), x && console.log(s + this.stackID(f) + ` (via ${n & 65536 ? `reduce of ${o.getName(n & 65535)}` : "shift"} for ${o.getName(c)} @ ${a}${f == t ? "" : ", split"})`), d) return !0;
|
|
624
|
+
f.pos > a ? r.push(f) : i.push(f);
|
|
625
625
|
}
|
|
626
626
|
return !1;
|
|
627
627
|
}
|
|
@@ -645,7 +645,7 @@ var w = class {
|
|
|
645
645
|
return r;
|
|
646
646
|
}
|
|
647
647
|
stackToTree(e) {
|
|
648
|
-
return e.close(),
|
|
648
|
+
return e.close(), n.build({
|
|
649
649
|
buffer: u.create(e),
|
|
650
650
|
nodeSet: this.parser.nodeSet,
|
|
651
651
|
topID: this.topTerm,
|
|
@@ -682,38 +682,38 @@ var O = class {
|
|
|
682
682
|
constructor(e) {
|
|
683
683
|
this.start = e.start, this.shift = e.shift || k, this.reduce = e.reduce || k, this.reuse = e.reuse || k, this.hash = e.hash || (() => 0), this.strict = e.strict !== !1;
|
|
684
684
|
}
|
|
685
|
-
}, j = class
|
|
685
|
+
}, j = class n extends t {
|
|
686
686
|
constructor(t) {
|
|
687
687
|
if (super(), this.wrappers = [], t.version != 14) throw RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);
|
|
688
688
|
let n = t.nodeNames.split(" ");
|
|
689
689
|
this.minRepeatTerm = n.length;
|
|
690
690
|
for (let e = 0; e < t.repeatNodeCount; e++) n.push("");
|
|
691
|
-
let
|
|
691
|
+
let r = Object.keys(t.topRules).map((e) => t.topRules[e][1]), s = [];
|
|
692
692
|
for (let e = 0; e < n.length; e++) s.push([]);
|
|
693
693
|
function c(e, t, n) {
|
|
694
694
|
s[e].push([t, t.deserialize(String(n))]);
|
|
695
695
|
}
|
|
696
|
-
if (t.nodeProps) for (let
|
|
697
|
-
let t =
|
|
698
|
-
typeof t == "string" && (t =
|
|
699
|
-
for (let
|
|
700
|
-
let r = e
|
|
701
|
-
if (r >= 0) c(r, t, e
|
|
696
|
+
if (t.nodeProps) for (let n of t.nodeProps) {
|
|
697
|
+
let t = n[0];
|
|
698
|
+
typeof t == "string" && (t = e[t]);
|
|
699
|
+
for (let e = 1; e < n.length;) {
|
|
700
|
+
let r = n[e++];
|
|
701
|
+
if (r >= 0) c(r, t, n[e++]);
|
|
702
702
|
else {
|
|
703
|
-
let i = e
|
|
704
|
-
for (let a = -r; a > 0; a--) c(e
|
|
705
|
-
|
|
703
|
+
let i = n[e + -r];
|
|
704
|
+
for (let a = -r; a > 0; a--) c(n[e++], t, i);
|
|
705
|
+
e++;
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
|
-
this.nodeSet = new
|
|
709
|
+
this.nodeSet = new a(n.map((e, n) => i.define({
|
|
710
710
|
name: n >= this.minRepeatTerm ? void 0 : e,
|
|
711
711
|
id: n,
|
|
712
712
|
props: s[n],
|
|
713
|
-
top:
|
|
713
|
+
top: r.indexOf(n) > -1,
|
|
714
714
|
error: n == 0,
|
|
715
715
|
skipped: t.skippedNodes && t.skippedNodes.indexOf(n) > -1
|
|
716
|
-
}))), t.propSources && (this.nodeSet = this.nodeSet.extend(...t.propSources)), this.strict = !1, this.bufferLength =
|
|
716
|
+
}))), t.propSources && (this.nodeSet = this.nodeSet.extend(...t.propSources)), this.strict = !1, this.bufferLength = o;
|
|
717
717
|
let l = d(t.tokenData);
|
|
718
718
|
this.context = t.context, this.specializerSpecs = t.specialized || [], this.specialized = new Uint16Array(this.specializerSpecs.length);
|
|
719
719
|
for (let e = 0; e < this.specializerSpecs.length; e++) this.specialized[e] = this.specializerSpecs[e].term;
|
|
@@ -781,21 +781,21 @@ var O = class {
|
|
|
781
781
|
return t;
|
|
782
782
|
}
|
|
783
783
|
configure(e) {
|
|
784
|
-
let
|
|
785
|
-
if (e.props && (
|
|
786
|
-
let
|
|
787
|
-
if (!
|
|
788
|
-
|
|
784
|
+
let t = Object.assign(Object.create(n.prototype), this);
|
|
785
|
+
if (e.props && (t.nodeSet = this.nodeSet.extend(...e.props)), e.top) {
|
|
786
|
+
let n = this.topRules[e.top];
|
|
787
|
+
if (!n) throw RangeError(`Invalid top rule name ${e.top}`);
|
|
788
|
+
t.top = n;
|
|
789
789
|
}
|
|
790
|
-
return e.tokenizers && (
|
|
790
|
+
return e.tokenizers && (t.tokenizers = this.tokenizers.map((t) => {
|
|
791
791
|
let n = e.tokenizers.find((e) => e.from == t);
|
|
792
792
|
return n ? n.to : t;
|
|
793
|
-
})), e.specializers && (
|
|
794
|
-
let i = e.specializers.find((e) => e.from ==
|
|
795
|
-
if (!i) return
|
|
796
|
-
let a = Object.assign(Object.assign({},
|
|
797
|
-
return
|
|
798
|
-
})), e.contextTracker && (
|
|
793
|
+
})), e.specializers && (t.specializers = this.specializers.slice(), t.specializerSpecs = this.specializerSpecs.map((n, r) => {
|
|
794
|
+
let i = e.specializers.find((e) => e.from == n.external);
|
|
795
|
+
if (!i) return n;
|
|
796
|
+
let a = Object.assign(Object.assign({}, n), { external: i.to });
|
|
797
|
+
return t.specializers[r] = P(a), a;
|
|
798
|
+
})), e.contextTracker && (t.context = e.contextTracker), e.dialect && (t.dialect = this.parseDialect(e.dialect)), e.strict != null && (t.strict = e.strict), e.wrap && (t.wrappers = t.wrappers.concat(e.wrap)), e.bufferLength != null && (t.bufferLength = e.bufferLength), t;
|
|
799
799
|
}
|
|
800
800
|
hasWrappers() {
|
|
801
801
|
return this.wrappers.length > 0;
|
|
@@ -824,7 +824,7 @@ var O = class {
|
|
|
824
824
|
return new O(e, n, r);
|
|
825
825
|
}
|
|
826
826
|
static deserialize(e) {
|
|
827
|
-
return new
|
|
827
|
+
return new n(e);
|
|
828
828
|
}
|
|
829
829
|
};
|
|
830
830
|
function M(e, t) {
|