mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
feat: 更新配置和组件以支持选择项功能, 开始手柄映射功能编写
- 在DynamicForm.vue中新增select组件支持 - 在VTsuruConfigTypes.ts中添加可选的条件显示属性 - 更新vite.config.mts以集成自定义SVGO插件 - 在components.d.ts中添加NDescriptionsItem组件声明 - 更新路由配置以包含obs_store模块
This commit is contained in:
136
src/assets/controller/DirectInput/directinput-30.svg
Normal file
136
src/assets/controller/DirectInput/directinput-30.svg
Normal file
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="45.529301mm"
|
||||
height="45.529289mm"
|
||||
viewBox="0 0 45.529303 45.529285"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="directinput-30.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#3e8d2e"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="true"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="5.6568542"
|
||||
inkscape:cx="67.882251"
|
||||
inkscape:cy="96.254911"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1351"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1"
|
||||
labelstyle="default"
|
||||
showborder="true" />
|
||||
<defs
|
||||
id="defs1">
|
||||
<rect
|
||||
x="-329.58707"
|
||||
y="426.24316"
|
||||
width="115.7824"
|
||||
height="107.24387"
|
||||
id="rect2" />
|
||||
<rect
|
||||
x="-486.35437"
|
||||
y="484.30515"
|
||||
width="87.776039"
|
||||
height="93.582237"
|
||||
id="rect1" />
|
||||
</defs>
|
||||
<g
|
||||
inkscape:label="Button Prompt 30"
|
||||
id="layer1"
|
||||
transform="translate(139.87891,-115.24219)"
|
||||
style="display:inline">
|
||||
<g
|
||||
id="path1"
|
||||
inkscape:label="Style - Outline (White)"
|
||||
style="display:none">
|
||||
<path
|
||||
style="color:#000000;display:inline;fill:#ffffff;fill-opacity:1;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none"
|
||||
d="m -95.899378,138.00743 a 21.214285,21.214285 0 0 1 -21.214282,21.21429 21.214285,21.214285 0 0 1 -21.21429,-21.21429 21.214285,21.214285 0 0 1 21.21429,-21.21428 21.214285,21.214285 0 0 1 21.214282,21.21428 z"
|
||||
id="path3"
|
||||
inkscape:label="Circle" />
|
||||
<path
|
||||
style="color:#000000;display:inline;fill:#000000;fill-opacity:1;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none"
|
||||
d="m -117.11328,115.24219 c -12.554,0 -22.76563,10.21163 -22.76563,22.76562 0,12.554 10.21163,22.76367 22.76563,22.76367 12.55399,0 22.763671,-10.20967 22.763671,-22.76367 0,-12.55399 -10.209681,-22.76562 -22.763671,-22.76562 z m 0,3.10156 c 10.87863,0 19.664061,8.78543 19.664061,19.66406 0,10.87864 -8.785431,19.66406 -19.664061,19.66406 -10.87863,0 -19.66406,-8.78542 -19.66406,-19.66406 0,-10.87863 8.78543,-19.66406 19.66406,-19.66406 z"
|
||||
id="path4"
|
||||
inkscape:label="Outline" />
|
||||
<path
|
||||
style="font-weight:500;font-size:27.0404px;line-height:0;font-family:'open sans';-inkscape-font-specification:'open sans Medium';letter-spacing:-0.563341px;word-spacing:0px;fill:#000000;stroke-width:4.25833;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0.501961"
|
||||
d="m 21.416421,17.582342 q 0,1.307129 -0.514929,2.270971 -0.51493,0.950639 -1.425959,1.557992 -0.911029,0.607353 -2.112531,0.858216 v 0.09242 q 2.297378,0.290473 3.45927,1.465568 1.175096,1.175096 1.175096,3.102781 0,1.676821 -0.7922,2.98395 -0.792199,1.307129 -2.442614,2.046515 -1.637212,0.739386 -4.211859,0.739386 -1.544788,0 -2.86512,-0.250864 -1.320332,-0.250863 -2.5086313,-0.805402 V 29.22767 q 1.2015023,0.607353 2.6010543,0.950639 1.399552,0.330083 2.693477,0.330083 2.521834,0 3.61771,-0.977045 1.109079,-0.977046 1.109079,-2.693478 0,-1.135485 -0.59415,-1.848464 -0.594149,-0.726183 -1.769245,-1.069469 -1.161892,-0.343287 -2.90473,-0.343287 h -1.808855 v -2.191751 h 1.835262 q 1.624008,0 2.66707,-0.422506 1.056266,-0.43571 1.571195,-1.214705 0.51493,-0.778996 0.51493,-1.822059 0,-1.359942 -0.897826,-2.099328 -0.884622,-0.752589 -2.508631,-0.752589 -1.003452,0 -1.835261,0.224457 -0.818606,0.211253 -1.531585,0.567742 -0.699776,0.35649 -1.359942,0.805403 L 9.2693669,14.836051 q 1.0694691,-0.818605 2.5878511,-1.399551 1.531585,-0.580947 3.49888,-0.580947 2.970747,0 4.515535,1.307129 1.544788,1.307129 1.544788,3.41966 z m 15.66354,5.175701 q 0,2.350191 -0.35649,4.198656 -0.356489,1.848465 -1.135485,3.129187 -0.765793,1.280722 -2.006905,1.954092 -1.227909,0.660166 -2.970747,0.660166 -2.191751,0 -3.61771,-1.175096 -1.425958,-1.175095 -2.125734,-3.393253 -0.699776,-2.231361 -0.699776,-5.373752 0,-3.089576 0.633759,-5.307734 0.63376,-2.231361 2.046515,-3.41966 1.425959,-1.201502 3.762946,-1.201502 2.218158,0 3.644117,1.188299 1.439161,1.175095 2.125734,3.406456 0.699776,2.218158 0.699776,5.334141 z m -10.245776,0 q 0,2.574648 0.369693,4.29108 0.369693,1.716431 1.201502,2.574647 0.831809,0.845012 2.204954,0.845012 1.373145,0 2.204955,-0.845012 0.845012,-0.845013 1.214705,-2.561444 0.369693,-1.716432 0.369693,-4.304283 0,-2.535037 -0.369693,-4.238265 -0.369693,-1.716432 -1.201502,-2.574648 -0.818606,-0.871419 -2.218158,-0.871419 -1.399552,0 -2.231361,0.871419 -0.818606,0.858216 -1.188299,2.574648 -0.356489,1.703228 -0.356489,4.238265 z"
|
||||
id="path37"
|
||||
inkscape:label="Symbol 30"
|
||||
aria-label="30"
|
||||
transform="translate(-139.87891,115.24219)" />
|
||||
</g>
|
||||
<g
|
||||
id="g6"
|
||||
inkscape:label="Style - Outline (Black)"
|
||||
style="display:none">
|
||||
<path
|
||||
style="color:#000000;display:inline;fill:#000000;fill-opacity:1;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none"
|
||||
d="m -95.899378,138.00743 a 21.214285,21.214285 0 0 1 -21.214282,21.21429 21.214285,21.214285 0 0 1 -21.21429,-21.21429 21.214285,21.214285 0 0 1 21.21429,-21.21428 21.214285,21.214285 0 0 1 21.214282,21.21428 z"
|
||||
id="path5"
|
||||
inkscape:label="Circle" />
|
||||
<path
|
||||
style="color:#000000;display:inline;fill:#ffffff;fill-opacity:1;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none"
|
||||
d="m -117.11328,115.24219 c -12.554,0 -22.76563,10.21163 -22.76563,22.76562 0,12.554 10.21163,22.76367 22.76563,22.76367 12.55399,0 22.763671,-10.20967 22.763671,-22.76367 0,-12.55399 -10.209681,-22.76562 -22.763671,-22.76562 z m 0,3.10156 c 10.87863,0 19.664061,8.78543 19.664061,19.66406 0,10.87864 -8.785431,19.66406 -19.664061,19.66406 -10.87863,0 -19.66406,-8.78542 -19.66406,-19.66406 0,-10.87863 8.78543,-19.66406 19.66406,-19.66406 z"
|
||||
id="path6"
|
||||
inkscape:label="Outline" />
|
||||
<path
|
||||
style="font-weight:500;font-size:27.0404px;line-height:0;font-family:'open sans';-inkscape-font-specification:'open sans Medium';letter-spacing:-0.563341px;word-spacing:0px;fill:#ffffff;stroke-width:4.25833;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0.501961"
|
||||
d="m 21.416421,17.582342 q 0,1.307129 -0.514929,2.270971 -0.51493,0.950639 -1.425959,1.557992 -0.911029,0.607353 -2.112531,0.858216 v 0.09242 q 2.297378,0.290473 3.45927,1.465568 1.175096,1.175096 1.175096,3.102781 0,1.676821 -0.7922,2.98395 -0.792199,1.307129 -2.442614,2.046515 -1.637212,0.739386 -4.211859,0.739386 -1.544788,0 -2.86512,-0.250864 -1.320332,-0.250863 -2.5086313,-0.805402 V 29.22767 q 1.2015023,0.607353 2.6010543,0.950639 1.399552,0.330083 2.693477,0.330083 2.521834,0 3.61771,-0.977045 1.109079,-0.977046 1.109079,-2.693478 0,-1.135485 -0.59415,-1.848464 -0.594149,-0.726183 -1.769245,-1.069469 -1.161892,-0.343287 -2.90473,-0.343287 h -1.808855 v -2.191751 h 1.835262 q 1.624008,0 2.66707,-0.422506 1.056266,-0.43571 1.571195,-1.214705 0.51493,-0.778996 0.51493,-1.822059 0,-1.359942 -0.897826,-2.099328 -0.884622,-0.752589 -2.508631,-0.752589 -1.003452,0 -1.835261,0.224457 -0.818606,0.211253 -1.531585,0.567742 -0.699776,0.35649 -1.359942,0.805403 L 9.2693669,14.836051 q 1.0694691,-0.818605 2.5878511,-1.399551 1.531585,-0.580947 3.49888,-0.580947 2.970747,0 4.515535,1.307129 1.544788,1.307129 1.544788,3.41966 z m 15.66354,5.175701 q 0,2.350191 -0.35649,4.198656 -0.356489,1.848465 -1.135485,3.129187 -0.765793,1.280722 -2.006905,1.954092 -1.227909,0.660166 -2.970747,0.660166 -2.191751,0 -3.61771,-1.175096 -1.425958,-1.175095 -2.125734,-3.393253 -0.699776,-2.231361 -0.699776,-5.373752 0,-3.089576 0.633759,-5.307734 0.63376,-2.231361 2.046515,-3.41966 1.425959,-1.201502 3.762946,-1.201502 2.218158,0 3.644117,1.188299 1.439161,1.175095 2.125734,3.406456 0.699776,2.218158 0.699776,5.334141 z m -10.245776,0 q 0,2.574648 0.369693,4.29108 0.369693,1.716431 1.201502,2.574647 0.831809,0.845012 2.204954,0.845012 1.373145,0 2.204955,-0.845012 0.845012,-0.845013 1.214705,-2.561444 0.369693,-1.716432 0.369693,-4.304283 0,-2.535037 -0.369693,-4.238265 -0.369693,-1.716432 -1.201502,-2.574648 -0.818606,-0.871419 -2.218158,-0.871419 -1.399552,0 -2.231361,0.871419 -0.818606,0.858216 -1.188299,2.574648 -0.356489,1.703228 -0.356489,4.238265 z"
|
||||
id="text37"
|
||||
inkscape:label="Symbol 30"
|
||||
aria-label="30"
|
||||
transform="translate(-139.87891,115.24219)" />
|
||||
</g>
|
||||
<g
|
||||
id="g8"
|
||||
inkscape:label="Style - Transparent"
|
||||
style="display:inline;fill:#ffffff;fill-opacity:1">
|
||||
<path
|
||||
style="color:#000000;display:inline;fill:#808080;fill-opacity:0.501031;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"
|
||||
d="m -117.11328,115.24219 c -12.554,-10e-6 -22.76562,10.21163 -22.76563,22.76562 0,12.554 10.21163,22.76368 22.76563,22.76367 12.554,0 22.763674,-10.20967 22.763671,-22.76367 -3e-6,-12.55399 -10.209681,-22.76562 -22.763671,-22.76562 z m 0,3.10156 c 10.87863,0 19.664059,8.78543 19.664061,19.66406 3e-6,10.87864 -8.785431,19.66406 -19.664061,19.66406 -10.87864,10e-6 -19.66407,-8.78542 -19.66406,-19.66406 0,-10.87863 8.78543,-19.66406 19.66406,-19.66406 z"
|
||||
id="path9"
|
||||
inkscape:label="Outline" />
|
||||
<path
|
||||
style="color:#000000;display:inline;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none;paint-order:stroke markers fill"
|
||||
d="m -95.899378,138.00743 a 21.214285,21.214285 0 0 1 -21.214282,21.21429 21.214285,21.214285 0 0 1 -21.21429,-21.21429 21.214285,21.214285 0 0 1 21.21429,-21.21428 21.214285,21.214285 0 0 1 21.214282,21.21428 z"
|
||||
id="path10"
|
||||
inkscape:label="Circle" />
|
||||
<path
|
||||
style="font-weight:500;font-size:27.0404px;line-height:0;font-family:'open sans';-inkscape-font-specification:'open sans Medium';letter-spacing:-0.563341px;word-spacing:0px;fill:#808080;stroke-width:4.25833;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0.501961"
|
||||
d="m 21.416421,17.582342 q 0,1.307129 -0.514929,2.270971 -0.51493,0.950639 -1.425959,1.557992 -0.911029,0.607353 -2.112531,0.858216 v 0.09242 q 2.297378,0.290473 3.45927,1.465568 1.175096,1.175096 1.175096,3.102781 0,1.676821 -0.7922,2.98395 -0.792199,1.307129 -2.442614,2.046515 -1.637212,0.739386 -4.211859,0.739386 -1.544788,0 -2.86512,-0.250864 -1.320332,-0.250863 -2.5086313,-0.805402 V 29.22767 q 1.2015023,0.607353 2.6010543,0.950639 1.399552,0.330083 2.693477,0.330083 2.521834,0 3.61771,-0.977045 1.109079,-0.977046 1.109079,-2.693478 0,-1.135485 -0.59415,-1.848464 -0.594149,-0.726183 -1.769245,-1.069469 -1.161892,-0.343287 -2.90473,-0.343287 h -1.808855 v -2.191751 h 1.835262 q 1.624008,0 2.66707,-0.422506 1.056266,-0.43571 1.571195,-1.214705 0.51493,-0.778996 0.51493,-1.822059 0,-1.359942 -0.897826,-2.099328 -0.884622,-0.752589 -2.508631,-0.752589 -1.003452,0 -1.835261,0.224457 -0.818606,0.211253 -1.531585,0.567742 -0.699776,0.35649 -1.359942,0.805403 L 9.2693669,14.836051 q 1.0694691,-0.818605 2.5878511,-1.399551 1.531585,-0.580947 3.49888,-0.580947 2.970747,0 4.515535,1.307129 1.544788,1.307129 1.544788,3.41966 z m 15.66354,5.175701 q 0,2.350191 -0.35649,4.198656 -0.356489,1.848465 -1.135485,3.129187 -0.765793,1.280722 -2.006905,1.954092 -1.227909,0.660166 -2.970747,0.660166 -2.191751,0 -3.61771,-1.175096 -1.425958,-1.175095 -2.125734,-3.393253 -0.699776,-2.231361 -0.699776,-5.373752 0,-3.089576 0.633759,-5.307734 0.63376,-2.231361 2.046515,-3.41966 1.425959,-1.201502 3.762946,-1.201502 2.218158,0 3.644117,1.188299 1.439161,1.175095 2.125734,3.406456 0.699776,2.218158 0.699776,5.334141 z m -10.245776,0 q 0,2.574648 0.369693,4.29108 0.369693,1.716431 1.201502,2.574647 0.831809,0.845012 2.204954,0.845012 1.373145,0 2.204955,-0.845012 0.845012,-0.845013 1.214705,-2.561444 0.369693,-1.716432 0.369693,-4.304283 0,-2.535037 -0.369693,-4.238265 -0.369693,-1.716432 -1.201502,-2.574648 -0.818606,-0.871419 -2.218158,-0.871419 -1.399552,0 -2.231361,0.871419 -0.818606,0.858216 -1.188299,2.574648 -0.356489,1.703228 -0.356489,4.238265 z"
|
||||
id="path38"
|
||||
inkscape:label="Symbol 30"
|
||||
aria-label="30"
|
||||
transform="translate(-139.87891,115.24219)" />
|
||||
</g>
|
||||
</g>
|
||||
<metadata
|
||||
id="metadata8">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<cc:license
|
||||
rdf:resource="https://opensource.org/license/mit" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
Reference in New Issue
Block a user