This commit is contained in:
XiaoDaiGua-Ray 2026-11-06 06:20:29 +00:00
parent 28f9f08c2a
commit 7a92f2859f
539 changed files with 17876 additions and 8570 deletions

View File

@ -40,117 +40,128 @@
<path fill="currentColor" d="M222.298353 222.298353a26.352941 26.352941 0 0 1 34.575059-2.349177l2.710588 2.349177 562.176 562.206118a26.352941 26.352941 0 0 1-34.544941 39.634823l-2.710588-2.379294L222.268235 259.614118a26.352941 26.352941 0 0 1 0-37.285647z"/>
<path fill="currentColor" d="M784.504471 222.298353a26.352941 26.352941 0 0 1 39.634823 34.575059l-2.379294 2.710588L259.614118 821.76a26.352941 26.352941 0 0 1-39.634824-34.544941l2.349177-2.710588L784.504471 222.268235z"/>
</g>
</symbol><use href="#icon-action/close" width="806" height="806" y="4181"/><view id="icon-action/close-view" viewBox="0 4181 806 806"/><symbol id="icon-action/copy" viewBox="56 49 906 906">
</symbol><use href="#icon-action/close" width="806" height="806" y="4181"/><view id="icon-action/close-view" viewBox="0 4181 806 806"/><symbol id="icon-action/copy-image" viewBox="85 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970501; adapted for contrast and optical sizing. -->
<g fill="currentColor" stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path d="M356.382118 184.470588a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824H215.853176a8.794353 8.794353 0 0 0-8.553411 6.77647l-0.240941 2.017883v140.528941a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941V245.970824c0-32.436706 25.088-58.970353 56.922353-61.31953l4.577882-0.180706h140.528942zM180.705882 641.264941c13.432471 0 24.515765 10.029176 26.142118 23.04l0.210824 3.312941v140.528942c0 4.156235 2.891294 7.649882 6.77647 8.553411l2.017882 0.240941h140.528942a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824H215.853176a61.500235 61.500235 0 0 1-61.319529-56.922353l-0.180706-4.577882v-140.528942c0-14.576941 11.806118-26.352941 26.352941-26.352941zM813.176471 641.264941c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941v140.528942a61.500235 61.500235 0 0 1-56.922353 61.319529l-4.577883 0.180706h-140.528941a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210824h140.528941a8.794353 8.794353 0 0 0 8.553412-6.77647l0.240941-2.017882v-140.528942c0-14.576941 11.806118-26.352941 26.352942-26.352941zM778.029176 184.470588c32.436706 0 58.970353 25.088 61.31953 56.922353l0.180706 4.577883v140.528941a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941V245.970824a8.794353 8.794353 0 0 0-6.77647-8.553412l-2.017883-0.240941h-140.528941a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210824h140.528941zM637.500235 325.029647h-281.118117a61.500235 61.500235 0 0 0-61.470118 61.470118v281.118117c0 33.942588 27.527529 61.470118 61.470118 61.470118h281.118117a61.500235 61.500235 0 0 0 61.470118-61.470118v-281.118117a61.500235 61.500235 0 0 0-61.470118-61.470118z m-281.118117 52.705882h281.118117c4.818824 0 8.764235 3.915294 8.764236 8.764236v281.118117c0 4.818824-3.915294 8.764235-8.764236 8.764236h-281.118117a8.794353 8.794353 0 0 1-8.764236-8.764236v-281.118117c0-4.818824 3.915294-8.764235 8.764236-8.764236z"/>
</g>
</symbol><use href="#icon-action/copy-image" width="824" height="824" y="4987"/><view id="icon-action/copy-image-view" viewBox="0 4987 824 824"/><symbol id="icon-action/copy" viewBox="56 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #44587183; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M210.823529 405.323294c14.546824 0 26.352941 11.806118 26.352942 26.352941v395.294118H579.764706c13.432471 0 24.515765 10.059294 26.142118 23.070118l0.210823 3.312941a26.352941 26.352941 0 0 1-26.352941 26.322823H210.823529a26.352941 26.352941 0 0 1-26.352941-26.352941v-421.647059c0-14.546824 11.806118-26.352941 26.352941-26.352941z m404.088471-281.088h0.391529a26.503529 26.503529 0 0 1 1.92753 0.090353l-2.319059-0.090353a26.563765 26.563765 0 0 1 19.425882 8.553412l193.234824 210.823529a26.804706 26.804706 0 0 1 6.746353 14.486589l0.030117 0.512a26.473412 26.473412 0 0 1 0.150589 1.686588V747.911529a26.352941 26.352941 0 0 1-26.352941 26.352942H316.235294a26.352941 26.352941 0 0 1-26.352941-26.352942V150.588235c0-14.546824 11.806118-26.352941 26.352941-26.352941h298.676706z m17.558588 421.647059h-210.823529a26.352941 26.352941 0 0 0-3.312941 52.495059l3.312941 0.210823h210.823529a26.352941 26.352941 0 1 0 0-52.705882z m-140.559059-140.559059H421.647059a26.352941 26.352941 0 0 0-3.312941 52.525177l3.312941 0.180705h70.26447a26.352941 26.352941 0 1 0 0-52.705882z m149.323295-187.00047v116.736h107.008l-107.008-116.736z"/>
</g>
</symbol><use href="#icon-action/copy" width="906" height="906" y="4987"/><view id="icon-action/copy-view" viewBox="0 4987 906 906"/><symbol id="icon-action/delete" viewBox="45 45 906 906">
</symbol><use href="#icon-action/copy" width="906" height="906" y="5811"/><view id="icon-action/copy-view" viewBox="0 5811 906 906"/><symbol id="icon-action/delete" viewBox="45 45 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970563; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M761.735529 225.882353h-527.058823a26.352941 26.352941 0 0 0-26.352941 26.352941v597.323294c0 14.576941 11.776 26.352941 26.352941 26.352941h527.058823a26.352941 26.352941 0 0 0 26.352942-26.352941V252.235294a26.352941 26.352941 0 0 0-26.352942-26.352941z m-26.383058 52.705882v544.617412H260.999529V278.588235h474.352942z"/>
<path fill="currentColor" d="M427.911529 401.558588c13.432471 0 24.545882 10.059294 26.172236 23.070118l0.180706 3.312941v228.382118a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941v-228.412236c0-14.546824 11.806118-26.352941 26.352941-26.352941zM568.470588 401.558588c13.432471 0 24.515765 10.059294 26.142118 23.070118l0.210823 3.312941v228.382118a26.352941 26.352941 0 0 1-52.495058 3.312941l-0.210824-3.312941v-228.412236c0-14.546824 11.806118-26.352941 26.352941-26.352941zM849.558588 225.882353a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210823H146.823529a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h702.735059z"/>
<path fill="currentColor" d="M582.113882 120.470588h-166.671058a26.352941 26.352941 0 0 0-23.130353 13.673412l-57.765647 105.411765a26.352941 26.352941 0 0 0 23.100235 39.03247h281.088a26.352941 26.352941 0 0 0 23.220706-38.851764l-56.621177-105.411765a26.352941 26.352941 0 0 0-23.190588-13.854118z m-15.751529 52.705883l28.310588 52.705882h-192.542117l28.882823-52.705882h135.348706z"/>
</g>
</symbol><use href="#icon-action/delete" width="906" height="906" y="5893"/><view id="icon-action/delete-view" viewBox="0 5893 906 906"/><symbol id="icon-action/download" viewBox="115 115 824 824">
</symbol><use href="#icon-action/delete" width="906" height="906" y="6717"/><view id="icon-action/delete-view" viewBox="0 6717 906 906"/><symbol id="icon-action/download" viewBox="115 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963755; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M843.294118 500.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942V843.294118a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824H210.823529a26.352941 26.352941 0 0 1-26.142117-23.04L184.470588 843.294118V527.209412a26.352941 26.352941 0 0 1 52.495059-3.312941l0.210824 3.312941v289.731764h579.764705V527.058824c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312942-0.210824z"/>
<path fill="currentColor" d="M666.533647 490.857412a26.352941 26.352941 0 0 1 39.634824 34.575059l-2.349177 2.710588-158.117647 158.117647a26.352941 26.352941 0 0 1-34.575059 2.349176l-2.710588-2.379294-158.117647-158.117647a26.352941 26.352941 0 0 1 34.575059-39.604706l2.710588 2.349177 139.474824 139.474823 139.474823-139.474823z"/>
<path fill="currentColor" d="M526.908235 184.470588c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210823 3.312941v456.794353a26.352941 26.352941 0 0 1-52.495058 3.312942l-0.210824-3.312942V210.823529c0-14.546824 11.806118-26.352941 26.352941-26.352941z"/>
</g>
</symbol><use href="#icon-action/download" width="824" height="824" y="6799"/><view id="icon-action/download-view" viewBox="0 6799 824 824"/><symbol id="icon-action/draggable" viewBox="120 147 760 760">
</symbol><use href="#icon-action/download" width="824" height="824" y="7623"/><view id="icon-action/download-view" viewBox="0 7623 824 824"/><symbol id="icon-action/draggable" viewBox="120 147 760 760">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970567; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M411.617882 281.088a70.264471 70.264471 0 1 1-140.559058 0 70.264471 70.264471 0 0 1 140.559058 0z m-70.294588 316.235294a70.264471 70.264471 0 1 0 0-140.528941 70.264471 70.264471 0 0 0 0 140.528941z m0 245.970824a70.264471 70.264471 0 1 0 0-140.559059 70.264471 70.264471 0 0 0 0 140.559059zM727.853176 281.088a70.264471 70.264471 0 1 1-140.559058 0 70.264471 70.264471 0 0 1 140.559058 0z m-70.294588 316.235294a70.264471 70.264471 0 1 0 0-140.528941 70.264471 70.264471 0 0 0 0 140.528941z m0 245.970824a70.264471 70.264471 0 1 0 0-140.559059 70.264471 70.264471 0 0 0 0 140.559059z"/>
</g>
</symbol><use href="#icon-action/draggable" width="760" height="760" y="7623"/><view id="icon-action/draggable-view" viewBox="0 7623 760 760"/><symbol id="icon-action/edit" viewBox="115 85 824 824">
</symbol><use href="#icon-action/draggable" width="760" height="760" y="8447"/><view id="icon-action/draggable-view" viewBox="0 8447 760 760"/><symbol id="icon-action/edit" viewBox="115 85 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970366; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M843.294118 786.823529a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824H210.823529a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210824h632.470589zM626.025412 162.093176L262.445176 526.095059a26.352941 26.352941 0 0 0-7.710117 18.642823v127.87953c0 14.576941 11.806118 26.352941 26.352941 26.352941h128.572235a26.352941 26.352941 0 0 0 18.642824-7.710118l363.369412-363.52a26.352941 26.352941 0 0 0 0-37.285647l-128.361412-128.391529a26.352941 26.352941 0 0 0-37.285647 0z m18.642823 55.898353l91.075765 91.075765-337.046588 337.197177h-91.256471v-90.654118l337.227294-337.618824z"/>
</g>
</symbol><use href="#icon-action/edit" width="824" height="824" y="8383"/><view id="icon-action/edit-view" viewBox="0 8383 824 824"/><symbol id="icon-action/filter" viewBox="112 86 822 822">
</symbol><use href="#icon-action/edit" width="824" height="824" y="9207"/><view id="icon-action/edit-view" viewBox="0 9207 824 824"/><symbol id="icon-action/external-link" viewBox="95 102 842 842">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971751; adapted for contrast and optical sizing. -->
<g fill="currentColor" stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path d="M839.529412 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v245.970823a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941V233.411765h-219.617883a26.352941 26.352941 0 0 1-26.142117-23.04l-0.210824-3.312941c0-13.432471 10.059294-24.515765 23.070118-26.142118l3.312941-0.210824h245.940706zM402.823529 180.705882a26.352941 26.352941 0 0 1 3.312942 52.495059l-3.312942 0.210824h-158.117647a26.352941 26.352941 0 0 0-26.142117 23.04l-0.210824 3.312941v527.058823c0 13.432471 10.059294 24.515765 23.04 26.142118l3.312941 0.210824h527.058824a26.352941 26.352941 0 0 0 26.142118-23.04l0.210823-3.312942v-167.363764a26.352941 26.352941 0 0 1 52.495059-3.312941l0.210823 3.312941v167.363764a79.058824 79.058824 0 0 1-74.059294 78.908236l-4.999529 0.150588h-527.058824a79.058824 79.058824 0 0 1-78.908235-74.059294l-0.150588-4.99953v-527.058823a79.058824 79.058824 0 0 1 74.059294-78.908235L244.705882 180.705882h158.117647z"/>
<path d="M805.074824 204.227765a26.352941 26.352941 0 0 1 39.634823 34.575059l-2.349176 2.710588-268.8 268.8a26.352941 26.352941 0 0 1-39.634824-34.575059l2.349177-2.710588 268.8-268.8z"/>
</g>
</symbol><use href="#icon-action/external-link" width="842" height="842" y="10031"/><view id="icon-action/external-link-view" viewBox="0 10031 842 842"/><symbol id="icon-action/filter" viewBox="112 86 822 822">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970546; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M207.119059 180.705882l-3.312941 0.180706a26.352941 26.352941 0 0 0-16.715294 43.309177l246.633411 288.045176v212.118588c0 10.029176 5.722353 19.184941 14.697412 23.612236l126.494118 62.494117 3.132235 1.295059a26.352941 26.352941 0 0 0 34.906353-24.937412v-274.582588l246.663529-288.045176A26.352941 26.352941 0 0 0 839.559529 180.705882h-632.470588z m575.216941 52.705883l-215.762824 251.964235-2.228705 3.011765a26.352941 26.352941 0 0 0-4.096 14.155294v241.874823l-73.818353-36.47247v-205.402353l-0.240942-3.764706a26.352941 26.352941 0 0 0-6.083764-13.402353L264.342588 233.411765h517.993412z"/>
</g>
</symbol><use href="#icon-action/filter" width="822" height="822" y="9207"/><view id="icon-action/filter-view" viewBox="0 9207 822 822"/><symbol id="icon-action/fullscreen_fold" viewBox="112 112 822 822">
</symbol><use href="#icon-action/filter" width="822" height="822" y="10873"/><view id="icon-action/filter-view" viewBox="0 10873 822 822"/><symbol id="icon-action/fullscreen_fold" viewBox="112 112 822 822">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970505; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M681.411765 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v131.764705h131.764706c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824h-158.117647a26.352941 26.352941 0 0 1-26.142118-23.04l-0.210823-3.312941v-158.117647c0-14.546824 11.806118-26.352941 26.352941-26.352942zM365.176471 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v158.117647a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824h-158.117647a26.352941 26.352941 0 0 1-3.312942-52.495059l3.312942-0.210824h131.764705V207.058824c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312942-0.210824zM365.176471 655.058824c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941v158.117647a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941V707.764706H207.058824a26.352941 26.352941 0 0 1-26.142118-23.04L180.705882 681.411765c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312942-0.210823h158.117647zM837.752471 655.058824a26.352941 26.352941 0 0 1 3.312941 52.495058l-3.312941 0.210824H707.764706v131.764706a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824a26.352941 26.352941 0 0 1-26.142118-23.04l-0.210823-3.312941v-158.117647c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312941-0.210823h156.340706z"/>
</g>
</symbol><use href="#icon-action/fullscreen_fold" width="822" height="822" y="10029"/><view id="icon-action/fullscreen_fold-view" viewBox="0 10029 822 822"/><symbol id="icon-action/fullscreen" viewBox="112 112 822 822">
</symbol><use href="#icon-action/fullscreen_fold" width="822" height="822" y="11695"/><view id="icon-action/fullscreen_fold-view" viewBox="0 11695 822 822"/><symbol id="icon-action/fullscreen" viewBox="112 112 822 822">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970519; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M839.529412 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v158.117647a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941V233.411765h-131.764706a26.352941 26.352941 0 0 1-26.142118-23.04l-0.210823-3.312941c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312941-0.210824h158.117647zM839.529412 655.058824c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941v158.117647a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824h-158.117647a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823H813.176471v-131.764706c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312941-0.210823zM207.058824 655.058824c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941V813.176471h131.764706c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824h-158.117647a26.352941 26.352941 0 0 1-26.142118-23.04L180.705882 839.529412v-158.117647c0-14.546824 11.806118-26.352941 26.352942-26.352941zM365.176471 180.705882a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824H233.411765v131.764706a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824a26.352941 26.352941 0 0 1-26.142118-23.04L180.705882 365.176471v-158.117647c0-13.432471 10.059294-24.515765 23.04-26.142118L207.058824 180.705882h158.117647z"/>
</g>
</symbol><use href="#icon-action/fullscreen" width="822" height="822" y="10851"/><view id="icon-action/fullscreen-view" viewBox="0 10851 822 822"/><symbol id="icon-action/link" viewBox="83 82 855 855">
</symbol><use href="#icon-action/fullscreen" width="822" height="822" y="12517"/><view id="icon-action/fullscreen-view" viewBox="0 12517 822 822"/><symbol id="icon-action/link" viewBox="83 82 855 855">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970476; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M198.776471 198.776471c56.440471-56.440471 146.070588-59.331765 203.595294-7.348706l5.300706 5.059764 160.557176 160.557177a26.352941 26.352941 0 0 1-34.544941 39.634823l-2.710588-2.349176-160.587294-160.587294c-36.352-36.352-96.496941-35.538824-134.324706 2.288941-36.412235 36.412235-38.550588 93.424941-6.324706 130.078118l4.005647 4.276706 139.414588 139.444705a26.352941 26.352941 0 0 1-34.575059 39.604706l-2.710588-2.349176-139.384471-139.444706C139.324235 350.539294 140.559059 257.024 198.776471 198.776471zM648.011294 473.539765a26.352941 26.352941 0 0 1 34.575059-2.349177l2.710588 2.349177 139.414588 139.414588c57.163294 57.163294 55.898353 150.678588-2.319058 208.896-56.440471 56.440471-146.070588 59.331765-203.595295 7.318588l-5.270588-5.029647-160.587294-160.587294a26.352941 26.352941 0 0 1 34.575059-39.634824l2.710588 2.379295 160.557177 160.557176c36.352 36.352 96.496941 35.538824 134.354823-2.288941 36.382118-36.382118 38.550588-93.394824 6.324706-130.048l-4.035765-4.306824-139.414588-139.414588a26.352941 26.352941 0 0 1 0-37.255529z"/>
<path fill="currentColor" d="M530.974118 357.044706a26.352941 26.352941 0 0 1 37.285647 0c57.133176 57.163294 55.898353 150.678588-2.319059 208.896a26.352941 26.352941 0 1 1-37.25553-37.25553c37.827765-37.857882 38.640941-98.002824 2.288942-134.354823a26.352941 26.352941 0 0 1 0-37.285647zM452.969412 452.367059a26.352941 26.352941 0 0 1 37.255529 37.285647c-37.857882 37.827765-38.671059 97.972706-2.319059 134.324706a26.352941 26.352941 0 1 1-37.255529 37.285647c-57.163294-57.163294-55.898353-150.678588 2.288941-208.896z"/>
</g>
</symbol><use href="#icon-action/link" width="855" height="855" y="11673"/><view id="icon-action/link-view" viewBox="0 11673 855 855"/><symbol id="icon-action/lock" viewBox="70 45 906 906">
</symbol><use href="#icon-action/link" width="855" height="855" y="13339"/><view id="icon-action/link-view" viewBox="0 13339 855 855"/><symbol id="icon-action/lock" viewBox="70 45 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970578; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M804.382118 436.705882H242.206118A61.500235 61.500235 0 0 0 180.705882 498.206118v316.235294c0 33.942588 27.527529 61.470118 61.500236 61.470117h562.176a61.500235 61.500235 0 0 0 61.500235-61.470117v-316.235294a61.500235 61.500235 0 0 0-61.500235-61.500236zM242.206118 489.411765h562.176c4.848941 0 8.794353 3.915294 8.794353 8.794353v316.235294c0 4.818824-3.915294 8.764235-8.794353 8.764235H242.206118a8.794353 8.794353 0 0 1-8.794353-8.764235v-316.235294c0-4.848941 3.915294-8.794353 8.794353-8.794353z"/>
<path fill="currentColor" d="M523.294118 120.470588a202.029176 202.029176 0 0 1 201.908706 194.95153l0.12047 7.077647v140.559059a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941v-140.559059a149.323294 149.323294 0 0 0-298.526118-6.475294l-0.12047 6.475294v140.559059a26.352941 26.352941 0 0 1-52.525177 3.312941l-0.180706-3.312941v-140.559059A202.029176 202.029176 0 0 1 523.294118 120.470588zM523.294118 577.264941c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941v105.411765a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941v-105.411765c0-14.576941 11.806118-26.352941 26.352942-26.352941z"/>
</g>
</symbol><use href="#icon-action/lock" width="906" height="906" y="12528"/><view id="icon-action/lock-view" viewBox="0 12528 906 906"/><symbol id="icon-action/more" viewBox="138 138 733 733">
</symbol><use href="#icon-action/lock" width="906" height="906" y="14194"/><view id="icon-action/lock-view" viewBox="0 14194 906 906"/><symbol id="icon-action/more" viewBox="138 138 733 733">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971752; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="8" stroke-linejoin="round">
<path fill="currentColor" d="M293.647059 504.470588m-52.705883 0a52.705882 52.705882 0 1 0 105.411765 0 52.705882 52.705882 0 1 0-105.411765 0Z"/>
<path fill="currentColor" d="M504.470588 504.470588m-52.705882 0a52.705882 52.705882 0 1 0 105.411765 0 52.705882 52.705882 0 1 0-105.411765 0Z"/>
<path fill="currentColor" d="M715.294118 504.470588m-52.705883 0a52.705882 52.705882 0 1 0 105.411765 0 52.705882 52.705882 0 1 0-105.411765 0Z"/>
</g>
</symbol><use href="#icon-action/more" width="733" height="733" y="13434"/><view id="icon-action/more-view" viewBox="0 13434 733 733"/><symbol id="icon-action/mouse" viewBox="59 79 906 906">
</symbol><use href="#icon-action/more" width="733" height="733" y="15100"/><view id="icon-action/more-view" viewBox="0 15100 733 733"/><symbol id="icon-action/mouse" viewBox="59 79 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963496; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M722.823529 365.176471c14.546824 0 26.352941 11.806118 26.352942 26.352941v281.088a237.176471 237.176471 0 0 1-474.352942 0V391.529412c0-14.546824 11.806118-26.352941 26.352942-26.352941h421.647058z m-26.352941 52.705882h-368.941176v254.735059a184.470588 184.470588 0 0 0 177.694117 184.350117l6.776471 0.120471a184.470588 184.470588 0 0 0 184.470588-184.470588v-254.735059z"/>
<path fill="currentColor" d="M512 154.352941A237.176471 237.176471 0 0 1 749.176471 391.529412a26.352941 26.352941 0 0 1-26.352942 26.352941h-210.823529a26.352941 26.352941 0 0 1-26.352941-26.352941V180.705882c0-14.546824 11.806118-26.352941 26.352941-26.352941z m26.352941 54.573177v156.250353h156.220235v-0.301177a184.591059 184.591059 0 0 0-155.919058-155.888941l-0.301177-0.060235z"/>
<path fill="currentColor" d="M512 154.352941c14.546824 0 26.352941 11.806118 26.352941 26.352941v210.82353a26.352941 26.352941 0 0 1-26.352941 26.352941h-210.823529A26.352941 26.352941 0 0 1 274.823529 391.529412 237.176471 237.176471 0 0 1 512 154.352941z m-26.352941 54.573177l-0.301177 0.060235a184.591059 184.591059 0 0 0-155.888941 155.888941l-0.060235 0.301177h156.250353V208.926118z"/>
</g>
</symbol><use href="#icon-action/mouse" width="906" height="906" y="14167"/><view id="icon-action/mouse-view" viewBox="0 14167 906 906"/><symbol id="icon-action/out" viewBox="115 115 824 824">
</symbol><use href="#icon-action/mouse" width="906" height="906" y="15833"/><view id="icon-action/mouse-view" viewBox="0 15833 906 906"/><symbol id="icon-action/out" viewBox="115 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963748; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M526.908235 184.470588a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824h-289.731764v579.764705H527.058824c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824H210.823529a26.352941 26.352941 0 0 1-26.142117-23.04L184.470588 843.294118V210.823529c0-13.432471 10.059294-24.515765 23.04-26.142117L210.823529 184.470588h316.084706zM666.533647 350.298353a26.352941 26.352941 0 0 1 34.575059-2.349177l2.710588 2.349177 158.117647 158.117647c9.426824 9.456941 10.24 24.244706 2.349177 34.575059l-2.349177 2.710588-158.117647 158.117647a26.352941 26.352941 0 0 1-39.634823-34.575059l2.349176-2.710588 139.504941-139.474823-139.504941-139.474824a26.352941 26.352941 0 0 1-2.349176-34.575059l2.349176-2.710588z"/>
<path fill="currentColor" d="M843.294118 500.555294a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210823H386.499765a26.352941 26.352941 0 0 1-3.312941-52.495058l3.312941-0.210824H843.294118z"/>
</g>
</symbol><use href="#icon-action/out" width="824" height="824" y="15073"/><view id="icon-action/out-view" viewBox="0 15073 824 824"/><symbol id="icon-action/print" viewBox="49 49 906 906">
</symbol><use href="#icon-action/out" width="824" height="824" y="16739"/><view id="icon-action/out-view" viewBox="0 16739 824 824"/><symbol id="icon-action/print" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963390; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M730.352941 616.146824c14.546824 0 26.352941 11.806118 26.352941 26.352941v210.823529a26.352941 26.352941 0 0 1-26.352941 26.352941H273.558588a26.352941 26.352941 0 0 1-26.352941-26.352941v-210.823529c0-14.546824 11.806118-26.352941 26.352941-26.352941H730.352941z m-26.383059 52.705882H299.911529v158.117647h404.058353v-158.117647z"/>
<path fill="currentColor" d="M853.323294 405.323294c14.576941 0 26.352941 11.806118 26.352941 26.352941v316.235294a26.352941 26.352941 0 0 1-26.352941 26.352942H730.654118a26.352941 26.352941 0 0 1-26.352942-26.352942v-79.058823H299.550118l0.030117 79.058823a26.352941 26.352941 0 0 1-23.04 26.172236l-3.312941 0.180706H150.588235a26.352941 26.352941 0 0 1-26.352941-26.352942v-316.235294c0-14.546824 11.806118-26.352941 26.352941-26.352941h702.735059z m-26.352941 52.705882H176.941176v263.529412h69.903059l0.030118-79.058823c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312941-0.210823H730.654118c14.546824 0 26.352941 11.806118 26.352941 26.352941v79.058823h69.963294v-263.529412z"/>
<path fill="currentColor" d="M747.911529 124.235294c14.576941 0 26.352941 11.806118 26.352942 26.352941v281.088a26.352941 26.352941 0 0 1-26.352942 26.352941H256a26.352941 26.352941 0 0 1-26.352941-26.352941V150.588235c0-14.546824 11.806118-26.352941 26.352941-26.352941h491.911529z m-26.352941 52.705882H282.352941v228.382118h439.205647V176.941176z"/>
</g>
</symbol><use href="#icon-action/print" width="906" height="906" y="15897"/><view id="icon-action/print-view" viewBox="0 15897 906 906"/><symbol id="icon-action/reload" viewBox="112 115 824 824">
</symbol><use href="#icon-action/print" width="906" height="906" y="17563"/><view id="icon-action/print-view" viewBox="0 17563 906 906"/><symbol id="icon-action/reload" viewBox="112 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971771; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M839.529412 219.617882c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312942V527.058824a26.352941 26.352941 0 0 1-52.495059 3.312941L813.176471 527.058824V245.970824c0-14.576941 11.806118-26.352941 26.352941-26.352942zM207.058824 500.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v281.088a26.352941 26.352941 0 0 1-52.495059 3.312941L180.705882 808.146824V527.058824c0-14.546824 11.806118-26.352941 26.352942-26.352942z"/>
<path fill="currentColor" d="M207.058824 500.705882c14.546824 0 26.352941 11.806118 26.352941 26.352942a289.882353 289.882353 0 0 0 289.882353 289.882352 288.768 288.768 0 0 0 201.306353-81.317647 26.352941 26.352941 0 0 1 36.592941 37.948236 341.473882 341.473882 0 0 1-237.899294 96.075294C334.095059 869.647059 180.705882 716.257882 180.705882 527.058824c0-14.546824 11.806118-26.352941 26.352942-26.352942z m316.235294-316.235294c189.199059 0 342.588235 153.389176 342.588235 342.588236a26.352941 26.352941 0 1 1-52.705882 0 289.882353 289.882353 0 0 0-289.882353-289.882353 288.918588 288.918588 0 0 0-208.594824 88.576 26.352941 26.352941 0 0 1-37.918118-36.592942 341.594353 341.594353 0 0 1 246.512942-104.688941z"/>
</g>
</symbol><use href="#icon-action/reload" width="824" height="824" y="16803"/><view id="icon-action/reload-view" viewBox="0 16803 824 824"/><symbol id="icon-action/search" viewBox="80 80 858 858">
</symbol><use href="#icon-action/reload" width="824" height="824" y="18469"/><view id="icon-action/reload-view" viewBox="0 18469 824 824"/><symbol id="icon-action/search" viewBox="80 80 858 858">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971773; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M475.617882 150.588235C296.116706 150.588235 150.588235 296.116706 150.588235 475.617882s145.528471 324.999529 325.029647 324.99953 324.999529-145.498353 324.99953-324.99953S655.119059 150.588235 475.617882 150.588235z m0 52.705883a272.323765 272.323765 0 1 1 0 544.617411 272.323765 272.323765 0 0 1 0-544.617411z"/>
<path fill="currentColor" d="M475.617882 291.147294c44.845176 0 86.919529 17.769412 118.000942 48.880941a26.352941 26.352941 0 0 1-37.25553 37.25553 113.724235 113.724235 0 0 0-80.745412-33.430589c-30.72 0-59.452235 12.137412-80.745411 33.430589a26.352941 26.352941 0 1 1-37.285647-37.25553 166.430118 166.430118 0 0 1 118.031058-48.880941zM671.683765 671.683765a26.352941 26.352941 0 0 1 34.575059-2.349177l2.710588 2.349177 149.082353 149.082353a26.352941 26.352941 0 0 1-34.575059 39.634823l-2.710588-2.379294-149.082353-149.082353a26.352941 26.352941 0 0 1 0-37.255529z"/>
</g>
</symbol><use href="#icon-action/search" width="858" height="858" y="17627"/><view id="icon-action/search-view" viewBox="0 17627 858 858"/><symbol id="icon-action/setting" viewBox="61 61 905 905">
</symbol><use href="#icon-action/search" width="858" height="858" y="19293"/><view id="icon-action/search-view" viewBox="0 19293 858 858"/><symbol id="icon-action/setting" viewBox="61 61 905 905">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971792; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M465.317647 135.529412l-3.282823 0.210823a26.352941 26.352941 0 0 0-23.04 26.142118l-0.030118 62.855529-1.174588 0.301177a296.056471 296.056471 0 0 0-64.933647 25.449412l-11.083295 6.234353-44.453647-44.453648a26.352941 26.352941 0 0 0-37.285647 0l-67.764706 67.764706-2.349176 2.710589a26.352941 26.352941 0 0 0 2.349176 34.575058l44.453648 44.453647-0.542118 0.90353a296.207059 296.207059 0 0 0-31.141647 75.113412l-0.301177 1.174588H161.882353a26.352941 26.352941 0 0 0-26.352941 26.383059v95.834353l0.210823 3.312941a26.352941 26.352941 0 0 0 26.142118 23.04l62.825412-0.030118 0.301176 1.204706c6.927059 26.413176 17.408 51.651765 31.171765 75.113412l0.572235 0.873412-44.483765 44.513882a26.352941 26.352941 0 0 0 0 37.255529l67.764706 67.764706 2.710589 2.349177a26.352941 26.352941 0 0 0 34.575058-2.349177l44.453647-44.483764 0.90353 0.602352a296.207059 296.207059 0 0 0 75.113412 31.141648l1.174588 0.240941v62.885647c0 14.576941 11.806118 26.352941 26.383059 26.352941h95.834353l3.312941-0.180706a26.352941 26.352941 0 0 0 23.04-26.172235l-0.030118-62.85553 1.204706-0.301176a296.056471 296.056471 0 0 0 64.933647-25.449412l11.083294-6.26447 44.483765 44.483764a26.352941 26.352941 0 0 0 37.255529 0l67.764706-67.764706 2.349177-2.710588a26.352941 26.352941 0 0 0-2.349177-34.544941l-44.483764-44.483765 0.602352-0.903529a296.327529 296.327529 0 0 0 27.949177-63.849412l3.463529-12.468706h62.85553a26.352941 26.352941 0 0 0 26.352941-26.322823V465.317647l-0.180706-3.312941a26.352941 26.352941 0 0 0-26.172235-23.04l-62.885647-0.030118-0.240941-1.174588a296.207059 296.207059 0 0 0-31.171765-75.083294l-0.572235-0.933647 44.483764-44.453647a26.352941 26.352941 0 0 0 0-37.285647l-67.764706-67.764706-2.710588-2.349177a26.352941 26.352941 0 0 0-34.544941 2.349177L664.696471 256.752941l-0.90353-0.572235a296.327529 296.327529 0 0 0-63.849412-27.979294l-12.438588-3.493647V161.882353a26.352941 26.352941 0 0 0-26.322823-26.352941H465.317647z m26.352941 52.705882h43.128471v57.705412c0 12.8 9.185882 23.732706 21.744941 25.961412a243.651765 243.651765 0 0 1 96.737882 40.086588l3.252706 1.927529a26.352941 26.352941 0 0 0 30.479059-4.909176l40.809412-40.83953 30.509176 30.509177-40.839529 40.839529c-9.035294 9.035294-10.270118 23.220706-2.981647 33.701647a243.651765 243.651765 0 0 1 40.086588 96.737883l0.843294 3.343059c3.403294 10.842353 13.492706 18.371765 25.118118 18.371764h57.705412v43.128471h-57.705412a26.352941 26.352941 0 0 0-25.961412 21.744941 243.651765 243.651765 0 0 1-40.056471 96.737882l-1.957647 3.252706a26.352941 26.352941 0 0 0 4.909177 30.479059l40.809412 40.809412-30.479059 30.479059-40.809412-40.809412a26.352941 26.352941 0 0 0-33.731765-2.981647 243.651765 243.651765 0 0 1-96.737882 40.086588l-3.312941 0.843294a26.352941 26.352941 0 0 0-18.401883 25.118118l-0.030117 57.705412h-43.128471v-57.705412a26.352941 26.352941 0 0 0-21.684706-25.961412 243.651765 243.651765 0 0 1-96.768-40.056471l-3.252706-1.957647a26.352941 26.352941 0 0 0-30.448941 4.909177L298.676706 758.362353l-30.509177-30.509177 40.83953-40.809411c9.035294-9.035294 10.300235-23.250824 3.011765-33.731765a243.651765 243.651765 0 0 1-40.116706-96.737882L271.058824 553.261176a26.352941 26.352941 0 0 0-25.148236-18.401882l-57.705412-0.030118v-43.12847h57.705412a26.352941 26.352941 0 0 0 25.961412-21.684706 243.651765 243.651765 0 0 1 40.086588-96.768l1.92753-3.252706a26.352941 26.352941 0 0 0-4.909177-30.448941L268.167529 298.646588l30.479059-30.479059 40.869647 40.83953c9.035294 9.035294 23.220706 10.300235 33.701647 3.011765a243.651765 243.651765 0 0 1 96.737883-40.116706L473.298824 271.058824a26.352941 26.352941 0 0 0 18.371764-25.148236V188.235294z"/>
<path fill="currentColor" d="M513.264941 399.058824a114.206118 114.206118 0 1 0 0 228.382117 114.206118 114.206118 0 0 0 0-228.382117z m0 52.705882a61.500235 61.500235 0 1 1 0 122.970353 61.500235 61.500235 0 0 1 0-122.970353z"/>
</g>
</symbol><use href="#icon-action/setting" width="905" height="905" y="18485"/><view id="icon-action/setting-view" viewBox="0 18485 905 905"/><symbol id="icon-action/shared" viewBox="110 115 824 824">
</symbol><use href="#icon-action/setting" width="905" height="905" y="20151"/><view id="icon-action/setting-view" viewBox="0 20151 905 905"/><symbol id="icon-action/shared" viewBox="110 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963969; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M715.294118 184.470588a114.206118 114.206118 0 1 0 0 228.382118 114.206118 114.206118 0 0 0 0-228.382118z m0 52.705883a61.500235 61.500235 0 1 1 0 122.970353 61.500235 61.500235 0 0 1 0-122.970353zM328.794353 412.852706a114.206118 114.206118 0 1 0 0 228.412235 114.206118 114.206118 0 0 0 0-228.412235z m0 52.705882a61.500235 61.500235 0 1 1 0 123.000471 61.500235 61.500235 0 0 1 0-123.000471z"/>
<path fill="currentColor" d="M613.797647 321.355294a26.352941 26.352941 0 0 1 30.027294 43.188706l-2.710588 1.897412-222.448941 134.77647a26.352941 26.352941 0 0 1-30.027294-43.218823l2.710588-1.867294 222.448941-134.776471zM382.313412 558.682353a26.352941 26.352941 0 0 1 33.129412-10.782118l2.981647 1.505883 234.345411 138.511058a26.352941 26.352941 0 0 1-23.853176 46.863059l-2.95153-1.505882-234.375529-138.480941a26.352941 26.352941 0 0 1-9.276235-36.111059z"/>
<path fill="currentColor" d="M715.294118 641.264941a114.206118 114.206118 0 1 0 0 228.382118 114.206118 114.206118 0 0 0 0-228.382118z m0 52.705883a61.500235 61.500235 0 1 1 0 122.970352 61.500235 61.500235 0 0 1 0-122.970352z"/>
</g>
</symbol><use href="#icon-action/shared" width="824" height="824" y="19390"/><view id="icon-action/shared-view" viewBox="0 19390 824 824"/><symbol id="icon-action/upload" viewBox="100 100 824 824">
</symbol><use href="#icon-action/shared" width="824" height="824" y="21056"/><view id="icon-action/shared-view" viewBox="0 21056 824 824"/><symbol id="icon-action/upload" viewBox="100 100 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963752; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M828.235294 485.647059c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210823 3.312941v316.235294a26.352941 26.352941 0 0 1-23.04 26.142118l-3.312941 0.210823h-632.470588a26.352941 26.352941 0 0 1-26.142118-23.04l-0.210823-3.312941V512.150588a26.352941 26.352941 0 0 1 52.495059-3.312941l0.210823 3.312941v289.731765h579.764706V512c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312941-0.210823z m-315.211294-316.235294h-1.174588a26.593882 26.593882 0 0 1 16.082823 5.360941l2.710589 2.349176 158.117647 158.117647a26.352941 26.352941 0 0 1-34.575059 39.634824l-2.710588-2.349177-113.272471-113.302588v393.336471a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941V259.523765l-112.971295 113.001411a26.352941 26.352941 0 0 1-34.575058 2.349177l-2.710589-2.349177a26.352941 26.352941 0 0 1-2.349176-34.575058l2.349176-2.710589 156.461177-156.461176a26.292706 26.292706 0 0 1 21.323294-9.336471z"/>
</g>
</symbol><use href="#icon-action/upload" width="824" height="824" y="20214"/><view id="icon-action/upload-view" viewBox="0 20214 824 824"/></svg>
</symbol><use href="#icon-action/upload" width="824" height="824" y="21880"/><view id="icon-action/upload-view" viewBox="0 21880 824 824"/></svg>

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Binary file not shown.

View File

@ -97,11 +97,14 @@
<path fill="currentColor" d="M697.735529 124.235294a96.617412 96.617412 0 1 0 0 193.264941 96.617412 96.617412 0 0 0 0-193.264941z m0 52.705882a43.911529 43.911529 0 1 1 0 87.853177 43.911529 43.911529 0 0 1 0-87.853177zM311.205647 124.235294a96.617412 96.617412 0 1 0 0 193.264941 96.617412 96.617412 0 0 0 0-193.264941z m0 52.705882a43.911529 43.911529 0 1 1 0 87.853177 43.911529 43.911529 0 0 1 0-87.853177zM311.205647 686.441412a96.617412 96.617412 0 1 0 0 193.234823 96.617412 96.617412 0 0 0 0-193.234823z m0 52.705882a43.911529 43.911529 0 1 1 0 87.823059 43.911529 43.911529 0 0 1 0-87.823059z"/>
<path fill="currentColor" d="M697.735529 264.794353c13.432471 0 24.515765 10.029176 26.142118 23.04l0.210824 3.312941V361.411765c0 53.549176-26.383059 86.226824-98.243765 123.783529l-14.034824 7.107765-15.088941 7.258353-16.233412 7.439059-17.377882 7.68-18.552471 7.951058-49.302588 20.449883-17.950117 7.589647-16.655059 7.258353-15.450353 6.987294c-2.469647 1.144471-4.909176 2.258824-7.258353 3.403294l-13.673412 6.595765-12.559059 6.354823c-7.981176 4.186353-15.209412 8.222118-21.775059 12.197647l-9.33647 5.872941c-29.304471 19.425882-41.833412 37.044706-42.947765 57.615059l-0.090353 3.132236v52.705882c0 33.822118-48.850824 35.087059-52.495059 3.734588l-0.210823-3.734588v-421.647059a26.352941 26.352941 0 0 1 52.525176-3.312941l0.180706 3.312941v272.685177l4.728471-3.312942c17.648941-12.257882 39.905882-24.395294 67.493647-37.436235l19.184941-8.854588c3.343059-1.505882 6.746353-3.011765 10.24-4.517647l21.624471-9.336471 23.311058-9.758117 20.118589-8.282353 18.55247-7.770353 25.47953-11.023059 15.450353-6.957177 7.258353-3.403294 13.673411-6.595764 12.559059-6.354824c3.975529-2.108235 7.800471-4.156235 11.444706-6.204235l10.330353-6.02353c36.020706-21.775059 51.049412-40.839529 52.284235-63.488l0.090353-3.102117V291.147294c0-14.576941 11.776-26.352941 26.352941-26.352941z"/>
</g>
</symbol><use href="#icon-navigation/routing" width="906" height="906" y="12925"/><view id="icon-navigation/routing-view" viewBox="0 12925 906 906"/><symbol id="icon-navigation/table" viewBox="49 70 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43964166; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M818.206118 214.588235h-632.470589a61.500235 61.500235 0 0 0-61.500235 61.500236V768c0 33.972706 27.527529 61.500235 61.500235 61.500235h632.470589a61.500235 61.500235 0 0 0 61.470117-61.500235V276.088471a61.500235 61.500235 0 0 0-61.470117-61.500236z m-632.470589 52.705883h632.470589c4.818824 0 8.764235 3.915294 8.764235 8.794353V768c0 4.848941-3.915294 8.794353-8.764235 8.794353h-632.470589a8.794353 8.794353 0 0 1-8.794353-8.794353V276.088471c0-4.848941 3.915294-8.794353 8.794353-8.794353z"/>
<path fill="currentColor" d="M642.499765 513.264941c13.432471 0 24.545882 10.029176 26.172235 23.04l0.180706 3.312941V662.588235a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941v-122.970353c0-14.576941 11.806118-26.352941 26.352941-26.352941zM501.970824 355.147294c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941V662.588235a26.352941 26.352941 0 0 1-52.525177 3.312941l-0.180706-3.312941v-281.088c0-14.576941 11.776-26.352941 26.352942-26.352941zM361.411765 425.411765c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941v210.823529a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941v-210.823529c0-14.546824 11.806118-26.352941 26.352941-26.352941z"/>
</symbol><use href="#icon-navigation/routing" width="906" height="906" y="12925"/><view id="icon-navigation/routing-view" viewBox="0 12925 906 906"/><symbol id="icon-navigation/table" viewBox="49 74 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963947; adapted for contrast and optical sizing. -->
<g fill="currentColor" stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path d="M818.206118 184.470588h-632.470589a61.500235 61.500235 0 0 0-61.500235 61.500236v562.176c0 33.972706 27.527529 61.500235 61.500235 61.500235h632.470589a61.500235 61.500235 0 0 0 61.470117-61.500235V245.970824a61.500235 61.500235 0 0 0-61.470117-61.500236z m-632.470589 52.705883h632.470589c4.818824 0 8.764235 3.915294 8.764235 8.794353v562.176c0 4.848941-3.915294 8.794353-8.764235 8.794352h-632.470589a8.794353 8.794353 0 0 1-8.794353-8.794352V245.970824c0-4.848941 3.915294-8.794353 8.794353-8.794353z"/>
<path d="M853.323294 395.294118a26.352941 26.352941 0 0 1 3.312941 52.495058l-3.312941 0.210824H150.588235a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h702.735059z"/>
<path d="M387.764706 395.294118c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210823 3.312941v421.647059a26.352941 26.352941 0 0 1-52.495059 3.312941L361.411765 843.294118V421.647059c0-14.546824 11.806118-26.352941 26.352941-26.352941zM616.146824 395.294118c13.432471 0 24.545882 10.059294 26.172235 23.04l0.180706 3.312941v421.647059a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941V421.647059c0-14.546824 11.806118-26.352941 26.352942-26.352941z"/>
<path d="M853.323294 606.117647a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210823H150.588235a26.352941 26.352941 0 0 1-3.312941-52.495058l3.312941-0.210824h702.735059z"/>
<path d="M853.323294 219.617882c13.432471 0 24.545882 10.029176 26.172235 23.04l0.180706 3.312942v562.176a61.500235 61.500235 0 0 1-56.892235 61.319529l-4.577882 0.180706h-632.470589a61.500235 61.500235 0 0 1-61.319529-56.922353l-0.180706-4.577882V245.970824a26.352941 26.352941 0 0 1 52.495059-3.312942l0.210823 3.312942v562.176c0 4.156235 2.891294 7.649882 6.776471 8.553411l2.017882 0.240941h632.470589a8.794353 8.794353 0 0 0 8.553411-6.77647l0.210824-2.017882V245.970824c0-14.576941 11.806118-26.352941 26.352941-26.352942z"/>
</g>
</symbol><use href="#icon-navigation/table" width="906" height="906" y="13831"/><view id="icon-navigation/table-view" viewBox="0 13831 906 906"/><symbol id="icon-navigation/window" viewBox="49 70 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #44567174; adapted for contrast and optical sizing. -->

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -0,0 +1,28 @@
<svg xmlns="http://www.w3.org/2000/svg"><symbol id="icon-status/error" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971709; adapted for contrast and optical sizing. -->
<g fill="currentColor" stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path d="M501.970824 124.235294C293.345882 124.235294 124.235294 293.345882 124.235294 501.970824c0 208.594824 169.110588 377.705412 377.73553 377.705411 208.594824 0 377.705412-169.110588 377.705411-377.705411 0-208.624941-169.110588-377.735529-377.705411-377.73553z m0 52.705882c179.501176 0 324.999529 145.528471 324.999529 325.029648s-145.498353 324.999529-324.999529 324.999529S176.941176 681.472 176.941176 501.970824 322.469647 176.941176 501.970824 176.941176z"/>
<path d="M582.716235 383.939765a26.352941 26.352941 0 0 1 39.604706 34.575059l-2.349176 2.710588-198.776471 198.77647a26.352941 26.352941 0 0 1-39.604706-34.605176l2.349177-2.710588 198.77647-198.746353z"/>
<path d="M383.939765 383.939765a26.352941 26.352941 0 0 1 34.575059-2.349177l2.710588 2.349177 198.77647 198.77647a26.352941 26.352941 0 0 1-34.605176 39.634824l-2.710588-2.379294-198.746353-198.776471a26.352941 26.352941 0 0 1 0-37.255529z"/>
</g>
</symbol><use href="#icon-status/error" width="906" height="906" y="0"/><view id="icon-status/error-view" viewBox="0 0 906 906"/><symbol id="icon-status/question" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971699; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M501.970824 124.235294c-101.526588 0-196.728471 40.267294-267.113412 110.622118a376.560941 376.560941 0 0 0-110.622118 267.113412c0 101.496471 40.267294 196.728471 110.622118 267.083294a376.560941 376.560941 0 0 0 267.113412 110.622117c101.496471 0 196.728471-40.267294 267.083294-110.622117a376.560941 376.560941 0 0 0 110.622117-267.083294c0-101.526588-40.267294-196.728471-110.622117-267.113412a376.560941 376.560941 0 0 0-267.083294-110.622118z m0 52.705882c87.401412 0 169.261176 34.635294 229.797647 95.171765a323.855059 323.855059 0 0 1 95.201882 229.857883c0 87.401412-34.635294 169.261176-95.171765 229.797647a323.855059 323.855059 0 0 1-229.827764 95.201882c-87.401412 0-169.261176-34.635294-229.827765-95.171765a323.855059 323.855059 0 0 1-95.201883-229.827764c0-87.401412 34.635294-169.261176 95.171765-229.827765a323.855059 323.855059 0 0 1 229.857883-95.201883z"/>
<path fill="currentColor" d="M501.970824 275.757176a131.764706 131.764706 0 0 1 31.051294 259.855059l-4.728471 1.024v46.561883a26.352941 26.352941 0 0 1-23.04 26.172235l-3.312941 0.180706a26.352941 26.352941 0 0 1-26.142118-23.04l-0.180706-3.312941v-70.264471c0-13.432471 10.029176-24.515765 23.04-26.142118l3.312942-0.210823a79.058824 79.058824 0 1 0-79.058824-79.058824 26.352941 26.352941 0 0 1-52.705882 0 131.764706 131.764706 0 0 1 131.764706-131.764706z"/>
<path fill="currentColor" d="M501.970824 741.315765a43.911529 43.911529 0 1 0 0-87.823059 43.911529 43.911529 0 0 0 0 87.823059z"/>
</g>
</symbol><use href="#icon-status/question" width="906" height="906" y="906"/><view id="icon-status/question-view" viewBox="0 906 906 906"/><symbol id="icon-status/success" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971726; adapted for contrast and optical sizing. -->
<g fill="currentColor" stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path d="M501.970824 124.235294c-101.526588 0-196.728471 40.267294-267.113412 110.622118a376.560941 376.560941 0 0 0-110.622118 267.113412c0 101.496471 40.267294 196.728471 110.622118 267.083294a376.560941 376.560941 0 0 0 267.113412 110.622117c101.496471 0 196.728471-40.267294 267.083294-110.622117a376.560941 376.560941 0 0 0 110.622117-267.083294c0-101.526588-40.267294-196.728471-110.622117-267.113412a376.560941 376.560941 0 0 0-267.083294-110.622118z m0 52.705882c87.401412 0 169.261176 34.635294 229.797647 95.171765a323.855059 323.855059 0 0 1 95.201882 229.857883c0 87.401412-34.635294 169.261176-95.171765 229.797647a323.855059 323.855059 0 0 1-229.827764 95.201882c-87.401412 0-169.261176-34.635294-229.827765-95.171765a323.855059 323.855059 0 0 1-95.201883-229.827764c0-87.401412 34.635294-169.261176 95.171765-229.827765a323.855059 323.855059 0 0 1 229.857883-95.201883z"/>
<path d="M659.004235 377.916235a26.352941 26.352941 0 0 1 39.634824 34.575059l-2.349177 2.710588-210.823529 210.82353a26.352941 26.352941 0 0 1-34.575059 2.349176l-2.710588-2.379294-105.411765-105.411765a26.352941 26.352941 0 0 1 34.575059-39.604705l2.710588 2.349176 86.768941 86.768941 192.180706-192.180706z"/>
</g>
</symbol><use href="#icon-status/success" width="906" height="906" y="1812"/><view id="icon-status/success-view" viewBox="0 1812 906 906"/><symbol id="icon-status/warning" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971723; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M501.970824 124.235294c-101.526588 0-196.728471 40.267294-267.113412 110.622118a376.560941 376.560941 0 0 0-110.622118 267.113412c0 101.496471 40.267294 196.728471 110.622118 267.083294a376.560941 376.560941 0 0 0 267.113412 110.622117c101.496471 0 196.728471-40.267294 267.083294-110.622117a376.560941 376.560941 0 0 0 110.622117-267.083294c0-101.526588-40.267294-196.728471-110.622117-267.113412a376.560941 376.560941 0 0 0-267.083294-110.622118z m0 52.705882c87.401412 0 169.261176 34.635294 229.797647 95.171765a323.855059 323.855059 0 0 1 95.201882 229.857883c0 87.401412-34.635294 169.261176-95.171765 229.797647a323.855059 323.855059 0 0 1-229.827764 95.201882c-87.401412 0-169.261176-34.635294-229.827765-95.171765a323.855059 323.855059 0 0 1-95.201883-229.827764c0-87.401412 34.635294-169.261176 95.171765-229.827765a323.855059 323.855059 0 0 1 229.857883-95.201883z"/>
<path fill="currentColor" d="M501.970824 730.352941a43.911529 43.911529 0 1 0 0-87.853176 43.911529 43.911529 0 0 0 0 87.853176z"/>
<path fill="currentColor" d="M501.970824 264.794353c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941V572.235294a26.352941 26.352941 0 0 1-52.525177 3.312941l-0.180706-3.312941V291.147294c0-14.576941 11.776-26.352941 26.352942-26.352941z"/>
</g>
</symbol><use href="#icon-status/warning" width="906" height="906" y="2718"/><view id="icon-status/warning-view" viewBox="0 2718 906 906"/></svg>

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

View File

@ -1,26 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg"><symbol id="icon-status/error" viewBox="115 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971705; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M736.828235 192.180706L527.058824 401.950118l-209.769412-209.769412a26.352941 26.352941 0 0 0-37.25553 0L192.150588 280.033882l-2.349176 2.710589a26.352941 26.352941 0 0 0 2.349176 34.544941l209.769412 209.769412-209.769412 209.769411a26.352941 26.352941 0 0 0 0 37.25553l87.853177 87.853176 2.710588 2.349177a26.352941 26.352941 0 0 0 34.544941-2.349177l209.769412-209.769412 209.769412 209.769412a26.352941 26.352941 0 0 0 37.255529 0l87.853177-87.853176 2.349176-2.710589a26.352941 26.352941 0 0 0-2.349176-34.544941L652.167529 527.058824l209.769412-209.769412a26.352941 26.352941 0 0 0 0-37.25553L774.083765 192.150588a26.352941 26.352941 0 0 0-37.25553 0z m18.612706 55.898353l50.56753 50.567529-209.739295 209.769412-2.349176 2.710588a26.352941 26.352941 0 0 0 2.349176 34.575059l209.739295 209.739294-50.56753 50.56753-209.739294-209.739295-2.710588-2.349176a26.352941 26.352941 0 0 0-34.575059 2.349176l-209.769412 209.739295-50.567529-50.56753 209.769412-209.739294 2.349176-2.710588a26.352941 26.352941 0 0 0-2.349176-34.575059L248.079059 298.646588l50.567529-50.567529 209.769412 209.769412a26.352941 26.352941 0 0 0 37.285647 0l209.739294-209.769412z"/>
</g>
</symbol><use href="#icon-status/error" width="824" height="824" y="0"/><view id="icon-status/error-view" viewBox="0 0 824 824"/><symbol id="icon-status/question" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971699; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M501.970824 124.235294c-101.526588 0-196.728471 40.267294-267.113412 110.622118a376.560941 376.560941 0 0 0-110.622118 267.113412c0 101.496471 40.267294 196.728471 110.622118 267.083294a376.560941 376.560941 0 0 0 267.113412 110.622117c101.496471 0 196.728471-40.267294 267.083294-110.622117a376.560941 376.560941 0 0 0 110.622117-267.083294c0-101.526588-40.267294-196.728471-110.622117-267.113412a376.560941 376.560941 0 0 0-267.083294-110.622118z m0 52.705882c87.401412 0 169.261176 34.635294 229.797647 95.171765a323.855059 323.855059 0 0 1 95.201882 229.857883c0 87.401412-34.635294 169.261176-95.171765 229.797647a323.855059 323.855059 0 0 1-229.827764 95.201882c-87.401412 0-169.261176-34.635294-229.827765-95.171765a323.855059 323.855059 0 0 1-95.201883-229.827764c0-87.401412 34.635294-169.261176 95.171765-229.827765a323.855059 323.855059 0 0 1 229.857883-95.201883z"/>
<path fill="currentColor" d="M501.970824 275.757176a131.764706 131.764706 0 0 1 31.051294 259.855059l-4.728471 1.024v46.561883a26.352941 26.352941 0 0 1-23.04 26.172235l-3.312941 0.180706a26.352941 26.352941 0 0 1-26.142118-23.04l-0.180706-3.312941v-70.264471c0-13.432471 10.029176-24.515765 23.04-26.142118l3.312942-0.210823a79.058824 79.058824 0 1 0-79.058824-79.058824 26.352941 26.352941 0 0 1-52.705882 0 131.764706 131.764706 0 0 1 131.764706-131.764706z"/>
<path fill="currentColor" d="M501.970824 741.315765a43.911529 43.911529 0 1 0 0-87.823059 43.911529 43.911529 0 0 0 0 87.823059z"/>
</g>
</symbol><use href="#icon-status/question" width="906" height="906" y="824"/><view id="icon-status/question-view" viewBox="0 824 906 906"/><symbol id="icon-status/success" viewBox="62 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971707; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M413.997176 191.518118l-105.59247-0.180706-3.403294 0.210823a26.352941 26.352941 0 0 0-21.744941 18.070589l-32.436706 100.442352-85.564236 61.982118-2.891294 2.409412a26.352941 26.352941 0 0 0-6.716235 27.105882l32.828235 100.382118L155.648 602.352941l-0.903529 3.644235a26.352941 26.352941 0 0 0 10.511058 25.901177l85.564236 61.921882 32.436706 100.502589 1.264941 3.162352c4.306824 9.125647 13.552941 15.119059 23.883294 15.088942l105.59247-0.210824 85.353412 62.253177 3.192471 2.017882a26.352941 26.352941 0 0 0 27.858823-2.017882l85.323294-62.253177 105.622589 0.210824 3.403294-0.210824a26.352941 26.352941 0 0 0 21.744941-18.04047l32.436706-100.532706 85.564235-61.891765 2.891294-2.409412a26.352941 26.352941 0 0 0 6.716236-27.136l-32.858353-100.412235 32.858353-100.382118 0.903529-3.644235a26.352941 26.352941 0 0 0-10.511059-25.901177l-85.564235-61.921882-32.436706-100.502588-1.264941-3.162353a26.352941 26.352941 0 0 0-23.883294-15.058824l-105.622589 0.150589-85.323294-62.223059a26.352941 26.352941 0 0 0-31.051294 0L413.997176 191.548235z m100.864-8.342589l76.8 56.018824 2.800942 1.807059c3.915294 2.138353 8.282353 3.282824 12.769882 3.252706l94.991059-0.180706 29.214117 90.443294 1.204706 3.102118c1.897412 4.005647 4.788706 7.529412 8.432942 10.149647l76.950588 55.687529-29.515294 90.322824-0.843294 3.222588a26.352941 26.352941 0 0 0 0.843294 13.161412l29.515294 90.262588-76.980706 55.717647-2.56 2.138353a26.352941 26.352941 0 0 0-7.04753 11.143529l-29.214117 90.413177-94.991059-0.180706-3.343059 0.210823a26.352941 26.352941 0 0 0-12.257882 4.848941l-76.769883 55.988706-76.739764-55.988706-2.831059-1.807058a26.352941 26.352941 0 0 0-12.739765-3.252706l-95.051294 0.180706-29.153882-90.413177-1.234824-3.132235a26.352941 26.352941 0 0 0-8.432941-10.11953L211.727059 600.425412l29.575529-90.262588 0.813177-3.252706a26.352941 26.352941 0 0 0-0.813177-13.131294l-29.575529-90.322824 77.010823-55.717647 2.56-2.108235a26.352941 26.352941 0 0 0 7.077647-11.14353l29.153883-90.413176 95.051294 0.180706a26.352941 26.352941 0 0 0 15.570823-5.059765l76.739765-56.018824z"/>
<path fill="currentColor" d="M636.807529 395.474824a26.352941 26.352941 0 0 1 39.604706 34.575058l-2.349176 2.710589-175.676235 175.676235a26.352941 26.352941 0 0 1-34.575059 2.349176l-2.710589-2.349176-87.823058-87.853177a26.352941 26.352941 0 0 1 34.544941-39.604705l2.710588 2.349176 69.210353 69.180235 157.063529-157.033411z"/>
</g>
</symbol><use href="#icon-status/success" width="906" height="906" y="1730"/><view id="icon-status/success-view" viewBox="0 1730 906 906"/><symbol id="icon-status/warning" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971723; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M501.970824 124.235294c-101.526588 0-196.728471 40.267294-267.113412 110.622118a376.560941 376.560941 0 0 0-110.622118 267.113412c0 101.496471 40.267294 196.728471 110.622118 267.083294a376.560941 376.560941 0 0 0 267.113412 110.622117c101.496471 0 196.728471-40.267294 267.083294-110.622117a376.560941 376.560941 0 0 0 110.622117-267.083294c0-101.526588-40.267294-196.728471-110.622117-267.113412a376.560941 376.560941 0 0 0-267.083294-110.622118z m0 52.705882c87.401412 0 169.261176 34.635294 229.797647 95.171765a323.855059 323.855059 0 0 1 95.201882 229.857883c0 87.401412-34.635294 169.261176-95.171765 229.797647a323.855059 323.855059 0 0 1-229.827764 95.201882c-87.401412 0-169.261176-34.635294-229.827765-95.171765a323.855059 323.855059 0 0 1-95.201883-229.827764c0-87.401412 34.635294-169.261176 95.171765-229.827765a323.855059 323.855059 0 0 1 229.857883-95.201883z"/>
<path fill="currentColor" d="M501.970824 730.352941a43.911529 43.911529 0 1 0 0-87.853176 43.911529 43.911529 0 0 0 0 87.853176z"/>
<path fill="currentColor" d="M501.970824 264.794353c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941V572.235294a26.352941 26.352941 0 0 1-52.525177 3.312941l-0.180706-3.312941V291.147294c0-14.576941 11.776-26.352941 26.352942-26.352941z"/>
</g>
</symbol><use href="#icon-status/warning" width="906" height="906" y="2636"/><view id="icon-status/warning-view" viewBox="0 2636 906 906"/></svg>

Before

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

4164
contracts/admin-api.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
.r-share-links{container-type:inline-size}.r-share-links__grid{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.r-share-link{border:1px solid var(--r-line);border-radius:var(--r-control-radius);min-width:0;color:var(--r-text-secondary);background:var(--r-surface-muted);align-items:center;gap:12px;padding:13px 16px;font-size:13px;text-decoration:none;display:flex}.r-share-link>span:nth-child(2){overflow-wrap:anywhere;flex:1}.r-share-link>.n-avatar{flex-shrink:0}.r-share-link:hover{color:var(--r-text);border-color:var(--r-control-border)}@container (width>=700px){.r-share-links__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.r-share-links--compact{container-type:normal}.r-share-links--compact .r-share-links__grid{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.r-share-links--compact .r-share-link{background:0 0;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.r-share-links--compact .r-share-link>span:nth-child(2),.r-share-links--compact .r-share-link>.r-icon{display:none}.r-share-links--compact .r-share-link:hover{background:var(--r-surface-muted)}

Binary file not shown.

View File

@ -1 +0,0 @@
.r-share-links{container-type:inline-size}.r-share-links__grid{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.r-share-link{border:1px solid var(--r-line);min-width:0;color:var(--r-text-secondary);background:var(--r-surface-muted);border-radius:8px;align-items:center;gap:12px;padding:13px 16px;font-size:13px;text-decoration:none;display:flex}.r-share-link>span:nth-child(2){overflow-wrap:anywhere;flex:1}.r-share-link>.n-avatar{flex-shrink:0}.r-share-link:hover{color:var(--r-text);border-color:var(--r-control-border)}@container (width>=700px){.r-share-links__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.r-share-links--compact{container-type:normal}.r-share-links--compact .r-share-links__grid{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.r-share-links--compact .r-share-link{background:0 0;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.r-share-links--compact .r-share-link>span:nth-child(2),.r-share-links--compact .r-share-link>.r-icon{display:none}.r-share-links--compact .r-share-link:hover{background:var(--r-surface-muted)}

Binary file not shown.

View File

@ -1 +0,0 @@
.error-page{justify-content:center;align-items:center;width:100%;height:100vh;display:flex}

Binary file not shown.

View File

@ -1 +0,0 @@
.r-dashboard{flex-direction:column;gap:24px;width:100%;max-width:1360px;margin-inline:auto;padding-block:8px 20px;display:flex;container-type:inline-size}.r-dashboard__brand{border:1px solid var(--r-line);background:var(--r-surface);width:72px;height:72px;box-shadow:var(--r-shadow-soft);border-radius:18px;place-items:center;display:grid}.r-dashboard-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.r-dashboard-stack__item{border:1px solid var(--r-line);background:var(--r-surface);border-radius:12px;flex-direction:column;gap:10px;padding:20px 24px;display:flex}.r-dashboard-stack span{color:var(--r-text-secondary);font-size:12px}.r-dashboard-stack strong{color:var(--r-text);font-family:var(--r-font-mono);letter-spacing:-.03em;font-size:21px;font-weight:600}.r-dashboard-stack small{color:var(--r-text-muted);font-size:11px}.r-dashboard-shortcuts{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.r-dashboard-shortcut{border:1px solid var(--r-line);color:var(--r-text);background:var(--r-surface-muted);border-radius:10px;align-items:center;gap:14px;padding:18px;text-decoration:none;transition:border-color .18s,background-color .18s;display:flex}.r-dashboard-shortcut:hover{border-color:var(--r-control-border);background:var(--r-surface)}.r-dashboard-shortcut__icon{border:1px solid var(--r-line);width:38px;height:38px;color:var(--r-text-secondary);background:var(--r-surface);border-radius:9px;flex-shrink:0;place-items:center;display:grid}.r-dashboard-shortcut>span:nth-child(2){flex-direction:column;gap:5px;min-width:0;display:flex}.r-dashboard-shortcut strong{font-size:14px;font-weight:600}.r-dashboard-shortcut small{color:var(--r-text-muted);font-size:12px}.r-dashboard-shortcut__arrow{color:var(--r-text-muted);margin-inline-start:auto;transform:rotate(180deg)}.r-dashboard-info{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;display:grid}.r-dashboard-info__intro{color:var(--r-text-secondary);line-height:1.8}.r-dashboard-info__feedback{color:var(--r-text-muted);margin-block-start:24px;font-size:12px;line-height:1.8}.r-dashboard-info a{color:var(--r-text);text-underline-offset:3px}.r-dashboard-features{flex-wrap:wrap;gap:8px;margin-block-start:20px;display:flex}.r-dashboard-features span{border:1px solid var(--r-line);background:var(--r-surface-muted);color:var(--r-text-secondary);border-radius:6px;padding:5px 10px;font-size:11px}@container (width>=760px){.r-dashboard-stack{grid-template-columns:repeat(4,minmax(0,1fr))}.r-dashboard-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.r-dashboard-info{grid-template-columns:1.1fr 1fr}}@container (width<=600px){.r-dashboard-stack{gap:12px}.r-dashboard-stack__item{padding:18px}.r-dashboard__brand{display:none}}

Binary file not shown.

View File

@ -0,0 +1 @@
.r-dashboard{flex-direction:column;gap:24px;width:100%;max-width:1360px;margin-inline:auto;padding-block:8px 20px;display:flex;container-type:inline-size}.r-dashboard__brand{border:1px solid var(--r-line);border-radius:var(--r-radius);background:var(--r-surface);width:72px;height:72px;box-shadow:var(--r-shadow-soft);place-items:center;display:grid}.r-dashboard-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.r-dashboard-stack__item{border:1px solid var(--r-line);border-radius:var(--r-radius);background:var(--r-surface);flex-direction:column;gap:10px;padding:20px 24px;display:flex}.r-dashboard-stack span{color:var(--r-text-secondary);font-size:12px}.r-dashboard-stack strong{color:var(--r-text);font-family:var(--r-font-mono);letter-spacing:-.03em;font-size:21px;font-weight:600}.r-dashboard-stack small{color:var(--r-text-muted);font-size:11px}.r-dashboard-shortcuts{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.r-dashboard-shortcut{border:1px solid var(--r-line);border-radius:var(--r-control-radius);color:var(--r-text);background:var(--r-surface-muted);align-items:center;gap:14px;padding:18px;text-decoration:none;transition:border-color .18s,background-color .18s;display:flex}.r-dashboard-shortcut:hover{border-color:var(--r-control-border);background:var(--r-surface)}.r-dashboard-shortcut__icon{border:1px solid var(--r-line);border-radius:var(--r-control-radius);width:38px;height:38px;color:var(--r-text-secondary);background:var(--r-surface);flex-shrink:0;place-items:center;display:grid}.r-dashboard-shortcut>span:nth-child(2){flex-direction:column;gap:5px;min-width:0;display:flex}.r-dashboard-shortcut strong{font-size:14px;font-weight:600}.r-dashboard-shortcut small{color:var(--r-text-muted);font-size:12px}.r-dashboard-shortcut__arrow{color:var(--r-text-muted);margin-inline-start:auto}.r-dashboard-info{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;display:grid}.r-dashboard-info__intro{color:var(--r-text-secondary);line-height:1.8}.r-dashboard-info__feedback{color:var(--r-text-muted);margin-block-start:24px;font-size:12px;line-height:1.8}.r-dashboard-info a{color:var(--r-text);text-underline-offset:3px}.r-dashboard-features{flex-wrap:wrap;gap:8px;margin-block-start:20px;display:flex}.r-dashboard-features span{border:1px solid var(--r-line);border-radius:var(--r-control-radius);background:var(--r-surface-muted);color:var(--r-text-secondary);padding:5px 10px;font-size:11px}@container (width>=760px){.r-dashboard-stack{grid-template-columns:repeat(4,minmax(0,1fr))}.r-dashboard-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.r-dashboard-info{grid-template-columns:1.1fr 1fr}}@container (width<=600px){.r-dashboard-stack{gap:12px}.r-dashboard-stack__item{padding:18px}.r-dashboard__brand{display:none}}

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

1
css/error-BLr_F4eK.css Normal file
View File

@ -0,0 +1 @@
.error-page{box-sizing:border-box;min-inline-size:0;min-block-size:max(440px, var(--layout-content-height,100dvh) - 2 * var(--layout-content-gutter,20px));color:var(--r-text);place-items:center;padding:40px 12px;display:grid}.error-page>.n-result{inline-size:min(100%,560px)}.error-page__mark{color:var(--r-primary-text);font-family:var(--r-font-mono);letter-spacing:-.08em;justify-content:center;margin-block-end:24px;font-size:clamp(64px,16cqi,100px);font-weight:600;line-height:1;display:flex}.error-page .r-page-header{text-align:center;display:block}.error-page .r-page-header__description{max-inline-size:46ch;margin-inline:auto}.error-page .n-result-footer{margin-block-start:28px}

BIN
css/error-BLr_F4eK.css.gz Normal file

Binary file not shown.

View File

@ -0,0 +1 @@
.user-management{block-size:calc(var(--layout-content-height,100dvh) - 2 * var(--layout-content-gutter,16px));flex-direction:column;gap:24px;min-block-size:0;display:flex;container-type:inline-size}.user-management>.r-page-header{flex:none}.user-management>.n-spin-container{flex:1;min-block-size:0}.user-management>.n-spin-container>.n-spin-content{block-size:100%}.user-management__layout{grid-template-rows:minmax(0,1fr);grid-template-columns:220px minmax(0,1fr);gap:20px;block-size:100%;min-block-size:0;display:grid}.user-management__organization,.user-management__list-viewport{min-block-size:0;min-inline-size:0}.user-management__organization .n-card__content-scrollbar{overscroll-behavior:contain}.user-management__list-viewport{block-size:100%}.user-management__list{flex-direction:column;gap:12px;block-size:100%;min-inline-size:0;display:flex}.user-management__list>.r-table{--r-table-height:auto;flex:1 0 20rem;min-block-size:20rem}.user-management__selection{flex:none}.user-management__organization .n-scrollbar-container,.user-management__list-viewport>.n-scrollbar-container,.user-management .n-data-table-base-body{overscroll-behavior:contain}.user-management--stacked .user-management__list{block-size:auto;min-block-size:100%}.user-management--stacked .user-management__list>.r-table{flex:none;min-block-size:auto}.user-management__identity{gap:4px;padding-block:4px;line-height:1.5;display:grid}.user-management__identity strong{font-weight:500}.user-management__identity span{color:var(--r-text-secondary);font-size:12px}.user-management__selection{background:var(--r-surface);border:1px solid var(--r-line);border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px;display:flex}.user-management__modal.n-card{width:min(700px,100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto}.user-management__modal--details.n-card{overflow-wrap:anywhere;width:min(560px,100vw - 32px)}.user-management__form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;display:grid}.user-management__form-wide{grid-column:1/-1}.user-management__feedback{margin-bottom:12px}.user-management__discard{min-height:44px;color:var(--r-text-secondary);justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}@container (width<=850px){.user-management__layout{grid-template-rows:minmax(100px,1fr) minmax(0,3fr);grid-template-columns:minmax(0,1fr)}}@media (width<=600px){.user-management__form-grid{grid-template-columns:minmax(0,1fr)}}

Binary file not shown.

1
css/welcome-DjsIhJ-X.css Normal file
View File

@ -0,0 +1 @@
.r-welcome{box-sizing:border-box;min-block-size:max(480px, var(--layout-content-height,100dvh) - 2 * var(--layout-content-gutter,20px));flex-direction:column;justify-content:center;gap:48px;max-inline-size:920px;margin-inline:auto;padding:clamp(24px,5cqi,64px) clamp(0px,2cqi,24px);display:flex}.r-welcome__intro{text-align:center;flex-direction:column;align-items:center;gap:24px;display:flex}.r-welcome__intro .r-page-header{justify-content:center;padding:0}.r-welcome__intro .r-page-header__description{max-inline-size:48ch;margin-inline:auto}.r-welcome__mark{border:1px solid var(--r-line);border-radius:var(--r-radius);block-size:80px;inline-size:80px;color:var(--r-primary-text);background:var(--r-surface);box-shadow:var(--r-shadow-soft);place-items:center;display:grid}.r-welcome__destinations h2{color:var(--r-text-secondary);margin-block-end:16px;font-size:13px;font-weight:500}.r-welcome__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.r-welcome__link{box-sizing:border-box;border:1px solid var(--r-line);border-radius:var(--r-radius);min-block-size:88px;min-inline-size:0;color:var(--r-text);background:var(--r-surface);align-items:center;gap:14px;padding:18px 20px;text-decoration:none;transition:border-color .16s,background-color .16s;display:flex}.r-welcome__link:hover{border-color:var(--r-control-border);background:var(--r-surface-muted)}@media (prefers-reduced-motion:reduce){.r-welcome__link{transition:none}}.r-welcome__icon{border-radius:var(--r-control-radius);background:var(--r-surface-muted);block-size:40px;inline-size:40px;color:var(--r-text-secondary);flex-shrink:0;place-items:center;display:grid}.r-welcome__link-copy{overflow-wrap:anywhere;flex-direction:column;gap:5px;min-inline-size:0;display:flex}.r-welcome__link-copy strong{font-size:14px;font-weight:600}.r-welcome__link-copy>span{color:var(--r-text-muted);font-size:12px}.r-welcome__arrow{color:var(--r-text-muted);margin-inline-start:auto;font-size:18px}.r-welcome__hint{color:var(--r-text-muted);text-align:center;margin-block-start:20px;font-size:12px;line-height:1.7}.r-welcome__empty{border-block-start:1px solid var(--r-line);text-align:center;padding-block:24px}.r-welcome__empty h2{color:var(--r-text-secondary);font-size:14px;font-weight:600}.r-welcome__empty p{color:var(--r-text-muted);margin-block-start:8px;font-size:13px;line-height:1.8}@container (width<=600px){.r-welcome{gap:32px;padding-block:32px}.r-welcome__grid{grid-template-columns:minmax(0,1fr)}.r-welcome__mark{block-size:64px;inline-size:64px}}

BIN
css/welcome-DjsIhJ-X.css.gz Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{R as p}from"./chunks/theme.CvKeZay4.js";import{R as s,ar as i,as as u,at as c,au as l,av as f,aw as d,ax as m,ay as h,az as A,aA as g,d as v,u as w,v as y,s as C,aB as R,aC as P,aD as b,a2 as E}from"./chunks/framework.D8G7yXPy.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(p),S=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=w();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),P(),b(),n.setup&&n.setup(),()=>E(n.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=x(),a=D();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return g(S)}function x(){let e=s;return h(a=>{let t=A(a),o=null;return t&&(e&&(t=t.replace(/\.js$/,".lean.js")),o=import(t)),s&&(e=!1),o},n.NotFound)}s&&T().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{T as createApp};
import{R as p}from"./chunks/theme.DcPBxbZ4.js";import{R as s,ar as i,as as u,at as c,au as l,av as f,aw as d,ax as m,ay as h,az as A,aA as g,d as v,u as w,v as y,s as C,aB as R,aC as P,aD as b,a2 as E}from"./chunks/framework.D8G7yXPy.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(p),S=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=w();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),P(),b(),n.setup&&n.setup(),()=>E(n.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=x(),a=D();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return g(S)}function x(){let e=s;return h(a=>{let t=A(a),o=null;return t&&(e&&(t=t.replace(/\.js$/,".lean.js")),o=import(t)),s&&(e=!1),o},n.NotFound)}s&&T().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{T as createApp};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import{p as gt,a as D,e as G,c as me,u as Me,g as B,n as O,h as De,j as lt,k as ue,B as On,z as zn,D as ye,d as de,q as Qe,t as Jt,_ as Tn,L as mr,a8 as Ge,a6 as br,E as rn,A as pr,y as yr}from"./light.BQgF5P5u.js";import{b as Mn,e as St,r as ot,i as Qt,g as $n,h as ut,j as wr,l as xr,P as Bn,u as Nt,V as Cr,m as on,n as kr,B as Sr,a as Rr,p as Fr,o as _n,f as $t,c as an}from"./Dropdown.DgfjCOPN.js";import{y as Pr,l as Be,z as Ir,r as tt,u as It,c as $e,A as ln,h as jt,C as Or,D as zr,E as Tr,k as An,G as Mr,H as En,I as $r,m as Br,J as _r,X as sn}from"./DemoFrame.vue_vue_type_script_setup_true_lang.CEMQDpbD.js";import{a as Ft,u as en,C as Ar,S as Er,I as Vr}from"./Flex.CURB-Ttk.js";import{V as dn,b as Lr,r as Bt,S as qr,W as Dr,u as Ht,g as Wr,o as cn}from"./Icon.D_D2CMbU.js";import{d as Te,j as Se,o as v,c as P,F as Pe,b as ie,N as He,h as _,p as L,X as nt,L as Ye,a2 as Ee,K as Ue,v as st,al as Nr,am as jr,ad as we,P as Ot,r as Hr,ae as Ur,q as qe,$ as tn,T as nn,s as Kr,E as Vn,a5 as Gr,aj as Yr}from"./framework.D8G7yXPy.js";import{d as Ut,p as dt,g as it}from"./element.mIVMEYq_.js";import{u as Xr}from"./use-compitable.BN_sOfeF.js";function _t(e){return Object.keys(e)}var Zr=Te({name:"Empty",render(){return(()=>{const e=gt("15c1a247ae156450");return e[0]||(e[0]=Se("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Se("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),Se("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"})],-1))})()}}),Jr=D("empty",`
import{p as gt,a as D,e as G,c as me,u as Me,g as B,n as O,h as De,j as lt,k as ue,B as On,z as zn,D as ye,d as de,q as Qe,t as Jt,_ as Tn,L as mr,a8 as Ge,a6 as br,E as rn,A as pr,y as yr}from"./light.BQgF5P5u.js";import{b as Mn,e as St,r as ot,i as Qt,g as $n,h as ut,j as wr,l as xr,P as Bn,u as Nt,V as Cr,m as on,n as kr,B as Sr,a as Rr,p as Fr,o as _n,f as $t,c as an}from"./Dropdown.5gd1V6-R.js";import{y as Pr,m as Be,z as Ir,r as tt,u as It,a as $e,A as ln,h as jt,C as Or,D as zr,E as Tr,l as An,G as Mr,H as En,I as $r,j as Br,J as _r,X as sn}from"./DemoFrame.vue_vue_type_script_setup_true_lang.BibqOSJQ.js";import{a as Ft,u as en,C as Ar,S as Er,I as Vr}from"./Flex.COpi4oCF.js";import{V as dn,c as Lr,r as Bt,S as qr,W as Dr,a as Ht,g as Wr,o as cn}from"./Icon.CEJcCL76.js";import{d as Te,j as Se,o as v,c as P,F as Pe,b as ie,N as He,h as _,p as L,X as nt,L as Ye,a2 as Ee,K as Ue,v as st,al as Nr,am as jr,ad as we,P as Ot,r as Hr,ae as Ur,q as qe,$ as tn,T as nn,s as Kr,E as Vn,a5 as Gr,aj as Yr}from"./framework.D8G7yXPy.js";import{d as Ut,p as dt,g as it}from"./element.mIVMEYq_.js";import{u as Xr}from"./use-compitable.BN_sOfeF.js";function _t(e){return Object.keys(e)}var Zr=Te({name:"Empty",render(){return(()=>{const e=gt("15c1a247ae156450");return e[0]||(e[0]=Se("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Se("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),Se("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"})],-1))})()}}),Jr=D("empty",`
display: flex;
flex-direction: column;
align-items: center;

View File

@ -1,4 +1,4 @@
import{S as Wt,d as Gt,u as Ye,V as _o,R as Yt}from"./Icon.D_D2CMbU.js";import{a as Je,u as Po}from"./index.DNzt2uky.js";import{A as Io,z as Qt,x as zt,t as qe,a as R,d as L,u as ze,g as D,n as H,a9 as Xt,h as Xe,j as Ze,e as p,c as K,q as Ae,p as gt,D as Eo,s as kt,L as Ao,I as To,k as Pe}from"./light.BQgF5P5u.js";import{s as No,c as re,l as st,F as $o,w as Bo,x as Fo,q as et,r as Ie,k as Oo,B as Zt,_ as Mo}from"./DemoFrame.vue_vue_type_script_setup_true_lang.CEMQDpbD.js";import{d as J,o as w,c as j,N as ve,b as G,K as pe,h as S,p as te,X as ge,j as Z,F as de,L as ae,ad as Ue,a2 as $e,s as _t,q as dt,$ as Ho,E as k,G as De,a as Jt,a9 as Vo,k as se,aR as Lo,a8 as Ko,ae as Do,P as eo,v as jo,w as Se,n as Uo,t as tt,B as qo,e as Wo,_ as Go}from"./framework.D8G7yXPy.js";import{f as Yo,k as pt,T as Qo,V as Xo,F as Zo,a as Ve,S as Jo,I as Pt}from"./InputNumber.Dg8-UIin.js";import{a as to,F as en}from"./Flex.CURB-Ttk.js";import{p as ot,d as ye}from"./element.mIVMEYq_.js";import"./manifest.DnN8uwac.js";import{C as tn,f as nt,r as Be,D as on,k as rt,c as nn,a as it}from"./Dropdown.DgfjCOPN.js";import{u as rn}from"./use-compitable.BN_sOfeF.js";import"./isSymbol.rCNNreax.js";function ln(e,t){const o=n=>{var r;return n.fullPath===t||!!((r=n.children)!=null&&r.some(o))};return e.find(n=>n.show!==!1&&o(n))}function oo(e){var t;if(e.show!==!1){if(!((t=e.children)!=null&&t.length))return e;for(const o of e.children){const n=oo(o);if(n)return n}}}function an(e){const{baseColor:t,textColor2:o,bodyColor:n,cardColor:r,dividerColor:a,actionColor:s,scrollbarColor:u,scrollbarColorHover:l,invertedColor:f}=e;return{textColor:o,textColorInverted:"#FFF",color:n,colorEmbedded:s,headerColor:r,headerColorInverted:f,footerColor:s,footerColorInverted:f,headerBorderColor:a,headerBorderColorInverted:f,footerBorderColor:a,footerBorderColorInverted:f,siderBorderColor:a,siderBorderColorInverted:f,siderColor:r,siderColorInverted:f,siderToggleButtonBorder:`1px solid ${a}`,siderToggleButtonColor:t,siderToggleButtonIconColor:o,siderToggleButtonIconColorInverted:o,siderToggleBarColor:zt(n,u),siderToggleBarColorHover:zt(n,l),__invertScrollbar:"true"}}const no=Io({name:"Layout",common:Qt,peers:{Scrollbar:No},self:an}),ro=qe("n-layout-sider"),io={type:String,default:"static"};var cn=R("layout",`
import{S as Wt,e as Gt,a as Ye,V as _o,R as Yt}from"./Icon.CEJcCL76.js";import{a as Je,u as Po}from"./index.DNzt2uky.js";import{A as Io,z as Qt,x as zt,t as qe,a as R,d as L,u as ze,g as D,n as H,a9 as Xt,h as Xe,j as Ze,e as p,c as K,q as Ae,p as gt,D as Eo,s as kt,L as Ao,I as To,k as Pe}from"./light.BQgF5P5u.js";import{s as No,a as re,m as st,F as $o,w as Bo,x as Fo,q as et,r as Ie,l as Oo,B as Zt,_ as Mo}from"./DemoFrame.vue_vue_type_script_setup_true_lang.BibqOSJQ.js";import{d as J,o as w,c as j,N as ve,b as G,K as pe,h as S,p as te,X as ge,j as Z,F as de,L as ae,ad as Ue,a2 as $e,s as _t,q as dt,$ as Ho,E as k,G as De,a as Jt,a9 as Vo,k as se,aR as Lo,a8 as Ko,ae as Do,P as eo,v as jo,w as Se,n as Uo,t as tt,B as qo,e as Wo,_ as Go}from"./framework.D8G7yXPy.js";import{f as Yo,k as pt,T as Qo,V as Xo,F as Zo,a as Ve,S as Jo,I as Pt}from"./InputNumber.BZdsfOd3.js";import{a as to,F as en}from"./Flex.COpi4oCF.js";import{p as ot,d as ye}from"./element.mIVMEYq_.js";import"./manifest.BYArtw7Y.js";import{C as tn,f as nt,r as Be,D as on,k as rt,c as nn,a as it}from"./Dropdown.5gd1V6-R.js";import{u as rn}from"./use-compitable.BN_sOfeF.js";import"./isSymbol.rCNNreax.js";function ln(e,t){const o=n=>{var r;return n.fullPath===t||!!((r=n.children)!=null&&r.some(o))};return e.find(n=>n.show!==!1&&o(n))}function oo(e){var t;if(e.show!==!1){if(!((t=e.children)!=null&&t.length))return e;for(const o of e.children){const n=oo(o);if(n)return n}}}function an(e){const{baseColor:t,textColor2:o,bodyColor:n,cardColor:r,dividerColor:a,actionColor:s,scrollbarColor:u,scrollbarColorHover:l,invertedColor:f}=e;return{textColor:o,textColorInverted:"#FFF",color:n,colorEmbedded:s,headerColor:r,headerColorInverted:f,footerColor:s,footerColorInverted:f,headerBorderColor:a,headerBorderColorInverted:f,footerBorderColor:a,footerBorderColorInverted:f,siderBorderColor:a,siderBorderColorInverted:f,siderColor:r,siderColorInverted:f,siderToggleButtonBorder:`1px solid ${a}`,siderToggleButtonColor:t,siderToggleButtonIconColor:o,siderToggleButtonIconColorInverted:o,siderToggleBarColor:zt(n,u),siderToggleBarColorHover:zt(n,l),__invertScrollbar:"true"}}const no=Io({name:"Layout",common:Qt,peers:{Scrollbar:No},self:an}),ro=qe("n-layout-sider"),io={type:String,default:"static"};var cn=R("layout",`
color: var(--n-text-color);
background-color: var(--n-color);
box-sizing: border-box;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
const l=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971721; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M501.970824 124.235294C293.345882 124.235294 124.235294 293.345882 124.235294 501.970824c0 208.594824 169.110588 377.705412 377.73553 377.705411 208.594824 0 377.705412-169.110588 377.705411-377.705411 0-208.624941-169.110588-377.735529-377.705411-377.73553z m0 52.705882c179.501176 0 324.999529 145.528471 324.999529 325.029648s-145.498353 324.999529-324.999529 324.999529S176.941176 681.472 176.941176 501.970824 322.469647 176.941176 501.970824 176.941176z" />
@ -47,13 +47,19 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M690.145882 390.204235a26.352941 26.352941 0 0 1 34.575059-2.349176l2.710588 2.349176 99.388236 99.388236c9.396706 9.426824 10.179765 24.244706 2.319059 34.575058l-2.349177 2.710589-99.388235 99.388235a26.352941 26.352941 0 0 1-39.604706-34.575059l2.349176-2.710588 80.745412-80.745412-80.745412-80.745412a26.352941 26.352941 0 0 1-2.349176-34.575058l2.349176-2.710589z" />
</g>
</svg>
`,g=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="56 49 906 906">
`,g=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="85 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970501; adapted for contrast and optical sizing. -->
<g fill="currentColor" stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path d="M356.382118 184.470588a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824H215.853176a8.794353 8.794353 0 0 0-8.553411 6.77647l-0.240941 2.017883v140.528941a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941V245.970824c0-32.436706 25.088-58.970353 56.922353-61.31953l4.577882-0.180706h140.528942zM180.705882 641.264941c13.432471 0 24.515765 10.029176 26.142118 23.04l0.210824 3.312941v140.528942c0 4.156235 2.891294 7.649882 6.77647 8.553411l2.017882 0.240941h140.528942a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824H215.853176a61.500235 61.500235 0 0 1-61.319529-56.922353l-0.180706-4.577882v-140.528942c0-14.576941 11.806118-26.352941 26.352941-26.352941zM813.176471 641.264941c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941v140.528942a61.500235 61.500235 0 0 1-56.922353 61.319529l-4.577883 0.180706h-140.528941a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210824h140.528941a8.794353 8.794353 0 0 0 8.553412-6.77647l0.240941-2.017882v-140.528942c0-14.576941 11.806118-26.352941 26.352942-26.352941zM778.029176 184.470588c32.436706 0 58.970353 25.088 61.31953 56.922353l0.180706 4.577883v140.528941a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941V245.970824a8.794353 8.794353 0 0 0-6.77647-8.553412l-2.017883-0.240941h-140.528941a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210824h140.528941zM637.500235 325.029647h-281.118117a61.500235 61.500235 0 0 0-61.470118 61.470118v281.118117c0 33.942588 27.527529 61.470118 61.470118 61.470118h281.118117a61.500235 61.500235 0 0 0 61.470118-61.470118v-281.118117a61.500235 61.500235 0 0 0-61.470118-61.470118z m-281.118117 52.705882h281.118117c4.818824 0 8.764235 3.915294 8.764236 8.764236v281.118117c0 4.818824-3.915294 8.764235-8.764236 8.764236h-281.118117a8.794353 8.794353 0 0 1-8.764236-8.764236v-281.118117c0-4.818824 3.915294-8.764235 8.764236-8.764236z" />
</g>
</svg>
`,h=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="56 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #44587183; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M210.823529 405.323294c14.546824 0 26.352941 11.806118 26.352942 26.352941v395.294118H579.764706c13.432471 0 24.515765 10.059294 26.142118 23.070118l0.210823 3.312941a26.352941 26.352941 0 0 1-26.352941 26.322823H210.823529a26.352941 26.352941 0 0 1-26.352941-26.352941v-421.647059c0-14.546824 11.806118-26.352941 26.352941-26.352941z m404.088471-281.088h0.391529a26.503529 26.503529 0 0 1 1.92753 0.090353l-2.319059-0.090353a26.563765 26.563765 0 0 1 19.425882 8.553412l193.234824 210.823529a26.804706 26.804706 0 0 1 6.746353 14.486589l0.030117 0.512a26.473412 26.473412 0 0 1 0.150589 1.686588V747.911529a26.352941 26.352941 0 0 1-26.352941 26.352942H316.235294a26.352941 26.352941 0 0 1-26.352941-26.352942V150.588235c0-14.546824 11.806118-26.352941 26.352941-26.352941h298.676706z m17.558588 421.647059h-210.823529a26.352941 26.352941 0 0 0-3.312941 52.495059l3.312941 0.210823h210.823529a26.352941 26.352941 0 1 0 0-52.705882z m-140.559059-140.559059H421.647059a26.352941 26.352941 0 0 0-3.312941 52.525177l3.312941 0.180705h70.26447a26.352941 26.352941 0 1 0 0-52.705882z m149.323295-187.00047v116.736h107.008l-107.008-116.736z" />
</g>
</svg>
`,h=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="45 45 906 906">
`,d=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="45 45 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970563; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M761.735529 225.882353h-527.058823a26.352941 26.352941 0 0 0-26.352941 26.352941v597.323294c0 14.576941 11.776 26.352941 26.352941 26.352941h527.058823a26.352941 26.352941 0 0 0 26.352942-26.352941V252.235294a26.352941 26.352941 0 0 0-26.352942-26.352941z m-26.383058 52.705882v544.617412H260.999529V278.588235h474.352942z" />
@ -61,7 +67,7 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M582.113882 120.470588h-166.671058a26.352941 26.352941 0 0 0-23.130353 13.673412l-57.765647 105.411765a26.352941 26.352941 0 0 0 23.100235 39.03247h281.088a26.352941 26.352941 0 0 0 23.220706-38.851764l-56.621177-105.411765a26.352941 26.352941 0 0 0-23.190588-13.854118z m-15.751529 52.705883l28.310588 52.705882h-192.542117l28.882823-52.705882h135.348706z" />
</g>
</svg>
`,d=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 115 824 824">
`,w=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963755; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M843.294118 500.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942V843.294118a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824H210.823529a26.352941 26.352941 0 0 1-26.142117-23.04L184.470588 843.294118V527.209412a26.352941 26.352941 0 0 1 52.495059-3.312941l0.210824 3.312941v289.731764h579.764705V527.058824c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312942-0.210824z" />
@ -69,51 +75,58 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M526.908235 184.470588c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210823 3.312941v456.794353a26.352941 26.352941 0 0 1-52.495058 3.312942l-0.210824-3.312942V210.823529c0-14.546824 11.806118-26.352941 26.352941-26.352941z" />
</g>
</svg>
`,w=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="120 147 760 760">
`,p=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="120 147 760 760">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970567; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M411.617882 281.088a70.264471 70.264471 0 1 1-140.559058 0 70.264471 70.264471 0 0 1 140.559058 0z m-70.294588 316.235294a70.264471 70.264471 0 1 0 0-140.528941 70.264471 70.264471 0 0 0 0 140.528941z m0 245.970824a70.264471 70.264471 0 1 0 0-140.559059 70.264471 70.264471 0 0 0 0 140.559059zM727.853176 281.088a70.264471 70.264471 0 1 1-140.559058 0 70.264471 70.264471 0 0 1 140.559058 0z m-70.294588 316.235294a70.264471 70.264471 0 1 0 0-140.528941 70.264471 70.264471 0 0 0 0 140.528941z m0 245.970824a70.264471 70.264471 0 1 0 0-140.559059 70.264471 70.264471 0 0 0 0 140.559059z" />
</g>
</svg>
`,p=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 85 824 824">
`,z=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 85 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970366; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M843.294118 786.823529a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824H210.823529a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210824h632.470589zM626.025412 162.093176L262.445176 526.095059a26.352941 26.352941 0 0 0-7.710117 18.642823v127.87953c0 14.576941 11.806118 26.352941 26.352941 26.352941h128.572235a26.352941 26.352941 0 0 0 18.642824-7.710118l363.369412-363.52a26.352941 26.352941 0 0 0 0-37.285647l-128.361412-128.391529a26.352941 26.352941 0 0 0-37.285647 0z m18.642823 55.898353l91.075765 91.075765-337.046588 337.197177h-91.256471v-90.654118l337.227294-337.618824z" />
</g>
</svg>
`,z=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 86 822 822">
`,_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="95 102 842 842">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971751; adapted for contrast and optical sizing. -->
<g fill="currentColor" stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path d="M839.529412 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v245.970823a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941V233.411765h-219.617883a26.352941 26.352941 0 0 1-26.142117-23.04l-0.210824-3.312941c0-13.432471 10.059294-24.515765 23.070118-26.142118l3.312941-0.210824h245.940706zM402.823529 180.705882a26.352941 26.352941 0 0 1 3.312942 52.495059l-3.312942 0.210824h-158.117647a26.352941 26.352941 0 0 0-26.142117 23.04l-0.210824 3.312941v527.058823c0 13.432471 10.059294 24.515765 23.04 26.142118l3.312941 0.210824h527.058824a26.352941 26.352941 0 0 0 26.142118-23.04l0.210823-3.312942v-167.363764a26.352941 26.352941 0 0 1 52.495059-3.312941l0.210823 3.312941v167.363764a79.058824 79.058824 0 0 1-74.059294 78.908236l-4.999529 0.150588h-527.058824a79.058824 79.058824 0 0 1-78.908235-74.059294l-0.150588-4.99953v-527.058823a79.058824 79.058824 0 0 1 74.059294-78.908235L244.705882 180.705882h158.117647z" />
<path d="M805.074824 204.227765a26.352941 26.352941 0 0 1 39.634823 34.575059l-2.349176 2.710588-268.8 268.8a26.352941 26.352941 0 0 1-39.634824-34.575059l2.349177-2.710588 268.8-268.8z" />
</g>
</svg>
`,u=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 86 822 822">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970546; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M207.119059 180.705882l-3.312941 0.180706a26.352941 26.352941 0 0 0-16.715294 43.309177l246.633411 288.045176v212.118588c0 10.029176 5.722353 19.184941 14.697412 23.612236l126.494118 62.494117 3.132235 1.295059a26.352941 26.352941 0 0 0 34.906353-24.937412v-274.582588l246.663529-288.045176A26.352941 26.352941 0 0 0 839.559529 180.705882h-632.470588z m575.216941 52.705883l-215.762824 251.964235-2.228705 3.011765a26.352941 26.352941 0 0 0-4.096 14.155294v241.874823l-73.818353-36.47247v-205.402353l-0.240942-3.764706a26.352941 26.352941 0 0 0-6.083764-13.402353L264.342588 233.411765h517.993412z" />
</g>
</svg>
`,_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 112 822 822">
`,f=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 112 822 822">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970519; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M839.529412 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v158.117647a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941V233.411765h-131.764706a26.352941 26.352941 0 0 1-26.142118-23.04l-0.210823-3.312941c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312941-0.210824h158.117647zM839.529412 655.058824c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941v158.117647a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824h-158.117647a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823H813.176471v-131.764706c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312941-0.210823zM207.058824 655.058824c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941V813.176471h131.764706c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824h-158.117647a26.352941 26.352941 0 0 1-26.142118-23.04L180.705882 839.529412v-158.117647c0-14.546824 11.806118-26.352941 26.352942-26.352941zM365.176471 180.705882a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824H233.411765v131.764706a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824a26.352941 26.352941 0 0 1-26.142118-23.04L180.705882 365.176471v-158.117647c0-13.432471 10.059294-24.515765 23.04-26.142118L207.058824 180.705882h158.117647z" />
</g>
</svg>
`,u=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 112 822 822">
`,k=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 112 822 822">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970505; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M681.411765 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v131.764705h131.764706c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824h-158.117647a26.352941 26.352941 0 0 1-26.142118-23.04l-0.210823-3.312941v-158.117647c0-14.546824 11.806118-26.352941 26.352941-26.352942zM365.176471 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v158.117647a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824h-158.117647a26.352941 26.352941 0 0 1-3.312942-52.495059l3.312942-0.210824h131.764705V207.058824c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312942-0.210824zM365.176471 655.058824c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941v158.117647a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941V707.764706H207.058824a26.352941 26.352941 0 0 1-26.142118-23.04L180.705882 681.411765c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312942-0.210823h158.117647zM837.752471 655.058824a26.352941 26.352941 0 0 1 3.312941 52.495058l-3.312941 0.210824H707.764706v131.764706a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824a26.352941 26.352941 0 0 1-26.142118-23.04l-0.210823-3.312941v-158.117647c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312941-0.210823h156.340706z" />
</g>
</svg>
`,f=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="83 82 855 855">
`,M=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="83 82 855 855">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970476; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M198.776471 198.776471c56.440471-56.440471 146.070588-59.331765 203.595294-7.348706l5.300706 5.059764 160.557176 160.557177a26.352941 26.352941 0 0 1-34.544941 39.634823l-2.710588-2.349176-160.587294-160.587294c-36.352-36.352-96.496941-35.538824-134.324706 2.288941-36.412235 36.412235-38.550588 93.424941-6.324706 130.078118l4.005647 4.276706 139.414588 139.444705a26.352941 26.352941 0 0 1-34.575059 39.604706l-2.710588-2.349176-139.384471-139.444706C139.324235 350.539294 140.559059 257.024 198.776471 198.776471zM648.011294 473.539765a26.352941 26.352941 0 0 1 34.575059-2.349177l2.710588 2.349177 139.414588 139.414588c57.163294 57.163294 55.898353 150.678588-2.319058 208.896-56.440471 56.440471-146.070588 59.331765-203.595295 7.318588l-5.270588-5.029647-160.587294-160.587294a26.352941 26.352941 0 0 1 34.575059-39.634824l2.710588 2.379295 160.557177 160.557176c36.352 36.352 96.496941 35.538824 134.354823-2.288941 36.382118-36.382118 38.550588-93.394824 6.324706-130.048l-4.035765-4.306824-139.414588-139.414588a26.352941 26.352941 0 0 1 0-37.255529z" />
<path fill="currentColor" d="M530.974118 357.044706a26.352941 26.352941 0 0 1 37.285647 0c57.133176 57.163294 55.898353 150.678588-2.319059 208.896a26.352941 26.352941 0 1 1-37.25553-37.25553c37.827765-37.857882 38.640941-98.002824 2.288942-134.354823a26.352941 26.352941 0 0 1 0-37.285647zM452.969412 452.367059a26.352941 26.352941 0 0 1 37.255529 37.285647c-37.857882 37.827765-38.671059 97.972706-2.319059 134.324706a26.352941 26.352941 0 1 1-37.255529 37.285647c-57.163294-57.163294-55.898353-150.678588 2.288941-208.896z" />
</g>
</svg>
`,k=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="70 45 906 906">
`,C=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="70 45 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970578; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M804.382118 436.705882H242.206118A61.500235 61.500235 0 0 0 180.705882 498.206118v316.235294c0 33.942588 27.527529 61.470118 61.500236 61.470117h562.176a61.500235 61.500235 0 0 0 61.500235-61.470117v-316.235294a61.500235 61.500235 0 0 0-61.500235-61.500236zM242.206118 489.411765h562.176c4.848941 0 8.794353 3.915294 8.794353 8.794353v316.235294c0 4.818824-3.915294 8.764235-8.794353 8.764235H242.206118a8.794353 8.794353 0 0 1-8.794353-8.764235v-316.235294c0-4.848941 3.915294-8.794353 8.794353-8.794353z" />
<path fill="currentColor" d="M523.294118 120.470588a202.029176 202.029176 0 0 1 201.908706 194.95153l0.12047 7.077647v140.559059a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941v-140.559059a149.323294 149.323294 0 0 0-298.526118-6.475294l-0.12047 6.475294v140.559059a26.352941 26.352941 0 0 1-52.525177 3.312941l-0.180706-3.312941v-140.559059A202.029176 202.029176 0 0 1 523.294118 120.470588zM523.294118 577.264941c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941v105.411765a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941v-105.411765c0-14.576941 11.806118-26.352941 26.352942-26.352941z" />
</g>
</svg>
`,M=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="138 138 733 733">
`,m=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="138 138 733 733">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971752; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="8" stroke-linejoin="round">
<path fill="currentColor" d="M293.647059 504.470588m-52.705883 0a52.705882 52.705882 0 1 0 105.411765 0 52.705882 52.705882 0 1 0-105.411765 0Z" />
@ -121,7 +134,7 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M715.294118 504.470588m-52.705883 0a52.705882 52.705882 0 1 0 105.411765 0 52.705882 52.705882 0 1 0-105.411765 0Z" />
</g>
</svg>
`,C=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="59 79 906 906">
`,x=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="59 79 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963496; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M722.823529 365.176471c14.546824 0 26.352941 11.806118 26.352942 26.352941v281.088a237.176471 237.176471 0 0 1-474.352942 0V391.529412c0-14.546824 11.806118-26.352941 26.352942-26.352941h421.647058z m-26.352941 52.705882h-368.941176v254.735059a184.470588 184.470588 0 0 0 177.694117 184.350117l6.776471 0.120471a184.470588 184.470588 0 0 0 184.470588-184.470588v-254.735059z" />
@ -129,14 +142,14 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M512 154.352941c14.546824 0 26.352941 11.806118 26.352941 26.352941v210.82353a26.352941 26.352941 0 0 1-26.352941 26.352941h-210.823529A26.352941 26.352941 0 0 1 274.823529 391.529412 237.176471 237.176471 0 0 1 512 154.352941z m-26.352941 54.573177l-0.301177 0.060235a184.591059 184.591059 0 0 0-155.888941 155.888941l-0.060235 0.301177h156.250353V208.926118z" />
</g>
</svg>
`,m=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 115 824 824">
`,y=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963748; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M526.908235 184.470588a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824h-289.731764v579.764705H527.058824c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824H210.823529a26.352941 26.352941 0 0 1-26.142117-23.04L184.470588 843.294118V210.823529c0-13.432471 10.059294-24.515765 23.04-26.142117L210.823529 184.470588h316.084706zM666.533647 350.298353a26.352941 26.352941 0 0 1 34.575059-2.349177l2.710588 2.349177 158.117647 158.117647c9.426824 9.456941 10.24 24.244706 2.349177 34.575059l-2.349177 2.710588-158.117647 158.117647a26.352941 26.352941 0 0 1-39.634823-34.575059l2.349176-2.710588 139.504941-139.474823-139.504941-139.474824a26.352941 26.352941 0 0 1-2.349176-34.575059l2.349176-2.710588z" />
<path fill="currentColor" d="M843.294118 500.555294a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210823H386.499765a26.352941 26.352941 0 0 1-3.312941-52.495058l3.312941-0.210824H843.294118z" />
</g>
</svg>
`,x=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
`,b=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963390; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M730.352941 616.146824c14.546824 0 26.352941 11.806118 26.352941 26.352941v210.823529a26.352941 26.352941 0 0 1-26.352941 26.352941H273.558588a26.352941 26.352941 0 0 1-26.352941-26.352941v-210.823529c0-14.546824 11.806118-26.352941 26.352941-26.352941H730.352941z m-26.383059 52.705882H299.911529v158.117647h404.058353v-158.117647z" />
@ -144,28 +157,28 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M747.911529 124.235294c14.576941 0 26.352941 11.806118 26.352942 26.352941v281.088a26.352941 26.352941 0 0 1-26.352942 26.352941H256a26.352941 26.352941 0 0 1-26.352941-26.352941V150.588235c0-14.546824 11.806118-26.352941 26.352941-26.352941h491.911529z m-26.352941 52.705882H282.352941v228.382118h439.205647V176.941176z" />
</g>
</svg>
`,y=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 115 824 824">
`,B=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971771; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M839.529412 219.617882c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312942V527.058824a26.352941 26.352941 0 0 1-52.495059 3.312941L813.176471 527.058824V245.970824c0-14.576941 11.806118-26.352941 26.352941-26.352942zM207.058824 500.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v281.088a26.352941 26.352941 0 0 1-52.495059 3.312941L180.705882 808.146824V527.058824c0-14.546824 11.806118-26.352941 26.352942-26.352942z" />
<path fill="currentColor" d="M207.058824 500.705882c14.546824 0 26.352941 11.806118 26.352941 26.352942a289.882353 289.882353 0 0 0 289.882353 289.882352 288.768 288.768 0 0 0 201.306353-81.317647 26.352941 26.352941 0 0 1 36.592941 37.948236 341.473882 341.473882 0 0 1-237.899294 96.075294C334.095059 869.647059 180.705882 716.257882 180.705882 527.058824c0-14.546824 11.806118-26.352941 26.352942-26.352942z m316.235294-316.235294c189.199059 0 342.588235 153.389176 342.588235 342.588236a26.352941 26.352941 0 1 1-52.705882 0 289.882353 289.882353 0 0 0-289.882353-289.882353 288.918588 288.918588 0 0 0-208.594824 88.576 26.352941 26.352941 0 0 1-37.918118-36.592942 341.594353 341.594353 0 0 1 246.512942-104.688941z" />
</g>
</svg>
`,b=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="80 80 858 858">
`,I=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="80 80 858 858">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971773; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M475.617882 150.588235C296.116706 150.588235 150.588235 296.116706 150.588235 475.617882s145.528471 324.999529 325.029647 324.99953 324.999529-145.498353 324.99953-324.99953S655.119059 150.588235 475.617882 150.588235z m0 52.705883a272.323765 272.323765 0 1 1 0 544.617411 272.323765 272.323765 0 0 1 0-544.617411z" />
<path fill="currentColor" d="M475.617882 291.147294c44.845176 0 86.919529 17.769412 118.000942 48.880941a26.352941 26.352941 0 0 1-37.25553 37.25553 113.724235 113.724235 0 0 0-80.745412-33.430589c-30.72 0-59.452235 12.137412-80.745411 33.430589a26.352941 26.352941 0 1 1-37.285647-37.25553 166.430118 166.430118 0 0 1 118.031058-48.880941zM671.683765 671.683765a26.352941 26.352941 0 0 1 34.575059-2.349177l2.710588 2.349177 149.082353 149.082353a26.352941 26.352941 0 0 1-34.575059 39.634823l-2.710588-2.379294-149.082353-149.082353a26.352941 26.352941 0 0 1 0-37.255529z" />
</g>
</svg>
`,B=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="61 61 905 905">
`,A=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="61 61 905 905">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971792; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M465.317647 135.529412l-3.282823 0.210823a26.352941 26.352941 0 0 0-23.04 26.142118l-0.030118 62.855529-1.174588 0.301177a296.056471 296.056471 0 0 0-64.933647 25.449412l-11.083295 6.234353-44.453647-44.453648a26.352941 26.352941 0 0 0-37.285647 0l-67.764706 67.764706-2.349176 2.710589a26.352941 26.352941 0 0 0 2.349176 34.575058l44.453648 44.453647-0.542118 0.90353a296.207059 296.207059 0 0 0-31.141647 75.113412l-0.301177 1.174588H161.882353a26.352941 26.352941 0 0 0-26.352941 26.383059v95.834353l0.210823 3.312941a26.352941 26.352941 0 0 0 26.142118 23.04l62.825412-0.030118 0.301176 1.204706c6.927059 26.413176 17.408 51.651765 31.171765 75.113412l0.572235 0.873412-44.483765 44.513882a26.352941 26.352941 0 0 0 0 37.255529l67.764706 67.764706 2.710589 2.349177a26.352941 26.352941 0 0 0 34.575058-2.349177l44.453647-44.483764 0.90353 0.602352a296.207059 296.207059 0 0 0 75.113412 31.141648l1.174588 0.240941v62.885647c0 14.576941 11.806118 26.352941 26.383059 26.352941h95.834353l3.312941-0.180706a26.352941 26.352941 0 0 0 23.04-26.172235l-0.030118-62.85553 1.204706-0.301176a296.056471 296.056471 0 0 0 64.933647-25.449412l11.083294-6.26447 44.483765 44.483764a26.352941 26.352941 0 0 0 37.255529 0l67.764706-67.764706 2.349177-2.710588a26.352941 26.352941 0 0 0-2.349177-34.544941l-44.483764-44.483765 0.602352-0.903529a296.327529 296.327529 0 0 0 27.949177-63.849412l3.463529-12.468706h62.85553a26.352941 26.352941 0 0 0 26.352941-26.322823V465.317647l-0.180706-3.312941a26.352941 26.352941 0 0 0-26.172235-23.04l-62.885647-0.030118-0.240941-1.174588a296.207059 296.207059 0 0 0-31.171765-75.083294l-0.572235-0.933647 44.483764-44.453647a26.352941 26.352941 0 0 0 0-37.285647l-67.764706-67.764706-2.710588-2.349177a26.352941 26.352941 0 0 0-34.544941 2.349177L664.696471 256.752941l-0.90353-0.572235a296.327529 296.327529 0 0 0-63.849412-27.979294l-12.438588-3.493647V161.882353a26.352941 26.352941 0 0 0-26.322823-26.352941H465.317647z m26.352941 52.705882h43.128471v57.705412c0 12.8 9.185882 23.732706 21.744941 25.961412a243.651765 243.651765 0 0 1 96.737882 40.086588l3.252706 1.927529a26.352941 26.352941 0 0 0 30.479059-4.909176l40.809412-40.83953 30.509176 30.509177-40.839529 40.839529c-9.035294 9.035294-10.270118 23.220706-2.981647 33.701647a243.651765 243.651765 0 0 1 40.086588 96.737883l0.843294 3.343059c3.403294 10.842353 13.492706 18.371765 25.118118 18.371764h57.705412v43.128471h-57.705412a26.352941 26.352941 0 0 0-25.961412 21.744941 243.651765 243.651765 0 0 1-40.056471 96.737882l-1.957647 3.252706a26.352941 26.352941 0 0 0 4.909177 30.479059l40.809412 40.809412-30.479059 30.479059-40.809412-40.809412a26.352941 26.352941 0 0 0-33.731765-2.981647 243.651765 243.651765 0 0 1-96.737882 40.086588l-3.312941 0.843294a26.352941 26.352941 0 0 0-18.401883 25.118118l-0.030117 57.705412h-43.128471v-57.705412a26.352941 26.352941 0 0 0-21.684706-25.961412 243.651765 243.651765 0 0 1-96.768-40.056471l-3.252706-1.957647a26.352941 26.352941 0 0 0-30.448941 4.909177L298.676706 758.362353l-30.509177-30.509177 40.83953-40.809411c9.035294-9.035294 10.300235-23.250824 3.011765-33.731765a243.651765 243.651765 0 0 1-40.116706-96.737882L271.058824 553.261176a26.352941 26.352941 0 0 0-25.148236-18.401882l-57.705412-0.030118v-43.12847h57.705412a26.352941 26.352941 0 0 0 25.961412-21.684706 243.651765 243.651765 0 0 1 40.086588-96.768l1.92753-3.252706a26.352941 26.352941 0 0 0-4.909177-30.448941L268.167529 298.646588l30.479059-30.479059 40.869647 40.83953c9.035294 9.035294 23.220706 10.300235 33.701647 3.011765a243.651765 243.651765 0 0 1 96.737883-40.116706L473.298824 271.058824a26.352941 26.352941 0 0 0 18.371764-25.148236V188.235294z" />
<path fill="currentColor" d="M513.264941 399.058824a114.206118 114.206118 0 1 0 0 228.382117 114.206118 114.206118 0 0 0 0-228.382117z m0 52.705882a61.500235 61.500235 0 1 1 0 122.970353 61.500235 61.500235 0 0 1 0-122.970353z" />
</g>
</svg>
`,I=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="110 115 824 824">
`,H=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="110 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963969; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M715.294118 184.470588a114.206118 114.206118 0 1 0 0 228.382118 114.206118 114.206118 0 0 0 0-228.382118z m0 52.705883a61.500235 61.500235 0 1 1 0 122.970353 61.500235 61.500235 0 0 1 0-122.970353zM328.794353 412.852706a114.206118 114.206118 0 1 0 0 228.412235 114.206118 114.206118 0 0 0 0-228.412235z m0 52.705882a61.500235 61.500235 0 1 1 0 123.000471 61.500235 61.500235 0 0 1 0-123.000471z" />
@ -173,13 +186,13 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M715.294118 641.264941a114.206118 114.206118 0 1 0 0 228.382118 114.206118 114.206118 0 0 0 0-228.382118z m0 52.705883a61.500235 61.500235 0 1 1 0 122.970352 61.500235 61.500235 0 0 1 0-122.970352z" />
</g>
</svg>
`,A=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="100 100 824 824">
`,V=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="100 100 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963752; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M828.235294 485.647059c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210823 3.312941v316.235294a26.352941 26.352941 0 0 1-23.04 26.142118l-3.312941 0.210823h-632.470588a26.352941 26.352941 0 0 1-26.142118-23.04l-0.210823-3.312941V512.150588a26.352941 26.352941 0 0 1 52.495059-3.312941l0.210823 3.312941v289.731765h579.764706V512c0-13.432471 10.059294-24.515765 23.04-26.142118l3.312941-0.210823z m-315.211294-316.235294h-1.174588a26.593882 26.593882 0 0 1 16.082823 5.360941l2.710589 2.349176 158.117647 158.117647a26.352941 26.352941 0 0 1-34.575059 39.634824l-2.710588-2.349177-113.272471-113.302588v393.336471a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941V259.523765l-112.971295 113.001411a26.352941 26.352941 0 0 1-34.575058 2.349177l-2.710589-2.349177a26.352941 26.352941 0 0 1-2.349176-34.575058l2.349176-2.710589 156.461177-156.461176a26.292706 26.292706 0 0 1 21.323294-9.336471z" />
</g>
</svg>
`,V=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="82 82 865 865">
`,j=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="82 82 865 865">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963418; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M848.323765 154.352941c14.546824 0 26.352941 11.806118 26.352941 26.352941v667.617883a26.352941 26.352941 0 0 1-26.352941 26.352941H180.705882a26.352941 26.352941 0 0 1-26.352941-26.352941V496.941176c0-14.546824 11.806118-26.352941 26.352941-26.352941h289.882353V180.705882c0-13.432471 10.059294-24.515765 23.04-26.142117l3.312941-0.210824h351.382589z m-26.383059 52.705883h-298.646588V496.941176a26.352941 26.352941 0 0 1-23.04 26.142118l-3.312942 0.210824H207.058824v298.646588h614.881882V207.058824z" />
@ -187,33 +200,33 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M372.886588 583.710118a26.352941 26.352941 0 1 1 37.285647 37.285647l-51.651764 51.621647 51.651764 51.651764c9.426824 9.426824 10.24 24.244706 2.349177 34.575059l-2.349177 2.710589a26.352941 26.352941 0 0 1-37.285647 0l-70.26447-70.294589a26.352941 26.352941 0 0 1 0-37.255529l70.26447-70.294588z" />
</g>
</svg>
`,H=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="178 193 668 668">
`,D=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="178 193 668 668">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963753; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M704.180706 403.004235a26.352941 26.352941 0 0 1 39.634823 34.575059l-2.349176 2.710588-210.823529 210.82353a26.352941 26.352941 0 0 1-34.575059 2.349176l-2.710589-2.349176-210.823529-210.82353a26.352941 26.352941 0 0 1 34.575059-39.634823l2.710588 2.349176L512 595.215059l192.180706-192.210824z" />
</g>
</svg>
`,j=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="85 100 824 824">
`,P=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="85 100 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963808; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M813.176471 485.647059a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210823H180.705882a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h632.470589z" />
<path fill="currentColor" d="M372.886588 282.533647a26.352941 26.352941 0 0 1 39.634824 34.575059l-2.349177 2.710588L217.961412 512l192.210823 192.180706c9.426824 9.456941 10.209882 24.244706 2.349177 34.575059l-2.349177 2.710588a26.352941 26.352941 0 0 1-34.575059 2.349176l-2.710588-2.349176-210.823529-210.823529a26.352941 26.352941 0 0 1-2.349177-34.575059l2.349177-2.710589 210.823529-210.823529z" />
</g>
</svg>
`,D=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 112 822 822">
`,L=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 112 822 822">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970706; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M839.529412 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v632.470588a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941v-632.470588c0-14.546824 11.806118-26.352941 26.352941-26.352942zM364.122353 434.386824a26.352941 26.352941 0 0 1 39.604706 34.575058l-2.349177 2.710589-51.651764 51.621647 51.651764 51.651764c9.426824 9.426824 10.24 24.214588 2.349177 34.544942l-2.349177 2.710588a26.352941 26.352941 0 0 1-34.575058 2.349176l-2.710589-2.349176-70.26447-70.264471a26.352941 26.352941 0 0 1-2.349177-34.575059l2.349177-2.710588 70.294588-70.26447z m281.088 0a26.352941 26.352941 0 0 1 34.575059-2.349177l2.710588 2.349177 70.264471 70.26447c9.426824 9.456941 10.24 24.244706 2.349176 34.575059l-2.349176 2.710588-70.294589 70.264471a26.352941 26.352941 0 0 1-39.604706-34.575059l2.349177-2.710588 51.621647-51.621647-51.621647-51.651765a26.352941 26.352941 0 0 1-2.349177-34.544941l2.349177-2.710588zM523.294118 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v632.470588a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941v-632.470588c0-14.546824 11.806118-26.352941 26.352942-26.352942z m-316.235294 0c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v632.470588a26.352941 26.352941 0 0 1-52.495059 3.312941L180.705882 839.529412v-632.470588C180.705882 192.512 192.512 180.705882 207.058824 180.705882z" />
</g>
</svg>
`,P=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 100 824 824">
`,S=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 100 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963720; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M843.294118 485.647059a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210823H210.823529a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h632.470589z" />
<path fill="currentColor" d="M613.827765 282.533647a26.352941 26.352941 0 0 1 34.575059-2.349176l2.710588 2.349176 210.823529 210.823529c9.426824 9.456941 10.24 24.244706 2.349177 34.575059l-2.349177 2.710589-210.823529 210.823529a26.352941 26.352941 0 0 1-39.634824-34.575059l2.349177-2.710588L806.038588 512l-192.210823-192.180706a26.352941 26.352941 0 0 1-2.349177-34.575059l2.349177-2.710588z" />
</g>
</svg>
`,L=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 112 822 822">
`,Z=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 112 822 822">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970709; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M786.823529 180.705882h-527.058823A79.058824 79.058824 0 0 0 180.705882 259.764706v527.058823a79.058824 79.058824 0 0 0 79.058824 79.058824h527.058823a79.058824 79.058824 0 0 0 79.058824-79.058824v-527.058823A79.058824 79.058824 0 0 0 786.823529 180.705882z m-527.058823 52.705883h527.058823c14.546824 0 26.352941 11.806118 26.352942 26.352941v527.058823a26.352941 26.352941 0 0 1-26.352942 26.352942h-527.058823a26.352941 26.352941 0 0 1-26.352941-26.352942v-527.058823c0-14.546824 11.806118-26.352941 26.352941-26.352941z" />
@ -221,7 +234,7 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M716.559059 813.176471a26.352941 26.352941 0 0 1 3.312941 52.495058l-3.312941 0.210824h-105.411765a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h105.411765zM716.559059 180.705882a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824h-105.411765a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210824h105.411765z" />
</g>
</svg>
`,S=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 112 822 822">
`,q=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="112 112 822 822">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970682; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M786.823529 180.705882h-527.058823A79.058824 79.058824 0 0 0 180.705882 259.764706v527.058823a79.058824 79.058824 0 0 0 79.058824 79.058824h527.058823a79.058824 79.058824 0 0 0 79.058824-79.058824v-527.058823A79.058824 79.058824 0 0 0 786.823529 180.705882z m-527.058823 52.705883h527.058823c14.546824 0 26.352941 11.806118 26.352942 26.352941v527.058823a26.352941 26.352941 0 0 1-26.352942 26.352942h-527.058823a26.352941 26.352941 0 0 1-26.352941-26.352942v-527.058823c0-14.546824 11.806118-26.352941 26.352941-26.352941z" />
@ -229,28 +242,28 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M435.440941 813.176471a26.352941 26.352941 0 0 1 3.312941 52.495058l-3.312941 0.210824h-105.411765a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h105.411765zM435.440941 180.705882a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824h-105.411765a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210824h105.411765z" />
</g>
</svg>
`,Z=`<svg t="1670221189479" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1642" width="64" height="64">
`,F=`<svg t="1670221189479" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1642" width="64" height="64">
<path fill="currentColor" d="M810.666667 648.533333V298.666667c0-46.933333-38.4-85.333333-85.333334-85.333334h-85.333333V85.333333l-170.666667 170.666667 170.666667 170.666667V298.666667h85.333333v349.866666c-51.2 17.066667-85.333333 64-85.333333 119.466667 0 72.533333 55.466667 128 128 128s128-55.466667 128-128c0-55.466667-34.133333-102.4-85.333333-119.466667zM768 810.666667c-25.6 0-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667 42.666667-42.666667 42.666667 17.066667 42.666667 42.666667-17.066667 42.666667-42.666667 42.666667zM384 256c0-72.533333-55.466667-128-128-128S128 183.466667 128 256c0 55.466667 34.133333 102.4 85.333333 119.466667v268.8c-51.2 17.066667-85.333333 64-85.333333 119.466666 0 72.533333 55.466667 128 128 128s128-55.466667 128-128c0-55.466667-34.133333-102.4-85.333333-119.466666V375.466667C349.866667 358.4 384 311.466667 384 256zM256 810.666667c-25.6 0-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667 42.666667-42.666667 42.666667 17.066667 42.666667 42.666667-17.066667 42.666667-42.666667 42.666667zM256 298.666667c-25.6 0-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667 42.666667-42.666667 42.666667 17.066667 42.666667 42.666667-17.066667 42.666667-42.666667 42.666667z" p-id="1643"></path>
</svg>`,q=`<svg t="1669170696481" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1372" width="200" height="200">
</svg>`,O=`<svg t="1669170696481" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1372" width="200" height="200">
<path d="M512 0C229.283787 0 0.142041 234.942803 0.142041 524.867683c0 231.829001 146.647305 428.553077 350.068189 497.952484 25.592898 4.819996 34.976961-11.38884 34.976961-25.294314 0-12.45521-0.469203-45.470049-0.725133-89.276559-142.381822 31.735193-172.453477-70.380469-172.453477-70.380469-23.246882-60.569859-56.816233-76.693384-56.816234-76.693385-46.493765-32.58829 3.540351-31.948468 3.540351-31.948467 51.356415 3.71097 78.356923 54.086324 78.356923 54.086324 45.683323 80.19108 119.817417 57.072162 148.993321 43.593236 4.649376-33.91059 17.915029-57.029508 32.50298-70.167195-113.675122-13.222997-233.151301-58.223843-233.1513-259.341366 0-57.285437 19.919806-104.163095 52.678715-140.846248-5.246544-13.265652-22.820334-66.626844 4.990615-138.884127 0 0 42.996069-14.076094 140.760939 53.787741 40.863327-11.644769 84.627183-17.445825 128.177764-17.6591 43.465272 0.213274 87.271782 6.014331 128.135109 17.6591 97.679561-67.906489 140.59032-53.787741 140.59032-53.787741 27.938914 72.257282 10.407779 125.618474 5.118579 138.884127 32.844219 36.683154 52.593405 83.560812 52.593405 140.846248 0 201.586726-119.646798 245.990404-233.663158 258.957473 18.341577 16.208835 34.721032 48.199958 34.721032 97.210357 0 70.167195-0.639822 126.7275-0.639823 143.960051 0 14.033439 9.213443 30.370239 35.190235 25.209005 203.250265-69.527373 349.769606-266.123484 349.769605-497.867175C1023.857959 234.942803 794.673558 0 512 0" fill="currentColor" p-id="1373"></path>
</svg>`,F=`<svg t="1680416935795" class="icon" viewBox="0 0 1024 1024" version="1.1"
</svg>`,$=`<svg t="1680416935795" class="icon" viewBox="0 0 1024 1024" version="1.1"
xmlns="http://www.w3.org/2000/svg" p-id="7487" width="64" height="64">
<path
d="M746.666667 597.333333a235.093333 235.093333 0 0 1-192 167.68 262.4 262.4 0 0 1-298.666667-232.533333A256 256 0 0 1 512 256a261.12 261.12 0 0 1 96.853333 18.773333 21.333333 21.333333 0 0 0 27.306667-8.96l61.44-113.066666a22.186667 22.186667 0 0 0-9.813333-29.866667A426.666667 426.666667 0 0 0 85.333333 524.373333 431.786667 431.786667 0 0 0 493.653333 938.666667 426.666667 426.666667 0 0 0 938.666667 534.186667v-85.333334a21.76 21.76 0 0 0-21.333334-21.333333h-384a21.333333 21.333333 0 0 0-21.333333 21.333333v128a21.333333 21.333333 0 0 0 21.333333 21.333334h213.333334"
p-id="7488" fill="currentColor"></path>
</svg>`,O=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
</svg>`,E=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<rect width="64" height="64" rx="16" fill="#182436"/>
<path d="M31 21c1-6 6-10 13-10-1 6-6 10-13 10Z" fill="#D5F367"/>
<path d="M10 26h44v3a22 22 0 0 1-44 0Z" fill="#D5F367"/>
<ellipse cx="25" cy="35" rx="2.5" ry="4" fill="#182436"/>
<ellipse cx="39" cy="35" rx="2.5" ry="4" fill="#182436"/>
</svg>
`,$=`<svg t="1680416858125" class="icon" viewBox="0 0 1024 1024" version="1.1"
`,G=`<svg t="1680416858125" class="icon" viewBox="0 0 1024 1024" version="1.1"
xmlns="http://www.w3.org/2000/svg" p-id="5646" width="64" height="64">
<path
d="M919.759462 318.994613c0-9.605475-0.184234-19.102577-0.608696-28.534655 41.060787-30.595551 76.68666-68.894629 104.863684-112.720738a403.247526 403.247526 0 0 1-120.68436 33.017692c43.401647-26.708567 76.68666-69.423851 92.415219-120.68436-40.638132 24.645865-85.589515 42.265535-133.383889 51.446549-38.295465-43.575045-92.944441-71.329413-153.358869-72.360764-116.027926-1.918205-210.084998 96.132418-210.084999 218.973404 0 17.460724 1.826088 34.394031 5.451171 50.745736-174.722834-11.243716-329.55016-102.190479-433.116978-239.293373-18.071226 32.847907-28.438925 71.237296-28.438925 112.377556 0 77.811934 37.090717 146.970271 93.44657 187.779994-34.500598-1.560574-66.819283-12.009553-95.166091-29.141545v2.85744c0 108.752474 72.440238 199.870827 168.560013 221.13003-17.621477 5.012259-36.207475 7.62044-55.322696 7.526516a191.542349 191.542349 0 0 1-39.500214-4.325895c26.708567 89.120675 104.332655 154.231274 196.231295 156.400543-71.923659 59.635948-162.525433 95.258208-260.892145 95.00895-16.960401 0-33.720311-1.137918-50.15149-3.200621 93.011271 63.80109 203.418242 100.960443 322.104923 100.960443 386.350343 0.092117 597.636477-336.191629 597.636477-627.962902z"
fill="currentColor" p-id="5647"></path>
</svg>`,E=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
</svg>`,J=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43967447; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M361.411765 124.235294c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941v279.190589l288.527059-288.466824 8.252235-8.794353a26.352941 26.352941 0 0 1 35.087059-2.981647l2.740706 2.409412 149.323294 149.353412c9.456941 9.426824 10.24 24.214588 2.379294 34.544941l-2.379294 2.710588-297.592471 297.592471h279.220706c13.432471 0 24.545882 10.059294 26.172235 23.070117l0.180706 3.312941v210.82353a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.180706-601.6-0.060235-6.565647-0.361412-5.933176-0.63247-6.324706-0.963765-6.415059-1.295059a128.602353 128.602353 0 0 1-12.137412-3.403294l-6.625882-2.409412a130.620235 130.620235 0 0 1-11.595294-5.210353l-7.649883-4.21647-4.969411-3.132236-7.168-5.12-6.174118-4.969411-2.710588-2.409412a131.433412 131.433412 0 0 1-43.068236-91.196235l-0.150588-6.384942V150.588235c0-13.432471 10.059294-24.515765 23.04-26.142117L150.588235 124.235294h210.82353z m465.558588 544.617412H521.396706l-158.147765 158.117647h463.721412v-158.117647zM335.058824 176.941176h-158.117648v570.970353c0 20.178824 7.529412 38.550588 19.937883 52.525177l3.222588 3.373176 5.12 4.728471 4.367059 3.373176 4.367059 2.981647 4.517647 2.620236 4.246588 2.138353c1.897412 0.903529 3.824941 1.686588 5.782588 2.409411l4.608 1.566118 2.861177 0.783059 6.354823 1.385412 4.668236 0.662588c3.493647 0.421647 6.987294 0.572235 10.480941 0.512l5.24047-0.301177 5.270589-0.602352 6.746352-1.325177 2.43953-0.602353 2.409412-0.752941c1.957647-0.602353 3.855059-1.264941 5.722353-2.017882l3.945411-1.716706 4.306824-2.108236 2.258823-1.295058 4.216471-2.650353 4.126118-2.981647c1.355294-1.024 2.650353-2.108235 3.915294-3.222589l3.824941-3.584 3.222588-3.373176c11.354353-12.8 18.672941-29.334588 19.787294-47.525647l0.150589-4.99953V176.941176z m480.737882 122.970353l-111.796706-111.796705-316.235294 316.205176v223.623529L815.796706 299.911529z" />
@ -260,25 +273,25 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M361.411765 124.235294H150.588235A26.352941 26.352941 0 0 0 124.235294 150.588235v597.323294a131.764706 131.764706 0 0 0 263.529412 0V150.588235A26.352941 26.352941 0 0 0 361.411765 124.235294z m-184.470589 52.705882h158.117648v570.970353A79.058824 79.058824 0 0 1 256 826.970353l-4.999529-0.150588a79.058824 79.058824 0 0 1-74.059295-78.908236V176.941176z" />
</g>
</svg>
`,G=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="48 73 901 901">
`,K=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="48 73 901 901">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43967617; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="10" stroke-linejoin="round">
<path fill="currentColor" d="M849.558588 426.676706a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210823H146.823529a26.352941 26.352941 0 0 1-3.312941-52.525176l3.312941-0.180706h702.735059zM181.970824 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v140.559058a26.352941 26.352941 0 0 1-52.525177 3.312942l-0.180706-3.312942V207.058824c0-14.546824 11.776-26.352941 26.352942-26.352942z m0 351.292236c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941v210.883765a26.352941 26.352941 0 0 1-52.525177 3.312941l-0.180706-3.312941V558.381176c0-14.546824 11.776-26.352941 26.352942-26.352941zM434.959059 180.705882c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v140.559058a26.352941 26.352941 0 0 1-52.525176 3.312942l-0.180706-3.312942V207.058824c0-14.546824 11.776-26.352941 26.352941-26.352942z m0 351.382589c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941v281.088a26.352941 26.352941 0 0 1-52.525176 3.312941l-0.180706-3.312941v-281.088c0-14.576941 11.776-26.352941 26.352941-26.352941zM687.947294 180.705882c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210823 3.312942v140.559058a26.352941 26.352941 0 0 1-52.525176 3.312942l-0.180706-3.312942V207.058824c0-14.546824 11.776-26.352941 26.352941-26.352942z m126.494118 0c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942v140.559058a26.352941 26.352941 0 0 1-52.525177 3.312942l-0.180705-3.312942V207.058824c0-14.546824 11.776-26.352941 26.352941-26.352942z m-126.494118 351.382589c13.432471 0 24.515765 10.029176 26.142118 23.04l0.210823 3.312941v140.528941a26.352941 26.352941 0 0 1-52.525176 3.312941l-0.180706-3.312941v-140.528941c0-14.576941 11.776-26.352941 26.352941-26.352941zM308.464941 180.705882c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210823 3.312942v140.559058a26.352941 26.352941 0 0 1-52.525176 3.312942l-0.180706-3.312942V207.058824c0-14.546824 11.776-26.352941 26.352941-26.352942z m0 351.382589c13.432471 0 24.515765 10.029176 26.142118 23.04l0.210823 3.312941v140.528941a26.352941 26.352941 0 0 1-52.525176 3.312941l-0.180706-3.312941v-140.528941c0-14.576941 11.776-26.352941 26.352941-26.352941zM561.453176 180.705882c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210824 3.312942v140.559058a26.352941 26.352941 0 0 1-52.525177 3.312942l-0.180706-3.312942V207.058824c0-14.546824 11.776-26.352941 26.352941-26.352942z m0 351.382589c13.432471 0 24.515765 10.029176 26.142118 23.04l0.210824 3.312941v140.528941a26.352941 26.352941 0 0 1-52.525177 3.312941l-0.180706-3.312941v-140.528941c0-14.576941 11.776-26.352941 26.352941-26.352941z m252.988236 0c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941v210.823529a26.352941 26.352941 0 0 1-52.525177 3.312941l-0.180705-3.312941v-210.823529c0-14.576941 11.776-26.352941 26.352941-26.352941z" />
</g>
</svg>
`,J=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="45 45 906 906">
`,N=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="45 45 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970685; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M479.563294 128.180706L356.592941 251.181176a26.352941 26.352941 0 0 0 0 37.25553l122.970353 122.970353a26.352941 26.352941 0 0 0 37.25553 0l123.00047-122.970353a26.352941 26.352941 0 0 0 0-37.25553L516.818824 128.180706a26.352941 26.352941 0 0 0-37.25553 0z m18.612706 55.898353l85.714824 85.714823-85.714824 85.684706-85.684706-85.684706 85.684706-85.714823zM707.945412 374.151529l-122.970353 122.970353a26.352941 26.352941 0 0 0 0 37.285647l122.970353 122.970353a26.352941 26.352941 0 0 0 37.285647 0l122.970353-122.970353a26.352941 26.352941 0 0 0 0-37.285647l-122.970353-122.970353a26.352941 26.352941 0 0 0-37.285647 0z m18.642823 55.898353l85.714824 85.714824-85.714824 85.714823-85.714823-85.714823 85.714823-85.714824zM479.563294 584.975059l-122.970353 122.970353a26.352941 26.352941 0 0 0 0 37.285647l122.970353 122.970353a26.352941 26.352941 0 0 0 37.25553 0l123.00047-122.970353a26.352941 26.352941 0 0 0 0-37.285647l-123.00047-122.970353a26.352941 26.352941 0 0 0-37.25553 0z m18.612706 55.898353l85.714824 85.684706-85.714824 85.714823-85.684706-85.684706 85.684706-85.714823zM251.181176 356.592941l-123.00047 122.970353a26.352941 26.352941 0 0 0 0 37.25553l123.00047 123.00047a26.352941 26.352941 0 0 0 37.25553 0l122.970353-123.00047a26.352941 26.352941 0 0 0 0-37.25553L288.436706 356.592941a26.352941 26.352941 0 0 0-37.25553 0z m18.612706 55.898353l85.684706 85.684706-85.684706 85.714824-85.714823-85.714824 85.714823-85.684706z" />
</g>
</svg>
`,K=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="114 116 781 781">
`,Q=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="114 116 781 781">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970703; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M690.206118 180.705882a140.559059 140.559059 0 1 0 0 281.088 140.559059 140.559059 0 0 0 0-281.088z m0 52.705883a87.853176 87.853176 0 1 1 0 175.676235 87.853176 87.853176 0 0 1 0-175.676235zM690.206118 549.647059a140.559059 140.559059 0 1 0 0 281.088 140.559059 140.559059 0 0 0 0-281.088z m0 52.705882a87.853176 87.853176 0 1 1 0 175.676235 87.853176 87.853176 0 0 1 0-175.676235zM321.264941 180.705882a140.559059 140.559059 0 1 0 0 281.088 140.559059 140.559059 0 0 0 0-281.088z m0 52.705883a87.853176 87.853176 0 1 1 0 175.676235 87.853176 87.853176 0 0 1 0-175.676235zM321.264941 549.647059a140.559059 140.559059 0 1 0 0 281.088 140.559059 140.559059 0 0 0 0-281.088z m0 52.705882a87.853176 87.853176 0 1 1 0 175.676235 87.853176 87.853176 0 0 1 0-175.676235z" />
</g>
</svg>
`,N=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 56 906 906">
`,R=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 56 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43964067; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M677.647059 272.323765c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941v158.117647a26.352941 26.352941 0 0 1-26.352941 26.352941 148.871529 148.871529 0 0 0-111.134118 49.573647A148.660706 148.660706 0 0 0 528.323765 632.470588c0 8.583529 0.722824 17.076706 2.108235 25.389177a149.504 149.504 0 0 0 73.667765 104.628706 26.352941 26.352941 0 0 1-5.360941 48.128c-50.778353 15.36-115.832471 23.883294-184.621177 23.883294-6.415059 0-12.739765-0.060235-19.064471-0.210824l-18.703058-0.602353-18.371765-1.024c-6.023529-0.391529-12.047059-0.873412-17.950118-1.415529l-17.498353-1.807059a652.348235 652.348235 0 0 1-25.359058-3.433412l-16.26353-2.770823-15.661176-3.132236c-81.889882-17.679059-137.547294-50.898824-140.860236-95.563294l-0.150588-4.21647v-421.647059a26.352941 26.352941 0 0 1 52.495059-3.312941l0.210823 3.312941v421.647059c0 12.137412 22.949647 26.292706 60.717177 37.948235l11.745882 3.433412c4.065882 1.084235 8.252235 2.168471 12.589177 3.222588l13.402353 3.041882 14.125176 2.800942 14.817883 2.56 7.649882 1.204705 15.751529 2.108236 8.131765 0.903529 16.564706 1.626353 17.106823 1.264941c14.456471 0.903529 29.334588 1.355294 44.574118 1.355294 35.930353 0 70.625882-2.469647 102.219294-7.107764l15.390118-2.499765-4.156235-4.427294a201.697882 201.697882 0 0 1-47.49553-92.882824l-1.566118-8.131764A203.264 203.264 0 0 1 475.617882 632.470588c0-50.507294 18.612706-98.183529 51.681883-134.987294a201.577412 201.577412 0 0 1 116.043294-64.150588l7.951059-1.174588V298.676706c0-13.432471 10.059294-24.545882 23.04-26.172235l3.312941-0.180706z" />
@ -286,7 +299,7 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M150.588235 553.411765c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210823 3.312941c0 10.330353 16.564706 22.106353 44.754824 32.557176l10.390588 3.614118 5.571765 1.807059 11.745882 3.403294c4.065882 1.114353 8.252235 2.198588 12.589177 3.252706l13.402353 3.011765c2.288941 0.512 4.608 0.993882 6.957176 1.445647l14.486588 2.710588c4.939294 0.843294 9.999059 1.626353 15.149177 2.409412l15.751529 2.108235 16.353883 1.807059 16.865882 1.415529c17.076706 1.264941 34.876235 1.957647 53.157647 1.957647 30.147765 0 59.542588-1.746824 87.190588-5.12a26.352941 26.352941 0 1 1 6.354824 52.314353c-29.756235 3.614118-61.289412 5.511529-93.545412 5.51153-160.015059 0-289.882353-43.309176-289.882353-114.206118 0-14.546824 11.806118-26.352941 26.352941-26.352941zM150.588235 412.852706c13.432471 0 24.515765 10.059294 26.142118 23.070118l0.210823 3.312941c0 7.860706 9.697882 16.624941 26.864942 24.997647l8.432941 3.794823c5.963294 2.529882 12.619294 4.999529 19.877647 7.378824l11.294118 3.493647c1.957647 0.602353 3.975529 1.144471 5.993411 1.686588l12.589177 3.252706 6.625882 1.536 13.733647 2.921412 7.168 1.385412 14.817883 2.56c10.089412 1.596235 20.630588 3.011765 31.503058 4.21647l16.594824 1.626353c19.666824 1.686588 40.357647 2.620235 61.680941 2.620235 45.688471 0 89.479529-4.005647 127.759059-11.444706a26.352941 26.352941 0 1 1 10.059294 51.712c-41.652706 8.131765-88.847059 12.438588-137.818353 12.438589-160.015059 0-289.882353-43.279059-289.882353-114.206118 0-14.546824 11.806118-26.352941 26.352941-26.352941zM664.455529 539.376941l-60.837647 35.147294a26.352941 26.352941 0 0 0-13.191529 22.799059v70.294588c0 9.396706 5.029647 18.100706 13.191529 22.799059l60.837647 35.147294c8.161882 4.698353 18.221176 4.698353 26.383059 0l60.837647-35.147294a26.352941 26.352941 0 0 0 13.19153-22.799059v-70.294588a26.352941 26.352941 0 0 0-13.19153-22.799059l-60.837647-35.147294a26.352941 26.352941 0 0 0-26.383059 0z m13.161412 53.248l34.514824 19.907765v39.845647l-34.484706 19.907765-34.514824-19.907765v-39.845647l34.484706-19.907765z" />
</g>
</svg>
`,Q=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="70 49 906 906">
`,T=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="70 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43968045; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M627.440941 124.235294c14.576941 0 26.352941 11.806118 26.352941 26.352941v149.323294h149.353412c13.432471 0 24.515765 10.059294 26.142118 23.070118l0.210823 3.312941v491.91153a61.500235 61.500235 0 0 1-61.500235 61.470117H276.088471a61.500235 61.500235 0 0 1-61.500236-61.470117v-632.470589c0-33.972706 27.527529-61.500235 61.500236-61.500235h351.35247z m-26.352941 52.705882H276.088471a8.794353 8.794353 0 0 0-8.794353 8.794353v632.470589c0 4.818824 3.915294 8.764235 8.794353 8.764235H768c4.848941 0 8.794353-3.915294 8.794353-8.764235l-0.030118-465.588706h-149.323294a26.352941 26.352941 0 0 1-26.142117-23.04l-0.210824-3.312941V176.941176z" />
@ -294,14 +307,14 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M627.440941 440.470588a26.352941 26.352941 0 1 1 0 52.705883h-210.823529a26.352941 26.352941 0 0 1 0-52.705883h210.823529z" />
</g>
</svg>
`,R=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 115 824 824">
`,U=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43964136; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M210.823529 184.470588c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210824 3.312941v606.117647H843.294118c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312942a26.352941 26.352941 0 0 1-23.04 26.142117l-3.312941 0.210824H210.823529a26.352941 26.352941 0 0 1-26.142117-23.04L184.470588 843.294118V210.823529c0-14.546824 11.806118-26.352941 26.352941-26.352941z" />
<path fill="currentColor" d="M351.382588 606.117647c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210823 3.312941v70.264471a26.352941 26.352941 0 0 1-52.525176 3.312941l-0.180706-3.312941V632.470588c0-14.546824 11.776-26.352941 26.352941-26.352941zM491.911529 465.558588c13.432471 0 24.545882 10.059294 26.172236 23.070118l0.180706 3.312941v210.823529a26.352941 26.352941 0 0 1-52.495059 3.312942l-0.210824-3.312942v-210.823529c0-14.576941 11.806118-26.383059 26.352941-26.383059zM632.470588 184.470588c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210823 3.312941v491.91153a26.352941 26.352941 0 0 1-52.495058 3.312941l-0.210824-3.312941V210.823529c0-14.546824 11.806118-26.352941 26.352941-26.352941zM773.029647 325.029647c13.432471 0 24.515765 10.029176 26.142118 23.04l0.210823 3.312941v351.352471a26.352941 26.352941 0 0 1-52.525176 3.312941l-0.180706-3.312941V351.382588c0-14.576941 11.776-26.352941 26.352941-26.352941z" />
</g>
</svg>
`,T=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 115 824 824">
`,W=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963967; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M281.088 430.441412a96.617412 96.617412 0 1 0 0 193.234823 96.617412 96.617412 0 0 0 0-193.234823z m0 52.705882a43.911529 43.911529 0 1 1 0 87.823059 43.911529 43.911529 0 0 1 0-87.823059zM773.029647 184.470588a96.617412 96.617412 0 1 0 0 193.264941 96.617412 96.617412 0 0 0 0-193.264941z m0 52.705883a43.911529 43.911529 0 1 1 0 87.853176 43.911529 43.911529 0 0 1 0-87.853176zM773.029647 430.441412a96.617412 96.617412 0 1 0 0 193.234823 96.617412 96.617412 0 0 0 0-193.234823z m0 52.705882a43.911529 43.911529 0 1 1 0 87.823059 43.911529 43.911529 0 0 1 0-87.823059zM773.029647 676.382118a96.617412 96.617412 0 1 0 0 193.264941 96.617412 96.617412 0 0 0 0-193.264941z m0 52.705882a43.911529 43.911529 0 1 1 0 87.853176 43.911529 43.911529 0 0 1 0-87.853176z" />
@ -309,7 +322,7 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M702.735059 500.705882a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824H351.382588a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210824h351.352471z" />
</g>
</svg>
`,U=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="45 70 906 906">
`,X=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="45 70 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970427; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M849.558588 496.941176a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824h-421.647059a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210824h421.647059z" />
@ -317,14 +330,14 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M849.558588 250.970353a26.352941 26.352941 0 0 1 3.312941 52.525176l-3.312941 0.180706h-421.647059a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h421.647059zM287.382588 672.617412H146.823529a26.352941 26.352941 0 0 0-26.352941 26.352941v140.559059c0 14.546824 11.806118 26.352941 26.352941 26.352941h140.559059a26.352941 26.352941 0 0 0 26.352941-26.352941v-140.559059a26.352941 26.352941 0 0 0-26.352941-26.352941z m-26.383059 52.705882V813.176471H173.176471v-87.853177h87.823058zM287.382588 426.676706H146.823529a26.352941 26.352941 0 0 0-26.352941 26.352941v140.528941c0 14.576941 11.806118 26.352941 26.352941 26.352941h140.559059a26.352941 26.352941 0 0 0 26.352941-26.352941v-140.528941a26.352941 26.352941 0 0 0-26.352941-26.352941z m-26.383059 52.675765v87.853176H173.176471v-87.853176h87.823058zM287.382588 180.705882H146.823529A26.352941 26.352941 0 0 0 120.470588 207.058824v140.559058c0 14.546824 11.806118 26.352941 26.352941 26.352942h140.559059a26.352941 26.352941 0 0 0 26.352941-26.352942V207.058824A26.352941 26.352941 0 0 0 287.382588 180.705882z m-26.383059 52.705883v87.823059H173.176471V233.411765h87.823058z" />
</g>
</svg>
`,W=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 115 824 824">
`,Y=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970516; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M790.588235 184.470588H263.529412A79.058824 79.058824 0 0 0 184.470588 263.529412v527.058823a79.058824 79.058824 0 0 0 79.058824 79.058824h527.058823a79.058824 79.058824 0 0 0 79.058824-79.058824V263.529412a79.058824 79.058824 0 0 0-79.058824-79.058824z m-527.058823 52.705883h527.058823c14.546824 0 26.352941 11.806118 26.352941 26.352941v527.058823a26.352941 26.352941 0 0 1-26.352941 26.352941H263.529412a26.352941 26.352941 0 0 1-26.352941-26.352941V263.529412c0-14.546824 11.806118-26.352941 26.352941-26.352941z" />
<path fill="currentColor" d="M474.352941 307.440941h-140.559059a26.352941 26.352941 0 0 0-26.352941 26.352941v140.559059c0 14.546824 11.806118 26.352941 26.352941 26.352941h140.559059a26.352941 26.352941 0 0 0 26.352941-26.352941v-140.559059a26.352941 26.352941 0 0 0-26.352941-26.352941z m-26.352941 52.705883v87.853176h-87.853176v-87.853176h87.853176zM720.323765 307.440941H579.764706a26.352941 26.352941 0 0 0-26.352941 26.352941v140.559059c0 14.546824 11.806118 26.352941 26.352941 26.352941h140.559059a26.352941 26.352941 0 0 0 26.352941-26.352941v-140.559059a26.352941 26.352941 0 0 0-26.352941-26.352941z m-26.383059 52.705883v87.853176h-87.823059v-87.853176h87.823059zM474.352941 553.411765h-140.559059a26.352941 26.352941 0 0 0-26.352941 26.352941v140.559059c0 14.546824 11.806118 26.352941 26.352941 26.352941h140.559059a26.352941 26.352941 0 0 0 26.352941-26.352941V579.764706a26.352941 26.352941 0 0 0-26.352941-26.352941z m-26.352941 52.705882v87.823059h-87.853176v-87.823059h87.853176zM720.323765 553.411765H579.764706a26.352941 26.352941 0 0 0-26.352941 26.352941v140.559059c0 14.546824 11.806118 26.352941 26.352941 26.352941h140.559059a26.352941 26.352941 0 0 0 26.352941-26.352941V579.764706a26.352941 26.352941 0 0 0-26.352941-26.352941z m-26.383059 52.705882v87.823059h-87.823059v-87.823059h87.823059z" />
</g>
</svg>
`,X=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="94 85 824 824">
`,n2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="94 85 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970373; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M769.264941 154.352941h-527.058823A79.058824 79.058824 0 0 0 163.147294 233.411765v527.058823a79.058824 79.058824 0 0 0 79.058824 79.058824h527.058823a79.058824 79.058824 0 0 0 79.058824-79.058824V233.411765a79.058824 79.058824 0 0 0-79.058824-79.058824z m-527.058823 52.705883h527.058823c14.546824 0 26.352941 11.806118 26.352941 26.352941v527.058823a26.352941 26.352941 0 0 1-26.352941 26.352941h-527.058823a26.352941 26.352941 0 0 1-26.352942-26.352941V233.411765c0-14.546824 11.776-26.352941 26.352942-26.352941z" />
@ -333,58 +346,63 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M698.970353 786.823529a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824h-105.411765a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210824h105.411765z" />
</g>
</svg>
`,Y=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="128 128 786 786">
`,o2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="128 128 786 786">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971756; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M803.147294 283.617882a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824H240.941176a26.352941 26.352941 0 0 1-3.312941-52.525177L240.941176 283.617882h562.206118zM803.147294 494.441412a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210823H240.941176a26.352941 26.352941 0 0 1-3.312941-52.525176l3.312941-0.180706h562.206118zM803.147294 705.264941a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824H240.941176a26.352941 26.352941 0 0 1-3.312941-52.525177l3.312941-0.180706h562.206118z" />
</g>
</svg>
`,n2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="45 60 906 906">
`,a2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="45 60 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971760; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M392.794353 135.529412h-210.823529A61.500235 61.500235 0 0 0 120.470588 197.029647v210.823529c0 33.942588 27.527529 61.470118 61.500236 61.470118h210.823529a61.500235 61.500235 0 0 0 61.470118-61.470118v-210.823529A61.500235 61.500235 0 0 0 392.794353 135.529412z m-210.823529 52.705882h210.823529c4.818824 0 8.764235 3.915294 8.764235 8.794353v210.823529c0 4.818824-3.915294 8.764235-8.764235 8.764236h-210.823529a8.794353 8.794353 0 0 1-8.794353-8.764236v-210.823529c0-4.848941 3.915294-8.794353 8.794353-8.794353zM392.794353 557.176471h-210.823529A61.500235 61.500235 0 0 0 120.470588 618.676706v210.823529c0 33.942588 27.527529 61.470118 61.500236 61.470118h210.823529a61.500235 61.500235 0 0 0 61.470118-61.470118v-210.823529a61.500235 61.500235 0 0 0-61.470118-61.500235z m-210.823529 52.705882h210.823529c4.818824 0 8.764235 3.915294 8.764235 8.794353v210.823529c0 4.818824-3.915294 8.764235-8.764235 8.764236h-210.823529a8.794353 8.794353 0 0 1-8.794353-8.764236v-210.823529c0-4.848941 3.915294-8.794353 8.794353-8.794353zM814.441412 135.529412h-210.82353A61.500235 61.500235 0 0 0 542.117647 197.029647v210.823529c0 33.942588 27.527529 61.470118 61.500235 61.470118h210.82353a61.500235 61.500235 0 0 0 61.470117-61.470118v-210.823529A61.500235 61.500235 0 0 0 814.441412 135.529412z m-210.82353 52.705882h210.82353c4.818824 0 8.764235 3.915294 8.764235 8.794353v210.823529c0 4.818824-3.915294 8.764235-8.764235 8.764236h-210.82353a8.794353 8.794353 0 0 1-8.794353-8.764236v-210.823529c0-4.848941 3.915294-8.794353 8.794353-8.794353zM849.558588 557.176471a26.352941 26.352941 0 0 1 3.312941 52.495058l-3.312941 0.210824h-281.088a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h281.088zM849.558588 697.735529a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210824h-140.528941a26.352941 26.352941 0 0 1-3.312941-52.525177l3.312941-0.180706h140.528941zM849.558588 838.264471a26.352941 26.352941 0 0 1 3.312941 52.525176l-3.312941 0.180706h-281.088a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h281.088z" />
</g>
</svg>
`,o2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="88 118 819 819">
`,t2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="88 118 819 819">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43967582; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="10" stroke-linejoin="round">
<path fill="currentColor" d="M426.676706 184.470588H180.705882A26.352941 26.352941 0 0 0 154.352941 210.823529v245.970824c0 14.546824 11.806118 26.352941 26.352941 26.352941h245.970824a26.352941 26.352941 0 0 0 26.352941-26.352941V210.823529a26.352941 26.352941 0 0 0-26.352941-26.352941z m-26.383059 52.705883v193.234823H207.058824V237.176471h193.234823zM426.676706 570.970353H180.705882a26.352941 26.352941 0 0 0-26.352941 26.352941V843.294118c0 14.546824 11.806118 26.352941 26.352941 26.352941h245.970824a26.352941 26.352941 0 0 0 26.352941-26.352941v-245.970824a26.352941 26.352941 0 0 0-26.352941-26.352941z m-26.383059 52.705882v193.264941H207.058824v-193.264941h193.234823zM813.176471 184.470588h-245.970824a26.352941 26.352941 0 0 0-26.352941 26.352941v245.970824c0 14.546824 11.806118 26.352941 26.352941 26.352941H813.176471a26.352941 26.352941 0 0 0 26.352941-26.352941V210.823529A26.352941 26.352941 0 0 0 813.176471 184.470588z m-26.352942 52.705883v193.234823h-193.264941V237.176471h193.264941zM584.794353 570.970353c13.432471 0 24.515765 10.059294 26.142118 23.070118l0.210823 3.312941V843.294118a26.352941 26.352941 0 0 1-52.525176 3.312941l-0.180706-3.312941v-245.970824c0-14.546824 11.776-26.352941 26.352941-26.352941zM795.617882 570.970353c13.432471 0 24.515765 10.059294 26.142118 23.070118l0.210824 3.312941V843.294118a26.352941 26.352941 0 0 1-52.525177 3.312941l-0.180706-3.312941v-245.970824c0-14.546824 11.776-26.352941 26.352941-26.352941z" />
</g>
</svg>
`,a2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
`,l2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963954; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M746.857412 659.004235a26.352941 26.352941 0 0 1 34.575059-2.349176l2.710588 2.349176 87.823059 87.853177c9.426824 9.426824 10.24 24.244706 2.349176 34.575059l-2.349176 2.710588-87.853177 87.823059a26.352941 26.352941 0 0 1-39.604706-34.575059l2.349177-2.710588 69.180235-69.210353-69.180235-69.180236a26.352941 26.352941 0 0 1-2.349177-34.575058l2.349177-2.710589zM220.852706 124.235294a96.617412 96.617412 0 1 0 0 193.264941 96.617412 96.617412 0 0 0 0-193.264941z m0 52.705882a43.911529 43.911529 0 1 1 0 87.853177 43.911529 43.911529 0 0 1 0-87.853177z" />
<path fill="currentColor" d="M431.676235 194.499765c51.531294 0 93.665882 40.357647 96.496941 91.166117l0.150589 5.481412v404.058353c0 22.829176 17.408 41.592471 39.695059 43.730824l4.21647 0.210823h281.088a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210823H572.235294a96.647529 96.647529 0 0 1-96.466823-91.166117l-0.150589-5.481412V291.147294c0-22.829176-17.438118-41.592471-39.695058-43.730823l-4.216471-0.210824H291.117176a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h140.528942z" />
</g>
</svg>
`,l2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="52 49 906 906">
`,r2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="52 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963960; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M697.735529 124.235294a96.617412 96.617412 0 1 0 0 193.264941 96.617412 96.617412 0 0 0 0-193.264941z m0 52.705882a43.911529 43.911529 0 1 1 0 87.853177 43.911529 43.911529 0 0 1 0-87.853177zM311.205647 124.235294a96.617412 96.617412 0 1 0 0 193.264941 96.617412 96.617412 0 0 0 0-193.264941z m0 52.705882a43.911529 43.911529 0 1 1 0 87.853177 43.911529 43.911529 0 0 1 0-87.853177zM311.205647 686.441412a96.617412 96.617412 0 1 0 0 193.234823 96.617412 96.617412 0 0 0 0-193.234823z m0 52.705882a43.911529 43.911529 0 1 1 0 87.823059 43.911529 43.911529 0 0 1 0-87.823059z" />
<path fill="currentColor" d="M697.735529 264.794353c13.432471 0 24.515765 10.029176 26.142118 23.04l0.210824 3.312941V361.411765c0 53.549176-26.383059 86.226824-98.243765 123.783529l-14.034824 7.107765-15.088941 7.258353-16.233412 7.439059-17.377882 7.68-18.552471 7.951058-49.302588 20.449883-17.950117 7.589647-16.655059 7.258353-15.450353 6.987294c-2.469647 1.144471-4.909176 2.258824-7.258353 3.403294l-13.673412 6.595765-12.559059 6.354823c-7.981176 4.186353-15.209412 8.222118-21.775059 12.197647l-9.33647 5.872941c-29.304471 19.425882-41.833412 37.044706-42.947765 57.615059l-0.090353 3.132236v52.705882c0 33.822118-48.850824 35.087059-52.495059 3.734588l-0.210823-3.734588v-421.647059a26.352941 26.352941 0 0 1 52.525176-3.312941l0.180706 3.312941v272.685177l4.728471-3.312942c17.648941-12.257882 39.905882-24.395294 67.493647-37.436235l19.184941-8.854588c3.343059-1.505882 6.746353-3.011765 10.24-4.517647l21.624471-9.336471 23.311058-9.758117 20.118589-8.282353 18.55247-7.770353 25.47953-11.023059 15.450353-6.957177 7.258353-3.403294 13.673411-6.595764 12.559059-6.354824c3.975529-2.108235 7.800471-4.156235 11.444706-6.204235l10.330353-6.02353c36.020706-21.775059 51.049412-40.839529 52.284235-63.488l0.090353-3.102117V291.147294c0-14.576941 11.776-26.352941 26.352941-26.352941z" />
</g>
</svg>
`,t2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 70 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43964166; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M818.206118 214.588235h-632.470589a61.500235 61.500235 0 0 0-61.500235 61.500236V768c0 33.972706 27.527529 61.500235 61.500235 61.500235h632.470589a61.500235 61.500235 0 0 0 61.470117-61.500235V276.088471a61.500235 61.500235 0 0 0-61.470117-61.500236z m-632.470589 52.705883h632.470589c4.818824 0 8.764235 3.915294 8.764235 8.794353V768c0 4.848941-3.915294 8.794353-8.764235 8.794353h-632.470589a8.794353 8.794353 0 0 1-8.794353-8.794353V276.088471c0-4.848941 3.915294-8.794353 8.794353-8.794353z" />
<path fill="currentColor" d="M642.499765 513.264941c13.432471 0 24.545882 10.029176 26.172235 23.04l0.180706 3.312941V662.588235a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941v-122.970353c0-14.576941 11.806118-26.352941 26.352941-26.352941zM501.970824 355.147294c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941V662.588235a26.352941 26.352941 0 0 1-52.525177 3.312941l-0.180706-3.312941v-281.088c0-14.576941 11.776-26.352941 26.352942-26.352941zM361.411765 425.411765c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941v210.823529a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941v-210.823529c0-14.546824 11.806118-26.352941 26.352941-26.352941z" />
`,c2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 74 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963947; adapted for contrast and optical sizing. -->
<g fill="currentColor" stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path d="M818.206118 184.470588h-632.470589a61.500235 61.500235 0 0 0-61.500235 61.500236v562.176c0 33.972706 27.527529 61.500235 61.500235 61.500235h632.470589a61.500235 61.500235 0 0 0 61.470117-61.500235V245.970824a61.500235 61.500235 0 0 0-61.470117-61.500236z m-632.470589 52.705883h632.470589c4.818824 0 8.764235 3.915294 8.764235 8.794353v562.176c0 4.848941-3.915294 8.794353-8.764235 8.794352h-632.470589a8.794353 8.794353 0 0 1-8.794353-8.794352V245.970824c0-4.848941 3.915294-8.794353 8.794353-8.794353z" />
<path d="M853.323294 395.294118a26.352941 26.352941 0 0 1 3.312941 52.495058l-3.312941 0.210824H150.588235a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h702.735059z" />
<path d="M387.764706 395.294118c13.432471 0 24.515765 10.059294 26.142118 23.04l0.210823 3.312941v421.647059a26.352941 26.352941 0 0 1-52.495059 3.312941L361.411765 843.294118V421.647059c0-14.546824 11.806118-26.352941 26.352941-26.352941zM616.146824 395.294118c13.432471 0 24.545882 10.059294 26.172235 23.04l0.180706 3.312941v421.647059a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210824-3.312941V421.647059c0-14.546824 11.806118-26.352941 26.352942-26.352941z" />
<path d="M853.323294 606.117647a26.352941 26.352941 0 0 1 3.312941 52.495059l-3.312941 0.210823H150.588235a26.352941 26.352941 0 0 1-3.312941-52.495058l3.312941-0.210824h702.735059z" />
<path d="M853.323294 219.617882c13.432471 0 24.545882 10.029176 26.172235 23.04l0.180706 3.312942v562.176a61.500235 61.500235 0 0 1-56.892235 61.319529l-4.577882 0.180706h-632.470589a61.500235 61.500235 0 0 1-61.319529-56.922353l-0.180706-4.577882V245.970824a26.352941 26.352941 0 0 1 52.495059-3.312942l0.210823 3.312942v562.176c0 4.156235 2.891294 7.649882 6.776471 8.553411l2.017882 0.240941h632.470589a8.794353 8.794353 0 0 0 8.553411-6.77647l0.210824-2.017882V245.970824c0-14.576941 11.806118-26.352941 26.352941-26.352942z" />
</g>
</svg>
`,r2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 70 906 906">
`,e2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 70 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #44567174; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M879.676235 750.441412a79.058824 79.058824 0 0 1-79.058823 79.058823H203.294118a79.058824 79.058824 0 0 1-79.058824-79.058823V293.647059A79.058824 79.058824 0 0 1 203.294118 214.588235h597.323294a79.058824 79.058824 0 0 1 79.058823 79.058824v456.794353z m-52.705882-272.323765H176.941176v272.323765c0 14.546824 11.806118 26.352941 26.352942 26.352941h597.323294a26.352941 26.352941 0 0 0 26.352941-26.352941v-272.323765zM256 311.205647a35.147294 35.147294 0 1 0 0 70.294588 35.147294 35.147294 0 0 0 0-70.294588z m105.411765 0a35.147294 35.147294 0 1 0 0 70.294588 35.147294 35.147294 0 0 0 0-70.294588z" />
</g>
</svg>
`,c2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="115 115 824 824">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971705; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M736.828235 192.180706L527.058824 401.950118l-209.769412-209.769412a26.352941 26.352941 0 0 0-37.25553 0L192.150588 280.033882l-2.349176 2.710589a26.352941 26.352941 0 0 0 2.349176 34.544941l209.769412 209.769412-209.769412 209.769411a26.352941 26.352941 0 0 0 0 37.25553l87.853177 87.853176 2.710588 2.349177a26.352941 26.352941 0 0 0 34.544941-2.349177l209.769412-209.769412 209.769412 209.769412a26.352941 26.352941 0 0 0 37.255529 0l87.853177-87.853176 2.349176-2.710589a26.352941 26.352941 0 0 0-2.349176-34.544941L652.167529 527.058824l209.769412-209.769412a26.352941 26.352941 0 0 0 0-37.25553L774.083765 192.150588a26.352941 26.352941 0 0 0-37.25553 0z m18.612706 55.898353l50.56753 50.567529-209.739295 209.769412-2.349176 2.710588a26.352941 26.352941 0 0 0 2.349176 34.575059l209.739295 209.739294-50.56753 50.56753-209.739294-209.739295-2.710588-2.349176a26.352941 26.352941 0 0 0-34.575059 2.349176l-209.769412 209.739295-50.567529-50.56753 209.769412-209.739294 2.349176-2.710588a26.352941 26.352941 0 0 0-2.349176-34.575059L248.079059 298.646588l50.567529-50.567529 209.769412 209.769412a26.352941 26.352941 0 0 0 37.285647 0l209.739294-209.769412z" />
`,i2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971709; adapted for contrast and optical sizing. -->
<g fill="currentColor" stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path d="M501.970824 124.235294C293.345882 124.235294 124.235294 293.345882 124.235294 501.970824c0 208.594824 169.110588 377.705412 377.73553 377.705411 208.594824 0 377.705412-169.110588 377.705411-377.705411 0-208.624941-169.110588-377.735529-377.705411-377.73553z m0 52.705882c179.501176 0 324.999529 145.528471 324.999529 325.029648s-145.498353 324.999529-324.999529 324.999529S176.941176 681.472 176.941176 501.970824 322.469647 176.941176 501.970824 176.941176z" />
<path d="M582.716235 383.939765a26.352941 26.352941 0 0 1 39.604706 34.575059l-2.349176 2.710588-198.776471 198.77647a26.352941 26.352941 0 0 1-39.604706-34.605176l2.349177-2.710588 198.77647-198.746353z" />
<path d="M383.939765 383.939765a26.352941 26.352941 0 0 1 34.575059-2.349177l2.710588 2.349177 198.77647 198.77647a26.352941 26.352941 0 0 1-34.605176 39.634824l-2.710588-2.379294-198.746353-198.776471a26.352941 26.352941 0 0 1 0-37.255529z" />
</g>
</svg>
`,e2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
`,s2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971699; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M501.970824 124.235294c-101.526588 0-196.728471 40.267294-267.113412 110.622118a376.560941 376.560941 0 0 0-110.622118 267.113412c0 101.496471 40.267294 196.728471 110.622118 267.083294a376.560941 376.560941 0 0 0 267.113412 110.622117c101.496471 0 196.728471-40.267294 267.083294-110.622117a376.560941 376.560941 0 0 0 110.622117-267.083294c0-101.526588-40.267294-196.728471-110.622117-267.113412a376.560941 376.560941 0 0 0-267.083294-110.622118z m0 52.705882c87.401412 0 169.261176 34.635294 229.797647 95.171765a323.855059 323.855059 0 0 1 95.201882 229.857883c0 87.401412-34.635294 169.261176-95.171765 229.797647a323.855059 323.855059 0 0 1-229.827764 95.201882c-87.401412 0-169.261176-34.635294-229.827765-95.171765a323.855059 323.855059 0 0 1-95.201883-229.827764c0-87.401412 34.635294-169.261176 95.171765-229.827765a323.855059 323.855059 0 0 1 229.857883-95.201883z" />
@ -392,14 +410,14 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M501.970824 741.315765a43.911529 43.911529 0 1 0 0-87.823059 43.911529 43.911529 0 0 0 0 87.823059z" />
</g>
</svg>
`,i2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="62 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971707; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M413.997176 191.518118l-105.59247-0.180706-3.403294 0.210823a26.352941 26.352941 0 0 0-21.744941 18.070589l-32.436706 100.442352-85.564236 61.982118-2.891294 2.409412a26.352941 26.352941 0 0 0-6.716235 27.105882l32.828235 100.382118L155.648 602.352941l-0.903529 3.644235a26.352941 26.352941 0 0 0 10.511058 25.901177l85.564236 61.921882 32.436706 100.502589 1.264941 3.162352c4.306824 9.125647 13.552941 15.119059 23.883294 15.088942l105.59247-0.210824 85.353412 62.253177 3.192471 2.017882a26.352941 26.352941 0 0 0 27.858823-2.017882l85.323294-62.253177 105.622589 0.210824 3.403294-0.210824a26.352941 26.352941 0 0 0 21.744941-18.04047l32.436706-100.532706 85.564235-61.891765 2.891294-2.409412a26.352941 26.352941 0 0 0 6.716236-27.136l-32.858353-100.412235 32.858353-100.382118 0.903529-3.644235a26.352941 26.352941 0 0 0-10.511059-25.901177l-85.564235-61.921882-32.436706-100.502588-1.264941-3.162353a26.352941 26.352941 0 0 0-23.883294-15.058824l-105.622589 0.150589-85.323294-62.223059a26.352941 26.352941 0 0 0-31.051294 0L413.997176 191.548235z m100.864-8.342589l76.8 56.018824 2.800942 1.807059c3.915294 2.138353 8.282353 3.282824 12.769882 3.252706l94.991059-0.180706 29.214117 90.443294 1.204706 3.102118c1.897412 4.005647 4.788706 7.529412 8.432942 10.149647l76.950588 55.687529-29.515294 90.322824-0.843294 3.222588a26.352941 26.352941 0 0 0 0.843294 13.161412l29.515294 90.262588-76.980706 55.717647-2.56 2.138353a26.352941 26.352941 0 0 0-7.04753 11.143529l-29.214117 90.413177-94.991059-0.180706-3.343059 0.210823a26.352941 26.352941 0 0 0-12.257882 4.848941l-76.769883 55.988706-76.739764-55.988706-2.831059-1.807058a26.352941 26.352941 0 0 0-12.739765-3.252706l-95.051294 0.180706-29.153882-90.413177-1.234824-3.132235a26.352941 26.352941 0 0 0-8.432941-10.11953L211.727059 600.425412l29.575529-90.262588 0.813177-3.252706a26.352941 26.352941 0 0 0-0.813177-13.131294l-29.575529-90.322824 77.010823-55.717647 2.56-2.108235a26.352941 26.352941 0 0 0 7.077647-11.14353l29.153883-90.413176 95.051294 0.180706a26.352941 26.352941 0 0 0 15.570823-5.059765l76.739765-56.018824z" />
<path fill="currentColor" d="M636.807529 395.474824a26.352941 26.352941 0 0 1 39.604706 34.575058l-2.349176 2.710589-175.676235 175.676235a26.352941 26.352941 0 0 1-34.575059 2.349176l-2.710589-2.349176-87.823058-87.853177a26.352941 26.352941 0 0 1 34.544941-39.604705l2.710588 2.349176 69.210353 69.180235 157.063529-157.033411z" />
`,v2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971726; adapted for contrast and optical sizing. -->
<g fill="currentColor" stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path d="M501.970824 124.235294c-101.526588 0-196.728471 40.267294-267.113412 110.622118a376.560941 376.560941 0 0 0-110.622118 267.113412c0 101.496471 40.267294 196.728471 110.622118 267.083294a376.560941 376.560941 0 0 0 267.113412 110.622117c101.496471 0 196.728471-40.267294 267.083294-110.622117a376.560941 376.560941 0 0 0 110.622117-267.083294c0-101.526588-40.267294-196.728471-110.622117-267.113412a376.560941 376.560941 0 0 0-267.083294-110.622118z m0 52.705882c87.401412 0 169.261176 34.635294 229.797647 95.171765a323.855059 323.855059 0 0 1 95.201882 229.857883c0 87.401412-34.635294 169.261176-95.171765 229.797647a323.855059 323.855059 0 0 1-229.827764 95.201882c-87.401412 0-169.261176-34.635294-229.827765-95.171765a323.855059 323.855059 0 0 1-95.201883-229.827764c0-87.401412 34.635294-169.261176 95.171765-229.827765a323.855059 323.855059 0 0 1 229.857883-95.201883z" />
<path d="M659.004235 377.916235a26.352941 26.352941 0 0 1 39.634824 34.575059l-2.349177 2.710588-210.823529 210.82353a26.352941 26.352941 0 0 1-34.575059 2.349176l-2.710588-2.379294-105.411765-105.411765a26.352941 26.352941 0 0 1 34.575059-39.604705l2.710588 2.349176 86.768941 86.768941 192.180706-192.180706z" />
</g>
</svg>
`,s2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
`,g2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43971723; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M501.970824 124.235294c-101.526588 0-196.728471 40.267294-267.113412 110.622118a376.560941 376.560941 0 0 0-110.622118 267.113412c0 101.496471 40.267294 196.728471 110.622118 267.083294a376.560941 376.560941 0 0 0 267.113412 110.622117c101.496471 0 196.728471-40.267294 267.083294-110.622117a376.560941 376.560941 0 0 0 110.622117-267.083294c0-101.526588-40.267294-196.728471-110.622117-267.113412a376.560941 376.560941 0 0 0-267.083294-110.622118z m0 52.705882c87.401412 0 169.261176 34.635294 229.797647 95.171765a323.855059 323.855059 0 0 1 95.201882 229.857883c0 87.401412-34.635294 169.261176-95.171765 229.797647a323.855059 323.855059 0 0 1-229.827764 95.201882c-87.401412 0-169.261176-34.635294-229.827765-95.171765a323.855059 323.855059 0 0 1-95.201883-229.827764c0-87.401412 34.635294-169.261176 95.171765-229.827765a323.855059 323.855059 0 0 1 229.857883-95.201883z" />
@ -407,26 +425,26 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M501.970824 264.794353c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312941V572.235294a26.352941 26.352941 0 0 1-52.525177 3.312941l-0.180706-3.312941V291.147294c0-14.576941 11.776-26.352941 26.352942-26.352941z" />
</g>
</svg>
`,v2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
`,h2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43964184; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M501.970824 124.235294C293.345882 124.235294 124.235294 293.345882 124.235294 501.970824c0 208.594824 169.110588 377.705412 377.73553 377.705411 208.594824 0 377.705412-169.110588 377.705411-377.705411 0-25.901176-2.590118-51.501176-7.740235-76.498824-5.632-27.346824-44.272941-28.340706-51.320471-1.355294a197.270588 197.270588 0 1 1-240.790588-240.790588c26.985412-7.047529 25.961412-45.718588-1.355294-51.320471-24.997647-5.150118-50.597647-7.770353-76.498823-7.770353z m-27.286589 53.820235l-3.162353 2.590118a249.976471 249.976471 0 0 0 158.238118 443.512471l7.920941-0.150589a249.976471 249.976471 0 0 0 185.615059-91.587764l2.529882-3.222589-0.63247 7.04753c-17.136941 163.388235-155.316706 290.725647-323.222588 290.725647-179.501176 0-325.029647-145.498353-325.029648-324.999529 0-167.936 127.337412-306.115765 290.725648-323.252706l7.017411-0.662589z" />
</g>
</svg>
`,g2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
`,d2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963919; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M501.970824 124.235294C293.345882 124.235294 124.235294 293.345882 124.235294 501.970824c0 208.594824 169.110588 377.705412 377.73553 377.705411 208.594824 0 377.705412-169.110588 377.705411-377.705411 0-208.624941-169.110588-377.735529-377.705411-377.73553z m0 52.705882c179.501176 0 324.999529 145.528471 324.999529 325.029648s-145.498353 324.999529-324.999529 324.999529S176.941176 681.472 176.941176 501.970824 322.469647 176.941176 501.970824 176.941176z" />
<path fill="currentColor" d="M581.782588 138.179765a26.352941 26.352941 0 0 1 29.545412 39.424l-1.114353 1.505882v1.144471c0 2.078118 0.090353 4.457412 0.301177 7.168l0.903529 9.005176c0.180706 1.656471 0.391529 3.373176 0.662588 5.180235l1.807059 11.715765 1.114353 6.505412c1.957647 10.842353 4.939294 15.600941 12.348235 20.781176l4.156236 2.650353 5.421176 3.252706c27.858824 16.685176 39.333647 36.623059 33.370353 74.812235-6.656 42.676706-27.256471 56.169412-68.065882 59.994353l-17.227295 1.41553-5.421176 0.662588-4.517647 0.843294c-0.752941 0.150588-1.505882 0.301176-2.228706 0.512a41.411765 41.411765 0 0 0-17.980235 9.065412c-4.577882 4.005647-6.445176 10.480941-5.782588 25.238588l0.602352 8.884706c0.150588 1.656471 0.301176 3.343059 0.512 5.12l1.987765 16.956235c6.836706 55.567059 0.722824 86.377412-38.249412 108.122353a79.631059 79.631059 0 0 1-43.550117 10.149647c-21.353412-1.084235-38.942118-8.131765-64.632471-23.732706l-28.370823-17.859764-11.384471-6.806588-5.933176-3.252706-4.758589-2.349177a53.669647 53.669647 0 0 0-1.987764-0.843294l-3.312942-1.144471c-2.349176-0.602353-3.855059-0.542118-4.909176 0-5.722353 3.132235-9.396706 10.541176-12.077176 26.895059l-1.385412 9.818353-3.041883 31.021177c-3.674353 33.731765-8.854588 49.182118-25.238588 64.12047-29.485176 26.895059-72.824471 26.895059-127.427765 4.99953a26.352941 26.352941 0 1 1 19.606589-48.941177c37.888 15.209412 61.138824 15.209412 72.282353 4.99953 1.807059-1.626353 3.312941-4.367059 4.608-8.944942l1.234823-5.210352 1.174588-6.595765 1.084236-8.131765 1.054117-9.818353 0.963765-10.480941c4.457412-49.543529 12.378353-73.878588 41.953882-89.991529 22.558118-12.288 37.315765-11.444706 66.288942 4.547764l10.24 5.903059 11.444705 7.04753 12.890353 8.192c3.945412 2.56 7.649882 4.879059 11.083295 6.987294l9.637647 5.632c13.552941 7.529412 22.949647 10.872471 31.623529 11.324235a27.015529 27.015529 0 0 0 15.149176-3.553882c12.047059-6.716235 15.329882-16.926118 12.890353-43.971765l-3.523764-30.960941c-4.367059-42.556235-0.602353-62.885647 22.678588-83.124706 11.806118-10.300235 24.997647-16.775529 39.845647-20.48l7.047529-1.566118 7.077647-1.114353 8.192-0.873412 17.980236-1.385411 5.782588-0.602353c7.378824-1.024 9.517176-2.831059 10.842353-8.192l1.204706-6.656 0.903529-6.354824c0.903529-7.077647 0.120471-9.065412-4.818823-12.348235l-11.926589-7.228235c-21.383529-13.372235-34.213647-29.906824-39.273411-58.127059l-3.222589-19.034353-1.596235-11.203765c-4.728471-37.285647-0.180706-53.910588 23.491765-60.717176zM633.163294 559.134118c55.024941-28.852706 122.187294 0.813176 202.24 80.414117a26.352941 26.352941 0 0 1-37.135059 37.345883c-65.415529-64.993882-112.549647-85.835294-140.649411-71.077647-14.305882 7.499294-21.805176 14.576941-25.208471 21.534117-2.168471 4.427294-2.951529 8.704-2.921412 17.106824l0.210824 8.31247c0.722824 17.709176 0.331294 25.509647-3.794824 36.623059a73.607529 73.607529 0 0 1-18.974117 28.822588l-9.035295 8.432942c-1.656471 1.505882-2.951529 2.800941-4.126117 4.035764-6.023529 6.324706-10.24 13.342118-14.034824 25.268706-5.812706 18.191059 2.499765 40.146824 29.274353 67.553883a26.352941 26.352941 0 1 1-37.677176 36.833882c-39.092706-39.996235-54.482824-80.685176-41.833412-120.380235 6.264471-19.636706 14.637176-33.641412 26.142118-45.688471l3.011764-3.041882 8.432941-7.890824c5.842824-5.360941 7.770353-7.860706 9.396706-12.257882a9.878588 9.878588 0 0 0 0.481883-1.957647l0.271059-3.011765v-4.517647l-0.210824-6.686118c-0.903529-22.588235 0.240941-34.785882 8.011294-50.688 8.734118-17.889882 24.485647-32.707765 48.128-45.086117z" />
</g>
</svg>
`,h2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="48 48 942 942">
`,w2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="48 48 942 942">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43964181; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="10" stroke-linejoin="round">
<path fill="currentColor" d="M240.007529 240.037647a26.352941 26.352941 0 0 1 34.575059-2.379294l2.710588 2.349176 39.122824 39.152942a26.352941 26.352941 0 0 1-34.575059 39.604705l-2.710588-2.349176-39.122824-39.152941a26.352941 26.352941 0 0 1 0-37.25553zM205.944471 493.176471a26.352941 26.352941 0 0 1 3.312941 52.495058l-3.312941 0.210824H150.588235a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h55.356236zM279.130353 722.642824a26.352941 26.352941 0 0 1 39.634823 34.575058l-2.349176 2.710589-39.152941 39.122823a26.352941 26.352941 0 0 1-39.604706-34.575059l2.349176-2.710588 39.152942-39.122823zM722.642824 722.642824a26.352941 26.352941 0 0 1 34.575058-2.349177l2.710589 2.349177 39.122823 39.152941a26.352941 26.352941 0 0 1-34.575059 39.604706l-2.710588-2.349177-39.122823-39.152941a26.352941 26.352941 0 0 1 0-37.255529zM888.470588 493.176471a26.352941 26.352941 0 0 1 3.312941 52.495058l-3.312941 0.210824h-55.356235a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823H888.470588zM761.765647 240.037647a26.352941 26.352941 0 0 1 39.634824 34.544941l-2.349177 2.710588-39.152941 39.152942a26.352941 26.352941 0 0 1-39.604706-34.605177l2.349177-2.710588 39.152941-39.122824zM519.529412 124.235294c13.432471 0 24.515765 10.059294 26.142117 23.04l0.210824 3.312941v55.356236a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941V150.588235c0-14.546824 11.806118-26.352941 26.352941-26.352941zM519.529412 282.352941a237.176471 237.176471 0 1 0 0 474.352941 237.176471 237.176471 0 0 0 0-474.352941z m0 52.705883a184.470588 184.470588 0 1 1 0 368.941176 184.470588 184.470588 0 0 1 0-368.941176zM519.529412 806.791529c13.432471 0 24.515765 10.029176 26.142117 23.04l0.210824 3.312942V888.470588a26.352941 26.352941 0 0 1-52.495059 3.312941l-0.210823-3.312941v-55.326117c0-14.576941 11.806118-26.352941 26.352941-26.352942z" />
</g>
</svg>
`,d2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="82 94 865 865">
`,p2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="82 94 865 865">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43963546; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M813.176471 184.470588c33.972706 0 61.500235 27.527529 61.500235 61.500236v421.647058A61.500235 61.500235 0 0 1 813.176471 729.088H215.853176a61.500235 61.500235 0 0 1-61.500235-61.470118v-421.647058c0-33.972706 27.527529-61.500235 61.500235-61.500236H813.176471z m0 52.705883H215.853176a8.794353 8.794353 0 0 0-8.794352 8.794353v421.647058c0 4.818824 3.915294 8.764235 8.794352 8.764236H813.176471c4.848941 0 8.794353-3.915294 8.794353-8.764236v-421.647058A8.794353 8.794353 0 0 0 813.176471 237.176471z" />
@ -435,7 +453,7 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M628.254118 678.068706a26.352941 26.352941 0 0 1 33.91247 15.420235l52.705883 140.559059a26.352941 26.352941 0 0 1-24.696471 35.599059H338.823529a26.352941 26.352941 0 0 1-24.69647-35.599059l52.705882-140.559059a26.352941 26.352941 0 1 1 49.392941 18.522353l-39.393882 104.899765h275.335529l-39.363764-104.899765a26.352941 26.352941 0 0 1 12.40847-32.587294l3.011765-1.355294z" />
</g>
</svg>
`,w2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 57 906 906">
`,z2=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 57 906 906">
<!-- IconPark by ByteDance (Apache-2.0) via Iconfont #43970747; adapted for contrast and optical sizing. -->
<g stroke="currentColor" stroke-width="14" stroke-linejoin="round">
<path fill="currentColor" d="M730.352941 734.027294a70.264471 70.264471 0 0 0 70.264471-70.26447c0-25.871059-23.401412-61.018353-70.264471-105.411765-46.863059 44.393412-70.264471 79.540706-70.26447 105.411765a70.264471 70.264471 0 0 0 70.26447 70.26447z" />
@ -444,4 +462,4 @@ const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="49 49 906 906">
<path fill="currentColor" d="M266.089412 428.423529a26.352941 26.352941 0 0 1 30.087529-17.648941l3.192471 0.843294 297.984 97.972706a26.352941 26.352941 0 0 1-13.251765 50.898824l-3.222588-0.813177-297.984-97.972706a26.352941 26.352941 0 0 1-16.805647-33.28zM853.323294 813.086118a26.352941 26.352941 0 0 1 3.312941 52.525176l-3.312941 0.180706H150.588235a26.352941 26.352941 0 0 1-3.312941-52.495059l3.312941-0.210823h702.735059z" />
</g>
</svg>
`,p2=Object.assign({"./action/add.svg":t,"./action/adjustment.svg":r,"./action/close.svg":c,"./action/close_all.svg":e,"./action/close_left.svg":i,"./action/close_other.svg":s,"./action/close_right.svg":v,"./action/copy.svg":g,"./action/delete.svg":h,"./action/download.svg":d,"./action/draggable.svg":w,"./action/edit.svg":p,"./action/filter.svg":z,"./action/fullscreen.svg":_,"./action/fullscreen_fold.svg":u,"./action/link.svg":f,"./action/lock.svg":k,"./action/more.svg":M,"./action/mouse.svg":C,"./action/out.svg":m,"./action/print.svg":x,"./action/reload.svg":y,"./action/search.svg":b,"./action/setting.svg":B,"./action/shared.svg":I,"./action/upload.svg":A,"./directional/enter.svg":V,"./directional/expanded.svg":H,"./directional/left_arrow.svg":j,"./directional/resize_h.svg":D,"./directional/right_arrow.svg":P,"./directional/row_end.svg":L,"./directional/row_head.svg":S,"./logo/axios.svg":Z,"./logo/github.svg":q,"./logo/google.svg":F,"./logo/ray.svg":O,"./logo/twitter.svg":$,"./navigation/appearance.svg":E,"./navigation/barcode.svg":G,"./navigation/components.svg":J,"./navigation/dashboard.svg":K,"./navigation/database.svg":N,"./navigation/document.svg":Q,"./navigation/echart.svg":R,"./navigation/flow.svg":T,"./navigation/form.svg":U,"./navigation/icons.svg":W,"./navigation/layout.svg":X,"./navigation/menu.svg":Y,"./navigation/other.svg":n2,"./navigation/qr_code.svg":o2,"./navigation/rely.svg":a2,"./navigation/routing.svg":l2,"./navigation/table.svg":t2,"./navigation/window.svg":r2,"./status/error.svg":c2,"./status/question.svg":e2,"./status/success.svg":i2,"./status/warning.svg":s2,"./system/dark.svg":v2,"./system/language.svg":g2,"./system/light.svg":h2,"./system/system_os.svg":d2,"./system/watermark.svg":w2});function z2(l){var a;const n=p2[`./${l}.svg`],o=n==null?void 0:n.match(/<svg\b([^>]*)>([\s\S]*)<\/svg>/i);if(o)return{viewBox:(a=o[1].match(/viewBox=["']([^"']+)["']/i))==null?void 0:a[1],body:o[2]}}export{z2 as getIconAsset};
`,_2=Object.assign({"./action/add.svg":l,"./action/adjustment.svg":r,"./action/close.svg":c,"./action/close_all.svg":e,"./action/close_left.svg":i,"./action/close_other.svg":s,"./action/close_right.svg":v,"./action/copy-image.svg":g,"./action/copy.svg":h,"./action/delete.svg":d,"./action/download.svg":w,"./action/draggable.svg":p,"./action/edit.svg":z,"./action/external-link.svg":_,"./action/filter.svg":u,"./action/fullscreen.svg":f,"./action/fullscreen_fold.svg":k,"./action/link.svg":M,"./action/lock.svg":C,"./action/more.svg":m,"./action/mouse.svg":x,"./action/out.svg":y,"./action/print.svg":b,"./action/reload.svg":B,"./action/search.svg":I,"./action/setting.svg":A,"./action/shared.svg":H,"./action/upload.svg":V,"./directional/enter.svg":j,"./directional/expanded.svg":D,"./directional/left_arrow.svg":P,"./directional/resize_h.svg":L,"./directional/right_arrow.svg":S,"./directional/row_end.svg":Z,"./directional/row_head.svg":q,"./logo/axios.svg":F,"./logo/github.svg":O,"./logo/google.svg":$,"./logo/ray.svg":E,"./logo/twitter.svg":G,"./navigation/appearance.svg":J,"./navigation/barcode.svg":K,"./navigation/components.svg":N,"./navigation/dashboard.svg":Q,"./navigation/database.svg":R,"./navigation/document.svg":T,"./navigation/echart.svg":U,"./navigation/flow.svg":W,"./navigation/form.svg":X,"./navigation/icons.svg":Y,"./navigation/layout.svg":n2,"./navigation/menu.svg":o2,"./navigation/other.svg":a2,"./navigation/qr_code.svg":t2,"./navigation/rely.svg":l2,"./navigation/routing.svg":r2,"./navigation/table.svg":c2,"./navigation/window.svg":e2,"./status/error.svg":i2,"./status/question.svg":s2,"./status/success.svg":v2,"./status/warning.svg":g2,"./system/dark.svg":h2,"./system/language.svg":d2,"./system/light.svg":w2,"./system/system_os.svg":p2,"./system/watermark.svg":z2});function u2(t){var a;const n=_2[`./${t}.svg`],o=n==null?void 0:n.match(/<svg\b([^>]*)>([\s\S]*)<\/svg>/i);if(o)return{viewBox:(a=o[1].match(/viewBox=["']([^"']+)["']/i))==null?void 0:a[1],body:o[2]}}export{u2 as getIconAsset};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
const t=["action/add","action/adjustment","action/close","action/close_all","action/close_left","action/close_other","action/close_right","action/copy","action/copy-image","action/delete","action/download","action/draggable","action/edit","action/external-link","action/filter","action/fullscreen","action/fullscreen_fold","action/link","action/lock","action/more","action/mouse","action/out","action/print","action/reload","action/search","action/setting","action/shared","action/upload","directional/enter","directional/expanded","directional/left_arrow","directional/resize_h","directional/right_arrow","directional/row_end","directional/row_head","logo/axios","logo/github","logo/google","logo/ray","logo/twitter","navigation/appearance","navigation/barcode","navigation/components","navigation/dashboard","navigation/database","navigation/document","navigation/echart","navigation/flow","navigation/form","navigation/icons","navigation/layout","navigation/menu","navigation/other","navigation/qr_code","navigation/rely","navigation/routing","navigation/table","navigation/window","status/error","status/question","status/success","status/warning","system/dark","system/language","system/light","system/system_os","system/watermark"],i={action:"/__spritemap-action",directional:"/__spritemap-directional",logo:"/__spritemap-logo",navigation:"/__spritemap-navigation",status:"/__spritemap-status",system:"/__spritemap-system"},o=new Set(t),n=a=>typeof a=="string"&&o.has(a);export{i as a,n as i};

View File

@ -1 +0,0 @@
const o=["action/add","action/adjustment","action/close","action/close_all","action/close_left","action/close_other","action/close_right","action/copy","action/delete","action/download","action/draggable","action/edit","action/filter","action/fullscreen","action/fullscreen_fold","action/link","action/lock","action/more","action/mouse","action/out","action/print","action/reload","action/search","action/setting","action/shared","action/upload","directional/enter","directional/expanded","directional/left_arrow","directional/resize_h","directional/right_arrow","directional/row_end","directional/row_head","logo/axios","logo/github","logo/google","logo/ray","logo/twitter","navigation/appearance","navigation/barcode","navigation/components","navigation/dashboard","navigation/database","navigation/document","navigation/echart","navigation/flow","navigation/form","navigation/icons","navigation/layout","navigation/menu","navigation/other","navigation/qr_code","navigation/rely","navigation/routing","navigation/table","navigation/window","status/error","status/question","status/success","status/warning","system/dark","system/language","system/light","system/system_os","system/watermark"],t=new Set(o),n=a=>typeof a=="string"&&t.has(a);export{n as i};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as i,o as a,c as n,a3 as h}from"./chunks/framework.D8G7yXPy.js";const g=JSON.parse('{"title":"主题与国际化","description":"","frontmatter":{},"headers":[],"relativePath":"guide/appearance.md","filePath":"guide/appearance.md"}'),t={name:"guide/appearance.md"};function l(k,s,p,e,E,r){return a(),n("div",null,[...s[0]||(s[0]=[h("",32)])])}const y=i(t,[["render",l]]);export{g as __pageData,y as default};

View File

@ -1,9 +0,0 @@
import{_ as a,o as i,c as e,a3 as t}from"./chunks/framework.D8G7yXPy.js";const c=JSON.parse('{"title":"主题与国际化","description":"","frontmatter":{},"headers":[],"relativePath":"guide/appearance.md","filePath":"guide/appearance.md"}'),n={name:"guide/appearance.md"};function h(l,s,p,r,d,k){return i(),e("div",null,[...s[0]||(s[0]=[t(`<h1 id="主题与国际化" tabindex="-1">主题与国际化 <a class="header-anchor" href="#主题与国际化" aria-label="Permalink to &quot;主题与国际化&quot;">​</a></h1><h2 id="主题与样式" tabindex="-1">主题与样式 <a class="header-anchor" href="#主题与样式" aria-label="Permalink to &quot;主题与样式&quot;">​</a></h2><p>在「偏好设置 → 外观 → 界面风格」切换。风格与浅色、深色、跟随系统独立;切换即时生效,刷新和偏好导入导出会保留选择。</p><table tabindex="0"><thead><tr><th>风格</th><th>外观</th></tr></thead><tbody><tr><td>Naive UI 默认</td><td>使用组件库原生 token</td></tr><tr><td>现代化</td><td>默认风格:Ray 蓝、低饱和底色、适度圆角和留白</td></tr><tr><td>Material</td><td>紫色调、较大的圆角、胶囊按钮和分层表面</td></tr><tr><td>朴素</td><td>中性灰、小圆角和无阴影表面</td></tr></tbody></table><p>手动选择的主题色优先于预设,并随风格保留;点击「使用风格默认色」可恢复当前风格的配色。新用户、恢复默认设置,以及缺少风格的历史配置都使用现代化。已有的显式风格选择会在刷新和导入时保留。</p><h3 id="样式放在哪里" tabindex="-1">样式放在哪里 <a class="header-anchor" href="#样式放在哪里" aria-label="Permalink to &quot;样式放在哪里&quot;">​</a></h3><ul><li>Naive UI 组件的颜色、圆角、密度和阴影走 <a href="https://www.naiveui.com/zh-CN/docs/customize-theme" target="_blank" rel="noreferrer"><code>theme-overrides</code></a>。四套预设定义在 <code>packages/ui/src/theme-presets.ts</code>。每次用当前风格、明暗模式和用户主色计算配置,页面与离散消息、通知和弹窗共享同一份配置。</li><li>自有导航、标签页和工作区使用 <code>packages/ui/src/theme.css</code> 的 <code>--r-*</code> 语义变量。后台把 <code>useThemeVars()</code> 解析出的值映射到根节点,文档示例把相同映射限制在示例容器。自有元素使用这套变量,以便和组件库一起换肤。</li><li>全局 Sass 保留 reset、工具和历史表单宽度约定。组件 SCSS 负责布局、滚动和交互;仅在组件库没有合适 API 时,用自有类限定内部结构选择器的范围。不要在全局选择器中给 <code>.n-*</code> 写配色或直接依赖 <code>--n-*</code> 来切换主题。</li><li>首屏启动样式内联于 <code>apps/admin/index.html</code>,用于应用挂载前显示品牌、启动状态和明暗模式。图表配色仍由 ECharts 主题和页面 options 管理。</li></ul><p>全局 Sass 辅助文件通过 <code>vite.custom.config.ts</code> 注入;CSS Modules 的名称以 camelCase 暴露。</p><h2 id="中英文同时维护" tabindex="-1">中英文同时维护 <a class="header-anchor" href="#中英文同时维护" aria-label="Permalink to &quot;中英文同时维护&quot;">​</a></h2><p>把页面文案放进 <code>apps/admin/src/locales/lang/zh-CN</code> 和 <code>apps/admin/src/locales/lang/en-US</code> 的对应 JSON;同一语言内的命名空间要唯一。新增语言时同时补 <code>apps/admin/src/locales/lang/&lt;locale&gt;.ts</code> 与应用的语言配置。</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { useI18n } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/hooks&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { useSettingActions } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/store&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { computed } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;vue&#39;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">t</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> useI18n</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;menu&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> orderLabel</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> computed</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(() </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> t</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Orders&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">))</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">updateLocale</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> useSettingActions</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">()</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">updateLocale</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;en-US&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><p>在需要随语言更新的 UI 中,于渲染函数或 computed 内调用 <code>t</code>。通过 <code>updateLocale</code> 切换应用语言,以同步日期和组件库。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/locales/README.md" target="_blank" rel="noreferrer">语言包约定</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/app-config/design-config.ts" target="_blank" rel="noreferrer">主题配置</a></p>`,13)])])}const E=a(n,[["render",h]]);export{c as __pageData,E as default};

View File

@ -1 +0,0 @@
import{_ as a,o as i,c as e,a3 as t}from"./chunks/framework.D8G7yXPy.js";const c=JSON.parse('{"title":"主题与国际化","description":"","frontmatter":{},"headers":[],"relativePath":"guide/appearance.md","filePath":"guide/appearance.md"}'),n={name:"guide/appearance.md"};function h(l,s,p,r,d,k){return i(),e("div",null,[...s[0]||(s[0]=[t("",13)])])}const E=a(n,[["render",h]]);export{c as __pageData,E as default};

View File

@ -5,4 +5,4 @@ import{_ as e,o as t,c as s,a3 as o}from"./chunks/framework.D8G7yXPy.js";const m
<span class="line"><span>├── packages/ # 两个应用共用的八个私有 workspace 包</span></span>
<span class="line"><span>├── harness/ # 任务入口与验收命令</span></span>
<span class="line"><span>└── pnpm-lock.yaml # 工作区共用锁文件</span></span></code></pre></div><h2 id="各包负责什么" tabindex="-1">各包负责什么 <a class="header-anchor" href="#各包负责什么" aria-label="Permalink to &quot;各包负责什么&quot;">​</a></h2><table tabindex="0"><thead><tr><th>包</th><th>公开能力与使用方式</th></tr></thead><tbody><tr><td><code>@ray-template/utils</code></td><td>精度运算、对象和类型处理、文件工具、接收存储实现的 JSON 工具。精度运算从 <code>/precision</code> 导入。</td></tr><tr><td><code>@ray-template/composables</code></td><td>设备宽度、元素全屏、截图、打印和其他独立 Vue Hooks,例如 <code>/useElementFullscreen</code>。</td></tr><tr><td><code>@ray-template/directives</code></td><td>复制、防抖、节流、省略、水波纹等指令,可单独导入或统一注册。</td></tr><tr><td><code>@ray-template/icons</code></td><td>SVG 资源、图标名称类型和资源查找。组件和路由配置使用同一套名称。</td></tr><tr><td><code>@ray-template/ui</code></td><td>组件、样式、主题与类型。通过 <code>/table-pro</code>、<code>/barcode</code> 或 <code>/chart</code> 等入口按需导入。</td></tr><tr><td><code>@ray-template/http</code></td><td><code>createHttpClient</code> 创建实例与独立的取消器。宿主提供地址、请求头和拦截器。</td></tr><tr><td><code>@ray-template/routing</code></td><td>路由 Schema、配置校验、路由展开和菜单处理。宿主提供页面注册表。</td></tr><tr><td><code>@ray-template/admin-shell</code></td><td>布局、顶部导航、标签、设置和路由过渡。宿主提供菜单、选中状态、偏好和内容。</td></tr></tbody></table><p>共享包通过 <code>package.json</code> 的 <code>exports</code> 暴露入口,只依赖自己声明的包。<code>pnpm packages:check</code> 检查跨包导入和依赖循环。应用的登录、路由守卫、业务 API、Pinia 实例和语言加载由 <code>apps/admin</code> 负责。</p><h2 id="ray-admin-怎么组装" tabindex="-1">Ray Admin 怎么组装 <a class="header-anchor" href="#ray-admin-怎么组装" aria-label="Permalink to &quot;Ray Admin 怎么组装&quot;">​</a></h2><p><code>apps/admin/src/main.ts</code> 安装 Pinia、国际化、路由和指令。应用入口为组件提供主题、翻译、图标和列偏好存储,路由层把注册的页面交给后台外壳。登录、角色和会话由应用处理,真实业务的服务端负责接口授权。</p><p>以 TablePro 为例,组件负责展示、搜索、分页与请求状态。后台传入业务查询,文档传入可取消的模拟查询。两边从同一个入口导入:</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { RTablePro } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@ray-template/ui/table-pro&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { add } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@ray-template/utils/precision&#39;</span></span></code></pre></div><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/main.ts" target="_blank" rel="noreferrer">后台应用入口</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/App.tsx" target="_blank" rel="noreferrer">应用组装</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/docs/architecture.md" target="_blank" rel="noreferrer">完整工程地图</a></p><h2 id="文档怎样运行组件" tabindex="-1">文档怎样运行组件 <a class="header-anchor" href="#文档怎样运行组件" aria-label="Permalink to &quot;文档怎样运行组件&quot;">​</a></h2><p><code>apps/docs/examples</code> 保存实际运行的 Vue 示例。Markdown 引用同一个文件展示源码。TablePro 使用本地数据或可控的模拟请求;布局实验在独立预览框内运行,使用自己的内存路由和主题状态。</p><p><a href="./../reference/utils/core.html#交互示例">精度运算</a> · <a href="./../reference/components/barcode.html#交互示例">RBarcode</a> · <a href="./../reference/table-pro.html#交互示例">TablePro</a> · <a href="./layout.html#在线布局实验">布局实验</a></p><h2 id="构建与部署" tabindex="-1">构建与部署 <a class="header-anchor" href="#构建与部署" aria-label="Permalink to &quot;构建与部署&quot;">​</a></h2><p><code>pnpm dev</code> 启动后台,<code>pnpm docs:dev</code> 启动文档。<code>pnpm build</code> 输出后台,<code>pnpm docs:build</code> 输出文档,<code>pnpm pages:build</code> 组装两者到 <code>dist/pages</code>。官方部署地址分别是 <code>/ray-template/</code> 和 <code>/ray-template/docs/</code>。<a href="./tooling.html">构建与部署指南</a></p><p>如果当前项目基于 v5,请先看<a href="./../migration.html">版本分界</a>,再决定是否接入 v6。</p>`,17)])])}const b=e(d,[["render",r]]);export{m as __pageData,b as default};
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { add } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@ray-template/utils/precision&#39;</span></span></code></pre></div><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/main.ts" target="_blank" rel="noreferrer">后台应用入口</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/App.tsx" target="_blank" rel="noreferrer">应用组装</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/docs/architecture.md" target="_blank" rel="noreferrer">完整工程地图</a></p><h2 id="文档怎样运行组件" tabindex="-1">文档怎样运行组件 <a class="header-anchor" href="#文档怎样运行组件" aria-label="Permalink to &quot;文档怎样运行组件&quot;">​</a></h2><p><code>apps/docs/examples</code> 保存实际运行的 Vue 示例。Markdown 引用同一个文件展示源码。TablePro 使用本地数据或可控的模拟请求;布局实验在独立预览框内运行,使用自己的内存路由和主题状态。</p><p><a href="./../reference/utils/core.html#交互示例">精度运算</a> · <a href="./../reference/components/barcode.html#交互示例">RBarcode</a> · <a href="./../reference/table-pro.html#交互示例">TablePro</a> · <a href="./layout.html#在线布局实验">布局实验</a></p><h2 id="构建与部署" tabindex="-1">构建与部署 <a class="header-anchor" href="#构建与部署" aria-label="Permalink to &quot;构建与部署&quot;">​</a></h2><p><code>pnpm dev</code> 启动后台,<code>pnpm docs:dev</code> 启动文档。<code>pnpm build</code> 输出后台,<code>pnpm docs:build</code> 输出文档,<code>pnpm pages:build</code> 组装两者到 <code>dist/pages</code>。官方部署地址分别是 <code>/ray-template/</code> 和 <code>/ray-template/docs/</code>。<a href="./tooling.html">构建与部署指南</a></p><p>如果当前项目基于 v5,请先看<a href="./../migration.html">版本分界</a>,再决定是否接入 v6。</p>`,17)])])}const b=e(d,[["render",r]]);export{m as __pageData,b as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{o as a,c as e,j as i,a as t,k as n,g as d,a3 as h}from"./chunks/framework.D8G7yXPy.js";const p=["href"],c=JSON.parse('{"title":"服务端接入与标准契约","description":"","frontmatter":{},"headers":[],"relativePath":"guide/backend.md","filePath":"guide/backend.md"}'),l={name:"guide/backend.md"},E=Object.assign(l,{setup(o){return(k,s)=>(a(),e("div",null,[s[0]||(s[0]=i("h1",{id:"服务端接入与标准契约",tabindex:"-1"},[t("服务端接入与标准契约 "),i("a",{class:"header-anchor",href:"#服务端接入与标准契约","aria-label":'Permalink to "服务端接入与标准契约"'},"​")],-1)),s[1]||(s[1]=i("p",null,"登录、会话、用户管理与路由管理使用同一套 HTTP API。开发环境与静态在线演示都由 MSW 在网络层模拟响应;页面和 Store 不直接读取 Mock 数据库。接入自有服务端时,保留页面与调用方法,替换接口地址和实现即可。",-1)),i("p",null,[i("a",{href:n(d)("/contracts/admin-api.json"),target:"_blank",rel:"noreferrer"},"下载 OpenAPI 3.1 契约",8,p)]),s[2]||(s[2]=h("",36))]))}});export{c as __pageData,E as default};

View File

@ -1,4 +1,4 @@
import{_ as i,o as a,c as n,a3 as p}from"./chunks/framework.D8G7yXPy.js";const o=JSON.parse('{"title":"第一个业务页面","description":"","frontmatter":{},"headers":[],"relativePath":"guide/first-page.md","filePath":"guide/first-page.md"}'),h={name:"guide/first-page.md"};function l(t,s,e,k,r,E){return a(),n("div",null,[...s[0]||(s[0]=[p(`<h1 id="第一个业务页面" tabindex="-1">第一个业务页面 <a class="header-anchor" href="#第一个业务页面" aria-label="Permalink to &quot;第一个业务页面&quot;">​</a></h1><p>从一张订单表开始:先用本地数据验证页面与菜单,再改为远端查询。</p><h2 id="创建页面" tabindex="-1">创建页面 <a class="header-anchor" href="#创建页面" aria-label="Permalink to &quot;创建页面&quot;">​</a></h2><p>在 <code>apps/admin/src/views/orders/index.tsx</code> 添加:</p><div class="language-tsx vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">tsx</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { RTablePro } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@ray-template/ui/table-pro&#39;</span></span>
import{_ as i,o as a,c as n,a3 as t}from"./chunks/framework.D8G7yXPy.js";const o=JSON.parse('{"title":"第一个业务页面","description":"","frontmatter":{},"headers":[],"relativePath":"guide/first-page.md","filePath":"guide/first-page.md"}'),h={name:"guide/first-page.md"};function p(e,s,l,k,r,E){return a(),n("div",null,[...s[0]||(s[0]=[t(`<h1 id="第一个业务页面" tabindex="-1">第一个业务页面 <a class="header-anchor" href="#第一个业务页面" aria-label="Permalink to &quot;第一个业务页面&quot;">​</a></h1><p>从一张订单表开始:先用本地数据验证页面与菜单,再改为远端查询。</p><h2 id="创建页面" tabindex="-1">创建页面 <a class="header-anchor" href="#创建页面" aria-label="Permalink to &quot;创建页面&quot;">​</a></h2><p>在 <code>apps/admin/src/views/orders/index.tsx</code> 添加:</p><div class="language-tsx vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">tsx</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { RTablePro } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@ray-template/ui/table-pro&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { defineComponent } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;vue&#39;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> rows</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [{ id: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;ORD-001&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, customer: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;演示客户&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }]</span></span>
@ -18,17 +18,9 @@ import{_ as i,o as a,c as n,a3 as p}from"./chunks/framework.D8G7yXPy.js";const o
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> )</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">})</span></span></code></pre></div><p>默认行标识取 <code>id</code> 或 <code>key</code>。自定义标识字段时传 <code>rowKey</code>。示例中的列标题为中文,提供中英文界面时也要将列标题和查询提示加入语言包。</p><h2 id="接入菜单" tabindex="-1">接入菜单 <a class="header-anchor" href="#接入菜单" aria-label="Permalink to &quot;接入菜单&quot;">​</a></h2><p>在 <code>apps/admin/src/router/modules/orders.ts</code> 添加:</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> type</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { AppRouteRecordRaw } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/router/types&#39;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> orders</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> AppRouteRecordRaw</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> path: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;/orders&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> name: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Orders&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> component</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: () </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;@/views/orders&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">),</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> meta: {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> i18nKey: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;menu.Orders&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> icon: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;navigation/table&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> order: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">20</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> default</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> orders</span></span></code></pre></div><p>在 <code>apps/admin/src/locales/lang/zh-CN/menu.json</code> 和 <code>apps/admin/src/locales/lang/en-US/menu.json</code> 分别加入 <code>Orders</code> 的翻译。重新加载工作台,从菜单打开订单页,再刷新一次,确认路由可恢复。</p><h2 id="接入-api" tabindex="-1">接入 API <a class="header-anchor" href="#接入-api" aria-label="Permalink to &quot;接入 API&quot;">​</a></h2><p>在 <code>apps/admin/src/api</code> 写订单请求函数,将 TablePro 的分页、筛选条件映射成后端的字段,并把 <code>data</code> 替换成 <code>request={loadOrders}</code>。接口需返回当前页数据和筛选后的总数。参照<a href="./../reference/table-pro-examples.html#远端查询与失败恢复">远端 TablePro 在线示例</a>接入排序、取消和错误重试。</p><p>下一步:<a href="./../reference/table-pro.html">TablePro</a> · <a href="./routing.html">路由与权限</a> · <a href="./requests.html">接口约定</a></p>`,13)])])}const g=i(h,[["render",l]]);export{o as __pageData,g as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">})</span></span></code></pre></div><p>默认行标识取 <code>id</code> 或 <code>key</code>。自定义标识字段时传 <code>rowKey</code>。示例中的列标题为中文,提供中英文界面时也要将列标题和查询提示加入语言包。</p><h2 id="接入菜单" tabindex="-1">接入菜单 <a class="header-anchor" href="#接入菜单" aria-label="Permalink to &quot;接入菜单&quot;">​</a></h2><p>先在 <code>apps/admin/src/router/config/views.ts</code> 的 <code>views</code> 中登记组件白名单:</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">orders</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: { </span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">load</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: () </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;@/views/orders&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">), </span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">name</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Orders&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span></code></pre></div><p>在 Mock 初始路由 JSON <code>apps/admin/src/mocks/data/routes.json</code> 中加入以下记录,或由自己的路由接口返回:</p><div class="language-json vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;path&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;/orders&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;name&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;Orders&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;component&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;orders&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> &quot;meta&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;i18nKey&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;menu.Orders&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;icon&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;navigation/table&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;order&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">20</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>在中英文 <code>menu.json</code> 中加入 <code>Orders</code> 翻译。已有浏览器修改过路由时,进入路由管理载入初始配置并保存到接口,或直接在管理页添加该记录;重新加载后,从菜单、直接地址和刷新三条路径检查页面。</p><p>现成的「系统管理 → 用户管理」已演示组织筛选、远端查询、新增编辑、详情、批量操作和接口权限。可先对照这条完整流程,再接入自己的业务。其 API 与数据结构见<a href="./backend.html">标准契约</a>。</p><h2 id="接入-api" tabindex="-1">接入 API <a class="header-anchor" href="#接入-api" aria-label="Permalink to &quot;接入 API&quot;">​</a></h2><p>在 <code>apps/admin/src/api</code> 写订单请求函数,将 TablePro 的分页、筛选条件映射成后端的字段,并把 <code>data</code> 替换成 <code>request={loadOrders}</code>。接口需返回当前页数据和筛选后的总数。参照<a href="./../reference/table-pro-examples.html#远端查询与失败恢复">远端 TablePro 在线示例</a>接入排序、取消和错误重试。</p><p>下一步:<a href="./../reference/table-pro.html">TablePro</a> · <a href="./routing.html">路由与权限</a> · <a href="./requests.html">接口约定</a></p>`,16)])])}const g=i(h,[["render",p]]);export{o as __pageData,g as default};

View File

@ -1 +1 @@
import{_ as i,o as a,c as n,a3 as p}from"./chunks/framework.D8G7yXPy.js";const o=JSON.parse('{"title":"第一个业务页面","description":"","frontmatter":{},"headers":[],"relativePath":"guide/first-page.md","filePath":"guide/first-page.md"}'),h={name:"guide/first-page.md"};function l(t,s,e,k,r,E){return a(),n("div",null,[...s[0]||(s[0]=[p("",13)])])}const g=i(h,[["render",l]]);export{o as __pageData,g as default};
import{_ as i,o as a,c as n,a3 as t}from"./chunks/framework.D8G7yXPy.js";const o=JSON.parse('{"title":"第一个业务页面","description":"","frontmatter":{},"headers":[],"relativePath":"guide/first-page.md","filePath":"guide/first-page.md"}'),h={name:"guide/first-page.md"};function p(e,s,l,k,r,E){return a(),n("div",null,[...s[0]||(s[0]=[t("",16)])])}const g=i(h,[["render",p]]);export{o as __pageData,g as default};

View File

@ -1,49 +1,49 @@
import{o as a,c as n,a3 as i,j as h,k,g as l}from"./chunks/framework.D8G7yXPy.js";const t=["src"],r=JSON.parse('{"title":"应用布局与状态","description":"","frontmatter":{},"headers":[],"relativePath":"guide/layout.md","filePath":"guide/layout.md"}'),p={name:"guide/layout.md"},g=Object.assign(p,{setup(E){return(e,s)=>(a(),n("div",null,[s[0]||(s[0]=i('<h1 id="应用布局与状态" tabindex="-1">应用布局与状态 <a class="header-anchor" href="#应用布局与状态" aria-label="Permalink to &quot;应用布局与状态&quot;">​</a></h1><p>打开「布局实验室」或顶部设置抽屉里的「布局」页签,切换导航和工作区。桌面支持侧边 <code>side</code>、顶部 <code>top</code>、混合 <code>mixed</code>、右侧 <code>right</code> 和通栏分组 <code>split</code> 导航;混合模式把一级导航放在顶部,侧栏只显示当前分组的子菜单。宽度不超过 768px 时改用抽屉,保留原桌面偏好。</p><h2 id="在线布局实验" tabindex="-1">在线布局实验 <a class="header-anchor" href="#在线布局实验" aria-label="Permalink to &quot;在线布局实验&quot;">​</a></h2><p>在预览中切换导航方向、固定顶栏或内容宽度。预览使用 Ray Admin 的布局与设置组件,菜单和状态只在当前示例里生效。</p>',4)),h("iframe",{src:k(l)("/playground/shell.html"),title:"Ray Admin 布局交互示例",loading:"lazy",style:{width:"100%",height:"650px",border:"1px solid var(--vp-c-divider)","border-radius":"12px"}},null,8,t),s[1]||(s[1]=i(`<details class="details custom-block"><summary>查看示例源码</summary><div class="language-vue vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">vue</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">DemoFrame</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">dark</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">dark</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">locale</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">locale</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">DemoFrame</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :dark</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;dark&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :locale</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;locale&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;shell-demo&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{ </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;r-template--dark&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: dark }</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">lang</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">locale</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;{ &#39;r-template--dark&#39;: dark }&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :lang</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;locale&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">AdminShell</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">layout</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">layout</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">groupedSidebar</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> showTabs</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> showFooter</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">AdminShell</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :layout</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;layout&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :groupedSidebar</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;true&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> showTabs</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> showFooter</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> #</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">header</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;shell-bar&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">strong</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;Ray Admin&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">strong</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">NButton</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> size</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;small&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> @</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">click</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">dark </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> !</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">dark</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> dark </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> copy.light </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> copy.dark</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">NButton</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> size</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;small&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> @click</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;dark = !dark&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> dark ? copy.light : copy.dark</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">NButton</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">ShellTopNavigation</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> v-if</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">[</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;top&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;mixed&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;split&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">].</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">includes</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(layout.mode)</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">items</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">menu</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">active</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">active</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">grouped</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">layout.mode </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">!==</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;top&#39;&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">label</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">copy.navigation</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">select</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">item</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> navigate</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(item.fullPath)</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> v-if</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;[&#39;top&#39;, &#39;mixed&#39;, &#39;split&#39;].includes(layout.mode)&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :items</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;menu&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :active</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;active&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :grouped</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;layout.mode !== &#39;top&#39;&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :label</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;copy.navigation&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :select</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;(item) =&gt; navigate(item.fullPath)&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> #</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">sidebar</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">NLayoutSider</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">width</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">132</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> bordered</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">NMenu</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">options</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">menu</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">active</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> @</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">update</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">navigate</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">NLayoutSider</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :width</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;132&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> bordered</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">NMenu</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :options</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;menu&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;active&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> @update:value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;navigate&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">NLayoutSider</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> #</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">tabs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;shell-bar&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">ShellTab</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> v-for</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">item </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">in</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> pages</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">key</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">item.path</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">label</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">item.label</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">active</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">active </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">===</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> item.path</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">select</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">() </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> navigate</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(item.path)</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> v-for</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;item in pages&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :key</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;item.path&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :label</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;item.label&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :active</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;active === item.path&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :select</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;() =&gt; navigate(item.path)&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">h2</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{ title }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">h2</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">LayoutSettings</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">layout</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">layout</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">defaults</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">defaults</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">translate</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">translate</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">update</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">updateLayout</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :layout</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;layout&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :defaults</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;defaults&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :translate</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;translate&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :update</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;updateLayout&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> #</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">footer</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;shell-bar&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{ copy.footer }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
@ -190,4 +190,4 @@ import{o as a,c as n,a3 as i,j as h,k,g as l}from"./chunks/framework.D8G7yXPy.js
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> contentWidth: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;fixed&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> contentMaxWidth: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">1200</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> contentPadding: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">16</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">})</span></span></code></pre></div><p>最大宽度范围是 640–2560px,间距为 0–48px。顶栏和页脚可固定或随内容滚动。旧设置补齐默认值,布局恢复默认只重置 <code>layoutConfig</code>。</p><h2 id="菜单图标" tabindex="-1">菜单图标 <a class="header-anchor" href="#菜单图标" aria-label="Permalink to &quot;菜单图标&quot;">​</a></h2><p>展开侧栏、移动端抽屉和顶部导航默认使用 20 px 的图标;折叠侧栏默认 22 px,方便只凭图形辨认菜单。线性图标跟随菜单状态和明暗主题变色。可在「偏好设置 → 菜单」调整「图标尺寸」与「折叠图标尺寸」,修改即时生效。</p><h2 id="替换布局区域" tabindex="-1">替换布局区域 <a class="header-anchor" href="#替换布局区域" aria-label="Permalink to &quot;替换布局区域&quot;">​</a></h2><p><code>RLayout</code> 提供 <code>header</code>、<code>sidebar</code>、<code>tabs</code>、<code>footer</code> 和 <code>default</code> 插槽。模式和显隐开关仍生效,例如顶部导航模式不会渲染侧栏。替换 <code>default</code> 内容时,需要自行接入所需的路由缓存和请求取消。</p><h2 id="状态放在哪里" tabindex="-1">状态放在哪里 <a class="header-anchor" href="#状态放在哪里" aria-label="Permalink to &quot;状态放在哪里&quot;">​</a></h2><table tabindex="0"><thead><tr><th>状态</th><th>入口</th><th>刷新后的行为</th></tr></thead><tbody><tr><td>加载、移动抽屉、内容最大化、重载</td><td><code>useRuntimeGetters</code> / <code>useRuntimeActions</code></td><td>运行态,不持久化</td></tr><tr><td>布局、主题、语言等偏好</td><td><code>useSettingGetters</code> / <code>useSettingActions</code></td><td>沿用设置缓存;旧值补默认配置</td></tr><tr><td>锁屏</td><td>锁屏 Store</td><td>保留历史布尔值格式和跨标签同步</td></tr></tbody></table><p>新增共享状态按职责放到 <code>apps/admin/src/store/modules</code>,对外用 Store hooks。持久化使用 <code>pick</code> / <code>omit</code> 选择字段;检查历史 key 和序列化格式再变更。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/layout/README.md" target="_blank" rel="noreferrer">布局说明与插槽</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/store/README.md" target="_blank" rel="noreferrer">状态实现与持久化</a></p><p>更细的状态字段与更新动作见 <a href="./../reference/store/setting.html">Setting Store</a>、<a href="./../reference/store/runtime.html">Runtime Store</a> 和 <a href="./../reference/hooks/layout.html">布局 Hooks</a>。</p>`,13))]))}});export{r as __pageData,g as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">})</span></span></code></pre></div><p>最大宽度范围是 640–2560px,间距为 0–48px。顶栏和页脚可固定或随内容滚动。旧设置补齐默认值,布局恢复默认只重置 <code>layoutConfig</code>。</p><h2 id="菜单图标" tabindex="-1">菜单图标 <a class="header-anchor" href="#菜单图标" aria-label="Permalink to &quot;菜单图标&quot;">​</a></h2><p>展开侧栏、移动端抽屉和顶部导航默认使用 20 px 的图标;折叠侧栏默认 22 px,方便只凭图形辨认菜单。线性图标跟随菜单状态和明暗主题变色。可在「偏好设置 → 菜单」调整「图标尺寸」与「折叠图标尺寸」,修改即时生效。</p><h2 id="替换布局区域" tabindex="-1">替换布局区域 <a class="header-anchor" href="#替换布局区域" aria-label="Permalink to &quot;替换布局区域&quot;">​</a></h2><p><code>RLayout</code> 提供 <code>header</code>、<code>sidebar</code>、<code>tabs</code>、<code>footer</code> 和 <code>default</code> 插槽。模式和显隐开关仍生效,例如顶部导航模式不会渲染侧栏。替换 <code>default</code> 内容时,需要自行接入所需的路由缓存和请求取消。</p><h2 id="状态放在哪里" tabindex="-1">状态放在哪里 <a class="header-anchor" href="#状态放在哪里" aria-label="Permalink to &quot;状态放在哪里&quot;">​</a></h2><table tabindex="0"><thead><tr><th>状态</th><th>入口</th><th>刷新后的行为</th></tr></thead><tbody><tr><td>加载、移动抽屉、内容最大化、重载</td><td><code>useRuntimeGetters</code> / <code>useRuntimeActions</code></td><td>运行态,不持久化</td></tr><tr><td>布局、主题、语言等偏好</td><td><code>useSettingGetters</code> / <code>useSettingActions</code></td><td>沿用设置缓存;旧值补默认配置</td></tr><tr><td>锁屏</td><td>锁屏 Store</td><td>保留历史布尔值格式和跨标签同步</td></tr></tbody></table><p>新增共享状态按职责放到 <code>apps/admin/src/store/modules</code>,对外用 Store hooks。持久化使用 <code>pick</code> / <code>omit</code> 选择字段;检查历史 key 和序列化格式再变更。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/layout/README.md" target="_blank" rel="noreferrer">布局说明与插槽</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/store/README.md" target="_blank" rel="noreferrer">状态实现与持久化</a></p><p>更细的状态字段与更新动作见 <a href="./../reference/store/setting.html">Setting Store</a>、<a href="./../reference/store/runtime.html">Runtime Store</a> 和 <a href="./../reference/hooks/layout.html">布局 Hooks</a>。</p><h2 id="最近访问和收藏" tabindex="-1">最近访问和收藏 <a class="header-anchor" href="#最近访问和收藏" aria-label="Permalink to &quot;最近访问和收藏&quot;">​</a></h2><p>桌面搜索支持 Ctrl/Command + K。输入页面名称查找,点击星标收藏;空关键词时显示收藏与最近访问,方向键、回车和 Tab 可操作。记录按会话用户 id 隔离,刷新后恢复;清空记录保留收藏。缓存只存菜单路径,展示时重新依据当前菜单和权限筛选,语言切换沿用当前翻译。窄屏继续使用导航抽屉。</p><p>内容页需要撑满工作区时,先复用布局的 <code>--layout-content-height</code>、<code>RTablePro autoHeight</code> 和 <code>--r-table-height</code>,以及 Naive UI 的 <code>NCard contentScrollable</code> / <code>NScrollbar</code>。父容器提供确定高度,Flex/Grid 子项设置 <code>min-block-size: 0</code> 后再承载内部滚动;单纯填充与滚动无需新增通用组件。用户管理页展示了左右独立滚动与窄屏上下排布。</p>`,16))]))}});export{r as __pageData,g as default};

View File

@ -1 +1 @@
import{o as a,c as n,a3 as i,j as h,k,g as l}from"./chunks/framework.D8G7yXPy.js";const t=["src"],r=JSON.parse('{"title":"应用布局与状态","description":"","frontmatter":{},"headers":[],"relativePath":"guide/layout.md","filePath":"guide/layout.md"}'),p={name:"guide/layout.md"},g=Object.assign(p,{setup(E){return(e,s)=>(a(),n("div",null,[s[0]||(s[0]=i("",4)),h("iframe",{src:k(l)("/playground/shell.html"),title:"Ray Admin 布局交互示例",loading:"lazy",style:{width:"100%",height:"650px",border:"1px solid var(--vp-c-divider)","border-radius":"12px"}},null,8,t),s[1]||(s[1]=i("",13))]))}});export{r as __pageData,g as default};
import{o as a,c as n,a3 as i,j as h,k,g as l}from"./chunks/framework.D8G7yXPy.js";const t=["src"],r=JSON.parse('{"title":"应用布局与状态","description":"","frontmatter":{},"headers":[],"relativePath":"guide/layout.md","filePath":"guide/layout.md"}'),p={name:"guide/layout.md"},g=Object.assign(p,{setup(E){return(e,s)=>(a(),n("div",null,[s[0]||(s[0]=i("",4)),h("iframe",{src:k(l)("/playground/shell.html"),title:"Ray Admin 布局交互示例",loading:"lazy",style:{width:"100%",height:"650px",border:"1px solid var(--vp-c-divider)","border-radius":"12px"}},null,8,t),s[1]||(s[1]=i("",16))]))}});export{r as __pageData,g as default};

View File

@ -1,4 +1,5 @@
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const r=JSON.parse('{"title":"接口、取消与 Mock","description":"","frontmatter":{},"headers":[],"relativePath":"guide/requests.md","filePath":"guide/requests.md"}'),l={name:"guide/requests.md"},d=Object.assign(l,{setup(t){return(p,s)=>(n(),h("div",null,[s[0]||(s[0]=i('<h1 id="接口、取消与-mock" tabindex="-1">接口、取消与 Mock <a class="header-anchor" href="#接口、取消与-mock" aria-label="Permalink to &quot;接口、取消与 Mock&quot;">​</a></h1><p>业务代码调用 <code>apps/admin/src/api</code> 中的函数,后者使用 <code>@/axios</code> 的 <code>request</code>。成功时实例直接解析为响应体 <code>T</code>,失败会拒绝;接口还包了一层业务响应时,由业务层继续解析。需要原始响应头或状态码时,使用保留完整响应的 Axios 实例。</p><h2 id="交互示例" tabindex="-1">交互示例 <a class="header-anchor" href="#交互示例" aria-label="Permalink to &quot;交互示例&quot;">​</a></h2>',3)),k(a,{path:"/axios",title:"执行、取消和节流请求"}),s[1]||(s[1]=i(`<details class="details custom-block"><summary>查看示例源码</summary><div class="language-tsx vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">tsx</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const r=JSON.parse('{"title":"接口、取消与 Mock","description":"","frontmatter":{},"headers":[],"relativePath":"guide/requests.md","filePath":"guide/requests.md"}'),l={name:"guide/requests.md"},d=Object.assign(l,{setup(t){return(p,s)=>(n(),h("div",null,[s[0]||(s[0]=i('<h1 id="接口、取消与-mock" tabindex="-1">接口、取消与 Mock <a class="header-anchor" href="#接口、取消与-mock" aria-label="Permalink to &quot;接口、取消与 Mock&quot;">​</a></h1><p>业务代码调用 <code>apps/admin/src/api</code> 中的函数,后者使用 <code>@/axios</code> 的 <code>request</code>。成功时实例直接解析为响应体 <code>T</code>,失败会拒绝;接口还包了一层业务响应时,由业务层继续解析。需要原始响应头或状态码时,使用保留完整响应的 Axios 实例。</p><h2 id="交互示例" tabindex="-1">交互示例 <a class="header-anchor" href="#交互示例" aria-label="Permalink to &quot;交互示例&quot;">​</a></h2>',3)),k(a,{path:"/axios",title:"执行、取消和节流请求"}),s[1]||(s[1]=i(`<details class="details custom-block"><summary>查看示例源码</summary><div class="language-tsx vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">tsx</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> type</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { ApiResponse } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/api/admin/contracts&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> getRequestFixture,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> getWeather,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> requestFixtureUrl,</span></span>
@ -13,7 +14,9 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> name: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;RAxios&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> setup</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">() {</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">t</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> useI18n</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;demoDetails&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> manual</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> useRequest</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">Awaited</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">ReturnType</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">typeof</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> getRequestFixture&gt;&gt;&gt;(</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> manual</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> useRequest</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&lt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ApiResponse</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&lt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">Awaited</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&lt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">ReturnType</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&lt;typeof</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> getRequestFixture</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&gt;&gt;&gt;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { url: requestFixtureUrl, method: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;get&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, cancelConfig: { cancel: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> } },</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { manual: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> )</span></span>
@ -63,7 +66,9 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> manual.error.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> t</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;request.failed&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> manual.data.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">pre</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">JSON</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">stringify</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(manual.data.value.ticket, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">null</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">pre</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">pre</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">JSON</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">stringify</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(manual.data.value.data.ticket, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">null</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">pre</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> t</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;request.waiting&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> )}</span></span>
@ -161,11 +166,11 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> signal,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> cancelConfig: { cancel: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">false</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> })</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>默认取消器按 URL、方法、参数和请求体识别重复请求,默认布局在路由更新前取消受管理的请求。示例将信号交给 TablePro 管理,所以关闭模板的默认注入;否则默认取消器会替换调用方传入的 signal。后台任务禁用默认取消后,需要自行管理生命周期。</p><h2 id="配置与拦截器" tabindex="-1">配置与拦截器 <a class="header-anchor" href="#配置与拦截器" aria-label="Permalink to &quot;配置与拦截器&quot;">​</a></h2><ul><li><code>apps/admin/src/app-config/request-config.ts</code>:统一修改 <code>baseURL</code>、超时和默认 headers。</li><li><code>apps/admin/src/axios/axios-interceptor/{request,response}/provider.ts</code>:登记插件;请求头、鉴权响应等放入对应的 <code>plugins</code>。</li><li><code>useRequest</code> 包装同一请求实例,放在有效的 Vue effect 作用域内使用。</li></ul><h2 id="从演示切到真实服务" tabindex="-1">从演示切到真实服务 <a class="header-anchor" href="#从演示切到真实服务" aria-label="Permalink to &quot;从演示切到真实服务&quot;">​</a></h2><p>开发时人员列表请求 <code>GET /api/list</code>,由 Vite Mock 中间件处理。GitHub Pages 只能提供静态文件;插件 <code>build: true</code> 生成的 <a href="https://vite-plugin-mock-dev-server.netlify.app/guide/mock-service" target="_blank" rel="noreferrer">独立 Mock 服务</a> 需要 Node.js 进程。Pages 打包会跳过 <code>mockServer/</code>。</p><p>Pages 上「远端分页」与「查询与分页」直接按需加载 <code>apps/admin/src/demo-data/people.ts</code>,与开发接口复用筛选、排序和分页实现,访问不依赖 <code>/api/list</code>。用 <code>pnpm pages:build</code> 构建后,将 <code>dist/pages</code> 挂载在静态站点的 <code>/ray-template/</code> 路径,打开 <code>/ray-template/#/tables/remote</code> 验证。不要用 Vite 的接口响应判断 Pages 是否具备 API 能力。</p><p>若后续有多个示例必须连同 Axios 拦截器一起演练,可以在演示构建显式启用 <a href="https://mswjs.io/guides/integrations/browser" target="_blank" rel="noreferrer">MSW 浏览器拦截</a>,将 worker 放在 <code>/ray-template/</code> 下并等待注册后再启动应用。需要真实认证、共享写入或 HTTP 服务端行为时,另部署 API。业务项目应换成自己的 API 和会话;浏览器端 <code>VITE_*</code> 变量不能放密钥。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/axios/instance.ts" target="_blank" rel="noreferrer">请求实例</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/api/demo/mock/person.ts" target="_blank" rel="noreferrer">演示接口</a></p><h2 id="userequest-与手动执行" tabindex="-1">useRequest 与手动执行 <a class="header-anchor" href="#userequest-与手动执行" aria-label="Permalink to &quot;useRequest 与手动执行&quot;">​</a></h2><p><code>useRequest&lt;Response&gt;(fetchOptions, options?)</code> 从 <code>@/axios</code> 导入,使用模板 Axios 实例执行同一份配置。<code>options</code> 传给 vue-hooks-plus,例如 <code>manual</code>、成功和失败回调。返回的数据、错误、加载状态与运行方法来自上游 Hook。应用在 <code>setup</code> 或有效 effect scope 内创建它。</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { useRequest } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/axios&#39;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>默认取消器按 URL、方法、参数和请求体识别重复请求,默认布局在路由更新前取消受管理的请求。示例将信号交给 TablePro 管理,所以关闭模板的默认注入;否则默认取消器会替换调用方传入的 signal。后台任务禁用默认取消后,需要自行管理生命周期。</p><h2 id="配置与拦截器" tabindex="-1">配置与拦截器 <a class="header-anchor" href="#配置与拦截器" aria-label="Permalink to &quot;配置与拦截器&quot;">​</a></h2><ul><li><code>apps/admin/src/app-config/request-config.ts</code>:统一修改 <code>baseURL</code>、超时和默认 headers。</li><li><code>apps/admin/src/axios/axios-interceptor/{request,response}/provider.ts</code>:登记插件;请求头、鉴权响应等放入对应的 <code>plugins</code>。</li><li><code>useRequest</code> 包装同一请求实例,放在有效的 Vue effect 作用域内使用。</li></ul><h2 id="从演示切到真实服务" tabindex="-1">从演示切到真实服务 <a class="header-anchor" href="#从演示切到真实服务" aria-label="Permalink to &quot;从演示切到真实服务&quot;">​</a></h2><p>开发、生产预览和 GitHub Pages 共用 MSW HTTP Mock。登录、用户、路由、人员表格、路由示例详情、搜索业务选项、图表与请求示例都通过 API 层发送请求,在线演示由应用 base 下的 Service Worker 响应;不再在生产环境直接调用本地数据函数。选择本地筛选的表格示例,也先通过接口取得数据,再由组件完成本地排序、分页与筛选。请求/响应类型与运行时 Schema 统一放在 <code>@ray-template/api-contracts</code>,HTTP 传输能力由 <code>@ray-template/http</code> 提供。</p><p>设置 <code>VITE_API_MOCK=false</code> 和 <code>VITE_API_BASE_URL</code> 后,请求直达自己的服务端。完整请求/响应结构、错误码、会话、权限码及可下载 OpenAPI 见<a href="./backend.html">服务端接入指南</a>。Mock 持久化仅属于当前浏览器,多用户共享数据和正式会话由真实后端负责。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/axios/instance.ts" target="_blank" rel="noreferrer">请求实例</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/api/admin/index.ts" target="_blank" rel="noreferrer">业务 API</a></p><h2 id="userequest-与手动执行" tabindex="-1">useRequest 与手动执行 <a class="header-anchor" href="#userequest-与手动执行" aria-label="Permalink to &quot;useRequest 与手动执行&quot;">​</a></h2><p><code>useRequest&lt;Response&gt;(fetchOptions, options?)</code> 从 <code>@/axios</code> 导入,使用模板 Axios 实例执行同一份配置。<code>options</code> 传给 vue-hooks-plus,例如 <code>manual</code>、成功和失败回调。返回的数据、错误、加载状态与运行方法来自上游 Hook。应用在 <code>setup</code> 或有效 effect scope 内创建它。</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { useRequest } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/axios&#39;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> useOrderSummary</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">() {</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> return</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> useRequest</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;{ </span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">total</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> number</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }&gt;(</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { url: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;/api/orders/summary&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, method: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;get&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { manual: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> )</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>调用 <code>run()</code> 触发手动加载。这个包装的请求函数从 <code>fetchOptions</code> 读取配置,不会把 <code>run(...)</code> 参数自动映射成请求体或 query;需要动态 service 时用同入口导出的 <code>useHookPlusRequest(service, options?)</code>,在 service 中调用 <code>request</code>。错误提示由业务配置或响应拦截器负责,当前默认拦截器不消费 <code>responseSuccessMessage</code> / <code>responseErrorMessage</code> 两个类型字段。</p><p>默认头注入包含演示 <code>X-TOKEN</code> 与示例头。对接真实接口时在请求插件中校验目标来源,并按后端约定设置认证头。模板 Axios 实例用来请求自己的业务接口;第三方地址使用明确配置的独立客户端。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/axios/index.ts" target="_blank" rel="noreferrer">请求 Hook</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/http/src/types.ts" target="_blank" rel="noreferrer">请求配置类型</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/axios/axios-interceptor/request/plugins/request-headers.ts" target="_blank" rel="noreferrer">头注入实现</a></p>`,17))]))}});export{r as __pageData,d as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>调用 <code>run()</code> 触发手动加载。这个包装的请求函数从 <code>fetchOptions</code> 读取配置,不会把 <code>run(...)</code> 参数自动映射成请求体或 query;需要动态 service 时用同入口导出的 <code>useHookPlusRequest(service, options?)</code>,在 service 中调用 <code>request</code>。错误提示由业务配置或响应拦截器负责,当前默认拦截器不消费 <code>responseSuccessMessage</code> / <code>responseErrorMessage</code> 两个类型字段。</p><p>默认仅向已配置的 API 基址注入 <code>Authorization: Bearer &lt;token&gt;</code>,不覆盖调用方提供的认证头。模板 Axios 实例用来请求自己的业务接口;第三方地址使用明确配置的独立客户端。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/axios/index.ts" target="_blank" rel="noreferrer">请求 Hook</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/http/src/types.ts" target="_blank" rel="noreferrer">请求配置类型</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/axios/axios-interceptor/request/plugins/request-headers.ts" target="_blank" rel="noreferrer">头注入实现</a></p>`,16))]))}});export{r as __pageData,d as default};

View File

@ -1 +1 @@
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const r=JSON.parse('{"title":"接口、取消与 Mock","description":"","frontmatter":{},"headers":[],"relativePath":"guide/requests.md","filePath":"guide/requests.md"}'),l={name:"guide/requests.md"},d=Object.assign(l,{setup(t){return(p,s)=>(n(),h("div",null,[s[0]||(s[0]=i("",3)),k(a,{path:"/axios",title:"执行、取消和节流请求"}),s[1]||(s[1]=i("",17))]))}});export{r as __pageData,d as default};
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const r=JSON.parse('{"title":"接口、取消与 Mock","description":"","frontmatter":{},"headers":[],"relativePath":"guide/requests.md","filePath":"guide/requests.md"}'),l={name:"guide/requests.md"},d=Object.assign(l,{setup(t){return(p,s)=>(n(),h("div",null,[s[0]||(s[0]=i("",3)),k(a,{path:"/axios",title:"执行、取消和节流请求"}),s[1]||(s[1]=i("",16))]))}});export{r as __pageData,d as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,4 +5,4 @@ import{_ as s,o as i,c as e,a3 as t}from"./chunks/framework.D8G7yXPy.js";const c
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">npm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> install</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --global</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> pnpm@12.16.1</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">pnpm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> install</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --frozen-lockfile</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">pnpm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> env:check</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">pnpm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> dev</span></span></code></pre></div><p>打开 <a href="http://127.0.0.1:9527/ray-template/" target="_blank" rel="noreferrer">http://127.0.0.1:9527/ray-template/</a>,如果端口被占用,以 Vite 输出的地址为准。使用预填表单登录,再打开「表格 → 远端查询与分页」或「布局实验室」。也可直接体验<a href="https://xiaodaigua-ray.github.io/ray-template/" target="_blank" rel="noreferrer">在线演示</a>。</p><div class="warning custom-block"><p class="custom-block-title">演示与真实业务</p><p>预填表单、会话和 Mock 用于展示前端工作流。对外部署真实业务前,接入自己的认证、服务端权限校验和 API。</p></div><h2 id="启动文档" tabindex="-1">启动文档 <a class="header-anchor" href="#启动文档" aria-label="Permalink to &quot;启动文档&quot;">​</a></h2><p>在同一个工作区运行 <code>pnpm docs:dev</code>。按终端地址打开 <code>/ray-template/docs/</code>,可以直接操作 TablePro、条码和布局示例。</p><h2 id="相关文档" tabindex="-1">相关文档 <a class="header-anchor" href="#相关文档" aria-label="Permalink to &quot;相关文档&quot;">​</a></h2><p><a href="./first-page.html">第一个业务页面</a> · <a href="./../migration.html">v5 与 v6 的版本分界</a> · <a href="./tooling.html">工程检查与部署</a></p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/package.json" target="_blank" rel="noreferrer">运行时与依赖清单</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/docs/architecture.md" target="_blank" rel="noreferrer">项目目录与启动链路</a></p>`,12)])])}const F=s(n,[["render",l]]);export{c as __pageData,F as default};
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">pnpm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> dev</span></span></code></pre></div><p>打开 <a href="http://127.0.0.1:9527/ray-template/" target="_blank" rel="noreferrer">http://127.0.0.1:9527/ray-template/</a>,如果端口被占用,以 Vite 输出的地址为准。使用预填表单登录,再打开「表格 → 远端查询与分页」或「布局实验室」。也可直接体验<a href="https://xiaodaigua-ray.github.io/ray-template/" target="_blank" rel="noreferrer">在线演示</a>。</p><div class="warning custom-block"><p class="custom-block-title">演示与真实业务</p><p>预填表单、会话和 Mock 用于展示前端工作流。对外部署真实业务前,接入自己的认证、服务端权限校验和 API。</p></div><h2 id="启动文档" tabindex="-1">启动文档 <a class="header-anchor" href="#启动文档" aria-label="Permalink to &quot;启动文档&quot;">​</a></h2><p>在同一个工作区运行 <code>pnpm docs:dev</code>。按终端地址打开 <code>/ray-template/docs/</code>,可以直接操作 TablePro、条码和布局示例。</p><h2 id="相关文档" tabindex="-1">相关文档 <a class="header-anchor" href="#相关文档" aria-label="Permalink to &quot;相关文档&quot;">​</a></h2><p><a href="./first-page.html">第一个业务页面</a> · <a href="./../migration.html">v5 与 v6 的版本分界</a> · <a href="./tooling.html">工程检查与部署</a></p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/package.json" target="_blank" rel="noreferrer">运行时与依赖清单</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/docs/architecture.md" target="_blank" rel="noreferrer">项目目录与启动链路</a></p>`,12)])])}const F=s(n,[["render",l]]);export{c as __pageData,F as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{_ as t,o as d,c as o,a3 as a}from"./chunks/framework.D8G7yXPy.js";const m=JSON.parse('{"title":"工程检查与部署","description":"","frontmatter":{},"headers":[],"relativePath":"guide/tooling.md","filePath":"guide/tooling.md"}'),c={name:"guide/tooling.md"};function r(p,e,i,n,s,l){return d(),o("div",null,[...e[0]||(e[0]=[a("",11)])])}const b=t(c,[["render",r]]);export{m as __pageData,b as default};
import{_ as t,o as d,c as o,a3 as a}from"./chunks/framework.D8G7yXPy.js";const m=JSON.parse('{"title":"工程检查与部署","description":"","frontmatter":{},"headers":[],"relativePath":"guide/tooling.md","filePath":"guide/tooling.md"}'),c={name:"guide/tooling.md"};function r(p,e,n,i,s,l){return d(),o("div",null,[...e[0]||(e[0]=[a("",13)])])}const b=t(c,[["render",r]]);export{m as __pageData,b as default};

View File

@ -1 +0,0 @@
import{_ as t,o as d,c as o,a3 as a}from"./chunks/framework.D8G7yXPy.js";const m=JSON.parse('{"title":"工程检查与部署","description":"","frontmatter":{},"headers":[],"relativePath":"guide/tooling.md","filePath":"guide/tooling.md"}'),c={name:"guide/tooling.md"};function r(p,e,i,n,s,l){return d(),o("div",null,[...e[0]||(e[0]=[a('<h1 id="工程检查与部署" tabindex="-1">工程检查与部署 <a class="header-anchor" href="#工程检查与部署" aria-label="Permalink to &quot;工程检查与部署&quot;">​</a></h1><h2 id="常用命令" tabindex="-1">常用命令 <a class="header-anchor" href="#常用命令" aria-label="Permalink to &quot;常用命令&quot;">​</a></h2><table tabindex="0"><thead><tr><th>命令</th><th>用途</th></tr></thead><tbody><tr><td><code>pnpm env:check</code></td><td>校验 Node、pnpm 与依赖安装</td></tr><tr><td><code>pnpm dev</code></td><td>同步图标清单并启动 Vite</td></tr><tr><td><code>pnpm harness context</code></td><td>查任务域;追加 <code>routing</code>、<code>table-pro</code>、<code>docs</code> 等查看实现与验证</td></tr><tr><td><code>pnpm harness verify table-pro</code></td><td>按域运行定向测试或项目检查</td></tr><tr><td><code>pnpm harness verify</code></td><td>运行全量检查并生成本地报告</td></tr><tr><td><code>pnpm typecheck</code></td><td>验证图标清单,检查应用、Node 配置和测试类型</td></tr><tr><td><code>pnpm dev-build</code> / <code>pnpm report</code></td><td>构建开发版,或输出静态打包报告</td></tr><tr><td><code>pnpm build</code> / <code>pnpm preview</code></td><td>构建并在本机验收产物</td></tr><tr><td><code>pnpm packages:check</code></td><td>检查公开入口、依赖声明和循环依赖</td></tr><tr><td><code>pnpm pages:build</code></td><td>将后台与文档组装到 <code>dist/pages</code></td></tr><tr><td><code>pnpm docs:dev</code></td><td>启动文档开发站</td></tr><tr><td><code>pnpm docs:check</code></td><td>验证文档示例类型、站内链接与生产构建</td></tr><tr><td><code>pnpm docs:preview</code></td><td>预览已构建的文档站</td></tr></tbody></table><p>全量检查包含环境、Harness、图标同步、类型、ESLint、Prettier、Vitest 和生产构建。Harness 在 <code>.harness-local/runs/</code> 写结果;Chrome 验收单独记录。改动交互或布局时,额外验收中英文、明暗主题和窄屏。</p><h2 id="部署到子路径" tabindex="-1">部署到子路径 <a class="header-anchor" href="#部署到子路径" aria-label="Permalink to &quot;部署到子路径&quot;">​</a></h2><p><code>pnpm build</code> 输出 <code>dist/production</code>。将产物部署到与 <code>vite.custom.config.ts</code> 中 <code>base</code> 对应的路径。默认应用为 <code>/ray-template/</code>,域名根目录部署改为 <code>/</code>。Vite 默认打包本地依赖;可选 CDN 模式需另外确认目标环境能访问 CDN。</p><p>组合部署使用 <code>pnpm pages:build</code>,将 <code>dist/pages</code> 作为同一个站点的产物。官方地址为 <code>/ray-template/</code>,其下 <code>docs/</code> 目录提供 v6 官网。CI 传入 <code>RAY_TEMPLATE_SOURCE_REF</code>,把文档的当前源码链接固定到发布提交。</p><p>公开生产部署可在构建环境设置 <code>RAY_TEMPLATE_SITE_ORIGIN</code> 为实际站点源地址(例如 <code>https://example.com</code>),由 base 补足路径。未配置时应用产物使用 <code>noindex</code>。公开 sitemap 列出入口页,登录后的 hash 路由用于应用交互。</p><h2 id="二次开发约定" tabindex="-1">二次开发约定 <a class="header-anchor" href="#二次开发约定" aria-label="Permalink to &quot;二次开发约定&quot;">​</a></h2><ul><li>新页面遵循 Vue 3 Composition API + TSX 或现有 SFC 模式。复用现有组件,声明按职责归档。</li><li>Vue、Router、Pinia 的自动导入声明由生成器维护;类型使用 <code>import type</code>。应用、测试、Node 配置的 TS 边界不同。</li><li>格式由 Prettier 管理,ESLint 使用 flat config。提交约定和注释写法以应用仓库当前规则为准。</li></ul><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/docs/architecture.md" target="_blank" rel="noreferrer">工程与部署入口</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/harness/README.md" target="_blank" rel="noreferrer">AI Harness</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/docs/comment-style.md" target="_blank" rel="noreferrer">注释规范</a></p>',11)])])}const b=t(c,[["render",r]]);export{m as __pageData,b as default};

View File

@ -1 +1 @@
import{d as y,o as i,c as o,j as e,t as l,k as s,g as r,a3 as p,F as d,B as m,E as u}from"./chunks/framework.D8G7yXPy.js";import{v as f}from"./chunks/theme.CvKeZay4.js";const v={class:"ray-home"},g={class:"ray-hero"},b={class:"ray-lead"},M={class:"ray-actions"},w=["href"],k=["href"],x={class:"ray-map","aria-labelledby":"ray-map-title"},T=["href"],B={class:"ray-paths","aria-labelledby":"ray-paths-title"},z=["href","aria-labelledby","aria-describedby"],P={class:"ray-path-icon",viewBox:"0 0 24 24","aria-hidden":"true"},S=["d"],A=["id"],N=["id"],R={class:"ray-showcase","aria-labelledby":"ray-showcase-title"},V={class:"ray-showcase-links"},$=["href"],C=["href"],H=["src"],D=y({__name:"RayHome",setup(_){const n=[{title:"Ray Admin",name:"apps/admin",href:"/guide/layout.html"},{title:"共享包",name:"packages",href:"/guide/architecture.html"},{title:"页内交互",name:"apps/docs",href:"/reference/table-pro.html"}],c=[{title:"第一个业务页面",summary:"添加订单列表、路由和菜单。",href:"/guide/first-page.html",icon:"M6 3.5h8l4 4v13H6z M14 3.5v4h4 M9 12h6 M9 16h6"},{title:"组件与 Hooks",summary:"查找表单、弹窗和常用组合式函数。",href:"/reference/components.html",icon:"M3.5 3.5h7v7h-7z M13.5 3.5h7v7h-7z M3.5 13.5h7v7h-7z M13.5 13.5h7v7h-7z"},{title:"构建与部署",summary:"检查项目并部署到站点子路径。",href:"/guide/tooling.html",icon:"M4 8.5h16v11H4z M4 8.5l3-4h10l3 4 M12 16v-4 M10 14l2-2 2 2"}];return(j,t)=>(i(),o("main",v,[e("header",g,[e("div",null,[t[0]||(t[0]=e("h1",null,"Ray Template",-1)),e("p",b," v"+l(s(f))+" 将 Ray Admin、官网文档和共享包放在同一个工作区。可在文档里直接体验真实组件。 ",1),e("div",M,[e("a",{class:"ray-start",href:s(r)("/guide/start.html")},"快速开始",8,w),e("a",{class:"ray-migrate",href:s(r)("/migration.html")},"v5 与 v6 的版本分界",8,k)])]),e("section",x,[t[1]||(t[1]=p('<h2 id="ray-map-title">v6 工作区</h2><svg class="ray-orbit" viewBox="0 0 200 200" aria-hidden="true"><circle cx="100" cy="100" r="65"></circle><circle cx="100" cy="100" r="89" stroke-dasharray="3 6"></circle><path d="M100 0v200M0 100h200M29 29l142 142m0-142L29 171"></path><circle cx="100" cy="100" r="7" fill="currentColor"></circle></svg>',2)),e("ul",null,[(i(),o(d,null,m(n,a=>e("li",{key:a.href},[e("a",{href:s(r)(a.href)},[e("span",null,l(a.title),1),e("code",null,l(a.name),1)],8,T)])),64))])])]),e("section",B,[t[3]||(t[3]=e("h2",{id:"ray-paths-title"},"常用文档",-1)),e("ul",null,[(i(),o(d,null,m(c,(a,h)=>e("li",{key:a.href},[e("a",{class:"ray-path",href:s(r)(a.href),"aria-labelledby":`ray-path-title-${h}`,"aria-describedby":`ray-path-summary-${h}`},[e("article",null,[(i(),o("svg",P,[e("path",{d:a.icon},null,8,S)])),e("h3",{id:`ray-path-title-${h}`},l(a.title),9,A),e("p",{id:`ray-path-summary-${h}`},l(a.summary),9,N),t[2]||(t[2]=e("svg",{class:"ray-path-arrow",viewBox:"0 0 24 24","aria-hidden":"true"},[e("path",{d:"M5 12h13m-5-5 5 5-5 5"})],-1))])],8,z)])),64))])]),e("section",R,[e("div",null,[t[4]||(t[4]=e("h2",{id:"ray-showcase-title"},"TablePro 自适应高度",-1)),t[5]||(t[5]=e("p",null,"表格填满可用高度,数据在表内滚动。",-1)),e("div",V,[e("a",{href:s(r)("/reference/table-pro.html")},"TablePro 用法",8,$),e("a",{href:s(r)("/reference/table-pro-examples.html#自适应高度与虚拟滚动")},"在线示例",8,C)])]),e("img",{src:s(r)("/assets/tablepro-auto-height.png"),width:"1440",height:"820",loading:"lazy",alt:"TablePro 自适应高度示例,虚拟滚动已开启,分页位于表格底部"},null,8,H)])]))}}),L=JSON.parse('{"title":"开发者文档","description":"","frontmatter":{"title":"开发者文档","layout":"home","markdownStyles":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),E={name:"index.md"},O=Object.assign(E,{setup(_){return(n,c)=>(i(),o("div",null,[u(D)]))}});export{L as __pageData,O as default};
import{d as y,o as i,c as o,j as e,t as l,k as s,g as r,a3 as p,F as d,B as m,E as u}from"./chunks/framework.D8G7yXPy.js";import{v as f}from"./chunks/theme.DcPBxbZ4.js";const v={class:"ray-home"},g={class:"ray-hero"},b={class:"ray-lead"},M={class:"ray-actions"},w=["href"],k=["href"],x={class:"ray-map","aria-labelledby":"ray-map-title"},T=["href"],B={class:"ray-paths","aria-labelledby":"ray-paths-title"},z=["href","aria-labelledby","aria-describedby"],P={class:"ray-path-icon",viewBox:"0 0 24 24","aria-hidden":"true"},S=["d"],A=["id"],N=["id"],R={class:"ray-showcase","aria-labelledby":"ray-showcase-title"},V={class:"ray-showcase-links"},$=["href"],C=["href"],H=["src"],D=y({__name:"RayHome",setup(_){const n=[{title:"Ray Admin",name:"apps/admin",href:"/guide/layout.html"},{title:"共享包",name:"packages",href:"/guide/architecture.html"},{title:"页内交互",name:"apps/docs",href:"/reference/table-pro.html"}],c=[{title:"第一个业务页面",summary:"添加订单列表、路由和菜单。",href:"/guide/first-page.html",icon:"M6 3.5h8l4 4v13H6z M14 3.5v4h4 M9 12h6 M9 16h6"},{title:"组件与 Hooks",summary:"查找表单、弹窗和常用组合式函数。",href:"/reference/components.html",icon:"M3.5 3.5h7v7h-7z M13.5 3.5h7v7h-7z M3.5 13.5h7v7h-7z M13.5 13.5h7v7h-7z"},{title:"构建与部署",summary:"检查项目并部署到站点子路径。",href:"/guide/tooling.html",icon:"M4 8.5h16v11H4z M4 8.5l3-4h10l3 4 M12 16v-4 M10 14l2-2 2 2"}];return(j,t)=>(i(),o("main",v,[e("header",g,[e("div",null,[t[0]||(t[0]=e("h1",null,"Ray Template",-1)),e("p",b," v"+l(s(f))+" 将 Ray Admin、官网文档和共享包放在同一个工作区。可在文档里直接体验真实组件。 ",1),e("div",M,[e("a",{class:"ray-start",href:s(r)("/guide/start.html")},"快速开始",8,w),e("a",{class:"ray-migrate",href:s(r)("/migration.html")},"v5 与 v6 的版本分界",8,k)])]),e("section",x,[t[1]||(t[1]=p('<h2 id="ray-map-title">v6 工作区</h2><svg class="ray-orbit" viewBox="0 0 200 200" aria-hidden="true"><circle cx="100" cy="100" r="65"></circle><circle cx="100" cy="100" r="89" stroke-dasharray="3 6"></circle><path d="M100 0v200M0 100h200M29 29l142 142m0-142L29 171"></path><circle cx="100" cy="100" r="7" fill="currentColor"></circle></svg>',2)),e("ul",null,[(i(),o(d,null,m(n,a=>e("li",{key:a.href},[e("a",{href:s(r)(a.href)},[e("span",null,l(a.title),1),e("code",null,l(a.name),1)],8,T)])),64))])])]),e("section",B,[t[3]||(t[3]=e("h2",{id:"ray-paths-title"},"常用文档",-1)),e("ul",null,[(i(),o(d,null,m(c,(a,h)=>e("li",{key:a.href},[e("a",{class:"ray-path",href:s(r)(a.href),"aria-labelledby":`ray-path-title-${h}`,"aria-describedby":`ray-path-summary-${h}`},[e("article",null,[(i(),o("svg",P,[e("path",{d:a.icon},null,8,S)])),e("h3",{id:`ray-path-title-${h}`},l(a.title),9,A),e("p",{id:`ray-path-summary-${h}`},l(a.summary),9,N),t[2]||(t[2]=e("svg",{class:"ray-path-arrow",viewBox:"0 0 24 24","aria-hidden":"true"},[e("path",{d:"M5 12h13m-5-5 5 5-5 5"})],-1))])],8,z)])),64))])]),e("section",R,[e("div",null,[t[4]||(t[4]=e("h2",{id:"ray-showcase-title"},"TablePro 自适应高度",-1)),t[5]||(t[5]=e("p",null,"表格填满可用高度,数据在表内滚动。",-1)),e("div",V,[e("a",{href:s(r)("/reference/table-pro.html")},"TablePro 用法",8,$),e("a",{href:s(r)("/reference/table-pro-examples.html#自适应高度与虚拟滚动")},"在线示例",8,C)])]),e("img",{src:s(r)("/assets/tablepro-auto-height.png"),width:"1440",height:"820",loading:"lazy",alt:"TablePro 自适应高度示例,虚拟滚动已开启,分页位于表格底部"},null,8,H)])]))}}),L=JSON.parse('{"title":"开发者文档","description":"","frontmatter":{"title":"开发者文档","layout":"home","markdownStyles":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),E={name:"index.md"},O=Object.assign(E,{setup(_){return(n,c)=>(i(),o("div",null,[u(D)]))}});export{L as __pageData,O as default};

View File

@ -1 +1 @@
import{d as y,o as i,c as o,j as e,t as l,k as s,g as r,a3 as p,F as d,B as m,E as u}from"./chunks/framework.D8G7yXPy.js";import{v as f}from"./chunks/theme.CvKeZay4.js";const v={class:"ray-home"},g={class:"ray-hero"},b={class:"ray-lead"},M={class:"ray-actions"},w=["href"],k=["href"],x={class:"ray-map","aria-labelledby":"ray-map-title"},T=["href"],B={class:"ray-paths","aria-labelledby":"ray-paths-title"},z=["href","aria-labelledby","aria-describedby"],P={class:"ray-path-icon",viewBox:"0 0 24 24","aria-hidden":"true"},S=["d"],A=["id"],N=["id"],R={class:"ray-showcase","aria-labelledby":"ray-showcase-title"},V={class:"ray-showcase-links"},$=["href"],C=["href"],H=["src"],D=y({__name:"RayHome",setup(_){const n=[{title:"Ray Admin",name:"apps/admin",href:"/guide/layout.html"},{title:"共享包",name:"packages",href:"/guide/architecture.html"},{title:"页内交互",name:"apps/docs",href:"/reference/table-pro.html"}],c=[{title:"第一个业务页面",summary:"添加订单列表、路由和菜单。",href:"/guide/first-page.html",icon:"M6 3.5h8l4 4v13H6z M14 3.5v4h4 M9 12h6 M9 16h6"},{title:"组件与 Hooks",summary:"查找表单、弹窗和常用组合式函数。",href:"/reference/components.html",icon:"M3.5 3.5h7v7h-7z M13.5 3.5h7v7h-7z M3.5 13.5h7v7h-7z M13.5 13.5h7v7h-7z"},{title:"构建与部署",summary:"检查项目并部署到站点子路径。",href:"/guide/tooling.html",icon:"M4 8.5h16v11H4z M4 8.5l3-4h10l3 4 M12 16v-4 M10 14l2-2 2 2"}];return(j,t)=>(i(),o("main",v,[e("header",g,[e("div",null,[t[0]||(t[0]=e("h1",null,"Ray Template",-1)),e("p",b," v"+l(s(f))+" 将 Ray Admin、官网文档和共享包放在同一个工作区。可在文档里直接体验真实组件。 ",1),e("div",M,[e("a",{class:"ray-start",href:s(r)("/guide/start.html")},"快速开始",8,w),e("a",{class:"ray-migrate",href:s(r)("/migration.html")},"v5 与 v6 的版本分界",8,k)])]),e("section",x,[t[1]||(t[1]=p("",2)),e("ul",null,[(i(),o(d,null,m(n,a=>e("li",{key:a.href},[e("a",{href:s(r)(a.href)},[e("span",null,l(a.title),1),e("code",null,l(a.name),1)],8,T)])),64))])])]),e("section",B,[t[3]||(t[3]=e("h2",{id:"ray-paths-title"},"常用文档",-1)),e("ul",null,[(i(),o(d,null,m(c,(a,h)=>e("li",{key:a.href},[e("a",{class:"ray-path",href:s(r)(a.href),"aria-labelledby":`ray-path-title-${h}`,"aria-describedby":`ray-path-summary-${h}`},[e("article",null,[(i(),o("svg",P,[e("path",{d:a.icon},null,8,S)])),e("h3",{id:`ray-path-title-${h}`},l(a.title),9,A),e("p",{id:`ray-path-summary-${h}`},l(a.summary),9,N),t[2]||(t[2]=e("svg",{class:"ray-path-arrow",viewBox:"0 0 24 24","aria-hidden":"true"},[e("path",{d:"M5 12h13m-5-5 5 5-5 5"})],-1))])],8,z)])),64))])]),e("section",R,[e("div",null,[t[4]||(t[4]=e("h2",{id:"ray-showcase-title"},"TablePro 自适应高度",-1)),t[5]||(t[5]=e("p",null,"表格填满可用高度,数据在表内滚动。",-1)),e("div",V,[e("a",{href:s(r)("/reference/table-pro.html")},"TablePro 用法",8,$),e("a",{href:s(r)("/reference/table-pro-examples.html#自适应高度与虚拟滚动")},"在线示例",8,C)])]),e("img",{src:s(r)("/assets/tablepro-auto-height.png"),width:"1440",height:"820",loading:"lazy",alt:"TablePro 自适应高度示例,虚拟滚动已开启,分页位于表格底部"},null,8,H)])]))}}),L=JSON.parse('{"title":"开发者文档","description":"","frontmatter":{"title":"开发者文档","layout":"home","markdownStyles":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),E={name:"index.md"},O=Object.assign(E,{setup(_){return(n,c)=>(i(),o("div",null,[u(D)]))}});export{L as __pageData,O as default};
import{d as y,o as i,c as o,j as e,t as l,k as s,g as r,a3 as p,F as d,B as m,E as u}from"./chunks/framework.D8G7yXPy.js";import{v as f}from"./chunks/theme.DcPBxbZ4.js";const v={class:"ray-home"},g={class:"ray-hero"},b={class:"ray-lead"},M={class:"ray-actions"},w=["href"],k=["href"],x={class:"ray-map","aria-labelledby":"ray-map-title"},T=["href"],B={class:"ray-paths","aria-labelledby":"ray-paths-title"},z=["href","aria-labelledby","aria-describedby"],P={class:"ray-path-icon",viewBox:"0 0 24 24","aria-hidden":"true"},S=["d"],A=["id"],N=["id"],R={class:"ray-showcase","aria-labelledby":"ray-showcase-title"},V={class:"ray-showcase-links"},$=["href"],C=["href"],H=["src"],D=y({__name:"RayHome",setup(_){const n=[{title:"Ray Admin",name:"apps/admin",href:"/guide/layout.html"},{title:"共享包",name:"packages",href:"/guide/architecture.html"},{title:"页内交互",name:"apps/docs",href:"/reference/table-pro.html"}],c=[{title:"第一个业务页面",summary:"添加订单列表、路由和菜单。",href:"/guide/first-page.html",icon:"M6 3.5h8l4 4v13H6z M14 3.5v4h4 M9 12h6 M9 16h6"},{title:"组件与 Hooks",summary:"查找表单、弹窗和常用组合式函数。",href:"/reference/components.html",icon:"M3.5 3.5h7v7h-7z M13.5 3.5h7v7h-7z M3.5 13.5h7v7h-7z M13.5 13.5h7v7h-7z"},{title:"构建与部署",summary:"检查项目并部署到站点子路径。",href:"/guide/tooling.html",icon:"M4 8.5h16v11H4z M4 8.5l3-4h10l3 4 M12 16v-4 M10 14l2-2 2 2"}];return(j,t)=>(i(),o("main",v,[e("header",g,[e("div",null,[t[0]||(t[0]=e("h1",null,"Ray Template",-1)),e("p",b," v"+l(s(f))+" 将 Ray Admin、官网文档和共享包放在同一个工作区。可在文档里直接体验真实组件。 ",1),e("div",M,[e("a",{class:"ray-start",href:s(r)("/guide/start.html")},"快速开始",8,w),e("a",{class:"ray-migrate",href:s(r)("/migration.html")},"v5 与 v6 的版本分界",8,k)])]),e("section",x,[t[1]||(t[1]=p("",2)),e("ul",null,[(i(),o(d,null,m(n,a=>e("li",{key:a.href},[e("a",{href:s(r)(a.href)},[e("span",null,l(a.title),1),e("code",null,l(a.name),1)],8,T)])),64))])])]),e("section",B,[t[3]||(t[3]=e("h2",{id:"ray-paths-title"},"常用文档",-1)),e("ul",null,[(i(),o(d,null,m(c,(a,h)=>e("li",{key:a.href},[e("a",{class:"ray-path",href:s(r)(a.href),"aria-labelledby":`ray-path-title-${h}`,"aria-describedby":`ray-path-summary-${h}`},[e("article",null,[(i(),o("svg",P,[e("path",{d:a.icon},null,8,S)])),e("h3",{id:`ray-path-title-${h}`},l(a.title),9,A),e("p",{id:`ray-path-summary-${h}`},l(a.summary),9,N),t[2]||(t[2]=e("svg",{class:"ray-path-arrow",viewBox:"0 0 24 24","aria-hidden":"true"},[e("path",{d:"M5 12h13m-5-5 5 5-5 5"})],-1))])],8,z)])),64))])]),e("section",R,[e("div",null,[t[4]||(t[4]=e("h2",{id:"ray-showcase-title"},"TablePro 自适应高度",-1)),t[5]||(t[5]=e("p",null,"表格填满可用高度,数据在表内滚动。",-1)),e("div",V,[e("a",{href:s(r)("/reference/table-pro.html")},"TablePro 用法",8,$),e("a",{href:s(r)("/reference/table-pro-examples.html#自适应高度与虚拟滚动")},"在线示例",8,C)])]),e("img",{src:s(r)("/assets/tablepro-auto-height.png"),width:"1440",height:"820",loading:"lazy",alt:"TablePro 自适应高度示例,虚拟滚动已开启,分页位于表格底部"},null,8,H)])]))}}),L=JSON.parse('{"title":"开发者文档","description":"","frontmatter":{"title":"开发者文档","layout":"home","markdownStyles":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),E={name:"index.md"},O=Object.assign(E,{setup(_){return(n,c)=>(i(),o("div",null,[u(D)]))}});export{L as __pageData,O as default};

View File

@ -1,2 +1,2 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ShellDemo.BaYRQtaD.js","assets/chunks/Icon.D_D2CMbU.js","assets/chunks/light.BQgF5P5u.js","assets/chunks/framework.D8G7yXPy.js","assets/chunks/isSymbol.rCNNreax.js","assets/chunks/element.mIVMEYq_.js","assets/chunks/DemoFrame.vue_vue_type_script_setup_true_lang.CEMQDpbD.js","assets/chunks/index.DNzt2uky.js","assets/chunks/InputNumber.Dg8-UIin.js","assets/chunks/Dropdown.DgfjCOPN.js","assets/chunks/use-compitable.BN_sOfeF.js","assets/chunks/Flex.CURB-Ttk.js","assets/chunks/manifest.DnN8uwac.js"])))=>i.map(i=>d[i]);
import{o as a,c as t,E as l,k as o,a7 as r,V as s}from"./chunks/framework.D8G7yXPy.js";const p=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false,"sidebar":false,"footer":false},"headers":[],"relativePath":"playground/shell.md","filePath":"playground/shell.md"}'),n={name:"playground/shell.md"},f=Object.assign(n,{setup(_){const e=r(()=>s(()=>import("./chunks/ShellDemo.BaYRQtaD.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])));return(d,c)=>(a(),t("div",null,[l(o(e))]))}});export{p as __pageData,f as default};
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ShellDemo.Bq7lX_OH.js","assets/chunks/Icon.CEJcCL76.js","assets/chunks/light.BQgF5P5u.js","assets/chunks/framework.D8G7yXPy.js","assets/chunks/isSymbol.rCNNreax.js","assets/chunks/element.mIVMEYq_.js","assets/chunks/DemoFrame.vue_vue_type_script_setup_true_lang.BibqOSJQ.js","assets/chunks/index.DNzt2uky.js","assets/chunks/InputNumber.BZdsfOd3.js","assets/chunks/Dropdown.5gd1V6-R.js","assets/chunks/use-compitable.BN_sOfeF.js","assets/chunks/Flex.COpi4oCF.js","assets/chunks/manifest.BYArtw7Y.js"])))=>i.map(i=>d[i]);
import{o as a,c as t,E as l,k as o,a7 as r,V as s}from"./chunks/framework.D8G7yXPy.js";const p=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false,"sidebar":false,"footer":false},"headers":[],"relativePath":"playground/shell.md","filePath":"playground/shell.md"}'),n={name:"playground/shell.md"},f=Object.assign(n,{setup(_){const e=r(()=>s(()=>import("./chunks/ShellDemo.Bq7lX_OH.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])));return(d,c)=>(a(),t("div",null,[l(o(e))]))}});export{p as __pageData,f as default};

View File

@ -1,2 +1,2 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ShellDemo.BaYRQtaD.js","assets/chunks/Icon.D_D2CMbU.js","assets/chunks/light.BQgF5P5u.js","assets/chunks/framework.D8G7yXPy.js","assets/chunks/isSymbol.rCNNreax.js","assets/chunks/element.mIVMEYq_.js","assets/chunks/DemoFrame.vue_vue_type_script_setup_true_lang.CEMQDpbD.js","assets/chunks/index.DNzt2uky.js","assets/chunks/InputNumber.Dg8-UIin.js","assets/chunks/Dropdown.DgfjCOPN.js","assets/chunks/use-compitable.BN_sOfeF.js","assets/chunks/Flex.CURB-Ttk.js","assets/chunks/manifest.DnN8uwac.js"])))=>i.map(i=>d[i]);
import{o as a,c as t,E as l,k as o,a7 as r,V as s}from"./chunks/framework.D8G7yXPy.js";const p=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false,"sidebar":false,"footer":false},"headers":[],"relativePath":"playground/shell.md","filePath":"playground/shell.md"}'),n={name:"playground/shell.md"},f=Object.assign(n,{setup(_){const e=r(()=>s(()=>import("./chunks/ShellDemo.BaYRQtaD.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])));return(d,c)=>(a(),t("div",null,[l(o(e))]))}});export{p as __pageData,f as default};
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ShellDemo.Bq7lX_OH.js","assets/chunks/Icon.CEJcCL76.js","assets/chunks/light.BQgF5P5u.js","assets/chunks/framework.D8G7yXPy.js","assets/chunks/isSymbol.rCNNreax.js","assets/chunks/element.mIVMEYq_.js","assets/chunks/DemoFrame.vue_vue_type_script_setup_true_lang.BibqOSJQ.js","assets/chunks/index.DNzt2uky.js","assets/chunks/InputNumber.BZdsfOd3.js","assets/chunks/Dropdown.5gd1V6-R.js","assets/chunks/use-compitable.BN_sOfeF.js","assets/chunks/Flex.COpi4oCF.js","assets/chunks/manifest.BYArtw7Y.js"])))=>i.map(i=>d[i]);
import{o as a,c as t,E as l,k as o,a7 as r,V as s}from"./chunks/framework.D8G7yXPy.js";const p=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false,"sidebar":false,"footer":false},"headers":[],"relativePath":"playground/shell.md","filePath":"playground/shell.md"}'),n={name:"playground/shell.md"},f=Object.assign(n,{setup(_){const e=r(()=>s(()=>import("./chunks/ShellDemo.Bq7lX_OH.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12])));return(d,c)=>(a(),t("div",null,[l(o(e))]))}});export{p as __pageData,f as default};

View File

@ -1 +0,0 @@
import{_ as e,o,c as d,a3 as r}from"./chunks/framework.D8G7yXPy.js";const f=JSON.parse('{"title":"组件","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components.md","filePath":"reference/components.md"}'),a={name:"reference/components.md"};function c(n,t,p,s,m,l){return o(),d("div",null,[...t[0]||(t[0]=[r('<h1 id="组件" tabindex="-1">组件 <a class="header-anchor" href="#组件" aria-label="Permalink to &quot;组件&quot;">​</a></h1><p>通用组件从 <code>@ray-template/ui</code> 导入,也可用 <code>/table-pro</code>、<code>/barcode</code> 等子路径按需加载。Ray Admin 内可以使用 <code>@/components</code>。路由过渡位于 <code>@ray-template/admin-shell</code>,由应用接入当前路由和缓存状态。许多组件包装 Naive UI:本文列出模板添加、改写或消费的属性、插槽和事件,原始控件的其余能力以锁定依赖的类型为准。</p><table tabindex="0"><thead><tr><th>组件</th><th>Props 类型</th><th>主要用途</th></tr></thead><tbody><tr><td><a href="./table-pro.html">RTablePro</a></td><td><code>TableProProps</code></td><td>纯表格、远端查询、自适应高度、列设置、打印</td></tr><tr><td><a href="./components/form.html">RForm</a></td><td><code>FormProps</code></td><td>表单加载、校验、重置和键盘提交</td></tr><tr><td><a href="./components/modal.html">RModal</a></td><td><code>ModalProps</code></td><td>受控弹窗、预设宽度和全屏卡片</td></tr><tr><td><a href="./components/chart.html">RChart</a></td><td><code>ChartProps</code></td><td>ECharts 初始化、主题和导出</td></tr><tr><td><a href="./components/flow.html">RFlow</a></td><td><code>FlowProps</code></td><td>LogicFlow 流程图与只读切换</td></tr><tr><td><a href="./components/collapse-grid.html">RCollapseGrid</a></td><td><code>CollapseGridProps</code></td><td>可折叠筛选区及操作列</td></tr><tr><td><a href="./components/segment.html">RSegment</a></td><td><code>SegmentProps</code></td><td>分段选项、图标和提示</td></tr><tr><td><a href="./components/more-dropdown.html">RMoreDropdown</a></td><td><code>MoreDropdownProps</code></td><td>图标菜单、行操作</td></tr><tr><td><a href="./components/iframe.html">RIframe</a></td><td><code>IframeProps</code></td><td>外部页面与加载状态</td></tr><tr><td><a href="./components/barcode.html">RBarcode</a></td><td><code>BarcodeProps</code></td><td>Canvas / SVG 条码</td></tr><tr><td><a href="./components/draggable-card.html">RDraggableCard</a></td><td><code>DefaultPosition</code>(位置类型)</td><td>可拖动卡片与拖动边界</td></tr><tr><td><a href="./components/route-transition.html">RTransitionComponent</a></td><td><code>TransitionComponentProps</code></td><td>路由过渡与 KeepAlive</td></tr><tr><td><a href="./icons.html#ricon-api">RIcon</a></td><td><code>IconProps</code></td><td>类型化 SVG 雪碧图</td></tr></tbody></table><p><a href="./components/app.html">应用组件与 Provider</a> 使用模板的状态、主题或路由,按文件导入。<a href="./components/qr-code.html">二维码</a> 使用 <code>vue3-next-qrcode</code>,不属于 <code>@/components</code> 的导出。</p><p>组件实现、样式和类型放在同一个组件目录。组件属性对象也有具名导出,例如 <code>formProps</code>、<code>modalProps</code>、<code>chartProps</code>;业务代码通常直接使用组件和公开 Props 类型。<code>TablePro</code> 统一使用组件 ref 获取实例,<code>RForm</code>、<code>RChart</code>、<code>RFlow</code> 使用各自的 <code>onRegister</code> 契约。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/index.ts" target="_blank" rel="noreferrer">公开导出</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/components/README.md" target="_blank" rel="noreferrer">组件约定</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/tree/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/views/demo" target="_blank" rel="noreferrer">示例源码</a></p>',6)])])}const i=e(a,[["render",c]]);export{f as __pageData,i as default};

View File

@ -0,0 +1 @@
import{_ as e,o,c as d,a3 as r}from"./chunks/framework.D8G7yXPy.js";const i=JSON.parse('{"title":"组件","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components.md","filePath":"reference/components.md"}'),a={name:"reference/components.md"};function c(n,t,p,s,m,l){return o(),d("div",null,[...t[0]||(t[0]=[r('<h1 id="组件" tabindex="-1">组件 <a class="header-anchor" href="#组件" aria-label="Permalink to &quot;组件&quot;">​</a></h1><p>通用组件从 <code>@ray-template/ui</code> 导入,也可用 <code>/table-pro</code>、<code>/barcode</code> 等子路径按需加载。Ray Admin 内可以使用 <code>@/components</code>。路由过渡位于 <code>@ray-template/admin-shell</code>,由应用接入当前路由和缓存状态。许多组件包装 Naive UI:本文列出模板添加、改写或消费的属性、插槽和事件,原始控件的其余能力以锁定依赖的类型为准。</p><table tabindex="0"><thead><tr><th>组件</th><th>Props 类型</th><th>主要用途</th></tr></thead><tbody><tr><td><a href="./table-pro.html">RTablePro</a></td><td><code>TableProProps</code></td><td>纯表格、远端查询、自适应高度、列设置、导出及可选打印</td></tr><tr><td><a href="./components/form.html">RForm</a></td><td><code>FormProps</code></td><td>表单加载、校验、重置和键盘提交</td></tr><tr><td><a href="./components/modal.html">RModal</a></td><td><code>ModalProps</code></td><td>受控弹窗、预设宽度和全屏卡片</td></tr><tr><td><a href="./components/chart.html">RChart</a></td><td><code>ChartProps</code></td><td>ECharts 初始化、主题和导出</td></tr><tr><td><a href="./components/flow.html">RFlow</a></td><td><code>FlowProps</code></td><td>LogicFlow 流程图与只读切换</td></tr><tr><td><a href="./components/collapse-grid.html">RCollapseGrid</a></td><td><code>CollapseGridProps</code></td><td>可折叠筛选区及操作列</td></tr><tr><td><a href="./components/segment.html">RSegment</a></td><td><code>SegmentProps</code></td><td>分段选项、图标和提示</td></tr><tr><td><a href="./components/more-dropdown.html">RMoreDropdown</a></td><td><code>MoreDropdownProps</code></td><td>图标菜单、行操作</td></tr><tr><td><a href="./components/iframe.html">RIframe</a></td><td><code>IframeProps</code></td><td>外部页面与加载状态</td></tr><tr><td><a href="./components/barcode.html">RBarcode</a></td><td><code>BarcodeProps</code></td><td>Canvas / SVG 条码</td></tr><tr><td><a href="./components/draggable-card.html">RDraggableCard</a></td><td><code>DefaultPosition</code>(位置类型)</td><td>可拖动卡片与拖动边界</td></tr><tr><td><a href="./components/route-transition.html">RTransitionComponent</a></td><td><code>TransitionComponentProps</code></td><td>路由过渡与 KeepAlive</td></tr><tr><td><a href="./icons.html#ricon-api">RIcon</a></td><td><code>IconProps</code></td><td>类型化 SVG 雪碧图</td></tr></tbody></table><p><a href="./components/app.html">应用组件与 Provider</a> 使用模板的状态、主题或路由,按文件导入。<a href="./components/qr-code.html">二维码</a> 使用 <code>vue3-next-qrcode</code>,不属于 <code>@/components</code> 的导出。</p><p>组件实现、样式和类型放在同一个组件目录。组件属性对象也有具名导出,例如 <code>formProps</code>、<code>modalProps</code>、<code>chartProps</code>;业务代码通常直接使用组件和公开 Props 类型。<code>TablePro</code> 统一使用组件 ref 获取实例,<code>RForm</code>、<code>RChart</code>、<code>RFlow</code> 使用各自的 <code>onRegister</code> 契约。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/index.ts" target="_blank" rel="noreferrer">公开导出</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/components/README.md" target="_blank" rel="noreferrer">组件约定</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/tree/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/views/demo" target="_blank" rel="noreferrer">示例源码</a></p>',6)])])}const f=e(a,[["render",c]]);export{i as __pageData,f as default};

View File

@ -1 +1 @@
import{_ as e,o,c as d,a3 as r}from"./chunks/framework.D8G7yXPy.js";const f=JSON.parse('{"title":"组件","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components.md","filePath":"reference/components.md"}'),a={name:"reference/components.md"};function c(n,t,p,s,m,l){return o(),d("div",null,[...t[0]||(t[0]=[r("",6)])])}const i=e(a,[["render",c]]);export{f as __pageData,i as default};
import{_ as e,o,c as d,a3 as r}from"./chunks/framework.D8G7yXPy.js";const i=JSON.parse('{"title":"组件","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components.md","filePath":"reference/components.md"}'),a={name:"reference/components.md"};function c(n,t,p,s,m,l){return o(),d("div",null,[...t[0]||(t[0]=[r("",6)])])}const f=e(a,[["render",c]]);export{i as __pageData,f as default};

View File

@ -1,4 +1,5 @@
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const r=JSON.parse('{"title":"应用组件与 Provider","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/app.md","filePath":"reference/components/app.md"}'),p={name:"reference/components/app.md"},d=Object.assign(p,{setup(t){return(l,s)=>(n(),h("div",null,[s[0]||(s[0]=i('<h1 id="应用组件与-provider" tabindex="-1">应用组件与 Provider <a class="header-anchor" href="#应用组件与-provider" aria-label="Permalink to &quot;应用组件与 Provider&quot;">​</a></h1><p>这些组件按文件默认导入,例如 <code>import AppPageHeader from &#39;@/app-components/app/AppPageHeader&#39;</code>。它们依赖应用 Store、路由或 DOM,按默认 <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/App.tsx" target="_blank" rel="noreferrer">App 挂载顺序</a>集成。</p><h2 id="后台上下文示例" tabindex="-1">后台上下文示例 <a class="header-anchor" href="#后台上下文示例" aria-label="Permalink to &quot;后台上下文示例&quot;">​</a></h2><p>这个预览运行后台的工作台和布局。在侧栏进入「模板 Hooks」,可以切换主题、水印、布局加载和菜单状态。版本提示、请求取消等 Provider 属于应用初始化流程,接入顺序见下表。</p>',4)),k(a,{path:"/dashboard",title:"后台工作台、布局与 Provider",layout:""}),s[1]||(s[1]=i(`<details class="details custom-block"><summary>查看预览入口与工作台源码</summary><div class="language-tsx vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">tsx</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;./styles/entry&#39;</span></span>
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const r=JSON.parse('{"title":"应用组件与 Provider","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/app.md","filePath":"reference/components/app.md"}'),p={name:"reference/components/app.md"},d=Object.assign(p,{setup(l){return(t,s)=>(n(),h("div",null,[s[0]||(s[0]=i('<h1 id="应用组件与-provider" tabindex="-1">应用组件与 Provider <a class="header-anchor" href="#应用组件与-provider" aria-label="Permalink to &quot;应用组件与 Provider&quot;">​</a></h1><p>这些组件按文件默认导入,例如 <code>import AppPageHeader from &#39;@/app-components/app/AppPageHeader&#39;</code>。它们依赖应用 Store、路由或 DOM,按默认 <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/App.tsx" target="_blank" rel="noreferrer">App 挂载顺序</a>集成。</p><h2 id="后台上下文示例" tabindex="-1">后台上下文示例 <a class="header-anchor" href="#后台上下文示例" aria-label="Permalink to &quot;后台上下文示例&quot;">​</a></h2><p>这个预览运行后台的工作台和布局。在侧栏进入「模板 Hooks」,可以切换主题、水印、布局加载和菜单状态。版本提示、请求取消等 Provider 属于应用初始化流程,接入顺序见下表。</p>',4)),k(a,{path:"/dashboard",title:"后台工作台、布局与 Provider",layout:""}),s[1]||(s[1]=i(`<details class="details custom-block"><summary>查看预览入口与工作台源码</summary><div class="language-tsx vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">tsx</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;./styles/entry&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { apiMockEnabled } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/api/admin/client&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> AppNaiveGlobalProvider </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/app-components/provider/AppNaiveGlobalProvider&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> AppStyleProvider </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/app-components/provider/AppStyleProvider&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> AppWatermarkProvider </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/app-components/provider/AppWatermarkProvider&#39;</span></span>
@ -13,6 +14,7 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> getStaticAppRoutes,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> setAppRouteModules,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">} </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/router/app-route-modules&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { getSystemRoutes } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/router/routes&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> type</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { AppRouteRecordRaw } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/router/types&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { expandRoutes } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/router/utils/expand-routes&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { joinRoutePath } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/router/utils/join-route-path&#39;</span></span>
@ -102,6 +104,7 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> \`\${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">iconSprites</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">[</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">name</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">split</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;/&#39;</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">)[</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">0</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">] </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">as</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IconPackage</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">]</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}#\${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">prefix</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}-\${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">name</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}\`</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> columnStorage: </span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">createStorage</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(window.sessionStorage, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;ray-doc-examples&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">),</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> reportError</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: (</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">message</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> window.$message?.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">error</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(message),</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> reportSuccess</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: (</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">message</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> window.$message?.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">success</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(message),</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> })</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> return</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> () </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span></span>
@ -116,6 +119,13 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">async</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> mountExample</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">() {</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> useMemoryCache</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">()</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> if</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (apiMockEnabled) {</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">enableApiMock</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> await</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;./mocks/browser&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> await</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> enableApiMock</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">()</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> app</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> createApp</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(DocumentationExample)</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> app.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">use</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">createPinia</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">())</span></span>
@ -135,7 +145,10 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> router.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">removeRoute</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;RLayout&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> setAppRouteModules</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(examples)</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> routes</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> expandRoutes</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(examples) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">as</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> unknown</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> as</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> RouteRecordRaw</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">[]</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> routes</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> ...</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">expandRoutes</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(examples),</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> ...</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">getSystemRoutes</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(),</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ] </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">as</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> unknown</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> as</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> RouteRecordRaw</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">[]</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> if</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (withLayout) {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> router.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">addRoute</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({ path: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;/&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, component: Layout, children: routes })</span></span>
@ -143,7 +156,6 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> for</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> route</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> of</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> routes) router.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">addRoute</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(route)</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> router.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">addRoute</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({ path: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;/:pathMatch(.*)*&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, redirect: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;/dashboard&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> })</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> app.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">use</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(router)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> await</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> router.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">isReady</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">()</span></span>
<span class="line"></span>
@ -165,6 +177,7 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { RIcon } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/components&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { useI18n } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/hooks&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { useMenuGetters } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/store&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> type</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { AppMenuOption } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/types&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { NCard, NDescriptions, NDescriptionsItem } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;naive-ui&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { RouterLink } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;vue-router&#39;</span></span>
<span class="line"></span>
@ -204,18 +217,28 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> path: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;/svg-icons&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> icon: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;directional/resize_h&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> icon: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;navigation/icons&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> title: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;icons&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> description: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;iconsDescription&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ] </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">as</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> shortcuts</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> computed</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(() </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> destinations.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">filter</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">((</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">item</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> getMenuOptions.value.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">some</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">menu</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> menu.fullPath </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">===</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> item.path </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&amp;&amp;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> menu.show </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">!==</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> false</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ),</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ),</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> )</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> shortcuts</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> computed</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(() </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> visiblePaths</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> new</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Set</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;()</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> collect</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">menus</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> AppMenuOption</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">[]) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> for</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> menu</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> of</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> menus) {</span></span>
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // 菜单树已经按角色过滤;隐藏任一祖先时,整条分支都不能成为快捷入口。</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> if</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (menu.show </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">===</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> false</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">continue</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> if</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">!</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">menu.meta.windowOpen) visiblePaths.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">add</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(menu.fullPath)</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> if</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (menu.children?.</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">length</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">collect</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(menu.children)</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> collect</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(getMenuOptions.value)</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> return</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> destinations.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">filter</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(({ </span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">path</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> visiblePaths.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">has</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(path))</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> })</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> return</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> () </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">section</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;r-dashboard&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
@ -257,7 +280,7 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">span</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">RIcon</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;r-dashboard-shortcut__arrow&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> name</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;directional/expanded&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> name</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;directional/right_arrow&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> size</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">14</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">RouterLink</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
@ -281,7 +304,7 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> target</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;_blank&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> rel</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;noreferrer&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> GitHub Issues &lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">RIcon</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> name</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;action/shared&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> size</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">12</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">} /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> GitHub Issues &lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">RIcon</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> name</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;action/external-link&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> size</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">12</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">} /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">a</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">text</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;feedbackAfter&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">p</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
@ -319,4 +342,4 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> 新建订单</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">NButton</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">AppPageHeader</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><h2 id="provider" tabindex="-1">Provider <a class="header-anchor" href="#provider" aria-label="Permalink to &quot;Provider&quot;">​</a></h2><table tabindex="0"><thead><tr><th>Provider</th><th>职责与调用时机</th></tr></thead><tbody><tr><td><code>AppNaiveGlobalProvider</code></td><td>包裹默认插槽并同步明暗、主题覆盖、UI locale 和日期 locale。提供 Message、Dialog、Modal、Notification、LoadingBar 等上下文,并建立 <code>window.$message</code>、<code>$dialog</code>、<code>$notification</code>、<code>$loadingBar</code>。离散 API 在 Provider 初始化后可用,卸载时释放;不要在模块顶层提前调用。</td></tr><tr><td><code>AppStyleProvider</code></td><td>同步 HTML 明暗类、CSS 主色和窗口尺寸变量,结束首屏加载动画。应用主题应通过设置方法更新。</td></tr><tr><td><code>AppVersionProvider</code></td><td>启动时比较构建版本与本地版本。第一次写入缓存,变化时提示,确认会走退出并刷新;取消关闭提示。</td></tr><tr><td><code>AppWatermarkProvider</code></td><td>按设置渲染全屏 Naive UI 水印;独立页面如需局部水印可自行在目标区域使用 <code>NWatermark</code>。</td></tr><tr><td><code>AppRequestCancelerProvider</code></td><td>默认布局内容的路由更新钩子会取消模板管理的请求。替换内容插槽时,根据实际导航方式保留取消行为。</td></tr></tbody></table><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/app-components/README.md" target="_blank" rel="noreferrer">应用组件说明</a> · <a href="./../../guide/layout.html">布局配置</a> · <a href="./../store.html">Store</a> · <a href="./../../guide/requests.html">请求取消</a></p>`,7))]))}});export{r as __pageData,d as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><h2 id="provider" tabindex="-1">Provider <a class="header-anchor" href="#provider" aria-label="Permalink to &quot;Provider&quot;">​</a></h2><table tabindex="0"><thead><tr><th>Provider</th><th>职责与调用时机</th></tr></thead><tbody><tr><td><code>AppNaiveGlobalProvider</code></td><td>包裹默认插槽并同步明暗、主题覆盖、UI locale 和日期 locale。提供 Message、Dialog、Modal、Notification、LoadingBar 等上下文,并建立 <code>window.$message</code>、<code>$dialog</code>、<code>$notification</code>、<code>$loadingBar</code>。离散 API 在 Provider 初始化后可用,卸载时释放;不要在模块顶层提前调用。</td></tr><tr><td><code>AppStyleProvider</code></td><td>同步 HTML 明暗类、CSS 主色和窗口尺寸变量,结束首屏加载动画。应用主题应通过设置方法更新。</td></tr><tr><td><code>AppVersionProvider</code></td><td>启动时比较构建版本与本地版本。第一次写入缓存,变化时提示,确认会走退出并刷新;取消关闭提示。</td></tr><tr><td><code>AppWatermarkProvider</code></td><td>按设置渲染全屏 Naive UI 水印;独立页面如需局部水印可自行在目标区域使用 <code>NWatermark</code>。</td></tr><tr><td><code>AppRequestCancelerProvider</code></td><td>默认布局内容的路由更新钩子会取消模板管理的请求。替换内容插槽时,根据实际导航方式保留取消行为。</td></tr></tbody></table><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/app-components/README.md" target="_blank" rel="noreferrer">应用组件说明</a> · <a href="./../../guide/layout.html">布局配置</a> · <a href="./../store.html">Store</a> · <a href="./../../guide/requests.html">请求取消</a></p>`,7))]))}});export{r as __pageData,d as default};

View File

@ -1 +1 @@
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const r=JSON.parse('{"title":"应用组件与 Provider","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/app.md","filePath":"reference/components/app.md"}'),p={name:"reference/components/app.md"},d=Object.assign(p,{setup(t){return(l,s)=>(n(),h("div",null,[s[0]||(s[0]=i("",4)),k(a,{path:"/dashboard",title:"后台工作台、布局与 Provider",layout:""}),s[1]||(s[1]=i("",7))]))}});export{r as __pageData,d as default};
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const r=JSON.parse('{"title":"应用组件与 Provider","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/app.md","filePath":"reference/components/app.md"}'),p={name:"reference/components/app.md"},d=Object.assign(p,{setup(l){return(t,s)=>(n(),h("div",null,[s[0]||(s[0]=i("",4)),k(a,{path:"/dashboard",title:"后台工作台、布局与 Provider",layout:""}),s[1]||(s[1]=i("",7))]))}});export{r as __pageData,d as default};

View File

@ -1,58 +1,57 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/RBarcodeDemo.j8fnGKKD.js","assets/chunks/framework.D8G7yXPy.js","assets/chunks/element.mIVMEYq_.js","assets/chunks/light.BQgF5P5u.js","assets/chunks/index.DNzt2uky.js","assets/chunks/commonjsHelpers.CqkleIqs.js","assets/chunks/use-compitable.BN_sOfeF.js"])))=>i.map(i=>d[i]);
import{o as n,c as h,a3 as i,E as k,k as t,a7 as l,V as p}from"./chunks/framework.D8G7yXPy.js";const g=JSON.parse('{"title":"RBarcode","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/barcode.md","filePath":"reference/components/barcode.md"}'),E={name:"reference/components/barcode.md"},y=Object.assign(E,{setup(e){const a=l(()=>p(()=>import("./chunks/RBarcodeDemo.j8fnGKKD.js"),__vite__mapDeps([0,1,2,3,4,5,6])));return(d,s)=>(n(),h("div",null,[s[0]||(s[0]=i('<h1 id="rbarcode" tabindex="-1">RBarcode <a class="header-anchor" href="#rbarcode" aria-label="Permalink to &quot;RBarcode&quot;">​</a></h1><p><code>RBarcode</code> 使用 JsBarcode 将字符串绘成条码。二维码使用<a href="./qr-code.html">二维码组件</a>。</p><h2 id="交互示例" tabindex="-1">交互示例 <a class="header-anchor" href="#交互示例" aria-label="Permalink to &quot;交互示例&quot;">​</a></h2><p>编辑文本或切换制式,观察条码和校验提示。示例直接加载模板的 <code>RBarcode</code>。</p>',4)),k(t(a)),s[1]||(s[1]=i(`<details class="details custom-block"><summary>查看示例源码</summary><div class="language-vue vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">vue</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;ray-demo&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">lang</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">locale </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">??</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;zh-CN&#39;&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/RBarcodeDemo.CPixx_YB.js","assets/chunks/framework.D8G7yXPy.js","assets/chunks/element.mIVMEYq_.js","assets/chunks/light.BQgF5P5u.js","assets/chunks/index.DNzt2uky.js","assets/chunks/commonjsHelpers.CqkleIqs.js","assets/chunks/use-compitable.BN_sOfeF.js"])))=>i.map(i=>d[i]);
import{o as n,c as t,a3 as i,E as h,k,a7 as l,V as p}from"./chunks/framework.D8G7yXPy.js";const g=JSON.parse('{"title":"RBarcode","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/barcode.md","filePath":"reference/components/barcode.md"}'),e={name:"reference/components/barcode.md"},y=Object.assign(e,{setup(E){const a=l(()=>p(()=>import("./chunks/RBarcodeDemo.CPixx_YB.js"),__vite__mapDeps([0,1,2,3,4,5,6])));return(d,s)=>(n(),t("div",null,[s[0]||(s[0]=i('<h1 id="rbarcode" tabindex="-1">RBarcode <a class="header-anchor" href="#rbarcode" aria-label="Permalink to &quot;RBarcode&quot;">​</a></h1><p><code>RBarcode</code> 使用 JsBarcode 将字符串绘成条码。二维码使用<a href="./qr-code.html">二维码组件</a>。</p><h2 id="交互示例" tabindex="-1">交互示例 <a class="header-anchor" href="#交互示例" aria-label="Permalink to &quot;交互示例&quot;">​</a></h2><p>编辑文本或切换制式,观察条码和校验提示。示例直接加载模板的 <code>RBarcode</code>。</p>',4)),h(k(a)),s[1]||(s[1]=i(`<details class="details custom-block"><summary>查看示例源码</summary><div class="language-vue vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">vue</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;ray-demo&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :lang</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;locale ?? &#39;zh-CN&#39;&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;ray-demo-fields&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">label</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">for</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">textId</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{ copy.text }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">label</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">label</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :for</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;textId&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{ copy.text }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">label</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">input</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">id</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">textId</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> v-model</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">text</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :id</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;textId&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> v-model</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;text&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;ray-demo-input&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> maxlength</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;24&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">inputmode</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">format </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">===</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;EAN13&#39;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> ?</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;numeric&#39;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> :</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;text&#39;&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">aria-describedby</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">hintId</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">aria-invalid</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">Boolean</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(text </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&amp;&amp;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> failed)</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :inputmode</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;format === &#39;EAN13&#39; ? &#39;numeric&#39; : &#39;text&#39;&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :aria-describedby</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;hintId&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :aria-invalid</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;Boolean(text &amp;&amp; failed)&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">fieldset</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">legend</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{ copy.format }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">legend</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;ray-demo-options ray-demo-native-options&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">label</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> v-for</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">item </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">in</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> formats</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">key</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">item</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">for</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;\`\${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">formatName</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}-\${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">item</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}\`&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> v-for</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;item in formats&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :key</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;item&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :for</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;\`\${formatName}-\${item}\`&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">input</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">id</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;\`\${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">formatName</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}-\${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">item</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}\`&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> v-model</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">format</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :id</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;\`\${formatName}-\${item}\`&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> v-model</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;format&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> type</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;radio&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">name</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">formatName</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">item</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :name</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;formatName&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :value</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;item&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {{ item }}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">label</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">fieldset</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">p</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">id</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">hintId</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;ray-demo-hint&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> aria-live</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;polite&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {{ </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">!</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">text </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> copy.empty </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> failed </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> copy.invalid </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {{ format </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">===</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;EAN13&#39;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> ?</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> copy.ean </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">p</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :id</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;hintId&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;ray-demo-hint&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> aria-live</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;polite&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {{ !text ? copy.empty : failed ? copy.invalid : &#39;&#39; }}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {{ format === &#39;EAN13&#39; ? copy.ean : &#39;&#39; }}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">p</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> v-if</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">text</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> v-show</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">!</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">failed</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> v-if</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;text&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> v-show</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;!failed&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;ray-demo-barcode&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> role</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;img&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">aria-label</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;\`\${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">format</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}: \${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">text</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}\`&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :aria-label</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;\`\${format}: \${text}\`&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">RBarcode</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">key</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">format</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">text</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">text</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">format</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">format</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">options</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">options</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :text</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;text&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :format</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;format&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :options</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;options&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> barcodeRender</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;svg&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> @</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">success</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">failed </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> false</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> @</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">error</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">failed </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> true</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> @success</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;failed = false&quot;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> @error</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;failed = true&quot;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
@ -103,4 +102,4 @@ import{o as n,c as h,a3 as i,E as k,k as t,a7 as l,V as p}from"./chunks/framewor
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> options</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{{ displayValue: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, height: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">60</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }}</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> onError</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{(</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">error</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> console.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">error</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;条码格式无效&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, error)}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>text</code></td><td>无</td><td>条码文本。留空或传入不符合格式的值时可能渲染失败。</td></tr><tr><td><code>format</code></td><td><code>&#39;CODE128&#39;</code></td><td>条码制式,覆盖 <code>options.format</code>。</td></tr><tr><td><code>barcodeRender</code></td><td><code>&#39;canvas&#39;</code></td><td><code>canvas</code> 或 <code>svg</code>。</td></tr><tr><td><code>options</code></td><td><code>{}</code></td><td>JsBarcode options,如 <code>displayValue</code>、<code>lineColor</code>、<code>margin</code>、条宽和条高。</td></tr><tr><td><code>width</code> / <code>height</code></td><td><code>&#39;auto&#39;</code></td><td>显示尺寸,数字按像素。与 <code>options</code> 中条码自身的条宽、条高不同。</td></tr><tr><td><code>responsive</code></td><td><code>false</code></td><td>监听容器尺寸;用 <code>width=&quot;responsive&quot;</code> 或 <code>height=&quot;responsive&quot;</code> 让对应尺寸随容器调整。</td></tr><tr><td><code>watchText</code></td><td><code>true</code></td><td>文本变化时重绘。独立改变 <code>format</code>、<code>options</code> 或渲染介质时不要依赖文本 watcher,可以按配置更换组件 <code>key</code>。</td></tr><tr><td><code>loading</code></td><td><code>false</code></td><td>控制 Spin;调用方负责开关。</td></tr></tbody></table><p><code>onSuccess(text, format, options)</code>、<code>onError(error)</code>、<code>onFinally()</code> 支持函数或回调数组。成功回调收到原始 options;组件响应式调整的条宽和条高不写回该对象。绘制异常通过 <code>onError</code> 通知,业务代码可据此提示或清理旧预览。</p><p>支持 <code>CODE39</code>、<code>CODE128</code> 及 <code>A/B/C</code> 变体、<code>EAN13/EAN8/EAN5/EAN2</code>、<code>UPC</code>、<code>ITF14/ITF</code>、<code>MSI/MSI10/MSI11/MSI1010/MSI1110</code>、<code>pharmacode</code>、<code>codabar</code>。使用 EAN 或 UPC 前验证输入长度和校验位。打印后是否可扫取决于设备和成品尺寸。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RBarcode/src/Barcode.tsx" target="_blank" rel="noreferrer">组件实现</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RBarcode/src/types.ts" target="_blank" rel="noreferrer">制式和选项类型</a></p>`,7))]))}});export{g as __pageData,y as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>text</code></td><td>无</td><td>条码文本。留空或传入不符合格式的值时可能渲染失败。</td></tr><tr><td><code>format</code></td><td><code>&#39;CODE128&#39;</code></td><td>条码制式,覆盖 <code>options.format</code>。</td></tr><tr><td><code>barcodeRender</code></td><td><code>&#39;canvas&#39;</code></td><td><code>canvas</code> 或 <code>svg</code>。</td></tr><tr><td><code>options</code></td><td><code>{}</code></td><td>JsBarcode options,如 <code>displayValue</code>、<code>lineColor</code>、<code>margin</code>、条宽和条高。</td></tr><tr><td><code>width</code> / <code>height</code></td><td><code>&#39;auto&#39;</code></td><td>显示尺寸,数字按像素。与 <code>options</code> 中条码自身的条宽、条高不同。</td></tr><tr><td><code>responsive</code></td><td><code>false</code></td><td>监听容器尺寸;用 <code>width=&quot;responsive&quot;</code> 或 <code>height=&quot;responsive&quot;</code> 让对应尺寸随容器调整。</td></tr><tr><td><code>watchText</code></td><td><code>true</code></td><td>文本变化时重绘。<code>format</code>、<code>options</code>(包括响应式嵌套字段)、尺寸和渲染介质变化也会自动重绘,无需更换 <code>key</code>。</td></tr><tr><td><code>loading</code></td><td><code>false</code></td><td>控制 Spin;调用方负责开关。</td></tr></tbody></table><p><code>onSuccess(text, format, options)</code>、<code>onError(error)</code>、<code>onFinally()</code> 支持函数或回调数组。成功回调收到原始 options;组件响应式调整的条宽和条高不写回该对象。绘制异常通过 <code>onError</code> 通知,业务代码可据此提示或清理旧预览。</p><p>支持 <code>CODE39</code>、<code>CODE128</code> 及 <code>A/B/C</code> 变体、<code>EAN13/EAN8/EAN5/EAN2</code>、<code>UPC</code>、<code>ITF14/ITF</code>、<code>MSI/MSI10/MSI11/MSI1010/MSI1110</code>、<code>pharmacode</code>、<code>codabar</code>。使用 EAN 或 UPC 前验证输入长度和校验位。打印后是否可扫取决于设备和成品尺寸。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RBarcode/src/Barcode.tsx" target="_blank" rel="noreferrer">组件实现</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RBarcode/src/types.ts" target="_blank" rel="noreferrer">制式和选项类型</a></p>`,7))]))}});export{g as __pageData,y as default};

View File

@ -0,0 +1,2 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/RBarcodeDemo.CPixx_YB.js","assets/chunks/framework.D8G7yXPy.js","assets/chunks/element.mIVMEYq_.js","assets/chunks/light.BQgF5P5u.js","assets/chunks/index.DNzt2uky.js","assets/chunks/commonjsHelpers.CqkleIqs.js","assets/chunks/use-compitable.BN_sOfeF.js"])))=>i.map(i=>d[i]);
import{o as n,c as t,a3 as i,E as h,k,a7 as l,V as p}from"./chunks/framework.D8G7yXPy.js";const g=JSON.parse('{"title":"RBarcode","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/barcode.md","filePath":"reference/components/barcode.md"}'),e={name:"reference/components/barcode.md"},y=Object.assign(e,{setup(E){const a=l(()=>p(()=>import("./chunks/RBarcodeDemo.CPixx_YB.js"),__vite__mapDeps([0,1,2,3,4,5,6])));return(d,s)=>(n(),t("div",null,[s[0]||(s[0]=i("",4)),h(k(a)),s[1]||(s[1]=i("",7))]))}});export{g as __pageData,y as default};

View File

@ -1,2 +0,0 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/RBarcodeDemo.j8fnGKKD.js","assets/chunks/framework.D8G7yXPy.js","assets/chunks/element.mIVMEYq_.js","assets/chunks/light.BQgF5P5u.js","assets/chunks/index.DNzt2uky.js","assets/chunks/commonjsHelpers.CqkleIqs.js","assets/chunks/use-compitable.BN_sOfeF.js"])))=>i.map(i=>d[i]);
import{o as n,c as h,a3 as i,E as k,k as t,a7 as l,V as p}from"./chunks/framework.D8G7yXPy.js";const g=JSON.parse('{"title":"RBarcode","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/barcode.md","filePath":"reference/components/barcode.md"}'),E={name:"reference/components/barcode.md"},y=Object.assign(E,{setup(e){const a=l(()=>p(()=>import("./chunks/RBarcodeDemo.j8fnGKKD.js"),__vite__mapDeps([0,1,2,3,4,5,6])));return(d,s)=>(n(),h("div",null,[s[0]||(s[0]=i("",4)),k(t(a)),s[1]||(s[1]=i("",7))]))}});export{g as __pageData,y as default};

View File

@ -1 +1 @@
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const d=JSON.parse('{"title":"RChart 与 useChart","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/chart.md","filePath":"reference/components/chart.md"}'),l={name:"reference/components/chart.md"},r=Object.assign(l,{setup(t){return(p,s)=>(n(),h("div",null,[s[0]||(s[0]=i("",4)),k(a,{path:"/echart",title:"图表渲染和更新"}),s[1]||(s[1]=i("",9))]))}});export{d as __pageData,r as default};
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const d=JSON.parse('{"title":"RChart 与 useChart","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/chart.md","filePath":"reference/components/chart.md"}'),t={name:"reference/components/chart.md"},r=Object.assign(t,{setup(l){return(p,s)=>(n(),h("div",null,[s[0]||(s[0]=i("",4)),k(a,{path:"/echart",title:"图表渲染和更新"}),s[1]||(s[1]=i("",11))]))}});export{d as __pageData,r as default};

View File

@ -1,4 +1,4 @@
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const d=JSON.parse('{"title":"RDraggableCard","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/draggable-card.md","filePath":"reference/components/draggable-card.md"}'),t={name:"reference/components/draggable-card.md"},r=Object.assign(t,{setup(l){return(p,s)=>(n(),h("div",null,[s[0]||(s[0]=i('<h1 id="rdraggablecard" tabindex="-1">RDraggableCard <a class="header-anchor" href="#rdraggablecard" aria-label="Permalink to &quot;RDraggableCard&quot;">​</a></h1><p>基于 Naive UI Card 和 Interact.js。卡片 Teleport 到应用创建的容器,不参加原父节点的普通布局流。设置标题后可拖动卡片头部,否则拖动内容区;组件没有开放改变尺寸的交互。</p><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>dad</code></td><td><code>true</code></td><td>是否启用拖拽。</td></tr><tr><td><code>restrictionElement</code></td><td><code>&#39;body&#39;</code></td><td>拖动边界,支持 CSS 选择器、元素或可解包的目标;选择器取第一个匹配。</td></tr><tr><td><code>restrictRectOptions</code></td><td>默认边界,<code>endOnly: true</code></td><td>覆盖 Interact.js 边界限制。</td></tr><tr><td><code>defaultPosition</code></td><td><code>{ x: 0, y: 0 }</code></td><td>相对限制容器的偏移,或预设位置。</td></tr><tr><td><code>padding</code></td><td>无</td><td>初次定位时相对边界的 <code>{ x, y }</code> 间距。</td></tr><tr><td><code>width</code> / <code>zIndex</code></td><td><code>600</code> / 无</td><td>卡片宽度与层级。</td></tr><tr><td><code>animation</code></td><td><code>false</code></td><td>启用进场过渡。</td></tr></tbody></table><p>位置可用 <code>top-left</code>、<code>top-right</code>、<code>bottom-left</code>、<code>bottom-right</code>、<code>center</code>、<code>top-center</code>、<code>bottom-center</code>。替换 <code>defaultPosition</code> 引用会触发重定位;没有公开拖拽事件或位置持久化。选择器需要在布局中真实存在,容器应有明确尺寸。组件初始化会访问 <code>document</code>,仅在浏览器侧渲染。继承 Card 属性和插槽。</p><h2 id="交互示例" tabindex="-1">交互示例 <a class="header-anchor" href="#交互示例" aria-label="Permalink to &quot;交互示例&quot;">​</a></h2>',5)),k(a,{path:"/draggable-card",title:"拖拽卡片和移动边界"}),s[1]||(s[1]=i(`<details class="details custom-block"><summary>查看示例源码</summary><div class="language-tsx vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">tsx</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { RDraggableCard } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/components&#39;</span></span>
import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPcM-fsm.js";import{o as n,c as h,a3 as i,E as k}from"./chunks/framework.D8G7yXPy.js";const d=JSON.parse('{"title":"RDraggableCard","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/draggable-card.md","filePath":"reference/components/draggable-card.md"}'),t={name:"reference/components/draggable-card.md"},r=Object.assign(t,{setup(l){return(p,s)=>(n(),h("div",null,[s[0]||(s[0]=i('<h1 id="rdraggablecard" tabindex="-1">RDraggableCard <a class="header-anchor" href="#rdraggablecard" aria-label="Permalink to &quot;RDraggableCard&quot;">​</a></h1><p>基于 Naive UI Card 和 Interact.js。卡片 Teleport 到应用创建的容器,不参加原父节点的普通布局流。设置标题后可拖动卡片头部,否则拖动内容区;组件没有开放改变尺寸的交互。</p><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>dad</code></td><td><code>true</code></td><td>是否启用拖拽。</td></tr><tr><td><code>restrictionElement</code></td><td><code>&#39;body&#39;</code></td><td>拖动边界,支持 CSS 选择器、元素或可解包的目标;选择器取第一个匹配。</td></tr><tr><td><code>restrictRectOptions</code></td><td>默认边界,<code>endOnly: true</code></td><td>覆盖 Interact.js 边界限制。</td></tr><tr><td><code>defaultPosition</code></td><td><code>{ x: 0, y: 0 }</code></td><td>相对限制容器的偏移,或预设位置。</td></tr><tr><td><code>padding</code></td><td>无</td><td>初次定位时相对边界的 <code>{ x, y }</code> 间距。</td></tr><tr><td><code>width</code> / <code>zIndex</code></td><td><code>600</code> / 无</td><td>卡片宽度与层级。</td></tr><tr><td><code>animation</code></td><td><code>false</code></td><td>启用进场过渡。</td></tr></tbody></table><p>位置可用 <code>top-left</code>、<code>top-right</code>、<code>bottom-left</code>、<code>bottom-right</code>、<code>center</code>、<code>top-center</code>、<code>bottom-center</code>。替换 <code>defaultPosition</code>、<code>padding</code> 或边界引用会触发重定位,开关 <code>dad</code> 保留当前位置;没有公开拖拽事件或位置持久化。选择器需要在布局中真实存在,容器应有明确尺寸。服务端不创建拖拽 DOM;浏览器挂载后建立交互,关闭拖拽或卸载时释放监听器,最后一个卡片卸载后移除共享容器。继承 Card 属性和插槽,进场动画尊重减少动态效果设置。</p><h2 id="交互示例" tabindex="-1">交互示例 <a class="header-anchor" href="#交互示例" aria-label="Permalink to &quot;交互示例&quot;">​</a></h2>',5)),k(a,{path:"/draggable-card",title:"拖拽卡片和移动边界"}),s[1]||(s[1]=i(`<details class="details custom-block"><summary>查看示例源码</summary><div class="language-tsx vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">tsx</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { RDraggableCard } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/components&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> type</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { DefaultPosition } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/components&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { useI18n } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/hooks&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { NButton, NCard, NFlex, NSelect, NSwitch, NTag } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;naive-ui&#39;</span></span>
@ -68,7 +68,6 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">NCard</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {scope.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&amp;&amp;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> target.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&amp;&amp;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">RDraggableCard</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> key</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">\`\${</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">scope</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">.</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">value</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}-\${</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">String</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">(</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">position</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">.</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">value</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">)</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">}\`</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> restrictionElement</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> scope.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">===</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;bounded&#39;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> ?</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> target.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;body&#39;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
@ -100,4 +99,4 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> 拖动标题可移动此卡片</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">RDraggableCard</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RDraggableCard/DraggableCard.tsx" target="_blank" rel="noreferrer">组件源码</a></p>`,3))]))}});export{d as __pageData,r as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RDraggableCard/DraggableCard.tsx" target="_blank" rel="noreferrer">组件源码</a></p>`,3))]))}});export{d as __pageData,r as default};

View File

@ -121,4 +121,4 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> onRegister</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{(</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">instance</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> instance.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">render</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(graph)}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ),</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">})</span></span></code></pre></div><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>width</code> / <code>height</code></td><td><code>&#39;100%&#39;</code></td><td>容器尺寸,需要可计算的高度。</td></tr><tr><td><code>data</code></td><td>无</td><td>后续引用变化时重绘,嵌套原地修改不触发。当前挂载分支先渲染空图,首屏请在 <code>onRegister</code> 里主动渲染。</td></tr><tr><td><code>watchData</code></td><td><code>true</code></td><td>是否监听传入数据。关闭后可从实例控制重绘。</td></tr><tr><td><code>readonly</code></td><td><code>false</code></td><td>同步 LogicFlow 静默模式和节点、边文本编辑状态。</td></tr><tr><td><code>options</code></td><td>网格开、<code>partial: false</code>、键盘开</td><td>LogicFlow 初始化配置,包括尺寸、背景、键盘、边、交互、历史和插件等。<code>container</code> 由组件管理。</td></tr><tr><td><code>use</code></td><td>无</td><td>LogicFlow 全局插件列表,组件只在首次初始化时注册一次。需要实例级插件时检查 <code>options.plugins</code>。</td></tr><tr><td><code>onRegister(instance)</code></td><td>无</td><td>挂载后取得 LogicFlow,支持回调数组。</td></tr></tbody></table><p><code>FlowOptions</code> 支持的字段按用途分组:</p><ul><li>画布与布局:<code>width</code>、<code>height</code>、<code>background</code>、<code>grid</code>、<code>partial</code>、<code>style</code>、<code>overlapMode</code>。</li><li>交互:<code>keyboard</code>、<code>adjustEdge</code>、<code>allowRotate</code>、<code>allowResize</code>、<code>isSilentMode</code>、<code>stopScrollGraph</code>、<code>stopZoomGraph</code>、<code>stopMoveGraph</code>、<code>textEdit</code>、<code>textMode</code>、<code>edgeTextMode</code>、<code>nodeTextMode</code>、<code>guards</code>。</li><li>边和渲染:<code>edgeType</code>、<code>customTrajectory</code>、<code>animation</code>、<code>history</code>、<code>outline</code>、<code>snapline</code>。</li><li>扩展:<code>plugins</code>、<code>pluginsOptions</code>、<code>disabledPlugins</code>、<code>disabledTools</code>、<code>idGenerator</code>、<code>edgeGenerator</code>。</li></ul><p><code>FlowGraphData</code> 用于包装组件的 Props。直接调用底层 <code>instance.render</code> 时,使用 <code>Parameters&lt;LogicFlow[&#39;render&#39;]&gt;[0]</code> 保留 LogicFlow 所要求的节点类型、坐标和连线字段。</p><p><code>useFlow()</code> 返回 <code>[register, { getFlowInstance }]</code>。若首屏要填图,可在同一 <code>onRegister</code> 回调里先调用 <code>register(instance)</code> 再 <code>instance.render(graph)</code>。注册之前调用 <code>getFlowInstance()</code> 会抛错。程序化编辑、导入和事件监听走 LogicFlow 实例;组件目前没有公开销毁方法或卸载时的显式实例清理,频繁重挂载或绑定自定义监听时,请由接入方处理对应资源释放。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RFlow/src/Flow.tsx" target="_blank" rel="noreferrer">组件实现</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RFlow/src/types.ts" target="_blank" rel="noreferrer">图和选项类型</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RFlow/src/hooks/useFlow.ts" target="_blank" rel="noreferrer">实例 Hook</a></p>`,8))]))}});export{d as __pageData,r as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">})</span></span></code></pre></div><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>width</code> / <code>height</code></td><td><code>&#39;100%&#39;</code></td><td>容器尺寸,需要可计算的高度。</td></tr><tr><td><code>data</code></td><td>无</td><td>首次挂载和后续引用变化时渲染,清空为 <code>undefined</code> 时恢复空图;嵌套原地修改不触发。</td></tr><tr><td><code>watchData</code></td><td><code>true</code></td><td>是否监听传入数据。关闭后可从实例控制重绘。</td></tr><tr><td><code>readonly</code></td><td><code>false</code></td><td>启用 LogicFlow 静默模式;退出时恢复进入前的交互和键盘配置,不会强行打开调用方禁用的能力。</td></tr><tr><td><code>options</code></td><td>网格开、<code>partial: false</code>、键盘开</td><td>LogicFlow 初始化配置,包括尺寸、背景、键盘、边、交互、历史和插件等。<code>container</code> 由组件管理。</td></tr><tr><td><code>use</code></td><td>无</td><td>每个组件初始化前注册自己的 LogicFlow 全局插件列表,由库按名称去重。实例级插件可用 <code>options.plugins</code>。</td></tr><tr><td><code>onRegister(instance)</code></td><td>无</td><td>挂载后取得 LogicFlow,支持回调数组。</td></tr></tbody></table><p><code>FlowOptions</code> 支持的字段按用途分组:</p><ul><li>画布与布局:<code>width</code>、<code>height</code>、<code>background</code>、<code>grid</code>、<code>partial</code>、<code>style</code>、<code>overlapMode</code>。</li><li>交互:<code>keyboard</code>、<code>adjustEdge</code>、<code>allowRotate</code>、<code>allowResize</code>、<code>isSilentMode</code>、<code>stopScrollGraph</code>、<code>stopZoomGraph</code>、<code>stopMoveGraph</code>、<code>textEdit</code>、<code>textMode</code>、<code>edgeTextMode</code>、<code>nodeTextMode</code>、<code>guards</code>。</li><li>边和渲染:<code>edgeType</code>、<code>customTrajectory</code>、<code>animation</code>、<code>history</code>、<code>outline</code>、<code>snapline</code>。</li><li>扩展:<code>plugins</code>、<code>pluginsOptions</code>、<code>disabledPlugins</code>、<code>disabledTools</code>、<code>idGenerator</code>、<code>edgeGenerator</code>。</li></ul><p><code>FlowGraphData</code> 用于包装组件的 Props。直接调用底层 <code>instance.render</code> 时,使用 <code>Parameters&lt;LogicFlow[&#39;render&#39;]&gt;[0]</code> 保留 LogicFlow 所要求的节点类型、坐标和连线字段。</p><p><code>useFlow()</code> 返回 <code>[register, { getFlowInstance }]</code>,将 <code>register</code> 传给 <code>onRegister</code>。首次图数据可直接通过 <code>data</code> 提供;注册之前或组件卸载后调用 <code>getFlowInstance()</code> 会抛错。组件卸载时销毁 LogicFlow 实例;程序化编辑、导入和事件监听走该实例,接入方仍需清理自己创建的外部资源。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RFlow/src/Flow.tsx" target="_blank" rel="noreferrer">组件实现</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RFlow/src/types.ts" target="_blank" rel="noreferrer">图和选项类型</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RFlow/src/hooks/useFlow.ts" target="_blank" rel="noreferrer">实例 Hook</a></p>`,8))]))}});export{d as __pageData,r as default};

View File

@ -115,13 +115,17 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> submission</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ref</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;()</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> status</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ref</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;form.waiting&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> finish</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> () </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> submission.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> JSON</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">stringify</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(model.value, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">null</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> status.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;form.submitted&#39;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> submit</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> async</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">event</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Event</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> event.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">preventDefault</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">()</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> try</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> await</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> validate</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">()</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> submission.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> JSON</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">stringify</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(model.value, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">null</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> status.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;form.submitted&#39;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> finish</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">()</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">catch</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> submission.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> void</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> 0</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> status.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;form.invalid&#39;</span></span>
@ -137,6 +141,8 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> rules</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{rules.value}</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> onRegister</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{register}</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> onSubmit</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{submit}</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> submitWhenEnter</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> onFinish</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{finish}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">NGrid</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> cols</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;1 480:2&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> responsive</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;self&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> xGap</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">16</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">NFormItemGi</span></span>
@ -249,4 +255,4 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">DemoPage</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> )</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">})</span></span></code></pre></div></details><h2 id="属性与事件" tabindex="-1">属性与事件 <a class="header-anchor" href="#属性与事件" aria-label="Permalink to &quot;属性与事件&quot;">​</a></h2><p>除 <code>onSubmit</code> 外,继承 <code>NForm</code> 的公开属性。默认插槽传给 <code>NForm</code>。</p><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>loading</code></td><td><code>false</code></td><td>外层 Spin 状态,由调用方开关。</td></tr><tr><td><code>loadingDescription</code></td><td>无</td><td>加载说明。</td></tr><tr><td><code>autocomplete</code></td><td><code>&#39;off&#39;</code></td><td>挂载时写到表单 DOM。</td></tr><tr><td><code>submitWhenEnter</code></td><td><code>false</code></td><td>创建时启用 Enter 捕获,阻止默认行为,校验成功后调用 <code>onFinish</code>。</td></tr><tr><td><code>onFinish</code></td><td>无</td><td>Enter 校验完成回调。自定义提交按钮要自行调用 <code>validate()</code> 并执行提交。</td></tr><tr><td><code>onRegister(inst)</code></td><td>无</td><td>挂载后传出 Naive UI Form 实例。接受单函数或回调数组。</td></tr></tbody></table><p>含多行输入、搜索选择器或嵌套表单时,先确认 Enter 是否应被捕获。组件没有把 Form 方法直接暴露为模板 ref。</p><h2 id="useform" tabindex="-1">useForm <a class="header-anchor" href="#useform" aria-label="Permalink to &quot;useForm&quot;">​</a></h2><p><code>useForm(model?, rules?)</code> 返回 <code>[register, actions]</code>,把 <code>register</code> 绑定给 <code>onRegister</code>。初始化值和规则可用对象或工厂;对象会深拷贝,工厂结果直接使用,建议每次创建新对象。</p><table tabindex="0"><thead><tr><th>返回项</th><th>行为</th></tr></thead><tbody><tr><td><code>formConditionRef</code></td><td>响应式模型,传给 <code>RForm.model</code> 并用于输入绑定。</td></tr><tr><td><code>formModel()</code> / <code>formRules()</code></td><td>重新取得初始模型和规则。</td></tr><tr><td><code>getFormInstance()</code></td><td>获取已注册实例,未注册时抛错。</td></tr><tr><td><code>validate(callback?, shouldRuleBeApplied?)</code></td><td>透传 Naive UI 校验;失败要处理 Promise 拒绝。</td></tr><tr><td><code>validateTargetField(key)</code></td><td>按规则对象的唯一 <code>key</code> 筛选规则,<code>key</code> 不等同于 <code>NFormItem.path</code>。</td></tr><tr><td><code>restoreValidation()</code></td><td>清除当前校验状态,保留输入。</td></tr><tr><td><code>updateFormCondition(values)</code></td><td>浅合并当前模型,不改初始值。</td></tr><tr><td><code>reset(values?)</code></td><td>合并初始值和覆盖值,然后清除校验。动态新增字段不会被自动删除。</td></tr></tbody></table><p>实例相关方法要在表单挂载并注册后调用。可空字段应在初始模型中显式声明,并为所用输入选用合适的空值。修改嵌套字段时注意更新是浅合并。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RForm/src/Form.tsx" target="_blank" rel="noreferrer">组件源码</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RForm/src/hooks/useForm.ts" target="_blank" rel="noreferrer">useForm 源码</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/apps/admin/src/views/demo/form/index.tsx" target="_blank" rel="noreferrer">表单示例</a></p>`,10))]))}});export{r as __pageData,d as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">})</span></span></code></pre></div></details><h2 id="属性与事件" tabindex="-1">属性与事件 <a class="header-anchor" href="#属性与事件" aria-label="Permalink to &quot;属性与事件&quot;">​</a></h2><p>继承 <code>NForm</code> 的公开属性和 <code>onSubmit</code> 事件,默认插槽传给 <code>NForm</code>。</p><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>loading</code></td><td><code>false</code></td><td>外层 Spin 状态,由调用方开关。</td></tr><tr><td><code>loadingDescription</code></td><td>无</td><td>加载说明。</td></tr><tr><td><code>autocomplete</code></td><td><code>&#39;off&#39;</code></td><td>挂载时写到表单 DOM。</td></tr><tr><td><code>submitWhenEnter</code></td><td><code>false</code></td><td>可动态启用单行输入的 Enter 提交;校验成功后调用 <code>onFinish</code>,加载中或上次提交未结束时忽略重复提交。</td></tr><tr><td><code>onFinish</code></td><td>无</td><td>Enter 校验完成回调。自定义提交按钮要自行调用 <code>validate()</code> 并执行提交。</td></tr><tr><td><code>onRegister(inst)</code></td><td>无</td><td>挂载后传出 Naive UI Form 实例。接受单函数或回调数组。</td></tr></tbody></table><p>输入法确认、多行换行、组合框、按钮、修饰键和已被控件 <code>preventDefault()</code> 的 Enter 保留原生行为。键盘提交的校验失败由表单展示;<code>onFinish</code> 的异常交给 Vue 的错误处理。调用 <code>useForm.validate()</code> 仍需处理其 Promise 拒绝。组件没有把 Form 方法直接暴露为模板 ref。</p><h2 id="useform" tabindex="-1">useForm <a class="header-anchor" href="#useform" aria-label="Permalink to &quot;useForm&quot;">​</a></h2><p><code>useForm(model?, rules?)</code> 返回 <code>[register, actions]</code>,把 <code>register</code> 绑定给 <code>onRegister</code>。初始化值和规则可用对象或工厂;对象会深拷贝,工厂结果直接使用,建议每次创建新对象。</p><table tabindex="0"><thead><tr><th>返回项</th><th>行为</th></tr></thead><tbody><tr><td><code>formConditionRef</code></td><td>响应式模型,传给 <code>RForm.model</code> 并用于输入绑定。</td></tr><tr><td><code>formModel()</code> / <code>formRules()</code></td><td>重新取得初始模型和规则。</td></tr><tr><td><code>getFormInstance()</code></td><td>获取已注册实例,未注册或已卸载时抛错。</td></tr><tr><td><code>validate(callback?, shouldRuleBeApplied?)</code></td><td>透传 Naive UI 校验;失败要处理 Promise 拒绝。</td></tr><tr><td><code>validateTargetField(key)</code></td><td>按规则对象的唯一 <code>key</code> 筛选规则,<code>key</code> 不等同于 <code>NFormItem.path</code>。</td></tr><tr><td><code>restoreValidation()</code></td><td>清除当前校验状态,保留输入。</td></tr><tr><td><code>updateFormCondition(values)</code></td><td>浅合并当前模型,不改初始值。</td></tr><tr><td><code>reset(values?)</code></td><td>合并初始值和覆盖值,然后清除校验。动态新增字段不会被自动删除。</td></tr></tbody></table><p>实例相关方法要在表单挂载并注册后调用。可空字段应在初始模型中显式声明,并为所用输入选用合适的空值。修改嵌套字段时注意更新是浅合并。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RForm/src/Form.tsx" target="_blank" rel="noreferrer">组件源码</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RForm/src/hooks/useForm.ts" target="_blank" rel="noreferrer">useForm 源码</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/apps/admin/src/views/demo/form/index.tsx" target="_blank" rel="noreferrer">表单示例</a></p>`,10))]))}});export{r as __pageData,d as default};

View File

@ -60,4 +60,4 @@ import{_ as n}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> renderReport</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">url</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">RIframe</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> src</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{url} </span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">title</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;库存报表&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> height</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">460</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">} </span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">lazy</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;eager&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>src</code></td><td>必填</td><td>iframe 地址。接收用户输入时应由业务限制可嵌入来源。</td></tr><tr><td><code>width</code> / <code>height</code></td><td><code>&#39;100%&#39;</code></td><td>CSS 尺寸。百分比高度依赖父级。</td></tr><tr><td><code>frameborder</code></td><td><code>0</code></td><td>模板边框样式变量。</td></tr><tr><td><code>iframeWrapperClass</code> / <code>iframeClass</code></td><td>无</td><td>外层容器与原生 iframe 的类名。</td></tr><tr><td><code>title</code> / <code>name</code> / <code>allow</code></td><td>无</td><td>原生 iframe 属性。<code>title</code> 用于辅助技术识别。</td></tr><tr><td><code>lazy</code></td><td><code>true</code></td><td>字符串 <code>&#39;lazy&#39;</code> 或 <code>&#39;eager&#39;</code>。当前实现把布尔 <code>true</code> 和 <code>false</code> 都映射为 <code>&#39;lazy&#39;</code>,主动加载请写 <code>&#39;eager&#39;</code>。</td></tr><tr><td><code>customSpinProps</code></td><td><code>{}</code></td><td>NSpin 配置,<code>show</code> 由组件内状态覆盖。</td></tr></tbody></table><p><code>onSuccess(iframe, event)</code> 和 <code>onError</code> 支持函数或回调数组。当前错误分支只传 <code>event</code>,与 Props 类型声明的双参数有差异;需要处理错误时不要假定有元素参数。首次 <code>load</code> / <code>error</code> 后关闭 Spin,当前实现不在 <code>src</code> 变更时重置加载状态;每次切换地址都要显示加载时可给组件不同的 <code>key</code>。<code>iframeInst</code> 是组件实际暴露的 DOM 引用。额外插槽交给 Spin,但默认内容始终为 iframe。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RIframe/src/Iframe.tsx" target="_blank" rel="noreferrer">组件实现</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RIframe/src/props.ts" target="_blank" rel="noreferrer">Props</a></p>`,5))]))}});export{g as __pageData,y as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>src</code></td><td>必填</td><td>iframe 地址。接收用户输入时应由业务限制可嵌入来源。</td></tr><tr><td><code>width</code> / <code>height</code></td><td><code>&#39;100%&#39;</code></td><td>CSS 尺寸。百分比高度依赖父级。</td></tr><tr><td><code>frameborder</code></td><td><code>0</code></td><td>模板边框样式变量。</td></tr><tr><td><code>iframeWrapperClass</code> / <code>iframeClass</code></td><td>无</td><td>外层容器与原生 iframe 的类名。</td></tr><tr><td><code>title</code> / <code>name</code> / <code>allow</code></td><td>无</td><td>原生 iframe 属性。<code>title</code> 用于辅助技术识别。</td></tr><tr><td><code>lazy</code></td><td><code>true</code></td><td><code>true</code> / <code>&#39;lazy&#39;</code> 延迟加载,<code>false</code> / <code>&#39;eager&#39;</code> 主动加载。</td></tr><tr><td><code>customSpinProps</code></td><td><code>{}</code></td><td>NSpin 配置,<code>show</code> 由组件内状态覆盖。</td></tr></tbody></table><p><code>onSuccess(iframe, event)</code> 和 <code>onError(event)</code> 支持函数或回调数组。每次 <code>src</code> 变化都会重新显示 Spin,在 <code>load</code> / <code>error</code> 后关闭。组件 ref 上的 <code>iframe</code> 和兼容别名 <code>iframeInst</code> 都是原生 DOM 元素(尚未挂载时为 <code>null</code>);Vue 已自动解包,无需再访问 <code>.value</code>。额外插槽交给 Spin,但默认内容始终为 iframe。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RIframe/src/Iframe.tsx" target="_blank" rel="noreferrer">组件实现</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RIframe/src/props.ts" target="_blank" rel="noreferrer">Props</a></p>`,5))]))}});export{g as __pageData,y as default};

View File

@ -140,4 +140,4 @@ import{_ as a}from"./chunks/AdminExample.vue_vue_type_script_setup_true_lang.wPc
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">DemoPage</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> )</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">})</span></span></code></pre></div></details><h2 id="命令式弹窗" tabindex="-1">命令式弹窗 <a class="header-anchor" href="#命令式弹窗" aria-label="Permalink to &quot;命令式弹窗&quot;">​</a></h2><p><code>@/components</code> 的 <code>useModal()</code> 已弃用,兼容代码仍可通过 <code>create(options)</code> 和 <code>destroyAll()</code> 调用。<code>create</code> 返回 Naive UI 弹窗句柄,支持 <code>fullscreen</code>、<code>width</code>、<code>cardWidth</code>、<code>dialogWidth</code> 等兼容配置。新代码从 <code>naive-ui</code> 导入 <code>useModal</code>,在 <code>NModalProvider</code> 的后代调用;需要模板专用全屏样式时用声明式 <code>RModal</code>。提示用户确认危险操作时也可以用全局 <a href="./app.html">Dialog Provider</a>。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RModal/src/Modal.tsx" target="_blank" rel="noreferrer">组件源码</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RModal/src/hooks/useModal.ts" target="_blank" rel="noreferrer">兼容 Hook</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/__test__/components/modal.spec.ts" target="_blank" rel="noreferrer">回归用例</a></p>`,4))]))}});export{d as __pageData,r as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">})</span></span></code></pre></div></details><h2 id="命令式弹窗" tabindex="-1">命令式弹窗 <a class="header-anchor" href="#命令式弹窗" aria-label="Permalink to &quot;命令式弹窗&quot;">​</a></h2><p><code>@/components</code> 的 <code>useModal()</code> 已弃用,兼容代码仍可通过 <code>create(options)</code> 和 <code>destroyAll()</code> 调用。<code>create</code> 返回 Naive UI 弹窗句柄,支持 <code>fullscreen</code>、<code>width</code>、<code>cardWidth</code>、<code>dialogWidth</code> 等兼容配置。新代码从 <code>naive-ui</code> 导入 <code>useModal</code>,在 <code>NModalProvider</code> 的后代调用;需要模板专用全屏样式时用声明式 <code>RModal</code>。提示用户确认危险操作时也可以用全局 <a href="./app.html">Dialog Provider</a>。</p><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RModal/src/Modal.tsx" target="_blank" rel="noreferrer">组件源码</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RModal/src/hooks/useModal.ts" target="_blank" rel="noreferrer">兼容 Hook</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/__test__/components/modal.spec.ts" target="_blank" rel="noreferrer">回归用例</a></p>`,4))]))}});export{d as __pageData,r as default};

View File

@ -1,10 +1,10 @@
import{d as u,D as m}from"./chunks/Dropdown.DgfjCOPN.js";import{R as C}from"./chunks/Icon.D_D2CMbU.js";import{d as g,E as t,K as D,a9 as B,u as A,o as y,b as f,w as l,j as e,k as E,a as _,t as r,h as d,p as b,C as v,c as w,a3 as o}from"./chunks/framework.D8G7yXPy.js";import{B as q,_ as R}from"./chunks/DemoFrame.vue_vue_type_script_setup_true_lang.CEMQDpbD.js";import"./chunks/light.BQgF5P5u.js";import"./chunks/isSymbol.rCNNreax.js";import"./chunks/use-compitable.BN_sOfeF.js";import"./chunks/element.mIVMEYq_.js";function S(i,a){const s=i??(a==null?void 0:a.defaultElement)??null;return typeof s=="function"?s:()=>s}const N={...u,icon:{type:String,default:"action/more"},iconSize:{type:Number},cursor:{type:String,default:"inherit"}};function M(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!B(i)}const x=g({name:"RMoreDropdown",props:N,render(){let i;const{iconSize:a,cursor:s,icon:n}=this,{default:h}=this.$slots;return t(m,D(this.$props,this.$attrs,{placement:"bottom-start"}),M(i=S(h,{defaultElement:t(C,{name:n,size:a,cursor:s},null)}))?i:{default:()=>[i]})}}),T={class:"ray-demo"},P={class:"ray-demo-result"},I=g({__name:"MoreDropdownDemo",setup(i){const{lang:a}=A(),s=d(()=>a.value.startsWith("en")?{edit:"Edit",copy:"Duplicate",archive:"Archive",more:"More actions",hint:"Select an action."}:{edit:"编辑",copy:"复制",archive:"归档",more:"更多操作",hint:"请选择一项操作"}),n=d(()=>[{key:"edit",label:s.value.edit},{key:"copy",label:s.value.copy},{key:"archive",label:s.value.archive,disabled:!0}]),h=b(""),c=p=>{var k;h.value=((k=n.value.find(F=>F.key===p))==null?void 0:k.label)??""};return(p,k)=>(y(),f(R,null,{default:l(()=>[e("div",T,[t(E(x),{trigger:"click",options:n.value,onSelect:c},{default:l(()=>[t(E(q),null,{default:l(()=>[_(r(s.value.more),1)]),_:1})]),_:1},8,["options"]),e("output",P,r(h.value||s.value.hint),1)])]),_:1}))}}),K=JSON.parse('{"title":"RMoreDropdown","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/more-dropdown.md","filePath":"reference/components/more-dropdown.md"}'),V={name:"reference/components/more-dropdown.md"},U=Object.assign(V,{setup(i){return(a,s)=>{const n=v("ClientOnly");return y(),w("div",null,[s[0]||(s[0]=o('<h1 id="rmoredropdown" tabindex="-1">RMoreDropdown <a class="header-anchor" href="#rmoredropdown" aria-label="Permalink to &quot;RMoreDropdown&quot;">​</a></h1><p>包装 <code>NDropdown</code>,为行操作提供默认的更多图标。<code>options</code>、<code>trigger</code>、<code>placement</code>、<code>onSelect(key, option)</code>、受控显隐等沿用 Naive UI Dropdown。</p><h2 id="交互示例" tabindex="-1">交互示例 <a class="header-anchor" href="#交互示例" aria-label="Permalink to &quot;交互示例&quot;">​</a></h2>',3)),t(n,null,{default:l(()=>[t(I)]),_:1}),s[1]||(s[1]=o(`<details class="details custom-block"><summary>查看示例源码</summary><div class="language-vue vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">vue</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
import{B as c,_ as C}from"./chunks/DemoFrame.vue_vue_type_script_setup_true_lang.BibqOSJQ.js";import{d as E,D}from"./chunks/Dropdown.5gd1V6-R.js";import{R as B,u as A}from"./chunks/Icon.CEJcCL76.js";import{d as F,E as n,K as f,a9 as b,u as _,o as u,b as v,w as k,j as r,k as d,a as w,t as o,h as g,p as S,C as q,c as R,a3 as y}from"./chunks/framework.D8G7yXPy.js";import"./chunks/light.BQgF5P5u.js";import"./chunks/isSymbol.rCNNreax.js";import"./chunks/use-compitable.BN_sOfeF.js";import"./chunks/element.mIVMEYq_.js";function N(i,a){const s=i??(a==null?void 0:a.defaultElement)??null;return typeof s=="function"?s:()=>s}const M={...E,placement:{...E.placement,default:"bottom-start"},icon:{type:String,default:"action/more"},iconSize:{type:Number},triggerLabel:String,cursor:{type:String,default:"inherit"}};function x(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!b(i)}const T=F({name:"RMoreDropdown",props:M,setup(){return{translate:A().translate}},render(){var l;let i;const{iconSize:a,cursor:s,icon:t}=this,{default:h}=this.$slots;return n(D,f(this.$props,this.$attrs),x(i=N(h,{defaultElement:n(c,{text:!0,"aria-label":this.triggerLabel??((l=this.translate)==null?void 0:l.call(this,"appComponents.moreActions"))??"More actions"},{default:()=>[n(B,{name:t,size:a,cursor:s},null)]})}))?i:{default:()=>[i]})}}),P={class:"ray-demo"},I={class:"ray-demo-result"},V=F({__name:"MoreDropdownDemo",setup(i){const{lang:a}=_(),s=g(()=>a.value.startsWith("en")?{edit:"Edit",copy:"Duplicate",archive:"Archive",more:"More actions",hint:"Select an action."}:{edit:"编辑",copy:"复制",archive:"归档",more:"更多操作",hint:"请选择一项操作"}),t=g(()=>[{key:"edit",label:s.value.edit},{key:"copy",label:s.value.copy},{key:"archive",label:s.value.archive,disabled:!0}]),h=S(""),l=e=>{var p;h.value=((p=t.value.find(m=>m.key===e))==null?void 0:p.label)??""};return(e,p)=>(u(),v(C,null,{default:k(()=>[r("div",P,[n(d(T),{trigger:"click",options:t.value,onSelect:l},{default:k(()=>[n(d(c),null,{default:k(()=>[w(o(s.value.more),1)]),_:1})]),_:1},8,["options"]),r("output",I,o(h.value||s.value.hint),1)])]),_:1}))}}),J=JSON.parse('{"title":"RMoreDropdown","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/more-dropdown.md","filePath":"reference/components/more-dropdown.md"}'),O={name:"reference/components/more-dropdown.md"},K=Object.assign(O,{setup(i){return(a,s)=>{const t=q("ClientOnly");return u(),R("div",null,[s[0]||(s[0]=y('<h1 id="rmoredropdown" tabindex="-1">RMoreDropdown <a class="header-anchor" href="#rmoredropdown" aria-label="Permalink to &quot;RMoreDropdown&quot;">​</a></h1><p>包装 <code>NDropdown</code>,为行操作提供默认的更多图标。<code>options</code>、<code>trigger</code>、<code>placement</code>、<code>onSelect(key, option)</code>、受控显隐等沿用 Naive UI Dropdown。</p><h2 id="交互示例" tabindex="-1">交互示例 <a class="header-anchor" href="#交互示例" aria-label="Permalink to &quot;交互示例&quot;">​</a></h2>',3)),n(t,null,{default:k(()=>[n(V)]),_:1}),s[1]||(s[1]=y(`<details class="details custom-block"><summary>查看示例源码</summary><div class="language-vue vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">vue</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">DemoFrame</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;ray-demo&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">RMoreDropdown</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> trigger</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;click&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">options</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">options</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> @</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">select</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">onSelect</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">RMoreDropdown</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> trigger</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;click&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> :options</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;options&quot;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> @select</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;onSelect&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">NButton</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{ copy.more }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">NButton</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">RMoreDropdown</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">output</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;ray-demo-result&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{ result </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">||</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> copy.hint }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">output</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">output</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;ray-demo-result&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{ result || copy.hint }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">output</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">DemoFrame</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
@ -43,7 +43,7 @@ import{d as u,D as m}from"./chunks/Dropdown.DgfjCOPN.js";import{R as C}from"./ch
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> onSelect</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">key</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> |</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> number</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> result.value </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> options.value.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">find</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">((</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">option</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> option.key </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">===</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> key)?.label </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">??</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;&#39;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">script</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span></code></pre></div></details><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>icon</code></td><td><code>&#39;action/more&#39;</code></td><td>类型为 <code>IconName</code>,使用完整分包路径。</td></tr><tr><td><code>iconSize</code></td><td>跟随 RIcon</td><td>触发图标大小,省略时为 20 px。</td></tr><tr><td><code>cursor</code></td><td><code>&#39;inherit&#39;</code></td><td>默认继承所在控件的指针样式。</td></tr></tbody></table><p><code>default</code> 插槽替换图标触发器。只有图标时建议用具有可访问名称的原生按钮或 <code>NButton</code>,方便键盘进入。列表行中根据业务需要阻止触发器的点击冒泡,避免同时触发行导航。</p><div class="language-tsx vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">tsx</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { RIcon, RMoreDropdown } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/components&#39;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">script</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span></code></pre></div></details><table tabindex="0"><thead><tr><th>属性</th><th>默认</th><th>说明</th></tr></thead><tbody><tr><td><code>icon</code></td><td><code>&#39;action/more&#39;</code></td><td>类型为 <code>IconName</code>,使用完整分包路径。</td></tr><tr><td><code>iconSize</code></td><td>跟随 RIcon</td><td>触发图标大小,省略时为 20 px。</td></tr><tr><td><code>cursor</code></td><td><code>&#39;inherit&#39;</code></td><td>默认继承所在控件的指针样式。</td></tr><tr><td><code>triggerLabel</code></td><td>跟随注入翻译或 <code>&#39;More actions&#39;</code></td><td>默认图标按钮的可访问名称。</td></tr></tbody></table><p>默认触发器是可键盘聚焦的图标按钮。<code>placement</code> 默认 <code>&#39;bottom-start&#39;</code>,可由调用方覆盖。<code>default</code> 插槽替换整个触发器,自定义触发器应使用具有可访问名称的原生按钮或 <code>NButton</code>。列表行中根据业务需要阻止点击冒泡,避免同时触发行导航。</p><div class="language-tsx vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">tsx</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { RIcon, RMoreDropdown } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;@/components&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { NButton } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;naive-ui&#39;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> renderRowActions</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">edit</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> () </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> void</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span></span>
@ -63,4 +63,4 @@ import{d as u,D as m}from"./chunks/Dropdown.DgfjCOPN.js";import{R as C}from"./ch
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">RIcon</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> name</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;action/more&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> /&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">NButton</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> &lt;/</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">RMoreDropdown</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RMoreDropdown/src/MoreDropdown.tsx" target="_blank" rel="noreferrer">组件实现</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/cb2aa865e8f4733cb2eb8f61373a14a3aef7fb90/packages/ui/src/RMoreDropdown/src/props.ts" target="_blank" rel="noreferrer">Props</a></p>`,5))])}}});export{K as __pageData,U as default};
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><p><a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RMoreDropdown/src/MoreDropdown.tsx" target="_blank" rel="noreferrer">组件实现</a> · <a href="https://github.com/XiaoDaiGua-Ray/ray-template/blob/550fe71a446ee5a0166898f37f58b108b8baa05c/packages/ui/src/RMoreDropdown/src/props.ts" target="_blank" rel="noreferrer">Props</a></p>`,5))])}}});export{J as __pageData,K as default};

View File

@ -0,0 +1 @@
import{B as c,_ as C}from"./chunks/DemoFrame.vue_vue_type_script_setup_true_lang.BibqOSJQ.js";import{d as E,D}from"./chunks/Dropdown.5gd1V6-R.js";import{R as B,u as A}from"./chunks/Icon.CEJcCL76.js";import{d as F,E as n,K as f,a9 as b,u as _,o as u,b as v,w as k,j as r,k as d,a as w,t as o,h as g,p as S,C as q,c as R,a3 as y}from"./chunks/framework.D8G7yXPy.js";import"./chunks/light.BQgF5P5u.js";import"./chunks/isSymbol.rCNNreax.js";import"./chunks/use-compitable.BN_sOfeF.js";import"./chunks/element.mIVMEYq_.js";function N(i,a){const s=i??(a==null?void 0:a.defaultElement)??null;return typeof s=="function"?s:()=>s}const M={...E,placement:{...E.placement,default:"bottom-start"},icon:{type:String,default:"action/more"},iconSize:{type:Number},triggerLabel:String,cursor:{type:String,default:"inherit"}};function x(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!b(i)}const T=F({name:"RMoreDropdown",props:M,setup(){return{translate:A().translate}},render(){var l;let i;const{iconSize:a,cursor:s,icon:t}=this,{default:h}=this.$slots;return n(D,f(this.$props,this.$attrs),x(i=N(h,{defaultElement:n(c,{text:!0,"aria-label":this.triggerLabel??((l=this.translate)==null?void 0:l.call(this,"appComponents.moreActions"))??"More actions"},{default:()=>[n(B,{name:t,size:a,cursor:s},null)]})}))?i:{default:()=>[i]})}}),P={class:"ray-demo"},I={class:"ray-demo-result"},V=F({__name:"MoreDropdownDemo",setup(i){const{lang:a}=_(),s=g(()=>a.value.startsWith("en")?{edit:"Edit",copy:"Duplicate",archive:"Archive",more:"More actions",hint:"Select an action."}:{edit:"编辑",copy:"复制",archive:"归档",more:"更多操作",hint:"请选择一项操作"}),t=g(()=>[{key:"edit",label:s.value.edit},{key:"copy",label:s.value.copy},{key:"archive",label:s.value.archive,disabled:!0}]),h=S(""),l=e=>{var p;h.value=((p=t.value.find(m=>m.key===e))==null?void 0:p.label)??""};return(e,p)=>(u(),v(C,null,{default:k(()=>[r("div",P,[n(d(T),{trigger:"click",options:t.value,onSelect:l},{default:k(()=>[n(d(c),null,{default:k(()=>[w(o(s.value.more),1)]),_:1})]),_:1},8,["options"]),r("output",I,o(h.value||s.value.hint),1)])]),_:1}))}}),J=JSON.parse('{"title":"RMoreDropdown","description":"","frontmatter":{},"headers":[],"relativePath":"reference/components/more-dropdown.md","filePath":"reference/components/more-dropdown.md"}'),O={name:"reference/components/more-dropdown.md"},K=Object.assign(O,{setup(i){return(a,s)=>{const t=q("ClientOnly");return u(),R("div",null,[s[0]||(s[0]=y("",3)),n(t,null,{default:k(()=>[n(V)]),_:1}),s[1]||(s[1]=y("",5))])}}});export{J as __pageData,K as default};

Some files were not shown because too many files have changed in this diff Show More