camunda-bpmn-js 2.5.0 → 2.6.1
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/assets/properties-panel.css +72 -10
- package/dist/base-modeler.development.js +333 -70
- package/dist/base-modeler.production.min.js +2 -2
- package/dist/camunda-cloud-modeler.development.js +501 -299
- package/dist/camunda-cloud-modeler.production.min.js +3 -3
- package/dist/camunda-cloud-navigated-viewer.development.js +5 -4
- package/dist/camunda-cloud-navigated-viewer.production.min.js +1 -1
- package/dist/camunda-cloud-viewer.development.js +5 -4
- package/dist/camunda-cloud-viewer.production.min.js +1 -1
- package/dist/camunda-platform-modeler.development.js +463 -257
- package/dist/camunda-platform-modeler.production.min.js +5 -5
- package/lib/base/Modeler.d.ts +15 -15
- package/lib/base/NavigatedViewer.d.ts +2 -2
- package/lib/base/Viewer.d.ts +2 -2
- package/lib/camunda-cloud/ElementTemplatesValidator.d.ts +1 -1
- package/lib/camunda-cloud/Modeler.d.ts +3 -3
- package/lib/camunda-cloud/NavigatedViewer.d.ts +3 -3
- package/lib/camunda-cloud/Viewer.d.ts +3 -3
- package/lib/camunda-cloud/features/rules/BpmnRules.d.ts +32 -32
- package/lib/camunda-cloud/features/rules/index.d.ts +6 -6
- package/lib/camunda-cloud/util/commonModules.d.ts +9 -9
- package/lib/camunda-platform/Modeler.d.ts +3 -3
- package/lib/camunda-platform/NavigatedViewer.d.ts +5 -5
- package/lib/camunda-platform/Viewer.d.ts +5 -5
- package/lib/camunda-platform/util/commonModules.d.ts +9 -9
- package/lib/util/ExtensionElementsUtil.d.ts +24 -24
- package/package.json +4 -4
|
@@ -18092,7 +18092,7 @@
|
|
|
18092
18092
|
*
|
|
18093
18093
|
* @return {boolean}
|
|
18094
18094
|
*/
|
|
18095
|
-
function isInterrupting(element) {
|
|
18095
|
+
function isInterrupting$1(element) {
|
|
18096
18096
|
return element && getBusinessObject$2(element).isInterrupting !== false;
|
|
18097
18097
|
}
|
|
18098
18098
|
|
|
@@ -51823,7 +51823,7 @@
|
|
|
51823
51823
|
|
|
51824
51824
|
// replace a non-interrupting start event by a blank interrupting start event
|
|
51825
51825
|
// when the target is not an event sub process
|
|
51826
|
-
if (!isInterrupting(element)) {
|
|
51826
|
+
if (!isInterrupting$1(element)) {
|
|
51827
51827
|
canExecute.replacements.push({
|
|
51828
51828
|
oldElementId: element.id,
|
|
51829
51829
|
newElementType: 'bpmn:StartEvent'
|
|
@@ -67744,6 +67744,10 @@
|
|
|
67744
67744
|
|
|
67745
67745
|
var t$1,u,r,o$2=0,i$2=[],c=n$1.__b,f=n$1.__r,e$2=n$1.diffed,a$1=n$1.__c,v=n$1.unmount;function m(t,r){n$1.__h&&n$1.__h(u,t,o$2||r),o$2=0;var i=u.__H||(u.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({}),i.__[t]}function l$1(n){return o$2=1,p$1(w$1,n)}function p$1(n,r,o){var i=m(t$1++,2);return i.t=n,i.__c||(i.__=[o?o(r):w$1(void 0,r),function(n){var t=i.t(i.__[0],n);i.__[0]!==t&&(i.__=[t,i.__[1]],i.__c.setState({}));}],i.__c=u),i.__}function y(r,o){var i=m(t$1++,3);!n$1.__s&&k$1(i.__H,o)&&(i.__=r,i.__H=o,u.__H.__h.push(i));}function h(r,o){var i=m(t$1++,4);!n$1.__s&&k$1(i.__H,o)&&(i.__=r,i.__H=o,u.__h.push(i));}function s(n){return o$2=5,d(function(){return {current:n}},[])}function _(n,t,u){o$2=6,h(function(){"function"==typeof n?n(t()):n&&(n.current=t());},null==u?u:u.concat(n));}function d(n,u){var r=m(t$1++,7);return k$1(r.__H,u)&&(r.__=n(),r.__H=u,r.__h=n),r.__}function A$1(n,t){return o$2=8,d(function(){return n},t)}function F$1(n){var r=u.context[n.__c],o=m(t$1++,9);return o.__c=n,r?(null==o.__&&(o.__=!0,r.sub(u)),r.props.value):n.__}function T$1(t,u){n$1.useDebugValue&&n$1.useDebugValue(u?u(t):t);}function x$1(){i$2.forEach(function(t){if(t.__P)try{t.__H.__h.forEach(g$1),t.__H.__h.forEach(j$1),t.__H.__h=[];}catch(u){t.__H.__h=[],n$1.__e(u,t.__v);}}),i$2=[];}n$1.__b=function(n){u=null,c&&c(n);},n$1.__r=function(n){f&&f(n),t$1=0;var r=(u=n.__c).__H;r&&(r.__h.forEach(g$1),r.__h.forEach(j$1),r.__h=[]);},n$1.diffed=function(t){e$2&&e$2(t);var o=t.__c;o&&o.__H&&o.__H.__h.length&&(1!==i$2.push(o)&&r===n$1.requestAnimationFrame||((r=n$1.requestAnimationFrame)||function(n){var t,u=function(){clearTimeout(r),b&&cancelAnimationFrame(t),setTimeout(n);},r=setTimeout(u,100);b&&(t=requestAnimationFrame(u));})(x$1)),u=void 0;},n$1.__c=function(t,u){u.some(function(t){try{t.__h.forEach(g$1),t.__h=t.__h.filter(function(n){return !n.__||j$1(n)});}catch(r){u.some(function(n){n.__h&&(n.__h=[]);}),u=[],n$1.__e(r,t.__v);}}),a$1&&a$1(t,u);},n$1.unmount=function(t){v&&v(t);var u=t.__c;if(u&&u.__H)try{u.__H.__.forEach(g$1);}catch(t){n$1.__e(t,u.__v);}};var b="function"==typeof requestAnimationFrame;function g$1(n){var t=u;"function"==typeof n.__c&&n.__c(),u=t;}function j$1(n){var t=u;n.__c=n.__(),u=t;}function k$1(n,t){return !n||n.length!==t.length||t.some(function(t,u){return t!==n[u]})}function w$1(n,t){return "function"==typeof t?t(n):t}
|
|
67746
67746
|
|
|
67747
|
+
function C$1(n,t){for(var e in t)n[e]=t[e];return n}function S(n,t){for(var e in n)if("__source"!==e&&!(e in t))return !0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return !0;return !1}function E(n){this.props=n;}function g(n,t){function e(n){var e=this.props.ref,r=e==n.ref;return !r&&e&&(e.call?e(null):e.current=null),t?!t(this.props,n)||!r:S(this.props,n)}function r(t){return this.shouldComponentUpdate=e,a$2(n,t)}return r.displayName="Memo("+(n.displayName||n.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(E.prototype=new p$2).isPureReactComponent=!0,E.prototype.shouldComponentUpdate=function(n,t){return S(this.props,n)||S(this.state,t)};var w=n$1.__b;n$1.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),w&&w(n);};var R="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function x(n){function t(t,e){var r=C$1({},t);return delete r.ref,n(r,(e=t.ref||e)&&("object"!=typeof e||"current"in e)?e:null)}return t.$$typeof=R,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var N=function(n,t){return null==n?null:w$2(w$2(n).map(t))},k={map:N,forEach:N,count:function(n){return n?w$2(n).length:0},only:function(n){var t=w$2(n);if(1!==t.length)throw "Children.only";return t[0]},toArray:w$2},A=n$1.__e;n$1.__e=function(n,t,e){if(n.then)for(var r,u=t;u=u.__;)if((r=u.__c)&&r.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),r.__c(n,t);A(n,t,e);};var O=n$1.unmount;function L(){this.__u=0,this.t=null,this.__b=null;}function U(n){var t=n.__.__c;return t&&t.__e&&t.__e(n)}function D(n){var t,e,r;function u(u){if(t||(t=n()).then(function(n){e=n.default||n;},function(n){r=n;}),r)throw r;if(!e)throw t;return a$2(e,u)}return u.displayName="Lazy",u.__f=!0,u}function F(){this.u=null,this.o=null;}n$1.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),O&&O(n);},(L.prototype=new p$2).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=U(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l());};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__e){var n=r.state.__e;r.__v.__k[0]=function n(t,e,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return n(t,e,r)}),t.__c&&t.__c.__P===e&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(n,n.__c.__P,n.__c.__O);}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate();}},f=!0===t.__h;r.__u++||f||r.setState({__e:r.__b=r.__v.__k[0]}),n.then(i,i);},L.prototype.componentWillUnmount=function(){this.t=[];},L.prototype.render=function(n,t){if(this.__b){if(this.__v.__k){var e=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function n(t,e,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),t.__c.__H=null),null!=(t=C$1({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return n(t,e,r)})),t}(this.__b,e,r.__O=r.__P);}this.__b=null;}var u=t.__e&&a$2(y$1,null,n.fallback);return u&&(u.__h=null),[a$2(y$1,null,t.__e?null:n.children),u]};var M=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2];}};function T(n){return this.getChildContext=function(){return n.context},n.children}function j(n){var t=this,e=n.i;t.componentWillUnmount=function(){N$1(null,t.l),t.l=null,t.i=null;},t.i&&t.i!==e&&t.componentWillUnmount(),n.__v?(t.l||(t.i=e,t.l={nodeType:1,parentNode:e,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n);},insertBefore:function(n,e){this.childNodes.push(n),t.i.appendChild(n);},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n);}}),N$1(a$2(T,{context:t.context},n.__v),t.l)):t.l&&t.componentWillUnmount();}function I(n,t){return a$2(j,{__v:n,i:t})}(F.prototype=new p$2).__e=function(n){var t=this,e=U(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),M(t,n,r)):u();};e?e(o):o();}},F.prototype.render=function(n){this.u=null,this.o=new Map;var t=w$2(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},F.prototype.componentDidUpdate=F.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){M(n,e,t);});};var W="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,P=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,V=function(n){return ("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(n)};function z(n,t,e){return null==t.__k&&(t.textContent=""),N$1(n,t),"function"==typeof e&&e(),n?n.__c:null}function B(n,t,e){return O$1(n,t),"function"==typeof e&&e(),n?n.__c:null}p$2.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(p$2.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(t){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:t});}});});var H=n$1.event;function Z(){}function Y(){return this.cancelBubble}function $(){return this.defaultPrevented}n$1.event=function(n){return H&&(n=H(n)),n.persist=Z,n.isPropagationStopped=Y,n.isDefaultPrevented=$,n.nativeEvent=n};var q,G={configurable:!0,get:function(){return this.class}},J=n$1.vnode;n$1.vnode=function(n){var t=n.type,e=n.props,r=e;if("string"==typeof t){for(var u in r={},e){var o=e[u];"value"===u&&"defaultValue"in e&&null==o||("defaultValue"===u&&"value"in e&&null==e.value?u="value":"download"===u&&!0===o?o="":/ondoubleclick/i.test(u)?u="ondblclick":/^onchange(textarea|input)/i.test(u+t)&&!V(e.type)?u="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(u)?u=u.toLowerCase():P.test(u)?u=u.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===o&&(o=void 0),r[u]=o);}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=w$2(e.children).forEach(function(n){n.props.selected=-1!=r.value.indexOf(n.props.value);})),"select"==t&&null!=r.defaultValue&&(r.value=w$2(e.children).forEach(function(n){n.props.selected=r.multiple?-1!=r.defaultValue.indexOf(n.props.value):r.defaultValue==n.props.value;})),n.props=r;}t&&e.class!=e.className&&(G.enumerable="className"in e,null!=e.className&&(r.class=e.className),Object.defineProperty(r,"className",G)),n.$$typeof=W,J&&J(n);};var K=n$1.__r;n$1.__r=function(n){K&&K(n),q=n.__c;};var Q={ReactCurrentDispatcher:{current:{readContext:function(n){return q.__n[n.__c].props.value}}}};"object"==typeof performance&&"function"==typeof performance.now?performance.now.bind(performance):function(){return Date.now()};function fn(n){return a$2.bind(null,n)}function cn(n){return !!n&&n.$$typeof===W}function an(n){return cn(n)?S$1.apply(null,arguments):n}function sn(n){return !!n.__k&&(N$1(null,n),!0)}function hn(n){return n&&(n.base||1===n.nodeType&&n)||null}var pn=function(n,t){return n(t)};var React = {useState:l$1,useReducer:p$1,useEffect:y,useLayoutEffect:h,useRef:s,useImperativeHandle:_,useMemo:d,useCallback:A$1,useContext:F$1,useDebugValue:T$1,version:"16.8.0",Children:k,render:z,hydrate:B,unmountComponentAtNode:sn,createPortal:I,createElement:a$2,createContext:q$1,createFactory:fn,cloneElement:an,createRef:h$1,Fragment:y$1,isValidElement:cn,findDOMNode:hn,Component:p$2,PureComponent:E,memo:g,forwardRef:x,unstable_batchedUpdates:pn,StrictMode:y$1,Suspense:L,SuspenseList:F,lazy:D,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Q};
|
|
67748
|
+
|
|
67749
|
+
function o$1(_,o,e,n,t){var f={};for(var l in o)"ref"!=l&&(f[l]=o[l]);var s,u,a={type:_,props:f,key:e,ref:o&&o.ref,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:++n$1.__v,__source:n,__self:t};if("function"==typeof _&&(s=_.defaultProps))for(u in s)void 0===f[u]&&(f[u]=s[u]);return n$1.vnode&&n$1.vnode(a),a}
|
|
67750
|
+
|
|
67747
67751
|
var classnames$1 = {exports: {}};
|
|
67748
67752
|
|
|
67749
67753
|
/*!
|
|
@@ -67805,10 +67809,6 @@
|
|
|
67805
67809
|
var classnamesExports = classnames$1.exports;
|
|
67806
67810
|
var classnames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
67807
67811
|
|
|
67808
|
-
function C$1(n,t){for(var e in t)n[e]=t[e];return n}function S(n,t){for(var e in n)if("__source"!==e&&!(e in t))return !0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return !0;return !1}function E(n){this.props=n;}function g(n,t){function e(n){var e=this.props.ref,r=e==n.ref;return !r&&e&&(e.call?e(null):e.current=null),t?!t(this.props,n)||!r:S(this.props,n)}function r(t){return this.shouldComponentUpdate=e,a$2(n,t)}return r.displayName="Memo("+(n.displayName||n.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(E.prototype=new p$2).isPureReactComponent=!0,E.prototype.shouldComponentUpdate=function(n,t){return S(this.props,n)||S(this.state,t)};var w=n$1.__b;n$1.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),w&&w(n);};var R="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function x(n){function t(t,e){var r=C$1({},t);return delete r.ref,n(r,(e=t.ref||e)&&("object"!=typeof e||"current"in e)?e:null)}return t.$$typeof=R,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var N=function(n,t){return null==n?null:w$2(w$2(n).map(t))},k={map:N,forEach:N,count:function(n){return n?w$2(n).length:0},only:function(n){var t=w$2(n);if(1!==t.length)throw "Children.only";return t[0]},toArray:w$2},A=n$1.__e;n$1.__e=function(n,t,e){if(n.then)for(var r,u=t;u=u.__;)if((r=u.__c)&&r.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),r.__c(n,t);A(n,t,e);};var O=n$1.unmount;function L(){this.__u=0,this.t=null,this.__b=null;}function U(n){var t=n.__.__c;return t&&t.__e&&t.__e(n)}function D(n){var t,e,r;function u(u){if(t||(t=n()).then(function(n){e=n.default||n;},function(n){r=n;}),r)throw r;if(!e)throw t;return a$2(e,u)}return u.displayName="Lazy",u.__f=!0,u}function F(){this.u=null,this.o=null;}n$1.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),O&&O(n);},(L.prototype=new p$2).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=U(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l());};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__e){var n=r.state.__e;r.__v.__k[0]=function n(t,e,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return n(t,e,r)}),t.__c&&t.__c.__P===e&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(n,n.__c.__P,n.__c.__O);}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate();}},f=!0===t.__h;r.__u++||f||r.setState({__e:r.__b=r.__v.__k[0]}),n.then(i,i);},L.prototype.componentWillUnmount=function(){this.t=[];},L.prototype.render=function(n,t){if(this.__b){if(this.__v.__k){var e=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function n(t,e,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),t.__c.__H=null),null!=(t=C$1({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return n(t,e,r)})),t}(this.__b,e,r.__O=r.__P);}this.__b=null;}var u=t.__e&&a$2(y$1,null,n.fallback);return u&&(u.__h=null),[a$2(y$1,null,t.__e?null:n.children),u]};var M=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2];}};function T(n){return this.getChildContext=function(){return n.context},n.children}function j(n){var t=this,e=n.i;t.componentWillUnmount=function(){N$1(null,t.l),t.l=null,t.i=null;},t.i&&t.i!==e&&t.componentWillUnmount(),n.__v?(t.l||(t.i=e,t.l={nodeType:1,parentNode:e,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n);},insertBefore:function(n,e){this.childNodes.push(n),t.i.appendChild(n);},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n);}}),N$1(a$2(T,{context:t.context},n.__v),t.l)):t.l&&t.componentWillUnmount();}function I(n,t){return a$2(j,{__v:n,i:t})}(F.prototype=new p$2).__e=function(n){var t=this,e=U(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),M(t,n,r)):u();};e?e(o):o();}},F.prototype.render=function(n){this.u=null,this.o=new Map;var t=w$2(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},F.prototype.componentDidUpdate=F.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){M(n,e,t);});};var W="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,P=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,V=function(n){return ("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(n)};function z(n,t,e){return null==t.__k&&(t.textContent=""),N$1(n,t),"function"==typeof e&&e(),n?n.__c:null}function B(n,t,e){return O$1(n,t),"function"==typeof e&&e(),n?n.__c:null}p$2.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(p$2.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(t){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:t});}});});var H=n$1.event;function Z(){}function Y(){return this.cancelBubble}function $(){return this.defaultPrevented}n$1.event=function(n){return H&&(n=H(n)),n.persist=Z,n.isPropagationStopped=Y,n.isDefaultPrevented=$,n.nativeEvent=n};var q,G={configurable:!0,get:function(){return this.class}},J=n$1.vnode;n$1.vnode=function(n){var t=n.type,e=n.props,r=e;if("string"==typeof t){for(var u in r={},e){var o=e[u];"value"===u&&"defaultValue"in e&&null==o||("defaultValue"===u&&"value"in e&&null==e.value?u="value":"download"===u&&!0===o?o="":/ondoubleclick/i.test(u)?u="ondblclick":/^onchange(textarea|input)/i.test(u+t)&&!V(e.type)?u="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(u)?u=u.toLowerCase():P.test(u)?u=u.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===o&&(o=void 0),r[u]=o);}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=w$2(e.children).forEach(function(n){n.props.selected=-1!=r.value.indexOf(n.props.value);})),"select"==t&&null!=r.defaultValue&&(r.value=w$2(e.children).forEach(function(n){n.props.selected=r.multiple?-1!=r.defaultValue.indexOf(n.props.value):r.defaultValue==n.props.value;})),n.props=r;}t&&e.class!=e.className&&(G.enumerable="className"in e,null!=e.className&&(r.class=e.className),Object.defineProperty(r,"className",G)),n.$$typeof=W,J&&J(n);};var K=n$1.__r;n$1.__r=function(n){K&&K(n),q=n.__c;};var Q={ReactCurrentDispatcher:{current:{readContext:function(n){return q.__n[n.__c].props.value}}}};"object"==typeof performance&&"function"==typeof performance.now?performance.now.bind(performance):function(){return Date.now()};function fn(n){return a$2.bind(null,n)}function cn(n){return !!n&&n.$$typeof===W}function an(n){return cn(n)?S$1.apply(null,arguments):n}function sn(n){return !!n.__k&&(N$1(null,n),!0)}function hn(n){return n&&(n.base||1===n.nodeType&&n)||null}var pn=function(n,t){return n(t)};var React = {useState:l$1,useReducer:p$1,useEffect:y,useLayoutEffect:h,useRef:s,useImperativeHandle:_,useMemo:d,useCallback:A$1,useContext:F$1,useDebugValue:T$1,version:"16.8.0",Children:k,render:z,hydrate:B,unmountComponentAtNode:sn,createPortal:I,createElement:a$2,createContext:q$1,createFactory:fn,cloneElement:an,createRef:h$1,Fragment:y$1,isValidElement:cn,findDOMNode:hn,Component:p$2,PureComponent:E,memo:g,forwardRef:x,unstable_batchedUpdates:pn,StrictMode:y$1,Suspense:L,SuspenseList:F,lazy:D,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Q};
|
|
67809
|
-
|
|
67810
|
-
function o$1(_,o,e,n,t){var f={};for(var l in o)"ref"!=l&&(f[l]=o[l]);var s,u,a={type:_,props:f,key:e,ref:o&&o.ref,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:++n$1.__v,__source:n,__self:t};if("function"==typeof _&&(s=_.defaultProps))for(u in s)void 0===f[u]&&(f[u]=s[u]);return n$1.vnode&&n$1.vnode(a),a}
|
|
67811
|
-
|
|
67812
67812
|
// FIXME profile adding a per-Tree TreeNode cache, validating it by
|
|
67813
67813
|
// parent pointer
|
|
67814
67814
|
/// The default maximum length of a `TreeBuffer` node.
|
|
@@ -95189,44 +95189,18 @@
|
|
|
95189
95189
|
fill: "none",
|
|
95190
95190
|
xmlns: "http://www.w3.org/2000/svg"
|
|
95191
95191
|
};
|
|
95192
|
-
var
|
|
95193
|
-
return o$1("svg", {
|
|
95194
|
-
...props,
|
|
95195
|
-
children: [o$1("path", {
|
|
95196
|
-
d: "M5.8 7.06V5.95h4.307v1.11H5.8Zm0 3.071v-1.11h4.307v1.11H5.8Z",
|
|
95197
|
-
fill: "currentColor"
|
|
95198
|
-
}), o$1("path", {
|
|
95199
|
-
fillRule: "evenodd",
|
|
95200
|
-
clipRule: "evenodd",
|
|
95201
|
-
d: "M8 3.268A4.732 4.732 0 1 0 12.732 8H14a6 6 0 1 1-6-6v1.268Z",
|
|
95202
|
-
fill: "currentColor"
|
|
95203
|
-
}), o$1("path", {
|
|
95204
|
-
d: "m11.28 6.072-.832-.56 1.016-1.224L10 3.848l.312-.912 1.392.584L11.632 2h1.032l-.072 1.52 1.392-.584.312.912-1.464.44 1.008 1.224-.832.552-.864-1.296-.864 1.304Z",
|
|
95205
|
-
fill: "currentColor"
|
|
95206
|
-
})]
|
|
95207
|
-
});
|
|
95208
|
-
};
|
|
95209
|
-
FeelRequiredIcon.defaultProps = {
|
|
95210
|
-
viewBox: "0 0 16 16",
|
|
95211
|
-
fill: "none",
|
|
95212
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
95213
|
-
};
|
|
95214
|
-
var FeelOptionalIcon = function FeelOptionalIcon(props) {
|
|
95192
|
+
var FeelIcon$1 = function FeelIcon(props) {
|
|
95215
95193
|
return o$1("svg", {
|
|
95216
95194
|
...props,
|
|
95217
|
-
children:
|
|
95218
|
-
d: "
|
|
95219
|
-
fill: "
|
|
95220
|
-
})
|
|
95221
|
-
fillRule: "evenodd",
|
|
95222
|
-
clipRule: "evenodd",
|
|
95223
|
-
d: "M3.286 8a4.714 4.714 0 1 0 9.428 0 4.714 4.714 0 0 0-9.428 0ZM8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z",
|
|
95224
|
-
fill: "currentColor"
|
|
95225
|
-
})]
|
|
95195
|
+
children: o$1("path", {
|
|
95196
|
+
d: "M3.617 11.99c-.137.684-.392 1.19-.765 1.518-.362.328-.882.492-1.558.492H0l.309-1.579h1.264l1.515-7.64h-.912l.309-1.579h.911l.236-1.191c.137-.685.387-1.192.75-1.52C4.753.164 5.277 0 5.953 0h1.294L6.94 1.579H5.675l-.323 1.623h1.264l-.309 1.579H5.043l-1.426 7.208ZM5.605 11.021l3.029-4.155L7.28 3.202h2.073l.706 2.547h.176l1.691-2.547H14l-3.014 4.051 1.338 3.768H10.25l-.706-2.606H9.37L7.678 11.02H5.605Z",
|
|
95197
|
+
fill: "currentcolor"
|
|
95198
|
+
})
|
|
95226
95199
|
});
|
|
95227
95200
|
};
|
|
95228
|
-
|
|
95229
|
-
|
|
95201
|
+
FeelIcon$1.defaultProps = {
|
|
95202
|
+
width: "14",
|
|
95203
|
+
height: "14",
|
|
95230
95204
|
fill: "none",
|
|
95231
95205
|
xmlns: "http://www.w3.org/2000/svg"
|
|
95232
95206
|
};
|
|
@@ -95471,6 +95445,18 @@
|
|
|
95471
95445
|
* @param {setSticky} setSticky
|
|
95472
95446
|
*/
|
|
95473
95447
|
function useStickyIntersectionObserver(ref, scrollContainerSelector, setSticky) {
|
|
95448
|
+
const [scrollContainer, setScrollContainer] = l$1(query$1(scrollContainerSelector));
|
|
95449
|
+
const updateScrollContainer = A$1(() => {
|
|
95450
|
+
const newScrollContainer = query$1(scrollContainerSelector);
|
|
95451
|
+
if (newScrollContainer !== scrollContainer) {
|
|
95452
|
+
setScrollContainer(newScrollContainer);
|
|
95453
|
+
}
|
|
95454
|
+
}, [scrollContainerSelector, scrollContainer]);
|
|
95455
|
+
y(() => {
|
|
95456
|
+
updateScrollContainer();
|
|
95457
|
+
}, [updateScrollContainer]);
|
|
95458
|
+
useEvent('propertiesPanel.attach', updateScrollContainer);
|
|
95459
|
+
useEvent('propertiesPanel.detach', updateScrollContainer);
|
|
95474
95460
|
y(() => {
|
|
95475
95461
|
const Observer = IntersectionObserver;
|
|
95476
95462
|
|
|
@@ -95478,37 +95464,36 @@
|
|
|
95478
95464
|
if (!Observer) {
|
|
95479
95465
|
return;
|
|
95480
95466
|
}
|
|
95481
|
-
|
|
95482
|
-
|
|
95483
|
-
|
|
95484
|
-
|
|
95485
|
-
|
|
95486
|
-
|
|
95487
|
-
|
|
95467
|
+
|
|
95468
|
+
// TODO(@barmac): test this
|
|
95469
|
+
if (!ref.current || !scrollContainer) {
|
|
95470
|
+
return;
|
|
95471
|
+
}
|
|
95472
|
+
const observer = new Observer(entries => {
|
|
95473
|
+
// scroll container is unmounted, do not update sticky state
|
|
95474
|
+
if (scrollContainer.scrollHeight === 0) {
|
|
95475
|
+
return;
|
|
95476
|
+
}
|
|
95477
|
+
entries.forEach(entry => {
|
|
95478
|
+
if (entry.intersectionRatio < 1) {
|
|
95479
|
+
setSticky(true);
|
|
95480
|
+
} else if (entry.intersectionRatio === 1) {
|
|
95481
|
+
setSticky(false);
|
|
95488
95482
|
}
|
|
95489
|
-
entries.forEach(entry => {
|
|
95490
|
-
if (entry.intersectionRatio < 1) {
|
|
95491
|
-
setSticky(true);
|
|
95492
|
-
} else if (entry.intersectionRatio === 1) {
|
|
95493
|
-
setSticky(false);
|
|
95494
|
-
}
|
|
95495
|
-
});
|
|
95496
|
-
}, {
|
|
95497
|
-
root: scrollContainer,
|
|
95498
|
-
rootMargin: '0px 0px 999999% 0px',
|
|
95499
|
-
// Use bottom margin to avoid stickyness when scrolling out to bottom
|
|
95500
|
-
threshold: [1]
|
|
95501
95483
|
});
|
|
95502
|
-
|
|
95503
|
-
|
|
95484
|
+
}, {
|
|
95485
|
+
root: scrollContainer,
|
|
95486
|
+
rootMargin: '0px 0px 999999% 0px',
|
|
95487
|
+
// Use bottom margin to avoid stickyness when scrolling out to bottom
|
|
95488
|
+
threshold: [1]
|
|
95489
|
+
});
|
|
95490
|
+
observer.observe(ref.current);
|
|
95504
95491
|
|
|
95505
95492
|
// Unobserve if unmounted
|
|
95506
95493
|
return () => {
|
|
95507
|
-
|
|
95508
|
-
observer.unobserve(ref.current);
|
|
95509
|
-
}
|
|
95494
|
+
observer.unobserve(ref.current);
|
|
95510
95495
|
};
|
|
95511
|
-
}, [ref,
|
|
95496
|
+
}, [ref.current, scrollContainer, setSticky]);
|
|
95512
95497
|
}
|
|
95513
95498
|
|
|
95514
95499
|
/**
|
|
@@ -95643,9 +95628,7 @@
|
|
|
95643
95628
|
});
|
|
95644
95629
|
}
|
|
95645
95630
|
|
|
95646
|
-
const DEFAULT_LAYOUT = {
|
|
95647
|
-
open: true
|
|
95648
|
-
};
|
|
95631
|
+
const DEFAULT_LAYOUT = {};
|
|
95649
95632
|
const DEFAULT_DESCRIPTION = {};
|
|
95650
95633
|
|
|
95651
95634
|
/**
|
|
@@ -95809,7 +95792,7 @@
|
|
|
95809
95792
|
children: o$1(EventContext.Provider, {
|
|
95810
95793
|
value: eventContext,
|
|
95811
95794
|
children: o$1("div", {
|
|
95812
|
-
class:
|
|
95795
|
+
class: "bio-properties-panel",
|
|
95813
95796
|
children: [o$1(Header$1, {
|
|
95814
95797
|
element: element,
|
|
95815
95798
|
headerProvider: headerProvider
|
|
@@ -96588,14 +96571,13 @@
|
|
|
96588
96571
|
*/
|
|
96589
96572
|
function FeelIcon(props) {
|
|
96590
96573
|
const {
|
|
96591
|
-
label,
|
|
96592
96574
|
feel = false,
|
|
96593
96575
|
active,
|
|
96594
96576
|
disabled = false,
|
|
96595
96577
|
onClick = noop$2
|
|
96596
96578
|
} = props;
|
|
96597
|
-
const feelRequiredLabel = '
|
|
96598
|
-
const feelOptionalLabel = '
|
|
96579
|
+
const feelRequiredLabel = 'FEEL expression is mandatory';
|
|
96580
|
+
const feelOptionalLabel = `Click to ${active ? 'remove' : 'set a'} dynamic value with FEEL expression`;
|
|
96599
96581
|
const handleClick = e => {
|
|
96600
96582
|
onClick(e);
|
|
96601
96583
|
|
|
@@ -96608,11 +96590,196 @@
|
|
|
96608
96590
|
class: classnames('bio-properties-panel-feel-icon', active ? 'active' : null, feel === 'required' ? 'required' : 'optional'),
|
|
96609
96591
|
onClick: handleClick,
|
|
96610
96592
|
disabled: feel === 'required' || disabled,
|
|
96611
|
-
title:
|
|
96612
|
-
children:
|
|
96593
|
+
title: feel === 'required' ? feelRequiredLabel : feelOptionalLabel,
|
|
96594
|
+
children: o$1(FeelIcon$1, {})
|
|
96613
96595
|
});
|
|
96614
96596
|
}
|
|
96615
96597
|
|
|
96598
|
+
function ToggleSwitch(props) {
|
|
96599
|
+
const {
|
|
96600
|
+
id,
|
|
96601
|
+
label,
|
|
96602
|
+
onInput,
|
|
96603
|
+
value,
|
|
96604
|
+
switcherLabel,
|
|
96605
|
+
inline,
|
|
96606
|
+
onFocus,
|
|
96607
|
+
onBlur,
|
|
96608
|
+
inputRef
|
|
96609
|
+
} = props;
|
|
96610
|
+
const [localValue, setLocalValue] = l$1(value);
|
|
96611
|
+
const handleInputCallback = async () => {
|
|
96612
|
+
onInput(!value);
|
|
96613
|
+
};
|
|
96614
|
+
const handleInput = e => {
|
|
96615
|
+
handleInputCallback();
|
|
96616
|
+
setLocalValue(e.target.value);
|
|
96617
|
+
};
|
|
96618
|
+
y(() => {
|
|
96619
|
+
if (value === localValue) {
|
|
96620
|
+
return;
|
|
96621
|
+
}
|
|
96622
|
+
setLocalValue(value);
|
|
96623
|
+
}, [value]);
|
|
96624
|
+
return o$1("div", {
|
|
96625
|
+
class: classnames('bio-properties-panel-toggle-switch', {
|
|
96626
|
+
inline
|
|
96627
|
+
}),
|
|
96628
|
+
children: [o$1("label", {
|
|
96629
|
+
class: "bio-properties-panel-label",
|
|
96630
|
+
for: prefixId$6(id),
|
|
96631
|
+
children: label
|
|
96632
|
+
}), o$1("div", {
|
|
96633
|
+
class: "bio-properties-panel-field-wrapper",
|
|
96634
|
+
children: [o$1("label", {
|
|
96635
|
+
class: "bio-properties-panel-toggle-switch__switcher",
|
|
96636
|
+
children: [o$1("input", {
|
|
96637
|
+
ref: inputRef,
|
|
96638
|
+
id: prefixId$6(id),
|
|
96639
|
+
class: "bio-properties-panel-input",
|
|
96640
|
+
type: "checkbox",
|
|
96641
|
+
onFocus: onFocus,
|
|
96642
|
+
onBlur: onBlur,
|
|
96643
|
+
name: id,
|
|
96644
|
+
onInput: handleInput,
|
|
96645
|
+
checked: !!localValue
|
|
96646
|
+
}), o$1("span", {
|
|
96647
|
+
class: "bio-properties-panel-toggle-switch__slider"
|
|
96648
|
+
})]
|
|
96649
|
+
}), switcherLabel && o$1("p", {
|
|
96650
|
+
class: "bio-properties-panel-toggle-switch__label",
|
|
96651
|
+
children: switcherLabel
|
|
96652
|
+
})]
|
|
96653
|
+
})]
|
|
96654
|
+
});
|
|
96655
|
+
}
|
|
96656
|
+
|
|
96657
|
+
/**
|
|
96658
|
+
* @param {Object} props
|
|
96659
|
+
* @param {Object} props.element
|
|
96660
|
+
* @param {String} props.id
|
|
96661
|
+
* @param {String} props.description
|
|
96662
|
+
* @param {String} props.label
|
|
96663
|
+
* @param {String} props.switcherLabel
|
|
96664
|
+
* @param {Boolean} props.inline
|
|
96665
|
+
* @param {Function} props.getValue
|
|
96666
|
+
* @param {Function} props.setValue
|
|
96667
|
+
* @param {Function} props.onFocus
|
|
96668
|
+
* @param {Function} props.onBlur
|
|
96669
|
+
*/
|
|
96670
|
+
function ToggleSwitchEntry(props) {
|
|
96671
|
+
const {
|
|
96672
|
+
element,
|
|
96673
|
+
id,
|
|
96674
|
+
description,
|
|
96675
|
+
label,
|
|
96676
|
+
switcherLabel,
|
|
96677
|
+
inline,
|
|
96678
|
+
getValue,
|
|
96679
|
+
setValue,
|
|
96680
|
+
onFocus,
|
|
96681
|
+
onBlur
|
|
96682
|
+
} = props;
|
|
96683
|
+
const value = getValue(element);
|
|
96684
|
+
return o$1("div", {
|
|
96685
|
+
class: "bio-properties-panel-entry bio-properties-panel-toggle-switch-entry",
|
|
96686
|
+
"data-entry-id": id,
|
|
96687
|
+
children: [o$1(ToggleSwitch, {
|
|
96688
|
+
id: id,
|
|
96689
|
+
label: label,
|
|
96690
|
+
value: value,
|
|
96691
|
+
onInput: setValue,
|
|
96692
|
+
onFocus: onFocus,
|
|
96693
|
+
onBlur: onBlur,
|
|
96694
|
+
switcherLabel: switcherLabel,
|
|
96695
|
+
inline: inline
|
|
96696
|
+
}), o$1(Description, {
|
|
96697
|
+
forId: id,
|
|
96698
|
+
element: element,
|
|
96699
|
+
value: description
|
|
96700
|
+
})]
|
|
96701
|
+
});
|
|
96702
|
+
}
|
|
96703
|
+
function isEdited$7(node) {
|
|
96704
|
+
return node && !!node.checked;
|
|
96705
|
+
}
|
|
96706
|
+
|
|
96707
|
+
// helpers /////////////////
|
|
96708
|
+
|
|
96709
|
+
function prefixId$6(id) {
|
|
96710
|
+
return `bio-properties-panel-${id}`;
|
|
96711
|
+
}
|
|
96712
|
+
|
|
96713
|
+
function NumberField(props) {
|
|
96714
|
+
const {
|
|
96715
|
+
debounce,
|
|
96716
|
+
disabled,
|
|
96717
|
+
displayLabel = true,
|
|
96718
|
+
id,
|
|
96719
|
+
inputRef,
|
|
96720
|
+
label,
|
|
96721
|
+
max,
|
|
96722
|
+
min,
|
|
96723
|
+
onInput,
|
|
96724
|
+
step,
|
|
96725
|
+
value = '',
|
|
96726
|
+
onFocus,
|
|
96727
|
+
onBlur
|
|
96728
|
+
} = props;
|
|
96729
|
+
const [localValue, setLocalValue] = l$1(value);
|
|
96730
|
+
const handleInputCallback = d(() => {
|
|
96731
|
+
return debounce(event => {
|
|
96732
|
+
const {
|
|
96733
|
+
validity,
|
|
96734
|
+
value
|
|
96735
|
+
} = event.target;
|
|
96736
|
+
if (validity.valid) {
|
|
96737
|
+
onInput(value ? parseFloat(value) : undefined);
|
|
96738
|
+
}
|
|
96739
|
+
});
|
|
96740
|
+
}, [onInput, debounce]);
|
|
96741
|
+
const handleInput = e => {
|
|
96742
|
+
handleInputCallback(e);
|
|
96743
|
+
setLocalValue(e.target.value);
|
|
96744
|
+
};
|
|
96745
|
+
y(() => {
|
|
96746
|
+
if (value === localValue) {
|
|
96747
|
+
return;
|
|
96748
|
+
}
|
|
96749
|
+
setLocalValue(value);
|
|
96750
|
+
}, [value]);
|
|
96751
|
+
return o$1("div", {
|
|
96752
|
+
class: "bio-properties-panel-numberfield",
|
|
96753
|
+
children: [displayLabel && o$1("label", {
|
|
96754
|
+
for: prefixId$5(id),
|
|
96755
|
+
class: "bio-properties-panel-label",
|
|
96756
|
+
children: label
|
|
96757
|
+
}), o$1("input", {
|
|
96758
|
+
id: prefixId$5(id),
|
|
96759
|
+
ref: inputRef,
|
|
96760
|
+
type: "number",
|
|
96761
|
+
name: id,
|
|
96762
|
+
spellCheck: "false",
|
|
96763
|
+
autoComplete: "off",
|
|
96764
|
+
disabled: disabled,
|
|
96765
|
+
class: "bio-properties-panel-input",
|
|
96766
|
+
max: max,
|
|
96767
|
+
min: min,
|
|
96768
|
+
onInput: handleInput,
|
|
96769
|
+
onFocus: onFocus,
|
|
96770
|
+
onBlur: onBlur,
|
|
96771
|
+
step: step,
|
|
96772
|
+
value: localValue
|
|
96773
|
+
})]
|
|
96774
|
+
});
|
|
96775
|
+
}
|
|
96776
|
+
|
|
96777
|
+
// helpers /////////////////
|
|
96778
|
+
|
|
96779
|
+
function prefixId$5(id) {
|
|
96780
|
+
return `bio-properties-panel-${id}`;
|
|
96781
|
+
}
|
|
96782
|
+
|
|
96616
96783
|
const noop$1 = () => {};
|
|
96617
96784
|
function FeelTextfield(props) {
|
|
96618
96785
|
const {
|
|
@@ -96631,8 +96798,8 @@
|
|
|
96631
96798
|
const [localValue, _setLocalValue] = l$1(value);
|
|
96632
96799
|
const editorRef = useShowEntryEvent(id);
|
|
96633
96800
|
const containerRef = s();
|
|
96634
|
-
const feelActive = localValue.startsWith('=') || feel === 'required';
|
|
96635
|
-
const feelOnlyValue = localValue.startsWith('=') ? localValue.substring(1) : localValue;
|
|
96801
|
+
const feelActive = isString(localValue) && localValue.startsWith('=') || feel === 'required';
|
|
96802
|
+
const feelOnlyValue = isString(localValue) && localValue.startsWith('=') ? localValue.substring(1) : localValue;
|
|
96636
96803
|
const [focus, _setFocus] = l$1(undefined);
|
|
96637
96804
|
const setFocus = (offset = 0) => {
|
|
96638
96805
|
const hasFocus = containerRef.current.contains(document.activeElement);
|
|
@@ -96672,7 +96839,7 @@
|
|
|
96672
96839
|
return;
|
|
96673
96840
|
}
|
|
96674
96841
|
setLocalValue(newValue);
|
|
96675
|
-
if (!feelActive && newValue.startsWith('=')) {
|
|
96842
|
+
if (!feelActive && isString(newValue) && newValue.startsWith('=')) {
|
|
96676
96843
|
// focus is behind `=` sign that will be removed
|
|
96677
96844
|
setFocus(-1);
|
|
96678
96845
|
}
|
|
@@ -96735,9 +96902,11 @@
|
|
|
96735
96902
|
};
|
|
96736
96903
|
}, [containerRef, feelActive, handleFeelToggle, setFocus]);
|
|
96737
96904
|
return o$1("div", {
|
|
96738
|
-
class:
|
|
96905
|
+
class: classnames('bio-properties-panel-feel-entry', {
|
|
96906
|
+
'feel-active': feelActive
|
|
96907
|
+
}),
|
|
96739
96908
|
children: [o$1("label", {
|
|
96740
|
-
for: prefixId$
|
|
96909
|
+
for: prefixId$4(id),
|
|
96741
96910
|
class: "bio-properties-panel-label",
|
|
96742
96911
|
onClick: () => setFocus(),
|
|
96743
96912
|
children: [label, o$1(FeelIcon, {
|
|
@@ -96754,7 +96923,7 @@
|
|
|
96754
96923
|
disabled: feel !== 'optional' || disabled,
|
|
96755
96924
|
onClick: handleFeelToggle
|
|
96756
96925
|
}), feelActive ? o$1(CodeEditor, {
|
|
96757
|
-
id: prefixId$
|
|
96926
|
+
id: prefixId$4(id),
|
|
96758
96927
|
name: id,
|
|
96759
96928
|
onInput: handleLocalInput,
|
|
96760
96929
|
disabled: disabled,
|
|
@@ -96771,7 +96940,8 @@
|
|
|
96771
96940
|
...props,
|
|
96772
96941
|
onInput: handleLocalInput,
|
|
96773
96942
|
contentAttributes: {
|
|
96774
|
-
'id': prefixId$
|
|
96943
|
+
'id': prefixId$4(id),
|
|
96944
|
+
'aria-label': label
|
|
96775
96945
|
},
|
|
96776
96946
|
value: localValue,
|
|
96777
96947
|
ref: editorRef
|
|
@@ -96808,7 +96978,7 @@
|
|
|
96808
96978
|
}
|
|
96809
96979
|
};
|
|
96810
96980
|
return o$1("input", {
|
|
96811
|
-
id: prefixId$
|
|
96981
|
+
id: prefixId$4(id),
|
|
96812
96982
|
type: "text",
|
|
96813
96983
|
ref: inputRef,
|
|
96814
96984
|
name: id,
|
|
@@ -96822,6 +96992,53 @@
|
|
|
96822
96992
|
value: value || ''
|
|
96823
96993
|
});
|
|
96824
96994
|
});
|
|
96995
|
+
x((props, ref) => {
|
|
96996
|
+
const {
|
|
96997
|
+
id,
|
|
96998
|
+
debounce,
|
|
96999
|
+
disabled,
|
|
97000
|
+
onInput,
|
|
97001
|
+
value,
|
|
97002
|
+
min,
|
|
97003
|
+
max,
|
|
97004
|
+
step,
|
|
97005
|
+
onFocus,
|
|
97006
|
+
onBlur
|
|
97007
|
+
} = props;
|
|
97008
|
+
const inputRef = s();
|
|
97009
|
+
|
|
97010
|
+
// To be consistent with the FEEL editor, set focus at start of input
|
|
97011
|
+
// this ensures clean editing experience when switching with the keyboard
|
|
97012
|
+
ref.current = {
|
|
97013
|
+
focus: position => {
|
|
97014
|
+
const input = inputRef.current;
|
|
97015
|
+
if (!input) {
|
|
97016
|
+
return;
|
|
97017
|
+
}
|
|
97018
|
+
input.focus();
|
|
97019
|
+
if (typeof position === 'number' && position !== Infinity) {
|
|
97020
|
+
if (position > value.length) {
|
|
97021
|
+
position = value.length;
|
|
97022
|
+
}
|
|
97023
|
+
input.setSelectionRange(position, position);
|
|
97024
|
+
}
|
|
97025
|
+
}
|
|
97026
|
+
};
|
|
97027
|
+
return o$1(NumberField, {
|
|
97028
|
+
id: id,
|
|
97029
|
+
debounce: debounce,
|
|
97030
|
+
disabled: disabled,
|
|
97031
|
+
displayLabel: false,
|
|
97032
|
+
inputRef: inputRef,
|
|
97033
|
+
max: max,
|
|
97034
|
+
min: min,
|
|
97035
|
+
onInput: onInput,
|
|
97036
|
+
step: step,
|
|
97037
|
+
value: value,
|
|
97038
|
+
onFocus: onFocus,
|
|
97039
|
+
onBlur: onBlur
|
|
97040
|
+
});
|
|
97041
|
+
});
|
|
96825
97042
|
const OptionalFeelTextArea = x((props, ref) => {
|
|
96826
97043
|
const {
|
|
96827
97044
|
id,
|
|
@@ -96846,7 +97063,7 @@
|
|
|
96846
97063
|
}
|
|
96847
97064
|
};
|
|
96848
97065
|
return o$1("textarea", {
|
|
96849
|
-
id: prefixId$
|
|
97066
|
+
id: prefixId$4(id),
|
|
96850
97067
|
type: "text",
|
|
96851
97068
|
ref: inputRef,
|
|
96852
97069
|
name: id,
|
|
@@ -96861,6 +97078,78 @@
|
|
|
96861
97078
|
"data-gramm": "false"
|
|
96862
97079
|
});
|
|
96863
97080
|
});
|
|
97081
|
+
x((props, ref) => {
|
|
97082
|
+
const {
|
|
97083
|
+
id,
|
|
97084
|
+
onInput,
|
|
97085
|
+
value,
|
|
97086
|
+
onFocus,
|
|
97087
|
+
onBlur,
|
|
97088
|
+
switcherLabel
|
|
97089
|
+
} = props;
|
|
97090
|
+
const inputRef = s();
|
|
97091
|
+
|
|
97092
|
+
// To be consistent with the FEEL editor, set focus at start of input
|
|
97093
|
+
// this ensures clean editing experience when switching with the keyboard
|
|
97094
|
+
ref.current = {
|
|
97095
|
+
focus: () => {
|
|
97096
|
+
const input = inputRef.current;
|
|
97097
|
+
if (!input) {
|
|
97098
|
+
return;
|
|
97099
|
+
}
|
|
97100
|
+
input.focus();
|
|
97101
|
+
}
|
|
97102
|
+
};
|
|
97103
|
+
return o$1(ToggleSwitch, {
|
|
97104
|
+
id: id,
|
|
97105
|
+
value: value,
|
|
97106
|
+
inputRef: inputRef,
|
|
97107
|
+
onInput: onInput,
|
|
97108
|
+
onFocus: onFocus,
|
|
97109
|
+
onBlur: onBlur,
|
|
97110
|
+
switcherLabel: switcherLabel
|
|
97111
|
+
});
|
|
97112
|
+
});
|
|
97113
|
+
x((props, ref) => {
|
|
97114
|
+
const {
|
|
97115
|
+
id,
|
|
97116
|
+
disabled,
|
|
97117
|
+
onInput,
|
|
97118
|
+
value,
|
|
97119
|
+
onFocus,
|
|
97120
|
+
onBlur
|
|
97121
|
+
} = props;
|
|
97122
|
+
const inputRef = s();
|
|
97123
|
+
const handleChange = ({
|
|
97124
|
+
target
|
|
97125
|
+
}) => {
|
|
97126
|
+
onInput(target.checked);
|
|
97127
|
+
};
|
|
97128
|
+
|
|
97129
|
+
// To be consistent with the FEEL editor, set focus at start of input
|
|
97130
|
+
// this ensures clean editing experience when switching with the keyboard
|
|
97131
|
+
ref.current = {
|
|
97132
|
+
focus: () => {
|
|
97133
|
+
const input = inputRef.current;
|
|
97134
|
+
if (!input) {
|
|
97135
|
+
return;
|
|
97136
|
+
}
|
|
97137
|
+
input.focus();
|
|
97138
|
+
}
|
|
97139
|
+
};
|
|
97140
|
+
return o$1("input", {
|
|
97141
|
+
ref: inputRef,
|
|
97142
|
+
id: prefixId$4(id),
|
|
97143
|
+
name: id,
|
|
97144
|
+
onFocus: onFocus,
|
|
97145
|
+
onBlur: onBlur,
|
|
97146
|
+
type: "checkbox",
|
|
97147
|
+
class: "bio-properties-panel-input",
|
|
97148
|
+
onChange: handleChange,
|
|
97149
|
+
checked: value,
|
|
97150
|
+
disabled: disabled
|
|
97151
|
+
});
|
|
97152
|
+
});
|
|
96864
97153
|
|
|
96865
97154
|
/**
|
|
96866
97155
|
* @param {Object} props
|
|
@@ -96939,11 +97228,13 @@
|
|
|
96939
97228
|
return o$1("div", {
|
|
96940
97229
|
class: classnames(props.class, 'bio-properties-panel-entry', error ? 'has-error' : ''),
|
|
96941
97230
|
"data-entry-id": id,
|
|
96942
|
-
children: [
|
|
97231
|
+
children: [a$2(FeelTextfield, {
|
|
97232
|
+
...props,
|
|
96943
97233
|
debounce: debounce,
|
|
96944
97234
|
disabled: disabled,
|
|
96945
97235
|
feel: feel,
|
|
96946
97236
|
id: id,
|
|
97237
|
+
key: element,
|
|
96947
97238
|
label: label,
|
|
96948
97239
|
onInput: onInput,
|
|
96949
97240
|
onError: onError,
|
|
@@ -96957,7 +97248,7 @@
|
|
|
96957
97248
|
variables: variables,
|
|
96958
97249
|
tooltipContainer: tooltipContainer,
|
|
96959
97250
|
OptionalComponent: props.OptionalComponent
|
|
96960
|
-
}
|
|
97251
|
+
}), error && o$1("div", {
|
|
96961
97252
|
class: "bio-properties-panel-error",
|
|
96962
97253
|
children: error
|
|
96963
97254
|
}), o$1(Description, {
|
|
@@ -96994,13 +97285,19 @@
|
|
|
96994
97285
|
...props
|
|
96995
97286
|
});
|
|
96996
97287
|
}
|
|
96997
|
-
function isEdited$
|
|
96998
|
-
|
|
97288
|
+
function isEdited$5(node) {
|
|
97289
|
+
if (!node) {
|
|
97290
|
+
return false;
|
|
97291
|
+
}
|
|
97292
|
+
if (node.type === 'checkbox') {
|
|
97293
|
+
return !!node.checked || node.classList.contains('edited');
|
|
97294
|
+
}
|
|
97295
|
+
return !!node.value || node.classList.contains('edited');
|
|
96999
97296
|
}
|
|
97000
97297
|
|
|
97001
97298
|
// helpers /////////////////
|
|
97002
97299
|
|
|
97003
|
-
function prefixId$
|
|
97300
|
+
function prefixId$4(id) {
|
|
97004
97301
|
return `bio-properties-panel-${id}`;
|
|
97005
97302
|
}
|
|
97006
97303
|
|
|
@@ -97035,12 +97332,12 @@
|
|
|
97035
97332
|
return o$1("div", {
|
|
97036
97333
|
class: "bio-properties-panel-select",
|
|
97037
97334
|
children: [o$1("label", {
|
|
97038
|
-
for: prefixId$
|
|
97335
|
+
for: prefixId$3(id),
|
|
97039
97336
|
class: "bio-properties-panel-label",
|
|
97040
97337
|
children: label
|
|
97041
97338
|
}), o$1("select", {
|
|
97042
97339
|
ref: ref,
|
|
97043
|
-
id: prefixId$
|
|
97340
|
+
id: prefixId$3(id),
|
|
97044
97341
|
name: id,
|
|
97045
97342
|
class: "bio-properties-panel-input",
|
|
97046
97343
|
onInput: handleChange,
|
|
@@ -97147,13 +97444,13 @@
|
|
|
97147
97444
|
})]
|
|
97148
97445
|
});
|
|
97149
97446
|
}
|
|
97150
|
-
function isEdited$
|
|
97447
|
+
function isEdited$3(node) {
|
|
97151
97448
|
return node && !!node.value;
|
|
97152
97449
|
}
|
|
97153
97450
|
|
|
97154
97451
|
// helpers /////////////////
|
|
97155
97452
|
|
|
97156
|
-
function prefixId$
|
|
97453
|
+
function prefixId$3(id) {
|
|
97157
97454
|
return `bio-properties-panel-${id}`;
|
|
97158
97455
|
}
|
|
97159
97456
|
|
|
@@ -97202,12 +97499,12 @@
|
|
|
97202
97499
|
return o$1("div", {
|
|
97203
97500
|
class: "bio-properties-panel-textarea",
|
|
97204
97501
|
children: [o$1("label", {
|
|
97205
|
-
for: prefixId$
|
|
97502
|
+
for: prefixId$1(id),
|
|
97206
97503
|
class: "bio-properties-panel-label",
|
|
97207
97504
|
children: label
|
|
97208
97505
|
}), o$1("textarea", {
|
|
97209
97506
|
ref: ref,
|
|
97210
|
-
id: prefixId$
|
|
97507
|
+
id: prefixId$1(id),
|
|
97211
97508
|
name: id,
|
|
97212
97509
|
spellCheck: "false",
|
|
97213
97510
|
class: classnames('bio-properties-panel-input', monospace ? 'bio-properties-panel-input-monospace' : '', autoResize ? 'auto-resize' : ''),
|
|
@@ -97307,13 +97604,13 @@
|
|
|
97307
97604
|
})]
|
|
97308
97605
|
});
|
|
97309
97606
|
}
|
|
97310
|
-
function isEdited$
|
|
97607
|
+
function isEdited$1(node) {
|
|
97311
97608
|
return node && !!node.value;
|
|
97312
97609
|
}
|
|
97313
97610
|
|
|
97314
97611
|
// helpers /////////////////
|
|
97315
97612
|
|
|
97316
|
-
function prefixId$
|
|
97613
|
+
function prefixId$1(id) {
|
|
97317
97614
|
return `bio-properties-panel-${id}`;
|
|
97318
97615
|
}
|
|
97319
97616
|
|
|
@@ -97348,12 +97645,12 @@
|
|
|
97348
97645
|
return o$1("div", {
|
|
97349
97646
|
class: "bio-properties-panel-textfield",
|
|
97350
97647
|
children: [o$1("label", {
|
|
97351
|
-
for: prefixId
|
|
97648
|
+
for: prefixId(id),
|
|
97352
97649
|
class: "bio-properties-panel-label",
|
|
97353
97650
|
children: label
|
|
97354
97651
|
}), o$1("input", {
|
|
97355
97652
|
ref: ref,
|
|
97356
|
-
id: prefixId
|
|
97653
|
+
id: prefixId(id),
|
|
97357
97654
|
type: "text",
|
|
97358
97655
|
name: id,
|
|
97359
97656
|
spellCheck: "false",
|
|
@@ -97445,115 +97742,8 @@
|
|
|
97445
97742
|
})]
|
|
97446
97743
|
});
|
|
97447
97744
|
}
|
|
97448
|
-
function isEdited$1(node) {
|
|
97449
|
-
return node && !!node.value;
|
|
97450
|
-
}
|
|
97451
|
-
|
|
97452
|
-
// helpers /////////////////
|
|
97453
|
-
|
|
97454
|
-
function prefixId$1(id) {
|
|
97455
|
-
return `bio-properties-panel-${id}`;
|
|
97456
|
-
}
|
|
97457
|
-
|
|
97458
|
-
function ToggleSwitch(props) {
|
|
97459
|
-
const {
|
|
97460
|
-
id,
|
|
97461
|
-
label,
|
|
97462
|
-
onInput,
|
|
97463
|
-
value,
|
|
97464
|
-
switcherLabel,
|
|
97465
|
-
onFocus,
|
|
97466
|
-
onBlur
|
|
97467
|
-
} = props;
|
|
97468
|
-
const [localValue, setLocalValue] = l$1(value);
|
|
97469
|
-
const handleInputCallback = async () => {
|
|
97470
|
-
onInput(!value);
|
|
97471
|
-
};
|
|
97472
|
-
const handleInput = e => {
|
|
97473
|
-
handleInputCallback();
|
|
97474
|
-
setLocalValue(e.target.value);
|
|
97475
|
-
};
|
|
97476
|
-
y(() => {
|
|
97477
|
-
if (value === localValue) {
|
|
97478
|
-
return;
|
|
97479
|
-
}
|
|
97480
|
-
setLocalValue(value);
|
|
97481
|
-
}, [value]);
|
|
97482
|
-
return o$1("div", {
|
|
97483
|
-
class: "bio-properties-panel-toggle-switch",
|
|
97484
|
-
children: [o$1("label", {
|
|
97485
|
-
class: "bio-properties-panel-label",
|
|
97486
|
-
for: prefixId(id),
|
|
97487
|
-
children: label
|
|
97488
|
-
}), o$1("div", {
|
|
97489
|
-
class: "bio-properties-panel-field-wrapper",
|
|
97490
|
-
children: [o$1("label", {
|
|
97491
|
-
class: "bio-properties-panel-toggle-switch__switcher",
|
|
97492
|
-
children: [o$1("input", {
|
|
97493
|
-
id: prefixId(id),
|
|
97494
|
-
class: "bio-properties-panel-input",
|
|
97495
|
-
type: "checkbox",
|
|
97496
|
-
onFocus: onFocus,
|
|
97497
|
-
onBlur: onBlur,
|
|
97498
|
-
name: id,
|
|
97499
|
-
onInput: handleInput,
|
|
97500
|
-
checked: !!localValue
|
|
97501
|
-
}), o$1("span", {
|
|
97502
|
-
class: "bio-properties-panel-toggle-switch__slider"
|
|
97503
|
-
})]
|
|
97504
|
-
}), o$1("p", {
|
|
97505
|
-
class: "bio-properties-panel-toggle-switch__label",
|
|
97506
|
-
children: switcherLabel
|
|
97507
|
-
})]
|
|
97508
|
-
})]
|
|
97509
|
-
});
|
|
97510
|
-
}
|
|
97511
|
-
|
|
97512
|
-
/**
|
|
97513
|
-
* @param {Object} props
|
|
97514
|
-
* @param {Object} props.element
|
|
97515
|
-
* @param {String} props.id
|
|
97516
|
-
* @param {String} props.description
|
|
97517
|
-
* @param {String} props.label
|
|
97518
|
-
* @param {String} props.switcherLabel
|
|
97519
|
-
* @param {Function} props.getValue
|
|
97520
|
-
* @param {Function} props.setValue
|
|
97521
|
-
* @param {Function} props.onFocus
|
|
97522
|
-
* @param {Function} props.onBlur
|
|
97523
|
-
*/
|
|
97524
|
-
function ToggleSwitchEntry(props) {
|
|
97525
|
-
const {
|
|
97526
|
-
element,
|
|
97527
|
-
id,
|
|
97528
|
-
description,
|
|
97529
|
-
label,
|
|
97530
|
-
switcherLabel,
|
|
97531
|
-
getValue,
|
|
97532
|
-
setValue,
|
|
97533
|
-
onFocus,
|
|
97534
|
-
onBlur
|
|
97535
|
-
} = props;
|
|
97536
|
-
const value = getValue(element);
|
|
97537
|
-
return o$1("div", {
|
|
97538
|
-
class: "bio-properties-panel-entry bio-properties-panel-toggle-switch-entry",
|
|
97539
|
-
"data-entry-id": id,
|
|
97540
|
-
children: [o$1(ToggleSwitch, {
|
|
97541
|
-
id: id,
|
|
97542
|
-
label: label,
|
|
97543
|
-
value: value,
|
|
97544
|
-
onInput: setValue,
|
|
97545
|
-
onFocus: onFocus,
|
|
97546
|
-
onBlur: onBlur,
|
|
97547
|
-
switcherLabel: switcherLabel
|
|
97548
|
-
}), o$1(Description, {
|
|
97549
|
-
forId: id,
|
|
97550
|
-
element: element,
|
|
97551
|
-
value: description
|
|
97552
|
-
})]
|
|
97553
|
-
});
|
|
97554
|
-
}
|
|
97555
97745
|
function isEdited(node) {
|
|
97556
|
-
return node && !!node.
|
|
97746
|
+
return node && !!node.value;
|
|
97557
97747
|
}
|
|
97558
97748
|
|
|
97559
97749
|
// helpers /////////////////
|
|
@@ -100952,7 +101142,7 @@
|
|
|
100952
101142
|
type = `${getEventDefinitionPrefix(eventDefinition)}${type}`;
|
|
100953
101143
|
|
|
100954
101144
|
// (1.1) interrupting / non interrupting
|
|
100955
|
-
if (is$6(element, 'bpmn:StartEvent') && !isInterrupting(element) || is$6(element, 'bpmn:BoundaryEvent') && !isCancelActivity(element)) {
|
|
101145
|
+
if (is$6(element, 'bpmn:StartEvent') && !isInterrupting$1(element) || is$6(element, 'bpmn:BoundaryEvent') && !isCancelActivity(element)) {
|
|
100956
101146
|
type = `${type}NonInterrupting`;
|
|
100957
101147
|
}
|
|
100958
101148
|
return type;
|
|
@@ -101711,7 +101901,7 @@
|
|
|
101711
101901
|
}, {
|
|
101712
101902
|
id: 'activityRef',
|
|
101713
101903
|
component: ActivityRef,
|
|
101714
|
-
isEdited: isEdited$
|
|
101904
|
+
isEdited: isEdited$3
|
|
101715
101905
|
}];
|
|
101716
101906
|
}
|
|
101717
101907
|
function WaitForCompletion(props) {
|
|
@@ -101905,13 +102095,13 @@
|
|
|
101905
102095
|
const entries = [{
|
|
101906
102096
|
id: 'documentation',
|
|
101907
102097
|
component: ElementDocumentationProperty,
|
|
101908
|
-
isEdited: isEdited$
|
|
102098
|
+
isEdited: isEdited$1
|
|
101909
102099
|
}];
|
|
101910
102100
|
if (hasProcessRef$2(element)) {
|
|
101911
102101
|
entries.push({
|
|
101912
102102
|
id: 'processDocumentation',
|
|
101913
102103
|
component: ProcessDocumentationProperty,
|
|
101914
|
-
isEdited: isEdited$
|
|
102104
|
+
isEdited: isEdited$1
|
|
101915
102105
|
});
|
|
101916
102106
|
}
|
|
101917
102107
|
return entries;
|
|
@@ -102093,17 +102283,17 @@
|
|
|
102093
102283
|
let entries = [{
|
|
102094
102284
|
id: 'errorRef',
|
|
102095
102285
|
component: ErrorRef$1,
|
|
102096
|
-
isEdited: isEdited$
|
|
102286
|
+
isEdited: isEdited$3
|
|
102097
102287
|
}];
|
|
102098
102288
|
if (error) {
|
|
102099
102289
|
entries = [...entries, {
|
|
102100
102290
|
id: 'errorName',
|
|
102101
102291
|
component: ErrorName$1,
|
|
102102
|
-
isEdited: isEdited
|
|
102292
|
+
isEdited: isEdited
|
|
102103
102293
|
}, {
|
|
102104
102294
|
id: 'errorCode',
|
|
102105
102295
|
component: ErrorCode$2,
|
|
102106
|
-
isEdited: isEdited
|
|
102296
|
+
isEdited: isEdited
|
|
102107
102297
|
}];
|
|
102108
102298
|
}
|
|
102109
102299
|
return entries;
|
|
@@ -102274,17 +102464,17 @@
|
|
|
102274
102464
|
let entries = [{
|
|
102275
102465
|
id: 'escalationRef',
|
|
102276
102466
|
component: EscalationRef,
|
|
102277
|
-
isEdited: isEdited$
|
|
102467
|
+
isEdited: isEdited$3
|
|
102278
102468
|
}];
|
|
102279
102469
|
if (escalation) {
|
|
102280
102470
|
entries = [...entries, {
|
|
102281
102471
|
id: 'escalationName',
|
|
102282
102472
|
component: EscalationName,
|
|
102283
|
-
isEdited: isEdited
|
|
102473
|
+
isEdited: isEdited
|
|
102284
102474
|
}, {
|
|
102285
102475
|
id: 'escalationCode',
|
|
102286
102476
|
component: EscalationCode$1,
|
|
102287
|
-
isEdited: isEdited
|
|
102477
|
+
isEdited: isEdited
|
|
102288
102478
|
}];
|
|
102289
102479
|
}
|
|
102290
102480
|
return entries;
|
|
@@ -102556,7 +102746,7 @@
|
|
|
102556
102746
|
return [{
|
|
102557
102747
|
id: 'id',
|
|
102558
102748
|
component: Id$3,
|
|
102559
|
-
isEdited: isEdited
|
|
102749
|
+
isEdited: isEdited
|
|
102560
102750
|
}];
|
|
102561
102751
|
}
|
|
102562
102752
|
function Id$3(props) {
|
|
@@ -102606,7 +102796,7 @@
|
|
|
102606
102796
|
return [{
|
|
102607
102797
|
id: 'linkName',
|
|
102608
102798
|
component: LinkName,
|
|
102609
|
-
isEdited: isEdited
|
|
102799
|
+
isEdited: isEdited
|
|
102610
102800
|
}];
|
|
102611
102801
|
}
|
|
102612
102802
|
function LinkName(props) {
|
|
@@ -102660,13 +102850,13 @@
|
|
|
102660
102850
|
let entries = [{
|
|
102661
102851
|
id: 'messageRef',
|
|
102662
102852
|
component: MessageRef$1,
|
|
102663
|
-
isEdited: isEdited$
|
|
102853
|
+
isEdited: isEdited$3
|
|
102664
102854
|
}];
|
|
102665
102855
|
if (message) {
|
|
102666
102856
|
entries = [...entries, {
|
|
102667
102857
|
id: 'messageName',
|
|
102668
102858
|
component: MessageName$1,
|
|
102669
|
-
isEdited: isEdited
|
|
102859
|
+
isEdited: isEdited
|
|
102670
102860
|
}];
|
|
102671
102861
|
}
|
|
102672
102862
|
return entries;
|
|
@@ -102807,11 +102997,11 @@
|
|
|
102807
102997
|
const entries = [{
|
|
102808
102998
|
id: 'loopCardinality',
|
|
102809
102999
|
component: LoopCardinality,
|
|
102810
|
-
isEdited: isEdited
|
|
103000
|
+
isEdited: isEdited
|
|
102811
103001
|
}, {
|
|
102812
103002
|
id: 'completionCondition',
|
|
102813
103003
|
component: CompletionCondition$1,
|
|
102814
|
-
isEdited: isEdited
|
|
103004
|
+
isEdited: isEdited
|
|
102815
103005
|
}];
|
|
102816
103006
|
return entries;
|
|
102817
103007
|
}
|
|
@@ -103034,7 +103224,7 @@
|
|
|
103034
103224
|
return [{
|
|
103035
103225
|
id: 'name',
|
|
103036
103226
|
component: Name$3,
|
|
103037
|
-
isEdited: isEdited$
|
|
103227
|
+
isEdited: isEdited$1
|
|
103038
103228
|
}];
|
|
103039
103229
|
}
|
|
103040
103230
|
function Name$3(props) {
|
|
@@ -103143,11 +103333,11 @@
|
|
|
103143
103333
|
return [{
|
|
103144
103334
|
id: 'processId',
|
|
103145
103335
|
component: ProcessId,
|
|
103146
|
-
isEdited: isEdited
|
|
103336
|
+
isEdited: isEdited
|
|
103147
103337
|
}, {
|
|
103148
103338
|
id: 'processName',
|
|
103149
103339
|
component: ProcessName,
|
|
103150
|
-
isEdited: isEdited
|
|
103340
|
+
isEdited: isEdited
|
|
103151
103341
|
}];
|
|
103152
103342
|
}
|
|
103153
103343
|
function ProcessName(props) {
|
|
@@ -103240,13 +103430,13 @@
|
|
|
103240
103430
|
let entries = [{
|
|
103241
103431
|
id: 'signalRef',
|
|
103242
103432
|
component: SignalRef,
|
|
103243
|
-
isEdited: isEdited$
|
|
103433
|
+
isEdited: isEdited$3
|
|
103244
103434
|
}];
|
|
103245
103435
|
if (signal) {
|
|
103246
103436
|
entries = [...entries, {
|
|
103247
103437
|
id: 'signalName',
|
|
103248
103438
|
component: SignalName$1,
|
|
103249
|
-
isEdited: isEdited
|
|
103439
|
+
isEdited: isEdited
|
|
103250
103440
|
}];
|
|
103251
103441
|
}
|
|
103252
103442
|
return entries;
|
|
@@ -103456,7 +103646,7 @@
|
|
|
103456
103646
|
entries.push({
|
|
103457
103647
|
id: getId$1(idPrefix, 'timerEventDefinitionType'),
|
|
103458
103648
|
component: TimerEventDefinitionType$2,
|
|
103459
|
-
isEdited: isEdited$
|
|
103649
|
+
isEdited: isEdited$3,
|
|
103460
103650
|
timerEventDefinition,
|
|
103461
103651
|
timerEventDefinitionType
|
|
103462
103652
|
});
|
|
@@ -103464,7 +103654,7 @@
|
|
|
103464
103654
|
entries.push({
|
|
103465
103655
|
id: getId$1(idPrefix, 'timerEventDefinitionValue'),
|
|
103466
103656
|
component: TimerEventDefinitionValue$2,
|
|
103467
|
-
isEdited: isEdited
|
|
103657
|
+
isEdited: isEdited,
|
|
103468
103658
|
timerEventDefinition,
|
|
103469
103659
|
timerEventDefinitionType
|
|
103470
103660
|
});
|
|
@@ -103957,15 +104147,15 @@
|
|
|
103957
104147
|
return [{
|
|
103958
104148
|
id: 'assignmentDefinitionAssignee',
|
|
103959
104149
|
component: Assignee$1,
|
|
103960
|
-
isEdited: isEdited$
|
|
104150
|
+
isEdited: isEdited$5
|
|
103961
104151
|
}, {
|
|
103962
104152
|
id: 'assignmentDefinitionCandidateGroups',
|
|
103963
104153
|
component: CandidateGroups$1,
|
|
103964
|
-
isEdited: isEdited$
|
|
104154
|
+
isEdited: isEdited$5
|
|
103965
104155
|
}, {
|
|
103966
104156
|
id: 'assignmentDefinitionCandidateUsers',
|
|
103967
104157
|
component: CandidateUsers$1,
|
|
103968
|
-
isEdited: isEdited$
|
|
104158
|
+
isEdited: isEdited$5
|
|
103969
104159
|
}];
|
|
103970
104160
|
}
|
|
103971
104161
|
function Assignee$1(props) {
|
|
@@ -104400,11 +104590,11 @@
|
|
|
104400
104590
|
return [{
|
|
104401
104591
|
id: 'decisionId',
|
|
104402
104592
|
component: DecisionID,
|
|
104403
|
-
isEdited: isEdited$
|
|
104593
|
+
isEdited: isEdited$5
|
|
104404
104594
|
}, {
|
|
104405
104595
|
id: 'resultVariable',
|
|
104406
104596
|
component: ResultVariable$4,
|
|
104407
|
-
isEdited: isEdited
|
|
104597
|
+
isEdited: isEdited
|
|
104408
104598
|
}];
|
|
104409
104599
|
}
|
|
104410
104600
|
function DecisionID(props) {
|
|
@@ -104576,7 +104766,7 @@
|
|
|
104576
104766
|
conditionProps.push({
|
|
104577
104767
|
id: 'conditionExpression',
|
|
104578
104768
|
component: ConditionExpression$1,
|
|
104579
|
-
isEdited: isEdited$
|
|
104769
|
+
isEdited: isEdited$5
|
|
104580
104770
|
});
|
|
104581
104771
|
}
|
|
104582
104772
|
return conditionProps;
|
|
@@ -104672,7 +104862,7 @@
|
|
|
104672
104862
|
entries.push({
|
|
104673
104863
|
id: 'errorCode',
|
|
104674
104864
|
component: ErrorCode$1,
|
|
104675
|
-
isEdited: isEdited$
|
|
104865
|
+
isEdited: isEdited$5
|
|
104676
104866
|
});
|
|
104677
104867
|
}
|
|
104678
104868
|
return entries;
|
|
@@ -104730,7 +104920,7 @@
|
|
|
104730
104920
|
entries.push({
|
|
104731
104921
|
id: 'escalationCode',
|
|
104732
104922
|
component: EscalationCode,
|
|
104733
|
-
isEdited: isEdited$
|
|
104923
|
+
isEdited: isEdited$5
|
|
104734
104924
|
});
|
|
104735
104925
|
}
|
|
104736
104926
|
return entries;
|
|
@@ -104778,19 +104968,19 @@
|
|
|
104778
104968
|
const entries = [{
|
|
104779
104969
|
id: 'formType',
|
|
104780
104970
|
component: FormType$1,
|
|
104781
|
-
isEdited: isEdited$
|
|
104971
|
+
isEdited: isEdited$3
|
|
104782
104972
|
}];
|
|
104783
104973
|
if (isCamundaForm(element, formHelper)) {
|
|
104784
104974
|
entries.push({
|
|
104785
104975
|
id: 'formConfiguration',
|
|
104786
104976
|
component: FormConfiguration,
|
|
104787
|
-
isEdited: isEdited$
|
|
104977
|
+
isEdited: isEdited$1
|
|
104788
104978
|
});
|
|
104789
104979
|
} else if (isCustomKey(element, formHelper)) {
|
|
104790
104980
|
entries.push({
|
|
104791
104981
|
id: 'customFormKey',
|
|
104792
104982
|
component: CustomFormKey,
|
|
104793
|
-
isEdited: isEdited
|
|
104983
|
+
isEdited: isEdited
|
|
104794
104984
|
});
|
|
104795
104985
|
}
|
|
104796
104986
|
return entries;
|
|
@@ -105621,14 +105811,14 @@
|
|
|
105621
105811
|
entries.push({
|
|
105622
105812
|
id: 'messageName',
|
|
105623
105813
|
component: MessageName,
|
|
105624
|
-
isEdited: isEdited$
|
|
105814
|
+
isEdited: isEdited$5
|
|
105625
105815
|
});
|
|
105626
105816
|
}
|
|
105627
105817
|
if (message && canHaveSubscriptionCorrelationKey(element)) {
|
|
105628
105818
|
entries.push({
|
|
105629
105819
|
id: 'messageSubscriptionCorrelationKey',
|
|
105630
105820
|
component: SubscriptionCorrelationKey,
|
|
105631
|
-
isEdited: isEdited$
|
|
105821
|
+
isEdited: isEdited$5
|
|
105632
105822
|
});
|
|
105633
105823
|
}
|
|
105634
105824
|
return entries;
|
|
@@ -105781,23 +105971,23 @@
|
|
|
105781
105971
|
return [{
|
|
105782
105972
|
id: 'multiInstance-inputCollection',
|
|
105783
105973
|
component: InputCollection,
|
|
105784
|
-
isEdited: isEdited$
|
|
105974
|
+
isEdited: isEdited$5
|
|
105785
105975
|
}, {
|
|
105786
105976
|
id: 'multiInstance-inputElement',
|
|
105787
105977
|
component: InputElement,
|
|
105788
|
-
isEdited: isEdited
|
|
105978
|
+
isEdited: isEdited
|
|
105789
105979
|
}, {
|
|
105790
105980
|
id: 'multiInstance-outputCollection',
|
|
105791
105981
|
component: OutputCollection,
|
|
105792
|
-
isEdited: isEdited
|
|
105982
|
+
isEdited: isEdited
|
|
105793
105983
|
}, {
|
|
105794
105984
|
id: 'multiInstance-outputElement',
|
|
105795
105985
|
component: OutputElement,
|
|
105796
|
-
isEdited: isEdited$
|
|
105986
|
+
isEdited: isEdited$5
|
|
105797
105987
|
}, {
|
|
105798
105988
|
id: 'multiInstance-completionCondition',
|
|
105799
105989
|
component: CompletionCondition,
|
|
105800
|
-
isEdited: isEdited$
|
|
105990
|
+
isEdited: isEdited$5
|
|
105801
105991
|
}];
|
|
105802
105992
|
}
|
|
105803
105993
|
function InputCollection(props) {
|
|
@@ -106036,7 +106226,7 @@
|
|
|
106036
106226
|
return [{
|
|
106037
106227
|
id: 'propagateAllChildVariables',
|
|
106038
106228
|
component: PropagateAllChildVariables,
|
|
106039
|
-
isEdited: isEdited
|
|
106229
|
+
isEdited: isEdited$7
|
|
106040
106230
|
}];
|
|
106041
106231
|
}
|
|
106042
106232
|
function PropagateAllChildVariables(props) {
|
|
@@ -106459,11 +106649,11 @@
|
|
|
106459
106649
|
return [{
|
|
106460
106650
|
id: 'resultVariable',
|
|
106461
106651
|
component: ResultVariable$3,
|
|
106462
|
-
isEdited: isEdited
|
|
106652
|
+
isEdited: isEdited
|
|
106463
106653
|
}, {
|
|
106464
106654
|
id: 'scriptExpression',
|
|
106465
106655
|
component: Expression$3,
|
|
106466
|
-
isEdited: isEdited$
|
|
106656
|
+
isEdited: isEdited$5
|
|
106467
106657
|
}];
|
|
106468
106658
|
}
|
|
106469
106659
|
function Expression$3(props) {
|
|
@@ -106639,7 +106829,7 @@
|
|
|
106639
106829
|
entries = [...entries, {
|
|
106640
106830
|
id: 'signalName',
|
|
106641
106831
|
component: SignalName,
|
|
106642
|
-
isEdited: isEdited$
|
|
106832
|
+
isEdited: isEdited$5
|
|
106643
106833
|
}];
|
|
106644
106834
|
}
|
|
106645
106835
|
return entries;
|
|
@@ -106685,7 +106875,7 @@
|
|
|
106685
106875
|
return [{
|
|
106686
106876
|
id: 'targetProcessId',
|
|
106687
106877
|
component: TargetProcessId,
|
|
106688
|
-
isEdited: isEdited$
|
|
106878
|
+
isEdited: isEdited$5
|
|
106689
106879
|
}];
|
|
106690
106880
|
}
|
|
106691
106881
|
function TargetProcessId(props) {
|
|
@@ -106774,11 +106964,11 @@
|
|
|
106774
106964
|
return [{
|
|
106775
106965
|
id: 'taskDefinitionType',
|
|
106776
106966
|
component: TaskDefinitionType,
|
|
106777
|
-
isEdited: isEdited$
|
|
106967
|
+
isEdited: isEdited$5
|
|
106778
106968
|
}, {
|
|
106779
106969
|
id: 'taskDefinitionRetries',
|
|
106780
106970
|
component: TaskDefinitionRetries,
|
|
106781
|
-
isEdited: isEdited$
|
|
106971
|
+
isEdited: isEdited$5
|
|
106782
106972
|
}];
|
|
106783
106973
|
}
|
|
106784
106974
|
function TaskDefinitionType(props) {
|
|
@@ -106947,11 +107137,11 @@
|
|
|
106947
107137
|
return [{
|
|
106948
107138
|
id: 'taskScheduleDueDate',
|
|
106949
107139
|
component: DueDate$1,
|
|
106950
|
-
isEdited: isEdited$
|
|
107140
|
+
isEdited: isEdited$5
|
|
106951
107141
|
}, {
|
|
106952
107142
|
id: 'taskScheduleFollowUpDate',
|
|
106953
107143
|
component: FollowUpDate$1,
|
|
106954
|
-
isEdited: isEdited$
|
|
107144
|
+
isEdited: isEdited$5
|
|
106955
107145
|
}];
|
|
106956
107146
|
}
|
|
106957
107147
|
function DueDate$1(props) {
|
|
@@ -107135,7 +107325,7 @@
|
|
|
107135
107325
|
entries.push({
|
|
107136
107326
|
id: 'timerEventDefinitionType',
|
|
107137
107327
|
component: TimerEventDefinitionType$1,
|
|
107138
|
-
isEdited: isEdited$
|
|
107328
|
+
isEdited: isEdited$3,
|
|
107139
107329
|
options: timerOptions
|
|
107140
107330
|
});
|
|
107141
107331
|
}
|
|
@@ -107143,7 +107333,7 @@
|
|
|
107143
107333
|
entries.push({
|
|
107144
107334
|
id: 'timerEventDefinitionValue',
|
|
107145
107335
|
component: TimerEventDefinitionValue$1,
|
|
107146
|
-
isEdited: isEdited$
|
|
107336
|
+
isEdited: isEdited$5,
|
|
107147
107337
|
label: singleOption ? timerOptions[0].label : undefined,
|
|
107148
107338
|
timerEventDefinitionType: timerEventDefinitionType || timerOptions[0].value
|
|
107149
107339
|
});
|
|
@@ -107320,7 +107510,7 @@
|
|
|
107320
107510
|
}
|
|
107321
107511
|
return false;
|
|
107322
107512
|
case 'timeCycle':
|
|
107323
|
-
if (is$6(element, 'bpmn:StartEvent') && !isInterruptingStartEvent
|
|
107513
|
+
if (is$6(element, 'bpmn:StartEvent') && !isInterruptingStartEvent(businessObject)) {
|
|
107324
107514
|
return true;
|
|
107325
107515
|
}
|
|
107326
107516
|
if (is$6(element, 'bpmn:BoundaryEvent') && !businessObject.cancelActivity) {
|
|
@@ -107424,7 +107614,7 @@
|
|
|
107424
107614
|
});
|
|
107425
107615
|
}
|
|
107426
107616
|
}
|
|
107427
|
-
function isInterruptingStartEvent
|
|
107617
|
+
function isInterruptingStartEvent(bo) {
|
|
107428
107618
|
return isInEventSubProcess$2(bo) && bo.get('isInterrupting') !== false;
|
|
107429
107619
|
}
|
|
107430
107620
|
function isInEventSubProcess$2(bo) {
|
|
@@ -111834,7 +112024,7 @@
|
|
|
111834
112024
|
return {
|
|
111835
112025
|
id,
|
|
111836
112026
|
component: DropdownProperty$1,
|
|
111837
|
-
isEdited: isEdited$
|
|
112027
|
+
isEdited: isEdited$3,
|
|
111838
112028
|
property
|
|
111839
112029
|
};
|
|
111840
112030
|
}
|
|
@@ -111843,14 +112033,14 @@
|
|
|
111843
112033
|
return {
|
|
111844
112034
|
id,
|
|
111845
112035
|
component: FeelProperty,
|
|
111846
|
-
isEdited: isEdited$
|
|
112036
|
+
isEdited: isEdited$5,
|
|
111847
112037
|
property
|
|
111848
112038
|
};
|
|
111849
112039
|
}
|
|
111850
112040
|
return {
|
|
111851
112041
|
id,
|
|
111852
112042
|
component: StringProperty$1,
|
|
111853
|
-
isEdited: isEdited
|
|
112043
|
+
isEdited: isEdited,
|
|
111854
112044
|
property
|
|
111855
112045
|
};
|
|
111856
112046
|
}
|
|
@@ -111859,14 +112049,14 @@
|
|
|
111859
112049
|
return {
|
|
111860
112050
|
id,
|
|
111861
112051
|
component: FeelTextAreaProperty,
|
|
111862
|
-
isEdited: isEdited$
|
|
112052
|
+
isEdited: isEdited$5,
|
|
111863
112053
|
property
|
|
111864
112054
|
};
|
|
111865
112055
|
}
|
|
111866
112056
|
return {
|
|
111867
112057
|
id,
|
|
111868
112058
|
component: TextAreaProperty$1,
|
|
111869
|
-
isEdited: isEdited$
|
|
112059
|
+
isEdited: isEdited$1,
|
|
111870
112060
|
property
|
|
111871
112061
|
};
|
|
111872
112062
|
}
|
|
@@ -112183,7 +112373,7 @@
|
|
|
112183
112373
|
return [{
|
|
112184
112374
|
id: 'messageRef',
|
|
112185
112375
|
component: MessageRef,
|
|
112186
|
-
isEdited: isEdited$
|
|
112376
|
+
isEdited: isEdited$3
|
|
112187
112377
|
}];
|
|
112188
112378
|
}
|
|
112189
112379
|
function MessageRef(props) {
|
|
@@ -112794,7 +112984,7 @@
|
|
|
112794
112984
|
},
|
|
112795
112985
|
messageName: element => {
|
|
112796
112986
|
const translate = useService('translate');
|
|
112797
|
-
if (is$6(element, 'bpmn:StartEvent') && !isInEventSubProcess
|
|
112987
|
+
if (is$6(element, 'bpmn:StartEvent') && !isInEventSubProcess(element)) {
|
|
112798
112988
|
return o$1("a", {
|
|
112799
112989
|
href: "https://docs.camunda.io/docs/components/modeler/bpmn/message-events/#messages",
|
|
112800
112990
|
target: "_blank",
|
|
@@ -112886,7 +113076,7 @@
|
|
|
112886
113076
|
|
|
112887
113077
|
// helper ////////////
|
|
112888
113078
|
|
|
112889
|
-
function isInEventSubProcess
|
|
113079
|
+
function isInEventSubProcess(element) {
|
|
112890
113080
|
const bo = getBusinessObject$2(element),
|
|
112891
113081
|
parent = bo.$parent;
|
|
112892
113082
|
return is$6(parent, 'bpmn:SubProcess') && parent.triggeredByEvent;
|
|
@@ -113101,59 +113291,74 @@
|
|
|
113101
113291
|
}
|
|
113102
113292
|
|
|
113103
113293
|
function getTimerEventDefinition(element) {
|
|
113104
|
-
const
|
|
113294
|
+
const businessObject = getBusinessObject$2(element);
|
|
113105
113295
|
|
|
113106
|
-
return
|
|
113296
|
+
return businessObject.get('eventDefinitions').find(eventDefinition => {
|
|
113297
|
+
return is$6(eventDefinition, 'bpmn:TimerEventDefinition');
|
|
113298
|
+
});
|
|
113107
113299
|
}
|
|
113108
113300
|
|
|
113109
113301
|
/**
|
|
113110
|
-
*
|
|
113302
|
+
* Check whether a given timer expression type is supported for a given element.
|
|
113111
113303
|
*
|
|
113112
|
-
* @param
|
|
113113
|
-
* @param
|
|
113304
|
+
* @param {string} type
|
|
113305
|
+
* @param {Element|ModdleElement} element
|
|
113114
113306
|
*
|
|
113115
113307
|
* @return {boolean}
|
|
113116
113308
|
*/
|
|
113117
|
-
function
|
|
113309
|
+
function isTimerExpressionTypeSupported(type, element) {
|
|
113118
113310
|
const businessObject = getBusinessObject$2(element);
|
|
113119
113311
|
|
|
113120
|
-
switch (
|
|
113312
|
+
switch (type) {
|
|
113121
113313
|
case 'timeDate':
|
|
113122
|
-
|
|
113123
|
-
|
|
113124
|
-
|
|
113125
|
-
|
|
113314
|
+
return isAny$1(element, [
|
|
113315
|
+
'bpmn:BoundaryEvent',
|
|
113316
|
+
'bpmn:IntermediateCatchEvent',
|
|
113317
|
+
'bpmn:StartEvent'
|
|
113318
|
+
]);
|
|
113126
113319
|
|
|
113127
113320
|
case 'timeCycle':
|
|
113128
|
-
if (is$6(element, 'bpmn:StartEvent') && !
|
|
113321
|
+
if (is$6(element, 'bpmn:StartEvent') && (!hasParentEventSubProcess(businessObject)) || !isInterrupting(businessObject)) {
|
|
113129
113322
|
return true;
|
|
113130
113323
|
}
|
|
113131
113324
|
|
|
113132
|
-
if (is$6(element, 'bpmn:BoundaryEvent') && !businessObject
|
|
113325
|
+
if (is$6(element, 'bpmn:BoundaryEvent') && !isInterrupting(businessObject)) {
|
|
113133
113326
|
return true;
|
|
113134
113327
|
}
|
|
113328
|
+
|
|
113135
113329
|
return false;
|
|
113136
113330
|
|
|
113137
113331
|
case 'timeDuration':
|
|
113138
|
-
if (
|
|
113332
|
+
if (isAny$1(element, [
|
|
113333
|
+
'bpmn:BoundaryEvent',
|
|
113334
|
+
'bpmn:IntermediateCatchEvent'
|
|
113335
|
+
])) {
|
|
113139
113336
|
return true;
|
|
113140
113337
|
}
|
|
113141
113338
|
|
|
113142
|
-
if (is$6(element, 'bpmn:
|
|
113339
|
+
if (is$6(element, 'bpmn:StartEvent') && hasParentEventSubProcess(businessObject)) {
|
|
113143
113340
|
return true;
|
|
113144
113341
|
}
|
|
113342
|
+
|
|
113343
|
+
return false;
|
|
113344
|
+
|
|
113345
|
+
default:
|
|
113145
113346
|
return false;
|
|
113146
113347
|
}
|
|
113147
113348
|
}
|
|
113148
113349
|
|
|
113149
|
-
function
|
|
113150
|
-
|
|
113350
|
+
function isInterrupting(businessObject) {
|
|
113351
|
+
if (is$6(businessObject, 'bpmn:BoundaryEvent')) {
|
|
113352
|
+
return businessObject.get('cancelActivity') !== false;
|
|
113353
|
+
}
|
|
113354
|
+
|
|
113355
|
+
return businessObject.get('isInterrupting') !== false;
|
|
113151
113356
|
}
|
|
113152
113357
|
|
|
113153
|
-
function
|
|
113154
|
-
const parent =
|
|
113358
|
+
function hasParentEventSubProcess(businessObject) {
|
|
113359
|
+
const parent = businessObject.$parent;
|
|
113155
113360
|
|
|
113156
|
-
return is$6(parent, 'bpmn:SubProcess') && parent.triggeredByEvent;
|
|
113361
|
+
return parent && is$6(parent, 'bpmn:SubProcess') && parent.get('triggeredByEvent');
|
|
113157
113362
|
}
|
|
113158
113363
|
|
|
113159
113364
|
/**
|
|
@@ -113198,7 +113403,7 @@
|
|
|
113198
113403
|
'timeDate',
|
|
113199
113404
|
'timeDuration'
|
|
113200
113405
|
].forEach((type) => {
|
|
113201
|
-
if (timerEventDefinition.get(type) && !
|
|
113406
|
+
if (timerEventDefinition.get(type) && !isTimerExpressionTypeSupported(type, element)) {
|
|
113202
113407
|
propertiesUpdate[ type ] = undefined;
|
|
113203
113408
|
}
|
|
113204
113409
|
});
|
|
@@ -113280,11 +113485,7 @@
|
|
|
113280
113485
|
return true;
|
|
113281
113486
|
}
|
|
113282
113487
|
|
|
113283
|
-
|
|
113284
|
-
return false;
|
|
113285
|
-
}
|
|
113286
|
-
|
|
113287
|
-
return true;
|
|
113488
|
+
return isTimerExpressionTypeSupported(propertyName, parent.$parent);
|
|
113288
113489
|
}
|
|
113289
113490
|
}
|
|
113290
113491
|
|
|
@@ -116844,7 +117045,7 @@
|
|
|
116844
117045
|
{
|
|
116845
117046
|
id: 'exampleJson',
|
|
116846
117047
|
component: JSONDataProperty,
|
|
116847
|
-
isEdited: isEdited$
|
|
117048
|
+
isEdited: isEdited$1
|
|
116848
117049
|
}
|
|
116849
117050
|
],
|
|
116850
117051
|
component: Group
|
|
@@ -117288,11 +117489,12 @@
|
|
|
117288
117489
|
|
|
117289
117490
|
var renderer = this._bpmnRenderer.handlers[
|
|
117290
117491
|
[
|
|
117291
|
-
'bpmn:Task',
|
|
117292
|
-
'bpmn:StartEvent',
|
|
117293
|
-
'bpmn:IntermediateEvent',
|
|
117294
117492
|
'bpmn:BoundaryEvent',
|
|
117295
|
-
'bpmn:EndEvent'
|
|
117493
|
+
'bpmn:EndEvent',
|
|
117494
|
+
'bpmn:IntermediateCatchEvent',
|
|
117495
|
+
'bpmn:IntermediateThrowEvent',
|
|
117496
|
+
'bpmn:StartEvent',
|
|
117497
|
+
'bpmn:Task'
|
|
117296
117498
|
].find(t => is$6(element, t))
|
|
117297
117499
|
];
|
|
117298
117500
|
|