uEdition-Editor 2.0.0b7__py3-none-any.whl → 2.0.0b9__py3-none-any.whl

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.

Potentially problematic release.


This version of uEdition-Editor might be problematic. Click here for more details.

@@ -6,8 +6,8 @@
6
6
  <link rel="icon" type="image/svg+xml" href="/app/ueditor.svg" />
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
8
  <title>μEditor loading. Please wait...</title>
9
- <script type="module" crossorigin src="/app/assets/index-D6QIwXwq.js"></script>
10
- <link rel="stylesheet" crossorigin href="/app/assets/index-HmBQiVS_.css">
9
+ <script type="module" crossorigin src="/app/assets/index-CS7Yn65-.js"></script>
10
+ <link rel="stylesheet" crossorigin href="/app/assets/index-BKSE80GP.css">
11
11
  </head>
12
12
 
13
13
  <body>
@@ -74,6 +74,7 @@ class GitSettings(BaseModel):
74
74
 
75
75
  remote_name: str = "origin"
76
76
  default_branch: str = "main"
77
+ protect_default_branch: bool = False
77
78
 
78
79
 
79
80
  class InitSettings(BaseSettings):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uEdition-Editor
3
- Version: 2.0.0b7
3
+ Version: 2.0.0b9
4
4
  Project-URL: Documentation, https://github.com/uEdition/uEditor#readme
5
5
  Project-URL: Issues, https://github.com/uEdition/uEditor/issues
6
6
  Project-URL: Source, https://github.com/uEdition/uEditor
