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

5 lines
No EOL
181 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!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"!=typeof self?self:global)(["1"],[],function(a){!function(){var b=a;if("undefined"!=typeof window&&"undefined"!=typeof document&&window.location)var c=location.protocol+"//"+location.hostname+(location.port?":"+location.port:"");b.set("@@cjs-helpers",b.newModule({getPathVars:function(a){var b,d=a.lastIndexOf("!");b=-1!=d?a.substr(0,d):a;var e=b.split("/");return e.pop(),e=e.join("/"),"file:///"==b.substr(0,8)?(b=b.substr(7),e=e.substr(7),isWindows&&(b=b.substr(1),e=e.substr(1))):c&&b.substr(0,c.length)===c&&(b=b.substr(c.length),e=e.substr(c.length)),{filename:b,dirname:e}}}))}(),a.register("2",[],function(a){"use strict";return{setters:[],execute:function(){a("default",window.angular)}}}),a.registerDynamic("3",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports={stepway:{version:"1.1.0"},dragdropway:{version:"1.1.0"},formviewer:{version:"1.1.0"}},d.define=e,c.exports}),a.register("4",["3"],function(a){"use strict";function b(a){a.setModalAnimation(f)}var c,d,e,f;return{setters:[function(a){c=a["default"]}],execute:function(){d="easyFormGenVersion",e=c.stepway.version,f=!1,b.$inject=["easyFormSteWayConfigProvider"],a("default",b),a("EASY_FORM_VERSION_NAME",d),a("EASY_FORM_VERSION_VALUE",e)}}}),a.register("5",[],function(a){"use strict";var b,c,d,e,f,g,h;return{setters:[],execute:function(){b='\n <text-angular name="{{id}}" \n class="richTextAngular" \n ng-model="model[options.key || index]">\n </text-angular>',c="<div></div>",d='\n <div class="row">\n <div class="">\n <h4 class="text-center">\n {{options.templateOptions.placeholder}}\n <h4><hr/>\n </div>\n </div>',e=' \n<ol \n class="nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12" \n ng-model="model[options.key || index]" \n id="{{id}}" \n disabled="options.templateOptions.options.length === 0"> \n <li class="nya-bs-option" nya-bs-option="option in options.templateOptions.options"> \n <a>{{option.name}}</a> \n </li> \n</ol>',f='\n <ol class="nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12" \n ng-model="model[options.key || index]" \n data-live-search="true" \n disabled="options.templateOptions.options.length === 0">\n <li nya-bs-option="option in options.templateOptions.options group by option.group">\n <span class="dropdown-header">{{$group}}</span> \n <a>\n <span>{{option.name}}</span>\n <span class="glyphicon glyphicon-ok check-mark"></span>\n </a>\n </li>\n </ol>',g=' <input id="{{id}}" \n class="form-control" \n ng-click="open($event)" \n ng-model="model[options.key || index]" \n is-open="to.isOpen" \n ng-click="to.isOpen = true" \n datepicker-options="to.datepickerOptions" />',h='\n <div class="formly-template-wrapper form-group"\n ng-class="{\'has-error\': options.validation.errorExistsAndShouldBeVisible}">\n <formly-transclude></formly-transclude>\n <div class="validation"\n ng-if="options.validation.errorExistsAndShouldBeVisible"\n ng-messages="options.formControl.$error">\n <div ng-messages-include="validation.html"></div>\n <div ng-message="{{::name}}" ng-repeat="(name, message) in ::options.validation.messages">\n {{message(options.formControl.$viewValue, options.formControl.$modelValue, this)}}\n </div>\n </div>\n </div>',a("richTextTemplate",b),a("blankTemplate",c),a("subTitleTemplate",d),a("basicSelectTemplate",e),a("groupedSelectTemplate",f),a("datepickerTemplate",g),a("validationTemplate",h)}}}),a.register("6",["5"],function(a){"use strict";function b(a){function b(a){return a=a.replace(/[\-_\s]+(.)?/g,function(a,b){return b?b.toUpperCase():""}),a.replace(/^([A-Z])/,function(a,b){return b?b.toLowerCase():""})}a.setType({name:"richEditor",template:c,wrapper:["bootstrapLabel","bootstrapHasError"]}),a.setType({name:"blank",template:d}),a.setType({name:"subTitle",template:e}),a.setType({name:"basicSelect",template:f,wrapper:["bootstrapLabel","bootstrapHasError"]}),a.setType({name:"groupedSelect",template:g,wrapper:["bootstrapLabel","bootstrapHasError"]});var j=["date-disabled","custom-class","show-weeks","starting-day","init-date","min-mode","max-mode","format-day","format-month","format-year","format-day-header","format-day-title","format-month-title","year-range","shortcut-propagation","datepicker-popup","show-button-bar","current-text","clear-text","close-text","close-on-date-selection","datepicker-append-to-body"],k=["datepicker-mode","min-date","max-date"],l={};angular.forEach(j,function(a){l[b(a)]={attribute:a}}),angular.forEach(k,function(a){l[b(a)]={bound:a}}),a.setType({name:"datepicker",template:h,wrapper:["bootstrapLabel","bootstrapHasError"],controller:["$scope",function(a){a.open=function(b){b.preventDefault(),b.stopPropagation(),a.opened=!0}}],defaultOptions:{ngModelAttrs:l,templateOptions:{addonLeft:{"class":"glyphicon glyphicon-calendar",onClick:function(a){return a.templateOptions.isOpen=!a.templateOptions.isOpen}},onFocus:function(a,b,c){return c.to.isOpen=!c.to.isOpen},datepickerOptions:{}}}}),a.setWrapper([{template:i}])}var c,d,e,f,g,h,i;return{setters:[function(a){c=a.richTextTemplate,d=a.blankTemplate,e=a.subTitleTemplate,f=a.basicSelectTemplate,g=a.groupedSelectTemplate,h=a.datepickerTemplate,i=a.validationTemplate}],execute:function(){b.$inject=["formlyConfigProvider"],a("default",b)}}}),a.registerDynamic("7",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports={SAY_HI:"Hello",EDIT_TAB:"Edit / Create",PREVIEW_TAB:"Preview",WIZARD_LINES:"lines",WIZARD_LAYOUT:"layout",WIZARD_CONTROLS:"controls",WIZARD_SAVE:"save",PAGER_PREVIOUS:"Previous",PAGER_NEXT:"Next",COMMAND_PANEL:"Command",VISUAL_PANEL:"Visual",ADD_NEW_LINE:"Add a new line",SELECTED_LINE:"Selected line",NUMBER_OF_COLUMN:"number of columns",APPLY_CTRL2COL:"Apply controls to columns",CLIC_TAP_2_OPEN:"Click / Tap on column to open control selection",SELECT_2_APPLY_COL:"Select desired control and valid to apply it to column",CUSTOM_SUBMIT_BTN:"Customize Submit button Text",CUSTOM_CANCEL_BTN:"Customize Cancel button Text",NAME_THIS_FORM:"Name this form",SAVE_THIS_FORM:"save this form",FINAL_STEP:"Final Step : form preview",DATA_MODEL:"DATA MODEL",FIELDS_MODEL:"FIELDS MODEL (ready to save to database one)",SELECT_A_CTRL:"Select a control",SELECT_CTRL_IN_LIST:"Select a control in the list below",COL_WILL_BE_BLANK:"Column will be blank",EDIT_PROPERTIES:"Edit properties",HEADER_TEXT:"Header text",ADD_EDIT_HEADER_HERE:"Add / edit header text here",SUBTITLE_TEXT:"Subtitle text",ADD_EDIT_SUBTIL_HERE:"Add / edit subtitle text here",LABEL_TEXT:"Label text",ADD_EDIT_LABEL_HERE:"Add / edit control label here",PLACEHOLDER:"placeholder",ADD_EDIT_PLACEHOLD:"Add / edit placeholder text here",REQUIRED:"Required",DESCRIPTION:"Description",ADDEDIT_DESCRIPTION:"Add / edit description here",DATE_FORMAT:"Date format",ADD_NEW_RADIO:"Add new radio",ADD_RADIO_PLACEHOLD:"add new radio",EDIT_REMOVE_RADIO:"Edit/Remove radio",NO_RADIO_ADD_NEW:"no radio : add new radio values",SEARCH_4_OPTION:"search for option",ADD:"add",ORDER:"order",OPTION:"option",GROUP:"group",ADD_NEW_OPTIONS:"Add new options",ADD_A_NEW_OPTION:"add new option",EDIT_REMOVE_OPTIONS:"Edit/Remove options",NO_OPTION_ADD_NEW:"no option : add new options",ADD_NEW_GROUPS:"Add new groups",ADD_A_NEW_GROUP:"Add new group",EDIT_GROUPS_OPTIONS:"Edit/Remove options/groups",NO_GROUP_ADD_NEW:"add new groups",OK:"OK",CANCEL:"Cancel"},d.define=e,c.exports}),a.registerDynamic("8",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports={SAY_HI:"Bonjour",EDIT_TAB:"Edition / Creation",PREVIEW_TAB:"Aperçu",WIZARD_LINES:"lignes",WIZARD_LAYOUT:"disposition",WIZARD_CONTROLS:"contrôles",WIZARD_SAVE:"sauvegarder",PAGER_PREVIOUS:"Précédent",PAGER_NEXT:"Suivant",COMMAND_PANEL:"Commandes",VISUAL_PANEL:"Visuel",ADD_NEW_LINE:"Ajouter une nouvelle ligne",SELECTED_LINE:"Ligne sélectionnée",NUMBER_OF_COLUMN:"nombre de colonnes",APPLY_CTRL2COL:"Appliquer les contrôles aux colonnes",CLIC_TAP_2_OPEN:"Cliquer sur une colonne pour ouvrir le menu d'édition",SELECT_2_APPLY_COL:"Sélectionner un contrôle puis valider pour l'appliquer à la colonne",CUSTOM_SUBMIT_BTN:"Personnaliser le texte du bouton envoie",CUSTOM_CANCEL_BTN:"Personnaliser le texte du bouton annuler",NAME_THIS_FORM:"Nommer le formulaire",SAVE_THIS_FORM:"sauvegarder le formulaire",FINAL_STEP:"Dernière étape : aperçu du formulaire",DATA_MODEL:"MODELE DE DONNEES",FIELDS_MODEL:"MODELE DES CHAMPS (modèle compatible base de données)",SELECT_A_CTRL:"Sélectionner un contrôle",SELECT_CTRL_IN_LIST:"Sélectionner un contrôle dans la liste ci-dessous",COL_WILL_BE_BLANK:"La colonne sera vide",EDIT_PROPERTIES:"Editer les propriétés",HEADER_TEXT:"Texte du titre principal",ADD_EDIT_HEADER_HERE:"Editer le textes du titre principal",SUBTITLE_TEXT:"Texte du sous-titre",ADD_EDIT_SUBTIL_HERE:"Editer le textes du sous-titre",LABEL_TEXT:"Texte de l'étiquette",ADD_EDIT_LABEL_HERE:"Editer le texte de l'étiquette",PLACEHOLDER:"placeholder",ADD_EDIT_PLACEHOLD:"Editer le placeholder",REQUIRED:"Requis",DESCRIPTION:"Description",ADDEDIT_DESCRIPTION:"Ajouter / editer la description",DATE_FORMAT:"Format de la date",ADD_NEW_RADIO:"Ajouter un nouveau choix à cocher",ADD_RADIO_PLACEHOLD:"Ajouter un nouveau choix à cocher",EDIT_REMOVE_RADIO:"Editer / supprimer un choix à cocher",NO_RADIO_ADD_NEW:"aucun choix à cocher : en ajouter un",SEARCH_4_OPTION:"rechercher une option",ADD:"ajouter",ORDER:"ordre",OPTION:"option",GROUP:"groupe",ADD_NEW_OPTIONS:"Ajouter de nouvelles options",ADD_A_NEW_OPTION:"ajoutre une option",EDIT_REMOVE_OPTIONS:"Editer / supprimer des options",NO_OPTION_ADD_NEW:"aucune option : en ajouter",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"},d.define=e,c.exports}),a.registerDynamic("9",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.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"},d.define=e,c.exports}),a.registerDynamic("a",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.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_RADIO_ADD_NEW:"kein Radiobutton : Radiobutton hinzufügen",SEARCH_4_OPTION:"option suchen",ADD:"hinzufügen",ORDER:"bestellen",OPTION:"Option",GROUP:"Gruppe",ADD_NEW_OPTIONS:"Optionen hinzufügen",ADD_A_NEW_OPTION:"Option hinzufügen",EDIT_REMOVE_OPTIONS:"Optionen ändern",NO_OPTION_ADD_NEW:"kein option : Option hinzufügen",ADD_NEW_GROUPS:"Gruppen hinzufügen",ADD_A_NEW_GROUP:"Gruppe hinzufügen",EDIT_GROUPS_OPTIONS:"Gruppen ändern",NO_GROUP_ADD_NEW:"keine Gruppe : Gruppe hinzufügen",OK:"bestätigen",CANCEL:"stornieren"},d.define=e,c.exports}),a.registerDynamic("b",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports={SAY_HI:"Merhaba",EDIT_TAB:"Düzenle / Oluştur",PREVIEW_TAB:"Önizleme",WIZARD_LINES:"satırlar",WIZARD_LAYOUT:"düzen",WIZARD_CONTROLS:"kontroller",WIZARD_SAVE:"kaydet",PAGER_PREVIOUS:"Geri",PAGER_NEXT:"İleri",COMMAND_PANEL:"Komut",VISUAL_PANEL:"Görsel",ADD_NEW_LINE:"Yeni satır ekle",SELECTED_LINE:"Seçili satır",NUMBER_OF_COLUMN:"sütun sayısı",APPLY_CTRL2COL:"Sütunlara form ögesi ekle",CLIC_TAP_2_OPEN:"Form ögesi eklemek için sütunlara tıkla",SELECT_2_APPLY_COL:"İstediğin ögeyi seçtikten sonra gerekli yerleri doldur ve kaydet",CUSTOM_SUBMIT_BTN:"Gönder butonu yazısını düzenle",CUSTOM_CANCEL_BTN:"İptal butonu yazısını düzenle",NAME_THIS_FORM:"Forma isim ver",SAVE_THIS_FORM:"formu kaydet",FINAL_STEP:"Son aşama : form önizlemesi",DATA_MODEL:"VERİ MODELİ",FIELDS_MODEL:"ALAN MODELİ (veritabanına kaydetmeye hazır)",SELECT_A_CTRL:"Form ögesi seç",SELECT_CTRL_IN_LIST:"Verilen listeden bir form ögesi seç",COL_WILL_BE_BLANK:"Sütun boş kalacak",EDIT_PROPERTIES:"Özellikleri düzenle",HEADER_TEXT:"Başlık yazısı",ADD_EDIT_HEADER_HERE:"Başlık yazısını ekle / düzenle",SUBTITLE_TEXT:"Altyazı",ADD_EDIT_SUBTIL_HERE:"Altyazı ekle / düzenle",LABEL_TEXT:"Form ögesinin adı",ADD_EDIT_LABEL_HERE:"Ad ekle / düzenle",PLACEHOLDER:"Form ögesinin içine geçici yazı ekle",ADD_EDIT_PLACEHOLD:"Geçici yazı ekle / düzenle",REQUIRED:"Gerekli",DESCRIPTION:"Açıklama",ADDEDIT_DESCRIPTION:"Açıklama ekle / düzenle",DATE_FORMAT:"Tarih formatı",ADD_NEW_RADIO:"Radio butonu ekle",ADD_RADIO_PLACEHOLD:"radio butonu ekle",EDIT_REMOVE_RADIO:"Radio butonunu ekle / düzenle",NO_RADIO_ADD_NEW:"radio butonu yok : yeni buton ekle",SEARCH_4_OPTION:"seçenek ara",ADD:"ekle",ORDER:"sıra",OPTION:"seçenek",GROUP:"grup",ADD_NEW_OPTIONS:"Yeni seçenek ekle",ADD_A_NEW_OPTION:"yeni seçenek ekle",EDIT_REMOVE_OPTIONS:"Seçenekleri düzenle/sil",NO_OPTION_ADD_NEW:"seçenek yok : yeni seçenek ekle",ADD_NEW_GROUPS:"Yeni grup ekle",ADD_A_NEW_GROUP:"Yeni grup ekle",EDIT_GROUPS_OPTIONS:"Seçenek/Grup Ekle/sil",NO_GROUP_ADD_NEW:"yeni grup ekle",OK:"TAMAM",CANCEL:"İptal"},d.define=e,c.exports}),a.registerDynamic("c",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports={SAY_HI:"こんにちわ",EDIT_TAB:"編集 / 作成",PREVIEW_TAB:"プレビュー",WIZARD_LINES:"ライン",WIZARD_LAYOUT:"レイアウト",WIZARD_CONTROLS:"コントロール",WIZARD_SAVE:"サーブ",PAGER_PREVIOUS:"前",PAGER_NEXT:"次",COMMAND_PANEL:"コマンド",VISUAL_PANEL:"ビジュアル",ADD_NEW_LINE:"新しいライン追加",SELECTED_LINE:"選択されたライン",NUMBER_OF_COLUMN:"カラムの数",APPLY_CTRL2COL:"カラムにコントロール適用",CLIC_TAP_2_OPEN:"コントロール選択を広げるには列をクリック",SELECT_2_APPLY_COL:"好きなコントロールを選び適用",CUSTOM_SUBMIT_BTN:"適用ボタンの文字変更する場合",CUSTOM_CANCEL_BTN:"キャンセルボタンの文字変更する場合",NAME_THIS_FORM:"形式に名前を付ける",SAVE_THIS_FORM:"形式をサーブ",FINAL_STEP:"ファイナルステップ : プレビュー形式",DATA_MODEL:"データーモデル",FIELDS_MODEL:"モデルフィールド",SELECT_A_CTRL:"コントロールを選び選択",SELECT_CTRL_IN_LIST:"以下のリストからコントロールを選び選択",COL_WILL_BE_BLANK:"空になる列",EDIT_PROPERTIES:"プロパティの変更",HEADER_TEXT:"ヘッダーテキスト",ADD_EDIT_HEADER_HERE:"ヘッダーテキスト文字変更",SUBTITLE_TEXT:"サブタイトル テキスト",ADD_EDIT_SUBTIL_HERE:"サブタイトルテキスト文字変更",LABEL_TEXT:"ラベルテキスト",ADD_EDIT_LABEL_HERE:"ラベルテキスト文字変更",PLACEHOLDER:"プレースホルダー",ADD_EDIT_PLACEHOLD:"プレースホルダー文字変更",REQUIRED:"必須",DESCRIPTION:"説明",ADDEDIT_DESCRIPTION:"説明の変更",DATE_FORMAT:"日付の形式",ADD_NEW_RADIO:"新ラジオボタンを追加",ADD_RADIO_PLACEHOLD:"新ラジオボタンを追加",EDIT_REMOVE_RADIO:"ラジオボタン変更",NO_RADIO_ADD_NEW:"ラジオ無し : 新ラジオボタン追加",SEARCH_4_OPTION:"オプション検索",ADD:"追加",ORDER:"順番",OPTION:"オプション",GROUP:"グループ",ADD_NEW_OPTIONS:"新しいオプション追加",ADD_A_NEW_OPTION:"新しいオプション追加",EDIT_REMOVE_OPTIONS:"オプションの変更",NO_OPTION_ADD_NEW:"オプション無し : 新しいオプション追加",ADD_NEW_GROUPS:"新しいグループ追加",ADD_A_NEW_GROUP:"新しいグループ追加",EDIT_GROUPS_OPTIONS:"グループを変更",NO_GROUP_ADD_NEW:"グループを追加",OK:"オッケー",CANCEL:"キャンセル"},d.define=e,c.exports}),a.register("d",["7","8","9","a","b","c"],function(a){"use strict";function b(a){a.translations("en",c),a.translations("fr",d),a.translations("es",e),a.translations("de",f),a.translations("tr",g),a.translations("jp",h)}var c,d,e,f,g,h,i;return{setters:[function(a){c=a["default"]},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]}],execute:function(){i="easyFormTranslateConfig",b.$inject=["$translateProvider"],a("default",b),a("TRANSLATE_CONFIG",i)}}}),a.register("e",["d"],function(a){"use strict";var b,c,d;return{setters:[function(a){b=a["default"],c=a.TRANSLATE_CONFIG}],execute:function(){d="eda.easyFormGenerator.translate",a("default",angular.module(d,[]).config(b))}}}),a.register("f",[],function(a){"use strict";var b;return{setters:[],execute:function(){b=["textAngular","textAngularSetup","ngAnimate","toaster","formly","formlyBootstrap","ui.bootstrap","nya.bootstrap.select","pascalprecht.translate"],a("default",angular.module("edaStepWayEasyFormGen.core",b))}}}),a.registerDynamic("10",[],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports='<section id="pageWfEdit">\n <div ng-init="">\n <div class="container">\n <section id="preview">\n <div id="preview-content">\n <div class="content-container">\n <!-- taoster alert -->\n <toaster-container toaster-options="{\n \'position-class\': \'toast-top-full-width\', \n \'extendedTimeout\':500,\n \'timeOut\':500, \n }">\n </toaster-container>\n <tabset justified="true">\n <tab active="vm.tab.editTab.active" heading="{{\'EDIT_TAB\' | translate}}">\n <div class="row"> \n <!-- STEP INDICATOR -->\n <div class="row stepwizardTopmargin">\n <div class="col-lg-8 col-lg-offset-2 col-md-8 col-md-offset-2">\n <div class="stepwizard">\n <div class="row stepwizard-row">\n <div class="stepwizard-step col-md-3">\n <button type="button" class="btn btn-circle" ng-class="{\'btn-primary\': vm.configuration.stepIndicators[0], \'btn-default\': !vm.configuration.stepIndicators[0]}" >0</button>\n <p>{{\'WIZARD_LINES\' | translate}}</p>\n </div>\n <div class="stepwizard-step col-md-3">\n <button type="button" class="btn btn-circle" ng-class="{\'btn-primary\': vm.configuration.stepIndicators[1], \'btn-default\': !vm.configuration.stepIndicators[1], \'disabled\': (vm.configuration.configStepCounter < 1)}" >1</button>\n <p>{{\'WIZARD_LAYOUT\' | translate}}</p>\n </div>\n <div class="stepwizard-step col-md-3">\n <button type="button" class="btn btn-default btn-circle" ng-class="{\'btn-primary\': vm.configuration.stepIndicators[2], \'btn-default\': !vm.configuration.stepIndicators[2], \'disabled\': (vm.configuration.configStepCounter < 2)}" >2</button>\n <p>{{\'WIZARD_CONTROLS\' | translate}}</p>\n </div>\n <div class="stepwizard-step col-md-3">\n <button type="button" class="btn btn-default btn-circle" ng-class="{\'btn-primary\': vm.configuration.stepIndicators[3], \'btn-default\': !vm.configuration.stepIndicators[3], \'disabled\': (vm.configuration.configStepCounter < 3)}" >3</button>\n <p>{{\'WIZARD_SAVE\' | translate}}</p>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <ul class="pager">\n <li ng-class="{\'disabled\':vm.stepIndicators[0]}">\n <button class="btn btn-primary customPagerButton" ng-click="vm.previousConfigStep()" >\n <i class="fa fa-arrow-left fa-2x pull-left"></i>\n <span class="pull-right">{{\'PAGER_PREVIOUS\' | translate}}</span>\n </button>\n </li>\n <li ng-class="{\'disabled\':vm.stepIndicators[3]}">\n <button class="btn btn-primary customPagerButton" ng-click="vm.nextConfigStep()">\n <span class="pull-left">{{\'PAGER_NEXT\' | translate}}</span>\n <i class="fa fa-arrow-right fa-2x pull-right"></i>\n </button>\n </li>\n </ul>\n <div class="animate-switch-container" ng-switch on="vm.configuration.listConfigStep[vm.configuration.configStepCounter]">\n <div class="animate-switch" ng-switch-when="init">\n <div class="col-md-4" >\n <div id="commandPanel">\n <div class="panel panel-default">\n <div class="panel-heading">\n <h3 class="panel-title"><i class="fa fa-keyboard-o"></i>&nbsp;{{\'COMMAND_PANEL\' | translate}}</h3>\n </div>\n <div class="panel-body">\n <div class="row">\n <div class="col-md-12">\n <span class="addNewLine">{{\'ADD_NEW_LINE\' | translate}} :</span>&nbsp;\n <button class="btn btn-primary" ng-click="vm.addNewline()"><i class="fa fa-plus fa-1x"></i></button> \n </div>\n </div>\n </div>\n </div>\n </div>\n </div> \n <div class="col-md-8">\n <div id="visualPanel">\n <div class="panel panel-default">\n <div class="panel-heading">\n <h3 class="panel-title"><i class="fa fa-eye"></i>&nbsp;{{\'VISUAL_PANEL\' | translate}}</h3>\n </div>\n <div class="panel-body">\n <!-- lines -->\n <ul class="list-group">\n <li class="list-group-item" ng-repeat="line in vm.configuration.lines track by $index">\n <!-- columns -->\n <div ng-switch on="line.columns.length">\n <div class="row linesList" ng-switch-when="1">\n <div class="col-md-12 lineCommandButtons" ng-show="vm.configuration.lines.length > 1">\n <button class="btn btn-warning" ng-hide="$index==0" ng-click="vm.upThisLine($index)"><i class="fa fa-arrow-up"></i></button>\n <button class="btn btn-warning" ng-hide="$index==(vm.configuration.lines.length-1)" ng-click="vm.downThisLine($index)"><i class="fa fa-arrow-down"></i></button>\n <button class="btn btn-danger pull-right" ng-click="vm.removeThisLine($index)"><i class="fa fa-trash-o"></i></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 class="row linesList" ng-switch-when="2">\n <div class="col-md-12 lineCommandButtons" ng-show="vm.configuration.lines.length > 1">\n <button class="btn btn-warning" ng-hide="$index==0" ng-click="vm.upThisLine($index)"><i class="fa fa-arrow-up"></i></button>\n <button class="btn btn-warning" ng-hide="$index==(vm.configuration.lines.length-1)" ng-click="vm.downThisLine($index)"><i class="fa fa-arrow-down"></i></button>\n <button class="btn btn-danger pull-right" ng-click="vm.removeThisLine($index)"><i class="fa fa-trash-o"></i></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.subtype || \'\' : \'column 2\'}}\n </button> \n </div> \n </div>\n </div> \n <div class="row linesList" ng-switch-when="3">\n <div class="col-md-12 lineCommandButtons" ng-show="vm.configuration.lines.length > 1">\n <button class="btn btn-warning" ng-hide="$index==0" ng-click="vm.upThisLine($index)"><i class="fa fa-arrow-up"></i></button>\n <button class="btn btn-warning" ng-hide="$index==(vm.configuration.lines.length-1)" ng-click="vm.downThisLine($index)"><i class="fa fa-arrow-down"></i></button>\n <button class="btn btn-danger pull-right" ng-click="vm.removeThisLine($index)"><i class="fa fa-trash-o"></i></button> \n </div> \n <div class="col-md-12">\n <div class="col-md-4 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-4 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.subtype || \'\' : \'column 2\'}}\n </button>\n </div>\n <div class="col-md-4 well"> \n <button class="btn btn-lg btn-block btn-default disabled">\n {{line.columns[2].control.type !== \'none\' ? line.columns[2].control.type + \' \' + line.columns[2].control.subtype || \'\' : \'column 3\'}}\n </button> \n </div> \n </div>\n </div> \n </div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="animate-switch" ng-switch-when="first"> \n <div class="col-md-4">\n <div id="commandPanel">\n <div class="panel panel-default">\n <div class="panel-heading">\n <h3 class="panel-title"><i class="fa fa-keyboard-o"></i>&nbsp;{{\'COMMAND_PANEL\' | translate}}</h3>\n </div>\n <div class="panel-body">\n <div class="row">\n <div class="col-md-12">\n <h4 class="numberOfcolumsText text-center"><i>- {{\'SELECTED_LINE\' | translate}} -</i></h4>\n <h4 class="numberOfcolumsText text-center">{{\'NUMBER_OF_COLUMN\' | translate}} :</h4>\n </div>\n </div>\n <div class="row">\n <div class="col-xs-2 col-xs-offset-3 col-sm-2 col-sm-offset-3 col-md-2 col-md-offset-3">\n <button class="btn btn-primary pull-right btnMinusColumns" ng-click="vm.decreaseNumberOfColumns()"><i class="fa fa-minus fa-1x"></i></button>\n </div>\n <div class="col-xs-2 col-sm-2 col-md-2 text-center">\n <span class="numberOfColumnsLabel ">{{vm.configuration.lines[vm.configuration.activeLine -1].columns.length}}</span>\n </div>\n <div class="col-xs-2 col-sm-2 col-md-2">\n <button class="btn btn-primary pull-left btnAddColumns" ng-click="vm.increaseNumberOfColumns()"><i class="fa fa-plus fa-1x"></i></button>\n </div> \n </div>\n </div>\n </div>\n </div>\n </div> \n <div class="col-md-8">\n <div id="visualPanel">\n <div class="panel panel-default">\n <div class="panel-heading">\n <h3 class="panel-title"><i class="fa fa-eye"></i>&nbsp;{{\'VISUAL_PANEL\' | translate}}</h3>\n </h3>\n </div>\n <div class="panel-body">\n <!-- lines / columns -->\n <ul class="list-group">\n <li class="list-group-item" ng-repeat="line in vm.configuration.lines track by $index">\n <!-- columns -->\n <div ng-switch on="line.columns.length">\n <div class="row linesList" ng-switch-when="1">\n <div class="col-md-12 lineCommandButtons" ng-show="vm.configuration.lines.length > 1">\n <button class="btn" ng-class="{\'btn-warning\':($index + 1) !== vm.configuration.activeLine, \'btn-success\': ($index + 1) === vm.configuration.activeLine}" ng-click="vm.setActiveLineNumber($index + 1)">\n <i class="fa" ng-class="{\'fa-square-o\': ($index + 1) !== vm.configuration.activeLine, \'fa-check-square-o\': ($index + 1) === vm.configuration.activeLine}"></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 class="row linesList" ng-switch-when="2">\n <div class="col-md-12 lineCommandButtons" ng-show="vm.configuration.lines.length > 1">\n <button class="btn" ng-class="{\'btn-warning\':($index + 1) !== vm.configuration.activeLine, \'btn-success\': ($index + 1) === vm.configuration.activeLine}" ng-click="vm.setActiveLineNumber($index + 1)">\n <i class="fa" ng-class="{\'fa-square-o\': ($index + 1) !== vm.configuration.activeLine, \'fa-check-square-o\': ($index + 1) === vm.configuration.activeLine}"></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.subtype || \'\' : \'column 2\'}}\n </button> \n </div> \n </div>\n </div> \n <div class="row linesList" ng-switch-when="3">\n <div class="col-md-12 lineCommandButtons" ng-show="vm.configuration.lines.length > 1">\n <button class="btn" ng-class="{\'btn-warning\':($index + 1) !== vm.configuration.activeLine, \'btn-success\': ($index + 1) === vm.configuration.activeLine}" ng-click="vm.setActiveLineNumber($index + 1)">\n <i class="fa" ng-class="{\'fa-square-o\': ($index + 1) !== vm.configuration.activeLine, \'fa-check-square-o\': ($index + 1) === vm.configuration.activeLine}"></i>\n </button>\n </div> \n <div class="col-md-12">\n <div class="col-md-4 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-4 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.subtype || \'\' : \'column 2\'}}\n </button> \n </div>\n <div class="col-md-4 well"> \n <button class="btn btn-lg btn-block btn-default disabled">\n {{line.columns[2].control.type !== \'none\' ? line.columns[2].control.type + \' \' + line.columns[2].control.subtype || \'\' : \'column 3\'}}\n </button> \n </div> \n </div>\n </div> \n </div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class="animate-switch" ng-switch-when="second"> \n <div class="col-md-4">\n <div id="commandPanel">\n <div class="panel panel-default">\n <div class="panel-heading">\n <h3 class="panel-title"><i class="fa fa-keyboard-o"></i>&nbsp;{{\'COMMAND_PANEL\' | translate}}</h3>\n </div>\n <div class="panel-body">\n <div class="row">\n <div class="col-md-12">\n <h4 class="numberOfcolumsText text-center">- {{\'APPLY_CTRL2COL\' | translate}} -</h4>\n </div>\n </div>\n <div class="row">\n <div class="col-lg-12" >\n <hr/>\n <blockquote>\n <p class="numberOfcolumsText"><i class="fa fa-minus"></i>&nbsp; {{\'CLIC_TAP_2_OPEN\' | translate}}.</p> \n <p class="numberOfcolumsText"><i class="fa fa-minus"></i>&nbsp; {{\'SELECT_2_APPLY_COL\' | translate}}.</p>\n </blockquote> \n </div> \n </div>\n </div>\n </div>\n </div>\n </div> \n\n <div class="col-md-8">\n <div id="visualPanel">\n <div class="panel panel-default">\n <div class="panel-heading">\n <h3 class="panel-title"><i class="fa fa-eye"></i>&nbsp;{{\'VISUAL_PANEL\' | translate}}</h3>\n </h3>\n </div>\n <div class="panel-body">\n <!-- lines / columns -->\n <ul class="list-group">\n <li class="list-group-item" ng-repeat="line in vm.configuration.lines track by $index">\n <!-- columns -->\n <div ng-switch on="line.columns.length">\n <div class="row linesList" ng-switch-when="1">\n <div class="col-md-12 lineCommandButtons" ng-show="vm.configuration.lines.length > 1">\n <button class="btn" ng-class="{\'btn-warning\':($index + 1) !== vm.configuration.activeLine, \'btn-success\': ($index + 1) === vm.configuration.activeLine}" ng-click="vm.setActiveLineNumber($index + 1)">\n <i class="fa" ng-class="{\'fa-square-o\': ($index + 1) !== vm.configuration.activeLine, \'fa-check-square-o\': ($index + 1) === vm.configuration.activeLine}"></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" ng-class="{\'btn-primary\': !line.columns[0].control.edited, \'btn-success\': line.columns[0].control.edited}" ng-click="vm.showModalAddCtrlToColumn(\'\', $index, 0)">\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 class="row linesList" ng-switch-when="2">\n <div class="col-md-12 lineCommandButtons" ng-show="vm.configuration.lines.length > 1">\n <button class="btn" ng-class="{\'btn-warning\':($index + 1) !== vm.configuration.activeLine, \'btn-success\': ($index + 1) === vm.configuration.activeLine}" ng-click="vm.setActiveLineNumber($index + 1)">\n <i class="fa" ng-class="{\'fa-square-o\': ($index + 1) !== vm.configuration.activeLine, \'fa-check-square-o\': ($index + 1) === vm.configuration.activeLine}"></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" ng-class="{\'btn-primary\': !line.columns[0].control.edited, \'btn-success\': line.columns[0].control.edited}" ng-click="vm.showModalAddCtrlToColumn(\'\', $index, 0)">\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" ng-class="{\'btn-primary\': !line.columns[1].control.edited, \'btn-success\': line.columns[1].control.edited}" ng-click="vm.showModalAddCtrlToColumn(\'\', $index, 1)">\n {{line.columns[1].control.type !== \'none\' ? line.columns[1].control.type + \' \' + line.columns[1].control.subtype || \'\' : \'column 2\'}}\n </button> \n </div>\n </div> \n </div> \n <div class="row linesList" ng-switch-when="3">\n <div class="col-md-12 lineCommandButtons" ng-show="vm.configuration.lines.length > 1">\n <button class="btn" ng-class="{\'btn-warning\':($index + 1) !== vm.configuration.activeLine, \'btn-success\': ($index + 1) === vm.configuration.activeLine}" ng-click="vm.setActiveLineNumber($index + 1)">\n <i class="fa" ng-class="{\'fa-square-o\': ($index + 1) !== vm.configuration.activeLine, \'fa-check-square-o\': ($index + 1) === vm.configuration.activeLine}"></i>\n </button>\n </div> \n <div class="col-md-12">\n <div class="col-md-4 well"> \n <button class="btn btn-lg btn-block" ng-class="{\'btn-primary\': !line.columns[0].control.edited, \'btn-success\': line.columns[0].control.edited}" ng-click="vm.showModalAddCtrlToColumn(\'\', $index, 0)">\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-4 well"> \n <button class="btn btn-lg btn-block" ng-class="{\'btn-primary\': !line.columns[1].control.edited, \'btn-success\': line.columns[1].control.edited}" ng-click="vm.showModalAddCtrlToColumn(\'\', $index, 1)">\n {{line.columns[1].control.type !== \'none\' ? line.columns[1].control.type + \' \' + line.columns[1].control.subtype || \'\' : \'column 2\'}}\n </button> \n </div>\n <div class="col-md-4 well"> \n <button class="btn btn-lg btn-block" ng-class="{\'btn-primary\': !line.columns[2].control.edited, \'btn-success\': line.columns[2].control.edited}" ng-click="vm.showModalAddCtrlToColumn(\'\', $index, 2)">\n {{line.columns[2].control.type !== \'none\' ? line.columns[2].control.type + \' \' + line.columns[2].control.subtype || \'\' : \'column 3\'}}\n </button> \n </div> \n </div>\n </div> \n </div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </div> \n <div class="animate-switch" ng-switch-when="third">\n <div class="col-md-4">\n <div id="commandPanel">\n <div class="panel panel-default">\n <div class="panel-heading">\n <h3 class="panel-title"><i class="fa fa-keyboard-o"></i>&nbsp;{{\'COMMAND_PANEL\' | translate}}</h3>\n </div>\n <div class="panel-body">\n <div class="row">\n <div class="col-xs-12">\n <div class="form-group">\n <label for="inputSubmitButtontext" class=" greyText control-label">{{\'CUSTOM_SUBMIT_BTN\' | translate}} :</label>\n <div class="">\n <input type="text" class="form-control" id="inputSubmitButtontext" placeholder="" ng-model="vm.configuration.submitButtonText">\n </div>\n </div> \n </div> \n </div>\n <hr/>\n <div class="row">\n <div class="col-xs-12">\n <div class="form-group">\n <label for="inputCancelButtontext" class=" greyText control-label">{{\'CUSTOM_CANCEL_BTN\' | translate}} :</label>\n <div class="">\n <input type="text" class="form-control" id="inputCancelButtontext" placeholder="" ng-model="vm.configuration.cancelButtonText">\n </div>\n </div> \n </div> \n </div>\n <hr/>\n <div class="row">\n <div class="col-xs-12">\n <div class="form-group">\n <label for="inputNameFormtext" class=" greyText control-label">{{\'NAME_THIS_FORM\' | translate}} :</label>\n <div class="">\n <input type="text" class="form-control" id="inputNameFormtext" placeholder="" ng-model="vm.configuration.formName">\n </div>\n </div> \n </div> \n </div>\n <button class="btn btn-primary btn-block btn-lg" ng-click="vm.saveThisForm()">{{\'SAVE_THIS_FORM\' | translate}}</button>\n </div>\n </div>\n </div>\n </div> \n <div class="col-md-8">\n <div id="visualPanel">\n <div class="panel panel-default">\n <div class="panel-heading">\n <h3 class="panel-title"><i class="fa fa-thumbs-o-up"></i>&nbsp;{{\'FINAL_STEP\' | translate}}</h3>\n </div>\n <div class="panel-body">\n <form ng-submit="vm.onSubmit()">\n <formly-form id="saveFormlyFom" model="vm.dataModel" fields="vm.wfFormFields">\n <span class="pull-right">\n <button class="btn btn-primary" type="submit">{{vm.configuration.submitButtonText}}</button>\n <button class="btn btn-primary" type="cancel">{{vm.configuration.cancelButtonText}}</button>\n </span>\n </formly-form>\n </form> \n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </tab> \n\n <tab active="vm.tab.previewTab.active" ng-if="vm.tab.previewTab.tabVisible" heading="{{\'PREVIEW_TAB\' | translate}}">\n <div class="panel panel-default">\n <div class="panel-body">\n <!-- formly here -->\n <form ng-submit="vm.onSubmit()">\n <formly-form id="previewFormlyForm" model="vm.dataModel" fields="vm.wfFormFields">\n <span class="pull-right">\n <button class="btn btn-primary" type="submit">{{vm.configuration.submitButtonText}}</button>\n <button class="btn btn-primary" type="cancel">{{vm.configuration.cancelButtonText}}</button>\n </span>\n </formly-form>\n </form> \n </div>\n </div>\n <div ng-if="vm.tab.previewTab.modelsVisible" class="panel panel-default">\n <div class="panel-body">\n <p>{{\'DATA_MODEL\' | translate}}</p>\n <pre>\n {{vm.dataModel | json}}\n </pre>\n </div>\n </div>\n <div ng-if="vm.tab.previewTab.modelsVisible" class="panel panel-default">\n <div class="panel-body">\n <p>{{\'FIELDS_MODEL\' | translate}}</p>\n <pre>\n {{vm.wfFormFieldsOnlyNeededProperties | json}}\n </pre>\n </div>\n </div>\n </tab>\n </tabset>\n </div>\n </div>\n </section>\n <hr/>\n <!--<section>\n <h6 class="text-right">Easy form generator : {{vm.easyFormGeneratorVERSION}} Erwan DATIN (MacKentoch)</h6>\n </section>-->\n </div>\n </div>\n</section>',
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 <ol \n class="nya-bs-select col-xs-12 col-sm-12 col-md-12 col-lg-12" \n ng-model="editControlModCtrl.modelNyaSelect" \n data-live-search="false">\n <li nya-bs-option="option in editControlModCtrl.nyaSelectFiltered.controls group by option.group">\n <span class="dropdown-header greyText">{{$group}}</span> <!-- group header cannot be searched -->\n <a ng-click="editControlModCtrl.selectThisControl(option.id)">\n <span>\n {{ option.name }}\n </span> \n <span class="glyphicon glyphicon-ok check-mark"></span>\n </a>\n </li>\n </ol>\n </div>\n </div>\n <hr/>\n <div ng-switch on="editControlModCtrl.nyaSelect.selectedControl">\n <!--no control selected-->\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 <!--empty (or blank) control -->\n <div ng-switch-when="empty">\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-eye"></i>\n &nbsp; \n {{\'PREVIEW_TAB\' | translate}} :\n </h5>\n </div>\n </div> \n <hr/>\n <div class="row">\n <div class="col-sm-12">\n <h5 class="text-center greyText">\n {{\'COL_WILL_BE_BLANK\' | translate}}\n </h5>\n </div> \n </div>\n </div>\n </div>\n </div> \n <!--header-->\n <div ng-switch-when="Header">\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 {{editControlModCtrl.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="editControlModCtrl.nyaSelect.temporyConfig.formlyDesciption" \n id="inputHeaderTextUpdate" \n placeholder="{{\'ADD_EDIT_HEADER_HERE\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div>\n <!--Subtitle-->\n <div ng-switch-when="Subtitle">\n <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-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 <h4 class="text-center">\n {{editControlModCtrl.nyaSelect.temporyConfig.formlyPlaceholder}}\n </h4>\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 \n 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="inputSubTitleTextUpdate" \n class="col-lg-3 control-label greyText editPropertiesLabel">\n {{\'SUBTITLE_TEXT\' | translate}} :\n </label>\n <div class="col-lg-9">\n <input \n type="text" \n class="form-control" \n ng-model="editControlModCtrl.nyaSelect.temporyConfig.formlyPlaceholder" \n id="inputSubTitleTextUpdate" \n placeholder="{{\'ADD_EDIT_SUBTIL_HERE\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div> \n <!-- TextInput -->\n <div ng-switch-when="TextInput"> \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-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="inputText" \n class="control-label textControlLabel">\n {{editControlModCtrl.nyaSelect.temporyConfig.formlyLabel}}\n <span \n ng-if="editControlModCtrl.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="inputText" \n placeholder="{{editControlModCtrl.nyaSelect.temporyConfig.formlyPlaceholder}}">\n <p class="help-block">\n {{editControlModCtrl.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="editControlModCtrl.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="editControlModCtrl.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">&nbsp;</div>\n <input \n type="checkbox" \n ng-model="editControlModCtrl.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="editControlModCtrl.nyaSelect.temporyConfig.formlyDesciption" \n id="inputTextDescriptionUpdate" \n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div>\n <!-- password -->\n <div ng-switch-when="Password"> \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-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="inputPassword" \n class="control-label textControlLabel">\n {{editControlModCtrl.nyaSelect.temporyConfig.formlyLabel}}\n <span \n ng-if="editControlModCtrl.nyaSelect.temporyConfig.formlyRequired" \n class="textControlLabel">\n *\n </span>\n </label>\n <div class="">\n <input \n type="password" \n class="form-control" \n id="inputPassword" \n placeholder="{{editControlModCtrl.nyaSelect.temporyConfig.formlyPlaceholder}}">\n <p class="help-block">\n {{editControlModCtrl.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="editControlModCtrl.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="editControlModCtrl.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>\n <input \n type="checkbox" \n ng-model="editControlModCtrl.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="editControlModCtrl.nyaSelect.temporyConfig.formlyDesciption" \n id="inputTextDescriptionUpdate" \n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div> \n <div ng-switch-when="Email">\n <!-- password -->\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-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="inputEmail" \n class="control-label textControlLabel">\n {{editControlModCtrl.nyaSelect.temporyConfig.formlyLabel}}\n <span \n ng-if="editControlModCtrl.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="inputEmail" \n placeholder="{{editControlModCtrl.nyaSelect.temporyConfig.formlyPlaceholder}}">\n <p class="help-block">\n {{editControlModCtrl.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="editControlModCtrl.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="editControlModCtrl.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>\n <input \n type="checkbox" \n ng-model="editControlModCtrl.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="editControlModCtrl.nyaSelect.temporyConfig.formlyDesciption" \n id="inputTextDescriptionUpdate" \n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div> \n <div ng-switch-when="Date">\n <!-- datetimepicker (input type date not ok in all browsers) -->\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-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="inputDate" \n class="control-label textControlLabel">\n {{editControlModCtrl.nyaSelect.temporyConfig.formlyLabel}}\n <span \n ng-if="editControlModCtrl.nyaSelect.temporyConfig.formlyRequired" \n class="textControlLabel">\n *\n </span>\n </label>\n <div class="">\n <div class="input-group" >\n <span class="input-group-addon">\n <i class="glyphicon glyphicon-calendar"></i>\n </span>\n <input \n type="text" \n class="form-control" \n datepicker-popup="{{editControlModCtrl.nyaSelect.temporyConfig.datepickerPopup}}" \n ng-model="editControlModCtrl.demodt.dt" \n is-open="editControlModCtrl.demodt.opened" \n min-date="editControlModCtrl.demodt.minDate" \n max-date="\'2099-12-31\'" \n datepicker-options="editControlModCtrl.dateOptions" \n date-disabled="editControlModCtrl.disabled(date, mode)" \n close-text="Close" \n ng-click="editControlModCtrl.open($event)" \n />\n </div> \n <p class="help-block">\n {{editControlModCtrl.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 class="col-lg-3 control-label greyText editPropertiesLabel">\n {{\'DATE_FORMAT\' | translate}} :\n </label>\n <div class="col-lg-9">\n <ol \n class="nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12" \n ng-model="editControlModCtrl.nyaSelect.temporyConfig.datepickerPopup" \n id="dateformatSelect">\n <li \n class="nya-bs-option" \n nya-bs-option="dateformat in editControlModCtrl.demodt.formats" \n value="dateformat">\n <a>\n {{dateformat}}\n </a>\n </li>\n </ol>\n </div>\n </div>\n </div>\n <div class="marginTopFivepixels"></div>\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="editControlModCtrl.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">\n &nbsp;\n </div>\n <input \n type="checkbox" \n ng-model="editControlModCtrl.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="editControlModCtrl.nyaSelect.temporyConfig.formlyDesciption" \n id="inputTextDescriptionUpdate" \n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div> \n <div ng-switch-when="Texarea">\n <!-- textarea -->\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-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="textArea" \n class="control-label textControlLabel">\n {{editControlModCtrl.nyaSelect.temporyConfig.formlyLabel}}\n <span \n ng-if="editControlModCtrl.nyaSelect.temporyConfig.formlyRequired" \n class="textControlLabel">\n *\n </span>\n </label>\n <div class="">\n <textarea \n class="form-control" \n ng-model="model[options.key]" \n rows="3" \n id="textArea">\n </textarea> \n <p class="help-block">\n {{editControlModCtrl.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="editControlModCtrl.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">\n &nbsp;\n </div>\n <input \n type="checkbox" \n ng-model="editControlModCtrl.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">{{\'DESCRIPTION\' | translate}} :\n </label>\n <div class="col-lg-9">\n <input \n type="text" \n class="form-control" \n ng-model="editControlModCtrl.nyaSelect.temporyConfig.formlyDesciption" \n id="inputTextDescriptionUpdate" \n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div> \n <div ng-switch-when="RichTextEditor">\n <!-- TextInput -->\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-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 {{editControlModCtrl.nyaSelect.temporyConfig.formlyLabel}}\n <span \n ng-if="editControlModCtrl.nyaSelect.temporyConfig.formlyRequired" \n class="textControlLabel">\n *\n </span>\n </label>\n <div class="">\n <text-angular \n ng-model="editControlModCtrl.model[options.key]">\n </text-angular>\n <p class="help-block">\n {{editControlModCtrl.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">{{\'DESCRIPTION\' | translate}} :\n </label>\n <div class="col-lg-9">\n <input \n type="text" \n class="form-control" \n ng-model="editControlModCtrl.nyaSelect.temporyConfig.formlyDesciption" \n id="inputTextDescriptionUpdate" \n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div> \n <div ng-switch-when="Radio">\n <!-- radios -->\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-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="basicSelect" \n class="control-label textControlLabel">\n {{editControlModCtrl.nyaSelect.temporyConfig.formlyLabel}}\n <span \n ng-if="editControlModCtrl.nyaSelect.temporyConfig.formlyRequired" \n class="textControlLabel">\n *\n </span>\n </label>\n <div class="">\n <div \n class="radio" \n ng-repeat="radioRow in editControlModCtrl.radioRowCollection.rows">\n <label>\n <input \n type="radio" \n name="optionsRadios" \n id="{{\'optionsRadio-\' + $index}}" \n value="$index" \n checked="">\n {{radioRow.option}}\n </label>\n </div>\n <p class="help-block">\n {{editControlModCtrl.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 \n 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="col-lg-3 col-md-3"> \n <label \n for="radioRowCollection" \n class=" control-label greyText editPropertiesLabel">\n {{\'ADD_NEW_RADIO\' | translate}} :\n </label> \n </div>\n </div>\n <div class="row">\n <div>\n <div class="form-group">\n <div class="col-sm-9 col-xs-9 col-md-9 col-lg-9">\n <input \n type="text" \n class="form-control" \n id="inputAddNewRadioOption" \n placeholder="{{\'ADD_RADIO_PLACEHOLD\' | translate}}" \n ng-model="editControlModCtrl.newOptionRadio.saisie">\n </div>\n <div class="col-sm-3 col-xs-3 col-md-3 col-lg-3">\n <button \n class="btn btn-primary" \n ng-click="editControlModCtrl.addNewOptionRadio()">\n {{\'ADD\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-lg-3 col-md-3"> \n <label \n for="radioRowCollection" \n class=" control-label greyText editPropertiesLabel">\n {{\'EDIT_REMOVE_RADIO\' | translate}} :\n </label> \n </div>\n </div>\n <div class="row">\n <div class="form-group">\n <div class-"col-lg-12 col-md-12 col-sm-12 col-xs-12">\n <div class="container">\n <div ng-show="editControlModCtrl.radioRowCollection.rows.length === 0">\n <h5 class="text-center greyText">\n <em>\n - {{\'NO_RADIO_ADD_NEW\' | translate}} -\n </em>\n </h5>\n </div> \n <table \n ng-if="editControlModCtrl.radioRowCollection.rows.length > 0" \n class="table table-striped">\n <thead>\n <tr>\n <th st-ratio="20">\n {{\'ORDER\' | translate}}\n </th>\n <th st-ratio="55">\n {{\'OPTION\' | translate}}\n </th>\n <th st-ratio="25">\n </th>\n </tr>\n <tr>\n <th st-ratio="20">\n </th>\n <th st-ratio="55">\n <input \n ng-model="editControlModCtrl.radioFilter" \n placeholder="{{\'SEARCH_4_OPTION\' | translate}}" \n class="input-sm form-control" \n type="search" \n />\n </th>\n <th st-ratio="25">\n </th>\n </tr>\n </thead>\n <tbody> \n <tr ng-repeat="radioRow in editControlModCtrl.radioRowCollection.rows | filter:radioFilter as radioRow">\n <td st-ratio="20">\n {{$index}}\n </td>\n <td st-ratio="55">\n {{radioRow.option}}\n </td>\n <td st-ratio="25">\n <div class="pull-right">\n <button \n class="btn btn-primary" \n ng-click="editControlModCtrl.upThisRadioRow($index)">\n <i class="fa fa-arrow-up"></i>\n </button>\n <button \n class="btn btn-primary" \n ng-click="editControlModCtrl.downThisRadioRow($index)">\n <i class="fa fa-arrow-down"></i>\n </button> \n <button \n class="btn btn-danger" \n ng-click="editControlModCtrl.removeRadioRow($index)">\n <i class="fa fa-trash-o"></i>\n </button>\n </div> \n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <hr/>\n <div class="marginTopFivepixels"></div>\n <div class="row">\n <div class="form-group">\n <label \n for="inputTextLabelUpdate" \n class="col-lg-3 control-label greyText editPropertiesLabel">{{\'LABEL_TEXT\' | translate}} :\n </label>\n <div class="col-lg-9">\n <input \n type="text" \n class="form-control" \n ng-model="editControlModCtrl.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">{{\'REQUIRED\' | translate}} :\n </label>\n <div class="col-lg-9">\n <div class="checkboxCssCorrection">\n &nbsp;\n </div>\n <input \n type="checkbox" \n ng-model="editControlModCtrl.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">{{\'DESCRIPTION\' | translate}} :\n </label>\n <div class="col-lg-9">\n <input \n type="text" \n class="form-control" \n ng-model="editControlModCtrl.nyaSelect.temporyConfig.formlyDesciption"\n id="inputTextDescriptionUpdate" \n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div>\n <div ng-switch-when="Checkbox">\n <!-- checkbox -->\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-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 {{editControlModCtrl.nyaSelect.temporyConfig.formlyLabel}}\n </span>\n <span \n ng-if="editControlModCtrl.nyaSelect.temporyConfig.formlyRequired" \n class="textControlLabel">\n *\n </span>\n </label>\n </div>\n <p class="help-block">\n {{editControlModCtrl.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="editControlModCtrl.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="editControlModCtrl.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="editControlModCtrl.nyaSelect.temporyConfig.formlyDesciption" \n id="inputTextDescriptionUpdate" \n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div>\n <div ng-switch-when="BasicSelect">\n <!-- basic selects -->\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-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="basicSelect" \n class="control-label textControlLabel">\n {{editControlModCtrl.nyaSelect.temporyConfig.formlyLabel}}\n <span \n ng-if="editControlModCtrl.nyaSelect.temporyConfig.formlyRequired" \n class="textControlLabel">\n *\n </span>\n </label>\n <div class="">\n <ol \n class="nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12" \n ng-model="editControlModCtrl.modelbasicSelect" \n id="basicSelect" \n disabled="editControlModCtrl.basicSelectRowCollection.rows.length === 0">\n <li \n class="nya-bs-option" \n nya-bs-option="basicSelectRow in editControlModCtrl.basicSelectRowCollection.rows" \n value="$index">\n <a>\n {{basicSelectRow.option}}\n </a>\n </li>\n </ol>\n <p class="help-block">\n {{editControlModCtrl.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="col-lg-3 col-md-3"> \n <label \n for="basicSelectRowCollection" \n class=" control-label greyText editPropertiesLabel">\n {{\'ADD_NEW_OPTIONS\' | translate}} :\n </label> \n </div>\n </div>\n <div class="row">\n <div>\n <div class="form-group">\n <div class="col-sm-9 col-xs-9 col-md-9 col-lg-9">\n <input \n type="text" \n class="form-control" \n id="inputAddNewBasicOption" \n placeholder="{{\'ADD_A_NEW_OPTION\' | translate}}" \n ng-model="editControlModCtrl.newOptionBasicSelect.saisie">\n </div>\n <div class="col-sm-3 col-xs-3 col-md-3 col-lg-3">\n <button \n class="btn btn-primary" \n ng-click="editControlModCtrl.addNewOptionBasicSelect()">\n {{\'ADD\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div> \n <div class="row">\n <div class="col-lg-3 col-md-3"> \n <label class=" control-label greyText editPropertiesLabel">\n {{\'EDIT_REMOVE_OPTIONS\' | translate}} :\n </label> \n </div>\n </div>\n <div class="row">\n <div class="form-group">\n <div class-"col-lg-12 col-md-12 col-sm-12 col-xs-12">\n <div class="container">\n <div ng-if="editControlModCtrl.basicSelectRowCollection.rows.length === 0">\n <h5 class="text-center greyText">\n <em>\n - {{\'NO_OPTION_ADD_NEW\' | translate}} -\n </em>\n </h5>\n </div> \n <table \n ng-if="editControlModCtrl.basicSelectRowCollection.rows.length > 0" \n class="table table-striped">\n <thead>\n <tr>\n <th st-ratio="20">\n {{\'ORDER\' | translate}}\n </th>\n <th st-ratio="55">\n {{\'OPTION\' | translate}}\n </th>\n <th st-ratio="25">\n </th>\n </tr>\n <tr>\n <th st-ratio="20">\n </th>\n <th st-ratio="55">\n <input \n ng-model="basicSelectFilter" \n placeholder="{{\'SEARCH_4_OPTION\' | translate}}" \n class="input-sm form-control" \n type="search" \n />\n </th>\n <th st-ratio="25">\n </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="basicSelectRow in editControlModCtrl.basicSelectRowCollection.rows | filter:basicSelectFilter as basicSelectRow">\n <td st-ratio="20">\n {{$index}}\n </td>\n <td st-ratio="55">\n {{basicSelectRow.option}}\n </td>\n <td st-ratio="25">\n <div class="pull-right">\n <button \n class="btn btn-primary" \n ng-click="editControlModCtrl.upThisRow($index)">\n <i class="fa fa-arrow-up"></i>\n </button>\n <button \n class="btn btn-primary" \n ng-click="editControlModCtrl.downThisRow($index)">\n <i class="fa fa-arrow-down"></i>\n </button> \n <button \n class="btn btn-danger" \n ng-click="editControlModCtrl.removeRow($index)">\n <i class="fa fa-trash-o"></i>\n </button>\n </div> \n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\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="editControlModCtrl.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 :\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" \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="editControlModCtrl.nyaSelect.temporyConfig.formlyDesciption" id="inputTextDescriptionUpdate" \n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div> \n <!-- grouped selects -->\n <div ng-switch-when="GroupedSelect">\n <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-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="select" \n class="control-label textControlLabel">\n {{editControlModCtrl.nyaSelect.temporyConfig.formlyLabel}}\n <span \n ng-if="editControlModCtrl.nyaSelect.temporyConfig.formlyRequired" \n class="textControlLabel">\n *\n </span>\n </label>\n <div class="">\n <ol \n class="nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12" \n ng-model="modelGroupedSelect" \n data-live-search="true" \n disabled="editControlModCtrl.groupedSelectRowCollection.rows.length === 0">\n <li \n nya-bs-option="groupedSelectRow in editControlModCtrl.groupedSelectRowCollection.rows group by groupedSelectRow.group"\n value="$index">\n <span class="dropdown-header">\n {{groupedSelectRow.group}}\n </span> \n <a>\n <span>\n {{groupedSelectRow.option}}\n </span>\n <span class="glyphicon glyphicon-ok check-mark">\n </span>\n </a>\n </li>\n </ol>\n <p class="help-block">\n {{editControlModCtrl.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 \n 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="col-lg-3 col-md-3"> \n <label \n for="groupedSelectRowCollection" \n class=" control-label greyText editPropertiesLabel">\n {{\'ADD_NEW_OPTIONS\' | translate}} :\n </label> \n </div>\n </div>\n <div class="row">\n <div>\n <div class="form-group">\n <div class="col-sm-9 col-xs-9 col-md-9 col-lg-9">\n <input \n type="text" \n class="form-control" \n id="inputAddNewGroupedOption" \n placeholder="{{\'ADD_A_NEW_OPTION\' | translate}}" \n ng-model="editControlModCtrl.newOptionGroupedSelect.saisie">\n </div>\n <div class="col-sm-3 col-xs-3 col-md-3 col-lg-3">\n <button \n class="btn btn-primary" \n ng-click="editControlModCtrl.addNewOptionGroupedSelect()">\n {{\'ADD\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div> \n <div class="row">\n <div class="col-lg-3 col-md-3"> \n <label \n for="groupedSelectRowCollection" \n class=" control-label greyText editPropertiesLabel">\n {{\'ADD_NEW_GROUPS\' | translate}} :\n </label> \n </div>\n </div>\n <div class="row">\n <div>\n <div class="form-group">\n <div class="col-sm-9 col-xs-9 col-md-9 col-lg-9">\n <input \n id="inputAddNewGroupGroupedOption" \n type="text" \n class="form-control" \n ng-model="editControlModCtrl.newGroupGroupedSelect.saisie" id="inputTextLabelUpdateGroupedSelect" \n placeholder="{{\'ADD_A_NEW_GROUP\' | translate}}">\n </div>\n <div class="col-sm-3 col-xs-3 col-md-3 col-lg-3">\n <button \n class="btn btn-primary" \n ng-click="editControlModCtrl.addNewGroupToGroupedSelect()">\n {{\'ADD\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-lg-3 col-md-3"> \n <label class=" control-label greyText editPropertiesLabel">\n {{\'EDIT_GROUPS_OPTIONS\' | translate}} :\n </label> \n </div>\n </div>\n <div class="row">\n <div class="form-group">\n <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">\n <div class="container">\n <div ng-if="editControlModCtrl.groupedSelectRowCollection.rows.length === 0">\n <h5 class="text-center greyText">\n <em>\n - {{\'NO_OPTION_ADD_NEW\' | translate}} -\n </em>\n </h5>\n </div> \n <table \n ng-if="editControlModCtrl.groupedSelectRowCollection.rows.length > 0" \n class="table table-striped">\n <thead>\n <tr>\n <th st-ratio="20">\n {{\'ORDER\' | translate}}\n </th>\n <th st-ratio="25">\n {{\'GROUP\' | translate}}\n </th>\n <th st-ratio="30">\n {{\'OPTION\' | translate}}\n </th>\n <th st-ratio="25">\n </th>\n </tr>\n <tr>\n <th st-ratio="20">\n </th>\n <th st-ratio="25">\n </th>\n <th st-ratio="30">\n <input \n ng-model="editControlModCtrl.groupedSelectFilter" \n placeholder="{{\'SEARCH_4_OPTION\' | translate}}" \n class="input-sm form-control" \n type="search" \n />\n </th>\n <th st-ratio="25">\n </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="groupedSelectRow in editControlModCtrl.groupedSelectRowCollection.rows | filter:editControlModCtrl.groupedSelectFilter as groupedSelectRow">\n <td st-ratio="20">\n {{$index}}\n </td>\n <td st-ratio="25">\n <div ng-if="editControlModCtrl.groupSelectGroupClick.showList === true"> \n <div ng-if="editControlModCtrl.GroupedSelectGroups.list.length === 0">\n <p class="text-left noGroupText">- {{\'NO_GROUP_ADD_NEW\' | translate}} -</p>\n </div>\n <div ng-if="editControlModCtrl.GroupedSelectGroups.list.length > 0">\n <ol class="nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12 editGroupedSelectnyaSelect" ng-model="groupedSelectRow.group" id="modelGroupedOptionGroupedChoose"\n disabled="editControlModCtrl.GroupedSelectGroups.list.length === 0">\n <li class="nya-bs-option" nya-bs-option="GroupedSelectGroup in editControlModCtrl.GroupedSelectGroups.list" value="GroupedSelectGroup">\n <a>{{GroupedSelectGroup}}</a>\n </li>\n </ol> \n </div>\n </div>\n <div ng-if="editControlModCtrl.groupSelectGroupClick.showList === false">\n {{groupedSelectRow.group}}\n </div>\n </td>\n <td st-ratio="30">\n {{groupedSelectRow.option}}\n </td>\n <td st-ratio="25">\n <div class="pull-right">\n <button \n class="btn btn-primary" \n ng-click="editControlModCtrl.upThisGroupedSelectRow($index)">\n <i class="fa fa-arrow-up"></i>\n </button>\n <button \n class="btn btn-primary" \n ng-click="editControlModCtrl.downThisGroupedSelectRow($index)">\n <i class="fa fa-arrow-down"></i>\n </button> \n <button \n class="btn btn-warning" \n ng-click="editControlModCtrl.showGroupListToChoose()">\n <i class="fa fa-pencil-square-o"></i> \n </button>\n <button \n class="btn btn-danger" \n ng-click="editControlModCtrl.removeGroupedSelectRow($index)">\n <i class="fa fa-trash-o"></i>\n </button>\n </div> \n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\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="editControlModCtrl.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="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="editControlModCtrl.nyaSelect.temporyConfig.formlyDesciption" \n id="inputTextDescriptionUpdate" \n placeholder="{{\'ADDEDIT_DESCRIPTION\' | translate}}">\n </div>\n </div>\n </div>\n </div>\n </div> \n </div> \n </div>\n</div>\n<div class="modal-footer">\n <button \n class="btn btn-primary" \n ng-class="{\'disabled\': editControlModCtrl.nyaSelect.selectedControl === \'none\'}" \n ng-click="editControlModCtrl.ok()">\n {{\'OK\' | translate}}\n </button>\n <button \n class="btn btn-warning" \n ng-click="editControlModCtrl.cancel()">\n {{\'CANCEL\' | translate}}\n </button>\n</div>\n\n',
d.define=e,c.exports}),a.register("13",["11","12","14","15","16"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;return{setters:[function(a){b=a.initDebugModel,c=a.initTabModel,d=a.initColumnTemplate,e=a.initLineTemplate},function(a){f=a["default"]},function(a){g=a.EDIT_MODAL_CONTROLLER_NAME,h=a.EDIT_MODAL_CONTROLLERAS_NAME},function(a){i=a["default"]},function(a){j=a["default"]}],execute:function(){"use strict";k="edaStepWayEasyFormGenController",l="vm",m=function(){function a(b,c,d,e,f,g,h,i,k){j(this,a),this.easyFormGenVersion=b,this.$filter=c,this.toaster=d,this.$timeout=e,this.$modal=f,this.$log=g,this.$formlyProxy=h,this.$modalProxy=i,this.easyFormSteWayConfig=k,this.init()}return i(a,[{key:"init",value:function(){this.dataModel={},this.wfFormFields=[],this.wfFormFieldsOnlyNeededProperties=[],this.easyFormGeneratorVERSION=this.easyFormGenVersion,this.debug=b(),this.tab=c(this.easyFormSteWayConfig.isPreviewPanelVisible(),this.easyFormSteWayConfig.arePreviewModelsVisible()),this.configuration={},this.numberOfColumns=1,this.MaxNumberOfColumns=3,this.MinNumberOfColumns=1,this.columnTemplate=d(),this.lineTemplate=e(),this.nyaSelect={},this.animationsEnabled=this.easyFormSteWayConfig.getModalAnimationValue(),this.editControlModalSize="lg",this.formlyList={},this.previewLoadedForm={fieldsModel:[]},this.configurationLoaded={},this.returnSaveEvent=!1,this.$formlyProxy.initConfigurationEditFromScratch(this.configuration),this.$modalProxy.initNyaSelect(this.nyaSelect)}},{key:"onSubmit",value:function(){var a=this.$filter("json")(this.dataModel,4);this.toaster.pop({type:"info",timeout:2e3,title:"it should save data model if it were not in editor",body:"data : "+a,showCloseButton:!0})}},{key:"countConfigurationModelLines",value:function(){return this.debug.configurationModelNumberofLines=this.configuration.lines.length,this.configuration.lines.length}},{key:"setActiveLineNumber",value:function(a){a<=this.countConfigurationModelLines()&&(this.configuration.activeLine=a)}},{key:"upThisLine",value:function(a){if(a>-1&&this.configuration.lines[a-1]){var b=this.configuration.lines[a];this.configuration.lines.splice(a,1),this.configuration.lines.splice(a-1,0,b),this.configuration.activeLine=1}this.$formlyProxy.applyConfigurationToformlyModel(this.configuration,this.wfFormFields,this.dataModel),this.wfFormFieldsOnlyNeededProperties=angular.copy(this.wfFormFields)}},{key:"downThisLine",value:function(a){if(a>-1&&this.configuration.lines[a+1]){var b=this.configuration.lines[a];this.configuration.lines.splice(a,1),this.configuration.lines.splice(a+1,0,b),this.configuration.activeLine=1}this.$formlyProxy.applyConfigurationToformlyModel(this.configuration,this.wfFormFields,this.dataModel),this.wfFormFieldsOnlyNeededProperties=angular.copy(this.wfFormFields)}},{key:"addNewline",value:function(){this.configuration.lines.push(e()),this.$formlyProxy.applyConfigurationToformlyModel(this.configuration,this.wfFormFields,this.dataModel),this.wfFormFieldsOnlyNeededProperties=angular.copy(this.wfFormFields)}},{key:"removeThisLine",value:function(a){a>-1&&(this.configuration.lines.length>1?(this.configuration.activeLine===a+1&&(this.configuration.activeLine=1),this.configuration.lines.splice(a,1)):this.$timeout(function(){this.toaster.pop({type:"warning",title:"Last line",body:"Can't delete the last line",showCloseButton:!0})},100),this.$formlyProxy.applyConfigurationToformlyModel(this.configuration,this.wfFormFields,this.dataModel),this.wfFormFieldsOnlyNeededProperties=angular.copy(this.wfFormFields))}},{key:"increaseNumberOfColumns",value:function(){var a=this.configuration.activeLine-1;if(this.configuration.lines[a].columns.length<this.MaxNumberOfColumns){var b=this.configuration.lines[a].columns.push(angular.copy(d()));this.configuration.lines[a].columns[b-1].numColumn=b}this.$formlyProxy.applyConfigurationToformlyModel(this.configuration,this.wfFormFields,this.dataModel),this.wfFormFieldsOnlyNeededProperties=angular.copy(this.wfFormFields)}},{key:"decreaseNumberOfColumns",value:function(){this.configuration.lines[this.configuration.activeLine-1].columns.length>1&&this.configuration.lines[this.configuration.activeLine-1].columns.splice(this.configuration.lines[this.configuration.activeLine-1].columns.length-1,1),this.$formlyProxy.applyConfigurationToformlyModel(this.configuration,this.wfFormFields,this.dataModel),this.wfFormFieldsOnlyNeededProperties=angular.copy(this.wfFormFields)}},{key:"resetStepCounter",value:function(){this.configuration.configStepCounter=0}},{key:"nextConfigStep",value:function(){var a=this.configuration.listConfigStep.length-1;this.configuration.configStepCounter!==a&&this.configuration.configStepCounter++,this.setTrueThisStepIndicator(this.configuration.configStepCounter)}},{key:"resetAllIndicators",value:function(){for(var a=this.configuration.stepIndicators.length-1;a>=0;a--)this.configuration.stepIndicators[a]=!1}},{key:"setTrueThisStepIndicator",value:function(a){this.resetAllIndicators(),this.configuration.stepIndicators[a]=!0}},{key:"previousConfigStep",value:function(){0!==this.configuration.configStepCounter&&this.configuration.configStepCounter--,this.setTrueThisStepIndicator(this.configuration.configStepCounter)}},{key:"stepReachable",value:function(a){return a<this.configuration.configStepCounter?"disabled":"enabled"}},{key:"showModalAddCtrlToColumn",value:function(a,b,c){var d=this,e={};angular.extend(e,{animation:this.animationsEnabled,template:f,controller:g,controllerAs:h,size:this.editControlModalSize,resolve:{nyaSelect:function(){return d.$modalProxy.getNyASelectFromSelectedLineColumn(d.nyaSelect,d.configuration,b,c)}}});var i=this.$modal.open(e);i.result.then(function(a){d.$modalProxy.bindConfigurationModelFromModalReturn(b,c,a,d.configuration),d.$formlyProxy.applyConfigurationToformlyModel(d.configuration,d.wfFormFields,d.dataModel),d.wfFormFieldsOnlyNeededProperties=angular.copy(d.wfFormFields)},function(){})}},{key:"previewExistingform",value:function(a){var b=JSON.parse(a.formlyField);this.configurationLoaded={},this.$formlyProxy.bindConfigurationLines(this.configurationLoaded,b),this.$formlyProxy.applyConfigurationToformlyModel(this.configurationLoaded,this.previewLoadedForm.fieldsModel,this.dataModel),this.wfFormFieldsOnlyNeededProperties=angular.copy(this.wfFormFields),this.previewLoadedForm.cancelButtonText=a.cancelButtonText,this.previewLoadedForm.submitButtonText=a.submitButtonText}},{key:"saveThisForm",value:function(){return"undefined"==typeof this.configuration.formName?(this.toaster.pop({type:"warning",timeout:2e3,title:"Form name is undefined",body:"Form has not been saved.",showCloseButton:!0}),!1):""===this.configuration.formName?(this.toaster.pop({type:"warning",timeout:2e3,title:"Form name is required",body:"Form has not been saved.",showCloseButton:!0}),!1):(this.toaster.pop({type:"wait",timeout:1e4,title:"Form is being saved",body:"Wait.",showCloseButton:!0}),this.toaster.clear(),this.returnSaveEvent=!0,!0)}}]),a}(),n=["easyFormGenVersion","$filter","toaster","$timeout","$modal","$log","$formlyProxy","$modalProxy","easyFormSteWayConfig"],m.$inject=n,a("default",m),a("STEP_WAY_MAIN_CONTROLLER_NAME",k),a("STEP_WAY_MAIN_CONTROLLERAS_NAME",l)}}}),a.register("17",["10","13"],function(a){"use strict";function b(a,b,d,g){function h(a){function b(){if(angular.isDefined(a.edaEasyFormGeneratorModel)){var b=c();a.configurationLoaded={},d.bindConfigurationLines(a.configurationLoaded,b),g.refreshControlFormlyExpressionProperties(a.configurationLoaded),g.refreshControlFormlyValidators(a.configurationLoaded),g.refreshControlFormlyValidation(a.configurationLoaded),a.vm.configuration=angular.copy(a.configurationLoaded),d.applyConfigurationToformlyModel(a.configurationLoaded,a.vm.wfFormFields,a.vm.model),a.vm.wfFormFieldsOnlyNeededProperties=angular.copy(a.vm.wfFormFields),a.vm.dataModel=e(),a.vm.configuration.formName=angular.isString(a.edaEasyFormGeneratorModel.formName)?a.edaEasyFormGeneratorModel.formName:"",a.vm.configuration.submitButtonText=angular.isString(a.edaEasyFormGeneratorModel.btnSubmitText)?a.edaEasyFormGeneratorModel.btnSubmitText:"Submit",a.vm.configuration.cancelButtonText=angular.isString(a.edaEasyFormGeneratorModel.btnCancelText)?a.edaEasyFormGeneratorModel.btnCancelText:"Cancel"}}function c(){var b=angular.isArray(a.edaEasyFormGeneratorModel.edaFieldsModel)&&a.edaEasyFormGeneratorModel.edaFieldsModel.length>0?a.edaEasyFormGeneratorModel.edaFieldsModel:f();return b}function e(){var b=angular.isArray(a.edaEasyFormGeneratorModel.dataModel)&&a.edaEasyFormGeneratorModel.dataModel.length>0?a.edaEasyFormGeneratorModel.dataModel:{};return b}function f(){var a=[{line:1,activeColumn:1,columns:[{numColumn:1,exist:!0,control:{type:"none",key:"none"}}]}];return a}a.$watch(function(){return a.edaEasyFormGeneratorModel},function(a,c){b()},!0),a.$watch(function(){return a.vm.returnSaveEvent},function(b,c){if(b===!0){var d={formName:a.vm.configuration.formName,btnSubmitText:a.vm.configuration.submitButtonText,btnCancelText:a.vm.configuration.cancelButtonText,edaFieldsModel:a.vm.configuration.lines,edaFieldsModelStringified:angular.toJson(a.vm.configuration.lines),formlyFieldsModel:a.vm.wfFormFieldsOnlyNeededProperties,dataModel:a.vm.dataModel};a.edaSaveFormEvent({edaEasyFormGeneratorModel:d}),a.returnSaveEvent=!1}})}var i={restrict:"E",scope:{edaEasyFormGeneratorModel:"=",edaSaveFormEvent:"&edaSaveFormEvent"},controller:e,controllerAs:f,replace:!1,template:c,link:h};return i}var c,d,e,f,g;return{setters:[function(a){c=a["default"]},function(a){d=a["default"],e=a.STEP_WAY_MAIN_CONTROLLER_NAME,f=a.STEP_WAY_MAIN_CONTROLLERAS_NAME}],execute:function(){g="edaStepWayEasyFormGen",b.$inject=["$templateCache","$timeout","$formlyProxy","$modalProxy"],a("default",b),a("STEP_WAY_DIRECTIVE_NAME",g)}}}),a.register("18",[],function(a){"use strict";function b(a){function b(){var a={modalAnimated:!1};return a}function c(){return!0}function d(){return!0}function e(){return v}function f(){var a=[{name:"empty",enabled:!0},{name:"Header",enabled:!0},{name:"Subtitle",enabled:!0},{name:"TextInput",enabled:!0},{name:"Password",enabled:!0},{name:"Email",enabled:!0},{name:"Date",enabled:!0},{name:"Texarea",enabled:!0},{name:"RichTextEditor",enabled:!0},{name:"Radio",enabled:!0},{name:"Checkbox",enabled:!0},{name:"BasicSelect",enabled:!0},{name:"GroupedSelect",enabled:!0}];return a}function g(a){angular.isDefined(a)&&(a===!0&&(w=!0),a===!1&&(w=!1))}function h(a){angular.isDefined(a)&&(a===!0&&(x=!0),a===!1&&(x=!1))}function i(){var a="en";return a}function j(){return v=u,a.preferredLanguage(v),v}function k(b){angular.isString(b)?(v=b,a.preferredLanguage(b)):j()}function l(){return a.useSanitizeValueStrategy("escape"),a.fallbackLanguage(u),a.preferredLanguage(u),u}function m(){return t}function n(a){angular.isString(a)&&angular.forEach(t,function(b){b.name===a&&(b.enabled=!1)})}function o(a){angular.isString(a)&&angular.forEach(t,function(b){b.name===a&&(b.enabled=!0)})}function p(a){var b=a===!0?a:a===!1?a:s.modalAnimated;s.modalAnimated=b}function q(){return s.modalAnimated}function r(a){function b(){return s.modalAnimated}function c(a){p(a)}function d(){return angular.copy(t)}function f(b){angular.isString(b)?(v=b,a.use(b)):j()}function g(){return w}function h(){return x}var i={setModalAnimation:c,getModalAnimationValue:b,getListEnabledControl:d,setLanguage:f,getCurrentLanguage:e,isPreviewPanelVisible:g,arePreviewModelsVisible:h};return i}var s=b(),t=f(),u=i(),v=l(),w=c(),x=d();this.$get=r,this.setModalAnimation=p,this.getModalAnimation=q,this.configuration=s,this.getEnabledControls=m,this.disableControl=n,this.enableControl=o,this.setLanguage=k,this.getCurrentLanguage=e,this.showPreviewPanel=g,this.showPreviewModels=h,r.$inject=["$translate"]}var c;return{setters:[],execute:function(){c="easyFormSteWayConfig",b.$inject=["$translateProvider"],a("default",b),a("EASY_FORM_STEP_WAY_CONFIG_NAME",c)}}}),a.register("19",["13","17","18"],function(a){"use strict";var b,c,d,e,f,g,h;return{setters:[function(a){b=a["default"],c=a.STEP_WAY_MAIN_CONTROLLER_NAME},function(a){d=a["default"],e=a.STEP_WAY_DIRECTIVE_NAME},function(a){f=a["default"],g=a.EASY_FORM_STEP_WAY_CONFIG_NAME}],execute:function(){h="easyFormStepwayMainModule",a("default",angular.module(h,[]).controller(c,b).directive(e,d).provider(g,f))}}}),a.register("14",["15","16"],function(a){var b,c,d,e,f,g;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]}],execute:function(){"use strict";d="editControlModalController",e="editControlModCtrl",f=function(){function a(b,d,e,f,g){c(this,a),this.$modalInstance=b,this.nyaSelect=d,this.toaster=e,this.selectOptionManage=f,this.$modalProxy=g,this.init()}return b(a,[{key:"init",value:function(){var a={rows:[]};this.radioRowCollection=a,this.newOptionRadio={saisie:""},this.basicSelectRowCollection=a,this.newOptionBasicSelect={saisie:""},this.groupedSelectRowCollection=a,this.newOptionGroupedSelect={saisie:""},this.GroupedSelectGroups={list:[]},this.newGroupGroupedSelect={saisie:""},this.groupSelectGroupClick={showList:!1},this.demodt={},this.dateOptions=this.dateOptionsInit(),this.demodt.formats=["dd-MMMM-yyyy","yyyy/MM/dd","dd.MM.yyyy","shortDate"],this.nyaSelect.selectedControl=this.nyaSelect.temporyConfig.selectedControl,this.nyaSelectFiltered={},this.modelNyaSelect={},this.today(),this.initNyaSelectConformingSelectedControl()}},{key:"initNyaSelectConformingSelectedControl",value:function(){if("none"!==this.nyaSelect.selectedControl){for(var a=this.nyaSelect.controls.length-1;a>=0;a--)this.nyaSelect.controls[a].id===this.nyaSelect.selectedControl&&(this.modelNyaSelect=this.nyaSelect.controls[a]);"BasicSelect"===this.nyaSelect.selectedControl&&this.bindBasicSelectFromNYA(),"GroupedSelect"===this.nyaSelect.selectedControl&&this.bindGroupedSelectFromNYA(),"Radio"===this.nyaSelect.selectedControl&&this.bindRadioFromNYA()}this.initNyaSelectFiltered(),console.info("modal controller : nyaSelect"),console.dir(this.nyaSelect)}},{key:"initNyaSelectFiltered",value:function(){var a=[].concat(this.$modalProxy.getFilteredNyaSelectObject());angular.extend(this.nyaSelectFiltered,{controls:a,selectedControl:this.nyaSelect.selectedControl,temporyConfig:this.nyaSelect.temporyConfig})}},{key:"bindBasicSelectFromNYA",value:function(){if(this.nyaSelect.temporyConfig.formlyOptions.length>0)for(var a=0;a<=this.nyaSelect.temporyConfig.formlyOptions.length-1;a++){var b={option:this.nyaSelect.temporyConfig.formlyOptions[a].name,order:a,group:""};this.basicSelectRowCollection.rows.push(b)}}},{key:"bindRadioFromNYA",value:function(){if(this.nyaSelect.temporyConfig.formlyOptions.length>0)for(var a=0;a<=this.nyaSelect.temporyConfig.formlyOptions.length-1;a++){var b={option:this.nyaSelect.temporyConfig.formlyOptions[a].name,order:a,group:""};this.radioRowCollection.rows.push(b)}}},{key:"bindGroupedSelectFromNYA",value:function(){if(this.nyaSelect.temporyConfig.formlyOptions.length>0){for(var a=0;a<=this.nyaSelect.temporyConfig.formlyOptions.length-1;a++){var b={option:this.nyaSelect.temporyConfig.formlyOptions[a].name,order:a,group:this.nyaSelect.temporyConfig.formlyOptions[a].group};this.groupedSelectRowCollection.rows.push(b)}var c=_.uniq(_.pluck(this.groupedSelectRowCollection.rows,"group"));angular.copy(c,this.GroupedSelectGroups.list)}}},{key:"addNewOptionRadio",value:function(){var a=this.selectOptionManage.addNewOptionRadio(this.radioRowCollection,this.newOptionRadio.saisie);a.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:a.details,body:"'"+this.newOptionRadio.saisie+"' cannot be added.",showCloseButton:!0}),this.newOptionRadio={saisie:""}}},{key:"removeRadioRow",value:function(a){var b=this.selectOptionManage.removeOption(this.radioRowCollection,a);b.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:b.details,body:"Delete was cancelled.",showCloseButton:!0})}},{key:"upThisRadioRow",value:function(a){var b=this.selectOptionManage.upthisOption(this.radioRowCollection,a);b.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:b.details,body:"Operation cancelled.",showCloseButton:!0})}},{key:"downThisRadioRow",value:function(a){var b=this.selectOptionManage.downthisOption(this.radioRowCollection,a);b.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:b.details,body:"Operation cancelled.",showCloseButton:!0})}},{key:"addNewOptionBasicSelect",value:function(){var a=this.selectOptionManage.addNewOptionBasicSelect(this.basicSelectRowCollection,this.newOptionBasicSelect.saisie);a.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:a.details,body:"'"+this.newOptionBasicSelect.saisie+"' cannot be added.",showCloseButton:!0}),this.newOptionBasicSelect={saisie:""}}},{key:"removeRow",value:function(a){var b=this.selectOptionManage.removeOption(this.basicSelectRowCollection,a);b.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:b.details,body:"Delete was cancelled.",showCloseButton:!0})}},{key:"upThisRow",value:function(a){var b=this.selectOptionManage.upthisOption(this.basicSelectRowCollection,a);b.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:b.details,body:"Operation cancelled.",showCloseButton:!0})}},{key:"downThisRow",value:function(a){var b=this.selectOptionManage.downthisOption(this.basicSelectRowCollection,a);b.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:b.details,body:"Operation cancelled.",showCloseButton:!0})}},{key:"showGroupListToChoose",value:function(){this.groupSelectGroupClick.showList=!this.groupSelectGroupClick.showList}},{key:"addNewGroupToGroupedSelect",value:function(){if(""!==this.newGroupGroupedSelect.saisie){for(var a=this.GroupedSelectGroups.list.length-1;a>=0;a--)this.GroupedSelectGroups.list[a]===this.newGroupGroupedSelect.saisie&&this.toaster.pop({type:"warning",timeout:2e3,title:"Group already exists",body:"No group added.",showCloseButton:!0});this.GroupedSelectGroups.list.push(this.newGroupGroupedSelect.saisie)}else this.toaster.pop({type:"warning",timeout:2e3,title:"Not a valid group to add",body:"No group added.",showCloseButton:!0});this.newGroupGroupedSelect.saisie=""}},{key:"addNewOptionGroupedSelect",value:function(){var a=this.selectOptionManage.addNewOptionGroupedSelect(this.groupedSelectRowCollection,this.newOptionGroupedSelect.saisie,"");a.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:a.details,body:"'"+this.newOptionGroupedSelect.saisie+"' cannot be added.",showCloseButton:!0}),this.newOptionGroupedSelect={saisie:""}}},{key:"removeGroupedSelectRow",value:function(a){var b=this.selectOptionManage.removeOption(this.groupedSelectRowCollection,a);b.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:b.details,body:"Delete was cancelled.",showCloseButton:!0})}},{key:"upThisGroupedSelectRow",value:function(a){var b=this.selectOptionManage.upthisOption(this.groupedSelectRowCollection,a);b.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:b.details,body:"Operation cancelled.",showCloseButton:!0})}},{key:"downThisGroupedSelectRow",value:function(a){var b=this.selectOptionManage.downthisOption(this.groupedSelectRowCollection,a);b.resultFlag===!1&&this.toaster.pop({type:"warning",timeout:2e3,title:b.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(a){a.preventDefault(),a.stopPropagation(),this.demodt.opened=!0}},{key:"dateOptionsInit",value:function(){return{formatYear:"yy",startingDay:1,showWeeks:!0,initDate:null}}},{key:"selectThisControl",value:function(a){this.nyaSelect.selectedControl="none",this.resetTemporyConfig();for(var b=this.nyaSelect.controls.length-1;b>=0;b--)this.nyaSelect.controls[b].id===a&&(this.nyaSelect.selectedControl=this.nyaSelect.controls[b].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 a=[];if(this.nyaSelect.temporyConfig.formlyOptions=a,this.basicSelectRowCollection.rows.length>0)for(var b=0;b<=this.basicSelectRowCollection.rows.length-1;b++){var c={name:this.basicSelectRowCollection.rows[b].option,value:b,group:""};this.nyaSelect.temporyConfig.formlyOptions.push(c)}}},{key:"bindGroupedSelectToNya",value:function(){this.nyaSelect.temporyConfig.formlyOptions=[];for(var a=0;a<=this.groupedSelectRowCollection.rows.length-1;a++){var b={name:this.groupedSelectRowCollection.rows[a].option,value:a,group:this.groupedSelectRowCollection.rows[a].group};this.nyaSelect.temporyConfig.formlyOptions.push(b)}}},{key:"bindRadioToNya",value:function(){var a=[];if(this.nyaSelect.temporyConfig.formlyOptions=a,this.radioRowCollection.rows.length>0)for(var b=0;b<=this.radioRowCollection.rows.length-1;b++){var c={name:this.radioRowCollection.rows[b].option,value:b,group:""};this.nyaSelect.temporyConfig.formlyOptions.push(c)}}},{key:"initDatePicker",value:function(){this.nyaSelect.temporyConfig.datepickerPopup=this.demodt.formats[0]}},{key:"resetTemporyConfig",value:function(){this.nyaSelectFiltered.temporyConfig={formlyLabel:"",formlyRequired:!1,formlyPlaceholder:"",formlyDesciption:"",formlyOptions:[]}}}]),a}(),g=["$modalInstance","nyaSelect","toaster","selectOptionManage","$modalProxy"],f.$inject=g,a("default",f),a("EDIT_MODAL_CONTROLLER_NAME",d),a("EDIT_MODAL_CONTROLLERAS_NAME",e)}}}),a.register("1a",["14"],function(a){"use strict";var b,c,d;return{setters:[function(a){b=a["default"],c=a.EDIT_MODAL_CONTROLLER_NAME}],execute:function(){d="editControlModalModule",a("default",angular.module(d,[]).controller(c,b))}}}),a.register("1b",[],function(a){"use strict";var b,c,d,e;return{setters:[],execute:function(){b=function(a){var b={controls:[{id:"empty",name:"no control",subtitle:"no control",group:"Blank",formlyType:"blank",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{}},{id:"Header",name:"Header",subtitle:"no control",group:"Decoration",formlyType:"header",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{}},{id:"Subtitle",name:"Subtitle",subtitle:"no control",group:"Decoration",formlyType:"subTitle",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{}},{id:"TextInput",name:"Text input",subtitle:"Text input",group:"input",formlyType:"input",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{messages:{required:function(a,b,c){var d="this Text input field is required",e="undefined"!=typeof c.to.label&&""!==c.to.label?c.to.label+" is required":d;return e}}}},{id:"Password",name:"Password",subtitle:"Password",group:"input",formlyType:"input",formlySubtype:"password",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{messages:{required:function(a,b,c){var d="this Password field is required",e="undefined"!=typeof c.to.label&&""!==c.to.label?c.to.label+" is required":d;return e}}}},{id:"Email",name:"Email",subtitle:"Email",group:"input",formlyType:"input",formlySubtype:"email",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{emailShape:{expression:function(a,b){var c=b||a;return/^[a-z]+[a-z0-9._]+@[a-z]+\.[a-z.]{2,5}$/.test(c)},message:"$viewValue + ' is not a valid email'"}},formlyValidation:{messages:{required:function(a,b,c){var d="this Email field is required",e="undefined"!=typeof c.to.label&&""!==c.to.label?c.to.label+" is required":d;return c.to.required?e:void 0}}}},{id:"Date",name:"Date",subtitle:"Date",group:"input",formlyType:"datepicker",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],datepickerPopup:"dd-MMMM-yyyy",formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{messages:{required:function(a,b,c){var d="this Date field is required",e="undefined"!=typeof c.to.label&&""!==c.to.label?c.to.label+" is required":d;return e}}}},{id:"Texarea",name:"Textarea",subtitle:"Textarea",group:"Textarea",formlyType:"textarea",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{messages:{required:function(a,b,c){var d="this Textarea field is required",e="undefined"!=typeof c.to.label&&""!==c.to.label?c.to.label+" is required":d;return e}}}},{id:"RichTextEditor",name:"RichTextEditor",subtitle:"RichTextEditor",group:"Textarea",formlyType:"richEditor",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{messages:{required:function(a,b,c){var d="this RichTextEditor field is required",e="undefined"!=typeof c.to.label&&""!==c.to.label?c.to.label+" is required":d;return e}}}},{id:"Radio",name:"Radio",subtitle:"Radio",options:[],group:"Radio",formlyType:"radio",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{messages:{required:function(a,b,c){var d="this Password field is required",e="undefined"!=typeof c.to.label&&""!==c.to.label?c.to.label+" is required":d;return e}}}},{id:"Checkbox",name:"Checkbox",subtitle:"Checkbox",group:"Checkbox",formlyType:"checkbox",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{messages:{required:function(a,b,c){var d="this Checkbox field is required",e="undefined"!=typeof c.to.label&&""!==c.to.label?c.to.label+" is required":d;return e}}}},{id:"BasicSelect",name:"Basic select",subtitle:"Basic select",options:[],group:"Select",formlyType:"basicSelect",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{messages:{required:function(a,b,c){var d="this Basic select field is required",e="undefined"!=typeof c.to.label&&""!==c.to.label?c.to.label+" is required":d;return e}}}},{id:"GroupedSelect",name:"Grouped Select",subtitle:"Grouped Select",options:[],group:"Select",formlyType:"groupedSelect",formlySubtype:"",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{messages:{required:function(a,b,c){var d="this Grouped Select field is required",e="undefined"!=typeof c.to.label&&""!==c.to.label?c.to.label+" is required":d;return e}}}}],selectedControl:"none",temporyConfig:{selectedControl:"none",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyPlaceholder:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{}}};return angular.copy(b,a),!0},c=function(){var a={};return angular.extend(a,{formlyLabel:"",formlyRequired:!1,formlyPlaceholder:"",formlyDesciption:"",formlyOptions:[]}),a},d=function(a){for(var b={selectedControl:"none",formlyType:"none",formlySubtype:"none",formlyLabel:"",formlyRequired:!1,formlyDesciption:"",formlyPlaceholder:"",formlyOptions:[],formlyExpressionProperties:{},formlyValidators:{},formlyValidation:{}},c=a.controls.length-1;c>=0;c--)a.selectedControl===a.controls[c].id&&(b.selectedControl=a.selectedControl,b.formlyType=a.controls[c].formlyType,b.formlySubtype=a.controls[c].formlySubtype,b.formlyLabel=a.controls[c].formlyLabel,b.formlyRequired=a.controls[c].formlyRequired,b.formlyDesciption=a.controls[c].formlyDesciption,b.formlyPlaceholder=a.controls[c].formlyPlaceholder,b.formlyOptions=a.controls[c].formlyOptions,b.formlyExpressionProperties=angular.copy(a.controls[c].formlyExpressionProperties),b.formlyValidators=angular.copy(a.controls[c].formlyValidators),b.formlyValidation=angular.copy(a.controls[c].formlyValidation),"datepicker"===a.controls[c].formlyType&&(b.datepickerPopup=a.controls[c].datepickerPopup));return b},e=function(a,b){for(var c=!0,d=b.lines.length-1;d>=0;d--)for(var e=b.lines[d].columns.length-1;e>=0;e--)b.lines[d].columns[e].control.key===a&&(c=!1);return c},a("resetNyaSelect",b),a("returnControlFromAddCtrlModalModel",d),a("validKeyUniqueness",e),a("getResetConfig",c)}}}),a.register("1c",["15","16","1b"],function(a){var b,c,d,e,f,g,h,i;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a.resetNyaSelect,e=a.returnControlFromAddCtrlModalModel,f=a.validKeyUniqueness,g=a.getResetConfig}],execute:function(){"use strict";h="$modalProxy",i=function(){function a(b){c(this,a),this.easyFormSteWayConfig=b}return b(a,[{key:"initNyaSelect",value:function(a){return d(a)}},{key:"getControlsDefinition",value:function(){var a={};return d(a),a}},{key:"getNyASelectFromSelectedLineColumn",value:function(a,b,c,e){return d(a),"undefined"!=typeof b.lines[c].columns[e].control.templateOptions&&(a.temporyConfig.selectedControl="undefined"!=typeof b.lines[c].columns[e].control.selectedControl?b.lines[c].columns[e].control.selectedControl:"none",a.temporyConfig.formlyLabel="undefined"!=typeof b.lines[c].columns[e].control.templateOptions.label?b.lines[c].columns[e].control.templateOptions.label:"",a.temporyConfig.formlyRequired="undefined"!=typeof b.lines[c].columns[e].control.templateOptions.required?b.lines[c].columns[e].control.templateOptions.required:"",a.temporyConfig.formlyDesciption="undefined"!=typeof b.lines[c].columns[e].control.templateOptions.description?b.lines[c].columns[e].control.templateOptions.description:"",a.temporyConfig.formlyPlaceholder="undefined"!=typeof b.lines[c].columns[e].control.templateOptions.placeholder?b.lines[c].columns[e].control.templateOptions.placeholder:"",a.temporyConfig.formlyOptions="undefined"!=typeof b.lines[c].columns[e].control.templateOptions.options?b.lines[c].columns[e].control.templateOptions.options:"",a.temporyConfig.formlyExpressionProperties="undefined"!=typeof b.lines[c].columns[e].control.formlyExpressionProperties?angular.copy(b.lines[c].columns[e].control.formlyExpressionProperties):{},a.temporyConfig.formlyValidators="undefined"!=typeof b.lines[c].columns[e].control.formlyValidators?angular.copy(b.lines[c].columns[e].control.formlyValidators):{},a.temporyConfig.formlyValidation="undefined"!=typeof b.lines[c].columns[e].control.formlyValidation?angular.copy(b.lines[c].columns[e].control.formlyValidation):{},"Date"===a.temporyConfig.selectedControl&&(a.temporyConfig.datepickerPopup="undefined"!=typeof b.lines[c].columns[e].control.templateOptions.datepickerPopup?b.lines[c].columns[e].control.templateOptions.datepickerPopup:"")),a}},{key:"bindConfigurationModelFromModalReturn",value:function(a,b,c,d){var g=e(c);d.lines[a].columns[b].control.selectedControl=g.selectedControl,d.lines[a].columns[b].control.type=g.formlyType,d.lines[a].columns[b].control.subtype=g.formlySubtype,d.lines[a].columns[b].control.templateOptions={label:"",required:!1,description:"",placeholder:"",options:[]},d.lines[a].columns[b].control.templateOptions.label=g.formlyLabel,d.lines[a].columns[b].control.templateOptions.required=g.formlyRequired,d.lines[a].columns[b].control.templateOptions.description=g.formlyDesciption,d.lines[a].columns[b].control.templateOptions.placeholder=g.formlyPlaceholder,d.lines[a].columns[b].control.templateOptions.options=g.formlyOptions,
d.lines[a].columns[b].control.formlyExpressionProperties=angular.copy(g.formlyExpressionProperties),d.lines[a].columns[b].control.formlyValidators=angular.copy(g.formlyValidators),d.lines[a].columns[b].control.formlyValidation=angular.copy(g.formlyValidation),"datepicker"===d.lines[a].columns[b].control.type&&(d.lines[a].columns[b].control.templateOptions.datepickerPopup=g.datepickerPopup);var h=d.lines[a].columns[b].control.type+"-"+Date.now();f(h,d)===!0?d.lines[a].columns[b].control.key=h:(h=d.lines[a].columns[b].control.type+"-"+Date.now(),f(h,d)===!0?d.lines[a].columns[b].control.key=h:h=d.lines[a].columns[b].control.type+"-"+Date.now()),d.lines[a].columns[b].control.edited=!0}},{key:"applyConfigToSelectedControl",value:function(a){for(var b=a.controls.length-1;b>=0;b--)a.controls[b].id===a.selectedControl&&(a.controls[b].formlyLabel=a.temporyConfig.formlyLabel,a.controls[b].formlyRequired=a.temporyConfig.formlyRequired,a.controls[b].formlyDesciption=a.temporyConfig.formlyDesciption,a.controls[b].formlyPlaceholder=a.temporyConfig.formlyPlaceholder,a.controls[b].formlyOptions=a.temporyConfig.formlyOptions,"Date"===a.controls[b].id&&(a.controls[b].datepickerPopup=a.temporyConfig.datepickerPopup))}},{key:"resetTemporyConfig",value:function(){return g()}},{key:"refreshControlFormlyExpressionProperties",value:function(a){var b=this;angular.isObject(a)&&angular.forEach(a.lines,function(a,c){angular.forEach(a.columns,function(a,c){var d=b.getControlsDefinition();angular.forEach(d.controls,function(b,c){a.control.type===b.formlyType&&a.control.subtype===b.formlySubtype&&(a.control.formlyExpressionProperties=b.formlyExpressionProperties)})})})}},{key:"refreshControlFormlyValidators",value:function(a){var b=this;angular.isObject(a)&&angular.forEach(a.lines,function(a,c){angular.forEach(a.columns,function(a,c){var d=b.getControlsDefinition();angular.forEach(d.controls,function(b,c){a.control.type===b.formlyType&&a.control.subtype===b.formlySubtype&&(a.control.formlyValidators=b.formlyValidators)})})})}},{key:"refreshControlFormlyValidation",value:function(a){var b=this;angular.isObject(a)&&angular.forEach(a.lines,function(a,c){angular.forEach(a.columns,function(a,c){var d=b.getControlsDefinition();angular.forEach(d.controls,function(b,c){a.control.type===b.formlyType&&a.control.subtype===b.formlySubtype&&(a.control.formlyValidation=b.formlyValidation)})})})}},{key:"filterDisabledControl",value:function(a){var b=this.easyFormSteWayConfig.getListEnabledControl(),c=[];return angular.forEach(b,function(b){angular.forEach(a.controls,function(a){a.id===b.name&&b.enabled===!0&&(c=c.concat(a))})}),c}},{key:"getFilteredNyaSelectObject",value:function(){var a={};return d(a),angular.copy(this.filterDisabledControl(angular.copy(a)))}}]),a}(),i.$inject=["easyFormSteWayConfig"],a("default",i),a("CONTROLLER_MODAL_PROXY_SERVICE",h)}}}),a.register("1d",["1c"],function(a){"use strict";var b,c,d;return{setters:[function(a){b=a["default"],c=a.CONTROLLER_MODAL_PROXY_SERVICE}],execute:function(){d="modalProxyModule",a("default",angular.module(d,[]).service(c,b))}}}),a.register("1e",[],function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return{setters:[],execute:function(){b={activeLine:1,listConfigStep:["init","first","second","third"],stepIndicators:[!0,!1,!1,!1],configStepCounter:0,submitButtonText:"submit",cancelButtonText:"cancel",lines:[{line:1,activeColumn:1,columns:[{numColumn:1,exist:!0,control:{type:"none",key:"none"}}]}]},c={activeLine:1,listConfigStep:["init","first","second","third"],stepIndicators:[!0,!1,!1,!1],configStepCounter:0,submitButtonText:"submit",cancelButtonText:"cancel",lines:[]},d=function(a){return"undefined"!=typeof a.templateOptions?!0:!1},e=function(a){return"undefined"!=typeof a.templateOptions&&"undefined"!=typeof a.templateOptions.label?a.templateOptions.label:""},f=function(a){return"undefined"!=typeof a.templateOptions&&"undefined"!=typeof a.templateOptions.datepickerPopup?a.templateOptions.datepickerPopup:""},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.datepickerPopup=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].control.type?r.push(f):r.push(q),a.push({className:"row",fieldGroup:r})},s=function(a,b,c){var d={className:"col-xs-4",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-4",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-4",template:'<div class="row"><div class=""><h2 class="text-center">'+n(b.lines[c].columns[2].control)+"<h2><hr/></div></div>"},q={className:"col-xs-4",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(q,b,c);var r={className:"col-xs-4",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(r,b,c);var s={className:"col-xs-4",type:"undefined"!=typeof b.lines[c].columns[2].control.type?"none"===b.lines[c].columns[2].control.type?"blank":b.lines[c].columns[2].control.type:"blank",key:"undefined"!=typeof b.lines[c].columns[2].control.key?b.lines[c].columns[2].control.key:"blank"+Date.now(),templateOptions:{type:l(b.lines[c].columns[2].control),label:e(b.lines[c].columns[2].control),required:j(b.lines[c].columns[2].control),placeholder:m(b.lines[c].columns[2].control),description:n(b.lines[c].columns[2].control),options:k(b.lines[c].columns[2].control)},expressionProperties:g(b.lines[c].columns[2].control),validators:h(b.lines[c].columns[2].control),validation:i(b.lines[c].columns[2].control)};"datepicker"===b.lines[c].columns[2].control.type&&o(s,b,c);var t=[];"header"===b.lines[c].columns[0].control.type?t.push(d):t.push(q),"header"===b.lines[c].columns[1].control.type?t.push(f):t.push(r),"header"===b.lines[c].columns[2].control.type?t.push(p):t.push(s),a.push({className:"row",fieldGroup:t})},t=function(a){var b={};return angular.copy(b,a),!0},u=function(a){var b=[];angular.copy(b,a)},a("configurationModelInit",b),a("configurationModelResult",c),a("resetDataModel",t),a("resetFormlyModel",u),a("isTemplateOptionDefined",d),a("extractTemplateOptionLabel",e),a("extractTemplateOptionDatepickerPopup",f),a("extractFormlyExpressionProperties",g),a("extractFormlyValidators",h),a("extractFormlyValidation",i),a("extractTemplateOptionRequired",j),a("extractTemplateOptionOptions",k),a("extractTemplateOptionType",l),a("extractTemplateOptionPlaceholder",m),a("extractTemplateOptionDescription",n),a("addDatepickerPopupProperty",o),a("addOneColumnHeader",p),a("addOneColumnControl",q),a("addTwoColumnControl",r),a("addThreeColumnControl",s)}}}),a.register("1f",["15","16","1e"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a.configurationModelInit,e=a.configurationModelResult,f=a.resetDataModel,g=a.resetFormlyModel,h=a.isTemplateOptionDefined,i=a.extractTemplateOptionLabel,j=a.extractTemplateOptionDatepickerPopup,k=a.extractFormlyExpressionProperties,l=a.extractFormlyValidators,m=a.extractFormlyValidation,n=a.extractTemplateOptionRequired,o=a.extractTemplateOptionOptions,p=a.extractTemplateOptionType,q=a.extractTemplateOptionPlaceholder,r=a.extractTemplateOptionDescription,s=a.addDatepickerPopupProperty,t=a.addOneColumnHeader,u=a.addOneColumnControl,v=a.addTwoColumnControl,w=a.addThreeColumnControl}],execute:function(){"use strict";x="$formlyProxy",y=function(){function a(){c(this,a),this.init()}return b(a,[{key:"init",value:function(){}},{key:"initConfigurationEditFromScratch",value:function(a){angular.copy(d,a)}},{key:"bindConfigurationLines",value:function(a,b){if(angular.isArray(b)){var c=e;return c.lines=[].concat(b),angular.copy(c,a),this.getMessageObject("configuration model is bound","lines are bound to configuration model.")}return this.getErrorObject("lines is not an array","Checks lines type, it is not an array.")}},{key:"applyConfigurationToformlyModel",value:function(a,b,c){g(b),f(c);for(var d=a.lines.length,e=0;d>e;e++)1===a.lines[e].columns.length&&("header"===a.lines[e].columns[0].control.type?t(b,a,e):u(b,a,e)),2===a.lines[e].columns.length&&v(b,a,e),3===a.lines[e].columns.length&&w(b,a,e)}},{key:"getMessageObject",value:function(a,b){var c={noError:!0,title:a,Message:b};return c}}]),a}(),y.$inject=[],a("default",y),a("FORMLY_PROXY_SERVICE",x)}}}),a.register("20",["1f"],function(a){"use strict";var b,c,d;return{setters:[function(a){b=a["default"],c=a.FORMLY_PROXY_SERVICE}],execute:function(){d="formlyProxyModule",a("default",angular.module(d,[]).service(c,b))}}}),a.registerDynamic("21",[],!0,function(a,b,c){var d=this,e=d.define;d.define=void 0;var f=Object;return c.exports={create:f.create,getProto:f.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:f.getOwnPropertyDescriptor,setDesc:f.defineProperty,setDescs:f.defineProperties,getKeys:f.keys,getNames:f.getOwnPropertyNames,getSymbols:f.getOwnPropertySymbols,each:[].forEach},d.define=e,c.exports}),a.registerDynamic("22",["21"],!0,function(a,b,c){var d=this,e=d.define;d.define=void 0;var f=a("21");return c.exports=function(a,b,c){return f.setDesc(a,b,c)},d.define=e,c.exports}),a.registerDynamic("23",["22"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports={"default":a("22"),__esModule:!0},d.define=e,c.exports}),a.registerDynamic("15",["23"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("23")["default"];return b["default"]=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),f(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),b.__esModule=!0,d.define=e,c.exports}),a.registerDynamic("16",[],!0,function(a,b,c){"use strict";var d=this,e=d.define;return d.define=void 0,b["default"]=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},b.__esModule=!0,d.define=e,c.exports}),a.register("24",["15","16"],function(a){var b,c,d,e;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]}],execute:function(){"use strict";d="selectOptionManage",e=function(){function a(){c(this,a)}return b(a,[{key:"initModel",value:function(a){this.resetModel(a)}},{key:"resetModel",value:function(a){var b={rows:[]};angular.copy(b,a)}},{key:"isOptionUnique",value:function(a,b){for(var c=a.rows.length-1;c>=0;c--)if(a.rows[c].option===b)return!1;return!0}},{key:"isOptionValidFormat",value:function(a){return""!==a?!0:!1}},{key:"addNewOptionRadio",value:function(a,b){var c={resultFlag:!1,details:""},d=this.validOption(a,b);if(d.resultFlag===!0){var e={option:b,order:a.rows.length};return a.rows.push(e),c.resultFlag=!0,c.details="",c}return angular.copy(d,c),c}},{key:"addNewOptionBasicSelect",value:function(a,b){var c={resultFlag:!1,details:""},d=this.validOption(a,b);if(d.resultFlag===!0){var e={option:b,order:a.rows.length};return a.rows.push(e),c.resultFlag=!0,c.details="",c}return angular.copy(d,c),c}},{key:"addNewOptionGroupedSelect",value:function(a,b,c){var d={resultFlag:!1,details:""},e=this.validOption(a,b);if(e.resultFlag===!0){var f={option:b,group:c,order:a.rows.length};return a.rows.push(f),d.resultFlag=!0,d.details="",d}return angular.copy(e,d),d}},{key:"removeOption",value:function(a,b){var c={resultFlag:!1,details:""};return-1!==b?(a.rows.splice(b,1),c.resultFlag=!0,c.details="",c):(c.resultFlag=!1,c.details="Option index not valid",c)}},{key:"upthisOption",value:function(a,b){var c={resultFlag:!1,details:""};if(b>-1){if(b>0){if(a.rows[b-1]){var d=a.rows[b];return a.rows.splice(b,1),a.rows.splice(b-1,0,d),c.resultFlag=!0,c.details="",c}return c.resultFlag=!1,c.details="Can't retreive option from option index",c}return c.resultFlag=!0,c.details="",c}return c.resultFlag=!1,c.details="Option index not valid",c}},{key:"downthisOption",value:function(a,b){var c={resultFlag:!1,details:""};if(b>-1){if(b<a.rows.length-1){if(a.rows[b+1]){var d=a.rows[b];return a.rows.splice(b,1),a.rows.splice(b+1,0,d),c.resultFlag=!0,c.details="",c}return c.resultFlag=!1,c.details="Can't retreive option from option index",c}return c.resultFlag=!0,c.details="",c}return c.resultFlag=!1,c.details="Option index not valid",c}},{key:"validOption",value:function(a,b){var c={resultFlag:!1,details:""};if("undefined"==typeof b)return c.resultFlag=!1,c.details="Entered option is empty",c;if(""!==b){for(var d=a.rows.length-1;d>=0;d--)if(a.rows[d].option===b)return c.resultFlag=!1,c.details="Entered option is not unique",c;return c.resultFlag=!0,c.details="",c}return c.resultFlag=!1,c.details="Entered option is empty",c}}]),a}(),e.$inject=[],a("default",e),a("SELECT_OPTION_MANAGE_NAME",d)}}}),a.register("25",["24"],function(a){"use strict";var b,c,d;return{setters:[function(a){b=a["default"],c=a.SELECT_OPTION_MANAGE_NAME}],execute:function(){d="commonModule",a("default",angular.module(d,[]).service(c,b))}}}),a.register("1",["2","4","6","19","20","25","e","f","1a","1d"],function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l,m,n,o;return{setters:[function(a){},function(a){b=a["default"],c=a.EASY_FORM_VERSION_NAME,d=a.EASY_FORM_VERSION_VALUE},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]}],execute:function(){m="eda.easyformGen.stepway",n=[j.name,i.name,f.name,k.name,l.name,g.name,h.name],o=angular.module(m,n).value(c,d).config(e).config(b),a("default",o)}}})})(function(a){a()});
//# sourceMappingURL=eda.stepway.min.js.map