camunda-bpmn-js 2.5.0 → 2.6.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/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 +496 -295
- package/dist/camunda-cloud-modeler.production.min.js +3 -3
- package/dist/camunda-platform-modeler.development.js +463 -257
- package/dist/camunda-platform-modeler.production.min.js +5 -5
- package/package.json +3 -3
|
@@ -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.
|
|
@@ -95464,6 +95464,18 @@
|
|
|
95464
95464
|
* @param {setSticky} setSticky
|
|
95465
95465
|
*/
|
|
95466
95466
|
function useStickyIntersectionObserver(ref, scrollContainerSelector, setSticky) {
|
|
95467
|
+
const [scrollContainer, setScrollContainer] = l$1(query$1(scrollContainerSelector));
|
|
95468
|
+
const updateScrollContainer = A$1(() => {
|
|
95469
|
+
const newScrollContainer = query$1(scrollContainerSelector);
|
|
95470
|
+
if (newScrollContainer !== scrollContainer) {
|
|
95471
|
+
setScrollContainer(newScrollContainer);
|
|
95472
|
+
}
|
|
95473
|
+
}, [scrollContainerSelector, scrollContainer]);
|
|
95474
|
+
y(() => {
|
|
95475
|
+
updateScrollContainer();
|
|
95476
|
+
}, [updateScrollContainer]);
|
|
95477
|
+
useEvent('propertiesPanel.attach', updateScrollContainer);
|
|
95478
|
+
useEvent('propertiesPanel.detach', updateScrollContainer);
|
|
95467
95479
|
y(() => {
|
|
95468
95480
|
const Observer = IntersectionObserver;
|
|
95469
95481
|
|
|
@@ -95471,37 +95483,36 @@
|
|
|
95471
95483
|
if (!Observer) {
|
|
95472
95484
|
return;
|
|
95473
95485
|
}
|
|
95474
|
-
|
|
95475
|
-
|
|
95476
|
-
|
|
95477
|
-
|
|
95478
|
-
|
|
95479
|
-
|
|
95480
|
-
|
|
95486
|
+
|
|
95487
|
+
// TODO(@barmac): test this
|
|
95488
|
+
if (!ref.current || !scrollContainer) {
|
|
95489
|
+
return;
|
|
95490
|
+
}
|
|
95491
|
+
const observer = new Observer(entries => {
|
|
95492
|
+
// scroll container is unmounted, do not update sticky state
|
|
95493
|
+
if (scrollContainer.scrollHeight === 0) {
|
|
95494
|
+
return;
|
|
95495
|
+
}
|
|
95496
|
+
entries.forEach(entry => {
|
|
95497
|
+
if (entry.intersectionRatio < 1) {
|
|
95498
|
+
setSticky(true);
|
|
95499
|
+
} else if (entry.intersectionRatio === 1) {
|
|
95500
|
+
setSticky(false);
|
|
95481
95501
|
}
|
|
95482
|
-
entries.forEach(entry => {
|
|
95483
|
-
if (entry.intersectionRatio < 1) {
|
|
95484
|
-
setSticky(true);
|
|
95485
|
-
} else if (entry.intersectionRatio === 1) {
|
|
95486
|
-
setSticky(false);
|
|
95487
|
-
}
|
|
95488
|
-
});
|
|
95489
|
-
}, {
|
|
95490
|
-
root: scrollContainer,
|
|
95491
|
-
rootMargin: '0px 0px 999999% 0px',
|
|
95492
|
-
// Use bottom margin to avoid stickyness when scrolling out to bottom
|
|
95493
|
-
threshold: [1]
|
|
95494
95502
|
});
|
|
95495
|
-
|
|
95496
|
-
|
|
95503
|
+
}, {
|
|
95504
|
+
root: scrollContainer,
|
|
95505
|
+
rootMargin: '0px 0px 999999% 0px',
|
|
95506
|
+
// Use bottom margin to avoid stickyness when scrolling out to bottom
|
|
95507
|
+
threshold: [1]
|
|
95508
|
+
});
|
|
95509
|
+
observer.observe(ref.current);
|
|
95497
95510
|
|
|
95498
95511
|
// Unobserve if unmounted
|
|
95499
95512
|
return () => {
|
|
95500
|
-
|
|
95501
|
-
observer.unobserve(ref.current);
|
|
95502
|
-
}
|
|
95513
|
+
observer.unobserve(ref.current);
|
|
95503
95514
|
};
|
|
95504
|
-
}, [ref,
|
|
95515
|
+
}, [ref.current, scrollContainer, setSticky]);
|
|
95505
95516
|
}
|
|
95506
95517
|
|
|
95507
95518
|
/**
|
|
@@ -95636,9 +95647,7 @@
|
|
|
95636
95647
|
});
|
|
95637
95648
|
}
|
|
95638
95649
|
|
|
95639
|
-
const DEFAULT_LAYOUT = {
|
|
95640
|
-
open: true
|
|
95641
|
-
};
|
|
95650
|
+
const DEFAULT_LAYOUT = {};
|
|
95642
95651
|
const DEFAULT_DESCRIPTION = {};
|
|
95643
95652
|
|
|
95644
95653
|
/**
|
|
@@ -95802,7 +95811,7 @@
|
|
|
95802
95811
|
children: o$1(EventContext.Provider, {
|
|
95803
95812
|
value: eventContext,
|
|
95804
95813
|
children: o$1("div", {
|
|
95805
|
-
class:
|
|
95814
|
+
class: "bio-properties-panel",
|
|
95806
95815
|
children: [o$1(Header, {
|
|
95807
95816
|
element: element,
|
|
95808
95817
|
headerProvider: headerProvider
|
|
@@ -96558,6 +96567,188 @@
|
|
|
96558
96567
|
})
|
|
96559
96568
|
});
|
|
96560
96569
|
});
|
|
96570
|
+
|
|
96571
|
+
function ToggleSwitch(props) {
|
|
96572
|
+
const {
|
|
96573
|
+
id,
|
|
96574
|
+
label,
|
|
96575
|
+
onInput,
|
|
96576
|
+
value,
|
|
96577
|
+
switcherLabel,
|
|
96578
|
+
inline,
|
|
96579
|
+
onFocus,
|
|
96580
|
+
onBlur,
|
|
96581
|
+
inputRef
|
|
96582
|
+
} = props;
|
|
96583
|
+
const [localValue, setLocalValue] = l$1(value);
|
|
96584
|
+
const handleInputCallback = async () => {
|
|
96585
|
+
onInput(!value);
|
|
96586
|
+
};
|
|
96587
|
+
const handleInput = e => {
|
|
96588
|
+
handleInputCallback();
|
|
96589
|
+
setLocalValue(e.target.value);
|
|
96590
|
+
};
|
|
96591
|
+
y(() => {
|
|
96592
|
+
if (value === localValue) {
|
|
96593
|
+
return;
|
|
96594
|
+
}
|
|
96595
|
+
setLocalValue(value);
|
|
96596
|
+
}, [value]);
|
|
96597
|
+
return o$1("div", {
|
|
96598
|
+
class: classnames('bio-properties-panel-toggle-switch', {
|
|
96599
|
+
inline
|
|
96600
|
+
}),
|
|
96601
|
+
children: [o$1("label", {
|
|
96602
|
+
class: "bio-properties-panel-label",
|
|
96603
|
+
for: prefixId$6(id),
|
|
96604
|
+
children: label
|
|
96605
|
+
}), o$1("div", {
|
|
96606
|
+
class: "bio-properties-panel-field-wrapper",
|
|
96607
|
+
children: [o$1("label", {
|
|
96608
|
+
class: "bio-properties-panel-toggle-switch__switcher",
|
|
96609
|
+
children: [o$1("input", {
|
|
96610
|
+
ref: inputRef,
|
|
96611
|
+
id: prefixId$6(id),
|
|
96612
|
+
class: "bio-properties-panel-input",
|
|
96613
|
+
type: "checkbox",
|
|
96614
|
+
onFocus: onFocus,
|
|
96615
|
+
onBlur: onBlur,
|
|
96616
|
+
name: id,
|
|
96617
|
+
onInput: handleInput,
|
|
96618
|
+
checked: !!localValue
|
|
96619
|
+
}), o$1("span", {
|
|
96620
|
+
class: "bio-properties-panel-toggle-switch__slider"
|
|
96621
|
+
})]
|
|
96622
|
+
}), switcherLabel && o$1("p", {
|
|
96623
|
+
class: "bio-properties-panel-toggle-switch__label",
|
|
96624
|
+
children: switcherLabel
|
|
96625
|
+
})]
|
|
96626
|
+
})]
|
|
96627
|
+
});
|
|
96628
|
+
}
|
|
96629
|
+
|
|
96630
|
+
/**
|
|
96631
|
+
* @param {Object} props
|
|
96632
|
+
* @param {Object} props.element
|
|
96633
|
+
* @param {String} props.id
|
|
96634
|
+
* @param {String} props.description
|
|
96635
|
+
* @param {String} props.label
|
|
96636
|
+
* @param {String} props.switcherLabel
|
|
96637
|
+
* @param {Boolean} props.inline
|
|
96638
|
+
* @param {Function} props.getValue
|
|
96639
|
+
* @param {Function} props.setValue
|
|
96640
|
+
* @param {Function} props.onFocus
|
|
96641
|
+
* @param {Function} props.onBlur
|
|
96642
|
+
*/
|
|
96643
|
+
function ToggleSwitchEntry(props) {
|
|
96644
|
+
const {
|
|
96645
|
+
element,
|
|
96646
|
+
id,
|
|
96647
|
+
description,
|
|
96648
|
+
label,
|
|
96649
|
+
switcherLabel,
|
|
96650
|
+
inline,
|
|
96651
|
+
getValue,
|
|
96652
|
+
setValue,
|
|
96653
|
+
onFocus,
|
|
96654
|
+
onBlur
|
|
96655
|
+
} = props;
|
|
96656
|
+
const value = getValue(element);
|
|
96657
|
+
return o$1("div", {
|
|
96658
|
+
class: "bio-properties-panel-entry bio-properties-panel-toggle-switch-entry",
|
|
96659
|
+
"data-entry-id": id,
|
|
96660
|
+
children: [o$1(ToggleSwitch, {
|
|
96661
|
+
id: id,
|
|
96662
|
+
label: label,
|
|
96663
|
+
value: value,
|
|
96664
|
+
onInput: setValue,
|
|
96665
|
+
onFocus: onFocus,
|
|
96666
|
+
onBlur: onBlur,
|
|
96667
|
+
switcherLabel: switcherLabel,
|
|
96668
|
+
inline: inline
|
|
96669
|
+
}), o$1(Description$2, {
|
|
96670
|
+
forId: id,
|
|
96671
|
+
element: element,
|
|
96672
|
+
value: description
|
|
96673
|
+
})]
|
|
96674
|
+
});
|
|
96675
|
+
}
|
|
96676
|
+
|
|
96677
|
+
// helpers /////////////////
|
|
96678
|
+
|
|
96679
|
+
function prefixId$6(id) {
|
|
96680
|
+
return `bio-properties-panel-${id}`;
|
|
96681
|
+
}
|
|
96682
|
+
|
|
96683
|
+
function NumberField(props) {
|
|
96684
|
+
const {
|
|
96685
|
+
debounce,
|
|
96686
|
+
disabled,
|
|
96687
|
+
displayLabel = true,
|
|
96688
|
+
id,
|
|
96689
|
+
inputRef,
|
|
96690
|
+
label,
|
|
96691
|
+
max,
|
|
96692
|
+
min,
|
|
96693
|
+
onInput,
|
|
96694
|
+
step,
|
|
96695
|
+
value = '',
|
|
96696
|
+
onFocus,
|
|
96697
|
+
onBlur
|
|
96698
|
+
} = props;
|
|
96699
|
+
const [localValue, setLocalValue] = l$1(value);
|
|
96700
|
+
const handleInputCallback = d(() => {
|
|
96701
|
+
return debounce(event => {
|
|
96702
|
+
const {
|
|
96703
|
+
validity,
|
|
96704
|
+
value
|
|
96705
|
+
} = event.target;
|
|
96706
|
+
if (validity.valid) {
|
|
96707
|
+
onInput(value ? parseFloat(value) : undefined);
|
|
96708
|
+
}
|
|
96709
|
+
});
|
|
96710
|
+
}, [onInput, debounce]);
|
|
96711
|
+
const handleInput = e => {
|
|
96712
|
+
handleInputCallback(e);
|
|
96713
|
+
setLocalValue(e.target.value);
|
|
96714
|
+
};
|
|
96715
|
+
y(() => {
|
|
96716
|
+
if (value === localValue) {
|
|
96717
|
+
return;
|
|
96718
|
+
}
|
|
96719
|
+
setLocalValue(value);
|
|
96720
|
+
}, [value]);
|
|
96721
|
+
return o$1("div", {
|
|
96722
|
+
class: "bio-properties-panel-numberfield",
|
|
96723
|
+
children: [displayLabel && o$1("label", {
|
|
96724
|
+
for: prefixId$5(id),
|
|
96725
|
+
class: "bio-properties-panel-label",
|
|
96726
|
+
children: label
|
|
96727
|
+
}), o$1("input", {
|
|
96728
|
+
id: prefixId$5(id),
|
|
96729
|
+
ref: inputRef,
|
|
96730
|
+
type: "number",
|
|
96731
|
+
name: id,
|
|
96732
|
+
spellCheck: "false",
|
|
96733
|
+
autoComplete: "off",
|
|
96734
|
+
disabled: disabled,
|
|
96735
|
+
class: "bio-properties-panel-input",
|
|
96736
|
+
max: max,
|
|
96737
|
+
min: min,
|
|
96738
|
+
onInput: handleInput,
|
|
96739
|
+
onFocus: onFocus,
|
|
96740
|
+
onBlur: onBlur,
|
|
96741
|
+
step: step,
|
|
96742
|
+
value: localValue
|
|
96743
|
+
})]
|
|
96744
|
+
});
|
|
96745
|
+
}
|
|
96746
|
+
|
|
96747
|
+
// helpers /////////////////
|
|
96748
|
+
|
|
96749
|
+
function prefixId$5(id) {
|
|
96750
|
+
return `bio-properties-panel-${id}`;
|
|
96751
|
+
}
|
|
96561
96752
|
x((props, ref) => {
|
|
96562
96753
|
const {
|
|
96563
96754
|
id,
|
|
@@ -96587,7 +96778,7 @@
|
|
|
96587
96778
|
}
|
|
96588
96779
|
};
|
|
96589
96780
|
return o$1("input", {
|
|
96590
|
-
id: prefixId$
|
|
96781
|
+
id: prefixId$4(id),
|
|
96591
96782
|
type: "text",
|
|
96592
96783
|
ref: inputRef,
|
|
96593
96784
|
name: id,
|
|
@@ -96601,6 +96792,53 @@
|
|
|
96601
96792
|
value: value || ''
|
|
96602
96793
|
});
|
|
96603
96794
|
});
|
|
96795
|
+
x((props, ref) => {
|
|
96796
|
+
const {
|
|
96797
|
+
id,
|
|
96798
|
+
debounce,
|
|
96799
|
+
disabled,
|
|
96800
|
+
onInput,
|
|
96801
|
+
value,
|
|
96802
|
+
min,
|
|
96803
|
+
max,
|
|
96804
|
+
step,
|
|
96805
|
+
onFocus,
|
|
96806
|
+
onBlur
|
|
96807
|
+
} = props;
|
|
96808
|
+
const inputRef = s();
|
|
96809
|
+
|
|
96810
|
+
// To be consistent with the FEEL editor, set focus at start of input
|
|
96811
|
+
// this ensures clean editing experience when switching with the keyboard
|
|
96812
|
+
ref.current = {
|
|
96813
|
+
focus: position => {
|
|
96814
|
+
const input = inputRef.current;
|
|
96815
|
+
if (!input) {
|
|
96816
|
+
return;
|
|
96817
|
+
}
|
|
96818
|
+
input.focus();
|
|
96819
|
+
if (typeof position === 'number' && position !== Infinity) {
|
|
96820
|
+
if (position > value.length) {
|
|
96821
|
+
position = value.length;
|
|
96822
|
+
}
|
|
96823
|
+
input.setSelectionRange(position, position);
|
|
96824
|
+
}
|
|
96825
|
+
}
|
|
96826
|
+
};
|
|
96827
|
+
return o$1(NumberField, {
|
|
96828
|
+
id: id,
|
|
96829
|
+
debounce: debounce,
|
|
96830
|
+
disabled: disabled,
|
|
96831
|
+
displayLabel: false,
|
|
96832
|
+
inputRef: inputRef,
|
|
96833
|
+
max: max,
|
|
96834
|
+
min: min,
|
|
96835
|
+
onInput: onInput,
|
|
96836
|
+
step: step,
|
|
96837
|
+
value: value,
|
|
96838
|
+
onFocus: onFocus,
|
|
96839
|
+
onBlur: onBlur
|
|
96840
|
+
});
|
|
96841
|
+
});
|
|
96604
96842
|
x((props, ref) => {
|
|
96605
96843
|
const {
|
|
96606
96844
|
id,
|
|
@@ -96625,7 +96863,7 @@
|
|
|
96625
96863
|
}
|
|
96626
96864
|
};
|
|
96627
96865
|
return o$1("textarea", {
|
|
96628
|
-
id: prefixId$
|
|
96866
|
+
id: prefixId$4(id),
|
|
96629
96867
|
type: "text",
|
|
96630
96868
|
ref: inputRef,
|
|
96631
96869
|
name: id,
|
|
@@ -96640,10 +96878,82 @@
|
|
|
96640
96878
|
"data-gramm": "false"
|
|
96641
96879
|
});
|
|
96642
96880
|
});
|
|
96881
|
+
x((props, ref) => {
|
|
96882
|
+
const {
|
|
96883
|
+
id,
|
|
96884
|
+
onInput,
|
|
96885
|
+
value,
|
|
96886
|
+
onFocus,
|
|
96887
|
+
onBlur,
|
|
96888
|
+
switcherLabel
|
|
96889
|
+
} = props;
|
|
96890
|
+
const inputRef = s();
|
|
96891
|
+
|
|
96892
|
+
// To be consistent with the FEEL editor, set focus at start of input
|
|
96893
|
+
// this ensures clean editing experience when switching with the keyboard
|
|
96894
|
+
ref.current = {
|
|
96895
|
+
focus: () => {
|
|
96896
|
+
const input = inputRef.current;
|
|
96897
|
+
if (!input) {
|
|
96898
|
+
return;
|
|
96899
|
+
}
|
|
96900
|
+
input.focus();
|
|
96901
|
+
}
|
|
96902
|
+
};
|
|
96903
|
+
return o$1(ToggleSwitch, {
|
|
96904
|
+
id: id,
|
|
96905
|
+
value: value,
|
|
96906
|
+
inputRef: inputRef,
|
|
96907
|
+
onInput: onInput,
|
|
96908
|
+
onFocus: onFocus,
|
|
96909
|
+
onBlur: onBlur,
|
|
96910
|
+
switcherLabel: switcherLabel
|
|
96911
|
+
});
|
|
96912
|
+
});
|
|
96913
|
+
x((props, ref) => {
|
|
96914
|
+
const {
|
|
96915
|
+
id,
|
|
96916
|
+
disabled,
|
|
96917
|
+
onInput,
|
|
96918
|
+
value,
|
|
96919
|
+
onFocus,
|
|
96920
|
+
onBlur
|
|
96921
|
+
} = props;
|
|
96922
|
+
const inputRef = s();
|
|
96923
|
+
const handleChange = ({
|
|
96924
|
+
target
|
|
96925
|
+
}) => {
|
|
96926
|
+
onInput(target.checked);
|
|
96927
|
+
};
|
|
96928
|
+
|
|
96929
|
+
// To be consistent with the FEEL editor, set focus at start of input
|
|
96930
|
+
// this ensures clean editing experience when switching with the keyboard
|
|
96931
|
+
ref.current = {
|
|
96932
|
+
focus: () => {
|
|
96933
|
+
const input = inputRef.current;
|
|
96934
|
+
if (!input) {
|
|
96935
|
+
return;
|
|
96936
|
+
}
|
|
96937
|
+
input.focus();
|
|
96938
|
+
}
|
|
96939
|
+
};
|
|
96940
|
+
return o$1("input", {
|
|
96941
|
+
ref: inputRef,
|
|
96942
|
+
id: prefixId$4(id),
|
|
96943
|
+
name: id,
|
|
96944
|
+
onFocus: onFocus,
|
|
96945
|
+
onBlur: onBlur,
|
|
96946
|
+
type: "checkbox",
|
|
96947
|
+
class: "bio-properties-panel-input",
|
|
96948
|
+
onChange: handleChange,
|
|
96949
|
+
checked: value,
|
|
96950
|
+
disabled: disabled
|
|
96951
|
+
});
|
|
96952
|
+
});
|
|
96643
96953
|
|
|
96644
96954
|
// helpers /////////////////
|
|
96645
96955
|
|
|
96646
|
-
function prefixId$
|
|
96956
|
+
function prefixId$4(id) {
|
|
96647
96957
|
return `bio-properties-panel-${id}`;
|
|
96648
96958
|
}
|
|
96649
96959
|
|
|
@@ -96861,12 +97171,12 @@
|
|
|
96861
97171
|
return o$1("div", {
|
|
96862
97172
|
class: "bio-properties-panel-select",
|
|
96863
97173
|
children: [o$1("label", {
|
|
96864
|
-
for: prefixId$
|
|
97174
|
+
for: prefixId$3(id),
|
|
96865
97175
|
class: "bio-properties-panel-label",
|
|
96866
97176
|
children: label
|
|
96867
97177
|
}), o$1("select", {
|
|
96868
97178
|
ref: ref,
|
|
96869
|
-
id: prefixId$
|
|
97179
|
+
id: prefixId$3(id),
|
|
96870
97180
|
name: id,
|
|
96871
97181
|
class: "bio-properties-panel-input",
|
|
96872
97182
|
onInput: handleChange,
|
|
@@ -96973,13 +97283,13 @@
|
|
|
96973
97283
|
})]
|
|
96974
97284
|
});
|
|
96975
97285
|
}
|
|
96976
|
-
function isEdited$
|
|
97286
|
+
function isEdited$3(node) {
|
|
96977
97287
|
return node && !!node.value;
|
|
96978
97288
|
}
|
|
96979
97289
|
|
|
96980
97290
|
// helpers /////////////////
|
|
96981
97291
|
|
|
96982
|
-
function prefixId$
|
|
97292
|
+
function prefixId$3(id) {
|
|
96983
97293
|
return `bio-properties-panel-${id}`;
|
|
96984
97294
|
}
|
|
96985
97295
|
|
|
@@ -97014,7 +97324,7 @@
|
|
|
97014
97324
|
return o$1("div", {
|
|
97015
97325
|
class: "bio-properties-panel-simple",
|
|
97016
97326
|
children: o$1("input", {
|
|
97017
|
-
id: prefixId$
|
|
97327
|
+
id: prefixId$2(id),
|
|
97018
97328
|
type: "text",
|
|
97019
97329
|
name: id,
|
|
97020
97330
|
spellCheck: "false",
|
|
@@ -97032,7 +97342,7 @@
|
|
|
97032
97342
|
|
|
97033
97343
|
// helpers /////////////////
|
|
97034
97344
|
|
|
97035
|
-
function prefixId$
|
|
97345
|
+
function prefixId$2(id) {
|
|
97036
97346
|
return `bio-properties-panel-${id}`;
|
|
97037
97347
|
}
|
|
97038
97348
|
|
|
@@ -97081,12 +97391,12 @@
|
|
|
97081
97391
|
return o$1("div", {
|
|
97082
97392
|
class: "bio-properties-panel-textarea",
|
|
97083
97393
|
children: [o$1("label", {
|
|
97084
|
-
for: prefixId$
|
|
97394
|
+
for: prefixId$1(id),
|
|
97085
97395
|
class: "bio-properties-panel-label",
|
|
97086
97396
|
children: label
|
|
97087
97397
|
}), o$1("textarea", {
|
|
97088
97398
|
ref: ref,
|
|
97089
|
-
id: prefixId$
|
|
97399
|
+
id: prefixId$1(id),
|
|
97090
97400
|
name: id,
|
|
97091
97401
|
spellCheck: "false",
|
|
97092
97402
|
class: classnames('bio-properties-panel-input', monospace ? 'bio-properties-panel-input-monospace' : '', autoResize ? 'auto-resize' : ''),
|
|
@@ -97186,13 +97496,13 @@
|
|
|
97186
97496
|
})]
|
|
97187
97497
|
});
|
|
97188
97498
|
}
|
|
97189
|
-
function isEdited$
|
|
97499
|
+
function isEdited$1(node) {
|
|
97190
97500
|
return node && !!node.value;
|
|
97191
97501
|
}
|
|
97192
97502
|
|
|
97193
97503
|
// helpers /////////////////
|
|
97194
97504
|
|
|
97195
|
-
function prefixId$
|
|
97505
|
+
function prefixId$1(id) {
|
|
97196
97506
|
return `bio-properties-panel-${id}`;
|
|
97197
97507
|
}
|
|
97198
97508
|
|
|
@@ -97227,12 +97537,12 @@
|
|
|
97227
97537
|
return o$1("div", {
|
|
97228
97538
|
class: "bio-properties-panel-textfield",
|
|
97229
97539
|
children: [o$1("label", {
|
|
97230
|
-
for: prefixId$
|
|
97540
|
+
for: prefixId$8(id),
|
|
97231
97541
|
class: "bio-properties-panel-label",
|
|
97232
97542
|
children: label
|
|
97233
97543
|
}), o$1("input", {
|
|
97234
97544
|
ref: ref,
|
|
97235
|
-
id: prefixId$
|
|
97545
|
+
id: prefixId$8(id),
|
|
97236
97546
|
type: "text",
|
|
97237
97547
|
name: id,
|
|
97238
97548
|
spellCheck: "false",
|
|
@@ -97324,117 +97634,13 @@
|
|
|
97324
97634
|
})]
|
|
97325
97635
|
});
|
|
97326
97636
|
}
|
|
97327
|
-
function isEdited
|
|
97637
|
+
function isEdited(node) {
|
|
97328
97638
|
return node && !!node.value;
|
|
97329
97639
|
}
|
|
97330
97640
|
|
|
97331
97641
|
// helpers /////////////////
|
|
97332
97642
|
|
|
97333
|
-
function prefixId$
|
|
97334
|
-
return `bio-properties-panel-${id}`;
|
|
97335
|
-
}
|
|
97336
|
-
|
|
97337
|
-
function ToggleSwitch(props) {
|
|
97338
|
-
const {
|
|
97339
|
-
id,
|
|
97340
|
-
label,
|
|
97341
|
-
onInput,
|
|
97342
|
-
value,
|
|
97343
|
-
switcherLabel,
|
|
97344
|
-
onFocus,
|
|
97345
|
-
onBlur
|
|
97346
|
-
} = props;
|
|
97347
|
-
const [localValue, setLocalValue] = l$1(value);
|
|
97348
|
-
const handleInputCallback = async () => {
|
|
97349
|
-
onInput(!value);
|
|
97350
|
-
};
|
|
97351
|
-
const handleInput = e => {
|
|
97352
|
-
handleInputCallback();
|
|
97353
|
-
setLocalValue(e.target.value);
|
|
97354
|
-
};
|
|
97355
|
-
y(() => {
|
|
97356
|
-
if (value === localValue) {
|
|
97357
|
-
return;
|
|
97358
|
-
}
|
|
97359
|
-
setLocalValue(value);
|
|
97360
|
-
}, [value]);
|
|
97361
|
-
return o$1("div", {
|
|
97362
|
-
class: "bio-properties-panel-toggle-switch",
|
|
97363
|
-
children: [o$1("label", {
|
|
97364
|
-
class: "bio-properties-panel-label",
|
|
97365
|
-
for: prefixId$5(id),
|
|
97366
|
-
children: label
|
|
97367
|
-
}), o$1("div", {
|
|
97368
|
-
class: "bio-properties-panel-field-wrapper",
|
|
97369
|
-
children: [o$1("label", {
|
|
97370
|
-
class: "bio-properties-panel-toggle-switch__switcher",
|
|
97371
|
-
children: [o$1("input", {
|
|
97372
|
-
id: prefixId$5(id),
|
|
97373
|
-
class: "bio-properties-panel-input",
|
|
97374
|
-
type: "checkbox",
|
|
97375
|
-
onFocus: onFocus,
|
|
97376
|
-
onBlur: onBlur,
|
|
97377
|
-
name: id,
|
|
97378
|
-
onInput: handleInput,
|
|
97379
|
-
checked: !!localValue
|
|
97380
|
-
}), o$1("span", {
|
|
97381
|
-
class: "bio-properties-panel-toggle-switch__slider"
|
|
97382
|
-
})]
|
|
97383
|
-
}), o$1("p", {
|
|
97384
|
-
class: "bio-properties-panel-toggle-switch__label",
|
|
97385
|
-
children: switcherLabel
|
|
97386
|
-
})]
|
|
97387
|
-
})]
|
|
97388
|
-
});
|
|
97389
|
-
}
|
|
97390
|
-
|
|
97391
|
-
/**
|
|
97392
|
-
* @param {Object} props
|
|
97393
|
-
* @param {Object} props.element
|
|
97394
|
-
* @param {String} props.id
|
|
97395
|
-
* @param {String} props.description
|
|
97396
|
-
* @param {String} props.label
|
|
97397
|
-
* @param {String} props.switcherLabel
|
|
97398
|
-
* @param {Function} props.getValue
|
|
97399
|
-
* @param {Function} props.setValue
|
|
97400
|
-
* @param {Function} props.onFocus
|
|
97401
|
-
* @param {Function} props.onBlur
|
|
97402
|
-
*/
|
|
97403
|
-
function ToggleSwitchEntry(props) {
|
|
97404
|
-
const {
|
|
97405
|
-
element,
|
|
97406
|
-
id,
|
|
97407
|
-
description,
|
|
97408
|
-
label,
|
|
97409
|
-
switcherLabel,
|
|
97410
|
-
getValue,
|
|
97411
|
-
setValue,
|
|
97412
|
-
onFocus,
|
|
97413
|
-
onBlur
|
|
97414
|
-
} = props;
|
|
97415
|
-
const value = getValue(element);
|
|
97416
|
-
return o$1("div", {
|
|
97417
|
-
class: "bio-properties-panel-entry bio-properties-panel-toggle-switch-entry",
|
|
97418
|
-
"data-entry-id": id,
|
|
97419
|
-
children: [o$1(ToggleSwitch, {
|
|
97420
|
-
id: id,
|
|
97421
|
-
label: label,
|
|
97422
|
-
value: value,
|
|
97423
|
-
onInput: setValue,
|
|
97424
|
-
onFocus: onFocus,
|
|
97425
|
-
onBlur: onBlur,
|
|
97426
|
-
switcherLabel: switcherLabel
|
|
97427
|
-
}), o$1(Description$2, {
|
|
97428
|
-
forId: id,
|
|
97429
|
-
element: element,
|
|
97430
|
-
value: description
|
|
97431
|
-
})]
|
|
97432
|
-
});
|
|
97433
|
-
}
|
|
97434
|
-
|
|
97435
|
-
// helpers /////////////////
|
|
97436
|
-
|
|
97437
|
-
function prefixId$5(id) {
|
|
97643
|
+
function prefixId$8(id) {
|
|
97438
97644
|
return `bio-properties-panel-${id}`;
|
|
97439
97645
|
}
|
|
97440
97646
|
|
|
@@ -101590,7 +101796,7 @@
|
|
|
101590
101796
|
}, {
|
|
101591
101797
|
id: 'activityRef',
|
|
101592
101798
|
component: ActivityRef,
|
|
101593
|
-
isEdited: isEdited$
|
|
101799
|
+
isEdited: isEdited$3
|
|
101594
101800
|
}];
|
|
101595
101801
|
}
|
|
101596
101802
|
function WaitForCompletion(props) {
|
|
@@ -101784,13 +101990,13 @@
|
|
|
101784
101990
|
const entries = [{
|
|
101785
101991
|
id: 'documentation',
|
|
101786
101992
|
component: ElementDocumentationProperty,
|
|
101787
|
-
isEdited: isEdited$
|
|
101993
|
+
isEdited: isEdited$1
|
|
101788
101994
|
}];
|
|
101789
101995
|
if (hasProcessRef$2(element)) {
|
|
101790
101996
|
entries.push({
|
|
101791
101997
|
id: 'processDocumentation',
|
|
101792
101998
|
component: ProcessDocumentationProperty,
|
|
101793
|
-
isEdited: isEdited$
|
|
101999
|
+
isEdited: isEdited$1
|
|
101794
102000
|
});
|
|
101795
102001
|
}
|
|
101796
102002
|
return entries;
|
|
@@ -101972,17 +102178,17 @@
|
|
|
101972
102178
|
let entries = [{
|
|
101973
102179
|
id: 'errorRef',
|
|
101974
102180
|
component: ErrorRef$1,
|
|
101975
|
-
isEdited: isEdited$
|
|
102181
|
+
isEdited: isEdited$3
|
|
101976
102182
|
}];
|
|
101977
102183
|
if (error) {
|
|
101978
102184
|
entries = [...entries, {
|
|
101979
102185
|
id: 'errorName',
|
|
101980
102186
|
component: ErrorName$1,
|
|
101981
|
-
isEdited: isEdited
|
|
102187
|
+
isEdited: isEdited
|
|
101982
102188
|
}, {
|
|
101983
102189
|
id: 'errorCode',
|
|
101984
102190
|
component: ErrorCode$2,
|
|
101985
|
-
isEdited: isEdited
|
|
102191
|
+
isEdited: isEdited
|
|
101986
102192
|
}];
|
|
101987
102193
|
}
|
|
101988
102194
|
return entries;
|
|
@@ -102153,17 +102359,17 @@
|
|
|
102153
102359
|
let entries = [{
|
|
102154
102360
|
id: 'escalationRef',
|
|
102155
102361
|
component: EscalationRef,
|
|
102156
|
-
isEdited: isEdited$
|
|
102362
|
+
isEdited: isEdited$3
|
|
102157
102363
|
}];
|
|
102158
102364
|
if (escalation) {
|
|
102159
102365
|
entries = [...entries, {
|
|
102160
102366
|
id: 'escalationName',
|
|
102161
102367
|
component: EscalationName,
|
|
102162
|
-
isEdited: isEdited
|
|
102368
|
+
isEdited: isEdited
|
|
102163
102369
|
}, {
|
|
102164
102370
|
id: 'escalationCode',
|
|
102165
102371
|
component: EscalationCode$1,
|
|
102166
|
-
isEdited: isEdited
|
|
102372
|
+
isEdited: isEdited
|
|
102167
102373
|
}];
|
|
102168
102374
|
}
|
|
102169
102375
|
return entries;
|
|
@@ -102435,7 +102641,7 @@
|
|
|
102435
102641
|
return [{
|
|
102436
102642
|
id: 'id',
|
|
102437
102643
|
component: Id$3,
|
|
102438
|
-
isEdited: isEdited
|
|
102644
|
+
isEdited: isEdited
|
|
102439
102645
|
}];
|
|
102440
102646
|
}
|
|
102441
102647
|
function Id$3(props) {
|
|
@@ -102485,7 +102691,7 @@
|
|
|
102485
102691
|
return [{
|
|
102486
102692
|
id: 'linkName',
|
|
102487
102693
|
component: LinkName,
|
|
102488
|
-
isEdited: isEdited
|
|
102694
|
+
isEdited: isEdited
|
|
102489
102695
|
}];
|
|
102490
102696
|
}
|
|
102491
102697
|
function LinkName(props) {
|
|
@@ -102539,13 +102745,13 @@
|
|
|
102539
102745
|
let entries = [{
|
|
102540
102746
|
id: 'messageRef',
|
|
102541
102747
|
component: MessageRef$1,
|
|
102542
|
-
isEdited: isEdited$
|
|
102748
|
+
isEdited: isEdited$3
|
|
102543
102749
|
}];
|
|
102544
102750
|
if (message) {
|
|
102545
102751
|
entries = [...entries, {
|
|
102546
102752
|
id: 'messageName',
|
|
102547
102753
|
component: MessageName$1,
|
|
102548
|
-
isEdited: isEdited
|
|
102754
|
+
isEdited: isEdited
|
|
102549
102755
|
}];
|
|
102550
102756
|
}
|
|
102551
102757
|
return entries;
|
|
@@ -102686,11 +102892,11 @@
|
|
|
102686
102892
|
const entries = [{
|
|
102687
102893
|
id: 'loopCardinality',
|
|
102688
102894
|
component: LoopCardinality,
|
|
102689
|
-
isEdited: isEdited
|
|
102895
|
+
isEdited: isEdited
|
|
102690
102896
|
}, {
|
|
102691
102897
|
id: 'completionCondition',
|
|
102692
102898
|
component: CompletionCondition$1,
|
|
102693
|
-
isEdited: isEdited
|
|
102899
|
+
isEdited: isEdited
|
|
102694
102900
|
}];
|
|
102695
102901
|
return entries;
|
|
102696
102902
|
}
|
|
@@ -102913,7 +103119,7 @@
|
|
|
102913
103119
|
return [{
|
|
102914
103120
|
id: 'name',
|
|
102915
103121
|
component: Name$3,
|
|
102916
|
-
isEdited: isEdited$
|
|
103122
|
+
isEdited: isEdited$1
|
|
102917
103123
|
}];
|
|
102918
103124
|
}
|
|
102919
103125
|
function Name$3(props) {
|
|
@@ -103022,11 +103228,11 @@
|
|
|
103022
103228
|
return [{
|
|
103023
103229
|
id: 'processId',
|
|
103024
103230
|
component: ProcessId,
|
|
103025
|
-
isEdited: isEdited
|
|
103231
|
+
isEdited: isEdited
|
|
103026
103232
|
}, {
|
|
103027
103233
|
id: 'processName',
|
|
103028
103234
|
component: ProcessName,
|
|
103029
|
-
isEdited: isEdited
|
|
103235
|
+
isEdited: isEdited
|
|
103030
103236
|
}];
|
|
103031
103237
|
}
|
|
103032
103238
|
function ProcessName(props) {
|
|
@@ -103119,13 +103325,13 @@
|
|
|
103119
103325
|
let entries = [{
|
|
103120
103326
|
id: 'signalRef',
|
|
103121
103327
|
component: SignalRef,
|
|
103122
|
-
isEdited: isEdited$
|
|
103328
|
+
isEdited: isEdited$3
|
|
103123
103329
|
}];
|
|
103124
103330
|
if (signal) {
|
|
103125
103331
|
entries = [...entries, {
|
|
103126
103332
|
id: 'signalName',
|
|
103127
103333
|
component: SignalName$1,
|
|
103128
|
-
isEdited: isEdited
|
|
103334
|
+
isEdited: isEdited
|
|
103129
103335
|
}];
|
|
103130
103336
|
}
|
|
103131
103337
|
return entries;
|
|
@@ -103312,7 +103518,7 @@
|
|
|
103312
103518
|
entries.push({
|
|
103313
103519
|
id: getId$1(idPrefix, 'timerEventDefinitionType'),
|
|
103314
103520
|
component: TimerEventDefinitionType$2,
|
|
103315
|
-
isEdited: isEdited$
|
|
103521
|
+
isEdited: isEdited$3,
|
|
103316
103522
|
timerEventDefinition,
|
|
103317
103523
|
timerEventDefinitionType
|
|
103318
103524
|
});
|
|
@@ -103320,7 +103526,7 @@
|
|
|
103320
103526
|
entries.push({
|
|
103321
103527
|
id: getId$1(idPrefix, 'timerEventDefinitionValue'),
|
|
103322
103528
|
component: TimerEventDefinitionValue$2,
|
|
103323
|
-
isEdited: isEdited
|
|
103529
|
+
isEdited: isEdited,
|
|
103324
103530
|
timerEventDefinition,
|
|
103325
103531
|
timerEventDefinitionType
|
|
103326
103532
|
});
|
|
@@ -104205,7 +104411,7 @@
|
|
|
104205
104411
|
return [{
|
|
104206
104412
|
id: 'businessKey',
|
|
104207
104413
|
component: BusinessKey$1,
|
|
104208
|
-
isEdited: isEdited$
|
|
104414
|
+
isEdited: isEdited$3
|
|
104209
104415
|
}];
|
|
104210
104416
|
}
|
|
104211
104417
|
function BusinessKey$1(props) {
|
|
@@ -104273,28 +104479,28 @@
|
|
|
104273
104479
|
const entries = [{
|
|
104274
104480
|
id: 'calledElement',
|
|
104275
104481
|
component: CalledElement,
|
|
104276
|
-
isEdited: isEdited
|
|
104482
|
+
isEdited: isEdited
|
|
104277
104483
|
}, {
|
|
104278
104484
|
id: 'calledElementBinding',
|
|
104279
104485
|
component: CalledElementBinding,
|
|
104280
|
-
isEdited: isEdited$
|
|
104486
|
+
isEdited: isEdited$3
|
|
104281
104487
|
}, {
|
|
104282
104488
|
id: 'calledElementTenantId',
|
|
104283
104489
|
component: CalledElementTenantId,
|
|
104284
|
-
isEdited: isEdited
|
|
104490
|
+
isEdited: isEdited
|
|
104285
104491
|
}];
|
|
104286
104492
|
const binding = getBusinessObject$2(element).get('camunda:calledElementBinding');
|
|
104287
104493
|
if (binding === 'version') {
|
|
104288
104494
|
entries.splice(-1, 0, {
|
|
104289
104495
|
id: 'calledElementVersion',
|
|
104290
104496
|
component: CalledElementVersion,
|
|
104291
|
-
isEdited: isEdited
|
|
104497
|
+
isEdited: isEdited
|
|
104292
104498
|
});
|
|
104293
104499
|
} else if (binding === 'versionTag') {
|
|
104294
104500
|
entries.splice(-1, 0, {
|
|
104295
104501
|
id: 'calledElementVersionTag',
|
|
104296
104502
|
component: CalledElementVersionTag,
|
|
104297
|
-
isEdited: isEdited
|
|
104503
|
+
isEdited: isEdited
|
|
104298
104504
|
});
|
|
104299
104505
|
}
|
|
104300
104506
|
return entries;
|
|
@@ -104441,21 +104647,21 @@
|
|
|
104441
104647
|
const entries = [{
|
|
104442
104648
|
id: 'calledElementCaseRef',
|
|
104443
104649
|
component: CaseRef,
|
|
104444
|
-
isEdited: isEdited
|
|
104650
|
+
isEdited: isEdited
|
|
104445
104651
|
}, {
|
|
104446
104652
|
id: 'calledElementCaseBinding',
|
|
104447
104653
|
component: CaseBinding,
|
|
104448
|
-
isEdited: isEdited$
|
|
104654
|
+
isEdited: isEdited$3
|
|
104449
104655
|
}, {
|
|
104450
104656
|
id: 'calledElementCaseTenantId',
|
|
104451
104657
|
component: CaseTenantId,
|
|
104452
|
-
isEdited: isEdited
|
|
104658
|
+
isEdited: isEdited
|
|
104453
104659
|
}];
|
|
104454
104660
|
if (getBusinessObject$2(element).get('camunda:caseBinding') === 'version') {
|
|
104455
104661
|
entries.splice(-1, 0, {
|
|
104456
104662
|
id: 'calledElementCaseVersion',
|
|
104457
104663
|
component: CaseVersion,
|
|
104458
|
-
isEdited: isEdited
|
|
104664
|
+
isEdited: isEdited
|
|
104459
104665
|
});
|
|
104460
104666
|
}
|
|
104461
104667
|
return entries;
|
|
@@ -104574,20 +104780,20 @@
|
|
|
104574
104780
|
const entries = [{
|
|
104575
104781
|
id: 'calledElementDelegateVariableMappingType',
|
|
104576
104782
|
component: DelegateVariableMappingType,
|
|
104577
|
-
isEdited: isEdited$
|
|
104783
|
+
isEdited: isEdited$3
|
|
104578
104784
|
}];
|
|
104579
104785
|
const type = getDelegateVariableMappingType(element);
|
|
104580
104786
|
if (type === 'class') {
|
|
104581
104787
|
entries.push({
|
|
104582
104788
|
id: 'calledElementVariableMappingClass',
|
|
104583
104789
|
component: VariableMappingClass,
|
|
104584
|
-
isEdited: isEdited
|
|
104790
|
+
isEdited: isEdited
|
|
104585
104791
|
});
|
|
104586
104792
|
} else if (type === 'delegateExpression') {
|
|
104587
104793
|
entries.push({
|
|
104588
104794
|
id: 'calledElementVariableMappingDelegateExpression',
|
|
104589
104795
|
component: VariableMappingDelegateExpression,
|
|
104590
|
-
isEdited: isEdited
|
|
104796
|
+
isEdited: isEdited
|
|
104591
104797
|
});
|
|
104592
104798
|
}
|
|
104593
104799
|
return entries;
|
|
@@ -104712,7 +104918,7 @@
|
|
|
104712
104918
|
entries.push({
|
|
104713
104919
|
id: 'calledElementType',
|
|
104714
104920
|
component: CalledElementType,
|
|
104715
|
-
isEdited: isEdited$
|
|
104921
|
+
isEdited: isEdited$3
|
|
104716
104922
|
});
|
|
104717
104923
|
const calledElementType = getCalledElementType(element);
|
|
104718
104924
|
if (calledElementType === 'bpmn') {
|
|
@@ -104804,7 +105010,7 @@
|
|
|
104804
105010
|
entries.push({
|
|
104805
105011
|
id: 'calledElementBusinessKeyExpression',
|
|
104806
105012
|
component: BusinessKeyExpression,
|
|
104807
|
-
isEdited: isEdited
|
|
105013
|
+
isEdited: isEdited
|
|
104808
105014
|
});
|
|
104809
105015
|
}
|
|
104810
105016
|
return entries;
|
|
@@ -104934,11 +105140,11 @@
|
|
|
104934
105140
|
return [{
|
|
104935
105141
|
id: 'candidateStarterGroups',
|
|
104936
105142
|
component: CandidateStarterGroups,
|
|
104937
|
-
isEdited: isEdited
|
|
105143
|
+
isEdited: isEdited
|
|
104938
105144
|
}, {
|
|
104939
105145
|
id: 'candidateStarterUsers',
|
|
104940
105146
|
component: CandidateStarterUsers,
|
|
104941
|
-
isEdited: isEdited
|
|
105147
|
+
isEdited: isEdited
|
|
104942
105148
|
}];
|
|
104943
105149
|
}
|
|
104944
105150
|
function CandidateStarterGroups(props) {
|
|
@@ -105031,7 +105237,7 @@
|
|
|
105031
105237
|
entries.push({
|
|
105032
105238
|
id: 'conditionType',
|
|
105033
105239
|
component: ConditionType,
|
|
105034
|
-
isEdited: isEdited$
|
|
105240
|
+
isEdited: isEdited$3
|
|
105035
105241
|
});
|
|
105036
105242
|
const conditionType = getConditionType(element);
|
|
105037
105243
|
if (conditionType === 'script') {
|
|
@@ -105042,7 +105248,7 @@
|
|
|
105042
105248
|
entries.push({
|
|
105043
105249
|
id: 'conditionExpression',
|
|
105044
105250
|
component: ConditionExpression,
|
|
105045
|
-
isEdited: isEdited
|
|
105251
|
+
isEdited: isEdited
|
|
105046
105252
|
});
|
|
105047
105253
|
}
|
|
105048
105254
|
return entries;
|
|
@@ -105127,14 +105333,14 @@
|
|
|
105127
105333
|
entries.push({
|
|
105128
105334
|
id: 'conditionScriptLanguage',
|
|
105129
105335
|
component: Language,
|
|
105130
|
-
isEdited: isEdited
|
|
105336
|
+
isEdited: isEdited
|
|
105131
105337
|
});
|
|
105132
105338
|
|
|
105133
105339
|
// (2) type
|
|
105134
105340
|
entries.push({
|
|
105135
105341
|
id: 'conditionScriptType',
|
|
105136
105342
|
component: ScriptType,
|
|
105137
|
-
isEdited: isEdited$
|
|
105343
|
+
isEdited: isEdited$3
|
|
105138
105344
|
});
|
|
105139
105345
|
|
|
105140
105346
|
// (3) script
|
|
@@ -105142,14 +105348,14 @@
|
|
|
105142
105348
|
entries.push({
|
|
105143
105349
|
id: 'conditionScriptValue',
|
|
105144
105350
|
component: Script$1,
|
|
105145
|
-
isEdited: isEdited$
|
|
105351
|
+
isEdited: isEdited$1
|
|
105146
105352
|
});
|
|
105147
105353
|
} else if (scriptType === 'resource') {
|
|
105148
105354
|
// (4) resource
|
|
105149
105355
|
entries.push({
|
|
105150
105356
|
id: 'conditionScriptResource',
|
|
105151
105357
|
component: Resource$1,
|
|
105152
|
-
isEdited: isEdited
|
|
105358
|
+
isEdited: isEdited
|
|
105153
105359
|
});
|
|
105154
105360
|
}
|
|
105155
105361
|
return entries;
|
|
@@ -105287,13 +105493,13 @@
|
|
|
105287
105493
|
entries.push({
|
|
105288
105494
|
id: 'conditionVariableName',
|
|
105289
105495
|
component: VariableName,
|
|
105290
|
-
isEdited: isEdited
|
|
105496
|
+
isEdited: isEdited
|
|
105291
105497
|
});
|
|
105292
105498
|
if (!is$6(element, 'bpmn:StartEvent') || isInEventSubProcess$1(element)) {
|
|
105293
105499
|
entries.push({
|
|
105294
105500
|
id: 'conditionVariableEvents',
|
|
105295
105501
|
component: VariableEvents,
|
|
105296
|
-
isEdited: isEdited
|
|
105502
|
+
isEdited: isEdited
|
|
105297
105503
|
});
|
|
105298
105504
|
}
|
|
105299
105505
|
return entries;
|
|
@@ -105445,7 +105651,7 @@
|
|
|
105445
105651
|
entries.push({
|
|
105446
105652
|
id: idPrefix + 'scriptFormat',
|
|
105447
105653
|
component: Format,
|
|
105448
|
-
isEdited: isEdited
|
|
105654
|
+
isEdited: isEdited,
|
|
105449
105655
|
idPrefix,
|
|
105450
105656
|
script
|
|
105451
105657
|
});
|
|
@@ -105454,7 +105660,7 @@
|
|
|
105454
105660
|
entries.push({
|
|
105455
105661
|
id: idPrefix + 'scriptType',
|
|
105456
105662
|
component: Type$3,
|
|
105457
|
-
isEdited: isEdited$
|
|
105663
|
+
isEdited: isEdited$3,
|
|
105458
105664
|
idPrefix,
|
|
105459
105665
|
script
|
|
105460
105666
|
});
|
|
@@ -105464,7 +105670,7 @@
|
|
|
105464
105670
|
entries.push({
|
|
105465
105671
|
id: idPrefix + 'scriptValue',
|
|
105466
105672
|
component: Script,
|
|
105467
|
-
isEdited: isEdited$
|
|
105673
|
+
isEdited: isEdited$1,
|
|
105468
105674
|
idPrefix,
|
|
105469
105675
|
script
|
|
105470
105676
|
});
|
|
@@ -105475,7 +105681,7 @@
|
|
|
105475
105681
|
entries.push({
|
|
105476
105682
|
id: idPrefix + 'scriptResource',
|
|
105477
105683
|
component: Resource,
|
|
105478
|
-
isEdited: isEdited
|
|
105684
|
+
isEdited: isEdited,
|
|
105479
105685
|
idPrefix,
|
|
105480
105686
|
script
|
|
105481
105687
|
});
|
|
@@ -106099,13 +106305,13 @@
|
|
|
106099
106305
|
let entries = [{
|
|
106100
106306
|
id: idPrefix + '-name',
|
|
106101
106307
|
component: Name$2,
|
|
106102
|
-
isEdited: isEdited
|
|
106308
|
+
isEdited: isEdited,
|
|
106103
106309
|
idPrefix,
|
|
106104
106310
|
parameter
|
|
106105
106311
|
}, {
|
|
106106
106312
|
id: idPrefix + '-type',
|
|
106107
106313
|
component: Type$2,
|
|
106108
|
-
isEdited: isEdited$
|
|
106314
|
+
isEdited: isEdited$3,
|
|
106109
106315
|
idPrefix,
|
|
106110
106316
|
parameter
|
|
106111
106317
|
}];
|
|
@@ -106115,7 +106321,7 @@
|
|
|
106115
106321
|
entries.push({
|
|
106116
106322
|
id: idPrefix + '-stringOrExpression',
|
|
106117
106323
|
component: StringOrExpression,
|
|
106118
|
-
isEdited: isEdited$
|
|
106324
|
+
isEdited: isEdited$1,
|
|
106119
106325
|
idPrefix,
|
|
106120
106326
|
parameter
|
|
106121
106327
|
});
|
|
@@ -106601,7 +106807,7 @@
|
|
|
106601
106807
|
entries.splice(idx, 0, {
|
|
106602
106808
|
id: 'errorMessage',
|
|
106603
106809
|
component: ErrorMessage$1,
|
|
106604
|
-
isEdited: isEdited
|
|
106810
|
+
isEdited: isEdited
|
|
106605
106811
|
});
|
|
106606
106812
|
}
|
|
106607
106813
|
if (!canHaveErrorVariables(element)) {
|
|
@@ -106612,11 +106818,11 @@
|
|
|
106612
106818
|
entries.push({
|
|
106613
106819
|
id: 'errorCodeVariable',
|
|
106614
106820
|
component: ErrorCodeVariable,
|
|
106615
|
-
isEdited: isEdited
|
|
106821
|
+
isEdited: isEdited
|
|
106616
106822
|
}, {
|
|
106617
106823
|
id: 'errorMessageVariable',
|
|
106618
106824
|
component: ErrorMessageVariable,
|
|
106619
|
-
isEdited: isEdited
|
|
106825
|
+
isEdited: isEdited
|
|
106620
106826
|
});
|
|
106621
106827
|
return entries;
|
|
106622
106828
|
}
|
|
@@ -106730,7 +106936,7 @@
|
|
|
106730
106936
|
let entries = [{
|
|
106731
106937
|
id: idPrefix + '-errorRef',
|
|
106732
106938
|
component: ErrorRef,
|
|
106733
|
-
isEdited: isEdited$
|
|
106939
|
+
isEdited: isEdited$3,
|
|
106734
106940
|
errorEventDefinition,
|
|
106735
106941
|
idPrefix
|
|
106736
106942
|
}];
|
|
@@ -106739,21 +106945,21 @@
|
|
|
106739
106945
|
entries = [...entries, {
|
|
106740
106946
|
id: idPrefix + '-errorName',
|
|
106741
106947
|
component: ErrorName,
|
|
106742
|
-
isEdited: isEdited
|
|
106948
|
+
isEdited: isEdited,
|
|
106743
106949
|
error,
|
|
106744
106950
|
errorEventDefinition,
|
|
106745
106951
|
idPrefix
|
|
106746
106952
|
}, {
|
|
106747
106953
|
id: idPrefix + '-errorCode',
|
|
106748
106954
|
component: ErrorCode,
|
|
106749
|
-
isEdited: isEdited
|
|
106955
|
+
isEdited: isEdited,
|
|
106750
106956
|
error,
|
|
106751
106957
|
errorEventDefinition,
|
|
106752
106958
|
idPrefix
|
|
106753
106959
|
}, {
|
|
106754
106960
|
id: idPrefix + '-errorMessage',
|
|
106755
106961
|
component: ErrorMessage,
|
|
106756
|
-
isEdited: isEdited
|
|
106962
|
+
isEdited: isEdited,
|
|
106757
106963
|
error,
|
|
106758
106964
|
errorEventDefinition,
|
|
106759
106965
|
idPrefix
|
|
@@ -107073,7 +107279,7 @@
|
|
|
107073
107279
|
entries.push({
|
|
107074
107280
|
id: 'escalationCodeVariable',
|
|
107075
107281
|
component: EscalationCodeVariable,
|
|
107076
|
-
isEdited: isEdited
|
|
107282
|
+
isEdited: isEdited
|
|
107077
107283
|
});
|
|
107078
107284
|
return entries;
|
|
107079
107285
|
}
|
|
@@ -107125,7 +107331,7 @@
|
|
|
107125
107331
|
return [{
|
|
107126
107332
|
id: 'externalTaskPriority',
|
|
107127
107333
|
component: ExternalTaskPriority,
|
|
107128
|
-
isEdited: isEdited
|
|
107334
|
+
isEdited: isEdited
|
|
107129
107335
|
}];
|
|
107130
107336
|
}
|
|
107131
107337
|
function ExternalTaskPriority(props) {
|
|
@@ -108267,7 +108473,7 @@
|
|
|
108267
108473
|
return [{
|
|
108268
108474
|
id: 'formType',
|
|
108269
108475
|
component: FormType,
|
|
108270
|
-
isEdited: isEdited$
|
|
108476
|
+
isEdited: isEdited$3
|
|
108271
108477
|
}];
|
|
108272
108478
|
}
|
|
108273
108479
|
function FormType(props) {
|
|
@@ -108445,23 +108651,23 @@
|
|
|
108445
108651
|
entries.push({
|
|
108446
108652
|
id: 'formKey',
|
|
108447
108653
|
component: FormKey,
|
|
108448
|
-
isEdited: isEdited
|
|
108654
|
+
isEdited: isEdited
|
|
108449
108655
|
});
|
|
108450
108656
|
} else if (formType === 'formRef') {
|
|
108451
108657
|
entries.push({
|
|
108452
108658
|
id: 'formRef',
|
|
108453
108659
|
component: FormRef,
|
|
108454
|
-
isEdited: isEdited
|
|
108660
|
+
isEdited: isEdited
|
|
108455
108661
|
}, {
|
|
108456
108662
|
id: 'formRefBinding',
|
|
108457
108663
|
component: Binding$1,
|
|
108458
|
-
isEdited: isEdited$
|
|
108664
|
+
isEdited: isEdited$3
|
|
108459
108665
|
});
|
|
108460
108666
|
if (bindingType === 'version') {
|
|
108461
108667
|
entries.push({
|
|
108462
108668
|
id: 'formRefVersion',
|
|
108463
108669
|
component: Version$1,
|
|
108464
|
-
isEdited: isEdited
|
|
108670
|
+
isEdited: isEdited
|
|
108465
108671
|
});
|
|
108466
108672
|
}
|
|
108467
108673
|
}
|
|
@@ -108593,7 +108799,7 @@
|
|
|
108593
108799
|
return [{
|
|
108594
108800
|
id: 'historyTimeToLive',
|
|
108595
108801
|
component: HistoryTimeToLive,
|
|
108596
|
-
isEdited: isEdited
|
|
108802
|
+
isEdited: isEdited
|
|
108597
108803
|
}];
|
|
108598
108804
|
}
|
|
108599
108805
|
function HistoryTimeToLive(props) {
|
|
@@ -108647,14 +108853,14 @@
|
|
|
108647
108853
|
entries.push({
|
|
108648
108854
|
id: 'decisionRef',
|
|
108649
108855
|
component: DecisionRef,
|
|
108650
|
-
isEdited: isEdited
|
|
108856
|
+
isEdited: isEdited
|
|
108651
108857
|
});
|
|
108652
108858
|
|
|
108653
108859
|
// (2) binding
|
|
108654
108860
|
entries.push({
|
|
108655
108861
|
id: 'decisionRefBinding',
|
|
108656
108862
|
component: Binding,
|
|
108657
|
-
isEdited: isEdited$
|
|
108863
|
+
isEdited: isEdited$3
|
|
108658
108864
|
});
|
|
108659
108865
|
|
|
108660
108866
|
// (3) version
|
|
@@ -108662,7 +108868,7 @@
|
|
|
108662
108868
|
entries.push({
|
|
108663
108869
|
id: 'decisionRefVersion',
|
|
108664
108870
|
component: Version,
|
|
108665
|
-
isEdited: isEdited
|
|
108871
|
+
isEdited: isEdited
|
|
108666
108872
|
});
|
|
108667
108873
|
}
|
|
108668
108874
|
|
|
@@ -108671,7 +108877,7 @@
|
|
|
108671
108877
|
entries.push({
|
|
108672
108878
|
id: 'decisionRefVersionTag',
|
|
108673
108879
|
component: VersionTag$1,
|
|
108674
|
-
isEdited: isEdited
|
|
108880
|
+
isEdited: isEdited
|
|
108675
108881
|
});
|
|
108676
108882
|
}
|
|
108677
108883
|
|
|
@@ -108679,14 +108885,14 @@
|
|
|
108679
108885
|
entries.push({
|
|
108680
108886
|
id: 'decisionRefTenantId',
|
|
108681
108887
|
component: TenantId,
|
|
108682
|
-
isEdited: isEdited
|
|
108888
|
+
isEdited: isEdited
|
|
108683
108889
|
});
|
|
108684
108890
|
|
|
108685
108891
|
// (6) resultVariable
|
|
108686
108892
|
entries.push({
|
|
108687
108893
|
id: 'decisionRefResultVariable',
|
|
108688
108894
|
component: ResultVariable$2,
|
|
108689
|
-
isEdited: isEdited
|
|
108895
|
+
isEdited: isEdited
|
|
108690
108896
|
});
|
|
108691
108897
|
|
|
108692
108898
|
// (7) mapDecisionResult
|
|
@@ -108694,7 +108900,7 @@
|
|
|
108694
108900
|
entries.push({
|
|
108695
108901
|
id: 'mapDecisionResult',
|
|
108696
108902
|
component: MapDecisionResult,
|
|
108697
|
-
isEdited: isEdited$
|
|
108903
|
+
isEdited: isEdited$3
|
|
108698
108904
|
});
|
|
108699
108905
|
}
|
|
108700
108906
|
return entries;
|
|
@@ -108986,7 +109192,7 @@
|
|
|
108986
109192
|
return [{
|
|
108987
109193
|
id: 'implementationType',
|
|
108988
109194
|
component: ImplementationType,
|
|
108989
|
-
isEdited: isEdited$
|
|
109195
|
+
isEdited: isEdited$3
|
|
108990
109196
|
}];
|
|
108991
109197
|
}
|
|
108992
109198
|
function ImplementationType(props) {
|
|
@@ -109186,23 +109392,23 @@
|
|
|
109186
109392
|
entries.push({
|
|
109187
109393
|
id: 'javaClass',
|
|
109188
109394
|
component: JavaClass,
|
|
109189
|
-
isEdited: isEdited
|
|
109395
|
+
isEdited: isEdited
|
|
109190
109396
|
});
|
|
109191
109397
|
} else if (implementationType === 'expression') {
|
|
109192
109398
|
entries.push({
|
|
109193
109399
|
id: 'expression',
|
|
109194
109400
|
component: Expression$1,
|
|
109195
|
-
isEdited: isEdited
|
|
109401
|
+
isEdited: isEdited
|
|
109196
109402
|
}, {
|
|
109197
109403
|
id: 'expressionResultVariable',
|
|
109198
109404
|
component: ResultVariable$1,
|
|
109199
|
-
isEdited: isEdited
|
|
109405
|
+
isEdited: isEdited
|
|
109200
109406
|
});
|
|
109201
109407
|
} else if (implementationType === 'delegateExpression') {
|
|
109202
109408
|
entries.push({
|
|
109203
109409
|
id: 'delegateExpression',
|
|
109204
109410
|
component: DelegateExpression,
|
|
109205
|
-
isEdited: isEdited
|
|
109411
|
+
isEdited: isEdited
|
|
109206
109412
|
});
|
|
109207
109413
|
} else if (implementationType === 'dmn') {
|
|
109208
109414
|
entries.push(...DmnImplementationProps({
|
|
@@ -109212,13 +109418,13 @@
|
|
|
109212
109418
|
entries.push({
|
|
109213
109419
|
id: 'externalTopic',
|
|
109214
109420
|
component: Topic,
|
|
109215
|
-
isEdited: isEdited
|
|
109421
|
+
isEdited: isEdited
|
|
109216
109422
|
});
|
|
109217
109423
|
} else if (implementationType === 'connector') {
|
|
109218
109424
|
entries.push({
|
|
109219
109425
|
id: 'connectorId',
|
|
109220
109426
|
component: ConnectorId,
|
|
109221
|
-
isEdited: isEdited
|
|
109427
|
+
isEdited: isEdited
|
|
109222
109428
|
});
|
|
109223
109429
|
}
|
|
109224
109430
|
return entries;
|
|
@@ -109422,7 +109628,7 @@
|
|
|
109422
109628
|
return [{
|
|
109423
109629
|
id: 'initiator',
|
|
109424
109630
|
component: Initiator,
|
|
109425
|
-
isEdited: isEdited
|
|
109631
|
+
isEdited: isEdited
|
|
109426
109632
|
}];
|
|
109427
109633
|
}
|
|
109428
109634
|
function Initiator(props) {
|
|
@@ -109966,7 +110172,7 @@
|
|
|
109966
110172
|
entries.push({
|
|
109967
110173
|
id: 'retryTimeCycle',
|
|
109968
110174
|
component: RetryTimeCycle,
|
|
109969
|
-
isEdited: isEdited
|
|
110175
|
+
isEdited: isEdited
|
|
109970
110176
|
});
|
|
109971
110177
|
}
|
|
109972
110178
|
|
|
@@ -109978,7 +110184,7 @@
|
|
|
109978
110184
|
entries.push({
|
|
109979
110185
|
id: 'jobPriority',
|
|
109980
110186
|
component: JobPriority,
|
|
109981
|
-
isEdited: isEdited
|
|
110187
|
+
isEdited: isEdited
|
|
109982
110188
|
});
|
|
109983
110189
|
}
|
|
109984
110190
|
return entries;
|
|
@@ -110145,11 +110351,11 @@
|
|
|
110145
110351
|
entries.push({
|
|
110146
110352
|
id: 'collection',
|
|
110147
110353
|
component: Collection,
|
|
110148
|
-
isEdited: isEdited
|
|
110354
|
+
isEdited: isEdited
|
|
110149
110355
|
}, {
|
|
110150
110356
|
id: 'elementVariable',
|
|
110151
110357
|
component: ElementVariable,
|
|
110152
|
-
isEdited: isEdited
|
|
110358
|
+
isEdited: isEdited
|
|
110153
110359
|
}, {
|
|
110154
110360
|
id: 'multiInstanceAsynchronousBefore',
|
|
110155
110361
|
component: MultiInstanceAsynchronousBefore,
|
|
@@ -110167,7 +110373,7 @@
|
|
|
110167
110373
|
}, {
|
|
110168
110374
|
id: 'multiInstanceRetryTimeCycle',
|
|
110169
110375
|
component: MultiInstanceRetryTimeCycle,
|
|
110170
|
-
isEdited: isEdited
|
|
110376
|
+
isEdited: isEdited
|
|
110171
110377
|
});
|
|
110172
110378
|
}
|
|
110173
110379
|
return entries;
|
|
@@ -110796,7 +111002,7 @@
|
|
|
110796
111002
|
entries.push({
|
|
110797
111003
|
id: getId(idPrefix, 'timerEventDefinitionType'),
|
|
110798
111004
|
component: TimerEventDefinitionType,
|
|
110799
|
-
isEdited: isEdited$
|
|
111005
|
+
isEdited: isEdited$3,
|
|
110800
111006
|
timerEventDefinition,
|
|
110801
111007
|
timerEventDefinitionType
|
|
110802
111008
|
});
|
|
@@ -110804,7 +111010,7 @@
|
|
|
110804
111010
|
entries.push({
|
|
110805
111011
|
id: getId(idPrefix, 'timerEventDefinitionValue'),
|
|
110806
111012
|
component: TimerEventDefinitionValue,
|
|
110807
|
-
isEdited: isEdited
|
|
111013
|
+
isEdited: isEdited,
|
|
110808
111014
|
timerEventDefinition,
|
|
110809
111015
|
timerEventDefinitionType
|
|
110810
111016
|
});
|
|
@@ -111277,7 +111483,7 @@
|
|
|
111277
111483
|
id: id,
|
|
111278
111484
|
label: translate('Listener ID'),
|
|
111279
111485
|
debounce,
|
|
111280
|
-
isEdited: isEdited
|
|
111486
|
+
isEdited: isEdited,
|
|
111281
111487
|
setValue: value => {
|
|
111282
111488
|
commandStack.execute('element.updateModdleProperties', {
|
|
111283
111489
|
element,
|
|
@@ -111737,7 +111943,7 @@
|
|
|
111737
111943
|
entries.push({
|
|
111738
111944
|
id: 'scriptResultVariable',
|
|
111739
111945
|
component: ResultVariable,
|
|
111740
|
-
isEdited: isEdited
|
|
111946
|
+
isEdited: isEdited
|
|
111741
111947
|
});
|
|
111742
111948
|
return entries;
|
|
111743
111949
|
}
|
|
@@ -111835,27 +112041,27 @@
|
|
|
111835
112041
|
return [{
|
|
111836
112042
|
id: 'assignee',
|
|
111837
112043
|
component: Assignee,
|
|
111838
|
-
isEdited: isEdited
|
|
112044
|
+
isEdited: isEdited
|
|
111839
112045
|
}, {
|
|
111840
112046
|
id: 'candidateGroups',
|
|
111841
112047
|
component: CandidateGroups,
|
|
111842
|
-
isEdited: isEdited
|
|
112048
|
+
isEdited: isEdited
|
|
111843
112049
|
}, {
|
|
111844
112050
|
id: 'candidateUsers',
|
|
111845
112051
|
component: CandidateUsers,
|
|
111846
|
-
isEdited: isEdited
|
|
112052
|
+
isEdited: isEdited
|
|
111847
112053
|
}, {
|
|
111848
112054
|
id: 'dueDate',
|
|
111849
112055
|
component: DueDate,
|
|
111850
|
-
isEdited: isEdited
|
|
112056
|
+
isEdited: isEdited
|
|
111851
112057
|
}, {
|
|
111852
112058
|
id: 'followUpDate',
|
|
111853
112059
|
component: FollowUpDate,
|
|
111854
|
-
isEdited: isEdited
|
|
112060
|
+
isEdited: isEdited
|
|
111855
112061
|
}, {
|
|
111856
112062
|
id: 'priority',
|
|
111857
112063
|
component: Priority,
|
|
111858
|
-
isEdited: isEdited
|
|
112064
|
+
isEdited: isEdited
|
|
111859
112065
|
}];
|
|
111860
112066
|
}
|
|
111861
112067
|
function Assignee(props) {
|
|
@@ -112046,7 +112252,7 @@
|
|
|
112046
112252
|
return [{
|
|
112047
112253
|
id: 'versionTag',
|
|
112048
112254
|
component: VersionTag,
|
|
112049
|
-
isEdited: isEdited
|
|
112255
|
+
isEdited: isEdited
|
|
112050
112256
|
}];
|
|
112051
112257
|
}
|
|
112052
112258
|
function VersionTag(props) {
|
|
@@ -117188,7 +117394,7 @@
|
|
|
117188
117394
|
return {
|
|
117189
117395
|
id,
|
|
117190
117396
|
component: DropdownProperty,
|
|
117191
|
-
isEdited: isEdited$
|
|
117397
|
+
isEdited: isEdited$3,
|
|
117192
117398
|
property,
|
|
117193
117399
|
scope
|
|
117194
117400
|
};
|
|
@@ -117197,7 +117403,7 @@
|
|
|
117197
117403
|
return {
|
|
117198
117404
|
id,
|
|
117199
117405
|
component: StringProperty,
|
|
117200
|
-
isEdited: isEdited
|
|
117406
|
+
isEdited: isEdited,
|
|
117201
117407
|
property,
|
|
117202
117408
|
scope
|
|
117203
117409
|
};
|
|
@@ -117206,7 +117412,7 @@
|
|
|
117206
117412
|
return {
|
|
117207
117413
|
id,
|
|
117208
117414
|
component: TextAreaProperty,
|
|
117209
|
-
isEdited: isEdited$
|
|
117415
|
+
isEdited: isEdited$1,
|
|
117210
117416
|
property,
|
|
117211
117417
|
scope
|
|
117212
117418
|
};
|