@opentiny/tiny-engine-plugin-bridge 2.2.0-rc.1 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -12
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { reactive as z, ref as N, watchEffect as Z, resolveComponent as i,
|
|
3
|
-
import {
|
|
2
|
+
import { reactive as z, ref as N, watchEffect as Z, resolveComponent as i, createElementBlock as L, openBlock as f, createElementVNode as v, createVNode as s, withCtx as l, Fragment as te, renderList as ne, withModifiers as K, normalizeClass as oe, toDisplayString as U, computed as C, watch as ae, onMounted as se, createBlock as E, createCommentVNode as T, createTextVNode as w, nextTick as re } from "vue";
|
|
3
|
+
import { SvgButton as j, SearchEmpty as le, ButtonGroup as ce, VueMonaco as ie, PluginSetting as de, PluginPanel as pe } from "@opentiny/tiny-engine-common";
|
|
4
4
|
import { getMetaApi as b, META_SERVICE as S, useResource as B, useNotify as k, useModal as ue, getMergeMeta as me } from "@opentiny/tiny-engine-meta-register";
|
|
5
5
|
import { isVsCodeEnv as ge } from "@opentiny/tiny-engine-common/js/environments";
|
|
6
6
|
import { generateBridge as ye, generateUtil as _e } from "@opentiny/tiny-engine-common/js/vscodeGenerateFile";
|
|
7
|
-
import { Search as fe,
|
|
7
|
+
import { Search as fe, Radio as ve, RadioGroup as he, Checkbox as Ee, FormItem as Re, Button as Ce, Input as Ve, Form as be } from "@opentiny/vue";
|
|
8
8
|
import { iconSearch as Se } from "@opentiny/vue-icon";
|
|
9
9
|
const xe = (n, t) => b(S.Http).get(`/app-center/api/apps/extension/list?app=${n}&category=${t}`), Te = (n) => b(S.Http).post("/app-center/api/apps/extension/create", n), ke = (n) => b(S.Http).post("/app-center/api/apps/extension/update", n), Ne = (n) => b(S.Http).get(`/app-center/api/apps/extension/delete?${n}`), Ue = (n) => {
|
|
10
10
|
b(S.Http).get(`/app-center/api/apps/schema/${n}`).then((t) => {
|
|
@@ -47,7 +47,6 @@ const xe = (n, t) => b(S.Http).get(`/app-center/api/apps/extension/list?app=${n}
|
|
|
47
47
|
[V.Util]: "新建工具类",
|
|
48
48
|
[V.Bridge]: "新建桥接源"
|
|
49
49
|
}, I = {
|
|
50
|
-
Read: "read",
|
|
51
50
|
Edit: "edit"
|
|
52
51
|
}, D = () => b(S.GlobalService).getBaseInfo().id, Oe = (n) => u.resourceNames[n], we = (n, t) => {
|
|
53
52
|
u.resourceNames[n] = t;
|
|
@@ -216,17 +215,17 @@ const je = /* @__PURE__ */ J(De, [["render", ze], ["__scopeId", "data-v-6480187c
|
|
|
216
215
|
W.value = !1;
|
|
217
216
|
}, We = {
|
|
218
217
|
components: {
|
|
219
|
-
TinyForm:
|
|
220
|
-
TinyInput:
|
|
221
|
-
TinyButton:
|
|
218
|
+
TinyForm: be,
|
|
219
|
+
TinyInput: Ve,
|
|
220
|
+
TinyButton: Ce,
|
|
222
221
|
TinyFormItem: Re,
|
|
223
|
-
TinyCheckbox:
|
|
224
|
-
PluginSetting:
|
|
222
|
+
TinyCheckbox: Ee,
|
|
223
|
+
PluginSetting: de,
|
|
225
224
|
MonacoEditor: ie,
|
|
226
|
-
TinyRadioGroup:
|
|
227
|
-
TinyRadio:
|
|
225
|
+
TinyRadioGroup: he,
|
|
226
|
+
TinyRadio: ve,
|
|
228
227
|
SvgButton: j,
|
|
229
|
-
ButtonGroup:
|
|
228
|
+
ButtonGroup: ce
|
|
230
229
|
},
|
|
231
230
|
setup(n, { emit: t }) {
|
|
232
231
|
const m = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/tiny-engine-plugin-bridge",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"homepage": "https://opentiny.design/tiny-engine",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@opentiny/tiny-engine-common": "2.2.
|
|
29
|
-
"@opentiny/tiny-engine-meta-register": "2.2.0
|
|
28
|
+
"@opentiny/tiny-engine-common": "2.2.1",
|
|
29
|
+
"@opentiny/tiny-engine-meta-register": "2.2.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.2.0
|
|
32
|
+
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.2.0",
|
|
33
33
|
"@vitejs/plugin-vue": "^5.1.2",
|
|
34
34
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
35
35
|
"vite": "^5.4.2"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@opentiny/vue-icon": "^3.14.0",
|
|
40
40
|
"vue": "^3.4.15"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "589fcf9717f4ba565ded2f2eb520d5066a53ab64"
|
|
43
43
|
}
|