widgets.pbFileViewer.pbFileViewer.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ui-designer-artifact-builder-generator-angularjs Show documentation
Show all versions of ui-designer-artifact-builder-generator-angularjs Show documentation
This module is a generator on AngularJS for Artifact Builder
{
"id" : "pbFileViewer",
"name" : "File Viewer",
"type" : "widget",
"custom" : false,
"modelVersion" : "2.6",
"description" : "Link to display or download a document",
"template" : "@pbFileViewer.tpl.html",
"controller" : "@pbFileViewer.ctrl.js",
"properties" : [
{
"label" : "File source",
"name" : "type",
"help" : "Choose process document if the file is used by a process",
"type" : "choice",
"defaultValue" : "Process document",
"choiceValues" : [
"Process document",
"URL"
],
"bond" : "constant"
},
{
"label" : "URL",
"name" : "url",
"caption" : "External API (variable) or URL",
"help" : "Direct link to an external file",
"showFor" : "properties.type.value === 'URL'",
"type" : "text",
"defaultValue" : "",
"bond" : "expression"
},
{
"label" : "Process document",
"name" : "document",
"caption" : "context.myDocument_ref or myVar.myDocument_ref",
"help" : "Referenced in a case context (current case or other cases)",
"showFor" : "properties.type.value === 'Process document'",
"type" : "text",
"defaultValue" : "",
"bond" : "variable"
},
{
"label" : "Show preview",
"name" : "showPreview",
"caption" : "Only works with formats supported by the browser (by default PDF and image)",
"help" : "Display the document in the page or a form",
"type" : "boolean",
"defaultValue" : true,
"bond" : "expression"
}
],
"assets" : [
{
"id" : "bf7dc770-ed0c-4dc7-82ec-e213dc667848",
"name" : "jquery-3.5.1.min.js",
"type" : "js",
"order" : 3,
"external" : false
},
{
"id" : "a17647eb-fc27-42d4-958a-8a9e3653ca62",
"name" : "jquery.fancybox-1.3.4.pack.js",
"type" : "js",
"order" : 4,
"external" : false
},
{
"id" : "bb93194f-2dde-4620-91a4-69284f4f0b7a",
"name" : "box-viewer.directive.js",
"type" : "js",
"order" : 5,
"external" : false
},
{
"id" : "61df982e-a49f-41fc-9669-37d96cd52f50",
"name" : "jquery.fancybox-1.3.4.css",
"type" : "css",
"order" : 1,
"external" : false
},
{
"id" : "3337ceed-67c7-451e-ba85-b8ebbaa8a6d6",
"name" : "style.css",
"type" : "css",
"order" : 2,
"external" : false
}
],
"requiredModules" : [ ],
"webResources" : [ ],
"icon" : "",
"order" : 16,
"hasHelp" : false
}