@fangzhongya/vue-archive 0.0.96 → 0.0.98

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 CHANGED
@@ -1,13 +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%;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%;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{box-sizing:border-box;height:100%;width:100%;position:relative;display:flex}.__document .__document-compon .__document-compon-body{background-color:var(--bg-index-cor);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}/*!
2
- Theme: StackOverflow Light
3
- Description: Light theme as used on stackoverflow.com
4
- Author: stackoverflow.com
5
- Maintainer: @Hirse
6
- Website: https://github.com/StackExchange/Stacks
7
- License: MIT
8
- Updated: 2021-05-15
9
-
10
- Updated for @stackoverflow/stacks v0.64.0
11
- Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less
12
- Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less
13
- */.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{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%;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%;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{box-sizing:border-box;height:100%;width:100%;position:relative;display:flex}.__document .__document-compon .__document-compon-body{background-color:var(--bg-index-cor);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}
@@ -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.35/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
90
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/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.35/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
95
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/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.35/node_modules/@fangzhongya/utils/dist/chunk-AWC672JW.js
111
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/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];
@@ -116,10 +116,7 @@ function getImportUrl(url, imp) {
116
116
  const regs = ts2.match(/[\\|\/]([^\\|\/]*)$/);
117
117
  if (regs && regs.length > 0) {
118
118
  const a = regs[1];
119
- arr[0] = ts2.substring(
120
- 0,
121
- regs.index + 1
122
- );
119
+ arr[0] = ts2.substring(0, regs.index + 1);
123
120
  arr[1] = a + arr[1];
124
121
  arr[2] = a + arr[2];
125
122
  }
@@ -135,12 +132,12 @@ function getImportUrl(url, imp) {
135
132
  return ds.join("") + arr[2].replace(/\\/g, "/");
136
133
  }
137
134
 
138
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
135
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
139
136
  function firstUpper(str) {
140
137
  return str.slice(0, 1).toUpperCase() + str.slice(1);
141
138
  }
142
139
 
143
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
140
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
144
141
  function lineToLargeHump(name) {
145
142
  let arr = name.split("-");
146
143
  arr = arr.map((vs) => {
@@ -149,11 +146,11 @@ function lineToLargeHump(name) {
149
146
  return arr.join("");
150
147
  }
151
148
 
152
- // node_modules/.pnpm/@fangzhongya+create@0.2.34/node_modules/@fangzhongya/create/dist/chunk-7V2NDMIF.js
149
+ // node_modules/.pnpm/@fangzhongya+create@0.2.41/node_modules/@fangzhongya/create/dist/chunk-RFW66U5U.js
153
150
  var import_fs = require("fs");
154
151
  var import_path = require("path");
155
152
  function getUrlCatalogueObj(str) {
156
- const reg = /(\\|\/)([^\\|\/]+)\.([a-z|A-Z]+)$/g;
153
+ const reg = /(\\|\/)([^\\|\/]+)\.([a-z|A-Z][a-z|A-Z|0-9]*)$/g;
157
154
  const ml = str.replace(reg, "");
158
155
  let name = "";
159
156
  let suffix = "";
@@ -408,7 +405,7 @@ function writeFileUrl(url, files, callback, isDirs, isFile, issynch) {
408
405
  });
409
406
  }
410
407
 
411
- // node_modules/.pnpm/@fangzhongya+create@0.2.34/node_modules/@fangzhongya/create/dist/chunk-PXLSY3ZR.js
408
+ // node_modules/.pnpm/@fangzhongya+create@0.2.41/node_modules/@fangzhongya/create/dist/chunk-O3FMXCTC.js
412
409
  var import_path2 = require("path");
413
410
  function styleLog(msg = "", obj2) {
414
411
  const arr = ["\x1B[0m"];
@@ -439,7 +436,7 @@ function styleLog(msg = "", obj2) {
439
436
  return arr.join("");
440
437
  }
441
438
  function getSuffix(url) {
442
- const reg = /\.([a-z|A-Z]+)$/;
439
+ const reg = /\.([a-z|A-Z][a-z|A-Z|0-9]*)$/;
443
440
  const regs = reg.exec(url);
444
441
  if (regs && regs.length > 0) {
445
442
  return regs[1];
@@ -483,7 +480,7 @@ function matchsStart(key, matchs) {
483
480
  }
484
481
  }
485
482
  function getUrlCatalogue(str) {
486
- const reg = /((\\|\/)([^\\|\/]+)(\.[a-z|A-Z]+))?$/g;
483
+ const reg = /((\\|\/)([^\\|\/]+)(\.[a-z|A-Z][a-z|A-Z|0-9]*))?$/g;
487
484
  return str.replace(reg, "");
488
485
  }
489
486
  var defaultSuffixReg = /\\.[a-z|A-Z]+$/;
@@ -611,14 +608,14 @@ var FangCom = class {
611
608
  }
612
609
  isForceUpdate(url) {
613
610
  if (this.config.forceUpdate && this.config.forceUpdate.length > 0) {
614
- return matchsEnd(url, this.config.forceUpdate);
611
+ return matchsEnd(url.replace(/\\/g, "/"), this.config.forceUpdate);
615
612
  } else {
616
613
  return false;
617
614
  }
618
615
  }
619
616
  isMatchFile(url, name) {
620
617
  const dirUrl = this.getDirUrl();
621
- const dir = (0, import_path2.join)(url, name).replace(dirUrl, "");
618
+ const dir = (0, import_path2.join)(url, name).replace(dirUrl, "").replace(/\\/g, "/");
622
619
  const is = matchsEnd(dir, this.config.matchexts);
623
620
  const nomatchexts = this.config.nomatchexts;
624
621
  if (is && nomatchexts && nomatchexts.length > 0) {
@@ -633,7 +630,7 @@ var FangCom = class {
633
630
  }
634
631
  isMatchDir(url, name) {
635
632
  const dirUrl = this.getDirUrl();
636
- const dir = (0, import_path2.join)(url, name).replace(dirUrl, "");
633
+ const dir = (0, import_path2.join)(url, name).replace(dirUrl, "").replace(/\\/g, "/");
637
634
  const is = matchsStart(dir, this.config.matchs);
638
635
  const nomatchs = this.config.nomatchs;
639
636
  if (is && nomatchs && nomatchs.length > 0) {
@@ -830,7 +827,7 @@ var FangCom = class {
830
827
  }
831
828
  };
832
829
 
833
- // node_modules/.pnpm/@fangzhongya+create@0.2.34/node_modules/@fangzhongya/create/dist/bins/md.js
830
+ // node_modules/.pnpm/@fangzhongya+create@0.2.41/node_modules/@fangzhongya/create/dist/bins/md.js
834
831
  var defaultConfig2 = Object.assign({}, defaultConfig, {
835
832
  name: "md"
836
833
  });
@@ -849,7 +846,7 @@ function runDev(config2, configCallback) {
849
846
  return new FangMd(config2, configCallback);
850
847
  }
851
848
 
852
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-NCSN3MC5.js
849
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-NCSN3MC5.js
853
850
  var zObj = {
854
851
  "<": "&lt;",
855
852
  ">": "&gt;",
@@ -870,7 +867,7 @@ function htmlEscape(str) {
870
867
  // packages/node/index.ts
871
868
  var import_node_path = require("path");
872
869
 
873
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
870
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
874
871
  function mergeObject(a, b, j = 0, i) {
875
872
  if (a instanceof Array) {
876
873
  if (j > 0 && i) {
@@ -924,7 +921,7 @@ function getConfig(key) {
924
921
  return config[key];
925
922
  }
926
923
 
927
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-7PJ2D3KR.js
924
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-7PJ2D3KR.js
928
925
  function getVueText(content) {
929
926
  const result = {
930
927
  template: "",
@@ -971,7 +968,7 @@ function getVueTexts(content) {
971
968
  };
972
969
  }
973
970
 
974
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
971
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
975
972
  function humpToLine(name) {
976
973
  const reg = /(([A-Z])([^A-Z]*))/g;
977
974
  let result;
@@ -993,12 +990,12 @@ function humpToLine(name) {
993
990
  }
994
991
  }
995
992
 
996
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
993
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
997
994
  function firstLower(str) {
998
995
  return str.slice(0, 1).toLowerCase() + str.slice(1);
999
996
  }
1000
997
 
1001
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
998
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
1002
999
  function asyncMergeArray(arr, callback) {
1003
1000
  return new Promise((resolve2, reject) => {
1004
1001
  let index = 0;
@@ -1022,9 +1019,9 @@ function asyncMergeArray(arr, callback) {
1022
1019
  });
1023
1020
  }
1024
1021
 
1025
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js
1022
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-Z7NTQAAJ.js
1026
1023
  function getSuffix2(url) {
1027
- const reg = /\.([a-z|A-Z]+)$/;
1024
+ const reg = /\.([a-z|A-Z][a-z|A-Z|0-9]*)$/;
1028
1025
  const regs = reg.exec(url);
1029
1026
  if (regs && regs.length > 0) {
1030
1027
  return regs[1];
@@ -1032,7 +1029,7 @@ function getSuffix2(url) {
1032
1029
  return "";
1033
1030
  }
1034
1031
 
1035
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-S6JRKYPY.js
1032
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-S6JRKYPY.js
1036
1033
  function matchsStart2(key, matchs) {
1037
1034
  if (matchs && matchs.length > 0) {
1038
1035
  for (const value of matchs) {
@@ -1052,7 +1049,7 @@ function matchsStart2(key, matchs) {
1052
1049
  }
1053
1050
  }
1054
1051
 
1055
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-YNOFNHEK.js
1052
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-YNOFNHEK.js
1056
1053
  function matchsEnd2(key, matchs) {
1057
1054
  if (matchs && matchs.length > 0) {
1058
1055
  for (const value of matchs) {
@@ -1715,7 +1712,7 @@ function parse(source, options = {}) {
1715
1712
  }
1716
1713
  var stringify = getStringifier();
1717
1714
 
1718
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-FS4JPT23.js
1715
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-FS4JPT23.js
1719
1716
  function deComment(code) {
1720
1717
  let output = "";
1721
1718
  let state = "code";
@@ -1807,24 +1804,39 @@ function deComment(code) {
1807
1804
  return output;
1808
1805
  }
1809
1806
 
1810
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-DILPRD5C.js
1807
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-75J5ZAUX.js
1811
1808
  function getImports(code, includeType = false) {
1812
1809
  code = deComment(code);
1813
1810
  const imports = /* @__PURE__ */ new Set();
1814
- const regex = /(?<staticImport>import\s*(?<typeKeyword>type\s+)?(?:[\w*\s{},]+?\s+from\s*)?["']([^"']+)["'])|(?<sideEffectImport>import\s*["']([^"']+)["'])|(?<dynamicImport>import\s*\(\s*["']([^"']+)["']\s*\))|(?<export>export\s*(?<exportType>type\s+)?(?:\*\s*as\s*\w+|\*|[\w\s{},]+)?\s+from\s*["']([^"']+)["'])/g;
1811
+ const regex = /(?:import\s*(?:type\s+)?(?:(?:\w+|\*\s*as\s+\w+|\{[^}]*\})\s+from\s*)?['"]([^'"]+)['"]|import\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)|export\s*(?:type\s+)?(?:(?:\*|\*?\s*as\s+\w+|\{[^}]*\})\s+from\s*)?['"]([^'"]+)['"])/g;
1815
1812
  let match;
1816
1813
  while ((match = regex.exec(code)) !== null) {
1817
- const groups = match.groups || {};
1818
- const path = match[3] || match[4] || match[5] || match[8];
1819
- if (!includeType && (groups.typeKeyword || groups.exportType)) {
1820
- continue;
1821
- }
1822
- if (path) {
1823
- imports.add(path);
1814
+ const path = match[1] || match[2] || match[3] || match[4];
1815
+ if (!path) continue;
1816
+ const fullMatch = match[0];
1817
+ if (!includeType) {
1818
+ if (fullMatch.includes("import") && containsNonTypeImport(fullMatch) || fullMatch.includes("export") && containsNonTypeExport(fullMatch)) {
1819
+ continue;
1820
+ }
1824
1821
  }
1822
+ imports.add(path);
1825
1823
  }
1826
1824
  return Array.from(imports);
1827
1825
  }
1826
+ function containsNonTypeImport(importStatement) {
1827
+ if (importStatement.includes("{")) {
1828
+ const braceContent = importStatement.match(/\{([^}]*)\}/)?.[1] || "";
1829
+ return braceContent.split(",").some((item) => item.trim() && item.trim().startsWith("type "));
1830
+ }
1831
+ return importStatement.includes("import type");
1832
+ }
1833
+ function containsNonTypeExport(exportStatement) {
1834
+ if (exportStatement.includes("{")) {
1835
+ const braceContent = exportStatement.match(/\{([^}]*)\}/)?.[1] || "";
1836
+ return braceContent.split(",").some((item) => item.trim() && item.trim().startsWith("type "));
1837
+ }
1838
+ return exportStatement.includes("export type");
1839
+ }
1828
1840
 
1829
1841
  // packages/utils/index.ts
1830
1842
  function getTextNotes(text) {
@@ -2365,16 +2377,6 @@ function getCompoNameObj() {
2365
2377
  }
2366
2378
  return Object.values(componentsObj);
2367
2379
  }
2368
- async function getPropsImport(text, obj2) {
2369
- let ts2 = text;
2370
- if (text) {
2371
- let arr = (await getTestImportUrl(obj2, text)).filter((v) => {
2372
- return isComprops(v.key, obj2.comprops) || isCurprops(v.key, obj2.curprops);
2373
- });
2374
- ts2 = await getPropsTexts(arr) + ts2;
2375
- }
2376
- return ts2;
2377
- }
2378
2380
  function getPropsValue(o) {
2379
2381
  const u = o.url;
2380
2382
  const k = o.key;
@@ -2392,8 +2394,7 @@ function getPropsRaws(arr) {
2392
2394
  } else if (value.getRaw) {
2393
2395
  value.getRaw(value).then(async (s) => {
2394
2396
  const m = getGetRawValue(s);
2395
- let ts2 = await getPropsImport(m, arr[index]);
2396
- value.raw = ts2;
2397
+ value.raw = await getComponentsProps(m, arr[index]);
2397
2398
  value.getRaw = null;
2398
2399
  res();
2399
2400
  });
@@ -2408,23 +2409,30 @@ function getPropsRaws(arr) {
2408
2409
  }
2409
2410
  });
2410
2411
  }
2412
+ var spliceName = "\nfangzhongya@vue-archive@glob@vue-archive@fangzhongya\n";
2413
+ function deduplication(text) {
2414
+ const arr = text.split(spliceName);
2415
+ const qcs = [...new Set(arr)];
2416
+ return qcs.join("\n");
2417
+ }
2411
2418
  async function getPropsTexts(arr) {
2412
2419
  const arrs = await getPropsRaws(arr);
2413
2420
  const sts = arrs?.map((o) => o.raw) || [];
2414
- return sts.join("\n");
2421
+ return sts.filter((o) => Boolean(o)).join(spliceName);
2415
2422
  }
2416
2423
  async function getComponentsProps(text, obj2) {
2417
- let ts2 = text;
2418
2424
  if (text) {
2425
+ text = `/**${obj2.url}**/
2426
+ ` + text;
2419
2427
  if (obj2.comprops || obj2.curprops) {
2420
2428
  let arr = (await getTestImportUrl(obj2, text)).filter((v) => {
2421
2429
  return isComprops(v.key, obj2.comprops) || isCurprops(v.key, obj2.curprops);
2422
2430
  });
2423
- let str = await getPropsTexts(arr);
2424
- ts2 = str + ts2;
2431
+ return text + spliceName + await getPropsTexts(arr);
2425
2432
  }
2433
+ return text;
2426
2434
  }
2427
- return ts2;
2435
+ return "";
2428
2436
  }
2429
2437
  function getGetRawValue(s) {
2430
2438
  if (s && typeof s == "object") {
@@ -2445,7 +2453,8 @@ function getLocalTextComponents(u) {
2445
2453
  } else if (componentObj.getRaw) {
2446
2454
  componentObj.getRaw(componentObj).then((s) => {
2447
2455
  const m = getGetRawValue(s);
2448
- getComponentsProps(m, componentObj).then((text) => {
2456
+ getComponentsProps(m, componentObj).then((texts) => {
2457
+ const text = deduplication(texts);
2449
2458
  componentObj.raw = text;
2450
2459
  componentObj.getRaw = null;
2451
2460
  resolve2(text);
@@ -3211,7 +3220,7 @@ var top_default2 = (0, import_vue2.defineComponent)({
3211
3220
  }
3212
3221
  });
3213
3222
 
3214
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-7O4MJOHM.js
3223
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-7O4MJOHM.js
3215
3224
  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]*))$/;
3216
3225
  function getFunctionFormat(v) {
3217
3226
  if (!v) return;