@mono-lit/helper 0.0.2 → 0.0.3
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/dist/{breakpoints-CAbhDUht.js → breakpoints-DllybT82.js} +7 -5
- package/dist/checkbox.css_raw-AYtSbUtY.js +5 -0
- package/dist/{chip-limits-BMoO31JM.js → chip-limits-CFABydIL.js} +5 -3
- package/dist/{chip-strip-Cw3gyz0q.js → chip-strip-bNfLn52Z.js} +5 -3
- package/dist/chip.css_raw-ChfRSHLO.js +5 -0
- package/dist/{color-DHYrfXsX.js → color-CEYYtRX-.js} +8 -7
- package/dist/{css-class-BRKRzHx-.js → css-class-B6Tc_MAx.js} +2 -1
- package/dist/{css-size-DhHSVZJK.js → css-size-DWAPgQdT.js} +2 -1
- package/dist/{data-source-controller-Dbb4fd8I.js → data-source-controller-Cf_sMxEh.js} +4 -2
- package/dist/{data-source-controller-B_rgHCjw.js → data-source-controller-Dx6IQ2CN.js} +4 -2
- package/dist/{data-source-options-CP-X62Pa.js → data-source-options-Bk-UoaZV.js} +15 -10
- package/dist/{data-source-options-Jqj7LU3Z.js → data-source-options-QjuI73g8.js} +17 -12
- package/dist/{data-source-read-B4DGp6UQ.js → data-source-read-Cuqw3LcP.js} +7 -4
- package/dist/{data-source-read-DL88aH8t.js → data-source-read-FxqzQkk2.js} +8 -5
- package/dist/{decorate-DEXtNagw.js → decorate-DbYFpi8R.js} +7 -5
- package/dist/{element-props-CLB6yvbm.js → element-props-xvw0EB7H.js} +4 -3
- package/dist/{esm-Ptok4SQZ.js → esm-D0We7ndD.js} +48 -44
- package/dist/{excel-DopRbEMK.js → excel-BXzr3uI1.js} +192 -16
- package/dist/{excel-CY6zGkcx.js → excel-DtRpxmxs.js} +27 -16
- package/dist/{export-BiGVyxt6.js → export-B91P6J1y.js} +104 -18
- package/dist/export.js +103 -18
- package/dist/{field-icons-DELrSdqJ.js → field-icons-FmyBWa0g.js} +3 -1
- package/dist/{field-path-C92eGLg3.js → field-path-BabiMrrA.js} +3 -2
- package/dist/{filter-builder-CE4zE0V5.js → filter-builder-B6Y2mmbM.js} +7 -4
- package/dist/{filter-builder-Bke3qOgJ.js → filter-builder-C0T3pMx2.js} +7 -4
- package/dist/{filter-eval-DIfU2EAn.js → filter-eval-ChDSaAUH.js} +7 -5
- package/dist/{filter-odata-C1vSGZaY.js → filter-odata-Bi27XUpQ.js} +9 -6
- package/dist/{form-control-core-B8d7k6vk.js → form-control-core-CIdMLXMo.js} +9 -6
- package/dist/{form-control-core-eeRr0zLU.js → form-control-core-CRZPZ1ru.js} +9 -6
- package/dist/hydration-flush-DHrl4_KK.js +1014 -0
- package/dist/{icon-CJkTlmTb.js → icon-BM9N-jOt.js} +5 -2
- package/dist/{icon-dVhYJUIH.js → icon-ClxnYhBG.js} +4 -2
- package/dist/{import-BgJdkwBI.js → import-Dc4eXC02.js} +22 -16
- package/dist/import.js +22 -16
- package/dist/index.js +17 -16
- package/dist/{index.node-BIqEGehH.js → index.node-dvrNviMx.js} +26 -20
- package/dist/index.node.js +17 -16
- package/dist/input.css_raw-CGESifay.js +5 -0
- package/dist/{layout-var-CZnzMC0s.js → layout-var-BSBKY49k.js} +3 -2
- package/dist/{light-slots-BVJwyg_2.js → light-slots-4ZCjOcBg.js} +6 -4
- package/dist/{light-slots-DW1WgfgT.js → light-slots-DdDdZ6zs.js} +6 -4
- package/dist/{markdown-DfqrfOJN.js → markdown-uGlE_OfJ.js} +414 -369
- package/dist/mono-button-CeDB9khW.js +878 -0
- package/dist/mono-button.shadow-D9NdMsmH.js +790 -0
- package/dist/{mono-data-chart-CEv29_NS.js → mono-data-chart-ChkelNT7.js} +15 -12
- package/dist/{mono-data-dropdown-Wnoke6zO.js → mono-data-dropdown-DxpUUk2y.js} +5 -3
- package/dist/{mono-data-grid-YjR3n9Ar.js → mono-data-grid-8jmeIXUU.js} +56 -38
- package/dist/{mono-data-grid-CjkEqxgE.js → mono-data-grid-BHlo1IgR.js} +56 -38
- package/dist/{mono-element-B0kP_96P.js → mono-element-C7vCschg.js} +7 -4
- package/dist/{mono-event-Bi1qP9uN.js → mono-event-BPku9HpS.js} +4 -3
- package/dist/{mono-form-controller-5PfsU4qa.js → mono-form-controller-IYn0MuUQ.js} +7 -4
- package/dist/{mono-modal-controller-BMO3n3rP.js → mono-modal-controller-ClObbHUs.js} +9 -7
- package/dist/{mono-ui-CPV7rrdo.js → mono-ui-BwUc0L6B.js} +22 -20
- package/dist/{normalize-error-Gcgmgh5i.js → normalize-error-D93O4q8g.js} +26 -20
- package/dist/{notifier-CE4yxMUQ.js → notifier-BIrqUzRh.js} +11 -1
- package/dist/nuxt.js +20 -15
- package/dist/{popup-portal-BziRX1yG.js → popup-portal-HWhkd7oy.js} +6 -4
- package/dist/{popup-stack-CEEMib__.js → popup-stack-De05Y-mJ.js} +13 -10
- package/dist/{rate-limit-BBa2PO79.js → rate-limit-e9Jlpl5l.js} +12 -9
- package/dist/{reactive-Di3mTMnV.js → reactive-DFCdZbH9.js} +30 -22
- package/dist/{reactive-D3EERqgO.js → reactive-Dtd-esHO.js} +2 -1
- package/dist/search.js +5 -4
- package/dist/src/components/accordion/accordion-core.d.ts +42 -40
- package/dist/src/components/accordion/accordion-types.d.ts +50 -48
- package/dist/src/components/accordion/index.d.ts +3 -2
- package/dist/src/components/accordion/index.shadow.d.ts +4 -4
- package/dist/src/components/accordion/mono-accordion.d.ts +44 -40
- package/dist/src/components/accordion/mono-accordion.shadow.d.ts +42 -38
- package/dist/src/components/alert/alert-core.d.ts +30 -28
- package/dist/src/components/alert/alert-types.d.ts +36 -34
- package/dist/src/components/alert/index.d.ts +3 -2
- package/dist/src/components/alert/index.shadow.d.ts +4 -4
- package/dist/src/components/alert/mono-alert.d.ts +30 -26
- package/dist/src/components/alert/mono-alert.shadow.d.ts +24 -20
- package/dist/src/components/breadcrumb/breadcrumb-core.d.ts +42 -40
- package/dist/src/components/breadcrumb/breadcrumb-list-core.d.ts +31 -29
- package/dist/src/components/breadcrumb/breadcrumb-render.d.ts +18 -16
- package/dist/src/components/breadcrumb/breadcrumb-types.d.ts +89 -87
- package/dist/src/components/breadcrumb/breadcrumb-utils.d.ts +18 -15
- package/dist/src/components/breadcrumb/index.d.ts +6 -5
- package/dist/src/components/breadcrumb/index.shadow.d.ts +7 -7
- package/dist/src/components/breadcrumb/mono-breadcrumb-list.d.ts +18 -14
- package/dist/src/components/breadcrumb/mono-breadcrumb-list.shadow.d.ts +33 -29
- package/dist/src/components/breadcrumb/mono-breadcrumb.d.ts +24 -20
- package/dist/src/components/breadcrumb/mono-breadcrumb.shadow.d.ts +55 -51
- package/dist/src/components/button/button-core.d.ts +73 -71
- package/dist/src/components/button/button-dropdown-core.d.ts +55 -53
- package/dist/src/components/button/button-dropdown-types.d.ts +98 -96
- package/dist/src/components/button/button-types.d.ts +157 -155
- package/dist/src/components/button/button-utils.d.ts +7 -5
- package/dist/src/components/button/index.button-dropdown.d.ts +5 -3
- package/dist/src/components/button/index.button-dropdown.shadow.d.ts +5 -3
- package/dist/src/components/button/index.d.ts +4 -7
- package/dist/src/components/button/index.shadow.d.ts +5 -4
- package/dist/src/components/button/mono-button-dropdown.d.ts +24 -19
- package/dist/src/components/button/mono-button-dropdown.shadow.d.ts +34 -29
- package/dist/src/components/button/mono-button.d.ts +105 -101
- package/dist/src/components/button/mono-button.shadow.d.ts +42 -38
- package/dist/src/components/card/card-core.d.ts +59 -57
- package/dist/src/components/card/card-types.d.ts +91 -89
- package/dist/src/components/card/card-utils.d.ts +11 -9
- package/dist/src/components/card/index.d.ts +4 -3
- package/dist/src/components/card/index.shadow.d.ts +5 -5
- package/dist/src/components/card/mono-card.d.ts +36 -32
- package/dist/src/components/card/mono-card.shadow.d.ts +32 -28
- package/dist/src/components/chart/chart-core.d.ts +30 -28
- package/dist/src/components/chart/chart-odata.d.ts +17 -16
- package/dist/src/components/chart/chart-types.d.ts +269 -267
- package/dist/src/components/chart/index.d.ts +7 -7
- package/dist/src/components/chart/index.shadow.d.ts +7 -6
- package/dist/src/components/chart/mono-chart-presets.d.ts +33 -29
- package/dist/src/components/chart/mono-chart-presets.shadow.d.ts +33 -29
- package/dist/src/components/chart/mono-chart.d.ts +13 -9
- package/dist/src/components/chart/mono-chart.shadow.d.ts +13 -9
- package/dist/src/components/chart/mono-data-chart.d.ts +4 -26
- package/dist/src/components/checkbox/checkbox-core.d.ts +39 -37
- package/dist/src/components/checkbox/checkbox-types.d.ts +59 -57
- package/dist/src/components/checkbox/checkbox-utils.d.ts +13 -11
- package/dist/src/components/checkbox/index.d.ts +4 -3
- package/dist/src/components/checkbox/index.shadow.d.ts +5 -4
- package/dist/src/components/checkbox/mono-checkbox.d.ts +21 -17
- package/dist/src/components/checkbox/mono-checkbox.shadow.d.ts +31 -27
- package/dist/src/components/chip/chip-core.d.ts +42 -40
- package/dist/src/components/chip/chip-types.d.ts +104 -102
- package/dist/src/components/chip/chip-utils.d.ts +20 -18
- package/dist/src/components/chip/index.d.ts +5 -7
- package/dist/src/components/chip/index.shadow.d.ts +6 -5
- package/dist/src/components/chip/mono-chip.d.ts +31 -27
- package/dist/src/components/chip/mono-chip.shadow.d.ts +19 -15
- package/dist/src/components/chip/mono-status-dot.d.ts +19 -17
- package/dist/src/components/date/date-core.d.ts +64 -62
- package/dist/src/components/date/date-types.d.ts +143 -141
- package/dist/src/components/date/index.d.ts +3 -2
- package/dist/src/components/date/index.shadow.d.ts +4 -3
- package/dist/src/components/date/mono-date.d.ts +12 -8
- package/dist/src/components/date/mono-date.shadow.d.ts +21 -17
- package/dist/src/components/drawer/drawer-core.d.ts +75 -73
- package/dist/src/components/drawer/drawer-types.d.ts +109 -107
- package/dist/src/components/drawer/index.d.ts +3 -2
- package/dist/src/components/drawer/index.shadow.d.ts +4 -3
- package/dist/src/components/drawer/mono-drawer.d.ts +32 -28
- package/dist/src/components/drawer/mono-drawer.shadow.d.ts +34 -31
- package/dist/src/components/dropdown/dropdown-core.d.ts +31 -29
- package/dist/src/components/dropdown/dropdown-types.d.ts +62 -60
- package/dist/src/components/dropdown/index.d.ts +3 -2
- package/dist/src/components/dropdown/index.shadow.d.ts +4 -3
- package/dist/src/components/dropdown/mono-dropdown.d.ts +23 -19
- package/dist/src/components/dropdown/mono-dropdown.shadow.d.ts +19 -15
- package/dist/src/components/dropdown-table/dropdown-table-core.d.ts +53 -51
- package/dist/src/components/dropdown-table/dropdown-table-types.d.ts +218 -216
- package/dist/src/components/dropdown-table/index.d.ts +5 -4
- package/dist/src/components/dropdown-table/index.shadow.d.ts +6 -5
- package/dist/src/components/dropdown-table/mono-data-dropdown.d.ts +119 -129
- package/dist/src/components/dropdown-table/mono-dropdown-table.d.ts +20 -16
- package/dist/src/components/dropdown-table/mono-dropdown-table.shadow.d.ts +15 -11
- package/dist/src/components/file-upload/file-upload-core.d.ts +44 -42
- package/dist/src/components/file-upload/file-upload-types.d.ts +123 -121
- package/dist/src/components/file-upload/file-upload-utils.d.ts +7 -4
- package/dist/src/components/file-upload/index.d.ts +4 -3
- package/dist/src/components/file-upload/index.shadow.d.ts +5 -4
- package/dist/src/components/file-upload/mono-file-upload.d.ts +20 -16
- package/dist/src/components/file-upload/mono-file-upload.shadow.d.ts +34 -30
- package/dist/src/components/filter/filter-builder-core.d.ts +17 -15
- package/dist/src/components/filter/filter-builder.d.ts +4 -22
- package/dist/src/components/filter/filter-odata.d.ts +3 -1
- package/dist/src/components/filter/filter-operators.d.ts +3 -1
- package/dist/src/components/filter/filter-types.d.ts +172 -170
- package/dist/src/components/filter/index.d.ts +6 -5
- package/dist/src/components/filter/index.shadow.d.ts +7 -6
- package/dist/src/components/filter/mono-filter-builder.d.ts +13 -10
- package/dist/src/components/filter/mono-filter-builder.shadow.d.ts +10 -7
- package/dist/src/components/form/form-control-core.d.ts +14 -12
- package/dist/src/components/form/form-rules.d.ts +7 -5
- package/dist/src/components/form/form-types.d.ts +214 -214
- package/dist/src/components/form/index.d.ts +5 -5
- package/dist/src/components/form/mono-form-controller.d.ts +4 -15
- package/dist/src/components/input/index.d.ts +5 -5
- package/dist/src/components/input/index.shadow.d.ts +6 -7
- package/dist/src/components/input/input-core.d.ts +73 -71
- package/dist/src/components/input/input-format.d.ts +22 -20
- package/dist/src/components/input/input-types.d.ts +167 -165
- package/dist/src/components/input/input-utils.d.ts +7 -5
- package/dist/src/components/input/mono-input.d.ts +35 -31
- package/dist/src/components/input/mono-input.shadow.d.ts +17 -13
- package/dist/src/components/menu/index.d.ts +7 -5
- package/dist/src/components/menu/index.shadow.d.ts +7 -6
- package/dist/src/components/menu/menu-core.d.ts +47 -45
- package/dist/src/components/menu/menu-render.d.ts +42 -40
- package/dist/src/components/menu/menu-types.d.ts +132 -130
- package/dist/src/components/menu/menu-utils.d.ts +16 -13
- package/dist/src/components/menu/mono-menu-list.d.ts +116 -114
- package/dist/src/components/menu/mono-menu.d.ts +30 -26
- package/dist/src/components/menu/mono-menu.shadow.d.ts +22 -18
- package/dist/src/components/modal/index.d.ts +5 -3
- package/dist/src/components/modal/index.shadow.d.ts +6 -4
- package/dist/src/components/modal/modal-core.d.ts +81 -79
- package/dist/src/components/modal/modal-types.d.ts +223 -221
- package/dist/src/components/modal/mono-modal-controller.d.ts +4 -3
- package/dist/src/components/modal/mono-modal.d.ts +32 -28
- package/dist/src/components/modal/mono-modal.shadow.d.ts +38 -35
- package/dist/src/components/nav/index.d.ts +4 -3
- package/dist/src/components/nav/index.shadow.d.ts +5 -5
- package/dist/src/components/nav/mono-nav.d.ts +28 -24
- package/dist/src/components/nav/mono-nav.shadow.d.ts +10 -7
- package/dist/src/components/nav/nav-core.d.ts +16 -14
- package/dist/src/components/nav/nav-types.d.ts +23 -22
- package/dist/src/components/nav/nav-utils.d.ts +10 -8
- package/dist/src/components/radio/index.d.ts +4 -3
- package/dist/src/components/radio/index.shadow.d.ts +5 -4
- package/dist/src/components/radio/mono-radio.d.ts +19 -15
- package/dist/src/components/radio/mono-radio.shadow.d.ts +22 -18
- package/dist/src/components/radio/radio-core.d.ts +31 -29
- package/dist/src/components/radio/radio-types.d.ts +48 -46
- package/dist/src/components/radio/radio-utils.d.ts +5 -3
- package/dist/src/components/rich-text-editor/index.d.ts +5 -4
- package/dist/src/components/rich-text-editor/index.shadow.d.ts +6 -5
- package/dist/src/components/rich-text-editor/mono-rich-text-editor.d.ts +19 -15
- package/dist/src/components/rich-text-editor/mono-rich-text-editor.shadow.d.ts +22 -19
- package/dist/src/components/rich-text-editor/rich-text-editor-core.d.ts +61 -59
- package/dist/src/components/rich-text-editor/rich-text-editor-loader.d.ts +2 -0
- package/dist/src/components/rich-text-editor/rich-text-editor-toolbar.d.ts +5 -3
- package/dist/src/components/rich-text-editor/rich-text-editor-types.d.ts +179 -177
- package/dist/src/components/select/index.d.ts +4 -3
- package/dist/src/components/select/index.shadow.d.ts +5 -4
- package/dist/src/components/select/mono-select.d.ts +58 -54
- package/dist/src/components/select/mono-select.shadow.d.ts +30 -27
- package/dist/src/components/select/select-core.d.ts +82 -80
- package/dist/src/components/select/select-types.d.ts +228 -227
- package/dist/src/components/select/select-utils.d.ts +7 -5
- package/dist/src/components/sidebar/index.d.ts +4 -3
- package/dist/src/components/sidebar/index.shadow.d.ts +5 -5
- package/dist/src/components/sidebar/mono-sidebar.d.ts +22 -18
- package/dist/src/components/sidebar/mono-sidebar.shadow.d.ts +11 -8
- package/dist/src/components/sidebar/sidebar-core.d.ts +33 -31
- package/dist/src/components/sidebar/sidebar-types.d.ts +77 -75
- package/dist/src/components/sidebar/sidebar-utils.d.ts +28 -26
- package/dist/src/components/switch/index.d.ts +4 -3
- package/dist/src/components/switch/index.shadow.d.ts +5 -4
- package/dist/src/components/switch/mono-switch.d.ts +19 -15
- package/dist/src/components/switch/mono-switch.shadow.d.ts +23 -19
- package/dist/src/components/switch/switch-core.d.ts +35 -33
- package/dist/src/components/switch/switch-types.d.ts +55 -53
- package/dist/src/components/switch/switch-utils.d.ts +5 -3
- package/dist/src/components/table/array-source.d.ts +31 -29
- package/dist/src/components/table/date-filter-tree.d.ts +25 -23
- package/dist/src/components/table/grouping.d.ts +22 -20
- package/dist/src/components/table/index.d.ts +28 -32
- package/dist/src/components/table/index.shadow.d.ts +34 -46
- package/dist/src/components/table/mono-data-grid.d.ts +1447 -1456
- package/dist/src/components/table/mono-table-checkbox-core.d.ts +34 -32
- package/dist/src/components/table/mono-table-checkbox.d.ts +12 -8
- package/dist/src/components/table/mono-table-checkbox.shadow.d.ts +16 -12
- package/dist/src/components/table/mono-table-detail-core.d.ts +29 -27
- package/dist/src/components/table/mono-table-detail.d.ts +12 -8
- package/dist/src/components/table/mono-table-detail.shadow.d.ts +13 -9
- package/dist/src/components/table/mono-table-empty-core.d.ts +24 -22
- package/dist/src/components/table/mono-table-empty.d.ts +17 -13
- package/dist/src/components/table/mono-table-empty.shadow.d.ts +22 -18
- package/dist/src/components/table/mono-table-error-core.d.ts +24 -22
- package/dist/src/components/table/mono-table-error.d.ts +12 -8
- package/dist/src/components/table/mono-table-error.shadow.d.ts +15 -11
- package/dist/src/components/table/mono-table-info-core.d.ts +6 -4
- package/dist/src/components/table/mono-table-info.d.ts +12 -8
- package/dist/src/components/table/mono-table-info.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-loading-core.d.ts +7 -5
- package/dist/src/components/table/mono-table-loading.d.ts +12 -8
- package/dist/src/components/table/mono-table-loading.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-page-size-core.d.ts +7 -5
- package/dist/src/components/table/mono-table-page-size.d.ts +12 -8
- package/dist/src/components/table/mono-table-page-size.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-paging-core.d.ts +16 -14
- package/dist/src/components/table/mono-table-paging-group-core.d.ts +10 -8
- package/dist/src/components/table/mono-table-paging-group.d.ts +12 -8
- package/dist/src/components/table/mono-table-paging-group.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-paging.d.ts +12 -8
- package/dist/src/components/table/mono-table-paging.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-search-core.d.ts +51 -49
- package/dist/src/components/table/mono-table-search.d.ts +25 -22
- package/dist/src/components/table/mono-table-search.shadow.d.ts +12 -9
- package/dist/src/components/table/mono-table-sort-core.d.ts +16 -14
- package/dist/src/components/table/mono-table-sort.d.ts +21 -18
- package/dist/src/components/table/mono-table-sort.shadow.d.ts +11 -8
- package/dist/src/components/table/mono-table-summary-core.d.ts +9 -7
- package/dist/src/components/table/mono-table-summary.d.ts +12 -8
- package/dist/src/components/table/mono-table-summary.shadow.d.ts +9 -5
- package/dist/src/components/table/mono-table-th-core.d.ts +23 -21
- package/dist/src/components/table/mono-table-th.d.ts +21 -18
- package/dist/src/components/table/mono-table-th.shadow.d.ts +11 -8
- package/dist/src/components/table/store-group-source.d.ts +14 -12
- package/dist/src/components/table/table-controller-core.d.ts +17 -15
- package/dist/src/components/table/table-filter-icons.d.ts +3 -1
- package/dist/src/components/table/table-menu-core.d.ts +40 -38
- package/dist/src/components/table/table-overlay.d.ts +43 -41
- package/dist/src/components/table/table-sort-icons.d.ts +4 -2
- package/dist/src/components/table/table-sort-utils.d.ts +3 -1
- package/dist/src/components/table/table-types.d.ts +391 -400
- package/dist/src/components/tabs/index.d.ts +3 -2
- package/dist/src/components/tabs/index.shadow.d.ts +4 -3
- package/dist/src/components/tabs/mono-tabs.d.ts +21 -17
- package/dist/src/components/tabs/mono-tabs.shadow.d.ts +21 -17
- package/dist/src/components/tabs/tabs-core.d.ts +36 -34
- package/dist/src/components/tabs/tabs-types.d.ts +48 -46
- package/dist/src/components/tag-input/index.d.ts +5 -3
- package/dist/src/components/tag-input/index.shadow.d.ts +6 -4
- package/dist/src/components/tag-input/mono-tag-input.d.ts +56 -52
- package/dist/src/components/tag-input/mono-tag-input.shadow.d.ts +41 -38
- package/dist/src/components/tag-input/tag-input-core.d.ts +95 -93
- package/dist/src/components/tag-input/tag-input-types.d.ts +343 -346
- package/dist/src/components/tag-input/tag-input-utils.d.ts +7 -5
- package/dist/src/components/textarea/index.d.ts +4 -3
- package/dist/src/components/textarea/index.shadow.d.ts +5 -4
- package/dist/src/components/textarea/mono-textarea.d.ts +19 -15
- package/dist/src/components/textarea/mono-textarea.shadow.d.ts +19 -16
- package/dist/src/components/textarea/textarea-core.d.ts +48 -46
- package/dist/src/components/textarea/textarea-types.d.ts +120 -118
- package/dist/src/components/textarea/textarea-utils.d.ts +7 -5
- package/dist/src/components/tooltip/control-tooltip.d.ts +3 -1
- package/dist/src/components/tooltip/index.d.ts +6 -5
- package/dist/src/components/tooltip/tooltip-config.d.ts +17 -15
- package/dist/src/components/tooltip/tooltip-declarative.d.ts +3 -1
- package/dist/src/components/tooltip/tooltip-loader.d.ts +2 -0
- package/dist/src/components/tooltip/tooltip-types.d.ts +74 -72
- package/dist/src/composables/breakpoints.d.ts +9 -7
- package/dist/src/composables/chip-limits.d.ts +12 -10
- package/dist/src/composables/chip-strip.d.ts +91 -89
- package/dist/src/composables/color.d.ts +6 -4
- package/dist/src/composables/css-class.d.ts +4 -2
- package/dist/src/composables/css-size.d.ts +9 -7
- package/dist/src/composables/data-source-controller.d.ts +90 -88
- package/dist/src/composables/element-props.d.ts +3 -3
- package/dist/src/composables/field-icons.d.ts +3 -1
- package/dist/src/composables/hybird-prop.d.ts +10 -8
- package/dist/src/composables/hydration-flush.d.ts +16 -14
- package/dist/src/composables/icon.d.ts +3 -1
- package/dist/src/composables/layout-var.d.ts +2 -0
- package/dist/src/composables/light-slots.d.ts +34 -32
- package/dist/src/composables/mdi-glyphs.d.ts +2 -0
- package/dist/src/composables/mono-element.d.ts +3 -1
- package/dist/src/composables/mono-event.d.ts +15 -13
- package/dist/src/composables/mono-pending.d.ts +4 -2
- package/dist/src/composables/mono-skeleton.d.ts +100 -98
- package/dist/src/composables/mono-ui.d.ts +17 -18
- package/dist/src/composables/notifier.d.ts +20 -18
- package/dist/src/composables/popup-portal.d.ts +177 -175
- package/dist/src/composables/popup-stack.d.ts +36 -34
- package/dist/src/composables/rate-limit.d.ts +33 -31
- package/dist/src/composables/reactive.d.ts +3 -1
- package/dist/src/composables/shadow-css.d.ts +17 -15
- package/dist/src/composables/visibility.d.ts +6 -4
- package/dist/src/data/theme/index.d.ts +9 -7
- package/dist/src/data/theme/presets.d.ts +64 -62
- package/dist/src/entries/index.d.ts +36 -1
- package/dist/src/entries/index.node.d.ts +34 -41
- package/dist/src/entries/search.d.ts +2 -2
- package/dist/src/export/detail.d.ts +14 -12
- package/dist/src/export/download.d.ts +2 -0
- package/dist/src/export/excel/index.d.ts +13 -11
- package/dist/src/export/excel/nodes.d.ts +95 -93
- package/dist/src/export/expression.d.ts +3 -1
- package/dist/src/export/helpers.d.ts +3 -1
- package/dist/src/export/index.d.ts +6 -4
- package/dist/src/export/markdown.d.ts +19 -17
- package/dist/src/export/resolve-data.d.ts +3 -1
- package/dist/src/export/sentinel.d.ts +32 -30
- package/dist/src/export/sheet-name.d.ts +7 -5
- package/dist/src/export/styles.d.ts +13 -11
- package/dist/src/export/template.d.ts +3 -1
- package/dist/src/export/types.d.ts +224 -222
- package/dist/src/import/coerce.d.ts +5 -3
- package/dist/src/import/index.d.ts +12 -10
- package/dist/src/import/match.d.ts +20 -18
- package/dist/src/import/parse.d.ts +5 -3
- package/dist/src/import/types.d.ts +125 -123
- package/dist/src/nuxt/index.d.ts +92 -90
- package/dist/src/search/data-search.d.ts +92 -90
- package/dist/src/search/field-path.d.ts +10 -8
- package/dist/src/search/filter-eval.d.ts +2 -0
- package/dist/src/search/index.d.ts +6 -22
- package/dist/src/search/odata-search.d.ts +9 -7
- package/dist/src/search/search-expr.d.ts +16 -14
- package/dist/src/utils/data-source-apply.d.ts +11 -9
- package/dist/src/utils/data-source-options.d.ts +37 -35
- package/dist/src/utils/data-source-read.d.ts +40 -54
- package/dist/src/utils/data-source-summary.d.ts +8 -7
- package/dist/src/utils/normalize-error.d.ts +16 -14
- package/dist/src/vite/index.d.ts +34 -34
- package/dist/src/vite/mono-client-only.d.ts +34 -32
- package/dist/src/vite/mono-ssr-stub.d.ts +8 -6
- package/dist/src/vite/shadow-manifest.d.ts +2 -0
- package/dist/{styles-BIJ31TM4.js → styles-D-ergrfR.js} +417 -207
- package/dist/{tooltip-DQqNpqk2.js → tooltip-FCMRUSLi.js} +32 -25
- package/dist/tooltip.js +3 -2
- package/dist/ui/accordion.js +16 -12
- package/dist/ui/alert.js +21 -14
- package/dist/ui/breadcrumb.js +28 -18
- package/dist/ui/button-dropdown.js +18 -14
- package/dist/ui/button.js +4 -2
- package/dist/ui/card.js +17 -12
- package/dist/ui/chart.js +31 -26
- package/dist/ui/checkbox.js +17 -12
- package/dist/ui/chip.js +19 -12
- package/dist/ui/date.js +19 -15
- package/dist/ui/drawer.js +26 -20
- package/dist/ui/dropdown-table.js +39 -30
- package/dist/ui/dropdown.js +19 -15
- package/dist/ui/file-upload.js +22 -17
- package/dist/ui/filter.js +18 -14
- package/dist/ui/form.js +4 -3
- package/dist/ui/index.css +1073 -2197
- package/dist/ui/input.js +24 -17
- package/dist/ui/menu.js +32 -20
- package/dist/ui/modal.js +33 -26
- package/dist/ui/nav.js +21 -15
- package/dist/ui/radio.js +17 -12
- package/dist/ui/rich-text-editor.js +34 -28
- package/dist/ui/select.js +32 -26
- package/dist/ui/shadow/accordion.js +13 -9
- package/dist/ui/shadow/alert.js +13 -9
- package/dist/ui/shadow/breadcrumb.js +23 -14
- package/dist/ui/shadow/button-dropdown.js +17 -13
- package/dist/ui/shadow/button.js +4 -2
- package/dist/ui/shadow/card.js +15 -10
- package/dist/ui/shadow/chart.js +36 -29
- package/dist/ui/shadow/checkbox.js +13 -9
- package/dist/ui/shadow/chip.js +16 -10
- package/dist/ui/shadow/date.js +19 -12
- package/dist/ui/shadow/drawer.js +22 -16
- package/dist/ui/shadow/dropdown-table.js +39 -28
- package/dist/ui/shadow/dropdown.js +15 -11
- package/dist/ui/shadow/file-upload.js +26 -19
- package/dist/ui/shadow/filter.js +17 -13
- package/dist/ui/shadow/input.js +20 -14
- package/dist/ui/shadow/menu.js +24 -14
- package/dist/ui/shadow/modal.js +35 -27
- package/dist/ui/shadow/nav.js +18 -12
- package/dist/ui/shadow/radio.js +15 -10
- package/dist/ui/shadow/rich-text-editor.js +32 -26
- package/dist/ui/shadow/select.js +30 -24
- package/dist/ui/shadow/sidebar.js +23 -16
- package/dist/ui/shadow/switch.js +15 -10
- package/dist/ui/shadow/table.js +123 -84
- package/dist/ui/shadow/tabs.js +12 -8
- package/dist/ui/shadow/tag-input.js +37 -31
- package/dist/ui/shadow/textarea.js +17 -12
- package/dist/ui/sidebar.js +27 -20
- package/dist/ui/switch.js +17 -12
- package/dist/ui/table.js +129 -87
- package/dist/ui/tabs.js +15 -11
- package/dist/ui/tag-input.js +33 -27
- package/dist/ui/textarea.js +19 -14
- package/dist/{vite-C5iUK7so.js → vite-DcyRlTTf.js} +17 -9
- package/dist/vite.js +3 -2
- package/package.json +15 -14
- package/dist/checkbox-Cqpie9Ap.js +0 -4
- package/dist/chip-DBUUa2eB.js +0 -4
- package/dist/data/theme/presets.json.d.ts +0 -140
- package/dist/export.d.ts +0 -1
- package/dist/hydration-flush-RB5Tz5nl.js +0 -1001
- package/dist/import.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.node.d.ts +0 -1
- package/dist/input-zGOULADt.js +0 -4
- package/dist/mono-button-simcTQdW.js +0 -873
- package/dist/mono-button.shadow-B_rKOY9N.js +0 -784
- package/dist/nuxt.d.ts +0 -1
- package/dist/search.d.ts +0 -1
- package/dist/tooltip.d.ts +0 -1
- package/dist/ui/accordion.d.ts +0 -1
- package/dist/ui/alert.d.ts +0 -1
- package/dist/ui/breadcrumb.d.ts +0 -1
- package/dist/ui/button-dropdown.d.ts +0 -1
- package/dist/ui/button.d.ts +0 -1
- package/dist/ui/card.d.ts +0 -1
- package/dist/ui/chart.d.ts +0 -1
- package/dist/ui/checkbox.d.ts +0 -1
- package/dist/ui/chip.d.ts +0 -1
- package/dist/ui/date.d.ts +0 -1
- package/dist/ui/drawer.d.ts +0 -1
- package/dist/ui/dropdown-table.d.ts +0 -1
- package/dist/ui/dropdown.d.ts +0 -1
- package/dist/ui/file-upload.d.ts +0 -1
- package/dist/ui/filter.d.ts +0 -1
- package/dist/ui/form.d.ts +0 -1
- package/dist/ui/input.d.ts +0 -1
- package/dist/ui/menu.d.ts +0 -1
- package/dist/ui/modal.d.ts +0 -1
- package/dist/ui/nav.d.ts +0 -1
- package/dist/ui/radio.d.ts +0 -1
- package/dist/ui/rich-text-editor.d.ts +0 -1
- package/dist/ui/select.d.ts +0 -1
- package/dist/ui/sidebar.d.ts +0 -1
- package/dist/ui/switch.d.ts +0 -1
- package/dist/ui/table.d.ts +0 -1
- package/dist/ui/tabs.d.ts +0 -1
- package/dist/ui/tag-input.d.ts +0 -1
- package/dist/ui/textarea.d.ts +0 -1
- package/dist/vite.d.ts +0 -1
|
@@ -5,30 +5,39 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
|
|
9
9
|
var __exportAll = (all, no_symbols) => {
|
|
10
10
|
let target = {};
|
|
11
|
-
for (var name in all)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
for (var name in all) {
|
|
12
|
+
__defProp(target, name, {
|
|
13
|
+
get: all[name],
|
|
14
|
+
enumerable: true
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
if (!no_symbols) {
|
|
18
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
19
|
+
}
|
|
16
20
|
return target;
|
|
17
21
|
};
|
|
18
22
|
var __copyProps = (to, from, except, desc) => {
|
|
19
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
24
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
25
|
+
key = keys[i];
|
|
26
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
27
|
+
__defProp(to, key, {
|
|
28
|
+
get: ((k) => from[k]).bind(null, key),
|
|
29
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
25
33
|
}
|
|
26
34
|
return to;
|
|
27
35
|
};
|
|
28
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
36
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
29
37
|
value: mod,
|
|
30
38
|
enumerable: true
|
|
31
39
|
}) : target, mod));
|
|
40
|
+
|
|
32
41
|
//#endregion
|
|
33
42
|
//#region ../../node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js
|
|
34
43
|
/**
|
|
@@ -42,7 +51,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
42
51
|
* Whether to use `value` of HTML (default: `true`).
|
|
43
52
|
*/
|
|
44
53
|
/** @type {Options} */
|
|
45
|
-
|
|
54
|
+
const emptyOptions$1 = {};
|
|
46
55
|
/**
|
|
47
56
|
* Get the text content of a node or list of nodes.
|
|
48
57
|
*
|
|
@@ -111,6 +120,7 @@ function all(values, includeImageAlt, includeHtml) {
|
|
|
111
120
|
function node(value) {
|
|
112
121
|
return Boolean(value && typeof value === "object");
|
|
113
122
|
}
|
|
123
|
+
|
|
114
124
|
//#endregion
|
|
115
125
|
//#region ../../node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.js
|
|
116
126
|
/**
|
|
@@ -118,7 +128,7 @@ function node(value) {
|
|
|
118
128
|
*
|
|
119
129
|
* @type {Record<string, string>}
|
|
120
130
|
*/
|
|
121
|
-
|
|
131
|
+
const characterEntities = {
|
|
122
132
|
AElig: "Æ",
|
|
123
133
|
AMP: "&",
|
|
124
134
|
Aacute: "Á",
|
|
@@ -2245,9 +2255,10 @@ var characterEntities = {
|
|
|
2245
2255
|
zwj: "",
|
|
2246
2256
|
zwnj: ""
|
|
2247
2257
|
};
|
|
2258
|
+
|
|
2248
2259
|
//#endregion
|
|
2249
2260
|
//#region ../../node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
2250
|
-
|
|
2261
|
+
const own$4 = {}.hasOwnProperty;
|
|
2251
2262
|
/**
|
|
2252
2263
|
* Decode a single character reference (without the `&` or `;`).
|
|
2253
2264
|
* You probably only need this when you’re building parsers yourself that follow
|
|
@@ -2262,6 +2273,7 @@ var own$4 = {}.hasOwnProperty;
|
|
|
2262
2273
|
function decodeNamedCharacterReference(value) {
|
|
2263
2274
|
return own$4.call(characterEntities, value) ? characterEntities[value] : false;
|
|
2264
2275
|
}
|
|
2276
|
+
|
|
2265
2277
|
//#endregion
|
|
2266
2278
|
//#region ../../node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js
|
|
2267
2279
|
/**
|
|
@@ -2332,6 +2344,7 @@ function push(list, items) {
|
|
|
2332
2344
|
}
|
|
2333
2345
|
return items;
|
|
2334
2346
|
}
|
|
2347
|
+
|
|
2335
2348
|
//#endregion
|
|
2336
2349
|
//#region ../../node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js
|
|
2337
2350
|
/**
|
|
@@ -2342,7 +2355,7 @@ function push(list, items) {
|
|
|
2342
2355
|
* NormalizedExtension
|
|
2343
2356
|
* } from 'micromark-util-types'
|
|
2344
2357
|
*/
|
|
2345
|
-
|
|
2358
|
+
const hasOwnProperty = {}.hasOwnProperty;
|
|
2346
2359
|
/**
|
|
2347
2360
|
* Combine multiple syntax extensions into one.
|
|
2348
2361
|
*
|
|
@@ -2403,6 +2416,7 @@ function constructs(existing, list) {
|
|
|
2403
2416
|
while (++index < list.length) (list[index].add === "after" ? existing : before).push(list[index]);
|
|
2404
2417
|
splice(existing, 0, 0, before);
|
|
2405
2418
|
}
|
|
2419
|
+
|
|
2406
2420
|
//#endregion
|
|
2407
2421
|
//#region ../../node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
2408
2422
|
/**
|
|
@@ -2424,6 +2438,7 @@ function decodeNumericCharacterReference(value, base) {
|
|
|
2424
2438
|
if (code < 9 || code === 11 || code > 13 && code < 32 || code > 126 && code < 160 || code > 55295 && code < 57344 || code > 64975 && code < 65008 || (code & 65535) === 65535 || (code & 65535) === 65534 || code > 1114111) return "�";
|
|
2425
2439
|
return String.fromCodePoint(code);
|
|
2426
2440
|
}
|
|
2441
|
+
|
|
2427
2442
|
//#endregion
|
|
2428
2443
|
//#region ../../node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js
|
|
2429
2444
|
/**
|
|
@@ -2448,6 +2463,7 @@ function decodeNumericCharacterReference(value, base) {
|
|
|
2448
2463
|
function normalizeIdentifier(value) {
|
|
2449
2464
|
return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
2450
2465
|
}
|
|
2466
|
+
|
|
2451
2467
|
//#endregion
|
|
2452
2468
|
//#region ../../node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js
|
|
2453
2469
|
/**
|
|
@@ -2470,7 +2486,7 @@ function normalizeIdentifier(value) {
|
|
|
2470
2486
|
* @returns {boolean}
|
|
2471
2487
|
* Whether it matches.
|
|
2472
2488
|
*/
|
|
2473
|
-
|
|
2489
|
+
const asciiAlpha = regexCheck(/[A-Za-z]/);
|
|
2474
2490
|
/**
|
|
2475
2491
|
* Check whether the character code represents an ASCII alphanumeric (`a`
|
|
2476
2492
|
* through `z`, case insensitive, or `0` through `9`).
|
|
@@ -2483,7 +2499,7 @@ var asciiAlpha = regexCheck(/[A-Za-z]/);
|
|
|
2483
2499
|
* @returns {boolean}
|
|
2484
2500
|
* Whether it matches.
|
|
2485
2501
|
*/
|
|
2486
|
-
|
|
2502
|
+
const asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
|
|
2487
2503
|
/**
|
|
2488
2504
|
* Check whether the character code represents an ASCII atext.
|
|
2489
2505
|
*
|
|
@@ -2505,7 +2521,7 @@ var asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
|
|
|
2505
2521
|
* @returns {boolean}
|
|
2506
2522
|
* Whether it matches.
|
|
2507
2523
|
*/
|
|
2508
|
-
|
|
2524
|
+
const asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
|
|
2509
2525
|
/**
|
|
2510
2526
|
* Check whether a character code is an ASCII control character.
|
|
2511
2527
|
*
|
|
@@ -2531,7 +2547,7 @@ function asciiControl(code) {
|
|
|
2531
2547
|
* @returns {boolean}
|
|
2532
2548
|
* Whether it matches.
|
|
2533
2549
|
*/
|
|
2534
|
-
|
|
2550
|
+
const asciiDigit = regexCheck(/\d/);
|
|
2535
2551
|
/**
|
|
2536
2552
|
* Check whether the character code represents an ASCII hex digit (`a` through
|
|
2537
2553
|
* `f`, case insensitive, or `0` through `9`).
|
|
@@ -2550,7 +2566,7 @@ var asciiDigit = regexCheck(/\d/);
|
|
|
2550
2566
|
* @returns {boolean}
|
|
2551
2567
|
* Whether it matches.
|
|
2552
2568
|
*/
|
|
2553
|
-
|
|
2569
|
+
const asciiHexDigit = regexCheck(/[\dA-Fa-f]/);
|
|
2554
2570
|
/**
|
|
2555
2571
|
* Check whether the character code represents ASCII punctuation.
|
|
2556
2572
|
*
|
|
@@ -2564,7 +2580,7 @@ var asciiHexDigit = regexCheck(/[\dA-Fa-f]/);
|
|
|
2564
2580
|
* @returns {boolean}
|
|
2565
2581
|
* Whether it matches.
|
|
2566
2582
|
*/
|
|
2567
|
-
|
|
2583
|
+
const asciiPunctuation = regexCheck(/[!-/:-@[-`{-~]/);
|
|
2568
2584
|
/**
|
|
2569
2585
|
* Check whether a character code is a markdown line ending.
|
|
2570
2586
|
*
|
|
@@ -2632,7 +2648,7 @@ function markdownSpace(code) {
|
|
|
2632
2648
|
* @returns
|
|
2633
2649
|
* Whether it matches.
|
|
2634
2650
|
*/
|
|
2635
|
-
|
|
2651
|
+
const unicodePunctuation = regexCheck(/\p{P}|\p{S}/u);
|
|
2636
2652
|
/**
|
|
2637
2653
|
* Check whether the character code represents Unicode whitespace.
|
|
2638
2654
|
*
|
|
@@ -2653,7 +2669,7 @@ var unicodePunctuation = regexCheck(/\p{P}|\p{S}/u);
|
|
|
2653
2669
|
* @returns
|
|
2654
2670
|
* Whether it matches.
|
|
2655
2671
|
*/
|
|
2656
|
-
|
|
2672
|
+
const unicodeWhitespace = regexCheck(/\s/);
|
|
2657
2673
|
/**
|
|
2658
2674
|
* Create a code check from a regex.
|
|
2659
2675
|
*
|
|
@@ -2676,6 +2692,7 @@ function regexCheck(regex) {
|
|
|
2676
2692
|
return code !== null && code > -1 && regex.test(String.fromCharCode(code));
|
|
2677
2693
|
}
|
|
2678
2694
|
}
|
|
2695
|
+
|
|
2679
2696
|
//#endregion
|
|
2680
2697
|
//#region ../../node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js
|
|
2681
2698
|
/**
|
|
@@ -2735,6 +2752,7 @@ function factorySpace(effects, ok, type, max) {
|
|
|
2735
2752
|
return ok(code);
|
|
2736
2753
|
}
|
|
2737
2754
|
}
|
|
2755
|
+
|
|
2738
2756
|
//#endregion
|
|
2739
2757
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js
|
|
2740
2758
|
/**
|
|
@@ -2747,7 +2765,7 @@ function factorySpace(effects, ok, type, max) {
|
|
|
2747
2765
|
* } from 'micromark-util-types'
|
|
2748
2766
|
*/
|
|
2749
2767
|
/** @type {InitialConstruct} */
|
|
2750
|
-
|
|
2768
|
+
const content$1 = { tokenize: initializeContent };
|
|
2751
2769
|
/**
|
|
2752
2770
|
* @this {TokenizeContext}
|
|
2753
2771
|
* Context.
|
|
@@ -2802,6 +2820,7 @@ function initializeContent(effects) {
|
|
|
2802
2820
|
return data;
|
|
2803
2821
|
}
|
|
2804
2822
|
}
|
|
2823
|
+
|
|
2805
2824
|
//#endregion
|
|
2806
2825
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js
|
|
2807
2826
|
/**
|
|
@@ -2822,9 +2841,9 @@ function initializeContent(effects) {
|
|
|
2822
2841
|
* Construct and its state.
|
|
2823
2842
|
*/
|
|
2824
2843
|
/** @type {InitialConstruct} */
|
|
2825
|
-
|
|
2844
|
+
const document$1 = { tokenize: initializeDocument };
|
|
2826
2845
|
/** @type {Construct} */
|
|
2827
|
-
|
|
2846
|
+
const containerConstruct = { tokenize: tokenizeContainer };
|
|
2828
2847
|
/**
|
|
2829
2848
|
* @this {TokenizeContext}
|
|
2830
2849
|
* Self.
|
|
@@ -3018,6 +3037,7 @@ function initializeDocument(effects) {
|
|
|
3018
3037
|
function tokenizeContainer(effects, ok, nok) {
|
|
3019
3038
|
return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok, nok), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
3020
3039
|
}
|
|
3040
|
+
|
|
3021
3041
|
//#endregion
|
|
3022
3042
|
//#region ../../node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js
|
|
3023
3043
|
/**
|
|
@@ -3041,6 +3061,7 @@ function classifyCharacter(code) {
|
|
|
3041
3061
|
if (code === null || markdownLineEndingOrSpace(code) || unicodeWhitespace(code)) return 1;
|
|
3042
3062
|
if (unicodePunctuation(code)) return 2;
|
|
3043
3063
|
}
|
|
3064
|
+
|
|
3044
3065
|
//#endregion
|
|
3045
3066
|
//#region ../../node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js
|
|
3046
3067
|
/**
|
|
@@ -3071,6 +3092,7 @@ function resolveAll(constructs, events, context) {
|
|
|
3071
3092
|
}
|
|
3072
3093
|
return events;
|
|
3073
3094
|
}
|
|
3095
|
+
|
|
3074
3096
|
//#endregion
|
|
3075
3097
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/attention.js
|
|
3076
3098
|
/**
|
|
@@ -3087,7 +3109,7 @@ function resolveAll(constructs, events, context) {
|
|
|
3087
3109
|
* } from 'micromark-util-types'
|
|
3088
3110
|
*/
|
|
3089
3111
|
/** @type {Construct} */
|
|
3090
|
-
|
|
3112
|
+
const attention = {
|
|
3091
3113
|
name: "attention",
|
|
3092
3114
|
resolveAll: resolveAllAttention,
|
|
3093
3115
|
tokenize: tokenizeAttention
|
|
@@ -3291,6 +3313,7 @@ function movePoint(point, offset) {
|
|
|
3291
3313
|
point.offset += offset;
|
|
3292
3314
|
point._bufferIndex += offset;
|
|
3293
3315
|
}
|
|
3316
|
+
|
|
3294
3317
|
//#endregion
|
|
3295
3318
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/autolink.js
|
|
3296
3319
|
/**
|
|
@@ -3302,7 +3325,7 @@ function movePoint(point, offset) {
|
|
|
3302
3325
|
* } from 'micromark-util-types'
|
|
3303
3326
|
*/
|
|
3304
3327
|
/** @type {Construct} */
|
|
3305
|
-
|
|
3328
|
+
const autolink = {
|
|
3306
3329
|
name: "autolink",
|
|
3307
3330
|
tokenize: tokenizeAutolink
|
|
3308
3331
|
};
|
|
@@ -3502,6 +3525,7 @@ function tokenizeAutolink(effects, ok, nok) {
|
|
|
3502
3525
|
return nok(code);
|
|
3503
3526
|
}
|
|
3504
3527
|
}
|
|
3528
|
+
|
|
3505
3529
|
//#endregion
|
|
3506
3530
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
3507
3531
|
/**
|
|
@@ -3513,7 +3537,7 @@ function tokenizeAutolink(effects, ok, nok) {
|
|
|
3513
3537
|
* } from 'micromark-util-types'
|
|
3514
3538
|
*/
|
|
3515
3539
|
/** @type {Construct} */
|
|
3516
|
-
|
|
3540
|
+
const blankLine = {
|
|
3517
3541
|
partial: true,
|
|
3518
3542
|
tokenize: tokenizeBlankLine
|
|
3519
3543
|
};
|
|
@@ -3559,6 +3583,7 @@ function tokenizeBlankLine(effects, ok, nok) {
|
|
|
3559
3583
|
return code === null || markdownLineEnding(code) ? ok(code) : nok(code);
|
|
3560
3584
|
}
|
|
3561
3585
|
}
|
|
3586
|
+
|
|
3562
3587
|
//#endregion
|
|
3563
3588
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
3564
3589
|
/**
|
|
@@ -3571,7 +3596,7 @@ function tokenizeBlankLine(effects, ok, nok) {
|
|
|
3571
3596
|
* } from 'micromark-util-types'
|
|
3572
3597
|
*/
|
|
3573
3598
|
/** @type {Construct} */
|
|
3574
|
-
|
|
3599
|
+
const blockQuote = {
|
|
3575
3600
|
continuation: { tokenize: tokenizeBlockQuoteContinuation },
|
|
3576
3601
|
exit: exit$1,
|
|
3577
3602
|
name: "blockQuote",
|
|
@@ -3686,6 +3711,7 @@ function tokenizeBlockQuoteContinuation(effects, ok, nok) {
|
|
|
3686
3711
|
function exit$1(effects) {
|
|
3687
3712
|
effects.exit("blockQuote");
|
|
3688
3713
|
}
|
|
3714
|
+
|
|
3689
3715
|
//#endregion
|
|
3690
3716
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
3691
3717
|
/**
|
|
@@ -3697,7 +3723,7 @@ function exit$1(effects) {
|
|
|
3697
3723
|
* } from 'micromark-util-types'
|
|
3698
3724
|
*/
|
|
3699
3725
|
/** @type {Construct} */
|
|
3700
|
-
|
|
3726
|
+
const characterEscape = {
|
|
3701
3727
|
name: "characterEscape",
|
|
3702
3728
|
tokenize: tokenizeCharacterEscape
|
|
3703
3729
|
};
|
|
@@ -3746,6 +3772,7 @@ function tokenizeCharacterEscape(effects, ok, nok) {
|
|
|
3746
3772
|
return nok(code);
|
|
3747
3773
|
}
|
|
3748
3774
|
}
|
|
3775
|
+
|
|
3749
3776
|
//#endregion
|
|
3750
3777
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
3751
3778
|
/**
|
|
@@ -3758,7 +3785,7 @@ function tokenizeCharacterEscape(effects, ok, nok) {
|
|
|
3758
3785
|
* } from 'micromark-util-types'
|
|
3759
3786
|
*/
|
|
3760
3787
|
/** @type {Construct} */
|
|
3761
|
-
|
|
3788
|
+
const characterReference = {
|
|
3762
3789
|
name: "characterReference",
|
|
3763
3790
|
tokenize: tokenizeCharacterReference
|
|
3764
3791
|
};
|
|
@@ -3884,6 +3911,7 @@ function tokenizeCharacterReference(effects, ok, nok) {
|
|
|
3884
3911
|
return nok(code);
|
|
3885
3912
|
}
|
|
3886
3913
|
}
|
|
3914
|
+
|
|
3887
3915
|
//#endregion
|
|
3888
3916
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
3889
3917
|
/**
|
|
@@ -3896,12 +3924,12 @@ function tokenizeCharacterReference(effects, ok, nok) {
|
|
|
3896
3924
|
* } from 'micromark-util-types'
|
|
3897
3925
|
*/
|
|
3898
3926
|
/** @type {Construct} */
|
|
3899
|
-
|
|
3927
|
+
const nonLazyContinuation = {
|
|
3900
3928
|
partial: true,
|
|
3901
3929
|
tokenize: tokenizeNonLazyContinuation
|
|
3902
3930
|
};
|
|
3903
3931
|
/** @type {Construct} */
|
|
3904
|
-
|
|
3932
|
+
const codeFenced = {
|
|
3905
3933
|
concrete: true,
|
|
3906
3934
|
name: "codeFenced",
|
|
3907
3935
|
tokenize: tokenizeCodeFenced
|
|
@@ -4299,6 +4327,7 @@ function tokenizeNonLazyContinuation(effects, ok, nok) {
|
|
|
4299
4327
|
return self.parser.lazy[self.now().line] ? nok(code) : ok(code);
|
|
4300
4328
|
}
|
|
4301
4329
|
}
|
|
4330
|
+
|
|
4302
4331
|
//#endregion
|
|
4303
4332
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
4304
4333
|
/**
|
|
@@ -4310,12 +4339,12 @@ function tokenizeNonLazyContinuation(effects, ok, nok) {
|
|
|
4310
4339
|
* } from 'micromark-util-types'
|
|
4311
4340
|
*/
|
|
4312
4341
|
/** @type {Construct} */
|
|
4313
|
-
|
|
4342
|
+
const codeIndented = {
|
|
4314
4343
|
name: "codeIndented",
|
|
4315
4344
|
tokenize: tokenizeCodeIndented
|
|
4316
4345
|
};
|
|
4317
4346
|
/** @type {Construct} */
|
|
4318
|
-
|
|
4347
|
+
const furtherStart = {
|
|
4319
4348
|
partial: true,
|
|
4320
4349
|
tokenize: tokenizeFurtherStart
|
|
4321
4350
|
};
|
|
@@ -4443,6 +4472,7 @@ function tokenizeFurtherStart(effects, ok, nok) {
|
|
|
4443
4472
|
return tail && tail[1].type === "linePrefix" && tail[2].sliceSerialize(tail[1], true).length >= 4 ? ok(code) : markdownLineEnding(code) ? furtherStart(code) : nok(code);
|
|
4444
4473
|
}
|
|
4445
4474
|
}
|
|
4475
|
+
|
|
4446
4476
|
//#endregion
|
|
4447
4477
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.js
|
|
4448
4478
|
/**
|
|
@@ -4457,7 +4487,7 @@ function tokenizeFurtherStart(effects, ok, nok) {
|
|
|
4457
4487
|
* } from 'micromark-util-types'
|
|
4458
4488
|
*/
|
|
4459
4489
|
/** @type {Construct} */
|
|
4460
|
-
|
|
4490
|
+
const codeText = {
|
|
4461
4491
|
name: "codeText",
|
|
4462
4492
|
previous: previous$1,
|
|
4463
4493
|
resolve: resolveCodeText,
|
|
@@ -4628,6 +4658,7 @@ function tokenizeCodeText(effects, ok, nok) {
|
|
|
4628
4658
|
return data(code);
|
|
4629
4659
|
}
|
|
4630
4660
|
}
|
|
4661
|
+
|
|
4631
4662
|
//#endregion
|
|
4632
4663
|
//#region ../../node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
4633
4664
|
/**
|
|
@@ -4858,6 +4889,7 @@ function chunkedPush(list, right) {
|
|
|
4858
4889
|
chunkStart += 1e4;
|
|
4859
4890
|
}
|
|
4860
4891
|
}
|
|
4892
|
+
|
|
4861
4893
|
//#endregion
|
|
4862
4894
|
//#region ../../node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.js
|
|
4863
4895
|
/**
|
|
@@ -5013,6 +5045,7 @@ function subcontent(events, eventIndex) {
|
|
|
5013
5045
|
}
|
|
5014
5046
|
return gaps;
|
|
5015
5047
|
}
|
|
5048
|
+
|
|
5016
5049
|
//#endregion
|
|
5017
5050
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/content.js
|
|
5018
5051
|
/**
|
|
@@ -5029,12 +5062,12 @@ function subcontent(events, eventIndex) {
|
|
|
5029
5062
|
* No name because it must not be turned off.
|
|
5030
5063
|
* @type {Construct}
|
|
5031
5064
|
*/
|
|
5032
|
-
|
|
5065
|
+
const content = {
|
|
5033
5066
|
resolve: resolveContent,
|
|
5034
5067
|
tokenize: tokenizeContent
|
|
5035
5068
|
};
|
|
5036
5069
|
/** @type {Construct} */
|
|
5037
|
-
|
|
5070
|
+
const continuationConstruct = {
|
|
5038
5071
|
partial: true,
|
|
5039
5072
|
tokenize: tokenizeContinuation
|
|
5040
5073
|
};
|
|
@@ -5146,6 +5179,7 @@ function tokenizeContinuation(effects, ok, nok) {
|
|
|
5146
5179
|
return effects.interrupt(self.parser.constructs.flow, nok, ok)(code);
|
|
5147
5180
|
}
|
|
5148
5181
|
}
|
|
5182
|
+
|
|
5149
5183
|
//#endregion
|
|
5150
5184
|
//#region ../../node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.js
|
|
5151
5185
|
/**
|
|
@@ -5330,6 +5364,7 @@ function factoryDestination(effects, ok, nok, type, literalType, literalMarkerTy
|
|
|
5330
5364
|
return raw(code);
|
|
5331
5365
|
}
|
|
5332
5366
|
}
|
|
5367
|
+
|
|
5333
5368
|
//#endregion
|
|
5334
5369
|
//#region ../../node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.js
|
|
5335
5370
|
/**
|
|
@@ -5406,7 +5441,9 @@ function factoryLabel(effects, ok, nok, type, markerType, stringType) {
|
|
|
5406
5441
|
* @type {State}
|
|
5407
5442
|
*/
|
|
5408
5443
|
function atBreak(code) {
|
|
5409
|
-
if (size > 999 || code === null || code === 91 || code === 93 && !seen ||
|
|
5444
|
+
if (size > 999 || code === null || code === 91 || code === 93 && !seen ||
|
|
5445
|
+
/* c8 ignore next 3 */
|
|
5446
|
+
code === 94 && !size && "_hiddenFootnoteSupport" in self.parser.constructs) return nok(code);
|
|
5410
5447
|
if (code === 93) {
|
|
5411
5448
|
effects.exit(stringType);
|
|
5412
5449
|
effects.enter(markerType);
|
|
@@ -5462,6 +5499,7 @@ function factoryLabel(effects, ok, nok, type, markerType, stringType) {
|
|
|
5462
5499
|
return labelInside(code);
|
|
5463
5500
|
}
|
|
5464
5501
|
}
|
|
5502
|
+
|
|
5465
5503
|
//#endregion
|
|
5466
5504
|
//#region ../../node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.js
|
|
5467
5505
|
/**
|
|
@@ -5607,6 +5645,7 @@ function factoryTitle(effects, ok, nok, type, markerType, stringType) {
|
|
|
5607
5645
|
return inside(code);
|
|
5608
5646
|
}
|
|
5609
5647
|
}
|
|
5648
|
+
|
|
5610
5649
|
//#endregion
|
|
5611
5650
|
//#region ../../node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js
|
|
5612
5651
|
/**
|
|
@@ -5647,6 +5686,7 @@ function factoryWhitespace(effects, ok) {
|
|
|
5647
5686
|
return ok(code);
|
|
5648
5687
|
}
|
|
5649
5688
|
}
|
|
5689
|
+
|
|
5650
5690
|
//#endregion
|
|
5651
5691
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.js
|
|
5652
5692
|
/**
|
|
@@ -5658,12 +5698,12 @@ function factoryWhitespace(effects, ok) {
|
|
|
5658
5698
|
* } from 'micromark-util-types'
|
|
5659
5699
|
*/
|
|
5660
5700
|
/** @type {Construct} */
|
|
5661
|
-
|
|
5701
|
+
const definition$1 = {
|
|
5662
5702
|
name: "definition",
|
|
5663
5703
|
tokenize: tokenizeDefinition
|
|
5664
5704
|
};
|
|
5665
5705
|
/** @type {Construct} */
|
|
5666
|
-
|
|
5706
|
+
const titleBefore = {
|
|
5667
5707
|
partial: true,
|
|
5668
5708
|
tokenize: tokenizeTitleBefore
|
|
5669
5709
|
};
|
|
@@ -5862,6 +5902,7 @@ function tokenizeTitleBefore(effects, ok, nok) {
|
|
|
5862
5902
|
return code === null || markdownLineEnding(code) ? ok(code) : nok(code);
|
|
5863
5903
|
}
|
|
5864
5904
|
}
|
|
5905
|
+
|
|
5865
5906
|
//#endregion
|
|
5866
5907
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
5867
5908
|
/**
|
|
@@ -5873,7 +5914,7 @@ function tokenizeTitleBefore(effects, ok, nok) {
|
|
|
5873
5914
|
* } from 'micromark-util-types'
|
|
5874
5915
|
*/
|
|
5875
5916
|
/** @type {Construct} */
|
|
5876
|
-
|
|
5917
|
+
const hardBreakEscape = {
|
|
5877
5918
|
name: "hardBreakEscape",
|
|
5878
5919
|
tokenize: tokenizeHardBreakEscape
|
|
5879
5920
|
};
|
|
@@ -5919,6 +5960,7 @@ function tokenizeHardBreakEscape(effects, ok, nok) {
|
|
|
5919
5960
|
return nok(code);
|
|
5920
5961
|
}
|
|
5921
5962
|
}
|
|
5963
|
+
|
|
5922
5964
|
//#endregion
|
|
5923
5965
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
5924
5966
|
/**
|
|
@@ -5932,7 +5974,7 @@ function tokenizeHardBreakEscape(effects, ok, nok) {
|
|
|
5932
5974
|
* } from 'micromark-util-types'
|
|
5933
5975
|
*/
|
|
5934
5976
|
/** @type {Construct} */
|
|
5935
|
-
|
|
5977
|
+
const headingAtx = {
|
|
5936
5978
|
name: "headingAtx",
|
|
5937
5979
|
resolve: resolveHeadingAtx,
|
|
5938
5980
|
tokenize: tokenizeHeadingAtx
|
|
@@ -6104,6 +6146,7 @@ function tokenizeHeadingAtx(effects, ok, nok) {
|
|
|
6104
6146
|
return data;
|
|
6105
6147
|
}
|
|
6106
6148
|
}
|
|
6149
|
+
|
|
6107
6150
|
//#endregion
|
|
6108
6151
|
//#region ../../node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js
|
|
6109
6152
|
/**
|
|
@@ -6121,7 +6164,7 @@ function tokenizeHeadingAtx(effects, ok, nok) {
|
|
|
6121
6164
|
*
|
|
6122
6165
|
* > 👉 **Note**: `search` was added in `CommonMark@0.31`.
|
|
6123
6166
|
*/
|
|
6124
|
-
|
|
6167
|
+
const htmlBlockNames = [
|
|
6125
6168
|
"address",
|
|
6126
6169
|
"article",
|
|
6127
6170
|
"aside",
|
|
@@ -6197,12 +6240,13 @@ var htmlBlockNames = [
|
|
|
6197
6240
|
*
|
|
6198
6241
|
* > 👉 **Note**: `textarea` was added in `CommonMark@0.30`.
|
|
6199
6242
|
*/
|
|
6200
|
-
|
|
6243
|
+
const htmlRawNames = [
|
|
6201
6244
|
"pre",
|
|
6202
6245
|
"script",
|
|
6203
6246
|
"style",
|
|
6204
6247
|
"textarea"
|
|
6205
6248
|
];
|
|
6249
|
+
|
|
6206
6250
|
//#endregion
|
|
6207
6251
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
6208
6252
|
/**
|
|
@@ -6216,18 +6260,18 @@ var htmlRawNames = [
|
|
|
6216
6260
|
* } from 'micromark-util-types'
|
|
6217
6261
|
*/
|
|
6218
6262
|
/** @type {Construct} */
|
|
6219
|
-
|
|
6263
|
+
const htmlFlow = {
|
|
6220
6264
|
concrete: true,
|
|
6221
6265
|
name: "htmlFlow",
|
|
6222
6266
|
resolveTo: resolveToHtmlFlow,
|
|
6223
6267
|
tokenize: tokenizeHtmlFlow
|
|
6224
6268
|
};
|
|
6225
6269
|
/** @type {Construct} */
|
|
6226
|
-
|
|
6270
|
+
const blankLineBefore = {
|
|
6227
6271
|
partial: true,
|
|
6228
6272
|
tokenize: tokenizeBlankLineBefore
|
|
6229
6273
|
};
|
|
6230
|
-
|
|
6274
|
+
const nonLazyContinuationStart = {
|
|
6231
6275
|
partial: true,
|
|
6232
6276
|
tokenize: tokenizeNonLazyContinuationStart
|
|
6233
6277
|
};
|
|
@@ -6976,6 +7020,7 @@ function tokenizeBlankLineBefore(effects, ok, nok) {
|
|
|
6976
7020
|
return effects.attempt(blankLine, ok, nok);
|
|
6977
7021
|
}
|
|
6978
7022
|
}
|
|
7023
|
+
|
|
6979
7024
|
//#endregion
|
|
6980
7025
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-text.js
|
|
6981
7026
|
/**
|
|
@@ -6988,7 +7033,7 @@ function tokenizeBlankLineBefore(effects, ok, nok) {
|
|
|
6988
7033
|
* } from 'micromark-util-types'
|
|
6989
7034
|
*/
|
|
6990
7035
|
/** @type {Construct} */
|
|
6991
|
-
|
|
7036
|
+
const htmlText = {
|
|
6992
7037
|
name: "htmlText",
|
|
6993
7038
|
tokenize: tokenizeHtmlText
|
|
6994
7039
|
};
|
|
@@ -7590,6 +7635,7 @@ function tokenizeHtmlText(effects, ok, nok) {
|
|
|
7590
7635
|
return returnState(code);
|
|
7591
7636
|
}
|
|
7592
7637
|
}
|
|
7638
|
+
|
|
7593
7639
|
//#endregion
|
|
7594
7640
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-end.js
|
|
7595
7641
|
/**
|
|
@@ -7604,18 +7650,18 @@ function tokenizeHtmlText(effects, ok, nok) {
|
|
|
7604
7650
|
* } from 'micromark-util-types'
|
|
7605
7651
|
*/
|
|
7606
7652
|
/** @type {Construct} */
|
|
7607
|
-
|
|
7653
|
+
const labelEnd = {
|
|
7608
7654
|
name: "labelEnd",
|
|
7609
7655
|
resolveAll: resolveAllLabelEnd,
|
|
7610
7656
|
resolveTo: resolveToLabelEnd,
|
|
7611
7657
|
tokenize: tokenizeLabelEnd
|
|
7612
7658
|
};
|
|
7613
7659
|
/** @type {Construct} */
|
|
7614
|
-
|
|
7660
|
+
const resourceConstruct = { tokenize: tokenizeResource };
|
|
7615
7661
|
/** @type {Construct} */
|
|
7616
|
-
|
|
7662
|
+
const referenceFullConstruct = { tokenize: tokenizeReferenceFull };
|
|
7617
7663
|
/** @type {Construct} */
|
|
7618
|
-
|
|
7664
|
+
const referenceCollapsedConstruct = { tokenize: tokenizeReferenceCollapsed };
|
|
7619
7665
|
/** @type {Resolver} */
|
|
7620
7666
|
function resolveAllLabelEnd(events) {
|
|
7621
7667
|
let index = -1;
|
|
@@ -8060,6 +8106,7 @@ function tokenizeReferenceCollapsed(effects, ok, nok) {
|
|
|
8060
8106
|
return nok(code);
|
|
8061
8107
|
}
|
|
8062
8108
|
}
|
|
8109
|
+
|
|
8063
8110
|
//#endregion
|
|
8064
8111
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
8065
8112
|
/**
|
|
@@ -8071,7 +8118,7 @@ function tokenizeReferenceCollapsed(effects, ok, nok) {
|
|
|
8071
8118
|
* } from 'micromark-util-types'
|
|
8072
8119
|
*/
|
|
8073
8120
|
/** @type {Construct} */
|
|
8074
|
-
|
|
8121
|
+
const labelStartImage = {
|
|
8075
8122
|
name: "labelStartImage",
|
|
8076
8123
|
resolveAll: labelEnd.resolveAll,
|
|
8077
8124
|
tokenize: tokenizeLabelStartImage
|
|
@@ -8153,6 +8200,7 @@ function tokenizeLabelStartImage(effects, ok, nok) {
|
|
|
8153
8200
|
return code === 94 && "_hiddenFootnoteSupport" in self.parser.constructs ? nok(code) : ok(code);
|
|
8154
8201
|
}
|
|
8155
8202
|
}
|
|
8203
|
+
|
|
8156
8204
|
//#endregion
|
|
8157
8205
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
8158
8206
|
/**
|
|
@@ -8164,7 +8212,7 @@ function tokenizeLabelStartImage(effects, ok, nok) {
|
|
|
8164
8212
|
* } from 'micromark-util-types'
|
|
8165
8213
|
*/
|
|
8166
8214
|
/** @type {Construct} */
|
|
8167
|
-
|
|
8215
|
+
const labelStartLink = {
|
|
8168
8216
|
name: "labelStartLink",
|
|
8169
8217
|
resolveAll: labelEnd.resolveAll,
|
|
8170
8218
|
tokenize: tokenizeLabelStartLink
|
|
@@ -8201,6 +8249,7 @@ function tokenizeLabelStartLink(effects, ok, nok) {
|
|
|
8201
8249
|
return code === 94 && "_hiddenFootnoteSupport" in self.parser.constructs ? nok(code) : ok(code);
|
|
8202
8250
|
}
|
|
8203
8251
|
}
|
|
8252
|
+
|
|
8204
8253
|
//#endregion
|
|
8205
8254
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
8206
8255
|
/**
|
|
@@ -8212,7 +8261,7 @@ function tokenizeLabelStartLink(effects, ok, nok) {
|
|
|
8212
8261
|
* } from 'micromark-util-types'
|
|
8213
8262
|
*/
|
|
8214
8263
|
/** @type {Construct} */
|
|
8215
|
-
|
|
8264
|
+
const lineEnding = {
|
|
8216
8265
|
name: "lineEnding",
|
|
8217
8266
|
tokenize: tokenizeLineEnding
|
|
8218
8267
|
};
|
|
@@ -8231,6 +8280,7 @@ function tokenizeLineEnding(effects, ok) {
|
|
|
8231
8280
|
return factorySpace(effects, ok, "linePrefix");
|
|
8232
8281
|
}
|
|
8233
8282
|
}
|
|
8283
|
+
|
|
8234
8284
|
//#endregion
|
|
8235
8285
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
8236
8286
|
/**
|
|
@@ -8243,7 +8293,7 @@ function tokenizeLineEnding(effects, ok) {
|
|
|
8243
8293
|
* } from 'micromark-util-types'
|
|
8244
8294
|
*/
|
|
8245
8295
|
/** @type {Construct} */
|
|
8246
|
-
|
|
8296
|
+
const thematicBreak$1 = {
|
|
8247
8297
|
name: "thematicBreak",
|
|
8248
8298
|
tokenize: tokenizeThematicBreak
|
|
8249
8299
|
};
|
|
@@ -8326,6 +8376,7 @@ function tokenizeThematicBreak(effects, ok, nok) {
|
|
|
8326
8376
|
return markdownSpace(code) ? factorySpace(effects, atBreak, "whitespace")(code) : atBreak(code);
|
|
8327
8377
|
}
|
|
8328
8378
|
}
|
|
8379
|
+
|
|
8329
8380
|
//#endregion
|
|
8330
8381
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.js
|
|
8331
8382
|
/**
|
|
@@ -8339,19 +8390,19 @@ function tokenizeThematicBreak(effects, ok, nok) {
|
|
|
8339
8390
|
* } from 'micromark-util-types'
|
|
8340
8391
|
*/
|
|
8341
8392
|
/** @type {Construct} */
|
|
8342
|
-
|
|
8393
|
+
const list$2 = {
|
|
8343
8394
|
continuation: { tokenize: tokenizeListContinuation },
|
|
8344
8395
|
exit: tokenizeListEnd,
|
|
8345
8396
|
name: "list",
|
|
8346
8397
|
tokenize: tokenizeListStart
|
|
8347
8398
|
};
|
|
8348
8399
|
/** @type {Construct} */
|
|
8349
|
-
|
|
8400
|
+
const listItemPrefixWhitespaceConstruct = {
|
|
8350
8401
|
partial: true,
|
|
8351
8402
|
tokenize: tokenizeListItemPrefixWhitespace
|
|
8352
8403
|
};
|
|
8353
8404
|
/** @type {Construct} */
|
|
8354
|
-
|
|
8405
|
+
const indentConstruct = {
|
|
8355
8406
|
partial: true,
|
|
8356
8407
|
tokenize: tokenizeIndent$1
|
|
8357
8408
|
};
|
|
@@ -8498,6 +8549,7 @@ function tokenizeListItemPrefixWhitespace(effects, ok, nok) {
|
|
|
8498
8549
|
return !markdownSpace(code) && tail && tail[1].type === "listItemPrefixWhitespace" ? ok(code) : nok(code);
|
|
8499
8550
|
}
|
|
8500
8551
|
}
|
|
8552
|
+
|
|
8501
8553
|
//#endregion
|
|
8502
8554
|
//#region ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
8503
8555
|
/**
|
|
@@ -8511,7 +8563,7 @@ function tokenizeListItemPrefixWhitespace(effects, ok, nok) {
|
|
|
8511
8563
|
* } from 'micromark-util-types'
|
|
8512
8564
|
*/
|
|
8513
8565
|
/** @type {Construct} */
|
|
8514
|
-
|
|
8566
|
+
const setextUnderline = {
|
|
8515
8567
|
name: "setextUnderline",
|
|
8516
8568
|
resolveTo: resolveToSetextUnderline,
|
|
8517
8569
|
tokenize: tokenizeSetextUnderline
|
|
@@ -8650,6 +8702,7 @@ function tokenizeSetextUnderline(effects, ok, nok) {
|
|
|
8650
8702
|
return nok(code);
|
|
8651
8703
|
}
|
|
8652
8704
|
}
|
|
8705
|
+
|
|
8653
8706
|
//#endregion
|
|
8654
8707
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js
|
|
8655
8708
|
/**
|
|
@@ -8661,7 +8714,7 @@ function tokenizeSetextUnderline(effects, ok, nok) {
|
|
|
8661
8714
|
* } from 'micromark-util-types'
|
|
8662
8715
|
*/
|
|
8663
8716
|
/** @type {InitialConstruct} */
|
|
8664
|
-
|
|
8717
|
+
const flow$1 = { tokenize: initializeFlow };
|
|
8665
8718
|
/**
|
|
8666
8719
|
* @this {TokenizeContext}
|
|
8667
8720
|
* Self.
|
|
@@ -8697,6 +8750,7 @@ function initializeFlow(effects) {
|
|
|
8697
8750
|
return initial;
|
|
8698
8751
|
}
|
|
8699
8752
|
}
|
|
8753
|
+
|
|
8700
8754
|
//#endregion
|
|
8701
8755
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.js
|
|
8702
8756
|
/**
|
|
@@ -8709,9 +8763,9 @@ function initializeFlow(effects) {
|
|
|
8709
8763
|
* TokenizeContext
|
|
8710
8764
|
* } from 'micromark-util-types'
|
|
8711
8765
|
*/
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8766
|
+
const resolver = { resolveAll: createResolver() };
|
|
8767
|
+
const string$1 = initializeFactory("string");
|
|
8768
|
+
const text$3 = initializeFactory("text");
|
|
8715
8769
|
/**
|
|
8716
8770
|
* @param {'string' | 'text'} field
|
|
8717
8771
|
* Field.
|
|
@@ -8874,6 +8928,7 @@ function resolveAllLineSuffixes(events, context) {
|
|
|
8874
8928
|
}
|
|
8875
8929
|
return events;
|
|
8876
8930
|
}
|
|
8931
|
+
|
|
8877
8932
|
//#endregion
|
|
8878
8933
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.js
|
|
8879
8934
|
/**
|
|
@@ -8891,7 +8946,7 @@ var constructs_exports = /* @__PURE__ */ __exportAll({
|
|
|
8891
8946
|
text: () => text$2
|
|
8892
8947
|
});
|
|
8893
8948
|
/** @satisfies {Extension['document']} */
|
|
8894
|
-
|
|
8949
|
+
const document = {
|
|
8895
8950
|
[42]: list$2,
|
|
8896
8951
|
[43]: list$2,
|
|
8897
8952
|
[45]: list$2,
|
|
@@ -8908,15 +8963,15 @@ var document = {
|
|
|
8908
8963
|
[62]: blockQuote
|
|
8909
8964
|
};
|
|
8910
8965
|
/** @satisfies {Extension['contentInitial']} */
|
|
8911
|
-
|
|
8966
|
+
const contentInitial = { [91]: definition$1 };
|
|
8912
8967
|
/** @satisfies {Extension['flowInitial']} */
|
|
8913
|
-
|
|
8968
|
+
const flowInitial = {
|
|
8914
8969
|
[-2]: codeIndented,
|
|
8915
8970
|
[-1]: codeIndented,
|
|
8916
8971
|
[32]: codeIndented
|
|
8917
8972
|
};
|
|
8918
8973
|
/** @satisfies {Extension['flow']} */
|
|
8919
|
-
|
|
8974
|
+
const flow = {
|
|
8920
8975
|
[35]: headingAtx,
|
|
8921
8976
|
[42]: thematicBreak$1,
|
|
8922
8977
|
[45]: [setextUnderline, thematicBreak$1],
|
|
@@ -8927,12 +8982,12 @@ var flow = {
|
|
|
8927
8982
|
[126]: codeFenced
|
|
8928
8983
|
};
|
|
8929
8984
|
/** @satisfies {Extension['string']} */
|
|
8930
|
-
|
|
8985
|
+
const string = {
|
|
8931
8986
|
[38]: characterReference,
|
|
8932
8987
|
[92]: characterEscape
|
|
8933
8988
|
};
|
|
8934
8989
|
/** @satisfies {Extension['text']} */
|
|
8935
|
-
|
|
8990
|
+
const text$2 = {
|
|
8936
8991
|
[-5]: lineEnding,
|
|
8937
8992
|
[-4]: lineEnding,
|
|
8938
8993
|
[-3]: lineEnding,
|
|
@@ -8947,11 +9002,12 @@ var text$2 = {
|
|
|
8947
9002
|
[96]: codeText
|
|
8948
9003
|
};
|
|
8949
9004
|
/** @satisfies {Extension['insideSpan']} */
|
|
8950
|
-
|
|
9005
|
+
const insideSpan = { null: [attention, resolver] };
|
|
8951
9006
|
/** @satisfies {Extension['attentionMarkers']} */
|
|
8952
|
-
|
|
9007
|
+
const attentionMarkers = { null: [42, 95] };
|
|
8953
9008
|
/** @satisfies {Extension['disable']} */
|
|
8954
|
-
|
|
9009
|
+
const disable = { null: [] };
|
|
9010
|
+
|
|
8955
9011
|
//#endregion
|
|
8956
9012
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.js
|
|
8957
9013
|
/**
|
|
@@ -9421,6 +9477,7 @@ function serializeChunks(chunks, expandTabs) {
|
|
|
9421
9477
|
}
|
|
9422
9478
|
return result.join("");
|
|
9423
9479
|
}
|
|
9480
|
+
|
|
9424
9481
|
//#endregion
|
|
9425
9482
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js
|
|
9426
9483
|
/**
|
|
@@ -9465,6 +9522,7 @@ function parse(options) {
|
|
|
9465
9522
|
}
|
|
9466
9523
|
}
|
|
9467
9524
|
}
|
|
9525
|
+
|
|
9468
9526
|
//#endregion
|
|
9469
9527
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.js
|
|
9470
9528
|
/**
|
|
@@ -9480,6 +9538,7 @@ function postprocess(events) {
|
|
|
9480
9538
|
while (!subtokenize(events));
|
|
9481
9539
|
return events;
|
|
9482
9540
|
}
|
|
9541
|
+
|
|
9483
9542
|
//#endregion
|
|
9484
9543
|
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.js
|
|
9485
9544
|
/**
|
|
@@ -9497,7 +9556,7 @@ function postprocess(events) {
|
|
|
9497
9556
|
* @returns {Array<Chunk>}
|
|
9498
9557
|
* Chunks.
|
|
9499
9558
|
*/
|
|
9500
|
-
|
|
9559
|
+
const search = /[\0\t\n\r]/g;
|
|
9501
9560
|
/**
|
|
9502
9561
|
* @returns {Preprocessor}
|
|
9503
9562
|
* Preprocess a value.
|
|
@@ -9581,9 +9640,10 @@ function preprocess() {
|
|
|
9581
9640
|
return chunks;
|
|
9582
9641
|
}
|
|
9583
9642
|
}
|
|
9643
|
+
|
|
9584
9644
|
//#endregion
|
|
9585
9645
|
//#region ../../node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js
|
|
9586
|
-
|
|
9646
|
+
const characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
9587
9647
|
/**
|
|
9588
9648
|
* Decode markdown strings (which occur in places such as fenced code info
|
|
9589
9649
|
* strings, destinations, labels, and titles).
|
|
@@ -9618,6 +9678,7 @@ function decode($0, $1, $2) {
|
|
|
9618
9678
|
}
|
|
9619
9679
|
return decodeNamedCharacterReference($2) || $0;
|
|
9620
9680
|
}
|
|
9681
|
+
|
|
9621
9682
|
//#endregion
|
|
9622
9683
|
//#region ../../node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js
|
|
9623
9684
|
/**
|
|
@@ -9682,6 +9743,7 @@ function position(pos) {
|
|
|
9682
9743
|
function index(value) {
|
|
9683
9744
|
return value && typeof value === "number" ? value : 1;
|
|
9684
9745
|
}
|
|
9746
|
+
|
|
9685
9747
|
//#endregion
|
|
9686
9748
|
//#region ../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.js
|
|
9687
9749
|
/**
|
|
@@ -9724,7 +9786,7 @@ function index(value) {
|
|
|
9724
9786
|
* Options
|
|
9725
9787
|
* } from './types.js'
|
|
9726
9788
|
*/
|
|
9727
|
-
|
|
9789
|
+
const own$3 = {}.hasOwnProperty;
|
|
9728
9790
|
/**
|
|
9729
9791
|
* Turn markdown into a syntax tree.
|
|
9730
9792
|
*
|
|
@@ -9898,8 +9960,10 @@ function compiler(options) {
|
|
|
9898
9960
|
/** @type {Array<number>} */
|
|
9899
9961
|
const listStack = [];
|
|
9900
9962
|
let index = -1;
|
|
9901
|
-
while (++index < events.length) if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered")
|
|
9902
|
-
|
|
9963
|
+
while (++index < events.length) if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered") {
|
|
9964
|
+
if (events[index][0] === "enter") listStack.push(index);
|
|
9965
|
+
else index = prepareList(events, listStack.pop(), index);
|
|
9966
|
+
}
|
|
9903
9967
|
index = -1;
|
|
9904
9968
|
while (++index < events.length) {
|
|
9905
9969
|
const handler = config[events[index][0]];
|
|
@@ -10089,8 +10153,10 @@ function compiler(options) {
|
|
|
10089
10153
|
start: token.start,
|
|
10090
10154
|
end: token.end
|
|
10091
10155
|
}) + "): it’s not open");
|
|
10092
|
-
else if (open[0].type !== token.type)
|
|
10093
|
-
|
|
10156
|
+
else if (open[0].type !== token.type) {
|
|
10157
|
+
if (onExitError) onExitError.call(this, token, open[0]);
|
|
10158
|
+
else (open[1] || defaultOnError).call(this, token, open[0]);
|
|
10159
|
+
}
|
|
10094
10160
|
node.position.end = point(token.end);
|
|
10095
10161
|
}
|
|
10096
10162
|
/**
|
|
@@ -10648,6 +10714,7 @@ function defaultOnError(left, right) {
|
|
|
10648
10714
|
end: right.end
|
|
10649
10715
|
}) + ") is still open");
|
|
10650
10716
|
}
|
|
10717
|
+
|
|
10651
10718
|
//#endregion
|
|
10652
10719
|
//#region ../../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.js
|
|
10653
10720
|
/**
|
|
@@ -10683,6 +10750,7 @@ function remarkParse(options) {
|
|
|
10683
10750
|
});
|
|
10684
10751
|
}
|
|
10685
10752
|
}
|
|
10753
|
+
|
|
10686
10754
|
//#endregion
|
|
10687
10755
|
//#region ../../node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.js
|
|
10688
10756
|
/**
|
|
@@ -10730,7 +10798,7 @@ function remarkParse(options) {
|
|
|
10730
10798
|
* @property {Handlers} [handlers]
|
|
10731
10799
|
* Handlers to use.
|
|
10732
10800
|
*/
|
|
10733
|
-
|
|
10801
|
+
const own$2 = {}.hasOwnProperty;
|
|
10734
10802
|
/**
|
|
10735
10803
|
* Handle values based on a field.
|
|
10736
10804
|
*
|
|
@@ -10788,12 +10856,13 @@ function zwitch(key, options) {
|
|
|
10788
10856
|
one.unknown = settings.unknown;
|
|
10789
10857
|
return one;
|
|
10790
10858
|
}
|
|
10859
|
+
|
|
10791
10860
|
//#endregion
|
|
10792
10861
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/configure.js
|
|
10793
10862
|
/**
|
|
10794
10863
|
* @import {Options, State} from './types.js'
|
|
10795
10864
|
*/
|
|
10796
|
-
|
|
10865
|
+
const own$1 = {}.hasOwnProperty;
|
|
10797
10866
|
/**
|
|
10798
10867
|
* @param {State} base
|
|
10799
10868
|
* @param {Options} extension
|
|
@@ -10836,6 +10905,7 @@ function list$1(left, right) {
|
|
|
10836
10905
|
function map$2(left, right) {
|
|
10837
10906
|
if (right) Object.assign(left, right);
|
|
10838
10907
|
}
|
|
10908
|
+
|
|
10839
10909
|
//#endregion
|
|
10840
10910
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
|
|
10841
10911
|
/**
|
|
@@ -10862,6 +10932,7 @@ function blockquote(node, _, state, info) {
|
|
|
10862
10932
|
function map$1(line, _, blank) {
|
|
10863
10933
|
return ">" + (blank ? "" : " ") + line;
|
|
10864
10934
|
}
|
|
10935
|
+
|
|
10865
10936
|
//#endregion
|
|
10866
10937
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js
|
|
10867
10938
|
/**
|
|
@@ -10888,6 +10959,7 @@ function listInScope(stack, list, none) {
|
|
|
10888
10959
|
while (++index < list.length) if (stack.includes(list[index])) return true;
|
|
10889
10960
|
return false;
|
|
10890
10961
|
}
|
|
10962
|
+
|
|
10891
10963
|
//#endregion
|
|
10892
10964
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/break.js
|
|
10893
10965
|
/**
|
|
@@ -10906,6 +10978,7 @@ function hardBreak(_, _1, state, info) {
|
|
|
10906
10978
|
while (++index < state.unsafe.length) if (state.unsafe[index].character === "\n" && patternInScope(state.stack, state.unsafe[index])) return /[ \t]/.test(info.before) ? "" : " ";
|
|
10907
10979
|
return "\\\n";
|
|
10908
10980
|
}
|
|
10981
|
+
|
|
10909
10982
|
//#endregion
|
|
10910
10983
|
//#region ../../node_modules/.pnpm/longest-streak@3.1.0/node_modules/longest-streak/index.js
|
|
10911
10984
|
/**
|
|
@@ -10934,6 +11007,7 @@ function longestStreak(value, substring) {
|
|
|
10934
11007
|
}
|
|
10935
11008
|
return max;
|
|
10936
11009
|
}
|
|
11010
|
+
|
|
10937
11011
|
//#endregion
|
|
10938
11012
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js
|
|
10939
11013
|
/**
|
|
@@ -10948,6 +11022,7 @@ function longestStreak(value, substring) {
|
|
|
10948
11022
|
function formatCodeAsIndented(node, state) {
|
|
10949
11023
|
return Boolean(state.options.fences === false && node.value && !node.lang && /[^ \r\n]/.test(node.value) && !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(node.value));
|
|
10950
11024
|
}
|
|
11025
|
+
|
|
10951
11026
|
//#endregion
|
|
10952
11027
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-fence.js
|
|
10953
11028
|
/**
|
|
@@ -10962,6 +11037,7 @@ function checkFence(state) {
|
|
|
10962
11037
|
if (marker !== "`" && marker !== "~") throw new Error("Cannot serialize code with `" + marker + "` for `options.fence`, expected `` ` `` or `~`");
|
|
10963
11038
|
return marker;
|
|
10964
11039
|
}
|
|
11040
|
+
|
|
10965
11041
|
//#endregion
|
|
10966
11042
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/code.js
|
|
10967
11043
|
/**
|
|
@@ -11020,6 +11096,7 @@ function code$1(node, _, state, info) {
|
|
|
11020
11096
|
function map(line, _, blank) {
|
|
11021
11097
|
return (blank ? "" : " ") + line;
|
|
11022
11098
|
}
|
|
11099
|
+
|
|
11023
11100
|
//#endregion
|
|
11024
11101
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-quote.js
|
|
11025
11102
|
/**
|
|
@@ -11034,6 +11111,7 @@ function checkQuote(state) {
|
|
|
11034
11111
|
if (marker !== "\"" && marker !== "'") throw new Error("Cannot serialize title with `" + marker + "` for `options.quote`, expected `\"`, or `'`");
|
|
11035
11112
|
return marker;
|
|
11036
11113
|
}
|
|
11114
|
+
|
|
11037
11115
|
//#endregion
|
|
11038
11116
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/definition.js
|
|
11039
11117
|
/**
|
|
@@ -11093,6 +11171,7 @@ function definition(node, _, state, info) {
|
|
|
11093
11171
|
exit();
|
|
11094
11172
|
return value;
|
|
11095
11173
|
}
|
|
11174
|
+
|
|
11096
11175
|
//#endregion
|
|
11097
11176
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
|
|
11098
11177
|
/**
|
|
@@ -11107,6 +11186,7 @@ function checkEmphasis(state) {
|
|
|
11107
11186
|
if (marker !== "*" && marker !== "_") throw new Error("Cannot serialize emphasis with `" + marker + "` for `options.emphasis`, expected `*`, or `_`");
|
|
11108
11187
|
return marker;
|
|
11109
11188
|
}
|
|
11189
|
+
|
|
11110
11190
|
//#endregion
|
|
11111
11191
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
|
|
11112
11192
|
/**
|
|
@@ -11120,6 +11200,7 @@ function checkEmphasis(state) {
|
|
|
11120
11200
|
function encodeCharacterReference(code) {
|
|
11121
11201
|
return "&#x" + code.toString(16).toUpperCase() + ";";
|
|
11122
11202
|
}
|
|
11203
|
+
|
|
11123
11204
|
//#endregion
|
|
11124
11205
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-info.js
|
|
11125
11206
|
/**
|
|
@@ -11192,6 +11273,7 @@ function encodeInfo(outside, inside, marker) {
|
|
|
11192
11273
|
outside: false
|
|
11193
11274
|
};
|
|
11194
11275
|
}
|
|
11276
|
+
|
|
11195
11277
|
//#endregion
|
|
11196
11278
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
|
|
11197
11279
|
/**
|
|
@@ -11239,6 +11321,7 @@ function emphasis(node, _, state, info) {
|
|
|
11239
11321
|
function emphasisPeek(_, _1, state) {
|
|
11240
11322
|
return state.options.emphasis || "*";
|
|
11241
11323
|
}
|
|
11324
|
+
|
|
11242
11325
|
//#endregion
|
|
11243
11326
|
//#region ../../node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.js
|
|
11244
11327
|
/**
|
|
@@ -11259,7 +11342,7 @@ function emphasisPeek(_, _1, state) {
|
|
|
11259
11342
|
* @returns {Check}
|
|
11260
11343
|
* An assertion.
|
|
11261
11344
|
*/
|
|
11262
|
-
|
|
11345
|
+
const convert = (
|
|
11263
11346
|
/**
|
|
11264
11347
|
* @param {Test} [test]
|
|
11265
11348
|
* @returns {Check}
|
|
@@ -11353,6 +11436,7 @@ function ok$1() {
|
|
|
11353
11436
|
function looksLikeANode(value) {
|
|
11354
11437
|
return value !== null && typeof value === "object" && "type" in value;
|
|
11355
11438
|
}
|
|
11439
|
+
|
|
11356
11440
|
//#endregion
|
|
11357
11441
|
//#region ../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.js
|
|
11358
11442
|
/**
|
|
@@ -11362,6 +11446,7 @@ function looksLikeANode(value) {
|
|
|
11362
11446
|
function color(d) {
|
|
11363
11447
|
return d;
|
|
11364
11448
|
}
|
|
11449
|
+
|
|
11365
11450
|
//#endregion
|
|
11366
11451
|
//#region ../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.js
|
|
11367
11452
|
/**
|
|
@@ -11570,7 +11655,19 @@ function color(d) {
|
|
|
11570
11655
|
* Test type.
|
|
11571
11656
|
*/
|
|
11572
11657
|
/** @type {Readonly<ActionTuple>} */
|
|
11573
|
-
|
|
11658
|
+
const empty = [];
|
|
11659
|
+
/**
|
|
11660
|
+
* Continue traversing as normal.
|
|
11661
|
+
*/
|
|
11662
|
+
const CONTINUE = true;
|
|
11663
|
+
/**
|
|
11664
|
+
* Stop traversing immediately.
|
|
11665
|
+
*/
|
|
11666
|
+
const EXIT = false;
|
|
11667
|
+
/**
|
|
11668
|
+
* Do not traverse this node’s children.
|
|
11669
|
+
*/
|
|
11670
|
+
const SKIP = "skip";
|
|
11574
11671
|
/**
|
|
11575
11672
|
* Visit nodes, with ancestral information.
|
|
11576
11673
|
*
|
|
@@ -11683,6 +11780,7 @@ function toResult(value) {
|
|
|
11683
11780
|
if (typeof value === "number") return [true, value];
|
|
11684
11781
|
return value === null || value === void 0 ? empty : [value];
|
|
11685
11782
|
}
|
|
11783
|
+
|
|
11686
11784
|
//#endregion
|
|
11687
11785
|
//#region ../../node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.js
|
|
11688
11786
|
/**
|
|
@@ -11968,6 +12066,7 @@ function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
|
|
|
11968
12066
|
return visitor(node, index, parent);
|
|
11969
12067
|
}
|
|
11970
12068
|
}
|
|
12069
|
+
|
|
11971
12070
|
//#endregion
|
|
11972
12071
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js
|
|
11973
12072
|
/**
|
|
@@ -11989,6 +12088,7 @@ function formatHeadingAsSetext(node, state) {
|
|
|
11989
12088
|
});
|
|
11990
12089
|
return Boolean((!node.depth || node.depth < 3) && toString(node) && (state.options.setext || literalWithBreak));
|
|
11991
12090
|
}
|
|
12091
|
+
|
|
11992
12092
|
//#endregion
|
|
11993
12093
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.js
|
|
11994
12094
|
/**
|
|
@@ -12033,6 +12133,7 @@ function heading(node, _, state, info) {
|
|
|
12033
12133
|
exit();
|
|
12034
12134
|
return value;
|
|
12035
12135
|
}
|
|
12136
|
+
|
|
12036
12137
|
//#endregion
|
|
12037
12138
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/html.js
|
|
12038
12139
|
/**
|
|
@@ -12052,6 +12153,7 @@ function html(node) {
|
|
|
12052
12153
|
function htmlPeek() {
|
|
12053
12154
|
return "<";
|
|
12054
12155
|
}
|
|
12156
|
+
|
|
12055
12157
|
//#endregion
|
|
12056
12158
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image.js
|
|
12057
12159
|
/**
|
|
@@ -12119,6 +12221,7 @@ function image(node, _, state, info) {
|
|
|
12119
12221
|
function imagePeek() {
|
|
12120
12222
|
return "!";
|
|
12121
12223
|
}
|
|
12224
|
+
|
|
12122
12225
|
//#endregion
|
|
12123
12226
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
|
|
12124
12227
|
/**
|
|
@@ -12168,6 +12271,7 @@ function imageReference(node, _, state, info) {
|
|
|
12168
12271
|
function imageReferencePeek() {
|
|
12169
12272
|
return "!";
|
|
12170
12273
|
}
|
|
12274
|
+
|
|
12171
12275
|
//#endregion
|
|
12172
12276
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
|
|
12173
12277
|
/**
|
|
@@ -12207,6 +12311,7 @@ function inlineCode(node, _, state) {
|
|
|
12207
12311
|
function inlineCodePeek() {
|
|
12208
12312
|
return "`";
|
|
12209
12313
|
}
|
|
12314
|
+
|
|
12210
12315
|
//#endregion
|
|
12211
12316
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
|
|
12212
12317
|
/**
|
|
@@ -12222,6 +12327,7 @@ function formatLinkAsAutolink(node, state) {
|
|
|
12222
12327
|
const raw = toString(node);
|
|
12223
12328
|
return Boolean(!state.options.resourceLink && node.url && !node.title && node.children && node.children.length === 1 && node.children[0].type === "text" && (raw === node.url || "mailto:" + raw === node.url) && /^[a-z][a-z+.-]+:/i.test(node.url) && !/[\0- <>\u007F]/.test(node.url));
|
|
12224
12329
|
}
|
|
12330
|
+
|
|
12225
12331
|
//#endregion
|
|
12226
12332
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link.js
|
|
12227
12333
|
/**
|
|
@@ -12312,6 +12418,7 @@ function link(node, _, state, info) {
|
|
|
12312
12418
|
function linkPeek(node, _, state) {
|
|
12313
12419
|
return formatLinkAsAutolink(node, state) ? "<" : "[";
|
|
12314
12420
|
}
|
|
12421
|
+
|
|
12315
12422
|
//#endregion
|
|
12316
12423
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
|
|
12317
12424
|
/**
|
|
@@ -12361,6 +12468,7 @@ function linkReference(node, _, state, info) {
|
|
|
12361
12468
|
function linkReferencePeek() {
|
|
12362
12469
|
return "[";
|
|
12363
12470
|
}
|
|
12471
|
+
|
|
12364
12472
|
//#endregion
|
|
12365
12473
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js
|
|
12366
12474
|
/**
|
|
@@ -12375,6 +12483,7 @@ function checkBullet(state) {
|
|
|
12375
12483
|
if (marker !== "*" && marker !== "+" && marker !== "-") throw new Error("Cannot serialize items with `" + marker + "` for `options.bullet`, expected `*`, `+`, or `-`");
|
|
12376
12484
|
return marker;
|
|
12377
12485
|
}
|
|
12486
|
+
|
|
12378
12487
|
//#endregion
|
|
12379
12488
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js
|
|
12380
12489
|
/**
|
|
@@ -12392,6 +12501,7 @@ function checkBulletOther(state) {
|
|
|
12392
12501
|
if (bulletOther === bullet) throw new Error("Expected `bullet` (`" + bullet + "`) and `bulletOther` (`" + bulletOther + "`) to be different");
|
|
12393
12502
|
return bulletOther;
|
|
12394
12503
|
}
|
|
12504
|
+
|
|
12395
12505
|
//#endregion
|
|
12396
12506
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js
|
|
12397
12507
|
/**
|
|
@@ -12406,6 +12516,7 @@ function checkBulletOrdered(state) {
|
|
|
12406
12516
|
if (marker !== "." && marker !== ")") throw new Error("Cannot serialize items with `" + marker + "` for `options.bulletOrdered`, expected `.` or `)`");
|
|
12407
12517
|
return marker;
|
|
12408
12518
|
}
|
|
12519
|
+
|
|
12409
12520
|
//#endregion
|
|
12410
12521
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule.js
|
|
12411
12522
|
/**
|
|
@@ -12420,6 +12531,7 @@ function checkRule(state) {
|
|
|
12420
12531
|
if (marker !== "*" && marker !== "-" && marker !== "_") throw new Error("Cannot serialize rules with `" + marker + "` for `options.rule`, expected `*`, `-`, or `_`");
|
|
12421
12532
|
return marker;
|
|
12422
12533
|
}
|
|
12534
|
+
|
|
12423
12535
|
//#endregion
|
|
12424
12536
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list.js
|
|
12425
12537
|
/**
|
|
@@ -12463,6 +12575,7 @@ function list(node, parent, state, info) {
|
|
|
12463
12575
|
exit();
|
|
12464
12576
|
return value;
|
|
12465
12577
|
}
|
|
12578
|
+
|
|
12466
12579
|
//#endregion
|
|
12467
12580
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js
|
|
12468
12581
|
/**
|
|
@@ -12477,6 +12590,7 @@ function checkListItemIndent(state) {
|
|
|
12477
12590
|
if (style !== "tab" && style !== "one" && style !== "mixed") throw new Error("Cannot serialize items with `" + style + "` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");
|
|
12478
12591
|
return style;
|
|
12479
12592
|
}
|
|
12593
|
+
|
|
12480
12594
|
//#endregion
|
|
12481
12595
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list-item.js
|
|
12482
12596
|
/**
|
|
@@ -12509,6 +12623,7 @@ function listItem(node, parent, state, info) {
|
|
|
12509
12623
|
return (blank ? bullet : bullet + " ".repeat(size - bullet.length)) + line;
|
|
12510
12624
|
}
|
|
12511
12625
|
}
|
|
12626
|
+
|
|
12512
12627
|
//#endregion
|
|
12513
12628
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js
|
|
12514
12629
|
/**
|
|
@@ -12530,6 +12645,7 @@ function paragraph(node, _, state, info) {
|
|
|
12530
12645
|
exit();
|
|
12531
12646
|
return value;
|
|
12532
12647
|
}
|
|
12648
|
+
|
|
12533
12649
|
//#endregion
|
|
12534
12650
|
//#region ../../node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js
|
|
12535
12651
|
/**
|
|
@@ -12546,7 +12662,7 @@ function paragraph(node, _, state, info) {
|
|
|
12546
12662
|
* @returns
|
|
12547
12663
|
* Whether `value` is phrasing content.
|
|
12548
12664
|
*/
|
|
12549
|
-
|
|
12665
|
+
const phrasing = convert([
|
|
12550
12666
|
"break",
|
|
12551
12667
|
"delete",
|
|
12552
12668
|
"emphasis",
|
|
@@ -12564,6 +12680,7 @@ var phrasing = convert([
|
|
|
12564
12680
|
"text",
|
|
12565
12681
|
"textDirective"
|
|
12566
12682
|
]);
|
|
12683
|
+
|
|
12567
12684
|
//#endregion
|
|
12568
12685
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/root.js
|
|
12569
12686
|
/**
|
|
@@ -12582,6 +12699,7 @@ function root(node, _, state, info) {
|
|
|
12582
12699
|
return phrasing(d);
|
|
12583
12700
|
}) ? state.containerPhrasing : state.containerFlow).call(state, node, info);
|
|
12584
12701
|
}
|
|
12702
|
+
|
|
12585
12703
|
//#endregion
|
|
12586
12704
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-strong.js
|
|
12587
12705
|
/**
|
|
@@ -12596,6 +12714,7 @@ function checkStrong(state) {
|
|
|
12596
12714
|
if (marker !== "*" && marker !== "_") throw new Error("Cannot serialize strong with `" + marker + "` for `options.strong`, expected `*`, or `_`");
|
|
12597
12715
|
return marker;
|
|
12598
12716
|
}
|
|
12717
|
+
|
|
12599
12718
|
//#endregion
|
|
12600
12719
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/strong.js
|
|
12601
12720
|
/**
|
|
@@ -12643,6 +12762,7 @@ function strong(node, _, state, info) {
|
|
|
12643
12762
|
function strongPeek(_, _1, state) {
|
|
12644
12763
|
return state.options.strong || "*";
|
|
12645
12764
|
}
|
|
12765
|
+
|
|
12646
12766
|
//#endregion
|
|
12647
12767
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/text.js
|
|
12648
12768
|
/**
|
|
@@ -12659,6 +12779,7 @@ function strongPeek(_, _1, state) {
|
|
|
12659
12779
|
function text$1(node, _, state, info) {
|
|
12660
12780
|
return state.safe(node.value, info);
|
|
12661
12781
|
}
|
|
12782
|
+
|
|
12662
12783
|
//#endregion
|
|
12663
12784
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js
|
|
12664
12785
|
/**
|
|
@@ -12673,6 +12794,7 @@ function checkRuleRepetition(state) {
|
|
|
12673
12794
|
if (repetition < 3) throw new Error("Cannot serialize rules with repetition `" + repetition + "` for `options.ruleRepetition`, expected `3` or more");
|
|
12674
12795
|
return repetition;
|
|
12675
12796
|
}
|
|
12797
|
+
|
|
12676
12798
|
//#endregion
|
|
12677
12799
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
|
|
12678
12800
|
/**
|
|
@@ -12689,12 +12811,13 @@ function thematicBreak(_, _1, state) {
|
|
|
12689
12811
|
const value = (checkRule(state) + (state.options.ruleSpaces ? " " : "")).repeat(checkRuleRepetition(state));
|
|
12690
12812
|
return state.options.ruleSpaces ? value.slice(0, -1) : value;
|
|
12691
12813
|
}
|
|
12814
|
+
|
|
12692
12815
|
//#endregion
|
|
12693
12816
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/index.js
|
|
12694
12817
|
/**
|
|
12695
12818
|
* Default (CommonMark) handlers.
|
|
12696
12819
|
*/
|
|
12697
|
-
|
|
12820
|
+
const handle = {
|
|
12698
12821
|
blockquote,
|
|
12699
12822
|
break: hardBreak,
|
|
12700
12823
|
code: code$1,
|
|
@@ -12716,13 +12839,14 @@ var handle = {
|
|
|
12716
12839
|
text: text$1,
|
|
12717
12840
|
thematicBreak
|
|
12718
12841
|
};
|
|
12842
|
+
|
|
12719
12843
|
//#endregion
|
|
12720
12844
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/join.js
|
|
12721
12845
|
/**
|
|
12722
12846
|
* @import {Join} from 'mdast-util-to-markdown'
|
|
12723
12847
|
*/
|
|
12724
12848
|
/** @type {Array<Join>} */
|
|
12725
|
-
|
|
12849
|
+
const join$1 = [joinDefaults];
|
|
12726
12850
|
/** @type {Join} */
|
|
12727
12851
|
function joinDefaults(left, right, parent, state) {
|
|
12728
12852
|
if (right.type === "code" && formatCodeAsIndented(right, state) && (left.type === "list" || left.type === right.type && formatCodeAsIndented(left, state))) return false;
|
|
@@ -12731,6 +12855,7 @@ function joinDefaults(left, right, parent, state) {
|
|
|
12731
12855
|
return parent.spread ? 1 : 0;
|
|
12732
12856
|
}
|
|
12733
12857
|
}
|
|
12858
|
+
|
|
12734
12859
|
//#endregion
|
|
12735
12860
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/unsafe.js
|
|
12736
12861
|
/**
|
|
@@ -12744,7 +12869,7 @@ function joinDefaults(left, right, parent, state) {
|
|
|
12744
12869
|
*
|
|
12745
12870
|
* @type {Array<ConstructName>}
|
|
12746
12871
|
*/
|
|
12747
|
-
|
|
12872
|
+
const fullPhrasingSpans = [
|
|
12748
12873
|
"autolink",
|
|
12749
12874
|
"destinationLiteral",
|
|
12750
12875
|
"destinationRaw",
|
|
@@ -12753,7 +12878,7 @@ var fullPhrasingSpans = [
|
|
|
12753
12878
|
"titleApostrophe"
|
|
12754
12879
|
];
|
|
12755
12880
|
/** @type {Array<Unsafe>} */
|
|
12756
|
-
|
|
12881
|
+
const unsafe = [
|
|
12757
12882
|
{
|
|
12758
12883
|
character: " ",
|
|
12759
12884
|
after: "[\\r\\n]",
|
|
@@ -12953,6 +13078,7 @@ var unsafe = [
|
|
|
12953
13078
|
character: "~"
|
|
12954
13079
|
}
|
|
12955
13080
|
];
|
|
13081
|
+
|
|
12956
13082
|
//#endregion
|
|
12957
13083
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/association.js
|
|
12958
13084
|
/**
|
|
@@ -12982,6 +13108,7 @@ function association(node) {
|
|
|
12982
13108
|
if (node.label || !node.identifier) return node.label || "";
|
|
12983
13109
|
return decodeString(node.identifier);
|
|
12984
13110
|
}
|
|
13111
|
+
|
|
12985
13112
|
//#endregion
|
|
12986
13113
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js
|
|
12987
13114
|
/**
|
|
@@ -12997,6 +13124,7 @@ function compilePattern(pattern) {
|
|
|
12997
13124
|
}
|
|
12998
13125
|
return pattern._compiled;
|
|
12999
13126
|
}
|
|
13127
|
+
|
|
13000
13128
|
//#endregion
|
|
13001
13129
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js
|
|
13002
13130
|
/**
|
|
@@ -13070,6 +13198,7 @@ function containerPhrasing(parent, state, info) {
|
|
|
13070
13198
|
indexStack.pop();
|
|
13071
13199
|
return results.join("");
|
|
13072
13200
|
}
|
|
13201
|
+
|
|
13073
13202
|
//#endregion
|
|
13074
13203
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-flow.js
|
|
13075
13204
|
/**
|
|
@@ -13125,12 +13254,13 @@ function between(left, right, parent, state) {
|
|
|
13125
13254
|
}
|
|
13126
13255
|
return "\n\n";
|
|
13127
13256
|
}
|
|
13257
|
+
|
|
13128
13258
|
//#endregion
|
|
13129
13259
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js
|
|
13130
13260
|
/**
|
|
13131
13261
|
* @import {IndentLines} from '../types.js'
|
|
13132
13262
|
*/
|
|
13133
|
-
|
|
13263
|
+
const eol = /\r?\n|\r/g;
|
|
13134
13264
|
/**
|
|
13135
13265
|
* @type {IndentLines}
|
|
13136
13266
|
*/
|
|
@@ -13156,6 +13286,7 @@ function indentLines(value, map) {
|
|
|
13156
13286
|
result.push(map(value, line, !value));
|
|
13157
13287
|
}
|
|
13158
13288
|
}
|
|
13289
|
+
|
|
13159
13290
|
//#endregion
|
|
13160
13291
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/safe.js
|
|
13161
13292
|
/**
|
|
@@ -13269,6 +13400,7 @@ function escapeBackslashes(value, after) {
|
|
|
13269
13400
|
results.push(value.slice(start));
|
|
13270
13401
|
return results.join("");
|
|
13271
13402
|
}
|
|
13403
|
+
|
|
13272
13404
|
//#endregion
|
|
13273
13405
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/track.js
|
|
13274
13406
|
/**
|
|
@@ -13327,6 +13459,7 @@ function track(config) {
|
|
|
13327
13459
|
return value;
|
|
13328
13460
|
}
|
|
13329
13461
|
}
|
|
13462
|
+
|
|
13330
13463
|
//#endregion
|
|
13331
13464
|
//#region ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/index.js
|
|
13332
13465
|
/**
|
|
@@ -13475,6 +13608,7 @@ function containerFlowBound(parent, info) {
|
|
|
13475
13608
|
function safeBound(value, config) {
|
|
13476
13609
|
return safe(this, value, config);
|
|
13477
13610
|
}
|
|
13611
|
+
|
|
13478
13612
|
//#endregion
|
|
13479
13613
|
//#region ../../node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.js
|
|
13480
13614
|
/**
|
|
@@ -13509,6 +13643,7 @@ function remarkStringify(options) {
|
|
|
13509
13643
|
});
|
|
13510
13644
|
}
|
|
13511
13645
|
}
|
|
13646
|
+
|
|
13512
13647
|
//#endregion
|
|
13513
13648
|
//#region ../../node_modules/.pnpm/bail@2.0.2/node_modules/bail/index.js
|
|
13514
13649
|
/**
|
|
@@ -13521,9 +13656,10 @@ function remarkStringify(options) {
|
|
|
13521
13656
|
function bail(error) {
|
|
13522
13657
|
if (error) throw error;
|
|
13523
13658
|
}
|
|
13659
|
+
|
|
13524
13660
|
//#endregion
|
|
13525
|
-
//#region ../../node_modules/.pnpm/
|
|
13526
|
-
var
|
|
13661
|
+
//#region ../../node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js
|
|
13662
|
+
var require_extend = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13527
13663
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
13528
13664
|
var toStr = Object.prototype.toString;
|
|
13529
13665
|
var defineProperty = Object.defineProperty;
|
|
@@ -13593,7 +13729,13 @@ var import_extend = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exp
|
|
|
13593
13729
|
}
|
|
13594
13730
|
return target;
|
|
13595
13731
|
};
|
|
13596
|
-
}))
|
|
13732
|
+
}));
|
|
13733
|
+
|
|
13734
|
+
//#endregion
|
|
13735
|
+
//#region ../../node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/default.js
|
|
13736
|
+
var import_extend = /* @__PURE__ */ __toESM(require_extend(), 1);
|
|
13737
|
+
function ok() {}
|
|
13738
|
+
|
|
13597
13739
|
//#endregion
|
|
13598
13740
|
//#region ../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js
|
|
13599
13741
|
function isPlainObject(value) {
|
|
@@ -13601,6 +13743,7 @@ function isPlainObject(value) {
|
|
|
13601
13743
|
const prototype = Object.getPrototypeOf(value);
|
|
13602
13744
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
|
13603
13745
|
}
|
|
13746
|
+
|
|
13604
13747
|
//#endregion
|
|
13605
13748
|
//#region ../../node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js
|
|
13606
13749
|
/**
|
|
@@ -13733,9 +13876,11 @@ function wrap(middleware, callback) {
|
|
|
13733
13876
|
if (fnExpectsCallback && called) throw exception;
|
|
13734
13877
|
return done(exception);
|
|
13735
13878
|
}
|
|
13736
|
-
if (!fnExpectsCallback)
|
|
13737
|
-
|
|
13738
|
-
|
|
13879
|
+
if (!fnExpectsCallback) {
|
|
13880
|
+
if (result && result.then && typeof result.then === "function") result.then(then, done);
|
|
13881
|
+
else if (result instanceof Error) done(result);
|
|
13882
|
+
else then(result);
|
|
13883
|
+
}
|
|
13739
13884
|
}
|
|
13740
13885
|
/**
|
|
13741
13886
|
* Call `callback`, only once.
|
|
@@ -13757,6 +13902,7 @@ function wrap(middleware, callback) {
|
|
|
13757
13902
|
done(null, value);
|
|
13758
13903
|
}
|
|
13759
13904
|
}
|
|
13905
|
+
|
|
13760
13906
|
//#endregion
|
|
13761
13907
|
//#region ../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.js
|
|
13762
13908
|
/**
|
|
@@ -13847,13 +13993,15 @@ var VFileMessage = class extends Error {
|
|
|
13847
13993
|
/** @type {Options} */
|
|
13848
13994
|
let options = {};
|
|
13849
13995
|
let legacyCause = false;
|
|
13850
|
-
if (optionsOrParentOrPlace)
|
|
13851
|
-
|
|
13852
|
-
|
|
13853
|
-
|
|
13854
|
-
|
|
13855
|
-
|
|
13856
|
-
|
|
13996
|
+
if (optionsOrParentOrPlace) {
|
|
13997
|
+
if ("line" in optionsOrParentOrPlace && "column" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
|
|
13998
|
+
else if ("start" in optionsOrParentOrPlace && "end" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
|
|
13999
|
+
else if ("type" in optionsOrParentOrPlace) options = {
|
|
14000
|
+
ancestors: [optionsOrParentOrPlace],
|
|
14001
|
+
place: optionsOrParentOrPlace.position
|
|
14002
|
+
};
|
|
14003
|
+
else options = { ...optionsOrParentOrPlace };
|
|
14004
|
+
}
|
|
13857
14005
|
if (typeof causeOrReason === "string") reason = causeOrReason;
|
|
13858
14006
|
else if (!options.cause && causeOrReason) {
|
|
13859
14007
|
legacyCause = true;
|
|
@@ -14002,9 +14150,10 @@ VFileMessage.prototype.fatal = void 0;
|
|
|
14002
14150
|
VFileMessage.prototype.place = void 0;
|
|
14003
14151
|
VFileMessage.prototype.ruleId = void 0;
|
|
14004
14152
|
VFileMessage.prototype.source = void 0;
|
|
14153
|
+
|
|
14005
14154
|
//#endregion
|
|
14006
14155
|
//#region ../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minpath.browser.js
|
|
14007
|
-
|
|
14156
|
+
const minpath = {
|
|
14008
14157
|
basename,
|
|
14009
14158
|
dirname,
|
|
14010
14159
|
extname,
|
|
@@ -14054,11 +14203,13 @@ function basename(path, extname) {
|
|
|
14054
14203
|
seenNonSlash = true;
|
|
14055
14204
|
firstNonSlashEnd = index + 1;
|
|
14056
14205
|
}
|
|
14057
|
-
if (extnameIndex > -1)
|
|
14058
|
-
if (
|
|
14059
|
-
|
|
14060
|
-
|
|
14061
|
-
|
|
14206
|
+
if (extnameIndex > -1) {
|
|
14207
|
+
if (path.codePointAt(index) === extname.codePointAt(extnameIndex--)) {
|
|
14208
|
+
if (extnameIndex < 0) end = index;
|
|
14209
|
+
} else {
|
|
14210
|
+
extnameIndex = -1;
|
|
14211
|
+
end = firstNonSlashEnd;
|
|
14212
|
+
}
|
|
14062
14213
|
}
|
|
14063
14214
|
}
|
|
14064
14215
|
if (start === end) end = firstNonSlashEnd;
|
|
@@ -14236,12 +14387,14 @@ function normalizeString(path, allowAboveRoot) {
|
|
|
14236
14387
|
function assertPath$1(path) {
|
|
14237
14388
|
if (typeof path !== "string") throw new TypeError("Path must be a string. Received " + JSON.stringify(path));
|
|
14238
14389
|
}
|
|
14390
|
+
|
|
14239
14391
|
//#endregion
|
|
14240
14392
|
//#region ../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minproc.browser.js
|
|
14241
|
-
|
|
14393
|
+
const minproc = { cwd };
|
|
14242
14394
|
function cwd() {
|
|
14243
14395
|
return "/";
|
|
14244
14396
|
}
|
|
14397
|
+
|
|
14245
14398
|
//#endregion
|
|
14246
14399
|
//#region ../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.shared.js
|
|
14247
14400
|
/**
|
|
@@ -14265,6 +14418,7 @@ function cwd() {
|
|
|
14265
14418
|
function isUrl(fileUrlOrPath) {
|
|
14266
14419
|
return Boolean(fileUrlOrPath !== null && typeof fileUrlOrPath === "object" && "href" in fileUrlOrPath && fileUrlOrPath.href && "protocol" in fileUrlOrPath && fileUrlOrPath.protocol && fileUrlOrPath.auth === void 0);
|
|
14267
14420
|
}
|
|
14421
|
+
|
|
14268
14422
|
//#endregion
|
|
14269
14423
|
//#region ../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.browser.js
|
|
14270
14424
|
/**
|
|
@@ -14317,6 +14471,7 @@ function getPathFromURLPosix(url) {
|
|
|
14317
14471
|
}
|
|
14318
14472
|
return decodeURIComponent(pathname);
|
|
14319
14473
|
}
|
|
14474
|
+
|
|
14320
14475
|
//#endregion
|
|
14321
14476
|
//#region ../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.js
|
|
14322
14477
|
/**
|
|
@@ -14332,7 +14487,7 @@ function getPathFromURLPosix(url) {
|
|
|
14332
14487
|
* `{stem: 'a', path: '~/b.js'}` would throw, as a path is needed before a
|
|
14333
14488
|
* stem can be set.
|
|
14334
14489
|
*/
|
|
14335
|
-
|
|
14490
|
+
const order = [
|
|
14336
14491
|
"history",
|
|
14337
14492
|
"path",
|
|
14338
14493
|
"basename",
|
|
@@ -14836,9 +14991,10 @@ function assertPath(path, name) {
|
|
|
14836
14991
|
function isUint8Array$1(value) {
|
|
14837
14992
|
return Boolean(value && typeof value === "object" && "byteLength" in value && "byteOffset" in value);
|
|
14838
14993
|
}
|
|
14994
|
+
|
|
14839
14995
|
//#endregion
|
|
14840
14996
|
//#region ../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.js
|
|
14841
|
-
|
|
14997
|
+
const CallableInstance = (
|
|
14842
14998
|
/**
|
|
14843
14999
|
* @this {Function}
|
|
14844
15000
|
* @param {string | symbol} property
|
|
@@ -14854,6 +15010,7 @@ function(property) {
|
|
|
14854
15010
|
Object.setPrototypeOf(apply, proto);
|
|
14855
15011
|
return apply;
|
|
14856
15012
|
});
|
|
15013
|
+
|
|
14857
15014
|
//#endregion
|
|
14858
15015
|
//#region ../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js
|
|
14859
15016
|
/**
|
|
@@ -15187,34 +15344,21 @@ function(property) {
|
|
|
15187
15344
|
* If a result that is not acceptable on a `VFile` is used, that will
|
|
15188
15345
|
* be stored on the `result` field of {@linkcode VFile}.
|
|
15189
15346
|
*/
|
|
15190
|
-
|
|
15347
|
+
const own = {}.hasOwnProperty;
|
|
15191
15348
|
/**
|
|
15192
|
-
*
|
|
15193
|
-
*
|
|
15194
|
-
* @
|
|
15195
|
-
*
|
|
15196
|
-
*
|
|
15197
|
-
*
|
|
15198
|
-
*
|
|
15199
|
-
*
|
|
15200
|
-
*
|
|
15201
|
-
*
|
|
15202
|
-
*
|
|
15203
|
-
* process.stdin.pipe(
|
|
15204
|
-
* concatStream(function (buf) {
|
|
15205
|
-
* process.stdout.write(String(remark().processSync(buf)))
|
|
15206
|
-
* })
|
|
15207
|
-
* )
|
|
15208
|
-
* ```
|
|
15209
|
-
*
|
|
15210
|
-
* @returns
|
|
15211
|
-
* New *unfrozen* processor (`processor`).
|
|
15212
|
-
*
|
|
15213
|
-
* This processor is configured to work the same as its ancestor.
|
|
15214
|
-
* When the descendant processor is configured in the future it does not
|
|
15215
|
-
* affect the ancestral processor.
|
|
15349
|
+
* @template {Node | undefined} [ParseTree=undefined]
|
|
15350
|
+
* Output of `parse` (optional).
|
|
15351
|
+
* @template {Node | undefined} [HeadTree=undefined]
|
|
15352
|
+
* Input for `run` (optional).
|
|
15353
|
+
* @template {Node | undefined} [TailTree=undefined]
|
|
15354
|
+
* Output for `run` (optional).
|
|
15355
|
+
* @template {Node | undefined} [CompileTree=undefined]
|
|
15356
|
+
* Input of `stringify` (optional).
|
|
15357
|
+
* @template {CompileResults | undefined} [CompileResult=undefined]
|
|
15358
|
+
* Output of `stringify` (optional).
|
|
15359
|
+
* @extends {CallableInstance<[], Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>>}
|
|
15216
15360
|
*/
|
|
15217
|
-
var
|
|
15361
|
+
var Processor = class Processor extends CallableInstance {
|
|
15218
15362
|
/**
|
|
15219
15363
|
* Create a processor.
|
|
15220
15364
|
*/
|
|
@@ -15527,7 +15671,10 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15527
15671
|
function realDone(error, file) {
|
|
15528
15672
|
if (error || !file) reject(error);
|
|
15529
15673
|
else if (resolve) resolve(file);
|
|
15530
|
-
else
|
|
15674
|
+
else {
|
|
15675
|
+
/* @__PURE__ */ ok(done, "`done` is defined if `resolve` is not");
|
|
15676
|
+
done(void 0, file);
|
|
15677
|
+
}
|
|
15531
15678
|
}
|
|
15532
15679
|
}
|
|
15533
15680
|
}
|
|
@@ -15572,6 +15719,7 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15572
15719
|
assertCompiler("processSync", this.compiler || this.Compiler);
|
|
15573
15720
|
this.process(file, realDone);
|
|
15574
15721
|
assertDone("processSync", "process", complete);
|
|
15722
|
+
/* @__PURE__ */ ok(result, "we either bailed on an error or have a tree");
|
|
15575
15723
|
return result;
|
|
15576
15724
|
/**
|
|
15577
15725
|
* @type {ProcessCallback<VFileWithOutput<CompileResult>>}
|
|
@@ -15638,6 +15786,7 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15638
15786
|
* @returns {undefined}
|
|
15639
15787
|
*/
|
|
15640
15788
|
function executor(resolve, reject) {
|
|
15789
|
+
/* @__PURE__ */ ok(typeof file !== "function", "`file` can’t be a `done` anymore, we checked");
|
|
15641
15790
|
const realFile = vfile(file);
|
|
15642
15791
|
transformers.run(tree, realFile, realDone);
|
|
15643
15792
|
/**
|
|
@@ -15650,7 +15799,10 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15650
15799
|
const resultingTree = outputTree || tree;
|
|
15651
15800
|
if (error) reject(error);
|
|
15652
15801
|
else if (resolve) resolve(resultingTree);
|
|
15653
|
-
else
|
|
15802
|
+
else {
|
|
15803
|
+
/* @__PURE__ */ ok(done, "`done` is defined if `resolve` is not");
|
|
15804
|
+
done(void 0, resultingTree, file);
|
|
15805
|
+
}
|
|
15654
15806
|
}
|
|
15655
15807
|
}
|
|
15656
15808
|
}
|
|
@@ -15678,6 +15830,7 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15678
15830
|
let result;
|
|
15679
15831
|
this.run(tree, file, realDone);
|
|
15680
15832
|
assertDone("runSync", "run", complete);
|
|
15833
|
+
/* @__PURE__ */ ok(result, "we either bailed on an error or have a tree");
|
|
15681
15834
|
return result;
|
|
15682
15835
|
/**
|
|
15683
15836
|
* @type {RunCallback<TailTree extends undefined ? Node : TailTree>}
|
|
@@ -15787,9 +15940,10 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15787
15940
|
const namespace = this.namespace;
|
|
15788
15941
|
assertUnfrozen("use", this.frozen);
|
|
15789
15942
|
if (value === null || value === void 0) {} else if (typeof value === "function") addPlugin(value, parameters);
|
|
15790
|
-
else if (typeof value === "object")
|
|
15791
|
-
|
|
15792
|
-
|
|
15943
|
+
else if (typeof value === "object") {
|
|
15944
|
+
if (Array.isArray(value)) addList(value);
|
|
15945
|
+
else addPreset(value);
|
|
15946
|
+
} else throw new TypeError("Expected usable value, not `" + value + "`");
|
|
15793
15947
|
return this;
|
|
15794
15948
|
/**
|
|
15795
15949
|
* @param {Pluggable} value
|
|
@@ -15797,11 +15951,12 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15797
15951
|
*/
|
|
15798
15952
|
function add(value) {
|
|
15799
15953
|
if (typeof value === "function") addPlugin(value, []);
|
|
15800
|
-
else if (typeof value === "object")
|
|
15801
|
-
|
|
15802
|
-
|
|
15803
|
-
|
|
15804
|
-
|
|
15954
|
+
else if (typeof value === "object") {
|
|
15955
|
+
if (Array.isArray(value)) {
|
|
15956
|
+
const [plugin, ...parameters] = value;
|
|
15957
|
+
addPlugin(plugin, parameters);
|
|
15958
|
+
} else addPreset(value);
|
|
15959
|
+
} else throw new TypeError("Expected usable value, not `" + value + "`");
|
|
15805
15960
|
}
|
|
15806
15961
|
/**
|
|
15807
15962
|
* @param {Preset} result
|
|
@@ -15849,7 +16004,34 @@ var unified = new class Processor extends CallableInstance {
|
|
|
15849
16004
|
}
|
|
15850
16005
|
}
|
|
15851
16006
|
}
|
|
15852
|
-
}
|
|
16007
|
+
};
|
|
16008
|
+
/**
|
|
16009
|
+
* Create a new processor.
|
|
16010
|
+
*
|
|
16011
|
+
* @example
|
|
16012
|
+
* This example shows how a new processor can be created (from `remark`) and linked
|
|
16013
|
+
* to **stdin**(4) and **stdout**(4).
|
|
16014
|
+
*
|
|
16015
|
+
* ```js
|
|
16016
|
+
* import process from 'node:process'
|
|
16017
|
+
* import concatStream from 'concat-stream'
|
|
16018
|
+
* import {remark} from 'remark'
|
|
16019
|
+
*
|
|
16020
|
+
* process.stdin.pipe(
|
|
16021
|
+
* concatStream(function (buf) {
|
|
16022
|
+
* process.stdout.write(String(remark().processSync(buf)))
|
|
16023
|
+
* })
|
|
16024
|
+
* )
|
|
16025
|
+
* ```
|
|
16026
|
+
*
|
|
16027
|
+
* @returns
|
|
16028
|
+
* New *unfrozen* processor (`processor`).
|
|
16029
|
+
*
|
|
16030
|
+
* This processor is configured to work the same as its ancestor.
|
|
16031
|
+
* When the descendant processor is configured in the future it does not
|
|
16032
|
+
* affect the ancestral processor.
|
|
16033
|
+
*/
|
|
16034
|
+
const unified = new Processor().freeze();
|
|
15853
16035
|
/**
|
|
15854
16036
|
* Assert a parser is available.
|
|
15855
16037
|
*
|
|
@@ -15932,13 +16114,15 @@ function looksLikeAValue(value) {
|
|
|
15932
16114
|
function isUint8Array(value) {
|
|
15933
16115
|
return Boolean(value && typeof value === "object" && "byteLength" in value && "byteOffset" in value);
|
|
15934
16116
|
}
|
|
16117
|
+
|
|
15935
16118
|
//#endregion
|
|
15936
16119
|
//#region ../../node_modules/.pnpm/remark@15.0.1/node_modules/remark/index.js
|
|
15937
16120
|
/**
|
|
15938
16121
|
* Create a new unified processor that already uses `remark-parse` and
|
|
15939
16122
|
* `remark-stringify`.
|
|
15940
16123
|
*/
|
|
15941
|
-
|
|
16124
|
+
const remark = unified().use(remarkParse).use(remarkStringify).freeze();
|
|
16125
|
+
|
|
15942
16126
|
//#endregion
|
|
15943
16127
|
//#region ../../node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js
|
|
15944
16128
|
/**
|
|
@@ -15962,12 +16146,14 @@ function ccount(value, character) {
|
|
|
15962
16146
|
}
|
|
15963
16147
|
return count;
|
|
15964
16148
|
}
|
|
16149
|
+
|
|
15965
16150
|
//#endregion
|
|
15966
16151
|
//#region ../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js
|
|
15967
16152
|
function escapeStringRegexp(string) {
|
|
15968
16153
|
if (typeof string !== "string") throw new TypeError("Expected a string");
|
|
15969
16154
|
return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
15970
16155
|
}
|
|
16156
|
+
|
|
15971
16157
|
//#endregion
|
|
15972
16158
|
//#region ../../node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.js
|
|
15973
16159
|
/**
|
|
@@ -16163,6 +16349,7 @@ function toFunction(replace) {
|
|
|
16163
16349
|
return replace;
|
|
16164
16350
|
};
|
|
16165
16351
|
}
|
|
16352
|
+
|
|
16166
16353
|
//#endregion
|
|
16167
16354
|
//#region ../../node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
16168
16355
|
/**
|
|
@@ -16172,9 +16359,9 @@ function toFunction(replace) {
|
|
|
16172
16359
|
* @import {Link, PhrasingContent} from 'mdast'
|
|
16173
16360
|
*/
|
|
16174
16361
|
/** @type {ConstructName} */
|
|
16175
|
-
|
|
16362
|
+
const inConstruct = "phrasing";
|
|
16176
16363
|
/** @type {Array<ConstructName>} */
|
|
16177
|
-
|
|
16364
|
+
const notInConstruct = [
|
|
16178
16365
|
"autolink",
|
|
16179
16366
|
"link",
|
|
16180
16367
|
"image",
|
|
@@ -16269,7 +16456,7 @@ function exitLiteralAutolinkHttp(token) {
|
|
|
16269
16456
|
function exitLiteralAutolinkWww(token) {
|
|
16270
16457
|
this.config.exit.data.call(this, token);
|
|
16271
16458
|
const node = this.stack[this.stack.length - 1];
|
|
16272
|
-
node.type;
|
|
16459
|
+
/* @__PURE__ */ ok(node.type === "link");
|
|
16273
16460
|
node.url = "http://" + this.sliceSerialize(token);
|
|
16274
16461
|
}
|
|
16275
16462
|
/**
|
|
@@ -16384,6 +16571,7 @@ function previous(match, email) {
|
|
|
16384
16571
|
const code = match.input.charCodeAt(match.index - 1);
|
|
16385
16572
|
return (match.index === 0 || unicodeWhitespace(code) || unicodePunctuation(code)) && (!email || code !== 47);
|
|
16386
16573
|
}
|
|
16574
|
+
|
|
16387
16575
|
//#endregion
|
|
16388
16576
|
//#region ../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
16389
16577
|
/**
|
|
@@ -16445,7 +16633,7 @@ function enterFootnoteDefinition(token) {
|
|
|
16445
16633
|
function exitFootnoteCallString(token) {
|
|
16446
16634
|
const label = this.resume();
|
|
16447
16635
|
const node = this.stack[this.stack.length - 1];
|
|
16448
|
-
node.type;
|
|
16636
|
+
/* @__PURE__ */ ok(node.type === "footnoteReference");
|
|
16449
16637
|
node.identifier = normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();
|
|
16450
16638
|
node.label = label;
|
|
16451
16639
|
}
|
|
@@ -16463,7 +16651,7 @@ function exitFootnoteCall(token) {
|
|
|
16463
16651
|
function exitFootnoteDefinitionLabelString(token) {
|
|
16464
16652
|
const label = this.resume();
|
|
16465
16653
|
const node = this.stack[this.stack.length - 1];
|
|
16466
|
-
node.type;
|
|
16654
|
+
/* @__PURE__ */ ok(node.type === "footnoteDefinition");
|
|
16467
16655
|
node.identifier = normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();
|
|
16468
16656
|
node.label = label;
|
|
16469
16657
|
}
|
|
@@ -16576,6 +16764,7 @@ function mapExceptFirst(line, index, blank) {
|
|
|
16576
16764
|
function mapAll(line, index, blank) {
|
|
16577
16765
|
return (blank ? "" : " ") + line;
|
|
16578
16766
|
}
|
|
16767
|
+
|
|
16579
16768
|
//#endregion
|
|
16580
16769
|
//#region ../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
16581
16770
|
/**
|
|
@@ -16599,7 +16788,7 @@ function mapAll(line, index, blank) {
|
|
|
16599
16788
|
*
|
|
16600
16789
|
* @type {Array<ConstructName>}
|
|
16601
16790
|
*/
|
|
16602
|
-
|
|
16791
|
+
const constructsWithoutStrikethrough = [
|
|
16603
16792
|
"autolink",
|
|
16604
16793
|
"destinationLiteral",
|
|
16605
16794
|
"destinationRaw",
|
|
@@ -16677,6 +16866,7 @@ function handleDelete(node, _, state, info) {
|
|
|
16677
16866
|
function peekDelete() {
|
|
16678
16867
|
return "~";
|
|
16679
16868
|
}
|
|
16869
|
+
|
|
16680
16870
|
//#endregion
|
|
16681
16871
|
//#region ../../node_modules/.pnpm/markdown-table@3.0.4/node_modules/markdown-table/index.js
|
|
16682
16872
|
/**
|
|
@@ -16925,14 +17115,15 @@ function markdownTable(table, options) {
|
|
|
16925
17115
|
const size = longestCellByColumn[columnIndex] - (sizes[columnIndex] || 0);
|
|
16926
17116
|
const code = alignments[columnIndex];
|
|
16927
17117
|
if (code === 114) before = " ".repeat(size);
|
|
16928
|
-
else if (code === 99)
|
|
16929
|
-
|
|
16930
|
-
|
|
16931
|
-
|
|
16932
|
-
|
|
16933
|
-
|
|
16934
|
-
|
|
16935
|
-
|
|
17118
|
+
else if (code === 99) {
|
|
17119
|
+
if (size % 2) {
|
|
17120
|
+
before = " ".repeat(size / 2 + .5);
|
|
17121
|
+
after = " ".repeat(size / 2 - .5);
|
|
17122
|
+
} else {
|
|
17123
|
+
before = " ".repeat(size / 2);
|
|
17124
|
+
after = before;
|
|
17125
|
+
}
|
|
17126
|
+
} else after = " ".repeat(size);
|
|
16936
17127
|
}
|
|
16937
17128
|
if (settings.delimiterStart !== false && !columnIndex) line.push("|");
|
|
16938
17129
|
if (settings.padding !== false && !(settings.alignDelimiters === false && cell === "") && (settings.delimiterStart !== false || columnIndex)) line.push(" ");
|
|
@@ -16965,6 +17156,7 @@ function toAlignment(value) {
|
|
|
16965
17156
|
const code = typeof value === "string" ? value.codePointAt(0) : 0;
|
|
16966
17157
|
return code === 67 || code === 99 ? 99 : code === 76 || code === 108 ? 108 : code === 82 || code === 114 ? 114 : 0;
|
|
16967
17158
|
}
|
|
17159
|
+
|
|
16968
17160
|
//#endregion
|
|
16969
17161
|
//#region ../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js
|
|
16970
17162
|
/**
|
|
@@ -17026,6 +17218,7 @@ function gfmTableFromMarkdown() {
|
|
|
17026
17218
|
*/
|
|
17027
17219
|
function enterTable(token) {
|
|
17028
17220
|
const align = token._align;
|
|
17221
|
+
/* @__PURE__ */ ok(align, "expected `_align` on table");
|
|
17029
17222
|
this.enter({
|
|
17030
17223
|
type: "table",
|
|
17031
17224
|
align: align.map(function(d) {
|
|
@@ -17078,7 +17271,7 @@ function exitCodeText(token) {
|
|
|
17078
17271
|
let value = this.resume();
|
|
17079
17272
|
if (this.data.inTable) value = value.replace(/\\([\\|])/g, replace);
|
|
17080
17273
|
const node = this.stack[this.stack.length - 1];
|
|
17081
|
-
node.type;
|
|
17274
|
+
/* @__PURE__ */ ok(node.type === "inlineCode");
|
|
17082
17275
|
node.value = value;
|
|
17083
17276
|
this.exit(token);
|
|
17084
17277
|
}
|
|
@@ -17229,6 +17422,7 @@ function gfmTableToMarkdown(options) {
|
|
|
17229
17422
|
return value;
|
|
17230
17423
|
}
|
|
17231
17424
|
}
|
|
17425
|
+
|
|
17232
17426
|
//#endregion
|
|
17233
17427
|
//#region ../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
17234
17428
|
/**
|
|
@@ -17277,7 +17471,7 @@ function gfmTaskListItemToMarkdown() {
|
|
|
17277
17471
|
*/
|
|
17278
17472
|
function exitCheck(token) {
|
|
17279
17473
|
const node = this.stack[this.stack.length - 2];
|
|
17280
|
-
node.type;
|
|
17474
|
+
/* @__PURE__ */ ok(node.type === "listItem");
|
|
17281
17475
|
node.checked = token.type === "taskListCheckValueChecked";
|
|
17282
17476
|
}
|
|
17283
17477
|
/**
|
|
@@ -17288,7 +17482,7 @@ function exitParagraphWithTaskListItem(token) {
|
|
|
17288
17482
|
const parent = this.stack[this.stack.length - 2];
|
|
17289
17483
|
if (parent && parent.type === "listItem" && typeof parent.checked === "boolean") {
|
|
17290
17484
|
const node = this.stack[this.stack.length - 1];
|
|
17291
|
-
node.type;
|
|
17485
|
+
/* @__PURE__ */ ok(node.type === "paragraph");
|
|
17292
17486
|
const head = node.children[0];
|
|
17293
17487
|
if (head && head.type === "text") {
|
|
17294
17488
|
const siblings = parent.children;
|
|
@@ -17339,6 +17533,7 @@ function listItemWithTaskListItem(node, parent, state, info) {
|
|
|
17339
17533
|
return $0 + checkbox;
|
|
17340
17534
|
}
|
|
17341
17535
|
}
|
|
17536
|
+
|
|
17342
17537
|
//#endregion
|
|
17343
17538
|
//#region ../../node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js
|
|
17344
17539
|
/**
|
|
@@ -17382,48 +17577,49 @@ function gfmToMarkdown(options) {
|
|
|
17382
17577
|
gfmTaskListItemToMarkdown()
|
|
17383
17578
|
] };
|
|
17384
17579
|
}
|
|
17580
|
+
|
|
17385
17581
|
//#endregion
|
|
17386
17582
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
|
|
17387
17583
|
/**
|
|
17388
17584
|
* @import {Code, ConstructRecord, Event, Extension, Previous, State, TokenizeContext, Tokenizer} from 'micromark-util-types'
|
|
17389
17585
|
*/
|
|
17390
|
-
|
|
17586
|
+
const wwwPrefix = {
|
|
17391
17587
|
tokenize: tokenizeWwwPrefix,
|
|
17392
17588
|
partial: true
|
|
17393
17589
|
};
|
|
17394
|
-
|
|
17590
|
+
const domain = {
|
|
17395
17591
|
tokenize: tokenizeDomain,
|
|
17396
17592
|
partial: true
|
|
17397
17593
|
};
|
|
17398
|
-
|
|
17594
|
+
const path = {
|
|
17399
17595
|
tokenize: tokenizePath,
|
|
17400
17596
|
partial: true
|
|
17401
17597
|
};
|
|
17402
|
-
|
|
17598
|
+
const trail = {
|
|
17403
17599
|
tokenize: tokenizeTrail,
|
|
17404
17600
|
partial: true
|
|
17405
17601
|
};
|
|
17406
|
-
|
|
17602
|
+
const emailDomainDotTrail = {
|
|
17407
17603
|
tokenize: tokenizeEmailDomainDotTrail,
|
|
17408
17604
|
partial: true
|
|
17409
17605
|
};
|
|
17410
|
-
|
|
17606
|
+
const wwwAutolink = {
|
|
17411
17607
|
name: "wwwAutolink",
|
|
17412
17608
|
tokenize: tokenizeWwwAutolink,
|
|
17413
17609
|
previous: previousWww
|
|
17414
17610
|
};
|
|
17415
|
-
|
|
17611
|
+
const protocolAutolink = {
|
|
17416
17612
|
name: "protocolAutolink",
|
|
17417
17613
|
tokenize: tokenizeProtocolAutolink,
|
|
17418
17614
|
previous: previousProtocol
|
|
17419
17615
|
};
|
|
17420
|
-
|
|
17616
|
+
const emailAutolink = {
|
|
17421
17617
|
name: "emailAutolink",
|
|
17422
17618
|
tokenize: tokenizeEmailAutolink,
|
|
17423
17619
|
previous: previousEmail
|
|
17424
17620
|
};
|
|
17425
17621
|
/** @type {ConstructRecord} */
|
|
17426
|
-
|
|
17622
|
+
const text = {};
|
|
17427
17623
|
/**
|
|
17428
17624
|
* Create an extension for `micromark` to support GitHub autolink literal
|
|
17429
17625
|
* syntax.
|
|
@@ -17436,7 +17632,7 @@ function gfmAutolinkLiteral() {
|
|
|
17436
17632
|
return { text };
|
|
17437
17633
|
}
|
|
17438
17634
|
/** @type {Code} */
|
|
17439
|
-
|
|
17635
|
+
let code = 48;
|
|
17440
17636
|
while (code < 123) {
|
|
17441
17637
|
text[code] = emailAutolink;
|
|
17442
17638
|
code++;
|
|
@@ -18083,12 +18279,13 @@ function previousUnbalanced(events) {
|
|
|
18083
18279
|
if (events.length > 0 && !result) events[events.length - 1][1]._gfmAutolinkLiteralWalkedInto = true;
|
|
18084
18280
|
return result;
|
|
18085
18281
|
}
|
|
18282
|
+
|
|
18086
18283
|
//#endregion
|
|
18087
18284
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/lib/syntax.js
|
|
18088
18285
|
/**
|
|
18089
18286
|
* @import {Event, Exiter, Extension, Resolver, State, Token, TokenizeContext, Tokenizer} from 'micromark-util-types'
|
|
18090
18287
|
*/
|
|
18091
|
-
|
|
18288
|
+
const indent = {
|
|
18092
18289
|
tokenize: tokenizeIndent,
|
|
18093
18290
|
partial: true
|
|
18094
18291
|
};
|
|
@@ -18502,6 +18699,7 @@ function tokenizeIndent(effects, ok, nok) {
|
|
|
18502
18699
|
return tail && tail[1].type === "gfmFootnoteDefinitionIndent" && tail[2].sliceSerialize(tail[1], true).length === 4 ? ok(code) : nok(code);
|
|
18503
18700
|
}
|
|
18504
18701
|
}
|
|
18702
|
+
|
|
18505
18703
|
//#endregion
|
|
18506
18704
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
|
|
18507
18705
|
/**
|
|
@@ -18643,6 +18841,7 @@ function gfmStrikethrough(options) {
|
|
|
18643
18841
|
}
|
|
18644
18842
|
}
|
|
18645
18843
|
}
|
|
18844
|
+
|
|
18646
18845
|
//#endregion
|
|
18647
18846
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
18648
18847
|
/**
|
|
@@ -18735,6 +18934,7 @@ function addImplementation(editMap, at, remove, add) {
|
|
|
18735
18934
|
add
|
|
18736
18935
|
]);
|
|
18737
18936
|
}
|
|
18937
|
+
|
|
18738
18938
|
//#endregion
|
|
18739
18939
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
18740
18940
|
/**
|
|
@@ -18773,6 +18973,7 @@ function gfmTableAlign(events, index) {
|
|
|
18773
18973
|
}
|
|
18774
18974
|
return align;
|
|
18775
18975
|
}
|
|
18976
|
+
|
|
18776
18977
|
//#endregion
|
|
18777
18978
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
18778
18979
|
/**
|
|
@@ -19317,19 +19518,21 @@ function resolveTable(events, context) {
|
|
|
19317
19518
|
}
|
|
19318
19519
|
cell[2] = index;
|
|
19319
19520
|
}
|
|
19320
|
-
} else if (token.type === "tableCellDivider")
|
|
19321
|
-
|
|
19322
|
-
|
|
19323
|
-
|
|
19324
|
-
|
|
19521
|
+
} else if (token.type === "tableCellDivider") {
|
|
19522
|
+
if (inFirstCellAwaitingPipe) inFirstCellAwaitingPipe = false;
|
|
19523
|
+
else {
|
|
19524
|
+
if (lastCell[1] !== 0) {
|
|
19525
|
+
cell[0] = cell[1];
|
|
19526
|
+
currentCell = flushCell(map, context, lastCell, rowKind, void 0, currentCell);
|
|
19527
|
+
}
|
|
19528
|
+
lastCell = cell;
|
|
19529
|
+
cell = [
|
|
19530
|
+
lastCell[1],
|
|
19531
|
+
index,
|
|
19532
|
+
0,
|
|
19533
|
+
0
|
|
19534
|
+
];
|
|
19325
19535
|
}
|
|
19326
|
-
lastCell = cell;
|
|
19327
|
-
cell = [
|
|
19328
|
-
lastCell[1],
|
|
19329
|
-
index,
|
|
19330
|
-
0,
|
|
19331
|
-
0
|
|
19332
|
-
];
|
|
19333
19536
|
}
|
|
19334
19537
|
} else if (token.type === "tableHead") {
|
|
19335
19538
|
afterHeadAwaitingFirstBodyRow = true;
|
|
@@ -19467,12 +19670,13 @@ function getPoint(events, index) {
|
|
|
19467
19670
|
const side = event[0] === "enter" ? "start" : "end";
|
|
19468
19671
|
return event[1][side];
|
|
19469
19672
|
}
|
|
19673
|
+
|
|
19470
19674
|
//#endregion
|
|
19471
19675
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
|
|
19472
19676
|
/**
|
|
19473
19677
|
* @import {Extension, State, TokenizeContext, Tokenizer} from 'micromark-util-types'
|
|
19474
19678
|
*/
|
|
19475
|
-
|
|
19679
|
+
const tasklistCheck = {
|
|
19476
19680
|
name: "tasklistCheck",
|
|
19477
19681
|
tokenize: tokenizeTasklistCheck
|
|
19478
19682
|
};
|
|
@@ -19586,6 +19790,7 @@ function spaceThenNonSpace(effects, ok, nok) {
|
|
|
19586
19790
|
return code === null ? nok(code) : ok(code);
|
|
19587
19791
|
}
|
|
19588
19792
|
}
|
|
19793
|
+
|
|
19589
19794
|
//#endregion
|
|
19590
19795
|
//#region ../../node_modules/.pnpm/micromark-extension-gfm@3.0.0/node_modules/micromark-extension-gfm/index.js
|
|
19591
19796
|
/**
|
|
@@ -19614,6 +19819,7 @@ function gfm(options) {
|
|
|
19614
19819
|
gfmTaskListItem()
|
|
19615
19820
|
]);
|
|
19616
19821
|
}
|
|
19822
|
+
|
|
19617
19823
|
//#endregion
|
|
19618
19824
|
//#region ../../node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js
|
|
19619
19825
|
/**
|
|
@@ -19624,7 +19830,7 @@ function gfm(options) {
|
|
|
19624
19830
|
* @import {Processor} from 'unified'
|
|
19625
19831
|
*/
|
|
19626
19832
|
/** @type {Options} */
|
|
19627
|
-
|
|
19833
|
+
const emptyOptions = {};
|
|
19628
19834
|
/**
|
|
19629
19835
|
* Add support GFM (autolink literals, footnotes, strikethrough, tables,
|
|
19630
19836
|
* tasklists).
|
|
@@ -19645,6 +19851,7 @@ function remarkGfm(options) {
|
|
|
19645
19851
|
fromMarkdownExtensions.push(gfmFromMarkdown());
|
|
19646
19852
|
toMarkdownExtensions.push(gfmToMarkdown(settings));
|
|
19647
19853
|
}
|
|
19854
|
+
|
|
19648
19855
|
//#endregion
|
|
19649
19856
|
//#region src/export/sentinel.ts
|
|
19650
19857
|
/**
|
|
@@ -19670,11 +19877,11 @@ function remarkGfm(options) {
|
|
|
19670
19877
|
* rewrites, so the payload arrives byte-identical.
|
|
19671
19878
|
*/
|
|
19672
19879
|
/** U+E000 — opens a directive token. */
|
|
19673
|
-
|
|
19880
|
+
const OPEN = "";
|
|
19674
19881
|
/** U+E001 — closes a directive token. */
|
|
19675
|
-
|
|
19882
|
+
const CLOSE = "";
|
|
19676
19883
|
/** Matches one complete token, capturing its base64 payload. */
|
|
19677
|
-
|
|
19884
|
+
const TOKEN_RE = /\uE000([^\uE000\uE001]*)\uE001/g;
|
|
19678
19885
|
/** UTF-8 safe base64 encode (`btoa` is byte-oriented, so encode to bytes first). */
|
|
19679
19886
|
function toBase64(text) {
|
|
19680
19887
|
const bytes = new TextEncoder().encode(text);
|
|
@@ -19736,7 +19943,7 @@ function stripDirectives(text) {
|
|
|
19736
19943
|
* asterisks. CommonMark unescapes any backslashed ASCII punctuation, so remark
|
|
19737
19944
|
* hands the original characters back.
|
|
19738
19945
|
*/
|
|
19739
|
-
|
|
19946
|
+
const CELL_ESCAPE_RE = /[\\`*_[\]<>~|]/g;
|
|
19740
19947
|
/**
|
|
19741
19948
|
* Escape a value for safe interpolation into a GFM **table cell**. Directive
|
|
19742
19949
|
* tokens are skipped — they are base64 and must arrive byte-identical.
|
|
@@ -19753,6 +19960,7 @@ function escapeCellText(text) {
|
|
|
19753
19960
|
}
|
|
19754
19961
|
return out + escape(text.slice(index));
|
|
19755
19962
|
}
|
|
19963
|
+
|
|
19756
19964
|
//#endregion
|
|
19757
19965
|
//#region src/export/markdown.ts
|
|
19758
19966
|
/**
|
|
@@ -19763,11 +19971,11 @@ function escapeCellText(text) {
|
|
|
19763
19971
|
* One processor for the whole module. `.parse()` is stateless, and building a
|
|
19764
19972
|
* remark pipeline is not free — the old code built a fresh one on every call.
|
|
19765
19973
|
*/
|
|
19766
|
-
|
|
19974
|
+
const processor = remark().use(remarkGfm);
|
|
19767
19975
|
/** A table row: up to three leading spaces, then a pipe. */
|
|
19768
|
-
|
|
19976
|
+
const TABLE_ROW_RE = /^ {0,3}\|/;
|
|
19769
19977
|
/** The delimiter row under a table's header (`| --- | ---: |`). */
|
|
19770
|
-
|
|
19978
|
+
const DELIMITER_RE = /^ {0,3}\|?(?: *:?-+:? *\|)+ *:?-+:? *\|? *$/;
|
|
19771
19979
|
/**
|
|
19772
19980
|
* Characters that make a cell worth handing to the real inline parser.
|
|
19773
19981
|
*
|
|
@@ -19776,7 +19984,7 @@ var DELIMITER_RE = /^ {0,3}\|?(?: *:?-+:? *\|)+ *:?-+:? *\|? *$/;
|
|
|
19776
19984
|
* here: they are extracted downstream by `flattenInline`, straight off a plain
|
|
19777
19985
|
* text node's value.
|
|
19778
19986
|
*/
|
|
19779
|
-
|
|
19987
|
+
const INLINE_SYNTAX_RE = /[\\`*_[\]<>~&]/;
|
|
19780
19988
|
/**
|
|
19781
19989
|
* Parse rendered Markdown into an mdast tree, with GFM tables enabled.
|
|
19782
19990
|
*
|
|
@@ -19978,13 +20186,14 @@ function walkInline(nodes, acc) {
|
|
|
19978
20186
|
function unescapeMarkdown(text) {
|
|
19979
20187
|
return text.replace(/\\([\\`*_[\]<>~|])/g, "$1").replace(/<br\s*\/?>/gi, "\n");
|
|
19980
20188
|
}
|
|
20189
|
+
|
|
19981
20190
|
//#endregion
|
|
19982
20191
|
//#region src/export/styles.ts
|
|
19983
20192
|
/**
|
|
19984
20193
|
* Built-in styles. Consumers override individual keys via `options.styles`
|
|
19985
20194
|
* without having to redefine a whole style.
|
|
19986
20195
|
*/
|
|
19987
|
-
|
|
20196
|
+
const DEFAULT_STYLES = {
|
|
19988
20197
|
title: {
|
|
19989
20198
|
bold: true,
|
|
19990
20199
|
size: 16,
|
|
@@ -20096,7 +20305,7 @@ function toArgb(color) {
|
|
|
20096
20305
|
if (hex.length === 6) hex = `FF${hex}`;
|
|
20097
20306
|
return /^[0-9a-fA-F]{8}$/.test(hex) ? hex.toUpperCase() : void 0;
|
|
20098
20307
|
}
|
|
20099
|
-
|
|
20308
|
+
const VALIGN = {
|
|
20100
20309
|
top: "top",
|
|
20101
20310
|
middle: "middle",
|
|
20102
20311
|
bottom: "bottom"
|
|
@@ -20142,5 +20351,6 @@ function toExcelStyle(style) {
|
|
|
20142
20351
|
if (style.numFmt) out.numFmt = style.numFmt;
|
|
20143
20352
|
return out;
|
|
20144
20353
|
}
|
|
20354
|
+
|
|
20145
20355
|
//#endregion
|
|
20146
|
-
export { flattenInline as a, escapeCellText as c, __toESM as d, toExcelStyle as i, stripDirectives as l, combineStyles as n, parseMarkdown as o, mergeStyles as r, encodeDirective as s, DEFAULT_STYLES as t, __commonJSMin as u };
|
|
20356
|
+
export { flattenInline as a, escapeCellText as c, __toESM as d, toExcelStyle as i, stripDirectives as l, combineStyles as n, parseMarkdown as o, mergeStyles as r, encodeDirective as s, DEFAULT_STYLES as t, __commonJSMin as u };
|