Skip to content

Commit

Permalink
c1
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianoNaraku committed Sep 14, 2023
1 parent deec914 commit 7e340ac
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 8 deletions.
6 changes: 3 additions & 3 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"files": {
"main.css": "/jodel-react/build/static/css/main.f246d666.chunk.css",
"main.js": "/jodel-react/build/static/js/main.0d043b03.chunk.js",
"main.js.map": "/jodel-react/build/static/js/main.0d043b03.chunk.js.map",
"main.js": "/jodel-react/build/static/js/main.8db25b3d.chunk.js",
"main.js.map": "/jodel-react/build/static/js/main.8db25b3d.chunk.js.map",
"runtime-main.js": "/jodel-react/build/static/js/runtime-main.882b43a5.js",
"runtime-main.js.map": "/jodel-react/build/static/js/runtime-main.882b43a5.js.map",
"static/css/2.9a7d02e4.chunk.css": "/jodel-react/build/static/css/2.9a7d02e4.chunk.css",
Expand All @@ -22,6 +22,6 @@
"static/css/2.9a7d02e4.chunk.css",
"static/js/2.bb10d475.chunk.js",
"static/css/main.f246d666.chunk.css",
"static/js/main.0d043b03.chunk.js"
"static/js/main.8db25b3d.chunk.js"
]
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en" style="height:100%;width:100%"><head><meta charset="utf-8"/><link rel="icon" href="/jodel-react/build/logo.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/jodel-react/build/logo192.png"/><link rel="manifest" href="/jodel-react/build/manifest.json"/><title>JJodel</title><link href="/jodel-react/build/static/css/2.9a7d02e4.chunk.css" rel="stylesheet"><link href="/jodel-react/build/static/css/main.f246d666.chunk.css" rel="stylesheet"></head><body style="height:100%;width:100%;background-color:#fff"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root" style="height:100%;width:100%"></div><script>!function(e){function r(r){for(var n,l,a=r[0],i=r[1],c=r[2],p=0,s=[];p<a.length;p++)l=a[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,c||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/jodel-react/build/";var a=this["webpackJsonpjodel-react"]=this["webpackJsonpjodel-react"]||[],i=a.push.bind(a);a.push=r,a=a.slice();for(var c=0;c<a.length;c++)r(a[c]);var f=i;t()}([])</script><script src="/jodel-react/build/static/js/2.bb10d475.chunk.js"></script><script src="/jodel-react/build/static/js/main.0d043b03.chunk.js"></script></body></html>
<!doctype html><html lang="en" style="height:100%;width:100%"><head><meta charset="utf-8"/><link rel="icon" href="/jodel-react/build/logo.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/jodel-react/build/logo192.png"/><link rel="manifest" href="/jodel-react/build/manifest.json"/><title>JJodel</title><link href="/jodel-react/build/static/css/2.9a7d02e4.chunk.css" rel="stylesheet"><link href="/jodel-react/build/static/css/main.f246d666.chunk.css" rel="stylesheet"></head><body style="height:100%;width:100%;background-color:#fff"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root" style="height:100%;width:100%"></div><script>!function(e){function r(r){for(var n,l,a=r[0],i=r[1],c=r[2],p=0,s=[];p<a.length;p++)l=a[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,c||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/jodel-react/build/";var a=this["webpackJsonpjodel-react"]=this["webpackJsonpjodel-react"]||[],i=a.push.bind(a);a.push=r,a=a.slice();for(var c=0;c<a.length;c++)r(a[c]);var f=i;t()}([])</script><script src="/jodel-react/build/static/js/2.bb10d475.chunk.js"></script><script src="/jodel-react/build/static/js/main.8db25b3d.chunk.js"></script></body></html>
2 changes: 0 additions & 2 deletions build/static/js/main.0d043b03.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion build/static/js/main.0d043b03.chunk.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions build/static/js/main.8db25b3d.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/static/js/main.8db25b3d.chunk.js.map

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion src/components/toolbar/ToolBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,13 @@ function getItems(data: LModelElement|undefined, myDictValidator: Dictionary<Doc
default:
if (!data || !myDictValidator) return;
let d = data.addChild(item);
if (myDictValidator[item_dname]) select(d); break;
try {
let d2 = (d as any)();
if (myDictValidator[item_dname]) select(d2);
} catch(e) {
if (myDictValidator[item_dname]) select(d);
}
break;
}
}}>+{item}</div>);
}
Expand Down
4 changes: 4 additions & 0 deletions src/model/logicWrapper/LModelElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,9 @@ export class LModelElement<Context extends LogicContext<DModelElement> = any, D
//ret = (this as any).get_addClass(context as any);
break;
case "package":
console.log("addchild package()", {get_package:this.get_package, get_model: this.get_model,
getresult: (this.get_package(context) || this.get_model(context)), addPackage:(this.get_package(context) || this.get_model(context))?.addPackage});

ret = (this.get_package(context) || this.get_model(context))?.addPackage;
break;
case "reference":
Expand All @@ -420,6 +423,7 @@ export class LModelElement<Context extends LogicContext<DModelElement> = any, D
ret = (this as any).get_addException(context as any);
break;
}
console.log("addchild return()", {ret});
return ret ? ret(...args) : null as any;
}
}
Expand Down

0 comments on commit 7e340ac

Please sign in to comment.