eventman/static/js/eda.stepway.min.js

7 lines
172 KiB
JavaScript
Raw Normal View History

2016-06-18 20:01:17 +02:00
!function(a){function b(a,b,e){return 4===arguments.length?c.apply(this,arguments):void d(a,{declarative:!0,deps:b,declare:e})}function c(a,b,c,e){d(a,{declarative:!1,deps:b,executingRequire:c,execute:e})}function d(a,b){b.name=a,a in n||(n[a]=b),b.normalizedDeps=b.deps}function e(a,b){if(b[a.groupIndex]=b[a.groupIndex]||[],-1==o.call(b[a.groupIndex],a)){b[a.groupIndex].push(a);for(var c=0,d=a.normalizedDeps.length;d>c;c++){var f=a.normalizedDeps[c],g=n[f];if(g&&!g.evaluated){var h=a.groupIndex+(g.declarative!=a.declarative);if(void 0===g.groupIndex||g.groupIndex<h){if(void 0!==g.groupIndex&&(b[g.groupIndex].splice(o.call(b[g.groupIndex],g),1),0==b[g.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");g.groupIndex=h}e(g,b)}}}}function f(a){var b=n[a];b.groupIndex=0;var c=[];e(b,c);for(var d=!!b.declarative==c.length%2,f=c.length-1;f>=0;f--){for(var g=c[f],i=0;i<g.length;i++){var k=g[i];d?h(k):j(k)}d=!d}}function g(a){return s[a]||(s[a]={name:a,dependencies:[],exports:{},importers:[]})}function h(b){if(!b.module){var c=b.module=g(b.name),d=b.module.exports,e=b.declare.call(a,function(a,b){if(c.locked=!0,"object"==typeof a)for(var e in a)d[e]=a[e];else d[a]=b;for(var f=0,g=c.importers.length;g>f;f++){var h=c.importers[f];if(!h.locked)for(var i=0;i<h.dependencies.length;++i)h.dependencies[i]===c&&h.setters[i](d)}return c.locked=!1,b},b.name);c.setters=e.setters,c.execute=e.execute;for(var f=0,i=b.normalizedDeps.length;i>f;f++){var j,k=b.normalizedDeps[f],l=n[k],o=s[k];o?j=o.exports:l&&!l.declarative?j=l.esModule:l?(h(l),o=l.module,j=o.exports):j=m(k),o&&o.importers?(o.importers.push(c),c.dependencies.push(o)):c.dependencies.push(null),c.setters[f]&&c.setters[f](j)}}}function i(a){var b,c=n[a];if(c)c.declarative?l(a,[]):c.evaluated||j(c),b=c.module.exports;else if(b=m(a),!b)throw new Error("Unable to load dependency "+a+".");return(!c||c.declarative)&&b&&b.__useDefault?b["default"]:b}function j(b){if(!b.module){var c={},d=b.module={exports:c,id:b.name};if(!b.executingRequire)for(var e=0,f=b.normalizedDeps.length;f>e;e++){var g=b.normalizedDeps[e],h=n[g];h&&j(h)}b.evaluated=!0;var l=b.execute.call(a,function(a){for(var c=0,d=b.deps.length;d>c;c++)if(b.deps[c]==a)return i(b.normalizedDeps[c]);throw new TypeError("Module "+a+" not declared as a dependency.")},c,d);l&&(d.exports=l),c=d.exports,c&&c.__esModule?b.esModule=c:b.esModule=k(c)}}function k(b){if(b===a)return b;var c={};if("object"==typeof b||"function"==typeof b)if(p){var d;for(var e in b)(d=Object.getOwnPropertyDescriptor(b,e))&&r(c,e,d)}else{var f=b&&b.hasOwnProperty;for(var e in b)(!f||b.hasOwnProperty(e))&&(c[e]=b[e])}return c["default"]=b,r(c,"__useDefault",{value:!0}),c}function l(b,c){var d=n[b];if(d&&!d.evaluated&&d.declarative){c.push(b);for(var e=0,f=d.normalizedDeps.length;f>e;e++){var g=d.normalizedDeps[e];-1==o.call(c,g)&&(n[g]?l(g,c):m(g))}d.evaluated||(d.evaluated=!0,d.module.execute.call(a))}}function m(a){if(u[a])return u[a];if("@node/"==a.substr(0,6))return t(a.substr(6));var b=n[a];if(!b)throw"Module "+a+" not present.";return f(a),l(a,[]),n[a]=void 0,b.declarative&&r(b.module.exports,"__esModule",{value:!0}),u[a]=b.declarative?b.module.exports:b.esModule}var n={},o=Array.prototype.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},p=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(q){p=!1}var r;!function(){try{Object.defineProperty({},"a",{})&&(r=Object.defineProperty)}catch(a){r=function(a,b,c){try{a[b]=c.value||c.get.call(a)}catch(d){}}}}();var s={},t="undefined"!=typeof System&&System._nodeRequire||"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,u={"@empty":{}};return function(a,d,e){return function(f){f(function(f){for(var g={_nodeRequire:t,register:b,registerDynamic:c,get:m,set:function(a,b){u[a]=b},newModule:function(a){return a}},h=0;h<d.length;h++)(function(a,b){b&&b.__esModule?u[a]=b:u[a]=k(b)})(d[h],arguments[h]);e(g);var i=m(a[0]);if(a.length>1)for(var h=1;h<a.length;h++)m(a[h]);return i.__useDefault?i["default"]:i})}}}("undefined"!=typ
d.define=e,c.exports}),a.register("11",[],function(a){"use strict";var b,c,d,e,f,g,h,i;return{setters:[],execute:function(){b={showDebug:!1,configurationModelNumberofLines:1},c=function(){return angular.copy(b)},d={editTab:{active:!0},previewTab:{active:!1,tabVisible:!0,modelsVisible:!0}},e=function(a,b){var c=angular.copy(d);return angular.extend(c.previewTab,{tabVisible:a,modelsVisible:b}),c},f={numColumn:-1,exist:!0,control:{type:"none",key:"none",subtype:"none"}},g=function(){return angular.copy(f)},h={line:-1,activeColumn:1,columns:[{numColumn:1,exist:!0,control:{type:"none",key:"none"}}]},i=function(){return angular.copy(h)},a("initDebugModel",c),a("initTabModel",e),a("initColumnTemplate",g),a("initLineTemplate",i)}}}),a.registerDynamic("12",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports='<div class="modal-header">\n <h3 class="modal-title greyText">\n {{\'SELECT_A_CTRL\' | translate}}\n </h3>\n</div>\n<div class="modal-body">\n <hr/>\n <div class="row">\n <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">\n <h5 class="greyText">\n <i class="fa fa-filter"></i>\n &nbsp;\n {{\'SELECT_CTRL_IN_LIST\' | translate}} :\n </h5>\n </div>\n <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">\n <edit-choose-control\n model-nya-select="editControlModCtrl.modelNyaSelect"\n nya-select-filtered="editControlModCtrl.nyaSelectFiltered"\n select-this-control="editControlModCtrl.selectThisControl(optionId)">\n </edit-choose-control>\n </div>\n </div>\n <hr/>\n <div ng-switch on="editControlModCtrl.nyaSelect.selectedControl">\n <div ng-switch-when="none">\n <div class="row">\n <div class="col-sm-12">\n <h5 class="text-center texteRouge">\n <i class="fa fa-arrow-up"></i>\n &nbsp; {{\'SELECT_A_CTRL\' | translate}}\n </h5>\n </div>\n </div>\n </div>\n <div ng-switch-when="empty">\n <edit-blank-control></edit-blank-control>\n </div>\n <div ng-switch-when="Header">\n <edit-header-control\n nya-select="editControlModCtrl.nyaSelect">\n </edit-header-control>\n </div>\n <div ng-switch-when="Subtitle">\n <edit-sub-title-control\n nya-select="editControlModCtrl.nyaSelect">\n </edit-sub-title-control>\n </div>\n <div ng-switch-when="TextInput">\n <edit-text-input-control\n nya-select="editControlModCtrl.nyaSelect">\n </edit-text-input-control>\n </div>\n <div ng-switch-when="Password">\n <edit-password-control\n nya-select="editControlModCtrl.nyaSelect">\n </edit-password-control>\n </div>\n <div ng-switch-when="Email">\n <edit-email-control\n nya-select="editControlModCtrl.nyaSelect">\n </edit-email-control>\n </div>\n <div ng-switch-when="Date">\n <edit-date-control\n nya-select="editControlModCtrl.nyaSelect"\n demodt="editControlModCtrl.demodt"\n date-options="editControlModCtrl.dateOptions"\n open="editControlModCtrl.open(event)">\n <edit-date-control>\n <div ng-switch-when="Texarea">\n <edit-text-area-control\n nya-select="editControlModCtrl.nyaSelect">\n </edit-text-area-control>\n </div>\n <div ng-switch-when="RichTextEditor">\n <edit-rich-text-editor-control\n nya-select="editControlModCtrl.nyaSelect">\n </edit-rich-text-editor-control>\n </div>\n <div ng-switch-when="Radio">\n <edit-radio-control\n nya-select="editControlModCtrl.nyaSelect"\n radio-row-collection="editControlModCtrl.radioRowCollection"\n new-option-radio="editControlModCtrl.newOptionRadio"\n add-new-option-radio="editControlModCtrl.addNewOptionRadio()"\n up-this-radio-row="editControlModCtrl.upThisRadioRow(index)"\n down-this-radio-row="editControlModCtrl.downThisRadioRow(index)"\n remove-radio-row="editControlModCtrl.removeRadioRow(index)">\n </edit-radio-control>\n </div>\n <div ng-switch-when="Checkbox">\n
2016-06-18 20:01:17 +02:00
d.define=e,c.exports}),a.register("1c",["15","16","1b"],function(a){var b,c,d,e,f;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a["default"]}],execute:function(){"use strict";e="editBasicSelectControl",a("EDIT_BASIC_SELECT_COMPONENT",e),f={template:d,bindings:{nyaSelect:"=",modelbasicSelect:"=",basicSelectRowCollection:"=",newOptionBasicSelect:"=",addNewOptionBasicSelect:"&",upThisRow:"&",downThisRow:"&",removeRow:"&"},controller:function(){function a(){c(this,a)}return b(a,null,[{key:"$inject",get:function(){return[]}}]),a}()},a("editBasicSelectControlComponent",f)}}}),a.registerDynamic("1d",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports='<div class="panel panel-default">\n <div class="panel-body">\n <div class="row">\n <div class="col-md-12">\n <h5 class="greyText">\n <i class="fa fa-eye"></i>\n &nbsp;\n {{\'PREVIEW_TAB\' | translate}} :\n </h5>\n </div>\n </div>\n <hr/>\n <div class="row">\n <div class="col-md-12">\n <div class="form-group">\n <div class="col-md-12">\n <div class="checkbox">\n <label>\n <input\n type="checkbox"\n id="checkBox">\n <span class="blackText">\n {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\n </span>\n <span\n ng-if="$ctrl.nyaSelect.temporyConfig.formlyRequired"\n class="textControlLabel">\n *\n </span>\n </label>\n </div>\n <p class="help-block">\n {{$ctrl.nyaSelect.temporyConfig.formlyDesciption}}\n </p>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<div class="panel panel-default">\n <div class="panel-body">\n <div class="row">\n <div class="col-md-12">\n <h5 class="greyText">\n <i class="fa fa-pencil-square-o"></i>\n &nbsp;\n {{\'EDIT_PROPERTIES\' | translate}} :\n </h5>\n </div>\n </div>\n <hr/>\n <div class="row">\n <div class="form-group">\n <label\n for="inputTextLabelUpdate"\n class="col-lg-3 control-label greyText editPropertiesLabel">\n {{\'LABEL_TEXT\' | translate}} :\n </label>\n <div class="col-lg-9">\n <input\n type="text"\n class="form-control"\n ng-model="$ctrl.nyaSelect.temporyConfig.formlyLabel"\n id="inputTextLabelUpdate"\n placeholder="{{\'ADD_EDIT_LABEL_HERE\' | translate}}">\n </div>\n </div>\n </div>\n <div class="marginTopFivepixels"></div>\n <div class="row">\n <div class="form-group">\n <label\n for="inputTextRequiredUpdate"\n class="col-lg-3 control-label greyText editPropertiesLabel">\n {{\'REQUIRED\' | translate}} :\n </label>\n <div class="col-lg-9">\n <div class="checkboxCssCorrection">&nbsp;</div>\n <input\n type="checkbox"\n ng-model="$ctrl.nyaSelect.temporyConfig.formlyRequired"\n id="inputTextRequiredUpdate">\n </div>\n </div>\n </div>\n <div class="marginTopFivepixels"></div>\n <div class="row">\n <div class="form-group">\n <label\n for="inputTextDescriptionUpdate"\n class="col-lg-3 control-label greyText editPropertiesLabel">\n {{\'DESCRIPTION\' | translate}} :\n </label>\n <div class="col-lg-9">\n <input\n type="text"\n class="form-control"\n ng-model="$ctrl.nyaSelect.temporyConfig.formlyDesciption"\n id="inputTextDescriptionUpdate"\n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n</div>\n',d.define=e,c.exports}),a.register("1e",["15","16","1d"],function(a){var b,c,d,e,f;return{setters:[function(a){b=a["default"]},fu
d.define=e,c.exports}),a.register("2a",["15","16","29"],function(a){var b,c,d,e,f;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a["default"]}],execute:function(){"use strict";e="editRadioControl",a("EDIT_RADIO_CONTROL_COMPONENT",e),f={template:d,bindings:{nyaSelect:"=",radioRowCollection:"=",newOptionRadio:"=",addNewOptionRadio:"&",upThisRadioRow:"&",downThisRadioRow:"&",removeRadioRow:"&"},controller:function(){function a(){c(this,a)}return b(a,null,[{key:"$inject",get:function(){return[]}}]),a}()},a("editRadioControlComponent",f)}}}),a.registerDynamic("2b",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports='<div class="panel panel-default">\n <div class="panel-body">\n <div class="row">\n <div class="col-md-12">\n <h5 class="greyText">\n <i class="fa fa-eye"></i>\n &nbsp;\n {{\'PREVIEW_TAB\' | translate}} :\n </h5>\n </div>\n </div>\n <hr/>\n <div class="row">\n <div class="col-md-12">\n <div class="form-group">\n <label\n for="RichTextEditor"\n class="control-label textControlLabel">\n {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\n <span\n ng-if="$ctrl.nyaSelect.temporyConfig.formlyRequired"\n class="textControlLabel">\n *\n </span>\n </label>\n <div class="">\n <text-angular\n ng-model="$ctrl.model[options.key]">\n </text-angular>\n <p class="help-block">\n {{$ctrl.nyaSelect.temporyConfig.formlyDesciption}}\n </p>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<div class="panel panel-default">\n <div class="panel-body">\n <div class="row">\n <div class="col-md-12">\n <h5 class="greyText">\n <i class="fa fa-pencil-square-o"></i>\n &nbsp;\n {{\'EDIT_PROPERTIES\' | translate}} :\n </h5>\n </div>\n </div>\n <hr/>\n<!-- required can\'t be applied to rich text editor (textAngular) right now -->\n<!--<div class="row">\n <div class="form-group">\n <label\n for="inputTextRequiredUpdate"\n class="col-lg-3 control-label greyText editPropertiesLabel">Required :\n </label>\n <div class="col-lg-9">\n <div class="checkboxCssCorrection">\n &nbsp;\n </div>\n <input\n type="checkbox"\n ng-model="nyaSelect.temporyConfig.formlyRequired" id="inputTextRequiredUpdate">\n </div>\n </div>\n </div>\n <div class="marginTopFivepixels"></div>-->\n <div class="row">\n <div class="form-group">\n <label\n for="inputTextDescriptionUpdate"\n class="col-lg-3 control-label greyText editPropertiesLabel">\n {{\'DESCRIPTION\' | translate}} :\n </label>\n <div class="col-lg-9">\n <input\n type="text"\n class="form-control"\n ng-model="$ctrl.nyaSelect.temporyConfig.formlyDesciption"\n id="inputTextDescriptionUpdate"\n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n</div>\n',d.define=e,c.exports}),a.register("2c",["15","16","2b"],function(a){var b,c,d,e,f;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a["default"]}],execute:function(){"use strict";e="editRichTextEditorControl",a("EDIT_RICH_TEXT_EDITOR_COMPONENT",e),f={template:d,bindings:{nyaSelect:"="},controller:function(){function a(){c(this,a)}return b(a,null,[{key:"$inject",get:function(){return[]}}]),a}()},a("editRichTextEditorControlComponent",f)}}}),a.registerDynamic("2d",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports='<div class="panel panel-default">\n <div class="panel-body">\n <div class="row">\n <div class="col-md-12">\n <h5\n class="greyText">\n <i class="fa fa-e
format:""}},g=function(a){return"undefined"!=typeof a.formlyExpressionProperties?angular.copy(a.formlyExpressionProperties):{}},h=function(a){return"undefined"!=typeof a.formlyValidators?angular.copy(a.formlyValidators):{}},i=function(a){return"undefined"!=typeof a.formlyValidation?angular.copy(a.formlyValidation):{}},j=function(a){return"undefined"!=typeof a.templateOptions&&"undefined"!=typeof a.templateOptions.required?a.templateOptions.required:""},k=function(a){return"undefined"!=typeof a.templateOptions&&"undefined"!=typeof a.templateOptions.options?a.templateOptions.options:""},l=function(a){return"undefined"!=typeof a.subtype?a.subtype:""},m=function(a){return"undefined"!=typeof a.templateOptions&&"undefined"!=typeof a.templateOptions.placeholder?a.templateOptions.placeholder:""},n=function(a){return"undefined"!=typeof a.templateOptions&&"undefined"!=typeof a.templateOptions.description?a.templateOptions.description:""},o=function(a,b,c){a.templateOptions.datepickerOptions=f(b.lines[c].columns[0].control)},p=function(a,b,c){var d='<div class="row"><div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"><h2 class="text-center">'+n(b.lines[c].columns[0].control)+"<h2></div></div><hr/>";a.push({template:"undefined"!=typeof b.lines[c].columns[0].control.type&&"header"===b.lines[c].columns[0].control.type?d:"<div></div>"})},q=function(a,b,c){var d={className:"col-xs-12",type:"undefined"!=typeof b.lines[c].columns[0].control.type?"none"===b.lines[c].columns[0].control.type?"blank":b.lines[c].columns[0].control.type:"blank",key:"undefined"!=typeof b.lines[c].columns[0].control.key?b.lines[c].columns[0].control.key:"blank"+Date.now(),templateOptions:{type:l(b.lines[c].columns[0].control),label:e(b.lines[c].columns[0].control),required:j(b.lines[c].columns[0].control),placeholder:m(b.lines[c].columns[0].control),description:n(b.lines[c].columns[0].control),options:k(b.lines[c].columns[0].control)},expressionProperties:g(b.lines[c].columns[0].control),validators:h(b.lines[c].columns[0].control),validation:i(b.lines[c].columns[0].control)};"datepicker"===b.lines[c].columns[0].control.type&&o(d,b,c),a.push(d)},r=function(a,b,c){var d={className:"col-xs-6",template:'<div class="row"><div class=""><h2 class="text-center">'+n(b.lines[c].columns[0].control)+"<h2><hr/></div></div>"},f={className:"col-xs-6",template:'<div class="row"><div class=""><h2 class="text-center">'+n(b.lines[c].columns[1].control)+"<h2><hr/></div></div>"},p={className:"col-xs-6",type:"undefined"!=typeof b.lines[c].columns[0].control.type?"none"===b.lines[c].columns[0].control.type?"blank":b.lines[c].columns[0].control.type:"blank",key:"undefined"!=typeof b.lines[c].columns[0].control.key?b.lines[c].columns[0].control.key:"blank"+Date.now(),templateOptions:{type:l(b.lines[c].columns[0].control),label:e(b.lines[c].columns[0].control),required:j(b.lines[c].columns[0].control),placeholder:m(b.lines[c].columns[0].control),description:n(b.lines[c].columns[0].control),options:k(b.lines[c].columns[0].control)},expressionProperties:g(b.lines[c].columns[0].control),validators:h(b.lines[c].columns[0].control),validation:i(b.lines[c].columns[0].control)};"datepicker"===b.lines[c].columns[0].control.type&&o(p,b,c);var q={className:"col-xs-6",type:"undefined"!=typeof b.lines[c].columns[1].control.type?"none"===b.lines[c].columns[1].control.type?"blank":b.lines[c].columns[1].control.type:"blank",key:"undefined"!=typeof b.lines[c].columns[1].control.key?b.lines[c].columns[1].control.key:"blank"+Date.now(),templateOptions:{type:l(b.lines[c].columns[1].control),label:e(b.lines[c].columns[1].control),required:j(b.lines[c].columns[1].control),placeholder:m(b.lines[c].columns[1].control),description:n(b.lines[c].columns[1].control),options:k(b.lines[c].columns[1].control)},expressionProperties:g(b.lines[c].columns[1].control),validators:h(b.lines[c].columns[1].control),validation:i(b.lines[c].columns[1].control)};"datepicker"===b.lines[c].columns[1].control.type&&o(q,b,c);var r=[];"header"===b.lines[c].columns[0].control.type?r.push(d):r.push(p),"header"===b.lines[c].columns[1].
//# sourceMappingURL=eda.stepway.min.js.map