@vtj/pro 0.9.23 → 0.9.24

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.
@@ -6,4 +6,4 @@ import{g as getDefaultExportFromCjs}from"./dayjs-D_Mdy0hN.js";var mock$1={export
6
6
  `?(g.seenCR||g.line++,g.column=1,g.seenCR=!1):$==="\r"||$==="\u2028"||$==="\u2029"?(g.line++,g.column=1,g.seenCR=!0):(g.column++,g.seenCR=!1)}return K!==e&&(K>e&&(K=0,s0={line:1,column:1,seenCR:!1}),t(s0,K,e),K=e),s0}function w(e){r0>r||(r>r0&&(r0=r,a0=[]),a0.push(e))}function u0(e){var t=0;for(e.sort();t<e.length;)e[t-1]===e[t]?e.splice(t,1):t++}function I(){var e,t,g,A,P;return e=r,t=W(),t!==null?(g=r,R.charCodeAt(r)===124?(A=O2,r++):(A=null,E===0&&w(F2)),A!==null?(P=I(),P!==null?(A=[A,P],g=A):(r=g,g=M)):(r=g,g=M),g===null&&(g=z),g!==null?(T=e,t=I2(t,g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M),e}function W(){var e,t,g,A,P;if(e=r,t=G(),t===null&&(t=z),t!==null)if(g=r,E++,A=j(),E--,A===null?g=z:(r=g,g=M),g!==null){for(A=[],P=Y(),P===null&&(P=X());P!==null;)A.push(P),P=Y(),P===null&&(P=X());A!==null?(P=J(),P===null&&(P=z),P!==null?(T=e,t=q2(t,A,P),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M)}else r=e,e=M;else r=e,e=M;return e}function X(){var e;return e=x2(),e===null&&(e=E2(),e===null&&(e=k2())),e}function G(){var e,t;return e=r,R.charCodeAt(r)===94?(t=H0,r++):(t=null,E===0&&w(D0)),t!==null&&(T=e,t=N2()),t===null&&(r=e),e=t,e}function J(){var e,t;return e=r,R.charCodeAt(r)===36?(t=U2,r++):(t=null,E===0&&w(B2)),t!==null&&(T=e,t=j2()),t===null&&(r=e),e=t,e}function Y(){var e,t,g;return e=r,t=X(),t!==null?(g=j(),g!==null?(T=e,t=G2(t,g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M),e}function j(){var e,t,g;return E++,e=r,t=q(),t!==null?(g=m2(),g===null&&(g=z),g!==null?(T=e,t=X2(t,g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M),E--,e===null&&(t=null,E===0&&w(z2)),e}function q(){var e;return e=f2(),e===null&&(e=h2(),e===null&&(e=p2(),e===null&&(e=d2(),e===null&&(e=v2(),e===null&&(e=g2()))))),e}function f2(){var e,t,g,A,P,B;return e=r,R.charCodeAt(r)===123?(t=i0,r++):(t=null,E===0&&w(o0)),t!==null?(g=V(),g!==null?(R.charCodeAt(r)===44?(A=K2,r++):(A=null,E===0&&w($2)),A!==null?(P=V(),P!==null?(R.charCodeAt(r)===125?(B=L0,r++):(B=null,E===0&&w(O0)),B!==null?(T=e,t=W2(g,P),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M)):(r=e,e=M)):(r=e,e=M)):(r=e,e=M),e}function h2(){var e,t,g,A;return e=r,R.charCodeAt(r)===123?(t=i0,r++):(t=null,E===0&&w(o0)),t!==null?(g=V(),g!==null?(R.substr(r,2)===F0?(A=F0,r+=2):(A=null,E===0&&w(J2)),A!==null?(T=e,t=Y2(g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M)):(r=e,e=M),e}function p2(){var e,t,g,A;return e=r,R.charCodeAt(r)===123?(t=i0,r++):(t=null,E===0&&w(o0)),t!==null?(g=V(),g!==null?(R.charCodeAt(r)===125?(A=L0,r++):(A=null,E===0&&w(O0)),A!==null?(T=e,t=V2(g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M)):(r=e,e=M),e}function d2(){var e,t;return e=r,R.charCodeAt(r)===43?(t=_2,r++):(t=null,E===0&&w(Q2)),t!==null&&(T=e,t=Z2()),t===null&&(r=e),e=t,e}function v2(){var e,t;return e=r,R.charCodeAt(r)===42?(t=e1,r++):(t=null,E===0&&w(t1)),t!==null&&(T=e,t=n1()),t===null&&(r=e),e=t,e}function g2(){var e,t;return e=r,R.charCodeAt(r)===63?(t=I0,r++):(t=null,E===0&&w(q0)),t!==null&&(T=e,t=r1()),t===null&&(r=e),e=t,e}function m2(){var e;return R.charCodeAt(r)===63?(e=I0,r++):(e=null,E===0&&w(q0)),e}function V(){var e,t,g;if(e=r,t=[],N0.test(R.charAt(r))?(g=R.charAt(r),r++):(g=null,E===0&&w(U0)),g!==null)for(;g!==null;)t.push(g),N0.test(R.charAt(r))?(g=R.charAt(r),r++):(g=null,E===0&&w(U0));else t=M;return t!==null&&(T=e,t=a1(t)),t===null&&(r=e),e=t,e}function x2(){var e,t,g,A;return e=r,R.charCodeAt(r)===40?(t=u1,r++):(t=null,E===0&&w(l1)),t!==null?(g=C2(),g===null&&(g=R2(),g===null&&(g=b2(),g===null&&(g=y2()))),g!==null?(R.charCodeAt(r)===41?(A=i1,r++):(A=null,E===0&&w(o1)),A!==null?(T=e,t=c1(g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M)):(r=e,e=M),e}function y2(){var e,t;return e=r,t=I(),t!==null&&(T=e,t=s1(t)),t===null&&(r=e),e=t,e}function b2(){var e,t,g;return e=r,R.substr(r,2)===B0?(t=B0,r+=2):(t=null,E===0&&w(f1)),t!==null?(g=I(),g!==null?(T=e,t=h1(g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M),e}function C2(){var e,t,g;return e=r,R.substr(r,2)===j0?(t=j0,r+=2):(t=null,E===0&&w(p1)),t!==null?(g=I(),g!==null?(T=e,t=d1(g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M),e}function R2(){var e,t,g;return e=r,R.substr(r,2)===G0?(t=G0,r+=2):(t=null,E===0&&w(v1)),t!==null?(g=I(),g!==null?(T=e,t=g1(g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M),e}function E2(){var e,t,g,A,P;if(E++,e=r,R.charCodeAt(r)===91?(t=x1,r++):(t=null,E===0&&w(y1)),t!==null)if(R.charCodeAt(r)===94?(g=H0,r++):(g=null,E===0&&w(D0)),g===null&&(g=z),g!==null){for(A=[],P=f0(),P===null&&(P=_());P!==null;)A.push(P),P=f0(),P===null&&(P=_());A!==null?(R.charCodeAt(r)===93?(P=b1,r++):(P=null,E===0&&w(C1)),P!==null?(T=e,t=R1(g,A),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M)}else r=e,e=M;else r=e,e=M;return E--,e===null&&(t=null,E===0&&w(m1)),e}function f0(){var e,t,g,A;return E++,e=r,t=_(),t!==null?(R.charCodeAt(r)===45?(g=w1,r++):(g=null,E===0&&w(A1)),g!==null?(A=_(),A!==null?(T=e,t=k1(t,A),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M)):(r=e,e=M),E--,e===null&&(t=null,E===0&&w(E1)),e}function _(){var e;return E++,e=A2(),e===null&&(e=w2()),E--,e===null&&E===0&&w(M1),e}function w2(){var e,t;return e=r,T1.test(R.charAt(r))?(t=R.charAt(r),r++):(t=null,E===0&&w(S1)),t!==null&&(T=e,t=c0(t)),t===null&&(r=e),e=t,e}function A2(){var e;return e=P2(),e===null&&(e=E0(),e===null&&(e=h0(),e===null&&(e=p0(),e===null&&(e=d0(),e===null&&(e=v0(),e===null&&(e=g0(),e===null&&(e=m0(),e===null&&(e=x0(),e===null&&(e=y0(),e===null&&(e=b0(),e===null&&(e=C0(),e===null&&(e=R0(),e===null&&(e=w0(),e===null&&(e=A0(),e===null&&(e=k0(),e===null&&(e=M0(),e===null&&(e=T0()))))))))))))))))),e}function k2(){var e;return e=M2(),e===null&&(e=S2(),e===null&&(e=T2())),e}function M2(){var e,t;return e=r,R.charCodeAt(r)===46?(t=P1,r++):(t=null,E===0&&w(H1)),t!==null&&(T=e,t=D1()),t===null&&(r=e),e=t,e}function T2(){var e,t;return E++,e=r,O1.test(R.charAt(r))?(t=R.charAt(r),r++):(t=null,E===0&&w(F1)),t!==null&&(T=e,t=c0(t)),t===null&&(r=e),e=t,E--,e===null&&(t=null,E===0&&w(L1)),e}function S2(){var e;return e=H2(),e===null&&(e=D2(),e===null&&(e=E0(),e===null&&(e=h0(),e===null&&(e=p0(),e===null&&(e=d0(),e===null&&(e=v0(),e===null&&(e=g0(),e===null&&(e=m0(),e===null&&(e=x0(),e===null&&(e=y0(),e===null&&(e=b0(),e===null&&(e=C0(),e===null&&(e=R0(),e===null&&(e=L2(),e===null&&(e=w0(),e===null&&(e=A0(),e===null&&(e=k0(),e===null&&(e=M0(),e===null&&(e=T0()))))))))))))))))))),e}function P2(){var e,t;return e=r,R.substr(r,2)===Z?(t=Z,r+=2):(t=null,E===0&&w(z0)),t!==null&&(T=e,t=I1()),t===null&&(r=e),e=t,e}function H2(){var e,t;return e=r,R.substr(r,2)===Z?(t=Z,r+=2):(t=null,E===0&&w(z0)),t!==null&&(T=e,t=q1()),t===null&&(r=e),e=t,e}function D2(){var e,t;return e=r,R.substr(r,2)===X0?(t=X0,r+=2):(t=null,E===0&&w(N1)),t!==null&&(T=e,t=U1()),t===null&&(r=e),e=t,e}function h0(){var e,t;return e=r,R.substr(r,2)===K0?(t=K0,r+=2):(t=null,E===0&&w(B1)),t!==null&&(T=e,t=j1()),t===null&&(r=e),e=t,e}function p0(){var e,t;return e=r,R.substr(r,2)===$0?(t=$0,r+=2):(t=null,E===0&&w(G1)),t!==null&&(T=e,t=z1()),t===null&&(r=e),e=t,e}function d0(){var e,t;return e=r,R.substr(r,2)===W0?(t=W0,r+=2):(t=null,E===0&&w(X1)),t!==null&&(T=e,t=K1()),t===null&&(r=e),e=t,e}function v0(){var e,t;return e=r,R.substr(r,2)===J0?(t=J0,r+=2):(t=null,E===0&&w($1)),t!==null&&(T=e,t=W1()),t===null&&(r=e),e=t,e}function g0(){var e,t;return e=r,R.substr(r,2)===Y0?(t=Y0,r+=2):(t=null,E===0&&w(J1)),t!==null&&(T=e,t=Y1()),t===null&&(r=e),e=t,e}function m0(){var e,t;return e=r,R.substr(r,2)===V0?(t=V0,r+=2):(t=null,E===0&&w(V1)),t!==null&&(T=e,t=_1()),t===null&&(r=e),e=t,e}function x0(){var e,t;return e=r,R.substr(r,2)===_0?(t=_0,r+=2):(t=null,E===0&&w(Q1)),t!==null&&(T=e,t=Z1()),t===null&&(r=e),e=t,e}function y0(){var e,t;return e=r,R.substr(r,2)===Q0?(t=Q0,r+=2):(t=null,E===0&&w(e3)),t!==null&&(T=e,t=t3()),t===null&&(r=e),e=t,e}function b0(){var e,t;return e=r,R.substr(r,2)===Z0?(t=Z0,r+=2):(t=null,E===0&&w(n3)),t!==null&&(T=e,t=r3()),t===null&&(r=e),e=t,e}function C0(){var e,t;return e=r,R.substr(r,2)===e2?(t=e2,r+=2):(t=null,E===0&&w(a3)),t!==null&&(T=e,t=u3()),t===null&&(r=e),e=t,e}function R0(){var e,t;return e=r,R.substr(r,2)===t2?(t=t2,r+=2):(t=null,E===0&&w(l3)),t!==null&&(T=e,t=i3()),t===null&&(r=e),e=t,e}function E0(){var e,t,g;return e=r,R.substr(r,2)===n2?(t=n2,r+=2):(t=null,E===0&&w(o3)),t!==null?(R.length>r?(g=R.charAt(r),r++):(g=null,E===0&&w(r2)),g!==null?(T=e,t=c3(g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M),e}function L2(){var e,t,g;return e=r,R.charCodeAt(r)===92?(t=a2,r++):(t=null,E===0&&w(u2)),t!==null?(s3.test(R.charAt(r))?(g=R.charAt(r),r++):(g=null,E===0&&w(f3)),g!==null?(T=e,t=h3(g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M),e}function w0(){var e,t,g,A;if(e=r,R.substr(r,2)===e0?(t=e0,r+=2):(t=null,E===0&&w(l2)),t!==null){if(g=[],i2.test(R.charAt(r))?(A=R.charAt(r),r++):(A=null,E===0&&w(o2)),A!==null)for(;A!==null;)g.push(A),i2.test(R.charAt(r))?(A=R.charAt(r),r++):(A=null,E===0&&w(o2));else g=M;g!==null?(T=e,t=p3(g),t===null&&(r=e),e=t):(r=e,e=M)}else r=e,e=M;return e}function A0(){var e,t,g,A;if(e=r,R.substr(r,2)===c2?(t=c2,r+=2):(t=null,E===0&&w(d3)),t!==null){if(g=[],t0.test(R.charAt(r))?(A=R.charAt(r),r++):(A=null,E===0&&w(n0)),A!==null)for(;A!==null;)g.push(A),t0.test(R.charAt(r))?(A=R.charAt(r),r++):(A=null,E===0&&w(n0));else g=M;g!==null?(T=e,t=v3(g),t===null&&(r=e),e=t):(r=e,e=M)}else r=e,e=M;return e}function k0(){var e,t,g,A;if(e=r,R.substr(r,2)===s2?(t=s2,r+=2):(t=null,E===0&&w(g3)),t!==null){if(g=[],t0.test(R.charAt(r))?(A=R.charAt(r),r++):(A=null,E===0&&w(n0)),A!==null)for(;A!==null;)g.push(A),t0.test(R.charAt(r))?(A=R.charAt(r),r++):(A=null,E===0&&w(n0));else g=M;g!==null?(T=e,t=m3(g),t===null&&(r=e),e=t):(r=e,e=M)}else r=e,e=M;return e}function M0(){var e,t;return e=r,R.substr(r,2)===e0?(t=e0,r+=2):(t=null,E===0&&w(l2)),t!==null&&(T=e,t=x3()),t===null&&(r=e),e=t,e}function T0(){var e,t,g;return e=r,R.charCodeAt(r)===92?(t=a2,r++):(t=null,E===0&&w(u2)),t!==null?(R.length>r?(g=R.charAt(r),r++):(g=null,E===0&&w(r2)),g!==null?(T=e,t=c0(g),t===null&&(r=e),e=t):(r=e,e=M)):(r=e,e=M),e}var l0,Q=arguments.length>1?arguments[1]:{},S0={regexp:I},P0=I,M=null,z="",O2="|",F2='"|"',I2=function(e,t){return t?new u(e,t[1]):e},q2=function(e,t,g){return new a([e].concat(t).concat([g]))},H0="^",D0='"^"',N2=function(){return new n("start")},U2="$",B2='"$"',j2=function(){return new n("end")},G2=function(e,t){return new p(e,t)},z2="Quantifier",X2=function(e,t){return t&&(e.greedy=!1),e},i0="{",o0='"{"',K2=",",$2='","',L0="}",O0='"}"',W2=function(e,t){return new f(e,t)},F0=",}",J2='",}"',Y2=function(e){return new f(e,1/0)},V2=function(e){return new f(e,e)},_2="+",Q2='"+"',Z2=function(){return new f(1,1/0)},e1="*",t1='"*"',n1=function(){return new f(0,1/0)},I0="?",q0='"?"',r1=function(){return new f(0,1)},N0=/^[0-9]/,U0="[0-9]",a1=function(e){return+e.join("")},u1="(",l1='"("',i1=")",o1='")"',c1=function(e){return e},s1=function(e){return new c(e)},B0="?:",f1='"?:"',h1=function(e){return new s("non-capture-group",e)},j0="?=",p1='"?="',d1=function(e){return new s("positive-lookahead",e)},G0="?!",v1='"?!"',g1=function(e){return new s("negative-lookahead",e)},m1="CharacterSet",x1="[",y1='"["',b1="]",C1='"]"',R1=function(e,t){return new o(!!e,t)},E1="CharacterRange",w1="-",A1='"-"',k1=function(e,t){return new v(e,t)},M1="Character",T1=/^[^\\\]]/,S1="[^\\\\\\]]",c0=function(e){return new y(e)},P1=".",H1='"."',D1=function(){return new n("any-character")},L1="Literal",O1=/^[^|\\\/.[()?+*$\^]/,F1="[^|\\\\\\/.[()?+*$\\^]",Z="\\b",z0='"\\\\b"',I1=function(){return new n("backspace")},q1=function(){return new n("word-boundary")},X0="\\B",N1='"\\\\B"',U1=function(){return new n("non-word-boundary")},K0="\\d",B1='"\\\\d"',j1=function(){return new n("digit")},$0="\\D",G1='"\\\\D"',z1=function(){return new n("non-digit")},W0="\\f",X1='"\\\\f"',K1=function(){return new n("form-feed")},J0="\\n",$1='"\\\\n"',W1=function(){return new n("line-feed")},Y0="\\r",J1='"\\\\r"',Y1=function(){return new n("carriage-return")},V0="\\s",V1='"\\\\s"',_1=function(){return new n("white-space")},_0="\\S",Q1='"\\\\S"',Z1=function(){return new n("non-white-space")},Q0="\\t",e3='"\\\\t"',t3=function(){return new n("tab")},Z0="\\v",n3='"\\\\v"',r3=function(){return new n("vertical-tab")},e2="\\w",a3='"\\\\w"',u3=function(){return new n("word")},t2="\\W",l3='"\\\\W"',i3=function(){return new n("non-word")},n2="\\c",o3='"\\\\c"',r2="any character",c3=function(e){return new b(e)},a2="\\",u2='"\\\\"',s3=/^[1-9]/,f3="[1-9]",h3=function(e){return new d(e)},e0="\\0",l2='"\\\\0"',i2=/^[0-7]/,o2="[0-7]",p3=function(e){return new h(e.join(""))},c2="\\x",d3='"\\\\x"',t0=/^[0-9a-fA-F]/,n0="[0-9a-fA-F]",v3=function(e){return new C(e.join(""))},s2="\\u",g3='"\\\\u"',m3=function(e){return new m(e.join(""))},x3=function(){return new n("null-character")},r=0,T=0,K=0,s0={line:1,column:1,seenCR:!1},r0=0,a0=[],E=0;if("startRule"in Q){if(!(Q.startRule in S0))throw new Error(`Can't start parsing from rule "`+Q.startRule+'".');P0=S0[Q.startRule]}if(n.offset=F,n.text=L,l0=P0(),l0!==null&&r===R.length)return l0;throw u0(a0),T=Math.max(r,r0),new D(a0,T<R.length?R.charAt(T):null,T,U(T).line,U(T).column)}return S(D,Error),{SyntaxError:D,parse:N}}(),H=1,O={};l.exports=k},function(l,x,n){var u=n(3),a=n(5),s={extend:u.extend},c=C(97,122),p=C(65,90),f=C(48,57),o=C(32,47)+C(58,64)+C(91,96)+C(123,126),v=C(32,126),y=` \f
7
7
  \r \v \u2028\u2029`,m={"\\w":c+p+f+"_","\\W":o.replace("_",""),"\\s":y,"\\S":function(){for(var h=v,d=0;d<y.length;d++)h=h.replace(y[d],"");return h}(),"\\d":f,"\\D":c+p+o};function C(h,d){for(var b="",k=h;k<=d;k++)b+=String.fromCharCode(k);return b}s.gen=function(h,d,b){return b=b||{guid:1},s[h.type]?s[h.type](h,d,b):s.token(h,d,b)},s.extend({token:function(h,d,b){switch(h.type){case"start":case"end":return"";case"any-character":return a.character();case"backspace":return"";case"word-boundary":return"";case"non-word-boundary":break;case"digit":return a.pick(f.split(""));case"non-digit":return a.pick((c+p+o).split(""));case"form-feed":break;case"line-feed":return h.body||h.text;case"carriage-return":break;case"white-space":return a.pick(y.split(""));case"non-white-space":return a.pick((c+p+f).split(""));case"tab":break;case"vertical-tab":break;case"word":return a.pick((c+p+f).split(""));case"non-word":return a.pick(o.replace("_","").split(""))}return h.body||h.text},alternate:function(h,d,b){return this.gen(a.boolean()?h.left:h.right,d,b)},match:function(h,d,b){d="";for(var k=0;k<h.body.length;k++)d+=this.gen(h.body[k],d,b);return d},"capture-group":function(h,d,b){return d=this.gen(h.body,d,b),b[b.guid++]=d,d},"non-capture-group":function(h,d,b){return this.gen(h.body,d,b)},"positive-lookahead":function(h,d,b){return this.gen(h.body,d,b)},"negative-lookahead":function(h,d,b){return""},quantified:function(h,d,b){d="";for(var k=this.quantifier(h.quantifier),H=0;H<k;H++)d+=this.gen(h.body,d,b);return d},quantifier:function(h,d,b){var k=Math.max(h.min,0),H=isFinite(h.max)?h.max:k+a.integer(3,7);return a.integer(k,H)},charset:function(h,d,b){if(h.invert)return this["invert-charset"](h,d,b);var k=a.pick(h.body);return this.gen(k,d,b)},"invert-charset":function(h,d,b){for(var k=v,H=0,O;H<h.body.length;H++)switch(O=h.body[H],O.type){case"literal":k=k.replace(O.body,"");break;case"range":for(var S=this.gen(O.start,d,b).charCodeAt(),D=this.gen(O.end,d,b).charCodeAt(),N=S;N<=D;N++)k=k.replace(String.fromCharCode(N),"");default:var R=m[O.text];if(R)for(var L=0;L<=R.length;L++)k=k.replace(R[L],"")}return a.pick(k.split(""))},range:function(h,d,b){var k=this.gen(h.start,d,b).charCodeAt(),H=this.gen(h.end,d,b).charCodeAt();return String.fromCharCode(a.integer(k,H))},literal:function(h,d,b){return h.escaped?h.body:h.text},unicode:function(h,d,b){return String.fromCharCode(parseInt(h.code,16))},hex:function(h,d,b){return String.fromCharCode(parseInt(h.code,16))},octal:function(h,d,b){return String.fromCharCode(parseInt(h.code,8))},"back-reference":function(h,d,b){return b[h.code]||""},CONTROL_CHARACTER_MAP:function(){for(var h="@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \\ ] ^ _".split(" "),d=`\0       \x07 \b
8
8
  \v \f \r              \x1B    `.split(" "),b={},k=0;k<h.length;k++)b[h[k]]=d[k];return b}(),"control-character":function(h,d,b){return this.CONTROL_CHARACTER_MAP[h.code]}}),l.exports=s},function(l,x,n){l.exports=n(24)},function(l,x,n){var u=n(2),a=n(3),s=n(4);function c(p,f,o){o=o||[];var v={name:typeof f=="string"?f.replace(u.RE_KEY,"$1"):f,template:p,type:a.type(p),rule:s.parse(f)};switch(v.path=o.slice(0),v.path.push(f===void 0?"ROOT":v.name),v.type){case"array":v.items=[],a.each(p,function(y,m){v.items.push(c(y,m,v.path))});break;case"object":v.properties=[],a.each(p,function(y,m){v.properties.push(c(y,m,v.path))});break}return v}l.exports=c},function(l,x,n){l.exports=n(26)},function(l,x,n){var u=n(2),a=n(3),s=n(23);function c(o,v){for(var y=s(o),m=p.diff(y,v),C=0;C<m.length;C++);return m}var p={diff:function(v,y,m){var C=[];return this.name(v,y,m,C)&&this.type(v,y,m,C)&&(this.value(v,y,m,C),this.properties(v,y,m,C),this.items(v,y,m,C)),C},name:function(o,v,y,m){var C=m.length;return f.equal("name",o.path,y+"",o.name+"",m),m.length===C},type:function(o,v,y,m){var C=m.length;switch(o.type){case"string":if(o.template.match(u.RE_PLACEHOLDER))return!0;break;case"array":if(o.rule.parameters&&(o.rule.min!==void 0&&o.rule.max===void 0&&o.rule.count===1||o.rule.parameters[2]))return!0;break;case"function":return!0}return f.equal("type",o.path,a.type(v),o.type,m),m.length===C},value:function(o,v,y,m){var C=m.length,h=o.rule,d=o.type;if(d==="object"||d==="array"||d==="function")return!0;if(!h.parameters){switch(d){case"regexp":return f.match("value",o.path,v,o.template,m),m.length===C;case"string":if(o.template.match(u.RE_PLACEHOLDER))return m.length===C;break}return f.equal("value",o.path,v,o.template,m),m.length===C}var b;switch(d){case"number":var k=(v+"").split(".");k[0]=+k[0],h.min!==void 0&&h.max!==void 0&&(f.greaterThanOrEqualTo("value",o.path,k[0],Math.min(h.min,h.max),m),f.lessThanOrEqualTo("value",o.path,k[0],Math.max(h.min,h.max),m)),h.min!==void 0&&h.max===void 0&&f.equal("value",o.path,k[0],h.min,m,"[value] "+y),h.decimal&&(h.dmin!==void 0&&h.dmax!==void 0&&(f.greaterThanOrEqualTo("value",o.path,k[1].length,h.dmin,m),f.lessThanOrEqualTo("value",o.path,k[1].length,h.dmax,m)),h.dmin!==void 0&&h.dmax===void 0&&f.equal("value",o.path,k[1].length,h.dmin,m));break;case"boolean":break;case"string":b=v.match(new RegExp(o.template,"g")),b=b?b.length:0,h.min!==void 0&&h.max!==void 0&&(f.greaterThanOrEqualTo("repeat count",o.path,b,h.min,m),f.lessThanOrEqualTo("repeat count",o.path,b,h.max,m)),h.min!==void 0&&h.max===void 0&&f.equal("repeat count",o.path,b,h.min,m);break;case"regexp":b=v.match(new RegExp(o.template.source.replace(/^\^|\$$/g,""),"g")),b=b?b.length:0,h.min!==void 0&&h.max!==void 0&&(f.greaterThanOrEqualTo("repeat count",o.path,b,h.min,m),f.lessThanOrEqualTo("repeat count",o.path,b,h.max,m)),h.min!==void 0&&h.max===void 0&&f.equal("repeat count",o.path,b,h.min,m);break}return m.length===C},properties:function(o,v,y,m){var C=m.length,h=o.rule,d=a.keys(v);if(o.properties){if(o.rule.parameters?(h.min!==void 0&&h.max!==void 0&&(f.greaterThanOrEqualTo("properties length",o.path,d.length,Math.min(h.min,h.max),m),f.lessThanOrEqualTo("properties length",o.path,d.length,Math.max(h.min,h.max),m)),h.min!==void 0&&h.max===void 0&&h.count!==1&&f.equal("properties length",o.path,d.length,h.min,m)):f.equal("properties length",o.path,d.length,o.properties.length,m),m.length!==C)return!1;for(var b=0;b<d.length;b++)m.push.apply(m,this.diff(function(){var k;return a.each(o.properties,function(H){H.name===d[b]&&(k=H)}),k||o.properties[b]}(),v[d[b]],d[b]));return m.length===C}},items:function(o,v,y,m){var C=m.length;if(o.items){var h=o.rule;if(!o.rule.parameters)f.equal("items length",o.path,v.length,o.items.length,m);else{if(h.min!==void 0&&h.max!==void 0&&(f.greaterThanOrEqualTo("items",o.path,v.length,Math.min(h.min,h.max)*o.items.length,m,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),f.lessThanOrEqualTo("items",o.path,v.length,Math.max(h.min,h.max)*o.items.length,m,"[{utype}] array is too long: {path} must have at most {expected} elements but instance has {actual} elements")),h.min!==void 0&&h.max===void 0){if(h.count===1)return m.length===C;f.equal("items length",o.path,v.length,h.min*o.items.length,m)}if(h.parameters[2])return m.length===C}if(m.length!==C)return!1;for(var d=0;d<v.length;d++)m.push.apply(m,this.diff(o.items[d%o.items.length],v[d],d%o.items.length));return m.length===C}}},f={message:function(o){return(o.message||"[{utype}] Expect {path}'{ltype} {action} {expected}, but is {actual}").replace("{utype}",o.type.toUpperCase()).replace("{ltype}",o.type.toLowerCase()).replace("{path}",a.isArray(o.path)&&o.path.join(".")||o.path).replace("{action}",o.action).replace("{expected}",o.expected).replace("{actual}",o.actual)},equal:function(o,v,y,m,C,h){if(y===m)return!0;switch(o){case"type":if(m==="regexp"&&y==="string")return!0;break}var d={path:v,type:o,actual:y,expected:m,action:"is equal to",message:h};return d.message=f.message(d),C.push(d),!1},match:function(o,v,y,m,C,h){if(m.test(y))return!0;var d={path:v,type:o,actual:y,expected:m,action:"matches",message:h};return d.message=f.message(d),C.push(d),!1},notEqual:function(o,v,y,m,C,h){if(y!==m)return!0;var d={path:v,type:o,actual:y,expected:m,action:"is not equal to",message:h};return d.message=f.message(d),C.push(d),!1},greaterThan:function(o,v,y,m,C,h){if(y>m)return!0;var d={path:v,type:o,actual:y,expected:m,action:"is greater than",message:h};return d.message=f.message(d),C.push(d),!1},lessThan:function(o,v,y,m,C,h){if(y<m)return!0;var d={path:v,type:o,actual:y,expected:m,action:"is less to",message:h};return d.message=f.message(d),C.push(d),!1},greaterThanOrEqualTo:function(o,v,y,m,C,h){if(y>=m)return!0;var d={path:v,type:o,actual:y,expected:m,action:"is greater than or equal to",message:h};return d.message=f.message(d),C.push(d),!1},lessThanOrEqualTo:function(o,v,y,m,C,h){if(y<=m)return!0;var d={path:v,type:o,actual:y,expected:m,action:"is less than or equal to",message:h};return d.message=f.message(d),C.push(d),!1}};c.Diff=p,c.Assert=f,l.exports=c},function(l,x,n){l.exports=n(28)},function(l,x,n){var u=n(3);window._XMLHttpRequest=window.XMLHttpRequest,window._ActiveXObject=window.ActiveXObject;try{new window.Event("custom")}catch(C){window.Event=function(h,d,b,k){var H=document.createEvent("CustomEvent");return H.initCustomEvent(h,d,b,k),H}}var a={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},s="readystatechange loadstart progress abort error load timeout loadend".split(" "),c="timeout withCredentials".split(" "),p="readyState responseURL status statusText responseType response responseText responseXML".split(" "),f={100:"Continue",101:"Switching Protocols",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",300:"Multiple Choice",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",422:"Unprocessable Entity",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported"};function o(){this.custom={events:{},requestHeaders:{},responseHeaders:{}}}o._settings={timeout:"10-100"},o.setup=function(C){return u.extend(o._settings,C),o._settings},u.extend(o,a),u.extend(o.prototype,a),o.prototype.mock=!0,o.prototype.match=!1,u.extend(o.prototype,{open:function(C,h,d,b,k){var H=this;u.extend(this.custom,{method:C,url:h,async:typeof d=="boolean"?d:!0,username:b,password:k,options:{url:h,type:C}}),this.custom.timeout=function(L){if(typeof L=="number")return L;if(typeof L=="string"&&!~L.indexOf("-"))return parseInt(L,10);if(typeof L=="string"&&~L.indexOf("-")){var F=L.split("-"),U=parseInt(F[0],10),w=parseInt(F[1],10);return Math.round(Math.random()*(w-U))+U}}(o._settings.timeout);var O=y(this.custom.options);function S(L){for(var F=0;F<p.length;F++)try{H[p[F]]=D[p[F]]}catch(U){}H.dispatchEvent(new Event(L.type))}if(!O){var D=v();this.custom.xhr=D;for(var N=0;N<s.length;N++)D.addEventListener(s[N],S);b?D.open(C,h,d,b,k):D.open(C,h,d);for(var R=0;R<c.length;R++)try{D[c[R]]=H[c[R]]}catch(L){}return}this.match=!0,this.custom.template=O,this.readyState=o.OPENED,this.dispatchEvent(new Event("readystatechange"))},setRequestHeader:function(C,h){if(!this.match){this.custom.xhr.setRequestHeader(C,h);return}var d=this.custom.requestHeaders;d[C]?d[C]+=","+h:d[C]=h},timeout:0,withCredentials:!1,upload:{},send:function(h){var d=this;if(this.custom.options.body=h,!this.match){this.custom.xhr.send(h);return}this.setRequestHeader("X-Requested-With","MockXMLHttpRequest"),this.dispatchEvent(new Event("loadstart")),this.custom.async?setTimeout(b,this.custom.timeout):b();function b(){d.readyState=o.HEADERS_RECEIVED,d.dispatchEvent(new Event("readystatechange")),d.readyState=o.LOADING,d.dispatchEvent(new Event("readystatechange")),d.status=200,d.statusText=f[200],d.response=d.responseText=JSON.stringify(m(d.custom.template,d.custom.options),null,4),d.readyState=o.DONE,d.dispatchEvent(new Event("readystatechange")),d.dispatchEvent(new Event("load")),d.dispatchEvent(new Event("loadend"))}},abort:function(){if(!this.match){this.custom.xhr.abort();return}this.readyState=o.UNSENT,this.dispatchEvent(new Event("abort",!1,!1,this)),this.dispatchEvent(new Event("error",!1,!1,this))}}),u.extend(o.prototype,{responseURL:"",status:o.UNSENT,statusText:"",getResponseHeader:function(C){return this.match?this.custom.responseHeaders[C.toLowerCase()]:this.custom.xhr.getResponseHeader(C)},getAllResponseHeaders:function(){if(!this.match)return this.custom.xhr.getAllResponseHeaders();var C=this.custom.responseHeaders,h="";for(var d in C)C.hasOwnProperty(d)&&(h+=d+": "+C[d]+`\r
9
- `);return h},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),u.extend(o.prototype,{addEventListener:function(h,d){var b=this.custom.events;b[h]||(b[h]=[]),b[h].push(d)},removeEventListener:function(h,d){for(var b=this.custom.events[h]||[],k=0;k<b.length;k++)b[k]===d&&b.splice(k--,1)},dispatchEvent:function(h){for(var d=this.custom.events[h.type]||[],b=0;b<d.length;b++)d[b].call(this,h);var k="on"+h.type;this[k]&&this[k](h)}});function v(){var C=function(){var b=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,k=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,H=location.href,O=k.exec(H.toLowerCase())||[];return b.test(O[1])}();return window.ActiveXObject?!C&&h()||d():h();function h(){try{return new window._XMLHttpRequest}catch(b){}}function d(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}}function y(C){for(var h in o.Mock._mocked){var d=o.Mock._mocked[h];if((!d.rurl||b(d.rurl,C.url))&&(!d.rtype||b(d.rtype,C.type.toLowerCase())))return d}function b(k,H){if(u.type(k)==="string")return k===H;if(u.type(k)==="regexp")return k.test(H)}}function m(C,h){return u.isFunction(C.template)?C.template(h):o.Mock.mock(C.template)}l.exports=o}])})}(mock$1)),mock$1.exports}var mockExports=requireMock();const to=getDefaultExportFromCjs(mockExports);export{to as t};
9
+ `);return h},overrideMimeType:function(){},responseType:"",response:null,responseText:"",responseXML:null}),u.extend(o.prototype,{addEventListener:function(h,d){var b=this.custom.events;b[h]||(b[h]=[]),b[h].push(d)},removeEventListener:function(h,d){for(var b=this.custom.events[h]||[],k=0;k<b.length;k++)b[k]===d&&b.splice(k--,1)},dispatchEvent:function(h){for(var d=this.custom.events[h.type]||[],b=0;b<d.length;b++)d[b].call(this,h);var k="on"+h.type;this[k]&&this[k](h)}});function v(){var C=function(){var b=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,k=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,H=location.href,O=k.exec(H.toLowerCase())||[];return b.test(O[1])}();return window.ActiveXObject?!C&&h()||d():h();function h(){try{return new window._XMLHttpRequest}catch(b){}}function d(){try{return new window._ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}}function y(C){for(var h in o.Mock._mocked){var d=o.Mock._mocked[h];if((!d.rurl||b(d.rurl,C.url))&&(!d.rtype||b(d.rtype,C.type.toLowerCase())))return d}function b(k,H){if(u.type(k)==="string")return k===H;if(u.type(k)==="regexp")return k.test(H)}}function m(C,h){return u.isFunction(C.template)?C.template(h):o.Mock.mock(C.template)}l.exports=o}])})}(mock$1)),mock$1.exports}var mockExports=requireMock();const ao=getDefaultExportFromCjs(mockExports);export{ao as a};
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-CrZzyM_O.js","./vue-DEqBd9tH.js"])))=>i.map(i=>d[i]);
2
- var B=Object.defineProperty,D=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var S=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var R=(o,e,t)=>e in o?B(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,g=(o,e)=>{for(var t in e||(e={}))S.call(e,t)&&R(o,t,e[t]);if(C)for(var t of C(e))V.call(e,t)&&R(o,t,e[t]);return o},l=(o,e)=>D(o,I(e));var E=(o,e,t)=>new Promise((_,i)=>{var p=s=>{try{a(t.next(s))}catch(m){i(m)}},c=s=>{try{a(t.throw(s))}catch(m){i(m)}},a=s=>s.done?_(s.value):Promise.resolve(s.value).then(p,c);a((t=t.apply(o,e)).next())});import{_ as v}from"./monaco-editor-BhWNbPWS.js";import{useRoute as b}from"./vue-router-CrZzyM_O.js";import{I as L,B as M,D as T,A as k,a as j,M as K,y as G}from"./index-DxbV-kZL.js";import{a as H}from"./element-plus-C1NYT3Gu.js";import"./vxe-CzgOUQRv.js";import{b as J,E as N}from"./extension-CIBt87P8.js";import{l as Y,n as w}from"./utils-B9i9aHNx.js";import{d as q,aA as x,e as z,J as F,M as Q,O as U,h as W,o as X}from"./vue-DEqBd9tH.js";import"./mockjs-D_rM_kf7.js";import"./dayjs-D_Mdy0hN.js";import"./lodash-es-Cd_vyJR8.js";import"./@vueuse-54eSL_G4.js";import"./@element-plus-icons-vue-CClttscX.js";import"./shared-CMPiinVg.js";import"./html2canvas-D2Pt4KSj.js";const le=q({__name:"page",setup(o){return E(this,null,function*(){let e,t;const _=L({loading:Y,notify:w}),i=new M(T(w)),p=([e,t]=x(()=>i.getExtension().catch(()=>null)),e=yield e,t(),e),{options:c,adapters:a}=p?([e,t]=x(()=>new N(p).load()),e=yield e,t(),e):{},{__BASE_PATH__:s="/"}=p||{},m=a==null?void 0:a.access,O=a==null?void 0:a.remote,P=m?new k(l(g({},m),{alert:H.alert,storageKey:j})):void 0,{provider:y,onReady:h}=K(l(g({mode:G.Runtime,service:i,materialPath:s,adapter:Object.assign(_,{access:P,remote:O},(c==null?void 0:c.adapter)||{})},c||{}),{dependencies:{Vue:()=>v(()=>import("./vue-DEqBd9tH.js").then(n=>n.ay),[],import.meta.url),VueRouter:()=>v(()=>import("./vue-router-CrZzyM_O.js"),__vite__mapDeps([0,1]),import.meta.url)}})),A=b(),u=z(),d=W();return h(()=>E(this,null,function*(){const n=d==null?void 0:d.appContext.app;n&&(n.use(J),n.use(y)),u.value=yield y.getRenderComponent(A.params.id.toString(),r=>{Object.assign(A.meta,r.meta);const f=n==null?void 0:n._container;(r==null?void 0:r.type)==="page"&&f.classList.add("is-page"),(r==null?void 0:r.pure)&&f.classList.add("is-pure")})})),(n,r)=>u.value?(X(),F(Q(u.value),{key:0})):U("",!0)})}});export{le as default};
2
+ var B=Object.defineProperty,D=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var S=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var R=(o,e,t)=>e in o?B(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,g=(o,e)=>{for(var t in e||(e={}))S.call(e,t)&&R(o,t,e[t]);if(C)for(var t of C(e))V.call(e,t)&&R(o,t,e[t]);return o},l=(o,e)=>D(o,I(e));var E=(o,e,t)=>new Promise((_,i)=>{var p=s=>{try{a(t.next(s))}catch(m){i(m)}},c=s=>{try{a(t.throw(s))}catch(m){i(m)}},a=s=>s.done?_(s.value):Promise.resolve(s.value).then(p,c);a((t=t.apply(o,e)).next())});import{_ as v}from"./monaco-editor-BhWNbPWS.js";import{useRoute as b}from"./vue-router-CrZzyM_O.js";import{I as L,B as M,D as T,A as k,a as j,M as K,y as G}from"./index-OPg8nyHz.js";import{a as H}from"./element-plus-C1NYT3Gu.js";import"./vxe-CzgOUQRv.js";import{b as J,E as N}from"./extension-GDgUZ8am.js";import{l as Y,n as w}from"./utils-B9i9aHNx.js";import{d as q,aA as x,e as z,J as F,M as Q,O as U,h as W,o as X}from"./vue-DEqBd9tH.js";import"./mockjs-CT240U6v.js";import"./dayjs-D_Mdy0hN.js";import"./lodash-es-Cd_vyJR8.js";import"./@vueuse-54eSL_G4.js";import"./@element-plus-icons-vue-CClttscX.js";import"./shared-CMPiinVg.js";import"./html2canvas-D2Pt4KSj.js";const le=q({__name:"page",setup(o){return E(this,null,function*(){let e,t;const _=L({loading:Y,notify:w}),i=new M(T(w)),p=([e,t]=x(()=>i.getExtension().catch(()=>null)),e=yield e,t(),e),{options:c,adapters:a}=p?([e,t]=x(()=>new N(p).load()),e=yield e,t(),e):{},{__BASE_PATH__:s="/"}=p||{},m=a==null?void 0:a.access,O=a==null?void 0:a.remote,P=m?new k(l(g({},m),{alert:H.alert,storageKey:j})):void 0,{provider:y,onReady:h}=K(l(g({mode:G.Runtime,service:i,materialPath:s,adapter:Object.assign(_,{access:P,remote:O},(c==null?void 0:c.adapter)||{})},c||{}),{dependencies:{Vue:()=>v(()=>import("./vue-DEqBd9tH.js").then(n=>n.ay),[],import.meta.url),VueRouter:()=>v(()=>import("./vue-router-CrZzyM_O.js"),__vite__mapDeps([0,1]),import.meta.url)}})),A=b(),u=z(),d=W();return h(()=>E(this,null,function*(){const n=d==null?void 0:d.appContext.app;n&&(n.use(J),n.use(y)),u.value=yield y.getRenderComponent(A.params.id.toString(),r=>{Object.assign(A.meta,r.meta);const f=n==null?void 0:n._container;(r==null?void 0:r.type)==="page"&&f.classList.add("is-page"),(r==null?void 0:r.pure)&&f.classList.add("is-pure")})})),(n,r)=>u.value?(X(),F(Q(u.value),{key:0})):U("",!0)})}});export{le as default};
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-CrZzyM_O.js","./vue-DEqBd9tH.js"])))=>i.map(i=>d[i]);
2
- var B=Object.defineProperty,D=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var S=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var C=(o,e,t)=>e in o?B(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,l=(o,e)=>{for(var t in e||(e={}))S.call(e,t)&&C(o,t,e[t]);if(f)for(var t of f(e))V.call(e,t)&&C(o,t,e[t]);return o},v=(o,e)=>D(o,I(e));var g=(o,e,t)=>new Promise((_,i)=>{var p=s=>{try{a(t.next(s))}catch(m){i(m)}},c=s=>{try{a(t.throw(s))}catch(m){i(m)}},a=s=>s.done?_(s.value):Promise.resolve(s.value).then(p,c);a((t=t.apply(o,e)).next())});import{_ as w}from"./monaco-editor-BhWNbPWS.js";import{useRoute as b}from"./vue-router-CrZzyM_O.js";import{a as L}from"./element-plus-C1NYT3Gu.js";import"./vxe-CzgOUQRv.js";import{b as M,E as T}from"./extension-CIBt87P8.js";import{I as k,B as j,D as K,A as G,a as H,M as J,y as N}from"./index-DxbV-kZL.js";import{l as Y,n as R}from"./utils-B9i9aHNx.js";import{d as q,aA as x,e as z,J as F,M as Q,O as U,h as W,o as X}from"./vue-DEqBd9tH.js";import"./lodash-es-Cd_vyJR8.js";import"./@vueuse-54eSL_G4.js";import"./@element-plus-icons-vue-CClttscX.js";import"./shared-CMPiinVg.js";import"./dayjs-D_Mdy0hN.js";import"./html2canvas-D2Pt4KSj.js";import"./mockjs-D_rM_kf7.js";const ge=q({__name:"preview",setup(o){return g(this,null,function*(){let e,t;const _=k({loading:Y,notify:R}),i=new j(K(R)),p=([e,t]=x(()=>i.getExtension().catch(()=>null)),e=yield e,t(),e),{options:c,adapters:a}=p?([e,t]=x(()=>new T(p).load()),e=yield e,t(),e):{},{__BASE_PATH__:s="/"}=p||{},m=a==null?void 0:a.access,O=a==null?void 0:a.remote,P=m?new G(l({alert:L.alert,storageKey:H},m)):void 0,{provider:E,onReady:h}=J(v(l({mode:N.Runtime,service:i,materialPath:s},c||{}),{adapter:Object.assign(_,{access:P,remote:O},(c==null?void 0:c.adapter)||{}),dependencies:{Vue:()=>w(()=>import("./vue-DEqBd9tH.js").then(n=>n.ay),[],import.meta.url),VueRouter:()=>w(()=>import("./vue-router-CrZzyM_O.js"),__vite__mapDeps([0,1]),import.meta.url)}})),y=b(),u=z(),d=W();return h(()=>g(this,null,function*(){const n=d==null?void 0:d.appContext.app;n&&(n.use(M),n.use(E)),u.value=yield E.getRenderComponent(y.params.id.toString(),r=>{Object.assign(y.meta,r.meta);const A=n==null?void 0:n._container;(r==null?void 0:r.type)==="page"&&A.classList.add("is-page"),(r==null?void 0:r.pure)&&A.classList.add("is-pure")})})),(n,r)=>u.value?(X(),F(Q(u.value),{key:0})):U("",!0)})}});export{ge as default};
2
+ var B=Object.defineProperty,D=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var S=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var C=(o,e,t)=>e in o?B(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,l=(o,e)=>{for(var t in e||(e={}))S.call(e,t)&&C(o,t,e[t]);if(f)for(var t of f(e))V.call(e,t)&&C(o,t,e[t]);return o},v=(o,e)=>D(o,I(e));var g=(o,e,t)=>new Promise((_,i)=>{var p=s=>{try{a(t.next(s))}catch(m){i(m)}},c=s=>{try{a(t.throw(s))}catch(m){i(m)}},a=s=>s.done?_(s.value):Promise.resolve(s.value).then(p,c);a((t=t.apply(o,e)).next())});import{_ as w}from"./monaco-editor-BhWNbPWS.js";import{useRoute as b}from"./vue-router-CrZzyM_O.js";import{a as L}from"./element-plus-C1NYT3Gu.js";import"./vxe-CzgOUQRv.js";import{b as M,E as T}from"./extension-GDgUZ8am.js";import{I as k,B as j,D as K,A as G,a as H,M as J,y as N}from"./index-OPg8nyHz.js";import{l as Y,n as R}from"./utils-B9i9aHNx.js";import{d as q,aA as x,e as z,J as F,M as Q,O as U,h as W,o as X}from"./vue-DEqBd9tH.js";import"./lodash-es-Cd_vyJR8.js";import"./@vueuse-54eSL_G4.js";import"./@element-plus-icons-vue-CClttscX.js";import"./shared-CMPiinVg.js";import"./dayjs-D_Mdy0hN.js";import"./html2canvas-D2Pt4KSj.js";import"./mockjs-CT240U6v.js";const ge=q({__name:"preview",setup(o){return g(this,null,function*(){let e,t;const _=k({loading:Y,notify:R}),i=new j(K(R)),p=([e,t]=x(()=>i.getExtension().catch(()=>null)),e=yield e,t(),e),{options:c,adapters:a}=p?([e,t]=x(()=>new T(p).load()),e=yield e,t(),e):{},{__BASE_PATH__:s="/"}=p||{},m=a==null?void 0:a.access,O=a==null?void 0:a.remote,P=m?new G(l({alert:L.alert,storageKey:H},m)):void 0,{provider:E,onReady:h}=J(v(l({mode:N.Runtime,service:i,materialPath:s},c||{}),{adapter:Object.assign(_,{access:P,remote:O},(c==null?void 0:c.adapter)||{}),dependencies:{Vue:()=>w(()=>import("./vue-DEqBd9tH.js").then(n=>n.ay),[],import.meta.url),VueRouter:()=>w(()=>import("./vue-router-CrZzyM_O.js"),__vite__mapDeps([0,1]),import.meta.url)}})),y=b(),u=z(),d=W();return h(()=>g(this,null,function*(){const n=d==null?void 0:d.appContext.app;n&&(n.use(M),n.use(E)),u.value=yield E.getRenderComponent(y.params.id.toString(),r=>{Object.assign(y.meta,r.meta);const A=n==null?void 0:n._container;(r==null?void 0:r.type)==="page"&&A.classList.add("is-page"),(r==null?void 0:r.pure)&&A.classList.add("is-pure")})})),(n,r)=>u.value?(X(),F(Q(u.value),{key:0})):U("",!0)})}});export{ge as default};
package/dist/index.html CHANGED
@@ -9,7 +9,7 @@
9
9
  <meta http-equiv="Expires" content="0"/>
10
10
  <title>低代码设计器 - VTJ.PRO</title>
11
11
  <script>
12
- var __BUILD_TIME__ = '1737521295453';
12
+ var __BUILD_TIME__ = '1737534432366';
13
13
  (function () {
14
14
  const regex = /<!--{{(\d*)}}-->/;
15
15
  window.fetch('?t=' + Date.now()).then(async (res) => {
@@ -25,12 +25,12 @@
25
25
  });
26
26
  })();
27
27
  </script>
28
- <!--{{1737521295453}}-->
28
+ <!--{{1737534432366}}-->
29
29
 
30
- <script type="module" crossorigin src="./assets/index-DxbV-kZL.js"></script>
30
+ <script type="module" crossorigin src="./assets/index-OPg8nyHz.js"></script>
31
31
  <link rel="modulepreload" crossorigin href="./assets/vue-DEqBd9tH.js">
32
32
  <link rel="modulepreload" crossorigin href="./assets/dayjs-D_Mdy0hN.js">
33
- <link rel="modulepreload" crossorigin href="./assets/mockjs-D_rM_kf7.js">
33
+ <link rel="modulepreload" crossorigin href="./assets/mockjs-CT240U6v.js">
34
34
  <link rel="modulepreload" crossorigin href="./assets/vue-router-CrZzyM_O.js">
35
35
  <link rel="modulepreload" crossorigin href="./assets/lodash-es-Cd_vyJR8.js">
36
36
  <link rel="modulepreload" crossorigin href="./assets/@vueuse-54eSL_G4.js">
package/package.json CHANGED
@@ -2,23 +2,23 @@
2
2
  "name": "@vtj/pro",
3
3
  "description": "VTJ.PRO",
4
4
  "private": false,
5
- "version": "0.9.23",
5
+ "version": "0.9.24",
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@vtj/core": "~0.9.23",
9
- "@vtj/designer": "~0.9.23",
10
- "@vtj/local": "~0.9.23",
11
- "@vtj/materials": "~0.9.23",
12
- "@vtj/renderer": "~0.9.23"
8
+ "@vtj/core": "~0.9.24",
9
+ "@vtj/designer": "~0.9.24",
10
+ "@vtj/local": "~0.9.24",
11
+ "@vtj/renderer": "~0.9.24",
12
+ "@vtj/materials": "~0.9.24"
13
13
  },
14
14
  "devDependencies": {
15
15
  "vue": "~3.5.5",
16
16
  "vue-router": "~4.5.0",
17
- "@vtj/charts": "~0.9.23",
18
- "@vtj/cli": "~0.9.8",
19
- "@vtj/icons": "~0.9.23",
20
- "@vtj/utils": "~0.9.23",
21
- "@vtj/ui": "~0.9.23"
17
+ "@vtj/charts": "~0.9.24",
18
+ "@vtj/icons": "~0.9.24",
19
+ "@vtj/utils": "~0.9.24",
20
+ "@vtj/ui": "~0.9.24",
21
+ "@vtj/cli": "~0.9.8"
22
22
  },
23
23
  "exports": {
24
24
  "./vite": {