@tickernelz/paperclip-pro-server 2026.927.0 → 2026.927.1
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/build-info.json +1 -1
- package/dist/routes/issues.d.ts.map +1 -1
- package/dist/routes/issues.js +174 -45
- package/dist/routes/issues.js.map +1 -1
- package/dist/routes/openapi.d.ts.map +1 -1
- package/dist/routes/openapi.js +1 -0
- package/dist/routes/openapi.js.map +1 -1
- package/dist/services/instance-settings.d.ts.map +1 -1
- package/dist/services/instance-settings.js +3 -1
- package/dist/services/instance-settings.js.map +1 -1
- package/node_modules/mdast-util-to-markdown/index.d.ts +2 -0
- package/node_modules/mdast-util-to-markdown/lib/configure.d.ts +5 -0
- package/node_modules/mdast-util-to-markdown/lib/configure.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/configure.js +19 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +12 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/break.js +16 -5
- package/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/code.js +13 -2
- package/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/definition.js +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts +30 -2
- package/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +39 -41
- package/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/heading.js +11 -2
- package/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/html.js +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts +10 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +17 -2
- package/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts +10 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/image.js +10 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts +9 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +14 -4
- package/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts +10 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +17 -2
- package/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts +13 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/link.js +24 -9
- package/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +12 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/list.js +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/root.js +13 -2
- package/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts +30 -2
- package/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/strong.js +39 -41
- package/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/text.js +7 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts +6 -0
- package/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +6 -0
- package/node_modules/mdast-util-to-markdown/lib/index.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/index.js +34 -8
- package/node_modules/mdast-util-to-markdown/lib/join.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/join.js +18 -1
- package/node_modules/mdast-util-to-markdown/lib/types.d.ts +50 -30
- package/node_modules/mdast-util-to-markdown/lib/unsafe.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/unsafe.js +15 -1
- package/node_modules/mdast-util-to-markdown/lib/util/character.d.ts +23 -0
- package/node_modules/mdast-util-to-markdown/lib/util/character.d.ts.map +1 -0
- package/node_modules/mdast-util-to-markdown/lib/util/character.js +32 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +4 -0
- package/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js +3 -1
- package/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts +2 -0
- package/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/container-flow.js +9 -0
- package/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts +95 -4
- package/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js +636 -57
- package/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts +2 -2
- package/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts +5 -0
- package/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +12 -7
- package/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts +5 -0
- package/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +7 -2
- package/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts +5 -0
- package/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +20 -15
- package/node_modules/mdast-util-to-markdown/lib/util/html-kind.d.ts +31 -0
- package/node_modules/mdast-util-to-markdown/lib/util/html-kind.d.ts.map +1 -0
- package/node_modules/mdast-util-to-markdown/lib/util/html-kind.js +63 -0
- package/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js +5 -0
- package/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts +5 -0
- package/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +11 -0
- package/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts +2 -2
- package/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts.map +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/safe.js +71 -7
- package/node_modules/mdast-util-to-markdown/package.json +13 -57
- package/node_modules/mdast-util-to-markdown/readme.md +139 -84
- package/package.json +21 -21
- package/ui-dist/assets/{AgentAvatar-RxjiAwO8.js → AgentAvatar-PT82VwmU.js} +1 -1
- package/ui-dist/assets/{AgentIdentity-D4BY0hNL.js → AgentIdentity-MCshmbhZ.js} +1 -1
- package/ui-dist/assets/{Agents.production-gcp98JXS.js → Agents.production-M_NY58co.js} +2 -2
- package/ui-dist/assets/{CompanyActivity.production-CWlPErYS.js → CompanyActivity.production-DYQKd80o.js} +1 -1
- package/ui-dist/assets/{CompanyExport-JunkVVGm.js → CompanyExport-Ch4DvzDC.js} +1 -1
- package/ui-dist/assets/{CompanySkills.production-DvSrjYfs.js → CompanySkills.production-BGOAW-TP.js} +1 -1
- package/ui-dist/assets/{Costs.production-zx6HrqRG.js → Costs.production-AiD1rIrs.js} +1 -1
- package/ui-dist/assets/{EmptyState-DfjPe-d3.js → EmptyState-DPcc0zYh.js} +1 -1
- package/ui-dist/assets/{MarkdownBody-CsD5-bu_.js → MarkdownBody-D0eCfSWN.js} +1 -1
- package/ui-dist/assets/{MarkdownEditor-p2rnT0Be.js → MarkdownEditor-Pip4OXiJ.js} +49 -49
- package/ui-dist/assets/{OrgChart.production-C-wrmuDn.js → OrgChart.production-WmGsXZUQ.js} +1 -1
- package/ui-dist/assets/{PageSkeleton-CFPaR2xk.js → PageSkeleton-DHjTwRT3.js} +1 -1
- package/ui-dist/assets/{RoutineDetail.production-Skb6CK8y.js → RoutineDetail.production-B8ydFpMP.js} +1 -1
- package/ui-dist/assets/{RoutineRunVariablesDialog-BWeOhxiO.js → RoutineRunVariablesDialog-IRX4TLng.js} +1 -1
- package/ui-dist/assets/{Routines.production-TpFNwHyG.js → Routines.production-Bcb1R-Uu.js} +1 -1
- package/ui-dist/assets/{SidebarContext-bqQ25oRc.js → SidebarContext-D01pu4wh.js} +1 -1
- package/ui-dist/assets/{StatusIcon-BJoaLFpW.js → StatusIcon-BuUYMqqU.js} +1 -1
- package/ui-dist/assets/{agents-D79f8ubB.js → agents-BlSzFh-1.js} +1 -1
- package/ui-dist/assets/{badge-Dtq5g7E6.js → badge-Cf7ihb3q.js} +1 -1
- package/ui-dist/assets/{bot-CuAIZ3O7.js → bot-DZDpMzjD.js} +1 -1
- package/ui-dist/assets/{button-BvVFpN4P.js → button-CAPbz11u.js} +1 -1
- package/ui-dist/assets/{card-Dt_3k83X.js → card-dmVcp3AX.js} +1 -1
- package/ui-dist/assets/{check-IIwgETIo.js → check-DDiXDm2i.js} +1 -1
- package/ui-dist/assets/{checkbox-Dt_GoRUY.js → checkbox-CmMbs2PZ.js} +1 -1
- package/ui-dist/assets/{chevron-down-UBZnuvt1.js → chevron-down-F9aZv-V7.js} +1 -1
- package/ui-dist/assets/{chevron-right-B0AHub3v.js → chevron-right-B9JUOr38.js} +1 -1
- package/ui-dist/assets/{clipboard-Bj5QAqRq.js → clipboard-CYJ5Q78m.js} +1 -1
- package/ui-dist/assets/{company-members-DEqvhrMC.js → company-members-BcZm1g8Q.js} +1 -1
- package/ui-dist/assets/createLucideIcon-r3v6fbGz.js +92 -0
- package/ui-dist/assets/{definition-wrbKkF1t.js → definition-Irgr7mY_.js} +1 -1
- package/ui-dist/assets/{dist-FWFKwYyU.js → dist-5v80Jc6A.js} +1 -1
- package/ui-dist/assets/{dist-VxTJitj7.js → dist-D1zgkcBw.js} +1 -1
- package/ui-dist/assets/{environments-CkEnfa1n.js → environments-BVeNFanj.js} +1 -1
- package/ui-dist/assets/{external-link-B35J81lc.js → external-link-0lrOvZWO.js} +1 -1
- package/ui-dist/assets/{file-text-CD47Bznz.js → file-text-C9vgFckt.js} +1 -1
- package/ui-dist/assets/{health-CfAQPRgq.js → health-DeeeogeJ.js} +1 -1
- package/ui-dist/assets/{heartbeats-DLceYe5K.js → heartbeats-CK_aXmx5.js} +1 -1
- package/ui-dist/assets/{index-qzns_tVc.js → index-F2pxxyIV.js} +153 -153
- package/ui-dist/assets/{input-CFI8T_fr.js → input-DpsS9it-.js} +1 -1
- package/ui-dist/assets/{label-JgSsn_gH.js → label-C2ddSDJj.js} +1 -1
- package/ui-dist/assets/{loader-circle-AYbv_YhN.js → loader-circle-BD9wx-lw.js} +1 -1
- package/ui-dist/assets/{mention-chips-DPVE_n2N.js → mention-chips-DXumPrOR.js} +1 -1
- package/ui-dist/assets/{octagon-alert-2PgnRbAG.js → octagon-alert-rGMwyrWA.js} +1 -1
- package/ui-dist/assets/{rotate-ccw-D72kg6zn.js → rotate-ccw-CRAQ3Xng.js} +1 -1
- package/ui-dist/assets/{router-BrCMx2mP.js → router-DyZkoSkG.js} +2 -2
- package/ui-dist/assets/{save-fTBYxOC9.js → save-DUnPDT6R.js} +1 -1
- package/ui-dist/assets/{select-BidMsZcD.js → select-mS22eY6T.js} +1 -1
- package/ui-dist/assets/{sheet-BAx2-UjA.js → sheet-DeCxNmfl.js} +1 -1
- package/ui-dist/assets/{skeleton-CYELISHD.js → skeleton-CKir8TUW.js} +1 -1
- package/ui-dist/assets/{tabs-D5oWPScx.js → tabs-DWRZjksg.js} +1 -1
- package/ui-dist/assets/{triangle-alert-DFzcyeFH.js → triangle-alert-CgJcxSQX.js} +1 -1
- package/ui-dist/assets/{use-adapter-capabilities-aPQHbB6R.js → use-adapter-capabilities-BiWYK4zJ.js} +1 -1
- package/ui-dist/assets/{useHiddenSettings-jRtbaks6.js → useHiddenSettings-2JpxuJV7.js} +1 -1
- package/ui-dist/assets/{zap-B3DNfTNV.js → zap-P-cXfK28.js} +1 -1
- package/ui-dist/index.html +45 -45
- package/ui-dist/sw.js +1 -1
- package/node_modules/mdast-util-to-markdown/lib/util/emphasis-strong-marker.d.ts +0 -7
- package/node_modules/mdast-util-to-markdown/lib/util/emphasis-strong-marker.d.ts.map +0 -1
- package/ui-dist/assets/createLucideIcon-eTR0JqwS.js +0 -92
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Checks the preferred alternate list bullet option.
|
|
3
|
+
*
|
|
2
4
|
* @param {State} state
|
|
5
|
+
* Info passed around.
|
|
3
6
|
* @returns {Exclude<Options['bullet'], null | undefined>}
|
|
7
|
+
* Preferred alternate list bullet.
|
|
4
8
|
*/
|
|
5
9
|
export function checkBulletOther(state: State): Exclude<Options["bullet"], null | undefined>;
|
|
6
10
|
import type { State } from 'mdast-util-to-markdown';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-bullet-other.d.ts","sourceRoot":"","sources":["check-bullet-other.js"],"names":[],"mappings":"AAMA
|
|
1
|
+
{"version":3,"file":"check-bullet-other.d.ts","sourceRoot":"","sources":["check-bullet-other.js"],"names":[],"mappings":"AAMA;;;;;;;GAOG;AACH,wCALW,KAAK,GAEH,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,CA8BxD;2BAxCgC,wBAAwB;6BAAxB,wBAAwB"}
|
|
@@ -5,8 +5,12 @@
|
|
|
5
5
|
import {checkBullet} from './check-bullet.js'
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
+
* Checks the preferred alternate list bullet option.
|
|
9
|
+
*
|
|
8
10
|
* @param {State} state
|
|
11
|
+
* Info passed around.
|
|
9
12
|
* @returns {Exclude<Options['bullet'], null | undefined>}
|
|
13
|
+
* Preferred alternate list bullet.
|
|
10
14
|
*/
|
|
11
15
|
export function checkBulletOther(state) {
|
|
12
16
|
const bullet = checkBullet(state)
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
+
* Checks the preferred list bullet option.
|
|
6
|
+
*
|
|
5
7
|
* @param {State} state
|
|
8
|
+
* Info passed around.
|
|
6
9
|
* @returns {Exclude<Options['bullet'], null | undefined>}
|
|
10
|
+
* Preferred list bullet.
|
|
7
11
|
*/
|
|
8
12
|
export function checkBullet(state: State): Exclude<Options["bullet"], null | undefined>;
|
|
9
13
|
import type { State } from 'mdast-util-to-markdown';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-bullet.d.ts","sourceRoot":"","sources":["check-bullet.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH
|
|
1
|
+
{"version":3,"file":"check-bullet.d.ts","sourceRoot":"","sources":["check-bullet.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;GAOG;AACH,mCALW,KAAK,GAEH,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,CAexD;2BAvBgC,wBAAwB;6BAAxB,wBAAwB"}
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
+
* Checks the preferred list bullet option.
|
|
7
|
+
*
|
|
6
8
|
* @param {State} state
|
|
9
|
+
* Info passed around.
|
|
7
10
|
* @returns {Exclude<Options['bullet'], null | undefined>}
|
|
11
|
+
* Preferred list bullet.
|
|
8
12
|
*/
|
|
9
13
|
export function checkBullet(state) {
|
|
10
14
|
const marker = state.options.bullet || '*'
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
+
* Checks the preferred emphasis option.
|
|
6
|
+
*
|
|
5
7
|
* @param {State} state
|
|
8
|
+
* Info passed around.
|
|
6
9
|
* @returns {Exclude<Options['emphasis'], null | undefined>}
|
|
10
|
+
* Preferred emphasis marker.
|
|
7
11
|
*/
|
|
8
12
|
export function checkEmphasis(state: State): Exclude<Options["emphasis"], null | undefined>;
|
|
9
13
|
import type { State } from 'mdast-util-to-markdown';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-emphasis.d.ts","sourceRoot":"","sources":["check-emphasis.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH
|
|
1
|
+
{"version":3,"file":"check-emphasis.d.ts","sourceRoot":"","sources":["check-emphasis.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;GAOG;AACH,qCALW,KAAK,GAEH,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,CAe1D;2BAvBgC,wBAAwB;6BAAxB,wBAAwB"}
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
+
* Checks the preferred emphasis option.
|
|
7
|
+
*
|
|
6
8
|
* @param {State} state
|
|
9
|
+
* Info passed around.
|
|
7
10
|
* @returns {Exclude<Options['emphasis'], null | undefined>}
|
|
11
|
+
* Preferred emphasis marker.
|
|
8
12
|
*/
|
|
9
13
|
export function checkEmphasis(state) {
|
|
10
14
|
const marker = state.options.emphasis || '*'
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
+
* Checks the preferred fence option.
|
|
6
|
+
*
|
|
5
7
|
* @param {State} state
|
|
8
|
+
* Info passed around.
|
|
6
9
|
* @returns {Exclude<Options['fence'], null | undefined>}
|
|
10
|
+
* Preferred fence marker.
|
|
7
11
|
*/
|
|
8
12
|
export function checkFence(state: State): Exclude<Options["fence"], null | undefined>;
|
|
9
13
|
import type { State } from 'mdast-util-to-markdown';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-fence.d.ts","sourceRoot":"","sources":["check-fence.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH
|
|
1
|
+
{"version":3,"file":"check-fence.d.ts","sourceRoot":"","sources":["check-fence.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;GAOG;AACH,kCALW,KAAK,GAEH,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,CAevD;2BAvBgC,wBAAwB;6BAAxB,wBAAwB"}
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
+
* Checks the preferred fence option.
|
|
7
|
+
*
|
|
6
8
|
* @param {State} state
|
|
9
|
+
* Info passed around.
|
|
7
10
|
* @returns {Exclude<Options['fence'], null | undefined>}
|
|
11
|
+
* Preferred fence marker.
|
|
8
12
|
*/
|
|
9
13
|
export function checkFence(state) {
|
|
10
14
|
const marker = state.options.fence || '`'
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
+
* Checks the preferred list item indent option.
|
|
6
|
+
*
|
|
5
7
|
* @param {State} state
|
|
8
|
+
* Info passed around.
|
|
6
9
|
* @returns {Exclude<Options['listItemIndent'], null | undefined>}
|
|
10
|
+
* Preferred list item indent.
|
|
7
11
|
*/
|
|
8
12
|
export function checkListItemIndent(state: State): Exclude<Options["listItemIndent"], null | undefined>;
|
|
9
13
|
import type { State } from 'mdast-util-to-markdown';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-list-item-indent.d.ts","sourceRoot":"","sources":["check-list-item-indent.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH
|
|
1
|
+
{"version":3,"file":"check-list-item-indent.d.ts","sourceRoot":"","sources":["check-list-item-indent.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;GAOG;AACH,2CALW,KAAK,GAEH,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,CAehE;2BAvBgC,wBAAwB;6BAAxB,wBAAwB"}
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
+
* Checks the preferred list item indent option.
|
|
7
|
+
*
|
|
6
8
|
* @param {State} state
|
|
9
|
+
* Info passed around.
|
|
7
10
|
* @returns {Exclude<Options['listItemIndent'], null | undefined>}
|
|
11
|
+
* Preferred list item indent.
|
|
8
12
|
*/
|
|
9
13
|
export function checkListItemIndent(state) {
|
|
10
14
|
const style = state.options.listItemIndent || 'one'
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
+
* Checks the preferred quote option.
|
|
6
|
+
*
|
|
5
7
|
* @param {State} state
|
|
8
|
+
* Info passed around.
|
|
6
9
|
* @returns {Exclude<Options['quote'], null | undefined>}
|
|
10
|
+
* Preferred quote.
|
|
7
11
|
*/
|
|
8
12
|
export function checkQuote(state: State): Exclude<Options["quote"], null | undefined>;
|
|
9
13
|
import type { State } from 'mdast-util-to-markdown';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-quote.d.ts","sourceRoot":"","sources":["check-quote.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH
|
|
1
|
+
{"version":3,"file":"check-quote.d.ts","sourceRoot":"","sources":["check-quote.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;GAOG;AACH,kCALW,KAAK,GAEH,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,CAevD;2BAvBgC,wBAAwB;6BAAxB,wBAAwB"}
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
+
* Checks the preferred quote option.
|
|
7
|
+
*
|
|
6
8
|
* @param {State} state
|
|
9
|
+
* Info passed around.
|
|
7
10
|
* @returns {Exclude<Options['quote'], null | undefined>}
|
|
11
|
+
* Preferred quote.
|
|
8
12
|
*/
|
|
9
13
|
export function checkQuote(state) {
|
|
10
14
|
const marker = state.options.quote || '"'
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
+
* Checks the preferred rule repetition option.
|
|
6
|
+
*
|
|
5
7
|
* @param {State} state
|
|
8
|
+
* Info passed around.
|
|
6
9
|
* @returns {Exclude<Options['ruleRepetition'], null | undefined>}
|
|
10
|
+
* Preferred rule repetition.
|
|
7
11
|
*/
|
|
8
12
|
export function checkRuleRepetition(state: State): Exclude<Options["ruleRepetition"], null | undefined>;
|
|
9
13
|
import type { State } from 'mdast-util-to-markdown';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-rule-repetition.d.ts","sourceRoot":"","sources":["check-rule-repetition.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH
|
|
1
|
+
{"version":3,"file":"check-rule-repetition.d.ts","sourceRoot":"","sources":["check-rule-repetition.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;GAOG;AACH,2CALW,KAAK,GAEH,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,CAehE;2BAvBgC,wBAAwB;6BAAxB,wBAAwB"}
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
+
* Checks the preferred rule repetition option.
|
|
7
|
+
*
|
|
6
8
|
* @param {State} state
|
|
9
|
+
* Info passed around.
|
|
7
10
|
* @returns {Exclude<Options['ruleRepetition'], null | undefined>}
|
|
11
|
+
* Preferred rule repetition.
|
|
8
12
|
*/
|
|
9
13
|
export function checkRuleRepetition(state) {
|
|
10
14
|
const repetition = state.options.ruleRepetition || 3
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
+
* Checks the preferred rule option.
|
|
6
|
+
*
|
|
5
7
|
* @param {State} state
|
|
8
|
+
* Info passed around.
|
|
6
9
|
* @returns {Exclude<Options['rule'], null | undefined>}
|
|
10
|
+
* Preferred rule marker.
|
|
7
11
|
*/
|
|
8
12
|
export function checkRule(state: State): Exclude<Options["rule"], null | undefined>;
|
|
9
13
|
import type { State } from 'mdast-util-to-markdown';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-rule.d.ts","sourceRoot":"","sources":["check-rule.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH
|
|
1
|
+
{"version":3,"file":"check-rule.d.ts","sourceRoot":"","sources":["check-rule.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;GAOG;AACH,iCALW,KAAK,GAEH,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,CAetD;2BAvBgC,wBAAwB;6BAAxB,wBAAwB"}
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
+
* Checks the preferred rule option.
|
|
7
|
+
*
|
|
6
8
|
* @param {State} state
|
|
9
|
+
* Info passed around.
|
|
7
10
|
* @returns {Exclude<Options['rule'], null | undefined>}
|
|
11
|
+
* Preferred rule marker.
|
|
8
12
|
*/
|
|
9
13
|
export function checkRule(state) {
|
|
10
14
|
const marker = state.options.rule || '*'
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* @import {Options, State} from 'mdast-util-to-markdown'
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
+
* Checks the preferred strong option.
|
|
6
|
+
*
|
|
5
7
|
* @param {State} state
|
|
8
|
+
* Info passed around.
|
|
6
9
|
* @returns {Exclude<Options['strong'], null | undefined>}
|
|
10
|
+
* Preferred strong marker.
|
|
7
11
|
*/
|
|
8
12
|
export function checkStrong(state: State): Exclude<Options["strong"], null | undefined>;
|
|
9
13
|
import type { State } from 'mdast-util-to-markdown';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-strong.d.ts","sourceRoot":"","sources":["check-strong.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH
|
|
1
|
+
{"version":3,"file":"check-strong.d.ts","sourceRoot":"","sources":["check-strong.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;GAOG;AACH,mCALW,KAAK,GAEH,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,CAexD;2BAvBgC,wBAAwB;6BAAxB,wBAAwB"}
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
+
* Checks the preferred strong option.
|
|
7
|
+
*
|
|
6
8
|
* @param {State} state
|
|
9
|
+
* Info passed around.
|
|
7
10
|
* @returns {Exclude<Options['strong'], null | undefined>}
|
|
11
|
+
* Preferred strong marker.
|
|
8
12
|
*/
|
|
9
13
|
export function checkStrong(state) {
|
|
10
14
|
const marker = state.options.strong || '*'
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
+
* Compiles a pattern object into a regular expression.
|
|
7
|
+
*
|
|
6
8
|
* @type {CompilePattern}
|
|
7
9
|
*/
|
|
8
10
|
export function compilePattern(pattern) {
|
|
@@ -13,7 +15,7 @@ export function compilePattern(pattern) {
|
|
|
13
15
|
|
|
14
16
|
pattern._compiled = new RegExp(
|
|
15
17
|
(before ? '(' + before + ')' : '') +
|
|
16
|
-
(/[
|
|
18
|
+
(/[$()*+\-.?[\\\]^{|}]/.test(pattern.character) ? '\\' : '') +
|
|
17
19
|
pattern.character +
|
|
18
20
|
(pattern.after ? '(?:' + pattern.after + ')' : ''),
|
|
19
21
|
'g'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-flow.d.ts","sourceRoot":"","sources":["container-flow.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH
|
|
1
|
+
{"version":3,"file":"container-flow.d.ts","sourceRoot":"","sources":["container-flow.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AACH,sCATW,WAAW,SAEX,KAAK,QAEL,WAAW,GAET,MAAM,CA0ClB;iCAtDwD,aAAa;2BAD9C,wBAAwB;iCACS,aAAa"}
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
+
* Serialize the children of a parent that contains flow children.
|
|
8
|
+
*
|
|
7
9
|
* @param {FlowParents} parent
|
|
8
10
|
* Parent of flow nodes.
|
|
9
11
|
* @param {State} state
|
|
@@ -55,11 +57,18 @@ export function containerFlow(parent, state, info) {
|
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
/**
|
|
60
|
+
* Determine the markdown to insert between two flow nodes.
|
|
61
|
+
*
|
|
58
62
|
* @param {FlowChildren} left
|
|
63
|
+
* Left flow node.
|
|
59
64
|
* @param {FlowChildren} right
|
|
65
|
+
* Right flow node.
|
|
60
66
|
* @param {FlowParents} parent
|
|
67
|
+
* Parent of the flow nodes.
|
|
61
68
|
* @param {State} state
|
|
69
|
+
* Info passed around.
|
|
62
70
|
* @returns {string}
|
|
71
|
+
* Markdown to insert between the two flow nodes.
|
|
63
72
|
*/
|
|
64
73
|
function between(left, right, parent, state) {
|
|
65
74
|
let index = state.join.length
|
|
@@ -1,18 +1,109 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Serialize the children of a parent that contains phrasing children.
|
|
3
3
|
*
|
|
4
|
-
* These children will be joined flush together.
|
|
5
|
-
*
|
|
6
4
|
* @param {PhrasingParents} parent
|
|
7
|
-
* Parent of
|
|
5
|
+
* Parent of phrasing nodes.
|
|
8
6
|
* @param {State} state
|
|
9
7
|
* Info passed around about the current state.
|
|
10
8
|
* @param {Info} info
|
|
11
9
|
* Info on where we are in the document we are generating.
|
|
12
10
|
* @returns {string}
|
|
13
|
-
* Serialized
|
|
11
|
+
* Serialized result.
|
|
14
12
|
*/
|
|
15
13
|
export function containerPhrasing(parent: PhrasingParents, state: State, info: Info): string;
|
|
14
|
+
/**
|
|
15
|
+
* Attention, of which the sequence is chosen later.
|
|
16
|
+
*/
|
|
17
|
+
export type AttentionResult = {
|
|
18
|
+
/**
|
|
19
|
+
* Serialized children.
|
|
20
|
+
*/
|
|
21
|
+
children: Array<Item>;
|
|
22
|
+
/**
|
|
23
|
+
* Sequences that can be used, in order of preference.
|
|
24
|
+
*/
|
|
25
|
+
sequences: Array<string>;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Improvement of attention sequences.
|
|
29
|
+
*/
|
|
30
|
+
export type Improvement = {
|
|
31
|
+
/**
|
|
32
|
+
* Chosen sequences for each attention.
|
|
33
|
+
*/
|
|
34
|
+
chosen: Map<AttentionResult, string>;
|
|
35
|
+
/**
|
|
36
|
+
* Tokens involved in the improvement.
|
|
37
|
+
*/
|
|
38
|
+
tokens: Array<Token>;
|
|
39
|
+
/**
|
|
40
|
+
* Mistake that led to this improvement, if any.
|
|
41
|
+
*/
|
|
42
|
+
mistake: Mistake | undefined;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Serialized phrasing.
|
|
46
|
+
*/
|
|
47
|
+
export type Item = AttentionResult | string;
|
|
48
|
+
/**
|
|
49
|
+
* Sequence that does not form its attention.
|
|
50
|
+
*/
|
|
51
|
+
export type Mistake = {
|
|
52
|
+
/**
|
|
53
|
+
* Attention to try other sequences for.
|
|
54
|
+
*/
|
|
55
|
+
attention: Array<AttentionResult>;
|
|
56
|
+
/**
|
|
57
|
+
* Index of the token.
|
|
58
|
+
*/
|
|
59
|
+
index: number;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Sequences next to each other with the same marker.
|
|
63
|
+
*/
|
|
64
|
+
export type Run = {
|
|
65
|
+
/**
|
|
66
|
+
* Whether it can close.
|
|
67
|
+
*/
|
|
68
|
+
close: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Index after the last marker not used (to open).
|
|
71
|
+
*/
|
|
72
|
+
end: number;
|
|
73
|
+
/**
|
|
74
|
+
* Sequence of each marker.
|
|
75
|
+
*/
|
|
76
|
+
markers: Array<Token>;
|
|
77
|
+
/**
|
|
78
|
+
* Whether it can open.
|
|
79
|
+
*/
|
|
80
|
+
open: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Whether it can be split (built-in attention).
|
|
83
|
+
*/
|
|
84
|
+
split: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Index of the first marker not used (to close).
|
|
87
|
+
*/
|
|
88
|
+
start: number;
|
|
89
|
+
/**
|
|
90
|
+
* Sequences.
|
|
91
|
+
*/
|
|
92
|
+
tokens: Array<Token>;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Rendered phrasing.
|
|
96
|
+
*/
|
|
97
|
+
export type Token = {
|
|
98
|
+
/**
|
|
99
|
+
* Attention, if this is one of its sequences.
|
|
100
|
+
*/
|
|
101
|
+
attention: AttentionResult | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Value.
|
|
104
|
+
*/
|
|
105
|
+
value: string;
|
|
106
|
+
};
|
|
16
107
|
import type { PhrasingParents } from '../types.js';
|
|
17
108
|
import type { State } from 'mdast-util-to-markdown';
|
|
18
109
|
import type { Info } from 'mdast-util-to-markdown';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-phrasing.d.ts","sourceRoot":"","sources":["container-phrasing.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"container-phrasing.d.ts","sourceRoot":"","sources":["container-phrasing.js"],"names":[],"mappings":"AA+NA;;;;;;;;;;;GAWG;AACH,0CATW,eAAe,SAEf,KAAK,QAEL,IAAI,GAEF,MAAM,CAKlB;;;;;;;;cA5Ma,KAAK,CAAC,IAAI,CAAC;;;;eAEX,KAAK,CAAC,MAAM,CAAC;;;;;;;;;YAOb,GAAG,CAAC,eAAe,EAAE,MAAM,CAAC;;;;YAE5B,KAAK,CAAC,KAAK,CAAC;;;;aAEZ,OAAO,GAAG,SAAS;;;;;mBAKpB,eAAe,GAAG,MAAM;;;;;;;;eAOvB,KAAK,CAAC,eAAe,CAAC;;;;WAEtB,MAAM;;;;;;;;;WAON,OAAO;;;;SAEP,MAAM;;;;aAEN,KAAK,CAAC,KAAK,CAAC;;;;UAEZ,OAAO;;;;WAEP,OAAO;;;;WAEP,MAAM;;;;YAEN,KAAK,CAAC,KAAK,CAAC;;;;;;;;;eAOZ,eAAe,GAAG,SAAS;;;;WAE3B,MAAM;;qCAtFc,aAAa;2BADE,wBAAwB;0BAAxB,wBAAwB"}
|