21 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/configuration/toolbar-custom-actions.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Activiti Modeler component part of the Activiti project
3 | * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2.1 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 |
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | */
19 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/configuration/properties-custom-controllers.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Activiti Modeler component part of the Activiti project
3 | * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2.1 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 |
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | */
19 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/popups/unsaved-changes.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/app-cfg.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Activiti Modeler component part of the Activiti project
3 | * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2.1 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 |
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | */
19 | 'use strict';
20 |
21 | var ACTIVITI = ACTIVITI || {};
22 |
23 | ACTIVITI.CONFIG = {
24 | 'contextRoot' : '/workflow',
25 | };
26 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/libs/es5-shim-15.3.4.5/tests/helpers/h-matchers.js:
--------------------------------------------------------------------------------
1 | beforeEach(function() {
2 | this.addMatchers({
3 | toExactlyMatch: function(expected) {
4 | var a1, a2,
5 | l, i,
6 | key,
7 | actual = this.actual;
8 |
9 | var getKeys = function(o) {
10 | var a = [];
11 | for(key in o) {
12 | if(o.hasOwnProperty(key)) {
13 | a.push(key);
14 | }
15 | }
16 | return a;
17 | }
18 | a1 = getKeys(actual);
19 | a2 = getKeys(expected);
20 |
21 | l = a1.length;
22 | if(l !== a2.length) {
23 | return false;
24 | }
25 | for(i = 0; i < l; i++) {
26 | key = a1[i];
27 | expect(key).toEqual(a2[i]);
28 | expect(actual[key]).toEqual(expected[key]);
29 | }
30 |
31 | return true;
32 | }
33 | })
34 | });
35 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/libs/angular-translate-loader-static-files/angular-translate-loader-static-files.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * angular-translate - v2.4.2 - 2014-10-21
3 | * http://github.com/angular-translate/angular-translate
4 | * Copyright (c) 2014 ; Licensed MIT
5 | */
6 | angular.module('pascalprecht.translate').factory('$translateStaticFilesLoader', [
7 | '$q',
8 | '$http',
9 | function ($q, $http) {
10 | return function (options) {
11 | if (!options || (!angular.isString(options.prefix) || !angular.isString(options.suffix))) {
12 | throw new Error('Couldn\'t load static files, no prefix or suffix specified!');
13 | }
14 | var deferred = $q.defer();
15 | $http(angular.extend({
16 | url: [
17 | options.prefix,
18 | options.key,
19 | options.suffix
20 | ].join(''),
21 | method: 'GET',
22 | params: ''
23 | }, options.$http)).success(function (data) {
24 | deferred.resolve(data);
25 | }).error(function (data) {
26 | deferred.reject(options.key);
27 | });
28 | return deferred.promise;
29 | };
30 | }
31 | ]);
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/partials/stencil-item-template.html:
--------------------------------------------------------------------------------
1 |
2 |
4 | {{group.name}}
5 |
6 |
7 |
8 |
12 |
13 |
14 |
15 |
16 |
23 |
24 |
25 | {{item.name}}
26 |
27 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/libs/json3_3.2.6/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2012-2013 Kit Cambridge.
2 | http://kitcambridge.be/
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining a copy of
5 | this software and associated documentation files (the "Software"), to deal in
6 | the Software without restriction, including without limitation the rights to
7 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
8 | of the Software, and to permit persons to whom the Software is furnished to do
9 | so, subject to the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be included in all
12 | copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20 | SOFTWARE.
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/libs/es5-shim-15.3.4.5/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | Copyright 2009, 2010 Kristopher Michael Kowal. All rights reserved.
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to
5 | deal in the Software without restriction, including without limitation the
6 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7 | sell copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19 | IN THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/editor-config.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Activiti Modeler component part of the Activiti project
3 | * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2.1 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 |
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | */
19 | 'use strict';
20 |
21 | var KISBPM = KISBPM || {};
22 |
23 | KISBPM.CONFIG = {
24 | 'showRemovedProperties' : false
25 | };
26 |
27 | KISBPM.HEADER_CONFIG = {
28 | 'showAppTitle' : true,
29 | 'showHeaderMenu' : true,
30 | 'showMainNavigation' : true,
31 | 'showPageHeader' : true
32 | };
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/configuration/properties/condition-expression-popup.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
PROPERTY.SEQUENCEFLOW.CONDITION.TITLE
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/libs/es5-shim-15.3.4.5/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "es5-shim",
3 | "version": "2.1.0",
4 | "description": "ES5 as implementable on previous engines",
5 | "homepage": "http://github.com/kriskowal/es5-shim/",
6 | "contributors": [
7 | "Kris Kowal (http://github.com/kriskowal/)",
8 | "Sami Samhuri (http://samhuri.net/)",
9 | "Florian Schäfer (http://github.com/fschaefer)",
10 | "Irakli Gozalishvili (http://jeditoolkit.com)",
11 | "Kit Cambridge (http://kitcambridge.github.com)"
12 | ],
13 | "bugs": {
14 | "mail": "kris@cixar.com",
15 | "url": "http://github.com/kriskowal/es5-shim/issues"
16 | },
17 | "licenses": [
18 | {
19 | "type": "MIT",
20 | "url": "http://github.com/kriskowal/es5-shim/raw/master/LICENSE"
21 | }
22 | ],
23 | "main": "es5-shim.js",
24 | "repository": {
25 | "type": "git",
26 | "url": "http://github.com/kriskowal/es5-shim.git"
27 | },
28 | "scripts": {
29 | "minify": "uglifyjs es5-shim.js --source-map=es5-shim.map -b ascii_only=true,beautify=false > es5-shim.min.js; uglifyjs es5-sham.js --source-map=es5-sham.map -b ascii_only=true,beautify=false > es5-sham.min.js"
30 | },
31 | "engines": {
32 | "node": ">=0.2.0"
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/header-controller.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Activiti Modeler component part of the Activiti project
3 | * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2.1 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 |
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | */
19 | 'use strict';
20 |
21 | angular.module('activitiModeler')
22 | .controller('HeaderController', ['$rootScope', '$scope', '$http', '$timeout', function ($rootScope, $scope, $http, $timeout) {
23 |
24 | // Add reference to global header-config
25 | $scope.headerConfig = KISBPM.HEADER_CONFIG;
26 |
27 | // TODO: generate setting-menu items
28 |
29 | // TODO: generate user-menu items
30 |
31 | }]);
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/configuration/properties-multiinstance-controller.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Activiti Modeler component part of the Activiti project
3 | * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2.1 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 |
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | */
19 |
20 | /*
21 | * Execution listeners
22 | */
23 |
24 | var KisBpmMultiInstanceCtrl = [ '$scope', function($scope) {
25 |
26 | if ($scope.property.value == undefined && $scope.property.value == null)
27 | {
28 | $scope.property.value = 'None';
29 | }
30 |
31 | $scope.multiInstanceChanged = function() {
32 | $scope.updatePropertyInModel($scope.property);
33 | };
34 | }];
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/configuration/url-config.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Activiti Modeler component part of the Activiti project
3 | * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2.1 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 |
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | */
19 | var KISBPM = KISBPM || {};
20 |
21 | KISBPM.URL = {
22 |
23 | getModel: function(modelId) {
24 | return ACTIVITI.CONFIG.contextRoot + '/model/' + modelId + '/json';
25 | },
26 |
27 | getStencilSet: function() {
28 | return ACTIVITI.CONFIG.contextRoot + '/stencilset.json';
29 | },
30 |
31 | putModel: function(modelId) {
32 | return ACTIVITI.CONFIG.contextRoot + '/model/' + modelId;
33 | }
34 | };
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/libs/es5-shim-15.3.4.5/CONTRIBUTORS.md:
--------------------------------------------------------------------------------
1 |
2 | - kriskowal Kris Kowal Copyright (C) 2009-2011 MIT License
3 | - tlrobinson Tom Robinson Copyright (C) 2009-2010 MIT License (Narwhal
4 | Project)
5 | - dantman Daniel Friesen Copyright (C) 2010 XXX TODO License or CLA
6 | - fschaefer Florian Schäfer Copyright (C) 2010 MIT License
7 | - Gozala Irakli Gozalishvili Copyright (C) 2010 MIT License
8 | - kitcambridge Kit Cambridge Copyright (C) 2011 MIT License
9 | - kossnocorp Sasha Koss XXX TODO License or CLA
10 | - bryanforbes Bryan Forbes XXX TODO License or CLA
11 | - killdream Quildreen Motta Copyright (C) 2011 MIT Licence
12 | - michaelficarra Michael Ficarra Copyright (C) 2011 3-clause BSD
13 | License
14 | - sharkbrainguy Gerard Paapu Copyright (C) 2011 MIT License
15 | - bbqsrc Brendan Molloy (C) 2011 Creative Commons Zero (public domain)
16 | - iwyg XXX TODO License or CLA
17 | - DomenicDenicola Domenic Denicola Copyright (C) 2011 MIT License
18 | - xavierm02 Montillet Xavier Copyright (C) 2011 MIT License
19 | - Raynos Jake Verbaten Copyright (C) 2011 MIT Licence
20 | - samsonjs Sami Samhuri Copyright (C) 2010 MIT License
21 | - rwldrn Rick Waldron Copyright (C) 2011 MIT License
22 | - lexer Alexey Zakharov XXX TODO License or CLA
23 | - 280 North Inc. (Now Motorola LLC, a subsidiary of Google Inc.)
24 | Copyright (C) 2009 MIT License
25 | - Steven Levithan Copyright (C) 2012 MIT License
26 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/libs/es5-shim-15.3.4.5/tests/helpers/h-kill.js:
--------------------------------------------------------------------------------
1 | // This methods allows the killing of built-in functions,
2 | // so the shim can take over with that implementation
3 | var HLP = (function() {
4 | "use strict";
5 | var kill;
6 |
7 | kill = function(_class, methods) {
8 | /*if(!Array.isArray(methods))
9 | return;*/
10 | if(!_class.originals)
11 | _class.originals = {};
12 |
13 | for (var i = 0, len = methods.length; i < len; i++) {
14 | var obj = methods[i];
15 | _class.originals[obj] = _class[obj];
16 | delete _class[obj];
17 | if (obj in _class) {
18 | // try something more aggressive since V8 at least
19 | // appears to ignore the delete.
20 | _class[obj] = null;
21 | if (_class[obj]) {
22 | console.log("Couln't overwrite", obj, "of", _class);
23 | }
24 | }
25 | }
26 | };
27 | return { kill: kill };
28 | }());
29 |
30 | HLP.kill(Function.prototype, [
31 | 'bind'
32 | ]);
33 |
34 | HLP.kill(Array, [
35 | 'isArray'
36 | ]);
37 |
38 | HLP.kill(String.prototype, [
39 | "trim"
40 | ]);
41 |
42 | HLP.kill(Object, [
43 | 'keys'
44 | ]);
45 |
46 | HLP.kill(Number.prototype, [
47 | 'toFixed'
48 | ]);
49 |
50 | HLP.kill(Date, [
51 | 'now', 'parse'
52 | ]);
53 |
54 | HLP.kill(Date.prototype, [
55 | "toJSON", "toISOString"
56 | ]);
57 |
58 | HLP.kill(Array.prototype, [
59 | 'forEach', 'some', 'every',
60 | 'indexOf', 'lastIndexOf',
61 | 'map', 'filter',
62 | 'reduce', 'reduceRight'
63 | ]);
64 |
65 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/libs/es5-shim-15.3.4.5/tests/index.min.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jasmine Spec Runner
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/libs/es5-shim-15.3.4.5/tests/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Jasmine Spec Runner
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/popups/save-model.html:
--------------------------------------------------------------------------------
1 |
2 |
48 |
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/configuration/properties-signal-scope-controller.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Activiti Modeler component part of the Activiti project
3 | * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2.1 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 |
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | */
19 | angular.module('activitiModeler').controller('ActivitiSignalRefCtrl', [ '$scope', function($scope) {
20 |
21 | // Find the parent shape on which the signal definitions are defined
22 | var signalDefinitionsProperty = undefined;
23 | var parent = $scope.selectedShape;
24 | while (parent !== null && parent !== undefined && signalDefinitionsProperty === undefined) {
25 | if (parent.properties && parent.properties['oryx-signaldefinitions']) {
26 | signalDefinitionsProperty = parent.properties['oryx-signaldefinitions'];
27 | } else {
28 | parent = parent.parent;
29 | }
30 | }
31 |
32 | try {
33 | signalDefinitionsProperty = JSON.parse(signalDefinitionsProperty);
34 | if (typeof signalDefinitionsProperty == 'string') {
35 | signalDefinitionsProperty = JSON.parse(signalDefinitionsProperty);
36 | }
37 | } catch (err) {
38 | // Do nothing here, just to be sure we try-catch it
39 | }
40 |
41 | $scope.signalDefinitions = signalDefinitionsProperty;
42 |
43 |
44 | $scope.signalChanged = function() {
45 | $scope.updatePropertyInModel($scope.property);
46 | };
47 | }]);
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/configuration/properties-message-scope-controller.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Activiti Modeler component part of the Activiti project
3 | * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2.1 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 |
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | */
19 |
20 | angular.module('activitiModeler').controller('ActivitiMessageRefCtrl', [ '$scope', function($scope) {
21 |
22 | // Find the parent shape on which the message definitions are defined
23 | var messageDefinitionsProperty = undefined;
24 | var parent = $scope.selectedShape;
25 | while (parent !== null && parent !== undefined && messageDefinitionsProperty === undefined) {
26 | if (parent.properties && parent.properties['oryx-messagedefinitions']) {
27 | messageDefinitionsProperty = parent.properties['oryx-messagedefinitions'];
28 | } else {
29 | parent = parent.parent;
30 | }
31 | }
32 |
33 | try {
34 | messageDefinitionsProperty = JSON.parse(messageDefinitionsProperty);
35 | if (typeof messageDefinitionsProperty == 'string') {
36 | messageDefinitionsProperty = JSON.parse(messageDefinitionsProperty);
37 | }
38 | } catch (err) {
39 | // Do nothing here, just to be sure we try-catch it
40 | }
41 |
42 | $scope.messageDefinitions = messageDefinitionsProperty;
43 |
44 |
45 | $scope.messageChanged = function() {
46 | $scope.updatePropertyInModel($scope.property);
47 | };
48 | }]);
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/configuration/properties-condition-expression-controller.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Activiti Modeler component part of the Activiti project
3 | * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
4 | *
5 | * This library is free software; you can redistribute it and/or
6 | * modify it under the terms of the GNU Lesser General Public
7 | * License as published by the Free Software Foundation; either
8 | * version 2.1 of the License, or (at your option) any later version.
9 | *
10 | * This library is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 | * Lesser General Public License for more details.
14 |
15 | * You should have received a copy of the GNU Lesser General Public
16 | * License along with this library; if not, write to the Free Software
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 | */
19 |
20 | /*
21 | * Condition expression
22 | */
23 |
24 | var KisBpmConditionExpressionCtrl = [ '$scope', '$modal', function($scope, $modal) {
25 |
26 | // Config for the modal window
27 | var opts = {
28 | template: 'editor-app/configuration/properties/condition-expression-popup.html?version=' + Date.now(),
29 | scope: $scope
30 | };
31 |
32 | // Open the dialog
33 | $modal(opts);
34 | }];
35 |
36 | var KisBpmConditionExpressionPopupCtrl = [ '$scope', '$translate', '$http', function($scope, $translate, $http) {
37 |
38 | // Put json representing condition on scope
39 | if ($scope.property.value !== undefined && $scope.property.value !== null) {
40 |
41 | $scope.conditionExpression = {value: $scope.property.value};
42 |
43 | } else {
44 | $scope.conditionExpression = {value: ''};
45 | }
46 |
47 | $scope.save = function() {
48 | $scope.property.value = $scope.conditionExpression.value;
49 | $scope.updatePropertyInModel($scope.property);
50 | $scope.close();
51 | };
52 |
53 | // Close button handler
54 | $scope.close = function() {
55 | $scope.property.mode = 'read';
56 | $scope.$hide();
57 | };
58 | }];
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/diagram-viewer/style.css:
--------------------------------------------------------------------------------
1 | body {
background: #fafafa;
color: #708090;
/* font: 300 100.1% "Helvetica Neue", Helvetica, "Arial Unicode MS", Arial, sans-serif; */
font-family: Verdana, sans-serif, Arial;
font-size: 10px;
}
.wrapper{
height: 100%;
position: relative;
width: 100%;
}
/*
#holder {
height: 480px;
width: 640px;
b_ackground: #F8F8FF;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-webkit-box-shadow: 0 1px 3px #666;
background: #DDD url(./images/bg.png);
/* background: #DDD url(./images/checker-bg.png); * /
b_order:0px solid #dedede;
}
*/
div.diagramHolder {
float:left;
}
div.diagram{
border:1px solid #dedede;
margin: 5px;
padding: 5px;
background: #FFF;
}
div.diagram.hidden{
display:none;
}
svg {
background: #DDD url(./images/bg.png);
}
div.diagram-info {
float:left;
position: relative;
padding: 5px;
}
/* Breadcrumbs */
#diagramBreadCrumbs {
margin-left: 2px;
margin-right: 2px;
margin-top: 10px;
}
#diagramBreadCrumbs ul {
list-style: none;
background-color: white;
border: 1px solid #DEDEDE;
border-color: #C0C2C5;
margin: 0;
margin-bottom: 10px;
margin-left: 0;
-webkit-padding-start: 0px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
#diagramBreadCrumbs li {
/*text-decoration: underline;*/
display: inline-block;
vertical-align: middle;
padding-left: .75em;
padding-right: 0;
cursor: pointer;
}
#diagramBreadCrumbs li.selected {
color: #9370DB;
color: #4876FF;
color: #4F94CD;
font-weight: bold;
}
#diagramBreadCrumbs li span {
background: url(images/breadcrumbs.png) no-repeat 100% 50%;
display: block;
padding: .5em 15px .5em 0;
}
/* Progress bar */
.ui-progressbar {
height: 25px;
/*height:2em; text-align: left; overflow: hidden; */
background: white;
border: 1px solid #949DAD;
margin: 2px;
overflow: hidden;
padding: 1px;
position: relative;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
.ui-progressbar .ui-progressbar-value {
m_argin: -1px;
height:100%;
background: #D4E4FF;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
.ui-widget-header a { color: #222222/*{fcHeader}*/; }
.ui-progressbar .ui-progressbar-label{
position: absolute;
margin-top: 7px;
border:0px solid red;
width: 100%;
text-align: center;
}
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/libs/angular-cookies_1.2.13/angular-cookies.min.js.map:
--------------------------------------------------------------------------------
1 | {
2 | "version":3,
3 | "file":"angular-cookies.min.js",
4 | "lineCount":7,
5 | "mappings":"A;;;;;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAkBC,CAAlB,CAA6B,CAoBtCD,CAAAE,OAAA,CAAe,WAAf,CAA4B,CAAC,IAAD,CAA5B,CAAAC,QAAA,CA4BW,UA5BX,CA4BuB,CAAC,YAAD,CAAe,UAAf,CAA2B,QAAS,CAACC,CAAD,CAAaC,CAAb,CAAuB,CAAA,IACxEC,EAAU,EAD8D,CAExEC,EAAc,EAF0D,CAGxEC,CAHwE,CAIxEC,EAAU,CAAA,CAJ8D,CAKxEC,EAAOV,CAAAU,KALiE,CAMxEC,EAAcX,CAAAW,YAGlBN,EAAAO,UAAA,CAAmB,QAAQ,EAAG,CAC5B,IAAIC,EAAiBR,CAAAC,QAAA,EACjBE,EAAJ,EAA0BK,CAA1B,GACEL,CAGA,CAHqBK,CAGrB,CAFAH,CAAA,CAAKG,CAAL,CAAqBN,CAArB,CAEA,CADAG,CAAA,CAAKG,CAAL,CAAqBP,CAArB,CACA,CAAIG,CAAJ,EAAaL,CAAAU,OAAA,EAJf,CAF4B,CAA9B,CAAA,EAUAL,EAAA,CAAU,CAAA,CAKVL,EAAAW,OAAA,CASAC,QAAa,EAAG,CAAA,IACVC,CADU,CAEVC,CAFU,CAIVC,CAGJ,KAAKF,CAAL,GAAaV,EAAb,CACMI,CAAA,CAAYL,CAAA,CAAQW,CAAR,CAAZ,CAAJ,EACEZ,CAAAC,QAAA,CAAiBW,CAAjB,CAAuBhB,CAAvB,CAKJ,KAAIgB,CAAJ,GAAYX,EAAZ,CAEE,CADAY,CACK,CADGZ,CAAA,CAAQW,CAAR,CACH,CAAAjB,CAAAoB,SAAA,CAAiBF,CAAjB,CAAL,EAMWA,CANX,GAMqBX,CAAA,CAAYU,CAAZ,CANrB,GAOEZ,CAAAC,QAAA,CAAiBW,CAAjB,CAAuBC,CAAvB,CACA,CAAAC,CAAA,CAAU,CAAA,CARZ,EACMnB,CAAAqB,UAAA,CAAkBd,CAAA,CAAYU,CAAZ,CAAlB,CAAJ,CACEX,CAAA,CAAQW,CAAR,CADF,CACkBV,CAAA,CAAYU,CAAZ,CADlB,CAGE,OAAOX,CAAA,CAAQW,CAAR,CASb,IAAIE,CAAJ,CAIE,IAAKF,CAAL,GAFAK,EAEahB,CAFID,CAAAC,QAAA,EAEJA,CAAAA,CAAb,CACMA,CAAA,CAAQW,CAAR,CAAJ,GAAsBK,CAAA,CAAeL,CAAf,CAAtB,GAEMN,CAAA,CAAYW,CAAA,CAAeL,CAAf,CAAZ,CAAJ,CACE,OAAOX,CAAA,CAAQW,CAAR,CADT,CAGEX,CAAA,CAAQW,CAAR,CAHF,CAGkBK,CAAA,CAAeL,CAAf,CALpB,CAlCU,CAThB,CAEA;MAAOX,EA1BqE,CAA3D,CA5BvB,CAAAH,QAAA,CA4HW,cA5HX,CA4H2B,CAAC,UAAD,CAAa,QAAQ,CAACoB,CAAD,CAAW,CAErD,MAAO,KAYAC,QAAQ,CAACC,CAAD,CAAM,CAEjB,MAAO,CADHP,CACG,CADKK,CAAA,CAASE,CAAT,CACL,EAAQzB,CAAA0B,SAAA,CAAiBR,CAAjB,CAAR,CAAkCA,CAFxB,CAZd,KA4BAS,QAAQ,CAACF,CAAD,CAAMP,CAAN,CAAa,CACxBK,CAAA,CAASE,CAAT,CAAA,CAAgBzB,CAAA4B,OAAA,CAAeV,CAAf,CADQ,CA5BrB,QA0CGW,QAAQ,CAACJ,CAAD,CAAM,CACpB,OAAOF,CAAA,CAASE,CAAT,CADa,CA1CjB,CAF8C,CAAhC,CA5H3B,CApBsC,CAArC,CAAA,CAoME1B,MApMF,CAoMUA,MAAAC,QApMV;",
6 | "sources":["angular-cookies.js"],
7 | "names":["window","angular","undefined","module","factory","$rootScope","$browser","cookies","lastCookies","lastBrowserCookies","runEval","copy","isUndefined","addPollFn","currentCookies","$apply","$watch","push","name","value","updated","isString","isDefined","browserCookies","$cookies","get","key","fromJson","put","toJson","remove"]
8 | }
--------------------------------------------------------------------------------
/src/main/resources/static/workflow/editor-app/configuration/properties/subprocess-reference-popup.html:
--------------------------------------------------------------------------------
1 |
2 |