mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-30 21:13:02 +08:00
统一分类图标风格,目录结构调整
This commit is contained in:
parent
b8d48cb102
commit
4293f095ae
@ -67,7 +67,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { defineComponent, inject } from "vue";
|
import { defineComponent, inject } from "vue";
|
||||||
import { validateVariableName } from "js/common/variableValidator";
|
import { validateVariableName } from "js/common/variableValidator";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import MultiParams from "components/composer/MultiParams.vue";
|
import MultiParams from "components/composer/MultiParams.vue";
|
||||||
import CommandHead from "components/composer/card/CommandHead.vue";
|
import CommandHead from "components/composer/card/CommandHead.vue";
|
||||||
import * as CardComponents from "js/composer/cardComponents";
|
import * as CardComponents from "js/composer/cardComponents";
|
||||||
|
@ -63,9 +63,9 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import NumberInput from "components/composer/ui/NumberInput.vue";
|
import NumberInput from "components/composer/common/NumberInput.vue";
|
||||||
import ArrayEditor from "components/composer/ui/ArrayEditor.vue";
|
import ArrayEditor from "components/composer/common/ArrayEditor.vue";
|
||||||
import {
|
import {
|
||||||
stringifyArgv,
|
stringifyArgv,
|
||||||
parseToHasType,
|
parseToHasType,
|
||||||
|
@ -115,7 +115,7 @@
|
|||||||
* ]
|
* ]
|
||||||
*/
|
*/
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "ArrayEditor",
|
name: "ArrayEditor",
|
@ -95,7 +95,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 字典编辑器组件
|
* 字典编辑器组件
|
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import ControlInput from "../ui/ControlInput.vue";
|
import ControlInput from "components/composer/common/ControlInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "ConditionalJudgment",
|
name: "ConditionalJudgment",
|
||||||
|
@ -82,7 +82,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import ControlInput from "../ui/ControlInput.vue";
|
import ControlInput from "components/composer/common/ControlInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "ForEachControl",
|
name: "ForEachControl",
|
||||||
|
@ -82,7 +82,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import ControlInput from "../ui/ControlInput.vue";
|
import ControlInput from "components/composer/common/ControlInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "ForInControl",
|
name: "ForInControl",
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import ControlInput from "../ui/ControlInput.vue";
|
import ControlInput from "components/composer/common/ControlInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "LoopControl",
|
name: "LoopControl",
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import ControlInput from "../ui/ControlInput.vue";
|
import ControlInput from "components/composer/common/ControlInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "SwitchControl",
|
name: "SwitchControl",
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import ControlInput from "../ui/ControlInput.vue";
|
import ControlInput from "components/composer/common/ControlInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "TryCatchControl",
|
name: "TryCatchControl",
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import ControlInput from "../ui/ControlInput.vue";
|
import ControlInput from "components/composer/common/ControlInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "WhileControl",
|
name: "WhileControl",
|
||||||
|
@ -184,7 +184,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -363,9 +363,9 @@
|
|||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import NumberInput from "components/composer/ui/NumberInput.vue";
|
import NumberInput from "components/composer/common/NumberInput.vue";
|
||||||
import ArrayEditor from "components/composer/ui/ArrayEditor.vue";
|
import ArrayEditor from "components/composer/common/ArrayEditor.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "BufferEditor",
|
name: "BufferEditor",
|
||||||
|
@ -184,7 +184,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
@ -142,8 +142,8 @@
|
|||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import NumberInput from "components/composer/ui/NumberInput.vue";
|
import NumberInput from "components/composer/common/NumberInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "ZlibEditor",
|
name: "ZlibEditor",
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import RegexInput from "./RegexInput.vue";
|
import RegexInput from "./RegexInput.vue";
|
||||||
import RegexBuilder from "./RegexBuilder.vue";
|
import RegexBuilder from "./RegexBuilder.vue";
|
||||||
import RegexTester from "./RegexTester.vue";
|
import RegexTester from "./RegexTester.vue";
|
||||||
|
@ -381,8 +381,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import NumberInput from "components/composer/ui/NumberInput.vue";
|
import NumberInput from "components/composer/common/NumberInput.vue";
|
||||||
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
||||||
|
|
||||||
// 静态选项数据
|
// 静态选项数据
|
||||||
|
@ -149,9 +149,9 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import NumberInput from "components/composer/ui/NumberInput.vue";
|
import NumberInput from "components/composer/common/NumberInput.vue";
|
||||||
import DictEditor from "components/composer/ui/DictEditor.vue";
|
import DictEditor from "components/composer/common/DictEditor.vue";
|
||||||
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
||||||
import {
|
import {
|
||||||
userAgent,
|
userAgent,
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "DnsEditor",
|
name: "DnsEditor",
|
||||||
|
@ -170,8 +170,8 @@
|
|||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import DictEditor from "components/composer/ui/DictEditor.vue";
|
import DictEditor from "components/composer/common/DictEditor.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "UrlEditor",
|
name: "UrlEditor",
|
||||||
|
@ -96,7 +96,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import NumberInput from "../ui/NumberInput.vue";
|
import NumberInput from "components/composer/common/NumberInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "ImageSearchEditor",
|
name: "ImageSearchEditor",
|
||||||
|
@ -162,7 +162,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
import { stringifyArgv, parseFunction } from "js/composer/formatString";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "PathEditor",
|
name: "PathEditor",
|
||||||
|
@ -132,10 +132,10 @@
|
|||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import { parseFunction, stringifyArgv } from "js/composer/formatString";
|
import { parseFunction, stringifyArgv } from "js/composer/formatString";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import NumberInput from "components/composer/ui/NumberInput.vue";
|
import NumberInput from "components/composer/common/NumberInput.vue";
|
||||||
import DictEditor from "components/composer/ui/DictEditor.vue";
|
import DictEditor from "components/composer/common/DictEditor.vue";
|
||||||
import BorderLabel from "components/composer/ui/BorderLabel.vue";
|
import BorderLabel from "components/composer/common/BorderLabel.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "SystemCommandEditor",
|
name: "SystemCommandEditor",
|
||||||
|
@ -69,8 +69,8 @@
|
|||||||
<script>
|
<script>
|
||||||
import { defineComponent, ref, computed } from "vue";
|
import { defineComponent, ref, computed } from "vue";
|
||||||
import { userAgent } from "js/options/httpOptions";
|
import { userAgent } from "js/options/httpOptions";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import NumberInput from "components/composer/ui/NumberInput.vue";
|
import NumberInput from "components/composer/common/NumberInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "UBrowserBasic",
|
name: "UBrowserBasic",
|
||||||
|
@ -156,7 +156,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent, ref, computed } from "vue";
|
import { defineComponent, ref, computed } from "vue";
|
||||||
import NumberInput from "components/composer/ui/NumberInput.vue";
|
import NumberInput from "components/composer/common/NumberInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "UBrowserRun",
|
name: "UBrowserRun",
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "UBrowserCookieList",
|
name: "UBrowserCookieList",
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import { deviceName } from "js/options/httpOptions";
|
import { deviceName } from "js/options/httpOptions";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "UBrowserDeviceName",
|
name: "UBrowserDeviceName",
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "UBrowserFileList",
|
name: "UBrowserFileList",
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "UBrowserNamedParamList",
|
name: "UBrowserNamedParamList",
|
||||||
|
@ -176,8 +176,8 @@ import UBrowserFileList from "./UBrowserFileList.vue";
|
|||||||
import UBrowserCookieList from "./UBrowserCookieList.vue";
|
import UBrowserCookieList from "./UBrowserCookieList.vue";
|
||||||
import UBrowserNamedParamList from "./UBrowserNamedParamList.vue";
|
import UBrowserNamedParamList from "./UBrowserNamedParamList.vue";
|
||||||
import UBrowserDeviceName from "./UBrowserDeviceName.vue";
|
import UBrowserDeviceName from "./UBrowserDeviceName.vue";
|
||||||
import VariableInput from "components/composer/ui/VariableInput.vue";
|
import VariableInput from "components/composer/common/VariableInput.vue";
|
||||||
import NumberInput from "components/composer/ui/NumberInput.vue";
|
import NumberInput from "components/composer/common/NumberInput.vue";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "UBrowserOperation",
|
name: "UBrowserOperation",
|
||||||
|
@ -87,8 +87,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 输入框标签悬浮的位置 */
|
/* 输入框标签悬浮的位置 */
|
||||||
.command-composer .q-field--filled .q-field--float .q_field__label {
|
.command-composer .q-field--filled.q-field--dense.q-field--float .q-field__label {
|
||||||
transform: translateY(-35%) scale(0.7);
|
transform: translateY(-50%) scale(0.75);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 去除filled输入框边框 */
|
/* 去除filled输入框边框 */
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
export const dataCommands = {
|
export const dataCommands = {
|
||||||
label: "数据处理",
|
label: "数据处理",
|
||||||
icon: "auto_graph",
|
icon: "format_color_text",
|
||||||
defaultOpened: false,
|
defaultOpened: false,
|
||||||
commands: [
|
commands: [
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
export const fileCommands = {
|
export const fileCommands = {
|
||||||
label: "文件操作",
|
label: "文件操作",
|
||||||
icon: "folder",
|
icon: "folder_open",
|
||||||
defaultOpened: true,
|
defaultOpened: true,
|
||||||
commands: [
|
commands: [
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,7 @@ export const commandCategories = [
|
|||||||
notifyCommands,
|
notifyCommands,
|
||||||
dataCommands,
|
dataCommands,
|
||||||
controlCommands,
|
controlCommands,
|
||||||
otherCommands,
|
|
||||||
simulateCommands,
|
|
||||||
uiCommands,
|
uiCommands,
|
||||||
|
simulateCommands,
|
||||||
|
otherCommands,
|
||||||
];
|
];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
export const notifyCommands = {
|
export const notifyCommands = {
|
||||||
label: "消息通知",
|
label: "消息通知",
|
||||||
icon: "notifications",
|
icon: "chat_bubble_outline",
|
||||||
defaultOpened: false,
|
defaultOpened: false,
|
||||||
commands: [
|
commands: [
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
export const simulateCommands = {
|
export const simulateCommands = {
|
||||||
label: "模拟操作",
|
label: "模拟操作",
|
||||||
icon: "keyboard",
|
icon: "ads_click",
|
||||||
defaultOpened: false,
|
defaultOpened: false,
|
||||||
commands: [
|
commands: [
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
export const uiCommands = {
|
export const uiCommands = {
|
||||||
label: "UI操作",
|
label: "UI操作",
|
||||||
icon: "auto_graph",
|
icon: "web",
|
||||||
defaultOpened: false,
|
defaultOpened: false,
|
||||||
commands: [
|
commands: [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user