diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..496ee2c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a0cf709 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1 @@ +# CHANGELOG diff --git a/README.md b/README.md new file mode 100644 index 0000000..b83a9c6 --- /dev/null +++ b/README.md @@ -0,0 +1,209 @@ +# 上帝小助手浏览器扩展程序 + +- [1-功能介绍](#1-功能介绍) +- [2-安装和更新扩展](#2-安装和更新扩展) + - [2.1-安装扩展](#21-安装扩展) + - [2.2-更新扩展](#22-更新扩展) +- [3-功能说明](#3-功能说明) + - [3.1-使用低码搭建页面](#31-使用低码搭建页面) + - [3.2-本扩展对外暴露的浏览器接口](#32-本扩展对外暴露的浏览器接口) +- [4-该扩展使用问题咨询](#4-该扩展使用问题咨询) + +## 1-功能介绍 + +上帝小助手浏览器扩展程序是一个浏览器扩展开发平台 + +- 为用户提供了一个低代码搭建平台,用户可以通过低代码的方式快速搭建自己的专属新标签页,以及搭建各种自动化任务页面 + +![ga-editor](./images/ga-editor.png) +![ga-preview](./images/ga-preview.png) +![ga-editor2](./images/ga-editor2.jpg) +![ga-preview2](./images/ga-preview2.jpg) + +- 用户可以添加各种自动化任务脚本 + +![ga-userScripts-manage](./images/ga-userScripts-manage.png) +![ga-userScripts-preview](./images/ga-userScripts-preview.png) + +## 2-安装和更新扩展 + +### 2.1-安装扩展 + +1、下载 [god-assistant-0.1.6.zip](https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/god-assistant-0.1.6.zip) 文件到本地,并解压 + +2、在 Chrome 或 Microsoft Edge 中打开「chrome://extensions/」 + +3、打开开发者模式 -> 加载已解压的扩展程序 + +![ga-chrome-open-dev-mode](./images/ga-chrome-open-dev-mode.png) +![ga-edge-open-dev-mode](./images/ga-edge-open-dev-mode.png) + +4、选择第 1 步中解压得到的目录后,扩展就算安装完成了 + +![ga-choose-install-dir](./images/ga-choose-install-dir.png) + +5、建议将该扩展固定在浏览器顶部,方便后续能快速去编辑页面 + +![ga-fixed](./images/ga-fixed.png) + +### 2.2-更新扩展 + +1、当扩展发布新版本后,用户在打开当前扩展的任意页面时,都会展示如下所示的升级提示弹窗,用户只需选择之前安装扩展时选择的安装目录即可升级扩展来使用最新功能 + +![ga-update-version](./images/ga-update-version.png) + +2、更新扩展需要申请扩展安装目录的写权限,所以需要用户允许修改文件 + +![ga-edge-upgrade-permission](./images/ga-edge-upgrade-permission.png) + +## 3-功能说明 + +### 3.1-使用低码搭建页面 + +1、在扩展图标上右键选择「选项」或「扩展选项」打开扩展的配置项页面 + +![ga-chrome-open-options](./images/ga-chrome-open-options.png) +![ga-edge-open-options](./images/ga-edge-open-options.png) + +2、然后就可以增删改你的专属浏览器页面了 + +![ga-chrome-options-page](./images/ga-chrome-options-page.png) +![ga-editor](./images/ga-editor.png) +![ga-preview](./images/ga-preview.png) + +### 3.2-本扩展对外暴露的浏览器接口 + +浏览器为扩展程序提供了很多 API [API 参考](https://developer.chrome.com/docs/extensions/reference/api?hl=zh-cn),上帝小助手浏览器扩展中提供了 `$chrome.callMethodByPath` 方法来执行原本的浏览器提供的 API + +- 例子 1:监听点击事件 + +```js +$props({ + onClick: () => { + $message.info("TODO 处理点击事件"); + }, +}); +``` + +- 例子 2:获取插件清单文件信息 + +```js +$props({ + onClick: async () => { + // 方式一 + const manifest1 = await $chrome.runtime.getManifest(); + alert(JSON.stringify(manifest1, null, 2)); + // 方式二 + const manifest2 = await $chrome.callMethodByPath("runtime.getManifest"); + alert(JSON.stringify(manifest2, null, 2)); + }, +}); +``` + +- 例子 3:写入缓存和读取缓存 + +```js +$props({ + onClick: async () => { + // 写入缓存-方式1 + await $chrome.storage.local.set({ + key1: `${new Date().toLocaleString()}`, + key2: `${Math.random()}`, + }); + // 写入缓存-方式2 + await $chrome.callMethodByPath("storage.local.set", { + key3: `${new Date().toLocaleString()}`, + key4: `${Math.random()}`, + }); + + // 读取缓存-方式1 + const result1 = await $chrome.storage.local.get(["key1", "key2"]); + + // 读取缓存-方式2 + const result2 = await $chrome.callMethodByPath("storage.local.get", [ + "key1", + "key2", + ]); + + $message.success(JSON.stringify({ result1, result2 })); + }, +}); +``` + +- 例子 4:获取当前激活的标签页 + +```js +$props({ + onClick: async () => { + // 方式1 + const tab1 = await $chrome.tabs.query({ + active: true, + lastFocusedWindow: true, + }); + alert(JSON.stringify(tab1)); + // 方式2 + const tab2 = await $chrome.callMethodByPath("tabs.query", { + active: true, + lastFocusedWindow: true, + }); + alert(JSON.stringify(tab2)); + }, +}); +``` + +- 例子 5:操作系统通知 + +```js +$props({ + onClick: () => { + let myNotificationId; + + // 创建系统通知 + $chrome.notifications.create( + null, + { + type: "basic", + title: "我是标题", + message: "我是内容", + iconUrl: "../images/128.png", + }, + $chrome.proxy((notificationId) => { + myNotificationId = notificationId; + $message.info(`创建的系统通知 ID 为 ${notificationId}`); + }) + ); + + // 延迟 3 秒更新系统通知 + setTimeout(() => { + $chrome.notifications.update( + myNotificationId, + { + type: "basic", + title: "我是修改后的标题", + message: "我是修改后内容", + iconUrl: "../images/128.png", + }, + $chrome.proxy((wasUpdated) => { + $message.info(`更新系统通知 ${wasUpdated}`); + }) + ); + }, 3000); + + // 延迟 6 秒清除系统通知 + setTimeout(() => { + $chrome.notifications.clear( + myNotificationId, + $chrome.proxy((wasCleared) => { + $message.info(`清除系统通知 ${wasCleared}`); + }) + ); + }, 6000); + }, +}); +``` + +## 4-该扩展使用问题咨询 + +| 扫码加微信群咨询或反馈问题 | 扫码加作者微信咨询或反馈问题 | +| ---------------------------------------------------------------------- | ------------------------------------------------------------- | +| 作者微信 | 作者微信 | diff --git a/buildSelfSchema/About.json b/buildSelfSchema/About.json new file mode 100644 index 0000000..c7970ac --- /dev/null +++ b/buildSelfSchema/About.json @@ -0,0 +1,577 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12 + }, + "schema": { + "type": "object", + "properties": { + "eaf5qid04k8": { + "type": "void", + "x-component": "FormGrid", + "x-validator": [], + "x-component-props": { + "minColumns": 12, + "maxColumns": 12, + "style": { + "padding": "20px 20px 20px 20px" + }, + "rowGap": 20, + "columnGap": 20 + }, + "x-designable-id": "eaf5qid04k8", + "x-index": 0, + "properties": { + "1ip2rmhbckr": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "gridSpan": 12 + }, + "x-designable-id": "1ip2rmhbckr", + "x-index": 0, + "properties": { + "wdqjuacgusq": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "上帝小助手浏览器扩展程序是一个浏览器扩展开发平台", + "style": { + "display": "flex", + "justifyContent": "center", + "flexDirection": "row", + "fontSize": "24px" + } + }, + "x-designable-id": "wdqjuacgusq", + "x-index": 0 + } + } + }, + "4ap1y3zknrp": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "style": { + "display": "flex", + "justifyContent": "flex-end", + "flexDirection": "row" + }, + "gridSpan": 6 + }, + "x-designable-id": "4ap1y3zknrp", + "x-index": 1, + "properties": { + "uw17xv49mri": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "type": "primary", + "children": "查看 Gitee 安装", + "size": "large", + "style": { + "margin": "20px 0px 20px 0px" + } + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n $chrome.tabs.create({\n url: \"https://gitee.com/bingoogolapple/bga-god-assistant-config\",\n })\n },\n})\n" + } + }, + "x-designable-id": "uw17xv49mri", + "x-index": 0 + } + } + }, + "17nznt2cn5b": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "style": { + "display": "flex", + "justifyContent": "flex-start", + "flexDirection": "row" + }, + "gridSpan": 6 + }, + "x-designable-id": "17nznt2cn5b", + "x-index": 2, + "properties": { + "uw7m66fzcly": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "type": "primary", + "children": "查看 GitHub 安装", + "size": "large", + "style": { + "margin": "20px 0px 20px 0px" + } + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n $chrome.tabs.create({\n url: \"https://github.com/bingoogolapple/bga-god-assistant-config\",\n })\n },\n})\n" + } + }, + "x-designable-id": "uw7m66fzcly", + "x-index": 0 + } + } + }, + "82et3r73xpe": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "gridSpan": 12 + }, + "x-designable-id": "82et3r73xpe", + "x-index": 3, + "properties": { + "d4xggnu3esy": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "1、用户可以通过低代码的方式快速搭建自己的专属新标签页,以及搭建各种自动化任务页面", + "style": { + "fontSize": "18px" + } + }, + "x-designable-id": "d4xggnu3esy", + "x-index": 0 + } + } + }, + "zxpcw4rkusb": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "style": { + "display": "flex", + "justifyContent": "center", + "flexDirection": "row" + }, + "gridSpan": 12 + }, + "x-designable-id": "zxpcw4rkusb", + "x-index": 4, + "properties": { + "9dbqcnf0uzf": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "100%" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/ga-editor.png", + "x-designable-id": "9dbqcnf0uzf", + "x-index": 0 + } + } + }, + "rqufxiyxklv": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "style": { + "display": "flex", + "justifyContent": "center", + "flexDirection": "row" + }, + "gridSpan": 12 + }, + "x-designable-id": "rqufxiyxklv", + "x-index": 5, + "properties": { + "7hjw2gim1jh": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "100%" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/ga-preview.png", + "x-designable-id": "7hjw2gim1jh", + "x-index": 0 + } + } + }, + "2m5lymudm0p": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "style": { + "display": "flex", + "justifyContent": "center", + "flexDirection": "row" + }, + "gridSpan": 12 + }, + "x-designable-id": "2m5lymudm0p", + "x-index": 6, + "properties": { + "t5looi3a83h": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "100%" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/ga-editor2.jpg", + "x-designable-id": "t5looi3a83h", + "x-index": 0 + } + } + }, + "hqup31prbts": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "style": { + "display": "flex", + "justifyContent": "center", + "flexDirection": "row" + }, + "gridSpan": 12 + }, + "x-designable-id": "hqup31prbts", + "x-index": 7, + "properties": { + "1gpnqfqpkv0": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "100%" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/ga-preview2.jpg", + "x-designable-id": "1gpnqfqpkv0", + "x-index": 0 + } + } + }, + "57ybbln58bm": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "gridSpan": 12 + }, + "x-designable-id": "57ybbln58bm", + "x-index": 8, + "properties": { + "7y0cawwx4pp": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "2、用户可以添加各种自动化任务脚本", + "style": { + "fontSize": "18px" + } + }, + "x-designable-id": "7y0cawwx4pp", + "x-index": 0 + } + } + }, + "zyb6c91zqax": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "gridSpan": 12, + "style": { + "display": "flex", + "justifyContent": "center", + "flexDirection": "row" + } + }, + "x-designable-id": "zyb6c91zqax", + "x-index": 9, + "properties": { + "c1lujmpl3px": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "100%" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/ga-userScripts-manage.png", + "x-designable-id": "c1lujmpl3px", + "x-index": 0 + } + } + }, + "0rv1s2an44r": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "gridSpan": 12, + "style": { + "display": "flex", + "justifyContent": "center", + "flexDirection": "row" + } + }, + "x-designable-id": "0rv1s2an44r", + "x-index": 10, + "properties": { + "pt2rwtqgpuu": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "100%" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/ga-userScripts-preview.png", + "x-designable-id": "pt2rwtqgpuu", + "x-index": 0 + } + } + }, + "adser5gxls7": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "style": { + "display": "flex", + "justifyContent": "flex-end", + "flexDirection": "row" + }, + "gridSpan": 6 + }, + "x-designable-id": "adser5gxls7", + "x-index": 11, + "properties": { + "gxycxdcfcqh": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "type": "primary", + "children": "查看 Gitee 安装", + "size": "large", + "style": { + "margin": "20px 0px 20px 0px" + } + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n $chrome.tabs.create({\n url: \"https://gitee.com/bingoogolapple/bga-god-assistant-config\",\n })\n },\n})\n" + } + }, + "x-designable-id": "gxycxdcfcqh", + "x-index": 0 + } + } + }, + "ykrebxo3ql4": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "style": { + "display": "flex", + "justifyContent": "flex-start", + "flexDirection": "row" + }, + "gridSpan": 6 + }, + "x-designable-id": "ykrebxo3ql4", + "x-index": 12, + "properties": { + "psvgy57wqxu": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "type": "primary", + "children": "查看 GitHub 安装", + "size": "large", + "style": { + "margin": "20px 0px 20px 0px" + } + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n $chrome.tabs.create({\n url: \"https://github.com/bingoogolapple/bga-god-assistant-config\",\n })\n },\n})\n" + } + }, + "x-designable-id": "psvgy57wqxu", + "x-index": 0 + } + } + }, + "tr2q92r7km5": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "gridSpan": 6, + "style": { + "display": "flex", + "justifyContent": "center", + "flexDirection": "row", + "alignItems": "center" + } + }, + "x-designable-id": "tr2q92r7km5", + "x-index": 13, + "properties": { + "4h54l3baxkz": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "扫码加微信群咨询或反馈问题", + "styles": { + "title": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center" + }, + "body": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center" + } + }, + "style": { + "width": "410px", + "height": "390px" + } + }, + "x-designable-id": "4h54l3baxkz", + "x-index": 0, + "properties": { + "yme3v3lfyvp": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "180px" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/WeChatGroup1QrCode.jpg", + "x-designable-id": "yme3v3lfyvp", + "x-index": 0 + } + } + } + } + }, + "70ki77gkysd": { + "type": "void", + "x-component": "FormGrid.GridColumn", + "x-validator": [], + "x-component-props": { + "gridSpan": 6, + "style": { + "display": "flex", + "justifyContent": "center", + "flexDirection": "row", + "alignItems": "center" + } + }, + "x-designable-id": "70ki77gkysd", + "x-index": 14, + "properties": { + "6rvhggvh6gf": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "扫码加作者微信咨询或反馈问题", + "styles": { + "title": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center" + }, + "body": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center" + } + }, + "style": { + "width": "410px", + "height": "390px" + } + }, + "x-designable-id": "6rvhggvh6gf", + "x-index": 0, + "properties": { + "ga72h9adc6s": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "180px" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/BGAQrCode.jpg", + "x-designable-id": "ga72h9adc6s", + "x-index": 0 + } + } + } + } + } + } + } + }, + "x-designable-id": "j8og0rt2isu" + } +} \ No newline at end of file diff --git a/buildSelfSchema/LowCodePageTemplateMarket.json b/buildSelfSchema/LowCodePageTemplateMarket.json new file mode 100644 index 0000000..3efc795 --- /dev/null +++ b/buildSelfSchema/LowCodePageTemplateMarket.json @@ -0,0 +1,138 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12 + }, + "schema": { + "type": "object", + "properties": { + "ewxgclzzfvp": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center", + "padding": "20px 20px 20px 20px" + } + }, + "x-designable-id": "ewxgclzzfvp", + "x-index": 0, + "properties": { + "x7m2iwm6z3l": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "低码页面模板市场-敬请期待", + "style": { + "fontSize": "24px" + } + }, + "x-designable-id": "x7m2iwm6z3l", + "x-index": 0 + }, + "z02kiowdggl": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "space-around", + "alignItems": "center", + "margin": "20px 0px 0px 0px", + "width": "100%" + } + }, + "x-designable-id": "z02kiowdggl", + "x-index": 1, + "properties": { + "6rvhggvh6gf": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "扫下方二维码加作者微信催更该功能", + "styles": { + "title": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center" + }, + "body": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center" + } + }, + "style": { + "width": "410px", + "height": "390px" + } + }, + "x-designable-id": "6rvhggvh6gf", + "x-index": 0, + "properties": { + "ga72h9adc6s": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "180px" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/BGAQrCode.jpg", + "x-designable-id": "ga72h9adc6s", + "x-index": 0 + } + } + }, + "vrh7irzdd51": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "扫下方二维码加微信群催更该功能", + "styles": { + "title": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center" + }, + "body": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center" + } + }, + "style": { + "width": "410px", + "height": "390px" + } + }, + "x-designable-id": "vrh7irzdd51", + "x-index": 1, + "properties": { + "orl4ic2l9yz": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "180px" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/WeChatGroup1QrCode.jpg", + "x-designable-id": "orl4ic2l9yz", + "x-index": 0 + } + } + } + } + } + } + } + }, + "x-designable-id": "j8og0rt2isu" + } +} \ No newline at end of file diff --git a/buildSelfSchema/OpenVipDialog.json b/buildSelfSchema/OpenVipDialog.json new file mode 100644 index 0000000..82bfafa --- /dev/null +++ b/buildSelfSchema/OpenVipDialog.json @@ -0,0 +1,138 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12 + }, + "schema": { + "type": "object", + "properties": { + "ewxgclzzfvp": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center", + "padding": "20px 20px 20px 20px" + } + }, + "x-designable-id": "ewxgclzzfvp", + "x-index": 0, + "properties": { + "x7m2iwm6z3l": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "开通会员-敬请期待", + "style": { + "fontSize": "24px" + } + }, + "x-designable-id": "x7m2iwm6z3l", + "x-index": 0 + }, + "z02kiowdggl": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "space-around", + "alignItems": "center", + "margin": "20px 0px 0px 0px", + "width": "100%" + } + }, + "x-designable-id": "z02kiowdggl", + "x-index": 1, + "properties": { + "6rvhggvh6gf": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "扫下方二维码加作者微信催更该功能", + "styles": { + "title": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center" + }, + "body": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center" + } + }, + "style": { + "width": "410px", + "height": "390px" + } + }, + "x-designable-id": "6rvhggvh6gf", + "x-index": 0, + "properties": { + "ga72h9adc6s": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "180px" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/BGAQrCode.jpg", + "x-designable-id": "ga72h9adc6s", + "x-index": 0 + } + } + }, + "vrh7irzdd51": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "扫下方二维码加微信群催更该功能", + "styles": { + "title": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center" + }, + "body": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center" + } + }, + "style": { + "width": "410px", + "height": "390px" + } + }, + "x-designable-id": "vrh7irzdd51", + "x-index": 1, + "properties": { + "orl4ic2l9yz": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "180px" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/WeChatGroup1QrCode.jpg", + "x-designable-id": "orl4ic2l9yz", + "x-index": 0 + } + } + } + } + } + } + } + }, + "x-designable-id": "mk06mvbfv8k" + } +} diff --git a/buildSelfSchema/Privacy.json b/buildSelfSchema/Privacy.json new file mode 100644 index 0000000..704a02f --- /dev/null +++ b/buildSelfSchema/Privacy.json @@ -0,0 +1,121 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12 + }, + "schema": { + "type": "object", + "properties": { + "ewxgclzzfvp": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center", + "padding": "20px 20px 20px 20px" + } + }, + "x-designable-id": "ewxgclzzfvp", + "x-index": 0, + "properties": { + "x7m2iwm6z3l": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "上帝小助手无服务器,页面和配置信息都是托管到 git 仓库的", + "style": { + "fontSize": "24px" + } + }, + "x-designable-id": "x7m2iwm6z3l", + "x-index": 0 + }, + "2b4ug4hq3p4": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "因此不会收集任何用户信息", + "style": { + "fontSize": "24px", + "margin": "10px 0px 0px 0px" + } + }, + "x-designable-id": "2b4ug4hq3p4", + "x-index": 1 + }, + "q1yt6v4l5ix": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center", + "alignItems": "center", + "margin": "30px 0px 0px 0px" + } + }, + "x-designable-id": "q1yt6v4l5ix", + "properties": { + "gxycxdcfcqh": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "type": "primary", + "children": "查看 Gitee 仓库里的配置信息", + "size": "large" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n $chrome.tabs.create({\n url: \"https://gitee.com/bingoogolapple/bga-god-assistant-config\",\n })\n },\n})\n" + } + }, + "x-designable-id": "gxycxdcfcqh", + "x-index": 0 + }, + "uw7m66fzcly": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "type": "primary", + "children": "查看 GitHub 仓库里的配置信息", + "size": "large", + "style": { + "margin": "0px 0px 0px 50px" + } + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n $chrome.tabs.create({\n url: \"https://github.com/bingoogolapple/bga-god-assistant-config\",\n })\n },\n})\n" + } + }, + "x-designable-id": "uw7m66fzcly", + "x-index": 1 + } + }, + "x-index": 2 + } + } + } + }, + "x-designable-id": "oowbaegn6pp" + } +} diff --git a/buildSelfSchema/SettingAssistant.json b/buildSelfSchema/SettingAssistant.json new file mode 100644 index 0000000..5662979 --- /dev/null +++ b/buildSelfSchema/SettingAssistant.json @@ -0,0 +1,138 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12 + }, + "schema": { + "type": "object", + "properties": { + "ewxgclzzfvp": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center", + "padding": "20px 20px 20px 20px" + } + }, + "x-designable-id": "ewxgclzzfvp", + "x-index": 0, + "properties": { + "x7m2iwm6z3l": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "拓展选项设置-敬请期待", + "style": { + "fontSize": "24px" + } + }, + "x-designable-id": "x7m2iwm6z3l", + "x-index": 0 + }, + "z02kiowdggl": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "space-around", + "alignItems": "center", + "margin": "20px 0px 0px 0px", + "width": "100%" + } + }, + "x-designable-id": "z02kiowdggl", + "x-index": 1, + "properties": { + "6rvhggvh6gf": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "扫下方二维码加作者微信催更该功能", + "styles": { + "title": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center" + }, + "body": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center" + } + }, + "style": { + "width": "410px", + "height": "390px" + } + }, + "x-designable-id": "6rvhggvh6gf", + "x-index": 0, + "properties": { + "ga72h9adc6s": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "180px" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/BGAQrCode.jpg", + "x-designable-id": "ga72h9adc6s", + "x-index": 0 + } + } + }, + "vrh7irzdd51": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "扫下方二维码加微信群催更该功能", + "styles": { + "title": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center" + }, + "body": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center" + } + }, + "style": { + "width": "410px", + "height": "390px" + } + }, + "x-designable-id": "vrh7irzdd51", + "x-index": 1, + "properties": { + "orl4ic2l9yz": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "180px" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/WeChatGroup1QrCode.jpg", + "x-designable-id": "orl4ic2l9yz", + "x-index": 0 + } + } + } + } + } + } + } + }, + "x-designable-id": "ydj4r4so9jf" + } +} diff --git a/buildSelfSchema/UpdateVersion.json b/buildSelfSchema/UpdateVersion.json new file mode 100644 index 0000000..2022eeb --- /dev/null +++ b/buildSelfSchema/UpdateVersion.json @@ -0,0 +1,226 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12 + }, + "schema": { + "type": "object", + "properties": { + "ewxgclzzfvp": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center", + "padding": "0px 0px 20px 0px" + } + }, + "x-designable-id": "ewxgclzzfvp", + "x-index": 0, + "properties": { + "5pjdb56o8j7": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center", + "alignItems": "center", + "margin": "0px 0px 0px 0px" + } + }, + "x-designable-id": "5pjdb56o8j7", + "x-index": 0, + "properties": { + "4kwn0f8wdke": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "height": "60px", + "margin": "0px 0px 0px 0px", + "width": "60px", + "cursor": "pointer" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/ga-logo-128.png", + "x-designable-id": "4kwn0f8wdke", + "x-index": 0, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n $chrome.tabs.create({\n url: \"https://github.com/bingoogolapple/bga-god-assistant-config\",\n })\n },\n})\n" + } + } + }, + "ibo8dtq47sx": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "margin": "0px 24px 0px 24px", + "display": "flex", + "flexDirection": "column", + "alignItems": "flex-start", + "justifyContent": "center" + } + }, + "x-designable-id": "ibo8dtq47sx", + "x-index": 1, + "properties": { + "currentVersion": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "当前版本:" + }, + "name": "currentVersion", + "x-designable-id": "wxtojx6pwie", + "x-index": 0, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$chrome.runtime\n .getManifest()\n .then((manifest) => {\n $self.value = `当前版本:${manifest.version}`\n })\n .catch((e) => {\n $self.value = `当前版本:获取失败`\n })\n" + } + } + }, + "newVersion": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "最新版本:" + }, + "name": "newVersion", + "x-designable-id": "pztpvkq39p3", + "x-index": 1, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$utils\n .getAssistantConfig()\n .then((config) => {\n $self.value = `最新版本:${config.version}`\n })\n .catch((e) => {\n $self.value = `最新版本:获取失败`\n })\n" + } + } + } + } + }, + "changeLog": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "查看更新记录", + "size": "small", + "style": {} + }, + "name": "changeLog", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n $chrome.tabs.create({\n url: \"https://github.com/bingoogolapple/bga-god-assistant-config/blob/main/CHANGELOG.md\",\n })\n },\n})\n" + } + }, + "x-designable-id": "xbn5m98r2j8", + "x-index": 2 + } + } + }, + "z02kiowdggl": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center", + "alignItems": "center", + "margin": "20px 0px 0px 0px" + } + }, + "x-designable-id": "z02kiowdggl", + "x-index": 1, + "properties": { + "5o5y52shvxt": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "不知道扩展所在文件夹(即加载来源、加载位置)", + "style": { + "fontSize": "12px" + } + }, + "x-designable-id": "5o5y52shvxt", + "x-index": 0 + }, + "1oqjnhek4l8": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "size": "small", + "children": "点我查看扩展的加载来源、加载位置", + "icon": "QuestionCircleOutlined" + }, + "x-designable-id": "1oqjnhek4l8", + "x-index": 1, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: async () => {\n const id = await $chrome.runtime.getId()\n $chrome.windows.create({\n url: `chrome://extensions/?id=${id}`,\n type: \"popup\",\n left: 700,\n top: 100,\n width: 1000,\n height: 1000,\n })\n },\n})\n" + } + } + } + } + }, + "ga72h9adc6s": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "height": "240px", + "margin": "20px 0px 0px 0px" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/ga-update-version-choose-dir.png", + "x-designable-id": "ga72h9adc6s", + "x-index": 2 + } + } + } + }, + "x-designable-id": "10cbh4jn4ey" + } +} diff --git a/buildSelfSchema/UserScriptMarket.json b/buildSelfSchema/UserScriptMarket.json new file mode 100644 index 0000000..13e24ac --- /dev/null +++ b/buildSelfSchema/UserScriptMarket.json @@ -0,0 +1,138 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12 + }, + "schema": { + "type": "object", + "properties": { + "ewxgclzzfvp": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center", + "padding": "20px 20px 20px 20px" + } + }, + "x-designable-id": "ewxgclzzfvp", + "x-index": 0, + "properties": { + "x7m2iwm6z3l": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "用户脚本市场-敬请期待", + "style": { + "fontSize": "24px" + } + }, + "x-designable-id": "x7m2iwm6z3l", + "x-index": 0 + }, + "z02kiowdggl": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "space-around", + "alignItems": "center", + "margin": "20px 0px 0px 0px", + "width": "100%" + } + }, + "x-designable-id": "z02kiowdggl", + "x-index": 1, + "properties": { + "6rvhggvh6gf": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "扫下方二维码加作者微信催更该功能", + "styles": { + "title": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center" + }, + "body": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center" + } + }, + "style": { + "width": "410px", + "height": "390px" + } + }, + "x-designable-id": "6rvhggvh6gf", + "x-index": 0, + "properties": { + "ga72h9adc6s": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "180px" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/BGAQrCode.jpg", + "x-designable-id": "ga72h9adc6s", + "x-index": 0 + } + } + }, + "vrh7irzdd51": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "扫下方二维码加微信群催更该功能", + "styles": { + "title": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center" + }, + "body": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center" + } + }, + "style": { + "width": "410px", + "height": "390px" + } + }, + "x-designable-id": "vrh7irzdd51", + "x-index": 1, + "properties": { + "orl4ic2l9yz": { + "type": "string", + "x-component": "Img", + "x-validator": [], + "x-component-props": { + "style": { + "width": "180px" + } + }, + "default": "https://gitee.com/bingoogolapple/bga-god-assistant-config/raw/master/images/WeChatGroup1QrCode.jpg", + "x-designable-id": "orl4ic2l9yz", + "x-index": 0 + } + } + } + } + } + } + } + }, + "x-designable-id": "mk06mvbfv8k" + } +} diff --git a/config.json b/config.json new file mode 100644 index 0000000..59ce25c --- /dev/null +++ b/config.json @@ -0,0 +1,71 @@ +{ + "version": "0.1.6", + "updateUrl": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/god-assistant-0.1.6.zip", + "changelogUrl": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/CHANGELOG.md", + "blacklistUrl": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/configs/blacklistUrl.json", + "tailwindCss": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/configs/tailwindCss.json", + "vip": { + "enabled": false, + "configUrl": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/configs/vip.json", + "freeDay": 3 + }, + "defaultSchema": { + "demo": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/defaultSchema/demo.json", + "popup": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/defaultSchema/popup.json", + "newtab": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/defaultSchema/newtab.json", + "sidePanel": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/defaultSchema/sidePanel.json", + "devtoolsPanel": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/defaultSchema/devtoolsPanel.json", + "elementsSidebarPane": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/defaultSchema/elementsSidebarPane.json" + }, + "buildSelfSchemaList": [ + { + "key": "UpdateVersion", + "title": "更新版本", + "schemaUrl": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/buildSelfSchema/UpdateVersion.json", + "showInOptionsMenu": false, + "order": -1 + }, + { + "key": "OpenVipDialog", + "title": "上帝小助手开通会员提示", + "schemaUrl": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/buildSelfSchema/OpenVipDialog.json", + "showInOptionsMenu": false, + "order": -1 + }, + { + "key": "LowCodePageTemplateMarket", + "title": "低代码页面模板市场", + "schemaUrl": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/buildSelfSchema/LowCodePageTemplateMarket.json", + "showInOptionsMenu": true, + "order": 1 + }, + { + "key": "UserScriptMarket", + "title": "用户脚本市场", + "schemaUrl": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/buildSelfSchema/UserScriptMarket.json", + "showInOptionsMenu": true, + "order": 2 + }, + { + "key": "SettingAssistant", + "title": "扩展选项设置", + "schemaUrl": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/buildSelfSchema/SettingAssistant.json", + "showInOptionsMenu": true, + "order": 3 + }, + { + "key": "About", + "title": "关于", + "schemaUrl": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/buildSelfSchema/About.json", + "showInOptionsMenu": true, + "order": 4 + }, + { + "key": "Privacy", + "title": "隐私声明", + "schemaUrl": "https://raw.githubusercontent.com/bingoogolapple/bga-god-assistant-config/main/buildSelfSchema/Privacy.json", + "showInOptionsMenu": true, + "order": 5 + } + ] +} diff --git a/configs/blacklistUrl.json b/configs/blacklistUrl.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/configs/blacklistUrl.json @@ -0,0 +1 @@ +[] diff --git a/configs/tailwindCss.json b/configs/tailwindCss.json new file mode 100644 index 0000000..08b9f2f --- /dev/null +++ b/configs/tailwindCss.json @@ -0,0 +1,3500 @@ +{ + "Layout": { + "Container": ["container"], + "Display": [ + "block", + "inline-block", + "inline", + "flex", + "inline-flex", + "table", + "inline-table", + "table-caption", + "table-cell", + "table-column", + "table-column-group", + "table-footer-group", + "table-header-group", + "table-row-group", + "table-row", + "flow-root", + "grid", + "inline-grid", + "contents", + "list-item", + "hidden" + ], + "Floats": ["float-right", "float-left", "float-none"], + "Clear": ["clear-left", "clear-right", "clear-both", "clear-none"], + "Object Fit": [ + "object-contain", + "object-cover", + "object-fill", + "object-none", + "object-scale-down" + ], + "Object Position": [ + "object-bottom", + "object-center", + "object-left", + "object-left-bottom", + "object-left-top", + "object-right", + "object-right-bottom", + "object-right-top", + "object-top" + ], + "Overflow": [ + "overflow-auto", + "overflow-hidden", + "overflow-visible", + "overflow-scroll", + "overflow-x-auto", + "overflow-y-auto", + "overflow-x-hidden", + "overflow-y-hidden", + "overflow-x-visible", + "overflow-y-visible", + "overflow-x-scroll", + "overflow-y-scroll" + ], + "Position": ["static", "fixed", "absolute", "relative", "sticky"], + "Top/Right/Bottom/Left": [ + "inset-0", + "inset-y-0", + "inset-x-0", + "top-0", + "right-0", + "bottom-0", + "left-0", + "inset-1", + "inset-y-1", + "inset-x-1", + "top-1", + "right-1", + "bottom-1", + "left-1", + "inset-2", + "inset-y-2", + "inset-x-2", + "top-2", + "right-2", + "bottom-2", + "left-2", + "inset-3", + "inset-y-3", + "inset-x-3", + "top-3", + "right-3", + "bottom-3", + "left-3", + "inset-4", + "inset-y-4", + "inset-x-4", + "top-4", + "right-4", + "bottom-4", + "left-4", + "inset-5", + "inset-y-5", + "inset-x-5", + "top-5", + "right-5", + "bottom-5", + "left-5", + "inset-6", + "inset-y-6", + "inset-x-6", + "top-6", + "right-6", + "bottom-6", + "left-6", + "inset-7", + "inset-y-7", + "inset-x-7", + "top-7", + "right-7", + "bottom-7", + "left-7", + "inset-8", + "inset-y-8", + "inset-x-8", + "top-8", + "right-8", + "bottom-8", + "left-8", + "inset-9", + "inset-y-9", + "inset-x-9", + "top-9", + "right-9", + "bottom-9", + "left-9", + "inset-10", + "inset-y-10", + "inset-x-10", + "top-10", + "right-10", + "bottom-10", + "left-10", + "inset-11", + "inset-y-11", + "inset-x-11", + "top-11", + "right-11", + "bottom-11", + "left-11", + "inset-12", + "inset-y-12", + "inset-x-12", + "top-12", + "right-12", + "bottom-12", + "left-12", + "inset-14", + "inset-y-14", + "inset-x-14", + "top-14", + "right-14", + "bottom-14", + "left-14", + "inset-16", + "inset-y-16", + "inset-x-16", + "top-16", + "right-16", + "bottom-16", + "left-16", + "inset-20", + "inset-y-20", + "inset-x-20", + "top-20", + "right-20", + "bottom-20", + "left-20", + "inset-24", + "inset-y-24", + "inset-x-24", + "top-24", + "right-24", + "bottom-24", + "left-24", + "inset-28", + "inset-y-28", + "inset-x-28", + "top-28", + "right-28", + "bottom-28", + "left-28", + "inset-32", + "inset-y-32", + "inset-x-32", + "top-32", + "right-32", + "bottom-32", + "left-32", + "inset-36", + "inset-y-36", + "inset-x-36", + "top-36", + "right-36", + "bottom-36", + "left-36", + "inset-40", + "inset-y-40", + "inset-x-40", + "top-40", + "right-40", + "bottom-40", + "left-40", + "inset-44", + "inset-y-44", + "inset-x-44", + "top-44", + "right-44", + "bottom-44", + "left-44", + "inset-48", + "inset-y-48", + "inset-x-48", + "top-48", + "right-48", + "bottom-48", + "left-48", + "inset-52", + "inset-y-52", + "inset-x-52", + "top-52", + "right-52", + "bottom-52", + "left-52", + "inset-56", + "inset-y-56", + "inset-x-56", + "top-56", + "right-56", + "bottom-56", + "left-56", + "inset-60", + "inset-y-60", + "inset-x-60", + "top-60", + "right-60", + "bottom-60", + "left-60", + "inset-64", + "inset-y-64", + "inset-x-64", + "top-64", + "right-64", + "bottom-64", + "left-64", + "inset-72", + "inset-y-72", + "inset-x-72", + "top-72", + "right-72", + "bottom-72", + "left-72", + "inset-80", + "inset-y-80", + "inset-x-80", + "top-80", + "right-80", + "bottom-80", + "left-80", + "inset-96", + "inset-y-96", + "inset-x-96", + "top-96", + "right-96", + "bottom-96", + "left-96", + "inset-auto", + "inset-y-auto", + "inset-x-auto", + "top-auto", + "right-auto", + "bottom-auto", + "left-auto" + ], + "Visibility": ["visible", "invisible"], + "Z-Index": ["z-0", "z-10", "z-20", "z-30", "z-40", "z-50", "z-auto"] + }, + "Flexbox": { + "Flex Direction": [ + "flex-row", + "flex-row-reverse", + "flex-col", + "flex-col-reverse" + ], + "Flex Wrap": ["flex-wrap", "flex-wrap-reverse", "flex-nowrap"], + "Flex": ["flex-1", "flex-auto", "flex-initial", "flex-none"], + "Flex Grow": ["flex-grow", "flex-grow-0"], + "Flex Shrink": ["flex-shrink", "flex-shrink-0"], + "Order": [ + "order-1", + "order-2", + "order-3", + "order-4", + "order-5", + "order-6", + "order-7", + "order-8", + "order-9", + "order-10", + "order-11", + "order-12", + "order-first", + "order-last", + "order-none" + ] + }, + "Grid": { + "Grid Template Columns": [ + "grid-cols-1", + "grid-cols-2", + "grid-cols-3", + "grid-cols-4", + "grid-cols-5", + "grid-cols-6", + "grid-cols-7", + "grid-cols-8", + "grid-cols-9", + "grid-cols-10", + "grid-cols-11", + "grid-cols-12", + "grid-cols-none" + ], + "Grid Column": [ + "col-auto", + "col-span-1", + "col-span-2", + "col-span-3", + "col-span-4", + "col-span-5", + "col-span-6", + "col-span-7", + "col-span-8", + "col-span-9", + "col-span-10", + "col-span-11", + "col-span-12", + "col-start-1", + "col-start-2", + "col-start-3", + "col-start-4", + "col-start-5", + "col-start-6", + "col-start-7", + "col-start-8", + "col-start-9", + "col-start-10", + "col-start-11", + "col-start-12", + "col-start-13", + "col-start-auto", + "col-end-1", + "col-end-2", + "col-end-3", + "col-end-4", + "col-end-5", + "col-end-6", + "col-end-7", + "col-end-8", + "col-end-9", + "col-end-10", + "col-end-11", + "col-end-12", + "col-end-13", + "col-end-auto" + ], + "Grid Template Rows": [ + "grid-rows-1", + "grid-rows-2", + "grid-rows-3", + "grid-rows-4", + "grid-rows-5", + "grid-rows-6", + "grid-rows-none" + ], + "Grid Row": [ + "row-auto", + "row-span-1", + "row-span-2", + "row-span-3", + "row-span-4", + "row-span-5", + "row-span-6", + "row-start-1", + "row-start-2", + "row-start-3", + "row-start-4", + "row-start-5", + "row-start-6", + "row-start-7", + "row-start-auto", + "row-end-1", + "row-end-2", + "row-end-3", + "row-end-4", + "row-end-5", + "row-end-6", + "row-end-7", + "row-end-auto" + ], + "Gap": [ + "gap-0", + "gap-0.5", + "gap-1", + "gap-1.5", + "gap-2", + "gap-2.5", + "gap-3", + "gap-3.5", + "gap-4", + "gap-5", + "gap-6", + "gap-7", + "gap-8", + "gap-9", + "gap-10", + "gap-11", + "gap-12", + "gap-14", + "gap-16", + "gap-20", + "gap-24", + "gap-28", + "gap-32", + "gap-36", + "gap-40", + "gap-44", + "gap-48", + "gap-52", + "gap-56", + "gap-60", + "gap-64", + "gap-72", + "gap-80", + "gap-96", + "gap-px", + "gap-x-0", + "gap-x-0.5", + "gap-x-1", + "gap-x-1.5", + "gap-x-2", + "gap-x-2.5", + "gap-x-3", + "gap-x-3.5", + "gap-x-4", + "gap-x-5", + "gap-x-6", + "gap-x-7", + "gap-x-8", + "gap-x-9", + "gap-x-10", + "gap-x-11", + "gap-x-12", + "gap-x-14", + "gap-x-16", + "gap-x-20", + "gap-x-24", + "gap-x-28", + "gap-x-32", + "gap-x-36", + "gap-x-40", + "gap-x-44", + "gap-x-48", + "gap-x-52", + "gap-x-56", + "gap-x-60", + "gap-x-64", + "gap-x-72", + "gap-x-80", + "gap-x-96", + "gap-x-px", + "gap-y-0", + "gap-y-0.5", + "gap-y-1", + "gap-y-1.5", + "gap-y-2", + "gap-y-2.5", + "gap-y-3", + "gap-y-3.5", + "gap-y-4", + "gap-y-5", + "gap-y-6", + "gap-y-7", + "gap-y-8", + "gap-y-9", + "gap-y-10", + "gap-y-11", + "gap-y-12", + "gap-y-14", + "gap-y-16", + "gap-y-20", + "gap-y-24", + "gap-y-28", + "gap-y-32", + "gap-y-36", + "gap-y-40", + "gap-y-44", + "gap-y-48", + "gap-y-52", + "gap-y-56", + "gap-y-60", + "gap-y-64", + "gap-y-72", + "gap-y-80", + "gap-y-96", + "gap-y-px" + ], + "Justify Content": [ + "justify-start", + "justify-end", + "justify-center", + "justify-between", + "justify-around", + "justify-evenly" + ], + "Align Content": [ + "content-center", + "content-start", + "content-end", + "content-between", + "content-around", + "content-evenly" + ], + "Justify Items": [ + "justify-items-start", + "justify-items-end", + "justify-items-center", + "justify-items-stretch" + ], + "Align Items": [ + "items-start", + "items-end", + "items-center", + "items-baseline", + "items-stretch" + ], + "Justify Self": [ + "justify-self-auto", + "justify-self-start", + "justify-self-end", + "justify-self-center", + "justify-self-stretch" + ], + "Align Self": [ + "self-auto", + "self-start", + "self-end", + "self-center", + "self-stretch" + ], + "Place Content": [ + "place-content-center", + "place-content-start", + "place-content-end", + "place-content-between", + "place-content-around", + "place-content-evenly" + ], + "Place Items": [ + "place-items-start", + "place-items-end", + "place-items-center", + "place-items-stretch" + ] + }, + "Spacing": { + "Padding": [ + "p-0", + "p-0.5", + "p-1", + "p-1.5", + "p-2", + "p-2.5", + "p-3", + "p-3.5", + "p-4", + "p-5", + "p-6", + "p-7", + "p-8", + "p-9", + "p-10", + "p-11", + "p-12", + "p-14", + "p-16", + "p-20", + "p-24", + "p-28", + "p-32", + "p-36", + "p-40", + "p-44", + "p-48", + "p-52", + "p-56", + "p-60", + "p-64", + "p-72", + "p-80", + "p-96", + "p-px", + "py-0", + "py-0.5", + "py-1", + "py-1.5", + "py-2", + "py-2.5", + "py-3", + "py-3.5", + "py-4", + "py-5", + "py-6", + "py-7", + "py-8", + "py-9", + "py-10", + "py-11", + "py-12", + "py-14", + "py-16", + "py-20", + "py-24", + "py-28", + "py-32", + "py-36", + "py-40", + "py-44", + "py-48", + "py-52", + "py-56", + "py-60", + "py-64", + "py-72", + "py-80", + "py-96", + "py-px", + "px-0", + "px-0.5", + "px-1", + "px-1.5", + "px-2", + "px-2.5", + "px-3", + "px-3.5", + "px-4", + "px-5", + "px-6", + "px-7", + "px-8", + "px-9", + "px-10", + "px-11", + "px-12", + "px-14", + "px-16", + "px-20", + "px-24", + "px-28", + "px-32", + "px-36", + "px-40", + "px-44", + "px-48", + "px-52", + "px-56", + "px-60", + "px-64", + "px-72", + "px-80", + "px-96", + "px-px", + "pt-0", + "pt-0.5", + "pt-1", + "pt-1.5", + "pt-2", + "pt-2.5", + "pt-3", + "pt-3.5", + "pt-4", + "pt-5", + "pt-6", + "pt-7", + "pt-8", + "pt-9", + "pt-10", + "pt-11", + "pt-12", + "pt-14", + "pt-16", + "pt-20", + "pt-24", + "pt-28", + "pt-32", + "pt-36", + "pt-40", + "pt-44", + "pt-48", + "pt-52", + "pt-56", + "pt-60", + "pt-64", + "pt-72", + "pt-80", + "pt-96", + "pt-px", + "pr-0", + "pr-0.5", + "pr-1", + "pr-1.5", + "pr-2", + "pr-2.5", + "pr-3", + "pr-3.5", + "pr-4", + "pr-5", + "pr-6", + "pr-7", + "pr-8", + "pr-9", + "pr-10", + "pr-11", + "pr-12", + "pr-14", + "pr-16", + "pr-20", + "pr-24", + "pr-28", + "pr-32", + "pr-36", + "pr-40", + "pr-44", + "pr-48", + "pr-52", + "pr-56", + "pr-60", + "pr-64", + "pr-72", + "pr-80", + "pr-96", + "pr-px", + "pb-0", + "pb-0.5", + "pb-1", + "pb-1.5", + "pb-2", + "pb-2.5", + "pb-3", + "pb-3.5", + "pb-4", + "pb-5", + "pb-6", + "pb-7", + "pb-8", + "pb-9", + "pb-10", + "pb-11", + "pb-12", + "pb-14", + "pb-16", + "pb-20", + "pb-24", + "pb-28", + "pb-32", + "pb-36", + "pb-40", + "pb-44", + "pb-48", + "pb-52", + "pb-56", + "pb-60", + "pb-64", + "pb-72", + "pb-80", + "pb-96", + "pb-px", + "pl-0", + "pl-0.5", + "pl-1", + "pl-1.5", + "pl-2", + "pl-2.5", + "pl-3", + "pl-3.5", + "pl-4", + "pl-5", + "pl-6", + "pl-7", + "pl-8", + "pl-9", + "pl-10", + "pl-11", + "pl-12", + "pl-14", + "pl-16", + "pl-20", + "pl-24", + "pl-28", + "pl-32", + "pl-36", + "pl-40", + "pl-44", + "pl-48", + "pl-52", + "pl-56", + "pl-60", + "pl-64", + "pl-72", + "pl-80", + "pl-96", + "pl-px" + ], + "Margin": [ + "m-0", + "m-0.5", + "m-1", + "m-1.5", + "m-2", + "m-2.5", + "m-3", + "m-3.5", + "m-4", + "m-5", + "m-6", + "m-7", + "m-8", + "m-9", + "m-10", + "m-11", + "m-12", + "m-14", + "m-16", + "m-20", + "m-24", + "m-28", + "m-32", + "m-36", + "m-40", + "m-44", + "m-48", + "m-52", + "m-56", + "m-60", + "m-64", + "m-72", + "m-80", + "m-96", + "m-auto", + "m-px", + "my-0", + "my-0.5", + "my-1", + "my-1.5", + "my-2", + "my-2.5", + "my-3", + "my-3.5", + "my-4", + "my-5", + "my-6", + "my-7", + "my-8", + "my-9", + "my-10", + "my-11", + "my-12", + "my-14", + "my-16", + "my-20", + "my-24", + "my-28", + "my-32", + "my-36", + "my-40", + "my-44", + "my-48", + "my-52", + "my-56", + "my-60", + "my-64", + "my-72", + "my-80", + "my-96", + "my-auto", + "my-px", + "mx-0", + "mx-0.5", + "mx-1", + "mx-1.5", + "mx-2", + "mx-2.5", + "mx-3", + "mx-3.5", + "mx-4", + "mx-5", + "mx-6", + "mx-7", + "mx-8", + "mx-9", + "mx-10", + "mx-11", + "mx-12", + "mx-14", + "mx-16", + "mx-20", + "mx-24", + "mx-28", + "mx-32", + "mx-36", + "mx-40", + "mx-44", + "mx-48", + "mx-52", + "mx-56", + "mx-60", + "mx-64", + "mx-72", + "mx-80", + "mx-96", + "mx-auto", + "mx-px", + "mt-0", + "mt-0.5", + "mt-1", + "mt-1.5", + "mt-2", + "mt-2.5", + "mt-3", + "mt-3.5", + "mt-4", + "mt-5", + "mt-6", + "mt-7", + "mt-8", + "mt-9", + "mt-10", + "mt-11", + "mt-12", + "mt-14", + "mt-16", + "mt-20", + "mt-24", + "mt-28", + "mt-32", + "mt-36", + "mt-40", + "mt-44", + "mt-48", + "mt-52", + "mt-56", + "mt-60", + "mt-64", + "mt-72", + "mt-80", + "mt-96", + "mt-auto", + "mt-px", + "mr-0", + "mr-0.5", + "mr-1", + "mr-1.5", + "mr-2", + "mr-2.5", + "mr-3", + "mr-3.5", + "mr-4", + "mr-5", + "mr-6", + "mr-7", + "mr-8", + "mr-9", + "mr-10", + "mr-11", + "mr-12", + "mr-14", + "mr-16", + "mr-20", + "mr-24", + "mr-28", + "mr-32", + "mr-36", + "mr-40", + "mr-44", + "mr-48", + "mr-52", + "mr-56", + "mr-60", + "mr-64", + "mr-72", + "mr-80", + "mr-96", + "mr-auto", + "mr-px", + "mb-0", + "mb-0.5", + "mb-1", + "mb-1.5", + "mb-2", + "mb-2.5", + "mb-3", + "mb-3.5", + "mb-4", + "mb-5", + "mb-6", + "mb-7", + "mb-8", + "mb-9", + "mb-10", + "mb-11", + "mb-12", + "mb-14", + "mb-16", + "mb-20", + "mb-24", + "mb-28", + "mb-32", + "mb-36", + "mb-40", + "mb-44", + "mb-48", + "mb-52", + "mb-56", + "mb-60", + "mb-64", + "mb-72", + "mb-80", + "mb-96", + "mb-auto", + "mb-px", + "ml-0", + "ml-0.5", + "ml-1", + "ml-1.5", + "ml-2", + "ml-2.5", + "ml-3", + "ml-3.5", + "ml-4", + "ml-5", + "ml-6", + "ml-7", + "ml-8", + "ml-9", + "ml-10", + "ml-11", + "ml-12", + "ml-14", + "ml-16", + "ml-20", + "ml-24", + "ml-28", + "ml-32", + "ml-36", + "ml-40", + "ml-44", + "ml-48", + "ml-52", + "ml-56", + "ml-60", + "ml-64", + "ml-72", + "ml-80", + "ml-96", + "ml-auto", + "ml-px" + ], + "Space Between": [ + "space-x-0", + "space-x-0.5", + "space-x-1", + "space-x-1.5", + "space-x-2", + "space-x-2.5", + "space-x-3", + "space-x-3.5", + "space-x-4", + "space-x-5", + "space-x-6", + "space-x-7", + "space-x-8", + "space-x-9", + "space-x-10", + "space-x-11", + "space-x-12", + "space-x-14", + "space-x-16", + "space-x-20", + "space-x-24", + "space-x-28", + "space-x-32", + "space-x-36", + "space-x-40", + "space-x-44", + "space-x-48", + "space-x-52", + "space-x-56", + "space-x-60", + "space-x-64", + "space-x-72", + "space-x-80", + "space-x-96", + "space-x-px", + "space-x-reverse", + "space-y-0", + "space-y-0.5", + "space-y-1", + "space-y-1.5", + "space-y-2", + "space-y-2.5", + "space-y-3", + "space-y-3.5", + "space-y-4", + "space-y-5", + "space-y-6", + "space-y-7", + "space-y-8", + "space-y-9", + "space-y-10", + "space-y-11", + "space-y-12", + "space-y-14", + "space-y-16", + "space-y-20", + "space-y-24", + "space-y-28", + "space-y-32", + "space-y-36", + "space-y-40", + "space-y-44", + "space-y-48", + "space-y-52", + "space-y-56", + "space-y-60", + "space-y-64", + "space-y-72", + "space-y-80", + "space-y-96", + "space-y-px", + "space-y-reverse" + ] + }, + "Sizing": { + "Width": [ + "w-0", + "w-0.5", + "w-1", + "w-1.5", + "w-2", + "w-2.5", + "w-3", + "w-3.5", + "w-4", + "w-5", + "w-6", + "w-7", + "w-8", + "w-9", + "w-10", + "w-11", + "w-12", + "w-14", + "w-16", + "w-20", + "w-24", + "w-28", + "w-32", + "w-36", + "w-40", + "w-44", + "w-48", + "w-52", + "w-56", + "w-60", + "w-64", + "w-72", + "w-80", + "w-96", + "w-auto", + "w-px", + "w-1/2", + "w-1/3", + "w-2/3", + "w-1/4", + "w-2/4", + "w-3/4", + "w-1/5", + "w-2/5", + "w-3/5", + "w-4/5", + "w-1/6", + "w-2/6", + "w-3/6", + "w-4/6", + "w-5/6", + "w-1/12", + "w-2/12", + "w-3/12", + "w-4/12", + "w-5/12", + "w-6/12", + "w-7/12", + "w-8/12", + "w-9/12", + "w-10/12", + "w-11/12", + "w-full", + "w-screen", + "w-min", + "w-max", + "w-fit" + ], + "Min-Width": [ + "min-w-0", + "min-w-full", + "min-w-min", + "min-w-max", + "min-w-fit" + ], + "Max-Width": [ + "max-w-0", + "max-w-none", + "max-w-xs", + "max-w-sm", + "max-w-md", + "max-w-lg", + "max-w-xl", + "max-w-2xl", + "max-w-3xl", + "max-w-4xl", + "max-w-5xl", + "max-w-6xl", + "max-w-7xl", + "max-w-full", + "max-w-min", + "max-w-max", + "max-w-fit", + "max-w-prose", + "max-w-screen-sm", + "max-w-screen-md", + "max-w-screen-lg", + "max-w-screen-xl", + "max-w-screen-2xl" + ], + "Height": [ + "h-0", + "h-0.5", + "h-1", + "h-1.5", + "h-2", + "h-2.5", + "h-3", + "h-3.5", + "h-4", + "h-5", + "h-6", + "h-7", + "h-8", + "h-9", + "h-10", + "h-11", + "h-12", + "h-14", + "h-16", + "h-20", + "h-24", + "h-28", + "h-32", + "h-36", + "h-40", + "h-44", + "h-48", + "h-52", + "h-56", + "h-60", + "h-64", + "h-72", + "h-80", + "h-96", + "h-auto", + "h-px", + "h-1/2", + "h-1/3", + "h-2/3", + "h-1/4", + "h-2/4", + "h-3/4", + "h-1/5", + "h-2/5", + "h-3/5", + "h-4/5", + "h-1/6", + "h-2/6", + "h-3/6", + "h-4/6", + "h-5/6", + "h-full", + "h-screen", + "h-min", + "h-max", + "h-fit" + ], + "Min-Height": [ + "min-h-0", + "min-h-full", + "min-h-screen", + "min-h-min", + "min-h-max", + "min-h-fit" + ], + "Max-Height": [ + "max-h-0", + "max-h-0.5", + "max-h-1", + "max-h-1.5", + "max-h-2", + "max-h-2.5", + "max-h-3", + "max-h-3.5", + "max-h-4", + "max-h-5", + "max-h-6", + "max-h-7", + "max-h-8", + "max-h-9", + "max-h-10", + "max-h-11", + "max-h-12", + "max-h-14", + "max-h-16", + "max-h-20", + "max-h-24", + "max-h-28", + "max-h-32", + "max-h-36", + "max-h-40", + "max-h-44", + "max-h-48", + "max-h-52", + "max-h-56", + "max-h-60", + "max-h-64", + "max-h-72", + "max-h-80", + "max-h-96", + "max-h-screen", + "max-h-full", + "max-h-min", + "max-h-max", + "max-h-fit" + ] + }, + "Typography": { + "Font Family": ["font-sans", "font-serif", "font-mono"], + "Font Size": [ + "text-xs", + "text-sm", + "text-base", + "text-lg", + "text-xl", + "text-2xl", + "text-3xl", + "text-4xl", + "text-5xl", + "text-6xl", + "text-7xl", + "text-8xl", + "text-9xl" + ], + "Font Smoothing": ["antialiased", "subpixel-antialiased"], + "Font Style": ["italic", "not-italic"], + "Font Weight": [ + "font-thin", + "font-extralight", + "font-light", + "font-normal", + "font-medium", + "font-semibold", + "font-bold", + "font-extrabold", + "font-black" + ], + "Font Variant Numeric": [ + "normal-nums", + "ordinal", + "slashed-zero", + "lining-nums", + "oldstyle-nums", + "proportional-nums", + "tabular-nums", + "diagonal-fractions", + "stacked-fractions" + ], + "Letter Spacing": [ + "tracking-tighter", + "tracking-tight", + "tracking-normal", + "tracking-wide", + "tracking-wider", + "tracking-widest" + ], + "Line Height": [ + "leading-3", + "leading-4", + "leading-5", + "leading-6", + "leading-7", + "leading-8", + "leading-9", + "leading-10", + "leading-none", + "leading-tight", + "leading-snug", + "leading-normal", + "leading-relaxed", + "leading-loose" + ], + "List Style Type": ["list-none", "list-disc", "list-decimal"], + "List Style Position": ["list-inside", "list-outside"], + "Text Align": ["text-left", "text-center", "text-right", "text-justify"], + "Text Color": [ + "text-transparent", + "text-black", + "text-white", + "text-gray-50", + "text-gray-100", + "text-gray-200", + "text-gray-300", + "text-gray-400", + "text-gray-500", + "text-gray-600", + "text-gray-700", + "text-gray-800", + "text-gray-900", + "text-red-50", + "text-red-100", + "text-red-200", + "text-red-300", + "text-red-400", + "text-red-500", + "text-red-600", + "text-red-700", + "text-red-800", + "text-red-900", + "text-yellow-50", + "text-yellow-100", + "text-yellow-200", + "text-yellow-300", + "text-yellow-400", + "text-yellow-500", + "text-yellow-600", + "text-yellow-700", + "text-yellow-800", + "text-yellow-900", + "text-green-50", + "text-green-100", + "text-green-200", + "text-green-300", + "text-green-400", + "text-green-500", + "text-green-600", + "text-green-700", + "text-green-800", + "text-green-900", + "text-blue-50", + "text-blue-100", + "text-blue-200", + "text-blue-300", + "text-blue-400", + "text-blue-500", + "text-blue-600", + "text-blue-700", + "text-blue-800", + "text-blue-900", + "text-indigo-50", + "text-indigo-100", + "text-indigo-200", + "text-indigo-300", + "text-indigo-400", + "text-indigo-500", + "text-indigo-600", + "text-indigo-700", + "text-indigo-800", + "text-indigo-900", + "text-purple-50", + "text-purple-100", + "text-purple-200", + "text-purple-300", + "text-purple-400", + "text-purple-500", + "text-purple-600", + "text-purple-700", + "text-purple-800", + "text-purple-900", + "text-pink-50", + "text-pink-100", + "text-pink-200", + "text-pink-300", + "text-pink-400", + "text-pink-500", + "text-pink-600", + "text-pink-700", + "text-pink-800", + "text-pink-900" + ], + "Text Decoration": [ + "underline", + "overline", + "line-through", + "no-underline" + ], + "Text Transform": ["uppercase", "lowercase", "capitalize", "normal-case"], + "Text Overflow": ["truncate", "overflow-ellipsis", "overflow-clip"], + "Vertical Align": [ + "align-baseline", + "align-top", + "align-middle", + "align-bottom", + "align-text-top", + "align-text-bottom", + "align-sub", + "align-super" + ], + "Whitespace": [ + "whitespace-normal", + "whitespace-nowrap", + "whitespace-pre", + "whitespace-pre-line", + "whitespace-pre-wrap" + ], + "Word Break": ["break-normal", "break-words", "break-all"], + "Content": ["content-none"] + }, + "Backgrounds": { + "Background Attachment": ["bg-fixed", "bg-local", "bg-scroll"], + "Background Clip": [ + "bg-clip-border", + "bg-clip-padding", + "bg-clip-content", + "bg-clip-text" + ], + "Background Color": [ + "bg-transparent", + "bg-black", + "bg-white", + "bg-gray-50", + "bg-gray-100", + "bg-gray-200", + "bg-gray-300", + "bg-gray-400", + "bg-gray-500", + "bg-gray-600", + "bg-gray-700", + "bg-gray-800", + "bg-gray-900", + "bg-red-50", + "bg-red-100", + "bg-red-200", + "bg-red-300", + "bg-red-400", + "bg-red-500", + "bg-red-600", + "bg-red-700", + "bg-red-800", + "bg-red-900", + "bg-yellow-50", + "bg-yellow-100", + "bg-yellow-200", + "bg-yellow-300", + "bg-yellow-400", + "bg-yellow-500", + "bg-yellow-600", + "bg-yellow-700", + "bg-yellow-800", + "bg-yellow-900", + "bg-green-50", + "bg-green-100", + "bg-green-200", + "bg-green-300", + "bg-green-400", + "bg-green-500", + "bg-green-600", + "bg-green-700", + "bg-green-800", + "bg-green-900", + "bg-blue-50", + "bg-blue-100", + "bg-blue-200", + "bg-blue-300", + "bg-blue-400", + "bg-blue-500", + "bg-blue-600", + "bg-blue-700", + "bg-blue-800", + "bg-blue-900", + "bg-indigo-50", + "bg-indigo-100", + "bg-indigo-200", + "bg-indigo-300", + "bg-indigo-400", + "bg-indigo-500", + "bg-indigo-600", + "bg-indigo-700", + "bg-indigo-800", + "bg-indigo-900", + "bg-purple-50", + "bg-purple-100", + "bg-purple-200", + "bg-purple-300", + "bg-purple-400", + "bg-purple-500", + "bg-purple-600", + "bg-purple-700", + "bg-purple-800", + "bg-purple-900", + "bg-pink-50", + "bg-pink-100", + "bg-pink-200", + "bg-pink-300", + "bg-pink-400", + "bg-pink-500", + "bg-pink-600", + "bg-pink-700", + "bg-pink-800", + "bg-pink-900" + ], + "Background Origin": [ + "bg-origin-border", + "bg-origin-padding", + "bg-origin-content" + ], + "Background Position": [ + "bg-bottom", + "bg-center", + "bg-left", + "bg-left-bottom", + "bg-left-top", + "bg-right", + "bg-right-bottom", + "bg-right-top", + "bg-top" + ], + "Background Repeat": [ + "bg-repeat", + "bg-no-repeat", + "bg-repeat-x", + "bg-repeat-y", + "bg-repeat-round", + "bg-repeat-space" + ], + "Background Size": ["bg-auto", "bg-cover", "bg-contain"], + "Background Image": [ + "bg-none", + "bg-gradient-to-t", + "bg-gradient-to-tr", + "bg-gradient-to-r", + "bg-gradient-to-br", + "bg-gradient-to-b", + "bg-gradient-to-bl", + "bg-gradient-to-l", + "bg-gradient-to-tl" + ] + }, + "Borders": { + "Border Radius": [ + "rounded-none", + "rounded-sm", + "rounded", + "rounded-md", + "rounded-lg", + "rounded-xl", + "rounded-2xl", + "rounded-3xl", + "rounded-full", + "rounded-t-none", + "rounded-r-none", + "rounded-b-none", + "rounded-l-none", + "rounded-t-sm", + "rounded-r-sm", + "rounded-b-sm", + "rounded-l-sm", + "rounded-t", + "rounded-r", + "rounded-b", + "rounded-l", + "rounded-t-md", + "rounded-r-md", + "rounded-b-md", + "rounded-l-md", + "rounded-t-lg", + "rounded-r-lg", + "rounded-b-lg", + "rounded-l-lg", + "rounded-t-xl", + "rounded-r-xl", + "rounded-b-xl", + "rounded-l-xl", + "rounded-t-2xl", + "rounded-r-2xl", + "rounded-b-2xl", + "rounded-l-2xl", + "rounded-t-3xl", + "rounded-r-3xl", + "rounded-b-3xl", + "rounded-l-3xl", + "rounded-t-full", + "rounded-r-full", + "rounded-b-full", + "rounded-l-full", + "rounded-tl-none", + "rounded-tr-none", + "rounded-br-none", + "rounded-bl-none", + "rounded-tl-sm", + "rounded-tr-sm", + "rounded-br-sm", + "rounded-bl-sm", + "rounded-tl", + "rounded-tr", + "rounded-br", + "rounded-bl", + "rounded-tl-md", + "rounded-tr-md", + "rounded-br-md", + "rounded-bl-md", + "rounded-tl-lg", + "rounded-tr-lg", + "rounded-br-lg", + "rounded-bl-lg", + "rounded-tl-xl", + "rounded-tr-xl", + "rounded-br-xl", + "rounded-bl-xl", + "rounded-tl-2xl", + "rounded-tr-2xl", + "rounded-br-2xl", + "rounded-bl-2xl", + "rounded-tl-3xl", + "rounded-tr-3xl", + "rounded-br-3xl", + "rounded-bl-3xl", + "rounded-tl-full", + "rounded-tr-full", + "rounded-br-full", + "rounded-bl-full" + ], + "Border Width": [ + "border-0", + "border-2", + "border-4", + "border-8", + "border", + "border-t-0", + "border-r-0", + "border-b-0", + "border-l-0", + "border-t-2", + "border-r-2", + "border-b-2", + "border-l-2", + "border-t-4", + "border-r-4", + "border-b-4", + "border-l-4", + "border-t-8", + "border-r-8", + "border-b-8", + "border-l-8", + "border-t", + "border-r", + "border-b", + "border-l" + ], + "Border Color": [ + "border-transparent", + "border-black", + "border-white", + "border-gray-50", + "border-gray-100", + "border-gray-200", + "border-gray-300", + "border-gray-400", + "border-gray-500", + "border-gray-600", + "border-gray-700", + "border-gray-800", + "border-gray-900", + "border-red-50", + "border-red-100", + "border-red-200", + "border-red-300", + "border-red-400", + "border-red-500", + "border-red-600", + "border-red-700", + "border-red-800", + "border-red-900", + "border-yellow-50", + "border-yellow-100", + "border-yellow-200", + "border-yellow-300", + "border-yellow-400", + "border-yellow-500", + "border-yellow-600", + "border-yellow-700", + "border-yellow-800", + "border-yellow-900", + "border-green-50", + "border-green-100", + "border-green-200", + "border-green-300", + "border-green-400", + "border-green-500", + "border-green-600", + "border-green-700", + "border-green-800", + "border-green-900", + "border-blue-50", + "border-blue-100", + "border-blue-200", + "border-blue-300", + "border-blue-400", + "border-blue-500", + "border-blue-600", + "border-blue-700", + "border-blue-800", + "border-blue-900", + "border-indigo-50", + "border-indigo-100", + "border-indigo-200", + "border-indigo-300", + "border-indigo-400", + "border-indigo-500", + "border-indigo-600", + "border-indigo-700", + "border-indigo-800", + "border-indigo-900", + "border-purple-50", + "border-purple-100", + "border-purple-200", + "border-purple-300", + "border-purple-400", + "border-purple-500", + "border-purple-600", + "border-purple-700", + "border-purple-800", + "border-purple-900", + "border-pink-50", + "border-pink-100", + "border-pink-200", + "border-pink-300", + "border-pink-400", + "border-pink-500", + "border-pink-600", + "border-pink-700", + "border-pink-800", + "border-pink-900" + ], + "Border Opacity": [ + "border-opacity-0", + "border-opacity-5", + "border-opacity-10", + "border-opacity-20", + "border-opacity-25", + "border-opacity-30", + "border-opacity-40", + "border-opacity-50", + "border-opacity-60", + "border-opacity-70", + "border-opacity-75", + "border-opacity-80", + "border-opacity-90", + "border-opacity-95", + "border-opacity-100" + ], + "Divide Width": [ + "divide-x-0", + "divide-x-2", + "divide-x-4", + "divide-x-8", + "divide-x", + "divide-y-0", + "divide-y-2", + "divide-y-4", + "divide-y-8", + "divide-y", + "divide-x-reverse", + "divide-y-reverse" + ], + "Divide Color": [ + "divide-transparent", + "divide-black", + "divide-white", + "divide-gray-50", + "divide-gray-100", + "divide-gray-200", + "divide-gray-300", + "divide-gray-400", + "divide-gray-500", + "divide-gray-600", + "divide-gray-700", + "divide-gray-800", + "divide-gray-900", + "divide-red-50", + "divide-red-100", + "divide-red-200", + "divide-red-300", + "divide-red-400", + "divide-red-500", + "divide-red-600", + "divide-red-700", + "divide-red-800", + "divide-red-900", + "divide-yellow-50", + "divide-yellow-100", + "divide-yellow-200", + "divide-yellow-300", + "divide-yellow-400", + "divide-yellow-500", + "divide-yellow-600", + "divide-yellow-700", + "divide-yellow-800", + "divide-yellow-900", + "divide-green-50", + "divide-green-100", + "divide-green-200", + "divide-green-300", + "divide-green-400", + "divide-green-500", + "divide-green-600", + "divide-green-700", + "divide-green-800", + "divide-green-900", + "divide-blue-50", + "divide-blue-100", + "divide-blue-200", + "divide-blue-300", + "divide-blue-400", + "divide-blue-500", + "divide-blue-600", + "divide-blue-700", + "divide-blue-800", + "divide-blue-900", + "divide-indigo-50", + "divide-indigo-100", + "divide-indigo-200", + "divide-indigo-300", + "divide-indigo-400", + "divide-indigo-500", + "divide-indigo-600", + "divide-indigo-700", + "divide-indigo-800", + "divide-indigo-900", + "divide-purple-50", + "divide-purple-100", + "divide-purple-200", + "divide-purple-300", + "divide-purple-400", + "divide-purple-500", + "divide-purple-600", + "divide-purple-700", + "divide-purple-800", + "divide-purple-900", + "divide-pink-50", + "divide-pink-100", + "divide-pink-200", + "divide-pink-300", + "divide-pink-400", + "divide-pink-500", + "divide-pink-600", + "divide-pink-700", + "divide-pink-800", + "divide-pink-900" + ], + "Divide Opacity": [ + "divide-opacity-0", + "divide-opacity-5", + "divide-opacity-10", + "divide-opacity-20", + "divide-opacity-25", + "divide-opacity-30", + "divide-opacity-40", + "divide-opacity-50", + "divide-opacity-60", + "divide-opacity-70", + "divide-opacity-75", + "divide-opacity-80", + "divide-opacity-90", + "divide-opacity-95", + "divide-opacity-100" + ], + "Ring Width": [ + "ring-0", + "ring-1", + "ring-2", + "ring-4", + "ring-8", + "ring", + "ring-inset" + ], + "Ring Color": [ + "ring-transparent", + "ring-black", + "ring-white", + "ring-gray-50", + "ring-gray-100", + "ring-gray-200", + "ring-gray-300", + "ring-gray-400", + "ring-gray-500", + "ring-gray-600", + "ring-gray-700", + "ring-gray-800", + "ring-gray-900", + "ring-red-50", + "ring-red-100", + "ring-red-200", + "ring-red-300", + "ring-red-400", + "ring-red-500", + "ring-red-600", + "ring-red-700", + "ring-red-800", + "ring-red-900", + "ring-yellow-50", + "ring-yellow-100", + "ring-yellow-200", + "ring-yellow-300", + "ring-yellow-400", + "ring-yellow-500", + "ring-yellow-600", + "ring-yellow-700", + "ring-yellow-800", + "ring-yellow-900", + "ring-green-50", + "ring-green-100", + "ring-green-200", + "ring-green-300", + "ring-green-400", + "ring-green-500", + "ring-green-600", + "ring-green-700", + "ring-green-800", + "ring-green-900", + "ring-blue-50", + "ring-blue-100", + "ring-blue-200", + "ring-blue-300", + "ring-blue-400", + "ring-blue-500", + "ring-blue-600", + "ring-blue-700", + "ring-blue-800", + "ring-blue-900", + "ring-indigo-50", + "ring-indigo-100", + "ring-indigo-200", + "ring-indigo-300", + "ring-indigo-400", + "ring-indigo-500", + "ring-indigo-600", + "ring-indigo-700", + "ring-indigo-800", + "ring-indigo-900", + "ring-purple-50", + "ring-purple-100", + "ring-purple-200", + "ring-purple-300", + "ring-purple-400", + "ring-purple-500", + "ring-purple-600", + "ring-purple-700", + "ring-purple-800", + "ring-purple-900", + "ring-pink-50", + "ring-pink-100", + "ring-pink-200", + "ring-pink-300", + "ring-pink-400", + "ring-pink-500", + "ring-pink-600", + "ring-pink-700", + "ring-pink-800", + "ring-pink-900" + ], + "Ring Opacity": [ + "ring-opacity-0", + "ring-opacity-5", + "ring-opacity-10", + "ring-opacity-20", + "ring-opacity-25", + "ring-opacity-30", + "ring-opacity-40", + "ring-opacity-50", + "ring-opacity-60", + "ring-opacity-70", + "ring-opacity-75", + "ring-opacity-80", + "ring-opacity-90", + "ring-opacity-95", + "ring-opacity-100" + ], + "Ring Offset Width": [ + "ring-offset-0", + "ring-offset-1", + "ring-offset-2", + "ring-offset-4", + "ring-offset-8" + ], + "Ring Offset Color": [ + "ring-offset-transparent", + "ring-offset-black", + "ring-offset-white", + "ring-offset-gray-50", + "ring-offset-gray-100", + "ring-offset-gray-200", + "ring-offset-gray-300", + "ring-offset-gray-400", + "ring-offset-gray-500", + "ring-offset-gray-600", + "ring-offset-gray-700", + "ring-offset-gray-800", + "ring-offset-gray-900", + "ring-offset-red-50", + "ring-offset-red-100", + "ring-offset-red-200", + "ring-offset-red-300", + "ring-offset-red-400", + "ring-offset-red-500", + "ring-offset-red-600", + "ring-offset-red-700", + "ring-offset-red-800", + "ring-offset-red-900", + "ring-offset-yellow-50", + "ring-offset-yellow-100", + "ring-offset-yellow-200", + "ring-offset-yellow-300", + "ring-offset-yellow-400", + "ring-offset-yellow-500", + "ring-offset-yellow-600", + "ring-offset-yellow-700", + "ring-offset-yellow-800", + "ring-offset-yellow-900", + "ring-offset-green-50", + "ring-offset-green-100", + "ring-offset-green-200", + "ring-offset-green-300", + "ring-offset-green-400", + "ring-offset-green-500", + "ring-offset-green-600", + "ring-offset-green-700", + "ring-offset-green-800", + "ring-offset-green-900", + "ring-offset-blue-50", + "ring-offset-blue-100", + "ring-offset-blue-200", + "ring-offset-blue-300", + "ring-offset-blue-400", + "ring-offset-blue-500", + "ring-offset-blue-600", + "ring-offset-blue-700", + "ring-offset-blue-800", + "ring-offset-blue-900", + "ring-offset-indigo-50", + "ring-offset-indigo-100", + "ring-offset-indigo-200", + "ring-offset-indigo-300", + "ring-offset-indigo-400", + "ring-offset-indigo-500", + "ring-offset-indigo-600", + "ring-offset-indigo-700", + "ring-offset-indigo-800", + "ring-offset-indigo-900", + "ring-offset-purple-50", + "ring-offset-purple-100", + "ring-offset-purple-200", + "ring-offset-purple-300", + "ring-offset-purple-400", + "ring-offset-purple-500", + "ring-offset-purple-600", + "ring-offset-purple-700", + "ring-offset-purple-800", + "ring-offset-purple-900", + "ring-offset-pink-50", + "ring-offset-pink-100", + "ring-offset-pink-200", + "ring-offset-pink-300", + "ring-offset-pink-400", + "ring-offset-pink-500", + "ring-offset-pink-600", + "ring-offset-pink-700", + "ring-offset-pink-800", + "ring-offset-pink-900" + ] + }, + "Effects": { + "Box Shadow": [ + "shadow-xs", + "shadow-sm", + "shadow", + "shadow-md", + "shadow-lg", + "shadow-xl", + "shadow-2xl", + "shadow-inner", + "shadow-none" + ], + "Box Shadow Color": [ + "shadow-transparent", + "shadow-black", + "shadow-white", + "shadow-gray-50", + "shadow-gray-100", + "shadow-gray-200", + "shadow-gray-300", + "shadow-gray-400", + "shadow-gray-500", + "shadow-gray-600", + "shadow-gray-700", + "shadow-gray-800", + "shadow-gray-900", + "shadow-red-50", + "shadow-red-100", + "shadow-red-200", + "shadow-red-300", + "shadow-red-400", + "shadow-red-500", + "shadow-red-600", + "shadow-red-700", + "shadow-red-800", + "shadow-red-900", + "shadow-yellow-50", + "shadow-yellow-100", + "shadow-yellow-200", + "shadow-yellow-300", + "shadow-yellow-400", + "shadow-yellow-500", + "shadow-yellow-600", + "shadow-yellow-700", + "shadow-yellow-800", + "shadow-yellow-900", + "shadow-green-50", + "shadow-green-100", + "shadow-green-200", + "shadow-green-300", + "shadow-green-400", + "shadow-green-500", + "shadow-green-600", + "shadow-green-700", + "shadow-green-800", + "shadow-green-900", + "shadow-blue-50", + "shadow-blue-100", + "shadow-blue-200", + "shadow-blue-300", + "shadow-blue-400", + "shadow-blue-500", + "shadow-blue-600", + "shadow-blue-700", + "shadow-blue-800", + "shadow-blue-900", + "shadow-indigo-50", + "shadow-indigo-100", + "shadow-indigo-200", + "shadow-indigo-300", + "shadow-indigo-400", + "shadow-indigo-500", + "shadow-indigo-600", + "shadow-indigo-700", + "shadow-indigo-800", + "shadow-indigo-900", + "shadow-purple-50", + "shadow-purple-100", + "shadow-purple-200", + "shadow-purple-300", + "shadow-purple-400", + "shadow-purple-500", + "shadow-purple-600", + "shadow-purple-700", + "shadow-purple-800", + "shadow-purple-900", + "shadow-pink-50", + "shadow-pink-100", + "shadow-pink-200", + "shadow-pink-300", + "shadow-pink-400", + "shadow-pink-500", + "shadow-pink-600", + "shadow-pink-700", + "shadow-pink-800", + "shadow-pink-900" + ], + "Opacity": [ + "opacity-0", + "opacity-5", + "opacity-10", + "opacity-20", + "opacity-25", + "opacity-30", + "opacity-40", + "opacity-50", + "opacity-60", + "opacity-70", + "opacity-75", + "opacity-80", + "opacity-90", + "opacity-95", + "opacity-100" + ], + "Mix Blend Mode": [ + "mix-blend-normal", + "mix-blend-multiply", + "mix-blend-screen", + "mix-blend-overlay", + "mix-blend-darken", + "mix-blend-lighten", + "mix-blend-color-dodge", + "mix-blend-color-burn", + "mix-blend-hard-light", + "mix-blend-soft-light", + "mix-blend-difference", + "mix-blend-exclusion", + "mix-blend-hue", + "mix-blend-saturation", + "mix-blend-color", + "mix-blend-luminosity" + ], + "Background Blend Mode": [ + "bg-blend-normal", + "bg-blend-multiply", + "bg-blend-screen", + "bg-blend-overlay", + "bg-blend-darken", + "bg-blend-lighten", + "bg-blend-color-dodge", + "bg-blend-color-burn", + "bg-blend-hard-light", + "bg-blend-soft-light", + "bg-blend-difference", + "bg-blend-exclusion", + "bg-blend-hue", + "bg-blend-saturation", + "bg-blend-color", + "bg-blend-luminosity" + ] + }, + "Filters": { + "Filter": ["filter", "filter-none"], + "Blur": [ + "blur-0", + "blur-sm", + "blur", + "blur-md", + "blur-lg", + "blur-xl", + "blur-2xl", + "blur-3xl" + ], + "Brightness": [ + "brightness-0", + "brightness-50", + "brightness-75", + "brightness-90", + "brightness-95", + "brightness-100", + "brightness-105", + "brightness-110", + "brightness-125", + "brightness-150", + "brightness-200" + ], + "Contrast": [ + "contrast-0", + "contrast-50", + "contrast-75", + "contrast-100", + "contrast-125", + "contrast-150", + "contrast-200" + ], + "Drop Shadow": [ + "drop-shadow-sm", + "drop-shadow", + "drop-shadow-md", + "drop-shadow-lg", + "drop-shadow-xl", + "drop-shadow-2xl", + "drop-shadow-none" + ], + "Grayscale": ["grayscale-0", "grayscale"], + "Hue Rotate": [ + "hue-rotate-0", + "hue-rotate-15", + "hue-rotate-30", + "hue-rotate-60", + "hue-rotate-90", + "hue-rotate-180" + ], + "Invert": ["invert-0", "invert"], + "Saturate": [ + "saturate-0", + "saturate-50", + "saturate-100", + "saturate-150", + "saturate-200" + ], + "Sepia": ["sepia-0", "sepia"], + "Backdrop Filter": ["backdrop-filter", "backdrop-filter-none"], + "Backdrop Blur": [ + "backdrop-blur-0", + "backdrop-blur-sm", + "backdrop-blur", + "backdrop-blur-md", + "backdrop-blur-lg", + "backdrop-blur-xl", + "backdrop-blur-2xl", + "backdrop-blur-3xl" + ], + "Backdrop Brightness": [ + "backdrop-brightness-0", + "backdrop-brightness-50", + "backdrop-brightness-75", + "backdrop-brightness-90", + "backdrop-brightness-95", + "backdrop-brightness-100", + "backdrop-brightness-105", + "backdrop-brightness-110", + "backdrop-brightness-125", + "backdrop-brightness-150", + "backdrop-brightness-200" + ], + "Backdrop Contrast": [ + "backdrop-contrast-0", + "backdrop-contrast-50", + "backdrop-contrast-75", + "backdrop-contrast-100", + "backdrop-contrast-125", + "backdrop-contrast-150", + "backdrop-contrast-200" + ], + "Backdrop Grayscale": ["backdrop-grayscale-0", "backdrop-grayscale"], + "Backdrop Hue Rotate": [ + "backdrop-hue-rotate-0", + "backdrop-hue-rotate-15", + "backdrop-hue-rotate-30", + "backdrop-hue-rotate-60", + "backdrop-hue-rotate-90", + "backdrop-hue-rotate-180" + ], + "Backdrop Invert": ["backdrop-invert-0", "backdrop-invert"], + "Backdrop Opacity": [ + "backdrop-opacity-0", + "backdrop-opacity-5", + "backdrop-opacity-10", + "backdrop-opacity-20", + "backdrop-opacity-25", + "backdrop-opacity-30", + "backdrop-opacity-40", + "backdrop-opacity-50", + "backdrop-opacity-60", + "backdrop-opacity-70", + "backdrop-opacity-75", + "backdrop-opacity-80", + "backdrop-opacity-90", + "backdrop-opacity-95", + "backdrop-opacity-100" + ], + "Backdrop Saturate": [ + "backdrop-saturate-0", + "backdrop-saturate-50", + "backdrop-saturate-100", + "backdrop-saturate-150", + "backdrop-saturate-200" + ], + "Backdrop Sepia": ["backdrop-sepia-0", "backdrop-sepia"] + }, + "Tables": { + "Border Collapse": ["border-collapse", "border-separate"], + "Table Layout": ["table-auto", "table-fixed"] + }, + "Transitions and Animation": { + "Transition Property": [ + "transition-none", + "transition-all", + "transition", + "transition-colors", + "transition-opacity", + "transition-shadow", + "transition-transform" + ], + "Transition Duration": [ + "duration-75", + "duration-100", + "duration-150", + "duration-200", + "duration-300", + "duration-500", + "duration-700", + "duration-1000" + ], + "Transition Timing Function": [ + "ease-linear", + "ease-in", + "ease-out", + "ease-in-out" + ], + "Transition Delay": [ + "delay-75", + "delay-100", + "delay-150", + "delay-200", + "delay-300", + "delay-500", + "delay-700", + "delay-1000" + ], + "Animation": [ + "animate-none", + "animate-spin", + "animate-ping", + "animate-pulse", + "animate-bounce" + ] + }, + "Transforms": { + "Scale": [ + "scale-0", + "scale-50", + "scale-75", + "scale-90", + "scale-95", + "scale-100", + "scale-105", + "scale-110", + "scale-125", + "scale-150" + ], + "Rotate": ["rotate-0", "rotate-45", "rotate-90", "rotate-180"], + "Translate": [ + "translate-x-0", + "translate-x-1", + "translate-x-2", + "translate-x-3", + "translate-x-4", + "translate-x-5", + "translate-x-6", + "translate-x-8", + "translate-x-10", + "translate-x-12", + "translate-x-16", + "translate-x-20", + "translate-x-24", + "translate-x-32", + "translate-x-40", + "translate-x-48", + "translate-x-56", + "translate-x-64", + "translate-x-px", + "translate-x-full", + "translate-x-1/2", + "translate-x-1/3", + "translate-x-2/3", + "translate-x-1/4", + "translate-x-2/4", + "translate-x-3/4", + "translate-x-1/5", + "translate-x-2/5", + "translate-x-3/5", + "translate-x-4/5", + "translate-x-1/6", + "translate-x-2/6", + "translate-x-3/6", + "translate-x-4/6", + "translate-x-5/6", + "translate-x-1/12", + "translate-x-2/12", + "translate-x-3/12", + "translate-x-4/12", + "translate-x-5/12", + "translate-x-6/12", + "translate-x-7/12", + "translate-x-8/12", + "translate-x-9/12", + "translate-x-10/12", + "translate-x-11/12", + "translate-y-0", + "translate-y-1", + "translate-y-2", + "translate-y-3", + "translate-y-4", + "translate-y-5", + "translate-y-6", + "translate-y-8", + "translate-y-10", + "translate-y-12", + "translate-y-16", + "translate-y-20", + "translate-y-24", + "translate-y-32", + "translate-y-40", + "translate-y-48", + "translate-y-56", + "translate-y-64", + "translate-y-px", + "translate-y-full", + "translate-y-1/2", + "translate-y-1/3", + "translate-y-2/3", + "translate-y-1/4", + "translate-y-2/4", + "translate-y-3/4", + "translate-y-1/5", + "translate-y-2/5", + "translate-y-3/5", + "translate-y-4/5", + "translate-y-1/6", + "translate-y-2/6", + "translate-y-3/6", + "translate-y-4/6", + "translate-y-5/6", + "translate-y-1/12", + "translate-y-2/12", + "translate-y-3/12", + "translate-y-4/12", + "translate-y-5/12", + "translate-y-6/12", + "translate-y-7/12", + "translate-y-8/12", + "translate-y-9/12", + "translate-y-10/12", + "translate-y-11/12" + ], + "Skew": [ + "skew-x-0", + "skew-x-3", + "skew-x-6", + "skew-x-12", + "skew-y-0", + "skew-y-3", + "skew-y-6", + "skew-y-12" + ], + "Transform Origin": [ + "origin-center", + "origin-top", + "origin-top-right", + "origin-right", + "origin-bottom-right", + "origin-bottom", + "origin-bottom-left", + "origin-left", + "origin-top-left" + ] + }, + "Interactivity": { + "Accent Color": [ + "accent-inherit", + "accent-current", + "accent-transparent", + "accent-black", + "accent-white", + "accent-gray-50", + "accent-gray-100", + "accent-gray-200", + "accent-gray-300", + "accent-gray-400", + "accent-gray-500", + "accent-gray-600", + "accent-gray-700", + "accent-gray-800", + "accent-gray-900", + "accent-red-50", + "accent-red-100", + "accent-red-200", + "accent-red-300", + "accent-red-400", + "accent-red-500", + "accent-red-600", + "accent-red-700", + "accent-red-800", + "accent-red-900", + "accent-yellow-50", + "accent-yellow-100", + "accent-yellow-200", + "accent-yellow-300", + "accent-yellow-400", + "accent-yellow-500", + "accent-yellow-600", + "accent-yellow-700", + "accent-yellow-800", + "accent-yellow-900", + "accent-green-50", + "accent-green-100", + "accent-green-200", + "accent-green-300", + "accent-green-400", + "accent-green-500", + "accent-green-600", + "accent-green-700", + "accent-green-800", + "accent-green-900", + "accent-blue-50", + "accent-blue-100", + "accent-blue-200", + "accent-blue-300", + "accent-blue-400", + "accent-blue-500", + "accent-blue-600", + "accent-blue-700", + "accent-blue-800", + "accent-blue-900", + "accent-indigo-50", + "accent-indigo-100", + "accent-indigo-200", + "accent-indigo-300", + "accent-indigo-400", + "accent-indigo-500", + "accent-indigo-600", + "accent-indigo-700", + "accent-indigo-800", + "accent-indigo-900", + "accent-purple-50", + "accent-purple-100", + "accent-purple-200", + "accent-purple-300", + "accent-purple-400", + "accent-purple-500", + "accent-purple-600", + "accent-purple-700", + "accent-purple-800", + "accent-purple-900", + "accent-pink-50", + "accent-pink-100", + "accent-pink-200", + "accent-pink-300", + "accent-pink-400", + "accent-pink-500", + "accent-pink-600", + "accent-pink-700", + "accent-pink-800", + "accent-pink-900" + ], + "Appearance": ["appearance-none"], + "Cursor": [ + "cursor-auto", + "cursor-default", + "cursor-pointer", + "cursor-wait", + "cursor-text", + "cursor-move", + "cursor-help", + "cursor-not-allowed", + "cursor-none", + "cursor-context-menu", + "cursor-progress", + "cursor-cell", + "cursor-crosshair", + "cursor-vertical-text", + "cursor-alias", + "cursor-copy", + "cursor-no-drop", + "cursor-grab", + "cursor-grabbing", + "cursor-all-scroll", + "cursor-col-resize", + "cursor-row-resize", + "cursor-n-resize", + "cursor-e-resize", + "cursor-s-resize", + "cursor-w-resize", + "cursor-ne-resize", + "cursor-nw-resize", + "cursor-se-resize", + "cursor-sw-resize", + "cursor-ew-resize", + "cursor-ns-resize", + "cursor-nesw-resize", + "cursor-nwse-resize", + "cursor-zoom-in", + "cursor-zoom-out" + ], + "Caret Color": [ + "caret-transparent", + "caret-black", + "caret-white", + "caret-gray-50", + "caret-gray-100", + "caret-gray-200", + "caret-gray-300", + "caret-gray-400", + "caret-gray-500", + "caret-gray-600", + "caret-gray-700", + "caret-gray-800", + "caret-gray-900", + "caret-red-50", + "caret-red-100", + "caret-red-200", + "caret-red-300", + "caret-red-400", + "caret-red-500", + "caret-red-600", + "caret-red-700", + "caret-red-800", + "caret-red-900", + "caret-yellow-50", + "caret-yellow-100", + "caret-yellow-200", + "caret-yellow-300", + "caret-yellow-400", + "caret-yellow-500", + "caret-yellow-600", + "caret-yellow-700", + "caret-yellow-800", + "caret-yellow-900", + "caret-green-50", + "caret-green-100", + "caret-green-200", + "caret-green-300", + "caret-green-400", + "caret-green-500", + "caret-green-600", + "caret-green-700", + "caret-green-800", + "caret-green-900", + "caret-blue-50", + "caret-blue-100", + "caret-blue-200", + "caret-blue-300", + "caret-blue-400", + "caret-blue-500", + "caret-blue-600", + "caret-blue-700", + "caret-blue-800", + "caret-blue-900", + "caret-indigo-50", + "caret-indigo-100", + "caret-indigo-200", + "caret-indigo-300", + "caret-indigo-400", + "caret-indigo-500", + "caret-indigo-600", + "caret-indigo-700", + "caret-indigo-800", + "caret-indigo-900", + "caret-purple-50", + "caret-purple-100", + "caret-purple-200", + "caret-purple-300", + "caret-purple-400", + "caret-purple-500", + "caret-purple-600", + "caret-purple-700", + "caret-purple-800", + "caret-purple-900", + "caret-pink-50", + "caret-pink-100", + "caret-pink-200", + "caret-pink-300", + "caret-pink-400", + "caret-pink-500", + "caret-pink-600", + "caret-pink-700", + "caret-pink-800", + "caret-pink-900" + ], + "Pointer Events": ["pointer-events-none", "pointer-events-auto"], + "Resize": ["resize-none", "resize-y", "resize-x", "resize"], + "Scroll Behavior": ["scroll-auto", "scroll-smooth"], + "Scroll Margin": [ + "scroll-m-0", + "scroll-m-1", + "scroll-m-2", + "scroll-m-3", + "scroll-m-4", + "scroll-m-5", + "scroll-m-6", + "scroll-m-7", + "scroll-m-8", + "scroll-m-9", + "scroll-m-10", + "scroll-m-11", + "scroll-m-12", + "scroll-m-14", + "scroll-m-16", + "scroll-m-20", + "scroll-m-24", + "scroll-m-28", + "scroll-m-32", + "scroll-m-36", + "scroll-m-40", + "scroll-m-44", + "scroll-m-48", + "scroll-m-52", + "scroll-m-56", + "scroll-m-60", + "scroll-m-64", + "scroll-m-72", + "scroll-m-80", + "scroll-m-96", + "scroll-mx-0", + "scroll-mx-1", + "scroll-mx-2", + "scroll-mx-3", + "scroll-mx-4", + "scroll-mx-5", + "scroll-mx-6", + "scroll-mx-7", + "scroll-mx-8", + "scroll-mx-9", + "scroll-mx-10", + "scroll-mx-11", + "scroll-mx-12", + "scroll-mx-14", + "scroll-mx-16", + "scroll-mx-20", + "scroll-mx-24", + "scroll-mx-28", + "scroll-mx-32", + "scroll-mx-36", + "scroll-mx-40", + "scroll-mx-44", + "scroll-mx-48", + "scroll-mx-52", + "scroll-mx-56", + "scroll-mx-60", + "scroll-mx-64", + "scroll-mx-72", + "scroll-mx-80", + "scroll-mx-96", + "scroll-my-0", + "scroll-my-1", + "scroll-my-2", + "scroll-my-3", + "scroll-my-4", + "scroll-my-5", + "scroll-my-6", + "scroll-my-7", + "scroll-my-8", + "scroll-my-9", + "scroll-my-10", + "scroll-my-11", + "scroll-my-12", + "scroll-my-14", + "scroll-my-16", + "scroll-my-20", + "scroll-my-24", + "scroll-my-28", + "scroll-my-32", + "scroll-my-36", + "scroll-my-40", + "scroll-my-44", + "scroll-my-48", + "scroll-my-52", + "scroll-my-56", + "scroll-my-60", + "scroll-my-64", + "scroll-my-72", + "scroll-my-80", + "scroll-my-96", + "scroll-mt-0", + "scroll-mt-1", + "scroll-mt-2", + "scroll-mt-3", + "scroll-mt-4", + "scroll-mt-5", + "scroll-mt-6", + "scroll-mt-7", + "scroll-mt-8", + "scroll-mt-9", + "scroll-mt-10", + "scroll-mt-11", + "scroll-mt-12", + "scroll-mt-14", + "scroll-mt-16", + "scroll-mt-20", + "scroll-mt-24", + "scroll-mt-28", + "scroll-mt-32", + "scroll-mt-36", + "scroll-mt-40", + "scroll-mt-44", + "scroll-mt-48", + "scroll-mt-52", + "scroll-mt-56", + "scroll-mt-60", + "scroll-mt-64", + "scroll-mt-72", + "scroll-mt-80", + "scroll-mt-96", + "scroll-mr-0", + "scroll-mr-1", + "scroll-mr-2", + "scroll-mr-3", + "scroll-mr-4", + "scroll-mr-5", + "scroll-mr-6", + "scroll-mr-7", + "scroll-mr-8", + "scroll-mr-9", + "scroll-mr-10", + "scroll-mr-11", + "scroll-mr-12", + "scroll-mr-14", + "scroll-mr-16", + "scroll-mr-20", + "scroll-mr-24", + "scroll-mr-28", + "scroll-mr-32", + "scroll-mr-36", + "scroll-mr-40", + "scroll-mr-44", + "scroll-mr-48", + "scroll-mr-52", + "scroll-mr-56", + "scroll-mr-60", + "scroll-mr-64", + "scroll-mr-72", + "scroll-mr-80", + "scroll-mr-96", + "scroll-mb-0", + "scroll-mb-1", + "scroll-mb-2", + "scroll-mb-3", + "scroll-mb-4", + "scroll-mb-5", + "scroll-mb-6", + "scroll-mb-7", + "scroll-mb-8", + "scroll-mb-9", + "scroll-mb-10", + "scroll-mb-11", + "scroll-mb-12", + "scroll-mb-14", + "scroll-mb-16", + "scroll-mb-20", + "scroll-mb-24", + "scroll-mb-28", + "scroll-mb-32", + "scroll-mb-36", + "scroll-mb-40", + "scroll-mb-44", + "scroll-mb-48", + "scroll-mb-52", + "scroll-mb-56", + "scroll-mb-60", + "scroll-mb-64", + "scroll-mb-72", + "scroll-mb-80", + "scroll-mb-96", + "scroll-ml-0", + "scroll-ml-1", + "scroll-ml-2", + "scroll-ml-3", + "scroll-ml-4", + "scroll-ml-5", + "scroll-ml-6", + "scroll-ml-7", + "scroll-ml-8", + "scroll-ml-9", + "scroll-ml-10", + "scroll-ml-11", + "scroll-ml-12", + "scroll-ml-14", + "scroll-ml-16", + "scroll-ml-20", + "scroll-ml-24", + "scroll-ml-28", + "scroll-ml-32", + "scroll-ml-36", + "scroll-ml-40", + "scroll-ml-44", + "scroll-ml-48", + "scroll-ml-52", + "scroll-ml-56", + "scroll-ml-60", + "scroll-ml-64", + "scroll-ml-72", + "scroll-ml-80", + "scroll-ml-96" + ], + "Scroll Padding": [ + "scroll-p-0", + "scroll-p-1", + "scroll-p-2", + "scroll-p-3", + "scroll-p-4", + "scroll-p-5", + "scroll-p-6", + "scroll-p-7", + "scroll-p-8", + "scroll-p-9", + "scroll-p-10", + "scroll-p-11", + "scroll-p-12", + "scroll-p-14", + "scroll-p-16", + "scroll-p-20", + "scroll-p-24", + "scroll-p-28", + "scroll-p-32", + "scroll-p-36", + "scroll-p-40", + "scroll-p-44", + "scroll-p-48", + "scroll-p-52", + "scroll-p-56", + "scroll-p-60", + "scroll-p-64", + "scroll-p-72", + "scroll-p-80", + "scroll-p-96", + "scroll-px-0", + "scroll-px-1", + "scroll-px-2", + "scroll-px-3", + "scroll-px-4", + "scroll-px-5", + "scroll-px-6", + "scroll-px-7", + "scroll-px-8", + "scroll-px-9", + "scroll-px-10", + "scroll-px-11", + "scroll-px-12", + "scroll-px-14", + "scroll-px-16", + "scroll-px-20", + "scroll-px-24", + "scroll-px-28", + "scroll-px-32", + "scroll-px-36", + "scroll-px-40", + "scroll-px-44", + "scroll-px-48", + "scroll-px-52", + "scroll-px-56", + "scroll-px-60", + "scroll-px-64", + "scroll-px-72", + "scroll-px-80", + "scroll-px-96", + "scroll-py-0", + "scroll-py-1", + "scroll-py-2", + "scroll-py-3", + "scroll-py-4", + "scroll-py-5", + "scroll-py-6", + "scroll-py-7", + "scroll-py-8", + "scroll-py-9", + "scroll-py-10", + "scroll-py-11", + "scroll-py-12", + "scroll-py-14", + "scroll-py-16", + "scroll-py-20", + "scroll-py-24", + "scroll-py-28", + "scroll-py-32", + "scroll-py-36", + "scroll-py-40", + "scroll-py-44", + "scroll-py-48", + "scroll-py-52", + "scroll-py-56", + "scroll-py-60", + "scroll-py-64", + "scroll-py-72", + "scroll-py-80", + "scroll-py-96", + "scroll-pt-0", + "scroll-pt-1", + "scroll-pt-2", + "scroll-pt-3", + "scroll-pt-4", + "scroll-pt-5", + "scroll-pt-6", + "scroll-pt-7", + "scroll-pt-8", + "scroll-pt-9", + "scroll-pt-10", + "scroll-pt-11", + "scroll-pt-12", + "scroll-pt-14", + "scroll-pt-16", + "scroll-pt-20", + "scroll-pt-24", + "scroll-pt-28", + "scroll-pt-32", + "scroll-pt-36", + "scroll-pt-40", + "scroll-pt-44", + "scroll-pt-48", + "scroll-pt-52", + "scroll-pt-56", + "scroll-pt-60", + "scroll-pt-64", + "scroll-pt-72", + "scroll-pt-80", + "scroll-pt-96", + "scroll-pr-0", + "scroll-pr-1", + "scroll-pr-2", + "scroll-pr-3", + "scroll-pr-4", + "scroll-pr-5", + "scroll-pr-6", + "scroll-pr-7", + "scroll-pr-8", + "scroll-pr-9", + "scroll-pr-10", + "scroll-pr-11", + "scroll-pr-12", + "scroll-pr-14", + "scroll-pr-16", + "scroll-pr-20", + "scroll-pr-24", + "scroll-pr-28", + "scroll-pr-32", + "scroll-pr-36", + "scroll-pr-40", + "scroll-pr-44", + "scroll-pr-48", + "scroll-pr-52", + "scroll-pr-56", + "scroll-pr-60", + "scroll-pr-64", + "scroll-pr-72", + "scroll-pr-80", + "scroll-pr-96", + "scroll-pb-0", + "scroll-pb-1", + "scroll-pb-2", + "scroll-pb-3", + "scroll-pb-4", + "scroll-pb-5", + "scroll-pb-6", + "scroll-pb-7", + "scroll-pb-8", + "scroll-pb-9", + "scroll-pb-10", + "scroll-pb-11", + "scroll-pb-12", + "scroll-pb-14", + "scroll-pb-16", + "scroll-pb-20", + "scroll-pb-24", + "scroll-pb-28", + "scroll-pb-32", + "scroll-pb-36", + "scroll-pb-40", + "scroll-pb-44", + "scroll-pb-48", + "scroll-pb-52", + "scroll-pb-56", + "scroll-pb-60", + "scroll-pb-64", + "scroll-pb-72", + "scroll-pb-80", + "scroll-pb-96", + "scroll-pl-0", + "scroll-pl-1", + "scroll-pl-2", + "scroll-pl-3", + "scroll-pl-4", + "scroll-pl-5", + "scroll-pl-6", + "scroll-pl-7", + "scroll-pl-8", + "scroll-pl-9", + "scroll-pl-10", + "scroll-pl-11", + "scroll-pl-12", + "scroll-pl-14", + "scroll-pl-16", + "scroll-pl-20", + "scroll-pl-24", + "scroll-pl-28", + "scroll-pl-32", + "scroll-pl-36", + "scroll-pl-40", + "scroll-pl-44", + "scroll-pl-48", + "scroll-pl-52", + "scroll-pl-56", + "scroll-pl-60", + "scroll-pl-64", + "scroll-pl-72", + "scroll-pl-80", + "scroll-pl-96" + ], + "Touch Action": [ + "touch-auto", + "touch-none", + "touch-pan-x", + "touch-pan-left", + "touch-pan-right", + "touch-pan-y", + "touch-pan-up", + "touch-pan-down", + "touch-pinch-zoom", + "touch-manipulation" + ], + "User Select": ["select-none", "select-text", "select-all", "select-auto"], + "Will Change": [ + "will-change-auto", + "will-change-scroll", + "will-change-contents", + "will-change-transform" + ] + }, + "SVG": { + "Fill": [ + "fill-inherit", + "fill-current", + "fill-transparent", + "fill-black", + "fill-white", + "fill-gray-50", + "fill-gray-100", + "fill-gray-200", + "fill-gray-300", + "fill-gray-400", + "fill-gray-500", + "fill-gray-600", + "fill-gray-700", + "fill-gray-800", + "fill-gray-900", + "fill-red-50", + "fill-red-100", + "fill-red-200", + "fill-red-300", + "fill-red-400", + "fill-red-500", + "fill-red-600", + "fill-red-700", + "fill-red-800", + "fill-red-900", + "fill-yellow-50", + "fill-yellow-100", + "fill-yellow-200", + "fill-yellow-300", + "fill-yellow-400", + "fill-yellow-500", + "fill-yellow-600", + "fill-yellow-700", + "fill-yellow-800", + "fill-yellow-900", + "fill-green-50", + "fill-green-100", + "fill-green-200", + "fill-green-300", + "fill-green-400", + "fill-green-500", + "fill-green-600", + "fill-green-700", + "fill-green-800", + "fill-green-900", + "fill-blue-50", + "fill-blue-100", + "fill-blue-200", + "fill-blue-300", + "fill-blue-400", + "fill-blue-500", + "fill-blue-600", + "fill-blue-700", + "fill-blue-800", + "fill-blue-900", + "fill-indigo-50", + "fill-indigo-100", + "fill-indigo-200", + "fill-indigo-300", + "fill-indigo-400", + "fill-indigo-500", + "fill-indigo-600", + "fill-indigo-700", + "fill-indigo-800", + "fill-indigo-900", + "fill-purple-50", + "fill-purple-100", + "fill-purple-200", + "fill-purple-300", + "fill-purple-400", + "fill-purple-500", + "fill-purple-600", + "fill-purple-700", + "fill-purple-800", + "fill-purple-900", + "fill-pink-50", + "fill-pink-100", + "fill-pink-200", + "fill-pink-300", + "fill-pink-400", + "fill-pink-500", + "fill-pink-600", + "fill-pink-700", + "fill-pink-800", + "fill-pink-900" + ], + "Stroke": [ + "stroke-inherit", + "stroke-current", + "stroke-transparent", + "stroke-black", + "stroke-white", + "stroke-gray-50", + "stroke-gray-100", + "stroke-gray-200", + "stroke-gray-300", + "stroke-gray-400", + "stroke-gray-500", + "stroke-gray-600", + "stroke-gray-700", + "stroke-gray-800", + "stroke-gray-900", + "stroke-red-50", + "stroke-red-100", + "stroke-red-200", + "stroke-red-300", + "stroke-red-400", + "stroke-red-500", + "stroke-red-600", + "stroke-red-700", + "stroke-red-800", + "stroke-red-900", + "stroke-yellow-50", + "stroke-yellow-100", + "stroke-yellow-200", + "stroke-yellow-300", + "stroke-yellow-400", + "stroke-yellow-500", + "stroke-yellow-600", + "stroke-yellow-700", + "stroke-yellow-800", + "stroke-yellow-900", + "stroke-green-50", + "stroke-green-100", + "stroke-green-200", + "stroke-green-300", + "stroke-green-400", + "stroke-green-500", + "stroke-green-600", + "stroke-green-700", + "stroke-green-800", + "stroke-green-900", + "stroke-blue-50", + "stroke-blue-100", + "stroke-blue-200", + "stroke-blue-300", + "stroke-blue-400", + "stroke-blue-500", + "stroke-blue-600", + "stroke-blue-700", + "stroke-blue-800", + "stroke-blue-900", + "stroke-indigo-50", + "stroke-indigo-100", + "stroke-indigo-200", + "stroke-indigo-300", + "stroke-indigo-400", + "stroke-indigo-500", + "stroke-indigo-600", + "stroke-indigo-700", + "stroke-indigo-800", + "stroke-indigo-900", + "stroke-purple-50", + "stroke-purple-100", + "stroke-purple-200", + "stroke-purple-300", + "stroke-purple-400", + "stroke-purple-500", + "stroke-purple-600", + "stroke-purple-700", + "stroke-purple-800", + "stroke-purple-900", + "stroke-pink-50", + "stroke-pink-100", + "stroke-pink-200", + "stroke-pink-300", + "stroke-pink-400", + "stroke-pink-500", + "stroke-pink-600", + "stroke-pink-700", + "stroke-pink-800", + "stroke-pink-900" + ], + "Stroke Width": ["stroke-0", "stroke-1", "stroke-2"] + }, + "Accessibility": { + "Screen Readers": ["sr-only", "not-sr-only"] + } +} diff --git a/configs/vip.json b/configs/vip.json new file mode 100644 index 0000000..fb92353 --- /dev/null +++ b/configs/vip.json @@ -0,0 +1,6 @@ +[ + { + "repoUrl": "https://gitee.com/bingoogolapple/ga-config", + "expirationTime": "2024-09-22 23:14:00" + } +] diff --git a/defaultSchema/demo.json b/defaultSchema/demo.json new file mode 100644 index 0000000..449d9ca --- /dev/null +++ b/defaultSchema/demo.json @@ -0,0 +1,208 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12 + }, + "schema": { + "type": "object", + "properties": { + "q5l4kmucw83": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "className": "absolute inset-0 size-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px]", + "style": { + "display": "flex", + "flexDirection": "column", + "alignItems": "center" + } + }, + "x-designable-id": "q5l4kmucw83", + "x-index": 0, + "properties": { + "kicoo77eci2": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "demo,用于演示各种 api 的使用", + "mode": "normal", + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center", + "fontSize": "24px", + "margin": "20px 0px 20px 0px" + } + }, + "x-designable-id": "kicoo77eci2", + "x-index": 0, + "x-validator": [] + }, + "mk5ysy0l3g4": { + "type": "void", + "x-component": "Space", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center", + "flexWrap": "wrap" + } + }, + "x-designable-id": "mk5ysy0l3g4", + "x-index": 1, + "properties": { + "4muhsm6iwyi": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "监听点击事件" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "/**\n * 添加点击事件\n **/\n$props({\n onClick: () => {\n $message.info(\"TODO 处理点击事件\")\n },\n})" + } + }, + "x-designable-id": "4muhsm6iwyi", + "x-index": 0 + }, + "c18g28ks4ex": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "获取插件信息 chrome.runtime.getManifest" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: async () => {\n // 方式一\n const manifest1 = await $chrome.runtime.getManifest()\n alert(JSON.stringify(manifest1, null, 2))\n // 方式二\n const manifest2 = await $chrome.callMethodByPath(\"runtime.getManifest\")\n alert(JSON.stringify(manifest2, null, 2))\n },\n})\n" + } + }, + "x-designable-id": "c18g28ks4ex", + "x-index": 1 + }, + "hpz2w0a8jaw": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "数据缓存和读取 chrome.storage.local.xxx" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "/**\n * 写入缓存和读取缓存\n */\n$props({\n onClick: async () => {\n // 写入缓存-方式1\n await $chrome.storage.local.set({\n key1: `${new Date().toLocaleString()}`,\n key2: `${Math.random()}`,\n })\n // 写入缓存-方式2\n await $chrome.callMethodByPath(\"storage.local.set\", {\n key3: `${new Date().toLocaleString()}`,\n key4: `${Math.random()}`,\n })\n\n // 读取缓存-方式1\n const result1 = await $chrome.storage.local.get([\"key1\", \"key2\"])\n\n // 读取缓存-方式2\n const result2 = await $chrome.callMethodByPath(\"storage.local.get\", [\n \"key1\",\n \"key2\",\n ])\n\n $message.success(JSON.stringify({ result1, result2 }))\n },\n})\n" + } + }, + "x-designable-id": "hpz2w0a8jaw", + "x-index": 2 + }, + "x32qncihyix": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "操作系统通知 chrome.notifications.xxx" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "/**\n * 操作系统通知\n */\n$props({\n onClick: () => {\n let myNotificationId\n\n // 创建系统通知\n $chrome.notifications.create(\n null,\n {\n type: \"basic\",\n title: \"我是标题\",\n message: \"我是内容\",\n iconUrl: \"../images/128.png\",\n },\n $chrome.proxy((notificationId) => {\n myNotificationId = notificationId\n $message.info(`创建的系统通知 ID 为 ${notificationId}`)\n })\n )\n\n // 延迟 3 秒更新系统通知\n setTimeout(() => {\n $chrome.notifications.update(\n myNotificationId,\n {\n type: \"basic\",\n title: \"我是修改后的标题\",\n message: \"我是修改后内容\",\n iconUrl: \"../images/128.png\",\n },\n $chrome.proxy((wasUpdated) => {\n $message.info(`更新系统通知 ${wasUpdated}`)\n })\n )\n }, 3000)\n\n // 延迟 6 秒清除系统通知\n setTimeout(() => {\n $chrome.notifications.clear(\n myNotificationId,\n $chrome.proxy((wasCleared) => {\n $message.info(`清除系统通知 ${wasCleared}`)\n })\n )\n }, 6000)\n },\n})" + } + }, + "x-designable-id": "x32qncihyix", + "x-index": 3 + }, + "3sxy8l7f5yj": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "获取当前窗口激活的标签页 chrome.tabs.query" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "/**\n * 获取当前窗口激活的标签页\n */\n$props({\n onClick: async () => {\n // 方式1\n const tab1 = await $chrome.tabs.query({\n active: true,\n lastFocusedWindow: true,\n })\n alert(JSON.stringify(tab1))\n // 方式2\n const tab2 = await $chrome.callMethodByPath(\"tabs.query\", {\n active: true,\n lastFocusedWindow: true,\n })\n alert(JSON.stringify(tab2))\n },\n})\n" + } + }, + "x-designable-id": "3sxy8l7f5yj", + "x-index": 4, + "x-validator": [] + } + } + }, + "bphz3gu732q": { + "type": "string", + "x-component": "Text", + "x-validator": [], + "x-component-props": { + "content": "生成当前激活标签的 url 二维码", + "style": { + "margin": "40px 0px 0px 0px" + } + }, + "x-designable-id": "bphz3gu732q", + "x-index": 2 + }, + "m4sunypljsg": { + "type": "string", + "x-component": "QRCode", + "x-validator": [], + "x-component-props": { + "content": "我是二维码的内容" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$effect(async () => {\n const tabs = await $chrome.tabs.query({\n active: true,\n lastFocusedWindow: true,\n })\n $self.value = tabs[0].url\n}, [])\n" + } + }, + "x-designable-id": "m4sunypljsg", + "x-index": 3 + } + } + } + }, + "x-designable-id": "up7rtzqk7au" + } +} diff --git a/defaultSchema/devtoolsPanel.json b/defaultSchema/devtoolsPanel.json new file mode 100644 index 0000000..d72fb94 --- /dev/null +++ b/defaultSchema/devtoolsPanel.json @@ -0,0 +1,705 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12, + "style": { + "height": "100vh", + "backgroundImage": "url(https://pics2.baidu.com/feed/c995d143ad4bd1135e151a96598081014afb0572.jpeg@f_auto?token=0e15a0d4166c255f0b9de0f74ffc1fea)", + "backgroundRepeat": "no-repeat", + "backgroundSize": "cover", + "backgroundPosition": "center", + "backgroundAttachment": "fixed", + "overflow": "scroll" + } + }, + "schema": { + "type": "object", + "properties": { + "keyword": { + "type": "string", + "title": "", + "x-decorator": "FormItem", + "x-component": "Input", + "x-validator": [], + "x-component-props": { + "placeholder": "请输入搜索内容,回车键默认必应搜索", + "style": { + "borderRadius": "100px 100px 100px 100px", + "height": "50px", + "padding": "0px 24px 0px 24px" + }, + "size": "middle" + }, + "x-decorator-props": { + "style": { + "margin": "24px 24px 24px 24px" + } + }, + "name": "keyword", + "x-designable-id": "rxg79wd5801", + "x-index": 0, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "/**\n * 监听输入框回车事件\n **/\n$props({\n onPressEnter: (e) => {\n const keyword = e.target.value\n if (!keyword) {\n return\n }\n\n $utils.openUrl(`https://www.bing.com/search?q=${keyword}`)\n },\n})\n" + } + } + }, + "u32x8afe7ch": { + "type": "void", + "x-component": "Space", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center", + "margin": "0px 0px 36px 0px" + }, + "size": 12 + }, + "x-designable-id": "u32x8afe7ch", + "x-index": 1, + "properties": { + "tboibt6om8a": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "百度", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.baidu.com/s?wd=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "tboibt6om8a", + "x-index": 0 + }, + "fm6udn1cnac": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "必应", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.bing.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "fm6udn1cnac", + "x-index": 1 + }, + "imvwv4bmyhp": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "谷歌", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n // 这种方式会被谷歌屏蔽\n // window.open(`https://www.google.com/search?q=${$deps.keyword}`)\n\n // 这种方式不会被谷歌屏蔽\n $utils.openUrl(`https://www.google.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "imvwv4bmyhp", + "x-index": 2 + }, + "w77t7yadgaz": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "掘金", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://juejin.cn/search?query=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "w77t7yadgaz", + "x-index": 3 + }, + "erg6gyy9yor": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "npm", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.npmjs.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "erg6gyy9yor", + "x-index": 4 + }, + "amu7medcqyl": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "bilibili", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://search.bilibili.com/all?keyword=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "amu7medcqyl", + "x-index": 5 + } + } + }, + "q4fx318cgcc": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-图文版-纵向", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "q4fx318cgcc", + "x-index": 2, + "properties": { + "2su76jd3ydl": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 120px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "2su76jd3ydl", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "smaktz68ndl", + "properties": { + "qglpcdt93vt": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "cursor": "pointer", + "display": "flex", + "flexDirection": "column", + "alignItems": "center", + "padding": "8px 0px 8px 0px" + } + }, + "x-reactions": { + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "qglpcdt93vt", + "x-index": 0, + "properties": { + "icon": { + "type": "string", + "x-component": "Img", + "x-component-props": { + "style": { + "width": "40px", + "height": "40px" + }, + "objectFit": "contain" + }, + "name": "icon", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$effect(() => {\n // 获取迭代器布局中当前点击的条目数据\n const row = $utils.getArrayFieldRow($self)\n // 获取书签的图标地址\n $utils.getBookmarkIconUrl(row.url, row.icon).then((iconUrl) => {\n $props({\n src: iconUrl,\n })\n })\n}, [])\n" + } + }, + "x-designable-id": "r7bhs2gj9wp", + "x-index": 0 + }, + "title": { + "type": "string", + "x-component": "Text", + "name": "title", + "x-designable-id": "9fwhpl8r93g", + "x-index": 1 + } + } + } + } + } + } + } + }, + "f513ch3scns": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-图文版-横向", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "f513ch3scns", + "x-index": 3, + "properties": { + "jw4tfln4pab": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 140px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "jw4tfln4pab", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "z40sgnp5tgf", + "properties": { + "4s367ihs897": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "cursor": "pointer", + "display": "flex", + "flexDirection": "row", + "alignItems": "center", + "padding": "8px 0px 8px 0px" + } + }, + "x-reactions": { + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "4s367ihs897", + "x-index": 0, + "properties": { + "icon": { + "type": "string", + "x-component": "Img", + "x-component-props": { + "style": { + "width": "30px", + "height": "30px", + "margin": "0px 8px 0px 0px" + }, + "objectFit": "contain" + }, + "name": "icon", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$effect(() => {\n // 获取迭代器布局中当前点击的条目数据\n const row = $utils.getArrayFieldRow($self)\n // 获取书签的图标地址\n $utils.getBookmarkIconUrl(row.url, row.icon).then((iconUrl) => {\n $props({\n src: iconUrl,\n })\n })\n}, [])\n" + } + }, + "x-validator": [], + "x-designable-id": "zxwr4y5qv04", + "x-index": 0 + }, + "title": { + "type": "string", + "x-component": "Text", + "name": "title", + "x-component-props": {}, + "x-designable-id": "4jzfvm2q1wk", + "x-index": 1 + } + } + } + } + } + } + } + }, + "ho98j7lccnm": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-文字版", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "ho98j7lccnm", + "x-index": 4, + "properties": { + "wjlg19hsd91": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 90px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "wjlg19hsd91", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "1cowz5dwai2", + "properties": { + "title": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "type": "link", + "children": "超链接" + }, + "name": "title", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "s4slpbt3fni", + "x-index": 0 + } + } + } + } + } + }, + "oiiql0q7pb0": { + "type": "void", + "x-component": "FloatButtonGroup", + "x-component-props": { + "icon": "MoreOutlined", + "type": "primary", + "trigger": "hover", + "insetInlineEnd": 48, + "insetBlockEnd": 48, + "badge": {} + }, + "x-designable-id": "oiiql0q7pb0", + "x-index": 5, + "properties": { + "utvm3pcabbi": { + "x-component": "FloatButton", + "x-component-props": { + "description": "", + "type": "primary", + "badge": {}, + "target": "_blank", + "icon": "EditFilled", + "tooltip": "编辑当前页面" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 编辑当前页面\n $ga.editCurrentPage()\n },\n})\n" + } + }, + "x-designable-id": "utvm3pcabbi", + "x-index": 0 + }, + "3ce4pdz0w31": { + "x-component": "FloatButton", + "x-component-props": { + "description": "", + "type": "primary", + "insetInlineEnd": 24, + "insetBlockEnd": 48, + "badge": {}, + "target": "_blank", + "icon": "SettingOutlined", + "tooltip": "低代码页面管理" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 低代码页面管理\n $ga.lowCodePageManage()\n },\n})\n" + } + }, + "x-designable-id": "3ce4pdz0w31", + "x-index": 1 + } + } + } + }, + "x-designable-id": "tntbegfvc09" + } +} diff --git a/defaultSchema/elementsSidebarPane.json b/defaultSchema/elementsSidebarPane.json new file mode 100644 index 0000000..53950dd --- /dev/null +++ b/defaultSchema/elementsSidebarPane.json @@ -0,0 +1,705 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12, + "style": { + "height": "100vh", + "backgroundImage": "url(https://pics3.baidu.com/feed/fd039245d688d43f19b7ad677e31f7150ff43bc1.jpeg@f_auto?token=fdca6d71783c329739bc0599d64eedf4)", + "backgroundRepeat": "no-repeat", + "backgroundSize": "cover", + "backgroundPosition": "center", + "backgroundAttachment": "fixed", + "overflow": "scroll" + } + }, + "schema": { + "type": "object", + "properties": { + "keyword": { + "type": "string", + "title": "", + "x-decorator": "FormItem", + "x-component": "Input", + "x-validator": [], + "x-component-props": { + "placeholder": "请输入搜索内容,回车键默认必应搜索", + "style": { + "borderRadius": "100px 100px 100px 100px", + "height": "50px", + "padding": "0px 24px 0px 24px" + }, + "size": "middle" + }, + "x-decorator-props": { + "style": { + "margin": "24px 24px 24px 24px" + } + }, + "name": "keyword", + "x-designable-id": "rxg79wd5801", + "x-index": 0, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "/**\n * 监听输入框回车事件\n **/\n$props({\n onPressEnter: (e) => {\n const keyword = e.target.value\n if (!keyword) {\n return\n }\n\n $utils.openUrl(`https://www.bing.com/search?q=${keyword}`)\n },\n})\n" + } + } + }, + "u32x8afe7ch": { + "type": "void", + "x-component": "Space", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center", + "margin": "0px 0px 36px 0px" + }, + "size": 12 + }, + "x-designable-id": "u32x8afe7ch", + "x-index": 1, + "properties": { + "tboibt6om8a": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "百度", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.baidu.com/s?wd=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "tboibt6om8a", + "x-index": 0 + }, + "fm6udn1cnac": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "必应", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.bing.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "fm6udn1cnac", + "x-index": 1 + }, + "imvwv4bmyhp": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "谷歌", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n // 这种方式会被谷歌屏蔽\n // window.open(`https://www.google.com/search?q=${$deps.keyword}`)\n\n // 这种方式不会被谷歌屏蔽\n $utils.openUrl(`https://www.google.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "imvwv4bmyhp", + "x-index": 2 + }, + "w77t7yadgaz": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "掘金", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://juejin.cn/search?query=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "w77t7yadgaz", + "x-index": 3 + }, + "erg6gyy9yor": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "npm", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.npmjs.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "erg6gyy9yor", + "x-index": 4 + }, + "amu7medcqyl": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "bilibili", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://search.bilibili.com/all?keyword=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "amu7medcqyl", + "x-index": 5 + } + } + }, + "q4fx318cgcc": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-图文版-纵向", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "q4fx318cgcc", + "x-index": 2, + "properties": { + "2su76jd3ydl": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 120px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "2su76jd3ydl", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "smaktz68ndl", + "properties": { + "qglpcdt93vt": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "cursor": "pointer", + "display": "flex", + "flexDirection": "column", + "alignItems": "center", + "padding": "8px 0px 8px 0px" + } + }, + "x-reactions": { + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "qglpcdt93vt", + "x-index": 0, + "properties": { + "icon": { + "type": "string", + "x-component": "Img", + "x-component-props": { + "style": { + "width": "40px", + "height": "40px" + }, + "objectFit": "contain" + }, + "name": "icon", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$effect(() => {\n // 获取迭代器布局中当前点击的条目数据\n const row = $utils.getArrayFieldRow($self)\n // 获取书签的图标地址\n $utils.getBookmarkIconUrl(row.url, row.icon).then((iconUrl) => {\n $props({\n src: iconUrl,\n })\n })\n}, [])\n" + } + }, + "x-designable-id": "r7bhs2gj9wp", + "x-index": 0 + }, + "title": { + "type": "string", + "x-component": "Text", + "name": "title", + "x-designable-id": "9fwhpl8r93g", + "x-index": 1 + } + } + } + } + } + } + } + }, + "f513ch3scns": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-图文版-横向", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "f513ch3scns", + "x-index": 3, + "properties": { + "jw4tfln4pab": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 140px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "jw4tfln4pab", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "z40sgnp5tgf", + "properties": { + "4s367ihs897": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "cursor": "pointer", + "display": "flex", + "flexDirection": "row", + "alignItems": "center", + "padding": "8px 0px 8px 0px" + } + }, + "x-reactions": { + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "4s367ihs897", + "x-index": 0, + "properties": { + "icon": { + "type": "string", + "x-component": "Img", + "x-component-props": { + "style": { + "width": "30px", + "height": "30px", + "margin": "0px 8px 0px 0px" + }, + "objectFit": "contain" + }, + "name": "icon", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$effect(() => {\n // 获取迭代器布局中当前点击的条目数据\n const row = $utils.getArrayFieldRow($self)\n // 获取书签的图标地址\n $utils.getBookmarkIconUrl(row.url, row.icon).then((iconUrl) => {\n $props({\n src: iconUrl,\n })\n })\n}, [])\n" + } + }, + "x-validator": [], + "x-designable-id": "zxwr4y5qv04", + "x-index": 0 + }, + "title": { + "type": "string", + "x-component": "Text", + "name": "title", + "x-component-props": {}, + "x-designable-id": "4jzfvm2q1wk", + "x-index": 1 + } + } + } + } + } + } + } + }, + "ho98j7lccnm": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-文字版", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "ho98j7lccnm", + "x-index": 4, + "properties": { + "wjlg19hsd91": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 90px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "wjlg19hsd91", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "1cowz5dwai2", + "properties": { + "title": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "type": "link", + "children": "超链接" + }, + "name": "title", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "s4slpbt3fni", + "x-index": 0 + } + } + } + } + } + }, + "oiiql0q7pb0": { + "type": "void", + "x-component": "FloatButtonGroup", + "x-component-props": { + "icon": "MoreOutlined", + "type": "primary", + "trigger": "hover", + "insetInlineEnd": 48, + "insetBlockEnd": 48, + "badge": {} + }, + "x-designable-id": "oiiql0q7pb0", + "x-index": 5, + "properties": { + "utvm3pcabbi": { + "x-component": "FloatButton", + "x-component-props": { + "description": "", + "type": "primary", + "badge": {}, + "target": "_blank", + "icon": "EditFilled", + "tooltip": "编辑当前页面" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 编辑当前页面\n $ga.editCurrentPage()\n },\n})\n" + } + }, + "x-designable-id": "utvm3pcabbi", + "x-index": 0 + }, + "3ce4pdz0w31": { + "x-component": "FloatButton", + "x-component-props": { + "description": "", + "type": "primary", + "insetInlineEnd": 24, + "insetBlockEnd": 48, + "badge": {}, + "target": "_blank", + "icon": "SettingOutlined", + "tooltip": "低代码页面管理" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 低代码页面管理\n $ga.lowCodePageManage()\n },\n})\n" + } + }, + "x-designable-id": "3ce4pdz0w31", + "x-index": 1 + } + } + } + }, + "x-designable-id": "j2bb5cf60hx" + } +} diff --git a/defaultSchema/newtab.json b/defaultSchema/newtab.json new file mode 100644 index 0000000..77cfc2a --- /dev/null +++ b/defaultSchema/newtab.json @@ -0,0 +1,719 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12, + "style": { + "height": "100vh", + "backgroundImage": "url(https://i1.hdslb.com/bfs/archive/b2a4fa80ba466e9ef8f1a031dbfc0d093f2a9bd2.jpg)", + "backgroundRepeat": "no-repeat", + "backgroundSize": "cover", + "backgroundPosition": "center", + "backgroundAttachment": "fixed", + "overflow": "scroll" + } + }, + "schema": { + "type": "object", + "properties": { + "kicoo77eci2": { + "type": "string", + "x-component": "Text", + "x-component-props": { + "content": "使用上帝小助手,低代码搭建你的专属新标签页", + "mode": "normal", + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center", + "padding": "50px 0px 0px 0px", + "color": "rgba(255,255,255,1)", + "fontSize": "25px" + } + }, + "x-designable-id": "kicoo77eci2", + "x-index": 0 + }, + "keyword": { + "type": "string", + "title": "", + "x-decorator": "FormItem", + "x-component": "Input", + "x-validator": [], + "x-component-props": { + "placeholder": "请输入搜索内容,回车键默认必应搜索", + "style": { + "borderRadius": "100px 100px 100px 100px", + "height": "50px", + "padding": "0px 24px 0px 24px" + } + }, + "x-decorator-props": { + "style": { + "margin": "50px 200px 24px 200px" + } + }, + "name": "keyword", + "x-designable-id": "rxg79wd5801", + "x-index": 1, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "/**\n * 监听输入框回车事件\n **/\n$props({\n onPressEnter: (e) => {\n const keyword = e.target.value\n if (!keyword) {\n return\n }\n\n $utils.openUrl(`https://www.bing.com/search?q=${keyword}`)\n },\n})\n" + } + } + }, + "u32x8afe7ch": { + "type": "void", + "x-component": "Space", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center", + "margin": "0px 0px 36px 0px" + }, + "size": 16 + }, + "x-designable-id": "u32x8afe7ch", + "x-index": 2, + "properties": { + "tboibt6om8a": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "百度", + "type": "primary", + "size": "large" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.baidu.com/s?wd=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "tboibt6om8a", + "x-index": 0 + }, + "fm6udn1cnac": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "必应", + "type": "primary", + "size": "large" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.bing.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "fm6udn1cnac", + "x-index": 1 + }, + "imvwv4bmyhp": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "谷歌", + "type": "primary", + "size": "large" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n // 这种方式会被谷歌屏蔽\n // window.open(`https://www.google.com/search?q=${$deps.keyword}`)\n\n // 这种方式不会被谷歌屏蔽\n $utils.openUrl(`https://www.google.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "imvwv4bmyhp", + "x-index": 2 + }, + "w77t7yadgaz": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "掘金", + "type": "primary", + "size": "large" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://juejin.cn/search?query=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "w77t7yadgaz", + "x-index": 3 + }, + "erg6gyy9yor": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "npm", + "type": "primary", + "size": "large" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.npmjs.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "erg6gyy9yor", + "x-index": 4 + }, + "amu7medcqyl": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "bilibili", + "type": "primary", + "size": "large" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://search.bilibili.com/all?keyword=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "amu7medcqyl", + "x-index": 5 + } + } + }, + "q4fx318cgcc": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-图文版-纵向", + "style": { + "margin": "18px 18px 18px 18px" + } + }, + "x-designable-id": "q4fx318cgcc", + "x-index": 3, + "properties": { + "2su76jd3ydl": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 120px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "2su76jd3ydl", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "smaktz68ndl", + "properties": { + "qglpcdt93vt": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "cursor": "pointer", + "display": "flex", + "flexDirection": "column", + "alignItems": "center", + "padding": "8px 0px 8px 0px" + } + }, + "x-reactions": { + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "qglpcdt93vt", + "x-index": 0, + "properties": { + "icon": { + "type": "string", + "x-component": "Img", + "x-component-props": { + "style": { + "width": "40px", + "height": "40px" + }, + "objectFit": "contain" + }, + "name": "icon", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$effect(() => {\n // 获取迭代器布局中当前点击的条目数据\n const row = $utils.getArrayFieldRow($self)\n // 获取书签的图标地址\n $utils.getBookmarkIconUrl(row.url, row.icon).then((iconUrl) => {\n $props({\n src: iconUrl,\n })\n })\n}, [])\n" + } + }, + "x-designable-id": "r7bhs2gj9wp", + "x-index": 0 + }, + "title": { + "type": "string", + "x-component": "Text", + "name": "title", + "x-designable-id": "9fwhpl8r93g", + "x-index": 1 + } + } + } + } + } + } + } + }, + "f513ch3scns": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-图文版-横向", + "style": { + "margin": "18px 18px 18px 18px" + } + }, + "x-designable-id": "f513ch3scns", + "x-index": 4, + "properties": { + "jw4tfln4pab": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 140px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "jw4tfln4pab", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "z40sgnp5tgf", + "properties": { + "4s367ihs897": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "cursor": "pointer", + "display": "flex", + "flexDirection": "row", + "alignItems": "center", + "padding": "8px 0px 8px 0px" + } + }, + "x-reactions": { + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "4s367ihs897", + "x-index": 0, + "properties": { + "icon": { + "type": "string", + "x-component": "Img", + "x-component-props": { + "style": { + "width": "30px", + "height": "30px", + "margin": "0px 8px 0px 0px" + }, + "objectFit": "contain" + }, + "name": "icon", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$effect(() => {\n // 获取迭代器布局中当前点击的条目数据\n const row = $utils.getArrayFieldRow($self)\n // 获取书签的图标地址\n $utils.getBookmarkIconUrl(row.url, row.icon).then((iconUrl) => {\n $props({\n src: iconUrl,\n })\n })\n}, [])\n" + } + }, + "x-validator": [], + "x-designable-id": "zxwr4y5qv04", + "x-index": 0 + }, + "title": { + "type": "string", + "x-component": "Text", + "name": "title", + "x-component-props": {}, + "x-designable-id": "4jzfvm2q1wk", + "x-index": 1 + } + } + } + } + } + } + } + }, + "ho98j7lccnm": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-文字版", + "style": { + "margin": "18px 18px 18px 18px" + } + }, + "x-designable-id": "ho98j7lccnm", + "x-index": 5, + "properties": { + "wjlg19hsd91": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 90px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "wjlg19hsd91", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "1cowz5dwai2", + "properties": { + "title": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "type": "link", + "children": "超链接" + }, + "name": "title", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "s4slpbt3fni", + "x-index": 0 + } + } + } + } + } + }, + "oiiql0q7pb0": { + "type": "void", + "x-component": "FloatButtonGroup", + "x-component-props": { + "icon": "MoreOutlined", + "type": "primary", + "trigger": "hover", + "insetInlineEnd": 48, + "insetBlockEnd": 48, + "badge": {} + }, + "x-designable-id": "oiiql0q7pb0", + "x-index": 6, + "properties": { + "utvm3pcabbi": { + "x-component": "FloatButton", + "x-component-props": { + "description": "", + "type": "primary", + "badge": {}, + "target": "_blank", + "icon": "EditFilled", + "tooltip": "编辑当前页面" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 编辑当前页面\n $ga.editCurrentPage()\n },\n})\n" + } + }, + "x-designable-id": "utvm3pcabbi", + "x-index": 0 + }, + "3ce4pdz0w31": { + "x-component": "FloatButton", + "x-component-props": { + "description": "", + "type": "primary", + "insetInlineEnd": 24, + "insetBlockEnd": 48, + "badge": {}, + "target": "_blank", + "icon": "SettingOutlined", + "tooltip": "低代码页面管理" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 低代码页面管理\n $ga.lowCodePageManage()\n },\n})\n" + } + }, + "x-designable-id": "3ce4pdz0w31", + "x-index": 1 + } + } + } + }, + "x-designable-id": "1zbmv4sw12e" + } +} diff --git a/defaultSchema/popup.json b/defaultSchema/popup.json new file mode 100644 index 0000000..141bcf6 --- /dev/null +++ b/defaultSchema/popup.json @@ -0,0 +1,705 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12, + "style": { + "height": "100vh", + "backgroundImage": "url(https://pic4.zhimg.com/80/v2-39405c286abf780d3fb6b4ea487ffbfd_1440w.webp)", + "backgroundRepeat": "no-repeat", + "backgroundSize": "cover", + "backgroundPosition": "center", + "backgroundAttachment": "fixed", + "overflow": "scroll" + } + }, + "schema": { + "type": "object", + "properties": { + "keyword": { + "type": "string", + "title": "", + "x-decorator": "FormItem", + "x-component": "Input", + "x-validator": [], + "x-component-props": { + "placeholder": "请输入搜索内容,回车键默认必应搜索", + "style": { + "borderRadius": "100px 100px 100px 100px", + "height": "50px", + "padding": "0px 24px 0px 24px" + }, + "size": "middle" + }, + "x-decorator-props": { + "style": { + "margin": "24px 24px 24px 24px" + } + }, + "name": "keyword", + "x-designable-id": "rxg79wd5801", + "x-index": 0, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "/**\n * 监听输入框回车事件\n **/\n$props({\n onPressEnter: (e) => {\n const keyword = e.target.value\n if (!keyword) {\n return\n }\n\n $utils.openUrl(`https://www.bing.com/search?q=${keyword}`)\n },\n})\n" + } + } + }, + "u32x8afe7ch": { + "type": "void", + "x-component": "Space", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center", + "margin": "0px 0px 36px 0px" + }, + "size": 16 + }, + "x-designable-id": "u32x8afe7ch", + "x-index": 1, + "properties": { + "tboibt6om8a": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "百度", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.baidu.com/s?wd=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "tboibt6om8a", + "x-index": 0 + }, + "fm6udn1cnac": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "必应", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.bing.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "fm6udn1cnac", + "x-index": 1 + }, + "imvwv4bmyhp": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "谷歌", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n // 这种方式会被谷歌屏蔽\n // window.open(`https://www.google.com/search?q=${$deps.keyword}`)\n\n // 这种方式不会被谷歌屏蔽\n $utils.openUrl(`https://www.google.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "imvwv4bmyhp", + "x-index": 2 + }, + "w77t7yadgaz": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "掘金", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://juejin.cn/search?query=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "w77t7yadgaz", + "x-index": 3 + }, + "erg6gyy9yor": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "npm", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.npmjs.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "erg6gyy9yor", + "x-index": 4 + }, + "amu7medcqyl": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "bilibili", + "type": "primary", + "size": "middle" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://search.bilibili.com/all?keyword=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "amu7medcqyl", + "x-index": 5 + } + } + }, + "q4fx318cgcc": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-图文版-纵向", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "q4fx318cgcc", + "x-index": 2, + "properties": { + "2su76jd3ydl": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 120px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "2su76jd3ydl", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "smaktz68ndl", + "properties": { + "qglpcdt93vt": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "cursor": "pointer", + "display": "flex", + "flexDirection": "column", + "alignItems": "center", + "padding": "8px 0px 8px 0px" + } + }, + "x-reactions": { + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "qglpcdt93vt", + "x-index": 0, + "properties": { + "icon": { + "type": "string", + "x-component": "Img", + "x-component-props": { + "style": { + "width": "40px", + "height": "40px" + }, + "objectFit": "contain" + }, + "name": "icon", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$effect(() => {\n // 获取迭代器布局中当前点击的条目数据\n const row = $utils.getArrayFieldRow($self)\n // 获取书签的图标地址\n $utils.getBookmarkIconUrl(row.url, row.icon).then((iconUrl) => {\n $props({\n src: iconUrl,\n })\n })\n}, [])\n" + } + }, + "x-designable-id": "r7bhs2gj9wp", + "x-index": 0 + }, + "title": { + "type": "string", + "x-component": "Text", + "name": "title", + "x-designable-id": "9fwhpl8r93g", + "x-index": 1 + } + } + } + } + } + } + } + }, + "f513ch3scns": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-图文版-横向", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "f513ch3scns", + "x-index": 3, + "properties": { + "jw4tfln4pab": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 140px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "jw4tfln4pab", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "z40sgnp5tgf", + "properties": { + "4s367ihs897": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "cursor": "pointer", + "display": "flex", + "flexDirection": "row", + "alignItems": "center", + "padding": "8px 0px 8px 0px" + } + }, + "x-reactions": { + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "4s367ihs897", + "x-index": 0, + "properties": { + "icon": { + "type": "string", + "x-component": "Img", + "x-component-props": { + "style": { + "width": "30px", + "height": "30px", + "margin": "0px 8px 0px 0px" + }, + "objectFit": "contain" + }, + "name": "icon", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$effect(() => {\n // 获取迭代器布局中当前点击的条目数据\n const row = $utils.getArrayFieldRow($self)\n // 获取书签的图标地址\n $utils.getBookmarkIconUrl(row.url, row.icon).then((iconUrl) => {\n $props({\n src: iconUrl,\n })\n })\n}, [])\n" + } + }, + "x-validator": [], + "x-designable-id": "zxwr4y5qv04", + "x-index": 0 + }, + "title": { + "type": "string", + "x-component": "Text", + "name": "title", + "x-component-props": {}, + "x-designable-id": "4jzfvm2q1wk", + "x-index": 1 + } + } + } + } + } + } + } + }, + "ho98j7lccnm": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-文字版", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "ho98j7lccnm", + "x-index": 4, + "properties": { + "wjlg19hsd91": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 90px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "wjlg19hsd91", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "1cowz5dwai2", + "properties": { + "title": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "type": "link", + "children": "超链接" + }, + "name": "title", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "s4slpbt3fni", + "x-index": 0 + } + } + } + } + } + }, + "oiiql0q7pb0": { + "type": "void", + "x-component": "FloatButtonGroup", + "x-component-props": { + "icon": "MoreOutlined", + "type": "primary", + "trigger": "hover", + "insetInlineEnd": 48, + "insetBlockEnd": 48, + "badge": {} + }, + "x-designable-id": "oiiql0q7pb0", + "x-index": 5, + "properties": { + "utvm3pcabbi": { + "x-component": "FloatButton", + "x-component-props": { + "description": "", + "type": "primary", + "badge": {}, + "target": "_blank", + "icon": "EditFilled", + "tooltip": "编辑当前页面" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 编辑当前页面\n $ga.editCurrentPage()\n },\n})\n" + } + }, + "x-designable-id": "utvm3pcabbi", + "x-index": 0 + }, + "3ce4pdz0w31": { + "x-component": "FloatButton", + "x-component-props": { + "description": "", + "type": "primary", + "insetInlineEnd": 24, + "insetBlockEnd": 48, + "badge": {}, + "target": "_blank", + "icon": "SettingOutlined", + "tooltip": "低代码页面管理" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 低代码页面管理\n $ga.lowCodePageManage()\n },\n})\n" + } + }, + "x-designable-id": "3ce4pdz0w31", + "x-index": 1 + } + } + } + }, + "x-designable-id": "glsoje8s709" + } +} diff --git a/defaultSchema/sidePanel.json b/defaultSchema/sidePanel.json new file mode 100644 index 0000000..c1d4692 --- /dev/null +++ b/defaultSchema/sidePanel.json @@ -0,0 +1,705 @@ +{ + "form": { + "labelCol": 6, + "wrapperCol": 12, + "style": { + "height": "100vh", + "backgroundImage": "url(https://pics4.baidu.com/feed/ac6eddc451da81cb248422ef5149f5180924316a.jpeg@f_auto?token=169dc3851f2daca6b290e7ba5ec44aef)", + "backgroundRepeat": "no-repeat", + "backgroundSize": "cover", + "backgroundPosition": "center", + "backgroundAttachment": "fixed", + "overflow": "scroll" + } + }, + "schema": { + "type": "object", + "properties": { + "keyword": { + "type": "string", + "title": "", + "x-decorator": "FormItem", + "x-component": "Input", + "x-validator": [], + "x-component-props": { + "placeholder": "请输入搜索内容,回车键默认必应搜索", + "style": { + "borderRadius": "100px 100px 100px 100px", + "height": "50px", + "padding": "0px 24px 0px 24px" + }, + "size": "middle" + }, + "x-decorator-props": { + "style": { + "margin": "24px 24px 24px 24px" + } + }, + "name": "keyword", + "x-designable-id": "rxg79wd5801", + "x-index": 0, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "/**\n * 监听输入框回车事件\n **/\n$props({\n onPressEnter: (e) => {\n const keyword = e.target.value\n if (!keyword) {\n return\n }\n\n $utils.openUrl(`https://www.bing.com/search?q=${keyword}`)\n },\n})\n" + } + } + }, + "u32x8afe7ch": { + "type": "void", + "x-component": "Space", + "x-component-props": { + "style": { + "display": "flex", + "flexDirection": "row", + "justifyContent": "center", + "margin": "0px 0px 36px 0px" + }, + "size": 12 + }, + "x-designable-id": "u32x8afe7ch", + "x-index": 1, + "properties": { + "tboibt6om8a": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "百度", + "type": "primary", + "size": "small" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.baidu.com/s?wd=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "tboibt6om8a", + "x-index": 0 + }, + "fm6udn1cnac": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "必应", + "type": "primary", + "size": "small" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.bing.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "fm6udn1cnac", + "x-index": 1 + }, + "imvwv4bmyhp": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "谷歌", + "type": "primary", + "size": "small" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n // 这种方式会被谷歌屏蔽\n // window.open(`https://www.google.com/search?q=${$deps.keyword}`)\n\n // 这种方式不会被谷歌屏蔽\n $utils.openUrl(`https://www.google.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "imvwv4bmyhp", + "x-index": 2 + }, + "w77t7yadgaz": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "掘金", + "type": "primary", + "size": "small" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://juejin.cn/search?query=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "w77t7yadgaz", + "x-index": 3 + }, + "erg6gyy9yor": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "npm", + "type": "primary", + "size": "small" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://www.npmjs.com/search?q=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "erg6gyy9yor", + "x-index": 4 + }, + "amu7medcqyl": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "children": "bilibili", + "type": "primary", + "size": "small" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "string", + "source": "keyword", + "name": "keyword" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n if (!$deps.keyword) {\n return\n }\n\n $utils.openUrl(`https://search.bilibili.com/all?keyword=${$deps.keyword}`)\n },\n})\n" + } + }, + "x-designable-id": "amu7medcqyl", + "x-index": 5 + } + } + }, + "q4fx318cgcc": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-图文版-纵向", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "q4fx318cgcc", + "x-index": 2, + "properties": { + "2su76jd3ydl": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 120px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "2su76jd3ydl", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "smaktz68ndl", + "properties": { + "qglpcdt93vt": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "cursor": "pointer", + "display": "flex", + "flexDirection": "column", + "alignItems": "center", + "padding": "8px 0px 8px 0px" + } + }, + "x-reactions": { + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "qglpcdt93vt", + "x-index": 0, + "properties": { + "icon": { + "type": "string", + "x-component": "Img", + "x-component-props": { + "style": { + "width": "40px", + "height": "40px" + }, + "objectFit": "contain" + }, + "name": "icon", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$effect(() => {\n // 获取迭代器布局中当前点击的条目数据\n const row = $utils.getArrayFieldRow($self)\n // 获取书签的图标地址\n $utils.getBookmarkIconUrl(row.url, row.icon).then((iconUrl) => {\n $props({\n src: iconUrl,\n })\n })\n}, [])\n" + } + }, + "x-designable-id": "r7bhs2gj9wp", + "x-index": 0 + }, + "title": { + "type": "string", + "x-component": "Text", + "name": "title", + "x-designable-id": "9fwhpl8r93g", + "x-index": 1 + } + } + } + } + } + } + } + }, + "f513ch3scns": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-图文版-横向", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "f513ch3scns", + "x-index": 3, + "properties": { + "jw4tfln4pab": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 140px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "jw4tfln4pab", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "z40sgnp5tgf", + "properties": { + "4s367ihs897": { + "type": "void", + "x-component": "Div", + "x-component-props": { + "style": { + "cursor": "pointer", + "display": "flex", + "flexDirection": "row", + "alignItems": "center", + "padding": "8px 0px 8px 0px" + } + }, + "x-reactions": { + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "4s367ihs897", + "x-index": 0, + "properties": { + "icon": { + "type": "string", + "x-component": "Img", + "x-component-props": { + "style": { + "width": "30px", + "height": "30px", + "margin": "0px 8px 0px 0px" + }, + "objectFit": "contain" + }, + "name": "icon", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$effect(() => {\n // 获取迭代器布局中当前点击的条目数据\n const row = $utils.getArrayFieldRow($self)\n // 获取书签的图标地址\n $utils.getBookmarkIconUrl(row.url, row.icon).then((iconUrl) => {\n $props({\n src: iconUrl,\n })\n })\n}, [])\n" + } + }, + "x-validator": [], + "x-designable-id": "zxwr4y5qv04", + "x-index": 0 + }, + "title": { + "type": "string", + "x-component": "Text", + "name": "title", + "x-component-props": {}, + "x-designable-id": "4jzfvm2q1wk", + "x-index": 1 + } + } + } + } + } + } + } + }, + "ho98j7lccnm": { + "type": "void", + "x-component": "Card", + "x-component-props": { + "title": "前端常用链接-文字版", + "style": { + "margin": "12px 12px 12px 12px" + }, + "bordered": false + }, + "x-designable-id": "ho98j7lccnm", + "x-index": 4, + "properties": { + "wjlg19hsd91": { + "type": "array", + "x-component": "IteratorLayout", + "x-component-props": { + "style": { + "display": "grid", + "gridTemplateColumns": "repeat(auto-fill, 90px)", + "justifyContent": "space-between", + "gap": "10px" + } + }, + "default": [ + { + "title": "React", + "url": "https://zh-hans.react.dev/learn" + }, + { + "title": "ReactRouter", + "url": "https://reactrouter.com/en/main/start/tutorial" + }, + { + "title": "Zustand", + "url": "https://docs.pmnd.rs/zustand/getting-started/introduction" + }, + { + "title": "Redux", + "url": "https://redux.js.org/introduction/getting-started" + }, + { + "title": "Redux-Toolkit", + "url": "https://redux-toolkit.js.org/introduction/getting-started" + }, + { + "title": "Next.js", + "url": "https://www.nextjs.cn" + }, + { + "title": "Vue", + "url": "https://cn.vuejs.org/v2/guide/index.html" + }, + { + "title": "VueRouter", + "url": "https://router.vuejs.org/zh/guide" + }, + { + "title": "Vuex", + "url": "https://vuex.vuejs.org/zh/guide" + }, + { + "title": "Pinia", + "url": "https://pinia.vuejs.org/zh/introduction.html" + }, + { + "title": "Nuxt", + "url": "https://nuxt.com/docs/getting-started/installation" + }, + { + "title": "Electron", + "url": "https://www.electronjs.org/zh/docs/latest/tutorial/quick-start" + }, + { + "title": "Tauri", + "url": "https://tauri.app/zh-cn/v1/guides/" + } + ], + "x-validator": [], + "x-designable-id": "wjlg19hsd91", + "x-index": 0, + "items": { + "type": "object", + "x-designable-id": "1cowz5dwai2", + "properties": { + "title": { + "type": "string", + "x-component": "Button", + "x-component-props": { + "target": "_blank", + "type": "link", + "children": "超链接" + }, + "name": "title", + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 处理点击指定的循环类组件的条目链接,默认就是取的条目的 url 字段来打开\n $utils.clickArrayFieldUrlItem($self)\n },\n})\n" + } + }, + "x-designable-id": "s4slpbt3fni", + "x-index": 0 + } + } + } + } + } + }, + "oiiql0q7pb0": { + "type": "void", + "x-component": "FloatButtonGroup", + "x-component-props": { + "icon": "MoreOutlined", + "type": "primary", + "trigger": "hover", + "insetInlineEnd": 48, + "insetBlockEnd": 48, + "badge": {} + }, + "x-designable-id": "oiiql0q7pb0", + "x-index": 5, + "properties": { + "utvm3pcabbi": { + "x-component": "FloatButton", + "x-component-props": { + "description": "", + "type": "primary", + "badge": {}, + "target": "_blank", + "icon": "EditFilled", + "tooltip": "编辑当前页面" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 编辑当前页面\n $ga.editCurrentPage()\n },\n})\n" + } + }, + "x-designable-id": "utvm3pcabbi", + "x-index": 0 + }, + "3ce4pdz0w31": { + "x-component": "FloatButton", + "x-component-props": { + "description": "", + "type": "primary", + "insetInlineEnd": 24, + "insetBlockEnd": 48, + "badge": {}, + "target": "_blank", + "icon": "SettingOutlined", + "tooltip": "低代码页面管理" + }, + "x-reactions": { + "dependencies": [ + { + "__DO_NOT_USE_THIS_PROPERTY_index__": 0, + "property": "value", + "type": "any" + } + ], + "fulfill": { + "run": "$props({\n onClick: () => {\n // 低代码页面管理\n $ga.lowCodePageManage()\n },\n})\n" + } + }, + "x-designable-id": "3ce4pdz0w31", + "x-index": 1 + } + } + } + }, + "x-designable-id": "wi2ow49t2w3" + } +} diff --git a/god-assistant-0.1.6.zip b/god-assistant-0.1.6.zip new file mode 100644 index 0000000..c350ddb Binary files /dev/null and b/god-assistant-0.1.6.zip differ diff --git a/images/BGAQrCode.jpg b/images/BGAQrCode.jpg new file mode 100644 index 0000000..8a3721c Binary files /dev/null and b/images/BGAQrCode.jpg differ diff --git a/images/GongZhongHao.jpg b/images/GongZhongHao.jpg new file mode 100644 index 0000000..e15f79c Binary files /dev/null and b/images/GongZhongHao.jpg differ diff --git a/images/WeChatGroup1QrCode.jpg b/images/WeChatGroup1QrCode.jpg new file mode 100644 index 0000000..7ff6cfb Binary files /dev/null and b/images/WeChatGroup1QrCode.jpg differ diff --git a/images/ga-choose-install-dir.png b/images/ga-choose-install-dir.png new file mode 100644 index 0000000..f42573b Binary files /dev/null and b/images/ga-choose-install-dir.png differ diff --git a/images/ga-chrome-open-dev-mode.png b/images/ga-chrome-open-dev-mode.png new file mode 100644 index 0000000..8783230 Binary files /dev/null and b/images/ga-chrome-open-dev-mode.png differ diff --git a/images/ga-chrome-open-options.png b/images/ga-chrome-open-options.png new file mode 100644 index 0000000..a73e430 Binary files /dev/null and b/images/ga-chrome-open-options.png differ diff --git a/images/ga-chrome-options-page.png b/images/ga-chrome-options-page.png new file mode 100644 index 0000000..2bd5abb Binary files /dev/null and b/images/ga-chrome-options-page.png differ diff --git a/images/ga-edge-open-dev-mode.png b/images/ga-edge-open-dev-mode.png new file mode 100644 index 0000000..8995451 Binary files /dev/null and b/images/ga-edge-open-dev-mode.png differ diff --git a/images/ga-edge-open-options.png b/images/ga-edge-open-options.png new file mode 100644 index 0000000..add9f7f Binary files /dev/null and b/images/ga-edge-open-options.png differ diff --git a/images/ga-edge-upgrade-permission.png b/images/ga-edge-upgrade-permission.png new file mode 100644 index 0000000..cbbdf0a Binary files /dev/null and b/images/ga-edge-upgrade-permission.png differ diff --git a/images/ga-editor.png b/images/ga-editor.png new file mode 100644 index 0000000..8fb66e7 Binary files /dev/null and b/images/ga-editor.png differ diff --git a/images/ga-editor2.jpg b/images/ga-editor2.jpg new file mode 100644 index 0000000..cd91433 Binary files /dev/null and b/images/ga-editor2.jpg differ diff --git a/images/ga-fixed.png b/images/ga-fixed.png new file mode 100644 index 0000000..7c2cc5d Binary files /dev/null and b/images/ga-fixed.png differ diff --git a/images/ga-logo-128.png b/images/ga-logo-128.png new file mode 100644 index 0000000..ebee0f7 Binary files /dev/null and b/images/ga-logo-128.png differ diff --git a/images/ga-preview.png b/images/ga-preview.png new file mode 100644 index 0000000..00d2144 Binary files /dev/null and b/images/ga-preview.png differ diff --git a/images/ga-preview2.jpg b/images/ga-preview2.jpg new file mode 100644 index 0000000..4b26df8 Binary files /dev/null and b/images/ga-preview2.jpg differ diff --git a/images/ga-update-version-choose-dir.png b/images/ga-update-version-choose-dir.png new file mode 100644 index 0000000..0897f55 Binary files /dev/null and b/images/ga-update-version-choose-dir.png differ diff --git a/images/ga-update-version.png b/images/ga-update-version.png new file mode 100644 index 0000000..ee8345e Binary files /dev/null and b/images/ga-update-version.png differ diff --git a/images/ga-userScripts-manage.png b/images/ga-userScripts-manage.png new file mode 100644 index 0000000..d7c79f5 Binary files /dev/null and b/images/ga-userScripts-manage.png differ diff --git a/images/ga-userScripts-preview.png b/images/ga-userScripts-preview.png new file mode 100644 index 0000000..38c63b6 Binary files /dev/null and b/images/ga-userScripts-preview.png differ