@@ -0,0 +1,29 @@
1
+ uedition_editor/__about__.py,sha256=T7boEIl02shru4zBmIZw3XZU5PIDS7xMTG2MHOtBc3w,160
2
+ uedition_editor/__init__.py,sha256=0cx1VWwBkmHTA9kTR7dF22kM-K2I4b8q5bRrEiVJ3Pc,1496
3
+ uedition_editor/__main__.py,sha256=b4COmnuVMw6l_M_HFxKWvPYWwegDk0382NAL_l7w8Do,222
4
+ uedition_editor/cron.py,sha256=zA8auqQSaFgfTfoEncOTG6ZmhIrRuH8H2dpSF6OiRJk,2832
5
+ uedition_editor/settings.py,sha256=OJq_7-hJYDVrs4AtN1_-DnQ2vc_Qans9PiD3yxQLqpg,14442
6
+ uedition_editor/state.py,sha256=P9T4bLq5cm-spQMRt63Nin8-a4FDxSfeLy4d4bMl9A4,187
7
+ uedition_editor/api/__init__.py,sha256=R_fjjOoIuzFOpMgkoDVDcI9hwGGi9_zIDcYvbn_m18Y,2053
8
+ uedition_editor/api/auth.py,sha256=yZG3K3QglRziJtEod4wFNVrCTyYZC89Hwhx33wGcYgw,7255
9
+ uedition_editor/api/branches.py,sha256=p_faoHMr9KcB_a5D0OnKrf8mP683AqiBRu1kRltMqiw,7162
10
+ uedition_editor/api/configs.py,sha256=lXRpbdxaKQ4OMTVL0nrTHdGE4SBcSMWaWgYhSBXoOh4,2919
11
+ uedition_editor/api/files.py,sha256=oJrHwDMHyvjuNN1SMrjkki77Fd4MNFQWmsoAnmLddtY,34079
12
+ uedition_editor/api/tests.py,sha256=f9BF3oBAY1o8TA7EhouXmeIDOp4elA4SQaDDtlG1Nh8,1162
13
+ uedition_editor/api/util.py,sha256=fx9g7NQfY-fWneswr_AyiPzVxJgJJJ-miDA_KGeftMo,4289
14
+ uedition_editor/cli/__init__.py,sha256=5AK1wUlflAXCt7cBZ348V4aueV5iJGKV-ouqoXpsIh0,983
15
+ uedition_editor/frontend/dist/index.html,sha256=TGVa4g3jeCNWJUlDmgzYuH8-hm-3iwjprLeJMr7-xAk,474
16
+ uedition_editor/frontend/dist/ueditor.svg,sha256=rvEMqMyRGiGIorMjRxWO4rbTlS_H6oxhhibmsunFYFg,340
17
+ uedition_editor/frontend/dist/assets/CodeMirrorEditor-B5Rlo82N.js,sha256=naB-dPU0wWEa0G2Vyk9_BSQNaQMIXgBcstLeS4njgSU,607050
18
+ uedition_editor/frontend/dist/assets/CodeMirrorEditor-ddcHt3UE.css,sha256=TMoYtZ0n60AEBxfWW_ge2AxPYcamaOOwnGWTz5_13OA,846
19
+ uedition_editor/frontend/dist/assets/FolderEditor-CKMB6ngt.js,sha256=Zl0aj3nhhb_1ZOzjKAmWhlG4LNjP2xXrzTX0xd_frzY,3730
20
+ uedition_editor/frontend/dist/assets/ImageEditor-TAWAZQYx.js,sha256=ixebLc-_6Xy5SG4zLotL5EdPKheuKjJMhdzrxCGjY6E,801
21
+ uedition_editor/frontend/dist/assets/TeiEditor-B18T9sYP.js,sha256=We-qq2jflt5DS7SlLKUP7mVeGfM2yyqy18DwzfTLVCk,351012
22
+ uedition_editor/frontend/dist/assets/index-BKSE80GP.css,sha256=_pVRzWjhICb-xvzGMRsW5caIMgMPSzGfAvF6YeifrIg,19800
23
+ uedition_editor/frontend/dist/assets/index-CS7Yn65-.js,sha256=NNzgV9p7Avqw6xhaN07wWw9QK1DZmj05JgocKMhH8UQ,326272
24
+ uedition_editor/frontend/dist/assets/index-Vcq4gwWv.js,sha256=7NTN0-UTH-BpoJQqdC43Ec4Cdwj4Wv8viGg4W3EBqx8,1494
25
+ uedition_editor-2.0.0b9.dist-info/METADATA,sha256=02YeCLDTD_R8PhOd2afpn_W4m0h3l62hYLkdE3Cs19s,2753
26
+ uedition_editor-2.0.0b9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
27
+ uedition_editor-2.0.0b9.dist-info/entry_points.txt,sha256=v2HE8dFcsAPreD-LjMrjsB31iyTTqKjQ-Uj2_ztaqpg,52
28
+ uedition_editor-2.0.0b9.dist-info/licenses/LICENSE.txt,sha256=pL_y3ondEzJrX26zSglvj0GOT0p2SjFnDm7dRpMgk64,1101
29
+ uedition_editor-2.0.0b9.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- import{S as tt,i as et,s as nt,I as R,m as lt,a as st,b as at,e as c,t as W,c as _,d as L,f as b,g as T,h as e,j as y,l as A,k as ot,n as E,o as it,p as k,q as rt,r as U,u as I,v as Z,w as ut,x as X,y as ct,z as ft,A as pt,B as dt,C as O,D as v,E as mt}from"./index-D6QIwXwq.js";function Y(i){let t,r,g,a,h,u,n,f,p,$,d,C;return r=new R({props:{path:pt,class:"w-4 h-4"}}),n=new R({props:{path:dt,class:"w-4 h-4"}}),{c(){t=c("button"),L(r.$$.fragment),g=_(),a=c("span"),a.textContent="Rename",h=_(),u=c("button"),L(n.$$.fragment),f=_(),p=c("span"),p.textContent="Delete this Folder",b(t,"data-button",""),b(u,"data-button","")},m(l,m){T(l,t,m),y(r,t,null),e(t,g),e(t,a),T(l,h,m),T(l,u,m),y(n,u,null),e(u,f),e(u,p),$=!0,d||(C=[A(t,"click",i[5]),A(u,"click",i[6])],d=!0)},i(l){$||(E(r.$$.fragment,l),E(n.$$.fragment,l),$=!0)},o(l){k(r.$$.fragment,l),k(n.$$.fragment,l),$=!1},d(l){l&&(U(t),U(h),U(u)),I(r),I(n),d=!1,Z(C)}}}function _t(i){var G,H,J;let t,r,g,a=((G=i[1])!=null&&G.fullpath?(H=i[1])==null?void 0:H.fullpath:"/")+"",h,u,n,f,p,$,d,C,l,m,S,q,j,F,w,z,x,B,D,M,N;p=new R({props:{path:lt,class:"w4 h-4"}}),m=new R({props:{path:st,class:"w4 h-4"}}),w=new R({props:{path:at,class:"w4 h-4"}});let s=((J=i[1])==null?void 0:J.fullpath)&&Y(i);return{c(){t=c("div"),r=c("h2"),g=W("Actions for the directory "),h=W(a),u=_(),n=c("div"),f=c("button"),L(p.$$.fragment),$=_(),d=c("span"),d.textContent="Create a new Folder",C=_(),l=c("button"),L(m.$$.fragment),S=_(),q=c("span"),q.textContent="Create a new File",j=_(),F=c("button"),L(w.$$.fragment),z=_(),x=c("span"),x.textContent="Upload Files",B=_(),s&&s.c(),b(r,"class","sr-only"),b(f,"data-button",""),b(l,"data-button",""),b(F,"data-button",""),b(n,"class","flex flex-col w-60 space-y-2"),b(t,"class","flex-1 px-2 py-2"),b(t,"tabindex","-1")},m(o,P){T(o,t,P),e(t,r),e(r,g),e(r,h),e(t,u),e(t,n),e(n,f),y(p,f,null),e(f,$),e(f,d),e(n,C),e(n,l),y(m,l,null),e(l,S),e(l,q),e(n,j),e(n,F),y(w,F,null),e(F,z),e(F,x),e(n,B),s&&s.m(n,null),i[7](t),D=!0,M||(N=[A(f,"click",i[2]),A(l,"click",i[3]),A(F,"click",i[4])],M=!0)},p(o,[P]){var K,Q,V;(!D||P&2)&&a!==(a=((K=o[1])!=null&&K.fullpath?(Q=o[1])==null?void 0:Q.fullpath:"/")+"")&&ot(h,a),(V=o[1])!=null&&V.fullpath?s?P&2&&E(s,1):(s=Y(o),s.c(),E(s,1),s.m(n,null)):s&&(it(),k(s,1,1,()=>{s=null}),rt())},i(o){D||(E(p.$$.fragment,o),E(m.$$.fragment,o),E(w.$$.fragment,o),E(s),D=!0)},o(o){k(p.$$.fragment,o),k(m.$$.fragment,o),k(w.$$.fragment,o),k(s),D=!1},d(o){o&&U(t),I(p),I(m),I(w),s&&s.d(),i[7](null),M=!1,Z(N)}}}function ht(i,t,r){let g;ut(i,X,d=>r(1,g=d));let a=null;ct(()=>{a&&a.focus()}),ft(X.subscribe(()=>{a&&a.focus()}));const h=()=>{O.set(v.FOLDER_CREATE)},u=()=>{O.set(v.FILE_CREATE)},n=()=>{O.set(v.FILE_UPLOAD)},f=()=>{O.set(v.FOLDER_RENAME)},p=()=>{O.set(v.FOLDER_DELETE)};function $(d){mt[d?"unshift":"push"](()=>{a=d,r(0,a)})}return[a,g,h,u,n,f,p,$]}class bt extends tt{constructor(t){super(),et(this,t,ht,_t,nt,{})}}export{bt as default};
@@ -1 +0,0 @@
1
- import{S as _,i as h,s as b,e as p,f as a,g as m,G as c,r as d,w as u,x as g,L as v,bn as f}from"./index-D6QIwXwq.js";function o(n){let r,e;return{c(){r=p("img"),f(r.src,e="/api/branches/"+n[0].id+"/files/"+n[1].fullpath)||a(r,"src",e),a(r,"alt","")},m(s,l){m(s,r,l)},p(s,l){l&3&&!f(r.src,e="/api/branches/"+s[0].id+"/files/"+s[1].fullpath)&&a(r,"src",e)},d(s){s&&d(r)}}}function B(n){let r,e=n[0]!==null&&n[1]&&o(n);return{c(){r=p("div"),e&&e.c(),a(r,"class","overflow-auto")},m(s,l){m(s,r,l),e&&e.m(r,null)},p(s,[l]){s[0]!==null&&s[1]?e?e.p(s,l):(e=o(s),e.c(),e.m(r,null)):e&&(e.d(1),e=null)},i:c,o:c,d(s){s&&d(r),e&&e.d()}}}function k(n,r,e){let s,l;u(n,g,i=>e(1,l=i));const t=v();return u(n,t,i=>e(0,s=i)),[s,l,t]}class w extends _{constructor(r){super(),h(this,r,k,B,b,{})}}export{w as default};