diff --git a/workflow/public_html/lib/js/mafe-bd462bc9-0011253c.js b/workflow/public_html/lib/js/mafe-bd462bc9-0011253c.js
index ea62c788e..b535966a0 100644
--- a/workflow/public_html/lib/js/mafe-bd462bc9-0011253c.js
+++ b/workflow/public_html/lib/js/mafe-bd462bc9-0011253c.js
@@ -748,7 +748,7 @@ function JSGraphics(cnv, wnd)
| (2 << (Math.floor((fAngZ %= 360.0)/180.0) << 3))
| ((fAngA >= fAngZ) << 16),
aBndA = new Array(b+1), aBndZ = new Array(b+1);
-
+
// Set up radial boundary lines
fAngA *= Math.PI/180.0;
fAngZ *= Math.PI/180.0;
@@ -938,7 +938,7 @@ text both horizontally (e.g. right) and vertically within that rectangle */
this._mkDiv(xl, yt, w, h);
this._mkDiv(xl, yb, w, h);
};
-
+
this._mkArcDiv = function(x, y, oy, cx, cy, iOdds, aBndA, aBndZ, iSects)
{
var xrDef = cx + x + (iOdds & 0xffff), y2, h = oy - y, xl, xr, w;
@@ -2567,7 +2567,7 @@ if (typeof exports !== "undefined") {
},
/**
* Bubble sort function in array
- * @param {*} compFunction
+ * @param {*} compFunction
* @return {Array}
*/
bubbleSort: function (compFunction) {
@@ -7422,7 +7422,7 @@ if (typeof exports !== "undefined") {
* label: "three",
* value: 3,
* selected: true
- * },
+ * },
* {
* label: "Letters",
* options: [
@@ -8124,16 +8124,16 @@ if (typeof exports !== "undefined") {
* disabled: false,
* onChange: function(currentValue, previousValue) {
* if(previousValue !== "") {
- * alert("the text is not \"" + previousValue + "\" anymore.\nNow it's \""
+ * alert("the text is not \"" + previousValue + "\" anymore.\nNow it's \""
* + currentValue + "\"");
* } else {
* alert("Now your name is " + currentValue);
* }
* }
* });
- *
+ *
* document.body.appendChild(myTextArea.getHTML());
- *
+ *
* myTextArea.defineEvents();
* });
*
@@ -10352,7 +10352,7 @@ if (typeof exports !== "undefined") {
* controlsWidth: 200,
* valueType: 'string'
* },
- * {
+ * {
* pmType: "text",
* label: "test Number",
* id: "1234",
@@ -10936,7 +10936,7 @@ if (typeof exports !== "undefined") {
document.body.appendChild(this.modalObject);
jQuery(the_window).draggable({
handle: $(this.header),
- containment: '#' + this.modalObject.id,
+ containment: '#' + this.modalObject.id,
scroll: false
});
} else {
@@ -11601,7 +11601,7 @@ if (typeof exports !== "undefined") {
* onYes: function() {
* alert("this is an alert");
* message_window.close();
- * },
+ * },
* onNo: function() {
* message_window.close();
* }
@@ -11690,7 +11690,7 @@ if (typeof exports !== "undefined") {
*
* a = new PMUI.ui.Button({
* handler : function () {
- * alert("hi!");
+ * alert("hi!");
* },
* text : 'closed',
* iconClass:"pmui-gridpanel-pager_previous",
@@ -12207,10 +12207,10 @@ if (typeof exports !== "undefined") {
* @cfg {String} [mode="tooltip"] When is set to "tooltip" the object has a tooltip behavior, but when is set to "normal" it
* has a regular message behavior
* @cfg {String} [tooltipClass='pmui-tooltip-message'] the css class for the HTML element which will contain the message
- * @cfg {Object} [tooltipPosition = {
- my: "left top+15",
- at: "left bottom",
- collision: "flipfit"
+ * @cfg {Object} [tooltipPosition = {
+ my: "left top+15",
+ at: "left bottom",
+ collision: "flipfit"
}] specifies the position for the tooltip, read the
{@link PMUI.ui.TooltipMessage#setTooltipPosition .setTooltipPosition()} for more info
* @cfg {Object} [showEffect=null] specifies the animation to apply when the tooltip is shown, read the
@@ -12262,10 +12262,10 @@ if (typeof exports !== "undefined") {
*/
this.mode = null;
/**
- * @property {Object} [tooltipPosition={
- my: "left top+15",
- at: "left bottom",
- collision: "flipfit"
+ * @property {Object} [tooltipPosition={
+ my: "left top+15",
+ at: "left bottom",
+ collision: "flipfit"
}]
* The tooltip position
* @readonly
@@ -14980,7 +14980,7 @@ if (typeof exports !== "undefined") {
};
/**
* Set the parameter disabled for the control.
- * @param {[disabled]} value
+ * @param {[disabled]} value
* @chainable
*/
TextField.prototype.setDisabled = function (value) {
@@ -15268,7 +15268,7 @@ if (typeof exports !== "undefined") {
* a = new PMUI.field.TextAreaField({
* id:'12345',
* label: "coment",
- * cols: 300,
+ * cols: 300,
* rows: 200,
* name: 'coments',
* placeholder: 'make your comment here...........',
@@ -15563,7 +15563,7 @@ if (typeof exports !== "undefined") {
* name : 'List Select',
* required: true,
* helper: "selected one opcion of the list",
- * options: [
+ * options: [
* {
* label: "BOLIVIA",
* options: [
@@ -16015,7 +16015,7 @@ if (typeof exports !== "undefined") {
* }
* ],
* onChange: function(newVal, oldVal) {
- * console.log("The value for the field \"" + this.getLabel() +
+ * console.log("The value for the field \"" + this.getLabel() +
* "\": has change from \"" + oldVal + "\" to \"" + newVal + "\"");
* },
* });
@@ -16532,7 +16532,7 @@ if (typeof exports !== "undefined") {
* }
* ],
* onChange: function(newVal, oldVal) {
- * console.log("The value for the field \"" + this.getLabel()
+ * console.log("The value for the field \"" + this.getLabel()
* + "\": has change from \"" + oldVal + "\" to \"" + newVal + "\"");
* },
* required: true,
@@ -17504,7 +17504,7 @@ if (typeof exports !== "undefined") {
* var p;
* $(function() {
* p = new PMUI.form.FormPanel({
- * width: 600,
+ * width: 600,
* height: 130,
* fieldset: true,
* legend: "my fieldset panel",
@@ -17917,7 +17917,7 @@ if (typeof exports !== "undefined") {
* The item parameter can be:
*
* - A JSON object, in that case, it must have at least a "pmType" property
- * which can have any of the values specifed in the {@link PMUI.form.FormItemFactory FormItemFactory
+ * which can have any of the values specifed in the {@link PMUI.form.FormItemFactory FormItemFactory
documentation}.
* - A {@link PMUI.form.Field Field} object.
* - A {@link PMUI.form.FormPanel FormPanel} object.
@@ -18061,7 +18061,7 @@ if (typeof exports !== "undefined") {
* helper: "Introduce your name",
* required : true,
* controlsWidth: 200
- * },
+ * },
* {
* pmType: "datetime",
* visible : false,
@@ -18125,7 +18125,7 @@ if (typeof exports !== "undefined") {
* value: "f"
* }
* ]
- * },
+ * },
* {
* pmType: "text",
* label: "E-mail",
@@ -18140,7 +18140,7 @@ if (typeof exports !== "undefined") {
* errorMessage: "Please enter a valid email address"
* }
* ]
- * },
+ * },
* {
* pmType: "checkbox",
* label: "Things you like to do",
@@ -18211,7 +18211,7 @@ if (typeof exports !== "undefined") {
* name: "zip"
* }
* ]
- * },
+ * },
* {
* pmType: "panel",
* layout: 'vbox',
@@ -18368,7 +18368,7 @@ if (typeof exports !== "undefined") {
* var f = new PMUI.form.Form({
* onChange: function(field, newValue, previousValue) {
* console.log("Action in the form named \"" + this.getName() + "\":");
- * console.log("The field " + field.getName() + " has changed from \"" + previousValue +
+ * console.log("The field " + field.getName() + " has changed from \"" + previousValue +
"\" to \"" + newValue + "\"");
* },
* ......
@@ -19601,7 +19601,7 @@ if (typeof exports !== "undefined") {
* id: "myLayout",
* center: {
* cssProperties: {
- * "background-color": "#91b3e0"
+ * "background-color": "#91b3e0"
* },
* cssClasses: ['my-class']
* },
@@ -20363,7 +20363,7 @@ if (typeof exports !== "undefined") {
* },
* {
* name: 'Cuba'
- * },
+ * },
* {
* name: 'Costa Rica'
* }
@@ -20377,7 +20377,7 @@ if (typeof exports !== "undefined") {
* },
* {
* name: 'Bolivia'
- * },
+ * },
* {
* name: 'Brasil'
* }
@@ -21007,7 +21007,7 @@ if (typeof exports !== "undefined") {
//Form Panel*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
p = new PMUI.form.FormPanel({
- width: 604,
+ width: 604,
height: 130,
fieldset: true,
legend: "my fieldset panel",
@@ -23873,7 +23873,7 @@ if (typeof exports !== "undefined") {
tr.appendChild(td);
$(this.dom.tbody).find('.pmui-gridpanel-emptyrow').remove();
if (!sizeItems) {
- // the empty row will be added only if there is not items in the container
+ // the empty row will be added only if there is not items in the container
$(this.dom.tbody).append(tr);
if (typeof this.emptyMessage === 'function') {
message = this.emptyMessage(this, !!this.filterCriteria);
@@ -29586,7 +29586,7 @@ if (typeof exports !== "undefined") {
* },
* {
* label: 'Guatemala'
- * }
+ * }
* ]
* },
* {
@@ -29594,7 +29594,7 @@ if (typeof exports !== "undefined") {
* items: [
* {
* label: 'Argentina'
- * },
+ * },
* {
* label: 'Bolivia'
* }
@@ -32883,7 +32883,7 @@ if (typeof exports !== "undefined") {
CustomShapeDragBehavior.prototype.onDragStart = function (customShape) {
return function (e, ui) {
if(customShape.canvas.currentSelection.asArray().length == 0){
- customShape.canvas.addToSelection(customShape);
+ customShape.canvas.addToSelection(customShape);
}
PMUI.behavior.RegularDragBehavior.prototype.onDragStart.call(this,
customShape)(e, ui);
@@ -32924,7 +32924,7 @@ if (typeof exports !== "undefined") {
k,
uiOffset,
positionsX1= [];
-
+
uiOffset = {};
uiOffset.x = ui.helper.position().left / canvas.zoomFactor;
uiOffset.y = ui.helper.position().top / canvas.zoomFactor;
@@ -32941,7 +32941,7 @@ if (typeof exports !== "undefined") {
// shapes
if (root) {
// Commented for problem on snappers
-
+
if (customShape.canvas.snapToGuide) {
customShape.canvas.processGuides(e, ui, customShape);
}
@@ -33233,7 +33233,7 @@ if (typeof exports !== "undefined") {
if (typeof exports !== 'undefined') {
module.exports = CustomShapeDragBehavior;
}
-
+
}());
(function () {
@@ -33408,7 +33408,7 @@ if (typeof exports !== "undefined") {
currentLabel = canvas.currentLabel,
realPoint = canvas.relativePoint(e),
startPortX = e.pageX - customShape.getAbsoluteX(),
- startPortY = e.pageY - customShape.getAbsoluteY();
+ startPortY = e.pageY - customShape.getAbsoluteY();
customShape.startConnectionPoint.portX = startPortX;
customShape.startConnectionPoint.portY = startPortY;
@@ -33444,7 +33444,7 @@ if (typeof exports !== "undefined") {
if (canvas.connectionSegment) {
$(canvas.connectionSegment.getHTML()).remove();
}
-
+
// Determine the point where the mouse currently is
endPoint.x = realPoint.x * customShape.canvas.zoomFactor;
endPoint.y = realPoint.y * customShape.canvas.zoomFactor;
@@ -33488,7 +33488,7 @@ if (typeof exports !== "undefined") {
if (typeof exports !== 'undefined') {
module.exports = ConnectionDragBehavior;
}
-
+
}());
(function () {
@@ -33570,7 +33570,7 @@ if (typeof exports !== "undefined") {
/**
* @private
* Initializes the object with the default options
- * @param {[type]} options
+ * @param {[type]} options
*/
DropBehavior.prototype.init = function (options) {
var defaults = {
@@ -34031,7 +34031,7 @@ if (typeof exports !== "undefined") {
return false;
}
id = ui.draggable.attr('id');
-
+
customShape = canvas.shapeFactory(id);
if (customShape === null) {
@@ -34039,7 +34039,7 @@ if (typeof exports !== "undefined") {
if (!customShape || !shape.dropBehavior.dropHook(shape, e, ui)) {
return false;
}
-
+
if (!(customShape.parent &&
customShape.parent.id === shape.id)) {
@@ -34367,7 +34367,7 @@ if (typeof exports !== "undefined") {
if (typeof exports !== 'undefined') {
module.exports = RegularContainerBehavior;
}
-
+
}());
@@ -34397,7 +34397,7 @@ if (typeof exports !== "undefined") {
if (typeof exports !== 'undefined') {
module.exports = NoContainerBehavior;
}
-
+
}());
(function () {
@@ -34542,7 +34542,7 @@ if (typeof exports !== "undefined") {
if (typeof exports !== 'undefined') {
module.exports = NoResizeBehavior;
}
-
+
}());
(function () {
@@ -34782,7 +34782,7 @@ if (typeof exports !== "undefined") {
(function() {
var DataControlNoDropBehavior = function(settings) {
DataControlNoDropBehavior.superclass.call(this, settings);
- this.targetObject = null;
+ this.targetObject = null;
DataControlNoDropBehavior.prototype.init.call(this, settings);
};
@@ -35324,7 +35324,7 @@ if (typeof exports !== "undefined") {
}
}());
(function() {
- /**
+ /**
* @class PMUI.behavior.ContainerItemNoBehavior
* @extends PMUI.behavior.ContainerItemBehavior
*/
@@ -35563,19 +35563,19 @@ if (typeof exports !== "undefined") {
/**
* @class PMUI.behavior.ContainerItemDragCloneBehavior
* @extends PMUI.behavior.ContainerItemDragBehavior
- * Class that encapsulates the drag behavior for the items of a {@link PMUI.core.Container Container}. The object
- * that applies this behavior will be able to create a clone item to be dragged to another Containers that are
+ * Class that encapsulates the drag behavior for the items of a {@link PMUI.core.Container Container}. The object
+ * that applies this behavior will be able to create a clone item to be dragged to another Containers that are
* applying dropping behaviors
- * ({@link PMUI.behavior.ContainerItemDropBehavior drop},
- * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
- * {@link PMUI.behavior.ContainerItemDropSortBehavior dropsort},
+ * ({@link PMUI.behavior.ContainerItemDropBehavior drop},
+ * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
+ * {@link PMUI.behavior.ContainerItemDropSortBehavior dropsort},
* {@link PMUI.behavior.ContainerItemDragDropSortBehavior dragdropsort}).
- *
- * Since this class is created through the
- * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
+ *
+ * Since this class is created through the
+ * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
* most cases (it is instantiated internally by the object of the Container class).
- * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
- * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "dragclone" or set it
+ * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
+ * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "dragclone" or set it
* at instantiation time using its {@link PMUI.core.Container#cfg-behavior behavior} config option.
*
* Usage example:
@@ -35659,18 +35659,18 @@ if (typeof exports !== "undefined") {
/**
* @class PMUI.behavior.ContainerItemDropBehavior
* @extends PMUI.behavior.ContainerItemBehavior
- * Class that encapsulates the drop behavior for {@link PMUI.core.Container Container} objects. The object that
- * applies this behavior will be able to accept draggable items from other Containers which ones are applying
- * dragging behaviors ({@link PMUI.behavior.ContainerItemDragBehavior drag},
- * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
- * {@link PMUI.behavior.ContainerItemDragSortBehavior dragsort},
+ * Class that encapsulates the drop behavior for {@link PMUI.core.Container Container} objects. The object that
+ * applies this behavior will be able to accept draggable items from other Containers which ones are applying
+ * dragging behaviors ({@link PMUI.behavior.ContainerItemDragBehavior drag},
+ * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
+ * {@link PMUI.behavior.ContainerItemDragSortBehavior dragsort},
* {@link PMUI.behavior.ContainerItemDragDropSortBehavior dragdropsort}). .
- *
- * Since this class is created through the
- * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
+ *
+ * Since this class is created through the
+ * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
* most cases (it is instantiated internally by the object of the Container class).
- * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
- * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "drop" or set it
+ * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
+ * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "drop" or set it
* at instantiation time using its {@link PMUI.core.Container#cfg-behavior behavior} config option.
*
* Usage example:
@@ -35723,7 +35723,7 @@ if (typeof exports !== "undefined") {
return this;
};
/**
- * Defines the handler to be executed when an accepted draggable is dragged over the
+ * Defines the handler to be executed when an accepted draggable is dragged over the
* {@link #property-targetObject targetObject}.
* @return {Function} The handler.
* @private
@@ -35735,7 +35735,7 @@ if (typeof exports !== "undefined") {
};
};
/**
- * Defines the handler to be executed when an accepted draggable is dragged out of the
+ * Defines the handler to be executed when an accepted draggable is dragged out of the
* {@link PMUI.behavior.ContainerItemDragBehavior#property-targetObject targetObject}.
* @return {Function} The handler.
* @private
@@ -35770,7 +35770,7 @@ if (typeof exports !== "undefined") {
return ContainerItemDropBehavior.superclass.prototype.attachBehavior.call(this);
};
/**
- * Detaches the behavior from the
+ * Detaches the behavior from the
* {@link #property-targetObject targetObject}.
* @chainable
*/
@@ -35794,14 +35794,14 @@ if (typeof exports !== "undefined") {
/**
* @class PMUI.behavior.ContainerItemSortBehavior
* @extends PMUI.behavior.ContainerItemDragBehavior
- * Class that encapsulates the sort behavior for {@link PMUI.core.Container Container} objects. This behavior
+ * Class that encapsulates the sort behavior for {@link PMUI.core.Container Container} objects. This behavior
* enables the {@link #property-targetObject targetObject}'s' items to be sortable.
- *
- * Since this class is created through the
- * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
+ *
+ * Since this class is created through the
+ * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
* most cases (it is instantiated internally by the object of the Container class).
- * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
- * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "sort" or set it
+ * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
+ * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "sort" or set it
* at instantiation time using its {@link PMUI.core.Container#cfg-behavior behavior} config option.
*
* Usage example:
@@ -35849,7 +35849,7 @@ if (typeof exports !== "undefined") {
ContainerItemSortBehavior.prototype.setAlignment = function (alignment) {
if (!(typeof alignment === "string" && (alignment === "vertical" || alignment === "horizontal"))){
- throw new Error ("ContainerItemSortBehavior.setAlignment(): the parameter is no valid, must be a vertical or horizontal value");
+ throw new Error ("ContainerItemSortBehavior.setAlignment(): the parameter is no valid, must be a vertical or horizontal value");
}
this.alignment = alignment;
return this;
@@ -35872,10 +35872,10 @@ if (typeof exports !== "undefined") {
o;
that.cancelledDrop = null;
o = PMUI.getPMUIObject(ui.item.get(0));
-
+
if(that.targetObject.isDirectParentOf(o)) {
targetObject = that.targetObject;
-
+
if ( that.alignment == "vertical" ) {
ui.helper.get(0).style.width = $(e.target).width() + "px";
}
@@ -35897,8 +35897,8 @@ if (typeof exports !== "undefined") {
return function() {};
};
/**
- * Defines the handler to be executed when the user stopped sorting and the
- * {@link #property-targetObject targetObject}'s items positions have
+ * Defines the handler to be executed when the user stopped sorting and the
+ * {@link #property-targetObject targetObject}'s items positions have
* changed.
* @return {Function} The handler.
* @private
@@ -35930,7 +35930,7 @@ if (typeof exports !== "undefined") {
return ContainerItemSortBehavior.superclass.superclass.prototype.attachBehavior.call(this);
};
/**
- * Detaches the behavior from the
+ * Detaches the behavior from the
* {@link #property-targetObject targetObject}.
* @chainable
*/
@@ -35954,25 +35954,25 @@ if (typeof exports !== "undefined") {
/**
* @class PMUI.behavior.ContainerItemDragDropBehavior
* @extends PMUI.behavior.ContainerItemBehavior
- * Class that encapsulates the drop behavior for a {@link PMUI.core.Container Container} object and the drag
+ * Class that encapsulates the drop behavior for a {@link PMUI.core.Container Container} object and the drag
* behavior for its items. The object that applies this behavior, will be able to:
- *
- * - Accept draggable items from other Containers which ones are applying dragging behaviors
- * ({@link PMUI.behavior.ContainerItemDragBehavior drag},
- * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
- * {@link PMUI.behavior.ContainerItemDragSortBehavior dragsort},
- * {@link PMUI.behavior.ContainerItemDragDropSortBehavior dragdropsort}).
- * - The object's items will be able to be dragged to another Containers that are applying dropping behaviors
- * ({@link PMUI.behavior.ContainerItemDropBehavior drop},
- * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
- * {@link PMUI.behavior.ContainerItemDropSortBehavior dropsort},
+ *
+ * - Accept draggable items from other Containers which ones are applying dragging behaviors
+ * ({@link PMUI.behavior.ContainerItemDragBehavior drag},
+ * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
+ * {@link PMUI.behavior.ContainerItemDragSortBehavior dragsort},
* {@link PMUI.behavior.ContainerItemDragDropSortBehavior dragdropsort}).
- *
- * Since this class is created through the
- * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
+ * - The object's items will be able to be dragged to another Containers that are applying dropping behaviors
+ * ({@link PMUI.behavior.ContainerItemDropBehavior drop},
+ * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
+ * {@link PMUI.behavior.ContainerItemDropSortBehavior dropsort},
+ * {@link PMUI.behavior.ContainerItemDragDropSortBehavior dragdropsort}).
+ *
+ * Since this class is created through the
+ * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
* most cases (it is instantiated internally by the object of the Container class).
- * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
- * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "dragdrop" or set it
+ * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
+ * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "dragdrop" or set it
* at instantiation time using its {@link PMUI.core.Container#cfg-behavior behavior} config option.
*
* Usage example:
@@ -36042,7 +36042,7 @@ if (typeof exports !== "undefined") {
return this;
};
/**
- * Returns the html from the items of the {@link #property-targetObject targetObject}
+ * Returns the html from the items of the {@link #property-targetObject targetObject}
* @return {Object} A jQuery object with all the target object' items html.
*/
ContainerItemDragDropBehavior.prototype.getTargetObjectItems = function() {
@@ -36082,7 +36082,7 @@ if (typeof exports !== "undefined") {
return this;
};
/**
- * Defines the handler to be executed when an accepted draggable is dragged over the
+ * Defines the handler to be executed when an accepted draggable is dragged over the
* {@link #property-targetObject targetObject}.
* @return {Function} The handler.
* @private
@@ -36094,7 +36094,7 @@ if (typeof exports !== "undefined") {
};
};
/**
- * Defines the handler to be executed when an accepted draggable is dragged out of the
+ * Defines the handler to be executed when an accepted draggable is dragged out of the
* {@link #property-targetObject targetObject}.
* @return {Function} The handler.
* @private
@@ -36142,7 +36142,7 @@ if (typeof exports !== "undefined") {
return ContainerItemDragDropBehavior.superclass.prototype.attachBehavior.call(this);
};
/**
- * Detaches the behavior from the
+ * Detaches the behavior from the
* {@link #property-targetObject targetObject}.
* @chainable
*/
@@ -36168,21 +36168,21 @@ if (typeof exports !== "undefined") {
/**
* @class PMUI.behavior.ContainerItemDragSortBehavior
* @extends PMUI.behavior.ContainerItemDragBehavior
- * Class that encapsulates the drag and sort behaviors for a {@link PMUI.core.Container Container} object items.
+ * Class that encapsulates the drag and sort behaviors for a {@link PMUI.core.Container Container} object items.
* The items of the object that applies this behavior, will be able to:
- *
+ *
* - Be dragged to another Containers that are applying dropping behaviors
- * ({@link PMUI.behavior.ContainerItemDropBehavior drop},
- * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
- * {@link PMUI.behavior.ContainerItemDropSortBehavior dropsort},
- * {@link PMUI.behavior.ContainerItemDragDropSortBehavior dragdropsort}).
+ * ({@link PMUI.behavior.ContainerItemDropBehavior drop},
+ * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
+ * {@link PMUI.behavior.ContainerItemDropSortBehavior dropsort},
+ * {@link PMUI.behavior.ContainerItemDragDropSortBehavior dragdropsort}).
* - Be sortable.
- *
- * Since this class is created through the
- * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
+ *
+ * Since this class is created through the
+ * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
* most cases (it is instantiated internally by the object of the Container class).
- * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
- * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "dragsort" or set it
+ * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
+ * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "dragsort" or set it
* at instantiation time using its {@link PMUI.core.Container#cfg-behavior behavior} config option.
*
* Usage example:
@@ -36262,8 +36262,8 @@ if (typeof exports !== "undefined") {
};
};
/**
- * Defines the handler to be executed when the user stopped sorting and the
- * {@link #property-targetObject targetObject}'s items positions have
+ * Defines the handler to be executed when the user stopped sorting and the
+ * {@link #property-targetObject targetObject}'s items positions have
* changed.
* @return {Function} The handler.
* @private
@@ -36308,7 +36308,7 @@ if (typeof exports !== "undefined") {
return ContainerItemDragSortBehavior.superclass.superclass.prototype.attachBehavior.call(this);
};
/**
- * Detaches the behavior from the
+ * Detaches the behavior from the
* {@link #property-targetObject targetObject}.
* @chainable
*/
@@ -36332,22 +36332,22 @@ if (typeof exports !== "undefined") {
/**
* @class PMUI.behavior.ContainerItemDropSortBehavior
* @extends PMUI.behavior.ContainerItemDropBehavior
- * Class that encapsulates the drop behavior for a {@link PMUI.core.Container Container} object and the drag
+ * Class that encapsulates the drop behavior for a {@link PMUI.core.Container Container} object and the drag
* behavior for its items. The object that applies this behavior, will be able to:
*
- * - Accept draggable items from other Containers which ones are applying dragging behaviors
- * ({@link PMUI.behavior.ContainerItemDragBehavior drag},
- * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
- * {@link PMUI.behavior.ContainerItemDragSortBehavior dragsort},
- * {@link PMUI.behavior.ContainerItemDragDropSortBehavior dragdropsort}).
- *
+ * - Accept draggable items from other Containers which ones are applying dragging behaviors
+ * ({@link PMUI.behavior.ContainerItemDragBehavior drag},
+ * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
+ * {@link PMUI.behavior.ContainerItemDragSortBehavior dragsort},
+ * {@link PMUI.behavior.ContainerItemDragDropSortBehavior dragdropsort}).
+ *
* - The object items will be sortable.
- *
- * Since this class is created through the
- * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
+ *
+ * Since this class is created through the
+ * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
* most cases (it is instantiated internally by the object of the Container class).
- * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
- * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "dropsort" or set it
+ * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
+ * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "dropsort" or set it
* at instantiation time using its {@link PMUI.core.Container#cfg-behavior behavior} config option.
*
* Usage example:
@@ -36412,7 +36412,7 @@ if (typeof exports !== "undefined") {
return this;
};
/**
- * Defines the handler to be executed when an accepted draggable is dropped on the
+ * Defines the handler to be executed when an accepted draggable is dropped on the
* {@link #property-targetObject targetObject}.
* @return {Function} The handler.
* @private
@@ -36455,8 +36455,8 @@ if (typeof exports !== "undefined") {
};
};
/**
- * Defines the handler to be executed when the user stopped sorting and the
- * {@link #property-targetObject targetObject}'s items positions have
+ * Defines the handler to be executed when the user stopped sorting and the
+ * {@link #property-targetObject targetObject}'s items positions have
* changed.
* @return {Function} The handler.
* @private
@@ -36525,7 +36525,7 @@ if (typeof exports !== "undefined") {
return ContainerItemDropSortBehavior.superclass.superclass.prototype.attachBehavior.call(this);
};
/**
- * Detaches the behavior from the
+ * Detaches the behavior from the
* {@link #property-targetObject targetObject}.
* @chainable
*/
@@ -36549,28 +36549,28 @@ if (typeof exports !== "undefined") {
/**
* @class PMUI.behavior.ContainerItemDragDropSortBehavior
* @extends PMUI.behavior.ContainerItemDragDropBehavior
- * Class that encapsulates the drop behavior for a {@link PMUI.core.Container Container} object and the drag and
+ * Class that encapsulates the drop behavior for a {@link PMUI.core.Container Container} object and the drag and
* sort behaviors for its items. The object that applies this behavior, will be able to:
- *
- * - Accept draggable items from other Containers which ones are applying dragging behaviors
- * ({@link PMUI.behavior.ContainerItemDragBehavior drag},
- * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
- * {@link PMUI.behavior.ContainerItemDragSortBehavior dragsort},
+ *
+ * - Accept draggable items from other Containers which ones are applying dragging behaviors
+ * ({@link PMUI.behavior.ContainerItemDragBehavior drag},
+ * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
+ * {@link PMUI.behavior.ContainerItemDragSortBehavior dragsort},
* {@link PMUI.behavior.ContainerItemDragDropSortBehavior dragdropsort}).
- *
+ *
* - The object's items will be able to be dragged to another Containers that are applying dropping behaviors
- * ({@link PMUI.behavior.ContainerItemDropBehavior drop},
- * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
- * {@link PMUI.behavior.ContainerItemDropSortBehavior dropsort},
+ * ({@link PMUI.behavior.ContainerItemDropBehavior drop},
+ * {@link PMUI.behavior.ContainerItemDragDropBehavior dragdrop},
+ * {@link PMUI.behavior.ContainerItemDropSortBehavior dropsort},
* {@link PMUI.behavior.ContainerItemDragDropSortBehavior dragdropsort}).
*
* - The object's items will be enabled for sorting.
- *
- * Since this class is created through the
- * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
+ *
+ * Since this class is created through the
+ * {@link PMUI.behavior.ContainerItemBehaviorFactory ContainerItemBehaviorFactory} it shouldn't be instantiated in
* most cases (it is instantiated internally by the object of the Container class).
- * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
- * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "dragdropsort" or set it
+ * If you want to apply this behavior to a {@link PMUI.core.Container Container} object, just call its
+ * {@link PMUI.core.Container#method-setBehavior setBehavior()} method with the string parameter "dragdropsort" or set it
* at instantiation time using its {@link PMUI.core.Container#cfg-behavior behavior} config option.
*
* Usage example:
@@ -36640,8 +36640,8 @@ if (typeof exports !== "undefined") {
return this;
};
/**
- * Defines the handler to be executed when the user stopped sorting and the
- * {@link #property-targetObject targetObject}'s items positions have
+ * Defines the handler to be executed when the user stopped sorting and the
+ * {@link #property-targetObject targetObject}'s items positions have
* changed.
* @return {Function} The handler.
* @private
@@ -36689,7 +36689,7 @@ if (typeof exports !== "undefined") {
};
};
/**
- * Defines the handler to be executed when an accepted draggable is dropped on the
+ * Defines the handler to be executed when an accepted draggable is dropped on the
* {@link #property-targetObject targetObject}.
* @return {Function} The handler.
* @private
@@ -36701,7 +36701,7 @@ if (typeof exports !== "undefined") {
droppable = $(this),
item = PMUI.getPMUIObject(ui.item.get(0)),
data,
- index = !targetObject.getItems().length ? 0
+ index = !targetObject.getItems().length ? 0
: droppable.find('>*').index(item.getHTML()),
performDrop;
@@ -36718,7 +36718,7 @@ if (typeof exports !== "undefined") {
item.getParent().behaviorObject.onDropOut(item, targetObject, index);
that.dropped = true;
if(!targetObject.canContain(item)) {
- $(e.target).find('.ui-draggable').detach();
+ $(e.target).find('.ui-draggable').detach();
}
that.cancelledDrop = false;
} else {
@@ -36780,7 +36780,7 @@ if (typeof exports !== "undefined") {
return ContainerItemDragDropSortBehavior.superclass.superclass.prototype.attachBehavior.call(this);
};
/**
- * Detaches the behavior from the
+ * Detaches the behavior from the
* {@link #property-targetObject targetObject}.
* @chainable
*/
@@ -36806,8 +36806,8 @@ if (typeof exports !== "undefined") {
* @class PMUI.behavior.ContainerItemBehaviorFactory
* A factory that produces the behavior objects for {@link PMUI.core.Container Container} objects.
*
- * It accepts the following pmTypes:
- *
+ * It accepts the following pmTypes:
+ *
* - using "nobehavior" you get a {@link PMUI.behavior.ContainerItemNoBehavior ContainerItemNoBehavior object}.
* - using "drag" you get a {@link PMUI.behavior.ContainerItemDragBehavior ContainerItemDragBehavior object}.
* - using "drop" you get a {@link PMUI.behavior.ContainerItemDropBehavior ContainerItemDropBehavior object}.
@@ -36874,7 +36874,7 @@ if (typeof exports !== "undefined") {
* - The command must define a method redo which simply calls the execute method (redo must do the
* same operation as execute).
*
- * Finally to execute and save the command let's use the
+ * Finally to execute and save the command let's use the
{@link PMUI.draw.Canvas#property-commandStack} property that any
* canvas has so:
*
@@ -36909,9 +36909,9 @@ if (typeof exports !== "undefined") {
* Reference to the canvas
* @property {PMUI.draw.Canvas}
*/
-
- this.canvas = this.getCanvas(receiver);
-
+
+ this.canvas = this.getCanvas(receiver);
+
};
/**
@@ -36947,7 +36947,7 @@ if (typeof exports !== "undefined") {
Command.prototype.getCanvas = function (obj) {
var aux,
canvas;
-
+
if (obj.getSize) {
aux = obj.get(0);
canvas = aux.getCanvas();
@@ -40022,8 +40022,8 @@ if (typeof exports !== "undefined") {
relatedObject: shape,
relatedElements: relatedElements
};
- if (!this.items.find("id", shape.id)) {
- $(this.html).trigger('createelement');
+ if (!this.items.find("id", shape.id)) {
+ $(this.html).trigger('createelement');
}
return this;
};
@@ -43014,7 +43014,7 @@ if (typeof exports !== "undefined") {
* This is a custom shape, where there can be applied styles, sprites and
* decoration, it can have connections associated to it by ports, different
* layers and labels as well
- *
+ *
* //e.g.
* var customShape = new PMUI.draw.CustomShape({
* //Determines whether the shape will be connected only in its
@@ -43659,7 +43659,7 @@ if (typeof exports !== "undefined") {
// because of the zIndex problem move the ports towards the center
// of the shape (this is done when the destDecorator is selected)
port.setDirection(direction);
- // setPosition logic:
+ // setPosition logic:
// since the port must face the border of the shape (or the shape if it
// doesn't have a border) first let's move the port according to the
// direction of the port (up -> -1 * border, right -> 1 * border, bottom ->
@@ -44007,7 +44007,7 @@ if (typeof exports !== "undefined") {
return function (e, ui) {
var $customShape,
canvas,
- realPoint,
+ realPoint,
auxPoint;
if (customShape.dragging || customShape.entered) {
@@ -48040,7 +48040,7 @@ if (typeof exports !== "undefined") {
connection = parentSegment.getParent(),
i;
- // TESTING:
+ // TESTING:
// save values for the undo-redo stack
connection.savePoints({
saveToOldPoints: true
@@ -50514,15 +50514,15 @@ if (typeof exports !== "undefined") {
* @cfg {Array} items Defines the data items as an array objects.
*
* items: [
- * {
- * ...
+ * {
+ * ...
* },
* {
* text: "Item1",
* selected: true
* },
- * {
- * ...
+ * {
+ * ...
* }
* ]
*
@@ -52046,11 +52046,11 @@ if (typeof exports !== "undefined") {
* },
* name : 'button1'
* });
- *
+ *
* document.body.appendChild(b1.getHTML());
* b1.defineEvents();
- *
- *
+ *
+ *
* b2 = new PMUI.field.ButtonField({
* value : "button2",
* handler : function () {
@@ -52063,10 +52063,10 @@ if (typeof exports !== "undefined") {
* },
* buttonAlign : 'center'
* });
- *
+ *
* document.body.appendChild(b2.getHTML());
* b2.defineEvents();
- *
+ *
* b3 = new PMUI.field.ButtonField({
* value : "button3",
* handler : function () {
@@ -52076,7 +52076,7 @@ if (typeof exports !== "undefined") {
* labelVisible : false,
* buttonAlign : 'center'
* });
- *
+ *
* document.body.appendChild(b3.getHTML());
* b3.defineEvents();
* });
@@ -66821,7 +66821,7 @@ function BpmnModdle(packages, options) {
"prefix": "di"
}
};
-
+
Moddle.call(this, packages, options);
}
@@ -71026,7 +71026,7 @@ PMFlow.prototype.showPorts = function () {
connectHandler.setVisible(true);
connectHandler.relativeShape = this.srcPort;
connectHandler.attachListeners();
-
+
portPoint = this.destPort.getPoint();
connectHandler2 = this.canvas.dragConnectHandlers.get(1);
connectHandler2.setDimension(handlerDimension, handlerDimension);
@@ -72193,7 +72193,7 @@ ToolbarPanel.prototype.enableActions = function () {
new PMAction(b.actions);
}
}
-
+
});
return this;
};
@@ -72224,7 +72224,7 @@ PMProject = function (options) {
laneset: {},
lanes: {},
activities: {},
- events: {},
+ events: {},
gateways: {},
flows: {},
artifacts: {},
@@ -72283,7 +72283,7 @@ PMProject.prototype.init = function (options) {
this.setKeysClient(defaults.keys)
.setID(defaults.id)
.setTokens(defaults.keys)
- .setListeners(defaults.listeners)
+ .setListeners(defaults.listeners)
.setReadOnly(defaults.readOnly);
this.remoteProxy = new PMUI.proxy.RestProxy();
};
@@ -72498,7 +72498,7 @@ PMProject.prototype.loadProject = function (project) {
sidebarCanvas.splice(15, 1);
//Remove Lasso and Validator
sidebarCanvas.splice(17, 2);
-
+
sidebarCanvas = sidebarCanvas.concat('.mafe-event-start');
sidebarCanvas = sidebarCanvas.concat('.mafe-event-intermediate');
sidebarCanvas = sidebarCanvas.concat('.mafe-event-end');
@@ -72838,7 +72838,7 @@ PMProject.prototype.addElement = function (element) {
PMDesigner.connectValidator.bpmnValidatorShape(element.relatedObject.destPort.parent);
PMDesigner.connectValidator.bpmnValidatorShape(element.relatedObject.srcPort.parent);
}
-
+
PMDesigner.connectValidator.bpmnValidatorShape(element.relatedObject);
//Call to Create callBack
this.listeners.create(this, element);
@@ -72950,7 +72950,7 @@ PMProject.prototype.removeElement = function (updatedElements) {
PMDesigner.connectValidator.bpmnValidatorShape(updatedElements[i].destPort.parent);
PMDesigner.connectValidator.bpmnValidatorShape(updatedElements[i].srcPort.parent);
}
-
+
}
};
@@ -78902,7 +78902,7 @@ var messagePageGrid = function (currentPage, pageSize, numberItems, criteria, fi
* Function: validateKeysField
* valid characteres for file name:
* http://support.microsoft.com/kb/177506/es
- *
+ *
* (A-z)letter
* (0-9)number
* ^ Accent circumflex (caret)
@@ -78926,13 +78926,13 @@ var messagePageGrid = function (currentPage, pageSize, numberItems, criteria, fi
* + Plus
* ~ Tilde
* _ Underscore
- *
+ *
* Example: only backspace, number and letter.
* validateKeysField(objectHtmlInput, ['isbackspace', 'isnumber', 'isletter']);
- *
+ *
* Aditional support:
* : Colon
- *
+ *
*/
var validateKeysField = function (object, validates) {
object.onkeypress = function (e) {
@@ -80767,7 +80767,7 @@ CriteriaField.prototype.setControls = function () {
/**
* Update the property disable
- * @param {boolean} value
+ * @param {boolean} value
*/
CriteriaField.prototype.updateDisabled = function (value) {
this.setDisabled(value);
@@ -81565,7 +81565,7 @@ PMLabelField.prototype.createHTML = function () {
this.setLabelWidth('0%');
return this.html;
};
-
+
var PMLabelControl = function (settings) {
PMUI.control.Control.call(this, settings);
@@ -82465,7 +82465,7 @@ ConnectValidator.prototype.bpmnValidator = function () {
};
/**
* Validate un update a bpmn element
- * @param {*} updatedElement
+ * @param {*} updatedElement
*/
ConnectValidator.prototype.bpmnValidateOnUpdate = function (updatedElement) {
for (i = 0; i < updatedElement.length; i += 1) {
@@ -82477,7 +82477,7 @@ ConnectValidator.prototype.bpmnValidateOnUpdate = function (updatedElement) {
this.bpmnValidatorShape(updatedElement[i].relatedObject.destPort.parent);
this.bpmnValidatorShape(updatedElement[i].relatedObject.srcPort.parent);
}
-
+
}
}
return this;
@@ -86106,7 +86106,7 @@ PoolContainerBehavior.prototype.removeFromContainer = function (shape) {
if (shape instanceof PMLane) {
pool.removeLane(shape);
- pool.updateOnRemoveLane(shape);
+ pool.updateOnRemoveLane(shape);
}
shape.saveAndDestroy();
@@ -87107,7 +87107,7 @@ CanvasContainerBehavior.prototype.addToContainer = function (container, shape, x
container.updateDimensions(10);
// adds the shape to either the customShape arrayList or the regularShapes
// arrayList if possible
- canvas.addToList(shape);
+ canvas.addToList(shape);
canvas.triggerCreateEvent(shape, []);
};
CanvasContainerBehavior.prototype.addShape = function (container, shape, x, y) {
@@ -88041,7 +88041,7 @@ var importBpmnDiagram = function (definitions) {
'bpmn:ConditionalEventDefinition': 'CONDITIONAL',
'bpmn:LinkEventDefinition': 'LINKCATCH',
'bpmn:SignalEventDefinition': 'SIGNALCATCH',
- 'bpmn:ErrorEventDefinition': 'ERRORCATCH',
+ 'bpmn:ErrorEventDefinition': 'ERRORCATCH',
'bpmn:CompensateEventDefinition': 'COMPENSATIONTHROW'
},
'THROW': {
@@ -88068,13 +88068,13 @@ var importBpmnDiagram = function (definitions) {
this.loopType = {
'bpmn:StandardLoopCharacteristics': 'LOOP',
- 'bpmn:MultiInstanceLoopCharacteristics':'PARALLEL'
+ 'bpmn:MultiInstanceLoopCharacteristics':'PARALLEL'
};
this.dataObjectType = {
'bpmn:DataInput': 'datainput',
'bpmn:DataOutput':'dataoutput',
- 'bpmn:DataObject':'dataobject'
+ 'bpmn:DataObject':'dataobject'
};
//eventBus.fire('import.start');
@@ -88084,7 +88084,7 @@ var importBpmnDiagram = function (definitions) {
if(PMDesigner.project.XMLSupported){
diRefs = null;
diRefs = new Refs({ name: 'bpmnElement', enumerable: true }, { name: 'di' });
- this.parse(definitions);
+ this.parse(definitions);
}
} catch (e) {
error = e;
@@ -88142,7 +88142,7 @@ importBpmnDiagram.prototype.parse = function (definitions) {
return self.addElement(element, parentShape);
},
- error: function(message, context) {
+ error: function(message, context) {
//warnings.push({ message: message, context: context });
}
};
@@ -88154,19 +88154,19 @@ importBpmnDiagram.prototype.parse = function (definitions) {
};
importBpmnDiagram.prototype.checkXML = function (definitions) {
- var self = this,
+ var self = this,
visitor,
walker;
visitor = {
root: function(element) {
-
+
},
element: function(element, parentShape) {
- return (self.checkElement(element, parentShape));
+ return (self.checkElement(element, parentShape));
},
error: function(message, context) {
- console.log('add error');
+ console.log('add error');
}
};
@@ -88245,7 +88245,7 @@ importBpmnDiagram.prototype.addParticipant = function (collaboration) {
return this;
};
-importBpmnDiagram.prototype.getLoopCharacteristics = function (element) {
+importBpmnDiagram.prototype.getLoopCharacteristics = function (element) {
var loopType;
if(element.loopCharacteristics){
loopType = this.loopType[element.loopCharacteristics.$type] === undefined ? "EMPTY": this.loopType[element.loopCharacteristics.$type];
@@ -88253,7 +88253,7 @@ importBpmnDiagram.prototype.getLoopCharacteristics = function (element) {
loopType = "SEQUENTIAL";
}
}
- return loopType;
+ return loopType;
};
importBpmnDiagram.prototype.getOwnProperties = function (element) {
@@ -88292,7 +88292,7 @@ importBpmnDiagram.prototype.getOwnProperties = function (element) {
'bpmn:Group': 'GROUP',
'bpmn:DataInput': 'DATAINPUT',
'bpmn:DataOutput': 'DATAOUTPUT'
-
+
};
type = typeMap[element.$type];
switch (type) {
@@ -88314,20 +88314,20 @@ importBpmnDiagram.prototype.getOwnProperties = function (element) {
'evn_name': element.name,
'evn_marker': marker ? marker : 'EMPTY'
};
-
+
break;
case 'INTERMEDIATE':
- behavior = (element.$type === 'bpmn:IntermediateCatchEvent') ? 'CATCH' : 'THROW';
+ behavior = (element.$type === 'bpmn:IntermediateCatchEvent') ? 'CATCH' : 'THROW';
if (element.eventDefinitions && element.eventDefinitions[0]) {
marker = this.eventMarkerMap[behavior][element.eventDefinitions[0].$type];
- }
+ }
//marker = this.eventMarkerMap[behavior][element.eventDefinitions[0].$type];
ownProp = {
'evn_behavior': behavior,
'evn_marker': marker ? marker : 'MESSAGECATCH',
'evn_name': element.name
};
-
+
break;
case 'BOUNDARY':
if (element.eventDefinitions && element.eventDefinitions[0]) {
@@ -88353,7 +88353,7 @@ importBpmnDiagram.prototype.getOwnProperties = function (element) {
break;
case 'TASK':
taskType = this.taskType[element.$type];
- loopType = this.getLoopCharacteristics(element);
+ loopType = this.getLoopCharacteristics(element);
ownProp = {
'act_name': element.name,
'act_task_type': taskType,
@@ -88440,7 +88440,7 @@ importBpmnDiagram.prototype.getOwnProperties = function (element) {
'dat_name': element.name,
'dat_object_type':this.dataObjectType[element.$type]?this.dataObjectType[element.$type]:'dataobject'
};
- break;
+ break;
}
return {'properties': ownProp, 'type': type};
};
@@ -88462,7 +88462,7 @@ importBpmnDiagram.prototype.checkElement = function (element) {
'bpmn:StandardLoopCharacteristics':true,
'bpmn:MultiInstanceLoopCharacteristics':true,
'empty':true
- };
+ };
validation ={
'bpmn:Lane': true,
@@ -88476,11 +88476,11 @@ importBpmnDiagram.prototype.checkElement = function (element) {
'bpmn:ScriptTask': true,
'bpmn:ManualTask': true,
'bpmn:CallActivity': false,
- 'bpmn:BusinessRuleTask': true,
-
+ 'bpmn:BusinessRuleTask': true,
+
'bpmn:SubProcess': true,
'bpmn:AdHocSubProcess':false,
- 'bpmn:Transaction':false,
+ 'bpmn:Transaction':false,
'bpmn:ExclusiveGateway': true,
'bpmn:ParallelGateway': true,
'bpmn:InclusiveGateway': true,
@@ -88491,7 +88491,7 @@ importBpmnDiagram.prototype.checkElement = function (element) {
'bpmn:DataStoreReference': true,
'bpmn:DataObjectReference': true,
'bpmn:DataInput': true,
- 'bpmn:DataOutput': true,
+ 'bpmn:DataOutput': true,
'bpmn:Group': true,
'bpmn:SequenceFlow': true,
@@ -88500,7 +88500,7 @@ importBpmnDiagram.prototype.checkElement = function (element) {
'bpmn:DataInputAssociation': true,
'bpmn:MessageFlow': true,
- 'bpmn:StartEvent':{
+ 'bpmn:StartEvent':{
'bpmn:MessageEventDefinition': true,
'bpmn:TimerEventDefinition': true,
'bpmn:ConditionalEventDefinition': true,
@@ -88510,10 +88510,10 @@ importBpmnDiagram.prototype.checkElement = function (element) {
'bpmn:TerminateEventDefinition':false,
'bpmn:MultipleEventDefinition':false,
'bpmn:EscalationEventDefinition':false,
- 'empty':true
+ 'empty':true
},
- 'bpmn:EndEvent':{
+ 'bpmn:EndEvent':{
'bpmn:MessageEventDefinition': true,
'bpmn:TimerEventDefinition': false,
'bpmn:ConditionalEventDefinition': false,
@@ -88523,8 +88523,8 @@ importBpmnDiagram.prototype.checkElement = function (element) {
'bpmn:TerminateEventDefinition':true,
'bpmn:MultipleEventDefinition':false,
'bpmn:EscalationEventDefinition':false,
- 'bpmn:CancelEventDefinition':false,
- 'empty':true
+ 'bpmn:CancelEventDefinition':false,
+ 'empty':true
},
'bpmn:IntermediateCatchEvent':{
@@ -88536,12 +88536,12 @@ importBpmnDiagram.prototype.checkElement = function (element) {
'bpmn:ErrorEventDefinition': false,
'bpmn:TerminateEventDefinition':false,
'bpmn:MultipleEventDefinition':false,
- 'bpmn:EscalationEventDefinition':false,
+ 'bpmn:EscalationEventDefinition':false,
'bpmn:LinkEventDefinition':false,
- 'empty':false
+ 'empty':false
},
-
- 'bpmn:IntermediateThrowEvent':{
+
+ 'bpmn:IntermediateThrowEvent':{
'bpmn:MessageEventDefinition': true,
'bpmn:TimerEventDefinition': false,
'bpmn:ConditionalEventDefinition': false,
@@ -88550,11 +88550,11 @@ importBpmnDiagram.prototype.checkElement = function (element) {
'bpmn:ErrorEventDefinition': false,
'bpmn:TerminateEventDefinition':false,
'bpmn:MultipleEventDefinition':false,
- 'bpmn:EscalationEventDefinition':false,
+ 'bpmn:EscalationEventDefinition':false,
'bpmn:LinkEventDefinition':false,
- 'empty':false
+ 'empty':false
},
-
+
'bpmn:BoundaryEvent':{
'bpmn:MessageEventDefinition': false, //true
'bpmn:TimerEventDefinition': false, //true
@@ -88564,10 +88564,10 @@ importBpmnDiagram.prototype.checkElement = function (element) {
'bpmn:ErrorEventDefinition': false, //true
'bpmn:TerminateEventDefinition':false,
'bpmn:MultipleEventDefinition':false,
- 'bpmn:EscalationEventDefinition':false,
+ 'bpmn:EscalationEventDefinition':false,
'bpmn:LinkEventDefinition':false,
'empty':false
- },
+ },
};
type = element.$type;
@@ -88576,8 +88576,8 @@ importBpmnDiagram.prototype.checkElement = function (element) {
marker = element.eventDefinitions[0].$type;
}else{
if(element.$type == 'bpmn:StartEvent' || element.$type == 'bpmn:IntermediateThrowEvent' || element.$type == 'bpmn:IntermediateCatchEvent' || element.$type == 'bpmn:BoundaryEvent')
- marker = "empty";
- }
+ marker = "empty";
+ }
//for subprocess
if (element.loopCharacteristics) {
@@ -88593,54 +88593,54 @@ importBpmnDiagram.prototype.checkElement = function (element) {
}
}else{
PMDesigner.project.setXMLSupported(false);
- }
+ }
}else{
if(this.checkParametersOfElement(element)){
if(!validation[type]){
PMDesigner.project.setXMLSupported(false);
- }
+ }
}else{
PMDesigner.project.setXMLSupported(false);
}
-
+
}
};
importBpmnDiagram.prototype.checkParametersOfElement= function (element) {
if(element.$type == 'bpmn:StartEvent'){
if(element.isInterrupting == false){
- return false;
+ return false;
}
if(element.parallelMultiple == true){
- return false;
+ return false;
}
}
if(element.$type == 'bpmn:IntermediateThrowEvent' || element.$type == 'bpmn:IntermediateCatchEvent'){
if(element.isInterrupting == false){
- return false;
+ return false;
}
}
if(element.$type == 'bpmn:IntermediateThrowEvent' || element.$type == 'bpmn:IntermediateCatchEvent'){
if(element.isInterrupting == false){
- return false;
+ return false;
}
}
if(element.$type == 'bpmn:DataObjectReference'){
if(element.dataObjectRef.isCollection == true){
- return false;
+ return false;
}
}
if(element.$type == 'bpmn:DataInput'){
if(element.isCollection == true){
- return false;
+ return false;
}
}
if(element.$type == 'bpmn:DataOutput'){
if(element.isCollection == true){
- return false;
+ return false;
}
- }
-
+ }
+
return true;
};
@@ -88907,9 +88907,9 @@ importBpmnDiagram.prototype.getState = function (element) {
* @param element
*/
importBpmnDiagram.prototype.validateElementsForDesigner = function (mapType, marker) {
- var resp = true,
+ var resp = true,
validation;
- validation ={
+ validation ={
'bpmn:EndEvent':{
'MESSAGETHROW':true,
'TIMER':false,
@@ -88928,12 +88928,12 @@ importBpmnDiagram.prototype.validateElementsForDesigner = function (mapType, mar
'SIGNALCATCH':true,
'COMPENSATIONTHROW':false,
'MULTIPLECATCH':false,
- 'PARALLELCATCH':false
+ 'PARALLELCATCH':false
},
'bpmn:IntermediateThrowEvent':{
'MESSAGETHROW':true,
- 'SIGNALTHROW':true,
- 'SCALATIONTHROW':false,
+ 'SIGNALTHROW':true,
+ 'SCALATIONTHROW':false,
'COMPENSATIONTHROW':false,
'LINKTHROW':false
},
@@ -88946,14 +88946,14 @@ importBpmnDiagram.prototype.validateElementsForDesigner = function (mapType, mar
'COMPENSATIONTHROW':false,
'MULTIPLECATCH':false,
'PARALLELCATCH':false,
- 'ERRORTHROW':true
+ 'ERRORTHROW':true
}
};
if(validation[mapType]){
if(typeof validation[mapType][marker] !== "undefined"){
return validation[mapType][marker];
- }
+ }
}
return resp;
};
@@ -89547,11 +89547,11 @@ SuggestField.prototype.isValid = function () {
/**
* Set the style for the input field
- *
- * @param {string} border
- * @param {string} borderRadius
- * @param {string} color
- * @param {string} outline
+ *
+ * @param {string} border
+ * @param {string} borderRadius
+ * @param {string} color
+ * @param {string} outline
*/
SuggestField.prototype.repaint = function (border, borderRadius, color, outline) {
var that = this;
@@ -90718,7 +90718,7 @@ FormDesigner.leftPad = function (string, length, fill) {
flagUpper = false;
}
} else {
- i += 1;
+ i += 1;
stringAux += " " + name.charAt(i).toUpperCase();
}
i += 1;
@@ -90898,6 +90898,12 @@ FormDesigner.leftPad = function (string, length, fill) {
type: "textarea",
placeholder: "Required field error message".translate()
};
+ this.loadDropdownOptions = {
+ label: "Load dropdown options".translate(),
+ value: "",
+ type: "textarea",
+ placeholder: "payload".translate()
+ };
this.maxLength = {label: "max length".translate(), value: 1000, type: "text", regExp: /^[0-9]+$/};
this.formula = {label: "formula".translate(), value: "", type: "button", labelButton: "edit...".translate()};
this.mode = {
@@ -91285,7 +91291,7 @@ FormDesigner.leftPad = function (string, length, fill) {
}
if (type === FormDesigner.main.TypesControl.dropdown) {
this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex",
- "defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "mode", "datasource",
+ "defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "loadDropdownOptions", "mode", "datasource",
"dbConnection", "dbConnectionLabel", "sql", "memoryCache", "dataVariable", "options"];
if (this.owner instanceof FormDesigner.main.GridItem) {
this.pf.push("columnWidth");
@@ -91340,7 +91346,7 @@ FormDesigner.leftPad = function (string, length, fill) {
}
if (type === FormDesigner.main.TypesControl.suggest) {
this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex",
- "defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "mode", "datasource",
+ "defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "loadDropdownOptions", "mode", "datasource",
"dbConnection", "dbConnectionLabel", "sql", "memoryCache", "dataVariable", "options", "delay", "resultsLimit",
"forceSelection"];
if (this.owner instanceof FormDesigner.main.GridItem) {
@@ -92385,7 +92391,7 @@ FormDesigner.leftPad = function (string, length, fill) {
if (this.dirty === null && !validateValue) { // First Time set tab index
validateValue = true;
value = "";
- }
+ }
if (!validateValue) {
messageDialog = 'The value provided for the tab index property of the field "{0}" is invalid'.translate([target.properties.id.value]);
dialogMessage = new FormDesigner.main.DialogInvalid(null, prop, "invalid");
@@ -92394,7 +92400,7 @@ FormDesigner.leftPad = function (string, length, fill) {
if(!(!isNaN(parseInt(oldValue)) && Number.isInteger(parseInt(oldValue)) && regExp.test(oldValue)) || oldValue === ""){
oldValue = "";
}
-
+
object = target.properties.set(prop, oldValue);
if (object.node) {
object.node.value = oldValue;
@@ -94793,7 +94799,7 @@ FormDesigner.leftPad = function (string, length, fill) {
button.style.background = "#edb60b";
}
if (type === "success") {
- //green
+ //green
}
};
FormDesigner.extendNamespace('FormDesigner.main.DialogStyle', DialogStyle);
@@ -99133,7 +99139,7 @@ var defaultRules = {
shape.addErrorLog(error);
}
} else {
- var ref = shape.businessObject.elem;
+ var ref = shape.businessObject.elem;
if (ref && ref.incoming && ref.incoming.length > 1) {
error.description = "Diverging gateways expect to receive only one incoming flow. ".translate()
+ "Ignore this warning if your flow is planned to reach to this gateway by only one of the incoming flows at a time".translate();
@@ -100718,7 +100724,7 @@ PMDesigner.autoSaveValue = function (value) {
* < <
* > >
* & &
- *
+ *
* @param {string} label
* @returns {string}
*/
@@ -104498,7 +104504,7 @@ PMDesigner.sidebar.push(
PMDesigner.autoSaveValue(value);
}
}
- ]
+ ]
})
);
ListDynaform = function () {
@@ -108902,7 +108908,7 @@ InputDocument.prototype.build = function () {
changeType,
setMinValue,
getFieldById;
-
+
/**
* Get field by id string, if not found return null.
* @param {string} id
@@ -122437,7 +122443,7 @@ PMDesigner.ProcessFilesManager.createFirst = function (processFileManagerOptionP
handler: function () {
var i, j, idObject, objType, baseEndPointID;
if (flagEdit != 0) {
- //save Configuration Supervisors and Steps(Dyanform - Inputs Documents)
+ //save Configuration Supervisors and Steps(Dyanform - Inputs Documents)
if (gridUserList.getItems().length > 0) {
grid = gridUserList;
for (i = 0; i < arrayObjectUserList.length; i += 1) {
@@ -126228,7 +126234,7 @@ PMDesigner.complexRoutingRule = function (shape) {
loadConnections();
function countActivities() {
- //Important! Any changes to synchronize the assessment of the condition
+ //Important! Any changes to synchronize the assessment of the condition
//of the functions: countActivities and loadActivities
var n = 0, i, dt;
dt = PMDesigner.project.getDirtyObject().diagrams[0].activities;
@@ -134353,7 +134359,7 @@ IntroHelper.prototype.startIntro = function () {
CodeMirror.commands.autocomplete = function (cm) {
CodeMirror.showHint(cm, CodeMirror.phpHint);
};
-
+
getListTrigger(triggerEngine);
getScriptTask();
/*end form*/
@@ -134389,7 +134395,7 @@ IntroHelper.prototype.startIntro = function () {
scriptTaskPropertiesWindow.open();
scriptTaskPropertiesWindow.showFooter();
domSettings();
-
+
$(".showHideScript").on("click", function () {
if (formScriptTask.getItems()[0].items.get(1).isVisible()) {
formScriptTask.getItems()[0].items.get(1).setVisible(false);
@@ -136225,18 +136231,18 @@ SaveAs.prototype.init = function () {
(function(){
var strPluginURL;
tinymce.create('tinymce.plugins.pmGridsPlugin', {
- init: function(ed, url)
- {
+ init: function(ed, url)
+ {
strPluginURL = url; // store the URL for future use..
ed.addCommand('mcepmGrids', function() {
- pmGrids();
+ pmGrids();
});
ed.addButton('pmGrids', {
title: 'pmGrids',
label : ' @#',
cmd: 'mcepmGrids',
image: url + '/img/grids.png'
- });
+ });
},
createControl: function(n, cm) {
return null;
@@ -136255,11 +136261,11 @@ SaveAs.prototype.init = function () {
* @param field_name deprecated
* @param win deprecated
*/
-function pmGrids(field_name, win) {
- //tinyMCE.activeEditor.anyVariable='path/to/ProcessMaker'
- var strPluginPath = tinyMCE.activeEditor.plugins.pmGrids.getPluginURL(); // get the path to the uploader plugin
+function pmGrids(field_name, win) {
+ //tinyMCE.activeEditor.anyVariable='path/to/ProcessMaker'
+ var strPluginPath = tinyMCE.activeEditor.plugins.pmGrids.getPluginURL(); // get the path to the uploader plugin
var strScriptURL = strPluginPath + "/pmGrids.html"; // loading the form
-
+
tinyMCE.activeEditor.windowManager.open({ // open the plugin popup
file : strScriptURL,
title : 'ProcessMaker Grid Wizard',
@@ -136282,7 +136288,7 @@ function pmGrids(field_name, win) {
* @function closePluginPopup
* @description closes the plugin popup
*/
-function closePluginPopup(){
+function closePluginPopup(){
tinyMCEPopup.close(); // close popup window
}
@@ -136305,18 +136311,18 @@ function updateEditorContent(serializedHTML){
(function(){
var strPluginURL;
tinymce.create('tinymce.plugins.pmSimpleUploaderPlugin', {
- init: function(ed, url)
+ init: function(ed, url)
{
strPluginURL = url; // store the URL for future use..
ed.addCommand('mcepmSimpleUploader', function() {
- pmSimpleUploader();
+ pmSimpleUploader();
});
ed.addButton('pmSimpleUploader', {
title: 'pmSimpleUploader',
label : 'Upload File',
cmd: 'mcepmSimpleUploader',
image: url + '/img/pmSimpleUploader.png'
- });
+ });
},
createControl: function(n, cm) {
return null;
@@ -136333,30 +136339,30 @@ function updateEditorContent(serializedHTML){
* in the latter case, win and type will be set.. In the rist case, we will just update the main editor window
* with the path of the uploaded file
*/
-function pmSimpleUploader(field_name, url, type, win) {
- var strPluginPath = tinyMCE.activeEditor.plugins.pmSimpleUploader.getPluginURL(); // get the path to the uploader plugin
- var strUploaderURL = strPluginPath + "/uploader.php"; // generate the path to the uploader script
+function pmSimpleUploader(field_name, url, type, win) {
+ var strPluginPath = tinyMCE.activeEditor.plugins.pmSimpleUploader.getPluginURL(); // get the path to the uploader plugin
+ var strUploaderURL = strPluginPath + "/uploader.php"; // generate the path to the uploader script
var strUploadPath = tinyMCE.activeEditor.getParam('plugin_pmSimpleUploader_upload_path'); // get the relative upload path
var strSubstitutePath = tinyMCE.activeEditor.getParam('plugin_pmSimpleUploader_upload_substitute_path'); // get the path we'll substitute for the for the upload path (i.e. fully qualified)
if (strUploaderURL.indexOf("?") < 0){ // if we were called without any GET params
- strUploaderURL = strUploaderURL + "?type=" + type + "&d=" + strUploadPath + "&subs=" + strSubstitutePath; // add our own params
+ strUploaderURL = strUploaderURL + "?type=" + type + "&d=" + strUploadPath + "&subs=" + strSubstitutePath; // add our own params
} else {
strUploaderURL = strUploaderURL + "&type=" + type + "&d=" + strUploadPath + "&subs=" + strSubstitutePath;
}
tinyMCE.activeEditor.windowManager.open({ // open the plugin popup
file : strUploaderURL,
title : 'Upload from file',
- width : 500,
+ width : 500,
height : 100,
- resizable : "yes",
+ resizable : "yes",
inline : 1, // This parameter only has an effect if you use the inlinepopups plugin!
close_previous : "no"
}, {
window : win,
input : field_name
});
-
+
return false;
}
@@ -136366,7 +136372,7 @@ function pmSimpleUploader(field_name, url, type, win) {
* strReturnURL should be the string with the path to the uploaded file
*/
-function closePluginPopup(){
+function closePluginPopup(){
tinyMCEPopup.close(); // close popup window
}
@@ -136387,18 +136393,18 @@ function updateEditorContent(serializedHTML){
var strPluginURL;
// the plugin init settings
tinymce.create('tinymce.plugins.pmVariablePickerPlugin', {
- init: function(ed, url)
- {
+ init: function(ed, url)
+ {
strPluginURL = url; // store the URL for future use..
ed.addCommand('mcepmVariablePicker', function() {
- pmVariablePicker();
+ pmVariablePicker();
});
ed.addButton('pmVariablePicker', {
title: 'pmVariablePicker',
label : ' @#',
cmd: 'mcepmVariablePicker',
image: url + '/img/picker.png'
- });
+ });
},
createControl: function(n, cm) {
return null;
@@ -136411,31 +136417,31 @@ function updateEditorContent(serializedHTML){
})();
// this function can get called from the plugin inint (above) or from the callback on advlink/advimg plugins..
-// in the latter case, win and type will be set..
+// in the latter case, win and type will be set..
/**
* @function pmVariablePicker
* @description Opens the plugin popup, loading the form inside it.
* @param field_name deprecated
* @param type deprecated
* @param win deprecated
- *
+ *
*/
-function pmVariablePicker(field_name, type, win) {
-
+function pmVariablePicker(field_name, type, win) {
+
var uloc=String(location);
var new_text = uloc.split('/');
var loc='/'+new_text[3]+'/'+new_text[4]+'/'+new_text[5]+'/controls/varsAjax?displayOption=tinyMCE&sSymbol=@@&&sProcess='+tinyMCE.activeEditor.processID;
- var strPluginPath = tinyMCE.activeEditor.plugins.pmVariablePicker.getPluginURL(); // get the path to the uploader plugin
- var strUploaderURL = strPluginPath + "/uploader.php"; // generate the path to the uploader script
+ var strPluginPath = tinyMCE.activeEditor.plugins.pmVariablePicker.getPluginURL(); // get the path to the uploader plugin
+ var strUploaderURL = strPluginPath + "/uploader.php"; // generate the path to the uploader script
var strUploadPath = tinyMCE.activeEditor.getParam('plugin_pmVariablePicker_upload_path'); // get the relative upload path
var strSubstitutePath = tinyMCE.activeEditor.getParam('plugin_pmVariablePicker_upload_substitute_path'); // get the path we'll substitute for the for the upload path (i.e. fully qualified)
-
+
if (strUploaderURL.indexOf("?") < 0){ // if we were called without any GET params
- strUploaderURL = strUploaderURL + "?type=" + type + "&d=" + strUploadPath + "&subs=" + strSubstitutePath; // add our own params
+ strUploaderURL = strUploaderURL + "?type=" + type + "&d=" + strUploadPath + "&subs=" + strSubstitutePath; // add our own params
} else {
strUploaderURL = strUploaderURL + "&type=" + type + "&d=" + strUploadPath + "&subs=" + strSubstitutePath;
}
- //tinyMCE.activeEditor.anyVariable='path/to/ProcessMaker'
+ //tinyMCE.activeEditor.anyVariable='path/to/ProcessMaker'
tinyMCE.activeEditor.windowManager.open({ // open the plugin popup
file : loc,
title : 'Upload Variable',
@@ -136473,11 +136479,11 @@ function updateEditorContent(serializedHTML){
/**
* @function insertFormVar
- * @description alternate version of updateEditorContent this function is
+ * @description alternate version of updateEditorContent this function is
* compatible with the variable picker calls, also closes the popup
* window
* @param fieldName String deprecated
- * @param serializedHTML String the html code to be added.
+ * @param serializedHTML String the html code to be added.
*/
function insertFormVar(fieldName,serializedHTML){
tinyMCEPopup.execCommand('mceInsertContent', false, serializedHTML);
@@ -146741,7 +146747,7 @@ return CodeMirror;
function forEach(arr, f) {
for (var i = 0, e = arr.length; i < e; ++i) f(arr[i]);
}
-
+
function arrayContains(arr, item) {
if (!Array.prototype.indexOf) {
var i = arr.length;
@@ -146782,51 +146788,51 @@ return CodeMirror;
var SPACE = " ";
var arrayFunctions = [];
-
+
var formatDate = "formatDate";
var formatDateFunction = [formatDate+"($date,$format,$language);",formatDate+"($date,$format);"];
arrayFunctions[formatDate] = formatDateFunction;
-
+
var getCurrentDate = "getCurrentDate";
var getCurrentDateFunction = [getCurrentDate+"()"];
arrayFunctions[getCurrentDate] = getCurrentDateFunction;
-
+
var getCurrentTime = "getCurrentTime";
var getCurrentTimeFunction = [getCurrentTime+"()"];
arrayFunctions[getCurrentTime] = getCurrentTimeFunction;
-
+
var literalDate = "literalDate";
var literalDateFunction = [literalDate+"($date,$Language)",literalDate+"($date)"];
arrayFunctions[literalDate] = literalDateFunction;
-
+
var capitalize = "capitalize";
var capitalizeFunction = [capitalize+"($textToConvert)"];
arrayFunctions[capitalize] = capitalizeFunction;
-
+
var lowerCase = "lowerCase";
var lowerCaseFunction = [lowerCase+"($textToConvert)"];
arrayFunctions[lowerCase] = lowerCaseFunction;
-
+
var upperCase = "upperCase";
var upperCaseFunction = [upperCase+"($textToConvert)"];
arrayFunctions[upperCase] = upperCaseFunction;
-
+
var userInfo = "userInfo";
var userInfoFunction = [userInfo+"($USER_ID)"];
arrayFunctions[userInfo] = userInfoFunction;
-
+
var executeQuery = "executeQuery";
var executeQueryFunction = [executeQuery+"($sqlStatement,$DBConnectionUID)",executeQuery+"($sqlStatement)"];
arrayFunctions[executeQuery] = executeQueryFunction;
-
+
var orderGrid = "orderGrid";
var orderGridFunction = ("orderGrid($gridName,$field,$criteria) orderGrid($gridName,$field)").split(SPACE);
arrayFunctions[orderGrid] = orderGridFunction;
-
+
var evaluateFunction = "evaluateFunction";
var evaluateFunctionFunction = [evaluateFunction+"($gridName,$Expression)"];
arrayFunctions[evaluateFunction] = evaluateFunctionFunction;
-
+
var PMFTotalCalculation = "PMFTotalCalculation";
var PMFTotalCalculationFunction = [PMFTotalCalculation + "($gridName, $field, 'function')"];
arrayFunctions[PMFTotalCalculation] = PMFTotalCalculationFunction;
@@ -146834,87 +146840,87 @@ return CodeMirror;
var PMFTaskCase = "PMFTaskCase";
var PMFTaskCaseFunction = [PMFTaskCase+"($caseId)"];
arrayFunctions[PMFTaskCase] = PMFTaskCaseFunction;
-
+
var PMFTaskList = "PMFTaskList";
var PMFTaskListFunction = [PMFTaskList+"($userId)"];
arrayFunctions[PMFTaskList] = PMFTaskListFunction;
-
+
var PMFUserList = "PMFUserList";
var PMFUserListFunction = [PMFUserList+"()"];
arrayFunctions[PMFUserList] = PMFUserListFunction;
-
+
var PMFGroupList = "PMFGroupList";
var PMFGroupListFunction = [PMFGroupList+"()"];
arrayFunctions[PMFGroupList] = PMFGroupListFunction;
-
+
var PMFRoleList = "PMFRoleList";
var PMFRoleListFunction = [PMFRoleList+"()"];
arrayFunctions[PMFRoleList] = PMFRoleListFunction;
-
+
var PMFCaseList = "PMFCaseList";
var PMFCaseListFunction = [PMFCaseList+"($userId)",PMFCaseList+"()"];
arrayFunctions[PMFCaseList] = PMFCaseListFunction;
-
+
var PMFProcessList = "PMFProcessList";
var PMFProcessListFunction = [PMFProcessList+"()"];
arrayFunctions[PMFProcessList] = PMFProcessListFunction;
-
+
var PMFSendVariables = "PMFSendVariables";
var PMFSendVariablesFunction = [PMFSendVariables+"($caseId,$variables)"];
arrayFunctions[PMFSendVariables] = PMFSendVariablesFunction;
-
+
var PMFDerivateCase = "PMFDerivateCase";
var PMFDerivateCaseFunction = [PMFDerivateCase+"($caseId,$delegation,$executeTriggersBeforeAssigment)",PMFDerivateCase+"($caseId,$delegation)"];
arrayFunctions[PMFDerivateCase] = PMFDerivateCaseFunction;
-
+
var PMFNewCaseImpersonate = "PMFNewCaseImpersonate";
var PMFNewCaseImpersonateFunction = [PMFNewCaseImpersonate+"($processId,$userId,$variables)"];
arrayFunctions[PMFNewCaseImpersonate] = PMFNewCaseImpersonateFunction;
-
+
var PMFNewCase = "PMFNewCase";
var PMFNewCaseFunction = [PMFNewCase+"($processId,$userId,$taskId,$variables)"];
arrayFunctions[PMFNewCase] = PMFNewCaseFunction;
-
+
var PMFPauseCase = "PMFPauseCase";
var PMFPauseCaseFunction = [PMFPauseCase+"($caseUid,$delIndex,$userUid,$unpauseDate)",PMFPauseCase+"($caseUid,$delIndex,$userUid)"];
arrayFunctions[PMFPauseCase] = PMFPauseCaseFunction;
-
+
var PMFAssignUserToGroup = "PMFAssignUserToGroup";
var PMFAssignUserToGroupFunction = [PMFAssignUserToGroup+"($userId,$groupId)"];
arrayFunctions[PMFAssignUserToGroup] = PMFAssignUserToGroupFunction;
-
+
var PMFCreateUser = "PMFCreateUser";
var PMFCreateUserFunction = [PMFCreateUser+"($userId,$password,$firstname,$lastname,$email,$role)"];
arrayFunctions[PMFCreateUser] = PMFCreateUserFunction;
-
+
var PMFUpdateUser = "PMFUpdateUser";
var PMFUpdateUserFunction = [PMFUpdateUser+"($userUid,$userName,$firstName,$lastName,$email,$dueDate,$status,$role,$password)"];
arrayFunctions[PMFUpdateUser] = PMFUpdateUserFunction;
-
+
var PMFInformationUser = "PMFInformationUser";
var PMFInformationUserFunction = [PMFInformationUser+"($userUid)"];
arrayFunctions[PMFInformationUser] = PMFInformationUserFunction;
-
+
var generateCode = "generateCode";
var generateCodeFunction = [generateCode+"($size,$type)"];
arrayFunctions[generateCode] = generateCodeFunction;
-
+
var setCaseTrackerCode = "setCaseTrackerCode";
var setCaseTrackerCodeFunction = [setCaseTrackerCode+"($caseId,$code,$pin)"];
arrayFunctions[setCaseTrackerCode] = setCaseTrackerCodeFunction;
-
+
var jumping = "jumping";
var jumpingFunction = [jumping+"($caseId,$delegation)"];
arrayFunctions[jumping] = jumpingFunction;
-
+
var PMFRedirectToStep = "PMFRedirectToStep";
var PMFRedirectToStepFunction = [PMFRedirectToStep+"($caseId,$delegation,$stepType,$stepId)"];
arrayFunctions[PMFRedirectToStep] = PMFRedirectToStepFunction;
-
+
var pauseCase = "pauseCase";
var pauseCaseFunction = [pauseCase+"($caseId,$delegation,$userId,$unpauseDate)",pauseCase+"($caseId,$delegation,$userId)"];
arrayFunctions[pauseCase] = pauseCaseFunction;
-
+
var PMFUnpauseCase = "PMFUnpauseCase";
var PMFUnpauseCaseFunction = [PMFUnpauseCase+"($caseId,$delegation,$userId,$unpauseDate)",PMFUnpauseCase+"($caseId,$delegation,$userId)"];
arrayFunctions[PMFUnpauseCase] = PMFUnpauseCaseFunction;
@@ -146922,54 +146928,54 @@ return CodeMirror;
var PMFSendMessage = "PMFSendMessage";
var PMFSendMessageFunction = [PMFSendMessage+"($caseId,$from,$to,$cc,$bcc,$subject,$template,$fields,$attachments)",PMFSendMessage+"($caseId,$from,$to,$cc,$bcc,$subject,$template,$fields)",PMFSendMessage+"($caseId,$from,$to,$cc,$bcc,$subject,$template)"];
arrayFunctions[PMFSendMessage] = PMFSendMessageFunction;
-
+
var PMFgetLabelOption = "PMFgetLabelOption";
var PMFgetLabelOptionFunction = [PMFgetLabelOption+"($processId,$dynaformId,$fieldName,$optionId)"];
arrayFunctions[PMFgetLabelOption] = PMFgetLabelOptionFunction;
-
+
var PMFGenerateOutputDocument = "PMFGenerateOutputDocument";
var PMFGenerateOutputDocumentFunction = [PMFGenerateOutputDocument+"($outputID)"];
arrayFunctions[PMFGenerateOutputDocument] = PMFGenerateOutputDocumentFunction;
-
+
var PMFGetUserEmailAddress = "PMFGetUserEmailAddress";
var PMFGetUserEmailAddressFunction = [PMFGetUserEmailAddress+"($id,$APP_UID,$prefix)",PMFGetUserEmailAddress+"($id,$APP_UID)",PMFGetUserEmailAddress+"($id)"];
arrayFunctions[PMFGetUserEmailAddress] = PMFGetUserEmailAddressFunction;
-
+
var PMFGetNextAssignedUser = "PMFGetNextAssignedUser";
var PMFGetNextAssignedUserFunction = (PMFGetNextAssignedUser+"($application,$task)").split(SPACE);
arrayFunctions[PMFGetNextAssignedUser] = PMFGetNextAssignedUserFunction;
-
+
var PMFDeleteCase = "PMFDeleteCase";
var PMFDeleteCaseFunction = ("PMFDeleteCase($caseId)").split(SPACE);
arrayFunctions[PMFDeleteCase] = PMFDeleteCaseFunction;
-
+
var PMFCancelCase = "PMFCancelCase";
var PMFCancelCaseFunction = [PMFCancelCase+"($caseUid,$delIndex,$userUid)"];
arrayFunctions[PMFCancelCase] = PMFCancelCaseFunction;
-
+
var PMFAddInputDocument = "PMFAddInputDocument";
var PMFAddInputDocumentFunction = [PMFAddInputDocument+"($inputDocumentUid,$appDocUid,$docVersion,$appDocType,$appDocComment,$inputDocumentAction,$caseUid,$delIndex,$taskUid,$userUid,$option,$file)",PMFAddInputDocument+"($inputDocumentUid,$appDocUid,$docVersion,$appDocType,$appDocComment,$inputDocumentAction,$caseUid,$delIndex,$taskUid,$userUid,$option)",PMFAddInputDocument+"($inputDocumentUid,$appDocUid,$docVersion,$appDocType,$appDocComment,$inputDocumentAction,$caseUid,$delIndex,$taskUid,$userUid)"];
arrayFunctions[PMFAddInputDocument] = PMFAddInputDocumentFunction;
-
+
var PMFAddCaseNote = "PMFAddCaseNote";
var PMFAddCaseNoteFunction = [PMFAddCaseNote+"($caseUid,$processUid,$taskUid,$userUid,$note,$sendMail)"];
arrayFunctions[PMFAddCaseNote] = PMFAddCaseNoteFunction;
-
+
var PMFGetCaseNotes = "PMFGetCaseNotes";
var PMFGetCaseNotesFunction = [PMFGetCaseNotes+"($applicationID,$type,$userUid);",PMFGetCaseNotes+"($applicationID,$type)",PMFGetCaseNotes+"($applicationID)"];
arrayFunctions[PMFGetCaseNotes] = PMFGetCaseNotesFunction;
-
+
var phpPMFunctions = [formatDate,getCurrentDate,getCurrentTime,literalDate,capitalize,lowerCase,upperCase,userInfo,executeQuery,orderGrid,
evaluateFunction, PMFTotalCalculation, PMFTaskCase,PMFTaskList,PMFUserList,PMFGroupList,PMFRoleList,PMFCaseList,PMFProcessList,PMFSendVariables,PMFDerivateCase,
- PMFNewCaseImpersonate,PMFNewCase,PMFPauseCase,PMFUnpauseCase,PMFAssignUserToGroup,PMFCreateUser,PMFUpdateUser,PMFInformationUser,
- generateCode,setCaseTrackerCode,jumping,PMFRedirectToStep,pauseCase,PMFSendMessage,PMFgetLabelOption,PMFGenerateOutputDocument,
+ PMFNewCaseImpersonate,PMFNewCase,PMFPauseCase,PMFUnpauseCase,PMFAssignUserToGroup,PMFCreateUser,PMFUpdateUser,PMFInformationUser,
+ generateCode,setCaseTrackerCode,jumping,PMFRedirectToStep,pauseCase,PMFSendMessage,PMFgetLabelOption,PMFGenerateOutputDocument,
PMFGetUserEmailAddress,PMFGetNextAssignedUser,PMFDeleteCase,PMFCancelCase,PMFAddInputDocument,PMFAddCaseNote,PMFGetCaseNotes];
var phpKeywords = ("break case catch continue default do else false for function " +
"if new return switch throw true try var while").split(SPACE);
function getCompletions(functionName, keywords, options) {
-
+
var found = [];
function maybeAdd(str) {// for keywords ?
@@ -146983,9 +146989,9 @@ return CodeMirror;
found.push(str);
}
}
-
+
arrayFunction = arrayFunctions[functionName];
-
+
if (arrayFunction != undefined) {
forEach( arrayFunction, yesAdd);
} else {
@@ -146999,7 +147005,7 @@ return CodeMirror;
if ( phpKeywords[index].indexOf(functionName) == 0 ) {
found.push(phpKeywords[index]);
}
- }
+ }
forEach(keywords, maybeAdd);
}
}
@@ -151146,4 +151152,3 @@ CodeMirror.defineMode("sql", function(config, parserConfig) {
dateSQL:
Used for date/time SQL standard syntax, because not all DBMS's support same temporal types.
*/
-