@vtj/pro 0.18.14 → 0.18.16
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/@vtj/materials/assets/antdv/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
- package/dist/assets/{Editor-uPV3tKdM-CYWQH8Ar.js → Editor-CSQEzxmK-eDSkcgVE.js} +60 -60
- package/dist/assets/auth-07lUsO_O.js +1 -0
- package/dist/assets/{index-Cgi-8dTX.js → index-BVQG6XLK.js} +1 -1
- package/dist/assets/{index-DuhaSX1b.js → index-LzBF__t7.js} +2 -2
- package/dist/assets/page-nwCoeRFO.js +2 -0
- package/dist/assets/{preview-VQ6ixgOZ.js → preview-C0K_GS3v.js} +1 -1
- package/dist/assets/{utils-BJAv0BPV.js → utils-GFGuMatd.js} +1 -1
- package/dist/index.html +3 -3
- package/dist/uni/assets/{index-D_QsbzKe.js → index-D1sqvsUa.js} +31 -31
- package/dist/uni/index.html +1 -1
- package/package.json +11 -11
- package/dist/assets/auth-BgZjdY8h.js +0 -1
- package/dist/assets/page-puAU3hkL.js +0 -2
- /package/dist/assets/{Editor-uPV3tKdM-C4uXNc6V.css → Editor-CSQEzxmK-C4uXNc6V.css} +0 -0
package/dist/uni/index.html
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<title></title>
|
|
45
45
|
<!--preload-links-->
|
|
46
46
|
<!--app-context-->
|
|
47
|
-
<script type="module" crossorigin src="./assets/index-
|
|
47
|
+
<script type="module" crossorigin src="./assets/index-D1sqvsUa.js"></script>
|
|
48
48
|
<link rel="modulepreload" crossorigin href="./assets/axios-Cc-15rbk.js">
|
|
49
49
|
<link rel="modulepreload" crossorigin href="./assets/vue-DefuvV9N.js">
|
|
50
50
|
<link rel="modulepreload" crossorigin href="./assets/@dcloudio-uni-shared-BN07FyFa.js">
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtj/pro",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.18.
|
|
4
|
+
"version": "0.18.16",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"AI低代码",
|
|
7
7
|
"AI编程",
|
|
@@ -23,22 +23,22 @@
|
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"type": "module",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@vtj/core": "~0.18.
|
|
27
|
-
"@vtj/
|
|
28
|
-
"@vtj/
|
|
29
|
-
"@vtj/
|
|
30
|
-
"@vtj/
|
|
31
|
-
"@vtj/uni": "~0.18.
|
|
26
|
+
"@vtj/core": "~0.18.16",
|
|
27
|
+
"@vtj/designer": "~0.18.16",
|
|
28
|
+
"@vtj/local": "~0.18.16",
|
|
29
|
+
"@vtj/materials": "~0.18.16",
|
|
30
|
+
"@vtj/renderer": "~0.18.16",
|
|
31
|
+
"@vtj/uni": "~0.18.16"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"vite-plugin-vue-devtools": "~8.0.2",
|
|
35
35
|
"vue": "~3.5.37",
|
|
36
36
|
"vue-router": "~4.6.0",
|
|
37
|
-
"@vtj/charts": "~0.18.14",
|
|
38
37
|
"@vtj/cli": "~0.13.0",
|
|
39
|
-
"@vtj/icons": "~0.18.
|
|
40
|
-
"@vtj/
|
|
41
|
-
"@vtj/
|
|
38
|
+
"@vtj/icons": "~0.18.16",
|
|
39
|
+
"@vtj/charts": "~0.18.16",
|
|
40
|
+
"@vtj/ui": "~0.18.16",
|
|
41
|
+
"@vtj/utils": "~0.18.16"
|
|
42
42
|
},
|
|
43
43
|
"exports": {
|
|
44
44
|
"./vite": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var I=Object.defineProperty;var y=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var k=(o,e,t)=>e in o?I(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,u=(o,e)=>{for(var t in e||(e={}))x.call(e,t)&&k(o,t,e[t]);if(y)for(var t of y(e))A.call(e,t)&&k(o,t,e[t]);return o};var _=(o,e,t)=>new Promise((c,r)=>{var n=s=>{try{i(t.next(s))}catch(a){r(a)}},p=s=>{try{i(t.throw(s))}catch(a){r(a)}},i=s=>s.done?c(s.value):Promise.resolve(s.value).then(n,p);i((t=t.apply(o,e)).next())});import"./element-plus-_gYoEp33.js";import"./vxe-BulginLS.js";import{O as U,aI as b,ac as d,aJ as B,aK as E,K}from"./Editor-uPV3tKdM-CYWQH8Ar.js";import{useRoute as q}from"./vue-router-CDqTjrgM.js";import{y as w,az as f,I as v,D as C,u as l,E as R,U as $}from"./vue-fMktb-5o.js";import{_ as g}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./@vueuse-SvwMwBjL.js";import"./lodash-es-BxdYFYdv.js";import"./shared-Bc0G8KpM.js";import"./@element-plus-icons-vue-DA02k83P.js";import"./dayjs-CxR8wwn9.js";import"./monaco-editor-Bgo-w-Z8.js";import"./axios-Cc-15rbk.js";import"./html2canvas-DNSjNh3_.js";import"./mockjs-Cu-wxkKz.js";import"./marked--VTVY_DP.js";const O={class:"loading"},S=w({__name:"Auth",props:{remote:{},access:{},baseUrl:{default:"/"}},setup(o){return _(this,null,function*(){let e,t;const c=o,r=U(u(u({alert:d},b),c.access)),n=q(),p=a=>_(null,null,function*(){const h=`${c.remote||B}/api/open/user/${a}`,m=yield E(h).catch(()=>null);return m&&Array.isArray(m)?m:!m||!m.success?(yield d("登录失败"),null):m.data}),i=n.query.token,s=i?([e,t]=f(()=>p(i)),e=yield e,t(),e):null;if(s)try{r.login(s);const a=n.query.redirect;location.href=decodeURIComponent(a||c.baseUrl)}catch(a){location.reload()}else{[e,t]=f(()=>d("登录失败")),yield e,t();const a=n.query.redirect;location.href=decodeURIComponent(a||c.baseUrl)}return(a,h)=>(C(),v("div",O,"正在登录中..."))})}}),z=g(S,[["__scopeId","data-v-2cb061ca"]]),ee=w({__name:"auth",setup(o){return _(this,null,function*(){let e,t;const c=new K,r=([e,t]=f(()=>c.getExtension().catch(()=>null)),e=yield e,t(),e),n=r==null?void 0:r.remote,p=r==null?void 0:r.__ACCESS__;return(i,s)=>l(n)?(C(),R(l(z),{key:0,remote:l(n),access:l(p)},null,8,["remote","access"])):$("",!0)})}});export{ee as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-CDqTjrgM.js","./vue-fMktb-5o.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var P=Object.defineProperty;var E=Object.getOwnPropertySymbols;var R=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var C=(o,t,e)=>t in o?P(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,y=(o,t)=>{for(var e in t||(t={}))R.call(t,e)&&C(o,e,t[e]);if(E)for(var e of E(t))V.call(t,e)&&C(o,e,t[e]);return o};var c=(o,t,e)=>new Promise((_,s)=>{var u=r=>{try{p(e.next(r))}catch(i){s(i)}},d=r=>{try{p(e.throw(r))}catch(i){s(i)}},p=r=>r.done?_(r.value):Promise.resolve(r.value).then(u,d);p((e=e.apply(o,t)).next())});import{_ as g}from"./monaco-editor-Bgo-w-Z8.js";import{useRoute as h}from"./vue-router-CDqTjrgM.js";import"./element-plus-_gYoEp33.js";import"./vxe-BulginLS.js";import{K as A,G as D,V as T,j as k,P as B,Y as I,N}from"./Editor-uPV3tKdM-CYWQH8Ar.js";import{a as S,n as w,l as j,E as G}from"./utils-BJAv0BPV.js";import{y as K}from"./@vueuse-SvwMwBjL.js";import{y as L,az as x,e as O,E as Y,S as z,U as H,r as U,D as b,g as q}from"./vue-fMktb-5o.js";import"./lodash-es-BxdYFYdv.js";import"./shared-Bc0G8KpM.js";import"./@element-plus-icons-vue-DA02k83P.js";import"./dayjs-CxR8wwn9.js";import"./axios-Cc-15rbk.js";import"./html2canvas-DNSjNh3_.js";import"./mockjs-Cu-wxkKz.js";import"./marked--VTVY_DP.js";const mt=L({__name:"page",setup(o){return c(this,null,function*(){let t,e;const _=new A(D(w)),s=([t,e]=x(()=>_.getExtension().catch(()=>null)),t=yield t,e(),t),u=T({loading:j,notify:w,useTitle:K,alert:S,access:s==null?void 0:s.access}),d=s?([t,e]=x(()=>new G(s).load()),t=yield t,e(),t):{},{__BASE_PATH__:p="/"}=s||{},{provider:r,onReady:i}=k({mode:B.Runtime,service:_,materialPath:p,adapter:y(y({},u),d.adapter),dependencies:{Vue:()=>g(()=>import("./vue-fMktb-5o.js").then(a=>a.aA),[],import.meta.url),VueRouter:()=>g(()=>import("./vue-router-CDqTjrgM.js"),__vite__mapDeps([0,1]),import.meta.url)}}),l=h(),f=U(),n=q(),v=a=>c(null,null,function*(){f.value=yield r.getRenderComponent(l.params.id.toString(),m=>{N(a,l,m)})});return i(()=>c(null,null,function*(){const a=n==null?void 0:n.appContext.app;a&&(a.use(I),a.use(r),v(a))})),O(()=>l.params.id,a=>c(null,null,function*(){if(a){const m=n==null?void 0:n.appContext.app;if(!m)return;v(m)}})),(a,m)=>f.value?(b(),Y(z(f.value),{key:0})):H("",!0)})}});export{mt as default};
|
|
File without changes
|