@fangzhongya/vue-archive 0.1.11 → 0.1.13
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/index.css +1 -1
- package/dist/node/index.cjs +163 -74
- package/dist/node/index.js +163 -74
- package/dist/packages/components/aside/index.vue.js +4 -4
- package/dist/packages/components/boxurl/index.vue.js +5 -5
- package/dist/packages/components/choice/choice.vue.js +4 -4
- package/dist/packages/components/choice/index.vue.js +1 -1
- package/dist/packages/components/code/highlight.vue.js +3 -3
- package/dist/packages/components/code/index.vue.js +3 -3
- package/dist/packages/components/compo/code.vue.js +2 -2
- package/dist/packages/components/compo/ftable.vue.js +6 -6
- package/dist/packages/components/compo/index.vue.js +1 -1
- package/dist/packages/components/compo/info-top.vue.js +2 -2
- package/dist/packages/components/compo/info.vue.js +5 -5
- package/dist/packages/components/compo/props.vue.js +1 -1
- package/dist/packages/components/header/index.vue.js +2 -2
- package/dist/packages/components/main/index.vue.js +3 -3
- package/dist/packages/components/md/index.vue.js +7 -7
- package/dist/packages/components/test/index.vue.js +4 -4
- package/dist/packages/components/use/code.d.ts +18 -25
- package/dist/packages/components/use/code.vue.js +4 -4
- package/dist/packages/components/use/effect.vue.js +2 -2
- package/dist/packages/components/use/retrie/any/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/array/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/boolean/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/choice/index.vue.js +5 -5
- package/dist/packages/components/use/retrie/expose/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/form/index.vue.js +1 -1
- package/dist/packages/components/use/retrie/function/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/index.vue.js +1 -1
- package/dist/packages/components/use/retrie/input/editor/editor.d.ts +0 -49
- package/dist/packages/components/use/retrie/input/editor/editor.vue.js +2 -2
- package/dist/packages/components/use/retrie/input/index.vue.js +1 -1
- package/dist/packages/components/use/retrie/input/text.vue.js +2 -2
- package/dist/packages/components/use/retrie/number/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/object/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/other/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/select/index.vue.js +5 -5
- package/dist/packages/components/use/retrie/slot/index.vue.js +2 -2
- package/dist/packages/components/use/retrie/string/index.vue.js +2 -2
- package/dist/packages/components/use/set-code.vue.js +2 -2
- package/dist/packages/components/use/set-emit.vue.js +4 -4
- package/dist/packages/components/use/set-expose.vue.js +6 -6
- package/dist/packages/components/use/set-props.vue.js +2 -2
- package/dist/packages/components/use/set-slot.vue.js +7 -7
- package/dist/packages/index/index.vue2.js +2 -2
- package/dist/packages/page/compon/index.vue2.js +2 -2
- package/dist/packages/page/comprops/index.vue2.js +3 -3
- package/dist/packages/page/develop/index.vue2.js +2 -2
- package/dist/packages/page/edit/index.vue2.js +2 -2
- package/dist/packages/page/index/index.vue2.js +1 -1
- package/dist/packages/page/single/index.vue2.js +2 -2
- package/dist/packages/page/tests/index.vue2.js +6 -6
- package/dist/packages/utils/glob.cjs +1 -1
- package/dist/packages/utils/glob.js +1 -1
- package/package.json +11 -11
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--bor-cor: rgb(239, 248, 255);--but-cor: rgb(27, 155, 253);--but-hover-cor: rgb(0, 145, 255);--bg-but-hover-cor: rgb(128, 199, 253);--bg-aside-cor: rgb(228, 251, 197);--bg-aside-on-cor: rgb(78, 184, 250);--bg-index-cor: rgb(248, 248, 248);--bg-table-th-cor: rgb(207, 246, 251);--bg-table-td-cor: rgb(221, 243, 246);--bg-test-cor: rgb(247, 255, 251);--bg-test-err-cor: rgb(255, 210, 210);--bg-test-pro-cor: rgb(203, 246, 255);--bg-test-err-pro-cor: rgb(251, 203, 255);--te-test-err-cor: rgb(247, 56, 56);--te-test-pro-cor: rgb(106, 131, 255);--bg-test-body: rgb(255, 255, 255);--bg-code-highlig: rgb(255, 251, 223);--bg-code: rgb(255, 255, 255);--bg-box-cor: rgb(227, 227, 227);--bg-md-cor: rgb(255, 233, 243);--bg-use-cor: rgb(255, 255, 255);--bg-use-component-cor: rgb(255, 255, 255);--text-cor: rgb(0, 0, 0);--fs-1: 12px;--fs-2: 14px;--fs-3: 16px;--fs-4: 18px;--fs-5: 20px}.__document{position:fixed;top:0;left:0;width:100vw;height:100vh;overflow:auto;text-align:left;width:100%;height:100%;padding:0;margin:0}.__document .but-div{cursor:pointer}.__document .but-div:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__document .but-div{color:var(--but-cor);padding:5px 10px}.__document .aside{width:100%;overflow:hidden;padding:10px;box-sizing:border-box}.__document .aside .aside-search{width:100%;box-sizing:border-box;margin-bottom:10px}.__document .aside .aside-search .aside-search-input{width:100%;height:30px;border-radius:4px;box-sizing:border-box}.__document .aside .aside-li{padding:5px 10px;height:60px;font-size:20px;font-weight:600;border-radius:4px;border-bottom:1px solid var(--bor-cor);cursor:pointer}.__document .aside .aside-li:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__document .aside .aside-li{display:flex;flex-direction:row;align-items:center}.__document .aside .aside-li.on{background-color:var(--bg-aside-on-cor)}.__document .aside .aside-li .aside-li-name{width:100%}.__document .aside .aside-li .aside-li-name .aside-li-name-alias{font-size:var(--fs-2)}.__document .aside .aside-li .aside-li-name .aside-li-name-aliass{font-size:var(--fs-1)}.__document .md{position:relative}.__document .md-top-name{padding:10px;font-size:16px;font-weight:700}.__document .use .use-component{padding:10px;display:flex;justify-content:center;align-items:center;height:300px;background-color:var(--bg-use-component-cor)}.__document .set-code .set-code-buts{display:flex;align-items:center}.__document .form-item.error{background-color:var(--te-test-err-cor)}.__document .compo-info .compo-info-name-span{font-size:18px;font-weight:700;padding:10px 0}.__document .compo .compo-top .compo-top-name{padding:10px;font-size:var(--fs-4)}.__document .compo .compo-top .compo-top-name .compo-top-name-li{font-size:var(--fs-2)}.__document .compo .compo-top .compo-top-info{padding:10px;display:flex;flex-direction:row;align-items:center}.__document .compo .compo-top .compo-top-info .compo-top-athor,.__document .compo .compo-top .compo-top-info .compo-top-date{flex:1;display:flex;flex-direction:row;align-items:center}.__document .compo .compo-top .compo-top-descriptions{padding:0 10px;font-size:var(--fs-2)}.__document .compo .compo-li h4{margin:10px 0 0;padding:10px}.__document .compo .compo-li .compo-talbe{width:100%}.__document .compo .compo-li .compo-talbe .compo-talbe-body{border:1px solid var(--bor-cor);width:100%}.__document .compo .compo-li .compo-talbe .compo-talbe-body td,.__document .compo .compo-li .compo-talbe .compo-talbe-body th{padding:5px 10px;border-bottom:1px solid var(--bor-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body th{background-color:var(--bg-table-th-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body td{background-color:var(--bg-table-td-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body tr:last-child td{border-bottom:0}.__document .compo .compo-li .compo-talbe .compo-talbe-body .compo-talbe-zw{width:100%;text-align:center;padding:10px}.__document .compo .compo-md{padding:10px;background-color:var(--bg-md-cor)}.__document .compo .compo-use{padding:10px;background-color:var(--bg-use-cor)}.__document .main .main-but{text-align:right;display:flex;flex-direction:row;align-items:center}.__document .test.error .test-top-top{background-color:var(--bg-test-err-cor)}.__document .test.proposal .test-top-top{background-color:var(--bg-test-pro-cor)}.__document .test.error-proposal .test-top-top{background-color:var(--bg-test-err-pro-cor)}.__document .test .test-top .test-top-top{padding:10px;background-color:var(--bg-test-cor)}.__document .test .test-top .test-top-error{color:var(--te-test-err-cor)}.__document .test .test-top .test-top-proposal{color:var(--te-test-pro-cor)}.__document .test .test-div .test-body{padding:10px;background-color:var(--bg-test-body)}.__document .code{padding:0}.__document .code .code-top .code-top-but,.__document .code .code-top .code-top-but .top-but-files{display:flex;flex-direction:row;align-items:center}.__document .code .code-highlightjs{padding:0}.__document .code .code-highlightjs .hljs{background-color:var(--bg-code-highlig)}.__document .box-url{position:relative}.__document .box-url:hover .box-url-box{display:block}.__document .box-url .box-url-box{position:fixed;top:25px;display:none;background-color:var(--bg-box-cor);font-size:var(--fs-1);color:var(--text-cor);z-index:100000}.__document .box-url .box-url-box .box-div-li{height:20px;line-height:20px;display:flex;flex-direction:row;align-items:center}.__document .box-url .box-url-box .box-div-li .box-div-li-span{white-space:nowrap;padding:5px 10px}.__document .box-url .box-url-box .box-div-but{padding:10px;cursor:pointer}.__document .box-url .box-url-box .box-div-but:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__document .box-url .box-url-box .box-div-but{color:var(--but-cor)}.__document .__document-index{width:100%;height:100%;padding:0;margin:0;display:flex;flex-direction:row}.__document .__document-index .index-aside{position:relative;z-index:100}.__document .__document-index .index-aside .index-aside-div{height:100%;overflow-y:auto;background-color:var(--bg-aside-cor)}.__document .__document-index .index-body{flex:1;position:relative;background-color:var(--bg-index-cor)}.__document .__document-index .index-body .index-div{padding:20px;position:absolute;inset:0;overflow-y:auto}.__document .__document-tests{padding:10px;height:100%;box-sizing:border-box;position:relative}.__document .__document-tests .tests-top .but-div.on{background-color:var(--bg-aside-on-cor)}.__document .__document-develop,.__document .__document-single{padding:10px;height:100%;box-sizing:border-box;position:relative}.__document .__document-single .single-top .single-top-li{display:flex;flex-direction:row;align-items:center}.__document .__document-single .single-top .single-top-li .single-top-li-span{padding:5px 10px}.__document .__document-compon{height:100%;width:100%;box-sizing:border-box;position:relative;display:flex}.__document .__document-compon .__document-compon-body{background-color:var(--bg-index-cor);box-sizing:border-box;padding:10px;flex:1;overflow-y:auto}.__document .__document-compon .__document-compon-body.choice{padding-left:30px}.__document .__document-compon .__document-compon-choice{display:flex;overflow-y:auto;background-color:var(--bg-aside-cor)}.__document .__document-compon .__document-compon-choice .aside{width:250px;overflow:hidden}.__document .__document-compon .__document-compon-choice .__document-compon-choice-but{cursor:pointer}.__document .__document-compon .__document-compon-choice .__document-compon-choice-but:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.form-input-text{padding:10px;height:160px;width:100%;box-sizing:border-box}.editor-div{padding:10px;height:160px;background-color:#eee}.editor-div .editor-code{height:100%;width:100%;min-height:80px;background-color:#fff}.form-input{font-size:16px}.form-select{position:relative;font-size:16px}.form-select .form-select-input{padding:10px;width:100%;font-size:16px;box-sizing:border-box}.form-select .form-select-box{position:absolute;width:100%;z-index:100;background-color:#000;text-align:center}.form-select .form-select-box .form-select-list-div{border:1px solid #000000}.form-select .form-select-box .form-select-list-div .form-select-list-li{background-color:#e9e9e9;padding:10px;cursor:pointer;border-bottom:1px solid #000000}.form-select{position:relative}.form-select .form-select-box{position:absolute;background-color:#fff;text-align:center}.form-select .form-select-box .form-select-list-div{border:1px solid #fff}.form-select .form-select-box .form-select-list-div .form-select-list-li{padding:10px;border-bottom:1px solid #eee}.form-select .form-select-box .form-select-list-div .form-select-list-li:last-child{border:0}.form-select .form-select-box .form-select-list-div .form-select-list-li.active{color:#0051ff}.form-boolean{display:flex;font-size:16px;padding:10px}.form-boolean .form-boolean-div{margin-right:10px}.form-string{font-size:16px}.form-string .form-string-text{padding:10px;width:100%;box-sizing:border-box}.form-number{font-size:16px}.form-number .form-number-input{padding:10px;width:100%;box-sizing:border-box}.com-retrie .com-retrie-li .com-retrie-label{padding:5px 0}.set-emit .set-emit-li{padding:10px}.set-emit .set-emit-name{font-size:18px;padding:5px 0}.set-emit .set-emit-value{font-size:16px;background-color:azure}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#2f3337;background:#f6f6f6}.hljs-subst{color:#2f3337}.hljs-comment{color:#656e77}.hljs-keyword,.hljs-selector-tag,.hljs-meta .hljs-keyword,.hljs-doctag,.hljs-section,.hljs-attr{color:#015692}.hljs-attribute{color:#803378}.hljs-name,.hljs-type,.hljs-number,.hljs-selector-id,.hljs-quote,.hljs-template-tag{color:#b75501}.hljs-selector-class{color:#015692}.hljs-string,.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr{color:#54790d}.hljs-meta,.hljs-selector-pseudo{color:#015692}.hljs-built_in,.hljs-title,.hljs-literal{color:#b75501}.hljs-bullet,.hljs-code{color:#535a60}.hljs-meta .hljs-string{color:#54790d}.hljs-deletion{color:#c02d2e}.hljs-addition{color:#2f6f44}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.expose .expose-label{padding:10px 0;font-size:18px}.expose .expose-return{padding:5px;background-color:azure}.set-expose .set-expose-li{position:relative}.set-expose .set-expose-li .set-expose-delete{color:red;position:absolute;right:20px;top:10px}.code-edit{padding:10px;display:flex}.code-edit .edit-input{flex:1}.code-edit .edit-effect{flex:1;margin-right:10px}
|
|
1
|
+
:root{--bor-cor: rgb(239, 248, 255);--but-cor: rgb(27, 155, 253);--but-hover-cor: rgb(0, 145, 255);--bg-but-hover-cor: rgb(128, 199, 253);--bg-aside-cor: rgb(228, 251, 197);--bg-aside-on-cor: rgb(78, 184, 250);--bg-index-cor: rgb(248, 248, 248);--bg-table-th-cor: rgb(207, 246, 251);--bg-table-td-cor: rgb(221, 243, 246);--bg-test-cor: rgb(247, 255, 251);--bg-test-err-cor: rgb(255, 210, 210);--bg-test-pro-cor: rgb(203, 246, 255);--bg-test-err-pro-cor: rgb(251, 203, 255);--te-test-err-cor: rgb(247, 56, 56);--te-test-pro-cor: rgb(106, 131, 255);--bg-test-body: rgb(255, 255, 255);--bg-code-highlig: rgb(255, 251, 223);--bg-code: rgb(255, 255, 255);--bg-box-cor: rgb(227, 227, 227);--bg-md-cor: rgb(255, 233, 243);--bg-use-cor: rgb(255, 255, 255);--bg-use-component-cor: rgb(255, 255, 255);--text-cor: rgb(0, 0, 0);--fs-1: 12px;--fs-2: 14px;--fs-3: 16px;--fs-4: 18px;--fs-5: 20px}.__document{position:fixed;top:0;left:0;width:100vw;height:100vh;overflow:auto;text-align:left;width:100%;height:100%;padding:0;margin:0}.__document .but-div{cursor:pointer}.__document .but-div:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__document .but-div{color:var(--but-cor);padding:5px 10px}.__document .aside{width:100%;overflow:hidden;padding:10px;box-sizing:border-box}.__document .aside .aside-search{width:100%;box-sizing:border-box;margin-bottom:10px}.__document .aside .aside-search .aside-search-input{width:100%;height:30px;border-radius:4px;box-sizing:border-box}.__document .aside .aside-li{padding:5px 10px;height:60px;font-size:20px;font-weight:600;border-radius:4px;border-bottom:1px solid var(--bor-cor);cursor:pointer}.__document .aside .aside-li:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__document .aside .aside-li{display:flex;flex-direction:row;align-items:center}.__document .aside .aside-li.on{background-color:var(--bg-aside-on-cor)}.__document .aside .aside-li .aside-li-name{width:100%}.__document .aside .aside-li .aside-li-name .aside-li-name-alias{font-size:var(--fs-2)}.__document .aside .aside-li .aside-li-name .aside-li-name-aliass{font-size:var(--fs-1)}.__document .md{position:relative}.__document .md-top-name{padding:10px;font-size:16px;font-weight:700}.__document .use .use-component{padding:10px;display:flex;justify-content:center;align-items:center;height:300px;background-color:var(--bg-use-component-cor)}.__document .set-code .set-code-buts{display:flex;align-items:center}.__document .form-item.error{background-color:var(--te-test-err-cor)}.__document .compo-info .compo-info-name-span{font-size:18px;font-weight:700;padding:10px 0}.__document .compo .compo-top .compo-top-name{padding:10px;font-size:var(--fs-4)}.__document .compo .compo-top .compo-top-name .compo-top-name-li{font-size:var(--fs-2)}.__document .compo .compo-top .compo-top-info{padding:10px;display:flex;flex-direction:row;align-items:center}.__document .compo .compo-top .compo-top-info .compo-top-athor,.__document .compo .compo-top .compo-top-info .compo-top-date{flex:1;display:flex;flex-direction:row;align-items:center}.__document .compo .compo-top .compo-top-descriptions{padding:0 10px;font-size:var(--fs-2)}.__document .compo .compo-li h4{margin:10px 0 0;padding:10px}.__document .compo .compo-li .compo-talbe{width:100%}.__document .compo .compo-li .compo-talbe .compo-talbe-body{border:1px solid var(--bor-cor);width:100%}.__document .compo .compo-li .compo-talbe .compo-talbe-body td,.__document .compo .compo-li .compo-talbe .compo-talbe-body th{padding:5px 10px;border-bottom:1px solid var(--bor-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body th{background-color:var(--bg-table-th-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body td{background-color:var(--bg-table-td-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body tr:last-child td{border-bottom:0}.__document .compo .compo-li .compo-talbe .compo-talbe-body .compo-talbe-zw{width:100%;text-align:center;padding:10px}.__document .compo .compo-md{padding:10px;background-color:var(--bg-md-cor)}.__document .compo .compo-use{padding:10px;background-color:var(--bg-use-cor)}.__document .main .main-but{text-align:right;display:flex;flex-direction:row;align-items:center}.__document .test.error .test-top-top{background-color:var(--bg-test-err-cor)}.__document .test.proposal .test-top-top{background-color:var(--bg-test-pro-cor)}.__document .test.error-proposal .test-top-top{background-color:var(--bg-test-err-pro-cor)}.__document .test .test-top .test-top-top{padding:10px;background-color:var(--bg-test-cor)}.__document .test .test-top .test-top-error{color:var(--te-test-err-cor)}.__document .test .test-top .test-top-proposal{color:var(--te-test-pro-cor)}.__document .test .test-div .test-body{overflow:hidden;box-sizing:border-box;padding:10px;background-color:var(--bg-test-body)}.__document .code{padding:0}.__document .code .code-top .code-top-but,.__document .code .code-top .code-top-but .top-but-files{display:flex;flex-direction:row;align-items:center}.__document .code .code-highlightjs{padding:0}.__document .code .code-highlightjs .hljs{background-color:var(--bg-code-highlig)}.__document .box-url{position:relative}.__document .box-url:hover .box-url-box{display:block}.__document .box-url .box-url-box{position:fixed;top:25px;display:none;background-color:var(--bg-box-cor);font-size:var(--fs-1);color:var(--text-cor);z-index:100000}.__document .box-url .box-url-box .box-div-li{height:20px;line-height:20px;display:flex;flex-direction:row;align-items:center}.__document .box-url .box-url-box .box-div-li .box-div-li-span{white-space:nowrap;padding:5px 10px}.__document .box-url .box-url-box .box-div-but{padding:10px;cursor:pointer}.__document .box-url .box-url-box .box-div-but:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__document .box-url .box-url-box .box-div-but{color:var(--but-cor)}.__document .__document-index{width:100%;height:100%;padding:0;margin:0;display:flex;flex-direction:row}.__document .__document-index .index-aside{position:relative;z-index:100}.__document .__document-index .index-aside .index-aside-div{height:100%;overflow-y:auto;background-color:var(--bg-aside-cor)}.__document .__document-index .index-body{flex:1;position:relative;background-color:var(--bg-index-cor)}.__document .__document-index .index-body .index-div{padding:20px;position:absolute;inset:0;overflow-y:auto}.__document .__document-tests{padding:10px;height:100%;box-sizing:border-box;position:relative}.__document .__document-tests .tests-top .but-div.on{background-color:var(--bg-aside-on-cor)}.__document .__document-develop,.__document .__document-single{padding:10px;height:100%;box-sizing:border-box;position:relative}.__document .__document-single .single-top .single-top-li{display:flex;flex-direction:row;align-items:center}.__document .__document-single .single-top .single-top-li .single-top-li-span{padding:5px 10px}.__document .__document-compon{height:100%;width:100%;box-sizing:border-box;position:relative;display:flex}.__document .__document-compon .__document-compon-body{background-color:var(--bg-index-cor);box-sizing:border-box;padding:10px;flex:1;overflow-y:auto}.__document .__document-compon .__document-compon-body.choice{padding-left:30px}.__document .__document-compon .__document-compon-choice{display:flex;overflow-y:auto;background-color:var(--bg-aside-cor)}.__document .__document-compon .__document-compon-choice .aside{width:250px;overflow:hidden}.__document .__document-compon .__document-compon-choice .__document-compon-choice-but{cursor:pointer}.__document .__document-compon .__document-compon-choice .__document-compon-choice-but:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.form-input-text{padding:10px;height:160px;width:100%;box-sizing:border-box}.editor-div{padding:10px;height:160px;background-color:#eee}.editor-div .editor-code{height:100%;width:100%;min-height:80px;background-color:#fff}.form-input{font-size:16px}.form-select{position:relative;font-size:16px}.form-select .form-select-input{padding:10px;width:100%;font-size:16px;box-sizing:border-box}.form-select .form-select-box{position:absolute;width:100%;z-index:100;background-color:#000;text-align:center}.form-select .form-select-box .form-select-list-div{border:1px solid #000000}.form-select .form-select-box .form-select-list-div .form-select-list-li{background-color:#e9e9e9;padding:10px;cursor:pointer;border-bottom:1px solid #000000}.form-select{position:relative}.form-select .form-select-box{position:absolute;background-color:#fff;text-align:center}.form-select .form-select-box .form-select-list-div{border:1px solid #fff}.form-select .form-select-box .form-select-list-div .form-select-list-li{padding:10px;border-bottom:1px solid #eee}.form-select .form-select-box .form-select-list-div .form-select-list-li:last-child{border:0}.form-select .form-select-box .form-select-list-div .form-select-list-li.active{color:#0051ff}.form-boolean{display:flex;font-size:16px;padding:10px}.form-boolean .form-boolean-div{margin-right:10px}.form-string{font-size:16px}.form-string .form-string-text{padding:10px;width:100%;box-sizing:border-box}.form-number{font-size:16px}.form-number .form-number-input{padding:10px;width:100%;box-sizing:border-box}.com-retrie .com-retrie-li .com-retrie-label{padding:5px 0}.set-emit .set-emit-li{padding:10px}.set-emit .set-emit-name{font-size:18px;padding:5px 0}.set-emit .set-emit-value{font-size:16px;background-color:azure}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#2f3337;background:#f6f6f6}.hljs-subst{color:#2f3337}.hljs-comment{color:#656e77}.hljs-keyword,.hljs-selector-tag,.hljs-meta .hljs-keyword,.hljs-doctag,.hljs-section,.hljs-attr{color:#015692}.hljs-attribute{color:#803378}.hljs-name,.hljs-type,.hljs-number,.hljs-selector-id,.hljs-quote,.hljs-template-tag{color:#b75501}.hljs-selector-class{color:#015692}.hljs-string,.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr{color:#54790d}.hljs-meta,.hljs-selector-pseudo{color:#015692}.hljs-built_in,.hljs-title,.hljs-literal{color:#b75501}.hljs-bullet,.hljs-code{color:#535a60}.hljs-meta .hljs-string{color:#54790d}.hljs-deletion{color:#c02d2e}.hljs-addition{color:#2f6f44}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.expose .expose-label{padding:10px 0;font-size:18px}.expose .expose-return{padding:5px;background-color:azure}.set-expose .set-expose-li{position:relative}.set-expose .set-expose-li .set-expose-delete{color:red;position:absolute;right:20px;top:10px}.code-edit{padding:10px;display:flex}.code-edit .edit-input{flex:1}.code-edit .edit-effect{flex:1;margin-right:10px}
|
package/dist/node/index.cjs
CHANGED
|
@@ -87,12 +87,12 @@ __export(index_exports, {
|
|
|
87
87
|
});
|
|
88
88
|
module.exports = __toCommonJS(index_exports);
|
|
89
89
|
|
|
90
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
90
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
|
|
91
91
|
function isArray(obj2) {
|
|
92
92
|
return Object.prototype.toString.call(obj2) == "[object Array]";
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
95
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
|
|
96
96
|
function getStartSames(str, val) {
|
|
97
97
|
let s = "";
|
|
98
98
|
const vs = [...val];
|
|
@@ -108,7 +108,7 @@ function getStartSames(str, val) {
|
|
|
108
108
|
return [s, str.substring(index), val.substring(index)];
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
111
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-KDOS4NFR.js
|
|
112
112
|
function getImportUrl(url, imp) {
|
|
113
113
|
const arr = getStartSames(url, imp);
|
|
114
114
|
const ts2 = arr[0];
|
|
@@ -132,12 +132,12 @@ function getImportUrl(url, imp) {
|
|
|
132
132
|
return ds.join("") + arr[2].replace(/\\/g, "/");
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
135
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
|
|
136
136
|
function firstUpper(str) {
|
|
137
137
|
return str.slice(0, 1).toUpperCase() + str.slice(1);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
140
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
|
|
141
141
|
function lineToLargeHump(name) {
|
|
142
142
|
let arr = name.split("-");
|
|
143
143
|
arr = arr.map((vs) => {
|
|
@@ -846,7 +846,7 @@ function runDev(config2, configCallback) {
|
|
|
846
846
|
return new FangMd(config2, configCallback);
|
|
847
847
|
}
|
|
848
848
|
|
|
849
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
849
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-NCSN3MC5.js
|
|
850
850
|
var zObj = {
|
|
851
851
|
"<": "<",
|
|
852
852
|
">": ">",
|
|
@@ -867,7 +867,7 @@ function htmlEscape(str) {
|
|
|
867
867
|
// packages/node/index.ts
|
|
868
868
|
var import_node_path = require("path");
|
|
869
869
|
|
|
870
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
870
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
|
|
871
871
|
function mergeObject(a, b, j = 0, i) {
|
|
872
872
|
if (a instanceof Array) {
|
|
873
873
|
if (j > 0 && i) {
|
|
@@ -921,54 +921,139 @@ function getConfig(key) {
|
|
|
921
921
|
return config[key];
|
|
922
922
|
}
|
|
923
923
|
|
|
924
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
925
|
-
function
|
|
926
|
-
const result =
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
const customBlockRegex = /<([a-z][a-z0-9-]*)([\s\S]*?)>([\s\S]*?)<\/\1>/g;
|
|
952
|
-
let customMatch;
|
|
953
|
-
while ((customMatch = customBlockRegex.exec(content)) !== null) {
|
|
954
|
-
if (!["template", "script", "style"].includes(customMatch[1])) {
|
|
955
|
-
result.customBlocks.push({
|
|
956
|
-
type: customMatch[1],
|
|
957
|
-
content: customMatch[3]
|
|
958
|
-
});
|
|
924
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-H3AJ6I4R.js
|
|
925
|
+
function getBlocks(content) {
|
|
926
|
+
const result = [];
|
|
927
|
+
function findMatchingEndTag(content2, startIndex, tagName) {
|
|
928
|
+
const endTag = `</${tagName}>`;
|
|
929
|
+
let i2 = startIndex;
|
|
930
|
+
let depth = 1;
|
|
931
|
+
while (i2 < content2.length) {
|
|
932
|
+
const nextOpen = content2.indexOf("<", i2);
|
|
933
|
+
if (nextOpen === -1) return -1;
|
|
934
|
+
if (content2[nextOpen + 1] === "/") {
|
|
935
|
+
if (content2.substring(nextOpen, nextOpen + endTag.length) === endTag) {
|
|
936
|
+
depth--;
|
|
937
|
+
if (depth === 0) {
|
|
938
|
+
return nextOpen;
|
|
939
|
+
}
|
|
940
|
+
i2 = nextOpen + endTag.length;
|
|
941
|
+
} else {
|
|
942
|
+
i2 = nextOpen + 1;
|
|
943
|
+
}
|
|
944
|
+
} else {
|
|
945
|
+
const nextTagMatch = content2.substring(nextOpen).match(/^<([a-zA-Z][a-zA-Z0-9\-]*)/);
|
|
946
|
+
if (nextTagMatch && nextTagMatch[1].toLowerCase() === tagName.toLowerCase()) {
|
|
947
|
+
depth++;
|
|
948
|
+
}
|
|
949
|
+
i2 = nextOpen + 1;
|
|
950
|
+
}
|
|
959
951
|
}
|
|
952
|
+
return -1;
|
|
953
|
+
}
|
|
954
|
+
let i = 0;
|
|
955
|
+
while (i < content.length) {
|
|
956
|
+
const openTagIndex = content.indexOf("<", i);
|
|
957
|
+
if (openTagIndex === -1) break;
|
|
958
|
+
if (content[openTagIndex + 1] === "/") {
|
|
959
|
+
i = openTagIndex + 1;
|
|
960
|
+
continue;
|
|
961
|
+
}
|
|
962
|
+
const tagMatch = content.substring(openTagIndex).match(/^<([a-zA-Z][a-zA-Z0-9\-]*)/);
|
|
963
|
+
if (!tagMatch) {
|
|
964
|
+
i = openTagIndex + 1;
|
|
965
|
+
continue;
|
|
966
|
+
}
|
|
967
|
+
const tagName = tagMatch[1].toLowerCase();
|
|
968
|
+
let startTagEnd = openTagIndex + tagMatch[0].length;
|
|
969
|
+
let inQuotes = false;
|
|
970
|
+
let quoteChar = "";
|
|
971
|
+
while (startTagEnd < content.length) {
|
|
972
|
+
const char = content[startTagEnd];
|
|
973
|
+
if (!inQuotes) {
|
|
974
|
+
if (char === ">") {
|
|
975
|
+
startTagEnd++;
|
|
976
|
+
break;
|
|
977
|
+
} else if (char === '"' || char === "'") {
|
|
978
|
+
inQuotes = true;
|
|
979
|
+
quoteChar = char;
|
|
980
|
+
}
|
|
981
|
+
} else {
|
|
982
|
+
if (char === quoteChar && content[startTagEnd - 1] !== "\\") {
|
|
983
|
+
inQuotes = false;
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
startTagEnd++;
|
|
987
|
+
}
|
|
988
|
+
if (startTagEnd >= content.length) {
|
|
989
|
+
i = openTagIndex + 1;
|
|
990
|
+
continue;
|
|
991
|
+
}
|
|
992
|
+
const endTagIndex = findMatchingEndTag(content, startTagEnd, tagName);
|
|
993
|
+
if (endTagIndex === -1) {
|
|
994
|
+
if (content.substring(startTagEnd - 2, startTagEnd) === "/>") {
|
|
995
|
+
const selfClosingBlock = content.substring(
|
|
996
|
+
openTagIndex,
|
|
997
|
+
startTagEnd
|
|
998
|
+
);
|
|
999
|
+
result.push({
|
|
1000
|
+
type: tagName,
|
|
1001
|
+
content: "",
|
|
1002
|
+
block: selfClosingBlock
|
|
1003
|
+
});
|
|
1004
|
+
i = startTagEnd;
|
|
1005
|
+
} else {
|
|
1006
|
+
i = startTagEnd;
|
|
1007
|
+
}
|
|
1008
|
+
continue;
|
|
1009
|
+
}
|
|
1010
|
+
const endTagLength = `</${tagName}>`.length;
|
|
1011
|
+
const tagContent = content.substring(startTagEnd, endTagIndex).trim();
|
|
1012
|
+
const wholeBlock = content.substring(
|
|
1013
|
+
openTagIndex,
|
|
1014
|
+
endTagIndex + endTagLength
|
|
1015
|
+
);
|
|
1016
|
+
result.push({
|
|
1017
|
+
type: tagName,
|
|
1018
|
+
content: tagContent,
|
|
1019
|
+
block: wholeBlock
|
|
1020
|
+
});
|
|
1021
|
+
i = endTagIndex + endTagLength;
|
|
960
1022
|
}
|
|
961
1023
|
return result;
|
|
962
1024
|
}
|
|
1025
|
+
function filterBlocksByType(blocks, type) {
|
|
1026
|
+
return blocks.filter((block) => block.type === type);
|
|
1027
|
+
}
|
|
1028
|
+
function getVueComponents(content) {
|
|
1029
|
+
const blocks = getBlocks(content);
|
|
1030
|
+
return {
|
|
1031
|
+
templates: filterBlocksByType(blocks, "template"),
|
|
1032
|
+
scripts: filterBlocksByType(blocks, "script"),
|
|
1033
|
+
styles: filterBlocksByType(blocks, "style"),
|
|
1034
|
+
customBlocks: blocks.filter(
|
|
1035
|
+
(block) => !["template", "script", "style"].includes(block.type)
|
|
1036
|
+
)
|
|
1037
|
+
};
|
|
1038
|
+
}
|
|
963
1039
|
function getVueTexts(content) {
|
|
964
|
-
const obj2 =
|
|
1040
|
+
const obj2 = getVueComponents(content);
|
|
1041
|
+
return {
|
|
1042
|
+
templates: obj2.templates,
|
|
1043
|
+
scripts: obj2.scripts,
|
|
1044
|
+
styles: obj2.styles
|
|
1045
|
+
};
|
|
1046
|
+
}
|
|
1047
|
+
function getVueText(content) {
|
|
1048
|
+
const obj2 = getVueTexts(content);
|
|
965
1049
|
return {
|
|
966
|
-
|
|
967
|
-
|
|
1050
|
+
template: obj2.templates.map((o) => o.content).join("\n"),
|
|
1051
|
+
script: obj2.scripts.map((o) => o.content).join("\n"),
|
|
1052
|
+
style: obj2.styles.map((o) => o.content).join("\n")
|
|
968
1053
|
};
|
|
969
1054
|
}
|
|
970
1055
|
|
|
971
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
1056
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
|
|
972
1057
|
function humpToLine(name) {
|
|
973
1058
|
const reg = /(([A-Z])([^A-Z]*))/g;
|
|
974
1059
|
let result;
|
|
@@ -990,12 +1075,12 @@ function humpToLine(name) {
|
|
|
990
1075
|
}
|
|
991
1076
|
}
|
|
992
1077
|
|
|
993
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
1078
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
|
|
994
1079
|
function firstLower(str) {
|
|
995
1080
|
return str.slice(0, 1).toLowerCase() + str.slice(1);
|
|
996
1081
|
}
|
|
997
1082
|
|
|
998
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
1083
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
|
|
999
1084
|
function asyncMergeArray(arr, callback) {
|
|
1000
1085
|
return new Promise((resolve2, reject) => {
|
|
1001
1086
|
let index = 0;
|
|
@@ -1019,7 +1104,7 @@ function asyncMergeArray(arr, callback) {
|
|
|
1019
1104
|
});
|
|
1020
1105
|
}
|
|
1021
1106
|
|
|
1022
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
1107
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-Z7NTQAAJ.js
|
|
1023
1108
|
function getSuffix2(url) {
|
|
1024
1109
|
const reg = /\.([a-z|A-Z][a-z|A-Z|0-9]*)$/;
|
|
1025
1110
|
const regs = reg.exec(url);
|
|
@@ -1029,7 +1114,7 @@ function getSuffix2(url) {
|
|
|
1029
1114
|
return "";
|
|
1030
1115
|
}
|
|
1031
1116
|
|
|
1032
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
1117
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-S6JRKYPY.js
|
|
1033
1118
|
function matchsStart2(key, matchs) {
|
|
1034
1119
|
if (matchs && matchs.length > 0) {
|
|
1035
1120
|
for (const value of matchs) {
|
|
@@ -1049,7 +1134,7 @@ function matchsStart2(key, matchs) {
|
|
|
1049
1134
|
}
|
|
1050
1135
|
}
|
|
1051
1136
|
|
|
1052
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
1137
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-YNOFNHEK.js
|
|
1053
1138
|
function matchsEnd2(key, matchs) {
|
|
1054
1139
|
if (matchs && matchs.length > 0) {
|
|
1055
1140
|
for (const value of matchs) {
|
|
@@ -1341,7 +1426,7 @@ function getRawValue(comRaw, key) {
|
|
|
1341
1426
|
}
|
|
1342
1427
|
}
|
|
1343
1428
|
|
|
1344
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
1429
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-FS4JPT23.js
|
|
1345
1430
|
function deComment(code) {
|
|
1346
1431
|
let output = "";
|
|
1347
1432
|
let state = "code";
|
|
@@ -1433,7 +1518,7 @@ function deComment(code) {
|
|
|
1433
1518
|
return output;
|
|
1434
1519
|
}
|
|
1435
1520
|
|
|
1436
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
1521
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-N5Y3XGHX.js
|
|
1437
1522
|
function getImports(code, includeType = false) {
|
|
1438
1523
|
code = deComment(code);
|
|
1439
1524
|
const imports = /* @__PURE__ */ new Set();
|
|
@@ -1580,7 +1665,7 @@ function getURLalias(value) {
|
|
|
1580
1665
|
async function getImport(text, type) {
|
|
1581
1666
|
let jstext = "";
|
|
1582
1667
|
if (type == "vue") {
|
|
1583
|
-
jstext =
|
|
1668
|
+
jstext = getVueText(text).script;
|
|
1584
1669
|
} else if (type == "js" || type == "ts" || type == "") {
|
|
1585
1670
|
jstext = text;
|
|
1586
1671
|
}
|
|
@@ -2337,7 +2422,7 @@ function getSlotValue(arr) {
|
|
|
2337
2422
|
});
|
|
2338
2423
|
}
|
|
2339
2424
|
|
|
2340
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2425
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/primitives.js
|
|
2341
2426
|
var Markers;
|
|
2342
2427
|
(function(Markers2) {
|
|
2343
2428
|
Markers2["start"] = "/**";
|
|
@@ -2346,7 +2431,7 @@ var Markers;
|
|
|
2346
2431
|
Markers2["end"] = "*/";
|
|
2347
2432
|
})(Markers || (Markers = {}));
|
|
2348
2433
|
|
|
2349
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2434
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/util.js
|
|
2350
2435
|
function isSpace(source) {
|
|
2351
2436
|
return /^\s+$/.test(source);
|
|
2352
2437
|
}
|
|
@@ -2368,7 +2453,7 @@ function seedTokens(tokens = {}) {
|
|
|
2368
2453
|
return Object.assign({ start: "", delimiter: "", postDelimiter: "", tag: "", postTag: "", name: "", postName: "", type: "", postType: "", description: "", end: "", lineEnd: "" }, tokens);
|
|
2369
2454
|
}
|
|
2370
2455
|
|
|
2371
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2456
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/block-parser.js
|
|
2372
2457
|
var reTag = /^@[^\s/]+(?=\s|$)/;
|
|
2373
2458
|
function getParser({ fence = "```" } = {}) {
|
|
2374
2459
|
const fencer = getFencer(fence);
|
|
@@ -2393,7 +2478,7 @@ function getFencer(fence) {
|
|
|
2393
2478
|
return fence;
|
|
2394
2479
|
}
|
|
2395
2480
|
|
|
2396
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2481
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/source-parser.js
|
|
2397
2482
|
function getParser2({ startLine = 0, markers = Markers } = {}) {
|
|
2398
2483
|
let block = null;
|
|
2399
2484
|
let num = startLine;
|
|
@@ -2435,7 +2520,7 @@ function getParser2({ startLine = 0, markers = Markers } = {}) {
|
|
|
2435
2520
|
};
|
|
2436
2521
|
}
|
|
2437
2522
|
|
|
2438
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2523
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/spec-parser.js
|
|
2439
2524
|
function getParser3({ tokenizers }) {
|
|
2440
2525
|
return function parseSpec(source) {
|
|
2441
2526
|
var _a;
|
|
@@ -2449,7 +2534,7 @@ function getParser3({ tokenizers }) {
|
|
|
2449
2534
|
};
|
|
2450
2535
|
}
|
|
2451
2536
|
|
|
2452
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2537
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/tokenizers/tag.js
|
|
2453
2538
|
function tagTokenizer() {
|
|
2454
2539
|
return (spec) => {
|
|
2455
2540
|
const { tokens } = spec.source[0];
|
|
@@ -2474,7 +2559,7 @@ function tagTokenizer() {
|
|
|
2474
2559
|
};
|
|
2475
2560
|
}
|
|
2476
2561
|
|
|
2477
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2562
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/tokenizers/type.js
|
|
2478
2563
|
function typeTokenizer(spacing = "compact") {
|
|
2479
2564
|
const join5 = getJoiner(spacing);
|
|
2480
2565
|
return (spec) => {
|
|
@@ -2544,20 +2629,24 @@ function getJoiner(spacing) {
|
|
|
2544
2629
|
return spacing;
|
|
2545
2630
|
}
|
|
2546
2631
|
|
|
2547
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2632
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/tokenizers/name.js
|
|
2548
2633
|
var isQuoted = (s) => s && s.startsWith('"') && s.endsWith('"');
|
|
2549
2634
|
function nameTokenizer() {
|
|
2550
2635
|
const typeEnd = (num, { tokens }, i) => tokens.type === "" ? num : i;
|
|
2551
2636
|
return (spec) => {
|
|
2552
2637
|
let finalTypeLine = spec.source.reduce(typeEnd, 0);
|
|
2553
2638
|
let tokens;
|
|
2554
|
-
|
|
2639
|
+
if (spec.type) {
|
|
2640
|
+
do {
|
|
2641
|
+
({ tokens } = spec.source[finalTypeLine]);
|
|
2642
|
+
if (tokens.description.trim()) {
|
|
2643
|
+
break;
|
|
2644
|
+
}
|
|
2645
|
+
finalTypeLine++;
|
|
2646
|
+
} while (spec.source[finalTypeLine]);
|
|
2647
|
+
} else {
|
|
2555
2648
|
({ tokens } = spec.source[finalTypeLine]);
|
|
2556
|
-
|
|
2557
|
-
break;
|
|
2558
|
-
}
|
|
2559
|
-
finalTypeLine++;
|
|
2560
|
-
} while (spec.source[finalTypeLine]);
|
|
2649
|
+
}
|
|
2561
2650
|
const source = tokens.description.trimStart();
|
|
2562
2651
|
const quotedGroups = source.split('"');
|
|
2563
2652
|
if (quotedGroups.length > 1 && quotedGroups[0] === "" && quotedGroups.length % 2 === 1) {
|
|
@@ -2634,7 +2723,7 @@ function nameTokenizer() {
|
|
|
2634
2723
|
};
|
|
2635
2724
|
}
|
|
2636
2725
|
|
|
2637
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2726
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/tokenizers/description.js
|
|
2638
2727
|
function descriptionTokenizer(spacing = "compact", markers = Markers) {
|
|
2639
2728
|
const join5 = getJoiner2(spacing);
|
|
2640
2729
|
return (spec) => {
|
|
@@ -2666,7 +2755,7 @@ function preserveJoiner(lines, markers = Markers) {
|
|
|
2666
2755
|
return lines.map(getDescription).join("\n");
|
|
2667
2756
|
}
|
|
2668
2757
|
|
|
2669
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2758
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/index.js
|
|
2670
2759
|
function getParser4({ startLine = 0, fence = "```", spacing = "compact", markers = Markers, tokenizers = [
|
|
2671
2760
|
tagTokenizer(),
|
|
2672
2761
|
typeTokenizer(spacing),
|
|
@@ -2698,7 +2787,7 @@ function getParser4({ startLine = 0, fence = "```", spacing = "compact", markers
|
|
|
2698
2787
|
};
|
|
2699
2788
|
}
|
|
2700
2789
|
|
|
2701
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2790
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/stringifier/index.js
|
|
2702
2791
|
function join3(tokens) {
|
|
2703
2792
|
return tokens.start + tokens.delimiter + tokens.postDelimiter + tokens.tag + tokens.postTag + tokens.type + tokens.postType + tokens.name + tokens.postName + tokens.description + tokens.end + tokens.lineEnd;
|
|
2704
2793
|
}
|
|
@@ -2706,7 +2795,7 @@ function getStringifier() {
|
|
|
2706
2795
|
return (block) => block.source.map(({ tokens }) => join3(tokens)).join("\n");
|
|
2707
2796
|
}
|
|
2708
2797
|
|
|
2709
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2798
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/stringifier/inspect.js
|
|
2710
2799
|
var zeroWidth = {
|
|
2711
2800
|
line: 0,
|
|
2712
2801
|
start: 0,
|
|
@@ -2724,7 +2813,7 @@ var zeroWidth = {
|
|
|
2724
2813
|
};
|
|
2725
2814
|
var fields = Object.keys(zeroWidth);
|
|
2726
2815
|
|
|
2727
|
-
// node_modules/.pnpm/comment-parser@1.4.
|
|
2816
|
+
// node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/index.js
|
|
2728
2817
|
function parse(source, options = {}) {
|
|
2729
2818
|
return getParser4(options)(source);
|
|
2730
2819
|
}
|
|
@@ -3761,7 +3850,7 @@ var top_default2 = (0, import_vue2.defineComponent)({
|
|
|
3761
3850
|
}
|
|
3762
3851
|
});
|
|
3763
3852
|
|
|
3764
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.
|
|
3853
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.80/node_modules/@fangzhongya/utils/dist/chunk-Q6BNW3MO.js
|
|
3765
3854
|
var FUNCTION_REGEX = /^\s*(?:(async)\s+)?(?:function\s*(\*?)\s*(\w*)\s*\(([\s\S]*?)\)|(\*?\s*)\b(\w+)\s*\(([\s\S]*?)\)|\(([\s\S]*?)\)|([^=>,\(\)]+?))\s*(?:=>)?\s*(?:\{([\s\S]*?)\}|([\s\S]*))$/;
|
|
3766
3855
|
function getFunctionFormat(v) {
|
|
3767
3856
|
if (!v) return;
|