@johnnycubides/catalejo-vue3-desktop-v2 0.1.0
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/README.md +24 -0
- package/dist/assets/@lezer-6dgAjmMZ.js +1 -0
- package/dist/assets/@vue-SIJfIzG2.js +17 -0
- package/dist/assets/Inter-italic.var-DhD-tpjY.woff2 +0 -0
- package/dist/assets/Inter-roman.var-C-r5W2Hj.woff2 +0 -0
- package/dist/assets/blockly-C3KDyeBl.js +1603 -0
- package/dist/assets/codemirror-CPly2f-x.js +23 -0
- package/dist/assets/crelt-C8TCjufn.js +1 -0
- package/dist/assets/index-CCtfKVc_.js +18 -0
- package/dist/assets/index-DPWq3wfr.css +1 -0
- package/dist/assets/primeicons-B7yeMe2z.css +1 -0
- package/dist/assets/primeicons-C6QP2o4f.woff2 +0 -0
- package/dist/assets/primeicons-DMOk5skT.eot +0 -0
- package/dist/assets/primeicons-Dr5RGzOO.svg +345 -0
- package/dist/assets/primeicons-MpK4pl85.ttf +0 -0
- package/dist/assets/primeicons-WjwUDZjB.woff +0 -0
- package/dist/assets/primevue-BBIBCcHR.js +97 -0
- package/dist/assets/primevue-VvdNDlPa.css +1 -0
- package/dist/assets/style-mod-Bc2inJdb.js +3 -0
- package/dist/assets/vue-demi-l0sNRNKZ.js +1 -0
- package/dist/assets/vue-l0sNRNKZ.js +1 -0
- package/dist/assets/w3c-keyname-Vcq4gwWv.js +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.html +24 -0
- package/dist/media/1x1.gif +0 -0
- package/dist/media/click.mp3 +0 -0
- package/dist/media/click.ogg +0 -0
- package/dist/media/click.wav +0 -0
- package/dist/media/delete.mp3 +0 -0
- package/dist/media/delete.ogg +0 -0
- package/dist/media/delete.wav +0 -0
- package/dist/media/disconnect.mp3 +0 -0
- package/dist/media/disconnect.ogg +0 -0
- package/dist/media/disconnect.wav +0 -0
- package/dist/media/dropdown-arrow.svg +1 -0
- package/dist/media/handclosed.cur +0 -0
- package/dist/media/handdelete.cur +0 -0
- package/dist/media/handopen.cur +0 -0
- package/dist/media/pilcrow.png +0 -0
- package/dist/media/quote0.png +0 -0
- package/dist/media/quote1.png +0 -0
- package/dist/media/sprites.png +0 -0
- package/dist/media/sprites.svg +74 -0
- package/dist/plugins/plugins.d.ts +1 -0
- package/dist/plugins/plugins.js +7 -0
- package/package.json +49 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const S="ͼ",m=typeof Symbol>"u"?"__"+S:Symbol.for(S),c=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),w=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class A{constructor(e,l){this.rules=[];let{finish:i}=l||{};function n(t){return/^@/.test(t)?[t]:t.split(/,\s*/)}function s(t,a,h,r){let p=[],f=/^@(\w+)\b/.exec(t[0]),g=f&&f[1]=="keyframes";if(f&&a==null)return h.push(t[0]+";");for(let o in a){let u=a[o];if(/&/.test(o))s(o.split(/,\s*/).map(d=>t.map(y=>d.replace(/&/,y))).reduce((d,y)=>d.concat(y)),u,h);else if(u&&typeof u=="object"){if(!f)throw new RangeError("The value of a property ("+o+") should be a primitive value.");s(n(o),u,p,g)}else u!=null&&p.push(o.replace(/_.*/,"").replace(/[A-Z]/g,d=>"-"+d.toLowerCase())+": "+u+";")}(p.length||g)&&h.push((i&&!f&&!r?t.map(i):t).join(", ")+" {"+p.join(" ")+"}")}for(let t in e)s(n(t),e[t],this.rules)}getRules(){return this.rules.join(`
|
|
2
|
+
`)}static newName(){let e=w[m]||1;return w[m]=e+1,S+e.toString(36)}static mount(e,l,i){let n=e[c],s=i&&i.nonce;n?s&&n.setNonce(s):n=new x(e,s),n.mount(Array.isArray(l)?l:[l],e)}}let T=new Map;class x{constructor(e,l){let i=e.ownerDocument||e,n=i.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let s=T.get(i);if(s)return e[c]=s;this.sheet=new n.CSSStyleSheet,T.set(i,this)}else this.styleTag=i.createElement("style"),l&&this.styleTag.setAttribute("nonce",l);this.modules=[],e[c]=this}mount(e,l){let i=this.sheet,n=0,s=0;for(let t=0;t<e.length;t++){let a=e[t],h=this.modules.indexOf(a);if(h<s&&h>-1&&(this.modules.splice(h,1),s--,h=-1),h==-1){if(this.modules.splice(s++,0,a),i)for(let r=0;r<a.rules.length;r++)i.insertRule(a.rules[r],n++)}else{for(;s<h;)n+=this.modules[s++].rules.length;n+=a.rules.length,s++}}if(i)l.adoptedStyleSheets.indexOf(this.sheet)<0&&(l.adoptedStyleSheets=[this.sheet,...l.adoptedStyleSheets]);else{let t="";for(let h=0;h<this.modules.length;h++)t+=this.modules[h].getRules()+`
|
|
3
|
+
`;this.styleTag.textContent=t;let a=l.head||l;this.styleTag.parentNode!=a&&a.insertBefore(this.styleTag,a.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}export{A as S};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},t={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},n=typeof navigator<"u"&&/Mac/.test(navigator.platform),s=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var r=0;r<10;r++)o[48+r]=o[96+r]=String(r);for(var r=1;r<=24;r++)o[r+111]="F"+r;for(var r=65;r<=90;r++)o[r]=String.fromCharCode(r+32),t[r]=String.fromCharCode(r);for(var i in o)t.hasOwnProperty(i)||(t[i]=o[i]);function y(e){var f=n&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||s&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",a=!f&&e.key||(e.shiftKey?t:o)[e.keyCode]||e.key||"Unidentified";return a=="Esc"&&(a="Escape"),a=="Del"&&(a="Delete"),a=="Left"&&(a="ArrowLeft"),a=="Up"&&(a="ArrowUp"),a=="Right"&&(a="ArrowRight"),a=="Down"&&(a="ArrowDown"),a}export{o as b,y as k,t as s};
|
package/dist/favicon.ico
ADDED
|
Binary file
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<link rel="icon" href="/favicon.ico">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Vite App</title>
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-CCtfKVc_.js"></script>
|
|
9
|
+
<link rel="modulepreload" crossorigin href="/assets/@vue-SIJfIzG2.js">
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/primevue-BBIBCcHR.js">
|
|
11
|
+
<link rel="modulepreload" crossorigin href="/assets/@lezer-6dgAjmMZ.js">
|
|
12
|
+
<link rel="modulepreload" crossorigin href="/assets/crelt-C8TCjufn.js">
|
|
13
|
+
<link rel="modulepreload" crossorigin href="/assets/style-mod-Bc2inJdb.js">
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/assets/w3c-keyname-Vcq4gwWv.js">
|
|
15
|
+
<link rel="modulepreload" crossorigin href="/assets/codemirror-CPly2f-x.js">
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/assets/blockly-C3KDyeBl.js">
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/assets/primevue-VvdNDlPa.css">
|
|
18
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DPWq3wfr.css">
|
|
19
|
+
<link rel="stylesheet" crossorigin href="/assets/primeicons-B7yeMe2z.css">
|
|
20
|
+
</head>
|
|
21
|
+
<body>
|
|
22
|
+
<div id="app" style="height: 98vh;"></div>
|
|
23
|
+
</body>
|
|
24
|
+
</html>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="12.71" height="8.79" viewBox="0 0 12.71 8.79"><title>dropdown-arrow</title><g opacity="0.1"><path d="M12.71,2.44A2.41,2.41,0,0,1,12,4.16L8.08,8.08a2.45,2.45,0,0,1-3.45,0L0.72,4.16A2.42,2.42,0,0,1,0,2.44,2.48,2.48,0,0,1,.71.71C1,0.47,1.43,0,6.36,0S11.75,0.46,12,.71A2.44,2.44,0,0,1,12.71,2.44Z" fill="#231f20"/></g><path d="M6.36,7.79a1.43,1.43,0,0,1-1-.42L1.42,3.45a1.44,1.44,0,0,1,0-2c0.56-.56,9.31-0.56,9.87,0a1.44,1.44,0,0,1,0,2L7.37,7.37A1.43,1.43,0,0,1,6.36,7.79Z" fill="#fff"/></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="96px" height="124px">
|
|
3
|
+
<style type="text/css">
|
|
4
|
+
#background {
|
|
5
|
+
fill: none;
|
|
6
|
+
}
|
|
7
|
+
.arrows {
|
|
8
|
+
fill: #000;
|
|
9
|
+
stroke: none;
|
|
10
|
+
}
|
|
11
|
+
.selected>.arrows {
|
|
12
|
+
fill: #fff;
|
|
13
|
+
}
|
|
14
|
+
.checkmark {
|
|
15
|
+
fill: #000;
|
|
16
|
+
font-family: sans-serif;
|
|
17
|
+
font-size: 10pt;
|
|
18
|
+
text-anchor: middle;
|
|
19
|
+
}
|
|
20
|
+
.trash {
|
|
21
|
+
fill: #888;
|
|
22
|
+
}
|
|
23
|
+
.zoom {
|
|
24
|
+
fill: none;
|
|
25
|
+
stroke: #888;
|
|
26
|
+
stroke-width: 2;
|
|
27
|
+
stroke-linecap: round;
|
|
28
|
+
}
|
|
29
|
+
.zoom>.center {
|
|
30
|
+
fill: #888;
|
|
31
|
+
stroke-width: 0;
|
|
32
|
+
}
|
|
33
|
+
</style>
|
|
34
|
+
<rect id="background" width="96" height="124" x="0" y="0" />
|
|
35
|
+
|
|
36
|
+
<g>
|
|
37
|
+
<path class="arrows" d="M 13,1.5 13,14.5 1.74,8 z" />
|
|
38
|
+
<path class="arrows" d="M 17.5,3 30.5,3 24,14.26 z" />
|
|
39
|
+
<path class="arrows" d="M 35,1.5 35,14.5 46.26,8 z" />
|
|
40
|
+
</g>
|
|
41
|
+
<g class="selected" transform="translate(0, 16)">
|
|
42
|
+
<path class="arrows" d="M 13,1.5 13,14.5 1.74,8 z" />
|
|
43
|
+
<path class="arrows" d="M 17.5,3 30.5,3 24,14.26 z" />
|
|
44
|
+
<path class="arrows" d="M 35,1.5 35,14.5 46.26,8 z" />
|
|
45
|
+
</g>
|
|
46
|
+
|
|
47
|
+
<text class="checkmark" x="55.5" y="28">✓</text>
|
|
48
|
+
|
|
49
|
+
<g class="trash">
|
|
50
|
+
<path d="M 2,41 v 6 h 42 v -6 h -10.5 l -3,-3 h -15 l -3,3 z" />
|
|
51
|
+
<rect width="36" height="20" x="5" y="50" />
|
|
52
|
+
<rect width="36" height="42" x="5" y="50" rx="4" ry="4" />
|
|
53
|
+
</g>
|
|
54
|
+
|
|
55
|
+
<g class="zoom">
|
|
56
|
+
<circle r="11.5" cx="16" cy="108" />
|
|
57
|
+
<circle r="4.3" cx="16" cy="108" class="center" />
|
|
58
|
+
<path d="m 28,108 h3" />
|
|
59
|
+
<path d="m 1,108 h3" />
|
|
60
|
+
<path d="m 16,120 v3" />
|
|
61
|
+
<path d="m 16,93 v3" />
|
|
62
|
+
</g>
|
|
63
|
+
|
|
64
|
+
<g class="zoom">
|
|
65
|
+
<circle r="15" cx="48" cy="108" />
|
|
66
|
+
<path d="m 48,101.6 v12.8" />
|
|
67
|
+
<path d="m 41.6,108 h12.8" />
|
|
68
|
+
</g>
|
|
69
|
+
|
|
70
|
+
<g class="zoom">
|
|
71
|
+
<circle r="15" cx="80" cy="108" />
|
|
72
|
+
<path d="m 73.6,108 h12.8" />
|
|
73
|
+
</g>
|
|
74
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export let plugins: any;
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@johnnycubides/catalejo-vue3-desktop-v2",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://gitlab.com/catalejo-team/catalejo-dev/catalejo-vue3-desktop-v2"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"dev": "vite",
|
|
12
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
13
|
+
"preview": "vite preview",
|
|
14
|
+
"build-only": "vite build",
|
|
15
|
+
"type-check": "vue-tsc --build --force",
|
|
16
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
17
|
+
"format": "prettier --write src/"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@codemirror/lang-python": "^6.1.5",
|
|
21
|
+
"@codemirror/language": "^6.10.1",
|
|
22
|
+
"@codemirror/legacy-modes": "^6.4.0",
|
|
23
|
+
"@codemirror/theme-one-dark": "^6.1.2",
|
|
24
|
+
"@johnnycubides/blockly-catalejo": "^0.1.0",
|
|
25
|
+
"codemirror": "^6.0.1",
|
|
26
|
+
"primeicons": "^7.0.0",
|
|
27
|
+
"primevue": "^3.51.0",
|
|
28
|
+
"vite-plugin-static-copy": "^1.0.3",
|
|
29
|
+
"vue": "^3.4.21",
|
|
30
|
+
"vue-codemirror6": "^1.2.5"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
34
|
+
"@tsconfig/node20": "^20.1.2",
|
|
35
|
+
"@types/node": "^20.11.28",
|
|
36
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
37
|
+
"@vue/eslint-config-prettier": "^8.0.0",
|
|
38
|
+
"@vue/eslint-config-typescript": "^12.0.0",
|
|
39
|
+
"@vue/tsconfig": "^0.5.1",
|
|
40
|
+
"eslint": "^8.49.0",
|
|
41
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
42
|
+
"npm-run-all2": "^6.1.2",
|
|
43
|
+
"prettier": "^3.0.3",
|
|
44
|
+
"typescript": "~5.4.0",
|
|
45
|
+
"vite": "^5.1.6",
|
|
46
|
+
"vue-tsc": "^2.0.6"
|
|
47
|
+
},
|
|
48
|
+
"files": ["dist"]
|
|
49
|
+
}
|