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

12 lines
275 KiB
JavaScript
Raw Normal View History

2017-04-02 18:16:38 +02:00
!function(e){function n(o){if(t[o])return t[o].exports;var i=t[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}var t={};return n.m=e,n.c=t,n.p="/",n(0)}(function(e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))switch(typeof e[n]){case"function":break;case"object":e[n]=function(n){var t=n.slice(1),o=e[n[0]];return function(e,n,i){o.apply(this,[e,n,i].concat(t))}}(e[n]);break;default:e[n]=e[e[n]]}return e}([function(e,n,t){"use strict";t(1),t(6),t(118)},function(e,n,t){"use strict";t(2),t(3),t(5)},function(e,n,t){
2017-04-02 16:28:59 +02:00
//! api-check version 7.5.5 built with ♥ by Kent C. Dodds <kent@doddsfamily.us> (http://kent.doddsfamily.us) (ó ì_í)=óò=(ì_í ò)
2017-04-02 18:16:38 +02:00
!function(n,t){e.exports=t()}(this,function(){return function(e){function n(o){if(t[o])return t[o].exports;var i=t[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var i=t(1),r=o(i);n.default=r.default,e.exports=n.default},function(e,n,t){"use strict";function o(){function n(o,r,l){if(n.config.disabled||e.exports.globalConfig.disabled)return{apiTypes:{},argTypes:{},passed:!0,message:"",failed:!1};t(arguments),Array.isArray(o)?r=Array.prototype.slice.call(r):(o=[o],r=[r]);var a=s(o,r);a.length||(a=i(o,r));var c=d(o,r);return c.args=r,a.length?(c.message=n.getErrorMessage(o,r,a,l),c.failed=!0,c.passed=!1):(c.message="",c.failed=!1,c.passed=!0),c}function t(e){var t=e[0],o=e[1],r=Array.isArray(o)||o&&"object"==typeof o&&"number"==typeof o.length;if(Array.isArray(t)&&!r)throw new Error(l(t,[o],["If an array is provided for the api, an array must be provided for the args as well."],{prefix:"apiCheck"}));var a=i(_.checkApiCheckApi,e);if(a.length){var s=n.getErrorMessage(_.checkApiCheckApi,e,a,{prefix:"apiCheck"});n.handleErrorMessage(s,!0)}}function o(e){return function(t,o,i){var r=n(t,o,i);return n.handleErrorMessage(r.message,e),r}}function r(e,n){if(n&&e)throw new Error(e);e&&console.warn(e)}function l(e,t){function o(){var e=s.onlyPrefix;return e||(e=((c.prefix||"")+" "+(s.prefix||"")).trim()),e}function i(){var e=s.onlySuffix;return e||(e=((s.suffix||"")+" "+(c.suffix||"")).trim()),e}function r(){var e=s.url;return e||(e=c.docsBaseUrl&&s.urlSuffix&&(""+c.docsBaseUrl+s.urlSuffix).trim()),e}var l=arguments.length<=2||void 0===arguments[2]?[]:arguments[2],s=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],c=n.config.output||{},d=o(),u=i(),p=r(),f="apiCheck failed! "+l.join(", "),m="\n\n"+a(e,t);return(d+" "+f+" "+u+" "+(p||"")+m).trim()}function a(e,n){function t(e){m(e,function(n,o){c.indexOf(n)===-1&&(c.push(n),"object"==typeof n?t(e):"function"==typeof n&&(e[o]=n.displayName||n.name||"anonymous function"))})}function o(e){return e&&e.length?(e&&1===e.length&&(e=e[0]),p(e,null,2)):"nothing"}function i(){var e="\n",t=!0;n&&1===n.length&&(t="object"==typeof n[0]&&null!==n[0]&&!!Object.keys(n[0]).length);var o="type"+(t?"s":""),i=e+e;return"You passed:"+e+u+i+("With the "+o+":"+e+a+i)+("The API calls for:"+e+l)}var r=d(e,n),l=r.apiTypes,a=r.argTypes,s=Array.prototype.slice.call(n||[]),c=[];t(s);var u=o(s);return a=o(a),l=o(l),i()}function d(t,o){t=g(t),o=g(o);var i=t.map(function(t,i){var r=e.exports.globalConfig.hasOwnProperty("verbose");return b(t,{terse:r?!e.exports.globalConfig.verbose:!n.config.verbose,obj:o[i],addHelpers:!0})}),r=o.map(function(e){return c(e,[])});return{argTypes:r,apiTypes:i}}var u=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],y=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];O&&arguments.length&&O.throw(_.getApiCheckInstanceCheckers,arguments,{prefix:"creating an apiCheck instance"});var v={throw:o(!0),warn:o(!1),getErrorMessage:l,handleErrorMessage:r,config:{output:u.output||{prefix:"",suffix:"",docsBaseUrl:""},verbose:u.verbose||!1,disabled:u.disabled||!1},utils:f};m(v,function(e,t){return n[t]=e});var h=n.disabled||e.exports.globalConfig.disabled;return m(T.getCheckers(h),function(e,t){return n[t]=e}),m(y,function(e,t){return n[t]=e}),n}function i(e,n){for(var t=[],o=!1,i=0,r=0,a=void 0,s=void 0,c=void 0,d=void 0,u=void 0,p=void 0,f=void 0;(s=e[i++])&&r<n.length;)a=n[r++],u="Argument "+r+(s.isOptional?" (optional)":""),c=s(a,"value",u),p=y(c),d=i>=e.length,f=i>1&&e[i-1].isOptional,p&&d||p&&!d&&!s.isOptional&&!f?(o=!0,t.push(l(c,s,a))):p&&s.isOptional?r--:t.push(v(u)+" passed");return o?t:[]}function r(e,n,t){var o=T.shape({type:T.string,optional:T.bool}),i=T.func.withProperties({__apiCheckData:o}),l=T.shape({__apiCheckData:o}),a=T.oneOfType([i,l])(e,n,t);return y(a)?a:"function"==typeof e||e.hasOwnProperty(e.__apiCheckData.type)?void 0:E(n,t,r.type)}
return e.fc.$touched||l}return!1},function(n){e.options.validation.errorExistsAndShouldBeVisible=n,e.showError=n})}var c=r.noop,d=r.noop;if(!e.options.noFormControl){var u=r.element("<div>"+n+"</div>"),p=u[0].querySelector("[ng-model],[data-ng-model]");p&&p.getAttribute("name")&&t(p.getAttribute("name"))}}function v(){h&&h.link&&h.link.apply(_,E),e.options.link&&e.options.link.apply(_,E)}function b(t){return function(o){var i=n.when(o);return r.forEach(t,function(t){i=i.then(function(o){return n.when(t(o,e.options,e)).then(function(e){return r.isString(e)?e:f(e)})})}),i}}if(e.options.fieldGroup)return void l();a(),c();var h=m(e.options),E=arguments,_=this;y(e.options).then(b(i.templateManipulators.preWrapper)).then(g(e.options)).then(b(i.templateManipulators.postWrapper)).then(u).then(p).then(v).catch(function(n){d("there-was-a-problem-setting-the-template-for-this-field","There was a problem setting the template for this field ",e.options,n)})}function f(e){var n=r.element("<a></a>");return n.append(e).html()}function m(e){return e.type&&i.getType(e.type)}function y(e){function n(n,t){return r.isDefined(e[n])?e[n]:t&&r.isDefined(t[n])?t[n]:void 0}var t=i.getType(e.type,!0,e),o=n("template",t),l=n("templateUrl",t);if(r.isUndefined(o)&&!l)throw c.getFieldError("type-type-has-no-template","Type '"+e.type+"' has not template. On element:",e);return v(l||o,r.isUndefined(o),e)}function v(t,i,l){var a=void 0;if(a=r.isFunction(t)?n.when(t(l)):n.when(t),!i)return a;var s=function(){var n={cache:o};return{v:a.then(function(t){return e.get(t,n)}).then(function(e){return e.data}).catch(function(e){d("problem-loading-template-for-templateurl","Problem loading template for "+t,e)})}}();return"object"==typeof s?s.v:void 0}function g(e){var t=h(e);return function(o){if(!t.length)return n.when(o);t.forEach(function(n){c.checkWrapper(n,e),n.validateOptions&&n.validateOptions(e),_(n,e)});var i=t.map(function(e){return v(e.template||e.templateUrl,!e.template)});return n.all(i).then(function(e){e.forEach(function(e,n){c.checkWrapperTemplate(e,t[n])}),e.reverse();var n=e.shift();return e.forEach(function(e){n=b(n,e)}),b(n,o)})}}function b(e,n){var t=r.element("<a></a>");t.append(e);var o=t.find("formly-transclude");return o.length||(o=s.findByNodeName(t,"formly-transclude")),o.replaceWith(n),t.html()}function h(e){var n=e.wrapper;if(null===n)return[];n=n?O(n).map(i.getWrapper):O(i.getWrapperByType(e.type));var t=i.getType(e.type,!0,e);if(t&&t.wrapper){var o=O(t.wrapper).map(i.getWrapper);n=n.concat(o)}var r=i.getWrapper();return r&&n.push(r),n}function E(e){a.throw(a.formlyFieldOptions,e,{prefix:"formly-field directive",url:"formly-field-directive-validation-failed"});var n=e.type&&i.getType(e.type);n&&(n.validateOptions&&n.validateOptions(e),_(n,e))}function T(e){a.throw(a.fieldGroup,e,{prefix:"formly-field directive",url:"formly-field-directive-validation-failed"})}function _(e,n){var t=e.apiCheck,o=e.apiCheckInstance,i=e.apiCheckFunction,r=e.apiCheckOptions;if(t){var l=o||a,s=i||"warn",c=l.shape(t);l[s](c,n,r||{prefix:"formly-field "+name,url:a.config.output.docsBaseUrl+"formly-field-type-apicheck-failed"})}}var O=s.arrayify;return u.$inject=["$scope","$timeout","$parse","$controller"],{restrict:"AE",transclude:!0,scope:{options:"=",model:"=",formId:"@",index:"=?",fields:"=?",formState:"=?",form:"=?"},controller:u,link:p}}var i=function(e){return e&&e.__esModule?e.default:e},r=i(t(15));e.exports=o,o.$inject=["$http","$q","$compile","$templateCache","formlyConfig","formlyValidationMessages","formlyApiCheck","formlyUtil","formlyUsability","formlyWarn"]},function(e,n,t){"use strict";function o(e,n){return{restrict:"A",link:function(t,o,i){var r=null,l=o[0],a=n[0];i.$observe("formlyFocus",function(n){"true"===n?e(function(){r=a.activeElement,l.focus()},~~i.focusWait):"false"===n&&a.activeElement===l&&(l.blur(),i.hasOwnProperty("refocus")&&r&&r.focus())})}}}e.exports=o,o.$inject=["$timeout","$document"]},function(e,n,t){"use strict";function o(e,n,t,o){var i=1;return{restrict:"E",template:function(n,t){function r(){return t.rootEl||"ng-form"}
ADD_NEW_GROUPS:"Ajouter de nouveaux groupes",ADD_A_NEW_GROUP:"Ajouter un nouveau groupe",EDIT_GROUPS_OPTIONS:"Editer / supprimer les groupes et options",NO_GROUP_ADD_NEW:"ajouter de nouveaux groupes",OK:"Valider",CANCEL:"Annuler"}},function(e,n){e.exports={SAY_HI:"Hola",EDIT_TAB:"Editar / Crear",PREVIEW_TAB:"Previsualizar",WIZARD_LINES:"lineas",WIZARD_LAYOUT:"diseño",WIZARD_CONTROLS:"controles",WIZARD_SAVE:"guardar",PAGER_PREVIOUS:"Anterior",PAGER_NEXT:"Siguiente",COMMAND_PANEL:"Comando",VISUAL_PANEL:"Visual",ADD_NEW_LINE:"Agregar nueva linea",SELECTED_LINE:"Linea seleccionada",NUMBER_OF_COLUMN:"numero de columnas",APPLY_CTRL2COL:"Aplicar controles a columnas",CLIC_TAP_2_OPEN:"Click / Toque en la columna para seleccionar controles",SELECT_2_APPLY_COL:"Selecciona el control deseado para aplicarlo a la columna",CUSTOM_SUBMIT_BTN:"Personalizar texto de boton Enviar",CUSTOM_CANCEL_BTN:"Personalizar texto de boton Cancelar",NAME_THIS_FORM:"Nombrar formulario",SAVE_THIS_FORM:"guardar formulario",FINAL_STEP:"Ultimo paso : previsualizar formulario",DATA_MODEL:"MODELO DE DATOS",FIELDS_MODEL:"MODELO DE CAMPOS (listo para guardar en base de datos uno)",SELECT_A_CTRL:"Selecciona un control",SELECT_CTRL_IN_LIST:"Selecciona un control de la lista",COL_WILL_BE_BLANK:"Columna sera vacia",EDIT_PROPERTIES:"Editar propiedades",HEADER_TEXT:"Texto de encabezado",ADD_EDIT_HEADER_HERE:"Agregar / editar texto de encabezado aqui",SUBTITLE_TEXT:"Texto de subtitulo",ADD_EDIT_SUBTIL_HERE:"Agregar / editar texto de subtitulo aqui",LABEL_TEXT:"Texto de etiqueta",ADD_EDIT_LABEL_HERE:"Agregar / editar texto de etiqueta aqui",PLACEHOLDER:"Marcador",ADD_EDIT_PLACEHOLD:"Agregar / editar texto de marcador aqui",REQUIRED:"Requerido",DESCRIPTION:"Descripcion",ADDEDIT_DESCRIPTION:"Agregar / editar descripcion aqui",DATE_FORMAT:"Formato de fecha",ADD_NEW_RADIO:"Agregar nuevo radio",ADD_RADIO_PLACEHOLD:"agregar nuevo radio",EDIT_REMOVE_RADIO:"Editar/Eliminar radio",NO_RADIO_ADD_NEW:"sin radio : agregar nuevos valores de radio",SEARCH_4_OPTION:"buscar opcion",ADD:"agregar",ORDER:"orden",OPTION:"opcion",GROUP:"grupo",ADD_NEW_OPTIONS:"agregar nuevas opciones",ADD_A_NEW_OPTION:"agregar nueva opcione",EDIT_REMOVE_OPTIONS:"Editar/Eliminar opciones",NO_OPTION_ADD_NEW:"sin opcion : agregar nuevas opciones",ADD_NEW_GROUPS:"Agregar nuevos grupos",ADD_A_NEW_GROUP:"Agregar nuevo grupo",EDIT_GROUPS_OPTIONS:"Editar/Eliminar opciones/grupos",NO_GROUP_ADD_NEW:"agregar nuevos grupos",OK:"OK",CANCEL:"Cancelar"}},function(e,n){e.exports={SAY_HI:"Hallo",EDIT_TAB:"Bearbeiten / Schaffen",PREVIEW_TAB:"Vorschau",WIZARD_LINES:"Linien",WIZARD_LAYOUT:"Layout",WIZARD_CONTROLS:"Steuerung",WIZARD_SAVE:"sparen",PAGER_PREVIOUS:"vorher.",PAGER_NEXT:"nächste",COMMAND_PANEL:"Anweisung",VISUAL_PANEL:"visuell",ADD_NEW_LINE:"Hinzufügen neuer Leitung",SELECTED_LINE:"ausgewählte Linie",NUMBER_OF_COLUMN:"Anzahl von Spalten",APPLY_CTRL2COL:"gelten diese Steuer Spalte",CLIC_TAP_2_OPEN:"klicken Sie auf Spalte zur Steuerungsauswahl öffnen",SELECT_2_APPLY_COL:"Wählen Sie die gewünschte Steuerung und gültig , um es in Spalte anwenden",CUSTOM_SUBMIT_BTN:"Passen Submit-Button Text",CUSTOM_CANCEL_BTN:"Passen Cancel-Button Text",NAME_THIS_FORM:"Nennen dieses Formular",SAVE_THIS_FORM:"Speichern dieses Formular",FINAL_STEP:"Endschritt : Formular Vorschau",DATA_MODEL:"DATEN MODELL",FIELDS_MODEL:"FELDER MODELL (Datenbank-kompatibel)",SELECT_A_CTRL:"Wählen Sie ein Steuer",SELECT_CTRL_IN_LIST:"Wählen Sie ein Steuer aus der Liste unten",COL_WILL_BE_BLANK:"die Spalte werde leer sein",EDIT_PROPERTIES:"Anzeigen",HEADER_TEXT:"Kopftext",ADD_EDIT_HEADER_HERE:"Kopftext ändern",SUBTITLE_TEXT:"Untertitel",ADD_EDIT_SUBTIL_HERE:"Untertitel ändern",LABEL_TEXT:"Etikett",ADD_EDIT_LABEL_HERE:"Etikett ändern",PLACEHOLDER:"placeholder",ADD_EDIT_PLACEHOLD:"placeholder ändern",REQUIRED:"erforderlich",DESCRIPTION:"Beschreibung",ADDEDIT_DESCRIPTION:"Beschreibung ändern",DATE_FORMAT:"Datumsformat",ADD_NEW_RADIO:"Radiobutton hinzufügen",ADD_RADIO_PLACEHOLD:"Radiobutton hinzufügen",EDIT_REMOVE_RADIO:"Radiobutton ändern",NO
n.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:n.details,body:"Operation cancelled.",showCloseButton:!0})}},{key:"downThisGroupedSelectRow",value:function(e){var n=this.selectOptionManage.downthisOption(this.groupedSelectRowCollection,e);n.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:n.details,body:"Operation cancelled.",showCloseButton:!0})}},{key:"today",value:function(){this.demodt.dt=new Date}},{key:"clear",value:function(){this.demodt.dt=null}},{key:"open",value:function(e){e.preventDefault(),e.stopPropagation(),this.demodt.opened=!0}},{key:"dateOptionsInit",value:function(){return{formatYear:"yy",startingDay:1,showWeeks:!0,initDate:null}}},{key:"selectThisControl",value:function(e){this.nyaSelect.selectedControl="none",this.resetTemporyConfig();for(var n=this.nyaSelect.controls.length-1;n>=0;n--)this.nyaSelect.controls[n].id===e&&(this.nyaSelect.selectedControl=this.nyaSelect.controls[n].id);"Date"===this.nyaSelect.selectedControl&&this.initDatePicker()}},{key:"ok",value:function(){"BasicSelect"===this.nyaSelect.selectedControl&&this.bindBasicSelectToNya(),"GroupedSelect"===this.nyaSelect.selectedControl&&this.bindGroupedSelectToNya(),"Radio"===this.nyaSelect.selectedControl&&this.bindRadioToNya(),this.$modalProxy.applyConfigToSelectedControl(this.nyaSelect),this.$modalInstance.close(this.nyaSelect)}},{key:"cancel",value:function(){this.$modalInstance.dismiss("cancel")}},{key:"bindBasicSelectToNya",value:function(){var e=[];if(this.nyaSelect.temporyConfig.formlyOptions=e,this.basicSelectRowCollection.rows.length>0)for(var n=0;n<=this.basicSelectRowCollection.rows.length-1;n++){var t={name:this.basicSelectRowCollection.rows[n].option,value:n,group:""};this.nyaSelect.temporyConfig.formlyOptions.push(t)}}},{key:"bindGroupedSelectToNya",value:function(){this.nyaSelect.temporyConfig.formlyOptions=[];for(var e=0;e<=this.groupedSelectRowCollection.rows.length-1;e++){var n={name:this.groupedSelectRowCollection.rows[e].option,value:e,group:this.groupedSelectRowCollection.rows[e].group};this.nyaSelect.temporyConfig.formlyOptions.push(n)}}},{key:"bindRadioToNya",value:function(){var e=[];if(this.nyaSelect.temporyConfig.formlyOptions=e,this.radioRowCollection.rows.length>0)for(var n=0;n<=this.radioRowCollection.rows.length-1;n++){var t={name:this.radioRowCollection.rows[n].option,value:n,group:""};this.nyaSelect.temporyConfig.formlyOptions.push(t)}}},{key:"initDatePicker",value:function(){this.nyaSelect.temporyConfig.datepickerOptions={format:this.demodt.formats[0]}}},{key:"resetTemporyConfig",value:function(){this.nyaSelectFiltered.temporyConfig={formlyLabel:"",formlyRequired:!1,formlyPlaceholder:"",formlyDesciption:"",formlyOptions:[]}}}]),e}(),a=["$uibModalInstance","nyaSelect","toaster","selectOptionManage","$modalProxy"];l.$inject=a,n.default=l,n.EDIT_MODAL_CONTROLLER_NAME=i,n.EDIT_MODAL_CONTROLLERAS_NAME=r},function(e,n,t){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function i(e,n,t,o){function i(e){function n(){if(angular.isDefined(e.edaEasyFormGeneratorModel)){var n=[].concat(i());e.configurationLoaded={},t.bindConfigurationLines(e.configurationLoaded,n),o.refreshControlFormlyExpressionProperties(e.configurationLoaded),o.refreshControlFormlyValidators(e.configurationLoaded),o.refreshControlFormlyValidation(e.configurationLoaded),e.vm.configuration=angular.copy(e.configurationLoaded),t.applyConfigurationToformlyModel(e.configurationLoaded,e.vm.wfFormFields,e.vm.model),e.vm.wfFormFieldsOnlyNeededProperties=angular.copy(e.vm.wfFormFields),e.vm.dataModel=r(),e.vm.configuration.formName=angular.isString(e.edaEasyFormGeneratorModel.formName)?e.edaEasyFormGeneratorModel.formName:"",e.vm.configuration.submitButtonText=angular.isString(e.edaEasyFormGeneratorModel.btnSubmitText)?e.edaEasyFormGeneratorModel.btnSubmitText:"Submit",e.vm.configuration.cancelButtonText=angular.isString(e.edaEasyFormGeneratorModel.btnCancelText)?e.edaEasyFormGeneratorModel.btnCancelText:"Cancel"}}function i(){var n=angular.isArray(e.edaEasyFormGeneratorModel.edaFieldsModel)&&e.edaEasyF
bindings:{configuration:"=",increaseNumberOfColumns:"&",decreaseNumberOfColumns:"&"},controller:function(){function e(){t(this,e)}return o(e,null,[{key:"$inject",get:function(){return[]}}]),e}()}},function(e,n){"use strict";function t(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(n,t,o){return t&&e(n.prototype,t),o&&e(n,o),n}}();n.STEP_ONE_VISUAL_PANEL_COMPONENT_NAME="stepOneVisualPanel",n.StepOneVisualPanelComponent={template:'\n <div id="visualPanel">\n <div class="panel panel-default">\n <div class="panel-heading">\n <h3 class="panel-title">\n <i class="fa fa-eye"></i>\n &nbsp;\n {{\'VISUAL_PANEL\' | translate}}\n </h3>\n </div>\n <div class="panel-body">\n <!-- lines / columns -->\n <ul class="list-group">\n <li\n class="list-group-item"\n ng-repeat="line in $ctrl.configuration.lines track by $index">\n <!-- columns -->\n <div ng-switch on="line.columns.length">\n <div\n class="row linesList"\n ng-switch-when="1">\n <div\n class="col-md-12 lineCommandButtons"\n ng-show="$ctrl.configuration.lines.length > 1">\n <button\n class="btn"\n ng-class="{\'btn-warning\':($index + 1) !== $ctrl.configuration.activeLine, \'btn-success\': ($index + 1) === $ctrl.configuration.activeLine}"\n ng-click="$ctrl.setActiveLineNumber({index: $index + 1})">\n <i\n class="fa"\n ng-class="{\'fa-square-o\': ($index + 1) !== $ctrl.configuration.activeLine, \'fa-check-square-o\': ($index + 1) === $ctrl.configuration.activeLine}">\n </i>\n </button>\n </div>\n <div class="col-md-12">\n <div class="col-md-12 well">\n <button class="btn btn-lg btn-block btn-default disabled">\n {{line.columns[0].control.type !== \'none\' ? line.columns[0].control.type + \' \' + line.columns[0].control.subtype || \'\' : \'column 1\'}}\n </button>\n </div>\n </div>\n </div>\n <div\n class="row linesList"\n ng-switch-when="2">\n <div\n class="col-md-12 lineCommandButtons"\n ng-show="$ctrl.configuration.lines.length > 1">\n <button\n class="btn"\n ng-class="{\'btn-warning\':($index + 1) !== $ctrl.configuration.activeLine, \'btn-success\': ($index + 1) === $ctrl.configuration.activeLine}"\n ng-click="$ctrl.setActiveLineNumber({index: $index + 1})">\n <i\n class="fa"\n ng-class="{\'fa-square-o\': ($index + 1) !== $ctrl.configuration.activeLine, \'fa-check-square-o\': ($index + 1) === $ctrl.configuration.activeLine}">\n </i>\n </button>\n </div>\n <div class="col-md-12">\n <div class="col-md-6 well">\n <button class="btn btn-lg btn-block btn-default disabled">\n {{line.columns[0].control.type !== \'none\' ? line.columns[0].control.type + \' \' + line.columns[0].control.subtype || \'\' : \'column 1\'}}\n </button>\n </div>\n <div class="col-md-6 well">\n <button class="btn btn-lg btn-block btn-default disabled">\n {{line.columns[1].control.type !== \'none\' ? line.columns[1].control.type + \' \' + line.columns[1].control
formlyValidation:{messages:{required:function(e,n,t){var o="this IP Adress field is required",i="undefined"!=typeof t.to.label&&""!==t.to.label?t.to.label+" is required":o;if(t.to.required)return i}}}}},function(e,n,t){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function i(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0}),n.editIpAdressControlComponent=n.EDIT_IP_ADRESS_COMPONENT=void 0;var r=function(){function e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(n,t,o){return t&&e(n.prototype,t),o&&e(n,o),n}}(),l=t(58),a=o(l);n.EDIT_IP_ADRESS_COMPONENT="editIpAdressControl",n.editIpAdressControlComponent={template:a.default,bindings:{nyaSelect:"="},controller:function(){function e(){i(this,e)}return r(e,null,[{key:"$inject",get:function(){return[]}}]),e}()}},function(e,n){e.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="inputIpAdress"\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 <input\n type="text"\n class="form-control"\n id="inputIpAdress"\n placeholder="{{$ctrl.nyaSelect.temporyConfig.formlyPlaceholder}}">\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="inputTextplaceholderUpdate"\n class="col-lg-3 control-label greyText editPropertiesLabel">\n {{\'PLACEHOLDER\' | translate}} :\n </label>\n <div class="col-lg-9">\n <input\n type="text"\n class="form-control"\n ng-model="$ctrl.nyaSelect.temporyConfig.formlyPlaceholder"\n id="inputTextplaceholderUpdate"\n placeholder="{{\'ADD_EDIT_PLACEHOLD\' | 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">\n &nbsp;\n </div>\
},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(81),i="stepway.editGroupedSelect.module";n.default=angular.module(i,[]).component(o.EDIT_GROUPED_SELECT_COMPONENT,o.editGroupedSelectControlComponent)},[122,82],79,function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});n.HeaderConfig={id:"Header",name:"Header",subtitle:"no control",group:"Decoration",formlyType:"header",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{}}},function(e,n){"use strict";function t(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(n,t,o){return t&&e(n.prototype,t),o&&e(n,o),n}}();n.EDIT_HEADER_CONTROL_COMPONENT="editHeaderControl",n.editHeaderControlComponent={template:'\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"><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="">\n <h2 class="text-center">\n {{$ctrl.nyaSelect.temporyConfig.formlyDesciption}}\n </h2>\n <hr/>\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="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 {{\'HEADER_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.formlyDesciption"\n id="inputHeaderTextUpdate"\n placeholder="{{\'ADD_EDIT_HEADER_HERE\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div>\n ',bindings:{nyaSelect:"="},controller:function(){function e(){t(this,e)}return o(e,null,[{key:"$inject",get:function(){return[]}}]),e}()}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(84),i="stepway.editHeaderControl.module";n.default=angular.module(i,[]).component(o.EDIT_HEADER_CONTROL_COMPONENT,o.editHeaderControlComponent)},function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});n.PasswordConfig={id:"Password",name:"Password",subtitle:"Password",group:"input",formlyType:"input",formlySubtype:"password",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{messages:{required:function(e,n,t){var o="this Password field is required",i="undefined"!=typeof t.to.label&&""!==t.to.label?t.to.label+" is required":o;return i}}}}},function(e,n,t){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function i(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0}),n.editPasswordControlComponent=n.EDIT_PASSWORD_CONTROL_COMPONENT=void 0;var r=function(){function e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,
},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(107),i="stepway.editTextInputControl.module";n.default=angular.module(i,[]).component(o.EDIT_TEXTINPUT_CONTROL_COMPONENT,o.editTextInputControlComponent)},function(e,n,t){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var i=t(111),r=o(i),l="modalProxyModule";n.default=angular.module(l,[]).service(i.CONTROLLER_MODAL_PROXY_SERVICE,r.default)},function(e,n,t){"use strict";function o(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0}),n.CONTROLLER_MODAL_PROXY_SERVICE=void 0;var i=function(){function e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(n,t,o){return t&&e(n.prototype,t),o&&e(n,o),n}}(),r=t(112),l="$modalProxy",a=function(){function e(n){o(this,e),this.easyFormSteWayConfig=n}return i(e,[{key:"initNyaSelect",value:function(e){return(0,r.resetNyaSelect)(e)}},{key:"getControlsDefinition",value:function(){var e={};return(0,r.resetNyaSelect)(e),e}},{key:"getNyASelectFromSelectedLineColumn",value:function(e,n,t,o){return(0,r.resetNyaSelect)(e),"undefined"!=typeof n.lines[t].columns[o].control.templateOptions&&(e.temporyConfig.selectedControl="undefined"!=typeof n.lines[t].columns[o].control.selectedControl?n.lines[t].columns[o].control.selectedControl:"none",e.temporyConfig.formlyLabel="undefined"!=typeof n.lines[t].columns[o].control.templateOptions.label?n.lines[t].columns[o].control.templateOptions.label:"",e.temporyConfig.formlyRequired="undefined"!=typeof n.lines[t].columns[o].control.templateOptions.required?n.lines[t].columns[o].control.templateOptions.required:"",e.temporyConfig.formlyDesciption="undefined"!=typeof n.lines[t].columns[o].control.templateOptions.description?n.lines[t].columns[o].control.templateOptions.description:"",e.temporyConfig.formlyPlaceholder="undefined"!=typeof n.lines[t].columns[o].control.templateOptions.placeholder?n.lines[t].columns[o].control.templateOptions.placeholder:"",e.temporyConfig.formlyOptions="undefined"!=typeof n.lines[t].columns[o].control.templateOptions.options?n.lines[t].columns[o].control.templateOptions.options:"",e.temporyConfig.formlyExpressionProperties="undefined"!=typeof n.lines[t].columns[o].control.formlyExpressionProperties?angular.copy(n.lines[t].columns[o].control.formlyExpressionProperties):{},e.temporyConfig.formlyValidators="undefined"!=typeof n.lines[t].columns[o].control.formlyValidators?angular.copy(n.lines[t].columns[o].control.formlyValidators):{},e.temporyConfig.formlyValidation="undefined"!=typeof n.lines[t].columns[o].control.formlyValidation?angular.copy(n.lines[t].columns[o].control.formlyValidation):{},"Date"===e.temporyConfig.selectedControl&&(e.temporyConfig.datepickerOptions="undefined"!=typeof n.lines[t].columns[o].control.templateOptions.datepickerOptions?angular.copy(n.lines[t].columns[o].control.templateOptions.datepickerOptions):"")),e}},{key:"bindConfigurationModelFromModalReturn",value:function(e,n,t,o){var i=(0,r.returnControlFromAddCtrlModalModel)(t);o.lines[e].columns[n].control.selectedControl=i.selectedControl,o.lines[e].columns[n].control.type=i.formlyType,o.lines[e].columns[n].control.subtype=i.formlySubtype,o.lines[e].columns[n].control.templateOptions={label:"",required:!1,description:"",placeholder:"",options:[]},o.lines[e].columns[n].control.templateOptions.label=i.formlyLabel,o.lines[e].columns[n].control.templateOptions.required=i.formlyRequired,o.lines[e].columns[n].control.templateOptions.description=i.formlyDesciption,o.lines[e].columns[n].control.templateOptions.placeholder=i.formlyPlaceholder,o.lines[e].columns[n].control.templateOptions.options=i.formlyOptions,o.lines[e].columns[n].control.formlyExpressionProperties=angular.copy(i.formlyExpressionProperties),o.lines[e].columns[n].control.formlyValidators=angular.copy(i.formlyValidators),o.lines[e].columns[n].contr
},function(e,n){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],n=0;n<this.length;n++){var t=this[n];t[2]?e.push("@media "+t[2]+"{"+t[1]+"}"):e.push(t[1])}return e.join("")},e.i=function(n,t){"string"==typeof n&&(n=[[null,n,""]]);for(var o={},i=0;i<this.length;i++){var r=this[i][0];"number"==typeof r&&(o[r]=!0)}for(i=0;i<n.length;i++){var l=n[i];"number"==typeof l[0]&&o[l[0]]||(t&&!l[2]?l[2]=t:t&&(l[2]="("+l[2]+") and ("+t+")"),e.push(l))}},e}},function(e,n,t){function o(e,n){for(var t=0;t<e.length;t++){var o=e[t],i=f[o.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](o.parts[r]);for(;r<o.parts.length;r++)i.parts.push(c(o.parts[r],n))}else{for(var l=[],r=0;r<o.parts.length;r++)l.push(c(o.parts[r],n));f[o.id]={id:o.id,refs:1,parts:l}}}}function i(e){for(var n=[],t={},o=0;o<e.length;o++){var i=e[o],r=i[0],l=i[1],a=i[2],s=i[3],c={css:l,media:a,sourceMap:s};t[r]?t[r].parts.push(c):n.push(t[r]={id:r,parts:[c]})}return n}function r(e,n){var t=v(),o=h[h.length-1];if("top"===e.insertAt)o?o.nextSibling?t.insertBefore(n,o.nextSibling):t.appendChild(n):t.insertBefore(n,t.firstChild),h.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");t.appendChild(n)}}function l(e){e.parentNode.removeChild(e);var n=h.indexOf(e);n>=0&&h.splice(n,1)}function a(e){var n=document.createElement("style");return n.type="text/css",r(e,n),n}function s(e){var n=document.createElement("link");return n.rel="stylesheet",r(e,n),n}function c(e,n){var t,o,i;if(n.singleton){var r=b++;t=g||(g=a(n)),o=d.bind(null,t,r,!1),i=d.bind(null,t,r,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(t=s(n),o=p.bind(null,t),i=function(){l(t),t.href&&URL.revokeObjectURL(t.href)}):(t=a(n),o=u.bind(null,t),i=function(){l(t)});return o(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;o(e=n)}else i()}}function d(e,n,t,o){var i=t?"":o.css;if(e.styleSheet)e.styleSheet.cssText=E(n,i);else{var r=document.createTextNode(i),l=e.childNodes;l[n]&&e.removeChild(l[n]),l.length?e.insertBefore(r,l[n]):e.appendChild(r)}}function u(e,n){var t=n.css,o=n.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}function p(e,n){var t=n.css,o=n.sourceMap;o&&(t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var i=new Blob([t],{type:"text/css"}),r=e.href;e.href=URL.createObjectURL(i),r&&URL.revokeObjectURL(r)}var f={},m=function(e){var n;return function(){return"undefined"==typeof n&&(n=e.apply(this,arguments)),n}},y=m(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=m(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,b=0,h=[];e.exports=function(e,n){n=n||{},"undefined"==typeof n.singleton&&(n.singleton=y()),"undefined"==typeof n.insertAt&&(n.insertAt="bottom");var t=i(e);return o(t,n),function(e){for(var r=[],l=0;l<t.length;l++){var a=t[l],s=f[a.id];s.refs--,r.push(s)}if(e){var c=i(e);o(c,n)}for(var l=0;l<r.length;l++){var s=r[l];if(0===s.refs){for(var d=0;d<s.parts.length;d++)s.parts[d]();delete f[s.id]}}}};var E=function(){var e=[];return function(n,t){return e[n]=t,e.filter(Boolean).join("\n")}}()},function(e,n,t,o){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0}),n.editGroupedSelectControlComponent=n.EDIT_GROUPED_SELECT_COMPONENT=void 0;var l=function(){function e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(n,t,o){return t&&e(n.prototype,t),o&&e(n,o),n}}(),a=t(o),s=i(a);n.EDIT_GROUPED_SELECT_COMPONENT
2016-06-19 15:06:50 +02:00
//# sourceMappingURL=eda.stepway.min.js.map