Adding last changes applied in cases list and login pages

This commit is contained in:
Fernando Ontiveros
2025-04-06 22:54:52 +00:00
parent 8a559cadeb
commit 33813f834f
48 changed files with 16782 additions and 3852 deletions

View File

@@ -1 +1 @@
4d5932e1-7aa8f9de bd462bc9-0011253c

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 730 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -9804,7 +9804,7 @@ function getSerializableProperties(element) {
return false; return false;
} }
return p.isMany ? value.length : true; return p.isMany ? value ? value.length : true : true;
}); });
} }
@@ -19178,15 +19178,15 @@ ToolbarPanel.prototype.type = "ToolbarPanel";
ToolbarPanel.prototype.init = function (options) { ToolbarPanel.prototype.init = function (options) {
var defaults = { var defaults = {
buttons: [], fields: [],
tooltip: "", tooltip: "",
width: "96%" width: "96%"
}; };
jQuery.extend(true, defaults, options); jQuery.extend(true, defaults, options);
PMUI.core.Panel.call(this, defaults); PMUI.core.Panel.call(this, defaults);
this.buttons = []; this.fields = [];
this.setTooltip(defaults.tooltip); this.setTooltip(defaults.tooltip);
this.setButtons(defaults.buttons); this.setFields(defaults.fields);
}; };
ToolbarPanel.prototype.setTooltip = function (message) { ToolbarPanel.prototype.setTooltip = function (message) {
if (typeof message === "string") { if (typeof message === "string") {
@@ -19195,17 +19195,18 @@ ToolbarPanel.prototype.setTooltip = function (message) {
return this; return this;
}; };
ToolbarPanel.prototype.setButtons = function (buttons) { ToolbarPanel.prototype.setFields = function (fields) {
var that = this; this.fields = fields;
jQuery.each(buttons, function (index, button) {
that.buttons.push(button);
});
return this; return this;
}; };
ToolbarPanel.prototype.createHTMLButton = function (button) { /**
* Creates html structure for a button
* @param {*} button
*/
ToolbarPanel.prototype.createButtonHTML = function (button) {
var i, var i,
li = PMUI.createHTMLElement('li'), li = PMUI.createHTMLElement("li"),
a = PMUI.createHTMLElement('a'); a = PMUI.createHTMLElement("a");
li.id = button.selector; li.id = button.selector;
li.className = "mafe-toolbarpanel-btn"; li.className = "mafe-toolbarpanel-btn";
@@ -19215,7 +19216,9 @@ ToolbarPanel.prototype.createHTMLButton = function (button) {
content: button.tooltip, content: button.tooltip,
tooltipClass: "mafe-action-tooltip", tooltipClass: "mafe-action-tooltip",
position: { position: {
my: "left top", at: "left bottom", collision: "flipfit" my: "left top",
at: "left bottom",
collision: "flipfit"
} }
}); });
@@ -19227,13 +19230,54 @@ ToolbarPanel.prototype.createHTMLButton = function (button) {
return li; return li;
}; };
/**
* Creates html structure for a switch tongle component
* @param {*} element
* @returns {String}
*/
ToolbarPanel.prototype.createSwitchHTML = function (element) {
var li = PMUI.createHTMLElement("li"),
input = PMUI.createHTMLElement("input"),
label = PMUI.createHTMLElement("label"),
labelDescription = PMUI.createHTMLElement("label");
labelDescription.innerHTML = element.text || '';
labelDescription.className = "tgl-label";
input.type = "checkbox";
li.className = "mafe-toolbarpanel-switch";
input.type = "checkbox";
input.id = element.selector;
input.className = "tgl tgl-light";
input.checked = element.checked || false;
label.htmlFor = element.selector;
label.className = "tgl-btn";
input.addEventListener( 'change', function() {
if (element.checkHandler) {
if(this.checked) {
element.checkHandler(true);
} else {
element.checkHandler(false);
}
}
});
li.appendChild(labelDescription);
li.appendChild(input);
li.appendChild(label);
return li;
};
ToolbarPanel.prototype.createHTML = function () { ToolbarPanel.prototype.createHTML = function () {
var that = this, ul; var that = this,
ul,
html;
PMUI.core.Panel.prototype.setElementTag.call(this, "ul"); PMUI.core.Panel.prototype.setElementTag.call(this, "ul");
PMUI.core.Panel.prototype.createHTML.call(this); PMUI.core.Panel.prototype.createHTML.call(this);
this.html.style.overflow = "visible"; this.html.style.overflow = "visible";
jQuery.each(this.buttons, function (i, button) { jQuery.each(this.fields, function (i, button) {
var html = that.createHTMLButton(button); if (button.type === "button") {
html = that.createButtonHTML(button);
} else if (button.type === "switch") {
html = that.createSwitchHTML(button);
}
that.html.appendChild(html); that.html.appendChild(html);
button.html = html; button.html = html;
}); });
@@ -19242,23 +19286,42 @@ ToolbarPanel.prototype.createHTML = function () {
ToolbarPanel.prototype.activate = function () { ToolbarPanel.prototype.activate = function () {
var that = this; var that = this;
jQuery.each(this.buttons, function (i, b) { jQuery.each(this.fields, function (i, b) {
if (b.type === "button") {
jQuery(b.html).draggable({ jQuery(b.html).draggable({
opacity: 0.7, opacity: 0.7,
helper: "clone", helper: "clone",
cursor: "hand" cursor: "hand"
}); });
}
});
return this;
};
/**
* Enable the actions if the toolbar button has an action and is a button
* @chainable
*/
ToolbarPanel.prototype.enableActions = function () {
jQuery.each(this.fields, function (i, b) {
if (b.type === "button") {
if (b.actions) {
new PMAction(b.actions);
}
}
}); });
return this; return this;
}; };
ToolbarPanel.prototype.getSelectors = function () { ToolbarPanel.prototype.getSelectors = function () {
var selectors = [], that = this; var selectors = [],
jQuery.each(this.buttons, function (i, button) { that = this;
selectors.push('#' + button.selector); jQuery.each(this.fields, function (i, button) {
selectors.push("#" + button.selector);
}); });
return selectors; return selectors;
}; };
var PMProject; var PMProject;
PMProject = function (options) { PMProject = function (options) {
this.diagrams = new PMUI.util.ArrayList(); this.diagrams = new PMUI.util.ArrayList();
@@ -19886,7 +19949,12 @@ PMProject.prototype.addElement = function (element) {
} }
if (!this.loadingProcess) { if (!this.loadingProcess) {
this.setDirty(true); this.setDirty(true);
PMDesigner.connectValidator.bpmnValidator(); if(element.type === "Connection") {
PMDesigner.connectValidator.bpmnValidatorShape(element.relatedObject.destPort.parent);
PMDesigner.connectValidator.bpmnValidatorShape(element.relatedObject.srcPort.parent);
}
PMDesigner.connectValidator.bpmnValidatorShape(element.relatedObject);
//Call to Create callBack //Call to Create callBack
this.listeners.create(this, element); this.listeners.create(this, element);
} }
@@ -19927,16 +19995,17 @@ PMProject.prototype.updateElement = function (updateElement) {
} }
} }
//run the process validator only when the project has been loaded //run the process validator only when the project has been loaded
if(!this.loadingProcess){ if (!this.loadingProcess) {
this.setDirty(true); this.setDirty(true);
PMDesigner.connectValidator.bpmnValidator(); PMDesigner.connectValidator.bpmnValidateOnUpdate(updateElement);
//Call to Update callBack //Call to Update callBack
this.listeners.update(this, updateElement); this.listeners.update(this, updateElement);
} }
}; };
PMProject.prototype.removeElement = function (updateElement) {
PMProject.prototype.removeElement = function (updatedElements) {
var object, var object,
dirtyEmptyCounter, dirtyEmptyCounter,
element, element,
@@ -19946,9 +20015,9 @@ PMProject.prototype.removeElement = function (updateElement) {
emptyObject = {}, emptyObject = {},
currentItem; currentItem;
for (i = 0; i < updateElement.length; i += 1) { for (i = 0; i < updatedElements.length; i += 1) {
element = updateElement[i]; element = updatedElements[i];
currentItem = PMUI.getActiveCanvas().items.find("id", updateElement[i].id); currentItem = PMUI.getActiveCanvas().items.find("id", updatedElements[i].id);
PMUI.getActiveCanvas().items.remove(currentItem); PMUI.getActiveCanvas().items.remove(currentItem);
list = this.getUpdateList(element.type); list = this.getUpdateList(element.type);
@@ -19988,8 +20057,16 @@ PMProject.prototype.removeElement = function (updateElement) {
} }
this.setDirty(true); this.setDirty(true);
//Call to Remove callBack //Call to Remove callBack
this.listeners.remove(this, updateElement); this.listeners.remove(this, updatedElements);
PMDesigner.connectValidator.bpmnValidator();
//validate bpmn rules on remove
for (i = 0; i < updatedElements.length; i += 1) {
if(updatedElements[i].type === "Connection") {
PMDesigner.connectValidator.bpmnValidatorShape(updatedElements[i].destPort.parent);
PMDesigner.connectValidator.bpmnValidatorShape(updatedElements[i].srcPort.parent);
}
}
}; };
PMProject.prototype.formatProperty = function (type, property) { PMProject.prototype.formatProperty = function (type, property) {
@@ -21903,7 +21980,6 @@ PMCanvas.prototype.addConnection = function (conn) {
if (shapeElement instanceof PMGateway) { if (shapeElement instanceof PMGateway) {
shapeElement.evaluateGatewayDirection(); shapeElement.evaluateGatewayDirection();
} }
PMDesigner.project.updateElement([]);
}; };
/** /**
* This method hide all flows into a container (shape); * This method hide all flows into a container (shape);
@@ -25692,8 +25768,6 @@ PMUI.ui.Window.prototype.open = function () {
if (!$.stackModal) { if (!$.stackModal) {
$.stackModal = []; $.stackModal = [];
} }
$(the_window).find(":tabbable:eq(0)").focus(1);
$(the_window).find(":tabbable:eq(1)").focus(1);
$.stackModal.push(the_window); $.stackModal.push(the_window);
$(the_window).on("keydown", function (event) { $(the_window).on("keydown", function (event) {
if (event.keyCode !== $.ui.keyCode.TAB) { if (event.keyCode !== $.ui.keyCode.TAB) {
@@ -25703,10 +25777,14 @@ PMUI.ui.Window.prototype.open = function () {
first = tabbables.filter(':first'), first = tabbables.filter(':first'),
last = tabbables.filter(':last'); last = tabbables.filter(':last');
if (event.target === last[0] && !event.shiftKey) { if (event.target === last[0] && !event.shiftKey) {
if (first && first.focus) {
first.focus(1); first.focus(1);
}
return false; return false;
} else if (event.target === first[0] && event.shiftKey) { } else if (event.target === first[0] && event.shiftKey) {
if (last && last.focus) {
last.focus(1); last.focus(1);
}
return false; return false;
} }
if (event.which === PMDesigner.keyCodeF5) { if (event.which === PMDesigner.keyCodeF5) {
@@ -27756,6 +27834,7 @@ var CriteriaField = function (options) {
this.workspace = null; this.workspace = null;
this.buttonHTML = null; this.buttonHTML = null;
this.rows = options.rows; this.rows = options.rows;
this.options = options;
CriteriaField.prototype.init.call(this, options); CriteriaField.prototype.init.call(this, options);
}; };
@@ -27801,6 +27880,15 @@ CriteriaField.prototype.setControls = function () {
return this; return this;
}; };
/**
* Update the property disable
* @param {boolean} value
*/
CriteriaField.prototype.updateDisabled = function (value) {
this.setDisabled(value);
this.buttonHTML.setDisabled(value);
};
CriteriaField.prototype.createCallBack = function () { CriteriaField.prototype.createCallBack = function () {
var that = this, var that = this,
newValue, newValue,
@@ -27851,6 +27939,9 @@ CriteriaField.prototype.createHTML = function () {
$(this.helper.html).before(button.getHTML()); $(this.helper.html).before(button.getHTML());
this.buttonHTML.style.addProperties({"margin-left": "10px"}); this.buttonHTML.style.addProperties({"margin-left": "10px"});
this.buttonHTML.html.tabIndex = -1; this.buttonHTML.html.tabIndex = -1;
if (typeof this.options.disabled === 'boolean') {
this.buttonHTML.setDisabled(this.options.disabled);
}
if (this.rows != null) if (this.rows != null)
this.controls[0].setHeight(this.rows); this.controls[0].setHeight(this.rows);
@@ -27883,6 +27974,114 @@ PMUI.form.FormItemFactory.prototype.init = function () {
.setDefaultProduct(defaults.defaultProduct); .setDefaultProduct(defaults.defaultProduct);
}; };
var SwitchField = function (options) {
this.renderType = (options && options.renderType) || "text";
PMUI.field.CheckBoxGroupField.call(this, options);
this.process = null;
this.workspace = null;
this.rows = options.rows;
this.options = options;
SwitchField.prototype.init.call(this, options);
};
SwitchField.prototype = new PMUI.field.CheckBoxGroupField();
SwitchField.prototype.setProcess = function (process) {
this.process = process;
return this;
};
SwitchField.prototype.setWorkspace = function (workspace) {
this.workspace = workspace;
return this;
};
SwitchField.prototype.init = function (options) {
var defaults = {
process: PMDesigner.project.projectId,
workspace: WORKSPACE
};
jQuery.extend(true, defaults, options);
this.setProcess(defaults.process)
.setWorkspace(defaults.workspace);
};
SwitchField.prototype.createCallBack = function () {
var that = this,
newValue,
init = 0,
index = 0;
return {
success: function (variable) {
var prevText,
lastText,
htmlControl = that.controls[index].html;
init = htmlControl.selectionStart;
prevText = htmlControl.value.substr(index, init);
lastText = htmlControl.value.substr(htmlControl.selectionEnd, htmlControl.value.length);
newValue = prevText + variable + lastText;
that.setValue(newValue);
that.isValid();
htmlControl.selectionEnd = init + variable.length;
}
};
};
SwitchField.prototype.setPlaceholder = function (placeholder) {}
SwitchField.prototype.setMaxLength = function (placeholder) {}
SwitchField.prototype.setReadOnly = function (placeholder) {}
SwitchField.prototype.createHTML = function () {
PMUI.field.CheckBoxGroupField.prototype.createHTML.call(this);
this.setSwitchStyle();
return this.html;
};
/**
* Set style type switch to checkbox
*/
SwitchField.prototype.setSwitchStyle = function () {
var table,
span,
label;
if (this.html) {
table = this.html.getElementsByTagName("table")[0];
table.setAttribute('style', 'padding: 0px; border:0px');
table.setAttribute('class', '');
span = table.getElementsByTagName("span")[0];
span.setAttribute('class', 'slider round');
label = table.getElementsByTagName("label")[0];
label.setAttribute('class', 'switch');
}
};
// Overwrite original init function for FormItemFactory
PMUI.form.FormItemFactory.prototype.init = function () {
var defaults = {
products: {
"criteria": CriteriaField,
"switch": SwitchField,
"field": PMUI.form.Field,
"panel": PMUI.form.FormPanel,
"text": PMUI.field.TextField,
"password": PMUI.field.PasswordField,
"dropdown": PMUI.field.DropDownListField,
"radio": PMUI.field.RadioButtonGroupField,
"checkbox": PMUI.field.CheckBoxGroupField,
"textarea": PMUI.field.TextAreaField,
"datetime": PMUI.field.DateTimeField,
"optionsSelector": PMUI.field.OptionsSelectorField,
"buttonField": PMUI.field.ButtonField,
"annotation": PMUI.field.TextAnnotationField
},
defaultProduct: "panel"
};
this.setProducts(defaults.products)
.setDefaultProduct(defaults.defaultProduct);
};
var PMTooltipMessage = function (options) { var PMTooltipMessage = function (options) {
PMUI.ui.Window.call(this, options); PMUI.ui.Window.call(this, options);
this.container = null; this.container = null;
@@ -29379,13 +29578,33 @@ ConnectValidator.prototype.bpmnValidator = function () {
} }
return this; return this;
}; };
/**
* Validate un update a bpmn element
* @param {*} updatedElement
*/
ConnectValidator.prototype.bpmnValidateOnUpdate = function (updatedElement) {
for (i = 0; i < updatedElement.length; i += 1) {
if(updatedElement[i].type === "Connection") {
if (updatedElement[i].relatedObject.type === "Port") {
this.bpmnValidatorShape(updatedElement[i].relatedObject.parent);
this.bpmnValidatorShape(updatedElement[i].relatedObject.oldParent);
} else {
this.bpmnValidatorShape(updatedElement[i].relatedObject.destPort.parent);
this.bpmnValidatorShape(updatedElement[i].relatedObject.srcPort.parent);
}
}
}
return this;
};
/** /**
* Validate Shape * Validate Shape
* @param shape * @param shape
* @returns {ConnectValidator} * @returns {ConnectValidator}
*/ */
ConnectValidator.prototype.bpmnValidatorShape = function (shape) { ConnectValidator.prototype.bpmnValidatorShape = function (shape) {
if (shape.validatorMarker) { if (shape && shape.validatorMarker) {
this.bpmnFlowValidator(shape); this.bpmnFlowValidator(shape);
shape.validatorMarker.hide(); shape.validatorMarker.hide();
if (shape.getNumErrors() > 0 && shape.validatorMarker) { if (shape.getNumErrors() > 0 && shape.validatorMarker) {
@@ -31574,9 +31793,11 @@ PMPool.prototype.updateAllLaneDimension = function(avoidWeight) {
dx: 0, dx: 0,
dy: lane.y - laneOldY dy: lane.y - laneOldY
}; };
if (delta.dx > 0 || delta.dy >0){
lane.fixConnectionsOnResize(lane.resizing, true); lane.fixConnectionsOnResize(lane.resizing, true);
lane.laneRefreshConnections(delta); lane.laneRefreshConnections(delta);
} }
}
newWidth = newWidth && !avoidWeight ? newWidth + this.headLineCoord + 2.1: this.getWidth(); newWidth = newWidth && !avoidWeight ? newWidth + this.headLineCoord + 2.1: this.getWidth();
this.setDimension(newWidth, parentHeight); this.setDimension(newWidth, parentHeight);
this.paint(); this.paint();
@@ -37742,6 +37963,13 @@ FormDesigner.leftPad = function (string, length, fill) {
{value: "MB", label: "MB".translate()} {value: "MB", label: "MB".translate()}
] ]
}; };
this.maxFileNumber = {
label: "Max file number".translate(),
value: "0",
type: "text",
regExpNumber: /^\d*$/,
regExpString: /^[@][@%=]+[a-zA-Z\_]{1}\w+$/
};
this.enableVersioning = { this.enableVersioning = {
label: "versioning".translate(), label: "versioning".translate(),
value: false, value: false,
@@ -38117,7 +38345,7 @@ FormDesigner.leftPad = function (string, length, fill) {
if (type === FormDesigner.main.TypesControl.multipleFile) { if (type === FormDesigner.main.TypesControl.multipleFile) {
this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex", "ariaLabel", this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex", "ariaLabel",
"inputDocument", "required", "requiredFieldErrorMessage", "dnd", "extensions", "size", "sizeUnity", "inputDocument", "required", "requiredFieldErrorMessage", "dnd", "extensions", "size", "sizeUnity",
'enableVersioning', "mode", "multiple", "inp_doc_uid"]; "maxFileNumber", "enableVersioning", "mode", "multiple", "inp_doc_uid"];
this.name.type = "hidden"; this.name.type = "hidden";
this.label.type = "text"; this.label.type = "text";
if (this.owner instanceof FormDesigner.main.GridItem) { if (this.owner instanceof FormDesigner.main.GridItem) {
@@ -38957,8 +39185,11 @@ FormDesigner.leftPad = function (string, length, fill) {
regExp, regExp,
type, type,
existRegExp, existRegExp,
dateLimit,
messageDialog, messageDialog,
messageMaxFile = 'Invalid Configuration: the "Max File number" value should be integer.'.translate(),
showMessage = false,
dateLimit,
regExp,
validateValue; validateValue;
switch (prop) { switch (prop) {
case "name": case "name":
@@ -39264,11 +39495,21 @@ FormDesigner.leftPad = function (string, length, fill) {
); );
break; break;
case "tabIndex": case "tabIndex":
validateValue = !isNaN(value) || value === ""; regExp = /^-{0,1}\d+$/;
validateValue = (!isNaN(parseInt(value)) && Number.isInteger(parseInt(value)) && regExp.test(value)) || value === "";
if (this.dirty === null && !validateValue) { // First Time set tab index
validateValue = true;
value = "";
}
if (!validateValue) { if (!validateValue) {
messageDialog = 'The value provided for the tab index property of the field "{0}" is invalid'.translate([target.properties.id.value]); 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");
dialogMessage.onClose = function () { dialogMessage.onClose = function () {
oldValue = target.properties[prop].oldValue; oldValue = target.properties[prop].oldValue;
if(!(!isNaN(parseInt(oldValue)) && Number.isInteger(parseInt(oldValue)) && regExp.test(oldValue)) || oldValue === ""){
oldValue = "";
}
object = target.properties.set(prop, oldValue); object = target.properties.set(prop, oldValue);
if (object.node) { if (object.node) {
object.node.value = oldValue; object.node.value = oldValue;
@@ -39281,6 +39522,21 @@ FormDesigner.leftPad = function (string, length, fill) {
target.properties[prop].value = value; target.properties[prop].value = value;
} }
break; break;
case "maxFileNumber":
if (!target.properties[prop].regExpNumber.test(value)) {
showMessage = (target.variable && target.variable.var_field_type === "grid") || target instanceof FormDesigner.main.GridItem? true : !target.properties[prop].regExpString.test(value);
}
if (showMessage || value === '') {
dialogMessage = new FormDesigner.main.DialogMessage(null, "warning", messageMaxFile);
dialogMessage.onClose = function () {
oldValue = target.properties[prop].oldValue;
object = target.properties.set(prop, oldValue);
if (object.node) {
object.node.value = oldValue;
}
};
}
break;
} }
}; };
this.form1.onSynchronizeVariables = function (variables) { this.form1.onSynchronizeVariables = function (variables) {
@@ -39355,11 +39611,8 @@ FormDesigner.leftPad = function (string, length, fill) {
}; };
Designer.prototype.hide = function () { Designer.prototype.hide = function () {
var a = document.body.childNodes; var a = document.body.childNodes;
for (var i = 0; i < a.length; i++) { for (var i = 0; i < a.length; i++)
if (!($(a[i]).hasClass("ui-datepicker") || $(a[i]).hasClass("ui-autocomplete"))) {
$(a[i]).show(); $(a[i]).show();
}
}
$(this.container).remove(); $(this.container).remove();
this._disposeAuxForm(); this._disposeAuxForm();
$(".loader").hide(); $(".loader").hide();
@@ -41300,7 +41553,16 @@ FormDesigner.leftPad = function (string, length, fill) {
cellValue[0].style.paddingRight = n + "px"; cellValue[0].style.paddingRight = n + "px";
} }
if (propertiesGot[property].type === "datepicker") { if (propertiesGot[property].type === "datepicker") {
// init jQuery datepicker button = $("<img src='" + $.imgUrl + "fd-calendar.png' style='cursor:pointer;position:absolute;top:0;right:" + n + "px;' title='" + "datepicker".translate() + "'>");
button.on("click", function (e) {
e.stopPropagation();
if ($(e.target).data("disabled") === true) {
return;
}
if ($(e.target).data("disabledTodayOption") === true) {
return;
}
// init jQyery datepicker
that.datepicker = that.dateComponentFactory(cellValue, { that.datepicker = that.dateComponentFactory(cellValue, {
minDate: minDate, minDate: minDate,
maxDate: maxDate, maxDate: maxDate,
@@ -41308,7 +41570,8 @@ FormDesigner.leftPad = function (string, length, fill) {
properties.set(property, dateText, cellValue.find("input[type='text']")[0]); properties.set(property, dateText, cellValue.find("input[type='text']")[0]);
}, },
onClose: function (dateText, inst) { onClose: function (dateText, inst) {
$("#ui-datepicker-div").hide(); that.datepicker.datepicker("destroy");
$("#ui-datepicker-div").remove();
}, },
beforeShow: function () { beforeShow: function () {
var params = null; var params = null;
@@ -41333,6 +41596,9 @@ FormDesigner.leftPad = function (string, length, fill) {
return params; return params;
} }
}); });
cellValue.find(".ui-datepicker-trigger").hide();
});
cellValue.append(button);
n = n + 16; n = n + 16;
cellValue[0].style.paddingRight = n + "px"; cellValue[0].style.paddingRight = n + "px";
// init jQuery autocomplete // init jQuery autocomplete
@@ -41403,6 +41669,7 @@ FormDesigner.leftPad = function (string, length, fill) {
return; return;
} }
cellValue.find("input[type='text']").datepicker('hide'); cellValue.find("input[type='text']").datepicker('hide');
$("#ui-datepicker-div").remove();
if (cachekey in that.cache) { if (cachekey in that.cache) {
response(that.cache[cachekey]); response(that.cache[cachekey]);
return; return;
@@ -41479,6 +41746,7 @@ FormDesigner.leftPad = function (string, length, fill) {
onClose: defaults.onClose, onClose: defaults.onClose,
beforeShow: defaults.beforeShow beforeShow: defaults.beforeShow
}).next(".ui-datepicker-trigger").addClass("datetime-gadget-class"); }).next(".ui-datepicker-trigger").addClass("datetime-gadget-class");
datePicker.datepicker("show");
return datePicker; return datePicker;
}; };
/** /**
@@ -43745,7 +44013,7 @@ FormDesigner.leftPad = function (string, length, fill) {
this.message = this.message.replace(/[,\s]+$/, ""); this.message = this.message.replace(/[,\s]+$/, "");
this.dialog.append("<div style='font-size:14px;margin:20px;height:85px;overflow-y:auto;'>" + this.dialog.append("<div style='font-size:14px;margin:20px;height:85px;overflow-y:auto;'>" +
"The imported dynaform include new variables and existing variables that require changes.".translate() + " " + "The imported dynaform includes new variables and existing variables that require changes.".translate() + " " +
"The changed variables have been added with the suffix “_1”.".translate() + " " + "The changed variables have been added with the suffix “_1”.".translate() + " " +
"Please take note of the changes to update your process logic.".translate() + " " + "Please take note of the changes to update your process logic.".translate() + " " +
"The following variables have been created:<br>".translate() + this.message + "The following variables have been created:<br>".translate() + this.message +
@@ -43933,7 +44201,7 @@ FormDesigner.leftPad = function (string, length, fill) {
width: 500, width: 500,
height: 195, height: 195,
resizable: false, resizable: false,
position: ["center", 50], position: { my: "center top+50", at: "center top", of: window },
close: function (event, ui) { close: function (event, ui) {
that.onClose(event, ui); that.onClose(event, ui);
that.dialog.remove(); that.dialog.remove();

View File

@@ -93,11 +93,11 @@
@include font-face("SourceSansProBold", font-files("SourceSansPro-Bold/SourceSansPro-Bold-webfont.ttf", "SourceSansPro-Bold/SourceSansPro-Bold-webfont.eot", "SourceSansPro-Bold/SourceSansPro-Bold-webfont.woff", "SourceSansPro-Bold/SourceSansPro-Bold-webfont.svg"),"SourceSansPro-Bold/SourceSansPro-Bold-webfont.eot");*/ @include font-face("SourceSansProBold", font-files("SourceSansPro-Bold/SourceSansPro-Bold-webfont.ttf", "SourceSansPro-Bold/SourceSansPro-Bold-webfont.eot", "SourceSansPro-Bold/SourceSansPro-Bold-webfont.woff", "SourceSansPro-Bold/SourceSansPro-Bold-webfont.svg"),"SourceSansPro-Bold/SourceSansPro-Bold-webfont.eot");*/
@font-face { @font-face {
font-family: "Chivo"; font-family: "Chivo";
src: url('../fonts/Chivo/Chivo-Black.ttf?1608295698') format('truetype'), url('../fonts/Chivo/Chivo-BlackItalic.ttf?1608295698') format('truetype'), url('../fonts/Chivo/Chivo-Italic.ttf?1608295698') format('truetype'), url('../fonts/Chivo/Chivo-Regular.ttf?1608295698') format('truetype'); src: url('../fonts/Chivo/Chivo-Black.ttf?1728942406') format('truetype'), url('../fonts/Chivo/Chivo-BlackItalic.ttf?1728942406') format('truetype'), url('../fonts/Chivo/Chivo-Italic.ttf?1728942406') format('truetype'), url('../fonts/Chivo/Chivo-Regular.ttf?1728942406') format('truetype');
} }
@font-face { @font-face {
font-family: "Montserrat"; font-family: "Montserrat";
src: url('../fonts/Montserrat/Montserrat-Bold.ttf?1608295698') format('truetype'), url('../fonts/Montserrat/Montserrat-Regular.ttf?1608295698') format('truetype'); src: url('../fonts/Montserrat/Montserrat-Bold.ttf?1728942406') format('truetype'), url('../fonts/Montserrat/Montserrat-Regular.ttf?1728942406') format('truetype');
} }
.pmui-sprite-sprite, .pmui-sprite-arrow-down, .pmui-sprite-arrow-next, .pmui-sprite-arrow-previous, .pmui-sprite-arrow-right, .pmui-sprite-arrow-up, .pmui-sprite-delete-16, .pmui-sprite-error-64, .pmui-sprite-error, .pmui-sprite-grid-arrow-down, .pmui-sprite-grid-arrow-up, .pmui-sprite-help, .pmui-sprite-info-64, .pmui-sprite-information, .pmui-sprite-question-64, .pmui-sprite-success-64, .pmui-sprite-warning-64, .pmui-sprite-warning, .pmui-sprite-window-close, .pmui-accordion-item-closed, .pmui-accordion-item-expanded, .pmui-gridpanel-pagelink.pmui-gridpanel-nextbutton .pmui-icon, .pmui-gridpanel-pagelink.pmui-gridpanel-previousbutton .pmui-icon, .pmui-gridpanelcolumn.pmui-sortable.pmui-sort-asc .pmui-grid-sort-icon, .pmui-gridpanelcolumn.pmui-sortable.pmui-sort-desc .pmui-grid-sort-icon, .pmui-icon-help, .pmui-icon-info, .pmui-icon-error, .pmui-icon-warning, .pmui-messagewindow-icon-error, .pmui-messagewindow-icon-warning, .pmui-messagewindow-icon-info, .pmui-messagewindow-icon-success, .pmui-messagewindow-icon-confirm { .pmui-sprite-sprite, .pmui-sprite-arrow-down, .pmui-sprite-arrow-next, .pmui-sprite-arrow-previous, .pmui-sprite-arrow-right, .pmui-sprite-arrow-up, .pmui-sprite-delete-16, .pmui-sprite-error-64, .pmui-sprite-error, .pmui-sprite-grid-arrow-down, .pmui-sprite-grid-arrow-up, .pmui-sprite-help, .pmui-sprite-info-64, .pmui-sprite-information, .pmui-sprite-question-64, .pmui-sprite-success-64, .pmui-sprite-warning-64, .pmui-sprite-warning, .pmui-sprite-window-close, .pmui-accordion-item-closed, .pmui-accordion-item-expanded, .pmui-gridpanel-pagelink.pmui-gridpanel-nextbutton .pmui-icon, .pmui-gridpanel-pagelink.pmui-gridpanel-previousbutton .pmui-icon, .pmui-gridpanelcolumn.pmui-sortable.pmui-sort-asc .pmui-grid-sort-icon, .pmui-gridpanelcolumn.pmui-sortable.pmui-sort-desc .pmui-grid-sort-icon, .pmui-icon-help, .pmui-icon-info, .pmui-icon-error, .pmui-icon-warning, .pmui-messagewindow-icon-error, .pmui-messagewindow-icon-warning, .pmui-messagewindow-icon-info, .pmui-messagewindow-icon-success, .pmui-messagewindow-icon-confirm {
background-image: url('../img/pmui-sprite-s947c1ade08.png'); background-image: url('../img/pmui-sprite-s947c1ade08.png');
@@ -212,6 +212,250 @@
width: 18px; width: 18px;
} }
.mafe-activity-task {
background-color: white;
border: 2px solid #3b4753;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 12px;
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.mafe-activity-task-disabled {
background-color: white;
border: 2px solid #a5adb4;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 12px;
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
box-sizing: border-box;
}
.pmui-pmactivity .pmui-label span {
color: black;
}
.pmui-pmevent .pmui-label span {
color: black;
}
.pmui-pmgateway .pmui-label span {
color: black;
}
.pmui-pmpool .pmui-label > first-child {
color: black;
}
.rotateText {
color: #3b4753;
}
.mafe-activity-subprocess {
background-color: white;
border: 4px solid #3b4753;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 12px;
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
box-sizing: border-box;
}
.mafe-activity-subprocess-disabled {
background-color: white;
border: 3px solid #a5adb4;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 12px;
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
box-sizing: border-box;
}
.pmui-pmactivity .pmui-label span {
color: black;
}
.pmui-pmdata .pmui-label span {
color: black;
}
.pmui-connection .pmui-label span {
color: black;
}
.mafe-intersection {
bacground-color: black;
}
.dragConnectHandler {
background-color: #FAB606;
border-radius: 50%;
}
/*.dragConnectHandler.ui-draggable-dragging {
background: green;
z-index:200;
}
*/
.dropConnectHandler {
background-color: #3b4753;
border-radius: 50%;
}
/*.dropConnectHandler.ui-draggable-dragging {
background: #0317FC;
z-index:200;
}*/
.dropConnectHandler.ui-state-active {
background: white;
}
.dropConnectHandler .ui-state-hover {
background: green;
}
#buttonCriteriaField {
background: black;
}
.mafe-activity-task-red {
background-color: #ce0615;
border: 1px solid #9f0614;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.list-suggest-item :hover {
background-color: #e0e0e0;
}
.list-suggest-item.single-label :hover {
background-color: initial;
color: white;
}
#ActionsByEmailPanel #customGridPanelControls {
border: 1px solid #c0c0c0;
}
#customGridPanel .pmui-formpanel {
padding: 3px !important;
}
#customGridPanelControls #firstPanel {
float: left;
}
#thirdPanel .pmui-button {
padding: 5px 10px 5px 10px;
width: 75px !important;
}
#thirdPanel .pmui-button {
padding: 5px 10px 5px 10px;
width: 75px !important;
}
.propertiesTask-accordionItem {
right: 6px;
position: absolute;
display: inline-block;
}
.propertiesTask-accordionButton {
padding: 0px 7px 3px 7px;
border: 1px solid;
box-sizing: border-box;
}
.propertiesTask-accordionButton:hover {
background: #2481c5;
}
.mafe-button-delete.propertiesTask-accordionButton,
.mafe-button-edit.propertiesTask-accordionButton {
line-height: initial !important;
border-right: none;
cursor: pointer;
}
.mafe-button-edit.propertiesTask-accordionButton {
border: none;
border-right: 1px solid;
}
#stepsAssignAccordion .pmui-accordion-item-header {
cursor: move;
}
#idAssignment .pmui-accordion-item-header,
#idRouting .pmui-accordion-item-header {
cursor: auto;
}
#stepsAssignTree .pmui-treepanel-list {
width: 300px;
}
#stepsAssignTree .pmui-treepanel-node-collapsed {
cursor: move;
}
#stepsMainContainer .pmui-field-label,
#stepsMainContainer .pmui-textannotationfield {
padding: 0px 10px 0px 10px;
}
#stepsMainContainer .mafe-gridPanel {
margin: 0px !important;
padding: 0px 10px 0px 10px;
border: 1px solid;
border-color: #c0c0c0;
}
#stepsMainContainer .pmui-accordion-item-body {
padding: 3px;
box-sizing: border-box;
}
#stepsAssignAccordion .pmui-accordion-item-title {
width: 400px;
text-transform: none;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: inline-block;
}
#mainContainer #collapse-button {
width: 160px !important;
}
/* Title assignment */ /* Title assignment */
.mafe-designer-assigment-title { .mafe-designer-assigment-title {
left: 15px !important; left: 15px !important;
@@ -839,250 +1083,6 @@ a.mafe-button-create:hover{
cursor: pointer; cursor: pointer;
} }
#buttonCriteriaField {
background: black;
}
.mafe-activity-task-red {
background-color: #ce0615;
border: 1px solid #9f0614;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.list-suggest-item :hover {
background-color: #e0e0e0;
}
.list-suggest-item.single-label :hover {
background-color: initial;
color: white;
}
#ActionsByEmailPanel #customGridPanelControls {
border: 1px solid #c0c0c0;
}
#customGridPanel .pmui-formpanel {
padding: 3px !important;
}
#customGridPanelControls #firstPanel {
float: left;
}
#thirdPanel .pmui-button {
padding: 5px 10px 5px 10px;
width: 75px !important;
}
#thirdPanel .pmui-button {
padding: 5px 10px 5px 10px;
width: 75px !important;
}
.propertiesTask-accordionItem {
right: 6px;
position: absolute;
display: inline-block;
}
.propertiesTask-accordionButton {
padding: 0px 7px 3px 7px;
border: 1px solid;
box-sizing: border-box;
}
.propertiesTask-accordionButton:hover {
background: #2481c5;
}
.mafe-button-delete.propertiesTask-accordionButton,
.mafe-button-edit.propertiesTask-accordionButton {
line-height: initial !important;
border-right: none;
cursor: pointer;
}
.mafe-button-edit.propertiesTask-accordionButton {
border: none;
border-right: 1px solid;
}
#stepsAssignAccordion .pmui-accordion-item-header {
cursor: move;
}
#idAssignment .pmui-accordion-item-header,
#idRouting .pmui-accordion-item-header {
cursor: auto;
}
#stepsAssignTree .pmui-treepanel-list {
width: 300px;
}
#stepsAssignTree .pmui-treepanel-node-collapsed {
cursor: move;
}
#stepsMainContainer .pmui-field-label,
#stepsMainContainer .pmui-textannotationfield {
padding: 0px 10px 0px 10px;
}
#stepsMainContainer .mafe-gridPanel {
margin: 0px !important;
padding: 0px 10px 0px 10px;
border: 1px solid;
border-color: #c0c0c0;
}
#stepsMainContainer .pmui-accordion-item-body {
padding: 3px;
box-sizing: border-box;
}
#stepsAssignAccordion .pmui-accordion-item-title {
width: 400px;
text-transform: none;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
display: inline-block;
}
#mainContainer #collapse-button {
width: 160px !important;
}
.mafe-activity-task {
background-color: white;
border: 2px solid #3b4753;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 12px;
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.mafe-activity-task-disabled {
background-color: white;
border: 2px solid #a5adb4;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 12px;
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
box-sizing: border-box;
}
.pmui-pmactivity .pmui-label span {
color: black;
}
.pmui-pmevent .pmui-label span {
color: black;
}
.pmui-pmgateway .pmui-label span {
color: black;
}
.pmui-pmpool .pmui-label > first-child {
color: black;
}
.rotateText {
color: #3b4753;
}
.mafe-activity-subprocess {
background-color: white;
border: 4px solid #3b4753;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 12px;
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
box-sizing: border-box;
}
.mafe-activity-subprocess-disabled {
background-color: white;
border: 3px solid #a5adb4;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 12px;
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
box-sizing: border-box;
}
.pmui-pmactivity .pmui-label span {
color: black;
}
.pmui-pmdata .pmui-label span {
color: black;
}
.pmui-connection .pmui-label span {
color: black;
}
.mafe-intersection {
bacground-color: black;
}
.dragConnectHandler {
background-color: #FAB606;
border-radius: 50%;
}
/*.dragConnectHandler.ui-draggable-dragging {
background: green;
z-index:200;
}
*/
.dropConnectHandler {
background-color: #3b4753;
border-radius: 50%;
}
/*.dropConnectHandler.ui-draggable-dragging {
background: #0317FC;
z-index:200;
}*/
.dropConnectHandler.ui-state-active {
background: white;
}
.dropConnectHandler .ui-state-hover {
background: green;
}
.pmui { .pmui {
font-family: Chivo-regular, sans-serif; font-family: Chivo-regular, sans-serif;
font-size: inherit; font-size: inherit;

View File

@@ -5656,7 +5656,7 @@ if (typeof exports !== "undefined") {
* @chainable * @chainable
*/ */
Control.prototype.setFocus = function () { Control.prototype.setFocus = function () {
if (this.html) { if (this.html && this.html.focus) {
this.html.focus(); this.html.focus();
} }
}; };
@@ -5904,6 +5904,20 @@ if (typeof exports !== "undefined") {
return this; return this;
}; };
/**
* Set a value in the parameter disabled.
* @param {Boolean} value
*/
TextControl.prototype.setDisabled = function (value) {
if (typeof value === 'boolean') {
this.disabled = value;
if (this.html) {
this.html.disabled = value;
}
} else {
throw new Error("method setDisabled() only accepts boolean values.");
}
};
/** /**
* Set the events for the object. * Set the events for the object.
* @chainable * @chainable
@@ -10758,7 +10772,6 @@ if (typeof exports !== "undefined") {
this.addEvent('click').listen(this.html, function (e) { this.addEvent('click').listen(this.html, function (e) {
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
this.focus();
if (typeof that.handler === 'function') { if (typeof that.handler === 'function') {
that.handler(that); that.handler(that);
} }
@@ -11873,8 +11886,7 @@ if (typeof exports !== "undefined") {
Menu.prototype.show = function (x, y) { Menu.prototype.show = function (x, y) {
var rootMenu = this.getRootMenu(), var rootMenu = this.getRootMenu(),
targetElement = (this.targetElement && this.targetElement.html) || document.body, targetElement = (this.targetElement && this.targetElement.html) || document.body,
zIndex = $(targetElement).zIndex(); zIndex = parseInt(targetElement.style.zIndex);
x = x || 0; x = x || 0;
y = y || 0; y = y || 0;
rootMenu.setPosition({ rootMenu.setPosition({
@@ -13561,7 +13573,7 @@ if (typeof exports !== "undefined") {
j, j,
controls = this.getControls(); controls = this.getControls();
if (this.controls[i]) { if (this.controls[i] && this.controls[i].setFocus) {
this.controls[i].setFocus(); this.controls[i].setFocus();
} }
return this; return this;
@@ -13693,6 +13705,17 @@ if (typeof exports !== "undefined") {
this.controls[0].setMaxLength(maxLength); this.controls[0].setMaxLength(maxLength);
return this; return this;
}; };
/**
* Set the parameter disabled for the control.
* @param {[disabled]} value
* @chainable
*/
TextField.prototype.setDisabled = function (value) {
if (typeof value === 'boolean') {
this.controls[0].setDisabled(value);
}
return this;
};
/** /**
* [getMaxLength description] * [getMaxLength description]
* @return {[type]} [description] * @return {[type]} [description]
@@ -17857,7 +17880,7 @@ if (typeof exports !== "undefined") {
if (this.layout) { if (this.layout) {
this.layout.applyLayout(); this.layout.applyLayout();
} }
if (this.getFields().length) { if (this.getFields().length && this.setFocus) {
this.setFocus(0); this.setFocus(0);
} }
this.setButtonPanelPosition(this.buttonPanelPosition); this.setButtonPanelPosition(this.buttonPanelPosition);
@@ -17910,7 +17933,7 @@ if (typeof exports !== "undefined") {
fields = this.getFields(); fields = this.getFields();
for (j = 0; j < fields.length; j += 1) { for (j = 0; j < fields.length; j += 1) {
if ((!fields[j].isReadOnly || !fields[j].isReadOnly()) && !fields[j].disabled && fields[j].isVisible()) { if ((!fields[j].isReadOnly || !fields[j].isReadOnly()) && !fields[j].disabled && fields[j].isVisible() && fields[j].setFocus) {
fields[j].setFocus(); fields[j].setFocus();
break; break;
} }
@@ -36588,6 +36611,7 @@ if (typeof exports !== "undefined") {
if (parent.getID() !== oldParent.getID()) { if (parent.getID() !== oldParent.getID()) {
oldParent.removePort(port); oldParent.removePort(port);
parent.addPort(port, this.after.x, this.after.y, true); parent.addPort(port, this.after.x, this.after.y, true);
port.oldParent = oldParent;
} else { } else {
parent.definePortPosition(port, parent.definePortPosition(port,
new PMUI.util.Point(this.after.x, this.after.y)); new PMUI.util.Point(this.after.x, this.after.y));
@@ -36634,6 +36658,7 @@ if (typeof exports !== "undefined") {
parent.removePort(port); parent.removePort(port);
oldParent.addPort(port, this.before.x, this.before.y, true); oldParent.addPort(port, this.before.x, this.before.y, true);
port.canvas.regularShapes.insert(port); port.canvas.regularShapes.insert(port);
port.oldParent = parent;
} else { } else {
parent.definePortPosition(port, parent.definePortPosition(port,
new PMUI.util.Point(this.before.x, this.before.y)); new PMUI.util.Point(this.before.x, this.before.y));
@@ -50881,7 +50906,9 @@ if (typeof exports !== "undefined") {
}; };
ButtonField.prototype.click = function () { ButtonField.prototype.click = function () {
if (this.controls[0].click) {
this.controls[0].click(); this.controls[0].click();
}
return this; return this;
}; };
/** /**

View File

@@ -663,7 +663,11 @@
.pmdynaform-file-container, .pmdynaform-file-container,
.pmdynaform-file-container-dotted, .pmdynaform-file-container-dotted,
.pmdynaform-link, .pmdynaform-link,
.pmdynaform-multiplefile-control, .pmdynaform-multiplefile-control {
display: none;
height: 0;
}
.pmdynaform-multiplefile-box, .pmdynaform-multiplefile-box,
.pm-multiplefile-grid, .pm-multiplefile-grid,
.multiplefile-icon, .multiplefile-icon,
@@ -720,7 +724,6 @@
@-moz-document url-prefix() { @-moz-document url-prefix() {
.content-print { .content-print {
position: absolute;
overflow: visible !important; overflow: visible !important;
} }
} }
@@ -743,7 +746,6 @@
.pmdynaform-field .glyphicon-info-sign { .pmdynaform-field .glyphicon-info-sign {
float: right; float: right;
z-index: 2; z-index: 2;
width: 8px;
height: fit-content; height: fit-content;
padding-left: 4px; padding-left: 4px;
} }
@@ -975,6 +977,14 @@ a.form-control {
border: 1px solid #ccc; border: 1px solid #ccc;
} }
.pmdynaform-spaceHint {
width: 20px;
}
.modal-title-upload-modal {
font-size: 18px;
}
textarea { textarea {
resize: vertical; resize: vertical;
} }
@@ -2774,6 +2784,7 @@ textarea {
width: 100%; width: 100%;
color: #555151; color: #555151;
background: #f1f1f1; background: #f1f1f1;
white-space: inherit;
} }
.has-error .btn-uploadfile { .has-error .btn-uploadfile {
@@ -2851,11 +2862,6 @@ textarea {
margin: 0; margin: 0;
} }
.pmdynaform-field-multipleFile {
padding-bottom: 15px !important;
padding-top: 15px !important;
}
.multiplefile-title { .multiplefile-title {
padding-top: 15px; padding-top: 15px;
} }

View File

@@ -127,6 +127,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<span class="content-print"></span> <span class="content-print"></span>
@@ -214,6 +216,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<input type="hidden" <input type="hidden"
@@ -294,6 +298,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -372,6 +378,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -473,6 +481,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -532,7 +542,9 @@
</select> </select>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="top" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<input type="hidden" value="<%-data['label']%>" <input type="hidden" value="<%-data['label']%>"
@@ -622,11 +634,13 @@
<% if(disabled === true){%>disabled<%}%> <% if(disabled === true){%>disabled<%}%>
<% if(multiple === true){%>multiple<%}%> <% if(multiple === true){%>multiple<%}%>
> >
<%if (group === "form"){%> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<%}%> <% } %>
<input type="hidden" <input type="hidden"
<% if (group === "grid") { %> <% if (group === "grid") { %>
id = "form<%-id%>_label" id = "form<%-id%>_label"
@@ -666,7 +680,7 @@
<div id="<%-id%>" class="<%-namespace%>-field-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> <%}%> <%-namespace%>-<%-mode%>-<%-type%> pmdynaform-field"> <div id="<%-id%>" class="<%-namespace%>-field-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> <%}%> <%-namespace%>-<%-mode%>-<%-type%> pmdynaform-field">
<% if(group === "form") {%> <% if(group === "form") {%>
<div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>"> <div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>">
<label for="form[<%-id%>]" class="control-label pmdynaform-label"> <label class="control-label pmdynaform-label">
<span class="textlabel"><%=label%></span> <span class="textlabel"><%=label%></span>
<%if(required){%> <%if(required){%>
<span class="pmdynaform-field-required">*</span> <span class="pmdynaform-field-required">*</span>
@@ -704,6 +718,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -811,7 +827,9 @@
</div> </div>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%=hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -878,7 +896,9 @@
</div> </div>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%=hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -929,6 +949,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -1031,9 +1053,11 @@
</span> </span>
</div> </div>
</div> </div>
<% if (group === 'form') { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class='glyphicon glyphicon-info-sign' data-toggle='tooltip' data-placement='bottom' title='<%-hint%>'></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -1173,8 +1197,9 @@ is called to PMDynaform.view.Radio method "_setOptions()"
</select> </select>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-placement="bottom" <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
title="<%-hint%>"></span> <%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<span class="content-print"></span> <span class="content-print"></span>
@@ -1871,7 +1896,7 @@ is called to PMDynaform.view.Radio method "_setOptions()"
class="<%-namespace%>-field-<%-type%> <%-namespace%>-<%-mode%>-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> pmdynaform-field<%}%>"> class="<%-namespace%>-field-<%-type%> <%-namespace%>-<%-mode%>-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> pmdynaform-field<%}%>">
<div class="row"> <div class="row">
<div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>"> <div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>">
<label for="<%-name%>" class="control-label pmdynaform-label"> <label class="control-label pmdynaform-label">
<span data-toggle="tooltip" data-container="body" data-placement="bottom" class="textlabel"><%= label %></span> <span data-toggle="tooltip" data-container="body" data-placement="bottom" class="textlabel"><%= label %></span>
<%if(required){%> <%if(required){%>
<span class="pmdynaform-field-required">*</span> <span class="pmdynaform-field-required">*</span>
@@ -1994,7 +2019,7 @@ is called to PMDynaform.view.Radio method "_setOptions()"
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
<h4 class="modal-title">&nbsp; </h4> <span class="modal-title-upload-modal">&nbsp; </span>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="row"> <div class="row">

View File

@@ -126,6 +126,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<span class="content-print"></span> <span class="content-print"></span>
@@ -213,6 +215,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<input type="hidden" <input type="hidden"
@@ -293,6 +297,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -371,6 +377,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -472,6 +480,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -531,7 +541,9 @@
</select> </select>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="top" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<input type="hidden" value="<%-data['label']%>" <input type="hidden" value="<%-data['label']%>"
@@ -621,11 +633,13 @@
<% if(disabled === true){%>disabled<%}%> <% if(disabled === true){%>disabled<%}%>
<% if(multiple === true){%>multiple<%}%> <% if(multiple === true){%>multiple<%}%>
> >
<%if (group === "form"){%> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<%}%> <% } %>
<input type="hidden" <input type="hidden"
<% if (group === "grid") { %> <% if (group === "grid") { %>
id = "form<%-id%>_label" id = "form<%-id%>_label"
@@ -665,7 +679,7 @@
<div id="<%-id%>" class="<%-namespace%>-field-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> <%}%> <%-namespace%>-<%-mode%>-<%-type%> pmdynaform-field"> <div id="<%-id%>" class="<%-namespace%>-field-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> <%}%> <%-namespace%>-<%-mode%>-<%-type%> pmdynaform-field">
<% if(group === "form") {%> <% if(group === "form") {%>
<div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>"> <div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>">
<label for="form[<%-id%>]" class="control-label pmdynaform-label"> <label class="control-label pmdynaform-label">
<span class="textlabel"><%=label%></span> <span class="textlabel"><%=label%></span>
<%if(required){%> <%if(required){%>
<span class="pmdynaform-field-required">*</span> <span class="pmdynaform-field-required">*</span>
@@ -703,6 +717,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -810,7 +826,9 @@
</div> </div>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%=hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -877,7 +895,9 @@
</div> </div>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%=hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -928,6 +948,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -1030,9 +1052,11 @@
</span> </span>
</div> </div>
</div> </div>
<% if (group === 'form') { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class='glyphicon glyphicon-info-sign' data-toggle='tooltip' data-placement='bottom' title='<%-hint%>'></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -1172,8 +1196,9 @@ is called to PMDynaform.view.Radio method "_setOptions()"
</select> </select>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-placement="bottom" <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
title="<%-hint%>"></span> <%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<span class="content-print"></span> <span class="content-print"></span>
@@ -1870,7 +1895,7 @@ is called to PMDynaform.view.Radio method "_setOptions()"
class="<%-namespace%>-field-<%-type%> <%-namespace%>-<%-mode%>-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> pmdynaform-field<%}%>"> class="<%-namespace%>-field-<%-type%> <%-namespace%>-<%-mode%>-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> pmdynaform-field<%}%>">
<div class="row"> <div class="row">
<div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>"> <div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>">
<label for="<%-name%>" class="control-label pmdynaform-label"> <label class="control-label pmdynaform-label">
<span data-toggle="tooltip" data-container="body" data-placement="bottom" class="textlabel"><%= label %></span> <span data-toggle="tooltip" data-container="body" data-placement="bottom" class="textlabel"><%= label %></span>
<%if(required){%> <%if(required){%>
<span class="pmdynaform-field-required">*</span> <span class="pmdynaform-field-required">*</span>
@@ -1993,7 +2018,7 @@ is called to PMDynaform.view.Radio method "_setOptions()"
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
<h4 class="modal-title">&nbsp; </h4> <span class="modal-title-upload-modal">&nbsp; </span>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="row"> <div class="row">

View File

@@ -143,6 +143,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<span class="content-print"></span> <span class="content-print"></span>
@@ -230,6 +232,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<input type="hidden" <input type="hidden"
@@ -310,6 +314,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -388,6 +394,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -489,6 +497,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -548,7 +558,9 @@
</select> </select>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="top" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<input type="hidden" value="<%-data['label']%>" <input type="hidden" value="<%-data['label']%>"
@@ -638,11 +650,13 @@
<% if(disabled === true){%>disabled<%}%> <% if(disabled === true){%>disabled<%}%>
<% if(multiple === true){%>multiple<%}%> <% if(multiple === true){%>multiple<%}%>
> >
<%if (group === "form"){%> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<%}%> <% } %>
<input type="hidden" <input type="hidden"
<% if (group === "grid") { %> <% if (group === "grid") { %>
id = "form<%-id%>_label" id = "form<%-id%>_label"
@@ -682,7 +696,7 @@
<div id="<%-id%>" class="<%-namespace%>-field-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> <%}%> <%-namespace%>-<%-mode%>-<%-type%> pmdynaform-field"> <div id="<%-id%>" class="<%-namespace%>-field-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> <%}%> <%-namespace%>-<%-mode%>-<%-type%> pmdynaform-field">
<% if(group === "form") {%> <% if(group === "form") {%>
<div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>"> <div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>">
<label for="form[<%-id%>]" class="control-label pmdynaform-label"> <label class="control-label pmdynaform-label">
<span class="textlabel"><%=label%></span> <span class="textlabel"><%=label%></span>
<%if(required){%> <%if(required){%>
<span class="pmdynaform-field-required">*</span> <span class="pmdynaform-field-required">*</span>
@@ -720,6 +734,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -827,7 +843,9 @@
</div> </div>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%=hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -894,7 +912,9 @@
</div> </div>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%=hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -945,6 +965,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -1047,9 +1069,11 @@
</span> </span>
</div> </div>
</div> </div>
<% if (group === 'form') { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class='glyphicon glyphicon-info-sign' data-toggle='tooltip' data-placement='bottom' title='<%-hint%>'></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -1189,8 +1213,9 @@ is called to PMDynaform.view.Radio method "_setOptions()"
</select> </select>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-placement="bottom" <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
title="<%-hint%>"></span> <%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<span class="content-print"></span> <span class="content-print"></span>
@@ -1887,7 +1912,7 @@ is called to PMDynaform.view.Radio method "_setOptions()"
class="<%-namespace%>-field-<%-type%> <%-namespace%>-<%-mode%>-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> pmdynaform-field<%}%>"> class="<%-namespace%>-field-<%-type%> <%-namespace%>-<%-mode%>-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> pmdynaform-field<%}%>">
<div class="row"> <div class="row">
<div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>"> <div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>">
<label for="<%-name%>" class="control-label pmdynaform-label"> <label class="control-label pmdynaform-label">
<span data-toggle="tooltip" data-container="body" data-placement="bottom" class="textlabel"><%= label %></span> <span data-toggle="tooltip" data-container="body" data-placement="bottom" class="textlabel"><%= label %></span>
<%if(required){%> <%if(required){%>
<span class="pmdynaform-field-required">*</span> <span class="pmdynaform-field-required">*</span>
@@ -2010,7 +2035,7 @@ is called to PMDynaform.view.Radio method "_setOptions()"
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
<h4 class="modal-title">&nbsp; </h4> <span class="modal-title-upload-modal">&nbsp; </span>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="row"> <div class="row">

View File

@@ -143,6 +143,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<span class="content-print"></span> <span class="content-print"></span>
@@ -230,6 +232,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<input type="hidden" <input type="hidden"
@@ -310,6 +314,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -388,6 +394,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -489,6 +497,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -548,7 +558,9 @@
</select> </select>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="top" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<input type="hidden" value="<%-data['label']%>" <input type="hidden" value="<%-data['label']%>"
@@ -638,11 +650,13 @@
<% if(disabled === true){%>disabled<%}%> <% if(disabled === true){%>disabled<%}%>
<% if(multiple === true){%>multiple<%}%> <% if(multiple === true){%>multiple<%}%>
> >
<%if (group === "form"){%> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<%}%> <% } %>
<input type="hidden" <input type="hidden"
<% if (group === "grid") { %> <% if (group === "grid") { %>
id = "form<%-id%>_label" id = "form<%-id%>_label"
@@ -682,7 +696,7 @@
<div id="<%-id%>" class="<%-namespace%>-field-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> <%}%> <%-namespace%>-<%-mode%>-<%-type%> pmdynaform-field"> <div id="<%-id%>" class="<%-namespace%>-field-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> <%}%> <%-namespace%>-<%-mode%>-<%-type%> pmdynaform-field">
<% if(group === "form") {%> <% if(group === "form") {%>
<div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>"> <div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>">
<label for="form[<%-id%>]" class="control-label pmdynaform-label"> <label class="control-label pmdynaform-label">
<span class="textlabel"><%=label%></span> <span class="textlabel"><%=label%></span>
<%if(required){%> <%if(required){%>
<span class="pmdynaform-field-required">*</span> <span class="pmdynaform-field-required">*</span>
@@ -720,6 +734,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -827,7 +843,9 @@
</div> </div>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%=hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -894,7 +912,9 @@
</div> </div>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%=hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -945,6 +965,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -1047,9 +1069,11 @@
</span> </span>
</div> </div>
</div> </div>
<% if (group === 'form') { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class='glyphicon glyphicon-info-sign' data-toggle='tooltip' data-placement='bottom' title='<%-hint%>'></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -1189,8 +1213,9 @@ is called to PMDynaform.view.Radio method "_setOptions()"
</select> </select>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-placement="bottom" <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
title="<%-hint%>"></span> <%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<span class="content-print"></span> <span class="content-print"></span>
@@ -1887,7 +1912,7 @@ is called to PMDynaform.view.Radio method "_setOptions()"
class="<%-namespace%>-field-<%-type%> <%-namespace%>-<%-mode%>-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> pmdynaform-field<%}%>"> class="<%-namespace%>-field-<%-type%> <%-namespace%>-<%-mode%>-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> pmdynaform-field<%}%>">
<div class="row"> <div class="row">
<div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>"> <div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>">
<label for="<%-name%>" class="control-label pmdynaform-label"> <label class="control-label pmdynaform-label">
<span data-toggle="tooltip" data-container="body" data-placement="bottom" class="textlabel"><%= label %></span> <span data-toggle="tooltip" data-container="body" data-placement="bottom" class="textlabel"><%= label %></span>
<%if(required){%> <%if(required){%>
<span class="pmdynaform-field-required">*</span> <span class="pmdynaform-field-required">*</span>
@@ -2010,7 +2035,7 @@ is called to PMDynaform.view.Radio method "_setOptions()"
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
<h4 class="modal-title">&nbsp; </h4> <span class="modal-title-upload-modal">&nbsp; </span>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="row"> <div class="row">

File diff suppressed because it is too large Load Diff

View File

@@ -26,6 +26,10 @@
<script type="text/javascript" src="/lib/pmdynaform/libs/html5/html5.js"></script> <script type="text/javascript" src="/lib/pmdynaform/libs/html5/html5.js"></script>
<script type="text/javascript" src="/lib/pmdynaform/libs/respondjs/respond.min.js"></script> <script type="text/javascript" src="/lib/pmdynaform/libs/respondjs/respond.min.js"></script>
<script type="text/javascript" src="/lib/pmdynaform/libs/bootstrap-notify-3.1.3/bootstrap-notify.min.js"></script> <script type="text/javascript" src="/lib/pmdynaform/libs/bootstrap-notify-3.1.3/bootstrap-notify.min.js"></script>
<script type="text/javascript" src="/lib/pmdynaform/libs/decimal/decimal.js"></script>
<script type="module">
import Decimal from '/lib/pmdynaform/libs/decimal/decimal_m.js';
</script>
</head> </head>
<body style="height:100%"> <body style="height:100%">
<div id="container" style="height:100%;display:none;"></div> <div id="container" style="height:100%;display:none;"></div>
@@ -121,6 +125,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<span class="content-print"></span> <span class="content-print"></span>
@@ -208,6 +214,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<input type="hidden" <input type="hidden"
@@ -288,6 +296,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -366,6 +376,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -467,6 +479,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -526,7 +540,9 @@
</select> </select>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="top" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<input type="hidden" value="<%-data['label']%>" <input type="hidden" value="<%-data['label']%>"
@@ -616,11 +632,13 @@
<% if(disabled === true){%>disabled<%}%> <% if(disabled === true){%>disabled<%}%>
<% if(multiple === true){%>multiple<%}%> <% if(multiple === true){%>multiple<%}%>
> >
<%if (group === "form"){%> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<%}%> <% } %>
<input type="hidden" <input type="hidden"
<% if (group === "grid") { %> <% if (group === "grid") { %>
id = "form<%-id%>_label" id = "form<%-id%>_label"
@@ -660,7 +678,7 @@
<div id="<%-id%>" class="<%-namespace%>-field-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> <%}%> <%-namespace%>-<%-mode%>-<%-type%> pmdynaform-field"> <div id="<%-id%>" class="<%-namespace%>-field-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> <%}%> <%-namespace%>-<%-mode%>-<%-type%> pmdynaform-field">
<% if(group === "form") {%> <% if(group === "form") {%>
<div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>"> <div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>">
<label for="form[<%-id%>]" class="control-label pmdynaform-label"> <label class="control-label pmdynaform-label">
<span class="textlabel"><%=label%></span> <span class="textlabel"><%=label%></span>
<%if(required){%> <%if(required){%>
<span class="pmdynaform-field-required">*</span> <span class="pmdynaform-field-required">*</span>
@@ -698,6 +716,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -805,7 +825,9 @@
</div> </div>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%=hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -872,7 +894,9 @@
</div> </div>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%=hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -923,6 +947,8 @@
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -1025,9 +1051,11 @@
</span> </span>
</div> </div>
</div> </div>
<% if (group === 'form') { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class='glyphicon glyphicon-info-sign' data-toggle='tooltip' data-placement='bottom' title='<%-hint%>'></span> <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
<%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
</div> </div>
@@ -1167,8 +1195,9 @@ is called to PMDynaform.view.Radio method "_setOptions()"
</select> </select>
<% if (group === "form") { %> <% if (group === "form") { %>
<%if (hint !== "" && hint !== null){%> <%if (hint !== "" && hint !== null){%>
<span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-placement="bottom" <span class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-container="body" data-placement="bottom" title="<%-hint%>"></span>
title="<%-hint%>"></span> <%}else{%>
<span class="pmdynaform-spaceHint"></span>
<%}%> <%}%>
<% } %> <% } %>
<span class="content-print"></span> <span class="content-print"></span>
@@ -1865,7 +1894,7 @@ is called to PMDynaform.view.Radio method "_setOptions()"
class="<%-namespace%>-field-<%-type%> <%-namespace%>-<%-mode%>-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> pmdynaform-field<%}%>"> class="<%-namespace%>-field-<%-type%> <%-namespace%>-<%-mode%>-<%-type%> <%if (group === 'form'){%> form-group col-sm-<%-colSpan%> col-md-<%-colSpan%> col-lg-<%-colSpan%> pmdynaform-field<%}%>">
<div class="row"> <div class="row">
<div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>"> <div class="col-sm-<%-colSpanLabel%> col-md-<%-colSpanLabel%> col-lg-<%-colSpanLabel%>">
<label for="<%-name%>" class="control-label pmdynaform-label"> <label class="control-label pmdynaform-label">
<span data-toggle="tooltip" data-container="body" data-placement="bottom" class="textlabel"><%= label %></span> <span data-toggle="tooltip" data-container="body" data-placement="bottom" class="textlabel"><%= label %></span>
<%if(required){%> <%if(required){%>
<span class="pmdynaform-field-required">*</span> <span class="pmdynaform-field-required">*</span>
@@ -1988,7 +2017,7 @@ is called to PMDynaform.view.Radio method "_setOptions()"
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
<h4 class="modal-title">&nbsp; </h4> <span class="modal-title-upload-modal">&nbsp; </span>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="row"> <div class="row">

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
.b-switch[data-v-5d2ba07f]{text-align:center}.settings-radio{font-size:20px;padding-left:10px}.settings-cursive{font-style:italic;font-size:14px}.options-days .btn-default.btn-sm.active{background-color:#0062cc;color:#fff}.btn{background-image:none!important}.row-padding{padding-top:10px}.invalid{width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.b-button{padding-left:30px!important;padding-right:30px!important}.w-box40{display:inline-block;width:10px;height:10px}.b-success{background-color:#2cbc99!important;border-color:#2cbc99!important}.b-danger{background-color:#e4655f!important;border-color:#e4655f!important}.x-container{padding:40px}.VueTables__search-field label{display:none!important}.VueTables th#enable{width:5%}.VueTables th#title{width:25%}.VueTables th#scheduletime{width:50%}.VueTables th#settings{width:20%;color:#fff} .b-switch[data-v-088daffc]{text-align:center}.settings-radio{font-size:20px;padding-left:10px}.settings-cursive{font-style:italic;font-size:14px}.options-days .btn-default.btn-sm.active{background-color:#0062cc;color:#fff}.btn{background-image:none!important}.row-padding{padding-top:10px}.invalid{width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.b-button{padding-left:30px!important;padding-right:30px!important}.w-box40{display:inline-block;width:10px;height:10px}.b-success{background-color:#2cbc99!important;border-color:#2cbc99!important}.b-danger{background-color:#e4655f!important;border-color:#e4655f!important}.x-container{padding:40px}.VueTables__search-field label{display:none!important}.VueTables th#enable{width:5%}.VueTables th#title{width:25%}.VueTables th#scheduletime{width:50%}.VueTables th#settings{width:20%;color:#fff}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"pmui_ver":"0.1.1","pmui_hash":"4d5932e1","mafe_ver":"HEAD.7aa8f9d","mafe_hash":"7aa8f9de","pmdynaform_ver":"HEAD.66a1470","pmdynaform_hash":"66a14701"} {"pmui_ver":"0.1.1","pmui_hash":"bd462bc9","mafe_ver":"HEAD.0011253","mafe_hash":"0011253c","pmdynaform_ver":"HEAD.8481f0d","pmdynaform_hash":"8481f0d4"}