eventman/static/js/eda.easyFormViewer.js

182 lines
590 KiB
JavaScript
Raw Normal View History

2017-04-02 16:28:59 +02:00
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ exports: {},
/******/ id: moduleId,
/******/ loaded: false
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.loaded = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "http://localhost:8080/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {
2017-04-02 18:16:38 +02:00
eval("'use strict';\n\n__webpack_require__(1);\n\n__webpack_require__(6);\n\n__webpack_require__(19);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Zvcm12aWV3ZXIvaW5kZXguanM/NzYxNCJdLCJuYW1lcyI6WyJyZXF1aXJlIl0sIm1hcHBpbmdzIjoiOztBQUFBOztBQUVBOztBQURBLG1CQUFBQSxDQUFRLEVBQVIiLCJmaWxlIjoiMC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAnLi92ZW5kb3JzJztcbnJlcXVpcmUoJy4vc3R5bGUvZm9ybXZpZXdlci5zY3NzJyk7XG5pbXBvcnQgJy4vbWFpbic7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2Zvcm12aWV3ZXIvaW5kZXguanMiXSwic291cmNlUm9vdCI6IiJ9");
2017-04-02 16:28:59 +02:00
/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {
eval("'use strict';\n\n__webpack_require__(2);\n\n__webpack_require__(3);\n\n__webpack_require__(5);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Zvcm12aWV3ZXIvdmVuZG9ycy5qcz9mN2JlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUE7O0FBQ0E7O0FBQ0EiLCJmaWxlIjoiMS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAnYXBpLWNoZWNrJzsgLy8gTk9URTogYWx3YXlzIGltcG9ydGVkIGJlZm9yZSBhbmd1bGFyLWZvcm1seSFcbmltcG9ydCAnYW5ndWxhci1mb3JtbHknO1xuaW1wb3J0ICdhbmd1bGFyLWZvcm1seS10ZW1wbGF0ZXMtYm9vdHN0cmFwJztcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZm9ybXZpZXdlci92ZW5kb3JzLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
/***/ },
/* 2 */
/***/ function(module, exports, __webpack_require__) {
eval("//! api-check version 7.5.5 built with ♥ by Kent C. Dodds <kent@doddsfamily.us> (http://kent.doddsfamily.us) (ó ì_í)=óò=(ì_í ò)\n\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"apiCheck\"] = factory();\n\telse\n\t\troot[\"apiCheck\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n\n\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n\tvar _apiCheck = __webpack_require__(1);\n\n\tvar _apiCheck2 = _interopRequireDefault(_apiCheck);\n\n\texports['default'] = _apiCheck2['default'];\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar stringify = __webpack_require__(2);\n\tvar apiCheckUtil = __webpack_require__(3);\n\tvar each = apiCheckUtil.each;\n\tvar isError = apiCheckUtil.isError;\n\tvar t = apiCheckUtil.t;\n\tvar arrayify = apiCheckUtil.arrayify;\n\tvar getCheckerDisplay = apiCheckUtil.getCheckerDisplay;\n\tvar typeOf = apiCheckUtil.typeOf;\n\tvar getError = apiCheckUtil.getError;\n\n\tvar checkers = __webpack_require__(4);\n\tvar apiCheckApis = getApiCheckApis();\n\n\tmodule.exports = getApiCheckInstance;\n\tmodule.exports.VERSION = (\"7.5.5\");\n\tmodule.exports.utils = apiCheckUtil;\n\tmodule.exports.globalConfig = {\n\t verbose: false,\n\t disabled: false\n\t};\n\n\tvar apiCheckApiCheck = getApiCheckInstance({\n\t output: { prefix: 'apiCheck' }\n\t});\n\tmodule.exports.internalChecker = apiCheckApiCheck;\n\n\teach(checkers, function (checker, name) {\n\t return module.exports[name] = checker;\n\t});\n\n\tfunction getApiCheckInstance() {\n\t var config = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t var extraCheckers = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n\t /* eslint complexity:[2, 6] */\n\t if (apiCheckApiCheck && arguments.length) {\n\t apiCheckApiCheck['throw'](apiCheckApis.getApiCheckInstanceCheckers, arguments, {\n\t prefix: 'creating an apiCheck instance'\n\t });\n\t }\n\n\t var additionalProperties = {\n\t 'throw': getApiCheck(true),\n\t warn: getApiCheck(false),\n\t getErrorMessage: getErrorMessage,\n\t handleErrorMessage: handleErrorMessage,\n\t config: {\n\t output: config.output || {\n\t prefix: '',\n\t
/***/ },
/* 3 */
/***/ function(module, exports, __webpack_require__) {
eval("// angular-formly version 6.8.2 built with ♥ by Astrism <astrisms@gmail.com>, Kent C. Dodds <kent@doddsfamily.us> (ó ì_í)=óò=(ì_í ò)\n\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory(__webpack_require__(2), __webpack_require__(4));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"api-check\", \"angular\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ngFormly\"] = factory(require(\"api-check\"), require(\"angular\"));\n\telse\n\t\troot[\"ngFormly\"] = factory(root[\"apiCheck\"], root[\"angular\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_16__, __WEBPACK_EXTERNAL_MODULE_17__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n\n\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar index = _interopRequire(__webpack_require__(1));\n\n\tmodule.exports = index;\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n\n\tvar angular = _interopRequire(__webpack_require__(15));\n\n\tvar formlyApiCheck = _interopRequire(__webpack_require__(2));\n\n\tvar formlyErrorAndWarningsUrlPrefix = _interopRequire(__webpack_require__(3));\n\n\tvar formlyUsability = _interopRequire(__webpack_require__(4));\n\n\tvar formlyConfig = _interopRequire(__webpack_require__(5));\n\n\tvar formlyValidationMessages = _interopRequire(__webpack_require__(6));\n\n\tvar formlyUtil = _interopRequire(__webpack_require__(7));\n\n\tvar formlyWarn = _interopRequire(__webpack_require__(8));\n\n\tvar formlyCustomValidation = _interopRequire(__webpack_require__(9));\n\n\tvar formlyField = _interopRequire(__webpack_require__(10));\n\n\tvar formlyFocus = _interopRequire(__webpack_require__(11));\n\n\tvar formlyForm = _interopRequire(__webpack_require__(12));\n\n\tvar formlyNgModelAttrsManipulator = _interopRequire(__webpack_require__(13));\n\n\tvar formlyCustomTags = _interopRequire(__webpack_require__(14));\n\n\tvar ngModuleName = \"formly\";\n\n\tmodule.exports = ngModuleName;\n\n\tvar ngModule = angular.module(ngModuleName, []);\n\n\tngModule.constant(\"formlyApiCheck\", formlyApiCheck);\n\tngModule.constant(\"formlyErrorAndWarningsUrlPrefix\", formlyErrorAndWarningsUrlPrefix);\n\tngModule.constant(\"formlyVersion\", (\"6.8.2\")); // <-- webpack variable\n\n\tngModule.provider(\"formlyUsability\", formlyUsability);\n\tngModule.provider(\"formlyConfig\", formlyConfig);\n\n\tngModule.factory(\"formlyValidationMessages\", for
/***/ },
/* 4 */
/***/ function(module, exports) {
eval("module.exports = angular;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vZXh0ZXJuYWwgXCJhbmd1bGFyXCI/MTFkMiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsImZpbGUiOiI0LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBhbmd1bGFyO1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIGV4dGVybmFsIFwiYW5ndWxhclwiXG4vLyBtb2R1bGUgaWQgPSA0XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
/***/ },
/* 5 */
/***/ function(module, exports, __webpack_require__) {
eval("// angular-formly-templates-bootstrap version 4.3.2 built with ♥ by Astrism <astrisms@gmail.com>, Kent C. Dodds <kent@doddsfamily.us> (ó ì_í)=óò=(ì_í ò)\n\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory(__webpack_require__(3), __webpack_require__(2), __webpack_require__(4));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"angular-formly\", \"api-check\", \"angular\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ngFormlyTemplatesBootstrap\"] = factory(require(\"angular-formly\"), require(\"api-check\"), require(\"angular\"));\n\telse\n\t\troot[\"ngFormlyTemplatesBootstrap\"] = factory(root[\"ngFormly\"], root[\"apiCheck\"], root[\"angular\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_8__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(11);\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\t\n\texports['default'] = function (ngModule) {\n\t ngModule.config(addCheckboxType);\n\t\n\t function addCheckboxType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t var c = formlyBootstrapApiCheck;\n\t formlyConfigProvider.setType({\n\t name: 'multiCheckbox',\n\t template: __webpack_require__(21),\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t apiCheck: {\n\t templateOptions: c.shape({\n\t options: c.arrayOf(c.object),\n\t labelProp: c.string.optional,\n\t valueProp: c.string.optional\n\t })\n\t },\n\t defaultOptions: {\n\t noFormControl: false,\n\t ngModelAttrs: {\n\t required: {\n\t attribute: '',\n\t bound: ''\n\t }\n\t }\n\t },\n\t apiCheckInstance: c,\n\t controller: /* @ngInject */[\"$scope\", function controller($scope) {\n\t var to = $scope.to;\n\t var opts = $scope.options;\n\t $scope.multiCheckbox = {\n\t checked: [],\n\t change: setModel\n\t };\n\t\n\t // initialize the checkboxes check property\n\t var modelValue = $scope.model[opts.key];\n\t if (angular.isArray(modelValue)) {\n\t (function () {\n\t var valueProp = to.valueProp || 'value';\n\t angular.forEach(to.options, function (v, index) {\n\t
/***/ },
/* 6 */
/***/ function(module, exports, __webpack_require__) {
2017-04-02 18:16:38 +02:00
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _edaEasyFormViewerMain = __webpack_require__(7);\n\nvar _edaEasyFormViewerMain2 = _interopRequireDefault(_edaEasyFormViewerMain);\n\nvar _edaEasyFormViewerCore = __webpack_require__(12);\n\nvar _edaEasyFormViewerCore2 = _interopRequireDefault(_edaEasyFormViewerCore);\n\nvar _edaEasyFormViewerModelTranslator = __webpack_require__(13);\n\nvar _edaEasyFormViewerModelTranslator2 = _interopRequireDefault(_edaEasyFormViewerModelTranslator);\n\nvar _edaEasyFormViewer = __webpack_require__(16);\n\nvar _edaEasyFormViewer2 = _interopRequireDefault(_edaEasyFormViewer);\n\nvar _easyFormConfig = __webpack_require__(18);\n\nvar _easyFormConfig2 = _interopRequireDefault(_easyFormConfig);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DEP_TO_INJECT_IN_MAIN = [_edaEasyFormViewerMain2.default.name, _edaEasyFormViewerCore2.default.name, _edaEasyFormViewerModelTranslator2.default.name];\n\nvar EASY_FORM_VIEWER_VERSION_NAME = 'easyFormViewerVersion';\nvar EASY_FORM_VIEWER_VERSION_VALUE = _easyFormConfig2.default.formviewer.version;\nvar MAIN_MODULE_NAME = 'eda.easyFormViewer';\n\nvar mainModule = angular.module(MAIN_MODULE_NAME, DEP_TO_INJECT_IN_MAIN).config(_edaEasyFormViewer2.default).value(EASY_FORM_VIEWER_VERSION_NAME, EASY_FORM_VIEWER_VERSION_VALUE);\n\nexports.default = mainModule;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Zvcm12aWV3ZXIvbWFpbi5qcz83Y2Y3Il0sIm5hbWVzIjpbIkRFUF9UT19JTkpFQ1RfSU5fTUFJTiIsIm5hbWUiLCJFQVNZX0ZPUk1fVklFV0VSX1ZFUlNJT05fTkFNRSIsIkVBU1lfRk9STV9WSUVXRVJfVkVSU0lPTl9WQUxVRSIsImZvcm12aWV3ZXIiLCJ2ZXJzaW9uIiwiTUFJT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AuL3NyYy9hcHAvZm9ybXZpZXdlci9tYWluLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
2017-04-02 16:28:59 +02:00
/***/ },
/* 7 */
/***/ function(module, exports, __webpack_require__) {
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _edaEasyFormViewerMain = __webpack_require__(8);\n\nvar _edaEasyFormViewerMain2 = _interopRequireDefault(_edaEasyFormViewerMain);\n\nvar _edaEasyFormViewerMain3 = __webpack_require__(11);\n\nvar _edaEasyFormViewerMain4 = _interopRequireDefault(_edaEasyFormViewerMain3);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* global angular */\nvar FORM_VIEWER_MAIN_MODULE_NAME = 'edaFormViewerMainModule';\n\nexports.default = angular.module(FORM_VIEWER_MAIN_MODULE_NAME, []).directive(_edaEasyFormViewerMain.EASY_FORM_VIEWER_DIRECTIVE_NAME, _edaEasyFormViewerMain2.default).controller(_edaEasyFormViewerMain3.EASY_FORM_VIEWER_CONTROLLER, _edaEasyFormViewerMain4.default);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Zvcm12aWV3ZXIvY29tcG9uZW50cy9tYWluL2VkYS5lYXN5Rm9ybVZpZXdlci5tYWluLm1vZHVsZS5qcz80ZDY1Il0sIm5hbWVzIjpbIkZPUk1fVklFV0VSX01BSU5fTU9EVUxFX05BTUUiLCJhbmd1bGFyIiwibW9kdWxlIiwiZGlyZWN0aXZlIiwiY29udHJvbGxlciJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQ0E7Ozs7QUFJQTs7Ozs7O0FBTEE7QUFTQSxJQUFNQSwrQkFBK0IseUJBQXJDOztrQkFFZUMsUUFDTkMsTUFETSxDQUNDRiw0QkFERCxFQUMrQixFQUQvQixFQUVORyxTQUZNLDBGQUdOQyxV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GUuanMiXSwic291cmNlUm9vdCI6IiJ9");
/***/ },
/* 8 */
/***/ function(module, exports, __webpack_require__) {
2017-04-02 18:16:38 +02:00
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.EASY_FORM_VIEWER_DIRECTIVE_NAME = undefined;\n\nvar _edaEasyFormViewerMainTemplate = __webpack_require__(9);\n\nvar _edaEasyFormViewerMainTemplate2 = _interopRequireDefault(_edaEasyFormViewerMainTemplate);\n\nvar _edaEasyFormViewerMainDirective = __webpack_require__(10);\n\nvar _edaEasyFormViewerMain = __webpack_require__(11);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar EASY_FORM_VIEWER_DIRECTIVE_NAME = 'edaEasyFormViewer'; /* global angular */\n\n\nfunction edaFormViewerDirective($modelsTranslator) {\n\tvar directive = {\n\t\trestrict: 'E',\n\t\tscope: {\n\t\t\tedaEasyFormViewerDataModel: '=?',\n\t\t\tedaEasyFormViewerEasyFormGeneratorFieldsModel: '=?',\n\t\t\tedaEasyFormViewerSubmitButtonText: '@?',\n\t\t\tedaEasyFormViewerCancelButtonText: '@?',\n\t\t\tedaEasyFormViewerSubmitFormEvent: '&?',\n\t\t\tedaEasyFormViewerCancelFormEvent: '&?'\n\t\t},\n\t\treplace: false,\n\t\tcontroller: _edaEasyFormViewerMain.EASY_FORM_VIEWER_CONTROLLER,\n\t\tcontrollerAs: _edaEasyFormViewerMain.EASY_FORM_VIEWER_CONTROLLERAS,\n\t\ttemplate: _edaEasyFormViewerMainTemplate2.default,\n\t\tlink: linkFct\n\t};\n\treturn directive;\n\n\tfunction linkFct(scope) {\n\t\tscope.vm.model = {};\n\t\tscope.vm.fields = loadFieldsModel();\n\t\tscope.vm.submitText = scope.edaEasyFormViewerSubmitButtonText || 'Submit';\n\t\tscope.vm.cancelText = scope.edaEasyFormViewerCancelButtonText || 'Cancel';\n\n\t\tscope.$watch(fieldsModelToWatch, fieldsModelWatcher, true);\n\t\tscope.$watch(dataModelToWatch, dataModelWatcher, true);\n\t\tscope.$watch(submitBtnTextToWatch, submitBtnTextWatcher);\n\t\tscope.$watch(cancelBtnTextToWatch, cancelBtnTextWatcher);\n\t\tscope.$watch(submitEventToWatch, submitEventWatcher);\n\t\tscope.$watch(cancelEventToWatch, cancelEventWatcher);\n\n\t\tfunction dataModelToWatch() {\n\t\t\treturn scope.vm.model;\n\t\t}\n\n\t\tfunction fieldsModelToWatch() {\n\t\t\treturn scope.edaEasyFormViewerEasyFormGeneratorFieldsModel;\n\t\t}\n\n\t\tfunction submitBtnTextToWatch() {\n\t\t\treturn scope.edaEasyFormViewerSubmitButtonText;\n\t\t}\n\n\t\tfunction cancelBtnTextToWatch() {\n\t\t\treturn scope.edaEasyFormViewerCancelButtonText;\n\t\t}\n\n\t\tfunction submitEventToWatch() {\n\t\t\treturn scope.vm.hasJustSumitted;\n\t\t}\n\n\t\tfunction cancelEventToWatch() {\n\t\t\treturn scope.vm.hasJustCancelled;\n\t\t}\n\n\t\tfunction fieldsModelWatcher(newFieldsModel) {\n\t\t\tscope.vm.fields = loadExistingConfigurationModel(newFieldsModel);\n\t\t}\n\n\t\tfunction submitBtnTextWatcher(newSubmitBtntext, oldSubmitBtntext) {\n\t\t\tif (newSubmitBtntext !== oldSubmitBtntext) {\n\t\t\t\tscope.vm.submitText = newSubmitBtntext || 'Submit';\n\t\t\t}\n\t\t}\n\n\t\tfunction cancelBtnTextWatcher(newCancelBtntext, oldCancelBtntext) {\n\t\t\tif (newCancelBtntext !== oldCancelBtntext) {\n\t\t\t\tscope.vm.cancelText = newCancelBtntext || 'Submit';\n\t\t\t}\n\t\t}\n\n\t\tfunction dataModelWatcher(newDataModel) {\n\t\t\tscope.edaEasyFormViewerDataModel = newDataModel;\n\t\t}\n\n\t\tfunction submitEventWatcher(newSubmitEvent) {\n\t\t\tif (newSubmitEvent === true) {\n\t\t\t\tif (angular.isFunction(scope.edaEasyFormViewerSubmitFormEvent)) {\n\t\t\t\t\tvar _dataModelSubmitted = scope.vm.model;\n\t\t\t\t\tscope.edaEasyFormViewerSubmitFormEvent({ dataModelSubmitted: _dataModelSubmitted });\n\t\t\t\t}\n\t\t\t}\n\t\t\tscope.vm.hasJustSumitted = false;\n\t\t}\n\n\t\tfunction cancelEventWatcher(newCancelEvent) {\n\t\t\tif (newCancelEvent === true) {\n\t\t\t\tif (angular.isFunction(scope.edaEasyFormViewerCancelFormEvent)) {\n\t\t\t\t\tscope.edaEasyFormViewerCancelFormEvent();\n\t\t\t\t}\n\t\t\t}\n\t\t\tscope.vm.hasJustCancelled = false;\n\t\t}\n\n\t\t/**\n \t* TODO : check if formly or easy form generato fields model\n \t*\n \t* by default or if both -> easy for generator is chosen\n \t*/\n\t\tfunction loadFieldsModel() {\n\t\t\tvar initialFieldsModel = angular.isArray(scope.edaEasyFormViewerEasyFormGeneratorFieldsModel
2017-04-02 16:28:59 +02:00
/***/ },
/* 9 */
/***/ function(module, exports) {
eval("module.exports = \"<div class=\\\"easyFormViewer\\\">\\n\\t\\n\\t<form \\tng-submit=\\\"vm.onSubmit()\\\"\\n\\t\\t\\t\\t\\tname=\\\"vm.form\\\"> \\n\\t\\t<formly-form \\tmodel=\\\"vm.model\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\t\\tfields=\\\"vm.fields\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\t\\tform=\\\"vm.form\\\"> \\n\\t\\t\\t\\n\\t\\t\\t<div class=\\\"pull-right\\\">\\n\\t\\t\\t\\t<button type=\\\"submit\\\" class=\\\"btn btn-primary\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\tng-disabled=\\\"vm.form.$invalid\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\tng-click=\\\"vm.edaSubmitThisDataModel();\\\">{{vm.submitText}}</button>\\n\\t\\t\\t\\t<button type=\\\"button\\\" class=\\\"btn btn-primary\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\tng-click=\\\"vm.edaCancelEvent();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m0uZm9ybS4kaW52YWxpZFxcXCJcXG5cXHRcXHRcXHRcXHRcXHRcXHRcXHRcXHRuZy1jbGljaz1cXFwidm0uZWRhU3VibWl0VGhpc0RhdGFNb2RlbCgpO1xcXCI+e3t2bS5zdWJtaXRUZXh0fX08L2J1dHRvbj5cXG5cXHRcXHRcXHRcXHQ8YnV0dG9uIHR5cGU9XFxcImJ1dHRvblxcXCIgY2xhc3M9XFxcImJ0biBidG4tcHJpbWFyeVxcXCIgXFxuXFx0XFx0XFx0XFx0XFx0XFx0XFx0XFx0bmctY2xpY2s9XFxcInZtLmVkYUNhbmNlbEV2ZW50KCk7XFxcIj57e3ZtLmNhbmNlbFRleHR9fTwvYnV0dG9uPlxcdFxcdFxcdFxcdFxcblxcdFxcdFxcdDwvZGl2PlxcdFxcdFxcdFxcdFxcdFxcdFxcblxcblxcdFxcdDwvZm9ybWx5LWZvcm0+IFxcblxcdDwvZm9ybT5cXG5cXG48L2Rpdj5cIlxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2FwcC9mb3Jtdmlld2VyL2NvbXBvbmVudHMvbWFpbi9lZGEuZWFzeUZvcm1WaWV3ZXIubWFpbi50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSA5XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
/***/ },
/* 10 */
/***/ function(module, exports) {
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n/* global angular */\n\nvar EMPTY_FIELD_MODEL = [{\n\t'line': 1,\n\t'activeColumn': 1,\n\t'columns': [{\n\t\t'numColumn': 1,\n\t\t'exist': true,\n\t\t'control': {\n\t\t\t'type': 'none',\n\t\t\t'key': 'none'\n\t\t}\n\t}]\n}];\n\n/**\n\t* empty fields model : to display at least an empty line\n\t* otherwise would look like ugly empty line like it were a bug\n\t*/\nvar emptyEdaFieldsModel = function emptyEdaFieldsModel() {\n\treturn angular.copy(EMPTY_FIELD_MODEL);\n};\n\nvar returnAttributeDataModelIfNotEmpty = function returnAttributeDataModelIfNotEmpty(edaEasyFormGeneratorModel) {\n\tvar dataModelToReturn = angular.isArray(edaEasyFormGeneratorModel.dataModel) ? edaEasyFormGeneratorModel.dataModel.length > 0 ? edaEasyFormGeneratorModel.dataModel : [] : [];\n\treturn dataModelToReturn;\n};\n\nvar returnAttributeConfigurationLinesIfNotEmpty = function returnAttributeConfigurationLinesIfNotEmpty(loadedFieldModel) {\n\tvar edaEasyFormGeneratorModelToReturn = angular.isArray(loadedFieldModel) ? loadedFieldModel.length > 0 ? loadedFieldModel : emptyEdaFieldsModel() : emptyEdaFieldsModel();\n\treturn edaEasyFormGeneratorModelToReturn;\n};\n\nexports.emptyEdaFieldsModel = emptyEdaFieldsModel;\nexports.returnAttributeDataModelIfNotEmpty = returnAttributeDataModelIfNotEmpty;\nexports.returnAttributeConfigurationLinesIfNotEmpty = returnAttributeConfigurationLinesIfNotEmpty;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Zvcm12aWV3ZXIvY29tcG9uZW50cy9tYWluL2VkYS5lYXN5Rm9ybVZpZXdlci5tYWluLmRpcmVjdGl2ZS5oZWxwZXJzLmpzPzBjNGEiXSwibmFtZXMiOlsiRU1QVFlfRklFTERfTU9ERUwiLCJlbXB0eUVkYUZpZWxkc01vZGVsIiwiYW5ndWxhciIsImNvcHkiLCJyZXR1cm5BdHRyaWJ1dGVEYXRhTW9kZWxJZk5vdEVtcHR5IiwiZWRhRWFzeUZvcm1HZW5lcmF0b3JNb2RlbCIsImRhdGFNb2RlbFRvUmV0dXJuIiwiaXNBcnJheSIsImRhdGFNb2RlbCIsImxlbmd0aCIsInJldHVybkF0dHJpYnV0ZUNvbmZpZ3VyYXRpb25MaW5lc0lmTm90RW1wd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 function(module, exports) {
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EASY_FORM_VIEWER_CONTROLLER = 'edaEasyFormViewerCtrl';\nvar EASY_FORM_VIEWER_CONTROLLERAS = 'vm';\n\nvar edaEasyFormViewerController = function () {\n\tfunction edaEasyFormViewerController() {\n\t\t_classCallCheck(this, edaEasyFormViewerController);\n\n\t\tthis.init();\n\t}\n\n\t_createClass(edaEasyFormViewerController, [{\n\t\tkey: 'init',\n\t\tvalue: function init() {\n\t\t\tthis.model = {};\n\t\t\tthis.fields = {};\n\t\t\tthis.hasJustSumitted = false;\n\t\t\tthis.hasJustCancelled = false;\n\t\t}\n\t}, {\n\t\tkey: 'edaSubmitThisDataModel',\n\t\tvalue: function edaSubmitThisDataModel() {\n\t\t\tthis.hasJustSumitted = true;\n\t\t}\n\t}, {\n\t\tkey: 'edaCancelEvent',\n\t\tvalue: function edaCancelEvent() {\n\t\t\tthis.hasJustCancelled = true;\n\t\t}\n\t}]);\n\n\treturn edaEasyFormViewerController;\n}();\n\nedaEasyFormViewerController.$inject = [];\n\nexports.default = edaEasyFormViewerController;\nexports.EASY_FORM_VIEWER_CONTROLLER = EASY_FORM_VIEWER_CONTROLLER;\nexports.EASY_FORM_VIEWER_CONTROLLERAS = EASY_FORM_VIEWER_CONTROLLERAS;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3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dHJsJztcbmNvbnN0IEVBU1lfRk9STV9WSUVXRVJfQ09OVFJPTExFUkFTXHQ9ICd2bSc7XG5cbmNsYXNzIGVkYUVhc3lGb3JtVmlld2VyQ29udHJvbGxlcntcblx0XG5cdGNvbnN0cnVjdG9yKCl7XG5cdFx0dGhpcy5pbml0KCk7XG5cdH1cblx0XG5cdGluaXQoKXtcblx0XHR0aGlzLm1vZGVsIFx0XHRcdFx0XHRcdD0ge307XG5cdFx0dGhpcy5maWVsZHMgXHRcdFx0XHRcdD0ge307XG5cdFx0dGhpcy5oYXNKdXN0U3VtaXR0ZWQgXHQ9IGZhbHNlO1xuXHRcdHRoaXMuaGFzSnVzdENhbmNlbGxlZCA9IGZhbHNlO1xuXHR9XG5cdFxuXHRlZGFTdWJtaXRUaGlzRGF0YU1vZGVsKCl7XG5cdFx0dGhpcy5oYXNKdXN0U3VtaXR0ZWQgPSB0cnVlO1xuXHR9XG5cdFxuXHRlZGFDYW5jZWxFdmVudCgpe1xuXHRcdHRoaXMuaGFzSnVzdENhbmNlbGxlZCA9IHRydWU7XG5cdH1cdFxuXHRcbn1cblxuZWRhRWFzeUZvcm1WaWV3ZXJDb250cm9sbGVyLiRpbmplY3QgPSBbXTtcblxuZXhwb3J0IGRlZmF1bHQgZWRhRWFzeUZvcm1WaWV3ZXJDb250cm9sbGVyO1xuXG5leHBvcnQge1xuXHRFQVNZX0ZPUk1fVklFV0VSX0NPTlRST0xMRVIsXG5cdEVBU1lfRk9STV9WSUVXRVJfQ09OVFJPTExFUkFTXG59O1xuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZm9ybXZpZXdlci9jb21wb25lbnRzL21haW4vZWRhLmVhc3lGb3JtVmlld2VyLm1haW4uY29udHJvbGxlci5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
/***/ },
/* 12 */
/***/ function(module, exports) {
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nvar CORE_MODULES = ['textAngular', 'formly', 'ngAnimate', 'formlyBootstrap', 'ui.bootstrap', 'nya.bootstrap.select'];\n\nvar FORMVIEWER_CORE_MODULE_NAME = 'edaEasyFormViewerCore.module';\n\nexports.default = angular.module(FORMVIEWER_CORE_MODULE_NAME, CORE_MODULES);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Zvcm12aWV3ZXIvY29tcG9uZW50cy9jb3JlL2VkYS5lYXN5Rm9ybVZpZXdlci5jb3JlLm1vZHVsZS5qcz8zYjQzIl0sIm5hbWVzIjpbIkNPUkVfTU9EVUxFUyIsIkZPUk1WSUVXRVJfQ09SRV9NT0RVTEVfTkFNRSIsImFuZ3VsYXIiLCJtb2R1bGUiXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsSUFBTUEsZUFBZSxDQUNwQixhQURvQixFQUVwQixRQUZvQixFQUdwQixXQUhvQixFQUlwQixpQkFKb0IsRUFLcEIsY0FMb0IsRUFNcEIsc0JBTm9CLENBQXJCOztBQVNBLElBQU1DLDhCQUE4Qiw4QkFBcEM7O2tCQUVlQyxRQUNOQyxNQURNLENBQ0NGLDJCQURELEVBQzhCRCxZQUQ5QixDIiwiZmlsZSI6IjEyLmpzIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgQ09SRV9NT0RVTEVTID0gW1xuXHQndGV4dEFuZ3VsYXInLCAgXG5cdCdmb3JtbHknLCAgXG5cdCduZ0FuaW1hdGUnLFxuXHQnZm9ybWx5Qm9vdHN0cmFwJywgXG5cdCd1aS5ib290c3RyYXAnLCBcblx0J255YS5ib290c3RyYXAuc2VsZWN0JyBcbl07XG5cbmNvbnN0IEZPUk1WSUVXRVJfQ09SRV9NT0RVTEVfTkFNRSA9ICdlZGFFYXN5Rm9ybVZpZXdlckNvcmUubW9kdWxlJztcblxuZXhwb3J0IGRlZmF1bHQgYW5ndWxhclxuXHRcdFx0XHRcdFx0XHRcdC5tb2R1bGUoRk9STVZJRVdFUl9DT1JFX01PRFVMRV9OQU1FLCBDT1JFX01PRFVMRVMpO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9mb3Jtdmlld2VyL2NvbXBvbmVudHMvY29yZS9lZGEuZWFzeUZvcm1WaWV3ZXIuY29yZS5tb2R1bGUuanMiXSwic291cmNlUm9vdCI6IiJ9");
/***/ },
/* 13 */
/***/ function(module, exports, __webpack_require__) {
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _edaEasyFormViewerModelTranslator = __webpack_require__(14);\n\nvar _edaEasyFormViewerModelTranslator2 = _interopRequireDefault(_edaEasyFormViewerModelTranslator);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FORM_VIEWER_MODEL_TRANSLATOR_MODULE_NAME = 'edaFormViewerModelTranslatorModule'; /* global angular */\nexports.default = angular.module(FORM_VIEWER_MODEL_TRANSLATOR_MODULE_NAME, []).service(_edaEasyFormViewerModelTranslator.MODEL_TRANSLATOR_SERVICE, _edaEasyFormViewerModelTranslator2.default);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Zvcm12aWV3ZXIvY29tcG9uZW50cy9tb2RlbHNUcmFuc2xhdG9yL2VkYS5lYXN5Rm9ybVZpZXdlci5tb2RlbFRyYW5zbGF0b3IubW9kdWxlLmpzPzc2ZWQiXSwibmFtZXMiOlsiRk9STV9WSUVXRVJfTU9ERUxfVFJBTlNMQVRPUl9NT0RVTEVfTkFNRSIsImFuZ3VsYXIiLCJtb2R1bGUiLCJzZXJ2aWNlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFDQTs7Ozs7O0FBTUEsSUFBTUEsMkNBQTJDLG9DQUFqRCxDLENBUEE7a0JBU2VDLFFBQ05DLE1BRE0sQ0FDQ0Ysd0NBREQsRUFDMkMsRUFEM0MsRUFFTkcsT0FGTSx3RyIsImZpbGUiOiIxMy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8qIGdsb2JhbCBhbmd1bGFyICovXG5pbXBvcnQgJG1vZGVsc1RyYW5zbGF0b3IsIHtcblx0TU9ERUxfVFJBTlNMQVRPUl9TRVJWSUNFXG59XHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdGZyb20gJy4vZWRhLmVhc3lGb3JtVmlld2VyLm1vZGVsVHJhbnNsYXRvci5zZXJ2aWNlJztcblxuXG5cbmNvbnN0IEZPUk1fVklFV0VSX01PREVMX1RSQU5TTEFUT1JfTU9EVUxFX05BTUUgPSAnZWRhRm9ybVZpZXdlck1vZGVsVHJhbnNsYXRvck1vZHVsZSc7XG5cbmV4cG9ydCBkZWZhdWx0IGFuZ3VsYXJcblx0XHRcdFx0XHRcdFx0XHQubW9kdWxlKEZPUk1fVklFV0VSX01PREVMX1RSQU5TTEFUT1JfTU9EVUxFX05BTUUsIFtdKVxuXHRcdFx0XHRcdFx0XHRcdC5zZXJ2aWNlKE1PREVMX1RSQU5TTEFUT1JfU0VSVklDRSwgJG1vZGVsc1RyYW5zbGF0b3IpO1xuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZm9ybXZpZXdlci9jb21wb25lbnRzL21vZGVsc1RyYW5zbGF0b3IvZWRhLmVhc3lGb3JtVmlld2VyLm1vZGVsVHJhbnNsYXRvci5tb2R1bGUuanMiXSwic291cmNlUm9vdCI6IiJ9");
/***/ },
/* 14 */
/***/ function(module, exports, __webpack_require__) {
2017-04-02 18:16:38 +02:00
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.MODEL_TRANSLATOR_SERVICE = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /* global angular */\n\n\nvar _edaEasyFormViewerModelTranslatorService = __webpack_require__(15);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar MODEL_TRANSLATOR_SERVICE = '$modelsTranslator';\n\nvar $modelsTranslator = function () {\n\tfunction $modelsTranslator() {\n\t\t_classCallCheck(this, $modelsTranslator);\n\t}\n\n\t_createClass($modelsTranslator, [{\n\t\tkey: 'initNyaSelect',\n\t\tvalue: function initNyaSelect(nyaSelectObj) {\n\t\t\treturn (0, _edaEasyFormViewerModelTranslatorService.resetNyaSelect)(nyaSelectObj);\n\t\t}\n\n\t\t/**\n \t* get all controls definition (nyaSelectObj)\n \t* \n \t* needed to bind these properties :\n \t* \n \t* formlyExpressionProperties: {}, \n \t* formlyValidators: {},\n \t* formlyValidation \t\t\n \t*/\n\n\t}, {\n\t\tkey: 'getControlsDefinition',\n\t\tvalue: function getControlsDefinition() {\n\t\t\tvar controls = {};\n\t\t\t(0, _edaEasyFormViewerModelTranslatorService.resetNyaSelect)(controls);\n\t\t\treturn controls;\n\t\t}\n\n\t\t/**\n \t* loading forms will not be able to retrieve formlyExpressionProperties\n \t* -> here does the job\n \t*/\n\n\t}, {\n\t\tkey: 'refreshControlFormlyExpressionProperties',\n\t\tvalue: function refreshControlFormlyExpressionProperties(configurationModel) {\n\t\t\tvar _this = this;\n\n\t\t\tif (angular.isObject(configurationModel)) {\n\t\t\t\t//iterates lines\n\t\t\t\tangular.forEach(configurationModel.lines, function (line) {\n\t\t\t\t\tangular.forEach(line.columns, function (column) {\n\t\t\t\t\t\tvar _controlsDefinition = _this.getControlsDefinition();\n\t\t\t\t\t\tangular.forEach(_controlsDefinition.controls, function (aControl) {\n\t\t\t\t\t\t\tif (column.control.type === aControl.formlyType && column.control.subtype === aControl.formlySubtype) {\n\t\t\t\t\t\t\t\t//----> update control formlyExpressionProperties property\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tcolumn.control.formlyExpressionProperties = aControl.formlyExpressionProperties;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\t/**\n \t* loading forms will not be able to retrieve formlyValidators\n \t* -> here does the job\n \t*/\n\n\t}, {\n\t\tkey: 'refreshControlFormlyValidators',\n\t\tvalue: function refreshControlFormlyValidators(configurationModel) {\n\t\t\tvar _this2 = this;\n\n\t\t\tif (angular.isObject(configurationModel)) {\n\t\t\t\t//iterates lines\n\t\t\t\tangular.forEach(configurationModel.lines, function (line) {\n\t\t\t\t\tangular.forEach(line.columns, function (column) {\n\t\t\t\t\t\tvar _controlsDefinition = _this2.getControlsDefinition();\n\t\t\t\t\t\tangular.forEach(_controlsDefinition.controls, function (aControl) {\n\t\t\t\t\t\t\tif (column.control.type === aControl.formlyType && column.control.subtype === aControl.formlySubtype) {\n\t\t\t\t\t\t\t\t//----> update control formlyValidators property\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tcolumn.control.formlyValidators = aControl.formlyValidators;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\t/**\n \t* loading forms will not be able to retrieve formlyValidation\n \t* -> here does the job\n \t*/\n\n\t}, {\n\t\tkey: 'refreshControlFormlyValidation',\n\t\tvalue: function refreshControlFormlyValida
2017-04-02 16:28:59 +02:00
/***/ },
/* 15 */
2017-04-02 18:16:38 +02:00
/***/ function(module, exports) {
2017-04-02 16:28:59 +02:00
2017-04-02 18:16:38 +02:00
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n/* global angular */\n\nvar resetNyaSelect = function resetNyaSelect(nyaSelectObj) {\n\n\tvar newNyaSelectObj = {\n\t\tcontrols: [{\n\t\t\tid: 'empty',\n\t\t\tname: 'no control',\n\t\t\tsubtitle: 'no control',\n\t\t\tgroup: 'Blank',\n\t\t\tformlyType: 'blank',\n\t\t\tformlySubtype: '',\n\t\t\tformlyLabel: '',\n\t\t\tformlyRequired: false,\n\t\t\tformlyDesciption: '',\n\t\t\tformlyOptions: [],\n\t\t\tformlyExpressionProperties: {},\n\t\t\tformlyValidators: {},\n\t\t\tformlyValidation: {}\n\t\t}, {\n\t\t\tid: 'Header',\n\t\t\tname: 'Header',\n\t\t\tsubtitle: 'no control',\n\t\t\tgroup: 'Decoration',\n\t\t\tformlyType: 'header',\n\t\t\tformlySubtype: '',\n\t\t\tformlyLabel: '',\n\t\t\tformlyRequired: false,\n\t\t\tformlyDesciption: '',\n\t\t\tformlyOptions: [],\n\t\t\tformlyExpressionProperties: {},\n\t\t\tformlyValidators: {},\n\t\t\tformlyValidation: {}\n\t\t}, {\n\t\t\tid: 'Subtitle',\n\t\t\tname: 'Subtitle',\n\t\t\tsubtitle: 'no control',\n\t\t\tgroup: 'Decoration',\n\t\t\tformlyType: 'subTitle',\n\t\t\tformlySubtype: '',\n\t\t\tformlyLabel: '',\n\t\t\tformlyRequired: false,\n\t\t\tformlyDesciption: '',\n\t\t\tformlyOptions: [],\n\t\t\tformlyExpressionProperties: {},\n\t\t\tformlyValidators: {},\n\t\t\tformlyValidation: {}\n\t\t}, {\n\t\t\tid: 'TextInput',\n\t\t\tname: 'Text input',\n\t\t\tsubtitle: 'Text input',\n\t\t\tgroup: 'input',\n\t\t\tformlyType: 'input',\n\t\t\tformlySubtype: '',\n\t\t\tformlyLabel: '',\n\t\t\tformlyRequired: false,\n\t\t\tformlyDesciption: '',\n\t\t\tformlyOptions: [],\n\t\t\tformlyExpressionProperties: {},\n\t\t\tformlyValidators: {},\n\t\t\tformlyValidation: {\n\t\t\t\tmessages: {\n\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\tvar defaultReturnMsg = 'this Text input field is required';\n\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tid: 'Password',\n\t\t\tname: 'Password',\n\t\t\tsubtitle: 'Password',\n\t\t\tgroup: 'input',\n\t\t\tformlyType: 'input',\n\t\t\tformlySubtype: 'password',\n\t\t\tformlyLabel: '',\n\t\t\tformlyRequired: false,\n\t\t\tformlyDesciption: '',\n\t\t\tformlyOptions: [],\n\t\t\tformlyExpressionProperties: {},\n\t\t\tformlyValidators: {},\n\t\t\tformlyValidation: {\n\t\t\t\tmessages: {\n\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t//-> '<label as name> is required '\n\t\t\t\t\t\t//-> or if not exists or empty just 'this field is required'\n\t\t\t\t\t\tvar defaultReturnMsg = 'this Password field is required';\n\t\t\t\t\t\tvar returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n\t\t\t\t\t\treturn returnMsg;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tid: 'Email',\n\t\t\tname: 'Email',\n\t\t\tsubtitle: 'Email',\n\t\t\tgroup: 'input',\n\t\t\tformlyType: 'input',\n\t\t\tformlySubtype: 'email',\n\t\t\tformlyLabel: '',\n\t\t\tformlyRequired: false,\n\t\t\tformlyDesciption: '',\n\t\t\tformlyOptions: [],\n\t\t\tformlyExpressionProperties: {},\n\n\t\t\tformlyValidators: {\n\t\t\t\temailShape: {\n\t\t\t\t\texpression: function expression(viewValue, modelValue) {\n\t\t\t\t\t\tvar value = modelValue || viewValue;\n\t\t\t\t\t\treturn (/^[a-z]+[a-z0-9._]+@[a-z]+\\.[a-z.]{2,5}$/.test(value)\n\t\t\t\t\t\t);\n\t\t\t\t\t},\n\t\t\t\t\tmessage: '$viewValue + \\' is not a valid email\\''\n\t\t\t\t}\n\t\t\t},\n\t\t\tformlyValidation: {\n\t\t\t\tmessages: {\n\t\t\t\t\trequired: function required(viewValue, modelValue, scope) {\n\t\t\t\t\t\t//return a required validation message :\n\t\t\t\t\t\t//-> '<label as
2017-04-02 16:28:59 +02:00
/***/ },
/* 16 */
/***/ function(module, exports, __webpack_require__) {
2017-04-02 18:16:38 +02:00
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _edaEasyFormViewerFormly = __webpack_require__(17);\n\nfunction edaEasyFormViewerConfig(formlyConfigProvider) {\n\n formlyConfigProvider.setType({\n name: 'richEditor',\n template: _edaEasyFormViewerFormly.richTextTemplate,\n wrapper: ['bootstrapLabel', 'bootstrapHasError']\n });\n\n formlyConfigProvider.setType({\n name: 'blank',\n template: _edaEasyFormViewerFormly.blankTemplate\n });\n\n formlyConfigProvider.setType({\n name: 'subTitle',\n template: _edaEasyFormViewerFormly.subTitleTemplate\n });\n\n formlyConfigProvider.setType({\n name: 'basicSelect',\n template: _edaEasyFormViewerFormly.basicSelectTemplate,\n wrapper: ['bootstrapLabel', 'bootstrapHasError']\n });\n\n formlyConfigProvider.setType({\n name: 'groupedSelect',\n template: _edaEasyFormViewerFormly.groupedSelectTemplate,\n wrapper: ['bootstrapLabel', 'bootstrapHasError']\n });\n\n ////////////////////////////\n // angular UI date picker\n ////////////////////////////\n // thx Kent C. Dodds\n\n var attributes = ['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'];\n\n var bindings = ['datepicker-mode', 'min-date', 'max-date'];\n\n var ngModelAttrs = {};\n\n angular.forEach(attributes, function (attr) {\n ngModelAttrs[camelize(attr)] = { attribute: attr };\n });\n\n angular.forEach(bindings, function (binding) {\n ngModelAttrs[camelize(binding)] = { bound: binding };\n });\n\n formlyConfigProvider.setType({\n name: 'datepicker',\n template: _edaEasyFormViewerFormly.datepickerTemplate,\n defaultOptions: {\n ngModelAttrs: ngModelAttrs,\n templateOptions: {\n datepickerOptions: {\n format: 'dd/MM/yyyy',\n initDate: new Date(),\n showWeeks: false\n }\n }\n },\n wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n controller: ['$scope', function ($scope) {\n // console.info('ui calendar init');\n $scope.datepicker = {};\n\n // make sure the initial value is of type DATE!\n var currentModelVal = $scope.model[$scope.options.key];\n if (typeof currentModelVal == 'string') {\n $scope.model[$scope.options.key] = new Date(currentModelVal);\n }\n\n $scope.datepicker.opened = false;\n $scope.datepicker.open = function ($event) {\n $event.preventDefault();\n $event.stopPropagation();\n // console.info('ui calendar open event');\n $scope.datepicker.opened = !$scope.datepicker.opened;\n };\n }]\n\n });\n\n /**\n * wrappers to show validation errors\n * without having to rewrite formly types\n */\n formlyConfigProvider.setWrapper([{\n template: _edaEasyFormViewerFormly.validationTemplate\n }]);\n\n function camelize(string) {\n string = string.replace(/[\\-_\\s]+(.)?/g, function (match, chr) {\n return chr ? chr.toUpperCase() : '';\n });\n // Ensure 1st char is always lowercase\n return string.replace(/^([A-Z])/, function (match, chr) {\n return chr ? chr.toLowerCase() : '';\n });\n }\n}\n\nedaEasyFormViewerConfig.$inject = ['formlyConfigProvider'];\n\nexports.default = edaEasyFormViewerConfig;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Zvcm12aWV3ZXIvY29uZmlnL2VkYS5lYXN5Rm9ybVZpZXdlci5jb25maWcuanM/ZjI2NCJdLCJuYW1lcyI6WyJlZGFFYXN5Rm9ybVZpZXdlckNvbmZpZyIsImZvcm1seUNvbmZpZ1Byb3ZpZGVyIiwic2V0VHlwZSIsIm5hbWUiLCJ0ZW1wbGF0ZSIsIndyYXBwZXIiLCJhdHRyaWJ1dGVzIiwiYmluZGluZ3MiLCJuZ01vZGVsQXR0cnMiLCJhbmd1bGFyIiwiZm9yRWFjaCIsImF0dHIiLCJjYW1lbGl6ZSIsImF0dHJpYnV0ZSIsImJpbmRpbmciLCJib3VuZCIsImRlZmF1bHRPcHRpb25zIiwidGVtcGxhdGV
2017-04-02 16:28:59 +02:00
/***/ },
/* 17 */
/***/ function(module, exports) {
2017-04-02 18:16:38 +02:00
eval("\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar richTextTemplate = \"\\n\\t<text-angular name=\\\"{{id}}\\\"\\n\\t\\tclass=\\\"richTextAngular\\\"\\n\\t\\tng-model=\\\"model[options.key || index]\\\">\\n\\t</text-angular>\";\n\nvar blankTemplate = \"<div></div>\";\n\nvar subTitleTemplate = \"\\n\\t<div class=\\\"row\\\">\\n\\t\\t<div class=\\\"\\\">\\n\\t\\t\\t<h4 class=\\\"text-center\\\">\\n\\t\\t\\t{{options.templateOptions.placeholder}}\\n\\t\\t\\t<h4><hr/>\\n\\t\\t</div>\\n\\t</div>\";\n\nvar basicSelectTemplate = \"\\n<ol\\n\\tclass=\\\"nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12\\\"\\n\\tng-model=\\\"model[options.key || index]\\\"\\n\\tid=\\\"{{id}}\\\"\\n\\tdisabled=\\\"options.templateOptions.options.length === 0\\\">\\n\\t<li class=\\\"nya-bs-option\\\" nya-bs-option=\\\"option in options.templateOptions.options\\\">\\n\\t\\t<a>{{option.name}}</a>\\n\\t</li>\\n</ol>\";\n\nvar groupedSelectTemplate = \"\\n\\t<ol class=\\\"nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12\\\"\\n\\t\\tng-model=\\\"model[options.key || index]\\\"\\n\\t\\tdata-live-search=\\\"true\\\"\\n\\t\\tdisabled=\\\"options.templateOptions.options.length === 0\\\">\\n\\t\\t<li nya-bs-option=\\\"option in options.templateOptions.options group by option.group\\\">\\n\\t\\t\\t<span class=\\\"dropdown-header\\\">{{$group}}</span>\\n\\t\\t\\t<a>\\n\\t\\t\\t\\t<span>{{option.name}}</span>\\n\\t\\t\\t\\t<span class=\\\"glyphicon glyphicon-ok check-mark\\\"></span>\\n\\t\\t\\t</a>\\n\\t\\t</li>\\n\\t</ol>\";\n\nvar datepickerTemplate = \"\\n <p class=\\\"input-group\\\">\\n <span class=\\\"input-group-btn\\\">\\n <button\\n type=\\\"button\\\"\\n class=\\\"btn btn-default\\\"\\n ng-click=\\\"formlyDatePicker.open($event)\\\">\\n <i class=\\\"glyphicon glyphicon-calendar\\\"></i>\\n </button>\\n </span>\\n <input type=\\\"text\\\"\\n id=\\\"{{::id}}\\\"\\n name=\\\"{{::id}}\\\"\\n ng-model=\\\"model[options.key]\\\"\\n class=\\\"form-control\\\"\\n ng-click=\\\"datepicker.open($event)\\\"\\n uib-datepicker-popup=\\\"{{to.datepickerOptions.format}}\\\"\\n is-open=\\\"datepicker.opened\\\"\\n datepicker-options=\\\"to.datepickerOptions\\\"\\n />\\n </p>\\n \";\n\nvar validationTemplate = \"\\n\\t<div class=\\\"formly-template-wrapper form-group\\\"\\n\\t\\t\\t\\t\\t\\tng-class=\\\"{'has-error': options.validation.errorExistsAndShouldBeVisible}\\\">\\n\\t\\t\\t\\t<formly-transclude></formly-transclude>\\n\\t\\t\\t\\t<div class=\\\"validation\\\"\\n\\t\\t\\t\\t\\t\\t\\tng-if=\\\"options.validation.errorExistsAndShouldBeVisible\\\"\\n\\t\\t\\t\\t\\t\\t\\tng-messages=\\\"options.formControl.$error\\\">\\n\\t\\t\\t\\t\\t<div ng-messages-include=\\\"validation.html\\\"></div>\\n\\t\\t\\t\\t\\t<div ng-message=\\\"{{::name}}\\\" ng-repeat=\\\"(name, message) in ::options.validation.messages\\\">\\n\\t\\t\\t\\t\\t\\t{{message(options.formControl.$viewValue, options.formControl.$modelValue, this)}}\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t</div>\";\n\nexports.richTextTemplate = richTextTemplate;\nexports.blankTemplate = blankTemplate;\nexports.subTitleTemplate = subTitleTemplate;\nexports.basicSelectTemplate = basicSelectTemplate;\nexports.groupedSelectTemplate = groupedSelectTemplate;\nexports.datepickerTemplate = datepickerTemplate;\nexports.validationTemplate = validationTemplate;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Zvcm12aWV3ZXIvY29uZmlnL2VkYS5lYXN5Rm9ybVZpZXdlci5mb3JtbHkudGVtcGxhdGUuanM/NDk2ZCJdLCJuYW1lcyI6WyJyaWNoVGV4dFRlbXBsYXRlIiwiYmxhbmtUZW1wbGF0ZSIsInN1YlRpdGxlVGVtcGxhdGUiLCJiYXNpY1NlbGVjdFRlbXBsYXRlIiwiZ3JvdXBlZFNlbGVjdFRlbXBsYXRlIiwiZGF0ZXBpY2tlclRlbXBsYXRlIiwidmFsaWRhdGlvblRlbXBsYXRlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFDQSxJQUFNQSx1SkFBTjs7QUFPQSxJQUFNQyw2QkFBTjs7QUFHQSxJQUFNQywwTEFBTjs7QUFTQSxJQUFNQyxrV0FBTjs7QUFXQSxJQUFNQyx1aEJBQU47O0
2017-04-02 16:28:59 +02:00
/***/ },
/* 18 */
/***/ function(module, exports) {
2017-04-02 18:16:38 +02:00
eval("module.exports = {\n\t\"stepway\": {\n\t\t\"version\": \"2.0.0\"\n\t},\n\t\"dragdropway\": {\n\t\t\"version\": \"2.0.0\"\n\t},\n\t\"formviewer\": {\n\t\t\"version\": \"2.0.0\"\n\t}\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Vhc3lGb3JtQ29uZmlnLmpzb24/MzFjYSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQSxFQUFFO0FBQ0Y7QUFDQTtBQUNBLEVBQUU7QUFDRjtBQUNBO0FBQ0E7QUFDQSIsImZpbGUiOiIxOC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0ge1xuXHRcInN0ZXB3YXlcIjoge1xuXHRcdFwidmVyc2lvblwiOiBcIjIuMC4wXCJcblx0fSxcblx0XCJkcmFnZHJvcHdheVwiOiB7XG5cdFx0XCJ2ZXJzaW9uXCI6IFwiMi4wLjBcIlxuXHR9LFxuXHRcImZvcm12aWV3ZXJcIjoge1xuXHRcdFwidmVyc2lvblwiOiBcIjIuMC4wXCJcblx0fVxufTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvZWFzeUZvcm1Db25maWcuanNvblxuLy8gbW9kdWxlIGlkID0gMThcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
2017-04-02 16:28:59 +02:00
/***/ },
/* 19 */
2017-04-02 18:16:38 +02:00
/***/ function(module, exports, __webpack_require__) {
2017-04-02 16:28:59 +02:00
2017-04-02 18:16:38 +02:00
eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(20);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(22)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!./../../../../node_modules/css-loader/index.js!./../../../../node_modules/postcss-loader/index.js!./../../../../node_modules/sass-loader/index.js!./formviewer.scss\", function() {\n\t\t\tvar newContent = require(\"!!./../../../../node_modules/css-loader/index.js!./../../../../node_modules/postcss-loader/index.js!./../../../../node_modules/sass-loader/index.js!./formviewer.scss\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Zvcm12aWV3ZXIvc3R5bGUvZm9ybXZpZXdlci5zY3NzP2ViZDYiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQSxnREFBeUY7QUFDekY7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsR0FBRztBQUNIO0FBQ0E7QUFDQSxnQ0FBZ0MsVUFBVSxFQUFFO0FBQzVDIiwiZmlsZSI6IjE5LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gc3R5bGUtbG9hZGVyOiBBZGRzIHNvbWUgY3NzIHRvIHRoZSBET00gYnkgYWRkaW5nIGEgPHN0eWxlPiB0YWdcblxuLy8gbG9hZCB0aGUgc3R5bGVzXG52YXIgY29udGVudCA9IHJlcXVpcmUoXCIhIS4vLi4vLi4vLi4vLi4vbm9kZV9tb2R1bGVzL2Nzcy1sb2FkZXIvaW5kZXguanMhLi8uLi8uLi8uLi8uLi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c3MtbG9hZGVyL2luZGV4LmpzIS4vLi4vLi4vLi4vLi4vbm9kZV9tb2R1bGVzL3Nhc3MtbG9hZGVyL2luZGV4LmpzIS4vZm9ybXZpZXdlci5zY3NzXCIpO1xuXHRcdFx0aWYodHlwZW9mIG5ld0NvbnRlbnQgPT09ICdzdHJpbmcnKSBuZXdDb250ZW50ID0gW1ttb2R1bGUuaWQsIG5ld0NvbnRlbnQsICcnXV07XG5cdFx0XHR1cGRhdGUobmV3Q29udGVudCk7XG5cdFx0fSk7XG5cdH1cblx0Ly8gV2hlbiB0aGUgbW9kdWxlIGlzIGRpc3Bvc2VkLCByZW1vdmUgdGhlIDxzdHlsZT4gdGFnc1xuXHRtb2R1bGUuaG90LmRpc3Bvc2UoZnVuY3Rpb24oKSB7IHVwZGF0ZSgpOyB9KTtcbn1cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvZm9ybXZpZXdlci9zdHlsZS9mb3Jtdmlld2VyLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDE5XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
2017-04-02 16:28:59 +02:00
/***/ },
/* 20 */
2017-04-02 18:16:38 +02:00
/***/ function(module, exports, __webpack_require__) {
2017-04-02 16:28:59 +02:00
2017-04-02 18:16:38 +02:00
eval("exports = module.exports = __webpack_require__(21)();\n// imports\n\n\n// module\nexports.push([module.id, \"/*=========================================================\\n fonts const\\n===========================================================*/\\n.ta-hidden-input {\\n width: 1px;\\n height: 1px;\\n border: none;\\n margin: 0;\\n padding: 0;\\n position: absolute;\\n top: -10000px;\\n left: -10000px;\\n opacity: 0;\\n overflow: hidden; }\\n\\n.ta-root.focussed > .ta-scroll-window.form-control {\\n border-color: #66afe9;\\n outline: 0;\\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); }\\n\\n.ta-editor.ta-html, .ta-scroll-window.form-control {\\n min-height: 300px;\\n height: auto;\\n overflow: auto;\\n font-family: inherit;\\n font-size: 100%; }\\n\\n.ta-scroll-window.form-control {\\n position: relative;\\n padding: 0; }\\n\\n.ta-scroll-window > .ta-bind {\\n height: auto;\\n min-height: 300px;\\n padding: 6px 12px; }\\n\\n.ta-editor:focus {\\n -webkit-user-select: text;\\n -moz-user-select: text;\\n -ms-user-select: text;\\n user-select: text; }\\n\\n.ta-resizer-handle-overlay {\\n z-index: 100;\\n position: absolute;\\n display: none; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-info {\\n position: absolute;\\n bottom: 16px;\\n right: 16px;\\n border: 1px solid #000;\\n background-color: #FFF;\\n padding: 0 4px;\\n opacity: .7; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-background {\\n position: absolute;\\n bottom: 5px;\\n right: 5px;\\n left: 5px;\\n top: 5px;\\n border: 1px solid #000;\\n background-color: rgba(0, 0, 0, 0.2); }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-corner {\\n width: 10px;\\n height: 10px;\\n position: absolute; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-corner-tl {\\n top: 0;\\n left: 0;\\n border-left: 1px solid #000;\\n border-top: 1px solid #000; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-corner-tr {\\n top: 0;\\n right: 0;\\n border-right: 1px solid #000;\\n border-top: 1px solid #000; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-corner-bl {\\n bottom: 0;\\n left: 0;\\n border-left: 1px solid #000;\\n border-bottom: 1px solid #000; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-corner-br {\\n bottom: 0;\\n right: 0;\\n border: 1px solid #000;\\n cursor: se-resize;\\n background-color: #fff; }\\n\\n.popover {\\n position: absolute;\\n top: 0;\\n left: 0;\\n z-index: 1060;\\n display: none;\\n max-width: 276px;\\n padding: 1px;\\n font-size: 14px;\\n font-weight: 400;\\n line-height: 1.42857143;\\n text-align: left;\\n white-space: normal;\\n background-color: #fff;\\n background-clip: padding-box;\\n border: 1px solid #ccc;\\n border: 1px solid rgba(0, 0, 0, 0.2);\\n border-radius: 6px;\\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); }\\n\\n.popover.top {\\n margin-top: -10px; }\\n\\n.popover.bottom {\\n margin-top: 10px; }\\n\\n.popover-title {\\n padding: 8px 14px;\\n margin: 0;\\n font-size: 14px;\\n background-color: #f7f7f7;\\n border-bottom: 1px solid #ebebeb;\\n border-radius: 5px 5px 0 0; }\\n\\n.popover-content {\\n padding: 9px 14px; }\\n\\n.popover > .arrow, .popover > .arrow:after {\\n position: absolute;\\n display: block;\\n width: 0;\\n height: 0;\\n border-color: transparent;\\n border-style: solid; }\\n\\n.popover > .arrow {\\n border-width: 11px; }\\n\\n.popover > .arrow:after {\\n content: \\\"\\\";\\n border-width: 10px; }\\n\\n.popover.top > .arrow {\\n bottom: -11px;\\n left: 50%;\\n margin-left: -11px;\\n border-top-color: #999;\\n border-top-color: rgba(0, 0, 0, 0.25);\\n border-bottom-width: 0; }\\n\\n.popover.top > .arrow:after {\\n bottom: 1px;\\n margin-left: -10px;\\n content: \\\" \\\";\\n border-top-color: #fff;\\n border-bottom-width: 0; }\\n\\n.popover.bottom > .arrow {\\n top: -11px;\\n left: 50%;\\n margin-left: -11px;\\n border-top-width: 0;\\n border-bottom-color: #999;\\n border-bottom-color: rgba(0, 0,
2017-04-02 16:28:59 +02:00
/***/ },
/* 21 */
/***/ function(module, exports) {
2017-04-02 18:16:38 +02:00
eval("/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\n// css base code, injected by the css-loader\r\nmodule.exports = function() {\r\n\tvar list = [];\r\n\r\n\t// return the list of modules as css string\r\n\tlist.toString = function toString() {\r\n\t\tvar result = [];\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar item = this[i];\r\n\t\t\tif(item[2]) {\r\n\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\r\n\t\t\t} else {\r\n\t\t\t\tresult.push(item[1]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result.join(\"\");\r\n\t};\r\n\r\n\t// import a list of modules into the list\r\n\tlist.i = function(modules, mediaQuery) {\r\n\t\tif(typeof modules === \"string\")\r\n\t\t\tmodules = [[null, modules, \"\"]];\r\n\t\tvar alreadyImportedModules = {};\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar id = this[i][0];\r\n\t\t\tif(typeof id === \"number\")\r\n\t\t\t\talreadyImportedModules[id] = true;\r\n\t\t}\r\n\t\tfor(i = 0; i < modules.length; i++) {\r\n\t\t\tvar item = modules[i];\r\n\t\t\t// skip already imported module\r\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\r\n\t\t\t// when a module is imported multiple times with different media queries.\r\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\r\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n\t\t\t\tif(mediaQuery && !item[2]) {\r\n\t\t\t\t\titem[2] = mediaQuery;\r\n\t\t\t\t} else if(mediaQuery) {\r\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n\t\t\t\t}\r\n\t\t\t\tlist.push(item);\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\treturn list;\r\n};\r\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9+L2Nzcy1sb2FkZXIvbGliL2Nzcy1iYXNlLmpzP2RhMDQiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0EsZ0JBQWdCLGlCQUFpQjtBQ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017-04-02 18:16:38 +02:00
eval("/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\nvar stylesInDom = {},\r\n\tmemoize = function(fn) {\r\n\t\tvar memo;\r\n\t\treturn function () {\r\n\t\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\r\n\t\t\treturn memo;\r\n\t\t};\r\n\t},\r\n\tisOldIE = memoize(function() {\r\n\t\treturn /msie [6-9]\\b/.test(window.navigator.userAgent.toLowerCase());\r\n\t}),\r\n\tgetHeadElement = memoize(function () {\r\n\t\treturn document.head || document.getElementsByTagName(\"head\")[0];\r\n\t}),\r\n\tsingletonElement = null,\r\n\tsingletonCounter = 0,\r\n\tstyleElementsInsertedAtTop = [];\r\n\r\nmodule.exports = function(list, options) {\r\n\tif(false) {\r\n\t\tif(typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\r\n\t}\r\n\r\n\toptions = options || {};\r\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\r\n\t// tags it will allow on a page\r\n\tif (typeof options.singleton === \"undefined\") options.singleton = isOldIE();\r\n\r\n\t// By default, add <style> tags to the bottom of <head>.\r\n\tif (typeof options.insertAt === \"undefined\") options.insertAt = \"bottom\";\r\n\r\n\tvar styles = listToStyles(list);\r\n\taddStylesToDom(styles, options);\r\n\r\n\treturn function update(newList) {\r\n\t\tvar mayRemove = [];\r\n\t\tfor(var i = 0; i < styles.length; i++) {\r\n\t\t\tvar item = styles[i];\r\n\t\t\tvar domStyle = stylesInDom[item.id];\r\n\t\t\tdomStyle.refs--;\r\n\t\t\tmayRemove.push(domStyle);\r\n\t\t}\r\n\t\tif(newList) {\r\n\t\t\tvar newStyles = listToStyles(newList);\r\n\t\t\taddStylesToDom(newStyles, options);\r\n\t\t}\r\n\t\tfor(var i = 0; i < mayRemove.length; i++) {\r\n\t\t\tvar domStyle = mayRemove[i];\r\n\t\t\tif(domStyle.refs === 0) {\r\n\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++)\r\n\t\t\t\t\tdomStyle.parts[j]();\r\n\t\t\t\tdelete stylesInDom[domStyle.id];\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction addStylesToDom(styles, options) {\r\n\tfor(var i = 0; i < styles.length; i++) {\r\n\t\tvar item = styles[i];\r\n\t\tvar domStyle = stylesInDom[item.id];\r\n\t\tif(domStyle) {\r\n\t\t\tdomStyle.refs++;\r\n\t\t\tfor(var j = 0; j < domStyle.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts[j](item.parts[j]);\r\n\t\t\t}\r\n\t\t\tfor(; j < item.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tvar parts = [];\r\n\t\t\tfor(var j = 0; j < item.parts.length; j++) {\r\n\t\t\t\tparts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t\tstylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction listToStyles(list) {\r\n\tvar styles = [];\r\n\tvar newStyles = {};\r\n\tfor(var i = 0; i < list.length; i++) {\r\n\t\tvar item = list[i];\r\n\t\tvar id = item[0];\r\n\t\tvar css = item[1];\r\n\t\tvar media = item[2];\r\n\t\tvar sourceMap = item[3];\r\n\t\tvar part = {css: css, media: media, sourceMap: sourceMap};\r\n\t\tif(!newStyles[id])\r\n\t\t\tstyles.push(newStyles[id] = {id: id, parts: [part]});\r\n\t\telse\r\n\t\t\tnewStyles[id].parts.push(part);\r\n\t}\r\n\treturn styles;\r\n}\r\n\r\nfunction insertStyleElement(options, styleElement) {\r\n\tvar head = getHeadElement();\r\n\tvar lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];\r\n\tif (options.insertAt === \"top\") {\r\n\t\tif(!lastStyleElementInsertedAtTop) {\r\n\t\t\thead.insertBefore(styleElement, head.firstChild);\r\n\t\t} else if(lastStyleElementInsertedAtTop.nextSibling) {\r\n\t\t\thead.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);\r\n\t\t} else {\r\n\t\t\thead.appendChild(styleElement);\r\n\t\t}\r\n\t\tstyleElementsInsertedAtTop.push(styleElement);\r\n\t} else if (options.insertAt === \"bottom\") {\r\n\t\thead.appendChild(styleElement);\r\n\t} else {\r\n\t\tthrow new Error(\"Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.\");\r\n\t}\r\n}\r\n\r\nfunction removeSt
2017-04-02 16:28:59 +02:00
/***/ }
/******/ ]);