markstream-vue 2.0.8-beta.0 → 2.0.9

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/README.md CHANGED
@@ -623,7 +623,9 @@ Parse hooks example (match server + client):
623
623
 
624
624
  ## Support the project
625
625
 
626
- If markstream-vue helps your work, you can support ongoing maintenance with one of these QR codes.
626
+ If markstream-vue helps your work, you can support ongoing maintenance via [GitHub Sponsors](https://github.com/sponsors/Simon-He95) or one of these QR codes.
627
+
628
+ [![Sponsor on GitHub](https://img.shields.io/badge/-Sponsor-db61a2?logo=githubsponsors&logoColor=white)](https://github.com/sponsors/Simon-He95)
627
629
 
628
630
  | Alipay | WeChat Pay |
629
631
  | --- | --- |
package/README.zh-CN.md CHANGED
@@ -175,7 +175,9 @@ npx skills add git@github.com:Simon-He95/markstream-vue.git
175
175
 
176
176
  ## 支持项目
177
177
 
178
- 如果 markstream-vue 对你的工作有帮助,欢迎通过下面的收款码支持项目的持续维护。
178
+ 如果 markstream-vue 对你的工作有帮助,欢迎通过 [GitHub Sponsors](https://github.com/sponsors/Simon-He95) 或下面的收款码支持项目的持续维护。
179
+
180
+ [![在 GitHub 上赞助](https://img.shields.io/badge/-Sponsor-db61a2?logo=githubsponsors&logoColor=white)](https://github.com/sponsors/Simon-He95)
179
181
 
180
182
  | 支付宝 | 微信收款 |
181
183
  | --- | --- |
@@ -1 +1 @@
1
- function t(t){const n="number"==typeof t?t:Number.parseFloat(String(null!=t?t:""));return Number.isFinite(n)&&n>0?n:null}function n(t){var n;for(const r of t.split(/\r?\n/)){const t=r.trim();if(!t||t.startsWith("%%"))continue;const a=t.match(/^([A-Z][\w-]*)\b/i);return(null==(n=null==a?void 0:a[1])?void 0:n.toLowerCase())||""}return""}function r(t){const r=t.split(/\r?\n/).map(t=>t.trim()).filter(t=>t&&!t.startsWith("%%")),a=Math.max(1,r.length),i=n(t);return"gantt"===i?220+28*a:"sequencediagram"===i?180+26*a:"classdiagram"===i||"statediagram"===i||"erdiagram"===i?180+24*a:"flowchart"===i||"graph"===i?170+28*a:200+22*a}function a(t){const n=t.split(/\r?\n/).filter(t=>/^\s*-\s+/.test(t)).length;return n>=3?500:n>0?280+60*n:360}function i(t,n=360,r=500){return null==r?Math.max(n,t):Math.min(Math.max(n,t),r)}function e(t,n=360,r=500){return i(t,n,r)}function s(t,n=360,r=500){return i(t,n,r)}export{e as a,r as b,s as c,a as e,n as g,t as p};
1
+ const t=360;function n(t){const n="number"==typeof t?t:Number.parseFloat(String(null!=t?t:""));return Number.isFinite(n)&&n>0?n:null}function r(t){var n;for(const r of t.split(/\r?\n/)){const t=r.trim();if(!t||t.startsWith("%%"))continue;const a=t.match(/^([A-Z][\w-]*)\b/i);return(null==(n=null==a?void 0:a[1])?void 0:n.toLowerCase())||""}return""}function a(t){const n=t.split(/\r?\n/).map(t=>t.trim()).filter(t=>t&&!t.startsWith("%%")),a=Math.max(1,n.length),s=r(t);return"gantt"===s?220+28*a:"sequencediagram"===s?180+26*a:"classdiagram"===s||"statediagram"===s||"erdiagram"===s?180+24*a:"flowchart"===s||"graph"===s?170+28*a:200+22*a}function s(t){const n=t.split(/\r?\n/).filter(t=>/^\s*-\s+/.test(t)).length;return n>=3?500:n>0?280+60*n:360}function i(t,n=360,r=500){return null==r?Math.max(n,t):Math.min(Math.max(n,t),r)}function e(t,n=360,r=500){return i(t,n,r)}function o(t,n=360,r=500){return i(t,n,r)}export{t as I,e as a,a as b,o as c,s as e,r as g,n as p};